diff --git a/docs-src/docs/replication-graphql.md b/docs-src/docs/replication-graphql.md
index 4250e2690ae..109d783a1a6 100644
--- a/docs-src/docs/replication-graphql.md
+++ b/docs-src/docs/replication-graphql.md
@@ -348,6 +348,20 @@ const replicationState = replicateGraphQL(
If it is not possible to create a websocket server on your backend, you can use any other method to pull out the ongoing events from the backend and then you can send them into `RxReplicationState.emitEvent()`.
:::
+:::warning graphql-subscriptions v3 Breaking Change
+If you are using `graphql-subscriptions` v3 or later, you must use `asyncIterableIterator()` instead of the deprecated `asyncIterator()` method when setting up your subscription resolvers:
+
+```js
+// Before (v2)
+streamHero: () => pubsub.asyncIterator('streamHero')
+
+// After (v3+)
+streamHero: () => pubsub.asyncIterableIterator('streamHero')
+```
+
+This change was introduced in graphql-subscriptions v3 to use native `Symbol.asyncIterator` support. For more details, see the [graphql-subscriptions changelog](https://github.com/apollographql/graphql-subscriptions/blob/master/CHANGELOG.md#300).
+:::
+
### Transforming null to undefined in optional fields
GraphQL fills up non-existent optional values with `null` while RxDB required them to be `undefined`.
diff --git a/docs/404.html b/docs/404.html
deleted file mode 100644
index bdec7e3bfc2..00000000000
--- a/docs/404.html
+++ /dev/null
@@ -1,39 +0,0 @@
-
-
-
The page you are looking for does not exist anymore or never has existed. If you have found this page through a link, you should tell the link author to update it.
Maybe one of these can help you to find the desired content:
When you use PouchDB RxStorage, there are many adapters that define where the data has to be stored.
-Depending on which environment you work in, you can choose between different adapters. For example, in the browser you want to store the data inside of IndexedDB but on NodeJS you want to store the data on the filesystem.
-
This page is an overview over the different adapters with recommendations on what to use where.
-
-
warning
The PouchDB RxStorage is removed from RxDB and can no longer be used in new projects. You should switch to a different RxStorage.
-
-
Please always ensure that your pouchdb adapter-version is the same as pouchdb-core in the rxdb package.json. Otherwise, you might have strange problems.
In any environment, you can use the memory-adapter. It stores the data in the javascript runtime memory. This means it is not persistent and the data is lost when the process terminates.
-
Use this adapter when:
-
-
You want to have really good performance
-
You do not want persistent state, for example in your test suite
A reimplementation of the indexeddb adapter which uses native secondary indexes. Should have a much better performance but can behave different on some edge cases.
-
note
Multiple users have reported problems with this adapter. It is not recommended to use this adapter.
This adapter stores the data inside of websql. It has a different performance behavior. Websql is deprecated. You should not use the websql adapter unless you have a really good reason.
This adapter uses a LevelDB C++ binding to store that data on the filesystem. It has the best performance compared to other filesystem adapters. This adapter can not be used when multiple nodejs-processes access the same filesystem folders for storage.
-
// npm install leveldown --save
-// npm install pouchdb-adapter-leveldb --save
-addPouchPlugin(require('pouchdb-adapter-leveldb')); // leveldown adapters need the leveldb plugin to work
-const leveldown = require('leveldown');
-
-const database = await createRxDatabase({
- name: 'mydatabase',
- storage: getRxStoragePouch(leveldown) // the full leveldown-module
-});
-
-// or use a specific folder to store the data
-const database = await createRxDatabase({
- name: '/root/user/project/mydatabase',
- storage: getRxStoragePouch(leveldown) // the full leveldown-module
-});
This adapter uses the node-websql-shim to store data on the filesystem. Its advantages are that it does not need a leveldb build and it can be used when multiple nodejs-processes use the same database-files.
-
// npm install pouchdb-adapter-node-websql --save
-addPouchPlugin(require('pouchdb-adapter-node-websql'));
-
-const database = await createRxDatabase({
- name: 'mydatabase',
- storage: getRxStoragePouch('websql') // the name of your adapter
-});
-
-// or use a specific folder to store the data
-const database = await createRxDatabase({
- name: '/root/user/project/mydatabase',
- storage: getRxStoragePouch('websql') // the name of your adapter
-});
Uses cordova's global cordova.sqlitePlugin. It can be used with cordova and capacitor.
-
// npm install pouchdb-adapter-cordova-sqlite --save
-addPouchPlugin(require('pouchdb-adapter-cordova-sqlite'));
-
-/**
- * In capacitor/cordova you have to wait until all plugins are loaded and 'window.sqlitePlugin'
- * can be accessed.
- * This function waits until document deviceready is called which ensures that everything is loaded.
- * @link https://cordova.apache.org/docs/de/latest/cordova/events/events.deviceready.html
- */
-export function awaitCapacitorDeviceReady(): Promise<void> {
- return new Promise(res => {
- document.addEventListener('deviceready', () => {
- res();
- });
- });
-}
-
-async function getDatabase(){
-
- // first wait until the deviceready event is fired
- await awaitCapacitorDeviceReady();
-
- const database = await createRxDatabase({
- name: 'mydatabase',
- storage: getRxStoragePouch(
- 'cordova-sqlite',
- // pouch settings are passed as second parameter
- {
- // for ios devices, the cordova-sqlite adapter needs to know where to save the data.
- iosDatabaseLocation: 'Library'
- }
- )
- });
-}
Alternatives for realtime offline-first JavaScript applications
-
To give you an augmented view over the topic of client side JavaScript databases, this page contains all known alternatives to RxDB. Remember that you are reading this inside of the RxDB documentation, so everything is opinionated.
-If you disagree with anything or think that something is missing, make a pull request to this file on the RxDB github repository.
-
note
RxDB has these main benefits:
-
RxDB is a battle proven tool widely used by companies in real projects in production.
-
RxDB is not VC funded and therefore does not require you to use a specific cloud service to rip you off. RxDB can be used with your own backend or no backend at all.
-
RxDB has a working business model of selling premium plugins which ensures that RxDB will be maintained and improved continuously while many alternatives are dead already or seem to die soon.
-
RxDB has years (since 2016) of performance optimization, bug fixing and feature adding. It is just working as is and there are close to zero open issues.
RxDB is an observable, replicating, local first, JavaScript database. So it makes only sense to list similar projects as alternatives, not just any database or JavaScript store library. However, I will list up some projects that RxDB is often compared with, even if it only makes sense for some use cases.
-Here are the alternatives to RxDB:
Firebase is a platform developed by Google for creating mobile and web applications. Firebase has many features and products, two of which are client side databases. The Realtime Database and the Cloud Firestore.
The firebase realtime database was the first database in firestore. It has to be mentioned that in this context, "realtime" means "realtime replication", not "realtime computing". The firebase realtime database stores data as a big unstructured JSON tree that is replicated between clients and the backend.
The firestore is the successor to the realtime database. The big difference is that it behaves more like a 'normal' database that stores data as documents inside of collections. The conflict resolution strategy of firestore is always last-write-wins which might or might not be suitable for your use case.
-
The biggest difference to RxDB is that firebase products are only able to be used on top of the Firebase cloud hosted backend, which creates a vendor lock-in. RxDB can replicate with any self hosted CouchDB server or custom GraphQL endpoints. You can even replicate Firestore to RxDB with the Firestore Replication Plugin.
Meteor (since 2012) is one of the oldest technologies for JavaScript realtime applications. Meteor is not a library but a whole framework with its own package manager, database management and replication.
-Because of how it works, it has proven to be hard to integrate it with other modern JavaScript frameworks like angular, vue.js or svelte.
-
Meteor uses MongoDB in the backend and can replicate with a Minimongo database in the frontend.
-While testing, it has proven to be impossible to make a meteor app offline first capable. There are some projects that might do this, but all are unmaintained.
Forked in Jan 2014 from meteorJSs' minimongo package, Minimongo is a client-side, in-memory, JavaScript version of MongoDB with backend replication over HTTP. Similar to MongoDB, it stores data in documents inside of collections and also has the same query syntax. Minimongo has different storage adapters for IndexedDB, WebSQL, LocalStorage and SQLite.
-Compared to RxDB, Minimongo has no concept of revisions or conflict handling, which might lead to undefined behavior when used with replication or in multiple browser tabs. Minimongo has no observable queries or changestream.
WatermelonDB is a reactive & asynchronous JavaScript database. While originally made for React and React Native, it can also be used with other JavaScript frameworks. The main goal of WatermelonDB is performance within an application with lots of data.
-In React Native, WatermelonDB uses the provided SQLite database. Also there is an Expo plugin for WatermelonDB. In a browser, WatermelonDB uses the LokiJS in-memory database to store and query data. WatermelonDB is one of the rare projects that support both Flow and Typescript at the same time.
AWS Amplify is a collection of tools and libraries to develop web- and mobile frontend applications. Similar to firebase, it provides everything needed like authentication, analytics, a REST API, storage and so on. Everything hosted in the AWS Cloud, even when they state that "AWS Amplify is designed to be open and pluggable for any custom backend or service". For realtime replication, AWS Amplify can connect to an AWS App-Sync GraphQL endpoint.
Since December 2019 the Amplify library includes the AWS Datastore which is a document-based, client side database that is able to replicate data via AWS AppSync in the background.
-The main difference to other projects is the complex project configuration via the amplify cli and the bit confusing query syntax that works over functions. Complex Queries with multiple OR/AND statements are not possible which might change in the future.
-Local development is hard because the AWS AppSync mock does not support realtime replication. It also is not really offline-first because a user login is always required.
-
// An AWS datastore OR query
-const posts = await DataStore.query(Post, c => c.or(
- c => c.rating("gt", 4).status("eq", PostStatus.PUBLISHED)
-));
-
-// An AWS datastore SORT query
-const posts = await DataStore.query(Post, Predicates.ALL, {
- sort: s => s.rating(SortDirection.ASCENDING).title(SortDirection.DESCENDING)
-});
-
The biggest difference to RxDB is that you have to use the AWS cloud backends. This might not be a problem if your data is at AWS anyway.
RethinkDB is a backend database that pushed dynamic JSON data to the client in realtime. It was founded in 2009 and the company shut down in 2016.
-Rethink db is not a client side database, it streams data from the backend to the client which of course does not work while offline.
Horizon is the client side library for RethinkDB which provides useful functions like authentication, permission management and subscription to a RethinkDB backend. Offline support never made it to horizon.
Supabase labels itself as "an open source Firebase alternative". It is a collection of open source tools that together mimic many Firebase features, most of them by providing a wrapper around a PostgreSQL database. While it has realtime queries that run over the wire, like with RethinkDB, Supabase has no client-side storage or replication feature and therefore is not offline first.
Apache CouchDB is a server-side, document-oriented database that is mostly known for its multi-master replication feature. Instead of having a master-slave replication, with CouchDB you can run replication in any constellation without having a master server as bottleneck where the server even can go off- and online at any time. This comes with the drawback of having a slow replication with much network overhead.
-CouchDB has a changestream and a query syntax similar to MongoDB.
PouchDB is a JavaScript database that is compatible with most of the CouchDB API. It has an adapter system that allows you to switch out the underlying storage layer. There are many adapters like for IndexedDB, SQLite, the Filesystem and so on. The main benefit is to be able to replicate data with any CouchDB compatible endpoint.
-Because of the CouchDB compatibility, PouchDB has to do a lot of overhead in handling the revision tree of document, which is why it can show bad performance for bigger datasets.
-RxDB was originally build around PouchDB until the storage layer was abstracted out in version 10.0.0 so it now allows to use different RxStorage implementations. PouchDB has some performance issues because of how it has to store the document revision tree to stay compatible with the CouchDB API.
Couchbase (originally known as Membase) is another NoSQL document database made for realtime applications.
-It uses the N1QL query language which is more SQL like compared to other NoSQL query languages. In theory you can achieve replication of a Couchbase with a PouchDB database, but this has shown to be not that easy.
Cloudant is a cloud-based service that is based on CouchDB and has mostly the same features.
-It was originally designed for cloud computing where data can automatically be distributed between servers. But it can also be used to replicate with frontend PouchDB instances to create scalable web applications.
-It was bought by IBM in 2014 and since 2018 the Cloudant Shared Plan is retired and migrated to IBM Cloud.
Hoodie is a backend solution that enables offline-first JavaScript frontend development without having to write backend code. Its main goal is to abstract away configuration into simple calls to the Hoodie API.
-It uses CouchDB in the backend and PouchDB in the frontend to enable offline-first capabilities.
-The last commit for hoodie was one year ago and the website (hood.ie) is offline which indicates it is not an active project anymore.
LokiJS is a JavaScript embeddable, in-memory database. And because everything is handled in-memory, LokiJS has awesome performance when mutating or querying data. You can still persist to a permanent storage (IndexedDB, Filesystem etc.) with one of the provided storage adapters. The persistence happens after a timeout is reached after a write, or before the JavaScript process exits. This also means you could loose data when the JavaScript process exits ungracefully like when the power of the device is shut down or the browser crashes.
-While the project is not that active anymore, it is more finished than unmaintained.
-
In the past, RxDB supported using LokiJS as RxStorage but because the LokiJS is not maintained anymore and had too many issues, this storage option was removed in RxDB version 16.
GUN is a JavaScript graph database. While having many features, the decentralized replication is the main unique selling point. You can replicate data Peer-to-Peer without any centralized backend server. GUN has several other features that are useful on top of that, like encryption and authentication.
-
While testing it was really hard to get basic things running. GUN is open source, but because of how the source code is written, it is very difficult to understand what is going wrong.
sql.js is a javascript library to run SQLite on the web. It uses a virtual database file stored in memory and does not have any persistence. All data is lost once the JavaScript process exits. sql.js is created by compiling SQLite to WebAssembly so it has about the same features as SQLite. For older browsers there is a JavaScript fallback.
Absurd-sql is a project that implements an IndexedDB-based persistence for sql.js. Instead of directly writing data into the IndexedDB, it treats IndexedDB like a disk and stores data in blocks there which shows to have a much better performance, mostly because of how performance expensive IndexedDB transactions are.
NeDB was a embedded persistent or in-memory database for Node.js, nw.js, Electron and browsers.
-It is document-oriented and had the same query syntax as MongoDB.
-Like LokiJS it has persistence adapters for IndexedDB etc. to persist the database state on the disc.
-The last commit to NeDB was in 2016.
Dexie.js is a minimalistic wrapper for IndexedDB. While providing a better API than plain IndexedDB, Dexie also improves performance by batching transactions and other optimizations. It also adds additional non-IndexedDB features like observable queries or multi tab support or react hooks.
-Compared to RxDB, Dexie.js does not support complex (MongoDB-like) queries and requires a lot of fiddling when a document range of a specific index must be fetched.
-Dexie.js is used by Whatsapp Web, Microsoft To Do and Github Desktop.
-
RxDB supports using Dexie.js as Database storage which enhances IndexedDB via dexie with RxDB features like MongoDB-like queries etc.
LowDB is a small, local JSON database powered by the Lodash library. It is designed to be simple, easy to use, and straightforward. LowDB allows you to perform native JavaScript queries and persist data in a flat JSON file. Written in TypeScript, it's particularly well-suited for small projects, prototyping, or when you need a lightweight, file-based database.
-
As an alternative to LowDB, RxDB offers real-time reactivity, allowing developers to subscribe to database changes, a feature not natively available in LowDB. Additionally, RxDB provides robust query capabilities, including the ability to subscribe to query results for automatic UI updates. These features make RxDB a strong alternative to LowDB for more complex and dynamic applications.
localForage is a popular JavaScript library for offline storage that provides a simple, promise-based API. It abstracts over different storage mechanisms such as IndexedDB, WebSQL, or localStorage, making it easier to write code once and have it work seamlessly across various browsers. While localForage is great for storing data locally in a key-value manner, it doesn't provide the real-time reactive queries, conflict handling, or revision-based replication that RxDB does. This makes localForage a useful choice for straightforward caching or persistent storage needs, but not ideal for advanced offline-first scenarios requiring multi-user collaboration or complex querying.
Originally Realm was a mobile database for Android and iOS. Later they added support for other languages and runtimes, also for JavaScript.
-It was meant as replacement for SQLite but is more like an object store than a full SQL database.
-In 2019 MongoDB bought Realm and changed the projects focus.
-Now Realm is made for replication with the MongoDB Realm Sync based on the MongoDB Atlas Cloud platform. This tight coupling to the MongoDB cloud service is a big downside for most use cases.
The Apollo GraphQL platform is made to transfer data between a server to UI applications over GraphQL endpoints. It contains several tools like GraphQL clients in different languages or libraries to create GraphQL endpoints.
-
While it is has different caching features for offline usage, compared to RxDB it is not fully offline first because caching alone does not mean your application is fully usable when the user is offline.
Replicache is a client-side sync framework for building realtime, collaborative, local-first web apps. It claims to work with most backend stacks. In contrast to other local first tools, replicache does not work like a local database. Instead it runs on so called mutators that unify behavior on the client and server side. So instead of implementing and calling REST routes on both sides of your stack, you will implement mutators that define a specific delta behavior based on the input data. To observe data in replicache, there are subscriptions that notify your frontend application about changes to the state.
-Replicache can be used in most frontend technologies like browsers, React/Remix, NextJS/Vercel and React Native. While Replicache can be installed and used from npm, the Replicache source code is not open source and the Replicache github repo does not allow you to inspect or debug it. Still you can use replicache for in non-commercial projects, or for companies with < $200k revenue (ARR) and < $500k in funding. (2024: Replicache will be free and Rocicorp are working on a new Zerosync product to succeed Replicache and Reflect.)
InstantDB is designed for real-time data synchronization with built-in offline support, allowing changes to be queued locally and synced when the user reconnects. While it offers seamless optimistic updates and rollback capabilities, its offline-first design is not as mature or comprehensive as RxDB's - the offline data is more of a cache, not a full-database sync. The query language used is Datalog, and the backend sync service is written in Clojure. InstantDB is focused more on simplicity and real-time collaboration, with fewer customization options for storage or conflict resolution compared to RxDB, which supports various storage adapters and advanced conflict handling via CRDTs.
Yjs is a CRDT-based (Conflict-free Replicated Data Type) library focused on enabling real-time collaboration - particularly for text editing, although it can handle other data types as well. While it provides powerful conflict resolution and peer-to-peer synchronization out of the box, Yjs itself is not a full-fledged database. Instead, you typically combine Yjs with other storage or networking layers to achieve a local-first architecture. This flexibility allows for sophisticated real-time features, but also means you must handle indexing, queries, and persistence on your own if you need them. Compared to RxDB, Yjs does not offer built-in replication adapters or a query system, so developers who require a more complete solution for conflict resolution, data persistence, and offline-first capabilities may find RxDB more convenient.
2024: ElectricSQL is being rewritten in a new Electric-Next branch, which focuses on partial syncing of ("shapes", which makes is basically a NoSQL like document database) of data from a remote Postgres DB to a local clients written in TypeScript/JS or Elixir. The write path is not yet implemented, neither is client-side reactivity. The ElectricSQL backend is written in Elixir.
SignalDB provides a reactive, in-memory local-lirst JavaScript database with real-time sync, bit it doesn't offer the same level of multi-client replication or flexibility with storage backends that RxDB provides, and through a RxDB persistence adapters you can actually use SignalDB for the front-end reactivity while relying on RxDB for backend sync and persistence.
PowerSync is a "framework" for implementing local-first solutions. It centralizes business logic and conflict resolution on a central, authoritative server (PostgreSQL or MongoDB), vs RxDB that also supports custom backends. Both RxDB and PowerSync can be used with a variety of storage backends, but PowerSync uses SQLite as the front-end database which has shown to be slow because the WASM-SQLite abstraction increases read and write latency. In terms of client SDKs, PowerSync offers Flutter, Kotlin, and Swift in addition to JS/TypeScript. PowerSync offers man client technologies, PowerSync is under a license that restricts commercial use that competes with PowerSync and the JourneyApps Platform.
-
-
\ No newline at end of file
diff --git a/docs/alternatives.md b/docs/alternatives.md
deleted file mode 100644
index 10c6c4b32e8..00000000000
--- a/docs/alternatives.md
+++ /dev/null
@@ -1,236 +0,0 @@
-# Alternatives for realtime local-first JavaScript applications and local databases
-
-> Explore real-time, local-first JS alternatives to RxDB. Compare Firebase, Meteor, AWS, CouchDB, and more for robust, seamless web/mobile app development.
-
-# Alternatives for realtime offline-first JavaScript applications
-
-To give you an augmented view over the topic of client side JavaScript databases, this page contains all known alternatives to **RxDB**. Remember that you are reading this inside of the RxDB documentation, so everything is **opinionated**.
-If you disagree with anything or think that something is missing, make a pull request to this file on the RxDB github repository.
-
-:::note
-RxDB has these main benefits:
-
-- RxDB is a battle proven tool [widely used](/#reviews) by companies in real projects in production.
-- RxDB is not VC funded and therefore does not require you to use a specific cloud service to rip you off. RxDB can be used with your [own backend](./replication-http.md) or no backend at all.
-- RxDB has a working business model of selling [premium plugins](/premium/) which ensures that RxDB will be maintained and improved continuously while many alternatives are dead already or seem to die soon.
-- RxDB has years (since 2016) of performance optimization, bug fixing and feature adding. It is just working as is and there are close to zero [open issues](https://github.com/pubkey/rxdb/issues).
-
-
-
-
-
-
-
-:::
-
---------------------------------------------------------------------------------
-
-
-
-## Alternatives to RxDB
-
-[RxDB](https://rxdb.info) is an **observable**, **replicating**, **[local first](./offline-first.md)**, **JavaScript** database. So it makes only sense to list similar projects as alternatives, not just any database or JavaScript store library. However, I will list up some projects that RxDB is often compared with, even if it only makes sense for some use cases.
-Here are the alternatives to RxDB:
-
-### Firebase
-
-
-
-Firebase is a **platform** developed by Google for creating mobile and web applications. Firebase has many features and products, two of which are client side databases. The [Realtime Database](./articles/firebase-realtime-database-alternative.md) and the [Cloud Firestore](./articles/firestore-alternative.md).
-
-#### Firebase - Realtime Database
-
-The firebase realtime database was the first database in firestore. It has to be mentioned that in this context, "realtime" means **"realtime replication"**, not "realtime computing". The firebase realtime database stores data as a big unstructured JSON tree that is replicated between clients and the backend.
-
-#### Firebase - Cloud Firestore
-
-The firestore is the successor to the realtime database. The big difference is that it behaves more like a 'normal' database that stores data as documents inside of collections. The conflict resolution strategy of firestore is always *last-write-wins* which might or might not be suitable for your use case.
-
-The biggest difference to RxDB is that firebase products are only able to be used on top of the Firebase cloud hosted backend, which creates a vendor lock-in. RxDB can replicate with any self hosted CouchDB server or custom GraphQL endpoints. You can even replicate Firestore to RxDB with the [Firestore Replication Plugin](./replication-firestore.md).
-
-### Meteor
-
-
-
-Meteor (since 2012) is one of the oldest technologies for JavaScript realtime applications. Meteor is not a library but a whole framework with its own package manager, database management and replication.
-Because of how it works, it has proven to be hard to integrate it with other modern JavaScript frameworks like [angular](https://github.com/urigo/angular-meteor), [vue.js](./articles//vue-database.md) or svelte.
-
-Meteor uses MongoDB in the backend and can replicate with a Minimongo database in the frontend.
-While testing, it has proven to be impossible to make a meteor app **offline first** capable. There are [some projects](https://github.com/frozeman/meteor-persistent-minimongo2) that might do this, but all are unmaintained.
-
-### Minimongo
-
-Forked in Jan 2014 from meteorJSs' minimongo package, Minimongo is a client-side, in-memory, JavaScript version of MongoDB with backend replication over HTTP. Similar to MongoDB, it stores data in documents inside of collections and also has the same query syntax. Minimongo has different storage adapters for IndexedDB, WebSQL, [LocalStorage](./articles/localstorage.md) and SQLite.
-Compared to RxDB, Minimongo has no concept of revisions or conflict handling, which might lead to undefined behavior when used with replication or in multiple browser tabs. Minimongo has no observable queries or changestream.
-
-### WatermelonDB
-
-
-
-WatermelonDB is a reactive & asynchronous JavaScript database. While originally made for [React](./articles/react-database.md) and [React Native](./react-native-database.md), it can also be used with other JavaScript frameworks. The main goal of WatermelonDB is **performance** within an application with lots of data.
-In React Native, WatermelonDB uses the provided SQLite database. Also there is an Expo plugin for WatermelonDB. In a browser, WatermelonDB uses the LokiJS in-memory database to store and query data. WatermelonDB is one of the rare projects that support both Flow and Typescript at the same time.
-
-### AWS Amplify
-
-
-
-AWS Amplify is a collection of tools and libraries to develop web- and mobile frontend applications. Similar to firebase, it provides everything needed like authentication, analytics, a REST API, storage and so on. Everything hosted in the AWS Cloud, even when they state that *"AWS Amplify is designed to be open and pluggable for any custom backend or service"*. For realtime replication, AWS Amplify can connect to an AWS App-Sync GraphQL endpoint.
-
-### AWS Datastore
-
-Since December 2019 the Amplify library includes the AWS Datastore which is a document-based, client side database that is able to replicate data via AWS AppSync in the background.
-The main difference to other projects is the complex project configuration via the amplify cli and the bit confusing query syntax that works over functions. Complex Queries with multiple `OR/AND` statements are not possible which might change in the future.
-Local development is hard because the AWS AppSync mock does not support realtime replication. It also is not really offline-first because a user login is always required.
-
-```ts
-// An AWS datastore OR query
-const posts = await DataStore.query(Post, c => c.or(
- c => c.rating("gt", 4).status("eq", PostStatus.PUBLISHED)
-));
-
-// An AWS datastore SORT query
-const posts = await DataStore.query(Post, Predicates.ALL, {
- sort: s => s.rating(SortDirection.ASCENDING).title(SortDirection.DESCENDING)
-});
-```
-
-The biggest difference to RxDB is that you have to use the AWS cloud backends. This might not be a problem if your data is at AWS anyway.
-
-### RethinkDB
-
-
-
-RethinkDB is a backend database that pushed dynamic JSON data to the client in realtime. It was founded in 2009 and the company shut down in 2016.
-Rethink db is not a client side database, it streams data from the backend to the client which of course does not work while offline.
-
-### Horizon
-
-Horizon is the client side library for RethinkDB which provides useful functions like authentication, permission management and subscription to a RethinkDB backend. Offline support [never made](https://github.com/rethinkdb/horizon/issues/58) it to horizon.
-
-### Supabase
-
-
-
-Supabase labels itself as "*an open source Firebase alternative*". It is a collection of open source tools that together mimic many Firebase features, most of them by providing a wrapper around a PostgreSQL database. While it has realtime queries that run over the wire, like with RethinkDB, Supabase has no client-side storage or replication feature and therefore is not offline first.
-
-### CouchDB
-
-
-
-Apache CouchDB is a server-side, document-oriented database that is mostly known for its multi-master replication feature. Instead of having a master-slave replication, with CouchDB you can run replication in any constellation without having a master server as bottleneck where the server even can go off- and online at any time. This comes with the drawback of having a slow replication with much network overhead.
-CouchDB has a changestream and a query syntax similar to MongoDB.
-
-### PouchDB
-
-
-
-PouchDB is a JavaScript database that is compatible with most of the CouchDB API. It has an adapter system that allows you to switch out the underlying storage layer. There are many adapters like for [IndexedDB](./rx-storage-indexeddb.md), [SQLite](./rx-storage-sqlite.md), the Filesystem and so on. The main benefit is to be able to replicate data with any CouchDB compatible endpoint.
-Because of the CouchDB compatibility, PouchDB has to do a lot of overhead in handling the revision tree of document, which is why it can show bad performance for bigger datasets.
-RxDB was originally build around PouchDB until the storage layer was abstracted out in version [10.0.0](./releases/10.0.0.md) so it now allows to use different `RxStorage` implementations. PouchDB has some performance issues because of how it has to store the document revision tree to stay compatible with the CouchDB API.
-
-### Couchbase
-
-Couchbase (originally known as Membase) is another NoSQL document database made for realtime applications.
-It uses the N1QL query language which is more SQL like compared to other NoSQL query languages. In theory you can achieve replication of a Couchbase with a PouchDB database, but this has shown to be not [that easy](https://github.com/pouchdb/pouchdb/issues/7793#issuecomment-501624297).
-
-### Cloudant
-
-Cloudant is a cloud-based service that is based on [CouchDB](./replication-couchdb.md) and has mostly the same features.
-It was originally designed for cloud computing where data can automatically be distributed between servers. But it can also be used to replicate with frontend PouchDB instances to create scalable web applications.
-It was bought by IBM in 2014 and since 2018 the Cloudant Shared Plan is retired and migrated to IBM Cloud.
-
-### Hoodie
-
-Hoodie is a backend solution that enables offline-first JavaScript frontend development without having to write backend code. Its main goal is to abstract away configuration into simple calls to the Hoodie API.
-It uses CouchDB in the backend and PouchDB in the frontend to enable offline-first capabilities.
-The last commit for hoodie was one year ago and the website (hood.ie) is offline which indicates it is not an active project anymore.
-
-### LokiJS
-
-LokiJS is a JavaScript embeddable, in-memory database. And because everything is handled in-memory, LokiJS has awesome performance when mutating or querying data. You can still persist to a permanent storage (IndexedDB, Filesystem etc.) with one of the provided storage adapters. The persistence happens after a timeout is reached after a write, or before the JavaScript process exits. This also means you could loose data when the JavaScript process exits ungracefully like when the power of the device is shut down or the browser crashes.
-While the project is not that active anymore, it is more *finished* than *unmaintained*.
-
-In the past, RxDB supported using [LokiJS as RxStorage](./rx-storage-lokijs.md) but because the LokiJS is not maintained anymore and had too many issues, this storage option was removed in RxDB version 16.
-
-### Gundb
-
-GUN is a JavaScript graph database. While having many features, the **decentralized** replication is the main unique selling point. You can replicate data Peer-to-Peer without any centralized backend server. GUN has several other features that are useful on top of that, like encryption and authentication.
-
-While testing it was really hard to get basic things running. GUN is open source, but because of how the source code [is written](https://github.com/amark/gun/blob/master/src/put.js), it is very difficult to understand what is going wrong.
-
-### sql.js
-
-sql.js is a javascript library to run SQLite on the web. It uses a virtual database file stored in memory and does not have any persistence. All data is lost once the JavaScript process exits. sql.js is created by compiling SQLite to WebAssembly so it has about the same features as SQLite. For older browsers there is a JavaScript fallback.
-
-### absurd-sQL
-
-Absurd-sql is a project that implements an IndexedDB-based persistence for sql.js. Instead of directly writing data into the IndexedDB, it treats IndexedDB like a disk and stores data in blocks there which shows to have a much better performance, mostly because of how [performance expensive](./slow-indexeddb.md) IndexedDB transactions are.
-
-### NeDB
-
-NeDB was a embedded persistent or in-memory database for Node.js, nw.js, [Electron](./electron-database.md) and browsers.
-It is document-oriented and had the same query syntax as MongoDB.
-Like LokiJS it has persistence adapters for IndexedDB etc. to persist the database state on the disc.
-The last commit to NeDB was in **2016**.
-
-### Dexie.js
-
-Dexie.js is a minimalistic wrapper for IndexedDB. While providing a better API than plain IndexedDB, Dexie also improves performance by batching transactions and other optimizations. It also adds additional non-IndexedDB features like observable queries or multi tab support or react hooks.
-Compared to RxDB, Dexie.js does not support complex (MongoDB-like) queries and requires a lot of fiddling when a document range of a specific index must be fetched.
-Dexie.js is used by Whatsapp Web, Microsoft To Do and Github Desktop.
-
-RxDB supports using [Dexie.js as Database storage](./rx-storage-dexie.md) which enhances IndexedDB via dexie with RxDB features like MongoDB-like queries etc.
-
-### LowDB
-
-LowDB is a small, local JSON database powered by the Lodash library. It is designed to be simple, easy to use, and straightforward. LowDB allows you to perform native JavaScript queries and persist data in a flat JSON file. Written in TypeScript, it's particularly well-suited for small projects, prototyping, or when you need a lightweight, file-based database.
-
-As an alternative to LowDB, [RxDB](./) offers real-time reactivity, allowing developers to subscribe to database changes, a feature not natively available in LowDB. Additionally, RxDB provides robust [query capabilities](./rx-query.md), including the ability to subscribe to query results for automatic UI updates. These features make RxDB a strong alternative to LowDB for more complex and dynamic applications.
-
-### localForage
-localForage is a popular JavaScript library for offline storage that provides a simple, promise-based API. It abstracts over different storage mechanisms such as [IndexedDB](./rx-storage-indexeddb.md), WebSQL, or [localStorage](./articles/localstorage.md), making it easier to write code once and have it work seamlessly across various browsers. While localForage is great for storing data locally in a key-value manner, it doesn't provide the real-time reactive queries, [conflict handling](./transactions-conflicts-revisions.md), or revision-based replication that RxDB does. This makes localForage a useful choice for straightforward caching or persistent storage needs, but not ideal for advanced offline-first scenarios requiring multi-user collaboration or complex querying.
-
-### MongoDB Realm
-
-Originally Realm was a mobile database for Android and iOS. Later they added support for other languages and runtimes, also for JavaScript.
-It was meant as replacement for SQLite but is more like an object store than a full SQL database.
-In 2019 MongoDB bought Realm and changed the projects focus.
-Now Realm is made for replication with the MongoDB Realm Sync based on the MongoDB Atlas Cloud platform. This tight coupling to the MongoDB cloud service is a big downside for most use cases.
-
-### Apollo
-
-The Apollo GraphQL platform is made to transfer data between a server to UI applications over GraphQL endpoints. It contains several tools like GraphQL clients in different languages or libraries to create GraphQL endpoints.
-
-While it is has different caching features for offline usage, compared to RxDB it is not fully offline first because caching alone does not mean your application is fully usable when the user is offline.
-
-### Replicache
-
-Replicache is a client-side sync framework for building realtime, collaborative, [local-first](./articles/local-first-future.md) web apps. It claims to work with most backend stacks. In contrast to other local first tools, replicache does not work like a local database. Instead it runs on so called `mutators` that unify behavior on the client and server side. So instead of implementing and calling REST routes on both sides of your stack, you will implement mutators that define a specific delta behavior based on the input data. To observe data in replicache, there are `subscriptions` that notify your frontend application about changes to the state.
-Replicache can be used in most frontend technologies like browsers, React/Remix, NextJS/Vercel and React Native. While Replicache can be installed and used from npm, the Replicache source code is not open source and the Replicache github repo does not allow you to inspect or debug it. Still you can use replicache for in non-commercial projects, or for companies with < $200k revenue (ARR) and < $500k in funding. (2024: Replicache will be free and Rocicorp are working on a new Zerosync product to succeed Replicache and Reflect.)
-
-### InstantDB
-
-InstantDB is designed for real-time data synchronization with built-in offline support, allowing changes to be queued locally and [synced](./replication.md) when the user reconnects. While it offers seamless [optimistic updates](./articles/optimistic-ui.md) and rollback capabilities, its offline-first design is not as mature or comprehensive as RxDB's - the [offline data](./articles//offline-database.md) is more of a cache, not a full-database sync. The query language used is Datalog, and the backend sync service is written in Clojure. InstantDB is focused more on simplicity and real-time collaboration, with fewer customization options for storage or conflict resolution compared to RxDB, which supports various storage adapters and advanced conflict handling via CRDTs.
-
-### Yjs
-
-Yjs is a [CRDT-based](./crdt.md) (Conflict-free Replicated Data Type) library focused on enabling real-time collaboration - particularly for text editing, although it can handle other data types as well. While it provides powerful conflict resolution and peer-to-peer synchronization out of the box, Yjs itself is not a full-fledged database. Instead, you typically combine Yjs with other storage or networking layers to achieve a [local-first architecture](./offline-first.md). This flexibility allows for sophisticated [real-time](./articles/realtime-database.md) features, but also means you must handle indexing, queries, and persistence on your own if you need them. Compared to RxDB, Yjs does not offer built-in replication adapters or a query system, so developers who require a more complete solution for conflict resolution, data persistence, and offline-first capabilities may find RxDB more convenient.
-
-### ElectricSQL
-
-2024: ElectricSQL is being rewritten in a new Electric-Next branch, which focuses on partial syncing of ("shapes", which makes is basically a NoSQL like document database) of data from a remote Postgres DB to a local clients written in TypeScript/JS or Elixir. The write path is not yet implemented, neither is client-side reactivity. The ElectricSQL backend is written in Elixir.
-
-### SignalDB
-
-SignalDB provides a reactive, in-memory local-lirst JavaScript database with real-time sync, bit it doesn't offer the same level of multi-client replication or flexibility with storage backends that RxDB provides, and through a RxDB persistence adapters you can actually use SignalDB for the front-end reactivity while relying on RxDB for backend sync and persistence.
-
-### PowerSync
-
-PowerSync is a "framework" for implementing local-first solutions. It centralizes business logic and conflict resolution on a central, authoritative server (PostgreSQL or MongoDB), vs RxDB that also supports custom backends. Both RxDB and PowerSync can be used with a variety of storage backends, but PowerSync uses SQLite as the front-end database which has shown to be slow because the WASM-SQLite abstraction increases read and write latency. In terms of client SDKs, PowerSync offers Flutter, Kotlin, and Swift in addition to JS/TypeScript. PowerSync offers man client technologies, PowerSync is under a license that restricts commercial use that competes with PowerSync and the JourneyApps Platform.
-
-# Read further
-
-- [Offline First Database Comparison](https://github.com/pubkey/client-side-databases)
diff --git a/docs/articles/angular-database.html b/docs/articles/angular-database.html
deleted file mode 100644
index 7d9b43694ef..00000000000
--- a/docs/articles/angular-database.html
+++ /dev/null
@@ -1,175 +0,0 @@
-
-
-
-
-
-RxDB as a Database in an Angular Application | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
In modern web development, Angular has emerged as a popular framework for building robust and scalable applications. As Angular applications often require persistent storage and efficient data handling, choosing the right database solution is crucial. One such solution is RxDB, a reactive JavaScript database for the browser, node.js, and mobile devices. In this article, we will explore the integration of RxDB into an Angular application and examine its various features and techniques.
Angular is a powerful JavaScript framework developed and maintained by Google. It enables developers to build single-page applications (SPAs) with a modular and component-based approach. Angular provides a comprehensive set of tools and features for creating dynamic and responsive web applications.
Databases play a vital role in Angular applications by providing a structured and efficient way to store, retrieve, and manage data. Whether it's handling user authentication, caching data, or persisting application state, a robust database solution is essential for ensuring optimal performance and user experience.
RxDB stands for Reactive Database and is built on the principles of reactive programming. It combines the best features of NoSQL databases with the power of reactive programming to provide a scalable and efficient database solution. RxDB offers seamless integration with Angular applications and brings several unique features that make it an attractive choice for developers.
-
3:45
This solved a problem I've had in Angular for years
RxDB is a client-side database that follows the principles of reactive programming. It is built on top of IndexedDB, the native browser database, and leverages the RxJS library for reactive data handling. RxDB provides a simple and intuitive API for managing data and offers features like data replication, multi-tab support, and efficient query handling.
At the core of RxDB is the concept of reactive data handling. RxDB leverages observables and reactive streams to enable real-time updates and data synchronization. With RxDB, you can easily subscribe to data changes and react to them in a reactive and efficient manner.
One of the standout features of RxDB is its offline-first approach. It allows you to build applications that can work seamlessly in offline scenarios. RxDB stores data locally and automatically synchronizes changes with the server when the network becomes available. This capability is particularly useful for applications that need to function in low-connectivity or unreliable network environments.
RxDB provides built-in support for data replication between clients and servers. This means you can synchronize data across multiple devices or instances of your application effortlessly. RxDB handles conflict resolution and ensures that data remains consistent across all connected clients.
RxDB offers a powerful querying mechanism with support for observable queries. This allows you to create dynamic queries that automatically update when the underlying data changes. By leveraging RxDB's observable queries, you can build reactive UI components that respond to data changes in real-time.
RxDB provides out-of-the-box support for multi-tab scenarios. This means that if your Angular application is running in multiple browser tabs, RxDB automatically keeps the data in sync across all tabs. It ensures that changes made in one tab are immediately reflected in others, providing a seamless user experience.
While there are other database options available for Angular applications, RxDB stands out with its reactive programming model, offline-first approach, and built-in synchronization capabilities. Unlike traditional SQL databases, RxDB's NoSQL-like structure and observables-based API make it well-suited for real-time applications and complex data scenarios.
To use RxDB in an Angular application, we first need to install the necessary dependencies. You can install RxDB using npm or yarn by running the following command:
-
npm install rxdb --save
-
Once installed, you can import RxDB into your Angular application and start using its API to create and manage databases.
Angular uses change detection to detect and update UI elements when data changes. However, RxDB's data handling is based on observables, which can sometimes bypass Angular's change detection mechanism. To ensure that changes made in RxDB are detected by Angular, we need to patch the change detection mechanism using zone.js. Zone.js is a library that intercepts and tracks asynchronous operations, including observables. By patching zone.js, we can make sure that Angular is aware of changes happening in RxDB.
-
warning
RxDB creates rxjs observables outside of angulars zone
-So you have to import the rxjs patch to ensure the angular change detection works correctly.
-link
Use the Angular async pipe to observe an RxDB Query
-
Angular provides the async pipe, which is a convenient way to subscribe to observables and handle the subscription lifecycle automatically. When working with RxDB, you can use the async pipe to observe an RxDB query and bind the results directly to your Angular template. This ensures that the UI stays in sync with the data changes emitted by the RxDB query.
IndexedDB RxStorage: RxDB directly supports IndexedDB as a storage layer. IndexedDB is a low-level browser database that offers good performance and reliability.
-
OPFS RxStorage: The OPFS RxStorage for RxDB is built on top of the File System Access API which is available in all modern browsers. It provides an API to access a sandboxed private file system to persistently store and retrieve data.
-Compared to other persistent storage options in the browser (like IndexedDB), the OPFS API has a way better performance.
-
Memory RxStorage: In addition to persistent storage options, RxDB also provides a memory-based storage layer. This is useful for testing or scenarios where you don't need long-term data persistence.
-You can choose the storage layer that best suits your application's requirements and configure RxDB accordingly.
-
-
Synchronizing Data with RxDB between Clients and Servers
-
Data replication between an Angular application and a server is a common requirement. RxDB simplifies this process and provides built-in support for data synchronization. Let's explore how to replicate data between an Angular application and a server using RxDB.
One of the key strengths of RxDB is its offline-first approach. It allows Angular applications to function seamlessly even in offline scenarios. RxDB stores data locally and automatically synchronizes changes with the server when the network becomes available. This capability is particularly useful for applications that need to operate in low-connectivity or unreliable network environments.
In a distributed system, conflicts can arise when multiple clients modify the same data simultaneously. RxDB offers conflict resolution mechanisms to handle such scenarios. You can define conflict resolution strategies based on your application's requirements. RxDB provides hooks and events to detect conflicts and resolve them in a consistent manner.
RxDB supports bidirectional data synchronization, allowing updates from both the client and server to be replicated seamlessly. This ensures that data remains consistent across all connected clients and the server. RxDB handles conflicts and resolves them based on the defined conflict resolution strategies.
RxDB provides real-time updates by leveraging reactive programming principles. Changes made to the data are automatically propagated to all connected clients in real-time. Angular applications can subscribe to these updates and update the user interface accordingly. This real-time capability enables collaborative features and enhances the overall user experience.
To improve query performance, RxDB allows you to define indexes on specific fields of your documents. Indexing enables faster data retrieval and query execution, especially when working with large datasets. By strategically creating indexes, you can optimize the performance of your Angular application.
RxDB provides built-in support for encrypting local data using the Web Crypto API. With encryption, you can protect sensitive data stored in the client-side database. RxDB transparently encrypts the data, ensuring that it remains secure even if the underlying storage is compromised.
RxDB exposes change streams, which allow you to listen for data changes at a database or collection level. By subscribing to change streams, you can react to data modifications and perform specific actions, such as updating the UI or triggering notifications. Change streams enable real-time event handling in your Angular application.
To reduce the storage footprint and improve performance, RxDB supports JSON key compression. With key compression, RxDB replaces long keys with shorter aliases, reducing the overall storage size. This optimization is particularly useful when working with large datasets or frequently updating data.
-
Best Practices for Using RxDB in Angular Applications
-
To make the most of RxDB in your Angular application, consider the following best practices:
-
Use Async Pipe for Subscriptions so you do not have to unsubscribe
-
Angular's async pipe is a powerful tool for handling observables in templates. By using the async pipe, you can avoid the need to manually subscribe and unsubscribe from RxDB observables. Angular takes care of the subscription lifecycle, ensuring that resources are released when they are no longer needed. Instead of manually subscribing to Observables, you should always prefer the async pipe.
To ensure proper separation of concerns and maintain a clean codebase, it is recommended to create an Angular service responsible for managing the RxDB database instance. This service can handle database creation, initialization, and provide methods for interacting with the database throughout your application.
RxDB provides various mechanisms for efficient data handling, such as batching updates, debouncing, and throttling. Leveraging these techniques can help optimize performance and reduce unnecessary UI updates. Consider the specific data handling requirements of your application and choose the appropriate strategies provided by RxDB.
When working with data synchronization between clients and servers, it's important to consider strategies for conflict resolution and handling network failures. RxDB provides plugins and hooks that allow you to customize the replication behavior and implement specific synchronization strategies tailored to your application's needs.
RxDB is a powerful database solution for Angular applications, offering reactive data handling, offline-first capabilities, and seamless data synchronization. By integrating RxDB into your Angular application, you can build responsive and scalable web applications that provide a rich user experience. Whether you're building real-time collaborative apps, progressive web applications, or offline-capable applications, RxDB's features and techniques make it a valuable addition to your Angular development toolkit.
To explore more about RxDB and leverage its capabilities for browser database development, check out the following resources:
-
-
RxDB GitHub Repository: Visit the official GitHub repository of RxDB to access the source code, documentation, and community support.
-
RxDB Quickstart: Get started quickly with RxDB by following the provided quickstart guide, which provides step-by-step instructions for setting up and using RxDB in your projects.
-
-
\ No newline at end of file
diff --git a/docs/articles/angular-database.md b/docs/articles/angular-database.md
deleted file mode 100644
index 2e0c47410ae..00000000000
--- a/docs/articles/angular-database.md
+++ /dev/null
@@ -1,214 +0,0 @@
-# RxDB as a Database in an Angular Application
-
-> Level up your Angular projects with RxDB. Build real-time, resilient, and responsive apps powered by a reactive NoSQL database right in the browser.
-
-import {VideoBox} from '@site/src/components/video-box';
-
-# RxDB as a Database in an Angular Application
-
-In modern web development, Angular has emerged as a popular framework for building robust and scalable applications. As Angular applications often require persistent [storage](./browser-storage.md) and efficient data handling, choosing the right database solution is crucial. One such solution is [RxDB](https://rxdb.info/), a reactive JavaScript database for the browser, node.js, and [mobile devices](./mobile-database.md). In this article, we will explore the integration of RxDB into an Angular application and examine its various features and techniques.
-
-
-
-
-
-
-
-## Angular Web Applications
-Angular is a powerful JavaScript framework developed and maintained by Google. It enables developers to build single-page applications (SPAs) with a modular and component-based approach. Angular provides a comprehensive set of tools and features for creating dynamic and responsive web applications.
-
-## Importance of Databases in Angular Applications
-Databases play a vital role in Angular applications by providing a structured and efficient way to store, retrieve, and manage data. Whether it's handling user authentication, caching data, or persisting application state, a robust database solution is essential for ensuring optimal performance and user experience.
-
-## Introducing RxDB as a Database Solution
-RxDB stands for Reactive Database and is built on the principles of reactive programming. It combines the best features of [NoSQL databases](./in-memory-nosql-database.md) with the power of reactive programming to provide a scalable and efficient database solution. RxDB offers seamless integration with Angular applications and brings several unique features that make it an attractive choice for developers.
-
-
-
-
-
-## Getting Started with RxDB
-To begin our journey with RxDB, let's understand its key concepts and features.
-
-### What is RxDB?
-[RxDB](https://rxdb.info/) is a client-side database that follows the principles of reactive programming. It is built on top of IndexedDB, the [native browser database](./browser-database.md), and leverages the RxJS library for reactive data handling. RxDB provides a simple and intuitive API for managing data and offers features like data replication, multi-tab support, and efficient query handling.
-
-
-
-
-
-
-
-### Reactive Data Handling
-At the core of RxDB is the concept of reactive data handling. RxDB leverages observables and reactive streams to enable real-time updates and data synchronization. With RxDB, you can easily subscribe to data changes and react to them in a reactive and efficient manner.
-
-
-
-### Offline-First Approach
-One of the standout features of RxDB is its offline-first approach. It allows you to build applications that can work seamlessly in offline scenarios. RxDB stores data locally and automatically synchronizes changes with the server when the network becomes available. This capability is particularly useful for applications that need to function in low-connectivity or unreliable network environments.
-
-### Data Replication
-RxDB provides built-in support for data replication between clients and servers. This means you can synchronize data across multiple devices or instances of your application effortlessly. RxDB handles conflict resolution and ensures that data remains consistent across all connected clients.
-
-### Observable Queries
-RxDB offers a powerful querying mechanism with support for observable queries. This allows you to create dynamic queries that automatically update when the underlying data changes. By leveraging RxDB's observable queries, you can build reactive UI components that respond to data changes in real-time.
-
-### Multi-Tab Support
-RxDB provides out-of-the-box support for multi-tab scenarios. This means that if your Angular application is running in multiple browser tabs, RxDB automatically keeps the data in sync across all tabs. It ensures that changes made in one tab are immediately reflected in others, providing a seamless user experience.
-
-
-
-### RxDB vs. Other Angular Database Options
-While there are other database options available for Angular applications, RxDB stands out with its reactive programming model, offline-first approach, and built-in synchronization capabilities. Unlike traditional SQL databases, RxDB's NoSQL-like structure and observables-based API make it well-suited for real-time applications and complex data scenarios.
-
-## Using RxDB in an Angular Application
-Now that we have a good understanding of RxDB and its features, let's explore how to integrate it into an Angular application.
-
-### Installing RxDB in an Angular App
-To use RxDB in an Angular application, we first need to install the necessary dependencies. You can install RxDB using npm or yarn by running the following command:
-
-```bash
-npm install rxdb --save
-```
-Once installed, you can import RxDB into your Angular application and start using its API to create and manage databases.
-
-### Patch Change Detection with zone.js
-Angular uses change detection to detect and update UI elements when data changes. However, RxDB's data handling is based on observables, which can sometimes bypass Angular's change detection mechanism. To ensure that changes made in RxDB are detected by Angular, we need to patch the change detection mechanism using zone.js. Zone.js is a library that intercepts and tracks asynchronous operations, including observables. By patching zone.js, we can make sure that Angular is aware of changes happening in RxDB.
-
-:::warning
-
-RxDB creates rxjs observables outside of angulars zone
-So you have to import the rxjs patch to ensure the [angular change detection](https://angular.io/guide/change-detection) works correctly.
-[link](https://www.bennadel.com/blog/3448-binding-rxjs-observable-sources-outside-of-the-ngzone-in-angular-6-0-2.htm)
-
-```ts
-//> app.component.ts
-import 'zone.js/plugins/zone-patch-rxjs';
-```
-:::
-
-### Use the Angular async pipe to observe an RxDB Query
-Angular provides the async pipe, which is a convenient way to subscribe to observables and handle the subscription lifecycle automatically. When working with RxDB, you can use the async pipe to observe an RxDB query and bind the results directly to your Angular template. This ensures that the UI stays in sync with the data changes emitted by the RxDB query.
-
-```ts
- constructor(
- private dbService: DatabaseService,
- private dialog: MatDialog
- ) {
- this.heroes$ = this.dbService
- .db.hero // collection
- .find({ // query
- selector: {},
- sort: [{ name: 'asc' }]
- })
- .$;
- }
-```
-
-```html
-
- {{hero.name}}
-
-```
-
-### Different RxStorage layers for RxDB
-RxDB supports multiple storage layers for persisting data. Some of the available storage options include:
-
-- [LocalStorage RxStorage](../rx-storage-localstorage.md): Uses the [LocalStorage API](./localstorage.md) without any third party plugins.
-- [IndexedDB RxStorage](../rx-storage-indexeddb.md): RxDB directly supports IndexedDB as a storage layer. IndexedDB is a low-level browser database that offers good performance and reliability.
-- [OPFS RxStorage](../rx-storage-opfs.md): The OPFS [RxStorage](../rx-storage.md) for RxDB is built on top of the [File System Access API](https://webkit.org/blog/12257/the-file-system-access-api-with-origin-private-file-system/) which is available in [all modern browsers](https://caniuse.com/native-filesystem-api). It provides an API to access a sandboxed private file system to persistently store and retrieve data.
-Compared to other persistent storage options in the browser (like [IndexedDB](../rx-storage-indexeddb.md)), the OPFS API has a **way better performance**.
-- [Memory RxStorage](../rx-storage-memory.md): In addition to persistent storage options, RxDB also provides a memory-based storage layer. This is useful for testing or scenarios where you don't need long-term data persistence.
-You can choose the storage layer that best suits your application's requirements and configure RxDB accordingly.
-
-## Synchronizing Data with RxDB between Clients and Servers
-
-Data replication between an Angular application and a server is a common requirement. RxDB simplifies this process and provides built-in support for data synchronization. Let's explore how to replicate data between an Angular application and a server using RxDB.
-
-
-
-### Offline-First Approach
-One of the key strengths of RxDB is its [offline-first approach](../offline-first.md). It allows Angular applications to function seamlessly even in offline scenarios. RxDB stores data locally and automatically synchronizes changes with the server when the network becomes available. This capability is particularly useful for applications that need to operate in low-connectivity or unreliable network environments.
-
-### Conflict Resolution
-In a distributed system, conflicts can arise when multiple clients modify the same data simultaneously. RxDB offers conflict resolution mechanisms to handle such scenarios. You can define conflict resolution strategies based on your application's requirements. RxDB provides hooks and events to detect conflicts and resolve them in a consistent manner.
-
-### Bidirectional Synchronization
-RxDB supports bidirectional data synchronization, allowing updates from both the client and server to be replicated seamlessly. This ensures that data remains consistent across all connected clients and the server. RxDB handles conflicts and resolves them based on the defined conflict resolution strategies.
-
-### Real-Time Updates
-RxDB provides real-time updates by leveraging reactive programming principles. Changes made to the data are automatically propagated to all connected clients in real-time. Angular applications can subscribe to these updates and update the user interface accordingly. This real-time capability enables collaborative features and enhances the overall user experience.
-
-## Advanced RxDB Features and Techniques
-RxDB offers several advanced features and techniques that can further enhance your Angular application.
-
-### Indexing and Performance Optimization
-To improve query performance, RxDB allows you to define indexes on specific fields of your documents. Indexing enables faster data retrieval and query execution, especially when working with large datasets. By strategically creating indexes, you can optimize the performance of your Angular application.
-
-### Encryption of Local Data
-RxDB provides built-in support for [encrypting](../encryption.md) local data using the Web Crypto API. With encryption, you can protect sensitive data stored in the client-side database. RxDB transparently encrypts the data, ensuring that it remains secure even if the underlying storage is compromised.
-
-### Change Streams and Event Handling
-RxDB exposes change streams, which allow you to listen for data changes at a database or collection level. By subscribing to change streams, you can react to data modifications and perform specific actions, such as updating the UI or triggering notifications. Change streams enable real-time event handling in your Angular application.
-
-### JSON Key Compression
-To reduce the storage footprint and improve performance, RxDB supports [JSON key compression](../key-compression.md). With key compression, RxDB replaces long keys with shorter aliases, reducing the overall storage size. This optimization is particularly useful when working with large datasets or frequently updating data.
-
-## Best Practices for Using RxDB in Angular Applications
-To make the most of RxDB in your Angular application, consider the following best practices:
-
-### Use Async Pipe for Subscriptions so you do not have to unsubscribe
-Angular's `async` pipe is a powerful tool for handling observables in templates. By using the async pipe, you can avoid the need to manually subscribe and unsubscribe from RxDB observables. Angular takes care of the subscription lifecycle, ensuring that resources are released when they are no longer needed. Instead of manually subscribing to Observables, you should always prefer the `async` pipe.
-
-```ts
-// WRONG:
-let amount;
-this.dbService
- .db.hero
- .find({
- selector: {},
- sort: [{ name: 'asc' }]
- })
- .$.subscribe(docs => {
- amount = 0;
- docs.forEach(d => amount = d.points);
- });
-
-// RIGHT:
-this.amount$ = this.dbService
- .db.hero
- .find({
- selector: {},
- sort: [{ name: 'asc' }]
- })
- .$.pipe(
- map(docs => {
- let amount = 0;
- docs.forEach(d => amount = d.points);
- return amount;
- })
- );
-```
-
-### Use custom reactivity to have signals instead of rxjs observables
-
-RxDB supports adding custom reactivity factories that allow you to get angular signals out of the database instead of rxjs observables. [read more](../reactivity.md).
-
-### Use Angular Services for Database creation
-To ensure proper separation of concerns and maintain a clean codebase, it is recommended to create an Angular service responsible for managing the RxDB database instance. This service can handle database creation, initialization, and provide methods for interacting with the database throughout your application.
-
-### Efficient Data Handling
-RxDB provides various mechanisms for efficient data handling, such as batching updates, debouncing, and throttling. Leveraging these techniques can help optimize performance and reduce unnecessary UI updates. Consider the specific data handling requirements of your application and choose the appropriate strategies provided by RxDB.
-
-### Data Synchronization Strategies
-When working with data synchronization between clients and servers, it's important to consider strategies for conflict resolution and handling network failures. RxDB provides plugins and hooks that allow you to customize the replication behavior and implement specific synchronization strategies tailored to your application's needs.
-
-## Conclusion
-RxDB is a powerful database solution for Angular applications, offering reactive data handling, offline-first capabilities, and seamless data synchronization. By integrating RxDB into your Angular application, you can build responsive and scalable web applications that provide a rich user experience. Whether you're building real-time collaborative apps, progressive web applications, or offline-capable applications, RxDB's features and techniques make it a valuable addition to your Angular development toolkit.
-
-## Follow Up
-To explore more about RxDB and leverage its capabilities for browser database development, check out the following resources:
-
-- [RxDB GitHub Repository](https://github.com/pubkey/rxdb): Visit the official GitHub repository of RxDB to access the source code, documentation, and community support.
-- [RxDB Quickstart](../quickstart.md): Get started quickly with RxDB by following the provided quickstart guide, which provides step-by-step instructions for setting up and using RxDB in your projects.
-- [RxDB Angular Example at GitHub](https://github.com/pubkey/rxdb/tree/master/examples/angular)
diff --git a/docs/articles/angular-indexeddb.html b/docs/articles/angular-indexeddb.html
deleted file mode 100644
index eb6ad5ccfe5..00000000000
--- a/docs/articles/angular-indexeddb.html
+++ /dev/null
@@ -1,269 +0,0 @@
-
-
-
-
-
-Build Smarter Offline-First Angular Apps - How RxDB Beats IndexedDB Alone | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Build Smarter Offline-First Angular Apps: How RxDB Beats IndexedDB Alone
-
In modern web applications, offline capabilities and fast interactions are crucial. IndexedDB, the browser's built-in database, allows you to store data locally, making your Angular application more robust and responsive. However, IndexedDB can be cumbersome to work with directly. That's where RxDB (Reactive Database) shines. In this article, we'll walk you through how to utilize IndexedDB in your Angular project using RxDB as a convenient abstraction layer.
IndexedDB is a low-level JavaScript API for client-side storage of large amounts of structured data. It allows you to create key-value or object store-based data storage right in the user's browser. IndexedDB supports transactions and indexing but lacks a robust query API and can be complex to use due to its callback-based nature.
Offline-First/Local-First: If your app needs to function with limited or no internet connectivity, IndexedDB provides a reliable local storage layer. Users can continue using the application offline, and data can sync when the connection is restored.
-
-
-
Performance: Local data access comes with near-zero latency, removing the need for constant server requests and eliminating most loading spinners.
-
-
-
Easier to Implement: By replicating all necessary data to the client once, you avoid implementing numerous backend endpoints for each user interaction.
-
-
-
Scalability: Local data queries remove processing load from your servers and reduce bandwidth usage by handling queries on the client side.
Despite the advantages, directly working with IndexedDB has several drawbacks:
-
-
-
Callback-Based: IndexedDB was originally designed around a callback-based API, which can be unwieldy compared to modern Promise or RxJS-based flows.
-
-
-
Difficult to Implement: IndexedDB is often described as a "low-level" API. It's more suitable for library authors rather than application developers who simply need a robust local store.
-
-
-
Rudimentary Query API: Complex or dynamic queries are cumbersome with IndexedDB's basic get/put approach and limited indexes.
-
-
-
TypeScript Support: Maintaining strong TypeScript types for all document structures is not straightforward with IndexedDB's untyped object stores.
-
-
-
No Observable API: IndexedDB cannot directly emit live data changes. With RxDB, you can subscribe to changes on a collection or even a single document field.
-
-
-
Cross-Tab Synchronization: Handling concurrent data changes across multiple browser tabs is difficult in IndexedDB. RxDB has built-in multi-tab support that keeps all tabs in sync.
-
-
-
Advanced Features Missing: IndexedDB lacks built-in support for encryption, compression, or other advanced data management features.
-
-
-
Browser-Only: IndexedDB works in the browser but not in environments like React Native or Electron. RxDB offers storage adapters to seamlessly reuse the same code on different platforms.
RxDB creates RxJS observables outside of Angular's zone, meaning Angular won't automatically trigger change detection when new data arrives. You must patch RxJS with zone.js:
-
//> app.component.ts
-/**
- * IMPORTANT: RxDB creates rxjs observables outside of Angular's zone
- * So you have to import the rxjs patch to ensure change detection works correctly.
- * @link https://www.bennadel.com/blog/3448-binding-rxjs-observable-sources-outside-of-the-ngzone-in-angular-6-0-2.htm
- */
-import 'zone.js/plugins/zone-patch-rxjs';
RxDB supports multiple storage options. The free and simple approach is using the localstorage-based storage. For higher performance, there's a premium plain IndexedDB storage.
import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-export async function initDB() {
- // Create a database
- const db = await createRxDatabase({
- name: 'heroesdb', // the name of the database
- storage: getRxStorageLocalstorage()
- });
-
- // Add collections
- await db.addCollections({
- heroes: {
- schema: heroSchema
- }
- });
-
- return db;
-}
-
It's recommended to encapsulate database creation logic in an Angular service, such as in a DatabaseService. A full example is available in RxDB's Angular example.
A key benefit of RxDB is reactivity. You can subscribe to changes and have your UI automatically reflect updates in real time even across browser tabs.
Angular Signals are a newer approach for reactivity. RxDB supports them via a custom reactivity factory. You can convert RxJS Observables to Signals using Angular's toSignal:
A comprehensive example of RxDB in an Angular application is available in the RxDB GitHub repository. It demonstrates database creation, queries, and Angular integration using best practices.
Beyond simple CRUD and local data storage, RxDB supports:
-
-
-
Replication: Sync your local data with a remote database. Learn more at RxDB Replication.
-
-
-
Data Migration on Schema Changes: RxDB supports automatic or manual schema migrations to manage backward-compatibility and evolve your data structure. See RxDB Migration.
-
-
-
Encryption: Easily encrypt sensitive data at rest. See RxDB Encryption.
-
-
-
Compression: Reduce storage and bandwidth usage using key compression. Learn more at RxDB Key Compression.
Continue your deep dive into RxDB with official quickstart guides and star the repository on GitHub to stay updated.
-
-
-
RxDB Quickstart: Get started quickly with the RxDB Quickstart.
-
-
-
RxDB GitHub: Explore the source, open issues, and star ⭐ the project at RxDB GitHub Repo.
-
-
-
By combining IndexedDB's local storage with RxDB's powerful features, you can build performant, robust, and offline-capable Angular applications. RxDB takes care of the lower-level complexities, letting you focus on delivering a great user experience-online or off.
-
-
\ No newline at end of file
diff --git a/docs/articles/angular-indexeddb.md b/docs/articles/angular-indexeddb.md
deleted file mode 100644
index c2d58889f2b..00000000000
--- a/docs/articles/angular-indexeddb.md
+++ /dev/null
@@ -1,310 +0,0 @@
-# Build Smarter Offline-First Angular Apps - How RxDB Beats IndexedDB Alone
-
-> Discover how to harness IndexedDB in Angular with RxDB for robust offline apps. Learn reactive queries, advanced features, and more.
-
-import {Tabs} from '@site/src/components/tabs';
-import {Steps} from '@site/src/components/steps';
-
-# Build Smarter Offline-First Angular Apps: How RxDB Beats IndexedDB Alone
-
-In modern web applications, offline capabilities and fast interactions are crucial. IndexedDB, the [browser](./browser-database.md)'s built-in database, allows you to store data locally, making your Angular application more robust and responsive. However, IndexedDB can be cumbersome to work with directly. That's where RxDB (Reactive Database) shines. In this article, we'll walk you through how to utilize IndexedDB in your Angular project using [RxDB](https://rxdb.info/) as a convenient abstraction layer.
-
-## What Is IndexedDB?
-[IndexedDB](https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API) is a low-level JavaScript API for client-side storage of large amounts of structured data. It allows you to create key-value or object store-based data storage right in the user's browser. IndexedDB supports transactions and indexing but lacks a robust query API and can be complex to use due to its callback-based nature.
-
-
-
-
-
-## Why Use IndexedDB in Angular
-
-- [Offline-First](../offline-first.md)/[Local-First](./local-first-future.md): If your app needs to function with limited or no internet connectivity, IndexedDB provides a reliable local storage layer. Users can continue using the application offline, and data can sync when the connection is restored.
-
-- **Performance**: Local data access comes with [near-zero latency](./zero-latency-local-first.md), removing the need for constant server requests and eliminating most loading spinners.
-
-- **Easier to Implement**: By replicating all necessary data to the client once, you avoid implementing numerous backend endpoints for each user interaction.
-
-- **Scalability**: Local data queries remove processing load from your servers and reduce bandwidth usage by handling queries on the client side.
-
-## Why Using Plain IndexedDB is a Problem
-
-Despite the advantages, directly working with IndexedDB has several drawbacks:
-
-- **Callback-Based**: IndexedDB was originally designed around a callback-based API, which can be unwieldy compared to modern Promise or RxJS-based flows.
-
-- **Difficult to Implement**: IndexedDB is often described as a "low-level" API. It's more suitable for library authors rather than application developers who simply need a robust local store.
-
-- **Rudimentary Query API**: Complex or dynamic queries are cumbersome with IndexedDB's basic get/put approach and limited indexes.
-
-- **TypeScript Support**: Maintaining strong TypeScript types for all document structures is not straightforward with IndexedDB's untyped object stores.
-
-- **No Observable API**: IndexedDB cannot directly emit live data changes. With RxDB, you can subscribe to changes on a collection or even a single document field.
-
-- **Cross-Tab Synchronization**: Handling concurrent data changes across multiple browser tabs is difficult in IndexedDB. RxDB has built-in multi-tab support that keeps all tabs in sync.
-
-- **Advanced Features Missing**: IndexedDB lacks built-in support for encryption, compression, or other advanced data management features.
-
-- **Browser-Only**: IndexedDB works in the browser but not in environments like React Native or Electron. RxDB offers storage adapters to seamlessly reuse the same code on different platforms.
-
-
-
-
-
-
-
-## Set Up RxDB in Angular
-
-### Installing RxDB
-
-You can [install RxDB](../install.md) into your Angular application via npm:
-
-```bash
-npm install rxdb --save
-```
-
-### Patch Change Detection with zone.js
-
-RxDB creates RxJS observables outside of Angular's zone, meaning Angular won't automatically trigger change detection when new data arrives. You must patch RxJS with zone.js:
-
-```ts
-//> app.component.ts
-/**
- * IMPORTANT: RxDB creates rxjs observables outside of Angular's zone
- * So you have to import the rxjs patch to ensure change detection works correctly.
- * @link https://www.bennadel.com/blog/3448-binding-rxjs-observable-sources-outside-of-the-ngzone-in-angular-6-0-2.htm
- */
-import 'zone.js/plugins/zone-patch-rxjs';
-```
-
-### Create a Database and Collections
-
-RxDB supports multiple storage options. The free and simple approach is using the [localstorage-based](../rx-storage-localstorage.md) storage. For higher performance, there's a premium plain [IndexedDB storage](../rx-storage-indexeddb.md).
-
-```ts
-import { createRxDatabase } from 'rxdb/plugins/core';
-
-// Define your schema
-const heroSchema = {
- title: 'hero schema',
- version: 0,
- description: 'Describes a hero in your app',
- primaryKey: 'id',
- type: 'object',
- properties: {
- id: {
- type: 'string',
- maxLength: 100
- },
- name: {
- type: 'string'
- },
- power: {
- type: 'string'
- }
- },
- required: ['id', 'name']
-};
-```
-
-
-
-### Localstorage
-
-```ts
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-export async function initDB() {
- // Create a database
- const db = await createRxDatabase({
- name: 'heroesdb', // the name of the database
- storage: getRxStorageLocalstorage()
- });
-
- // Add collections
- await db.addCollections({
- heroes: {
- schema: heroSchema
- }
- });
-
- return db;
-}
-```
-
-### IndexedDB
-
-```ts
-import { getRxStorageIndexedDB } from 'rxdb-premium/plugins/storage-indexeddb';
-export async function initDB() {
- // Create a database
- const db = await createRxDatabase({
- name: 'heroesdb', // the name of the database
- storage: getRxStorageIndexedDB()
- });
-
- // Add collections
- await db.addCollections({
- heroes: {
- schema: heroSchema
- }
- });
-
- return db;
-}
-```
-
-
-
-It's recommended to encapsulate database creation logic in an Angular service, such as in a DatabaseService. A full example is available in [RxDB's Angular example](https://github.com/pubkey/rxdb/blob/master/examples/angular/src/app/services/database.service.ts).
-
-### CRUD Operations
-
-Once your database is initialized, you can perform all CRUD operations:
-
-```ts
-// insert
-await db.heroes.insert({ name: 'Iron Man', power: 'Genius-level intellect' });
-
-// bulk insert
-await db.heroes.bulkInsert([
- { name: 'Thor', power: 'God of Thunder' },
- { name: 'Hulk', power: 'Superhuman Strength' }
-]);
-
-// find and findOne
-const heroes = await db.heroes.find().exec();
-const ironMan = await db.heroes.findOne({ selector: { name: 'Iron Man' } }).exec();
-
-// update
-const doc = await db.heroes.findOne({ selector: { name: 'Hulk' } }).exec();
-await doc.update({ $set: { power: 'Unlimited Strength' } });
-
-// delete
-const doc = await db.heroes.findOne({ selector: { name: 'Thor' } }).exec();
-await doc.remove();
-```
-
-## Reactive Queries and Live Updates
-
-A key benefit of RxDB is reactivity. You can subscribe to changes and have your UI automatically reflect updates in [real time](./realtime-database.md) even across browser tabs.
-
-
-
-### With RxJS Observables and Async Pipes
-
-In Angular, you can display this data with the `AsyncPipe`:
-
-```ts
-constructor(private dbService: DatabaseService) {
- this.heroes$ = this.dbService.db.heroes.find({
- selector: {},
- sort: [{ name: 'asc' }]
- }).$;
-}
-```
-
-```html
-
-
- {{ hero.name }}
-
-
-```
-
-### With Angular Signals
-
-Angular Signals are a newer approach for reactivity. RxDB supports them via a [custom reactivity](../reactivity.md) factory. You can convert RxJS Observables to Signals using Angular's `toSignal`:
-
-```ts
-import { RxReactivityFactory } from 'rxdb/plugins/core';
-import { Signal, untracked, Injector } from '@angular/core';
-import { toSignal } from '@angular/core/rxjs-interop';
-
-export function createReactivityFactory(injector: Injector): RxReactivityFactory> {
- return {
- fromObservable(observable$, initialValue) {
- return untracked(() =>
- toSignal(observable$, {
- initialValue,
- injector,
- rejectErrors: true
- })
- );
- }
- };
-}
-```
-
-Pass this factory when creating your [RxDatabase](../rx-database.md):
-
-```ts
-import { createRxDatabase } from 'rxdb/plugins/core';
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-import { inject, Injector } from '@angular/core';
-
-const database = await createRxDatabase({
- name: 'mydb',
- storage: getRxStorageLocalstorage(),
- reactivity: createReactivityFactory(inject(Injector))
-});
-```
-
-Use the double-dollar sign (`$$`) to get a `Signal` instead of an `Observable`:
-
-```ts
-const heroesSignal = database.heroes.find().$$;
-```
-
-```html
-
-
- {{ hero.name }}
-
-
-```
-
-## Angular IndexedDB Example with RxDB
-
-A comprehensive example of RxDB in an Angular application is available in the [RxDB GitHub repository](https://github.com/pubkey/rxdb/tree/master/examples/angular). It demonstrates [database](./angular-database.md) creation, queries, and Angular integration using best practices.
-
-## Advanced RxDB Features
-
-Beyond simple CRUD and local data storage, RxDB supports:
-
-- **Replication**: Sync your local data with a remote database. Learn more at [RxDB Replication](https://rxdb.info/replication.html).
-
-- **Data Migration on Schema Changes**: RxDB supports automatic or manual schema migrations to manage backward-compatibility and evolve your data structure. See [RxDB Migration](https://rxdb.info/migration-schema.html).
-
-- **Encryption**: Easily encrypt sensitive data at rest. See [RxDB Encryption](https://rxdb.info/encryption.html).
-
-- **Compression**: Reduce storage and bandwidth usage using key compression. Learn more at [RxDB Key Compression](https://rxdb.info/key-compression.html).
-
-## Limitations of IndexedDB
-
-While IndexedDB works well for many use cases, it does have a few constraints:
-
-- **Potentially Slow**: While adequate for most use cases, IndexedDB performance can degrade for very large datasets. More details at RxDB [Slow IndexedDB](../slow-indexeddb.md).
-
-- **Storage Limits**: Browsers may cap the amount of data you can store in IndexedDB. For more info, see [Local Storage Limits of IndexedDB](./indexeddb-max-storage-limit.md).
-
-## Alternatives to IndexedDB
-
-Depending on your needs, you might explore:
-
-- **Origin Private File System (OPFS)**: A newer browser storage mechanism that can offer better performance. RxDB supports [OPFS storage](../rx-storage-opfs.md).
-
-- **SQLite**: When building a mobile or hybrid app (e.g., with [Capacitor](../capacitor-database.md) or [Ionic](./ionic-database.md)), you can use SQLite locally. See [RxDB with SQLite](../rx-storage-sqlite.md).
-
-## Performance comparison with other browser storages
-Here is a [performance overview](../rx-storage-performance.md) of the various browser based storage implementation of RxDB:
-
-
-
-## Follow Up
-
-Continue your deep dive into RxDB with official quickstart guides and star the repository on GitHub to stay updated.
-
-- **RxDB Quickstart**: Get started quickly with the [RxDB Quickstart](../quickstart.md).
-
-- **RxDB GitHub**: Explore the source, open issues, and star ⭐ the project at [RxDB GitHub Repo](https://github.com/pubkey/rxdb).
-
-By combining IndexedDB's local storage with RxDB's powerful features, you can build performant, robust, and offline-capable Angular applications. RxDB takes care of the lower-level complexities, letting you focus on delivering a great user experience-online or off.
diff --git a/docs/articles/browser-database.html b/docs/articles/browser-database.html
deleted file mode 100644
index 5dad75ae1d4..00000000000
--- a/docs/articles/browser-database.html
+++ /dev/null
@@ -1,116 +0,0 @@
-
-
-
-
-
-Benefits of RxDB & Browser Databases | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
In the world of web development, efficient data management is a cornerstone of building successful and performant applications. The ability to store data directly in the browser brings numerous advantages, such as caching, offline accessibility, simplified replication of database state, and real-time application development. In this article, we will explore RxDB, a powerful browser JavaScript database, and understand why it is an excellent choice for implementing a browser database solution.
By leveraging a browser database, you can harness the power of caching. Storing frequently accessed data locally enables you to reduce server requests and greatly improve application performance. Caching provides a faster and smoother user experience, enhancing overall user satisfaction.
Storing data in the browser allows for offline accessibility. Regardless of an active internet connection, users can access and interact with the application, ensuring uninterrupted productivity and user engagement.
-
Easier implementation of replicating database state
-
Browser databases simplify the replication of database state across multiple devices or instances of the application. Compared to complex REST routes, replicating data becomes easier and more streamlined. This capability enables the development of real-time and collaborative applications, where changes are seamlessly synchronized among users.
-
Building real-time applications is easier with local data
-
With a local browser database, building real-time applications becomes more straightforward. The availability of local data allows for reactive data flows and dynamic user interfaces that instantly reflect changes in the underlying data. Real-time features can be seamlessly implemented, providing a rich and interactive user experience.
Browser databases distribute the query workload to users' devices, allowing queries to run locally instead of relying solely on server resources. This decentralized approach improves scalability by reducing the burden on the server, resulting in a more efficient and responsive application.
Browser databases offer the advantage of running queries locally, resulting in low latency. Eliminating the need for server round-trips significantly improves query performance, ensuring faster data retrieval and a more responsive application.
Storing data in the browser reduces the initial application start time. Instead of waiting for data to be fetched from the server, the application can leverage the local database, resulting in faster initialization and improved user satisfaction right from the start.
Browser databases, including RxDB, seamlessly integrate with popular JavaScript frameworks such as Angular, React.js, Vue.js, and Svelte. This integration allows developers to leverage the power of a database while working within the familiar environment of their preferred framework, enhancing productivity and ease of development.
Security is a crucial aspect of data storage, especially when handling sensitive information. Browser databases, like RxDB, offer the capability to store local data with encryption, ensuring the confidentiality and protection of sensitive user data.
Utilizing a local browser database for state management eliminates the need for traditional state management libraries like Redux or NgRx. This approach simplifies the application's architecture by leveraging the database's capabilities to handle state-related operations efficiently.
-
Data is portable and always accessible by the user
-
When data is stored in the browser, it becomes portable and always accessible by the user. This ensures that users have control and ownership of their data, enhancing data privacy and accessibility.
-
Why SQL databases like SQLite are not a good fit for the browser
-
While SQL databases, such as SQLite, excel in server-side scenarios, they are not always the optimal choice for browser-based applications. Here are some reasons why SQL databases may not be the best fit for the browser:
SQL databases typically rely on a push/pull mechanism, where the server pushes updates to the client or the client pulls data from the server. This approach is not inherently reactive and requires additional effort to implement real-time data updates. In contrast, browser databases like RxDB provide built-in reactive mechanisms, allowing the application to react to data changes seamlessly.
Server-side databases, designed to handle large-scale applications, often have significant build sizes that are unsuitable for browser applications. In contrast, browser databases are specifically optimized for browser environments and leverage browser APIs like IndexedDB, OPFS, and Webworker, resulting in smaller build sizes.
The initialization time and performance of server-side databases can be suboptimal in browser applications. Browser databases, on the other hand, are designed to provide fast initialization and efficient performance within the browser environment, ensuring a smooth user experience.
RxDB stands out as an excellent choice for implementing a browser database solution. Here's why RxDB is a perfect fit for browser applications:
-
Observable Queries (rxjs) to automatically update the UI on changes
-
RxDB provides Observable Queries, powered by RxJS, enabling automatic UI updates when data changes occur. This reactive approach eliminates the need for manual data synchronization and ensures a real-time and responsive user interface.
RxDB utilizes NoSQL JSON documents, which align naturally with UI development in JavaScript. JavaScript's native handling of JSON objects makes working with NoSQL documents more intuitive, simplifying UI-related operations.
-
NoSQL has better TypeScript support compared to SQL
-
TypeScript is widely used in modern JavaScript development. NoSQL databases, including RxDB, offer excellent TypeScript support, making it easier to build type-safe applications and leverage the benefits of static typing.
RxDB allows observing individual document fields, providing granular reactivity. This feature enables efficient tracking of specific data changes and fine-grained UI updates, optimizing performance and responsiveness.
-
Made in JavaScript, optimized for JavaScript applications
-
RxDB is built entirely in JavaScript, optimized for JavaScript applications. This ensures seamless integration with JavaScript codebases and maximizes performance within the browser environment.
-
Optimized observed queries with the EventReduce Algorithm
-
RxDB employs the EventReduce Algorithm to optimize observed queries. This algorithm intelligently reduces unnecessary data transmissions, resulting in efficient query execution and improved performance.
RxDB natively supports multi-tab applications, allowing data synchronization and replication across different tabs or instances of the same application. This feature ensures consistent data across the application and enhances collaboration and real-time experiences.
RxDB excels in handling schema changes, even when data is stored on multiple client devices. It provides mechanisms to handle schema migrations seamlessly, ensuring data integrity and compatibility as the application evolves.
To optimize storage space, RxDB allows the compression of documents. Storing compressed documents reduces storage requirements and improves overall performance, especially in scenarios with large data volumes.
RxDB offers a flexible storage layer, enabling code reuse across different platforms, including Electron.js, React Native, hybrid apps (e.g., Capacitor.js), and web browsers. This flexibility streamlines development efforts and ensures consistent data management across multiple platforms.
-
Replication Algorithm for compatibility with any backend
-
RxDB incorporates a Replication Algorithm that is open-source and can be made compatible with various backend systems. This compatibility allows seamless data synchronization with different backend architectures, such as own servers, Firebase, CouchDB, NATS or WebSocket.
To explore more about RxDB and leverage its capabilities for browser database development, check out the following resources:
-
-
RxDB GitHub Repository: Visit the official GitHub repository of RxDB to access the source code, documentation, and community support.
-
RxDB Quickstart: Get started quickly with RxDB by following the provided quickstart guide, which provides step-by-step instructions for setting up and using RxDB in your projects.
-
-
RxDB empowers developers to unlock the power of browser databases, enabling efficient data management, real-time applications, and enhanced user experiences. By leveraging RxDB's features and benefits, you can take your browser-based applications to the next level of performance, scalability, and responsiveness.
-
-
\ No newline at end of file
diff --git a/docs/articles/browser-database.md b/docs/articles/browser-database.md
deleted file mode 100644
index a2cd370ea77..00000000000
--- a/docs/articles/browser-database.md
+++ /dev/null
@@ -1,121 +0,0 @@
-# Benefits of RxDB & Browser Databases
-
-> Find out why RxDB is the go-to solution for browser databases. See how it boosts performance, simplifies replication, and powers real-time UIs.
-
-# RxDB: The benefits of Browser Databases
-In the world of web development, efficient data management is a cornerstone of building successful and performant applications. The ability to store data directly in the browser brings numerous advantages, such as caching, offline accessibility, simplified replication of database state, and real-time application development. In this article, we will explore [RxDB](https://rxdb.info/), a powerful browser JavaScript database, and understand why it is an excellent choice for implementing a browser database solution.
-
-
-
-
-
-
-
-## Why you might want to store data in the browser
-There are compelling reasons to consider storing data in the browser:
-
-### Use the database for caching
-By leveraging a browser database, you can harness the power of caching. Storing frequently accessed data locally enables you to reduce server requests and greatly improve application performance. Caching provides a faster and smoother user experience, enhancing overall user satisfaction.
-
-### Data is offline accessible
-Storing data in the browser allows for offline accessibility. Regardless of an active internet connection, users can access and interact with the application, ensuring uninterrupted productivity and user engagement.
-
-### Easier implementation of replicating database state
-Browser databases simplify the replication of database state across multiple devices or instances of the application. Compared to complex REST routes, replicating data becomes easier and more streamlined. This capability enables the development of real-time and collaborative applications, where changes are seamlessly synchronized among users.
-
-### Building real-time applications is easier with local data
-With a local browser database, building real-time applications becomes more straightforward. The availability of local data allows for reactive data flows and dynamic user interfaces that instantly reflect changes in the underlying data. Real-time features can be seamlessly implemented, providing a rich and interactive user experience.
-
-### Browser databases can scale better
-Browser databases distribute the query workload to users' devices, allowing queries to run locally instead of relying solely on server resources. This decentralized approach improves scalability by reducing the burden on the server, resulting in a more efficient and responsive application.
-
-### Running queries locally has low latency
-Browser databases offer the advantage of running queries locally, resulting in low latency. Eliminating the need for server round-trips significantly improves query performance, ensuring faster data retrieval and a more responsive application.
-
-### Faster initial application start time
-Storing data in the browser reduces the initial application start time. Instead of waiting for data to be fetched from the server, the application can leverage the [local database](./local-database.md), resulting in faster initialization and improved user satisfaction right from the start.
-
-### Easier integration with JavaScript frameworks
-Browser databases, including [RxDB](https://rxdb.info/), seamlessly integrate with popular JavaScript frameworks such as [Angular](./angular-database.md), [React.js](./react-database.md), [Vue.js](./vue-database.md), and Svelte. This integration allows developers to leverage the power of a database while working within the familiar environment of their preferred framework, enhancing productivity and ease of development.
-
-### Store local data with encryption
-Security is a crucial aspect of data storage, especially when handling sensitive information. Browser databases, like RxDB, offer the capability to store local data with encryption, ensuring the confidentiality and protection of sensitive user data.
-
-### Using a local database for state management
-Utilizing a local browser database for state management eliminates the need for traditional state management libraries like Redux or NgRx. This approach simplifies the application's architecture by leveraging the database's capabilities to handle state-related operations efficiently.
-
-### Data is portable and always accessible by the user
-When data is stored in the browser, it becomes portable and always accessible by the user. This ensures that users have control and ownership of their data, enhancing data privacy and accessibility.
-
-## Why SQL databases like SQLite are not a good fit for the browser
-While SQL databases, such as SQLite, excel in server-side scenarios, they are not always the optimal choice for browser-based applications. Here are some reasons why SQL databases may not be the best fit for the browser:
-
-### Push/Pull based vs. reactive
-SQL databases typically rely on a push/pull mechanism, where the server pushes updates to the client or the client pulls data from the server. This approach is not inherently reactive and requires additional effort to implement real-time data updates. In contrast, browser databases like [RxDB](https://rxdb.info/) provide built-in reactive mechanisms, allowing the application to react to data changes seamlessly.
-
-### Build size of server-side databases
-Server-side databases, designed to handle large-scale applications, often have significant build sizes that are unsuitable for browser applications. In contrast, browser databases are specifically optimized for browser environments and leverage browser APIs like [IndexedDB](../rx-storage-indexeddb.md), [OPFS](../rx-storage-opfs.md), and [Webworker](../rx-storage-worker.md), resulting in smaller build sizes.
-
-### Initialization time and performance
-The initialization time and performance of server-side databases can be suboptimal in browser applications. Browser databases, on the other hand, are designed to provide fast initialization and efficient performance within the browser environment, ensuring a smooth user experience.
-
-## Why RxDB is a good fit for the browser
-RxDB stands out as an excellent choice for implementing a browser database solution. Here's why RxDB is a perfect fit for browser applications:
-
-### Observable Queries (rxjs) to automatically update the UI on changes
-RxDB provides Observable Queries, powered by RxJS, enabling automatic UI updates when data changes occur. This reactive approach eliminates the need for manual data synchronization and ensures a real-time and responsive user interface.
-
-```typescript
-const query = myCollection.find({
- selector: {
- age: {
- $gt: 21
- }
- }
-});
-const querySub = query.$.subscribe(results => {
- console.log('got results: ' + results.length);
-});
-```
-
-### NoSQL [JSON](./json-database.md) documents are a better fit for UIs
-RxDB utilizes NoSQL [JSON documents](./json-database.md), which align naturally with UI development in JavaScript. JavaScript's native handling of JSON objects makes working with NoSQL documents more intuitive, simplifying UI-related operations.
-
-### NoSQL has better TypeScript support compared to SQL
-TypeScript is widely used in modern JavaScript development. [NoSQL databases](./in-memory-nosql-database.md), including RxDB, offer excellent TypeScript support, making it easier to build type-safe applications and leverage the benefits of static typing.
-
-### Observable document fields
-RxDB allows observing individual document fields, providing granular reactivity. This feature enables efficient tracking of specific data changes and fine-grained UI updates, optimizing performance and responsiveness.
-
-### Made in JavaScript, optimized for JavaScript applications
-RxDB is built entirely in JavaScript, optimized for JavaScript applications. This ensures seamless integration with JavaScript codebases and maximizes performance within the browser environment.
-
-### Optimized observed queries with the EventReduce Algorithm
-RxDB employs the EventReduce Algorithm to optimize observed queries. This algorithm intelligently reduces unnecessary data transmissions, resulting in efficient query execution and improved performance.
-
-### Built-in multi-tab support
-RxDB natively supports multi-tab applications, allowing data synchronization and replication across different tabs or instances of the same application. This feature ensures consistent data across the application and enhances collaboration and real-time experiences.
-
-
-
-### Handling of schema changes
-RxDB excels in handling schema changes, even when data is stored on multiple client devices. It provides mechanisms to handle schema migrations seamlessly, ensuring data integrity and compatibility as the application evolves.
-
-### Storing documents compressed
-To optimize [storage](./browser-storage.md) space, RxDB allows the [compression](../key-compression.md) of documents. Storing compressed documents reduces storage requirements and improves overall performance, especially in scenarios with large data volumes.
-
-### Flexible storage layer for various platforms
-RxDB offers a flexible storage layer, enabling code reuse across different platforms, including [Electron.js](../electron-database.md), React Native, hybrid apps (e.g., Capacitor.js), and web browsers. This flexibility streamlines development efforts and ensures consistent data management across multiple platforms.
-
-### Replication Algorithm for compatibility with any backend
-RxDB incorporates a [Replication Algorithm](../replication.md) that is open-source and can be made compatible with various backend systems. This compatibility allows seamless data synchronization with different backend architectures, such as own servers, [Firebase](../replication-firestore.md), [CouchDB](../replication-couchdb.md), [NATS](../replication-nats.md) or [WebSocket](../replication-websocket.md).
-
-
-
-## Follow Up
-To explore more about RxDB and leverage its capabilities for browser database development, check out the following resources:
-
-- [RxDB GitHub Repository](https://github.com/pubkey/rxdb): Visit the official GitHub repository of RxDB to access the source code, documentation, and community support.
-- [RxDB Quickstart](../quickstart.md): Get started quickly with RxDB by following the provided quickstart guide, which provides step-by-step instructions for setting up and using RxDB in your projects.
-
-[RxDB](https://rxdb.info/) empowers developers to unlock the power of browser databases, enabling efficient data management, real-time applications, and enhanced user experiences. By leveraging RxDB's features and benefits, you can take your browser-based applications to the next level of performance, scalability, and responsiveness.
diff --git a/docs/articles/browser-storage.html b/docs/articles/browser-storage.html
deleted file mode 100644
index 8bf1f043583..00000000000
--- a/docs/articles/browser-storage.html
+++ /dev/null
@@ -1,138 +0,0 @@
-
-
-
-
-
-Browser Storage - RxDB as a Database for Browsers | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
When it comes to building web applications, one essential aspect is the storage of data. Two common methods of storing data directly within the user's web browser are Localstorage and IndexedDB. These browser-based storage options serve various purposes and cater to different needs in web development.
Localstorage is a straightforward way to store small amounts of data in the user's web browser. It operates on a simple key-value basis and is relatively easy to use. While it has limitations, it is suitable for basic data storage requirements.
IndexedDB, on the other hand, offers a more robust and structured approach to browser-based data storage. It can handle larger datasets and complex queries, making it a valuable choice for more advanced web applications.
Now that we've explored the methods of storing data in the browser, let's delve into why this is a beneficial strategy for web developers:
-
-
-
Caching:
-Storing data in the browser allows you to cache frequently used information. This means that your web application can access essential data more quickly because it doesn't need to repeatedly fetch it from a server. This results in a smoother and more responsive user experience.
-
-
-
Offline Access:
-One significant advantage of browser storage is that data becomes portable and remains accessible even when the user is offline. This feature ensures that users can continue to use your application, view their saved information, and make changes, irrespective of their internet connection status.
-
-
-
Faster Real-time Applications:
-For real-time applications, having data stored locally in the browser significantly enhances performance. Local data allows your application to respond faster to user interactions, creating a more seamless and responsive user interface.
-
-
-
Low Latency Queries:
-When you run queries locally within the browser, you minimize the latency associated with network requests. This results in near-instant access to data, which is particularly crucial for applications that require rapid data retrieval.
-
-
-
Faster Initial Application Start Time:
-By preloading essential data into browser storage, you can reduce the initial load time of your web application. Users can start using your application more swiftly, which is essential for making a positive first impression.
-
-
-
Store Local Data with Encryption:
-For applications that deal with sensitive data, browser storage allows you to implement encryption to secure the stored information. This ensures that even if data is stored on the user's device, it remains confidential and protected.
-
-
-
In summary, storing data in the browser offers several advantages, including improved performance, offline access, and enhanced user experiences. Localstorage and IndexedDB are two valuable tools that developers can utilize to leverage these benefits and create web applications that are more responsive and user-friendly.
While browser storage, such as Localstorage and IndexedDB, offers many advantages, it's important to be aware of its limitations:
-
-
-
Slower Performance Compared to Native Databases: Browser-based storage solutions can't match the performance of native server-side databases. They may experience slower data retrieval and processing, especially for large datasets or complex operations.
-
-
-
Storage Space Limitations: Browsers impose restrictions on the amount of data that can be stored locally. This limitation can be problematic for applications with extensive data storage requirements, potentially necessitating creative solutions to manage data effectively.
-
-
-
Why SQL Databases Like SQLite Aren't a Good Fit for the Browser
-
SQL databases like SQLite, while powerful in server environments, may not be the best choice for browser-based applications due to various reasons:
SQL databases often use a push/pull model for data synchronization. This approach is less reactive and may not align well with the real-time nature of web applications, where immediate updates to the user interface are crucial.
Server-side databases like SQLite have a significant build size, which can increase the initial load time of web applications. This can result in a suboptimal user experience, particularly for users with slower internet connections.
SQL databases are optimized for server environments, and their initialization processes and performance characteristics may not align with the needs of web applications. They might not offer the swift performance required for seamless user interactions.
RxDB offers a flexible storage layer that can seamlessly integrate with different platforms, making it versatile and adaptable to various application needs.
NoSQL JSON documents, used by RxDB, are well-suited for user interfaces. They provide a natural and efficient way to structure and display data in web applications.
-
NoSQL Has Better TypeScript Support Compared to SQL
-
RxDB boasts robust TypeScript support, which is beneficial for developers who prefer type safety and code predictability in their projects.
RxDB enables developers to observe individual document fields, offering fine-grained control over data tracking and updates.
-
Made in JavaScript, Optimized for JavaScript Applications
-
Being built in JavaScript and optimized for JavaScript applications, RxDB seamlessly integrates into web development stacks, minimizing compatibility issues.
-
Observable Queries (rxjs) to Automatically Update the UI on Changes
-
RxDB's support for Observable Queries allows the user interface to update automatically in real-time when data changes. This reactivity enhances the user experience and simplifies UI development.
Efficient data storage is achieved through document compression, reducing storage space requirements and enhancing overall performance.
-
Replication Algorithm for Compatibility with Any Backend
-
RxDB's Replication Algorithm facilitates compatibility with various backend systems, ensuring seamless data synchronization between the browser and server.
In conclusion, RxDB is a powerful and feature-rich solution for browser-based storage. Its adaptability, real-time capabilities, TypeScript support, and optimization for JavaScript applications make it an ideal choice for modern web development projects, addressing the limitations of traditional SQL databases in the browser. Developers can harness RxDB to create efficient, responsive, and user-friendly web applications that leverage the full potential of browser storage.
To explore more about RxDB and leverage its capabilities for browser storage, check out the following resources:
-
-
RxDB GitHub Repository: Visit the official GitHub repository of RxDB to access the source code, documentation, and community support.
-
RxDB Quickstart: Get started quickly with RxDB by following the provided quickstart guide, which provides step-by-step instructions for setting up and using RxDB in your projects.
-
-
\ No newline at end of file
diff --git a/docs/articles/browser-storage.md b/docs/articles/browser-storage.md
deleted file mode 100644
index db698dbb89d..00000000000
--- a/docs/articles/browser-storage.md
+++ /dev/null
@@ -1,132 +0,0 @@
-# Browser Storage - RxDB as a Database for Browsers
-
-> Explore RxDB for browser storage its advantages, limitations, and why it outperforms SQL databases in web applications for enhanced efficiency
-
-# Browser Storage - RxDB as a Database for Browsers
-
-**Storing Data in the Browser**
-
-When it comes to building web applications, one essential aspect is the storage of data. Two common methods of storing data directly within the user's web browser are Localstorage and [IndexedDB](../rx-storage-indexeddb.md). These browser-based storage options serve various purposes and cater to different needs in web development.
-
-
-
-
-
-
-
-### Localstorage
-[Localstorage](./localstorage.md) is a straightforward way to store small amounts of data in the user's web browser. It operates on a simple key-value basis and is relatively easy to use. While it has limitations, it is suitable for basic data storage requirements.
-
-### IndexedDB
-IndexedDB, on the other hand, offers a more robust and structured approach to browser-based data storage. It can handle larger datasets and complex queries, making it a valuable choice for more advanced web applications.
-
-## Why Store Data in the Browser
-Now that we've explored the methods of storing data in the browser, let's delve into why this is a beneficial strategy for web developers:
-
-1. **Caching**:
-Storing data in the browser allows you to cache frequently used information. This means that your web application can access essential data more quickly because it doesn't need to repeatedly fetch it from a server. This results in a smoother and more responsive user experience.
-
-2. **Offline Access**:
-One significant advantage of browser storage is that data becomes portable and remains accessible even when the user is offline. This feature ensures that users can continue to use your application, view their saved information, and make changes, irrespective of their internet connection status.
-
-3. **Faster Real-time Applications**:
-For real-time applications, having data stored locally in the browser significantly enhances performance. Local data allows your application to respond faster to user interactions, creating a more seamless and responsive user interface.
-
-4. **Low Latency Queries**:
-When you run queries locally within the browser, you minimize the latency associated with network requests. This results in near-instant access to data, which is particularly crucial for applications that require rapid data retrieval.
-
-5. **Faster Initial Application Start Time**:
-By preloading essential data into browser storage, you can reduce the initial load time of your web application. Users can start using your application more swiftly, which is essential for making a positive first impression.
-
-6. **Store Local Data with Encryption**:
-For applications that deal with sensitive data, browser storage allows you to implement [encryption](../encryption.md) to secure the stored information. This ensures that even if data is stored on the user's device, it remains confidential and protected.
-
-In summary, storing data in the browser offers several advantages, including improved performance, offline access, and enhanced user experiences. Localstorage and IndexedDB are two valuable tools that developers can utilize to leverage these benefits and create web applications that are more responsive and user-friendly.
-
-## Browser Storage Limitations
-While browser storage, such as Localstorage and IndexedDB, offers many advantages, it's important to be aware of its limitations:
-
-- **Slower Performance Compared to Native Databases**: Browser-based storage solutions can't match the [performance](../rx-storage-performance.md) of native server-side databases. They may experience slower data retrieval and processing, especially for large datasets or complex operations.
-
-- **Storage Space Limitations**: Browsers [impose restrictions on the amount of data that can be stored locally](./indexeddb-max-storage-limit.md). This limitation can be problematic for applications with extensive data storage requirements, potentially necessitating creative solutions to manage data effectively.
-
-## Why SQL Databases Like SQLite Aren't a Good Fit for the Browser
-SQL databases like SQLite, while powerful in server environments, may not be the best choice for browser-based applications due to various reasons:
-
-### Push/Pull Based vs. Reactive
-SQL databases often use a push/pull model for data synchronization. This approach is less reactive and may not align well with the real-time nature of web applications, where immediate updates to the user interface are crucial.
-
-### Build Size of Server-Side Databases
-Server-side databases like SQLite have a significant build size, which can increase the initial load time of web applications. This can result in a suboptimal user experience, particularly for users with slower internet connections.
-
-### Initialization Time and Performance
-SQL databases are optimized for server environments, and their initialization processes and performance characteristics may not align with the needs of web applications. They might not offer the swift performance required for seamless user interactions.
-
-## Why RxDB Is a Good Fit as Browser Storage
-RxDB is an excellent choice for browser-based storage due to its numerous features and advantages:
-
-
-
-
-
-
-
-### Flexible Storage Layer for Various Platforms
-RxDB offers a flexible storage layer that can seamlessly integrate with different platforms, making it versatile and adaptable to various application needs.
-
-### NoSQL JSON Documents Are a Better Fit for UIs
-NoSQL [JSON documents](./json-database.md), used by [RxDB](https://rxdb.info/), are well-suited for user interfaces. They provide a natural and efficient way to structure and display data in web applications.
-
-### NoSQL Has Better TypeScript Support Compared to SQL
-RxDB boasts robust TypeScript support, which is beneficial for developers who prefer type safety and code predictability in their projects.
-
-### Observable Document Fields
-RxDB enables developers to observe individual document fields, offering fine-grained control over data tracking and updates.
-
-### Made in JavaScript, Optimized for JavaScript Applications
-Being built in JavaScript and optimized for JavaScript applications, RxDB seamlessly integrates into web development stacks, minimizing compatibility issues.
-
-### Observable Queries (rxjs) to Automatically Update the UI on Changes
-RxDB's support for Observable Queries allows the user interface to update automatically in real-time when data changes. This reactivity enhances the user experience and simplifies UI development.
-
-```typescript
-const query = myCollection.find({
- selector: {
- age: {
- $gt: 21
- }
- }
-});
-const querySub = query.$.subscribe(results => {
- console.log('got results: ' + results.length);
-});
-```
-
-### Optimized Observed Queries with the EventReduce Algorithm
-RxDB's [EventReduce Algorithm](https://github.com/pubkey/event-reduce) ensures efficient data handling and rendering, improving overall performance and responsiveness.
-
-### Handling of Schema Changes
-RxDB provides built-in support for [handling schema changes](../migration-schema.md), simplifying database management when updates are required.
-
-### Built-In Multi-Tab Support
-For applications requiring multi-tab support, RxDB natively handles data consistency across different browser tabs, streamlining data synchronization.
-
-
-
-### Storing Documents Compressed
-Efficient data storage is achieved through [document compression](../key-compression.md), reducing storage space requirements and enhancing overall performance.
-
-### Replication Algorithm for Compatibility with Any Backend
-RxDB's [Replication Algorithm](../replication.md) facilitates compatibility with various backend systems, ensuring seamless data synchronization between the browser and server.
-
-
-
-## Summary
-
-In conclusion, RxDB is a powerful and feature-rich solution for browser-based storage. Its adaptability, real-time capabilities, TypeScript support, and optimization for JavaScript applications make it an ideal choice for modern web development projects, addressing the limitations of traditional SQL databases in the browser. Developers can harness RxDB to create efficient, responsive, and user-friendly web applications that leverage the full potential of browser storage.
-
-## Follow Up
-To explore more about RxDB and leverage its capabilities for browser storage, check out the following resources:
-
-- [RxDB GitHub Repository](https://github.com/pubkey/rxdb): Visit the official GitHub repository of RxDB to access the source code, documentation, and community support.
-- [RxDB Quickstart](../quickstart.md): Get started quickly with RxDB by following the provided quickstart guide, which provides step-by-step instructions for setting up and using RxDB in your projects.
diff --git a/docs/articles/data-base.html b/docs/articles/data-base.html
deleted file mode 100644
index a041d50ac06..00000000000
--- a/docs/articles/data-base.html
+++ /dev/null
@@ -1,88 +0,0 @@
-
-
-
-
-
-Empower Web Apps with Reactive RxDB Data-base | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
RxDB as a data base: Empowering Web Applications with Reactive Data Handling
-
In the world of web applications, efficient data management plays a crucial role in delivering a seamless user experience. As mobile applications continue to dominate the digital landscape, the importance of robust data bases becomes evident. In this article, we will explore RxDB as a powerful data base solution for web applications. We will delve into its features, advantages, and advanced techniques, highlighting its ability to handle reactive data and enable an offline-first approach.
-
-
Overview of Web Applications that can benefit from RxDB
-
Before diving into the specifics of RxDB, let's take a moment to understand the scope of web applications that can leverage its capabilities. Any web application that requires real-time data updates, offline functionality, and synchronization between clients and servers can greatly benefit from RxDB. Whether it's a collaborative document editing tool, a task management app, or a chat application, RxDB offers a robust foundation for building these types of applications.
Mobile applications have become an integral part of our lives, providing us with instant access to information and services. Behind the scenes, data bases play a pivotal role in storing and managing the data that powers these applications. data bases enable efficient data retrieval, updates, and synchronization, ensuring a smooth user experience even in challenging network conditions.
RxDB, short for Reactive data base, is a client-side data base solution designed specifically for web and mobile applications. Built on the principles of reactive programming, RxDB brings the power of observables and event-driven architecture to data management. With RxDB, developers can create applications that are responsive, offline-ready, and capable of seamless data synchronization between clients and servers.
RxDB is an open-source JavaScript data base that leverages reactive programming and provides a seamless API for handling data. It is built on top of existing popular data base technologies, such as IndexedDB, and adds a layer of reactive features to enable real-time data updates and synchronization.
One of the standout features of RxDB is its reactive data handling. It utilizes observables to provide a stream of data that automatically updates whenever a change occurs. This reactive approach allows developers to build applications that respond instantly to data changes, ensuring a highly interactive and real-time user experience.
RxDB embraces an offline-first approach, enabling applications to work seamlessly even when there is no internet connectivity. It achieves this by caching data locally on the client-side and synchronizing it with the server when the connection is available. This ensures that users can continue working with the application and have their data automatically synchronized when they come back online.
RxDB simplifies the process of data replication between clients and servers. It provides replication plugins that handle the synchronization of data in real-time. These plugins allow applications to keep data consistent across multiple clients, enabling collaborative features and ensuring that each client has the most up-to-date information.
RxDB introduces the concept of observable queries, which are powerful tools for efficiently querying data. With observable queries, developers can subscribe to specific data queries and receive automatic updates whenever the underlying data changes. This eliminates the need for manual polling and ensures that applications always have access to the latest data.
RxDB offers multi-tab support, allowing applications to function seamlessly across multiple browser tabs. This feature ensures that data changes in one tab are immediately reflected in all other open tabs, enabling a consistent user experience across different browser windows.
When considering data base options for web applications, developers often encounter choices like IndexedDB, OPFS, and Memory-based solutions. RxDB, while built on top of IndexedDB, stands out due to its reactive data handling capabilities and advanced synchronization features. Compared to other options, RxDB offers a more streamlined and powerful approach to managing data in web applications.
IndexedDB RxStorage: This layer directly utilizes IndexedDB as its backend, providing a robust and widely supported storage option.
-
OPFS RxStorage: OPFS (Operational Transformation File System) is a file system-like storage layer that allows for efficient conflict resolution and real-time collaboration.
-
Memory RxStorage: Primarily used for testing and development, this storage layer keeps data in memory without persisting it to disk.
-Each RxStorage layer has its strengths and is suited for different scenarios, enabling developers to choose the most appropriate option for their specific use case.
-
-
Synchronizing Data with RxDB between Clients and Servers
As mentioned earlier, RxDB adopts an offline-first approach, allowing applications to function seamlessly in disconnected environments. By caching data locally, applications can continue to operate and make updates even without an internet connection. Once the connection is restored, RxDB's replication plugins take care of synchronizing the data with the server, ensuring consistency across all clients.
RxDB provides a range of replication plugins that simplify the process of synchronizing data between clients and servers. These plugins enable real-time replication using various protocols, such as WebSocket or HTTP, and handle conflict resolution strategies to ensure data integrity. By leveraging these replication plugins, developers can easily implement robust and scalable synchronization capabilities in their applications.
Indexing and Performance Optimization
-To achieve optimal performance, RxDB offers indexing capabilities. Indexing allows for efficient data retrieval and faster query execution. By strategically defining indexes on frequently accessed fields, developers can significantly enhance the overall performance of their RxDB-powered applications.
In scenarios where data security is paramount, RxDB provides options for encrypting local data. By encrypting the data base contents, developers can ensure that sensitive information remains secure even if the underlying storage is compromised. RxDB integrates seamlessly with encryption libraries, making it easy to implement end-to-end encryption in applications.
RxDB offers change streams and event handling mechanisms, enabling developers to react to data changes in real-time. With change streams, applications can listen to specific collections or documents and trigger custom logic whenever a change occurs. This capability opens up possibilities for building real-time collaboration features, notifications, or other reactive behaviors.
In scenarios where storage size is a concern, RxDB provides JSON key compression. By applying compression techniques to JSON keys, developers can significantly reduce the storage footprint of their data bases. This feature is particularly beneficial for applications dealing with large datasets or limited storage capacities.
RxDB provides an exceptional data base solution for web and mobile applications, empowering developers to create reactive, offline-ready, and synchronized applications. With its reactive data handling, offline-first approach, and replication plugins, RxDB simplifies the challenges of building real-time applications with data synchronization requirements. By embracing advanced features like indexing, encryption, change streams, and JSON key compression, developers can optimize performance, enhance security, and reduce storage requirements. As web and mobile applications continue to evolve, RxDB proves to be a reliable and powerful
-
-
\ No newline at end of file
diff --git a/docs/articles/data-base.md b/docs/articles/data-base.md
deleted file mode 100644
index ad538f20903..00000000000
--- a/docs/articles/data-base.md
+++ /dev/null
@@ -1,81 +0,0 @@
-# Empower Web Apps with Reactive RxDB Data-base
-
-> Explore RxDB's reactive data-base solution for web and mobile. Enable offline-first experiences, real-time syncing, and secure data handling with ease.
-
-# RxDB as a data base: Empowering Web Applications with Reactive Data Handling
-In the world of web applications, efficient data management plays a crucial role in delivering a seamless user experience. As mobile applications continue to dominate the digital landscape, the importance of robust data bases becomes evident. In this article, we will explore RxDB as a powerful data base solution for web applications. We will delve into its features, advantages, and advanced techniques, highlighting its ability to handle reactive data and enable an offline-first approach.
-
-
-
-
-
-
-
-## Overview of Web Applications that can benefit from RxDB
-Before diving into the specifics of RxDB, let's take a moment to understand the scope of web applications that can leverage its capabilities. Any web application that requires real-time data updates, offline functionality, and synchronization between clients and servers can greatly benefit from RxDB. Whether it's a collaborative document editing tool, a task management app, or a chat application, RxDB offers a robust foundation for building these types of applications.
-
-## Importance of data bases in Mobile Applications
-Mobile applications have become an integral part of our lives, providing us with instant access to information and services. Behind the scenes, data bases play a pivotal role in storing and managing the data that powers these applications. data bases enable efficient data retrieval, updates, and synchronization, ensuring a smooth user experience even in challenging network conditions.
-
-## Introducing RxDB as a data base Solution
-RxDB, short for Reactive data base, is a client-side data base solution designed specifically for web and mobile applications. Built on the principles of reactive programming, RxDB brings the power of observables and event-driven architecture to data management. With RxDB, developers can create applications that are responsive, offline-ready, and capable of seamless data synchronization between clients and servers.
-
-## Getting Started with RxDB
-### What is RxDB?
-RxDB is an open-source JavaScript data base that leverages reactive programming and provides a seamless API for handling data. It is built on top of existing popular data base technologies, such as IndexedDB, and adds a layer of reactive features to enable real-time data updates and synchronization.
-
-### Reactive Data Handling
-One of the standout features of RxDB is its reactive data handling. It utilizes observables to provide a stream of data that automatically updates whenever a change occurs. This reactive approach allows developers to build applications that respond instantly to data changes, ensuring a highly interactive and real-time user experience.
-
-### Offline-First Approach
-RxDB embraces an offline-first approach, enabling applications to work seamlessly even when there is no internet connectivity. It achieves this by caching data locally on the client-side and synchronizing it with the server when the connection is available. This ensures that users can continue working with the application and have their data automatically synchronized when they come back online.
-
-### Data Replication
-RxDB simplifies the process of data replication between clients and servers. It provides replication plugins that handle the synchronization of data in real-time. These plugins allow applications to keep data consistent across multiple clients, enabling collaborative features and ensuring that each client has the most up-to-date information.
-
-### Observable Queries
-RxDB introduces the concept of observable queries, which are powerful tools for efficiently querying data. With observable queries, developers can subscribe to specific data queries and receive automatic updates whenever the underlying data changes. This eliminates the need for manual polling and ensures that applications always have access to the latest data.
-
-### Multi-Tab support
-RxDB offers multi-tab support, allowing applications to function seamlessly across multiple [browser](./browser-database.md) tabs. This feature ensures that data changes in one tab are immediately reflected in all other open tabs, enabling a consistent user experience across different browser windows.
-
-### RxDB vs. Other data base Options
-When considering data base options for web applications, developers often encounter choices like IndexedDB, [OPFS](../rx-storage-opfs.md), and Memory-based solutions. RxDB, while built on top of IndexedDB, stands out due to its reactive data handling capabilities and advanced synchronization features. Compared to other options, RxDB offers a more streamlined and powerful approach to managing data in web applications.
-
-### Different RxStorage layers for RxDB
-RxDB provides various [storage layers](../rx-storage.md), known as RxStorage, that serve as interfaces to different underlying [storage](./browser-storage.md) technologies. These layers include:
-
-- [LocalStorage RxStorage](../rx-storage-localstorage.md): Built on top of the browsers [localStorage API](./localstorage.md).
-- [IndexedDB RxStorage](../rx-storage-indexeddb.md): This layer directly utilizes IndexedDB as its backend, providing a robust and widely supported storage option.
-- [OPFS RxStorage](../rx-storage-opfs.md): OPFS (Operational Transformation File System) is a file system-like storage layer that allows for efficient conflict resolution and real-time collaboration.
-- Memory RxStorage: Primarily used for testing and development, this storage layer keeps data in memory without persisting it to disk.
-Each RxStorage layer has its strengths and is suited for different scenarios, enabling developers to choose the most appropriate option for their specific use case.
-
-## Synchronizing Data with RxDB between Clients and Servers
-### Offline-First Approach
-As mentioned earlier, RxDB adopts an offline-first approach, allowing applications to function seamlessly in disconnected environments. By caching data locally, applications can continue to operate and make updates even without an internet connection. Once the connection is restored, RxDB's replication plugins take care of synchronizing the data with the server, ensuring consistency across all clients.
-
-### RxDB Replication Plugins
-RxDB provides a range of replication plugins that simplify the process of synchronizing data between clients and servers. These plugins enable real-time replication using various protocols, such as WebSocket or HTTP, and handle conflict resolution strategies to ensure data integrity. By leveraging these replication plugins, developers can easily implement robust and scalable synchronization capabilities in their applications.
-
-### Advanced RxDB Features and Techniques
-Indexing and Performance Optimization
-To achieve optimal performance, RxDB offers indexing capabilities. Indexing allows for efficient data retrieval and faster query execution. By strategically defining indexes on frequently accessed fields, developers can significantly enhance the overall performance of their RxDB-powered applications.
-
-### Encryption of Local Data
-In scenarios where data security is paramount, RxDB provides options for encrypting local data. By encrypting the data base contents, developers can ensure that sensitive information remains secure even if the underlying storage is compromised. RxDB integrates seamlessly with encryption libraries, making it easy to implement end-to-end encryption in applications.
-
-### Change Streams and Event Handling
-RxDB offers change streams and event handling mechanisms, enabling developers to react to data changes in real-time. With change streams, applications can listen to specific collections or documents and trigger custom logic whenever a change occurs. This capability opens up possibilities for building real-time collaboration features, notifications, or other reactive behaviors.
-
-### JSON Key Compression
-In scenarios where storage size is a concern, RxDB provides JSON [key compression](../key-compression.md). By applying compression techniques to JSON keys, developers can significantly reduce the storage footprint of their data bases. This feature is particularly beneficial for applications dealing with large datasets or [limited storage capacities](./indexeddb-max-storage-limit.md).
-
-## Conclusion
-RxDB provides an exceptional data base solution for web and mobile applications, empowering developers to create reactive, offline-ready, and synchronized applications. With its reactive data handling, offline-first approach, and replication plugins, RxDB simplifies the challenges of building real-time applications with data synchronization requirements. By embracing advanced features like indexing, encryption, change streams, and JSON key compression, developers can optimize performance, enhance security, and reduce storage requirements. As web and [mobile applications](./mobile-database.md) continue to evolve, RxDB proves to be a reliable and powerful
-
-
In modern UI applications, efficient data storage is a crucial aspect for seamless user experiences. One powerful solution for achieving this is by utilizing an embedded database. In this article, we will explore the concept of an embedded database and delve into the benefits of using RxDB as an embedded database in UI applications. We will also discuss why RxDB stands out as a robust choice for real-time applications with embedded database functionality.
An embedded database refers to a client-side database system that is integrated directly within an application. It is designed to operate within the client environment, such as a web browser or a mobile app. This approach eliminates the need for a separate database server and allows the database to run locally on the client device.
In the context of UI applications, an embedded database serves as a local data storage solution. It enables applications to efficiently manage data, facilitate real-time updates, and enhance performance. Let's explore some of the benefits of using an embedded database compared to a traditional server database:
-
-
Replicating database state becomes easier: Implementing real-time data synchronization and replication is simpler with an embedded database compared to complex REST routes. The embedded nature allows for efficient replication of the database state across multiple instances of the application.
-
Use the database for caching: An embedded database can be utilized for caching frequently accessed data. This caching mechanism enhances performance and reduces the need for repeated network requests, resulting in faster data retrieval.
-
Building real-time applications is easier with local data: By leveraging local data storage, real-time applications can easily update the user interface in response to data changes. This approach simplifies the development of real-time features and enhances the responsiveness of the application.
-
Store local data with encryption: Embedded databases, like RxDB, offer the ability to store local data with encryption. This ensures that sensitive information remains protected even when stored locally on the client device.
-
Data is offline accessible: With an embedded database, data remains accessible even when the application is offline. Users can continue to interact with the application and access their data seamlessly, irrespective of their internet connectivity.
-
Faster initial application start time: Since the data is already stored locally, there is no need for initial data fetching from a remote server. This significantly reduces the application's startup time and allows users to engage with the application more quickly.
-
Improved scalability with local queries: Embedded databases, such as RxDB, perform queries locally on the client device instead of relying on server round-trips. This reduces latency and enhances scalability, particularly when dealing with large datasets or high query volumes.
-
Seamless integration with JavaScript frameworks: Embedded databases, including RxDB, integrate seamlessly with popular JavaScript frameworks like Angular, React.js, Vue.js, and Svelte. This compatibility allows developers to leverage the capabilities of these frameworks while benefiting from embedded database functionality.
-
Running queries locally has low latency: With an embedded database, queries are executed locally on the client device, resulting in minimal latency. This improves the overall performance and responsiveness of the application.
-
Data is portable and always accessible by the user: Embedded databases enable data portability, allowing users to seamlessly transition between devices while maintaining their data and application state. This ensures that data is always accessible and available to the user.
-
Using a local database for state management: Instead of relying on additional state management libraries like Redux or NgRx, an embedded database can be used for local state management. This simplifies state management and ensures data consistency within the application.
-
-
Why RxDB as an Embedded Database for Real-time Applications
-
RxDB is a JavaScript-based embedded database that offers numerous advantages for building real-time applications. Let's explore why RxDB is a compelling choice:
-
-
Observable Queries (RxJS): RxDB leverages the power of Observables through RxJS, enabling developers to create queries that automatically update the user interface on data changes. This reactive approach simplifies UI updates and ensures real-time synchronization of data.
-
NoSQL JSON Documents for UIs: RxDB utilizes NoSQL (JSON) documents as its data model, aligning seamlessly with the requirements of modern UI development. JavaScript's native support for JSON objects makes NoSQL documents a natural fit for UI-driven applications.
-
Better TypeScript Support Compared to SQL: RxDB's NoSQL approach provides excellent TypeScript support. The flexibility of working with JSON objects enables robust typing and enhanced development experiences, ensuring type safety and reducing runtime errors.
-
Observable Document Fields: RxDB allows developers to observe individual fields within documents. This granularity enables efficient tracking of specific data changes and facilitates targeted UI updates, enhancing performance and responsiveness.
-
Made in JavaScript, Optimized for JavaScript Applications: Being built entirely in JavaScript, RxDB is optimized for JavaScript applications. It leverages JavaScript's capabilities and integrates seamlessly with JavaScript frameworks and libraries, making it a natural choice for JavaScript developers.
-
Optimized Observed Queries with the EventReduce Algorithm: RxDB incorporates the EventReduce algorithm to optimize observed queries. This algorithm reduces the number of emitted events during query execution, resulting in enhanced query performance and reduced overhead.
-
Built-in Multi-tab Support: RxDB provides built-in multi-tab support, allowing multiple instances of an application to share and synchronize data seamlessly. This feature enables collaborative and real-time scenarios across multiple browser tabs or windows.
-
Handling of Schema Changes across Multiple Client Devices: With RxDB, handling schema changes across multiple client devices becomes straightforward. RxDB's schema migration capabilities ensure that applications can seamlessly adapt to evolving data structures, providing a consistent experience across different devices.
-
Storing Documents Compressed: RxDB offers the ability to store documents in a compressed format. This reduces the storage footprint and improves performance, especially when dealing with large datasets.
-
Flexible Storage Layer and Cross-platform Compatibility: RxDB provides a flexible storage layer that can be reused across various platforms, including Electron.js, React Native, hybrid apps (via Capacitor.js), and browsers. This cross-platform compatibility simplifies development and enables code reuse across different environments.
-
Replication Algorithm for Backend Compatibility: RxDB's replication algorithm is open-source and can be made compatible with various backend solutions, such as self-hosted servers, Firebase, CouchDB, NATS, WebSockets, and more. This flexibility allows developers to choose their preferred backend infrastructure while benefiting from RxDB's embedded database capabilities.
To further explore RxDB and leverage its capabilities as an embedded database, the following resources can be helpful:
-
-
RxDB GitHub Repository: Visit the official GitHub repository of RxDB to access the source code, documentation, and community support.
-
RxDB Quickstart: Get started quickly with RxDB by following the provided quickstart guide, which offers step-by-step instructions for setting up and using RxDB in your projects.
-
-
By utilizing RxDB as an embedded database in UI applications, developers can harness the power of efficient data management, real-time updates, and enhanced user experiences. RxDB's features and benefits make it a compelling choice for building modern, responsive, and scalable applications.
-
-
\ No newline at end of file
diff --git a/docs/articles/embedded-database.md b/docs/articles/embedded-database.md
deleted file mode 100644
index ccfa9468708..00000000000
--- a/docs/articles/embedded-database.md
+++ /dev/null
@@ -1,59 +0,0 @@
-# Embedded Database, Real-time Speed - RxDB
-
-> Unleash the power of embedded databases with RxDB. Explore real-time replication, offline access, and reactive queries for modern JavaScript apps.
-
-# Using RxDB as an Embedded Database
-In modern UI applications, efficient data storage is a crucial aspect for seamless user experiences. One powerful solution for achieving this is by utilizing an embedded database. In this article, we will explore the concept of an embedded database and delve into the benefits of using [RxDB](https://rxdb.info/) as an embedded database in UI applications. We will also discuss why RxDB stands out as a robust choice for real-time applications with embedded database functionality.
-
-
-
-
-
-
-
-## What is an Embedded Database?
-An embedded database refers to a client-side database system that is integrated directly within an application. It is designed to operate within the client environment, such as a web browser or a [mobile](./mobile-database.md) app. This approach eliminates the need for a separate database server and allows the database to run locally on the client device.
-
-## Embedded Database in UI Applications
-In the context of UI applications, an embedded database serves as a local data storage solution. It enables applications to efficiently manage data, facilitate real-time updates, and enhance performance. Let's explore some of the benefits of using an embedded database compared to a traditional server database:
-
-- Replicating database state becomes easier: Implementing real-time data synchronization and replication is simpler with an embedded database compared to complex REST routes. The embedded nature allows for efficient replication of the database state across multiple instances of the application.
-- Use the database for caching: An embedded database can be utilized for caching frequently accessed data. This caching mechanism enhances performance and reduces the need for repeated network requests, resulting in faster data retrieval.
-- Building real-time applications is easier with local data: By leveraging local data storage, real-time applications can easily update the user interface in response to data changes. This approach simplifies the development of real-time features and enhances the responsiveness of the application.
-- Store local data with [encryption](../encryption.md): Embedded databases, like RxDB, offer the ability to store local data with encryption. This ensures that sensitive information remains protected even when stored locally on the client device.
-- Data is offline accessible: With an embedded database, data remains accessible even when the application is offline. Users can continue to interact with the application and access their data seamlessly, irrespective of their internet connectivity.
-- Faster initial application start time: Since the data is already stored locally, there is no need for initial data fetching from a remote server. This significantly reduces the application's startup time and allows users to engage with the application more quickly.
-- Improved scalability with local queries: Embedded databases, such as RxDB, perform queries locally on the client device instead of relying on server round-trips. This reduces latency and enhances scalability, particularly when dealing with large datasets or high query volumes.
-- Seamless integration with JavaScript frameworks: Embedded databases, including RxDB, integrate seamlessly with popular JavaScript frameworks like Angular, React.js, [Vue.js](./vue-database.md), and Svelte. This compatibility allows developers to leverage the capabilities of these frameworks while benefiting from embedded database functionality.
-- Running queries locally has low latency: With an embedded database, queries are executed locally on the client device, resulting in minimal latency. This improves the overall performance and responsiveness of the application.
-- Data is portable and always accessible by the user: Embedded databases enable data portability, allowing users to seamlessly transition between devices while maintaining their data and application state. This ensures that data is always accessible and available to the user.
-- Using a [local database](./local-database.md) for state management: Instead of relying on additional state management libraries like Redux or NgRx, an embedded database can be used for local state management. This simplifies state management and ensures data consistency within the application.
-
-## Why RxDB as an Embedded Database for Real-time Applications
-RxDB is a JavaScript-based embedded database that offers numerous advantages for building real-time applications. Let's explore why RxDB is a compelling choice:
-
-- [Observable Queries](../rx-query.md) (RxJS): RxDB leverages the power of Observables through RxJS, enabling developers to create queries that automatically update the user interface on data changes. This reactive approach simplifies UI updates and ensures real-time synchronization of data.
-- [NoSQL JSON Documents](./json-database.md) for UIs: RxDB utilizes NoSQL (JSON) documents as its data model, aligning seamlessly with the requirements of modern UI development. JavaScript's native support for JSON objects makes NoSQL documents a natural fit for UI-driven applications.
-- Better TypeScript Support Compared to SQL: RxDB's NoSQL approach provides excellent TypeScript support. The flexibility of working with JSON objects enables robust typing and enhanced development experiences, ensuring type safety and reducing runtime errors.
-- [Observable Document Fields](../rx-document.md): RxDB allows developers to observe individual fields within documents. This granularity enables efficient tracking of specific data changes and facilitates targeted UI updates, enhancing performance and responsiveness.
-- Made in JavaScript, Optimized for JavaScript Applications: Being built entirely in JavaScript, RxDB is optimized for JavaScript applications. It leverages JavaScript's capabilities and integrates seamlessly with JavaScript frameworks and libraries, making it a natural choice for JavaScript developers.
-- Optimized Observed Queries with the [EventReduce Algorithm](https://github.com/pubkey/event-reduce): RxDB incorporates the EventReduce algorithm to optimize observed queries. This algorithm reduces the number of emitted events during query execution, resulting in enhanced query performance and reduced overhead.
-- Built-in Multi-tab Support: RxDB provides built-in multi-tab support, allowing multiple instances of an application to share and synchronize data seamlessly. This feature enables collaborative and real-time scenarios across multiple browser tabs or windows.
-- Handling of Schema Changes across Multiple Client Devices: With RxDB, handling schema changes across multiple client devices becomes straightforward. RxDB's schema [migration capabilities](../migration-schema.md) ensure that applications can seamlessly adapt to evolving data structures, providing a consistent experience across different devices.
-- Storing Documents Compressed: RxDB offers the ability to store documents in a compressed format. This reduces the storage footprint and improves performance, especially when dealing with large datasets.
-- Flexible Storage Layer and Cross-platform Compatibility: RxDB provides a flexible storage layer that can be reused across various platforms, including [Electron.js](../electron-database.md), [React Native](../react-native-database.md), hybrid apps (via Capacitor.js), and browsers. This cross-platform compatibility simplifies development and enables code reuse across different environments.
-- Replication Algorithm for Backend Compatibility: RxDB's replication algorithm is open-source and can be made compatible with various backend solutions, such as self-hosted servers, Firebase, [CouchDB](../replication-couchdb.md), NATS, WebSockets, and more. This flexibility allows developers to choose their preferred backend infrastructure while benefiting from RxDB's embedded database capabilities.
-
-
-
-
-
-
-
-## Follow Up
-To further explore [RxDB](https://rxdb.info/) and leverage its capabilities as an embedded database, the following resources can be helpful:
-
-- [RxDB GitHub Repository](https://github.com/pubkey/rxdb): Visit the official GitHub repository of RxDB to access the source code, documentation, and community support.
-- [RxDB Quickstart](../quickstart.md): Get started quickly with RxDB by following the provided quickstart guide, which offers step-by-step instructions for setting up and using RxDB in your projects.
-
-By utilizing [RxDB](https://rxdb.info/) as an embedded database in UI applications, developers can harness the power of efficient data management, real-time updates, and enhanced user experiences. RxDB's features and benefits make it a compelling choice for building modern, responsive, and scalable applications.
diff --git a/docs/articles/firebase-realtime-database-alternative.html b/docs/articles/firebase-realtime-database-alternative.html
deleted file mode 100644
index 9fde2225356..00000000000
--- a/docs/articles/firebase-realtime-database-alternative.html
+++ /dev/null
@@ -1,199 +0,0 @@
-
-
-
-
-
-RxDB - Firebase Realtime Database Alternative to Sync With Your Own Backend | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
RxDB - The Firebase Realtime Database Alternative That Can Sync With Your Own Backend
-
Are you on the lookout for a Firebase Realtime Database alternative that gives you greater freedom, deeper offline capabilities, and allows you to seamlessly integrate with any backend? RxDB (Reactive Database) might be the perfect choice. This local-first, NoSQL data store runs entirely on the client while supporting real-time updates and robust syncing with any server environment—making it a strong contender against Firebase Realtime Database's limitations and potential vendor lock-in.
-
-
Why RxDB Is an Excellent Firebase Realtime Database Alternative
Unlike Firebase Realtime Database, which relies on central infrastructure to process data, RxDB is fully embedded within your client application (including browsers, Node.js, Electron, and React Native). This design means your app stays completely functional offline, since all data reads and writes happen locally. When connectivity is restored, RxDB's syncing framework automatically reconciles local changes with your remote backend.
Firebase Realtime Database typically updates data with a simple last-in-wins approach. RxDB, on the other hand, lets you implement more sophisticated conflict resolution logic. Using revisions and conflict handlers, RxDB can merge concurrent edits or preserve multiple versions—ensuring your application remains consistent even when multiple clients modify the same data at the same time.
When you rely on Firebase Realtime Database, each query or listener can translate into ongoing reads, potentially running up your monthly bill. With RxDB, all queries are performed locally. Your app only communicates with the backend to sync document changes, significantly reducing bandwidth and hosting expenses for applications that frequently read data.
While Firebase offers some offline caching, it often requires an initial connection for authentication or to seed local data. RxDB, however, is built to handle an offline-start scenario. Users can begin working with the application immediately, regardless of connectivity, and any modifications they make will sync once the network is available again.
One of RxDB's core strengths is its ability to run in any JavaScript environment. Whether you're building a web app that uses IndexedDB in the browser, an Electron desktop program, or a React Native mobile application, RxDB's swappable storage adapts to your runtime of choice. This consistency makes code-sharing and cross-platform development far simpler than being tied to a single backend system.
Long Offline Use: If your users need to work without an internet connection, RxDB's built-in offline-first design stands out compared to Firebase Realtime Database's partial offline approach.
-
Custom or Complex Queries: RxDB lets you perform your queries locally, define indexing, and handle even complex transformations locally - no extra call to an external API.
-
Avoid Vendor Lock-In: If you anticipate needing to move or adapt your backend later, you can do so without rewriting how your client manages its data.
-
Peer-to-Peer Collaboration: Whether you need quick demos or real production use, WebRTC replication can link your users directly without central coordination of data storage.
-
-
\ No newline at end of file
diff --git a/docs/articles/firebase-realtime-database-alternative.md b/docs/articles/firebase-realtime-database-alternative.md
deleted file mode 100644
index aa8ae045a60..00000000000
--- a/docs/articles/firebase-realtime-database-alternative.md
+++ /dev/null
@@ -1,190 +0,0 @@
-# RxDB - Firebase Realtime Database Alternative to Sync With Your Own Backend
-
-> Looking for a Firebase Realtime Database alternative? RxDB offers a fully offline, vendor-agnostic NoSQL solution with advanced conflict resolution and multi-platform support.
-
-# RxDB - The Firebase Realtime Database Alternative That Can Sync With Your Own Backend
-
-Are you on the lookout for a **Firebase Realtime Database alternative** that gives you greater freedom, deeper offline capabilities, and allows you to seamlessly integrate with any backend? **RxDB** (Reactive Database) might be the perfect choice. This [local-first](./local-first-future.md), NoSQL data store runs entirely on the client while supporting real-time updates and robust syncing with any server environment—making it a strong contender against Firebase Realtime Database's limitations and potential vendor lock-in.
-
-
-
-
-
-
-
-## Why RxDB Is an Excellent Firebase Realtime Database Alternative
-
-### 1. Complete Offline-First Experience
-Unlike Firebase Realtime Database, which relies on central infrastructure to process data, RxDB is fully embedded within your client application (including [browsers](./browser-database.md), [Node.js](../nodejs-database.md), [Electron](../electron-database.md), and [React Native](../react-native-database.md)). This design means your app stays completely functional offline, since all data reads and writes happen locally. When connectivity is restored, RxDB's syncing framework automatically reconciles local changes with your remote backend.
-
-### 2. Freedom to Use Any Server or Cloud
-While Firebase Realtime Database ties you into Google's ecosystem, RxDB allows you to choose any hosting environment. You can:
-- Host your data on your own servers or private cloud.
-- Integrate with relational databases like [PostgreSQL](../replication-http.md) or other NoSQL options such as [CouchDB](../replication-couchdb.md).
-- Build custom endpoints using [REST](../replication-http.md), [GraphQL](../replication-graphql.md), or any other protocol.
-
-This flexibility ensures you're not locked into a single vendor and can adapt your backend strategy as your project evolves.
-
-### 3. Advanced Conflict Handling
-Firebase Realtime Database typically updates data with a simple last-in-wins approach. RxDB, on the other hand, lets you implement more sophisticated conflict resolution logic. Using [revisions and conflict handlers](../transactions-conflicts-revisions.md#custom-conflict-handler), RxDB can merge concurrent edits or preserve multiple versions—ensuring your application remains consistent even when multiple clients modify the same data at the same time.
-
-### 4. Lower Cloud Costs for Read-Heavy Apps
-When you rely on Firebase Realtime Database, each query or listener can translate into ongoing reads, potentially running up your monthly bill. With RxDB, all queries are performed [locally](../offline-first.md). Your app only communicates with the backend to sync document changes, significantly reducing bandwidth and hosting expenses for applications that frequently read data.
-
-### 5. Powerful Local Queries
-If you've hit Firebase Realtime Database's querying limits, RxDB offers a far more robust approach to data retrieval. You can:
-- Define custom indexes for faster local lookups.
-- Perform sophisticated filters, joins, or full-text searches right on the client.
-- Subscribe to real-time data updates through RxDB's [reactive query engine](../reactivity.md).
-
-Because these operations happen locally, your [UI updates](./optimistic-ui.md) instantly, providing a snappy user experience.
-
-### 6. True Offline Initialization
-While Firebase offers some offline caching, it often requires an initial connection for authentication or to seed local data. RxDB, however, is built to handle an **offline-start** scenario. Users can begin working with the application immediately, regardless of connectivity, and any modifications they make will sync once the network is available again.
-
-### 7. Works Everywhere JavaScript Runs
-One of RxDB's core strengths is its ability to run in **any JavaScript environment**. Whether you're building a web app that uses IndexedDB in the browser, an [Electron](../electron-database.md) desktop program, or a [React Native](../react-native-database.md) mobile application, RxDB's **swappable storage** adapts to your runtime of choice. This consistency makes code-sharing and cross-platform development far simpler than being tied to a single backend system.
-
----
-
-## How RxDB's Syncing Mechanism Operates
-
-RxDB employs its own [Sync Engine](../replication.md) to manage data flow between your client and remote [servers](../rx-server.md). Replication revolves around:
-1. **Pull**: Retrieving updated or newly created documents from the server.
-2. **Push**: Sending local changes to the backend for persistence.
-3. **Live Updates**: Continuously streaming changes to and from the backend for real-time synchronization.
-
-## Sample Code: Sync RxDB With a Custom Endpoint
-
-```ts
-import { createRxDatabase } from 'rxdb/plugins/core';
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-import { replicateRxCollection } from 'rxdb/plugins/replication';
-
-async function initDB() {
- const db = await createRxDatabase({
- name: 'localdb',
- storage: getRxStorageLocalstorage(),
- multiInstance: true,
- eventReduce: true
- });
-
- await db.addCollections({
- tasks: {
- schema: {
- title: 'task schema',
- version: 0,
- type: 'object',
- primaryKey: 'id',
- properties: {
- id: { type: 'string', maxLength: 100 },
- title: { type: 'string' },
- complete: { type: 'boolean' }
- }
- }
- }
- });
-
- // Start a custom replication
- replicateRxCollection({
- collection: db.tasks,
- replicationIdentifier: 'custom-tasks-api',
- push: {
- handler: async (docs) => {
- // post local changes to your server
- const resp = await fetch('https://yourapi.com/tasks/push', {
- method: 'POST',
- body: JSON.stringify({ changes: docs })
- });
- return await resp.json(); // return conflicting documents if any
- }
- },
- pull: {
- handler: async (lastCheckpoint, batchSize) => {
- // fetch new/updated items from your server
- const response = await fetch(
- `https://yourapi.com/tasks/pull?checkpoint=${JSON.stringify(
- lastCheckpoint
- )}&limit=${batchSize}`
- );
- return await response.json();
- }
- },
- live: true
- });
-
- return db;
-}
-```
-
-### Setting Up P2P Replication Over WebRTC
-In addition to using a centralized backend, RxDB supports peer-to-peer synchronization through WebRTC, enabling devices to share data directly.
-
-```ts
-import {
- replicateWebRTC,
- getConnectionHandlerSimplePeer
-} from 'rxdb/plugins/replication-webrtc';
-
-const webrtcPool = await replicateWebRTC({
- collection: db.tasks,
- topic: 'p2p-topic-123',
- connectionHandlerCreator: getConnectionHandlerSimplePeer({
- signalingServerUrl: 'wss://signaling.rxdb.info/',
- wrtc: require('node-datachannel/polyfill'),
- webSocketConstructor: require('ws').WebSocket
- })
-});
-
-webrtcPool.error$.subscribe((error) => {
- console.error('P2P error:', error);
-});
-```
-
-Here, any client that joins the same topic communicates changes to other peers, all without requiring a traditional client-server model.
-
-## Quick Steps to Get Started
-
-1. Install RxDB
-```bash
-npm install rxdb rxjs
-```
-
-2. Create a Local Database
-```ts
-import { createRxDatabase } from 'rxdb/plugins/core';
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-
-const db = await createRxDatabase({
- name: 'myLocalDB',
- storage: getRxStorageLocalstorage()
-});
-Add a Collection
-ts
-Kopieren
-await db.addCollections({
- notes: {
- schema: {
- title: 'notes schema',
- version: 0,
- primaryKey: 'id',
- type: 'object',
- properties: {
- id: { type: 'string', maxLenght: 100 },
- content: { type: 'string' }
- }
- }
- }
-});
-```
-
-3. Synchronize
-
-Use one of the [Replication Plugins](../replication.md) to connect with your preferred backend.
-
-### Is RxDB the Right Solution for You?
-
-- **Long Offline Use**: If your users need to work without an internet connection, RxDB's built-in offline-first design stands out compared to Firebase Realtime Database's partial offline approach.
-- **Custom or Complex Queries**: RxDB lets you perform your [queries](../rx-query.md) locally, define [indexing](../rx-schema.md#indexes), and handle even complex [transformations](../rx-pipeline.md) locally - no extra call to an external API.
-- **Avoid Vendor Lock-In**: If you anticipate needing to move or adapt your backend later, you can do so without rewriting how your client manages its data.
-- **Peer-to-Peer Collaboration**: Whether you need quick demos or real production use, [WebRTC replication](../replication-webrtc.md) can link your users directly without central coordination of data storage.
diff --git a/docs/articles/firestore-alternative.html b/docs/articles/firestore-alternative.html
deleted file mode 100644
index 18ee053a1be..00000000000
--- a/docs/articles/firestore-alternative.html
+++ /dev/null
@@ -1,225 +0,0 @@
-
-
-
-
-
-RxDB - Firestore Alternative to Sync with Your Own Backend | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Enter RxDB (Reactive Database) - a local-first, NoSQL database for JavaScript applications that can sync in real time with any backend of your choice. Whether you're tired of the limitations and fees associated with Firebase Cloud Firestore or simply need more flexibility, RxDB might be the Firestore alternative you've been searching for.
Firestore is convenient for many projects, but it does lock you into Google's ecosystem. Below are some of the key advantages you gain by choosing RxDB:
RxDB runs directly in your client application (browser, Node.js, Electron, React Native, etc.). Data is stored locally, so your application remains fully functional even when offline. When the device returns online, RxDB's flexible replication protocol synchronizes your local changes with any remote endpoint.
This backend-agnostic approach protects you from vendor lock-in. Your application's client-side data storage remains consistent; only your replication logic (or plugin) changes if you switch servers.
Firestore enforces a last-write-wins conflict resolution strategy. This might cause issues if multiple users or devices update the same data in complex ways.
-
RxDB lets you:
-
-
Implement custom conflict resolution via revisions.
-
Store partial merges, track versions, or preserve multiple user edits.
-
Fine-tune how your data merges to ensure consistency across distributed systems.
Firestore queries often count as billable reads. With RxDB, queries run locally against your local state - no repeated network calls or extra charges. You pay only for the data actually synced, not every read. For read-heavy apps, using RxDB as a Firestore alternative can significantly reduce costs.
While Firestore does have offline caching, it often requires an online check at app initialization for authentication. RxDB is truly offline-first; you can launch the app and write data even if the device never goes online initially. It's ready whenever the user is.
RxDB is designed to run in any environment that can execute JavaScript. Whether you’re building a web app in the browser, an Electron desktop application, a React Native mobile app, or a command-line tool with Node.js, RxDB’s storage layer is swappable to fit your runtime’s capabilities.
By swapping out the handler implementations or using an official plugin (e.g., GraphQL, CouchDB, Firestore replication, etc.), you can adapt to any backend or data source. RxDB thus becomes a flexible alternative to Firestore while maintaining real-time capabilities.
-
Getting Started with RxDB as a Firestore Alternative
Use a Replication Plugin to connect with a custom backend or existing database.
-
For a Firestore-specific approach, RxDB Firestore Replication also exists if you want to combine local indexing and advanced queries with a Cloud Firestore backend. But if you really want to replace Firestore entirely - just point RxDB to your new backend.
In addition to syncing with a central server, RxDB also supports pure peer-to-peer replication using WebRTC. This can be invaluable for scenarios where clients need to sync data directly without a master server.
-
import {
- replicateWebRTC,
- getConnectionHandlerSimplePeer
-} from 'rxdb/plugins/replication-webrtc';
-
-const replicationPool = await replicateWebRTC({
- collection: db.tasks,
- topic: 'my-p2p-room', // Clients with the same topic will sync with each other.
- connectionHandlerCreator: getConnectionHandlerSimplePeer({
- // Use your own or the official RxDB signaling server
- signalingServerUrl: 'wss://signaling.rxdb.info/',
-
- // Node.js requires a polyfill for WebRTC & WebSocket
- wrtc: require('node-datachannel/polyfill'),
- webSocketConstructor: require('ws').WebSocket
- }),
- pull: {}, // optional pull config
- push: {} // optional push config
-});
-
-// The replicationPool manages all connected peers
-replicationPool.error$.subscribe(err => {
- console.error('P2P Sync Error:', err);
-});
-
This example sets up a live P2P replication where any new peers joining the same topic automatically sync local data with each other, eliminating the need for a dedicated central server for the actual data exchange.
You want offline-first: If you need an offline-first app that starts offline, RxDB's local database approach and sync protocol excel at this.
-
Your project is read-heavy: Reading from Firestore for every query can get expensive. With RxDB, reads are free and local; you only pay for writes or sync overhead.
-
You need advanced queries: Firestore's query constraints may not suit complex data. With RxDB, you can define your own indexing logic or run arbitrary queries locally.
-
You want no vendor lock-in: Easily transition from Firestore to your own server or another vendor - just change the replication layer.
If you've been searching for a Firestore alternative that gives you the freedom to sync your data with any backend, offers robust offline-first capabilities, and supports truly customizable conflict resolution and queries, RxDB is worth exploring. You can adopt it seamlessly, ensure local reads, reduce costs, and stay in complete control of your data layer.
-
Ready to dive in? Check out the RxDB Quickstart Guide, join our Discord community, and experience how RxDB can be the perfect local-first, real-time database solution for your next project.
-
-
\ No newline at end of file
diff --git a/docs/articles/firestore-alternative.md b/docs/articles/firestore-alternative.md
deleted file mode 100644
index 0027a2aa25c..00000000000
--- a/docs/articles/firestore-alternative.md
+++ /dev/null
@@ -1,225 +0,0 @@
-# RxDB - Firestore Alternative to Sync with Your Own Backend
-
-> Looking for a Firestore alternative? RxDB is a local-first, NoSQL database that syncs seamlessly with any backend, offers rich offline capabilities, advanced conflict resolution, and reduces vendor lock-in.
-
-# RxDB - The Firestore Alternative That Can Sync with Your Own Backend
-
-If you're seeking a **Firestore alternative**, you're likely looking for a way to:
-- **Avoid vendor lock-in** while still enjoying real-time replication.
-- **Reduce cloud usage costs** by reading data locally instead of constantly fetching from the server.
-- **Customize** how you store, query, and secure your data.
-- **Implement advanced conflict resolution** strategies beyond Firestore's last-write-wins approach.
-
-Enter **RxDB** (Reactive Database) - a [local-first](./local-first-future.md), NoSQL database for JavaScript applications that can sync in real time with **any** backend of your choice. Whether you're tired of the limitations and fees associated with Firebase Cloud Firestore or simply need more flexibility, RxDB might be the Firestore alternative you've been searching for.
-
-
-
-
-
-
-
-## What Makes RxDB a Great Firestore Alternative?
-
-Firestore is convenient for many projects, but it does lock you into Google's ecosystem. Below are some of the key advantages you gain by choosing RxDB:
-
-### 1. Fully Offline-First
-RxDB runs directly in your client application ([browser](./browser-database.md), [Node.js](../nodejs-database.md), [Electron](../electron-database.md), [React Native](../react-native-database.md), etc.). Data is stored locally, so your application **remains fully functional even when offline**. When the device returns online, RxDB's flexible replication protocol synchronizes your local changes with any remote endpoint.
-
-### 2. Freedom to Use Any Backend
-Unlike Firestore, RxDB doesn't require a proprietary hosting service. You can:
-- Host your data on your own server (Node.js, Go, Python, etc.).
-- Use existing databases like [PostgreSQL](../replication-http.md), [CouchDB](../replication-couchdb.md), or [MongoDB with custom endpoints](../replication.md).
-- Implement a [custom GraphQL](../replication-graphql.md) or [REST-based](../replication-http.md) API for syncing.
-
-This **backend-agnostic** approach protects you from vendor lock-in. Your application's client-side data storage remains consistent; only your replication logic (or plugin) changes if you switch servers.
-
-### 3. Advanced Conflict Resolution
-Firestore enforces a [last-write-wins](https://stackoverflow.com/a/47781502/3443137) conflict resolution strategy. This might cause issues if multiple users or devices update the same data in complex ways.
-
-RxDB lets you:
-- Implement **custom conflict resolution** via [revisions](../transactions-conflicts-revisions.md#custom-conflict-handler).
-- Store partial merges, track versions, or preserve multiple user edits.
-- Fine-tune how your data merges to ensure consistency across distributed systems.
-
-### 4. Reduced Cloud Costs
-Firestore queries often count as billable reads. With RxDB, queries run **locally** against your local state - no repeated network calls or extra charges. You pay only for the data actually synced, not every read. For **read-heavy** apps, using RxDB as a Firestore alternative can significantly reduce costs.
-
-### 5. No Limits on Query Features
-Firestore's query engine is limited by certain constraints (e.g., no advanced joins, limited indexing). With RxDB:
-- **NoSQL** data is stored locally, and you can define any indexes you need.
-- Perform [complex queries](../rx-query.md), run [full-text search](../fulltext-search.md), or do aggregated transformations or even [vector search](./javascript-vector-database.md).
-- Use [RxDB's reactivity](../rx-query.md#observe) to subscribe to query results in real time.
-
-### 6. True Offline-Start Support
-While Firestore does have offline caching, it often requires an online check at app initialization for authentication. RxDB is [truly offline-first](../offline-first.md); you can launch the app and write data even if the device never goes online initially. It's ready whenever the user is.
-
-### 7. Cross-Platform: Any JavaScript Runtime
-RxDB is designed to run in **any environment** that can execute JavaScript. Whether you’re building a web app in the browser, an [Electron](../electron-database.md) desktop application, a [React Native](../react-native-database.md) mobile app, or a command-line tool with [Node.js](../nodejs-database.md), RxDB’s storage layer is swappable to fit your runtime’s capabilities.
-- In the **browser**, store data in [IndexedDB](../rx-storage-indexeddb.md) or [OPFS](../rx-storage-opfs.md).
-- In [Node.js](../nodejs-database.md), use LevelDB or other supported storages.
-- In [React Native](../react-native-database.md), pick from a range of adapters suited for mobile devices.
-- In [Electron](../electron-database.md), rely on fast local storage with zero changes to your application code.
-
----
-
-## How Does RxDB's Sync Work?
-
-RxDB replication is powered by its own [Sync Engine](../replication.md). This simple yet robust protocol enables:
-1. **Pull**: Fetch new or updated documents from the server.
-2. **Push**: Send local changes back to the server.
-3. **Live Real-Time**: Once you're caught up, you can opt for event-based streaming instead of continuous polling.
-
-Code Example: Sync RxDB with a Custom Backend
-
-```ts
-import { createRxDatabase } from 'rxdb/plugins/core';
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-import { replicateRxCollection } from 'rxdb/plugins/replication';
-
-async function initDB() {
- const db = await createRxDatabase({
- name: 'mydb',
- storage: getRxStorageLocalstorage(),
- multiInstance: true,
- eventReduce: true
- });
-
- await db.addCollections({
- tasks: {
- schema: {
- title: 'task schema',
- version: 0,
- type: 'object',
- primaryKey: 'id',
- properties: {
- id: { type: 'string', maxLength: 100 },
- title: { type: 'string' },
- done: { type: 'boolean' }
- }
- }
- }
- });
-
- // Start a custom REST-based replication
- replicateRxCollection({
- collection: db.tasks,
- replicationIdentifier: 'my-tasks-rest-api',
- push: {
- handler: async (documents) => {
- // Send docs to your REST endpoint
- const res = await fetch('https://myapi.com/push', {
- method: 'POST',
- body: JSON.stringify({ docs: documents })
- });
- // Return conflicts if any
- return await res.json();
- }
- },
- pull: {
- handler: async (lastCheckpoint, batchSize) => {
- // Fetch from your REST endpoint
- const res = await fetch(`https://myapi.com/pull?checkpoint=${JSON.stringify(lastCheckpoint)}&limit=${batchSize}`);
- return await res.json();
- }
- },
- live: true // keep watching for changes
- });
-
- return db;
-}
-```
-
-By swapping out the handler implementations or using an official plugin (e.g., [GraphQL](../replication-graphql.md), [CouchDB](../replication-couchdb.md), [Firestore replication](../replication-firestore.md), etc.), you can adapt to any backend or data source. RxDB thus becomes a flexible alternative to Firestore while maintaining [real-time capabilities](./realtime-database.md).
-
-## Getting Started with RxDB as a Firestore Alternative
-
-### Install RxDB:
-```bash
-npm install rxdb rxjs
-```
-
-### Create a Database:
-```ts
-import { createRxDatabase } from 'rxdb/plugins/core';
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-
-const db = await createRxDatabase({
- name: 'mydb',
- storage: getRxStorageLocalstorage()
-});
-```
-
-### Define Collections:
-```ts
-await db.addCollections({
- items: {
- schema: {
- title: 'items schema',
- version: 0,
- primaryKey: 'id',
- type: 'object',
- properties: {
- id: { type: 'string', maxLength: 100 },
- text: { type: 'string' }
- }
- }
- }
-});
-```
-
-### Sync
-Use a [Replication Plugin](../replication.md) to connect with a custom backend or existing database.
-
-For a Firestore-specific approach, RxDB [Firestore Replication](../replication-firestore.md) also exists if you want to combine local indexing and advanced queries with a Cloud Firestore backend. But if you really want to replace Firestore entirely - just point RxDB to your new backend.
-
-### Example: Start a WebRTC P2P Replication
-
-In addition to syncing with a central server, RxDB also supports pure peer-to-peer replication using [WebRTC](../replication-webrtc.md). This can be invaluable for scenarios where clients need to sync data directly without a master server.
-
-```ts
-import {
- replicateWebRTC,
- getConnectionHandlerSimplePeer
-} from 'rxdb/plugins/replication-webrtc';
-
-const replicationPool = await replicateWebRTC({
- collection: db.tasks,
- topic: 'my-p2p-room', // Clients with the same topic will sync with each other.
- connectionHandlerCreator: getConnectionHandlerSimplePeer({
- // Use your own or the official RxDB signaling server
- signalingServerUrl: 'wss://signaling.rxdb.info/',
-
- // Node.js requires a polyfill for WebRTC & WebSocket
- wrtc: require('node-datachannel/polyfill'),
- webSocketConstructor: require('ws').WebSocket
- }),
- pull: {}, // optional pull config
- push: {} // optional push config
-});
-
-// The replicationPool manages all connected peers
-replicationPool.error$.subscribe(err => {
- console.error('P2P Sync Error:', err);
-});
-```
-
-This example sets up a live **P2P replication** where any new peers joining the same topic automatically sync local data with each other, eliminating the need for a dedicated central server for the actual data exchange.
-
-## Is RxDB Right for Your Project?
-
-- **You want offline-first**: If you need an offline-first app that starts offline, RxDB's local database approach and sync protocol excel at this.
-- **Your project is read-heavy**: Reading from Firestore for every query can get expensive. With RxDB, reads are free and local; you only pay for writes or sync overhead.
-- **You need advanced queries**: Firestore's query constraints may not suit complex data. With RxDB, you can define your own indexing logic or run arbitrary queries locally.
-- **You want no vendor lock-in**: Easily transition from Firestore to your own server or another vendor - just change the replication layer.
-
-## Follow Up
-
-If you've been searching for a Firestore alternative that gives you the freedom to sync your data with any backend, offers robust offline-first capabilities, and supports truly customizable conflict resolution and queries, RxDB is worth exploring. You can adopt it seamlessly, ensure local reads, reduce costs, and stay in complete control of your data layer.
-
-Ready to dive in? Check out the RxDB Quickstart Guide, join our Discord community, and experience how RxDB can be the perfect local-first, real-time database solution for your next project.
-
-More resources:
-- [RxDB Sync Engine](../replication.md)
-- [Firestore Replication Plugin](../replication-firestore.md)
-- [Custom Conflict Resolution](../transactions-conflicts-revisions.md)
-- [RxDB GitHub Repository](/code/)
diff --git a/docs/articles/flutter-database.html b/docs/articles/flutter-database.html
deleted file mode 100644
index 02db43cfaa6..00000000000
--- a/docs/articles/flutter-database.html
+++ /dev/null
@@ -1,188 +0,0 @@
-
-
-
-
-
-Supercharge Flutter Apps with the RxDB Database | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
In the world of mobile application development, Flutter has gained significant popularity due to its cross-platform capabilities and rich UI framework. When it comes to building feature-rich Flutter applications, the choice of a robust and efficient database is crucial. In this article, we will explore RxDB as a database solution for Flutter applications. We'll delve into the core features of RxDB, its benefits over other database options, and how to integrate it into a Flutter app.
-
note
You can find the source code for an example RxDB Flutter Application at the github repo
Flutter is an open-source UI software development kit created by Google that allows developers to build high-performance mobile applications for iOS and Android platforms using a single codebase. Flutter's framework provides a wide range of widgets and tools that enable developers to create visually appealing and responsive applications.
Databases play a vital role in Flutter applications by providing a persistent and reliable storage solution for storing and retrieving data. Whether it's user profiles, app settings, or complex data structures, a database helps in efficiently managing and organizing the application's data. Choosing the right database for a Flutter application can significantly impact the performance, scalability, and user experience of the app.
RxDB is a powerful NoSQL database solution that is designed to work seamlessly with JavaScript-based frameworks, such as Flutter. It stands for Reactive Database and offers a variety of features that make it an excellent choice for building Flutter applications. RxDB combines the simplicity of JavaScript's document-based database model with the reactive programming paradigm, enabling developers to build real-time and offline-first applications with ease.
RxDB is a client-side database built on top of IndexedDB, which is a low-level browser-based database API. It provides a simple and intuitive API for performing CRUD operations (Create, Read, Update, Delete) on documents. RxDB's underlying architecture allows for efficient handling of data synchronization between multiple clients and servers.
One of the key strengths of RxDB is its reactive data handling. It leverages the power of Observables, a concept from reactive programming, to automatically update the UI in response to data changes. With RxDB, developers can define queries and subscribe to their results, ensuring that the UI is always in sync with the database.
RxDB follows an offline-first approach, making it ideal for building Flutter applications that need to function even without an internet connection. It allows data to be stored locally and seamlessly synchronizes it with the server when a connection is available. This ensures that users can access and interact with their data regardless of network availability.
Data replication is a critical aspect of building distributed applications. RxDB provides robust replication capabilities that enable synchronization of data between different clients and servers. With its replication plugins, RxDB simplifies the process of setting up real-time data synchronization, ensuring consistency across all connected devices.
RxDB introduces the concept of observable queries, which are queries that automatically update when the underlying data changes. This feature is particularly useful for keeping the UI up to date with the latest data. By subscribing to an observable query, developers can receive real-time updates and reflect them in the user interface without manual intervention.
When considering database options for Flutter applications, developers often come across alternatives such as SQLite or LokiJS. While these databases have their merits, RxDB offers several advantages over them. RxDB's seamless integration with Flutter, its offline-first approach, reactive data handling, and built-in data replication make it a compelling choice for building feature-rich and scalable Flutter applications.
RxDB is written in TypeScript and compiled to JavaScript. To run it in a Flutter application, the flutter_qjs library is used to spawn a QuickJS JavaScript runtime. RxDB itself runs in that runtime and communicates with the flutter dart runtime. To store data persistent, the LokiJS RxStorage is used together with a custom storage adapter that persists the database inside of the shared_preferences data.
-
To use RxDB, you have to create a compatible JavaScript file that creates your RxDatabase and starts some connectors which are used by Flutter to communicate with the JavaScript RxDB database via setFlutterRxDatabaseConnector().
-
import {
- createRxDatabase
-} from 'rxdb';
-import {
- getRxStorageLoki
-} from 'rxdb/plugins/storage-lokijs';
-import {
- setFlutterRxDatabaseConnector,
- getLokijsAdapterFlutter
-} from 'rxdb/plugins/flutter';
-
-// do all database creation stuff in this method.
-async function createDB(databaseName) {
- // create the RxDatabase
- const db = await createRxDatabase({
- // the database.name is variable so we can change it on the flutter side
- name: databaseName,
- storage: getRxStorageLoki({
- adapter: getLokijsAdapterFlutter()
- }),
- multiInstance: false
- });
- await db.addCollections({
- heroes: {
- schema: {
- version: 0,
- primaryKey: 'id',
- type: 'object',
- properties: {
- id: {
- type: 'string',
- maxLength: 100
- },
- name: {
- type: 'string',
- maxLength: 100
- },
- color: {
- type: 'string',
- maxLength: 30
- }
- },
- indexes: ['name'],
- required: ['id', 'name', 'color']
- }
- }
- });
- return db;
-}
-
-// start the connector so that flutter can communicate with the JavaScript process
-setFlutterRxDatabaseConnector(
- createDB
-);
-
Before you can use the JavaScript code, you have to bundle it into a single .js file. In this example we do that with webpack in a npm script here which bundles everything into the javascript/dist/index.js file.
-
To allow Flutter to access that file during runtime, add it to the assets inside of your pubspec.yaml:
-
flutter:
- assets:
- - javascript/dist/index.js
-
Also you need to install RxDB in your flutter part of the application. First you have to use the rxdb dart package as a flutter dependency. Currently the package is not published at the dart pub.dev. Instead you have to install it from the local filesystem inside of your RxDB npm installation.
-
# inside of pubspec.yaml
-dependencies:
- rxdb:
- path: path/to/your/node_modules/rxdb/src/plugins/flutter/dart
-
Afterwards you can import the rxdb library in your dart code and connect to the JavaScript process from there. For reference, check out the lib/main.dart file.
-
import 'package:rxdb/rxdb.dart';
-
-// start the javascript process and connect to the database
-RxDatabase database = await getRxDatabase("javascript/dist/index.js", databaseName);
-
-// get a collection
-RxCollection collection = database.getCollection('heroes');
-
-// insert a document
-RxDocument document = await collection.insert({
- "id": "zflutter-${DateTime.now()}",
- "name": nameController.text,
- "color": colorController.text
-});
-
-// create a query
-RxQuery<RxHeroDocType> query = RxDatabaseState.collection.find();
-
-// create list to store query results
-List<RxDocument<RxHeroDocType>> documents = [];
-
-// subscribe to a query
-query.$().listen((results) {
- setState(() {
- documents = results;
- });
-});
RxDB offers multiple storage options, known as RxStorage layers, to store data locally. These options include:
-
-
LokiJS RxStorage: LokiJS is an in-memory database that can be used as a storage layer for RxDB. It provides fast and efficient in-memory data management capabilities.
-
SQLite RxStorage: SQLite is a popular and widely used embedded database that offers robust storage capabilities. RxDB utilizes SQLite as a storage layer to persist data on the device.
-
Memory RxStorage: As the name suggests, Memory RxStorage stores data in memory. While this option does not provide persistence, it can be useful for temporary or cache-based data storage.
-By choosing the appropriate RxStorage layer based on the specific requirements of the application, developers can optimize performance and storage efficiency.
-
-
Synchronizing Data with RxDB between Clients and Servers
-
One of the key strengths of RxDB is its ability to synchronize data between multiple clients and servers seamlessly. Let's explore how this synchronization can be achieved.
RxDB's offline-first approach ensures that data can be accessed and modified even when there is no internet connection. Changes made offline are automatically synchronized with the server once a connection is reestablished. This ensures data consistency across all devices, providing a seamless user experience.
RxDB provides replication plugins that simplify the process of setting up data synchronization between clients and servers. These plugins offer various synchronization strategies, such as one-way replication, two-way replication, and conflict resolution mechanisms. By configuring the appropriate replication plugin, developers can easily establish real-time data synchronization in their Flutter applications.
Indexing is a technique used to optimize query performance by creating indexes on specific fields. RxDB allows developers to define indexes on document fields, improving the efficiency of queries and data retrieval.
To ensure data privacy and security, RxDB supports encryption of local data. By encrypting the data stored on the device, developers can protect sensitive information and prevent unauthorized access.
RxDB provides change streams, which emit events whenever data changes occur. By leveraging change streams, developers can implement custom event handling logic, such as updating the UI or triggering background processes, in response to specific data changes.
To minimize storage requirements and optimize performance, RxDB offers JSON key compression. This feature reduces the size of keys used in the database, resulting in more efficient storage and improved query performance.
RxDB offers a powerful and flexible database solution for Flutter applications. With its offline-first approach, real-time data synchronization, and reactive data handling capabilities, RxDB simplifies the development of feature-rich and scalable Flutter applications. By integrating RxDB into your Flutter projects, you can leverage its advanced features and techniques to build responsive and data-driven applications that provide an exceptional user experience.
-
note
You can find the source code for an example RxDB Flutter Application at the github repo
-
-
\ No newline at end of file
diff --git a/docs/articles/flutter-database.md b/docs/articles/flutter-database.md
deleted file mode 100644
index 1ebdf41b979..00000000000
--- a/docs/articles/flutter-database.md
+++ /dev/null
@@ -1,213 +0,0 @@
-# Supercharge Flutter Apps with the RxDB Database
-
-> Harness RxDB's reactive database to bring real-time, offline-first data storage and syncing to your next Flutter application.
-
-# RxDB as a Database in a Flutter Application
-
-In the world of mobile application development, Flutter has gained significant popularity due to its cross-platform capabilities and rich UI framework. When it comes to building feature-rich Flutter applications, the choice of a robust and efficient database is crucial. In this article, we will explore [RxDB](https://rxdb.info/) as a database solution for Flutter applications. We'll delve into the core features of RxDB, its benefits over other database options, and how to integrate it into a Flutter app.
-
-:::note
-You can find the source code for an example RxDB Flutter Application [at the github repo](https://github.com/pubkey/rxdb/tree/master/examples/flutter)
-:::
-
-
-
-
-
-
-
-### Overview of Flutter Mobile Applications
-Flutter is an open-source UI software development kit created by Google that allows developers to build high-performance [mobile](./mobile-database.md) applications for iOS and Android platforms using a single codebase. Flutter's framework provides a wide range of widgets and tools that enable developers to create visually appealing and responsive applications.
-
-
-
-
-
-### Importance of Databases in Flutter Applications
-Databases play a vital role in Flutter applications by providing a persistent and reliable storage solution for storing and retrieving data. Whether it's user profiles, app settings, or complex data structures, a database helps in efficiently managing and organizing the application's data. Choosing the right database for a Flutter application can significantly impact the performance, scalability, and user experience of the app.
-
-### Introducing RxDB as a Database Solution
-RxDB is a powerful NoSQL database solution that is designed to work seamlessly with JavaScript-based frameworks, such as Flutter. It stands for Reactive Database and offers a variety of features that make it an excellent choice for building Flutter applications. RxDB combines the simplicity of JavaScript's document-based database model with the reactive programming paradigm, enabling developers to build real-time and offline-first applications with ease.
-
-## Getting Started with RxDB
-To understand how RxDB can be utilized in a Flutter application, let's explore its core features and advantages.
-
-### What is RxDB?
-[RxDB](https://rxdb.info/) is a client-side database built on top of [IndexedDB](../rx-storage-indexeddb.md), which is a low-level [browser-based database](./browser-database.md) API. It provides a simple and intuitive API for performing CRUD operations (Create, Read, Update, Delete) on documents. RxDB's underlying architecture allows for efficient handling of data synchronization between multiple clients and servers.
-
-
-
-
-
-
-
-### Reactive Data Handling
-One of the key strengths of RxDB is its reactive data handling. It leverages the power of Observables, a concept from reactive programming, to automatically update the UI in response to data changes. With RxDB, developers can define queries and subscribe to their results, ensuring that the UI is always in sync with the database.
-
-### Offline-First Approach
-RxDB follows an offline-first approach, making it ideal for building Flutter applications that need to function even without an internet connection. It allows data to be stored locally and seamlessly synchronizes it with the server when a connection is available. This ensures that users can access and interact with their data regardless of network availability.
-
-### Data Replication
-Data replication is a critical aspect of building distributed applications. RxDB provides robust replication capabilities that enable synchronization of data between different clients and servers. With its replication plugins, RxDB simplifies the process of setting up real-time data synchronization, ensuring consistency across all connected devices.
-
-### Observable Queries
-RxDB introduces the concept of observable queries, which are queries that automatically update when the underlying data changes. This feature is particularly useful for keeping the UI up to date with the latest data. By subscribing to an observable query, developers can receive real-time updates and reflect them in the user interface without manual intervention.
-
-### RxDB vs. Other Flutter Database Options
-When considering database options for Flutter applications, developers often come across alternatives such as SQLite or LokiJS. While these databases have their merits, RxDB offers several advantages over them. RxDB's seamless integration with Flutter, its offline-first approach, reactive data handling, and built-in data replication make it a compelling choice for building feature-rich and scalable Flutter applications.
-
-## Using RxDB in a Flutter Application
-Now that we understand the core features of RxDB, let's explore how to integrate it into a Flutter application.
-
-## How RxDB can run in Flutter
-
-RxDB is written in TypeScript and compiled to JavaScript. To run it in a Flutter application, the `flutter_qjs` library is used to spawn a QuickJS JavaScript runtime. RxDB itself runs in that runtime and communicates with the flutter dart runtime. To store data persistent, the [LokiJS RxStorage](../rx-storage-lokijs.md) is used together with a custom storage adapter that persists the database inside of the `shared_preferences` data.
-
-To use RxDB, you have to create a compatible JavaScript file that creates your RxDatabase and starts some connectors which are used by Flutter to communicate with the JavaScript RxDB database via setFlutterRxDatabaseConnector().
-
-```javascript
-import {
- createRxDatabase
-} from 'rxdb';
-import {
- getRxStorageLoki
-} from 'rxdb/plugins/storage-lokijs';
-import {
- setFlutterRxDatabaseConnector,
- getLokijsAdapterFlutter
-} from 'rxdb/plugins/flutter';
-
-// do all database creation stuff in this method.
-async function createDB(databaseName) {
- // create the RxDatabase
- const db = await createRxDatabase({
- // the database.name is variable so we can change it on the flutter side
- name: databaseName,
- storage: getRxStorageLoki({
- adapter: getLokijsAdapterFlutter()
- }),
- multiInstance: false
- });
- await db.addCollections({
- heroes: {
- schema: {
- version: 0,
- primaryKey: 'id',
- type: 'object',
- properties: {
- id: {
- type: 'string',
- maxLength: 100
- },
- name: {
- type: 'string',
- maxLength: 100
- },
- color: {
- type: 'string',
- maxLength: 30
- }
- },
- indexes: ['name'],
- required: ['id', 'name', 'color']
- }
- }
- });
- return db;
-}
-
-// start the connector so that flutter can communicate with the JavaScript process
-setFlutterRxDatabaseConnector(
- createDB
-);
-```
-
-Before you can use the JavaScript code, you have to bundle it into a single .js file. In this example we do that with webpack in a npm script here which bundles everything into the `javascript/dist/index.js` file.
-
-To allow Flutter to access that file during runtime, add it to the assets inside of your pubspec.yaml:
-
-```yaml
-flutter:
- assets:
- - javascript/dist/index.js
-```
-
-Also you need to install RxDB in your flutter part of the application. First you have to use the rxdb dart package as a flutter dependency. Currently the package is not published at the dart pub.dev. Instead you have to install it from the local filesystem inside of your RxDB npm installation.
-
-```yaml
-# inside of pubspec.yaml
-dependencies:
- rxdb:
- path: path/to/your/node_modules/rxdb/src/plugins/flutter/dart
-```
-
-Afterwards you can import the rxdb library in your dart code and connect to the JavaScript process from there. For reference, check out the lib/main.dart file.
-
-```dart
-import 'package:rxdb/rxdb.dart';
-
-// start the javascript process and connect to the database
-RxDatabase database = await getRxDatabase("javascript/dist/index.js", databaseName);
-
-// get a collection
-RxCollection collection = database.getCollection('heroes');
-
-// insert a document
-RxDocument document = await collection.insert({
- "id": "zflutter-${DateTime.now()}",
- "name": nameController.text,
- "color": colorController.text
-});
-
-// create a query
-RxQuery query = RxDatabaseState.collection.find();
-
-// create list to store query results
-List> documents = [];
-
-// subscribe to a query
-query.$().listen((results) {
- setState(() {
- documents = results;
- });
-});
-```
-
-### Different RxStorage layers for RxDB
-RxDB offers multiple storage options, known as RxStorage layers, to store data locally. These options include:
-
-- [LokiJS RxStorage](../rx-storage-lokijs.md): LokiJS is an in-memory database that can be used as a [storage](./browser-storage.md) layer for RxDB. It provides fast and efficient in-memory data management capabilities.
-- [SQLite RxStorage](../rx-storage-sqlite.md): SQLite is a popular and widely used [embedded database](./embedded-database.md) that offers robust storage capabilities. RxDB utilizes SQLite as a storage layer to persist data on the device.
-- [Memory RxStorage](../rx-storage-memory.md): As the name suggests, Memory RxStorage stores data [in memory](./in-memory-nosql-database.md). While this option does not provide persistence, it can be useful for temporary or cache-based data storage.
-By choosing the appropriate RxStorage layer based on the specific requirements of the application, developers can optimize performance and storage efficiency.
-
-## Synchronizing Data with RxDB between Clients and Servers
-One of the key strengths of RxDB is its ability to synchronize data between multiple clients and servers seamlessly. Let's explore how this synchronization can be achieved.
-
-### Offline-First Approach
-RxDB's offline-first approach ensures that data can be accessed and modified even when there is no internet connection. Changes made offline are automatically synchronized with the server once a connection is reestablished. This ensures data consistency across all devices, providing a seamless user experience.
-
-### RxDB Replication Plugins
-RxDB provides replication plugins that simplify the process of setting up data [synchronization between clients and servers](../replication.md). These plugins offer various synchronization strategies, such as one-way replication, two-way replication, and conflict resolution mechanisms. By configuring the appropriate replication plugin, developers can easily establish real-time data synchronization in their Flutter applications.
-
-## Advanced RxDB Features and Techniques
-RxDB offers a range of advanced features and techniques that enhance its functionality and performance. Let's explore a few of these features:
-
-### Indexing and Performance Optimization
-Indexing is a technique used to optimize query performance by creating indexes on specific fields. RxDB allows developers to define indexes on document fields, improving the efficiency of queries and data retrieval.
-
-### Encryption of Local Data
-To ensure data privacy and security, RxDB supports [encryption of local data](../encryption.md). By encrypting the data stored on the device, developers can protect sensitive information and prevent unauthorized access.
-
-### Change Streams and Event Handling
-RxDB provides change streams, which emit events whenever data changes occur. By leveraging change streams, developers can implement custom event handling logic, such as updating the UI or triggering background processes, in response to specific data changes.
-
-### JSON Key Compression
-To minimize storage requirements and optimize performance, RxDB offers [JSON key compression](../key-compression.md). This feature reduces the size of keys used in the database, resulting in more efficient storage and improved query performance.
-
-## Conclusion
-RxDB offers a powerful and flexible database solution for Flutter applications. With its offline-first approach, real-time data synchronization, and reactive data handling capabilities, RxDB simplifies the development of feature-rich and scalable Flutter applications. By integrating RxDB into your Flutter projects, you can leverage its advanced features and techniques to build responsive and data-driven applications that provide an exceptional user experience.
-
-:::note
-You can find the source code for an example RxDB Flutter Application [at the github repo](https://github.com/pubkey/rxdb/tree/master/examples/flutter)
-:::
diff --git a/docs/articles/frontend-database.html b/docs/articles/frontend-database.html
deleted file mode 100644
index 3cf213783d6..00000000000
--- a/docs/articles/frontend-database.html
+++ /dev/null
@@ -1,119 +0,0 @@
-
-
-
-
-
-RxDB - The Ultimate JS Frontend Database | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
RxDB JavaScript Frontend Database: Efficient Data Storage in Frontend Applications
-
In modern web development, managing data on the front end has become increasingly important. Storing data in the frontend offers numerous advantages, such as offline accessibility, caching, faster application startup, and improved state management. Traditional SQL databases, although widely used on the server-side, are not always the best fit for frontend applications. This is where RxDB, a frontend JavaScript database, emerges as a powerful solution. In this article, we will explore why storing data in the frontend is beneficial, the limitations of SQL databases in the frontend, and how RxDB addresses these challenges to become an excellent choice for frontend data storage.
One compelling reason to store data in the frontend is to enable offline accessibility. By leveraging a frontend database, applications can cache essential data locally, allowing users to continue using the application even when an internet connection is unavailable. This feature is particularly useful for mobile applications or web apps with limited or intermittent connectivity.
Frontend databases also serve as efficient caching mechanisms. By storing frequently accessed data locally, applications can minimize network requests and reduce latency, resulting in faster and more responsive user experiences. Caching is particularly beneficial for applications that heavily rely on remote data or perform computationally intensive operations.
Storing data in the frontend decreases the initial application start time because the data is already present locally. By eliminating the need to fetch data from a server during startup, applications can quickly render the UI and provide users with an immediate interactive experience. This is especially advantageous for applications with large datasets or complex data retrieval processes.
Security is a crucial aspect of data storage. With a front end database, developers can encrypt sensitive local data, such as user credentials or personal information, using encryption algorithms. This ensures that even if the device is compromised, the data remains securely stored and protected.
Frontend databases provide an alternative to traditional state management libraries like Redux or NgRx. By utilizing a local database, developers can store and manage application state directly in the frontend, eliminating the need for additional libraries. This approach simplifies the codebase, reduces complexity, and provides a more straightforward data flow within the application.
Frontend databases enable low-latency queries that run entirely on the client's device. Instead of relying on server round-trips for each query, the database executes queries locally, resulting in faster response times. This is particularly beneficial for applications that require real-time updates or frequent data retrieval.
Realtime applications often require immediate updates based on data changes. By storing data locally and utilizing a frontend database, developers can build realtime applications more easily. The database can observe data changes and automatically update the UI, providing a seamless and responsive user experience.
Frontend databases, including RxDB, are designed to integrate seamlessly with popular JavaScript frameworks such as Angular, React.js, Vue.js, and Svelte. These databases offer well-defined APIs and support that align with the specific requirements of these frameworks, enabling developers to leverage the full potential of the frontend database within their preferred development environment.
Replicating database state between the frontend and backend can be challenging, especially when dealing with complex REST routes. Frontend databases, however, provide simple mechanisms for replicating database state. They offer intuitive replication algorithms that facilitate data synchronization between the frontend and backend, reducing the complexity and potential pitfalls associated with complex REST-based replication.
Frontend databases offer improved scalability compared to traditional SQL databases. By leveraging the computational capabilities of client devices, the burden on server resources is reduced. Queries and operations are performed locally, minimizing the need for server round-trips and enabling applications to scale more efficiently.
-
Why SQL databases are not a good fit for the front end of an application
-
While SQL databases excel in server-side scenarios, they pose limitations when used on the frontend. Here are some reasons why SQL databases are not well-suited for frontend applications:
SQL databases typically rely on a push/pull model, where the server pushes data to the client upon request. This approach is not inherently reactive, as it requires explicit requests for data updates. In contrast, frontend applications often require reactive data flows, where changes in data trigger automatic updates in the UI. Frontend databases, like RxDB, provide reactive capabilities that seamlessly integrate with the dynamic nature of frontend development.
SQL databases designed for server-side usage tend to have larger build sizes and initialization times, making them less efficient for browser-based applications. Frontend databases, on the other hand, directly leverage browser APIs like IndexedDB, OPFS, and WebWorker, resulting in leaner builds and faster initialization times. Often the queries are such fast, that it is not even necessary to implement a loading spinner.
Server-side SQL databases typically come with a significant build size, which can be impractical for browser applications where code size optimization is crucial. Frontend databases, on the other hand, are specifically designed to operate within the constraints of browser environments, ensuring efficient resource utilization and smaller build sizes.
-
For example the SQLite Webassembly file alone has a size of over 0.8 Megabyte with an additional 0.2 Megabyte in JavaScript code for connection.
RxDB is a powerful frontend JavaScript database that addresses the limitations of SQL databases and provides an optimal solution for frontend data storage. Let's explore why RxDB is an excellent fit for frontend applications:
-
Made in JavaScript, optimized for JavaScript applications
-
RxDB is designed and optimized for JavaScript applications. Built using JavaScript itself, RxDB offers seamless integration with JavaScript frameworks and libraries, allowing developers to leverage their existing JavaScript knowledge and skills.
RxDB adopts a NoSQL approach, using JSON documents as its primary data structure. This aligns well with the JavaScript ecosystem, as JavaScript natively works with JSON objects. By using NoSQL documents, RxDB provides a more natural and intuitive data model for UI-centric applications.
TypeScript has become increasingly popular for building frontend applications. RxDB provides excellent TypeScript support, allowing developers to leverage static typing and benefit from enhanced code quality and tooling. This is particularly advantageous when compared to SQL databases, which often have limited TypeScript support.
RxDB introduces the concept of observable queries, powered by RxJS. Observable queries automatically update the UI whenever there are changes in the underlying data. This reactive approach eliminates the need for manual UI updates and ensures that the frontend remains synchronized with the database state.
-
-
Optimized observed queries with the EventReduce Algorithm
-
RxDB optimizes observed queries with its EventReduce Algorithm. This algorithm intelligently reduces redundant events and ensures that UI updates are performed efficiently. By minimizing unnecessary re-renders, RxDB significantly improves performance and responsiveness in frontend applications.
RxDB supports observable document fields, enabling developers to track changes at a granular level within documents. By observing specific fields, developers can reactively update the UI when those fields change, ensuring a responsive and synchronized frontend interface.
-
myDocument.firstName$.subscribe(newName => console.log('name is: ' + newName));
RxDB provides the option to store documents in a compressed format, reducing storage requirements and improving overall database performance. Compressed storage offers benefits such as reduced disk space usage, faster data read/write operations, and improved network transfer speeds, making it an essential feature for efficient frontend data storage.
RxDB offers built-in multi-tab support, allowing data synchronization and state management across multiple browser tabs. This feature ensures consistent data access and synchronization, enabling users to work seamlessly across different tabs without conflicts or data inconsistencies.
-
-
Replication Algorithm can be made compatible with any backend
-
RxDB's realtime replication algorithm is designed to be flexible and compatible with various backend systems. Whether you're using your own servers, Firebase, CouchDB, NATS, WebSocket, or any other backend, RxDB can be seamlessly integrated and synchronized with the backend system of your choice.
RxDB provides a flexible storage layer that enables code reuse across different platforms. Whether you're building applications with Electron.js, React Native, hybrid apps using Capacitor.js, or traditional web browsers, RxDB allows you to reuse the same codebase and leverage the power of a frontend database across different environments.
-
Handling schema changes in distributed environments
-
In distributed environments where data is stored on multiple client devices, handling schema changes can be challenging. RxDB tackles this challenge by providing robust mechanisms for handling schema changes. It ensures that schema updates propagate smoothly across devices, maintaining data integrity and enabling seamless schema evolution.
To further explore RxDB and get started with using it in your frontend applications, consider the following resources:
-
-
RxDB Quickstart: A step-by-step guide to quickly set up RxDB in your project and start leveraging its features.
-
RxDB GitHub Repository: The official repository for RxDB, where you can find the code, examples, and community support.
-
-
By adopting RxDB as your frontend database, you can unlock the full potential of frontend data storage and empower your applications with offline accessibility, caching, improved performance, and seamless data synchronization. RxDB's JavaScript-centric approach and powerful features make it an ideal choice for frontend developers seeking efficient and scalable data storage solutions.
-
-
\ No newline at end of file
diff --git a/docs/articles/frontend-database.md b/docs/articles/frontend-database.md
deleted file mode 100644
index f194abfb81d..00000000000
--- a/docs/articles/frontend-database.md
+++ /dev/null
@@ -1,131 +0,0 @@
-# RxDB - The Ultimate JS Frontend Database
-
-> Discover how RxDB, a powerful JavaScript frontend database, boosts offline access, caching, and real-time updates to supercharge your web apps.
-
-# RxDB JavaScript Frontend Database: Efficient Data Storage in Frontend Applications
-In modern web development, managing data on the front end has become increasingly important. Storing data in the frontend offers numerous advantages, such as offline accessibility, caching, faster application startup, and improved state management. Traditional SQL databases, although widely used on the server-side, are not always the best fit for frontend applications. This is where [RxDB](https://rxdb.info/), a frontend JavaScript database, emerges as a powerful solution. In this article, we will explore why storing data in the frontend is beneficial, the limitations of SQL databases in the frontend, and how [RxDB](https://rxdb.info/) addresses these challenges to become an excellent choice for frontend data storage.
-
-
-
-
-
-
-
-## Why you might want to store data in the frontend
-
-### Offline accessibility
-One compelling reason to store data in the frontend is to enable [offline accessibility](../offline-first.md). By leveraging a frontend database, applications can cache essential data locally, allowing users to continue using the application even when an internet connection is unavailable. This feature is particularly useful for [mobile](./mobile-database.md) applications or web apps with limited or intermittent connectivity.
-
-### Caching
-Frontend databases also serve as efficient caching mechanisms. By storing frequently accessed data locally, applications can minimize network requests and reduce latency, resulting in faster and more responsive user experiences. Caching is particularly beneficial for applications that heavily rely on remote data or perform computationally intensive operations.
-
-### Decreased initial application start time
-Storing data in the frontend decreases the initial application start time because the data is already present locally. By eliminating the need to fetch data from a server during startup, applications can quickly render the UI and provide users with an immediate interactive experience. This is especially advantageous for applications with large datasets or complex data retrieval processes.
-
-### Password encryption for local data
-Security is a crucial aspect of data storage. With a front end database, developers can [encrypt](../encryption.md) sensitive local data, such as user credentials or personal information, using encryption algorithms. This ensures that even if the device is compromised, the data remains securely stored and protected.
-
-### Local database for state management
-Frontend databases provide an alternative to traditional state management libraries like Redux or NgRx. By utilizing a local database, developers can store and manage application state directly in the frontend, eliminating the need for additional libraries. This approach simplifies the codebase, reduces complexity, and provides a more straightforward data flow within the application.
-
-### Low-latency local queries
-Frontend databases enable low-latency queries that run entirely on the client's device. Instead of relying on server round-trips for each query, the database executes queries locally, resulting in faster response times. This is particularly beneficial for applications that require real-time updates or frequent data retrieval.
-
-
-
-### Building realtime applications with local data
-Realtime applications often require immediate updates based on data changes. By storing data locally and utilizing a frontend database, developers can build [realtime applications](./realtime-database.md) more easily. The database can observe data changes and automatically update the UI, providing a seamless and responsive user experience.
-
-### Easier integration with JavaScript frameworks
-Frontend databases, including RxDB, are designed to integrate seamlessly with popular JavaScript frameworks such as [Angular](./angular-database.md), [React.js](./react-database.md), [Vue.js](./vue-database.md), and Svelte. These databases offer well-defined APIs and support that align with the specific requirements of these frameworks, enabling developers to leverage the full potential of the frontend database within their preferred development environment.
-
-### Simplified replication of database state
-Replicating database state between the frontend and backend can be challenging, especially when dealing with complex REST routes. Frontend databases, however, provide simple mechanisms for replicating database state. They offer intuitive replication algorithms that facilitate data synchronization between the frontend and backend, reducing the complexity and potential pitfalls associated with complex REST-based replication.
-
-### Improved scalability
-Frontend databases offer improved scalability compared to traditional SQL databases. By leveraging the computational capabilities of client devices, the burden on server resources is reduced. Queries and operations are performed locally, minimizing the need for server round-trips and enabling applications to scale more efficiently.
-
-## Why SQL databases are not a good fit for the front end of an application
-While SQL databases excel in server-side scenarios, they pose limitations when used on the frontend. Here are some reasons why SQL databases are not well-suited for frontend applications:
-
-### Push/Pull based vs. reactive
-SQL databases typically rely on a push/pull model, where the server pushes data to the client upon request. This approach is not inherently reactive, as it requires explicit requests for data updates. In contrast, frontend applications often require reactive data flows, where changes in data trigger automatic updates in the UI. Frontend databases, like [RxDB](https://rxdb.info/), provide reactive capabilities that seamlessly integrate with the dynamic nature of frontend development.
-
-### Initialization time and performance
-SQL databases designed for server-side usage tend to have larger build sizes and initialization times, making them less efficient for [browser-based](./browser-database.md) applications. Frontend databases, on the other hand, directly leverage browser APIs like [IndexedDB](../rx-storage-indexeddb.md), [OPFS](../rx-storage-opfs.md), and [WebWorker](../rx-storage-worker.md), resulting in leaner builds and faster initialization times. Often the queries are such fast, that it is not even necessary to implement a loading spinner.
-
-
-
-### Build size considerations
-Server-side SQL databases typically come with a significant build size, which can be impractical for browser applications where code size optimization is crucial. Frontend databases, on the other hand, are specifically designed to operate within the constraints of browser environments, ensuring efficient resource utilization and smaller build sizes.
-
-For example the SQLite Webassembly file alone has a size of over 0.8 Megabyte with an additional 0.2 Megabyte in JavaScript code for connection.
-
-## Why RxDB is a good fit for the frontend
-RxDB is a powerful frontend JavaScript database that addresses the limitations of SQL databases and provides an optimal solution for frontend [data storage](./browser-storage.md). Let's explore why RxDB is an excellent fit for frontend applications:
-
-### Made in JavaScript, optimized for JavaScript applications
-RxDB is designed and optimized for JavaScript applications. Built using JavaScript itself, RxDB offers seamless integration with JavaScript frameworks and libraries, allowing developers to leverage their existing JavaScript knowledge and skills.
-
-### NoSQL (JSON) documents for UIs
-RxDB adopts a [NoSQL approach](./in-memory-nosql-database.md), using [JSON documents as its primary data structure](./json-database.md). This aligns well with the JavaScript ecosystem, as JavaScript natively works with JSON objects. By using NoSQL documents, RxDB provides a more natural and intuitive data model for UI-centric applications.
-
-
-
-### Better TypeScript support compared to SQL
-TypeScript has become increasingly popular for building frontend applications. RxDB provides excellent [TypeScript support](../tutorials/typescript.md), allowing developers to leverage static typing and benefit from enhanced code quality and tooling. This is particularly advantageous when compared to SQL databases, which often have limited TypeScript support.
-
-### Observable Queries for automatic UI updates
-RxDB introduces the concept of observable queries, powered by RxJS. Observable queries automatically update the UI whenever there are changes in the underlying data. This reactive approach eliminates the need for manual UI updates and ensures that the frontend remains synchronized with the database state.
-
-
-
-### Optimized observed queries with the EventReduce Algorithm
-RxDB optimizes observed queries with its EventReduce Algorithm. This algorithm intelligently reduces redundant events and ensures that UI updates are performed efficiently. By minimizing unnecessary re-renders, RxDB significantly improves performance and responsiveness in frontend applications.
-
-```typescript
-const query = myCollection.find({
- selector: {
- age: {
- $gt: 21
- }
- }
-});
-const querySub = query.$.subscribe(results => {
- console.log('got results: ' + results.length);
-});
-```
-
-### Observable document fields
-RxDB supports observable document fields, enabling developers to track changes at a granular level within documents. By observing specific fields, developers can reactively update the UI when those fields change, ensuring a responsive and synchronized frontend interface.
-
-```typescript
-myDocument.firstName$.subscribe(newName => console.log('name is: ' + newName));
-```
-
-### Storing Documents Compressed
-RxDB provides the option to store documents in a [compressed format](../key-compression.md), reducing storage requirements and improving overall database performance. Compressed storage offers benefits such as reduced disk space usage, faster data read/write operations, and improved network transfer speeds, making it an essential feature for efficient frontend data storage.
-
-### Built-in Multi-tab support
-RxDB offers built-in multi-tab support, allowing data synchronization and state management across multiple browser tabs. This feature ensures consistent data access and synchronization, enabling users to work seamlessly across different tabs without conflicts or data inconsistencies.
-
-
-
-### Replication Algorithm can be made compatible with any backend
-RxDB's [realtime replication algorithm](../replication.md) is designed to be flexible and compatible with various backend systems. Whether you're using your own servers, [Firebase](../replication-firestore.md), [CouchDB](../replication-couchdb.md), [NATS](../replication-nats.md), [WebSocket](../replication-websocket.md), or any other backend, RxDB can be seamlessly integrated and synchronized with the backend system of your choice.
-
-
-
-### Flexible storage layer for code reuse
-RxDB provides a [flexible storage layer](../rx-storage.md) that enables code reuse across different platforms. Whether you're building applications with [Electron.js](../electron-database.md), [React Native](../react-native-database.md), hybrid apps using [Capacitor.js](../capacitor-database.md), or traditional web browsers, RxDB allows you to reuse the same codebase and leverage the power of a frontend database across different environments.
-
-### Handling schema changes in distributed environments
-In distributed environments where data is stored on multiple client devices, handling schema changes can be challenging. RxDB tackles this challenge by providing robust mechanisms for [handling schema changes](../migration-schema.md). It ensures that schema updates propagate smoothly across devices, maintaining data integrity and enabling seamless schema evolution.
-
-## Follow Up
-To further explore RxDB and get started with using it in your frontend applications, consider the following resources:
-
-- [RxDB Quickstart](../quickstart.md): A step-by-step guide to quickly set up RxDB in your project and start leveraging its features.
-- [RxDB GitHub Repository](https://github.com/pubkey/rxdb): The official repository for RxDB, where you can find the code, examples, and community support.
-
-By adopting [RxDB](https://rxdb.info/) as your frontend database, you can unlock the full potential of frontend data storage and empower your applications with offline accessibility, caching, improved performance, and seamless data synchronization. RxDB's JavaScript-centric approach and powerful features make it an ideal choice for frontend developers seeking efficient and scalable data storage solutions.
diff --git a/docs/articles/ideas.md b/docs/articles/ideas.md
deleted file mode 100644
index bccca3271b0..00000000000
--- a/docs/articles/ideas.md
+++ /dev/null
@@ -1,100 +0,0 @@
-# ideas for articles
-
-> - storing and searching through 1mio emails in a browser database
-- Finding the optimal way to shorten vector embeddings
-- Performance and quality of vector comparison functions (euclideanDistance etc)
-- performance and quality of vector indexing methods
-- What is new in IndexedDB 3.0
-- how progressive syncing beats client-server architecture
-
-# ideas for articles
-
-- storing and searching through 1mio emails in a browser database
-- Finding the optimal way to shorten vector embeddings
-- Performance and quality of vector comparison functions (euclideanDistance etc)
-- performance and quality of vector indexing methods
-- What is new in IndexedDB 3.0
-- how progressive syncing beats client-server architecture
-
-## Seo keywords:
-
-X- "optimistic ui"
-X- "local database" (rddt done)
-X- "react-native encryption"
-X- "vue database" (rddt done)
-X- "jquery database"
-X- "vue indexeddb"
-X- "firebase realtime database alternative" (rddt done)
-X- "firestore alternative" (rddt done)
-X- "ionic storage" (rddt done)
-X- "local database"
-X- "offline database"
-X- "zero local first"
-X- "webrtc p2p" - 390 http://localhost:3000/replication-webrtc.html
-
-X- "indexeddb storage limit" - 590 https://rxdb.info/articles/indexeddb-max-storage-limit.html
-X- "indexeddb size limit" - 260 https://rxdb.info/articles/indexeddb-max-storage-limit.html
-X- "indexeddb max size" - 590 https://rxdb.info/articles/indexeddb-max-storage-limit.html
-X- "indexeddb limits" - 170 https://rxdb.info/articles/indexeddb-max-storage-limit.html
-
-X- "json based database"
-X- "json vs database"
-X- "reactjs storage"
-
-## Seo
-
-- "supabase alternative"
-- "store local storage"
-- "react localstorage"
-- "react-native storage"
-- "supabase offline" - 260
-- "store array in localstorage", "localStorage array of objects"
-- "real time web apps" - 170
-- "reactive database" - 210
-- "electron sqlite"
-- "in browser database" - 90
-- "offline first app" - 260
-- "react native sql" - 110
-- "sqlite electron"
-- "localstorage vs indexeddb"
-- "react native nosql database" - 30
-- "indexeddb library" - 260
-- "indexeddb encryption" - 90
-- "client side database" - 140
-- "webtransport vs websocket"
-- "local first development" - 210
-- "local storage examples"
-- "local vector database" - 590
-- "mobile app database" - 590
-- "web based database"
-- "livequery" - 210
-- "expo database" - 390
-- "database sync" - 8100
-- "p2p database" - 170
-- "reactive app" - 260
-- "offline web app" - 320
-- "offline sync" - 320
-- "react native encrypted storage" - 1000
-- "firestore vs firebase" - 1300
-- "ionic alternatives" - 480
-- "react native backend" - 720
-- "react native alternative" - 1000
-- "react native sqlite" - 1900
-- "flutter vs react native" - 5400
-- "react native redux" - 3600
-- "redux alternative" - 1300
-- "Awesome local first" - 10
-- "tauri database" - 170
-
-- "sqlite javascript" - 2900
-- "sqlite typescript" - 260
-
-- "sync engine" - 390
-- "indexeddb alternative" - 70
-
-## Non Seo
-
-- "Local-First Partial Sync with RxDB"
-- "why the indexeddb API is almost perfekt"
-- "how to do auth with RxDB"
-- "Where to store that JWT token?"
diff --git a/docs/articles/ideas/index.html b/docs/articles/ideas/index.html
deleted file mode 100644
index 3e353d4c23e..00000000000
--- a/docs/articles/ideas/index.html
+++ /dev/null
@@ -1,216 +0,0 @@
-
-
-
-
-
-ideas for articles | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
RxDB as In-memory NoSQL Database: Empowering Real-Time Applications
-
Real-time applications have become increasingly popular in today's digital landscape. From instant messaging to collaborative editing tools, the demand for responsive and interactive software is on the rise. To meet these requirements, developers need powerful and efficient database solutions that can handle large amounts of data in real-time. RxDB, an javascript NoSQL database, is revolutionizing the way developers build and scale their applications by offering exceptional speed, flexibility, and scalability.
One of the key advantages of using RxDB as an in-memory NoSQL database is its ability to leverage in-memory storage for faster database operations. By storing data directly in memory, database operations can be performed significantly faster compared to traditional disk-based databases. This is especially important for real-time applications where every millisecond counts. With RxDB, developers can achieve near-instantaneous data access and manipulation, enabling highly responsive user experiences.
-
Additionally, RxDB eliminates disk I/O bottlenecks that are typically associated with traditional databases. In traditional databases, disk reads and writes can become a bottleneck as the amount of data grows. In contrast, an in-memory database like RxDB keeps the entire dataset in RAM, eliminating disk access overhead. This makes it an excellent choice for applications dealing with real-time analytics, high-throughput data processing, and caching.
While RxDB offers an in-memory storage adapter, it also offers persistence storages. Adapters such as IndexedDB, SQLite, and OPFS enable developers to persist data locally in the browser, making applications accessible even when offline. This hybrid approach combines the benefits of in-memory performance with data durability, providing the best of both worlds. Developers can choose the adapter that best suits their needs, balancing the speed of in-memory storage with the long-term data persistence required for certain applications.
-
import {
- createRxDatabase
-} from 'rxdb';
-import {
- getRxStorageMemory
-} from 'rxdb/plugins/storage-memory';
-
-const db = await createRxDatabase({
- name: 'exampledb',
- storage: getRxStorageMemory()
-});
-
Also the memory mapped RxStorage exists as a wrapper around any other RxStorage. The wrapper creates an in-memory storage that is used for query and write operations. This memory instance is replicated with the underlying storage for persistence. The main reason to use this is to improve initial page load and query/write times. This is mostly useful in browser based applications.
RxDB's capabilities make it well-suited for various real-time applications. Some notable use cases include:
-
-
-
Chat Applications and Real-Time Messaging: RxDB's in-memory performance and real-time synchronization capabilities make it an excellent choice for building chat applications and real-time messaging systems. Developers can ensure that messages are delivered and synchronized across multiple clients in real-time, providing a seamless and responsive chat experience.
-
-
-
Collaborative Document Editors: RxDB's ability to handle data streams and propagate changes in real-time makes it ideal for collaborative document editing. Multiple users can simultaneously edit a document, and their changes are instantly synchronized, allowing for real-time collaboration and ensuring that everyone has the most up-to-date version of the document.
-
-
-
Real-Time Analytics Dashboards: RxDB's speed and scalability make it a valuable tool for real-time analytics dashboards. It can handle high volumes of data and perform complex analytics operations in real-time, providing instant insights and visualizations to users.
-
-
-
In conclusion, RxDB serves as a powerful in-memory NoSQL database that empowers developers to build real-time applications with exceptional speed, flexibility, and scalability. Its ability to leverage in-memory storage, eliminate disk I/O bottlenecks, and provide persistence options make it an attractive choice for a wide range of real-time use cases. Whether it's chat applications, collaborative document editors, or real-time analytics dashboards, RxDB provides the foundation for building responsive and interactive software that meets the demands of today's users.
-
-
\ No newline at end of file
diff --git a/docs/articles/in-memory-nosql-database.md b/docs/articles/in-memory-nosql-database.md
deleted file mode 100644
index 4ef9076b1fa..00000000000
--- a/docs/articles/in-memory-nosql-database.md
+++ /dev/null
@@ -1,48 +0,0 @@
-# RxDB In-Memory NoSQL - Supercharge Real-Time Apps
-
-> Discover how RxDB's in-memory NoSQL engine delivers blazing speed for real-time apps, ensuring responsive experiences and seamless data sync.
-
-# RxDB as In-memory NoSQL Database: Empowering Real-Time Applications
-
-Real-time applications have become increasingly popular in today's digital landscape. From instant messaging to collaborative editing tools, the demand for responsive and interactive software is on the rise. To meet these requirements, developers need powerful and efficient database solutions that can handle large amounts of data in real-time. [RxDB](https://rxdb.info/), an javascript NoSQL database, is revolutionizing the way developers build and scale their applications by offering exceptional speed, flexibility, and scalability.
-
-
-
-
-
-
-
-## Speed and Performance Benefits
-One of the key advantages of using RxDB as an in-memory NoSQL database is its ability to leverage in-memory storage for faster database operations. By storing data directly in memory, database operations can be performed significantly faster compared to traditional disk-based databases. This is especially important for real-time applications where every millisecond counts. With RxDB, developers can achieve near-instantaneous data access and manipulation, enabling highly responsive user experiences.
-
-Additionally, RxDB eliminates disk I/O bottlenecks that are typically associated with traditional databases. In traditional databases, disk reads and writes can become a bottleneck as the amount of data grows. In contrast, an in-memory database like RxDB keeps the entire dataset in RAM, eliminating disk access overhead. This makes it an excellent choice for applications dealing with real-time analytics, high-throughput data processing, and caching.
-
-## Persistence Options
-While RxDB offers an [in-memory](../rx-storage-memory.md) storage adapter, it also offers [persistence storages](../rx-storage.md). Adapters such as [IndexedDB](../rx-storage-indexeddb.md), [SQLite](../rx-storage-sqlite.md), and [OPFS](../rx-storage-opfs.md) enable developers to persist data locally in the browser, making applications accessible even when offline. This hybrid approach combines the benefits of in-memory performance with data durability, providing the best of both worlds. Developers can choose the adapter that best suits their needs, balancing the speed of in-memory storage with the long-term data persistence required for certain applications.
-
-```javascript
-import {
- createRxDatabase
-} from 'rxdb';
-import {
- getRxStorageMemory
-} from 'rxdb/plugins/storage-memory';
-
-const db = await createRxDatabase({
- name: 'exampledb',
- storage: getRxStorageMemory()
-});
-```
-
-Also the [memory mapped RxStorage](../rx-storage-memory-mapped.md) exists as a wrapper around any other RxStorage. The wrapper creates an in-memory storage that is used for query and write operations. This memory instance is replicated with the underlying storage for persistence. The main reason to use this is to improve initial page load and query/write times. This is mostly useful in browser based applications.
-
-## Use Cases for RxDB
-RxDB's capabilities make it well-suited for various real-time applications. Some notable use cases include:
-
-- Chat Applications and Real-Time Messaging: RxDB's in-memory performance and real-time synchronization capabilities make it an excellent choice for building chat applications and real-time messaging systems. Developers can ensure that messages are delivered and synchronized across multiple clients in real-time, providing a seamless and responsive chat experience.
-
-- Collaborative Document Editors: RxDB's ability to handle data streams and propagate changes in real-time makes it ideal for collaborative document editing. Multiple users can simultaneously edit a document, and their changes are instantly synchronized, allowing for real-time collaboration and ensuring that everyone has the most up-to-date version of the document.
-
-- Real-Time Analytics Dashboards: RxDB's speed and scalability make it a valuable tool for real-time analytics dashboards. It can handle high volumes of data and perform complex analytics operations in real-time, providing instant insights and visualizations to users.
-
-In conclusion, RxDB serves as a powerful in-memory NoSQL database that empowers developers to build real-time applications with exceptional speed, flexibility, and scalability. Its ability to leverage in-memory storage, eliminate disk I/O bottlenecks, and provide persistence options make it an attractive choice for a wide range of real-time use cases. Whether it's chat applications, collaborative document editors, or real-time analytics dashboards, RxDB provides the foundation for building responsive and interactive software that meets the demands of today's users.
diff --git a/docs/articles/indexeddb-max-storage-limit.html b/docs/articles/indexeddb-max-storage-limit.html
deleted file mode 100644
index b034853766b..00000000000
--- a/docs/articles/indexeddb-max-storage-limit.html
+++ /dev/null
@@ -1,123 +0,0 @@
-
-
-
-
-
-IndexedDB Max Storage Size Limit - Detailed Best Practices | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
IndexedDB is widely known as the primary browser-based storage API for large client-side data, particularly valuable for modern offline-first applications. These apps aim to keep everything functional and interactive even without an internet connection, which naturally demands substantial local storage. However, IndexedDB has various size limits depending on the browser, disk space, and user settings. Being aware of these constraints is crucial so you can avoid quota errors and deliver a seamless user experience without unexpected data loss.
-
Offline-first apps have grown in popularity because they provide immediate feedback, zero-latency interactions, and resilience in poor network conditions. Storing big data sets, or even entire data models, in IndexedDB has become far more common than in the era of small localStorage or cookie usage. But all this local data is subject to quotas, and that’s exactly what this guide will help you understand and manage.
Browsers need a way to curb runaway disk usage and safeguard user resources. This is accomplished through quota management policies, which can vary among Chrome, Firefox, Safari, Edge, and others. Some browsers use a percentage of your total disk space, while others rely on a fixed maximum or dynamic approach per origin. These policies are designed to prevent malicious or poorly optimized web pages from consuming an unreasonable amount of user storage.
-
Chrome (and Chromium-based browsers) typically allow you to use a percentage of the user’s free disk space, whereas Firefox historically prompts users to allow more than 5 MB in mobile or 50 MB in desktop. Safari often sets tighter maximum caps, especially on iOS devices. Edge aligns closely with Chrome’s rules but can also include enterprise or corporate policy overrides. Understanding these default or dynamic limits prepares you to plan your app’s storage needs appropriately.
IndexedDB size quotas differ significantly across browsers and platforms. While there isn’t a universal rule, the following table summarizes approximate limits and any notes or caveats you should be aware of:
-
Browser
Approx. Limit
Notes
Chrome/Chromium
Up to ~80% of free disk, per origin cap
Often cited as 60 GB on a 100 GB drive. Shared pool approach. Quota usage can prompt partial or extended user approvals.
Firefox
~2 GB (desktop) or ~5 MB initial for mobile
Older versions asked permission at 50 MB for desktop. Ephemeral/incognito sessions may require repeated user prompts.
Safari (iOS)
~1 GB per origin (variable)
Historically stricter. iOS devices limit quotas further. Behavior can differ between iOS Safari versions or iPadOS.
Edge
Similar to Chrome’s 80% of free space
Can be influenced by Windows enterprise policies. Generally aligned with Chromium approach.
iOS Safari
Typically 1 GB, can be less on older iOS
Early iOS versions were known for more aggressive quotas and data eviction on low space.
Android Chrome
Similar to desktop Chrome
May exhibit warnings in especially low-storage devices. The same 80% free space logic generally applies.
-
Historically, these limits have evolved. For instance, older Firefox versions included dom.indexedDB.warningQuota, showing a 50 MB prompt on desktop or a 5 MB prompt on mobile—many developers wrote about these notifications on Stack Overflow. Since around 2015, Firefox has changed its quota approach significantly. Likewise, Safari used to limit data more aggressively on older iOS versions. Some older tutorials suggest comparing IndexedDB to localStorage, but modern browsers allow far larger and more flexible storage with IndexedDB than the old localStorage or cookie-based setups.
To assess where your app stands relative to these storage limits, you can use the Storage Estimation API. The snippet below shows how to estimate both your used storage and the total space allocated to your origin:
Some browsers (all modern ones) also provide a navigator.storage.persist() method to request persistent storage, preventing the browser from automatically clearing your data if the user’s device runs low on space. Note that users might deny such requests, or the request might fail silently on stricter environments. Always handle these outcomes gracefully and design your app to degrade if persistent storage is unavailable.
The best way to handle real-world usage is to test for low storage conditions and large data sets in different environments. You can fill up the space manually by writing repetitive test data or running scripts that bulk-insert documents until an error occurs.
-
Real-time usage monitors or dashboards can keep track of your navigator.storage.estimate() results, letting you see how close you are to the max limit in production. Developer tools in Chrome or Firefox can simulate limited storage situations, which is crucial for QA:
-
0:42
Simulate low storage quota with DevTools
-
-
This short tutorial shows how you can artificially reduce available storage in Google Chrome’s dev tools to see how your app behaves when nearing or exceeding the quota.
When the user’s device is too full or your app exceeds the allotted quota, most browsers will throw a QuotaExceededError (or similarly named exception) when trying to store additional data. Often, the request to IndexedDB simply fails with an error event. Handling this gracefully is essential to avoid crashes or data corruption.
-
A typical approach is to wrap your write operations in try/catch blocks or in onsuccess / onerror event callbacks. If you detect a quota error, you can prompt the user to clear out old items or reduce the scope of offline data. Some apps implement a fallback system that removes less critical documents to free space and then retries the write.
-
try {
- const tx = db.transaction('largeStore', 'readwrite');
- const store = tx.objectStore('largeStore');
- await store.add(hugeData, someKey);
- await tx.done;
-} catch (error) {
- if (error.name === 'QuotaExceededError') {
- console.warn('IndexedDB quota exceeded. Cleanup or prompt user to free space.');
- // Optionally remove older data or show a UI hint:
- // removeOldDocuments();
- // displayStorageFullDialog();
- } else {
- // handle other errors
- console.error('IndexedDB write error:', error);
- }
-}
Even if you plan well, your app might need more storage than a single origin typically allows. There are a few advanced tactics you can use:
-
If you store binary data such as images or videos, consider compressing them via the Compression Streams API. For textual or JSON data, a library like RxDB supports built-in key-compression to shorten field names or entire documents. This can be extremely helpful when storing large sets of objects:
Sharding data across multiple subdomains or iframes is another trick, though it complicates communication. When you need truly massive offline data, you might store part of the data under sub1.yoursite.com and another chunk under sub2.yoursite.com, using postMessage() to coordinate. This can circumvent single-origin limitations, but it introduces extra complexity. Another effective method is to let data expire automatically—perhaps older records are removed if they haven’t been accessed for a certain period.
There is no explicit cap on how large an individual object or record in IndexedDB can be, other than the overall disk quota. If you attempt to store one extremely large object, you will eventually hit browser memory constraints or the global storage quota. In practice, you’ll encounter out-of-memory issues in JavaScript before IndexedDB itself refuses a single large write. A helpful test can be seen in this JSFiddle experiment where you see browsers can crash when creating massive in-memory objects.
-
Is There a Time Limit for Data Stored in IndexedDB?
-
IndexedDB data can remain indefinitely as long as the user does not clear the browser’s data or the origin does not run afoul of automated eviction policies (e.g., Safari or Android might remove large caches for sites unused over a long period when space is needed). Typically, there is no “time limit,” but ephemeral modes or incognito sessions have their own rules. If you rely on permanent offline data, request persistent storage and handle the possibility that the user or the OS could still remove your data under extreme conditions. Especially Safari is known to be very fast in deleting local data.
Learn more by checking the IndexedDB official docs, which detail store design, error handling, and quota usage. If you need a straightforward way to manage large offline data with compression and conflict resolution, explore the RxDB Quickstart. You can also join the community on GitHub to share tips on overcoming the IndexedDB max storage size limit in production environments.
-
-
\ No newline at end of file
diff --git a/docs/articles/indexeddb-max-storage-limit.md b/docs/articles/indexeddb-max-storage-limit.md
deleted file mode 100644
index 640da1fb8f8..00000000000
--- a/docs/articles/indexeddb-max-storage-limit.md
+++ /dev/null
@@ -1,153 +0,0 @@
-# IndexedDB Max Storage Size Limit - Detailed Best Practices
-
-> Learn how browsers enforce IndexedDB storage size limits, how to test and handle quota exceeded errors, and best practices for storing large amounts of data offline.
-
-
-
-import {VideoBox} from '@site/src/components/video-box';
-
-# IndexedDB Max Storage Size Limit
-
-IndexedDB is widely known as the primary browser-based storage API for large client-side data, particularly valuable for modern offline-first applications. These apps aim to keep everything functional and interactive even without an internet connection, which naturally demands substantial local storage. However, IndexedDB has various size limits depending on the browser, disk space, and user settings. Being aware of these constraints is crucial so you can avoid quota errors and deliver a seamless user experience without unexpected data loss.
-
-Offline-first apps have grown in popularity because they provide immediate feedback, zero-latency interactions, and resilience in poor network conditions. Storing big data sets, or even entire data models, in IndexedDB has become far more common than in the era of small localStorage or cookie usage. But all this local data is subject to quotas, and that’s exactly what this guide will help you understand and manage.
-
-## Why IndexedDB Has a Storage Limit
-
-Browsers need a way to curb runaway disk usage and safeguard user resources. This is accomplished through **quota management** policies, which can vary among Chrome, Firefox, Safari, Edge, and others. Some browsers use a percentage of your total disk space, while others rely on a fixed maximum or dynamic approach per origin. These policies are designed to prevent malicious or poorly optimized web pages from consuming an unreasonable amount of user storage.
-
-Chrome (and Chromium-based browsers) typically allow you to use a percentage of the user’s free disk space, whereas Firefox historically prompts users to allow more than 5 MB in mobile or 50 MB in desktop. Safari often sets tighter maximum caps, especially on iOS devices. Edge aligns closely with Chrome’s rules but can also include enterprise or corporate policy overrides. Understanding these default or dynamic limits prepares you to plan your app’s storage needs appropriately.
-
-## Browser-Specific IndexedDB Limits
-
-IndexedDB size quotas differ significantly across browsers and platforms. While there isn’t a universal rule, the following table summarizes approximate limits and any notes or caveats you should be aware of:
-
-| Browser | Approx. Limit | Notes |
-|----------------|---------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------|
-| Chrome/Chromium | Up to ~80% of free disk, per origin cap | Often cited as 60 GB on a 100 GB drive. Shared pool approach. Quota usage can prompt partial or extended user approvals. |
-| Firefox | ~2 GB (desktop) or ~5 MB initial for mobile | Older versions asked permission at 50 MB for desktop. Ephemeral/incognito sessions may require repeated user prompts. |
-| Safari (iOS) | ~1 GB per origin (variable) | Historically stricter. iOS devices limit quotas further. Behavior can differ between iOS Safari versions or iPadOS. |
-| Edge | Similar to Chrome’s 80% of free space | Can be influenced by Windows enterprise policies. Generally aligned with Chromium approach. |
-| iOS Safari | Typically 1 GB, can be less on older iOS | Early iOS versions were known for more aggressive quotas and data eviction on low space. |
-| Android Chrome | Similar to desktop Chrome | May exhibit warnings in especially low-storage devices. The same 80% free space logic generally applies. |
-
-Historically, these limits have evolved. For instance, older Firefox versions included `dom.indexedDB.warningQuota`, showing a 50 MB prompt on desktop or a 5 MB prompt on mobile—many developers wrote about these notifications on Stack Overflow. Since around 2015, Firefox has changed its quota approach significantly. Likewise, Safari used to limit data more aggressively on older iOS versions. Some older tutorials suggest comparing IndexedDB to localStorage, but modern browsers allow far larger and more flexible storage with IndexedDB than the old localStorage or cookie-based setups.
-
----
-
-## Checking Your Current IndexedDB Usage
-
-To assess where your app stands relative to these storage limits, you can use the **Storage Estimation API**. The snippet below shows how to estimate both your used storage and the total space allocated to your origin:
-
-```js
-const quota = await navigator.storage.estimate();
-const totalSpace = quota.quota;
-const usedSpace = quota.usage;
-console.log('Approx total allocated space:', totalSpace);
-console.log('Approx used space:', usedSpace);
-```
-
-[Some browsers (all modern ones)](https://developer.mozilla.org/en-US/docs/Web/API/StorageManager/persist#browser_compatibility) also provide a `navigator.storage.persist()` method to request persistent storage, preventing the browser from automatically clearing your data if the user’s device runs low on space. Note that users might deny such requests, or the request might fail silently on stricter environments. Always handle these outcomes gracefully and design your app to degrade if persistent storage is unavailable.
-
-## Testing Your App’s IndexedDB Quotas
-
-The best way to handle real-world usage is to test for low storage conditions and large data sets in different environments. You can fill up the space manually by writing repetitive test data or running scripts that bulk-insert documents until an error occurs.
-
-Real-time usage monitors or dashboards can keep track of your `navigator.storage.estimate()` results, letting you see how close you are to the max limit in production. Developer tools in Chrome or Firefox can simulate limited storage situations, which is crucial for QA:
-
-
-
-
-
-This short tutorial shows how you can artificially reduce available storage in Google Chrome’s dev tools to see how your app behaves when nearing or exceeding the quota.
-
-## Handling Errors When Limits Are Reached
-
-When the user’s device is too full or your app exceeds the allotted quota, most browsers will throw a **QuotaExceededError** (or similarly named exception) when trying to store additional data. Often, the request to IndexedDB simply fails with an error event. Handling this gracefully is essential to avoid crashes or data corruption.
-
-A typical approach is to wrap your write operations in try/catch blocks or in `onsuccess` / `onerror` event callbacks. If you detect a quota error, you can prompt the user to clear out old items or reduce the scope of offline data. Some apps implement a fallback system that removes less critical documents to free space and then retries the write.
-
-```js
-try {
- const tx = db.transaction('largeStore', 'readwrite');
- const store = tx.objectStore('largeStore');
- await store.add(hugeData, someKey);
- await tx.done;
-} catch (error) {
- if (error.name === 'QuotaExceededError') {
- console.warn('IndexedDB quota exceeded. Cleanup or prompt user to free space.');
- // Optionally remove older data or show a UI hint:
- // removeOldDocuments();
- // displayStorageFullDialog();
- } else {
- // handle other errors
- console.error('IndexedDB write error:', error);
- }
-}
-```
-
-## Tricks to Exceed the Storage Size Limitation
-
-Even if you plan well, your app might need more storage than a single origin typically allows. There are a few advanced tactics you can use:
-
-If you store binary data such as images or videos, consider compressing them via the Compression Streams API. For textual or [JSON data](./json-based-database.md), a library like [RxDB](/) supports built-in [key-compression](../key-compression.md) to shorten field names or entire documents. This can be extremely helpful when storing large sets of objects:
-
-```ts
-// Example: How key-compression can transform your documents internally
-const uncompressed = {
- "firstName": "Corrine",
- "lastName": "Ziemann",
- "shoppingCartItems": [
- {
- "productNumber": 29857,
- "amount": 1
- },
- {
- "productNumber": 53409,
- "amount": 6
- }
- ]
-};
-const compressed = {
- "|e": "Corrine",
- "|g": "Ziemann",
- "|i": [
- {
- "|h": 29857,
- "|b": 1
- },
- {
- "|h": 53409,
- "|b": 6
- }
- ]
-};
-```
-
-Sharding data across multiple subdomains or iframes is another trick, though it complicates communication. When you need truly massive offline data, you might store part of the data under `sub1.yoursite.com` and another chunk under `sub2.yoursite.com`, using `postMessage()` to coordinate. This can circumvent single-origin limitations, but it introduces extra complexity. Another effective method is to let data expire automatically—perhaps older records are removed if they haven’t been accessed for a certain period.
-
-
-
-
-
-
-
-## IndexedDB Max Size of a Single Object
-
-There is no explicit cap on how large an individual object or record in IndexedDB can be, other than the overall disk quota. If you attempt to store one extremely large object, you will eventually hit browser memory constraints or the global storage quota. In practice, you’ll encounter out-of-memory issues in JavaScript before IndexedDB itself refuses a single large write. A helpful test can be seen in [this JSFiddle experiment](https://jsfiddle.net/sdrqf8om/2/) where you see browsers can crash when creating massive in-memory objects.
-
-## Is There a Time Limit for Data Stored in IndexedDB?
-
-IndexedDB data can remain indefinitely as long as the user does not clear the browser’s data or the origin does not run afoul of automated eviction policies (e.g., Safari or Android might remove large caches for sites unused over a long period when space is needed). Typically, there is no “time limit,” but ephemeral modes or incognito sessions have their own rules. If you rely on permanent offline data, request persistent storage and handle the possibility that the user or the OS could still remove your data under extreme conditions. Especially Safari is known to be very fast in deleting local data.
-
-
-
-## Follow Up
-
-Learn more by checking the [IndexedDB official docs](https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API), which detail store design, error handling, and quota usage. If you need a straightforward way to manage large offline data with compression and conflict resolution, explore the [RxDB Quickstart](../quickstart.md). You can also join the community on [GitHub](/code/) to share tips on overcoming the **IndexedDB max storage size limit** in production environments.
diff --git a/docs/articles/ionic-database.html b/docs/articles/ionic-database.html
deleted file mode 100644
index d0340e17971..00000000000
--- a/docs/articles/ionic-database.html
+++ /dev/null
@@ -1,131 +0,0 @@
-
-
-
-
-
-RxDB - The Perfect Ionic Database | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
In the fast-paced world of mobile app development, hybrid applications have emerged as a versatile solution, offering the best of both worlds - the web and native app experiences. One key challenge these apps face is efficiently storing and querying data on the client's device. Enter RxDB, a powerful client-side database tailored for ionic hybrid applications. In this article, we'll explore how RxDB addresses the requirements of storing and querying data in ionic apps, and why it stands out as a preferred choice.
Ionic (aka Ionic 2 ) hybrid apps combine the strengths of web technologies (HTML, CSS, JavaScript) with native app development to deliver cross-platform applications. They are built using web technologies and then wrapped in a native container to be deployed on various platforms like iOS, Android, and the web. These apps provide a consistent user experience across devices while benefiting from the efficiency and familiarity of web development.
Storing and querying data is a fundamental aspect of any application, including hybrid apps. These apps often need to operate offline, store user-generated content, and provide responsive user interfaces. Therefore, having a reliable and efficient way to manage data on the client's device is crucial.
-
Introducing RxDB as a Client-Side Database for Ionic Apps
-
RxDB steps in as a powerful solution to address the data management needs of ionic hybrid apps. It's a NoSQL client-side database that offers exceptional performance and features tailored to the unique requirements of client-side applications. Let's delve into the key features of RxDB that make it a great fit for these apps.
At its core, RxDB is a NoSQL database that operates with a local-first approach. This means that your app's data is stored and processed primarily on the client's device, reducing the dependency on constant network connectivity. By doing so, RxDB ensures your app remains responsive and functional, even when offline.
The local-first approach adopted by RxDB is a game-changer for hybrid applications. Storing data locally allows your app to function seamlessly without an internet connection, providing users with uninterrupted access to their data. When connectivity is restored, RxDB handles the synchronization of data, ensuring that any changes made offline are appropriately propagated.
One of RxDB's standout features is its implementation of observable queries. This concept allows your app's user interface to be dynamically updated in real time as data changes within the database. RxDB's observables create a bridge between your database and user interface, keeping them in sync effortlessly.
RxDB's NoSQL query engine empowers you to perform powerful queries on your app's data, without the constraints imposed by traditional relational databases. This flexibility is particularly valuable when dealing with unstructured or semi-structured data. With the NoSQL query engine, you can retrieve, filter, and manipulate data according to your app's unique requirements.
RxDB introduces a concept called EventReduce, which optimizes the observation process. Instead of overwhelming your app's UI with every data change, EventReduce filters and batches these changes to provide a smooth and efficient experience. This leads to enhanced app performance, lower resource usage, and ultimately, happier users.
-
Why NoSQL is a Better Fit for Client-Side Applications Compared to relational databases like SQLite
-
When it comes to choosing the right database solution for your client-side applications, NoSQL RxDB presents compelling advantages over traditional options like SQLite. Let's delve into the key reasons why NoSQL RxDB is a superior fit for your ionic hybrid app development.
NoSQL databases, like RxDB, inherently embrace a document-based approach to data storage. This design choice simplifies data replication between clients and servers. With documents representing discrete units of data, you can easily synchronize individual pieces of information without the complexity that can arise when dealing with rows and tables in a relational database like SQLite. This document-centric replication model streamlines the synchronization process and ensures that your app's data remains consistent across devices.
One of the defining features of client-side applications is the ability to function even when offline. NoSQL RxDB excels in this area by supporting a local-first approach. Data is cached on the client's device, enabling the app to remain fully functional even without an internet connection. As connectivity is restored, RxDB handles data synchronization with the server seamlessly. This offline capability ensures a smooth user experience, critical for ionic hybrid apps catering to users in various network conditions.
TypeScript, a popular superset of JavaScript, is renowned for its static typing and enhanced developer experience. NoSQL databases like RxDB are inherently flexible, making them well-suited for TypeScript integration. With well-defined data structures and clear typings, NoSQL RxDB offers improved type safety and easier development when compared to traditional SQL databases like SQLite. This results in reduced debugging time and increased code reliability.
Schema changes are a common occurrence in application development, and dealing with them can be challenging. NoSQL databases, including RxDB, are more forgiving in this aspect. Since documents in NoSQL databases don't enforce a rigid structure like tables in relational databases, schema changes are often simpler to manage. This flexibility makes it easier to evolve your app's data structure over time without the need for complex migration scripts, a notable advantage when compared to SQLite.
RxDB's excellent performance stems from its advanced indexing capabilities, which streamline data retrieval and ensure swift query execution. Additionally, the JSON key compression employed by RxDB minimizes storage overhead, enabling efficient data transfer and quicker loading times. The incorporation of real-time updates through change streams and the EventReduce mechanism further enhances RxDB's performance, delivering a responsive user experience even as data changes are propagated seamlessly.
RxDB's integration into your ionic hybrid app opens up a world of possibilities for efficient data management. Let's explore how to set up RxDB, use it with popular JavaScript frameworks, and take advantage of its diverse storage options.
Getting started with RxDB is a straightforward process. By including the RxDB library in your project, you can quickly start harnessing its capabilities. Begin by installing the RxDB package from the npm registry. Then, configure your database instance to suit your app's needs. This setup process paves the way for seamless data management in your ionic hybrid app.
-For a full instruction, follow the RxDB Quickstart.
-
Using RxDB in Frameworks (React, Angular, Vue.js)
-
RxDB seamlessly integrates with various JavaScript frameworks, ensuring compatibility with your preferred development environment. Whether you're building your ionic hybrid app with React, Angular, or Vue.js, RxDB offers bindings and tools that enable you to leverage its features effortlessly. This compatibility allows you to stay within the comfort zone of your chosen framework while benefiting from RxDB's powerful data management capabilities.
RxDB doesn't limit you to a single storage solution. Instead, it provides a range of RxStorage layers to accommodate diverse use cases. These storage layers offer flexibility and customization, enabling you to tailor your data management strategy to match your app's requirements. Let's explore some of the available RxStorage options:
IndexedDB RxStorage: Leveraging the native browser storage, IndexedDB RxStorage offers reliable data persistence. This storage option is suitable for a wide range of scenarios and is supported by most modern browsers.
-
OPFS RxStorage: Operating within the browser's file system, OPFS RxStorage is a unique choice that can handle larger data volumes efficiently. It's particularly useful for applications that require substantial data storage.
-
Memory RxStorage: Memory RxStorage is perfect for temporary or cache-like data storage. It keeps data in memory, which can result in rapid data access but doesn't provide long-term persistence.
-
SQLite RxStorage: SQLite is the goto database for mobile applications. It is build in on android and iOS devices. The SQLite RxDB storage layer is build upon SQLite and offers the best performance on hybrid apps, like ionic.
-
-
Replication of Data with RxDB between Clients and Servers
-
Efficient data replication between clients and servers is the backbone of modern application development, ensuring that data remains consistent and up-to-date across various devices and platforms. RxDB provides a suite of replication methods that facilitate seamless communication between clients and servers, ensuring that your data is always in sync.
At the heart of RxDB's replication capabilities lies a sophisticated algorithm designed to manage data synchronization between clients and servers. This algorithm intelligently handles data changes, conflict resolution, and network connectivity fluctuations, resulting in reliable and efficient data replication. With the RxDB replication algorithm, your application can maintain data consistency across devices without unnecessary complexities.
-
-
-
CouchDB Replication:
-RxDB's integration with CouchDB replication presents a powerful way to synchronize data between clients and servers. CouchDB, a well-established NoSQL database, excels at distributed and decentralized data scenarios. By utilizing RxDB's CouchDB replication, you can establish bidirectional synchronization between your RxDB-powered client and a CouchDB server. This synchronization ensures that data updates made on either end are seamlessly propagated to the other, facilitating collaboration and data sharing.
-
-
-
Firestore Replication:
-Firestore, Google's cloud-hosted NoSQL database, offers another avenue for data replication in RxDB. With Firestore replication, you can establish a connection between your RxDB-powered app and Firestore's cloud infrastructure. This integration provides real-time updates to data across multiple instances of your application, ensuring that users always have access to the latest information. RxDB's support for Firestore replication empowers you to build dynamic and responsive applications that thrive in today's fast-paced digital landscape.
-
-
-
WebRTC Replication:
-Peer-to-peer (P2P) replication via WebRTC introduces a cutting-edge approach to data synchronization in RxDB. P2P replication allows devices to communicate directly with each other, bypassing the need for a central server. This method proves invaluable in scenarios where network connectivity is limited or unreliable. With WebRTC replication, devices can exchange data directly, enabling collaboration and information sharing even in challenging network conditions.
When it comes to securing sensitive data in your Ionic applications, RxDB emerges as a powerful alternative to traditional secure storage solutions. Let's delve into why RxDB is an exceptional choice for safeguarding your data while providing additional benefits.
RxDB offers an on-device encryption plugin, adding an extra layer of security to your app's data. This means that data stored within the RxDB database can be encrypted, ensuring that even if the device falls into the wrong hands, the sensitive information remains inaccessible without the proper decryption key. This level of data protection is crucial for applications that deal with personal or confidential information. Encryption runs either with AES on crypto-js or with the Web Crypto API which is faster and more secure.
Security should never compromise functionality. RxDB excels in this area by allowing your application to operate seamlessly even when offline. The locally stored encrypted data remains accessible and functional, enabling users to interact with the app's features even without an active internet connection. This offline capability ensures that user data is secure, while the app continues to deliver a responsive and uninterrupted experience.
Ensuring data consistency between your client-side application and backend is a key concern for developers. RxDB simplifies this process with its straightforward replication setup. You can effortlessly configure data synchronization between your local RxDB instance and your backend server. This replication capability ensures that encrypted data remains up-to-date and aligned with the central database, enhancing data integrity and security.
In addition to security and offline capabilities, RxDB also offers data compression. This means that the data stored on the client's device is efficiently compressed, reducing storage requirements and improving overall app performance. This compression ensures that your app remains responsive and efficient, even as data volumes grow.
In addition to its security features, RxDB offers cost-effective benefits. RxDB is priced more affordably compared to some other secure storage solutions, making it an attractive option for developers seeking robust security without breaking the bank. For many users, the free version of RxDB provides ample features to meet their application's security and data management needs.
-
-
\ No newline at end of file
diff --git a/docs/articles/ionic-database.md b/docs/articles/ionic-database.md
deleted file mode 100644
index 42c856913c3..00000000000
--- a/docs/articles/ionic-database.md
+++ /dev/null
@@ -1,136 +0,0 @@
-# RxDB - The Perfect Ionic Database
-
-> Supercharge your Ionic hybrid apps with RxDB's offline-first database. Experience real-time sync, top performance, and easy replication.
-
-# Ionic Storage - RxDB as database for hybrid apps
-
-In the fast-paced world of mobile app development, **hybrid applications** have emerged as a versatile solution, offering the best of both worlds - the web and native app experiences. One key challenge these apps face is efficiently storing and querying data on the **client's device**. Enter [RxDB](https://rxdb.info/), a powerful client-side database tailored for ionic hybrid applications. In this article, we'll explore how RxDB addresses the requirements of storing and querying data in ionic apps, and why it stands out as a preferred choice.
-
-
-
-
-
-
-
-## What are Ionic Hybrid Apps?
-
-Ionic (aka Ionic 2 ) hybrid apps combine the strengths of web technologies (HTML, CSS, JavaScript) with native app development to deliver cross-platform applications. They are built using web technologies and then wrapped in a native container to be deployed on various platforms like iOS, Android, and the web. These apps provide a consistent user experience across devices while benefiting from the efficiency and familiarity of web development.
-
-## Storing and Querying Data in an Ionic App
-
-Storing and querying data is a fundamental aspect of any application, including hybrid apps. These apps often need to operate offline, store user-generated content, and provide responsive user interfaces. Therefore, having a reliable and efficient way to manage data on the client's device is crucial.
-
-## Introducing RxDB as a Client-Side Database for Ionic Apps
-RxDB steps in as a powerful solution to address the data management needs of ionic hybrid apps. It's a NoSQL client-side database that offers exceptional performance and features tailored to the unique requirements of client-side applications. Let's delve into the key features of RxDB that make it a great fit for these apps.
-
-### Getting Started with RxDB
-
-
-
-
-
-
-
-### What is RxDB?
-
-At its core, [RxDB](https://rxdb.info/) is a **NoSQL** database that operates with a [local-first](../offline-first.md) approach. This means that your app's data is stored and processed primarily on the client's device, reducing the dependency on constant network connectivity. By doing so, RxDB ensures your app remains responsive and functional, even when offline.
-
-### Local-First Approach
-The [local-first](../offline-first.md) approach adopted by RxDB is a game-changer for hybrid applications. Storing data locally allows your app to function seamlessly without an internet connection, providing users with uninterrupted access to their data. When connectivity is restored, RxDB handles the synchronization of data, ensuring that any changes made offline are appropriately propagated.
-
-### Observable Queries
-One of RxDB's standout features is its implementation of observable queries. This concept allows your app's user interface to be dynamically updated in real time as data changes within the database. RxDB's observables create a bridge between your database and user interface, keeping them in sync effortlessly.
-
-
-
-### NoSQL Query Engine
-RxDB's NoSQL query engine empowers you to perform powerful queries on your app's data, without the constraints imposed by traditional relational databases. This flexibility is particularly valuable when dealing with unstructured or semi-structured data. With the NoSQL query engine, you can retrieve, filter, and manipulate data according to your app's unique requirements.
-
-```ts
-const foundDocuments = await myDatabase.todos.find({
- selector: {
- done: {
- $eq: false
- }
- }
-}).exec();
-```
-
-### Great Observe Performance with EventReduce
-RxDB introduces a concept called [EventReduce](https://github.com/pubkey/event-reduce), which optimizes the observation process. Instead of overwhelming your app's UI with every data change, EventReduce filters and batches these changes to provide a smooth and efficient experience. This leads to enhanced app performance, lower resource usage, and ultimately, happier users.
-
-## Why NoSQL is a Better Fit for Client-Side Applications Compared to relational databases like SQLite
-When it comes to choosing the right database solution for your client-side applications, NoSQL RxDB presents compelling advantages over traditional options like SQLite. Let's delve into the key reasons why NoSQL RxDB is a superior fit for your ionic hybrid app development.
-
-### Easier Document-Based Replication
-NoSQL databases, like RxDB, inherently embrace a document-based approach to [data storage](./ionic-storage.md). This design choice simplifies data [replication](../replication.md) between clients and servers. With documents representing discrete units of data, you can easily synchronize individual pieces of information without the complexity that can arise when dealing with rows and tables in a relational database like SQLite. This document-centric replication model streamlines the synchronization process and ensures that your app's data remains consistent across devices.
-
-### Offline Capable
-One of the defining features of client-side applications is the ability to function even when offline. NoSQL RxDB excels in this area by supporting a local-first approach. Data is cached on the client's device, enabling the app to remain fully functional even without an internet connection. As connectivity is restored, RxDB handles data synchronization with the server seamlessly. This offline capability ensures a smooth user experience, critical for ionic hybrid apps catering to users in various network conditions.
-
-### NoSQL Has Better TypeScript Support
-TypeScript, a popular superset of JavaScript, is renowned for its static typing and enhanced developer experience. NoSQL databases like RxDB are inherently flexible, making them well-suited for TypeScript integration. With well-defined data structures and clear typings, NoSQL RxDB offers [improved type safety](../tutorials/typescript.md) and easier development when compared to traditional SQL databases like SQLite. This results in reduced debugging time and increased code reliability.
-
-### Easier [Schema Migration](../migration-schema.md) with NoSQL Documents
-Schema changes are a common occurrence in application development, and dealing with them can be challenging. NoSQL databases, including RxDB, are more forgiving in this aspect. Since documents in NoSQL databases don't enforce a rigid structure like tables in relational databases, schema changes are often simpler to manage. This flexibility makes it easier to evolve your app's data structure over time without the need for complex migration scripts, a notable advantage when compared to SQLite.
-
-## Great Performance
-RxDB's [excellent performance](../rx-storage-performance.md) stems from its advanced indexing capabilities, which streamline data retrieval and ensure swift query execution. Additionally, the [JSON key compression](../key-compression.md) employed by RxDB minimizes storage overhead, enabling efficient data transfer and quicker loading times. The incorporation of real-time updates through change streams and the **EventReduce mechanism** further enhances RxDB's performance, delivering a responsive user experience even as data changes are propagated seamlessly.
-
-## Using RxDB in an Ionic Hybrid App
-RxDB's integration into your ionic hybrid app opens up a world of possibilities for efficient data management. Let's explore how to set up RxDB, use it with popular JavaScript frameworks, and take advantage of its diverse storage options.
-
-### Setup RxDB
-Getting started with RxDB is a straightforward process. By including the RxDB library in your project, you can quickly start harnessing its capabilities. Begin by installing the [RxDB package](https://www.npmjs.com/package/rxdb) from the npm registry. Then, configure your database instance to suit your app's needs. This setup process paves the way for seamless data management in your ionic hybrid app.
-For a full instruction, follow the [RxDB Quickstart](https://rxdb.info/quickstart.html).
-
-### Using RxDB in Frameworks (React, Angular, Vue.js)
-RxDB seamlessly integrates with various JavaScript frameworks, ensuring compatibility with your preferred development environment. Whether you're building your ionic hybrid app with [React](./react-database.md), [Angular](./angular-database.md), or [Vue.js](./vue-database.md), RxDB offers bindings and tools that enable you to leverage its features effortlessly. This compatibility allows you to stay within the comfort zone of your chosen framework while benefiting from RxDB's powerful data management capabilities.
-
-### Different RxStorage Layers for RxDB
-RxDB doesn't limit you to a single storage solution. Instead, it provides a range of RxStorage layers to accommodate diverse use cases. These storage layers offer flexibility and customization, enabling you to tailor your data management strategy to match your app's requirements. Let's explore some of the available RxStorage options:
-
-- [LocalStorage RxStorage](../rx-storage-localstorage.md): Based on the browsers [localStorage](./localstorage.md). Easy to set up and fast for small datasets.
-- [IndexedDB RxStorage](../rx-storage-indexeddb.md): Leveraging the native browser storage, IndexedDB RxStorage offers reliable data persistence. This storage option is suitable for a wide range of scenarios and is supported by most modern browsers.
-- [OPFS RxStorage](../rx-storage-opfs.md): Operating within the browser's file system, OPFS RxStorage is a unique choice that can handle larger data volumes efficiently. It's particularly useful for applications that require substantial data storage.
-- [Memory RxStorage](../rx-storage-memory.md): Memory RxStorage is perfect for temporary or cache-like data storage. It keeps data in memory, which can result in rapid data access but doesn't provide long-term persistence.
-- [SQLite RxStorage](../rx-storage-sqlite.md): SQLite is the goto database for mobile applications. It is build in on android and iOS devices. The SQLite RxDB storage layer is build upon SQLite and offers the best performance on hybrid apps, like ionic.
-
-## Replication of Data with RxDB between Clients and Servers
-Efficient data replication between clients and servers is the backbone of modern application development, ensuring that data remains consistent and up-to-date across various devices and platforms. RxDB provides a suite of replication methods that facilitate seamless communication between clients and servers, ensuring that your data is always in sync.
-
-### RxDB Replication Algorithm
-At the heart of RxDB's replication capabilities lies a sophisticated [algorithm](../replication.md) designed to manage data synchronization between clients and servers. This algorithm intelligently handles data changes, conflict resolution, and network connectivity fluctuations, resulting in reliable and efficient data replication. With the RxDB replication algorithm, your application can maintain data consistency across devices without unnecessary complexities.
-
-- [CouchDB Replication](../replication-couchdb.md):
-RxDB's integration with CouchDB replication presents a powerful way to synchronize data between clients and servers. CouchDB, a well-established NoSQL database, excels at distributed and decentralized data scenarios. By utilizing RxDB's CouchDB replication, you can establish bidirectional synchronization between your RxDB-powered client and a CouchDB server. This synchronization ensures that data updates made on either end are seamlessly propagated to the other, facilitating collaboration and data sharing.
-
-- [Firestore Replication](../replication-firestore.md):
-Firestore, Google's cloud-hosted NoSQL database, offers another avenue for data replication in RxDB. With Firestore replication, you can establish a connection between your RxDB-powered app and Firestore's cloud infrastructure. This integration provides real-time updates to data across multiple instances of your application, ensuring that users always have access to the latest information. RxDB's support for Firestore replication empowers you to build dynamic and responsive applications that thrive in today's fast-paced digital landscape.
-
-- [WebRTC Replication](../replication-webrtc.md):
-Peer-to-peer (P2P) replication via WebRTC introduces a cutting-edge approach to data synchronization in RxDB. P2P replication allows devices to communicate directly with each other, bypassing the need for a central server. This method proves invaluable in scenarios where network connectivity is limited or unreliable. With WebRTC replication, devices can exchange data directly, enabling collaboration and information sharing even in challenging network conditions.
-
-## RxDB as an Alternative for Ionic Secure Storage
-When it comes to securing sensitive data in your Ionic applications, RxDB emerges as a powerful alternative to traditional secure storage solutions. Let's delve into why RxDB is an exceptional choice for safeguarding your data while providing additional benefits.
-
-### RxDB On-Device Encryption Plugin
-RxDB offers an [on-device encryption plugin](https://rxdb.info/encryption.html), adding an extra layer of security to your app's data. This means that data stored within the RxDB database can be encrypted, ensuring that even if the device falls into the wrong hands, the sensitive information remains inaccessible without the proper decryption key. This level of data protection is crucial for applications that deal with personal or confidential information. Encryption runs either with `AES` on `crypto-js` or with the [Web Crypto API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Crypto_API) which is faster and more secure.
-
-### Works Offline
-Security should never compromise functionality. RxDB excels in this area by allowing your application to operate seamlessly even when offline. The locally stored encrypted data remains accessible and functional, enabling users to interact with the app's features even without an active internet connection. This offline capability ensures that user data is secure, while the app continues to deliver a responsive and uninterrupted experience.
-
-### Easy-to-Setup Replication with Your Backend
-Ensuring data consistency between your client-side application and backend is a key concern for developers. RxDB simplifies this process with its straightforward replication setup. You can effortlessly configure data synchronization between your local RxDB instance and your backend server. This replication capability ensures that encrypted data remains up-to-date and aligned with the central database, enhancing data integrity and security.
-
-### Compression of Client-Side Stored Data
-In addition to security and offline capabilities, RxDB also offers [data compression](https://rxdb.info/key-compression.html). This means that the data stored on the client's device is efficiently compressed, reducing storage requirements and improving overall app performance. This compression ensures that your app remains responsive and efficient, even as data volumes grow.
-
-### Cost-Effective Solution
-In addition to its security features, RxDB offers cost-effective benefits. RxDB is [priced more affordably](/premium/) compared to some other secure storage solutions, making it an attractive option for developers seeking robust security without breaking the bank. For many users, the free version of RxDB provides ample features to meet their application's security and data management needs.
-
-## Follow Up
-
-- Try out the [RxDB ionic example project](https://github.com/pubkey/rxdb/tree/master/examples/ionic2)
-- Try out the [RxDB Quickstart](https://rxdb.info/quickstart.html)
-- Join the [RxDB Chat](https://rxdb.info/chat/)
diff --git a/docs/articles/ionic-storage.html b/docs/articles/ionic-storage.html
deleted file mode 100644
index 4b38cd67121..00000000000
--- a/docs/articles/ionic-storage.html
+++ /dev/null
@@ -1,197 +0,0 @@
-
-
-
-
-
-RxDB - Local Ionic Storage with Encryption, Compression & Sync | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
RxDB - Local Ionic Storage with Encryption, Compression & Sync
-
When building Ionic apps, developers face the challenge of choosing a robust Ionic storage mechanism that supports:
-
-
Offline-First usage
-
Data Encryption to protect sensitive content
-
Compression to reduce storage usage and improve performance
-
Seamless Sync with any backend for real-time updates
-
-
RxDB (Reactive Database) offers all these features in a single, local-first database solution tailored to Ionic and other hybrid frameworks. Keep reading to learn how RxDB solves the most common storage pitfalls in hybrid app development while providing unmatched flexibility.
Offline functionality is crucial for modern mobile applications, particularly when devices encounter unreliable or slow networks. RxDB stores all data locally so your Ionic app can run seamlessly without needing a continuous internet connection. When a network is available again, RxDB automatically synchronizes changes with your backend - no extra code required.
Large or repetitive data can significantly slow down devices with minimal memory. RxDB's key-compression feature decreases document size stored on the device, improving overall performance by:
In addition to functioning fully offline, RxDB supports advanced replication options. Your Ionic app can instantly sync updates with any backend (CouchDB, Firestore, GraphQL, or custom REST), maintaining a real-time user experience. Plus, RxDB handles conflicts gracefully - meaning less worry about clashing user edits.
RxDB runs with a NoSQL approach and integrates seamlessly into Ionic Angular or other frameworks you might use with Ionic. You can extend or replace storage backends, add encryption, or build advanced offline-first features with minimal overhead.
-
-
Quick Start: Implementing RxDB with LocalSTorage Storage
-
For a simple proof-of-concept or testing environment in Ionic, you can use localstorage as your underlying storage. Later, if you need better native performance, you can switch to the SQLite storage offered by the RxDB Premium plugins.
-
-
Install RxDB
-
-
npm install rxdb rxjs
-
-
Initialize the Database
-
-
import { createRxDatabase } from 'rxdb/plugins/core';
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-
-async function initDB() {
- const db = await createRxDatabase({
- name: 'myionicdb',
- storage: getRxStorageLocalstorage(),
- multiInstance: false // or true if you plan multi-tab usage
- // Note: If you need encryption, set `password` here
- });
-
- await db.addCollections({
- notes: {
- schema: {
- title: 'notes schema',
- version: 0,
- type: 'object',
- primaryKey: 'id',
- properties: {
- id: { type: 'string' },
- content: { type: 'string' },
- timestamp: { type: 'number' }
- },
- required: ['id']
- }
- }
- });
-
- return db;
-}
-
-
Ready to Upgrade Later?
-
-
When you need the best performance on mobile devices, purchase the RxDB PremiumSQLite Storage and replace getRxStorageLocalstorage() with getRxStorageSQLite() - your app logic remains largely the same. You only have to change the configuration.
To secure local data, add the crypto-js encryption plugin (free version) or the premium web-crypto plugin. Below is an example using the free crypto-js plugin:
With keyCompression: true, RxDB shortens field names internally, significantly reducing document size. This helps both stored data and network transport during replication.
For Ionic storage that supports offline-first operations, built-in encryption, optional data compression, and live syncing with any backend, RxDB provides a powerful solution. Start quickly with localstorage for local development and testing - then scale up to the premium SQLite storage for optimal performance on production mobile devices.
-
-
\ No newline at end of file
diff --git a/docs/articles/ionic-storage.md b/docs/articles/ionic-storage.md
deleted file mode 100644
index 647b32d6e4d..00000000000
--- a/docs/articles/ionic-storage.md
+++ /dev/null
@@ -1,195 +0,0 @@
-# RxDB - Local Ionic Storage with Encryption, Compression & Sync
-
-> The best Ionic storage solution? RxDB empowers your hybrid apps with offline-first capabilities, secure encryption, data compression, and seamless data syncing to any backend.
-
-# RxDB - Local Ionic Storage with Encryption, Compression & Sync
-
-When building **Ionic** apps, developers face the challenge of choosing a robust **Ionic storage** mechanism that supports:
-- **Offline-First** usage
-- **Data Encryption** to protect sensitive content
-- **Compression** to reduce storage usage and improve performance
-- **Seamless Sync** with any backend for real-time updates
-
-[RxDB](https://rxdb.info/) (Reactive Database) offers all these features in a single, [local-first](./local-first-future.md) database solution tailored to **Ionic** and other hybrid frameworks. Keep reading to learn how RxDB solves the most common storage pitfalls in hybrid app development while providing unmatched flexibility.
-
-
-
-
-
-
-
-## Why RxDB for Ionic Storage?
-
-### 1. Offline-Ready NoSQL Storage
-[Offline functionality](../offline-first.md) is crucial for modern mobile applications, particularly when devices encounter unreliable or slow networks. RxDB stores all data **locally** so your Ionic app can run seamlessly without needing a continuous internet connection. When a network is available again, RxDB automatically synchronizes changes with your backend - no extra code required.
-
-### 2. Powerful Encryption
-Securing on-device data is paramount when handling sensitive information. RxDB includes [encryption plugins](../encryption.html) that let you:
-- **Encrypt** data fields at rest with AES
-- Invalidate data access by simply withholding the password
-- Keep your users' data confidential, even if the device is stolen
-
-This built-in encryption sets RxDB apart from many other Ionic storage options that lack integrated security.
-
-### 3. Built-In Data Compression
-Large or repetitive data can significantly slow down devices with minimal memory. RxDB's [key-compression](../key-compression.md) feature decreases document size stored on the device, improving overall performance by:
-- Reducing disk usage
-- Accelerating queries
-- Minimizing network overhead when syncing
-
-### 4. Real-Time Sync & Conflict Handling
-In addition to functioning fully offline, RxDB supports advanced [replication](../replication.md) options. Your Ionic app can instantly sync updates with any backend ([CouchDB](../replication-couchdb.md), [Firestore](../replication-firestore.md), [GraphQL](../replication-graphql.md), or [custom REST](../replication-http.md)), maintaining a [real-time](./realtime-database.md) user experience. Plus, RxDB handles [conflicts](../transactions-conflicts-revisions.md) gracefully - meaning less worry about clashing user edits.
-
-
-
-### 5. Easy to Adopt and Extend
-RxDB runs with a **NoSQL** approach and integrates seamlessly into [Ionic Angular](https://ionicframework.com/docs/angular/overview) or other frameworks you might use with Ionic. You can extend or replace storage backends, add encryption, or build advanced offline-first features with minimal overhead.
-
-
-
-
-
-
-
-## Quick Start: Implementing RxDB with LocalSTorage Storage
-
-For a simple proof-of-concept or testing environment in [Ionic](./ionic-database.md), you can use [localstorage](../rx-storage-localstorage.md) as your underlying storage. Later, if you need better native performance, you can **switch to the SQLite storage** offered by the [RxDB Premium plugins](https://rxdb.info/premium/).
-
-1. **Install RxDB**
-```bash
-npm install rxdb rxjs
-```
-
-2. **Initialize the Database**
-
-```ts
-import { createRxDatabase } from 'rxdb/plugins/core';
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-
-async function initDB() {
- const db = await createRxDatabase({
- name: 'myionicdb',
- storage: getRxStorageLocalstorage(),
- multiInstance: false // or true if you plan multi-tab usage
- // Note: If you need encryption, set `password` here
- });
-
- await db.addCollections({
- notes: {
- schema: {
- title: 'notes schema',
- version: 0,
- type: 'object',
- primaryKey: 'id',
- properties: {
- id: { type: 'string' },
- content: { type: 'string' },
- timestamp: { type: 'number' }
- },
- required: ['id']
- }
- }
- });
-
- return db;
-}
-```
-
-3. **Ready to Upgrade Later?**
-
-When you need the best performance on mobile devices, purchase the RxDB [Premium](/premium/) [SQLite Storage](../rx-storage-sqlite.md) and replace `getRxStorageLocalstorage()` with `getRxStorageSQLite()` - your app logic remains largely the same. You only have to change the configuration.
-
-## Encryption Example
-
-To secure local data, add the crypto-js [encryption plugin](../encryption.md) (free version) or the [premium](/premium/) web-crypto plugin. Below is an example using the free crypto-js plugin:
-
-```ts
-import { wrappedKeyEncryptionCryptoJsStorage } from 'rxdb/plugins/encryption-crypto-js';
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-import { createRxDatabase } from 'rxdb/plugins/core';
-
-async function initEncryptedDB() {
- const encryptedStorage = wrappedKeyEncryptionCryptoJsStorage({
- storage: getRxStorageLocalstorage()
- });
-
- const db = await createRxDatabase({
- name: 'secureIonicDB',
- storage: encryptedStorage,
- password: 'myS3cretP4ssw0rd'
- });
-
- await db.addCollections({
- secrets: {
- schema: {
- title: 'secret schema',
- version: 0,
- type: 'object',
- primaryKey: 'id',
- properties: {
- id: { type: 'string' },
- text: { type: 'string' }
- },
- required: ['id'],
- // all fields in this array will be stored encrypted:
- encrypted: ['text']
- }
- }
- });
-
- return db;
-}
-```
-
-With encryption enabled:
-
-- `text` is automatically encrypted at rest.
-- [Queries](../rx-query.md) on encrypted fields are not directly possible (since data is encrypted), but once a document is loaded, RxDB decrypts it for normal usage.
-
-## Compression Example
-
-To minimize the storage footprint, RxDB offers a [key-compression](../key-compression.md) feature. You can enable it in your schema:
-
-```ts
-await db.addCollections({
- logs: {
- schema: {
- title: 'logs schema',
- version: 0,
- keyCompression: true, // enable compression
- type: 'object',
- primaryKey: 'id',
- properties: {
- id: { type: 'string' },
- message: { type: 'string' },
- createdAt: { type: 'string', format: 'date-time' }
- }
- }
- }
-});
-```
-
-With `keyCompression: true`, RxDB shortens field names internally, significantly reducing document size. This helps both stored data and network transport during replication.
-
-## RxDB vs. Other Ionic Storage Options
-
-**Ionic Native Storage** or **Capacitor-based** key-value stores may handle small amounts of data but lack advanced features like:
-
-- Complex queries
-- Full NoSQL document model
-- [Offline-first](../offline-first.md) [sync](../replication.md)
-- Encryption & key compression out of the box
-- RxDB stands out by delivering all these capabilities in a unified library.
-
-## Follow Up
-
-For Ionic storage that supports offline-first operations, built-in encryption, optional data compression, and live syncing with any backend, RxDB provides a powerful solution. Start quickly with [localstorage](../rx-storage-localstorage.md) for local development and testing - then scale up to the premium SQLite storage for optimal performance on production mobile devices.
-
-Ready to learn more?
-
-- Explore the [RxDB Quickstart Guide](../quickstart.md)
-- Check out [RxDB Encryption](../encryption.md) to protect user data
-- Learn about [SQLite Storage](../rx-storage-sqlite.md) in [RxDB Premium](/premium/) for top [performance](../rx-storage-performance.md) on mobile.
-- Join our community on the [RxDB Chat](/chat/)
-
-**RxDB** - The ultimate toolkit for Ionic developers seeking offline-first, secure, and compressed local data, with real-time sync to any server.
diff --git a/docs/articles/javascript-vector-database.html b/docs/articles/javascript-vector-database.html
deleted file mode 100644
index e816e5ea115..00000000000
--- a/docs/articles/javascript-vector-database.html
+++ /dev/null
@@ -1,490 +0,0 @@
-
-
-
-
-
-Local JavaScript Vector Database that works offline | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Local Vector Database with RxDB and transformers.js in JavaScript
-
The local-first revolution is here, changing the way we build apps! Imagine a world where your app's data lives right on the user's device, always available, even when there's no internet. That's the magic of local-first apps. Not only do they bring faster performance and limitless scalability, but they also empower users to work offline without missing a beat. And leading the charge in this space are local database solutions, like RxDB.
-
-
But here's where things get even more exciting: when building local-first apps, traditional databases often fall short. They're great at searching for exact matches, like numbers or strings, but what if you want to search by meaning, like sifting through emails to find a specific topic? Sure, you could use RegExp, but to truly unlock the power of semantic search and similarity-based queries, you need something more cutting-edge. Something that really understands the content of the data.
-
Enter vector databases, the game-changers for searching data by meaning! They have unlocked these new possibilities for storing and querying data, especially in tasks requiring semantic search and similarity-based queries. With the help of a machine learning model, data is transformed into a vector representation that can be stored, queried and compared in a database.
-
But unfortunately, most vector databases are designed for server-side use, typically running in large cloud clusters, not to run on a users device. To fix that, in this article, we will combine RxDB and transformers.js to create a local vector database running in the browser with JavaScript. It stores data in IndexedDB, and uses a machine learning model with WebAssembly locally, without the need for external servers.
-
-
-
transformers.js is a powerful framework that allows machine learning models to run directly within JavaScript using WebAssembly or WebGPU.
-
-
-
RxDB is a NoSQL, local-first database with a flexible storage layer that can run on any JavaScript runtime, including browsers and mobile environments. (You are reading this article on the RxDB docs).
-
-
-
A local vector database offers several key benefits:
-
-
Zero network latency: Data is processed locally on the user's device, ensuring near-instant responses.
-
Offline functionality: Data can be queried even without an internet connection.
-
Enhanced privacy: Sensitive information remains on the device, never needing to leave for external processing.
-
Simple setup: No backend servers are required, making deployment straightforward.
-
Cost savings: By running everything locally, you avoid fees for API access or cloud services for large language models.
-
-
note
In this article only the important source code parts are shown. You can find the full open-source vector database implementation at the github repository.
A vector database is a specialized database optimized for storing and querying data in the form of high-dimensional vectors, often referred to as embeddings. These embeddings are numerical representations of data, such as text, images, or audio, created by machine learning models like MiniLM. Unlike traditional databases that work with exact matches on predefined fields, vector databases focus on semantic similarity, allowing you to query data based on meaning rather than exact values.
-
-
A vector, or embedding, is essentially an array of numbers, like [0.56, 0.12, -0.34, -0.90].
-
-
For example, instead of asking "Which document has the word 'database'?", you can query "Which documents discuss similar topics to this one?" The vector database compares embeddings and returns results based on how similar the vectors are to each other.
-
Vector databases handle multiple types of data beyond text, including images, videos, and audio files, all transformed into embeddings for efficient querying. Mostly you would not train a model by yourself and instead use one of the public available transformer models.
-
Vector databases are highly effective in various types of applications:
-
-
Similarity Search: Finds the closest matches to a query, even when the query doesn't contain the exact terms.
-
Clustering: Groups similar items based on the proximity of their vector representations.
-
Recommendations: Suggests items based on shared characteristics.
-
Anomaly Detection: Identifies outliers that differ from the norm.
-
Classification: Assigns categories to data based on its vector's nearest neighbors.
-
-
In this tutorial, we will build a vector database designed as a Similarity Search for text. For other use cases, the setup can be adapted accordingly. This flexibility is why RxDB doesn't provide a dedicated vector-database plugin, but rather offers utility functions to help you build your own vector search system.
For the first step to build a local-first vector database we need to compute embeddings directly on the user's device. This is where transformers.js from huggingface comes in, allowing us to run machine learning models in the browser with WebAssembly. Below is an implementation of a getEmbeddingFromText() function, which takes a piece of text and transforms it into an embedding using the Xenova/all-MiniLM-L6-v2 model:
This function creates an embedding by running the text through a pre-trained model and returning it in the form of an array of numbers, which can then be stored and further processed locally.
-
note
Vector embeddings from different machine learning models or versions are not compatible with each other. When you change your model, you have to recreate all embeddings for your data.
Also we need a vector collection that stores our embeddings.
-RxDB, as a NoSQL database, allows for the storage of flexible data structures, such as embeddings, within documents. To achieve this, we need to define a schema that specifies how the embeddings will be stored alongside each document. The schema includes fields for an id and the embedding array itself.
When storing documents in the database, we need to ensure that the embeddings for these documents are generated and stored automatically. This requires a handler that runs during every document write, calling the machine learning model to generate the embeddings and storing them in a separate vector collection.
-
Since our app runs in a browser, it's essential to avoid duplicate work when multiple browser tabs are open and ensure efficient use of resources. Furthermore, we want the app to resume processing documents from where it left off if it's closed or interrupted. To achieve this, RxDB provides a pipeline plugin, which allows us to set up a workflow that processes items and stores their embeddings. In our example, a pipeline takes batches of 10 documents, generates embeddings, and stores them in a separate vector collection.
However, processing data locally presents performance challenges. Running the handler with a batch size of 10 takes around 2-4 seconds per batch, meaning processing 10k documents would take up to an hour. To improve performance, we can do parallel processing using WebWorkers. A WebWorker runs on a different JavaScript process and we can start and run many of them in parallel.
-
Our worker listens for messages and performance the embedding generation on each request. It then sends the result embedding back to the main thread.
On the main thread we spawn one worker per core and send the tasks to the worker instead of processing them on the main thread.
-
// create one WebWorker per core
-const workers = new Array(navigator.hardwareConcurrency)
- .fill(0)
- .map(() => new Worker(new URL("worker.js", import.meta.url)));
This setup allows us to utilize the full hardware capacity of the client's machine. By setting the batch size to match the number of logical processors available (using the navigator.hardwareConcurrency API) and running one worker per processor, we can reduce the processing time for 10k embeddings to about 5 minutes on my developer laptop with 32 CPU cores.
Now that we have stored our embeddings in the database, the next step is to compare these vectors to each other. Various methods are available to measure the similarity or difference between two vectors, such as Euclidean distance, Manhattan distance, Cosine similarity, and Jaccard similarity (and more). RxDB provides utility functions for each of these methods, making it easy to choose the most suitable method for your application. In this tutorial, we will use Euclidean distance to compare vectors. However, the ideal algorithm may vary depending on your data's distribution and the specific type of query you are performing. To find the optimal method for your app, it is up to you to try out all of these and compare the results.
-
Each method gets two vectors as input and returns a single number. Here's how to calculate the Euclidean distance between two embeddings with the vector utilities from RxDB:
With this we can sort multiple embeddings by how good they match our search query vector.
-
Searching the Vector database with a full table scan
-
To find out if our embeddings have been stored correctly and that our vector comparison works as should, let's run a basic query to ensure everything functions as expected. In this query, we aim to find documents similar to a given user input text. The process involves calculating the embedding from the input text, fetching all documents, calculating the distance between their embeddings and the query embedding, and then sorting them based on their similarity.
For distance-based comparisons, sorting should be in ascending order (smallest first), while for similarity-based algorithms, the sorting should be in descending order (largest first).
-
If we inspect the results, we can see that the documents returned are ordered by relevance, with the most similar document at the top:
However our full-scan method presents a significant challenge: it does not scale well. As the number of stored documents increases, the time taken to fetch and compare embeddings grows proportionally. For example, retrieving embeddings from our test dataset of 10k documents takes around 700 milliseconds. If we scale up to 100k documents, this delay would rise to approximately 7 seconds, making the search process inefficient for larger datasets.
To address the scalability issue, we need to store embeddings in a way that allows us to avoid fetching all of them from storage during a query. In traditional databases, you can sort documents by an index field, allowing efficient queries that retrieve only the necessary documents. An index organizes data in a structured, sortable manner, much like a phone book. However, with vector embeddings we are not dealing with simple, single values. Instead, we have large lists of numbers, which makes indexing more complex because we have more than one dimension.
Various methods exist for indexing these vectors to improve query efficiency and performance:
-
-
Locality Sensitive Hashing (LSH): LSH hashes data so that similar items are likely to fall into the same bucket, optimizing approximate nearest neighbor searches in high-dimensional spaces by reducing the number of comparisons.
-
Hierarchical Small World: HSW is a graph structure designed for efficient navigation, allowing quick jumps across the graph while maintaining short paths between nodes, forming the basis for HNSW's optimization.
-
Hierarchical Navigable Small Worlds (HNSW): HNSW builds a hierarchical graph for fast approximate nearest neighbor search. It uses multiple layers where higher layers represent fewer, more connected nodes, improving search efficiency in large datasets.
-
Distance to samples: While testing different indexing strategies, I found out that using the distance to a sample set of items is a good way to index embeddings. You pick like 5 random items of your data and get the embeddings for them out of the model. These are your 5 index vectors. For each embedding stored in the vector database, we calculate the distance to our 5 index vectors and store that number as an index value. This seems to work good because similar things have similar distances to other things. For example the words "shoe" and "socks" have a similar distance to "boat" and therefore should have roughly the same index value.
-
-
When building local-first applications, performance is often a challenge, especially in JavaScript. With IndexedDB, certain operations, like many sequential get by id calls, are slow, while bulk operations, such as get by index range, are fast. Therefore, it's essential to use an indexing method that allows embeddings to be stored in a sortable way, like Locality Sensitive Hashing or Distance to Samples. In this article, we'll use Distance to Samples, because for me it provides the best default behavior for the sample dataset.
The optimal way to store index values alongside embeddings in RxDB is to place them within the same RxCollection. To ensure that the index values are both sortable and precise, we convert them into strings with a fixed length of 10 characters. This standardization helps in managing values with many decimals and ensures proper sorting in the database.
-
Here's is our schema example schema where each document contains an embedding and corresponding index fields:
To populate these index fields, we modify the RxPipeline handler accordingly to the Distance to samples method. We calculate the distance between the document's embedding and our set of 5 index vectors. The calculated distances are converted to string and stored in the appropriate index fields:
-
import { euclideanDistance } from 'rxdb/plugins/vector';
-const sampleVectors: number[][] = [/* the index vectors */];
-const pipeline = await itemsCollection.addPipeline({
- handler: async (docs) => {
- await Promise.all(docs.map(async(doc) => {
- const embedding = await getEmbedding(doc.text);
- const docData = { id: doc.primary, embedding };
- // calculate the distance to all samples and store them in the index fields
- new Array(5).fill(0).map((_, idx) => {
- const indexValue = euclideanDistance(sampleVectors[idx], embedding);
- docData['idx' + idx] = indexNrToString(indexValue);
- });
- await vectorCollection.upsert(docData);
- }));
- }
-});
-
Searching the Vector database with utilization of the indexes
-
Once our embeddings are stored in an indexed format, we can perform searches much more efficiently than through a full table scan. While this indexing method boosts performance, it comes with a tradeoff: a slight loss in precision, meaning that the result set may not always be the optimal one. However, this is generally acceptable for similarity search use cases.
-
There are multiple ways to leverage indexes for faster queries. Here are two effective methods:
-
-
Query for Index Similarity in Both Directions: For each index vector, calculate the distance to the search embedding and fetch all relevant embeddings in both directions (sorted before and after) from that value.
Query for an Index Range with a Defined Distance: Set an indexDistance and retrieve all embeddings within a specified range from the index vector to the search embedding.
Both methods allow you to limit the number of embeddings fetched from storage while still ensuring a reasonably precise search result. However, they differ in how many embeddings are read and how precise the results are, with trade-offs between performance and accuracy. The first method has a known embedding read amount of docsPerIndexSide * 2 * [amount of indexes]. The second method reads out an unknown amount of embeddings, depending on the sparsity of the dataset and the value of indexDistance.
-
And that's it for the implementation. We now have a local first vector database that is able to store and query vector data.
In server-side databases, performance can be improved by scaling hardware or adding more servers. However, local-first apps face the unique challenge that the hardware is determined by the end user, making performance unpredictable. Some users may have high-end gaming PCs, while others might be using outdated smartphones in power-saving mode. Therefore, when building a local-first app that processes more than a few documents, performance becomes a critical factor and should be thoroughly tested upfront.
-
Let's run performance benchmarks on my high-end gaming PC to give you a sense of how long different operations take and what's achievable.
As shown, the index similarity query method takes significantly longer compared to others. This is due to the need for descending sort orders in some queries sort: [{ ['idx' + i]: 'desc' }]. While RxDB supports descending sorts, performance suffers because IndexedDB does not efficiently handle reverse indexed bulk operations. As a result, the index range method performs much better for this use case and should be used instead. With its query time of only 88 milliseconds it is fast enough for all most things and likely such fast that you do not even need to show a loading spinner. Also it is faster compared to fetching the query result from a server-side vector database over the internet.
Let's also look at the time taken to calculate a single embedding across various models from the huggingface transformers list:
-
Model Name
Time per Embedding in (ms)
Vector Size
Model Size (MB)
Xenova/all-MiniLM-L6-v2
173
384
23
Supabase/gte-small
341
384
34
Xenova/paraphrase-multilingual-mpnet-base-v2
1000
768
279
jinaai/jina-embeddings-v2-base-de
1291
768
162
jinaai/jina-embeddings-v2-base-zh
1437
768
162
jinaai/jina-embeddings-v2-base-code
1769
768
162
mixedbread-ai/mxbai-embed-large-v1
3359
1024
337
WhereIsAI/UAE-Large-V1
3499
1024
337
Xenova/multilingual-e5-large
4215
1024
562
-
From these benchmarks, it's evident that models with larger vector outputs take longer to process. Additionally, the model size significantly affects performance, with larger models requiring more time to compute embeddings. This trade-off between model complexity and performance must be considered when choosing the right model for your use case.
There are multiple other techniques to improve the performance of your local vector database:
-
-
-
Shorten embeddings: The storing and retrieval of embeddings can be improved by "shortening" the embedding. To do that, you just strip away numbers from your vector. For example [0.56, 0.12, -0.34, 0.78, -0.90] becomes [0.56, 0.12]. That's it, you now have a smaller embedding that is faster to read out of the storage and calculating distances is faster because it has to process less numbers. The downside is that you loose precision in your search results. Sometimes shortening the embeddings makes more sense as a pre-query step where you first compare the shortened vectors and later fetch the "real" vectors for the 10 most matching documents to improve their sort order.
-
-
-
Optimize the variables in our Setup: In this examples we picked our variables in a non-optimal way. You can get huge performance improvements by setting different values:
-
-
We picked 5 indexes for the embeddings. Using less indexes improves your query performance with the cost of less good results.
-
For queries that search by fetching a specific embedding distance we used the indexDistance value of 0.003. Using a lower value means we read less document from the storage. This is faster but reduces the precision of the results which means we will get a less optimal result compared to a full table scan.
-
For queries that search by fetching a given amount of documents per index side, we set the value docsPerIndexSide to 100. Increasing this value means you fetch more data from the storage but also get a better precision in the search results. Decreasing it can improve query performance with worse precision.
-
-
-
-
Use faster models: There are many ways to improve performance of machine learning models. If your embedding calculation is too slow, try other models. Smaller mostly means faster. The model Xenova/all-MiniLM-L6-v2 which is used in this tutorial is about 1 year old. There exist better, more modern models to use. Huggingface makes these convenient to use. You only have to switch out the model name with any other model from that site.
-
-
-
Narrow down the search space: By utilizing other "normal" filter operators to your query, you can narrow down the search space and optimize performance. For example in an email search you could additionally use a operator that limits the results to all emails that are not older than one year.
-
-
-
Dimensionality Reduction with an autoencoder: An autoencoder encodes vector data with minimal loss which can improve the performance by having to store and compare less numbers in an embedding.
When you change the index parameter or even update the whole model which was used to create the embeddings, you have to migrate the data that is already stored on your users devices. RxDB offers the Schema Migration Plugin for that.
-
When the app is reloaded and the updated source code is started, RxDB detects changes in your schema version and runs the migration strategy accordingly. So to update the stored data, increase the schema version and define a handler:
Possible Future Improvements to Local-First Vector Databases
-
For now our vector database works and we are good to go. However there are some things to consider for the future:
-
-
WebGPU is not fully supported yet. When this changes, creating embeddings in the browser have the potential to become faster. You can check if your current chrome supports WebGPU by opening chrome://gpu/. Notice that WebGPU has been reported to sometimes be even slower compared to WASM but likely it will be faster in the long term.
-
Cross-Modal AI Models: While progress is being made, AI models that can understand and integrate multiple modalities are still in development. For example you could query for an image together with a text prompt to get a more detailed output.
-
Multi-Step queries: In this article we only talked about having a single query as input and an ordered list of outputs. But there is big potential in chaining models or queries together where you take the results of one query and input them into a different model with different embeddings or outputs.
-
-
\ No newline at end of file
diff --git a/docs/articles/javascript-vector-database.md b/docs/articles/javascript-vector-database.md
deleted file mode 100644
index cdd0933f022..00000000000
--- a/docs/articles/javascript-vector-database.md
+++ /dev/null
@@ -1,592 +0,0 @@
-# Local JavaScript Vector Database that works offline
-
-> Create a blazing-fast vector database in JavaScript. Leverage RxDB and transformers.js for instant, offline semantic search - no servers required!
-
-# Local Vector Database with RxDB and transformers.js in JavaScript
-
-The [local-first](../offline-first.md) revolution is here, changing the way we build apps! Imagine a world where your app's data lives right on the user's device, always available, even when there's no internet. That's the magic of local-first apps. Not only do they bring faster performance and limitless scalability, but they also empower users to work offline without missing a beat. And leading the charge in this space are local database solutions, like [RxDB](https://rxdb.info/).
-
-
-
-
-
-
-
-But here's where things get even more exciting: when building [local-first](./local-first-future.md) apps, traditional databases often fall short. They're great at searching for exact matches, like `numbers` or `strings`, but what if you want to search by **meaning**, like sifting through emails to find a specific topic? Sure, you could use **RegExp**, but to truly unlock the power of semantic search and similarity-based queries, you need something more cutting-edge. Something that really understands the content of the data.
-
-Enter **vector databases**, the game-changers for searching data by meaning! They have unlocked these new possibilities for storing and querying data, especially in tasks requiring **semantic search** and **similarity-based** queries. With the help of a **machine learning model**, data is transformed into a vector representation that can be stored, queried and compared in a database.
-
-But unfortunately, most vector databases are designed for server-side use, typically running in large cloud clusters, not to run on a users device. To fix that, in this article, we will combine **RxDB** and **transformers.js** to create a local vector database running in the **browser** with **JavaScript**. It stores data in **IndexedDB**, and uses a machine learning model with **WebAssembly** locally, without the need for external servers.
-
-- [transformers.js](https://github.com/xenova/transformers.js) is a powerful framework that allows machine learning models to run directly within JavaScript using WebAssembly or WebGPU.
-
-- [RxDB](https://rxdb.info/) is a NoSQL, local-first database with a flexible storage layer that can run on any JavaScript runtime, including browsers and mobile environments. (You are reading this article on the RxDB docs).
-
-A local vector database offers several key benefits:
-
-- **Zero network latency**: Data is processed locally on the user's device, ensuring near-instant responses.
-- **Offline functionality**: Data can be queried even without an internet connection.
-- **Enhanced privacy**: Sensitive information remains on the device, never needing to leave for external processing.
-- **Simple setup**: No backend servers are required, making deployment straightforward.
-- **Cost savings**: By running everything locally, you avoid fees for API access or cloud services for large language models.
-
-:::note
-In this article only the important source code parts are shown. You can find the full open-source vector database implementation at the [github repository](https://github.com/pubkey/javascript-vector-database).
-:::
-
-## What is a Vector Database?
-
-A vector database is a specialized database optimized for storing and querying data in the form of **high-dimensional** vectors, often referred to as **embeddings**. These embeddings are numerical representations of data, such as text, images, or audio, created by machine learning models like [MiniLM](https://huggingface.co/Xenova/all-MiniLM-L6-v2). Unlike traditional databases that work with exact matches on predefined fields, vector databases focus on **semantic similarity**, allowing you to query data based on meaning rather than exact values.
-
-> A vector, or embedding, is essentially an array of numbers, like `[0.56, 0.12, -0.34, -0.90]`.
-
-For example, instead of asking "Which document has the word 'database'?", you can query "Which documents discuss similar topics to this one?" The vector database compares embeddings and returns results based on how similar the vectors are to each other.
-
-Vector databases handle multiple types of data beyond **text**, including **images**, **videos**, and **audio** files, all transformed into embeddings for efficient querying. Mostly you would not train a model by yourself and instead use one of the public available [transformer models](https://huggingface.co/models?pipeline_tag=feature-extraction&library=transformers.js).
-
-Vector databases are highly effective in various types of applications:
-
-- **Similarity Search**: Finds the closest matches to a query, even when the query doesn't contain the exact terms.
-- **Clustering**: Groups similar items based on the proximity of their vector representations.
-- **Recommendations**: Suggests items based on shared characteristics.
-- **Anomaly Detection**: Identifies outliers that differ from the norm.
-- **Classification**: Assigns categories to data based on its vector's nearest neighbors.
-
-In this tutorial, we will build a vector database designed as a **Similarity Search** for **text**. For other use cases, the setup can be adapted accordingly. This flexibility is why [RxDB](https://rxdb.info/) doesn't provide a dedicated vector-database plugin, but rather offers utility functions to help you build your own vector search system.
-
-
-
-
-
-## Generating Embeddings Locally in a Browser
-
-For the first step to build a local-first vector database we need to compute embeddings directly on the user's device. This is where [transformers.js](https://github.com/xenova/transformers.js) from [huggingface](https://huggingface.co/docs/transformers.js/index) comes in, allowing us to run machine learning models in the browser with **WebAssembly**. Below is an implementation of a `getEmbeddingFromText()` function, which takes a piece of text and transforms it into an embedding using the [Xenova/all-MiniLM-L6-v2](https://huggingface.co/Xenova/all-MiniLM-L6-v2) model:
-
-```js
-import { pipeline } from "@xenova/transformers";
-const pipePromise = pipeline('feature-extraction', 'Xenova/all-MiniLM-L6-v2');
-async function getEmbeddingFromText(text) {
- const pipe = await pipePromise;
- const output = await pipe(text, {
- pooling: "mean",
- normalize: true,
- });
- return Array.from(output.data);
-}
-```
-
-This function creates an embedding by running the text through a pre-trained model and returning it in the form of an array of numbers, which can then be stored and further processed locally.
-
-:::note
-Vector embeddings from different machine learning models or versions are not compatible with each other. When you change your model, you have to recreate all embeddings for your data.
-:::
-
-## Storing the Embeddings in RxDB
-
-To store the embeddings, first we have to create our [RxDB Database](../rx-database.md) with the [localstorage storage](../rx-storage-localstorage.md) that stores data in the browsers [localstorage](./localstorage.md). For more advanced projects, you can use any other [RxStorage](../rx-storage.md).
-
-```ts
-import { createRxDatabase } from 'rxdb';
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-
-const db = await createRxDatabase({
- name: 'mydatabase',
- storage: getRxStorageLocalstorage()
-});
-```
-
-Then we add a `items` collection that stores our documents with the `text` field that stores the content.
-
-```ts
-await db.addCollections({
- items: {
- schema: {
- version: 0,
- primaryKey: 'id',
- type: 'object',
- properties: {
- id: {
- type: 'string',
- maxLength: 20
- },
- text: {
- type: 'string'
- }
- },
- required: ['id', 'text']
- }
- }
-});
-const itemsCollection = db.items;
-```
-
-In our [example repo](https://github.com/pubkey/javascript-vector-database), we use the [Wiki Embeddings](https://huggingface.co/datasets/Supabase/wikipedia-en-embeddings) dataset from supabase which was transformed and used to fill up the `items` collection with test data.
-
-```ts
-const imported = await itemsCollection.count().exec();
-const response = await fetch('./files/items.json');
-const items = await response.json();
-const insertResult = await itemsCollection.bulkInsert(
- items
-);
-```
-
-Also we need a `vector` collection that stores our embeddings.
-RxDB, as a NoSQL database, allows for the storage of flexible data structures, such as embeddings, within documents. To achieve this, we need to define a [schema](../rx-schema.md) that specifies how the embeddings will be stored alongside each document. The schema includes fields for an `id` and the `embedding` array itself.
-
-```ts
-await db.addCollections({
- vector: {
- schema: {
- version: 0,
- primaryKey: 'id',
- type: 'object',
- properties: {
- id: {
- type: 'string',
- maxLength: 20
- },
- embedding: {
- type: 'array',
- items: {
- type: 'string'
- }
- }
- },
- required: ['id', 'embedding']
- }
- }
-});
-const vectorCollection = db.vector;
-```
-
-When storing documents in the database, we need to ensure that the embeddings for these documents are generated and stored automatically. This requires a handler that runs during every document write, calling the machine learning model to generate the embeddings and storing them in a separate vector collection.
-
-Since our app runs in a browser, it's essential to avoid duplicate work when **multiple browser tabs** are open and ensure efficient use of resources. Furthermore, we want the app to resume processing documents from where it left off if it's closed or interrupted. To achieve this, RxDB provides a [pipeline plugin](../rx-pipeline.md), which allows us to set up a workflow that processes items and stores their embeddings. In our example, a pipeline takes batches of 10 documents, generates embeddings, and stores them in a separate vector collection.
-
-```ts
-const pipeline = await itemsCollection.addPipeline({
- identifier: 'my-embeddings-pipeline',
- destination: vectorCollection,
- batchSize: 10,
- handler: async (docs) => {
- await Promise.all(docs.map(async(doc) => {
- const embedding = await getVectorFromText(doc.text);
- await vectorCollection.upsert({
- id: doc.primary,
- embedding
- });
- }));
- }
-});
-```
-
-However, processing data locally presents performance challenges. Running the handler with a batch size of 10 takes around **2-4 seconds per batch**, meaning processing 10k documents would take up to an hour. To improve performance, we can do parallel processing using [WebWorkers](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Using_web_workers). A WebWorker runs on a different JavaScript process and we can start and run many of them in parallel.
-
-Our worker listens for messages and performance the embedding generation on each request. It then sends the result embedding back to the main thread.
-
-```ts
-// worker.js
-import { getVectorFromText } from './vector.js';
-onmessage = async (e) => {
- const embedding = await getVectorFromText(e.data.text);
- postMessage({
- id: e.data.id,
- embedding
- });
-};
-```
-
-On the main thread we spawn one worker per core and send the tasks to the worker instead of processing them on the main thread.
-
-```ts
-// create one WebWorker per core
-const workers = new Array(navigator.hardwareConcurrency)
- .fill(0)
- .map(() => new Worker(new URL("worker.js", import.meta.url)));
-```
-
-```ts
-let lastWorkerId = 0;
-let lastId = 0;
-export async function getVectorFromTextWithWorker(text: string): Promise {
- let worker = workers[lastWorkerId++];
- if(!worker) {
- lastWorkerId = 0;
- worker = workers[lastWorkerId++];
- }
- const id = (lastId++) + '';
- return new Promise(res => {
- const listener = (ev: any) => {
- if (ev.data.id === id) {
- res(ev.data.embedding);
- worker.removeEventListener('message', listener);
- }
- };
- worker.addEventListener('message', listener);
- worker.postMessage({
- id,
- text
- });
- });
-}
-
-const pipeline = await itemsCollection.addPipeline({
- identifier: 'my-embeddings-pipeline',
- destination: vectorCollection,
- batchSize: navigator.hardwareConcurrency, // one per CPU core
- handler: async (docs) => {
- await Promise.all(docs.map(async (doc, i) => {
- const embedding = await getVectorFromTextWithWorker(doc.body);
- /* ... */
- });
- }
-});
-```
-
-This setup allows us to utilize the full hardware capacity of the client's machine. By setting the batch size to match the number of logical processors available (using the [navigator.hardwareConcurrency](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/hardwareConcurrency) API) and running one worker per processor, we can reduce the processing time for 10k embeddings to **about 5 minutes** on my developer laptop with 32 CPU cores.
-
-## Comparing Vectors by calculating the distance
-
-Now that we have stored our embeddings in the database, the next step is to compare these vectors to each other. Various methods are available to measure the similarity or difference between two vectors, such as [Euclidean distance](https://en.wikipedia.org/wiki/Euclidean_distance), [Manhattan distance](https://www.singlestore.com/blog/distance-metrics-in-machine-learning-simplfied/), [Cosine similarity](https://tomhazledine.com/cosine-similarity/), and **Jaccard similarity** (and more). RxDB provides utility functions for each of these methods, making it easy to choose the most suitable method for your application. In this tutorial, we will use **Euclidean distance** to compare vectors. However, the ideal algorithm may vary depending on your data's distribution and the specific type of query you are performing. To find the optimal method for your app, it is up to you to try out all of these and compare the results.
-
-Each method gets two vectors as input and returns a single number. Here's how to calculate the Euclidean distance between two embeddings with the vector utilities from RxDB:
-
-```ts
-import { euclideanDistance } from 'rxdb/plugins/vector';
-const distance = euclideanDistance(embedding1, embedding2);
-console.log(distance); // 25.20443
-```
-
-With this we can sort multiple embeddings by how good they match our search query vector.
-
-## Searching the Vector database with a full table scan
-
-To find out if our embeddings have been stored correctly and that our vector comparison works as should, let's run a basic query to ensure everything functions as expected. In this query, we aim to find documents similar to a given user input text. The process involves calculating the embedding from the input text, fetching all documents, calculating the distance between their embeddings and the query embedding, and then sorting them based on their similarity.
-
-```ts
-import { euclideanDistance } from 'rxdb/plugins/vector';
-import { sortByObjectNumberProperty } from 'rxdb/plugins/core';
-
-const userInput = 'new york people';
-const queryVector = await getEmbeddingFromText(userInput);
-const candidates = await vectorCollection.find().exec();
-const withDistance = candidates.map(doc => ({
- doc,
- distance: euclideanDistance(queryVector, doc.embedding)
-}));
-const queryResult = withDistance.sort(sortByObjectNumberProperty('distance')).reverse();
-console.dir(queryResult);
-```
-
-:::note
-For **distance**-based comparisons, sorting should be in ascending order (smallest first), while for **similarity**-based algorithms, the sorting should be in descending order (largest first).
-:::
-
-If we inspect the results, we can see that the documents returned are ordered by relevance, with the most similar document at the top:
-
-
-
-
-
-:::note
-This demo page can be [run online here](https://pubkey.github.io/javascript-vector-database/).
-:::
-
-However our full-scan method presents a significant challenge: it does not scale well. As the number of stored documents increases, the time taken to fetch and compare embeddings grows proportionally. For example, retrieving embeddings from our [test dataset](https://huggingface.co/datasets/Supabase/wikipedia-en-embeddings) of 10k documents takes around **700 milliseconds**. If we scale up to 100k documents, this delay would rise to approximately **7 seconds**, making the search process inefficient for larger datasets.
-
-## Indexing the Embeddings for Better Performance
-
-To address the scalability issue, we need to store embeddings in a way that allows us to avoid fetching all of them from storage during a query. In traditional databases, you can sort documents by an **index field**, allowing efficient queries that retrieve only the necessary documents. An index organizes data in a structured, sortable manner, much **like a phone book**. However, with vector embeddings we are not dealing with simple, single values. Instead, we have large **lists of numbers**, which makes indexing more complex because we have more than one dimension.
-
-### Vector Indexing Methods
-
-Various methods exist for indexing these vectors to improve query efficiency and performance:
-
-- [Locality Sensitive Hashing (LSH)](https://www.youtube.com/watch?v=Arni-zkqMBA): LSH hashes data so that similar items are likely to fall into the same bucket, optimizing approximate nearest neighbor searches in high-dimensional spaces by reducing the number of comparisons.
-- [Hierarchical Small World](https://www.youtube.com/watch?v=77QH0Y2PYKg): HSW is a graph structure designed for efficient navigation, allowing quick jumps across the graph while maintaining short paths between nodes, forming the basis for HNSW's optimization.
-- [Hierarchical Navigable Small Worlds (HNSW)](https://www.youtube.com/watch?v=77QH0Y2PYKg): HNSW builds a hierarchical graph for fast approximate nearest neighbor search. It uses multiple layers where higher layers represent fewer, more connected nodes, improving search efficiency in large datasets.
-- **Distance to samples**: While testing different indexing strategies, [I](https://github.com/pubkey) found out that using the distance to a sample set of items is a good way to index embeddings. You pick like 5 random items of your data and get the embeddings for them out of the model. These are your 5 index vectors. For each embedding stored in the vector database, we calculate the distance to our 5 index vectors and store that `number` as an index value. This seems to work good because similar things have similar distances to other things. For example the words "shoe" and "socks" have a similar distance to "boat" and therefore should have roughly the same index value.
-
-When building **local-first** applications, performance is often a challenge, especially in JavaScript. With **IndexedDB**, certain operations, like many sequential `get by id` calls, [are slow](../slow-indexeddb.md), while bulk operations, such as `get by index range`, are fast. Therefore, it's essential to use an indexing method that allows embeddings to be stored in a sortable way, like **Locality Sensitive Hashing** or **Distance to Samples**. In this article, we'll use **Distance to Samples**, because for [me](https://github.com/pubkey) it provides the best default behavior for the sample dataset.
-
-### Storing indexed embeddings in RxDB
-
-The optimal way to store index values alongside embeddings in RxDB is to place them within the same [RxCollection](../rx-collection.md). To ensure that the index values are both sortable and precise, we convert them into strings with a fixed length of `10` characters. This standardization helps in managing values with many decimals and ensures proper sorting in the database.
-
-Here's is our schema example schema where each document contains an embedding and corresponding index fields:
-
-```ts
-const indexSchema = {
- type: 'string',
- maxLength: 10
-};
-const schema = {
- "version": 0,
- "primaryKey": "id",
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "maxLength": 100
- },
- "embedding": {
- "type": "array",
- "items": {
- "type": "number"
- }
- },
- // index fields
- "idx0": indexSchema,
- "idx1": indexSchema,
- "idx2": indexSchema,
- "idx3": indexSchema,
- "idx4": indexSchema
- },
- "required": [
- "id",
- "embedding",
- "idx0",
- "idx1",
- "idx2",
- "idx3",
- "idx4"
- ],
- "indexes": [
- "idx0",
- "idx1",
- "idx2",
- "idx3",
- "idx4"
- ]
-}
-```
-
-To populate these index fields, we modify the [RxPipeline](../rx-pipeline.md) handler accordingly to the **Distance to samples** method. We calculate the distance between the document's embedding and our set of `5` index vectors. The calculated distances are converted to `string` and stored in the appropriate index fields:
-
-```ts
-import { euclideanDistance } from 'rxdb/plugins/vector';
-const sampleVectors: number[][] = [/* the index vectors */];
-const pipeline = await itemsCollection.addPipeline({
- handler: async (docs) => {
- await Promise.all(docs.map(async(doc) => {
- const embedding = await getEmbedding(doc.text);
- const docData = { id: doc.primary, embedding };
- // calculate the distance to all samples and store them in the index fields
- new Array(5).fill(0).map((_, idx) => {
- const indexValue = euclideanDistance(sampleVectors[idx], embedding);
- docData['idx' + idx] = indexNrToString(indexValue);
- });
- await vectorCollection.upsert(docData);
- }));
- }
-});
-```
-
-## Searching the Vector database with utilization of the indexes
-
-Once our embeddings are stored in an indexed format, we can perform searches much **more efficiently** than through a full table scan. While this indexing method boosts performance, it comes with a tradeoff: a slight loss in precision, meaning that the result set may not always be the optimal one. However, this is generally acceptable for **similarity search** use cases.
-
-There are multiple ways to leverage indexes for faster queries. Here are two effective methods:
-
-1. **Query for Index Similarity in Both Directions**: For each index vector, calculate the distance to the search embedding and fetch all relevant embeddings in both directions (sorted before and after) from that value.
-
-```ts
-async function vectorSearchIndexSimilarity(searchEmbedding: number[]) {
- const docsPerIndexSide = 100;
- const candidates = new Set();
- await Promise.all(
- new Array(5).fill(0).map(async (_, i) => {
- const distanceToIndex = euclideanDistance(sampleVectors[i], searchEmbedding);
- const [docsBefore, docsAfter] = await Promise.all([
- vectorCollection.find({
- selector: {
- ['idx' + i]: {
- $lt: indexNrToString(distanceToIndex)
- }
- },
- sort: [{ ['idx' + i]: 'desc' }],
- limit: docsPerIndexSide
- }).exec(),
- vectorCollection.find({
- selector: {
- ['idx' + i]: {
- $gt: indexNrToString(distanceToIndex)
- }
- },
- sort: [{ ['idx' + i]: 'asc' }],
- limit: docsPerIndexSide
- }).exec()
- ]);
- docsBefore.map(d => candidates.add(d));
- docsAfter.map(d => candidates.add(d));
- })
- );
- const docsWithDistance = Array.from(candidates).map(doc => {
- const distance = euclideanDistance((doc as any).embedding, searchEmbedding);
- return {
- distance,
- doc
- };
- });
- const sorted = docsWithDistance.sort(sortByObjectNumberProperty('distance')).reverse();
- return {
- result: sorted.slice(0, 10),
- docReads
- };
-}
-```
-
-2. **Query for an Index Range with a Defined Distance**: Set an `indexDistance` and retrieve all embeddings within a specified range from the index vector to the search embedding.
-
-```ts
-async function vectorSearchIndexRange(searchEmbedding: number[]) {
- await pipeline.awaitIdle();
- const indexDistance = 0.003;
- const candidates = new Set();
- let docReads = 0;
- await Promise.all(
- new Array(5).fill(0).map(async (_, i) => {
- const distanceToIndex = euclideanDistance(sampleVectors[i], searchEmbedding);
- const range = distanceToIndex * indexDistance;
- const docs = await vectorCollection.find({
- selector: {
- ['idx' + i]: {
- $gt: indexNrToString(distanceToIndex - range),
- $lt: indexNrToString(distanceToIndex + range)
- }
- },
- sort: [{ ['idx' + i]: 'asc' }],
- }).exec();
- docs.map(d => candidates.add(d));
- docReads = docReads + docs.length;
- })
- );
-
- const docsWithDistance = Array.from(candidates).map(doc => {
- const distance = euclideanDistance((doc as any).embedding, searchEmbedding);
- return {
- distance,
- doc
- };
- });
- const sorted = docsWithDistance.sort(sortByObjectNumberProperty('distance')).reverse();
- return {
- result: sorted.slice(0, 10),
- docReads
- };
-};
-```
-
-Both methods allow you to limit the number of embeddings fetched from storage while still ensuring a reasonably precise search result. However, they differ in how many embeddings are read and how precise the results are, with trade-offs between performance and accuracy. The first method has a known embedding read amount of `docsPerIndexSide * 2 * [amount of indexes]`. The second method reads out an unknown amount of embeddings, depending on the sparsity of the dataset and the value of `indexDistance`.
-
-And that's it for the implementation. We now have a local first vector database that is able to store and query vector data.
-
-## Performance benchmarks
-
-In server-side databases, performance can be improved by scaling hardware or adding more servers. However, [local-first](../offline-first.md) apps face the unique challenge that the hardware is determined by the end user, making performance unpredictable. Some users may have **high-end gaming PCs**, while others might be using **outdated smartphones in power-saving mode**. Therefore, when building a local-first app that processes more than a few documents, performance becomes a critical factor and should be thoroughly tested upfront.
-
-Let's run performance benchmarks on my **high-end gaming PC** to give you a sense of how long different operations take and what's achievable.
-
-### Performance of the Query Methods
-
-| Query Method | Time in milliseconds | Docs read from storage |
-| ---------------- | -------------------- | ---------------------- |
-| Full Scan | 765 | 10000 |
-| Index Similarity | 1647 | 934 |
-| Index Range | 88 | 2187 |
-
-As shown, the **index similarity** query method takes significantly longer compared to others. This is due to the need for descending sort orders in some queries `sort: [{ ['idx' + i]: 'desc' }]`. While RxDB supports descending sorts, performance suffers because IndexedDB does not efficiently handle [reverse indexed bulk operations](https://github.com/w3c/IndexedDB/issues/130). As a result, the **index range method** performs much better for this use case and should be used instead. With its query time of only `88` milliseconds it is fast enough for all most things and likely such fast that you do not even need to show a loading spinner. Also it is faster compared to fetching the query result from a server-side vector database over the internet.
-
-### Performance of the Models
-
-Let's also look at the time taken to calculate a single embedding across various models from the [huggingface transformers list](https://huggingface.co/models?pipeline_tag=feature-extraction&library=transformers.js):
-
-| Model Name | Time per Embedding in (ms) | Vector Size | Model Size (MB) |
-| -------------------------------------------- | -------------------------- | ----------- | --------------- |
-| Xenova/all-MiniLM-L6-v2 | 173 | 384 | 23 |
-| Supabase/gte-small | 341 | 384 | 34 |
-| Xenova/paraphrase-multilingual-mpnet-base-v2 | 1000 | 768 | 279 |
-| jinaai/jina-embeddings-v2-base-de | 1291 | 768 | 162 |
-| jinaai/jina-embeddings-v2-base-zh | 1437 | 768 | 162 |
-| jinaai/jina-embeddings-v2-base-code | 1769 | 768 | 162 |
-| mixedbread-ai/mxbai-embed-large-v1 | 3359 | 1024 | 337 |
-| WhereIsAI/UAE-Large-V1 | 3499 | 1024 | 337 |
-| Xenova/multilingual-e5-large | 4215 | 1024 | 562 |
-
-From these benchmarks, it's evident that models with larger vector outputs **take longer to process**. Additionally, the model size significantly affects performance, with larger models requiring more time to compute embeddings. This trade-off between model complexity and performance must be considered when choosing the right model for your use case.
-
-## Potential Performance Optimizations
-
-There are multiple other techniques to improve the performance of your local vector database:
-
-- **Shorten embeddings**: The storing and retrieval of embeddings can be improved by "shortening" the embedding. To do that, you just strip away numbers from your vector. For example `[0.56, 0.12, -0.34, 0.78, -0.90]` becomes `[0.56, 0.12]`. That's it, you now have a smaller embedding that is faster to read out of the storage and calculating distances is faster because it has to process less numbers. The downside is that you loose precision in your search results. Sometimes shortening the embeddings makes more sense as a pre-query step where you first compare the shortened vectors and later fetch the "real" vectors for the 10 most matching documents to improve their sort order.
-
-- **Optimize the variables in our Setup**: In this examples we picked our variables in a non-optimal way. You can get huge performance improvements by setting different values:
- - We picked 5 indexes for the embeddings. Using less indexes improves your query performance with the cost of less good results.
- - For queries that search by fetching a specific embedding distance we used the `indexDistance` value of `0.003`. Using a lower value means we read less document from the storage. This is faster but reduces the precision of the results which means we will get a less optimal result compared to a full table scan.
- - For queries that search by fetching a given amount of documents per index side, we set the value `docsPerIndexSide` to `100`. Increasing this value means you fetch more data from the storage but also get a better precision in the search results. Decreasing it can improve query performance with worse precision.
-
-- **Use faster models**: There are many ways to improve performance of machine learning models. If your embedding calculation is too slow, try other models. **Smaller** mostly means **faster**. The model `Xenova/all-MiniLM-L6-v2` which is used in this tutorial is about [1 year old](https://huggingface.co/Xenova/all-MiniLM-L6-v2/tree/main). There exist better, more modern models to use. Huggingface makes these convenient to use. You only have to switch out the model name with any other model from [that site](https://huggingface.co/models?pipeline_tag=feature-extraction&library=transformers.js).
-
-- **Narrow down the search space**: By utilizing other "normal" filter operators to your query, you can narrow down the search space and optimize performance. For example in an email search you could additionally use a operator that limits the results to all emails that are not older than one year.
-
-- **Dimensionality Reduction** with an [autoencoder](https://www.youtube.com/watch?v=D16rii8Azuw): An autoencoder encodes vector data with minimal loss which can improve the performance by having to store and compare less numbers in an embedding.
-
-- **Different RxDB Plugins**: RxDB has different storages and plugins that can improve the performance like the [IndexedDB RxStorage](../rx-storage-indexeddb.md), the [OPFS RxStorage](../rx-storage-opfs.md), the [sharding](../rx-storage-sharding.md) plugin and the [Worker](../rx-storage-worker.md) and [SharedWorker](../rx-storage-shared-worker.md) storages.
-
-
-
-
-
-
-
-## Migrating Data on Model/Index Changes
-
-When you change the index parameter or even update the whole model which was used to create the embeddings, you have to migrate the data that is already stored on your users devices. RxDB offers the [Schema Migration Plugin](../migration-schema.md) for that.
-
-When the app is reloaded and the updated source code is started, RxDB detects changes in your [schema version](../rx-schema.md#version) and runs the [migration strategy](../migration-schema.md#providing-strategies) accordingly. So to update the stored data, increase the schema version and define a handler:
-
-```ts
-const schemaV1 = {
- "version": 1, // <- increase schema version by 1
- "primaryKey": "id",
- "properties": {
- /* ... */
- },
- /* ... */
-};
-```
-
-In the migration handler we recreate the new embeddings and index values.
-
-```ts
-await myDatabase.addCollections({
- vectors: {
- schema: schemaV1,
- migrationStrategies: {
- 1: function(docData){
- const embedding = await getEmbedding(docData.body);
- new Array(5).fill(0).map((_, idx) => {
- docData['idx' + idx] = euclideanDistance(mySampleVectors[idx], embedding);
- });
- return docData;
- },
- }
- }
-});
-```
-
-## Possible Future Improvements to Local-First Vector Databases
-
-For now our vector database works and we are good to go. However there are some things to consider for the future:
-
-- **WebGPU** is [not fully supported](https://caniuse.com/webgpu) yet. When this changes, creating embeddings in the browser have the potential to become faster. You can check if your current chrome supports WebGPU by opening `chrome://gpu/`. Notice that WebGPU has been reported to sometimes be [even slower](https://github.com/xenova/transformers.js/issues/894#issuecomment-2323897485) compared to WASM but likely it will be faster in the long term.
-- **Cross-Modal AI Models**: While progress is being made, AI models that can understand and integrate multiple modalities are still in development. For example you could query for an **image** together with a **text** prompt to get a more detailed output.
-- **Multi-Step queries**: In this article we only talked about having a single query as input and an ordered list of outputs. But there is big potential in chaining models or queries together where you take the results of one query and input them into a different model with different embeddings or outputs.
-
-## Follow Up
-- Shared/Like my [announcement tweet](https://x.com/rxdbjs/status/1833429569434427494)
-- Read the source code that belongs to this article [at github](https://github.com/pubkey/javascript-vector-database)
-- Learn how to use RxDB with the [RxDB Quickstart](../quickstart.md)
-- Check out the [RxDB github repo](https://github.com/pubkey/rxdb) and leave a star ⭐
diff --git a/docs/articles/jquery-database.html b/docs/articles/jquery-database.html
deleted file mode 100644
index c5b79c40a60..00000000000
--- a/docs/articles/jquery-database.html
+++ /dev/null
@@ -1,194 +0,0 @@
-
-
-
-
-
-RxDB as a Database in a jQuery Application | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
In the early days of dynamic web development, jQuery emerged as a popular library that simplified DOM manipulation and AJAX requests. Despite the rise of modern frameworks, many developers still maintain or extend existing jQuery projects, or leverage jQuery in specific contexts. As jQuery applications grow in complexity, they often require efficient data handling, offline support, and synchronization capabilities. This is where RxDB, a reactive JavaScript database for the browser, node.js, and mobile devices, steps in.
jQuery provides a simple API for DOM manipulation, event handling, and AJAX calls. It has been widely adopted due to its ease of use and strong community support. Many projects continue to rely on jQuery for handling client-side functionality, UI interactions, and animations. As these applications evolve, the need for a robust database solution that can manage data locally (and offline) becomes increasingly important.
Modern, data-driven jQuery applications often need to:
-
-
Store and retrieve data locally for quick and responsive user experiences.
-
Synchronize data between clients or with a central server.
-
Handle offline scenarios seamlessly.
-
Handle large or complex data structures without repeatedly hitting the server.
-
-
Relying solely on server endpoints or basic browser storage (like localStorage) can quickly become unwieldy for larger or more complex use cases. Enter RxDB, a dedicated solution that manages data on the client side while offering real-time synchronization and offline-first capabilities.
RxDB (short for Reactive Database) is built on top of IndexedDB and leverages RxJS to provide a modern, reactive approach to handling data in the browser. With RxDB, you can store documents locally, query them in real-time, and synchronize changes with a remote server whenever an internet connection is available.
Reactive Data Handling: RxDB emits real-time updates whenever your data changes, allowing you to instantly reflect these changes in the DOM with jQuery.
-
Offline-First Approach: Keep your application usable even when the user's network is unavailable. Data is automatically synchronized once connectivity is restored.
-
Data Replication: Enable multi-device or multi-tab synchronization with minimal effort.
-
Observable Queries: Reduce code complexity by subscribing to queries instead of constantly polling for changes.
-
Multi-Tab Support: If a user opens your jQuery application in multiple tabs, RxDB keeps data in sync across all sessions.
-
-
3:45
This solved a problem I've had in Angular for years
RxDB is a client-side NoSQL database that stores data in the browser (or node.js) and synchronizes changes with other instances or servers. Its design embraces reactive programming principles, making it well-suited for real-time applications, offline scenarios, and multi-tab use cases.
RxDB's use of observables enables an event-driven architecture where data mutations automatically trigger UI updates. In a jQuery application, you can subscribe to these changes and update DOM elements as soon as data changes occur - no need for manual refresh or complicated change detection logic.
One of RxDB's distinguishing traits is its emphasis on offline-first design. This means your jQuery application continues to function, display, and update data even when there's no network connection. When connectivity is restored, RxDB synchronizes updates with the server or other peers, ensuring consistency across all instances.
RxDB supports real-time data replication with different backends. By enabling replication, you ensure that multiple clients - be they multiple browser tabs or separate devices - stay in sync. RxDB's conflict resolution strategies help keep the data consistent even when multiple users make changes simultaneously.
Instead of static queries, RxDB provides observable queries. Whenever data relevant to a query changes, RxDB re-emits the new result set. You can subscribe to these updates within your jQuery code and instantly reflect them in the UI.
Running your jQuery app in multiple tabs? RxDB automatically synchronizes changes between those tabs. Users can freely switch windows without missing real-time updates.
Historically, jQuery developers might use localStorage or raw IndexedDB for storing data. However, these solutions can require significant boilerplate, lack reactivity, and offer no built-in sync or conflict resolution. RxDB fills these gaps with an out-of-the-box solution, abstracting away low-level database complexities and providing an event-driven, offline-capable approach.
If your project isn't set up with a build process, you can still use bundlers like Webpack or Rollup, or serve RxDB as a UMD bundle. Once included, you'll have access to RxDB globally or via import statements.
Below is a minimal example of how to create an RxDB instance and collection. You can call this when your page initializes, then store the db object for later use:
Once you have your RxDB instance, you can query data reactively and use jQuery to manipulate the DOM:
-
// Example: Displaying heroes using jQuery
-$(document).ready(async function () {
- const db = await initDatabase();
-
- // Subscribing to all hero documents
- db.hero
- .find()
- .$ // the observable
- .subscribe((heroes) => {
- // Clear the list
- $('#heroList').empty();
-
- // Append each hero to the DOM
- heroes.forEach((hero) => {
- $('#heroList').append(`
- <li>
- <strong>${hero.name}</strong> - Points: ${hero.points}
- </li>
- `);
- });
- });
-
- // Example of adding a new hero
- $('#addHeroBtn').on('click', async () => {
- const heroName = $('#heroName').val();
- const heroPoints = parseInt($('#heroPoints').val(), 10);
- await db.hero.insert({
- id: Date.now().toString(),
- name: heroName,
- points: heroPoints
- });
- });
-});
-
With this approach, any time data in the hero collection changes - like when a new hero is added - your jQuery code re-renders the list of heroes automatically.
OPFS RxStorage: Uses the File System Access API for better performance in supported browsers.
-
Memory RxStorage: Stores data in memory, handy for tests or ephemeral data.
-
SQLite RxStorage: Uses SQLite (potentially via WebAssembly). In typical browser-based scenarios, localstorage or IndexedDB storage is usually more straightforward.
-
-
Synchronizing Data with RxDB between Clients and Servers
RxDB's offline-first approach allows your jQuery application to store and query data locally. Users can continue interacting, even offline. When connectivity returns, RxDB syncs to the server.
Should multiple clients update the same document, RxDB offers conflict handling strategies. You decide how to resolve conflicts - like keeping the latest edit or merging changes - ensuring data integrity across distributed systems.
With RxDB, data changes flow both ways: from client to server and from server to client. This real-time synchronization ensures that all users or tabs see consistent, up-to-date data.
Create indexes on frequently queried fields to speed up performance. For large data sets, indexing can drastically improve query times, keeping your jQuery UI snappy.
Use change streams to listen for data modifications at the database or collection level. This can trigger real-timeUI updates, notifications, or custom logic whenever the data changes.
If your data model has large or repetitive field names, JSON key compression can minimize stored document size and potentially boost performance.
-
Best Practices for Using RxDB in jQuery Applications
-
-
Centralize Your Database: Initialize and configure RxDB in one place. Expose the instance where needed or store it globally to avoid re-creating it on every script.
-
Leverage Observables: Instead of polling or manually refreshing data, rely on RxDB's reactivity. Subscribe to queries and let RxDB inform you when data changes.
-
Handle Subscriptions: If you create subscriptions in a single-page context, ensure you don't re-subscribe endlessly or create memory leaks. Clean them up if you're navigating away or removing DOM elements.
-
Offline Testing: Thoroughly test how your jQuery app behaves without a network connection. Simulate offline states in your browser's dev tools or with flight mode to ensure the user experience remains smooth.
-
Performance Profiling: For large data sets or frequent data updates, add indexes and carefully measure query performance. Optimize only where needed.
To explore more about RxDB and leverage its capabilities for browser database development, check out the following resources:
-
-
RxDB GitHub Repository: Visit the official GitHub repository of RxDB to access the source code, documentation, and community support.
-
RxDB Quickstart: Get started quickly with RxDB by following the provided quickstart guide, which offers step-by-step instructions for setting up and using RxDB in your projects.
-
RxDB Examples: Browse official examples to see RxDB in action and learn best practices you can apply to your own project - even if jQuery isn't explicitly featured, the patterns are similar.
-
-
\ No newline at end of file
diff --git a/docs/articles/jquery-database.md b/docs/articles/jquery-database.md
deleted file mode 100644
index 604e55d4e9c..00000000000
--- a/docs/articles/jquery-database.md
+++ /dev/null
@@ -1,211 +0,0 @@
-# RxDB as a Database in a jQuery Application
-
-> Level up your jQuery-based projects with RxDB. Build real-time, resilient, and responsive apps powered by a reactive NoSQL database right in the browser.
-
-import {VideoBox} from '@site/src/components/video-box';
-
-# RxDB as a Database in a jQuery Application
-
-In the early days of dynamic web development, **jQuery** emerged as a popular library that simplified DOM manipulation and AJAX requests. Despite the rise of modern frameworks, many developers still maintain or extend existing jQuery projects, or leverage jQuery in specific contexts. As jQuery applications grow in complexity, they often require efficient data handling, offline support, and synchronization capabilities. This is where [RxDB](https://rxdb.info/), a reactive JavaScript database for the browser, node.js, and [mobile devices](./mobile-database.md), steps in.
-
-
-
-
-
-
-
-## jQuery Web Applications
-jQuery provides a simple API for DOM manipulation, event handling, and AJAX calls. It has been widely adopted due to its ease of use and strong community support. Many projects continue to rely on jQuery for handling client-side functionality, UI interactions, and animations. As these applications evolve, the need for a robust database solution that can manage data locally (and offline) becomes increasingly important.
-
-## Importance of Databases in jQuery Applications
-Modern, data-driven jQuery applications often need to:
-
-- **Store and retrieve data locally** for quick and responsive user experiences.
-- **Synchronize data** between clients or with a [central server](../rx-server.md).
-- **Handle offline scenarios** seamlessly.
-- **Handle large or complex data structures** without repeatedly hitting the server.
-
-Relying solely on server endpoints or basic browser storage (like `localStorage`) can quickly become unwieldy for larger or more complex use cases. Enter RxDB, a dedicated solution that manages data on the client side while offering real-time synchronization and offline-first capabilities.
-
-## Introducing RxDB as a Database Solution
-RxDB (short for Reactive Database) is built on top of [IndexedDB](./browser-database.md) and leverages [RxJS](https://rxjs.dev/) to provide a modern, reactive approach to handling data in the browser. With RxDB, you can store documents locally, query them in real-time, and synchronize changes with a remote server whenever an internet connection is available.
-
-### Key Features
-
-- **Reactive Data Handling**: RxDB emits real-time updates whenever your data changes, allowing you to instantly reflect these changes in the DOM with jQuery.
-- **Offline-First Approach**: Keep your application usable even when the user's network is unavailable. Data is automatically synchronized once connectivity is restored.
-- **Data Replication**: Enable multi-device or multi-tab synchronization with minimal effort.
-- **Observable Queries**: Reduce code complexity by subscribing to queries instead of constantly polling for changes.
-- **Multi-Tab Support**: If a user opens your jQuery application in multiple tabs, RxDB keeps data in sync across all sessions.
-
-
-
-
-
-## Getting Started with RxDB
-
-### What is RxDB?
-[RxDB](https://rxdb.info/) is a client-side NoSQL database that stores data in the browser (or [node.js](../nodejs-database.md)) and synchronizes changes with other instances or servers. Its design embraces reactive programming principles, making it well-suited for real-time applications, offline scenarios, and multi-tab use cases.
-
-
-
-### Reactive Data Handling
-RxDB's use of observables enables an event-driven architecture where data mutations automatically trigger UI updates. In a jQuery application, you can subscribe to these changes and update DOM elements as soon as data changes occur - no need for manual refresh or complicated change detection logic.
-
-### Offline-First Approach
-One of RxDB's distinguishing traits is its emphasis on offline-first design. This means your jQuery application continues to function, display, and update data even when there's no network connection. When connectivity is restored, RxDB synchronizes updates with the server or other peers, ensuring consistency across all instances.
-
-### Data Replication
-RxDB supports real-time data replication with different backends. By enabling replication, you ensure that multiple clients - be they multiple [browser](./browser-database.md) tabs or separate devices - stay in sync. RxDB's conflict resolution strategies help keep the data consistent even when multiple users make changes simultaneously.
-
-### Observable Queries
-Instead of static queries, RxDB provides observable queries. Whenever data relevant to a query changes, RxDB re-emits the new result set. You can subscribe to these updates within your jQuery code and instantly reflect them in the UI.
-
-### Multi-Tab Support
-Running your jQuery app in multiple tabs? RxDB automatically synchronizes changes between those tabs. Users can freely switch windows without missing real-time updates.
-
-
-
-### RxDB vs. Other jQuery Database Options
-Historically, jQuery developers might use `localStorage` or raw `IndexedDB` for storing data. However, these solutions can require significant boilerplate, lack reactivity, and offer no built-in sync or conflict resolution. RxDB fills these gaps with an out-of-the-box solution, abstracting away low-level database complexities and providing an event-driven, offline-capable approach.
-
-## Using RxDB in a jQuery Application
-
-### Installing RxDB
-Install RxDB (and `rxjs`) via npm or yarn:
-```bash
-npm install rxdb rxjs
-```
-
-If your project isn't set up with a build process, you can still use bundlers like Webpack or Rollup, or serve RxDB as a UMD bundle. Once included, you'll have access to RxDB globally or via import statements.
-
-## Creating and Configuring a Database
-
-Below is a minimal example of how to create an RxDB instance and collection. You can call this when your page initializes, then store the `db` object for later use:
-
-```js
-import { createRxDatabase } from 'rxdb';
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-
-async function initDatabase() {
- const db = await createRxDatabase({
- name: 'heroesdb',
- storage: getRxStorageLocalstorage(),
- password: 'myPassword', // optional encryption password
- multiInstance: true, // multi-tab support
- eventReduce: true // optimizes event handling
- });
-
- await db.addCollections({
- hero: {
- schema: {
- title: 'hero schema',
- version: 0,
- primaryKey: 'id',
- type: 'object',
- properties: {
- id: { type: 'string' },
- name: { type: 'string' },
- points: { type: 'number' }
- }
- }
- }
- });
-
- return db;
-}
-```
-
-## Updating the DOM with jQuery
-
-Once you have your RxDB instance, you can query data reactively and use jQuery to manipulate the DOM:
-
-```js
-// Example: Displaying heroes using jQuery
-$(document).ready(async function () {
- const db = await initDatabase();
-
- // Subscribing to all hero documents
- db.hero
- .find()
- .$ // the observable
- .subscribe((heroes) => {
- // Clear the list
- $('#heroList').empty();
-
- // Append each hero to the DOM
- heroes.forEach((hero) => {
- $('#heroList').append(`
-
- ${hero.name} - Points: ${hero.points}
-
- `);
- });
- });
-
- // Example of adding a new hero
- $('#addHeroBtn').on('click', async () => {
- const heroName = $('#heroName').val();
- const heroPoints = parseInt($('#heroPoints').val(), 10);
- await db.hero.insert({
- id: Date.now().toString(),
- name: heroName,
- points: heroPoints
- });
- });
-});
-```
-
-With this approach, any time data in the `hero` collection changes - like when a new hero is added - your jQuery code re-renders the list of heroes automatically.
-
-## Different RxStorage layers for RxDB
-
-RxDB supports multiple storage backends (RxStorage layers). Some popular ones:
-
-- [LocalStorage.js RxStorage](../rx-storage-localstorage.md): Uses the browsers [localstorage](./localstorage.md). Fast and easy to set up.
-- [IndexedDB RxStorage](../rx-storage-indexeddb.md): Direct IndexedDB usage, suitable for modern browsers.
-- [OPFS RxStorage](../rx-storage-opfs.md): Uses the File System Access API for better performance in supported browsers.
-- [Memory RxStorage](../rx-storage-memory.md): Stores data in memory, handy for tests or ephemeral data.
-- [SQLite RxStorage](../rx-storage-sqlite.md): Uses SQLite (potentially via WebAssembly). In typical browser-based scenarios, localstorage or IndexedDB storage is usually more straightforward.
-
-## Synchronizing Data with RxDB between Clients and Servers
-
-### Offline-First Approach
-RxDB's [offline-first](../offline-first.md) approach allows your jQuery application to store and query data locally. Users can continue interacting, even offline. When connectivity returns, RxDB syncs to the server.
-
-### Conflict Resolution
-Should multiple clients update the same document, RxDB offers [conflict handling strategies](../transactions-conflicts-revisions.md). You decide how to resolve conflicts - like keeping the latest edit or merging changes - ensuring data integrity across distributed systems.
-
-### Bidirectional Synchronization
-With RxDB, data changes flow both ways: from client to server and from server to client. This real-time synchronization ensures that all users or tabs see consistent, up-to-date data.
-
-
-
-## Advanced RxDB Features and Techniques
-
-### Indexing and Performance Optimization
-Create indexes on frequently queried fields to speed up performance. For large data sets, indexing can drastically improve query times, keeping your jQuery UI snappy.
-
-### Encryption of Local Data
-RxDB supports [encryption to secure data stored in the browser](../encryption.md). This is crucial if your application handles sensitive user information.
-
-### Change Streams and Event Handling
-Use change streams to listen for data modifications at the database or collection level. This can trigger [real-time](./realtime-database.md) [UI updates](./optimistic-ui.md), notifications, or custom logic whenever the data changes.
-
-### JSON Key Compression
-If your data model has large or repetitive field names, [JSON key compression](../key-compression.md) can minimize stored document size and potentially boost performance.
-
-## Best Practices for Using RxDB in jQuery Applications
-
-- Centralize Your Database: Initialize and configure RxDB in one place. Expose the instance where needed or store it globally to avoid re-creating it on every script.
-- Leverage Observables: Instead of polling or manually refreshing data, rely on RxDB's reactivity. Subscribe to queries and let RxDB inform you when data changes.
-- Handle Subscriptions: If you create subscriptions in a single-page context, ensure you don't re-subscribe endlessly or create memory leaks. Clean them up if you're navigating away or removing DOM elements.
-- Offline Testing: Thoroughly test how your jQuery app behaves without a network connection. Simulate offline states in your browser's dev tools or with flight mode to ensure the user experience remains smooth.
-- Performance Profiling: For large data sets or frequent data updates, add indexes and carefully measure query performance. Optimize only where needed.
-
-## Follow Up
-To explore more about RxDB and leverage its capabilities for browser database development, check out the following resources:
-
-- [RxDB GitHub Repository](/code/): Visit the official GitHub repository of RxDB to access the source code, documentation, and community support.
-- [RxDB Quickstart](../quickstart.md): Get started quickly with RxDB by following the provided quickstart guide, which offers step-by-step instructions for setting up and using RxDB in your projects.
-- [RxDB Examples](https://github.com/pubkey/rxdb/tree/master/examples): Browse official examples to see RxDB in action and learn best practices you can apply to your own project - even if jQuery isn't explicitly featured, the patterns are similar.
diff --git a/docs/articles/json-based-database.html b/docs/articles/json-based-database.html
deleted file mode 100644
index 575b6c257b7..00000000000
--- a/docs/articles/json-based-database.html
+++ /dev/null
@@ -1,153 +0,0 @@
-
-
-
-
-
-JSON-Based Databases - Why NoSQL and RxDB Simplify App Development | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
JSON-Based Databases: Why NoSQL and RxDB Simplify App Development
-
Modern applications handle highly dynamic, often deeply nested data structures—commonly represented in JSON. Whether you're building a real-time dashboard or a fully offline mobile app, storing and querying data in a JSON-friendly way can reduce overhead and coding complexity. This is where JSON-based databases (often part of the NoSQL family) come into play, letting you store objects in the same format they're used in your code, eliminating the schema wrangling that can come with a strict relational design.
-
Below, we explore why JSON-based databases naturally align with NoSQL principles, how relational engines (like PostgreSQL or SQLite) handle JSON columns, the pitfalls of storing data in a single plain JSON text file, and the ways RxDB stands out as an offline-first JSON solution for JavaScript developers—complete with advanced features like JSON-Schema and JSON-key-compression.
When your data is stored as JSON, each record or document can hold nested arrays and sub-objects with no forced table schema. NoSQL solutions such as MongoDB, CouchDB, Firebase, and RxDB store and retrieve these documents in their “raw” JSON form. This model integrates smoothly with how front-end applications already handle data, minimizing transformations and improving developer productivity.
Traditional SQL tables enforce rigid column definitions and demand explicit schema migrations when you add or rename a field. By contrast, NoSQL solutions accept more dynamic data structures, allowing changes on the fly. This means a front-end developer can add a new field to a JSON object—perhaps for a new feature—without the friction of redefining or migrating a database schema. While this is possible, it is often not recommended.
As modern UIs frequently manipulate deeply nested or changing data, developers find it easier to store whole objects directly, saving time that might otherwise be spent performing complex joins or normalizing data. For instance, frameworks like React, Vue, or Angular are inherently comfortable with nested JSON structures, which map more directly to NoSQL’s “document” approach than to relational tables.
It depends on your application. SQL remains exceptional for complex aggregations, enforced relationships, and sophisticated transaction handling. But NoSQL is often more intuitive and easier to maintain for “document-first” applications that:
-
-
Thrive on flexible or rapidly evolving data models.
-
Rely on hierarchical or nested JSON objects.
-
Avoid multi-table joins.
-
Require easy horizontal scaling for large sets of documents.
-
-
Relational databases are still a top choice for many enterprise back-ends, especially when advanced analytics or strongly enforced referential integrity is needed. But if your application is predominantly storing and manipulating JSON documents (e.g., user profiles, real-time chat logs, embedded items), a JSON-based or document-oriented approach can greatly reduce friction during development.
NoSQL solutions—particularly JSON-based document stores—provide a natural fit for flexible, nested data in UI-heavy applications. However, certain scenarios may benefit more from a SQL solution:
-
-
Complex Relationships: If your data demands intricate joins across multiple entities (e.g., many-to-many relationships that can’t easily be embedded in a single document), a well-structured relational schema can simplify queries.
-
Strong Integrity and Constraints: SQL excels at enforcing constraints such as foreign keys, unique constraints, and advanced triggers. If your system needs strict data validation and complex business logic within the database, SQL might prove more robust.
-
High-End Analytical Queries: Relational databases can handle sophisticated aggregations, groupings, and joins more efficiently. If your app frequently runs advanced SQL queries, a NoSQL approach may complicate or slow down analytics.
-
Legacy Integration: Many enterprise systems are built around existing relational schemas. A purely NoSQL approach might mean rewriting or bridging systems that are heavily reliant on SQL constraints and transformations.
-
Transaction Handling: While many NoSQL solutions have improved transaction support, it can still lag behind well-established SQL transaction models. If ACID properties and multi-operation atomicity are paramount, you might prefer a tried-and-true relational engine.
-
-
In short, if you prioritize advanced relational queries, robust constraints, or complex business rules at the database level, SQL remains a powerful, and possibly superior, choice. For user-centric, fast-evolving JSON data, though, NoSQL or JSON-based solutions often reduce the friction of frequent schema changes.
To accommodate the demand for flexible data, several SQL engines (notably PostgreSQL and MySQL) introduced support for JSON columns. PostgreSQL offers the JSON and JSONB types, enabling developers to store raw JSON in a column. You can also index specific paths within the JSON to speed lookups on nested fields:
-
CREATE TABLE products (
- id SERIAL PRIMARY KEY,
- name TEXT,
- details JSONB
-);
-
--- Insert a record with JSON data
-INSERT INTO products (name, details) VALUES
-('Laptop', '{"brand": "BrandX", "features": ["Touchscreen", "SSD"]}');
-
Although this approach merges the best of both worlds (SQL queries + flexible JSON fields), it can also create a “split personality” in your schema. You might store stable data in normal columns, while unpredictable or nested details live inside a JSONB field. Some projects flourish with this hybrid design, others find it a bit unwieldy.
SQLite also allows storing JSON data, typically as text columns, but with some additional features since SQLite 3.9 (2015) including the JSON1 extension. This extension can parse JSON text, perform queries on JSON fields, and do partial updates. However, storing JSON in SQLite does require you to ensure you’ve compiled SQLite with JSON1 support or to rely on a library that bundles it. While possible, you still won't get quite the same schema-agnostic ease as a full document store, but it’s a pragmatic solution for smaller or embedded needs on the server side—or occasionally in the browser if you run SQLite via WebAssembly. RxDB uses this in its SQLite storage.
-
JSON vs. Database - Why a Plain JSON Text File is a Problem
-
Some developers consider storing everything in a single JSON file, typically read and written directly from disk or local storage. This approach, while seemingly simple, usually does not scale. Key issues include:
-
-
No Concurrency: If multiple parts of the application try to write to the same JSON file, you risk overwriting changes.
-
No Indexes: Finding or filtering items in large JSON text requires scanning everything. This is slow and quickly becomes unmanageable.
-
No Partial Updates: You often reload the entire file, modify it in memory, then write it back, which is highly inefficient for large data sets.
-
Corruption Risk: A single corrupted write or partial save might break the entire JSON file, losing all data.
-
High Memory Usage: The entire file may need to be parsed into memory, even if you only need a fraction of the data.
-
-
Databases—relational or NoSQL—solve these issues by handling concurrency, enabling partial reads/writes, establishing indexes, and ensuring transactional integrity so you don’t lose everything if the process is interrupted mid-write.
-
-
RxDB: A JSON-Focused Database for JavaScript Apps
-
Many NoSQL databases operate on the server, whereas RxDB is built for client-side usage—browsers, mobile apps, or Node.js. It specializes in JSON documents and embraces an offline-first philosophy.
RxDB stores each record as a JSON document, closely matching how front-end frameworks handle state. This eliminates complex transformations or manual JSON parsing before writing to a table.
-
-
Reactive Queries
-
-
Instead of complex SQL, RxDB uses JSON-based query definitions. You can subscribe to query results, letting your UI automatically refresh when data changes locally or from remote sync updates:
-
-
-
Offline-First Sync
-
-
Built-in replication plugins push/pull changes to or from a remote server. If your app is offline, updates get stored locally, then sync up seamlessly once a connection is available.
-
-
Optional JSON-Schema
-
-
Though it’s a document database, RxDB encourages you to define a JSON-based schema for clarity, indexing, and type validation. This helps maintain data consistency while still allowing a measure of flexibility for new fields.
JSON-Schema: By specifying a JSON-Schema, you can define which fields exist, whether they are required, and their data types. This is invaluable for catching malformed documents early and imposing mild structure in a NoSQL setting.
-
-
-
JSON Key-Compression: Large, verbose field names can bloat storage usage. RxDB’s optional key-compression plugin automatically shortens field names in your JSON documents internally, reducing disk space and bandwidth:
JSON-based databases naturally align with NoSQL because they accommodate evolving, nested data without rigid schemas. This makes them appealing for many UI-centric or offline-first applications where flexible documents and agile development cycles matter more than heavy relational queries or constraints.
-
SQL can still store JSON—whether in PostgreSQL’s JSONB columns, MySQL’s JSON fields, or SQLite’s JSON1 extension. For some teams, a hybrid approach pairing SQL for relational data with JSON columns for more flexible fields works well. However, storing everything in a single monolithic JSON text file is rarely advisable for anything beyond trivial tasks—databases excel at concurrency, indexing, and partial writes.
-
Tools like RxDB provide an even simpler, local-first take on JSON documents—particularly for JavaScript projects. With offline replication, reactive queries, optional JSON-Schema, and advanced optimizations such as key-compression, RxDB streamlines building dynamic, user-facing features while preserving the core benefits of a robust document database.
-
To explore more about RxDB and its capabilities for browser database development, check out the following resources:
-
-
RxDB GitHub Repository: Visit the official GitHub repository of RxDB to access the source code, documentation, and community support.
-
RxDB Quickstart: Get started quickly with RxDB by following the provided quickstart guide, which offers step-by-step instructions for setting up and using RxDB in your projects.
-
RxDB Examples: Browse official examples to see RxDB in action and learn best practices you can apply to your own project - even if jQuery isn't explicitly featured, the patterns are similar.
-
-
\ No newline at end of file
diff --git a/docs/articles/json-based-database.md b/docs/articles/json-based-database.md
deleted file mode 100644
index ee601b6af8c..00000000000
--- a/docs/articles/json-based-database.md
+++ /dev/null
@@ -1,157 +0,0 @@
-# JSON-Based Databases - Why NoSQL and RxDB Simplify App Development
-
-> Dive into how JSON-based databases power modern UI-centric apps, why NoSQL often outperforms SQL for dynamic data, how SQLite accommodates JSON, and why RxDB delivers a seamless offline-first solution for JavaScript with advanced JSON features.
-
-# JSON-Based Databases: Why NoSQL and RxDB Simplify App Development
-
-Modern applications handle highly dynamic, often deeply nested data structures—commonly represented in **JSON**. Whether you're building a real-time dashboard or a fully offline mobile app, storing and querying data in a JSON-friendly way can reduce overhead and coding complexity. This is where **JSON-based databases** (often part of the **NoSQL** family) come into play, letting you store objects in the same format they're used in your code, eliminating the schema wrangling that can come with a strict relational design.
-
-Below, we explore why JSON-based databases naturally align with **NoSQL** principles, how relational engines (like PostgreSQL or SQLite) handle JSON columns, the pitfalls of storing data in a single plain JSON text file, and the ways [RxDB](https://rxdb.info/) stands out as an offline-first JSON solution for JavaScript developers—complete with advanced features like JSON-Schema and JSON-key-compression.
-
-
-
-## Why JSON-Based Databases Are Typically NoSQL
-
-### Document-Oriented by Nature
-
-When your data is stored as JSON, each record or document can hold nested arrays and sub-objects with no forced table schema. NoSQL solutions such as [MongoDB](../rx-storage-mongodb.md), [CouchDB](../replication-couchdb.md), [Firebase](../replication-firestore.md), and **RxDB** store and retrieve these documents in their “raw” JSON form. This model integrates smoothly with how front-end applications already handle data, minimizing transformations and improving developer productivity.
-
-### Flexible, Schema-Agnostic
-
-Traditional SQL tables enforce rigid column definitions and demand explicit schema migrations when you add or rename a field. By contrast, NoSQL solutions accept more dynamic data structures, allowing changes on the fly. This means a front-end developer can add a new field to a JSON object—perhaps for a new feature—without the friction of redefining or migrating a database schema. While this is possible, it is often not recommended.
-
-### Aligned With Evolving User Interfaces
-
-As modern UIs frequently manipulate deeply nested or changing data, developers find it easier to store whole objects directly, saving time that might otherwise be spent performing complex joins or normalizing data. For instance, frameworks like React, Vue, or Angular are inherently comfortable with nested JSON structures, which map more directly to NoSQL’s “document” approach than to relational tables.
-
-## Is NoSQL “Better” Than SQL?
-
-It depends on your application. **SQL** remains exceptional for complex aggregations, enforced relationships, and sophisticated transaction handling. But **NoSQL** is often more intuitive and easier to maintain for “document-first” applications that:
-
-- Thrive on flexible or rapidly evolving data models.
-- Rely on hierarchical or nested JSON objects.
-- Avoid multi-table joins.
-- Require easy horizontal scaling for large sets of documents.
-
-Relational databases are still a top choice for many enterprise back-ends, especially when advanced analytics or strongly enforced referential integrity is needed. But if your application is predominantly storing and manipulating JSON documents (e.g., user profiles, real-time chat logs, embedded items), a JSON-based or document-oriented approach can greatly reduce friction during development.
-
-## When to Prefer SQL Instead of JSON/NoSQL
-NoSQL solutions—particularly JSON-based document stores—provide a natural fit for flexible, nested data in UI-heavy applications. However, certain scenarios may benefit more from a **SQL** solution:
-1. **Complex Relationships**: If your data demands intricate joins across multiple entities (e.g., many-to-many relationships that can’t easily be embedded in a single document), a well-structured relational schema can simplify queries.
-2. **Strong Integrity and Constraints**: SQL excels at enforcing constraints such as foreign keys, unique constraints, and advanced triggers. If your system needs strict data validation and complex business logic within the database, SQL might prove more robust.
-3. **High-End Analytical Queries**: Relational databases can handle sophisticated aggregations, groupings, and joins more efficiently. If your app frequently runs advanced SQL queries, a NoSQL approach may complicate or slow down analytics.
-4. **Legacy Integration**: Many enterprise systems are built around existing relational schemas. A purely NoSQL approach might mean rewriting or bridging systems that are heavily reliant on SQL constraints and transformations.
-5. **Transaction Handling**: While many NoSQL solutions have improved transaction support, it can still lag behind well-established SQL transaction models. If ACID properties and multi-operation atomicity are paramount, you might prefer a tried-and-true relational engine.
-
-In short, if you prioritize advanced relational queries, robust constraints, or complex business rules at the database level, SQL remains a powerful, and possibly superior, choice. For user-centric, fast-evolving JSON data, though, NoSQL or JSON-based solutions often reduce the friction of frequent schema changes.
-
-## Storing JSON in Traditional SQL Databases
-
-### JSON Columns in PostgreSQL or MySQL
-
-To accommodate the demand for flexible data, several SQL engines (notably **PostgreSQL** and MySQL) introduced support for **JSON** columns. PostgreSQL offers the `JSON` and `JSONB` types, enabling developers to store raw JSON in a column. You can also index specific paths within the JSON to speed lookups on nested fields:
-
-```sql
-CREATE TABLE products (
- id SERIAL PRIMARY KEY,
- name TEXT,
- details JSONB
-);
-
--- Insert a record with JSON data
-INSERT INTO products (name, details) VALUES
-('Laptop', '{"brand": "BrandX", "features": ["Touchscreen", "SSD"]}');
-```
-
-Although this approach merges the best of both worlds (SQL queries + flexible JSON fields), it can also create a “split personality” in your schema. You might store stable data in normal columns, while unpredictable or nested details live inside a JSONB field. Some projects flourish with this hybrid design, others find it a bit unwieldy.
-
-
-
-
-
-## Storing JSON in SQLite
-SQLite also allows storing JSON data, typically as text columns, but with some additional features since **SQLite 3.9** (2015) including the [JSON1 extension](https://www.sqlite.org/json1.html). This extension can parse JSON text, perform queries on JSON fields, and do partial updates. However, storing JSON in SQLite does require you to ensure you’ve compiled SQLite with JSON1 support or to rely on a library that bundles it. While possible, you still won't get quite the same schema-agnostic ease as a full document store, but it’s a pragmatic solution for smaller or embedded needs on the server side—or occasionally in the browser if you run SQLite via WebAssembly. RxDB uses this in its [SQLite storage](../rx-storage-sqlite.md).
-
-## JSON vs. Database - Why a Plain JSON Text File is a Problem
-
-Some developers consider storing everything in a single JSON file, typically read and written directly from disk or local storage. This approach, while seemingly simple, usually does not scale. Key issues include:
-
-- **No Concurrency**: If multiple parts of the application try to write to the same JSON file, you risk overwriting changes.
-- **No Indexes**: Finding or filtering items in large JSON text requires scanning everything. This is slow and quickly becomes unmanageable.
-- **No Partial Updates**: You often reload the entire file, modify it in memory, then write it back, which is highly inefficient for large data sets.
-- **Corruption Risk**: A single corrupted write or partial save might break the entire JSON file, losing all data.
-- **High Memory Usage**: The entire file may need to be parsed into memory, even if you only need a fraction of the data.
-
-Databases—relational or NoSQL—solve these issues by handling concurrency, enabling partial reads/writes, establishing indexes, and ensuring transactional integrity so you don’t lose everything if the process is interrupted mid-write.
-
-
-
-
-
-
-
-## RxDB: A JSON-Focused Database for JavaScript Apps
-
-Many NoSQL databases operate on the server, whereas RxDB is built for client-side usage—browsers, mobile apps, or Node.js. It specializes in JSON documents and embraces an [offline-first](../offline-first.md) philosophy.
-
-### Key Characteristics
-1. **Local JSON Storage**
-
-RxDB stores each record as a JSON document, closely matching how front-end frameworks handle state. This eliminates complex transformations or manual JSON parsing before writing to a table.
-
-2. **Reactive Queries**
-
-Instead of complex SQL, RxDB uses JSON-based [query](../rx-query.md) definitions. You can subscribe to query results, letting your UI automatically refresh when data changes locally or from remote sync updates:
-
-
-
-3. **Offline-First Sync**
-
-Built-in replication plugins push/pull changes to or from a remote server. If your app is offline, updates get stored locally, then sync up seamlessly once a connection is available.
-
-4. **Optional JSON-Schema**
-
-Though it’s a document database, RxDB encourages you to define a JSON-based schema for clarity, indexing, and type validation. This helps maintain data consistency while still allowing a measure of flexibility for new fields.
-
-### Advanced JSON Features in RxDB
-
-- **JSON-Schema**: By specifying a JSON-Schema, you can define which fields exist, whether they are required, and their data types. This is invaluable for catching malformed documents early and imposing mild structure in a NoSQL setting.
-
-- **JSON Key-Compression**: Large, verbose field names can bloat storage usage. RxDB’s optional [key-compression plugin](../key-compression.md) automatically shortens field names in your JSON documents internally, reducing disk space and bandwidth:
-
-```ts
-// Example: how key-compression can transform your documents
-const uncompressed = {
- "firstName": "Corrine",
- "lastName": "Ziemann",
- "shoppingCartItems": [
- { "productNumber": 29857, "amount": 1 },
- { "productNumber": 53409, "amount": 6 }
- ]
-};
-
-const compressed = {
- "|e": "Corrine",
- "|g": "Ziemann",
- "|i": [
- { "|h": 29857, "|b": 1 },
- { "|h": 53409, "|b": 6 }
- ]
-};
-```
-
-The user sees no difference in their code—RxDB automatically decompresses data on read—but the overhead is drastically reduced behind the scenes.
-
-## Follow Up
-
-JSON-based databases naturally align with NoSQL because they accommodate evolving, nested data without rigid schemas. This makes them appealing for many UI-centric or offline-first applications where flexible documents and agile development cycles matter more than heavy relational queries or constraints.
-
-SQL can still store JSON—whether in PostgreSQL’s JSONB columns, MySQL’s JSON fields, or SQLite’s JSON1 extension. For some teams, a hybrid approach pairing SQL for relational data with JSON columns for more flexible fields works well. However, storing everything in a single monolithic JSON text file is rarely advisable for anything beyond trivial tasks—databases excel at concurrency, indexing, and partial writes.
-
-Tools like RxDB provide an even simpler, [local-first](./local-first-future.md) take on JSON documents—particularly for JavaScript projects. With offline [replication](../replication.md), reactive queries, optional JSON-Schema, and advanced optimizations such as key-compression, RxDB streamlines building dynamic, user-facing features while preserving the core benefits of a robust document database.
-
-To explore more about RxDB and its capabilities for browser database development, check out the following resources:
-
-- [RxDB GitHub Repository](/code/): Visit the official GitHub repository of RxDB to access the source code, documentation, and community support.
-- [RxDB Quickstart](../quickstart.md): Get started quickly with RxDB by following the provided quickstart guide, which offers step-by-step instructions for setting up and using RxDB in your projects.
-- [RxDB Examples](https://github.com/pubkey/rxdb/tree/master/examples): Browse official examples to see RxDB in action and learn best practices you can apply to your own project - even if jQuery isn't explicitly featured, the patterns are similar.
diff --git a/docs/articles/json-database.html b/docs/articles/json-database.html
deleted file mode 100644
index 14a441fc457..00000000000
--- a/docs/articles/json-database.html
+++ /dev/null
@@ -1,140 +0,0 @@
-
-
-
-
-
-RxDB - The JSON Database Built for JavaScript | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Storing data as JSON documents in a NoSQL database is not just a trend; it's a practical choice. JSON data is highly compatible with various tools and is human-readable, making it an excellent fit for modern applications. JSON documents offer more flexibility compared to traditional SQL table rows, as they can contain nested data structures. This article introduces RxDB, an open-source, flexible, performant, and battle-tested NoSQL JSON database specifically designed for JavaScript applications.
JavaScript Friendliness: JavaScript, a prevalent language for web development, naturally uses JSON for data representation. Using a JSON database aligns seamlessly with JavaScript's native data format.
-
-
-
Compatibility: JSON is widely supported across different programming languages and platforms. Storing data in JSON format ensures compatibility with a broad range of tools and systems. All modern programming ecosystems have packages to parse, validate and process JSON data.
-
-
-
Flexibility: JSON documents can accommodate complex and nested data structures, allowing developers to store data in a more intuitive and hierarchical manner compared to SQL table rows. Nested data can be just stored in-document instead of having related tables.
-
-
-
Human-Readable: JSON is easy to read and understand, simplifying debugging and data inspection tasks.
When incorporating JSON documents into your application, you have several storage and access options to consider:
-
-
-
Local In-App Database with In-Memory Storage: Ideal for lightweight applications or temporary data storage, this option keeps data in memory, ensuring fast read and write operations. However, data is not persistet beyond the current application session, making it suitable for temporary data storage. With RxDB, the memory RxStorage can be utilized to create an in-memory database.
-
-
-
Local In-App Database with Persistent Storage: Suitable for applications requiring data retention across sessions. Data is stored on the user's device or inside of the Node.js application, offering persistence between application sessions. It balances speed and data retention, making it versatile for various applications. With RxDB, a whole range of persistent storages is available. As example, for browser there is the IndexedDB storage. For server side applications, the Node.js Filesystem storage can be used. There are many more storages for React-Native, Flutter, Capacitors.js and others.
-
-
-
Server Database Connected to the Application: For applications requiring data synchronization and accessibility from multiple processes, a server-based database is the preferred choice. Data is stored on a remote server, facilitating data sharing, synchronization, and accessibility across multiple processes. It's suitable for scenarios requiring centralized data management and enhanced security and backup capabilities on the server. RxDB supports the FoundationDB and MongoDB as a remote database server.
Compression storage for JSON documents is made effortless with RxDB's key-compression plugin. This feature enables the efficient storage of compressed document data, reducing storage requirements while maintaining data integrity. Queries on compressed documents remain seamless, ensuring that your application benefits from both space-saving advantages and optimal query performance, making RxDB a compelling choice for managing JSON data efficiently. The compression happens inside of the RxDatabase and does not affect the API usage. The only limitation is that encrypted fields themself cannot be used inside a query.
-
Schema Validation and Data Migration on Schema Changes
-
Storing JSON documents inside of a database in an application, can cause a problem when the format of the data changes. Instead of having a single server where the data must be migrated, many client devices are out there that have to run a migration.
-When your application's schema evolves, RxDB provides migration strategies to facilitate the transition, ensuring data consistency throughout schema updates.
-
JSONSchema Validation Plugins: RxDB supports multiple JSONSchema validation plugins, guaranteeing that only valid data is stored in the database. RxDB uses the JsonSchema standardization that you might know from other technologies like OpenAPI (aka Swagger).
RxDB offers versatile storage solutions for browser-based applications:
-
-
-
Multiple Storage Plugins: RxDB supports various storage backends, including IndexedDB, localstorage and In-Memory, catering to a range of browser environments.
-
-
-
Observable Queries: With RxDB, you can create observable queries that work seamlessly across multiple browser tabs, providing real-time updates and synchronization.
Certainly! Let's delve deeper into the performance aspects of RxDB when it comes to working with JSON data.
-
-
-
Efficient Querying: RxDB is engineered for rapid and efficient querying of JSON data. It employs a well-optimized indexing system that allows for lightning-fast retrieval of specific data points within your JSON documents. Whether you're fetching individual values or complex nested structures, RxDB's query performance is designed to keep your application responsive, even when dealing with large datasets.
-
-
-
Scalability: As your application grows and your JSON dataset expands, RxDB scales gracefully. Its performance remains consistent, enabling you to handle increasingly larger volumes of data without compromising on speed or responsiveness. This scalability is essential for applications that need to accommodate growing user bases and evolving data needs.
-
-
-
Reduced Latency: RxDB's streamlined data access mechanisms significantly reduce latency when working with JSON data. Whether you're reading from the database, making updates, or synchronizing data between clients and servers, RxDB's optimized operations help minimize the delays often associated with data access. Observed queries are optimized with the EventReduce algorithm to provide nearly-instand UI updates on data changes.
-
-
-
RxStorage Layer: Because RxDB allows you to swap out the storage layer. A storage with the most optimal performance can be chosen for each runtime while not touching other database code. Depending on the access patterns, you can pick exactly the storage that is best:
Node.js developers can also benefit from RxDB's capabilities. By integrating RxDB into your Node.js applications, you can harness the power of a NoSQL JSON db to efficiently manage your data on the server-side. RxDB's flexibility, performance, and essential features are equally valuable in server-side development. Read more about RxDB+Node.js.
For mobile app developers working with React Native, RxDB offers a convenient solution for handling JSON data. Whether you're building Android or iOS applications, RxDB's compatibility with JavaScript and its ability to work with JSON documents make it a natural choice for data management within your React Native apps. Read more about RxDB+React-Native.
In some cases, you might want to use SQLite as a backend storage solution for your JSON data. RxDB can be configured to work with SQLite, providing the benefits of both a relational database system and JSON document storage. This hybrid approach can be advantageous when dealing with complex data relationships while retaining the flexibility of JSON data representation.
To further explore RxDB and get started with using it in your frontend applications, consider the following resources:
-
-
RxDB Quickstart: A step-by-step guide to quickly set up RxDB in your project and start leveraging its features.
-
RxDB GitHub Repository: The official repository for RxDB, where you can find the code, examples, and community support.
-
-
By embracing RxDB as your JSON database solution, you can tap into the extensive capabilities of JSON data storage. This empowers your applications with offline accessibility, caching, enhanced performance, and effortless data synchronization. RxDB's focus on JavaScript and its robust feature set render it the perfect selection for frontend developers in pursuit of efficient and scalable data storage solutions.
-
-
\ No newline at end of file
diff --git a/docs/articles/json-database.md b/docs/articles/json-database.md
deleted file mode 100644
index b6ab14d1b8b..00000000000
--- a/docs/articles/json-database.md
+++ /dev/null
@@ -1,109 +0,0 @@
-# RxDB - The JSON Database Built for JavaScript
-
-> Experience a powerful JSON database with RxDB, built for JavaScript. Store, sync, and compress your data seamlessly across web and mobile apps.
-
-# RxDB - JSON Database for JavaScript
-
-Storing data as **JSON documents** in a **NoSQL** database is not just a trend; it's a practical choice. JSON data is highly compatible with various tools and is human-readable, making it an excellent fit for modern applications. JSON documents offer more flexibility compared to traditional SQL table rows, as they can contain nested data structures. This article introduces [RxDB](https://rxdb.info/), an open-source, flexible, performant, and battle-tested NoSQL JSON database specifically designed for **JavaScript** applications.
-
-
-
-
-
-
-
-## Why Choose a JSON Database?
-- **JavaScript Friendliness**: JavaScript, a prevalent language for web development, naturally uses JSON for data representation. Using a JSON database aligns seamlessly with JavaScript's native data format.
-
-- **Compatibility**: JSON is widely supported across different programming languages and platforms. Storing data in JSON format ensures compatibility with a broad range of tools and systems. All modern programming ecosystems have packages to parse, validate and process JSON data.
-
-- **Flexibility**: JSON documents can accommodate complex and nested data structures, allowing developers to store data in a more intuitive and hierarchical manner compared to SQL table rows. Nested data can be just stored in-document instead of having related tables.
-
-- **Human-Readable**: JSON is easy to read and understand, simplifying debugging and data inspection tasks.
-
-## Storage and Access Options for JSON Documents
-When incorporating JSON documents into your application, you have several storage and access options to consider:
-
-- **Local In-App Database with In-Memory Storage**: Ideal for lightweight applications or temporary data storage, this option keeps data in memory, ensuring fast read and write operations. However, data is not persistet beyond the current application session, making it suitable for temporary data storage. With RxDB, the [memory RxStorage](../rx-storage-memory.md) can be utilized to create an in-memory database.
-
-- **Local In-App Database with Persistent Storage**: Suitable for applications requiring data retention across sessions. Data is stored on the user's device or inside of the Node.js application, offering persistence between application sessions. It balances speed and data retention, making it versatile for various applications. With RxDB, a whole range of persistent storages is available. As example, for browser there is the [IndexedDB storage](../rx-storage-indexeddb.md). For server side applications, the [Node.js Filesystem storage](../rx-storage-filesystem-node.md) can be used. There are [many more storages](../rx-storage.md) for React-Native, Flutter, Capacitors.js and others.
-
-- **Server Database Connected to the Application**: For applications requiring data synchronization and accessibility from multiple processes, a server-based database is the preferred choice. Data is stored on a **remote server**, facilitating data sharing, synchronization, and accessibility across multiple processes. It's suitable for scenarios requiring centralized data management and enhanced security and backup capabilities on the server. RxDB supports the [FoundationDB](../rx-storage-foundationdb.md) and [MongoDB](../rx-storage-mongodb.md) as a remote database server.
-
-## Compression Storage for JSON Documents
-
-Compression storage for JSON documents is made effortless with RxDB's [key-compression plugin](../key-compression.md). This feature enables the efficient storage of compressed document data, reducing storage requirements while maintaining data integrity. Queries on compressed documents remain seamless, ensuring that your application benefits from both space-saving advantages and optimal query performance, making RxDB a compelling choice for managing JSON data efficiently. The compression happens inside of the [RxDatabase](../rx-database.md) and does not affect the API usage. The only limitation is that encrypted fields themself cannot be used inside a query.
-
-## Schema Validation and Data Migration on Schema Changes
-Storing JSON documents inside of a database in an application, can cause a problem when the format of the data changes. Instead of having a single server where the data must be migrated, many client devices are out there that have to run a migration.
-When your application's schema evolves, RxDB provides [migration strategies](../migration-schema.md) to facilitate the transition, ensuring data consistency throughout schema updates.
-
-**JSONSchema Validation Plugins**: RxDB supports multiple [JSONSchema validation plugins](../schema-validation.md), guaranteeing that only valid data is stored in the database. RxDB uses the JsonSchema standardization that you might know from other technologies like OpenAPI (aka Swagger).
-
-```javascript
-// RxDB Schema example
-const mySchema = {
- version: 0,
- primaryKey: 'id', // <- define the primary key for your documents
- type: 'object',
- properties: {
- id: {
- type: 'string',
- maxLength: 100 // <- the primary key must have set maxLength
- },
- name: {
- type: 'string',
- maxLength: 100
- },
- done: {
- type: 'boolean'
- },
- timestamp: {
- type: 'string',
- format: 'date-time'
- }
- },
- required: ['id', 'name', 'done', 'timestamp']
-}
-```
-
-## Store JSON with RxDB in Browser Applications
-RxDB offers versatile storage solutions for browser-based applications:
-
-- **Multiple Storage Plugins**: RxDB supports various storage backends, including [IndexedDB](../rx-storage-indexeddb.md), [localstorage](../rx-storage-localstorage.md) and [In-Memory](../rx-storage-memory.md), catering to a range of browser environments.
-
-- **Observable Queries**: With RxDB, you can create observable [queries](../rx-query.md) that work seamlessly across multiple browser tabs, providing real-time updates and synchronization.
-
-
-
-## RxDB JSON Database Performance
-
-Certainly! Let's delve deeper into the performance aspects of RxDB when it comes to working with JSON data.
-
-1. **Efficient Querying:** RxDB is engineered for rapid and efficient querying of JSON data. It employs a well-optimized indexing system that allows for lightning-fast retrieval of specific data points within your JSON documents. Whether you're fetching individual values or complex nested structures, RxDB's query performance is designed to keep your application responsive, even when dealing with large datasets.
-
-2. **Scalability:** As your application grows and your [JSON dataset](./json-based-database.md) expands, RxDB scales gracefully. Its performance remains consistent, enabling you to handle increasingly larger volumes of data without compromising on speed or responsiveness. This scalability is essential for applications that need to accommodate growing user bases and evolving data needs.
-
-3. **Reduced Latency:** RxDB's streamlined data access mechanisms significantly reduce latency when working with JSON data. Whether you're reading from the database, making updates, or synchronizing data between clients and servers, RxDB's optimized operations help minimize the delays often associated with data access. Observed queries are optimized with the [EventReduce algorithm](https://github.com/pubkey/event-reduce) to provide nearly-instand UI updates on data changes.
-
-4. **RxStorage Layer**: Because RxDB allows you to swap out the storage layer. A storage with the most optimal performance can be chosen for each runtime while not touching other database code. Depending on the access patterns, you can pick exactly the storage that is best:
-
-
-
-## RxDB in Node.js
-Node.js developers can also benefit from RxDB's capabilities. By integrating RxDB into your Node.js applications, you can harness the power of a NoSQL JSON db to efficiently manage your data on the server-side. RxDB's flexibility, performance, and essential features are equally valuable in server-side development. [Read more about RxDB+Node.js](../nodejs-database.md).
-
-## RxDB to store JSON documents in React Native
-
-For mobile app developers working with React Native, RxDB offers a convenient solution for handling JSON data. Whether you're building Android or iOS applications, RxDB's compatibility with JavaScript and its ability to work with JSON documents make it a natural choice for data management within your React Native apps. [Read more about RxDB+React-Native](../react-native-database.md).
-
-## Using SQLite as a JSON Database
-In some cases, you might want to use SQLite as a backend storage solution for your JSON data. RxDB can be configured [to work with SQLite](../rx-storage-sqlite.md), providing the benefits of both a relational database system and JSON document storage. This hybrid approach can be advantageous when dealing with complex data relationships while retaining the flexibility of JSON data representation.
-
-## Follow Up
-To further explore RxDB and get started with using it in your frontend applications, consider the following resources:
-
-- [RxDB Quickstart](../quickstart.md): A step-by-step guide to quickly set up RxDB in your project and start leveraging its features.
-- [RxDB GitHub Repository](https://github.com/pubkey/rxdb): The official repository for RxDB, where you can find the code, examples, and community support.
-
-By embracing [RxDB](https://rxdb.info/) as your **JSON database** solution, you can tap into the extensive capabilities of JSON data storage. This empowers your applications with offline accessibility, caching, enhanced performance, and effortless data synchronization. RxDB's focus on JavaScript and its robust feature set render it the perfect selection for frontend developers in pursuit of efficient and scalable data storage solutions.
diff --git a/docs/articles/local-database.html b/docs/articles/local-database.html
deleted file mode 100644
index de9a616761f..00000000000
--- a/docs/articles/local-database.html
+++ /dev/null
@@ -1,116 +0,0 @@
-
-
-
-
-
-What is a Local Database and Why RxDB is the Best Local Database for JavaScript Applications | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
What is a Local Database and Why RxDB is the Best Local Database for JavaScript Applications
-
A local database is a data storage system residing on a user's device, allowing applications to store, query, and manipulate information without needing continuous network access. This approach prioritizes quick data retrieval, efficient updates, and the ability to function in offline-first scenarios. In contrast, server-based databases require an active internet connection for each request and response cycle, making them more vulnerable to latency, network disruptions, and downtime.
-
Local databases often leverage technologies such as IndexedDB, SQLite, or WebSQL (though WebSQL has been deprecated). These technologies manage both structured data (like relational tables) and unstructured data (such as JSON documents). When connectivity is restored, local databases typically sync their changes back to a central server-side database, maintaining consistent and up-to-date records across multiple devices.
Offline Functionality: Essential for apps that must remain usable without a consistent internet connection, such as note-taking apps or offline-first CRMs. Users can continue adding and editing data, then sync changes once they reconnect.
-
Low Latency: By reducing round-trips to remote servers, local databases enable real-time responsiveness. This feature is critical for interactive applications such as gaming platforms, data dashboards, or analytics tools that need near-instant feedback.
-
Data Synchronization: Many modern applications - like chat systems or collaborative editing tools - require continuous data exchange between multiple users or devices. Local databases can handle intermittent connectivity gracefully, queuing updates locally and syncing them when possible.
-
-
In addition, local databases are increasingly integral to Progressive Web Apps (PWAs), offering a native app-like user experience that is fast and available, even when offline.
The primary performance benefit of a local database is its proximity to the application: queries and updates happen directly on the user's device, eliminating the overhead of multiple network hops. Common optimizations include:
-
-
Caching: Storing frequently accessed data in memory or on disk to minimize expensive operations.
-
Batching Writes: Grouping database operations into a single write transaction to reduce overhead and lock contention.
-
Efficient Indexing: Using appropriate indexes to speed up queries, especially important for applications that handle large data sets or frequent lookups.
-
-
These techniques ensure that local databases run smoothly, even on lower-powered or mobile devices.
Storing data on user devices introduces unique security considerations, such as the risk of physical theft or unauthorized access. Consequently, many local databases support encryption options to safeguard sensitive information. Developers can implement additional security measures like device-level encryption, secure storage plugins, and user authentication to further protect data from prying eyes.
-
-
-
Why RxDB is Optimized for JavaScript Applications
-
RxDB (Reactive Database) is an offline-first, NoSQL database designed to meet the needs of modern JavaScript applications. Built with a focus on reactivity and real-time data handling, RxDB excels in scenarios where low-latency, offline availability, and scalability are essential.
At the core of RxDB is reactive programming, allowing you to subscribe to changes in your data collections and receive immediate UI updates when records change - no manual polling or refetching required. For instance, a chat application can display incoming messages as soon as they arrive, maintaining a smooth and responsive experience.
RxDB's primary design goal is to work seamlessly in offline environments. Even if your device loses internet connectivity, RxDB enables you to continue reading and writing data. Once the connection is restored, all pending changes are automatically synchronized with your backend. This offline-first approach is ideal for productivity apps, field service tools, and other scenarios where reliability and user autonomy are paramount.
Rather than relying on implicit data models, RxDB leverages JSON schema to define document structures. This approach promotes data consistency by enforcing constraints such as required fields and acceptable data formats. As your application grows and changes, RxDB's built-in schema versioning and migration tools help you evolve your database schema safely, minimizing risks of data corruption or loss.
With lazy loading of data and the ability to utilize efficient storage engines, RxDB delivers high-speed operations and quick response times. By minimizing disk I/O and leveraging indexes effectively, RxDB ensures that even large-scale applications remain performant. Its reactive nature also helps avoid unnecessary re-renders, improving the end-user experience.
RxDB is battle-tested in production environments, handling use cases from small single-user applications to large-scale enterprise solutions. Its robust replication mechanism resolves conflicts, manages concurrent writes, and ensures data integrity. The active open-source community provides ongoing support, documentation updates, and feature improvements.
Ultimately, RxDB is more than just a database - it's a robust, reactive toolkit that empowers you to build fast, resilient, and user-centric applications. Whether you're creating an offline-first note-taking app or a real-time collaborative platform, RxDB can handle your local storage needs with ease and flexibility.
-
-
\ No newline at end of file
diff --git a/docs/articles/local-database.md b/docs/articles/local-database.md
deleted file mode 100644
index a9c544cbabd..00000000000
--- a/docs/articles/local-database.md
+++ /dev/null
@@ -1,121 +0,0 @@
-# What is a Local Database and Why RxDB is the Best Local Database for JavaScript Applications
-
-> An in-depth exploration of local databases and why RxDB excels as a local-first solution for JavaScript applications.
-
-# What is a Local Database and Why RxDB is the Best Local Database for JavaScript Applications
-
-A **local database** is a data storage system residing on a user's device, allowing applications to store, query, and manipulate information without needing continuous network access. This approach prioritizes quick data retrieval, efficient updates, and the ability to function in [offline-first](../offline-first.md) scenarios. In contrast, server-based databases require an active internet connection for each request and response cycle, making them more vulnerable to latency, network disruptions, and downtime.
-
-Local databases often leverage technologies such as **IndexedDB**, **SQLite**, or **WebSQL** (though WebSQL has been deprecated). These technologies manage both structured data (like relational tables) and unstructured data (such as JSON documents). When connectivity is restored, local databases typically sync their changes back to a central server-side database, maintaining consistent and up-to-date records across multiple devices.
-
-### Use Cases of Local Databases
-
-Local databases are particularly beneficial for:
-
-- **Offline Functionality**: Essential for apps that must remain usable without a consistent internet connection, such as note-taking apps or offline-first CRMs. Users can continue adding and editing data, then sync changes once they reconnect.
-- **Low Latency**: By reducing round-trips to remote servers, local databases enable real-time responsiveness. This feature is critical for interactive applications such as gaming platforms, data dashboards, or analytics tools that need near-instant feedback.
-- **Data Synchronization**: Many modern applications - like chat systems or collaborative editing tools - require continuous data exchange between multiple users or devices. Local databases can handle intermittent connectivity gracefully, queuing updates locally and syncing them when possible.
-
-In addition, local databases are increasingly integral to **Progressive Web Apps (PWAs)**, offering a native app-like user experience that is fast and available, even when offline.
-
-### Performance Optimization
-
-The primary performance benefit of a local database is its proximity to the application: queries and updates happen directly on the user's device, eliminating the overhead of multiple network hops. Common optimizations include:
-
-- **Caching**: Storing frequently accessed data in memory or on disk to minimize expensive operations.
-- **Batching Writes**: Grouping database operations into a single write transaction to reduce overhead and lock contention.
-- **Efficient Indexing**: Using appropriate indexes to speed up queries, especially important for applications that handle large data sets or frequent lookups.
-
-These techniques ensure that local databases run smoothly, even on lower-powered or [mobile devices](./mobile-database.md).
-
-
-
-### Security and Encryption
-
-Storing data on user devices introduces unique security considerations, such as the risk of physical theft or unauthorized access. Consequently, many local databases support **encryption** options to safeguard sensitive information. Developers can implement additional security measures like **device-level encryption**, **secure storage plugins**, and user authentication to further protect data from prying eyes.
-
----
-
-
-
-
-
-
-
-## Why RxDB is Optimized for JavaScript Applications
-
-RxDB (Reactive Database) is an offline-first, NoSQL database designed to meet the needs of modern JavaScript applications. Built with a focus on reactivity and real-time data handling, RxDB excels in scenarios where low-latency, offline availability, and scalability are essential.
-
-### Real-Time Reactivity
-
-At the core of RxDB is **reactive programming**, allowing you to subscribe to changes in your data collections and receive immediate UI updates when records change - no manual polling or refetching required. For instance, a chat application can display incoming messages as soon as they arrive, maintaining a smooth and responsive experience.
-
-
-
-### Offline-First Support
-
-RxDB's primary design goal is to work seamlessly in offline environments. Even if your device loses internet connectivity, RxDB enables you to continue reading and writing data. Once the connection is restored, all pending changes are automatically synchronized with your backend. This [offline-first approach](../offline-first.md) is ideal for productivity apps, field service tools, and other scenarios where reliability and user autonomy are paramount.
-
-### Flexible Data Replication
-
-A standout feature of RxDB is its [bi-directional replication](../replication.md). It supports synchronization with a variety of backends, such as:
-
-- [CouchDB](../replication-couchdb.md): Via the CouchDB replication, facilitating easy integration with any Couch-compatible server.
-- [GraphQL Endpoints](../replication-graphql.md): Through community plugins, developers can replicate JSON documents to and from GraphQL servers.
-- [Custom Backends](../replication-http.md): RxDB provides hooks to build custom replication strategies for proprietary or specialized server APIs.
-
-This flexibility ensures that RxDB fits into diverse architectures without locking you into a single vendor or technology stack.
-
-### Schema Validation and Versioning
-
-Rather than relying on implicit data models, RxDB leverages **JSON schema** to define document structures. This approach promotes data consistency by enforcing constraints such as required fields and acceptable data formats. As your application grows and changes, RxDB's built-in **schema versioning** and migration tools help you evolve your database schema safely, minimizing risks of data corruption or loss.
-
-### Rich Plugin Ecosystem
-
-One of RxDB's greatest strengths is its **pluggable architecture**, allowing you to add functionality as needed:
-
-- [Encryption](../encryption.md): Secure your data at rest using advanced encryption plugins.
-- [Full-Text Search](../fulltext-search.md): Integrate powerful text search capabilities for applications that require quick and flexible query options.
-- [Storage Adapters](../rx-storage.md): Swap out the underlying storage layer (e.g., [IndexedDB in the browser](../rx-storage-indexeddb.md), [SQLite](../rx-storage-sqlite.md) in [React Native](../react-native-database.md), or a custom engine) without rewriting your application logic.
-
-You can fine-tune RxDB to your exact needs, avoiding the performance overhead of unnecessary features.
-
-### Multi-Platform Compatibility
-
-RxDB is a perfect fit for cross-platform development, as it supports numerous environments:
-
-- **Browsers (IndexedDB)**: For web and PWA projects.
-- **Node.js**: Ideal for server-side rendering or background services.
-- **React Native**: Leverage SQLite or other adapters for mobile app development.
-- [Electron](../electron-database.md): Create offline-capable desktop apps with a unified codebase.
-
-This versatility empowers teams to reuse application logic across multiple platforms while maintaining a consistent data model.
-
-### Performance Optimization
-
-With **lazy loading** of data and the ability to utilize efficient storage engines, RxDB delivers high-speed operations and quick response times. By minimizing disk I/O and leveraging indexes effectively, RxDB ensures that even large-scale applications remain performant. Its reactive nature also helps avoid unnecessary re-renders, improving the end-user experience.
-
-### Proven Reliability
-
-RxDB is battle-tested in production environments, handling use cases from small single-user applications to large-scale enterprise solutions. Its robust replication mechanism resolves conflicts, manages concurrent writes, and ensures data integrity. The active open-source community provides ongoing support, documentation updates, and feature improvements.
-
-### Developer-Friendly Features
-
-For developers, RxDB offers:
-
-- **Straightforward APIs**: Built on top of familiar JavaScript paradigms like promises and observables.
-- **Excellent Documentation**: Detailed guides, tutorials, and references for every major feature.
-- **Rich Community Support**: Benefit from an active ecosystem of contributors creating plugins, answering questions, and maintaining core libraries.
-
-These qualities streamline development, making RxDB an appealing choice for teams of all sizes.
-
----
-
-## Follow Up
-
-Ready to get started? Here are some next steps:
-
-- Try the [Quickstart Tutorial](../quickstart.md) and build a basic project to see RxDB in action.
-- Compare RxDB with [other local database solutions](../alternatives.md) to determine the best fit for your unique requirements.
-
-Ultimately, **RxDB** is more than just a database - it's a robust, reactive toolkit that empowers you to build fast, resilient, and user-centric applications. Whether you're creating an offline-first note-taking app or a real-time collaborative platform, RxDB can handle your local storage needs with ease and flexibility.
diff --git a/docs/articles/local-first-future.html b/docs/articles/local-first-future.html
deleted file mode 100644
index 85f67613d88..00000000000
--- a/docs/articles/local-first-future.html
+++ /dev/null
@@ -1,265 +0,0 @@
-
-
-
-
-
-Why Local-First Software Is the Future and its Limitations | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Why Local-First Software Is the Future and what are its Limitations
-
Imagine a web app that behaves seamlessly even with zero internet access, provides sub-millisecond response times, and keeps most of the user's data on their device. This is the local-first or offline-first approach. Although it has been around for a while, local-first has recently become more practical because of maturing browser storage APIs and new frameworks that simplify data synchronization. By allowing data to live on the client and only syncing with a server or other peers when needed, local-first apps can deliver a user experience that is fast, resilient, and privacy-friendly.
-
However, local-first is no silver bullet. It introduces tricky distributed-data challenges like conflict resolution and schema migrations on client devices. In this article, we'll dive deep into what local-first means, why it's trending, its pros and cons, and how to implement it in real applications. We'll also discuss other tools, criticisms, backend considerations, and how local-first compares to traditional cloud-centric approaches.
In local-first software, the primary copy of your data lives on the client rather than a remote server. Rather than sending each read or write over the network, you store and manipulate data in a local database on the user’s device. Sync then happens in the background, ensuring all devices eventually converge to a consistent state.
-
This approach is increasingly popular because it leads to instant app responses (no network delay for most operations), genuine offline capability, and more direct data ownership for users. Local-first apps also sidestep outages and if the server or internet goes down, users can keep working with their local data. When connectivity returns, everything syncs. This makes the user experience more resilient and gives them control of their data, which is especially appealing when privacy concerns or limited connectivity are key factors.
-
Local-First software: A set of principles for software that enables both collaboration and ownership for users. Local-first ideals include the ability to work offline and collaborate across multiple devices, while also improving the security, privacy, long-term preservation, and user control of data.
The push for local-first is driven by a few key new technological capabilities that previously restricted client devices from running heavy local-first computing:
-
-
-
Relaxed Browser Storage Limits: In the past, true local-first web apps were not very feasible due to storage limitations in browsers. Early web storage options like cookies or localStorage had tiny limits (~5-10MB) and were unsuitable for complex data. Even IndexedDB, the structured client storage introduced over a decade ago, had restrictive quotas on many browsers: For example, older Firefox versions would prompt the user if more than 50MB was being stored. Mobile browsers often capped IndexedDB to 5MB without user permission. Such limits made it impractical to cache large application datasets on the client. However, modern browsers have dramatically increased these limits. Today, IndexedDB can typically store hundreds of megabytes to multiple gigabytes of data, depending on device capacity. Chrome allows up to ~80% of free disk space per origin (tens of GB on a desktop), Firefox now supports on the order of gigabytes per site (10% of disk size), and even Safari (historically strict) permits around 1GB per origin on iOS. In short, the storage quotas of 5-50MB are a thing of the past and modern web apps can cache very large datasets locally without hitting a ceiling. This shift in storage capabilities has unlocked new possibilities for local-first web apps that simply weren't viable a few years ago.
-
-
-
New Storage APIs (OPFS): The new Browser API Origin Private File System (OPFS), part of the File System Access API, enables near-native file I/O from within a browser. It allows web apps to manage file handles securely and perform fast, synchronous reads/writes in Web Workers. This is a huge deal for local-first computing because it makes it feasible to embed robust database engines directly in the browser, persisting data to real files on a virtual filesystem. With OPFS, you can avoid some of the performance overhead that comes with IndexedDB-based workarounds, providing a near-native speed experience for file-structured data.
-
-
-
-
Bandwidth Has Grown, But Latency Is Capped: Internet infrastructure has rapidly expanded to provide higher throughput making it possible to transfer large amounts of data more quickly. However, latency (i.e., round-trip delay) is constrained by the speed of light and other physical limitations in fiber, satellite links, and routing. We can always build out bigger "pipes" to stream or send bulk data, but we can't significantly reduce the base round-trip time for each request. This is a physical limit, not a technological one. Local-first strategies mitigate this fundamental latency limit by avoiding excessive client-server calls in interactive workflows, once data is on the client, it's instantly available for reads and writes without waiting on a network round-trip. Imagine, transferring around 100,000 "average" JSON documents might only consume about the same bandwidth as two frames of a 4K YouTube video which can be transferred in milliseconds. This shows just how far raw data throughput has come. Yet each request still has a 100-200ms latency or more, which becomes noticeable in user interactions. Local-first mitigates this by minimizing round-trip calls during active use and using the available bandwidth to directly transfer most of the data on the first app start.
-
-
-
-
WebAssembly: Another advancement is WebAssembly (WASM), which allows developers to compile low-level languages (C, C++, Rust) for execution in the browser at near-native speed. This means database engines, search algorithms, vector databases, and other performance-heavy tasks can run right on the client. However, a key limitation is that WASM cannot directly access persistent storage APIs in the browser. Instead, all data must be send from WASM to JavaScript (or the main thread) and then go through something like IndexedDB or OPFS. This extra indirection is slower compared to plain JavaScript->storage calls. Looking ahead, there might come up future APIs that allow WASM to interface with persistent storage directly, and if those land, local-first systems could see another major boost in performance.
-
-
-
Improvements in Local-First Tooling: A major factor fueling the rise of local-first architectures is the dramatic leap in client-side tooling and performance. For instance, consider a local-first email client that stores one million messages. In 2014, searching through that many documents, especially with something like early PouchDB, could take minutes in a browser. Today, with advanced offline databases like RxDB, you can use the OPFS storage with sharding across multiple web workers (one per CPU) and use memory-mapped techniques. The result is a regex search of one million of these email documents in around 120 milliseconds - all in JavaScript, running inside a standard web browser, on a mobile phone.
-
Better yet, this performance ceiling is likely to keep rising. Newer browser features and WebAssembly optimizations could enable even faster indexing and query operations, closing the gap with native desktop clients. I even experimented with GPU-accelarated queries (using WebGPU) which, while still in experimental stage, might deliver client-side performance that outperforms servers which do not have a graphics card.
-These transformations highlight why local-first has become truly practical: not only can you sync and work offline, but you can handle serious data loads with performance that would have been unthinkable just a few years ago.
Jevons' Paradox says that making a resource cheaper or more efficient to use often leads to greater overall consumption. Originally about coal, it applies to the local-first paradigm in a way where we require apps to have more features, simply because it is technically possible, the app users and developers start to expect them:
Performance & UX: Running from local storage means low latency and instantaneous interactions. There's no round-trip delay for most operations. Local-first apps aim to provide near-zero latency responses by querying a local database instead of waiting for a server response. This results in a snappy UX (often no need for loading spinners) because data reads/writes happen immediately on-device. Modern users expect real-time feedback, and local-first delivers that by default.
-
-
-
User Control & Privacy: Storing data locally can limit how much sensitive information is sent off to remote servers. End users have greater control over their data, and the app can implement client-side encryption, thereby reducing the risk of mass data breaches. Its even possible to only replicated encrypted data with a server so that the backend does not know about the data at all and just acts as a backup/replication endpoint.
-
-
-
Offline Resilience: Obviously, being able to work offline is a major benefit. Users can continue using the app with no internet (or flaky connectivity), and their changes sync up once online. This is increasingly important not just for remote areas, but for any app that needs to be available 24/7. Even though mobile networks have improved, connectivity can still drop; local-first ensures the app doesn't grind to a halt. The app "stores data locally at the client so that it can still access it when the internet goes away."
-
-
-
-
Realtime Apps: Today's users expect data to stay in sync across browser tabs and devices without constant page reloads. In a typical cloud app, if you want real-time updates (say to show that a friend edited a document), you'd need to implement a websocket or polling system for the server to push changes to clients, which is complex. Local-first architectures naturally lend themselves to realtime-by-default updates because the application state lives in a local database that can be observed for changes. Any edits (local or incoming from the server) immediately trigger UI updates. Similarly, background sync mechanisms ensure that new server-side data flows into the local store and into the user interface right away, no need to hit F5 to fetch the latest changes like on a traditional webpage.
Reduced Server Load: Because local-first architectures typically transfer large chunks of data once (e.g., during an initial sync) and then sync only small diffs (delta changes) afterward, the server does not have to handle repeated requests for the same dataset. This bulk-first, diff-later approach drastically decreases the total number of round-trip requests to the backend. In scenarios where hundreds of simultaneous users each require continuous data access, an offline-ready client that only periodically sends or receives changes can scale more efficiently, freeing your servers to handle more users or other tasks. Instead of being bombarded with frequent small queries and updates, the server focuses on periodic sync operations, which can be more easily optimized or batched. It Scales with Data, Not Load. In fact for most type of apps, most of the data itself rarely changes. Imagine a CRM system, how often does the data of a customer really change compared to how of a user open the customer-overview page which would load data from a server in traditional systems?
-
-
-
Less Need for Custom API Endpoints: A local-first architecture often simplifies backend design. Instead of writing extensive REST routes for each client operation (create, read, update, delete, etc.), you can build a single replication endpoint or a small set of endpoints to handle data synchronization for each entity. The client manages local data, merges edits, and pushes/pulls changes with the server automatically. This not only reduces boilerplate code on the backend but also frees developers to focus on business logic and domain-specific concerns rather than spending time creating and maintaining dozens of narrowly scoped endpoints. As a result, the overall system can be easier to scale and maintain, delivering a smoother developer experience.
-
-
-
Simplified State Management in Frontend: Because the local database holds the authoritative state, you might rely less on complex state management libraries (Redux, MobX, etc.). The DB becomes a single source of truth for your UI. In an offline-first app, your global state is already there in a single place stored inside of the local database, so you don't need as many in-memory state layers to synchronize. The UI can directly bind to the database (using queries or reactive subscriptions). All sources of changes (user input, remote updates, other tabs) funnel through the database. This can significantly reduce the "glue code" to keep UI state in sync with server state because the local DB does that for you. With Local-First tools, "you might not need Redux" because the reactive DB fulfills that role of state management already.
-
-
-
Observable Queries: One of the big advantages of storing data locally is the ability to subscribe to data changes in real time, often called observable queries. When the data changes - either from the user's actions or from a remote sync - the local database automatically updates the subscribed query results, and the UI can redraw without a manual refresh. This reactive pattern can make apps feel much more live and responsive.
-
In the beginnings this was mostly done by watching a changes feed (like in PouchDB) and re-running queries whenever data changed. However, this early approach was slow and didn't scale well, because the entire query had to be recalculated each time. Later, RxDB introduced the EventReduce Algorithm, which merges incoming document changes into an existing query result by using a big binary decision tree. With this, updated query results can be "calculated" on the CPU instead of re-running them over the database. This makes query updates almost instantaneous and scales better as your data grows. Nowadays, many local databases have added similar features: for example, dexie.js introduced liveQuery, letting developers build real-time UIs without repeatedly scanning the entire dataset.
-
-
-
Better Multi-Tab and Multi-Device Consistency: Because the source of truth is on the client, if the user has the app open in multiple tabs or even multiple devices, each has a full copy of the data. In browsers, many offline databases use a storage like IndexedDB that is shared across tabs of the same origin. This means all tabs see the same up-to-date local state. For example, if a user logs in or adds data in one tab, the other tab can automatically reflect that change via the shared local DB and events. This solves a common issue in web apps where one tab doesn't know that something changed in another tab. With local-first, multi-tab just works by default because there's "exactly one state of the data across all tabs". Similarly, on multiple devices, once sync runs, each device eventually converges to the same state.
-
-
If your users have to press F5 all the time, your app is broken!
-
-
-
-
Potential for P2P and Decentralization: While most current local-first apps still use a central backend for syncing, the paradigm opens the door to peer-to-peer data syncing. Because each device has the full data, devices could sync directly via LAN or other P2P channels for collaboration, reducing reliance on central servers. There are experimental frameworks that allow truly decentralized sync. This is a more advanced benefit, but it aligns with the ethos of giving users more control and reducing dependence on any one cloud provider.
-
-
-
These advantages show why developers are excited about local-first. You get happier users thanks to a fast, offline-capable app, and you can differentiate your product by working in scenarios where others fail (e.g. poor connectivity). Companies like Google, Amazon, etc., invest heavily in reducing latency and adding offline modes for a reason: it improves retention and usability. Local-first design takes that to the extreme by default.
However, this approach is not without significant challenges. It's important to understand the drawbacks and trade-offs before deciding to go all-in on local-first. Let's examine the flip side.
-
You fully understood a technology when you know when not to use it
Critics of local-first approaches often point out these challenges. Here's a comprehensive list of cons, criticisms, and obstacles associated with local-first development and proposed solutions on how to solve these obstacles:
-
-
Data Synchronization: Data synchronization is arguably the hardest part of local-first development, because when every user's device can be offline for extended periods, data inevitably diverges. Ensuring those changes propagate and reconcile with minimal user headaches is a major challenge in distributed systems. Two main approaches have emerged:
-
-
-
Use a bundled frontend+backend solution where the backend is tightly coupled to the client SDK and knows exactly how to handle sync. A common example is Firestore (part of the Firebase ecosystem) where Google's servers and client libraries collectively manage storage, change detection, conflict resolution, and syncing. The upside is you have a turnkey solution, developers can focus on features rather than writing sync logic. The downside is lock-in, because the sync protocol is proprietary and tailored to that vendor. In many organizations, this is a non-starter: existing company infrastructure can't be uprooted or replaced just for a single offline-capable app. This lock-in issue can arise even if the backend is not strictly a third-party vendor but simply another technology like PostgreSQL, because it still forces you to consolidate all your data into a single system that you might not use otherwise.
-
-
-
Custom Replication with Your Own Endpoints: Alternatively, tools like RxDB allow you to implement your own replication endpoints on top of your existing infrastructure. This is the approach relies on a lightweight, git-like Sync Engine. The server remains relatively "dumb," focusing on storing revisions, tracking changes, and marking conflicts, while the client library does the actual conflict resolution. During sync, if the server detects a conflict (e.g., two offline edits to the same document), it notifies the client, which then decides how to merge them, whether via last-write-wins, a custom merge function, or a CRDT. Setting up custom endpoints does require more development effort, but you avoid vendor lock-in and can integrate seamlessly with your existing database(s). Your system simply needs to support incrementally fetching changes (pull) and accepting local modifications (push), which can be layered on top of nearly any data store or architecture.
-
Tools which support "any backend" are of course harder to monetize because they cannot sell SaaS services or a Cloud Subscription which is why most tools use a fixed backend instead of an open Sync Engine.
-
-
-
-
-
-
-
Conflict Resolution: When multiple offline edits happen on the same data, you inevitably get merge conflicts. For example, if two users (or the same user on two devices) both edit the same document offline, when both sync, whose changes win? Local-first systems need a conflict resolution strategy. Some systems use last-write-wins (firestore) or deterministic revision hashing to pick a "winner" (as in CouchDB/PouchDB). This is simple but may drop one user's changes. Other approaches keep both versions and merge them either via an implement "merge-function" or require a manual merge step (e.g., like git conflicts or showing the user a diff UI). More advanced solutions involve CRDTs (Conflict-free Replicated Data Types) which mathematically merge changes (used for rich text collaboration, for instance). Libraries like Automerge or Yjs implement CRDTs to "magically solve conflicts". But in practice, using CRDTs is also complex and has its own trade-offs and sometimes not even possible like when you need additional data from another instance for a "correct" merge. No matter which route, handling conflicts adds complexity to your app logic or infrastructure. In cloud-based (online-first) apps, you avoid this because everyone is always editing the single up-to-date copy on the server. Local-first shifts that burden to the client side.
-
Here is an example on how a client-side merge functions works in RxDB:
-
import { deepEqual } from 'rxdb/plugins/utils';
-export const myConflictHandler = {
- /**
- * isEqual() is used to detect if two documents are
- * equal. This is used internally to detect conflicts.
- */
- isEqual(a, b) {
- /**
- * isEqual() is used to detect conflicts or to detect if a
- * document has to be pushed to the remote.
- * If the documents are deep equal,
- * we have no conflict.
- * Because deepEqual is CPU expensive,
- * on your custom conflict handler you might only
- * check some properties, like the updatedAt time or revision-strings
- * for better performance.
- */
- return deepEqual(a, b);
- },
- /**
- * resolve() a conflict. This can be async so
- * you could even show an UI element to let your user
- * resolve the conflict manually.
- */
- async resolve(i) {
- /**
- * In this example we drop the local state and use the server-state.
- * This basically implements a "first-on-server-wins" strategy.
- *
- * In your custom conflict handler you could want to merge properties
- * of the i.realMasterState, i.assumedMasterState and i.newDocumentState
- * or return i.newDocumentState to have a "last-write-wins" strategy.
- */
- return i.realMasterState;
- }
-};
-
-
-
-
-
Eventual Consistency (No Single Source of Truth): A local-first system is eventually consistent by nature. There is no single authoritative copy of the data at all times. Instead you have one per device (and maybe one on the server), and they sync to become consistent eventually. This means at any given moment, two users might not see the same data if one hasn't synced recently. Users could even make decisions based on stale data. In many applications this is acceptable (the data will catch up), but for some scenarios it's problematic. For instance, an offline-first banking app that lets you initiate a money transfer offline could be dangerous if the account balance was out-of-date or if the transfer needs immediate consistency. Essentially, not all apps can tolerate eventual consistency. If your use case demands strong consistency (e.g., inventory systems where overselling is a big issue, or real-time collaborative editing where every keystroke must be seen by others instantly), a purely local-first approach might need augmentation or may not fit.
-
-
-
Initial Data Load and Data Size Limits: Local-first requires pulling data down to the client. If your dataset is huge (gigabytes), it's simply not feasible to download everything to every client. For example, syncing every tweet on Twitter to every user's phone is impossible. Local-first works best when the data set per user is reasonably sized (up to 2 Gigabytes). In practice, you often limit the data to just that user's own data or a subset relevant to them. Even then, on first use the app might need to download a significant chunk of data to initialize the local database. There is a upper bound on dataset size beyond which the initial sync or storage needs become impractical. You cannot assume unlimited local storage. If your data is too large, local-first will either fail or you'll need to only sync partial data (and then handle what happens if the needed data isn't present locally). In short, local-first is unsuitable for massive datasets or data that cannot be partitioned per user.
-
-
-
-
Storage Persistence (Browser Limitations): Storing data in the browser (via IndexedDB or similar) is not as durable as on a server disk. Browsers may evict data to save space (especially on mobile devices). For instance, Safari notoriously wipes out IndexedDB data if the user hasn't used the site in ~7 days. Other browsers have their own eviction policies for offline data. Also, users can at any time clear their browser storage (intentionally or via something like "Clear site data"). This means the local data cannot be 100% trusted to stay forever. A well-behaved local-first app needs to be able to recover if local data is lost, usually by pulling from the server again. Essentially, the server still often serves as a backup. But if your app had any purely local data (not intended to sync), that's at risk. Mobile apps (with SQLite or filesystem storage) are a bit more stable than web browsers, but even there, uninstalls or certain OS actions can remove local data. This is a challenge: How to cache data offline for speed while ensuring if it's wiped, the user doesn't lose everything important. Cloud-only apps by contrast keep data in the cloud so it's typically safe unless the server fails (and servers are easier to backup reliably).
-
-
-
-
Complex Client-Side Logic & Increased App Size: A local-first app tends to be more complex on the client side. You're essentially putting what used to be server responsibilities (storage, query engine, sync logic) into the frontend. This can increase the size of your frontend bundle (including a database library, possibly CRDT or sync code, etc.). It also increases memory and CPU usage on the client, as the browser/phone is doing more work. Low-end devices or older phones might struggle if the app is not optimized. Developers need to consider performance tuning for the local database (indexing, query efficiency) just like they would on a server. So while the user gains benefits, the app developer has to manage this complexity.
-
-
-
Performance Constraints in JavaScript: Even though devices are fast, a local JS database is generally slower than a server DB on robust hardware. There are many layers (JS -> IndexedDB -> possibly SQLite under the hood) that add overhead. For example, inserting a record might go through the DB library, the storage engine, the browser's implementation, down to disk. For most UI uses this is fine (you don't need 10k writes/sec in a to-do app, you need maybe a few writes per second at most). But if your app does heavy data processing, the browser might become a bottleneck.
-
The key question is "Is it fast enough?". Often the answer is yes for typical usage, but developers must be mindful of not doing something on the client that truly requires big iron servers. For instance, full-text indexing of a million documents might be too slow in a client-side DB. Unpredictable performance is also a factor: Different users have different devices. A query that takes 50ms on a high-end desktop might take 500ms on a low-end phone in battery saving mode. So performance tuning and testing across devices is needed, and some heavy tasks might still belong on the server side. For example if you build a local vector database you might want to create the embeddings on the server and sync them instead of creating them on the client.
-
-
-
Client Database Migrations: As your app evolves, you'll change data models or add new fields. In a cloud-first app, you'd typically run a migration on the server database. In a local-first app, you have not only the server DB (if any) but also every client's local database to consider. Upgrading the schema means you need to write migration logic that runs on each client, perhaps the next time they launch the app after an update. Clients may be offline or not upgrade the app immediately, so you could have different versions of the schema in the wild. This complicates data handling (the sync protocol might need to handle multiple schema versions until everyone is updated). Providing a smooth migration path for local data is doable (many libraries provide migration facilities), but it requires careful testing. In a worst case, a failed migration on a client could brick the app for that user or force a full resync. This is a much bigger headache than just migrating a centralized DB at midnight while your service is in maintenance mode. 🌃
-
-
-
Security and Access Control: In cloud-based apps, enforcing data security (who can see what) is done on the server. The client only gets the data it's authorized to get. In a local-first scenario, you often need to partition data per user on the backend as well, to ensure users only sync down their own data (or data they have permission for). One simple strategy is to give each user their own database or dataset on the server and only replicate that. For example, CouchDB allows creating one database per user and replication can be scoped to that DB which makes permission handling easy. But if you ever need to query across users (say an admin view or aggregate analytics), having data split into many small DBs becomes a pain. The alternative is a single backend database with a fine-grained access control, and the client asks to sync only certain documents/fields. That usually means writing a custom sync server or using something like GraphQL with resolvers that respect permissions. In short, implementing auth and permissions in sync adds complexity. Also, any data stored on the client is theoretically vulnerable to extraction (if someone compromises the device or uses dev tools). You can encrypt local databases to prevent extraction after the server "revokes" the decryption password to mitigate the data extraction risk.
-
-
-
-
-
Relational Data and Complex Queries: Most client-side/offline databases are NoSQL/document oriented for flexibility in syncing and easy conflict handling. They may not support complex join queries or ACID transactions across multiple tables like a full SQL database would. This is partly because replicating a full relational model is much harder (maintaining referential integrity, etc., when data is partial on a client) or not even logically possible. For example if you have two offline clients running a complex UPDATE X WHERE Y FROM Z INNER JOIN Alice INNER JOIN Bob query and then they go online, you have no easy way of handling these conflicts.
-
If your app has heavy relational data requirements or relies on complex server-side queries (aggregations, multi-join reports), you might find the local database either cannot do it or is too slow to do it client-side. The lack of robust relational querying is something to plan for and you might need to adjust your data model to be more document-oriented or use client-side libraries to run joins in memory. Most tools use NoSQL because it makes replication easy and implementing true relational sync would require extremely sophisticated solutions and even needing an atomic clock for full consistency across nodes (like google spanner). So, if your app truly needs SQL power on the client, local-first might complicate things.
-
-
In Local-First, most tools use NoSQL because it makes replication and conflict handling easy.
-
-
-
-
That's a long list of challenges! In summary, local-first approaches introduce distributed data issues on the client side that web developers usually didn't have to deal with. Despite these challenges, the local-first movement is steadily growing because the benefits to user experience and data control are very compelling and modern tools are emerging to mitigate a lot of these difficulties. All of these are solved or solvable for your specific use-case, just keep them in mind before you start architecting your local-first app.
-
Local-First vs. Traditional Online-First Approaches
-
So now that you know the pros and cons about Local-First. Lets directly compare it to your previous "online-first" stack:
Local-first: Apps like WhatsApp store messages locally on your device, letting you read past messages and even compose new ones without a stable network connection. Once online, the messages sync with the server and other participants.
-
Online-first: Purely cloud-based apps typically stop functioning (beyond simple caching) when the network or server goes down. They rely on a constant connection to fetch or store user data.
Local-first: Because data operations happen on the device, you see near-instant interactions (e.g., typing and reading chats feels very responsive, as the messages are on your phone). Syncing occurs in the background without delaying the user.
-
Online-first: Most interactions involve a round-trip to the server, adding network latency and potentially requiring loading states or fallback UIs. If the network is slow or unreliable, users can experience delays when sending or receiving updates.
Local-first: Much of the complexity like storing data or handling conflicts, shifts to the client. WhatsApp, for instance, caches all messages locally and queues unsent messages offline. Once reconnected, it must reconcile with the server and other devices, especially if the same account is used on multiple platforms.
-
Online-first: A single central server manages data and concurrency, so clients remain thinner. However, the app becomes unusable if connectivity is lost, and any server downtime directly impacts all users.
Local-first: Users hold a complete copy of data on their own device, retaining control and quick access. This can raise challenges when data sets are very large; phone storage might be insufficient, or backups may be harder to guarantee.
-
Online-first: Storing all data in the cloud scales more easily, and providers often manage backups automatically. On the downside, users depend on the service and must trust it to protect their data.
Local-first: Particularly helpful for scenarios where offline operation and immediate responsiveness matter, such as chat apps (like WhatsApp), field tools in low-connectivity environments, or any use case where users can't rely on being online 24/7.
-
Online-first: Well-suited for systems that demand real-time central control or massive data aggregation with minimal offline needs, such as large-scale analytics platforms or services where guaranteed immediate global consistency is essential.
-
Hybrid: In reality, most modern apps often blend these approaches, giving users partial offline capabilities (caching, queued updates) alongside a robust central service. This hybrid method offers the benefits of local speed and resilience, while still leveraging cloud infrastructure for collaboration and global reach. But a truth local-first app is way more than just a cache.
In the early days of offline-capable web apps (around 2014), the common phrase was "Offline-First". Tools like PouchDB popularized the notion that developers should assume devices are often offline or have flaky connections, so apps must continue to work seamlessly without a network. The guiding principle was "apps should treat being online as optional." If a user has no internet access, the application's core features still function, saving or queuing data locally, and automatically synchronizing once connectivity is restored.
-
4:18
What is Offline First?
-
-
Over time, this focus on offline support evolved into the broader concept of "Local-First Software," (see Ink&Switch) emphasizing not just offline operation but also the technical underpinnings of storing data locally in the client application. While offline-first is primarily about resilience to network loss, local-first highlights ownership, privacy, and performance benefits of keeping the primary data on the user's device. Most tools these days extended the original offline-first concepts, adding real-time reactivity, custom sync, and more nuances like conflict resolution or encryption.
-
However, the term "local-first" can be confusing to non-technical audiences because many people (especially in the US) associate "local first" with community-oriented movements that encourage buying from nearby businesses or supporting local initiatives. To reduce ambiguity, it may be clearer to use "local first software" or "local first development" in your documentation and marketing materials. When creating branding or logos around local-first software, avoid using the "Google Maps Pin" as a symbol. This icon typically implies geolocation or physical locality further mixing up the notion of "location-based services" with "on-device data storage."
-
Do People Actually Use Local-First or Is It Just a Trend?
-
If we look at npm download statistics, we see that PouchDB - one of the oldest libraries for local-first apps - has about 53k downloads each week, and RxDB - a newer library - has about 22k weekly downloads. Other local-first tools often have even fewer downloads. In comparison, a popular library like react-query, which does not focus on local storage, is downloaded about 1.6 million times a week. These numbers show that local-first libraries, while used, are not as common as some of the more traditional tools.
-
One reason is that local-first is still a new idea. Many developers are used to traditional "online-first" approaches, so switching to a local database and then syncing changes later can feel unfamiliar. Developers must learn different patterns, deal with offline synchronization, and handle possible conflicts. That extra work can be a barrier to adoption which might change in the future as tooling improves.
-
While most of RxDB is open source, there are also premium plugins that help sustain RxDB as a long-term project. Because people purchase these plugins, we gains insights into how developers are using local-first features:
-
-
About half of these users mainly want offline functionality for cases such as farming equipment, mining, construction, or even a shrimp farm app.
-
The other half focus on faster, real-time UIs for to-do or reading apps, a space launch planning tool, and various dashboard apps. This range of use cases highlights both the resilience offline mode can offer and the performance boost that local databases can provide when synced in the background.
Early in the history of the web, users expected static pages. If you wanted to see new content, you reloaded the page. That was normal at the time, and nobody found it strange because everything worked that way.
-
Then, as more sites added real-time features - auto-updating feeds, live notifications, single-page apps - suddenly those older "reload-only" sites began to feel slow or outdated. Why wait for a manual refresh when real-time data was possible and readily available?
-
The same pattern is happening with local-first apps. Right now, most sites are still built around network availability. We see loading spinners whenever data is fetched, and we simply wait for the server response. As local-first experiences become commonplace - removing spinners, letting users keep working when offline, and syncing in the background - everything else will start to feel frustratingly behind. Users won't tolerate slow or blocked interactions if they've seen apps that respond instantly and remain usable offline. They'll expect that as the default and we'll likely see growing pressure on developers to eliminate those extra loading steps. For many users, the experience of immediate local writes will become not just a perk, but an expectation!
-
-
\ No newline at end of file
diff --git a/docs/articles/local-first-future.md b/docs/articles/local-first-future.md
deleted file mode 100644
index bdc3caee01c..00000000000
--- a/docs/articles/local-first-future.md
+++ /dev/null
@@ -1,553 +0,0 @@
-# Why Local-First Software Is the Future and its Limitations
-
-> Discover how local-first transforms web apps, boosts offline resilience, and why instant user feedback is becoming the new normal.
-
-import {Tabs} from '@site/src/components/tabs';
-import {Steps} from '@site/src/components/steps';
-import {QuoteBlock} from '@site/src/components/quoteblock';
-import {VideoBox} from '@site/src/components/video-box';
-
-# Why Local-First Software Is the Future and what are its Limitations
-
-Imagine a web app that behaves seamlessly even with zero internet access, provides sub-millisecond response times, and keeps most of the user's data on their device. This is the **local-first** or [offline-first](../offline-first.md) approach. Although it has been around for a while, local-first has recently become more practical because of **maturing browser storage APIs** and new frameworks that simplify **data synchronization**. By allowing data to live on the client and only syncing with a server or other peers when needed, local-first apps can deliver a user experience that is **fast, resilient**, and **privacy-friendly**.
-
-However, local-first is no silver bullet. It introduces tricky distributed-data challenges like conflict resolution and schema migrations on client devices. In this article, we'll dive deep into what local-first means, why it's trending, its pros and cons, and how to implement it in real applications. We'll also discuss other tools, criticisms, backend considerations, and how local-first compares to traditional cloud-centric approaches.
-
-## What is the Local-First Paradigm
-
-In **local-first** software, the primary copy of your data lives on the **client** rather than a remote server. Rather than sending each read or write over the network, you store and manipulate data in a [local database](./local-database.md) on the user’s device. Sync then happens in the background, ensuring all devices eventually converge to a consistent state.
-
-This approach is increasingly popular because it leads to **instant** app responses (no network delay for most operations), genuine **offline capability**, and more direct **data ownership** for users. Local-first apps also sidestep outages and if the server or internet goes down, users can keep working with their local data. When connectivity returns, everything syncs. This makes the user experience **more resilient** and gives them control of their data, which is especially appealing when privacy concerns or limited connectivity are key factors.
-
-Local-First software: A set of principles for software that enables both collaboration and ownership for users. Local-first ideals include the ability to work offline and collaborate across multiple devices, while also improving the security, privacy, long-term preservation, and user control of data.
-
-## Why Local-First is Gaining Traction
-
-The push for local-first is driven by a few key new technological capabilities that previously restricted client devices from running heavy local-first computing:
-
-- **Relaxed Browser Storage Limits**: In the past, true local-first web apps were not very feasible due to **storage limitations** in browsers. Early web storage options like cookies or [localStorage](./localstorage.md#understanding-the-limitations-of-local-storage) had tiny limits (~5-10MB) and were unsuitable for complex data. Even **IndexedDB**, the structured client storage introduced over a decade ago, had restrictive quotas on many browsers: For example, older Firefox versions would **prompt the user if more than 50MB** was being stored. Mobile browsers often capped IndexedDB to 5MB without user permission. Such limits made it impractical to cache large application datasets on the client. However, modern browsers have dramatically [increased these limits](./indexeddb-max-storage-limit.md). Today, IndexedDB can typically store **hundreds of megabytes to multiple gigabytes** of data, depending on device capacity. Chrome allows up to ~80% of free disk space per origin (tens of GB on a desktop), Firefox now supports on the order of gigabytes per site (10% of disk size), and even Safari (historically strict) permits around 1GB per origin on iOS. In short, the storage quotas of 5-50MB are a thing of the past and modern web apps can cache very large datasets locally without hitting a ceiling. This shift in storage capabilities has unlocked new possibilities for **local-first web apps** that simply weren't viable a few years ago.
-
-- **New Storage APIs (OPFS)**: The new Browser API [Origin Private File System](../rx-storage-opfs.md) (OPFS), part of the File System Access API, enables near-native file I/O from within a browser. It allows web apps to manage file handles securely and perform fast, synchronous reads/writes in Web Workers. This is a huge deal for local-first computing because it makes it feasible to embed robust database engines directly in the browser, persisting data to real files on a virtual filesystem. With OPFS, you can avoid some of the performance overhead that comes with [IndexedDB-based workarounds](../slow-indexeddb.md), providing a near-native [speed experience](./localstorage-indexeddb-cookies-opfs-sqlite-wasm.md#big-bulk-writes) for file-structured data.
-
-
- - **Bandwidth Has Grown, But Latency Is Capped**: Internet infrastructure has rapidly expanded to provide higher throughput making it possible to transfer large amounts of data more quickly. However, latency (i.e., round-trip delay) is constrained by the **speed of light** and other physical limitations in fiber, satellite links, and routing. We can always build out bigger "pipes" to stream or send bulk data, but we can't significantly reduce the base round-trip time for each request. This is a physical limit, not a technological one. Local-first strategies mitigate this fundamental latency limit by avoiding excessive client-server calls in interactive workflows, once data is on the client, it's instantly available for reads and writes without waiting on a network round-trip. Imagine, transferring **around 100,000** "average" JSON documents might only consume **about the same bandwidth as two frames of a 4K YouTube video** which can be transferred in milliseconds. This shows just how far raw data throughput has come. Yet each request still has a 100-200ms latency or more, which becomes noticeable in user interactions. Local-first mitigates this by minimizing round-trip calls during active use and using the available bandwidth to directly transfer most of the data on the first app start.
-
-- **WebAssembly**: Another advancement is **WebAssembly (WASM)**, which allows developers to compile low-level languages (C, C++, Rust) for execution in the browser at near-native speed. This means database engines, search algorithms, [vector databases](./javascript-vector-database.md), and other performance-heavy tasks can run right on the client. However, a key limitation is that **WASM cannot directly access persistent storage APIs** in the browser. Instead, all data must be send from WASM to JavaScript (or the main thread) and then go through something like IndexedDB or OPFS. This extra indirection [is slower](./localstorage-indexeddb-cookies-opfs-sqlite-wasm.md) compared to plain JavaScript->storage calls. Looking ahead, there might come up future APIs that allow WASM to interface with persistent storage directly, and if those land, local-first systems could see another major boost in [performance](../rx-storage-performance.md).
-
-- **Improvements in Local-First Tooling**: A major factor fueling the rise of local-first architectures is the **dramatic leap in client-side tooling and performance**. For instance, consider a local-first **email client** that stores **one million messages**. In 2014, searching through that many documents, especially with something like early PouchDB, could take **minutes** in a browser. Today, with advanced offline databases like **RxDB**, you can use the [OPFS storage](../rx-storage-opfs.md) with [sharding](../rx-storage-sharding.md) across multiple [web workers](../rx-storage-worker.md) (one per CPU) and use [memory-mapped](../rx-storage-memory-mapped.md) techniques. The result is a **regex search** of one million of these email documents in around **120 milliseconds** - all in JavaScript, running inside a standard web browser, on a mobile phone.
-
- Better yet, this performance ceiling is likely to keep rising. Newer browser features and **WebAssembly** optimizations could enable even faster indexing and query operations, closing the gap with native desktop clients. I even experimented with GPU-accelarated queries (using **WebGPU**) which, while still in experimental stage, might deliver client-side performance that outperforms servers which do not have a graphics card.
- These transformations highlight why local-first has become truly practical: not only can you sync and work offline, but you can handle **serious data loads** with performance that would have been unthinkable just a few years ago.
-
-## What you can expect from a Local First App
-
-[Jevons' Paradox](https://en.wikipedia.org/wiki/Jevons_paradox) says that making a _resource cheaper or more efficient to use often leads to greater overall consumption_. Originally about coal, it applies to the local-first paradigm in a way where we require apps to have more features, simply because it is technically possible, the app users and developers start to expect them:
-
-### User Experience Benefits
-
-
-- **Performance & UX:** Running from local storage means **low latency** and instantaneous interactions. There's no round-trip delay for most operations. Local-first apps aim to provide [near-zero latency](./zero-latency-local-first.md) responses by querying a local database instead of waiting for a server response. This results in a snappy UX (often no need for loading spinners) because data reads/writes happen immediately on-device. Modern users expect real-time feedback, and local-first delivers that by default.
-
-- **User Control & Privacy:** Storing data locally can limit how much sensitive information is sent off to remote servers. End users have greater control over their data, and the app can implement [client-side encryption](../encryption.md), thereby reducing the risk of mass data breaches. Its even possible to only replicated encrypted data with a server so that the backend does not know about the data at all and just acts as a backup/replication endpoint.
-
-
- - **Offline Resilience:** Obviously, being able to work offline is a major benefit. Users can continue using the app with no internet (or flaky connectivity), and their changes sync up once online. This is increasingly important not just for remote areas, but for any app that needs to be available 24/7. Even though mobile networks have improved, connectivity can still drop; local-first ensures the app doesn't grind to a halt. The app _"stores data locally at the client so that it can still access it when the internet goes away."_
-
-- **Realtime Apps**: Today's users expect data to stay in sync across browser tabs and devices without constant page reloads. In a typical cloud app, if you want real-time updates (say to show that a friend edited a document), you'd need to implement a [websocket or polling](./websockets-sse-polling-webrtc-webtransport.md) system for the server to push changes to clients, which is complex. Local-first architectures naturally lend themselves to realtime-by-default updates because the application state lives in a local database that can be observed for changes. Any edits (local or incoming from the server) immediately trigger [UI updates](./optimistic-ui.md). Similarly, background sync mechanisms ensure that new server-side data flows into the local store and into the user interface right away, no need to hit F5 to fetch the latest changes like on a traditional webpage.
-
-
-
-
-
-### Developer Experience Benefits
-
-- **Reduced Server Load**: Because local-first architectures typically **transfer large chunks of data once** (e.g., during an initial sync) and then sync only small diffs (delta changes) afterward, the server does not have to handle repeated requests for the same dataset. This bulk-first, diff-later approach drastically decreases the total number of round-trip requests to the backend. In scenarios where hundreds of simultaneous users each require continuous data access, an offline-ready client that only periodically sends or receives changes can scale more efficiently, freeing your servers to handle more users or other tasks. Instead of being bombarded with frequent small queries and updates, the server focuses on periodic sync operations, which can be more easily optimized or batched. It **Scales with Data, Not Load**. In fact for most type of apps, most of the data itself rarely changes. Imagine a CRM system, how often does the data of a customer really change compared to how of a user open the customer-overview page which would load data from a server in traditional systems?
-
-- **Less Need for Custom API Endpoints**: A local-first architecture often simplifies backend design. Instead of writing extensive REST routes for each client operation (create, read, update, delete, etc.), you can build a **single replication endpoint** or a small set of endpoints to handle data synchronization for each entity. The client manages local data, merges edits, and pushes/pulls changes with the server automatically. This not only **reduces boilerplate code** on the backend but also **frees developers** to focus on business logic and domain-specific concerns rather than spending time creating and maintaining dozens of narrowly scoped endpoints. As a result, the overall system can be easier to scale and maintain, delivering a **smoother developer experience**.
-
-- **Simplified State Management in Frontend**: Because the local database holds the authoritative state, you might rely less on complex state management libraries (Redux, MobX, etc.). The DB becomes a single source of truth for your UI. In an offline-first app, your global state is already there in a single place stored inside of the local database, so you don't need as many in-memory state layers to synchronize. The UI can directly bind to the database (using queries or reactive subscriptions). All sources of changes (user input, remote updates, other tabs) funnel through the database. This can significantly reduce the "glue code" to keep UI state in sync with server state because the local DB does that for you. With Local-First tools, "you might not need Redux" because the reactive DB fulfills that role of state management already.
-
-- **Observable Queries**: One of the big advantages of storing data locally is the ability to **subscribe** to data changes in real time, often called **observable queries**. When the data changes - either from the user's actions or from a remote sync - the local database automatically updates the subscribed query results, and the UI can redraw without a manual refresh. This reactive pattern can make apps feel much more live and responsive.
-
- In the beginnings this was mostly done by watching a changes feed (like in PouchDB) and **re-running queries** whenever data changed. However, this early approach was **slow and didn't scale well**, because the entire query had to be recalculated each time. Later, RxDB introduced the [EventReduce Algorithm](https://github.com/pubkey/event-reduce), which merges incoming document changes into an existing query result by using a big [binary decision tree](https://github.com/pubkey/binary-decision-diagram). With this, updated query results can be "calculated" on the CPU instead of re-running them over the database. This makes query updates almost instantaneous and scales better as your data grows. Nowadays, many local databases have added similar features: for example, **dexie.js** introduced `liveQuery`, letting developers build real-time UIs without repeatedly scanning the entire dataset.
-
-- **Better Multi-Tab and Multi-Device Consistency**: Because the source of truth is on the client, if the user has the app open in multiple tabs or even multiple devices, each has a full copy of the data. In browsers, many offline databases use a storage like IndexedDB that is shared across tabs of the same origin. This means all tabs see the same up-to-date local state. For example, if a user logs in or adds data in one tab, the other tab can automatically reflect that change via the shared local DB and events. This solves a common issue in web apps where one tab doesn't know that something changed in another tab. With local-first, **multi-tab just works** by default because there's "exactly one state of the data across all tabs". Similarly, on multiple devices, once sync runs, each device eventually converges to the same state.
-
- > If your users have to press F5 all the time, your app is broken!
-
-- **Potential for P2P and Decentralization**: While most current local-first apps still use a central backend for syncing, the paradigm opens the door to [peer-to-peer data syncing](../replication-webrtc.md). Because each device has the full data, devices could sync directly via LAN or other P2P channels for collaboration, reducing reliance on central servers. There are experimental frameworks that allow truly decentralized sync. This is a more advanced benefit, but it aligns with the ethos of giving users more control and reducing dependence on any one cloud provider.
-
-These advantages show why developers are excited about local-first. You get happier users thanks to a fast, offline-capable app, and you can differentiate your product by working in scenarios where others fail (e.g. poor connectivity). Companies like Google, Amazon, etc., invest heavily in reducing latency and adding offline modes for a reason: it improves retention and usability. Local-first design takes that to the extreme by default.
-
-## Challenges and Limitations of Local-First
-
-However, this approach is not without significant challenges. It's important to understand the drawbacks and trade-offs before deciding to go all-in on local-first. Let's examine the flip side.
-
-You fully understood a technology when you know when not to use it
-
-Critics of local-first approaches often point out these challenges. Here's a comprehensive list of cons, criticisms, and obstacles associated with local-first development and proposed solutions on how to solve these obstacles:
-
-- **Data Synchronization**: Data synchronization is arguably the hardest part of local-first development, because when every user's device can be offline for extended periods, data inevitably diverges. Ensuring those changes propagate and reconcile with minimal user headaches is a major challenge in distributed systems. Two main approaches have emerged:
- - **Use a bundled frontend+backend solution** where the backend is tightly coupled to the client SDK and knows exactly how to handle sync. A common example is Firestore (part of the Firebase ecosystem) where Google's servers and client libraries collectively manage storage, change detection, conflict resolution, and syncing. The upside is you have a turnkey solution, developers can focus on features rather than writing sync logic. The downside is lock-in, because the sync protocol is proprietary and tailored to that vendor. In many organizations, this is a non-starter: existing company infrastructure can't be uprooted or replaced just for a single offline-capable app. This lock-in issue can arise even if the backend is not strictly a third-party vendor but simply another technology like PostgreSQL, because it still forces you to consolidate all your data into a single system that you might not use otherwise.
-
- - **Custom Replication with Your Own Endpoints**: Alternatively, tools like RxDB allow you to implement your own replication endpoints on top of your existing infrastructure. This is the approach relies on a lightweight, git-like [Sync Engine](../replication.md). The server remains relatively "dumb," focusing on storing revisions, tracking changes, and marking conflicts, while the client library does the actual [conflict resolution](../transactions-conflicts-revisions.md). During sync, if the server detects a conflict (e.g., two offline edits to the same document), it notifies the client, which then decides how to merge them, whether via last-write-wins, a custom merge function, or a [CRDT](../crdt.md). Setting up custom endpoints does require more development effort, but you avoid vendor lock-in and can integrate seamlessly with your existing database(s). Your system simply needs to support incrementally fetching changes (pull) and accepting local modifications (push), which can be layered on top of nearly any data store or architecture.
-
- Tools which support "any backend" are of course harder to monetize because they cannot sell SaaS services or a Cloud Subscription which is why most tools use a fixed backend instead of an open Sync Engine.
-
-
-- **Conflict Resolution**: When multiple offline edits happen on the same data, you inevitably get **merge conflicts**. For example, if two users (or the same user on two devices) both edit the same document offline, when both sync, whose changes win? Local-first systems need a conflict resolution strategy. Some systems use **last-write-wins** (firestore) or deterministic revision hashing to pick a "winner" (as in CouchDB/PouchDB). This is simple but may drop one user's changes. Other approaches keep both versions and merge them either via an implement ["merge-function"](../transactions-conflicts-revisions.md#custom-conflict-handler) or require a **manual merge** step (e.g., like git conflicts or showing the user a diff UI). More advanced solutions involve **CRDTs (Conflict-free Replicated Data Types)** which mathematically merge changes (used for rich text collaboration, for instance). Libraries like Automerge or Yjs implement CRDTs to "magically solve conflicts". But in practice, using CRDTs is also complex and has its own trade-offs and sometimes not even possible like when you need additional data from another instance for a "correct" merge. No matter which route, handling conflicts adds complexity to your app logic or infrastructure. In cloud-based (online-first) apps, you avoid this because everyone is always editing the single up-to-date copy on the server. Local-first shifts that burden to the client side.
-
- Here is an example on how a client-side merge functions works in RxDB:
-
- ```ts
- import { deepEqual } from 'rxdb/plugins/utils';
- export const myConflictHandler = {
- /**
- * isEqual() is used to detect if two documents are
- * equal. This is used internally to detect conflicts.
- */
- isEqual(a, b) {
- /**
- * isEqual() is used to detect conflicts or to detect if a
- * document has to be pushed to the remote.
- * If the documents are deep equal,
- * we have no conflict.
- * Because deepEqual is CPU expensive,
- * on your custom conflict handler you might only
- * check some properties, like the updatedAt time or revision-strings
- * for better performance.
- */
- return deepEqual(a, b);
- },
- /**
- * resolve() a conflict. This can be async so
- * you could even show an UI element to let your user
- * resolve the conflict manually.
- */
- async resolve(i) {
- /**
- * In this example we drop the local state and use the server-state.
- * This basically implements a "first-on-server-wins" strategy.
- *
- * In your custom conflict handler you could want to merge properties
- * of the i.realMasterState, i.assumedMasterState and i.newDocumentState
- * or return i.newDocumentState to have a "last-write-wins" strategy.
- */
- return i.realMasterState;
- }
- };
- ```
-
-- **Eventual Consistency (No Single Source of Truth):** A local-first system is **eventually consistent** by nature. There is no single authoritative copy of the data at all times. Instead you have one per device (and maybe one on the server), and they sync to become consistent eventually. This means at any given moment, two users might not see the same data if one hasn't synced recently. Users could even make decisions based on stale data. In many applications this is acceptable (the data will catch up), but for some scenarios it's problematic. For instance, an offline-first banking app that lets you initiate a money transfer offline could be dangerous if the account balance was out-of-date or if the transfer needs immediate consistency. Essentially, **not all apps can tolerate eventual consistency**. If your use case demands strong consistency (e.g., inventory systems where overselling is a big issue, or real-time collaborative editing where every keystroke must be seen by others instantly), a purely local-first approach might need augmentation or may not fit.
-
-- **Initial Data Load and Data Size Limits:** Local-first requires pulling data **down to the client**. If your dataset is huge (gigabytes), it's simply not feasible to download everything to every client. For example, syncing every tweet on Twitter to every user's phone is impossible. Local-first works best when the data set per user is reasonably sized (up to 2 Gigabytes). In practice, you often **limit the data** to just that user's own data or a subset relevant to them. Even then, on first use the app might need to download a significant chunk of data to initialize the local database. There is a **upper bound on dataset size** beyond which the initial sync or storage needs become impractical. You cannot assume unlimited local storage. If your data is too large, local-first will either fail or you'll need to only sync partial data (and then handle what happens if the needed data isn't present locally). In short, **local-first is unsuitable for massive datasets** or data that cannot be partitioned per user.
-
-
-- **Storage Persistence (Browser Limitations):** Storing data in the browser (via IndexedDB or similar) is not as durable as on a server disk. Browsers may **evict data** to save space (especially on mobile devices). For instance, Safari notoriously wipes out IndexedDB data if the user hasn't used the site in ~7 days. Other browsers have their own eviction policies for offline data. Also, users can at any time clear their browser storage (intentionally or via something like "Clear site data"). This means the local data **cannot be 100% trusted to stay forever**. A well-behaved local-first app needs to be able to recover if local data is lost, usually by pulling from the server again. Essentially, the server still often serves as a backup. But if your app had any purely local data (not intended to sync), that's at risk. **Mobile apps** (with SQLite or filesystem storage) are a bit more stable than web browsers, but even there, uninstalls or certain OS actions can remove local data. This is a challenge: How to cache data offline for speed while ensuring if it's wiped, the user doesn't lose everything important. Cloud-only apps by contrast keep data in the cloud so it's typically safe unless the server fails (and servers are easier to backup reliably).
-
-- **Complex Client-Side Logic & Increased App Size**: A local-first app tends to be more complex on the client side. You're essentially putting what used to be server responsibilities (storage, query engine, sync logic) into the frontend. This can increase the size of your frontend bundle (including a database library, possibly CRDT or sync code, etc.). It also increases memory and CPU usage on the client, as the browser/phone is doing more work. Low-end devices or older phones might struggle if the app is not optimized. Developers need to consider performance tuning for the local database (indexing, query efficiency) just like they would on a server. So while the user gains benefits, the app developer has to manage this complexity.
-
-- **Performance Constraints in JavaScript:** Even though devices are fast, a local JS database is generally **slower than a server DB** on robust hardware. There are many layers (JS -> IndexedDB -> possibly SQLite under the hood) that add overhead. For example, inserting a record might go through the DB library, the storage engine, the browser's implementation, down to disk. For most UI uses this is fine (you don't need 10k writes/sec in a to-do app, you need maybe a few writes per second at most). But if your app does heavy data processing, the browser might become a bottleneck.
-
- The key question is _"Is it fast enough?"_. Often the answer is yes for typical usage, but developers must be mindful of not doing something on the client that truly requires big iron servers. For instance, full-text indexing of a million documents might be too slow in a client-side DB. **Unpredictable performance** is also a factor: Different users have different devices. A query that takes 50ms on a high-end desktop might take 500ms on a low-end phone in battery saving mode. So performance tuning and testing across devices is needed, and some heavy tasks might still belong on the server side. For example if you build a [local vector database](./javascript-vector-database.md) you might want to create the embeddings on the server and sync them instead of creating them on the client.
-
-- **Client Database Migrations:** As your app evolves, you'll change data models or add new fields. In a cloud-first app, you'd typically run a migration on the server database. In a local-first app, you have not only the server DB (if any) but also every client's local database to consider. Upgrading the schema means you need to write migration logic that runs on each client, perhaps the next time they launch the app after an update. Clients may be offline or not upgrade the app immediately, so you could have different versions of the schema in the wild. This complicates data handling (the sync protocol might need to handle multiple schema versions until everyone is updated). Providing a smooth migration path for local data is doable (many libraries provide [migration facilities](../migration-schema.md)), but it requires careful testing. In a worst case, a failed migration on a client could brick the app for that user or force a full resync. This is a **much bigger headache** than just migrating a centralized DB at midnight while your service is in maintenance mode. 🌃
-
-- **Security and Access Control:** In cloud-based apps, enforcing data security (who can see what) is done on the server. The client only gets the data it's authorized to get. In a local-first scenario, you often need to **partition data per user** on the backend as well, to ensure users only sync down their own data (or data they have permission for). One simple strategy is to give each user their own database or dataset on the server and only replicate that. For example, CouchDB allows creating one database per user and replication can be scoped to that DB which makes permission handling easy. But if you ever need to query across users (say an admin view or aggregate analytics), having data split into many small DBs becomes a pain. The alternative is a single backend database with a **fine-grained access control**, and the client asks to sync only certain documents/fields. That usually means writing a custom sync server or using something like GraphQL with resolvers that respect permissions. In short, **implementing auth and permissions in sync** adds complexity. Also, any data stored on the client is theoretically vulnerable to extraction (if someone compromises the device or uses dev tools). You can [encrypt local databases](../encryption.md) to prevent extraction after the server "revokes" the decryption password to mitigate the data extraction risk.
-
-
-- **Relational Data and Complex Queries:** Most client-side/offline databases are [NoSQL/document oriented](../why-nosql.md) for flexibility in syncing and easy conflict handling. They may not support complex join queries or ACID transactions across multiple tables like a full SQL database would. This is partly because replicating a full relational model is much harder (maintaining referential integrity, etc., when data is partial on a client) or not even logically possible. For example if you have two offline clients running a complex `UPDATE X WHERE Y FROM Z INNER JOIN Alice INNER JOIN Bob` query and then they go online, you have no easy way of handling these conflicts.
-
- If your app has heavy relational data requirements or relies on complex server-side queries (aggregations, multi-join reports), you might find the local database either cannot do it or is too slow to do it client-side. The lack of robust relational querying is something to plan for and you might need to adjust your data model to be more document-oriented or use client-side libraries to run [joins in memory](../why-nosql.md#relational-queries-in-nosql). Most tools use NoSQL because it makes replication easy and implementing true relational sync would require extremely sophisticated solutions and even needing an atomic clock for full consistency across nodes (like google spanner). So, **if your app truly needs SQL power on the client**, local-first might complicate things.
-
- > In Local-First, most tools use NoSQL because it makes replication and conflict handling easy.
-
-That's a long list of challenges! In summary, local-first approaches introduce distributed data issues on the client side that web developers usually didn't have to deal with. Despite these challenges, the local-first movement is steadily growing because the **benefits to user experience and data control are very compelling** and modern tools are emerging to mitigate a lot of these difficulties. All of these are solved or solvable for your specific use-case, just keep them in mind before you start architecting your local-first app.
-
-## Local-First vs. Traditional Online-First Approaches
-
-So now that you know the pros and cons about Local-First. Lets directly compare it to your previous "online-first" stack:
-
-### Connectivity and Offline Usage
-- **Local-first**: Apps like WhatsApp store messages locally on your device, letting you read past messages and even compose new ones without a stable network connection. Once online, the messages sync with the server and other participants.
-- **Online-first**: Purely cloud-based apps typically stop functioning (beyond simple caching) when the network or server goes down. They rely on a constant connection to fetch or store user data.
-
-### Latency and Performance
-- **Local-first**: Because data operations happen on the device, you see near-instant interactions (e.g., typing and reading chats feels very responsive, as the messages are on your phone). Syncing occurs in the background without delaying the user.
-- **Online-first**: Most interactions involve a round-trip to the server, adding network latency and potentially requiring loading states or fallback UIs. If the network is slow or unreliable, users can experience delays when sending or receiving updates.
-
-### Complexity and Conflict Resolution
-- **Local-first**: Much of the complexity like storing data or handling conflicts, shifts to the client. WhatsApp, for instance, caches all messages locally and queues unsent messages offline. Once reconnected, it must reconcile with the server and other devices, especially if the same account is used on multiple platforms.
-- **Online-first**: A single central server manages data and concurrency, so clients remain thinner. However, the app becomes unusable if connectivity is lost, and any server downtime directly impacts all users.
-
-### Data Ownership and Storage Limits
-- **Local-first**: Users hold a complete copy of data on their own device, retaining control and quick access. This can raise challenges when data sets are very large; phone storage might be insufficient, or backups may be harder to guarantee.
-- **Online-first**: Storing all data in the cloud scales more easily, and providers often manage backups automatically. On the downside, users depend on the service and must trust it to protect their data.
-
-### When to Choose Which
-- **Local-first**: Particularly helpful for scenarios where offline operation and immediate responsiveness matter, such as chat apps (like WhatsApp), field tools in low-connectivity environments, or any use case where users can't rely on being online 24/7.
-- **Online-first**: Well-suited for systems that demand real-time central control or massive data aggregation with minimal offline needs, such as large-scale analytics platforms or services where guaranteed immediate global consistency is essential.
-- **Hybrid**: In reality, most modern apps often blend these approaches, giving users partial offline capabilities (caching, queued updates) alongside a robust central service. This hybrid method offers the benefits of local speed and resilience, while still leveraging cloud infrastructure for collaboration and global reach. But a truth local-first app is way more than just a cache.
-
----
-
-
-
-## Offline-First vs. Local-First
-
-In the early days of offline-capable web apps (around 2014), the common phrase was **"Offline-First"**. Tools like **PouchDB** popularized the notion that developers should assume devices are often offline or have flaky connections, so apps must continue to work seamlessly without a network. The guiding principle was *"apps should treat being online as optional."* If a user has no internet access, the application's core features still function, saving or queuing data locally, and automatically synchronizing once connectivity is restored.
-
-
-
-
-
-Over time, this focus on offline support evolved into the broader concept of **"Local-First Software,"** (see [Ink&Switch](https://martin.kleppmann.com/papers/local-first.pdf)) emphasizing not just offline operation but also the technical underpinnings of **storing data locally** in the client application. While offline-first is primarily about resilience to network loss, local-first highlights ownership, privacy, and performance benefits of keeping the primary data on the user's device. Most tools these days extended the original offline-first concepts, adding real-time reactivity, custom sync, and more nuances like conflict resolution or encryption.
-
-
-However, the term **"local-first"** can be **confusing** to non-technical audiences because many people (especially in the US) associate "local first" with *community-oriented movements* that encourage buying from nearby businesses or supporting local initiatives. To reduce ambiguity, it may be clearer to use **"local first software"** or **"local first development"** in your documentation and marketing materials. When creating branding or logos around local-first software, **avoid using the "Google Maps Pin"** as a symbol. This icon typically implies geolocation or physical locality further mixing up the notion of "location-based services" with "on-device data storage."
-
-## Do People Actually Use Local-First or Is It Just a Trend?
-
-If we look at **npm download statistics**, we see that **PouchDB** - one of the oldest libraries for local-first apps - has about **53k** downloads each week, and **RxDB** - a newer library - has about **22k** weekly downloads. Other local-first tools often have even fewer downloads. In comparison, a popular library like **react-query**, which does not focus on local storage, is downloaded about **1.6 million** times a week. These numbers show that local-first libraries, while used, are not as common as some of the more traditional tools.
-
-One reason is that **local-first** is still a new idea. Many developers are used to traditional "online-first" approaches, so switching to a local database and then syncing changes later can feel unfamiliar. Developers must learn different patterns, deal with offline synchronization, and handle possible conflicts. That extra work can be a barrier to adoption which might change in the future as tooling improves.
-
-While most of RxDB is open source, there are also **premium plugins** that help sustain RxDB as a long-term project. Because people purchase these plugins, we gains insights into how developers are using local-first features:
-- About **half** of these users mainly want **offline functionality** for cases such as farming equipment, mining, construction, or even a shrimp farm app.
-- The **other half** focus on **faster, real-time UIs** for to-do or reading apps, a space launch planning tool, and various dashboard apps. This range of use cases highlights both the resilience offline mode can offer and the performance boost that local databases can provide when synced in the background.
-
-## Why Local-First Is the Future
-
-Early in the history of the web, users **expected** static pages. If you wanted to see new content, you **reloaded** the page. That was normal at the time, and nobody found it strange because everything worked that way.
-
-Then, as more sites added **real-time** features - auto-updating feeds, live notifications, single-page apps - suddenly those older "reload-only" sites began to feel **slow** or **outdated**. Why wait for a manual refresh when real-time data was possible and readily available?
-
-The same pattern is happening with **local-first** apps. Right now, most sites are still built around network availability. We see loading spinners whenever data is fetched, and we simply wait for the server response. As local-first experiences become **commonplace** - removing spinners, letting users keep working when offline, and syncing in the background - everything else will start to feel **frustratingly behind**. Users won't tolerate slow or blocked interactions if they've seen apps that respond instantly and remain usable offline. They'll expect that as the default and we'll likely see growing pressure on developers to eliminate those extra loading steps. For many users, the experience of **immediate local writes will become not just a perk, but an expectation!**
-
-## See also
-
-
-
-
-
-
-
-- Discuss [this topic on HackerNews](https://news.ycombinator.com/item?id=43289885)
-- [Local-First Technologies](../alternatives.md): A list of databases and technologies (besides [RxDB](/)) that support offline-first or local-first use cases.
-- [Discord](/chat/): Join our Discord server to talk with people and share ideas about this topic.
-- [Inc&Switch](https://martin.kleppmann.com/papers/local-first.pdf): The "original" paper about Local-First from 2019 where the naming of local-first Software was first used and described.
-- [Learn how to build a local-first Application with RxDB](../quickstart.md).
diff --git a/docs/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm.html b/docs/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm.html
deleted file mode 100644
index 293809cd3c3..00000000000
--- a/docs/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm.html
+++ /dev/null
@@ -1,241 +0,0 @@
-
-
-
-
-
-LocalStorage vs. IndexedDB vs. Cookies vs. OPFS vs. WASM-SQLite | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
LocalStorage vs. IndexedDB vs. Cookies vs. OPFS vs. WASM-SQLite
-
So you are building that web application and you want to store data inside of your users browser. Maybe you just need to store some small flags or you even need a fully fledged database.
-
The types of web applications we build have changed significantly. In the early years of the web we served static html files. Then we served dynamically rendered html and later we build single page applications that run most logic on the client. And for the coming years you might want to build so called local first apps that handle big and complex data operations solely on the client and even work when offline, which gives you the opportunity to build zero-latency user interactions.
-
In the early days of the web, cookies were the only option for storing small key-value assignments.. But JavaScript and browsers have evolved significantly and better storage APIs have been added which pave the way for bigger and more complex data operations.
-
In this article, we will dive into the various technologies available for storing and querying data in a browser. We'll explore traditional methods like Cookies, localStorage, WebSQL, IndexedDB and newer solutions such as OPFS and SQLite via WebAssembly. We compare the features and limitations and through performance tests we aim to uncover how fast we can write and read data in a web application with the various methods.
-
note
You are reading this in the RxDB docs. RxDB is a JavaScript database that has different storage adapters which can utilize the different storage APIs.
-Since 2017 I spend most of my time working with these APIs, doing performance tests and building hacks and plugins to reach the limits of browser database operation speed.
Cookies were first introduced by netscape in 1994.
-Cookies store small pieces of key-value data that are mainly used for session management, personalization, and tracking. Cookies can have several security settings like a time-to-live or the domain attribute to share the cookies between several subdomains.
-
Cookies values are not only stored at the client but also sent with every http request to the server. This means we cannot store much data in a cookie but it is still interesting how good cookie access performance compared to the other methods. Especially because cookies are such an important base feature of the web, many performance optimizations have been done and even these days there is still progress being made like the Shared Memory Versioning by chromium or the asynchronous CookieStore API.
The localStorage API was first proposed as part of the WebStorage specification in 2009.
-LocalStorage provides a simple API to store key-value pairs inside of a web browser. It has the methods setItem, getItem, removeItem and clear which is all you need from a key-value store. LocalStorage is only suitable for storing small amounts of data that need to persist across sessions and it is limited by a 5MB storage cap. Storing complex data is only possible by transforming it into a string for example with JSON.stringify().
-The API is not asynchronous which means if fully blocks your JavaScript process while doing stuff. Therefore running heavy operations on it might block your UI from rendering.
-
-
There is also the SessionStorage API. The key difference is that localStorage data persists indefinitely until explicitly cleared, while sessionStorage data is cleared when the browser tab or window is closed.
IndexedDB was first introduced as "Indexed Database API" in 2015.
-
IndexedDB is a low-level API for storing large amounts of structured JSON data. While the API is a bit hard to use, IndexedDB can utilize indexes and asynchronous operations. It lacks support for complex queries and only allows to iterate over the indexes which makes it more like a base layer for other libraries then a fully fledged database.
-
In 2018, IndexedDB version 2.0 was introduced. This added some major improvements. Most noticeable the getAll() method which improves performance dramatically when fetching bulks of JSON documents.
-
IndexedDB version 3.0 is in the workings which contains many improvements. Most important the addition of Promise based calls that makes modern JS features like async/await more useful.
The Origin Private File System (OPFS) is a relatively new API that allows web applications to store large files directly in the browser. It is designed for data-intensive applications that want to write and read binary data in a simulated file system.
Or in a WebWorker with the faster, asynchronous access with the createSyncAccessHandle() method.
-
-
Because only binary data can be processed, OPFS is made to be a base filesystem for library developers. You will unlikely directly want to use the OPFS in your code when you build a "normal" application because it is too complex. That would only make sense for storing plain files like images, not to store and query JSON data efficiently. I have build a OPFS based storage for RxDB with proper indexing and querying and it took me several months.
WebAssembly (Wasm) is a binary format that allows high-performance code execution on the web.
-Wasm was added to major browsers over the course of 2017 which opened a wide range of opportunities on what to run inside of a browser. You can compile native libraries to WebAssembly and just run them on the client with just a few adjustments. WASM code can be shipped to browser apps and generally runs much faster compared to JavaScript, but still about 10% slower then native.
-
Many people started to use compiled SQLite as a database inside of the browser which is why it makes sense to also compare this setup to the native APIs.
-
The compiled byte code of SQLite has a size of about 938.9 kB which must be downloaded and parsed by the users on the first page load. WASM cannot directly access any persistent storage API in the browser. Instead it requires data to flow from WASM to the main-thread and then can be put into one of the browser APIs. This is done with so called VFS (virtual file system) adapters that handle data access from SQLite to anything else.
WebSQL was a web API introduced in 2009 that allowed browsers to use SQL databases for client-side storage, based on SQLite. The idea was to give developers a way to store and query data using SQL on the client side, similar to server-side databases.
-WebSQL has been removed from browsers in the current years for multiple good reasons:
-
-
WebSQL was not standardized and having an API based on a single specific implementation in form of the SQLite source code is hard to ever make it to a standard.
-
WebSQL required browsers to use a specific version of SQLite (version 3.6.19) which means whenever there would be any update or bugfix to SQLite, it would not be possible to add that to WebSQL without possible breaking the web.
-
Major browsers like firefox never supported WebSQL.
-
-
Therefore in the following we will just ignore WebSQL even if it would be possible to run tests on in by setting specific browser flags or using old versions of chromium.
Now that you know the basic concepts of the APIs, lets compare some specific features that have shown to be important for people using RxDB and browser based storages in general.
When you store data in a web application, most often you want to store complex JSON documents and not only "normal" values like the integers and strings you store in a server side database.
-
-
Only IndexedDB works with JSON objects natively.
-
With SQLite WASM you can store JSON in a text column since version 3.38.0 (2022-02-22) and even run deep queries on it and use single attributes as indexes.
-
-
Every of the other APIs can only store strings or binary data. Of course you can transform any JSON object to a string with JSON.stringify() but not having the JSON support in the API can make things complex when running queries and running JSON.stringify() many times can cause performance problems.
A big difference when building a Web App compared to Electron or React-Native, is that the user will open and close the app in multiple browser tabs at the same time. Therefore you have not only one JavaScript process running, but many of them can exist and might have to share state changes between each other to not show outdated data to the user.
-
-
If your users' muscle memory puts the left hand on the F5 key while using your website, you did something wrong!
-
-
Not all storage APIs support a way to automatically share write events between tabs.
-
Only localstorage has a way to automatically share write events between tabs by the API itself with the storage-event which can be used to observe changes.
-
// localStorage can observe changes with the storage event.
-// This feature is missing in IndexedDB and others
-addEventListener("storage", (event) => {});
To workaround this problem, there are two solutions:
-
-
The first option is to use the BroadcastChannel API which can send messages across browser tabs. So whenever you do a write to the storage, you also send a notification to other tabs to inform them about these changes. This is the most common workaround which is also used by RxDB. Notice that there is also the WebLocks API which can be used to have mutexes across browser tabs.
-
The other solution is to use the SharedWorker and do all writes inside of the worker. All browser tabs can then subscribe to messages from that single SharedWorker and know about changes.
The big difference between a database and storing data in a plain file, is that a database is writing data in a format that allows running operations over indexes to facilitate fast performant queries. From our list of technologies only IndexedDB and WASM SQLite support for indexing out of the box. In theory you can build indexes on top of any storage like localstorage or OPFS but you likely should not want to do that by yourself.
-
In IndexedDB for example, we can fetch a bulk of documents by a given index range:
-
// find all products with a price between 10 and 50
-const keyRange = IDBKeyRange.bound(10, 50);
-const transaction = db.transaction('products', 'readonly');
-const objectStore = transaction.objectStore('products');
-const index = objectStore.index('priceIndex');
-const request = index.getAll(keyRange);
-const result = await new Promise((res, rej) => {
- request.onsuccess = (event) => res(event.target.result);
- request.onerror = (event) => rej(event);
-});
-
Notice that IndexedDB has the limitation of not having indexes on boolean values. You can only index strings and numbers. To workaround that you have to transform boolean to numbers and backwards when storing the data.
When running heavy data operations, you might want to move the processing away from the JavaScript main thread. This ensures that our app keeps being responsive and fast while the processing can run in parallel in the background. In a browser you can either use the WebWorker, SharedWorker or the ServiceWorker API to do that. In RxDB you can use the WebWorker or SharedWorker plugins to move your storage inside of a worker.
-
The most common API for that use case is spawning a WebWorker and doing most work on that second JavaScript process. The worker is spawned from a separate JavaScript file (or base64 string) and communicates with the main thread by sending data with postMessage().
-
Unfortunately LocalStorage and Cookiescannot be used in WebWorker or SharedWorker because of the design and security constraints. WebWorkers run in a separate global context from the main browser thread and therefore cannot do stuff that might impact the main thread. They have no direct access to certain web APIs, like the DOM, localStorage, or cookies.
-
Everything else can be used from inside a WebWorker.
-The fast version of OPFS with the createSyncAccessHandle method can onlybe used in a WebWorker, and not on the main thread. This is because all the operations of the returned AccessHandle are not async and therefore block the JavaScript process, so you do want to do that on the main thread and block everything.
Cookies are limited to about 4 KB of data in RFC-6265. Because the stored cookies are send to the server with every HTTP request, this limitation is reasonable. You can test your browsers cookie limits here. Notice that you should never fill up the full 4 KB of your cookies because your web server will not accept too long headers and reject the requests with HTTP ERROR 431 - Request header fields too large. Once you have reached that point you can not even serve updated JavaScript to your user to clean up the cookies and you will have locked out that user until the cookies get cleaned up manually.
-
-
-
LocalStorage has a storage size limitation that varies depending on the browser, but generally ranges from 4 MB to 10 MB per origin. You can test your localStorage size limit here.
-
-
Chrome/Chromium/Edge: 5 MB per domain
-
Firefox: 10 MB per domain
-
Safari: 4-5 MB per domain (varies slightly between versions)
-
-
-
-
IndexedDB does not have a specific fixed size limitation like localStorage. The maximum storage size for IndexedDB depends on the browser implementation. The upper limit is typically based on the available disc space on the user's device. In chromium browsers it can use up to 80% of total disk space. You can get an estimation about the storage size limit by calling await navigator.storage.estimate(). Typically you can store gigabytes of data which can be tried out here. Notice that we have a full article about storage max size limits of IndexedDB that covers this topic.
-
-
-
OPFS has the same storage size limitation as IndexedDB. Its limit depends on the available disc space. This can also be tested here.
Now that we've reviewed the features of each storage method, let's dive into performance comparisons, focusing on initialization times, read/write latencies, and bulk operations.
-
Notice that we only run simple tests and for your specific use case in your application the results might differ. Also we only compare performance in google chrome (version 128.0.6613.137). Firefox and Safari have similar but not equal performance patterns. You can run the test by yourself on your own machine from this github repository. For all tests we throttle the network to behave like the average german internet speed. (download: 135,900 kbit/s, upload: 28,400 kbit/s, latency: 125ms). Also all tests store an "average" JSON object that might be required to be stringified depending on the storage. We also only test the performance of storing documents by id because some of the technologies (cookies, OPFS and localstorage) do not support indexed range operations so it makes no sense to compare the performance of these.
Before you can store any data, many APIs require a setup process like creating databases, spawning WebAssembly processes or downloading additional stuff. To ensure your app starts fast, the initialization time is important.
-
The APIs of localStorage and Cookies do not have any setup process and can be directly used. IndexedDB requires to open a database and a store inside of it. WASM SQLite needs to download a WASM file and process it. OPFS needs to download and start a worker file and initialize the virtual file system directory.
-
Here are the time measurements from how long it takes until the first bit of data can be stored:
-
Technology
Time in Milliseconds
IndexedDB
46
OPFS Main Thread
23
OPFS WebWorker
26.8
WASM SQLite (memory)
504
WASM SQLite (IndexedDB)
535
-
Here we can notice a few things:
-
-
Opening a new IndexedDB database with a single store takes surprisingly long
-
The latency overhead of sending data from the main thread to a WebWorker OPFS is about 4 milliseconds. Here we only send minimal data to init the OPFS file handler. It will be interesting if that latency increases when more data is processed.
-
Downloading and parsing WASM SQLite and creating a single table takes about half a second. Using also the IndexedDB VFS to store data persistently adds additional 31 milliseconds. Reloading the page with enabled caching and already prepared tables is a bit faster with 420 milliseconds (memory).
Next lets test the latency of small writes. This is important when you do many small data changes that happen independent from each other. Like when you stream data from a websocket or persist pseudo randomly happening events like mouse movements.
-
Technology
Time in Milliseconds
Cookies
0.058
LocalStorage
0.017
IndexedDB
0.17
OPFS Main Thread
1.46
OPFS WebWorker
1.54
WASM SQLite (memory)
0.17
WASM SQLite (IndexedDB)
3.17
-
Here we can notice a few things:
-
-
LocalStorage has the lowest write latency with only 0.017 milliseconds per write.
-
IndexedDB writes are about 10 times slower compared to localStorage.
-
Sending the data to the WASM SQLite process and letting it persist via IndexedDB is slow with over 3 milliseconds per write.
-
-
The OPFS operations take about 1.5 milliseconds to write the JSON data into one document per file. We can see the sending the data to a webworker first is a bit slower which comes from the overhead of serializing and deserializing the data on both sides.
-If we would not create on OPFS file per document but instead append everything to a single file, the performance pattern changes significantly. Then the faster file handle from the createSyncAccessHandle() only takes about 1 millisecond per write. But this would require to somehow remember at which position the each document is stored. Therefore in our tests we will continue using one file per document.
As next step, lets do some big bulk operations with 200 documents at once.
-
Technology
Time in Milliseconds
Cookies
20.6
LocalStorage
5.79
IndexedDB
13.41
OPFS Main Thread
280
OPFS WebWorker
104
WASM SQLite (memory)
19.1
WASM SQLite (IndexedDB)
37.12
-
Here we can notice a few things:
-
-
Sending the data to a WebWorker and running it via the faster OPFS API is about twice as fast.
-
WASM SQLite performs better on bulk operations compared to its single write latency. This is because sending the data to WASM and backwards is faster if it is done all at once instead of once per document.
Reading many files in the OPFS webworker is about twice as fast compared to the slower main thread mode.
-
WASM SQLite is surprisingly fast. Further inspection has shown that the WASM SQLite process keeps the documents in memory cached which improves the latency when we do reads directly after writes on the same data. When the browser tab is reloaded between the writes and the reads, finding the 100 documents takes about 35 milliseconds instead.
LocalStorage is really fast but remember that is has some downsides:
-
-
It blocks the main JavaScript process and therefore should not be used for big bulk operations.
-
Only Key-Value assignments are possible, you cannot use it efficiently when you need to do index based range queries on your data.
-
-
-
OPFS is way faster when used in the WebWorker with the createSyncAccessHandle() method compare to using it directly in the main thread.
-
SQLite WASM can be fast but you have to initially download the full binary and start it up which takes about half a second. This might not be relevant at all if your app is started up once and the used for a very long time. But for web-apps that are opened and closed in many browser tabs many times, this might be a problem.
There is a wide range of possible improvements and performance hacks to speed up the operations.
-
-
For IndexedDB I have made a list of performance hacks here. For example you can do sharding between multiple database and webworkers or use a custom index strategy.
-
OPFS is slow in writing one file per document. But you do not have to do that and instead you can store everything at a single file like a normal database would do. This improves performance dramatically like it was done with the RxDB OPFS RxStorage.
-
You can mix up the technologies to optimize for multiple scenarios at once. For example in RxDB there is the localstorage meta optimizer which stores initial metadata in localstorage and "normal" documents inside of IndexedDB. This improves the initial startup time while still having the documents stored in a way to query them efficiently.
-
There is the memory-mapped storage plugin in RxDB which maps data directly to memory. Using this in combination with a shared worker can improve pageloads and query time significantly.
-
Compressing data before storing it might improve the performance for some of the storages.
-
Splitting work up between multiple WebWorkers via sharding can improve performance by utilizing the whole capacity of your users device.
-
-
Here you can see the performance comparison of various RxDB storage implementations which gives a better view of real world performance:
You are reading this in 2024, but the web does not stand still. There is a good chance that browser get enhanced to allow faster and better data operations.
-
-
Currently there is no way to directly access a persistent storage from inside a WebAssembly process. If this changes in the future, running SQLite (or a similar database) in a browser might be the best option.
-
Sending data between the main thread and a WebWorker is slow but might be improved in the future. There is a good article about why postMessage() is slow.
-
IndexedDB lately got support for storage buckets (chrome only) which might improve performance.
-
-
\ No newline at end of file
diff --git a/docs/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm.md b/docs/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm.md
deleted file mode 100644
index e5a762ebcce..00000000000
--- a/docs/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm.md
+++ /dev/null
@@ -1,341 +0,0 @@
-# LocalStorage vs. IndexedDB vs. Cookies vs. OPFS vs. WASM-SQLite
-
-> Compare LocalStorage, IndexedDB, Cookies, OPFS, and WASM-SQLite for web storage, performance, limits, and best practices for modern web apps.
-
-
-
-# LocalStorage vs. IndexedDB vs. Cookies vs. OPFS vs. WASM-SQLite
-
-So you are building that web application and you want to **store data inside of your users browser**. Maybe you just need to store some small flags or you even need a fully fledged database.
-
-The types of web applications we build have changed significantly. In the early years of the web we served static html files. Then we served dynamically rendered html and later we build **single page applications** that run most logic on the client. And for the coming years you might want to build so called [local first apps](../offline-first.md) that handle big and complex data operations solely on the client and even work when offline, which gives you the opportunity to build **zero-latency** user interactions.
-
-In the early days of the web, **cookies** were the only option for storing small key-value assignments.. But JavaScript and browsers have evolved significantly and better storage APIs have been added which pave the way for bigger and more complex data operations.
-
-In this article, we will dive into the various technologies available for storing and querying data in a browser. We'll explore traditional methods like **Cookies**, **localStorage**, **WebSQL**, **IndexedDB** and newer solutions such as **OPFS** and **SQLite via WebAssembly**. We compare the features and limitations and through performance tests we aim to uncover how fast we can write and read data in a web application with the various methods.
-
-:::note
-You are reading this in the [RxDB](/) docs. RxDB is a JavaScript database that has different storage adapters which can utilize the different storage APIs.
-**Since 2017** I spend most of my time working with these APIs, doing performance tests and building [hacks](../slow-indexeddb.md) and plugins to reach the limits of browser database operation speed.
-
-
-
-
-
-
-:::
-
-## The available Storage APIs in a modern Browser
-
-First lets have a brief overview of the different APIs, their intentional use case and history:
-
-### What are Cookies
-
-Cookies were first introduced by [netscape in 1994](https://www.baekdal.com/thoughts/the-original-cookie-specification-from-1997-was-gdpr-compliant/).
-Cookies store small pieces of key-value data that are mainly used for session management, personalization, and tracking. Cookies can have several security settings like a time-to-live or the `domain` attribute to share the cookies between several subdomains.
-
-Cookies values are not only stored at the client but also sent with **every http request** to the server. This means we cannot store much data in a cookie but it is still interesting how good cookie access performance compared to the other methods. Especially because cookies are such an important base feature of the web, many performance optimizations have been done and even these days there is still progress being made like the [Shared Memory Versioning](https://blog.chromium.org/2024/06/introducing-shared-memory-versioning-to.html) by chromium or the asynchronous [CookieStore API](https://developer.mozilla.org/en-US/docs/Web/API/Cookie_Store_API).
-
-### What is LocalStorage
-
-The [localStorage API](./localstorage.md) was first proposed as part of the [WebStorage specification in 2009](https://www.w3.org/TR/2009/WD-webstorage-20090423/#the-localstorage-attribute).
-LocalStorage provides a simple API to store key-value pairs inside of a web browser. It has the methods `setItem`, `getItem`, `removeItem` and `clear` which is all you need from a key-value store. LocalStorage is only suitable for storing small amounts of data that need to persist across sessions and it is [limited by a 5MB storage cap](./localstorage.md#understanding-the-limitations-of-local-storage). Storing complex data is only possible by transforming it into a string for example with `JSON.stringify()`.
-The API is not asynchronous which means if fully blocks your JavaScript process while doing stuff. Therefore running heavy operations on it might block your UI from rendering.
-
-> There is also the **SessionStorage** API. The key difference is that localStorage data persists indefinitely until explicitly cleared, while sessionStorage data is cleared when the browser tab or window is closed.
-
-### What is IndexedDB
-
-IndexedDB was first introduced as "Indexed Database API" [in 2015](https://www.w3.org/TR/IndexedDB/#sotd).
-
-[IndexedDB](../rx-storage-indexeddb.md) is a low-level API for storing large amounts of structured JSON data. While the API is a bit hard to use, IndexedDB can utilize indexes and asynchronous operations. It lacks support for complex queries and only allows to iterate over the indexes which makes it more like a base layer for other libraries then a fully fledged database.
-
-In 2018, IndexedDB version 2.0 [was introduced](https://hacks.mozilla.org/2016/10/whats-new-in-indexeddb-2-0/). This added some major improvements. Most noticeable the `getAll()` method which improves performance dramatically when fetching bulks of JSON documents.
-
-IndexedDB [version 3.0](https://w3c.github.io/IndexedDB/) is in the workings which contains many improvements. Most important the addition of `Promise` based calls that makes modern JS features like `async/await` more useful.
-
-### What is OPFS
-
-The [Origin Private File System](../rx-storage-opfs.md) (OPFS) is a [relatively new](https://caniuse.com/mdn-api_filesystemfilehandle_createsyncaccesshandle) API that allows web applications to store large files directly in the browser. It is designed for data-intensive applications that want to write and read **binary data** in a simulated file system.
-
-OPFS can be used in two modes:
-- Either asynchronous on the [main thread](../rx-storage-opfs.md#using-opfs-in-the-main-thread-instead-of-a-worker)
-- Or in a WebWorker with the faster, asynchronous access with the `createSyncAccessHandle()` method.
-
-Because only binary data can be processed, OPFS is made to be a base filesystem for library developers. You will unlikely directly want to use the OPFS in your code when you build a "normal" application because it is too complex. That would only make sense for storing plain files like images, not to store and query [JSON data](./json-based-database.md) efficiently. I have build a [OPFS based storage](../rx-storage-opfs.md) for RxDB with proper indexing and querying and it took me several months.
-
-### What is WASM SQLite
-
-
-
-
-
-[WebAssembly](https://webassembly.org/) (Wasm) is a binary format that allows high-performance code execution on the web.
-Wasm was added to major browsers over the course of 2017 which opened a wide range of opportunities on what to run inside of a browser. You can compile native libraries to WebAssembly and just run them on the client with just a few adjustments. WASM code can be shipped to browser apps and generally runs much faster compared to JavaScript, but still about [10% slower then native](https://www.usenix.org/conference/atc19/presentation/jangda).
-
-Many people started to use compiled SQLite as a database inside of the browser which is why it makes sense to also compare this setup to the native APIs.
-
-The compiled byte code of SQLite has a size of [about 938.9 kB](https://sqlite.org/download.html) which must be downloaded and parsed by the users on the first page load. WASM cannot directly access any persistent storage API in the browser. Instead it requires data to flow from WASM to the main-thread and then can be put into one of the browser APIs. This is done with so called [VFS (virtual file system) adapters](https://www.sqlite.org/vfs.html) that handle data access from SQLite to anything else.
-
-### What was WebSQL
-
-WebSQL **was** a web API [introduced in 2009](https://www.w3.org/TR/webdatabase/) that allowed browsers to use SQL databases for client-side storage, based on SQLite. The idea was to give developers a way to store and query data using SQL on the client side, similar to server-side databases.
-WebSQL has been **removed from browsers** in the current years for multiple good reasons:
-
-- WebSQL was not standardized and having an API based on a single specific implementation in form of the SQLite source code is hard to ever make it to a standard.
-- WebSQL required browsers to use a [specific version](https://developer.chrome.com/blog/deprecating-web-sql#reasons_for_deprecating_web_sql) of SQLite (version 3.6.19) which means whenever there would be any update or bugfix to SQLite, it would not be possible to add that to WebSQL without possible breaking the web.
-- Major browsers like firefox never supported WebSQL.
-
-Therefore in the following we will **just ignore WebSQL** even if it would be possible to run tests on in by setting specific browser flags or using old versions of chromium.
-
--------------
-
-## Feature Comparison
-
-Now that you know the basic concepts of the APIs, lets compare some specific features that have shown to be important for people using RxDB and browser based storages in general.
-
-### Storing complex JSON Documents
-
-When you store data in a web application, most often you want to store complex JSON documents and not only "normal" values like the `integers` and `strings` you store in a server side database.
-
-- Only IndexedDB works with JSON objects natively.
-- With SQLite WASM you can [store JSON](https://www.sqlite.org/json1.html) in a `text` column since version 3.38.0 (2022-02-22) and even run deep queries on it and use single attributes as indexes.
-
-Every of the other APIs can only store strings or binary data. Of course you can transform any JSON object to a string with `JSON.stringify()` but not having the JSON support in the API can make things complex when running queries and running `JSON.stringify()` many times can cause performance problems.
-
-### Multi-Tab Support
-
-A big difference when building a Web App compared to [Electron](../electron-database.md) or [React-Native](../react-native-database.md), is that the user will open and close the app in **multiple browser tabs at the same time**. Therefore you have not only one JavaScript process running, but many of them can exist and might have to share state changes between each other to not show **outdated data** to the user.
-
-> If your users' muscle memory puts the left hand on the **F5** key while using your website, you did something wrong!
-
-Not all storage APIs support a way to automatically share write events between tabs.
-
-Only localstorage has a way to automatically share write events between tabs by the API itself with the [storage-event](./localstorage.md#localstorage-vs-indexeddb) which can be used to observe changes.
-
-```js
-// localStorage can observe changes with the storage event.
-// This feature is missing in IndexedDB and others
-addEventListener("storage", (event) => {});
-```
-
-There was the [experimental IndexedDB observers API](https://stackoverflow.com/a/33270440) for chrome, but the proposal repository has been archived.
-
-To workaround this problem, there are two solutions:
-- The first option is to use the [BroadcastChannel API](https://github.com/pubkey/broadcast-channel) which can send messages across browser tabs. So whenever you do a write to the storage, you also send a notification to other tabs to inform them about these changes. This is the most common workaround which is also used by RxDB. Notice that there is also the [WebLocks API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Locks_API) which can be used to have mutexes across browser tabs.
-- The other solution is to use the [SharedWorker](https://developer.mozilla.org/en-US/docs/Web/API/SharedWorker) and do all writes inside of the worker. All browser tabs can then subscribe to messages from that **single** SharedWorker and know about changes.
-
-### Indexing Support
-
-The big difference between a database and storing data in a plain file, is that a database is writing data in a format that allows running operations over indexes to facilitate fast performant queries. From our list of technologies only **IndexedDB** and **WASM SQLite** support for indexing out of the box. In theory you can build indexes on top of any storage like localstorage or OPFS but you likely should not want to do that by yourself.
-
-In IndexedDB for example, we can fetch a bulk of documents by a given index range:
-
-```ts
-// find all products with a price between 10 and 50
-const keyRange = IDBKeyRange.bound(10, 50);
-const transaction = db.transaction('products', 'readonly');
-const objectStore = transaction.objectStore('products');
-const index = objectStore.index('priceIndex');
-const request = index.getAll(keyRange);
-const result = await new Promise((res, rej) => {
- request.onsuccess = (event) => res(event.target.result);
- request.onerror = (event) => rej(event);
-});
-```
-
-Notice that IndexedDB has the limitation of [not having indexes on boolean values](https://github.com/w3c/IndexedDB/issues/76). You can only index strings and numbers. To workaround that you have to transform boolean to numbers and backwards when storing the data.
-
-### WebWorker Support
-
-When running heavy data operations, you might want to move the processing away from the JavaScript main thread. This ensures that our app keeps being responsive and fast while the processing can run in parallel in the background. In a browser you can either use the [WebWorker](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API), [SharedWorker](https://developer.mozilla.org/en-US/docs/Web/API/SharedWorker) or the [ServiceWorker](https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API) API to do that. In RxDB you can use the [WebWorker](../rx-storage-worker.md) or [SharedWorker](../rx-storage-shared-worker.md) plugins to move your storage inside of a worker.
-
-The most common API for that use case is spawning a **WebWorker** and doing most work on that second JavaScript process. The worker is spawned from a separate JavaScript file (or base64 string) and communicates with the main thread by sending data with `postMessage()`.
-
-Unfortunately **LocalStorage** and **Cookies** [cannot be used in WebWorker or SharedWorker](https://stackoverflow.com/questions/6179159/accessing-localstorage-from-a-webworker) because of the design and security constraints. WebWorkers run in a separate global context from the main browser thread and therefore cannot do stuff that might impact the main thread. They have no direct access to certain web APIs, like the DOM, localStorage, or cookies.
-
-Everything else can be used from inside a WebWorker.
-The fast version of OPFS with the `createSyncAccessHandle` method can **only** [be used in a WebWorker](../rx-storage-opfs.md#opfs-limitations), and **not on the main thread**. This is because all the operations of the returned `AccessHandle` are **not async** and therefore block the JavaScript process, so you do want to do that on the main thread and block everything.
-
--------------
-
-## Storage Size Limits
-
-- **Cookies** are limited to about `4 KB` of data in [RFC-6265](https://datatracker.ietf.org/doc/html/rfc6265#section-6.1). Because the stored cookies are send to the server with every HTTP request, this limitation is reasonable. You can test your browsers cookie limits [here](http://www.ruslog.com/tools/cookies.html). Notice that you should never fill up the full `4 KB` of your cookies because your web server will not accept too long headers and reject the requests with `HTTP ERROR 431 - Request header fields too large`. Once you have reached that point you can not even serve updated JavaScript to your user to clean up the cookies and you will have locked out that user until the cookies get cleaned up manually.
-
-- **LocalStorage** has a storage size limitation that varies depending on the browser, but generally ranges from 4 MB to 10 MB per origin. You can test your localStorage size limit [here](https://arty.name/localstorage.html).
- - Chrome/Chromium/Edge: 5 MB per domain
- - Firefox: 10 MB per domain
- - Safari: 4-5 MB per domain (varies slightly between versions)
-
-- **IndexedDB** does not have a specific fixed size limitation like localStorage. The maximum storage size for IndexedDB depends on the browser implementation. The upper limit is typically based on the available disc space on the user's device. In chromium browsers it can use up to 80% of total disk space. You can get an estimation about the storage size limit by calling `await navigator.storage.estimate()`. Typically you can store gigabytes of data which can be tried out [here](https://demo.agektmr.com/storage/). Notice that we have a full article about [storage max size limits of IndexedDB](./indexeddb-max-storage-limit.md) that covers this topic.
-
-- **OPFS** has the same storage size limitation as IndexedDB. Its limit depends on the available disc space. This can also be tested [here](https://demo.agektmr.com/storage/).
-
--------------
-
-## Performance Comparison
-
-Now that we've reviewed the features of each storage method, let's dive into performance comparisons, focusing on initialization times, read/write latencies, and bulk operations.
-
-Notice that we only run simple tests and for your specific use case in your application the results might differ. Also we only compare performance in google chrome (version 128.0.6613.137). Firefox and Safari have similar **but not equal** performance patterns. You can run the test by yourself on your own machine from this [github repository](https://github.com/pubkey/localstorage-indexeddb-cookies-opfs-sqlite-wasm). For all tests we throttle the network to behave like the average german internet speed. (download: 135,900 kbit/s, upload: 28,400 kbit/s, latency: 125ms). Also all tests store an "average" JSON object that might be required to be stringified depending on the storage. We also only test the performance of storing documents by id because some of the technologies (cookies, OPFS and localstorage) do not support indexed range operations so it makes no sense to compare the performance of these.
-
-### Initialization Time
-
-Before you can store any data, many APIs require a setup process like creating databases, spawning WebAssembly processes or downloading additional stuff. To ensure your app starts fast, the initialization time is important.
-
-The APIs of localStorage and Cookies do not have any setup process and can be directly used. IndexedDB requires to open a database and a store inside of it. WASM SQLite needs to download a WASM file and process it. OPFS needs to download and start a worker file and initialize the virtual file system directory.
-
-Here are the time measurements from how long it takes until the first bit of data can be stored:
-
-| Technology | Time in Milliseconds |
-| ----------------------- | -------------------- |
-| IndexedDB | 46 |
-| OPFS Main Thread | 23 |
-| OPFS WebWorker | 26.8 |
-| WASM SQLite (memory) | 504 |
-| WASM SQLite (IndexedDB) | 535 |
-
-Here we can notice a few things:
-
-- Opening a new IndexedDB database with a single store takes surprisingly long
-- The latency overhead of sending data from the main thread to a WebWorker OPFS is about 4 milliseconds. Here we only send minimal data to init the OPFS file handler. It will be interesting if that latency increases when more data is processed.
-- Downloading and parsing WASM SQLite and creating a single table takes about half a second. Using also the IndexedDB VFS to store data persistently adds additional 31 milliseconds. Reloading the page with enabled caching and already prepared tables is a bit faster with 420 milliseconds (memory).
-
-### Latency of small Writes
-
-Next lets test the latency of small writes. This is important when you do many small data changes that happen independent from each other. Like when you stream data from a websocket or persist pseudo randomly happening events like mouse movements.
-
-| Technology | Time in Milliseconds |
-| ----------------------- | -------------------- |
-| Cookies | 0.058 |
-| LocalStorage | 0.017 |
-| IndexedDB | 0.17 |
-| OPFS Main Thread | 1.46 |
-| OPFS WebWorker | 1.54 |
-| WASM SQLite (memory) | 0.17 |
-| WASM SQLite (IndexedDB) | 3.17 |
-
-Here we can notice a few things:
-
-- LocalStorage has the lowest write latency with only 0.017 milliseconds per write.
-- IndexedDB writes are about 10 times slower compared to localStorage.
-- Sending the data to the WASM SQLite process and letting it persist via IndexedDB is slow with over 3 milliseconds per write.
-
-The OPFS operations take about 1.5 milliseconds to write the JSON data into one document per file. We can see the sending the data to a webworker first is a bit slower which comes from the overhead of serializing and deserializing the data on both sides.
-If we would not create on OPFS file per document but instead append everything to a single file, the performance pattern changes significantly. Then the faster file handle from the `createSyncAccessHandle()` only takes about 1 millisecond per write. But this would require to somehow remember at which position the each document is stored. Therefore in our tests we will continue using one file per document.
-
-### Latency of small Reads
-
-Now that we have stored some documents, lets measure how long it takes to read single documents by their `id`.
-
-| Technology | Time in Milliseconds |
-| ----------------------- | -------------------- |
-| Cookies | 0.132 |
-| LocalStorage | 0.0052 |
-| IndexedDB | 0.1 |
-| OPFS Main Thread | 1.28 |
-| OPFS WebWorker | 1.41 |
-| WASM SQLite (memory) | 0.45 |
-| WASM SQLite (IndexedDB) | 2.93 |
-
-Here we can notice a few things:
-
-- LocalStorage reads are **really really fast** with only 0.0052 milliseconds per read.
-- The other technologies perform reads in a similar speed to their write latency.
-
-### Big Bulk Writes
-
-As next step, lets do some big bulk operations with 200 documents at once.
-
-| Technology | Time in Milliseconds |
-| ----------------------- | -------------------- |
-| Cookies | 20.6 |
-| LocalStorage | 5.79 |
-| IndexedDB | 13.41 |
-| OPFS Main Thread | 280 |
-| OPFS WebWorker | 104 |
-| WASM SQLite (memory) | 19.1 |
-| WASM SQLite (IndexedDB) | 37.12 |
-
-Here we can notice a few things:
-
-- Sending the data to a WebWorker and running it via the faster OPFS API is about twice as fast.
-- WASM SQLite performs better on bulk operations compared to its single write latency. This is because sending the data to WASM and backwards is faster if it is done all at once instead of once per document.
-
-### Big Bulk Reads
-
-Now lets read 100 documents in a bulk request.
-
-| Technology | Time in Milliseconds |
-| ----------------------- | ------------------------------- |
-| Cookies | 6.34 |
-| LocalStorage | 0.39 |
-| IndexedDB | 4.99 |
-| OPFS Main Thread | 54.79 |
-| OPFS WebWorker | 25.61 |
-| WASM SQLite (memory) | 3.59 |
-| WASM SQLite (IndexedDB) | 5.84 (35ms without cache) |
-
-Here we can notice a few things:
-
-- Reading many files in the OPFS webworker is about **twice as fast** compared to the slower main thread mode.
-- WASM SQLite is surprisingly fast. Further inspection has shown that the WASM SQLite process keeps the documents in memory cached which improves the latency when we do reads directly after writes on the same data. When the browser tab is reloaded between the writes and the reads, finding the 100 documents takes about **35 milliseconds** instead.
-
-## Performance Conclusions
-
-- LocalStorage is really fast but remember that is has some downsides:
- - It blocks the main JavaScript process and therefore should not be used for big bulk operations.
- - Only Key-Value assignments are possible, you cannot use it efficiently when you need to do index based range queries on your data.
-- OPFS is way faster when used in the WebWorker with the `createSyncAccessHandle()` method compare to using it directly in the main thread.
-- SQLite WASM can be fast but you have to initially download the full binary and start it up which takes about half a second. This might not be relevant at all if your app is started up once and the used for a very long time. But for web-apps that are opened and closed in many browser tabs many times, this might be a problem.
-
--------------
-
-## Possible Improvements
-
-There is a wide range of possible improvements and performance hacks to speed up the operations.
-- For IndexedDB I have made a list of [performance hacks here](../slow-indexeddb.md). For example you can do sharding between multiple database and webworkers or use a custom index strategy.
-- OPFS is slow in writing one file per document. But you do not have to do that and instead you can store everything at a single file like a normal database would do. This improves performance dramatically like it was done with the RxDB [OPFS RxStorage](../rx-storage-opfs.md).
-- You can mix up the technologies to optimize for multiple scenarios at once. For example in RxDB there is the [localstorage meta optimizer](../rx-storage-localstorage-meta-optimizer.md) which stores initial metadata in localstorage and "normal" documents inside of IndexedDB. This improves the initial startup time while still having the documents stored in a way to query them efficiently.
-- There is the [memory-mapped](../rx-storage-memory-mapped.md) storage plugin in RxDB which maps data directly to memory. Using this in combination with a shared worker can improve pageloads and query time significantly.
-- [Compressing](../key-compression.md) data before storing it might improve the performance for some of the storages.
-- Splitting work up between [multiple WebWorkers](../rx-storage-worker.md) via [sharding](../rx-storage-sharding.md) can improve performance by utilizing the whole capacity of your users device.
-
-Here you can see the [performance comparison](../rx-storage-performance.md) of various RxDB storage implementations which gives a better view of real world performance:
-
-
-
-
-
-## Future Improvements
-
-You are reading this in 2024, but the web does not stand still. There is a good chance that browser get enhanced to allow faster and better data operations.
-
-- Currently there is no way to directly access a persistent storage from inside a WebAssembly process. If this changes in the future, running SQLite (or a similar database) in a browser might be the best option.
-- Sending data between the main thread and a WebWorker is slow but might be improved in the future. There is a [good article](https://surma.dev/things/is-postmessage-slow/) about why `postMessage()` is slow.
-- IndexedDB lately [got support](https://developer.chrome.com/blog/maximum-idb-performance-with-storage-buckets) for storage buckets (chrome only) which might improve performance.
-
-## Follow Up
-
-- Share my [announcement tweet](https://x.com/rxdbjs/status/1846145062847062391) -->
-- Reproduce the benchmarks at the [github repo](https://github.com/pubkey/localstorage-indexeddb-cookies-opfs-sqlite-wasm)
-- Learn how to use RxDB with the [RxDB Quickstart](../quickstart.md)
-- Check out the [RxDB github repo](https://github.com/pubkey/rxdb) and leave a star ⭐
diff --git a/docs/articles/localstorage.html b/docs/articles/localstorage.html
deleted file mode 100644
index a5c4b5c98df..00000000000
--- a/docs/articles/localstorage.html
+++ /dev/null
@@ -1,134 +0,0 @@
-
-
-
-
-
-Using localStorage in Modern Applications - A Comprehensive Guide | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Using localStorage in Modern Applications: A Comprehensive Guide
-
When it comes to client-side storage in web applications, the localStorage API stands out as a simple and widely supported solution. It allows developers to store key-value pairs directly in a user's browser. In this article, we will explore the various aspects of the localStorage API, its advantages, limitations, and alternative storage options available for modern applications.
The localStorage API is a built-in feature of web browsers that enables web developers to store small amounts of data persistently on a user's device. It operates on a simple key-value basis, allowing developers to save strings, numbers, and other simple data types. This data remains available even after the user closes the browser or navigates away from the page. The API provides a convenient way to maintain state and store user preferences without relying on server-side storage.
-
Exploring local storage Methods: A Practical Example
-
Let's dive into some hands-on code examples to better understand how to leverage the power of localStorage. The API offers several methods for interaction, including setItem, getItem, removeItem, and clear. Consider the following code snippet:
-
// Storing data using setItem
-localStorage.setItem('username', 'john_doe');
-
-// Retrieving data using getItem
-const storedUsername = localStorage.getItem('username');
-
-// Removing data using removeItem
-localStorage.removeItem('username');
-
-// Clearing all data
-localStorage.clear();
-
Storing Complex Data in JavaScript with JSON Serialization
-
While js localStorage excels at handling simple key-value pairs, it also supports more intricate data storage through JSON serialization. By utilizing JSON.stringify and JSON.parse, you can store and retrieve structured data like objects and arrays. Here's an example of storing a document:
-
const user = {
- name: 'Alice',
- age: 30,
- email: 'alice@example.com'
-};
-
-// Storing a user object
-localStorage.setItem('user', JSON.stringify(user));
-
-// Retrieving and parsing the user object
-const storedUser = JSON.parse(localStorage.getItem('user'));
Despite its convenience, localStorage does come with a set of limitations that developers should be aware of:
-
-
Non-Async Blocking API: One significant drawback is that js localStorage operates as a non-async blocking API. This means that any operations performed on localStorage can potentially block the main thread, leading to slower application performance and a less responsive user experience.
-
Limited Data Structure: Unlike more advanced databases, localStorage is limited to a simple key-value store. This restriction makes it unsuitable for storing complex data structures or managing relationships between data elements.
-
Stringification Overhead: Storing JSON data in localStorage requires stringifying the data before storage and parsing it when retrieved. This process introduces performance overhead, potentially slowing down operations by up to 10 times.
-
Lack of Indexing: localStorage lacks indexing capabilities, making it challenging to perform efficient searches or iterate over data based on specific criteria. This limitation can hinder applications that rely on complex data retrieval.
-
Tab Blocking: In a multi-tab environment, one tab's localStorage operations can impact the performance of other tabs by monopolizing CPU resources. You can reproduce this behavior by opening this test file in two browser windows and trigger localstorage inserts in one of them. You will observe that the indication spinner will stuck in both windows.
-
Storage Limit: Browsers typically impose a storage limit of around 5 MiB for each origin's localStorage.
Contrary to concerns about performance, the localStorage API in JavaScript is surprisingly fast when compared to alternative storage solutions like IndexedDB or OPFS. It excels in handling small key-value assignments efficiently. Due to its simplicity and direct integration with browsers, accessing and modifying localStorage data incur minimal overhead. For scenarios where quick and straightforward data storage is required, localStorage remains a viable option. For example RxDB uses localStorage in the localStorage meta optimizer to manage simple key values pairs while storing the "normal" documents inside of another storage like IndexedDB.
While localStorage offers convenience, it may not be suitable for every use case. Consider the following situations where alternatives might be more appropriate:
-
-
Data Must Be Queryable: If your application relies heavily on querying data based on specific criteria, localStorage might not provide the necessary querying capabilities. Complex data retrieval might lead to inefficient code and slow performance.
-
Big JSON Documents: Storing large JSON documents in localStorage can consume a significant amount of memory and degrade performance. It's essential to assess the size of the data you intend to store and consider more robust solutions for handling substantial datasets.
-
Many Read/Write Operations: Excessive read and write operations on localStorage can lead to performance bottlenecks. Other storage solutions might offer better performance and scalability for applications that require frequent data manipulation.
-
Lack of Persistence: If your application can function without persistent data across sessions, consider using in-memory data structures like new Map() or new Set(). These options offer speed and efficiency for transient data.
-
-
What to use instead of the localStorage API in JavaScript
While localStorage serves as a reliable storage solution for simpler data needs, it's essential to explore alternatives like IndexedDB when dealing with more complex requirements. IndexedDB is designed to store not only key-value pairs but also JSON documents. Unlike localStorage, which usually has a storage limit of around 5-10MB per domain, IndexedDB can handle significantly larger datasets. IndexDB with its support for indexing facilitates efficient querying, making range queries possible. However, it's worth noting that IndexedDB lacks observability, which is a feature unique to localStorage through the storage event. Also,
-complex queries can pose a challenge with IndexedDB, and while its performance is acceptable, IndexedDB can be too slow for some use cases.
-
// localStorage can observe changes with the storage event.
-// This feature is missing in IndexedDB
-addEventListener("storage", (event) => {});
-
For those looking to harness the full power of IndexedDB with added capabilities, using wrapper libraries like RxDB is recommended. These libraries augment IndexedDB with features such as complex queries and observability, enhancing its usability for modern applications by providing a real database instead of only a key-value store.
-
-
In summary when you compare IndexedDB vs localStorage, IndexedDB will win at any case where much data is handled while localStorage has better performance on small key-value datasets.
Another intriguing option is the OPFS (File System API). This API provides direct access to an origin-based, sandboxed filesystem which is highly optimized for performance and offers in-place write access to its content.
-OPFS offers impressive performance benefits. However, working with the OPFS API can be complex, and it's only accessible within a WebWorker. To simplify its usage and extend its capabilities, consider using a wrapper library like RxDB's OPFS RxStorage, which builds a comprehensive database on top of the OPFS API. This abstraction allows you to harness the power of the OPFS API without the intricacies of direct usage.
Cookies, once a primary method of client-side data storage, have fallen out of favor in modern web development due to their limitations. While they can store data, they are about 100 times slower when compared to the localStorage API. Additionally, cookies are included in the HTTP header, which can impact network performance. As a result, cookies are not recommended for data storage purposes in contemporary web applications.
WebSQL, despite offering a SQL-based interface for client-side data storage, is a deprecated technology and should be avoided. Its API has been phased out of modern browsers, and it lacks the robustness of alternatives like IndexedDB. Moreover, WebSQL tends to be around 10 times slower than IndexedDB, making it a suboptimal choice for applications that demand efficient data manipulation and retrieval.
In scenarios where data persistence beyond a session is unnecessary, developers often turn to sessionStorage. This storage mechanism retains data only for the duration of a tab or browser session. It survives page reloads and restores, providing a handy solution for temporary data needs. However, it's important to note that sessionStorage is limited in scope and may not suit all use cases.
For React Native developers, the AsyncStorage API is the go-to solution, mirroring the behavior of localStorage but with asynchronous support. Since not all JavaScript runtimes support localStorage, AsyncStorage offers a seamless alternative for data persistence in React Native applications.
Because native localStorage is absent in the Node.js JavaScript runtime, you will get the error ReferenceError: localStorage is not defined in Node.js or node based runtimes like Next.js. The node-localstorage npm package bridges the gap. This package replicates the browser's localStorage API within the Node.js environment, ensuring consistent and compatible data storage capabilities.
While browser extensions for chrome and firefox support the localStorage API, it is not recommended to use it in that context to store extension-related data. The browser will clear the data in many scenarios like when the users clear their browsing history.
-
Instead the Extension Storage API should be used for browser extensions.
-In contrast to localStorage, the storage API works async and all operations return a Promise. Also it provides automatic sync to replicate data between all instances of that browser that the user is logged into. The storage API is even able to storage JSON-ifiable objects instead of plain strings.
-
// Using the storage API in chrome
-
-await chrome.storage.local.set({ foobar: {nr: 1} });
-
-const result = await chrome.storage.local.get('foobar');
-console.log(result.foobar); // {nr: 1}
The Deno JavaScript runtime has a working localStorage API so running localStorage.setItem() and the other methods, will just work and the locally stored data is persisted across multiple runs.
-
Bun does not support the localStorage JavaScript API. Trying to use localStorage will error with ReferenceError: Can't find variable: localStorage. To store data locally in Bun, you could use the bun:sqlite module instead or directly use a in-JavaScript database with Bun support like RxDB.
In the world of modern web development, localStorage serves as a valuable tool for lightweight data storage. Its simplicity and speed make it an excellent choice for small key-value assignments. However, as application complexity grows, developers must assess their storage needs carefully. For scenarios that demand advanced querying, complex data structures, or high-volume operations, alternatives like IndexedDB, wrapper libraries with additional features like RxDB, or platform-specific APIs offer more robust solutions. By understanding the strengths and limitations of various storage options, developers can make informed decisions that pave the way for efficient and scalable applications.
-
-
\ No newline at end of file
diff --git a/docs/articles/localstorage.md b/docs/articles/localstorage.md
deleted file mode 100644
index faa3a99ac6f..00000000000
--- a/docs/articles/localstorage.md
+++ /dev/null
@@ -1,153 +0,0 @@
-# Using localStorage in Modern Applications - A Comprehensive Guide
-
-> This guide explores localStorage in JavaScript web apps, detailing its usage, limitations, and alternatives like IndexedDB and AsyncStorage.
-
-# Using localStorage in Modern Applications: A Comprehensive Guide
-
-When it comes to client-side storage in web applications, the localStorage API stands out as a simple and widely supported solution. It allows developers to store key-value pairs directly in a user's browser. In this article, we will explore the various aspects of the localStorage API, its advantages, limitations, and alternative storage options available for modern applications.
-
-
-
-
-
-
-
-## What is the localStorage API?
-
-The localStorage API is a built-in feature of web browsers that enables web developers to store small amounts of data persistently on a user's device. It operates on a simple key-value basis, allowing developers to save strings, numbers, and other simple data types. This data remains available even after the user closes the browser or navigates away from the page. The API provides a convenient way to maintain state and store user preferences without relying on server-side storage.
-
-## Exploring local storage Methods: A Practical Example
-
-Let's dive into some hands-on code examples to better understand how to leverage the power of localStorage. The API offers several methods for interaction, including setItem, getItem, removeItem, and clear. Consider the following code snippet:
-
-```js
-// Storing data using setItem
-localStorage.setItem('username', 'john_doe');
-
-// Retrieving data using getItem
-const storedUsername = localStorage.getItem('username');
-
-// Removing data using removeItem
-localStorage.removeItem('username');
-
-// Clearing all data
-localStorage.clear();
-```
-
-## Storing Complex Data in JavaScript with JSON Serialization
-
-While js localStorage excels at handling simple key-value pairs, it also supports more intricate data storage through JSON serialization. By utilizing JSON.stringify and JSON.parse, you can store and retrieve structured data like objects and arrays. Here's an example of storing a document:
-
-```js
-const user = {
- name: 'Alice',
- age: 30,
- email: 'alice@example.com'
-};
-
-// Storing a user object
-localStorage.setItem('user', JSON.stringify(user));
-
-// Retrieving and parsing the user object
-const storedUser = JSON.parse(localStorage.getItem('user'));
-```
-
-## Understanding the Limitations of local storage
-
-Despite its convenience, localStorage does come with a set of limitations that developers should be aware of:
-
-- **Non-Async Blocking API**: One significant drawback is that js localStorage operates as a non-async blocking API. This means that any operations performed on localStorage can potentially block the main thread, leading to slower application performance and a less responsive user experience.
-- **Limited Data Structure**: Unlike more advanced databases, localStorage is limited to a simple key-value store. This restriction makes it unsuitable for storing complex data structures or managing relationships between data elements.
-- **Stringification Overhead**: Storing [JSON data](./json-based-database.md) in localStorage requires stringifying the data before storage and parsing it when retrieved. This process introduces performance overhead, potentially slowing down operations by up to 10 times.
-- **Lack of Indexing**: localStorage lacks indexing capabilities, making it challenging to perform efficient searches or iterate over data based on specific criteria. This limitation can hinder applications that rely on complex data retrieval.
-- **Tab Blocking**: In a multi-tab environment, one tab's localStorage operations can impact the performance of other tabs by monopolizing CPU resources. You can reproduce this behavior by opening [this test file](https://pubkey.github.io/client-side-databases/database-comparison/index.html) in two browser windows and trigger localstorage inserts in one of them. You will observe that the indication spinner will stuck in both windows.
-- **Storage Limit**: Browsers typically impose a storage limit of [around 5 MiB](https://developer.mozilla.org/en-US/docs/Web/API/Storage_API/Storage_quotas_and_eviction_criteria#web_storage) for each origin's localStorage.
-
-## Reasons to Still Use localStorage
-
-### Is localStorage Slow?
-
-Contrary to concerns about performance, the localStorage API in JavaScript is surprisingly fast when compared to alternative storage solutions like [IndexedDB or OPFS](./localstorage-indexeddb-cookies-opfs-sqlite-wasm.md). It excels in handling small key-value assignments efficiently. Due to its simplicity and direct integration with browsers, accessing and modifying localStorage data incur minimal overhead. For scenarios where quick and straightforward data storage is required, localStorage remains a viable option. For example RxDB uses localStorage in the [localStorage meta optimizer](../rx-storage-localstorage-meta-optimizer.md) to manage simple key values pairs while storing the "normal" documents inside of another storage like IndexedDB.
-
-## When Not to Use localStorage
-
-While localStorage offers convenience, it may not be suitable for every use case. Consider the following situations where alternatives might be more appropriate:
-
-- **Data Must Be Queryable**: If your application relies heavily on querying data based on specific criteria, localStorage might not provide the necessary querying capabilities. Complex data retrieval might lead to inefficient code and slow performance.
-- **Big JSON Documents**: Storing large JSON documents in localStorage can consume a significant amount of memory and degrade performance. It's essential to assess the size of the data you intend to store and consider more robust solutions for handling substantial datasets.
-- **Many Read/Write Operations**: Excessive read and write operations on localStorage can lead to performance bottlenecks. Other storage solutions might offer better performance and scalability for applications that require frequent data manipulation.
-- **Lack of Persistence**: If your application can function without persistent data across sessions, consider using in-memory data structures like `new Map()` or `new Set()`. These options offer speed and efficiency for transient data.
-
-## What to use instead of the localStorage API in JavaScript
-
-### localStorage vs IndexedDB
-
-While **localStorage** serves as a reliable storage solution for simpler data needs, it's essential to explore alternatives like **IndexedDB** when dealing with more complex requirements. **IndexedDB** is designed to store not only key-value pairs but also JSON documents. Unlike localStorage, which usually has a storage limit of around 5-10MB per domain, IndexedDB can handle significantly larger datasets. IndexDB with its support for indexing facilitates efficient querying, making range queries possible. However, it's worth noting that IndexedDB lacks observability, which is a feature unique to localStorage through the `storage` event. Also,
-complex queries can pose a challenge with IndexedDB, and while its performance is acceptable, IndexedDB can be [too slow](../slow-indexeddb.md) for some use cases.
-
-```js
-// localStorage can observe changes with the storage event.
-// This feature is missing in IndexedDB
-addEventListener("storage", (event) => {});
-```
-
-For those looking to harness the full power of IndexedDB with added capabilities, using wrapper libraries like [RxDB](https://rxdb.info/) is recommended. These libraries augment IndexedDB with features such as complex queries and observability, enhancing its usability for modern applications by providing a real database instead of only a key-value store.
-
-
-
-
-
-
-
-In summary when you compare IndexedDB vs localStorage, IndexedDB will win at any case where much data is handled while localStorage has better performance on small key-value datasets.
-
-### File System API (OPFS)
-Another intriguing option is the OPFS (File System API). This API provides direct access to an origin-based, sandboxed filesystem which is highly optimized for performance and offers in-place write access to its content.
-OPFS offers impressive performance benefits. However, working with the OPFS API can be complex, and it's only accessible within a **WebWorker**. To simplify its usage and extend its capabilities, consider using a wrapper library like [RxDB's OPFS RxStorage](../rx-storage-opfs.md), which builds a comprehensive database on top of the OPFS API. This abstraction allows you to harness the power of the OPFS API without the intricacies of direct usage.
-
-### localStorage vs Cookies
-Cookies, once a primary method of client-side data storage, have fallen out of favor in modern web development due to their limitations. While they can store data, they are about **100 times slower** when compared to the localStorage API. Additionally, cookies are included in the HTTP header, which can impact network performance. As a result, cookies are not recommended for data storage purposes in contemporary web applications.
-
-### localStorage vs WebSQL
-WebSQL, despite offering a SQL-based interface for client-side data storage, is a **deprecated technology** and should be avoided. Its API has been phased out of modern browsers, and it lacks the robustness of alternatives like IndexedDB. Moreover, WebSQL tends to be around 10 times slower than IndexedDB, making it a suboptimal choice for applications that demand efficient data manipulation and retrieval.
-
-### localStorage vs sessionStorage
-In scenarios where data persistence beyond a session is unnecessary, developers often turn to sessionStorage. This storage mechanism retains data only for the duration of a tab or browser session. It survives page reloads and restores, providing a handy solution for temporary data needs. However, it's important to note that sessionStorage is limited in scope and may not suit all use cases.
-
-### AsyncStorage for React Native
-For React Native developers, the [AsyncStorage API](https://reactnative.dev/docs/asyncstorage) is the go-to solution, mirroring the behavior of localStorage but with asynchronous support. Since not all JavaScript runtimes support localStorage, AsyncStorage offers a seamless alternative for data persistence in React Native applications.
-
-### `node-localstorage` for Node.js
-
-Because native localStorage is absent in the **Node.js** JavaScript runtime, you will get the error `ReferenceError: localStorage is not defined` in Node.js or node based runtimes like Next.js. The [node-localstorage npm package](https://github.com/lmaccherone/node-localstorage) bridges the gap. This package replicates the browser's localStorage API within the Node.js environment, ensuring consistent and compatible data storage capabilities.
-
-## localStorage in browser extensions
-
-While browser extensions for chrome and firefox support the localStorage API, it is not recommended to use it in that context to store extension-related data. The browser will clear the data in many scenarios like when the users clear their browsing history.
-
-Instead the [Extension Storage API](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/storage#properties) should be used for browser extensions.
-In contrast to localStorage, the storage API works `async` and all operations return a Promise. Also it provides automatic sync to replicate data between all instances of that browser that the user is logged into. The storage API is even able to storage JSON-ifiable objects instead of plain strings.
-
-```ts
-// Using the storage API in chrome
-
-await chrome.storage.local.set({ foobar: {nr: 1} });
-
-const result = await chrome.storage.local.get('foobar');
-console.log(result.foobar); // {nr: 1}
-```
-
-## localStorage in Deno and Bun
-
-The **Deno** JavaScript runtime has a working localStorage API so running `localStorage.setItem()` and the other methods, will just work and the locally stored data is persisted across multiple runs.
-
-**Bun** does not support the localStorage JavaScript API. Trying to use `localStorage` will error with `ReferenceError: Can't find variable: localStorage`. To store data locally in Bun, you could use the `bun:sqlite` module instead or directly use a in-JavaScript database with Bun support like [RxDB](https://rxdb.info/).
-
-## Conclusion: Choosing the Right Storage Solution
-In the world of modern web development, **localStorage** serves as a valuable tool for lightweight data storage. Its simplicity and speed make it an excellent choice for small key-value assignments. However, as application complexity grows, developers must assess their storage needs carefully. For scenarios that demand advanced querying, complex data structures, or high-volume operations, alternatives like IndexedDB, wrapper libraries with additional features like [RxDB](../), or platform-specific APIs offer more robust solutions. By understanding the strengths and limitations of various storage options, developers can make informed decisions that pave the way for efficient and scalable applications.
-
-## Follow up
-
-- Learn how to store and query data with RxDB in the [RxDB Quickstart](../quickstart.md)
-- [Why IndexedDB is slow and how to fix it](../slow-indexeddb.md)
-- [RxStorage performance comparison](../rx-storage-performance.md)
diff --git a/docs/articles/mobile-database.html b/docs/articles/mobile-database.html
deleted file mode 100644
index ee021606f54..00000000000
--- a/docs/articles/mobile-database.html
+++ /dev/null
@@ -1,81 +0,0 @@
-
-
-
-
-
-Real-Time & Offline - RxDB for Mobile Apps | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Mobile Database - RxDB as Database for Mobile Applications
-
In today's digital landscape, mobile applications have become an integral part of our lives. From social media platforms to e-commerce solutions, mobile apps have transformed the way we interact with digital services. At the heart of any mobile app lies the database, a critical component responsible for storing, retrieving, and managing data efficiently. In this article, we will delve into the world of mobile databases, exploring their significance, challenges, and the emergence of RxDB as a powerful database solution for hybrid app development in frameworks like React Native and Capacitor.
Mobile databases are specialized software systems designed to handle data storage and management for mobile applications. These databases are optimized for the unique requirements of mobile environments, which often include limited device resources, fluctuations in network connectivity, and the need for offline functionality.
-
There are various types of mobile databases available, each with its own strengths and use cases. Local databases, such as SQLite and Realm, reside directly on the user's device, providing offline capabilities and faster data access. Cloud-based databases, like Firebase Realtime Database and Amazon DynamoDB, rely on remote servers to store and retrieve data, enabling synchronization across multiple devices. Hybrid databases, as the name suggests, combine the benefits of both local and cloud-based approaches, offering a balance between offline functionality and data synchronization.
-
Introducing RxDB: A Paradigm Shift in Mobile Database Solutions
-
-
RxDB, also known as Reactive Database, has emerged as a game-changer in the realm of mobile databases. Built on top of popular web technologies like JavaScript, TypeScript, and RxJS (Reactive Extensions for JavaScript), RxDB provides an elegant solution for seamless offline-first capabilities and real-time data synchronization in mobile applications.
-
Benefits of RxDB for Hybrid App Development
-
-
-
Offline-First Approach: One of the major advantages of RxDB is its ability to work in an offline mode. It allows mobile applications to store and access data locally, ensuring uninterrupted functionality even when the network connection is weak or unavailable. The database automatically syncs the data with the server once the connection is reestablished, guaranteeing data consistency.
-
-
-
Real-Time Data Synchronization: RxDB leverages the power of real-time data synchronization, making it an excellent choice for applications that require collaborative features or live updates. It uses the concept of change streams to detect modifications made to the database and instantly propagates those changes across connected devices. This real-time synchronization enables seamless collaboration and enhances user experience.
-
-
-
Reactive Programming Paradigm: RxDB embraces the principles of reactive programming, which simplifies the development process by handling asynchronous events and data streams. By leveraging RxJS observables, developers can write concise, declarative code that reacts to changes in data, ensuring a highly responsive user experience. The reactive programming paradigm enhances code maintainability, scalability, and testability.
-
-
-
Easy Integration with Hybrid App Frameworks: RxDB seamlessly integrates with popular hybrid app development frameworks like React Native and Capacitor. This compatibility allows developers to leverage the existing ecosystem and tools of these frameworks, making the transition to RxDB smoother and more efficient. By utilizing RxDB within these frameworks, developers can harness the power of a robust database solution without sacrificing the advantages of hybrid app development.
-
-
-
Cross-Platform Support: RxDB enables developers to build cross-platform mobile applications that run seamlessly on both iOS and Android devices. This versatility eliminates the need for separate database implementations for different platforms, saving development time and effort. With RxDB, developers can focus on building a unified codebase and delivering a consistent user experience across platforms.
Offline-First Applications: RxDB is an ideal choice for applications that heavily rely on offline functionality. Whether it's a note-taking app, a task manager, or a survey application, RxDB ensures that users can continue working even when connectivity is compromised. The seamless synchronization capabilities of RxDB ensure that changes made offline are automatically propagated once the device reconnects to the internet.
-
-
-
Real-Time Collaboration: Applications that require real-time collaboration, such as messaging platforms or collaborative editing tools, can greatly benefit from RxDB. The real-time synchronization capabilities enable multiple users to work on the same data simultaneously, ensuring that everyone sees the latest updates in real-time.
-
-
-
Data-Intensive Applications: RxDB's performance and scalability make it suitable for data-intensive applications that handle large datasets or complex data structures. Whether it's a media-rich app, a data visualization tool, or an analytics platform, RxDB can handle the heavy lifting and provide a smooth user experience.
-
-
-
Cross-Platform Applications: Hybrid app frameworks like React Native and Capacitor have gained popularity due to their ability to build cross-platform applications. By utilizing RxDB within these frameworks, developers can create a unified codebase that runs seamlessly on both iOS and Android, significantly reducing development time and effort.
Mobile databases play a vital role in the performance and functionality of mobile applications. RxDB, with its offline-first approach, real-time data synchronization, and seamless integration with hybrid app development frameworks like React Native and Capacitor, offers a robust solution for managing data in mobile apps. By leveraging the power of reactive programming, RxDB empowers developers to build highly responsive, scalable, and cross-platform applications that deliver an exceptional user experience. With its versatility and ease of use, RxDB is undoubtedly a database solution worth considering for hybrid app development. Embrace the power of RxDB and unlock the full potential of your mobile applications.
-
-
\ No newline at end of file
diff --git a/docs/articles/mobile-database.md b/docs/articles/mobile-database.md
deleted file mode 100644
index 9dc61869a9e..00000000000
--- a/docs/articles/mobile-database.md
+++ /dev/null
@@ -1,49 +0,0 @@
-# Real-Time & Offline - RxDB for Mobile Apps
-
-> Explore RxDB as your reliable mobile database. Enjoy offline-first capabilities, real-time sync, and seamless integration for hybrid app development.
-
-# Mobile Database - RxDB as Database for Mobile Applications
-
-In today's digital landscape, mobile applications have become an integral part of our lives. From social media platforms to e-commerce solutions, mobile apps have transformed the way we interact with digital services. At the heart of any mobile app lies the database, a critical component responsible for storing, retrieving, and managing data efficiently. In this article, we will delve into the world of mobile databases, exploring their significance, challenges, and the emergence of [RxDB](https://rxdb.info/) as a powerful database solution for hybrid app development in frameworks like React Native and Capacitor.
-
-## Understanding Mobile Databases
-
-Mobile databases are specialized software systems designed to handle data storage and management for mobile applications. These databases are optimized for the unique requirements of mobile environments, which often include limited device resources, fluctuations in network connectivity, and the need for offline functionality.
-
-There are various types of mobile databases available, each with its own strengths and use cases. Local databases, such as SQLite and Realm, reside directly on the user's device, providing offline capabilities and faster data access. Cloud-based databases, like [Firebase Realtime Database](./realtime-database.md) and Amazon DynamoDB, rely on remote servers to store and retrieve data, enabling synchronization across multiple devices. Hybrid databases, as the name suggests, combine the benefits of both local and cloud-based approaches, offering a balance between offline functionality and data synchronization.
-
-## Introducing RxDB: A Paradigm Shift in Mobile Database Solutions
-
-
-
-
-
-
-
-[RxDB](https://rxdb.info/), also known as Reactive Database, has emerged as a game-changer in the realm of mobile databases. Built on top of popular web technologies like JavaScript, TypeScript, and RxJS (Reactive Extensions for JavaScript), RxDB provides an elegant solution for seamless offline-first capabilities and real-time data synchronization in mobile applications.
-
-Benefits of RxDB for Hybrid App Development
-
-1. Offline-First Approach: One of the major advantages of RxDB is its ability to work in an offline mode. It allows mobile applications to store and access data locally, ensuring uninterrupted functionality even when the network connection is weak or unavailable. The database automatically syncs the data with the server once the connection is reestablished, guaranteeing data consistency.
-
-2. [Real-Time Data Synchronization](../replication.md): RxDB leverages the power of real-time data synchronization, making it an excellent choice for applications that require collaborative features or live updates. It uses the concept of change streams to detect modifications made to the database and instantly propagates those changes across connected devices. This real-time synchronization enables seamless collaboration and enhances user experience.
-
-3. Reactive Programming Paradigm: RxDB embraces the principles of reactive programming, which simplifies the development process by handling asynchronous events and data streams. By leveraging RxJS observables, developers can write concise, declarative code that reacts to changes in data, ensuring a highly responsive user experience. The reactive programming paradigm enhances code maintainability, scalability, and testability.
-
-4. Easy Integration with Hybrid App Frameworks: RxDB seamlessly integrates with popular hybrid app development frameworks like [React Native](../react-native-database.md) and [Capacitor](../capacitor-database.md). This compatibility allows developers to leverage the existing ecosystem and tools of these frameworks, making the transition to RxDB smoother and more efficient. By utilizing RxDB within these frameworks, developers can harness the power of a robust database solution without sacrificing the advantages of hybrid app development.
-
-5. Cross-Platform Support: RxDB enables developers to build cross-platform mobile applications that run seamlessly on both iOS and Android devices. This versatility eliminates the need for separate database implementations for different platforms, saving development time and effort. With RxDB, developers can focus on building a unified codebase and delivering a consistent user experience across platforms.
-
-## Use Cases for RxDB in Hybrid App Development
-
-1. [Offline-First Applications](../offline-first.md): [RxDB](https://rxdb.info/) is an ideal choice for applications that heavily rely on offline functionality. Whether it's a note-taking app, a task manager, or a survey application, RxDB ensures that users can continue working even when connectivity is compromised. The seamless synchronization capabilities of RxDB ensure that changes made offline are automatically propagated once the device reconnects to the internet.
-
-2. Real-Time Collaboration: Applications that require real-time collaboration, such as messaging platforms or collaborative editing tools, can greatly benefit from RxDB. The real-time synchronization capabilities enable multiple users to work on the same data simultaneously, ensuring that everyone sees the latest updates in real-time.
-
-3. Data-Intensive Applications: RxDB's performance and scalability make it suitable for data-intensive applications that handle large datasets or complex data structures. Whether it's a media-rich app, a data visualization tool, or an analytics platform, RxDB can handle the heavy lifting and provide a smooth user experience.
-
-4. Cross-Platform Applications: Hybrid app frameworks like React Native and Capacitor have gained popularity due to their ability to build cross-platform applications. By utilizing RxDB within these frameworks, developers can create a unified codebase that runs seamlessly on both iOS and Android, significantly reducing development time and effort.
-
-## Conclusion
-
-Mobile databases play a vital role in the performance and functionality of mobile applications. RxDB, with its offline-first approach, real-time data synchronization, and seamless integration with hybrid app development frameworks like React Native and Capacitor, offers a robust solution for managing data in mobile apps. By leveraging the power of reactive programming, RxDB empowers developers to build highly responsive, scalable, and cross-platform applications that deliver an exceptional user experience. With its versatility and ease of use, RxDB is undoubtedly a database solution worth considering for hybrid app development. Embrace the power of RxDB and unlock the full potential of your mobile applications.
diff --git a/docs/articles/offline-database.html b/docs/articles/offline-database.html
deleted file mode 100644
index 5e39c99b5bf..00000000000
--- a/docs/articles/offline-database.html
+++ /dev/null
@@ -1,210 +0,0 @@
-
-
-
-
-
-RxDB – The Ultimate Offline Database with Sync and Encryption | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
RxDB – The Ultimate Offline Database with Sync and Encryption
-
When building modern applications, a reliable offline database can make all the difference. Users need fast, uninterrupted access to data, even without an internet connection, and they need that data to stay secure. RxDB meets these requirements by providing a local-first architecture, real-time sync to any backend, and optional encryption for sensitive fields.
-
In this article, we'll cover:
-
-
Why an offline database approach significantly improves user experience
Offline-first or local-first software stores data directly on the client device. This strategy isn’t just about surviving network outages; it also makes your application faster, more user-friendly, and better at handling multiple usage scenarios.
Applications that call remote servers for every request inevitably show loading spinners. With an offline database, read and write operations happen locally—providing near-instant feedback. Users no longer stare at progress indicators or wait for server responses, resulting in a smoother and more fluid experience.
Many websites mishandle data across multiple browser tabs. In an offline database, all tabs share the same local datastore. If the user updates data in one tab (like completing a to-do item), changes instantly reflect in every other tab. This removes complex multi-window synchronization problems.
Apps that rely on a purely server-driven approach often show stale data unless they add a separate real-time push system (like websockets). Local-first solutions with built-in replication essentially get real-time updates “for free.” Once the server sends any changes, your local offline database updates—keeping your UI live and accurate.
In a traditional app, every interaction triggers a request to the server, scaling up resource usage quickly as traffic grows. Offline-first setups replicate data to the client once, and subsequent local reads or writes do not stress the backend. Your server usage grows with the amount of data—rather than every user action—leading to more efficient scaling.
-
5. Simpler Development: Fewer Endpoints, No Extra State Library
-
Typical apps require numerous REST endpoints and possibly a client-side state manager (like Redux) to handle data flow. If you adopt an offline database, you can replicate nearly everything to the client. The local DB becomes your single source of truth, and you may skip advanced state libraries altogether.
-
-
Introducing RxDB – A Powerful Offline Database Solution
-
RxDB (Reactive Database) is a NoSQL JavaScript database that lives entirely in your client environment. It’s optimized for:
Below is a short demo of how to create an RxDB database, add a collection, and observe a query. You can expand upon this to enable encryption or full sync.
Now the tasks collection is ready to store data offline. You could also replicate it to a backend, encrypt certain fields, or utilize more advanced features like conflict resolution.
RxDB uses a Sync Engine that pushes local changes to the server and pulls remote updates back down. This ensures local data is always fresh and that the server has the latest offline edits once the device reconnects.
-
Multiple Plugins exist to handle various backends or replication methods:
You pick the plugin that fits your stack, and RxDB handles everything from conflict detection to event emission, allowing you to focus on building your user-facing features.
-
import { replicateRxCollection } from 'rxdb/plugins/replication';
-
-replicateRxCollection({
- collection: db.tasks,
- replicationIdentifier: 'tasks-sync',
- pull: { /* fetch updates from server */ },
- push: { /* send local writes to server */ },
- live: true // keep them in sync constantly
-});
import { createRxDatabase } from 'rxdb/plugins/core';
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-import { wrappedKeyEncryptionCryptoJsStorage } from 'rxdb/plugins/encryption-crypto-js';
-
-async function initSecureDB() {
- // Wrap the storage with crypto-js encryption
- const encryptedStorage = wrappedKeyEncryptionCryptoJsStorage({
- storage: getRxStorageLocalstorage()
- });
-
- // Create database with a password
- const db = await createRxDatabase({
- name: 'secureOfflineDB',
- storage: encryptedStorage,
- password: 'myTopSecretPassword'
- });
-
- // Define an encrypted collection
- await db.addCollections({
- userSecrets: {
- schema: {
- title: 'encrypted user data',
- version: 0,
- type: 'object',
- primaryKey: 'id',
- properties: {
- id: { type: 'string' },
- secretData: { type: 'string' }
- },
- required: ['id'],
- encrypted: ['secretData'] // field is encrypted at rest
- }
- }
- });
-
- return db;
-}
-
When the device is off or the database file is extracted, secretData remains unreadable without the specified password. This ensures only authorized parties can access sensitive fields, even in offline scenarios.
Integrating an offline database approach into your app delivers near-instant interactions, true multi-tab data consistency, automatic real-time updates, and reduced server dependencies. By choosing RxDB, you gain:
-
-
Offline-first local storage
-
Flexible replication to various backends
-
Encryption of sensitive fields
-
Reactive queries for real-time UI updates
-
-
RxDB transforms how you build and scale apps—no more loading spinners, no more stale data, no more complicated offline handling. Everything is local, synced, and secured.
-
Continue your learning path:
-
-
-
Explore the RxDB Ecosystem
-Dive into additional features like Compression or advanced Conflict Handling to optimize your offline database.
-
-
-
Learn More About Offline-First
-Read our Offline First documentation for a deeper understanding of why local-first architectures improve user experience and reduce server load.
-
-
-
Join the Community
-Have questions or feedback? Connect with us on the RxDB Chat or open an issue on GitHub.
By adopting an offline database approach with RxDB, you unlock speed, reliability, and security for your applications—leading to a truly seamless user experience.
-
-
\ No newline at end of file
diff --git a/docs/articles/offline-database.md b/docs/articles/offline-database.md
deleted file mode 100644
index ae81f0111b6..00000000000
--- a/docs/articles/offline-database.md
+++ /dev/null
@@ -1,208 +0,0 @@
-# RxDB – The Ultimate Offline Database with Sync and Encryption
-
-> Discover how RxDB serves as a powerful offline database, offering real-time synchronization, secure encryption, and an offline-first approach for modern web and mobile apps.
-
-# RxDB – The Ultimate Offline Database with Sync and Encryption
-
-When building modern applications, a reliable **offline database** can make all the difference. Users need fast, uninterrupted access to data, even without an internet connection, and they need that data to stay secure. **RxDB** meets these requirements by providing a **local-first** architecture, **real-time sync** to any backend, and optional **encryption** for sensitive fields.
-
-In this article, we'll cover:
-- Why an **offline database** approach significantly improves user experience
-- How RxDB’s **sync** and **encryption** features work
-- Step-by-step guidance on getting started
-
----
-
-## Why Choose an Offline Database?
-
-[Offline-first](../offline-first.md) or **local-first** software stores data directly on the client device. This strategy isn’t just about surviving network outages; it also makes your application faster, more user-friendly, and better at handling multiple usage scenarios.
-
-### 1. Zero Loading Spinners
-Applications that call remote servers for every request inevitably show loading spinners. With an offline database, read and write operations happen locally—providing near-instant feedback. Users no longer stare at progress indicators or wait for server responses, resulting in a smoother and more fluid experience.
-
-
-
-### 2. Multi-Tab Consistency
-Many websites mishandle data across multiple browser tabs. In an offline database, all tabs share the same local datastore. If the user updates data in one tab (like completing a to-do item), changes instantly reflect in every other tab. This removes complex multi-window synchronization problems.
-
-
-
-### 3. Real-Time Data Feeds
-Apps that rely on a purely server-driven approach often show stale data unless they add a separate real-time push system (like websockets). Local-first solutions with built-in replication essentially get real-time updates “for free.” Once the server sends any changes, your local offline database updates—keeping your UI live and accurate.
-
-### 4. Reduced Server Load
-In a traditional app, every interaction triggers a request to the server, scaling up resource usage quickly as traffic grows. Offline-first setups replicate data to the client once, and subsequent local reads or writes do not stress the backend. Your server usage grows with the amount of data—rather than every user action—leading to more efficient scaling.
-
-### 5. Simpler Development: Fewer Endpoints, No Extra State Library
-Typical apps require numerous REST endpoints and possibly a client-side state manager (like Redux) to handle data flow. If you adopt an offline database, you can replicate nearly everything to the client. The local DB becomes your single source of truth, and you may skip advanced state libraries altogether.
-
-
-
-
-
-
-
-## Introducing RxDB – A Powerful Offline Database Solution
-
-**RxDB (Reactive Database)** is a **NoSQL** JavaScript database that lives entirely in your client environment. It’s optimized for:
-
-- **Offline-first usage**
-- **Reactive queries** (your UI updates in real time)
-- **Flexible replication** with various backends
-- **Field-level encryption** to protect sensitive data
-
-You can run RxDB in:
-- **Browsers** ([IndexedDB](../rx-storage-indexeddb.md), [OPFS](../rx-storage-opfs.md))
-- **Mobile hybrid apps** ([Ionic](./ionic-database.md), [Capacitor](../capacitor-database.md))
-- **Native modules** ([React Native](../react-native-database.md))
-- **Desktop environments** ([Electron](../electron-database.md))
-- **Node.js** [Servers](../rx-server.md) or Scripts
-
-Wherever your JavaScript executes, RxDB can serve as a robust offline database.
-
----
-
-## Quick Setup Example
-
-Below is a short demo of how to create an RxDB [database](../rx-database.md), add a [collection](../rx-collection.md), and observe a [query](../rx-query.md). You can expand upon this to enable encryption or full sync.
-
-```ts
-import { createRxDatabase } from 'rxdb/plugins/core';
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-
-async function initDB() {
- // Create a local offline database
- const db = await createRxDatabase({
- name: 'myOfflineDB',
- storage: getRxStorageLocalstorage()
- });
-
- // Add collections
- await db.addCollections({
- tasks: {
- schema: {
- title: 'tasks schema',
- version: 0,
- type: 'object',
- primaryKey: 'id',
- properties: {
- id: { type: 'string' },
- title: { type: 'string' },
- done: { type: 'boolean' }
- }
- }
- }
- });
-
- // Observe changes in real time
- db.tasks
- .find({ selector: { done: false } })
- .$ // returns an observable that emits whenever the result set changes
- .subscribe(undoneTasks => {
- console.log('Currently undone tasks:', undoneTasks);
- });
-
- return db;
-}
-```
-
-Now the `tasks` collection is ready to store data offline. You could also [replicate](../replication.md) it to a backend, encrypt certain fields, or utilize more advanced features like conflict resolution.
-
-## How Offline Sync Works in RxDB
-
-RxDB uses a [Sync Engine](../replication.md) that pushes local changes to the server and pulls remote updates back down. This ensures local data is always fresh and that the server has the latest offline edits once the device reconnects.
-
-**Multiple Plugins** exist to handle various backends or replication methods:
-- [CouchDB](../replication-couchdb.md) or **PouchDB**
-- [Google Firestore](./firestore-alternative.md)
-- [GraphQL](../replication-graphql.md) endpoints
-- REST / [HTTP](../replication-http.md)
-- **WebSocket** or [WebRTC](../replication-webrtc.md) (for peer-to-peer sync)
-
-You pick the plugin that fits your stack, and RxDB handles everything from conflict detection to event emission, allowing you to focus on building your user-facing features.
-
-```ts
-import { replicateRxCollection } from 'rxdb/plugins/replication';
-
-replicateRxCollection({
- collection: db.tasks,
- replicationIdentifier: 'tasks-sync',
- pull: { /* fetch updates from server */ },
- push: { /* send local writes to server */ },
- live: true // keep them in sync constantly
-});
-```
-
-## Securing Your Offline Database with Encryption
-Local data can be a risk if it’s sensitive or personal. RxDB offers [encryption plugins](../encryption.md) to keep specific document fields secure at rest.
-
-#### Encryption Example
-
-```ts
-import { createRxDatabase } from 'rxdb/plugins/core';
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-import { wrappedKeyEncryptionCryptoJsStorage } from 'rxdb/plugins/encryption-crypto-js';
-
-async function initSecureDB() {
- // Wrap the storage with crypto-js encryption
- const encryptedStorage = wrappedKeyEncryptionCryptoJsStorage({
- storage: getRxStorageLocalstorage()
- });
-
- // Create database with a password
- const db = await createRxDatabase({
- name: 'secureOfflineDB',
- storage: encryptedStorage,
- password: 'myTopSecretPassword'
- });
-
- // Define an encrypted collection
- await db.addCollections({
- userSecrets: {
- schema: {
- title: 'encrypted user data',
- version: 0,
- type: 'object',
- primaryKey: 'id',
- properties: {
- id: { type: 'string' },
- secretData: { type: 'string' }
- },
- required: ['id'],
- encrypted: ['secretData'] // field is encrypted at rest
- }
- }
- });
-
- return db;
-}
-```
-
-When the device is off or the database file is extracted, `secretData` remains unreadable without the specified password. This ensures only authorized parties can access sensitive fields, even in offline scenarios.
-
-## Follow Up
-
-Integrating an offline database approach into your app delivers near-instant interactions, true multi-tab data consistency, automatic real-time updates, and reduced server dependencies. By choosing RxDB, you gain:
-
-- Offline-first local storage
-- Flexible replication to various backends
-- Encryption of sensitive fields
-- Reactive queries for real-time UI updates
-
-RxDB transforms how you build and scale apps—no more loading spinners, no more stale data, no more complicated offline handling. Everything is local, synced, and secured.
-
-Continue your learning path:
-
-- **Explore the RxDB Ecosystem**
- Dive into additional features like [Compression](../key-compression.md) or advanced [Conflict Handling](../transactions-conflicts-revisions.md#custom-conflict-handler) to optimize your offline database.
-
-- **Learn More About Offline-First**
- Read our [Offline First documentation](../offline-first.md) for a deeper understanding of why local-first architectures improve user experience and reduce server load.
-
-- **Join the Community**
- Have questions or feedback? Connect with us on the [RxDB Chat](/chat/) or open an issue on [GitHub](/code/).
-
-- **Upgrade to Premium**
- If you need high-performance features—like [SQLite storage](../rx-storage-sqlite.md) for mobile or the [Web Crypto-based encryption plugin](/premium/)—consider our premium offerings.
-
-By adopting an offline database approach with RxDB, you unlock speed, reliability, and security for your applications—leading to a truly seamless user experience.
diff --git a/docs/articles/optimistic-ui.html b/docs/articles/optimistic-ui.html
deleted file mode 100644
index bb5435cb7f2..00000000000
--- a/docs/articles/optimistic-ui.html
+++ /dev/null
@@ -1,203 +0,0 @@
-
-
-
-
-
-Building an Optimistic UI with RxDB | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
An Optimistic User Interface (UI) is a design pattern that provides instant feedback to the user by assuming that an operation or server call will succeed. Instead of showing loading spinners or waiting for server confirmations, the UI immediately reflects the user's intended action and later reconciles the displayed data with the actual server response. This approach drastically improves perceived performance and user satisfaction.
Optimistic UIs offer a host of advantages, from improving the user experience to streamlining the underlying infrastructure. Below are some key reasons why an optimistic approach can revolutionize your application's performance and scalability.
No loading spinners, near-zero latency: Users perceive their actions as instant. Any actual network delays or slow server operations can be handled behind the scenes.
-
Offline capability: Optimistic UI pairs perfectly with offline-first apps. Users can continue to interact with the application even when offline, and changes will be synced automatically once the network is available again.
Fewer server endpoints: Instead of sending a separate HTTP request for every single user interaction, you can batch updates and sync them in bulk.
-
Less server load: By handling changes locally and syncing in batches, you reduce the volume of server round-trips.
-
Automated error handling: If a request fails or a document is in conflict, RxDB's replication mechanism can seamlessly retry and resolve conflicts in the background, without requiring a separate endpoint or manual user intervention.
A local database is the heart of an Optimistic UI. With RxDB, all application state is stored locally, ensuring seamless and instant updates. You can choose from multiple storage backends based on your runtime - check out RxDB Storage Options to see which engines (IndexedDB, SQLite, or custom) suit your environment best.
-
-
-
Instant Writes: When users perform an action (like clicking a button or submitting a form), the changes are written directly to the local RxDB database. This immediate local write makes the UI feel snappy and removes the dependency on instantaneous server responses.
-
-
-
Offline-First: Because data is managed locally, your app continues to operate smoothly even without an internet connection. Users can view, create, and update data at any time, assured that changes will sync automatically once they're back online.
RxDB's core is built around observables that react to any state changes - whether from local writes or incoming replication from the server.
-
-
Automatic UI refresh: Any query or document subscription in RxDB automatically notifies your UI layer when data changes. There's no need to manually poll or refetch.
-
Cross-tab updates: If you have the same RxDB database open in multiple browser tabs, changes in one tab instantly propagate to the others.
-
-
-
-
Event-Reduce Algorithm: Under the hood, RxDB uses the event-reduce algorithm to minimize overhead. Instead of re-running expensive queries, RxDB calculates the smallest possible updates needed to keep query results accurate - further boosting real-time performance.
While local storage is key to an Optimistic UI, most applications ultimately need to sync with a remote back end. RxDB offers a powerful replication system that can sync your local data with virtually any server/database in the background:
-
-
Incremental and real-time: RxDB continuously pushes local changes to the server when a network is available and fetches server updates as they happen.
-
Conflict resolution: If changes happen offline or multiple clients update the same data, RxDB detects conflicts and makes it straightforward to resolve them.
-
Flexible transport: Beyond simple HTTP polling, you can incorporate WebSockets, Server-Sent Events (SSE), or other protocols for instant, server-confirmed changes broadcast to all connected clients. See this guide to learn more.
-
-
By combining local-first data handling with real-time synchronization, RxDB delivers most of what an Optimistic UI needs - right out of the box. The result is a seamless user experience where interactions never feel blocked by slow networks, and any conflicts or final validations are quietly handled in the background.
Offline-first approach: All writes are initially stored in the local database. When connectivity returns, RxDB's replication automatically pushes changes to the server.
-
Conflict resolution: If multiple clients edit the same documents while offline, conflicts are automatically detected and can be resolved gracefully (more on conflicts below).
For truly real-time communication - where server-confirmed changes instantly reach all clients - you can go beyond simple HTTP polling. Use WebSockets, Server-Sent Events (SSE), or other streaming protocols to broadcast updates the moment they occur. This pattern excels in scenarios like chats, collaborative editors, or dynamic dashboards.
-
To learn more about these protocols and their integration with RxDB, check out this guide.
In React, you can utilize signals or other state management tools. For instance, if we have an RxDB extension that exposes a signal:
-
import React from 'react';
-
-function MyComponent({ myCollection }) {
- // .find().$$ provides a signal that updates whenever data changes
- const docsSignal = myCollection.find().$$;
-
- return (
- <ul>
- {docs.map((doc) => (
- <li key={doc.id}>{doc.name}</li>
- ))}
- </ul>
- );
-}
-
-export default MyComponent;
-
When you call docsSignal.value or use a hook like useSignal, it pulls the latest value from the RxDB query. Whenever the collection updates, the signal emits the new data, and React re-renders the component instantly.
While Optimistic UIs feel snappy, there are some caveats:
-
-
-
Conflict Resolution:
-With an optimistic approach, multiple offline devices might edit the same data. When syncing back, conflicts occur that must be merged. RxDB uses revisions to detect and handle these conflicts.
-
-
-
User Confusion:
-Users may see changes that haven't yet been confirmed by the server. If a subsequent server validation fails, the UI must revert to a previous state. Clear visual feedback or user notifications help reduce confusion.
-
-
-
Server Compatibility:
-The server must be capable of storing and returning revision metadata (for instance, a timestamp or versioning system). Check out RxDB's replication docs for details on how to structure your back end.
-
-
-
Storage Limits:
-Storing data in the client has practical size limits. IndexedDB or other client-side storages have constraints (though usually quite large). See storage comparisons.
Last Write to Server Wins:
-A simplest-possible method: whatever update reaches the server last overrides previous data. Good for non-critical data like “like" counts or ephemeral states.
-
Revision-Based Merges:
-Use revision numbers or timestamps to track concurrent edits. Merge them intelligently by combining fields or choosing the latest sub-document changes. This is ideal for collaborative apps where you don't want to overwrite entire records.
-
User Prompts:
-In certain workflows (e.g., shipping forms, e-commerce checkout), you may need to notify the user about conflicts and let them choose which version to keep.
-
First Write to Server Wins (RxDB Default):
-RxDB's default approach is to let the first successful push define the latest version. Any incoming push with an outdated revision triggers a conflict that must be resolved on the client side. Learn more at here.
Real-time interactions like chat apps, social feeds, or “Likes."
-Situations where high success rates of operations are expected (most writes don't fail).
-
Apps that need an offline-first approach or handle intermittent connectivity gracefully.
-
-
-
-
When Not to Use
-
-
Large, complex transactions with high failure rates.
-
Scenarios requiring heavy server validations or approvals (for example, financial transactions with complex rules).
-
Workflows where immediate feedback could mislead users about an operation's success probability.
-
-
-
-
Assessing Risk
-
-
Consider the likelihood that a user's action might fail. If it's very low, optimistic UI is often best.
-
If frequent failures or complex validations occur, consider a hybrid approach: partial optimistic updates for some actions, while more critical operations rely on immediate server confirmation.
Ready to start building your own Optimistic UI with RxDB? Here are some next steps:
-
-
-
Do the RxDB Quickstart
-If you're brand new to RxDB, the quickstart guide will walk you through installation and setting up your first project.
-
-
-
Check Out the Demo App
-A live RxDB Quickstart Demo showcases optimistic updates and real-time syncing. Explore the code to see how it works.
-
-
-
Star the GitHub Repo
-Show your support for RxDB by starring the RxDB GitHub Repository.
-
-
-
By combining RxDB's powerful offline-first capabilities with the principles of an Optimistic UI, you can deliver snappy, near-instant user interactions that keep your users engaged - no matter the network conditions. Get started today and give your users the experience they deserve!
-
-
\ No newline at end of file
diff --git a/docs/articles/optimistic-ui.md b/docs/articles/optimistic-ui.md
deleted file mode 100644
index 68a3d0286f1..00000000000
--- a/docs/articles/optimistic-ui.md
+++ /dev/null
@@ -1,178 +0,0 @@
-# Building an Optimistic UI with RxDB
-
-> Learn how to build an Optimistic UI with RxDB for instant and reliable UI updates on user interactions
-
-# Building an Optimistic UI with RxDB
-
-An **Optimistic User Interface (UI)** is a design pattern that provides instant feedback to the user by **assuming** that an operation or server call will succeed. Instead of showing loading spinners or waiting for server confirmations, the UI immediately reflects the user's intended action and later reconciles the displayed data with the actual server response. This approach drastically improves perceived performance and user satisfaction.
-
-## Benefits of an Optimistic UI
-
-Optimistic UIs offer a host of advantages, from improving the user experience to streamlining the underlying infrastructure. Below are some key reasons why an optimistic approach can revolutionize your application's performance and scalability.
-
-### Better User Experience with Optimistic UI
-- **No loading spinners, [near-zero latency](./zero-latency-local-first.md)**: Users perceive their actions as instant. Any actual network delays or slow server operations can be handled behind the scenes.
-- **Offline capability**: Optimistic UI pairs perfectly with offline-first apps. Users can continue to interact with the application even when offline, and changes will be synced automatically once the network is available again.
-
-
-
-### Better Scaling and Easier to Implement
-- **Fewer server endpoints**: Instead of sending a separate HTTP request for every single user interaction, you can batch updates and sync them in bulk.
-- **Less server load**: By handling changes locally and syncing in batches, you reduce the volume of server round-trips.
-- **Automated error handling**: If a request fails or a document is in conflict, RxDB's [replication](../replication.md) mechanism can seamlessly retry and resolve conflicts in the background, without requiring a separate endpoint or manual user intervention.
-
-
-
-
-
-
-
-## Building Optimistic UI Apps with RxDB
-
-Now that we know what an optimistic UI is, lets build one with RxDB.
-
-### Local Database: The Backbone of an Optimistic UI
-
-A local database is the heart of an Optimistic UI. With RxDB, **all application state** is stored locally, ensuring seamless and instant updates. You can choose from multiple storage backends based on your runtime - check out [RxDB Storage Options](../rx-storage.md) to see which engines (IndexedDB, SQLite, or custom) suit your environment best.
-
-- **Instant Writes**: When users perform an action (like clicking a button or submitting a form), the changes are written directly to the local RxDB database. This immediate local write makes the UI feel snappy and removes the dependency on instantaneous server responses.
-
-- [Offline-First](../offline-first.md): Because data is managed locally, your app continues to operate smoothly even without an internet connection. Users can view, create, and update data at any time, assured that changes will sync automatically once they're back online.
-
-### Real-Time UI Changes on Updates
-
-RxDB's core is built around observables that react to any state changes - whether from local writes or incoming replication from the server.
-
-- **Automatic UI refresh**: Any query or document subscription in RxDB automatically notifies your UI layer when data changes. There's no need to manually poll or refetch.
-- **Cross-tab updates**: If you have the same RxDB database open in multiple [browser](./browser-database.md) tabs, changes in one tab instantly propagate to the others.
-
-
-
-- **Event-Reduce Algorithm**: Under the hood, RxDB uses the [event-reduce algorithm](https://github.com/pubkey/event-reduce) to minimize overhead. Instead of re-running expensive queries, RxDB calculates the smallest possible updates needed to keep query results accurate - further boosting real-time performance.
-
-### Replication with a Server
-
-While local storage is key to an Optimistic UI, most applications ultimately need to sync with a remote back end. RxDB offers a [powerful replication system](../replication.md) that can sync your local data with virtually any server/database in the background:
-- **Incremental and real-time**: RxDB continuously pushes local changes to the server when a network is available and fetches server updates as they happen.
-- **Conflict resolution**: If changes happen offline or multiple clients update the same data, RxDB detects conflicts and makes it straightforward to resolve them.
-- **Flexible transport**: Beyond simple HTTP polling, you can incorporate WebSockets, Server-Sent Events (SSE), or other protocols for instant, server-confirmed changes broadcast to all connected clients. See [this guide](./websockets-sse-polling-webrtc-webtransport.md) to learn more.
-
-By combining local-first data handling with real-time synchronization, RxDB delivers most of what an Optimistic UI needs - right out of the box. The result is a seamless user experience where interactions never feel blocked by slow networks, and any conflicts or final validations are quietly handled in the background.
-
-
-
-#### Handling Offline Changes and Conflicts
-- **Offline-first approach**: All writes are initially stored in the local database. When connectivity returns, RxDB's replication automatically pushes changes to the server.
-- **Conflict resolution**: If multiple clients edit the same documents while offline, conflicts are automatically detected and can be resolved gracefully (more on conflicts below).
-
-#### WebSockets, SSE, or Beyond
-
-For truly real-time communication - where server-confirmed changes instantly reach all clients - you can go beyond simple HTTP polling. Use WebSockets, Server-Sent Events (SSE), or other streaming protocols to broadcast updates the moment they occur. This pattern excels in scenarios like chats, collaborative editors, or dynamic dashboards.
-
-To learn more about these protocols and their integration with RxDB, check out [this guide](./websockets-sse-polling-webrtc-webtransport.md).
-
-## Optimistic UI in Various Frameworks
-
-### Angular Example
-
-
-
-
-[Angular](./angular-database.md)'s `async` pipe works smoothly with RxDB's observables. Suppose you have a `myCollection` of documents, you can directly subscribe in the template:
-
-```html
-
-
- {{ doc.name }}
-
-
-```
-This snippet:
-
-- Subscribes to `myCollection.find().$`, which emits live updates whenever [documents](../rx-document.md) in the [collection](../rx-collection.md) change.
-- Passes the emitted array of documents into docs.
-- Renders each document in a list item, instantly reflecting any changes.
-
-### React Example
-
-
-
-
-In [React](./react-database.md), you can utilize signals or other state management tools. For instance, if we have an [RxDB extension](../reactivity.md) that exposes a **signal**:
-
-```tsx
-import React from 'react';
-
-function MyComponent({ myCollection }) {
- // .find().$$ provides a signal that updates whenever data changes
- const docsSignal = myCollection.find().$$;
-
- return (
-
- {docs.map((doc) => (
- {doc.name}
- ))}
-
- );
-}
-
-export default MyComponent;
-```
-
-When you call `docsSignal.value` or use a hook like useSignal, it pulls the latest value from the [RxDB query](../rx-query.md). Whenever the collection updates, the signal emits the new data, and React re-renders the component instantly.
-
-## Downsides of Optimistic UI Apps
-
-While Optimistic UIs feel snappy, there are some caveats:
-
-- **Conflict Resolution**:
-With an optimistic approach, multiple offline devices might edit the same data. When syncing back, conflicts occur that must be merged. RxDB uses [revisions](../transactions-conflicts-revisions.md) to detect and handle these conflicts.
-
-- **User Confusion**:
-Users may see changes that haven't yet been confirmed by the server. If a subsequent server validation fails, the UI must revert to a previous state. Clear visual feedback or user notifications help reduce confusion.
-
-- **Server Compatibility**:
-The server must be capable of storing and returning revision metadata (for instance, a timestamp or versioning system). Check out RxDB's [replication docs](../replication.md) for details on how to structure your back end.
-
-- **Storage Limits**:
-Storing data in the client has practical [size limits](./indexeddb-max-storage-limit.md). [IndexedDB](../rx-storage-indexeddb.md) or other client-side storages have constraints (though usually quite large). See [storage comparisons](./localstorage-indexeddb-cookies-opfs-sqlite-wasm.md).
-
-## Conflict Resolution Strategies
-- **Last Write to Server Wins**:
-A simplest-possible method: whatever update reaches the server last overrides previous data. Good for non-critical data like “like" counts or ephemeral states.
-- **Revision-Based Merges**:
-Use revision numbers or timestamps to track concurrent edits. Merge them intelligently by combining fields or choosing the latest sub-document changes. This is ideal for collaborative apps where you don't want to overwrite entire records.
-- **User Prompts**:
-In certain workflows (e.g., shipping forms, e-commerce checkout), you may need to notify the user about conflicts and let them choose which version to keep.
-- **First Write to Server Wins (RxDB Default)**:
-RxDB's default approach is to let the first successful push define the latest version. Any incoming push with an outdated revision triggers a conflict that must be resolved on the client side. Learn more at [here](../transactions-conflicts-revisions.md).
-
-## When (and When Not) to Use Optimistic UI
-- When to Use
- - [Real-time interactions](./realtime-database.md) like chat apps, social feeds, or “Likes."
-Situations where high success rates of operations are expected (most writes don't fail).
- - Apps that need an [offline-first approach](../offline-first.md) or handle intermittent connectivity gracefully.
-
-- When Not to Use
- - Large, complex transactions with high failure rates.
- - Scenarios requiring heavy server validations or approvals (for example, financial transactions with complex rules).
- - Workflows where immediate feedback could mislead users about an operation's success probability.
-
-- Assessing Risk
- - Consider the likelihood that a user's action might fail. If it's very low, optimistic UI is often best.
- - If frequent failures or complex validations occur, consider a hybrid approach: partial optimistic updates for some actions, while more critical operations rely on immediate server confirmation.
-
-## Follow Up
-
-Ready to start building your own Optimistic UI with RxDB? Here are some next steps:
-
-1. **Do the [RxDB Quickstart](https://rxdb.info/quickstart.html)**
- If you're brand new to RxDB, the quickstart guide will walk you through installation and setting up your first project.
-
-2. **Check Out the Demo App**
- A live [RxDB Quickstart Demo](https://pubkey.github.io/rxdb-quickstart/) showcases optimistic updates and real-time syncing. Explore the code to see how it works.
-
-3. **Star the GitHub Repo**
- Show your support for RxDB by starring the [RxDB GitHub Repository](https://github.com/pubkey/rxdb).
-
-By combining RxDB's powerful offline-first capabilities with the principles of an Optimistic UI, you can deliver snappy, near-instant user interactions that keep your users engaged - no matter the network conditions. Get started today and give your users the experience they deserve!
diff --git a/docs/articles/progressive-web-app-database.html b/docs/articles/progressive-web-app-database.html
deleted file mode 100644
index 4991a74c7f8..00000000000
--- a/docs/articles/progressive-web-app-database.html
+++ /dev/null
@@ -1,109 +0,0 @@
-
-
-
-
-
-RxDB as a Database for Progressive Web Apps (PWA) | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Progressive Web Apps (PWAs) have revolutionized the digital landscape, offering users an immersive blend of web and native app experiences. At the heart of every successful PWA lies effective data management, and this is where RxDB comes into play. In this article, we'll explore the dynamic synergy between RxDB, a robust client-side database, and Progressive Web Apps, uncovering how RxDB enhances data handling, synchronization, and overall performance, propelling PWAs into a new era of excellence.
Progressive Web Apps are the future of web development, seamlessly combining the best of both web and mobile app worlds. They can be easily installed on the user's home screen, function offline, and load at lightning speed. Unlike hybrid apps, PWAs offer a consistent user experience across platforms, making them a versatile choice for modern applications.
-
PWAs bring a plethora of advantages to the table. They eliminate the hassle of app store installations and updates, reduce dependency on network connectivity, and prioritize fast loading times. By harnessing the power of service workers and intelligent caching mechanisms, PWAs ensure users can access content even in offline mode. Furthermore, PWAs are device-agnostic, seamlessly adapting to various devices, from desktops to smartphones.
-
Introducing RxDB as a Client-Side Database for PWAs
-
At the heart of PWAs lies efficient data management, and RxDB steps in as a reliable ally. As a client-side NoSQL database, RxDB seamlessly integrates into web applications, offering real-time data synchronization and manipulation capabilities. This article sheds light on the transformative potential of RxDB as it collaborates harmoniously with PWAs, enabling local-first strategies and elevating user interactions to a whole new level.
RxDB emerges as a reactive, schema-based NoSQL database crafted explicitly for client-side applications. Its real-time data synchronization and responsiveness align seamlessly with the dynamic demands of modern PWAs.
The cornerstone of RxDB's philosophy is the local-first approach, empowering PWAs to prioritize data storage and manipulation on the client side. This paradigm ensures that PWAs remain functional even when offline, allowing users to access and interact with data seamlessly. RxDB bridges any gaps in data synchronization once network connectivity is restored.
Observable queries (aka Live-Queries) serve as the engine of RxDB's dynamic capabilities. By leveraging these queries, PWAs can monitor and respond to data changes in real time. The result is an engaging user interface with instantaneous updates that captivate users and keep them engaged.
-
await db.heroes.find({
- selector: {
- healthpoints: {
- $gt: 0
- }
- }
-})
-.$ // the $ returns an observable that emits each time the result set of the query changes
-.subscribe(aliveHeroes => console.dir(aliveHeroes));
RxDB extends its prowess to multi-tab scenarios, guaranteeing data consistency across different tabs or windows of the same PWA. This feature promotes a seamless transition between various sections of the application, while minimizing data conflicts.
Integrating RxDB into a Progressive Web App, driven by technologies like React, is a straightforward process. By configuring RxDB and installing the necessary packages, developers establish a solid foundation for robust data management within their PWA.
RxDB caters to diverse needs through its various RxStorage layers:
-
-
localstorage RxStorage: Leveraging the capabilities of the browsers localstorage API for storage.
-
IndexedDB RxStorage: Tapping into the browser's IndexedDB for efficient data storage.
-
OPFS RxStorage: Interfacing with the Offline-First Persistence System for seamless persistence.
-
Memory RxStorage: Storing data in memory, ideal for temporary data requirements.
-This flexibility empowers developers to optimize data storage based on the unique needs of their PWA.
-
-
Synchronizing Data with RxDB between PWA Clients and Servers
-To facilitate seamless data synchronization between PWA clients and servers, RxDB offers a range of replication options:
-
-
-
RxDB Replication Algorithm: RxDB introduces its own replication algorithm, enabling efficient and reliable data synchronization between clients and servers.
-
-
-
CouchDB Replication: Leveraging its roots in CouchDB, RxDB facilitates smooth data replication between clients and CouchDB servers, ensuring data consistency and synchronization across devices.
-
-
-
Firestore Replication: RxDB synchronizes data with Google Firestore, a real-time cloud-hosted NoSQL database. This integration guarantees up-to-date data across different instances of the PWA.
-
-
-
Peer-to-Peer (P2P) via WebRTC Replication: RxDB supports P2P replication, facilitating direct data synchronization between clients without intermediaries. This decentralized approach is invaluable in scenarios where server infrastructure is limited.
RxDB empowers PWAs with the ability to encrypt local data, enhancing data security and safeguarding sensitive information. This feature is indispensable for applications handling user credentials, financial transactions, and other confidential data.
Performance optimization is a top priority for PWAs. RxDB addresses this concern by offering indexing options that expedite data retrieval, resulting in a snappier user interface and heightened responsiveness.
RxDB introduces JSON key compression, a feature that reduces storage requirements. This optimization is particularly beneficial for PWAs dealing with substantial data volumes, enhancing overall efficiency and resource utilization.
RxDB introduces change streams, enabling PWAs to react to data changes in real time. This capability empowers dynamic updates to the user interface, promoting interactivity and engagement.
In the ever-evolving landscape of web application development, Progressive Web Apps continue to redefine user experiences. RxDB emerges as a pivotal player, seamlessly integrating with PWAs and enhancing their capabilities. With features like the local-first approach, observable queries, replication mechanisms, and advanced encryption, RxDB empowers developers to create responsive, offline-capable, and data-driven PWAs. As the demand for sophisticated PWAs continues to surge, RxDB remains an indispensable tool for developers aiming to push the boundaries of innovation and redefine the standards of user engagement. By embracing RxDB, developers ensure their PWAs remain at the forefront of the digital revolution, offering seamless and immersive experiences to users around the world.
To explore more about RxDB and leverage its capabilities for browser database development, check out the following resources:
-
-
RxDB GitHub Repository: Visit the official GitHub repository of RxDB to access the source code, documentation, and community support.
-
RxDB Quickstart: Get started quickly with RxDB by following the provided quickstart guide, which provides step-by-step instructions for setting up and using RxDB in your projects.
-
-
\ No newline at end of file
diff --git a/docs/articles/progressive-web-app-database.md b/docs/articles/progressive-web-app-database.md
deleted file mode 100644
index 021eb679158..00000000000
--- a/docs/articles/progressive-web-app-database.md
+++ /dev/null
@@ -1,92 +0,0 @@
-# RxDB as a Database for Progressive Web Apps (PWA)
-
-> Discover how RxDB supercharges Progressive Web Apps with real-time sync, offline-first capabilities, and lightning-fast data handling.
-
-# RxDB as a Database for Progressive Web Apps (PWA)
-Progressive Web Apps (PWAs) have revolutionized the digital landscape, offering users an immersive blend of web and native app experiences. At the heart of every successful PWA lies effective data management, and this is where RxDB comes into play. In this article, we'll explore the dynamic synergy between RxDB, a robust client-side database, and Progressive Web Apps, uncovering how RxDB enhances data handling, synchronization, and overall performance, propelling PWAs into a new era of excellence.
-
-## What is a Progressive Web App
-Progressive Web Apps are the future of web development, seamlessly combining the best of both web and mobile app worlds. They can be easily installed on the user's home screen, function offline, and load at lightning speed. Unlike hybrid apps, PWAs offer a consistent user experience across platforms, making them a versatile choice for modern applications.
-
-PWAs bring a plethora of advantages to the table. They eliminate the hassle of app store installations and updates, reduce dependency on network connectivity, and prioritize fast loading times. By harnessing the power of service workers and intelligent caching mechanisms, PWAs ensure users can access content even in offline mode. Furthermore, PWAs are device-agnostic, seamlessly adapting to various devices, from desktops to smartphones.
-
-## Introducing RxDB as a Client-Side Database for PWAs
-At the heart of PWAs lies efficient data management, and RxDB steps in as a reliable ally. As a client-side NoSQL database, RxDB seamlessly integrates into web applications, offering real-time data synchronization and manipulation capabilities. This article sheds light on the transformative potential of RxDB as it collaborates harmoniously with PWAs, enabling local-first strategies and elevating user interactions to a whole new level.
-
-
-
-
-
-
-
-### Getting Started with RxDB
-RxDB emerges as a reactive, schema-based NoSQL database crafted explicitly for client-side applications. Its real-time data synchronization and responsiveness align seamlessly with the dynamic demands of modern PWAs.
-
-#### Local-First Approach
-The cornerstone of RxDB's philosophy is the local-first approach, empowering PWAs to prioritize data storage and manipulation on the client side. This paradigm ensures that PWAs remain functional even when offline, allowing users to access and interact with data seamlessly. RxDB bridges any gaps in data synchronization once network connectivity is restored.
-
-#### Observable Queries
-Observable queries (aka **Live-Queries**) serve as the engine of RxDB's dynamic capabilities. By leveraging these queries, PWAs can monitor and respond to data changes in real time. The result is an engaging user interface with instantaneous updates that captivate users and keep them engaged.
-
-```ts
-await db.heroes.find({
- selector: {
- healthpoints: {
- $gt: 0
- }
- }
-})
-.$ // the $ returns an observable that emits each time the result set of the query changes
-.subscribe(aliveHeroes => console.dir(aliveHeroes));
-```
-
-#### Multi-Tab Support
-RxDB extends its prowess to multi-tab scenarios, guaranteeing data consistency across different tabs or windows of the same PWA. This feature promotes a seamless transition between various sections of the application, while minimizing data conflicts.
-
-
-
-### Using RxDB in a Progressive Web App
-Integrating RxDB into a Progressive Web App, driven by technologies like React, is a straightforward process. By configuring RxDB and installing the necessary packages, developers establish a solid foundation for robust data management within their PWA.
-
-## Exploring Different RxStorage Layers
-RxDB caters to diverse needs through its various RxStorage layers:
-
-- [localstorage RxStorage](../rx-storage-localstorage.md): Leveraging the capabilities of the browsers localstorage API for storage.
-- [IndexedDB RxStorage](../rx-storage-indexeddb.md): Tapping into the browser's IndexedDB for efficient data storage.
-- [OPFS RxStorage](../rx-storage-opfs.md): Interfacing with the Offline-First Persistence System for seamless persistence.
-- [Memory RxStorage](../rx-storage-memory.md): Storing data in memory, ideal for temporary data requirements.
-This flexibility empowers developers to optimize data storage based on the unique needs of their PWA.
-
-Synchronizing Data with RxDB between PWA Clients and Servers
-To facilitate seamless data synchronization between PWA clients and servers, RxDB offers a range of replication options:
-
-- [RxDB Replication Algorithm](../replication.md): RxDB introduces its own replication algorithm, enabling efficient and reliable data synchronization between clients and servers.
-
-- [CouchDB Replication](../replication-couchdb.md): Leveraging its roots in CouchDB, RxDB facilitates smooth data replication between clients and CouchDB servers, ensuring data consistency and synchronization across devices.
-
-- [Firestore Replication](../replication-firestore.md): RxDB synchronizes data with Google Firestore, a real-time cloud-hosted NoSQL database. This integration guarantees up-to-date data across different instances of the PWA.
-
-- [Peer-to-Peer (P2P) via WebRTC](../replication-webrtc.md) Replication: RxDB supports P2P replication, facilitating direct data synchronization between clients without intermediaries. This decentralized approach is invaluable in scenarios where server infrastructure is limited.
-
-## Advanced RxDB Features and Techniques
-### Encryption of Local Data
-RxDB empowers PWAs with the ability to encrypt local data, enhancing data security and safeguarding sensitive information. This feature is indispensable for applications handling user credentials, financial transactions, and other confidential data.
-
-### Indexing and Performance Optimization
-Performance optimization is a top priority for PWAs. RxDB addresses this concern by offering indexing options that expedite data retrieval, resulting in a snappier user interface and heightened responsiveness.
-
-### JSON Key Compression
-RxDB introduces JSON key compression, a feature that reduces storage requirements. This optimization is particularly beneficial for PWAs dealing with substantial data volumes, enhancing overall efficiency and resource utilization.
-
-### Change Streams and Event Handling
-RxDB introduces change streams, enabling PWAs to react to data changes in real time. This capability empowers dynamic updates to the user interface, promoting interactivity and engagement.
-
-## Conclusion
-In the ever-evolving landscape of web application development, Progressive Web Apps continue to redefine user experiences. RxDB emerges as a pivotal player, seamlessly integrating with PWAs and enhancing their capabilities. With features like the local-first approach, observable queries, replication mechanisms, and advanced encryption, RxDB empowers developers to create responsive, offline-capable, and data-driven PWAs. As the demand for sophisticated PWAs continues to surge, RxDB remains an indispensable tool for developers aiming to push the boundaries of innovation and redefine the standards of user engagement. By embracing RxDB, developers ensure their PWAs remain at the forefront of the digital revolution, offering seamless and immersive experiences to users around the world.
-
-## Follow Up
-To explore more about RxDB and leverage its capabilities for browser database development, check out the following resources:
-
-- [RxDB GitHub Repository](https://github.com/pubkey/rxdb): Visit the official GitHub repository of RxDB to access the source code, documentation, and community support.
-- [RxDB Quickstart](../quickstart.md): Get started quickly with RxDB by following the provided quickstart guide, which provides step-by-step instructions for setting up and using RxDB in your projects.
-- [RxDB Progressive Web App in Angular Example](https://github.com/pubkey/rxdb/tree/master/examples/angular)
diff --git a/docs/articles/react-database.html b/docs/articles/react-database.html
deleted file mode 100644
index fd21226cff2..00000000000
--- a/docs/articles/react-database.html
+++ /dev/null
@@ -1,149 +0,0 @@
-
-
-
-
-
-RxDB as a Database for React Applications | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
In the rapidly evolving landscape of web development, React has emerged as a cornerstone technology for building dynamic and responsive user interfaces. With the increasing complexity of modern web applications, efficient data management becomes pivotal. This article delves into the integration of RxDB, a potent client-side database, with React applications to optimize data handling and elevate the overall user experience.
-
React has revolutionized the way web applications are built by introducing a component-based architecture. This approach enables developers to create reusable UI components that efficiently update in response to changes in data. The virtual DOM mechanism, a key feature of React, facilitates optimized rendering, enhancing performance and user interactivity.
-
While React excels at managing the user interface, the need for efficient data storage and retrieval mechanisms is equally significant. A client-side database brings several advantages to React applications:
-
-
Improved Performance: Local data storage reduces the need for frequent server requests, resulting in faster data retrieval and enhanced application responsiveness.
-
Offline Capabilities: A client-side database enables offline access to data, allowing users to interact with the application even when they are disconnected from the internet.
-
Real-Time Updates: With the ability to observe changes in data, client-side databases facilitate real-time updates to the UI, ensuring users are always presented with the latest information.
-
Reduced Server Load: By handling data operations locally, client-side databases alleviate the load on the server, contributing to a more scalable architecture.
RxDB, a powerful JavaScript database, has garnered attention as an optimal solution for managing data in React applications. Built on top of the IndexedDB standard, RxDB combines the principles of reactive programming with database management. Its core features include reactive data handling, offline-first capabilities, and robust data replication.
RxDB, short for Reactive Database, is an open-source JavaScript database that seamlessly integrates reactive programming with database operations. It offers a comprehensive API for performing database actions and synchronizing data across clients and servers. RxDB's underlying philosophy revolves around observables, allowing developers to reactively manage data changes and create dynamic user interfaces.
One of RxDB's standout features is its support for reactive data handling. Traditional databases often require manual intervention for data fetching and updating, leading to complex and error-prone code. RxDB, however, automatically notifies subscribers whenever data changes occur, eliminating the need for explicit data manipulation. This reactive approach simplifies code and enhances the responsiveness of React components.
RxDB embraces a local-first methodology, enabling applications to function seamlessly even in offline scenarios. By storing data locally, RxDB ensures that users can interact with the application and make updates regardless of internet connectivity. Once the connection is reestablished, RxDB synchronizes the local changes with the remote database, maintaining data consistency across devices.
Data replication is a cornerstone of modern applications that require synchronization between multiple clients and servers. RxDB provides robust data replication mechanisms that facilitate real-time synchronization between different instances of the database. This ensures that changes made on one client are promptly propagated to others, contributing to a cohesive and unified user experience.
RxDB extends the concept of observables beyond data changes. It introduces observable queries, allowing developers to observe the results of database queries. This feature enables automatic updates to query results whenever relevant data changes occur. Observable queries simplify state management by eliminating the need to manually trigger updates in response to changing data.
-
await db.heroes.find({
- selector: {
- healthpoints: {
- $gt: 0
- }
- }
-})
-.$ // the $ returns an observable that emits each time the result set of the query changes
-.subscribe(aliveHeroes => console.dir(aliveHeroes));
Web applications often operate in multiple browser tabs or windows. RxDB accommodates this scenario by offering built-in multi-tab support. It ensures that data changes made in one tab are efficiently propagated to other tabs, maintaining data consistency and providing a seamless experience for users interacting with the application across different tabs.
While considering database options for React applications, RxDB stands out due to its unique combination of reactive programming and database capabilities. Unlike traditional solutions such as IndexedDB or Web Storage, which provide basic data storage, RxDB offers a dedicated database solution with advanced features. Additionally, while state management libraries like Redux and MobX can be adapted for database use, RxDB provides an integrated solution specifically designed for handling data.
Using IndexedDB directly in React can be challenging due to its low-level, callback-based API which doesn't align neatly with modern React's Promise and async/await patterns. This intricacy often leads to bulky and complex implementations for developers. Also, when used wrong, IndexedDB can have a worse performance profile then it could have. In contrast, RxDB, with the IndexedDB RxStorage and the LocalStorage RxStorage, abstracts these complexities, integrating reactive programming and providing a more streamlined experience for data management in React applications. Thus, RxDB offers a more intuitive approach, eliminating much of the manual overhead required with IndexedDB.
The process of integrating RxDB into a React application is straightforward. Begin by installing RxDB as a dependency:
-npm install rxdb rxjs
-Once installed, RxDB can be imported and initialized within your React components. The following code snippet illustrates a basic setup:
The rxdb-hooks package provides a set of React hooks that simplify data management within components. These hooks leverage RxDB's reactivity to automatically update components when data changes occur. The following example demonstrates the usage of the useRxCollection and useRxQuery hooks to query and observe a collection:
RxDB offers multiple storage layers, each backed by a different underlying technology. Developers can choose the storage layer that best suits their application's requirements. Some available options include:
Memory RxStorage: Stores data in memory, primarily intended for testing and development purposes.
-
SQLite RxStorage: Stores data in an SQLite database. Can be used in a browser with react by using a SQLite database that was compiled to WebAssembly. Using SQLite in react might not be the best idea, because a compiled SQLite wasm file is about one megabyte of code that has to be loaded and rendered by your users. Using native browser APIs like IndexedDB and OPFS have shown to be a more optimal database solution for browser based react apps compared to SQLite.
-
-
Synchronizing Data with RxDB between Clients and Servers
-
The offline-first approach is a fundamental principle of RxDB's design. When dealing with client-server synchronization, RxDB ensures that changes made offline are captured and propagated to the server once connectivity is reestablished. This mechanism guarantees that data remains consistent across different client instances, even when operating in an occasionally connected environment.
-
RxDB offers a range of replication plugins that facilitate data synchronization between clients and servers. These plugins support various synchronization strategies, such as one-way replication, two-way replication, and custom conflict resolution. Developers can select the appropriate plugin based on their application's synchronization requirements.
Encryption of Local Data
-Security is paramount when handling sensitive user data. RxDB supports data encryption, ensuring that locally stored information remains protected from unauthorized access. This feature is particularly valuable when dealing with sensitive data in offline scenarios.
Efficient indexing is critical for achieving optimal database performance. RxDB provides mechanisms to define indexes on specific fields, enhancing query speed and reducing the computational overhead of data retrieval.
RxDB employs JSON key compression to reduce storage space and improve performance. This technique minimizes the memory footprint of the database, making it suitable for applications with limited resources.
RxDB enables developers to subscribe to change streams, which emit events whenever data changes occur. This functionality facilitates real-time event handling and provides opportunities for implementing features such as notifications and live updates.
In the realm of React application development, efficient data management is pivotal to delivering a seamless and engaging user experience. RxDB emerges as a compelling solution, seamlessly integrating reactive programming principles with sophisticated database capabilities. By adopting RxDB, React developers can harness its powerful features, including reactive data handling, offline-first support, and real-time synchronization. With RxDB as a foundational pillar, React applications can excel in responsiveness, scalability, and data integrity. As the landscape of web development continues to evolve, RxDB remains a steadfast companion for creating robust and dynamic React applications.
To explore more about RxDB and leverage its capabilities for browser database development, check out the following resources:
-
-
RxDB GitHub Repository: Visit the official GitHub repository of RxDB to access the source code, documentation, and community support.
-
RxDB Quickstart: Get started quickly with RxDB by following the provided quickstart guide, which provides step-by-step instructions for setting up and using RxDB in your projects.
-
-
\ No newline at end of file
diff --git a/docs/articles/react-database.md b/docs/articles/react-database.md
deleted file mode 100644
index bde5d41b8d1..00000000000
--- a/docs/articles/react-database.md
+++ /dev/null
@@ -1,152 +0,0 @@
-# RxDB as a Database for React Applications
-
-> earn how the RxDB database supercharges React apps with offline access, real-time updates, and smooth data flow. Boost performance and engagement.
-
-# RxDB as a Database for React Applications
-In the rapidly evolving landscape of web development, React has emerged as a cornerstone technology for building dynamic and responsive user interfaces. With the increasing complexity of modern web applications, efficient data management becomes pivotal. This article delves into the integration of RxDB, a potent client-side database, with React applications to optimize data handling and elevate the overall user experience.
-
-React has revolutionized the way web applications are built by introducing a component-based architecture. This approach enables developers to create reusable UI components that efficiently update in response to changes in data. The virtual DOM mechanism, a key feature of React, facilitates optimized rendering, enhancing performance and user interactivity.
-
-While React excels at managing the user interface, the need for efficient data storage and retrieval mechanisms is equally significant. A client-side database brings several advantages to React applications:
-
-- Improved Performance: Local data storage reduces the need for frequent server requests, resulting in faster data retrieval and enhanced application responsiveness.
-- Offline Capabilities: A client-side database enables offline access to data, allowing users to interact with the application even when they are disconnected from the internet.
-- Real-Time Updates: With the ability to observe changes in data, client-side databases facilitate real-time updates to the UI, ensuring users are always presented with the latest information.
-- Reduced Server Load: By handling data operations locally, client-side databases alleviate the load on the server, contributing to a more scalable architecture.
-
-## Introducing RxDB as a JavaScript Database
-RxDB, a powerful JavaScript database, has garnered attention as an optimal solution for managing data in React applications. Built on top of the IndexedDB standard, RxDB combines the principles of reactive programming with database management. Its core features include reactive data handling, offline-first capabilities, and robust data replication.
-
-
-
-
-
-
-
-## What is RxDB?
-RxDB, short for Reactive Database, is an open-source JavaScript database that seamlessly integrates reactive programming with database operations. It offers a comprehensive API for performing database actions and synchronizing data across clients and servers. RxDB's underlying philosophy revolves around observables, allowing developers to reactively manage data changes and create dynamic user interfaces.
-
-### Reactive Data Handling
-One of RxDB's standout features is its support for reactive data handling. Traditional databases often require manual intervention for data fetching and updating, leading to complex and error-prone code. RxDB, however, automatically notifies subscribers whenever data changes occur, eliminating the need for explicit data manipulation. This reactive approach simplifies code and enhances the responsiveness of React components.
-
-### Local-First Approach
-RxDB embraces a [local-first](../offline-first.md) methodology, enabling applications to function seamlessly even in offline scenarios. By storing data locally, RxDB ensures that users can interact with the application and make updates regardless of internet connectivity. Once the connection is reestablished, RxDB synchronizes the local changes with the remote database, maintaining data consistency across devices.
-
-### Data Replication
-Data replication is a cornerstone of modern applications that require synchronization between multiple clients and servers. RxDB provides robust data replication mechanisms that facilitate real-time synchronization between different instances of the database. This ensures that changes made on one client are promptly propagated to others, contributing to a cohesive and unified user experience.
-
-### Observable Queries
-RxDB extends the concept of observables beyond data changes. It introduces observable queries, allowing developers to observe the results of database queries. This feature enables automatic updates to query results whenever relevant data changes occur. Observable queries simplify state management by eliminating the need to manually trigger updates in response to changing data.
-
-```ts
-await db.heroes.find({
- selector: {
- healthpoints: {
- $gt: 0
- }
- }
-})
-.$ // the $ returns an observable that emits each time the result set of the query changes
-.subscribe(aliveHeroes => console.dir(aliveHeroes));
-```
-
-### Multi-Tab Support
-Web applications often operate in multiple browser tabs or windows. RxDB accommodates this scenario by offering built-in multi-tab support. It ensures that data changes made in one tab are efficiently propagated to other tabs, maintaining data consistency and providing a seamless experience for users interacting with the application across different tabs.
-
-
-
-### RxDB vs. Other React Database Options
-While considering database options for React applications, RxDB stands out due to its unique combination of reactive programming and database capabilities. Unlike traditional solutions such as IndexedDB or Web Storage, which provide basic data storage, RxDB offers a dedicated database solution with advanced features. Additionally, while state management libraries like Redux and MobX can be adapted for database use, RxDB provides an integrated solution specifically designed for handling data.
-
-### IndexedDB in React and the Advantage of RxDB
-
-Using IndexedDB directly in React can be challenging due to its low-level, callback-based API which doesn't align neatly with modern React's Promise and async/await patterns. This intricacy often leads to bulky and complex implementations for developers. Also, when used wrong, IndexedDB can have a worse [performance profile](../slow-indexeddb.md) then it could have. In contrast, RxDB, with the [IndexedDB RxStorage](../rx-storage-indexeddb.md) and the [LocalStorage RxStorage](../rx-storage-localstorage.md), abstracts these complexities, integrating reactive programming and providing a more streamlined experience for data management in React applications. Thus, RxDB offers a more intuitive approach, eliminating much of the manual overhead required with IndexedDB.
-
-### Using RxDB in a React Application
-
-The process of integrating RxDB into a React application is straightforward. Begin by installing RxDB as a dependency:
-`npm install rxdb rxjs`
-Once installed, RxDB can be imported and initialized within your React components. The following code snippet illustrates a basic setup:
-
-```javascript
-import { createRxDatabase } from 'rxdb';
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-
-const db = await createRxDatabase({
- name: 'heroesdb', // <- name
- storage: getRxStorageLocalstorage(), // <- RxStorage
- password: 'myPassword', // <- password (optional)
- multiInstance: true, // <- multiInstance (optional, default: true)
- eventReduce: true, // <- eventReduce (optional, default: false)
- cleanupPolicy: {} // <- custom cleanup policy (optional)
-});
-```
-
-### Using RxDB React Hooks
-The [rxdb-hooks](https://github.com/cvara/rxdb-hooks) package provides a set of React hooks that simplify data management within components. These hooks leverage RxDB's reactivity to automatically update components when data changes occur. The following example demonstrates the usage of the `useRxCollection` and `useRxQuery` hooks to query and observe a collection:
-
-```ts
-const collection = useRxCollection('characters');
-const query = collection.find().where('affiliation').equals('Jedi');
-const {
- result: characters,
- isFetching,
- fetchMore,
- isExhausted,
-} = useRxQuery(query, {
- pageSize: 5,
- pagination: 'Infinite',
-});
-
-if (isFetching) {
- return 'Loading...';
-}
-
-return (
-
- {characters.map((character, index) => (
-
- ))}
- {!isExhausted && }
-
-);
-```
-
-### Different RxStorage Layers for RxDB
-RxDB offers multiple storage layers, each backed by a different underlying technology. Developers can choose the storage layer that best suits their application's requirements. Some available options include:
-
-- [LocalStorage RxStorage](../rx-storage-localstorage.md): Built on top of the browsers localstorage API.
-- [IndexedDB RxStorage](../rx-storage-indexeddb.md): The default RxDB storage layer, providing efficient data storage in modern browsers.
-- [OPFS RxStorage](../rx-storage-opfs.md): Uses the Operational File System (OPFS) for storage, suitable for [Electron applications](../electron-database.md).
-- [Memory RxStorage](../rx-storage-memory.md): Stores data in memory, primarily intended for testing and development purposes.
-- [SQLite RxStorage](../rx-storage-sqlite.md): Stores data in an SQLite database. Can be used in a browser with react by using a SQLite database that was [compiled to WebAssembly](https://sqlite.org/wasm/doc/trunk/index.md). Using SQLite in react might not be the best idea, because a compiled SQLite wasm file is about one megabyte of code that has to be loaded and rendered by your users. Using native browser APIs like IndexedDB and OPFS have shown to be a more optimal database solution for browser based react apps compared to SQLite.
-
-### Synchronizing Data with RxDB between Clients and Servers
-The offline-first approach is a fundamental principle of RxDB's design. When dealing with client-server synchronization, RxDB ensures that changes made offline are captured and propagated to the server once connectivity is reestablished. This mechanism guarantees that data remains consistent across different client instances, even when operating in an occasionally connected environment.
-
-RxDB offers a range of [replication plugins](../replication.md) that facilitate data synchronization between clients and servers. These plugins support various synchronization strategies, such as one-way replication, two-way replication, and custom conflict resolution. Developers can select the appropriate plugin based on their application's synchronization requirements.
-
-
-
-### Advanced RxDB Features and Techniques
-Encryption of Local Data
-Security is paramount when handling sensitive user data. RxDB supports [data encryption](./react-native-encryption.md), ensuring that locally stored information remains protected from unauthorized access. This feature is particularly valuable when dealing with sensitive data in offline scenarios.
-
-### Indexing and Performance Optimization
-Efficient indexing is critical for achieving optimal database performance. RxDB provides mechanisms to define indexes on specific fields, enhancing query speed and reducing the computational overhead of data retrieval.
-
-### JSON Key Compression
-RxDB employs JSON key compression to reduce storage space and improve performance. This technique minimizes the memory footprint of the database, making it suitable for applications with limited resources.
-
-### Change Streams and Event Handling
-RxDB enables developers to subscribe to change streams, which emit events whenever data changes occur. This functionality facilitates real-time event handling and provides opportunities for implementing features such as notifications and live updates.
-
-## Conclusion
-In the realm of React application development, efficient data management is pivotal to delivering a seamless and engaging user experience. RxDB emerges as a compelling solution, seamlessly integrating reactive programming principles with sophisticated database capabilities. By adopting RxDB, React developers can harness its powerful features, including reactive data handling, offline-first support, and real-time synchronization. With RxDB as a foundational pillar, React applications can excel in responsiveness, scalability, and data integrity. As the landscape of web development continues to evolve, RxDB remains a steadfast companion for creating robust and dynamic React applications.
-
-## Follow Up
-To explore more about RxDB and leverage its capabilities for browser database development, check out the following resources:
-
-- [RxDB GitHub Repository](https://github.com/pubkey/rxdb): Visit the official GitHub repository of RxDB to access the source code, documentation, and community support.
-- [RxDB Quickstart](../quickstart.md): Get started quickly with RxDB by following the provided quickstart guide, which provides step-by-step instructions for setting up and using RxDB in your projects.
-- [RxDB React Example at GitHub](https://github.com/pubkey/rxdb/tree/master/examples/react)
diff --git a/docs/articles/react-indexeddb.html b/docs/articles/react-indexeddb.html
deleted file mode 100644
index 152d56660a1..00000000000
--- a/docs/articles/react-indexeddb.html
+++ /dev/null
@@ -1,225 +0,0 @@
-
-
-
-
-
-IndexedDB Database in React Apps - The Power of RxDB | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
IndexedDB Database in React Apps - The Power of RxDB
-
Building robust, offline-capable React applications often involves leveraging browser storage solutions to manage data. IndexedDB is one such powerful tool, but its raw API can be challenging to work with directly. RxDB abstracts away much of IndexedDB's complexity, providing a more developer-friendly experience. In this article, we'll explore what IndexedDB is, why it's beneficial in React applications, the challenges of using plain IndexedDB, and how RxDB can simplify your development process while adding advanced features.
IndexedDB is a low-level API for storing significant amounts of structured data in the browser. It provides a transactional database system that can store key-value pairs, complex objects, and more. This storage engine is asynchronous and supports advanced data types, making it suitable for offline storage and complex web applications.
When building React applications, IndexedDB can play a crucial role in enhancing both performance and user experience. Here are some reasons to consider using IndexedDB:
-
-
Offline-First / Local-First: By storing data locally, your application remains functional even without an internet connection.
-
Performance: Using local data means zero latency and no loading spinners, as data doesn't need to be fetched over a network.
-
Easier Implementation: Replicating all data to the client once is often simpler than implementing multiple endpoints for each user interaction.
-
Scalability: Local data reduces server load because queries run on the client side, decreasing server bandwidth and processing requirements.
While IndexedDB itself is powerful, its native API comes with several drawbacks for everyday application developers:
-
-
Callback-Based API: IndexedDB was designed with callbacks rather than modern Promises, making asynchronous code more cumbersome.
-
Complexity: IndexedDB is low-level, intended for library developers rather than for app developers who simply want to store data.
-
Basic Query API: Its rudimentary query capabilities limit how you can efficiently perform complex queries, whereas libraries like RxDB offer more advanced query features.
-
TypeScript Support: Ensuring good TypeScript support with IndexedDB is challenging, especially when trying to enforce document type consistency.
-
Lack of Observable API: IndexedDB doesn't provide an observable API out of the box. RxDB solves this by enabling you to observe query results or specific document fields.
-
Cross-Tab Communication: Managing cross-tab updates in plain IndexedDB is difficult. RxDB handles this seamlessly-changes in one tab automatically affect observed data in others.
-
Missing Advanced Features: Features like encryption or compression aren't built into IndexedDB, but they are available via RxDB.
-
Limited Platform Support: IndexedDB exists only in the browser. In contrast, RxDB offers swappable storages to use the same code in React Native, Capacitor, or Electron.
The premium plain IndexedDB-based storage, offering faster performance
-Below is an example of setting up a simple RxDB database using the localstorage-based storage in a React app:
-
-
import { createRxDatabase } from 'rxdb/plugins/core';
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-
-// create a database
-const db = await createRxDatabase({
- name: 'heroesdb', // the name of the database
- storage: getRxStorageLocalstorage()
-});
-
-// Define your schema
-const heroSchema = {
- title: 'hero schema',
- version: 0,
- description: 'Describes a hero in your app',
- primaryKey: 'id',
- type: 'object',
- properties: {
- id: {
- type: 'string',
- maxLength: 100
- },
- name: {
- type: 'string'
- },
- power: {
- type: 'string'
- }
- },
- required: ['id', 'name']
-};
-
-// add collections
-await db.addCollections({
- heroes: {
- schema: heroSchema
- }
-});
RxDB excels in providing reactive data capabilities, ideal for real-time applications. There are two main approaches to achieving live queries with RxDB: using RxJS Observables with React Hooks or utilizing Preact Signals.
RxDB integrates seamlessly with RxJS Observables, allowing you to build reactive components. Here's an example of a React component that subscribes to live data updates:
RxDB also supports Preact Signals for reactivity, which can be integrated into React applications. Preact Signals offer a modern, fine-grained reactivity model.
A comprehensive example of using RxDB within a React application can be found in the RxDB GitHub repository. This repository contains sample applications, showcasing best practices and demonstrating how to integrate RxDB for various use cases.
By leveraging RxDB on top of IndexedDB, you can create highly responsive, offline-capable React applications without dealing with the low-level complexities of IndexedDB directly. With reactive queries, seamless cross-tab communication, and powerful advanced features, RxDB becomes an invaluable tool in modern web development.
-
-
\ No newline at end of file
diff --git a/docs/articles/react-indexeddb.md b/docs/articles/react-indexeddb.md
deleted file mode 100644
index 8ac50a08823..00000000000
--- a/docs/articles/react-indexeddb.md
+++ /dev/null
@@ -1,247 +0,0 @@
-# IndexedDB Database in React Apps - The Power of RxDB
-
-> Discover how RxDB simplifies IndexedDB in React, offering reactive queries, offline-first capability, encryption, compression, and effortless integration.
-
-# IndexedDB Database in React Apps - The Power of RxDB
-
-Building robust, [offline-capable](../offline-first.md) React applications often involves leveraging browser storage solutions to manage data. IndexedDB is one such powerful tool, but its raw API can be challenging to work with directly. RxDB abstracts away much of IndexedDB's complexity, providing a more developer-friendly experience. In this article, we'll explore what IndexedDB is, why it's beneficial in React applications, the challenges of using plain IndexedDB, and how [RxDB](https://rxdb.info/) can simplify your development process while adding advanced features.
-
-## What is IndexedDB?
-
-[IndexedDB](https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API) is a low-level API for storing significant amounts of structured data in the browser. It provides a transactional database system that can store key-value pairs, complex objects, and more. This storage engine is asynchronous and supports advanced data types, making it suitable for offline storage and complex web applications.
-
-
-
-
-
-## Why Use IndexedDB in React
-
-When building React applications, IndexedDB can play a crucial role in enhancing both performance and user experience. Here are some reasons to consider using IndexedDB:
-
-- **Offline-First / Local-First**: By storing data locally, your application remains functional even without an internet connection.
-- **Performance**: Using local data means [zero latency](./zero-latency-local-first.md) and no loading spinners, as data doesn't need to be fetched over a network.
-- **Easier Implementation**: Replicating all data to the client once is often simpler than implementing multiple endpoints for each user interaction.
-- **Scalability**: Local data reduces server load because queries run on the client side, decreasing server bandwidth and processing requirements.
-
-## Why To Not Use Plain IndexedDB
-
-While IndexedDB itself is powerful, its native API comes with several drawbacks for everyday application developers:
-
-- **Callback-Based API**: IndexedDB was designed with callbacks rather than modern Promises, making asynchronous code more cumbersome.
-- **Complexity**: IndexedDB is low-level, intended for library developers rather than for app developers who simply want to store data.
-- **Basic Query API**: Its rudimentary query capabilities limit how you can efficiently perform complex queries, whereas libraries like RxDB offer more advanced query features.
-- **TypeScript Support**: Ensuring good TypeScript support with IndexedDB is challenging, especially when trying to enforce document type consistency.
-- **Lack of Observable API**: IndexedDB doesn't provide an observable API out of the box. RxDB solves this by enabling you to observe query results or specific document fields.
-- **Cross-Tab Communication**: Managing cross-tab updates in plain IndexedDB is difficult. RxDB handles this seamlessly-changes in one tab automatically affect observed data in others.
-- **Missing Advanced Features**: Features like encryption or compression aren't built into IndexedDB, but they are available via RxDB.
-- **Limited Platform Support**: IndexedDB exists only in the browser. In contrast, RxDB offers swappable storages to use the same code in React Native, Capacitor, or Electron.
-
-
-
-
-
-
-
-## Set up RxDB in React
-
-Setting up RxDB with React is straightforward. It abstracts IndexedDB complexities and adds a layer of powerful features over it.
-
-### Installing RxDB
-
-First, install RxDB and RxJS from npm:
-
-```bash
-npm install rxdb rxjs --save```
-```
-
-### Create a Database and Collections
-
-RxDB provides two main storage options:
-- The free [localstorage-based storage](../rx-storage-localstorage.md)
-- The premium plain [IndexedDB-based storage](../rx-storage-indexeddb.md), offering faster performance
-Below is an example of setting up a simple RxDB [database](./react-database.md) using the localstorage-based storage in a React app:
-
-```ts
-import { createRxDatabase } from 'rxdb/plugins/core';
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-
-// create a database
-const db = await createRxDatabase({
- name: 'heroesdb', // the name of the database
- storage: getRxStorageLocalstorage()
-});
-
-// Define your schema
-const heroSchema = {
- title: 'hero schema',
- version: 0,
- description: 'Describes a hero in your app',
- primaryKey: 'id',
- type: 'object',
- properties: {
- id: {
- type: 'string',
- maxLength: 100
- },
- name: {
- type: 'string'
- },
- power: {
- type: 'string'
- }
- },
- required: ['id', 'name']
-};
-
-// add collections
-await db.addCollections({
- heroes: {
- schema: heroSchema
- }
-});
-```
-
-### CRUD Operations
-
-Once your database is initialized, you can perform all CRUD operations:
-
-```ts
-// insert
-await db.heroes.insert({ name: 'Iron Man', power: 'Genius-level intellect' });
-
-// bulk insert
-await db.heroes.bulkInsert([
- { name: 'Thor', power: 'God of Thunder' },
- { name: 'Hulk', power: 'Superhuman Strength' }
-]);
-
-// find and findOne
-const heroes = await db.heroes.find().exec();
-const ironMan = await db.heroes.findOne({ selector: { name: 'Iron Man' } }).exec();
-
-// update
-const doc = await db.heroes.findOne({ selector: { name: 'Hulk' } }).exec();
-await doc.update({ $set: { power: 'Unlimited Strength' } });
-
-// delete
-const doc = await db.heroes.findOne({ selector: { name: 'Thor' } }).exec();
-await doc.remove();
-```
-
-## Reactive Queries and Live Updates
-
-RxDB excels in providing reactive data capabilities, ideal for [real-time applications](./realtime-database.md). There are two main approaches to achieving live queries with RxDB: using RxJS Observables with React Hooks or utilizing Preact Signals.
-
-
-
-### With RxJS Observables and React Hooks
-
-RxDB integrates seamlessly with RxJS Observables, allowing you to build reactive components. Here's an example of a React component that subscribes to live data updates:
-
-```ts
-import { useState, useEffect } from 'react';
-
-function HeroList({ collection }) {
- const [heroes, setHeroes] = useState([]);
-
- useEffect(() => {
- // create an observable query
- const query = collection.find();
- const subscription = query.$.subscribe(newHeroes => {
- setHeroes(newHeroes);
- });
- return () => subscription.unsubscribe();
- }, [collection]);
-
- return (
-
- Hero List
-
- {heroes.map(hero => (
-
- {hero.name} - {hero.power}
-
- ))}
-
-
- );
-}
-```
-
-This component subscribes to the collection's changes, updating the UI automatically whenever the underlying data changes, even across browser tabs.
-
-### With Preact Signals
-
-RxDB also supports Preact Signals for reactivity, which can be integrated into React applications. Preact Signals offer a modern, fine-grained reactivity model.
-
-First, install the necessary package:
-```bash
-npm install @preact/signals-core --save
-```
-Set up RxDB with Preact Signals reactivity:
-
-```ts
-import { PreactSignalsRxReactivityFactory } from 'rxdb/plugins/reactivity-preact-signals';
-import { createRxDatabase } from 'rxdb/plugins/core';
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-
-const database = await createRxDatabase({
- name: 'mydb',
- storage: getRxStorageLocalstorage(),
- reactivity: PreactSignalsRxReactivityFactory
-});
-```
-
-Now, you can obtain signals directly from RxDB queries using the double-dollar sign (`$$`):
-
-```ts
-function HeroList({ collection }) {
- const heroes = collection.find().$$;
- return (
-
- {heroes.map(hero => (
- {hero.name}
- ))}
-
- );
-}
-```
-
-This approach provides automatic updates whenever the data changes, without needing to manage subscriptions manually.
-
-## React IndexedDB Example with RxDB
-
-A comprehensive example of using RxDB within a React application can be found in the [RxDB GitHub repository](https://github.com/pubkey/rxdb/tree/master/examples/react). This repository contains sample applications, showcasing best practices and demonstrating how to integrate RxDB for various use cases.
-
-## Advanced RxDB Features
-
-RxDB offers many advanced features that extend beyond basic data storage:
-
-- **RxDB Replication**: Synchronize local data with remote databases seamlessly. Learn more: [RxDB Replication](https://rxdb.info/replication.html)
-- **Data Migration**: Handle schema changes gracefully with automatic data migrations. See: [Data migration](https://rxdb.info/migration-schema.html)
-- **Encryption**: Secure your data with built-in encryption capabilities. Explore: [Encryption](https://rxdb.info/encryption.html)
-- **Compression**: Optimize storage using key compression. Details: [Compression](https://rxdb.info/key-compression.html)
-
-## Limitations of IndexedDB
-
-While IndexedDB is powerful, it has some inherent limitations:
-
-- **Performance**: IndexedDB can be slow under certain conditions. Read more: [Slow IndexedDB](https://rxdb.info/slow-indexeddb.html)
-- **Storage Limits**: Browsers [impose limits](./indexeddb-max-storage-limit.md) on how much data can be stored. See: [Browser storage limits](https://rxdb.info/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm.html)
-
-## Alternatives to IndexedDB
-Depending on your application's requirements, there are [alternative storage solutions](./localstorage-indexeddb-cookies-opfs-sqlite-wasm.md) to consider:
-
-- **Origin Private File System (OPFS)**: A newer API that can offer better performance. RxDB supports OPFS as well. More info: [RxDB OPFS Storage](../rx-storage-opfs.md)
-- **SQLite**: Ideal for React applications on Capacitor or [Ionic](./ionic-storage.md), offering native performance. Explore: [RxDB SQLite Storage](../rx-storage-sqlite.md)
-
-## Performance comparison with other browser storages
-Here is a [performance overview](../rx-storage-performance.md) of the various browser based storage implementation of RxDB:
-
-
-
-## Follow Up
-- Learn how to use RxDB with the [RxDB Quickstart](../quickstart.md) for a guided introduction.
-- Check out the [RxDB GitHub repository](https://github.com/pubkey/rxdb) and leave a star ⭐ if you find it useful.
-
-By leveraging RxDB on top of IndexedDB, you can create highly responsive, offline-capable React applications without dealing with the low-level complexities of IndexedDB directly. With reactive queries, seamless cross-tab communication, and powerful advanced features, RxDB becomes an invaluable tool in modern web development.
diff --git a/docs/articles/react-native-encryption.html b/docs/articles/react-native-encryption.html
deleted file mode 100644
index 57a98b566fc..00000000000
--- a/docs/articles/react-native-encryption.html
+++ /dev/null
@@ -1,211 +0,0 @@
-
-
-
-
-
-React Native Encryption and Encrypted Database/Storage | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
React Native Encryption and Encrypted Database/Storage
-
Data security is a critical concern in modern mobile applications. As React Native continues to grow in popularity for building cross-platform apps, ensuring that your data is protected is paramount. RxDB, a real-time database for JavaScript applications, offers powerful encryption features that can help you secure your React Native app's data.
-
This article explains why encryption is important, how to set it up with RxDB in React Native, and best practices to keep your app secure.
Encryption ensures that, even if an unauthorized party obtains physical access to your device or intercepts data, they cannot read the information without the encryption key. Sensitive user data such as credentials, personal information, or financial details should always be encrypted. Proper encryption practices reduce the risk of data breaches and help your application remain compliant with regulations like GDPR or HIPAA.
Custom Encryption
-If you need more fine-grained control, you can integrate libraries like crypto-js or the Web Crypto API to encrypt data before storing it in a database or file.
CryptoJS Plugin: A free and straightforward solution for most basic use cases.
-
Web Crypto Plugin: A premium plugin that utilizes the native Web Crypto API for better performance and security.
-
-
Below is an example showing how to set up RxDB using the CryptoJS plugin. This example uses the in-memory storage for testing purposes. In a real production scenario, you would use a persistent storage adapter, mostly the SQLite-based storage.
-
import { createRxDatabase } from 'rxdb';
-import { wrappedKeyEncryptionCryptoJsStorage } from 'rxdb/plugins/encryption-crypto-js';
-
-/*
- * For testing, we use the in-memory storage of RxDB.
- * In production you would use the persistent SQLite based storage instead.
- */
-import { getRxStorageMemory } from 'rxdb/plugins/storage-memory';
-
-async function initEncryptedDatabase() {
- // Wrap the normal storage with the encryption plugin
- const encryptedMemoryStorage = wrappedKeyEncryptionCryptoJsStorage({
- storage: getRxStorageMemory()
- });
-
- // Create an encrypted database
- const db = await createRxDatabase({
- name: 'myEncryptedDatabase',
- storage: encryptedMemoryStorage,
- password: 'sudoLetMeIn' // Make sure not to hardcode in production
- });
-
- // Define a schema and create a collection
- await db.addCollections({
- secureData: {
- schema: {
- title: 'secure data schema',
- version: 0,
- type: 'object',
- primaryKey: 'id',
- properties: {
- id: {
- type: 'string',
- maxLength: 100
- },
- normalField: {
- type: 'string'
- },
- secretField: {
- type: 'string'
- }
- },
- required: ['id', 'normalField', 'secretField']
- }
- }
- });
-
- return db;
-}
Once you've set up the database with encryption, data in fields specified by your schema will be encrypted automatically before it is stored, and decrypted when queried.
-
(async () => {
- const db = await initEncryptedDatabase();
-
- // Insert encrypted data
- const doc = await db.secureData.insert({
- id: 'mySecretId',
- normalField: 'foobar',
- secretField: 'This is top secret data'
- });
-
- // Query encrypted data by its primary key or non-encrypted fields
- const fetchedDoc = await db.secureData.findOne({
- selector: {
- normalField: 'foobar'
- }
- }).exec(true);
- console.log(fetchedDoc.secretField); // 'This is top secret data'
-
- // Update data
- await fetchedDoc.patch({
- secretField: 'Updated secret data'
- });
-})();
-
Note: You can only query directly by non-encrypted fields or primary keys. Encrypted fields cannot be used in queries because they are stored as ciphertext in the database. A common approach is to have a small subset of fields that need to be queried unencrypted while storing any sensitive data in encrypted fields.
Use secure storage solutions like React Native Keychain or react-native-encrypted-storage to fetch the database password at runtime:
-
-
-
-
// Example: using react-native-keychain to securely retrieve a stored password
-import * as Keychain from 'react-native-keychain';
-
-async function getDatabasePassword() {
- const credentials = await Keychain.getGenericPassword();
- if (credentials) {
- return credentials.password;
- }
- throw new Error('No password stored in Keychain');
-}
-
-
Encrypt Attachments:
-If you need to store files (images, text files, etc.), consider encrypting attachments. RxDB supports attachments that can be encrypted automatically, ensuring your files are protected:
If performance is critical, consider using the premium Web Crypto plugin, which leverages native APIs for faster encryption and decryption.
-
If big chunks of data are encrypted, store them in attachments instead of document fields. Attachments will only be decrypted on explicit fetches, not during queries.
-
-
-
-
Use DevMode in Development: RxDB's DevMode Plugin can help validate your schema and encryption setup during development. Disable it in production for performance reasons.
-
-
-
Secure Communication:
-
-
Use HTTPS to secure network communication between the app and any backend services.
-
If you're synchronizing data to a server, ensure the data is also encrypted in transit. RxDB's replication plugins can work with secure endpoints to keep data consistent.
-
-
-
-
SSL Pinning: Consider SSL Pinning if you want to prevent man-in-the-middle attacks. SSL Pinning ensures the device trusts only the pinned certificate, preventing attackers from swapping out valid certificates with their own.
By following these best practices and leveraging RxDB's powerful encryption plugins, you can build secure, performant, and robust React Native applications that keep your users' data safe.
-
-
\ No newline at end of file
diff --git a/docs/articles/react-native-encryption.md b/docs/articles/react-native-encryption.md
deleted file mode 100644
index 4b87c89ee54..00000000000
--- a/docs/articles/react-native-encryption.md
+++ /dev/null
@@ -1,192 +0,0 @@
-# React Native Encryption and Encrypted Database/Storage
-
-> Secure your React Native app with RxDB encryption. Learn why it matters, how to implement encrypted databases, and best practices to protect user data.
-
-# React Native Encryption and Encrypted Database/Storage
-
-Data security is a critical concern in modern mobile applications. As React Native continues to grow in popularity for building cross-platform apps, ensuring that your data is protected is paramount. RxDB, a real-time database for JavaScript applications, offers powerful encryption features that can help you secure your React Native app's data.
-
-This article explains why encryption is important, how to set it up with RxDB in [React Native](../react-native-database.md), and best practices to keep your app secure.
-
-## 🔒 Why Encryption Matters
-
-Encryption ensures that, even if an unauthorized party obtains physical access to your device or intercepts data, they cannot read the information without the encryption key. Sensitive user data such as credentials, personal information, or financial details should always be encrypted. Proper encryption practices reduce the risk of data breaches and help your application remain compliant with regulations like [GDPR](https://gdpr.eu/) or [HIPAA](https://www.hhs.gov/hipaa/index.html).
-
-## React Native Encryption Overview
-
-React Native supports multiple ways to secure local data:
-
-1. **Encrypted Databases**
- Use databases with built-in encryption capabilities, such as SQLite with encryption layers or RxDB with its [encryption plugin](../encryption.md).
-
-2. **Secure Storage Libraries**
- For key-value data (like tokens or secrets), you can use libraries like [react-native-keychain](https://github.com/oblador/react-native-keychain) or [react-native-encrypted-storage](https://github.com/emeraldsanto/react-native-encrypted-storage).
-
-3. **Custom Encryption**
- If you need more fine-grained control, you can integrate libraries like [`crypto-js`](https://github.com/brix/crypto-js) or the [Web Crypto API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Crypto_API) to encrypt data before storing it in a database or file.
-
-
-
-
-
-
-
-## Setting Up Encryption in RxDB for React Native
-
-### 1. Install RxDB and Required Plugins
-
-Install RxDB and the encryption plugin(s) you need. For the CryptoJS plugin:
-
-```bash
-npm install rxdb
-npm install crypto-js
-```
-
-### 2. Set Up Your RxDB Database with Encryption
-
-RxDB offers two [encryption plugins](../encryption.md):
-- **CryptoJS Plugin**: A free and straightforward solution for most basic use cases.
-- **Web Crypto Plugin**: A [premium plugin](/premium) that utilizes the native Web Crypto API for better performance and security.
-
-Below is an example showing how to set up RxDB using the CryptoJS plugin. This example uses the [in-memory storage](../rx-storage-memory.md) for testing purposes. In a real production scenario, you would use a persistent storage adapter, mostly the [SQLite-based storage](../rx-storage-sqlite.md).
-
-```js
-import { createRxDatabase } from 'rxdb';
-import { wrappedKeyEncryptionCryptoJsStorage } from 'rxdb/plugins/encryption-crypto-js';
-
-/*
- * For testing, we use the in-memory storage of RxDB.
- * In production you would use the persistent SQLite based storage instead.
- */
-import { getRxStorageMemory } from 'rxdb/plugins/storage-memory';
-
-async function initEncryptedDatabase() {
- // Wrap the normal storage with the encryption plugin
- const encryptedMemoryStorage = wrappedKeyEncryptionCryptoJsStorage({
- storage: getRxStorageMemory()
- });
-
- // Create an encrypted database
- const db = await createRxDatabase({
- name: 'myEncryptedDatabase',
- storage: encryptedMemoryStorage,
- password: 'sudoLetMeIn' // Make sure not to hardcode in production
- });
-
- // Define a schema and create a collection
- await db.addCollections({
- secureData: {
- schema: {
- title: 'secure data schema',
- version: 0,
- type: 'object',
- primaryKey: 'id',
- properties: {
- id: {
- type: 'string',
- maxLength: 100
- },
- normalField: {
- type: 'string'
- },
- secretField: {
- type: 'string'
- }
- },
- required: ['id', 'normalField', 'secretField']
- }
- }
- });
-
- return db;
-}
-```
-
-### 3. Inserting and Querying Encrypted Data
-
-Once you've set up the database with encryption, data in fields specified by your schema will be encrypted automatically before it is stored, and decrypted when queried.
-
-```js
-(async () => {
- const db = await initEncryptedDatabase();
-
- // Insert encrypted data
- const doc = await db.secureData.insert({
- id: 'mySecretId',
- normalField: 'foobar',
- secretField: 'This is top secret data'
- });
-
- // Query encrypted data by its primary key or non-encrypted fields
- const fetchedDoc = await db.secureData.findOne({
- selector: {
- normalField: 'foobar'
- }
- }).exec(true);
- console.log(fetchedDoc.secretField); // 'This is top secret data'
-
- // Update data
- await fetchedDoc.patch({
- secretField: 'Updated secret data'
- });
-})();
-```
-
-**Note**: You can only query directly by non-encrypted fields or primary keys. Encrypted fields cannot be used in queries because they are stored as ciphertext in the database. A common approach is to have a small subset of fields that need to be queried unencrypted while storing any sensitive data in encrypted fields.
-
-## Best Practices for React Native Encryption
-
-- **Secure Password Handling**
- - Avoid hardcoding passwords or encryption keys.
- - Use secure storage solutions like React Native Keychain or react-native-encrypted-storage to fetch the database password at runtime:
-
-```js
-// Example: using react-native-keychain to securely retrieve a stored password
-import * as Keychain from 'react-native-keychain';
-
-async function getDatabasePassword() {
- const credentials = await Keychain.getGenericPassword();
- if (credentials) {
- return credentials.password;
- }
- throw new Error('No password stored in Keychain');
-}
-```
-
-- **Encrypt Attachments**:
-If you need to store files (images, text files, etc.), consider encrypting attachments. RxDB supports attachments that can be encrypted automatically, ensuring your files are protected:
-
-```ts
-import { createBlob } from 'rxdb/plugins/core';
-const doc = await await db.secureData.findOne({
- selector: {
- normalField: 'foobar'
- }
-}).exec(true);
-const attachment = await doc.putAttachment({
- id: 'encryptedFile.txt',
- data: createBlob('Sensitive content', 'text/plain'),
- type: 'text/plain',
-});
-```
-
-- **Optimize Performance**
- - If performance is critical, consider using the premium Web Crypto plugin, which leverages native APIs for faster encryption and decryption.
- - If big chunks of data are encrypted, store them in attachments instead of document fields. Attachments will only be decrypted on explicit fetches, not during queries.
-
-- **Use DevMode in Development**: RxDB's [DevMode Plugin](../dev-mode.md) can help validate your schema and encryption setup during development. Disable it in production for performance reasons.
-
-- **Secure Communication**:
- - Use HTTPS to secure network communication between the app and any backend services.
- - If you're synchronizing data to a server, ensure the data is also encrypted in transit. RxDB's [replication plugins](../replication.md) can work with secure endpoints to keep data consistent.
-
-- **SSL Pinning**: Consider SSL Pinning if you want to prevent man-in-the-middle attacks. SSL Pinning ensures the device trusts only the pinned certificate, preventing attackers from swapping out valid certificates with their own.
-
-## Follow Up
-
-- Learn how to use RxDB with the [RxDB Quickstart](../quickstart.md) for a guided introduction.
-- A good way to learn using RxDB database with React Native is to check out the [RxDB React Native example](https://github.com/pubkey/rxdb/tree/master/examples/react-native) and use that as a tutorial.
-- Check out the [RxDB GitHub repository](https://github.com/pubkey/rxdb) and leave a star ⭐ if you find it useful.
-- Learn more about the [RxDB encryption plugins](../encryption.md).
-
-By following these best practices and leveraging RxDB's powerful encryption plugins, you can build secure, performant, and robust React Native applications that keep your users' data safe.
diff --git a/docs/articles/reactjs-storage.html b/docs/articles/reactjs-storage.html
deleted file mode 100644
index b4b64b98ba6..00000000000
--- a/docs/articles/reactjs-storage.html
+++ /dev/null
@@ -1,254 +0,0 @@
-
-
-
-
-
-ReactJS Storage - From Basic LocalStorage to Advanced Offline Apps with RxDB | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
ReactJS Storage – From Basic LocalStorage to Advanced Offline Apps with RxDB
-
Modern ReactJS applications often need to store data on the client side. Whether you’re preserving simple user preferences or building offline-ready features, choosing the right storage mechanism can make or break your development experience. In this guide, we’ll start with a basic localStorage approach for minimal data. Then, we’ll explore more powerful, reactive solutions via RxDB—including offline functionality, indexing, preact signals, and even encryption.
-
-
Part 1: Storing Data in ReactJS with LocalStorage
-
localStorage is a built-in browser API for storing key-value pairs in the user’s browser. It’s straightforward to set and get items—ideal for trivial preferences or small usage data.
Downsides of localStorage
-While localStorage is convenient for small amounts of data, it has certain limitations:
-
-
Synchronous: Reading or writing localStorage can block the main thread if data is large.
-
No advanced queries: You only store stringified objects by a single key. Searching or filtering requires manually scanning everything.
-
No concurrency or offline logic: If multiple tabs or users need to manipulate the same data, localStorage doesn’t handle concurrency or sync with a server.
-
No indexing: You can’t perform partial lookups or advanced matching.
-
-
For “remember user preference” use cases, localStorage is excellent. But if your app grows complex—needing structured data, large data sets, or offline-first features—you might quickly surpass localStorage’s utility.
While localStorage is simple, it’s limited to string-based key-value lookups and can be synchronous for all reads/writes. For more robust ReactJS storage needs, browsers also provide IndexedDB—a low-level, asynchronous API that can store larger amounts of JSON data with indexing.
-
LocalStorage:
-
-
Good for small amounts of data (like user settings or flags)
-
String-only storage
-
Single key-value access, no searching by subfields
-
-
IndexedDB:
-
-
Stores large JSON objects, able to index by multiple fields
-
Asynchronous and usually more scalable
-
More complicated to use directly (i.e., not as simple as .getItem())
-RxDB, as you’ll see, simplifies IndexedDB usage in ReactJS by adding a more intuitive layer for queries, reactivity, and advanced capabilities like encryption.
-
-
-
Part 3: Moving Beyond Basic Storage: RxDB for ReactJS
-
When data shapes get complex—large sets of nested documents, or you want offline sync to a server—RxDB can transform your approach to ReactJS storage. It stores documents in (usually) IndexedDB or alternative backends but offers a reactive, NoSQL-based interface.
Reactive Queries: In a React component, you can subscribe to a query via RxDB’s $ property, letting your UI automatically update when data changes. React components can subscribe to updates from .find() queries, letting the UI automatically reflect changes—perfect for dynamic offline-first apps.
By using these reactive queries, your React app knows exactly when data changes locally (or from another browser tab) or from remote sync, keeping your UI in sync effortlessly.
-
Part 4: Using Preact Signals Instead of Observables
-
RxDB typically exposes reactivity via RxJS observables. However, some developers prefer newer reactivity approaches like Preact Signals. RxDB supports them via a special plugin or advanced usage:
-
import { createRxDatabase } from 'rxdb/plugins/core';
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-import { PreactSignalsRxReactivityFactory } from 'rxdb/plugins/reactivity-preact-signals';
-
-(async function setUpRxDBWithSignals() {
- const db = await createRxDatabase({
- name: 'heroDB_signals',
- storage: getRxStorageLocalstorage(),
- reactivity: PreactSignalsRxReactivityFactory
- });
-
- // Create a signal-based query instead of using Observables:
- const collection = db.heroes;
- const heroesSignal = collection.find().$$; // signals version
- // Now you can reference heroesSignal() in Preact or React with adapter usage
-})();
-
Preact Signals rely on signals instead of Observables. Some developers find them more straightforward to adopt, especially for fine-grained reactivity. In ReactJS, you might still prefer RxJS-based subscriptions unless you add bridging code for signals.
For more advanced ReactJS storage needs—especially when sensitive user data is involved - you might want to encrypt stored documents at rest. RxDB provides a robust encryption plugin:
All data in the marked encrypted fields is automatically encrypted at rest. This is crucial if you store user credentials, private messages, or other personal data in your ReactJS application storage.
If you need multi-device or multi-user data synchronization, RxDB provides replication plugins for various endpoints (HTTP, GraphQL, CouchDB, Firestore, etc.). Your local offline changes can then merge automatically with a remote database whenever internet connectivity is restored.
If you’re looking to dive deeper into ReactJS storage topics and take full advantage of RxDB’s offline-first, real-time capabilities, here are some recommended resources:
RxDB Quickstart
-Get a step-by-step tutorial to create your first RxDB-based application in minutes.
-
-
-
RxDB GitHub Repository
-See the source code, open issues, and browse community-driven examples that integrate ReactJS, Preact Signals, and advanced features like encryption.
-
-
-
RxDB Encryption Plugins
-Learn how to encrypt fields in your collections, protecting user data and meeting compliance requirements.
MDN: Using the Web Storage API
-Refresh on localStorage basics, including best practices for small key-value data in traditional React apps.
-
-
-
With these follow-up steps, you can refine your reactjs storage strategy to meet your app’s unique needs, whether it’s simple user preferences or robust offline data syncing.
-
-
\ No newline at end of file
diff --git a/docs/articles/reactjs-storage.md b/docs/articles/reactjs-storage.md
deleted file mode 100644
index 855f8921e3f..00000000000
--- a/docs/articles/reactjs-storage.md
+++ /dev/null
@@ -1,266 +0,0 @@
-# ReactJS Storage - From Basic LocalStorage to Advanced Offline Apps with RxDB
-
-> Discover how to implement reactjs storage using localStorage for quick key-value data, then move on to more robust offline-first approaches with RxDB, IndexedDB, preact signals, encryption plugins, and more.
-
-# ReactJS Storage – From Basic LocalStorage to Advanced Offline Apps with RxDB
-
-Modern **ReactJS** applications often need to store data on the client side. Whether you’re preserving simple user preferences or building offline-ready features, choosing the right **storage** mechanism can make or break your development experience. In this guide, we’ll start with a basic **localStorage** approach for minimal data. Then, we’ll explore more powerful, reactive solutions via [RxDB](/)—including offline functionality, indexing, `preact signals`, and even encryption.
-
----
-
-## Part 1: Storing Data in ReactJS with LocalStorage
-
-`localStorage` is a built-in browser API for storing key-value pairs in the user’s browser. It’s straightforward to set and get items—ideal for trivial preferences or small usage data.
-
-```jsx
-import React, { useState, useEffect } from 'react';
-
-function LocalStorageExample() {
- const [username, setUsername] = useState(() => {
- const saved = localStorage.getItem('username');
- return saved ? JSON.parse(saved) : '';
- });
-
- useEffect(() => {
- localStorage.setItem('username', JSON.stringify(username));
- }, [username]);
-
- return (
-
- ReactJS LocalStorage Demo
- setUsername(e.target.value)}
- placeholder="Enter your username"
- />
- Stored: {username}
-
- );
-}
-
-export default LocalStorageExample;
-```
-
-**Pros** of localStorage in ReactJS:
-
-- Easy to implement quickly for minimal data
-- Built-in to the browser—no extra libs
-- Persistent across sessions
-
-**Downsides of localStorage**
-While localStorage is convenient for small amounts of data, it has certain limitations:
-
-- Synchronous: Reading or writing localStorage can block the main thread if data is large.
-- No advanced queries: You only store stringified objects by a single key. Searching or filtering requires manually scanning everything.
-- No concurrency or offline logic: If multiple tabs or users need to manipulate the same data, localStorage doesn’t handle concurrency or sync with a server.
-- No indexing: You can’t perform partial lookups or advanced matching.
-
-For “remember user preference” use cases, localStorage is excellent. But if your app grows complex—needing structured data, large data sets, or offline-first features—you might quickly surpass localStorage’s utility.
-
-## Part 2: LocalStorage vs. IndexedDB
-
-While localStorage is simple, it’s limited to string-based key-value lookups and can be synchronous for all reads/writes. For more robust ReactJS storage needs, browsers also provide IndexedDB—a low-level, asynchronous API that can store larger amounts of JSON data with indexing.
-
-**LocalStorage:**
-
-- Good for small amounts of data (like user settings or flags)
-- String-only storage
-- Single key-value access, no searching by subfields
-
-**IndexedDB:**
-
-- Stores [large](./indexeddb-max-storage-limit.md) JSON objects, able to index by multiple fields
-- Asynchronous and usually more scalable
-- More complicated to use directly (i.e., not as simple as .getItem())
-[RxDB](/), as you’ll see, simplifies [IndexedDB](../rx-storage-indexeddb.md) usage in ReactJS by adding a more intuitive layer for queries, reactivity, and advanced capabilities like [encryption](../encryption.md).
-
-
-
-
-
-
-
-## Part 3: Moving Beyond Basic Storage: RxDB for ReactJS
-
-When data shapes get complex—large sets of nested documents, or you want offline sync to a server—RxDB can transform your approach to ReactJS storage. It stores documents in (usually) IndexedDB or alternative backends but offers a reactive, NoSQL-based interface.
-
-### RxDB Quick Example (Observables)
-
-```ts
-import { createRxDatabase } from 'rxdb';
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-
-(async function setUpRxDB() {
- const db = await createRxDatabase({
- name: 'heroDB',
- storage: getRxStorageLocalstorage(),
- multiInstance: false
- });
-
- const heroSchema = {
- title: 'hero schema',
- version: 0,
- type: 'object',
- primaryKey: 'id',
- properties: {
- id: { type: 'string' },
- name: { type: 'string' },
- power: { type: 'string' }
- },
- required: ['id', 'name']
- };
-
- await db.addCollections({ heroes: { schema: heroSchema } });
-
- // Insert a doc
- await db.heroes.insert({ id: '1', name: 'AlphaHero', power: 'Lightning' });
-
- // Query docs once
- const allHeroes = await db.heroes.find().exec();
- console.log('Heroes: ', allHeroes);
-})();
-```
-
-Reactive Queries: In a React component, you can subscribe to a query via RxDB’s $ property, letting your UI automatically update when data changes. React components can subscribe to updates from .find() queries, letting the UI automatically reflect changes—perfect for dynamic offline-first apps.
-
-```tsx
-import React, { useEffect, useState } from 'react';
-
-function HeroList({ collection }) {
- const [heroes, setHeroes] = useState([]);
-
- useEffect(() => {
- const query = collection.find();
- // query.$ is an RxJS Observable that emits whenever data changes
- const sub = query.$.subscribe(newHeroes => {
- setHeroes(newHeroes);
- });
-
- return () => sub.unsubscribe(); // clean up subscription
- }, [collection]);
-
- return (
-
- {heroes.map(hero => (
-
- {hero.name} - Power: {hero.power}
-
- ))}
-
- );
-}
-
-export default HeroList;
-```
-
-
-
-By using these reactive queries, your React app knows exactly when data changes locally (or from another browser tab) or from remote sync, keeping your UI in sync effortlessly.
-
-## Part 4: Using Preact Signals Instead of Observables
-
-RxDB typically exposes reactivity via RxJS observables. However, some developers prefer newer reactivity approaches like Preact Signals. RxDB supports them via a special plugin or advanced usage:
-
-```ts
-import { createRxDatabase } from 'rxdb/plugins/core';
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-import { PreactSignalsRxReactivityFactory } from 'rxdb/plugins/reactivity-preact-signals';
-
-(async function setUpRxDBWithSignals() {
- const db = await createRxDatabase({
- name: 'heroDB_signals',
- storage: getRxStorageLocalstorage(),
- reactivity: PreactSignalsRxReactivityFactory
- });
-
- // Create a signal-based query instead of using Observables:
- const collection = db.heroes;
- const heroesSignal = collection.find().$$; // signals version
- // Now you can reference heroesSignal() in Preact or React with adapter usage
-})();
-```
-
-Preact Signals rely on `signals` instead of `Observables`. Some developers find them more straightforward to adopt, especially for fine-grained reactivity. In ReactJS, you might still prefer RxJS-based subscriptions unless you add bridging code for signals.
-
-## Part 5: Encrypting the Storage with RxDB
-
-For more advanced ReactJS storage needs—especially when sensitive user data is involved - you might want to encrypt stored documents at rest. RxDB provides a robust [encryption plugin](../encryption.md):
-
-```ts
-import { createRxDatabase } from 'rxdb';
-import { wrappedKeyEncryptionCryptoJsStorage } from 'rxdb/plugins/encryption-crypto-js';
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-
-(async function secureSetup() {
- const encryptedStorage = wrappedKeyEncryptionCryptoJsStorage({
- storage: getRxStorageLocalstorage()
- });
-
- // Provide a password for encryption
- const db = await createRxDatabase({
- name: 'secureReactStorage',
- storage: encryptedStorage,
- password: 'MyStrongPassword123'
- });
-
- await db.addCollections({
- secrets: {
- schema: {
- title: 'secret schema',
- version: 0,
- type: 'object',
- primaryKey: 'id',
- properties: {
- id: { type: 'string' },
- secretInfo: { type: 'string' }
- },
- required: ['id'],
- encrypted: ['secretInfo'] // field to encrypt
- }
- }
- });
-})();
-```
-
-All data in the marked `encrypted` fields is automatically encrypted at rest. This is crucial if you store user credentials, private messages, or other personal data in your ReactJS application storage.
-
-## Offline Sync
-If you need multi-device or multi-user data synchronization, RxDB provides [replication plugins](../replication.md) for various endpoints (HTTP, [GraphQL](../replication-graphql.md), [CouchDB](../replication-couchdb.md), [Firestore](../replication-firestore.md), etc.). Your [local offline](../offline-first.md) changes can then merge automatically with a remote database whenever internet connectivity is restored.
-
-## Overview: [localStorage vs IndexedDB vs RxDB](./localstorage-indexeddb-cookies-opfs-sqlite-wasm.md)
-
-| **Characteristic** | **localStorage** | **IndexedDB** | **RxDB** |
-|--------------------------|---------------------------------------------------------------------|----------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------|
-| **Data Model** | Key-value store (only strings) | Low-level, JSON-like storage engine with object stores and indexes | NoSQL JSON documents with optional JSON-Schema |
-| **Query Capabilities** | Basic get/set by key; manual parse for more complex searches | Index-based queries, but API is fairly verbose; lacks a high-level query language | JSON-based queries, optional indexes, real-time reactivity |
-| **Observability** | None. Must re-fetch data yourself. | None natively. Must implement eventing or manual re-check. | Built-in reactivity. UI auto-updates via Observables or Preact signals |
-| **Large Data Usage** | Not recommended for large data (blocking, synchronous calls) | Better for large amounts of data, asynchronous reads/writes | Scales for medium to large data. Uses IndexedDB or other storages under the hood |
-| **Concurrency** | Minimal. Overwrites if multiple tabs write simultaneously | Multiple tabs can open the same DB, but must handle concurrency logic carefully | Multi-instance concurrency with built-in conflict resolution plugins if needed |
-| **Offline Sync** | None. Purely local. | None out of the box. Must be implemented manually | Built-in replication to remote endpoints (HTTP, GraphQL, CouchDB, etc.) for offline-first usage |
-| **Encryption** | Not supported natively | Not supported natively; must encrypt data manually before storing | Encryption plugins available. Supports field-level encryption at rest |
-| **Usage** | Great for small flags or settings
-
-## Follow Up
-
-If you’re looking to dive deeper into **ReactJS storage** topics and take full advantage of RxDB’s offline-first, real-time capabilities, here are some recommended resources:
-
-- **[RxDB Official Documentation](../overview.md)**
- Explore detailed guides on setting up storage adapters, defining [JSON schemas](../rx-schema.md), [handling conflicts](../transactions-conflicts-revisions.md), and enabling [offline synchronization](../replication.md).
-
-- **[RxDB Quickstart](https://rxdb.info/quickstart.html)**
- Get a step-by-step tutorial to create your first RxDB-based application in minutes.
-
-- **[RxDB GitHub Repository](https://github.com/pubkey/rxdb)**
- See the source code, open issues, and browse community-driven examples that integrate ReactJS, Preact Signals, and advanced features like encryption.
-
-- **[RxDB Encryption Plugins](https://rxdb.info/encryption.html)**
- Learn how to encrypt fields in your collections, protecting user data and meeting compliance requirements.
-
-- **[Preact Signals React Integration (Example)](https://github.com/preactjs/signals#react)**
- If you want to combine React with signals-based reactivity, check out example code and bridging approaches.
-
-- **[MDN: Using the Web Storage API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Storage_API)**
- Refresh on localStorage basics, including best practices for small key-value data in traditional React apps.
-
-With these follow-up steps, you can refine your **reactjs storage** strategy to meet your app’s unique needs, whether it’s simple user preferences or robust offline data syncing.
diff --git a/docs/articles/realtime-database.html b/docs/articles/realtime-database.html
deleted file mode 100644
index dfe2e57dbb8..00000000000
--- a/docs/articles/realtime-database.html
+++ /dev/null
@@ -1,82 +0,0 @@
-
-
-
-
-
-What Really Is a Realtime Database? | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
I have been building RxDB, a NoSQL realtime JavaScript database for many years.
-Often people get confused by the word realtime database, because the word realtime is so vaguely defined that it can mean everything and nothing at the same time.
-
In this article we will explore what a realtime database is, and more important, what it is not.
When "normal" developers hear the word "realtime", they think of Real-time computing (RTC). Real-time computing is a type of computer processing that guarantees specific response times for tasks or events, crucial in applications like industrial control, automotive systems, and aerospace. It relies on specialized operating systems (RTOS) to ensure predictability and low latency. Hard real-time systems must never miss deadlines, while soft real-time systems can tolerate occasional delays. Real-time responses are often understood to be in the order of milliseconds, and sometimes microseconds.
-
Consider the role of real-time computing in car airbags: sensors detect collision force, swiftly process the data, and immediately decide to deploy the airbags within milliseconds. Such rapid action is imperative for safeguarding passengers. Hence, the controlling chip must guarantee a certain response time - it must operate in "realtime".
-
But when people talk about realtime databases, especially in the web-development world, they almost never mean realtime, as in realtime computing, they mean something else.
-In fact, with any programming language that run on end users devices, it is not even possible to built a "real" realtime database. A program, like a JavaScript (browser or Node.js) process, can be halted by the operating systems task manager at any time and therefore it will never be able to guarantee specific response times. To build a realtime computing database, you would need a realtime capable operating system.
When talking about realtime databases, most people refer to realtime, as in realtime replication.
-Often they mean a very specific product which is the Firebase Realtime Database (not the Firestore).
-
-
In the context of the Firebase Realtime Database, "realtime" means that data changes are synchronized and delivered to all connected clients or devices as soon as they occur, typically within milliseconds. This means that when any client updates, adds, or removes data in the database, all other clients that are connected to the same database instance receive those updates instantly, without the need for manual polling or frequent HTTP requests.
-
In short, when replicating data between databases, instead of polling, we use a websocket connection to live-stream all changes between the server and the clients, this is labeled as "realtime database". A similar thing can be done with RxDB and the RxDB Replication Plugins.
In the context of realtime client-side applications, "realtime" refers to the immediate or near-instantaneous processing and response to events or data inputs. When data changes, the application must directly update to reflect the new data state, without any user interaction or delay. Notice that the change to the data could have come from any source, like a user action, an operation in another browser tab, or even an operation from another device that has been replicated to the client.
-
-
In contrast to push-pull based databases (e.g., MySQL or MongoDB servers), a realtime database contains features which make it easy to build realtime applications. For example with RxDB you can not only fetch query results once, but instead you can subscribe to a query and directly update the HTML dom tree whenever the query has a new result set:
-
await db.heroes.find({
- selector: {
- healthpoints: {
- $gt: 0
- }
- }
-})
-.$ // The $ returns an observable that emits whenever the query's result set changes.
-.subscribe(aliveHeroes => {
- // Refresh the HTML list each time there are new query results.
- const newContent = aliveHeroes.map(doc => '<li>' + doc.name + '</li>');
- document.getElementById('#myList').innerHTML = newContent;
-});
-
-// You can even subscribe to any RxDB document's fields.
-myDocument.firstName$.subscribe(newName => console.log('name is: ' + newName));
-
A competent realtime application is engineered to offer feedback or results swiftly, ideally within milliseconds to microseconds. Ideally, a data modification should be processed in under 16 milliseconds (since 1 second divided by 60 frames equals 16.66ms) to ensure users don't perceive any lag from input to visualization. RxDB utilizes the EventReduce algorithm to manage changes more swiftly than 16ms. However, it can never assure fixed response times as a "realtime computing database" would.
-
-
\ No newline at end of file
diff --git a/docs/articles/realtime-database.md b/docs/articles/realtime-database.md
deleted file mode 100644
index fc0539aa8aa..00000000000
--- a/docs/articles/realtime-database.md
+++ /dev/null
@@ -1,75 +0,0 @@
-# What Really Is a Realtime Database?
-
-> Discover how RxDB merges realtime replication and dynamic updates to deliver seamless data sync across browsers, devices, and servers - instantly.
-
-# What is a realtime database?
-
-I have been building [RxDB](https://rxdb.info/), a NoSQL **realtime** JavaScript database for many years.
-Often people get confused by the word **realtime database**, because the word **realtime** is so vaguely defined that it can mean everything and nothing at the same time.
-
-In this article we will explore what a realtime database is, and more important, what it is not.
-
-
-
-
-
-
-
-## Realtime as in **realtime computing**
-
-When "normal" developers hear the word "realtime", they think of **Real-time computing (RTC)**. Real-time computing is a type of computer processing that **guarantees specific response times** for tasks or events, crucial in applications like industrial control, automotive systems, and aerospace. It relies on specialized operating systems (RTOS) to ensure predictability and low latency. Hard real-time systems must never miss deadlines, while soft real-time systems can tolerate occasional delays. Real-time responses are often understood to be in the order of milliseconds, and sometimes microseconds.
-
-Consider the role of real-time computing in car airbags: sensors detect collision force, swiftly process the data, and immediately decide to deploy the airbags within milliseconds. Such rapid action is imperative for safeguarding passengers. Hence, the controlling chip must **guarantee a certain response time** - it must operate in "realtime".
-
-But when people talk about **realtime databases**, especially in the web-development world, they almost never mean realtime, as in **realtime computing**, they mean something else.
-In fact, with any programming language that run on end users devices, it is not even possible to built a "real" realtime database. A program, like a JavaScript ([browser](./browser-database.md) or [Node.js](../nodejs-database.md)) process, can be halted by the operating systems task manager at any time and therefore it will never be able to guarantee specific response times. To build a realtime computing database, you would need a realtime capable operating system.
-
-## Real time Database as in **realtime replication**
-
-When talking about realtime databases, most people refer to realtime, as in realtime replication.
-Often they mean a very specific product which is the **Firebase Realtime Database** (not the [Firestore](../replication-firestore.md)).
-
-
-
-In the context of the Firebase Realtime Database, "realtime" means that data changes are synchronized and delivered to all connected clients or devices as soon as they occur, typically within milliseconds. This means that when any client updates, adds, or removes data in the database, all other clients that are connected to the same database instance receive those updates instantly, without the need for manual polling or frequent HTTP requests.
-
-In short, when replicating data between databases, instead of polling, we use a [websocket connection](https://developer.mozilla.org/en-US/docs/Web/API/WebSockets_API) to live-stream all changes between the server and the clients, this is labeled as "realtime database". A similar thing can be done with RxDB and the [RxDB Replication Plugins](../replication.md).
-
-
-
-
-
-## Realtime as in **realtime applications**
-
-In the context of realtime client-side applications, "realtime" refers to the immediate or near-instantaneous processing and response to events or data inputs. When data changes, the application must directly update to reflect the new data state, without any user interaction or delay. Notice that the change to the data could have come from any source, like a user action, an operation in another browser tab, or even an operation from another device that has been replicated to the client.
-
-
-
-In contrast to push-pull based databases (e.g., MySQL or MongoDB servers), a realtime database contains **features which make it easy to build realtime applications**. For example with RxDB you can not only fetch query results once, but instead you can subscribe to a query and directly update the HTML dom tree whenever the query has a new result set:
-
-```ts
-await db.heroes.find({
- selector: {
- healthpoints: {
- $gt: 0
- }
- }
-})
-.$ // The $ returns an observable that emits whenever the query's result set changes.
-.subscribe(aliveHeroes => {
- // Refresh the HTML list each time there are new query results.
- const newContent = aliveHeroes.map(doc => '' + doc.name + '');
- document.getElementById('#myList').innerHTML = newContent;
-});
-
-// You can even subscribe to any RxDB document's fields.
-myDocument.firstName$.subscribe(newName => console.log('name is: ' + newName));
-```
-
-A competent realtime application is engineered to offer feedback or results swiftly, ideally within milliseconds to microseconds. Ideally, a data modification should be processed in under **16 milliseconds** (since 1 second divided by 60 frames equals 16.66ms) to ensure users don't perceive any lag from input to visualization. RxDB utilizes the [EventReduce algorithm](https://github.com/pubkey/event-reduce) to manage changes more swiftly than 16ms. However, it can never assure fixed response times as a "realtime computing database" would.
-
-## Follow Up
-
-- Dive into the [RxDB Quickstart](https://rxdb.info/quickstart.html)
-- Discover more about the [RxDB realtime Sync Engine](../replication.md)
-- Join the conversation at [RxDB Chat](https://rxdb.info/chat/)
diff --git a/docs/articles/vue-database.html b/docs/articles/vue-database.html
deleted file mode 100644
index 76449b37750..00000000000
--- a/docs/articles/vue-database.html
+++ /dev/null
@@ -1,188 +0,0 @@
-
-
-
-
-
-RxDB as a Database in a Vue.js Application | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
In the modern web ecosystem, Vue has become a leading choice for building highly performant, reactive single-page applications (SPAs). However, while Vue excels at managing and updating the user interface, robust and efficient data handling also plays a pivotal role in delivering a great user experience. Enter RxDB, a reactive JavaScript database that runs in the browser (and beyond), offering significant capabilities such as offline-first data handling, real-time synchronization, and straightforward integration with Vue's reactivity system.
-
This article explores how RxDB works, why it's a perfect match for Vue, and how you can leverage it to build more engaging, performant, and data-resilient Vue applications.
Vue is renowned for its lightweight core and flexible architecture centered around reactive state management and reusable components. However, modern Vue applications often require:
-
-
Offline Capabilities: Allowing users to continue working even without internet access.
-
Real-Time Updates: Keeping UI data in sync with changes as they occur, whether locally or from other connected clients.
-
Improved Performance: Reducing server round trips and leveraging local storage for faster data operations.
-
Scalable Data Handling: Managing increasingly large datasets or complex queries right in the browser.
-
-
While you can store data in Vuex/Pinia stores or via direct AJAX calls, these solutions may not suffice when your application demands a full-featured offline-first database or complex synchronization with a server. RxDB addresses these needs with a dedicated, reactive, browser-based database that pairs seamlessly with Vue's reactivity system.
RxDB - short for Reactive Database - is built on the principle of combining NoSQL database capabilities with reactive programming. It runs inside your client-side environment (browser, Node.js, or mobile devices) and provides:
-
-
Real-Time Reactivity: Automatically updates subscribed components whenever data changes.
-
Offline-First Approach: Stores data locally and syncs with the server when online connectivity is restored.
-
Data Replication: Effortlessly keeps data synchronized across multiple tabs, devices, or server instances.
-
Multi-Tab Support: Seamlessly propagates changes to all open tabs in the user's browser.
-
Observable Queries: Automatically refresh the result set when documents in your queried collection change.
Compared to traditional approaches - like raw IndexedDB or local storage - RxDB adds a powerful, reactive layer that simplifies your data flow. While tools like Vuex or Pinia are great for state management, they are not fully fledged databases with features like replication, conflict resolution, and offline persistence. RxDB bridges the gap by providing an integrated data handling solution tailor-made for modern, data-intensive Vue applications.
Within your Vue project, you can set up an RxDB instance in a dedicated file or a Vue plugin. Below is an example using Localstorage as the storage engine:
RxDB queries return RxJS observables (.$). Vue can automatically update components when data changes if you manually subscribe and store results in Vue refs/reactive objects, or if you use RxDB's custom reactivity for Vue.
OPFS RxStorage: Uses the File System Access API for even faster storage in modern browsers.
-
Memory RxStorage: Stores data in memory, ideal for tests or ephemeral data.
-
SQLite RxStorage: Runs SQLite, which can be compiled to WebAssembly for the browser. While possible, it typically carries a larger bundle size compared to native browser APIs like IndexedDB or OPFS.
-
-
Choose the storage option that best aligns with your Vue application's requirements for performance, persistence, and platform compatibility.
-
Synchronizing Data with RxDB between Clients and Servers
-
RxDB champions an offline-first approach: data is kept locally so that your Vue app remains usable, even without internet. When connectivity is restored, RxDB ensures your local changes synchronize to the server, resolving conflicts as necessary.
-
-
-
Real-Time Synchronization: With RxDB's replication plugins, any local change can be instantly pushed to a remote endpoint while pulling down remote changes to ensure consistency.
-
Conflict Resolution: In multi-user scenarios, conflicts may arise if two clients update the same document simultaneously. RxDB provides hooks to handle and resolve these gracefully.
-
Scalable Architecture: By reducing reliance on continuous server requests, you can lighten server load and deliver a more responsive user experience.
Vue applications can seamlessly function offline by leveraging RxDB's local database storage. The moment the network is restored, all unsynced data is pushed to the server. This capability is particularly beneficial for Progressive Web Apps (PWAs) and scenarios with spotty connectivity.
Beyond simply returning data, RxDB queries emit observables that respond to any change in the underlying documents. This real-time approach can drastically simplify state management, since updates flow directly into your Vue components without additional manual wiring.
For applications handling sensitive information, RxDB supports encryption of local data. Your data is stored securely in the browser, protecting it from unauthorized access.
By defining indexes on frequently searched fields, you can speed up queries and reduce overall resource usage. This is crucial for larger datasets where performance might otherwise degrade.
This optimization shortens field names in stored JSON documents, thereby reducing storage space and potentially improving performance for read/write operations.
If your users open multiple tabs of your Vue application, RxDB ensures data is synchronized across all instances in real time. Changes made in one tab are immediately reflected in others, creating a unified user experience.
Here are some recommendations to get the most out of RxDB in your Vue projects:
-
-
Centralize Database Creation: Initialize and configure RxDB in a dedicated file or plugin, ensuring only one database instance is created.
-
Leverage Vue's Composition API or a Global Store: Use watchers, refs, or a store like Pinia to neatly manage data subscriptions and updates, preventing scattered subscription logic.
-
Async Subscriptions: Prefer using Vue's lifecycle hooks and the Composition API to manage subscriptions. Clean up subscriptions when components unmount or no longer need the data.
-
Optimize Queries and Indexes: Only query the data you need, and define indexes to speed up lookups.
-
Test Offline Scenarios: Make sure your offline logic works as expected by simulating network disconnections and reconnections.
-
Plan Conflict Resolution: For multi-user apps, decide how to merge concurrent changes to prevent data inconsistencies.
To explore more about RxDB and leverage its capabilities for browser database development, check out the following resources:
-
-
RxDB GitHub Repository: Visit the official GitHub repository of RxDB to access the source code, documentation, and community support.
-
RxDB Quickstart: Get started quickly with RxDB by following the provided quickstart guide, which offers step-by-step instructions for setting up and using RxDB in your projects.
-
RxDB Reactivity for Vue: Discover how RxDB observables can directly produce Vue refs, simplifying integration with your Vue components.
-
RxDB Vue Example at GitHub: Explore an official Vue example to see RxDB in action within a Vue application.
-
RxDB Examples: Browse even more official examples to learn best practices you can apply to your own projects.
-
-
\ No newline at end of file
diff --git a/docs/articles/vue-database.md b/docs/articles/vue-database.md
deleted file mode 100644
index 9616fedefd6..00000000000
--- a/docs/articles/vue-database.md
+++ /dev/null
@@ -1,192 +0,0 @@
-# RxDB as a Database in a Vue.js Application
-
-> Level up your Vue projects with RxDB. Build real-time, resilient, and responsive apps powered by a reactive NoSQL database right in the browser.
-
-# RxDB as a Database in a Vue Application
-
-In the modern web ecosystem, [Vue](https://vuejs.org/) has become a leading choice for building highly performant, reactive single-page applications (SPAs). However, while Vue excels at managing and updating the user interface, robust and efficient data handling also plays a pivotal role in delivering a great user experience. Enter [RxDB](https://rxdb.info/), a reactive JavaScript database that runs in the browser (and beyond), offering significant capabilities such as offline-first data handling, real-time synchronization, and straightforward integration with Vue's reactivity system.
-
-This article explores how RxDB works, why it's a perfect match for Vue, and how you can leverage it to build more engaging, performant, and data-resilient Vue applications.
-
-
-
-
-
-
-
-## Why Vue Applications Need a Database
-Vue is renowned for its lightweight core and flexible architecture centered around reactive state management and reusable components. However, modern Vue applications often require:
-
-- **Offline Capabilities:** Allowing users to continue working even without internet access.
-- **Real-Time Updates:** Keeping UI data in sync with changes as they occur, whether locally or from other connected clients.
-- **Improved Performance:** Reducing server round trips and leveraging local storage for faster data operations.
-- **Scalable Data Handling:** Managing increasingly large datasets or complex queries right in the browser.
-
-While you can store data in Vuex/Pinia stores or via direct AJAX calls, these solutions may not suffice when your application demands a full-featured offline-first database or complex synchronization with a server. RxDB addresses these needs with a dedicated, reactive, browser-based database that pairs seamlessly with Vue's reactivity system.
-
-## Introducing RxDB as a Database Solution
-RxDB - short for Reactive Database - is built on the principle of combining [NoSQL database](./in-memory-nosql-database.md) capabilities with reactive programming. It runs inside your client-side environment (browser, [Node.js](../nodejs-database.md), or [mobile devices](./mobile-database.md)) and provides:
-
-1. **Real-Time Reactivity**: Automatically updates subscribed components whenever data changes.
-2. **Offline-First Approach**: Stores data locally and syncs with the server when online connectivity is restored.
-3. **Data Replication**: Effortlessly keeps data synchronized across multiple tabs, devices, or server instances.
-4. **Multi-Tab Support**: Seamlessly propagates changes to all open tabs in the user's [browser](./browser-database.md).
-5. **Observable Queries**: Automatically refresh the result set when documents in your queried collection change.
-
-### RxDB vs. Other Vue Database Options
-Compared to traditional approaches - like raw IndexedDB or local storage - RxDB adds a powerful, reactive layer that simplifies your data flow. While tools like Vuex or Pinia are great for state management, they are not fully fledged databases with features like replication, conflict resolution, and offline persistence. RxDB bridges the gap by providing an integrated data handling solution tailor-made for modern, data-intensive Vue applications.
-
-## Getting Started with RxDB
-Let's break down the essentials for using RxDB within a Vue application.
-
-### Installation
-You can install RxDB (and RxJS, which it depends on) via npm or yarn:
-
-```bash
-npm install rxdb rxjs
-```
-
-## Creating and Configuring Your Database
-
-Within your Vue project, you can set up an RxDB instance in a dedicated file or a Vue plugin. Below is an example using [Localstorage](./localstorage.md) as the storage engine:
-
-```ts
-// db.js
-import { createRxDatabase } from 'rxdb';
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-
-export async function initDatabase() {
- const db = await createRxDatabase({
- name: 'heroesdb',
- storage: getRxStorageLocalstorage(),
- password: 'myPassword', // optional encryption password
- multiInstance: true, // multi-tab support
- eventReduce: true // optimize event handling
- });
-
- await db.addCollections({
- hero: {
- schema: {
- title: 'hero schema',
- version: 0,
- primaryKey: 'id',
- type: 'object',
- properties: {
- id: { type: 'string' },
- name: { type: 'string' },
- healthpoints: { type: 'number' }
- }
- }
- }
- });
-
- return db;
-}
-```
-
-After creating the RxDB instance, you can share it across your application (for example, by providing it in a plugin or a global property in Vue).
-
-## Vue Reactivity and RxDB Observables
-
-RxDB queries return RxJS observables (`.$`). Vue can automatically update components when data changes if you manually subscribe and store results in Vue refs/reactive objects, or if you use RxDB's [custom reactivity for Vue](../reactivity.md).
-
-**Example with Vue 3 Composition API:**
-
-```js
-// HeroList.vue
-
-
-
-
-
- {{ hero.name }} - HP: {{ hero.healthpoints }}
-
-
-
-```
-
-## Different RxStorage Layers for RxDB
-
-RxDB supports multiple storage backends - called "RxStorage layers" - giving you flexibility in how data is persisted:
-
-- [LocalStorage RxStorage](../rx-storage-localstorage.md): Uses the browsers localstorage API.
-- [IndexedDB RxStorage](../rx-storage-indexeddb.md): Direct usage of native IndexedDB.
-- [OPFS RxStorage](../rx-storage-opfs.md): Uses the File System Access API for even faster storage in modern browsers.
-- [Memory RxStorage](../rx-storage-memory.md): Stores data in memory, ideal for tests or ephemeral data.
-- [SQLite RxStorage](../rx-storage-sqlite.md): Runs SQLite, which can be compiled to WebAssembly for the browser. While possible, it typically carries a larger bundle size compared to native browser APIs like [IndexedDB or OPFS](./localstorage-indexeddb-cookies-opfs-sqlite-wasm.md).
-
-Choose the storage option that best aligns with your Vue application's requirements for performance, persistence, and platform compatibility.
-
-## Synchronizing Data with RxDB between Clients and Servers
-
-RxDB champions an offline-first approach: data is kept locally so that your Vue app remains usable, even without internet. When connectivity is restored, RxDB ensures your local changes synchronize to the server, resolving conflicts as necessary.
-
-- [Real-Time Synchronization](./realtime-database.md): With RxDB's replication plugins, any local change can be instantly pushed to a remote endpoint while pulling down remote changes to ensure consistency.
-- **Conflict Resolution**: In multi-user scenarios, conflicts may arise if two clients update the same document simultaneously. RxDB provides hooks to handle and resolve these gracefully.
-- **Scalable Architecture**: By reducing reliance on continuous server requests, you can lighten server load and deliver a more responsive user experience.
-
-## Advanced RxDB Features and Techniques
-
-### Offline-First Approach
-Vue applications can seamlessly function offline by leveraging RxDB's local database storage. The moment the network is restored, all unsynced data is pushed to the server. This capability is particularly beneficial for Progressive Web Apps (PWAs) and scenarios with spotty connectivity.
-
-### Observable Queries and Change Streams
-Beyond simply returning data, RxDB queries emit observables that respond to any change in the underlying documents. This real-time approach can drastically simplify state management, since updates flow directly into your Vue components without additional manual wiring.
-
-### Encryption of Local Data
-For applications handling sensitive information, RxDB supports [encryption](../encryption.md) of local data. Your data is stored securely in the browser, protecting it from unauthorized access.
-
-### Indexing and Performance Optimization
-By [defining indexes](../rx-schema.md) on frequently searched fields, you can speed up queries and reduce overall resource usage. This is crucial for larger datasets where performance might otherwise degrade.
-
-### JSON Key Compression
-This [optimization](../key-compression.md) shortens field names in stored JSON documents, thereby reducing storage space and potentially improving performance for read/write operations.
-
-### Multi-Tab Support
-If your users open multiple tabs of your Vue application, RxDB ensures data is synchronized across all instances in real time. Changes made in one tab are immediately reflected in others, creating a unified user experience.
-
-
-
-## Best Practices for Using RxDB in Vue
-
-Here are some recommendations to get the most out of RxDB in your Vue projects:
-
-- Centralize Database Creation: Initialize and configure RxDB in a dedicated file or plugin, ensuring only one database instance is created.
-- Leverage Vue's Composition API or a Global Store: Use watchers, refs, or a store like Pinia to neatly manage data subscriptions and updates, preventing scattered subscription logic.
-- Async Subscriptions: Prefer using Vue's lifecycle hooks and the Composition API to manage subscriptions. Clean up subscriptions when components unmount or no longer need the data.
-- Optimize Queries and Indexes: Only query the data you need, and define indexes to speed up lookups.
-- Test [Offline Scenarios](../offline-first.md): Make sure your offline logic works as expected by simulating network disconnections and reconnections.
-- [Plan Conflict Resolution](../transactions-conflicts-revisions.md): For multi-user apps, decide how to merge concurrent changes to prevent data inconsistencies.
-
-## Follow Up
-
-To explore more about RxDB and leverage its capabilities for browser database development, check out the following resources:
-
-- [RxDB GitHub Repository](/code/): Visit the official GitHub repository of RxDB to access the source code, documentation, and community support.
-- [RxDB Quickstart](../quickstart.md): Get started quickly with RxDB by following the provided quickstart guide, which offers step-by-step instructions for setting up and using RxDB in your projects.
-- [RxDB Reactivity for Vue](../reactivity.md): Discover how RxDB observables can directly produce Vue refs, simplifying integration with your Vue components.
-- [RxDB Vue Example at GitHub](https://github.com/pubkey/rxdb/tree/master/examples/vue): Explore an official Vue example to see RxDB in action within a Vue application.
-- [RxDB Examples](https://github.com/pubkey/rxdb/tree/master/examples): Browse even more official examples to learn best practices you can apply to your own projects.
diff --git a/docs/articles/vue-indexeddb.html b/docs/articles/vue-indexeddb.html
deleted file mode 100644
index 496f0791234..00000000000
--- a/docs/articles/vue-indexeddb.html
+++ /dev/null
@@ -1,228 +0,0 @@
-
-
-
-
-
-IndexedDB Database in Vue Apps - The Power of RxDB | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
IndexedDB Database in Vue Apps - The Power of RxDB
-
Building robust, offline-capable Vue applications often involves leveraging browser storage solutions to manage data. IndexedDB is one such powerful tool, but its raw API can be challenging to work with directly. RxDB abstracts away much of IndexedDB's complexity, providing a more developer-friendly experience. In this article, we'll explore what IndexedDB is, why it's beneficial in Vue applications, the challenges of using plain IndexedDB, and how RxDB can simplify your development process while adding advanced features.
IndexedDB is a low-level API for storing significant amounts of structured data in the browser. It provides a transactional database system that can store key-value pairs, complex objects, and more. This storage engine is asynchronous and supports advanced data types, making it suitable for offline storage and complex web applications.
When building Vue applications, IndexedDB can play a crucial role in enhancing both performance and user experience. Here are some reasons to consider using IndexedDB:
-
-
Offline-First / Local-First: By storing data locally, your application remains functional even without an internet connection.
-
Performance: Using local data means zero latency and no loading spinners, as data doesn't need to be fetched over a network.
-
Easier Implementation: Replicating all data to the client once is often simpler than implementing multiple endpoints for each user interaction.
-
Scalability: Local data reduces server load because queries run on the client side, decreasing server bandwidth and processing requirements.
While IndexedDB itself is powerful, its native API comes with several drawbacks for everyday application developers:
-
-
Callback-Based API: IndexedDB was originally designed around callbacks rather than modern Promises, making asynchronous code more cumbersome.
-
Complexity: IndexedDB is low-level, intended for library developers rather than for app developers who just want to store and query data easily.
-
Basic Query API: Its rudimentary query capabilities limit how you can efficiently perform complex queries. Libraries like RxDB offer more advanced querying and indexing.
-
TypeScript Support: Ensuring good TypeScript support with IndexedDB is challenging, especially when trying to maintain schema consistency.
-
Lack of Observable API: IndexedDB doesn't provide an observable API out of the box, making it hard to automatically update your Vue app in real time. RxDB solves this by enabling you to observe queries or specific documents.
-
Cross-Tab Communication: Managing cross-tab updates in plain IndexedDB is difficult. RxDB handles this seamlessly - changes in one tab automatically affect observed data in others.
-
Missing Advanced Features: Features like encryption or compression aren't built into IndexedDB, but they are available via RxDB.
-
Limited Platform Support: IndexedDB is browser-only. RxDB offers swappable storages so you can reuse the same data layer code in mobile or desktop environments.
RxDB excels in providing reactive data capabilities, ideal for real-time applications. Subscribing to queries automatically updates your Vue components when underlying data changes - even across browser tabs.
-
-
Using RxJS Observables with Vue 3 Composition API
-
Here's an example of a Vue component that subscribes to live data updates:
If you're exploring Vue's reactivity transforms or signals, RxDB also offers custom reactivity factories (premium plugins are required). This allows queries to emit data as signals instead of traditional Observables.
-
const heroesSignal = db.heroes.find().$$; // $$ indicates a reactive result
-
-
With this, in your Vue template or script, you can directly read from heroesSignal()
-
<template>
- <div>
- <h2>Hero List</h2>
- <ul>
- <!-- we read heroesSignal.value which is always up to date -->
- <li v-for="hero in heroesSignal.value" :key="hero.id">
- <strong>{{ hero.name }}</strong> - {{ hero.power }}
- </li>
- </ul>
- </div>
-</template>
A comprehensive example of using RxDB within a Vue application can be found in the RxDB GitHub repository. This repository contains sample applications, showcasing best practices and demonstrating how to integrate RxDB for various use cases.
By leveraging RxDB on top of IndexedDB, you can create highly responsive, offline-capable Vue applications without dealing with the low-level complexities of IndexedDB directly. With reactive queries, seamless cross-tab communication, and powerful advanced features, RxDB becomes an invaluable tool in modern web development.
-
-
\ No newline at end of file
diff --git a/docs/articles/vue-indexeddb.md b/docs/articles/vue-indexeddb.md
deleted file mode 100644
index 7f869a47362..00000000000
--- a/docs/articles/vue-indexeddb.md
+++ /dev/null
@@ -1,242 +0,0 @@
-# IndexedDB Database in Vue Apps - The Power of RxDB
-
-> Learn how RxDB simplifies IndexedDB in Vue, offering reactive queries, offline-first capabilities, encryption, compression, and effortless integration.
-
-# IndexedDB Database in Vue Apps - The Power of RxDB
-
-Building robust, [offline-capable](../offline-first.md) Vue applications often involves leveraging browser storage solutions to manage data. IndexedDB is one such powerful tool, but its raw API can be challenging to work with directly. RxDB abstracts away much of IndexedDB's complexity, providing a more developer-friendly experience. In this article, we'll explore what IndexedDB is, why it's beneficial in Vue applications, the challenges of using plain IndexedDB, and how [RxDB](https://rxdb.info/) can simplify your development process while adding advanced features.
-
-## What is IndexedDB?
-
-[IndexedDB](https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API) is a low-level API for storing significant amounts of structured data in the browser. It provides a transactional database system that can store key-value pairs, complex objects, and more. This storage engine is asynchronous and supports advanced data types, making it suitable for offline storage and complex web applications.
-
-
-
-
-
-## Why Use IndexedDB in Vue
-
-When building Vue applications, IndexedDB can play a crucial role in enhancing both performance and user experience. Here are some reasons to consider using IndexedDB:
-
-- **Offline-First / Local-First**: By storing data locally, your application remains functional even without an internet connection.
-- **Performance**: Using local data means [zero latency](./zero-latency-local-first.md) and no loading spinners, as data doesn't need to be fetched over a network.
-- **Easier Implementation**: Replicating all data to the client once is often simpler than implementing multiple endpoints for each user interaction.
-- **Scalability**: Local data reduces server load because queries run on the client side, decreasing server bandwidth and processing requirements.
-
-## Why To Not Use Plain IndexedDB
-
-While IndexedDB itself is powerful, its native API comes with several drawbacks for everyday application developers:
-
-- **Callback-Based API**: IndexedDB was originally designed around callbacks rather than modern Promises, making asynchronous code more cumbersome.
-- **Complexity**: IndexedDB is low-level, intended for library developers rather than for app developers who just want to store and query data easily.
-- **Basic Query API**: Its rudimentary query capabilities limit how you can efficiently perform complex queries. Libraries like RxDB offer more advanced querying and indexing.
-- **TypeScript Support**: Ensuring good [TypeScript support](../tutorials/typescript.md) with IndexedDB is challenging, especially when trying to maintain schema consistency.
-- **Lack of Observable API**: IndexedDB doesn't provide an observable API out of the box, making it hard to automatically update your Vue app in real time. RxDB solves this by enabling you to [observe queries](../rx-query.md#observe) or specific documents.
-- **Cross-Tab Communication**: Managing cross-tab updates in plain IndexedDB is difficult. RxDB handles this seamlessly - changes in one tab automatically affect observed data in others.
-- **Missing Advanced Features**: Features like [encryption](../encryption.md) or [compression](../key-compression.md) aren't built into IndexedDB, but they are available via RxDB.
-- **Limited Platform Support**: IndexedDB is browser-only. RxDB offers [swappable storages](../rx-storage.md) so you can reuse the same data layer code in mobile or desktop environments.
-
-
-
-
-
-
-
-## Set up RxDB in Vue
-
-Setting up RxDB with Vue is straightforward. It abstracts IndexedDB complexities and adds a layer of powerful features over it.
-
-### Installing RxDB
-
-First, install RxDB (and RxJS) from npm:
-
-```bash
-npm install rxdb rxjs --save
-```
-
-### Create a Database and Collections
-
-RxDB provides two main storage options:
-
-- The free [LocalStorage-based storage](../rx-storage-localstorage.md)
-- The premium plain [IndexedDB-based storage](../rx-storage-indexeddb.md), offering faster [performance](../rx-storage-performance.md)
-
-Below is an example of setting up a simple RxDB database using the localstorage-based storage in a Vue app:
-
-```ts
-// db.ts
-import { createRxDatabase } from 'rxdb';
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-
-export async function initDB() {
- const db = await createRxDatabase({
- name: 'heroesdb', // the name of the database
- storage: getRxStorageLocalstorage()
- });
-
- // Define your schema
- const heroSchema = {
- title: 'hero schema',
- version: 0,
- description: 'Describes a hero in your app',
- primaryKey: 'id',
- type: 'object',
- properties: {
- id: {
- type: 'string',
- maxLength: 100
- },
- name: {
- type: 'string'
- },
- power: {
- type: 'string'
- }
- },
- required: ['id', 'name']
- };
-
- // add collections
- await db.addCollections({
- heroes: {
- schema: heroSchema
- }
- });
-
- return db;
-}
-```
-
-### CRUD Operations
-
-Once your database is initialized, you can perform all CRUD operations:
-
-```ts
-// insert
-await db.heroes.insert({ id: '1', name: 'Iron Man', power: 'Genius-level intellect' });
-
-// bulk insert
-await db.heroes.bulkInsert([
- { id: '2', name: 'Thor', power: 'God of Thunder' },
- { id: '3', name: 'Hulk', power: 'Superhuman Strength' }
-]);
-
-// find and findOne
-const heroes = await db.heroes.find().exec();
-const ironMan = await db.heroes.findOne({ selector: { name: 'Iron Man' } }).exec();
-
-// update
-const doc = await db.heroes.findOne({ selector: { name: 'Hulk' } }).exec();
-await doc.update({ $set: { power: 'Unlimited Strength' } });
-
-// delete
-const thorDoc = await db.heroes.findOne({ selector: { name: 'Thor' } }).exec();
-await thorDoc.remove();
-```
-
-## Reactive Queries and Live Updates
-
-RxDB excels in providing reactive data capabilities, ideal for [real-time applications](./realtime-database.md). Subscribing to queries automatically updates your Vue components when underlying data changes - even across [browser](./browser-database.md) tabs.
-
-
-
-### Using RxJS Observables with Vue 3 Composition API
-
-Here's an example of a Vue component that subscribes to live data updates:
-
-```html
-
-
- Hero List
-
-
- {{ hero.name }} - {{ hero.power }}
-
-
-
-
-
-
-```
-
-This component subscribes to the collection's changes, [updating the UI](./optimistic-ui.md) automatically whenever the underlying data changes in any browser tab.
-
-### Using Vue Signals
-
-If you're exploring Vue's reactivity transforms or signals, RxDB also offers [custom reactivity factories](../reactivity.md) ([premium plugins](/premium/) are required). This allows queries to emit data as signals instead of traditional Observables.
-
-```ts
-const heroesSignal = db.heroes.find().$$; // $$ indicates a reactive result
-
-```
-With this, in your Vue template or script, you can directly read from heroesSignal()
-
-```html
-
-
- Hero List
-
-
-
- {{ hero.name }} - {{ hero.power }}
-
-
-
-
-```
-
-## Vue IndexedDB Example with RxDB
-
-A comprehensive example of using RxDB within a Vue application can be found in the [RxDB GitHub repository](https://github.com/pubkey/rxdb/tree/master/examples/vue). This repository contains sample applications, showcasing best practices and demonstrating how to integrate RxDB for various use cases.
-
-## Advanced RxDB Features
-RxDB offers many advanced features that extend beyond basic data storage:
-
-- [RxDB Replication](../replication.md): Synchronize local data with remote databases seamlessly.
-
-- [Data Migration](../migration-schema.md): Handle schema changes gracefully with automatic data migrations.
-
-- [Encryption](../encryption.md): Secure your data with built-in encryption capabilities.
-
-- [Compression](../key-compression.md): Optimize storage using key compression.
-
-## Limitations of IndexedDB
-
-While IndexedDB is powerful, it has some inherent limitations:
-
-- Performance: IndexedDB can be slow under certain conditions. Read more: [Slow IndexedDB](../slow-indexeddb.md)
-- [Storage Limits](./indexeddb-max-storage-limit.md): Browsers impose limits on how much data can be stored. See: [Browser storage limits](./localstorage-indexeddb-cookies-opfs-sqlite-wasm.md#storage-size-limits).
-
-## Alternatives to IndexedDB
-
-Depending on your application's requirements, there are [alternative storage solutions](../rx-storage.md) to consider:
-
-- **Origin Private File System (OPFS)**: A newer API that can offer better performance. RxDB supports OPFS as well. More info: [RxDB OPFS Storage](../rx-storage-opfs.md)
-- **SQLite**: Ideal for hybrid frameworks or Capacitor, offering native performance. Explore: [RxDB SQLite Storage](../rx-storage-sqlite.md)
-
-## Performance Comparison with Other Browser Storages
-Here is a performance overview of the various browser-based storage implementations of RxDB:
-
-
-
-## Follow Up
-- Learn how to use RxDB with the [RxDB Quickstart](../quickstart.md) for a guided introduction.
-- Check out the [RxDB GitHub repository](/code/) and leave a star ⭐ if you find it useful.
-
-By leveraging RxDB on top of IndexedDB, you can create highly responsive, offline-capable Vue applications without dealing with the low-level complexities of IndexedDB directly. With [reactive queries](../rx-query.md), seamless cross-tab communication, and powerful advanced features, RxDB becomes an invaluable tool in modern web development.
diff --git a/docs/articles/websockets-sse-polling-webrtc-webtransport.html b/docs/articles/websockets-sse-polling-webrtc-webtransport.html
deleted file mode 100644
index 7c3d25629c6..00000000000
--- a/docs/articles/websockets-sse-polling-webrtc-webtransport.html
+++ /dev/null
@@ -1,205 +0,0 @@
-
-
-
-
-
-WebSockets vs Server-Sent-Events vs Long-Polling vs WebRTC vs WebTransport | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
WebSockets vs Server-Sent-Events vs Long-Polling vs WebRTC vs WebTransport
-
For modern real-time web applications, the ability to send events from the server to the client is indispensable. This necessity has led to the development of several methods over the years, each with its own set of advantages and drawbacks. Initially, long-polling was the only option available. It was then succeeded by WebSockets, which offered a more robust solution for bidirectional communication. Following WebSockets, Server-Sent Events (SSE) provided a simpler method for one-way communication from server to client. Looking ahead, the WebTransport protocol promises to revolutionize this landscape even further by providing a more efficient, flexible, and scalable approach. For niche use cases, WebRTC might also be considered for server-client events.
-
This article aims to delve into these technologies, comparing their performance, highlighting their benefits and limitations, and offering recommendations for various use cases to help developers make informed decisions when building real-time web applications. It is a condensed summary of my gathered experience when I implemented the RxDB Sync Engine to be compatible with various backend technologies.
Long polling was the first "hack" to enable a server-client messaging method that can be used in browsers over HTTP. The technique emulates server push communications with normal XHR requests. Unlike traditional polling, where the client repeatedly requests data from the server at regular intervals, long polling establishes a connection to the server that remains open until new data is available. Once the server has new information, it sends the response to the client, and the connection is closed. Immediately after receiving the server's response, the client initiates a new request, and the process repeats. This method allows for more immediate data updates and reduces unnecessary network traffic and server load. However, it can still introduce delays in communication and is less efficient than other real-time technologies like WebSockets.
-
// long-polling in a JavaScript client
-function longPoll() {
- fetch('http://example.com/poll')
- .then(response => response.json())
- .then(data => {
- console.log("Received data:", data);
- longPoll(); // Immediately establish a new long polling request
- })
- .catch(error => {
- /**
- * Errors can appear in normal conditions when a
- * connection timeout is reached or when the client goes offline.
- * On errors we just restart the polling after some delay.
- */
- setTimeout(longPoll, 10000);
- });
-}
-longPoll(); // Initiate the long polling
-
Implementing long-polling on the client side is pretty simple, as shown in the code above. However on the backend there can be multiple difficulties to ensure the client receives all events and does not miss out updates when the client is currently reconnecting.
WebSockets provide a full-duplex communication channel over a single, long-lived connection between the client and server. This technology enables browsers and servers to exchange data without the overhead of HTTP request-response cycles, facilitating real-time data transfer for applications like live chat, gaming, or financial trading platforms. WebSockets represent a significant advancement over traditional HTTP by allowing both parties to send data independently once the connection is established, making it ideal for scenarios that require low latency and high-frequency updates.
-
// WebSocket in a JavaScript client
-const socket = new WebSocket('ws://example.com');
-
-socket.onopen = function(event) {
- console.log('Connection established');
- // Sending a message to the server
- socket.send('Hello Server!');
-};
-
-socket.onmessage = function(event) {
- console.log('Message from server:', event.data);
-};
-
While the basics of the WebSocket API are easy to use it has shown to be rather complex in production. A socket can loose connection and must be re-created accordingly. Especially detecting if a connection is still usable or not, can be very tricky. Mostly you would add a ping-and-pong heartbeat to ensure that the open connection is not closed.
-This complexity is why most people use a library on top of WebSockets like Socket.IO which handles all these cases and even provides fallbacks to long-polling if required.
Server-Sent Events (SSE) provide a standard way to push server updates to the client over HTTP. Unlike WebSockets, SSEs are designed exclusively for one-way communication from server to client, making them ideal for scenarios like live news feeds, sports scores, or any situation where the client needs to be updated in real time without sending data to the server.
-
You can think of Server-Sent-Events as a single HTTP request where the backend does not send the whole body at once, but instead keeps the connection open and trickles the answer by sending a single line each time an event has to be send to the client.
-
Creating a connection for receiving events with SSE is straightforward. On the client side in a browser, you initialize an EventSource instance with the URL of the server-side script that generates the events.
-
Listening for messages involves attaching event handlers directly to the EventSource instance. The API distinguishes between generic message events and named events, allowing for more structured communication. Here's how you can set it up in JavaScript:
-
// Connecting to the server-side event stream
-const evtSource = new EventSource("https://example.com/events");
-
-// Handling generic message events
-evtSource.onmessage = event => {
- console.log('got message: ' + event.data);
-};
-
In difference to WebSockets, an EventSource will automatically reconnect on connection loss.
-
On the server side, your script must set the Content-Type header to text/event-stream and format each message according to the SSE specification. This includes specifying event types, data payloads, and optional fields like event ID and retry timing.
-
Here's how you can set up a simple SSE endpoint in a Node.js Express app:
-
import express from 'express';
-const app = express();
-const PORT = process.env.PORT || 3000;
-
-app.get('/events', (req, res) => {
- res.writeHead(200, {
- 'Content-Type': 'text/event-stream',
- 'Cache-Control': 'no-cache',
- 'Connection': 'keep-alive',
- });
-
- const sendEvent = (data) => {
- // all message lines must be prefixed with 'data: '
- const formattedData = `data: ${JSON.stringify(data)}\n\n`;
- res.write(formattedData);
- };
-
- // Send an event every 2 seconds
- const intervalId = setInterval(() => {
- const message = {
- time: new Date().toTimeString(),
- message: 'Hello from the server!',
- };
- sendEvent(message);
- }, 2000);
-
- // Clean up when the connection is closed
- req.on('close', () => {
- clearInterval(intervalId);
- res.end();
- });
-});
-app.listen(PORT, () => console.log(`Server running on http://localhost:${PORT}`));
WebTransport is a cutting-edge API designed for efficient, low-latency communication between web clients and servers. It leverages the HTTP/3 QUIC protocol to enable a variety of data transfer capabilities, such as sending data over multiple streams, in both reliable and unreliable manners, and even allowing data to be sent out of order. This makes WebTransport a powerful tool for applications requiring high-performance networking, such as real-time gaming, live streaming, and collaborative platforms. However, it's important to note that WebTransport is currently a working draft and has not yet achieved widespread adoption.
-As of now (March 2024), WebTransport is in a Working Draft and not widely supported. You cannot yet use WebTransport in the Safari browser and there is also no native support in Node.js. This limits its usability across different platforms and environments.
-
Even when WebTransport will become widely supported, its API is very complex to use and likely it would be something where people build libraries on top of WebTransport, not using it directly in an application's sourcecode.
WebRTC (Web Real-Time Communication) is an open-source project and API standard that enables real-time communication (RTC) capabilities directly within web browsers and mobile applications without the need for complex server infrastructure or the installation of additional plugins. It supports peer-to-peer connections for streaming audio, video, and data exchange between browsers. WebRTC is designed to work through NATs and firewalls, utilizing protocols like ICE, STUN, and TURN to establish a connection between peers.
-
While WebRTC is made to be used for client-client interactions, it could also be leveraged for server-client communication where the server just simulated being also a client. This approach only makes sense for niche use cases which is why in the following WebRTC will be ignored as an option.
-
The problem is that for WebRTC to work, you need a signaling-server anyway which would then again run over websockets, SSE or WebTransport. This defeats the purpose of using WebRTC as a replacement for these technologies.
Only WebSockets and WebTransport allow to send data in both directions so that you can receive server-data and send client-data over the same connection.
-
While it would also be possible with Long-Polling in theory, it is not recommended because sending "new" data to an existing long-polling connection would require
-to do an additional http-request anyway. So instead of doing that you can send data directly from the client to the server with an additional http-request without interrupting
-the long-polling connection.
-
Server-Sent-Events do not support sending any additional data to the server. You can only do the initial request, and even there you cannot send POST-like data in the http-body by default with the native EventSource API. Instead you have to put all data inside of the url parameters which is considered a bad practice for security because credentials might leak into server logs, proxies and caches. To fix this problem, RxDB for example uses the eventsource polyfill instead of the native EventSource API. This library adds additional functionality like sending custom http headers. Also there is this library from microsoft which allows to send body data and use POST requests instead of GET.
Most modern browsers allow six connections per domain () which limits the usability of all steady server-to-client messaging methods. The limitation of six connections is even shared across browser tabs so when you open the same page in multiple tabs, they would have to shared the six-connection-pool with each other. This limitation is part of the HTTP/1.1-RFC (which even defines a lower number of only two connections).
-
-
Quote From RFC 2616 - Section 8.1.4: "Clients that use persistent connections SHOULD limit the number of simultaneous connections that they maintain to a given server. A single-user client SHOULD NOT maintain more than 2 connections with any server or proxy. A proxy SHOULD use up to 2*N connections to another server or proxy, where N is the number of simultaneously active users. These guidelines are intended to improve HTTP response times and avoid congestion."
-
-
While that policy makes sense to prevent website owners from using their visitors to D-DOS other websites, it can be a big problem when multiple connections are required to handle server-client communication for legitimate use cases. To workaround the limitation you have to use HTTP/2 or HTTP/3 with which the browser will only open a single connection per domain and then use multiplexing to run all data through a single connection. While this gives you a virtually infinity amount of parallel connections, there is a SETTINGS_MAX_CONCURRENT_STREAMS setting which limits the actually connections amount. The default is 100 concurrent streams for most configurations.
-
In theory the connection limit could also be increased by the browser, at least for specific APIs like EventSource, but the issues have been marked as "won't fix" by chromium and firefox.
-
Lower the amount of connections in Browser Apps
When you build a browser application, you have to assume that your users will use the app not only once, but in multiple browser tabs in parallel.
-By default you likely will open one server-stream-connection per tab which is often not necessary at all. Instead you open only a single connection and shared it between tabs, no matter how many tabs are open. RxDB does that with the LeaderElection from the broadcast-channel npm package to only have one stream of replication between server and clients. You can use that package standalone (without RxDB) for any type of application.
In the context of mobile applications running on operating systems like Android and iOS, maintaining open connections, such as those used for WebSockets and the others, poses a significant challenge. Mobile operating systems are designed to automatically move applications into the background after a certain period of inactivity, effectively closing any open connections. This behavior is a part of the operating system's resource management strategy to conserve battery and optimize performance. As a result, developers often rely on mobile push notifications as an efficient and reliable method to send data from servers to clients. Push notifications allow servers to alert the application of new data, prompting an action or update, without the need for a persistent open connection.
From consulting many RxDB users, it was shown that in enterprise environments (aka "at work") it is often hard to implement a WebSocket server into the infrastructure because many proxies and firewalls block non-HTTP connections. Therefore using the Server-Sent-Events provides and easier way of enterprise integration. Also long-polling uses only plain HTTP-requests and might be an option.
Comparing the performance of WebSockets, Server-Sent Events (SSE), Long-Polling and WebTransport directly involves evaluating key aspects such as latency, throughput, server load, and scalability under various conditions.
-
First lets look at the raw numbers. A good performance comparison can be found in this repo which tests the messages times in a Go Lang server implementation. Here we can see that the performance of WebSockets, WebRTC and WebTransport are comparable:
-
-
note
Remember that WebTransport is a pretty new technology based on the also new HTTP/3 protocol. In the future (after March 2024) there might be more performance optimizations. Also WebTransport is optimized to use less power which metric is not tested.
-
Lets also compare the Latency, the throughput and the scalability:
WebSockets: Offers the lowest latency due to its full-duplex communication over a single, persistent connection. Ideal for real-time applications where immediate data exchange is critical.
-
Server-Sent Events: Also provides low latency for server-to-client communication but cannot natively send messages back to the server without additional HTTP requests.
-
Long-Polling: Incurs higher latency as it relies on establishing new HTTP connections for each data transmission, making it less efficient for real-time updates. Also it can occur that the server wants to send an event when the client is still in the process of opening a new connection. In these cases the latency would be significantly larger.
-
WebTransport: Promises to offer low latency similar to WebSockets, with the added benefits of leveraging the HTTP/3 protocol for more efficient multiplexing and congestion control.
WebSockets: Capable of high throughput due to its persistent connection, but throughput can suffer from backpressure where the client cannot process data as fast as the server is capable of sending it.
-
Server-Sent Events: Efficient for broadcasting messages to many clients with less overhead than WebSockets, leading to potentially higher throughput for unidirectional server-to-client communication.
-
Long-Polling: Generally offers lower throughput due to the overhead of frequently opening and closing connections, which consumes more server resources.
-
WebTransport: Expected to support high throughput for both unidirectional and bidirectional streams within a single connection, outperforming WebSockets in scenarios requiring multiple streams.
WebSockets: Maintaining a large number of WebSocket connections can significantly increase server load, potentially affecting scalability for applications with many users.
-
Server-Sent Events: More scalable for scenarios that primarily require updates from server to client, as it uses less connection overhead than WebSockets because it uses "normal" HTTP request without things like protocol updates that have to be run with WebSockets.
-
Long-Polling: The least scalable due to the high server load generated by frequent connection establishment, making it suitable only as a fallback mechanism.
-
WebTransport: Designed to be highly scalable, benefiting from HTTP/3's efficiency in handling connections and streams, potentially reducing server load compared to WebSockets and SSE.
In the landscape of server-client communication technologies, each has its distinct advantages and use case suitability. Server-Sent Events (SSE) emerge as the most straightforward option to implement, leveraging the same HTTP/S protocols as traditional web requests, thereby circumventing corporate firewall restrictions and other technical problems that can appear with other protocols. They are easily integrated into Node.js and other server frameworks, making them an ideal choice for applications requiring frequent server-to-client updates, such as news feeds, stock tickers, and live event streaming.
-
On the other hand, WebSockets excel in scenarios demanding ongoing, two-way communication. Their ability to support continuous interaction makes them the prime choice for browser games, chat applications, and live sports updates.
-
However, WebTransport, despite its potential, faces adoption challenges. It is not widely supported by server frameworks including Node.js and lacks compatibility with safari. Moreover, its reliance on HTTP/3 further limits its immediate applicability because many WebServers like nginx only have experimental HTTP/3 support. While promising for future applications with its support for both reliable and unreliable data transmission, WebTransport is not yet a viable option for most use cases.
-
Long-Polling, once a common technique, is now largely outdated due to its inefficiency and the high overhead of repeatedly establishing new HTTP connections. Although it may serve as a fallback in environments lacking support for WebSockets or SSE, its use is generally discouraged due to significant performance limitations.
When a client is connecting, reconnecting or offline, it can miss out events that happened on the server but could not be streamed to the client.
-This missed out events are not relevant when the server is streaming the full content each time anyway, like on a live updating stock ticker.
-But when the backend is made to stream partial results, you have to account for missed out events. Fixing that on the backend scales pretty bad because the backend would have to remember for each client which events have been successfully send already. Instead this should be implemented with client side logic.
-
The RxDB Sync Engine for example uses two modes of operation for that. One is the checkpoint iteration mode where normal http requests are used to iterate over backend data, until the client is in sync again. Then it can switch to event observation mode where updates from the realtime-stream are used to keep the client in sync. Whenever a client disconnects or has any error, the replication shortly switches to checkpoint iteration mode until the client is in sync again. This method accounts for missed out events and ensures that clients can always sync to the exact equal state of the server.
There are many known problems with company infrastructure when using any of the streaming technologies. Proxies and firewall can block traffic or unintentionally break requests and responses. Whenever you implement a realtime app in such an infrastructure, make sure you first test out if the technology itself works for you.
-
-
\ No newline at end of file
diff --git a/docs/articles/websockets-sse-polling-webrtc-webtransport.md b/docs/articles/websockets-sse-polling-webrtc-webtransport.md
deleted file mode 100644
index ab3e79eba45..00000000000
--- a/docs/articles/websockets-sse-polling-webrtc-webtransport.md
+++ /dev/null
@@ -1,252 +0,0 @@
-# WebSockets vs Server-Sent-Events vs Long-Polling vs WebRTC vs WebTransport
-
-> Learn the unique benefits and pitfalls of each real-time tech. Make informed decisions on WebSockets, SSE, Polling, WebRTC, and WebTransport.
-
-# WebSockets vs Server-Sent-Events vs Long-Polling vs WebRTC vs WebTransport
-
-For modern real-time web applications, the ability to send events from the server to the client is indispensable. This necessity has led to the development of several methods over the years, each with its own set of advantages and drawbacks. Initially, [long-polling](#what-is-long-polling) was the only option available. It was then succeeded by [WebSockets](#what-are-websockets), which offered a more robust solution for bidirectional communication. Following WebSockets, [Server-Sent Events (SSE)](#what-are-server-sent-events) provided a simpler method for one-way communication from server to client. Looking ahead, the [WebTransport](#what-is-the-webtransport-api) protocol promises to revolutionize this landscape even further by providing a more efficient, flexible, and scalable approach. For niche use cases, [WebRTC](#what-is-webrtc) might also be considered for server-client events.
-
-This article aims to delve into these technologies, comparing their performance, highlighting their benefits and limitations, and offering recommendations for various use cases to help developers make informed decisions when building real-time web applications. It is a condensed summary of my gathered experience when I implemented the [RxDB Sync Engine](../replication.md) to be compatible with various backend technologies.
-
-
-
-
-
-
-
-### What is Long Polling?
-
-Long polling was the first "hack" to enable a server-client messaging method that can be used in browsers over HTTP. The technique emulates server push communications with normal XHR requests. Unlike traditional polling, where the client repeatedly requests data from the server at regular intervals, long polling establishes a connection to the server that remains open until new data is available. Once the server has new information, it sends the response to the client, and the connection is closed. Immediately after receiving the server's response, the client initiates a new request, and the process repeats. This method allows for more immediate data updates and reduces unnecessary network traffic and server load. However, it can still introduce delays in communication and is less efficient than other real-time technologies like WebSockets.
-
-```js
-// long-polling in a JavaScript client
-function longPoll() {
- fetch('http://example.com/poll')
- .then(response => response.json())
- .then(data => {
- console.log("Received data:", data);
- longPoll(); // Immediately establish a new long polling request
- })
- .catch(error => {
- /**
- * Errors can appear in normal conditions when a
- * connection timeout is reached or when the client goes offline.
- * On errors we just restart the polling after some delay.
- */
- setTimeout(longPoll, 10000);
- });
-}
-longPoll(); // Initiate the long polling
-```
-
-Implementing long-polling on the client side is pretty simple, as shown in the code above. However on the backend there can be multiple difficulties to ensure the client receives all events and does not miss out updates when the client is currently reconnecting.
-
-### What are WebSockets?
-
-[WebSockets](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket?retiredLocale=de) provide a full-duplex communication channel over a single, long-lived connection between the client and server. This technology enables browsers and servers to exchange data without the overhead of HTTP request-response cycles, facilitating real-time data transfer for applications like live chat, gaming, or financial trading platforms. WebSockets represent a significant advancement over traditional HTTP by allowing both parties to send data independently once the connection is established, making it ideal for scenarios that require low latency and high-frequency updates.
-
-```js
-// WebSocket in a JavaScript client
-const socket = new WebSocket('ws://example.com');
-
-socket.onopen = function(event) {
- console.log('Connection established');
- // Sending a message to the server
- socket.send('Hello Server!');
-};
-
-socket.onmessage = function(event) {
- console.log('Message from server:', event.data);
-};
-```
-
-While the basics of the WebSocket API are easy to use it has shown to be rather complex in production. A socket can loose connection and must be re-created accordingly. Especially detecting if a connection is still usable or not, can be very tricky. Mostly you would add a [ping-and-pong](https://developer.mozilla.org/en-US/docs/Web/API/WebSockets_API/Writing_WebSocket_servers#pings_and_pongs_the_heartbeat_of_websockets) heartbeat to ensure that the open connection is not closed.
-This complexity is why most people use a library on top of WebSockets like [Socket.IO](https://socket.io/) which handles all these cases and even provides fallbacks to long-polling if required.
-
-### What are Server-Sent-Events?
-
-Server-Sent Events (SSE) provide a standard way to push server updates to the client over HTTP. Unlike WebSockets, SSEs are designed exclusively for one-way communication from server to client, making them ideal for scenarios like live news feeds, sports scores, or any situation where the client needs to be updated in real time without sending data to the server.
-
-You can think of Server-Sent-Events as a single HTTP request where the backend does not send the whole body at once, but instead keeps the connection open and trickles the answer by sending a single line each time an event has to be send to the client.
-
-Creating a connection for receiving events with SSE is straightforward. On the client side in a browser, you initialize an [EventSource](https://developer.mozilla.org/en-US/docs/Web/API/EventSource) instance with the URL of the server-side script that generates the events.
-
-Listening for messages involves attaching event handlers directly to the EventSource instance. The API distinguishes between generic message events and named events, allowing for more structured communication. Here's how you can set it up in JavaScript:
-
-```js
-// Connecting to the server-side event stream
-const evtSource = new EventSource("https://example.com/events");
-
-// Handling generic message events
-evtSource.onmessage = event => {
- console.log('got message: ' + event.data);
-};
-```
-
-In difference to WebSockets, an EventSource will automatically reconnect on connection loss.
-
-On the server side, your script must set the `Content-Type` header to `text/event-stream` and format each message according to the [SSE specification](https://www.w3.org/TR/2012/WD-eventsource-20120426/). This includes specifying event types, data payloads, and optional fields like event ID and retry timing.
-
-Here's how you can set up a simple SSE endpoint in a Node.js Express app:
-
-```ts
-import express from 'express';
-const app = express();
-const PORT = process.env.PORT || 3000;
-
-app.get('/events', (req, res) => {
- res.writeHead(200, {
- 'Content-Type': 'text/event-stream',
- 'Cache-Control': 'no-cache',
- 'Connection': 'keep-alive',
- });
-
- const sendEvent = (data) => {
- // all message lines must be prefixed with 'data: '
- const formattedData = `data: ${JSON.stringify(data)}\n\n`;
- res.write(formattedData);
- };
-
- // Send an event every 2 seconds
- const intervalId = setInterval(() => {
- const message = {
- time: new Date().toTimeString(),
- message: 'Hello from the server!',
- };
- sendEvent(message);
- }, 2000);
-
- // Clean up when the connection is closed
- req.on('close', () => {
- clearInterval(intervalId);
- res.end();
- });
-});
-app.listen(PORT, () => console.log(`Server running on http://localhost:${PORT}`));
-```
-
-### What is the WebTransport API?
-
-WebTransport is a cutting-edge API designed for efficient, low-latency communication between web clients and servers. It leverages the [HTTP/3 QUIC protocol](https://en.wikipedia.org/wiki/HTTP/3) to enable a variety of data transfer capabilities, such as sending data over multiple streams, in both reliable and unreliable manners, and even allowing data to be sent out of order. This makes WebTransport a powerful tool for applications requiring high-performance networking, such as real-time gaming, live streaming, and collaborative platforms. However, it's important to note that WebTransport is currently a working draft and has not yet achieved widespread adoption.
-As of now (March 2024), WebTransport is in a [Working Draft](https://w3c.github.io/webtransport/) and not widely supported. You cannot yet use WebTransport in the [Safari browser](https://caniuse.com/webtransport) and there is also no native support [in Node.js](https://github.com/w3c/webtransport/issues/511). This limits its usability across different platforms and environments.
-
-Even when WebTransport will become widely supported, its API is very complex to use and likely it would be something where people build libraries on top of WebTransport, not using it directly in an application's sourcecode.
-
-### What is WebRTC?
-
-[WebRTC](https://webrtc.org/) (Web Real-Time Communication) is an open-source project and API standard that enables real-time communication (RTC) capabilities directly within web browsers and mobile applications without the need for complex server infrastructure or the installation of additional plugins. It supports peer-to-peer connections for streaming audio, video, and data exchange between browsers. [WebRTC](../replication-webrtc.md) is designed to work through NATs and firewalls, utilizing protocols like ICE, STUN, and TURN to establish a connection between peers.
-
-While WebRTC is made to be used for client-client interactions, it could also be leveraged for server-client communication where the server just simulated being also a client. This approach only makes sense for niche use cases which is why in the following WebRTC will be ignored as an option.
-
-The problem is that for WebRTC to work, you need a signaling-server anyway which would then again run over websockets, SSE or WebTransport. This defeats the purpose of using WebRTC as a replacement for these technologies.
-
-## Limitations of the technologies
-
-### Sending Data in both directions
-
-Only WebSockets and WebTransport allow to send data in both directions so that you can receive server-data and send client-data over the same connection.
-
-While it would also be possible with **Long-Polling** in theory, it is not recommended because sending "new" data to an existing long-polling connection would require
-to do an additional http-request anyway. So instead of doing that you can send data directly from the client to the server with an additional http-request without interrupting
-the long-polling connection.
-
-**Server-Sent-Events** do not support sending any additional data to the server. You can only do the initial request, and even there you cannot send POST-like data in the http-body by default with the native [EventSource API](https://developer.mozilla.org/en-US/docs/Web/API/EventSource). Instead you have to put all data inside of the url parameters which is considered a bad practice for security because credentials might leak into server logs, proxies and caches. To fix this problem, [RxDB](https://rxdb.info/) for example uses the [eventsource polyfill](https://github.com/EventSource/eventsource) instead of the native `EventSource API`. This library adds additional functionality like sending **custom http headers**. Also there is [this library](https://github.com/Azure/fetch-event-source) from microsoft which allows to send body data and use `POST` requests instead of `GET`.
-
-### 6-Requests per Domain Limit
-
-Most modern browsers allow six connections per domain () which limits the usability of all steady server-to-client messaging methods. The limitation of six connections is even shared across browser tabs so when you open the same page in multiple tabs, they would have to shared the six-connection-pool with each other. This limitation is part of the HTTP/1.1-RFC (which even defines a lower number of only two connections).
-
-> Quote From [RFC 2616 - Section 8.1.4](https://www.w3.org/Protocols/rfc2616/rfc2616-sec8.html#sec8.1.4): "Clients that use persistent connections SHOULD limit the number of simultaneous connections that they maintain to a given server. A single-user client SHOULD NOT maintain more than **2 connections** with any server or proxy. A proxy SHOULD use up to 2*N connections to another server or proxy, where N is the number of simultaneously active users. These guidelines are intended to improve HTTP response times and avoid congestion."
-
-While that policy makes sense to prevent website owners from using their visitors to D-DOS other websites, it can be a big problem when multiple connections are required to handle server-client communication for legitimate use cases. To workaround the limitation you have to use HTTP/2 or HTTP/3 with which the browser will only open a single connection per domain and then use multiplexing to run all data through a single connection. While this gives you a virtually infinity amount of parallel connections, there is a [SETTINGS_MAX_CONCURRENT_STREAMS](https://www.rfc-editor.org/rfc/rfc7540#section-6.5.2) setting which limits the actually connections amount. The default is 100 concurrent streams for most configurations.
-
-In theory the connection limit could also be increased by the browser, at least for specific APIs like EventSource, but the issues have been marked as "won't fix" by [chromium](https://issues.chromium.org/issues/40329530) and [firefox](https://bugzilla.mozilla.org/show_bug.cgi?id=906896).
-
-:::note Lower the amount of connections in Browser Apps
-When you build a browser application, you have to assume that your users will use the app not only once, but in multiple browser tabs in parallel.
-By default you likely will open one server-stream-connection per tab which is often not necessary at all. Instead you open only a single connection and shared it between tabs, no matter how many tabs are open. [RxDB](https://rxdb.info/) does that with the [LeaderElection](../leader-election.md) from the [broadcast-channel npm package](https://github.com/pubkey/broadcast-channel) to only have one stream of replication between server and clients. You can use that package standalone (without RxDB) for any type of application.
-:::
-
-### Connections are not kept open on mobile apps
-
-In the context of mobile applications running on operating systems like Android and iOS, maintaining open connections, such as those used for WebSockets and the others, poses a significant challenge. Mobile operating systems are designed to automatically move applications into the background after a certain period of inactivity, effectively closing any open connections. This behavior is a part of the operating system's resource management strategy to conserve battery and optimize performance. As a result, developers often rely on **mobile push notifications** as an efficient and reliable method to send data from servers to clients. Push notifications allow servers to alert the application of new data, prompting an action or update, without the need for a persistent open connection.
-
-### Proxies and Firewalls
-
-From consulting many [RxDB](https://rxdb.info/) users, it was shown that in enterprise environments (aka "at work") it is often hard to implement a WebSocket server into the infrastructure because many proxies and firewalls block non-HTTP connections. Therefore using the Server-Sent-Events provides and easier way of enterprise integration. Also long-polling uses only plain HTTP-requests and might be an option.
-
-
-
-
-
-
-
-## Performance Comparison
-
-Comparing the performance of WebSockets, Server-Sent Events (SSE), Long-Polling and WebTransport directly involves evaluating key aspects such as latency, throughput, server load, and scalability under various conditions.
-
-First lets look at the raw numbers. A good performance comparison can be found in [this repo](https://github.com/Sh3b0/realtime-web?tab=readme-ov-file#demos) which tests the messages times in a [Go Lang](https://go.dev/) server implementation. Here we can see that the performance of WebSockets, WebRTC and WebTransport are comparable:
-
-
-
-
-
-
-
-:::note
-Remember that WebTransport is a pretty new technology based on the also new HTTP/3 protocol. In the future (after March 2024) there might be more performance optimizations. Also WebTransport is optimized to use less power which metric is not tested.
-:::
-
-Lets also compare the Latency, the throughput and the scalability:
-
-### Latency
-- **WebSockets**: Offers the lowest latency due to its full-duplex communication over a single, persistent connection. Ideal for real-time applications where immediate data exchange is critical.
-- **Server-Sent Events**: Also provides low latency for server-to-client communication but cannot natively send messages back to the server without additional HTTP requests.
-- **Long-Polling**: Incurs higher latency as it relies on establishing new HTTP connections for each data transmission, making it less efficient for real-time updates. Also it can occur that the server wants to send an event when the client is still in the process of opening a new connection. In these cases the latency would be significantly larger.
-- **WebTransport**: Promises to offer low latency similar to WebSockets, with the added benefits of leveraging the HTTP/3 protocol for more efficient multiplexing and congestion control.
-
-### Throughput
-- **WebSockets**: Capable of high throughput due to its persistent connection, but throughput can suffer from [backpressure](https://chromestatus.com/feature/5189728691290112) where the client cannot process data as fast as the server is capable of sending it.
-- **Server-Sent Events**: Efficient for broadcasting messages to many clients with less overhead than WebSockets, leading to potentially higher throughput for unidirectional server-to-client communication.
-- **Long-Polling**: Generally offers lower throughput due to the overhead of frequently opening and closing connections, which consumes more server resources.
-- **WebTransport**: Expected to support high throughput for both unidirectional and bidirectional streams within a single connection, outperforming WebSockets in scenarios requiring multiple streams.
-
-### Scalability and Server Load
-- **WebSockets**: Maintaining a large number of WebSocket connections can significantly increase server load, potentially affecting scalability for applications with many users.
-- **Server-Sent Events**: More scalable for scenarios that primarily require updates from server to client, as it uses less connection overhead than WebSockets because it uses "normal" HTTP request without things like [protocol updates](https://developer.mozilla.org/en-US/docs/Web/HTTP/Protocol_upgrade_mechanism) that have to be run with WebSockets.
-- **Long-Polling**: The least scalable due to the high server load generated by frequent connection establishment, making it suitable only as a fallback mechanism.
-- **WebTransport**: Designed to be highly scalable, benefiting from HTTP/3's efficiency in handling connections and streams, potentially reducing server load compared to WebSockets and SSE.
-
-## Recommendations and Use-Case Suitability
-
-In the landscape of server-client communication technologies, each has its distinct advantages and use case suitability. **Server-Sent Events** (SSE) emerge as the most straightforward option to implement, leveraging the same HTTP/S protocols as traditional web requests, thereby circumventing corporate firewall restrictions and other technical problems that can appear with other protocols. They are easily integrated into Node.js and other server frameworks, making them an ideal choice for applications requiring frequent server-to-client updates, such as news feeds, stock tickers, and live event streaming.
-
-On the other hand, **WebSockets** excel in scenarios demanding ongoing, two-way communication. Their ability to support continuous interaction makes them the prime choice for browser games, chat applications, and live sports updates.
-
-However, **WebTransport**, despite its potential, faces adoption challenges. It is not widely supported by server frameworks [including Node.js](https://github.com/w3c/webtransport/issues/511) and lacks compatibility with [safari](https://caniuse.com/webtransport). Moreover, its reliance on HTTP/3 further limits its immediate applicability because many WebServers like nginx only have [experimental](https://nginx.org/en/docs/quic.html) HTTP/3 support. While promising for future applications with its support for both reliable and unreliable data transmission, WebTransport is not yet a viable option for most use cases.
-
-**Long-Polling**, once a common technique, is now largely outdated due to its inefficiency and the high overhead of repeatedly establishing new HTTP connections. Although it may serve as a fallback in environments lacking support for WebSockets or SSE, its use is generally discouraged due to significant performance limitations.
-
-## Known Problems
-
-For all of the realtime streaming technologies, there are known problems. When you build anything on top of them, keep these in mind.
-
-### A client can miss out events when reconnecting
-
-When a client is connecting, reconnecting or offline, it can miss out events that happened on the server but could not be streamed to the client.
-This missed out events are not relevant when the server is streaming the full content each time anyway, like on a live updating stock ticker.
-But when the backend is made to stream partial results, you have to account for missed out events. Fixing that on the backend scales pretty bad because the backend would have to remember for each client which events have been successfully send already. Instead this should be implemented with client side logic.
-
-The [RxDB Sync Engine](../replication.md) for example uses two modes of operation for that. One is the [checkpoint iteration mode](../replication.md#checkpoint-iteration) where normal http requests are used to iterate over backend data, until the client is in sync again. Then it can switch to [event observation mode](../replication.md#event-observation) where updates from the realtime-stream are used to keep the client in sync. Whenever a client disconnects or has any error, the replication shortly switches to [checkpoint iteration mode](../replication.md#checkpoint-iteration) until the client is in sync again. This method accounts for missed out events and ensures that clients can always sync to the exact equal state of the server.
-
-### Company firewalls can cause problems
-
-There are many known problems with company infrastructure when using any of the streaming technologies. Proxies and firewall can block traffic or unintentionally break requests and responses. Whenever you implement a realtime app in such an infrastructure, make sure you first test out if the technology itself works for you.
-
-## Follow Up
-
-- Check out the [hackernews discussion of this article](https://news.ycombinator.com/item?id=39745993)
-- Shared/Like my [announcement tweet](https://twitter.com/rxdbjs/status/1769507055298064818)
-- Learn how to use Server-Sent-Events to [replicate a client side RxDB database with your backend](../replication-http.md#pullstream-for-ongoing-changes).
-- Learn how to use RxDB with the [RxDB Quickstart](../quickstart.md)
-- Check out the [RxDB github repo](https://github.com/pubkey/rxdb) and leave a star ⭐
diff --git a/docs/articles/zero-latency-local-first.html b/docs/articles/zero-latency-local-first.html
deleted file mode 100644
index 0961aedec52..00000000000
--- a/docs/articles/zero-latency-local-first.html
+++ /dev/null
@@ -1,214 +0,0 @@
-
-
-
-
-
-Zero Latency Local First Apps with RxDB – Sync, Encryption and Compression | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Zero Latency Local First Apps with RxDB – Sync, Encryption and Compression
-
Creating a zero-latency local first application involves ensuring that most (if not all) user interactions occur instantaneously, without waiting on remote network responses. This design drastically enhances user experience, allowing apps to remain responsive and functional even when offline or experiencing poor connectivity. As developers, we can achieve this by storing data locally on the client and synchronizing it to the backend in the background. RxDB (Reactive Database) offers a comprehensive set of features - covering replication, offline support, encryption, compression, conflict handling, and more - that make it straightforward to build such high-performing apps.
In a traditional architecture, each user action triggers requests to a server for reads or writes. Despite network optimizations, unavoidable latencies can delay responses and disrupt the user flow. By contrast, a local first model maintains data in the client's environment (browser, mobile, desktop), drastically reducing user-perceived delays. Once the user re-connects or resumes activity online, changes propagate automatically to the server, eliminating manual synchronization overhead.
-
-
Instant Responsiveness: Because user actions (queries, updates, etc.) happen against a local datastore, UI updates do not wait on round-trip times.
-
Offline Operation: Apps can continue to read and write data, even when there is zero connectivity.
-
Reduced Backend Load: Instead of flooding the server with small requests, replication can combine and push or pull changes in batches.
-
Simplified Caching: Instead of implementing multi-layer caching, local first transforms your data layer into a reliable, quickly accessible store for all user actions.
RxDB is a JavaScript-based NoSQL database designed for offline-first and real-time replication scenarios. It supports a range of environments - browsers (IndexedDB or OPFS), mobile (Ionic, React Native), Electron, Node.js - and is built around:
-
-
Reactive Queries that trigger UI updates upon data changes
-
Schema-based NoSQL Documents for flexible but robust data models
RxDB's replication logic revolves around pulling down remote changes and pushing up local modifications. It maintains a checkpoint-based mechanism, so only new or updated documents flow between the client and server, reducing bandwidth usage and latency. This ensures:
-
-
Live Data: Queries automatically reflect server-side changes once they arrive locally.
-
Background Updates: No manual polling needed; replication streams or intervals handle synchronization.
-
Conflict Handling (see below) ensures data merges gracefully when multiple clients edit the same document offline.
RxDB's flexible replication system lets you connect to different backends or even peer-to-peer networks. There are official plugins for CouchDB, Firestore, GraphQL, WebRTC, and more. Many developers create a custom HTTP replication to work with their existing REST-based backend, ensuring a painless integration that doesn't require adopting an entirely new server infrastructure.
import { createRxDatabase } from 'rxdb/plugins/core';
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-
-async function initZeroLocalDB() {
- // Create a local RxDB instance using localstorage-based storage
- const db = await createRxDatabase({
- name: 'myZeroLocalDB',
- storage: getRxStorageLocalstorage(),
- // optional: password for encryption if needed
- });
-
- // Define one or more collections
- await db.addCollections({
- tasks: {
- schema: {
- title: 'task schema',
- version: 0,
- type: 'object',
- primaryKey: 'id',
- properties: {
- id: { type: 'string', maxLength: 100 },
- title: { type: 'string' },
- done: { type: 'boolean' }
- }
- }
- }
- });
-
- // Reactive query - automatically updates on local or remote changes
- db.tasks
- .find()
- .$ // returns an RxJS Observable
- .subscribe(allTasks => {
- console.log('All tasks updated:', allTasks);
- });
-
- return db;
-}
-
When offline, reads and writes to db.tasks happen locally with near-zero delay. Once connectivity resumes, changes sync to the server automatically (if replication is configured).
import { replicateRxCollection } from 'rxdb/plugins/replication';
-
-async function syncLocalTasks(db) {
- replicateRxCollection({
- collection: db.tasks,
- replicationIdentifier: 'sync-tasks',
- // Define how to pull server documents and push local documents
- pull: {
- handler: async (lastCheckpoint, batchSize) => {
- // logic to retrieve updated tasks from the server since lastCheckpoint
- },
- },
- push: {
- handler: async (docs) => {
- // logic to post local changes to the server
- },
- },
- live: true, // continuously replicate
- retryTime: 5000, // retry on errors or disconnections
- });
-}
-
This replication seamlessly merges server-side and client-side changes. Your app remains responsive throughout, regardless of the network status.
A local first approach, especially with RxDB, naturally supports an optimistic UI pattern. Because writes occur on the client, you can instantly reflect changes in the interface as soon as the user performs an action - no need to wait for server confirmation. For example, when a user updates a task document to done: true, the UI can re-render immediately with that new state. This even works across multiple browser tabs.
-
-
If a server conflict arises later during replication, RxDB's conflict handling logic determines which changes to keep, and the UI can be updated accordingly. This is far more efficient than blocking the user or displaying a spinner while the backend processes the request.
In local first models, conflicts emerge if multiple devices or clients edit the same document while offline. RxDB tracks document revisions so you can detect collisions and merge them effectively. By default, RxDB uses a last-write-wins approach, but developers can override it with a custom conflict handler. This provides fine-grained control - like merging partial fields, storing revision histories, or prompting users for resolution. Proper conflict handling keeps distributed data consistent across your entire system.
Over time, apps evolve - new fields, changed field types, or altered indexes. RxDB allows incremental schema migrations so you can upgrade a user's local data from one schema version to another. You might, for instance, rename a property or transform data formats. Once you define your migration strategy, RxDB automatically applies it upon app initialization, ensuring the local database's structure aligns with your latest codebase.
When storing data locally, you may handle user-sensitive information like PII (Personal Identifiable Information) or financial details. RxDB supports on-device encryption to protect fields. For example, you can define:
Local data can expand quickly, especially for large documents or repeated key names. RxDB's key compression feature replaces verbose field names with shorter tokens, decreasing storage usage and speeding up replication. You enable it by adding keyCompression: true to your collection schema:
By choosing a suitable storage layer, you can adapt your zero-latency local first design to any runtime - web, mobile, or server-like contexts in Node.js.
Performant local data operations are crucial for a zero-latency experience. According to the RxDB storage performance overview, differences in underlying storages can significantly impact throughput and latency. For instance, IndexedDB typically performs well across modern browsers, OPFS offers improved throughput in supporting browsers, and SQLite storage (a premium plugin) often delivers near-native speed for mobile or desktop.
In a browser environment, you can move database operations into a Web Worker using the Worker RxStorage plugin. This approach lets you keep heavy data processing off the main thread, ensuring the UI remains smooth and responsive. Complex queries or large write operations no longer cause stuttering in the user interface.
For large datasets or high concurrency, advanced techniques like sharding collections across multiple storages or leveraging a memory-mapped variant can further boost performance. By splitting data into smaller subsets or streaming it only as needed, you can scale to handle complex usage scenarios without compromising on the zero-latency user experience.
Join the RxDB Community on GitHub and Discord to share insights, file issues, and learn from other developers building zero-latency solutions.
-
-
-
By integrating RxDB into your stack, you achieve millisecond interactions, full offline capabilities, secure data at rest, and minimal overhead for large or distributed teams. This zero-latency local first architecture is the future of modern software - delivering a fluid, always-available user experience without overcomplicating the developer workflow.
-
-
\ No newline at end of file
diff --git a/docs/articles/zero-latency-local-first.md b/docs/articles/zero-latency-local-first.md
deleted file mode 100644
index 7abb4e58f57..00000000000
--- a/docs/articles/zero-latency-local-first.md
+++ /dev/null
@@ -1,228 +0,0 @@
-# Zero Latency Local First Apps with RxDB – Sync, Encryption and Compression
-
-> Build blazing-fast, zero-latency local first apps with RxDB. Gain instant UI responses, robust offline capabilities, end-to-end encryption, and data compression for streamlined performance.
-
-# Zero Latency Local First Apps with RxDB – Sync, Encryption and Compression
-
-Creating a **zero-latency local first** application involves ensuring that most (if not all) user interactions occur instantaneously, without waiting on remote network responses. This design drastically enhances user experience, allowing apps to remain responsive and functional even when offline or experiencing poor connectivity. As developers, we can achieve this by storing data **locally on the client** and synchronizing it to the backend in the background. **RxDB** (Reactive Database) offers a comprehensive set of features - covering replication, offline support, encryption, compression, conflict handling, and more - that make it straightforward to build such high-performing apps.
-
-
-
-## Why Zero Latency with a Local First Approach?
-
-In a traditional architecture, each user action triggers requests to a server for reads or writes. Despite network optimizations, unavoidable latencies can delay responses and disrupt the user flow. By contrast, a local first model maintains data in the client's environment (browser, mobile, desktop), drastically reducing user-perceived delays. Once the user re-connects or resumes activity online, changes propagate automatically to the server, eliminating manual synchronization overhead.
-
-1. **Instant Responsiveness**: Because user actions (queries, updates, etc.) happen against a local datastore, UI updates do not wait on round-trip times.
-2. **Offline Operation**: Apps can continue to read and write data, even when there is zero connectivity.
-3. **Reduced Backend Load**: Instead of flooding the server with small requests, replication can combine and push or pull changes in batches.
-4. **Simplified Caching**: Instead of implementing multi-layer caching, local first transforms your data layer into a reliable, quickly accessible store for all user actions.
-
-
-
-
-
-
-
-## RxDB: Your Key to Zero-Latency Local First Apps
-
-**RxDB** is a JavaScript-based NoSQL database designed for offline-first and real-time replication scenarios. It supports a range of environments - browsers (IndexedDB or OPFS), mobile ([Ionic](./ionic-storage.md), [React Native](../react-native-database.md)), [Electron](../electron-database.md), Node.js - and is built around:
-
-- **Reactive Queries** that trigger UI updates upon data changes
-- **Schema-based NoSQL Documents** for flexible but robust data models
-- [Advanced Sync Engine](../replication.md): to synchronize with diverse backends
-- **Encryption** for secure data at rest
-- **Compression** to reduce local and network overhead
-
-### Real-Time Sync and Offline-First
-RxDB's replication logic revolves around pulling down remote changes and pushing up local modifications. It maintains a checkpoint-based mechanism, so only new or updated documents flow between the client and server, reducing bandwidth usage and latency. This ensures:
-
-- **Live Data**: Queries automatically reflect server-side changes once they arrive locally.
-- **Background Updates**: No manual polling needed; replication streams or intervals handle synchronization.
-- **Conflict Handling** (see below) ensures data merges gracefully when multiple clients edit the same document offline.
-
-#### Multiple Replication Plugins and Approaches
-RxDB's flexible replication system lets you connect to different backends or even peer-to-peer networks. There are official plugins for [CouchDB](../replication-couchdb.md), [Firestore](../replication-firestore.md), [GraphQL](../replication-graphql.md), [WebRTC](../replication-webrtc.md), and more. Many developers create a **custom HTTP replication** to work with their existing REST-based backend, ensuring a painless integration that doesn't require adopting an entirely new server infrastructure.
-
-#### Example Setup of a local database
-
-```ts
-import { createRxDatabase } from 'rxdb/plugins/core';
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-
-async function initZeroLocalDB() {
- // Create a local RxDB instance using localstorage-based storage
- const db = await createRxDatabase({
- name: 'myZeroLocalDB',
- storage: getRxStorageLocalstorage(),
- // optional: password for encryption if needed
- });
-
- // Define one or more collections
- await db.addCollections({
- tasks: {
- schema: {
- title: 'task schema',
- version: 0,
- type: 'object',
- primaryKey: 'id',
- properties: {
- id: { type: 'string', maxLength: 100 },
- title: { type: 'string' },
- done: { type: 'boolean' }
- }
- }
- }
- });
-
- // Reactive query - automatically updates on local or remote changes
- db.tasks
- .find()
- .$ // returns an RxJS Observable
- .subscribe(allTasks => {
- console.log('All tasks updated:', allTasks);
- });
-
- return db;
-}
-```
-
-When offline, reads and writes to `db.tasks` happen locally with near-zero delay. Once connectivity resumes, changes sync to the server automatically (if replication is configured).
-
-#### Example Setup of the replication
-
-```ts
-import { replicateRxCollection } from 'rxdb/plugins/replication';
-
-async function syncLocalTasks(db) {
- replicateRxCollection({
- collection: db.tasks,
- replicationIdentifier: 'sync-tasks',
- // Define how to pull server documents and push local documents
- pull: {
- handler: async (lastCheckpoint, batchSize) => {
- // logic to retrieve updated tasks from the server since lastCheckpoint
- },
- },
- push: {
- handler: async (docs) => {
- // logic to post local changes to the server
- },
- },
- live: true, // continuously replicate
- retryTime: 5000, // retry on errors or disconnections
- });
-}
-```
-
-This replication seamlessly merges server-side and client-side changes. Your app remains responsive throughout, regardless of the network status.
-
-## Things you should also know about
-
-### Optimistic UI on Local Data Changes
-
-A local first approach, especially with RxDB, naturally supports an [optimistic UI](./optimistic-ui.md) pattern. Because writes occur on the client, you can instantly reflect changes in the interface as soon as the user performs an action - no need to wait for server confirmation. For example, when a user updates a task document to done: true, the UI can re-render immediately with that new state. This even works across multiple browser tabs.
-
-
-
-If a server conflict arises later during replication, RxDB's [conflict handling](../transactions-conflicts-revisions.md) logic determines which changes to keep, and the UI can be updated accordingly. This is far more efficient than blocking the user or displaying a spinner while the backend processes the request.
-
-### Conflict Handling
-
-In local first models, conflicts emerge if multiple devices or clients edit the same document while offline. RxDB tracks document revisions so you can detect collisions and merge them effectively. By default, RxDB uses a last-write-wins approach, but developers can override it with a custom conflict handler. This provides fine-grained control - like merging partial fields, storing revision histories, or prompting users for resolution. Proper conflict handling keeps distributed data consistent across your entire system.
-
-### Schema Migrations
-
-Over time, apps evolve - new fields, changed field types, or altered indexes. RxDB allows incremental schema migrations so you can upgrade a user's local data from one schema version to another. You might, for instance, rename a property or transform data formats. Once you define your migration strategy, RxDB automatically applies it upon app initialization, ensuring the local database's structure aligns with your latest codebase.
-
-## Advanced Features
-
-### Setup Encryption
-When storing data locally, you may handle user-sensitive information like PII (Personal Identifiable Information) or financial details. RxDB supports on-device [encryption](../encryption.md) to protect fields. For example, you can define:
-
-```ts
-import { wrappedKeyEncryptionCryptoJsStorage } from 'rxdb/plugins/encryption-crypto-js';
-
-const encryptedStorage = wrappedKeyEncryptionCryptoJsStorage({
- storage: getRxStorageLocalstorage()
-});
-
-const db = await createRxDatabase({
- name: 'secureDB',
- storage: encryptedStorage,
- password: 'myEncryptionPassword'
-});
-
-await db.addCollections({
- secrets: {
- schema: {
- title: 'secrets schema',
- version: 0,
- type: 'object',
- primaryKey: 'id',
- properties: {
- id: { type: 'string', maxLength: 100 },
- secretField: { type: 'string' }
- },
- required: ['id'],
- encrypted: ['secretField'] // define which fields to encrypt
- }
- }
-});
-```
-
-Then mark fields as `encrypted` in the schema. This ensures data is unreadable on disk without the correct password.
-
-### Setup Compression
-
-Local data can expand quickly, especially for large documents or repeated key names. RxDB's key compression feature replaces verbose field names with shorter tokens, decreasing storage usage and speeding up replication. You enable it by adding keyCompression: true to your collection schema:
-
-```ts
-await db.addCollections({
- logs: {
- schema: {
- title: 'log schema',
- version: 0,
- keyCompression: true,
- type: 'object',
- primaryKey: 'id',
- properties: {
- id: { type: 'string'. maxLength: 100 },
- message: { type: 'string' },
- timestamp: { type: 'number' }
- }
- }
- }
-});
-```
-
-## Different RxDB Storages Depending on the Runtime
-
-RxDB's storage layer is swappable, so you can pick the optimal adapter for each environment. Some common choices include:
-
-- [IndexedDB](../rx-storage-indexeddb.md) in modern browsers (default).
-- [OPFS](../rx-storage-opfs.md) (Origin Private File System) in browsers that support it for potentially better performance.
-- [SQLite](../rx-storage-sqlite.md) for mobile or desktop environments via the premium plugin, offering native-like speed on Android, iOS, or Electron.
-- [In-Memory](../rx-storage-memory.md) for tests or ephemeral data.
-
-By choosing a suitable storage layer, you can adapt your zero-latency local first design to any runtime - web, [mobile](./mobile-database.md), or server-like contexts in [Node.js](../nodejs-database.md).
-
-## Performance Considerations
-
-Performant local data operations are crucial for a zero-latency experience. According to the RxDB [storage performance overview](../rx-storage-performance.md), differences in underlying storages can significantly impact throughput and latency. For instance, IndexedDB typically performs well across modern browsers, [OPFS](../rx-storage-opfs.md) offers improved throughput in supporting browsers, and [SQLite storage](../rx-storage-sqlite.md) (a premium plugin) often delivers near-native speed for mobile or desktop.
-
-### Offloading Work from the Main Thread
-
-In a browser environment, you can move database operations into a Web Worker using the [Worker RxStorage plugin](../rx-storage-worker.md). This approach lets you keep heavy data processing off the main thread, ensuring the UI remains smooth and responsive. Complex queries or large write operations no longer cause stuttering in the user interface.
-
-### Sharding or Memory-Mapped Storages
-
-For large datasets or high concurrency, advanced techniques like [sharding](../rx-storage-sharding.md) collections across multiple storages or leveraging a [memory-mapped](../rx-storage-memory-mapped.md) variant can further boost performance. By splitting data into smaller subsets or streaming it only as needed, you can scale to handle complex usage scenarios without compromising on the zero-latency user experience.
-
-## Follow Up
-
-- Dive into the [RxDB Quickstart](../quickstart.md) to set up your own local first database.
-- Explore [Replication Plugins](../replication.md) for syncing with platforms like [CouchDB](../replication-couchdb.md), [Firestore](./firestore-alternative.md), or [GraphQL](../replication-graphql.md).
-- Check out Advanced [Conflict Handling](../transactions-conflicts-revisions.md) and [Performance Tuning](../rx-storage-performance.md) for big data sets or complex multi-user interactions.
-- Join the RxDB Community on [GitHub](/code/) and [Discord](/chat/) to share insights, file issues, and learn from other developers building zero-latency solutions.
--
-By integrating RxDB into your stack, you achieve millisecond interactions, full [offline capabilities](../offline-first.md), secure data at rest, and minimal overhead for large or distributed teams. This zero-latency local first architecture is the future of modern software - delivering a fluid, always-available user experience without overcomplicating the developer workflow.
diff --git a/docs/assets/css/styles.b066e612.css b/docs/assets/css/styles.b066e612.css
deleted file mode 100644
index 327f2929ef3..00000000000
--- a/docs/assets/css/styles.b066e612.css
+++ /dev/null
@@ -1 +0,0 @@
-.col,.container{padding:0 var(--ifm-spacing-horizontal);width:100%}.col,.container,html{width:100%}.markdown>h2,.markdown>h3,.markdown>h4,.markdown>h5,.markdown>h6{margin-bottom:calc(var(--ifm-heading-vertical-rhythm-bottom)*var(--ifm-leading))}html,ol ol,ol ul,ul ol,ul ul{margin:0}pre,table{overflow:auto}blockquote,pre{margin:0 0 var(--ifm-spacing-vertical)}.breadcrumbs__link,.button{transition-timing-function:var(--ifm-transition-timing-default)}.button--outline.button--active,.button--outline:active,.button--outline:hover,:root{--ifm-button-color:var(--ifm-font-color-base-inverse)}.menu__link:hover,a{transition:color var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.navbar--dark,:root{--ifm-navbar-link-hover-color:var(--ifm-color-primary)}.menu,.navbar-sidebar,html{overflow-x:hidden}:root,html[data-theme=dark]{--ifm-color-emphasis-500:var(--ifm-color-gray-500)}.block table,.premium-request iframe{box-shadow:0 0 12px 8px var(--bg-color)}#CybotCookiebotDialogBodyLevelButtonLevelOptinAllowAll,.slick-dots li.slick-active button:before{background-color:var(--color-top)!important}.navbar,.side-tabs__tab,.slick-slide{align-self:stretch}.toggleButton_gllP,html{-webkit-tap-highlight-color:transparent}.searchbox__reset:focus,.searchbox__submit:focus,body:not(.navigation-with-keyboard) :not(input):focus{outline:0}.markdown li,body{word-wrap:break-word}.clean-list,.containsTaskList_mC6p,.details_lb9f>summary,.dropdown__menu,.menu__list{list-style:none}:root{--ifm-color-scheme:light;--ifm-dark-value:10%;--ifm-darker-value:15%;--ifm-darkest-value:30%;--ifm-light-value:15%;--ifm-lighter-value:30%;--ifm-lightest-value:50%;--ifm-contrast-background-value:90%;--ifm-contrast-foreground-value:70%;--ifm-contrast-background-dark-value:70%;--ifm-contrast-foreground-dark-value:90%;--ifm-color-primary:#3578e5;--ifm-color-secondary:#ebedf0;--ifm-color-success:#00a400;--ifm-color-info:#54c7ec;--ifm-color-warning:#ffba00;--ifm-color-danger:#fa383e;--ifm-color-primary-dark:#306cce;--ifm-color-primary-darker:#2d66c3;--ifm-color-primary-darkest:#2554a0;--ifm-color-primary-light:#538ce9;--ifm-color-primary-lighter:#72a1ed;--ifm-color-primary-lightest:#9abcf2;--ifm-color-primary-contrast-background:#ebf2fc;--ifm-color-primary-contrast-foreground:#102445;--ifm-color-secondary-dark:#d4d5d8;--ifm-color-secondary-darker:#c8c9cc;--ifm-color-secondary-darkest:#a4a6a8;--ifm-color-secondary-light:#eef0f2;--ifm-color-secondary-lighter:#f1f2f5;--ifm-color-secondary-lightest:#f5f6f8;--ifm-color-secondary-contrast-background:#fdfdfe;--ifm-color-secondary-contrast-foreground:#474748;--ifm-color-success-dark:#009400;--ifm-color-success-darker:#008b00;--ifm-color-success-darkest:#007300;--ifm-color-success-light:#26b226;--ifm-color-success-lighter:#4dbf4d;--ifm-color-success-lightest:#80d280;--ifm-color-success-contrast-background:#e6f6e6;--ifm-color-success-contrast-foreground:#003100;--ifm-color-info-dark:#4cb3d4;--ifm-color-info-darker:#47a9c9;--ifm-color-info-darkest:#3b8ba5;--ifm-color-info-light:#6ecfef;--ifm-color-info-lighter:#87d8f2;--ifm-color-info-lightest:#aae3f6;--ifm-color-info-contrast-background:#eef9fd;--ifm-color-info-contrast-foreground:#193c47;--ifm-color-warning-dark:#e6a700;--ifm-color-warning-darker:#d99e00;--ifm-color-warning-darkest:#b38200;--ifm-color-warning-light:#ffc426;--ifm-color-warning-lighter:#ffcf4d;--ifm-color-warning-lightest:#ffdd80;--ifm-color-warning-contrast-background:#fff8e6;--ifm-color-warning-contrast-foreground:#4d3800;--ifm-color-danger-dark:#e13238;--ifm-color-danger-darker:#d53035;--ifm-color-danger-darkest:#af272b;--ifm-color-danger-light:#fb565b;--ifm-color-danger-lighter:#fb7478;--ifm-color-danger-lightest:#fd9c9f;--ifm-color-danger-contrast-background:#ffebec;--ifm-color-danger-contrast-foreground:#4b1113;--ifm-color-white:#fff;--ifm-color-black:#000;--ifm-color-gray-0:var(--ifm-color-white);--ifm-color-gray-100:#f5f6f7;--ifm-color-gray-200:#ebedf0;--ifm-color-gray-300:#dadde1;--ifm-color-gray-400:#ccd0d5;--ifm-color-gray-500:#bec3c9;--ifm-color-gray-600:#8d949e;--ifm-color-gray-700:#606770;--ifm-color-gray-800:#444950;--ifm-color-gray-900:#1c1e21;--ifm-color-gray-1000:var(--ifm-color-black);--ifm-color-emphasis-0:var(--ifm-color-gray-0);--ifm-color-emphasis-100:var(--ifm-color-gray-100);--ifm-color-emphasis-200:var(--ifm-color-gray-200);--ifm-color-emphasis-300:var(--ifm-color-gray-300);--ifm-color-emphasis-400:var(--ifm-color-gray-400);--ifm-color-emphasis-600:var(--ifm-color-gray-600);--ifm-color-emphasis-700:var(--ifm-color-gray-700);--ifm-color-emphasis-800:var(--ifm-color-gray-800);--ifm-color-emphasis-900:var(--ifm-color-gray-900);--ifm-color-emphasis-1000:var(--ifm-color-gray-1000);--ifm-color-content:var(--ifm-color-emphasis-900);--ifm-color-content-inverse:var(--ifm-color-emphasis-0);--ifm-color-content-secondary:#525860;--ifm-background-color:#0000;--ifm-background-surface-color:var(--ifm-color-content-inverse);--ifm-global-border-width:1px;--ifm-global-radius:0.4rem;--ifm-hover-overlay:#0000000d;--ifm-font-color-base:var(--ifm-color-content);--ifm-font-color-base-inverse:var(--ifm-color-content-inverse);--ifm-font-color-secondary:var(--ifm-color-content-secondary);--ifm-font-family-base:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";--ifm-font-family-monospace:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--ifm-font-size-base:100%;--ifm-font-weight-light:300;--ifm-font-weight-normal:400;--ifm-font-weight-semibold:500;--ifm-font-weight-bold:700;--ifm-font-weight-base:var(--ifm-font-weight-normal);--ifm-line-height-base:1.65;--ifm-global-spacing:1rem;--ifm-spacing-vertical:var(--ifm-global-spacing);--ifm-spacing-horizontal:var(--ifm-global-spacing);--ifm-transition-fast:200ms;--ifm-transition-slow:400ms;--ifm-transition-timing-default:cubic-bezier(0.08,0.52,0.52,1);--ifm-global-shadow-lw:0 1px 2px 0 #0000001a;--ifm-global-shadow-md:0 5px 40px #0003;--ifm-global-shadow-tl:0 12px 28px 0 #0003,0 2px 4px 0 #0000001a;--ifm-z-index-dropdown:100;--ifm-z-index-fixed:200;--ifm-z-index-overlay:400;--ifm-container-width:1140px;--ifm-container-width-xl:1320px;--ifm-code-background:#f6f7f8;--ifm-code-border-radius:var(--ifm-global-radius);--ifm-code-font-size:90%;--ifm-code-padding-horizontal:0.1rem;--ifm-code-padding-vertical:0.1rem;--ifm-pre-background:var(--ifm-code-background);--ifm-pre-border-radius:var(--ifm-code-border-radius);--ifm-pre-color:inherit;--ifm-pre-line-height:1.45;--ifm-pre-padding:1rem;--ifm-heading-color:inherit;--ifm-heading-margin-top:0;--ifm-heading-margin-bottom:var(--ifm-spacing-vertical);--ifm-heading-font-family:var(--ifm-font-family-base);--ifm-heading-font-weight:var(--ifm-font-weight-bold);--ifm-heading-line-height:1.25;--ifm-h1-font-size:2rem;--ifm-h2-font-size:1.5rem;--ifm-h3-font-size:1.25rem;--ifm-h4-font-size:1rem;--ifm-h5-font-size:0.875rem;--ifm-h6-font-size:0.85rem;--ifm-image-alignment-padding:1.25rem;--ifm-leading-desktop:1.25;--ifm-leading:calc(var(--ifm-leading-desktop)*1rem);--ifm-list-left-padding:2rem;--ifm-list-margin:1rem;--ifm-list-item-margin:0.25rem;--ifm-list-paragraph-margin:1rem;--ifm-table-cell-padding:0.75rem;--ifm-table-background:#0000;--ifm-table-stripe-background:#00000008;--ifm-table-border-width:1px;--ifm-table-border-color:var(--ifm-color-emphasis-300);--ifm-table-head-background:inherit;--ifm-table-head-color:inherit;--ifm-table-head-font-weight:var(--ifm-font-weight-bold);--ifm-table-cell-color:inherit;--ifm-link-color:var(--ifm-color-primary);--ifm-link-decoration:none;--ifm-link-hover-color:var(--ifm-link-color);--ifm-link-hover-decoration:underline;--ifm-paragraph-margin-bottom:var(--ifm-leading);--ifm-blockquote-font-size:var(--ifm-font-size-base);--ifm-blockquote-border-left-width:2px;--ifm-blockquote-padding-horizontal:var(--ifm-spacing-horizontal);--ifm-blockquote-padding-vertical:0;--ifm-blockquote-shadow:none;--ifm-blockquote-color:var(--ifm-color-emphasis-800);--ifm-blockquote-border-color:var(--ifm-color-emphasis-300);--ifm-hr-background-color:var(--ifm-color-emphasis-500);--ifm-hr-height:1px;--ifm-hr-margin-vertical:1.5rem;--ifm-scrollbar-size:7px;--ifm-scrollbar-track-background-color:#f1f1f1;--ifm-scrollbar-thumb-background-color:silver;--ifm-scrollbar-thumb-hover-background-color:#a7a7a7;--ifm-alert-background-color:inherit;--ifm-alert-border-color:inherit;--ifm-alert-border-radius:var(--ifm-global-radius);--ifm-alert-border-width:0px;--ifm-alert-border-left-width:5px;--ifm-alert-color:var(--ifm-font-color-base);--ifm-alert-padding-horizontal:var(--ifm-spacing-horizontal);--ifm-alert-padding-vertical:var(--ifm-spacing-vertical);--ifm-alert-shadow:var(--ifm-global-shadow-lw);--ifm-avatar-intro-margin:1rem;--ifm-avatar-intro-alignment:inherit;--ifm-avatar-photo-size:3rem;--ifm-badge-background-color:inherit;--ifm-badge-border-color:inherit;--ifm-badge-border-radius:var(--ifm-global-radius);--ifm-badge-border-width:var(--ifm-global-border-width);--ifm-badge-color:var(--ifm-color-white);--ifm-badge-padding-horizontal:calc(var(--ifm-spacing-horizontal)*0.5);--ifm-badge-padding-vertical:calc(var(--ifm-spacing-vertical)*0.25);--ifm-breadcrumb-border-radius:1.5rem;--ifm-breadcrumb-spacing:0.5rem;--ifm-breadcrumb-color-active:var(--ifm-color-primary);--ifm-breadcrumb-item-background-active:var(--ifm-hover-overlay);--ifm-breadcrumb-padding-horizontal:0.8rem;--ifm-breadcrumb-padding-vertical:0.4rem;--ifm-breadcrumb-size-multiplier:1;--ifm-breadcrumb-separator:url('data:image/svg+xml;utf8,');--ifm-breadcrumb-separator-filter:none;--ifm-breadcrumb-separator-size:0.5rem;--ifm-breadcrumb-separator-size-multiplier:1.25;--ifm-button-background-color:inherit;--ifm-button-border-color:var(--ifm-button-background-color);--ifm-button-border-width:var(--ifm-global-border-width);--ifm-button-font-weight:var(--ifm-font-weight-bold);--ifm-button-padding-horizontal:1.5rem;--ifm-button-padding-vertical:0.375rem;--ifm-button-size-multiplier:1;--ifm-button-transition-duration:var(--ifm-transition-fast);--ifm-button-border-radius:calc(var(--ifm-global-radius)*var(--ifm-button-size-multiplier));--ifm-button-group-spacing:2px;--ifm-card-background-color:var(--ifm-background-surface-color);--ifm-card-border-radius:calc(var(--ifm-global-radius)*2);--ifm-card-horizontal-spacing:var(--ifm-global-spacing);--ifm-card-vertical-spacing:var(--ifm-global-spacing);--ifm-toc-border-color:var(--ifm-color-emphasis-300);--ifm-toc-link-color:var(--ifm-color-content-secondary);--ifm-toc-padding-vertical:0.5rem;--ifm-toc-padding-horizontal:0.5rem;--ifm-dropdown-background-color:var(--ifm-background-surface-color);--ifm-dropdown-font-weight:var(--ifm-font-weight-semibold);--ifm-dropdown-link-color:var(--ifm-font-color-base);--ifm-dropdown-hover-background-color:var(--ifm-hover-overlay);--ifm-footer-background-color:var(--ifm-color-emphasis-100);--ifm-footer-color:inherit;--ifm-footer-link-color:var(--ifm-color-emphasis-700);--ifm-footer-link-hover-color:var(--ifm-color-primary);--ifm-footer-link-horizontal-spacing:0.5rem;--ifm-footer-padding-horizontal:calc(var(--ifm-spacing-horizontal)*2);--ifm-footer-padding-vertical:calc(var(--ifm-spacing-vertical)*2);--ifm-footer-title-color:inherit;--ifm-footer-logo-max-width:min(30rem,90vw);--ifm-hero-background-color:var(--ifm-background-surface-color);--ifm-hero-text-color:var(--ifm-color-emphasis-800);--ifm-menu-color:var(--ifm-color-emphasis-700);--ifm-menu-color-active:var(--ifm-color-primary);--ifm-menu-color-background-active:var(--ifm-hover-overlay);--ifm-menu-color-background-hover:var(--ifm-hover-overlay);--ifm-menu-link-padding-horizontal:0.75rem;--ifm-menu-link-padding-vertical:0.375rem;--ifm-menu-link-sublist-icon:url('data:image/svg+xml;utf8,');--ifm-menu-link-sublist-icon-filter:none;--ifm-navbar-background-color:var(--ifm-background-surface-color);--ifm-navbar-height:3.75rem;--ifm-navbar-item-padding-horizontal:0.75rem;--ifm-navbar-item-padding-vertical:0.25rem;--ifm-navbar-link-color:var(--ifm-font-color-base);--ifm-navbar-link-active-color:var(--ifm-link-color);--ifm-navbar-padding-horizontal:var(--ifm-spacing-horizontal);--ifm-navbar-padding-vertical:calc(var(--ifm-spacing-vertical)*0.5);--ifm-navbar-shadow:var(--ifm-global-shadow-lw);--ifm-navbar-search-input-background-color:var(--ifm-color-emphasis-200);--ifm-navbar-search-input-color:var(--ifm-color-emphasis-800);--ifm-navbar-search-input-placeholder-color:var(--ifm-color-emphasis-500);--ifm-navbar-search-input-icon:url('data:image/svg+xml;utf8,');--ifm-navbar-sidebar-width:83vw;--ifm-pagination-border-radius:var(--ifm-global-radius);--ifm-pagination-color-active:var(--ifm-color-primary);--ifm-pagination-font-size:1rem;--ifm-pagination-item-active-background:var(--ifm-hover-overlay);--ifm-pagination-page-spacing:0.2em;--ifm-pagination-padding-horizontal:calc(var(--ifm-spacing-horizontal)*1);--ifm-pagination-padding-vertical:calc(var(--ifm-spacing-vertical)*0.25);--ifm-pagination-nav-border-radius:var(--ifm-global-radius);--ifm-pagination-nav-color-hover:var(--ifm-color-primary);--ifm-pills-color-active:var(--ifm-color-primary);--ifm-pills-color-background-active:var(--ifm-hover-overlay);--ifm-pills-spacing:0.125rem;--ifm-tabs-color:var(--ifm-font-color-secondary);--ifm-tabs-color-active:var(--ifm-color-primary);--ifm-tabs-color-active-border:var(--ifm-tabs-color-active);--ifm-tabs-padding-horizontal:1rem;--ifm-tabs-padding-vertical:1rem}:root,[data-theme=dark]{--ifm-color-primary:#ed168f;--ifm-color-primary-dark:#ed168f;--ifm-color-primary-darker:#8d2089;--ifm-color-primary-darkest:#5f2688;--ifm-color-primary-light:#29d5b0;--ifm-color-primary-lighter:#32d8b4;--ifm-color-primary-lightest:#4fddbf}.badge--danger,.badge--info,.badge--primary,.badge--secondary,.badge--success,.badge--warning{--ifm-badge-border-color:var(--ifm-badge-background-color)}.button--link,.button--outline{--ifm-button-background-color:#0000}*,.algolia-autocomplete .ds-dropdown-menu *{box-sizing:border-box}html{background-color:var(--ifm-background-color);color:var(--ifm-font-color-base);color-scheme:var(--ifm-color-scheme);font:var(--ifm-font-size-base)/var(--ifm-line-height-base) var(--ifm-font-family-base);-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;-webkit-text-size-adjust:100%;text-size-adjust:100%;min-height:100%;padding:0}iframe{border:0;color-scheme:auto}.container{margin:0 auto;max-width:var(--ifm-container-width)}.container--fluid{max-width:inherit}.row{display:flex;flex-wrap:wrap;margin:0 calc(var(--ifm-spacing-horizontal)*-1)}.margin-bottom--none,.margin-vert--none,.markdown>:last-child{margin-bottom:0!important}.margin-top--none,.margin-vert--none{margin-top:0!important}.row--no-gutters{margin-left:0;margin-right:0}.margin-horiz--none,.margin-right--none{margin-right:0!important}.row--no-gutters>.col{padding-left:0;padding-right:0}.row--align-top{align-items:flex-start}.row--align-bottom{align-items:flex-end}.menuExternalLink_NmtK,.row--align-center{align-items:center}.row--align-stretch{align-items:stretch}.row--align-baseline{align-items:baseline}.col{--ifm-col-width:100%;flex:1 0;margin-left:0;max-width:var(--ifm-col-width)}.padding-bottom--none,.padding-vert--none{padding-bottom:0!important}.padding-top--none,.padding-vert--none{padding-top:0!important}.padding-horiz--none,.padding-left--none{padding-left:0!important}.padding-horiz--none,.padding-right--none{padding-right:0!important}.col[class*=col--]{flex:0 0 var(--ifm-col-width)}.col--1{--ifm-col-width:8.33333%}.col--offset-1{margin-left:8.33333%}.col--2{--ifm-col-width:16.66667%}.col--offset-2{margin-left:16.66667%}.col--3{--ifm-col-width:25%}.col--offset-3{margin-left:25%}.col--4{--ifm-col-width:33.33333%}.col--offset-4{margin-left:33.33333%}.col--5{--ifm-col-width:41.66667%}.col--offset-5{margin-left:41.66667%}.col--6{--ifm-col-width:50%}.col--offset-6{margin-left:50%}.col--7{--ifm-col-width:58.33333%}.col--offset-7{margin-left:58.33333%}.col--8{--ifm-col-width:66.66667%}.col--offset-8{margin-left:66.66667%}.col--9{--ifm-col-width:75%}.col--offset-9{margin-left:75%}.col--10{--ifm-col-width:83.33333%}.col--offset-10{margin-left:83.33333%}.col--11{--ifm-col-width:91.66667%}.col--offset-11{margin-left:91.66667%}.col--12{--ifm-col-width:100%}.col--offset-12{margin-left:100%}.margin-horiz--none,.margin-left--none{margin-left:0!important}.margin--none{margin:0!important}.margin-bottom--xs,.margin-vert--xs{margin-bottom:.25rem!important}.margin-top--xs,.margin-vert--xs{margin-top:.25rem!important}.margin-horiz--xs,.margin-left--xs{margin-left:.25rem!important}.margin-horiz--xs,.margin-right--xs{margin-right:.25rem!important}.margin--xs{margin:.25rem!important}.margin-bottom--sm,.margin-vert--sm{margin-bottom:.5rem!important}.margin-top--sm,.margin-vert--sm{margin-top:.5rem!important}.margin-horiz--sm,.margin-left--sm{margin-left:.5rem!important}.margin-horiz--sm,.margin-right--sm{margin-right:.5rem!important}.margin--sm{margin:.5rem!important}.margin-bottom--md,.margin-vert--md{margin-bottom:1rem!important}.margin-top--md,.margin-vert--md{margin-top:1rem!important}.margin-horiz--md,.margin-left--md{margin-left:1rem!important}.margin-horiz--md,.margin-right--md{margin-right:1rem!important}.margin--md{margin:1rem!important}.margin-bottom--lg,.margin-vert--lg{margin-bottom:2rem!important}.margin-top--lg,.margin-vert--lg{margin-top:2rem!important}.margin-horiz--lg,.margin-left--lg{margin-left:2rem!important}.margin-horiz--lg,.margin-right--lg{margin-right:2rem!important}.margin--lg{margin:2rem!important}.margin-bottom--xl,.margin-vert--xl{margin-bottom:5rem!important}.margin-top--xl,.margin-vert--xl{margin-top:5rem!important}.margin-horiz--xl,.margin-left--xl{margin-left:5rem!important}.margin-horiz--xl,.margin-right--xl{margin-right:5rem!important}.margin--xl{margin:5rem!important}.padding--none{padding:0!important}.padding-bottom--xs,.padding-vert--xs{padding-bottom:.25rem!important}.padding-top--xs,.padding-vert--xs{padding-top:.25rem!important}.padding-horiz--xs,.padding-left--xs{padding-left:.25rem!important}.padding-horiz--xs,.padding-right--xs{padding-right:.25rem!important}.padding--xs{padding:.25rem!important}.padding-bottom--sm,.padding-vert--sm{padding-bottom:.5rem!important}.padding-top--sm,.padding-vert--sm{padding-top:.5rem!important}.padding-horiz--sm,.padding-left--sm{padding-left:.5rem!important}.padding-horiz--sm,.padding-right--sm{padding-right:.5rem!important}.padding--sm{padding:.5rem!important}.padding-bottom--md,.padding-vert--md{padding-bottom:1rem!important}.padding-top--md,.padding-vert--md{padding-top:1rem!important}.padding-horiz--md,.padding-left--md{padding-left:1rem!important}.padding-horiz--md,.padding-right--md{padding-right:1rem!important}.padding--md{padding:1rem!important}.padding-bottom--lg,.padding-vert--lg{padding-bottom:2rem!important}.padding-top--lg,.padding-vert--lg{padding-top:2rem!important}.padding-horiz--lg,.padding-left--lg{padding-left:2rem!important}.padding-horiz--lg,.padding-right--lg{padding-right:2rem!important}.padding--lg{padding:2rem!important}.padding-bottom--xl,.padding-vert--xl{padding-bottom:5rem!important}.padding-top--xl,.padding-vert--xl{padding-top:5rem!important}.padding-horiz--xl,.padding-left--xl{padding-left:5rem!important}.padding-horiz--xl,.padding-right--xl{padding-right:5rem!important}.padding--xl{padding:5rem!important}code{background-color:var(--ifm-code-background);border:.1rem solid #0000001a;border-radius:var(--ifm-code-border-radius);font-family:var(--ifm-font-family-monospace);font-size:var(--ifm-code-font-size);padding:var(--ifm-code-padding-vertical) var(--ifm-code-padding-horizontal);vertical-align:middle}a code{color:inherit}pre{background-color:var(--ifm-pre-background);border-radius:var(--ifm-pre-border-radius);color:var(--ifm-pre-color);font:var(--ifm-code-font-size)/var(--ifm-pre-line-height) var(--ifm-font-family-monospace);padding:var(--ifm-pre-padding)}pre code{background-color:initial;border:none;font-size:100%;line-height:inherit;padding:0;background-color:var(--bg-color-code)}kbd{background-color:var(--ifm-color-emphasis-0);border:1px solid var(--ifm-color-emphasis-400);border-radius:.2rem;box-shadow:inset 0 -1px 0 var(--ifm-color-emphasis-400);color:var(--ifm-color-emphasis-800);font:80% var(--ifm-font-family-monospace);padding:.15rem .3rem}h1,h2,h3,h4,h5,h6{color:var(--ifm-heading-color);font-family:var(--ifm-heading-font-family);font-weight:var(--ifm-heading-font-weight);line-height:var(--ifm-heading-line-height);margin:var(--ifm-heading-margin-top) 0 var(--ifm-heading-margin-bottom) 0}h1{font-size:var(--ifm-h1-font-size)}h2{font-size:var(--ifm-h2-font-size);margin-top:0}h3{font-size:var(--ifm-h3-font-size)}h4{font-size:var(--ifm-h4-font-size)}h5{font-size:var(--ifm-h5-font-size)}h6{font-size:var(--ifm-h6-font-size)}img{max-width:100%}img[align=right]{padding-left:var(--image-alignment-padding)}img[align=left]{padding-right:var(--image-alignment-padding)}.markdown{--ifm-h1-vertical-rhythm-top:3;--ifm-h2-vertical-rhythm-top:2;--ifm-h3-vertical-rhythm-top:1.5;--ifm-heading-vertical-rhythm-top:1.25;--ifm-h1-vertical-rhythm-bottom:1.25;--ifm-heading-vertical-rhythm-bottom:1}.markdown:after,.markdown:before{content:"";display:table}.clear,.markdown:after{clear:both}.markdown h1:first-child{--ifm-h1-font-size:3rem;margin-bottom:calc(var(--ifm-h1-vertical-rhythm-bottom)*var(--ifm-leading))}.markdown>h2{--ifm-h2-font-size:2rem;margin-top:calc(var(--ifm-h2-vertical-rhythm-top)*var(--ifm-leading))}.markdown>h3{--ifm-h3-font-size:1.5rem;margin-top:calc(var(--ifm-h3-vertical-rhythm-top)*var(--ifm-leading))}.markdown>h4,.markdown>h5,.markdown>h6{margin-top:calc(var(--ifm-heading-vertical-rhythm-top)*var(--ifm-leading))}.markdown>p,.markdown>pre,.markdown>ul{margin-bottom:var(--ifm-leading)}.markdown li>p{margin-top:var(--ifm-list-paragraph-margin)}.markdown li+li{margin-top:var(--ifm-list-item-margin)}ol,ul{margin:0 0 var(--ifm-list-margin);padding-left:var(--ifm-list-left-padding)}ol ol,ul ol{list-style-type:lower-roman}ol ol ol,ol ul ol,ul ol ol,ul ul ol{list-style-type:lower-alpha}table{border-collapse:collapse;display:block;margin-bottom:var(--ifm-spacing-vertical)}table thead tr{border-bottom:2px solid var(--ifm-table-border-color)}table thead,table tr:nth-child(2n){background-color:var(--ifm-table-stripe-background)}table tr{background-color:var(--ifm-table-background);border-top:var(--ifm-table-border-width) solid var(--ifm-table-border-color)}table td,table th{border:var(--ifm-table-border-width) solid var(--ifm-table-border-color);padding:var(--ifm-table-cell-padding)}table th{background-color:var(--ifm-table-head-background);color:var(--ifm-table-head-color);font-weight:var(--ifm-table-head-font-weight)}table td{color:var(--ifm-table-cell-color)}strong{font-weight:var(--ifm-font-weight-bold)}a{color:var(--ifm-link-color);text-decoration:var(--ifm-link-decoration)}a:hover{color:var(--ifm-link-hover-color);text-decoration:var(--ifm-link-hover-decoration)}.button:hover,.text--no-decoration,.text--no-decoration:hover,a:not([href]){-webkit-text-decoration:none;text-decoration:none}blockquote{border-left:var(--ifm-blockquote-border-left-width) solid var(--ifm-blockquote-border-color);box-shadow:var(--ifm-blockquote-shadow);color:var(--ifm-blockquote-color);font-size:var(--ifm-blockquote-font-size);padding:var(--ifm-blockquote-padding-vertical) var(--ifm-blockquote-padding-horizontal)}blockquote>:first-child{margin-top:0}blockquote>:last-child{margin-bottom:0}hr{background-color:var(--ifm-hr-background-color);border:0;height:var(--ifm-hr-height);margin:var(--ifm-hr-margin-vertical) 0}.shadow--lw{box-shadow:var(--ifm-global-shadow-lw)!important}.shadow--md{box-shadow:var(--ifm-global-shadow-md)!important}.shadow--tl{box-shadow:var(--ifm-global-shadow-tl)!important}.text--primary,.wordWrapButtonEnabled_uzNF .wordWrapButtonIcon_b1P5{color:var(--ifm-color-primary)}.text--secondary{color:var(--ifm-color-secondary)}.text--success{color:var(--ifm-color-success)}.text--info{color:var(--ifm-color-info)}.text--warning{color:var(--ifm-color-warning)}.text--danger{color:var(--ifm-color-danger)}.block.fifth h2,.block.last h2,.block.offline-first h2,.block.replication h2,.block.sixth h2,.redirectBox .ul-container,.reviews h2,.text--center{text-align:center}.text--left{text-align:left}.text--justify{text-align:justify}#price-calculator-result table th,.text--right{text-align:right}.text--capitalize{text-transform:capitalize}.text--lowercase{text-transform:lowercase}.admonitionHeading_Gvgb,.alert__heading,.text--uppercase,.trophy .subtitle,.trophy .valuetitle{text-transform:uppercase}.text--light{font-weight:var(--ifm-font-weight-light)}.text--normal{font-weight:var(--ifm-font-weight-normal)}.text--semibold{font-weight:var(--ifm-font-weight-semibold)}.text--bold{font-weight:var(--ifm-font-weight-bold)}.text--italic,pre[data-theme] span[style*="--shiki-token-keyword"]{font-style:italic}.text--truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text--break{word-wrap:break-word!important;word-break:break-word!important}.clean-btn{background:none;border:none;color:inherit;cursor:pointer;font-family:inherit;padding:0}.alert,.alert .close{color:var(--ifm-alert-foreground-color)}.clean-list{padding-left:0}.alert--primary{--ifm-alert-background-color:var(--ifm-color-primary-contrast-background);--ifm-alert-background-color-highlight:#3578e526;--ifm-alert-foreground-color:var(--ifm-color-primary-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-primary-dark)}.alert--secondary{--ifm-alert-background-color:var(--ifm-color-secondary-contrast-background);--ifm-alert-background-color-highlight:#ebedf026;--ifm-alert-foreground-color:var(--ifm-color-secondary-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-secondary-dark)}.alert--success{--ifm-alert-background-color:var(--ifm-color-success-contrast-background);--ifm-alert-background-color-highlight:#00a40026;--ifm-alert-foreground-color:var(--ifm-color-success-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-success-dark)}.alert--info{--ifm-alert-background-color:var(--ifm-color-info-contrast-background);--ifm-alert-background-color-highlight:#54c7ec26;--ifm-alert-foreground-color:var(--ifm-color-info-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-info-dark)}.alert--warning{--ifm-alert-background-color:var(--ifm-color-warning-contrast-background);--ifm-alert-background-color-highlight:#ffba0026;--ifm-alert-foreground-color:var(--ifm-color-warning-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-warning-dark)}.alert--danger{--ifm-alert-background-color:var(--ifm-color-danger-contrast-background);--ifm-alert-background-color-highlight:#fa383e26;--ifm-alert-foreground-color:var(--ifm-color-danger-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-danger-dark)}.alert{--ifm-code-background:var(--ifm-alert-background-color-highlight);--ifm-link-color:var(--ifm-alert-foreground-color);--ifm-link-hover-color:var(--ifm-alert-foreground-color);--ifm-link-decoration:underline;--ifm-tabs-color:var(--ifm-alert-foreground-color);--ifm-tabs-color-active:var(--ifm-alert-foreground-color);--ifm-tabs-color-active-border:var(--ifm-alert-border-color);background-color:var(--ifm-alert-background-color);border:var(--ifm-alert-border-width) solid var(--ifm-alert-border-color);border-left-width:var(--ifm-alert-border-left-width);border-radius:var(--ifm-alert-border-radius);box-shadow:var(--ifm-alert-shadow);padding:var(--ifm-alert-padding-vertical) var(--ifm-alert-padding-horizontal)}.alert__heading{align-items:center;display:flex;font:700 var(--ifm-h5-font-size)/var(--ifm-heading-line-height) var(--ifm-heading-font-family);margin-bottom:.5rem}.alert__icon{display:inline-flex;margin-right:.4em}.alert__icon svg{fill:var(--ifm-alert-foreground-color);stroke:var(--ifm-alert-foreground-color);stroke-width:0}.alert .close{margin:calc(var(--ifm-alert-padding-vertical)*-1) calc(var(--ifm-alert-padding-horizontal)*-1) 0 0;opacity:.75}.alert .close:focus,.alert .close:hover,.hash-link:focus,:hover>.hash-link{opacity:1}.alert a{text-decoration-color:var(--ifm-alert-border-color)}.alert a:hover{text-decoration-thickness:2px}.avatar{column-gap:var(--ifm-avatar-intro-margin);display:flex}.avatar__photo{border-radius:50%;display:block;height:var(--ifm-avatar-photo-size);overflow:hidden;width:var(--ifm-avatar-photo-size)}.avatar__photo--sm{--ifm-avatar-photo-size:2rem}.avatar__photo--lg{--ifm-avatar-photo-size:4rem}.avatar__photo--xl{--ifm-avatar-photo-size:6rem}.avatar__intro{display:flex;flex:1 1;flex-direction:column;justify-content:center;text-align:var(--ifm-avatar-intro-alignment)}.badge,.breadcrumbs__item,.breadcrumbs__link,.button,.dropdown>.navbar__link:after{display:inline-block}.avatar__name{font:700 var(--ifm-h4-font-size)/var(--ifm-heading-line-height) var(--ifm-font-family-base)}.badge,.close{line-height:1}.avatar__subtitle{margin-top:.25rem}.avatar--vertical{--ifm-avatar-intro-alignment:center;--ifm-avatar-intro-margin:0.5rem;align-items:center;flex-direction:column}.badge{background-color:var(--ifm-badge-background-color);border:var(--ifm-badge-border-width) solid var(--ifm-badge-border-color);border-radius:var(--ifm-badge-border-radius);color:var(--ifm-badge-color);font-size:75%;font-weight:var(--ifm-font-weight-bold);padding:var(--ifm-badge-padding-vertical) var(--ifm-badge-padding-horizontal)}.badge--primary{--ifm-badge-background-color:var(--ifm-color-primary)}.badge--secondary{--ifm-badge-background-color:var(--ifm-color-secondary);color:var(--ifm-color-black)}.breadcrumbs__link,.button.button--secondary.button--outline:not(.button--active):not(:hover){color:var(--ifm-font-color-base)}.badge--success{--ifm-badge-background-color:var(--ifm-color-success)}.badge--info{--ifm-badge-background-color:var(--ifm-color-info)}.badge--warning{--ifm-badge-background-color:var(--ifm-color-warning)}.badge--danger{--ifm-badge-background-color:var(--ifm-color-danger)}.breadcrumbs{margin-bottom:0;padding-left:0}.breadcrumbs__item:not(:last-child):after{background:var(--ifm-breadcrumb-separator) center;content:" ";display:inline-block;filter:var(--ifm-breadcrumb-separator-filter);height:calc(var(--ifm-breadcrumb-separator-size)*var(--ifm-breadcrumb-size-multiplier)*var(--ifm-breadcrumb-separator-size-multiplier));margin:0 var(--ifm-breadcrumb-spacing);opacity:.5;width:calc(var(--ifm-breadcrumb-separator-size)*var(--ifm-breadcrumb-size-multiplier)*var(--ifm-breadcrumb-separator-size-multiplier))}.breadcrumbs__item--active .breadcrumbs__link{background:var(--ifm-breadcrumb-item-background-active);color:var(--ifm-breadcrumb-color-active)}.breadcrumbs__link{border-radius:var(--ifm-breadcrumb-border-radius);font-size:calc(1rem*var(--ifm-breadcrumb-size-multiplier));padding:calc(var(--ifm-breadcrumb-padding-vertical)*var(--ifm-breadcrumb-size-multiplier)) calc(var(--ifm-breadcrumb-padding-horizontal)*var(--ifm-breadcrumb-size-multiplier));transition-duration:var(--ifm-transition-fast);transition-property:background,color}.breadcrumbs__link:any-link:hover,.breadcrumbs__link:link:hover,.breadcrumbs__link:visited:hover,area[href].breadcrumbs__link:hover{background:var(--ifm-breadcrumb-item-background-active);-webkit-text-decoration:none;text-decoration:none}.breadcrumbs--sm{--ifm-breadcrumb-size-multiplier:0.8}.breadcrumbs--lg{--ifm-breadcrumb-size-multiplier:1.2}.button{background-color:var(--ifm-button-background-color);border:var(--ifm-button-border-width) solid var(--ifm-button-border-color);border-radius:var(--ifm-button-border-radius);font-size:calc(.875rem*var(--ifm-button-size-multiplier));font-weight:var(--ifm-button-font-weight);padding:calc(var(--ifm-button-padding-vertical)*var(--ifm-button-size-multiplier)) calc(var(--ifm-button-padding-horizontal)*var(--ifm-button-size-multiplier));transition-duration:var(--ifm-button-transition-duration);white-space:nowrap}.button,.button:hover{color:var(--ifm-button-color)}.button:hover{box-shadow:0 6px px #ca007c,-2px -1px 14px #ff009e}.button--outline{--ifm-button-color:var(--ifm-button-border-color)}.button--outline:hover{--ifm-button-background-color:var(--ifm-button-border-color)}.button--link{--ifm-button-border-color:#0000;color:var(--ifm-link-color);text-decoration:var(--ifm-link-decoration)}.button--link.button--active,.button--link:active,.button--link:hover{color:var(--ifm-link-hover-color);text-decoration:var(--ifm-link-hover-decoration)}.block.fifth .box a,.button a,.dropdown__link--active,.dropdown__link:hover,.menu__link:hover,.navbar__brand:hover,.navbar__link--active,.navbar__link:hover,.pagination-nav__link:hover,.pagination__link:hover,a:hover,a:visited{-webkit-text-decoration:none;text-decoration:none}.button.disabled,.button:disabled,.button[disabled]{opacity:.65;pointer-events:none}.button--sm{--ifm-button-size-multiplier:0.8}.button--lg{--ifm-button-size-multiplier:1.35}.button--block{display:block;width:100%}.button.button--secondary{color:var(--ifm-color-gray-900)}:where(.button--primary){--ifm-button-background-color:var(--ifm-color-primary);--ifm-button-border-color:var(--ifm-color-primary)}:where(.button--primary):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-primary-dark);--ifm-button-border-color:var(--ifm-color-primary-dark)}.button--primary.button--active,.button--primary:active{--ifm-button-background-color:var(--ifm-color-primary-darker);--ifm-button-border-color:var(--ifm-color-primary-darker)}:where(.button--secondary){--ifm-button-background-color:var(--ifm-color-secondary);--ifm-button-border-color:var(--ifm-color-secondary)}:where(.button--secondary):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-secondary-dark);--ifm-button-border-color:var(--ifm-color-secondary-dark)}.button--secondary.button--active,.button--secondary:active{--ifm-button-background-color:var(--ifm-color-secondary-darker);--ifm-button-border-color:var(--ifm-color-secondary-darker)}:where(.button--success){--ifm-button-background-color:var(--ifm-color-success);--ifm-button-border-color:var(--ifm-color-success)}:where(.button--success):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-success-dark);--ifm-button-border-color:var(--ifm-color-success-dark)}.button--success.button--active,.button--success:active{--ifm-button-background-color:var(--ifm-color-success-darker);--ifm-button-border-color:var(--ifm-color-success-darker)}:where(.button--info){--ifm-button-background-color:var(--ifm-color-info);--ifm-button-border-color:var(--ifm-color-info)}:where(.button--info):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-info-dark);--ifm-button-border-color:var(--ifm-color-info-dark)}.button--info.button--active,.button--info:active{--ifm-button-background-color:var(--ifm-color-info-darker);--ifm-button-border-color:var(--ifm-color-info-darker)}:where(.button--warning){--ifm-button-background-color:var(--ifm-color-warning);--ifm-button-border-color:var(--ifm-color-warning)}:where(.button--warning):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-warning-dark);--ifm-button-border-color:var(--ifm-color-warning-dark)}.button--warning.button--active,.button--warning:active{--ifm-button-background-color:var(--ifm-color-warning-darker);--ifm-button-border-color:var(--ifm-color-warning-darker)}:where(.button--danger){--ifm-button-background-color:var(--ifm-color-danger);--ifm-button-border-color:var(--ifm-color-danger)}:where(.button--danger):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-danger-dark);--ifm-button-border-color:var(--ifm-color-danger-dark)}.button--danger.button--active,.button--danger:active{--ifm-button-background-color:var(--ifm-color-danger-darker);--ifm-button-border-color:var(--ifm-color-danger-darker)}.button-group{display:inline-flex;gap:var(--ifm-button-group-spacing)}.button-group>.button:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.button-group>.button:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}.button-group--block{display:flex;justify-content:stretch}.button-group--block>.button{flex-grow:1}.card{background-color:var(--ifm-card-background-color);border-radius:var(--ifm-card-border-radius);box-shadow:var(--ifm-global-shadow-lw);display:flex;flex-direction:column;overflow:hidden}.card--full-height{height:100%}.card__image{padding-top:var(--ifm-card-vertical-spacing)}.card__image:first-child{padding-top:0}.card__body,.card__footer,.card__header{padding:var(--ifm-card-vertical-spacing) var(--ifm-card-horizontal-spacing)}.block.last,.card__body:not(:last-child),.card__footer:not(:last-child),.card__header:not(:last-child){padding-bottom:0}.card__body>:last-child,.card__footer>:last-child,.card__header>:last-child{margin-bottom:0}.card__footer{margin-top:auto}.table-of-contents{font-size:.8rem;margin-bottom:0;padding:var(--ifm-toc-padding-vertical) 0}.table-of-contents,.table-of-contents ul{list-style:none;padding-left:var(--ifm-toc-padding-horizontal)}.table-of-contents li{margin:var(--ifm-toc-padding-vertical) var(--ifm-toc-padding-horizontal)}.table-of-contents__left-border{border-left:1px solid var(--ifm-toc-border-color)}.table-of-contents__link{color:var(--ifm-toc-link-color);display:block}.table-of-contents__link--active,.table-of-contents__link--active code,.table-of-contents__link:hover,.table-of-contents__link:hover code{color:var(--ifm-color-primary);-webkit-text-decoration:none;text-decoration:none}.close{color:var(--ifm-color-black);float:right;font-size:1.5rem;font-weight:var(--ifm-font-weight-bold);opacity:.5;padding:1rem;transition:opacity var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.close:hover{opacity:.7}.close:focus{opacity:.8}.dropdown{display:inline-flex;font-weight:var(--ifm-dropdown-font-weight);position:relative;vertical-align:top}.button,.call-to-action a,.searchbox__input,.searchbox__submit,.searchbox__submit svg{vertical-align:middle}.dropdown--hoverable:hover .dropdown__menu,.dropdown--show .dropdown__menu{opacity:1;pointer-events:all;transform:translateY(-1px);visibility:visible}#nprogress,.dropdown__menu,.navbar__item.dropdown .navbar__link:not([href]){pointer-events:none}.dropdown--right .dropdown__menu{left:inherit;right:0}.dropdown--nocaret .navbar__link:after{content:none!important}.dropdown__menu{background-color:var(--ifm-dropdown-background-color);border-radius:var(--ifm-global-radius);box-shadow:var(--ifm-global-shadow-md);left:0;max-height:80vh;min-width:10rem;opacity:0;overflow-y:auto;padding:.5rem;position:absolute;top:calc(100% - var(--ifm-navbar-item-padding-vertical) + .3rem);transform:translateY(-.625rem);transition-duration:var(--ifm-transition-fast);transition-property:opacity,transform,visibility;transition-timing-function:var(--ifm-transition-timing-default);visibility:hidden;z-index:var(--ifm-z-index-dropdown)}.menu__caret,.menu__link,.menu__list-item-collapsible{border-radius:.25rem;transition:background var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.dropdown__link{border-radius:.25rem;color:var(--ifm-dropdown-link-color);display:block;font-size:.875rem;margin-top:.2rem;padding:.25rem .5rem;white-space:nowrap}.dropdown__link--active,.dropdown__link:hover{background-color:var(--ifm-dropdown-hover-background-color);color:var(--ifm-dropdown-link-color)}.dropdown__link--active,.dropdown__link--active:hover{--ifm-dropdown-link-color:var(--ifm-link-color)}.dropdown>.navbar__link:after{border-color:currentcolor #0000;border-style:solid;border-width:.4em .4em 0;content:"";margin-left:.3em;position:relative;top:2px;transform:translateY(-50%)}.footer{background-color:var(--ifm-footer-background-color);color:var(--ifm-footer-color);padding:var(--ifm-footer-padding-vertical) var(--ifm-footer-padding-horizontal)}.footer--dark{--ifm-footer-background-color:#303846;--ifm-footer-color:var(--ifm-footer-link-color);--ifm-footer-link-color:var(--ifm-color-secondary);--ifm-footer-title-color:var(--ifm-color-white)}.footer__links{margin-bottom:1rem}.footer__link-item{color:var(--ifm-footer-link-color);line-height:2}.footer__link-item:hover{color:var(--ifm-footer-link-hover-color)}.footer__link-separator{margin:0 var(--ifm-footer-link-horizontal-spacing)}.footer__logo{margin-top:1rem;max-width:var(--ifm-footer-logo-max-width)}.docItemContainer_c0TR article>:first-child,.docItemContainer_c0TR header+*,.footer__item,h3{margin-top:0}.footer__title{color:var(--ifm-footer-title-color);font:700 var(--ifm-h4-font-size)/var(--ifm-heading-line-height) var(--ifm-font-family-base);margin-bottom:var(--ifm-heading-margin-bottom)}.menu,.navbar__link{font-weight:var(--ifm-font-weight-semibold)}.markdown p,p{line-height:165%}.admonitionContent_BuS1>:last-child,.collapsibleContent_i85q p:last-child,.details_lb9f>summary>p:last-child,.footer__items{margin-bottom:0}.footer-nav-links,.slick-slide,[type=checkbox],pre[data-theme]{padding:0}.hero{align-items:center;background-color:var(--ifm-hero-background-color);color:var(--ifm-hero-text-color);display:flex;padding:4rem 2rem}.hero--primary{--ifm-hero-background-color:var(--ifm-color-primary);--ifm-hero-text-color:var(--ifm-font-color-base-inverse)}.hero--dark{--ifm-hero-background-color:#303846;--ifm-hero-text-color:var(--ifm-color-white)}.hero__title{font-size:3rem}.hero__subtitle{font-size:1.5rem}.menu__list{margin:0;padding-left:0}.menu__caret,.menu__link{padding:var(--ifm-menu-link-padding-vertical) var(--ifm-menu-link-padding-horizontal)}.menu__list .menu__list{flex:0 0 100%;margin-top:.25rem;padding-left:var(--ifm-menu-link-padding-horizontal)}.menu__list-item:not(:first-child){margin-top:.25rem}.menu__list-item--collapsed .menu__list{height:0;overflow:hidden}.details_lb9f[data-collapsed=false].isBrowser_bmU9>summary:before,.details_lb9f[open]:not(.isBrowser_bmU9)>summary:before,.menu__list-item--collapsed .menu__caret:before,.menu__list-item--collapsed .menu__link--sublist:after{transform:rotate(90deg)}.menu__list-item-collapsible{display:flex;flex-wrap:wrap;position:relative}.menu__caret:hover,.menu__link:hover,.menu__list-item-collapsible--active,.menu__list-item-collapsible:hover{background:var(--ifm-menu-color-background-hover)}.menu__list-item-collapsible .menu__link--active,.menu__list-item-collapsible .menu__link:hover{background:none!important}.menu__caret,.menu__link{align-items:center;display:flex}.navbar-sidebar,.navbar-sidebar__backdrop{opacity:0;transition-duration:var(--ifm-transition-fast);transition-timing-function:ease-in-out;top:0;left:0;bottom:0;visibility:hidden}.menu__link{color:var(--ifm-menu-color);flex:1;line-height:1.25}.menu__link:hover{color:var(--ifm-menu-color)}.menu__caret:before,.menu__link--sublist-caret:after{filter:var(--ifm-menu-link-sublist-icon-filter);height:1.25rem;transform:rotate(180deg);transition:transform var(--ifm-transition-fast) linear;width:1.25rem;content:""}.menu__link--sublist-caret:after{background:var(--ifm-menu-link-sublist-icon) 50%/2rem 2rem;margin-left:auto;min-width:1.25rem}.navbar__items--center .navbar__brand,body{margin:0}.menu__link--active,.menu__link--active:hover{color:var(--ifm-menu-color-active)}.navbar__brand,.navbar__link{color:var(--ifm-navbar-link-color)}.menu__link--active:not(.menu__link--sublist){background-color:var(--ifm-menu-color-background-active)}.menu__caret:before{background:var(--ifm-menu-link-sublist-icon) 50%/2rem 2rem}.navbar--dark,html[data-theme=dark]{--ifm-menu-link-sublist-icon-filter:invert(100%) sepia(94%) saturate(17%) hue-rotate(223deg) brightness(104%) contrast(98%)}.navbar{background-color:var(--ifm-navbar-background-color);box-shadow:var(--ifm-navbar-shadow);height:var(--ifm-navbar-height);padding:var(--ifm-navbar-padding-vertical) var(--ifm-navbar-padding-horizontal)}.flex,.navbar>.container,.navbar>.container-fluid{display:flex}.navbar--fixed-top{position:sticky;top:0;z-index:var(--ifm-z-index-fixed)}.navbar__inner{display:flex;flex-wrap:wrap;justify-content:space-between;width:100%}.navbar__brand{align-items:center;display:flex;margin-right:1rem;min-width:0}.navbar__brand:hover{color:var(--ifm-navbar-link-hover-color)}.announcementBarContent_xLdY,.navbar__title{flex:1 1 auto}.navbar__toggle{display:none;margin-right:.5rem}.navbar__logo{flex:0 0 auto;margin-right:.5rem}.full-height,.navbar__logo img,body,html{height:100%}.navbar__items{align-items:center;display:flex;flex:1;min-width:0}.navbar__items--center{flex:0 0 auto}.navbar__items--center+.navbar__items--right{flex:1}.navbar__items--right{flex:0 0 auto;justify-content:flex-end}.navbar__item{display:inline-block;padding:var(--ifm-navbar-item-padding-vertical) var(--ifm-navbar-item-padding-horizontal)}.navbar__link--active,.navbar__link:hover{color:var(--ifm-navbar-link-hover-color)}.navbar--dark,.navbar--primary{--ifm-menu-color:var(--ifm-color-gray-300);--ifm-navbar-link-color:var(--ifm-color-gray-100);--ifm-navbar-search-input-background-color:#ffffff1a;--ifm-navbar-search-input-placeholder-color:#ffffff80;color:var(--ifm-color-white)}.navbar--dark{--ifm-navbar-background-color:#242526;--ifm-menu-color-background-active:#ffffff0d;--ifm-navbar-search-input-color:var(--ifm-color-white)}.navbar--primary{--ifm-navbar-background-color:var(--ifm-color-primary);--ifm-navbar-link-hover-color:var(--ifm-color-white);--ifm-menu-color-active:var(--ifm-color-white);--ifm-navbar-search-input-color:var(--ifm-color-emphasis-500)}.navbar__search-input{appearance:none;background:var(--ifm-navbar-search-input-background-color) var(--ifm-navbar-search-input-icon) no-repeat .75rem center/1rem 1rem;border:none;border-radius:2rem;color:var(--ifm-navbar-search-input-color);cursor:text;display:inline-block;font-size:1rem;height:2rem;padding:0 .5rem 0 2.25rem}.navbar__search-input::placeholder{color:var(--ifm-navbar-search-input-placeholder-color)}.navbar-sidebar{background-color:var(--ifm-navbar-background-color);box-shadow:var(--ifm-global-shadow-md);position:fixed;transform:translate3d(-100%,0,0);transition-property:opacity,visibility,transform;width:var(--ifm-navbar-sidebar-width)}.navbar-sidebar--show .navbar-sidebar,.navbar-sidebar__items{transform:translateZ(0)}.navbar-sidebar--show .navbar-sidebar,.navbar-sidebar--show .navbar-sidebar__backdrop{opacity:1;visibility:visible}.navbar-sidebar__backdrop{background-color:#0009;position:fixed;right:0;transition-property:opacity,visibility}.navbar-sidebar__brand{align-items:center;box-shadow:var(--ifm-navbar-shadow);display:flex;flex:1;height:var(--ifm-navbar-height);padding:var(--ifm-navbar-padding-vertical) var(--ifm-navbar-padding-horizontal)}.navbar-sidebar__items{display:flex;height:calc(100% - var(--ifm-navbar-height));transition:transform var(--ifm-transition-fast) ease-in-out}.navbar-sidebar__items--show-secondary{transform:translate3d(calc((var(--ifm-navbar-sidebar-width))*-1),0,0)}.navbar-sidebar__item{flex-shrink:0;padding:.5rem;width:calc(var(--ifm-navbar-sidebar-width))}.navbar-sidebar__back{background:var(--ifm-menu-color-background-active);font-size:15px;font-weight:var(--ifm-button-font-weight);margin:0 0 .2rem -.5rem;padding:.6rem 1.5rem;position:relative;text-align:left;top:-.5rem;width:calc(100% + 1rem)}.navbar-sidebar__close{display:flex;margin-left:auto}.pagination{column-gap:var(--ifm-pagination-page-spacing);display:flex;font-size:var(--ifm-pagination-font-size);padding-left:0}.pagination--sm{--ifm-pagination-font-size:0.8rem;--ifm-pagination-padding-horizontal:0.8rem;--ifm-pagination-padding-vertical:0.2rem}.pagination--lg{--ifm-pagination-font-size:1.2rem;--ifm-pagination-padding-horizontal:1.2rem;--ifm-pagination-padding-vertical:0.3rem}.pagination__item{display:inline-flex}.pagination__item>span{padding:var(--ifm-pagination-padding-vertical)}.pagination__item--active .pagination__link{color:var(--ifm-pagination-color-active)}.pagination__item--active .pagination__link,.pagination__item:not(.pagination__item--active):hover .pagination__link{background:var(--ifm-pagination-item-active-background)}.pagination__item--disabled,.pagination__item[disabled]{opacity:.25;pointer-events:none}.pagination__link{border-radius:var(--ifm-pagination-border-radius);color:var(--ifm-font-color-base);display:inline-block;padding:var(--ifm-pagination-padding-vertical) var(--ifm-pagination-padding-horizontal);transition:background var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.pagination-nav{display:grid;grid-gap:var(--ifm-spacing-horizontal);gap:var(--ifm-spacing-horizontal);grid-template-columns:repeat(2,1fr)}.pagination-nav__link{border:1px solid var(--ifm-color-emphasis-300);border-radius:var(--ifm-pagination-nav-border-radius);display:block;height:100%;line-height:var(--ifm-heading-line-height);padding:var(--ifm-global-spacing);transition:border-color var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.pagination-nav__link:hover{border-color:var(--ifm-pagination-nav-color-hover)}.block.fifth .box a:hover,.button.button-empty:hover,.content_knG7 a,.markdown a,.navbar__link:hover,.package a:hover,.slider-content .slider-profile .company-link,.tag-cloud a:hover,.underline-link,p a,p a:hover,td a{-webkit-text-decoration:underline;text-decoration:underline}.pagination-nav__link--next{grid-column:2/3;text-align:right}.pagination-nav__label{font-size:var(--ifm-h4-font-size);font-weight:var(--ifm-heading-font-weight);word-break:break-word}.pagination-nav__link--prev .pagination-nav__label:before{content:"« "}.pagination-nav__link--next .pagination-nav__label:after{content:" »"}.pagination-nav__sublabel{color:var(--ifm-color-content-secondary);font-size:var(--ifm-h5-font-size);font-weight:var(--ifm-font-weight-semibold);margin-bottom:.25rem}.pills__item,.tabs{font-weight:var(--ifm-font-weight-bold)}.pills{display:flex;gap:var(--ifm-pills-spacing);padding-left:0}.pills__item{border-radius:.5rem;cursor:pointer;display:inline-block;padding:.25rem 1rem;transition:background var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.pills__item--active{color:var(--ifm-pills-color-active)}.pills__item--active,.pills__item:not(.pills__item--active):hover{background:var(--ifm-pills-color-background-active)}.pills--block{justify-content:stretch}.pills--block .pills__item{flex-grow:1;text-align:center}.tabs{color:var(--ifm-tabs-color);display:flex;margin-bottom:0;overflow-x:auto;padding-left:0}.tabs__item{border-bottom:3px solid #0000;border-radius:var(--ifm-global-radius);cursor:pointer;display:inline-flex;padding:var(--ifm-tabs-padding-vertical) var(--ifm-tabs-padding-horizontal);transition:background-color var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.tabs__item--active{border-bottom-color:var(--ifm-tabs-color-active-border);border-bottom-left-radius:0;border-bottom-right-radius:0;color:var(--ifm-tabs-color-active)}.tabs__item:hover{background-color:var(--ifm-hover-overlay)}.tabs--block{justify-content:stretch}.tabs--block .tabs__item{flex-grow:1;justify-content:center}html[data-theme=dark]{--ifm-color-scheme:dark;--ifm-color-emphasis-0:var(--ifm-color-gray-1000);--ifm-color-emphasis-100:var(--ifm-color-gray-900);--ifm-color-emphasis-200:var(--ifm-color-gray-800);--ifm-color-emphasis-300:var(--ifm-color-gray-700);--ifm-color-emphasis-400:var(--ifm-color-gray-600);--ifm-color-emphasis-600:var(--ifm-color-gray-400);--ifm-color-emphasis-700:var(--ifm-color-gray-300);--ifm-color-emphasis-800:var(--ifm-color-gray-200);--ifm-color-emphasis-900:var(--ifm-color-gray-100);--ifm-color-emphasis-1000:var(--ifm-color-gray-0);--ifm-background-color:#1b1b1d;--ifm-background-surface-color:#242526;--ifm-hover-overlay:#ffffff0d;--ifm-color-content:#e3e3e3;--ifm-color-content-secondary:#fff;--ifm-breadcrumb-separator-filter:invert(64%) sepia(11%) saturate(0%) hue-rotate(149deg) brightness(99%) contrast(95%);--ifm-code-background:#ffffff1a;--ifm-scrollbar-track-background-color:#444;--ifm-scrollbar-thumb-background-color:#686868;--ifm-scrollbar-thumb-hover-background-color:#7a7a7a;--ifm-table-stripe-background:#ffffff12;--ifm-toc-border-color:var(--ifm-color-emphasis-200);--ifm-color-primary-contrast-background:#102445;--ifm-color-primary-contrast-foreground:#ebf2fc;--ifm-color-secondary-contrast-background:#474748;--ifm-color-secondary-contrast-foreground:#fdfdfe;--ifm-color-success-contrast-background:#003100;--ifm-color-success-contrast-foreground:#e6f6e6;--ifm-color-info-contrast-background:#193c47;--ifm-color-info-contrast-foreground:#eef9fd;--ifm-color-warning-contrast-background:#4d3800;--ifm-color-warning-contrast-foreground:#fff8e6;--ifm-color-danger-contrast-background:#4b1113;--ifm-color-danger-contrast-foreground:#ffebec;--ifm-background-color:#0d0f18;--ifm-navbar-background-color:#0d0f18;--ifm-code-background:var(--bg-color-code)}:root{--docusaurus-progress-bar-color:var(--ifm-color-primary);--ifm-code-font-size:var(--fontSizes-s);--csstools-color-scheme--light: ;color-scheme:dark;--ifm-font-family-base:"Atkinson Hyperlegible Mono",ui-monospace,SFMono-Regular,Menlo,Consolas,"Liberation Mono","DejaVu Sans Mono",monospace;--ifm-font-family-monospace:"Atkinson Hyperlegible Mono",ui-monospace,SFMono-Regular,Menlo,Consolas,"Liberation Mono","DejaVu Sans Mono",monospace;--ifm-heading-margin-bottom:40px;--bg-color:#20293c;--bg-color-dark:#0d0f18;--bg-color-darkest:#0d0f18;--bg-color-code:#282330;--shiki-background:var(--bg-color-code);--shiki-foreground:#f8f8f2;--shiki-token-comment:#6272a4;--shiki-token-keyword:#bd93f9;--shiki-token-function:#50fa7b;--shiki-token-string:#f1fa8c;--shiki-token-string-expression:#ff79c6;--shiki-token-constant:#8be9fd;--shiki-token-parameter:#ffb86c;--shiki-token-punctuation:var(--shiki-foreground);--shiki-line-highlight:#0000004d;--fontSizes-xxs:0.6rem;--fontSizes-xs:0.75rem;--fontSizes-s:0.9rem;--fontSizes-m:1rem;--fontSizes-l:1.25rem;--fontSizes-xl:1.5rem;--fontSizes-2xl:1.75rem;--fontSizes-3xl:2rem;--fontSizes-4xl:2.25rem;--fontSizes-5xl:2.5rem;--fontSizes-6xl:4.5rem;--fontSizes-7xl:5rem;--space-between-blocks:0px;--fontColor-white:#fff;--fontColor-offwhite:#fff;--ifm-hero-text-color:#fff;--fontColor-gray:#d3d3d3;--color-top:#ed168f;--color-middle:#b2218b;--color-bottom:#752a8a;--docusaurus-announcement-bar-height:auto;--docusaurus-tag-list-border:var(--ifm-color-emphasis-300);--docusaurus-collapse-button-bg:#0000;--docusaurus-collapse-button-bg-hover:#0000001a;--doc-sidebar-width:300px;--doc-sidebar-hidden-width:30px}#nprogress .bar{background:var(--docusaurus-progress-bar-color);height:2px;left:0;position:fixed;top:0;width:100%;z-index:1031}#nprogress .peg{box-shadow:0 0 10px var(--docusaurus-progress-bar-color),0 0 5px var(--docusaurus-progress-bar-color);height:100%;opacity:1;position:absolute;right:0;transform:rotate(3deg) translateY(-4px);width:100px}@font-face{font-display:swap;font-family:Atkinson Hyperlegible Mono;font-style:normal;font-weight:100 900;src:url(data:font/truetype;charset=utf-8;base64,AAEAAAAVAQAABABQR0RFRg8z+AsAAAPYAAABG0dQT1MO3zOSAAAmPAAAEKBHU1VCgONl9gAADIAAAAUwSFZBUg4BFC4AAAHcAAAAL01WQVIo9B8kAAACRAAAADtPUy8ywUlB3gAAAtwAAABgU1RBVPRp0ywAAAM8AAAAnGF2YXKVkKABAAABsAAAACpjbWFwBf0fQgAAB/AAAASQZnZhcpD4aZIAAAKAAAAAXGdhc3AAAAAQAAABZAAAAAhnbHlm4AsJXQAAeYQAAFc0Z3ZhcuKq3acAADbcAABCqGhlYWQnQ/VkAAACDAAAADZoaGVhBlMEugAAAYwAAAAkaG10eCLNl70AABGwAAAFsmxvY2E/uyqSAAAE9AAAAvptYXhwAYoAngAAAWwAAAAgbmFtZcNt9pIAABdkAAAG8HBvc3QNYmXuAAAeVAAAB+dwcmVwaAaMhQAAAVwAAAAHuAH/hbAEjQAAAQAB//8ADwABAAABfABYAAcARAAEAAEAAAAAAAAAAAAAAAAAAgABAAEAAAPY/sQAAAJ4//7+OQJ6A+gAAAAAAAAAAAAAAAAAAAFdAAEAAAAAAAEACMAAwAAAAAAACqsIuhVVEgkgACAAKqsoujVVMglAAEAAAAAAAQAAAAAAGQAAABQAAAAAAAAAAAAAAAEAAAEAAAASAAEAAAAMAAEAAAAAAAEAAAAAAQAAAAIAQlSzwOdfDzz1AAMD6AAAAADiUBhjAAAAAONjmVX//v8YAnoDbwAAAAYAAgAAAAAAAAABAAAAAAAIAAIAHHN0cnMAAAAAdW5kcwAAAAAAAQAAAAwAAQAAABYAAQABAABAAEAAAAEAAAABAAAIAAABAAAAEAACAAEAFAAHAAh3Z2h0AMgAAADIAAADIAAAAAABAAEBAAAAyAAAAQIAAAEsAAABAwAAAZAAAAEEAAAB9AAAAQUAAAJYAAABBgAAArwAAAEHAAADIAAAAAQCeADIAAUAAAKKAlgAAABLAooCWAAAAV4AMAECAAACAAAJAAAAAAAAoAAAbwAAYAoAAAAAAAAAAE5PTkUAwAAgJmoD2P7EAAAD5AGbIAAAEwAAAAAB8AKcAAAAIAADAAEAAQAIAAIAAAAUAAgAAAAkAAJ3Z2h0AQAAAGl0YWwBCAABABAAHAAoADgARABQAFwAaAABAAAAAAEBAMgAAAABAAAAAAECASwAAAADAAAAAgEDAZAAAAK8AAAAAQAAAAABBAH0AAAAAQAAAAABBQJYAAAAAQAAAAABBgK8AAAAAQAAAAABBwMgAAAAAwABAAIBCQAAAAAAAQAAAAEAAwASAAAAAAAAAHwAAADEAAIAEQABABMAAQAWACQAAQAmACYAAQAoADYAAQA4AEgAAQBKAFEAAQBTAIEAAQCFAJMAAQCVAJ0AAQCfAKcAAQCpAMIAAQDEAOAAAQFAAUMAAwFFAUoAAwFMAVsAAwFcAWEAAQFjAWgAAQABAAMAAAAuAAAAJgAAABAAAgADAUABQwAAAUUBSgAEAUwBVwAKAAEAAgFYAVkAAQALAUABQgFFAUcBSQFMAU4BUAFSAVQBVgABAAAATQABAAAADAA5AAAAAQAA4+rr7/Dx9Pb4+fr7/P3+/wECAwQFBgcICQoLDA0ODxARExQWFxgbHB0eHyIjJCgqKywwMjQ1ODtGAAEAAQAAQABAAAAAAAAnAEEATABYAGQAcAB7AIcAugD0AQABIQFYAYkBlAGgAfoCBQIsAjgCaAKYAq8CugLGAtIC3gLpAvQDAAMxA0UDfgOKA5UDoAO3A9wD8QQgBCsENwRDBE4EWQRlBJQEtgTCBNwE5wT2BQEFDAUXBTAFTQVlBXAFfAWHBZMFxQXQBdwF6AXzBf8GRwZTBo8GsgbWBxUHPwdKB1YHnweqB7YIKQg0CHoIiwiXCNII3Qj9CQgJFAkgCSsJNwlDCYEJxwnbCfoKBQoRCh0KKApFClwKZwpzCn8KigqgCqsKtwrCCv4LCQsUCx8LKgs1C0ALlAufC6oMDAxADHAMewyGDOAM6w0hDWQNoQ3yDioONQ5ADksOVg5hDmwOdw7IDucPLA83D5QPnw/CD+wP9xAJEBQQHxAqEDUQQBBLEIcQyhDVEPAQ+xETER4RNxFCEU0RWBF7Ea4R0RHcEecR8hH9EjMSPhJJElQSXxJqErkSxBMeE1ATghPDE+IT7RP4FDkURBRPFLgUwxUHFSYVMRV5FYQVpxWyFb0VyBXTFd4V6RYkFi8WQxZiFm0WeBaDFo4WpxbJFtQW3xbqFvUXCxcWFyEXLBdnF5MXqBfkGBIYMhgyGDIYMhhOGGsYdxiDGLcY1xj3GToZfhmHGZAZmRm1GdIaAhoRGh8aKxo3GkMaTxppGoMauBrtGv4bDxsXG0kbfBuvG8wb6RwCHBscKxw7HE4cXByOHMQdKx2EHaEeCB5hHrYe3h8KHxcfKx9AH1wfkx/PIB4gdSC5IREhNSE+IUwhYCFsIYUhsSHEIeQh9iIJIiIiOyJWIpwirCLSIuUjMSNrI34jlyOsI+4kSCTGJN4lBCUNJSQlOyVSJWolgiWaJbIl2iXjJfsmEyYcJjImOyZWJl8miya3JuMm7Cb4JwEnHidRJ3YnmieiJ6onsie6J8InyifXJ98n5yfvJ/cn/ygHKA8oTihmKI8o1yjzKSspayl9KdUqDipRKl8qmSrHKx8rMytZK5oAAAAAAAIAAAADAAAAFAADAAEAAAAUAAQEfAAAAHwAQAAFADwALwA5AH4ArAC0AQcBEwEbASMBJwErATMBNwE+AUgBVQFbAWUBawF+AZICGwI3AscCyQLdAwQDCAMMAygDlAOpA7wDwB6FHp4e8yAJIBQgGiAeICIgJiAwIDogRCCsISIhLiICIg8iEiIVIhoiHiIrIkgiYCJlJcomav//AAAAIAAwADoAoACuALYBCgEWAR4BJgEqAS4BNgE5AUEBUAFYAV4BagFuAZICGAI3AsYCyQLYAwADBgMKAyYDlAOpA7wDwB6AHp4e8iAJIBMgGCAcICAgJiAwIDkgRCCsISIhLiICIg8iESIVIhkiHiIrIkgiYCJkJcomav//AAABOgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP9/AAD+aQAA/pkAAAAAAAAAAP4y/U/9O/0p/SYAAOG0AADg4ODpAAAAAAAA4MjhDuDU4THgd9/33/HfOt8qAADfEgAA3xnfDd7r3s0AANt12qgAAQB8AAAAmAEgATgBRAHmAfgCAgIMAg4CEAIaAhwCJgI0Aj4CRAJSAlQAAAJyAAACdgAAAnYCgAKIAowAAAAAAAAAAAAAAoYAAAKOAAAAAAKMApAClAAAAAAAAAAAAAAAAAAAAAAAAAKGAAAChgAAAAAAAAAAAoAAAAAAAAAA5wDvAQ8A+AEiAT0BFAEQAP8BAAD3ASgA6wD7AOoA+QDsAO0BLwEsAS4A8QETAAEADAANABIAFgAfACAAJAAmAC8AMQAzADgAOQA+AEcASQBKAE0AUwBXAGAAYQBmAGcAbAEDAPoBBAE2AP4BXgBwAHsAfACBAIUAjgCPAJMAlQCfAKIApACpAKoArwC4ALoAuwC+AMQAyADRANIA1wDYAN0BAQEbAQIBNQDoAPABIAEkASEBJQEcARYBXAEXAOEBCwE0ARgBZwEaATIBegF7AV8BFQDzAWgBeQDiAQwBdwF2AXgA8gAGAAIABAAKAAUACQALABAAHAAXABkAGgAsACgAKQAqABUAPQBCAD8AQABFAEEBKgBEAFsAWABZAFoAaABIAMMAdQBxAHMAeQB0AHgAegB/AIsAhgCIAIkAmwCXAJgAmQCEAK4AswCwALEAtgCyASsAtQDMAMkAygDLANkAuQDbAAcAdgADAHIACAB3AA4AfQARAIAADwB+ABMAggAUAIMAHQCMABsAigAeAI0AGACHACEAkAAjAJIAIgCRACUAlAAtAJwALgCdACsAlgAnAJ4AMgCjADQApQA2AKcANQCmADcAqAA6AKsAPACtADsArABDALQARgC3AEsAvABMAL0ATgC/AFAAwQBPAMAAVQDGAFQAxQBdAM4AXwDQAFwAzQBeAM8AYwDUAGkA2gBqAG0A3gBvAOAAbgDfAFEAwgBWAMcBYQFjAWQBXQFlAWkBZgFgAUUBRwFMAVQBVgFQAUIBQAFSAUkBTgBlANYAYgDTAGQA1QBrANwBCQEKAQUBBwEIAQYBHQEeAPYBOgEpASYBOwExATAAAQAAAAoAwgFOAAJERkxUAKBsYXRuAA4AlgAJQVpFIAB8Q0FUIABmQ1JUIAB8S0FaIAB8TU9MIABQTkxEIAA6Uk9NIABQVEFUIAB8VFJLIAB8AAD//wAIAAAAAQACAAMABwAIAAkACgAA//8ACAAAAAEAAgADAAYACAAJAAoAAP//AAgAAAABAAIAAwAFAAgACQAKAAD//wAIAAAAAQACAAMABAAIAAkACgAEAAAAAP//AAcAAAABAAIAAwAIAAkACgALYWFsdACEY2FzZQB+Y2NtcAB0ZnJhYwBubG9jbABobG9jbABibG9jbABcbG9jbABWb3JkbgBQc3VwcwBKemVybwBEAAAAAQAVAAAAAQAQAAAAAQASAAAAAQAOAAAAAQAKAAAAAQALAAAAAQAJAAAAAQARAAAAAwACAAUABwAAAAEAFAAAAAIAAAABABYDYANEAtACwAKoAk4CQAH2AkAB6AHOAZgBigF8AT4BLAEUANgAkABuAEIALgABAAAAAQAIAAEABgAKAAEAAQFqAAEAAAABAAgAAQAGAAEAAQANAPQBQAFCAUUBRwFJAUwBTgFQAVIBVAFWAVoAAQAAAAEACAACAA4ABADhAOIA4QDiAAEABAABAD4AcACvAAYAAAACACQACgADAAEANAABABIAAAABAAAAEwABAAIAPgCvAAMAAQAaAAEAEgAAAAEAAAATAAEAAgABAHAAAgABAWoBcwAAAAQAAAABAAgAAQAsAAIAFgAKAAEABAF4AAMA+QFuAAIADgAGAXYAAwD5AWwBdwADAPkBbgABAAIBawFtAAEAAAABAAgAAQAGAA4AAQADAWsBbAFtAAEAAAABAAgAAgAcAAIAMAChAAYAAAABAAgAAQAKAAIAJAASAAEAAgAvAJ8AAQAEAAEAlwABAAAAAQAAAA8AAQAEAAEAKAABAAAAAQAAAA8AAQAAAAEACAABAdAAAgABAAAAAQAIAAEBwgABAAYAAAABAAgAAQG0AAEACAACABYABgABADMAAQABADMAAQAAAA0AAQCkAAEAAQCkAAEAAAAMAAEAAAABAAgAAQAGAAEAAQAEAFAAVQDBAMYAAQAAAAEACAABAU4ABQAGAAAAAgAcAAoAAwABACQAAQCMAAAAAQAAAAgAAwAAAAEAegABABIAAQAAAAgAAQAMAUEBQwFGAUgBSgFNAU8BUQFTAVUBVwFbAAEAAAABAAgAAQBEAAEABgAAAAIALAAKAAMAAQASAAEANAAAAAEAAAAGAAIAAgABAG8AAADjAOQAbwADAAEAEgABABIAAAABAAAABgABAAwBQAFCAUUBRwFJAUwBTgFQAVIBVAFWAVoAAgAQAAEACgAAAAEAQAABAAgAAgCWAVoAAQAQAAEACgAAAAEAQAABAAYAEAAEAEIAKAAQABAAAAADAAAAAQASAAEARAABAAAABAABAAEAnQADAAAAAQASAAEALAABAAAAAwABAAIAlQCfAAMAAAABACwAAQASAAEAAAADAAEACwFAAUIBRQFHAUkBTAFOAVABUgFUAVYAAQABAJUAAwAAAAEACAABAAgAAQAOAAEAAQDzAAIA9AD1AAEAAAABAAgAAgA+ABwA4QAwAOIAUQBWAOEAmgChAOIAwgDHAPUBQQFDAUYBSAFKAU0BTwFRAVMBVQFXAVsBdAF5AXoBewABABwAAQAvAD4AUABVAHAAlQCfAK8AwQDGAPQBQAFCAUUBRwFJAUwBTgFQAVIBVAFWAVoBagFrAWwBbQJ4AGYCeAAjAngAIwJ4ACMCeAAjAngAIwJ4ACMCeAAjAngAIwJ4ACMCeAAjAngABQJ4AHQCeAA2AngANgJ4ADYCeAA2AngANgJ4AE0CeABNAngAFgJ4ABYCeACJAngAiQJ4AIkCeACJAngAiQJ4AIkCeACJAngAiQJ4AIkCeACJAngAKQJ4ACkCeAApAngAKQJ4AEECeAAKAngAjwJ4AAoCeACPAngAjwJ4AI8CeACPAngAjwJ4AI8CeACPAngARQJ4AEUCeABiAngAYgJ4AJMCeACTAngAkwJ4AJMCeAAfAngAMwJ4AFUCeABVAngAVQJ4AFUCeABVAngAKQJ4ACkCeAApAngAKQJ4ACkCeAApAngAKQJ4ACkCeAAIAngAdwJ4AHcCeAApAngAdgJ4AHYCeAB2AngASQJ4AEkCeABJAngASQJ4AEkCeABRAngAPwJ4AD8CeAA/AngAPwJ4AFUCeABVAngAVQJ4AFUCeABVAngAVQJ4AFUCeABVAngAVQJ4ADECeAANAngADQJ4AA0CeAANAngADQJ4ACMCeAAkAngAJAJ4ACQCeAAkAngAJAJ4ADYCeAA2AngANgJ4ADYCeABYAngAWAJ4AFgCeABYAngAWAJ4AFgCeABYAngAWAJ4AFgCeABYAngACgJ4AGQCeABlAngAZQJ4AGUCeABlAngAZQJ4ADsCeAAsAngAOwJ4AD0CeABUAngAVAJ4AFQCeABUAngAVAJ4AFQCeABUAngAVAJ4AFQCeABtAngAQgJ4AEICeABCAngAQgJ4AHICeAAxAngAcwJ4AHMCeABzAngAcwJ4AHMCeABzAngAcwJ4AHMCeABzAngAbgJ4AGQCeABkAngAZAJ4AJgCeACYAngAfAJ4AHwCeAB8AngAfAJ4AHwCeABHAngAcgJ4AHICeAByAngAcgJ4AHICeABGAngARgJ4AEYCeABGAngARgJ4AEYCeABGAngARgJ4AAQCeABkAngAZAJ4ADsCeACiAngAogJ4AKICeABuAngAbgJ4AG4CeABuAngAbgJ4AGICeACCAngAggJ4AIICeACCAngAdgJ4AHYCeAB2AngAdgJ4AHYCeAB2AngAdgJ4AHYCeAB2AngAQgJ4ACMCeAAjAngAIwJ4ACMCeAAjAngATgJ4AEICeABCAngAQgJ4AEICeABCAngAaQJ4AGkCeABpAngAaQJ4AKgCeACeAngAIwJ4AB0CeACBAngASQJ4AAACeAAAAngAAAJ4AQgCeAEIAngBCAJ4AQgCeAA2AngBDQJ4AQ0CeACGAngAcwJ4AQgCeAEIAngBCAJ4AJYCeACNAngAJgJ4ADwCeAA8AngAswJ4AGkCeAAjAnj//gJ4AMMCeACWAngAlwJ4AKMCeADUAngAowJ4AQgCeACwAngAsAJ4ALACeAEHAngBCAJ4AHQCeAB0AngA1AJ4ANQCeADNAngBIAJ4AGECeABhAngADwJ4ABYCeABlAngAYQJ4ABQCeAAUAngADAJ4AMICeAEhAngBIQJ4AGUCeABjAngAOwJ4AHoCeABTAngASQJ4ABwCeABnAngANQJ4AQgCeAAuAngARAJ4AEQCeABxAngARAJ4AEQCeABEAngAVQJ4AFUCeABaAngAWgJ4AE4CeABLAngASAJ4AEoCeABnAngADQJ4AJoCeABbAngAWgJ4AEYCeABXAngAEAJ4ABwCeABrAAAAwAAAAMAAAAEPAAABDwAAAQwAAAD3AAAA8QAAAPcAAADxAAAAugAAALoAAAETAAAAwAAAAMAAAADAAAAAwAAAAMkAAADJAAAA3QAAAN0AAACxAAAAsQAAAL0AAAC9AAAA/QAAAOgAAAD7AAAA+wJ4AMABDwD3APcAugDAALgAwADJAN0AsQC9AOgA+wBAAHgAYgBlAD8AaABnAGYAUgBJAEAANQA/AFsAIwEGAK4ArwAAAAAAGgE+AAMAAQQJAAABBgSsAAMAAQQJAAEASgRiAAMAAQQJAAIADgRUAAMAAQQJAAMAXAP4AAMAAQQJAAQASgRiAAMAAQQJAAUAGgPeAAMAAQQJAAYARgOYAAMAAQQJAAgAUgNGAAMAAQQJAAkApAKiAAMAAQQJAAsAQgJgAAMAAQQJAAwALgIyAAMAAQQJAA0BIgEQAAMAAQQJAA4ANgDaAAMAAQQJABAANACmAAMAAQQJABEAFACSAAMAAQQJABkAMABiAAMAAQQJAQAADABWAAMAAQQJAQEAFACSAAMAAQQJAQIACgBMAAMAAQQJAQMADgRUAAMAAQQJAQQADABAAAMAAQQJAQUAEAAwAAMAAQQJAQYACAAoAAMAAQQJAQcAEgAWAAMAAQQJAQgADAAKAAMAAQQJAQkACgAAAFIAbwBtAGEAbgBJAHQAYQBsAGkAYwBFAHgAdAByAGEAQgBvAGwAZABCAG8AbABkAFMAZQBtAGkAQgBvAGwAZABNAGUAZABpAHUAbQBMAGkAZwBoAHQAVwBlAGkAZwBoAHQAQQB0AGsAaQBuAHMAbwBuAEgAeQBwAGUAcgBsAGUAZwBpAGIAbABlAE0AbwBuAG8ARQB4AHQAcgBhAEwAaQBnAGgAdABBAHQAawBpAG4AcwBvAG4AIABIAHkAcABlAHIAbABlAGcAaQBiAGwAZQAgAE0AbwBuAG8AaAB0AHQAcABzADoALwAvAG8AcABlAG4AZgBvAG4AdABsAGkAYwBlAG4AcwBlAC4AbwByAGcAVABoAGkAcwAgAEYAbwBuAHQAIABTAG8AZgB0AHcAYQByAGUAIABpAHMAIABsAGkAYwBlAG4AcwBlAGQAIAB1AG4AZABlAHIAIAB0AGgAZQAgAFMASQBMACAATwBwAGUAbgAgAEYAbwBuAHQAIABMAGkAYwBlAG4AcwBlACwAIABWAGUAcgBzAGkAbwBuACAAMQAuADEALgAgAFQAaABpAHMAIABsAGkAYwBlAG4AcwBlACAAaQBzACAAYQB2AGEAaQBsAGEAYgBsAGUAIAB3AGkAdABoACAAYQAgAEYAQQBRACAAYQB0ADoAIABoAHQAdABwAHMAOgAvAC8AbwBwAGUAbgBmAG8AbgB0AGwAaQBjAGUAbgBzAGUALgBvAHIAZwBoAHQAdABwADoALwAvAGgAZQBsAGwAbwBhAHAAcABsAGkAZQBkAC4AYwBvAG0AaAB0AHQAcABzADoALwAvAHcAdwB3AC4AYgByAGEAaQBsAGwAZQBpAG4AcwB0AGkAdAB1AHQAZQAuAG8AcgBnAC8ARQBsAGwAaQBvAHQAdAAgAFMAYwBvAHQAdAAsACAATQBlAGcAYQBuACAARQBpAHMAdwBlAHIAdABoACwAIABMAGkAbgB1AHMAIABCAG8AbQBhAG4ALAAgAFQAaABlAG8AZABvAHIAZQAgAFAAZQB0AHIAbwBzAGsAeQAsACAATABlAHQAdABlAHIAcwAgAGYAcgBvAG0AIABTAHcAZQBkAGUAbgBBAHAAcABsAGkAZQBkACAARABlAHMAaQBnAG4AIABXAG8AcgBrAHMALAAgAEwAZQB0AHQAZQByAHMAIABmAHIAbwBtACAAUwB3AGUAZABlAG4AQQB0AGsAaQBuAHMAbwBuAEgAeQBwAGUAcgBsAGUAZwBpAGIAbABlAE0AbwBuAG8ALQBFAHgAdAByAGEATABpAGcAaAB0AFYAZQByAHMAaQBvAG4AIAAyAC4AMAAwADEAMgAuADAAMAAxADsATgBPAE4ARQA7AEEAdABrAGkAbgBzAG8AbgBIAHkAcABlAHIAbABlAGcAaQBiAGwAZQBNAG8AbgBvAC0ARQB4AHQAcgBhAEwAaQBnAGgAdABSAGUAZwB1AGwAYQByAEEAdABrAGkAbgBzAG8AbgAgAEgAeQBwAGUAcgBsAGUAZwBpAGIAbABlACAATQBvAG4AbwAgAEUAeAB0AHIAYQBMAGkAZwBoAHQAQwBvAHAAeQByAGkAZwBoAHQAIAAyADAAMgAwAC0AMgAwADIANAAgAFQAaABlACAAQQB0AGsAaQBuAHMAbwBuACAASAB5AHAAZQByAGwAZQBnAGkAYgBsAGUAIABNAG8AbgBvACAAUAByAG8AagBlAGMAdAAgAEEAdQB0AGgAbwByAHMAIAAoAGgAdAB0AHAAcwA6AC8ALwBnAGkAdABoAHUAYgAuAGMAbwBtAC8AZwBvAG8AZwBsAGUAZgBvAG4AdABzAC8AYQB0AGsAaQBuAHMAbwBuAC0AaAB5AHAAZQByAGwAZQBnAGkAYgBsAGUALQBuAGUAeAB0AC0AbQBvAG4AbwApAAIAAAAAAAD/sgAwAAAAAQAAAAAAAAAAAAAAAAAAAAABfAAAACQAyQECAMcAYgCtAQMBBABjAK4AkAAlACYA/QD/AGQBBQAnAQYBBwDpACgAZQEIAMgAygEJAMsBCgELACkAKgD4AQwBDQArAQ4ALAEPAMwAzQDOAPoAzwEQAREALQESAC4BEwAvARQBFQEWAOIAMAAxARcBGAEZAGYAMgDQANEAZwDTARoAkQCvALAAMwDtADQANQEbARwANgEdAOQA+wEeAR8ANwEgASEBIgA4ANQA1QBoANYBIwEkASUBJgA5ADoBJwEoASkBKgA7ADwA6wErALsBLAA9AS0A5gEuAEQAaQEvAGsAbABqATABMQBuAG0AoABFAEYA/gEAAG8BMgBHATMBAQDqAEgAcAE0AHIAcwE1AHEBNgE3AEkASgD5ATgBOQBLAToATADXAHQAdgB3ATsAdQE8AT0BPgBNAT8BQABOAUEATwFCAUMBRADjAFAAUQFFAUYBRwB4AFIAeQB7AHwAegFIAKEAfQCxAFMA7gBUAFUBSQFKAFYBSwDlAPwBTACJAFcBTQFOAU8AWAB+AIAAgQB/AVABUQFSAVMAWQBaAVQBVQFWAVcAWwBcAOwBWAC6AVkAXQFaAOcBWwCdAJ4BXAFdAV4AmwADAV8BYAARAA8AHQAeAKsABACjACIAogDDAWEBYgCHAA0ABgASAD8AEACyALMAQgALAAwAXgBgAD4AQADEAMUAtAC1ALYAtwCpAKoAvgC/AAUACgCmAWMAIwAJAIgAhgCLAIoAjACDAF8A6ACCAMIBZACEAL0ABwFlAIUAlgFmAWcADgDvAPAAuAAgAI8AIQAfAJUAlACTAKcApABhAEEAkgCcAJoAmQClAJgACADGALkBaAFpAWoBawFsAW0BbgFvAXABcQFyAXMBdAF1AXYBdwF4AXkBegF7AXwBfQF+AX8BgAGBAYIBgwCOANwAQwCNAN8A2AGEAOEA2wDdANkA2gDeAOAAEwAUABUAFgAXABgAGQAaABsAHAGFALwA9AD1APYBhgGHAYgGQWJyZXZlB0FtYWNyb24HQW9nb25lawpDZG90YWNjZW50BkRjYXJvbgZEY3JvYXQGRWNhcm9uCkVkb3RhY2NlbnQHRW1hY3JvbgdFb2dvbmVrB3VuaTAxMjIKR2RvdGFjY2VudARIYmFyAklKB0ltYWNyb24HSW9nb25lawt1bmkwMDRBMDMwMQd1bmkwMTM2BkxhY3V0ZQZMY2Fyb24HdW5pMDEzQgZOYWN1dGUGTmNhcm9uB3VuaTAxNDUNT2h1bmdhcnVtbGF1dAZSYWN1dGUGUmNhcm9uBlNhY3V0ZQd1bmkwMjE4B3VuaTFFOUUGVGNhcm9uB3VuaTAxNjIHdW5pMDIxQQ1VaHVuZ2FydW1sYXV0B1VtYWNyb24HVW9nb25lawVVcmluZwZXYWN1dGULV2NpcmN1bWZsZXgJV2RpZXJlc2lzBldncmF2ZQtZY2lyY3VtZmxleAZZZ3JhdmUGWmFjdXRlClpkb3RhY2NlbnQGYWJyZXZlB2FtYWNyb24HYW9nb25lawpjZG90YWNjZW50BmRjYXJvbgZlY2Fyb24KZWRvdGFjY2VudAdlbWFjcm9uB2VvZ29uZWsHdW5pMDEyMwpnZG90YWNjZW50BGhiYXIJaS5sb2NsVFJLB2ltYWNyb24HaW9nb25lawJpagd1bmkwMjM3C3VuaTAwNkEwMzAxB3VuaTAxMzcGbGFjdXRlBmxjYXJvbgd1bmkwMTNDBm5hY3V0ZQZuY2Fyb24HdW5pMDE0Ng1vaHVuZ2FydW1sYXV0BnJhY3V0ZQZyY2Fyb24Gc2FjdXRlB3VuaTAyMTkGdGNhcm9uB3VuaTAxNjMHdW5pMDIxQg11aHVuZ2FydW1sYXV0B3VtYWNyb24HdW9nb25lawV1cmluZwZ3YWN1dGULd2NpcmN1bWZsZXgJd2RpZXJlc2lzBndncmF2ZQt5Y2lyY3VtZmxleAZ5Z3JhdmUGemFjdXRlCnpkb3RhY2NlbnQHdW5pMDM5NAd1bmkwM0E5B3VuaTAzQkMHdW5pMDBBMAd1bmkyMDA5FnBlcmlvZGNlbnRlcmVkLmxvY2xDQVQbcGVyaW9kY2VudGVyZWQubG9jbENBVC5jYXNlC211c2ljYWxub3RlCWVzdGltYXRlZARFdXJvB3VuaTIyMTkHdW5pMjIxNQd1bmkwMzA4DHVuaTAzMDguY2FzZQd1bmkwMzA3DHVuaTAzMDcuY2FzZQ11bmkwMzA3LmxhcmdlCWdyYXZlY29tYg5ncmF2ZWNvbWIuY2FzZQlhY3V0ZWNvbWIOYWN1dGVjb21iLmNhc2UHdW5pMDMwQgx1bmkwMzBCLmNhc2ULdW5pMDMwQy5hbHQHdW5pMDMwMgx1bmkwMzAyLmNhc2UHdW5pMDMwQwx1bmkwMzBDLmNhc2UHdW5pMDMwNgx1bmkwMzA2LmNhc2UHdW5pMDMwQQx1bmkwMzBBLmNhc2UJdGlsZGVjb21iDnRpbGRlY29tYi5jYXNlB3VuaTAzMDQMdW5pMDMwNC5jYXNlB3VuaTAzMjYHdW5pMDMyNwd1bmkwMzI4DHVuaTAzMjguY2FzZQd1bmkwMkM5CXplcm8uemVybwd1bmkwMEI5B3VuaTAwQjIHdW5pMDBCMwAAAQAAAAoAJgBGAAJERkxUAA5sYXRuAA4ABAAAAAD//wACAAAAAQACbWFyawAWbWttawAOAAAAAgADAAQAAAADAAAAAQACAAULLAmMAJQAbgAMAAYAEAABAAoAAgABCWAJYAABCKwADAAWA6gIGgOoBwICfgBCAnQAOAJqAC4DsggkAmAGwAJWCC4CTAgAA5QH8AJCCBAAAwFpA2MO3AoYAAMBCANWCPAICgADAXADVg54CAAABgAQAAEACgABAAEP2g/aAAEPsAAMAAIABgw4AAMBP/8VBi4OfAAEAAAAAQAIAAEI2gfOAAEIJgAMAN0IwgeyB6gHngeUB7IHigjCB3oHagdgB1YHTAdCBzIHTAciBxIHCAb+BvQG6gbgBtYGzAb0BsIGuAauBqQGmgakBpAGhgjCB7IHngeUBnwHsgeKCMIGcgZoBlgGWAZOBkQGTgZOCMIIwgeyBjoIwgdqBjQGKgYgBhYGKgYGBjQF/AXyBegF3gXUBcoFwAjCB7IGOgjCCMIIwgY6CMIIwgjCB7IHngeUB7IFtgeKCMIFpgWcBZIFiAV+BXQFiAVqBWAFVgVMBUIFVgU4BS4FJAUaBRAFBgT8BOwE3AUGBMwFEATCBLgEsgSoBJ4ElASKBJ4EgAR2BGwEYgRYBE4ERAREBGIEOgQ0BCoEIAQWBAYD/APyA9wD0gPIA74DtAO0A8gDqgPcA5oDkAOGA3wDfANyA2gDcgNyA14IdANUA0oIdANACMgDNgMsAyIDNgMYCMgDDgMEAvoC8ALmAtYCzALCArgCrgKkArgCuAKaApoCmgKaAvACkAKGAnwCkAJyAmgC8AJeAlQCSgJAAjYCLAJAAiYIyAM2AywDIgM2AiACFgIMAgIDIgMiAfgB7gHkAywB2gHQAcYDDgG8AAMBPAKLDEgDGgADATwC+wAAB/oAAwE8AqQAAAxUAAMBPAKhAAADHAADAWkCtwxQB9wAAwEKArgAAAzmAAMBbwK4DawM3AADAUcCrwAAAuQAAwFHAqEAAALqAAMBRwK4AAAMvgABAUcB8AABAT0B8AADATwCrwxoAroAAwE8AqcMXgLAAAMBPAK4DFQMlAADATwB8AxKAAAAAwE9AfANUAAAAAMBOgL7C6YHYgADAToCiwucAm4AAwGTArcLOAdOAAMBOgKvC4gCagADAToCpwt+AnAAAwE6ArgLdAxEAAMBHQHwC+oAAAADAToCoQNsAlIAAwE6ArgDYgwmAAMBOgHwA1gAAAADATsCoQAeAjQAAwE7ArgAFAwIAAMBOwHwAAoAAAAAAB6AAAADAUwB8AteAAAAAwE6AfALFAAAAAMBEQHwCZgAAAADASsB8AmeAAAAAwE8ApQAAAR2AAMBlQK3AvgGqAADATwCrwAAAcQAAwE8AqcAAAHKAAMBPAK4AAALngADATwClArEBEQAAwE8AqEKugGsAAMBPAK4CrALgAADATgB8ApcAAAAAwEJA34BbgRUAAMBCQLEAWQAAAADAUQDHAsIAAAAAwFVArgAHgtOAAMBVQHwABQAAAADAVUCuAAKAEwAAAAlgAAAAwE3AosAQgEsAAMBNwKvADgBMgADATcCpwAuATgAAwE3ArgAJAsMAAMBNwHwABoAAAADATcCuAAQAAoAAAA4gAAAAAAkgAAAAwE2AxwJuAAAAAMBMwKvCe4A6gADAVEC8wAKAlwAAAAJgAAAAwEzAqQJ1AoOAAMBMwHwCcoAAAADASgDHAt6AAAAAQEFAfAAAwFGAosKagCcAAMBRgKvCmAAogADAUYCpwpWAKgAAwFGAqEKTACeAAMBRgK4CkIKcgADAUYB8Ao4AAAAAwFJAxwJzgAAAAMBWgKvCjQAZgADAVoCoQoqAGwAAwFaArgKIApAAAMBWgHwChYAAAADATAB8AjEAAAAAQE7AfAAAwE2ApQJAgLMAAMBNgL7CPgE/gADATYCiwjuAAoAAAAggAAAAwE2Aq8I3gAKAAAALoAAAAMBNgKnCM4ACgAAADWAAAADATYCpAi+CSgAAwE2ArgItAnOAAMBNgHwCKoAAAADAUADOwhCAhIAAwFAA0UIOAIYAAMBQANWCC4CjgADAUACnAgkAAAAAwE9AzcHvgU0AAMBPQNKB7QESgADAT0DVgeqAmYAAwE9ApwHoAAAAAMBPAKcCJoAAAADAT4DNweMBQIAAwE+A0oHggQYAAMBPgNWB3gCNAADAT4CnAduAAAAAwE9ApwKCAAAAAMBPANnAAAACgAAADaAAAADAZUDYwBaBAoAAwEkA0UI9AF8AAMBJANWCOoB8gADASQCnAjgAAAAAwEqApwH7AAAAAMBPQKcCNwAAAADATwCnAiiAAAAAwE9A0YAAAF4AAMBlgNjAAoDugAAABeAAAADAT0DNwAABGAAAwE9A0oAAAN2AAMBPQNWAAABkgABAT0CnAADATwDRQAAAQIAAwFAA1YIgAF4AAMBQAKcCHYAAAADATICnAAKAAAAAAAhgAAAAwHYA1YHBAFUAAMB2AKcBvoAAAADATwDOwAAALAAAwE7ApwIDgAAAAMBQwM7B+QAnAADAUMDSwfaByAAAwFDApwH0AAAAAMBNQKcB9YAAAADARkCnAC8AAAAAwFRAx4HUgMOAAMBUQM7B0gAYAADAVEDNwc+A6AAAwFRA0oHNAK2AAMBUQNFByoAUgADAVEDVgcgAMgAAwFRApwHFgAAAAMBSANFABQANAADAUgCnAAKAAAAAAACgAAAAwFRAzsHcgAKAAAAMoAAAAMBUQNFB2IACgAAADCAAAADAVEDVgdSAHoAAwFRApwHSAAAAAMBPAKcB24AAAADAToCnAd0AAAAAwE8A0YAAAAKAAAAGYAAAAMBPANDAAAACgAAACmAAAADATwDHgAAAkYAAwE8AzcAAALiAAMBPANKAAAB+AADATwDSwAABhIAAwE8A1YAAAAKAAAAKoAAAAIADgABABMAAAAWACQAEwAmACYAIgAoADYAIwA4AEgAMgBKAFEAQwBTAIEASwCFAJMAegCVAJ0AiQCfAKcAkgCpAMIAmwDEAOAAtQFcAWEA0gFjAWcA2AAWAAAArgAAAKgAAACuAAAAqAAAAJ4AAACUAAAAjgAAAH4AAAB0AAAAZAAAAK4AAACoAAAArgAAAKgAAACuAAAAqAAAAK4AAACoAAAArgAAAKgAAABaAAAAqAADATwB8AWQAAAAAwEQApwACgAAAAAAC4AAAAMBEAHwABQAAAADAQgCnAAKAAAAAAAMgAAAAQEKAfAAAwFwApwFhgAAAAMBbwHwBuwAAAABATwCnAABATwB8AACAAMBQAFDAAABRQFKAAQBTAFXAAoABAAAAAEACAABAZABJAABAXYADABJAQ4BDgEOAQ4BDgEOAQ4BDgEOAP4A/gD+AP4A/gD+AP4A/gDuAO4A7gDuAO4A7gDuAN4A3gDeAN4A3gDeAN4A3gDOAM4AzgDOAM4AzgDOAM4AzgC+AL4AvgC+AL4AvgC+AL4ArgCuAK4ArgCuAK4ArgCuAKQApACkAKQApACkAKQApACUAJQAlACUAJQAlACUAJQAAwH/AAoACgAAAAAAMYAAAAMCKwAKBHgAAAADAhEACgAKAAAAAAA3gAAAAwHaAAoACgAAAAAALYAAAAMCAwAKAAoAAAAAADOAAAADAkoACgAKAAAAAAAAgAAAAwHpAAoACgAAAAAAK4AAAAMCGQAKAAoAAAAAACeAAAADAlUACgQuAAAAAgANAAEABwAAAAkACgAHABYAHQAJACYAJgARACgALQASAD4ARQAYAHAAdgAgAHgAeQAnAIUAjAApAJUAnAAxAK8AtgA5AMgAzgBBANAA0ABIAAIAAAAKAAAACgADAX0ACgAKAAAAAAA0gAAAAQACAVoBWwAEAAAAAQAIAAEFHgRUAAEE9AAMAL0EQgRCBEIEQgRCBEIEQgRCBEIEMgQiBBIEEgQSBBIEAgQCA/ID8gPyA/ID8gPyA/ID8gPiA9ID0gO8A9IDsgRCBEIEQgRCBEIEQgRCA6IDogOSA4IDcgNyA3IDYgRCA1gDWANYA0gDWANCA0IDQgNCA0IDQgNCA0ID8gM4AygDGAMYAxgEQgRCBEIDCARCBEIDCAL+AvQC9AL0AvQC9ALqA0IDQgNCA0IDQgLqAuoC6gLqAuAC4ALgAuAC4ALgAuAC4ALgAtoCygK6AroCugK6ArACpgKmAqYCpgKmAqYCpgKmApwCkgKSApICkgKIAngCeAJ4AngCeAJ4AngCeAJuAm4CbgJeAlQCRAJEAkQCNAIqAiACIAIgAhACIARCBEIEQgRCBEIEQgRCBEICAAHwAeYB3AHSAdIB0gHIAcgByAG+AbQBtAGqAaABoAGgAaABoAGgAaABoAL+A7IDsgOyA7IDsgNCAZYBlgGWAZYBlgGMAYwBjAGMAXwAAwFC/04DgAAKAAAAB4AAAAMBNwAAApAAAAADATkAAAJWAAAAAwEvAAACjAAAAAMBRv8VARoCHAADAU8AAAH4AAAAAwE8/xUBZAIIAAMBRQAAAPwAAAADAL0AAAHKAAAAAwFMAAAB0AAAAAMBOgAAAYYAAAADAREAAAAKAAAAAAAvgAAAAwErAAAACgAAAAAAI4AAAAMBLf8VAAoBtgAAAB+AAAADATYAAAHsAAAAAwE9AAABQgAAAAMBaf8VAAoBkgAAACiAAAADAXIAAAAKAAAAAAAigAAAAwFA/xUBuAFyAAMBSQAAAAoAAAAAAA6AAAADAVX/BQEuAAAAAwE8AAAACgAAAAAAAYAAAAMBNgAAAIoAAAADATv/BQCQAAAAAwEoAAACcAAAAAMBOQAAAWYAAAADAUkAAAD8AAAAAwFYAAAACgAAAAAADYAAAAMBMAAAAAoAAAAAABqAAAABATsAAAADATYAAABCAAAAAwE8AAAAggAAAAMBPgAAAhgAAAADAT0AAAIOAAAAAwEz/xUACgC+AAAAGIAAAAMBNwAAAAoAAAAAABWAAAADASoAAAAKAAAAAAAmgAAAAwE9AAAA9AAAAAEBPQAAAAMBI/8VAAoAfgAAAB2AAAADASwAAADEAAAAAwFL/xUACgBkAAAAEIAAAAMBVAAAAAoAAAAAAAiAAAADASn/FQAKAEQAAAAcgAAAAwEyAAAACgAAAAAAE4AAAAMBQgAAAAoAAAAAAAaAAAADATsAAABKAAAAAwE6/xUAEAAKAAAABIAAAAAACoAAAAMBQwAAAAoAAAAAAAWAAAADATUAAAAKAAAAAAASgAAAAwE8AAAACgAAAAAAEYAAAAMBPgAAAAoAAAAAABaAAAADAU4AAAAKAAAAAAAUgAAAAwE8AAAACgAAAAAAG4AAAAMBOgAAAAoAAAAAACyAAAABATwAAAACABoAAQAHAAAACQAPAAcAEQATAA4AFgAdABEAHwAkABkAJgAmAB8AKAAtACAALwA2ACYAOABIAC4ASgBPAD8AUQBRAEUAUwBUAEYAVgBWAEgAYAB2AEkAeAB+AGAAgACBAGcAhQCMAGkAjgCTAHEAlQCcAHcAnwCnAH8AqQDAAIgAwgDCAKAAxADFAKEAxwDOAKMA0ADgAKsBaAFoALwAAgAAABoAAAAKAAMBQgAAAAoAAAAAAAOAAAADAUgAAAAKAAAAAAAPgAAAAQACAVgBWQABAAAAAQABAAADDgF8AAAAAAMQAAAAAAARABgAHwAmAC0ANAA7AGAAjACTAKsA1gD6AQEBCQFOAVUBdAF8AaQBzAHbAeIB6gHyAfoCAQIIAhACNgJEAnACeAJ/AoYClQKtArwC4ALnAu4C9QL7AwIDCQMwA0oDUQNiA2kDdAN7A4IDiQOdA7IDxAPLA9ID2QPgBAUEDAQTBBoEIQQoBFsEYgSSBK0EywT5BRgFHwUnBV4FZQVsBcUFzAYABgwGEwZCBkkGYgZpBnAGdwZ+BoUGjAa9BvIG/gcUBxsHIwcrBzIHRgdWB10HZQdtB3QHhgeNB5UHnAfKB9EH2AffB+YH7Qf0CDUIPAhDCI0ItAjZCOAI5wktCTQJXQmPCcAJ/AolCiwKMwo6CkEKSApPClYKkwquCuQK6wsxCzgLUwt3C34LjAuTC5oLoQuoC68LtgvnDBsMIgw4DD8MUAxXDGwMcwx7DIIMnwzHDOIM6QzwDPcM/g0oDS4NNA06DUENSA2ADYYNyQ3vDhUORg5eDmUObA6dDqQOqw79DwQPOg9TD1sPlA+bD7UPvA/DD8oP0Q/YD94QCxASEB4QMhA5EEAQRxBOEGIQexCBEIcQjRCUEKMQqRCvELUQ4hEBEQ4RQBFjEX0RfRF9EX0RkRGoEa8RtxHgEfgSEBJEEngSfxKGEo0SjRKiEskS0RLZEuIS6xL0EvwTEBMkE08TehOGE5ITmBO/E+sUFRQvFEcUUxRfFGgUcRSAFIsUtRTeFTAVcxWFFdEWEhZRFm0WixaTFp0WrBbBFuoXFxdSF5MXyBgNGCsYMhg6GEkYUhhlGIYYkhisGLoYyBjZGOoY/BkzGT4ZXRloGaIZ0RndGe8Z/Ro0GmkatxrGGtga3xruGv0bDxsiGzUbSBtbG3obgRuTG6YbrRu+G8Ub2hvhG/scHBw/HEYcTxxWHG0clRyyHM8c1RzbHOEc5xztHPMc/B0CHQgdDh0UHRodIB0mHVQdaB2JHb8d0h38Hi0eOh59Hqke3h7mHxAfMB9wH34fnB/MQACAAQAIABgAAAAL/MM8BKC/OVlMrfz8g4QGysoAIyOOjoMAgAEACAAFAAAAgAAEg4WAAQAIAAUAAACFgAD5g4ABAAgABQAAAIWAAPeDgAEACAAFAAAAhYAACoOAAQAIAAUAAACAAPyDhYABAAgABQAAAIWAACGDgAEACABBAAAAH/zDPAQMBvn5+fPx9v8EBAnq4r2hnZ2doqG/OVlMrfz8g4MbBxAUFBsgICAhIvj7+Pj4BQ8KBwP/ysoAIyOOjoOAAQAIAE4AAAAk/L/I1tbW4fT/Ch0qKio3QASgvzlZTK38/AD99/f3/QADCQkJA4OADu729/UBFB4eHhQB9ff374ESysoAIyOOjv399/Tx6+vr8fT3/YMAgAEACAAFAAAAhYAA9YOAAQAIABkAAAwLAAECAgICAgIBAQEDgArRC0zdTAgCN1NIAoEJrijXUgDU1AAZogCAAQAIAE0AAAAlzs76AxkpKSknKC4gHiUlJQ3x7jH54Me+vr7X+zEx9tXExMTgCDGDgwwJC/75/wcGCxQVDvj1gRJWVlY/IBL90dHRJycnBO7Wqqqqg4ABAAgAPwAAAB4FAP3+/v78+wAKAwOvtd0FHEtqampMIAroxbi0AwQGg4EE+Pb+BASCE/X118+pqam53/4aQldXV0EqKAsOhIABAAgABQAAAIAABoOFgAEACAAEAAABAAEAAgD2AIABAAgAgQAAAD4D/fz8/vD3+/D29vbz+f8ICQL5+fz6+/7+/vz7AAoDA6+13QUcS2pqakwgCujFuLQDBQ0SEQ0NFBIgMDAwGgSDGvX17ukECgkJCff8+/j4+Pv59fr8AQL8+P4EBIIg9fXXz6mpqbnf/hpCV1dXQSooCxAFAf///v7+AwL35+n1g4ABAAgABQAAAIAAAoOFgAEACAA1AAAAGfHxEQsFBQYGBgUFCxFUFQDWtJ+fn7TWABVUg4MGAgQB/vn6/IEMWlpaUTwZ/uPCsKioqIOAAQAIAAQAAAEAAQDrAPYAgAEACABHAAAAIfHx+/vx8RELBQUGBgYFBQsRVBUA1rSfn5+01gAVVFTq6lSDgAPLyyYmggYCBAH++fr8gRBaWlpRPBn+48KwqKioJibLy4OAAQAIAEcAAAAh8fH7+/HxEQsFBQYGBgUFCxFUFQDWtJ+fn7TWABVUVOrqVIOAA8vLJiaCBgIEAf75+vyBEFpaWlE8Gf7jwrCoqKgmJsvLg4ABAAgADgAABgUBAgICAgIFzxxB2UEcgASaMs1mAIABAAgABQAAAIAA/IOFgAEACAAEAAABAAEA+AD2AIABAAgABAAAAQABAPgA9wCAAQAIAAQAAAEAAQD4AAoAgAEACAAFAAAAgAD4g4WAAQAIAAUAAACAAPSDhYABAAgABAAAAQABAPgAIQCAAQAIAEMAAAAgz88cHEFB2dlBQRwcJB4RERELCQ4XHBwhAvrVubW1tbm4g4IcmpoyMs3NZmYABxAUFBsgICAhIvj7+Pj4BQ8KBwOEgAEACAAMAAAFBAECAgICBNQcRhxGgAOaD6kAAIABAAgATwAAACbq8fn7+/v+Af/+AwCuu+oFHkliYmJJIg4H5sKqqqr9/QMDzcTL3euDgQT5+QIEA4IWAwTnxampqcDoAhY+V1dXUDoR8OrqOTmBAuby/YSAAQAIAAQAAAEAAQDxAPkAgAEACAAFAAAAgADyg4WAAQAIAAUAAACAAPGDhYABAAgADgAABgUBAgICAgIF8mScDpxkgAAxgQHLAIABAAgAGgAADAsBAgICAgICAgICAgIL8vzyZJwOBA6cZJxkC+0fAB8AH+0AywAx7YABAAgADgAABgUBAgICAgIF3sfeIjkiBVKuAK5SAIABAAgAPgAAAB0VHSUNU1hEIxQL7dTU1CgoKCn7+93d+/sTEzExExODgQrpyvAVO0hISEAjBIEBGhiBA1JSrq6BA66uUlKEAIABAAgABQAAAIAABIOFgAEACAAFAAAAhYAA94OAAQAIAAUAAACFgAAKg4ABAAgAAgAAAIWFAIABAAgABQAAAIAA/IOFgAEACAAFAAAAhYAAIYOAAQAIAEUAAAAg3t7Hx97eIiI5OSIiKiQXFxcRDxQdIiInCADbv7u7u7++g4ADUlKuroEYrq5SUgAHEBQUGyAgICEi+Pv4+PgFDwoHA4SAAQAIACoAAAAT/fDn2cctOyoI/wT449LS0kRERC+DgQwD+OgYOVJWVlZaXVhQgQFRM4QAgAEACAAFAAAAgAAPg4WAAQAIABkAAAAL19c6Or0tPRGb+jo6g4IAeYEA+oEBp+iEgAEACAAFAAAAgAAFg4WAAQAIAAgAAAMCAQICAtJEAoABZgAAgAEACAAFAAAAgAAQg4WAAQAIAAUAAACAAECDhYABAAgABQAAAIAA+YOFgAEACAAfAAAADdLS///S0kREEBBERAICg4AD2/U+JIEFak4FIWZmhIABAAgAIQAAAA/w8FoBAa4QEMzMzBzfMjIyg4JBAIkAiYMBlpaBAZaWhIABAAgAGwAAAAve3j3MzMwiIsI0NDSDgkEAmgCag0H/Zv9mhIABAAgABQAAAIAABIOFgAEACAAFAAAAhYAA9oOAAQAIAAUAAACAAAaDhYABAAgABQAAAIWAAPWDgAEACABAAAAAgQT++/v7/oIEAgUFBQKBDua2mZmZtuYAG0pnZ2dKG4OBBPr6AAcGghUGBwD6+gBXV0EaAOW/qampv+UAGkFXgwCAAQAIAAUAAACAAASDhYABAAgABQAAAIWAAPeDgAEACAAFAAAAhYAACoOAAQAIAAUAAACAAPyDhYABAAgABQAAAIAABIOFgAEACABcAAAAgAkMGh0yEP77+/v+gQr05OLM7gICBQUFAoES5raZmZmrvFAxQ6/NABtKZ2dnVIOBCPDi9gr6+AAHBoIeER8K9QcHBQD6+gBXV0EaAN+smjJXZ8+pqam/5QAiV4MAgAEACAAFAAAAhYAA9YOAAQAIAFYAAAApBwYB/f39AQUG4dzcDw8eHt/fHh4ODtzc3/QVA+nc3NzpAxUmQE1NTUAmg4EE+/sABQWCADyBB66uKCjX11JSgRLF4QBISC4MAfTRuLi40fQBDi9IgwCAAQAIAC0AAAAVy8sSEBwrKyscEBIuLi4T68TExOsTLoODEfzu4dPGwsLCABgYGAPhwKqqqoOAAQAIADIAAAAXy8suLhIPHCsrKxwPEi4uLhPsxMTE7BMug4IUISEhHQ8C9Ofj4+MAOTk5JQLhy8vLgwCAAQAIAFIAAACBBP77+/v+gh4CBQUFDRYAzejp9gDHpOcauquZmZm25gAbSmdnZ0obg4EE+voABwaCHgYHAAkbIDX94/AAV1cl5ht1YCYA5b+pqam/5QAaQVeDAIABAAgANQAAABm9vfz7CBUVFTNPKbvtICAg/ufCrKyswuf+IIODBf706vLv4oEN0tIAKCgoHADq07aqqqqDgAEACAAFAAAAgAAJg4WAAQAIAAQAAAEAAQAFAPYAgAEACABlAAAAMQfx5ePeQz0pEgnqwa6urrfYA+/g3t7e7wQLEB8qK8nQ5Pn9ETdPT08pG/wFFR8fHxgNg4EVChQTNkZVWFhYRCEI+d/TxcbS4OTw/IIV+uvdurOsqKiotdTtBhwiLjAsJiEXCYSAAQAIAAUAAACAAASDhYABAAgABQAAAIWAAPaDgAEACACoAAAAP/749/f56/L26/Hx8e70+gME/fT09+ni495DPSkSCerBrq6ut9gD7+De3t7vBAsQHyorydDk+f0RN09PTykb/AURFR8fHxoSDQwICA8NGysrKxX/gyv19e7pBAoJCQn3/Pv4+Pj7+fX6/AEDDBQTNkZVWFhYRCEI+d/TxcbS4OTw/IIi+uvdurOsqKiotdTtBhwiLjAsJiEZCwIA///+/v4DAvfn6fWDAIABAAgABQAAAIAAAYOFgAEACABfAAAALgIA+vXxPTod+t2xsbHD3+zv8/XZtNEJJCo7SUlJ19fXytj//AYMDEI6JRYWFg8Gg4EZBAkMKDpSUlIzGwjv5eXl5eYWwLiurq6uv9uBAgHw84IJCguxGgkACxgWCYSAAQAIAAoAAAQDAQICAgPH8g45A5oAmgCAAQAIAAUAAACFgAD2g4ABAAgAVQAAACjHx/LyDg45OQwMCAgPDRsrKysV//749/f56/L26/Hx8e70+gME/fT094OAAZqagQGamoEe///+/v4DAvfn6fX19e7pBAoJCQn3/Pv4+Pj7+fX6/ISAAQAIAAUAAACAAAGDhYABAAgAKAAAABIC6t7e3lBQUCMD7sewsLAiIiIXg4EBBxaBBwM0WlpaSSMDgQEWB4QAgAEACAAFAAAAgAAEg4WAAQAIAAUAAACFgAD3g4ABAAgABQAAAIWAAAqDgAEACAAFAAAAgAD8g4WAAQAIAAUAAACAAASDhYABAAgABQAAAIWAACGDgAEACABYAAAAKQzny8fHx8K+q6e2zN7e3lBQUCMD7sewsLAiIiIhHyYiIiIbGh8pLi4zFIMN+PgEEA0KAPr/FCg0LBmBBwM0WlpaSSMDgQ8WDwkHCxQWGiAgICIi+fv4gwCAAQAIAGEAAAAu/PPi2NjY4vP8BhspKSkbBv/89vb2/P8CCAgIAgLq3t7eUFBQIwPux7CwsCIiIheDG+fn8gURHS84ODgvHREF8ucYGBQRDwoKCg8RFBiBAQcWgQcDNFpaWkkjA4EBFgeEgAEACAAPAAAAB8TuWQUFsBI9g4IBaWmGgAEACAAjAAAAD+X6QwsL1Sf09LsFG8///zGDgkEAhwCHgUEAhwCHgwGenoSAAQAIAAUAAACAAAKDhYABAAgABAAAAQABAP4A9wCAAQAIAAQAAAEAAQD+AAoAgAEACAAFAAAAgAD6g4WAAQAIAB8AAAAK7s3sWgEBqRU0E6aBAFuDgAD+gQFhYYEA/oEBnp6EgAEACAAXAAAAA83N4laBA60eMDCDgAD6gQFgYIEA+oSAAQAIAAUAAACAAAKDhYABAAgABAAAAQABAP4A9wCAAQAIAAQAAAEAAQD+AAoAgAEACAAFAAAAgAD6g4WAAQAIABQAAAYFAQECAgECAPpA/28B+glBAJgACQVEnAC8ZACAAQAIAAUAAACAAAGDhYABAAgABAAAAQABAP0A9gCAAQAIAAUAAACAAP2DhYABAAgAUwAAACfa3+Dg4N7MzMzd/BcsLd3i8gYSMjIyMjEyx8m9vBQD4szMzBJRUVE0g4EVCgwMCwYK8cfHx9nmCf4FBQUI/vcI/IEN6uMAPDwxGgnV2vgXKDyDgAEACAAFAAAAgAAGg4WAAQAIAAUAAACAAAaDhYABAAgABQAAAIAABoOFgAEACAAFAAAAgAAGg4WAAQAIAAUAAACAAAeDhYABAAgABQAAAIAABYOFgAEACAB5AAAAOhDrz8vLy9THyb282t/g4ODezMzM3fwXLC3d4vIGEjIyMjIxMiYmJiYmISUvMjI3GBQD4szMzBJRUVE0gwn4+AUPCg0HAOrjgi0KDAwLBgrxx8fH2eYJ/gUFBQj+9wj8AAMLExggICAiIvj7+Dw8MRoJ1dr4Fyg8g4ABAAgABQAAAIAABoOFgAEACAAFAAAAgAAGg4WAAQAIAIsAAAA/CAgGBgYNA+3t7fsTJDEzBgQLGhELEQ4C/Pr8/wMDJCcZA+/s49vRBPnh7/f7+foAHhL87e3tEzlGRkYzI76+wwPZ8QAgg4EmDBIYGA8LCvHBwcHc5Qv/BQUFHi8cBQUFBgHv29v+Jzo/Pz83KRX+ghfr3fIAQUE2HAfb3vINGypBCwsG4sHBwd6DgAEACABFAAAAISM4R0hIQ9jYR0dGRDYjIBkVFRUZIPPJoqKiyfMcPz8/Lw6DgQL16+2DGBkXDQUFBQQFBgcEAE9PKgbit7e36gMRNE+DgAEACABAAAAAHv3q4OHh4e339QEjJ9DZ9gUbPlJSUj8fCPTUzh8XBfqDgRv/AwkQDAUFBQHszcS3t7fM7wYZOk5OTjstEAH8hACAAQAIAAUAAACAAAWDhYABAAgABQAAAIAABYOFgAEACACCAAAAPvv19PT26O/z6O7u7uvx9wAB+vHx9Obf4eHh7ff1ASMn0Nn2BRs+UlJSPx8I9NTOHxkMBQoJBQUMChgoKCgS/IMT9fXu6QQKCQkJ9/z7+Pj4+/n1+vyBKAEECRAMBQUFAezNxLe3t8zvBhk6Tk5OOy0QA/4CAf///v7+AwL35+n1gwCAAQAIAAUAAACAAAWDhYABAAgASQAAACLd4ebr6+vn4d2/ubm5KCgoKyi8wLe/DvLRwcHB5Q43Xl5eN4OBCQQIBgUEBQUFFxiBAgz27oEP6+oAT080EQPst7e34gYqT4OAAQAIAFsAAAAry8/V2dnZ0suxp6amEBAQEg6nsKuy99Gurq7R9x5GRkYe9vn6DhAeISEhGx2DgQgECAYFBQUFHyiBAgz27oEZ4uYAT08YA+y3t7fiBipP7vP7/v7+7ujVz+6DgAEACABZAAAAKt3h5uvr6+fh3b+5ubna2rm5KCgeHigoKCsovMC3vw7y0cHBweUON15eXjeDgQ0ECAYFBAUFBRcY7+8XF4EGFxfv7wz27oEP6+oAT080EQPst7e34gYqT4OAAQAIAG8AAAA1//Ts7fDw8O3r7fPgt5+kqbS4uKKbnsz19e7f3e4E+PkfHx8XCwEL+9Gzs7PS/AwbRGNjY0Mag4EzAgL/+vLu8fX19QkxTQra0c7l3dS4vhQOGh8xGhAfDv349/wASUk7Gv3eu6ysrLrc+xg7SYOAAQAIAEkAAAAiCgb05OTk8QEFCRQgJyVNU0QqDgbx3dgjF/5KyMXO6woZNkmDgSD5+gcGBQUFBQYA7tnZ/y1FTk5OPDEUAwAMDAXevLy8yu2DgAEACAAFAAAAgAAHg4WAAQAIAAUAAACAAAeDhYABAAgABQAAAIAAB4OFgAEACAAFAAAAgAAHg4WAAQAIAAUAAACAAAeDhYABAAgABQAAAIAACIOFgAEACAAFAAAAgAAGg4WAAQAIAHAAAAA1At3Bvb29tsHW5OTk8QEFCRQgJyVNU0QqDgbx3dgjIBsaIBgYGBEQFR8kJCkKSsjFzusKGTZJgzX4+AQQDQX8EBoRBwYFBQUFBgDu2dn/LUVOTk48MRQODAsOFhYaICAgIiL5+/gMDAXevLy8yu2DAIABAAgALQAAABTIyObmyMjI4QwlNjZJPjc3Nx4eNzeDgAGwsIEK3uv6AgICsbGxvM2BAbCwhIABAAgAYgAAAC4ECAj87Tc7GgXszb6+vra81uTp5ubm6eHQvLq+xCwsLCIQDfPTxcXF5w01WVlZNYMb7e3p6OsXKDc3NyoVCf//EBAQDwoGDw0FBQUWF4EQLg3y7V9fQhsL9Le3t+0QMl+DAIABAAgABQAAAIAADoOFgAEACACCAAAAPvbZxMTE0PIVLRsTFxcXMDkECAj87Tc7GgXszb6+vra81uTp5ubm6eHQvLq+xCwsLCIQDfPTxcXF5w01WVlZNYMr9/oIDg0QFBP9/v4BCgcKEO3t6ejrFyg3NzcqFQn//xAQEA8KBg8NBQUFFheBEC4N8u1fX0IbC/S3t7ftEDJfgwCAAQAIAAUAAACAAA6DhYABAAgALQAAABXa2klJSEU/NzUvKysrvLy81voUSUlJg4IIDQwIBQUFCAP1gQbj2be3t9PrhIABAAgAPwAAAB3a2uTk2tpJSSgoSUlIRT83NS8rKyu8vLzW+hRJSUmDgAPv7xcXgQwXF+/vDQwIBQUFCAP1gQbj2be3t9PrhIABAAgABQAAAIAAF4OFgAEACAAMAAAFBAECAgICBPDe8U07BFCwAFAAAIABAAgABQAAAIAAF4OFgAEACAAFAAAAgAAXg4WAAQAIAAUAAACAABeDhYABAAgABQAAAIAAF4OFgAEACAAFAAAAgAAYg4WAAQAIAAUAAACAABaDhYABAAgAWAAAACnw8N7e8fFNTTs7Ly8vLy8qLjg7O0AhGfTY1NTU184XAujo6AIXK0ZGRiuDgANQULCwgSJQUAADCxMYICAgIiL4+/j4+AUPCgsGAOnpAxgsR0dHLBgD6YMAgAEACABeAAAALQcH4tTKysrKwcE5OTkgBQGvr6amHh7o07m5udPo/BcXF/wD7tTU1O4DFzIyMheDgAdRUVFHLBSwsIECAv/+ggGwsIIX6ekDGCxHR0csGAPp6ekDGCxHR0csGAPpgwCAAQAIAAUAAACAABiDhYABAAgAIgAAAA/g4Pfp39/f3/HxTk5ONRoWg4AHUVFRRywUsLCBAgL//oUAgAEACAAFAAAAgAAYg4WAAQAIABkAAAALrq4dHdNRWD/BDh0dg4IAOoEA+YEBrbeEgAEACAAFAAAAgAD/g4WAAQAIACAAAAAOEfnYyMjIyMg3Nzc+Rzg4g4EEBBkysLCBBGBTUVFRhACAAQAIAAUAAACAABWDhYABAAgABAAAAQABADIA/gCAAQAIAAUAAACAABWDhYABAAgAMAAAABYR+djIyMjR0cjIyMg3N1dXNzc3Pkc4OIOBCAQZMufzPjKwsIEIZ20iHGBTUVFRhACAAQAIAEcAAAAi4+MnKzAxKCEbHSMiGhccHBzNzc3d9QgnJyfY2Njn/hEyMjKDggwKDAUFBQ0REQUFBQUBgQbh07e3t8/mgQbg0be3t8/mhIABAAgALQAAABXY2ENJSEY+NTMtKSkpurq61PgSR0dHg4IIEA4JBQUFCAL1gQbk2re3t9PrhIABAAgABQAAAIAAAYOFgAEACAAFAAAAgAABg4WAAQAIAAUAAACAAAiDhYABAAgABQAAAIAAAYOFgAEACABLAAAAgCL37urr6+vq7vcACREVFRUVFREJAO3CpKSkwewAFT9cXFw+FIOBIQIEBQQDAwQFBQUEAwMEBQQCAE5OQB8E6ce3t7fH6QQfQE6DgAEACAACAAAAhYUAgAEACAACAAAAhYUAgAEACAACAAAAhYUAgAEACAAFAAAAgAABg4WAAQAIAAUAAACAAASDhYABAAgAZwAAAIAwBBEUFPTy7+vr6+ru9wD88e7qChATFRUVFREJAO3CpKSktcVNPhU8tcTsABU/XFxcS4OBL/To4/v9/gEEAwMEBQUFER0dBQgIBQQFBAIATk5AHwTnvK0tPk5X1sa3t7fH6QQgSYOAAQAIAAIAAACFhQCAAQAIAHwAAAAX5/T9+voNEgsKDg4OCgoPB/v9/vbx8fb7gSIaHwnu6d/YzgH13RYK8N7e3vAKFiI7TExMOiEYu7vA0eXxE4OBAt7H5oI0AwUEAwQFBQUeOyMFBQUGAO/b2wk0Pz8/NScT/gBJSTwdBOrLvLy8y+oEHTxJCwsG4sHBwd6DAIABAAgAQwAAACDY2EJFRUM2IyAZFRUVGSAjOEdIR0fzyaKiosnzHD8/PxyDggoWFg0FBQUCAAECAYIP9/DyAE9PJAHdt7e38AUcT4OAAQAIAEMAAAAg2NhHR0ZENiMgGRUVFRkgIzhHSEdH88mioqLJ8xw/Pz8cg4IKGRYNBQUFAf4AAQGCD/fv8ABPTyQA3La2tu0FG0+DgAEACABZAAAAGNTKr5ubm6CpxtLi6+vr4tTLq52boAoKCvyBAPyCDOf/z6Ojo9D/L15eXi+DgQQGGzLv8IIJAQIBAAIFBQUWGIEVY2pgYGBeXAQGAE9PGwPrt7e34gMlT4OAAQAIACcAAAASzc0oMj43KjA0PT06JhkaKzw8PIOCDiIcCQkJCAaipqqqqrPH2oSAAQAIAAUAAACAAA+DhYABAAgABQAAAIAAD4OFgAEACABYAAAAKv3r3NfUKSQS/tnExMTw/PHm2NjY6v8GCiUv2Nv5BhVAQEAeEiIzLCwsHgiDgScEBQIhMkVFRSQR7drV1NPm6PYBBQUFBfPUy8HBwdbuAxgcHBwWGAwChACAAQAIAAUAAACAAAiDhYABAAgABQAAAIAACIOFgAEACACaAAAAP/v19PT26O/z6O7u7uvx9wAB+vHx9OHY1CkkEv7ZxMTE8Pzx5tjY2Or/BgolL9jb+QYVQEBAHhIiMywsLCITCgkJBQUMChgoKCgS/IM/9fXu6QQKCQkJ9/z7+Pj4+/n1+vwAAQYCITJFRUUkEe3a1dTT5uj2AQUFBQXz1MvBwcHW7gMYHBwcFhgOBAIB/wn//v7+AwL35+n1gwCAAQAIAAUAAACAAP6DhYABAAgAYwAAAA8rIg4F6e4ACujDtbW1y+4BgR3oycnJ8gMFIz8/P9DQ0OH3/QEQHBwcK1ZBJycnJymDGwEBBAVjX1lZWUIeB/fXv7+/Dw3o3My3t7e+1/GBAvYPEIILAfXg5Ovx8fcD//4Bg4ABAAgAKAAAABQO9tjKysrW1srKOTkqKjk5OUFEKiqDgQQEDxuwsIUGsLBDTFFRUYQAgAEACAAEAAABAAEAVgAMAIABAAgAaAAAACfy7Ovr7d/m6t/l5eXi6O73+PHo6OvbysrK1tbKyjk5Kio5OTlBRCoqgQn8/AMBDx8fHwnzgxn19e7pBAoJCQn3/Pv4+Pj7+fX6/AIEEBuwsIUGsLBDTFFRUYEK///+/v4DAvfn6fWDAIABAAgABQAAAIAA9YOFgAEACAAqAAAAFNPN09PTQkJCMBcK8729vSwsxLu2x4OBAQcggQc4QUtOTk4mEYMB9vKEAIABAAgABQAAAIAAAYOFgAEACAAFAAAAgAABg4WAAQAIAAUAAACAAAGDhYABAAgABQAAAIAAAoOFgAEACAAFAAAAgAAFg4WAAQAIAAIAAACFhQCAAQAIAFEAAAAn083T09NCQkIwFwrzvb29LCwgICAgIBsfKSwsMRIK5cnFxcXPwru2x4OBAQcggQc4QUtOTk4mEYIVAwsTGCAgICIi+Pv4+PgFDwoPCQD28oSAAQAIAAUAAACAAAGDhYABAAgADwAAAAe361r//6cVSIOCAV9fhoABAAgAHwAAAA/N6jgQENkq7+/JFjLK//81g4IBSUmBAUdHgwGjo4SAAQAIAAUAAACAAAKDhYABAAgABQAAAIAAAoOFgAEACAAFAAAAgAACg4WAAQAIAAUAAACAAAODhYABAAgAHwAAAA3azeNXAwOpHDMlswEBToOAAAeBAWJigQAIgQGuroSAAQAIACgAAAAS5+fi7fTs0Otg//+eFVlQQC0R/oOABUhISEEz+YEBfHyBA00zFAWFAIABAAgAAgAAAIWFAIABAAgAAgAAAIWFAIABAAgAAgAAAIWFAIABAAgABQAAAIAAAYOFgAEACAAOAAAGBQEBAgIBAgXcheQfeCUFUq4ArlIAgAEACAACAAAAhYUAgAEACAACAAAAhYUAgAEACAACAAAAhYUAgAEACABQAAAAJvnv5+fn3uHh3eoBESUp8PYGECIlJSUlIBzp7PT/FPfk5OQKKysrIIOBDQ0KDw8SDfHZ2dnq9A0OggQDCCQtEoEM9f8AKioD7/D4AhUkKoMAgAEACAA1AAAAGwL57ejo6O35AgwVGBgYFQwC7tXV1e4CFisrKxaDhAECAYIBAQKDCzAwEwDu0dHR7gATMIOAAQAIABEAAAAH/MM8BGuN/PyDgwNZWY6Og4ABAAgAWgAAACsEBNbW3+zy8vL0+P0AAwgMDg4OFCEqKvz8z8/Hv7y8vM/uABIxREREQTkxMYOACUlJGhsUBwIB//+CCf//AQIHFBsaSUmBEFVKMhcK8Mq0tLTK8AoXMkpVhACAAQAIAD0AAAAesbEgICAQ+fDcra2tHR0dJi03N+XizMG+wtv2CCQgIIOCBzhBS05OTiYRgQRmWVZWVoID8uHd7IIB8ueEgAEACAAcAAANDAACAgIBAQEBAwEBAgIM2cQxKioqLjED/enZLIAGsgCyMj8/P4EC/vayAIABAAgAFAAACQgABAEDAQEBAQOAB8HBABEuPz8RgAc/UH5+bVA/AACAAQAIACQAAAAP3efWwMDA0e7/GT4+Pj0+HoMP6QQKLT9QbX5+flk/OTEy6YMAgAEACAAFAAAAhYAAlYOAAQAIAAQAAAEAAQD/AJUAgAEACABIAAAAIwj64+Pj+ggXLi4uF//x2tra8f8OJSUlDvfp0tLS6fcGHR0dBoOBCBYlNEtLSzQlFoIIFiU0S0tLNCUWgggWJTRLS0s0JRaEAIABAAgAJwAAABHWwcE9PSj/58bGxuf/Fzg4OBeDAVL+gQH+UoEIITlQcnJyUDkhhIABAAgAJwAAABHBwdYoPT3/58bGxuf/Fzg4OBeDgAkCrq4CAI6Or8feggPex6+Og4ABAAgAXgAAAC2urq64x8zOzMzM5/YMFQoCpLLM5vYML0FBQTo3OzAkHh4e6dGwsLDR6f8hISH/gxJPNUBPT0AuBe/Nrq6ux+HjEQ8Hggv89vLv8wYYHyAlMk+BCCE5UXFxcVE5IYQAgAEACABeAAAALQrz0b+/v8XKxdDc4uLiUlJSRzk0MjQ0NBkK9Ov1/lxNNBoXAN/f3wAXL1BQUC+DgSQECg4QDfvo4eDazrGxy8CxssDS+xEzUlJSOR4d7/H5AI+Pr8feggPex6+PgwCAAQAIAAQAAACEAMqDAIABAAgABAAAAIQAyoMAgAEACAAEAAAAhADKgwCAAQAIACEAAAANDujZ9ATn5xgY+gsnFu+EDu0I8e0YIAQEIBjt8Qfs14OAAQAIAEQAAAAfzMHv+Mq86vPGuyEs2M0zPhEINUMWDTlE3tMnMjDdzyKDgAfKyiws1NQ2NoEBNjaBBzY21NQsLMrKgQbKygAsLNTUgwCAAQAIAAcAAAAD7KAUYIOHgAEACAAHAAAAAxSg7GCDh4ABAAgABgAAAgEBAgHjHQEq1oABAAgABgAAAgEBAgH2CgEt2YABAAgABgAAAgEBAgH2CgEt2YABAAgABwAAAIcArIEArIOAAQAIAB8AAAANpK26urqtpBQbIyMjGxSDgAQHAQD/+oEE+voABgaEgAEACAAfAAAADezl3d3d5excUkZGRlJcg4AEBgYA+vqBBPr/AAEHhIABAAgATQAAACUXAt3FxcXFxsrKxsXFxcXdAhchITsyLCwsLCANDSAsLCwsMjshIYOBDREzS9LT09MtLS0utc7vggepqamppQkLCIEH+PT3W1dXV1eEgAEACABNAAAAJd/fxc7U1NTU4PPz4NTU1NTOxd/f6f0jOzs7Ozo2Njo7Ozs7I/3pg4AHV1dXV1v39PiBBwgLCaWpqampgg3vzrUuLS0t09PT0kszEYWAAQAIAAoAAAQDAQICAgPQFCMUgAKsVACAAQAIAAkAAAQDAQICAgPs3ewwAVSsgQCAAQAIAAIAAACEhACAAQAIAEQAAAAfsbiqlZWVpb/P5wkJCQgJ7RIZC/b29gYgMEhqamppak6DH+b6AB8vP1lpaWlHLykjJObn+wEgMEBaampqSDAqJCXngwCAAQAIAE4AAAAfMRn39/f39xNPSFdra2tbQNC4lpaWlpay7uf2CgoK+t+DQf99/30En7e8w8KBBezmx7enjUL/ff98/3wMnra7wsH//+vlxramjED/fIMAgAEACABLAAAAHxIZC/b29gYgMEhqamppak6xuKqVlZWlv8/nCQkJCAntg0D/fg2SmLfH1/EBAQHfx8G7vEH/fv99BZGXtsbW8IIE3sbAurtA/32DgAEACAAqAAAADwHnwsLCwsLiIxkqQEBALxKDQf9f/18LhJ6krKv09NnSsJ6MQf9w/1+DAIABAAgAJwAAAA/d59bAwMDR7v8ZPj4+PT4eg0D/awWGjK/B0u+CBNvBu7O0QP9rg4ABAAgADwAAAAvc3NxcW1ylpaUlJCWDj4ABAAgADwAAAAvb3NtbW1ukpaQkJCSDj4ABAAgACQAAAAXAwMBAP0CDiYABAAgACQAAAAXAwcBAQECDiYABAAgAFAAAAAepqxQW6uxVV4MA9IEB9PSBAPSDAIABAAgADAAAAAPJyzQ2gwD0gQD0gwCAAQAIAEoAAAAjFQfp19fb2uDfzbu7u9LSu7u73AsfJCRJOy8vLyQkLy8vNTgqg4ELAQJiZWtra2NgZa2tgQoNGiUnJyfS0tLi9IEFra31Bg4IhACAAQAIAEgAAAAi9uzd09PT3e32DBjx8SgoJCEhIigtLS0U9vHy9/v9KCgoGgODgQkKGiMtPEZGRjECgRMHERcXFhEMC/rjz9Da39zbCUEoC4QAgAEACACaAAAAP/vv7PP7+/v7/QEUGhEFBQX/+Pj48+7z+f7/+vT09Pf7/AAKDQ0NA/7w4+Dg4OXz/wISICAgEgMCBPn4+PwJ+ukK6env8/sCFicnJxODFvb2/gYF+vwECgoK/O3v/v/8+vr69vr/gjABAgIA/v7+/v7+KyQgICAI9wP/9O3t7erw/REZExMTFBT29jQ0HRfV0tLS0tz1DCA0gwCAAQAIAHwAAAA7EAkC/v7+6tXV1e7u7vkKEyItLi4uRFRK+f4HDVhLKiMKquHa9B3zvbMCIWJiYkkpJBDm5uYFECU9PT0mgx/+/gQIBvPt9/sCBv4KFhwcHAj2+QME9uo4MykfHw/0+YEZx9r+VFQpBbnH5g4rSVQkJRT339LS0uj5DR+DAIABAAgAEgAACAcBAQIEAgICAgfP1dzcHRHk/AEECIED7ADsAIABAAgAjwAAAD/57eHZKScbA+/JycnO3/Dg38zMzLGTtMjIyNPuBxMfJ9fY5f0RNzc3MiIQICA0NDRQbUw4ODgtETAGxsbG4f3QBfk6OjofA4OBGAsQNz5RUVE3IhkK++/w7P0JBf367uLX4vSCJ/bwycKvr6/J3uj1BhEQFAP3+wQGER4pHwwAPzIK7tzDscHO9xIlPk+DgAEACAB5AAAAgAIDAwKCBgIDAwD+/f6CLf79/vry9vb29/nuBg/v9f0DEiEhIRME+/PtCwTy7QD27+/v7+/2AAoREREREQqDgwz////+/v7+/v7+////hAIFAPuCIgzw4NnT09PvAAwtLS0mFgf39gAMDAT9/wD68vLy+gD//QQMg4ABAAgAdAAAAIACAwMCggYCAwMA/v3+gir+/f4A9u/v7+/v9gAKEREREREK4eH6+gQNDQ0RDA3q6wEBAfjr6enp8v4Bg4MM/////v7+/v7+/v///4IPDAwE/f8A+vLy8voA//0EDIMFCAn+Av//gQv+/gAfHx8I/e7d3d2DAIABAAgALwAAABfu7vj4CwsVFe3tMPz8ygkJ5eXlC+sTExODgAHV1YEB1dWDAUNDgwHW1oEB1taEgAEACAAiAAAQDwABAQIDAgMCAgECAQECAQGADvPf0/MNLSEA/vr6/gIGBg+jo6/S/v7Sr9jY0s7MzM7SgAEACAAHAAAAA8zMNDSDh4ABAAgACwAAAAfW1ioq1tYqKoOLgAEACAANAAAGBQECAgICAgXM0swzLjMAuIIBuAAAgAEACAAVAAAKCQECAgICAgICAgIJydTJ1Mk2LDYsNgICQMKCA8JAAgAAgAEACABJAAAAIgLz7fP7+/sBBwgCAwUFBTAwJhEC9OLaFhYKMM/P2PECESYwg4EgDBQJ9AURDwoKCggFAgItNkFBQTs1GxAAPj7f1cnJydXfg4ABAAgAUAAAACX9/ena2NjY3Oz9/SYmHyErL9nkDCYmDuPYKCEcJib9/QssRkZGGYOACP8A/gEHCQoJCIEZBQEA+OjLvrO4UFI+Kw0BBgIAUre1wuUDKFaDAIABAAgAbAAAADMO8/X5////+fXzDhAPBwD58PDyDQsHAQEBBwsN8vDw+QAHDxAA68m1tbXJ6wAVN0tLSzcVgzPxDhANBf/58O7wDQoGAQEBBgoN8O7w+f8FDRAO8fT4/f39+PRKSjYU/+rItLS0yOr/FDZKgwCAAQAIAHgAAAA5+fno4eHdQDcO+fn57uHc3Nzt/Pn5HBwgKC4uztkLHBwGDBkhISEdGhwcHOyysrLVCxz5+RhLS0sjCIOAEgEEDRQTN1BeW8nIydHb3u/6+/6BI//99ejduqugpCIoKiolIBcLBQIAWFotB/DVyMQoqKnL8AUgJYMAgAEACABgAAAALQb99fDu7P7o6erq6/3w9foAAwwMDrO31P8sYGEE8llaWQDuYF9KIwXXubMOCwmDLQEBBgHx8RgYDvnt7RQUEQb9/f32+trKoaGh2hQU7e0DGBjx8Qs+XV1dMCcGCwGDAIABAAgAgQAAAD7zydzfz7+/v8fPzMy4uru7u83r+/8hMtzf6Pv9GTIyMi8y8/NEOjU1NR0XIjxKRDsoEhomGTpAIv4B+vX7BvmDCv5UXVtLMycY79nZgRPz9vP2+/7+/v33zLqrq6utw+Hq+4ET2dn0FyM0NzQ8QUFBTFdXV15gCQiCBP/9/f0Dg4ABAAgAMwAAABfJye7uycnu7sDPXwMDqTE/FRU1NRUVNTWDgAft7RQU7e0UFIEBeHiBBxQU7e0UFO3thIABAAgABAAAAIQAwoMAgAEACAAHAAAAA/G1EEyDh4ABAAgADgAABgUBAgICAgIF1PbUKworBdQsACzUAIABAAgABgAAAgEBAgH3CQEq0oABAAgAHAAAAAsm58TkIgHfHT0a2wGDC+YjAN0cOxzdACPmwoMAgAEACAAmAAASEQECAgECAQIBAgECAQIBAgECARH2Cvfo6PcKGhoK9+jo9woaGgoRLNTT4/cHB/fj0/gKHywsHwr4gAEACAAKAAAEAwECAgID9wn3CQMy2izUgAEACAArAAAAE86v9/fttPf38M0zVgkJGlMJCRUzg4AH1NQsLNraMjKBBzIy2tosLNTUhIABAAgAEgAAAAbv76Tv7xERgwbpRAO/Gx7ngwCAAQAIABIAAAAGEe/vERFdEYMG6eceG78DRIMAgAEACAAZAAAACt/fs9/fISHf3yEhgwkrdybRHE/5AFRUhIABAAgAGQAAAAoh398hIU0h398hIYMJK/lPHNEmdwBUVISAAQAIABIAAAgHAQICAgICAgIH1evVLBUs6xUHDEwATAxbVACAAQAIAGQAAAAvTREQDxYTAu3Z08G4tPDx8uvu/xQpLkBJTREQDxYTAu3Z08G4tPDx8uvu/xQpLkBJgy/F5PsRERETFBYWFgkO79jCwsLAv729vcrc+xIoKCgqKy0tLSAlBu/Z2dnX1tTU1OGDAIABAAgACAAAAwIBAgICvfMNAtotxgCAAQAIADQAAAAXThAOCxcWBe/a1ce9tfP2+ezt/hQpLjxGgxfE4wUmJiYoKCoqKig6G/nY2NjW1tTU1NeDAIABAAgADQAAAAbg3yEgwQE/g4QAiYSAAQAIAGoAAAABGhaCCBYaGg0A8+fm6oIi6ubn8wANGh8ZDPXd9QwZHzBISEgw4dG4uLjR4ef0DCMM9OeDM/Ly+AAIDg4OISshDg4OCAD48vLy4NXg8jIyMR0A5M/Ozs7uABIyMjISAO7Ozs7P5AAdMTKDAIABAAgAVAAAACf3487Oztbd5Ojo6Ojp39TU1tfm/QkeMjIyKyMdGBgYGBchLCwqKRkDgyf+/hUgKjMzMysmJiIoLygZqMLp/v7+59zSycnJ0dbX2tTN1ONUOhP+gwCAAQAIAAkAAAQDAQICAgPoGMg5gQHDAACAAQAIABsAAAAL0tLD0tIuLkg+SC4ug4ACUQGvgQSvrwFRUYSAAQAIABMAAAAIzu3DwyXuthUwg4ABpqaBAH6GgAEACABkAAAALfHj2dzi4uLXzs/c5NfV2ur28+Pju67M+R4eHjE6Hv30zq6urs70/QUrS0tLKwWDgRABAPTlzsDFzs7O0uHSv7azs4EPIkpjVCxBOhwAT09GGua1ikL/f/9//38FirXmGkZPgwCAAQAIAEAAACAfAQUBAgUBAgECAwIBAgEBAQIEAQECAQECAQECAQIDAgEf+Pf49PX04sbGCiYm4tseJQsLCwsICQkJCQj22toeOjoLAf79/QEBLxTrz/8Ugw8B//39/f3/AAEBLxTrz/8UgAEACABiAAAwLwEBAQIBAwECAQEDAQQBAwECAQMBAwEDAQMBBAEDAQIBAwEDAQMBAwEEAQMBAQEBAS8VFhcXFhMSERESAecUKEEoFRYXFhMSERIB5xQoQSj9/v/++/r5+unP/BApEBcX+fkvAgMBAP8A/wEBAyoR2NgRKgAB/v3+/QABKA/W1g8oAAH+/f79AAEoD9bWDyjpHxPdgAEACAAUAAAAB//E/zz/5P8bgwfh/Rb9Uv2m/YMAgAEACAASAAAIBwEDAwMDAwMDBwz3KD3Yw/QJB+ITKPfiEyj3gAEACAAEAAAAhAAKgwCAAQAIAA4AAAYFAAICAgICgATe3gAiIgXk+RMoE/mAAQAIAA4AAAYFAAICAgICgATe3gAiIgXsARswGwGAAQAIABIAAAgHAAEBAQIBAwGABuvR0esALy8H6ekDGEdHGAOAAQAIABwAAAAL29rV2NjY6/kABwongwsG/PsEBREjIyMiHwaDAIABAAgAHAAAAAvV09TZ2dnn+QAOESeDC/b/Ag4QGy8vLygh9oMAgAEACAAcAAAAC9j1+P8GFCcnJyolJIMLBh8iIyMjEQUE+/wGgwCAAQAIABwAAAAL2e/yAQcYJycnLC0rgwv2ISgvLy8bEA4C//aDAIABAAgANAAAABetyczT2ef////++foCHiEoLjxUVFRRTk+DFwYfIiQkJBAEA/r7BgYfIiQkJBAEA/n7BoMAgAEACAAEAAAAAP+DhACAAQAIABsAAAAL4+bn+wASHR0dGRYYgwLw+fyCBevj3dTR8IOAAQAIABwAAAALsfr5/v8CBwdPAAIBgwv+NjM1NTUzNv7+//6DAIABAAgABAAAAIQA94MAgAEACAAYAAAACf/6+rEBAgBPBwaDCf7+/DU1NDU1/P6DAIABAAgABAAAAIQA9oMAgAEACAAgAAAADf/t390NDAP/+/bzIyERgw319QMSEhkjIyMZEhID9YMAgAEACAAEAAAAhAD5gwCAAQAIABwAAA0MAQECAQQBAQECAwMDAwz25dvbCholJRr9+AMIDNzlAAskGwsA5Qb9+gIAgAEACAAmAAASEQEBAwECAQEDAQECAQIBAgECARH04dbh/wodKh0K/ff3/QMJCQMRytUBFB4eFOnVyv338evr8ff9gAEACAA8AAAAGw0A/gMDBAUDzs/e+QEEAgMBAwYLEhYkMjIyHAmDG/j49/X19fr8/AchISEgICAgGhkbHx8fDgj38/iDAIABAAgABAAAAIQA9YMAgAEACAAGAAACAQECAegZARHVgAEACAAEAAAAhAAhgwCAAQAIACQAAAAP5Mze5uLi4snAAyE1NTUpB4MP7QMBAv72+fbwCQf38vTw64MAgAEACABGAAAAIO3n5ubo2uHl2uDg4N3j6fLz7OPj6ff79/f+/AoaGhoE7oMg9fXu6QQKCQkJ9/z7+Pj4+/n1+vwF+v///v7+AwL35+n1gwCAAQAIADAAAAAVEu3Rzc3N1dbLNCgoKCgoIycxNDQ5GoMH+PgFDwoODQeBCwMLExggICAiIvj7+IMAgAEACAAwAAAAFRLt0c3NzdLRNDw2KSkpIyEmLzQ0ORqDFfj4BQ8KCAP+AAcQFBQbICAgISL4+/iDAIABAAgAAgAAAISEAIABAAgAAgAAAISEAIABAAgAAgAAAISEAIABAAgAAgAAAISEAIABAAgAAgAAAISEAIABAAgAAgAAAISEAIABAAgABgAAAgEBAgHtFAHdqIABAAgAAgAAAISEAIABAAgAAgAAAISEAIABAAgAAgAAAISEAIABAAgAAgAAAISEAIABAAgAAgAAAISEAIABAAgAAgAAAISEAIABAAgAAgAAAISEAIABAAgAUgAAAIAl797a2tre7wASIiYmJiISAO/QxSw6SUlJNBM+1ce3t7fL5f0AEDKDJgEBCAkA9/j9/f349wAJCAFJSTwtkZ7UAR8+SdJuXygB0Kuqtra2woMAgAEACAAUAAAJCAECAgEBAQECAgjqyezm2tXbNgoIVZ////r6AFUAAIABAAgAOAAAABrX18q/vLy82fYRMTTY5Pv9CB0pKSk9V2NbExODgAxVPR8F8t23t7fT6xAOggj89fH/HDhMUVGEAIABAAgAYwAAADH4DADdzSwuJf3ow62trbrHxsbGxtjSwMDAzN/qECcnydPw/vX8DyIvLy8qPSweHh4SAYOBH+zg7RogSUlJOR4M+N/T09MSEhITAOTWwre3t+TqEh0ShAn79e/89+//DAYChIABAAgAFAAACAcBAgECAgIBAwfT3thCIkJd0wbWDQA11gA1QP9vgAEACABKAAAAI/gI/N3OJikd7OPLubm5y+Tt+xEWuLkpKRYlIiEUFSEtLS0hCIOBEu/l7BQfSUlJOBgC6sy+vr7L0PqBC7CwKhcHBwcKCQICAYQAgAEACABYAAAAKvXizsbGxs/e7vYIFB2/xN7xDS08PkMsExIZICAgEPvz1q+vr9bxEjQ0NBGDgQUSHxQXEgiCHwT93M25ubnrNVk6EBAQEBETBP0ASEgjC+zHx8fvCyNIgwCAAQAIABEAAAAGwqjY2B8fQ4OAAa+vgQCvhIABAAgAfAAAAIA69uDS0tLHvdLt7e3v9wAKERISEi5DOS0tLR8KAOnKu7u7yukAFjREREQ0FgDu0L6+vtDuABIvQEBALxKDO////QcZFw0PD/np7vf9/f337un5Dw8NFhgH/f9XV0UoGAnq1NTU6gkYKERXKCgW+unYu6mpqbvY6foWKIMAgAEACABOAAAAJM2fnrDL5/r6+vz+/gAECAgIERwdNgLrxa+vr8rxARU7VVVVQR2DgCPa7wsYFwb2+Pr8/Pz59vQFEhEMAEhIMQz01bGhoaG12/UJLkiDAIABAAgAYAAAAIAs797a2tre7wASIiYmJiISAO/Nt7e3y+X9AAQcNklJSTQTAPPf39/zAA0hISENgy0BAQgJAPf4/f39+PcACQgBSUk+HwHQq6m1tbWpq9ABHz5J3t7y/wwgICAM//LegwCAAQAIAAcAAAAD2tsmJoOHgAEACABKAAAADNTU09Ps5eUGBuniJSyBFQsKAQEBCxQZJyYACxQYJDIyMkFRJCSDBfjNzQkHBIEA+IQVJyEYCv3z5OTk7PsGDAYGBgYDAxgnJ4QAgAEACAAkAAASEQECAQEBAgEBAQECAgECAgIBAxHJyOHa2vve1xoh7e7iGBQYHu4FzQkHBAD4gwf4GQce+AAe5IABAAgAdwAAADvj3B8m8vLz8+cdHRkZHR0j8/Pz/fvu5xAQCf724+Pj8/39+OXl5fP4BAwP5+33+woTFBQUFhsVFxcXEASDhCf4+BkHBx4e+PgAHh7k5Pb27fADChkZGQ7/7eLjCQsC9efe3t7r9gkIggv6+P36+Pv+AQAB/PaDgAEACAATAAAACNfX1dXi6ekSEoOABMPDBwf5hoABAAgAMgAAABfq6vDv6urq+QQGFRXp8gEFESIiIi5CFRWDgAwtJRT/8ujY2Njc8AoKggUD9vUZMDCEAIABAAgAVwAAACr///DmFxcSAfrd3d3wAgEBAO/e3t7v+AoUFubu+PkMFxYWFhkfGBoaGhIHg4EZ8/UOFCkpKRsJ9ODd4RMWFQTy49fX1+f2DgyCCvv7APr7AAMHAAIBhAAFAGYAAAISArwAAwAGAAkADAAPAAAzESERJSEDAxMDAREDJxMhZgGs/nEBc7rBtLQBg7YNu/6MArz9RBUBNP7oAS0BLP2lAl3+0hUBNQACACMAAAJVApwABwALAAAzEzMTIychBzchAyMj/Dv7OT3+uj5PASOPBAKc/WSoqNgBiQD//wAjAAACVQNHAiYAAQAAAAYBSDQA//8AIwAAAlUDRgImAAEAAAAHAVAAAACn//8AIwAAAlUDSgImAAEAAAAHAUwAAACj//8AIwAAAlUDOQImAAEAAAAHAUAAAACK//8AIwAAAlUDRwImAAEAAAAGAUbMAP//ACMAAAJVAx4CJgABAAAABwFWAAAAkwACACP/WAJVApwAGwAfAAAzEzMTDgIVFBYzMjY3FQYGIyImJjU0NjcnIQc3IQMjI/w7+xonFB8TCRIIDxUMFyYVKB87/ro+TwEjjwQCnP1kCBsgERcUBAMnBgMSIRcjMBCjqNgBiQADACMAAAJVA0MAFAAYACQAADMTJiY1NDY2MzIWFhUUBgcTIychBzchAyM3MjY1NCYjIgYVFBYj9hoiGisaGysZIRr1OT3+uj5PASOPBAIXICAXFiEhAowLLx4aKxoaKxodMAv9dKio2AGJTCEWFyAgFxYh//8AIwAAAlUDPQImAAEAAAAHAVQAAACpAAIABQAAAmwCnAAPABMAADMBIRUjFTMVIxEhFSE1Iwc3MxEjBQEMAVj+zc0BAf7HtkJVowQCnDD8MP7wMKio2AGXAAMAdAAAAjECnAASABwAJQAAMxEzMhYWFRQGBgceAhUUBgYjJzMyNjY1NCYjIzUzMjY1NCYjI3TjQlMoEichKTUZKFZHwLY2Qh5IULSxRDtES6ECnC5OLxw7MA0OMEAnMVQzMCdAJTdPMEYzNUwAAQA2//QCQQKoAB4AAAUiJiY1NDY2MzIWFwcmJiMiBgYVFBYWMzI2NjcXBgYBTlR+RkmCU0mBIDEWXUc8aEBAaDwxSTIQMiN+DFudZGSbWUtKEzFHQ4RhYYZFITcgE0xJAP//ADb/9AJBA0cCJgANAAAABgFISQD//wA2//QCQQNFAiYADQAAAAcBTgAVAKQAAQA2/08CQQKoAD4AAAUiJic3FhYzMjY1NCYjIgYjIiY3Ny4CNTQ2NjMyFhcHJiYjIgYGFRQWFjMyNjY3FwYGBwc2NjMyFhYVFAYGAUUTLREOFR0PHBQSFwsXCAsFBxtMcT9JglNJgSAxFl1HPGhAQGg8MUkyEDIieU8XChEEFRsOEiexDgoZCgccCg4QBhIKLAhdmF5km1lLShMxR0OEYWGGRSE3IBNJSgIkAgIQGQ4PJRr//wA2//QCQQM7AiYADQAAAAYBQxUAAAIATQAAAk8CnAAMABkAADMRMzIeAhUUDgIjJzMyPgI1NC4CIyNNpE2BXTMzXYFNbGQ5bFUzM1VsOWQCnCNPflxbgU8lMBc9cVtbcDsW//8ATQAAAk8DRQImABIAAAAHAU4ADACkAAIAFgAAAk8CnAAQACEAADMRIzUzETMyHgIVFA4CIyczMj4CNTQuAiMjFTMVI003N6RNgV0zM12BTWxkOWxVMzNVbDlkysoBRzABJSNPflxbgU8lMBc9cVtbcDsW9TAAAAIAFgAAAk8CnAAQACEAADMRIzUzETMyHgIVFA4CIyczMj4CNTQuAiMjFTMVI003N6RNgV0zM12BTWxkOWxVMzNVbDlkysoBRzABJSNPflxbgU8lMBc9cVtbcDsW9TAAAAEAiQAAAhkCnAALAAAzESEVIRUhFSERIRWJAYz+rAEV/usBWAKcMPww/vAwAP//AIkAAAIZA0cCJgAWAAAABgFISQD//wCJAAACGQNFAiYAFgAAAAcBTgAVAKT//wCJAAACGQNKAiYAFgAAAAcBTAAVAKP//wCJAAACGQM5AiYAFgAAAAcBQAAVAIr//wCJAAACGQM7AiYAFgAAAAYBQxUA//8AiQAAAhkDRwImABYAAAAGAUbhAP//AIkAAAIZAx4CJgAWAAAABwFWABUAkwABAIn/WAIZApwAIAAAMxEhFSEVIRUhESEVDgIVFBYzMjY3FQYGIyImJjU0NjeJAYz+rAEV/usBWBonFB8TCRIIDxUMFyYVIhwCnDD8MP7wMAgbIBEXFAQDJwYDEiEXIC4QAAEAiQAAAhkCnAAJAAAzESEVIRUhFSERiQGQ/qgBVP6sApww/DD+wAABACn/9AJCAqgAJgAABSImJjU0NjYzMhYXByYmIyIGBhUUFhYzMj4CNTUjNTMRIycOAgFDWH9DRn9XTX0fMhdeRD5nPDtmPxxGQCnI/SgNF0VMDFucY2ibV05NEztDRIRiXIZIEzBVQRow/rlhJzAWAP//ACn/9AJCA0YCJgAgAAAABwFQAAcAp///ACn/GAJCAqgCJgAgAAAABgFY+wD//wAp//QCQgM7AiYAIAAAAAYBQwcAAAEAQQAAAjcCnAALAAAzETMRIREzESMRIRFBOAGGODj+egKc/tUBK/1kAUH+vwACAAoAAAJuApwAEwAXAAAzESM1MzUzFSE1MxUzFSMRIxEhEREhNSFBNzc4AYY4Nzc4/noBhv56AgUuaWlpaS79+wFB/r8BcZQAAAEAjwAAAekCnAALAAAzNTMRIzUhFSMRMxWPkZEBWpGRKgJIKir9uCoAAAIACv/0AkYCnAARAB0AAAUiJjc3BhYWMzI2NjURMxEUBiU1MxEjNTMVIxEzFQGoS1sDOAMeNBwVLyI4WP4cUFDYUFAMZWsLQEsgFUA/AeT+G2JhDCoCSCoq/bgqAP//AI8AAAHpA0cCJgAmAAAABgFINAD//wCPAAAB6QNKAiYAJgAAAAcBTAAAAKP//wCPAAAB6QM5AiYAJgAAAAcBQAAAAIr//wCPAAAB6QM7AiYAJgAAAAYBQwAA//8AjwAAAekDRwImACYAAAAGAUbMAP//AI8AAAHpAx4CJgAmAAAABwFWAAAAkwABAI//WAHpApwAIAAAMzUzESM1IRUjETMVDgIVFBYzMjY3FQYGIyImJjU0NjePkZEBWpGRGicUHxMJEggPFQwXJhUiHCoCSCoq/bgqCBsgERcUBAMnBgMSIRcgLhAAAQBF//QB9AKcABMAAAUiJiY3NwYWFjMyPgI1ETMRFAYBIEFkNgI2BS5PKxg2MB44dwwsXUcLQEsgCx87LwHk/htiYf//AEX/9AJXA0cCJgAvAAAABwFIANAAAAABAGIAAAJYApwACwAAMxEzEQEzAwEjAQcVYjgBU0b9ASJE/v54Apz+hAF8/uv+eQFeg9v//wBi/xgCWAKcAiYAMQAAAAYBWOoAAAEAkwAAAkYCnAAFAAAzETMRIRWTOAF7Apz9lDAA//8AkwAAAkYDRwImADMAAAAGAUg4AP//AJMAAAJGAqkCJgAzAAAABgFLGdv//wCT/xgCRgKcAiYAMwAAAAYBWAwAAAEAHwAAAkYCnAANAAAzEQc1NxEzETcVBxUhFZN0dDjKygF7AQVEN0QBYP7Adjd29TAAAQAzAAACRQKcAA8AADMRMxMzEzMRIxEjAyMDIxEzYagEpGE4BK0+rwQCnP2vAlH9ZAJg/aACYP2gAAEAVQAAAiMCnAALAAAzETMBMxEzESMBIxFVWQE5BDhZ/scEApz9ogJe/WQCXv2i//8AVQAAAiMDRwImADkAAAAGAUg0AP//AFUAAAIjA0UCJgA5AAAABwFOAAAApP//AFX/GAIjApwCJgA5AAAABgFY5AD//wBVAAACIwM9AiYAOQAAAAcBVAAAAKkAAgAp//QCTwKoAA8AHwAABSImJjU0NjYzMhYWFRQGBicyNjY1NCYmIyIGBhUUFhYBPFd7QUF7V1d7QUF7Vz5jOTljPj5jOTljDFqcZGScWlqcZGScWjBFhWBhhEVFhGFghUUA//8AKf/0Ak8DRwImAD4AAAAGAUg1AP//ACn/9AJPA0oCJgA+AAAABwFMAAEAo///ACn/9AJPAzkCJgA+AAAABwFAAAEAiv//ACn/9AJPA0cCJgA+AAAABgFGzQD//wAp//QCTwNjAiYAPgAAAAcBSQAtAKwAAwAp//QCTwKoABgAIgAsAAAFIiYnByc3JjU0NjYzMhYXNxcHFhYVFAYGJzI2NjU0JicBFicBJiMiBgYVFBYBPDpcIzYeO0FBe1c6XiI2HzwgIEF7Vz5jORYU/rg8UwFIO14+YzkXDCglRBlLXZBknFopJUQYTC14R2ScWjBFhWA7XyX+X0hqAaFJRYRhO2H//wAp//QCTwM9AiYAPgAAAAcBVAABAKkAAgAI//QCaQKoABkAKQAAFyImJjU0NjYzMhc1IRUjFTMVIxEzFSE1BgYnMjY2NTQmJiMiBgYVFBYWyz9XLS1YP2IzAQXNoKDQ/vgZSy0rQSUlQSspQSUlQQxWm2lpm1ZnWzD8MP7wMFoxNTBBhWRmhEBAhGZmhEAAAgB3AAACNQKcAAwAFQAAMxEzMhYWFRQGBiMjEREzMjY1NCYjI3fVR2k5OWlHnZdTY2NTlwKcKlRBQFYq/uMBTT9RUD8AAAIAdwAAAjUCnAAOABcAADMRMxUzMhYWFRQGBiMjFTUzMjY1NCYjI3c4nUdpOTlpR52XU2NjU5cCnIkqVEFAViqUxD9RUD8AAAIAKf/0AngCqAAUACgAAAUiJiY1NDY2MzIWFhUUBgcXBycGBicyNyc3FzY2NTQmJiMiBgYVFBYWATxXe0FBe1dXe0EbGl4kWSJhPFw8rSSmERQ5Yz4+Yzk5YwxanGRknFpanGRAcCxZJVQoLDBIoyacI1s3YYRFRYRhYIVFAAIAdgAAAjECnAAOABkAADMRMzIWFhUUBgcTIwMjEREzMjY2NTQmJiMjdsxFZjluWdJHynKRMk4uLk4ykQKcKVNBWFoH/toBI/7dAVMcPjIzPhwA//8AdgAAAjEDRwImAEoAAAAGAUgcAP//AHYAAAIxA0UCJgBKAAAABwFO/+gApAABAEn/9AIwAqgAMQAABSImJic3HgIzMjY2NTQmJycuAjU0NjYzMhYWFwcuAiMiBgYVFBYXFx4CFRQGBgE6L2ROEDYNOk0oNVUyP1lfK00vO2ZBLVRFFDcPNUAeLU4vSTFgO1gxRHAMH0M2FSs4GiJCMC48FhgLJkI0M1AuGDMnFR0mFBw6LC81DRkPKkY4O1cv//8ASf/0AjADRwImAE0AAAAGAUg0AP//AEn/9AIwA0UCJgBNAAAABwFOAAAApAABAEn/TwIwAqgAUQAABSImJzcWFjMyNjU0JiMiBiMiJjc3LgInNx4CMzI2NjU0JicnLgI1NDY2MzIWFhcHLgIjIgYGFRQWFxceAhUUBgYHBzY2MzIWFhUUBgYBMxMtEQ4VHQ8cFBIXCxcICwUHGyxYRQ42DTpNKDVVMj9ZXytNLztmQS1URRQ3DzVAHi1OL0kxYDtYMUBrQBcKEQQVGw4SJ7EOChkKBxwKDhAGEgosBCJAMRUrOBoiQjAuPBYYCyZCNDNQLhgzJxUdJhQcOiwvNQ0ZDypGODpVMAIkAgIQGQ4PJRoA//8ASf8YAjACqAImAE0AAAAGAVj0AAABAFH/9AJTAqgALgAABSImJic3FhYzMjY1NCYmIyIGBycTJiYjIgYGFREjETQ2NjMyFhcVBzYWFhUUBgYBpDJCJwkyCTU0MkYiNx4PGQketjNfKz5ZLzhDc0g4ej6qM1c0MlAMHzQdEyUsREAtOhsFBDIBCwsNIFBJ/kEBv1llKxQPMvkIKVU7PFApAAEAPwAAAjkCnAAHAAAhESM1IRUjEQEg4QH64QJsMDD9lP//AD8AAAI5A0UCJgBTAAAABwFOAAAApAABAD//TwI5ApwAKAAAIREjNSEVIxEjBzY2MzIWFhUUBgYjIiYnNxYWMzI2NTQmIyIGIyImNzcBIOEB+uEJHwoRBBUbDhInHxMtEQ4VHQ8cFBIXCxcICwUHIgJsMDD9lDACAhAZDg8lGg4KGQoHHAoOEAYSCjf//wA//xgCOQKcAiYAUwAAAAYBWPQAAAEAVf/0AiMCnAASAAAFIiY1ETMRFBYzMjY2NREzERQGATt5bThTWz1OJThuDIF/Aaj+VGVnLltDAaz+WH+BAP//AFX/9AIjA0cCJgBXAAAABgFINAD//wBV//QCIwNKAiYAVwAAAAcBTAAAAKP//wBV//QCIwM5AiYAVwAAAAcBQAAAAIr//wBV//QCIwNHAiYAVwAAAAYBRswA//8AVf/0AiMDYwImAFcAAAAHAUkALACs//8AVf/0AiMDHgImAFcAAAAHAVYAAACTAAEAVf9YAiMCnAApAAAFIiYmNTQ2NwYGLgI1ETMRFBYzMjY2NREzERQGBwYGFRQWMzI2NxUGBgGpFyYVFREjUU5AJjhTWz1OJTgxNR0cIhQIEAcPFagSIRcYLRMFARU2Y08Bq/5UZWcuW0MBrP5YVXIfETEaGRgDBCcGAwADAFX/9AIjA2cADwAbAC4AAAEiJiY1NDY2MzIWFhUUBgYnMjY1NCYjIgYVFBYTIiY1ETMRFBYzMjY2NREzERQGAT8cLRsbLRwcKRgYKR8XICAXFiEhFXltOFNbPU4lOG4CphosGhosGxssGhosGisfFhYfHxYWH/0jgX8BqP5UZWcuW0MBrP5Yf4EAAAEAMQAAAkcCnAAHAAAhAzMTMxMzAwEe7TrPBNA57gKc/agCWP1kAAABAA0AAAJsApwADwAAMwMzEzMTMxMzEzMDIwMjA4p9OGcEbz5tBGc3fUdpBGoCnP2vAlH9rwJR/WQCNv3K//8ADQAAAmwDRwImAGEAAAAGAUg2AP//AA0AAAJsA0oCJgBhAAAABwFMAAIAo///AA0AAAJsAzkCJgBhAAAABwFAAAIAiv//AA0AAAJsA0cCJgBhAAAABgFGzgAAAQAjAAACVQKcAA0AADMTAzMTMxMzAxMjAyMDI/XnQsYExkTn9UPUBNQBWQFD/ugBGP69/qcBLf7TAAEAJAAAAlQCnAAJAAAhEQMzEzMTMwMRASH9QtUE00L7AQwBkP6rAVX+cP70AP//ACQAAAJUA0cCJgBnAAAABgFINQD//wAkAAACVANKAiYAZwAAAAcBTAABAKP//wAkAAACVAM5AiYAZwAAAAcBQAABAIr//wAkAAACVANHAiYAZwAAAAYBRs0AAAEANgAAAkECnAAJAAAzNQEhNSEVASEVNgG//lAB7f5BAc48Ai4yPP3SMgD//wA2AAACQQNHAiYAbAAAAAYBSDgA//8ANgAAAkEDRQImAGwAAAAHAU4ABACk//8ANgAAAkEDOwImAGwAAAAGAUMEAAACAFj/9AIDAfoAHAAnAAAFIiY1NDY3NTQmIyIGByc2NjMyFhUVFBYXIycGBicyNjY1NQYGFRQWAQpPY7GzPkg6RAk4FGZEYloLBywUEFdPMU8vmJVCDEVBWlMNCkFNMiYNPD1iXnhGWyFRIjsvH0c6RAo/QSgyAP//AFj/9AIDArgCJgBwAAAABgFHLAD//wBY//QCAwKfAiYAcAAAAAYBUPoA//8AWP/0AgMCpwImAHAAAAAGAUz6AP//AFj/9AIDAq8CJgBwAAAABgFA+gD//wBY//QCAwK4AiYAcAAAAAYBRccA//8AWP/0AgMCiwImAHAAAAAGAVb6AAACAFj/WAIDAfoALwA6AAAFIiYmNTQ2NycGBiMiJjU0Njc1NCYjIgYHJzY2MzIWFRUUFhcGBhUUFjMyNjcVBgYnMjY2NTUGBhUUFgHTFyYVKikREFdST2Oxsz5IOkQJOBRmRGJaCwcoLR4VChEHDxXSMU8vmJVCqBIhFyMyFEYiO0VBWlMNCkFNMiYNPD1iXnhGWyENLRoWFQQDJwYDyx9HOkQKP0EoMv//AFj/9AIDAvsCJgBwAAAABgFS+gD//wBY//QCAwKUAiYAcAAAAAYBVPoAAAMACv/0AmwB+gAvADsAQwAAFyImNTQ2Njc1NCYjIgYHJzY2MzIWFzY2MzIeAgchFB4CMzI2NxcGBiMiJicGBicyNjY1NQ4CFRQWEzM0JiYjIgaTPUwtcmUrMictCTQUTTEzQQ0XSS4vQioQA/7VGyswFSEsEy0UQzs5TRUUSDchNiFUWiMu1fQWMywsSQxEPTBGLAcgQlA1Jgw8PTQxMDUtS14wPlIwFCEiECU6PTM3OSofST0xBSI0IyUzAQAoUTdOAAACAGT/9AI9AsQAFAAhAAAFIiYmJwcjETMRPgIzMhYWFRQGBicyNjU0JiMiBhUUFhYBUy1INBENKDYSNUcrRWo7O2pKU2VlU1JiLVEMGywaVQLE/tEeLRo9dFJSdD0wbmVlbnFiQF80AAEAZf/0AiMB+gAeAAAFIiYmNTQ2NjMyFhcHJiYjIgYGFRQWFjMyNjcXDgIBV0duPTpvT0RhHDEUTTIxVzY1VTE0UhMzDjdRDENzSUh4RzwwEyYpLl5JR10tKiMTGTEg//8AZf/0AiMCuAImAHwAAAAGAUdQAP//AGX/9AIjAqECJgB8AAAABgFOHgAAAQBl/08CIwH6AD4AAAUiJic3FhYzMjY1NCYjIgYjIiY3Ny4CNTQ2NjMyFhcHJiYjIgYGFRQWFjMyNjcXDgIHBzY2MzIWFhUUBgYBTxMtEQ4VHQ8cFBIXCxcICwUHG0BhNjpvT0RhHDEUTTIxVzY1VTE0UhMzDjVMMxcKEQQVGw4SJ7EOChkKBxwKDhAGEgosB0RvREh4RzwwEyYpLl5JR10tKiMTGC8hAiQCAhAZDg8lGgD//wBl//QCIwKvAiYAfAAAAAYBQh4AAAIAO//0AiUCxAAVACIAAAUiJiY1NDY2MzIWFxEzERQWFyMnBgYnMjY2NTQmIyIGFRQWASVFaTw8aUVDXRk2BA0yFxlbPjdQLWJSU2VlDD10UlJ0PTkrAS798xJeR1QoODA0X0Bhcm5lZW4AAAMALP/0AlcC0AAUACAAKwAABSImJjU0NjMyFhcRMxEUFhcjJwYGJzI2NTQmIyIGFRQWATc2NjMyFhUUBwcBAT9gNnZfOVAZNgQNMhcZTjRIVVVISllZAU8SBAwPCRIKJAw9dFJ7iDkrAS798xJeR1QoODByYWFybmVlbgH6gRkYCw8IH3EAAgA7//QCVQLEAB0AKgAABSImJjU0NjYzMhYXNSM1MzUzFTMVIxEUFhcjJwYGJzI2NjU0JiMiBhUUFgElRWk8PGlFQ10Zqak2QUEEDTIXGVs+N1AtYlJTZWUMPXRSUnQ9OSubKGtrKP6GEl5HVCg4MDRfQGFybmVlbgACAD3/9AIpAtEAJQA1AAAFIi4CNTQ+AjMyFhYXJiYnByc3JiYHNTYWFzcXBxYWFRQOAicyNjY1NCYmIyIGBhUUFhYBLyxWRiopRVUrLlU/DAUqIT0cORplR0p1KikcJTUoGThhSC9VNjdVLy5WNjdWDB48WTs7WTweHjkpbHQiOxs5EyYGLQYmHCgbJjeXZEJ5XzYwKlM/QFUrKlRAP1UqAAACAFT/9AImAfoAGQAiAAAFIiYmNTQ2NjMyHgIHIRQeAjMyNjcXBgYBITQmJiMiBgYBQ01rNz1rRTpYORoD/mgkOUIeNUETNhlb/voBXSVKOipNNQxFdUdQdUAtS14wPVAvFCUbEyU4AS0mTjUgSgD//wBU//QCJgK4AiYAhQAAAAYBRzwA//8AVP/0AiYCoQImAIUAAAAGAU4KAP//AFT/9AImAqcCJgCFAAAABgFMCgD//wBU//QCJgKvAiYAhQAAAAYBQAoA//8AVP/0AiYCrwImAIUAAAAGAUIKAP//AFT/9AImArgCJgCFAAAABgFF1wD//wBU//QCJgKLAiYAhQAAAAYBVgoAAAIAVP9YAiYB+gAsADUAAAUiJiY1NDcGJiY1NDY2MzIeAgchFB4CMzI2NxcGBgcGBhUUFjMyNjcVBgYBITQmJiMiBgYBqhcmFSVVhk49a0U6WDkaA/5oJDlCHjVBEzYNJxgcGiIUCBAHDxX+1wFdJUo6Kk01qBIhFzAnDzZ8WVB1QC1LXjA9UC8UJRsTEyQPES8ZGRgDBCcGAwHJJk41IEoAAAEAbQAAAiQCzAAUAAAhESM1MzU0NjYzMxUjIgYVFTMVIxEBDaCgEi8sqq4fFJGRAcQsZjAzEzAaLGYs/jwAAgBC/0YCEwH6ACEALgAABSImJic3FhYzMjY2NTUGBiMiJiY1NDY2MzIWFzczERQGBicyNjY1NCYjIgYVFBYBNy1WPgo3ClA8L0orGlpBQ2g7O2hDQVsZDig3Y0w2TytgUFFjY7oYMigPJiodPS9hKDU7cE9PcD05Kln+DDhSLO4yWj1ccWxhYGn//wBC/0YCEwKfAiYAjwAAAAYBUPcAAAMAQv9GAhMC8wAPADEAPgAAASYmNTQ2NjcXDgIVFBYXAyImJic3FhYzMjY2NTUGBiMiJiY1NDY2MzIWFzczERQGBicyNjY1NCYjIgYVFBYBORQTHS0WHhAmGxITLS1WPgo3ClA8L0orGlpBQ2g7O2hDQVsZDig3Y0w2TytgUFFjYwI/ESQWIC4aARkBDx4aEyIM/PUYMigPJiodPS9hKDU7cE9PcD05Kln+DDhSLO4yWj1ccWxhYGkA//8AQv9GAhMCrwImAI8AAAAGAUL3AAABAHIAAAIIAsQAFQAAMxEzET4CMzIWFhURIxE0JiMiBhURcjYMLkQtP1AmNjxJSF0CxP7fEygcL1Ey/rgBNz9UYFn+7wAAAQAxAAACCALEAB0AADMRIzUzNTMVMxUjFT4CMzIWFhURIxE0JiMiBhURckFBNqmpDC5ELT9QJjY8SUhdAjEoa2sojhMoHC9RMv64ATc/VGBZ/u///wBzAAACEQK3AiYAlgAAAAYBRPsAAAEAcwAAAhEB8AAJAAAzNTMRIzUzETMVc7Sb0bQsAZgs/jws//8AcwAAAhECuAImAJYAAAAGAUctAP//AHMAAAIRAqcCJgCWAAAABgFM+wD//wBzAAACEQKvAiYAlgAAAAYBQPsA//8AcwAAAhECrwImAJYAAAAGAUL7AP//AHMAAAIRArgCJgCWAAAABgFFyAD//wBzAAACEQKLAiYAlgAAAAYBVvsAAAIAc/9YAhECtwAdACkAADM1MxEjNTMRMxUGBhUUFjMyNjcVBgYjIiYmNTQ2NwMiJjU0NjMyFhUUBnO0m9G0KC0eFQoRBw8VDBcmFSAflxMdHRMUHBwsAZgs/jwsDS0aFhUEAycGAxIhFx4tEwJXHRMUHBwUEx0AAAQAbv9fAgoCtwAPABUAIQAtAAAFNTMyNjY1ESM1MxEUBgYjJxEjNTMRAyImNTQ2MzIWFRQGISImNTQ2MzIWFRQGASVJKicLPXMSPkLDPXMmEx0dExQcHAELEx0dExQcHKEwEC0qAc4s/gc5Qh2hAcQs/hACVx0TFBwcFBMdHRMUHBwUEx3//wBk/14BhQK3AiYAoAAAAAYBRBkAAAEAZP9eAXsB8AAPAAAXNTMyNjY1ESM1MxEUBgYjZIUqJwub0RI+QqIwEC0qAc8s/gY5Qh0A//8AZP9eAc0CuAImAKAAAAAGAUdLAAABAJgAAAI2AsQACwAAMxEzESUzBxMjAwcVmDYBBEXU80XTUALE/jH7yv7aAQJMtv//AJj/GAI2AsQCJgCiAAAABgFYAQAAAQB8AAACEALEAA4AACEiJiY1ESM1MxEUFjMzFQFSJysRc6kRIbkSKSQCOSz9nhwWMP//AHwAAAIQA28CJgCkAAAABgFIASj//wB8AAACEALRAiYApAAAAAYBS20D//8AfP8YAhACxAImAKQAAAAGAVgqAAABAHwAAAIQAsQAFgAAISImJjU1BzU3ESM1MxE3FQcVFBYzMxUBUicrEUBAc6leXhEhuRIpJLQqMCoBVSz+oj4wPtQcFjAAAQBHAAACMwH6ACIAADMRMxc2NjMyFhc2NjMyFhURIxE0JiMiBhURIxE0JiMiBhURRyoJDDUrKjULCzksPjU2ISknNDYgKCc2AfA3GCkkIBkrSjn+iQFmLTc9Pf6wAWctNj49/rEAAQByAAACCAH6ABUAADMRMxc+AjMyFhYVESMRNCYjIgYVEXIoDAwtRi4/UCY2PElIXQHwUBMqHS9RMv64ATc/VGBZ/u8A//8AcgAAAggCuAImAKoAAAAGAUcyAP//AHIAAAIIAqECJgCqAAAABgFOAAD//wBy/xgCCAH6AiYAqgAAAAYBWO4A//8AcgAAAggClAImAKoAAAAGAVQAAAACAEb/9AIyAfoAEwAjAAAFIi4CNTQ+AjMyHgIVFA4CJzI2NjU0JiYjIgYGFRQWFgE8K1dILCxIVyssV0grK0hXLDFXNzdXMTFXNzdXDB4/YkREYj8eHj9iRERiPx4wLV5ISV0tLV1JSF4tAP//AEb/9AIyArgCJgCvAAAABgFHMgD//wBG//QCMgKnAiYArwAAAAYBTAAA//8ARv/0AjICrwImAK8AAAAGAUAAAP//AEb/9AIyArgCJgCvAAAABgFFzQD//wBG//QCMgK3AiYArwAAAAYBSSwAAAMARv/0AjIB+gAbACYAMQAABSImJwcnNyYmNTQ+AjMyFhc3FwcWFhUUDgInMjY2NTQmJwEWFicBJiYjIgYGFRQWATwrViMuGy4ZHixIVysrVSMvGy8aHitIVywxVzcUEv7mGkN2ARoaQyMxVzcUDB0eMBsxH1Y3RGI/Hh0eMhsyH1Y4RGI/HjAtXkgrQxn+1hgYTQEqGBctXUkqQwD//wBG//QCMgKUAiYArwAAAAYBVAAAAAMABP/0AnYB+gAkADQAPAAABSImJwYGIyImJjU0NjYzMhYXNjYzMh4CByEGFhYzMjY3FwYGJTI2NjU0JiYjIgYGFRQWFjczNCYmIyIGAdc5SxQWUSkqTzIyUCwuTxYUSTEtPygPA/7nASo7GiAnEy0TP/6jIDgjIzggHzcjIzfL4hUuKChFDEQ3QDs2c1pbcjY8QTtCLUteMFJdJSEhECU5MC1eSEldLS1dSUheLfooUTdOAAIAZP9eAj0B+gAUACAAABcRMxc+AjMyFhYVFAYGIyImJicVNzI2NTQmIyIGFRQWZCgQETVGK0VqOztqRS1INBC0U2VlU1JiYqICklgcLBo9dFJSdD0bLBn2xm5lZW50X2FyAAACAGT/XgI9AsQAFAAgAAAXETMRPgIzMhYWFRQGBiMiJiYnFTcyNjU0JiMiBhUUFmQ2EjVHK0VqOztqRS1INBC0U2VlU1JiYqIDZv7RHi0aPXRSUnQ9Gywa98ZuZWVucWJhcgAAAgA7/1ICeAH6AB8AKwAABSImJjU1BgYjIiYmNTQ2NjMyFhc3MxEUFjMyNjcVBgYlMjY1NCYjIgYVFBYCQB0sGRtbQ0VpPDxpRUNdGQ4oGRsNGAsNG/7aU2FiUlNlZa4VNC2OKTk9dFJSdD05K1r92SUiBwcwBwfScmFhcm5lZW4AAAEAogAAAggB9gASAAAzETMXNjYzMhYXFSYmIyIGBhUVoigQIHtJEisNFi0UPGI7AfB9QUIFAzwGBzJlTtr//wCiAAACCAK4AiYAuwAAAAYBRzEA//8AogAAAggCoQImALsAAAAGAU7/AAABAG7/9AIKAfoAKgAABSImJic3FhYzMjY1NCYnJyYmNTQ2NjMyFhcHJiYjIgYVFBYXFxYWFRQGBgFELFdDEDUOVEBGS0c3T0BMMVY2RmQUMw1OMjhPOS1PTlY0WQwaNysULjI1KS8nDBEONzkpPSE0LxQjJCspIiUKERA9QS1CIwD//wBu//QCCgK4AiYAvgAAAAYBRzAA//8Abv/0AgoCoQImAL4AAAAGAU7+AAABAG7/TwIKAfoASQAABSImJzcWFjMyNjU0JiMiBiMiJjc3JiYnNxYWMzI2NTQmJycmJjU0NjYzMhYXByYmIyIGFRQWFxcWFhUUBgYHBzY2MzIWFhUUBgYBPBMtEQ4VHQ8cFBIXCxcICwUHGzxqFTUOVEBGS0c3T0BMMVY2RmQUMw1OMjhPOS1PTlYxVTYXChEEFRsOEiexDgoZCgccCg4QBhIKLAU8OhQuMjUpLycMEQ43OSk9ITQvFCMkKykiJQoRED1BLEAkAiQCAhAZDg8lGv//AG7/GAIKAfoCJgC+AAAABgFY/QAAAQBi//ICQgKoAC8AAAUiIicnFhYzMjY2NTQmJiMjNTI2NTQmIyIGBhURIxE0NjYzMhYWFRQGBxYWFRQGBgFGBw4IDwwWCz5YLzxlPgxNS008KEYqNi1cRzpULiw3UGdDcg4BMAEBJ0w5N1EuMEEoJzUfSD7+LQHVPF84J0AkKUAUEG9US2EvAAEAggAAAf0CbAAUAAAhIiYmNREjNTM1MxUzFSMRFBYzMxUBWSguE25uNtfXFSJuEjIwAVAsfHws/rErGjD//wCCAAAB/QL8AiYAxAAAAAYBS0UuAAEAgv9PAf0CbAAzAAAFIiYnNxYWMzI2NTQmIyIGIyImNzcmJjURIzUzNTMVMxUjERQWMzMVIwc2NjMyFhYVFAYGAUYTLREOFR0PHBQSFwsXCAsFByMrIG5uNtfXFSJuax8KEQQVGw4SJ7EOChkKBxwKDhAGEgo4BTA+AVAsfHws/rErGjAwAgIQGQ4PJRoA//8Agv8YAf0CbAImAMQAAAAGAVgHAAABAHb/9AH/AfAAFAAABSImNREzERQWFjMyNjURMxEjJwYGASVeUTYYNzBFWTYoDBFRDGZPAUf+yixEJmBYART+EFAhOwD//wB2//QB/wK4AiYAyAAAAAYBRzAA//8Adv/0Af8CpwImAMgAAAAGAUz+AP//AHb/9AH/Aq8CJgDIAAAABgFA/gD//wB2//QB/wK4AiYAyAAAAAYBRcsA//8Adv/0Af8CtwImAMgAAAAGAUkqAP//AHb/9AH/AosCJgDIAAAABgFW/gAAAQB2/1gB/wHwACcAAAUiJjURMxEUFhYzMjY1ETMRBgYVFBYzMjY3FQYGIyImJjU0NjcnBgYBJV5RNhg3MEVZNigtHhUKEQcPFQwXJhUtKwoRUQxmTwFH/sosRCZgWAEU/hANLRoWFQQDJwYDEiEXIzMWQiE7//8Adv/0Af8C+wImAMgAAAAGAVL+AAABAEIAAAI2AfAABwAAIQMzEzMTMwMBJ+U7vwS8OuUB8P5YAaj+EAAAAQAjAAACVQHwAA8AADMDMxMzEzMTMxMzAyMDIwOkgTZhBGUyaQReNYAtagRpAfD+bQGT/m8Bkf4QAaL+Xv//ACMAAAJVArgCJgDSAAAABgFHMgD//wAjAAACVQKnAiYA0gAAAAYBTAAA//8AIwAAAlUCrwImANIAAAAGAUAAAP//ACMAAAJVArgCJgDSAAAABgFFzQAAAQBOAAACKwHwAA0AADM3JzMXMzczBxcjJyMHTsnCQKQEqD/CyUGtBKz989HR9PzZ2QABAEL/XgI2AfAAEgAAFzUzMjY3NwMzEzMTMwEOAyNiTSIfECHfO78EvDr++AoUGygfojAVIkYB5f5ZAaf9xRYhFgoA//8AQv9eAjYCuAImANgAAAAGAUcyAP//AEL/XgI2AqcCJgDYAAAABgFMAAD//wBC/14CNgKvAiYA2AAAAAYBQAAA//8AQv9eAjYCuAImANgAAAAGAUXNAAABAGkAAAIYAfAACQAAMzUBITUhFQEhFWkBY/6lAZ7+nQFsMAGQMDD+cDAA//8AaQAAAhgCuAImAN0AAAAGAUc9AP//AGkAAAIYAqECJgDdAAAABgFOCwD//wBpAAACGAKvAiYA3QAAAAYBQgsAAAIAqAFPAc0CtQAcACYAAAEiJjU0Njc0JiYjIgYHJzY2MzIWFRUUFhcjJwYGJzI2NTUGBhUUFgEWMzt0dAckKiIyCCoLRjQ4SwcJLw4VPyA6OWZPIAFPLy46NwcWMCIeGwklNEJQZisqETMgGyZHLhQHJiccGQACAJ4BTwHaArUADwAbAAABIiYmNTQ2NjMyFhYVFAYGJzI2NTQmIyIGFRQWATsoSC0tSCgoSS4uSSgxPDwxMDs7AU8nTz08UCcnUDw9TycpSz8/S0s/P0sAAgAjAAACVQKcAAMABwAAMxMzEyUhAyMj/Dv7/hgBns0EApz9ZDACMQAAAQAdAAACWwKoACsAADM1MzUuAjU0PgIzMh4CFRQGBgcVMxUjNT4CNTQmJiMiBgYVFBYWFxUdqzFKKCtNZTo6ZU0rKEkyq9sxSSk/aT8/aT8pSjAwQxlTaTg+bFEtLVFsPjhpUxlDMJMQRmA2R3BCQnBHNmBGEJMAAQCB/14CLQHwAB4AABcRMxEUFhYzMjY1ETMRFBYzMxUjIiYnDgIjIiYnFYE2FjQtQVM2DxwKDDclAwsoPCooQAqiApL+yixEJmBYART+cBwWLigmFSkcGhbGAAABAEkAAAIgAfAAFAAAMxEjNSEVIxEUFjMzFSMiJiY1ESMRkEcB11ISHyElLSsM0QHELCz+oyUSMBQ3NAFF/jwAAQEI//QBcABcAA8AAAUiJiY1NDY2MzIWFhUUBgYBPA4YDg4YDg8XDg4XDA4YDg8XDg4XDw4YDgABAQj/dgFxAFwADwAABTcmJjU0NjYzMhYVFAYHBwEIMRQcDhgOFh4CBTmKfgIdFQ8XDh4WBA4LlQD//wEI//QBcAH9AiYA6gAAAAcA6gAAAaH//wEI/3YBcQH9AiYA6wAAAAcA6gABAaEAAwA2//QCQgBcAAsAFwAjAAAXIiY1NDYzMhYVFAYzIiY1NDYzMhYVFAYzIiY1NDYzMhYVFAZqFh4eFhYeHrwWHh4WFh4evBYeHhYWHh4MHhYWHh4WFh4eFhYeHhYWHh4WFh4eFhYeAAACAQ3/9AFrApwABQARAAAlAzUzFQMHIiY1NDYzMhYVFAYBLQw2DA8THBwTFBsbqgFHq6v+ubYcExQbGxQTHAAAAgEN/1YBawH+AAUAEQAABTUTMxMVAyImNTQ2MzIWFRQGASEMHgwbExwcExQbG6qrAUf+uasCShwTFBsbFBMcAAIAhv/0AgUCqAAhAC0AACU1NDY2NzY2NTQmIyIGBgcnPgIzMhYWFRQGBgcOAhUVByImNTQ2MzIWFRQGARAQKSctMk06MTwdAzUGNVU0LlU4HDkqHRwHGxMcHBMUGxuiKCY0Lh0iSCw2PSg5GgkxSCkkSDcoPzsjGB8gGyyuHBMUGxsUExwAAgBz/0oB8gH+ACEALQAABSImJjU0NjY3PgI1NTMVFAYGBwYGFRQWMzI2NjcXDgIDIiY1NDYzMhYVFAYBLi1WOB04Kh4bBzYPKictMk06MTweAjUFNlUVExwcExQbG7YkSTYpPjsjGR4hGiwoJTUuHSJILDY9KDoZCTBJKQJWHBMUGxsUExwA//8BCADJAXABMQIHAOoAAADV//8BCADJAXABMQIHAOoAAADV//8BCADJAXABMQIHAOoAAADVAAEAlgBYAeIBpAAPAAAlIiYmNTQ2NjMyFhYVFAYGATwuSy0tSy4uSy0tS1gtTC0uSy0tSy4tTC0AAQCNAU4B7AKaAA4AABMnNyc3FzUzFTcXBxcHJ+gkVo0NjSuNDY1YI1gBThp3Kistk5MtKyp3GnUAAAIAJgAAAlICnAAbAB8AADM3IzczNyM3MzczBzM3MwczByMHMwcjByM3Iwc3MzcjhRt6B3gZeQd4Gy8btxsvG3kHdxl4B3cbLxu3GyC4GbjGK7orxsbGxiu6K8bGxvG6AAEAPP+mAjwCxAADAAAXATMBPAHLNf41WgMe/OIAAAEAPP+mAjwCxAADAAAFIwEzAjw1/jU1WgMeAAABALMA3QHFARQAAwAANzUhFbMBEt03NwABAGkA3AIPAREAAwAANzUhFWkBptw1NQABACMA3AJVAREAAwAANzUhFSMCMtw1NQAB//7/ywJ6AAAAAwAABzUhFQICfDU1NQABAMP/XgHiAsQADQAABSYmNTQ2NzMGBhUUFhcBmmdwcGdIb3l5b6Jb43V141tf4XNz4V8AAQCW/14BtQLEAA0AABc2NjU0JiczFhYVFAYHlm95eW9IaG9vaKJf4XNz4V9b43V141sAAAEAl/9eAdUCxAAlAAAFIiYmNTU0Jic1NjY1NTQ2NjMzFSMiBhUVFAYHFRYWFRUUFjMzFQFaLCsNJTo6JQ0rLHuAGBIhIiIhEhiAohMpIeM0KAIqAig04yEpEyoSFuA9NwoGCjY+4BYSKgABAKP/XgHhAsQAJQAAFzUzMjY1NTQ2NzUmJjU1NCYjIzUzMhYWFRUUFhcVBgYVFRQGBiOjgBgSISIiIRIYgHstKg0lOjolDSotoioSFuA+NgoGCjc94BYSKhMpIeM0KAIqAig04yEpEwAAAQDU/14B1QLEAAcAABcRIRUjETMV1AEBy8uiA2Yo/OooAAEAo/9eAaQCxAAHAAAXNTMRIzUhEaPLywEBoigDFij8mv//AQj/dgFxAFwCBgDrAAAAAgCw/3YByABcAA8AHwAAFzcmJjU0NjYzMhYVFAYHBzM3JiY1NDY2MzIWFRQGBwewMRQcDhgOFh4CBTmGMRQcDhgOFh4CBTmKfgIdFQ8XDh4WBA4LlX4CHRUPFw4eFgQOC5UAAAIAsAG2AcgCnAAPAB8AAAEiJjU0Njc3MwcWFhUUBgYjIiY1NDY3NzMHFhYVFAYGAZMWHgMEOSkxFBwOF74WHgMEOSkxFBwOFwG2HhYFDQuVfgEeFQ4YDh4WBQ0LlX4BHhUOGA4AAAIAsAHCAcgCqAAPAB8AAAE3JiY1NDY2MzIWFRQGBwcjNyYmNTQ2NjMyFhUUBgcHAV8xFBwOGA4WHgIFOdgxFBwOGA4WHgIFOQHCfgIdFQ8XDh4WBA4LlX4CHRUPFw4eFgQOC5UAAAEBBwHCAXACqAAPAAABIiY1NDY3NzMHFhYVFAYGATsWHgMEOSkxFBwOFwHCHhYFDQuVfgEeFQ4YDgABAQgBwgFxAqgADwAAATcmJjU0NjYzMhYVFAYHBwEIMRQcDhgOFh4CBTkBwn4CHRUPFw4eFgQOC5UAAgB0ACgCBAHMAAUACwAAJSc3MwcXIyc3MwcXAciUlDyUlPyUlDyUlCjS0tLS0tLS0gACAHQAKAIEAcwABQALAAAlNyczFwcjNyczFwcBNJSUPJSU/JSUPJSUKNLS0tLS0tLSAAEA1AAoAaQBzAAFAAAlJzczBxcBaJSUPJSUKNLS0tIAAQDUACgBpAHMAAUAADc3JzMXB9SUlDyUlCjS0tLSAAACAM0BsAGrApwAAwAHAAATJzMHMyczB94RORGOETkRAbDs7OzsAAEBIAGwAVkCnAADAAABJzMHATEROREBsOzsAAABAGH/VAIXArYAIwAAFyImJzUWFjMyNjY1ESM1MzU0NjYzMxUjIgYVFTMVIxEUDgKcESEJCCYWKDYcubkKKzGSnRwPyMgfNT+sBgQwBQokRDABsClGLzgZLR4sTyn+akhYLRAAAQBh//YCFgKcACIAABciJiY1NDY2MzIXBxEzHgIXHgIVFAYHJy4CJzcRFAYGwxstGhsuHC4bByMDHjMjHjUhFRcDCDlVMw0cLwobLhwcLhsgBQIBIjQwHBg0PigTOB4BO1c8DxP+nyg2GwAAAgAP/6MCaQJZADwASgAABSIuAjU0NjYzMh4CFRQGBiMiJicGBiMiJiY1NDY2MzIWFxUUFjMyNjY1NCYmIyIGBhUUFhYzMjY3FQYnMjY1NSYmIyIGBhUUFgFGO29ZNE+LWTBoWDcmOyEfLgkVOx8fOiUyUCsaNRkhFBwiED5wTEt1Q0d2Rh5AHDlaJTgNGBAaOSg0XSxXg1homlYhSXlXS1wqJBgkGyRJNUtZJwsJ6CUcNEwkUXlCR4ZeZodCERI1HNNBL50FAhpEQDs7AAADABb/9QJpAqkAJAAvADsAABciJiY1NDY2NyYmNTQ2NjMyFhYVFAYGBxc2NjczFAYHFyMnBgYnMjY3JwYGFRQWFhM2NjU0JiMiBhUUFuU+XjMwUzIfLydFLSRFLStCIqALDAE2FBSGRlwnc0hBYB66RFosRkIzRT0lLDgsCy1UOjVPOhUiTCkoQSYcPjMrQS0Psx9HLTdfKJZoNj0wODHSHlA/MD8fAXATQjExLzUpJT0AAQBl/14CHQKcABAAAAURJiY1NDY2MzMVIxEjESMRARxYXzZiQ90kNXOiAcYNaEY0VjMv/PEDD/zxAAIAYf9TAhcCqAA3AEUAAAUiJic3FhYzMjY1NCYmJycmJjU0NjcmJjU0NjYzMhYXByYmIyIGFRQWFhcXFhYVFAYHFhYVFAYGEzY2NTQmJycGBhUUFhcBOUZiEDoLOTo0RBIwLl9GO0RDMCIwTitHYRA6Cjo6NEQSMC5fRzpEQzAiME0DNUk4OGY0Sjg4rUE7DCkyMyQTICMZNCZEMy5IHCA3Iik8IUE7DCkyMyQTHyQZNCZEMy5IHB84Iik8IQEXFTsmJjQfOBU7JiY0HwAAAwAU//MCZAKpABMALgA+AAAFIi4CNTQ+AjMyHgIVFA4CJyImNTQ2MzIWFwcmJiMiBhUUFjMyNjcXDgIHMjY2NTQmJiMiBgYVFBYWATxDbU4qKk5tQ0NtTioqTm0+RFVXQzI4DTINJBcmODglHSINMgkeLypLbz09b0tLbz09bw02X35ISH5fNjZffkhIfl82nGVbXGM0HBQeGUhKR0wZHhQRJRpsUYhSU4dRUYdTUohRAAQAFP/zAmQCqQATACMAMgA7AAAFIi4CNTQ+AjMyHgIVFA4CJzI2NjU0JiYjIgYGFRQWFicRMzIWFhUUBgcXIycjFTUzMjY1NCYjIwE8Q21OKipObUNDbU4qKk5tQ0tvPT1vS0tvPT1vIW4oNx0jKFw+VTI1JCMpIzANNl9+SEh+XzY2X35ISH5fNjBRiFJTh1FRh1NSiFF/AW8cMiIjOQ6VjIy5JCImHgAAAgAMAVcCawKcAAcAFwAAExEjNTMVIxEzETMTMxMzESMRIwMjAyMRZ1viW49BYgRgQiwEYCliBAFXASAlJf7gAUX+8QEP/rsBD/7xAQ/+8QACAMIBtQG2AqkADwAbAAABIiYmNTQ2NjMyFhYVFAYGJzI2NTQmIyIGFRQWATwhOCEhOCEiNyEhNyIhLi4hIC8vAbUhNyEiOCEhOCIhNyEqLyAiLS0iIC8AAQEh/14BVwNGAAMAAAURMxEBITaiA+j8GAACASH/XgFXA0YAAwAHAAAFETMRAxEzEQEhNjY2ogGL/nUCXQGL/nUAAQBlAAACEwKcAAsAACERIzUzNTMVMxUjEQEivb01vLwBvTOsrDP+QwAAAQBjAAACFQKcABMAACE1IzUzNSM1MzUzFTMVIxUzFSMVASXCwsLCL8HBwcGrPMw9rKw9zDyrAAACADv/9AI8AfUAGQAiAAAFIi4CNTQ+AjMyFhYVIRUWFjMyNjcXBgYDITUmJiMiBgcBOylaTTAjQ148R3RG/lkhVDE4XSEPI2biAU4hVjExVCEMHkFoSSdUSS1Fc0a3HiIsJQIqMQEQox8jIx8AAAIAev+mAg4CSgAdACUAAAU1LgI1NDY2NzUzFR4CFwcmJicRNjY3FwYGBxUnEQ4CFRQWATU6VC0wVDclMUUtDTISPi4uQRE0FVpFJSI7JUdaUAdKbz9BbkgIVlQBIC8WEx0oAv5iAywdEyVCBE6DAZgIM1U6UHMAAAIAUwBZAiUCKQAjADMAADcnNyYmNTQ2Nyc3FzY2MzIWFzcXBxYWFRQGBxcHJwYGIyImJzcyNjY1NCYmIyIGBhUUFhZvHEEXGxsXQRxBHUcoKEgcQRxBFxsbF0EcQRxIKChHHYwuSywsSy4uSywsS1kaQR1HKSlIHEEaQBcaGhdAGkEcSCkpRx1BGkAXGhoXAi1LLi5LLS1LLi5LLQAAAwBJ/6YCMAL2ACkAMQA5AAAFNS4CJzcWFhcRJy4CNTQ2Njc1MxUeAhcHJiYnERceAhUUBgYHFTU2NjU0Ji8CNQYGFRQWFwEhK1lFDzQRXDchMEssM1s6JitQQBM1FVgsJT5XLz9qQExmRFYYJjxVRDdaTwMiQTEUOj0GAScIDCdBMTBMMARPTgEaMSYVKS0D/vsJDyxFNzlUMQNOfANNRjA8FgY/+gZBPCs6DQAAAQAc//MCUQKrAC0AAAUiJiYnIzczJjQ3IzczPgIzMhYXByYmIyIGByEHIwYXMwcjHgIzMjY3FwYGAWtHaD8MVRQ9AgJRFEIOTGo7R3cfMBRVRk5sEAEMFPwEBNEUtws0UTZIVxYvH3oNQXRNJxkxGSdWdDtOSxI0R2duJzEyJztgN0cxEkxKAAEAZ//0AisCqQA+AAAXJz4DNTQmJyM1MyYmNTQ2NjMyFhcHJiYjIgYGFRQWFzMVIxYWFRQGBzY2MzIWFjMyNjcXBgYjIiYmIyIGexIOKy0eCw1uWxMZMVc6U2oOPA5JNR1DLx0S2MYOBycmCxMIHzpBKBQmJQ8oMhEmPTwnHzoKJwcgMD4kFzsiJytEIzVKJ0s+DDcuEjEwI0crJyYyEzlKGAUCFBQKDSsQCxMUEQAAAQA1AAACQwKcABcAACE1IzUzNSM1MwMzEzMTMwMzFSMVMxUjFQEfoqKim+M8ygTJO+KZn5+fXCdiJwGQ/poBZv5wJ2InXAD//wEIANMBcAE7AgcA6gAAAN8AAQAuAAACSgKcAAMAADMBMwEuAdRI/iwCnP1kAAEARAAAAjQB8AALAAAhNSM1MzUzFTMVIxUBI9/fMt/f3zLf3zLfAAABAEQA4QI0ARMAAwAANzUhFUQB8OEyMgABAHEALQIHAcMACwAANyc3JzcXNxcHFwcnlCOoqCOoqCOoqCOoLSOoqCOoqCOoqCOoAAMARAAcAjQB1QADAA8AGwAANzUhFQciJjU0NjMyFhUUBgMiJjU0NjMyFhUUBkQB8PgYISEYGCAgGBghIRgYICDfMjLDIRgXISEXGCEBSB8YGCIiGBgfAAACAEQAhwI0AW0AAwAHAAATNSEVBTUhFUQB8P4QAfABOzIytDIyAAEARAAAAjQB8AATAAAzNyM1MzchNSE3MwczFSMHIRUhB29fiq1b/vgBK1w9XIirWwEG/tdehzKCMoODMoIyhwABAFUACQIjAeYABgAANzUlJTUFFVUBh/55Ac4JPLKzPNYxAAABAFUACQIjAeYABgAAJSU1JRUFBQIj/jIBzv55AYcJ1jHWPLOyAAIAWgAAAh4B4wAGAAoAADc1JSU1BRUBNSEVWgF2/ooBxP48AcRkPIKEPacy/vY1NQAAAgBaAAACHgHjAAYACgAAJSU1JRUNAjUhFQIe/jwBxP6KAXb+PAHEZKYypz2EgqA1NQACAE4AAAIqAfAACwAPAAAlNSM1MzUzFTMVIxUFNSEVASPV1TLV1f75AdxkrTKtrTKtZDU1AAACAEsAZwItAaAAFwAvAAA3JzY2MzIeAjMyNjcXBgYjIi4CIyIGJyc2NjMyHgIzMjY3FwYGIyIuAiMiBnwxBzo6Hj8+OxkhIgQxBzo6Hj8+OxkhIgQxBzo6Hj8+OxkhIgQxBzo6Hj8+OxkhImcKMT4UGRQlIgoxPhQZFCWYCjE+FBkUJSIKMT4UGRQlAAEASABsAjABfgAFAAAlNSE1IREB9/5RAehs3TX+7gAAAQBKAMQCLAFDABcAADcnNjYzMh4CMzI2NxcGBiMiLgIjIgZ7MQc6Oh4/PjsZISIEMQc6Oh4/PjsZISLECjE+FBkUJSIKMT4UGRQlAAEAZwE3AhECnAAGAAATEzMTIwMDZ7o2ujqbmwE3AWX+mwEu/tIAAwANAG4CawGSABcAJQAzAAA3IiY1NDYzMhYXNjYzMhYVFAYjIiYnBgYnMjY2Ny4CIyIGFRQWITI2NTQmIyIGBgceApVDRUVDMk4nJ04yQ0VFQzJOJydOMhclLCEhLCUXJzAwAXUnMDAnFiYsISEsJm5TPz9TPSoqPVM/P1M9Kio9MQ8qKCgqDzonJzo6Jyc6DyooKCoPAAABAJr/VAHfAqoAJwAAFyImNTQ2MzIWFRQHPgI1Ez4CMzIWFRQGIyImNTQ3IgYGBwMUBgbkIycZFRYaAwgSDwQBIDQeIycZFRYaAwcTDgEEIDSsHxYSGhoWCAgBDiopAiFMTBofFhIaGhYJBw8qKf3fS00aAAEAW/9eAh0CnAAHAAAXESERIxEhEVsBwjn+r6IDPvzCAwD9AAAAAQBa/14CHgKcAAsAABc1EwM1IRUhEwMhFVr6+gHE/n34+AGDojgBZwFnODj+mf6ZOAABAEb/XgJaApwACAAABQMjNTMTEzMDASiLV4CD1jvuogFPNP7EAvf8wgACAFf/9AIhAqgAHQAtAAAFIi4CNTQ+AjMyFhcuAwc1Mh4DFRQOAicyNjY1NCYmIyIGBhUUFhYBQCdRRispQ1AmPl4TCERhai1liVQsDy9ITCIoTzU1TygnUDU1UAwdPWJGRWE8HDo1SmE1EwMzMFJpdDlacTsWMSdbTUxaKChaTE1bJwAFABD/8gJoAqoADwAbAB8ALwA7AAATIiYmNTQ2NjMyFhYVFAYGJzI2NTQmIyIGFRQWAwEzAQUiJiY1NDY2MzIWFhUUBgYnMjY1NCYjIgYVFBamK0MoKEMrK0MoKEMrKjs7Kio7OxIBbzX+kQEzKkQoKEQqK0MoKEMrKjs7Kio7OwF8KEUqKkQpKUQqKkUoMDwrKzw8Kys8/lQCnP1kDihFKipFKChFKipFKDA8Kys8PCsrPAAHABz/8gJcAqoADwAbACsANwBHAFMAVwAAEyImJjU0NjYzMhYWFRQGBicyNjU0JiMiBhUUFhMiJiY1NDY2MzIWFhUUBgYnMjY1NCYjIgYVFBYFIiYmNTQ2NjMyFhYVFAYGJzI2NTQmIyIGFRQWJTUlFaQlPiUlPiUmPSUlPSYnNTUnJzU1JyU+JSU+JSY9JSU9Jic1NScnNTUBVyU+JSU+JSY9JSU9Jic1NScnNTX+dAI2AZwkPiUmPSQkPSYlPiQsNiUmNTUmJTb+KiQ+JSY9JCQ9JiU+JCw2JSY1NSYlNiwkPiUmPSQkPSYlPiQsNiUmNTUmJTbqMMswAAACAGv/wQINArgAAwAHAAAFAxMTAxMDAwE90tLQ0JSUlj8BewF8/oT+9wEJAQr+9gACAMACVwG4Aq8ACwAXAAABIiY1NDYzMhYVFAYjIiY1NDYzMhYVFAYBjBIaGhISGhqyEhoaEhIaGgJXGhISGhoSEhoaEhIaGhISGgD//wDAAuEBuAM5AgcBQAAAAIoAAQEPAlUBaQKvAAsAAAEiJjU0NjMyFhUUBgE8EhsbEhIbGwJVGhMTGhoTExoAAAEBDwLhAWkDOwALAAABIiY1NDYzMhYVFAYBPBIbGxISGxsC4RoTExoaExMaAAABAQwCVwFsArcACwAAASImNTQ2MzIWFRQGATwTHR0TFBwcAlcdExQcHBQTHQAAAQD3AjkBggK4AAsAAAEnJiY1NDYzMhYXFwFUORQQDgwMEgtIAjkzExINCw8RDmAAAQDxAuMBhwNHAAsAAAEnJiY1NDYzMhYXFwFWOhgTEAoKEQ5TAuMiDg8NDAwLDUwAAQD3AjkBggK4AAsAABM3NjYzMhYVFAYHB/dICxIMDA4QFDkCOWAOEQ8LDRITMwAAAQDxAuMBhwNHAAsAABM3NjYzMhYVFAYHB/FTDhEKCw8TGDoC40wNCwwMDQ8OIgAAAgC6AjkBvwK3AAsAFwAAEzc2NjMyFhUUBgcHMzc2NjMyFhUUBgcHukcLEgwMCxAUOVRHCxIMDAsQFDkCOWAOEA0LDBMTNGAOEA0LDBMTNP//ALoC5QG/A2MCBwFJAAAArAABARMCHAFmAs4ACwAAATc2NjMyFhUUBgcHARMUBA4QChMFBicCHIEZGAsPBRERcQABAMACQAG4AqcACwAAEzc2NjMyFhcXIycHwFALFQ0MFQpQN0ZEAkBSCwoKC1I8PP//AMAC4wG4A0oCBwFMAAAAowABAMACOgG4AqEACQAAASInJzMXNzMHBgE9GBVQN0RGN1AVAjoVUjw8UhUA//8AwALeAbgDRQIHAU4AAACkAAEAyQI8Aa8CnwANAAABIiYnMxYWMzI2NzMGBgE8Lj0IKAUmICAlBigIPAI8OygVJSUVKDsA//8AyQLjAa8DRgIHAVAAAACnAAIA3QI9AZsC+wAPABsAAAEiJiY1NDY2MzIWFhUUBgYnMjY1NCYjIgYVFBYBPBorGhorGhsrGRkrGxcgIBcWISECPRorGhorGhorGhorGighFhcgIBcWIQACAN0ChQGbA0MADwAbAAABIiYmNTQ2NjMyFhYVFAYGJzI2NTQmIyIGFRQWATwaKxoaKxobKxkZKxsXICAXFiEhAoUaKxoaKxoaKxoaKxooIRYXICAXFiEAAQCxAkABxwKUABsAAAEiJiYjIgYHIzY2MzIWFjMyNjc2NjMyFhUUBgYBehcoJBIRGQIoCDEdGCUiExARBwULBgYKECICQBQUFBMtIxMUEAsIBwgLByAa//8AsQLpAccDPQIHAVQAAACpAAEAvQJfAbsCiwADAAATNTMVvf4CXyws//8AvQLyAbsDHgIHAVYAAACTAAEA/f8YAXv/zAAPAAAFJz4CNTQmJzcWFhUUBgYBGx4RJRsRFCsUEx0s6BkCDh8ZEyIMEhEjFyAuGQABAOj/TwGRABQAIAAABSImJzcWFjMyNjU0JiMiBiMiJjc3Fwc2NjMyFhYVFAYGATkTLREOFR0PHBQSFwsXCAsFBy4eIwoRBBUbDhInsQ4KGQoHHAoOEAYSCksONgICEBkODyUaAAABAPv/WAF9ABEAFQAABSImJjU0NjY3FwYGFRQWMzI2NxUGBgFNFyYVFSsfIygtHhUKEQcPFagSIRcZJyAPEQ0tGhYVBAMnBgMAAAEA+/9YAX0ACgAVAAAFIiYmNTQ2NxcOAhUUFjMyNjcVBgYBTRcmFS4iMhonFB8TCRIIDxWoEiEXJTIRCggbIBEXFAQDJwYD//8AwAJXAbgCrwAGAUAAAP//AQ8CVQFpAq8ABgFCAAD//wD3AjkBggK4AAYBRQAA//8A9wI5AYICuAAGAUcAAP//ALoCOQG/ArcABgFJAAD//wDAAkABuAKnAAYBTAAAAAEAuAJ0AcACpwADAAATNSEVuAEIAnQzMwD//wDAAjoBuAKhAAYBTgAA//8AyQI8Aa8CnwAGAVAAAP//AN0CPQGbAvsABgFSAAD//wCxAkABxwKUAAYBVAAA//8AvQJfAbsCiwAGAVYAAP//AOj/TwGRABQABgFZAAD//wD7/1gBfQARAAYBWgAAAAMAQP/zAjgCqwAPABoAJgAABSImJjU0NjYzMhYWFRQGBicyNjcBBgYVFBYWAwE2NjU0LgIjIgYBPE1xPj5xTU1xPj5xTSlGGv7WEhM0WlABKhETHjVJKihGDU+bcnOaT0+ac3KbTzAeIQG0I2NBbYQ7Ahr+TSNiQFJyRyEeAAEAeAAAAgoCnAANAAAzNTMRIzUyNjY3MxEzFXq0tjtQMgwjpjAB5iYQKSf9lDAAAAEAYgAAAigCqAAaAAAzNT4CNTQmIyIGByc2NjMyFhYVFA4CByEVYoWjTE1DN1gOOBFvVjpZNDtlfEIBeDFmmYFAOk09RBFIWCpROz94cWcvNAABAGX/9AImAqgAMQAABSImJic3FhYzMjY2NTQmJiMjNTMyNjY1NCYmIyIGByc+AjMyHgIVFAYHFhYVFAYGAUFKXC8HNgtOTTJPLTJTMhkZIkkzKEAlRlQKNQs1WT8oRzYfOkBLSUBoDDJOKQo2TSRCLDRCIDAXOzQnNBtMMw4pSi4VKz4pNlcPDGM+QFgsAAACAD8AAAI6ApwACgAOAAAhNSE1ATMRMxUjFSUhESMBjv6xAUY/dnb+rwEbBLI+Aaz+SDKy5AFyAAEAaP/0Ah8CnAAjAAAFIiYmJzcWFjMyNjY1NCYmIyIGBycTIRUhBzY2MzIWFhUUBgYBQEhZLwg1C0tQK0wvMUwnMEwXMykBW/7RHRpLLztgOUBlDDFNKww6SytSOj9QJiwlDQFQNOshIjdmSExnNAACAGf/9AIpAqgAHgAqAAAFIiYmNTQ+AjMyFhcHJiYjIgYGBzY2MzIWFhUUBgYnMjY1NCYjIgYVFBYBS0pmNBg4X0ZFWRM0D0QuPFMtAxRhRz9fNjVjRUtbW0pNWloMR4dhSotvQT8rFCMrVI5YM0Q5ZUQ5ZkAwYkxQY2RPTGIAAAEAZgAAAhoCnAAGAAAzASE1IRUBvQEm/oMBtP7fAmg0NP2YAAMAUv/1AiYCqwAbACsAOwAABSImJjU0NjcmJjU0NjYzMhYWFRQGBxYWFRQGBicyNjY1NCYmIyIGBhUUFhYTMjY2NTQmJiMiBgYVFBYWATxGaTtJPiMqL1AxMVAvKiM+STtpRjdQLCxQNzZRLCxRNiM5IiI5IyM5IiI5CzVZNj1gFxdLLTFPLy9PMS1LFxdgPTZZNTAoQykpQygoQykpQygBWCI5IyM5IiI5IyM5IgAAAgBJAAACIwKrABQAJAAAMzcGBi4CNTQ2NjMyFhYVFAYGBwMDMjY2NTQmJiMiBgYVFBYW/ZInWFZHKkBrQkJsPxAdFKcFM1MxMVMzM1MyMlPlEwIgPVk4Qmw/P2xCJDg0IP7yAQYyUzMzUzIyUzMzUzIAAwBA//MCOAKrAA8AIQAtAAAFIiYmNTQ2NjMyFhYVFAYGJzI2NjU0LgIjIg4CFRQWFjciJjU0NjMyFhUUBgE8TXE+PnFNTXE+PnFNOVk0HjVJKipJNR40WjgWHh4WFh4eDU+bcnOaT0+ac3KbTzA7hG1SckchIUdyUm2EO/geFhYeHhYWHgABADUAAAJDApwAAwAAMwEzATUB1Dr+LAKc/WQAAwA/AAACPAKcAAgADAAkAAATNSM1MjY3MxEDATMBMzU+AjU0JiMiBgcnNjYzMhYVFAYHMxWDRBoqBytnAW81/pHbOEcjGxcTIAQwCTcqLDZLQpYBbeUgExf+0f6TApz9ZCgtPTAZFxoXGg4jKC4mLlIyLgAEAFsAAAJGApwACAAMABcAGwAAEzUjNTI2NzMRAwEzASE1IzU3MxUzFSMVJzM1I59EGioHK2cBbzX+kQFFnJwxMTGXZgIBbeUgExf+0f6TApz9ZEEsw8ItQW59AAQAIwAAAlUCqAADAA4AEgA7AAAzATMBITUjNTczFTMVIxUnMzUjJSImJzcWFjMyNjU0Jgc1FjY1NCYjIgYHJzY2MzIWFhUUBgcWFhUUBgZ5AW81/pEBRZycMTExl2YC/qAsOAoxBR8aGSIpMSwnHxQXHggvCzkrGC4dGRMaGR8yApz9ZEEsw8ItQW59hSgfDhQZGhcdGAIrAxoXFhUWFQ4gJRAkHRYjCgonFyApEwAAAQEGAWwBkAMLAAgAAAERIzUyNjczEQFgWh82CisBbAFQFh4b/mEAAAEArgFsAcsDEgAXAAATNT4CNTQmIyIGByc2NjMyFhUUBgczFa5KYS8qIRkwBTQIRDk4RWpn3wFsKT9eTiUgJR4rCC86PS88hE8rAAABAK8BZQHKAxIAKgAAASImJzcWFjMyNjU0JiYHNRY2NjU0JiMiBgcnNjYzMhYWFRQGBxYWFRQGBgE6PUQKLwgqKSQ7KT4hIDklMh4mLAkvC0o5GjwqIxwlIihCAWU9KgkcLCgnKCgLBCcDCSQiJR8iIwksOBUxKRwwEA85HCs4GwA=) format("truetype")}#__docusaurus-base-url-issue-banner-container,.call-to-action .call-to-action-icon,.docSidebarContainer_YfHR,.footer.footer--dark,.hide-desktop,.homepage .navbar__search,.sidebarLogo_F_0z,.themedComponent_mlkZ,.toggleIcon_g3eP,html[data-announcement-bar-initially-dismissed=true] .announcementBar_mb4j{display:none}.ds-dropdown-menu{background-color:var(--bg-color-code)}.navbar__search-input{font-size:var(--fontSizes-s);width:90%}.container .col article{padding:1rem 1rem 1rem 2rem}.theme-doc-sidebar-item-link-level-2{font-size:89%}body:not(.homepage) .main-wrapper{margin:0 auto;max-width:92rem;width:100%}.theme-doc-sidebar-menu{font-size:var(--fontSizes-s);font-weight:500}.menu__list-item .menu__link{padding-left:60px}.menu__list .navbar__item{display:block;margin-left:60px;margin-top:20px;padding-left:0}.menu__list-item-collapsible{font-weight:600}.menu__link--sublist-caret:after{background:var(--ifm-menu-link-sublist-icon) 50%/1.5rem 1.5rem}.footer{border-color:#fff;border-top:solid #fff;border-width:1px}.button,.button.light{border-style:solid;border-width:1px}.card{background-color:var(--ifm-navbar-background-color)}article .img-padding{background-color:#fff;border-radius:4px;padding:5px}article .img-in-text-right{background-color:#fff;border-radius:4px;float:right;margin:8px 8px 15px 30px}article .img-radius{background-color:#fff;border-radius:10px}.dropdown-content-sync-integration,.left{float:left}.right{float:right}.third{width:calc(33.33% - 20px)}.fifth,.padding-side-10-12,.third{padding-left:10px;padding-right:10px}.fifth{width:calc(20% - 20px)}.block h4,.full-width{width:100%}.centered{align-items:center;display:flex;flex-direction:column;justify-content:center}.pseudo-hidden{display:block;height:1px;overflow:hidden;width:1px}.underline{position:relative;z-index:5}h1 .underline{font-weight:400}.block h1 b,.block h2 b,.markdown h1{font-weight:800}.underline:after{background:var(--color-top);bottom:0;content:"";height:30%;left:0;opacity:.4;position:absolute;width:100%;z-index:-1}.block.dark,.block.fifth .box,.dark{background-color:var(--bg-color-dark)}.button{background-color:var(--color-top);border-color:var(--color-top);border-radius:8px;box-sizing:initial;color:#fff;cursor:pointer;font-size:1rem;font-weight:700;line-height:1.2;margin-right:20px;min-width:3rem;outline:#0000 solid 2px;outline-offset:2px;padding:10px 18px;text-align:center;transition:.15s ease-in-out;-webkit-user-select:none;user-select:none;will-change:box-shadow text-decoration transform}.navbar-icon,.price-calculator #price-calculator-submit{margin-right:0}.button.button-empty{background-color:unset;border-color:#fff;border-style:solid;cursor:pointer}.button.button-empty:hover{color:#fff}.button.light{background-color:var(--bg-color);border-color:var(--color-top)}#price-calculator-result a,.block.sixth a,.button.light:hover,.footer-policy div a:hover,.observe-code-example-tabs .ant-tabs-tab-btn,.package a,.trophy.twitter,footer a:visited{color:#fff}.block h1,.block h2,h2{font-size:var(--fontSizes-5xl)}.block h1,.block h2{letter-spacing:1.5px;word-spacing:-4px}h3{font-size:var(--fontSizes-xl)}.block.first.hero h1 b,.footer-nav-links a:hover,.pagination-nav a:hover,b{color:var(--color-top)}p{margin:0 0 var(--ifm-paragraph-margin-bottom);font-size:var(--fontSizes-m)}.markdown h1{color:#fff;font-size:var(--fontSizes-3xl)}.markdown h2{color:#fff;font-size:var(--fontSizes-xl);font-weight:700}.markdown h3{font-size:1.25rem;font-weight:600;margin-bottom:20px}.breadcrumbs__item--active .breadcrumbs__link,.call-to-action a b,.markdown b,.pagination-nav a,.table-of-contents__link,body,p b{color:var(--fontColor-offwhite)}.markdown a,.underline-link,p a,td a{color:#fff;font-weight:600;text-decoration-color:var(--color-top)!important;text-decoration-thickness:10%;text-underline-offset:4px;text-underline-position:from-font}.markdown a:hover,p a:hover{color:var(--color-top);text-decoration-color:var(--color-top)}body{font-weight:500}.table-of-contents{font-size:var(--fontSizes-xs)}.table-of-contents__link--active{color:var(--color-top);font-weight:500}.navbar{align-items:flex-start;border-bottom:1px solid var(--ifm-toc-border-color);display:flex;gap:10px;height:auto;justify-content:center;padding:16px 32px;z-index:10}.navbar .navbar__inner{align-items:center;display:flex;justify-content:space-between;padding:10px;width:1216px}.navbar .navbar__items--right{align-items:center;flex-direction:row-reverse;gap:20px;justify-content:center;margin-left:10%;padding:0 16px}.navbar__logo{aspect-ratio:106.93/38;height:38px}.navbar__items a{color:var(--fontColor-white);font-weight:500}.navbar__link:hover{color:#fff;text-decoration-color:var(--color-top);text-decoration-thickness:1.25px;text-underline-offset:4px}.navbar .navbar__brand{margin-left:10px;margin-right:28%}.navbar .navbar__brand b{font-size:var(--fontSizes-xl);font-weight:600;letter-spacing:-.04rem}.navbar-icon{height:30px;margin-left:8px;opacity:.9;padding:0;width:30px}.navbar__toggle{order:2;position:absolute;right:10px}.navbar-icon:hover,.star-at-github:hover{transform:scale(1.1)}.beating-first.animation,.beating-second.animation,.beating.animation{transform-origin:center center;will-change:transform}.navbar-icon-discord{background:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCAyMyAxOSI+PGcgY2xpcC1wYXRoPSJ1cmwoI2EpIj48cGF0aCBmaWxsPSIjZmZmIiBkPSJNMTkuNSAyLjNBMTkgMTkgMCAwIDAgMTQuNyAxbC0uNiAxcS0yLjYtLjQtNS4yIDBMOC4zLjlxLTIuNS4zLTQuOCAxLjRjLTMgNC41LTMuOCA4LjgtMy40IDEzcTIuNyAyLjEgNS44IDMgLjgtMSAxLjMtMmwtMi0xcS4zIDAgLjUtLjNhMTQgMTQgMCAwIDAgMTEuNiAwbC41LjQtMiAuOSAxLjMgMnEzLS45IDUuOC0zIC42LTcuMy0zLjQtMTNNNy43IDEyLjdjLTEuMiAwLTItMS0yLTIuMlM2LjQgOCA3LjYgOHExLjguMiAyIDIuNGMwIDEuMi0uOSAyLjItMiAyLjJtNy42IDBxLTEuOC0uMi0yLTIuMmMwLTEuMy45LTIuNCAyLTIuNHEyIC4yIDIgMi40YzAgMS4yLS44IDIuMi0yIDIuMiIvPjwvZz48ZGVmcz48Y2xpcFBhdGggaWQ9ImEiPjxwYXRoIGZpbGw9IiNmZmYiIGQ9Ik0wIC45aDIzdjE3LjRIMHoiLz48L2NsaXBQYXRoPjwvZGVmcz48L3N2Zz4=) 50%/contain no-repeat}.navbar-icon-github{background:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNTYgMjU2Ij48cGF0aCBmaWxsPSIjZmZmIiBkPSJNMTUgM2ExMiAxMiAwIDAgMC0zIDIzLjZWMjRoLTEuNXEtMS4zIDAtMi0xYy0uMy0uNy0uNC0xLjktMS4zLTIuNXEtLjMtLjUuMi0uNS45LjMgMS42IDEuMmMuNS43LjcuOCAxLjYuOGwxLjctLjFxLjUtMS40IDEuNi0yYy00LS40LTYtMi40LTYtNVE4IDEzIDkuNCAxMS41Yy0uMi0xLS42LTIuOS4xLTMuNiAxLjggMCAzIDEuMiAzLjIgMS41YTkgOSAwIDAgMSA1LjggMGMuMy0uMyAxLjQtMS41IDMuMi0xLjUuNy43LjMgMi43IDAgMy42UTIzIDEzIDIzIDE0LjhjMCAyLjctMiA0LjctNS45IDUuMSAxLjEuNiAxLjkgMi4yIDEuOSAzLjR2M0ExMiAxMiAwIDAgMCAxNSAzIiBmb250LWZhbWlseT0ibm9uZSIgZm9udC1zaXplPSJub25lIiBmb250LXdlaWdodD0ibm9uZSIgc3R5bGU9Im1peC1ibGVuZC1tb2RlOm5vcm1hbCIgdGV4dC1hbmNob3I9Im5vbmUiIHRyYW5zZm9ybT0ic2NhbGUoOSkiLz48L3N2Zz4=) 50%/contain no-repeat}.header-space{height:calc(var(--space-between-blocks) + 110px);width:100%}.content{margin-left:auto;margin-right:auto;max-width:min(1120px,94%);width:100%}.slick-slider{padding-bottom:50px}.slider-content{background:var(--bg-color-dark);display:flex;flex-direction:column;padding:16px}.slider-content h3{font-size:1.2em;font-weight:400;line-height:28px}.slider-content .slider-profile .slider-info{margin-left:16px}.slider-content .slider-profile .developer b{color:#fff;font-weight:800}.device{align-items:center;background-repeat:no-repeat;display:flex;flex-direction:column}.device .beating-color{background-color:#ed168f;transition:background-color .1s linear}.device.desktop .beating-color{align-items:center;border-radius:9% 9% 0 0/19% 19% 0 0;display:flex;height:53.1%;justify-content:center;margin-left:auto;margin-right:auto;margin-top:2.57%;width:95.1%}.device.desktop .beating.logo{width:42%}.device.server{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiIHZlcnNpb249IjEuMiIgdmlld0JveD0iMCAwLjQgNjAgNTkuMSI+PHBhdGggZmlsbD0iI2ZmZiIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNLjggMjEuNWg1OC40Yy41LjcuOCAxLjYuOCAyLjZ2MTEuOGMwIDEtLjMgMS45LS44IDIuNkguOGMtLjUtLjctLjgtMS42LS44LTIuNlYyNC4xYzAtMSAuMy0xLjkuOC0yLjZtNTAuMiAxMGMwIC42LjQgMSAxIDFzMS0uNCAxLTEtLjQtMS0xLTEtMSAuNC0xIDFtLTItM2MwIC42LjQgMSAxIDFzMS0uNCAxLTEtLjQtMS0xLTEtMSAuNC0xIDFtLTIgM2MwIC42LjQgMSAxIDFzMS0uNCAxLTEtLjQtMS0xLTEtMSAuNC0xIDFtLTItM2MwIC42LjQgMSAxIDFzMS0uNCAxLTEtLjQtMS0xLTEtMSAuNC0xIDFtLTIgM2MwIC42LjQgMSAxIDFzMS0uNCAxLTEtLjQtMS0xLTEtMSAuNC0xIDFtLTItM2MwIC42LjQgMSAxIDFzMS0uNCAxLTEtLjQtMS0xLTEtMSAuNC0xIDFtLTIgM2MwIC42LjQgMSAxIDFzMS0uNCAxLTEtLjQtMS0xLTEtMSAuNC0xIDFtLTItM2MwIC42LjQgMSAxIDFzMS0uNCAxLTEtLjQtMS0xLTEtMSAuNC0xIDFtLTIgM2MwIC42LjQgMSAxIDFzMS0uNCAxLTEtLjQtMS0xLTEtMSAuNC0xIDFtLTItM2MwIC42LjQgMSAxIDFzMS0uNCAxLTEtLjQtMS0xLTEtMSAuNC0xIDFNNiAzMGMwIDIuNSAyIDQuNSA0LjUgNC41czQuNS0yIDQuNS00LjUtMi00LjUtNC41LTQuNVM2IDI3LjUgNiAzME0uOCAxOS41Yy0uNS0uNy0uOC0xLjYtLjgtMi42VjUuMUMwIDIuNiAyLjEuNSA0LjYuNWg1MC44QzU3LjkuNSA2MCAyLjYgNjAgNS4xdjExLjhjMCAxLS4zIDEuOS0uOCAyLjZ6bTUwLjItN2MwIC42LjQgMSAxIDFzMS0uNCAxLTEtLjQtMS0xLTEtMSAuNC0xIDFtLTItM2MwIC42LjQgMSAxIDFzMS0uNCAxLTEtLjQtMS0xLTEtMSAuNC0xIDFtLTIgM2MwIC42LjQgMSAxIDFzMS0uNCAxLTEtLjQtMS0xLTEtMSAuNC0xIDFtLTItM2MwIC42LjQgMSAxIDFzMS0uNCAxLTEtLjQtMS0xLTEtMSAuNC0xIDFtLTIgM2MwIC42LjQgMSAxIDFzMS0uNCAxLTEtLjQtMS0xLTEtMSAuNC0xIDFtLTItM2MwIC42LjQgMSAxIDFzMS0uNCAxLTEtLjQtMS0xLTEtMSAuNC0xIDFtLTIgM2MwIC42LjQgMSAxIDFzMS0uNCAxLTEtLjQtMS0xLTEtMSAuNC0xIDFtLTItM2MwIC42LjQgMSAxIDFzMS0uNCAxLTEtLjQtMS0xLTEtMSAuNC0xIDFtLTIgM2MwIC42LjQgMSAxIDFzMS0uNCAxLTEtLjQtMS0xLTEtMSAuNC0xIDFtLTItM2MwIC42LjQgMSAxIDFzMS0uNCAxLTEtLjQtMS0xLTEtMSAuNC0xIDFNNiAxMWMwIDIuNSAyIDQuNSA0LjUgNC41czQuNS0yIDQuNS00LjUtMi00LjUtNC41LTQuNVM2IDguNSA2IDExTTU5LjIgNDAuNWMuNS43LjggMS42LjggMi42djExLjhjMCAyLjUtMi4xIDQuNi00LjYgNC42SDQuNmMtMi41IDAtNC42LTIuMS00LjYtNC42VjQzLjFjMC0xIC4zLTEuOS44LTIuNnpNMTUuMSA0OWMwLTIuNS0yLTQuNS00LjUtNC41cy00LjUgMi00LjUgNC41IDIgNC41IDQuNSA0LjUgNC41LTIgNC41LTQuNW0yMC0xLjVjMC0uNi0uNS0xLTEtMS0uNiAwLTEgLjQtMSAxcy40IDEgMSAxYy41IDAgMS0uNCAxLTFtMiAzYzAtLjYtLjUtMS0xLTEtLjYgMC0xIC40LTEgMXMuNCAxIDEgMWMuNSAwIDEtLjQgMS0xbTItM2MwLS42LS41LTEtMS0xLS42IDAtMSAuNC0xIDFzLjQgMSAxIDFjLjUgMCAxLS40IDEtMW0yIDNjMC0uNi0uNS0xLTEtMS0uNiAwLTEgLjQtMSAxcy40IDEgMSAxYy41IDAgMS0uNCAxLTFtMi0zYzAtLjYtLjUtMS0xLTEtLjYgMC0xIC40LTEgMXMuNCAxIDEgMWMuNSAwIDEtLjQgMS0xbTIgM2MwLS42LS41LTEtMS0xLS42IDAtMSAuNC0xIDFzLjQgMSAxIDFjLjUgMCAxLS40IDEtMW0yLTNjMC0uNi0uNS0xLTEtMS0uNiAwLTEgLjQtMSAxcy40IDEgMSAxYy41IDAgMS0uNCAxLTFtMiAzYzAtLjYtLjUtMS0xLTEtLjYgMC0xIC40LTEgMXMuNCAxIDEgMWMuNSAwIDEtLjQgMS0xbTItM2MwLS42LS41LTEtMS0xLS42IDAtMSAuNC0xIDFzLjQgMSAxIDFjLjUgMCAxLS40IDEtMW0yIDNjMC0uNi0uNS0xLTEtMS0uNiAwLTEgLjQtMSAxcy40IDEgMSAxYy41IDAgMS0uNCAxLTEiLz48cGF0aCBmaWxsPSIjZmZmIiBkPSJtMyAxMCA2IDcgNiAxIDMtNmMuNC0xLjItMi03LTItNy0xLjEtLjUtNS0xLTUtMUw1IDZtLTIgNCA2IDcgNiAxIDMtNmMuNC0xLjItMi03LTItNy0xLjEtLjUtNS0xLTUtMUw1IDZNMiA0OWw2IDcgNiAxIDMtNmMuNC0xLjItMi03LTItNy0xLjEtLjUtNS0xLTUtMWwtNiAybS0yIDQgNiA3IDYgMSAzLTZjLjQtMS4yLTItNy0yLTctMS4xLS41LTUtMS01LTFsLTYgMk0zIDI5bDYgNyA2IDEgMy02Yy40LTEuMi0yLTctMi03LTEuMS0uNS01LTEtNS0xbC02IDJtLTIgNCA2IDcgNiAxIDMtNmMuNC0xLjItMi03LTItNy0xLjEtLjUtNS0xLTUtMWwtNiAyIi8+PC9zdmc+);bottom:0;height:45%;width:23%}.dark .neumorphism-circle-m,.dark .neumorphism-circle-s,.slider-content .slider-profile img.slider-logo-black{background:var(--bg-color-dark)}.device.server .beating-color{border-radius:50%;height:18px;left:17%;margin-left:-9px;margin-top:-9px;position:absolute;width:18px}.device.server .beating-color.one{top:17%}.device.server .beating-color.two{top:50%}.device.server .beating-color.three{top:84%}.block{background-color:var(--bg-color);min-height:250px;overflow:hidden;padding-bottom:46px;padding-top:50px;position:relative;width:100%}.block.trophy-before{padding-top:120px}.block.trophy-after{padding-bottom:80px}.block.first .button{float:left;margin-bottom:10px;margin-left:3px;margin-right:5px;min-width:100px}.block .inner{display:flex;gap:20px;justify-content:center;overflow:hidden}.justify-center-mobile{justify-content:right}.grid-3{grid-template-columns:auto auto auto}.framework-icon{flex-shrink:0;height:40px;width:40px}.font-20-14,.font-20-16{font-size:20px}.font-16-14{font-size:16px}.gap-24-20{gap:24px}.height-26-21{height:26px}.margin-left-10-0,.observe-code-example-tabs .ant-tabs-tab{margin-left:10px}.margin-right-8{margin-right:8px}.margin-right-6-8{margin-right:6px}.padding-top-64-46{padding-top:64px}.padding-side-16-12{padding-left:16px;padding-right:16px}.width-140-120{width:140px}.margin-bottom-16-10{margin-bottom:16px}.margin-bottom-12{margin-bottom:12px}.margin-right-10-6{margin-right:10px}.padding-right-20-0{padding-right:20px}.font-30-20{font-size:30px}.gap-30-16{gap:30px}.min-width-180-135{min-width:180px}.flex-end-center{justify-content:end}.flex-start-center{justify-content:start}.margin-top-125-0{margin-top:125px}.padding-button{padding:6px 25px}.block .half.left{flex:0.9}.block .half.right{flex:1.12}.block .centered .inner{display:block;justify-content:center;overflow:hidden}.block.first.hero h1{margin-left:auto;margin-right:auto;width:88%}.block.first.hero .text{color:#b5b5b5;font-size:var(--fontSizes-l);font-weight:400;letter-spacing:-.05rem;line-height:150%;margin-bottom:0;text-align:left;white-space:pre-line;width:80%}.block.first.hero .hero-action{flex:1 1 auto;max-width:300px;text-align:center}.block.first.hero .buy-premium-hero{display:inline-block;margin-left:20px;margin-top:7px}.block.reviews p{max-width:900px}.block.reviews .inner{max-width:1224px}.block.second .inner{display:flex;margin-top:10px}.content-canvas{aspect-ratio:2/1;max-width:540px;transform:scale(1);width:100%}.block.replication .replication-icons{height:515px;margin-left:10%;margin-top:0;position:relative;width:90%}.block.replication .replicate-logo{left:-60px;margin-left:50%;margin-top:-75px;position:absolute;top:50%;width:120px}.block.replication .replicate-graphql{margin-left:10%;margin-top:8%;position:absolute}.block.replication .replicate-firestore{margin-left:2%;margin-top:-47.5px;position:absolute;top:51%}.block.replication .replicate-supabase{margin-left:81%;margin-top:-47.5px;position:absolute;top:51%}.block.replication .replicate-rest{left:-35px;margin-left:20%;margin-top:-70px;position:absolute;text-align:center;top:83%}.block.replication .replicate-websocket{left:-35px;margin-left:50%;margin-top:-70px;position:absolute;text-align:center;top:93%}.block.replication .replicate-webrtc{left:80%;margin-left:-35px;margin-top:-70px;position:absolute;text-align:center;top:83%}.block.replication img.protocol{width:80px}.block.replication .neumorphism-circle-s img.protocol{width:40px}.block.offline-first{overflow:hidden;position:relative}.block.offline-first .offline-image-wrapper{left:46%;margin-left:-750px;position:absolute;top:-12%;transform:rotate(77deg);width:1500px}.block.offline-first p{margin-bottom:32px}.block.offline-first .offline-image{height:100%;transform-origin:center bottom;width:100%}ul.checked li{line-height:116%;padding-top:20px;text-align:left}ul.checked li,ul.checked li b{font-size:26px}ul.checked li:before{font-size:45px}.block.frameworks .content{position:relative}.block.frameworks h2{margin-top:50px}.block.frameworks p{padding-bottom:23px}.block.frameworks .circle{font-size:85%;position:absolute}.block.frameworks .circle img{height:46%;padding-bottom:3px}.block.frameworks .neumorphism-circle-s{margin-left:-35px}.block.frameworks .neumorphism-circle-m{margin-left:-47.5px}.block.frameworks .below-text{display:block;min-height:200px;position:relative;width:100%}.block.fifth .inner{width:624px}.block.fifth .box{border-radius:.75rem;box-sizing:initial;float:left;margin-right:20px;margin-top:20px;padding:12px 16px;width:calc(50% - 72px)}.block table,.block.fifth.dark .box,.block.sixth .buy-option-inner{background-color:var(--bg-color)}.block.fifth .box img{box-sizing:initial;float:left;margin-top:4px;padding-right:10px;width:20px}.block.fifth .box .label{float:left;margin-top:2px}.block.fifth .box .value{color:var(--color-top);float:right;font-weight:700;margin-inline-end:0;margin-top:2px;right:0}.block.sixth .content{box-sizing:initial}.block.sixth .buy-options{align-items:center;column-gap:10px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));row-gap:1em;width:100%}.block.sixth .buy-option{border-radius:6px;padding:3px}.block.sixth .buy-option-inner{border-radius:4px;box-sizing:initial;color:#fff;padding:10px;position:relative}.block.sixth .buy-option-inner h2{font-size:1.5em;height:50px;text-align:center;width:100%}.block.sixth .buy-option-title{padding-bottom:35px}.block.sixth .buy-option-inner .price{font-size:.8em;text-align:center;width:100%}.block.sixth .buy-option-features{margin-left:5%;width:90%}.block.sixth .buy-option-features p{font-size:1em;text-align:justify}.block.sixth .buy-option-action{border-radius:6px;bottom:8px;color:#fff;cursor:pointer;font-size:1.2rem;font-weight:700;left:10px;padding-bottom:15px;padding-top:15px;position:absolute;text-align:center;width:calc(100% - 20px)}.block.sixth .buy-option-features{font-size:1em;padding-bottom:50px}.block.sixth .buy-option-features li{padding-bottom:10px}.block.last .buttons{height:382px;margin-top:66px;position:relative}.block.last .buttons .button{display:inline;left:0;margin:0;position:absolute;top:0}.block.last .button.get-premium{border-radius:10px;font-size:37px;padding:10px 38px}.block table{border:1px solid #ffffff4d;border-radius:6px;font-size:120%;margin-top:20px;padding:0;width:80%}.neumorphism-circle-xl{box-shadow:5px 5px 10px #161c26,-5px -5px 10px #1e2432;height:130px;width:130px}.neumorphism-circle-m,.neumorphism-circle-xl{background:var(--bg-color);border-radius:50%;color:#fff;font-size:85%}.neumorphism-circle-m{box-shadow:5px 5px 10px #171c26,-5px -5px 10px #1d2432;height:95px;width:95px}.neumorphism-circle-s,.neumorphism-circle-xs{background:var(--bg-color);border-radius:50%;color:#fff;font-size:85%;height:70px;width:70px}.dark .neumorphism-circle-m{box-shadow:5px 5px 10px #14161e,-5px -5px 10px #1a1c28}.neumorphism-circle-s{box-shadow:3px 3px 6px #151a24,-3px -3px 6px #1f2634}.dark .neumorphism-circle-s{box-shadow:3px 3px 6px #13151d,-3px -3px 6px #1b1e29}.neumorphism-circle-xs{box-shadow:5px 5px 7px #171c26,-5px -5px 7px #1d2432}.trophy,.trophy.github{color:#eac54f}.bg-top{background-color:var(--color-top)}.bg-middle{background-color:var(--color-middle)}.bg-bottom{background-color:var(--color-bottom)}.hover-shadow-top:hover{box-shadow:2px 2px 6px var(--color-top),-2px -1px 10px var(--color-top)}.hover-shadow-middle:hover{box-shadow:2px 2px 10px var(--color-middle),-2px -1px 10px var(--color-middle)}.hover-shadow-bottom:hover{box-shadow:2px 2px 10px var(--color-bottom),-2px -1px 10px var(--color-bottom)}.bg-gradient-right-bottom{background:linear-gradient(to right bottom,var(--color-top),var(--color-middle),var(--color-bottom))}.bg-gradient-left-bottom{background:linear-gradient(to left bottom,var(--color-top),var(--color-middle),var(--color-bottom))}.bg-gradient-right-top{background:linear-gradient(to right top,var(--color-top),var(--color-middle),var(--color-bottom))}.bg-gradient-left-top{background:linear-gradient(to left top,var(--color-top),var(--color-middle),var(--color-bottom))}.bg-gradient-top{background:linear-gradient(to top,var(--color-top),var(--color-middle),var(--color-bottom))}.star-at-github{border-radius:40px;float:right;margin-top:8px;padding:3px;transition:.2s ease-in-out}.star-at-github .star-at-github-inner{background-color:var(--bg-color);border-radius:40px;padding:8px}.star-at-github .star-at-github-inner img{margin-left:3px;margin-right:6px;margin-top:3px;width:17px}.star-at-github .star-at-github-text{display:inline;float:right;margin-top:2px}.tilt-to-mouse{box-shadow:0 0 0 1px #0000;image-rendering:optimizeQuality;outline:#0000 solid 1px}.call-to-action-popup,.dropdown-content,.trophy{box-shadow:0 8px 12px 6px #00000026,0 4px 4px 0 #0000004d;left:50%}.enlarge-on-mouse,.tilt-to-mouse{will-change:transform}.beating.animation{animation:a}.beating-first.animation{animation:b}.beating-second.animation{animation:c}.beating-color{background-color:#ed168f;transition:background-color .4s linear;will-change:background-color}.trophy{align-items:center;background-color:var(--bg-color);border-radius:10px;border-style:solid;border-width:2px;box-sizing:initial;display:flex;height:40px;margin-top:-26.715px;padding:6px 10px 4px;position:absolute;transform:translateX(-50%);width:220px;z-index:9}.samp-wrapper,.trophy.discord,.trophy.github,.trophy.mongodb,.trophy.supabase{background-color:var(--bg-color-dark)}.trophy:hover{box-shadow:2px 2px 13px #eac54f,-2px -1px 14px #eac54f}.trophy img,.trophy svg{align-items:flex-start;aspect-ratio:1/1;display:flex;flex-direction:column;height:30px;margin-right:10px;margin-top:-4px;width:30px}.trophy .subtitle{font-size:12px;line-height:normal}.trophy .subtitle,.trophy .title{box-sizing:initial;font-style:normal;font-weight:500}.trophy .title{font-size:16px;line-height:25px}.trophy .valuetitle{box-sizing:initial;font-size:12px;font-style:normal;font-weight:500;line-height:normal}.trophy .value{font-feature-settings:"tnum";font-variant-numeric:tabular-nums;line-height:25px}.trophy .arrow-up,.trophy .value{box-sizing:initial;font-size:16px;font-style:normal;font-weight:500}.trophy .arrow-up{float:right;line-height:normal;margin-left:5px;margin-top:2px}.trophy.twitter:hover{box-shadow:2px 2px 13px #fff,-2px -1px 14px #fff}.trophy.discord{color:#878ef2}.trophy.discord:hover{box-shadow:2px 2px 13px #878ef2,-2px -1px 14px #878ef2}.trophy.supabase{color:#3ecf8e}.trophy.supabase:hover{box-shadow:2px 2px 13px #3ecf8e,-2px -1px 14px #3ecf8e}.trophy.mongodb{color:#00a35c}.trophy.mongodb:hover{box-shadow:2px 2px 13px #00a35c,-2px -1px 14px #00a35c}.samp-wrapper{background-color:var(--bg-color);border-radius:15px;border-style:solid;border-width:1px;display:inline-block;font-size:16px;padding:12px;text-align:left;width:calc(100% - 26px)}.samp-wrapper legend{font-weight:700;padding-left:6px;padding-right:6px}samp{font-family:Courier New,monospace;line-height:157%}samp .beating-color{border-radius:5px;color:#fff!important;font-weight:700;padding:2px 4px}samp .cm-keyword,samp .cm-operator{color:#c678dd}samp .cm-variable{color:#e5c07b}samp .cm-html{color:#c5436d}samp .cm-def,samp .cm-property{color:#e06c75}samp .cm-method{color:#61afef}samp .cm-string{color:#98c379}samp .cm-comment{color:#7f848e}.observe-code-example-tabs{color:#fff;padding-bottom:20px}.ant-tabs-tab-btn,footer{color:#fff!important}.ant-tabs-tab-btn[aria-selected=true]{color:var(--color-top)!important}.ant-tabs-ink-bar{background:var(--color-top)!important}.observe-code-example-tabs .ant-tabs-tab-icon{margin-inline-end:5px!important}.observe-code-example-tabs .ant-tabs-tab-icon img{float:left;height:30px;margin-top:-6px}@keyframes a{0%,26%,76%,to{transform:scale(1)}13%{transform:scale(1.1)}16%{transform:scale(1.08)}22%{transform:scale(1.2)}38%{transform:scale(1.09)}41%,56%{transform:scale(1.05)}50%{transform:scale(1.07)}}@keyframes b{0%,26%,to{transform:scale(1)}13%{transform:scale(1.1)}16%{transform:scale(1.08)}22%{transform:scale(1.2)}}@keyframes c{0%,26%,76%,to{transform:scale(1)}38%{transform:scale(1.09)}41%,56%{transform:scale(1.05)}50%{transform:scale(1.07)}}.premium-blocks{display:grid;grid-auto-rows:1fr;grid-template-columns:repeat(4,1fr);margin-top:30px;width:80%;grid-column-gap:10px;grid-row-gap:15px}.navbar-line{top:89.5px}.premium-blocks .premium-block{border-radius:6px;color:#fff;height:100%;padding:3px}.premium-blocks .premium-block-inner{background-color:var(--bg-color);border-radius:4px;box-sizing:initial;color:#fff;height:calc(100% - 20px);padding:10px;position:relative}.premium-blocks p{font-size:93%}.price-calculator{background-color:var(--bg-color);border:1px #ffffff4d;font-size:120%;margin-top:20px;padding:3px;width:80%}.price-calculator-inner{margin-left:5%;padding-bottom:40px;padding-top:40px;width:90%}.package{border-radius:0;margin-bottom:10px;margin-top:10px;padding:3px}.package-inner{background-color:var(--bg-color-dark);border-color:var(--fontColor-gray);border-radius:16px;border-style:none;border-width:1px;padding:16px;position:relative}.price-calculator h4{margin-bottom:20px;margin-top:0}.price-calculator .field{font-size:80%;margin-bottom:15px;width:100%}.price-calculator .field label{font-size:120%;margin-bottom:5px;width:100%}.price-calculator .field .input{border-radius:4px;text-align:left;width:100%}.price-calculator .field .input input[type=number]{width:150px}.price-calculator .field .suffix{float:left;font-size:120%;margin-left:10px;margin-top:4px}.price-calculator .field .prefix{float:left;font-size:120%;margin-right:10px;margin-top:4px}.price-calculator input,.price-calculator select{background-color:#fff;border-radius:3px;color:#000;float:left;font-size:120%;padding:3px}.price-calculator hr{height:1px;margin-bottom:30px;margin-top:50px}.price-calculator .package-checkbox{accent-color:var(--color-middle);background-color:#fff;border-radius:5px;cursor:pointer;float:right;height:50px;width:50px}.price-calculator .package ul li{line-height:150%}.price-calculator input:invalid:required,.price-calculator select:invalid:required{border:2px solid red}#price-calculator-result{font-size:120%}#price-calculator-result .inner{text-align:center;width:100%}#price-calculator-result .price-label{font-size:100%;line-height:320%;vertical-align:top}#price-calculator-result #total-per-project-per-month{font-size:300%}#price-calculator-result .per-month{font-size:120%;line-height:300%}#price-calculator-result table{border-spacing:30px;width:100%}#price-calculator-result #total-per-year{border-bottom:3px double;font-weight:700}.premium-faq h2{padding-bottom:40px}.premium-faq details{font-size:var(--fontSizes-m);padding-bottom:25px;text-align:justify;width:60%}.premium-faq details[open]{padding-bottom:25px}.premium-faq summary{cursor:pointer;font-weight:700;padding-bottom:10px}.premium-request li,.premium-request ol{padding-bottom:20px}.premium-request iframe{border:#ffffff4d;border-radius:14px;height:2150px;margin:0;overflow:hidden;padding:0;width:700px}footer{font-weight:700;padding:20px;text-align:center}.redirectBox ul{display:inline-block;text-align:left}.redirectBox li{margin:10px 0}.call-to-action{align-items:center;display:flex;flex:1;min-width:0;overflow:hidden;padding-left:9px;padding-right:9px}.call-to-action a{background-color:var(--ifm-navbar-background-color);border:1px solid var(--color-top);border-radius:1rem;box-sizing:initial;cursor:pointer;height:2rem;line-height:2rem;padding-left:1rem;padding-right:1rem;text-align:center;transition:.2s}.call-to-action a,.call-to-action-text{color:var(--fontColor-offwhite);font-size:var(--fontSizes-xs)}.call-to-action-text,.tags_jXut{display:inline}.call-to-action-popup{background-color:#fff;background:var(--bg-color-dark);border:1px solid var(--40-grey,#666);bottom:0;margin-bottom:20px;max-width:90%;padding:16px;position:fixed;text-align:center;transform:translateX(-50%) translateY(200%);width:560px;will-change:transform;z-index:20}.ant-modal-content,.block.faq .ant-collapse{background-color:initial}.call-to-action-popup.active{transform:translateY(0) translateX(-50%);transition:.5s}.call-to-action-popup.active.top{bottom:unset;top:80px}.call-to-action-popup.active.mid{bottom:unset;margin-top:-100px;top:50%}.call-to-action-popup h3{font-size:20px;font-style:normal;font-weight:700;line-height:normal;margin-bottom:20px;margin-top:14px;width:calc(100% - 30px)}.call-to-action-popup .close-popup{align-items:center;cursor:pointer;display:flex;justify-content:center;overflow:hidden;padding:16px;position:absolute;right:0;text-align:center;top:0}.call-to-action-popup .close .text{margin-top:2px}#CybotCookiebotDialog{font-family:var(--ifm-font-family-monospace)!important;padding:12px!important}#CybotCookiebotDialogHeader,#CybotCookiebotDialogPoweredByText{display:none!important}.CybotCookiebotDialogBodyBottomWrapper{margin-top:.5em!important}#CybotCookiebotDialogBodyLevelButtonCustomize{border-color:var(--color-top)!important}.navbar__title{color:#fff;font-size:1.35rem;font-weight:500}.flex-row{align-items:center;flex-direction:row}.docMainContainer_TBSr,.docRoot_UBD9,.flex-column,.flex-row{display:flex;width:100%}.flex-column,.side-tabs.small{flex-direction:column}.ant-modal-body h3{margin-bottom:12px;width:calc(100% - 40px)}.slick-dots li,.slick-dots li button,.slick-dots li button:before{height:7px!important;width:7px!important}.nav-logo-consulting{align-items:center;color:#fff;display:flex;font-size:1.35em;font-weight:500;gap:9px;line-height:120%;margin-right:48px!important;padding:0!important;transition:.15s ease-in-out}.hero-img,.nav-logo-consulting:hover{max-width:fit-content}.block.review .slider-content h3{color:#f6f6f7;font-size:1.2em;font-weight:600;line-height:160%;margin-bottom:32px;margin-top:16px;text-align:start}.slider-content .slider-profile{align-items:center;display:flex;gap:0;margin-top:auto}.slick-track{display:flex!important;gap:32px}.slick-initialized .slick-slide{display:flex!important;flex-grow:1;height:auto;max-width:600px}.slider-content .slider-profile img{border-radius:100%;height:30px;object-fit:contain;padding:5px;width:30px}.review-img{max-height:24px;padding-bottom:5px}.slider-content .slider-profile img.slider-logo-white{background:#fff}.slider-content .slider-profile .slider-info{width:70%}.slider-content .slider-profile .developer{font-style:normal;color:#fff;font-size:1em;font-weight:500;line-height:150%;margin-bottom:0}.slider-content .slider-profile .company-link{color:#858585;font-size:1em;font-weight:400;line-height:150%}.slick-slide{display:flex;flex-grow:1;height:auto}.slick-next:before,.slick-prev:before{content:""!important}.slick-next,.slick-prev{top:40%!important}.slick-list{height:auto!important;-webkit-mask-image:-webkit-gradient(linear,left center,right center,color-stop(0,#0000),color-stop(.3,#000),color-stop(.7,#000),color-stop(1,#0000));mask-image:-webkit-gradient(linear,left center,right center,color-stop(0,#0000),color-stop(.3,#000),color-stop(.7,#000),color-stop(1,#0000));max-height:700px;padding:0}.slick-dots{align-items:center!important;border:1px solid #2c3039;border-radius:22px;display:flex!important;margin:40px auto 0!important;padding:8px!important;position:static!important;width:max-content!important}.slick-dots li{margin:0 8px!important;padding:0 0 0 7px!important;top:1px}.slick-dots li.slick-active{padding-right:15px!important;top:0}.slick-dots li button:before{color:#c3c3d0!important;font-size:10px!important;line-height:7px!important;opacity:1!important}.slick-dots li.slick-active button:before{border-radius:80px;content:"ㅤ"!important;height:8px!important;margin:0 7px 0 0!important;width:24px!important}.slick-dots li.slick-active:first-child button:before{margin:0 50px 0 0!important}.block.faq .ant-collapse{display:flex;flex-direction:column;gap:16px}.block.faq .ant-collapse-header{align-items:center;color:#fff;flex-direction:row-reverse;font-size:1.15em;font-weight:600;gap:16px;line-height:150%;padding:0}.block.faq .ant-collapse-item{background-color:#222834;border:none;border-radius:24px;color:#fff;font-size:1.15em;font-weight:600;line-height:150%;padding:26.5px 24px}.block.faq .ant-collapse-content-box{color:#fff;font-size:1em;font-weight:400;line-height:150%;padding:12px 0 0!important;white-space:pre-line}.block.footer{padding:25px 30px 60px}.block.footer .footer-block{display:flex;flex-direction:column;gap:2rem;max-width:90rem;width:100%}.block.footer .footer-links{color:#fff;display:flex;flex-direction:column;gap:1rem}.block.footer .footer-links span{align-items:center;display:flex;justify-content:space-between;padding:1rem 0}.footer-logo-button{align-items:center;color:#fff;display:flex;font-size:var(--fontSizes-2xl);font-weight:600;line-height:120%}.footer-policy div a,.footer-rights{color:#5c5c75;font-size:var(--fontSizes-s);font-weight:400;line-height:150%}.footer-logo-button img{max-height:54px}.footer-logo-button div{align-items:center;cursor:pointer;display:flex;gap:13px;padding:0 0 0 3px}.footer-links a{align-items:center;color:#fff;display:flex;font-size:var(--fontSizes-s);font-weight:400;transition:.15s ease-in-out}.footer-community-links{align-items:center;display:flex;gap:16px;margin-top:130px}.footer-community-links img,.footer-community-links svg{filter:grayscale(100%) brightness(1.8);height:22px}.footer-policy{align-items:center;border-top:1px solid #5c5c75;display:flex;justify-content:space-between;padding-top:1rem}.footer-policy div{display:flex;gap:1rem}.footer-policy div a{align-items:center;display:flex;transition:.15s ease-in-out}.footer-img{bottom:0;position:absolute;right:0}.tag-cloud{max-width:100%;overflow-x:hidden;text-align:center}.dropdown-wrapper{display:inline-block;position:relative}.dropdown-content{background:red;background:var(--bg-color-dark);border:1px solid #666;padding:32px;position:fixed;top:82px;transform:translateX(-50%);width:809px;z-index:13}.dropdown-content-storages{align-items:start;column-gap:32px;display:grid;grid-template-columns:repeat(4,max-content);padding:13px 16px 24px}.dropdown-grid-top{border-bottom:2px solid #666;padding-bottom:6px}.dropdown-grid-top-title{font-size:14px;font-style:normal;font-weight:700;line-height:21px}.dropdown-grid-top-sub{font-size:12px;font-style:normal;font-weight:500;line-height:normal;white-space:nowrap}.dropdown-grid-top-links{list-style-type:none;padding-left:14px}.dropdown-grid-top-links li{padding-top:14px}.dropdown-wrapper:hover .dropdown-content{display:grid}.dropdown-content-sync{padding:32px}.dropdown-content-sync-card{border:2px solid #fff;justify-content:center;margin-bottom:var(--ifm-paragraph-margin-bottom);padding:10px 14px 0}.dropdown-content-sync-card:hover{background-color:#000;filter:invert(1)}.dropdown-content-sync-title{font-size:20px;font-style:normal;font-weight:700;line-height:normal}.dropdown-content-sync-subtitle{font-size:12px;font-style:normal;font-weight:500;margin-top:10px}.dropdown-content-sync-integrations{display:grid;gap:10px 40px;grid-template-columns:repeat(4,1fr)}.side-tabs{display:flex;max-width:100%}.side-tabs__list{display:flex;flex:0 0 auto;flex-direction:column;gap:4px;min-width:220px}.side-tabs__tab{align-items:center;border-bottom:2px solid;border-left:2px solid;border-top:2px solid;border-color:var(--bg-color-dark);cursor:pointer;display:flex;font-size:20px;font-weight:500;gap:0;height:52px;text-align:left}.side-tabs__tab.dark{border-color:var(--bg-color)}.alert.alert--info,.alert.alert--info div div{border-color:var(--color-middle)}.side-tabs__tab:hover:not(.side-tabs__tab--active):not(.side-tabs__tab--disabled){font-weight:800}.side-tabs__tab--active{background-color:var(--bg-color-dark);color:#fff;font-weight:800}.side-tabs__tab--active.dark{background-color:var(--bg-color)}.side-tabs__tab--disabled{color:#4b5563;cursor:not-allowed}.side-tabs__tab--active .side-tabs__indicator{background:var(--color-top);height:calc(100% + 4px);left:-4px;position:relative;width:3px}.alert.alert--info,.side-tabs__content.dark{background-color:var(--bg-color)}.side-tabs.small .side-tabs__tab--active .side-tabs__indicator{height:3px;left:-2px;position:relative;top:-3px;width:calc(100% + 4px)}.side-tabs.small .side-tabs__content{flex:1;margin-left:0!important;padding:20px}.side-tabs.small .side-tabs__list{cursor:grab;flex-direction:row!important;-webkit-mask-image:-webkit-gradient(linear,left top,right top,from(#000),color-stop(70%,#000),to(#0000));mask-image:-webkit-gradient(linear,left top,right top,from(#000),color-stop(70%,#000),to(#0000));overflow-x:auto;overflow-y:hidden;padding-right:80px;scroll-snap-type:x mandatory;scrollbar-width:none;white-space:nowrap}.side-tabs.small .side-tabs__list.is-dragging{cursor:grabbing}.side-tabs.small .side-tabs__list.is-dragging,.side-tabs.small .side-tabs__list.is-dragging *{-webkit-user-select:none;user-select:none}.side-tabs.small .side-tabs__tab{align-items:stretch;border-bottom-style:none;border-right-style:solid;border-right-width:2px;display:grid;flex:0 0 auto;gap:0}.side-tabs__label{flex:1;margin-left:22px;margin-right:22px;position:absolute;-webkit-user-select:none;user-select:none}.side-tabs.small .side-tabs__label{position:relative}.side-tabs.small .side-tabs__tab--active .side-tabs__label{margin-top:-3px}.side-tabs__content{background-color:var(--bg-color-dark);flex:1 1 0;font-size:16px;font-weight:500;line-height:25px;margin-left:2px;min-width:0;overflow-x:auto;padding:32px}.side-tabs__content strong{color:#f9fafb;font-weight:600}.alert.alert--info{border-radius:0}.alert.alert--info summary:before{border-color:#0000 #0000 #0000 var(--color-top)}.theme-doc-sidebar-container{clip-path:none!important;z-index:5}figure[data-rehype-pretty-code-figure]{margin:0 0 var(--ifm-leading);padding:0}pre[data-theme] code{background:#0000;border:none;border-radius:0!important;display:block!important;font-size:var(--ifm-code-font-size);line-height:var(--ifm-pre-line-height);padding:1rem}.theme-code-block pre{border:2px solid #666;border-radius:0}.theme-code-block,:not(pre)>code{border-radius:0!important}:not(pre)>code{background-color:var(--ifm-code-background);padding:var(--ifm-code-padding-vertical) var(--ifm-code-padding-horizontal)}.skipToContent_fXgn{background-color:var(--ifm-background-surface-color);color:var(--ifm-color-emphasis-900);left:100%;padding:calc(var(--ifm-global-spacing)/2) var(--ifm-global-spacing);position:fixed;top:1rem;z-index:calc(var(--ifm-z-index-fixed) + 1)}.skipToContent_fXgn:focus{box-shadow:var(--ifm-global-shadow-md);left:1rem}.closeButton_CVFx{line-height:0;padding:0}.content_knG7{font-size:85%;padding:5px 0;text-align:center}.content_knG7 a{color:inherit}.announcementBar_mb4j{align-items:center;background-color:var(--ifm-color-white);border-bottom:1px solid var(--ifm-color-emphasis-100);color:var(--ifm-color-black);display:flex;height:var(--docusaurus-announcement-bar-height)}.announcementBarPlaceholder_vyr4{flex:0 0 10px}.announcementBarClose_gvF7{align-self:stretch;flex:0 0 30px}.toggle_vylO{height:2rem;width:2rem}.toggleButton_gllP{align-items:center;border-radius:50%;display:flex;height:100%;justify-content:center;transition:background var(--ifm-transition-fast);width:100%}.toggleButton_gllP:hover{background:var(--ifm-color-emphasis-200)}[data-theme-choice=dark] .darkToggleIcon_wfgR,[data-theme-choice=light] .lightToggleIcon_pyhR,[data-theme-choice=system] .systemToggleIcon_QzmC,[data-theme=dark] .themedComponent--dark_xIcU,[data-theme=light] .themedComponent--light_NVdE,html:not([data-theme]) .themedComponent--light_NVdE{display:initial}.toggleButtonDisabled_aARS{cursor:not-allowed}.darkNavbarColorModeToggle_Q0Zn:hover{background:var(--ifm-color-gray-800)}.tag_zVej{border:1px solid var(--docusaurus-tag-list-border);transition:border var(--ifm-transition-fast)}.tag_zVej:hover{--docusaurus-tag-list-border:var(--ifm-link-color);-webkit-text-decoration:none;text-decoration:none}.tagRegular_sFm0{border-radius:var(--ifm-global-radius);font-size:90%;padding:.2rem .5rem .3rem}.tagWithCount_h2kH{align-items:center;border-left:0;display:flex;padding:0 .5rem 0 1rem;position:relative}.tagWithCount_h2kH:after,.tagWithCount_h2kH:before{border:1px solid var(--docusaurus-tag-list-border);content:"";position:absolute;top:50%;transition:inherit}.tagWithCount_h2kH:before{border-bottom:0;border-right:0;height:1.18rem;right:100%;transform:translate(50%,-50%) rotate(-45deg);width:1.18rem}.tagWithCount_h2kH:after{border-radius:50%;height:.5rem;left:0;transform:translateY(-50%);width:.5rem}.tagWithCount_h2kH span{background:var(--ifm-color-secondary);border-radius:var(--ifm-global-radius);color:var(--ifm-color-black);font-size:.7rem;line-height:1.2;margin-left:.3rem;padding:.1rem .4rem}.tag_QGVx{display:inline-block;margin:0 .4rem .5rem 0}.backToTopButton_sjWU{background-color:var(--ifm-color-emphasis-200);border-radius:50%;bottom:1.3rem;box-shadow:var(--ifm-global-shadow-lw);height:3rem;opacity:0;position:fixed;right:1.3rem;transform:scale(0);transition:all var(--ifm-transition-fast) var(--ifm-transition-timing-default);visibility:hidden;width:3rem;z-index:calc(var(--ifm-z-index-fixed) - 1)}.backToTopButton_sjWU:after{background-color:var(--ifm-color-emphasis-1000);content:" ";display:inline-block;height:100%;-webkit-mask:var(--ifm-menu-link-sublist-icon) 50%/2rem 2rem no-repeat;mask:var(--ifm-menu-link-sublist-icon) 50%/2rem 2rem no-repeat;width:100%}.backToTopButtonShow_xfvO{opacity:1;transform:scale(1);visibility:visible}[data-theme=dark]:root{--docusaurus-collapse-button-bg:#ffffff0d;--docusaurus-collapse-button-bg-hover:#ffffff1a}.collapseSidebarButton_JQG6{display:none;margin:0}.categoryLinkLabel_W154,.linkLabel_WmDU{display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden}.iconExternalLink_nPIU{margin-left:.3rem}.linkLabel_WmDU{line-clamp:2;-webkit-line-clamp:2}.categoryLink_byQd{overflow:hidden}.menu__link--sublist-caret:after{margin-left:var(--ifm-menu-link-padding-vertical)}.categoryLinkLabel_W154{flex:1;line-clamp:2;-webkit-line-clamp:2}.docsWrapper_hBAB{display:flex;flex:1 0 auto}.searchbox,.searchbox__input{box-sizing:border-box;display:inline-block}.algolia-docsearch-suggestion{border-bottom-color:#3a3dd1}.algolia-docsearch-suggestion--category-header{background-color:#4b54de}.algolia-docsearch-suggestion--highlight{color:#3a33d1}.algolia-docsearch-suggestion--category-header .algolia-docsearch-suggestion--highlight{background-color:#4d47d5}.aa-cursor .algolia-docsearch-suggestion--content{color:#272296}.aa-cursor .algolia-docsearch-suggestion{background:#ebebfb}.searchbox{height:32px!important;position:relative;visibility:visible!important;white-space:nowrap;width:200px}.searchbox .algolia-autocomplete{display:block;height:100%;width:100%}.searchbox__wrapper{height:100%;position:relative;width:100%;z-index:999}.searchbox__input{appearance:none;background:#fff!important;border:0;border-radius:16px;box-shadow:inset 0 0 0 1px #ccc;font-size:12px;height:100%;padding:0 26px 0 32px;transition:box-shadow .4s,background .4s;white-space:normal;width:100%}.searchbox__reset,.searchbox__submit{font-size:inherit;-webkit-user-select:none;position:absolute}.searchbox__input::-webkit-search-cancel-button,.searchbox__input::-webkit-search-decoration,.searchbox__input::-webkit-search-results-button,.searchbox__input::-webkit-search-results-decoration{display:none}.searchbox__input:hover{box-shadow:inset 0 0 0 1px #b3b3b3}.searchbox__input:active,.searchbox__input:focus{background:#fff;box-shadow:inset 0 0 0 1px #aaa;outline:0}.searchbox__input::placeholder{color:#aaa}.searchbox__submit{background-color:#458ee100;border:0;border-radius:16px 0 0 16px;height:100%;left:0;margin:0;padding:0;right:inherit;text-align:center;top:0;user-select:none;width:32px}.searchbox__submit:before{content:"";display:inline-block;height:100%;margin-right:-4px;vertical-align:middle}.algolia-autocomplete .ds-dropdown-menu .ds-suggestion,.dropdownNavbarItemMobile_J0Sd,.searchbox__submit:active,.searchbox__submit:hover{cursor:pointer}.searchbox__submit svg{fill:#6d7e96;height:14px;width:14px}.searchbox__reset{background:none;border:0;cursor:pointer;display:block;fill:#00000080;margin:0;padding:0;right:8px;top:8px;user-select:none}.searchbox__reset.hide{display:none}.searchbox__reset svg{display:block;height:8px;margin:4px;width:8px}.searchbox__input:valid~.searchbox__reset{animation-duration:.15s;animation-name:d;display:block}@keyframes d{0%{opacity:0;transform:translate3d(-20%,0,0)}to{opacity:1;transform:none}}.algolia-autocomplete .ds-dropdown-menu:before{background:#373940;border-radius:2px;border-right:1px solid #373940;border-top:1px solid #373940;content:"";display:block;height:14px;position:absolute;top:-7px;transform:rotate(-45deg);width:14px;z-index:1000}.algolia-autocomplete .ds-dropdown-menu{box-shadow:0 1px 0 0 #0003,0 2px 3px 0 #0000001a}.algolia-autocomplete .ds-dropdown-menu .ds-suggestions{position:relative;z-index:1000}.algolia-autocomplete .ds-dropdown-menu [class^=ds-dataset-]{background:#fff;border-radius:4px;overflow:auto;padding:0;position:relative}.algolia-autocomplete .algolia-docsearch-suggestion{display:block;overflow:hidden;padding:0;position:relative;-webkit-text-decoration:none;text-decoration:none}.algolia-autocomplete .ds-cursor .algolia-docsearch-suggestion--wrapper{background:#f1f1f1;box-shadow:inset -2px 0 0 #61dafb}.algolia-autocomplete .algolia-docsearch-suggestion--highlight{background:#ffe564;padding:.1em .05em}.algolia-autocomplete .algolia-docsearch-suggestion--category-header .algolia-docsearch-suggestion--category-header-lvl0 .algolia-docsearch-suggestion--highlight,.algolia-autocomplete .algolia-docsearch-suggestion--category-header .algolia-docsearch-suggestion--category-header-lvl1 .algolia-docsearch-suggestion--highlight{background:inherit;color:inherit}.algolia-autocomplete .algolia-docsearch-suggestion--text .algolia-docsearch-suggestion--highlight{background:inherit;box-shadow:inset 0 -2px 0 0 #458ee1cc;color:inherit;padding:0 0 1px}.algolia-autocomplete .algolia-docsearch-suggestion--content{cursor:pointer;display:block;float:right;padding:5.33333px 0 5.33333px 10.66667px;position:relative;width:70%}.algolia-autocomplete .algolia-docsearch-suggestion--content:before{background:#ececec;content:"";display:block;height:100%;left:-1px;position:absolute;top:0;width:1px}.algolia-autocomplete .algolia-docsearch-suggestion--category-header{background-color:#373940;color:#fff;display:none;font-size:14px;font-weight:700;letter-spacing:.08em;margin:0;padding:5px 8px;position:relative;text-transform:uppercase}.algolia-autocomplete .algolia-docsearch-suggestion--wrapper{background-color:#fff;float:left;padding:8px 0 0;width:100%}.algolia-autocomplete .algolia-docsearch-suggestion--subcategory-column{color:#777;display:none;float:left;font-size:.9em;padding:5.33333px 10.66667px;position:relative;text-align:right;width:30%;word-wrap:break-word}.algolia-autocomplete .algolia-docsearch-suggestion--subcategory-column:before{background:#ececec;content:"";display:block;height:100%;position:absolute;right:0;top:0;width:1px}.algolia-autocomplete .algolia-docsearch-suggestion.algolia-docsearch-suggestion__main .algolia-docsearch-suggestion--category-header,.algolia-autocomplete .algolia-docsearch-suggestion.algolia-docsearch-suggestion__secondary{display:block}.algolia-autocomplete .algolia-docsearch-suggestion--subcategory-column .algolia-docsearch-suggestion--highlight{background-color:inherit;color:inherit}.algolia-autocomplete .algolia-docsearch-suggestion--subcategory-inline{display:none}.algolia-autocomplete .algolia-docsearch-suggestion--title{color:#02060c;font-size:.9em;font-weight:700;margin-bottom:4px}.algolia-autocomplete .algolia-docsearch-suggestion--text{color:#63676d;display:block;font-size:.85em;line-height:1.2em;padding-right:2px}.algolia-autocomplete .algolia-docsearch-suggestion--version{color:#a6aab1;display:block;font-size:.65em;padding-right:2px;padding-top:2px}.algolia-autocomplete .algolia-docsearch-suggestion--no-results{background-color:#373940;font-size:1.2em;margin-top:-8px;padding:8px 0;text-align:center;width:100%}.algolia-autocomplete .algolia-docsearch-suggestion--no-results .algolia-docsearch-suggestion--text{color:#fff;margin-top:4px}.algolia-autocomplete .algolia-docsearch-suggestion--no-results:before,.navbarSearchContainer_dCNk:empty{display:none}.algolia-autocomplete .algolia-docsearch-suggestion code{background-color:#ebebeb;border:none;border-radius:3px;color:#222;font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace;font-size:90%;padding:1px 5px}.algolia-autocomplete .algolia-docsearch-suggestion code .algolia-docsearch-suggestion--highlight{background:none}.algolia-autocomplete .algolia-docsearch-suggestion.algolia-docsearch-suggestion__main .algolia-docsearch-suggestion--category-header{color:#fff;display:block}.algolia-autocomplete .algolia-docsearch-suggestion.algolia-docsearch-suggestion__secondary .algolia-docsearch-suggestion--subcategory-column,.tocCollapsibleContent_vkbj a{display:block}.algolia-autocomplete .algolia-docsearch-footer{background-color:#fff;float:right;font-size:0;height:30px;line-height:0;width:100%;z-index:2000}.algolia-autocomplete .algolia-docsearch-footer--logo{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 130 18'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath fill='url(%2523a)' d='M59.4.02h13.3a2.37 2.37 0 0 1 2.38 2.37V15.6a2.37 2.37 0 0 1-2.38 2.36H59.4a2.37 2.37 0 0 1-2.38-2.36V2.38A2.37 2.37 0 0 1 59.4.02'/%3E%3Cpath fill='%2523FFF' d='M66.26 4.56c-2.82 0-5.1 2.27-5.1 5.08 0 2.8 2.28 5.07 5.1 5.07 2.8 0 5.1-2.26 5.1-5.07 0-2.8-2.28-5.07-5.1-5.07zm0 8.65c-2 0-3.6-1.6-3.6-3.56 0-1.97 1.6-3.58 3.6-3.58 1.98 0 3.6 1.6 3.6 3.58a3.58 3.58 0 0 1-3.6 3.57zm0-6.4v2.66c0 .07.08.13.15.1l2.4-1.24c.04-.02.06-.1.03-.14a2.96 2.96 0 0 0-2.46-1.5.1.1 0 0 0-.1.1zm-3.33-1.96-.3-.3a.78.78 0 0 0-1.12 0l-.36.36a.77.77 0 0 0 0 1.1l.3.3c.05.05.13.04.17 0 .2-.25.4-.5.6-.7.23-.23.46-.43.7-.6.07-.04.07-.1.03-.16zm5-.8V3.4a.78.78 0 0 0-.78-.78h-1.83a.78.78 0 0 0-.78.78v.63c0 .07.06.12.14.1a5.7 5.7 0 0 1 1.58-.22c.52 0 1.04.07 1.54.2a.1.1 0 0 0 .13-.1z'/%3E%3Cpath fill='%2523182359' d='M102.16 13.76c0 1.46-.37 2.52-1.12 3.2-.75.67-1.9 1-3.44 1-.56 0-1.74-.1-2.67-.3l.34-1.7c.78.17 1.82.2 2.36.2.86 0 1.48-.16 1.84-.5.37-.36.55-.88.55-1.57v-.35a6 6 0 0 1-.84.3 4.2 4.2 0 0 1-1.2.17 4.5 4.5 0 0 1-1.6-.28 3.4 3.4 0 0 1-1.26-.82 3.7 3.7 0 0 1-.8-1.35c-.2-.54-.3-1.5-.3-2.2 0-.67.1-1.5.3-2.06a3.9 3.9 0 0 1 .9-1.43 4.1 4.1 0 0 1 1.45-.92 5.3 5.3 0 0 1 1.94-.37c.7 0 1.35.1 1.97.2a16 16 0 0 1 1.6.33v8.46zm-5.95-4.2c0 .9.2 1.88.6 2.3.4.4.9.62 1.53.62q.51 0 .96-.15a2.8 2.8 0 0 0 .73-.33V6.7a8.5 8.5 0 0 0-1.42-.17c-.76-.02-1.36.3-1.77.8-.4.5-.62 1.4-.62 2.23zm16.13 0c0 .72-.1 1.26-.32 1.85a4.4 4.4 0 0 1-.9 1.53c-.38.42-.85.75-1.4.98-.54.24-1.4.37-1.8.37-.43 0-1.27-.13-1.8-.36a4.1 4.1 0 0 1-1.4-.97 4.5 4.5 0 0 1-.92-1.52 5 5 0 0 1-.33-1.84c0-.72.1-1.4.32-2s.53-1.1.92-1.5c.4-.43.86-.75 1.4-.98a4.55 4.55 0 0 1 1.78-.34 4.7 4.7 0 0 1 1.8.34c.54.23 1 .55 1.4.97q.57.63.9 1.5c.23.6.35 1.3.35 2zm-2.2 0c0-.92-.2-1.7-.6-2.22-.38-.54-.94-.8-1.64-.8-.72 0-1.27.26-1.67.8s-.58 1.3-.58 2.22c0 .93.2 1.56.6 2.1.38.54.94.8 1.64.8s1.25-.26 1.65-.8c.4-.55.6-1.17.6-2.1m6.97 4.7c-3.5.02-3.5-2.8-3.5-3.27L113.57.92l2.15-.34v10c0 .25 0 1.87 1.37 1.88v1.8zm3.77 0h-2.15v-9.2l2.15-.33v9.54zM119.8 3.74c.7 0 1.3-.58 1.3-1.3 0-.7-.58-1.3-1.3-1.3-.73 0-1.3.6-1.3 1.3 0 .72.58 1.3 1.3 1.3m6.43 1c.7 0 1.3.1 1.78.27.5.18.88.42 1.17.73.28.3.5.74.6 1.18.13.46.2.95.2 1.5v5.47a25 25 0 0 1-1.5.25q-1.005.15-2.25.15a6.8 6.8 0 0 1-1.52-.16 3.2 3.2 0 0 1-1.18-.5 2.46 2.46 0 0 1-.76-.9c-.18-.37-.27-.9-.27-1.44 0-.52.1-.85.3-1.2.2-.37.48-.67.83-.9a3.6 3.6 0 0 1 1.23-.5 7 7 0 0 1 2.2-.1l.83.16V8.4c0-.25-.03-.48-.1-.7a1.5 1.5 0 0 0-.3-.58c-.15-.18-.34-.3-.58-.4a2.5 2.5 0 0 0-.92-.17c-.5 0-.94.06-1.35.13-.4.08-.75.16-1 .25l-.27-1.74c.27-.1.67-.18 1.2-.28a9.3 9.3 0 0 1 1.65-.14zm.18 7.74c.66 0 1.15-.04 1.5-.1V10.2a5.1 5.1 0 0 0-2-.1c-.23.03-.45.1-.64.2a1.17 1.17 0 0 0-.47.38c-.13.17-.18.26-.18.52 0 .5.17.8.5.98.32.2.74.3 1.3.3zM84.1 4.8c.72 0 1.3.08 1.8.26.48.17.87.42 1.15.73.3.3.5.72.6 1.17.14.45.2.94.2 1.47v5.48a25 25 0 0 1-1.5.26c-.67.1-1.42.14-2.25.14a6.8 6.8 0 0 1-1.52-.16 3.2 3.2 0 0 1-1.18-.5 2.46 2.46 0 0 1-.76-.9c-.18-.38-.27-.9-.27-1.44 0-.53.1-.86.3-1.22s.5-.65.84-.88a3.6 3.6 0 0 1 1.24-.5 7 7 0 0 1 2.2-.1q.39.045.84.15v-.35c0-.24-.03-.48-.1-.7a1.5 1.5 0 0 0-.3-.58c-.15-.17-.34-.3-.58-.4a2.5 2.5 0 0 0-.9-.15c-.5 0-.96.05-1.37.12-.4.07-.75.15-1 .24l-.26-1.75c.27-.08.67-.17 1.18-.26a9 9 0 0 1 1.66-.15zm.2 7.73c.65 0 1.14-.04 1.48-.1v-2.17a5.1 5.1 0 0 0-1.98-.1c-.24.03-.46.1-.65.18a1.17 1.17 0 0 0-.47.4c-.12.17-.17.26-.17.52 0 .5.18.8.5.98.32.2.75.3 1.3.3zm8.68 1.74c-3.5 0-3.5-2.82-3.5-3.28L89.45.92 91.6.6v10c0 .25 0 1.87 1.38 1.88v1.8z'/%3E%3Cpath fill='%25231D3657' d='M5.03 11.03c0 .7-.26 1.24-.76 1.64q-.75.6-2.1.6c-.88 0-1.6-.14-2.17-.42v-1.2c.36.16.74.3 1.14.38.4.1.78.15 1.13.15.5 0 .88-.1 1.12-.3a.94.94 0 0 0 .35-.77.98.98 0 0 0-.33-.74c-.22-.2-.68-.44-1.37-.72-.72-.3-1.22-.62-1.52-1C.23 8.27.1 7.82.1 7.3c0-.65.22-1.17.7-1.55.46-.37 1.08-.56 1.86-.56.76 0 1.5.16 2.25.48l-.4 1.05c-.7-.3-1.32-.44-1.87-.44-.4 0-.73.08-.94.26a.9.9 0 0 0-.33.72c0 .2.04.38.12.52.08.15.22.3.42.4.2.14.55.3 1.06.52.58.24 1 .47 1.27.67s.47.44.6.7c.12.26.18.57.18.92zM9 13.27c-.92 0-1.64-.27-2.16-.8-.52-.55-.78-1.3-.78-2.24 0-.97.24-1.73.72-2.3.5-.54 1.15-.82 2-.82.78 0 1.4.25 1.85.72.46.48.7 1.14.7 1.97v.67H7.35c0 .58.17 1.02.46 1.33.3.3.7.47 1.24.47.36 0 .68-.04.98-.1a5 5 0 0 0 .98-.33v1.02a3.9 3.9 0 0 1-.94.32 5.7 5.7 0 0 1-1.08.1zm-.22-5.2c-.4 0-.73.12-.97.38s-.37.62-.42 1.1h2.7c0-.48-.13-.85-.36-1.1-.23-.26-.54-.38-.94-.38zm7.7 5.1-.26-.84h-.05c-.28.36-.57.6-.86.74-.28.13-.65.2-1.1.2-.6 0-1.05-.16-1.38-.48-.32-.32-.5-.77-.5-1.34 0-.62.24-1.08.7-1.4.45-.3 1.14-.47 2.07-.5l1.02-.03V9.2c0-.37-.1-.65-.27-.84-.17-.2-.45-.28-.82-.28-.3 0-.6.04-.88.13a7 7 0 0 0-.8.33l-.4-.9a4.4 4.4 0 0 1 1.05-.4 5 5 0 0 1 1.08-.12c.76 0 1.33.18 1.7.5q.6.495.6 1.56v4h-.9zm-1.9-.87c.47 0 .83-.13 1.1-.38.3-.26.43-.62.43-1.08v-.52l-.76.03c-.6.03-1.02.13-1.3.3s-.4.45-.4.82c0 .26.08.47.24.6.16.16.4.23.7.23zm7.57-5.2c.25 0 .46.03.62.06l-.12 1.18a2.4 2.4 0 0 0-.56-.06c-.5 0-.92.16-1.24.5-.3.32-.47.75-.47 1.27v3.1h-1.27V7.23h1l.16 1.05h.05c.2-.36.45-.64.77-.85a1.83 1.83 0 0 1 1.02-.3zm4.12 6.17c-.9 0-1.58-.27-2.05-.8-.47-.52-.7-1.27-.7-2.25 0-1 .24-1.77.73-2.3.5-.54 1.2-.8 2.12-.8.63 0 1.2.1 1.7.34l-.4 1c-.52-.2-.96-.3-1.3-.3-1.04 0-1.55.68-1.55 2.05 0 .67.13 1.17.38 1.5.26.34.64.5 1.13.5a3.23 3.23 0 0 0 1.6-.4v1.1a2.5 2.5 0 0 1-.73.28 4.4 4.4 0 0 1-.93.08m8.28-.1h-1.27V9.5c0-.45-.1-.8-.28-1.02-.18-.23-.47-.34-.88-.34-.53 0-.9.16-1.16.48-.25.3-.38.85-.38 1.6v2.94h-1.26V4.8h1.26v2.12c0 .34-.02.7-.06 1.1h.08a1.76 1.76 0 0 1 .72-.67c.3-.16.66-.24 1.07-.24 1.43 0 2.15.74 2.15 2.2v3.86zM42.2 7.1c.74 0 1.32.28 1.73.82.4.53.62 1.3.62 2.26 0 .97-.2 1.73-.63 2.27-.42.54-1 .82-1.75.82s-1.33-.27-1.75-.8h-.08l-.23.7h-.94V4.8h1.26v2l-.02.64-.03.56h.05c.4-.6 1-.9 1.78-.9zm-.33 1.04c-.5 0-.88.15-1.1.45s-.34.8-.35 1.5v.08c0 .72.12 1.24.35 1.57.23.32.6.48 1.12.48.44 0 .78-.17 1-.53.24-.35.36-.87.36-1.53 0-1.35-.47-2.03-1.4-2.03zm3.24-.92h1.4l1.2 3.37c.18.47.3.92.36 1.34h.04l.18-.72 1.37-4H51l-2.53 6.73c-.46 1.23-1.23 1.85-2.3 1.85-.3 0-.56-.03-.83-.1v-1c.2.05.4.08.65.08.6 0 1.03-.36 1.28-1.06l.22-.56-2.4-5.94z'/%3E%3C/g%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:100%;display:block;height:100%;margin-left:auto;margin-right:5px;overflow:hidden;text-indent:-9000px;width:110px}html[data-theme=dark] .algolia-docsearch-footer,html[data-theme=dark] .algolia-docsearch-suggestion--category-header,html[data-theme=dark] .algolia-docsearch-suggestion--wrapper{background:var(--ifm-background-color)!important;color:var(--ifm-font-color-base)!important}html[data-theme=dark] .algolia-docsearch-suggestion--title{color:var(--ifm-font-color-base)!important}html[data-theme=dark] .ds-cursor .algolia-docsearch-suggestion--wrapper{background:var(--ifm-background-surface-color)!important}mark{background-color:#add8e6}.theme-code-block:hover .copyButtonCopied_Vdqa{opacity:1!important}.copyButtonIcons_IEyt{height:1.125rem;position:relative;width:1.125rem}.copyButtonIcon_TrPX,.copyButtonSuccessIcon_cVMy{fill:currentColor;height:inherit;left:0;opacity:inherit;position:absolute;top:0;transition:all var(--ifm-transition-fast) ease;width:inherit}.copyButtonSuccessIcon_cVMy{color:#00d600;left:50%;opacity:0;top:50%;transform:translate(-50%,-50%) scale(.33)}.buttonGroup_M5ko button,.codeBlockContainer_Ckt0{background:var(--prism-background-color);color:var(--prism-color)}.copyButtonCopied_Vdqa .copyButtonIcon_TrPX{opacity:0;transform:scale(.33)}.copyButtonCopied_Vdqa .copyButtonSuccessIcon_cVMy{opacity:1;transform:translate(-50%,-50%) scale(1);transition-delay:75ms}.wordWrapButtonIcon_b1P5{height:1.2rem;width:1.2rem}.buttonGroup_M5ko{column-gap:.2rem;display:flex;position:absolute;right:calc(var(--ifm-pre-padding)/2);top:calc(var(--ifm-pre-padding)/2)}.buttonGroup_M5ko button{align-items:center;border:1px solid var(--ifm-color-emphasis-300);border-radius:var(--ifm-global-radius);display:flex;line-height:0;opacity:0;padding:.4rem;transition:opacity var(--ifm-transition-fast) ease-in-out}.buttonGroup_M5ko button:focus-visible,.buttonGroup_M5ko button:hover{opacity:1!important}.theme-code-block:hover .buttonGroup_M5ko button{opacity:.4}.codeBlockContainer_Ckt0{border-radius:var(--ifm-code-border-radius);box-shadow:var(--ifm-global-shadow-lw);margin-bottom:var(--ifm-leading)}.iconLanguage_nlXk{margin-right:5px;vertical-align:text-bottom}.navbarHideable_jvwV{transition:transform var(--ifm-transition-fast) ease}.navbarHidden_nLSi{transform:translate3d(0,calc(-100% - 2px),0)}.errorBoundaryError_a6uf{color:red;white-space:pre-wrap}.errorBoundaryFallback_VBag{color:red;padding:.55rem}.navbar__items--right>:last-child{padding-right:0}.anchorTargetStickyNavbar_Vzrq{scroll-margin-top:calc(var(--ifm-navbar-height) + .5rem)}.anchorTargetHideOnScrollNavbar_vjPI{scroll-margin-top:.5rem}.hash-link{opacity:0;padding-left:.5rem;transition:opacity var(--ifm-transition-fast);-webkit-user-select:none;user-select:none}.hash-link:before{content:"#"}.mainWrapper_z2l0{display:flex;flex:1 0 auto;flex-direction:column}.docusaurus-mt-lg{margin-top:3rem}#__docusaurus{position:relative;display:flex;flex-direction:column;min-height:100%}.iconEdit_Z9Sw{margin-right:.3em;vertical-align:sub}.details_lb9f{--docusaurus-details-summary-arrow-size:0.38rem;--docusaurus-details-transition:transform 200ms ease;--docusaurus-details-decoration-color:grey}.details_lb9f>summary{cursor:pointer;padding-left:1rem;position:relative}.details_lb9f>summary::-webkit-details-marker{display:none}.details_lb9f>summary:before{border-color:#0000 #0000 #0000 var(--docusaurus-details-decoration-color);border-style:solid;border-width:var(--docusaurus-details-summary-arrow-size);content:"";left:0;position:absolute;top:.45rem;transform:rotate(0);transform-origin:calc(var(--docusaurus-details-summary-arrow-size)/2) 50%;transition:var(--docusaurus-details-transition)}.collapsibleContent_i85q{border-top:1px solid var(--docusaurus-details-decoration-color);margin-top:1rem;padding-top:1rem}.lastUpdated_JAkA{font-size:smaller;font-style:italic;margin-top:.2rem}.tocCollapsibleButton_TO0P{align-items:center;display:flex;font-size:inherit;justify-content:space-between;padding:.4rem .8rem;width:100%}.tocCollapsibleButton_TO0P:after{background:var(--ifm-menu-link-sublist-icon) 50% 50%/2rem 2rem no-repeat;content:"";filter:var(--ifm-menu-link-sublist-icon-filter);height:1.25rem;transform:rotate(180deg);transition:transform var(--ifm-transition-fast);width:1.25rem}.tocCollapsibleButtonExpanded_MG3E:after,.tocCollapsibleExpanded_sAul{transform:none}.tocCollapsible_ETCw{background-color:var(--ifm-menu-color-background-active);border-radius:var(--ifm-global-radius);margin:1rem 0}.tocCollapsibleContent_vkbj>ul{border-left:none;border-top:1px solid var(--ifm-color-emphasis-300);font-size:15px;padding:.2rem 0}.tocCollapsibleContent_vkbj ul li{margin:.4rem .8rem}.details_b_Ee{--docusaurus-details-decoration-color:var(--ifm-alert-border-color);--docusaurus-details-transition:transform var(--ifm-transition-fast) ease;border:1px solid var(--ifm-alert-border-color);margin:0 0 var(--ifm-spacing-vertical)}:not(.containsTaskList_mC6p>li)>.containsTaskList_mC6p{padding-left:0}.img_ev3q{height:auto}.tableOfContents_bqdL{max-height:calc(100vh - var(--ifm-navbar-height) - 2rem);overflow-y:auto;position:sticky;top:calc(var(--ifm-navbar-height) + 1rem)}.admonition_xJq3{margin-bottom:1em}.admonitionHeading_Gvgb{font:var(--ifm-heading-font-weight) var(--ifm-h5-font-size)/var(--ifm-heading-line-height) var(--ifm-heading-font-family)}.admonitionHeading_Gvgb:not(:last-child){margin-bottom:.3rem}.admonitionHeading_Gvgb code{text-transform:none}.admonitionIcon_Rf37{display:inline-block;margin-right:.4em;vertical-align:middle}.admonitionIcon_Rf37 svg{display:inline-block;fill:var(--ifm-alert-foreground-color);height:1.6em;width:1.6em}.breadcrumbHomeIcon_YNFT{height:1.1rem;position:relative;top:1px;vertical-align:top;width:1.1rem}.breadcrumbsContainer_Z_bl{--ifm-breadcrumb-size-multiplier:0.8;margin-bottom:.8rem}.mdxPageWrapper_j9I6{justify-content:center}@media (min-width:576px);@media (min-width:601px){.algolia-autocomplete.algolia-autocomplete-right .ds-dropdown-menu{left:inherit!important;right:0!important}.algolia-autocomplete.algolia-autocomplete-right .ds-dropdown-menu:before{right:48px}.algolia-autocomplete .ds-dropdown-menu{background:#0000;border:none;border-radius:4px;height:auto;margin:6px 0 0;max-width:600px;min-width:500px;padding:0;position:relative;text-align:left;top:-6px;z-index:999}}@media (min-width:768px){.algolia-docsearch-suggestion{border-bottom-color:#7671df}.algolia-docsearch-suggestion--subcategory-column{border-right-color:#7671df;color:#4e4726}}@media (min-width:997px){.collapseSidebarButton_JQG6,.expandButton_TmdG{background-color:var(--docusaurus-collapse-button-bg)}:root{--docusaurus-announcement-bar-height:30px}.announcementBarClose_gvF7,.announcementBarPlaceholder_vyr4{flex-basis:50px}.collapseSidebarButton_JQG6{border:1px solid var(--ifm-toc-border-color);border-radius:0;bottom:0;display:block!important;height:40px;position:sticky}.collapseSidebarButtonIcon_Iseg{margin-top:4px;transform:rotate(180deg)}.expandButtonIcon_i1dp,[dir=rtl] .collapseSidebarButtonIcon_Iseg{transform:rotate(0)}.collapseSidebarButton_JQG6:focus,.collapseSidebarButton_JQG6:hover,.expandButton_TmdG:focus,.expandButton_TmdG:hover{background-color:var(--docusaurus-collapse-button-bg-hover)}.menuHtmlItem_M9Kj{padding:var(--ifm-menu-link-padding-vertical) var(--ifm-menu-link-padding-horizontal)}.menu_Y1UP{flex-grow:1;padding:.5rem}@supports (scrollbar-gutter:stable){.menu_Y1UP{padding:.5rem 0 .5rem .5rem;scrollbar-gutter:stable}}.menuWithAnnouncementBar_fPny{margin-bottom:var(--docusaurus-announcement-bar-height)}.sidebar_mhZE{display:flex;flex-direction:column;height:100%;padding-top:var(--ifm-navbar-height);width:var(--doc-sidebar-width)}.sidebarWithHideableNavbar__6UL{padding-top:0}.sidebarHidden__LRd{opacity:0;visibility:hidden}.sidebarLogo_F_0z{align-items:center;color:inherit!important;display:flex!important;margin:0 var(--ifm-navbar-padding-horizontal);max-height:var(--ifm-navbar-height);min-height:var(--ifm-navbar-height);-webkit-text-decoration:none!important;text-decoration:none!important}.sidebarLogo_F_0z img{height:2rem;margin-right:.5rem}.expandButton_TmdG{align-items:center;display:flex;height:100%;justify-content:center;position:absolute;right:0;top:0;transition:background-color var(--ifm-transition-fast) ease;width:100%}[dir=rtl] .expandButtonIcon_i1dp{transform:rotate(180deg)}.docSidebarContainer_YfHR{border-right:1px solid var(--ifm-toc-border-color);clip-path:inset(0);display:block;margin-top:calc(var(--ifm-navbar-height)*-1);transition:width var(--ifm-transition-fast) ease;width:var(--doc-sidebar-width);will-change:width}.docSidebarContainerHidden_DPk8{cursor:pointer;width:var(--doc-sidebar-hidden-width)}.sidebarViewport_aRkj{height:100%;max-height:100vh;position:sticky;top:0}.docMainContainer_TBSr{flex-grow:1;max-width:calc(100% - var(--doc-sidebar-width))}.docMainContainerEnhanced_lQrH{max-width:calc(100% - var(--doc-sidebar-hidden-width))}.docItemWrapperEnhanced_JWYK{max-width:calc(var(--ifm-container-width) + var(--doc-sidebar-width))!important}.navbarSearchContainer_dCNk{padding:0 var(--ifm-navbar-item-padding-horizontal)}.lastUpdated_JAkA{text-align:right}.tocMobile_ITEo{display:none}.docItemCol_z5aJ{max-width:75%!important}}@media (min-width:1440px){.container{max-width:var(--ifm-container-width-xl)}}@media (max-width:1200px){.premium-blocks{width:90%}}@media (max-width:1100px){.premium-blocks{grid-template-columns:repeat(3,1fr)}}@media (max-width:1050px){.premium-faq details{width:80%}}@media (max-width:1000px){.navbar-sidebar__item.menu{padding-top:50px}.navbar-sidebar .navbar-sidebar__brand{padding-top:16px}.premium-blocks{grid-template-columns:repeat(3,1fr)}.navbar{padding:2px 0}.navbar__logo{height:30px}.navbar .navbar__brand{margin-left:0}.navbar .navbar__inner{padding:16px}.navbar-line{top:65.5px}.navbar__search-input{width:100%!important}.algolia-autocomplete.algolia-autocomplete-left{position:static!important}.algolia-autocomplete.algolia-autocomplete-left .ds-dropdown-menu{left:0!important;position:relative!important;top:-6px!important}.algolia-autocomplete.algolia-autocomplete-left .ds-dropdown-menu:before{left:1rem}.algolia-autocomplete.algolia-autocomplete-left .ds-dropdown-menu:not(:has(.ds-suggestion)):before{display:none}}@media (max-width:996px){.col{--ifm-col-width:100%;flex-basis:var(--ifm-col-width);margin-left:0}.footer{--ifm-footer-padding-horizontal:0}.colorModeToggle_x44X,.footer__link-separator,.navbar__item,.tableOfContents_bqdL{display:none}.footer__col{margin-bottom:calc(var(--ifm-spacing-vertical)*3)}.footer__link-item{display:block;width:max-content}.hero{padding-left:0;padding-right:0}.navbar>.container,.navbar>.container-fluid{padding:0}.navbar__toggle{display:inherit}.navbar__search-input{width:9rem}.pills--block,.tabs--block{flex-direction:column}.navbarSearchContainer_dCNk{position:absolute;right:var(--ifm-navbar-padding-horizontal)}.docItemContainer_F8PC{padding:0 .3rem}}@media (max-width:900px){.display-flex-grid{display:grid}.gap-20-0{gap:0}.column-mobile,.flex-direction-default-column{flex-direction:column}.margin-top-125-0{margin-top:0}.flex-end-center,.flex-start-center,.justify-center-mobile{justify-content:center}.min-width-180-135{min-width:135px}.gap-30-16{gap:16px}.font-30-20{font-size:20px}.padding-right-20-0{padding-right:0}.margin-right-10-6{margin-right:6px}.margin-bottom-16-10{margin-bottom:10px}.width-140-120{width:120px}.margin-right-6-8{margin-right:8px}.padding-side-10-12,.padding-side-16-12{padding-left:12px;padding-right:12px}.padding-top-64-46{padding-top:46}.margin-left-10-0{margin-left:0}.auto-margin-mobile,.block h1,.block h2,.centered-mobile,.centered-mobile-p,.centered-smaller-mobile{margin-left:auto;margin-right:auto}.height-26-21{height:21px}.gap-24-20{gap:20px}.font-20-16{font-size:16px}.font-16-14,.font-20-14{font-size:14px}.hide-desktop{display:flex}.hide-mobile{display:none}.block{padding-top:30px}.block.tropy-before{padding-top:90px}.block .content{max-width:100%}.block .inner{flex-direction:column-reverse;gap:32px}.half p,.text-center-mobile{text-align:center}.block .inner .half{width:100%}.block .inner .half.right{overflow-x:scroll;overflow-y:hidden;scrollbar-width:none}.centered-mobile{width:min(1120px,74%)}.centered-mobile-p{max-width:88%;text-align:center}.centered-smaller-mobile{justify-content:center;width:min(1120px,68%)}.flex-wrap-mobile{flex-wrap:wrap}.grid-2-mobile{grid-template-columns:repeat(2,1fr)}.block h1,.block h2{font-size:26px;font-weight:800;max-width:92%}.framework-icon{height:30px;width:30px}.footer .footer-community-links{margin-top:32px}.hero-img{max-height:300px}}@media (max-width:800px){.premium-blocks,.premium-request iframe{width:100%}.price-calculator{width:96%}.price-calculator-inner{margin-left:2%;width:96%}.price-calculator .field label{width:30%}.price-calculator .field .input{width:65%}.premium-faq details{width:90%}}@media (max-width:700px){.premium-blocks{grid-template-columns:repeat(2,1fr)}.call-to-action .call-to-action-icon{display:contents}.navbar .call-to-action{margin-right:95px}.call-to-action .call-to-action-keyword{display:none}.call-to-action-popup{margin-right:5%;width:90%}}@media (max-width:600px){.samp-wrapper{width:90%}.algolia-autocomplete .ds-dropdown-menu{display:block;left:auto!important;max-height:calc(100% - 5rem);max-width:calc(100% - 2rem);position:fixed!important;right:1rem!important;top:50px!important;width:600px;z-index:100}.algolia-autocomplete .ds-dropdown-menu:before{right:6rem}}@media (max-width:576px){.markdown h1:first-child{--ifm-h1-font-size:2rem}.markdown>h2{--ifm-h2-font-size:1.5rem}.markdown>h3{--ifm-h3-font-size:1.25rem}}@media (max-width:500px){.navbar__search #search_input_react{width:6rem}}@media (max-width:480px){.padding-button{padding:6px 15px}.samp-wrapper{width:93%}}@media (max-width:400px){.tag-cloud-tag{margin:0 10px}}@media (max-width:340px){.navbar .text{padding-right:4px}}@media (hover:hover){.backToTopButton_sjWU:hover{background-color:var(--ifm-color-emphasis-300)}}@media (pointer:fine){.thin-scrollbar{scrollbar-width:thin}.thin-scrollbar::-webkit-scrollbar{height:var(--ifm-scrollbar-size);width:var(--ifm-scrollbar-size)}.thin-scrollbar::-webkit-scrollbar-track{background:var(--ifm-scrollbar-track-background-color);border-radius:10px}.thin-scrollbar::-webkit-scrollbar-thumb{background:var(--ifm-scrollbar-thumb-background-color);border-radius:10px}.thin-scrollbar::-webkit-scrollbar-thumb:hover{background:var(--ifm-scrollbar-thumb-hover-background-color)}}@media (prefers-reduced-motion:reduce){:root{--ifm-transition-fast:0ms;--ifm-transition-slow:0ms}}@media print{.announcementBar_mb4j,.footer,.menu,.navbar,.noPrint_WFHX,.pagination-nav,.table-of-contents,.tocMobile_ITEo{display:none}.tabs{page-break-inside:avoid}}
\ No newline at end of file
diff --git a/docs/assets/js/0027230a.2e976381.js b/docs/assets/js/0027230a.2e976381.js
deleted file mode 100644
index 3851ed6a09c..00000000000
--- a/docs/assets/js/0027230a.2e976381.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[8382],{3520(e,s,n){n.r(s),n.d(s,{assets:()=>l,contentTitle:()=>t,default:()=>h,frontMatter:()=>a,metadata:()=>r,toc:()=>d});const r=JSON.parse('{"id":"rx-storage-lokijs","title":"Empower RxDB with the LokiJS RxStorage","description":"Discover the lightning-fast LokiJS RxStorage for RxDB. Explore in-memory speed, multi-tab support, and pros & cons of this unique storage solution.","source":"@site/docs/rx-storage-lokijs.md","sourceDirName":".","slug":"/rx-storage-lokijs.html","permalink":"/rx-storage-lokijs.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"Empower RxDB with the LokiJS RxStorage","slug":"rx-storage-lokijs.html","description":"Discover the lightning-fast LokiJS RxStorage for RxDB. Explore in-memory speed, multi-tab support, and pros & cons of this unique storage solution."}}');var i=n(4848),o=n(8453);const a={title:"Empower RxDB with the LokiJS RxStorage",slug:"rx-storage-lokijs.html",description:"Discover the lightning-fast LokiJS RxStorage for RxDB. Explore in-memory speed, multi-tab support, and pros & cons of this unique storage solution."},t="RxStorage LokiJS",l={},d=[{value:"Pros",id:"pros",level:3},{value:"Cons",id:"cons",level:3},{value:"Usage",id:"usage",level:2},{value:"Adapters",id:"adapters",level:2},{value:"Multi-Tab support",id:"multi-tab-support",level:2},{value:"Autosave and autoload",id:"autosave-and-autoload",level:2},{value:"Known problems",id:"known-problems",level:2},{value:"Using the internal LokiJS database",id:"using-the-internal-lokijs-database",level:2},{value:"Disabling the non-premium console log",id:"disabling-the-non-premium-console-log",level:2}];function c(e){const s={a:"a",admonition:"admonition",code:"code",figure:"figure",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...(0,o.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s.header,{children:(0,i.jsx)(s.h1,{id:"rxstorage-lokijs",children:"RxStorage LokiJS"})}),"\n",(0,i.jsxs)(s.p,{children:["The LokiJS RxStorage is based on ",(0,i.jsx)(s.a,{href:"https://github.com/techfort/LokiJS",children:"LokiJS"})," which is an ",(0,i.jsx)(s.strong,{children:"in-memory"})," database that processes all data in memory and only saves to disc when the app is closed or an interval is reached. This makes it very fast but you have the possibility to lose seemingly persisted writes when the JavaScript process ends before the persistence loop has been done."]}),"\n",(0,i.jsx)(s.admonition,{title:"LokiJS was removed in RxDB version 16",type:"warning",children:(0,i.jsxs)(s.p,{children:["The LokiJS project itself is no longer in development or maintained and therefore the lokijs RxStorage is ",(0,i.jsx)(s.strong,{children:"removed"}),". There are known bugs like having wrong query results of losing data. LokiJS bugs that occur outside of the RxDB layer will not be fixed and the LokiJS RxStorage was removed in RxDB version 16. Using LokiJS as storage is no longer possible. In production it is recommended to use another ",(0,i.jsx)(s.a,{href:"/rx-storage.html",children:"RxStorage"})," instead. For browsers better use the ",(0,i.jsx)(s.a,{href:"/rx-storage-indexeddb.html",children:"IndexedDB"})," storage. For fast lazy persistence in memory data (similar to how lokijs works) you can use the ",(0,i.jsx)(s.a,{href:"/rx-storage-memory-mapped.html",children:"Memory Mapped"})," storage. If you really need the lokijs RxStorage, you can fork the open-source code from the previous RxDB version."]})}),"\n",(0,i.jsx)(s.h3,{id:"pros",children:"Pros"}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsx)(s.li,{children:"Queries can run faster because all data is processed in memory."}),"\n",(0,i.jsx)(s.li,{children:"It has a much faster initial load time because it loads all data from IndexedDB in a single request. But this is only true for small datasets. If much data must is stored, the initial load time can be higher than on other RxStorage implementations."}),"\n"]}),"\n",(0,i.jsx)(s.h3,{id:"cons",children:"Cons"}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsx)(s.li,{children:"It does not support attachments."}),"\n",(0,i.jsx)(s.li,{children:"Data can be lost when the JavaScript process is killed ungracefully like when the browser crashes or the power of the PC is terminated."}),"\n",(0,i.jsx)(s.li,{children:"All data must fit into the memory."}),"\n",(0,i.jsxs)(s.li,{children:["Slow initialisation time when used with ",(0,i.jsx)(s.code,{children:"multiInstance: true"})," because it has to await the leader election process."]}),"\n",(0,i.jsxs)(s.li,{children:["Slow initialisation time when really much data is stored inside of the database because it has to parse a big ",(0,i.jsx)(s.code,{children:"JSON"})," string."]}),"\n"]}),"\n",(0,i.jsx)(s.h2,{id:"usage",children:"Usage"}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" createRxDatabase"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" getRxStorageLoki"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/storage-lokijs'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// in the browser, we want to persist data in IndexedDB, so we use the indexeddb adapter."})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" LokiIncrementalIndexedDBAdapter"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" require"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'lokijs/src/incremental-indexeddb-adapter'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'exampledb'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageLoki"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" adapter"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" new"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" LokiIncrementalIndexedDBAdapter"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"()"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" /* "})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * Do not set lokiJS persistence options like autoload and autosave,"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * RxDB will pick proper defaults based on the given adapter"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" })"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,i.jsx)(s.h2,{id:"adapters",children:"Adapters"}),"\n",(0,i.jsxs)(s.p,{children:["LokiJS is based on adapters that determine where to store persistent data. For LokiJS there are adapters for IndexedDB, AWS S3, the NodeJS filesystem or NativeScript.\nFind more about the possible adapters at the ",(0,i.jsx)(s.a,{href:"https://github.com/techfort/LokiJS/blob/master/tutorials/Persistence%20Adapters.md",children:"LokiJS docs"}),". For react native there is also the ",(0,i.jsx)(s.a,{href:"https://github.com/jonnyreeves/loki-async-reference-adapter",children:"loki-async-reference-adapter"}),"."]}),"\n",(0,i.jsx)(s.h2,{id:"multi-tab-support",children:"Multi-Tab support"}),"\n",(0,i.jsxs)(s.p,{children:["When you use plain LokiJS, you cannot build an app that can be used in multiple browser tabs. The reason is that LokiJS loads data in bulk and then only regularly persists the in-memory state to disc. When opened in multiple tabs, it would happen that the LokiJS instances overwrite each other and data is lost.\nWith the RxDB LokiJS-plugin, this problem is fixed with the ",(0,i.jsx)(s.a,{href:"https://github.com/pubkey/broadcast-channel#using-the-leaderelection",children:"LeaderElection"})," module. Between all open tabs, a leading tab is elected and only in this tab a database is created. All other tabs do not run queries against their own database, but instead call the leading tab to send and retrieve data. When the leading tab is closed, a new leader is elected that reopens the database and processes queries. You can disable this by setting ",(0,i.jsx)(s.code,{children:"multiInstance: false"})," when creating the ",(0,i.jsx)(s.code,{children:"RxDatabase"}),"."]}),"\n",(0,i.jsx)(s.h2,{id:"autosave-and-autoload",children:"Autosave and autoload"}),"\n",(0,i.jsxs)(s.p,{children:["When using plain LokiJS, you could set the ",(0,i.jsx)(s.code,{children:"autosave"})," option to ",(0,i.jsx)(s.code,{children:"true"})," to make sure that LokiJS persists the database state after each write into the persistence adapter. Same goes to ",(0,i.jsx)(s.code,{children:"autoload"})," which loads the persisted state on database creation.\nBut RxDB knows better when to persist the database state and when to load it, so it has its own autosave logic. This will ensure that running the persistence handler does not affect the performance of more important tasks. Instead RxDB will always wait until the database is idle and then runs the persistence handler.\nA load of the persisted state is done on database or collection creation and it is ensured that multiple load calls do not run in parallel and interfere with each other or with ",(0,i.jsx)(s.code,{children:"saveDatabase()"})," calls."]}),"\n",(0,i.jsx)(s.h2,{id:"known-problems",children:"Known problems"}),"\n",(0,i.jsxs)(s.p,{children:["When you bundle the LokiJS Plugin with webpack, you might get the error ",(0,i.jsx)(s.code,{children:'Cannot find module "fs"'}),". This is because LokiJS uses a ",(0,i.jsx)(s.code,{children:"require('fs')"})," statement that cannot work in the browser.\nYou can fix that by telling webpack to not resolve the ",(0,i.jsx)(s.code,{children:"fs"})," module with the following block in your webpack config:"]}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"js","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"js","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// in your webpack.config.js"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"{"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" /* ... */"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" resolve"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" fallback"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" fs"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" false"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" /* ... */"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"}"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// Or if you do not have a webpack.config.js like you do with angular,"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// you might fix it by setting the browser field in the package.json"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"{"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" /* ... */"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "browser"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:": {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "fs"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" false"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" /* ... */"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"}"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "})]})})}),"\n",(0,i.jsx)(s.h2,{id:"using-the-internal-lokijs-database",children:"Using the internal LokiJS database"}),"\n",(0,i.jsx)(s.p,{children:"For custom operations, you can access the internal LokiJS database.\nThis is dangerous because you might do changes that are not compatible with RxDB.\nOnly use this when there is no way to achieve your goals via the RxDB API."}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"javascript","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"javascript","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" storageInstance"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" myRxCollection"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".storageInstance;"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" localState"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" storageInstance"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"."}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"internals"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".localState;"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"localState"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"collection"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".insert"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" key"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'foo'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" value"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'bar'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" _deleted"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" false"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" _attachments"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {}"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" _rev"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" '1-62080c42d471e3d2625e49dcca3b8e3e'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" _meta"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" lwt"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" new"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" Date"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"()"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".getTime"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"()"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// manually trigger the save queue because we did a write to the internal loki db. "})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" localState"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"databaseState"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"saveQueue"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".addWrite"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]})]})})}),"\n",(0,i.jsx)(s.h2,{id:"disabling-the-non-premium-console-log",children:"Disabling the non-premium console log"}),"\n",(0,i.jsxs)(s.p,{children:["We want to be transparent with our community, and you'll notice a console message when using the free Loki.js based RxStorage implementation. This message serves to inform you about the availability of faster storage solutions within our ",(0,i.jsx)(s.a,{href:"/premium/",children:"\ud83d\udc51 Premium Plugins"}),". We understand that this might be a minor inconvenience, and we sincerely apologize for that. However, maintaining and improving RxDB requires substantial resources, and our premium users help us ensure its sustainability. If you find value in RxDB and wish to remove this message, we encourage you to explore our premium storage options, which are optimized for professional use and production environments. Thank you for your understanding and support."]}),"\n",(0,i.jsxs)(s.p,{children:["If you already have premium access and want to use the LokiJS ",(0,i.jsx)(s.a,{href:"/rx-storage.html",children:"RxStorage"})," without the log, you can call the ",(0,i.jsx)(s.code,{children:"setPremiumFlag()"})," function to disable the log."]}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"js","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"js","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { setPremiumFlag } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb-premium/plugins/shared'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"setPremiumFlag"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]})]})})})]})}function h(e={}){const{wrapper:s}={...(0,o.R)(),...e.components};return s?(0,i.jsx)(s,{...e,children:(0,i.jsx)(c,{...e})}):c(e)}},8453(e,s,n){n.d(s,{R:()=>a,x:()=>t});var r=n(6540);const i={},o=r.createContext(i);function a(e){const s=r.useContext(o);return r.useMemo(function(){return"function"==typeof e?e(s):{...s,...e}},[s,e])}function t(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:a(e.components),r.createElement(o.Provider,{value:s},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/01684a0a.ac267d98.js b/docs/assets/js/01684a0a.ac267d98.js
deleted file mode 100644
index 00526951e5a..00000000000
--- a/docs/assets/js/01684a0a.ac267d98.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[6616],{7971(e,n,s){s.r(n),s.d(n,{assets:()=>l,contentTitle:()=>t,default:()=>h,frontMatter:()=>i,metadata:()=>r,toc:()=>c});const r=JSON.parse('{"id":"rx-storage-memory-synced","title":"Instant Performance with Memory Synced RxStorage","description":"Accelerate RxDB with in-memory storage replicated to disk. Enjoy instant queries, faster loads, and unstoppable performance for your web apps.","source":"@site/docs/rx-storage-memory-synced.md","sourceDirName":".","slug":"/rx-storage-memory-synced.html","permalink":"/rx-storage-memory-synced.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"Instant Performance with Memory Synced RxStorage","slug":"rx-storage-memory-synced.html","description":"Accelerate RxDB with in-memory storage replicated to disk. Enjoy instant queries, faster loads, and unstoppable performance for your web apps."}}');var a=s(4848),o=s(8453);const i={title:"Instant Performance with Memory Synced RxStorage",slug:"rx-storage-memory-synced.html",description:"Accelerate RxDB with in-memory storage replicated to disk. Enjoy instant queries, faster loads, and unstoppable performance for your web apps."},t="Memory Synced RxStorage",l={},c=[{value:"Pros",id:"pros",level:2},{value:"Cons",id:"cons",level:2},{value:"Usage",id:"usage",level:2},{value:"Options",id:"options",level:2},{value:"Replication and Migration with the memory-synced storage",id:"replication-and-migration-with-the-memory-synced-storage",level:2}];function d(e){const n={a:"a",admonition:"admonition",code:"code",figure:"figure",h1:"h1",h2:"h2",header:"header",li:"li",p:"p",pre:"pre",span:"span",ul:"ul",...(0,o.R)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n.header,{children:(0,a.jsx)(n.h1,{id:"memory-synced-rxstorage",children:"Memory Synced RxStorage"})}),"\n",(0,a.jsxs)(n.p,{children:["The memory synced ",(0,a.jsx)(n.a,{href:"/rx-storage.html",children:"RxStorage"})," is a wrapper around any other RxStorage. The wrapper creates an in-memory storage that is used for query and write operations. This memory instance is replicated with the underlying storage for persistence.\nThe main reason to use this is to improve initial page load and query/write times. This is mostly useful in browser based applications."]}),"\n",(0,a.jsx)(n.h2,{id:"pros",children:"Pros"}),"\n",(0,a.jsxs)(n.ul,{children:["\n",(0,a.jsx)(n.li,{children:"Improves read/write performance because these operations run against the in-memory storage."}),"\n",(0,a.jsx)(n.li,{children:"Decreases initial page load because it load all data in a single bulk request. It even detects if the database is used for the first time and then it does not have to await the creation of the persistent storage."}),"\n"]}),"\n",(0,a.jsx)(n.h2,{id:"cons",children:"Cons"}),"\n",(0,a.jsxs)(n.ul,{children:["\n",(0,a.jsx)(n.li,{children:"It does not support attachments."}),"\n",(0,a.jsxs)(n.li,{children:["When the JavaScript process is killed ungracefully like when the browser crashes or the power of the PC is terminated, it might happen that some memory writes are not persisted to the parent storage. This can be prevented with the ",(0,a.jsx)(n.code,{children:"awaitWritePersistence"})," flag."]}),"\n",(0,a.jsx)(n.li,{children:"This can only be used if all data fits into the memory of the JavaScript process. This is normally not a problem because a browser has much memory these days and plain json document data is not that big."}),"\n",(0,a.jsxs)(n.li,{children:["Because it has to await an initial replication from the parent storage into the memory, initial page load time can increase when much data is already stored. This is likely not a problem when you store less than ",(0,a.jsx)(n.code,{children:"10k"})," documents."]}),"\n",(0,a.jsx)(n.li,{children:"The memory-synced storage itself does not support replication and migration. Instead you have to replicate the underlying parent storage."}),"\n",(0,a.jsxs)(n.li,{children:["The ",(0,a.jsx)(n.code,{children:"memory-synced"})," plugin is part of ",(0,a.jsx)(n.a,{href:"/premium/",children:"RxDB Premium \ud83d\udc51"}),". It is not part of the default RxDB module."]}),"\n"]}),"\n",(0,a.jsx)(n.admonition,{title:"The memory-synced RxStorage was removed in RxDB version 16",type:"note",children:(0,a.jsxs)(n.p,{children:["The ",(0,a.jsx)(n.code,{children:"memory-synced"})," was removed in RxDB version 16. Instead consider using the newer and better ",(0,a.jsx)(n.a,{href:"/rx-storage-memory-mapped.html",children:"memory-mapped RxStorage"})," which has better trade-offs and is easier to configure."]})}),"\n",(0,a.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,a.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,a.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,a.jsxs)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,a.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,a.jsxs)(n.span,{"data-line":"",children:[(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" getRxStorageIndexedDB"})}),"\n",(0,a.jsxs)(n.span,{"data-line":"",children:[(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb-premium/plugins/storage-indexeddb'"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,a.jsxs)(n.span,{"data-line":"",children:[(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" getMemorySyncedRxStorage"})}),"\n",(0,a.jsxs)(n.span,{"data-line":"",children:[(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb-premium/plugins/storage-memory-synced'"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"/**"})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * Here we use the IndexedDB RxStorage as persistence storage."})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * Any other RxStorage can also be used."})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,a.jsxs)(n.span,{"data-line":"",children:[(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" parentStorage"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageIndexedDB"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// wrap the persistent storage with the memory synced one."})}),"\n",(0,a.jsxs)(n.span,{"data-line":"",children:[(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" storage"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" getMemorySyncedRxStorage"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,a.jsxs)(n.span,{"data-line":"",children:[(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" parentStorage"})]}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// create the RxDatabase like you would do with any other RxStorage"})}),"\n",(0,a.jsxs)(n.span,{"data-line":"",children:[(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,a.jsxs)(n.span,{"data-line":"",children:[(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'myDatabase,"})]}),"\n",(0,a.jsxs)(n.span,{"data-line":"",children:[(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"/** ... **/"})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:" "})]})})}),"\n",(0,a.jsx)(n.h2,{id:"options",children:"Options"}),"\n",(0,a.jsx)(n.p,{children:"Some options can be provided to fine tune the performance and behavior."}),"\n",(0,a.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,a.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,a.jsxs)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,a.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,a.jsxs)(n.span,{"data-line":"",children:[(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" requestIdlePromise"})}),"\n",(0,a.jsxs)(n.span,{"data-line":"",children:[(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb'"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,a.jsxs)(n.span,{"data-line":"",children:[(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" storage"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" getMemorySyncedRxStorage"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,a.jsxs)(n.span,{"data-line":"",children:[(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" parentStorage"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * Defines how many document"})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * get replicated in a single batch."})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * [default=50]"})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * "})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * (optional)"})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,a.jsxs)(n.span,{"data-line":"",children:[(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" batchSize"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 50"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * By default, the parent storage will be created without indexes for a faster page load."})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * Indexes are not needed because the queries will anyway run on the memory storage."})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * You can disable this behavior by setting keepIndexesOnParent to true."})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * If you use the same parent storage for multiple RxDatabase instances where one is not"})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * a asynced-memory storage, you will get the error: 'schema not equal to existing storage'"})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * if you do not set keepIndexesOnParent to true."})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * "})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * (optional)"})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,a.jsxs)(n.span,{"data-line":"",children:[(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" keepIndexesOnParent"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" true"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * If set to true, all write operations will resolve AFTER the writes"})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * have been persisted from the memory to the parentStorage."})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * This ensures writes are not lost even if the JavaScript process exits"})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * between memory writes and the persistence interval."})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * default=false"})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,a.jsxs)(n.span,{"data-line":"",children:[(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" awaitWritePersistence"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" true"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * After a write, await until the return value of this method resolves"})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * before replicating with the master storage."})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * "})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * By returning requestIdlePromise() we can ensure that the CPU is idle"})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * and no other, more important operation is running. By doing so we can be sure"})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * that the replication does not slow down any rendering of the browser process."})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * "})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * (optional)"})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,a.jsxs)(n.span,{"data-line":"",children:[(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" waitBeforePersist"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" () "}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" requestIdlePromise"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,a.jsx)(n.h2,{id:"replication-and-migration-with-the-memory-synced-storage",children:"Replication and Migration with the memory-synced storage"}),"\n",(0,a.jsxs)(n.p,{children:["The memory-synced storage itself does not support replication and migration. Instead you have to replicate the underlying parent storage.\nFor example when you use it on top of an ",(0,a.jsx)(n.a,{href:"/rx-storage-indexeddb.html",children:"IndexedDB storage"}),", you have to run replication on that storage instead by creating a different ",(0,a.jsx)(n.a,{href:"/rx-database.html",children:"RxDatabase"}),"."]}),"\n",(0,a.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,a.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"js","data-theme":"css-variables",children:(0,a.jsxs)(n.code,{"data-language":"js","data-theme":"css-variables",style:{display:"grid"},children:[(0,a.jsxs)(n.span,{"data-line":"",children:[(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" parentStorage"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageIndexedDB"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,a.jsxs)(n.span,{"data-line":"",children:[(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" memorySyncedStorage"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" getMemorySyncedRxStorage"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,a.jsxs)(n.span,{"data-line":"",children:[(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" parentStorage"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,a.jsxs)(n.span,{"data-line":"",children:[(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" keepIndexesOnParent"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" true"})]}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,a.jsxs)(n.span,{"data-line":"",children:[(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" databaseName"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'mydata'"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"/**"})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * Create a parent database with the same name+collections"})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * and use it for replication and migration."})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * The parent database must be created BEFORE the memory-synced database"})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * to ensure migration has already been run."})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,a.jsxs)(n.span,{"data-line":"",children:[(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" parentDatabase"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,a.jsxs)(n.span,{"data-line":"",children:[(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" databaseName"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,a.jsxs)(n.span,{"data-line":"",children:[(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" parentStorage"})]}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,a.jsxs)(n.span,{"data-line":"",children:[(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" parentDatabase"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".addCollections"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"/* ... */"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,a.jsxs)(n.span,{"data-line":"",children:[(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:"replicateRxCollection"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,a.jsxs)(n.span,{"data-line":"",children:[(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" collection"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" parentDatabase"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:".myCollection"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /* ... */"})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"/**"})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * Create an equal memory-synced database with the same name+collections"})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * and use it for writes and queries."})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,a.jsxs)(n.span,{"data-line":"",children:[(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" memoryDatabase"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,a.jsxs)(n.span,{"data-line":"",children:[(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" databaseName"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,a.jsxs)(n.span,{"data-line":"",children:[(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" memorySyncedStorage"})]}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,a.jsxs)(n.span,{"data-line":"",children:[(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" memoryDatabase"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".addCollections"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"/* ... */"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:");"})]})]})})})]})}function h(e={}){const{wrapper:n}={...(0,o.R)(),...e.components};return n?(0,a.jsx)(n,{...e,children:(0,a.jsx)(d,{...e})}):d(e)}},8453(e,n,s){s.d(n,{R:()=>i,x:()=>t});var r=s(6540);const a={},o=r.createContext(a);function i(e){const n=r.useContext(o);return r.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function t(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:i(e.components),r.createElement(o.Provider,{value:n},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/01a106d5.2ac15d82.js b/docs/assets/js/01a106d5.2ac15d82.js
deleted file mode 100644
index 8da482e7cd2..00000000000
--- a/docs/assets/js/01a106d5.2ac15d82.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[5423],{3247(e,s,n){n.d(s,{g:()=>i});var r=n(4848);function i(e){const s=[];let n=null;return e.children.forEach(e=>{e.props.id?(n&&s.push(n),n={headline:e,paragraphs:[]}):n&&n.paragraphs.push(e)}),n&&s.push(n),(0,r.jsx)("div",{style:o.stepsContainer,children:s.map((e,s)=>(0,r.jsxs)("div",{style:o.stepWrapper,children:[(0,r.jsxs)("div",{style:o.stepIndicator,children:[(0,r.jsx)("div",{style:o.stepNumber,children:s+1}),(0,r.jsx)("div",{style:o.verticalLine})]}),(0,r.jsxs)("div",{style:o.stepContent,children:[(0,r.jsx)("div",{children:e.headline}),e.paragraphs.map((e,s)=>(0,r.jsx)("div",{style:o.item,children:e},s))]})]},s))})}const o={stepsContainer:{display:"flex",flexDirection:"column"},stepWrapper:{display:"flex",alignItems:"stretch",marginBottom:"1.5rem",position:"relative",minWidth:0},stepIndicator:{position:"relative",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"flex-start",width:"33px",marginRight:"1rem",minWidth:0},stepNumber:{width:"33px",height:"33px",borderRadius:"50%",backgroundColor:"var(--color-top)",color:"#fff",display:"flex",alignItems:"center",justifyContent:"center",fontWeight:"bold",marginTop:-4},verticalLine:{position:"absolute",top:29,bottom:"0",left:"50%",width:"1px",background:"linear-gradient(to bottom, var(--color-top) 0%, var(--color-top) 80%, rgba(0,0,0,0) 100%)",transform:"translateX(-50%)"},stepContent:{flex:1,minWidth:0,overflowWrap:"break-word"},item:{marginTop:"0.5rem"}}},7450(e,s,n){n.r(s),n.d(s,{assets:()=>c,contentTitle:()=>t,default:()=>p,frontMatter:()=>l,metadata:()=>r,toc:()=>d});const r=JSON.parse('{"id":"react","title":"React","description":"RxDB provides first-class support for both React and React Native via a dedicated React integration. This integration makes it possible to use RxDB inside functional components using React Context and hooks, without manually subscribing to observables or managing cleanup logic.","source":"@site/docs/react.md","sourceDirName":".","slug":"/react.html","permalink":"/react.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"React","slug":"react.html"},"sidebar":"tutorialSidebar","previous":{"title":"Third Party Plugins","permalink":"/third-party-plugins.html"},"next":{"title":"RxStorage Performance","permalink":"/rx-storage-performance.html"}}');var i=n(4848),o=n(8453),a=(n(2636),n(3247));const l={title:"React",slug:"react.html"},t="React",c={},d=[{value:"General concept",id:"general-concept",level:2},{value:"Usage",id:"usage",level:2},{value:"Installation",id:"installation",level:3},{value:"Database creation",id:"database-creation",level:3},{value:"Providing the database",id:"providing-the-database",level:3},{value:"Accessing collections",id:"accessing-collections",level:3},{value:"Queries",id:"queries",level:3},{value:"Live queries",id:"live-queries",level:3},{value:"React Native compatibility",id:"react-native-compatibility",level:2},{value:"Signals",id:"signals",level:2},{value:"Follow Up",id:"follow-up",level:2}];function h(e){const s={a:"a",code:"code",figure:"figure",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...(0,o.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s.header,{children:(0,i.jsx)(s.h1,{id:"react",children:"React"})}),"\n",(0,i.jsx)(s.p,{children:"RxDB provides first-class support for both React and React Native via a dedicated React integration. This integration makes it possible to use RxDB inside functional components using React Context and hooks, without manually subscribing to observables or managing cleanup logic."}),"\n",(0,i.jsxs)(s.p,{children:["The same APIs work in ",(0,i.jsx)(s.strong,{children:"React"})," for the web and in ",(0,i.jsx)(s.a,{href:"/react-native-database.html",children:"React Native"}),". The only difference between platforms is the storage and environment setup. The React integration itself behaves identically in both."]}),"\n",(0,i.jsx)(s.h2,{id:"general-concept",children:"General concept"}),"\n",(0,i.jsx)(s.p,{children:"RxDB is internally reactive and emits changes via RxJS observables. React and React Native, however, are render-driven frameworks that rely on component state and hooks. The RxDB React integration bridges these two models by exposing a small set of hooks that translate RxDB state into React renders."}),"\n",(0,i.jsx)(s.p,{children:"Instead of hiding reactivity behind configuration flags, the integration uses explicit hooks. This makes component behavior predictable, avoids accidental subscriptions, and keeps performance characteristics easy to reason about."}),"\n",(0,i.jsx)(s.h2,{id:"usage",children:"Usage"}),"\n",(0,i.jsxs)(a.g,{children:[(0,i.jsx)(s.h3,{id:"installation",children:"Installation"}),(0,i.jsx)(s.p,{children:"Install RxDB and React as usual:"}),(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"bash","data-theme":"css-variables",children:(0,i.jsx)(s.code,{"data-language":"bash","data-theme":"css-variables",style:{display:"grid"},children:(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"npm"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string)"},children:" install"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string)"},children:" rxdb"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string)"},children:" react"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string)"},children:" react-dom"})]})})})}),(0,i.jsx)(s.h3,{id:"database-creation",children:"Database creation"}),(0,i.jsx)(s.p,{children:"Database creation is not part of the React integration itself. RxDB is created in the same way as in non-React applications, including storage selection, plugins, replication, hooks, and schema definitions."}),(0,i.jsx)(s.p,{children:"This separation is intentional. React components should never be responsible for creating or configuring the database. They should only consume it."}),(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" createRxDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" addRxPlugin"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" getRxStorageLocalstorage"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/storage-localstorage'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"async"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" function"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"() {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'heroesreactdb'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageLocalstorage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"()"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" });"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".addCollections"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" heroes"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" schema"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" myRxSchema"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" });"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * Do other stuff here"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * like setting up middleware"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * or starting replication."})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" db;"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"}"})})]})})}),(0,i.jsx)(s.h3,{id:"providing-the-database",children:"Providing the database"}),(0,i.jsxs)(s.p,{children:["To use RxDB in a React or React Native application, the database instance must be provided via a context. This is done using ",(0,i.jsx)(s.code,{children:"RxDatabaseProvider"}),"."]}),(0,i.jsx)(s.p,{children:"The database itself is created outside of React, usually in a separate module. The provider is only responsible for making the database available to components once it has been initialized."}),(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"tsx","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"tsx","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" React"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { useEffect"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" useState } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'react'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { RxDatabaseProvider } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/react'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { getDatabase } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" './Database'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" App"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" () "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ["}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"database"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" setDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"] "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" useState"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" useEffect"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(() "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" initDb"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" async"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" () "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" setDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(db);"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" };"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" initDb"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" []);"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" if"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" (database "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" null"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:") {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" <"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"span"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:">"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" Loading <"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"a"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" href"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:'"https://rxdb.info/react.html"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:">RxDB"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"a"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"> database..."})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"span"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:">;"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ("})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" <"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"RxDatabaseProvider"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" database"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"{database}>"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"/* your application */"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"}"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"RxDatabaseProvider"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:">"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" );"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"};"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"export"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" default"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" App;"})]})]})})}),(0,i.jsx)(s.h3,{id:"accessing-collections",children:"Accessing collections"}),(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { useRxCollection } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/react'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" collection"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" useRxCollection"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'heroes'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})]})]})})}),(0,i.jsxs)(s.p,{children:["The hook returns the collection once it becomes available. During the initial render, the value may be ",(0,i.jsx)(s.code,{children:"undefined"}),", so components must handle this case."]}),(0,i.jsx)(s.p,{children:"This hook does not subscribe to any data. It only provides access to the collection instance."}),(0,i.jsx)(s.h3,{id:"queries",children:"Queries"}),(0,i.jsxs)(s.p,{children:["To render query results in your component, use the ",(0,i.jsx)(s.code,{children:"useRxQuery"})," hook."]}),(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"tsx","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"tsx","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { useRxQuery } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/react'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" query"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" collection"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'heroes'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" query"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" selector"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {}"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" sort"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" [{ name"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'asc'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }]"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"};"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" HeroCount"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" () "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"results"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" loading"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" useRxQuery"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(query);"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" if"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" (loading) {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" <"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"span"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:">Loading..."}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"span"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:">;"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" <"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"span"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:">Total heroes: {"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"results"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"."}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"length"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"}"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"span"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:">;"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"};"})})]})})}),(0,i.jsx)(s.p,{children:"The query is executed when the component renders. If the component re-renders, the query may be re-executed, but changes in the underlying data will not automatically trigger updates."}),(0,i.jsx)(s.p,{children:"This hook is well suited for static views, server-side rendering, and cases where live updates are not required."}),(0,i.jsx)(s.h3,{id:"live-queries",children:"Live queries"}),(0,i.jsxs)(s.p,{children:["Most React applications require views that automatically update when the database changes. For this purpose, RxDB provides the ",(0,i.jsx)(s.code,{children:"useLiveRxQuery"})," hook."]}),(0,i.jsx)(s.p,{children:"The hook accepts a query description object and returns the current results together with a loading state."}),(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"tsx","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"tsx","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { useLiveRxQuery } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/react'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" query"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" collection"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'heroes'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" query"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" selector"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {}"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" sort"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" [{ name"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'asc'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }]"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"};"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" HeroList"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" () "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"results"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" loading"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" useLiveRxQuery"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(query);"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" if"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" (loading) {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" <"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"span"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:">Loading..."}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"span"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:">;"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ("})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" <"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"ul"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:">"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"results"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".map"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(hero "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ("})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" <"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"li"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" key"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"{"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"hero"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".name}>{"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"hero"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".name}"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"li"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:">"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ))}"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"ul"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:">"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" );"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"};"})})]})})}),(0,i.jsx)(s.p,{children:"The component automatically re-renders whenever the query result changes. Subscriptions are created when the component mounts and are cleaned up automatically when the component unmounts."}),(0,i.jsx)(s.p,{children:"The returned documents are fully reactive RxDB documents and can be modified or removed directly."})]}),"\n",(0,i.jsx)(s.h2,{id:"react-native-compatibility",children:"React Native compatibility"}),"\n",(0,i.jsx)(s.p,{children:"All hooks and providers described on this page work the same way in React Native. The React integration does not rely on any browser-specific APIs."}),"\n",(0,i.jsx)(s.p,{children:"The only platform-specific part of a React Native setup is database creation, where a different storage plugin is typically used. Once the database is created, the React integration behaves identically."}),"\n",(0,i.jsx)(s.h2,{id:"signals",children:"Signals"}),"\n",(0,i.jsxs)(s.p,{children:["In addition to the React hooks shown on this page, RxDB also supports alternative reactivity models such as ",(0,i.jsx)(s.a,{href:"/reactivity.html#react",children:"signals"}),". RxDB's core reactivity system can be configured to expose reactive values using different primitives instead of RxJS observables, which makes it possible to integrate RxDB with signal-based approaches in React or other frameworks. This is an advanced capability and is independent of the React integration described here. For more details about how RxDB's reactivity system works and how custom reactivity can be configured, see the ",(0,i.jsx)(s.a,{href:"/reactivity.html",children:"Reactivity documentation"}),"."]}),"\n",(0,i.jsx)(s.h2,{id:"follow-up",children:"Follow Up"}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:["\n",(0,i.jsxs)(s.p,{children:["RxDB includes a full ",(0,i.jsx)(s.a,{href:"https://github.com/pubkey/rxdb/tree/master/examples/react",children:"React example application"})," that demonstrates the patterns described on this page, including database creation outside of React, usage of ",(0,i.jsx)(s.code,{children:"RxDatabaseProvider"}),", and data access via ",(0,i.jsx)(s.code,{children:"useRxQuery"}),", ",(0,i.jsx)(s.code,{children:"useLiveRxQuery"}),", and `useRxCollection."]}),"\n"]}),"\n",(0,i.jsxs)(s.li,{children:["\n",(0,i.jsxs)(s.p,{children:["A corresponding ",(0,i.jsx)(s.a,{href:"https://github.com/pubkey/rxdb/tree/master/examples/react-native",children:"React Native example"})," is also available and shows the same integration concepts applied in a mobile environment, with only the platform-specific storage and setup differing."]}),"\n"]}),"\n"]})]})}function p(e={}){const{wrapper:s}={...(0,o.R)(),...e.components};return s?(0,i.jsx)(s,{...e,children:(0,i.jsx)(h,{...e})}):h(e)}},8453(e,s,n){n.d(s,{R:()=>a,x:()=>l});var r=n(6540);const i={},o=r.createContext(i);function a(e){const s=r.useContext(o);return r.useMemo(function(){return"function"==typeof e?e(s):{...s,...e}},[s,e])}function l(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:a(e.components),r.createElement(o.Provider,{value:s},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/03e37916.82c0454b.js b/docs/assets/js/03e37916.82c0454b.js
deleted file mode 100644
index fd427026789..00000000000
--- a/docs/assets/js/03e37916.82c0454b.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[6465],{5522(e,n,t){t.r(n),t.d(n,{assets:()=>l,contentTitle:()=>r,default:()=>d,frontMatter:()=>o,metadata:()=>s,toc:()=>c});const s=JSON.parse('{"id":"transactions-conflicts-revisions","title":"Transactions, Conflicts and Revisions","description":"Learn RxDB\'s approach to local and replication conflicts. Discover how incremental writes and custom handlers keep your app stable and efficient.","source":"@site/docs/transactions-conflicts-revisions.md","sourceDirName":".","slug":"/transactions-conflicts-revisions.html","permalink":"/transactions-conflicts-revisions.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"Transactions, Conflicts and Revisions","slug":"transactions-conflicts-revisions.html","description":"Learn RxDB\'s approach to local and replication conflicts. Discover how incremental writes and custom handlers keep your app stable and efficient."},"sidebar":"tutorialSidebar","previous":{"title":"RxServer Scaling","permalink":"/rx-server-scaling.html"},"next":{"title":"Query Cache","permalink":"/query-cache.html"}}');var i=t(4848),a=t(8453);const o={title:"Transactions, Conflicts and Revisions",slug:"transactions-conflicts-revisions.html",description:"Learn RxDB's approach to local and replication conflicts. Discover how incremental writes and custom handlers keep your app stable and efficient."},r="Transactions, Conflicts and Revisions",l={},c=[{value:"Why RxDB does not have transactions",id:"why-rxdb-does-not-have-transactions",level:2},{value:"Revisions",id:"revisions",level:2},{value:"Conflicts",id:"conflicts",level:2},{value:"Local conflicts",id:"local-conflicts",level:3},{value:"Replication conflicts",id:"replication-conflicts",level:2},{value:"Custom conflict handler",id:"custom-conflict-handler",level:2}];function h(e){const n={a:"a",blockquote:"blockquote",code:"code",figure:"figure",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...(0,a.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.header,{children:(0,i.jsx)(n.h1,{id:"transactions-conflicts-and-revisions",children:"Transactions, Conflicts and Revisions"})}),"\n",(0,i.jsx)(n.p,{children:"In contrast to most SQL databases, RxDB does not have the concept of relational, ACID transactions. Instead, RxDB has to apply different techniques that better suit the offline-first, client side world where it is not possible to create a transaction between multiple maybe-offline client devices."}),"\n",(0,i.jsx)(n.h2,{id:"why-rxdb-does-not-have-transactions",children:"Why RxDB does not have transactions"}),"\n",(0,i.jsxs)(n.p,{children:["When talking about transactions, we mean ",(0,i.jsx)(n.a,{href:"https://en.wikipedia.org/wiki/ACID",children:"ACID transactions"})," that guarantee the properties of atomicity, consistency, isolation and durability.\nWith an ACID transaction you can mutate data dependent on the current state of the database. It is ensured that no other database operations happen in between your transaction and after the transaction has finished, it is guaranteed that the new data is actually written to the disc."]}),"\n",(0,i.jsxs)(n.p,{children:["To implement ACID transactions on a ",(0,i.jsx)(n.strong,{children:"single server"}),", the database has to keep track on who is running transactions and then schedule these transactions so that they can run in isolation."]}),"\n",(0,i.jsxs)(n.p,{children:["As soon as you have to split your database on ",(0,i.jsx)(n.strong,{children:"multiple servers"}),", transaction handling becomes way more difficult. The servers have to communicate with each other to find a consensus about which transaction can run and which has to wait. Network connections might break, or one server might complete its part of the transaction and then be required to roll back its changes because of an error on another server."]}),"\n",(0,i.jsxs)(n.p,{children:["But with RxDB you have ",(0,i.jsx)(n.strong,{children:"multiple clients"})," that can go randomly online or offline. The users can have different devices and the clock of these devices can go off by any time. To support ACID transactions here, RxDB would have to make the whole world stand still for all clients, while one client is doing a write operation. And even that can only work when all clients are online. Implementing that might be possible, but at the cost of an unpredictable amount of performance loss and not being able to support ",(0,i.jsx)(n.a,{href:"/offline-first.html",children:"offline-first"}),"."]}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsx)(n.p,{children:"A single write operation to a document is the only atomic thing you can do in RxDB."}),"\n"]}),"\n",(0,i.jsx)(n.p,{children:"The benefits of not having to support transactions:"}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsx)(n.li,{children:"Clients can read and write data without blocking each other."}),"\n",(0,i.jsxs)(n.li,{children:["Clients can write data while being ",(0,i.jsx)(n.strong,{children:"offline"})," and then replicate with a server when they are ",(0,i.jsx)(n.strong,{children:"online"})," again, called ",(0,i.jsx)(n.a,{href:"/offline-first.html",children:"offline-first"}),"."]}),"\n",(0,i.jsx)(n.li,{children:"Creating a compatible backend for the replication is easy so that RxDB can replicate with any existing infrastructure."}),"\n",(0,i.jsxs)(n.li,{children:["Optimizations like ",(0,i.jsx)(n.a,{href:"/rx-storage-sharding.html",children:"Sharding"})," can be used."]}),"\n"]}),"\n",(0,i.jsx)(n.h2,{id:"revisions",children:"Revisions"}),"\n",(0,i.jsx)(n.p,{children:"Working without transactions leads to having undefined state when doing multiple database operations at the same time. Most client side databases rely on a last-write-wins strategy on write operations. This might be a viable solution for some cases, but often this leads to strange problems that are hard to debug."}),"\n",(0,i.jsxs)(n.p,{children:["Instead, to ensure that the behavior of RxDB is ",(0,i.jsx)(n.strong,{children:"always predictable"}),", RxDB relies on ",(0,i.jsx)(n.strong,{children:"revisions"})," for version control. Revisions work similar to ",(0,i.jsx)(n.a,{href:"https://martinfowler.com/articles/patterns-of-distributed-systems/lamport-clock.html",children:"Lamport Clocks"}),"."]}),"\n",(0,i.jsxs)(n.p,{children:["Each document is stored together with its revision string, that looks like ",(0,i.jsx)(n.code,{children:"1-9dcca3b8e1a"})," and consists of:"]}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:["The revision height, a number that starts with ",(0,i.jsx)(n.code,{children:"1"})," and is increased with each write to that document."]}),"\n",(0,i.jsx)(n.li,{children:"The database instance token."}),"\n"]}),"\n",(0,i.jsxs)(n.p,{children:["An operation to the RxDB data layer does not only contain the new document data, but also the previous document data with its revision string. If the previous revision matches the revision that is currently stored in the database, the write operation can succeed. If the previous revision is ",(0,i.jsx)(n.strong,{children:"different"})," than the revision that is currently stored in the database, the operation will throw a ",(0,i.jsx)(n.code,{children:"409 CONFLICT"})," error."]}),"\n",(0,i.jsx)(n.h2,{id:"conflicts",children:"Conflicts"}),"\n",(0,i.jsxs)(n.p,{children:["There are two types of conflicts in RxDB, the ",(0,i.jsx)(n.strong,{children:"local conflict"})," and the ",(0,i.jsx)(n.strong,{children:"replication conflict"}),"."]}),"\n",(0,i.jsx)(n.h3,{id:"local-conflicts",children:"Local conflicts"}),"\n",(0,i.jsx)(n.p,{children:"A local conflict can happen when a write operation assumes a different previous document state, than what is currently stored in the database. This can happen when multiple parts of your application do simultaneous writes to the same document. This can happen on a single browser tab, or when multiple tabs write at once or when a write appears while the document gets replicated from a remote server replication."}),"\n",(0,i.jsxs)(n.p,{children:["When a local conflict appears, RxDB will throw a ",(0,i.jsx)(n.code,{children:"409 CONFLICT"})," error. The calling code must then handle the error properly, depending on the application logic."]}),"\n",(0,i.jsxs)(n.p,{children:["Instead of handling local conflicts, in most cases it is easier to ensure that they cannot happen, by using ",(0,i.jsx)(n.code,{children:"incremental"})," database operations like ",(0,i.jsx)(n.a,{href:"/rx-document.html",children:"incrementalModify()"}),", ",(0,i.jsx)(n.a,{href:"/rx-document.html",children:"incrementalPatch()"})," or ",(0,i.jsx)(n.a,{href:"/rx-collection.html",children:"incrementalUpsert()"}),". These write operations have a built-in way to handle conflicts by re-applying the mutation functions to the conflicting document state."]}),"\n",(0,i.jsx)(n.h2,{id:"replication-conflicts",children:"Replication conflicts"}),"\n",(0,i.jsx)(n.p,{children:"A replication conflict appears when multiple clients write to the same documents at once and these documents are then replicated to the backend server."}),"\n",(0,i.jsxs)(n.p,{children:["When you replicate with the ",(0,i.jsx)(n.a,{href:"/replication-graphql.html",children:"Graphql replication"})," and the ",(0,i.jsx)(n.a,{href:"/replication.html",children:"replication primitives"}),", RxDB assumes that conflicts are ",(0,i.jsx)(n.strong,{children:"detected"})," and ",(0,i.jsx)(n.strong,{children:"resolved"})," at the client side."]}),"\n",(0,i.jsxs)(n.p,{children:["When a document is send to the backend and the backend detected a conflict (by comparing revisions or other properties), the backend will respond with the actual document state so that the client can compare this with the local document state and create a new, resolved document state that is then pushed to the server again. You can read more about the replication conflicts ",(0,i.jsx)(n.a,{href:"/replication.html#conflict-handling",children:"here"}),"."]}),"\n",(0,i.jsx)(n.h2,{id:"custom-conflict-handler",children:"Custom conflict handler"}),"\n",(0,i.jsx)(n.p,{children:"A conflict handler is an object with two JavaScript functions:"}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsx)(n.li,{children:"Detect if two document states are equal"}),"\n",(0,i.jsx)(n.li,{children:"Solve existing conflicts"}),"\n"]}),"\n",(0,i.jsx)(n.p,{children:"Because the conflict handler also is used for conflict detection, it will run many times on pull-, push- and write operations of RxDB. Most of the time it will detect that there is no conflict and then return."}),"\n",(0,i.jsxs)(n.p,{children:["Lets have a look at the ",(0,i.jsx)(n.a,{href:"https://github.com/pubkey/rxdb/blob/master/src/replication-protocol/default-conflict-handler.ts",children:"default conflict handler"})," of RxDB to learn how to create a custom one:"]}),"\n",(0,i.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" { deepEqual } "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/utils'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"export"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" defaultConflictHandler"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" RxConflictHandler"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"<"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"any"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"> "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" isEqual"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(a"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" b) {"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * isEqual() is used to detect conflicts or to detect if a"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * document has to be pushed to the remote."})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * If the documents are deep equal,"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * we have no conflict."})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * Because deepEqual is CPU expensive, on your custom conflict handler you might only"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * check some properties, like the updatedAt time or revisions"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * for better performance."})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" deepEqual"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(a"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" b);"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" resolve"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(i) {"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * The default conflict handler will always"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * drop the fork state and use the master state instead."})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * "})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * In your custom conflict handler you likely want to merge properties"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * of the realMasterState and the newDocumentState instead."})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" i"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:".realMasterState;"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"};"})})]})})}),"\n",(0,i.jsxs)(n.p,{children:["To overwrite the default conflict handler, you have to specify a custom ",(0,i.jsx)(n.code,{children:"conflictHandler"})," property when creating a collection with ",(0,i.jsx)(n.code,{children:"addCollections()"}),"."]}),"\n",(0,i.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"js","data-theme":"css-variables",children:(0,i.jsxs)(n.code,{"data-language":"js","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" myCollections"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" myDatabase"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".addCollections"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // key = collectionName"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" humans"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" schema"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" mySchema"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" conflictHandler"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" myCustomConflictHandler"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})})]})}function d(e={}){const{wrapper:n}={...(0,a.R)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(h,{...e})}):h(e)}},8453(e,n,t){t.d(n,{R:()=>o,x:()=>r});var s=t(6540);const i={},a=s.createContext(i);function o(e){const n=s.useContext(a);return s.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function r(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:o(e.components),s.createElement(a.Provider,{value:n},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/045bd6f5.d7543fa1.js b/docs/assets/js/045bd6f5.d7543fa1.js
deleted file mode 100644
index 5f5d4420bd3..00000000000
--- a/docs/assets/js/045bd6f5.d7543fa1.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[4475],{3247(e,r,n){n.d(r,{g:()=>i});var s=n(4848);function i(e){const r=[];let n=null;return e.children.forEach(e=>{e.props.id?(n&&r.push(n),n={headline:e,paragraphs:[]}):n&&n.paragraphs.push(e)}),n&&r.push(n),(0,s.jsx)("div",{style:o.stepsContainer,children:r.map((e,r)=>(0,s.jsxs)("div",{style:o.stepWrapper,children:[(0,s.jsxs)("div",{style:o.stepIndicator,children:[(0,s.jsx)("div",{style:o.stepNumber,children:r+1}),(0,s.jsx)("div",{style:o.verticalLine})]}),(0,s.jsxs)("div",{style:o.stepContent,children:[(0,s.jsx)("div",{children:e.headline}),e.paragraphs.map((e,r)=>(0,s.jsx)("div",{style:o.item,children:e},r))]})]},r))})}const o={stepsContainer:{display:"flex",flexDirection:"column"},stepWrapper:{display:"flex",alignItems:"stretch",marginBottom:"1.5rem",position:"relative",minWidth:0},stepIndicator:{position:"relative",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"flex-start",width:"33px",marginRight:"1rem",minWidth:0},stepNumber:{width:"33px",height:"33px",borderRadius:"50%",backgroundColor:"var(--color-top)",color:"#fff",display:"flex",alignItems:"center",justifyContent:"center",fontWeight:"bold",marginTop:-4},verticalLine:{position:"absolute",top:29,bottom:"0",left:"50%",width:"1px",background:"linear-gradient(to bottom, var(--color-top) 0%, var(--color-top) 80%, rgba(0,0,0,0) 100%)",transform:"translateX(-50%)"},stepContent:{flex:1,minWidth:0,overflowWrap:"break-word"},item:{marginTop:"0.5rem"}}},8453(e,r,n){n.d(r,{R:()=>a,x:()=>t});var s=n(6540);const i={},o=s.createContext(i);function a(e){const r=s.useContext(o);return s.useMemo(function(){return"function"==typeof e?e(r):{...r,...e}},[r,e])}function t(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:a(e.components),s.createElement(o.Provider,{value:r},e.children)}},9978(e,r,n){n.r(r),n.d(r,{assets:()=>d,contentTitle:()=>l,default:()=>p,frontMatter:()=>t,metadata:()=>s,toc:()=>c});const s=JSON.parse('{"id":"encryption","title":"Encryption","description":"Explore RxDB\'s \ud83d\udd12 encryption plugin for enhanced data security in web and native apps, featuring password-based encryption and secure storage.","source":"@site/docs/encryption.md","sourceDirName":".","slug":"/encryption.html","permalink":"/encryption.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"Encryption","slug":"encryption.html","description":"Explore RxDB\'s \ud83d\udd12 encryption plugin for enhanced data security in web and native apps, featuring password-based encryption and secure storage."},"sidebar":"tutorialSidebar","previous":{"title":"Schema Validation","permalink":"/schema-validation.html"},"next":{"title":"Key Compression","permalink":"/key-compression.html"}}');var i=n(4848),o=n(8453),a=n(3247);const t={title:"Encryption",slug:"encryption.html",description:"Explore RxDB's \ud83d\udd12 encryption plugin for enhanced data security in web and native apps, featuring password-based encryption and secure storage."},l="\ud83d\udd12 Encrypted Local Storage with RxDB",d={},c=[{value:"Querying encrypted data",id:"querying-encrypted-data",level:2},{value:"Password handling",id:"password-handling",level:2},{value:"Asymmetric encryption",id:"asymmetric-encryption",level:2},{value:"Using the RxDB Encryption Plugins",id:"using-the-rxdb-encryption-plugins",level:2},{value:"Wrap your RxStorage with the encryption",id:"wrap-your-rxstorage-with-the-encryption",level:3},{value:"Create a RxDatabase with the wrapped storage",id:"create-a-rxdatabase-with-the-wrapped-storage",level:3},{value:"Create an RxCollection with an encrypted property",id:"create-an-rxcollection-with-an-encrypted-property",level:3},{value:"Using Web-Crypto API",id:"using-web-crypto-api",level:2},{value:"Changing the password",id:"changing-the-password",level:2},{value:"Encrypted attachments",id:"encrypted-attachments",level:2},{value:"Encryption and workers",id:"encryption-and-workers",level:2}];function h(e){const r={a:"a",code:"code",figure:"figure",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...(0,o.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(r.header,{children:(0,i.jsx)(r.h1,{id:"-encrypted-local-storage-with-rxdb",children:"\ud83d\udd12 Encrypted Local Storage with RxDB"})}),"\n",(0,i.jsxs)(r.p,{children:["The RxDB encryption plugin empowers developers to fortify their applications' data security. It seamlessly integrates with ",(0,i.jsx)(r.a,{href:"https://rxdb.info/",children:"RxDB"}),", allowing for the secure storage and retrieval of documents by ",(0,i.jsx)(r.strong,{children:"encrypting them with a password"}),". With encryption and decryption processes handled internally, it ensures that sensitive data remains confidential, making it a valuable tool for building robust, privacy-conscious applications. The encryption works on all RxDB supported devices types like the ",(0,i.jsx)(r.strong,{children:"browser"}),", ",(0,i.jsx)(r.strong,{children:"ReactNative"})," or ",(0,i.jsx)(r.strong,{children:"Node.js"}),"."]}),"\n",(0,i.jsx)("p",{align:"center",children:(0,i.jsx)("img",{src:"./files/icons/with-gradient/storage-layer.svg",alt:"Encryption Storage Layer",height:"60"})}),"\n",(0,i.jsx)(r.p,{children:"Encrypting client-side stored data in RxDB offers numerous advantages:"}),"\n",(0,i.jsxs)(r.ul,{children:["\n",(0,i.jsxs)(r.li,{children:[(0,i.jsx)(r.strong,{children:"Enhanced Security"}),": In the unfortunate event of a user's device being stolen, the encrypted data remains safeguarded on the hard drive, inaccessible without the correct password."]}),"\n",(0,i.jsxs)(r.li,{children:[(0,i.jsx)(r.strong,{children:"Access Control"}),": You can retain control over stored data by revoking access at any time simply by withholding the password."]}),"\n",(0,i.jsxs)(r.li,{children:[(0,i.jsx)(r.strong,{children:"Tamper proof"})," Other applications on the device cannot read out the stored data when the password is only kept in the process-specific memory"]}),"\n"]}),"\n",(0,i.jsx)(r.h2,{id:"querying-encrypted-data",children:"Querying encrypted data"}),"\n",(0,i.jsxs)(r.p,{children:["RxDB handles the encryption and decryption of data internally. This means that when you work with a RxDocument, you can access the properties of the document just like you would with normal, unencrypted data. RxDB automatically decrypts the data for you when you retrieve it, making it transparent to your application code.\nThis means the encryption works with all ",(0,i.jsx)(r.a,{href:"/rx-storage.html",children:"RxStorage"})," like ",(0,i.jsx)(r.strong,{children:"SQLite"}),", ",(0,i.jsx)(r.strong,{children:"IndexedDB"}),", ",(0,i.jsx)(r.strong,{children:"OPFS"})," and so on."]}),"\n",(0,i.jsxs)(r.p,{children:["However, there's a limitation when it comes to querying encrypted fields. ",(0,i.jsx)(r.strong,{children:"Encrypted fields cannot be used as operators in queries"}),'. This means you cannot perform queries like "find all documents where the encrypted field equals a certain value." RxDB does not expose the encrypted data in a way that allows direct querying based on the encrypted content. To filter or search for documents based on the contents of encrypted fields, you would need to first decrypt the data and then perform the query, which might not be efficient or practical in some cases.\nYou could however use the ',(0,i.jsx)(r.a,{href:"/rx-storage-memory-mapped.html",children:"memory mapped"})," RxStorage to replicate the encrypted documents into a non-encrypted in-memory storage and then query them like normal."]}),"\n",(0,i.jsx)(r.h2,{id:"password-handling",children:"Password handling"}),"\n",(0,i.jsx)(r.p,{children:"RxDB does not define how you should store or retrieve the encryption password. It only requires you to provide the password on database creation which grants you flexibility in how you manage encryption passwords.\nYou could ask the user on app-start to insert the password, or you can retrieve the password from your backend on app start (or revoke access by no longer providing the password)."}),"\n",(0,i.jsx)(r.h2,{id:"asymmetric-encryption",children:"Asymmetric encryption"}),"\n",(0,i.jsxs)(r.p,{children:["The encryption plugin itself uses ",(0,i.jsx)(r.strong,{children:"symmetric encryption"})," with a password to guarantee best performance when reading and storing data.\nIt is not able to do ",(0,i.jsx)(r.strong,{children:"Asymmetric encryption"})," by itself. If you need Asymmetric encryption with a private/publicKey, it is recommended to encrypted the password itself with the asymmetric keys and store the encrypted password beside the other data. On app-start you can decrypt the password with the private key and use the decrypted password in the RxDB encryption plugin"]}),"\n",(0,i.jsx)(r.h2,{id:"using-the-rxdb-encryption-plugins",children:"Using the RxDB Encryption Plugins"}),"\n",(0,i.jsx)(r.p,{children:"RxDB currently has two plugins for encryption:"}),"\n",(0,i.jsxs)(r.ul,{children:["\n",(0,i.jsxs)(r.li,{children:["The free ",(0,i.jsx)(r.code,{children:"encryption-crypto-js"})," plugin that is based on the ",(0,i.jsx)(r.code,{children:"AES"})," algorithm of the ",(0,i.jsx)(r.a,{href:"https://www.npmjs.com/package/crypto-js",children:"crypto-js"})," library"]}),"\n",(0,i.jsxs)(r.li,{children:["The ",(0,i.jsx)(r.a,{href:"/premium/",children:"\ud83d\udc51 premium"})," ",(0,i.jsx)(r.code,{children:"encryption-web-crypto"})," plugin that is based on the native ",(0,i.jsx)(r.a,{href:"https://developer.mozilla.org/en-US/docs/Web/API/Web_Crypto_API",children:"Web Crypto API"})," which makes it faster and more secure to use. Document inserts are about 10x faster compared to ",(0,i.jsx)(r.code,{children:"crypto-js"})," and it has a smaller build size because it uses the browsers API instead of bundling an npm module."]}),"\n"]}),"\n",(0,i.jsxs)(r.p,{children:["An RxDB encryption plugin is a wrapper around any other ",(0,i.jsx)(r.a,{href:"/rx-storage.html",children:"RxStorage"}),"."]}),"\n",(0,i.jsxs)(a.g,{children:[(0,i.jsx)(r.h3,{id:"wrap-your-rxstorage-with-the-encryption",children:"Wrap your RxStorage with the encryption"}),(0,i.jsx)(r.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(r.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(r.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(r.span,{"data-line":"",children:[(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsx)(r.span,{"data-line":"",children:(0,i.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" wrappedKeyEncryptionCryptoJsStorage"})}),"\n",(0,i.jsxs)(r.span,{"data-line":"",children:[(0,i.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/encryption-crypto-js'"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(r.span,{"data-line":"",children:[(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" { getRxStorageLocalstorage } "}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/storage-localstorage'"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(r.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(r.span,{"data-line":"",children:(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-comment)"},children:"// wrap the normal storage with the encryption plugin"})}),"\n",(0,i.jsxs)(r.span,{"data-line":"",children:[(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-constant)"},children:" encryptedStorage"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-function)"},children:" wrappedKeyEncryptionCryptoJsStorage"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(r.span,{"data-line":"",children:[(0,i.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageLocalstorage"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"()"})]}),"\n",(0,i.jsx)(r.span,{"data-line":"",children:(0,i.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),(0,i.jsx)(r.h3,{id:"create-a-rxdatabase-with-the-wrapped-storage",children:"Create a RxDatabase with the wrapped storage"}),(0,i.jsxs)(r.p,{children:["Also you have to set a ",(0,i.jsx)(r.strong,{children:"password"})," when creating the database. The format of the password depends on which encryption plugin is used."]}),(0,i.jsx)(r.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(r.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(r.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(r.span,{"data-line":"",children:[(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" { createRxDatabase } "}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/core'"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(r.span,{"data-line":"",children:(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-comment)"},children:"// create an encrypted database"})}),"\n",(0,i.jsxs)(r.span,{"data-line":"",children:[(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(r.span,{"data-line":"",children:[(0,i.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'mydatabase'"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(r.span,{"data-line":"",children:[(0,i.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" encryptedStorage"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(r.span,{"data-line":"",children:[(0,i.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" password"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'sudoLetMeIn'"})]}),"\n",(0,i.jsx)(r.span,{"data-line":"",children:(0,i.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),(0,i.jsx)(r.h3,{id:"create-an-rxcollection-with-an-encrypted-property",children:"Create an RxCollection with an encrypted property"}),(0,i.jsxs)(r.p,{children:["To define a field as being encrypted, you have to add it to the ",(0,i.jsx)(r.code,{children:"encrypted"})," fields list in the schema."]}),(0,i.jsx)(r.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(r.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(r.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(r.span,{"data-line":"",children:[(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-constant)"},children:" schema"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(r.span,{"data-line":"",children:[(0,i.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" version"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-constant)"},children:" 0"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(r.span,{"data-line":"",children:[(0,i.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" primaryKey"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'id'"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(r.span,{"data-line":"",children:[(0,i.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'object'"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(r.span,{"data-line":"",children:[(0,i.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" properties"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(r.span,{"data-line":"",children:[(0,i.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" id"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(r.span,{"data-line":"",children:[(0,i.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(r.span,{"data-line":"",children:[(0,i.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" maxLength"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-constant)"},children:" 100"})]}),"\n",(0,i.jsxs)(r.span,{"data-line":"",children:[(0,i.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(r.span,{"data-line":"",children:[(0,i.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" secret"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(r.span,{"data-line":"",children:[(0,i.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"})]}),"\n",(0,i.jsxs)(r.span,{"data-line":"",children:[(0,i.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(r.span,{"data-line":"",children:[(0,i.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(r.span,{"data-line":"",children:[(0,i.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" required"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" ["}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'id'"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"]"})]}),"\n",(0,i.jsxs)(r.span,{"data-line":"",children:[(0,i.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" encrypted: ["}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'secret'"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"]"})]}),"\n",(0,i.jsx)(r.span,{"data-line":"",children:(0,i.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"};"})}),"\n",(0,i.jsx)(r.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(r.span,{"data-line":"",children:[(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-function)"},children:".addCollections"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(r.span,{"data-line":"",children:[(0,i.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" myDocuments"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsx)(r.span,{"data-line":"",children:(0,i.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" schema"})}),"\n",(0,i.jsx)(r.span,{"data-line":"",children:(0,i.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(r.span,{"data-line":"",children:(0,i.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"})"})})]})})})]}),"\n",(0,i.jsx)(r.h2,{id:"using-web-crypto-api",children:"Using Web-Crypto API"}),"\n",(0,i.jsxs)(r.p,{children:["For professionals, we have the ",(0,i.jsx)(r.code,{children:"web-crypto"})," ",(0,i.jsx)(r.a,{href:"/premium/",children:"\ud83d\udc51 premium"})," plugin which is faster and more secure:"]}),"\n",(0,i.jsx)(r.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(r.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(r.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(r.span,{"data-line":"",children:[(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(r.span,{"data-line":"",children:[(0,i.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" wrappedKeyEncryptionWebCryptoStorage"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(r.span,{"data-line":"",children:(0,i.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" createPassword"})}),"\n",(0,i.jsxs)(r.span,{"data-line":"",children:[(0,i.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb-premium/plugins/encryption-web-crypto'"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(r.span,{"data-line":"",children:[(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" { getRxStorageIndexedDB } "}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb-premium/plugins/storage-indexeddb'"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(r.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(r.span,{"data-line":"",children:(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-comment)"},children:"// wrap the normal storage with the encryption plugin"})}),"\n",(0,i.jsxs)(r.span,{"data-line":"",children:[(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-constant)"},children:" encryptedIndexedDbStorage"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-function)"},children:" wrappedKeyEncryptionWebCryptoStorage"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(r.span,{"data-line":"",children:[(0,i.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageIndexedDB"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"()"})]}),"\n",(0,i.jsx)(r.span,{"data-line":"",children:(0,i.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,i.jsx)(r.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(r.span,{"data-line":"",children:[(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-constant)"},children:" myPasswordObject"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsx)(r.span,{"data-line":"",children:(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-comment)"},children:" // Algorithm can be oneOf: 'AES-CTR' | 'AES-CBC' | 'AES-GCM'"})}),"\n",(0,i.jsxs)(r.span,{"data-line":"",children:[(0,i.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" algorithm"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'AES-CTR'"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(r.span,{"data-line":"",children:[(0,i.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" password"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'myRandomPasswordWithMin8Length'"})]}),"\n",(0,i.jsx)(r.span,{"data-line":"",children:(0,i.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"};"})}),"\n",(0,i.jsx)(r.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(r.span,{"data-line":"",children:(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-comment)"},children:"// create an encrypted database"})}),"\n",(0,i.jsxs)(r.span,{"data-line":"",children:[(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(r.span,{"data-line":"",children:[(0,i.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'mydatabase'"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(r.span,{"data-line":"",children:[(0,i.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" encryptedIndexedDbStorage"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(r.span,{"data-line":"",children:[(0,i.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" password"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" myPasswordObject"})]}),"\n",(0,i.jsx)(r.span,{"data-line":"",children:(0,i.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,i.jsx)(r.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(r.span,{"data-line":"",children:(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-comment)"},children:"/* ... */"})})]})})}),"\n",(0,i.jsx)(r.h2,{id:"changing-the-password",children:"Changing the password"}),"\n",(0,i.jsx)(r.p,{children:"The password is set database specific and it is not possible to change the password of a database. Opening an existing database with a different password will throw an error. To change the password you can either:"}),"\n",(0,i.jsxs)(r.ul,{children:["\n",(0,i.jsxs)(r.li,{children:["Use the ",(0,i.jsx)(r.a,{href:"/migration-storage.html",children:"storage migration plugin"})," to migrate the database state into a new database."]}),"\n",(0,i.jsxs)(r.li,{children:["Store a randomly created meta-password in a different RxDatabase as a value of a ",(0,i.jsx)(r.a,{href:"/rx-local-document.html",children:"local document"}),". Encrypt the meta password with the actual user password and read it out before creating the actual database."]}),"\n"]}),"\n",(0,i.jsx)(r.h2,{id:"encrypted-attachments",children:"Encrypted attachments"}),"\n",(0,i.jsxs)(r.p,{children:["To store the ",(0,i.jsx)(r.a,{href:"/rx-attachment.html",children:"attachments"})," data encrypted, you have to set ",(0,i.jsx)(r.code,{children:"encrypted: true"})," in the ",(0,i.jsx)(r.code,{children:"attachments"})," property of the schema."]}),"\n",(0,i.jsx)(r.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(r.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(r.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(r.span,{"data-line":"",children:[(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-constant)"},children:" mySchema"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(r.span,{"data-line":"",children:[(0,i.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" version"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-constant)"},children:" 0"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(r.span,{"data-line":"",children:[(0,i.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'object'"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(r.span,{"data-line":"",children:[(0,i.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" properties"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsx)(r.span,{"data-line":"",children:(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-comment)"},children:" /* ... */"})}),"\n",(0,i.jsxs)(r.span,{"data-line":"",children:[(0,i.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(r.span,{"data-line":"",children:[(0,i.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" attachments"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(r.span,{"data-line":"",children:[(0,i.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" encrypted"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-constant)"},children:" true"}),(0,i.jsx)(r.span,{style:{color:"var(--shiki-token-comment)"},children:" // if true, the attachment-data will be encrypted with the db-password"})]}),"\n",(0,i.jsx)(r.span,{"data-line":"",children:(0,i.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(r.span,{"data-line":"",children:(0,i.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"};"})})]})})}),"\n",(0,i.jsx)(r.h2,{id:"encryption-and-workers",children:"Encryption and workers"}),"\n",(0,i.jsxs)(r.p,{children:["If you are using ",(0,i.jsx)(r.a,{href:"/rx-storage-worker.html",children:"Worker RxStorage"})," or ",(0,i.jsx)(r.a,{href:"/rx-storage-shared-worker.html",children:"SharedWorker RxStorage"})," with encryption, it's recommended to run encryption inside of the worker. Encryption can be very cpu intensive and would take away CPU-power from the main thread which is the main reason to use workers."]}),"\n",(0,i.jsx)(r.p,{children:"You do not need to worry about setting the password inside of the worker. The password will be set when calling createRxDatabase from the main thread, and will be passed internally to the storage in the worker automatically."})]})}function p(e={}){const{wrapper:r}={...(0,o.R)(),...e.components};return r?(0,i.jsx)(r,{...e,children:(0,i.jsx)(h,{...e})}):h(e)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/0596642b.eee766f7.js b/docs/assets/js/0596642b.eee766f7.js
deleted file mode 100644
index c8291a458c8..00000000000
--- a/docs/assets/js/0596642b.eee766f7.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[7537],{7196(e,i,t){t.r(i),t.d(i,{default:()=>n});var r=t(4586),s=t(8711),c=t(6540),l=t(8141),d=t(4848);function n(){const{siteConfig:e}=(0,r.A)();return(0,c.useEffect)(()=>{(0,l.c)("paid-meeting-link-clicked-starter-pack",100,1)}),(0,d.jsx)(s.A,{title:`Meeting - ${e.title}`,description:"RxDB Meeting Scheduler",children:(0,d.jsx)("main",{children:(0,d.jsxs)("div",{className:"redirectBox",style:{textAlign:"center"},children:[(0,d.jsx)("a",{href:"/",children:(0,d.jsx)("div",{className:"logo",children:(0,d.jsx)("img",{src:"/files/logo/logo_text.svg",alt:"RxDB",width:160})})}),(0,d.jsx)("h1",{children:"RxDB Meeting Scheduler"}),(0,d.jsx)("p",{children:(0,d.jsx)("b",{children:"You will be redirected in a few seconds."})}),(0,d.jsx)("p",{children:(0,d.jsx)("a",{href:"https://rxdb.pipedrive.com/scheduler/LzExD5CX/meeting-starter-pack",children:"Click here"})}),(0,d.jsx)("meta",{httpEquiv:"Refresh",content:"0; url=https://rxdb.pipedrive.com/scheduler/LzExD5CX/meeting-starter-pack"})]})})})}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/08ff000c.3fc1a455.js b/docs/assets/js/08ff000c.3fc1a455.js
deleted file mode 100644
index eb9b5b29df9..00000000000
--- a/docs/assets/js/08ff000c.3fc1a455.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[3916],{8453(e,n,t){t.d(n,{R:()=>o,x:()=>l});var i=t(6540);const r={},s=i.createContext(r);function o(e){const n=i.useContext(s);return i.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function l(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:o(e.components),i.createElement(s.Provider,{value:n},e.children)}},9918(e,n,t){t.r(n),t.d(n,{assets:()=>a,contentTitle:()=>l,default:()=>c,frontMatter:()=>o,metadata:()=>i,toc:()=>d});const i=JSON.parse('{"id":"releases/16.0.0","title":"RxDB 16.0.0 - Efficiency Redefined","description":"Meet RxDB 16.0.0 - major refactorings, improved performance, and easy migrations. Experience a better, faster, and more stable database solution today.","source":"@site/docs/releases/16.0.0.md","sourceDirName":"releases","slug":"/releases/16.0.0.html","permalink":"/releases/16.0.0.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"RxDB 16.0.0 - Efficiency Redefined","slug":"16.0.0.html","description":"Meet RxDB 16.0.0 - major refactorings, improved performance, and easy migrations. Experience a better, faster, and more stable database solution today."},"sidebar":"tutorialSidebar","previous":{"title":"17.0.0","permalink":"/releases/17.0.0.html"},"next":{"title":"15.0.0","permalink":"/releases/15.0.0.html"}}');var r=t(4848),s=t(8453);const o={title:"RxDB 16.0.0 - Efficiency Redefined",slug:"16.0.0.html",description:"Meet RxDB 16.0.0 - major refactorings, improved performance, and easy migrations. Experience a better, faster, and more stable database solution today."},l="16.0.0",a={},d=[{value:"Breaking Changes",id:"breaking-changes",level:2},{value:"Removed deprecated LokiJS RxStorage",id:"removed-deprecated-lokijs-rxstorage",level:3},{value:"Renamed .destroy() to .close()",id:"renamed-destroy-to-close",level:3},{value:"ignoreDuplicate: true on createRxDatabase() must only be allowed in dev-mode.",id:"ignoreduplicate-true-on-createrxdatabase-must-only-be-allowed-in-dev-mode",level:3},{value:"When dev-mode is enabled, a schema validator must be used.",id:"when-dev-mode-is-enabled-a-schema-validator-must-be-used",level:3},{value:"Removed the memory-synced storage",id:"removed-the-memory-synced-storage",level:3},{value:"Split conflict handler functionality into isEqual() and resolve().",id:"split-conflict-handler-functionality-into-isequal-and-resolve",level:3},{value:"Full rewrite of the OPFS and Filesystem-Node RxStorages",id:"full-rewrite-of-the-opfs-and-filesystem-node-rxstorages",level:2},{value:"Internal Changes",id:"internal-changes",level:2},{value:"Bugfixes",id:"bugfixes",level:2},{value:"Other",id:"other",level:2},{value:"You can help!",id:"you-can-help",level:2},{value:"LinkedIn",id:"linkedin",level:2}];function h(e){const n={a:"a",code:"code",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",p:"p",strong:"strong",ul:"ul",...(0,s.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.header,{children:(0,r.jsx)(n.h1,{id:"1600",children:"16.0.0"})}),"\n",(0,r.jsxs)(n.p,{children:["The release ",(0,r.jsx)(n.a,{href:"https://rxdb.info/releases/16.0.0.html",children:"16.0.0"})," is used for major refactorings. We did not change that much, mostly renaming things and fixing confusing implementation details."]}),"\n",(0,r.jsxs)(n.p,{children:["Data stored in the previous version ",(0,r.jsx)(n.code,{children:"15"})," is compatible with the code of the new version ",(0,r.jsx)(n.code,{children:"16"})," for most RxStorage implementation. So migration will be easy.\nOnly the following RxStorage implementations are required to migrate the data itself with the ",(0,r.jsx)(n.a,{href:"/migration-storage.html",children:"storage migration plugin"}),":"]}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsx)(n.li,{children:"SQLite RxStorage"}),"\n",(0,r.jsx)(n.li,{children:"NodeFilesystem RxStorage"}),"\n",(0,r.jsx)(n.li,{children:"OPFS RxStorage"}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"breaking-changes",children:"Breaking Changes"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:["CHANGE ",(0,r.jsx)(n.a,{href:"https://rxdb.info/rx-server.html",children:"RxServer"})," is no longer in beta mode."]}),"\n",(0,r.jsxs)(n.li,{children:["CHANGE ",(0,r.jsx)(n.a,{href:"https://rxdb.info/fulltext-search.html",children:"Fulltext Search"})," is no longer in beta mode."]}),"\n",(0,r.jsxs)(n.li,{children:["CHANGE ",(0,r.jsx)(n.a,{href:"https://rxdb.info/reactivity.html",children:"Custom Reactivity"})," is no longer in beta mode."]}),"\n",(0,r.jsxs)(n.li,{children:["CHANGE ",(0,r.jsx)(n.a,{href:"https://rxdb.info/replication.html",children:"initialCheckpoint in replications"})," is no longer in beta mode."]}),"\n",(0,r.jsxs)(n.li,{children:["CHANGE ",(0,r.jsx)(n.a,{href:"https://rxdb.info/rx-state.html",children:"RxState"})," is no longer in beta mode."]}),"\n",(0,r.jsxs)(n.li,{children:["CHANGE ",(0,r.jsx)(n.a,{href:"https://rxdb.info/rx-storage-memory-mapped.html",children:"MemoryMapped RxStorage"})," is no longer in beta mode."]}),"\n",(0,r.jsxs)(n.li,{children:["CHANGE rename ",(0,r.jsx)(n.code,{children:"randomCouchString()"})," to ",(0,r.jsx)(n.code,{children:"randomToken()"})]}),"\n",(0,r.jsxs)(n.li,{children:["FIX (GraphQL replication) datapath must be equivalent for pull and push ",(0,r.jsx)(n.a,{href:"https://github.com/pubkey/rxdb/pull/6019",children:"#6019"})]}),"\n",(0,r.jsxs)(n.li,{children:["REMOVE fallback to the ",(0,r.jsx)(n.code,{children:"ohash"})," package when ",(0,r.jsx)(n.code,{children:"crypto.subtle"})," does not exist. All modern runtimes (also react-native) now support ",(0,r.jsx)(n.code,{children:"crypto.subtle"}),", so we do not need that fallback anymore."]}),"\n"]}),"\n",(0,r.jsx)(n.h3,{id:"removed-deprecated-lokijs-rxstorage",children:"Removed deprecated LokiJS RxStorage"}),"\n",(0,r.jsxs)(n.p,{children:["The ",(0,r.jsx)(n.a,{href:"https://rxdb.info/rx-storage-lokijs.html",children:"LokiJS RxStorage"})," was deprecated because LokiJS itself is no longer maintained. Therefore it will be removed completely. If you still need that, you can fork the code of it and publish it in an own package and link to it from the ",(0,r.jsx)(n.a,{href:"https://rxdb.info/third-party-plugins.html",children:"third party plugins page"}),"."]}),"\n",(0,r.jsxs)(n.h3,{id:"renamed-destroy-to-close",children:["Renamed ",(0,r.jsx)(n.code,{children:".destroy()"})," to ",(0,r.jsx)(n.code,{children:".close()"})]}),"\n",(0,r.jsxs)(n.p,{children:["Destroy was adapted from PouchDB, but people often think this deletes the written data. ",(0,r.jsx)(n.code,{children:"close"})," is a better name for that functionality."]}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:["Also renamed similar functions/attributes:","\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.code,{children:".destroy()"})," to ",(0,r.jsx)(n.code,{children:".close()"})]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.code,{children:".onDestroy()"})," to ",(0,r.jsx)(n.code,{children:".onClose()"})]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.code,{children:"postDestroyRxCollection"})," to ",(0,r.jsx)(n.code,{children:"postCloseRxCollection"})]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.code,{children:"preDestroyRxDatabase"})," to ",(0,r.jsx)(n.code,{children:"preCloseRxDatabase"})]}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,r.jsxs)(n.h3,{id:"ignoreduplicate-true-on-createrxdatabase-must-only-be-allowed-in-dev-mode",children:[(0,r.jsx)(n.code,{children:"ignoreDuplicate: true"})," on ",(0,r.jsx)(n.code,{children:"createRxDatabase()"})," must only be allowed in dev-mode."]}),"\n",(0,r.jsxs)(n.p,{children:["The ",(0,r.jsx)(n.code,{children:"ignoreDuplicate"})," flag is only useful for tests and should never be used in production. We now throw an error if it is set to ",(0,r.jsx)(n.code,{children:"true"})," in non-dev-mode."]}),"\n",(0,r.jsx)(n.h3,{id:"when-dev-mode-is-enabled-a-schema-validator-must-be-used",children:"When dev-mode is enabled, a schema validator must be used."}),"\n",(0,r.jsx)(n.p,{children:"Many reported issues come from people storing data that is not valid to their schema.\nTo fix this, in dev-mode it is now required that at least one schema validator is used."}),"\n",(0,r.jsx)(n.h3,{id:"removed-the-memory-synced-storage",children:"Removed the memory-synced storage"}),"\n",(0,r.jsxs)(n.p,{children:["The memory-synced RxStorage was removed in RxDB version 16. Please use the ",(0,r.jsx)(n.code,{children:"memory-mapped"})," storage instead which has better trade-offs and is easier to configure."]}),"\n",(0,r.jsxs)(n.h3,{id:"split-conflict-handler-functionality-into-isequal-and-resolve",children:["Split conflict handler functionality into ",(0,r.jsx)(n.code,{children:"isEqual()"})," and ",(0,r.jsx)(n.code,{children:"resolve()"}),"."]}),"\n",(0,r.jsx)(n.p,{children:"Because the handler is used in so many places it becomes confusing to write a proper conflict handler.\nAlso having a handler that requires user interaction is only possible by hackingly using the context param.\nBy splitting the functionalities it is easier to learn where the handlers are used and how to define them properly."}),"\n",(0,r.jsx)(n.h2,{id:"full-rewrite-of-the-opfs-and-filesystem-node-rxstorages",children:"Full rewrite of the OPFS and Filesystem-Node RxStorages"}),"\n",(0,r.jsxs)(n.p,{children:["The ",(0,r.jsx)(n.a,{href:"/rx-storage-opfs.html",children:"OPFS"})," and ",(0,r.jsx)(n.a,{href:"/rx-storage-filesystem-node.html",children:"Filesystem-Node"})," RxStorage had problems with storing emojis and other special characters inside of indexed fields.\nI completely rewrote them and improved performance especially on initial load when a lot of data is stored already and when doing many small writes/reads at the same time on in series."]}),"\n",(0,r.jsx)(n.h2,{id:"internal-changes",children:"Internal Changes"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsx)(n.li,{children:"CHANGE (internal) migration-storage plugin: Remove catch from cleanup"}),"\n",(0,r.jsxs)(n.li,{children:["CHANGE (internal) rename RX_PIPELINE_CHECKPOINT_CONTEXT to ",(0,r.jsx)(n.code,{children:"rx-pipeline-checkpoint"})]}),"\n",(0,r.jsxs)(n.li,{children:["CHANGE (internal) remove ",(0,r.jsx)(n.code,{children:"conflictResultionTasks()"})," and ",(0,r.jsx)(n.code,{children:"resolveConflictResultionTask()"})," from the RxStorage interface."]}),"\n",(0,r.jsx)(n.li,{children:"REMOVED (internal) do not check for duplicate event bulks, all RxStorage implementations must guarantee to not emit the same events twice."}),"\n",(0,r.jsx)(n.li,{children:"REFACTOR (internal) Only use event-bulks internally and only transform to single emitted events if actually someone has subscribed to the eventstream."}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"bugfixes",children:"Bugfixes"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:["Having a lot of documents pulled in the replication could in some cases slow down the database initialization because ",(0,r.jsx)(n.code,{children:"upstreamInitialSync()"})," did not set a checkpoint and each time checked all documents if they are equal to the master."]}),"\n",(0,r.jsxs)(n.li,{children:["If the handler of a ",(0,r.jsx)(n.a,{href:"/rx-pipeline.html",children:"RxPipeline"})," throws an error, block the whole pipeline and emit the error to the outside."]}),"\n",(0,r.jsxs)(n.li,{children:["Throw error when dexie.js RxStorage is used with optional index fields ",(0,r.jsx)(n.a,{href:"https://github.com/pubkey/rxdb/pull/6643#issuecomment-2505310082",children:"#6643"}),"."]}),"\n",(0,r.jsx)(n.li,{children:"Fix IndexedDB bug: Some people had problems with the IndexedDB RxStorage that opened up collections very slowly. If you had this problem, please try out this new version."}),"\n",(0,r.jsx)(n.li,{children:"Add check to ensure remote instances are build with the same RxDB version. This is to ensure if you update RxDB and forget to rebuild your workers, it will throw instead of causing strange problems."}),"\n",(0,r.jsx)(n.li,{children:"When the pulled documents in the replication do not match the schema, do not update the checkpoint."}),"\n",(0,r.jsx)(n.li,{children:"When the pushed document conflict results in the replication do not match the schema, do not update the checkpoint."}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"other",children:"Other"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:["Added more ",(0,r.jsx)(n.a,{href:"https://rxdb.info/rx-storage-performance.html",children:"performance tests"})]}),"\n",(0,r.jsxs)(n.li,{children:["The amount of collections in the open source version has been limited to ",(0,r.jsx)(n.code,{children:"16"}),"."]}),"\n",(0,r.jsx)(n.li,{children:"Moved RxQuery checks into dev-mode."}),"\n",(0,r.jsx)(n.li,{children:"RxQuery.remove() now internally does a bulk operation for better performance."}),"\n",(0,r.jsx)(n.li,{children:"Lazily process bulkWrite() results for less CPU usage."}),"\n",(0,r.jsx)(n.li,{children:"Only run interval cleanup on the storage of a collection if there actually have been writes to it."}),"\n",(0,r.jsxs)(n.li,{children:["Schema validation errors (code: 422) now include the ",(0,r.jsx)(n.code,{children:"RxJsonSchema"})," for easier debugging."]}),"\n",(0,r.jsx)(n.li,{children:"Added an interval to prevent browser tab hibernation while a replication is running."}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"you-can-help",children:"You can help!"}),"\n",(0,r.jsxs)(n.p,{children:["There are many things that can be done by ",(0,r.jsx)(n.strong,{children:"you"})," to improve RxDB:"]}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:["Check the ",(0,r.jsx)(n.a,{href:"https://github.com/pubkey/rxdb/blob/master/orga/BACKLOG.md",children:"BACKLOG"})," for features that would be great to have."]}),"\n",(0,r.jsxs)(n.li,{children:["Check the ",(0,r.jsx)(n.a,{href:"https://github.com/pubkey/rxdb/blob/master/orga/before-next-major.md",children:"breaking backlog"})," for breaking changes that must be implemented in the future but where I did not have the time yet."]}),"\n",(0,r.jsxs)(n.li,{children:["Check the ",(0,r.jsx)(n.a,{href:"https://github.com/pubkey/rxdb/search?q=todo",children:"todos"})," in the code. There are many small improvements that can be done for performance and build size."]}),"\n",(0,r.jsx)(n.li,{children:"Review the code and add tests. I am only a single human with a laptop. My code is not perfect and much small improvements can be done when people review the code and help me to clarify undefined behaviors."}),"\n",(0,r.jsxs)(n.li,{children:["Update the ",(0,r.jsx)(n.a,{href:"https://github.com/pubkey/rxdb/tree/master/examples",children:"example projects"})," some of them are outdated and need updates."]}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"linkedin",children:"LinkedIn"}),"\n",(0,r.jsxs)(n.p,{children:["Stay connected with the latest updates and network with professionals in the RxDB community by following RxDB's ",(0,r.jsx)(n.a,{href:"https://www.linkedin.com/company/rxdb",children:"official LinkedIn page"}),"!"]})]})}function c(e={}){const{wrapper:n}={...(0,s.R)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(h,{...e})}):h(e)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/0b761dc7.ea7a941e.js b/docs/assets/js/0b761dc7.ea7a941e.js
deleted file mode 100644
index 10818e4143f..00000000000
--- a/docs/assets/js/0b761dc7.ea7a941e.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[2835],{2796(e,a,t){t.r(a),t.d(a,{default:()=>n});var r=t(544),s=t(4848);function n(){return(0,r.default)({sem:{id:"gads",metaTitle:"The best Database on top of localstorage",appName:"Browser",title:(0,s.jsxs)(s.Fragment,{children:["The easiest way to ",(0,s.jsx)("b",{children:"store"})," and ",(0,s.jsx)("b",{children:"sync"})," Data in LocalStorage"]}),text:(0,s.jsx)(s.Fragment,{children:"Store data inside the Browsers localstorage to build high performance realtime applications that sync data from the backend and even work when offline."})}})}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/0e268d20.8eaca8eb.js b/docs/assets/js/0e268d20.8eaca8eb.js
deleted file mode 100644
index 61227d2fec1..00000000000
--- a/docs/assets/js/0e268d20.8eaca8eb.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[2584],{686(e,r,a){function i(e,r){if(e===r)return!0;if(e&&r&&"object"==typeof e&&"object"==typeof r){if(e.constructor!==r.constructor)return!1;var a,s;if(Array.isArray(e)){if((a=e.length)!==r.length)return!1;for(s=a;0!==s--;)if(!i(e[s],r[s]))return!1;return!0}if(e.constructor===RegExp)return e.source===r.source&&e.flags===r.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===r.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===r.toString();var t=Object.keys(e);if((a=t.length)!==Object.keys(r).length)return!1;for(s=a;0!==s--;)if(!Object.prototype.hasOwnProperty.call(r,t[s]))return!1;for(s=a;0!==s--;){var n=t[s];if(!i(e[n],r[n]))return!1}return!0}return e!=e&&r!=r}a.d(r,{b:()=>i})},4370(e,r,a){a.d(r,{_:()=>s});var i=a(4629);function s(e,r,a,i,s){return new t(e,r,a,i,s)}var t=function(e){function r(r,a,i,s,t,n){var l=e.call(this,r)||this;return l.onFinalize=t,l.shouldUnsubscribe=n,l._next=a?function(e){try{a(e)}catch(i){r.error(i)}}:e.prototype._next,l._error=s?function(e){try{s(e)}catch(e){r.error(e)}finally{this.unsubscribe()}}:e.prototype._error,l._complete=i?function(){try{i()}catch(e){r.error(e)}finally{this.unsubscribe()}}:e.prototype._complete,l}return(0,i.C6)(r,e),r.prototype.unsubscribe=function(){var r;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var a=this.closed;e.prototype.unsubscribe.call(this),!a&&(null===(r=this.onFinalize)||void 0===r||r.call(this))}},r}(a(8857).vU)},5096(e,r,a){a.d(r,{N:()=>s});var i=a(1693);function s(e){return function(r){if(function(e){return(0,i.T)(null==e?void 0:e.lift)}(r))return r.lift(function(r){try{return e(r,this)}catch(a){this.error(a)}});throw new TypeError("Unable to lift unknown Observable type")}}},5520(e,r,a){a.d(r,{F:()=>n});var i=a(3887),s=a(5096),t=a(4370);function n(e,r){return void 0===r&&(r=i.D),e=null!=e?e:l,(0,s.N)(function(a,i){var s,n=!0;a.subscribe((0,t._)(i,function(a){var t=r(a);!n&&e(s,t)||(n=!1,s=t,i.next(a))}))})}function l(e,r){return e===r}},7708(e,r,a){a.d(r,{T:()=>t});var i=a(5096),s=a(4370);function t(e,r){return(0,i.N)(function(a,i){var t=0;a.subscribe((0,s._)(i,function(a){i.next(e.call(r,a,t++))}))})}},9561(e,r,a){a.r(r),a.d(r,{FORM_VALUE_DOCUMENT_ID:()=>j,TEAM_SIZES:()=>f,default:()=>v});var i=a(4586),s=a(8711),t=a(5260),n=a(6540),l=a(686),o=a(3337),c=a(9855),d=a(2303),h=a(5520),m=a(7708),u=a(8141),p=a(3943),x=a(4584),g=a(4848);const j="premium-price-form",f=[1,3,6,12,24,30];let b;function y(){return b||(b=(async()=>{const e=await Promise.all([a.e(9850),a.e(4291)]).then(a.bind(a,4291)),r=await e.getDatabase();let i=await r.getLocal(j);return i||(i=await r.upsertLocal(j,{formSubmitted:!1,developers:f[1],packages:["browser"]})),i})()),b}function k(e){return(0,g.jsx)("input",{name:"package-"+e.packageName,type:"checkbox",className:"package-checkbox",checked:!!e.formValue?.packages.includes(e.packageName),readOnly:!0,onClick:()=>{(0,u.c)("calculate_premium_price",3,1,!0),e.onToggle()}})}function v(){const{siteConfig:e}=(0,i.A)(),r=(0,d.A)(),[a,p]=n.useState(!1),[j,f]=n.useState(null);(0,n.useEffect)(()=>{r&&(a||(p(!0),r&&(0,u.c)("open_pricing_page",1),(async()=>{(await y()).$.pipe((0,m.T)(e=>e._data.data),(0,h.F)(l.b)).subscribe(e=>{console.log("XXX new data:"),console.dir(e),f(e),async function(){const e=await y(),r=(0,c.Pu)(e);console.log("priceResult:"),console.log(JSON.stringify(r,null,4));const a=(0,o.ZN)(document.getElementById("price-calculator-result")),i=(0,o.ZN)(document.getElementById("total-per-project-per-month")),s=(0,o.ZN)(document.getElementById("total-per-project-per-year"));t=r.totalPrice,console.log("setPrice:"),console.dir(t),i.innerHTML=Math.ceil(t/12).toString(),s.innerHTML=Math.ceil(t).toString(),a.style.display="block";var t}()})})()))});const[b,v]=n.useState(!1),N=()=>{(0,u.c)("open_premium_submit_popup",20,1),v(!0)};function S(e){return y().then(r=>r.incrementalModify(r=>(r.packages.includes(e)?r.packages=r.packages.filter(r=>r!==e):r.packages.push(e),r)))}return(0,g.jsxs)(g.Fragment,{children:[(0,g.jsxs)(t.A,{children:[(0,g.jsx)("body",{className:"homepage"}),(0,g.jsx)("link",{rel:"canonical",href:"/premium/"})]}),(0,g.jsx)(s.A,{title:`Premium Plugins - ${e.title}`,description:"RxDB plugins for professionals. FAQ, pricing and license",children:(0,g.jsxs)("main",{children:[(0,g.jsx)("div",{className:"block first",children:(0,g.jsxs)("div",{className:"content centered",children:[(0,g.jsxs)("h2",{children:["RxDB ",(0,g.jsx)("b",{children:"Premium"})]}),(0,g.jsxs)("p",{style:{width:"80%"},children:["RxDB's Premium plugins offer advanced features and performance improvements designed for businesses and professionals. They are ideal for commercial or critical projects, providing ",(0,g.jsx)("a",{href:"/rx-storage-performance.html",target:"_blank",children:"better performance"}),", a smaller build size, flexible storage engines, secure encryption and other features."]})]})}),(0,g.jsx)("div",{className:"block dark",id:"price-calculator-block",children:(0,g.jsxs)("div",{className:"content centered",children:[(0,g.jsx)("h2",{children:"Price Calculator"}),(0,g.jsx)("div",{className:"price-calculator",children:(0,g.jsx)("div",{className:"price-calculator-inner",children:(0,g.jsx)("form",{id:"price-calculator-form",children:(0,g.jsxs)("div",{className:"packages",children:[(0,g.jsx)("h3",{children:"Choose your Packages"}),(0,g.jsx)("div",{className:"package",children:(0,g.jsxs)("div",{className:"package-inner",children:[(0,g.jsx)(k,{packageName:"browser",onToggle:()=>S("browser"),formValue:j}),(0,g.jsx)("h4",{children:"Browser Package"}),(0,g.jsxs)("ul",{children:[(0,g.jsx)("li",{children:(0,g.jsx)("a",{href:"/rx-storage-opfs.html",target:"_blank",children:"RxStorage OPFS"})}),(0,g.jsx)("li",{children:(0,g.jsx)("a",{href:"/rx-storage-indexeddb.html",target:"_blank",children:"RxStorage IndexedDB"})}),(0,g.jsx)("li",{children:(0,g.jsx)("a",{href:"/rx-storage-worker.html",target:"_blank",children:"RxStorage Worker"})}),(0,g.jsx)("li",{children:(0,g.jsx)("a",{href:"/encryption.html",target:"_blank",children:"WebCrypto Encryption"})})]})]})}),(0,g.jsx)("div",{className:"package",children:(0,g.jsxs)("div",{className:"package-inner",children:[(0,g.jsx)(k,{packageName:"native",onToggle:()=>S("native"),formValue:j}),(0,g.jsx)("h4",{children:"Native Package"}),(0,g.jsxs)("ul",{children:[(0,g.jsx)("li",{children:(0,g.jsx)("a",{href:"/rx-storage-sqlite.html",target:"_blank",children:"RxStorage SQLite"})}),(0,g.jsx)("li",{children:(0,g.jsx)("a",{href:"/rx-storage-filesystem-node.html",target:"_blank",children:"RxStorage Filesystem Node"})})]})]})}),(0,g.jsx)("div",{className:"package",children:(0,g.jsxs)("div",{className:"package-inner",children:[(0,g.jsx)(k,{packageName:"performance",onToggle:()=>S("performance"),formValue:j}),(0,g.jsx)("h4",{children:"Performance Package"}),(0,g.jsxs)("ul",{children:[(0,g.jsx)("li",{children:(0,g.jsx)("a",{href:"/rx-storage-sharding.html",target:"_blank",children:"RxStorage Sharding"})}),(0,g.jsx)("li",{children:(0,g.jsx)("a",{href:"/rx-storage-memory-mapped.html",target:"_blank",children:"RxStorage Memory Mapped"})}),(0,g.jsx)("li",{children:(0,g.jsx)("a",{href:"/query-optimizer.html",target:"_blank",children:"Query Optimizer"})}),(0,g.jsx)("li",{children:(0,g.jsx)("a",{href:"/rx-storage-localstorage-meta-optimizer.html",target:"_blank",children:"RxStorage Localstorage Meta Optimizer"})}),(0,g.jsx)("li",{children:(0,g.jsx)("a",{href:"/rx-storage-shared-worker.html",target:"_blank",children:"RxStorage Shared Worker"})})]})]})}),(0,g.jsx)("div",{className:"package",children:(0,g.jsxs)("div",{className:"package-inner",children:[(0,g.jsx)(k,{packageName:"server",onToggle:()=>S("server"),formValue:j}),(0,g.jsx)("h4",{children:"Server Package"}),(0,g.jsxs)("ul",{children:[(0,g.jsx)("li",{children:(0,g.jsx)("a",{href:"/rx-server.html",target:"_blank",children:"RxServer Adapter Fastify"})}),(0,g.jsx)("li",{children:(0,g.jsx)("a",{href:"/rx-server.html",target:"_blank",children:"RxServer Adapter Koa"})})]})]})}),(0,g.jsx)("div",{className:"package",children:(0,g.jsxs)("div",{className:"package-inner",children:[(0,g.jsx)("input",{name:"package-utilities",type:"checkbox",className:"package-checkbox",defaultChecked:!0,disabled:!0}),(0,g.jsxs)("h4",{children:["Utilities Package ",(0,g.jsx)("b",{children:"(always included)"})]}),(0,g.jsxs)("ul",{children:[(0,g.jsx)("li",{children:(0,g.jsx)("a",{href:"/logger.html",target:"_blank",children:"Logger"})}),(0,g.jsx)("li",{children:(0,g.jsx)("a",{href:"/fulltext-search.html",target:"_blank",children:"Fulltext Search"})})]})]})}),(0,g.jsx)("div",{className:"clear"}),(0,g.jsx)("div",{className:"clear"})]})})})}),(0,g.jsx)("div",{className:"price-calculator",id:"price-calculator-result",style:{marginBottom:90,display:"none"},children:(0,g.jsxs)("div",{className:"price-calculator-inner",children:[(0,g.jsx)("h4",{children:"Calculated Price:"}),(0,g.jsxs)("div",{className:"inner",children:[(0,g.jsx)("span",{className:"price-label",children:"\u20ac"}),(0,g.jsx)("span",{id:"total-per-project-per-month",children:"XX"}),(0,g.jsx)("span",{className:"per-month",children:"/month"}),(0,g.jsx)("span",{className:"clear"})]}),(0,g.jsxs)("div",{className:"inner",children:["(billed yearly: ",(0,g.jsx)("span",{id:"total-per-project-per-year"})," \u20ac)"]}),(0,g.jsx)("br",{}),(0,g.jsx)("div",{className:"clear"}),(0,g.jsx)(x.$,{primary:!0,style:{width:"100%"},onClick:N,children:"Buy Now \xbb"}),(0,g.jsxs)("div",{style:{fontSize:"70%",textAlign:"center",marginTop:16},children:["If you have any questions, see the FAQ below or fill out the ",(0,g.jsx)("b",{style:{color:"white",textDecoration:"underline",cursor:"pointer"},onClick:N,children:"Buy-Now Form"})," to get in contact."]}),(0,g.jsx)("div",{className:"clear"})]})})]})}),(0,g.jsx)("div",{className:"block",id:"faq",children:(0,g.jsxs)("div",{className:"content centered premium-faq",children:[(0,g.jsxs)("h2",{children:["F.A.Q. ",(0,g.jsx)("b",{children:"(click to toggle)"})]}),(0,g.jsxs)("details",{children:[(0,g.jsx)("summary",{children:"What is the process for making a purchase?"}),(0,g.jsxs)("ul",{children:[(0,g.jsxs)("li",{children:["Fill out the ",(0,g.jsx)("b",{style:{color:"white",textDecoration:"underline",cursor:"pointer"},onClick:N,children:"Buy now form"}),"."]}),(0,g.jsx)("li",{children:"You will get a license agreement that you can sign online."}),(0,g.jsx)("li",{children:"You will get an invoice via stripe.com."}),(0,g.jsxs)("li",{children:["After payment you get the access token that you can use to add the Premium plugins to your project with ",(0,g.jsx)("a",{href:"https://www.npmjs.com/package/rxdb-premium",target:"_blank",children:"these instructions"}),"."]})]})]}),(0,g.jsxs)("details",{children:[(0,g.jsx)("summary",{children:"Do I need the Premium Plugins?"}),"RxDB Core is open source and many use cases can be implemented with the Open Core part of RxDB. There are many"," ",(0,g.jsx)("a",{href:"/rx-storage.html",target:"_blank",children:"RxStorage"})," ","options and all core plugins that are required for replication, schema validation, encryption and so on, are totally free. As soon as your application is more than a side project you can consider using the premium plugins as an easy way to improve your applications performance and reduce the build size.",(0,g.jsx)("br",{}),"The main benefit of the Premium Plugins is ",(0,g.jsx)("b",{children:"performance"}),". The Premium RxStorage implementations have a better performance so reading and writing data is much faster especially on low-end devices. You can find a performance comparison"," ",(0,g.jsx)("a",{href:"/rx-storage-performance.html",target:"_blank",children:"here"}),". Also there are additional Premium Plugins that can be used to further optimize the performance of your application like the"," ",(0,g.jsx)("a",{href:"/query-optimizer.html",target:"_blank",children:"Query Optimizer"})," ","or the"," ",(0,g.jsx)("a",{href:"/rx-storage-sharding.html",target:"_blank",children:"Sharding"})," ","plugin."]}),(0,g.jsxs)("details",{children:[(0,g.jsx)("summary",{children:"Can I get a free trial period?"}),(0,g.jsxs)("ul",{children:[(0,g.jsx)("li",{children:"We do not currently offer a free trial. Instead, we encourage you to explore RxDB's open-source core to evaluate the technology before purchasing the Premium Plugins."}),(0,g.jsxs)("li",{children:["Access to the Premium Plugins requires a signed licensing agreement, which safeguards both parties but also adds administrative overhead. For this reason, we cannot offer free trials or monthly subscriptions; Premium licenses are provided on an ",(0,g.jsx)("b",{children:"annual basis"}),"."]})]})]}),(0,g.jsxs)("details",{children:[(0,g.jsx)("summary",{children:"Can I install/build the premium plugins in my CI?"}),"Yes, you can safely install and use the Premium Plugins in your CI without additional payment."]}),(0,g.jsxs)("details",{children:[(0,g.jsx)("summary",{children:"Which payment methods are accepted?"}),(0,g.jsx)("b",{children:"Stripe.com"})," is used as payment processor so most known payment options like credit card, PayPal, SEPA transfer and others are available. A list of all options can be found"," ",(0,g.jsx)("a",{href:"https://stripe.com/docs/payments/payment-methods/overview",title:"stripe payment options",target:"_blank",children:"here"}),"."]}),(0,g.jsxs)("details",{children:[(0,g.jsx)("summary",{children:"Is there any tracking code inside of the premium plugins?"}),"No, the premium plugins themself do not contain any tracking code. When you build your application with RxDB and deploy it to production, it will not make requests from your users to any RxDB server."]}),(0,g.jsxs)("details",{children:[(0,g.jsx)("summary",{children:"Can I add more Premium Packages later if I've already purchased some?"}),"Yes! You can upgrade or add additional Premium Packages at any time. When you decide to purchase more, we'll calculate a fair upgrade price, meaning you only pay the difference between your existing purchase and the new package total.",(0,g.jsx)("br",{}),"Your previous payments are fully credited, so you never pay twice for the same plugins."]}),(0,g.jsxs)("details",{children:[(0,g.jsx)("summary",{children:"Can I get a discount?"}),"There are multiple ways to get a discount:",(0,g.jsxs)("ul",{children:[(0,g.jsxs)("li",{children:[(0,g.jsx)("h5",{children:"Contribute to the RxDB github repository"}),(0,g.jsx)("p",{children:"If you have made significant contributions to the RxDB github repository, you can apply for a discount depending on your contribution."})]}),(0,g.jsxs)("li",{children:[(0,g.jsx)("h5",{children:"Get 25% off by writing about how you use RxDB"}),(0,g.jsx)("p",{children:"On your company/project website, publish an article/blogpost about how you use RxDB in your project. Include how your setup looks like, how you use RxDB in that setup and what problems you had and how did you overcome them. You also need to link to the RxDB website or documentation pages."})]}),(0,g.jsxs)("li",{children:[(0,g.jsx)("h5",{children:"Be active in the RxDB community"}),(0,g.jsx)("p",{children:"If you are active in the RxDB community and discord channel by helping others out or creating educational content like videos and tutorials, feel free to apply for a discount."})]}),(0,g.jsxs)("li",{children:[(0,g.jsx)("h5",{children:"Solve one of the free-premium-tasks"}),(0,g.jsxs)("p",{children:["For private personal projects there is the option to solve one of the"," ",(0,g.jsx)("a",{href:"https://github.com/pubkey/rxdb/blob/master/orga/premium-tasks.md",target:"_blank",children:"Premium Tasks"})," ","to get a free 2 years access to the Premium Plugins."]})]})]})]})]})}),(0,g.jsx)("div",{className:"block dark",children:(0,g.jsxs)("div",{className:"content centered",children:[(0,g.jsxs)("h2",{children:["RxDB Premium Plugins ",(0,g.jsx)("b",{children:"Overview"})]}),(0,g.jsxs)("div",{className:"premium-blocks",children:[(0,g.jsx)("a",{href:"/rx-storage-indexeddb.html",target:"_blank",children:(0,g.jsx)("div",{className:"premium-block hover-shadow-middle bg-gradient-right-top",children:(0,g.jsxs)("div",{className:"premium-block-inner",children:[(0,g.jsx)("h4",{children:"RxStorage IndexedDB"}),(0,g.jsxs)("p",{children:["A storage for browsers based on ",(0,g.jsx)("b",{children:"IndexedDB"}),". Has the best latency on writes and smallest build size."]})]})})}),(0,g.jsx)("a",{href:"/rx-storage-opfs.html",target:"_blank",children:(0,g.jsx)("div",{className:"premium-block hover-shadow-middle bg-gradient-left-top",children:(0,g.jsxs)("div",{className:"premium-block-inner",children:[(0,g.jsx)("h4",{children:"RxStorage OPFS"}),(0,g.jsxs)("p",{children:["Currently the RxStorage with the best data throughput that can be used in the browser. Based on the ",(0,g.jsx)("b",{children:"OPFS File System Access API"}),"."]})]})})}),(0,g.jsx)("a",{href:"/rx-storage-sqlite.html",target:"_blank",children:(0,g.jsx)("div",{className:"premium-block hover-shadow-middle bg-gradient-right-top",children:(0,g.jsxs)("div",{className:"premium-block-inner",children:[(0,g.jsx)("h4",{children:"RxStorage SQLite"}),(0,g.jsxs)("p",{children:["A fast storage based on ",(0,g.jsx)("b",{children:"SQLite"})," for Servers and Hybrid Apps. Can be used with"," ",(0,g.jsx)("b",{children:"Node.js"}),", ",(0,g.jsx)("b",{children:"Electron"}),", ",(0,g.jsx)("b",{children:"React Native"}),", ",(0,g.jsx)("b",{children:"Capacitor"}),"."]})]})})}),(0,g.jsx)("a",{href:"/rx-storage-shared-worker.html",target:"_blank",children:(0,g.jsx)("div",{className:"premium-block hover-shadow-middle bg-gradient-left-top",children:(0,g.jsxs)("div",{className:"premium-block-inner",children:[(0,g.jsx)("h4",{children:"RxStorage SharedWorker"}),(0,g.jsxs)("p",{children:["A RxStorage wrapper to run the storage inside of a SharedWorker which improves the performance by taking CPU load away from the main process. Used in ",(0,g.jsx)("b",{children:"browsers"}),"."]})]})})}),(0,g.jsx)("a",{href:"/rx-storage-worker.html",target:"_blank",children:(0,g.jsx)("div",{className:"premium-block hover-shadow-middle bg-gradient-left-top",children:(0,g.jsxs)("div",{className:"premium-block-inner",children:[(0,g.jsx)("h4",{children:"RxStorage Worker"}),(0,g.jsx)("p",{children:"A RxStorage wrapper to run the storage inside of a Worker which improves the performance by taking CPU load away from the main process."})]})})}),(0,g.jsx)("a",{href:"/rx-storage-sharding.html",target:"_blank",children:(0,g.jsx)("div",{className:"premium-block hover-shadow-middle bg-gradient-right-top",children:(0,g.jsxs)("div",{className:"premium-block-inner",children:[(0,g.jsx)("h4",{children:"RxStorage Sharding"}),(0,g.jsx)("p",{children:"A wrapper around any other storage that improves performance by applying the sharding technique."})]})})}),(0,g.jsx)("a",{href:"/rx-storage-memory-mapped.html",target:"_blank",children:(0,g.jsx)("div",{className:"premium-block hover-shadow-middle bg-gradient-left-top",children:(0,g.jsxs)("div",{className:"premium-block-inner",children:[(0,g.jsx)("h4",{children:"RxStorage Memory Mapped"}),(0,g.jsx)("p",{children:"A wrapper around any other storage that creates a mapped in-memory copy which improves performance for the initial page load time and write & read operations."})]})})}),(0,g.jsx)("a",{href:"/query-optimizer.html",target:"_blank",children:(0,g.jsx)("div",{className:"premium-block hover-shadow-middle bg-gradient-right-top",children:(0,g.jsxs)("div",{className:"premium-block-inner",children:[(0,g.jsx)("h4",{children:"Query Optimizer"}),(0,g.jsx)("p",{children:"A tool to find the best index for a given query. You can use this during build time to find the best index and then use that index during runtime."})]})})}),(0,g.jsx)("a",{href:"/rx-storage-localstorage-meta-optimizer.html",target:"_blank",children:(0,g.jsx)("div",{className:"premium-block hover-shadow-middle bg-gradient-left-top",children:(0,g.jsxs)("div",{className:"premium-block-inner",children:[(0,g.jsx)("h4",{children:"RxStorage Localstorage Meta Optimizer"}),(0,g.jsxs)("p",{children:["A wrapper around any other storage which optimizes the initial page load one by using localstorage for meta key-value document. Only works in ",(0,g.jsx)("b",{children:"browsers"}),"."]})]})})}),(0,g.jsx)("a",{href:"/encryption.html",target:"_blank",children:(0,g.jsx)("div",{className:"premium-block hover-shadow-middle bg-gradient-right-top",children:(0,g.jsxs)("div",{className:"premium-block-inner",children:[(0,g.jsx)("h4",{children:"WebCrypto Encryption"}),(0,g.jsx)("p",{children:"A faster and more secure encryption plugin based on the Web Crypto API."})]})})}),(0,g.jsx)("a",{href:"/rx-storage-filesystem-node.html",target:"_blank",children:(0,g.jsx)("div",{className:"premium-block hover-shadow-middle bg-gradient-left-top",children:(0,g.jsxs)("div",{className:"premium-block-inner",children:[(0,g.jsx)("h4",{children:"RxStorage Filesystem Node"}),(0,g.jsxs)("p",{children:["A fast RxStorage based on the ",(0,g.jsx)("b",{children:"Node.js"})," Filesystem."]})]})})}),(0,g.jsx)("a",{href:"/logger.html",target:"_blank",children:(0,g.jsx)("div",{className:"premium-block hover-shadow-middle bg-gradient-right-top",children:(0,g.jsxs)("div",{className:"premium-block-inner",children:[(0,g.jsx)("h4",{children:"Logger"}),(0,g.jsx)("p",{children:"A logging plugin useful to debug performance problems and for monitoring with Application Performance Monitoring (APM) tools like Bugsnag, Datadog, Elastic, Sentry and others"})]})})}),(0,g.jsx)("a",{href:"/rx-server.html",target:"_blank",children:(0,g.jsx)("div",{className:"premium-block hover-shadow-middle bg-gradient-left-top",children:(0,g.jsxs)("div",{className:"premium-block-inner",children:[(0,g.jsx)("h4",{children:"RxServer Fastify Adapter"}),(0,g.jsx)("p",{children:"An adapter to use the RxServer with fastify instead of express. Used to have better performance when serving requests."})]})})}),(0,g.jsx)("a",{href:"/logger.html",target:"_blank",children:(0,g.jsx)("div",{className:"premium-block hover-shadow-middle bg-gradient-right-top",children:(0,g.jsxs)("div",{className:"premium-block-inner",children:[(0,g.jsx)("h4",{children:"RxServer Koa Adapter"}),(0,g.jsx)("p",{children:"An adapter to use the RxServer with Koa instead of express. Used to have better performance when serving requests."})]})})}),(0,g.jsx)("a",{href:"/fulltext-search.html",target:"_blank",children:(0,g.jsx)("div",{className:"premium-block hover-shadow-middle bg-gradient-right-top",children:(0,g.jsxs)("div",{className:"premium-block-inner",children:[(0,g.jsx)("h4",{children:"FlexSearch"}),(0,g.jsx)("p",{children:"A plugin to efficiently run local fulltext search indexing and queries."})]})})})]})]})}),(0,g.jsx)(w,{open:b,onClose:()=>{v(!1)}})]})})]})}function w({onClose:e,open:r}){return(0,g.jsx)(p._,{onClose:e,open:r,iframeUrl:"https://webforms.pipedrive.com/f/ccHQ5wi8dHxdFgcxEnRfXaXv2uTGnLNwP4tPAGO3hgSFan8xa5j7Kr3LH5OXzWQo2T"})}},9855(e,r,a){a.d(r,{Pu:()=>s});const i={browser:.3,native:.4,performance:.35,server:.2,sourcecode:0};function s(e){const r=e.getLatest()._data.data;return function(e){console.log("-------------------- calculatePrice:"),console.dir(e);let r=0;e.packages.forEach(e=>{r+=i[e]}),console.log("aimInPercent: "+r);let a=200+r/100*6e4;2===e.packages.length?a*=.95:e.packages.length>2&&(a*=.9);const s=Math.pow(e.teamSize,-.4);if(console.log("input.teamSize ("+a+") "+e.teamSize+" - pricePerDeveloper: "+s),a*=s*e.teamSize,e.packages.includes("sourcecode")){a*=1.75;const e=1520;a1200?100*Math.floor(a/100):50*Math.floor(a/50),{totalPrice:a}}({teamSize:r.developers,packages:r.packages})}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/0e467ee2.9c93875e.js b/docs/assets/js/0e467ee2.9c93875e.js
deleted file mode 100644
index 1885a5301eb..00000000000
--- a/docs/assets/js/0e467ee2.9c93875e.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[4989],{3318(e,n,i){i.r(n),i.d(n,{assets:()=>a,contentTitle:()=>d,default:()=>o,frontMatter:()=>t,metadata:()=>s,toc:()=>c});const s=JSON.parse('{"id":"articles/ideas","title":"ideas for articles","description":"- storing and searching through 1mio emails in a browser database","source":"@site/docs/articles/ideas.md","sourceDirName":"articles","slug":"/articles/ideas","permalink":"/articles/ideas","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{}}');var r=i(4848),l=i(8453);const t={},d="ideas for articles",a={},c=[{value:"Seo keywords:",id:"seo-keywords",level:2},{value:"Seo",id:"seo",level:2},{value:"Non Seo",id:"non-seo",level:2}];function h(e){const n={a:"a",h1:"h1",h2:"h2",header:"header",li:"li",p:"p",ul:"ul",...(0,l.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.header,{children:(0,r.jsx)(n.h1,{id:"ideas-for-articles",children:"ideas for articles"})}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsx)(n.li,{children:"storing and searching through 1mio emails in a browser database"}),"\n",(0,r.jsx)(n.li,{children:"Finding the optimal way to shorten vector embeddings"}),"\n",(0,r.jsx)(n.li,{children:"Performance and quality of vector comparison functions (euclideanDistance etc)"}),"\n",(0,r.jsx)(n.li,{children:"performance and quality of vector indexing methods"}),"\n",(0,r.jsx)(n.li,{children:"What is new in IndexedDB 3.0"}),"\n",(0,r.jsx)(n.li,{children:"how progressive syncing beats client-server architecture"}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"seo-keywords",children:"Seo keywords:"}),"\n",(0,r.jsxs)(n.p,{children:['X- "optimistic ui"\nX- "local database" (rddt done)\nX- "react-native encryption"\nX- "vue database" (rddt done)\nX- "jquery database"\nX- "vue indexeddb"\nX- "firebase realtime database alternative" (rddt done)\nX- "firestore alternative" (rddt done)\nX- "ionic storage" (rddt done)\nX- "local database"\nX- "offline database"\nX- "zero local first"\nX- "webrtc p2p" - 390 ',(0,r.jsx)(n.a,{href:"http://localhost:3000/replication-webrtc.html",children:"http://localhost:3000/replication-webrtc.html"})]}),"\n",(0,r.jsxs)(n.p,{children:['X- "indexeddb storage limit" - 590 ',(0,r.jsx)(n.a,{href:"https://rxdb.info/articles/indexeddb-max-storage-limit.html",children:"https://rxdb.info/articles/indexeddb-max-storage-limit.html"}),'\nX- "indexeddb size limit" - 260 ',(0,r.jsx)(n.a,{href:"https://rxdb.info/articles/indexeddb-max-storage-limit.html",children:"https://rxdb.info/articles/indexeddb-max-storage-limit.html"}),'\nX- "indexeddb max size" - 590 ',(0,r.jsx)(n.a,{href:"https://rxdb.info/articles/indexeddb-max-storage-limit.html",children:"https://rxdb.info/articles/indexeddb-max-storage-limit.html"}),'\nX- "indexeddb limits" - 170 ',(0,r.jsx)(n.a,{href:"https://rxdb.info/articles/indexeddb-max-storage-limit.html",children:"https://rxdb.info/articles/indexeddb-max-storage-limit.html"})]}),"\n",(0,r.jsx)(n.p,{children:'X- "json based database"\nX- "json vs database"\nX- "reactjs storage"'}),"\n",(0,r.jsx)(n.h2,{id:"seo",children:"Seo"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsx)(n.p,{children:'"supabase alternative"'}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsx)(n.p,{children:'"store local storage"'}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsx)(n.p,{children:'"react localstorage"'}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsx)(n.p,{children:'"react-native storage"'}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsx)(n.p,{children:'"supabase offline" - 260'}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsx)(n.p,{children:'"store array in localstorage", "localStorage array of objects"'}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsx)(n.p,{children:'"real time web apps" - 170'}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsx)(n.p,{children:'"reactive database" - 210'}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsx)(n.p,{children:'"electron sqlite"'}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsx)(n.p,{children:'"in browser database" - 90'}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsx)(n.p,{children:'"offline first app" - 260'}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsx)(n.p,{children:'"react native sql" - 110'}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsx)(n.p,{children:'"sqlite electron"'}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsx)(n.p,{children:'"localstorage vs indexeddb"'}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsx)(n.p,{children:'"react native nosql database" - 30'}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsx)(n.p,{children:'"indexeddb library" - 260'}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsx)(n.p,{children:'"indexeddb encryption" - 90'}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsx)(n.p,{children:'"client side database" - 140'}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsx)(n.p,{children:'"webtransport vs websocket"'}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsx)(n.p,{children:'"local first development" - 210'}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsx)(n.p,{children:'"local storage examples"'}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsx)(n.p,{children:'"local vector database" - 590'}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsx)(n.p,{children:'"mobile app database" - 590'}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsx)(n.p,{children:'"web based database"'}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsx)(n.p,{children:'"livequery" - 210'}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsx)(n.p,{children:'"expo database" - 390'}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsx)(n.p,{children:'"database sync" - 8100'}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsx)(n.p,{children:'"p2p database" - 170'}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsx)(n.p,{children:'"reactive app" - 260'}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsx)(n.p,{children:'"offline web app" - 320'}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsx)(n.p,{children:'"offline sync" - 320'}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsx)(n.p,{children:'"react native encrypted storage" - 1000'}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsx)(n.p,{children:'"firestore vs firebase" - 1300'}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsx)(n.p,{children:'"ionic alternatives" - 480'}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsx)(n.p,{children:'"react native backend" - 720'}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsx)(n.p,{children:'"react native alternative" - 1000'}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsx)(n.p,{children:'"react native sqlite" - 1900'}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsx)(n.p,{children:'"flutter vs react native" - 5400'}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsx)(n.p,{children:'"react native redux" - 3600'}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsx)(n.p,{children:'"redux alternative" - 1300'}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsx)(n.p,{children:'"Awesome local first" - 10'}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsx)(n.p,{children:'"tauri database" - 170'}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsx)(n.p,{children:'"sqlite javascript" - 2900'}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsx)(n.p,{children:'"sqlite typescript" - 260'}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsx)(n.p,{children:'"sync engine" - 390'}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsx)(n.p,{children:'"indexeddb alternative" - 70'}),"\n"]}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"non-seo",children:"Non Seo"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsx)(n.li,{children:'"Local-First Partial Sync with RxDB"'}),"\n",(0,r.jsx)(n.li,{children:'"why the indexeddb API is almost perfekt"'}),"\n",(0,r.jsx)(n.li,{children:'"how to do auth with RxDB"'}),"\n",(0,r.jsx)(n.li,{children:'"Where to store that JWT token?"'}),"\n"]})]})}function o(e={}){const{wrapper:n}={...(0,l.R)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(h,{...e})}):h(e)}},8453(e,n,i){i.d(n,{R:()=>t,x:()=>d});var s=i(6540);const r={},l=s.createContext(r);function t(e){const n=s.useContext(l);return s.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function d(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:t(e.components),s.createElement(l.Provider,{value:n},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/0e945c41.0c53f212.js b/docs/assets/js/0e945c41.0c53f212.js
deleted file mode 100644
index bf66edee9ca..00000000000
--- a/docs/assets/js/0e945c41.0c53f212.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[9796],{8453(e,n,r){r.d(n,{R:()=>o,x:()=>a});var s=r(6540);const i={},t=s.createContext(i);function o(e){const n=s.useContext(t);return s.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function a(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:o(e.components),s.createElement(t.Provider,{value:n},e.children)}},8908(e,n,r){r.r(n),r.d(n,{assets:()=>l,contentTitle:()=>a,default:()=>h,frontMatter:()=>o,metadata:()=>s,toc:()=>c});const s=JSON.parse('{"id":"replication-server","title":"RxDB Server Replication","description":"The Server Replication Plugin connects to the replication endpoint of an RxDB Server Replication Endpoint and replicates data between the client and the server.","source":"@site/docs/replication-server.md","sourceDirName":".","slug":"/replication-server.html","permalink":"/replication-server.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"RxDB Server Replication","slug":"replication-server.html"},"sidebar":"tutorialSidebar","previous":{"title":"HTTP Replication","permalink":"/replication-http.html"},"next":{"title":"GraphQL Replication","permalink":"/replication-graphql.html"}}');var i=r(4848),t=r(8453);const o={title:"RxDB Server Replication",slug:"replication-server.html"},a="RxDB Server Replication",l={},c=[{value:"Usage",id:"usage",level:2},{value:"outdatedClient$",id:"outdatedclient",level:2},{value:"unauthorized$",id:"unauthorized",level:2},{value:"forbidden$",id:"forbidden",level:2},{value:"Custom EventSource implementation",id:"custom-eventsource-implementation",level:2}];function d(e){const n={a:"a",code:"code",em:"em",figure:"figure",h1:"h1",h2:"h2",header:"header",p:"p",pre:"pre",span:"span",...(0,t.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.header,{children:(0,i.jsx)(n.h1,{id:"rxdb-server-replication",children:"RxDB Server Replication"})}),"\n",(0,i.jsxs)(n.p,{children:["The ",(0,i.jsx)(n.em,{children:"Server Replication Plugin"})," connects to the replication endpoint of an ",(0,i.jsx)(n.a,{href:"/rx-server.html#replication-endpoint",children:"RxDB Server Replication Endpoint"})," and replicates data between the client and the server."]}),"\n",(0,i.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,i.jsxs)(n.p,{children:["The replication server plugin is imported from the ",(0,i.jsx)(n.code,{children:"rxdb-server"})," npm package. Then you start the replication with a given collection and endpoint url by calling ",(0,i.jsx)(n.code,{children:"replicateServer()"}),"."]}),"\n",(0,i.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" { replicateServer } "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb-server/plugins/replication-server'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" replicationState"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" replicateServer"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" collection"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" usersCollection"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" replicationIdentifier"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'my-server-replication'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" url"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'http://localhost:80/users/0'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // endpoint url with the servers collection schema version at the end"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" headers"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" Authorization"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'Bearer S0VLU0UhI...'"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" push"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {}"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" pull"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {}"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" live"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" true"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,i.jsx)(n.h2,{id:"outdatedclient",children:"outdatedClient$"}),"\n",(0,i.jsxs)(n.p,{children:["When you update your schema at the server and run a migration, you end up with a different replication url that has a new schema version number at the end.\nYour clients might still be running an old version of your application that will no longer be compatible with the endpoint. Therefore when the client tries to call a server endpoint with an outdated schema version, the ",(0,i.jsx)(n.code,{children:"outdatedClient$"})," observable emits to tell your client that the application must be updated. With that event you can tell the client to update the application.\nOn browser application you might want to just reload the page on that event:"]}),"\n",(0,i.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"replicationState"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"outdatedClient$"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".subscribe"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(() "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" location"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".reload"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,i.jsx)(n.h2,{id:"unauthorized",children:"unauthorized$"}),"\n",(0,i.jsxs)(n.p,{children:["When you clients auth data is not valid (or no longer valid), the server will no longer accept any requests from you client and inform the client that the auth headers must be updated.\nThe ",(0,i.jsx)(n.code,{children:"unauthorized$"})," observable will emit and expects you to update the headers accordingly so that following requests will be accepted again."]}),"\n",(0,i.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"replicationState"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"unauthorized$"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".subscribe"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(() "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" replicationState"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".setHeaders"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" Authorization"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'Bearer S0VLU0UhI...'"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" });"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,i.jsx)(n.h2,{id:"forbidden",children:"forbidden$"}),"\n",(0,i.jsxs)(n.p,{children:["When you client behaves wrong in any case, like update non-allowed values or changing documents that it is not allowed to,\nthe server will drop the connection and the replication state will emit on the ",(0,i.jsx)(n.code,{children:"forbidden$"})," observable.\nIt will also automatically stop the replication so that your client does not accidentally DOS attack the server."]}),"\n",(0,i.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"replicationState"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"forbidden$"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".subscribe"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(() "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" console"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".log"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'Client is behaving wrong'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,i.jsx)(n.h2,{id:"custom-eventsource-implementation",children:"Custom EventSource implementation"}),"\n",(0,i.jsxs)(n.p,{children:["For the server send events, the ",(0,i.jsx)(n.a,{href:"https://github.com/EventSource/eventsource",children:"eventsource"})," npm package is used instead of the native ",(0,i.jsx)(n.code,{children:"EventSource"})," API. We need this because the native browser API does not support sending headers with the request which is required by the server to parse the auth data."]}),"\n",(0,i.jsx)(n.p,{children:"If the eventsource package does not work for you, you can set an own implementation when creating the replication."}),"\n",(0,i.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" replicationState"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" replicateServer"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /* ... */"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" eventSource"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" MyEventSourceConstructor"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /* ... */"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})})]})}function h(e={}){const{wrapper:n}={...(0,t.R)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(d,{...e})}):d(e)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/0f6e10f0.51b093f2.js b/docs/assets/js/0f6e10f0.51b093f2.js
deleted file mode 100644
index ec885888dcb..00000000000
--- a/docs/assets/js/0f6e10f0.51b093f2.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[1475],{7706(e,i,s){s.r(i),s.d(i,{assets:()=>l,contentTitle:()=>o,default:()=>h,frontMatter:()=>t,metadata:()=>a,toc:()=>d});const a=JSON.parse('{"id":"articles/progressive-web-app-database","title":"RxDB as a Database for Progressive Web Apps (PWA)","description":"Discover how RxDB supercharges Progressive Web Apps with real-time sync, offline-first capabilities, and lightning-fast data handling.","source":"@site/docs/articles/progressive-web-app-database.md","sourceDirName":"articles","slug":"/articles/progressive-web-app-database.html","permalink":"/articles/progressive-web-app-database.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"RxDB as a Database for Progressive Web Apps (PWA)","slug":"progressive-web-app-database.html","description":"Discover how RxDB supercharges Progressive Web Apps with real-time sync, offline-first capabilities, and lightning-fast data handling."},"sidebar":"tutorialSidebar","previous":{"title":"Real-Time & Offline - RxDB for Mobile Apps","permalink":"/articles/mobile-database.html"},"next":{"title":"RxDB as a Database for React Applications","permalink":"/articles/react-database.html"}}');var n=s(4848),r=s(8453);const t={title:"RxDB as a Database for Progressive Web Apps (PWA)",slug:"progressive-web-app-database.html",description:"Discover how RxDB supercharges Progressive Web Apps with real-time sync, offline-first capabilities, and lightning-fast data handling."},o="RxDB as a Database for Progressive Web Apps (PWA)",l={},d=[{value:"What is a Progressive Web App",id:"what-is-a-progressive-web-app",level:2},{value:"Introducing RxDB as a Client-Side Database for PWAs",id:"introducing-rxdb-as-a-client-side-database-for-pwas",level:2},{value:"Getting Started with RxDB",id:"getting-started-with-rxdb",level:3},{value:"Local-First Approach",id:"local-first-approach",level:4},{value:"Observable Queries",id:"observable-queries",level:4},{value:"Multi-Tab Support",id:"multi-tab-support",level:4},{value:"Using RxDB in a Progressive Web App",id:"using-rxdb-in-a-progressive-web-app",level:3},{value:"Exploring Different RxStorage Layers",id:"exploring-different-rxstorage-layers",level:2},{value:"Advanced RxDB Features and Techniques",id:"advanced-rxdb-features-and-techniques",level:2},{value:"Encryption of Local Data",id:"encryption-of-local-data",level:3},{value:"Indexing and Performance Optimization",id:"indexing-and-performance-optimization",level:3},{value:"JSON Key Compression",id:"json-key-compression",level:3},{value:"Change Streams and Event Handling",id:"change-streams-and-event-handling",level:3},{value:"Conclusion",id:"conclusion",level:2},{value:"Follow Up",id:"follow-up",level:2}];function c(e){const i={a:"a",code:"code",figure:"figure",h1:"h1",h2:"h2",h3:"h3",h4:"h4",header:"header",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...(0,r.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(i.header,{children:(0,n.jsx)(i.h1,{id:"rxdb-as-a-database-for-progressive-web-apps-pwa",children:"RxDB as a Database for Progressive Web Apps (PWA)"})}),"\n",(0,n.jsx)(i.p,{children:"Progressive Web Apps (PWAs) have revolutionized the digital landscape, offering users an immersive blend of web and native app experiences. At the heart of every successful PWA lies effective data management, and this is where RxDB comes into play. In this article, we'll explore the dynamic synergy between RxDB, a robust client-side database, and Progressive Web Apps, uncovering how RxDB enhances data handling, synchronization, and overall performance, propelling PWAs into a new era of excellence."}),"\n",(0,n.jsx)(i.h2,{id:"what-is-a-progressive-web-app",children:"What is a Progressive Web App"}),"\n",(0,n.jsx)(i.p,{children:"Progressive Web Apps are the future of web development, seamlessly combining the best of both web and mobile app worlds. They can be easily installed on the user's home screen, function offline, and load at lightning speed. Unlike hybrid apps, PWAs offer a consistent user experience across platforms, making them a versatile choice for modern applications."}),"\n",(0,n.jsx)(i.p,{children:"PWAs bring a plethora of advantages to the table. They eliminate the hassle of app store installations and updates, reduce dependency on network connectivity, and prioritize fast loading times. By harnessing the power of service workers and intelligent caching mechanisms, PWAs ensure users can access content even in offline mode. Furthermore, PWAs are device-agnostic, seamlessly adapting to various devices, from desktops to smartphones."}),"\n",(0,n.jsx)(i.h2,{id:"introducing-rxdb-as-a-client-side-database-for-pwas",children:"Introducing RxDB as a Client-Side Database for PWAs"}),"\n",(0,n.jsx)(i.p,{children:"At the heart of PWAs lies efficient data management, and RxDB steps in as a reliable ally. As a client-side NoSQL database, RxDB seamlessly integrates into web applications, offering real-time data synchronization and manipulation capabilities. This article sheds light on the transformative potential of RxDB as it collaborates harmoniously with PWAs, enabling local-first strategies and elevating user interactions to a whole new level."}),"\n",(0,n.jsx)("center",{children:(0,n.jsx)("a",{href:"https://rxdb.info/",children:(0,n.jsx)("img",{src:"../files/logo/rxdb_javascript_database.svg",alt:"Progressive Web App Database",width:"228"})})}),"\n",(0,n.jsx)(i.h3,{id:"getting-started-with-rxdb",children:"Getting Started with RxDB"}),"\n",(0,n.jsx)(i.p,{children:"RxDB emerges as a reactive, schema-based NoSQL database crafted explicitly for client-side applications. Its real-time data synchronization and responsiveness align seamlessly with the dynamic demands of modern PWAs."}),"\n",(0,n.jsx)(i.h4,{id:"local-first-approach",children:"Local-First Approach"}),"\n",(0,n.jsx)(i.p,{children:"The cornerstone of RxDB's philosophy is the local-first approach, empowering PWAs to prioritize data storage and manipulation on the client side. This paradigm ensures that PWAs remain functional even when offline, allowing users to access and interact with data seamlessly. RxDB bridges any gaps in data synchronization once network connectivity is restored."}),"\n",(0,n.jsx)(i.h4,{id:"observable-queries",children:"Observable Queries"}),"\n",(0,n.jsxs)(i.p,{children:["Observable queries (aka ",(0,n.jsx)(i.strong,{children:"Live-Queries"}),") serve as the engine of RxDB's dynamic capabilities. By leveraging these queries, PWAs can monitor and respond to data changes in real time. The result is an engaging user interface with instantaneous updates that captivate users and keep them engaged."]}),"\n",(0,n.jsx)(i.figure,{"data-rehype-pretty-code-figure":"",children:(0,n.jsx)(i.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,n.jsxs)(i.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,n.jsxs)(i.span,{"data-line":"",children:[(0,n.jsx)(i.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,n.jsx)(i.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,n.jsx)(i.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,n.jsx)(i.span,{style:{color:"var(--shiki-token-constant)"},children:"heroes"}),(0,n.jsx)(i.span,{style:{color:"var(--shiki-token-function)"},children:".find"}),(0,n.jsx)(i.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,n.jsxs)(i.span,{"data-line":"",children:[(0,n.jsx)(i.span,{style:{color:"var(--shiki-foreground)"},children:" selector"}),(0,n.jsx)(i.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,n.jsx)(i.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,n.jsxs)(i.span,{"data-line":"",children:[(0,n.jsx)(i.span,{style:{color:"var(--shiki-foreground)"},children:" healthpoints"}),(0,n.jsx)(i.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,n.jsx)(i.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,n.jsxs)(i.span,{"data-line":"",children:[(0,n.jsx)(i.span,{style:{color:"var(--shiki-foreground)"},children:" $gt"}),(0,n.jsx)(i.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,n.jsx)(i.span,{style:{color:"var(--shiki-token-constant)"},children:" 0"})]}),"\n",(0,n.jsx)(i.span,{"data-line":"",children:(0,n.jsx)(i.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,n.jsx)(i.span,{"data-line":"",children:(0,n.jsx)(i.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,n.jsx)(i.span,{"data-line":"",children:(0,n.jsx)(i.span,{style:{color:"var(--shiki-foreground)"},children:"})"})}),"\n",(0,n.jsxs)(i.span,{"data-line":"",children:[(0,n.jsx)(i.span,{style:{color:"var(--shiki-foreground)"},children:".$ "}),(0,n.jsx)(i.span,{style:{color:"var(--shiki-token-comment)"},children:"// the $ returns an observable that emits each time the result set of the query changes"})]}),"\n",(0,n.jsxs)(i.span,{"data-line":"",children:[(0,n.jsx)(i.span,{style:{color:"var(--shiki-token-function)"},children:".subscribe"}),(0,n.jsx)(i.span,{style:{color:"var(--shiki-foreground)"},children:"(aliveHeroes "}),(0,n.jsx)(i.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,n.jsx)(i.span,{style:{color:"var(--shiki-token-constant)"},children:" console"}),(0,n.jsx)(i.span,{style:{color:"var(--shiki-token-function)"},children:".dir"}),(0,n.jsx)(i.span,{style:{color:"var(--shiki-foreground)"},children:"(aliveHeroes));"})]})]})})}),"\n",(0,n.jsx)(i.h4,{id:"multi-tab-support",children:"Multi-Tab Support"}),"\n",(0,n.jsx)(i.p,{children:"RxDB extends its prowess to multi-tab scenarios, guaranteeing data consistency across different tabs or windows of the same PWA. This feature promotes a seamless transition between various sections of the application, while minimizing data conflicts."}),"\n",(0,n.jsx)("p",{align:"center",children:(0,n.jsx)("img",{src:"../files/multiwindow.gif",alt:"multi tab support",width:"450"})}),"\n",(0,n.jsx)(i.h3,{id:"using-rxdb-in-a-progressive-web-app",children:"Using RxDB in a Progressive Web App"}),"\n",(0,n.jsx)(i.p,{children:"Integrating RxDB into a Progressive Web App, driven by technologies like React, is a straightforward process. By configuring RxDB and installing the necessary packages, developers establish a solid foundation for robust data management within their PWA."}),"\n",(0,n.jsx)(i.h2,{id:"exploring-different-rxstorage-layers",children:"Exploring Different RxStorage Layers"}),"\n",(0,n.jsx)(i.p,{children:"RxDB caters to diverse needs through its various RxStorage layers:"}),"\n",(0,n.jsxs)(i.ul,{children:["\n",(0,n.jsxs)(i.li,{children:[(0,n.jsx)(i.a,{href:"/rx-storage-localstorage.html",children:"localstorage RxStorage"}),": Leveraging the capabilities of the browsers localstorage API for storage."]}),"\n",(0,n.jsxs)(i.li,{children:[(0,n.jsx)(i.a,{href:"/rx-storage-indexeddb.html",children:"IndexedDB RxStorage"}),": Tapping into the browser's IndexedDB for efficient data storage."]}),"\n",(0,n.jsxs)(i.li,{children:[(0,n.jsx)(i.a,{href:"/rx-storage-opfs.html",children:"OPFS RxStorage"}),": Interfacing with the Offline-First Persistence System for seamless persistence."]}),"\n",(0,n.jsxs)(i.li,{children:[(0,n.jsx)(i.a,{href:"/rx-storage-memory.html",children:"Memory RxStorage"}),": Storing data in memory, ideal for temporary data requirements.\nThis flexibility empowers developers to optimize data storage based on the unique needs of their PWA."]}),"\n"]}),"\n",(0,n.jsx)(i.p,{children:"Synchronizing Data with RxDB between PWA Clients and Servers\nTo facilitate seamless data synchronization between PWA clients and servers, RxDB offers a range of replication options:"}),"\n",(0,n.jsxs)(i.ul,{children:["\n",(0,n.jsxs)(i.li,{children:["\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.a,{href:"/replication.html",children:"RxDB Replication Algorithm"}),": RxDB introduces its own replication algorithm, enabling efficient and reliable data synchronization between clients and servers."]}),"\n"]}),"\n",(0,n.jsxs)(i.li,{children:["\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.a,{href:"/replication-couchdb.html",children:"CouchDB Replication"}),": Leveraging its roots in CouchDB, RxDB facilitates smooth data replication between clients and CouchDB servers, ensuring data consistency and synchronization across devices."]}),"\n"]}),"\n",(0,n.jsxs)(i.li,{children:["\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.a,{href:"/replication-firestore.html",children:"Firestore Replication"}),": RxDB synchronizes data with Google Firestore, a real-time cloud-hosted NoSQL database. This integration guarantees up-to-date data across different instances of the PWA."]}),"\n"]}),"\n",(0,n.jsxs)(i.li,{children:["\n",(0,n.jsxs)(i.p,{children:[(0,n.jsx)(i.a,{href:"/replication-webrtc.html",children:"Peer-to-Peer (P2P) via WebRTC"})," Replication: RxDB supports P2P replication, facilitating direct data synchronization between clients without intermediaries. This decentralized approach is invaluable in scenarios where server infrastructure is limited."]}),"\n"]}),"\n"]}),"\n",(0,n.jsx)(i.h2,{id:"advanced-rxdb-features-and-techniques",children:"Advanced RxDB Features and Techniques"}),"\n",(0,n.jsx)(i.h3,{id:"encryption-of-local-data",children:"Encryption of Local Data"}),"\n",(0,n.jsx)(i.p,{children:"RxDB empowers PWAs with the ability to encrypt local data, enhancing data security and safeguarding sensitive information. This feature is indispensable for applications handling user credentials, financial transactions, and other confidential data."}),"\n",(0,n.jsx)(i.h3,{id:"indexing-and-performance-optimization",children:"Indexing and Performance Optimization"}),"\n",(0,n.jsx)(i.p,{children:"Performance optimization is a top priority for PWAs. RxDB addresses this concern by offering indexing options that expedite data retrieval, resulting in a snappier user interface and heightened responsiveness."}),"\n",(0,n.jsx)(i.h3,{id:"json-key-compression",children:"JSON Key Compression"}),"\n",(0,n.jsx)(i.p,{children:"RxDB introduces JSON key compression, a feature that reduces storage requirements. This optimization is particularly beneficial for PWAs dealing with substantial data volumes, enhancing overall efficiency and resource utilization."}),"\n",(0,n.jsx)(i.h3,{id:"change-streams-and-event-handling",children:"Change Streams and Event Handling"}),"\n",(0,n.jsx)(i.p,{children:"RxDB introduces change streams, enabling PWAs to react to data changes in real time. This capability empowers dynamic updates to the user interface, promoting interactivity and engagement."}),"\n",(0,n.jsx)(i.h2,{id:"conclusion",children:"Conclusion"}),"\n",(0,n.jsx)(i.p,{children:"In the ever-evolving landscape of web application development, Progressive Web Apps continue to redefine user experiences. RxDB emerges as a pivotal player, seamlessly integrating with PWAs and enhancing their capabilities. With features like the local-first approach, observable queries, replication mechanisms, and advanced encryption, RxDB empowers developers to create responsive, offline-capable, and data-driven PWAs. As the demand for sophisticated PWAs continues to surge, RxDB remains an indispensable tool for developers aiming to push the boundaries of innovation and redefine the standards of user engagement. By embracing RxDB, developers ensure their PWAs remain at the forefront of the digital revolution, offering seamless and immersive experiences to users around the world."}),"\n",(0,n.jsx)(i.h2,{id:"follow-up",children:"Follow Up"}),"\n",(0,n.jsx)(i.p,{children:"To explore more about RxDB and leverage its capabilities for browser database development, check out the following resources:"}),"\n",(0,n.jsxs)(i.ul,{children:["\n",(0,n.jsxs)(i.li,{children:[(0,n.jsx)(i.a,{href:"https://github.com/pubkey/rxdb",children:"RxDB GitHub Repository"}),": Visit the official GitHub repository of RxDB to access the source code, documentation, and community support."]}),"\n",(0,n.jsxs)(i.li,{children:[(0,n.jsx)(i.a,{href:"/quickstart.html",children:"RxDB Quickstart"}),": Get started quickly with RxDB by following the provided quickstart guide, which provides step-by-step instructions for setting up and using RxDB in your projects."]}),"\n",(0,n.jsx)(i.li,{children:(0,n.jsx)(i.a,{href:"https://github.com/pubkey/rxdb/tree/master/examples/angular",children:"RxDB Progressive Web App in Angular Example"})}),"\n"]})]})}function h(e={}){const{wrapper:i}={...(0,r.R)(),...e.components};return i?(0,n.jsx)(i,{...e,children:(0,n.jsx)(c,{...e})}):c(e)}},8453(e,i,s){s.d(i,{R:()=>t,x:()=>o});var a=s(6540);const n={},r=a.createContext(n);function t(e){const i=a.useContext(r);return a.useMemo(function(){return"function"==typeof e?e(i):{...i,...e}},[i,e])}function o(e){let i;return i=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:t(e.components),a.createElement(r.Provider,{value:i},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/118cde4c.d7e82ca5.js b/docs/assets/js/118cde4c.d7e82ca5.js
deleted file mode 100644
index 1d613b431fc..00000000000
--- a/docs/assets/js/118cde4c.d7e82ca5.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[5272],{2318(e,n,s){s.r(n),s.d(n,{assets:()=>t,contentTitle:()=>a,default:()=>d,frontMatter:()=>l,metadata:()=>r,toc:()=>c});const r=JSON.parse('{"id":"replication-couchdb","title":"RxDB\'s CouchDB Replication Plugin","description":"Replicate your RxDB collections with CouchDB the fast way. Enjoy faster sync, easier conflict handling, and flexible storage using this modern plugin.","source":"@site/docs/replication-couchdb.md","sourceDirName":".","slug":"/replication-couchdb.html","permalink":"/replication-couchdb.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"RxDB\'s CouchDB Replication Plugin","slug":"replication-couchdb.html","description":"Replicate your RxDB collections with CouchDB the fast way. Enjoy faster sync, easier conflict handling, and flexible storage using this modern plugin."},"sidebar":"tutorialSidebar","previous":{"title":"WebSocket Replication","permalink":"/replication-websocket.html"},"next":{"title":"WebRTC P2P Replication","permalink":"/replication-webrtc.html"}}');var i=s(4848),o=s(8453);const l={title:"RxDB's CouchDB Replication Plugin",slug:"replication-couchdb.html",description:"Replicate your RxDB collections with CouchDB the fast way. Enjoy faster sync, easier conflict handling, and flexible storage using this modern plugin."},a="Replication with CouchDB",t={},c=[{value:"Pros",id:"pros",level:2},{value:"Cons",id:"cons",level:2},{value:"Usage",id:"usage",level:2},{value:"Conflict handling",id:"conflict-handling",level:2},{value:"Auth example",id:"auth-example",level:2},{value:"Limitations",id:"limitations",level:2},{value:"Known problems",id:"known-problems",level:2},{value:"Database missing",id:"database-missing",level:3},{value:"React Native",id:"react-native",level:2}];function h(e){const n={a:"a",code:"code",figure:"figure",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...(0,o.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.header,{children:(0,i.jsx)(n.h1,{id:"replication-with-couchdb",children:"Replication with CouchDB"})}),"\n",(0,i.jsx)(n.p,{children:"A plugin to replicate between a RxCollection and a CouchDB server."}),"\n",(0,i.jsxs)(n.p,{children:["This plugins uses the RxDB ",(0,i.jsx)(n.a,{href:"/replication.html",children:"Sync Engine"})," to replicate with a CouchDB endpoint. This plugin ",(0,i.jsx)(n.strong,{children:"does NOT"})," use the official ",(0,i.jsx)(n.a,{href:"https://docs.couchdb.org/en/stable/replication/protocol.html",children:"CouchDB replication protocol"})," because the CouchDB protocol was optimized for server-to-server replication and is not suitable for fast client side applications, mostly because it has to run many HTTP-requests (at least one per document) and also it has to store the whole revision tree of the documents at the client. This makes initial replication and querying very slow."]}),"\n",(0,i.jsx)(n.p,{children:"Because the way how RxDB handles revisions and documents is very similar to CouchDB, using the RxDB replication with a CouchDB endpoint is pretty straightforward."}),"\n",(0,i.jsx)(n.h2,{id:"pros",children:"Pros"}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsx)(n.li,{children:"Faster initial replication."}),"\n",(0,i.jsxs)(n.li,{children:["Works with any ",(0,i.jsx)(n.a,{href:"/rx-storage.html",children:"RxStorage"}),", not just PouchDB."]}),"\n",(0,i.jsx)(n.li,{children:"Easier conflict handling because conflicts are handled during replication and not afterwards."}),"\n",(0,i.jsx)(n.li,{children:"Does not have to store all document revisions on the client, only stores the newest version."}),"\n"]}),"\n",(0,i.jsx)(n.h2,{id:"cons",children:"Cons"}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:["Does not support the replication of ",(0,i.jsx)(n.a,{href:"/rx-attachment.html",children:"attachments"}),"."]}),"\n",(0,i.jsxs)(n.li,{children:["Like all CouchDB replication plugins, this one is also limited to replicating 6 collections in parallel. ",(0,i.jsx)(n.a,{href:"/replication-couchdb.html#limitations",children:"Read this for workarounds"})]}),"\n"]}),"\n",(0,i.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,i.jsxs)(n.p,{children:["Start the replication via ",(0,i.jsx)(n.code,{children:"replicateCouchDB()"}),"."]}),"\n",(0,i.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" { replicateCouchDB } "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/replication-couchdb'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" replicationState"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" replicateCouchDB"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" replicationIdentifier"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'my-couchdb-replication'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" collection"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" myRxCollection"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // url to the CouchDB endpoint (required)"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" url"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'http://example.com/db/humans'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * true for live replication,"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * false for a one-time replication."})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * [default=true]"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" live"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" true"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * A custom fetch() method can be provided"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * to add authentication or credentials."})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * Can be swapped out dynamically"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * by running 'replicationState.fetch = newFetchMethod;'."})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * (optional)"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" fetch"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" myCustomFetchMethod"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" pull"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * Amount of documents to be fetched in one HTTP request"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * (optional)"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" batchSize"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 60"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * Custom modifier to mutate pulled documents"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * before storing them in RxDB."})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * (optional)"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" modifier"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" docData "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"/* ... */"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"}"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" "})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * Heartbeat time in milliseconds"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * for the long polling of the changestream."})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"@link"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" https://docs.couchdb.org/en/3.2.2-docs/api/database/changes.html"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * (optional, default=60000)"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" heartbeat"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 60000"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" push"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * How many local changes to process at once."})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * (optional)"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" batchSize"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 60"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * Custom modifier to mutate documents"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * before sending them to the CouchDB endpoint."})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * (optional)"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" modifier"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" docData "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"/* ... */"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"} "})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:");"})})]})})}),"\n",(0,i.jsxs)(n.p,{children:["When you call ",(0,i.jsx)(n.code,{children:"replicateCouchDB()"})," it returns a ",(0,i.jsx)(n.code,{children:"RxCouchDBReplicationState"})," which can be used to subscribe to events, for debugging or other functions. It extends the ",(0,i.jsx)(n.a,{href:"/replication.html",children:"RxReplicationState"})," so any other method that can be used there can also be used on the CouchDB replication state."]}),"\n",(0,i.jsx)(n.h2,{id:"conflict-handling",children:"Conflict handling"}),"\n",(0,i.jsxs)(n.p,{children:["When conflicts appear during replication, the ",(0,i.jsx)(n.code,{children:"conflictHandler"})," of the ",(0,i.jsx)(n.code,{children:"RxCollection"})," is used, equal to the other replication plugins. Read more about conflict handling ",(0,i.jsx)(n.a,{href:"/replication.html#conflict-handling",children:"here"}),"."]}),"\n",(0,i.jsx)(n.h2,{id:"auth-example",children:"Auth example"}),"\n",(0,i.jsxs)(n.p,{children:["Lets say for authentication you need to add a ",(0,i.jsx)(n.a,{href:"https://swagger.io/docs/specification/authentication/bearer-authentication/",children:"bearer token"})," as HTTP header to each request. You can achieve that by crafting a custom ",(0,i.jsx)(n.code,{children:"fetch()"})," method that add the header field."]}),"\n",(0,i.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" myCustomFetch"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" (url"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" options) "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // flat clone the given options to not mutate the input"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" optionsWithAuth"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" Object"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".assign"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({}"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" options);"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // ensure the headers property exists"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" if"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"!"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"optionsWithAuth"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:".headers) {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" optionsWithAuth"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:".headers "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {};"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // add bearer token to headers"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" optionsWithAuth"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:".headers["}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'Authorization'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"] "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'Basic S0VLU0UhIExFQ0...'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // call the original fetch function with our custom options."})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" fetch"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" url"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" optionsWithAuth"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" );"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"};"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" replicationState"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" replicateCouchDB"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" replicationIdentifier"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'my-couchdb-replication'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" collection"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" myRxCollection"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" url"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'http://example.com/db/humans'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * Add the custom fetch function here."})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" fetch"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" myCustomFetch"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" pull"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {}"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" push"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {}"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:");"})})]})})}),"\n",(0,i.jsxs)(n.p,{children:["Also when your bearer token changes over time, you can set a new custom ",(0,i.jsx)(n.code,{children:"fetch"})," method while the replication is running:"]}),"\n",(0,i.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsx)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"replicationState"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:".fetch "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" newCustomFetchMethod;"})]})})})}),"\n",(0,i.jsxs)(n.p,{children:["Also there is a helper method ",(0,i.jsx)(n.code,{children:"getFetchWithCouchDBAuthorization()"})," to create a fetch handler with authorization:"]}),"\n",(0,i.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" { "})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" replicateCouchDB"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" getFetchWithCouchDBAuthorization"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/replication-couchdb'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" replicationState"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" replicateCouchDB"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" replicationIdentifier"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'my-couchdb-replication'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" collection"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" myRxCollection"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" url"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'http://example.com/db/humans'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * Add the custom fetch function here."})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" fetch"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" getFetchWithCouchDBAuthorization"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'myUsername'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'myPassword'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:")"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" pull"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {}"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" push"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {}"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:");"})})]})})}),"\n",(0,i.jsx)(n.h2,{id:"limitations",children:"Limitations"}),"\n",(0,i.jsxs)(n.p,{children:["Since CouchDB only allows synchronization through HTTP1.1 long polling requests there is a limitation of 6 active synchronization connections before the browser prevents sending any further request. This limitation is at the level of browser per tab per domain (some browser, especially older ones, might have a different limit, ",(0,i.jsx)(n.a,{href:"https://docs.pushtechnology.com/cloud/latest/manual/html/designguide/solution/support/connection_limitations.html",children:"see here"}),")."]}),"\n",(0,i.jsxs)(n.p,{children:["Since this limitation is at the ",(0,i.jsx)(n.strong,{children:"browser"})," level there are several solutions:"]}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsx)(n.li,{children:'Use only a single database for all entities and set a "type" field for each of the documents'}),"\n",(0,i.jsx)(n.li,{children:"Create multiple subdomains for CouchDB and use a max of 6 active synchronizations (or less) for each"}),"\n",(0,i.jsx)(n.li,{children:"Use a proxy (ex: HAProxy) between the browser and CouchDB and configure it to use HTTP2.0, since HTTP2.0"}),"\n"]}),"\n",(0,i.jsx)(n.p,{children:"If you use nginx in front of your CouchDB, you can use these settings to enable http2-proxying to prevent the connection limit problem:"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{children:'server {\n http2 on;\n location /db {\n rewrite /db/(.*) /$1 break;\n proxy_pass http://172.0.0.1:5984;\n proxy_redirect off;\n proxy_buffering off;\n proxy_set_header Host $host;\n proxy_set_header X-Forwarded-For $proxy_add_x_forwarded\n proxy_set_header Connection "keep_alive"\n }\n}\n'})}),"\n",(0,i.jsx)(n.h2,{id:"known-problems",children:"Known problems"}),"\n",(0,i.jsx)(n.h3,{id:"database-missing",children:"Database missing"}),"\n",(0,i.jsxs)(n.p,{children:["In contrast to PouchDB, this plugin ",(0,i.jsx)(n.strong,{children:"does NOT"})," automatically create missing CouchDB databases.\nIf your CouchDB server does not have a database yet, you have to create it by yourself by running a ",(0,i.jsx)(n.code,{children:"PUT"})," request to the database ",(0,i.jsx)(n.code,{children:"name"})," url:"]}),"\n",(0,i.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// create a 'humans' CouchDB database on the server"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" remoteDatabaseName"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'humans'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" fetch"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'http://example.com/db/'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" +"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" remoteDatabaseName"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" method"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'PUT'"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:");"})})]})})}),"\n",(0,i.jsx)(n.h2,{id:"react-native",children:"React Native"}),"\n",(0,i.jsxs)(n.p,{children:["React Native does not have a global ",(0,i.jsx)(n.code,{children:"fetch"})," method. You have to import fetch method with the ",(0,i.jsx)(n.a,{href:"https://www.npmjs.com/package/cross-fetch",children:"cross-fetch"})," package:"]}),"\n",(0,i.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" crossFetch "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'cross-fetch'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" replicationState"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" replicateCouchDB"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" replicationIdentifier"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'my-couchdb-replication'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" collection"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" myRxCollection"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" url"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'http://example.com/db/humans'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" fetch"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" crossFetch"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" pull"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {}"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" push"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {}"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:");"})})]})})})]})}function d(e={}){const{wrapper:n}={...(0,o.R)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(h,{...e})}):h(e)}},8453(e,n,s){s.d(n,{R:()=>l,x:()=>a});var r=s(6540);const i={},o=r.createContext(i);function l(e){const n=r.useContext(o);return r.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function a(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:l(e.components),r.createElement(o.Provider,{value:n},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/11d75f9a.8210c243.js b/docs/assets/js/11d75f9a.8210c243.js
deleted file mode 100644
index d6bbf20baf0..00000000000
--- a/docs/assets/js/11d75f9a.8210c243.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[8897],{8282(e,n,s){s.r(n),s.d(n,{assets:()=>l,contentTitle:()=>t,default:()=>h,frontMatter:()=>o,metadata:()=>r,toc:()=>c});const r=JSON.parse('{"id":"articles/react-native-encryption","title":"React Native Encryption and Encrypted Database/Storage","description":"Secure your React Native app with RxDB encryption. Learn why it matters, how to implement encrypted databases, and best practices to protect user data.","source":"@site/docs/articles/react-native-encryption.md","sourceDirName":"articles","slug":"/articles/react-native-encryption.html","permalink":"/articles/react-native-encryption.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"React Native Encryption and Encrypted Database/Storage","slug":"react-native-encryption.html","description":"Secure your React Native app with RxDB encryption. Learn why it matters, how to implement encrypted databases, and best practices to protect user data."},"sidebar":"tutorialSidebar","previous":{"title":"What is a Local Database and Why RxDB is the Best Local Database for JavaScript Applications","permalink":"/articles/local-database.html"},"next":{"title":"RxDB as a Database in a Vue.js Application","permalink":"/articles/vue-database.html"}}');var i=s(4848),a=s(8453);const o={title:"React Native Encryption and Encrypted Database/Storage",slug:"react-native-encryption.html",description:"Secure your React Native app with RxDB encryption. Learn why it matters, how to implement encrypted databases, and best practices to protect user data."},t="React Native Encryption and Encrypted Database/Storage",l={},c=[{value:"\ud83d\udd12 Why Encryption Matters",id:"-why-encryption-matters",level:2},{value:"React Native Encryption Overview",id:"react-native-encryption-overview",level:2},{value:"Setting Up Encryption in RxDB for React Native",id:"setting-up-encryption-in-rxdb-for-react-native",level:2},{value:"1. Install RxDB and Required Plugins",id:"1-install-rxdb-and-required-plugins",level:3},{value:"2. Set Up Your RxDB Database with Encryption",id:"2-set-up-your-rxdb-database-with-encryption",level:3},{value:"3. Inserting and Querying Encrypted Data",id:"3-inserting-and-querying-encrypted-data",level:3},{value:"Best Practices for React Native Encryption",id:"best-practices-for-react-native-encryption",level:2},{value:"Follow Up",id:"follow-up",level:2}];function d(e){const n={a:"a",code:"code",figure:"figure",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",ol:"ol",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...(0,a.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.header,{children:(0,i.jsx)(n.h1,{id:"react-native-encryption-and-encrypted-databasestorage",children:"React Native Encryption and Encrypted Database/Storage"})}),"\n",(0,i.jsx)(n.p,{children:"Data security is a critical concern in modern mobile applications. As React Native continues to grow in popularity for building cross-platform apps, ensuring that your data is protected is paramount. RxDB, a real-time database for JavaScript applications, offers powerful encryption features that can help you secure your React Native app's data."}),"\n",(0,i.jsxs)(n.p,{children:["This article explains why encryption is important, how to set it up with RxDB in ",(0,i.jsx)(n.a,{href:"/react-native-database.html",children:"React Native"}),", and best practices to keep your app secure."]}),"\n",(0,i.jsx)(n.h2,{id:"-why-encryption-matters",children:"\ud83d\udd12 Why Encryption Matters"}),"\n",(0,i.jsxs)(n.p,{children:["Encryption ensures that, even if an unauthorized party obtains physical access to your device or intercepts data, they cannot read the information without the encryption key. Sensitive user data such as credentials, personal information, or financial details should always be encrypted. Proper encryption practices reduce the risk of data breaches and help your application remain compliant with regulations like ",(0,i.jsx)(n.a,{href:"https://gdpr.eu/",children:"GDPR"})," or ",(0,i.jsx)(n.a,{href:"https://www.hhs.gov/hipaa/index.html",children:"HIPAA"}),"."]}),"\n",(0,i.jsx)(n.h2,{id:"react-native-encryption-overview",children:"React Native Encryption Overview"}),"\n",(0,i.jsx)(n.p,{children:"React Native supports multiple ways to secure local data:"}),"\n",(0,i.jsxs)(n.ol,{children:["\n",(0,i.jsxs)(n.li,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"Encrypted Databases"}),"\nUse databases with built-in encryption capabilities, such as SQLite with encryption layers or RxDB with its ",(0,i.jsx)(n.a,{href:"/encryption.html",children:"encryption plugin"}),"."]}),"\n"]}),"\n",(0,i.jsxs)(n.li,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"Secure Storage Libraries"}),"\nFor key-value data (like tokens or secrets), you can use libraries like ",(0,i.jsx)(n.a,{href:"https://github.com/oblador/react-native-keychain",children:"react-native-keychain"})," or ",(0,i.jsx)(n.a,{href:"https://github.com/emeraldsanto/react-native-encrypted-storage",children:"react-native-encrypted-storage"}),"."]}),"\n"]}),"\n",(0,i.jsxs)(n.li,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"Custom Encryption"}),"\nIf you need more fine-grained control, you can integrate libraries like ",(0,i.jsx)(n.a,{href:"https://github.com/brix/crypto-js",children:(0,i.jsx)(n.code,{children:"crypto-js"})})," or the ",(0,i.jsx)(n.a,{href:"https://developer.mozilla.org/en-US/docs/Web/API/Web_Crypto_API",children:"Web Crypto API"})," to encrypt data before storing it in a database or file."]}),"\n"]}),"\n"]}),"\n",(0,i.jsx)("center",{children:(0,i.jsx)("a",{href:"https://rxdb.info/",children:(0,i.jsx)("img",{src:"/files/logo/rxdb_javascript_database.svg",alt:"RxDB",width:"250"})})}),"\n",(0,i.jsx)(n.h2,{id:"setting-up-encryption-in-rxdb-for-react-native",children:"Setting Up Encryption in RxDB for React Native"}),"\n",(0,i.jsx)(n.h3,{id:"1-install-rxdb-and-required-plugins",children:"1. Install RxDB and Required Plugins"}),"\n",(0,i.jsx)(n.p,{children:"Install RxDB and the encryption plugin(s) you need. For the CryptoJS plugin:"}),"\n",(0,i.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"bash","data-theme":"css-variables",children:(0,i.jsxs)(n.code,{"data-language":"bash","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:"npm"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string)"},children:" install"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string)"},children:" rxdb"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:"npm"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string)"},children:" install"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string)"},children:" crypto-js"})]})]})})}),"\n",(0,i.jsx)(n.h3,{id:"2-set-up-your-rxdb-database-with-encryption",children:"2. Set Up Your RxDB Database with Encryption"}),"\n",(0,i.jsxs)(n.p,{children:["RxDB offers two ",(0,i.jsx)(n.a,{href:"/encryption.html",children:"encryption plugins"}),":"]}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"CryptoJS Plugin"}),": A free and straightforward solution for most basic use cases."]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Web Crypto Plugin"}),": A ",(0,i.jsx)(n.a,{href:"/premium",children:"premium plugin"})," that utilizes the native Web Crypto API for better performance and security."]}),"\n"]}),"\n",(0,i.jsxs)(n.p,{children:["Below is an example showing how to set up RxDB using the CryptoJS plugin. This example uses the ",(0,i.jsx)(n.a,{href:"/rx-storage-memory.html",children:"in-memory storage"})," for testing purposes. In a real production scenario, you would use a persistent storage adapter, mostly the ",(0,i.jsx)(n.a,{href:"/rx-storage-sqlite.html",children:"SQLite-based storage"}),"."]}),"\n",(0,i.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"js","data-theme":"css-variables",children:(0,i.jsxs)(n.code,{"data-language":"js","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" { createRxDatabase } "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" { wrappedKeyEncryptionCryptoJsStorage } "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/encryption-crypto-js'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"/*"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * For testing, we use the in-memory storage of RxDB."})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * In production you would use the persistent SQLite based storage instead."})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" { getRxStorageMemory } "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/storage-memory'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"async"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" function"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" initEncryptedDatabase"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"() {"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // Wrap the normal storage with the encryption plugin"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" encryptedMemoryStorage"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" wrappedKeyEncryptionCryptoJsStorage"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageMemory"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"()"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" });"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // Create an encrypted database"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'myEncryptedDatabase'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" encryptedMemoryStorage"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" password"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'sudoLetMeIn'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // Make sure not to hardcode in production"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" });"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // Define a schema and create a collection"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".addCollections"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" secureData"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" schema"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" title"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'secure data schema'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" version"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 0"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'object'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" primaryKey"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'id'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" properties"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" id"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" maxLength"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 100"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" normalField"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" secretField"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" required"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" ["}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'id'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'normalField'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'secretField'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"]"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" });"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" db;"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"}"})})]})})}),"\n",(0,i.jsx)(n.h3,{id:"3-inserting-and-querying-encrypted-data",children:"3. Inserting and Querying Encrypted Data"}),"\n",(0,i.jsx)(n.p,{children:"Once you've set up the database with encryption, data in fields specified by your schema will be encrypted automatically before it is stored, and decrypted when queried."}),"\n",(0,i.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"js","data-theme":"css-variables",children:(0,i.jsxs)(n.code,{"data-language":"js","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"async"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" () "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" initEncryptedDatabase"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // Insert encrypted data"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" doc"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"secureData"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".insert"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" id"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'mySecretId'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" normalField"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'foobar'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" secretField"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'This is top secret data'"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" });"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // Query encrypted data by its primary key or non-encrypted fields"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" fetchedDoc"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"secureData"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".findOne"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" selector"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" normalField"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'foobar'"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" })"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".exec"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"true"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" console"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".log"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"fetchedDoc"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:".secretField); "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// 'This is top secret data'"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // Update data"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" fetchedDoc"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".patch"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" secretField"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'Updated secret data'"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" });"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"})();"})})]})})}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"Note"}),": You can only query directly by non-encrypted fields or primary keys. Encrypted fields cannot be used in queries because they are stored as ciphertext in the database. A common approach is to have a small subset of fields that need to be queried unencrypted while storing any sensitive data in encrypted fields."]}),"\n",(0,i.jsx)(n.h2,{id:"best-practices-for-react-native-encryption",children:"Best Practices for React Native Encryption"}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Secure Password Handling"}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsx)(n.li,{children:"Avoid hardcoding passwords or encryption keys."}),"\n",(0,i.jsx)(n.li,{children:"Use secure storage solutions like React Native Keychain or react-native-encrypted-storage to fetch the database password at runtime:"}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,i.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"js","data-theme":"css-variables",children:(0,i.jsxs)(n.code,{"data-language":"js","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// Example: using react-native-keychain to securely retrieve a stored password"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" *"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" as"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" Keychain "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'react-native-keychain'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"async"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" function"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" getDatabasePassword"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"() {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" credentials"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" Keychain"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".getGenericPassword"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" if"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" (credentials) {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" credentials"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:".password;"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" throw"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" new"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" Error"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'No password stored in Keychain'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"}"})})]})})}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Encrypt Attachments"}),":\nIf you need to store files (images, text files, etc.), consider encrypting attachments. RxDB supports attachments that can be encrypted automatically, ensuring your files are protected:"]}),"\n"]}),"\n",(0,i.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" { createBlob } "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/core'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" doc"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"secureData"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".findOne"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" selector"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" normalField"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'foobar'"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"})"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".exec"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"true"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" attachment"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" doc"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".putAttachment"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" id"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'encryptedFile.txt'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" data"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" createBlob"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'Sensitive content'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'text/plain'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:")"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'text/plain'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:["\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.strong,{children:"Optimize Performance"})}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsx)(n.li,{children:"If performance is critical, consider using the premium Web Crypto plugin, which leverages native APIs for faster encryption and decryption."}),"\n",(0,i.jsx)(n.li,{children:"If big chunks of data are encrypted, store them in attachments instead of document fields. Attachments will only be decrypted on explicit fetches, not during queries."}),"\n"]}),"\n"]}),"\n",(0,i.jsxs)(n.li,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"Use DevMode in Development"}),": RxDB's ",(0,i.jsx)(n.a,{href:"/dev-mode.html",children:"DevMode Plugin"})," can help validate your schema and encryption setup during development. Disable it in production for performance reasons."]}),"\n"]}),"\n",(0,i.jsxs)(n.li,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"Secure Communication"}),":"]}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsx)(n.li,{children:"Use HTTPS to secure network communication between the app and any backend services."}),"\n",(0,i.jsxs)(n.li,{children:["If you're synchronizing data to a server, ensure the data is also encrypted in transit. RxDB's ",(0,i.jsx)(n.a,{href:"/replication.html",children:"replication plugins"})," can work with secure endpoints to keep data consistent."]}),"\n"]}),"\n"]}),"\n",(0,i.jsxs)(n.li,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"SSL Pinning"}),": Consider SSL Pinning if you want to prevent man-in-the-middle attacks. SSL Pinning ensures the device trusts only the pinned certificate, preventing attackers from swapping out valid certificates with their own."]}),"\n"]}),"\n"]}),"\n",(0,i.jsx)(n.h2,{id:"follow-up",children:"Follow Up"}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:["Learn how to use RxDB with the ",(0,i.jsx)(n.a,{href:"/quickstart.html",children:"RxDB Quickstart"})," for a guided introduction."]}),"\n",(0,i.jsxs)(n.li,{children:["A good way to learn using RxDB database with React Native is to check out the ",(0,i.jsx)(n.a,{href:"https://github.com/pubkey/rxdb/tree/master/examples/react-native",children:"RxDB React Native example"})," and use that as a tutorial."]}),"\n",(0,i.jsxs)(n.li,{children:["Check out the ",(0,i.jsx)(n.a,{href:"https://github.com/pubkey/rxdb",children:"RxDB GitHub repository"})," and leave a star \u2b50 if you find it useful."]}),"\n",(0,i.jsxs)(n.li,{children:["Learn more about the ",(0,i.jsx)(n.a,{href:"/encryption.html",children:"RxDB encryption plugins"}),"."]}),"\n"]}),"\n",(0,i.jsx)(n.p,{children:"By following these best practices and leveraging RxDB's powerful encryption plugins, you can build secure, performant, and robust React Native applications that keep your users' data safe."})]})}function h(e={}){const{wrapper:n}={...(0,a.R)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(d,{...e})}):d(e)}},8453(e,n,s){s.d(n,{R:()=>o,x:()=>t});var r=s(6540);const i={},a=r.createContext(i);function o(e){const n=r.useContext(a);return r.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function t(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:o(e.components),r.createElement(a.Provider,{value:n},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/13dc6548.fadf8c1b.js b/docs/assets/js/13dc6548.fadf8c1b.js
deleted file mode 100644
index 4a5b1af38a5..00000000000
--- a/docs/assets/js/13dc6548.fadf8c1b.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[3483],{4637(e,a,t){t.r(a),t.d(a,{default:()=>r});var n=t(544),d=t(4848);function r(){return(0,n.default)({sem:{id:"gads",metaTitle:"The best Database on top of IndexedDB",title:(0,d.jsxs)(d.Fragment,{children:["The easiest way to ",(0,d.jsx)("b",{children:"store"})," and ",(0,d.jsx)("b",{children:"sync"})," Data in IndexedDB"]}),appName:"Browser",text:(0,d.jsx)(d.Fragment,{children:"Store data inside the Browsers IndexedDB to build high performance realtime applications that sync data from the backend and even work when offline."})}})}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/14d72841.24eaace4.js b/docs/assets/js/14d72841.24eaace4.js
deleted file mode 100644
index 59c16c51caf..00000000000
--- a/docs/assets/js/14d72841.24eaace4.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[9772],{5221(e,t,s){s.r(t),s.d(t,{default:()=>h});var l=s(4586),i=s(8711),r=s(6540),c=s(8141),n=s(4848);function h(){const{siteConfig:e}=(0,l.A)();return(0,r.useEffect)(()=>{(0,c.c)("get_newsletter",.4)}),(0,n.jsx)(i.A,{title:`Newsletter - ${e.title}`,description:"RxDB Newsletter",children:(0,n.jsx)("main",{children:(0,n.jsxs)("div",{className:"redirectBox",style:{textAlign:"center"},children:[(0,n.jsx)("a",{href:"/",children:(0,n.jsx)("div",{className:"logo",children:(0,n.jsx)("img",{src:"/files/logo/logo_text.svg",alt:"RxDB",width:160})})}),(0,n.jsx)("h1",{children:"RxDB Newsletter"}),(0,n.jsx)("p",{children:(0,n.jsx)("b",{children:"You will be redirected in a few seconds."})}),(0,n.jsx)("p",{children:(0,n.jsx)("a",{href:"http://eepurl.com/imD7WA",children:"Click here"})}),(0,n.jsx)("meta",{httpEquiv:"Refresh",content:"0; url=http://eepurl.com/imD7WA"})]})})})}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/15f1e21f.306cc5e2.js b/docs/assets/js/15f1e21f.306cc5e2.js
deleted file mode 100644
index cf75fcc4d55..00000000000
--- a/docs/assets/js/15f1e21f.306cc5e2.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[970],{7990(e,a,s){s.r(a),s.d(a,{default:()=>i});var t=s(544),n=s(4848);function i(){return(0,t.default)({sem:{id:"gads",metaTitle:"The local Database for Vue.js Apps",appName:"Vue.js",title:(0,n.jsxs)(n.Fragment,{children:["The easiest way to ",(0,n.jsx)("b",{children:"store"})," and ",(0,n.jsx)("b",{children:"sync"})," Data in Vue.js"]}),text:(0,n.jsx)(n.Fragment,{children:"Store data inside of your Vue.js app to build high performance realtime applications that sync data from the backend and even work when offline."}),iconUrl:"/files/icons/vuejs.svg"}})}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/17896441.476362fb.js b/docs/assets/js/17896441.476362fb.js
deleted file mode 100644
index fbcfb103346..00000000000
--- a/docs/assets/js/17896441.476362fb.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[8401],{9057(e,t,s){s.d(t,{A:()=>r});var n=s(6540),i=s(8759),a=s(3230),l=s(8601),o=s(4848);const r={...i.A,code:function(e){return void 0!==e.children&&n.Children.toArray(e.children).every(e=>"string"==typeof e&&!e.includes("\n"))?(0,o.jsx)(a.A,{...e}):(0,o.jsx)("code",{...e})},pre:l.A}},9519(e,t,s){s.r(t),s.d(t,{default:()=>fe});var n=s(6540),i=s(5500),a=s(9532),l=s(4848);const o=n.createContext(null);function r({children:e,content:t}){const s=function(e){return(0,n.useMemo)(()=>({metadata:e.metadata,frontMatter:e.frontMatter,assets:e.assets,contentTitle:e.contentTitle,toc:e.toc}),[e])}(t);return(0,l.jsx)(o.Provider,{value:s,children:e})}function c(){const e=(0,n.useContext)(o);if(null===e)throw new a.dV("DocProvider");return e}function d(){const{metadata:e,frontMatter:t,assets:s}=c();return(0,l.jsx)(i.be,{title:e.title,description:e.description,keywords:t.keywords,image:s.image??t.image})}var h=s(4164),u=s(4581),m=s(1312),g=s(4584);function x(e){const{permalink:t,title:s,isNext:n}=e;return(0,l.jsxs)(g.$,{style:{textAlign:n?"right":"left",justifyContent:n?"right":"left",height:"auto",paddingTop:14,paddingBottom:14},href:t,children:[(0,l.jsx)("span",{style:{fontSize:"80%",display:"contents"},children:n?"Next":"Previous"}),(0,l.jsx)("br",{}),n?"":"\xab ",s,n?" \xbb":""]})}function b(e){const{className:t,previous:s,next:n}=e;return(0,l.jsxs)("nav",{className:(0,h.A)(t,"pagination-nav"),"aria-label":(0,m.T)({id:"theme.docs.paginator.navAriaLabel",message:"Docs pages",description:"The ARIA label for the docs pagination"}),children:[s&&(0,l.jsx)(x,{...s,subLabel:(0,l.jsx)(m.A,{id:"theme.docs.paginator.previous",description:"The label used to navigate to the previous doc",children:"Previous"})}),n&&(0,l.jsx)(x,{...n,subLabel:(0,l.jsx)(m.A,{id:"theme.docs.paginator.next",description:"The label used to navigate to the next doc",children:"Next"}),isNext:!0})]})}function v(){const{metadata:e}=c();return(0,l.jsx)(b,{className:"docusaurus-mt-lg",previous:e.previous,next:e.next})}var p=s(4586),j=s(8774),f=s(8295),A=s(7559),y=s(3886),N=s(3025);const T={unreleased:function({siteTitle:e,versionMetadata:t}){return(0,l.jsx)(m.A,{id:"theme.docs.versions.unreleasedVersionLabel",description:"The label used to tell the user that he's browsing an unreleased doc version",values:{siteTitle:e,versionLabel:(0,l.jsx)("b",{children:t.label})},children:"This is unreleased documentation for {siteTitle} {versionLabel} version."})},unmaintained:function({siteTitle:e,versionMetadata:t}){return(0,l.jsx)(m.A,{id:"theme.docs.versions.unmaintainedVersionLabel",description:"The label used to tell the user that he's browsing an unmaintained doc version",values:{siteTitle:e,versionLabel:(0,l.jsx)("b",{children:t.label})},children:"This is documentation for {siteTitle} {versionLabel}, which is no longer actively maintained."})}};function _(e){const t=T[e.versionMetadata.banner];return(0,l.jsx)(t,{...e})}function L({versionLabel:e,to:t,onClick:s}){return(0,l.jsx)(m.A,{id:"theme.docs.versions.latestVersionSuggestionLabel",description:"The label used to tell the user to check the latest version",values:{versionLabel:e,latestVersionLink:(0,l.jsx)("b",{children:(0,l.jsx)(j.A,{to:t,onClick:s,children:(0,l.jsx)(m.A,{id:"theme.docs.versions.latestVersionLinkLabel",description:"The label used for the latest version suggestion link label",children:"latest version"})})})},children:"For up-to-date documentation, see the {latestVersionLink} ({versionLabel})."})}function k({className:e,versionMetadata:t}){const{siteConfig:{title:s}}=(0,p.A)(),{pluginId:n}=(0,f.vT)({failfast:!0}),{savePreferredVersionName:i}=(0,y.g1)(n),{latestDocSuggestion:a,latestVersionSuggestion:o}=(0,f.HW)(n),r=a??(c=o).docs.find(e=>e.id===c.mainDocId);var c;return(0,l.jsxs)("div",{className:(0,h.A)(e,A.G.docs.docVersionBanner,"alert alert--warning margin-bottom--md"),role:"alert",children:[(0,l.jsx)("div",{children:(0,l.jsx)(_,{siteTitle:s,versionMetadata:t})}),(0,l.jsx)("div",{className:"margin-top--md",children:(0,l.jsx)(L,{versionLabel:o.label,to:r.path,onClick:()=>i(o.name)})})]})}function C({className:e}){const t=(0,N.r)();return t.banner?(0,l.jsx)(k,{className:e,versionMetadata:t}):null}function w({className:e}){const t=(0,N.r)();return t.badge?(0,l.jsx)("span",{className:(0,h.A)(e,A.G.docs.docVersionBadge,"badge badge--secondary"),children:(0,l.jsx)(m.A,{id:"theme.docs.versionBadge.label",values:{versionLabel:t.label},children:"Version: {versionLabel}"})}):null}const M="tag_zVej",H="tagRegular_sFm0",V="tagWithCount_h2kH";function B({permalink:e,label:t,count:s,description:n}){return(0,l.jsxs)(j.A,{rel:"tag",href:e,title:n,className:(0,h.A)(M,s?V:H),children:[t,s&&(0,l.jsx)("span",{children:s})]})}const G="tags_jXut",I="tag_QGVx";function R({tags:e}){return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("b",{children:(0,l.jsx)(m.A,{id:"theme.tags.tagsListLabel",description:"The label alongside a tag list",children:"Tags:"})}),(0,l.jsx)("ul",{className:(0,h.A)(G,"padding--none","margin-left--sm"),children:e.map(e=>(0,l.jsx)("li",{className:I,children:(0,l.jsx)(B,{...e})},e.permalink))})]})}var F=s(2153);function S(){const{metadata:e}=c(),{editUrl:t,lastUpdatedAt:s,lastUpdatedBy:n,tags:i}=e,a=i.length>0,o=!!(t||s||n);return a||o?(0,l.jsxs)("footer",{className:(0,h.A)(A.G.docs.docFooter,"docusaurus-mt-lg"),children:[a&&(0,l.jsx)("div",{className:(0,h.A)("row margin-top--sm",A.G.docs.docFooterTagsRow),children:(0,l.jsx)("div",{className:"col",children:(0,l.jsx)(R,{tags:i})})}),o&&(0,l.jsx)(F.A,{className:(0,h.A)("margin-top--sm",A.G.docs.docFooterEditMetaRow),editUrl:t,lastUpdatedAt:s,lastUpdatedBy:n})]}):null}var z=s(1422),E=s(5195);const U="tocCollapsibleButton_TO0P",D="tocCollapsibleButtonExpanded_MG3E";function O({collapsed:e,...t}){return(0,l.jsx)("button",{type:"button",...t,className:(0,h.A)("clean-btn",U,!e&&D,t.className),children:(0,l.jsx)(m.A,{id:"theme.TOCCollapsible.toggleButtonLabel",description:"The label used by the button on the collapsible TOC component",children:"On this page"})})}const P="tocCollapsible_ETCw",W="tocCollapsibleContent_vkbj",$="tocCollapsibleExpanded_sAul";function J({toc:e,className:t,minHeadingLevel:s,maxHeadingLevel:n}){const{collapsed:i,toggleCollapsed:a}=(0,z.u)({initialState:!0});return(0,l.jsxs)("div",{className:(0,h.A)(P,!i&&$,t),children:[(0,l.jsx)(O,{collapsed:i,onClick:a}),(0,l.jsx)(z.N,{lazy:!0,className:W,collapsed:i,children:(0,l.jsx)(E.A,{toc:e,minHeadingLevel:s,maxHeadingLevel:n})})]})}const q="tocMobile_ITEo";function Q(){const{toc:e,frontMatter:t}=c();return(0,l.jsx)(J,{toc:e,minHeadingLevel:t.toc_min_heading_level,maxHeadingLevel:t.toc_max_heading_level,className:(0,h.A)(A.G.docs.docTocMobile,q)})}var X=s(7763);function Y(){const{toc:e,frontMatter:t}=c();return(0,l.jsx)(X.A,{toc:e,minHeadingLevel:t.toc_min_heading_level,maxHeadingLevel:t.toc_max_heading_level,className:A.G.docs.docTocDesktop})}var Z=s(1107),K=s(7910);function ee({children:e}){const t=function(){const{metadata:e,frontMatter:t,contentTitle:s}=c();return t.hide_title||void 0!==s?null:e.title}();return(0,l.jsxs)("div",{className:(0,h.A)(A.G.docs.docMarkdown,"markdown"),children:[t&&(0,l.jsx)("header",{children:(0,l.jsx)(Z.A,{as:"h1",children:t})}),(0,l.jsx)(K.A,{children:e})]})}var te=s(4718),se=s(9169),ne=s(6025);function ie(e){return(0,l.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,l.jsx)("path",{d:"M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z",fill:"currentColor"})})}const ae="breadcrumbHomeIcon_YNFT";function le(){const e=(0,ne.Ay)("/");return(0,l.jsx)("li",{className:"breadcrumbs__item",children:(0,l.jsx)(j.A,{"aria-label":(0,m.T)({id:"theme.docs.breadcrumbs.home",message:"Home page",description:"The ARIA label for the home page in the breadcrumbs"}),className:"breadcrumbs__link",href:e,children:(0,l.jsx)(ie,{className:ae})})})}var oe=s(5260);function re(e){const t=function({breadcrumbs:e}){const{siteConfig:t}=(0,p.A)();return{"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:e.filter(e=>e.href).map((e,s)=>({"@type":"ListItem",position:s+1,name:e.label,item:`${t.url}${e.href}`}))}}({breadcrumbs:e.breadcrumbs});return(0,l.jsx)(oe.A,{children:(0,l.jsx)("script",{type:"application/ld+json",children:JSON.stringify(t)})})}const ce="breadcrumbsContainer_Z_bl";function de({children:e,href:t,isLast:s}){const n="breadcrumbs__link";return s?(0,l.jsx)("span",{className:n,children:e}):t?(0,l.jsx)(j.A,{className:n,href:t,children:(0,l.jsx)("span",{children:e})}):(0,l.jsx)("span",{className:n,children:e})}function he({children:e,active:t}){return(0,l.jsx)("li",{className:(0,h.A)("breadcrumbs__item",{"breadcrumbs__item--active":t}),children:e})}function ue(){const e=(0,te.OF)(),t=(0,se.Dt)();return e?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(re,{breadcrumbs:e}),(0,l.jsx)("nav",{className:(0,h.A)(A.G.docs.docBreadcrumbs,ce),"aria-label":(0,m.T)({id:"theme.docs.breadcrumbs.navAriaLabel",message:"Breadcrumbs",description:"The ARIA label for the breadcrumbs"}),children:(0,l.jsxs)("ul",{className:"breadcrumbs",children:[t&&(0,l.jsx)(le,{}),e.map((t,s)=>{const n=s===e.length-1,i="category"===t.type&&t.linkUnlisted?void 0:t.href;return(0,l.jsx)(he,{active:n,children:(0,l.jsx)(de,{href:i,isLast:n,children:t.label})},s)})]})})]}):null}var me=s(6896);const ge="docItemContainer_c0TR",xe="docItemCol_z5aJ";var be=s(8141),ve=s(7810);function pe(e){const[t,s]=(0,n.useState)(!1),i={ul:{marginTop:25,listStyleType:"none"},li:{lineHeight:4,color:"var(--expo-theme-text-secondary)"},a:{color:"var(--fontColor-offwhite)"},img:{paddingRight:16,height:18,verticalAlign:"middle"},vote:{borderRadius:3,borderColor:"var(--fontColor-offwhite)",borderStyle:"solid",borderWidth:1,verticalAlign:"middle",padding:5,paddingLeft:8,paddingRight:8,textAlign:"center",justifyContent:"center",display:"inline-flex",marginLeft:20,cursor:"pointer"},down:{transform:"scale(1, -1)"},heart:{color:"var(--color-top)",display:"inline-block",transform:"scale(2)",paddingLeft:10}};let a=e.children.type.frontMatter.title?e.children.type.frontMatter.title:"";e.children.type.contentTitle&&e.children.type.contentTitle.length23){a=a.slice(0,23);const e=a.split(" ");e.pop(),a=e.join(" ")+"..."}function o(t){const n=e.children.type.metadata.slug,i="vote_"+(0,ve.dG)(n.split("/"))+"_"+t;console.log("vote: "+i),(0,be.c)(i,.1,1),s(!0)}return(0,l.jsxs)("ul",{style:i.ul,children:[t?(0,l.jsxs)("li",{style:i.li,children:["Thank you for your vote! ",(0,l.jsx)("div",{style:i.heart,children:"\u2665"})]}):(0,l.jsxs)("li",{style:i.li,children:["Was this page helpful?",(0,l.jsx)("div",{style:i.vote,children:(0,l.jsx)("img",{src:"/img/thumbs-up-white.svg",loading:"lazy",height:"14",onClick:()=>o("up")})}),(0,l.jsx)("div",{style:{...i.vote,...i.down},children:(0,l.jsx)("img",{src:"/img/thumbs-up-white.svg",loading:"lazy",height:"14",onClick:()=>o("down")})})]}),(0,l.jsx)("li",{children:(0,l.jsxs)("a",{href:"/chat/",target:"_blank",style:i.a,children:[(0,l.jsx)("img",{src:"/img/community-links/discord-logo.svg",style:i.img,loading:"lazy"}),"Ask a question on the forums about ",a]})})]})}function je(e){const t=function(){const{frontMatter:e,toc:t}=c(),s=(0,u.l)(),n=e.hide_table_of_contents,i=!n&&t.length>0;return{hidden:n,mobile:i?(0,l.jsx)(Q,{}):void 0,desktop:!i||"desktop"!==s&&"ssr"!==s?void 0:(0,l.jsx)(Y,{})}}(),{metadata:s}=c();return(0,l.jsxs)("div",{className:"row",children:[(0,l.jsxs)("div",{className:(0,h.A)("col",!t.hidden&&xe),children:[(0,l.jsx)(me.A,{metadata:s}),(0,l.jsx)(C,{}),(0,l.jsxs)("div",{className:ge,children:[(0,l.jsxs)("article",{children:[(0,l.jsx)(ue,{}),(0,l.jsx)(w,{}),t.mobile,(0,l.jsx)(ee,{children:e.children}),(0,l.jsx)(S,{})]}),(0,l.jsx)(pe,{...e}),(0,l.jsx)(v,{})]})]}),t.desktop&&(0,l.jsx)("div",{className:"col col--3",children:t.desktop})]})}function fe(e){const t=`docs-doc-id-${e.content.metadata.id}`,s=e.content;return(0,l.jsx)(r,{content:e.content,children:(0,l.jsxs)(i.e3,{className:t,children:[(0,l.jsx)(d,{}),(0,l.jsx)(je,{children:(0,l.jsx)(s,{})})]})})}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/187b985e.4ee7b6e5.js b/docs/assets/js/187b985e.4ee7b6e5.js
deleted file mode 100644
index 845858d6319..00000000000
--- a/docs/assets/js/187b985e.4ee7b6e5.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[6866],{3247(e,n,s){s.d(n,{g:()=>i});var r=s(4848);function i(e){const n=[];let s=null;return e.children.forEach(e=>{e.props.id?(s&&n.push(s),s={headline:e,paragraphs:[]}):s&&s.paragraphs.push(e)}),s&&n.push(s),(0,r.jsx)("div",{style:o.stepsContainer,children:n.map((e,n)=>(0,r.jsxs)("div",{style:o.stepWrapper,children:[(0,r.jsxs)("div",{style:o.stepIndicator,children:[(0,r.jsx)("div",{style:o.stepNumber,children:n+1}),(0,r.jsx)("div",{style:o.verticalLine})]}),(0,r.jsxs)("div",{style:o.stepContent,children:[(0,r.jsx)("div",{children:e.headline}),e.paragraphs.map((e,n)=>(0,r.jsx)("div",{style:o.item,children:e},n))]})]},n))})}const o={stepsContainer:{display:"flex",flexDirection:"column"},stepWrapper:{display:"flex",alignItems:"stretch",marginBottom:"1.5rem",position:"relative",minWidth:0},stepIndicator:{position:"relative",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"flex-start",width:"33px",marginRight:"1rem",minWidth:0},stepNumber:{width:"33px",height:"33px",borderRadius:"50%",backgroundColor:"var(--color-top)",color:"#fff",display:"flex",alignItems:"center",justifyContent:"center",fontWeight:"bold",marginTop:-4},verticalLine:{position:"absolute",top:29,bottom:"0",left:"50%",width:"1px",background:"linear-gradient(to bottom, var(--color-top) 0%, var(--color-top) 80%, rgba(0,0,0,0) 100%)",transform:"translateX(-50%)"},stepContent:{flex:1,minWidth:0,overflowWrap:"break-word"},item:{marginTop:"0.5rem"}}},8243(e,n,s){s.r(n),s.d(n,{assets:()=>c,contentTitle:()=>l,default:()=>p,frontMatter:()=>t,metadata:()=>r,toc:()=>d});const r=JSON.parse('{"id":"replication-webrtc","title":"WebRTC P2P Replication with RxDB - Sync Browsers and Devices","description":"Learn to set up peer-to-peer WebRTC replication with RxDB. Bypass central servers and enjoy secure, low-latency data sync across all clients.","source":"@site/docs/replication-webrtc.md","sourceDirName":".","slug":"/replication-webrtc.html","permalink":"/replication-webrtc.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"WebRTC P2P Replication with RxDB - Sync Browsers and Devices","slug":"replication-webrtc.html","description":"Learn to set up peer-to-peer WebRTC replication with RxDB. Bypass central servers and enjoy secure, low-latency data sync across all clients."},"sidebar":"tutorialSidebar","previous":{"title":"CouchDB Replication","permalink":"/replication-couchdb.html"},"next":{"title":"Firestore Replication","permalink":"/replication-firestore.html"}}');var i=s(4848),o=s(8453),a=s(3247);const t={title:"WebRTC P2P Replication with RxDB - Sync Browsers and Devices",slug:"replication-webrtc.html",description:"Learn to set up peer-to-peer WebRTC replication with RxDB. Bypass central servers and enjoy secure, low-latency data sync across all clients."},l="P2P WebRTC Replication with RxDB - Sync Data between Browsers and Devices in JavaScript",c={},d=[{value:"What is WebRTC?",id:"what-is-webrtc",level:2},{value:"Benefits of P2P Sync with WebRTC Compared to Client-Server Architecture",id:"benefits-of-p2p-sync-with-webrtc-compared-to-client-server-architecture",level:2},{value:"Peer-to-Peer (P2P) WebRTC Replication with the RxDB JavaScript Database",id:"peer-to-peer-p2p-webrtc-replication-with-the-rxdb-javascript-database",level:2},{value:"Using RxDB with the WebRTC Replication Plugin",id:"using-rxdb-with-the-webrtc-replication-plugin",level:2},{value:"Create the Database and Collection",id:"create-the-database-and-collection",level:3},{value:"Import the WebRTC replication plugin",id:"import-the-webrtc-replication-plugin",level:3},{value:"Start the P2P replication",id:"start-the-p2p-replication",level:3},{value:"Observe Errors",id:"observe-errors",level:3},{value:"Stop the Replication",id:"stop-the-replication",level:3},{value:"Live replications",id:"live-replications",level:2},{value:"Signaling Server",id:"signaling-server",level:2},{value:"Peer Validation",id:"peer-validation",level:2},{value:"Conflict detection in WebRTC replication",id:"conflict-detection-in-webrtc-replication",level:2},{value:"Known problems",id:"known-problems",level:2},{value:"SimplePeer requires to have process.nextTick()",id:"simplepeer-requires-to-have-processnexttick",level:3},{value:"Polyfill the WebSocket and WebRTC API in Node.js",id:"polyfill-the-websocket-and-webrtc-api-in-nodejs",level:3},{value:"Storing replicated data encrypted on client device",id:"storing-replicated-data-encrypted-on-client-device",level:2},{value:"Follow Up",id:"follow-up",level:2}];function h(e){const n={a:"a",code:"code",figure:"figure",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",ol:"ol",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...(0,o.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.header,{children:(0,i.jsx)(n.h1,{id:"p2p-webrtc-replication-with-rxdb---sync-data-between-browsers-and-devices-in-javascript",children:"P2P WebRTC Replication with RxDB - Sync Data between Browsers and Devices in JavaScript"})}),"\n",(0,i.jsxs)(n.p,{children:["WebRTC P2P data connections are revolutionizing real-time web and mobile development by ",(0,i.jsx)(n.strong,{children:"eliminating central servers"})," in scenarios where clients can communicate directly. With the ",(0,i.jsx)(n.strong,{children:"RxDB"})," ",(0,i.jsx)(n.a,{href:"/replication.html",children:"Sync Engine"}),", you can sync your local database state across multiple browsers or devices via ",(0,i.jsx)(n.strong,{children:"WebRTC P2P (Peer-to-Peer)"})," connections, ensuring scalable, secure, and ",(0,i.jsx)(n.strong,{children:"low-latency"})," data flows without traditional server bottlenecks."]}),"\n",(0,i.jsx)(n.h2,{id:"what-is-webrtc",children:"What is WebRTC?"}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.a,{href:"https://developer.mozilla.org/en-US/docs/Web/API/WebRTC_API",children:"WebRTC"})," stands for Web ",(0,i.jsx)(n.a,{href:"/articles/realtime-database.html",children:"Real-Time"})," Communication. It is an open standard that enables browsers and native apps to exchange audio, video, or ",(0,i.jsx)(n.strong,{children:"arbitrary data"})," directly between peers, bypassing a central server after the initial connection is established. WebRTC uses NAT traversal techniques like ",(0,i.jsx)(n.a,{href:"https://developer.liveswitch.io/liveswitch-server/guides/what-are-stun-turn-and-ice.html",children:"ICE"})," (Interactive Connectivity Establishment) to punch through firewalls and establish direct links. This peer-to-peer nature drastically reduces latency while maintaining ",(0,i.jsx)(n.strong,{children:"high security"})," and ",(0,i.jsx)(n.strong,{children:"end-to-end encryption"})," capabilities."]}),"\n",(0,i.jsxs)(n.p,{children:["For a deeper look at comparing WebRTC with ",(0,i.jsx)(n.strong,{children:"WebSockets"})," and ",(0,i.jsx)(n.strong,{children:"WebTransport"}),", you can read our ",(0,i.jsx)(n.a,{href:"/articles/websockets-sse-polling-webrtc-webtransport.html",children:"comprehensive overview"}),". While WebSockets or WebTransport often work in client-server contexts, WebRTC offers direct peer-to-peer connections ideal for fully decentralized data flows."]}),"\n",(0,i.jsx)("center",{children:(0,i.jsx)("a",{href:"https://webrtc.org/",target:"_blank",children:(0,i.jsx)("img",{src:"/files/icons/webrtc.svg",alt:"WebRTC",width:"80"})})}),"\n",(0,i.jsx)(n.h2,{id:"benefits-of-p2p-sync-with-webrtc-compared-to-client-server-architecture",children:"Benefits of P2P Sync with WebRTC Compared to Client-Server Architecture"}),"\n",(0,i.jsxs)(n.ol,{children:["\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Reduced Latency"})," - By skipping a central server hop, data travels directly from one client to another, minimizing round-trip times and improving responsiveness."]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Scalability"})," - New peers can join without overloading a central infrastructure. The sync overhead increases linearly with the number of connections rather than requiring a massive server cluster."]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Privacy & Ownership"})," - Data stays within the user\u2019s devices, avoiding risks tied to storing data on third-party servers. This design aligns well with ",(0,i.jsx)(n.a,{href:"/articles/local-first-future.html",children:"local-first"}),' or "',(0,i.jsx)(n.a,{href:"/articles/zero-latency-local-first.html",children:"zero-latency"}),'" apps.']}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Resilience"})," - In some scenarios, if the central server is unreachable, P2P connections remain operational (assuming a functioning signaling path). Apps can still replicate data among local networks like when they are in the same Wifi or LAN."]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Cost Savings"})," - Reducing the reliance on a high-bandwidth server can cut hosting and bandwidth expenses, particularly in high-traffic or IoT-style use cases."]}),"\n"]}),"\n",(0,i.jsx)("center",{children:(0,i.jsx)("a",{href:"https://rxdb.info/",children:(0,i.jsx)("img",{src:"/files/logo/rxdb_javascript_database.svg",alt:"JavaScript Embedded Database",width:"220"})})}),"\n",(0,i.jsx)(n.h2,{id:"peer-to-peer-p2p-webrtc-replication-with-the-rxdb-javascript-database",children:"Peer-to-Peer (P2P) WebRTC Replication with the RxDB JavaScript Database"}),"\n",(0,i.jsxs)(n.p,{children:["Traditionally, real-time data synchronization depends on ",(0,i.jsx)(n.strong,{children:"centralized servers"})," to manage and distribute updates. In contrast, RxDB\u2019s WebRTC P2P replication allows data to flow ",(0,i.jsx)(n.strong,{children:"directly"})," among clients, removing the server as a data store. This approach is ",(0,i.jsx)(n.strong,{children:"live"})," and ",(0,i.jsx)(n.strong,{children:"fully decentralized"}),", requiring only a ",(0,i.jsx)(n.a,{href:"#signaling-server",children:"signaling server"})," for initial discovery:"]}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"No master-slave"})," concept - each peer hosts its own local RxDB."]}),"\n",(0,i.jsxs)(n.li,{children:["Clients (",(0,i.jsx)(n.a,{href:"/articles/browser-database.html",children:"browsers"}),", devices) connect to each other via WebRTC data channels."]}),"\n",(0,i.jsxs)(n.li,{children:["The ",(0,i.jsx)(n.a,{href:"/replication.html",children:"RxDB replication protocol"})," then handles pushing/pulling document changes across peers."]}),"\n"]}),"\n",(0,i.jsxs)(n.p,{children:["Because RxDB is a NoSQL database and the replication protocol is straightforward, setting up robust P2P sync is far ",(0,i.jsx)(n.strong,{children:"easier"})," than orchestrating a complex client-server database architecture."]}),"\n",(0,i.jsx)(n.h2,{id:"using-rxdb-with-the-webrtc-replication-plugin",children:"Using RxDB with the WebRTC Replication Plugin"}),"\n",(0,i.jsxs)(n.p,{children:["Before you use this plugin, make sure that you understand how ",(0,i.jsx)(n.a,{href:"https://developer.mozilla.org/en-US/docs/Web/API/WebRTC_API",children:"WebRTC works"}),". Here we build a todo-app that replicates todo-entries between clients:"]}),"\n",(0,i.jsx)("center",{children:(0,i.jsx)("a",{href:"https://rxdb.info/",children:(0,i.jsx)("img",{src:"https://github.com/pubkey/rxdb-quickstart/raw/master/files/p2p-todo-demo.gif",alt:"JavaScript Embedded Database",width:"500"})})}),"\n",(0,i.jsxs)(n.p,{children:["You can find a fully build example of this at the ",(0,i.jsx)(n.a,{href:"https://github.com/pubkey/rxdb-quickstart",children:"RxDB Quickstart Repository"})," which you can also ",(0,i.jsx)(n.a,{href:"https://pubkey.github.io/rxdb-quickstart/",children:"try out online"}),"."]}),"\n",(0,i.jsxs)(n.p,{children:["Four you create the ",(0,i.jsx)(n.a,{href:"/rx-database.html",children:"database"})," and then you can configure the replication:"]}),"\n",(0,i.jsxs)(a.g,{children:[(0,i.jsx)(n.h3,{id:"create-the-database-and-collection",children:"Create the Database and Collection"}),(0,i.jsxs)(n.p,{children:["Here we create a database with the ",(0,i.jsx)(n.a,{href:"/rx-storage-localstorage.html",children:"localstorage"})," based storage that stores data inside of the ",(0,i.jsx)(n.a,{href:"/articles/localstorage.html",children:"LocalStorage API"})," in a browser. RxDB has a wide ",(0,i.jsx)(n.a,{href:"/rx-storage.html",children:"range of storages"})," for other JavaScript runtimes."]}),(0,i.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" { createRxDatabase } "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/core'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" { getRxStorageLocalstorage } "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/storage-localstorage'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'myTodoDB'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageLocalstorage"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"()"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".addCollections"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" todos"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" schema"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" title"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'todo schema'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" version"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 0"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'object'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" primaryKey"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'id'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" properties"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" id"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" { type"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" maxLength"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 100"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" title"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" { type"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" done"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" { type"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'boolean'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" default"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" false"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" created"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" { type"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" format"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'date-time'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" required"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" ["}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'id'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'title'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'done'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"]"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// insert an example document"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"todos"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".insert"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" id"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'todo-1'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" title"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'P2P demo task'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" done"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" false"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" created"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" new"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" Date"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"()"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".toISOString"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"()"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),(0,i.jsx)(n.h3,{id:"import-the-webrtc-replication-plugin",children:"Import the WebRTC replication plugin"}),(0,i.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" replicateWebRTC"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" getConnectionHandlerSimplePeer"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/replication-webrtc'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]})]})})}),(0,i.jsx)(n.h3,{id:"start-the-p2p-replication",children:"Start the P2P replication"}),(0,i.jsxs)(n.p,{children:["To start the replication you have to call ",(0,i.jsx)(n.code,{children:"replicateWebRTC"})," on the ",(0,i.jsx)(n.a,{href:"/rx-collection.html",children:"collection"}),"."]}),(0,i.jsxs)(n.p,{children:["As options you have to provide a ",(0,i.jsx)(n.code,{children:"topic"})," and a connection handler function that implements the ",(0,i.jsx)(n.code,{children:"P2PConnectionHandlerCreator"})," interface. As default you should start with the ",(0,i.jsx)(n.code,{children:"getConnectionHandlerSimplePeer"})," method which uses the ",(0,i.jsx)(n.a,{href:"https://github.com/feross/simple-peer",children:"simple-peer"})," library and comes shipped with RxDB."]}),(0,i.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" replicationPool"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" replicateWebRTC"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // Start the replication for a single collection"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" collection"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:".todos"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // The topic is like a 'room-name'. All clients with the same topic"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // will replicate with each other. In most cases you want to use"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // a different topic string per user. Also you should prefix the topic with"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // a unique identifier for your app, to ensure you do not let your users connect"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // with other apps that also use the RxDB P2P Replication."})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" topic"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'my-users-pool'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * You need a collection handler to be able to create WebRTC connections."})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * Here we use the simple peer handler which uses the 'simple-peer' npm library."})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * To learn how to create a custom connection handler, read the source code,"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * it is pretty simple."})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" connectionHandlerCreator"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" getConnectionHandlerSimplePeer"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // Set the signaling server url."})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // You can use the server provided by RxDB for tryouts,"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // but in production you should use your own server instead."})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" signalingServerUrl"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'wss://signaling.rxdb.info/'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // only in Node.js, we need the wrtc library"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // because Node.js does not contain the WebRTC API."})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" wrtc"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" require"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'node-datachannel/polyfill'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:")"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // only in Node.js, we need the WebSocket library"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // because Node.js does not contain the WebSocket API."})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" webSocketConstructor"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" require"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'ws'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:").WebSocket"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" })"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" pull"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {}"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" push"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {}"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:");"})})]})})}),(0,i.jsxs)(n.p,{children:["Notice that in difference to the other ",(0,i.jsx)(n.a,{href:"/replication.html",children:"replication plugins"}),", the WebRTC replication returns a ",(0,i.jsx)(n.code,{children:"replicationPool"})," instead of a single ",(0,i.jsx)(n.code,{children:"RxReplicationState"}),". The ",(0,i.jsx)(n.code,{children:"replicationPool"})," contains all replication states of the connected peers in the P2P network."]}),(0,i.jsx)(n.h3,{id:"observe-errors",children:"Observe Errors"}),(0,i.jsxs)(n.p,{children:["To ensure we log out potential errors, observe the ",(0,i.jsx)(n.code,{children:"error$"})," observable of the pool."]}),(0,i.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsx)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"replicationPool"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"error$"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".subscribe"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(err "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" console"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".error"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'WebRTC Error:'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" err));"})]})})})}),(0,i.jsx)(n.h3,{id:"stop-the-replication",children:"Stop the Replication"}),(0,i.jsx)(n.p,{children:"You can also dynamically stop the replication."}),(0,i.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsx)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"replicationPool"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".cancel"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]})})})})]}),"\n",(0,i.jsx)(n.h2,{id:"live-replications",children:"Live replications"}),"\n",(0,i.jsxs)(n.p,{children:["The WebRTC replication is ",(0,i.jsx)(n.strong,{children:"always live"})," because there can not be a one-time sync when it is always possible to have new Peers that join the connection pool. Therefore you cannot set the ",(0,i.jsx)(n.code,{children:"live: false"})," option like in the other replication plugins."]}),"\n",(0,i.jsx)(n.h2,{id:"signaling-server",children:"Signaling Server"}),"\n",(0,i.jsxs)(n.p,{children:["For P2P replication to work with the RxDB WebRTC Replication Plugin, a ",(0,i.jsx)(n.a,{href:"https://developer.mozilla.org/en-US/docs/Web/API/WebRTC_API/Signaling_and_video_calling",children:"signaling server"})," is required. The signaling server helps peers discover each other and establish connections."]}),"\n",(0,i.jsx)(n.p,{children:"RxDB ships with a default signaling server that can be used with the simple-peer connection handler. This server is made for demonstration purposes and tryouts. It is not reliable and might be offline at any time.\nIn production you must always use your own signaling server instead!"}),"\n",(0,i.jsx)(n.p,{children:"Creating a basic signaling server is straightforward. The provided example uses 'socket.io' for WebSocket communication. However, in production, you'd want to create a more robust signaling server with authentication and additional logic to suit your application's needs."}),"\n",(0,i.jsxs)(n.p,{children:["Here is a quick example implementation of a signaling server that can be used with the connection handler from ",(0,i.jsx)(n.code,{children:"getConnectionHandlerSimplePeer()"}),":"]}),"\n",(0,i.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" startSignalingServerSimplePeer"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/replication-webrtc'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" serverState"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" startSignalingServerSimplePeer"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" port"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 8080"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // <- port"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,i.jsxs)(n.p,{children:["For custom signaling servers with more complex logic, you can check the ",(0,i.jsx)(n.a,{href:"https://github.com/pubkey/rxdb/blob/master/src/plugins/replication-webrtc/signaling-server.ts",children:"source code of the default one"}),"."]}),"\n",(0,i.jsx)(n.h2,{id:"peer-validation",children:"Peer Validation"}),"\n",(0,i.jsxs)(n.p,{children:["By default the replication will replicate with every peer the signaling server tells them about.\nYou can prevent invalid peers from replication by passing a custom ",(0,i.jsx)(n.code,{children:"isPeerValid()"})," function that either returns ",(0,i.jsx)(n.code,{children:"true"})," on valid peers and ",(0,i.jsx)(n.code,{children:"false"})," on invalid peers."]}),"\n",(0,i.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" replicationPool"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" replicateWebRTC"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /* ... */"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" isPeerValid"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" async"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" (peer) "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" true"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" pull: {}"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" push"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {}"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /* ... */"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:");"})})]})})}),"\n",(0,i.jsx)(n.h2,{id:"conflict-detection-in-webrtc-replication",children:"Conflict detection in WebRTC replication"}),"\n",(0,i.jsxs)(n.p,{children:["RxDB's conflict handling works by detecting and resolving conflicts that may arise when multiple clients in a decentralized database system attempt to modify the same data concurrently.\nA ",(0,i.jsx)(n.strong,{children:"custom conflict handler"})," can be set up, which is a plain JavaScript function. The conflict handler is run on each replicated document write and resolves the conflict if required. ",(0,i.jsx)(n.a,{href:"https://rxdb.info/transactions-conflicts-revisions.html",children:"Find out more about RxDB conflict handling here"})]}),"\n",(0,i.jsx)(n.h2,{id:"known-problems",children:"Known problems"}),"\n",(0,i.jsxs)(n.h3,{id:"simplepeer-requires-to-have-processnexttick",children:["SimplePeer requires to have ",(0,i.jsx)(n.code,{children:"process.nextTick()"})]}),"\n",(0,i.jsxs)(n.p,{children:["In the browser you might not have a process variable or process.nextTick() method. But the ",(0,i.jsx)(n.a,{href:"https://github.com/feross/simple-peer",children:"simple peer"})," uses that so you have to polyfill it."]}),"\n",(0,i.jsxs)(n.p,{children:["In webpack you can use the ",(0,i.jsx)(n.code,{children:"process/browser"})," package to polyfill it:"]}),"\n",(0,i.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"js","data-theme":"css-variables",children:(0,i.jsxs)(n.code,{"data-language":"js","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" plugins"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" ["})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /* ... */"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" new"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" webpack"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".ProvidePlugin"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" process"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'process/browser'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" })"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /* ... */"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"];"})})]})})}),"\n",(0,i.jsx)(n.p,{children:"In angular or other libraries you can add the polyfill manually:"}),"\n",(0,i.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"js","data-theme":"css-variables",children:(0,i.jsxs)(n.code,{"data-language":"js","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"window"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:".process "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" nextTick"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" (fn"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ..."}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"args) "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" setTimeout"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(() "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" fn"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"..."}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"args))"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"};"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "})]})})}),"\n",(0,i.jsx)(n.h3,{id:"polyfill-the-websocket-and-webrtc-api-in-nodejs",children:"Polyfill the WebSocket and WebRTC API in Node.js"}),"\n",(0,i.jsxs)(n.p,{children:["While all modern browsers support the WebRTC and WebSocket APIs, they is missing in Node.js which will throw the error ",(0,i.jsx)(n.code,{children:"No WebRTC support: Specify opts.wrtc option in this environment"}),". Therefore you have to polyfill it with a compatible WebRTC and WebSocket polyfill. It is recommended to use the ",(0,i.jsx)(n.a,{href:"https://github.com/murat-dogan/node-datachannel/tree/master/src/polyfill",children:"node-datachannel package"})," for WebRTC which ",(0,i.jsx)(n.strong,{children:"does not"})," come with RxDB but has to be installed before via ",(0,i.jsx)(n.code,{children:"npm install node-datachannel --save"}),".\nFor the Websocket API use the ",(0,i.jsx)(n.code,{children:"ws"})," package that is included into RxDB."]}),"\n",(0,i.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" nodeDatachannelPolyfill "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'node-datachannel/polyfill'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" { WebSocket } "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'ws'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" replicationPool"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" replicateWebRTC"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /* ... */"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" connectionHandlerCreator"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" getConnectionHandlerSimplePeer"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" signalingServerUrl"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'wss://example.com:8080'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" wrtc"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" nodeDatachannelPolyfill"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" webSocketConstructor"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" WebSocket"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" })"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" pull"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {}"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" push"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {}"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /* ... */"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:");"})})]})})}),"\n",(0,i.jsx)(n.h2,{id:"storing-replicated-data-encrypted-on-client-device",children:"Storing replicated data encrypted on client device"}),"\n",(0,i.jsxs)(n.p,{children:["Storing replicated data encrypted on client devices using the RxDB Encryption Plugin is a pivotal step towards bolstering ",(0,i.jsx)(n.strong,{children:"data security"})," and ",(0,i.jsx)(n.strong,{children:"user privacy"}),".\nThe WebRTC replication plugin seamlessly integrates with the ",(0,i.jsx)(n.a,{href:"/encryption.html",children:"RxDB encryption plugins"}),", providing a robust solution for encrypting sensitive information before it's stored locally. By doing so, it ensures that even if unauthorized access to the device occurs, the data remains protected and unintelligible without the encryption key (or password). This approach is particularly vital in scenarios where user-generated content or confidential data is replicated across devices, as it empowers users with control over their own data while adhering to stringent security standards. ",(0,i.jsx)(n.a,{href:"/encryption.html",children:"Read more about the encryption plugins here"}),"."]}),"\n",(0,i.jsx)(n.h2,{id:"follow-up",children:"Follow Up"}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:[(0,i.jsxs)(n.strong,{children:["Check out the ",(0,i.jsx)(n.a,{href:"/quickstart.html",children:"RxDB Quickstart"})]})," to see how to set up your first RxDB database."]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Explore advanced features"})," like ",(0,i.jsx)(n.a,{href:"/transactions-conflicts-revisions.html",children:"Custom Conflict Handling"})," or ",(0,i.jsx)(n.a,{href:"/rx-storage-performance.html",children:"Offline-First Performance"}),"."]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Try an example"})," at ",(0,i.jsx)(n.a,{href:"https://github.com/pubkey/rxdb-quickstart",children:"RxDB Quickstart GitHub"})," to see a working P2P Sync setup."]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Join the RxDB Community"})," on ",(0,i.jsx)(n.a,{href:"/code/",children:"GitHub"})," or ",(0,i.jsx)(n.a,{href:"/chat/",children:"Discord"})," if you have questions or want to share your P2P WebRTC experiences."]}),"\n"]})]})}function p(e={}){const{wrapper:n}={...(0,o.R)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(h,{...e})}):h(e)}},8453(e,n,s){s.d(n,{R:()=>a,x:()=>t});var r=s(6540);const i={},o=r.createContext(i);function a(e){const n=r.useContext(o);return r.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function t(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:a(e.components),r.createElement(o.Provider,{value:n},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/1b0f8c91.21118c24.js b/docs/assets/js/1b0f8c91.21118c24.js
deleted file mode 100644
index 6d238854674..00000000000
--- a/docs/assets/js/1b0f8c91.21118c24.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[3129],{5787(e,n,s){s.r(n),s.d(n,{assets:()=>l,contentTitle:()=>o,default:()=>h,frontMatter:()=>t,metadata:()=>i,toc:()=>c});const i=JSON.parse('{"id":"backup","title":"Backup","description":"Easily back up your RxDB database to JSON files and attachments on the filesystem with the Backup Plugin - ensuring reliable Node.js data protection.","source":"@site/docs/backup.md","sourceDirName":".","slug":"/backup.html","permalink":"/backup.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"Backup","slug":"backup.html","description":"Easily back up your RxDB database to JSON files and attachments on the filesystem with the Backup Plugin - ensuring reliable Node.js data protection."},"sidebar":"tutorialSidebar","previous":{"title":"Cleanup","permalink":"/cleanup.html"},"next":{"title":"Leader Election","permalink":"/leader-election.html"}}');var a=s(4848),r=s(8453);const t={title:"Backup",slug:"backup.html",description:"Easily back up your RxDB database to JSON files and attachments on the filesystem with the Backup Plugin - ensuring reliable Node.js data protection."},o="\ud83d\udce5 Backup Plugin",l={},c=[{value:"Installation",id:"installation",level:2},{value:"one-time backup",id:"one-time-backup",level:2},{value:"live backup",id:"live-backup",level:2},{value:"writeEvents$",id:"writeevents",level:2},{value:"Limitations",id:"limitations",level:2}];function d(e){const n={a:"a",code:"code",figure:"figure",h1:"h1",h2:"h2",header:"header",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...(0,r.R)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n.header,{children:(0,a.jsx)(n.h1,{id:"-backup-plugin",children:"\ud83d\udce5 Backup Plugin"})}),"\n",(0,a.jsx)(n.p,{children:"With the backup plugin you can write the current database state and ongoing changes into folders on the filesystem.\nThe files are written in plain json together with their attachments so that you can read them out with any software or tools, without being bound to RxDB."}),"\n",(0,a.jsx)(n.p,{children:"This is useful to:"}),"\n",(0,a.jsxs)(n.ul,{children:["\n",(0,a.jsx)(n.li,{children:"Consume the database content with other software that cannot replicate with RxDB"}),"\n",(0,a.jsx)(n.li,{children:"Write a backup of the database to a remote server by mounting the backup folder on the other server."}),"\n"]}),"\n",(0,a.jsxs)(n.p,{children:["The backup plugin works only in node.js, not in a browser. It is intended to have a backup strategy when using RxDB on the server side like with the ",(0,a.jsx)(n.a,{href:"/rx-server.html",children:"RxServer"}),". To run backups on the client side, you should use one of the ",(0,a.jsx)(n.a,{href:"/replication.html",children:"replication"})," plugins instead."]}),"\n",(0,a.jsx)(n.h2,{id:"installation",children:"Installation"}),"\n",(0,a.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,a.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"javascript","data-theme":"css-variables",children:(0,a.jsxs)(n.code,{"data-language":"javascript","data-theme":"css-variables",style:{display:"grid"},children:[(0,a.jsxs)(n.span,{"data-line":"",children:[(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" { addRxPlugin } "}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb'"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,a.jsxs)(n.span,{"data-line":"",children:[(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" { RxDBBackupPlugin } "}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/backup'"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,a.jsxs)(n.span,{"data-line":"",children:[(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:"addRxPlugin"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(RxDBBackupPlugin);"})]})]})})}),"\n",(0,a.jsx)(n.h2,{id:"one-time-backup",children:"one-time backup"}),"\n",(0,a.jsxs)(n.p,{children:["Write the whole database to the filesystem ",(0,a.jsx)(n.strong,{children:"once"}),".\nWhen called multiple times, it will continue from the last checkpoint and not start all over again."]}),"\n",(0,a.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,a.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"javascript","data-theme":"css-variables",children:(0,a.jsxs)(n.code,{"data-language":"javascript","data-theme":"css-variables",style:{display:"grid"},children:[(0,a.jsxs)(n.span,{"data-line":"",children:[(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" backupOptions"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // if false, a one-time backup will be written"})}),"\n",(0,a.jsxs)(n.span,{"data-line":"",children:[(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" live"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" false"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // the folder where the backup will be stored"})}),"\n",(0,a.jsxs)(n.span,{"data-line":"",children:[(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" directory"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" '/my-backup-folder/'"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // if true, attachments will also be saved"})}),"\n",(0,a.jsxs)(n.span,{"data-line":"",children:[(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" attachments"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" true"})]}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"}"})}),"\n",(0,a.jsxs)(n.span,{"data-line":"",children:[(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" backupState"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" myDatabase"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".backup"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(backupOptions);"})]}),"\n",(0,a.jsxs)(n.span,{"data-line":"",children:[(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" backupState"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".awaitInitialBackup"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// call again to run from the last checkpoint"})}),"\n",(0,a.jsxs)(n.span,{"data-line":"",children:[(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" backupState2"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" myDatabase"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".backup"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(backupOptions);"})]}),"\n",(0,a.jsxs)(n.span,{"data-line":"",children:[(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" backupState2"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".awaitInitialBackup"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]})]})})}),"\n",(0,a.jsx)(n.h2,{id:"live-backup",children:"live backup"}),"\n",(0,a.jsxs)(n.p,{children:["When ",(0,a.jsx)(n.code,{children:"live: true"})," is set, the backup will write all ongoing changes to the backup directory."]}),"\n",(0,a.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,a.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"javascript","data-theme":"css-variables",children:(0,a.jsxs)(n.code,{"data-language":"javascript","data-theme":"css-variables",style:{display:"grid"},children:[(0,a.jsxs)(n.span,{"data-line":"",children:[(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" backupOptions"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // set live: true to have an ongoing backup"})}),"\n",(0,a.jsxs)(n.span,{"data-line":"",children:[(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" live"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" true"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,a.jsxs)(n.span,{"data-line":"",children:[(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" directory"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" '/my-backup-folder/'"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,a.jsxs)(n.span,{"data-line":"",children:[(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" attachments"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" true"})]}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"}"})}),"\n",(0,a.jsxs)(n.span,{"data-line":"",children:[(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" backupState"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" myDatabase"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".backup"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(backupOptions);"})]}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// you can still await the initial backup write, but further changes will still be processed."})}),"\n",(0,a.jsxs)(n.span,{"data-line":"",children:[(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" backupState"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".awaitInitialBackup"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]})]})})}),"\n",(0,a.jsx)(n.h2,{id:"writeevents",children:"writeEvents$"}),"\n",(0,a.jsxs)(n.p,{children:["You can listen to the ",(0,a.jsx)(n.code,{children:"writeEvents$"})," Observable to get notified about written backup files."]}),"\n",(0,a.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,a.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"javascript","data-theme":"css-variables",children:(0,a.jsxs)(n.code,{"data-language":"javascript","data-theme":"css-variables",style:{display:"grid"},children:[(0,a.jsxs)(n.span,{"data-line":"",children:[(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" backupOptions"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,a.jsxs)(n.span,{"data-line":"",children:[(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" live"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" false"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,a.jsxs)(n.span,{"data-line":"",children:[(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" directory"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" '/my-backup-folder/'"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,a.jsxs)(n.span,{"data-line":"",children:[(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" attachments"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" true"})]}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"}"})}),"\n",(0,a.jsxs)(n.span,{"data-line":"",children:[(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" backupState"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" myDatabase"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".backup"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(backupOptions);"})]}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,a.jsxs)(n.span,{"data-line":"",children:[(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" subscription"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" backupState"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"writeEvents$"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".subscribe"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(writeEvent "}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" console"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".dir"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(writeEvent));"})]}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"/*"})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"> {"})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" collectionName: 'humans',"})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" documentId: 'foobar',"})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" files: ["})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" '/my-backup-folder/foobar/document.json'"})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" ],"})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" deleted: false"})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"}"})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"*/"})})]})})}),"\n",(0,a.jsx)(n.h2,{id:"limitations",children:"Limitations"}),"\n",(0,a.jsxs)(n.ul,{children:["\n",(0,a.jsx)(n.li,{children:"It is currently not possible to import from a written backup. If you need this functionality, please make a pull request."}),"\n"]})]})}function h(e={}){const{wrapper:n}={...(0,r.R)(),...e.components};return n?(0,a.jsx)(n,{...e,children:(0,a.jsx)(d,{...e})}):d(e)}},8453(e,n,s){s.d(n,{R:()=>t,x:()=>o});var i=s(6540);const a={},r=i.createContext(a);function t(e){const n=i.useContext(r);return i.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function o(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:t(e.components),i.createElement(r.Provider,{value:n},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/1b238727.c81ff6e0.js b/docs/assets/js/1b238727.c81ff6e0.js
deleted file mode 100644
index c8cb9a1792a..00000000000
--- a/docs/assets/js/1b238727.c81ff6e0.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[4013],{2493(e,r,s){s.r(r),s.d(r,{assets:()=>c,contentTitle:()=>i,default:()=>m,frontMatter:()=>a,metadata:()=>t,toc:()=>l});const t=JSON.parse('{"id":"rx-storage-performance","title":"\ud83d\udcc8 Discover RxDB Storage Benchmarks","description":"Explore real-world benchmarks comparing RxDB\'s persistent and semi-persistent storages. Discover which storage option delivers the fastest performance.","source":"@site/docs/rx-storage-performance.md","sourceDirName":".","slug":"/rx-storage-performance.html","permalink":"/rx-storage-performance.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"\ud83d\udcc8 Discover RxDB Storage Benchmarks","slug":"rx-storage-performance.html","description":"Explore real-world benchmarks comparing RxDB\'s persistent and semi-persistent storages. Discover which storage option delivers the fastest performance."},"sidebar":"tutorialSidebar","previous":{"title":"React","permalink":"/react.html"},"next":{"title":"NoSQL Performance Tips","permalink":"/nosql-performance-tips.html"}}');var n=s(4848),o=s(8453);const a={title:"\ud83d\udcc8 Discover RxDB Storage Benchmarks",slug:"rx-storage-performance.html",description:"Explore real-world benchmarks comparing RxDB's persistent and semi-persistent storages. Discover which storage option delivers the fastest performance."},i=void 0,c={},l=[{value:"RxStorage Performance comparison",id:"rxstorage-performance-comparison",level:2},{value:"Persistent vs Semi-Persistent storages",id:"persistent-vs-semi-persistent-storages",level:2},{value:"Performance comparison",id:"performance-comparison",level:2},{value:"Measurements",id:"measurements",level:3},{value:"Browser based Storages Performance Comparison",id:"browser-based-storages-performance-comparison",level:2},{value:"Node/Native based Storages Performance Comparison",id:"nodenative-based-storages-performance-comparison",level:2}];function d(e){const r={a:"a",code:"code",h2:"h2",h3:"h3",li:"li",p:"p",strong:"strong",ul:"ul",...(0,o.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(r.h2,{id:"rxstorage-performance-comparison",children:"RxStorage Performance comparison"}),"\n",(0,n.jsxs)(r.p,{children:["A big difference in the RxStorage implementations is the ",(0,n.jsx)(r.strong,{children:"performance"}),". In difference to a server side database, RxDB is bound to the limits of the JavaScript runtime and depending on the runtime, there are different possibilities to store and fetch data. For example in the browser it is only possible to store data in a ",(0,n.jsx)(r.a,{href:"/slow-indexeddb.html",children:"slow IndexedDB"})," or OPFS instead of a filesystem while on React-Native you can use the ",(0,n.jsx)(r.a,{href:"/rx-storage-sqlite.html",children:"SQLite storage"}),"."]}),"\n",(0,n.jsxs)(r.p,{children:["Therefore the performance can be completely different depending on where you use RxDB and what you do with it. Here you can see some performance measurements and descriptions on how the different ",(0,n.jsx)(r.a,{href:"/rx-storage.html",children:"storages"})," work and how their performance is different."]}),"\n",(0,n.jsx)(r.h2,{id:"persistent-vs-semi-persistent-storages",children:"Persistent vs Semi-Persistent storages"}),"\n",(0,n.jsx)(r.p,{children:'The "normal" storages are always persistent. This means each RxDB write is directly written to disc and all queries run on the disc state. This means a good startup performance because nothing has to be done on startup.'}),"\n",(0,n.jsxs)(r.p,{children:["In contrast, semi-persistent storages like ",(0,n.jsx)(r.a,{href:"/rx-storage-memory-mapped.html",children:"memory mapped"})," store all data in memory on startup and only save to disc occasionally (or on exit). Therefore it has a very fast read/write performance, but loading all data into memory on the first page load can take longer for big amounts of documents. Also these storages can only be used when all data fits into the memory at least once. In general it is recommended to stay on the persistent storages and only use semi-persistent ones, when you know for sure that the dataset will stay small (less than 2k documents)."]}),"\n",(0,n.jsx)(r.h2,{id:"performance-comparison",children:"Performance comparison"}),"\n",(0,n.jsx)(r.p,{children:"In the following you can find some performance measurements and comparisons. Notice that these are only a small set of possible RxDB operations. If performance is really relevant for your use case, you should do your own measurements with usage-patterns that are equal to how you use RxDB in production."}),"\n",(0,n.jsx)(r.h3,{id:"measurements",children:"Measurements"}),"\n",(0,n.jsx)(r.p,{children:"Here the following metrics are measured:"}),"\n",(0,n.jsxs)(r.ul,{children:["\n",(0,n.jsxs)(r.li,{children:["time-to-first-insert: Many storages run lazy, so it makes no sense to compare the time which is required to create a database with collections. Instead we measure the ",(0,n.jsx)(r.strong,{children:"time-to-first-insert"})," which is the whole timespan from database creation until the first single document write is done."]}),"\n",(0,n.jsx)(r.li,{children:"insert documents (bulk): Insert 500 documents with a single bulk-insert operation."}),"\n",(0,n.jsxs)(r.li,{children:["find documents by id (bulk): Here we fetch 100% of the stored documents with a single ",(0,n.jsx)(r.code,{children:"findByIds()"})," call."]}),"\n",(0,n.jsx)(r.li,{children:"insert documents (serial): Insert 50 documents, one after each other."}),"\n",(0,n.jsxs)(r.li,{children:["find documents by id (serial): Here we find 50 documents in serial with one ",(0,n.jsx)(r.code,{children:"findByIds()"})," call per document."]}),"\n",(0,n.jsxs)(r.li,{children:["find documents by query: Here we fetch 100% of the stored documents with a single ",(0,n.jsx)(r.code,{children:"find()"})," call."]}),"\n",(0,n.jsxs)(r.li,{children:["find documents by query: Here we fetch all of the stored documents with a 4 ",(0,n.jsx)(r.code,{children:"find()"})," calls that run in parallel. Each fetching 25% of the documents."]}),"\n",(0,n.jsxs)(r.li,{children:["count documents: Counts 100% of the stored documents with a single ",(0,n.jsx)(r.code,{children:"count()"})," call. Here we measure 4 runs at once to have a higher number that is easier to compare."]}),"\n"]}),"\n",(0,n.jsx)(r.h2,{id:"browser-based-storages-performance-comparison",children:"Browser based Storages Performance Comparison"}),"\n",(0,n.jsxs)(r.p,{children:["The performance patterns of the browser based storages are very diverse. The ",(0,n.jsx)(r.a,{href:"/rx-storage-indexeddb.html",children:"IndexedDB storage"})," is recommended for mostly all use cases so you should start with that one. Later you can do performance testings and switch to another storage like ",(0,n.jsx)(r.a,{href:"/rx-storage-opfs.html",children:"OPFS"})," or ",(0,n.jsx)(r.a,{href:"/rx-storage-memory-mapped.html",children:"memory-mapped"}),"."]}),"\n",(0,n.jsx)("p",{align:"center",children:(0,n.jsx)("img",{src:"./files/rx-storage-performance-browser.png",alt:"RxStorage performance - browser",width:"700"})}),"\n",(0,n.jsx)(r.h2,{id:"nodenative-based-storages-performance-comparison",children:"Node/Native based Storages Performance Comparison"}),"\n",(0,n.jsxs)(r.p,{children:["For most client-side native applications (",(0,n.jsx)(r.a,{href:"/react-native-database.html",children:"react-native"}),", ",(0,n.jsx)(r.a,{href:"/electron-database.html",children:"electron"}),", ",(0,n.jsx)(r.a,{href:"/capacitor-database.html",children:"capacitor"}),"), using the ",(0,n.jsx)(r.a,{href:"/rx-storage-sqlite.html",children:"SQLite RxStorage"})," is recommended. For non-client side applications like a server, use the ",(0,n.jsx)(r.a,{href:"/rx-storage-mongodb.html",children:"MongoDB storage"})," instead."]}),"\n",(0,n.jsx)("p",{align:"center",children:(0,n.jsx)("img",{src:"./files/rx-storage-performance-node.png",alt:"RxStorage performance - Node.js",width:"700"})})]})}function m(e={}){const{wrapper:r}={...(0,o.R)(),...e.components};return r?(0,n.jsx)(r,{...e,children:(0,n.jsx)(d,{...e})}):d(e)}},8453(e,r,s){s.d(r,{R:()=>a,x:()=>i});var t=s(6540);const n={},o=t.createContext(n);function a(e){const r=t.useContext(o);return t.useMemo(function(){return"function"==typeof e?e(r):{...r,...e}},[r,e])}function i(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:a(e.components),t.createElement(o.Provider,{value:r},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/1b5fa8ad.99194259.js b/docs/assets/js/1b5fa8ad.99194259.js
deleted file mode 100644
index aa31aa8599b..00000000000
--- a/docs/assets/js/1b5fa8ad.99194259.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[9111],{5347(e,r,a){a.r(r),a.d(r,{default:()=>n});var t=a(544),l=a(4848);function n(){return(0,t.default)({sem:{id:"gads",metaTitle:"The modern alternative for NeDB",title:(0,l.jsxs)(l.Fragment,{children:["The ",(0,l.jsx)("b",{children:"modern"})," alternative for"," ",(0,l.jsx)("b",{children:"NeDB"})]}),appName:"Browser"}})}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/1c0701dd.8572a44b.js b/docs/assets/js/1c0701dd.8572a44b.js
deleted file mode 100644
index d24bf882a8a..00000000000
--- a/docs/assets/js/1c0701dd.8572a44b.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[6953],{8453(n,e,s){s.d(e,{R:()=>l,x:()=>a});var r=s(6540);const o={},i=r.createContext(o);function l(n){const e=r.useContext(i);return r.useMemo(function(){return"function"==typeof n?n(e):{...e,...n}},[e,n])}function a(n){let e;return e=n.disableParentContext?"function"==typeof n.components?n.components(o):n.components||o:l(n.components),r.createElement(i.Provider,{value:e},n.children)}},9328(n,e,s){s.r(e),s.d(e,{assets:()=>t,contentTitle:()=>a,default:()=>h,frontMatter:()=>l,metadata:()=>r,toc:()=>c});const r=JSON.parse('{"id":"middleware","title":"Streamlined RxDB Middleware","description":"Enhance your RxDB workflow with pre and post hooks. Quickly add custom validations, triggers, and events to streamline your asynchronous operations.","source":"@site/docs/middleware.md","sourceDirName":".","slug":"/middleware.html","permalink":"/middleware.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"Streamlined RxDB Middleware","slug":"middleware.html","description":"Enhance your RxDB workflow with pre and post hooks. Quickly add custom validations, triggers, and events to streamline your asynchronous operations."},"sidebar":"tutorialSidebar","previous":{"title":"Leader Election","permalink":"/leader-election.html"},"next":{"title":"CRDT","permalink":"/crdt.html"}}');var o=s(4848),i=s(8453);const l={title:"Streamlined RxDB Middleware",slug:"middleware.html",description:"Enhance your RxDB workflow with pre and post hooks. Quickly add custom validations, triggers, and events to streamline your asynchronous operations."},a="Middleware",t={},c=[{value:"List",id:"list",level:2},{value:"Why is there no validate-hook?",id:"why-is-there-no-validate-hook",level:3},{value:"Use Cases",id:"use-cases",level:2},{value:"Usage",id:"usage",level:2},{value:"Insert",id:"insert",level:3},{value:"lifecycle",id:"lifecycle",level:4},{value:"preInsert",id:"preinsert",level:4},{value:"postInsert",id:"postinsert",level:4},{value:"Save",id:"save",level:3},{value:"lifecycle",id:"lifecycle-1",level:4},{value:"preSave",id:"presave",level:4},{value:"postSave",id:"postsave",level:4},{value:"Remove",id:"remove",level:3},{value:"lifecycle",id:"lifecycle-2",level:4},{value:"preRemove",id:"preremove",level:4},{value:"postRemove",id:"postremove",level:4},{value:"postCreate",id:"postcreate",level:3}];function d(n){const e={admonition:"admonition",code:"code",figure:"figure",h1:"h1",h2:"h2",h3:"h3",h4:"h4",header:"header",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...(0,i.R)(),...n.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(e.header,{children:(0,o.jsx)(e.h1,{id:"middleware",children:"Middleware"})}),"\n",(0,o.jsx)(e.p,{children:"RxDB middleware-hooks (also called pre and post hooks) are functions which are passed control during execution of asynchronous functions.\nThe hooks are specified on RxCollection-level and help to create a clear what-happens-when-structure of your code."}),"\n",(0,o.jsxs)(e.p,{children:["Hooks can be defined to run ",(0,o.jsx)(e.strong,{children:"parallel"})," or as ",(0,o.jsx)(e.strong,{children:"series"})," one after another.\nHooks can be ",(0,o.jsx)(e.strong,{children:"synchronous"})," or ",(0,o.jsx)(e.strong,{children:"asynchronous"})," when they return a ",(0,o.jsx)(e.code,{children:"Promise"}),".\nTo stop the operation at a specific hook, throw an error."]}),"\n",(0,o.jsx)(e.h2,{id:"list",children:"List"}),"\n",(0,o.jsx)(e.p,{children:"RxDB supports the following hooks:"}),"\n",(0,o.jsxs)(e.ul,{children:["\n",(0,o.jsx)(e.li,{children:"preInsert"}),"\n",(0,o.jsx)(e.li,{children:"postInsert"}),"\n",(0,o.jsx)(e.li,{children:"preSave"}),"\n",(0,o.jsx)(e.li,{children:"postSave"}),"\n",(0,o.jsx)(e.li,{children:"preRemove"}),"\n",(0,o.jsx)(e.li,{children:"postRemove"}),"\n",(0,o.jsx)(e.li,{children:"postCreate"}),"\n"]}),"\n",(0,o.jsx)(e.h3,{id:"why-is-there-no-validate-hook",children:"Why is there no validate-hook?"}),"\n",(0,o.jsxs)(e.p,{children:["Different to mongoose, the validation on document-data is running on the field-level for every change to a document.\nThis means if you set the value ",(0,o.jsx)(e.code,{children:"lastName"})," of a RxDocument, then the validation will only run on the changed field, not the whole document.\nTherefore it is not useful to have validate-hooks when a document is written to the database."]}),"\n",(0,o.jsx)(e.h2,{id:"use-cases",children:"Use Cases"}),"\n",(0,o.jsx)(e.p,{children:"Middleware are useful for atomizing model logic and avoiding nested blocks of async code.\nHere are some other ideas:"}),"\n",(0,o.jsxs)(e.ul,{children:["\n",(0,o.jsx)(e.li,{children:"complex validation"}),"\n",(0,o.jsx)(e.li,{children:"removing dependent documents"}),"\n",(0,o.jsx)(e.li,{children:"asynchronous defaults"}),"\n",(0,o.jsx)(e.li,{children:"asynchronous tasks that a certain action triggers"}),"\n",(0,o.jsx)(e.li,{children:"triggering custom events"}),"\n",(0,o.jsx)(e.li,{children:"notifications"}),"\n"]}),"\n",(0,o.jsx)(e.h2,{id:"usage",children:"Usage"}),"\n",(0,o.jsxs)(e.p,{children:["All hooks have the plain data as first parameter, and all but ",(0,o.jsx)(e.code,{children:"preInsert"})," also have the ",(0,o.jsx)(e.code,{children:"RxDocument"}),"-instance as second parameter. If you want to modify the data in the hook, change attributes of the first parameter."]}),"\n",(0,o.jsxs)(e.p,{children:["All hook functions are also ",(0,o.jsx)(e.code,{children:"this"}),"-bind to the ",(0,o.jsx)(e.code,{children:"RxCollection"}),"-instance."]}),"\n",(0,o.jsx)(e.h3,{id:"insert",children:"Insert"}),"\n",(0,o.jsx)(e.p,{children:"An insert-hook receives the data-object of the new document."}),"\n",(0,o.jsx)(e.h4,{id:"lifecycle",children:"lifecycle"}),"\n",(0,o.jsxs)(e.ul,{children:["\n",(0,o.jsx)(e.li,{children:"RxCollection.insert is called"}),"\n",(0,o.jsx)(e.li,{children:"preInsert series-hooks"}),"\n",(0,o.jsx)(e.li,{children:"preInsert parallel-hooks"}),"\n",(0,o.jsx)(e.li,{children:"schema validation runs"}),"\n",(0,o.jsx)(e.li,{children:"new document is written to database"}),"\n",(0,o.jsx)(e.li,{children:"postInsert series-hooks"}),"\n",(0,o.jsx)(e.li,{children:"postInsert parallel-hooks"}),"\n",(0,o.jsx)(e.li,{children:"event is emitted to RxDatabase and RxCollection"}),"\n"]}),"\n",(0,o.jsx)(e.h4,{id:"preinsert",children:"preInsert"}),"\n",(0,o.jsx)(e.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(e.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"js","data-theme":"css-variables",children:(0,o.jsxs)(e.code,{"data-language":"js","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsx)(e.span,{"data-line":"",children:(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// series"})}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:"myCollection"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:".preInsert"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"(plainData){"})]}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:" // set age to 50 before saving"})}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" plainData"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:".age "}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" 50"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"}"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" false"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:" "}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// parallel"})}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:"myCollection"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:".preInsert"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"(plainData){"})]}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:" "}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"}"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" true"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:" "}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// async"})}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:"myCollection"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:".preInsert"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"(plainData){"})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:" new"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" Promise"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"(res "}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:" setTimeout"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"(res"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" 100"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"));"})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"}"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" false"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:" "}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// stop the insert-operation"})}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:"myCollection"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:".preInsert"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"(plainData){"})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:" throw"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:" new"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:" Error"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'stop'"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"}"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" false"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:");"})]})]})})}),"\n",(0,o.jsx)(e.h4,{id:"postinsert",children:"postInsert"}),"\n",(0,o.jsx)(e.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(e.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"js","data-theme":"css-variables",children:(0,o.jsxs)(e.code,{"data-language":"js","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsx)(e.span,{"data-line":"",children:(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// series"})}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:"myCollection"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:".postInsert"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"(plainData"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" rxDocument){"})]}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:" "}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"}"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" false"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:" "}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// parallel"})}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:"myCollection"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:".postInsert"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"(plainData"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" rxDocument){"})]}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:" "}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"}"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" true"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:" "}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// async"})}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:"myCollection"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:".postInsert"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"(plainData"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" rxDocument){"})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:" new"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" Promise"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"(res "}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:" setTimeout"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"(res"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" 100"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"));"})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"}"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" false"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:");"})]})]})})}),"\n",(0,o.jsx)(e.h3,{id:"save",children:"Save"}),"\n",(0,o.jsx)(e.p,{children:"A save-hook receives the document which is saved."}),"\n",(0,o.jsx)(e.h4,{id:"lifecycle-1",children:"lifecycle"}),"\n",(0,o.jsxs)(e.ul,{children:["\n",(0,o.jsx)(e.li,{children:"RxDocument.save is called"}),"\n",(0,o.jsx)(e.li,{children:"preSave series-hooks"}),"\n",(0,o.jsx)(e.li,{children:"preSave parallel-hooks"}),"\n",(0,o.jsx)(e.li,{children:"updated document is written to database"}),"\n",(0,o.jsx)(e.li,{children:"postSave series-hooks"}),"\n",(0,o.jsx)(e.li,{children:"postSave parallel-hooks"}),"\n",(0,o.jsx)(e.li,{children:"event is emitted to RxDatabase and RxCollection"}),"\n"]}),"\n",(0,o.jsx)(e.h4,{id:"presave",children:"preSave"}),"\n",(0,o.jsx)(e.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(e.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"js","data-theme":"css-variables",children:(0,o.jsxs)(e.code,{"data-language":"js","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsx)(e.span,{"data-line":"",children:(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// series"})}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:"myCollection"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:".preSave"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"(plainData"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" rxDocument){"})]}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:" // modify anyField before saving"})}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" plainData"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:".anyField "}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'anyValue'"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"}"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" false"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:" "}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// parallel"})}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:"myCollection"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:".preSave"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"(plainData"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" rxDocument){"})]}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:" "}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"}"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" true"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:" "}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// async"})}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:"myCollection"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:".preSave"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"(plainData"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" rxDocument){"})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:" new"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" Promise"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"(res "}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:" setTimeout"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"(res"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" 100"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"));"})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"}"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" false"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:" "}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// stop the save-operation"})}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:"myCollection"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:".preSave"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"(plainData"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" rxDocument){"})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:" throw"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:" new"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:" Error"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'stop'"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"}"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" false"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:");"})]})]})})}),"\n",(0,o.jsx)(e.h4,{id:"postsave",children:"postSave"}),"\n",(0,o.jsx)(e.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(e.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"js","data-theme":"css-variables",children:(0,o.jsxs)(e.code,{"data-language":"js","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsx)(e.span,{"data-line":"",children:(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// series"})}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:"myCollection"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:".postSave"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"(plainData"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" rxDocument){"})]}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:" "}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"}"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" false"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:" "}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// parallel"})}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:"myCollection"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:".postSave"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"(plainData"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" rxDocument){"})]}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:" "}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"}"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" true"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:" "}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// async"})}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:"myCollection"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:".postSave"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"(plainData"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" rxDocument){"})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:" new"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" Promise"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"(res "}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:" setTimeout"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"(res"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" 100"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"));"})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"}"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" false"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:");"})]})]})})}),"\n",(0,o.jsx)(e.h3,{id:"remove",children:"Remove"}),"\n",(0,o.jsx)(e.p,{children:"An remove-hook receives the document which is removed."}),"\n",(0,o.jsx)(e.h4,{id:"lifecycle-2",children:"lifecycle"}),"\n",(0,o.jsxs)(e.ul,{children:["\n",(0,o.jsx)(e.li,{children:"RxDocument.remove is called"}),"\n",(0,o.jsx)(e.li,{children:"preRemove series-hooks"}),"\n",(0,o.jsx)(e.li,{children:"preRemove parallel-hooks"}),"\n",(0,o.jsx)(e.li,{children:"deleted document is written to database"}),"\n",(0,o.jsx)(e.li,{children:"postRemove series-hooks"}),"\n",(0,o.jsx)(e.li,{children:"postRemove parallel-hooks"}),"\n",(0,o.jsx)(e.li,{children:"event is emitted to RxDatabase and RxCollection"}),"\n"]}),"\n",(0,o.jsx)(e.h4,{id:"preremove",children:"preRemove"}),"\n",(0,o.jsx)(e.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(e.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"js","data-theme":"css-variables",children:(0,o.jsxs)(e.code,{"data-language":"js","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsx)(e.span,{"data-line":"",children:(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// series"})}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:"myCollection"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:".preRemove"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"(plainData"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" rxDocument){"})]}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:" "}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"}"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" false"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:" "}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// parallel"})}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:"myCollection"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:".preRemove"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"(plainData"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" rxDocument){"})]}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:" "}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"}"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" true"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:" "}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// async"})}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:"myCollection"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:".preRemove"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"(plainData"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" rxDocument){"})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:" new"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" Promise"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"(res "}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:" setTimeout"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"(res"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" 100"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"));"})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"}"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" false"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:" "}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// stop the remove-operation"})}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:"myCollection"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:".preRemove"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"(plainData"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" rxDocument){"})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:" throw"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:" new"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:" Error"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'stop'"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"}"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" false"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:");"})]})]})})}),"\n",(0,o.jsx)(e.h4,{id:"postremove",children:"postRemove"}),"\n",(0,o.jsx)(e.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(e.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"js","data-theme":"css-variables",children:(0,o.jsxs)(e.code,{"data-language":"js","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsx)(e.span,{"data-line":"",children:(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// series"})}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:"myCollection"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:".postRemove"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"(plainData"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" rxDocument){"})]}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:" "}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"}"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" false"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:" "}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// parallel"})}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:"myCollection"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:".postRemove"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"(plainData"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" rxDocument){"})]}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:" "}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"}"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" true"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:" "}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// async"})}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:"myCollection"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:".postRemove"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"(plainData"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" rxDocument){"})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:" new"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" Promise"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"(res "}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:" setTimeout"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"(res"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" 100"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"));"})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"}"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" false"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:");"})]})]})})}),"\n",(0,o.jsx)(e.h3,{id:"postcreate",children:"postCreate"}),"\n",(0,o.jsxs)(e.p,{children:["This hook is called whenever a ",(0,o.jsx)(e.code,{children:"RxDocument"})," is constructed.\nYou can use ",(0,o.jsx)(e.code,{children:"postCreate"})," to modify every RxDocument-instance of the collection.\nThis adds a flexible way to add specify behavior to every document. You can also use it to add custom getter/setter to documents. PostCreate-hooks cannot be ",(0,o.jsx)(e.strong,{children:"asynchronous"}),"."]}),"\n",(0,o.jsx)(e.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(e.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"js","data-theme":"css-variables",children:(0,o.jsxs)(e.code,{"data-language":"js","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:"myCollection"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:".postCreate"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"(plainData"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" rxDocument){"})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" Object"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:".defineProperty"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"(rxDocument"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'myField'"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:" get"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" () "}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'foobar'"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" });"})}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:" "}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" doc"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" myCollection"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:".findOne"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"()"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:".exec"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:" "}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:"console"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:".log"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:"doc"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:".myField);"})]}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// 'foobar'"})})]})})}),"\n",(0,o.jsx)(e.admonition,{type:"note",children:(0,o.jsxs)(e.p,{children:["This hook does not run on already created or cached documents. Make sure to add ",(0,o.jsx)(e.code,{children:"postCreate"}),"-hooks before interacting with the collection."]})})]})}function h(n={}){const{wrapper:e}={...(0,i.R)(),...n.components};return e?(0,o.jsx)(e,{...n,children:(0,o.jsx)(d,{...n})}):d(n)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/1da545ff.ef424470.js b/docs/assets/js/1da545ff.ef424470.js
deleted file mode 100644
index dc146ed39f4..00000000000
--- a/docs/assets/js/1da545ff.ef424470.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[9743],{135(e,s,n){n.r(s),n.d(s,{assets:()=>l,contentTitle:()=>t,default:()=>h,frontMatter:()=>o,metadata:()=>r,toc:()=>d});const r=JSON.parse('{"id":"releases/9.0.0","title":"RxDB 9.0.0 - Faster & Simpler","description":"Discover RxDB 9.0.0\'s streamlined plugins, top-level schema definitions, and improved dev-mode. Experience a simpler, faster real-time database.","source":"@site/docs/releases/9.0.0.md","sourceDirName":"releases","slug":"/releases/9.0.0.html","permalink":"/releases/9.0.0.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"RxDB 9.0.0 - Faster & Simpler","slug":"9.0.0.html","description":"Discover RxDB 9.0.0\'s streamlined plugins, top-level schema definitions, and improved dev-mode. Experience a simpler, faster real-time database."},"sidebar":"tutorialSidebar","previous":{"title":"10.0.0","permalink":"/releases/10.0.0.html"},"next":{"title":"8.0.0","permalink":"/releases/8.0.0.html"}}');var i=n(4848),a=n(8453);const o={title:"RxDB 9.0.0 - Faster & Simpler",slug:"9.0.0.html",description:"Discover RxDB 9.0.0's streamlined plugins, top-level schema definitions, and improved dev-mode. Experience a simpler, faster real-time database."},t="9.0.0",l={},d=[{value:"Breaking changes",id:"breaking-changes",level:2},{value:"All default exports have been removed",id:"all-default-exports-have-been-removed",level:3},{value:"Indexes are specified at the top level of the schema definition",id:"indexes-are-specified-at-the-top-level-of-the-schema-definition",level:3},{value:"Encrypted fields at the top level of the schema",id:"encrypted-fields-at-the-top-level-of-the-schema",level:3},{value:"New dev-mode plugin",id:"new-dev-mode-plugin",level:3},{value:"New migration plugin",id:"new-migration-plugin",level:3},{value:"Rewritten key-compression",id:"rewritten-key-compression",level:3},{value:"Rewritten query-change-detection to event-reduce",id:"rewritten-query-change-detection-to-event-reduce",level:3},{value:"find() and findOne() now accepts the full mango query",id:"find-and-findone-now-accepts-the-full-mango-query",level:3},{value:"moved query builder to own plugin",id:"moved-query-builder-to-own-plugin",level:3},{value:"Refactored RxChangeEvent",id:"refactored-rxchangeevent",level:3},{value:"Internal hash() is now using a salt",id:"internal-hash-is-now-using-a-salt",level:3},{value:"Changed default of RxDocument.toJSON()",id:"changed-default-of-rxdocumenttojson",level:3},{value:"Typescript 3.8.0 or newer is required",id:"typescript-380-or-newer-is-required",level:3},{value:"GraphQL replication will run a schema validation of incoming data",id:"graphql-replication-will-run-a-schema-validation-of-incoming-data",level:3},{value:"Internal and other changes",id:"internal-and-other-changes",level:2},{value:"Help wanted",id:"help-wanted",level:2},{value:"Refactor data-migrator",id:"refactor-data-migrator",level:3},{value:"Add e2e tests to the react example",id:"add-e2e-tests-to-the-react-example",level:3},{value:"Fix pouchdb bug so we can upgrade pouchdb-find",id:"fix-pouchdb-bug-so-we-can-upgrade-pouchdb-find",level:3},{value:"About the future of RxDB",id:"about-the-future-of-rxdb",level:2}];function c(e){const s={a:"a",code:"code",figure:"figure",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",p:"p",pre:"pre",span:"span",ul:"ul",...(0,a.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s.header,{children:(0,i.jsx)(s.h1,{id:"900",children:"9.0.0"})}),"\n",(0,i.jsx)(s.p,{children:"So I was working hard the past month to prepare everything for the next major release of RxDB. The last major release was 1,5 years ago by the way."}),"\n",(0,i.jsxs)(s.p,{children:["When I started ",(0,i.jsx)(s.a,{href:"https://github.com/pubkey/rxdb/issues/1636",children:"listing up the planned changes"})," I had big ambitions about basically rewriting everything. But I found out this time has not come yet. There is some work to be done first. So version ",(0,i.jsx)(s.code,{children:"9.0.0"})," was more about fixing all these small things that made improving the codebase difficult. Much has been refactored and moved. Some API-parts have been changed to have a more simple project with a cleaner codebase."]}),"\n",(0,i.jsx)(s.p,{children:"Notice that I use major releases to bundle stuff that breaks the RxDB usage in your project. By having only few major releases you can be sure that you can upgrade in one big block instead of changing stuff each few months. Big features are released in non-major releases because they mostly can be implemented without side effects."}),"\n",(0,i.jsx)(s.h2,{id:"breaking-changes",children:"Breaking changes"}),"\n",(0,i.jsx)(s.p,{children:"You have to apply these changes to your codebase when upgrading RxDB."}),"\n",(0,i.jsx)(s.h3,{id:"all-default-exports-have-been-removed",children:"All default exports have been removed"}),"\n",(0,i.jsx)(s.p,{children:"Using default exports and imports can be helpful when you want to write code fast.\nBut using them also disabled the tree-shaking of your bundler which means you added much code to your bundle that was not even used. To prevent this common behavior, I removed all default exports and renamed functions so that they are more unlikely to clash with other non-RxDB function names."}),"\n",(0,i.jsx)(s.p,{children:"Instead of doing"}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"typescript","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"typescript","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" RxDB "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"RxDB"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".plugin"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"/* ... */"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" RxDB"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".create"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"/* ... */"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})]})]})})}),"\n",(0,i.jsx)(s.p,{children:"You now do"}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"typescript","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"typescript","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { createRxDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" addRxPlugin } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"addRxPlugin"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"/* ... */"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"/* ... */"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})]})]})})}),"\n",(0,i.jsxs)(s.p,{children:["Also ",(0,i.jsx)(s.code,{children:"removeDatabase()"})," is renamed to ",(0,i.jsx)(s.code,{children:"removeRxDatabase()"})," and ",(0,i.jsx)(s.code,{children:"plugin()"})," is now ",(0,i.jsx)(s.code,{children:"addRxPlugin()"}),"."]}),"\n",(0,i.jsx)(s.p,{children:"Same goes for all previous default exports of the plugins."}),"\n",(0,i.jsx)(s.h3,{id:"indexes-are-specified-at-the-top-level-of-the-schema-definition",children:"Indexes are specified at the top level of the schema definition"}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.a,{href:"https://github.com/pubkey/rxdb/issues/1655",children:"related issue"})}),"\n",(0,i.jsx)(s.p,{children:"In the past the indexes of a collection had to be specified at the field level of the schema like"}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"json","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"json","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"{"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:' "firstName"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:' "type"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "string"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:' "index"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" true"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"}"})})]})})}),"\n",(0,i.jsx)(s.p,{children:"This made it complex to list up the index fields which had a bad performance on startup.\nTo fix this the indexes are now specified at the top level of the schema like"}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"json","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"json","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"{"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:' "title"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "my schema"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:' "version"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 0"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:' "type"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "object"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:' "properties"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {}"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:' "indexes"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ["})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "firstName"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ["}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:'"compound"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "index"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"]"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ]"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"}"})})]})})}),"\n",(0,i.jsx)(s.h3,{id:"encrypted-fields-at-the-top-level-of-the-schema",children:"Encrypted fields at the top level of the schema"}),"\n",(0,i.jsx)(s.p,{children:"Same as the indexes, encrypted fields are now also defined in the top level like"}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"json","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"json","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"{"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:' "title"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "my schema"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:' "version"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 0"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:' "type"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "object"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:' "properties"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {}"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:' "encrypted"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ["})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "password"'})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ]"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"}"})})]})})}),"\n",(0,i.jsx)(s.h3,{id:"new-dev-mode-plugin",children:"New dev-mode plugin"}),"\n",(0,i.jsxs)(s.p,{children:["In the past we had stuff that is only wanted for development in the two plugins ",(0,i.jsx)(s.code,{children:"error-messages"})," and ",(0,i.jsx)(s.code,{children:"schema-check"}),"."]}),"\n",(0,i.jsxs)(s.p,{children:["Now we have a single plugin ",(0,i.jsx)(s.code,{children:"dev-mode"})," that contains all these checks and development helper functions. I also moved many other checks out of the core-module into dev-mode."]}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"typescript","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"typescript","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { RxDBDevModePlugin } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/dev-mode'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"addRxPlugin"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(RxDBDevModePlugin);"})]})]})})}),"\n",(0,i.jsx)(s.h3,{id:"new-migration-plugin",children:"New migration plugin"}),"\n",(0,i.jsx)(s.p,{children:"The data migration was not used by all users of this project. Often it was easier to just wipe the local data store and let the client sync everything from the server. Because the migration has so much code, it is now in a separate plugin so that you do not have to ship this code to the clients if not necessary."}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"typescript","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"typescript","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { RxDBMigrationPlugin } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/migration'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"addRxPlugin"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(RxDBMigrationPlugin);"})]})]})})}),"\n",(0,i.jsx)(s.h3,{id:"rewritten-key-compression",children:"Rewritten key-compression"}),"\n",(0,i.jsx)(s.p,{children:"The key-compression logic was fully coded only for RxDB. This was a problem because it was not usable for other stuff and also badly tested. We had a known problem with nested arrays that caused much confusion because some queries did not find the correct documents."}),"\n",(0,i.jsxs)(s.p,{children:["I now created a npm-package ",(0,i.jsx)(s.a,{href:"https://github.com/pubkey/jsonschema-key-compression",children:"jsonschema-key-compression"})," that has cleaner code, better tests and can also be used for non-RxDB stuff."]}),"\n",(0,i.jsx)(s.p,{children:"If you used the key-compression in the past and have clients out there with old data, you have to find a way to migrate that data by using the json-import or other solutions depending on your project."}),"\n",(0,i.jsx)(s.h3,{id:"rewritten-query-change-detection-to-event-reduce",children:"Rewritten query-change-detection to event-reduce"}),"\n",(0,i.jsxs)(s.p,{children:["One big benefit of having a ",(0,i.jsx)(s.a,{href:"/articles/realtime-database.html",children:"realtime database"})," is that big performance optimizations can be done when the database knows a query is observed and the updated results are needed continuously. In the past this optimization was done by the internal ",(0,i.jsx)(s.code,{children:"queryChangeDetection"})," which was a big tree of if-else-statements that hopefully worked. This was also the reason why queryChangeDetection was in beta mode and not enabled by default."]}),"\n",(0,i.jsxs)(s.p,{children:["After months of research and testing I was able to create ",(0,i.jsx)(s.a,{href:"https://github.com/pubkey/event-reduce",children:"Event-Reduce: An algorithm to optimize database queries that run multiple times"}),". This JavaScript module contains an algorithm that is able to optimize realtime queries in a way that was not possible before. The algorithm is not RxDB specific and also heavily tested."]}),"\n",(0,i.jsxs)(s.p,{children:["Instead of setting ",(0,i.jsx)(s.code,{children:"queryChangeDetection"})," when creating a ",(0,i.jsx)(s.code,{children:"RxDatabase"}),", you now set ",(0,i.jsx)(s.code,{children:"eventReduce"})," which defaults to ",(0,i.jsx)(s.code,{children:"true"}),"."]}),"\n",(0,i.jsx)(s.h3,{id:"find-and-findone-now-accepts-the-full-mango-query",children:"find() and findOne() now accepts the full mango query"}),"\n",(0,i.jsxs)(s.p,{children:["In the past, only the selector of a query could be passed to ",(0,i.jsx)(s.code,{children:"find()"})," and ",(0,i.jsx)(s.code,{children:"findOne()"})," if you wanted to also do ",(0,i.jsx)(s.code,{children:"sort"}),", ",(0,i.jsx)(s.code,{children:"skip"})," or ",(0,i.jsx)(s.code,{children:"limit"}),", you had to call additional functions like"]}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"typescript","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"typescript","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" query"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" myRxCollection"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".find"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" age"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" $gt"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 10"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"})"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".sort"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'name'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:")"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".skip"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"5"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:")"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".limit"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"10"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})]})]})})}),"\n",(0,i.jsx)(s.p,{children:"Now you can pass the full query to the function call like"}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"typescript","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"typescript","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" query"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" myRxCollection"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".find"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" selector"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" age"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" $gt"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 10"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" sort"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" [{name"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'asc'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"}]"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" skip"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 5"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" limit"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 10"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,i.jsx)(s.h3,{id:"moved-query-builder-to-own-plugin",children:"moved query builder to own plugin"}),"\n",(0,i.jsxs)(s.p,{children:["The query builder that allowed to create queries like ",(0,i.jsx)(s.code,{children:".where('foo').eq('bar')"})," etc. was not really used by many people. Most of the time it is better to just pass the full query as simple json object. Also the code for the query builder was big and increased the build size much more than its value added. Only some edge-cases where recursive query modification was needed made the query builder useful. If you still want to use the query builder, you have to import the plugin."]}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"typescript","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"typescript","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { RxDBQueryBuilderPlugin } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/query-builder'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"addRxPlugin"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(RxDBQueryBuilderPlugin);"})]})]})})}),"\n",(0,i.jsx)(s.h3,{id:"refactored-rxchangeevent",children:"Refactored RxChangeEvent"}),"\n",(0,i.jsxs)(s.p,{children:["The whole data structure of ",(0,i.jsx)(s.code,{children:"RxChangeEvent"})," was way more complicated than it had to be. I refactored the whole class to be more simple. If you directly use ",(0,i.jsx)(s.code,{children:"RxChangeEvent"})," in your project you have to adapt to these changes. Also the stream of ",(0,i.jsx)(s.code,{children:"RxDatabase().$"})," will no longer emit the ",(0,i.jsx)(s.code,{children:"COLLECTION"})," event when a new collection is created."]}),"\n",(0,i.jsx)(s.h3,{id:"internal-hash-is-now-using-a-salt",children:"Internal hash() is now using a salt"}),"\n",(0,i.jsxs)(s.p,{children:["The internal hash function was used to store hashes of database passwords to compare them and directly throw errors when the wrong password was used with an existing data set. This was dangerous because you could use rainbow tables or even ",(0,i.jsx)(s.a,{href:"https://www.google.com/search?q=e5e9fa1ba31ecd1ae84f75caaa474f3a663f05f4",children:"just google"})," the hash to find out the plain password. So now the internal hashing is using a salt to prevent these attacks. If you have used the encryption in the past, you have to migrate your internal schema storage."]}),"\n",(0,i.jsx)(s.h3,{id:"changed-default-of-rxdocumenttojson",children:"Changed default of RxDocument.toJSON()"}),"\n",(0,i.jsxs)(s.p,{children:["By default ",(0,i.jsx)(s.code,{children:"RxDocument.toJSON()"})," always returned also the ",(0,i.jsx)(s.code,{children:"_rev"})," field and the ",(0,i.jsx)(s.code,{children:"_attachments"}),". This was confusing behavior which is why I changed the default to ",(0,i.jsx)(s.code,{children:"RxDocument().toJSON(withRevAndAttachments = false)"})]}),"\n",(0,i.jsx)(s.h3,{id:"typescript-380-or-newer-is-required",children:"Typescript 3.8.0 or newer is required"}),"\n",(0,i.jsxs)(s.p,{children:["Because RxDB and some subdependencies extensively use ",(0,i.jsx)(s.code,{children:"export type ..."})," you now need typescript ",(0,i.jsx)(s.code,{children:"3.8.0"})," or newer."]}),"\n",(0,i.jsx)(s.h3,{id:"graphql-replication-will-run-a-schema-validation-of-incoming-data",children:"GraphQL replication will run a schema validation of incoming data"}),"\n",(0,i.jsx)(s.p,{children:"In dev-mode, the GraphQL-replication will run a schema validation of each document that comes from the server before it is saved to the database."}),"\n",(0,i.jsx)(s.h2,{id:"internal-and-other-changes",children:"Internal and other changes"}),"\n",(0,i.jsx)(s.p,{children:"I refactored much internal stuff and moved much code out of the core into the specific plugins."}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:["Renamed ",(0,i.jsx)(s.code,{children:"RxSchema.jsonID"})," to ",(0,i.jsx)(s.code,{children:"RxSchema.jsonSchema"})]}),"\n",(0,i.jsx)(s.li,{children:"Moved remaining stuff of leader-election from core into the plugin"}),"\n",(0,i.jsxs)(s.li,{children:["Merged multiple internal databases for metadata into one ",(0,i.jsx)(s.code,{children:"internalStore"})]}),"\n",(0,i.jsx)(s.li,{children:"Removed many runtime type checks that now should be covered by typescript in buildtime"}),"\n",(0,i.jsx)(s.li,{children:"The GraphQL replication is now out of beta mode"}),"\n",(0,i.jsxs)(s.li,{children:["Removed documentation examples for ",(0,i.jsx)(s.code,{children:"require()"})," CommonJS loading"]}),"\n",(0,i.jsxs)(s.li,{children:["Removed ",(0,i.jsx)(s.code,{children:"RxCollection.docChanges$()"})," because all events are from the docs"]}),"\n"]}),"\n",(0,i.jsx)(s.h2,{id:"help-wanted",children:"Help wanted"}),"\n",(0,i.jsx)(s.p,{children:"RxDB is an open source project an heavily relies on the contribution of its users. There are some things that must be done, but I have no time for them."}),"\n",(0,i.jsx)(s.h3,{id:"refactor-data-migrator",children:"Refactor data-migrator"}),"\n",(0,i.jsx)(s.p,{children:"The current implementation has some flaws and should be completely rewritten."}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsx)(s.li,{children:"It does not use pouchdb's bulkDocs which is much faster"}),"\n",(0,i.jsx)(s.li,{children:"It could have been written without rxjs and with less code that is easier to understand"}),"\n",(0,i.jsx)(s.li,{children:"It does not migrate the revisions of documents which causes a problem when replication is used"}),"\n"]}),"\n",(0,i.jsx)(s.h3,{id:"add-e2e-tests-to-the-react-example",children:"Add e2e tests to the react example"}),"\n",(0,i.jsxs)(s.p,{children:["The ",(0,i.jsx)(s.a,{href:"https://github.com/pubkey/rxdb/tree/master/examples/react",children:"react example"})," has no end-to-end tests which is why the CI does not ensure that it works all the time. We should add some basic tests like we did for the other example projects."]}),"\n",(0,i.jsx)(s.h3,{id:"fix-pouchdb-bug-so-we-can-upgrade-pouchdb-find",children:"Fix pouchdb bug so we can upgrade pouchdb-find"}),"\n",(0,i.jsxs)(s.p,{children:["There is a ",(0,i.jsx)(s.a,{href:"https://github.com/pouchdb/pouchdb/issues/7810",children:"bug in pouchdb"})," that prevents the upgrade of ",(0,i.jsx)(s.code,{children:"pouchdb-find"}),". This is why RxDB relies on an old version of ",(0,i.jsx)(s.code,{children:"pouchdb-find"})," that also requires different sub-dependencies. This increases the build size a lot because for example we ship multiple version of ",(0,i.jsx)(s.code,{children:"spark-md5"})," and others."]}),"\n",(0,i.jsx)(s.h2,{id:"about-the-future-of-rxdb",children:"About the future of RxDB"}),"\n",(0,i.jsxs)(s.p,{children:["At the moment RxDB is a realtime database based on pouchdb. In the future I want RxDB to be a wrapper around pull-based databases that also works with other source-dbs like mongoDB or PostgreSQL. As a start I defined the ",(0,i.jsx)(s.code,{children:"RxStorage"})," interface and created a ",(0,i.jsx)(s.code,{children:"RxStoragePouchdb"})," class that implements it and contains all pouchdb-specific logic. I want to move every direct storage usage into that interface so that later we can create other implementations of it for other source databases."]})]})}function h(e={}){const{wrapper:s}={...(0,a.R)(),...e.components};return s?(0,i.jsx)(s,{...e,children:(0,i.jsx)(c,{...e})}):c(e)}},8453(e,s,n){n.d(s,{R:()=>o,x:()=>t});var r=n(6540);const i={},a=r.createContext(i);function o(e){const s=r.useContext(a);return r.useMemo(function(){return"function"==typeof e?e(s):{...s,...e}},[s,e])}function t(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:o(e.components),r.createElement(a.Provider,{value:s},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/1db64337.7448d5c4.js b/docs/assets/js/1db64337.7448d5c4.js
deleted file mode 100644
index 25d264f5d65..00000000000
--- a/docs/assets/js/1db64337.7448d5c4.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[8413],{6471(e,t,a){a.r(t),a.d(t,{assets:()=>m,contentTitle:()=>y,default:()=>x,frontMatter:()=>b,metadata:()=>r,toc:()=>g});const r=JSON.parse('{"id":"overview","title":"RxDB Docs","description":"RxDB Documentation Overview","source":"@site/docs/overview.md","sourceDirName":".","slug":"/overview.html","permalink":"/overview.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"RxDB Docs","slug":"overview.html","description":"RxDB Documentation Overview"},"sidebar":"tutorialSidebar","next":{"title":"\ud83d\ude80 Quickstart","permalink":"/quickstart.html"}}');var l=a(4848),i=a(8453),o=a(7810);const c={tutorialSidebar:[{type:"category",label:"Getting Started",collapsed:!1,items:[{type:"doc",id:"overview",label:"Overview"},"quickstart","install","dev-mode","tutorials/typescript"]},{type:"category",label:"Core Entities",collapsed:!0,items:[{type:"doc",id:"rx-database",label:"RxDatabase"},{type:"doc",id:"rx-schema",label:"RxSchema"},{type:"doc",id:"rx-collection",label:"RxCollection"},{type:"doc",id:"rx-document",label:"RxDocument"},{type:"doc",id:"rx-query",label:"RxQuery"}]},{type:"category",label:"\ud83d\udcbe Storages",items:[{type:"doc",id:"rx-storage",label:"RxStorage Overview"},{type:"doc",id:"rx-storage-localstorage",label:"LocalStorage (Browser)"},{type:"doc",id:"rx-storage-indexeddb",label:"IndexedDB \ud83d\udc51 (Browser, Capacitor)"},{type:"doc",id:"rx-storage-opfs",label:"OPFS \ud83d\udc51 (Browser)"},{type:"doc",id:"rx-storage-memory",label:"Memory"},{type:"doc",id:"rx-storage-filesystem-node",label:"Filesystem Node \ud83d\udc51 (Node.js)"},{type:"doc",id:"rx-storage-sqlite",label:"SQLite (Capacitor, React-Native, Expo, Tauri, Electron, Node.js)"},{type:"category",label:"Third Party Storages",items:[{type:"doc",id:"rx-storage-dexie",label:"Dexie.js"},{type:"doc",id:"rx-storage-mongodb",label:"MongoDB"},{type:"doc",id:"rx-storage-denokv",label:"DenoKV"},{type:"doc",id:"rx-storage-foundationdb",label:"FoundationDB"}]}]},{type:"category",label:"Storage Wrappers",items:[{type:"doc",id:"schema-validation",label:"Schema Validation"},{type:"doc",id:"encryption",label:"Encryption"},{type:"doc",id:"key-compression",label:"Key Compression"},{type:"doc",id:"logger",label:"Logger \ud83d\udc51"},{type:"doc",id:"rx-storage-remote",label:"Remote RxStorage"},{type:"doc",id:"rx-storage-worker",label:"Worker RxStorage \ud83d\udc51"},{type:"doc",id:"rx-storage-shared-worker",label:"SharedWorker RxStorage \ud83d\udc51"},{type:"doc",id:"rx-storage-memory-mapped",label:"Memory Mapped RxStorage \ud83d\udc51"},{type:"doc",id:"rx-storage-sharding",label:"Sharding \ud83d\udc51"},{type:"doc",id:"rx-storage-localstorage-meta-optimizer",label:"Localstorage Meta Optimizer \ud83d\udc51"},{type:"doc",id:"electron",label:"Electron"}]},{type:"category",label:"\ud83d\udd04 Replication",items:[{type:"doc",id:"replication",label:"\u2699\ufe0f Sync Engine"},{type:"doc",id:"replication-http",label:"HTTP Replication"},{type:"doc",id:"replication-server",label:"RxServer Replication"},{type:"doc",id:"replication-graphql",label:"GraphQL Replication"},{type:"doc",id:"replication-websocket",label:"WebSocket Replication"},{type:"doc",id:"replication-couchdb",label:"CouchDB Replication"},{type:"doc",id:"replication-webrtc",label:"WebRTC P2P Replication"},{type:"doc",id:"replication-firestore",label:"Firestore Replication"},{type:"doc",id:"replication-mongodb",label:"MongoDB Replication"},{type:"doc",id:"replication-supabase",label:"Supabase Replication"},{type:"doc",id:"replication-nats",label:"NATS Replication"},{type:"doc",id:"replication-appwrite",label:"Appwrite Replication"}]},{type:"category",label:"Server",items:[{type:"doc",id:"rx-server",label:"RxServer"},{type:"doc",id:"rx-server-scaling",label:"RxServer Scaling"}]},{type:"category",label:"How RxDB works",items:[{type:"doc",id:"transactions-conflicts-revisions",label:"Transactions Conflicts Revisions"},{type:"doc",id:"query-cache",label:"Query Cache"},{type:"doc",id:"plugins",label:"Creating Plugins"},{type:"doc",id:"errors",label:"Errors"}]},{type:"category",label:"Advanced Features",items:[{type:"category",label:"Migration",items:[{type:"doc",id:"migration-schema",label:"Schema Migration"},{type:"doc",id:"migration-storage",label:"Storage Migration"}]},{type:"doc",id:"rx-attachment",label:"Attachments"},{type:"doc",id:"rx-pipeline",label:"RxPipelines"},{type:"doc",id:"reactivity",label:"Custom Reactivity"},{type:"doc",id:"rx-state",label:"RxState"},{type:"doc",id:"rx-local-document",label:"Local Documents"},{type:"doc",id:"cleanup",label:"Cleanup"},{type:"doc",id:"backup",label:"Backup"},{type:"doc",id:"leader-election",label:"Leader Election"},{type:"doc",id:"middleware",label:"Middleware"},{type:"doc",id:"crdt",label:"CRDT"},{type:"doc",id:"population",label:"Population"},{type:"doc",id:"orm",label:"ORM"},{type:"doc",id:"fulltext-search",label:"Fulltext Search \ud83d\udc51"},{type:"doc",id:"articles/javascript-vector-database",label:"Vector Database"},{type:"doc",id:"query-optimizer",label:"Query Optimizer \ud83d\udc51"},{type:"doc",id:"third-party-plugins",label:"Third Party Plugins"}]},{type:"category",label:"Integrations",items:[{type:"doc",id:"react",label:"React"},{type:"link",label:"TanStack DB",href:"https://tanstack.com/db/latest/docs/collections/rxdb-collection",customProps:{target:"_blank"}}]},{type:"category",label:"Performance",items:[{type:"doc",id:"rx-storage-performance",label:"RxStorage Performance"},{type:"doc",id:"nosql-performance-tips",label:"NoSQL Performance Tips"},{type:"doc",id:"slow-indexeddb",label:"Slow IndexedDB"},{type:"doc",id:"articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm",label:"LocalStorage vs. IndexedDB vs. Cookies vs. OPFS vs. WASM-SQLite"}]},{type:"category",label:"Releases",items:[{type:"doc",id:"releases/17.0.0",label:"17.0.0"},{type:"doc",id:"releases/16.0.0",label:"16.0.0"},{type:"doc",id:"releases/15.0.0",label:"15.0.0"},{type:"doc",id:"releases/14.0.0",label:"14.0.0"},{type:"doc",id:"releases/13.0.0",label:"13.0.0"},{type:"doc",id:"releases/12.0.0",label:"12.0.0"},{type:"doc",id:"releases/11.0.0",label:"11.0.0"},{type:"doc",id:"releases/10.0.0",label:"10.0.0"},{type:"doc",id:"releases/9.0.0",label:"9.0.0"},{type:"doc",id:"releases/8.0.0",label:"8.0.0"}]},{type:"category",label:"Articles",items:["articles/browser-database","articles/local-first-future","why-nosql","downsides-of-offline-first","nodejs-database","offline-first","react-native-database","articles/angular-database","articles/browser-storage","articles/data-base","articles/embedded-database","articles/flutter-database","articles/frontend-database","articles/in-memory-nosql-database","articles/ionic-database","articles/ionic-storage","articles/json-database","articles/websockets-sse-polling-webrtc-webtransport","articles/localstorage","articles/mobile-database","articles/progressive-web-app-database","articles/react-database","articles/realtime-database","articles/angular-indexeddb","articles/react-indexeddb","capacitor-database","alternatives","electron-database","articles/optimistic-ui","articles/local-database","articles/react-native-encryption","articles/vue-database","articles/vue-indexeddb","articles/jquery-database","articles/firestore-alternative","articles/firebase-realtime-database-alternative","articles/offline-database","articles/zero-latency-local-first","articles/indexeddb-max-storage-limit","articles/json-based-database","articles/reactjs-storage"]},"contribute",{type:"category",label:"Contact",items:[{type:"link",label:"Consulting",href:"/consulting/"},{type:"link",label:"Discord",href:"/chat/",customProps:{target:"_blank"}},{type:"link",label:"LinkedIn",href:"https://www.linkedin.com/company/rxdb/"}]}]};var s=a(8342);function d(e){const t=(0,l.jsx)("div",{className:"premium-block hover-shadow-middle bg-gradient-right-top",children:(0,l.jsxs)("div",{className:"premium-block-inner",children:[(0,l.jsx)("h4",{style:{textDecoration:"none"},children:(0,s.Z2)(e.title)}),(0,l.jsx)("p",{children:e.text})]})});return e.href?(0,l.jsx)("a",{href:e.href,target:e.target,style:{textDecoration:"none"},children:t}):t}function n(){return(0,l.jsx)(l.Fragment,{children:c.tutorialSidebar.map(e=>{if("category"===e.type&&"articles"!==e.label.toLowerCase()){const t=e.type+"--"+e.label;return(0,l.jsxs)("div",{children:[(0,l.jsx)("br",{}),(0,l.jsx)("br",{}),(0,l.jsx)("h2",{style:{width:"100%"},children:e.label}),(0,l.jsx)("div",{className:"premium-blocks",children:e.items.map(e=>{if("string"==typeof e)return(0,l.jsx)(d,{title:p(e),href:"./"+e+".html"},e);if("category"===e.type)return e.items.map(e=>(0,l.jsx)(d,{title:p(e.label),href:"link"===e.type?e.href:"./"+e.id+".html",target:"link"===e.type?"_blank":void 0},e.id));{const t="link"===e.type?e.label:e.id;return(0,l.jsx)(d,{title:p(e.label),href:"link"===e.type?e.href:"./"+e.id+".html",target:"link"===e.type?"_blank":void 0},t)}})},e.label)]},t)}})})}function p(e){const t=e.split("/");return(0,o.dG)(t)}const b={title:"RxDB Docs",slug:"overview.html",description:"RxDB Documentation Overview"},y="RxDB Documentation",m={},g=[];function u(e){const t={h1:"h1",header:"header",...(0,i.R)(),...e.components};return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(t.header,{children:(0,l.jsx)(t.h1,{id:"rxdb-documentation",children:"RxDB Documentation"})}),"\n",(0,l.jsx)(n,{})]})}function x(e={}){const{wrapper:t}={...(0,i.R)(),...e.components};return t?(0,l.jsx)(t,{...e,children:(0,l.jsx)(u,{...e})}):u(e)}},8342(e,t,a){a.d(t,{L$:()=>o,Z2:()=>i,zs:()=>l});var r="abcdefghijklmnopqrstuvwxyz";function l(e=10){for(var t="",a=0;ao,x:()=>c});var r=a(6540);const l={},i=r.createContext(l);function o(e){const t=r.useContext(i);return r.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function c(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(l):e.components||l:o(e.components),r.createElement(i.Provider,{value:t},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/1e0353aa.bd262216.js b/docs/assets/js/1e0353aa.bd262216.js
deleted file mode 100644
index c6316ac1149..00000000000
--- a/docs/assets/js/1e0353aa.bd262216.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[8588],{2219(e,r,s){s.r(r),s.d(r,{assets:()=>l,contentTitle:()=>t,default:()=>c,frontMatter:()=>i,metadata:()=>o,toc:()=>d});const o=JSON.parse('{"id":"rx-storage","title":"\u2699\ufe0f RxStorage Layer - Choose the Perfect RxDB Storage for Every Use Case","description":"Discover how RxDB\'s modular RxStorage lets you swap engines and unlock top performance, no matter the environment or use case.","source":"@site/docs/rx-storage.md","sourceDirName":".","slug":"/rx-storage.html","permalink":"/rx-storage.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"\u2699\ufe0f RxStorage Layer - Choose the Perfect RxDB Storage for Every Use Case","slug":"rx-storage.html","description":"Discover how RxDB\'s modular RxStorage lets you swap engines and unlock top performance, no matter the environment or use case."},"sidebar":"tutorialSidebar","previous":{"title":"RxQuery","permalink":"/rx-query.html"},"next":{"title":"LocalStorage (Browser)","permalink":"/rx-storage-localstorage.html"}}');var a=s(4848),n=s(8453);const i={title:"\u2699\ufe0f RxStorage Layer - Choose the Perfect RxDB Storage for Every Use Case",slug:"rx-storage.html",description:"Discover how RxDB's modular RxStorage lets you swap engines and unlock top performance, no matter the environment or use case."},t="RxStorage",l={},d=[{value:"Quick Recommendations",id:"quick-recommendations",level:2},{value:"Configuration Examples",id:"configuration-examples",level:2},{value:"Storing much data in a browser securely",id:"storing-much-data-in-a-browser-securely",level:3},{value:"High query Load",id:"high-query-load",level:3},{value:"Low Latency on Writes and Simple Reads",id:"low-latency-on-writes-and-simple-reads",level:3},{value:"All RxStorage Implementations List",id:"all-rxstorage-implementations-list",level:2},{value:"Memory",id:"memory",level:3},{value:"LocalStorage",id:"localstorage",level:3},{value:"\ud83d\udc51 IndexedDB",id:"-indexeddb",level:3},{value:"\ud83d\udc51 OPFS",id:"-opfs",level:3},{value:"\ud83d\udc51 Filesystem Node",id:"-filesystem-node",level:3},{value:"Storage Wrapper Plugins",id:"storage-wrapper-plugins",level:3},{value:"\ud83d\udc51 Worker",id:"-worker",level:4},{value:"\ud83d\udc51 SharedWorker",id:"-sharedworker",level:4},{value:"Remote",id:"remote",level:4},{value:"\ud83d\udc51 Sharding",id:"-sharding",level:4},{value:"\ud83d\udc51 Memory Mapped",id:"-memory-mapped",level:4},{value:"\ud83d\udc51 Localstorage Meta Optimizer",id:"-localstorage-meta-optimizer",level:4},{value:"Electron IpcRenderer & IpcMain",id:"electron-ipcrenderer--ipcmain",level:4},{value:"Third Party based Storages",id:"third-party-based-storages",level:3},{value:"\ud83d\udc51 SQLite",id:"-sqlite",level:4},{value:"Dexie.js",id:"dexiejs",level:4},{value:"MongoDB",id:"mongodb",level:4},{value:"DenoKV",id:"denokv",level:4},{value:"FoundationDB",id:"foundationdb",level:4}];function h(e){const r={a:"a",code:"code",figure:"figure",h1:"h1",h2:"h2",h3:"h3",h4:"h4",header:"header",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...(0,n.R)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(r.header,{children:(0,a.jsx)(r.h1,{id:"rxstorage",children:"RxStorage"})}),"\n",(0,a.jsxs)(r.p,{children:["RxDB is not a self contained database. Instead the data is stored in an implementation of the ",(0,a.jsx)(r.a,{href:"https://github.com/pubkey/rxdb/blob/master/src/types/rx-storage.interface.d.ts",children:"RxStorage interface"}),". This allows you to ",(0,a.jsx)(r.strong,{children:"switch out"})," the underlying data layer, depending on the JavaScript environment and performance requirements. For example you can use the SQLite storage for a capacitor app or you can use the LocalStorage RxStorage to store data in localstorage in a browser based application. There are also storages for other JavaScript runtimes like Node.js, React-Native, NativeScript and more."]}),"\n",(0,a.jsx)(r.h2,{id:"quick-recommendations",children:"Quick Recommendations"}),"\n",(0,a.jsxs)(r.ul,{children:["\n",(0,a.jsxs)(r.li,{children:["In the Browser: Use the ",(0,a.jsx)(r.a,{href:"/rx-storage-localstorage.html",children:"LocalStorage"})," storage for simple setup and small build size. For bigger datasets, use either the ",(0,a.jsx)(r.a,{href:"/rx-storage-dexie.html",children:"dexie.js storage"})," (free) or the ",(0,a.jsx)(r.a,{href:"/rx-storage-indexeddb.html",children:"IndexedDB RxStorage"})," if you have ",(0,a.jsx)(r.a,{href:"/premium/",children:"\ud83d\udc51 premium access"})," which is a bit faster and has a smaller build size."]}),"\n",(0,a.jsxs)(r.li,{children:["In ",(0,a.jsx)(r.a,{href:"/electron-database.html",children:"Electron"})," and ",(0,a.jsx)(r.a,{href:"/react-native-database.html",children:"ReactNative"}),": Use the ",(0,a.jsx)(r.a,{href:"/rx-storage-sqlite.html",children:"SQLite RxStorage"})," if you have ",(0,a.jsx)(r.a,{href:"/premium/",children:"\ud83d\udc51 premium access"})," or the ",(0,a.jsx)(r.a,{href:"/rx-storage-sqlite.html",children:"trial-SQLite RxStorage"})," for tryouts."]}),"\n",(0,a.jsxs)(r.li,{children:["In Capacitor: Use the ",(0,a.jsx)(r.a,{href:"/rx-storage-sqlite.html",children:"SQLite RxStorage"})," if you have ",(0,a.jsx)(r.a,{href:"/premium/",children:"\ud83d\udc51 premium access"}),", otherwise use the ",(0,a.jsx)(r.a,{href:"/rx-storage-localstorage.html",children:"localStorage"})," storage."]}),"\n"]}),"\n",(0,a.jsx)(r.h2,{id:"configuration-examples",children:"Configuration Examples"}),"\n",(0,a.jsx)(r.p,{children:"The RxStorage layer of RxDB is very flexible. Here are some examples on how to configure more complex settings:"}),"\n",(0,a.jsx)(r.h3,{id:"storing-much-data-in-a-browser-securely",children:"Storing much data in a browser securely"}),"\n",(0,a.jsx)(r.p,{children:"Lets say you build a browser app that needs to store a big amount of data as secure as possible. Here we can use a combination of the storages (encryption, IndexedDB, compression, schema-checks) that increase security and reduce the stored data size."}),"\n",(0,a.jsxs)(r.p,{children:["We use the schema-validation on the top level to ensure schema-errors are clearly readable and do not contain ",(0,a.jsx)(r.a,{href:"/encryption.html",children:"encrypted"}),"/",(0,a.jsx)(r.a,{href:"/key-compression.html",children:"compressed"})," data. The encryption is used inside of the compression because encryption of compressed data is more efficient."]}),"\n",(0,a.jsx)(r.figure,{"data-rehype-pretty-code-figure":"",children:(0,a.jsx)(r.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,a.jsxs)(r.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,a.jsxs)(r.span,{"data-line":"",children:[(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" { wrappedValidateAjvStorage } "}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/validate-ajv'"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,a.jsxs)(r.span,{"data-line":"",children:[(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" { wrappedKeyCompressionStorage } "}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/key-compression'"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,a.jsxs)(r.span,{"data-line":"",children:[(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" { wrappedKeyEncryptionCryptoJsStorage } "}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/encryption-crypto-js'"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,a.jsxs)(r.span,{"data-line":"",children:[(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" { getRxStorageIndexedDB } "}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb-premium/plugins/storage-indexeddb'"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,a.jsx)(r.span,{"data-line":"",children:" "}),"\n",(0,a.jsxs)(r.span,{"data-line":"",children:[(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-constant)"},children:" myDatabase"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,a.jsxs)(r.span,{"data-line":"",children:[(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-function)"},children:" wrappedValidateAjvStorage"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,a.jsxs)(r.span,{"data-line":"",children:[(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-function)"},children:" wrappedKeyCompressionStorage"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,a.jsxs)(r.span,{"data-line":"",children:[(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-function)"},children:" wrappedKeyEncryptionCryptoJsStorage"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,a.jsxs)(r.span,{"data-line":"",children:[(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageIndexedDB"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"()"})]}),"\n",(0,a.jsx)(r.span,{"data-line":"",children:(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" })"})}),"\n",(0,a.jsx)(r.span,{"data-line":"",children:(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" })"})}),"\n",(0,a.jsx)(r.span,{"data-line":"",children:(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" })"})}),"\n",(0,a.jsx)(r.span,{"data-line":"",children:(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,a.jsx)(r.h3,{id:"high-query-load",children:"High query Load"}),"\n",(0,a.jsxs)(r.p,{children:["Also we can utilize a combination of storages to create a database that is optimized to run complex queries on the data really fast. Here we use the sharding storage together with the worker storage. This allows to run queries in parallel multithreading instead of a single JavaScript process. Because the worker initialization can slow down the initial page load, we also use the ",(0,a.jsx)(r.a,{href:"/rx-storage-localstorage-meta-optimizer.html",children:"localstorage-meta-optimizer"})," to improve initialization time."]}),"\n",(0,a.jsx)(r.figure,{"data-rehype-pretty-code-figure":"",children:(0,a.jsx)(r.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,a.jsxs)(r.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,a.jsxs)(r.span,{"data-line":"",children:[(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" { getRxStorageSharding } "}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb-premium/plugins/storage-sharding'"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,a.jsxs)(r.span,{"data-line":"",children:[(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" { getRxStorageWorker } "}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb-premium/plugins/storage-worker'"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,a.jsxs)(r.span,{"data-line":"",children:[(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" { getRxStorageIndexedDB } "}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb-premium/plugins/storage-indexeddb'"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,a.jsxs)(r.span,{"data-line":"",children:[(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" { getLocalstorageMetaOptimizerRxStorage } "}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb-premium/plugins/storage-localstorage-meta-optimizer'"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,a.jsx)(r.span,{"data-line":"",children:" "}),"\n",(0,a.jsxs)(r.span,{"data-line":"",children:[(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-constant)"},children:" myDatabase"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,a.jsxs)(r.span,{"data-line":"",children:[(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-function)"},children:" getLocalstorageMetaOptimizerRxStorage"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,a.jsxs)(r.span,{"data-line":"",children:[(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageSharding"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,a.jsxs)(r.span,{"data-line":"",children:[(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageWorker"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,a.jsxs)(r.span,{"data-line":"",children:[(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" workerInput"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'path/to/worker.js'"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,a.jsxs)(r.span,{"data-line":"",children:[(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageIndexedDB"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"()"})]}),"\n",(0,a.jsx)(r.span,{"data-line":"",children:(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" })"})}),"\n",(0,a.jsx)(r.span,{"data-line":"",children:(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" })"})}),"\n",(0,a.jsx)(r.span,{"data-line":"",children:(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" })"})}),"\n",(0,a.jsx)(r.span,{"data-line":"",children:(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,a.jsx)(r.h3,{id:"low-latency-on-writes-and-simple-reads",children:"Low Latency on Writes and Simple Reads"}),"\n",(0,a.jsx)(r.p,{children:"Here we create a storage configuration that is optimized to have a low latency on simple reads and writes. It uses the memory-mapped storage to fetch and store data in memory. For persistence the OPFS storage is used in the main thread which has lower latency for fetching big chunks of data when at initialization the data is loaded from disc into memory. We do not use workers because sending data from the main thread to workers and backwards would increase the latency."}),"\n",(0,a.jsx)(r.figure,{"data-rehype-pretty-code-figure":"",children:(0,a.jsx)(r.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,a.jsxs)(r.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,a.jsxs)(r.span,{"data-line":"",children:[(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" { getLocalstorageMetaOptimizerRxStorage } "}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb-premium/plugins/storage-localstorage-meta-optimizer'"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,a.jsxs)(r.span,{"data-line":"",children:[(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" { getMemoryMappedRxStorage } "}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb-premium/plugins/storage-memory-mapped'"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,a.jsxs)(r.span,{"data-line":"",children:[(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" { getRxStorageOPFSMainThread } "}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb-premium/plugins/storage-worker'"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,a.jsx)(r.span,{"data-line":"",children:" "}),"\n",(0,a.jsx)(r.span,{"data-line":"",children:" "}),"\n",(0,a.jsxs)(r.span,{"data-line":"",children:[(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-constant)"},children:" myDatabase"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,a.jsxs)(r.span,{"data-line":"",children:[(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-function)"},children:" getLocalstorageMetaOptimizerRxStorage"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,a.jsxs)(r.span,{"data-line":"",children:[(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-function)"},children:" getMemoryMappedRxStorage"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,a.jsxs)(r.span,{"data-line":"",children:[(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageOPFSMainThread"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"()"})]}),"\n",(0,a.jsx)(r.span,{"data-line":"",children:(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" })"})}),"\n",(0,a.jsx)(r.span,{"data-line":"",children:(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" })"})}),"\n",(0,a.jsx)(r.span,{"data-line":"",children:(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,a.jsx)(r.h2,{id:"all-rxstorage-implementations-list",children:"All RxStorage Implementations List"}),"\n",(0,a.jsx)(r.h3,{id:"memory",children:"Memory"}),"\n",(0,a.jsxs)(r.p,{children:["A storage that stores the data in as plain data in the memory of the JavaScript process. Really fast and can be used in all environments. ",(0,a.jsx)(r.a,{href:"/rx-storage-memory.html",children:"Read more"})]}),"\n",(0,a.jsx)(r.h3,{id:"localstorage",children:"LocalStorage"}),"\n",(0,a.jsxs)(r.p,{children:["The localstroage based storage stores the data inside of a browsers ",(0,a.jsx)(r.a,{href:"/articles/localstorage.html",children:"localStorage API"}),". It is the easiest to set up and has a small bundle size. ",(0,a.jsx)(r.strong,{children:"If you are new to RxDB, you should start with the LocalStorage RxStorage"}),". ",(0,a.jsx)(r.a,{href:"/rx-storage-localstorage.html",children:"Read more"})]}),"\n",(0,a.jsx)(r.h3,{id:"-indexeddb",children:"\ud83d\udc51 IndexedDB"}),"\n",(0,a.jsxs)(r.p,{children:["The IndexedDB ",(0,a.jsx)(r.code,{children:"RxStorage"})," is based on plain IndexedDB. For most use cases, this has the best performance together with the OPFS storage. ",(0,a.jsx)(r.a,{href:"/rx-storage-indexeddb.html",children:"Read more"})]}),"\n",(0,a.jsx)(r.h3,{id:"-opfs",children:"\ud83d\udc51 OPFS"}),"\n",(0,a.jsxs)(r.p,{children:["The OPFS ",(0,a.jsx)(r.code,{children:"RxStorage"})," is based on the File System Access API. This has the best performance of all other non-in-memory storage, when RxDB is used inside of a browser. ",(0,a.jsx)(r.a,{href:"/rx-storage-opfs.html",children:"Read more"})]}),"\n",(0,a.jsx)(r.h3,{id:"-filesystem-node",children:"\ud83d\udc51 Filesystem Node"}),"\n",(0,a.jsxs)(r.p,{children:["The Filesystem Node storage is best suited when you use RxDB in a Node.js process or with ",(0,a.jsx)(r.a,{href:"/electron.html",children:"electron.js"}),". ",(0,a.jsx)(r.a,{href:"/rx-storage-filesystem-node.html",children:"Read more"})]}),"\n",(0,a.jsx)(r.h3,{id:"storage-wrapper-plugins",children:"Storage Wrapper Plugins"}),"\n",(0,a.jsx)(r.h4,{id:"-worker",children:"\ud83d\udc51 Worker"}),"\n",(0,a.jsxs)(r.p,{children:["The worker RxStorage is a wrapper around any other RxStorage which allows to run the storage in a WebWorker (in browsers) or a Worker Thread (in Node.js). By doing so, you can take CPU load from the main process and move it into the worker's process which can improve the perceived performance of your application. ",(0,a.jsx)(r.a,{href:"/rx-storage-worker.html",children:"Read more"})]}),"\n",(0,a.jsx)(r.h4,{id:"-sharedworker",children:"\ud83d\udc51 SharedWorker"}),"\n",(0,a.jsxs)(r.p,{children:["The worker RxStorage is a wrapper around any other RxStorage which allows to run the storage in a SharedWorker (only in browsers). By doing so, you can take CPU load from the main process and move it into the worker's process which can improve the perceived performance of your application. ",(0,a.jsx)(r.a,{href:"/rx-storage-shared-worker.html",children:"Read more"})]}),"\n",(0,a.jsx)(r.h4,{id:"remote",children:"Remote"}),"\n",(0,a.jsxs)(r.p,{children:["The Remote RxStorage is made to use a remote storage and communicate with it over an asynchronous message channel. The remote part could be on another JavaScript process or even on a different host machine. Mostly used internally in other storages like Worker or Electron-ipc. ",(0,a.jsx)(r.a,{href:"/rx-storage-remote.html",children:"Read more"})]}),"\n",(0,a.jsx)(r.h4,{id:"-sharding",children:"\ud83d\udc51 Sharding"}),"\n",(0,a.jsxs)(r.p,{children:["On some ",(0,a.jsx)(r.code,{children:"RxStorage"})," implementations (like IndexedDB), a huge performance improvement can be done by sharding the documents into multiple database instances. With the sharding plugin you can wrap any other ",(0,a.jsx)(r.code,{children:"RxStorage"})," into a sharded storage. ",(0,a.jsx)(r.a,{href:"/rx-storage-sharding.html",children:"Read more"})]}),"\n",(0,a.jsx)(r.h4,{id:"-memory-mapped",children:"\ud83d\udc51 Memory Mapped"}),"\n",(0,a.jsxs)(r.p,{children:["The memory-mapped ",(0,a.jsx)(r.a,{href:"/rx-storage.html",children:"RxStorage"})," is a wrapper around any other RxStorage. The wrapper creates an in-memory storage that is used for query and write operations. This memory instance stores its data in an underlying storage for persistence.\nThe main reason to use this is to improve query/write performance while still having the data stored on disc. ",(0,a.jsx)(r.a,{href:"/rx-storage-memory-mapped.html",children:"Read more"})]}),"\n",(0,a.jsx)(r.h4,{id:"-localstorage-meta-optimizer",children:"\ud83d\udc51 Localstorage Meta Optimizer"}),"\n",(0,a.jsxs)(r.p,{children:["The ",(0,a.jsx)(r.a,{href:"/rx-storage.html",children:"RxStorage"})," Localstorage Meta Optimizer is a wrapper around any other RxStorage. The wrapper uses the original RxStorage for normal collection documents. But to optimize the initial page load time, it uses ",(0,a.jsx)(r.a,{href:"/articles/localstorage.html",children:"localstorage"})," to store the plain key-value metadata that RxDB needs to create databases and collections. This plugin can only be used in browsers. ",(0,a.jsx)(r.a,{href:"/rx-storage-localstorage-meta-optimizer.html",children:"Read more"})]}),"\n",(0,a.jsx)(r.h4,{id:"electron-ipcrenderer--ipcmain",children:"Electron IpcRenderer & IpcMain"}),"\n",(0,a.jsxs)(r.p,{children:["To use RxDB in ",(0,a.jsx)(r.a,{href:"/electron-database.html",children:"electron"}),", it is recommended to run the RxStorage in the main process and the RxDatabase in the renderer processes. With the rxdb electron plugin you can create a remote RxStorage and consume it from the renderer process. ",(0,a.jsx)(r.a,{href:"/electron.html",children:"Read more"})]}),"\n",(0,a.jsx)(r.h3,{id:"third-party-based-storages",children:"Third Party based Storages"}),"\n",(0,a.jsx)(r.h4,{id:"-sqlite",children:"\ud83d\udc51 SQLite"}),"\n",(0,a.jsxs)(r.p,{children:["The SQLite storage has great performance when RxDB is used on ",(0,a.jsx)(r.strong,{children:"Node.js"}),", ",(0,a.jsx)(r.strong,{children:"Electron"}),", ",(0,a.jsx)(r.strong,{children:"React Native"}),", ",(0,a.jsx)(r.strong,{children:"Cordova"})," or ",(0,a.jsx)(r.strong,{children:"Capacitor"}),". ",(0,a.jsx)(r.a,{href:"/rx-storage-sqlite.html",children:"Read more"})]}),"\n",(0,a.jsx)(r.h4,{id:"dexiejs",children:"Dexie.js"}),"\n",(0,a.jsxs)(r.p,{children:["The Dexie.js based storage is based on the Dexie.js IndexedDB wrapper library. ",(0,a.jsx)(r.a,{href:"/rx-storage-dexie.html",children:"Read more"})]}),"\n",(0,a.jsx)(r.h4,{id:"mongodb",children:"MongoDB"}),"\n",(0,a.jsxs)(r.p,{children:["To use RxDB on the server side, the MongoDB RxStorage provides a way of having a secure, scalable and performant storage based on the popular MongoDB NoSQL database ",(0,a.jsx)(r.a,{href:"/rx-storage-mongodb.html",children:"Read more"})]}),"\n",(0,a.jsx)(r.h4,{id:"denokv",children:"DenoKV"}),"\n",(0,a.jsxs)(r.p,{children:["To use RxDB in Deno. The DenoKV RxStorage provides a way of having a secure, scalable and performant storage based on the Deno Key Value Store. ",(0,a.jsx)(r.a,{href:"/rx-storage-denokv.html",children:"Read more"})]}),"\n",(0,a.jsx)(r.h4,{id:"foundationdb",children:"FoundationDB"}),"\n",(0,a.jsxs)(r.p,{children:["To use RxDB on the server side, the FoundationDB RxStorage provides a way of having a secure, fault-tolerant and performant storage. ",(0,a.jsx)(r.a,{href:"/rx-storage-foundationdb.html",children:"Read more"})]})]})}function c(e={}){const{wrapper:r}={...(0,n.R)(),...e.components};return r?(0,a.jsx)(r,{...e,children:(0,a.jsx)(h,{...e})}):h(e)}},8453(e,r,s){s.d(r,{R:()=>i,x:()=>t});var o=s(6540);const a={},n=o.createContext(a);function i(e){const r=o.useContext(n);return o.useMemo(function(){return"function"==typeof e?e(r):{...r,...e}},[r,e])}function t(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:i(e.components),o.createElement(n.Provider,{value:r},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/1f391b9e.825d8c20.js b/docs/assets/js/1f391b9e.825d8c20.js
deleted file mode 100644
index 80daef6114e..00000000000
--- a/docs/assets/js/1f391b9e.825d8c20.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[6061],{7973(e,a,t){t.r(a),t.d(a,{default:()=>p});t(6540);var s=t(4164),d=t(5500),r=t(7559),i=t(8711),l=t(7910),n=t(7763),c=t(6896),o=t(2153);const m="mdxPageWrapper_j9I6";var x=t(4848);function p(e){const{content:a}=e,{metadata:t,assets:p}=a,{title:g,editUrl:h,description:j,frontMatter:A,lastUpdatedBy:v,lastUpdatedAt:u}=t,{keywords:_,wrapperClassName:b,hide_table_of_contents:w}=A,f=p.image??A.image,y=!!(h||u||v);return(0,x.jsx)(d.e3,{className:(0,s.A)(b??r.G.wrapper.mdxPages,r.G.page.mdxPage),children:(0,x.jsxs)(i.A,{children:[(0,x.jsx)(d.be,{title:g,description:j,keywords:_,image:f}),(0,x.jsx)("main",{className:"container container--fluid margin-vert--lg",children:(0,x.jsxs)("div",{className:(0,s.A)("row",m),children:[(0,x.jsxs)("div",{className:(0,s.A)("col",!w&&"col--8"),children:[(0,x.jsx)(c.A,{metadata:t}),(0,x.jsx)("article",{children:(0,x.jsx)(l.A,{children:(0,x.jsx)(a,{})})}),y&&(0,x.jsx)(o.A,{className:(0,s.A)("margin-top--sm",r.G.pages.pageFooterEditMetaRow),editUrl:h,lastUpdatedAt:u,lastUpdatedBy:v})]}),!w&&a.toc.length>0&&(0,x.jsx)("div",{className:"col col--2",children:(0,x.jsx)(n.A,{toc:a.toc,minHeadingLevel:A.toc_min_heading_level,maxHeadingLevel:A.toc_max_heading_level})})]})})]})})}},9057(e,a,t){t.d(a,{A:()=>n});var s=t(6540),d=t(8759),r=t(3230),i=t(8601),l=t(4848);const n={...d.A,code:function(e){return void 0!==e.children&&s.Children.toArray(e.children).every(e=>"string"==typeof e&&!e.includes("\n"))?(0,l.jsx)(r.A,{...e}):(0,l.jsx)("code",{...e})},pre:i.A}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/21fa2740.44a7d1df.js b/docs/assets/js/21fa2740.44a7d1df.js
deleted file mode 100644
index 76d3292bade..00000000000
--- a/docs/assets/js/21fa2740.44a7d1df.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[5694],{8351(e,n,r){r.r(n),r.d(n,{assets:()=>l,contentTitle:()=>a,default:()=>c,frontMatter:()=>o,metadata:()=>t,toc:()=>d});const t=JSON.parse('{"id":"releases/15.0.0","title":"RxDB 15.0.0 - Major Migration Overhaul","description":"Discover RxDB 15.0.0, featuring new migration strategies, replication improvements, and lightning-fast performance to supercharge your app.","source":"@site/docs/releases/15.0.0.md","sourceDirName":"releases","slug":"/releases/15.0.0.html","permalink":"/releases/15.0.0.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"RxDB 15.0.0 - Major Migration Overhaul","slug":"15.0.0.html","description":"Discover RxDB 15.0.0, featuring new migration strategies, replication improvements, and lightning-fast performance to supercharge your app."},"sidebar":"tutorialSidebar","previous":{"title":"16.0.0","permalink":"/releases/16.0.0.html"},"next":{"title":"14.0.0","permalink":"/releases/14.0.0.html"}}');var i=r(4848),s=r(8453);const o={title:"RxDB 15.0.0 - Major Migration Overhaul",slug:"15.0.0.html",description:"Discover RxDB 15.0.0, featuring new migration strategies, replication improvements, and lightning-fast performance to supercharge your app."},a="15.0.0",l={},d=[{value:"LinkedIn",id:"linkedin",level:2},{value:"Performance",id:"performance",level:2},{value:"Replication",id:"replication",level:2},{value:"Rewrite schema version migration",id:"rewrite-schema-version-migration",level:2},{value:"Set eventReduce:true as default",id:"set-eventreducetrue-as-default",level:2},{value:"Use crypto.subtle.digest for hashing",id:"use-cryptosubtledigest-for-hashing",level:2},{value:"Fix attachment hashing",id:"fix-attachment-hashing",level:2},{value:"Requires at least typescript version 5.0.0",id:"requires-at-least-typescript-version-500",level:2},{value:"Require string based $regex",id:"require-string-based-regex",level:2},{value:"Refactor dexie.js RxStorage",id:"refactor-dexiejs-rxstorage",level:2},{value:"RxLocalDocument.$ emits a document instance, not the plain data",id:"rxlocaldocument-emits-a-document-instance-not-the-plain-data",level:2},{value:"Fix return type of .bulkUpsert",id:"fix-return-type-of-bulkupsert",level:2},{value:"Add dev-mode check for disallowed $ref fields",id:"add-dev-mode-check-for-disallowed-ref-fields",level:2},{value:"Improve RxDocument property access performance",id:"improve-rxdocument-property-access-performance",level:2},{value:"Add deno support",id:"add-deno-support",level:2},{value:"Memory RxStorage",id:"memory-rxstorage",level:2},{value:"Memory-Synced storage no longer supports replication+migration",id:"memory-synced-storage-no-longer-supports-replicationmigration",level:2},{value:"Added Logger Plugin",id:"added-logger-plugin",level:2},{value:"Documentation is now served by docusaurus",id:"documentation-is-now-served-by-docusaurus",level:2},{value:"Replaced modfijs with mingo package",id:"replaced-modfijs-with-mingo-package",level:2},{value:"Changes to the RxStorage interface",id:"changes-to-the-rxstorage-interface",level:2},{value:"Other changes",id:"other-changes",level:2},{value:"Changes to the \ud83d\udc51 Premium Plugins",id:"changes-to-the--premium-plugins",level:2},{value:"storage-migration plugin moved from premium to open-core",id:"storage-migration-plugin-moved-from-premium-to-open-core",level:3},{value:"Changes in pricing",id:"changes-in-pricing",level:3},{value:"Added perpetual license option",id:"added-perpetual-license-option",level:3},{value:"You can help!",id:"you-can-help",level:2}];function h(e){const n={a:"a",code:"code",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",p:"p",strong:"strong",ul:"ul",...(0,s.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.header,{children:(0,i.jsx)(n.h1,{id:"1500",children:"15.0.0"})}),"\n",(0,i.jsxs)(n.p,{children:["The release ",(0,i.jsx)(n.a,{href:"https://rxdb.info/releases/15.0.0.html",children:"15.0.0"})," is used for major refactorings in the migration plugins and performance improvements of the RxStorage implementations."]}),"\n",(0,i.jsx)(n.h2,{id:"linkedin",children:"LinkedIn"}),"\n",(0,i.jsxs)(n.p,{children:["Stay connected with the latest updates and network with professionals in the RxDB community by following RxDB's ",(0,i.jsx)(n.a,{href:"https://www.linkedin.com/company/rxdb",children:"official LinkedIn page"}),"!"]}),"\n",(0,i.jsx)(n.h2,{id:"performance",children:"Performance"}),"\n",(0,i.jsxs)(n.p,{children:["Performance has improved a lot. Much work has been done to reduce the CPU footprint of RxDB so that when writes and reads are performed on the database, the JavaScript process can start updating the UI much faster.\nAlso there have been a lot of improvements to the ",(0,i.jsx)(n.a,{href:"/rx-storage-indexeddb.html",children:"IndexedDB RxStorage"})," which now runs in a ",(0,i.jsx)(n.strong,{children:"Write-Ahead Logging (WAL)"})," mode which makes write operations about 4x as fast.\nThe whole RxStorage interface has been optimized so that it has to run less operations which improves overall performance. ",(0,i.jsx)(n.a,{href:"/rx-storage-performance.html",children:"Read more"})]}),"\n",(0,i.jsx)("a",{href:"../rx-storage-performance.html",children:(0,i.jsx)("p",{align:"center",children:(0,i.jsx)("img",{src:"../files/rx-storage-performance-browser.png",alt:"RxStorage performance - browser",width:"600"})})}),"\n",(0,i.jsx)(n.h2,{id:"replication",children:"Replication"}),"\n",(0,i.jsxs)(n.p,{children:["Replication options (like url), are no longer used as replication state identifier. Changing the url without having to restart the replication, is now possible. This is useful if you change your replication url (like ",(0,i.jsx)(n.code,{children:"path/v3/"}),") on schema changes and you do not want to restart the replication from scratch. You can even swap the replication plugin while still keeping the replication state. The ",(0,i.jsx)(n.a,{href:"/replication-couchdb.html",children:"couchdb replication"})," now also requires an ",(0,i.jsx)(n.code,{children:"replicationIdentifier"}),"."]}),"\n",(0,i.jsxs)(n.p,{children:["The replication meta data is now also compressed when the ",(0,i.jsx)(n.a,{href:"/key-compression.html",children:"KeyCompression Plugin"})," is used."]}),"\n",(0,i.jsx)(n.p,{children:"The replication-protocol does now support attachment replication. This clears the path to add the attachment replication to the other RxDB replication plugins."}),"\n",(0,i.jsx)(n.h2,{id:"rewrite-schema-version-migration",children:"Rewrite schema version migration"}),"\n",(0,i.jsxs)(n.p,{children:["The ",(0,i.jsx)(n.a,{href:"/migration-schema.html",children:"schema migration plugin"})," has been fully rewritten from scratch."]}),"\n",(0,i.jsx)(n.p,{children:"From now on it internally uses the replication protocol to do a one-time replication from the old collection to the new one. This makes the code more simple and ensures that canceled migrations (when the user closes the browser), can continue from the correct position."}),"\n",(0,i.jsxs)(n.p,{children:["Replication states from the ",(0,i.jsx)(n.a,{href:"/replication.html",children:"RxReplication"})," are also migrated together with the normal data.\nPreviously a migration dropped the replication state which required a new replication of all data from scratch, even if the\nclient already had the same data as the server. Now the ",(0,i.jsx)(n.code,{children:"assumedMasterState"})," and ",(0,i.jsx)(n.code,{children:"checkpoint"})," are also migrated so that\nthe replication will continue from where it was before the migration has run."]}),"\n",(0,i.jsx)(n.p,{children:"Also it now handles multi-instance runtimes correctly. If multiple browser tabs are open, only one of them (per RxCollection) will run the migration.\nMigration state events are propagated across browser tabs."}),"\n",(0,i.jsxs)(n.p,{children:["Documents with ",(0,i.jsx)(n.code,{children:"_deleted: true"})," will also be migrated. This ensures that non-pushed deletes are not dropped during migrations and will\nstill be replicated if the client goes online again."]}),"\n",(0,i.jsxs)(n.h2,{id:"set-eventreducetrue-as-default",children:["Set ",(0,i.jsx)(n.code,{children:"eventReduce:true"})," as default"]}),"\n",(0,i.jsxs)(n.p,{children:["The ",(0,i.jsx)(n.a,{href:"https://github.com/pubkey/event-reduce",children:"EventReduce algorithm"})," is now enabled by default."]}),"\n",(0,i.jsxs)(n.h2,{id:"use-cryptosubtledigest-for-hashing",children:["Use ",(0,i.jsx)(n.code,{children:"crypto.subtle.digest"})," for hashing"]}),"\n",(0,i.jsxs)(n.p,{children:["Using ",(0,i.jsx)(n.code,{children:"crypto.subtle.digest"})," from the native WebCrypto API is much faster, so RxDB now uses that as a default. If the API is not available, like in React-Native, the ",(0,i.jsx)(n.a,{href:"https://github.com/unjs/ohash",children:"ohash"})," module is used instead. Also any custom ",(0,i.jsx)(n.code,{children:"hashFunction"})," can be provided when creating the ",(0,i.jsx)(n.a,{href:"/rx-database.html",children:"RxDatabase"}),". The ",(0,i.jsx)(n.code,{children:"hashFunction"})," must now be async and return a Promise."]}),"\n",(0,i.jsx)(n.h2,{id:"fix-attachment-hashing",children:"Fix attachment hashing"}),"\n",(0,i.jsxs)(n.p,{children:["Hashing of attachment data to calculate the ",(0,i.jsx)(n.code,{children:"digest"})," is now done from the RxDB side, not the RxStorage. If you set a custom ",(0,i.jsx)(n.code,{children:"hashFunction"})," for the database, it will also be used for attachments ",(0,i.jsx)(n.code,{children:"digest"})," meta data."]}),"\n",(0,i.jsx)(n.h2,{id:"requires-at-least-typescript-version-500",children:"Requires at least typescript version 5.0.0"}),"\n",(0,i.jsxs)(n.p,{children:["We now use ",(0,i.jsx)(n.code,{children:"export type * from './types';"})," so RxDB will not work on typescript versions older than 5.0.0."]}),"\n",(0,i.jsxs)(n.h2,{id:"require-string-based-regex",children:["Require string based ",(0,i.jsx)(n.code,{children:"$regex"})]}),"\n",(0,i.jsxs)(n.p,{children:["Queries with a ",(0,i.jsx)(n.code,{children:"$regex"})," operator must now be defined as strings, not with ",(0,i.jsx)(n.code,{children:"RegExp"})," objects. You can still pass RegExp's flags in ",(0,i.jsx)(n.code,{children:"$options"})," parameter. ",(0,i.jsx)(n.code,{children:"RegExp"})," are mutable objects, which was dangerous and caused hard-to-debug problems.\nAlso stringification of the $regex had bad performance but is required to send queries from RxDB to the RxStorage."]}),"\n",(0,i.jsx)(n.h2,{id:"refactor-dexiejs-rxstorage",children:"Refactor dexie.js RxStorage"}),"\n",(0,i.jsxs)(n.p,{children:["The ",(0,i.jsx)(n.a,{href:"/rx-storage-dexie.html",children:"dexie.js storage"})," was refactored to add some missing features:"]}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.a,{href:"/rx-attachment.html",children:"Attachment"})," support"]}),"\n",(0,i.jsx)(n.li,{children:"Support for boolean indexes"}),"\n"]}),"\n",(0,i.jsx)(n.h2,{id:"rxlocaldocument-emits-a-document-instance-not-the-plain-data",children:"RxLocalDocument.$ emits a document instance, not the plain data"}),"\n",(0,i.jsxs)(n.p,{children:["This was changed in ",(0,i.jsx)(n.a,{href:"/releases/14.0.0.html",children:"v14"})," for a normal RxDocument.$ which emits RxDocument instances. Same is now also done for ",(0,i.jsx)(n.a,{href:"/rx-local-document.html",children:"local documents"}),"."]}),"\n",(0,i.jsx)(n.h2,{id:"fix-return-type-of-bulkupsert",children:"Fix return type of .bulkUpsert"}),"\n",(0,i.jsxs)(n.p,{children:["Equal to other bulk operations, ",(0,i.jsx)(n.code,{children:"bulkUpsert"})," will now return an ",(0,i.jsx)(n.code,{children:"error"})," and a ",(0,i.jsx)(n.code,{children:"success"})," array. This allows to filter for validation errors and handle them properly."]}),"\n",(0,i.jsx)(n.h2,{id:"add-dev-mode-check-for-disallowed-ref-fields",children:"Add dev-mode check for disallowed $ref fields"}),"\n",(0,i.jsxs)(n.p,{children:["RxDB cannot resolve ",(0,i.jsx)(n.code,{children:"$ref"})," fields in the schema because it would have a negative performance impact.\nWe now have a dev-mode check to throw a helpful error message if $refs are used in the schema."]}),"\n",(0,i.jsx)(n.h2,{id:"improve-rxdocument-property-access-performance",children:"Improve RxDocument property access performance"}),"\n",(0,i.jsxs)(n.p,{children:["We now use the Proxy API instead of defining getters on each nested property. Also fixed ",(0,i.jsx)(n.a,{href:"https://github.com/pubkey/rxdb/pull/4949",children:"#4949"})]}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.code,{children:"patternProperties"})," is now allowed on the non-top-level of a schema ",(0,i.jsx)(n.a,{href:"https://github.com/pubkey/rxdb/pull/4951",children:"#4951"})]}),"\n",(0,i.jsx)(n.h2,{id:"add-deno-support",children:"Add deno support"}),"\n",(0,i.jsxs)(n.p,{children:["The RxDB test suite now also runs in the ",(0,i.jsx)(n.a,{href:"https://deno.com/",children:"deno"})," runtime. Also there is a ",(0,i.jsx)(n.a,{href:"https://rxdb.info/rx-storage-denokv.html",children:"DenoKV"})," based RxStorage to use with Deno Deploy."]}),"\n",(0,i.jsx)(n.h2,{id:"memory-rxstorage",children:"Memory RxStorage"}),"\n",(0,i.jsxs)(n.p,{children:["Rewrites of the ",(0,i.jsx)(n.a,{href:"/rx-storage-memory.html",children:"Memory RxStorage"})," for better performance."]}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsx)(n.li,{children:"Writes are 3x faster"}),"\n",(0,i.jsx)(n.li,{children:"Find-by id is 2x faster"}),"\n"]}),"\n",(0,i.jsx)(n.h2,{id:"memory-synced-storage-no-longer-supports-replicationmigration",children:"Memory-Synced storage no longer supports replication+migration"}),"\n",(0,i.jsxs)(n.p,{children:["The ",(0,i.jsx)(n.a,{href:"/rx-storage-memory-synced.html",children:"memory-synced storage"})," itself does not support replication and migration. This was allowed in the past, but dangerous so now there is an error that throws.\nInstead you should replicate the underlying parent storage. Notice that this is only for the ",(0,i.jsx)(n.a,{href:"/rx-storage-memory-synced.html",children:"memory-synced storage"}),", NOT for the normal ",(0,i.jsx)(n.a,{href:"/rx-storage-memory.html",children:"memory storage"}),". There the replication works like before."]}),"\n",(0,i.jsx)(n.h2,{id:"added-logger-plugin",children:"Added Logger Plugin"}),"\n",(0,i.jsxs)(n.p,{children:["I added a ",(0,i.jsx)(n.a,{href:"/logger.html",children:"logger plugin"})," to detect performance problems and errors."]}),"\n",(0,i.jsx)(n.h2,{id:"documentation-is-now-served-by-docusaurus",children:"Documentation is now served by docusaurus"}),"\n",(0,i.jsxs)(n.p,{children:["In the past we used gitbook which is no longer maintained and had some major issues. Now the documentation of RxDB is rendered and served with ",(0,i.jsx)(n.a,{href:"https://docusaurus.io/",children:"docusaurus"})," which has a better design and maintenance."]}),"\n",(0,i.jsxs)(n.h2,{id:"replaced-modfijs-with-mingo-package",children:["Replaced ",(0,i.jsx)(n.code,{children:"modfijs"})," with ",(0,i.jsx)(n.code,{children:"mingo"})," package"]}),"\n",(0,i.jsxs)(n.p,{children:["In the past, the ",(0,i.jsx)(n.a,{href:"https://github.com/lgandecki/modifyjs",children:"modifyjs"})," was used for the ",(0,i.jsx)(n.code,{children:"update"})," plugin. This was replaced with the ",(0,i.jsx)(n.a,{href:"https://github.com/kofrasa/mingo",children:"mingo library"})," which is more up to date and already used in RxDB for the query engine."]}),"\n",(0,i.jsx)(n.h2,{id:"changes-to-the-rxstorage-interface",children:"Changes to the RxStorage interface"}),"\n",(0,i.jsxs)(n.p,{children:["We no longer have ",(0,i.jsx)(n.code,{children:"RxStorage.statics.prepareQuery()"}),". Instead all storages get the same prepared query as input for the ",(0,i.jsx)(n.code,{children:".query()"})," method. If a storage requires some transformations, it has to do them by itself before running the query. This change simplifies the whole RxDB code base a lot and the previous assumption of having a better performance by pre-running the query preparation, turned out to be not true because the query planning is quite fast."]}),"\n",(0,i.jsxs)(n.p,{children:["Removed the ",(0,i.jsx)(n.code,{children:"RxStorage.statics"})," property. This makes configuration easier especially for the remote storage plugins."]}),"\n",(0,i.jsxs)(n.p,{children:["The RxStorage itself will now return ",(0,i.jsx)(n.code,{children:"_deleted=true"})," documents on the ",(0,i.jsx)(n.code,{children:".query()"})," method. This is required for upcoming plugins like the server plugin where it must be able to run queries on deleted documents.\nNotice that this is only for the RxStorage itself, RxDB queries will run like normal and NOT contain deleted documents in their results."]}),"\n",(0,i.jsx)(n.p,{children:"Changed the response type of RxStorageInstance.bulkWrite() from indexed (by id) objects to arrays for better performance."}),"\n",(0,i.jsx)(n.h2,{id:"other-changes",children:"Other changes"}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:["Added ",(0,i.jsx)(n.code,{children:"RxCollection.cleanup()"})," to manually call the ",(0,i.jsx)(n.a,{href:"/cleanup.html",children:"cleanup functions"}),"."]}),"\n",(0,i.jsxs)(n.li,{children:["Rename send$ to sent$: ",(0,i.jsx)(n.code,{children:"myRxReplicationState.send$.subscribe"})," works only if the sending is successful. Therefore, it is renamed to ",(0,i.jsx)(n.code,{children:"sent$"}),", not ",(0,i.jsx)(n.code,{children:"send$"}),"."]}),"\n",(0,i.jsxs)(n.li,{children:["We no longer ship ",(0,i.jsx)(n.code,{children:"dist/rxdb.browserify.js"})," and ",(0,i.jsx)(n.code,{children:"dist/rxdb.browserify.min.js"}),". If you need these, build them by yourself."]}),"\n",(0,i.jsx)(n.li,{children:"The example project for vanilla javascript was outdated. I removed it to no longer confuse new users."}),"\n",(0,i.jsxs)(n.li,{children:["REPLACE ",(0,i.jsx)(n.code,{children:"new Date().getTime()"})," with ",(0,i.jsx)(n.code,{children:"Date.now()"})," which is ",(0,i.jsx)(n.a,{href:"https://stackoverflow.com/questions/12517359/performance-date-now-vs-date-gettime",children:"2x faster"}),"."]}),"\n",(0,i.jsxs)(n.li,{children:["Renamed replication-p2p to replication-webrtc. I will add more p2p replication plugins in the future, which are not based on ",(0,i.jsx)(n.a,{href:"/replication-webrtc.html",children:"WebRTC"}),"."]}),"\n",(0,i.jsxs)(n.li,{children:["REMOVED ",(0,i.jsx)(n.code,{children:"RxChangeEvent.eventId"}),". If you really need a unique ID, you can craft your own one based on the document ",(0,i.jsx)(n.code,{children:"_rev"})," and ",(0,i.jsx)(n.code,{children:"primary"}),"."]}),"\n",(0,i.jsxs)(n.li,{children:["REMOVED ",(0,i.jsx)(n.code,{children:"RxChangeEvent.startTime"})," and ",(0,i.jsx)(n.code,{children:"RxChangeEvent.endTime"})," so we do not have to call ",(0,i.jsx)(n.code,{children:"Date.now()"})," once per write row."]}),"\n",(0,i.jsxs)(n.li,{children:["ADDED ",(0,i.jsx)(n.code,{children:"EventBulk.startTime"})," and ",(0,i.jsx)(n.code,{children:"EventBulk.endTime"}),"."]}),"\n",(0,i.jsxs)(n.li,{children:["FIX ",(0,i.jsx)(n.code,{children:"database.remove()"})," does not work on databases with encrypted fields."]}),"\n",(0,i.jsxs)(n.li,{children:["FIX ",(0,i.jsx)(n.a,{href:"https://github.com/pubkey/rxdb/pull/5187",children:"react-native: replaceAll is not a function"})]}),"\n",(0,i.jsx)(n.li,{children:"FIX Throttle calls to forkInstance on push-replication to not cause memory spikes and lagging UI"}),"\n",(0,i.jsxs)(n.li,{children:["FIX PushModifier applied to pre-change legacy document, resulting in old document sent to endpoint ",(0,i.jsx)(n.a,{href:"https://github.com/pubkey/rxdb/issues/5256",children:"#5256"})]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.a,{href:"/rx-attachment.html#attachment-compression",children:"Attachment compression"})," is now using the native ",(0,i.jsx)(n.code,{children:"Compression Streams API"}),"."]}),"\n",(0,i.jsxs)(n.li,{children:["FIX ",(0,i.jsx)(n.a,{href:"https://github.com/pubkey/rxdb/issues/5311",children:"#5311"})," URL.createObjectURL is not a function in a browser plugin environment(background.js)"]}),"\n",(0,i.jsxs)(n.li,{children:["FIX ",(0,i.jsx)(n.code,{children:"structuredClone"})," not available in ReactNative ",(0,i.jsx)(n.a,{href:"https://github.com/pubkey/rxdb/issues/5046#issuecomment-1827374498",children:"#5046"})]}),"\n",(0,i.jsxs)(n.li,{children:["The following things moved out of beta:","\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsx)(n.li,{children:(0,i.jsx)(n.a,{href:"/replication-firestore.html",children:"Firestore replication"})}),"\n",(0,i.jsx)(n.li,{children:(0,i.jsx)(n.a,{href:"/replication-webrtc.html",children:"WebRTC replication"})}),"\n",(0,i.jsx)(n.li,{children:(0,i.jsx)(n.a,{href:"/replication-nats.html",children:"NATS replication"})}),"\n",(0,i.jsx)(n.li,{children:(0,i.jsx)(n.a,{href:"/rx-storage-opfs.html",children:"OPFS RxStorage"})}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,i.jsx)(n.h2,{id:"changes-to-the--premium-plugins",children:"Changes to the \ud83d\udc51 Premium Plugins"}),"\n",(0,i.jsx)(n.h3,{id:"storage-migration-plugin-moved-from-premium-to-open-core",children:"storage-migration plugin moved from premium to open-core"}),"\n",(0,i.jsxs)(n.p,{children:["The storage migration plugin can be used to migrate data between different RxStorage implementation or to migrate data between major RxDB versions. This previously was a \ud83d\udc51 premium plugin, but now it is part of the open-core. Also the params syntax changed a bit ",(0,i.jsx)(n.a,{href:"/migration-storage.html",children:"read more"}),"."]}),"\n",(0,i.jsx)(n.h3,{id:"changes-in-pricing",children:"Changes in pricing"}),"\n",(0,i.jsx)(n.p,{children:"The pricing of the premium plugins was changed. This makes it cheaper for smaller companies and single individuals."}),"\n",(0,i.jsx)(n.h3,{id:"added-perpetual-license-option",children:"Added perpetual license option"}),"\n",(0,i.jsxs)(n.p,{children:["By default you are not allowed to use the premium plugins after the\nlicense has expired and you will no longer be able to install them. But\nyou can choose the ",(0,i.jsx)(n.strong,{children:"Perpetual license"})," option. With the perpetual\nlicense option, you can still use the plugins even after the license is\nexpired. But you will no longer get any updates from newer RxDB\nversions."]}),"\n",(0,i.jsx)(n.h2,{id:"you-can-help",children:"You can help!"}),"\n",(0,i.jsxs)(n.p,{children:["There are many things that can be done by ",(0,i.jsx)(n.strong,{children:"you"})," to improve RxDB:"]}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:["Check the ",(0,i.jsx)(n.a,{href:"https://github.com/pubkey/rxdb/blob/master/orga/BACKLOG.md",children:"BACKLOG"})," for features that would be great to have."]}),"\n",(0,i.jsxs)(n.li,{children:["Check the ",(0,i.jsx)(n.a,{href:"https://github.com/pubkey/rxdb/blob/master/orga/before-next-major.md",children:"breaking backlog"})," for breaking changes that must be implemented in the future but where I did not have the time yet."]}),"\n",(0,i.jsxs)(n.li,{children:["Check the ",(0,i.jsx)(n.a,{href:"https://github.com/pubkey/rxdb/search?q=todo",children:"todos"})," in the code. There are many small improvements that can be done for performance and build size."]}),"\n",(0,i.jsx)(n.li,{children:"Review the code and add tests. I am only a single human with a laptop. My code is not perfect and much small improvements can be done when people review the code and help me to clarify undefined behaviors."}),"\n",(0,i.jsxs)(n.li,{children:["Update the ",(0,i.jsx)(n.a,{href:"https://github.com/pubkey/rxdb/tree/master/examples",children:"example projects"})," some of them are outdated and need updates."]}),"\n"]})]})}function c(e={}){const{wrapper:n}={...(0,s.R)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(h,{...e})}):h(e)}},8453(e,n,r){r.d(n,{R:()=>o,x:()=>a});var t=r(6540);const i={},s=t.createContext(i);function o(e){const n=t.useContext(s);return t.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function a(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:o(e.components),t.createElement(s.Provider,{value:n},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/22dd74f7.8c39a7a2.js b/docs/assets/js/22dd74f7.8c39a7a2.js
deleted file mode 100644
index 2803c7ebbf2..00000000000
--- a/docs/assets/js/22dd74f7.8c39a7a2.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[1567],{5226(e){e.exports=JSON.parse('{"version":{"pluginId":"default","version":"current","label":"Next","banner":null,"badge":false,"noIndex":false,"className":"docs-version-current","isLast":true,"docsSidebars":{"tutorialSidebar":[{"type":"category","label":"Getting Started","collapsed":false,"items":[{"type":"link","href":"/overview.html","label":"Overview","docId":"overview","unlisted":false},{"type":"link","href":"/quickstart.html","label":"\ud83d\ude80 Quickstart","docId":"quickstart","unlisted":false},{"type":"link","href":"/install.html","label":"Installation","docId":"install","unlisted":false},{"type":"link","href":"/dev-mode.html","label":"Development Mode","docId":"dev-mode","unlisted":false},{"type":"link","href":"/tutorials/typescript.html","label":"TypeScript Setup","docId":"tutorials/typescript","unlisted":false}],"collapsible":true},{"type":"category","label":"Core Entities","collapsed":true,"items":[{"type":"link","href":"/rx-database.html","label":"RxDatabase","docId":"rx-database","unlisted":false},{"type":"link","href":"/rx-schema.html","label":"RxSchema","docId":"rx-schema","unlisted":false},{"type":"link","href":"/rx-collection.html","label":"RxCollection","docId":"rx-collection","unlisted":false},{"type":"link","href":"/rx-document.html","label":"RxDocument","docId":"rx-document","unlisted":false},{"type":"link","href":"/rx-query.html","label":"RxQuery","docId":"rx-query","unlisted":false}],"collapsible":true},{"type":"category","label":"\ud83d\udcbe Storages","items":[{"type":"link","href":"/rx-storage.html","label":"RxStorage Overview","docId":"rx-storage","unlisted":false},{"type":"link","href":"/rx-storage-localstorage.html","label":"LocalStorage (Browser)","docId":"rx-storage-localstorage","unlisted":false},{"type":"link","href":"/rx-storage-indexeddb.html","label":"IndexedDB \ud83d\udc51 (Browser, Capacitor)","docId":"rx-storage-indexeddb","unlisted":false},{"type":"link","href":"/rx-storage-opfs.html","label":"OPFS \ud83d\udc51 (Browser)","docId":"rx-storage-opfs","unlisted":false},{"type":"link","href":"/rx-storage-memory.html","label":"Memory","docId":"rx-storage-memory","unlisted":false},{"type":"link","href":"/rx-storage-filesystem-node.html","label":"Filesystem Node \ud83d\udc51 (Node.js)","docId":"rx-storage-filesystem-node","unlisted":false},{"type":"link","href":"/rx-storage-sqlite.html","label":"SQLite (Capacitor, React-Native, Expo, Tauri, Electron, Node.js)","docId":"rx-storage-sqlite","unlisted":false},{"type":"category","label":"Third Party Storages","items":[{"type":"link","href":"/rx-storage-dexie.html","label":"Dexie.js","docId":"rx-storage-dexie","unlisted":false},{"type":"link","href":"/rx-storage-mongodb.html","label":"MongoDB","docId":"rx-storage-mongodb","unlisted":false},{"type":"link","href":"/rx-storage-denokv.html","label":"DenoKV","docId":"rx-storage-denokv","unlisted":false},{"type":"link","href":"/rx-storage-foundationdb.html","label":"FoundationDB","docId":"rx-storage-foundationdb","unlisted":false}],"collapsed":true,"collapsible":true}],"collapsed":true,"collapsible":true},{"type":"category","label":"Storage Wrappers","items":[{"type":"link","href":"/schema-validation.html","label":"Schema Validation","docId":"schema-validation","unlisted":false},{"type":"link","href":"/encryption.html","label":"Encryption","docId":"encryption","unlisted":false},{"type":"link","href":"/key-compression.html","label":"Key Compression","docId":"key-compression","unlisted":false},{"type":"link","href":"/logger.html","label":"Logger \ud83d\udc51","docId":"logger","unlisted":false},{"type":"link","href":"/rx-storage-remote.html","label":"Remote RxStorage","docId":"rx-storage-remote","unlisted":false},{"type":"link","href":"/rx-storage-worker.html","label":"Worker RxStorage \ud83d\udc51","docId":"rx-storage-worker","unlisted":false},{"type":"link","href":"/rx-storage-shared-worker.html","label":"SharedWorker RxStorage \ud83d\udc51","docId":"rx-storage-shared-worker","unlisted":false},{"type":"link","href":"/rx-storage-memory-mapped.html","label":"Memory Mapped RxStorage \ud83d\udc51","docId":"rx-storage-memory-mapped","unlisted":false},{"type":"link","href":"/rx-storage-sharding.html","label":"Sharding \ud83d\udc51","docId":"rx-storage-sharding","unlisted":false},{"type":"link","href":"/rx-storage-localstorage-meta-optimizer.html","label":"Localstorage Meta Optimizer \ud83d\udc51","docId":"rx-storage-localstorage-meta-optimizer","unlisted":false},{"type":"link","href":"/electron.html","label":"Electron","docId":"electron","unlisted":false}],"collapsed":true,"collapsible":true},{"type":"category","label":"\ud83d\udd04 Replication","items":[{"type":"link","href":"/replication.html","label":"\u2699\ufe0f Sync Engine","docId":"replication","unlisted":false},{"type":"link","href":"/replication-http.html","label":"HTTP Replication","docId":"replication-http","unlisted":false},{"type":"link","href":"/replication-server.html","label":"RxServer Replication","docId":"replication-server","unlisted":false},{"type":"link","href":"/replication-graphql.html","label":"GraphQL Replication","docId":"replication-graphql","unlisted":false},{"type":"link","href":"/replication-websocket.html","label":"WebSocket Replication","docId":"replication-websocket","unlisted":false},{"type":"link","href":"/replication-couchdb.html","label":"CouchDB Replication","docId":"replication-couchdb","unlisted":false},{"type":"link","href":"/replication-webrtc.html","label":"WebRTC P2P Replication","docId":"replication-webrtc","unlisted":false},{"type":"link","href":"/replication-firestore.html","label":"Firestore Replication","docId":"replication-firestore","unlisted":false},{"type":"link","href":"/replication-mongodb.html","label":"MongoDB Replication","docId":"replication-mongodb","unlisted":false},{"type":"link","href":"/replication-supabase.html","label":"Supabase Replication","docId":"replication-supabase","unlisted":false},{"type":"link","href":"/replication-nats.html","label":"NATS Replication","docId":"replication-nats","unlisted":false},{"type":"link","href":"/replication-appwrite.html","label":"Appwrite Replication","docId":"replication-appwrite","unlisted":false}],"collapsed":true,"collapsible":true},{"type":"category","label":"Server","items":[{"type":"link","href":"/rx-server.html","label":"RxServer","docId":"rx-server","unlisted":false},{"type":"link","href":"/rx-server-scaling.html","label":"RxServer Scaling","docId":"rx-server-scaling","unlisted":false}],"collapsed":true,"collapsible":true},{"type":"category","label":"How RxDB works","items":[{"type":"link","href":"/transactions-conflicts-revisions.html","label":"Transactions Conflicts Revisions","docId":"transactions-conflicts-revisions","unlisted":false},{"type":"link","href":"/query-cache.html","label":"Query Cache","docId":"query-cache","unlisted":false},{"type":"link","href":"/plugins.html","label":"Creating Plugins","docId":"plugins","unlisted":false},{"type":"link","href":"/errors.html","label":"Errors","docId":"errors","unlisted":false}],"collapsed":true,"collapsible":true},{"type":"category","label":"Advanced Features","items":[{"type":"category","label":"Migration","items":[{"type":"link","href":"/migration-schema.html","label":"Schema Migration","docId":"migration-schema","unlisted":false},{"type":"link","href":"/migration-storage.html","label":"Storage Migration","docId":"migration-storage","unlisted":false}],"collapsed":true,"collapsible":true},{"type":"link","href":"/rx-attachment.html","label":"Attachments","docId":"rx-attachment","unlisted":false},{"type":"link","href":"/rx-pipeline.html","label":"RxPipelines","docId":"rx-pipeline","unlisted":false},{"type":"link","href":"/reactivity.html","label":"Custom Reactivity","docId":"reactivity","unlisted":false},{"type":"link","href":"/rx-state.html","label":"RxState","docId":"rx-state","unlisted":false},{"type":"link","href":"/rx-local-document.html","label":"Local Documents","docId":"rx-local-document","unlisted":false},{"type":"link","href":"/cleanup.html","label":"Cleanup","docId":"cleanup","unlisted":false},{"type":"link","href":"/backup.html","label":"Backup","docId":"backup","unlisted":false},{"type":"link","href":"/leader-election.html","label":"Leader Election","docId":"leader-election","unlisted":false},{"type":"link","href":"/middleware.html","label":"Middleware","docId":"middleware","unlisted":false},{"type":"link","href":"/crdt.html","label":"CRDT","docId":"crdt","unlisted":false},{"type":"link","href":"/population.html","label":"Population","docId":"population","unlisted":false},{"type":"link","href":"/orm.html","label":"ORM","docId":"orm","unlisted":false},{"type":"link","href":"/fulltext-search.html","label":"Fulltext Search \ud83d\udc51","docId":"fulltext-search","unlisted":false},{"type":"link","href":"/articles/javascript-vector-database.html","label":"Vector Database","docId":"articles/javascript-vector-database","unlisted":false},{"type":"link","href":"/query-optimizer.html","label":"Query Optimizer \ud83d\udc51","docId":"query-optimizer","unlisted":false},{"type":"link","href":"/third-party-plugins.html","label":"Third Party Plugins","docId":"third-party-plugins","unlisted":false}],"collapsed":true,"collapsible":true},{"type":"category","label":"Integrations","items":[{"type":"link","href":"/react.html","label":"React","docId":"react","unlisted":false},{"type":"link","label":"TanStack DB","href":"https://tanstack.com/db/latest/docs/collections/rxdb-collection","customProps":{"target":"_blank"}}],"collapsed":true,"collapsible":true},{"type":"category","label":"Performance","items":[{"type":"link","href":"/rx-storage-performance.html","label":"RxStorage Performance","docId":"rx-storage-performance","unlisted":false},{"type":"link","href":"/nosql-performance-tips.html","label":"NoSQL Performance Tips","docId":"nosql-performance-tips","unlisted":false},{"type":"link","href":"/slow-indexeddb.html","label":"Slow IndexedDB","docId":"slow-indexeddb","unlisted":false},{"type":"link","href":"/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm.html","label":"LocalStorage vs. IndexedDB vs. Cookies vs. OPFS vs. WASM-SQLite","docId":"articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm","unlisted":false}],"collapsed":true,"collapsible":true},{"type":"category","label":"Releases","items":[{"type":"link","href":"/releases/17.0.0.html","label":"17.0.0","docId":"releases/17.0.0","unlisted":false},{"type":"link","href":"/releases/16.0.0.html","label":"16.0.0","docId":"releases/16.0.0","unlisted":false},{"type":"link","href":"/releases/15.0.0.html","label":"15.0.0","docId":"releases/15.0.0","unlisted":false},{"type":"link","href":"/releases/14.0.0.html","label":"14.0.0","docId":"releases/14.0.0","unlisted":false},{"type":"link","href":"/releases/13.0.0.html","label":"13.0.0","docId":"releases/13.0.0","unlisted":false},{"type":"link","href":"/releases/12.0.0.html","label":"12.0.0","docId":"releases/12.0.0","unlisted":false},{"type":"link","href":"/releases/11.0.0.html","label":"11.0.0","docId":"releases/11.0.0","unlisted":false},{"type":"link","href":"/releases/10.0.0.html","label":"10.0.0","docId":"releases/10.0.0","unlisted":false},{"type":"link","href":"/releases/9.0.0.html","label":"9.0.0","docId":"releases/9.0.0","unlisted":false},{"type":"link","href":"/releases/8.0.0.html","label":"8.0.0","docId":"releases/8.0.0","unlisted":false}],"collapsed":true,"collapsible":true},{"type":"category","label":"Articles","items":[{"type":"link","href":"/articles/browser-database.html","label":"Benefits of RxDB & Browser Databases","docId":"articles/browser-database","unlisted":false},{"type":"link","href":"/articles/local-first-future.html","label":"Why Local-First Software Is the Future and its Limitations","docId":"articles/local-first-future","unlisted":false},{"type":"link","href":"/why-nosql.html","label":"Why NoSQL Powers Modern UI Apps","docId":"why-nosql","unlisted":false},{"type":"link","href":"/downsides-of-offline-first.html","label":"Downsides of Local First / Offline First","docId":"downsides-of-offline-first","unlisted":false},{"type":"link","href":"/nodejs-database.html","label":"RxDB - The Real-Time Database for Node.js","docId":"nodejs-database","unlisted":false},{"type":"link","href":"/offline-first.html","label":"Local First / Offline First","docId":"offline-first","unlisted":false},{"type":"link","href":"/react-native-database.html","label":"React Native Database - Sync & Store Like a Pro","docId":"react-native-database","unlisted":false},{"type":"link","href":"/articles/angular-database.html","label":"RxDB as a Database in an Angular Application","docId":"articles/angular-database","unlisted":false},{"type":"link","href":"/articles/browser-storage.html","label":"Browser Storage - RxDB as a Database for Browsers","docId":"articles/browser-storage","unlisted":false},{"type":"link","href":"/articles/data-base.html","label":"Empower Web Apps with Reactive RxDB Data-base","docId":"articles/data-base","unlisted":false},{"type":"link","href":"/articles/embedded-database.html","label":"Embedded Database, Real-time Speed - RxDB","docId":"articles/embedded-database","unlisted":false},{"type":"link","href":"/articles/flutter-database.html","label":"Supercharge Flutter Apps with the RxDB Database","docId":"articles/flutter-database","unlisted":false},{"type":"link","href":"/articles/frontend-database.html","label":"RxDB - The Ultimate JS Frontend Database","docId":"articles/frontend-database","unlisted":false},{"type":"link","href":"/articles/in-memory-nosql-database.html","label":"RxDB In-Memory NoSQL - Supercharge Real-Time Apps","docId":"articles/in-memory-nosql-database","unlisted":false},{"type":"link","href":"/articles/ionic-database.html","label":"RxDB - The Perfect Ionic Database","docId":"articles/ionic-database","unlisted":false},{"type":"link","href":"/articles/ionic-storage.html","label":"RxDB - Local Ionic Storage with Encryption, Compression & Sync","docId":"articles/ionic-storage","unlisted":false},{"type":"link","href":"/articles/json-database.html","label":"RxDB - The JSON Database Built for JavaScript","docId":"articles/json-database","unlisted":false},{"type":"link","href":"/articles/websockets-sse-polling-webrtc-webtransport.html","label":"WebSockets vs Server-Sent-Events vs Long-Polling vs WebRTC vs WebTransport","docId":"articles/websockets-sse-polling-webrtc-webtransport","unlisted":false},{"type":"link","href":"/articles/localstorage.html","label":"Using localStorage in Modern Applications - A Comprehensive Guide","docId":"articles/localstorage","unlisted":false},{"type":"link","href":"/articles/mobile-database.html","label":"Real-Time & Offline - RxDB for Mobile Apps","docId":"articles/mobile-database","unlisted":false},{"type":"link","href":"/articles/progressive-web-app-database.html","label":"RxDB as a Database for Progressive Web Apps (PWA)","docId":"articles/progressive-web-app-database","unlisted":false},{"type":"link","href":"/articles/react-database.html","label":"RxDB as a Database for React Applications","docId":"articles/react-database","unlisted":false},{"type":"link","href":"/articles/realtime-database.html","label":"What Really Is a Realtime Database?","docId":"articles/realtime-database","unlisted":false},{"type":"link","href":"/articles/angular-indexeddb.html","label":"Build Smarter Offline-First Angular Apps - How RxDB Beats IndexedDB Alone","docId":"articles/angular-indexeddb","unlisted":false},{"type":"link","href":"/articles/react-indexeddb.html","label":"IndexedDB Database in React Apps - The Power of RxDB","docId":"articles/react-indexeddb","unlisted":false},{"type":"link","href":"/capacitor-database.html","label":"Capacitor Database Guide - SQLite, RxDB & More","docId":"capacitor-database","unlisted":false},{"type":"link","href":"/alternatives.html","label":"Alternatives for realtime local-first JavaScript applications and local databases","docId":"alternatives","unlisted":false},{"type":"link","href":"/electron-database.html","label":"Electron Database - Storage adapters for SQLite, Filesystem and In-Memory","docId":"electron-database","unlisted":false},{"type":"link","href":"/articles/optimistic-ui.html","label":"Building an Optimistic UI with RxDB","docId":"articles/optimistic-ui","unlisted":false},{"type":"link","href":"/articles/local-database.html","label":"What is a Local Database and Why RxDB is the Best Local Database for JavaScript Applications","docId":"articles/local-database","unlisted":false},{"type":"link","href":"/articles/react-native-encryption.html","label":"React Native Encryption and Encrypted Database/Storage","docId":"articles/react-native-encryption","unlisted":false},{"type":"link","href":"/articles/vue-database.html","label":"RxDB as a Database in a Vue.js Application","docId":"articles/vue-database","unlisted":false},{"type":"link","href":"/articles/vue-indexeddb.html","label":"IndexedDB Database in Vue Apps - The Power of RxDB","docId":"articles/vue-indexeddb","unlisted":false},{"type":"link","href":"/articles/jquery-database.html","label":"RxDB as a Database in a jQuery Application","docId":"articles/jquery-database","unlisted":false},{"type":"link","href":"/articles/firestore-alternative.html","label":"RxDB - Firestore Alternative to Sync with Your Own Backend","docId":"articles/firestore-alternative","unlisted":false},{"type":"link","href":"/articles/firebase-realtime-database-alternative.html","label":"RxDB - Firebase Realtime Database Alternative to Sync With Your Own Backend","docId":"articles/firebase-realtime-database-alternative","unlisted":false},{"type":"link","href":"/articles/offline-database.html","label":"RxDB \u2013 The Ultimate Offline Database with Sync and Encryption","docId":"articles/offline-database","unlisted":false},{"type":"link","href":"/articles/zero-latency-local-first.html","label":"Zero Latency Local First Apps with RxDB \u2013 Sync, Encryption and Compression","docId":"articles/zero-latency-local-first","unlisted":false},{"type":"link","href":"/articles/indexeddb-max-storage-limit.html","label":"IndexedDB Max Storage Size Limit - Detailed Best Practices","docId":"articles/indexeddb-max-storage-limit","unlisted":false},{"type":"link","href":"/articles/json-based-database.html","label":"JSON-Based Databases - Why NoSQL and RxDB Simplify App Development","docId":"articles/json-based-database","unlisted":false},{"type":"link","href":"/articles/reactjs-storage.html","label":"ReactJS Storage - From Basic LocalStorage to Advanced Offline Apps with RxDB","docId":"articles/reactjs-storage","unlisted":false}],"collapsed":true,"collapsible":true},{"type":"link","href":"/contribution.html","label":"Contribute","docId":"contribute","unlisted":false},{"type":"category","label":"Contact","items":[{"type":"link","label":"Consulting","href":"/consulting/"},{"type":"link","label":"Discord","href":"/chat/","customProps":{"target":"_blank"}},{"type":"link","label":"LinkedIn","href":"https://www.linkedin.com/company/rxdb/"}],"collapsed":true,"collapsible":true}]},"docs":{"adapters":{"id":"adapters","title":"PouchDB Adapters","description":"When you use PouchDB RxStorage, there are many adapters that define where the data has to be stored."},"alternatives":{"id":"alternatives","title":"Alternatives for realtime local-first JavaScript applications and local databases","description":"Explore real-time, local-first JS alternatives to RxDB. Compare Firebase, Meteor, AWS, CouchDB, and more for robust, seamless web/mobile app development.","sidebar":"tutorialSidebar"},"articles/angular-database":{"id":"articles/angular-database","title":"RxDB as a Database in an Angular Application","description":"Level up your Angular projects with RxDB. Build real-time, resilient, and responsive apps powered by a reactive NoSQL database right in the browser.","sidebar":"tutorialSidebar"},"articles/angular-indexeddb":{"id":"articles/angular-indexeddb","title":"Build Smarter Offline-First Angular Apps - How RxDB Beats IndexedDB Alone","description":"Discover how to harness IndexedDB in Angular with RxDB for robust offline apps. Learn reactive queries, advanced features, and more.","sidebar":"tutorialSidebar"},"articles/browser-database":{"id":"articles/browser-database","title":"Benefits of RxDB & Browser Databases","description":"Find out why RxDB is the go-to solution for browser databases. See how it boosts performance, simplifies replication, and powers real-time UIs.","sidebar":"tutorialSidebar"},"articles/browser-storage":{"id":"articles/browser-storage","title":"Browser Storage - RxDB as a Database for Browsers","description":"Explore RxDB for browser storage its advantages, limitations, and why it outperforms SQL databases in web applications for enhanced efficiency","sidebar":"tutorialSidebar"},"articles/data-base":{"id":"articles/data-base","title":"Empower Web Apps with Reactive RxDB Data-base","description":"Explore RxDB\'s reactive data-base solution for web and mobile. Enable offline-first experiences, real-time syncing, and secure data handling with ease.","sidebar":"tutorialSidebar"},"articles/embedded-database":{"id":"articles/embedded-database","title":"Embedded Database, Real-time Speed - RxDB","description":"Unleash the power of embedded databases with RxDB. Explore real-time replication, offline access, and reactive queries for modern JavaScript apps.","sidebar":"tutorialSidebar"},"articles/firebase-realtime-database-alternative":{"id":"articles/firebase-realtime-database-alternative","title":"RxDB - Firebase Realtime Database Alternative to Sync With Your Own Backend","description":"Looking for a Firebase Realtime Database alternative? RxDB offers a fully offline, vendor-agnostic NoSQL solution with advanced conflict resolution and multi-platform support.","sidebar":"tutorialSidebar"},"articles/firestore-alternative":{"id":"articles/firestore-alternative","title":"RxDB - Firestore Alternative to Sync with Your Own Backend","description":"Looking for a Firestore alternative? RxDB is a local-first, NoSQL database that syncs seamlessly with any backend, offers rich offline capabilities, advanced conflict resolution, and reduces vendor lock-in.","sidebar":"tutorialSidebar"},"articles/flutter-database":{"id":"articles/flutter-database","title":"Supercharge Flutter Apps with the RxDB Database","description":"Harness RxDB\'s reactive database to bring real-time, offline-first data storage and syncing to your next Flutter application.","sidebar":"tutorialSidebar"},"articles/frontend-database":{"id":"articles/frontend-database","title":"RxDB - The Ultimate JS Frontend Database","description":"Discover how RxDB, a powerful JavaScript frontend database, boosts offline access, caching, and real-time updates to supercharge your web apps.","sidebar":"tutorialSidebar"},"articles/ideas":{"id":"articles/ideas","title":"ideas for articles","description":"- storing and searching through 1mio emails in a browser database"},"articles/in-memory-nosql-database":{"id":"articles/in-memory-nosql-database","title":"RxDB In-Memory NoSQL - Supercharge Real-Time Apps","description":"Discover how RxDB\'s in-memory NoSQL engine delivers blazing speed for real-time apps, ensuring responsive experiences and seamless data sync.","sidebar":"tutorialSidebar"},"articles/indexeddb-max-storage-limit":{"id":"articles/indexeddb-max-storage-limit","title":"IndexedDB Max Storage Size Limit - Detailed Best Practices","description":"Learn how browsers enforce IndexedDB storage size limits, how to test and handle quota exceeded errors, and best practices for storing large amounts of data offline.","sidebar":"tutorialSidebar"},"articles/ionic-database":{"id":"articles/ionic-database","title":"RxDB - The Perfect Ionic Database","description":"Supercharge your Ionic hybrid apps with RxDB\'s offline-first database. Experience real-time sync, top performance, and easy replication.","sidebar":"tutorialSidebar"},"articles/ionic-storage":{"id":"articles/ionic-storage","title":"RxDB - Local Ionic Storage with Encryption, Compression & Sync","description":"The best Ionic storage solution? RxDB empowers your hybrid apps with offline-first capabilities, secure encryption, data compression, and seamless data syncing to any backend.","sidebar":"tutorialSidebar"},"articles/javascript-vector-database":{"id":"articles/javascript-vector-database","title":"Local JavaScript Vector Database that works offline","description":"Create a blazing-fast vector database in JavaScript. Leverage RxDB and transformers.js for instant, offline semantic search - no servers required!","sidebar":"tutorialSidebar"},"articles/jquery-database":{"id":"articles/jquery-database","title":"RxDB as a Database in a jQuery Application","description":"Level up your jQuery-based projects with RxDB. Build real-time, resilient, and responsive apps powered by a reactive NoSQL database right in the browser.","sidebar":"tutorialSidebar"},"articles/json-based-database":{"id":"articles/json-based-database","title":"JSON-Based Databases - Why NoSQL and RxDB Simplify App Development","description":"Dive into how JSON-based databases power modern UI-centric apps, why NoSQL often outperforms SQL for dynamic data, how SQLite accommodates JSON, and why RxDB delivers a seamless offline-first solution for JavaScript with advanced JSON features.","sidebar":"tutorialSidebar"},"articles/json-database":{"id":"articles/json-database","title":"RxDB - The JSON Database Built for JavaScript","description":"Experience a powerful JSON database with RxDB, built for JavaScript. Store, sync, and compress your data seamlessly across web and mobile apps.","sidebar":"tutorialSidebar"},"articles/local-database":{"id":"articles/local-database","title":"What is a Local Database and Why RxDB is the Best Local Database for JavaScript Applications","description":"An in-depth exploration of local databases and why RxDB excels as a local-first solution for JavaScript applications.","sidebar":"tutorialSidebar"},"articles/local-first-future":{"id":"articles/local-first-future","title":"Why Local-First Software Is the Future and its Limitations","description":"Discover how local-first transforms web apps, boosts offline resilience, and why instant user feedback is becoming the new normal.","sidebar":"tutorialSidebar"},"articles/localstorage":{"id":"articles/localstorage","title":"Using localStorage in Modern Applications - A Comprehensive Guide","description":"This guide explores localStorage in JavaScript web apps, detailing its usage, limitations, and alternatives like IndexedDB and AsyncStorage.","sidebar":"tutorialSidebar"},"articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm":{"id":"articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm","title":"LocalStorage vs. IndexedDB vs. Cookies vs. OPFS vs. WASM-SQLite","description":"Compare LocalStorage, IndexedDB, Cookies, OPFS, and WASM-SQLite for web storage, performance, limits, and best practices for modern web apps.","sidebar":"tutorialSidebar"},"articles/mobile-database":{"id":"articles/mobile-database","title":"Real-Time & Offline - RxDB for Mobile Apps","description":"Explore RxDB as your reliable mobile database. Enjoy offline-first capabilities, real-time sync, and seamless integration for hybrid app development.","sidebar":"tutorialSidebar"},"articles/offline-database":{"id":"articles/offline-database","title":"RxDB \u2013 The Ultimate Offline Database with Sync and Encryption","description":"Discover how RxDB serves as a powerful offline database, offering real-time synchronization, secure encryption, and an offline-first approach for modern web and mobile apps.","sidebar":"tutorialSidebar"},"articles/optimistic-ui":{"id":"articles/optimistic-ui","title":"Building an Optimistic UI with RxDB","description":"Learn how to build an Optimistic UI with RxDB for instant and reliable UI updates on user interactions","sidebar":"tutorialSidebar"},"articles/progressive-web-app-database":{"id":"articles/progressive-web-app-database","title":"RxDB as a Database for Progressive Web Apps (PWA)","description":"Discover how RxDB supercharges Progressive Web Apps with real-time sync, offline-first capabilities, and lightning-fast data handling.","sidebar":"tutorialSidebar"},"articles/react-database":{"id":"articles/react-database","title":"RxDB as a Database for React Applications","description":"earn how the RxDB database supercharges React apps with offline access, real-time updates, and smooth data flow. Boost performance and engagement.","sidebar":"tutorialSidebar"},"articles/react-indexeddb":{"id":"articles/react-indexeddb","title":"IndexedDB Database in React Apps - The Power of RxDB","description":"Discover how RxDB simplifies IndexedDB in React, offering reactive queries, offline-first capability, encryption, compression, and effortless integration.","sidebar":"tutorialSidebar"},"articles/react-native-encryption":{"id":"articles/react-native-encryption","title":"React Native Encryption and Encrypted Database/Storage","description":"Secure your React Native app with RxDB encryption. Learn why it matters, how to implement encrypted databases, and best practices to protect user data.","sidebar":"tutorialSidebar"},"articles/reactjs-storage":{"id":"articles/reactjs-storage","title":"ReactJS Storage - From Basic LocalStorage to Advanced Offline Apps with RxDB","description":"Discover how to implement reactjs storage using localStorage for quick key-value data, then move on to more robust offline-first approaches with RxDB, IndexedDB, preact signals, encryption plugins, and more.","sidebar":"tutorialSidebar"},"articles/realtime-database":{"id":"articles/realtime-database","title":"What Really Is a Realtime Database?","description":"Discover how RxDB merges realtime replication and dynamic updates to deliver seamless data sync across browsers, devices, and servers - instantly.","sidebar":"tutorialSidebar"},"articles/vue-database":{"id":"articles/vue-database","title":"RxDB as a Database in a Vue.js Application","description":"Level up your Vue projects with RxDB. Build real-time, resilient, and responsive apps powered by a reactive NoSQL database right in the browser.","sidebar":"tutorialSidebar"},"articles/vue-indexeddb":{"id":"articles/vue-indexeddb","title":"IndexedDB Database in Vue Apps - The Power of RxDB","description":"Learn how RxDB simplifies IndexedDB in Vue, offering reactive queries, offline-first capabilities, encryption, compression, and effortless integration.","sidebar":"tutorialSidebar"},"articles/websockets-sse-polling-webrtc-webtransport":{"id":"articles/websockets-sse-polling-webrtc-webtransport","title":"WebSockets vs Server-Sent-Events vs Long-Polling vs WebRTC vs WebTransport","description":"Learn the unique benefits and pitfalls of each real-time tech. Make informed decisions on WebSockets, SSE, Polling, WebRTC, and WebTransport.","sidebar":"tutorialSidebar"},"articles/zero-latency-local-first":{"id":"articles/zero-latency-local-first","title":"Zero Latency Local First Apps with RxDB \u2013 Sync, Encryption and Compression","description":"Build blazing-fast, zero-latency local first apps with RxDB. Gain instant UI responses, robust offline capabilities, end-to-end encryption, and data compression for streamlined performance.","sidebar":"tutorialSidebar"},"backup":{"id":"backup","title":"Backup","description":"Easily back up your RxDB database to JSON files and attachments on the filesystem with the Backup Plugin - ensuring reliable Node.js data protection.","sidebar":"tutorialSidebar"},"capacitor-database":{"id":"capacitor-database","title":"Capacitor Database Guide - SQLite, RxDB & More","description":"Explore Capacitor\'s top data storage solutions - from key-value to real-time databases. Compare SQLite, RxDB, and more in this in-depth guide.","sidebar":"tutorialSidebar"},"cleanup":{"id":"cleanup","title":"Cleanup","description":"Optimize storage and speed up queries with RxDB\'s Cleanup Plugin, automatically removing old deleted docs while preserving replication states.","sidebar":"tutorialSidebar"},"contribute":{"id":"contribute","title":"Contribute","description":"Got a fix or fresh idea? Learn how to contribute to RxDB, run tests, and shape the future of this cutting-edge NoSQL database for JavaScript.","sidebar":"tutorialSidebar"},"crdt":{"id":"crdt","title":"CRDT - Conflict-free replicated data type Database","description":"Learn how RxDB\'s CRDT Plugin resolves document conflicts automatically in distributed systems, ensuring seamless merges and consistent data.","sidebar":"tutorialSidebar"},"data-migration":{"id":"data-migration","title":"Data Migration","description":"This documentation page has been moved to here"},"dev-mode":{"id":"dev-mode","title":"Development Mode","description":"Enable checks & validations with RxDB Dev Mode. Ensure proper API use, readable errors, and schema validation during development. Avoid in production.","sidebar":"tutorialSidebar"},"downsides-of-offline-first":{"id":"downsides-of-offline-first","title":"Downsides of Local First / Offline First","description":"Discover the hidden pitfalls of local-first apps. Learn about storage limits, conflicts, and real-time illusions before building your offline solution.","sidebar":"tutorialSidebar"},"electron":{"id":"electron","title":"Seamless Electron Storage with RxDB","description":"Use the RxDB Electron Plugin to share data between main and renderer processes. Enjoy quick queries, real-time sync, and robust offline support.","sidebar":"tutorialSidebar"},"electron-database":{"id":"electron-database","title":"Electron Database - Storage adapters for SQLite, Filesystem and In-Memory","description":"Harness the database power of SQLite, Filesystem, and in-memory storage in Electron with RxDB. Build fast, offline-first apps that sync in real time.","sidebar":"tutorialSidebar"},"encryption":{"id":"encryption","title":"Encryption","description":"Explore RxDB\'s \ud83d\udd12 encryption plugin for enhanced data security in web and native apps, featuring password-based encryption and secure storage.","sidebar":"tutorialSidebar"},"errors":{"id":"errors","title":"Error Messages","description":"Learn how RxDB throws RxErrors with codes and parameters. Keep builds lean, yet unveil full messages in development via the DevMode plugin.","sidebar":"tutorialSidebar"},"fulltext-search":{"id":"fulltext-search","title":"Fulltext Search \ud83d\udc51","description":"Master local fulltext search with RxDB\'s FlexSearch plugin. Enjoy real-time indexing, efficient queries, and offline-first support made easy.","sidebar":"tutorialSidebar"},"install":{"id":"install","title":"Installation","description":"Learn how to install RxDB via npm, configure polyfills, and fix global variable errors in Angular or Webpack for a seamless setup.","sidebar":"tutorialSidebar"},"key-compression":{"id":"key-compression","title":"Key Compression","description":"With the key compression plugin, documents will be stored in a compressed format which saves up to 40% disc space.","sidebar":"tutorialSidebar"},"leader-election":{"id":"leader-election","title":"Leader Election","description":"RxDB comes with a leader-election which elects a leading instance between different instances in the same javascript runtime.","sidebar":"tutorialSidebar"},"logger":{"id":"logger","title":"RxDB Logger Plugin - Track & Optimize","description":"Take control of your RxDatabase logs. Monitor every write, query, or attachment retrieval to swiftly diagnose and fix performance bottlenecks.","sidebar":"tutorialSidebar"},"middleware":{"id":"middleware","title":"Streamlined RxDB Middleware","description":"Enhance your RxDB workflow with pre and post hooks. Quickly add custom validations, triggers, and events to streamline your asynchronous operations.","sidebar":"tutorialSidebar"},"migration-schema":{"id":"migration-schema","title":"Seamless Schema Data Migration with RxDB","description":"Upgrade your RxDB collections without losing data. Learn how to seamlessly migrate schema changes and keep your apps running smoothly.","sidebar":"tutorialSidebar"},"migration-storage":{"id":"migration-storage","title":"Migration Storage","description":"Effortlessly migrate your data between storages in RxDB using the Storage Migration plugin. Retain your documents when switching storages or major versions.","sidebar":"tutorialSidebar"},"nodejs-database":{"id":"nodejs-database","title":"RxDB - The Real-Time Database for Node.js","description":"Discover how RxDB brings flexible, reactive NoSQL to Node.js. Scale effortlessly, persist data, and power your server-side apps with ease.","sidebar":"tutorialSidebar"},"nosql-performance-tips":{"id":"nosql-performance-tips","title":"RxDB NoSQL Performance Tips","description":"Skyrocket your NoSQL speed with RxDB tips. Learn about bulk writes, optimized queries, and lean plugin usage for peak performance.","sidebar":"tutorialSidebar"},"offline-first":{"id":"offline-first","title":"Local First / Offline First","description":"Local-First software stores data on client devices for seamless offline and online functionality, enhancing user experience and efficiency.","sidebar":"tutorialSidebar"},"orm":{"id":"orm","title":"ORM","description":"Like mongoose, RxDB has ORM-capabilities which can be used to add specific behavior to documents and collections.","sidebar":"tutorialSidebar"},"overview":{"id":"overview","title":"RxDB Docs","description":"RxDB Documentation Overview","sidebar":"tutorialSidebar"},"plugins":{"id":"plugins","title":"Creating Plugins","description":"Creating your own plugin is very simple. A plugin is basically a javascript-object which overwrites or extends RxDB\'s internal classes, prototypes, and hooks.","sidebar":"tutorialSidebar"},"population":{"id":"population","title":"Populate and Link Docs in RxDB","description":"Learn how to reference and link documents across collections in RxDB. Discover easy population without joins and handle complex relationships.","sidebar":"tutorialSidebar"},"query-cache":{"id":"query-cache","title":"Efficient RxDB Queries via Query Cache","description":"Learn how RxDB\'s Query Cache boosts performance by reusing queries. Discover its default replacement policy and how to define your own.","sidebar":"tutorialSidebar"},"query-optimizer":{"id":"query-optimizer","title":"Optimize Client-Side Queries with RxDB","description":"Harness real-world data to fine-tune queries. The build-time RxDB Optimizer finds the perfect index, boosting query speed in any environment.","sidebar":"tutorialSidebar"},"quickstart":{"id":"quickstart","title":"\ud83d\ude80 Quickstart","description":"Learn how to build a realtime app with RxDB. Follow this quickstart for setup, schema creation, data operations, and real-time syncing.","sidebar":"tutorialSidebar"},"react":{"id":"react","title":"React","description":"RxDB provides first-class support for both React and React Native via a dedicated React integration. This integration makes it possible to use RxDB inside functional components using React Context and hooks, without manually subscribing to observables or managing cleanup logic.","sidebar":"tutorialSidebar"},"react-native-database":{"id":"react-native-database","title":"React Native Database - Sync & Store Like a Pro","description":"Discover top React Native local database solutions - AsyncStorage, SQLite, RxDB, and more. Build offline-ready apps for iOS, Android, and Windows with easy sync.","sidebar":"tutorialSidebar"},"reactivity":{"id":"reactivity","title":"Signals & Custom Reactivity with RxDB","description":"Level up reactivity with Angular signals, Vue refs, or Preact signals in RxDB. Learn how to integrate custom reactivity to power your dynamic UI.","sidebar":"tutorialSidebar"},"releases/10.0.0":{"id":"releases/10.0.0","title":"RxDB 10.0.0 - Built for the Future","description":"Experience faster, future-proof data handling in RxDB 10.0. Explore new storage interfaces, composite keys, and major performance upgrades.","sidebar":"tutorialSidebar"},"releases/11.0.0":{"id":"releases/11.0.0","title":"RxDB 11 - WebWorker Support & More","description":"RxDB 11.0 brings Worker-based storage for multi-core performance gains. Explore the major changes and migrate seamlessly to harness new speeds.","sidebar":"tutorialSidebar"},"releases/12.0.0":{"id":"releases/12.0.0","title":"RxDB 12.0.0 - Clean, Lean & Mean","description":"Upgrade to RxDB 12.0.0 for blazing-fast queries, streamlined replication, and better index usage. Explore new features and power up your app.","sidebar":"tutorialSidebar"},"releases/13.0.0":{"id":"releases/13.0.0","title":"RxDB 13.0.0 - A New Era of Replication","description":"Discover RxDB 13.0\'s brand-new replication protocol, faster performance, and real-time collaboration for a seamless offline-first experience.","sidebar":"tutorialSidebar"},"releases/14.0.0":{"id":"releases/14.0.0","title":"RxDB 14.0 - Major Changes & New Features","description":"Discover RxDB 14.0, a major release packed with API changes, improved performance, and streamlined storage, ensuring faster data operations than ever.","sidebar":"tutorialSidebar"},"releases/15.0.0":{"id":"releases/15.0.0","title":"RxDB 15.0.0 - Major Migration Overhaul","description":"Discover RxDB 15.0.0, featuring new migration strategies, replication improvements, and lightning-fast performance to supercharge your app.","sidebar":"tutorialSidebar"},"releases/16.0.0":{"id":"releases/16.0.0","title":"RxDB 16.0.0 - Efficiency Redefined","description":"Meet RxDB 16.0.0 - major refactorings, improved performance, and easy migrations. Experience a better, faster, and more stable database solution today.","sidebar":"tutorialSidebar"},"releases/17.0.0":{"id":"releases/17.0.0","title":"RxDB 17.0.0","description":"RxDB 17 introduces improved reactivity APIs, better debugging, breaking storage fixes, and multiple plugins graduating from beta.","sidebar":"tutorialSidebar"},"releases/8.0.0":{"id":"releases/8.0.0","title":"Meet RxDB 8.0.0 - New Defaults & Performance","description":"Discover how RxDB 8.0.0 boosts performance, simplifies schema handling, and streamlines reactive data updates for modern apps.","sidebar":"tutorialSidebar"},"releases/9.0.0":{"id":"releases/9.0.0","title":"RxDB 9.0.0 - Faster & Simpler","description":"Discover RxDB 9.0.0\'s streamlined plugins, top-level schema definitions, and improved dev-mode. Experience a simpler, faster real-time database.","sidebar":"tutorialSidebar"},"replication":{"id":"replication","title":"\u2699\ufe0f RxDB realtime Sync Engine for Local-First Apps","description":"Replicate data in real-time with RxDB\'s offline-first Sync Engine. Learn about efficient syncing, conflict resolution, and advanced multi-tab support.","sidebar":"tutorialSidebar"},"replication-appwrite":{"id":"replication-appwrite","title":"Appwrite Realtime Sync for Local-First Apps","description":"Sync RxDB with Appwrite for local-first apps. Supports real-time updates, offline mode, conflict resolution, and secure push/pull replication.","sidebar":"tutorialSidebar"},"replication-couchdb":{"id":"replication-couchdb","title":"RxDB\'s CouchDB Replication Plugin","description":"Replicate your RxDB collections with CouchDB the fast way. Enjoy faster sync, easier conflict handling, and flexible storage using this modern plugin.","sidebar":"tutorialSidebar"},"replication-firestore":{"id":"replication-firestore","title":"Smooth Firestore Sync for Offline Apps","description":"Leverage RxDB to enable real-time, offline-first replication with Firestore. Cut cloud costs, resolve conflicts, and speed up your app.","sidebar":"tutorialSidebar"},"replication-graphql":{"id":"replication-graphql","title":"GraphQL Replication","description":"The GraphQL replication provides handlers for GraphQL to run replication with GraphQL as the transportation layer.","sidebar":"tutorialSidebar"},"replication-http":{"id":"replication-http","title":"HTTP Replication","description":"Learn how to establish HTTP replication between RxDB clients and a Node.js Express server for data synchronization.","sidebar":"tutorialSidebar"},"replication-mongodb":{"id":"replication-mongodb","title":"MongoDB Realtime Sync Engine for Local-First Apps","description":"Build real-time, offline-capable apps with RxDB + MongoDB replication. Push/pull changes, use change streams, and keep data in sync across devices.","sidebar":"tutorialSidebar"},"replication-nats":{"id":"replication-nats","title":"RxDB & NATS - Realtime Sync","description":"Seamlessly sync your RxDB data with NATS for real-time, two-way replication. Handle conflicts, errors, and retries with ease.","sidebar":"tutorialSidebar"},"replication-p2p":{"id":"replication-p2p","title":"Seamless P2P Data Sync","description":"Discover how replication-webrtc ensures secure P2P data sync and real-time collaboration with RxDB. Explore the future of offline-first apps!"},"replication-server":{"id":"replication-server","title":"RxDB Server Replication","description":"The Server Replication Plugin connects to the replication endpoint of an RxDB Server Replication Endpoint and replicates data between the client and the server.","sidebar":"tutorialSidebar"},"replication-supabase":{"id":"replication-supabase","title":"Supabase Replication Plugin for RxDB - Real-Time, Offline-First Sync","description":"Build real-time, offline-capable apps with RxDB + Supabase. Push/pull changes via PostgREST, stream updates with Realtime, and keep data in sync across devices.","sidebar":"tutorialSidebar"},"replication-webrtc":{"id":"replication-webrtc","title":"WebRTC P2P Replication with RxDB - Sync Browsers and Devices","description":"Learn to set up peer-to-peer WebRTC replication with RxDB. Bypass central servers and enjoy secure, low-latency data sync across all clients.","sidebar":"tutorialSidebar"},"replication-websocket":{"id":"replication-websocket","title":"Websocket Replication","description":"With the websocket replication plugin, you can spawn a websocket server from a RxDB database in Node.js and replicate with it.","sidebar":"tutorialSidebar"},"rx-attachment":{"id":"rx-attachment","title":"Attachments","description":"Learn how to store and manage binary data like images or files in RxDB using attachments. Discover features, performance benefits, encryption, compression, and usage examples with code.","sidebar":"tutorialSidebar"},"rx-collection":{"id":"rx-collection","title":"Master Data - Create and Manage RxCollections","description":"Discover how to create, manage, and migrate documents in RxCollections. Harness real-time data flows, secure encryption, and powerful performance in RxDB.","sidebar":"tutorialSidebar"},"rx-database":{"id":"rx-database","title":"RxDatabase - The Core of Your Realtime Data","description":"Get started with RxDatabase and integrate multiple storages. Learn to create, encrypt, and optimize your realtime database today.","sidebar":"tutorialSidebar"},"rx-document":{"id":"rx-document","title":"RxDocument","description":"Master RxDB\'s RxDocument - Insert, find, update, remove, and more for streamlined data handling in modern apps.","sidebar":"tutorialSidebar"},"rx-local-document":{"id":"rx-local-document","title":"Master Local Documents in RxDB","description":"Effortlessly store custom metadata and app settings in RxDB. Learn how Local Documents keep data flexible, secure, and easy to manage.","sidebar":"tutorialSidebar"},"rx-pipeline":{"id":"rx-pipeline","title":"RxPipeline - Automate Data Flows in RxDB","description":"Discover how RxPipeline automates your data workflows. Seamlessly process writes, manage leader election, and ensure crash-safe operations in RxDB.","sidebar":"tutorialSidebar"},"rx-query":{"id":"rx-query","title":"RxQuery","description":"Master RxQuery in RxDB - find, update, remove documents using Mango syntax, chained queries, real-time observations, indexing, and more.","sidebar":"tutorialSidebar"},"rx-schema":{"id":"rx-schema","title":"Design Perfect Schemas in RxDB","description":"Learn how to define, secure, and validate your data in RxDB. Master primary keys, indexes, encryption, and more with the RxSchema approach.","sidebar":"tutorialSidebar"},"rx-server":{"id":"rx-server","title":"RxDB Server - Deploy Your Data","description":"Launch a secure, high-performance server on top of your RxDB database. Enable REST, replication endpoints, and seamless data syncing with RxServer.","sidebar":"tutorialSidebar"},"rx-server-scaling":{"id":"rx-server-scaling","title":"RxServer Scaling - Vertical or Horizontal","description":"Discover vertical and horizontal techniques to boost RxServer. Learn multiple processes, worker threads, and replication for limitless performance.","sidebar":"tutorialSidebar"},"rx-state":{"id":"rx-state","title":"RxState - Reactive Persistent State with RxDB","description":"Get real-time, persistent state without the hassle. RxState integrates easily with signals and hooks, ensuring smooth updates across tabs and devices.","sidebar":"tutorialSidebar"},"rx-storage":{"id":"rx-storage","title":"\u2699\ufe0f RxStorage Layer - Choose the Perfect RxDB Storage for Every Use Case","description":"Discover how RxDB\'s modular RxStorage lets you swap engines and unlock top performance, no matter the environment or use case.","sidebar":"tutorialSidebar"},"rx-storage-denokv":{"id":"rx-storage-denokv","title":"DenoKV RxStorage","description":"With the DenoKV RxStorage layer for RxDB, you can run a fully featured NoSQL database on top of the DenoKV API.","sidebar":"tutorialSidebar"},"rx-storage-dexie":{"id":"rx-storage-dexie","title":"RxDB Dexie.js Database - Fast, Reactive, Sync with Any Backend","description":"Use Dexie.js to power RxDB in the browser. Enjoy quick setup, Dexie addons, and reliable storage for small apps or prototypes.","sidebar":"tutorialSidebar"},"rx-storage-filesystem-node":{"id":"rx-storage-filesystem-node","title":"Blazing-Fast Node Filesystem Storage","description":"Get up and running quickly with RxDB\'s Filesystem Node RxStorage. Store data in JSON, embrace multi-instance support, and enjoy a simpler database.","sidebar":"tutorialSidebar"},"rx-storage-foundationdb":{"id":"rx-storage-foundationdb","title":"RxDB on FoundationDB - Performance at Scale","description":"Combine FoundationDB\'s reliability with RxDB\'s indexing and schema validation. Build scalable apps with faster queries and real-time data.","sidebar":"tutorialSidebar"},"rx-storage-indexeddb":{"id":"rx-storage-indexeddb","title":"Instant Performance with IndexedDB RxStorage","description":"Choose IndexedDB RxStorage for unmatched speed and minimal build size. Perfect for fast-performing apps that demand reliable, lightweight data solutions.","sidebar":"tutorialSidebar"},"rx-storage-localstorage":{"id":"rx-storage-localstorage","title":"RxDB LocalStorage - The Easiest Way to Persist Data in Your Web App","description":"Discover how to quickly set up RxDB\'s LocalStorage-based storage as the recommended default. Learn its benefits, limitations, and why it\u2019s perfect for demos, prototypes, and lightweight applications.","sidebar":"tutorialSidebar"},"rx-storage-localstorage-meta-optimizer":{"id":"rx-storage-localstorage-meta-optimizer","title":"Fastest RxDB Starts - Localstorage Meta Optimizer","description":"Wrap any RxStorage with localStorage metadata to slash initial load by up to 200ms. Unlock speed with this must-have RxDB Premium plugin.","sidebar":"tutorialSidebar"},"rx-storage-lokijs":{"id":"rx-storage-lokijs","title":"Empower RxDB with the LokiJS RxStorage","description":"Discover the lightning-fast LokiJS RxStorage for RxDB. Explore in-memory speed, multi-tab support, and pros & cons of this unique storage solution."},"rx-storage-memory":{"id":"rx-storage-memory","title":"Lightning-Fast Memory Storage for RxDB","description":"Use Memory RxStorage for a high-performance, JavaScript in-memory database. Built for speed, making it perfect for unit tests and rapid prototyping.","sidebar":"tutorialSidebar"},"rx-storage-memory-mapped":{"id":"rx-storage-memory-mapped","title":"Blazing-Fast Memory Mapped RxStorage","description":"Boost your app\'s performance with Memory Mapped RxStorage. Query and write in-memory while seamlessly persisting data to your chosen storage.","sidebar":"tutorialSidebar"},"rx-storage-memory-synced":{"id":"rx-storage-memory-synced","title":"Instant Performance with Memory Synced RxStorage","description":"Accelerate RxDB with in-memory storage replicated to disk. Enjoy instant queries, faster loads, and unstoppable performance for your web apps."},"rx-storage-mongodb":{"id":"rx-storage-mongodb","title":"Unlock MongoDB Power with RxDB","description":"Combine RxDB\'s real-time sync with MongoDB\'s scalability. Harness the MongoDB RxStorage to seamlessly expand your database capabilities.","sidebar":"tutorialSidebar"},"rx-storage-opfs":{"id":"rx-storage-opfs","title":"Supercharged OPFS Database with RxDB","description":"Discover how to harness the Origin Private File System with RxDB\'s OPFS RxStorage for unrivaled performance and security in client-side data storage.","sidebar":"tutorialSidebar"},"rx-storage-performance":{"id":"rx-storage-performance","title":"\ud83d\udcc8 Discover RxDB Storage Benchmarks","description":"Explore real-world benchmarks comparing RxDB\'s persistent and semi-persistent storages. Discover which storage option delivers the fastest performance.","sidebar":"tutorialSidebar"},"rx-storage-pouchdb":{"id":"rx-storage-pouchdb","title":"PouchDB RxStorage - Migrate for Better Performance","description":"Discover why PouchDB RxStorage is deprecated in RxDB. Learn its legacy, performance drawbacks, and how to upgrade to a faster solution."},"rx-storage-remote":{"id":"rx-storage-remote","title":"Remote RxStorage","description":"The Remote RxStorage is made to use a remote storage and communicate with it over an asynchronous message channel.","sidebar":"tutorialSidebar"},"rx-storage-sharding":{"id":"rx-storage-sharding","title":"Sharding RxStorage \ud83d\udc51","description":"With the sharding plugin, you can improve the write and query times of some RxStorage implementations.","sidebar":"tutorialSidebar"},"rx-storage-shared-worker":{"id":"rx-storage-shared-worker","title":"Boost Performance with SharedWorker RxStorage","description":"Tap into single-instance storage with RxDB\'s SharedWorker. Improve efficiency, cut duplication, and keep your app lightning-fast across tabs.","sidebar":"tutorialSidebar"},"rx-storage-sqlite":{"id":"rx-storage-sqlite","title":"RxDB SQLite RxStorage for Hybrid Apps","description":"Unlock seamless persistence with SQLite RxStorage. Explore usage in hybrid apps, compare performance, and leverage advanced features like attachments.","sidebar":"tutorialSidebar"},"rx-storage-worker":{"id":"rx-storage-worker","title":"Turbocharge RxDB with Worker RxStorage","description":"Offload RxDB queries to WebWorkers or Worker Threads, freeing the main thread and boosting performance. Experience smoother apps with Worker RxStorage.","sidebar":"tutorialSidebar"},"rxdb-tradeoffs":{"id":"rxdb-tradeoffs","title":"RxDB Tradeoffs - Why NoSQL Triumphs on the Client","description":"Uncover RxDB\'s approach to modern database needs. From JSON-based queries to conflict handling without transactions, learn RxDB\'s unique tradeoffs."},"schema-validation":{"id":"schema-validation","title":"Schema Validation","description":"RxDB has multiple validation implementations that can be used to ensure that your document data is always matching the provided JSON","sidebar":"tutorialSidebar"},"slow-indexeddb":{"id":"slow-indexeddb","title":"Solving IndexedDB Slowness for Seamless Apps","description":"Struggling with IndexedDB performance? Discover hidden bottlenecks, advanced tuning techniques, and next-gen storage like the File System Access API.","sidebar":"tutorialSidebar"},"third-party-plugins":{"id":"third-party-plugins","title":"Boost Your RxDB with Powerful Third-Party Plugins","description":"Unleash RxDB\'s full power! Explore third-party plugins for advanced hooks, text search, Laravel Orion, Supabase replication, and more.","sidebar":"tutorialSidebar"},"transactions-conflicts-revisions":{"id":"transactions-conflicts-revisions","title":"Transactions, Conflicts and Revisions","description":"Learn RxDB\'s approach to local and replication conflicts. Discover how incremental writes and custom handlers keep your app stable and efficient.","sidebar":"tutorialSidebar"},"tutorials/typescript":{"id":"tutorials/typescript","title":"TypeScript Setup","description":"Use RxDB with TypeScript to define typed schemas, create typed collections, and build fully typed ORM methods. A quick step-by-step guide.","sidebar":"tutorialSidebar"},"why-nosql":{"id":"why-nosql","title":"Why NoSQL Powers Modern UI Apps","description":"Discover how NoSQL enables offline-first UI apps. Learn about easy replication, conflict resolution, and why relational data isn\'t always necessary.","sidebar":"tutorialSidebar"}}}}')}}]);
\ No newline at end of file
diff --git a/docs/assets/js/2456d5e0.565789dc.js b/docs/assets/js/2456d5e0.565789dc.js
deleted file mode 100644
index 93e0181e3ec..00000000000
--- a/docs/assets/js/2456d5e0.565789dc.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[2966],{7615(e,s,n){n.r(s),n.d(s,{assets:()=>l,contentTitle:()=>t,default:()=>h,frontMatter:()=>i,metadata:()=>r,toc:()=>c});const r=JSON.parse('{"id":"rx-database","title":"RxDatabase - The Core of Your Realtime Data","description":"Get started with RxDatabase and integrate multiple storages. Learn to create, encrypt, and optimize your realtime database today.","source":"@site/docs/rx-database.md","sourceDirName":".","slug":"/rx-database.html","permalink":"/rx-database.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"RxDatabase - The Core of Your Realtime Data","slug":"rx-database.html","description":"Get started with RxDatabase and integrate multiple storages. Learn to create, encrypt, and optimize your realtime database today."},"sidebar":"tutorialSidebar","previous":{"title":"TypeScript Setup","permalink":"/tutorials/typescript.html"},"next":{"title":"RxSchema","permalink":"/rx-schema.html"}}');var a=n(4848),o=n(8453);const i={title:"RxDatabase - The Core of Your Realtime Data",slug:"rx-database.html",description:"Get started with RxDatabase and integrate multiple storages. Learn to create, encrypt, and optimize your realtime database today."},t="RxDatabase",l={},c=[{value:"Creation",id:"creation",level:2},{value:"name",id:"name",level:3},{value:"storage",id:"storage",level:3},{value:"password",id:"password",level:3},{value:"multiInstance",id:"multiinstance",level:3},{value:"eventReduce",id:"eventreduce",level:3},{value:"ignoreDuplicate",id:"ignoreduplicate",level:3},{value:"closeDuplicates",id:"closeduplicates",level:3},{value:"hashFunction",id:"hashfunction",level:3},{value:"Methods",id:"methods",level:2},{value:"Observe with $",id:"observe-with-",level:3},{value:"exportJSON()",id:"exportjson",level:3},{value:"importJSON()",id:"importjson",level:3},{value:"backup()",id:"backup",level:3},{value:"waitForLeadership()",id:"waitforleadership",level:3},{value:"requestIdlePromise()",id:"requestidlepromise",level:3},{value:"close()",id:"close",level:3},{value:"remove()",id:"remove",level:3},{value:"isRxDatabase",id:"isrxdatabase",level:3},{value:"collections$",id:"collections",level:3}];function d(e){const s={a:"a",code:"code",figure:"figure",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",p:"p",pre:"pre",span:"span",ul:"ul",...(0,o.R)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(s.header,{children:(0,a.jsx)(s.h1,{id:"rxdatabase",children:"RxDatabase"})}),"\n",(0,a.jsx)(s.p,{children:"A RxDatabase-Object contains your collections and handles the synchronization of change-events."}),"\n",(0,a.jsx)(s.h2,{id:"creation",children:"Creation"}),"\n",(0,a.jsxs)(s.p,{children:["The database is created by the asynchronous ",(0,a.jsx)(s.code,{children:".createRxDatabase()"})," function of the core RxDB module. It has the following parameters:"]}),"\n",(0,a.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,a.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"javascript","data-theme":"css-variables",children:(0,a.jsxs)(s.code,{"data-language":"javascript","data-theme":"css-variables",style:{display:"grid"},children:[(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { createRxDatabase } "}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/core'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { getRxStorageLocalstorage } "}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/storage-localstorage'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'heroesdb'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // <- name"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageLocalstorage"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"()"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // <- RxStorage"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" /* Optional parameters: */"})}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" password"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'myPassword'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // <- password (optional)"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" multiInstance"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" true"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // <- multiInstance (optional, default: true)"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" eventReduce"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" true"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // <- eventReduce (optional, default: false)"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" cleanupPolicy"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {} "}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// <- custom cleanup policy (optional) "})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,a.jsx)(s.h3,{id:"name",children:"name"}),"\n",(0,a.jsxs)(s.p,{children:["The database-name is a string which uniquely identifies the database. When two RxDatabases have the same name and use the same ",(0,a.jsx)(s.code,{children:"RxStorage"}),", their data can be assumed as equal and they will share events between each other.\nDepending on the storage or adapter this can also be used to define the filesystem folder of your data."]}),"\n",(0,a.jsx)(s.h3,{id:"storage",children:"storage"}),"\n",(0,a.jsxs)(s.p,{children:["RxDB works on top of an implementation of the ",(0,a.jsx)(s.a,{href:"/rx-storage.html",children:"RxStorage"})," interface. This interface is an abstraction that allows you to use different underlying databases that actually handle the documents. Depending on your use case you might use a different ",(0,a.jsx)(s.code,{children:"storage"})," with different tradeoffs in performance, bundle size or supported runtimes."]}),"\n",(0,a.jsxs)(s.p,{children:["There are many ",(0,a.jsx)(s.code,{children:"RxStorage"})," implementations that can be used depending on the JavaScript environment and performance requirements.\nFor example you can use the ",(0,a.jsx)(s.a,{href:"/rx-storage-localstorage.html",children:"LocalStorage RxStorage"})," in the browser or use the ",(0,a.jsx)(s.a,{href:"/rx-storage-mongodb.html",children:"MongoDB RxStorage"})," in Node.js."]}),"\n",(0,a.jsxs)(s.ul,{children:["\n",(0,a.jsx)(s.li,{children:(0,a.jsx)(s.a,{href:"/rx-storage.html",children:"List of RxStorage implementations"})}),"\n"]}),"\n",(0,a.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,a.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"javascript","data-theme":"css-variables",children:(0,a.jsxs)(s.code,{"data-language":"javascript","data-theme":"css-variables",style:{display:"grid"},children:[(0,a.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// use the LocalStroage that stores data in the browser."})}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { getRxStorageLocalstorage } "}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/storage-localstorage'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'mydatabase'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageLocalstorage"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"()"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// ...or use the MongoDB RxStorage in Node.js."})}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { getRxStorageMongoDB } "}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/storage-mongodb'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" dbMongo"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'mydatabase'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageMongoDB"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" connection"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'mongodb://localhost:27017,localhost:27018,localhost:27019'"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" })"})}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,a.jsx)(s.h3,{id:"password",children:"password"}),"\n",(0,a.jsxs)(s.p,{children:[(0,a.jsx)(s.code,{children:"(optional)"}),"\nIf you want to use encrypted fields in the collections of a database, you have to set a password for it. The password must be a string with at least 12 characters."]}),"\n",(0,a.jsxs)(s.p,{children:[(0,a.jsx)(s.a,{href:"/encryption.html",children:"Read more about encryption here"}),"."]}),"\n",(0,a.jsx)(s.h3,{id:"multiinstance",children:"multiInstance"}),"\n",(0,a.jsxs)(s.p,{children:[(0,a.jsx)(s.code,{children:"(optional=true)"}),"\nWhen you create more than one instance of the same database in a single javascript-runtime, you should set ",(0,a.jsx)(s.code,{children:"multiInstance"})," to ",(0,a.jsx)(s.code,{children:"true"}),". This will enable the event sharing between the two instances. For example when the user has opened multiple browser windows, events will be shared between them so that both windows react to the same changes.\n",(0,a.jsx)(s.code,{children:"multiInstance"})," should be set to ",(0,a.jsx)(s.code,{children:"false"})," when you have single-instances like a single Node.js-process, a react-native-app, a cordova-app or a single-window ",(0,a.jsx)(s.a,{href:"/electron-database.html",children:"electron"})," app which can decrease the startup time because no instance coordination has to be done."]}),"\n",(0,a.jsx)(s.h3,{id:"eventreduce",children:"eventReduce"}),"\n",(0,a.jsx)(s.p,{children:(0,a.jsx)(s.code,{children:"(optional=false)"})}),"\n",(0,a.jsxs)(s.p,{children:["One big benefit of having a realtime database is that big performance optimizations can be done when the database knows a query is observed and the updated results are needed continuously. RxDB uses the ",(0,a.jsx)(s.a,{href:"https://github.com/pubkey/event-reduce",children:"EventReduce Algorithm"})," to optimize observer or recurring queries."]}),"\n",(0,a.jsxs)(s.p,{children:["For better performance, you should always set ",(0,a.jsx)(s.code,{children:"eventReduce: true"}),". This will also be the default in the next major RxDB version."]}),"\n",(0,a.jsx)(s.h3,{id:"ignoreduplicate",children:"ignoreDuplicate"}),"\n",(0,a.jsxs)(s.p,{children:[(0,a.jsx)(s.code,{children:"(optional=false)"}),"\nIf you create multiple RxDatabase-instances with the same name and same adapter, it's very likely that you have done something wrong.\nTo prevent this common mistake, RxDB will throw an error when you do this.\nIn some rare cases like unit-tests, you want to do this intentional by setting ",(0,a.jsx)(s.code,{children:"ignoreDuplicate"})," to ",(0,a.jsx)(s.code,{children:"true"}),". Because setting ",(0,a.jsx)(s.code,{children:"ignoreDuplicate: true"})," in production will decrease the performance by having multiple instances of the same database, ",(0,a.jsx)(s.code,{children:"ignoreDuplicate"})," is only allowed to be set in ",(0,a.jsx)(s.a,{href:"/dev-mode.html",children:"dev-mode"}),"."]}),"\n",(0,a.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,a.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"js","data-theme":"css-variables",children:(0,a.jsxs)(s.code,{"data-language":"js","data-theme":"css-variables",style:{display:"grid"},children:[(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db1"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'heroesdb'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageLocalstorage"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"()"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ignoreDuplicate"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" true"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db2"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'heroesdb'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageLocalstorage"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"()"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ignoreDuplicate"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" true"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // this create-call will not throw because you explicitly allow it"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,a.jsx)(s.h3,{id:"closeduplicates",children:"closeDuplicates"}),"\n",(0,a.jsx)(s.p,{children:(0,a.jsx)(s.code,{children:"(optional=false)"})}),"\n",(0,a.jsx)(s.p,{children:"Closes all other RxDatabases instances that have the same storage+name combination."}),"\n",(0,a.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,a.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"js","data-theme":"css-variables",children:(0,a.jsxs)(s.code,{"data-language":"js","data-theme":"css-variables",style:{display:"grid"},children:[(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db1"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'heroesdb'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageLocalstorage"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"()"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" closeDuplicates"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" true"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db2"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'heroesdb'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageLocalstorage"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"()"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" closeDuplicates"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" true"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // this create-call will close db1"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// db1 is now closed."})})]})})}),"\n",(0,a.jsx)(s.h3,{id:"hashfunction",children:"hashFunction"}),"\n",(0,a.jsxs)(s.p,{children:["By default, RxDB will use ",(0,a.jsx)(s.code,{children:"crypto.subtle.digest('SHA-256', data)"})," for hashing. If you need a different hash function or the ",(0,a.jsx)(s.code,{children:"crypto.subtle"})," API is not supported in your JavaScript runtime, you can provide an own hash function instead. A hash function gets a string as input and returns a ",(0,a.jsx)(s.code,{children:"Promise"})," that resolves a string."]}),"\n",(0,a.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,a.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,a.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// example hash function that runs in plain JavaScript"})}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { sha256 } "}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'ohash'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" myOwnHashFunction"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(input"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" string"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:") {"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" Promise"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".resolve"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"sha256"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(input));"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"}"})}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" hashFunction"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" myOwnHashFunction"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" /* ... */"})}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,a.jsxs)(s.p,{children:["If you get the error message ",(0,a.jsx)(s.code,{children:"TypeError: Cannot read properties of undefined (reading 'digest')"})," this likely means that you are neither running on ",(0,a.jsx)(s.code,{children:"localhost"})," nor on ",(0,a.jsx)(s.code,{children:"https"})," which is why your browser might not allow access to ",(0,a.jsx)(s.code,{children:"crypto.subtle.digest"}),"."]}),"\n",(0,a.jsx)(s.h2,{id:"methods",children:"Methods"}),"\n",(0,a.jsx)(s.h3,{id:"observe-with-",children:"Observe with $"}),"\n",(0,a.jsxs)(s.p,{children:["Calling this will return an ",(0,a.jsx)(s.a,{href:"http://reactivex.io/documentation/observable.html",children:"rxjs-Observable"})," which streams all write events of the ",(0,a.jsx)(s.code,{children:"RxDatabase"}),"."]}),"\n",(0,a.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,a.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"javascript","data-theme":"css-variables",children:(0,a.jsx)(s.code,{"data-language":"javascript","data-theme":"css-variables",style:{display:"grid"},children:(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"myDb"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"$"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".subscribe"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(changeEvent "}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" console"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".dir"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(changeEvent));"})]})})})}),"\n",(0,a.jsx)(s.h3,{id:"exportjson",children:"exportJSON()"}),"\n",(0,a.jsxs)(s.p,{children:["Use this function to create a json-export from every piece of data in every collection of this database. You can pass ",(0,a.jsx)(s.code,{children:"true"})," as a parameter to decrypt the encrypted data-fields of your document."]}),"\n",(0,a.jsxs)(s.p,{children:["Before ",(0,a.jsx)(s.code,{children:"exportJSON()"})," and ",(0,a.jsx)(s.code,{children:"importJSON()"})," can be used, you have to add the ",(0,a.jsx)(s.code,{children:"json-dump"})," plugin."]}),"\n",(0,a.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,a.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"javascript","data-theme":"css-variables",children:(0,a.jsxs)(s.code,{"data-language":"javascript","data-theme":"css-variables",style:{display:"grid"},children:[(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { addRxPlugin } "}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { RxDBJsonDumpPlugin } "}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/json-dump'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"addRxPlugin"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(RxDBJsonDumpPlugin);"})]})]})})}),"\n",(0,a.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,a.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"javascript","data-theme":"css-variables",children:(0,a.jsxs)(s.code,{"data-language":"javascript","data-theme":"css-variables",style:{display:"grid"},children:[(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"myDatabase"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".exportJSON"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"()"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" .then"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(json "}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" console"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".dir"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(json));"})]})]})})}),"\n",(0,a.jsx)(s.h3,{id:"importjson",children:"importJSON()"}),"\n",(0,a.jsx)(s.p,{children:"To import the json-dumps into your database, use this function."}),"\n",(0,a.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,a.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"javascript","data-theme":"css-variables",children:(0,a.jsxs)(s.code,{"data-language":"javascript","data-theme":"css-variables",style:{display:"grid"},children:[(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// import the dump to the database"})}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"emptyDatabase"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".importJSON"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(json)"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" .then"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(() "}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" console"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".log"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'done'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"));"})]})]})})}),"\n",(0,a.jsx)(s.h3,{id:"backup",children:"backup()"}),"\n",(0,a.jsxs)(s.p,{children:["Writes the current (or ongoing) database state to the filesystem. ",(0,a.jsx)(s.a,{href:"/backup.html",children:"Read more"})]}),"\n",(0,a.jsx)(s.h3,{id:"waitforleadership",children:"waitForLeadership()"}),"\n",(0,a.jsxs)(s.p,{children:["Returns a Promise which resolves when the RxDatabase becomes ",(0,a.jsx)(s.a,{href:"/leader-election.html",children:"elected leader"}),"."]}),"\n",(0,a.jsx)(s.h3,{id:"requestidlepromise",children:"requestIdlePromise()"}),"\n",(0,a.jsxs)(s.p,{children:["Returns a promise which resolves when the database is in idle. This works similar to ",(0,a.jsx)(s.a,{href:"https://developer.mozilla.org/de/docs/Web/API/Window/requestIdleCallback",children:"requestIdleCallback"})," but tracks the idle-ness of the database instead of the CPU.\nUse this for semi-important tasks like cleanups which should not affect the speed of important tasks."]}),"\n",(0,a.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,a.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"javascript","data-theme":"css-variables",children:(0,a.jsxs)(s.code,{"data-language":"javascript","data-theme":"css-variables",style:{display:"grid"},children:[(0,a.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"myDatabase"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".requestIdlePromise"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"()"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".then"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(() "}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // this will run at the moment the database has nothing else to do"})}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" myCollection"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".customCleanupFunction"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// with timeout"})}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"myDatabase"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".requestIdlePromise"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"1000"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" /* time in ms */"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:")"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".then"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(() "}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // this will run at the moment the database has nothing else to do"})}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // or the timeout has passed"})}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" myCollection"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".customCleanupFunction"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:" "})]})})}),"\n",(0,a.jsx)(s.h3,{id:"close",children:"close()"}),"\n",(0,a.jsxs)(s.p,{children:["Closes the databases object-instance. This is to free up memory and stop all observers and replications.\nReturns a ",(0,a.jsx)(s.code,{children:"Promise"})," that resolves when the database is closed.\nClosing a database will not remove the databases data. When you create the database again with ",(0,a.jsx)(s.code,{children:"createRxDatabase()"}),", all data will still be there."]}),"\n",(0,a.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,a.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"javascript","data-theme":"css-variables",children:(0,a.jsx)(s.code,{"data-language":"javascript","data-theme":"css-variables",style:{display:"grid"},children:(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" myDatabase"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".close"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]})})})}),"\n",(0,a.jsx)(s.h3,{id:"remove",children:"remove()"}),"\n",(0,a.jsx)(s.p,{children:"Wipes all documents from the storage. Use this to free up disc space."}),"\n",(0,a.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,a.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"javascript","data-theme":"css-variables",children:(0,a.jsxs)(s.code,{"data-language":"javascript","data-theme":"css-variables",style:{display:"grid"},children:[(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" myDatabase"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".remove"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// database instance is now gone"})})]})})}),"\n",(0,a.jsxs)(s.p,{children:["You can also clear a database without removing its instance by using ",(0,a.jsx)(s.code,{children:"removeRxDatabase()"}),". This is useful if you want to migrate data or reset the users state by renaming the database. Then you can remove the previous data with ",(0,a.jsx)(s.code,{children:"removeRxDatabase()"})," without creating a RxDatabase first. Notice that this will only remove the\nstored data on the storage. It will not clear the cache of any ",(0,a.jsx)(s.a,{href:"/rx-database.html",children:"RxDatabase"})," instances."]}),"\n",(0,a.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,a.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"javascript","data-theme":"css-variables",children:(0,a.jsxs)(s.code,{"data-language":"javascript","data-theme":"css-variables",style:{display:"grid"},children:[(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { removeRxDatabase } "}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"removeRxDatabase"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'mydatabasename'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'localstorage'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})]})]})})}),"\n",(0,a.jsx)(s.h3,{id:"isrxdatabase",children:"isRxDatabase"}),"\n",(0,a.jsx)(s.p,{children:"Returns true if the given object is an instance of RxDatabase. Returns false if not."}),"\n",(0,a.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,a.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"javascript","data-theme":"css-variables",children:(0,a.jsxs)(s.code,{"data-language":"javascript","data-theme":"css-variables",style:{display:"grid"},children:[(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { isRxDatabase } "}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" is"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" isRxDatabase"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(myObj);"})]})]})})}),"\n",(0,a.jsx)(s.h3,{id:"collections",children:"collections$"}),"\n",(0,a.jsxs)(s.p,{children:["Emits events whenever a ",(0,a.jsx)(s.a,{href:"/rx-collection.html",children:"RxCollection"})," is added or removed to the instance of the RxDatabase. Notice that this only emits the JavaScript instance of the RxCollection class, it does not emit events across browser tabs."]}),"\n",(0,a.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,a.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"javascript","data-theme":"css-variables",children:(0,a.jsxs)(s.code,{"data-language":"javascript","data-theme":"css-variables",style:{display:"grid"},children:[(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" sub"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" myDatabase"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"collections$"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".subscribe"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(event "}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" console"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".dir"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(event);"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" myDatabase"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".addCollections"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" heroes"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" schema"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" mySchema"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// -> emits the event"})}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"sub"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".unsubscribe"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]})]})})})]})}function h(e={}){const{wrapper:s}={...(0,o.R)(),...e.components};return s?(0,a.jsx)(s,{...e,children:(0,a.jsx)(d,{...e})}):d(e)}},8453(e,s,n){n.d(s,{R:()=>i,x:()=>t});var r=n(6540);const a={},o=r.createContext(a);function i(e){const s=r.useContext(o);return r.useMemo(function(){return"function"==typeof e?e(s):{...s,...e}},[s,e])}function t(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:i(e.components),r.createElement(o.Provider,{value:s},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/25626d15.27c1b41f.js b/docs/assets/js/25626d15.27c1b41f.js
deleted file mode 100644
index 6c3bcc50301..00000000000
--- a/docs/assets/js/25626d15.27c1b41f.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[268],{7258(e,t,i){i.r(t),i.d(t,{default:()=>n});var s=i(4586),r=i(8711),c=i(6540),l=i(8141),h=i(4848);function n(){const{siteConfig:e}=(0,s.A)();return(0,c.useEffect)(()=>{(0,l.c)("join_chat",.4)}),(0,h.jsx)(r.A,{title:`Chat - ${e.title}`,description:"RxDB Community Chat",children:(0,h.jsx)("main",{children:(0,h.jsxs)("div",{className:"redirectBox",style:{textAlign:"center"},children:[(0,h.jsx)("a",{href:"/",children:(0,h.jsx)("div",{className:"logo",children:(0,h.jsx)("img",{src:"/files/logo/logo_text.svg",alt:"RxDB",width:160})})}),(0,h.jsx)("h1",{children:"\ud83d\udcac RxDB Chat"}),(0,h.jsx)("p",{children:(0,h.jsx)("b",{children:"You will be redirected in a few seconds."})}),(0,h.jsx)("p",{children:(0,h.jsx)("a",{href:"https://discord.gg/krNZtjZtpu",children:"Click here to open Chat"})}),(0,h.jsx)("meta",{httpEquiv:"Refresh",content:"1; url=https://discord.gg/krNZtjZtpu"})]})})})}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/2564bf4f.b4905e08.js b/docs/assets/js/2564bf4f.b4905e08.js
deleted file mode 100644
index e89eb838547..00000000000
--- a/docs/assets/js/2564bf4f.b4905e08.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[6724],{8365(e,s,n){n.r(s),n.d(s,{assets:()=>l,contentTitle:()=>t,default:()=>h,frontMatter:()=>o,metadata:()=>r,toc:()=>d});const r=JSON.parse('{"id":"rxdb-tradeoffs","title":"RxDB Tradeoffs - Why NoSQL Triumphs on the Client","description":"Uncover RxDB\'s approach to modern database needs. From JSON-based queries to conflict handling without transactions, learn RxDB\'s unique tradeoffs.","source":"@site/docs/rxdb-tradeoffs.md","sourceDirName":".","slug":"/rxdb-tradeoffs.html","permalink":"/rxdb-tradeoffs.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"RxDB Tradeoffs - Why NoSQL Triumphs on the Client","slug":"rxdb-tradeoffs.html","description":"Uncover RxDB\'s approach to modern database needs. From JSON-based queries to conflict handling without transactions, learn RxDB\'s unique tradeoffs."}}');var a=n(4848),i=n(8453);const o={title:"RxDB Tradeoffs - Why NoSQL Triumphs on the Client",slug:"rxdb-tradeoffs.html",description:"Uncover RxDB's approach to modern database needs. From JSON-based queries to conflict handling without transactions, learn RxDB's unique tradeoffs."},t="RxDB Tradeoffs",l={},d=[{value:"Why not SQL syntax",id:"why-not-sql-syntax",level:2},{value:"SQL is made for database servers",id:"sql-is-made-for-database-servers",level:3},{value:"Typescript support",id:"typescript-support",level:3},{value:"Composeable queries",id:"composeable-queries",level:3},{value:"Why Document based (NoSQL)",id:"why-document-based-nosql",level:2},{value:"Javascript is made to work with objects",id:"javascript-is-made-to-work-with-objects",level:3},{value:"Caching",id:"caching",level:3},{value:"EventReduce",id:"eventreduce",level:3},{value:"Easier to use with typescript",id:"easier-to-use-with-typescript",level:3},{value:"Why no transactions",id:"why-no-transactions",level:2},{value:"Why no relations",id:"why-no-relations",level:2},{value:"Why is a schema required",id:"why-is-a-schema-required",level:2}];function c(e){const s={a:"a",code:"code",em:"em",figure:"figure",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...(0,i.R)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(s.header,{children:(0,a.jsx)(s.h1,{id:"rxdb-tradeoffs",children:"RxDB Tradeoffs"})}),"\n",(0,a.jsxs)(s.p,{children:[(0,a.jsx)(s.a,{href:"https://rxdb.info",children:"RxDB"})," is client-side, ",(0,a.jsx)(s.a,{href:"/offline-first.html",children:"offline first"})," Database for JavaScript applications.\nWhile RxDB could be used on the server side, most people use it on the client side together with an UI based application.\nTherefore RxDB was optimized for client side applications and had to take completely different tradeoffs than what a server side database would do."]}),"\n",(0,a.jsx)(s.h2,{id:"why-not-sql-syntax",children:"Why not SQL syntax"}),"\n",(0,a.jsxs)(s.p,{children:["When you ask people which database they would want for browsers, the most answer I hear is ",(0,a.jsx)(s.em,{children:"something SQL based like SQLite"}),".\nThis makes sense, SQL is a query language that most developers had learned in school/university and it is reusable across various database solutions.\nBut for RxDB (and other client side databases), using SQL is not a good option and instead it operates on document writes and the JSON based ",(0,a.jsx)(s.strong,{children:"Mango-query"})," syntax for querying."]}),"\n",(0,a.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,a.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,a.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// A Mango Query"})}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" query"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" selector"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" age"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" $gt"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 10"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" lastName"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'foo'"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" sort"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" [{ age"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'asc'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }]"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"};"})})]})})}),"\n",(0,a.jsx)(s.h3,{id:"sql-is-made-for-database-servers",children:"SQL is made for database servers"}),"\n",(0,a.jsxs)(s.p,{children:["SQL is made to be used to run operations against a database server. You send a SQL string like ",(0,a.jsx)(s.code,{children:"SELECT SUM(column_name)..."})," to the database server and the server then runs all operations required to calculate the result and only send back that result.\nThis saves performance on the application side and ensures that the application itself is not blocked."]}),"\n",(0,a.jsxs)(s.p,{children:["But RxDB is a client-side database that runs ",(0,a.jsx)(s.strong,{children:"inside"})," of the application. There is no performance difference if the ",(0,a.jsx)(s.code,{children:"SUM()"})," query is run inside of the database or at the application level where a ",(0,a.jsx)(s.code,{children:"Array.reduce()"})," call calculates the result."]}),"\n",(0,a.jsx)(s.h3,{id:"typescript-support",children:"Typescript support"}),"\n",(0,a.jsxs)(s.p,{children:["SQL is ",(0,a.jsx)(s.code,{children:"string"})," based and therefore you need additional IDE tooling to ensure that your written database code is valid.\nUsing the Mango Query syntax instead, TypeScript can be used validate the queries and to autocomplete code and knows which fields do exist and which do not. By doing so, the correctness of queries can be ensured at compile-time instead of run-time."]}),"\n",(0,a.jsx)("p",{align:"center",children:(0,a.jsx)("img",{src:"./files/typescript-query-validation.png",alt:"TypeScript Query Validation"})}),"\n",(0,a.jsx)(s.h3,{id:"composeable-queries",children:"Composeable queries"}),"\n",(0,a.jsxs)(s.p,{children:["By using JSON based Mango Queries, it is easy to compose queries in plain JavaScript.\nFor example if you have any given query and want to add the condition ",(0,a.jsx)(s.code,{children:"user MUST BE 'foobar'"}),", you can just add the condition to the selector without having to parse and understand a complex SQL string."]}),"\n",(0,a.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,a.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,a.jsx)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"query"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"."}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"selector"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".user "}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'foobar'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]})})})}),"\n",(0,a.jsx)(s.p,{children:"Even merging the selectors of multiple queries is not a problem:"}),"\n",(0,a.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,a.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,a.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"queryA"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".selector "}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" $and"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ["})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" queryA"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".selector"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" queryB"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".selector"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ]"})}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"};"})})]})})}),"\n",(0,a.jsx)(s.h2,{id:"why-document-based-nosql",children:"Why Document based (NoSQL)"}),"\n",(0,a.jsx)(s.p,{children:"Like other NoSQL databases, RxDB operates data on document level. It has no concept of tables, rows and columns. Instead we have collections, documents and fields."}),"\n",(0,a.jsx)(s.h3,{id:"javascript-is-made-to-work-with-objects",children:"Javascript is made to work with objects"}),"\n",(0,a.jsx)(s.h3,{id:"caching",children:"Caching"}),"\n",(0,a.jsx)(s.h3,{id:"eventreduce",children:"EventReduce"}),"\n",(0,a.jsx)(s.h3,{id:"easier-to-use-with-typescript",children:"Easier to use with typescript"}),"\n",(0,a.jsx)(s.p,{children:"Because of the document based approach, TypeScript can know the exact type of the query response while a SQL query could return anything from a number over a set of rows or a complex construct."}),"\n",(0,a.jsx)(s.h2,{id:"why-no-transactions",children:"Why no transactions"}),"\n",(0,a.jsxs)(s.ul,{children:["\n",(0,a.jsx)(s.li,{children:"Does not work with offline-first"}),"\n",(0,a.jsx)(s.li,{children:"Does not work with multi-tab"}),"\n",(0,a.jsx)(s.li,{children:"Easier conflict handling on document level"}),"\n"]}),"\n",(0,a.jsx)(s.p,{children:"-- Instead of transactions, rxdb works with revisions"}),"\n",(0,a.jsx)(s.h2,{id:"why-no-relations",children:"Why no relations"}),"\n",(0,a.jsxs)(s.ul,{children:["\n",(0,a.jsx)(s.li,{children:"Does not work with easy replication"}),"\n"]}),"\n",(0,a.jsx)(s.h2,{id:"why-is-a-schema-required",children:"Why is a schema required"}),"\n",(0,a.jsxs)(s.ul,{children:["\n",(0,a.jsx)(s.li,{children:"migration of data on clients is hard"}),"\n",(0,a.jsx)(s.li,{children:"Why jsonschema"}),"\n"]}),"\n",(0,a.jsx)(s.h2,{id:""})]})}function h(e={}){const{wrapper:s}={...(0,i.R)(),...e.components};return s?(0,a.jsx)(s,{...e,children:(0,a.jsx)(c,{...e})}):c(e)}},8453(e,s,n){n.d(s,{R:()=>o,x:()=>t});var r=n(6540);const a={},i=r.createContext(a);function o(e){const s=r.useContext(i);return r.useMemo(function(){return"function"==typeof e?e(s):{...s,...e}},[s,e])}function t(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:o(e.components),r.createElement(i.Provider,{value:s},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/25a43fd4.f20d897d.js b/docs/assets/js/25a43fd4.f20d897d.js
deleted file mode 100644
index b51a28e67bd..00000000000
--- a/docs/assets/js/25a43fd4.f20d897d.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[4812],{8453(e,r,s){s.d(r,{R:()=>a,x:()=>l});var n=s(6540);const o={},i=n.createContext(o);function a(e){const r=n.useContext(i);return n.useMemo(function(){return"function"==typeof e?e(r):{...r,...e}},[r,e])}function l(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:a(e.components),n.createElement(i.Provider,{value:r},e.children)}},8803(e,r,s){s.r(r),s.d(r,{assets:()=>t,contentTitle:()=>l,default:()=>h,frontMatter:()=>a,metadata:()=>n,toc:()=>d});const n=JSON.parse('{"id":"rx-storage-shared-worker","title":"Boost Performance with SharedWorker RxStorage","description":"Tap into single-instance storage with RxDB\'s SharedWorker. Improve efficiency, cut duplication, and keep your app lightning-fast across tabs.","source":"@site/docs/rx-storage-shared-worker.md","sourceDirName":".","slug":"/rx-storage-shared-worker.html","permalink":"/rx-storage-shared-worker.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"Boost Performance with SharedWorker RxStorage","slug":"rx-storage-shared-worker.html","description":"Tap into single-instance storage with RxDB\'s SharedWorker. Improve efficiency, cut duplication, and keep your app lightning-fast across tabs."},"sidebar":"tutorialSidebar","previous":{"title":"Worker RxStorage \ud83d\udc51","permalink":"/rx-storage-worker.html"},"next":{"title":"Memory Mapped RxStorage \ud83d\udc51","permalink":"/rx-storage-memory-mapped.html"}}');var o=s(4848),i=s(8453);const a={title:"Boost Performance with SharedWorker RxStorage",slug:"rx-storage-shared-worker.html",description:"Tap into single-instance storage with RxDB's SharedWorker. Improve efficiency, cut duplication, and keep your app lightning-fast across tabs."},l="SharedWorker RxStorage",t={},d=[{value:"Usage",id:"usage",level:2},{value:"On the SharedWorker process",id:"on-the-sharedworker-process",level:3},{value:"On the main process",id:"on-the-main-process",level:3},{value:"Pre-build workers",id:"pre-build-workers",level:2},{value:"Building a custom worker",id:"building-a-custom-worker",level:2},{value:"Passing in a SharedWorker instance",id:"passing-in-a-sharedworker-instance",level:2},{value:"Set multiInstance: false",id:"set-multiinstance-false",level:2},{value:"Replication with SharedWorker",id:"replication-with-sharedworker",level:2},{value:"Limitations",id:"limitations",level:3},{value:"FAQ",id:"faq",level:3}];function c(e){const r={a:"a",admonition:"admonition",code:"code",figure:"figure",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...(0,i.R)(),...e.components},{Details:s}=r;return s||function(e,r){throw new Error("Expected "+(r?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}("Details",!0),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(r.header,{children:(0,o.jsx)(r.h1,{id:"sharedworker-rxstorage",children:"SharedWorker RxStorage"})}),"\n",(0,o.jsxs)(r.p,{children:["The SharedWorker ",(0,o.jsx)(r.a,{href:"/rx-storage.html",children:"RxStorage"})," uses the ",(0,o.jsx)(r.a,{href:"https://developer.mozilla.org/en-US/docs/Web/API/SharedWorker",children:"SharedWorker API"})," to run the storage inside of a separate JavaScript process ",(0,o.jsx)(r.strong,{children:"in browsers"}),". Compared to a normal ",(0,o.jsx)(r.a,{href:"/rx-storage-worker.html",children:"WebWorker"}),", the SharedWorker is created exactly once, even when there are multiple browser tabs opened. Because of having exactly one worker, multiple performance optimizations can be done because the storage itself does not have to handle multiple opened database connections."]}),"\n",(0,o.jsx)(r.admonition,{title:"Premium",type:"note",children:(0,o.jsxs)(r.p,{children:["This plugin is part of ",(0,o.jsx)(r.a,{href:"/premium/",children:"RxDB Premium \ud83d\udc51"}),". It is not part of the default RxDB module."]})}),"\n",(0,o.jsx)(r.h2,{id:"usage",children:"Usage"}),"\n",(0,o.jsx)(r.h3,{id:"on-the-sharedworker-process",children:"On the SharedWorker process"}),"\n",(0,o.jsxs)(r.p,{children:["In the worker process JavaScript file, you have wrap the original RxStorage with ",(0,o.jsx)(r.code,{children:"getRxStorageIndexedDB()"}),"."]}),"\n",(0,o.jsx)(r.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(r.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,o.jsxs)(r.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsx)(r.span,{"data-line":"",children:(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-comment)"},children:"// shared-worker.ts"})}),"\n",(0,o.jsx)(r.span,{"data-line":"",children:" "}),"\n",(0,o.jsxs)(r.span,{"data-line":"",children:[(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" { exposeWorkerRxStorage } "}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb-premium/plugins/storage-worker'"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsxs)(r.span,{"data-line":"",children:[(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" { "})]}),"\n",(0,o.jsx)(r.span,{"data-line":"",children:(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" getRxStorageIndexedDB"})}),"\n",(0,o.jsxs)(r.span,{"data-line":"",children:[(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb-premium/plugins/indexeddb'"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsx)(r.span,{"data-line":"",children:" "}),"\n",(0,o.jsxs)(r.span,{"data-line":"",children:[(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-function)"},children:"exposeWorkerRxStorage"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsx)(r.span,{"data-line":"",children:(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,o.jsx)(r.span,{"data-line":"",children:(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-comment)"},children:" * You can wrap any implementation of the RxStorage interface"})}),"\n",(0,o.jsx)(r.span,{"data-line":"",children:(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-comment)"},children:" * into a worker."})}),"\n",(0,o.jsx)(r.span,{"data-line":"",children:(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-comment)"},children:" * Here we use the IndexedDB RxStorage."})}),"\n",(0,o.jsx)(r.span,{"data-line":"",children:(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,o.jsxs)(r.span,{"data-line":"",children:[(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageIndexedDB"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"()"})]}),"\n",(0,o.jsx)(r.span,{"data-line":"",children:(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,o.jsx)(r.h3,{id:"on-the-main-process",children:"On the main process"}),"\n",(0,o.jsx)(r.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(r.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,o.jsxs)(r.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsxs)(r.span,{"data-line":"",children:[(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsx)(r.span,{"data-line":"",children:(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" createRxDatabase"})}),"\n",(0,o.jsxs)(r.span,{"data-line":"",children:[(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb'"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsxs)(r.span,{"data-line":"",children:[(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" { getRxStorageSharedWorker } "}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb-premium/plugins/storage-worker'"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsxs)(r.span,{"data-line":"",children:[(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" { getRxStorageIndexedDB } "}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/storage-indexeddb'"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsx)(r.span,{"data-line":"",children:" "}),"\n",(0,o.jsx)(r.span,{"data-line":"",children:" "}),"\n",(0,o.jsxs)(r.span,{"data-line":"",children:[(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-constant)"},children:" database"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(r.span,{"data-line":"",children:[(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'mydatabase'"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(r.span,{"data-line":"",children:[(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageSharedWorker"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"("})]}),"\n",(0,o.jsx)(r.span,{"data-line":"",children:(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" {"})}),"\n",(0,o.jsx)(r.span,{"data-line":"",children:(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,o.jsx)(r.span,{"data-line":"",children:(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-comment)"},children:" * Contains any value that can be used as parameter"})}),"\n",(0,o.jsx)(r.span,{"data-line":"",children:(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-comment)"},children:" * to the SharedWorker constructor of thread.js"})}),"\n",(0,o.jsx)(r.span,{"data-line":"",children:(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-comment)"},children:" * Most likely you want to put the path to the shared-worker.js file in here."})}),"\n",(0,o.jsx)(r.span,{"data-line":"",children:(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-comment)"},children:" * "})}),"\n",(0,o.jsxs)(r.span,{"data-line":"",children:[(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-comment)"},children:" * "}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"@link"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-comment)"},children:" https://developer.mozilla.org/en-US/docs/Web/API/SharedWorker?retiredLocale=de"})]}),"\n",(0,o.jsx)(r.span,{"data-line":"",children:(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,o.jsxs)(r.span,{"data-line":"",children:[(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" workerInput"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'path/to/shared-worker.js'"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsx)(r.span,{"data-line":"",children:(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,o.jsx)(r.span,{"data-line":"",children:(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-comment)"},children:" * (Optional) options"})}),"\n",(0,o.jsx)(r.span,{"data-line":"",children:(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-comment)"},children:" * for the worker."})}),"\n",(0,o.jsx)(r.span,{"data-line":"",children:(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,o.jsxs)(r.span,{"data-line":"",children:[(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" workerOptions"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(r.span,{"data-line":"",children:[(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'module'"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(r.span,{"data-line":"",children:[(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" credentials"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'omit'"})]}),"\n",(0,o.jsx)(r.span,{"data-line":"",children:(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(r.span,{"data-line":"",children:(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(r.span,{"data-line":"",children:(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" )"})}),"\n",(0,o.jsx)(r.span,{"data-line":"",children:(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,o.jsx)(r.h2,{id:"pre-build-workers",children:"Pre-build workers"}),"\n",(0,o.jsxs)(r.p,{children:["The ",(0,o.jsx)(r.code,{children:"shared-worker.js"})," must be a self containing JavaScript file that contains all dependencies in a bundle.\nTo make it easier for you, RxDB ships with pre-bundles worker files that are ready to use.\nYou can find them in the folder ",(0,o.jsx)(r.code,{children:"node_modules/rxdb-premium/dist/workers"})," after you have installed the ",(0,o.jsx)(r.a,{href:"/premium/",children:"RxDB Premium \ud83d\udc51 Plugin"}),". From there you can copy them to a location where it can be served from the webserver and then use their path to create the ",(0,o.jsx)(r.code,{children:"RxDatabase"})]}),"\n",(0,o.jsxs)(r.p,{children:["Any valid ",(0,o.jsx)(r.code,{children:"worker.js"})," JavaScript file can be used both, for normal Workers and SharedWorkers."]}),"\n",(0,o.jsx)(r.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(r.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,o.jsxs)(r.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsxs)(r.span,{"data-line":"",children:[(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsx)(r.span,{"data-line":"",children:(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" createRxDatabase"})}),"\n",(0,o.jsxs)(r.span,{"data-line":"",children:[(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb'"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsxs)(r.span,{"data-line":"",children:[(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" { getRxStorageSharedWorker } "}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb-premium/plugins/storage-worker'"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsxs)(r.span,{"data-line":"",children:[(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-constant)"},children:" database"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(r.span,{"data-line":"",children:[(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'mydatabase'"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(r.span,{"data-line":"",children:[(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageSharedWorker"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"("})]}),"\n",(0,o.jsx)(r.span,{"data-line":"",children:(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" {"})}),"\n",(0,o.jsx)(r.span,{"data-line":"",children:(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,o.jsx)(r.span,{"data-line":"",children:(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-comment)"},children:" * Path to where the copied file from node_modules/rxdb-premium/dist/workers"})}),"\n",(0,o.jsx)(r.span,{"data-line":"",children:(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-comment)"},children:" * is reachable from the webserver."})}),"\n",(0,o.jsx)(r.span,{"data-line":"",children:(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,o.jsxs)(r.span,{"data-line":"",children:[(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" workerInput"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-string-expression)"},children:" '/indexeddb.shared-worker.js'"})]}),"\n",(0,o.jsx)(r.span,{"data-line":"",children:(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(r.span,{"data-line":"",children:(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" )"})}),"\n",(0,o.jsx)(r.span,{"data-line":"",children:(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,o.jsx)(r.h2,{id:"building-a-custom-worker",children:"Building a custom worker"}),"\n",(0,o.jsxs)(r.p,{children:["To build a custom ",(0,o.jsx)(r.code,{children:"worker.js"})," file, check out the webpack config at the ",(0,o.jsx)(r.a,{href:"/rx-storage-worker.html#building-a-custom-worker",children:"worker"})," documentation. Any worker file form the worker storage can also be used in a shared worker because ",(0,o.jsx)(r.code,{children:"exposeWorkerRxStorage"})," detects where it runs and exposes the correct messaging endpoints."]}),"\n",(0,o.jsx)(r.h2,{id:"passing-in-a-sharedworker-instance",children:"Passing in a SharedWorker instance"}),"\n",(0,o.jsxs)(r.p,{children:["Instead of setting an url as ",(0,o.jsx)(r.code,{children:"workerInput"}),", you can also specify a function that returns a new ",(0,o.jsx)(r.code,{children:"SharedWorker"})," instance when called. This is mostly used when you have a custom worker file and dynamically import it.\nThis works equal to the ",(0,o.jsx)(r.a,{href:"/rx-storage-worker.html#passing-in-a-worker-instance",children:"workerInput of the Worker Storage"})]}),"\n",(0,o.jsx)(r.h2,{id:"set-multiinstance-false",children:"Set multiInstance: false"}),"\n",(0,o.jsxs)(r.p,{children:["When you know that you only ever create your RxDatabase inside of the shared worker, you might want to set ",(0,o.jsx)(r.code,{children:"multiInstance: false"})," to prevent sending change events across JavaScript realms and to improve performance. Do not set this when you also create the same storage on another realm, like when you have the same RxDatabase once inside the shared worker and once on the main thread."]}),"\n",(0,o.jsx)(r.h2,{id:"replication-with-sharedworker",children:"Replication with SharedWorker"}),"\n",(0,o.jsxs)(r.p,{children:["When a SharedWorker RxStorage is used, it is recommended to run the replication ",(0,o.jsx)(r.strong,{children:"inside"})," of the worker. This is the best option for performance. You can do that by opening another ",(0,o.jsx)(r.a,{href:"/rx-database.html",children:"RxDatabase"})," inside of it and starting the replication there. If you are not concerned about performance, you can still start replication on the main thread instead. But you should never run replication on both the main thread ",(0,o.jsx)(r.strong,{children:"and"})," the worker."]}),"\n",(0,o.jsx)(r.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(r.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,o.jsxs)(r.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsx)(r.span,{"data-line":"",children:(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-comment)"},children:"// shared-worker.ts"})}),"\n",(0,o.jsx)(r.span,{"data-line":"",children:" "}),"\n",(0,o.jsxs)(r.span,{"data-line":"",children:[(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" { exposeWorkerRxStorage } "}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb-premium/plugins/storage-worker'"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsxs)(r.span,{"data-line":"",children:[(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" { "})]}),"\n",(0,o.jsx)(r.span,{"data-line":"",children:(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" getRxStorageIndexedDB"})}),"\n",(0,o.jsxs)(r.span,{"data-line":"",children:[(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb-premium/plugins/storage-indexeddb'"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsxs)(r.span,{"data-line":"",children:[(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(r.span,{"data-line":"",children:[(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" createRxDatabase"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsx)(r.span,{"data-line":"",children:(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" addRxPlugin"})}),"\n",(0,o.jsxs)(r.span,{"data-line":"",children:[(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb'"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsxs)(r.span,{"data-line":"",children:[(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsx)(r.span,{"data-line":"",children:(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" RxDBReplicationGraphQLPlugin"})}),"\n",(0,o.jsxs)(r.span,{"data-line":"",children:[(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/replication-graphql'"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsxs)(r.span,{"data-line":"",children:[(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-function)"},children:"addRxPlugin"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"(RxDBReplicationGraphQLPlugin);"})]}),"\n",(0,o.jsx)(r.span,{"data-line":"",children:" "}),"\n",(0,o.jsxs)(r.span,{"data-line":"",children:[(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-constant)"},children:" baseStorage"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageIndexedDB"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,o.jsx)(r.span,{"data-line":"",children:" "}),"\n",(0,o.jsx)(r.span,{"data-line":"",children:(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-comment)"},children:"// first expose the RxStorage to the outside"})}),"\n",(0,o.jsxs)(r.span,{"data-line":"",children:[(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-function)"},children:"exposeWorkerRxStorage"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(r.span,{"data-line":"",children:[(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" baseStorage"})]}),"\n",(0,o.jsx)(r.span,{"data-line":"",children:(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,o.jsx)(r.span,{"data-line":"",children:" "}),"\n",(0,o.jsx)(r.span,{"data-line":"",children:(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-comment)"},children:"/**"})}),"\n",(0,o.jsx)(r.span,{"data-line":"",children:(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-comment)"},children:" * Then create a normal RxDatabase and RxCollections"})}),"\n",(0,o.jsx)(r.span,{"data-line":"",children:(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-comment)"},children:" * and start the replication."})}),"\n",(0,o.jsx)(r.span,{"data-line":"",children:(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,o.jsxs)(r.span,{"data-line":"",children:[(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-constant)"},children:" database"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(r.span,{"data-line":"",children:[(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'mydatabase'"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(r.span,{"data-line":"",children:[(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" baseStorage"})]}),"\n",(0,o.jsx)(r.span,{"data-line":"",children:(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,o.jsxs)(r.span,{"data-line":"",children:[(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-function)"},children:".addCollections"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(r.span,{"data-line":"",children:[(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" humans"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" {"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-comment)"},children:"/* ... */"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"}"})]}),"\n",(0,o.jsx)(r.span,{"data-line":"",children:(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,o.jsxs)(r.span,{"data-line":"",children:[(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-constant)"},children:" replicationState"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-constant)"},children:"humans"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-function)"},children:".syncGraphQL"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"({"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-comment)"},children:"/* ... */"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"});"})]})]})})}),"\n",(0,o.jsx)(r.h3,{id:"limitations",children:"Limitations"}),"\n",(0,o.jsxs)(r.ul,{children:["\n",(0,o.jsxs)(r.li,{children:["The SharedWorker API is ",(0,o.jsx)(r.a,{href:"https://caniuse.com/sharedworkers",children:"not available in some mobile browser"})]}),"\n"]}),"\n",(0,o.jsx)(r.h3,{id:"faq",children:"FAQ"}),"\n",(0,o.jsxs)(s,{children:[(0,o.jsx)("summary",{children:"Can I use this plugin with a Service Worker?"}),(0,o.jsx)("div",{children:(0,o.jsxs)(r.p,{children:["No. A Service Worker ",(0,o.jsx)("a",{href:"https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API",children:"is not the same"})," as a Shared Worker. While you can use RxDB inside of a ServiceWorker, you cannot use the ServiceWorker as a RxStorage that gets accessed by an outside RxDatabase instance."]})})]})]})}function h(e={}){const{wrapper:r}={...(0,i.R)(),...e.components};return r?(0,o.jsx)(r,{...e,children:(0,o.jsx)(c,{...e})}):c(e)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/26b8a621.0fdedfc5.js b/docs/assets/js/26b8a621.0fdedfc5.js
deleted file mode 100644
index 7a65f0908bf..00000000000
--- a/docs/assets/js/26b8a621.0fdedfc5.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[2055],{1673(e,t,n){n.r(t),n.d(t,{assets:()=>s,contentTitle:()=>c,default:()=>h,frontMatter:()=>a,metadata:()=>r,toc:()=>l});const r=JSON.parse('{"id":"replication-p2p","title":"Seamless P2P Data Sync","description":"Discover how replication-webrtc ensures secure P2P data sync and real-time collaboration with RxDB. Explore the future of offline-first apps!","source":"@site/docs/replication-p2p.md","sourceDirName":".","slug":"/replication-p2p.html","permalink":"/replication-p2p.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"Seamless P2P Data Sync","slug":"replication-p2p.html","description":"Discover how replication-webrtc ensures secure P2P data sync and real-time collaboration with RxDB. Explore the future of offline-first apps!"}}');var o=n(4848),i=n(8453);const a={title:"Seamless P2P Data Sync",slug:"replication-p2p.html",description:"Discover how replication-webrtc ensures secure P2P data sync and real-time collaboration with RxDB. Explore the future of offline-first apps!"},c="The RxDB Plugin replication-p2p has been renamed to replication-webrtc",s={},l=[];function p(e){const t={a:"a",code:"code",h1:"h1",header:"header",p:"p",...(0,i.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(t.header,{children:(0,o.jsxs)(t.h1,{id:"the-rxdb-plugin-replication-p2p-has-been-renamed-to-replication-webrtc",children:["The RxDB Plugin ",(0,o.jsx)(t.code,{children:"replication-p2p"})," has been renamed to ",(0,o.jsx)(t.code,{children:"replication-webrtc"})]})}),"\n",(0,o.jsxs)(t.p,{children:["The new documentation page has been moved to ",(0,o.jsx)(t.a,{href:"/replication-webrtc.html",children:"here"})]}),"\n",(0,o.jsx)("meta",{"http-equiv":"refresh",content:"0; url=https://rxdb.info/replication-webrtc.html"})]})}function h(e={}){const{wrapper:t}={...(0,i.R)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(p,{...e})}):p(e)}},8453(e,t,n){n.d(t,{R:()=>a,x:()=>c});var r=n(6540);const o={},i=r.createContext(o);function a(e){const t=r.useContext(i);return r.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function c(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:a(e.components),r.createElement(i.Provider,{value:t},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/280a2389.3dec6d46.js b/docs/assets/js/280a2389.3dec6d46.js
deleted file mode 100644
index 3579697ed66..00000000000
--- a/docs/assets/js/280a2389.3dec6d46.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[176],{522(e,i,l){l.r(i),l.d(i,{default:()=>h});var r=l(4586),s=l(8711),c=l(6540),t=l(8141),d=l(4848);function h(){const{siteConfig:e}=(0,r.A)();return(0,c.useEffect)(()=>{(0,t.c)("meeting-link-clicked",40,1)}),(0,d.jsx)(s.A,{title:`Meeting - ${e.title}`,description:"RxDB Meeting Scheduler",children:(0,d.jsx)("main",{children:(0,d.jsxs)("div",{className:"redirectBox",style:{textAlign:"center"},children:[(0,d.jsx)("a",{href:"/",children:(0,d.jsx)("div",{className:"logo",children:(0,d.jsx)("img",{src:"/files/logo/logo_text.svg",alt:"RxDB",width:160})})}),(0,d.jsx)("h1",{children:"RxDB Meeting Scheduler"}),(0,d.jsx)("p",{children:(0,d.jsx)("b",{children:"You will be redirected in a few seconds."})}),(0,d.jsx)("p",{children:(0,d.jsx)("a",{href:"https://rxdb.pipedrive.com/scheduler/QBbGlDC4/schedulr",children:"Click here"})}),(0,d.jsx)("meta",{httpEquiv:"Refresh",content:"0; url=https://rxdb.pipedrive.com/scheduler/QBbGlDC4/schedulr"})]})})})}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/294ac9d5.a530f746.js b/docs/assets/js/294ac9d5.a530f746.js
deleted file mode 100644
index 980c2961119..00000000000
--- a/docs/assets/js/294ac9d5.a530f746.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[8744],{2606(n,s,e){e.r(s),e.d(s,{assets:()=>t,contentTitle:()=>a,default:()=>h,frontMatter:()=>l,metadata:()=>r,toc:()=>c});const r=JSON.parse('{"id":"plugins","title":"Creating Plugins","description":"Creating your own plugin is very simple. A plugin is basically a javascript-object which overwrites or extends RxDB\'s internal classes, prototypes, and hooks.","source":"@site/docs/plugins.md","sourceDirName":".","slug":"/plugins.html","permalink":"/plugins.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"Creating Plugins","slug":"plugins.html"},"sidebar":"tutorialSidebar","previous":{"title":"Query Cache","permalink":"/query-cache.html"},"next":{"title":"Errors","permalink":"/errors.html"}}');var o=e(4848),i=e(8453);const l={title:"Creating Plugins",slug:"plugins.html"},a="Creating Plugins",t={},c=[{value:"rxdb",id:"rxdb",level:2},{value:"prototypes",id:"prototypes",level:2},{value:"overwritable",id:"overwritable",level:2}];function d(n){const s={a:"a",code:"code",figure:"figure",h1:"h1",h2:"h2",header:"header",p:"p",pre:"pre",span:"span",...(0,i.R)(),...n.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(s.header,{children:(0,o.jsx)(s.h1,{id:"creating-plugins",children:"Creating Plugins"})}),"\n",(0,o.jsx)(s.p,{children:"Creating your own plugin is very simple. A plugin is basically a javascript-object which overwrites or extends RxDB's internal classes, prototypes, and hooks."}),"\n",(0,o.jsx)(s.p,{children:"A basic plugin:"}),"\n",(0,o.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"javascript","data-theme":"css-variables",children:(0,o.jsxs)(s.code,{"data-language":"javascript","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" myPlugin"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" rxdb"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" true"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // this must be true so rxdb knows that this is a rxdb-plugin"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * (optional) init() method"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * that is called when the plugin is added to RxDB for the first time."})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" init"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"() {"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // import other plugins or initialize stuff"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * every value in this object can manipulate the prototype of the keynames class"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * You can manipulate every prototype in this list:"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"@link"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" https://github.com/pubkey/rxdb/blob/master/src/plugin.ts#L22"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" prototypes"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * add a function to RxCollection so you can call 'myCollection.hello()'"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" *"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"@param"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" {object}"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" prototype of RxCollection"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" RxCollection"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" (proto) "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" proto"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"."}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"hello"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" function"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"() {"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'world'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" };"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * some methods are static and can be overwritten in the overwritable-object"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" overwritable"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" validatePassword"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" function"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(password) {"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" if"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" (password "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"&&"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" typeof"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" password "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"!=="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ||"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" password"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"."}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"length"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" <"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 10"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:")"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" throw"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" new"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" TypeError"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'password is not valid'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * you can add hooks to the hook-list"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" hooks"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * add a `foo` property to each document. You can then call myDocument.foo (='bar')"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" createRxDocument"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * You can either add the hook running 'before' or 'after'"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * the hooks of other plugins."})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" after"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" function"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(doc) {"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" doc"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".foo "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'bar'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"};"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// now you can import the plugin into rxdb"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"addRxPlugin"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(myPlugin);"})]})]})})}),"\n",(0,o.jsx)(s.h1,{id:"properties",children:"Properties"}),"\n",(0,o.jsx)(s.h2,{id:"rxdb",children:"rxdb"}),"\n",(0,o.jsxs)(s.p,{children:["The ",(0,o.jsx)(s.code,{children:"rxdb"}),"-property signals that this plugin is an rxdb-plugin. The value should always be ",(0,o.jsx)(s.code,{children:"true"}),"."]}),"\n",(0,o.jsx)(s.h2,{id:"prototypes",children:"prototypes"}),"\n",(0,o.jsxs)(s.p,{children:["The ",(0,o.jsx)(s.code,{children:"prototypes"}),"-property contains a function for each of RxDB's internal prototype that you want to manipulate. Each function gets the prototype-object of the corresponding class as parameter and then can modify it. You can see a list of all available prototypes ",(0,o.jsx)(s.a,{href:"https://github.com/pubkey/rxdb/blob/master/src/plugin.ts",children:"here"})]}),"\n",(0,o.jsx)(s.h2,{id:"overwritable",children:"overwritable"}),"\n",(0,o.jsxs)(s.p,{children:["Some of RxDB's functions are not inside of a class-prototype but are static. You can set and overwrite them with the ",(0,o.jsx)(s.code,{children:"overwritable"}),"-object. You can see a list of all overwritables ",(0,o.jsx)(s.a,{href:"https://github.com/pubkey/rxdb/blob/master/src/overwritable.ts",children:"here"}),"."]}),"\n",(0,o.jsx)(s.h1,{id:"hooks",children:"hooks"}),"\n",(0,o.jsxs)(s.p,{children:["Sometimes you don't want to overwrite an existing RxDB-method, but extend it. You can do this by adding hooks which will be called each time the code jumps into the hooks corresponding call. You can find a list of all hooks ",(0,o.jsx)(s.a,{href:"https://github.com/pubkey/rxdb/blob/master/src/hooks.ts",children:"here"}),"."]}),"\n",(0,o.jsx)(s.h1,{id:"options",children:"options"}),"\n",(0,o.jsx)(s.p,{children:"RxDatabase and RxCollection have an additional options-parameter, which can be filled with any data required be the plugin."}),"\n",(0,o.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"javascript","data-theme":"css-variables",children:(0,o.jsxs)(s.code,{"data-language":"javascript","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" collection"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" myDatabase"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".addCollections"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" foo"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" schema"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" mySchema"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" options"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// anything can be passed into the options"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" foo"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ()"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'bar'"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"})"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// Afterwards you can use these options in your plugin."})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"collection"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"options"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".foo"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(); "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// 'bar'"})]})]})})})]})}function h(n={}){const{wrapper:s}={...(0,i.R)(),...n.components};return s?(0,o.jsx)(s,{...n,children:(0,o.jsx)(d,{...n})}):d(n)}},8453(n,s,e){e.d(s,{R:()=>l,x:()=>a});var r=e(6540);const o={},i=r.createContext(o);function l(n){const s=r.useContext(i);return r.useMemo(function(){return"function"==typeof n?n(s):{...s,...n}},[s,n])}function a(n){let s;return s=n.disableParentContext?"function"==typeof n.components?n.components(o):n.components||o:l(n.components),r.createElement(i.Provider,{value:s},n.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/2aec6989.93b045aa.js b/docs/assets/js/2aec6989.93b045aa.js
deleted file mode 100644
index 2b2df407deb..00000000000
--- a/docs/assets/js/2aec6989.93b045aa.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[7498],{4633(e,s,r){r.r(s),r.d(s,{assets:()=>d,contentTitle:()=>l,default:()=>p,frontMatter:()=>t,metadata:()=>n,toc:()=>c});const n=JSON.parse('{"id":"articles/indexeddb-max-storage-limit","title":"IndexedDB Max Storage Size Limit - Detailed Best Practices","description":"Learn how browsers enforce IndexedDB storage size limits, how to test and handle quota exceeded errors, and best practices for storing large amounts of data offline.","source":"@site/docs/articles/indexeddb-max-storage-limit.md","sourceDirName":"articles","slug":"/articles/indexeddb-max-storage-limit.html","permalink":"/articles/indexeddb-max-storage-limit.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"IndexedDB Max Storage Size Limit - Detailed Best Practices","slug":"indexeddb-max-storage-limit.html","description":"Learn how browsers enforce IndexedDB storage size limits, how to test and handle quota exceeded errors, and best practices for storing large amounts of data offline."},"sidebar":"tutorialSidebar","previous":{"title":"Zero Latency Local First Apps with RxDB \u2013 Sync, Encryption and Compression","permalink":"/articles/zero-latency-local-first.html"},"next":{"title":"JSON-Based Databases - Why NoSQL and RxDB Simplify App Development","permalink":"/articles/json-based-database.html"}}');var i=r(4848),o=r(8453),a=r(2271);const t={title:"IndexedDB Max Storage Size Limit - Detailed Best Practices",slug:"indexeddb-max-storage-limit.html",description:"Learn how browsers enforce IndexedDB storage size limits, how to test and handle quota exceeded errors, and best practices for storing large amounts of data offline."},l="IndexedDB Max Storage Size Limit",d={},c=[{value:"Why IndexedDB Has a Storage Limit",id:"why-indexeddb-has-a-storage-limit",level:2},{value:"Browser-Specific IndexedDB Limits",id:"browser-specific-indexeddb-limits",level:2},{value:"Checking Your Current IndexedDB Usage",id:"checking-your-current-indexeddb-usage",level:2},{value:"Testing Your App\u2019s IndexedDB Quotas",id:"testing-your-apps-indexeddb-quotas",level:2},{value:"Handling Errors When Limits Are Reached",id:"handling-errors-when-limits-are-reached",level:2},{value:"Tricks to Exceed the Storage Size Limitation",id:"tricks-to-exceed-the-storage-size-limitation",level:2},{value:"IndexedDB Max Size of a Single Object",id:"indexeddb-max-size-of-a-single-object",level:2},{value:"Is There a Time Limit for Data Stored in IndexedDB?",id:"is-there-a-time-limit-for-data-stored-in-indexeddb",level:2},{value:"Follow Up",id:"follow-up",level:2}];function h(e){const s={a:"a",code:"code",figure:"figure",h1:"h1",h2:"h2",header:"header",hr:"hr",p:"p",pre:"pre",span:"span",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,o.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s.header,{children:(0,i.jsx)(s.h1,{id:"indexeddb-max-storage-size-limit",children:"IndexedDB Max Storage Size Limit"})}),"\n",(0,i.jsx)(s.p,{children:"IndexedDB is widely known as the primary browser-based storage API for large client-side data, particularly valuable for modern offline-first applications. These apps aim to keep everything functional and interactive even without an internet connection, which naturally demands substantial local storage. However, IndexedDB has various size limits depending on the browser, disk space, and user settings. Being aware of these constraints is crucial so you can avoid quota errors and deliver a seamless user experience without unexpected data loss."}),"\n",(0,i.jsx)(s.p,{children:"Offline-first apps have grown in popularity because they provide immediate feedback, zero-latency interactions, and resilience in poor network conditions. Storing big data sets, or even entire data models, in IndexedDB has become far more common than in the era of small localStorage or cookie usage. But all this local data is subject to quotas, and that\u2019s exactly what this guide will help you understand and manage."}),"\n",(0,i.jsx)(s.h2,{id:"why-indexeddb-has-a-storage-limit",children:"Why IndexedDB Has a Storage Limit"}),"\n",(0,i.jsxs)(s.p,{children:["Browsers need a way to curb runaway disk usage and safeguard user resources. This is accomplished through ",(0,i.jsx)(s.strong,{children:"quota management"})," policies, which can vary among Chrome, Firefox, Safari, Edge, and others. Some browsers use a percentage of your total disk space, while others rely on a fixed maximum or dynamic approach per origin. These policies are designed to prevent malicious or poorly optimized web pages from consuming an unreasonable amount of user storage."]}),"\n",(0,i.jsx)(s.p,{children:"Chrome (and Chromium-based browsers) typically allow you to use a percentage of the user\u2019s free disk space, whereas Firefox historically prompts users to allow more than 5 MB in mobile or 50 MB in desktop. Safari often sets tighter maximum caps, especially on iOS devices. Edge aligns closely with Chrome\u2019s rules but can also include enterprise or corporate policy overrides. Understanding these default or dynamic limits prepares you to plan your app\u2019s storage needs appropriately."}),"\n",(0,i.jsx)(s.h2,{id:"browser-specific-indexeddb-limits",children:"Browser-Specific IndexedDB Limits"}),"\n",(0,i.jsx)(s.p,{children:"IndexedDB size quotas differ significantly across browsers and platforms. While there isn\u2019t a universal rule, the following table summarizes approximate limits and any notes or caveats you should be aware of:"}),"\n",(0,i.jsxs)(s.table,{children:[(0,i.jsx)(s.thead,{children:(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.th,{children:"Browser"}),(0,i.jsx)(s.th,{children:"Approx. Limit"}),(0,i.jsx)(s.th,{children:"Notes"})]})}),(0,i.jsxs)(s.tbody,{children:[(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:"Chrome/Chromium"}),(0,i.jsx)(s.td,{children:"Up to ~80% of free disk, per origin cap"}),(0,i.jsx)(s.td,{children:"Often cited as 60 GB on a 100 GB drive. Shared pool approach. Quota usage can prompt partial or extended user approvals."})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:"Firefox"}),(0,i.jsx)(s.td,{children:"~2 GB (desktop) or ~5 MB initial for mobile"}),(0,i.jsx)(s.td,{children:"Older versions asked permission at 50 MB for desktop. Ephemeral/incognito sessions may require repeated user prompts."})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:"Safari (iOS)"}),(0,i.jsx)(s.td,{children:"~1 GB per origin (variable)"}),(0,i.jsx)(s.td,{children:"Historically stricter. iOS devices limit quotas further. Behavior can differ between iOS Safari versions or iPadOS."})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:"Edge"}),(0,i.jsx)(s.td,{children:"Similar to Chrome\u2019s 80% of free space"}),(0,i.jsx)(s.td,{children:"Can be influenced by Windows enterprise policies. Generally aligned with Chromium approach."})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:"iOS Safari"}),(0,i.jsx)(s.td,{children:"Typically 1 GB, can be less on older iOS"}),(0,i.jsx)(s.td,{children:"Early iOS versions were known for more aggressive quotas and data eviction on low space."})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:"Android Chrome"}),(0,i.jsx)(s.td,{children:"Similar to desktop Chrome"}),(0,i.jsx)(s.td,{children:"May exhibit warnings in especially low-storage devices. The same 80% free space logic generally applies."})]})]})]}),"\n",(0,i.jsxs)(s.p,{children:["Historically, these limits have evolved. For instance, older Firefox versions included ",(0,i.jsx)(s.code,{children:"dom.indexedDB.warningQuota"}),", showing a 50 MB prompt on desktop or a 5 MB prompt on mobile\u2014many developers wrote about these notifications on Stack Overflow. Since around 2015, Firefox has changed its quota approach significantly. Likewise, Safari used to limit data more aggressively on older iOS versions. Some older tutorials suggest comparing IndexedDB to localStorage, but modern browsers allow far larger and more flexible storage with IndexedDB than the old localStorage or cookie-based setups."]}),"\n",(0,i.jsx)(s.hr,{}),"\n",(0,i.jsx)(s.h2,{id:"checking-your-current-indexeddb-usage",children:"Checking Your Current IndexedDB Usage"}),"\n",(0,i.jsxs)(s.p,{children:["To assess where your app stands relative to these storage limits, you can use the ",(0,i.jsx)(s.strong,{children:"Storage Estimation API"}),". The snippet below shows how to estimate both your used storage and the total space allocated to your origin:"]}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"js","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"js","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" quota"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" navigator"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"storage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".estimate"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" totalSpace"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" quota"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".quota;"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" usedSpace"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" quota"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".usage;"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"console"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".log"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'Approx total allocated space:'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" totalSpace);"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"console"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".log"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'Approx used space:'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" usedSpace);"})]})]})})}),"\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.a,{href:"https://developer.mozilla.org/en-US/docs/Web/API/StorageManager/persist#browser_compatibility",children:"Some browsers (all modern ones)"})," also provide a ",(0,i.jsx)(s.code,{children:"navigator.storage.persist()"})," method to request persistent storage, preventing the browser from automatically clearing your data if the user\u2019s device runs low on space. Note that users might deny such requests, or the request might fail silently on stricter environments. Always handle these outcomes gracefully and design your app to degrade if persistent storage is unavailable."]}),"\n",(0,i.jsx)(s.h2,{id:"testing-your-apps-indexeddb-quotas",children:"Testing Your App\u2019s IndexedDB Quotas"}),"\n",(0,i.jsx)(s.p,{children:"The best way to handle real-world usage is to test for low storage conditions and large data sets in different environments. You can fill up the space manually by writing repetitive test data or running scripts that bulk-insert documents until an error occurs."}),"\n",(0,i.jsxs)(s.p,{children:["Real-time usage monitors or dashboards can keep track of your ",(0,i.jsx)(s.code,{children:"navigator.storage.estimate()"})," results, letting you see how close you are to the max limit in production. Developer tools in Chrome or Firefox can simulate limited storage situations, which is crucial for QA:"]}),"\n",(0,i.jsx)("center",{children:(0,i.jsx)(a.N,{videoId:"Nf37yutU8y4",title:"Simulate low storage quota with DevTools ",duration:"0:42"})}),"\n",(0,i.jsx)("br",{}),"\n",(0,i.jsx)(s.p,{children:"This short tutorial shows how you can artificially reduce available storage in Google Chrome\u2019s dev tools to see how your app behaves when nearing or exceeding the quota."}),"\n",(0,i.jsx)(s.h2,{id:"handling-errors-when-limits-are-reached",children:"Handling Errors When Limits Are Reached"}),"\n",(0,i.jsxs)(s.p,{children:["When the user\u2019s device is too full or your app exceeds the allotted quota, most browsers will throw a ",(0,i.jsx)(s.strong,{children:"QuotaExceededError"})," (or similarly named exception) when trying to store additional data. Often, the request to IndexedDB simply fails with an error event. Handling this gracefully is essential to avoid crashes or data corruption."]}),"\n",(0,i.jsxs)(s.p,{children:["A typical approach is to wrap your write operations in try/catch blocks or in ",(0,i.jsx)(s.code,{children:"onsuccess"})," / ",(0,i.jsx)(s.code,{children:"onerror"})," event callbacks. If you detect a quota error, you can prompt the user to clear out old items or reduce the scope of offline data. Some apps implement a fallback system that removes less critical documents to free space and then retries the write."]}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"js","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"js","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"try"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" tx"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".transaction"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'largeStore'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'readwrite'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" store"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" tx"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".objectStore"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'largeStore'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" store"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".add"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(hugeData"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" someKey);"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" tx"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".done;"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"catch"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" (error) {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" if"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"error"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".name "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"==="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'QuotaExceededError'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:") {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" console"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".warn"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'IndexedDB quota exceeded. Cleanup or prompt user to free space.'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // Optionally remove older data or show a UI hint:"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // removeOldDocuments();"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // displayStorageFullDialog();"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"else"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // handle other errors"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" console"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".error"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'IndexedDB write error:'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" error);"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"}"})})]})})}),"\n",(0,i.jsx)(s.h2,{id:"tricks-to-exceed-the-storage-size-limitation",children:"Tricks to Exceed the Storage Size Limitation"}),"\n",(0,i.jsx)(s.p,{children:"Even if you plan well, your app might need more storage than a single origin typically allows. There are a few advanced tactics you can use:"}),"\n",(0,i.jsxs)(s.p,{children:["If you store binary data such as images or videos, consider compressing them via the Compression Streams API. For textual or ",(0,i.jsx)(s.a,{href:"/articles/json-based-database.html",children:"JSON data"}),", a library like ",(0,i.jsx)(s.a,{href:"/",children:"RxDB"})," supports built-in ",(0,i.jsx)(s.a,{href:"/key-compression.html",children:"key-compression"})," to shorten field names or entire documents. This can be extremely helpful when storing large sets of objects:"]}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// Example: How key-compression can transform your documents internally"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" uncompressed"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "firstName"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "Corrine"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "lastName"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "Ziemann"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "shoppingCartItems"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ["})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "productNumber"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 29857"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "amount"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 1"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "productNumber"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 53409"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "amount"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 6"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ]"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"};"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" compressed"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "|e"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "Corrine"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "|g"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "Ziemann"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "|i"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ["})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "|h"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 29857"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "|b"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 1"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "|h"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 53409"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "|b"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 6"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ]"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"};"})})]})})}),"\n",(0,i.jsxs)(s.p,{children:["Sharding data across multiple subdomains or iframes is another trick, though it complicates communication. When you need truly massive offline data, you might store part of the data under ",(0,i.jsx)(s.code,{children:"sub1.yoursite.com"})," and another chunk under ",(0,i.jsx)(s.code,{children:"sub2.yoursite.com"}),", using ",(0,i.jsx)(s.code,{children:"postMessage()"})," to coordinate. This can circumvent single-origin limitations, but it introduces extra complexity. Another effective method is to let data expire automatically\u2014perhaps older records are removed if they haven\u2019t been accessed for a certain period."]}),"\n",(0,i.jsx)("center",{children:(0,i.jsx)("a",{href:"https://rxdb.info/",children:(0,i.jsx)("img",{src:"../files/logo/rxdb_javascript_database.svg",alt:"JavaScript Database",width:"220"})})}),"\n",(0,i.jsx)(s.h2,{id:"indexeddb-max-size-of-a-single-object",children:"IndexedDB Max Size of a Single Object"}),"\n",(0,i.jsxs)(s.p,{children:["There is no explicit cap on how large an individual object or record in IndexedDB can be, other than the overall disk quota. If you attempt to store one extremely large object, you will eventually hit browser memory constraints or the global storage quota. In practice, you\u2019ll encounter out-of-memory issues in JavaScript before IndexedDB itself refuses a single large write. A helpful test can be seen in ",(0,i.jsx)(s.a,{href:"https://jsfiddle.net/sdrqf8om/2/",children:"this JSFiddle experiment"})," where you see browsers can crash when creating massive in-memory objects."]}),"\n",(0,i.jsx)(s.h2,{id:"is-there-a-time-limit-for-data-stored-in-indexeddb",children:"Is There a Time Limit for Data Stored in IndexedDB?"}),"\n",(0,i.jsx)(s.p,{children:"IndexedDB data can remain indefinitely as long as the user does not clear the browser\u2019s data or the origin does not run afoul of automated eviction policies (e.g., Safari or Android might remove large caches for sites unused over a long period when space is needed). Typically, there is no \u201ctime limit,\u201d but ephemeral modes or incognito sessions have their own rules. If you rely on permanent offline data, request persistent storage and handle the possibility that the user or the OS could still remove your data under extreme conditions. Especially Safari is known to be very fast in deleting local data."}),"\n",(0,i.jsx)("p",{align:"center",children:(0,i.jsx)("img",{src:"/files/safari-database.png",alt:"safari database",width:"200"})}),"\n",(0,i.jsx)(s.h2,{id:"follow-up",children:"Follow Up"}),"\n",(0,i.jsxs)(s.p,{children:["Learn more by checking the ",(0,i.jsx)(s.a,{href:"https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API",children:"IndexedDB official docs"}),", which detail store design, error handling, and quota usage. If you need a straightforward way to manage large offline data with compression and conflict resolution, explore the ",(0,i.jsx)(s.a,{href:"/quickstart.html",children:"RxDB Quickstart"}),". You can also join the community on ",(0,i.jsx)(s.a,{href:"/code/",children:"GitHub"})," to share tips on overcoming the ",(0,i.jsx)(s.strong,{children:"IndexedDB max storage size limit"})," in production environments."]})]})}function p(e={}){const{wrapper:s}={...(0,o.R)(),...e.components};return s?(0,i.jsx)(s,{...e,children:(0,i.jsx)(h,{...e})}):h(e)}},8453(e,s,r){r.d(s,{R:()=>a,x:()=>t});var n=r(6540);const i={},o=n.createContext(i);function a(e){const s=n.useContext(o);return n.useMemo(function(){return"function"==typeof e?e(s):{...s,...e}},[s,e])}function t(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:a(e.components),n.createElement(o.Provider,{value:s},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/2c41656d.5238f25d.js b/docs/assets/js/2c41656d.5238f25d.js
deleted file mode 100644
index af785fc5bee..00000000000
--- a/docs/assets/js/2c41656d.5238f25d.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[4142],{8453(e,s,n){n.d(s,{R:()=>a,x:()=>l});var r=n(6540);const i={},o=r.createContext(i);function a(e){const s=r.useContext(o);return r.useMemo(function(){return"function"==typeof e?e(s):{...s,...e}},[s,e])}function l(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:a(e.components),r.createElement(o.Provider,{value:s},e.children)}},9376(e,s,n){n.r(s),n.d(s,{assets:()=>t,contentTitle:()=>l,default:()=>h,frontMatter:()=>a,metadata:()=>r,toc:()=>c});const r=JSON.parse('{"id":"articles/react-indexeddb","title":"IndexedDB Database in React Apps - The Power of RxDB","description":"Discover how RxDB simplifies IndexedDB in React, offering reactive queries, offline-first capability, encryption, compression, and effortless integration.","source":"@site/docs/articles/react-indexeddb.md","sourceDirName":"articles","slug":"/articles/react-indexeddb.html","permalink":"/articles/react-indexeddb.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"IndexedDB Database in React Apps - The Power of RxDB","slug":"react-indexeddb.html","description":"Discover how RxDB simplifies IndexedDB in React, offering reactive queries, offline-first capability, encryption, compression, and effortless integration."},"sidebar":"tutorialSidebar","previous":{"title":"Build Smarter Offline-First Angular Apps - How RxDB Beats IndexedDB Alone","permalink":"/articles/angular-indexeddb.html"},"next":{"title":"Capacitor Database Guide - SQLite, RxDB & More","permalink":"/capacitor-database.html"}}');var i=n(4848),o=n(8453);const a={title:"IndexedDB Database in React Apps - The Power of RxDB",slug:"react-indexeddb.html",description:"Discover how RxDB simplifies IndexedDB in React, offering reactive queries, offline-first capability, encryption, compression, and effortless integration."},l="IndexedDB Database in React Apps - The Power of RxDB",t={},c=[{value:"What is IndexedDB?",id:"what-is-indexeddb",level:2},{value:"Why Use IndexedDB in React",id:"why-use-indexeddb-in-react",level:2},{value:"Why To Not Use Plain IndexedDB",id:"why-to-not-use-plain-indexeddb",level:2},{value:"Set up RxDB in React",id:"set-up-rxdb-in-react",level:2},{value:"Installing RxDB",id:"installing-rxdb",level:3},{value:"Create a Database and Collections",id:"create-a-database-and-collections",level:3},{value:"CRUD Operations",id:"crud-operations",level:3},{value:"Reactive Queries and Live Updates",id:"reactive-queries-and-live-updates",level:2},{value:"With RxJS Observables and React Hooks",id:"with-rxjs-observables-and-react-hooks",level:3},{value:"With Preact Signals",id:"with-preact-signals",level:3},{value:"React IndexedDB Example with RxDB",id:"react-indexeddb-example-with-rxdb",level:2},{value:"Advanced RxDB Features",id:"advanced-rxdb-features",level:2},{value:"Limitations of IndexedDB",id:"limitations-of-indexeddb",level:2},{value:"Alternatives to IndexedDB",id:"alternatives-to-indexeddb",level:2},{value:"Performance comparison with other browser storages",id:"performance-comparison-with-other-browser-storages",level:2},{value:"Follow Up",id:"follow-up",level:2}];function d(e){const s={a:"a",code:"code",figure:"figure",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...(0,o.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s.header,{children:(0,i.jsx)(s.h1,{id:"indexeddb-database-in-react-apps---the-power-of-rxdb",children:"IndexedDB Database in React Apps - The Power of RxDB"})}),"\n",(0,i.jsxs)(s.p,{children:["Building robust, ",(0,i.jsx)(s.a,{href:"/offline-first.html",children:"offline-capable"})," React applications often involves leveraging browser storage solutions to manage data. IndexedDB is one such powerful tool, but its raw API can be challenging to work with directly. RxDB abstracts away much of IndexedDB's complexity, providing a more developer-friendly experience. In this article, we'll explore what IndexedDB is, why it's beneficial in React applications, the challenges of using plain IndexedDB, and how ",(0,i.jsx)(s.a,{href:"https://rxdb.info/",children:"RxDB"})," can simplify your development process while adding advanced features."]}),"\n",(0,i.jsx)(s.h2,{id:"what-is-indexeddb",children:"What is IndexedDB?"}),"\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.a,{href:"https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API",children:"IndexedDB"})," is a low-level API for storing significant amounts of structured data in the browser. It provides a transactional database system that can store key-value pairs, complex objects, and more. This storage engine is asynchronous and supports advanced data types, making it suitable for offline storage and complex web applications."]}),"\n",(0,i.jsx)("center",{children:(0,i.jsx)("img",{src:"../files/icons/react.svg",alt:"React IndexedDB",width:"120"})}),"\n",(0,i.jsx)(s.h2,{id:"why-use-indexeddb-in-react",children:"Why Use IndexedDB in React"}),"\n",(0,i.jsx)(s.p,{children:"When building React applications, IndexedDB can play a crucial role in enhancing both performance and user experience. Here are some reasons to consider using IndexedDB:"}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Offline-First / Local-First"}),": By storing data locally, your application remains functional even without an internet connection."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Performance"}),": Using local data means ",(0,i.jsx)(s.a,{href:"/articles/zero-latency-local-first.html",children:"zero latency"})," and no loading spinners, as data doesn't need to be fetched over a network."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Easier Implementation"}),": Replicating all data to the client once is often simpler than implementing multiple endpoints for each user interaction."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Scalability"}),": Local data reduces server load because queries run on the client side, decreasing server bandwidth and processing requirements."]}),"\n"]}),"\n",(0,i.jsx)(s.h2,{id:"why-to-not-use-plain-indexeddb",children:"Why To Not Use Plain IndexedDB"}),"\n",(0,i.jsx)(s.p,{children:"While IndexedDB itself is powerful, its native API comes with several drawbacks for everyday application developers:"}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Callback-Based API"}),": IndexedDB was designed with callbacks rather than modern Promises, making asynchronous code more cumbersome."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Complexity"}),": IndexedDB is low-level, intended for library developers rather than for app developers who simply want to store data."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Basic Query API"}),": Its rudimentary query capabilities limit how you can efficiently perform complex queries, whereas libraries like RxDB offer more advanced query features."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"TypeScript Support"}),": Ensuring good TypeScript support with IndexedDB is challenging, especially when trying to enforce document type consistency."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Lack of Observable API"}),": IndexedDB doesn't provide an observable API out of the box. RxDB solves this by enabling you to observe query results or specific document fields."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Cross-Tab Communication"}),": Managing cross-tab updates in plain IndexedDB is difficult. RxDB handles this seamlessly-changes in one tab automatically affect observed data in others."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Missing Advanced Features"}),": Features like encryption or compression aren't built into IndexedDB, but they are available via RxDB."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Limited Platform Support"}),": IndexedDB exists only in the browser. In contrast, RxDB offers swappable storages to use the same code in React Native, Capacitor, or Electron."]}),"\n"]}),"\n",(0,i.jsx)("center",{children:(0,i.jsx)("a",{href:"https://rxdb.info/",children:(0,i.jsx)("img",{src:"../files/logo/rxdb_javascript_database.svg",alt:"JavaScript Database",width:"220"})})}),"\n",(0,i.jsx)(s.h2,{id:"set-up-rxdb-in-react",children:"Set up RxDB in React"}),"\n",(0,i.jsx)(s.p,{children:"Setting up RxDB with React is straightforward. It abstracts IndexedDB complexities and adds a layer of powerful features over it."}),"\n",(0,i.jsx)(s.h3,{id:"installing-rxdb",children:"Installing RxDB"}),"\n",(0,i.jsx)(s.p,{children:"First, install RxDB and RxJS from npm:"}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"bash","data-theme":"css-variables",children:(0,i.jsx)(s.code,{"data-language":"bash","data-theme":"css-variables",style:{display:"grid"},children:(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"npm"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string)"},children:" install"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string)"},children:" rxdb"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string)"},children:" rxjs"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string)"},children:" --save"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"```"})]})})})}),"\n",(0,i.jsx)(s.h3,{id:"create-a-database-and-collections",children:"Create a Database and Collections"}),"\n",(0,i.jsx)(s.p,{children:"RxDB provides two main storage options:"}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:["The free ",(0,i.jsx)(s.a,{href:"/rx-storage-localstorage.html",children:"localstorage-based storage"})]}),"\n",(0,i.jsxs)(s.li,{children:["The premium plain ",(0,i.jsx)(s.a,{href:"/rx-storage-indexeddb.html",children:"IndexedDB-based storage"}),", offering faster performance\nBelow is an example of setting up a simple RxDB ",(0,i.jsx)(s.a,{href:"/articles/react-database.html",children:"database"})," using the localstorage-based storage in a React app:"]}),"\n"]}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { createRxDatabase } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/core'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { getRxStorageLocalstorage } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/storage-localstorage'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// create a database"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'heroesdb'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // the name of the database"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageLocalstorage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"()"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// Define your schema"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" heroSchema"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" title"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'hero schema'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" version"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 0"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" description"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'Describes a hero in your app'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" primaryKey"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'id'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'object'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" properties"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" id"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" maxLength"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 100"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" power"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" required"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ["}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'id'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'name'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"]"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"};"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// add collections"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".addCollections"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" heroes"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" schema"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" heroSchema"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,i.jsx)(s.h3,{id:"crud-operations",children:"CRUD Operations"}),"\n",(0,i.jsx)(s.p,{children:"Once your database is initialized, you can perform all CRUD operations:"}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// insert"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"heroes"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".insert"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({ name"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'Iron Man'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" power"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'Genius-level intellect'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" });"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// bulk insert"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"heroes"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".bulkInsert"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(["})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { name"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'Thor'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" power"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'God of Thunder'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { name"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'Hulk'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" power"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'Superhuman Strength'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"]);"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// find and findOne"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" heroes"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"heroes"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".find"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"()"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".exec"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" ironMan"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"heroes"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".findOne"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({ selector"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { name"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'Iron Man'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" } })"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".exec"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// update"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" doc"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"heroes"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".findOne"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({ selector"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { name"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'Hulk'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" } })"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".exec"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" doc"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".update"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({ $set"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { power"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'Unlimited Strength'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" } });"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// delete"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" doc"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"heroes"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".findOne"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({ selector"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { name"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'Thor'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" } })"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".exec"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" doc"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".remove"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]})]})})}),"\n",(0,i.jsx)(s.h2,{id:"reactive-queries-and-live-updates",children:"Reactive Queries and Live Updates"}),"\n",(0,i.jsxs)(s.p,{children:["RxDB excels in providing reactive data capabilities, ideal for ",(0,i.jsx)(s.a,{href:"/articles/realtime-database.html",children:"real-time applications"}),". There are two main approaches to achieving live queries with RxDB: using RxJS Observables with React Hooks or utilizing Preact Signals."]}),"\n",(0,i.jsx)("p",{align:"center",children:(0,i.jsx)("img",{src:"../files/animations/realtime.gif",alt:"realtime ui updates",width:"700"})}),"\n",(0,i.jsx)(s.h3,{id:"with-rxjs-observables-and-react-hooks",children:"With RxJS Observables and React Hooks"}),"\n",(0,i.jsx)(s.p,{children:"RxDB integrates seamlessly with RxJS Observables, allowing you to build reactive components. Here's an example of a React component that subscribes to live data updates:"}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { useState"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" useEffect } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'react'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" HeroList"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({ collection }) {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ["}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"heroes"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" setHeroes"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"] "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" useState"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"([]);"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" useEffect"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(() "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // create an observable query"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" query"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" collection"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".find"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" subscription"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" query"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"$"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".subscribe"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(newHeroes "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" setHeroes"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(newHeroes);"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" });"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" () "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" subscription"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".unsubscribe"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" [collection]);"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ("})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" <"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"div"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:">"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" <"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"h2"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:">Hero List"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:""}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"h2"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:">"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" <"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"ul"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:">"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {heroes.map(hero "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ("})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" <"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"li key"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"{hero.id}"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:">"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" <"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"strong"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:">{hero.name}"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:""}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"strong"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:">"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" -"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {hero.power}"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"li"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:">"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ))}"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"ul"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:">"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"div"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:">"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" );"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"}"})})]})})}),"\n",(0,i.jsx)(s.p,{children:"This component subscribes to the collection's changes, updating the UI automatically whenever the underlying data changes, even across browser tabs."}),"\n",(0,i.jsx)(s.h3,{id:"with-preact-signals",children:"With Preact Signals"}),"\n",(0,i.jsx)(s.p,{children:"RxDB also supports Preact Signals for reactivity, which can be integrated into React applications. Preact Signals offer a modern, fine-grained reactivity model."}),"\n",(0,i.jsx)(s.p,{children:"First, install the necessary package:"}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"bash","data-theme":"css-variables",children:(0,i.jsx)(s.code,{"data-language":"bash","data-theme":"css-variables",style:{display:"grid"},children:(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"npm"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string)"},children:" install"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string)"},children:" @preact/signals-core"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string)"},children:" --save"})]})})})}),"\n",(0,i.jsx)(s.p,{children:"Set up RxDB with Preact Signals reactivity:"}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { PreactSignalsRxReactivityFactory } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/reactivity-preact-signals'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { createRxDatabase } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/core'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { getRxStorageLocalstorage } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/storage-localstorage'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" database"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'mydb'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageLocalstorage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"()"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" reactivity"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" PreactSignalsRxReactivityFactory"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,i.jsxs)(s.p,{children:["Now, you can obtain signals directly from RxDB queries using the double-dollar sign (",(0,i.jsx)(s.code,{children:"$$"}),"):"]}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" HeroList"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({ collection }) {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" heroes"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" collection"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".find"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"().$$;"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ("})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" <"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"ul"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:">"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {heroes.map(hero "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ("})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" <"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"li key"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"{hero.id}"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:">"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"{hero.name}"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:""}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"li"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:">"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ))}"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"ul"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:">"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" );"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"}"})})]})})}),"\n",(0,i.jsx)(s.p,{children:"This approach provides automatic updates whenever the data changes, without needing to manage subscriptions manually."}),"\n",(0,i.jsx)(s.h2,{id:"react-indexeddb-example-with-rxdb",children:"React IndexedDB Example with RxDB"}),"\n",(0,i.jsxs)(s.p,{children:["A comprehensive example of using RxDB within a React application can be found in the ",(0,i.jsx)(s.a,{href:"https://github.com/pubkey/rxdb/tree/master/examples/react",children:"RxDB GitHub repository"}),". This repository contains sample applications, showcasing best practices and demonstrating how to integrate RxDB for various use cases."]}),"\n",(0,i.jsx)(s.h2,{id:"advanced-rxdb-features",children:"Advanced RxDB Features"}),"\n",(0,i.jsx)(s.p,{children:"RxDB offers many advanced features that extend beyond basic data storage:"}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"RxDB Replication"}),": Synchronize local data with remote databases seamlessly. Learn more: ",(0,i.jsx)(s.a,{href:"https://rxdb.info/replication.html",children:"RxDB Replication"})]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Data Migration"}),": Handle schema changes gracefully with automatic data migrations. See: ",(0,i.jsx)(s.a,{href:"https://rxdb.info/migration-schema.html",children:"Data migration"})]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Encryption"}),": Secure your data with built-in encryption capabilities. Explore: ",(0,i.jsx)(s.a,{href:"https://rxdb.info/encryption.html",children:"Encryption"})]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Compression"}),": Optimize storage using key compression. Details: ",(0,i.jsx)(s.a,{href:"https://rxdb.info/key-compression.html",children:"Compression"})]}),"\n"]}),"\n",(0,i.jsx)(s.h2,{id:"limitations-of-indexeddb",children:"Limitations of IndexedDB"}),"\n",(0,i.jsx)(s.p,{children:"While IndexedDB is powerful, it has some inherent limitations:"}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Performance"}),": IndexedDB can be slow under certain conditions. Read more: ",(0,i.jsx)(s.a,{href:"https://rxdb.info/slow-indexeddb.html",children:"Slow IndexedDB"})]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Storage Limits"}),": Browsers ",(0,i.jsx)(s.a,{href:"/articles/indexeddb-max-storage-limit.html",children:"impose limits"})," on how much data can be stored. See: ",(0,i.jsx)(s.a,{href:"https://rxdb.info/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm.html",children:"Browser storage limits"})]}),"\n"]}),"\n",(0,i.jsx)(s.h2,{id:"alternatives-to-indexeddb",children:"Alternatives to IndexedDB"}),"\n",(0,i.jsxs)(s.p,{children:["Depending on your application's requirements, there are ",(0,i.jsx)(s.a,{href:"/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm.html",children:"alternative storage solutions"})," to consider:"]}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Origin Private File System (OPFS)"}),": A newer API that can offer better performance. RxDB supports OPFS as well. More info: ",(0,i.jsx)(s.a,{href:"/rx-storage-opfs.html",children:"RxDB OPFS Storage"})]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"SQLite"}),": Ideal for React applications on Capacitor or ",(0,i.jsx)(s.a,{href:"/articles/ionic-storage.html",children:"Ionic"}),", offering native performance. Explore: ",(0,i.jsx)(s.a,{href:"/rx-storage-sqlite.html",children:"RxDB SQLite Storage"})]}),"\n"]}),"\n",(0,i.jsx)(s.h2,{id:"performance-comparison-with-other-browser-storages",children:"Performance comparison with other browser storages"}),"\n",(0,i.jsxs)(s.p,{children:["Here is a ",(0,i.jsx)(s.a,{href:"/rx-storage-performance.html",children:"performance overview"})," of the various browser based storage implementation of RxDB:"]}),"\n",(0,i.jsx)("p",{align:"center",children:(0,i.jsx)("img",{src:"../files/rx-storage-performance-browser.png",alt:"RxStorage performance - browser",width:"700"})}),"\n",(0,i.jsx)(s.h2,{id:"follow-up",children:"Follow Up"}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:["Learn how to use RxDB with the ",(0,i.jsx)(s.a,{href:"/quickstart.html",children:"RxDB Quickstart"})," for a guided introduction."]}),"\n",(0,i.jsxs)(s.li,{children:["Check out the ",(0,i.jsx)(s.a,{href:"https://github.com/pubkey/rxdb",children:"RxDB GitHub repository"})," and leave a star \u2b50 if you find it useful."]}),"\n"]}),"\n",(0,i.jsx)(s.p,{children:"By leveraging RxDB on top of IndexedDB, you can create highly responsive, offline-capable React applications without dealing with the low-level complexities of IndexedDB directly. With reactive queries, seamless cross-tab communication, and powerful advanced features, RxDB becomes an invaluable tool in modern web development."})]})}function h(e={}){const{wrapper:s}={...(0,o.R)(),...e.components};return s?(0,i.jsx)(s,{...e,children:(0,i.jsx)(d,{...e})}):d(e)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/2efd0200.eec55c75.js b/docs/assets/js/2efd0200.eec55c75.js
deleted file mode 100644
index 23faec4b631..00000000000
--- a/docs/assets/js/2efd0200.eec55c75.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[4132],{3247(s,e,n){n.d(e,{g:()=>o});var r=n(4848);function o(s){const e=[];let n=null;return s.children.forEach(s=>{s.props.id?(n&&e.push(n),n={headline:s,paragraphs:[]}):n&&n.paragraphs.push(s)}),n&&e.push(n),(0,r.jsx)("div",{style:i.stepsContainer,children:e.map((s,e)=>(0,r.jsxs)("div",{style:i.stepWrapper,children:[(0,r.jsxs)("div",{style:i.stepIndicator,children:[(0,r.jsx)("div",{style:i.stepNumber,children:e+1}),(0,r.jsx)("div",{style:i.verticalLine})]}),(0,r.jsxs)("div",{style:i.stepContent,children:[(0,r.jsx)("div",{children:s.headline}),s.paragraphs.map((s,e)=>(0,r.jsx)("div",{style:i.item,children:s},e))]})]},e))})}const i={stepsContainer:{display:"flex",flexDirection:"column"},stepWrapper:{display:"flex",alignItems:"stretch",marginBottom:"1.5rem",position:"relative",minWidth:0},stepIndicator:{position:"relative",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"flex-start",width:"33px",marginRight:"1rem",minWidth:0},stepNumber:{width:"33px",height:"33px",borderRadius:"50%",backgroundColor:"var(--color-top)",color:"#fff",display:"flex",alignItems:"center",justifyContent:"center",fontWeight:"bold",marginTop:-4},verticalLine:{position:"absolute",top:29,bottom:"0",left:"50%",width:"1px",background:"linear-gradient(to bottom, var(--color-top) 0%, var(--color-top) 80%, rgba(0,0,0,0) 100%)",transform:"translateX(-50%)"},stepContent:{flex:1,minWidth:0,overflowWrap:"break-word"},item:{marginTop:"0.5rem"}}},5179(s,e,n){n.r(e),n.d(e,{assets:()=>c,contentTitle:()=>t,default:()=>p,frontMatter:()=>a,metadata:()=>r,toc:()=>d});const r=JSON.parse('{"id":"tutorials/typescript","title":"TypeScript Setup","description":"Use RxDB with TypeScript to define typed schemas, create typed collections, and build fully typed ORM methods. A quick step-by-step guide.","source":"@site/docs/tutorials/typescript.md","sourceDirName":"tutorials","slug":"/tutorials/typescript.html","permalink":"/tutorials/typescript.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"TypeScript Setup","slug":"typescript.html","description":"Use RxDB with TypeScript to define typed schemas, create typed collections, and build fully typed ORM methods. A quick step-by-step guide."},"sidebar":"tutorialSidebar","previous":{"title":"Development Mode","permalink":"/dev-mode.html"},"next":{"title":"RxDatabase","permalink":"/rx-database.html"}}');var o=n(4848),i=n(8453),l=n(3247);const a={title:"TypeScript Setup",slug:"typescript.html",description:"Use RxDB with TypeScript to define typed schemas, create typed collections, and build fully typed ORM methods. A quick step-by-step guide."},t="Using RxDB with TypeScript",c={},d=[{value:"Declare the types",id:"declare-the-types",level:2},{value:"Create the base document type",id:"create-the-base-document-type",level:2},{value:"Types for the ORM methods",id:"types-for-the-orm-methods",level:2},{value:"Create RxDocument Type",id:"create-rxdocument-type",level:2},{value:"Create RxCollection Type",id:"create-rxcollection-type",level:2},{value:"Create RxDatabase Type",id:"create-rxdatabase-type",level:2},{value:"Using the types",id:"using-the-types",level:2}];function h(s){const e={a:"a",code:"code",figure:"figure",h1:"h1",h2:"h2",header:"header",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...(0,i.R)(),...s.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(e.header,{children:(0,o.jsx)(e.h1,{id:"using-rxdb-with-typescript",children:"Using RxDB with TypeScript"})}),"\n",(0,o.jsx)(e.p,{children:"In this tutorial you will learn how to use RxDB with TypeScript.\nWe will create a basic database with one collection and several ORM-methods, fully typed!"}),"\n",(0,o.jsx)(e.p,{children:"RxDB directly comes with its typings and you do not have to install anything else, however the latest version of RxDB requires that you are using Typescript v3.8 or newer.\nOur way to go is"}),"\n",(0,o.jsxs)(e.ul,{children:["\n",(0,o.jsx)(e.li,{children:"First define what the documents look like"}),"\n",(0,o.jsx)(e.li,{children:"Then define what the collections look like"}),"\n",(0,o.jsx)(e.li,{children:"Then define what the database looks like"}),"\n"]}),"\n",(0,o.jsxs)(l.g,{children:[(0,o.jsx)(e.h2,{id:"declare-the-types",children:"Declare the types"}),(0,o.jsx)(e.p,{children:"First you import the types from RxDB."}),(0,o.jsx)(e.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(e.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"typescript","data-theme":"css-variables",children:(0,o.jsxs)(e.code,{"data-language":"typescript","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" createRxDatabase"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" RxDatabase"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" RxCollection"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" RxJsonSchema"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" RxDocument"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/core'"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:";"})]})]})})}),(0,o.jsx)(e.h2,{id:"create-the-base-document-type",children:"Create the base document type"}),(0,o.jsx)(e.p,{children:"First we have to define the TypeScript type of the documents of a collection:"}),(0,o.jsxs)(e.p,{children:[(0,o.jsx)(e.strong,{children:"Option A"}),": Create the document type from the schema"]}),(0,o.jsx)(e.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(e.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"typescript","data-theme":"css-variables",children:(0,o.jsxs)(e.code,{"data-language":"typescript","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" toTypedRxJsonSchema"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" ExtractDocumentTypeFromTypedRxJsonSchema"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" RxJsonSchema"})}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb'"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"export"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" heroSchemaLiteral"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" title"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'hero schema'"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" description"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'describes a human being'"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" version"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" 0"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" keyCompression"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" true"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" primaryKey"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'passportId'"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'object'"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" properties"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" passportId"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" maxLength"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" 100"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:" // <- the primary key must have set maxLength"})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" firstName"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" lastName"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" age"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'integer'"})]}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" required"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" ["}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'firstName'"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'lastName'"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'passportId'"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"]"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" indexes"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" ["}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'firstName'"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"]"})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"as"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"; "}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// <- It is important to set 'as const' to preserve the literal type"})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" schemaTyped"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:" toTypedRxJsonSchema"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"(heroSchemaLiteral);"})]}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:" "}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// aggregate the document type from the schema"})}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"export"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:" type"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:" HeroDocType"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:" ExtractDocumentTypeFromTypedRxJsonSchema"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"<"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"typeof"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" schemaTyped>;"})]}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:" "}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// create the typed RxJsonSchema from the literal typed object."})}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"export"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" heroSchema"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:" RxJsonSchema"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"<"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"HeroDocType"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"> "}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" heroSchemaLiteral;"})]})]})})}),(0,o.jsxs)(e.p,{children:[(0,o.jsx)(e.strong,{children:"Option B"}),": Manually type the document type"]}),(0,o.jsx)(e.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(e.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"typescript","data-theme":"css-variables",children:(0,o.jsxs)(e.code,{"data-language":"typescript","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"export"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:" type"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:" HeroDocType"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" passportId"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" string"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" firstName"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" string"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" lastName"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" string"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" age"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"?:"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" number"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"; "}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// optional"})]}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"};"})})]})})}),(0,o.jsxs)(e.p,{children:[(0,o.jsx)(e.strong,{children:"Option C"}),": Generate the document type from schema during build time"]}),(0,o.jsxs)(e.p,{children:["If your schema is in a ",(0,o.jsx)(e.code,{children:".json"})," file or generated from somewhere else, you might generate the typings with the ",(0,o.jsx)(e.a,{href:"https://www.npmjs.com/package/json-schema-to-typescript",children:"json-schema-to-typescript"})," module."]}),(0,o.jsx)(e.h2,{id:"types-for-the-orm-methods",children:"Types for the ORM methods"}),(0,o.jsx)(e.p,{children:"We also add some ORM-methods for the document."}),(0,o.jsx)(e.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(e.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"typescript","data-theme":"css-variables",children:(0,o.jsxs)(e.code,{"data-language":"typescript","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"export"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:" type"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:" HeroDocMethods"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:" scream"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" (v"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" string"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:") "}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" string"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"};"})})]})})}),(0,o.jsx)(e.h2,{id:"create-rxdocument-type",children:"Create RxDocument Type"}),(0,o.jsx)(e.p,{children:"We can merge these into our HeroDocument."}),(0,o.jsx)(e.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(e.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"typescript","data-theme":"css-variables",children:(0,o.jsx)(e.code,{"data-language":"typescript","data-theme":"css-variables",style:{display:"grid"},children:(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"export"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:" type"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:" HeroDocument"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:" RxDocument"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"<"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"HeroDocType"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:" HeroDocMethods"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:">;"})]})})})}),(0,o.jsx)(e.h2,{id:"create-rxcollection-type",children:"Create RxCollection Type"}),(0,o.jsx)(e.p,{children:"Now we can define type for the collection which contains the documents."}),(0,o.jsx)(e.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(e.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"typescript","data-theme":"css-variables",children:(0,o.jsxs)(e.code,{"data-language":"typescript","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsx)(e.span,{"data-line":"",children:" "}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// we declare one static ORM-method for the collection"})}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"export"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:" type"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:" HeroCollectionMethods"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:" countAllDocuments"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" () "}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:" Promise"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"<"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:"number"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:">;"})]}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"}"})}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:" "}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// and then merge all our types"})}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"export"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:" type"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:" HeroCollection"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:" RxCollection"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"<"})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:" HeroDocType"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:" HeroDocMethods"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:" HeroCollectionMethods"})}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:">;"})})]})})}),(0,o.jsx)(e.h2,{id:"create-rxdatabase-type",children:"Create RxDatabase Type"}),(0,o.jsx)(e.p,{children:"Before we can define the database, we make a helper-type which contains all collections of it."}),(0,o.jsx)(e.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(e.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"typescript","data-theme":"css-variables",children:(0,o.jsxs)(e.code,{"data-language":"typescript","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"export"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:" type"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:" MyDatabaseCollections"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" heroes"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:" HeroCollection"})]}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"}"})})]})})}),(0,o.jsx)(e.p,{children:"Now the database."}),(0,o.jsx)(e.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(e.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"typescript","data-theme":"css-variables",children:(0,o.jsx)(e.code,{"data-language":"typescript","data-theme":"css-variables",style:{display:"grid"},children:(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"export"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:" type"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:" MyDatabase"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:" RxDatabase"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"<"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"MyDatabaseCollections"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:">;"})]})})})})]}),"\n",(0,o.jsx)(e.h2,{id:"using-the-types",children:"Using the types"}),"\n",(0,o.jsx)(e.p,{children:"Now that we have declare all our types, we can use them."}),"\n",(0,o.jsx)(e.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(e.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"typescript","data-theme":"css-variables",children:(0,o.jsxs)(e.code,{"data-language":"typescript","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsx)(e.span,{"data-line":"",children:" "}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"/**"})}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:" * create database and collections"})}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" myDatabase"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:" MyDatabase"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"<"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"MyDatabaseCollections"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:">({"})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'mydb'"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageLocalstorage"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"()"})]}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:" "}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" heroSchema"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:" RxJsonSchema"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"<"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"HeroDocType"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"> "}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" title"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'human schema'"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" description"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'describes a human being'"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" version"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" 0"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" keyCompression"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" true"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" primaryKey"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'passportId'"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'object'"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" properties"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" passportId"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" firstName"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" lastName"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" age"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'integer'"})]}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" required"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" ["}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'passportId'"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'firstName'"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'lastName'"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"]"})]}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"};"})}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:" "}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" heroDocMethods"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:" HeroDocMethods"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:" scream"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:" function"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:"this"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:" HeroDocument"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" what"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" string"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:") {"})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" this"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:".firstName "}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"+"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:" ' screams: '"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:" +"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" what"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:".toUpperCase"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"};"})}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:" "}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" heroCollectionMethods"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:" HeroCollectionMethods"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:" countAllDocuments"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:" async"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:" function"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:"this"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:" HeroCollection"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:") {"})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" allDocs"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" this"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:".find"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"()"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:".exec"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" allDocs"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"."}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:"length"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"};"})}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:" "}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" myDatabase"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:".addCollections"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" heroes"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" schema"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" heroSchema"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" methods"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" heroDocMethods"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" statics"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" heroCollectionMethods"})]}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:" "}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// add a postInsert-hook"})}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:"myDatabase"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:"heroes"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:".postInsert"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"("})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:" function"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:" myPostInsertHook"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"("})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" this"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:" HeroCollection"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:" // own collection is bound to the scope"})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" docData"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:" HeroDocType"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:" // documents data"})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" doc"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:" HeroDocument"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:" // RxDocument"})]}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" ) {"})}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" console"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:".log"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'insert to '"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:" +"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" this"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:".name "}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"+"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:" '-collection: '"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:" +"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" doc"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:".firstName);"})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" false"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:" // not async"})]}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:");"})}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:" "}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"/**"})}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:" * use the database"})}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:" "}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// insert a document"})}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" hero"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:" HeroDocument"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" myDatabase"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:"heroes"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:".insert"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" passportId"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'myId'"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" firstName"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'piotr'"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" lastName"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'potter'"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" age"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" 5"})]}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:" "}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// access a property"})}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:"console"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:".log"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:"hero"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:".firstName);"})]}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:" "}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// use a orm method"})}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:"hero"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:".scream"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'AAH!'"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:" "}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// use a static orm method from the collection"})}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" amount"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" number"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" myDatabase"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:"heroes"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:".countAllDocuments"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:"console"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:".log"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"(amount);"})]}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:" "}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:" "}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"/**"})}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:" * clean up"})}),"\n",(0,o.jsx)(e.span,{"data-line":"",children:(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,o.jsxs)(e.span,{"data-line":"",children:[(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:"myDatabase"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:".close"}),(0,o.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]})]})})})]})}function p(s={}){const{wrapper:e}={...(0,i.R)(),...s.components};return e?(0,o.jsx)(e,{...s,children:(0,o.jsx)(h,{...s})}):h(s)}},8453(s,e,n){n.d(e,{R:()=>l,x:()=>a});var r=n(6540);const o={},i=r.createContext(o);function l(s){const e=r.useContext(i);return r.useMemo(function(){return"function"==typeof s?s(e):{...e,...s}},[e,s])}function a(s){let e;return e=s.disableParentContext?"function"==typeof s.components?s.components(o):s.components||o:l(s.components),r.createElement(i.Provider,{value:e},s.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/2fe9ecb2.fc29e504.js b/docs/assets/js/2fe9ecb2.fc29e504.js
deleted file mode 100644
index 6198d77dd89..00000000000
--- a/docs/assets/js/2fe9ecb2.fc29e504.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[5101],{8453(e,s,n){n.d(s,{R:()=>o,x:()=>a});var t=n(6540);const r={},i=t.createContext(r);function o(e){const s=t.useContext(i);return t.useMemo(function(){return"function"==typeof e?e(s):{...s,...e}},[s,e])}function a(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:o(e.components),t.createElement(i.Provider,{value:s},e.children)}},8662(e,s,n){n.r(s),n.d(s,{assets:()=>l,contentTitle:()=>a,default:()=>c,frontMatter:()=>o,metadata:()=>t,toc:()=>d});const t=JSON.parse('{"id":"articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm","title":"LocalStorage vs. IndexedDB vs. Cookies vs. OPFS vs. WASM-SQLite","description":"Compare LocalStorage, IndexedDB, Cookies, OPFS, and WASM-SQLite for web storage, performance, limits, and best practices for modern web apps.","source":"@site/docs/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm.md","sourceDirName":"articles","slug":"/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm.html","permalink":"/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"LocalStorage vs. IndexedDB vs. Cookies vs. OPFS vs. WASM-SQLite","slug":"localstorage-indexeddb-cookies-opfs-sqlite-wasm.html","description":"Compare LocalStorage, IndexedDB, Cookies, OPFS, and WASM-SQLite for web storage, performance, limits, and best practices for modern web apps."},"sidebar":"tutorialSidebar","previous":{"title":"Slow IndexedDB","permalink":"/slow-indexeddb.html"},"next":{"title":"17.0.0","permalink":"/releases/17.0.0.html"}}');var r=n(4848),i=n(8453);const o={title:"LocalStorage vs. IndexedDB vs. Cookies vs. OPFS vs. WASM-SQLite",slug:"localstorage-indexeddb-cookies-opfs-sqlite-wasm.html",description:"Compare LocalStorage, IndexedDB, Cookies, OPFS, and WASM-SQLite for web storage, performance, limits, and best practices for modern web apps."},a="LocalStorage vs. IndexedDB vs. Cookies vs. OPFS vs. WASM-SQLite",l={},d=[{value:"The available Storage APIs in a modern Browser",id:"the-available-storage-apis-in-a-modern-browser",level:2},{value:"What are Cookies",id:"what-are-cookies",level:3},{value:"What is LocalStorage",id:"what-is-localstorage",level:3},{value:"What is IndexedDB",id:"what-is-indexeddb",level:3},{value:"What is OPFS",id:"what-is-opfs",level:3},{value:"What is WASM SQLite",id:"what-is-wasm-sqlite",level:3},{value:"What was WebSQL",id:"what-was-websql",level:3},{value:"Feature Comparison",id:"feature-comparison",level:2},{value:"Storing complex JSON Documents",id:"storing-complex-json-documents",level:3},{value:"Multi-Tab Support",id:"multi-tab-support",level:3},{value:"Indexing Support",id:"indexing-support",level:3},{value:"WebWorker Support",id:"webworker-support",level:3},{value:"Storage Size Limits",id:"storage-size-limits",level:2},{value:"Performance Comparison",id:"performance-comparison",level:2},{value:"Initialization Time",id:"initialization-time",level:3},{value:"Latency of small Writes",id:"latency-of-small-writes",level:3},{value:"Latency of small Reads",id:"latency-of-small-reads",level:3},{value:"Big Bulk Writes",id:"big-bulk-writes",level:3},{value:"Big Bulk Reads",id:"big-bulk-reads",level:3},{value:"Performance Conclusions",id:"performance-conclusions",level:2},{value:"Possible Improvements",id:"possible-improvements",level:2},{value:"Future Improvements",id:"future-improvements",level:2},{value:"Follow Up",id:"follow-up",level:2}];function h(e){const s={a:"a",admonition:"admonition",blockquote:"blockquote",code:"code",figure:"figure",h1:"h1",h2:"h2",h3:"h3",header:"header",hr:"hr",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,i.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s.header,{children:(0,r.jsx)(s.h1,{id:"localstorage-vs-indexeddb-vs-cookies-vs-opfs-vs-wasm-sqlite",children:"LocalStorage vs. IndexedDB vs. Cookies vs. OPFS vs. WASM-SQLite"})}),"\n",(0,r.jsxs)(s.p,{children:["So you are building that web application and you want to ",(0,r.jsx)(s.strong,{children:"store data inside of your users browser"}),". Maybe you just need to store some small flags or you even need a fully fledged database."]}),"\n",(0,r.jsxs)(s.p,{children:["The types of web applications we build have changed significantly. In the early years of the web we served static html files. Then we served dynamically rendered html and later we build ",(0,r.jsx)(s.strong,{children:"single page applications"})," that run most logic on the client. And for the coming years you might want to build so called ",(0,r.jsx)(s.a,{href:"/offline-first.html",children:"local first apps"})," that handle big and complex data operations solely on the client and even work when offline, which gives you the opportunity to build ",(0,r.jsx)(s.strong,{children:"zero-latency"})," user interactions."]}),"\n",(0,r.jsxs)(s.p,{children:["In the early days of the web, ",(0,r.jsx)(s.strong,{children:"cookies"})," were the only option for storing small key-value assignments.. But JavaScript and browsers have evolved significantly and better storage APIs have been added which pave the way for bigger and more complex data operations."]}),"\n",(0,r.jsxs)(s.p,{children:["In this article, we will dive into the various technologies available for storing and querying data in a browser. We'll explore traditional methods like ",(0,r.jsx)(s.strong,{children:"Cookies"}),", ",(0,r.jsx)(s.strong,{children:"localStorage"}),", ",(0,r.jsx)(s.strong,{children:"WebSQL"}),", ",(0,r.jsx)(s.strong,{children:"IndexedDB"})," and newer solutions such as ",(0,r.jsx)(s.strong,{children:"OPFS"})," and ",(0,r.jsx)(s.strong,{children:"SQLite via WebAssembly"}),". We compare the features and limitations and through performance tests we aim to uncover how fast we can write and read data in a web application with the various methods."]}),"\n",(0,r.jsxs)(s.admonition,{type:"note",children:[(0,r.jsxs)(s.p,{children:["You are reading this in the ",(0,r.jsx)(s.a,{href:"/",children:"RxDB"})," docs. RxDB is a JavaScript database that has different storage adapters which can utilize the different storage APIs.\n",(0,r.jsx)(s.strong,{children:"Since 2017"})," I spend most of my time working with these APIs, doing performance tests and building ",(0,r.jsx)(s.a,{href:"/slow-indexeddb.html",children:"hacks"})," and plugins to reach the limits of browser database operation speed."]}),(0,r.jsx)("center",{children:(0,r.jsx)("a",{href:"https://rxdb.info/",children:(0,r.jsx)("img",{src:"../files/logo/rxdb_javascript_database.svg",alt:"JavaScript Database",width:"220"})})})]}),"\n",(0,r.jsx)(s.h2,{id:"the-available-storage-apis-in-a-modern-browser",children:"The available Storage APIs in a modern Browser"}),"\n",(0,r.jsx)(s.p,{children:"First lets have a brief overview of the different APIs, their intentional use case and history:"}),"\n",(0,r.jsx)(s.h3,{id:"what-are-cookies",children:"What are Cookies"}),"\n",(0,r.jsxs)(s.p,{children:["Cookies were first introduced by ",(0,r.jsx)(s.a,{href:"https://www.baekdal.com/thoughts/the-original-cookie-specification-from-1997-was-gdpr-compliant/",children:"netscape in 1994"}),".\nCookies store small pieces of key-value data that are mainly used for session management, personalization, and tracking. Cookies can have several security settings like a time-to-live or the ",(0,r.jsx)(s.code,{children:"domain"})," attribute to share the cookies between several subdomains."]}),"\n",(0,r.jsxs)(s.p,{children:["Cookies values are not only stored at the client but also sent with ",(0,r.jsx)(s.strong,{children:"every http request"})," to the server. This means we cannot store much data in a cookie but it is still interesting how good cookie access performance compared to the other methods. Especially because cookies are such an important base feature of the web, many performance optimizations have been done and even these days there is still progress being made like the ",(0,r.jsx)(s.a,{href:"https://blog.chromium.org/2024/06/introducing-shared-memory-versioning-to.html",children:"Shared Memory Versioning"})," by chromium or the asynchronous ",(0,r.jsx)(s.a,{href:"https://developer.mozilla.org/en-US/docs/Web/API/Cookie_Store_API",children:"CookieStore API"}),"."]}),"\n",(0,r.jsx)(s.h3,{id:"what-is-localstorage",children:"What is LocalStorage"}),"\n",(0,r.jsxs)(s.p,{children:["The ",(0,r.jsx)(s.a,{href:"/articles/localstorage.html",children:"localStorage API"})," was first proposed as part of the ",(0,r.jsx)(s.a,{href:"https://www.w3.org/TR/2009/WD-webstorage-20090423/#the-localstorage-attribute",children:"WebStorage specification in 2009"}),".\nLocalStorage provides a simple API to store key-value pairs inside of a web browser. It has the methods ",(0,r.jsx)(s.code,{children:"setItem"}),", ",(0,r.jsx)(s.code,{children:"getItem"}),", ",(0,r.jsx)(s.code,{children:"removeItem"})," and ",(0,r.jsx)(s.code,{children:"clear"})," which is all you need from a key-value store. LocalStorage is only suitable for storing small amounts of data that need to persist across sessions and it is ",(0,r.jsx)(s.a,{href:"/articles/localstorage.html#understanding-the-limitations-of-local-storage",children:"limited by a 5MB storage cap"}),". Storing complex data is only possible by transforming it into a string for example with ",(0,r.jsx)(s.code,{children:"JSON.stringify()"}),".\nThe API is not asynchronous which means if fully blocks your JavaScript process while doing stuff. Therefore running heavy operations on it might block your UI from rendering."]}),"\n",(0,r.jsxs)(s.blockquote,{children:["\n",(0,r.jsxs)(s.p,{children:["There is also the ",(0,r.jsx)(s.strong,{children:"SessionStorage"})," API. The key difference is that localStorage data persists indefinitely until explicitly cleared, while sessionStorage data is cleared when the browser tab or window is closed."]}),"\n"]}),"\n",(0,r.jsx)(s.h3,{id:"what-is-indexeddb",children:"What is IndexedDB"}),"\n",(0,r.jsxs)(s.p,{children:['IndexedDB was first introduced as "Indexed Database API" ',(0,r.jsx)(s.a,{href:"https://www.w3.org/TR/IndexedDB/#sotd",children:"in 2015"}),"."]}),"\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.a,{href:"/rx-storage-indexeddb.html",children:"IndexedDB"})," is a low-level API for storing large amounts of structured JSON data. While the API is a bit hard to use, IndexedDB can utilize indexes and asynchronous operations. It lacks support for complex queries and only allows to iterate over the indexes which makes it more like a base layer for other libraries then a fully fledged database."]}),"\n",(0,r.jsxs)(s.p,{children:["In 2018, IndexedDB version 2.0 ",(0,r.jsx)(s.a,{href:"https://hacks.mozilla.org/2016/10/whats-new-in-indexeddb-2-0/",children:"was introduced"}),". This added some major improvements. Most noticeable the ",(0,r.jsx)(s.code,{children:"getAll()"})," method which improves performance dramatically when fetching bulks of JSON documents."]}),"\n",(0,r.jsxs)(s.p,{children:["IndexedDB ",(0,r.jsx)(s.a,{href:"https://w3c.github.io/IndexedDB/",children:"version 3.0"})," is in the workings which contains many improvements. Most important the addition of ",(0,r.jsx)(s.code,{children:"Promise"})," based calls that makes modern JS features like ",(0,r.jsx)(s.code,{children:"async/await"})," more useful."]}),"\n",(0,r.jsx)(s.h3,{id:"what-is-opfs",children:"What is OPFS"}),"\n",(0,r.jsxs)(s.p,{children:["The ",(0,r.jsx)(s.a,{href:"/rx-storage-opfs.html",children:"Origin Private File System"})," (OPFS) is a ",(0,r.jsx)(s.a,{href:"https://caniuse.com/mdn-api_filesystemfilehandle_createsyncaccesshandle",children:"relatively new"})," API that allows web applications to store large files directly in the browser. It is designed for data-intensive applications that want to write and read ",(0,r.jsx)(s.strong,{children:"binary data"})," in a simulated file system."]}),"\n",(0,r.jsx)(s.p,{children:"OPFS can be used in two modes:"}),"\n",(0,r.jsxs)(s.ul,{children:["\n",(0,r.jsxs)(s.li,{children:["Either asynchronous on the ",(0,r.jsx)(s.a,{href:"/rx-storage-opfs.html#using-opfs-in-the-main-thread-instead-of-a-worker",children:"main thread"})]}),"\n",(0,r.jsxs)(s.li,{children:["Or in a WebWorker with the faster, asynchronous access with the ",(0,r.jsx)(s.code,{children:"createSyncAccessHandle()"})," method."]}),"\n"]}),"\n",(0,r.jsxs)(s.p,{children:['Because only binary data can be processed, OPFS is made to be a base filesystem for library developers. You will unlikely directly want to use the OPFS in your code when you build a "normal" application because it is too complex. That would only make sense for storing plain files like images, not to store and query ',(0,r.jsx)(s.a,{href:"/articles/json-based-database.html",children:"JSON data"})," efficiently. I have build a ",(0,r.jsx)(s.a,{href:"/rx-storage-opfs.html",children:"OPFS based storage"})," for RxDB with proper indexing and querying and it took me several months."]}),"\n",(0,r.jsx)(s.h3,{id:"what-is-wasm-sqlite",children:"What is WASM SQLite"}),"\n",(0,r.jsx)("center",{children:(0,r.jsx)("img",{src:"../files/icons/sqlite.svg",alt:"WASM SQLite",width:"140",class:"img-padding"})}),"\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.a,{href:"https://webassembly.org/",children:"WebAssembly"})," (Wasm) is a binary format that allows high-performance code execution on the web.\nWasm was added to major browsers over the course of 2017 which opened a wide range of opportunities on what to run inside of a browser. You can compile native libraries to WebAssembly and just run them on the client with just a few adjustments. WASM code can be shipped to browser apps and generally runs much faster compared to JavaScript, but still about ",(0,r.jsx)(s.a,{href:"https://www.usenix.org/conference/atc19/presentation/jangda",children:"10% slower then native"}),"."]}),"\n",(0,r.jsx)(s.p,{children:"Many people started to use compiled SQLite as a database inside of the browser which is why it makes sense to also compare this setup to the native APIs."}),"\n",(0,r.jsxs)(s.p,{children:["The compiled byte code of SQLite has a size of ",(0,r.jsx)(s.a,{href:"https://sqlite.org/download.html",children:"about 938.9\xa0kB"})," which must be downloaded and parsed by the users on the first page load. WASM cannot directly access any persistent storage API in the browser. Instead it requires data to flow from WASM to the main-thread and then can be put into one of the browser APIs. This is done with so called ",(0,r.jsx)(s.a,{href:"https://www.sqlite.org/vfs.html",children:"VFS (virtual file system) adapters"})," that handle data access from SQLite to anything else."]}),"\n",(0,r.jsx)(s.h3,{id:"what-was-websql",children:"What was WebSQL"}),"\n",(0,r.jsxs)(s.p,{children:["WebSQL ",(0,r.jsx)(s.strong,{children:"was"})," a web API ",(0,r.jsx)(s.a,{href:"https://www.w3.org/TR/webdatabase/",children:"introduced in 2009"})," that allowed browsers to use SQL databases for client-side storage, based on SQLite. The idea was to give developers a way to store and query data using SQL on the client side, similar to server-side databases.\nWebSQL has been ",(0,r.jsx)(s.strong,{children:"removed from browsers"})," in the current years for multiple good reasons:"]}),"\n",(0,r.jsxs)(s.ul,{children:["\n",(0,r.jsx)(s.li,{children:"WebSQL was not standardized and having an API based on a single specific implementation in form of the SQLite source code is hard to ever make it to a standard."}),"\n",(0,r.jsxs)(s.li,{children:["WebSQL required browsers to use a ",(0,r.jsx)(s.a,{href:"https://developer.chrome.com/blog/deprecating-web-sql#reasons_for_deprecating_web_sql",children:"specific version"})," of SQLite (version 3.6.19) which means whenever there would be any update or bugfix to SQLite, it would not be possible to add that to WebSQL without possible breaking the web."]}),"\n",(0,r.jsx)(s.li,{children:"Major browsers like firefox never supported WebSQL."}),"\n"]}),"\n",(0,r.jsxs)(s.p,{children:["Therefore in the following we will ",(0,r.jsx)(s.strong,{children:"just ignore WebSQL"})," even if it would be possible to run tests on in by setting specific browser flags or using old versions of chromium."]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h2,{id:"feature-comparison",children:"Feature Comparison"}),"\n",(0,r.jsx)(s.p,{children:"Now that you know the basic concepts of the APIs, lets compare some specific features that have shown to be important for people using RxDB and browser based storages in general."}),"\n",(0,r.jsx)(s.h3,{id:"storing-complex-json-documents",children:"Storing complex JSON Documents"}),"\n",(0,r.jsxs)(s.p,{children:['When you store data in a web application, most often you want to store complex JSON documents and not only "normal" values like the ',(0,r.jsx)(s.code,{children:"integers"})," and ",(0,r.jsx)(s.code,{children:"strings"})," you store in a server side database."]}),"\n",(0,r.jsxs)(s.ul,{children:["\n",(0,r.jsx)(s.li,{children:"Only IndexedDB works with JSON objects natively."}),"\n",(0,r.jsxs)(s.li,{children:["With SQLite WASM you can ",(0,r.jsx)(s.a,{href:"https://www.sqlite.org/json1.html",children:"store JSON"})," in a ",(0,r.jsx)(s.code,{children:"text"})," column since version 3.38.0 (2022-02-22) and even run deep queries on it and use single attributes as indexes."]}),"\n"]}),"\n",(0,r.jsxs)(s.p,{children:["Every of the other APIs can only store strings or binary data. Of course you can transform any JSON object to a string with ",(0,r.jsx)(s.code,{children:"JSON.stringify()"})," but not having the JSON support in the API can make things complex when running queries and running ",(0,r.jsx)(s.code,{children:"JSON.stringify()"})," many times can cause performance problems."]}),"\n",(0,r.jsx)(s.h3,{id:"multi-tab-support",children:"Multi-Tab Support"}),"\n",(0,r.jsxs)(s.p,{children:["A big difference when building a Web App compared to ",(0,r.jsx)(s.a,{href:"/electron-database.html",children:"Electron"})," or ",(0,r.jsx)(s.a,{href:"/react-native-database.html",children:"React-Native"}),", is that the user will open and close the app in ",(0,r.jsx)(s.strong,{children:"multiple browser tabs at the same time"}),". Therefore you have not only one JavaScript process running, but many of them can exist and might have to share state changes between each other to not show ",(0,r.jsx)(s.strong,{children:"outdated data"})," to the user."]}),"\n",(0,r.jsxs)(s.blockquote,{children:["\n",(0,r.jsxs)(s.p,{children:["If your users' muscle memory puts the left hand on the ",(0,r.jsx)(s.strong,{children:"F5"})," key while using your website, you did something wrong!"]}),"\n"]}),"\n",(0,r.jsx)(s.p,{children:"Not all storage APIs support a way to automatically share write events between tabs."}),"\n",(0,r.jsxs)(s.p,{children:["Only localstorage has a way to automatically share write events between tabs by the API itself with the ",(0,r.jsx)(s.a,{href:"/articles/localstorage.html#localstorage-vs-indexeddb",children:"storage-event"})," which can be used to observe changes."]}),"\n",(0,r.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,r.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"js","data-theme":"css-variables",children:(0,r.jsxs)(s.code,{"data-language":"js","data-theme":"css-variables",style:{display:"grid"},children:[(0,r.jsx)(s.span,{"data-line":"",children:(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// localStorage can observe changes with the storage event."})}),"\n",(0,r.jsx)(s.span,{"data-line":"",children:(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// This feature is missing in IndexedDB and others"})}),"\n",(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"addEventListener"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:'"storage"'}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" (event) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {});"})]})]})})}),"\n",(0,r.jsxs)(s.p,{children:["There was the ",(0,r.jsx)(s.a,{href:"https://stackoverflow.com/a/33270440",children:"experimental IndexedDB observers API"})," for chrome, but the proposal repository has been archived."]}),"\n",(0,r.jsx)(s.p,{children:"To workaround this problem, there are two solutions:"}),"\n",(0,r.jsxs)(s.ul,{children:["\n",(0,r.jsxs)(s.li,{children:["The first option is to use the ",(0,r.jsx)(s.a,{href:"https://github.com/pubkey/broadcast-channel",children:"BroadcastChannel API"})," which can send messages across browser tabs. So whenever you do a write to the storage, you also send a notification to other tabs to inform them about these changes. This is the most common workaround which is also used by RxDB. Notice that there is also the ",(0,r.jsx)(s.a,{href:"https://developer.mozilla.org/en-US/docs/Web/API/Web_Locks_API",children:"WebLocks API"})," which can be used to have mutexes across browser tabs."]}),"\n",(0,r.jsxs)(s.li,{children:["The other solution is to use the ",(0,r.jsx)(s.a,{href:"https://developer.mozilla.org/en-US/docs/Web/API/SharedWorker",children:"SharedWorker"})," and do all writes inside of the worker. All browser tabs can then subscribe to messages from that ",(0,r.jsx)(s.strong,{children:"single"})," SharedWorker and know about changes."]}),"\n"]}),"\n",(0,r.jsx)(s.h3,{id:"indexing-support",children:"Indexing Support"}),"\n",(0,r.jsxs)(s.p,{children:["The big difference between a database and storing data in a plain file, is that a database is writing data in a format that allows running operations over indexes to facilitate fast performant queries. From our list of technologies only ",(0,r.jsx)(s.strong,{children:"IndexedDB"})," and ",(0,r.jsx)(s.strong,{children:"WASM SQLite"})," support for indexing out of the box. In theory you can build indexes on top of any storage like localstorage or OPFS but you likely should not want to do that by yourself."]}),"\n",(0,r.jsx)(s.p,{children:"In IndexedDB for example, we can fetch a bulk of documents by a given index range:"}),"\n",(0,r.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,r.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,r.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,r.jsx)(s.span,{"data-line":"",children:(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// find all products with a price between 10 and 50"})}),"\n",(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" keyRange"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" IDBKeyRange"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".bound"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"10"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 50"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" transaction"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".transaction"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'products'"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'readonly'"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" objectStore"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" transaction"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".objectStore"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'products'"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" index"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" objectStore"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".index"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'priceIndex'"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" request"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" index"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".getAll"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(keyRange);"})]}),"\n",(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" result"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" new"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" Promise"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"((res"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" rej) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" request"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"."}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"onsuccess"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" (event) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" res"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"event"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"."}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"target"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".result);"})]}),"\n",(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" request"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"."}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"onerror"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" (event) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" rej"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(event);"})]}),"\n",(0,r.jsx)(s.span,{"data-line":"",children:(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,r.jsxs)(s.p,{children:["Notice that IndexedDB has the limitation of ",(0,r.jsx)(s.a,{href:"https://github.com/w3c/IndexedDB/issues/76",children:"not having indexes on boolean values"}),". You can only index strings and numbers. To workaround that you have to transform boolean to numbers and backwards when storing the data."]}),"\n",(0,r.jsx)(s.h3,{id:"webworker-support",children:"WebWorker Support"}),"\n",(0,r.jsxs)(s.p,{children:["When running heavy data operations, you might want to move the processing away from the JavaScript main thread. This ensures that our app keeps being responsive and fast while the processing can run in parallel in the background. In a browser you can either use the ",(0,r.jsx)(s.a,{href:"https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API",children:"WebWorker"}),", ",(0,r.jsx)(s.a,{href:"https://developer.mozilla.org/en-US/docs/Web/API/SharedWorker",children:"SharedWorker"})," or the ",(0,r.jsx)(s.a,{href:"https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API",children:"ServiceWorker"})," API to do that. In RxDB you can use the ",(0,r.jsx)(s.a,{href:"/rx-storage-worker.html",children:"WebWorker"})," or ",(0,r.jsx)(s.a,{href:"/rx-storage-shared-worker.html",children:"SharedWorker"})," plugins to move your storage inside of a worker."]}),"\n",(0,r.jsxs)(s.p,{children:["The most common API for that use case is spawning a ",(0,r.jsx)(s.strong,{children:"WebWorker"})," and doing most work on that second JavaScript process. The worker is spawned from a separate JavaScript file (or base64 string) and communicates with the main thread by sending data with ",(0,r.jsx)(s.code,{children:"postMessage()"}),"."]}),"\n",(0,r.jsxs)(s.p,{children:["Unfortunately ",(0,r.jsx)(s.strong,{children:"LocalStorage"})," and ",(0,r.jsx)(s.strong,{children:"Cookies"})," ",(0,r.jsx)(s.a,{href:"https://stackoverflow.com/questions/6179159/accessing-localstorage-from-a-webworker",children:"cannot be used in WebWorker or SharedWorker"})," because of the design and security constraints. WebWorkers run in a separate global context from the main browser thread and therefore cannot do stuff that might impact the main thread. They have no direct access to certain web APIs, like the DOM, localStorage, or cookies."]}),"\n",(0,r.jsxs)(s.p,{children:["Everything else can be used from inside a WebWorker.\nThe fast version of OPFS with the ",(0,r.jsx)(s.code,{children:"createSyncAccessHandle"})," method can ",(0,r.jsx)(s.strong,{children:"only"})," ",(0,r.jsx)(s.a,{href:"/rx-storage-opfs.html#opfs-limitations",children:"be used in a WebWorker"}),", and ",(0,r.jsx)(s.strong,{children:"not on the main thread"}),". This is because all the operations of the returned ",(0,r.jsx)(s.code,{children:"AccessHandle"})," are ",(0,r.jsx)(s.strong,{children:"not async"})," and therefore block the JavaScript process, so you do want to do that on the main thread and block everything."]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h2,{id:"storage-size-limits",children:"Storage Size Limits"}),"\n",(0,r.jsxs)(s.ul,{children:["\n",(0,r.jsxs)(s.li,{children:["\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.strong,{children:"Cookies"})," are limited to about ",(0,r.jsx)(s.code,{children:"4 KB"})," of data in ",(0,r.jsx)(s.a,{href:"https://datatracker.ietf.org/doc/html/rfc6265#section-6.1",children:"RFC-6265"}),". Because the stored cookies are send to the server with every HTTP request, this limitation is reasonable. You can test your browsers cookie limits ",(0,r.jsx)(s.a,{href:"http://www.ruslog.com/tools/cookies.html",children:"here"}),". Notice that you should never fill up the full ",(0,r.jsx)(s.code,{children:"4 KB"})," of your cookies because your web server will not accept too long headers and reject the requests with ",(0,r.jsx)(s.code,{children:"HTTP ERROR 431 - Request header fields too large"}),". Once you have reached that point you can not even serve updated JavaScript to your user to clean up the cookies and you will have locked out that user until the cookies get cleaned up manually."]}),"\n"]}),"\n",(0,r.jsxs)(s.li,{children:["\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.strong,{children:"LocalStorage"})," has a storage size limitation that varies depending on the browser, but generally ranges from 4 MB to 10 MB per origin. You can test your localStorage size limit ",(0,r.jsx)(s.a,{href:"https://arty.name/localstorage.html",children:"here"}),"."]}),"\n",(0,r.jsxs)(s.ul,{children:["\n",(0,r.jsx)(s.li,{children:"Chrome/Chromium/Edge: 5 MB per domain"}),"\n",(0,r.jsx)(s.li,{children:"Firefox: 10 MB per domain"}),"\n",(0,r.jsx)(s.li,{children:"Safari: 4-5 MB per domain (varies slightly between versions)"}),"\n"]}),"\n"]}),"\n",(0,r.jsxs)(s.li,{children:["\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.strong,{children:"IndexedDB"})," does not have a specific fixed size limitation like localStorage. The maximum storage size for IndexedDB depends on the browser implementation. The upper limit is typically based on the available disc space on the user's device. In chromium browsers it can use up to 80% of total disk space. You can get an estimation about the storage size limit by calling ",(0,r.jsx)(s.code,{children:"await navigator.storage.estimate()"}),". Typically you can store gigabytes of data which can be tried out ",(0,r.jsx)(s.a,{href:"https://demo.agektmr.com/storage/",children:"here"}),". Notice that we have a full article about ",(0,r.jsx)(s.a,{href:"/articles/indexeddb-max-storage-limit.html",children:"storage max size limits of IndexedDB"})," that covers this topic."]}),"\n"]}),"\n",(0,r.jsxs)(s.li,{children:["\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.strong,{children:"OPFS"})," has the same storage size limitation as IndexedDB. Its limit depends on the available disc space. This can also be tested ",(0,r.jsx)(s.a,{href:"https://demo.agektmr.com/storage/",children:"here"}),"."]}),"\n"]}),"\n"]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h2,{id:"performance-comparison",children:"Performance Comparison"}),"\n",(0,r.jsx)(s.p,{children:"Now that we've reviewed the features of each storage method, let's dive into performance comparisons, focusing on initialization times, read/write latencies, and bulk operations."}),"\n",(0,r.jsxs)(s.p,{children:["Notice that we only run simple tests and for your specific use case in your application the results might differ. Also we only compare performance in google chrome (version 128.0.6613.137). Firefox and Safari have similar ",(0,r.jsx)(s.strong,{children:"but not equal"})," performance patterns. You can run the test by yourself on your own machine from this ",(0,r.jsx)(s.a,{href:"https://github.com/pubkey/localstorage-indexeddb-cookies-opfs-sqlite-wasm",children:"github repository"}),'. For all tests we throttle the network to behave like the average german internet speed. (download: 135,900 kbit/s, upload: 28,400 kbit/s, latency: 125ms). Also all tests store an "average" JSON object that might be required to be stringified depending on the storage. We also only test the performance of storing documents by id because some of the technologies (cookies, OPFS and localstorage) do not support indexed range operations so it makes no sense to compare the performance of these.']}),"\n",(0,r.jsx)(s.h3,{id:"initialization-time",children:"Initialization Time"}),"\n",(0,r.jsx)(s.p,{children:"Before you can store any data, many APIs require a setup process like creating databases, spawning WebAssembly processes or downloading additional stuff. To ensure your app starts fast, the initialization time is important."}),"\n",(0,r.jsx)(s.p,{children:"The APIs of localStorage and Cookies do not have any setup process and can be directly used. IndexedDB requires to open a database and a store inside of it. WASM SQLite needs to download a WASM file and process it. OPFS needs to download and start a worker file and initialize the virtual file system directory."}),"\n",(0,r.jsx)(s.p,{children:"Here are the time measurements from how long it takes until the first bit of data can be stored:"}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Technology"}),(0,r.jsx)(s.th,{children:"Time in Milliseconds"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:"IndexedDB"}),(0,r.jsx)(s.td,{children:"46"})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:"OPFS Main Thread"}),(0,r.jsx)(s.td,{children:"23"})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:"OPFS WebWorker"}),(0,r.jsx)(s.td,{children:"26.8"})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:"WASM SQLite (memory)"}),(0,r.jsx)(s.td,{children:"504"})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:"WASM SQLite (IndexedDB)"}),(0,r.jsx)(s.td,{children:"535"})]})]})]}),"\n",(0,r.jsx)(s.p,{children:"Here we can notice a few things:"}),"\n",(0,r.jsxs)(s.ul,{children:["\n",(0,r.jsx)(s.li,{children:"Opening a new IndexedDB database with a single store takes surprisingly long"}),"\n",(0,r.jsx)(s.li,{children:"The latency overhead of sending data from the main thread to a WebWorker OPFS is about 4 milliseconds. Here we only send minimal data to init the OPFS file handler. It will be interesting if that latency increases when more data is processed."}),"\n",(0,r.jsx)(s.li,{children:"Downloading and parsing WASM SQLite and creating a single table takes about half a second. Using also the IndexedDB VFS to store data persistently adds additional 31 milliseconds. Reloading the page with enabled caching and already prepared tables is a bit faster with 420 milliseconds (memory)."}),"\n"]}),"\n",(0,r.jsx)(s.h3,{id:"latency-of-small-writes",children:"Latency of small Writes"}),"\n",(0,r.jsx)(s.p,{children:"Next lets test the latency of small writes. This is important when you do many small data changes that happen independent from each other. Like when you stream data from a websocket or persist pseudo randomly happening events like mouse movements."}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Technology"}),(0,r.jsx)(s.th,{children:"Time in Milliseconds"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:"Cookies"}),(0,r.jsx)(s.td,{children:"0.058"})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:"LocalStorage"}),(0,r.jsx)(s.td,{children:"0.017"})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:"IndexedDB"}),(0,r.jsx)(s.td,{children:"0.17"})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:"OPFS Main Thread"}),(0,r.jsx)(s.td,{children:"1.46"})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:"OPFS WebWorker"}),(0,r.jsx)(s.td,{children:"1.54"})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:"WASM SQLite (memory)"}),(0,r.jsx)(s.td,{children:"0.17"})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:"WASM SQLite (IndexedDB)"}),(0,r.jsx)(s.td,{children:"3.17"})]})]})]}),"\n",(0,r.jsx)(s.p,{children:"Here we can notice a few things:"}),"\n",(0,r.jsxs)(s.ul,{children:["\n",(0,r.jsx)(s.li,{children:"LocalStorage has the lowest write latency with only 0.017 milliseconds per write."}),"\n",(0,r.jsx)(s.li,{children:"IndexedDB writes are about 10 times slower compared to localStorage."}),"\n",(0,r.jsx)(s.li,{children:"Sending the data to the WASM SQLite process and letting it persist via IndexedDB is slow with over 3 milliseconds per write."}),"\n"]}),"\n",(0,r.jsxs)(s.p,{children:["The OPFS operations take about 1.5 milliseconds to write the JSON data into one document per file. We can see the sending the data to a webworker first is a bit slower which comes from the overhead of serializing and deserializing the data on both sides.\nIf we would not create on OPFS file per document but instead append everything to a single file, the performance pattern changes significantly. Then the faster file handle from the ",(0,r.jsx)(s.code,{children:"createSyncAccessHandle()"})," only takes about 1 millisecond per write. But this would require to somehow remember at which position the each document is stored. Therefore in our tests we will continue using one file per document."]}),"\n",(0,r.jsx)(s.h3,{id:"latency-of-small-reads",children:"Latency of small Reads"}),"\n",(0,r.jsxs)(s.p,{children:["Now that we have stored some documents, lets measure how long it takes to read single documents by their ",(0,r.jsx)(s.code,{children:"id"}),"."]}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Technology"}),(0,r.jsx)(s.th,{children:"Time in Milliseconds"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:"Cookies"}),(0,r.jsx)(s.td,{children:"0.132"})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:"LocalStorage"}),(0,r.jsx)(s.td,{children:"0.0052"})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:"IndexedDB"}),(0,r.jsx)(s.td,{children:"0.1"})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:"OPFS Main Thread"}),(0,r.jsx)(s.td,{children:"1.28"})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:"OPFS WebWorker"}),(0,r.jsx)(s.td,{children:"1.41"})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:"WASM SQLite (memory)"}),(0,r.jsx)(s.td,{children:"0.45"})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:"WASM SQLite (IndexedDB)"}),(0,r.jsx)(s.td,{children:"2.93"})]})]})]}),"\n",(0,r.jsx)(s.p,{children:"Here we can notice a few things:"}),"\n",(0,r.jsxs)(s.ul,{children:["\n",(0,r.jsxs)(s.li,{children:["LocalStorage reads are ",(0,r.jsx)(s.strong,{children:"really really fast"})," with only 0.0052 milliseconds per read."]}),"\n",(0,r.jsx)(s.li,{children:"The other technologies perform reads in a similar speed to their write latency."}),"\n"]}),"\n",(0,r.jsx)(s.h3,{id:"big-bulk-writes",children:"Big Bulk Writes"}),"\n",(0,r.jsx)(s.p,{children:"As next step, lets do some big bulk operations with 200 documents at once."}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Technology"}),(0,r.jsx)(s.th,{children:"Time in Milliseconds"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:"Cookies"}),(0,r.jsx)(s.td,{children:"20.6"})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:"LocalStorage"}),(0,r.jsx)(s.td,{children:"5.79"})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:"IndexedDB"}),(0,r.jsx)(s.td,{children:"13.41"})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:"OPFS Main Thread"}),(0,r.jsx)(s.td,{children:"280"})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:"OPFS WebWorker"}),(0,r.jsx)(s.td,{children:"104"})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:"WASM SQLite (memory)"}),(0,r.jsx)(s.td,{children:"19.1"})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:"WASM SQLite (IndexedDB)"}),(0,r.jsx)(s.td,{children:"37.12"})]})]})]}),"\n",(0,r.jsx)(s.p,{children:"Here we can notice a few things:"}),"\n",(0,r.jsxs)(s.ul,{children:["\n",(0,r.jsx)(s.li,{children:"Sending the data to a WebWorker and running it via the faster OPFS API is about twice as fast."}),"\n",(0,r.jsx)(s.li,{children:"WASM SQLite performs better on bulk operations compared to its single write latency. This is because sending the data to WASM and backwards is faster if it is done all at once instead of once per document."}),"\n"]}),"\n",(0,r.jsx)(s.h3,{id:"big-bulk-reads",children:"Big Bulk Reads"}),"\n",(0,r.jsx)(s.p,{children:"Now lets read 100 documents in a bulk request."}),"\n",(0,r.jsxs)(s.table,{children:[(0,r.jsx)(s.thead,{children:(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.th,{children:"Technology"}),(0,r.jsx)(s.th,{children:"Time in Milliseconds"})]})}),(0,r.jsxs)(s.tbody,{children:[(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:"Cookies"}),(0,r.jsx)(s.td,{children:"6.34"})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:"LocalStorage"}),(0,r.jsx)(s.td,{children:"0.39"})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:"IndexedDB"}),(0,r.jsx)(s.td,{children:"4.99"})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:"OPFS Main Thread"}),(0,r.jsx)(s.td,{children:"54.79"})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:"OPFS WebWorker"}),(0,r.jsx)(s.td,{children:"25.61"})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:"WASM SQLite (memory)"}),(0,r.jsx)(s.td,{children:"3.59"})]}),(0,r.jsxs)(s.tr,{children:[(0,r.jsx)(s.td,{children:"WASM SQLite (IndexedDB)"}),(0,r.jsx)(s.td,{children:"5.84 (35ms without cache)"})]})]})]}),"\n",(0,r.jsx)(s.p,{children:"Here we can notice a few things:"}),"\n",(0,r.jsxs)(s.ul,{children:["\n",(0,r.jsxs)(s.li,{children:["Reading many files in the OPFS webworker is about ",(0,r.jsx)(s.strong,{children:"twice as fast"})," compared to the slower main thread mode."]}),"\n",(0,r.jsxs)(s.li,{children:["WASM SQLite is surprisingly fast. Further inspection has shown that the WASM SQLite process keeps the documents in memory cached which improves the latency when we do reads directly after writes on the same data. When the browser tab is reloaded between the writes and the reads, finding the 100 documents takes about ",(0,r.jsx)(s.strong,{children:"35 milliseconds"})," instead."]}),"\n"]}),"\n",(0,r.jsx)(s.h2,{id:"performance-conclusions",children:"Performance Conclusions"}),"\n",(0,r.jsxs)(s.ul,{children:["\n",(0,r.jsxs)(s.li,{children:["LocalStorage is really fast but remember that is has some downsides:","\n",(0,r.jsxs)(s.ul,{children:["\n",(0,r.jsx)(s.li,{children:"It blocks the main JavaScript process and therefore should not be used for big bulk operations."}),"\n",(0,r.jsx)(s.li,{children:"Only Key-Value assignments are possible, you cannot use it efficiently when you need to do index based range queries on your data."}),"\n"]}),"\n"]}),"\n",(0,r.jsxs)(s.li,{children:["OPFS is way faster when used in the WebWorker with the ",(0,r.jsx)(s.code,{children:"createSyncAccessHandle()"})," method compare to using it directly in the main thread."]}),"\n",(0,r.jsx)(s.li,{children:"SQLite WASM can be fast but you have to initially download the full binary and start it up which takes about half a second. This might not be relevant at all if your app is started up once and the used for a very long time. But for web-apps that are opened and closed in many browser tabs many times, this might be a problem."}),"\n"]}),"\n",(0,r.jsx)(s.hr,{}),"\n",(0,r.jsx)(s.h2,{id:"possible-improvements",children:"Possible Improvements"}),"\n",(0,r.jsx)(s.p,{children:"There is a wide range of possible improvements and performance hacks to speed up the operations."}),"\n",(0,r.jsxs)(s.ul,{children:["\n",(0,r.jsxs)(s.li,{children:["For IndexedDB I have made a list of ",(0,r.jsx)(s.a,{href:"/slow-indexeddb.html",children:"performance hacks here"}),". For example you can do sharding between multiple database and webworkers or use a custom index strategy."]}),"\n",(0,r.jsxs)(s.li,{children:["OPFS is slow in writing one file per document. But you do not have to do that and instead you can store everything at a single file like a normal database would do. This improves performance dramatically like it was done with the RxDB ",(0,r.jsx)(s.a,{href:"/rx-storage-opfs.html",children:"OPFS RxStorage"}),"."]}),"\n",(0,r.jsxs)(s.li,{children:["You can mix up the technologies to optimize for multiple scenarios at once. For example in RxDB there is the ",(0,r.jsx)(s.a,{href:"/rx-storage-localstorage-meta-optimizer.html",children:"localstorage meta optimizer"}),' which stores initial metadata in localstorage and "normal" documents inside of IndexedDB. This improves the initial startup time while still having the documents stored in a way to query them efficiently.']}),"\n",(0,r.jsxs)(s.li,{children:["There is the ",(0,r.jsx)(s.a,{href:"/rx-storage-memory-mapped.html",children:"memory-mapped"})," storage plugin in RxDB which maps data directly to memory. Using this in combination with a shared worker can improve pageloads and query time significantly."]}),"\n",(0,r.jsxs)(s.li,{children:[(0,r.jsx)(s.a,{href:"/key-compression.html",children:"Compressing"})," data before storing it might improve the performance for some of the storages."]}),"\n",(0,r.jsxs)(s.li,{children:["Splitting work up between ",(0,r.jsx)(s.a,{href:"/rx-storage-worker.html",children:"multiple WebWorkers"})," via ",(0,r.jsx)(s.a,{href:"/rx-storage-sharding.html",children:"sharding"})," can improve performance by utilizing the whole capacity of your users device."]}),"\n"]}),"\n",(0,r.jsxs)(s.p,{children:["Here you can see the ",(0,r.jsx)(s.a,{href:"/rx-storage-performance.html",children:"performance comparison"})," of various RxDB storage implementations which gives a better view of real world performance:"]}),"\n",(0,r.jsx)("center",{children:(0,r.jsx)("img",{src:"../files/rx-storage-performance-browser.png",alt:"RxStorage performance - browser",width:"700"})}),"\n",(0,r.jsx)(s.h2,{id:"future-improvements",children:"Future Improvements"}),"\n",(0,r.jsx)(s.p,{children:"You are reading this in 2024, but the web does not stand still. There is a good chance that browser get enhanced to allow faster and better data operations."}),"\n",(0,r.jsxs)(s.ul,{children:["\n",(0,r.jsx)(s.li,{children:"Currently there is no way to directly access a persistent storage from inside a WebAssembly process. If this changes in the future, running SQLite (or a similar database) in a browser might be the best option."}),"\n",(0,r.jsxs)(s.li,{children:["Sending data between the main thread and a WebWorker is slow but might be improved in the future. There is a ",(0,r.jsx)(s.a,{href:"https://surma.dev/things/is-postmessage-slow/",children:"good article"})," about why ",(0,r.jsx)(s.code,{children:"postMessage()"})," is slow."]}),"\n",(0,r.jsxs)(s.li,{children:["IndexedDB lately ",(0,r.jsx)(s.a,{href:"https://developer.chrome.com/blog/maximum-idb-performance-with-storage-buckets",children:"got support"})," for storage buckets (chrome only) which might improve performance."]}),"\n"]}),"\n",(0,r.jsx)(s.h2,{id:"follow-up",children:"Follow Up"}),"\n",(0,r.jsxs)(s.ul,{children:["\n",(0,r.jsxs)(s.li,{children:["Share my ",(0,r.jsx)(s.a,{href:"https://x.com/rxdbjs/status/1846145062847062391",children:"announcement tweet"})," --\x3e"]}),"\n",(0,r.jsxs)(s.li,{children:["Reproduce the benchmarks at the ",(0,r.jsx)(s.a,{href:"https://github.com/pubkey/localstorage-indexeddb-cookies-opfs-sqlite-wasm",children:"github repo"})]}),"\n",(0,r.jsxs)(s.li,{children:["Learn how to use RxDB with the ",(0,r.jsx)(s.a,{href:"/quickstart.html",children:"RxDB Quickstart"})]}),"\n",(0,r.jsxs)(s.li,{children:["Check out the ",(0,r.jsx)(s.a,{href:"https://github.com/pubkey/rxdb",children:"RxDB github repo"})," and leave a star \u2b50"]}),"\n"]})]})}function c(e={}){const{wrapper:s}={...(0,i.R)(),...e.components};return s?(0,r.jsx)(s,{...e,children:(0,r.jsx)(h,{...e})}):h(e)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/32667c41.fb0c28b5.js b/docs/assets/js/32667c41.fb0c28b5.js
deleted file mode 100644
index d4acb3ff74f..00000000000
--- a/docs/assets/js/32667c41.fb0c28b5.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[8191],{8453(e,n,s){s.d(n,{R:()=>a,x:()=>t});var r=s(6540);const i={},o=r.createContext(i);function a(e){const n=r.useContext(o);return r.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function t(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:a(e.components),r.createElement(o.Provider,{value:n},e.children)}},9955(e,n,s){s.r(n),s.d(n,{assets:()=>l,contentTitle:()=>t,default:()=>h,frontMatter:()=>a,metadata:()=>r,toc:()=>c});const r=JSON.parse('{"id":"nosql-performance-tips","title":"RxDB NoSQL Performance Tips","description":"Skyrocket your NoSQL speed with RxDB tips. Learn about bulk writes, optimized queries, and lean plugin usage for peak performance.","source":"@site/docs/nosql-performance-tips.md","sourceDirName":".","slug":"/nosql-performance-tips.html","permalink":"/nosql-performance-tips.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"RxDB NoSQL Performance Tips","slug":"nosql-performance-tips.html","description":"Skyrocket your NoSQL speed with RxDB tips. Learn about bulk writes, optimized queries, and lean plugin usage for peak performance."},"sidebar":"tutorialSidebar","previous":{"title":"RxStorage Performance","permalink":"/rx-storage-performance.html"},"next":{"title":"Slow IndexedDB","permalink":"/slow-indexeddb.html"}}');var i=s(4848),o=s(8453);const a={title:"RxDB NoSQL Performance Tips",slug:"nosql-performance-tips.html",description:"Skyrocket your NoSQL speed with RxDB tips. Learn about bulk writes, optimized queries, and lean plugin usage for peak performance."},t="Performance tips for RxDB and other NoSQL databases",l={},c=[{value:"Use bulk operations",id:"use-bulk-operations",level:2},{value:"Help the query planner by adding operators that better restrict the index range",id:"help-the-query-planner-by-adding-operators-that-better-restrict-the-index-range",level:2},{value:"Set a specific index",id:"set-a-specific-index",level:2},{value:"Try different ordering of index fields",id:"try-different-ordering-of-index-fields",level:2},{value:"Make a Query "hot" to reduce load",id:"make-a-query-hot-to-reduce-load",level:2},{value:"Store parts of your document data as attachment",id:"store-parts-of-your-document-data-as-attachment",level:2},{value:"Process queries in a worker process",id:"process-queries-in-a-worker-process",level:2},{value:"Use less plugins and hooks",id:"use-less-plugins-and-hooks",level:2}];function d(e){const n={a:"a",code:"code",figure:"figure",h1:"h1",h2:"h2",header:"header",p:"p",pre:"pre",span:"span",...(0,o.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.header,{children:(0,i.jsx)(n.h1,{id:"performance-tips-for-rxdb-and-other-nosql-databases",children:"Performance tips for RxDB and other NoSQL databases"})}),"\n",(0,i.jsx)(n.p,{children:"In this guide, you'll find techniques to improve the performance of RxDB operations and queries. Notice that all your performance optimizations should be done with a correct tracking of the metrics, otherwise you might change stuff into the wrong direction."}),"\n",(0,i.jsx)(n.h2,{id:"use-bulk-operations",children:"Use bulk operations"}),"\n",(0,i.jsx)(n.p,{children:"When you run write operations on multiple documents, make sure you use bulk operations instead of single document operations."}),"\n",(0,i.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// wrong \u274c"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"for"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" docData"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" of"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" dataAr){"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" myCollection"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".insert"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(docData);"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"}"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// right \u2714\ufe0f"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" myCollection"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".bulkInsert"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(dataAr);"})]})]})})}),"\n",(0,i.jsx)(n.h2,{id:"help-the-query-planner-by-adding-operators-that-better-restrict-the-index-range",children:"Help the query planner by adding operators that better restrict the index range"}),"\n",(0,i.jsx)(n.p,{children:"Often on complex queries, RxDB (and other databases) do not pick the optimal index range when querying a result set.\nYou can add additional restrictive operators to ensure the query runs over a smaller index space and has a better performance."}),"\n",(0,i.jsx)(n.p,{children:"Lets see some examples for different query types."}),"\n",(0,i.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"/**"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * Adding a restrictive operator for an $or query"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * so that it better limits the index space for the time-field."})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" orQuery"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" selector"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" $or"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" ["})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" time"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" { $gt"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 1234"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" time"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" { $eg"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 1234"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" user"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" { $gt"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'foobar'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" ]"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" time: { $gte"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 1234"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" } "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// <- add restrictive operator"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"}"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"/**"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * Adding a restrictive operator for an $regex query"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * so that it better limits the index space for the user-field."})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * We know that all matching fields start with 'foo' so we can"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * tell the query to use that as lower constraint for the index."})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" regexQuery"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" selector"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" user"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" $regex"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" '^foo(.*)0-9$'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // a complex regex with a ^ in the beginning"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" $gte"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'foo'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // <- add restrictive operator"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"}"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"/**"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * Adding a restrictive operator for a query on an enum field."})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * so that it better limits the index space for the time-field."})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" enumQuery"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" selector"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * Here lets assume our status field has the enum type ['idle', 'in-progress', 'done']"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * so our restrictive operator can exclude all documents with 'done' as status."})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" status"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" $in"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'idle'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'in-progress'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" $gt"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'done'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // <- add restrictive operator on status"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"}"})})]})})}),"\n",(0,i.jsx)(n.h2,{id:"set-a-specific-index",children:"Set a specific index"}),"\n",(0,i.jsx)(n.p,{children:"Sometime the query planner of the database itself has no chance in picking the best index of the possible given indexes.\nFor queries where performance is very important, you might want to explicitly specify which index must be used."}),"\n",(0,i.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" myQuery"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" myCollection"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".find"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" selector"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /* ... */"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // explicitly specify index"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" index"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" ["})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'fieldA'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'fieldB'"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" ]"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,i.jsx)(n.h2,{id:"try-different-ordering-of-index-fields",children:"Try different ordering of index fields"}),"\n",(0,i.jsxs)(n.p,{children:["The order of the fields in a compound index is very important for performance. When optimizing index usage, you should try out different orders on the index fields and measure which runs faster. For that it is very important to run tests on real-world data where the distribution of the data is the same as in production.\nFor example when there is a query on a user collection with an ",(0,i.jsx)(n.code,{children:"age"})," and a ",(0,i.jsx)(n.code,{children:"gender"})," field, it depends if the index ",(0,i.jsx)(n.code,{children:"['gender', 'age']"})," performance better as ",(0,i.jsx)(n.code,{children:"['age', 'gender']"})," based on the distribution of data:"]}),"\n",(0,i.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" query"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" myCollection"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" .findOne"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" selector"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" age"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" $gt"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 18"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" gender"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" $eq"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'm'"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * Because the developer knows that 50% of the documents are 'male',"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * but only 20% are below age 18,"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * it makes sense to enforce using the ['gender', 'age'] index to improve performance."})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * This could not be known by the query planer which might have chosen ['age', 'gender'] instead."})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" index"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" ["}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'gender'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'age'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"]"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" });"})})]})})}),"\n",(0,i.jsxs)(n.p,{children:["Notice that RxDB has the ",(0,i.jsx)(n.a,{href:"/query-optimizer.html",children:"Query Optimizer Plugin"})," that can be used to automatically find the best indexes."]}),"\n",(0,i.jsx)(n.h2,{id:"make-a-query-hot-to-reduce-load",children:'Make a Query "hot" to reduce load'}),"\n",(0,i.jsxs)(n.p,{children:['Having a query where the up-to-date result set is needed more than once, you might want to make the query "hot" by permanently subscribing to it. This ensures that the query result is kept up to date by RxDB ant the ',(0,i.jsx)(n.a,{href:"https://github.com/pubkey/event-reduce",children:"EventReduce algorithm"})," at any time so that at the moment you need the current results, it has them already."]}),"\n",(0,i.jsx)(n.p,{children:'For example when you use RxDB at Node.js for a webserver, you should use an outer "hot" query instead of running the same query again on every request to a route.'}),"\n",(0,i.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// wrong \u274c"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"app"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".get"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'/list'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" (req"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" res) "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" result"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" myCollection"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".find"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"/* ... */"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"})"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".exec"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" res"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".send"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"JSON"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".stringify"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(result));"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// right \u2714\ufe0f"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" query"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" myCollection"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".find"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"/* ... */"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"query"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".subscribe"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(); "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// <- make it hot"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"app"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".get"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'/list'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" (req"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" res) "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" result"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" query"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".exec"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" res"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".send"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"JSON"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".stringify"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(result));"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,i.jsx)(n.h2,{id:"store-parts-of-your-document-data-as-attachment",children:"Store parts of your document data as attachment"}),"\n",(0,i.jsxs)(n.p,{children:["For in-app databases like RxDB, it does not make sense to partially parse the ",(0,i.jsx)(n.code,{children:"JSON"})," of a document. Instead, always the whole document json is parsed and handled. This has a better performance because ",(0,i.jsx)(n.code,{children:"JSON.parse()"})," in JavaScript directly calls a C++ binding which can parse really fast compared to a partial parsing in JavaScript itself. Also by always having the full document, RxDB can de-duplicate memory caches of document across multiple queries."]}),"\n",(0,i.jsxs)(n.p,{children:["The downside is that very very big documents with a complex structure can increase query time significantly. Documents fields with complex that are mostly not in use, can be move into an ",(0,i.jsx)(n.a,{href:"/rx-attachment.html",children:"attachment"}),". This would lead RxDB to not fetch the attachment data each time the document is loaded from disc. Instead only when explicitly asked for."]}),"\n",(0,i.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" myDocument"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" myCollection"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".insert"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"/* ... */"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" attachment"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" myDocument"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".putAttachment"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" id"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'otherStuff.json'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" data"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" createBlob"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"JSON"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".stringify"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"/* ... */"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"})"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'application/json'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:")"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'application/json'"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:");"})})]})})}),"\n",(0,i.jsx)(n.h2,{id:"process-queries-in-a-worker-process",children:"Process queries in a worker process"}),"\n",(0,i.jsxs)(n.p,{children:["Moving database storage into a WebWorker can significantly improve performance in web applications that use RxDB or similar NoSQL databases. When database operations are executed in the main JavaScript thread, they can block or slow down the User Interface, especially during heavy or complex data operations. By offloading these operations to a WebWorker, you effectively separate the data processing workload from the UI thread. This means the main thread remains free to handle user interactions and render updates without delay, leading to a smoother and more responsive user experience. Additionally, WebWorkers allow for parallel data processing, which can expedite tasks like querying and indexing. This approach not only enhances UI responsiveness but also optimizes overall application performance by leveraging the multi-threading capabilities of modern browsers.\nWith RxDB you can use the ",(0,i.jsx)(n.a,{href:"/rx-storage-worker.html",children:"Worker"})," and ",(0,i.jsx)(n.a,{href:"/rx-storage-shared-worker.html",children:"SharedWorker"})," plugin to move the query processing away from the main thread."]}),"\n",(0,i.jsx)(n.h2,{id:"use-less-plugins-and-hooks",children:"Use less plugins and hooks"}),"\n",(0,i.jsxs)(n.p,{children:["Utilizing fewer ",(0,i.jsx)(n.a,{href:"/middleware.html",children:"hooks"})," and plugins in RxDB or similar NoSQL database systems can lead to markedly better performance. Each additional hook or plugin introduces extra layers of processing and potential overhead, which can cumulatively slow down database operations. These extensions often execute additional code or enforce extra checks with each operation, such as insertions, updates, or deletions. While they can provide valuable functionalities or custom behaviors, their overuse can inadvertently increase the complexity and execution time of basic database operations. By minimizing their use and only employing essential hooks and plugins, the system can operate more efficiently. This streamlined approach reduces the computational burden on each transaction, leading to faster response times and a more efficient overall data handling process, especially critical in high-load or real-time applications where performance is paramount."]})]})}function h(e={}){const{wrapper:n}={...(0,o.R)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(d,{...e})}):d(e)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/326aca46.f7338c91.js b/docs/assets/js/326aca46.f7338c91.js
deleted file mode 100644
index 885a3202aff..00000000000
--- a/docs/assets/js/326aca46.f7338c91.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[4853],{1748(e,t,n){n.r(t),n.d(t,{assets:()=>l,contentTitle:()=>r,default:()=>d,frontMatter:()=>o,metadata:()=>a,toc:()=>h});const a=JSON.parse('{"id":"offline-first","title":"Local First / Offline First","description":"Local-First software stores data on client devices for seamless offline and online functionality, enhancing user experience and efficiency.","source":"@site/docs/offline-first.md","sourceDirName":".","slug":"/offline-first.html","permalink":"/offline-first.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"Local First / Offline First","slug":"offline-first.html","description":"Local-First software stores data on client devices for seamless offline and online functionality, enhancing user experience and efficiency."},"sidebar":"tutorialSidebar","previous":{"title":"RxDB - The Real-Time Database for Node.js","permalink":"/nodejs-database.html"},"next":{"title":"React Native Database - Sync & Store Like a Pro","permalink":"/react-native-database.html"}}');var i=n(4848),s=n(8453);const o={title:"Local First / Offline First",slug:"offline-first.html",description:"Local-First software stores data on client devices for seamless offline and online functionality, enhancing user experience and efficiency."},r="Local First / Offline First",l={},h=[{value:"UX is better without loading spinners",id:"ux-is-better-without-loading-spinners",level:2},{value:"Multi-tab usage just works",id:"multi-tab-usage-just-works",level:2},{value:"Latency is more important than bandwidth",id:"latency-is-more-important-than-bandwidth",level:2},{value:"Realtime comes for free",id:"realtime-comes-for-free",level:2},{value:"Scales with data size, not with the amount of user interaction",id:"scales-with-data-size-not-with-the-amount-of-user-interaction",level:2},{value:"Modern apps have longer runtimes",id:"modern-apps-have-longer-runtimes",level:2},{value:"You might not need REST",id:"you-might-not-need-rest",level:2},{value:"You might not need Redux",id:"you-might-not-need-redux",level:2},{value:"Follow up",id:"follow-up",level:2}];function c(e){const t={a:"a",admonition:"admonition",blockquote:"blockquote",h1:"h1",h2:"h2",header:"header",li:"li",p:"p",strong:"strong",ul:"ul",...(0,s.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.header,{children:(0,i.jsx)(t.h1,{id:"local-first--offline-first",children:"Local First / Offline First"})}),"\n",(0,i.jsxs)(t.p,{children:["Local-First (aka offline first) is a software paradigm where the software stores data locally at the clients device and must work as well offline as it does online.\nTo implement this, you have to store data at the client side, so that your application can still access it when the internet goes away.\nThis can be either done with complex caching strategies, or by using an local-first, ",(0,i.jsx)(t.a,{href:"/articles/offline-database.html",children:"offline database"})," (like ",(0,i.jsx)(t.a,{href:"https://rxdb.info",children:"RxDB"}),") that stores the data inside of a local database like ",(0,i.jsx)(t.a,{href:"/rx-storage-indexeddb.html",children:"IndexedDB"})," and replicates it from and to the backend in the background. This makes the local database, not the server, the gateway for all persistent changes in application state."]}),"\n",(0,i.jsxs)(t.blockquote,{children:["\n",(0,i.jsx)(t.p,{children:(0,i.jsx)(t.strong,{children:"Offline first is not about having no internet connection"})}),"\n"]}),"\n",(0,i.jsx)(t.admonition,{type:"note",children:(0,i.jsxs)(t.p,{children:["I wrote a follow-up version of offline/first local first about ",(0,i.jsx)(t.a,{href:"/articles/local-first-future.html",children:"Why Local-First Is the Future and what are Its Limitations"})]})}),"\n",(0,i.jsx)(t.p,{children:"While in the past, internet connection was an unstable, things are changing especially for mobile devices.\nMobile networks become better and having no internet becomes less common even in remote locations.\nSo if we did not care about offline first applications in the past, why should we even care now?\nIn the following I will point out why offline first applications are better, not because they support offline usage, but because of other reasons."}),"\n",(0,i.jsx)("center",{children:(0,i.jsx)("a",{href:"https://rxdb.info/",children:(0,i.jsx)("img",{src:"../files/logo/rxdb_javascript_database.svg",alt:"RxDB",width:"220"})})}),"\n",(0,i.jsx)(t.h2,{id:"ux-is-better-without-loading-spinners",children:"UX is better without loading spinners"}),"\n",(0,i.jsx)(t.p,{children:"In 'normal' web applications, most user interactions like fetching, saving or deleting data, correspond to a request to the backend server. This means that each of these interactions require the user to await the unknown latency to and from a remote server while looking at a loading spinner.\nIn offline-first apps, the operations go directly against the local storage which happens almost instantly. There is no perceptible loading time and so it is not even necessary to implement a loading spinner at all. As soon as the user clicks, the UI represents the new state as if it was already changed in the backend."}),"\n",(0,i.jsx)("p",{align:"center",children:(0,i.jsx)("img",{src:"./files/loading-spinner-not-needed.gif",alt:"loading spinner not needed",width:"300"})}),"\n",(0,i.jsx)(t.h2,{id:"multi-tab-usage-just-works",children:"Multi-tab usage just works"}),"\n",(0,i.jsxs)(t.p,{children:["Many, even big websites like amazon, reddit and stack overflow do not handle multi tab usage correctly. When a user has multiple tabs of the website open and does a login on one of these tabs, the state does not change on the other tabs.\nOn offline first applications, there is always exactly one state of the data across all tabs. Offline first databases (like RxDB) store the data inside of IndexedDb and ",(0,i.jsx)(t.strong,{children:"share the state"})," between all tabs of the same origin."]}),"\n",(0,i.jsx)("p",{align:"center",children:(0,i.jsx)("img",{src:"./files/multiwindow.gif",alt:"RxDB multi tab",width:"450"})}),"\n",(0,i.jsx)(t.h2,{id:"latency-is-more-important-than-bandwidth",children:"Latency is more important than bandwidth"}),"\n",(0,i.jsx)(t.p,{children:"In the past, often the bandwidth was the limiting factor on determining the loading time of an application.\nBut while bandwidth has improved over the years, latency became the limiting factor.\nYou can always increase the bandwidth by setting up more cables or sending more Starlink satellites to space.\nBut reducing the latency is not so easy. It is defined by the physical properties of the transfer medium, the speed of light and the distance to the server. All of these three are hard to optimize."}),"\n",(0,i.jsxs)(t.p,{children:["Offline first application benefit from that because sending the initial state to the client can be done much faster with more bandwidth. And once the data is there, we do no longer have to care about the latency to the backend server because you can run near ",(0,i.jsx)(t.a,{href:"/articles/zero-latency-local-first.html",children:"zero"})," latency queries locally."]}),"\n",(0,i.jsx)("p",{align:"center",children:(0,i.jsx)("img",{src:"./files/latency-london-san-franzisco.png",alt:"latency london san franzisco",width:"300"})}),"\n",(0,i.jsx)(t.h2,{id:"realtime-comes-for-free",children:"Realtime comes for free"}),"\n",(0,i.jsxs)(t.p,{children:["Most websites lie to their users. They do not lie because they display wrong data, but because they display ",(0,i.jsx)(t.strong,{children:"old data"})," that was loaded from the backend at the time the user opened the site.\nTo overcome this, you could build a realtime website where you create a websocket that streams updates from the backend to the client. This means work. Your client needs to tell the server which page is currently opened and which updates the client is interested to. Then the server can push updates over the websocket and you can update the UI accordingly."]}),"\n",(0,i.jsxs)(t.p,{children:["With offline first applications, you already have a realtime replication with the backend. Most offline first databases provide some concept of changestream or data subscriptions and with ",(0,i.jsx)(t.a,{href:"https://github.com/pubkey/rxdb",children:"RxDB"})," you can even directly subscribe to query results or single fields of documents. This makes it easy to have an always updated UI whenever data on the backend changes."]}),"\n",(0,i.jsx)("p",{align:"center",children:(0,i.jsx)("img",{src:"./files/animations/realtime.gif",alt:"realtime ui updates",width:"700"})}),"\n",(0,i.jsx)(t.h2,{id:"scales-with-data-size-not-with-the-amount-of-user-interaction",children:"Scales with data size, not with the amount of user interaction"}),"\n",(0,i.jsx)(t.p,{children:"On normal applications, each user interaction can result in multiple requests to the backend server which increase its load.\nThe more users interact with your application, the more backend resources you have to provide."}),"\n",(0,i.jsx)(t.p,{children:"Offline first applications do not scale up with the amount of user actions but instead they scale up with the amount of data.\nOnce that data is transferred to the client, the user can do as many interactions with it as required without connecting to the server."}),"\n",(0,i.jsx)(t.h2,{id:"modern-apps-have-longer-runtimes",children:"Modern apps have longer runtimes"}),"\n",(0,i.jsx)(t.p,{children:"In the past you used websites only for a short time. You open it, perform some action and then close it again. This made the first load time the important metric when evaluating page speed.\nToday web applications have changed and with it the way we use them. Single page applications are opened once and then used over the whole day. Chat apps, email clients, PWAs and hybrid apps. All of these were made to have long runtimes.\nThis makes the time for user interactions more important than the initial loading time. Offline first applications benefit from that because there is often no loading time on user actions while loading the initial state to the client is not that relevant."}),"\n",(0,i.jsx)(t.h2,{id:"you-might-not-need-rest",children:"You might not need REST"}),"\n",(0,i.jsx)(t.p,{children:"On normal web applications, you make different requests for each kind of data interaction.\nFor that you have to define a swagger route, implement a route handler on the backend and create some client code to send or fetch data from that route. The more complex your application becomes, the more REST routes you have to maintain and implement."}),"\n",(0,i.jsxs)(t.p,{children:["With offline first apps, you have a way to hack around all this cumbersome work. You just replicate the whole state from the server to the client. The replication does not only run once, you have a ",(0,i.jsx)(t.strong,{children:"realtime replication"})," and all changes at one side are automatically there on the other side. On the client, you can access every piece of state with a simple database query.\nWhile this of course only works for amounts of data that the client can load and store, it makes implementing prototypes and simple apps much faster."]}),"\n",(0,i.jsx)(t.h2,{id:"you-might-not-need-redux",children:"You might not need Redux"}),"\n",(0,i.jsx)(t.p,{children:"Data is hard, especially for UI applications where many things can happen at the same time.\nThe user is clicking around. Stuff is loaded from the server. All of these things interact with the global state of the app.\nTo manage this complexity it is common to use state management libraries like Redux or MobX. With them, you write all this lasagna code to wrap the mutation of data and to make the UI react to all these changes."}),"\n",(0,i.jsx)(t.p,{children:"On offline first apps, your global state is already there in a single place stored inside of the local database.\nYou do not have to care whether this data came from the UI, another tab, the backend or another device of the same user. You can just make writes to the database and fetch data out of it."}),"\n",(0,i.jsx)(t.h2,{id:"follow-up",children:"Follow up"}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsxs)(t.li,{children:["Learn how to store and query data with RxDB in the ",(0,i.jsx)(t.a,{href:"/quickstart.html",children:"RxDB Quickstart"})]}),"\n",(0,i.jsx)(t.li,{children:(0,i.jsx)(t.a,{href:"/downsides-of-offline-first.html",children:"Downsides of Offline First"})}),"\n",(0,i.jsxs)(t.li,{children:["I wrote a follow-up version of offline/first local first about ",(0,i.jsx)(t.a,{href:"/articles/local-first-future.html",children:"Why Local-First Is the Future and what are Its Limitations"})]}),"\n"]})]})}function d(e={}){const{wrapper:t}={...(0,s.R)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(c,{...e})}):c(e)}},8453(e,t,n){n.d(t,{R:()=>o,x:()=>r});var a=n(6540);const i={},s=a.createContext(i);function o(e){const t=a.useContext(s);return a.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function r(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:o(e.components),a.createElement(s.Provider,{value:t},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/3417a9c7.4cd2a2af.js b/docs/assets/js/3417a9c7.4cd2a2af.js
deleted file mode 100644
index f394b2368ce..00000000000
--- a/docs/assets/js/3417a9c7.4cd2a2af.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[5350],{4572(e,s,r){r.r(s),r.d(s,{assets:()=>t,contentTitle:()=>l,default:()=>h,frontMatter:()=>a,metadata:()=>n,toc:()=>c});const n=JSON.parse('{"id":"articles/firestore-alternative","title":"RxDB - Firestore Alternative to Sync with Your Own Backend","description":"Looking for a Firestore alternative? RxDB is a local-first, NoSQL database that syncs seamlessly with any backend, offers rich offline capabilities, advanced conflict resolution, and reduces vendor lock-in.","source":"@site/docs/articles/firestore-alternative.md","sourceDirName":"articles","slug":"/articles/firestore-alternative.html","permalink":"/articles/firestore-alternative.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"RxDB - Firestore Alternative to Sync with Your Own Backend","slug":"firestore-alternative.html","description":"Looking for a Firestore alternative? RxDB is a local-first, NoSQL database that syncs seamlessly with any backend, offers rich offline capabilities, advanced conflict resolution, and reduces vendor lock-in."},"sidebar":"tutorialSidebar","previous":{"title":"RxDB as a Database in a jQuery Application","permalink":"/articles/jquery-database.html"},"next":{"title":"RxDB - Firebase Realtime Database Alternative to Sync With Your Own Backend","permalink":"/articles/firebase-realtime-database-alternative.html"}}');var i=r(4848),o=r(8453);const a={title:"RxDB - Firestore Alternative to Sync with Your Own Backend",slug:"firestore-alternative.html",description:"Looking for a Firestore alternative? RxDB is a local-first, NoSQL database that syncs seamlessly with any backend, offers rich offline capabilities, advanced conflict resolution, and reduces vendor lock-in."},l="RxDB - The Firestore Alternative That Can Sync with Your Own Backend",t={},c=[{value:"What Makes RxDB a Great Firestore Alternative?",id:"what-makes-rxdb-a-great-firestore-alternative",level:2},{value:"1. Fully Offline-First",id:"1-fully-offline-first",level:3},{value:"2. Freedom to Use Any Backend",id:"2-freedom-to-use-any-backend",level:3},{value:"3. Advanced Conflict Resolution",id:"3-advanced-conflict-resolution",level:3},{value:"4. Reduced Cloud Costs",id:"4-reduced-cloud-costs",level:3},{value:"5. No Limits on Query Features",id:"5-no-limits-on-query-features",level:3},{value:"6. True Offline-Start Support",id:"6-true-offline-start-support",level:3},{value:"7. Cross-Platform: Any JavaScript Runtime",id:"7-cross-platform-any-javascript-runtime",level:3},{value:"How Does RxDB's Sync Work?",id:"how-does-rxdbs-sync-work",level:2},{value:"Getting Started with RxDB as a Firestore Alternative",id:"getting-started-with-rxdb-as-a-firestore-alternative",level:2},{value:"Install RxDB:",id:"install-rxdb",level:3},{value:"Create a Database:",id:"create-a-database",level:3},{value:"Define Collections:",id:"define-collections",level:3},{value:"Sync",id:"sync",level:3},{value:"Example: Start a WebRTC P2P Replication",id:"example-start-a-webrtc-p2p-replication",level:3},{value:"Is RxDB Right for Your Project?",id:"is-rxdb-right-for-your-project",level:2},{value:"Follow Up",id:"follow-up",level:2}];function d(e){const s={a:"a",code:"code",figure:"figure",h1:"h1",h2:"h2",h3:"h3",header:"header",hr:"hr",li:"li",ol:"ol",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...(0,o.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s.header,{children:(0,i.jsx)(s.h1,{id:"rxdb---the-firestore-alternative-that-can-sync-with-your-own-backend",children:"RxDB - The Firestore Alternative That Can Sync with Your Own Backend"})}),"\n",(0,i.jsxs)(s.p,{children:["If you're seeking a ",(0,i.jsx)(s.strong,{children:"Firestore alternative"}),", you're likely looking for a way to:"]}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Avoid vendor lock-in"})," while still enjoying real-time replication."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Reduce cloud usage costs"})," by reading data locally instead of constantly fetching from the server."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Customize"})," how you store, query, and secure your data."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Implement advanced conflict resolution"})," strategies beyond Firestore's last-write-wins approach."]}),"\n"]}),"\n",(0,i.jsxs)(s.p,{children:["Enter ",(0,i.jsx)(s.strong,{children:"RxDB"})," (Reactive Database) - a ",(0,i.jsx)(s.a,{href:"/articles/local-first-future.html",children:"local-first"}),", NoSQL database for JavaScript applications that can sync in real time with ",(0,i.jsx)(s.strong,{children:"any"})," backend of your choice. Whether you're tired of the limitations and fees associated with Firebase Cloud Firestore or simply need more flexibility, RxDB might be the Firestore alternative you've been searching for."]}),"\n",(0,i.jsx)("center",{children:(0,i.jsx)("a",{href:"https://rxdb.info/",children:(0,i.jsx)("img",{src:"/files/logo/rxdb_javascript_database.svg",alt:"JavaScript Database",width:"220"})})}),"\n",(0,i.jsx)(s.h2,{id:"what-makes-rxdb-a-great-firestore-alternative",children:"What Makes RxDB a Great Firestore Alternative?"}),"\n",(0,i.jsx)(s.p,{children:"Firestore is convenient for many projects, but it does lock you into Google's ecosystem. Below are some of the key advantages you gain by choosing RxDB:"}),"\n",(0,i.jsx)(s.h3,{id:"1-fully-offline-first",children:"1. Fully Offline-First"}),"\n",(0,i.jsxs)(s.p,{children:["RxDB runs directly in your client application (",(0,i.jsx)(s.a,{href:"/articles/browser-database.html",children:"browser"}),", ",(0,i.jsx)(s.a,{href:"/nodejs-database.html",children:"Node.js"}),", ",(0,i.jsx)(s.a,{href:"/electron-database.html",children:"Electron"}),", ",(0,i.jsx)(s.a,{href:"/react-native-database.html",children:"React Native"}),", etc.). Data is stored locally, so your application ",(0,i.jsx)(s.strong,{children:"remains fully functional even when offline"}),". When the device returns online, RxDB's flexible replication protocol synchronizes your local changes with any remote endpoint."]}),"\n",(0,i.jsx)(s.h3,{id:"2-freedom-to-use-any-backend",children:"2. Freedom to Use Any Backend"}),"\n",(0,i.jsx)(s.p,{children:"Unlike Firestore, RxDB doesn't require a proprietary hosting service. You can:"}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsx)(s.li,{children:"Host your data on your own server (Node.js, Go, Python, etc.)."}),"\n",(0,i.jsxs)(s.li,{children:["Use existing databases like ",(0,i.jsx)(s.a,{href:"/replication-http.html",children:"PostgreSQL"}),", ",(0,i.jsx)(s.a,{href:"/replication-couchdb.html",children:"CouchDB"}),", or ",(0,i.jsx)(s.a,{href:"/replication.html",children:"MongoDB with custom endpoints"}),"."]}),"\n",(0,i.jsxs)(s.li,{children:["Implement a ",(0,i.jsx)(s.a,{href:"/replication-graphql.html",children:"custom GraphQL"})," or ",(0,i.jsx)(s.a,{href:"/replication-http.html",children:"REST-based"})," API for syncing."]}),"\n"]}),"\n",(0,i.jsxs)(s.p,{children:["This ",(0,i.jsx)(s.strong,{children:"backend-agnostic"})," approach protects you from vendor lock-in. Your application's client-side data storage remains consistent; only your replication logic (or plugin) changes if you switch servers."]}),"\n",(0,i.jsx)(s.h3,{id:"3-advanced-conflict-resolution",children:"3. Advanced Conflict Resolution"}),"\n",(0,i.jsxs)(s.p,{children:["Firestore enforces a ",(0,i.jsx)(s.a,{href:"https://stackoverflow.com/a/47781502/3443137",children:"last-write-wins"})," conflict resolution strategy. This might cause issues if multiple users or devices update the same data in complex ways."]}),"\n",(0,i.jsx)(s.p,{children:"RxDB lets you:"}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:["Implement ",(0,i.jsx)(s.strong,{children:"custom conflict resolution"})," via ",(0,i.jsx)(s.a,{href:"/transactions-conflicts-revisions.html#custom-conflict-handler",children:"revisions"}),"."]}),"\n",(0,i.jsx)(s.li,{children:"Store partial merges, track versions, or preserve multiple user edits."}),"\n",(0,i.jsx)(s.li,{children:"Fine-tune how your data merges to ensure consistency across distributed systems."}),"\n"]}),"\n",(0,i.jsx)(s.h3,{id:"4-reduced-cloud-costs",children:"4. Reduced Cloud Costs"}),"\n",(0,i.jsxs)(s.p,{children:["Firestore queries often count as billable reads. With RxDB, queries run ",(0,i.jsx)(s.strong,{children:"locally"})," against your local state - no repeated network calls or extra charges. You pay only for the data actually synced, not every read. For ",(0,i.jsx)(s.strong,{children:"read-heavy"})," apps, using RxDB as a Firestore alternative can significantly reduce costs."]}),"\n",(0,i.jsx)(s.h3,{id:"5-no-limits-on-query-features",children:"5. No Limits on Query Features"}),"\n",(0,i.jsx)(s.p,{children:"Firestore's query engine is limited by certain constraints (e.g., no advanced joins, limited indexing). With RxDB:"}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"NoSQL"})," data is stored locally, and you can define any indexes you need."]}),"\n",(0,i.jsxs)(s.li,{children:["Perform ",(0,i.jsx)(s.a,{href:"/rx-query.html",children:"complex queries"}),", run ",(0,i.jsx)(s.a,{href:"/fulltext-search.html",children:"full-text search"}),", or do aggregated transformations or even ",(0,i.jsx)(s.a,{href:"/articles/javascript-vector-database.html",children:"vector search"}),"."]}),"\n",(0,i.jsxs)(s.li,{children:["Use ",(0,i.jsx)(s.a,{href:"/rx-query.html#observe",children:"RxDB's reactivity"})," to subscribe to query results in real time."]}),"\n"]}),"\n",(0,i.jsx)(s.h3,{id:"6-true-offline-start-support",children:"6. True Offline-Start Support"}),"\n",(0,i.jsxs)(s.p,{children:["While Firestore does have offline caching, it often requires an online check at app initialization for authentication. RxDB is ",(0,i.jsx)(s.a,{href:"/offline-first.html",children:"truly offline-first"}),"; you can launch the app and write data even if the device never goes online initially. It's ready whenever the user is."]}),"\n",(0,i.jsx)(s.h3,{id:"7-cross-platform-any-javascript-runtime",children:"7. Cross-Platform: Any JavaScript Runtime"}),"\n",(0,i.jsxs)(s.p,{children:["RxDB is designed to run in ",(0,i.jsx)(s.strong,{children:"any environment"})," that can execute JavaScript. Whether you\u2019re building a web app in the browser, an ",(0,i.jsx)(s.a,{href:"/electron-database.html",children:"Electron"})," desktop application, a ",(0,i.jsx)(s.a,{href:"/react-native-database.html",children:"React Native"})," mobile app, or a command-line tool with ",(0,i.jsx)(s.a,{href:"/nodejs-database.html",children:"Node.js"}),", RxDB\u2019s storage layer is swappable to fit your runtime\u2019s capabilities."]}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:["In the ",(0,i.jsx)(s.strong,{children:"browser"}),", store data in ",(0,i.jsx)(s.a,{href:"/rx-storage-indexeddb.html",children:"IndexedDB"})," or ",(0,i.jsx)(s.a,{href:"/rx-storage-opfs.html",children:"OPFS"}),"."]}),"\n",(0,i.jsxs)(s.li,{children:["In ",(0,i.jsx)(s.a,{href:"/nodejs-database.html",children:"Node.js"}),", use LevelDB or other supported storages."]}),"\n",(0,i.jsxs)(s.li,{children:["In ",(0,i.jsx)(s.a,{href:"/react-native-database.html",children:"React Native"}),", pick from a range of adapters suited for mobile devices."]}),"\n",(0,i.jsxs)(s.li,{children:["In ",(0,i.jsx)(s.a,{href:"/electron-database.html",children:"Electron"}),", rely on fast local storage with zero changes to your application code."]}),"\n"]}),"\n",(0,i.jsx)(s.hr,{}),"\n",(0,i.jsx)(s.h2,{id:"how-does-rxdbs-sync-work",children:"How Does RxDB's Sync Work?"}),"\n",(0,i.jsxs)(s.p,{children:["RxDB replication is powered by its own ",(0,i.jsx)(s.a,{href:"/replication.html",children:"Sync Engine"}),". This simple yet robust protocol enables:"]}),"\n",(0,i.jsxs)(s.ol,{children:["\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Pull"}),": Fetch new or updated documents from the server."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Push"}),": Send local changes back to the server."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Live Real-Time"}),": Once you're caught up, you can opt for event-based streaming instead of continuous polling."]}),"\n"]}),"\n",(0,i.jsx)(s.p,{children:"Code Example: Sync RxDB with a Custom Backend"}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { createRxDatabase } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/core'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { getRxStorageLocalstorage } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/storage-localstorage'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { replicateRxCollection } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/replication'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"async"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" function"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" initDB"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"() {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'mydb'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageLocalstorage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"()"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" multiInstance"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" true"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" eventReduce"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" true"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" });"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".addCollections"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" tasks"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" schema"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" title"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'task schema'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" version"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 0"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'object'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" primaryKey"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'id'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" properties"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" id"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { type"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" maxLength"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 100"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" title"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { type"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" done"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { type"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'boolean'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" });"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // Start a custom REST-based replication"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" replicateRxCollection"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" collection"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".tasks"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" replicationIdentifier"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'my-tasks-rest-api'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" push"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" handler"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" async"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" (documents) "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // Send docs to your REST endpoint"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" res"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" fetch"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'https://myapi.com/push'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" method"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'POST'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" body"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" JSON"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".stringify"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({ docs"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" documents })"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" });"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // Return conflicts if any"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" res"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".json"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" pull"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" handler"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" async"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" (lastCheckpoint"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" batchSize) "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // Fetch from your REST endpoint"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" res"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" fetch"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"`https://myapi.com/pull?checkpoint="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"${"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"JSON"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".stringify"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(lastCheckpoint)"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"}"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"&limit="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"${"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"batchSize"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"}"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"`"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" res"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".json"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" live"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" true"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // keep watching for changes"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" });"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" db;"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"}"})})]})})}),"\n",(0,i.jsxs)(s.p,{children:["By swapping out the handler implementations or using an official plugin (e.g., ",(0,i.jsx)(s.a,{href:"/replication-graphql.html",children:"GraphQL"}),", ",(0,i.jsx)(s.a,{href:"/replication-couchdb.html",children:"CouchDB"}),", ",(0,i.jsx)(s.a,{href:"/replication-firestore.html",children:"Firestore replication"}),", etc.), you can adapt to any backend or data source. RxDB thus becomes a flexible alternative to Firestore while maintaining ",(0,i.jsx)(s.a,{href:"/articles/realtime-database.html",children:"real-time capabilities"}),"."]}),"\n",(0,i.jsx)(s.h2,{id:"getting-started-with-rxdb-as-a-firestore-alternative",children:"Getting Started with RxDB as a Firestore Alternative"}),"\n",(0,i.jsx)(s.h3,{id:"install-rxdb",children:"Install RxDB:"}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"bash","data-theme":"css-variables",children:(0,i.jsx)(s.code,{"data-language":"bash","data-theme":"css-variables",style:{display:"grid"},children:(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"npm"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string)"},children:" install"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string)"},children:" rxdb"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string)"},children:" rxjs"})]})})})}),"\n",(0,i.jsx)(s.h3,{id:"create-a-database",children:"Create a Database:"}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { createRxDatabase } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/core'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { getRxStorageLocalstorage } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/storage-localstorage'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'mydb'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageLocalstorage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"()"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,i.jsx)(s.h3,{id:"define-collections",children:"Define Collections:"}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".addCollections"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" items"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" schema"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" title"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'items schema'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" version"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 0"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" primaryKey"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'id'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'object'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" properties"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" id"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { type"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" maxLength"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 100"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" text"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { type"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,i.jsx)(s.h3,{id:"sync",children:"Sync"}),"\n",(0,i.jsxs)(s.p,{children:["Use a ",(0,i.jsx)(s.a,{href:"/replication.html",children:"Replication Plugin"})," to connect with a custom backend or existing database."]}),"\n",(0,i.jsxs)(s.p,{children:["For a Firestore-specific approach, RxDB ",(0,i.jsx)(s.a,{href:"/replication-firestore.html",children:"Firestore Replication"})," also exists if you want to combine local indexing and advanced queries with a Cloud Firestore backend. But if you really want to replace Firestore entirely - just point RxDB to your new backend."]}),"\n",(0,i.jsx)(s.h3,{id:"example-start-a-webrtc-p2p-replication",children:"Example: Start a WebRTC P2P Replication"}),"\n",(0,i.jsxs)(s.p,{children:["In addition to syncing with a central server, RxDB also supports pure peer-to-peer replication using ",(0,i.jsx)(s.a,{href:"/replication-webrtc.html",children:"WebRTC"}),". This can be invaluable for scenarios where clients need to sync data directly without a master server."]}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" replicateWebRTC"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" getConnectionHandlerSimplePeer"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/replication-webrtc'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" replicationPool"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" replicateWebRTC"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" collection"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".tasks"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" topic"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'my-p2p-room'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // Clients with the same topic will sync with each other."})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" connectionHandlerCreator"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getConnectionHandlerSimplePeer"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // Use your own or the official RxDB signaling server"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" signalingServerUrl"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'wss://signaling.rxdb.info/'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // Node.js requires a polyfill for WebRTC & WebSocket"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" wrtc"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" require"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'node-datachannel/polyfill'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:")"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" webSocketConstructor"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" require"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'ws'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:").WebSocket"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" })"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" pull"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {}"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // optional pull config"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" push"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {} "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// optional push config"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// The replicationPool manages all connected peers"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"replicationPool"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"error$"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".subscribe"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(err "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" console"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".error"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'P2P Sync Error:'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" err);"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,i.jsxs)(s.p,{children:["This example sets up a live ",(0,i.jsx)(s.strong,{children:"P2P replication"})," where any new peers joining the same topic automatically sync local data with each other, eliminating the need for a dedicated central server for the actual data exchange."]}),"\n",(0,i.jsx)(s.h2,{id:"is-rxdb-right-for-your-project",children:"Is RxDB Right for Your Project?"}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"You want offline-first"}),": If you need an offline-first app that starts offline, RxDB's local database approach and sync protocol excel at this."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Your project is read-heavy"}),": Reading from Firestore for every query can get expensive. With RxDB, reads are free and local; you only pay for writes or sync overhead."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"You need advanced queries"}),": Firestore's query constraints may not suit complex data. With RxDB, you can define your own indexing logic or run arbitrary queries locally."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"You want no vendor lock-in"}),": Easily transition from Firestore to your own server or another vendor - just change the replication layer."]}),"\n"]}),"\n",(0,i.jsx)(s.h2,{id:"follow-up",children:"Follow Up"}),"\n",(0,i.jsx)(s.p,{children:"If you've been searching for a Firestore alternative that gives you the freedom to sync your data with any backend, offers robust offline-first capabilities, and supports truly customizable conflict resolution and queries, RxDB is worth exploring. You can adopt it seamlessly, ensure local reads, reduce costs, and stay in complete control of your data layer."}),"\n",(0,i.jsx)(s.p,{children:"Ready to dive in? Check out the RxDB Quickstart Guide, join our Discord community, and experience how RxDB can be the perfect local-first, real-time database solution for your next project."}),"\n",(0,i.jsx)(s.p,{children:"More resources:"}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsx)(s.li,{children:(0,i.jsx)(s.a,{href:"/replication.html",children:"RxDB Sync Engine"})}),"\n",(0,i.jsx)(s.li,{children:(0,i.jsx)(s.a,{href:"/replication-firestore.html",children:"Firestore Replication Plugin"})}),"\n",(0,i.jsx)(s.li,{children:(0,i.jsx)(s.a,{href:"/transactions-conflicts-revisions.html",children:"Custom Conflict Resolution"})}),"\n",(0,i.jsx)(s.li,{children:(0,i.jsx)(s.a,{href:"/code/",children:"RxDB GitHub Repository"})}),"\n"]})]})}function h(e={}){const{wrapper:s}={...(0,o.R)(),...e.components};return s?(0,i.jsx)(s,{...e,children:(0,i.jsx)(d,{...e})}):d(e)}},8453(e,s,r){r.d(s,{R:()=>a,x:()=>l});var n=r(6540);const i={},o=n.createContext(i);function a(e){const s=n.useContext(o);return n.useMemo(function(){return"function"==typeof e?e(s):{...s,...e}},[s,e])}function l(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:a(e.components),n.createElement(o.Provider,{value:s},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/34f94d1b.29ea6eee.js b/docs/assets/js/34f94d1b.29ea6eee.js
deleted file mode 100644
index 217a8530ba1..00000000000
--- a/docs/assets/js/34f94d1b.29ea6eee.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[5832],{8274(e,s,r){r.r(s),r.d(s,{assets:()=>l,contentTitle:()=>i,default:()=>h,frontMatter:()=>a,metadata:()=>n,toc:()=>c});const n=JSON.parse('{"id":"electron-database","title":"Electron Database - Storage adapters for SQLite, Filesystem and In-Memory","description":"Harness the database power of SQLite, Filesystem, and in-memory storage in Electron with RxDB. Build fast, offline-first apps that sync in real time.","source":"@site/docs/electron-database.md","sourceDirName":".","slug":"/electron-database.html","permalink":"/electron-database.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"Electron Database - Storage adapters for SQLite, Filesystem and In-Memory","slug":"electron-database.html","description":"Harness the database power of SQLite, Filesystem, and in-memory storage in Electron with RxDB. Build fast, offline-first apps that sync in real time."},"sidebar":"tutorialSidebar","previous":{"title":"Alternatives for realtime local-first JavaScript applications and local databases","permalink":"/alternatives.html"},"next":{"title":"Building an Optimistic UI with RxDB","permalink":"/articles/optimistic-ui.html"}}');var o=r(4848),t=r(8453);const a={title:"Electron Database - Storage adapters for SQLite, Filesystem and In-Memory",slug:"electron-database.html",description:"Harness the database power of SQLite, Filesystem, and in-memory storage in Electron with RxDB. Build fast, offline-first apps that sync in real time."},i="Electron Database - RxDB with different storage for SQLite, Filesystem and In-Memory",l={},c=[{value:"Databases for Electron",id:"databases-for-electron",level:2},{value:"Server Side Databases in Electron.js",id:"server-side-databases-in-electronjs",level:3},{value:"Localstorage / IndexedDB / WebSQL as alternatives to SQLite in Electron",id:"localstorage--indexeddb--websql-as-alternatives-to-sqlite-in-electron",level:3},{value:"RxDB",id:"rxdb",level:3},{value:"SQLite in Electron.js without RxDB",id:"sqlite-in-electronjs-without-rxdb",level:3},{value:"Follow up",id:"follow-up",level:2}];function d(e){const s={a:"a",code:"code",em:"em",figure:"figure",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...(0,t.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(s.header,{children:(0,o.jsx)(s.h1,{id:"electron-database---rxdb-with-different-storage-for-sqlite-filesystem-and-in-memory",children:"Electron Database - RxDB with different storage for SQLite, Filesystem and In-Memory"})}),"\n",(0,o.jsxs)(s.p,{children:[(0,o.jsx)(s.a,{href:"https://www.electronjs.org/",children:"Electron"})," (aka Electron.js) is a framework developed by github that is designed to create desktop applications with the Web technology stack consisting of HTML, CSS and JavaScript.\nBecause the desktop application runs on the client's device, it is suitable to use a database that can store and query data locally. This allows you to create so-called ",(0,o.jsx)(s.a,{href:"/offline-first.html",children:"local first"})," apps that store data locally and even work when the user has no internet connection.\nWhile there are many options to store data in Electron, for complex realtime apps using ",(0,o.jsx)(s.a,{href:"https://rxdb.info/",children:"RxDB"})," is recommended because it is a database made for UI-based client-side application, not a server-side database."]}),"\n",(0,o.jsx)("p",{align:"center",children:(0,o.jsx)("img",{src:"./files/icons/electron.svg",alt:"Electron",width:"70"})}),"\n",(0,o.jsx)(s.h2,{id:"databases-for-electron",children:"Databases for Electron"}),"\n",(0,o.jsx)(s.p,{children:"An Electron runtime can be divided into two parts:"}),"\n",(0,o.jsxs)(s.ul,{children:["\n",(0,o.jsx)(s.li,{children:'The "main" process which is a Node.js JavaScript process that runs without a UI in the background.'}),"\n",(0,o.jsx)(s.li,{children:'One or multiple "renderer" processes that consist of a Chrome browser engine and runs the user interface. Each renderer process represents one "browser tab".'}),"\n"]}),"\n",(0,o.jsx)(s.p,{children:"This is important to understand because choosing the right database depends on your use case and on which of these JavaScript runtimes you want to keep the data."}),"\n",(0,o.jsx)(s.h3,{id:"server-side-databases-in-electronjs",children:"Server Side Databases in Electron.js"}),"\n",(0,o.jsxs)(s.p,{children:['Because Electron runs on a desktop computer, you might think that it should be possible to use a common "server" database like MySQL, PostgreSQL or MongoDB. In theory, you could ship the correct database server binaries with your electron application and start a process on the client\'s device that exposes a port to the database that can be consumed by Electron. In practice, this is not a viable way to go because shipping the correct binaries and opening ports is way to complicated and troublesome. Instead you should use a database that can be bundled and run ',(0,o.jsx)(s.strong,{children:"inside"})," of Electron, either in the ",(0,o.jsx)(s.em,{children:"main"})," or in the ",(0,o.jsx)(s.em,{children:"renderer"})," process."]}),"\n",(0,o.jsx)(s.h3,{id:"localstorage--indexeddb--websql-as-alternatives-to-sqlite-in-electron",children:"Localstorage / IndexedDB / WebSQL as alternatives to SQLite in Electron"}),"\n",(0,o.jsxs)(s.p,{children:["Because Electron uses a common Chrome web browser in the renderer process, you can access the common Web Storage APIs like ",(0,o.jsx)(s.a,{href:"/articles/localstorage.html",children:"Localstorage"}),", IndexedDB and WebSQL. This is easy to set up and storing small sets of data can be achieved in a short span of time."]}),"\n",(0,o.jsxs)(s.p,{children:["But as soon as your application goes beyond a simple todo-app, there are multiple obstacles that come in your way. One thing is the bad multi-tab support. If you have more than one ",(0,o.jsx)(s.em,{children:"renderer"})," process, it becomes hard to manage database writes between them. Each ",(0,o.jsx)(s.em,{children:"browser tab"})," could modify the database state while the others do not know of the changes and keep an outdated UI."]}),"\n",(0,o.jsxs)(s.p,{children:["Another thing is performance. ",(0,o.jsx)(s.a,{href:"/slow-indexeddb.html",children:"IndexedDB is slow"}),", mostly because it has to go through layers of browser security and abstractions. Storing and querying a lot of data might become your performance bottleneck. Localstorage and WebSQL are even slower, by the way. Using these Web Storage APIs is generally only recommended when you know for sure that there will be always only ",(0,o.jsx)(s.strong,{children:"one rendering process"}),' and performance is not that relevant. The main reason for that is the security- and abstraction layers that write- and read operations have to go through when using the browsers IndexedDB API. So instead of using IndexedDB in Electron in the renderer process, you should use something that runs in the "main" process in Node.js like the ',(0,o.jsx)(s.a,{href:"/rx-storage-filesystem-node.html",children:"Filesystem RxStorage"})," or the ",(0,o.jsx)(s.a,{href:"/rx-storage-memory.html",children:"In Memory RxStorage"}),"."]}),"\n",(0,o.jsx)(s.h3,{id:"rxdb",children:"RxDB"}),"\n",(0,o.jsx)("p",{align:"center",children:(0,o.jsx)("img",{src:"./files/logo/rxdb_javascript_database.svg",alt:"RxDB",width:"170"})}),"\n",(0,o.jsxs)(s.p,{children:[(0,o.jsx)(s.a,{href:"https://rxdb.info/",children:"RxDB"})," is a NoSQL database for JavaScript applications. It has many features that come in handy when RxDB is used with UI based applications like your Electron app. For example, it is able to subscribe to query results of single fields of documents. It has encryption and compression features and most important it has a battle tested ",(0,o.jsx)(s.a,{href:"/replication.html",children:"Sync Engine"})," that can be used to do a realtime sync with your backend."]}),"\n",(0,o.jsxs)(s.p,{children:["Because of the ",(0,o.jsx)(s.a,{href:"https://rxdb.info/rx-storage.html",children:"flexible storage"})," layer of RxDB, there are many options on how to use it with Electron:"]}),"\n",(0,o.jsxs)(s.ul,{children:["\n",(0,o.jsxs)(s.li,{children:["The ",(0,o.jsx)(s.a,{href:"/rx-storage-memory.html",children:"memory RxStorage"})," that stores the data inside of the JavaScript memory without persistence"]}),"\n",(0,o.jsxs)(s.li,{children:["The ",(0,o.jsx)(s.a,{href:"/rx-storage-sqlite.html",children:"SQLite RxStorage"})]}),"\n",(0,o.jsxs)(s.li,{children:["The ",(0,o.jsx)(s.a,{href:"/rx-storage-indexeddb.html",children:"IndexedDB RxStorage"})]}),"\n",(0,o.jsxs)(s.li,{children:["The ",(0,o.jsx)(s.a,{href:"/rx-storage-localstorage.html",children:"LocalStorage RxStorage"})]}),"\n",(0,o.jsxs)(s.li,{children:["The ",(0,o.jsx)(s.a,{href:"/rx-storage-dexie.html",children:"Dexie.js RxStorage"})]}),"\n",(0,o.jsxs)(s.li,{children:["The ",(0,o.jsx)(s.a,{href:"/rx-storage-filesystem-node.html",children:"Node.js Filesystem"})]}),"\n"]}),"\n",(0,o.jsxs)(s.p,{children:["It is recommended to use the ",(0,o.jsx)(s.a,{href:"/rx-storage-sqlite.html",children:"SQLite RxStorage"})," because it has the best performance and is the easiest to set up. However it is part of the ",(0,o.jsx)(s.a,{href:"/premium/",children:"\ud83d\udc51 Premium Plugins"})," which must be purchased, so to try out RxDB with Electron, you might want to use one of the other options. To start with RxDB, I would recommend using the LocalStorage RxStorage in the renderer processes. Because RxDB is able to broadcast the database state between browser tabs, having multiple renderer processes is not a problem like it would be when you use plain IndexedDB without RxDB.\nIn production, you would always run the RxStorage in the main process with the ",(0,o.jsx)(s.a,{href:"/electron.html#rxstorage-electron-ipcrenderer--ipcmain",children:"RxStorage Electron IpcRenderer & IpcMain"})," plugins."]}),"\n",(0,o.jsxs)(s.p,{children:["First, you have to install all dependencies via ",(0,o.jsx)(s.code,{children:"npm install rxdb rxjs"}),".\nThen you can assemble the RxStorage and create a database with it:"]}),"\n",(0,o.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,o.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { createRxDatabase } "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { getRxStorageLocalstorage } "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/storage-localstorage'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// create database"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'exampledb'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageLocalstorage"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"()"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// create collections"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" collections"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" myRxDatabase"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".addCollections"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" humans"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" /* ... */"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// insert document"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" collections"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"humans"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".insert"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({id"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'foo'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'bar'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// run a query"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" result"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" collections"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"humans"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".find"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" selector"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'bar'"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"})"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".exec"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// observe a query"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" collections"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"humans"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".find"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" selector"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'bar'"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"})."}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"$"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".subscribe"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(result "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"/* ... */"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})]})]})})}),"\n",(0,o.jsxs)(s.p,{children:["For better performance in the renderer tab, you can later switch to the ",(0,o.jsx)(s.a,{href:"/rx-storage-indexeddb.html",children:"IndexedDB RxStorage"}),". But in production, it is recommended to use the ",(0,o.jsx)(s.a,{href:"/rx-storage-sqlite.html",children:"SQLite RxStorage"})," or the ",(0,o.jsx)(s.a,{href:"/rx-storage-filesystem-node.html",children:"Filesystem RxStorage"})," in the main process so that database operations do not block the rendering of the UI.\nTo learn more about using RxDB with Electron, you might want to check out ",(0,o.jsx)(s.a,{href:"https://github.com/pubkey/rxdb/tree/master/examples/electron",children:"this example project"}),"."]}),"\n",(0,o.jsx)(s.h3,{id:"sqlite-in-electronjs-without-rxdb",children:"SQLite in Electron.js without RxDB"}),"\n",(0,o.jsx)(s.p,{children:"SQLite is a SQL based relational database written in the C programming language that was crafted to be embedded inside of applications and stores data locally. Operations are written in the SQL query language similar to the PostgreSQL syntax."}),"\n",(0,o.jsxs)(s.p,{children:["Using SQLite in Electron is not possible in the ",(0,o.jsx)(s.em,{children:"renderer process"}),", only in the ",(0,o.jsx)(s.em,{children:"main process"}),". To communicate data operations between your main and your renderer processes, you have to use either ",(0,o.jsx)(s.a,{href:"https://github.com/electron/remote",children:"@electron/remote"})," (not recommended) or the ",(0,o.jsx)(s.a,{href:"https://www.electronjs.org/de/docs/latest/api/ipc-renderer",children:"ipcRenderer"})," (recommended). So you start up SQLite in your main process and whenever you want to read or write data, you send the SQL queries to the main process and retrieve the result back as JSON data."]}),"\n",(0,o.jsxs)(s.p,{children:["To install SQLite, use the ",(0,o.jsx)(s.a,{href:"https://github.com/TryGhost/node-sqlite3",children:"SQLite3"})," package which is a native Node.js module. You also need the ",(0,o.jsx)(s.a,{href:"https://github.com/electron/rebuild",children:"@electron/rebuild"})," package to rebuild the SQLite module against the currently installed Electron version."]}),"\n",(0,o.jsxs)(s.p,{children:["Install them with ",(0,o.jsx)(s.code,{children:"npm install sqlite3 @electron/rebuild"}),".\nThen you can rebuild SQLite with ",(0,o.jsx)(s.code,{children:"./node_modules/.bin/electron-rebuild -f -w sqlite3"}),"\nIn the JavaScript code of your main process you can now create a database:"]}),"\n",(0,o.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,o.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" sqlite3"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" require"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'sqlite3'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" new"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" sqlite3"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".Database"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'/path/to/database/file.db'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// create a table and insert a row"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"db"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".serialize"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(() "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".run"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:'"CREATE TABLE Users (name, lastName)"'}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".run"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:'"INSERT INTO Users VALUES (?, ?)"'}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ["}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'foo'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'bar'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"]);"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,o.jsx)(s.p,{children:"Also you have to set up the ipcRenderer so that message from the renderer process are handled:"}),"\n",(0,o.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,o.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"ipcMain"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".handle"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'db-query'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" async"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" (event"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" sqlQuery) "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" new"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" Promise"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(res "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".all"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(sqlQuery"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" (err"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" rows) "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" res"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(rows);"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" });"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" });"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,o.jsx)(s.p,{children:"In your renderer process, you can now call the ipcHandler and fetch data from SQLite:"}),"\n",(0,o.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,o.jsx)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" rows"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" ipcRenderer"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".invoke"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'db-query'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "SELECT * FROM Users"'}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})]})})})}),"\n",(0,o.jsxs)(s.p,{children:["The downside of SQLite (or SQL in general) is that it is lacking many features that are handful when using a database together with ",(0,o.jsx)(s.strong,{children:"UI based"})," applications. It is not possible to observe queries or document fields and there is no replication method to sync data with a server. This makes SQLite a good solution when you just want to store data on the client or process expensive SQL queries on the server, but it is not suitable for more complex operations like two-way replication, encryption, compression and so on. Also developer helpers like TypeScript type safety are totally out of reach."]}),"\n",(0,o.jsx)("p",{align:"center",children:(0,o.jsx)("img",{src:"./files/logo/rxdb_javascript_database.svg",alt:"RxDB Electron Database",width:"170"})}),"\n",(0,o.jsx)(s.h2,{id:"follow-up",children:"Follow up"}),"\n",(0,o.jsxs)(s.ul,{children:["\n",(0,o.jsxs)(s.li,{children:["Learn how to use RxDB as database in electron with the ",(0,o.jsx)(s.a,{href:"/quickstart.html",children:"Quickstart Tutorial"}),"."]}),"\n",(0,o.jsxs)(s.li,{children:["Check out the ",(0,o.jsx)(s.a,{href:"https://github.com/pubkey/rxdb/tree/master/examples/electron",children:"RxDB Electron example"})]}),"\n",(0,o.jsxs)(s.li,{children:["There is a followup list of other ",(0,o.jsx)(s.a,{href:"/alternatives.html",children:"client side database alternatives"})," that you can try to use with Electron."]}),"\n"]})]})}function h(e={}){const{wrapper:s}={...(0,t.R)(),...e.components};return s?(0,o.jsx)(s,{...e,children:(0,o.jsx)(d,{...e})}):d(e)}},8453(e,s,r){r.d(s,{R:()=>a,x:()=>i});var n=r(6540);const o={},t=n.createContext(o);function a(e){const s=n.useContext(t);return n.useMemo(function(){return"function"==typeof e?e(s):{...s,...e}},[s,e])}function i(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:a(e.components),n.createElement(t.Provider,{value:s},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/35e4d287.95750a0a.js b/docs/assets/js/35e4d287.95750a0a.js
deleted file mode 100644
index 797bb9fb0ad..00000000000
--- a/docs/assets/js/35e4d287.95750a0a.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[7853],{383(e,n,i){i.r(n),i.d(n,{assets:()=>d,contentTitle:()=>o,default:()=>h,frontMatter:()=>l,metadata:()=>r,toc:()=>a});const r=JSON.parse('{"id":"releases/17.0.0","title":"RxDB 17.0.0","description":"RxDB 17 introduces improved reactivity APIs, better debugging, breaking storage fixes, and multiple plugins graduating from beta.","source":"@site/docs/releases/17.0.0.md","sourceDirName":"releases","slug":"/releases/17.0.0.html","permalink":"/releases/17.0.0.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"RxDB 17.0.0","slug":"17.0.0.html","description":"RxDB 17 introduces improved reactivity APIs, better debugging, breaking storage fixes, and multiple plugins graduating from beta."},"sidebar":"tutorialSidebar","previous":{"title":"LocalStorage vs. IndexedDB vs. Cookies vs. OPFS vs. WASM-SQLite","permalink":"/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm.html"},"next":{"title":"16.0.0","permalink":"/releases/16.0.0.html"}}');var s=i(4848),t=i(8453);const l={title:"RxDB 17.0.0",slug:"17.0.0.html",description:"RxDB 17 introduces improved reactivity APIs, better debugging, breaking storage fixes, and multiple plugins graduating from beta."},o="RxDB 17.0.0 (beta)",d={},a=[{value:"Migration",id:"migration",level:2},{value:"Storage migration required",id:"storage-migration-required",level:3},{value:"Other migration notes",id:"other-migration-notes",level:3},{value:"CHANGES",id:"changes",level:2},{value:"Features",id:"features",level:3},{value:"\ud83d\udd01 Reactivity & APIs",id:"-reactivity--apis",level:3},{value:"\ud83e\udde0 Debugging & Developer Experience",id:"-debugging--developer-experience",level:3},{value:"\ud83d\uddc4\ufe0f Storage & Replication Fixes",id:"\ufe0f-storage--replication-fixes",level:3},{value:"\ud83d\udcd0 Schema & Index Validation",id:"-schema--index-validation",level:3},{value:"\u2699\ufe0f Performance & Internal Changes",id:"\ufe0f-performance--internal-changes",level:3},{value:"\ud83d\udd0c Plugins Graduating from Beta",id:"-plugins-graduating-from-beta",level:3},{value:"You can help!",id:"you-can-help",level:2},{value:"LinkedIn",id:"linkedin",level:2}];function c(e){const n={a:"a",admonition:"admonition",br:"br",code:"code",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",p:"p",strong:"strong",ul:"ul",...(0,t.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.header,{children:(0,s.jsx)(n.h1,{id:"rxdb-1700-beta",children:"RxDB 17.0.0 (beta)"})}),"\n",(0,s.jsxs)(n.p,{children:["RxDB 17 focuses on ",(0,s.jsx)(n.strong,{children:"better reactivity"}),", ",(0,s.jsx)(n.strong,{children:"improved debugging"}),", and ",(0,s.jsx)(n.strong,{children:"important storage fixes"}),", while also graduating several long-standing plugins out of beta."]}),"\n",(0,s.jsxs)(n.p,{children:["Most applications can upgrade easily, but ",(0,s.jsx)(n.strong,{children:"users of OPFS and filesystem-based storages must review the migration notes carefully"}),"."]}),"\n",(0,s.jsx)(n.admonition,{type:"note",children:(0,s.jsxs)(n.p,{children:["RxDB version 17 is currently in ",(0,s.jsx)(n.strong,{children:"beta"}),". For testing, please install the latest beta version ",(0,s.jsx)(n.a,{href:"https://www.npmjs.com/package/rxdb?activeTab=versions",children:"from npm"})," and provide feedback or report issues ",(0,s.jsx)(n.a,{href:"https://github.com/pubkey/rxdb/issues/7574",children:"on GitHub"}),"."]})}),"\n",(0,s.jsx)(n.h2,{id:"migration",children:"Migration"}),"\n",(0,s.jsx)(n.p,{children:"RxDB 17 is mostly backward-compatible, but please review the following points before upgrading:"}),"\n",(0,s.jsx)(n.h3,{id:"storage-migration-required",children:"Storage migration required"}),"\n",(0,s.jsxs)(n.p,{children:["If you use any of the following storages, ",(0,s.jsx)(n.strong,{children:"you must migrate your data"})," using the ",(0,s.jsx)(n.a,{href:"/migration-storage.html",children:"storage migrator"}),":"]}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsx)(n.li,{children:"OPFS RxStorage"}),"\n",(0,s.jsx)(n.li,{children:"Filesystem RxStorage (Node)"}),"\n",(0,s.jsx)(n.li,{children:"IndexedDB RxStorage (if you use attachments)"}),"\n"]}),"\n",(0,s.jsx)(n.p,{children:"For all other RxStorages, data created with RxDB v16 can be reused directly in RxDB v17."}),"\n",(0,s.jsx)(n.h3,{id:"other-migration-notes",children:"Other migration notes"}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:["The GitHub repository ",(0,s.jsxs)(n.strong,{children:["no longer contains prebuilt ",(0,s.jsx)(n.code,{children:"dist"})," files"]}),".",(0,s.jsx)(n.br,{}),"\n","Install RxDB from npm or run the build scripts locally."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.code,{children:"toggleOnDocumentVisible"})," now defaults to ",(0,s.jsx)(n.strong,{children:(0,s.jsx)(n.code,{children:"true"})}),". ",(0,s.jsx)(n.a,{href:"https://github.com/pubkey/rxdb/issues/6810",children:"#6810"})]}),"\n",(0,s.jsxs)(n.li,{children:["Schema fields marked as ",(0,s.jsx)(n.code,{children:"final"})," ",(0,s.jsxs)(n.strong,{children:["no longer need to be explicitly listed as ",(0,s.jsx)(n.code,{children:"required"})]}),"."]}),"\n",(0,s.jsxs)(n.li,{children:["Some integrations now use ",(0,s.jsx)(n.strong,{children:"optional peer dependencies"}),". You may need to install them manually:","\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.code,{children:"firebase"})}),"\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.code,{children:"mongodb"})}),"\n",(0,s.jsx)(n.li,{children:(0,s.jsx)(n.code,{children:"nats"})}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,s.jsx)(n.h2,{id:"changes",children:"CHANGES"}),"\n",(0,s.jsx)(n.h3,{id:"features",children:"Features"}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:["Added ",(0,s.jsx)(n.a,{href:"/react.html",children:"react-hooks plugin"}),"."]}),"\n"]}),"\n",(0,s.jsx)(n.h3,{id:"-reactivity--apis",children:"\ud83d\udd01 Reactivity & APIs"}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"ADD"})," ",(0,s.jsx)(n.code,{children:"RxDatabase.collections$"})," observable for reactive access to collections"]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"ADD"})," support for the JavaScript ",(0,s.jsx)(n.code,{children:"using"})," keyword to automatically remove databases in tests"]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"ADD"})," new ",(0,s.jsx)(n.code,{children:"reactivity-angular"})," package"]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"CHANGE"})," moved ",(0,s.jsx)(n.code,{children:"reactivity-vue"})," and ",(0,s.jsx)(n.code,{children:"reactivity-preact-signals"})," from premium to core"]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"FIX"})," query results becoming incorrect when changes occur faster than query update ",(0,s.jsx)(n.a,{href:"https://github.com/pubkey/rxdb/issues/7067",children:"#7067"})]}),"\n"]}),"\n",(0,s.jsx)(n.h3,{id:"-debugging--developer-experience",children:"\ud83e\udde0 Debugging & Developer Experience"}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"ADD"})," ",(0,s.jsx)(n.code,{children:"context"})," field to all RxDB write errors for easier debugging"]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"ADD"})," improved OPFS RxStorage error logging in ",(0,s.jsx)(n.code,{children:"devMode"}),", including:","\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:["strict ",(0,s.jsx)(n.code,{children:"TextDecoder"})," mode"]}),"\n",(0,s.jsx)(n.li,{children:"detailed decoding error output"}),"\n"]}),"\n"]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"ADD"})," internal ",(0,s.jsx)(n.code,{children:"WeakRef"})," TypeScript types so users no longer need to enable ",(0,s.jsx)(n.code,{children:"ES2021.WeakRef"})]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"ADD"})," ",(0,s.jsx)(n.a,{href:"https://rxdb.info/llms.txt",children:"llms.txt"})," for LLM-friendly documentation access"]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"CHANGE"})," ",(0,s.jsx)(n.code,{children:"toggleOnDocumentVisible"})," now defaults to ",(0,s.jsx)(n.code,{children:"true"})," ",(0,s.jsx)(n.a,{href:"https://github.com/pubkey/rxdb/issues/6810",children:"#6810"})]}),"\n"]}),"\n",(0,s.jsx)(n.h3,{id:"\ufe0f-storage--replication-fixes",children:"\ud83d\uddc4\ufe0f Storage & Replication Fixes"}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"FIX"})," OPFS RxStorage memory and cleanup leaks"]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"FIX"})," memory-mapped storage not purging deleted documents"]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"FIX"})," ",(0,s.jsx)(n.code,{children:"RxCollection.cleanup()"})," ignoring ",(0,s.jsx)(n.code,{children:"minimumDeletedTime"})]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"FIX"})," short primary key lengths not matching replication schema ",(0,s.jsx)(n.a,{href:"https://github.com/pubkey/rxdb/issues/7587",children:"#7587"})]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"FIX"})," retry DenoKV commits when encountering ",(0,s.jsx)(n.code,{children:'"database is locked"'})," errors"]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"FIX"})," close broadcast channels and leader election ",(0,s.jsx)(n.strong,{children:"after"})," database shutdown, not during"]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"CHANGE"}),": Store data as binary in IndexedDB to use less disc space."]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"CHANGE"}),": Pull-Only replications no longer store the server metadata on the client."]}),"\n"]}),"\n",(0,s.jsx)(n.h3,{id:"-schema--index-validation",children:"\ud83d\udcd0 Schema & Index Validation"}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"ADD"})," enforce maximum length for indexes and primary keys (",(0,s.jsx)(n.code,{children:"maxLength: 2048"}),")"]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"CHANGE"})," ",(0,s.jsx)(n.code,{children:"final"})," schema fields no longer need to be marked as ",(0,s.jsx)(n.code,{children:"required"})]}),"\n"]}),"\n",(0,s.jsx)(n.h3,{id:"\ufe0f-performance--internal-changes",children:"\u2699\ufe0f Performance & Internal Changes"}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"CHANGE"})," replace ",(0,s.jsx)(n.code,{children:"appendToArray()"})," with ",(0,s.jsx)(n.code,{children:"Array.concat()"})," for better browser-level optimizations"]}),"\n",(0,s.jsxs)(n.li,{children:[(0,s.jsx)(n.strong,{children:"ADD"})," ensure indexes and primary keys are validated consistently across replication schemas"]}),"\n"]}),"\n",(0,s.jsx)(n.h3,{id:"-plugins-graduating-from-beta",children:"\ud83d\udd0c Plugins Graduating from Beta"}),"\n",(0,s.jsxs)(n.p,{children:["The following plugins are ",(0,s.jsx)(n.strong,{children:"no longer in beta"})," and are now considered production-ready:"]}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsx)(n.li,{children:"Replication Appwrite"}),"\n",(0,s.jsx)(n.li,{children:"Replication Supabase"}),"\n",(0,s.jsx)(n.li,{children:"Replication MongoDB"}),"\n",(0,s.jsx)(n.li,{children:"RxStorage MongoDB"}),"\n",(0,s.jsx)(n.li,{children:"RxStorage Filesystem (Node)"}),"\n",(0,s.jsx)(n.li,{children:"RxStorage DenoKV"}),"\n",(0,s.jsx)(n.li,{children:"Attachment replication"}),"\n",(0,s.jsx)(n.li,{children:"CRDT Plugin"}),"\n",(0,s.jsx)(n.li,{children:"RxPipeline"}),"\n"]}),"\n",(0,s.jsx)(n.h2,{id:"you-can-help",children:"You can help!"}),"\n",(0,s.jsxs)(n.p,{children:["There are many things that can be done by ",(0,s.jsx)(n.strong,{children:"you"})," to improve RxDB:"]}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:["Check the ",(0,s.jsx)(n.a,{href:"https://github.com/pubkey/rxdb/blob/master/orga/BACKLOG.md",children:"BACKLOG"})," for features that would be great to have."]}),"\n",(0,s.jsxs)(n.li,{children:["Check the ",(0,s.jsx)(n.a,{href:"https://github.com/pubkey/rxdb/blob/master/orga/before-next-major.md",children:"breaking backlog"})," for breaking changes that must be implemented in the future but where I did not have the time yet."]}),"\n",(0,s.jsxs)(n.li,{children:["Check the ",(0,s.jsx)(n.a,{href:"https://github.com/pubkey/rxdb/search?q=todo",children:"todos"})," in the code. There are many small improvements that can be done for performance and build size."]}),"\n",(0,s.jsx)(n.li,{children:"Review the code and add tests. I am only a single human with a laptop. My code is not perfect and much small improvements can be done when people review the code and help me to clarify undefined behaviors."}),"\n",(0,s.jsxs)(n.li,{children:["Update the ",(0,s.jsx)(n.a,{href:"https://github.com/pubkey/rxdb/tree/master/examples",children:"example projects"})," some of them are outdated and need updates."]}),"\n"]}),"\n",(0,s.jsx)(n.h2,{id:"linkedin",children:"LinkedIn"}),"\n",(0,s.jsxs)(n.p,{children:["Stay connected with the latest updates and network with professionals in the RxDB community by following RxDB's ",(0,s.jsx)(n.a,{href:"https://www.linkedin.com/company/rxdb",children:"official LinkedIn page"}),"!"]})]})}function h(e={}){const{wrapper:n}={...(0,t.R)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(c,{...e})}):c(e)}},8453(e,n,i){i.d(n,{R:()=>l,x:()=>o});var r=i(6540);const s={},t=r.createContext(s);function l(e){const n=r.useContext(t);return r.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function o(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:l(e.components),r.createElement(t.Provider,{value:n},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/36715375.d4b64326.js b/docs/assets/js/36715375.d4b64326.js
deleted file mode 100644
index 213ced1e5be..00000000000
--- a/docs/assets/js/36715375.d4b64326.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[2076],{2323(e,t,i){i.r(t),i.d(t,{default:()=>o});var s=i(4586),r=i(8711),c=i(6540),l=i(8141),d=i(4848);function o(){const{siteConfig:e}=(0,s.A)();return(0,c.useEffect)(()=>{(0,l.c)("goto_code",.4)}),(0,d.jsx)(r.A,{title:`Code - ${e.title}`,description:"RxDB Source Code",children:(0,d.jsx)("main",{children:(0,d.jsxs)("div",{className:"redirectBox",style:{textAlign:"center"},children:[(0,d.jsx)("a",{href:"/",children:(0,d.jsx)("div",{className:"logo",children:(0,d.jsx)("img",{src:"/files/logo/logo_text.svg",alt:"RxDB",width:160})})}),(0,d.jsx)("h1",{children:"RxDB Code"}),(0,d.jsx)("p",{children:(0,d.jsx)("b",{children:"You will be redirected in a few seconds."})}),(0,d.jsx)("p",{children:(0,d.jsx)("a",{href:"https://github.com/pubkey/rxdb",children:"Click here to open Code"})}),(0,d.jsx)("meta",{httpEquiv:"Refresh",content:"1; url=https://github.com/pubkey/rxdb"})]})})})}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/37055470.55528f37.js b/docs/assets/js/37055470.55528f37.js
deleted file mode 100644
index dc0f1ed882c..00000000000
--- a/docs/assets/js/37055470.55528f37.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[4970],{9528(a,e,t){t.r(e),t.d(e,{default:()=>l});var r=t(544),s=t(4848);function l(){return(0,r.default)({sem:{id:"reddit",metaTitle:"The local Database for Angular Apps",appName:"Angular",title:(0,s.jsxs)(s.Fragment,{children:["The easiest way to ",(0,s.jsx)("b",{children:"store"})," and ",(0,s.jsx)("b",{children:"sync"})," Data"]})}})}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/380cc66a.7da5e510.js b/docs/assets/js/380cc66a.7da5e510.js
deleted file mode 100644
index 69045977287..00000000000
--- a/docs/assets/js/380cc66a.7da5e510.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[2061],{12(e,s,r){r.r(s),r.d(s,{assets:()=>d,contentTitle:()=>t,default:()=>x,frontMatter:()=>l,metadata:()=>n,toc:()=>c});const n=JSON.parse('{"id":"rx-storage-dexie","title":"RxDB Dexie.js Database - Fast, Reactive, Sync with Any Backend","description":"Use Dexie.js to power RxDB in the browser. Enjoy quick setup, Dexie addons, and reliable storage for small apps or prototypes.","source":"@site/docs/rx-storage-dexie.md","sourceDirName":".","slug":"/rx-storage-dexie.html","permalink":"/rx-storage-dexie.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"RxDB Dexie.js Database - Fast, Reactive, Sync with Any Backend","slug":"rx-storage-dexie.html","description":"Use Dexie.js to power RxDB in the browser. Enjoy quick setup, Dexie addons, and reliable storage for small apps or prototypes."},"sidebar":"tutorialSidebar","previous":{"title":"SQLite (Capacitor, React-Native, Expo, Tauri, Electron, Node.js)","permalink":"/rx-storage-sqlite.html"},"next":{"title":"MongoDB","permalink":"/rx-storage-mongodb.html"}}');var i=r(4848),o=r(8453),a=r(3247);const l={title:"RxDB Dexie.js Database - Fast, Reactive, Sync with Any Backend",slug:"rx-storage-dexie.html",description:"Use Dexie.js to power RxDB in the browser. Enjoy quick setup, Dexie addons, and reliable storage for small apps or prototypes."},t="RxStorage Dexie.js",d={},c=[{value:"Dexie.js vs IndexedDB Storage",id:"dexiejs-vs-indexeddb-storage",level:2},{value:"How to use Dexie.js as a Storage for RxDB",id:"how-to-use-dexiejs-as-a-storage-for-rxdb",level:2},{value:"Import the Dexie Storage",id:"import-the-dexie-storage",level:3},{value:"Create a Database",id:"create-a-database",level:3},{value:"Overwrite/Polyfill the native IndexedDB API with an in-memory version",id:"overwritepolyfill-the-native-indexeddb-api-with-an-in-memory-version",level:2},{value:"Using Dexie Addons",id:"using-dexie-addons",level:2},{value:"Sync Dexie.js with your Backend in RxDB",id:"sync-dexiejs-with-your-backend-in-rxdb",level:2},{value:"A. Use Dexie Cloud Sync",id:"a-use-dexie-cloud-sync",level:3},{value:"Install the Dexie Cloud Addon",id:"install-the-dexie-cloud-addon",level:4},{value:"Import RxDB and dexie-cloud",id:"import-rxdb-and-dexie-cloud",level:4},{value:"Create a Dexie based RxStorage with the Cloud Plugin",id:"create-a-dexie-based-rxstorage-with-the-cloud-plugin",level:4},{value:"Create an RxDB Database",id:"create-an-rxdb-database",level:4},{value:"B. Use the RxDB Replication",id:"b-use-the-rxdb-replication",level:3},{value:"Import the RxDB with dexie and the CouchDB plugin",id:"import-the-rxdb-with-dexie-and-the-couchdb-plugin",level:4},{value:"Create an RxDB Database with the Dexie Storage",id:"create-an-rxdb-database-with-the-dexie-storage",level:4},{value:"Add a Collection",id:"add-a-collection",level:4},{value:"Sync the Collection with a CouchDB Server",id:"sync-the-collection-with-a-couchdb-server",level:4},{value:"liveQuery - Realtime Queries",id:"livequery---realtime-queries",level:2},{value:"Disabling the non-premium console log",id:"disabling-the-non-premium-console-log",level:2},{value:"Performance comparison with other RxStorage plugins",id:"performance-comparison-with-other-rxstorage-plugins",level:2}];function h(e){const s={a:"a",code:"code",figure:"figure",h1:"h1",h2:"h2",h3:"h3",h4:"h4",header:"header",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...(0,o.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s.header,{children:(0,i.jsx)(s.h1,{id:"rxstorage-dexiejs",children:"RxStorage Dexie.js"})}),"\n",(0,i.jsxs)(s.p,{children:["To store the data inside of and RxDB Database in IndexedDB in the ",(0,i.jsx)(s.a,{href:"/articles/browser-database.html",children:"browser"}),", you can use the ",(0,i.jsx)(s.a,{href:"https://github.com/dexie/Dexie.js",children:"Dexie.js"})," based ",(0,i.jsx)(s.a,{href:"/rx-storage.html",children:"RxStorage"}),". Dexie.js is a minimal wrapper around IndexedDB and the Dexie.js RxStorage wraps that again to use it for an RxDB database in the browser. For side projects and prototypes that run in a browser, you should use the dexie RxStorage as a default."]}),"\n",(0,i.jsx)(s.h2,{id:"dexiejs-vs-indexeddb-storage",children:"Dexie.js vs IndexedDB Storage"}),"\n",(0,i.jsxs)(s.p,{children:["While Dexie.js ",(0,i.jsx)(s.a,{href:"/rx-storage.html",children:"RxStorage"})," can be used for free, most professional projects should switch to our ",(0,i.jsxs)(s.strong,{children:["premium ",(0,i.jsx)(s.a,{href:"/rx-storage-indexeddb.html",children:"IndexedDB RxStorage"})," \ud83d\udc51"]})," in production:"]}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:["It is faster and reduces build size by up to ",(0,i.jsx)(s.strong,{children:"36%"}),"."]}),"\n",(0,i.jsxs)(s.li,{children:["It has a way ",(0,i.jsx)(s.a,{href:"/rx-storage-performance.html",children:"better performance"})," on reads and writes."]}),"\n",(0,i.jsx)(s.li,{children:"It stores attachments data as binary instead of base64 which reduces used space by 33%."}),"\n",(0,i.jsxs)(s.li,{children:["It does not use a ",(0,i.jsx)(s.a,{href:"/slow-indexeddb.html#batched-cursor",children:"Batched Cursor"})," or ",(0,i.jsx)(s.a,{href:"/slow-indexeddb.html#custom-indexes",children:"custom indexes"})," which makes queries slower compared to the ",(0,i.jsx)(s.a,{href:"/rx-storage-indexeddb.html",children:"IndexedDB RxStorage"}),"."]}),"\n",(0,i.jsxs)(s.li,{children:["It supports ",(0,i.jsx)(s.strong,{children:"non-required indexes"})," which is ",(0,i.jsx)(s.a,{href:"https://github.com/pubkey/rxdb/pull/6643#issuecomment-2505310082",children:"not possible"})," with Dexie.js."]}),"\n",(0,i.jsxs)(s.li,{children:["It runs in a ",(0,i.jsx)(s.strong,{children:"WAL-like mode"})," (similar to SQLite) for faster writes and improved responsiveness."]}),"\n",(0,i.jsxs)(s.li,{children:["It support the ",(0,i.jsx)(s.a,{href:"/rx-storage-indexeddb.html#storage-buckets",children:"Storage Buckets API"})]}),"\n"]}),"\n",(0,i.jsx)(s.h2,{id:"how-to-use-dexiejs-as-a-storage-for-rxdb",children:"How to use Dexie.js as a Storage for RxDB"}),"\n",(0,i.jsxs)(a.g,{children:[(0,i.jsx)(s.h3,{id:"import-the-dexie-storage",children:"Import the Dexie Storage"}),(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { createRxDatabase } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/core'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { getRxStorageDexie } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/storage-dexie'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]})]})})}),(0,i.jsx)(s.h3,{id:"create-a-database",children:"Create a Database"}),(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'exampledb'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageDexie"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"()"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})})]}),"\n",(0,i.jsx)(s.h2,{id:"overwritepolyfill-the-native-indexeddb-api-with-an-in-memory-version",children:"Overwrite/Polyfill the native IndexedDB API with an in-memory version"}),"\n",(0,i.jsxs)(s.p,{children:["Node.js has no IndexedDB API. To still run the Dexie ",(0,i.jsx)(s.code,{children:"RxStorage"})," in Node.js, for example to run unit tests, you have to polyfill it.\nYou can do that by using the ",(0,i.jsx)(s.a,{href:"https://github.com/dumbmatter/fakeIndexedDB",children:"fake-indexeddb"})," module and pass it to the ",(0,i.jsx)(s.code,{children:"getRxStorageDexie()"})," function."]}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { createRxDatabase } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/core'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { getRxStorageDexie } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/storage-dexie'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"//> npm install fake-indexeddb --save"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" fakeIndexedDB"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" require"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'fake-indexeddb'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" fakeIDBKeyRange"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" require"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'fake-indexeddb/lib/FDBKeyRange'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'exampledb'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageDexie"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" indexedDB"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" fakeIndexedDB"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" IDBKeyRange"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" fakeIDBKeyRange"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" })"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "})]})})}),"\n",(0,i.jsx)(s.h2,{id:"using-dexie-addons",children:"Using Dexie Addons"}),"\n",(0,i.jsxs)(s.p,{children:["Dexie.js has its own plugin system with ",(0,i.jsx)(s.a,{href:"https://dexie.org/docs/DerivedWork#known-addons",children:"many plugins"})," for encryption, replication or other use cases. With the Dexie.js ",(0,i.jsx)(s.code,{children:"RxStorage"})," you can use the same plugins by passing them to the ",(0,i.jsx)(s.code,{children:"getRxStorageDexie()"})," function."]}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'exampledb'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageDexie"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" addons"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" [ "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"/* Your Dexie.js plugins */"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ]"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" })"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,i.jsx)(s.h2,{id:"sync-dexiejs-with-your-backend-in-rxdb",children:"Sync Dexie.js with your Backend in RxDB"}),"\n",(0,i.jsx)(s.p,{children:"Having your local data in sync with a remote backend is a key feature of RxDB. Here are two approaches to achieve this when using the Dexie.js RxStorage:"}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Dexie Cloud"})," provides a ",(0,i.jsx)(s.strong,{children:"managed solution"}),": For quick setups, letting you rely on its Cloud backend and conflict resolution."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.a,{href:"/replication.html",children:"RxDB's replication"}),": Offers ",(0,i.jsx)(s.strong,{children:"full control"})," over your backend, data flow, and ",(0,i.jsx)(s.a,{href:"/transactions-conflicts-revisions.html",children:"conflict handling"}),"."]}),"\n"]}),"\n",(0,i.jsx)(s.p,{children:"Choose the approach that best suits your needs - whether you want to get started quickly with Dexie Cloud or require the adaptability and autonomy of RxDB's native replication."}),"\n",(0,i.jsx)(s.h3,{id:"a-use-dexie-cloud-sync",children:"A. Use Dexie Cloud Sync"}),"\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.strong,{children:"Dexie Cloud"})," is an official SaaS solution provided by the Dexie team. It offers automatic synchronization, user management, and conflict resolution out of the box. The primary benefits are:"]}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Automatic Sync"}),": Dexie Cloud keeps your local IndexedDB in sync with its cloud-based backend."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"User Authentication"}),": Built-in user management (auth, roles, permissions)."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Conflict Resolution"}),": Automated resolution logic on the server side."]}),"\n"]}),"\n",(0,i.jsxs)(a.g,{children:[(0,i.jsx)(s.h4,{id:"install-the-dexie-cloud-addon",children:"Install the Dexie Cloud Addon"}),(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"bash","data-theme":"css-variables",children:(0,i.jsx)(s.code,{"data-language":"bash","data-theme":"css-variables",style:{display:"grid"},children:(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"npm"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string)"},children:" install"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string)"},children:" dexie-cloud-addon"})]})})})}),(0,i.jsx)(s.h4,{id:"import-rxdb-and-dexie-cloud",children:"Import RxDB and dexie-cloud"}),(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { createRxDatabase } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/core'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { getRxStorageDexie } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/storage-dexie'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" dexieCloud "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'dexie-cloud-addon'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]})]})})}),(0,i.jsx)(s.h4,{id:"create-a-dexie-based-rxstorage-with-the-cloud-plugin",children:"Create a Dexie based RxStorage with the Cloud Plugin"}),(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" storage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageDexie"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" addons"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" [dexieCloud]"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" /*"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * Whenever a new dexie database instance is created,"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * this method will be called."})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" async"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" onCreate"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(dexieDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" dexieDatabaseName) {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" dexieDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"cloud"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".configure"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" databaseUrl"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "https://.dexie.cloud"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" requireAuth"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" true"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // optional"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" });"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),(0,i.jsx)(s.h4,{id:"create-an-rxdb-database",children:"Create an RxDB Database"}),(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'mydb'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})})]}),"\n",(0,i.jsx)(s.h3,{id:"b-use-the-rxdb-replication",children:"B. Use the RxDB Replication"}),"\n",(0,i.jsxs)(s.p,{children:["For ",(0,i.jsx)(s.strong,{children:"full flexibility"})," over your backend or conflict resolution strategy, you can use one of ",(0,i.jsx)(s.strong,{children:"RxDB's many replication plugins"})," like"]}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.a,{href:"/replication-couchdb.html",children:"CouchDB Replication"})," Plugin: Replicate with a CouchDB Server"]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.a,{href:"/replication-graphql.html",children:"GraphQL Replication"})," Plugin: Sync data with any GraphQL endpoint. Useful when you have a custom schema or you want to utilize GraphQL's powerful query features."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.a,{href:"/replication-http.html",children:"Custom Replication with REST APIs"}),": Implement your own replication by building a pull/push handler that communicates with any RESTful backend."]}),"\n"]}),"\n",(0,i.jsx)(s.p,{children:"Below is an example of replicating an RxDB collection with a CouchDB backend using RxDB's CouchDB replication plugin:"}),"\n",(0,i.jsxs)(a.g,{children:[(0,i.jsx)(s.h4,{id:"import-the-rxdb-with-dexie-and-the-couchdb-plugin",children:"Import the RxDB with dexie and the CouchDB plugin"}),(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { replicateCouchDB } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/replication-couchdb'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { getRxStorageDexie } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/storage-dexie'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { createRxDatabase } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/core'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]})]})})}),(0,i.jsx)(s.h4,{id:"create-an-rxdb-database-with-the-dexie-storage",children:"Create an RxDB Database with the Dexie Storage"}),(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'mydb'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageDexie"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"()"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),(0,i.jsx)(s.h4,{id:"add-a-collection",children:"Add a Collection"}),(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".addCollections"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" humans"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" schema"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" version"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 0"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'object'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" primaryKey"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'id'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" properties"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" id"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { type"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" maxLength"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 100"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { type"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" age"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { type"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'number'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" required"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ["}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'id'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'name'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"]"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),(0,i.jsx)(s.h4,{id:"sync-the-collection-with-a-couchdb-server",children:"Sync the Collection with a CouchDB Server"}),(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" replicationState"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" replicateCouchDB"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" replicationIdentifier"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'my-couchdb-replication'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" collection"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".humans"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // The URL to your CouchDB endpoint"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" url"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'http://example.com/db/humans'"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})})]}),"\n",(0,i.jsx)(s.h2,{id:"livequery---realtime-queries",children:"liveQuery - Realtime Queries"}),"\n",(0,i.jsxs)(s.p,{children:["Dexie.js offers a feature called ",(0,i.jsx)(s.code,{children:"liveQuery"})," which automatically updates query results as data changes, allowing you to react to these changes in real-time. However, because RxDB intrinsically provides ",(0,i.jsx)(s.a,{href:"/rx-query.html#observe",children:"reactive queries"}),", you typically do ",(0,i.jsx)(s.strong,{children:"not"})," need to enable live queries through Dexie. Once you have created your database and collections with RxDB, any query you perform can be observed by subscribing to it, for example via ",(0,i.jsx)(s.code,{children:"collection.find().$.subscribe(results => { /*... */ })"}),". This means RxDB takes care of listening for changes and automatically emitting new results - ensuring your UI stays in sync with the underlying data without requiring extra plugins or manual polling."]}),"\n",(0,i.jsx)(s.h2,{id:"disabling-the-non-premium-console-log",children:"Disabling the non-premium console log"}),"\n",(0,i.jsxs)(s.p,{children:["We want to be transparent with our community, and you'll notice a console message when using the free Dexie.js based RxStorage implementation. This message serves to inform you about the availability of faster storage solutions within our ",(0,i.jsx)(s.a,{href:"/premium/",children:"\ud83d\udc51 Premium Plugins"}),". We understand that this might be a minor inconvenience, and we sincerely apologize for that. However, maintaining and improving RxDB requires substantial resources, and our premium users help us ensure its sustainability. If you find value in RxDB and wish to remove this message, we encourage you to explore our premium storage options, which are optimized for professional use and production environments. Thank you for your understanding and support."]}),"\n",(0,i.jsxs)(s.p,{children:["If you already have premium access and want to use the Dexie.js ",(0,i.jsx)(s.a,{href:"/rx-storage.html",children:"RxStorage"})," without the log, you can call the ",(0,i.jsx)(s.code,{children:"setPremiumFlag()"})," function to disable the log."]}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"js","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"js","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { setPremiumFlag } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb-premium/plugins/shared'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"setPremiumFlag"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]})]})})}),"\n",(0,i.jsx)(s.h2,{id:"performance-comparison-with-other-rxstorage-plugins",children:"Performance comparison with other RxStorage plugins"}),"\n",(0,i.jsx)(s.p,{children:"The performance of the Dexie.js RxStorage is good enough for most use cases but other storages can have way better performance metrics:"}),"\n",(0,i.jsx)("p",{align:"center",children:(0,i.jsx)("img",{src:"./files/rx-storage-performance-browser.png",alt:"RxStorage performance - browser Dexie.js",width:"700"})})]})}function x(e={}){const{wrapper:s}={...(0,o.R)(),...e.components};return s?(0,i.jsx)(s,{...e,children:(0,i.jsx)(h,{...e})}):h(e)}},3247(e,s,r){r.d(s,{g:()=>i});var n=r(4848);function i(e){const s=[];let r=null;return e.children.forEach(e=>{e.props.id?(r&&s.push(r),r={headline:e,paragraphs:[]}):r&&r.paragraphs.push(e)}),r&&s.push(r),(0,n.jsx)("div",{style:o.stepsContainer,children:s.map((e,s)=>(0,n.jsxs)("div",{style:o.stepWrapper,children:[(0,n.jsxs)("div",{style:o.stepIndicator,children:[(0,n.jsx)("div",{style:o.stepNumber,children:s+1}),(0,n.jsx)("div",{style:o.verticalLine})]}),(0,n.jsxs)("div",{style:o.stepContent,children:[(0,n.jsx)("div",{children:e.headline}),e.paragraphs.map((e,s)=>(0,n.jsx)("div",{style:o.item,children:e},s))]})]},s))})}const o={stepsContainer:{display:"flex",flexDirection:"column"},stepWrapper:{display:"flex",alignItems:"stretch",marginBottom:"1.5rem",position:"relative",minWidth:0},stepIndicator:{position:"relative",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"flex-start",width:"33px",marginRight:"1rem",minWidth:0},stepNumber:{width:"33px",height:"33px",borderRadius:"50%",backgroundColor:"var(--color-top)",color:"#fff",display:"flex",alignItems:"center",justifyContent:"center",fontWeight:"bold",marginTop:-4},verticalLine:{position:"absolute",top:29,bottom:"0",left:"50%",width:"1px",background:"linear-gradient(to bottom, var(--color-top) 0%, var(--color-top) 80%, rgba(0,0,0,0) 100%)",transform:"translateX(-50%)"},stepContent:{flex:1,minWidth:0,overflowWrap:"break-word"},item:{marginTop:"0.5rem"}}},8453(e,s,r){r.d(s,{R:()=>a,x:()=>l});var n=r(6540);const i={},o=n.createContext(i);function a(e){const s=n.useContext(o);return n.useMemo(function(){return"function"==typeof e?e(s):{...s,...e}},[s,e])}function l(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:a(e.components),n.createElement(o.Provider,{value:s},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/38a45a95.a7eb0903.js b/docs/assets/js/38a45a95.a7eb0903.js
deleted file mode 100644
index 05a0ca5e5e2..00000000000
--- a/docs/assets/js/38a45a95.a7eb0903.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[405],{4806(e,a,t){t.r(a),t.d(a,{default:()=>n});var s=t(544),l=t(4848);function n(){return(0,s.default)({sem:{id:"gads",title:(0,l.jsxs)(l.Fragment,{children:["The easiest way to ",(0,l.jsx)("b",{children:"store"})," and ",(0,l.jsx)("b",{children:"sync"})," Data in Electron"]}),appName:"Electron",iconUrl:"/files/icons/electron.svg",metaTitle:"Local Electron Database"}})}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/38bbf12a.62b38600.js b/docs/assets/js/38bbf12a.62b38600.js
deleted file mode 100644
index d37ef992bce..00000000000
--- a/docs/assets/js/38bbf12a.62b38600.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[2078],{8251(e,a,i){i.r(a),i.d(a,{assets:()=>l,contentTitle:()=>o,default:()=>h,frontMatter:()=>r,metadata:()=>n,toc:()=>c});const n=JSON.parse('{"id":"articles/data-base","title":"Empower Web Apps with Reactive RxDB Data-base","description":"Explore RxDB\'s reactive data-base solution for web and mobile. Enable offline-first experiences, real-time syncing, and secure data handling with ease.","source":"@site/docs/articles/data-base.md","sourceDirName":"articles","slug":"/articles/data-base.html","permalink":"/articles/data-base.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"Empower Web Apps with Reactive RxDB Data-base","slug":"data-base.html","description":"Explore RxDB\'s reactive data-base solution for web and mobile. Enable offline-first experiences, real-time syncing, and secure data handling with ease."},"sidebar":"tutorialSidebar","previous":{"title":"Browser Storage - RxDB as a Database for Browsers","permalink":"/articles/browser-storage.html"},"next":{"title":"Embedded Database, Real-time Speed - RxDB","permalink":"/articles/embedded-database.html"}}');var t=i(4848),s=i(8453);const r={title:"Empower Web Apps with Reactive RxDB Data-base",slug:"data-base.html",description:"Explore RxDB's reactive data-base solution for web and mobile. Enable offline-first experiences, real-time syncing, and secure data handling with ease."},o="RxDB as a data base: Empowering Web Applications with Reactive Data Handling",l={},c=[{value:"Overview of Web Applications that can benefit from RxDB",id:"overview-of-web-applications-that-can-benefit-from-rxdb",level:2},{value:"Importance of data bases in Mobile Applications",id:"importance-of-data-bases-in-mobile-applications",level:2},{value:"Introducing RxDB as a data base Solution",id:"introducing-rxdb-as-a-data-base-solution",level:2},{value:"Getting Started with RxDB",id:"getting-started-with-rxdb",level:2},{value:"What is RxDB?",id:"what-is-rxdb",level:3},{value:"Reactive Data Handling",id:"reactive-data-handling",level:3},{value:"Offline-First Approach",id:"offline-first-approach",level:3},{value:"Data Replication",id:"data-replication",level:3},{value:"Observable Queries",id:"observable-queries",level:3},{value:"Multi-Tab support",id:"multi-tab-support",level:3},{value:"RxDB vs. Other data base Options",id:"rxdb-vs-other-data-base-options",level:3},{value:"Different RxStorage layers for RxDB",id:"different-rxstorage-layers-for-rxdb",level:3},{value:"Synchronizing Data with RxDB between Clients and Servers",id:"synchronizing-data-with-rxdb-between-clients-and-servers",level:2},{value:"Offline-First Approach",id:"offline-first-approach-1",level:3},{value:"RxDB Replication Plugins",id:"rxdb-replication-plugins",level:3},{value:"Advanced RxDB Features and Techniques",id:"advanced-rxdb-features-and-techniques",level:3},{value:"Encryption of Local Data",id:"encryption-of-local-data",level:3},{value:"Change Streams and Event Handling",id:"change-streams-and-event-handling",level:3},{value:"JSON Key Compression",id:"json-key-compression",level:3},{value:"Conclusion",id:"conclusion",level:2}];function d(e){const a={a:"a",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",p:"p",ul:"ul",...(0,s.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(a.header,{children:(0,t.jsx)(a.h1,{id:"rxdb-as-a-data-base-empowering-web-applications-with-reactive-data-handling",children:"RxDB as a data base: Empowering Web Applications with Reactive Data Handling"})}),"\n",(0,t.jsx)(a.p,{children:"In the world of web applications, efficient data management plays a crucial role in delivering a seamless user experience. As mobile applications continue to dominate the digital landscape, the importance of robust data bases becomes evident. In this article, we will explore RxDB as a powerful data base solution for web applications. We will delve into its features, advantages, and advanced techniques, highlighting its ability to handle reactive data and enable an offline-first approach."}),"\n",(0,t.jsx)("center",{children:(0,t.jsx)("a",{href:"https://rxdb.info/",children:(0,t.jsx)("img",{src:"../files/logo/rxdb_javascript_database.svg",alt:"Data Base",width:"240"})})}),"\n",(0,t.jsx)(a.h2,{id:"overview-of-web-applications-that-can-benefit-from-rxdb",children:"Overview of Web Applications that can benefit from RxDB"}),"\n",(0,t.jsx)(a.p,{children:"Before diving into the specifics of RxDB, let's take a moment to understand the scope of web applications that can leverage its capabilities. Any web application that requires real-time data updates, offline functionality, and synchronization between clients and servers can greatly benefit from RxDB. Whether it's a collaborative document editing tool, a task management app, or a chat application, RxDB offers a robust foundation for building these types of applications."}),"\n",(0,t.jsx)(a.h2,{id:"importance-of-data-bases-in-mobile-applications",children:"Importance of data bases in Mobile Applications"}),"\n",(0,t.jsx)(a.p,{children:"Mobile applications have become an integral part of our lives, providing us with instant access to information and services. Behind the scenes, data bases play a pivotal role in storing and managing the data that powers these applications. data bases enable efficient data retrieval, updates, and synchronization, ensuring a smooth user experience even in challenging network conditions."}),"\n",(0,t.jsx)(a.h2,{id:"introducing-rxdb-as-a-data-base-solution",children:"Introducing RxDB as a data base Solution"}),"\n",(0,t.jsx)(a.p,{children:"RxDB, short for Reactive data base, is a client-side data base solution designed specifically for web and mobile applications. Built on the principles of reactive programming, RxDB brings the power of observables and event-driven architecture to data management. With RxDB, developers can create applications that are responsive, offline-ready, and capable of seamless data synchronization between clients and servers."}),"\n",(0,t.jsx)(a.h2,{id:"getting-started-with-rxdb",children:"Getting Started with RxDB"}),"\n",(0,t.jsx)(a.h3,{id:"what-is-rxdb",children:"What is RxDB?"}),"\n",(0,t.jsx)(a.p,{children:"RxDB is an open-source JavaScript data base that leverages reactive programming and provides a seamless API for handling data. It is built on top of existing popular data base technologies, such as IndexedDB, and adds a layer of reactive features to enable real-time data updates and synchronization."}),"\n",(0,t.jsx)(a.h3,{id:"reactive-data-handling",children:"Reactive Data Handling"}),"\n",(0,t.jsx)(a.p,{children:"One of the standout features of RxDB is its reactive data handling. It utilizes observables to provide a stream of data that automatically updates whenever a change occurs. This reactive approach allows developers to build applications that respond instantly to data changes, ensuring a highly interactive and real-time user experience."}),"\n",(0,t.jsx)(a.h3,{id:"offline-first-approach",children:"Offline-First Approach"}),"\n",(0,t.jsx)(a.p,{children:"RxDB embraces an offline-first approach, enabling applications to work seamlessly even when there is no internet connectivity. It achieves this by caching data locally on the client-side and synchronizing it with the server when the connection is available. This ensures that users can continue working with the application and have their data automatically synchronized when they come back online."}),"\n",(0,t.jsx)(a.h3,{id:"data-replication",children:"Data Replication"}),"\n",(0,t.jsx)(a.p,{children:"RxDB simplifies the process of data replication between clients and servers. It provides replication plugins that handle the synchronization of data in real-time. These plugins allow applications to keep data consistent across multiple clients, enabling collaborative features and ensuring that each client has the most up-to-date information."}),"\n",(0,t.jsx)(a.h3,{id:"observable-queries",children:"Observable Queries"}),"\n",(0,t.jsx)(a.p,{children:"RxDB introduces the concept of observable queries, which are powerful tools for efficiently querying data. With observable queries, developers can subscribe to specific data queries and receive automatic updates whenever the underlying data changes. This eliminates the need for manual polling and ensures that applications always have access to the latest data."}),"\n",(0,t.jsx)(a.h3,{id:"multi-tab-support",children:"Multi-Tab support"}),"\n",(0,t.jsxs)(a.p,{children:["RxDB offers multi-tab support, allowing applications to function seamlessly across multiple ",(0,t.jsx)(a.a,{href:"/articles/browser-database.html",children:"browser"})," tabs. This feature ensures that data changes in one tab are immediately reflected in all other open tabs, enabling a consistent user experience across different browser windows."]}),"\n",(0,t.jsx)(a.h3,{id:"rxdb-vs-other-data-base-options",children:"RxDB vs. Other data base Options"}),"\n",(0,t.jsxs)(a.p,{children:["When considering data base options for web applications, developers often encounter choices like IndexedDB, ",(0,t.jsx)(a.a,{href:"/rx-storage-opfs.html",children:"OPFS"}),", and Memory-based solutions. RxDB, while built on top of IndexedDB, stands out due to its reactive data handling capabilities and advanced synchronization features. Compared to other options, RxDB offers a more streamlined and powerful approach to managing data in web applications."]}),"\n",(0,t.jsx)(a.h3,{id:"different-rxstorage-layers-for-rxdb",children:"Different RxStorage layers for RxDB"}),"\n",(0,t.jsxs)(a.p,{children:["RxDB provides various ",(0,t.jsx)(a.a,{href:"/rx-storage.html",children:"storage layers"}),", known as RxStorage, that serve as interfaces to different underlying ",(0,t.jsx)(a.a,{href:"/articles/browser-storage.html",children:"storage"})," technologies. These layers include:"]}),"\n",(0,t.jsxs)(a.ul,{children:["\n",(0,t.jsxs)(a.li,{children:[(0,t.jsx)(a.a,{href:"/rx-storage-localstorage.html",children:"LocalStorage RxStorage"}),": Built on top of the browsers ",(0,t.jsx)(a.a,{href:"/articles/localstorage.html",children:"localStorage API"}),"."]}),"\n",(0,t.jsxs)(a.li,{children:[(0,t.jsx)(a.a,{href:"/rx-storage-indexeddb.html",children:"IndexedDB RxStorage"}),": This layer directly utilizes IndexedDB as its backend, providing a robust and widely supported storage option."]}),"\n",(0,t.jsxs)(a.li,{children:[(0,t.jsx)(a.a,{href:"/rx-storage-opfs.html",children:"OPFS RxStorage"}),": OPFS (Operational Transformation File System) is a file system-like storage layer that allows for efficient conflict resolution and real-time collaboration."]}),"\n",(0,t.jsx)(a.li,{children:"Memory RxStorage: Primarily used for testing and development, this storage layer keeps data in memory without persisting it to disk.\nEach RxStorage layer has its strengths and is suited for different scenarios, enabling developers to choose the most appropriate option for their specific use case."}),"\n"]}),"\n",(0,t.jsx)(a.h2,{id:"synchronizing-data-with-rxdb-between-clients-and-servers",children:"Synchronizing Data with RxDB between Clients and Servers"}),"\n",(0,t.jsx)(a.h3,{id:"offline-first-approach-1",children:"Offline-First Approach"}),"\n",(0,t.jsx)(a.p,{children:"As mentioned earlier, RxDB adopts an offline-first approach, allowing applications to function seamlessly in disconnected environments. By caching data locally, applications can continue to operate and make updates even without an internet connection. Once the connection is restored, RxDB's replication plugins take care of synchronizing the data with the server, ensuring consistency across all clients."}),"\n",(0,t.jsx)(a.h3,{id:"rxdb-replication-plugins",children:"RxDB Replication Plugins"}),"\n",(0,t.jsx)(a.p,{children:"RxDB provides a range of replication plugins that simplify the process of synchronizing data between clients and servers. These plugins enable real-time replication using various protocols, such as WebSocket or HTTP, and handle conflict resolution strategies to ensure data integrity. By leveraging these replication plugins, developers can easily implement robust and scalable synchronization capabilities in their applications."}),"\n",(0,t.jsx)(a.h3,{id:"advanced-rxdb-features-and-techniques",children:"Advanced RxDB Features and Techniques"}),"\n",(0,t.jsx)(a.p,{children:"Indexing and Performance Optimization\nTo achieve optimal performance, RxDB offers indexing capabilities. Indexing allows for efficient data retrieval and faster query execution. By strategically defining indexes on frequently accessed fields, developers can significantly enhance the overall performance of their RxDB-powered applications."}),"\n",(0,t.jsx)(a.h3,{id:"encryption-of-local-data",children:"Encryption of Local Data"}),"\n",(0,t.jsx)(a.p,{children:"In scenarios where data security is paramount, RxDB provides options for encrypting local data. By encrypting the data base contents, developers can ensure that sensitive information remains secure even if the underlying storage is compromised. RxDB integrates seamlessly with encryption libraries, making it easy to implement end-to-end encryption in applications."}),"\n",(0,t.jsx)(a.h3,{id:"change-streams-and-event-handling",children:"Change Streams and Event Handling"}),"\n",(0,t.jsx)(a.p,{children:"RxDB offers change streams and event handling mechanisms, enabling developers to react to data changes in real-time. With change streams, applications can listen to specific collections or documents and trigger custom logic whenever a change occurs. This capability opens up possibilities for building real-time collaboration features, notifications, or other reactive behaviors."}),"\n",(0,t.jsx)(a.h3,{id:"json-key-compression",children:"JSON Key Compression"}),"\n",(0,t.jsxs)(a.p,{children:["In scenarios where storage size is a concern, RxDB provides JSON ",(0,t.jsx)(a.a,{href:"/key-compression.html",children:"key compression"}),". By applying compression techniques to JSON keys, developers can significantly reduce the storage footprint of their data bases. This feature is particularly beneficial for applications dealing with large datasets or ",(0,t.jsx)(a.a,{href:"/articles/indexeddb-max-storage-limit.html",children:"limited storage capacities"}),"."]}),"\n",(0,t.jsx)(a.h2,{id:"conclusion",children:"Conclusion"}),"\n",(0,t.jsxs)(a.p,{children:["RxDB provides an exceptional data base solution for web and mobile applications, empowering developers to create reactive, offline-ready, and synchronized applications. With its reactive data handling, offline-first approach, and replication plugins, RxDB simplifies the challenges of building real-time applications with data synchronization requirements. By embracing advanced features like indexing, encryption, change streams, and JSON key compression, developers can optimize performance, enhance security, and reduce storage requirements. As web and ",(0,t.jsx)(a.a,{href:"/articles/mobile-database.html",children:"mobile applications"})," continue to evolve, RxDB proves to be a reliable and powerful"]}),"\n",(0,t.jsx)("center",{children:(0,t.jsx)("a",{href:"https://rxdb.info/",children:(0,t.jsx)("img",{src:"../files/logo/rxdb_javascript_database.svg",alt:"Data Base",width:"240"})})})]})}function h(e={}){const{wrapper:a}={...(0,s.R)(),...e.components};return a?(0,t.jsx)(a,{...e,children:(0,t.jsx)(d,{...e})}):d(e)}},8453(e,a,i){i.d(a,{R:()=>r,x:()=>o});var n=i(6540);const t={},s=n.createContext(t);function r(e){const a=n.useContext(s);return n.useMemo(function(){return"function"==typeof e?e(a):{...a,...e}},[a,e])}function o(e){let a;return a=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:r(e.components),n.createElement(s.Provider,{value:a},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/393be207.9cd944e0.js b/docs/assets/js/393be207.9cd944e0.js
deleted file mode 100644
index 28d4f385533..00000000000
--- a/docs/assets/js/393be207.9cd944e0.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[4134],{591(e,n,t){t.r(n),t.d(n,{assets:()=>c,contentTitle:()=>p,default:()=>l,frontMatter:()=>s,metadata:()=>a,toc:()=>d});const a=JSON.parse('{"type":"mdx","permalink":"/markdown-page","source":"@site/src/pages/markdown-page.md","title":"Markdown page example","description":"You don\'t need React to write simple standalone pages.","frontMatter":{"title":"Markdown page example"},"unlisted":false}');var o=t(4848),r=t(8453);const s={title:"Markdown page example"},p="Markdown page example",c={},d=[];function i(e){const n={h1:"h1",header:"header",p:"p",...(0,r.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(n.header,{children:(0,o.jsx)(n.h1,{id:"markdown-page-example",children:"Markdown page example"})}),"\n",(0,o.jsx)(n.p,{children:"You don't need React to write simple standalone pages."})]})}function l(e={}){const{wrapper:n}={...(0,r.R)(),...e.components};return n?(0,o.jsx)(n,{...e,children:(0,o.jsx)(i,{...e})}):i(e)}},8453(e,n,t){t.d(n,{R:()=>s,x:()=>p});var a=t(6540);const o={},r=a.createContext(o);function s(e){const n=a.useContext(r);return a.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function p(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:s(e.components),a.createElement(r.Provider,{value:n},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/39600c95.6a7491bc.js b/docs/assets/js/39600c95.6a7491bc.js
deleted file mode 100644
index 1fa9f7307fa..00000000000
--- a/docs/assets/js/39600c95.6a7491bc.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[3148],{8228(e,n,s){s.r(n),s.d(n,{assets:()=>t,contentTitle:()=>l,default:()=>h,frontMatter:()=>a,metadata:()=>r,toc:()=>c});const r=JSON.parse('{"id":"rx-query","title":"RxQuery","description":"Master RxQuery in RxDB - find, update, remove documents using Mango syntax, chained queries, real-time observations, indexing, and more.","source":"@site/docs/rx-query.md","sourceDirName":".","slug":"/rx-query.html","permalink":"/rx-query.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"RxQuery","slug":"rx-query.html","description":"Master RxQuery in RxDB - find, update, remove documents using Mango syntax, chained queries, real-time observations, indexing, and more."},"sidebar":"tutorialSidebar","previous":{"title":"RxDocument","permalink":"/rx-document.html"},"next":{"title":"RxStorage Overview","permalink":"/rx-storage.html"}}');var o=s(4848),i=s(8453);const a={title:"RxQuery",slug:"rx-query.html",description:"Master RxQuery in RxDB - find, update, remove documents using Mango syntax, chained queries, real-time observations, indexing, and more."},l="RxQuery",t={},c=[{value:"find()",id:"find",level:2},{value:"findOne()",id:"findone",level:2},{value:"exec()",id:"exec",level:2},{value:"Observe $",id:"observe-",level:2},{value:"update()",id:"update",level:2},{value:"patch() / incrementalPatch()",id:"patch--incrementalpatch",level:2},{value:"modify() / incrementalModify()",id:"modify--incrementalmodify",level:2},{value:"remove() / incrementalRemove()",id:"remove--incrementalremove",level:2},{value:"doesDocumentDataMatch()",id:"doesdocumentdatamatch",level:2},{value:"Query Builder Plugin",id:"query-builder-plugin",level:2},{value:"Query Examples",id:"query-examples",level:2},{value:"Setting a specific index",id:"setting-a-specific-index",level:2},{value:"Count",id:"count",level:2},{value:"allowSlowCount",id:"allowslowcount",level:3},{value:"RxQuery's are immutable",id:"rxquerys-are-immutable",level:2},{value:"isRxQuery",id:"isrxquery",level:3},{value:"Design Decisions",id:"design-decisions",level:2},{value:"FAQ",id:"faq",level:2}];function d(e){const n={a:"a",admonition:"admonition",code:"code",figure:"figure",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...(0,i.R)(),...e.components},{Details:s}=n;return s||function(e,n){throw new Error("Expected "+(n?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}("Details",!0),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(n.header,{children:(0,o.jsx)(n.h1,{id:"rxquery",children:"RxQuery"})}),"\n",(0,o.jsxs)(n.p,{children:["To find documents inside of an ",(0,o.jsx)(n.a,{href:"/rx-collection.html",children:"RxCollection"}),", RxDB uses the RxQuery interface that handles all query operations: it serves as the main interface for fetching documents, relies on a MongoDB-like ",(0,o.jsx)(n.a,{href:"https://github.com/cloudant/mango",children:"Mango Query Syntax"}),", and provides three types of queries: ",(0,o.jsx)(n.a,{href:"#find",children:"find()"}),", ",(0,o.jsx)(n.a,{href:"#findone",children:"findOne()"})," and ",(0,o.jsx)(n.a,{href:"#count",children:"count()"}),". By caching and de-duplicating results, RxQuery ensures efficient in-memory handling, and when queries are observed or re-run, the ",(0,o.jsx)(n.a,{href:"https://github.com/pubkey/event-reduce",children:"EventReduce algorithm"})," speeds up updates for a fast real-time experience and queries that run more than once."]}),"\n",(0,o.jsx)(n.h2,{id:"find",children:"find()"}),"\n",(0,o.jsxs)(n.p,{children:["To create a basic ",(0,o.jsx)(n.code,{children:"RxQuery"}),", call ",(0,o.jsx)(n.code,{children:".find()"})," on a collection and insert selectors. The result-set of normal queries is an array with documents."]}),"\n",(0,o.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"js","data-theme":"css-variables",children:(0,o.jsxs)(n.code,{"data-language":"js","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// find all that are older then 18"})}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" query"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" myCollection"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" .find"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" selector"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" age"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" $gt"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 18"})]}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" });"})})]})})}),"\n",(0,o.jsx)(n.h2,{id:"findone",children:"findOne()"}),"\n",(0,o.jsxs)(n.p,{children:["A findOne-query has only a single ",(0,o.jsx)(n.code,{children:"RxDocument"})," or ",(0,o.jsx)(n.code,{children:"null"})," as result-set."]}),"\n",(0,o.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"js","data-theme":"css-variables",children:(0,o.jsxs)(n.code,{"data-language":"js","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// find alice"})}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" query"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" myCollection"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" .findOne"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" selector"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'alice'"})]}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" });"})})]})})}),"\n",(0,o.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"js","data-theme":"css-variables",children:(0,o.jsxs)(n.code,{"data-language":"js","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// find the youngest one"})}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" query"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" myCollection"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" .findOne"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" selector"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {}"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" sort"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" ["})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {age"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'asc'"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"}"})]}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" ]"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" });"})})]})})}),"\n",(0,o.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"js","data-theme":"css-variables",children:(0,o.jsxs)(n.code,{"data-language":"js","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// find one document by the primary key"})}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" query"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" myCollection"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".findOne"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'foobar'"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:");"})]})]})})}),"\n",(0,o.jsx)(n.h2,{id:"exec",children:"exec()"}),"\n",(0,o.jsxs)(n.p,{children:["Returns a ",(0,o.jsx)(n.code,{children:"Promise"})," that resolves with the result-set of the query."]}),"\n",(0,o.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"js","data-theme":"css-variables",children:(0,o.jsxs)(n.code,{"data-language":"js","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" query"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" myCollection"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".find"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" results"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" query"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".exec"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"console"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".dir"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(results); "}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// > [RxDocument,RxDocument,RxDocument..]"})]})]})})}),"\n",(0,o.jsxs)(n.p,{children:["On ",(0,o.jsx)(n.code,{children:".findOne()"})," queries, you can call ",(0,o.jsx)(n.code,{children:".exec(true)"})," to ensure your document exists and to make TypeScript handling easier:"]}),"\n",(0,o.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,o.jsxs)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// docOrUndefined can be the type RxDocument or null which then has to be handled to be typesafe."})}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" docOrUndefined"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" myCollection"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".findOne"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"()"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".exec"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// with .exec(true), it will throw if the document cannot be found and always have the type RxDocument"})}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" doc"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" myCollection"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".findOne"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"()"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".exec"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"true"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:");"})]})]})})}),"\n",(0,o.jsx)(n.h2,{id:"observe-",children:"Observe $"}),"\n",(0,o.jsxs)(n.p,{children:["An ",(0,o.jsx)(n.code,{children:"BehaviorSubject"})," ",(0,o.jsx)(n.a,{href:"https://medium.com/@luukgruijs/understanding-rxjs-behaviorsubject-replaysubject-and-asyncsubject-8cc061f1cfc0",children:"see"})," that always has the current result-set as value.\nThis is extremely helpful when used together with UIs that should always show the same state as what is written in the database."]}),"\n",(0,o.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"js","data-theme":"css-variables",children:(0,o.jsxs)(n.code,{"data-language":"js","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" query"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" myCollection"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".find"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" querySub"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" query"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"$"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".subscribe"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(results "}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" console"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".log"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'got results: '"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" +"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" results"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"."}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"length"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// > 'got results: 5' // BehaviorSubjects emit on subscription"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" myCollection"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".insert"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"/* ... */"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"}); "}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// insert one"})]}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// > 'got results: 6' // $.subscribe() was called again with the new results"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// stop watching this query"})}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"querySub"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".unsubscribe"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"()"})]})]})})}),"\n",(0,o.jsx)(n.h2,{id:"update",children:"update()"}),"\n",(0,o.jsxs)(n.p,{children:["Runs an ",(0,o.jsx)(n.a,{href:"/rx-document.html#update",children:"update"})," on every RxDocument of the query-result."]}),"\n",(0,o.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"js","data-theme":"css-variables",children:(0,o.jsxs)(n.code,{"data-language":"js","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// to use the update() method, you need to add the update plugin."})}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" { RxDBUpdatePlugin } "}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/update'"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:"addRxPlugin"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(RxDBUpdatePlugin);"})]}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" query"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" myCollection"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".find"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" selector"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" age"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" $gt"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 18"})]}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" query"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".update"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" $inc"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" age"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 1"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // increases age of every found document by 1"})]}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,o.jsx)(n.h2,{id:"patch--incrementalpatch",children:"patch() / incrementalPatch()"}),"\n",(0,o.jsxs)(n.p,{children:["Runs the ",(0,o.jsx)(n.a,{href:"/rx-document.html#patch",children:"RxDocument.patch()"})," function on every RxDocument of the query result."]}),"\n",(0,o.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"js","data-theme":"css-variables",children:(0,o.jsxs)(n.code,{"data-language":"js","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" query"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" myCollection"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".find"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" selector"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" age"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" $gt"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 18"})]}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" query"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".patch"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" age"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 12"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // set the age of every found to 12"})]}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,o.jsx)(n.h2,{id:"modify--incrementalmodify",children:"modify() / incrementalModify()"}),"\n",(0,o.jsxs)(n.p,{children:["Runs the ",(0,o.jsx)(n.a,{href:"/rx-document.html#modify",children:"RxDocument.modify()"})," function on every RxDocument of the query result."]}),"\n",(0,o.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"js","data-theme":"css-variables",children:(0,o.jsxs)(n.code,{"data-language":"js","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" query"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" myCollection"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".find"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" selector"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" age"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" $gt"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 18"})]}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" query"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".modify"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"((docData) "}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" docData"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:".age "}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" docData"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:".age "}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"+"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 1"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"; "}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// increases age of every found document by 1"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" docData;"})]}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,o.jsx)(n.h2,{id:"remove--incrementalremove",children:"remove() / incrementalRemove()"}),"\n",(0,o.jsx)(n.p,{children:"Deletes all found documents. Returns a promise which resolves to the deleted documents."}),"\n",(0,o.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"javascript","data-theme":"css-variables",children:(0,o.jsxs)(n.code,{"data-language":"javascript","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// All documents where the age is less than 18"})}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" query"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" myCollection"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".find"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" selector"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" age"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" $lt"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 18"})]}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// Remove the documents from the collection"})}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" removedDocs"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" query"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".remove"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]})]})})}),"\n",(0,o.jsx)(n.h2,{id:"doesdocumentdatamatch",children:"doesDocumentDataMatch()"}),"\n",(0,o.jsxs)(n.p,{children:["Returns ",(0,o.jsx)(n.code,{children:"true"})," if the given document data matches the query."]}),"\n",(0,o.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"js","data-theme":"css-variables",children:(0,o.jsxs)(n.code,{"data-language":"js","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" documentData"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" id"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'foobar'"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" age"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 19"})]}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"};"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"myCollection"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".find"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" selector"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" age"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" $gt"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 18"})]}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"})"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".doesDocumentDataMatch"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(documentData); "}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// > true"})]}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"myCollection"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".find"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" selector"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" age"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" $gt"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 20"})]}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"})"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".doesDocumentDataMatch"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(documentData); "}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// > false"})]})]})})}),"\n",(0,o.jsx)(n.h2,{id:"query-builder-plugin",children:"Query Builder Plugin"}),"\n",(0,o.jsxs)(n.p,{children:["To use chained query methods, you can also use the ",(0,o.jsx)(n.code,{children:"query-builder"})," plugin."]}),"\n",(0,o.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,o.jsxs)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// add the query builder plugin"})}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" { addRxPlugin } "}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb'"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" { RxDBQueryBuilderPlugin } "}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/query-builder'"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:"addRxPlugin"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(RxDBQueryBuilderPlugin);"})]}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// now you can use chained query methods"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" query"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" myCollection"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".find"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"()"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".where"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'age'"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:")"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".gt"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"18"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" result"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" query"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".exec"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]})]})})}),"\n",(0,o.jsx)(n.h2,{id:"query-examples",children:"Query Examples"}),"\n",(0,o.jsx)(n.p,{children:"Here some examples to fast learn how to write queries without reading the docs."}),"\n",(0,o.jsxs)(n.ul,{children:["\n",(0,o.jsxs)(n.li,{children:[(0,o.jsx)(n.a,{href:"https://github.com/pouchdb/pouchdb/blob/master/packages/node_modules/pouchdb-find/README.md",children:"Pouch-find-docs"})," - learn how to use mango-queries"]}),"\n",(0,o.jsxs)(n.li,{children:[(0,o.jsx)(n.a,{href:"https://github.com/aheckmann/mquery/blob/master/README.md",children:"mquery-docs"})," - learn how to use chained-queries"]}),"\n"]}),"\n",(0,o.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"js","data-theme":"css-variables",children:(0,o.jsxs)(n.code,{"data-language":"js","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// directly pass search-object"})}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"myCollection"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".find"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" selector"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" { $eq"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'foo'"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})]}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"})"})}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".exec"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"()"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".then"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(documents "}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" console"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".dir"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(documents));"})]}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"/*"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * find by using sql equivalent '%like%' syntax"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * This example will fe: match 'foo' but also 'fifoo' or 'foofa' or 'fifoofa'"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * Notice that in RxDB queries, a regex is represented as a $regex string with the $options parameter for flags."})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * Using a RegExp instance is not allowed because they are not JSON.stringify()-able and also"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * RegExp instances are mutable which could cause undefined behavior when the RegExp is mutated"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * after the query was parsed."})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"myCollection"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".find"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" selector"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" { $regex"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" '.*foo.*'"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})]}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"})"})}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".exec"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"()"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".then"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(documents "}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" console"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".dir"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(documents));"})]}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// find using a composite statement eg: $or"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// This example checks where name is either foo or if name is not existent on the document"})}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"myCollection"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".find"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" selector"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" { $or"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" [ { name"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" { $eq"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'foo'"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" } }"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" { name"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" { $exists"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" false"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" } }] }"})]}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"})"})}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".exec"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"()"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".then"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(documents "}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" console"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".dir"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(documents));"})]}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// do a case insensitive search"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// This example will match 'foo' or 'FOO' or 'FoO' etc..."})}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"myCollection"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".find"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" selector"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" { name"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" { $regex"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" '^foo$'"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" $options"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'i'"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" } }"})]}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"})"})}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".exec"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"()"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".then"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(documents "}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" console"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".dir"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(documents));"})]}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// chained queries"})}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"myCollection"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".find"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"()"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".where"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'name'"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:")"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".eq"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'foo'"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:")"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".exec"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"()"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".then"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(documents "}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" console"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".dir"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(documents));"})]})]})})}),"\n",(0,o.jsx)(n.admonition,{title:"RxDB will always append the primary key to the sort parameters",type:"note",children:(0,o.jsxs)(n.p,{children:["For several performance optimizations, like the ",(0,o.jsx)(n.a,{href:"https://github.com/pubkey/event-reduce",children:"EventReduce algorithm"}),", RxDB expects all queries to return a deterministic sort order that does not depend on the insert order of the documents. To ensure a deterministic ordering, RxDB will always append the primary key as last sort parameter to all queries and to all indexes.\nThis works in contrast to most other databases where a query without sorting would return the documents in the order in which they had been inserted to the database."]})}),"\n",(0,o.jsx)(n.h2,{id:"setting-a-specific-index",children:"Setting a specific index"}),"\n",(0,o.jsx)(n.p,{children:"By default, the query will be sent to the RxStorage, where a query planner will determine which one of the available indexes must be used.\nBut the query planner cannot know everything and sometimes will not pick the most optimal index.\nTo improve query performance, you can specify which index must be used, when running the query."}),"\n",(0,o.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,o.jsxs)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" query"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" myCollection"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" .findOne"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" selector"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" age"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" $gt"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 18"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" gender"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" $eq"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'm'"})]}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * Because the developer knows that 50% of the documents are 'male',"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * but only 20% are below age 18,"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * it makes sense to enforce using the ['gender', 'age'] index to improve performance."})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * This could not be known by the query planer which might have chosen ['age', 'gender'] instead."})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" index"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" ["}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'gender'"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'age'"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"]"})]}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" });"})})]})})}),"\n",(0,o.jsx)(n.h2,{id:"count",children:"Count"}),"\n",(0,o.jsxs)(n.p,{children:["When you only need the amount of documents that match a query, but you do not need the document data itself, you can use a count query for ",(0,o.jsx)(n.strong,{children:"better performance"}),".\nThe performance difference compared to a normal query differs depending on which ",(0,o.jsx)(n.a,{href:"/rx-storage.html",children:"RxStorage"})," implementation is used."]}),"\n",(0,o.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,o.jsxs)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" query"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" myCollection"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".count"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" selector"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" age"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" $gt"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 18"})]}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // 'limit' and 'skip' MUST NOT be set for count queries."})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// get the count result once"})}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" matchingAmount"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" query"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".exec"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(); "}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// > number"})]}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// observe the result"})}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"query"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"$"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".subscribe"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(amount "}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" console"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".log"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'Currently has '"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" +"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" amount "}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"+"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" ' documents'"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,o.jsx)(n.admonition,{type:"note",children:(0,o.jsxs)(n.p,{children:["Count queries have a better performance than normal queries because they do not have to fetch the full document data out of the storage. Therefore it is ",(0,o.jsx)(n.strong,{children:"not"})," possible to run a ",(0,o.jsx)(n.code,{children:"count()"})," query with a selector that requires to fetch and compare the document data. So if your query selector ",(0,o.jsx)(n.strong,{children:"does not"})," fully match an index of the schema, it is not allowed to run it. These queries would have no performance benefit compared to normal queries but have the tradeoff of not using the fetched document data for caching."]})}),"\n",(0,o.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,o.jsxs)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"/**"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * The following will throw an error because"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * the count operation cannot run on any specific index range"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * because the $regex operator is used."})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" query"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" myCollection"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".count"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" selector"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" age"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" $regex"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'foobar'"})]}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"/**"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * The following will throw an error because"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * the count operation cannot run on any specific index range"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * because there is no ['age' ,'otherNumber'] index"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * defined in the schema."})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" query"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" myCollection"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".count"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" selector"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" age"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" $gt"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 20"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" otherNumber"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" $gt"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 10"})]}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,o.jsx)(n.p,{children:"If you want to count these kinds of queries, you should do a normal query instead and use the length of the result set as counter. This has the same performance as running a non-fully-indexed count which has to fetch all document data from the database and run a query matcher."}),"\n",(0,o.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,o.jsxs)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// get count manually once"})}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" resultSet"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" myCollection"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".find"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" selector"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" age"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" $regex"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'foobar'"})]}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"})"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".exec"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" count"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" resultSet"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"."}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"length"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// observe count manually"})}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" count$"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" myCollection"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".find"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" selector"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" age"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" $regex"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'foobar'"})]}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"})."}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"$"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".pipe"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" map"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(result "}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" result"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"."}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"length"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:")"})]}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:");"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"/**"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * To allow non-fully-indexed count queries,"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * you can also specify that by setting allowSlowCount=true"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * when creating the database."})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" database"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'mydatabase'"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" allowSlowCount"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" true"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // set this to true [default=false]"})]}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /* ... */"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,o.jsx)(n.h3,{id:"allowslowcount",children:(0,o.jsx)(n.code,{children:"allowSlowCount"})}),"\n",(0,o.jsxs)(n.p,{children:["To allow non-fully-indexed count queries, you can also specify that by setting ",(0,o.jsx)(n.code,{children:"allowSlowCount: true"})," when creating the database.\nDoing this is mostly not wanted, because it would run the counting on the storage without having the document stored in the RxDB document cache.\nThis is only recommended if the RxStorage is running remotely like in a WebWorker and you not always want to send the document-data between the worker and the main thread. In this case you might only need the count-result instead to save performance."]}),"\n",(0,o.jsx)(n.h2,{id:"rxquerys-are-immutable",children:"RxQuery's are immutable"}),"\n",(0,o.jsxs)(n.p,{children:["Because RxDB is a reactive database, we can do heavy performance-optimisation on query-results which change over time. To be able to do this, RxQuery's have to be immutable.\nThis means, when you have a ",(0,o.jsx)(n.code,{children:"RxQuery"})," and run a ",(0,o.jsx)(n.code,{children:".where()"})," on it, the original RxQuery-Object is not changed. Instead the where-function returns a new ",(0,o.jsx)(n.code,{children:"RxQuery"}),"-Object with the changed where-field. Keep this in mind if you create RxQuery's and change them afterwards."]}),"\n",(0,o.jsx)(n.p,{children:"Example:"}),"\n",(0,o.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"javascript","data-theme":"css-variables",children:(0,o.jsxs)(n.code,{"data-language":"javascript","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" queryObject"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" myCollection"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".find"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"()"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".where"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'age'"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:")"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".gt"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"18"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// Creates a new RxQuery object, does not modify previous one"})}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"queryObject"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".sort"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'name'"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" results"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" queryObject"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".exec"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"console"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".dir"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(results); "}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// result-documents are not sorted by name"})]}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" queryObjectSort"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" queryObject"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".sort"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'name'"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" results"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" queryObjectSort"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".exec"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"console"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".dir"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(results); "}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// result-documents are now sorted"})]})]})})}),"\n",(0,o.jsx)(n.h3,{id:"isrxquery",children:"isRxQuery"}),"\n",(0,o.jsx)(n.p,{children:"Returns true if the given object is an instance of RxQuery. Returns false if not."}),"\n",(0,o.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"js","data-theme":"css-variables",children:(0,o.jsx)(n.code,{"data-language":"js","data-theme":"css-variables",style:{display:"grid"},children:(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" is"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" isRxQuery"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(myObj);"})]})})})}),"\n",(0,o.jsx)(n.h2,{id:"design-decisions",children:"Design Decisions"}),"\n",(0,o.jsxs)(n.p,{children:["Like most other noSQL-Databases, RxDB uses the ",(0,o.jsx)(n.a,{href:"https://github.com/cloudant/mango",children:"mango-query-syntax"})," similar to MongoDB and others."]}),"\n",(0,o.jsxs)(n.ul,{children:["\n",(0,o.jsxs)(n.li,{children:["We use the JSON based Mango Query Syntax because:","\n",(0,o.jsxs)(n.ul,{children:["\n",(0,o.jsx)(n.li,{children:"Mango Queries work better with TypeScript compared to SQL strings."}),"\n",(0,o.jsx)(n.li,{children:"Mango Queries are composable and easy to transform by code without joining SQL strings."}),"\n",(0,o.jsx)(n.li,{children:"Queries can be run very fast and efficient with only a minimal query planer to plan the best indexes and operations."}),"\n",(0,o.jsxs)(n.li,{children:["NoSQL queries can be optimized with the ",(0,o.jsx)(n.a,{href:"https://github.com/pubkey/event-reduce",children:"EventReduce"})," algorithm to improve performance of observed and cached queries."]}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,o.jsx)(n.h2,{id:"faq",children:"FAQ"}),"\n",(0,o.jsxs)(s,{children:[(0,o.jsx)("summary",{children:"Can I specify which document fields are returned by an RxDB query?"}),(0,o.jsx)("div",{children:(0,o.jsx)(n.p,{children:"No, RxDB does not support partial document retrieval. Because RxDB is a client-side database with limited memory, it caches and de-duplicates entire documents across multiple queries. Even if you only need a few fields, most storages must still fetch the entire JSON data, so subselecting fields would not significantly improve performance. Therefore, RxDB always returns full documents. If you only need certain fields, you can filter them out in your application code or consider storing just the necessary data in a separate collection."})})]}),"\n",(0,o.jsxs)(s,{children:[(0,o.jsx)("summary",{children:"Why doesn't RxDB support aggregations on queries?"}),(0,o.jsx)("div",{children:(0,o.jsx)(n.p,{children:"RxDB runs entirely on the client side. Any \"aggregation\" or data processing you might do within RxDB would still happen in the same JavaScript environment as your application code. Therefore, there's no real performance advantage or difference between doing the aggregation in RxDB vs. doing it in your own code after fetching the data. As a result, RxDB doesn't provide built-in aggregation methods. Instead, just query the documents you need and perform any calculations directly in your app's code."})})]}),"\n",(0,o.jsxs)(s,{children:[(0,o.jsx)("summary",{children:"Why does RxDB not support cross-collection queries?"}),(0,o.jsx)("div",{children:(0,o.jsx)(n.p,{children:"RxDB is a client-side database and does not provide built-in cross-collection queries or transactions. Instead, you can execute multiple queries in your JavaScript code and combine their results as needed. Because everything runs in the same environment, this approach offers the same performance you would get if cross-collection queries were built in - without the added complexity."})})]}),"\n",(0,o.jsxs)(s,{children:[(0,o.jsx)("summary",{children:"Why Doesn't RxDB Support Case-Insensitive Search?"}),(0,o.jsxs)("div",{children:[(0,o.jsxs)(n.p,{children:["RxDB relies on various storage engines as its backend, and these storage engines generally do not support case-insensitive search natively, like ",(0,o.jsx)(n.a,{href:"/rx-storage-indexeddb.html",children:"IndexedDB"})," or ",(0,o.jsx)(n.a,{href:"/rx-storage-foundationdb.html",children:"FoundationDB"}),". This limitation arises from the design of these engines, which prioritize efficiency and flexibility for specific types of queries rather than universal features like case-insensitivity. Although RxDB does not offer built-in support for case-insensitive search, there are two common workarounds:"]}),(0,o.jsxs)(n.ul,{children:["\n",(0,o.jsxs)(n.li,{children:[(0,o.jsx)(n.strong,{children:"Store Data in a Meta-Field for Lowercase Search"}),": To enable case-insensitive search, you can store an additional field in your documents where the relevant text data is preprocessed and saved in lowercase."]}),"\n"]}),(0,o.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,o.jsxs)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" document"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'John Doe'"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" nameLowercase"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'john doe'"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // Meta-field"})]}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"};"})}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" myCollection"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".insert"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(document);"})]}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" query"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" myCollection"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".find"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" selector"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" nameLowercase"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" { $eq"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'john doe'"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})]}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),(0,o.jsxs)(n.ul,{children:["\n",(0,o.jsxs)(n.li,{children:[(0,o.jsx)(n.strong,{children:"Use a Regex Query"}),": Regular expressions can perform case-insensitive searches. For example:"]}),"\n"]}),(0,o.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,o.jsxs)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" query"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" myCollection"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".find"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" selector"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" { $regex"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" '^john doe$'"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" $options"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'i'"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" } "}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// Case-insensitive regex"})]}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),(0,o.jsx)(n.p,{children:"However, this method has a significant downside: regex queries often cannot leverage indexes efficiently. As a result, they may be slower, especially for large datasets."})]})]})]})}function h(e={}){const{wrapper:n}={...(0,i.R)(),...e.components};return n?(0,o.jsx)(n,{...e,children:(0,o.jsx)(d,{...e})}):d(e)}},8453(e,n,s){s.d(n,{R:()=>a,x:()=>l});var r=s(6540);const o={},i=r.createContext(o);function a(e){const n=r.useContext(i);return r.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function l(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:a(e.components),r.createElement(i.Provider,{value:n},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/3ebfb37f.f5f42f4c.js b/docs/assets/js/3ebfb37f.f5f42f4c.js
deleted file mode 100644
index acc975ddb3c..00000000000
--- a/docs/assets/js/3ebfb37f.f5f42f4c.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[205],{6700(a,e,s){s.r(e),s.d(e,{default:()=>r});var l=s(544),n=s(4848);function r(){return(0,l.default)({sem:{id:"gads",metaTitle:"The local Database for Angular Apps",appName:"Angular",title:(0,n.jsxs)(n.Fragment,{children:["The easiest way to ",(0,n.jsx)("b",{children:"store"})," and ",(0,n.jsx)("b",{children:"sync"})," Data in Angular"]}),iconUrl:"/files/icons/angular.svg"}})}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/401008a8.cfd81712.js b/docs/assets/js/401008a8.cfd81712.js
deleted file mode 100644
index ccc2415bc88..00000000000
--- a/docs/assets/js/401008a8.cfd81712.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[5219],{3156(e,s,r){r.r(s),r.d(s,{assets:()=>l,contentTitle:()=>t,default:()=>h,frontMatter:()=>i,metadata:()=>n,toc:()=>d});const n=JSON.parse('{"id":"nodejs-database","title":"RxDB - The Real-Time Database for Node.js","description":"Discover how RxDB brings flexible, reactive NoSQL to Node.js. Scale effortlessly, persist data, and power your server-side apps with ease.","source":"@site/docs/nodejs-database.md","sourceDirName":".","slug":"/nodejs-database.html","permalink":"/nodejs-database.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"RxDB - The Real-Time Database for Node.js","slug":"nodejs-database.html","description":"Discover how RxDB brings flexible, reactive NoSQL to Node.js. Scale effortlessly, persist data, and power your server-side apps with ease."},"sidebar":"tutorialSidebar","previous":{"title":"Downsides of Local First / Offline First","permalink":"/downsides-of-offline-first.html"},"next":{"title":"Local First / Offline First","permalink":"/offline-first.html"}}');var o=r(4848),a=r(8453);const i={title:"RxDB - The Real-Time Database for Node.js",slug:"nodejs-database.html",description:"Discover how RxDB brings flexible, reactive NoSQL to Node.js. Scale effortlessly, persist data, and power your server-side apps with ease."},t="Node.js Database",l={},d=[{value:"Persistent Database",id:"persistent-database",level:2},{value:"RxDB as Node.js In-Memory Database",id:"rxdb-as-nodejs-in-memory-database",level:2},{value:"Hybrid In-memory-persistence-synced storage",id:"hybrid-in-memory-persistence-synced-storage",level:2},{value:"Share database between microservices with RxDB",id:"share-database-between-microservices-with-rxdb",level:2},{value:"Follow up on RxDB+Node.js",id:"follow-up-on-rxdbnodejs",level:2}];function c(e){const s={a:"a",code:"code",figure:"figure",h1:"h1",h2:"h2",header:"header",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...(0,a.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(s.header,{children:(0,o.jsx)(s.h1,{id:"nodejs-database",children:"Node.js Database"})}),"\n",(0,o.jsxs)(s.p,{children:[(0,o.jsx)(s.a,{href:"https://rxdb.info",children:"RxDB"})," is a fast, reactive realtime NoSQL ",(0,o.jsx)(s.strong,{children:"database"})," made for ",(0,o.jsx)(s.strong,{children:"JavaScript"})," applications like Websites, hybrid Apps, ",(0,o.jsx)(s.a,{href:"/electron-database.html",children:"Electron-Apps"}),", Progressive Web Apps and ",(0,o.jsx)(s.strong,{children:"Node.js"}),". While RxDB was initially created to be used with UI applications, it has been matured and optimized to make it useful for pure server-side use cases. It can be used as embedded, local database inside of the Node.js JavaScript process, or it can be used similar to a database server that Node.js can connect to. The ",(0,o.jsx)(s.a,{href:"/rx-storage.html",children:"RxStorage"})," layer makes it possible to switch out the underlying storage engine which makes RxDB a very flexible database that can be optimized for many scenarios."]}),"\n",(0,o.jsx)("p",{align:"center",children:(0,o.jsx)("img",{src:"./files/icons/nodejs.svg",alt:"Node.js",width:"70"})}),"\n",(0,o.jsx)(s.h2,{id:"persistent-database",children:"Persistent Database"}),"\n",(0,o.jsxs)(s.p,{children:['To get a "normal" database connection where the data is persisted to a file system, the RxDB real time database provides multiple ',(0,o.jsx)(s.a,{href:"/rx-storage.html",children:"storage implementations"})," that work in Node.js."]}),"\n",(0,o.jsxs)(s.p,{children:["The ",(0,o.jsx)(s.a,{href:"/rx-storage-foundationdb.html",children:"FoundationDB"})," storage connects to a ",(0,o.jsx)(s.a,{href:"https://github.com/apple/foundationdb",children:"FoundationDB"})," cluster which itself is just a distributed key-value engine. RxDB adds the NoSQL query-engine, indexes and other features on top of it.\nIt scales horizontally because you can always add more servers to the FoundationDB cluster to increase the capacity.\nSetting up a RxDB database is pretty simple. You import the FoundationDB RxStorage and tell RxDB to use that when calling ",(0,o.jsx)(s.code,{children:"createRxDatabase"}),":"]}),"\n",(0,o.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"typescript","data-theme":"css-variables",children:(0,o.jsxs)(s.code,{"data-language":"typescript","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { createRxDatabase } "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { getRxStorageFoundationDB } "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/storage-foundationdb'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'exampledb'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageFoundationDB"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" apiVersion"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 620"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" clusterFile"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" '/path/to/fdb.cluster'"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" })"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// add a collection"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".addCollections"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" users"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" schema"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" mySchema"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// run a query"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" result"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"users"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".find"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" selector"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'foobar'"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"})"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".exec"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:" "})]})})}),"\n",(0,o.jsxs)(s.p,{children:["Another alternative storage is the ",(0,o.jsx)(s.a,{href:"/rx-storage-sqlite.html",children:"SQLite RxStorage"})," that stores the data inside of a SQLite filebased database. The SQLite storage is faster than FoundationDB and does not require to set up a cluster or anything because SQLite directly stores and reads the data inside of the filesystem. The downside of that is that it only scales vertically."]}),"\n",(0,o.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,o.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { createRxDatabase } "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" getRxStorageSQLite"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" getSQLiteBasicsNode"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb-premium/plugins/storage-sqlite'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" sqlite3 "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'sqlite3'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" myRxDatabase"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'path/to/database/file/foobar.db'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageSQLite"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" sqliteBasics"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getSQLiteBasicsNode"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(sqlite3)"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" })"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,o.jsxs)(s.p,{children:["Because the SQLite RxStorage is not free and you might not want to set up a FoundationDB cluster, there is also the option to use the ",(0,o.jsx)(s.a,{href:"/rx-storage-lokijs.html",children:"LokiJS RxStorage"})," together with the filesystem adapter. This will store the data as plain json in a file and load everything into memory on startup. This works great for small prototypes but it is not recommended to be used in production."]}),"\n",(0,o.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,o.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { createRxDatabase } "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" LokiFsStructuredAdapter"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" require"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'lokijs/src/loki-fs-structured-adapter.js'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { getRxStorageLoki } "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/storage-lokijs'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" sqlite3 "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'sqlite3'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" myRxDatabase"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'path/to/database/file/foobar.db'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageLoki"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" adapter"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" new"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" LokiFsStructuredAdapter"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"()"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" })"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,o.jsx)(s.p,{children:"Here is a performance comparison chart of the different storages (lower is better):"}),"\n",(0,o.jsx)("p",{align:"center",children:(0,o.jsx)("img",{src:"./files/rx-storage-performance-node.png",alt:"database performance - Node.js",width:"700"})}),"\n",(0,o.jsx)(s.h2,{id:"rxdb-as-nodejs-in-memory-database",children:"RxDB as Node.js In-Memory Database"}),"\n",(0,o.jsxs)(s.p,{children:["One of the easiest way to use RxDB in Node.js is to use the ",(0,o.jsx)(s.a,{href:"/rx-storage-memory.html",children:"Memory RxStorage"}),". As the name implies, it stores the data directly ",(0,o.jsx)(s.strong,{children:"in-memory"})," of the Node.js JavaScript process. This makes it really fast to read and write data but of course the data is not persisted and will be lost when the nodejs process exits. Often the in-memory option is used when RxDB is used in unit tests because it automatically cleans up everything afterwards."]}),"\n",(0,o.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,o.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { createRxDatabase } "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { getRxStorageMemory } "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/storage-memory'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'exampledb'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageMemory"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"()"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,o.jsxs)(s.p,{children:["Also notice that the ",(0,o.jsx)(s.a,{href:"https://medium.com/geekculture/node-js-default-memory-settings-3c0fe8a9ba1",children:"default memory limit"})," of Node.js is 4gb (might change of newer versions) so for bigger datasets you might want to increase the limit with the ",(0,o.jsx)(s.code,{children:"max-old-space-size"})," flag:"]}),"\n",(0,o.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"bash","data-theme":"css-variables",children:(0,o.jsxs)(s.code,{"data-language":"bash","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"# increase the Node.js memory limit to 8GB"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"node"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string)"},children:" --max-old-space-size=8192"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string)"},children:" index.js"})]})]})})}),"\n",(0,o.jsx)(s.h2,{id:"hybrid-in-memory-persistence-synced-storage",children:"Hybrid In-memory-persistence-synced storage"}),"\n",(0,o.jsxs)(s.p,{children:["If you want to have the performance of an ",(0,o.jsx)(s.strong,{children:"in-memory database"})," but require persistency of the data, you can use the ",(0,o.jsx)(s.a,{href:"/rx-storage-memory-mapped.html",children:"memory-mapped storage"}),". On database creation it will load all data into the memory and on writes it will first write the data into memory and later also write it to the persistent storage in the background. In the following example the FoundationDB storage is used, but any other RxStorage can be used as persistence layer."]}),"\n",(0,o.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"typescript","data-theme":"css-variables",children:(0,o.jsxs)(s.code,{"data-language":"typescript","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { createRxDatabase } "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { getRxStorageFoundationDB } "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/storage-foundationdb'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { getMemoryMappedRxStorage } "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb-premium/plugins/storage-memory-mapped'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'exampledb'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getMemoryMappedRxStorage"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageFoundationDB"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" apiVersion"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 620"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" clusterFile"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" '/path/to/fdb.cluster'"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" })"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" })"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,o.jsx)(s.p,{children:"While this approach gives you a database with great performance and persistent, it has two major downsides:"}),"\n",(0,o.jsxs)(s.ul,{children:["\n",(0,o.jsx)(s.li,{children:"The database size is limited to the memory size"}),"\n",(0,o.jsx)(s.li,{children:"Writes can be lost when the Node.js process exists between a write to the memory state and the background persisting."}),"\n"]}),"\n",(0,o.jsx)(s.h2,{id:"share-database-between-microservices-with-rxdb",children:"Share database between microservices with RxDB"}),"\n",(0,o.jsxs)(s.p,{children:["Using a local, embedded database in Node.js works great until you have to share the data with another Node.js process or another server at all.\nTo share the database state with other instances, RxDB provides two different methods. One is ",(0,o.jsx)(s.a,{href:"/replication.html",children:"replication"})," and the other is the ",(0,o.jsx)(s.a,{href:"/rx-storage-remote.html",children:"remote RxStorage"}),'.\nThe replication copies over the whole database set to other instances live-replicates all ongoing writes. This has the benefit of scaling better because each of your microservice will run queries on its own copy of the dataset.\nSometimes however you might not want to store the full dataset on each microservice. Then it is better to use the remote RxStorage and connect it to the "main" database. The remote storage will run all operations the main database and return the result to the calling database.']}),"\n",(0,o.jsx)(s.h2,{id:"follow-up-on-rxdbnodejs",children:"Follow up on RxDB+Node.js"}),"\n",(0,o.jsxs)(s.ul,{children:["\n",(0,o.jsxs)(s.li,{children:["Check out the ",(0,o.jsx)(s.a,{href:"https://github.com/pubkey/rxdb/tree/master/examples/node",children:"RxDB Nodejs example"}),"."]}),"\n",(0,o.jsxs)(s.li,{children:["If you haven't done yet, you should start learning about RxDB with the ",(0,o.jsx)(s.a,{href:"/quickstart.html",children:"Quickstart Tutorial"}),"."]}),"\n",(0,o.jsxs)(s.li,{children:["I created ",(0,o.jsx)(s.a,{href:"/alternatives.html",children:"a list of embedded JavaSCript databases"})," that you will help you to pick a database if you do not want to use RxDB."]}),"\n",(0,o.jsxs)(s.li,{children:["Check out the ",(0,o.jsx)(s.a,{href:"/rx-storage-mongodb.html",children:"MongoDB RxStorage"})," that uses MongoDB for the database connection from your Node.js application and runs the RxDB real time database on top of it."]}),"\n"]})]})}function h(e={}){const{wrapper:s}={...(0,a.R)(),...e.components};return s?(0,o.jsx)(s,{...e,children:(0,o.jsx)(c,{...e})}):c(e)}},8453(e,s,r){r.d(s,{R:()=>i,x:()=>t});var n=r(6540);const o={},a=n.createContext(o);function i(e){const s=n.useContext(a);return n.useMemo(function(){return"function"==typeof e?e(s):{...s,...e}},[s,e])}function t(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:i(e.components),n.createElement(a.Provider,{value:s},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/40b6398a.86580fca.js b/docs/assets/js/40b6398a.86580fca.js
deleted file mode 100644
index 020a8ae7b1f..00000000000
--- a/docs/assets/js/40b6398a.86580fca.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[9594],{3247(e,s,n){n.d(s,{g:()=>i});var r=n(4848);function i(e){const s=[];let n=null;return e.children.forEach(e=>{e.props.id?(n&&s.push(n),n={headline:e,paragraphs:[]}):n&&n.paragraphs.push(e)}),n&&s.push(n),(0,r.jsx)("div",{style:o.stepsContainer,children:s.map((e,s)=>(0,r.jsxs)("div",{style:o.stepWrapper,children:[(0,r.jsxs)("div",{style:o.stepIndicator,children:[(0,r.jsx)("div",{style:o.stepNumber,children:s+1}),(0,r.jsx)("div",{style:o.verticalLine})]}),(0,r.jsxs)("div",{style:o.stepContent,children:[(0,r.jsx)("div",{children:e.headline}),e.paragraphs.map((e,s)=>(0,r.jsx)("div",{style:o.item,children:e},s))]})]},s))})}const o={stepsContainer:{display:"flex",flexDirection:"column"},stepWrapper:{display:"flex",alignItems:"stretch",marginBottom:"1.5rem",position:"relative",minWidth:0},stepIndicator:{position:"relative",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"flex-start",width:"33px",marginRight:"1rem",minWidth:0},stepNumber:{width:"33px",height:"33px",borderRadius:"50%",backgroundColor:"var(--color-top)",color:"#fff",display:"flex",alignItems:"center",justifyContent:"center",fontWeight:"bold",marginTop:-4},verticalLine:{position:"absolute",top:29,bottom:"0",left:"50%",width:"1px",background:"linear-gradient(to bottom, var(--color-top) 0%, var(--color-top) 80%, rgba(0,0,0,0) 100%)",transform:"translateX(-50%)"},stepContent:{flex:1,minWidth:0,overflowWrap:"break-word"},item:{marginTop:"0.5rem"}}},6375(e,s,n){n.r(s),n.d(s,{assets:()=>p,contentTitle:()=>h,default:()=>j,frontMatter:()=>d,metadata:()=>r,toc:()=>x});const r=JSON.parse('{"id":"replication-supabase","title":"Supabase Replication Plugin for RxDB - Real-Time, Offline-First Sync","description":"Build real-time, offline-capable apps with RxDB + Supabase. Push/pull changes via PostgREST, stream updates with Realtime, and keep data in sync across devices.","source":"@site/docs/replication-supabase.md","sourceDirName":".","slug":"/replication-supabase.html","permalink":"/replication-supabase.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"Supabase Replication Plugin for RxDB - Real-Time, Offline-First Sync","slug":"replication-supabase.html","description":"Build real-time, offline-capable apps with RxDB + Supabase. Push/pull changes via PostgREST, stream updates with Realtime, and keep data in sync across devices."},"sidebar":"tutorialSidebar","previous":{"title":"MongoDB Replication","permalink":"/replication-mongodb.html"},"next":{"title":"NATS Replication","permalink":"/replication-nats.html"}}');var i=n(4848),o=n(8453),a=n(2636),l=n(3247),t=n(2271),c=n(7482);const d={title:"Supabase Replication Plugin for RxDB - Real-Time, Offline-First Sync",slug:"replication-supabase.html",description:"Build real-time, offline-capable apps with RxDB + Supabase. Push/pull changes via PostgREST, stream updates with Realtime, and keep data in sync across devices."},h="Supabase Replication Plugin for RxDB - Real-Time, Offline-First Sync",p={},x=[{value:"Key Features of the RxDB-Supabase Plugin",id:"key-features-of-the-rxdb-supabase-plugin",level:2},{value:"Architecture Overview",id:"architecture-overview",level:2},{value:"Setting up RxDB \u2194 Supabase Sync",id:"setting-up-rxdb--supabase-sync",level:2},{value:"Install Dependencies",id:"install-dependencies",level:3},{value:"Create a Supabase Project & Table",id:"create-a-supabase-project--table",level:3},{value:"Create an RxDB Database & Collection",id:"create-an-rxdb-database--collection",level:3},{value:"Create the Supabase Client",id:"create-the-supabase-client",level:3},{value:"Production",id:"production",level:4},{value:"Vite",id:"vite",level:4},{value:"Local Development",id:"local-development",level:4},{value:"Start Replication",id:"start-replication",level:3},{value:"Do other things with the replication state",id:"do-other-things-with-the-replication-state",level:3},{value:"Follow Up",id:"follow-up",level:2}];function k(e){const s={a:"a",admonition:"admonition",code:"code",figure:"figure",h1:"h1",h2:"h2",h3:"h3",h4:"h4",header:"header",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...(0,o.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s.header,{children:(0,i.jsx)(s.h1,{id:"supabase-replication-plugin-for-rxdb---real-time-offline-first-sync",children:"Supabase Replication Plugin for RxDB - Real-Time, Offline-First Sync"})}),"\n",(0,i.jsx)("p",{align:"center",children:(0,i.jsx)("img",{src:"./files/icons/supabase.svg",alt:"Supabase",height:"60",className:"img-padding img-in-text-right"})}),"\n",(0,i.jsxs)(s.p,{children:["The ",(0,i.jsx)(s.strong,{children:"Supabase Replication Plugin"})," for RxDB delivers seamless, two-way synchronization between your RxDB collections and a Supabase (Postgres) table. It uses ",(0,i.jsx)(s.strong,{children:"PostgREST"})," for pull/push and ",(0,i.jsx)(s.strong,{children:"Supabase Realtime"})," (logical replication) to stream live updates, so your data stays consistent across devices with first-class ",(0,i.jsx)(s.a,{href:"/articles/local-first-future.html",children:"local-first"}),", offline-ready support."]}),"\n",(0,i.jsxs)(s.p,{children:["Under the hood, the plugin is powered by the RxDB ",(0,i.jsx)(s.a,{href:"/replication.html",children:"Sync Engine"}),". It handles checkpointed incremental pulls, robust retry logic, and ",(0,i.jsx)(s.a,{href:"/transactions-conflicts-revisions.html",children:"conflict detection/resolution"})," for you. You focus on features\u2014RxDB takes care of sync."]}),"\n",(0,i.jsx)("center",{children:(0,i.jsx)(t.N,{videoId:"zBZgdTb-dns",title:"Supabase in 100 Seconds",duration:"2:36"})}),"\n",(0,i.jsx)(s.h2,{id:"key-features-of-the-rxdb-supabase-plugin",children:"Key Features of the RxDB-Supabase Plugin"}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Cloud Only Backend"}),": No self-hosted server required. Client devices directly sync with the Supabase Servers."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Two-way replication"})," between Supabase tables and RxDB ",(0,i.jsx)(s.a,{href:"/rx-collection.html",children:"collections"})]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Offline-first"})," with resumable, incremental sync"]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Live updates"})," via Supabase Realtime channels"]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Conflict resolution"})," handled by the ",(0,i.jsx)(s.a,{href:"/replication.html",children:"RxDB Sync Engine"})]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Works in browsers and Node.js"})," with ",(0,i.jsx)(s.code,{children:"@supabase/supabase-js"})]}),"\n"]}),"\n",(0,i.jsx)(s.h2,{id:"architecture-overview",children:"Architecture Overview"}),"\n",(0,i.jsx)(c.u,{showServer:!1,dbIcon:"/files/icons/supabase.svg",dbLabel:"Supabase"}),"\n",(0,i.jsx)("br",{}),"\n",(0,i.jsxs)(s.p,{children:["Clients connect ",(0,i.jsx)(s.strong,{children:"directly to Supabase"})," using the official JS client. The plugin:"]}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Pulls"})," documents over PostgREST using a checkpoint ",(0,i.jsx)(s.code,{children:"(modified, id)"})," and deterministic ordering."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Pushes"})," inserts/updates using optimistic concurrency guards."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Streams"})," new changes using Supabase Realtime so live replication stays up to date."]}),"\n"]}),"\n",(0,i.jsx)(s.admonition,{type:"note",children:(0,i.jsxs)(s.p,{children:["Because Supabase exposes Postgres over ",(0,i.jsx)(s.strong,{children:"HTTP/WebSocket"}),", you can safely replicate from browsers and mobile apps. Protect your data with ",(0,i.jsx)(s.strong,{children:"Row Level Security (RLS)"})," policies; use the ",(0,i.jsx)(s.strong,{children:"anon"})," key on clients and the ",(0,i.jsx)(s.strong,{children:"service role"})," key only on trusted servers."]})}),"\n",(0,i.jsx)(s.h2,{id:"setting-up-rxdb--supabase-sync",children:"Setting up RxDB \u2194 Supabase Sync"}),"\n",(0,i.jsxs)(l.g,{children:[(0,i.jsx)(s.h3,{id:"install-dependencies",children:"Install Dependencies"}),(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"bash","data-theme":"css-variables",children:(0,i.jsx)(s.code,{"data-language":"bash","data-theme":"css-variables",style:{display:"grid"},children:(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"npm"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string)"},children:" install"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string)"},children:" rxdb"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string)"},children:" @supabase/supabase-js"})]})})})}),(0,i.jsx)(s.h3,{id:"create-a-supabase-project--table",children:"Create a Supabase Project & Table"}),(0,i.jsx)(s.p,{children:"In your supabase project, create a new table. Ensure that:"}),(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsx)(s.li,{children:"The primary key must have the type text (Primary keys must always be strings in RxDB)"}),"\n",(0,i.jsxs)(s.li,{children:["You have an modified field which stores the last modification timestamp of a row (default is ",(0,i.jsx)(s.code,{children:"_modified"}),")"]}),"\n",(0,i.jsxs)(s.li,{children:['You have a boolean field which stores if a row should is "deleted". You should not hard-delete rows in Supabase, because clients would miss the deletion if they haven\'t been online at the deletion time. Instead, use a deleted ',(0,i.jsx)(s.code,{children:"boolean"})," to mark rows as deleted. This way all clients can still pull the deletion, and RxDB will hide the complexity on the client side."]}),"\n",(0,i.jsx)(s.li,{children:"Enable the realtime observation of writes to the table."}),"\n"]}),(0,i.jsx)(s.p,{children:'Here is an example for a "human" table:'}),(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"sql","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"sql","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"create"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" extension "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"if"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" not"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" exists"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" moddatetime "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"schema"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" extensions;"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"create"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" table"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:' "'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"public"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:'".'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:'"humans"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ("})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "passportId"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" text"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" primary key"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "firstName"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" text"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" not null"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "lastName"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" text"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" not null"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "age"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" integer"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:","})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "_deleted"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" boolean"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" DEFAULT"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" false "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"NOT NULL"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "_modified"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" timestamp with time zone"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" DEFAULT"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" now"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"() "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"NOT NULL"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"-- auto-update the _modified timestamp"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"CREATE"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" TRIGGER"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" update_modified_datetime"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" BEFORE"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" UPDATE"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ON"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" public.humans "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"FOR"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" EACH "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"ROW"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"EXECUTE"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" FUNCTION"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" extensions.moddatetime("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'_modified'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"-- add a table to the publication so we can subscribe to changes"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"alter"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" publication supabase_realtime "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"add"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" table"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "public"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"."}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:'"humans"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]})]})})}),(0,i.jsx)(s.h3,{id:"create-an-rxdb-database--collection",children:"Create an RxDB Database & Collection"}),(0,i.jsxs)(s.p,{children:["Create a normal RxDB database, then add a collection whose ",(0,i.jsx)(s.strong,{children:"schema mirrors your Supabase table"}),". The ",(0,i.jsx)(s.strong,{children:"primary key must match"})," (same column name and type), and fields should be ",(0,i.jsx)(s.strong,{children:"top-level simple types"})," (string/number/boolean). You don\u2019t need to model server internals: the plugin maps the server\u2019s _deleted flag to doc._deleted automatically, and _modified is optional in your schema (the plugin strips it on push and will include it on pull only if you define it). For browsers use a persistent storage like Localstorage or IndexedDB. For tests you can use the ",(0,i.jsx)(s.a,{href:"/rx-storage-memory.html",children:"in-memory storage"}),"."]}),(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// client"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { createRxDatabase } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/core'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { getRxStorageLocalstorage } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/storage-localstorage'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"export"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'mydb'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageLocalstorage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"()"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".addCollections"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" humans"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" schema"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" version"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 0"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" primaryKey"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'passportId'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'object'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" properties"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" passportId"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { type"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" maxLength"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 100"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" firstName"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { type"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" lastName"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { type"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" age"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { type"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'number'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" required"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ["}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'passportId'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'firstName'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'lastName'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"]"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),(0,i.jsx)(s.h3,{id:"create-the-supabase-client",children:"Create the Supabase Client"}),(0,i.jsx)(s.p,{children:"Make a single Supabase client and reuse it across your app. In the browser, use the anon key (RLS-protected). On trusted servers you may use the service role key\u2014but never ship that to clients."}),(0,i.jsxs)(a.t,{children:[(0,i.jsx)(s.h4,{id:"production",children:"Production"}),(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"//> client"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { createClient } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" '@supabase/supabase-js'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"export"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" supabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createClient"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'https://xyzcompany.supabase.co'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'eyJhbGciOi...'"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})})]})})}),(0,i.jsx)(s.h4,{id:"vite",children:"Vite"}),(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"//> client"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { createClient } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" '@supabase/supabase-js'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"export"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" supabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createClient"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"."}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"meta"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"."}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"env"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"."}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"VITE_SUPABASE_URL"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"!"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // e.g. https://xyzcompany.supabase.co"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"."}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"meta"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"."}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"env"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"."}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"VITE_SUPABASE_ANON_KEY"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"!"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // anon key for browsers"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // optional options object here"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})})]})})}),(0,i.jsx)(s.h4,{id:"local-development",children:"Local Development"}),(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"//> client"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { createClient } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" '@supabase/supabase-js'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"export"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" supabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createClient"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'http://127.0.0.1:54321'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...'"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})})]})})})]}),(0,i.jsx)(s.h3,{id:"start-replication",children:"Start Replication"}),(0,i.jsx)(s.p,{children:"Connect your RxDB collection to the Supabase table to start the replication."}),(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"//> client"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { replicateSupabase } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/replication-supabase'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" replication"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" replicateSupabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" tableName"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'humans'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" client"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" supabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" collection"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".humans"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" replicationIdentifier"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'humans-supabase'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" live"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" true"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" pull"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" batchSize"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 50"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // optional: shape incoming docs"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" modifier"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" (doc) "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // map nullable age-field"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" if"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"!"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"doc"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".age) "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"delete"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" doc"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".age;"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" doc;"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // optional: customize the pull query before fetching"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" queryBuilder: ({ query }) "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // Add filters, joins, or other PostgREST query modifiers"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // This runs before checkpoint filtering and ordering"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" query"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".eq"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:'"status"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "active"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" push"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" batchSize"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 50"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // optional overrides if your column names differ:"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // modifiedField: '_modified',"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // deletedField: '_deleted'"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// (optional) observe errors and wait for the first sync barrier"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"replication"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"error$"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".subscribe"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(err "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" console"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".error"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'[replication]'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" err));"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" replication"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".awaitInitialReplication"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]})]})})}),(0,i.jsx)(s.admonition,{title:"Nullable values must be mapped",type:"note",children:(0,i.jsxs)(s.p,{children:["Supabase returns ",(0,i.jsx)(s.code,{children:"null"})," for nullable columns, but in RxDB you often model those fields as optional (i.e., they can be undefined/missing). To avoid schema errors, map ",(0,i.jsx)(s.code,{children:"null"})," \u2192 ",(0,i.jsx)(s.code,{children:"undefined"})," in the ",(0,i.jsx)(s.code,{children:"pull.modifier"})," (usually by deleting the key)."]})}),(0,i.jsx)(s.h3,{id:"do-other-things-with-the-replication-state",children:"Do other things with the replication state"}),(0,i.jsxs)(s.p,{children:["The ",(0,i.jsx)(s.code,{children:"RxSupabaseReplicationState"})," which is returned from ",(0,i.jsx)(s.code,{children:"replicateSupabase()"})," allows you to run all functionality of the normal ",(0,i.jsx)(s.a,{href:"/replication.html",children:"RxReplicationState"}),"."]})]}),"\n",(0,i.jsx)(s.h2,{id:"follow-up",children:"Follow Up"}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Replication API Reference:"})," Learn the core concepts and lifecycle hooks \u2014 ",(0,i.jsx)(s.a,{href:"/replication.html",children:"Replication"})]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Offline-First Guide:"})," Caching, retries, and conflict strategies \u2014 ",(0,i.jsx)(s.a,{href:"/articles/local-first-future.html",children:"Local-First"})]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Supabase Essentials:"}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:["Row Level Security (RLS) \u2014 ",(0,i.jsx)(s.a,{href:"https://supabase.com/docs/guides/auth/row-level-security",children:"https://supabase.com/docs/guides/auth/row-level-security"})]}),"\n",(0,i.jsxs)(s.li,{children:["Realtime \u2014 ",(0,i.jsx)(s.a,{href:"https://supabase.com/docs/guides/realtime",children:"https://supabase.com/docs/guides/realtime"})]}),"\n",(0,i.jsxs)(s.li,{children:["Local dev with the Supabase CLI \u2014 ",(0,i.jsx)(s.a,{href:"https://supabase.com/docs/guides/cli",children:"https://supabase.com/docs/guides/cli"})]}),"\n"]}),"\n"]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Community:"})," Questions or feedback? Join our Discord \u2014 ",(0,i.jsx)(s.a,{href:"./chat",children:"Chat"})]}),"\n"]})]})}function j(e={}){const{wrapper:s}={...(0,o.R)(),...e.components};return s?(0,i.jsx)(s,{...e,children:(0,i.jsx)(k,{...e})}):k(e)}},7482(e,s,n){n.d(s,{u:()=>i});n(6540);var r=n(4848);function i({className:e="",style:s,clientLabels:n=["Client A","Client B","Client C"],serverLabel:i="RxServer",dbLabel:o="Backend",dbIcon:a="",showServer:l=!0}){const t="/files/logo/logo.svg",c=l?{}:{gridColumn:"2 / 5",width:"90%",marginLeft:"5%",marginRight:0};return(0,r.jsxs)("div",{className:`rxdb-diagram ${e}`,style:s,children:[(0,r.jsx)("style",{children:'\n .rxdb-diagram {\n padding-top: 20px;\n padding-bottom: 20px;\n box-sizing: border-box;\n color: inherit;\n width: 100%;\n max-width: 100%;\n overflow: hidden;\n margin: 0 auto;\n font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI",\n Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";\n }\n\n /* Stage keeps fixed aspect ratio and scales */\n .rxdb-diagram .stage {\n width: 100%;\n aspect-ratio: 816 / 336;\n position: relative;\n }\n\n /* Grid fills the stage completely */\n .rxdb-diagram .grid {\n position: absolute;\n inset: 0;\n display: grid;\n grid-template-columns:\n 26.960784% 5.882353% 31.862745% 5.882353% 29.411765%;\n grid-template-rows:\n 23.809524% 14.285714% 23.809524% 14.285714% 23.809524%;\n align-items: center;\n justify-items: stretch;\n }\n\n .rxdb-diagram {\n --stroke: clamp(1px, 0.35vmin, 2px);\n --radius: clamp(8px, 1.2vmin, 14px);\n --pad: clamp(8px, 1.2vmin, 18px);\n --line: currentColor;\n }\n\n .rxdb-diagram .logo {\n height: 1.2em;\n width: auto;\n display: inline-block;\n object-fit: contain;\n margin-right: 10px;\n }\n\n .rxdb-diagram .box {\n border: var(--stroke) dashed var(--line);\n border-radius: var(--radius);\n background: transparent;\n display: flex;\n align-items: center;\n justify-content: center;\n text-align: center;\n font-weight: 600;\n padding: var(--pad);\n line-height: 1.2;\n user-select: none;\n }\n\n /* Server and DB take full height of stage */\n .rxdb-diagram .server,\n .rxdb-diagram .db {\n grid-row: 1 / -1;\n height: 100%;\n }\n\n /* Horizontal arrows */\n .rxdb-diagram .arrow {\n position: relative;\n height: 0;\n border-top: var(--stroke) solid var(--line);\n width: calc(100% - 20%);\n margin-left: 10%;\n margin-right: -1.5%;\n }\n\n .rxdb-diagram .arrow::before,\n .rxdb-diagram .arrow::after {\n content: "";\n position: absolute;\n top: 50%;\n width: clamp(6px, 1.2vmin, 10px);\n height: clamp(6px, 1.2vmin, 10px);\n border-top: var(--stroke) solid var(--line);\n border-right: var(--stroke) solid var(--line);\n transform-origin: center;\n }\n .rxdb-diagram .arrow::before {\n left: 0;\n transform: translate(-0%, -60%) rotate(-135deg);\n }\n .rxdb-diagram .arrow::after {\n right: 0;\n transform: translate(0%, -60%) rotate(45deg);\n }\n '}),(0,r.jsx)("div",{className:"stage","aria-label":l?"Clients to RxServer to MongoDB diagram":"Clients to MongoDB diagram",children:(0,r.jsxs)("div",{className:"grid",children:[(0,r.jsxs)("div",{className:"box",style:{gridColumn:1,gridRow:1},children:[(0,r.jsx)("img",{src:t,alt:"",className:"logo","aria-hidden":!0}),n[0]||"Client A"]}),(0,r.jsx)("div",{className:"arrow",style:{gridColumn:l?2:c.gridColumn,gridRow:1,...l?{}:{width:"90%",marginLeft:"5%",marginRight:0}},"aria-hidden":!0}),l&&(0,r.jsxs)("div",{className:"box server",style:{gridColumn:3},children:[(0,r.jsx)("img",{src:t,alt:"",className:"logo","aria-hidden":!0}),i]}),l&&(0,r.jsx)("div",{className:"arrow",style:{gridColumn:4,gridRow:3},"aria-hidden":!0}),(0,r.jsxs)("div",{className:"box db",style:{gridColumn:5},children:[(0,r.jsx)("img",{src:a,alt:"",className:"logo","aria-hidden":!0}),o]}),(0,r.jsxs)("div",{className:"box",style:{gridColumn:1,gridRow:3},children:[(0,r.jsx)("img",{src:t,alt:"",className:"logo","aria-hidden":!0}),n[1]||"Client B"]}),(0,r.jsx)("div",{className:"arrow",style:{gridColumn:l?2:c.gridColumn,gridRow:3,...l?{}:{width:"90%",marginLeft:"5%",marginRight:0}},"aria-hidden":!0}),(0,r.jsxs)("div",{className:"box",style:{gridColumn:1,gridRow:5},children:[(0,r.jsx)("img",{src:t,alt:"",className:"logo","aria-hidden":!0}),n[2]||"Client C"]}),(0,r.jsx)("div",{className:"arrow",style:{gridColumn:l?2:c.gridColumn,gridRow:5,...l?{}:{width:"90%",marginLeft:"5%",marginRight:0}},"aria-hidden":!0})]})})]})}},8453(e,s,n){n.d(s,{R:()=>a,x:()=>l});var r=n(6540);const i={},o=r.createContext(i);function a(e){const s=r.useContext(o);return r.useMemo(function(){return"function"==typeof e?e(s):{...s,...e}},[s,e])}function l(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:a(e.components),r.createElement(o.Provider,{value:s},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/41f941a1.b03616ab.js b/docs/assets/js/41f941a1.b03616ab.js
deleted file mode 100644
index 5d7c3f4a8e2..00000000000
--- a/docs/assets/js/41f941a1.b03616ab.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[5966],{2447(e,s,n){n.r(s),n.d(s,{assets:()=>t,contentTitle:()=>l,default:()=>h,frontMatter:()=>o,metadata:()=>r,toc:()=>c});const r=JSON.parse('{"id":"leader-election","title":"Leader Election","description":"RxDB comes with a leader-election which elects a leading instance between different instances in the same javascript runtime.","source":"@site/docs/leader-election.md","sourceDirName":".","slug":"/leader-election.html","permalink":"/leader-election.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"Leader Election","slug":"leader-election.html"},"sidebar":"tutorialSidebar","previous":{"title":"Backup","permalink":"/backup.html"},"next":{"title":"Middleware","permalink":"/middleware.html"}}');var i=n(4848),a=n(8453);const o={title:"Leader Election",slug:"leader-election.html"},l="Leader-Election",t={},c=[{value:"Use-case-example",id:"use-case-example",level:2},{value:"Solution",id:"solution",level:2},{value:"Add the leader election plugin",id:"add-the-leader-election-plugin",level:2},{value:"Code-example",id:"code-example",level:2},{value:"Handle Duplicate Leaders",id:"handle-duplicate-leaders",level:2},{value:"Live-Example",id:"live-example",level:2},{value:"Try it out",id:"try-it-out",level:2},{value:"Notice",id:"notice",level:2}];function d(e){const s={a:"a",code:"code",figure:"figure",h1:"h1",h2:"h2",header:"header",p:"p",pre:"pre",span:"span",strong:"strong",...(0,a.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s.header,{children:(0,i.jsx)(s.h1,{id:"leader-election",children:"Leader-Election"})}),"\n",(0,i.jsx)(s.p,{children:"RxDB comes with a leader-election which elects a leading instance between different instances in the same javascript runtime.\nBefore you read this, please check out on how many of your open browser-tabs you have opened the same website more than once. Count them, I will wait.."}),"\n",(0,i.jsx)(s.p,{children:"So if you would now inspect the traffic that these open tabs produce, you can see that many of them send exact the same data over wire for every tab. No matter if the data is sent with an open websocket or by polling."}),"\n",(0,i.jsx)(s.h2,{id:"use-case-example",children:"Use-case-example"}),"\n",(0,i.jsx)(s.p,{children:"Imagine we have a website which displays the current temperature of the visitors location in various charts, numbers or heatmaps. To always display the live-data, the website opens a websocket to our API-Server which sends the current temperature every 10 seconds. Using the way most sites are currently build, we can now open it in 5 browser-tabs and it will open 5 websockets which send data 6*5=30 times per minute. This will not only waste the power of your clients device, but also wastes your api-servers resources by opening redundant connections."}),"\n",(0,i.jsx)(s.h2,{id:"solution",children:"Solution"}),"\n",(0,i.jsxs)(s.p,{children:["The solution to this redundancy is the usage of a ",(0,i.jsx)(s.a,{href:"https://en.wikipedia.org/wiki/Leader_election",children:"leader-election"}),"-algorithm which makes sure that always exactly one tab is managing the remote-data-access. The managing tab is the elected leader and stays leader until it is closed. No matter how many tabs are opened or closed, there must be always exactly ",(0,i.jsx)(s.strong,{children:"one"})," leader.\nYou could now start implementing a messaging-system between your browser-tabs, hand out which one is leader, solve conflicts and reassign a new leader when the old one 'dies'.\nOr just use RxDB which does all these things for you."]}),"\n",(0,i.jsx)(s.h2,{id:"add-the-leader-election-plugin",children:"Add the leader election plugin"}),"\n",(0,i.jsxs)(s.p,{children:["To enable the leader election, you have to add the ",(0,i.jsx)(s.code,{children:"leader-election"})," plugin."]}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"javascript","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"javascript","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { addRxPlugin } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { RxDBLeaderElectionPlugin } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/leader-election'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"addRxPlugin"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(RxDBLeaderElectionPlugin);"})]})]})})}),"\n",(0,i.jsx)(s.h2,{id:"code-example",children:"Code-example"}),"\n",(0,i.jsx)(s.p,{children:"To make it easy, here is an example where the temperature is pulled every ten seconds and saved to a collection. The pulling starts at the moment where the opened tab becomes the leader."}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"javascript","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"javascript","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { getRxStorageLocalstorage } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/storage-localstorage'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'weatherDB'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageLocalstorage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"()"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" password"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'myPassword'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" multiInstance"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" true"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".addCollections"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" temperature"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" schema"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" mySchema"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".waitForLeadership"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"()"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" .then"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(() "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" console"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".log"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'Long lives the king!'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"); "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// <- runs when db becomes leader"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" setInterval"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"async"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" () "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" temp"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" fetch"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'https://example.com/api/temp/'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"temperature"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".insert"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" degrees"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" temp"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" time"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" new"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" Date"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"()"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".getTime"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"()"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" });"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 1000"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" *"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 10"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" });"})})]})})}),"\n",(0,i.jsx)(s.h2,{id:"handle-duplicate-leaders",children:"Handle Duplicate Leaders"}),"\n",(0,i.jsxs)(s.p,{children:["On rare occasions, it can happen that ",(0,i.jsx)(s.a,{href:"https://github.com/pubkey/broadcast-channel/blob/master/.github/README.md#handle-duplicate-leaders",children:"more than one leader"})," is elected. This can happen when the CPU is on 100% or for any other reason the JavaScript process is fully blocked for a long time.\nFor most cases this is not really problem because on duplicate leaders, both browser tabs replicate with the same backend anyways.\nTo handle the duplicate leader event, you can access the leader elector and set a handler:"]}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" getLeaderElectorByBroadcastChannel"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/leader-election'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" leaderElector"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getLeaderElectorByBroadcastChannel"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(broadcastChannel);"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"leaderElector"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"."}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"onduplicate"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" async"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" () "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // Duplicate leader detected -> reload the page."})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" location"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".reload"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"}"})})]})})}),"\n",(0,i.jsx)(s.h2,{id:"live-example",children:"Live-Example"}),"\n",(0,i.jsx)(s.p,{children:"In this example the leader is marked with the crown \u265b"}),"\n",(0,i.jsx)("p",{align:"center",children:(0,i.jsx)("img",{src:"./files/leader-election.gif",alt:"Leader Election",width:"300"})}),"\n",(0,i.jsx)(s.h2,{id:"try-it-out",children:"Try it out"}),"\n",(0,i.jsxs)(s.p,{children:["Run the ",(0,i.jsx)(s.a,{href:"https://github.com/pubkey/rxdb/tree/master/examples/angular",children:"angular-example"})," where the leading tab is marked with a crown on the top-right-corner."]}),"\n",(0,i.jsx)(s.h2,{id:"notice",children:"Notice"}),"\n",(0,i.jsxs)(s.p,{children:["The leader election is implemented via the ",(0,i.jsx)(s.a,{href:"https://github.com/pubkey/broadcast-channel#using-the-leaderelection",children:"broadcast-channel module"}),".\nThe leader is elected between different processes on the same javascript-runtime. Like multiple tabs in the same browser or multiple NodeJs-processes on the same machine. It will not run between different replicated instances."]})]})}function h(e={}){const{wrapper:s}={...(0,a.R)(),...e.components};return s?(0,i.jsx)(s,{...e,children:(0,i.jsx)(d,{...e})}):d(e)}},8453(e,s,n){n.d(s,{R:()=>o,x:()=>l});var r=n(6540);const i={},a=r.createContext(i);function o(e){const s=r.useContext(a);return r.useMemo(function(){return"function"==typeof e?e(s):{...s,...e}},[s,e])}function l(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:o(e.components),r.createElement(a.Provider,{value:s},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/4250.a201ce1c.js b/docs/assets/js/4250.a201ce1c.js
deleted file mode 100644
index d3ad9561d0f..00000000000
--- a/docs/assets/js/4250.a201ce1c.js
+++ /dev/null
@@ -1,2 +0,0 @@
-/*! For license information please see 4250.a201ce1c.js.LICENSE.txt */
-(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[4250],{392(e,t,n){"use strict";var i=n(6220),r=n(1622),s=n(6766);e.exports=function(e,t,n,o){var a=s(e.as._ua);if(a&&a[0]>=3&&a[1]>20&&((t=t||{}).additionalUA="autocomplete.js "+r),!n.source)return i.error("Missing 'source' key");var u=i.isFunction(n.source)?n.source:function(e){return e[n.source]};if(!n.index)return i.error("Missing 'index' key");var c=n.index;return o=o||{},function(a,l){e.search(a,t,function(e,a){if(e)i.error(e.message);else{if(a.hits.length>0){var h=a.hits[0],p=i.mixin({hitsPerPage:0},n);delete p.source,delete p.index;var f=s(c.as._ua);return f&&f[0]>=3&&f[1]>20&&(t.additionalUA="autocomplete.js "+r),void c.search(u(h),p,function(e,t){if(e)i.error(e.message);else{var n=[];if(o.includeAll){var r=o.allTitle||"All departments";n.push(i.mixin({facet:{value:r,count:t.nbHits}},i.cloneDeep(h)))}i.each(t.facets,function(e,t){i.each(e,function(e,r){n.push(i.mixin({facet:{facet:t,value:r,count:e}},i.cloneDeep(h)))})});for(var s=1;s1)for(var n=1;n=3&&n[1]>20&&((t=t||{}).additionalUA="autocomplete.js "+r),function(n,r){e.search(n,t,function(e,t){e?i.error(e.message):r(t.hits,t)})}}},1622(e){e.exports="0.37.0"},1805(e,t,n){"use strict";var i=n(874),r=/\s+/;function s(e,t,n,i){var s;if(!n)return this;for(t=t.split(r),n=i?function(e,t){return e.bind?e.bind(t):function(){e.apply(t,[].slice.call(arguments,0))}}(n,i):n,this._callbacks=this._callbacks||{};s=t.shift();)this._callbacks[s]=this._callbacks[s]||{sync:[],async:[]},this._callbacks[s][e].push(n);return this}function o(e,t,n){return function(){for(var i,r=0,s=e.length;!i&&r'),this.$menu.append(this.$empty),this.$empty.hide()),this.datasets=i.map(e.datasets,function(t){return function(e,t,n){return new u.Dataset(i.mixin({$menu:e,cssClasses:n},t))}(o.$menu,t,e.cssClasses)}),i.each(this.datasets,function(e){var t=e.getRoot();t&&0===t.parent().length&&o.$menu.append(t),e.onSync("rendered",o._onRendered,o)}),e.templates&&e.templates.footer&&(this.templates.footer=i.templatify(e.templates.footer),this.$menu.append(this.templates.footer()));var l=this;r.element(window).resize(function(){l._redraw()})}i.mixin(u.prototype,s,{_onSuggestionClick:function(e){this.trigger("suggestionClicked",r.element(e.currentTarget))},_onSuggestionMouseEnter:function(e){var t=r.element(e.currentTarget);if(!t.hasClass(i.className(this.cssClasses.prefix,this.cssClasses.cursor,!0))){this._removeCursor();var n=this;setTimeout(function(){n._setCursor(t,!1)},0)}},_onSuggestionMouseLeave:function(e){if(e.relatedTarget&&r.element(e.relatedTarget).closest("."+i.className(this.cssClasses.prefix,this.cssClasses.cursor,!0)).length>0)return;this._removeCursor(),this.trigger("cursorRemoved")},_onRendered:function(e,t){if(this.isEmpty=i.every(this.datasets,function(e){return e.isEmpty()}),this.isEmpty)if(t.length>=this.minLength&&this.trigger("empty"),this.$empty)if(t.length=this.minLength?this._show():this._hide());this.trigger("datasetRendered")},_hide:function(){this.$container.hide()},_show:function(){this.$container.css("display","block"),this._redraw(),this.trigger("shown")},_redraw:function(){this.isOpen&&this.appendTo&&this.trigger("redrawn")},_getSuggestions:function(){return this.$menu.find(i.className(this.cssClasses.prefix,this.cssClasses.suggestion))},_getCursor:function(){return this.$menu.find(i.className(this.cssClasses.prefix,this.cssClasses.cursor)).first()},_setCursor:function(e,t){e.first().addClass(i.className(this.cssClasses.prefix,this.cssClasses.cursor,!0)).attr("aria-selected","true"),this.trigger("cursorMoved",t)},_removeCursor:function(){this._getCursor().removeClass(i.className(this.cssClasses.prefix,this.cssClasses.cursor,!0)).removeAttr("aria-selected")},_moveCursor:function(e){var t,n,i,r;this.isOpen&&(n=this._getCursor(),t=this._getSuggestions(),this._removeCursor(),-1!==(i=((i=t.index(n)+e)+1)%(t.length+1)-1)?(i<-1&&(i=t.length-1),this._setCursor(r=t.eq(i),!0),this._ensureVisible(r)):this.trigger("cursorRemoved"))},_ensureVisible:function(e){var t,n,i,r;n=(t=e.position().top)+e.height()+parseInt(e.css("margin-top"),10)+parseInt(e.css("margin-bottom"),10),i=this.$menu.scrollTop(),r=this.$menu.height()+parseInt(this.$menu.css("padding-top"),10)+parseInt(this.$menu.css("padding-bottom"),10),t<0?this.$menu.scrollTop(i+t):r]*>/,m=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,y=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,v=/^(?:body|html)$/i,x=/([A-Z])/g,b=["val","css","html","text","data","width","height","offset"],w=["after","prepend","before","append"],S=h.createElement("table"),C=h.createElement("tr"),E={tr:h.createElement("tbody"),tbody:S,thead:S,tfoot:S,td:C,th:C,"*":h.createElement("div")},T=/complete|loaded|interactive/,k=/^[\w-]*$/,_={},O=_.toString,A={},P=h.createElement("div"),L={tabindex:"tabIndex",readonly:"readOnly",for:"htmlFor",class:"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},Q=Array.isArray||function(e){return e instanceof Array};function I(e){return null==e?String(e):_[O.call(e)]||"object"}function N(e){return"function"==I(e)}function $(e){return null!=e&&e==e.window}function D(e){return null!=e&&e.nodeType==e.DOCUMENT_NODE}function R(e){return"object"==I(e)}function F(e){return R(e)&&!$(e)&&Object.getPrototypeOf(e)==Object.prototype}function j(e){var t=!!e&&"length"in e&&e.length,n=i.type(e);return"function"!=n&&!$(e)&&("array"==n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function M(e){return c.call(e,function(e){return null!=e})}function V(e){return e.length>0?i.fn.concat.apply([],e):e}function B(e){return e.replace(/::/g,"/").replace(/([A-Z]+)([A-Z][a-z])/g,"$1_$2").replace(/([a-z\d])([A-Z])/g,"$1_$2").replace(/_/g,"-").toLowerCase()}function q(e){return e in f?f[e]:f[e]=new RegExp("(^|\\s)"+e+"(\\s|$)")}function z(e,t){return"number"!=typeof t||d[B(e)]?t:t+"px"}function H(e){var t,n;return p[e]||(t=h.createElement(e),h.body.appendChild(t),n=getComputedStyle(t,"").getPropertyValue("display"),t.parentNode.removeChild(t),"none"==n&&(n="block"),p[e]=n),p[e]}function K(e){return"children"in e?l.call(e.children):i.map(e.childNodes,function(e){if(1==e.nodeType)return e})}function W(e,t){var n,i=e?e.length:0;for(n=0;n$2>")),n===t&&(n=g.test(e)&&RegExp.$1),n in E||(n="*"),(a=E[n]).innerHTML=""+e,s=i.each(l.call(a.childNodes),function(){a.removeChild(this)})),F(r)&&(o=i(s),i.each(r,function(e,t){b.indexOf(e)>-1?o[e](t):o.attr(e,t)})),s},A.Z=function(e,t){return new W(e,t)},A.isZ=function(e){return e instanceof A.Z},A.init=function(e,n){var r;if(!e)return A.Z();if("string"==typeof e)if("<"==(e=e.trim())[0]&&g.test(e))r=A.fragment(e,RegExp.$1,n),e=null;else{if(n!==t)return i(n).find(e);r=A.qsa(h,e)}else{if(N(e))return i(h).ready(e);if(A.isZ(e))return e;if(Q(e))r=M(e);else if(R(e))r=[e],e=null;else if(g.test(e))r=A.fragment(e.trim(),RegExp.$1,n),e=null;else{if(n!==t)return i(n).find(e);r=A.qsa(h,e)}}return A.Z(r,e)},(i=function(e,t){return A.init(e,t)}).extend=function(e){var t,n=l.call(arguments,1);return"boolean"==typeof e&&(t=e,e=n.shift()),n.forEach(function(n){U(e,n,t)}),e},A.qsa=function(e,t){var n,i="#"==t[0],r=!i&&"."==t[0],s=i||r?t.slice(1):t,o=k.test(s);return e.getElementById&&o&&i?(n=e.getElementById(s))?[n]:[]:1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType?[]:l.call(o&&!i&&e.getElementsByClassName?r?e.getElementsByClassName(s):e.getElementsByTagName(t):e.querySelectorAll(t))},i.contains=h.documentElement.contains?function(e,t){return e!==t&&e.contains(t)}:function(e,t){for(;t&&(t=t.parentNode);)if(t===e)return!0;return!1},i.type=I,i.isFunction=N,i.isWindow=$,i.isArray=Q,i.isPlainObject=F,i.isEmptyObject=function(e){var t;for(t in e)return!1;return!0},i.isNumeric=function(e){var t=Number(e),n=typeof e;return null!=e&&"boolean"!=n&&("string"!=n||e.length)&&!isNaN(t)&&isFinite(t)||!1},i.inArray=function(e,t,n){return a.indexOf.call(t,e,n)},i.camelCase=s,i.trim=function(e){return null==e?"":String.prototype.trim.call(e)},i.uuid=0,i.support={},i.expr={},i.noop=function(){},i.map=function(e,t){var n,i,r,s=[];if(j(e))for(i=0;i=0?e:e+this.length]},toArray:function(){return this.get()},size:function(){return this.length},remove:function(){return this.each(function(){null!=this.parentNode&&this.parentNode.removeChild(this)})},each:function(e){return a.every.call(this,function(t,n){return!1!==e.call(t,n,t)}),this},filter:function(e){return N(e)?this.not(this.not(e)):i(c.call(this,function(t){return A.matches(t,e)}))},add:function(e,t){return i(o(this.concat(i(e,t))))},is:function(e){return this.length>0&&A.matches(this[0],e)},not:function(e){var n=[];if(N(e)&&e.call!==t)this.each(function(t){e.call(this,t)||n.push(this)});else{var r="string"==typeof e?this.filter(e):j(e)&&N(e.item)?l.call(e):i(e);this.forEach(function(e){r.indexOf(e)<0&&n.push(e)})}return i(n)},has:function(e){return this.filter(function(){return R(e)?i.contains(this,e):i(this).find(e).size()})},eq:function(e){return-1===e?this.slice(e):this.slice(e,+e+1)},first:function(){var e=this[0];return e&&!R(e)?e:i(e)},last:function(){var e=this[this.length-1];return e&&!R(e)?e:i(e)},find:function(e){var t=this;return e?"object"==typeof e?i(e).filter(function(){var e=this;return a.some.call(t,function(t){return i.contains(t,e)})}):1==this.length?i(A.qsa(this[0],e)):this.map(function(){return A.qsa(this,e)}):i()},closest:function(e,t){var n=[],r="object"==typeof e&&i(e);return this.each(function(i,s){for(;s&&!(r?r.indexOf(s)>=0:A.matches(s,e));)s=s!==t&&!D(s)&&s.parentNode;s&&n.indexOf(s)<0&&n.push(s)}),i(n)},parents:function(e){for(var t=[],n=this;n.length>0;)n=i.map(n,function(e){if((e=e.parentNode)&&!D(e)&&t.indexOf(e)<0)return t.push(e),e});return G(t,e)},parent:function(e){return G(o(this.pluck("parentNode")),e)},children:function(e){return G(this.map(function(){return K(this)}),e)},contents:function(){return this.map(function(){return this.contentDocument||l.call(this.childNodes)})},siblings:function(e){return G(this.map(function(e,t){return c.call(K(t.parentNode),function(e){return e!==t})}),e)},empty:function(){return this.each(function(){this.innerHTML=""})},pluck:function(e){return i.map(this,function(t){return t[e]})},show:function(){return this.each(function(){"none"==this.style.display&&(this.style.display=""),"none"==getComputedStyle(this,"").getPropertyValue("display")&&(this.style.display=H(this.nodeName))})},replaceWith:function(e){return this.before(e).remove()},wrap:function(e){var t=N(e);if(this[0]&&!t)var n=i(e).get(0),r=n.parentNode||this.length>1;return this.each(function(s){i(this).wrapAll(t?e.call(this,s):r?n.cloneNode(!0):n)})},wrapAll:function(e){if(this[0]){var t;for(i(this[0]).before(e=i(e));(t=e.children()).length;)e=t.first();i(e).append(this)}return this},wrapInner:function(e){var t=N(e);return this.each(function(n){var r=i(this),s=r.contents(),o=t?e.call(this,n):e;s.length?s.wrapAll(o):r.append(o)})},unwrap:function(){return this.parent().each(function(){i(this).replaceWith(i(this).children())}),this},clone:function(){return this.map(function(){return this.cloneNode(!0)})},hide:function(){return this.css("display","none")},toggle:function(e){return this.each(function(){var n=i(this);(e===t?"none"==n.css("display"):e)?n.show():n.hide()})},prev:function(e){return i(this.pluck("previousElementSibling")).filter(e||"*")},next:function(e){return i(this.pluck("nextElementSibling")).filter(e||"*")},html:function(e){return 0 in arguments?this.each(function(t){var n=this.innerHTML;i(this).empty().append(Z(this,e,t,n))}):0 in this?this[0].innerHTML:null},text:function(e){return 0 in arguments?this.each(function(t){var n=Z(this,e,t,this.textContent);this.textContent=null==n?"":""+n}):0 in this?this.pluck("textContent").join(""):null},attr:function(e,i){var r;return"string"!=typeof e||1 in arguments?this.each(function(t){if(1===this.nodeType)if(R(e))for(n in e)X(this,n,e[n]);else X(this,e,Z(this,i,t,this.getAttribute(e)))}):0 in this&&1==this[0].nodeType&&null!=(r=this[0].getAttribute(e))?r:t},removeAttr:function(e){return this.each(function(){1===this.nodeType&&e.split(" ").forEach(function(e){X(this,e)},this)})},prop:function(e,t){return e=L[e]||e,1 in arguments?this.each(function(n){this[e]=Z(this,t,n,this[e])}):this[0]&&this[0][e]},removeProp:function(e){return e=L[e]||e,this.each(function(){delete this[e]})},data:function(e,n){var i="data-"+e.replace(x,"-$1").toLowerCase(),r=1 in arguments?this.attr(i,n):this.attr(i);return null!==r?Y(r):t},val:function(e){return 0 in arguments?(null==e&&(e=""),this.each(function(t){this.value=Z(this,e,t,this.value)})):this[0]&&(this[0].multiple?i(this[0]).find("option").filter(function(){return this.selected}).pluck("value"):this[0].value)},offset:function(t){if(t)return this.each(function(e){var n=i(this),r=Z(this,t,e,n.offset()),s=n.offsetParent().offset(),o={top:r.top-s.top,left:r.left-s.left};"static"==n.css("position")&&(o.position="relative"),n.css(o)});if(!this.length)return null;if(h.documentElement!==this[0]&&!i.contains(h.documentElement,this[0]))return{top:0,left:0};var n=this[0].getBoundingClientRect();return{left:n.left+e.pageXOffset,top:n.top+e.pageYOffset,width:Math.round(n.width),height:Math.round(n.height)}},css:function(e,t){if(arguments.length<2){var r=this[0];if("string"==typeof e){if(!r)return;return r.style[s(e)]||getComputedStyle(r,"").getPropertyValue(e)}if(Q(e)){if(!r)return;var o={},a=getComputedStyle(r,"");return i.each(e,function(e,t){o[t]=r.style[s(t)]||a.getPropertyValue(t)}),o}}var u="";if("string"==I(e))t||0===t?u=B(e)+":"+z(e,t):this.each(function(){this.style.removeProperty(B(e))});else for(n in e)e[n]||0===e[n]?u+=B(n)+":"+z(n,e[n])+";":this.each(function(){this.style.removeProperty(B(n))});return this.each(function(){this.style.cssText+=";"+u})},index:function(e){return e?this.indexOf(i(e)[0]):this.parent().children().indexOf(this[0])},hasClass:function(e){return!!e&&a.some.call(this,function(e){return this.test(J(e))},q(e))},addClass:function(e){return e?this.each(function(t){if("className"in this){r=[];var n=J(this);Z(this,e,t,n).split(/\s+/g).forEach(function(e){i(this).hasClass(e)||r.push(e)},this),r.length&&J(this,n+(n?" ":"")+r.join(" "))}}):this},removeClass:function(e){return this.each(function(n){if("className"in this){if(e===t)return J(this,"");r=J(this),Z(this,e,n,r).split(/\s+/g).forEach(function(e){r=r.replace(q(e)," ")}),J(this,r.trim())}})},toggleClass:function(e,n){return e?this.each(function(r){var s=i(this);Z(this,e,r,J(this)).split(/\s+/g).forEach(function(e){(n===t?!s.hasClass(e):n)?s.addClass(e):s.removeClass(e)})}):this},scrollTop:function(e){if(this.length){var n="scrollTop"in this[0];return e===t?n?this[0].scrollTop:this[0].pageYOffset:this.each(n?function(){this.scrollTop=e}:function(){this.scrollTo(this.scrollX,e)})}},scrollLeft:function(e){if(this.length){var n="scrollLeft"in this[0];return e===t?n?this[0].scrollLeft:this[0].pageXOffset:this.each(n?function(){this.scrollLeft=e}:function(){this.scrollTo(e,this.scrollY)})}},position:function(){if(this.length){var e=this[0],t=this.offsetParent(),n=this.offset(),r=v.test(t[0].nodeName)?{top:0,left:0}:t.offset();return n.top-=parseFloat(i(e).css("margin-top"))||0,n.left-=parseFloat(i(e).css("margin-left"))||0,r.top+=parseFloat(i(t[0]).css("border-top-width"))||0,r.left+=parseFloat(i(t[0]).css("border-left-width"))||0,{top:n.top-r.top,left:n.left-r.left}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent||h.body;e&&!v.test(e.nodeName)&&"static"==i(e).css("position");)e=e.offsetParent;return e})}},i.fn.detach=i.fn.remove,["width","height"].forEach(function(e){var n=e.replace(/./,function(e){return e[0].toUpperCase()});i.fn[e]=function(r){var s,o=this[0];return r===t?$(o)?o["inner"+n]:D(o)?o.documentElement["scroll"+n]:(s=this.offset())&&s[e]:this.each(function(t){(o=i(this)).css(e,Z(this,r,t,o[e]()))})}}),w.forEach(function(n,r){var s=r%2;i.fn[n]=function(){var n,o,a=i.map(arguments,function(e){var r=[];return"array"==(n=I(e))?(e.forEach(function(e){return e.nodeType!==t?r.push(e):i.zepto.isZ(e)?r=r.concat(e.get()):void(r=r.concat(A.fragment(e)))}),r):"object"==n||null==e?e:A.fragment(e)}),u=this.length>1;return a.length<1?this:this.each(function(t,n){o=s?n:n.parentNode,n=0==r?n.nextSibling:1==r?n.firstChild:2==r?n:null;var c=i.contains(h.documentElement,o);a.forEach(function(t){if(u)t=t.cloneNode(!0);else if(!o)return i(t).remove();o.insertBefore(t,n),c&&ee(t,function(t){if(!(null==t.nodeName||"SCRIPT"!==t.nodeName.toUpperCase()||t.type&&"text/javascript"!==t.type||t.src)){var n=t.ownerDocument?t.ownerDocument.defaultView:e;n.eval.call(n,t.innerHTML)}})})})},i.fn[s?n+"To":"insert"+(r?"Before":"After")]=function(e){return i(e)[n](this),this}}),A.Z.prototype=W.prototype=i.fn,A.uniq=o,A.deserializeValue=Y,i.zepto=A,i}();return function(t){var n,i=1,r=Array.prototype.slice,s=t.isFunction,o=function(e){return"string"==typeof e},a={},u={},c="onfocusin"in e,l={focus:"focusin",blur:"focusout"},h={mouseenter:"mouseover",mouseleave:"mouseout"};function p(e){return e._zid||(e._zid=i++)}function f(e,t,n,i){if((t=d(t)).ns)var r=g(t.ns);return(a[p(e)]||[]).filter(function(e){return e&&(!t.e||e.e==t.e)&&(!t.ns||r.test(e.ns))&&(!n||p(e.fn)===p(n))&&(!i||e.sel==i)})}function d(e){var t=(""+e).split(".");return{e:t[0],ns:t.slice(1).sort().join(" ")}}function g(e){return new RegExp("(?:^| )"+e.replace(" "," .* ?")+"(?: |$)")}function m(e,t){return e.del&&!c&&e.e in l||!!t}function y(e){return h[e]||c&&l[e]||e}function v(e,i,r,s,o,u,c){var l=p(e),f=a[l]||(a[l]=[]);i.split(/\s/).forEach(function(i){if("ready"==i)return t(document).ready(r);var a=d(i);a.fn=r,a.sel=o,a.e in h&&(r=function(e){var n=e.relatedTarget;if(!n||n!==this&&!t.contains(this,n))return a.fn.apply(this,arguments)}),a.del=u;var l=u||r;a.proxy=function(t){if(!(t=E(t)).isImmediatePropagationStopped()){try{var i=Object.getOwnPropertyDescriptor(t,"data");i&&!i.writable||(t.data=s)}catch(t){}var r=l.apply(e,t._args==n?[t]:[t].concat(t._args));return!1===r&&(t.preventDefault(),t.stopPropagation()),r}},a.i=f.length,f.push(a),"addEventListener"in e&&e.addEventListener(y(a.e),a.proxy,m(a,c))})}function x(e,t,n,i,r){var s=p(e);(t||"").split(/\s/).forEach(function(t){f(e,t,n,i).forEach(function(t){delete a[s][t.i],"removeEventListener"in e&&e.removeEventListener(y(t.e),t.proxy,m(t,r))})})}u.click=u.mousedown=u.mouseup=u.mousemove="MouseEvents",t.event={add:v,remove:x},t.proxy=function(e,n){var i=2 in arguments&&r.call(arguments,2);if(s(e)){var a=function(){return e.apply(n,i?i.concat(r.call(arguments)):arguments)};return a._zid=p(e),a}if(o(n))return i?(i.unshift(e[n],e),t.proxy.apply(null,i)):t.proxy(e[n],e);throw new TypeError("expected function")},t.fn.bind=function(e,t,n){return this.on(e,t,n)},t.fn.unbind=function(e,t){return this.off(e,t)},t.fn.one=function(e,t,n,i){return this.on(e,t,n,i,1)};var b=function(){return!0},w=function(){return!1},S=/^([A-Z]|returnValue$|layer[XY]$|webkitMovement[XY]$)/,C={preventDefault:"isDefaultPrevented",stopImmediatePropagation:"isImmediatePropagationStopped",stopPropagation:"isPropagationStopped"};function E(e,i){return!i&&e.isDefaultPrevented||(i||(i=e),t.each(C,function(t,n){var r=i[t];e[t]=function(){return this[n]=b,r&&r.apply(i,arguments)},e[n]=w}),e.timeStamp||(e.timeStamp=Date.now()),(i.defaultPrevented!==n?i.defaultPrevented:"returnValue"in i?!1===i.returnValue:i.getPreventDefault&&i.getPreventDefault())&&(e.isDefaultPrevented=b)),e}function T(e){var t,i={originalEvent:e};for(t in e)S.test(t)||e[t]===n||(i[t]=e[t]);return E(i,e)}t.fn.delegate=function(e,t,n){return this.on(t,e,n)},t.fn.undelegate=function(e,t,n){return this.off(t,e,n)},t.fn.live=function(e,n){return t(document.body).delegate(this.selector,e,n),this},t.fn.die=function(e,n){return t(document.body).undelegate(this.selector,e,n),this},t.fn.on=function(e,i,a,u,c){var l,h,p=this;return e&&!o(e)?(t.each(e,function(e,t){p.on(e,i,a,t,c)}),p):(o(i)||s(u)||!1===u||(u=a,a=i,i=n),u!==n&&!1!==a||(u=a,a=n),!1===u&&(u=w),p.each(function(n,s){c&&(l=function(e){return x(s,e.type,u),u.apply(this,arguments)}),i&&(h=function(e){var n,o=t(e.target).closest(i,s).get(0);if(o&&o!==s)return n=t.extend(T(e),{currentTarget:o,liveFired:s}),(l||u).apply(o,[n].concat(r.call(arguments,1)))}),v(s,e,u,a,i,h||l)}))},t.fn.off=function(e,i,r){var a=this;return e&&!o(e)?(t.each(e,function(e,t){a.off(e,i,t)}),a):(o(i)||s(r)||!1===r||(r=i,i=n),!1===r&&(r=w),a.each(function(){x(this,e,r,i)}))},t.fn.trigger=function(e,n){return(e=o(e)||t.isPlainObject(e)?t.Event(e):E(e))._args=n,this.each(function(){e.type in l&&"function"==typeof this[e.type]?this[e.type]():"dispatchEvent"in this?this.dispatchEvent(e):t(this).triggerHandler(e,n)})},t.fn.triggerHandler=function(e,n){var i,r;return this.each(function(s,a){(i=T(o(e)?t.Event(e):e))._args=n,i.target=a,t.each(f(a,e.type||e),function(e,t){if(r=t.proxy(i),i.isImmediatePropagationStopped())return!1})}),r},"focusin focusout focus blur load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select keydown keypress keyup error".split(" ").forEach(function(e){t.fn[e]=function(t){return 0 in arguments?this.bind(e,t):this.trigger(e)}}),t.Event=function(e,t){o(e)||(e=(t=e).type);var n=document.createEvent(u[e]||"Events"),i=!0;if(t)for(var r in t)"bubbles"==r?i=!!t[r]:n[r]=t[r];return n.initEvent(e,i,!0),E(n)}}(i),n=[],i.fn.remove=function(){return this.each(function(){this.parentNode&&("IMG"===this.tagName&&(n.push(this),this.src="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=",t&&clearTimeout(t),t=setTimeout(function(){n=[]},6e4)),this.parentNode.removeChild(this))})},function(e){var t={},n=e.fn.data,i=e.camelCase,r=e.expando="Zepto"+ +new Date,s=[];function o(s,o){var u=s[r],c=u&&t[u];if(void 0===o)return c||a(s);if(c){if(o in c)return c[o];var l=i(o);if(l in c)return c[l]}return n.call(e(s),o)}function a(n,s,o){var a=n[r]||(n[r]=++e.uuid),c=t[a]||(t[a]=u(n));return void 0!==s&&(c[i(s)]=o),c}function u(t){var n={};return e.each(t.attributes||s,function(t,r){0==r.name.indexOf("data-")&&(n[i(r.name.replace("data-",""))]=e.zepto.deserializeValue(r.value))}),n}e.fn.data=function(t,n){return void 0===n?e.isPlainObject(t)?this.each(function(n,i){e.each(t,function(e,t){a(i,e,t)})}):0 in this?o(this[0],t):void 0:this.each(function(){a(this,t,n)})},e.data=function(t,n,i){return e(t).data(n,i)},e.hasData=function(n){var i=n[r],s=i&&t[i];return!!s&&!e.isEmptyObject(s)},e.fn.removeData=function(n){return"string"==typeof n&&(n=n.split(/\s+/)),this.each(function(){var s=this[r],o=s&&t[s];o&&e.each(n||o,function(e){delete o[n?i(this):e]})})},["remove","empty"].forEach(function(t){var n=e.fn[t];e.fn[t]=function(){var e=this.find("*");return"remove"===t&&(e=e.add(this)),e.removeData(),n.call(this)}})}(i),i}(t)},3718(e){"use strict";e.exports={element:null}},4045(e,t,n){"use strict";var i=n(6220),r=n(3718);function s(e){e&&e.el||i.error("EventBus initialized without el"),this.$el=r.element(e.el)}i.mixin(s.prototype,{trigger:function(e,t,n,r){var s=i.Event("autocomplete:"+e);return this.$el.trigger(s,[t,n,r]),s}}),e.exports=s},4498(e,t,n){"use strict";e.exports=n(5275)},4499(e){"use strict";e.exports={wrapper:'',dropdown:'',dataset:'',suggestions:'',suggestion:''}},4710(e,t,n){"use strict";e.exports={hits:n(1242),popularIn:n(392)}},4714(e,t,n){var i=n(9110);i.Template=n(9549).Template,i.template=i.Template,e.exports=i},5275(e,t,n){"use strict";var i=n(3704);n(3718).element=i;var r=n(6220);r.isArray=i.isArray,r.isFunction=i.isFunction,r.isObject=i.isPlainObject,r.bind=i.proxy,r.each=function(e,t){i.each(e,function(e,n){return t(n,e)})},r.map=i.map,r.mixin=i.extend,r.Event=i.Event;var s="aaAutocomplete",o=n(8693),a=n(4045);function u(e,t,n,u){n=r.isArray(n)?n:[].slice.call(arguments,2);var c=i(e).each(function(e,r){var c=i(r),l=new a({el:c}),h=u||new o({input:c,eventBus:l,dropdownMenuContainer:t.dropdownMenuContainer,hint:void 0===t.hint||!!t.hint,minLength:t.minLength,autoselect:t.autoselect,autoselectOnBlur:t.autoselectOnBlur,tabAutocomplete:t.tabAutocomplete,openOnFocus:t.openOnFocus,templates:t.templates,debug:t.debug,clearOnSelected:t.clearOnSelected,cssClasses:t.cssClasses,datasets:n,keyboardShortcuts:t.keyboardShortcuts,appendTo:t.appendTo,autoWidth:t.autoWidth,ariaLabel:t.ariaLabel||r.getAttribute("aria-label")});c.data(s,h)});return c.autocomplete={},r.each(["open","close","getVal","setVal","destroy","getWrapper"],function(e){c.autocomplete[e]=function(){var t,n=arguments;return c.each(function(r,o){var a=i(o).data(s);t=a[e].apply(a,n)}),t}}),c}u.sources=o.sources,u.escapeHighlightedString=r.escapeHighlightedString;var c="autocomplete"in window,l=window.autocomplete;u.noConflict=function(){return c?window.autocomplete=l:delete window.autocomplete,u},e.exports=u},5723(e,t){"use strict";t.test=function(){return"document"in globalThis&&"onreadystatechange"in globalThis.document.createElement("script")},t.install=function(e){return function(){var t=globalThis.document.createElement("script");return t.onreadystatechange=function(){e(),t.onreadystatechange=null,t.parentNode.removeChild(t),t=null},globalThis.document.documentElement.appendChild(t),e}}},6220(e,t,n){"use strict";var i,r=n(3718);function s(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}e.exports={isArray:null,isFunction:null,isObject:null,bind:null,each:null,map:null,mixin:null,isMsie:function(e){if(void 0===e&&(e=navigator.userAgent),/(msie|trident)/i.test(e)){var t=e.match(/(msie |rv:)(\d+(.\d+)?)/i);if(t)return t[2]}return!1},escapeRegExChars:function(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},isNumber:function(e){return"number"==typeof e},toStr:function(e){return null==e?"":e+""},cloneDeep:function(e){var t=this.mixin({},e),n=this;return this.each(t,function(e,i){e&&(n.isArray(e)?t[i]=[].concat(e):n.isObject(e)&&(t[i]=n.cloneDeep(e)))}),t},error:function(e){throw new Error(e)},every:function(e,t){var n=!0;return e?(this.each(e,function(i,r){n&&(n=t.call(null,i,r,e)&&n)}),!!n):n},any:function(e,t){var n=!1;return e?(this.each(e,function(i,r){if(t.call(null,i,r,e))return n=!0,!1}),n):n},getUniqueId:(i=0,function(){return i++}),templatify:function(e){if(this.isFunction(e))return e;var t=r.element(e);return"SCRIPT"===t.prop("tagName")?function(){return t.text()}:function(){return String(e)}},defer:function(e){setTimeout(e,0)},noop:function(){},formatPrefix:function(e,t){return t?"":e+"-"},className:function(e,t,n){return(n?"":".")+e+t},escapeHighlightedString:function(e,t,n){t=t||"";var i=document.createElement("div");i.appendChild(document.createTextNode(t)),n=n||"";var r=document.createElement("div");r.appendChild(document.createTextNode(n));var o=document.createElement("div");return o.appendChild(document.createTextNode(e)),o.innerHTML.replace(RegExp(s(i.innerHTML),"g"),t).replace(RegExp(s(r.innerHTML),"g"),n)}}},6345(e,t){"use strict";t.test=function(){return!0},t.install=function(e){return function(){setTimeout(e,0)}}},6486(e,t){"use strict";t.test=function(){return!globalThis.setImmediate&&void 0!==globalThis.MessageChannel},t.install=function(e){var t=new globalThis.MessageChannel;return t.port1.onmessage=e,function(){t.port2.postMessage(0)}}},6766(e){"use strict";e.exports=function(e){var t=e.match(/Algolia for vanilla JavaScript (\d+\.)(\d+\.)(\d+)/);if(t)return[t[1],t[2],t[3]]}},7748(e,t,n){"use strict";var i;i={9:"tab",27:"esc",37:"left",39:"right",13:"enter",38:"up",40:"down"};var r=n(6220),s=n(3718),o=n(1805);function a(e){var t,n,o,a,u,c=this;(e=e||{}).input||r.error("input is missing"),t=r.bind(this._onBlur,this),n=r.bind(this._onFocus,this),o=r.bind(this._onKeydown,this),a=r.bind(this._onInput,this),this.$hint=s.element(e.hint),this.$input=s.element(e.input).on("blur.aa",t).on("focus.aa",n).on("keydown.aa",o),0===this.$hint.length&&(this.setHint=this.getHint=this.clearHint=this.clearHintIfInvalid=r.noop),r.isMsie()?this.$input.on("keydown.aa keypress.aa cut.aa paste.aa",function(e){i[e.which||e.keyCode]||r.defer(r.bind(c._onInput,c,e))}):this.$input.on("input.aa",a),this.query=this.$input.val(),this.$overflowHelper=(u=this.$input,s.element('').css({position:"absolute",visibility:"hidden",whiteSpace:"pre",fontFamily:u.css("font-family"),fontSize:u.css("font-size"),fontStyle:u.css("font-style"),fontVariant:u.css("font-variant"),fontWeight:u.css("font-weight"),wordSpacing:u.css("word-spacing"),letterSpacing:u.css("letter-spacing"),textIndent:u.css("text-indent"),textRendering:u.css("text-rendering"),textTransform:u.css("text-transform")}).insertAfter(u))}function u(e){return e.altKey||e.ctrlKey||e.metaKey||e.shiftKey}a.normalizeQuery=function(e){return(e||"").replace(/^\s*/g,"").replace(/\s{2,}/g," ")},r.mixin(a.prototype,o,{_onBlur:function(){this.resetInputValue(),this.$input.removeAttr("aria-activedescendant"),this.trigger("blurred")},_onFocus:function(){this.trigger("focused")},_onKeydown:function(e){var t=i[e.which||e.keyCode];this._managePreventDefault(t,e),t&&this._shouldTrigger(t,e)&&this.trigger(t+"Keyed",e)},_onInput:function(){this._checkInputValue()},_managePreventDefault:function(e,t){var n,i,r;switch(e){case"tab":i=this.getHint(),r=this.getInputValue(),n=i&&i!==r&&!u(t);break;case"up":case"down":n=!u(t);break;default:n=!1}n&&t.preventDefault()},_shouldTrigger:function(e,t){var n;if("tab"===e)n=!u(t);else n=!0;return n},_checkInputValue:function(){var e,t,n,i,r;e=this.getInputValue(),i=e,r=this.query,n=!(!(t=a.normalizeQuery(i)===a.normalizeQuery(r))||!this.query)&&this.query.length!==e.length,this.query=e,t?n&&this.trigger("whitespaceChanged",this.query):this.trigger("queryChanged",this.query)},focus:function(){this.$input.focus()},blur:function(){this.$input.blur()},getQuery:function(){return this.query},setQuery:function(e){this.query=e},getInputValue:function(){return this.$input.val()},setInputValue:function(e,t){void 0===e&&(e=this.query),this.$input.val(e),t?this.clearHint():this._checkInputValue()},expand:function(){this.$input.attr("aria-expanded","true")},collapse:function(){this.$input.attr("aria-expanded","false")},setActiveDescendant:function(e){this.$input.attr("aria-activedescendant",e)},removeActiveDescendant:function(){this.$input.removeAttr("aria-activedescendant")},resetInputValue:function(){this.setInputValue(this.query,!0)},getHint:function(){return this.$hint.val()},setHint:function(e){this.$hint.val(e)},clearHint:function(){this.setHint("")},clearHintIfInvalid:function(){var e,t,n;n=(e=this.getInputValue())!==(t=this.getHint())&&0===t.indexOf(e),""!==e&&n&&!this.hasOverflow()||this.clearHint()},getLanguageDirection:function(){return(this.$input.css("direction")||"ltr").toLowerCase()},hasOverflow:function(){var e=this.$input.width()-2;return this.$overflowHelper.text(this.getInputValue()),this.$overflowHelper.width()>=e},isCursorAtEnd:function(){var e,t,n;return e=this.$input.val().length,t=this.$input[0].selectionStart,r.isNumber(t)?t===e:!document.selection||((n=document.selection.createRange()).moveStart("character",-e),e===n.text.length)},destroy:function(){this.$hint.off(".aa"),this.$input.off(".aa"),this.$hint=this.$input=this.$overflowHelper=null}}),e.exports=a},8291(e,t,n){var i,r;!function(){var s,o,a,u,c,l,h,p,f,d,g,m,y,v,x,b,w,S,C,E,T,k,_,O,A,P,L,Q,I,N,$=function(e){var t=new $.Builder;return t.pipeline.add($.trimmer,$.stopWordFilter,$.stemmer),t.searchPipeline.add($.stemmer),e.call(t,t),t.build()};$.version="2.3.9",$.utils={},$.utils.warn=(s=this,function(e){s.console&&console.warn&&console.warn(e)}),$.utils.asString=function(e){return null==e?"":e.toString()},$.utils.clone=function(e){if(null==e)return e;for(var t=Object.create(null),n=Object.keys(e),i=0;i0){var u=$.utils.clone(t)||{};u.position=[o,a],u.index=r.length,r.push(new $.Token(n.slice(o,s),u))}o=s+1}}return r},$.tokenizer.separator=/[\s\-]+/,$.Pipeline=function(){this._stack=[]},$.Pipeline.registeredFunctions=Object.create(null),$.Pipeline.registerFunction=function(e,t){t in this.registeredFunctions&&$.utils.warn("Overwriting existing registered function: "+t),e.label=t,$.Pipeline.registeredFunctions[e.label]=e},$.Pipeline.warnIfFunctionNotRegistered=function(e){e.label&&e.label in this.registeredFunctions||$.utils.warn("Function is not registered with pipeline. This may cause problems when serialising the index.\n",e)},$.Pipeline.load=function(e){var t=new $.Pipeline;return e.forEach(function(e){var n=$.Pipeline.registeredFunctions[e];if(!n)throw new Error("Cannot load unregistered function: "+e);t.add(n)}),t},$.Pipeline.prototype.add=function(){Array.prototype.slice.call(arguments).forEach(function(e){$.Pipeline.warnIfFunctionNotRegistered(e),this._stack.push(e)},this)},$.Pipeline.prototype.after=function(e,t){$.Pipeline.warnIfFunctionNotRegistered(t);var n=this._stack.indexOf(e);if(-1==n)throw new Error("Cannot find existingFn");n+=1,this._stack.splice(n,0,t)},$.Pipeline.prototype.before=function(e,t){$.Pipeline.warnIfFunctionNotRegistered(t);var n=this._stack.indexOf(e);if(-1==n)throw new Error("Cannot find existingFn");this._stack.splice(n,0,t)},$.Pipeline.prototype.remove=function(e){var t=this._stack.indexOf(e);-1!=t&&this._stack.splice(t,1)},$.Pipeline.prototype.run=function(e){for(var t=this._stack.length,n=0;n1&&(se&&(n=r),s!=e);)i=n-t,r=t+Math.floor(i/2),s=this.elements[2*r];return s==e||s>e?2*r:sa?c+=2:o==a&&(t+=n[u+1]*i[c+1],u+=2,c+=2);return t},$.Vector.prototype.similarity=function(e){return this.dot(e)/this.magnitude()||0},$.Vector.prototype.toArray=function(){for(var e=new Array(this.elements.length/2),t=1,n=0;t0){var s,o=r.str.charAt(0);o in r.node.edges?s=r.node.edges[o]:(s=new $.TokenSet,r.node.edges[o]=s),1==r.str.length&&(s.final=!0),i.push({node:s,editsRemaining:r.editsRemaining,str:r.str.slice(1)})}if(0!=r.editsRemaining){if("*"in r.node.edges)var a=r.node.edges["*"];else{a=new $.TokenSet;r.node.edges["*"]=a}if(0==r.str.length&&(a.final=!0),i.push({node:a,editsRemaining:r.editsRemaining-1,str:r.str}),r.str.length>1&&i.push({node:r.node,editsRemaining:r.editsRemaining-1,str:r.str.slice(1)}),1==r.str.length&&(r.node.final=!0),r.str.length>=1){if("*"in r.node.edges)var u=r.node.edges["*"];else{u=new $.TokenSet;r.node.edges["*"]=u}1==r.str.length&&(u.final=!0),i.push({node:u,editsRemaining:r.editsRemaining-1,str:r.str.slice(1)})}if(r.str.length>1){var c,l=r.str.charAt(0),h=r.str.charAt(1);h in r.node.edges?c=r.node.edges[h]:(c=new $.TokenSet,r.node.edges[h]=c),1==r.str.length&&(c.final=!0),i.push({node:c,editsRemaining:r.editsRemaining-1,str:l+r.str.slice(2)})}}}return n},$.TokenSet.fromString=function(e){for(var t=new $.TokenSet,n=t,i=0,r=e.length;i=e;t--){var n=this.uncheckedNodes[t],i=n.child.toString();i in this.minimizedNodes?n.parent.edges[n.char]=this.minimizedNodes[i]:(n.child._str=i,this.minimizedNodes[i]=n.child),this.uncheckedNodes.pop()}},$.Index=function(e){this.invertedIndex=e.invertedIndex,this.fieldVectors=e.fieldVectors,this.tokenSet=e.tokenSet,this.fields=e.fields,this.pipeline=e.pipeline},$.Index.prototype.search=function(e){return this.query(function(t){new $.QueryParser(e,t).parse()})},$.Index.prototype.query=function(e){for(var t=new $.Query(this.fields),n=Object.create(null),i=Object.create(null),r=Object.create(null),s=Object.create(null),o=Object.create(null),a=0;a1?1:e},$.Builder.prototype.k1=function(e){this._k1=e},$.Builder.prototype.add=function(e,t){var n=e[this._ref],i=Object.keys(this._fields);this._documents[n]=t||{},this.documentCount+=1;for(var r=0;r=this.length)return $.QueryLexer.EOS;var e=this.str.charAt(this.pos);return this.pos+=1,e},$.QueryLexer.prototype.width=function(){return this.pos-this.start},$.QueryLexer.prototype.ignore=function(){this.start==this.pos&&(this.pos+=1),this.start=this.pos},$.QueryLexer.prototype.backup=function(){this.pos-=1},$.QueryLexer.prototype.acceptDigitRun=function(){var e,t;do{t=(e=this.next()).charCodeAt(0)}while(t>47&&t<58);e!=$.QueryLexer.EOS&&this.backup()},$.QueryLexer.prototype.more=function(){return this.pos1&&(e.backup(),e.emit($.QueryLexer.TERM)),e.ignore(),e.more())return $.QueryLexer.lexText},$.QueryLexer.lexEditDistance=function(e){return e.ignore(),e.acceptDigitRun(),e.emit($.QueryLexer.EDIT_DISTANCE),$.QueryLexer.lexText},$.QueryLexer.lexBoost=function(e){return e.ignore(),e.acceptDigitRun(),e.emit($.QueryLexer.BOOST),$.QueryLexer.lexText},$.QueryLexer.lexEOS=function(e){e.width()>0&&e.emit($.QueryLexer.TERM)},$.QueryLexer.termSeparator=$.tokenizer.separator,$.QueryLexer.lexText=function(e){for(;;){var t=e.next();if(t==$.QueryLexer.EOS)return $.QueryLexer.lexEOS;if(92!=t.charCodeAt(0)){if(":"==t)return $.QueryLexer.lexField;if("~"==t)return e.backup(),e.width()>0&&e.emit($.QueryLexer.TERM),$.QueryLexer.lexEditDistance;if("^"==t)return e.backup(),e.width()>0&&e.emit($.QueryLexer.TERM),$.QueryLexer.lexBoost;if("+"==t&&1===e.width())return e.emit($.QueryLexer.PRESENCE),$.QueryLexer.lexText;if("-"==t&&1===e.width())return e.emit($.QueryLexer.PRESENCE),$.QueryLexer.lexText;if(t.match($.QueryLexer.termSeparator))return $.QueryLexer.lexTerm}else e.escapeCharacter()}},$.QueryParser=function(e,t){this.lexer=new $.QueryLexer(e),this.query=t,this.currentClause={},this.lexemeIdx=0},$.QueryParser.prototype.parse=function(){this.lexer.run(),this.lexemes=this.lexer.lexemes;for(var e=$.QueryParser.parseClause;e;)e=e(this);return this.query},$.QueryParser.prototype.peekLexeme=function(){return this.lexemes[this.lexemeIdx]},$.QueryParser.prototype.consumeLexeme=function(){var e=this.peekLexeme();return this.lexemeIdx+=1,e},$.QueryParser.prototype.nextClause=function(){var e=this.currentClause;this.query.clause(e),this.currentClause={}},$.QueryParser.parseClause=function(e){var t=e.peekLexeme();if(null!=t)switch(t.type){case $.QueryLexer.PRESENCE:return $.QueryParser.parsePresence;case $.QueryLexer.FIELD:return $.QueryParser.parseField;case $.QueryLexer.TERM:return $.QueryParser.parseTerm;default:var n="expected either a field or a term, found "+t.type;throw t.str.length>=1&&(n+=" with value '"+t.str+"'"),new $.QueryParseError(n,t.start,t.end)}},$.QueryParser.parsePresence=function(e){var t=e.consumeLexeme();if(null!=t){switch(t.str){case"-":e.currentClause.presence=$.Query.presence.PROHIBITED;break;case"+":e.currentClause.presence=$.Query.presence.REQUIRED;break;default:var n="unrecognised presence operator'"+t.str+"'";throw new $.QueryParseError(n,t.start,t.end)}var i=e.peekLexeme();if(null==i){n="expecting term or field, found nothing";throw new $.QueryParseError(n,t.start,t.end)}switch(i.type){case $.QueryLexer.FIELD:return $.QueryParser.parseField;case $.QueryLexer.TERM:return $.QueryParser.parseTerm;default:n="expecting term or field, found '"+i.type+"'";throw new $.QueryParseError(n,i.start,i.end)}}},$.QueryParser.parseField=function(e){var t=e.consumeLexeme();if(null!=t){if(-1==e.query.allFields.indexOf(t.str)){var n=e.query.allFields.map(function(e){return"'"+e+"'"}).join(", "),i="unrecognised field '"+t.str+"', possible fields: "+n;throw new $.QueryParseError(i,t.start,t.end)}e.currentClause.fields=[t.str];var r=e.peekLexeme();if(null==r){i="expecting term, found nothing";throw new $.QueryParseError(i,t.start,t.end)}if(r.type===$.QueryLexer.TERM)return $.QueryParser.parseTerm;i="expecting term, found '"+r.type+"'";throw new $.QueryParseError(i,r.start,r.end)}},$.QueryParser.parseTerm=function(e){var t=e.consumeLexeme();if(null!=t){e.currentClause.term=t.str.toLowerCase(),-1!=t.str.indexOf("*")&&(e.currentClause.usePipeline=!1);var n=e.peekLexeme();if(null!=n)switch(n.type){case $.QueryLexer.TERM:return e.nextClause(),$.QueryParser.parseTerm;case $.QueryLexer.FIELD:return e.nextClause(),$.QueryParser.parseField;case $.QueryLexer.EDIT_DISTANCE:return $.QueryParser.parseEditDistance;case $.QueryLexer.BOOST:return $.QueryParser.parseBoost;case $.QueryLexer.PRESENCE:return e.nextClause(),$.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+n.type+"'";throw new $.QueryParseError(i,n.start,n.end)}else e.nextClause()}},$.QueryParser.parseEditDistance=function(e){var t=e.consumeLexeme();if(null!=t){var n=parseInt(t.str,10);if(isNaN(n)){var i="edit distance must be numeric";throw new $.QueryParseError(i,t.start,t.end)}e.currentClause.editDistance=n;var r=e.peekLexeme();if(null!=r)switch(r.type){case $.QueryLexer.TERM:return e.nextClause(),$.QueryParser.parseTerm;case $.QueryLexer.FIELD:return e.nextClause(),$.QueryParser.parseField;case $.QueryLexer.EDIT_DISTANCE:return $.QueryParser.parseEditDistance;case $.QueryLexer.BOOST:return $.QueryParser.parseBoost;case $.QueryLexer.PRESENCE:return e.nextClause(),$.QueryParser.parsePresence;default:i="Unexpected lexeme type '"+r.type+"'";throw new $.QueryParseError(i,r.start,r.end)}else e.nextClause()}},$.QueryParser.parseBoost=function(e){var t=e.consumeLexeme();if(null!=t){var n=parseInt(t.str,10);if(isNaN(n)){var i="boost must be numeric";throw new $.QueryParseError(i,t.start,t.end)}e.currentClause.boost=n;var r=e.peekLexeme();if(null!=r)switch(r.type){case $.QueryLexer.TERM:return e.nextClause(),$.QueryParser.parseTerm;case $.QueryLexer.FIELD:return e.nextClause(),$.QueryParser.parseField;case $.QueryLexer.EDIT_DISTANCE:return $.QueryParser.parseEditDistance;case $.QueryLexer.BOOST:return $.QueryParser.parseBoost;case $.QueryLexer.PRESENCE:return e.nextClause(),$.QueryParser.parsePresence;default:i="Unexpected lexeme type '"+r.type+"'";throw new $.QueryParseError(i,r.start,r.end)}else e.nextClause()}},void 0===(r="function"==typeof(i=function(){return $})?i.call(t,n,t,e):i)||(e.exports=r)}()},8693(e,t,n){"use strict";var i="aaAttrs",r=n(6220),s=n(3718),o=n(4045),a=n(7748),u=n(2731),c=n(4499),l=n(819);function h(e){var t,n;if((e=e||{}).input||r.error("missing input"),this.isActivated=!1,this.debug=!!e.debug,this.autoselect=!!e.autoselect,this.autoselectOnBlur=!!e.autoselectOnBlur,this.openOnFocus=!!e.openOnFocus,this.minLength=r.isNumber(e.minLength)?e.minLength:1,this.autoWidth=void 0===e.autoWidth||!!e.autoWidth,this.clearOnSelected=!!e.clearOnSelected,this.tabAutocomplete=void 0===e.tabAutocomplete||!!e.tabAutocomplete,e.hint=!!e.hint,e.hint&&e.appendTo)throw new Error("[autocomplete.js] hint and appendTo options can't be used at the same time");this.css=e.css=r.mixin({},l,e.appendTo?l.appendTo:{}),this.cssClasses=e.cssClasses=r.mixin({},l.defaultClasses,e.cssClasses||{}),this.cssClasses.prefix=e.cssClasses.formattedPrefix=r.formatPrefix(this.cssClasses.prefix,this.cssClasses.noPrefix),this.listboxId=e.listboxId=[this.cssClasses.root,"listbox",r.getUniqueId()].join("-");var a=function(e){var t,n,o,a;t=s.element(e.input),n=s.element(c.wrapper.replace("%ROOT%",e.cssClasses.root)).css(e.css.wrapper),e.appendTo||"block"!==t.css("display")||"table"!==t.parent().css("display")||n.css("display","table-cell");var u=c.dropdown.replace("%PREFIX%",e.cssClasses.prefix).replace("%DROPDOWN_MENU%",e.cssClasses.dropdownMenu);o=s.element(u).css(e.css.dropdown).attr({role:"listbox",id:e.listboxId}),e.templates&&e.templates.dropdownMenu&&o.html(r.templatify(e.templates.dropdownMenu)());a=t.clone().css(e.css.hint).css(function(e){return{backgroundAttachment:e.css("background-attachment"),backgroundClip:e.css("background-clip"),backgroundColor:e.css("background-color"),backgroundImage:e.css("background-image"),backgroundOrigin:e.css("background-origin"),backgroundPosition:e.css("background-position"),backgroundRepeat:e.css("background-repeat"),backgroundSize:e.css("background-size")}}(t)),a.val("").addClass(r.className(e.cssClasses.prefix,e.cssClasses.hint,!0)).removeAttr("id name placeholder required").prop("readonly",!0).attr({"aria-hidden":"true",autocomplete:"off",spellcheck:"false",tabindex:-1}),a.removeData&&a.removeData();t.data(i,{"aria-autocomplete":t.attr("aria-autocomplete"),"aria-expanded":t.attr("aria-expanded"),"aria-owns":t.attr("aria-owns"),autocomplete:t.attr("autocomplete"),dir:t.attr("dir"),role:t.attr("role"),spellcheck:t.attr("spellcheck"),style:t.attr("style"),type:t.attr("type")}),t.addClass(r.className(e.cssClasses.prefix,e.cssClasses.input,!0)).attr({autocomplete:"off",spellcheck:!1,role:"combobox","aria-autocomplete":e.datasets&&e.datasets[0]&&e.datasets[0].displayKey?"both":"list","aria-expanded":"false","aria-label":e.ariaLabel,"aria-owns":e.listboxId}).css(e.hint?e.css.input:e.css.inputWithNoHint);try{t.attr("dir")||t.attr("dir","auto")}catch(l){}return n=e.appendTo?n.appendTo(s.element(e.appendTo).eq(0)).eq(0):t.wrap(n).parent(),n.prepend(e.hint?a:null).append(o),{wrapper:n,input:t,hint:a,menu:o}}(e);this.$node=a.wrapper;var u=this.$input=a.input;t=a.menu,n=a.hint,e.dropdownMenuContainer&&s.element(e.dropdownMenuContainer).css("position","relative").append(t.css("top","0")),u.on("blur.aa",function(e){var n=document.activeElement;r.isMsie()&&(t[0]===n||t[0].contains(n))&&(e.preventDefault(),e.stopImmediatePropagation(),r.defer(function(){u.focus()}))}),t.on("mousedown.aa",function(e){e.preventDefault()}),this.eventBus=e.eventBus||new o({el:u}),this.dropdown=new h.Dropdown({appendTo:e.appendTo,wrapper:this.$node,menu:t,datasets:e.datasets,templates:e.templates,cssClasses:e.cssClasses,minLength:this.minLength}).onSync("suggestionClicked",this._onSuggestionClicked,this).onSync("cursorMoved",this._onCursorMoved,this).onSync("cursorRemoved",this._onCursorRemoved,this).onSync("opened",this._onOpened,this).onSync("closed",this._onClosed,this).onSync("shown",this._onShown,this).onSync("empty",this._onEmpty,this).onSync("redrawn",this._onRedrawn,this).onAsync("datasetRendered",this._onDatasetRendered,this),this.input=new h.Input({input:u,hint:n}).onSync("focused",this._onFocused,this).onSync("blurred",this._onBlurred,this).onSync("enterKeyed",this._onEnterKeyed,this).onSync("tabKeyed",this._onTabKeyed,this).onSync("escKeyed",this._onEscKeyed,this).onSync("upKeyed",this._onUpKeyed,this).onSync("downKeyed",this._onDownKeyed,this).onSync("leftKeyed",this._onLeftKeyed,this).onSync("rightKeyed",this._onRightKeyed,this).onSync("queryChanged",this._onQueryChanged,this).onSync("whitespaceChanged",this._onWhitespaceChanged,this),this._bindKeyboardShortcuts(e),this._setLanguageDirection()}r.mixin(h.prototype,{_bindKeyboardShortcuts:function(e){if(e.keyboardShortcuts){var t=this.$input,n=[];r.each(e.keyboardShortcuts,function(e){"string"==typeof e&&(e=e.toUpperCase().charCodeAt(0)),n.push(e)}),s.element(document).keydown(function(e){var i=e.target||e.srcElement,r=i.tagName;if(!i.isContentEditable&&"INPUT"!==r&&"SELECT"!==r&&"TEXTAREA"!==r){var s=e.which||e.keyCode;-1!==n.indexOf(s)&&(t.focus(),e.stopPropagation(),e.preventDefault())}})}},_onSuggestionClicked:function(e,t){var n;(n=this.dropdown.getDatumForSuggestion(t))&&this._select(n,{selectionMethod:"click"})},_onCursorMoved:function(e,t){var n=this.dropdown.getDatumForCursor(),i=this.dropdown.getCurrentCursor().attr("id");this.input.setActiveDescendant(i),n&&(t&&this.input.setInputValue(n.value,!0),this.eventBus.trigger("cursorchanged",n.raw,n.datasetName))},_onCursorRemoved:function(){this.input.resetInputValue(),this._updateHint(),this.eventBus.trigger("cursorremoved")},_onDatasetRendered:function(){this._updateHint(),this.eventBus.trigger("updated")},_onOpened:function(){this._updateHint(),this.input.expand(),this.eventBus.trigger("opened")},_onEmpty:function(){this.eventBus.trigger("empty")},_onRedrawn:function(){this.$node.css("top","0px"),this.$node.css("left","0px");var e=this.$input[0].getBoundingClientRect();this.autoWidth&&this.$node.css("width",e.width+"px");var t=this.$node[0].getBoundingClientRect(),n=e.bottom-t.top;this.$node.css("top",n+"px");var i=e.left-t.left;this.$node.css("left",i+"px"),this.eventBus.trigger("redrawn")},_onShown:function(){this.eventBus.trigger("shown"),this.autoselect&&this.dropdown.cursorTopSuggestion()},_onClosed:function(){this.input.clearHint(),this.input.removeActiveDescendant(),this.input.collapse(),this.eventBus.trigger("closed")},_onFocused:function(){if(this.isActivated=!0,this.openOnFocus){var e=this.input.getQuery();e.length>=this.minLength?this.dropdown.update(e):this.dropdown.empty(),this.dropdown.open()}},_onBlurred:function(){var e,t;e=this.dropdown.getDatumForCursor(),t=this.dropdown.getDatumForTopSuggestion();var n={selectionMethod:"blur"};this.debug||(this.autoselectOnBlur&&e?this._select(e,n):this.autoselectOnBlur&&t?this._select(t,n):(this.isActivated=!1,this.dropdown.empty(),this.dropdown.close()))},_onEnterKeyed:function(e,t){var n,i;n=this.dropdown.getDatumForCursor(),i=this.dropdown.getDatumForTopSuggestion();var r={selectionMethod:"enterKey"};n?(this._select(n,r),t.preventDefault()):this.autoselect&&i&&(this._select(i,r),t.preventDefault())},_onTabKeyed:function(e,t){if(this.tabAutocomplete){var n;(n=this.dropdown.getDatumForCursor())?(this._select(n,{selectionMethod:"tabKey"}),t.preventDefault()):this._autocomplete(!0)}else this.dropdown.close()},_onEscKeyed:function(){this.dropdown.close(),this.input.resetInputValue()},_onUpKeyed:function(){var e=this.input.getQuery();this.dropdown.isEmpty&&e.length>=this.minLength?this.dropdown.update(e):this.dropdown.moveCursorUp(),this.dropdown.open()},_onDownKeyed:function(){var e=this.input.getQuery();this.dropdown.isEmpty&&e.length>=this.minLength?this.dropdown.update(e):this.dropdown.moveCursorDown(),this.dropdown.open()},_onLeftKeyed:function(){"rtl"===this.dir&&this._autocomplete()},_onRightKeyed:function(){"ltr"===this.dir&&this._autocomplete()},_onQueryChanged:function(e,t){this.input.clearHintIfInvalid(),t.length>=this.minLength?this.dropdown.update(t):this.dropdown.empty(),this.dropdown.open(),this._setLanguageDirection()},_onWhitespaceChanged:function(){this._updateHint(),this.dropdown.open()},_setLanguageDirection:function(){var e=this.input.getLanguageDirection();this.dir!==e&&(this.dir=e,this.$node.css("direction",e),this.dropdown.setLanguageDirection(e))},_updateHint:function(){var e,t,n,i,s;(e=this.dropdown.getDatumForTopSuggestion())&&this.dropdown.isVisible()&&!this.input.hasOverflow()?(t=this.input.getInputValue(),n=a.normalizeQuery(t),i=r.escapeRegExChars(n),(s=new RegExp("^(?:"+i+")(.+$)","i").exec(e.value))?this.input.setHint(t+s[1]):this.input.clearHint()):this.input.clearHint()},_autocomplete:function(e){var t,n,i,r;t=this.input.getHint(),n=this.input.getQuery(),i=e||this.input.isCursorAtEnd(),t&&n!==t&&i&&((r=this.dropdown.getDatumForTopSuggestion())&&this.input.setInputValue(r.value),this.eventBus.trigger("autocompleted",r.raw,r.datasetName))},_select:function(e,t){void 0!==e.value&&this.input.setQuery(e.value),this.clearOnSelected?this.setVal(""):this.input.setInputValue(e.value,!0),this._setLanguageDirection(),!1===this.eventBus.trigger("selected",e.raw,e.datasetName,t).isDefaultPrevented()&&(this.dropdown.close(),r.defer(r.bind(this.dropdown.empty,this.dropdown)))},open:function(){if(!this.isActivated){var e=this.input.getInputValue();e.length>=this.minLength?this.dropdown.update(e):this.dropdown.empty()}this.dropdown.open()},close:function(){this.dropdown.close()},setVal:function(e){e=r.toStr(e),this.isActivated?this.input.setInputValue(e):(this.input.setQuery(e),this.input.setInputValue(e,!0)),this._setLanguageDirection()},getVal:function(){return this.input.getQuery()},destroy:function(){this.input.destroy(),this.dropdown.destroy(),function(e,t){var n=e.find(r.className(t.prefix,t.input));r.each(n.data(i),function(e,t){void 0===e?n.removeAttr(t):n.attr(t,e)}),n.detach().removeClass(r.className(t.prefix,t.input,!0)).insertAfter(e),n.removeData&&n.removeData(i);e.remove()}(this.$node,this.cssClasses),this.$node=null},getWrapper:function(){return this.dropdown.$container[0]}}),h.Dropdown=u,h.Input=a,h.sources=n(4710),e.exports=h},9110(e,t){!function(e){var t=/\S/,n=/\"/g,i=/\n/g,r=/\r/g,s=/\\/g,o=/\u2028/,a=/\u2029/;function u(e){"}"===e.n.substr(e.n.length-1)&&(e.n=e.n.substring(0,e.n.length-1))}function c(e){return e.trim?e.trim():e.replace(/^\s*|\s*$/g,"")}function l(e,t,n){if(t.charAt(n)!=e.charAt(0))return!1;for(var i=1,r=e.length;i":7,"=":8,_v:9,"{":10,"&":11,_t:12},e.scan=function(n,i){var r=n.length,s=0,o=null,a=null,h="",p=[],f=!1,d=0,g=0,m="{{",y="}}";function v(){h.length>0&&(p.push({tag:"_t",text:new String(h)}),h="")}function x(n,i){if(v(),n&&function(){for(var n=!0,i=g;i"==r.tag&&(r.indent=p[s].text.toString()),p.splice(s,1));else i||p.push({tag:"\n"});f=!1,g=p.length}function b(e,t){var n="="+y,i=e.indexOf(n,t),r=c(e.substring(e.indexOf("=",t)+1,i)).split(" ");return m=r[0],y=r[r.length-1],i+n.length-1}for(i&&(i=i.split(" "),m=i[0],y=i[1]),d=0;d0;){if(u=t.shift(),s&&"<"==s.tag&&!(u.tag in h))throw new Error("Illegal content in < super tag.");if(e.tags[u.tag]<=e.tags.$||f(u,r))i.push(u),u.nodes=p(t,u.tag,i,r);else{if("/"==u.tag){if(0===i.length)throw new Error("Closing tag without opener: /"+u.n);if(a=i.pop(),u.n!=a.n&&!d(u.n,a.n,r))throw new Error("Nesting error: "+a.n+" vs. "+u.n);return a.end=u.i,o}"\n"==u.tag&&(u.last=0==t.length||"\n"==t[0].tag)}o.push(u)}if(i.length>0)throw new Error("missing closing tag: "+i.pop().n);return o}function f(e,t){for(var n=0,i=t.length;n":x,"<":function(t,n){var i={partials:{},code:"",subs:{},inPartial:!0};e.walk(t.nodes,i);var r=n.partials[x(t,n)];r.subs=i.subs,r.partials=i.partials},$:function(t,n){var i={subs:{},code:"",partials:n.partials,prefix:t.n};e.walk(t.nodes,i),n.subs[t.n]=i.code,n.inPartial||(n.code+='t.sub("'+y(t.n)+'",c,p,i);')},"\n":function(e,t){t.code+=w('"\\n"'+(e.last?"":" + i"))},_v:function(e,t){t.code+="t.b(t.v(t."+v(e.n)+'("'+y(e.n)+'",c,p,0)));'},_t:function(e,t){t.code+=w('"'+y(e.text)+'"')},"{":b,"&":b},e.walk=function(t,n){for(var i,r=0,s=t.length;r"+t(e)+""}}(e.templates,this.displayFn),this.css=o.mixin({},c,e.appendTo?c.appendTo:{}),this.cssClasses=e.cssClasses=o.mixin({},c.defaultClasses,e.cssClasses||{}),this.cssClasses.prefix=e.cssClasses.formattedPrefix||o.formatPrefix(this.cssClasses.prefix,this.cssClasses.noPrefix);var n=o.className(this.cssClasses.prefix,this.cssClasses.dataset);this.$el=e.$menu&&e.$menu.find(n+"-"+this.name).length>0?a.element(e.$menu.find(n+"-"+this.name)[0]):a.element(u.dataset.replace("%CLASS%",this.name).replace("%PREFIX%",this.cssClasses.prefix).replace("%DATASET%",this.cssClasses.dataset)),this.$menu=e.$menu,this.clearCachedSuggestions()}h.extractDatasetName=function(e){return a.element(e).data(i)},h.extractValue=function(e){return a.element(e).data(r)},h.extractDatum=function(e){var t=a.element(e).data(s);return"string"==typeof t&&(t=JSON.parse(t)),t},o.mixin(h.prototype,l,{_render:function(e,t){if(this.$el){var n,c=this,l=[].slice.call(arguments,2);if(this.$el.empty(),n=t&&t.length,this._isEmpty=!n,!n&&this.templates.empty)this.$el.html(function(){var t=[].slice.call(arguments,0);return t=[{query:e,isEmpty:!0}].concat(t),c.templates.empty.apply(this,t)}.apply(this,l)).prepend(c.templates.header?h.apply(this,l):null).append(c.templates.footer?p.apply(this,l):null);else if(n)this.$el.html(function(){var e,n,l=[].slice.call(arguments,0),h=this,p=u.suggestions.replace("%PREFIX%",this.cssClasses.prefix).replace("%SUGGESTIONS%",this.cssClasses.suggestions);return e=a.element(p).css(this.css.suggestions),n=o.map(t,f),e.append.apply(e,n),e;function f(e){var t,n=u.suggestion.replace("%PREFIX%",h.cssClasses.prefix).replace("%SUGGESTION%",h.cssClasses.suggestion);return(t=a.element(n).attr({role:"option",id:["option",Math.floor(1e8*Math.random())].join("-")}).append(c.templates.suggestion.apply(this,[e].concat(l)))).data(i,c.name),t.data(r,c.displayFn(e)||void 0),t.data(s,JSON.stringify(e)),t.children().each(function(){a.element(this).css(h.css.suggestionChild)}),t}}.apply(this,l)).prepend(c.templates.header?h.apply(this,l):null).append(c.templates.footer?p.apply(this,l):null);else if(t&&!Array.isArray(t))throw new TypeError("suggestions must be an array");this.$menu&&this.$menu.addClass(this.cssClasses.prefix+(n?"with":"without")+"-"+this.name).removeClass(this.cssClasses.prefix+(n?"without":"with")+"-"+this.name),this.trigger("rendered",e)}function h(){var t=[].slice.call(arguments,0);return t=[{query:e,isEmpty:!n}].concat(t),c.templates.header.apply(this,t)}function p(){var t=[].slice.call(arguments,0);return t=[{query:e,isEmpty:!n}].concat(t),c.templates.footer.apply(this,t)}},getRoot:function(){return this.$el},update:function(e){function t(t){if(!this.canceled&&e===this.query){var n=[].slice.call(arguments,1);this.cacheSuggestions(e,t,n),this._render.apply(this,[e,t].concat(n))}}if(this.query=e,this.canceled=!1,this.shouldFetchFromCache(e))t.apply(this,[this.cachedSuggestions].concat(this.cachedRenderExtraArgs));else{var n=this,i=function(){n.canceled||n.source(e,t.bind(n))};if(this.debounce){clearTimeout(this.debounceTimeout),this.debounceTimeout=setTimeout(function(){n.debounceTimeout=null,i()},this.debounce)}else i()}},cacheSuggestions:function(e,t,n){this.cachedQuery=e,this.cachedSuggestions=t,this.cachedRenderExtraArgs=n},shouldFetchFromCache:function(e){return this.cache&&this.cachedQuery===e&&this.cachedSuggestions&&this.cachedSuggestions.length},clearCachedSuggestions:function(){delete this.cachedQuery,delete this.cachedSuggestions,delete this.cachedRenderExtraArgs},cancel:function(){this.canceled=!0},clear:function(){this.$el&&(this.cancel(),this.$el.empty(),this.trigger("rendered",""))},isEmpty:function(){return this._isEmpty},destroy:function(){this.clearCachedSuggestions(),this.$el=null}}),e.exports=h},9549(e,t){!function(e){function t(e,t,n){var i;return t&&"object"==typeof t&&(void 0!==t[e]?i=t[e]:n&&t.get&&"function"==typeof t.get&&(i=t.get(e))),i}e.Template=function(e,t,n,i){e=e||{},this.r=e.code||this.r,this.c=n,this.options=i||{},this.text=t||"",this.partials=e.partials||{},this.subs=e.subs||{},this.buf=""},e.Template.prototype={r:function(e,t,n){return""},v:function(e){return e=u(e),a.test(e)?e.replace(n,"&").replace(i,"<").replace(r,">").replace(s,"'").replace(o,"""):e},t:u,render:function(e,t,n){return this.ri([e],t||{},n)},ri:function(e,t,n){return this.r(e,t,n)},ep:function(e,t){var n=this.partials[e],i=t[n.name];if(n.instance&&n.base==i)return n.instance;if("string"==typeof i){if(!this.c)throw new Error("No compiler available.");i=this.c.compile(i,this.options)}if(!i)return null;if(this.partials[e].base=i,n.subs){for(key in t.stackText||(t.stackText={}),n.subs)t.stackText[key]||(t.stackText[key]=void 0!==this.activeSub&&t.stackText[this.activeSub]?t.stackText[this.activeSub]:this.text);i=function(e,t,n,i,r,s){function o(){}function a(){}var u;o.prototype=e,a.prototype=e.subs;var c=new o;for(u in c.subs=new a,c.subsText={},c.buf="",i=i||{},c.stackSubs=i,c.subsText=s,t)i[u]||(i[u]=t[u]);for(u in i)c.subs[u]=i[u];for(u in r=r||{},c.stackPartials=r,n)r[u]||(r[u]=n[u]);for(u in r)c.partials[u]=r[u];return c}(i,n.subs,n.partials,this.stackSubs,this.stackPartials,t.stackText)}return this.partials[e].instance=i,i},rp:function(e,t,n,i){var r=this.ep(e,n);return r?r.ri(t,n,i):""},rs:function(e,t,n){var i=e[e.length-1];if(c(i))for(var r=0;r=0;u--)if(void 0!==(s=t(e,n[u],a))){o=!0;break}return o?(r||"function"!=typeof s||(s=this.mv(s,n,i)),s):!r&&""},ls:function(e,t,n,i,r){var s=this.options.delimiters;return this.options.delimiters=r,this.b(this.ct(u(e.call(t,i)),t,n)),this.options.delimiters=s,!1},ct:function(e,t,n){if(this.options.disableLambda)throw new Error("Lambda features disabled.");return this.c.compile(e,this.options).render(t,n)},b:function(e){this.buf+=e},fl:function(){var e=this.buf;return this.buf="",e},ms:function(e,t,n,i,r,s,o){var a,u=t[t.length-1],c=e.call(u);return"function"==typeof c?!!i||(a=this.activeSub&&this.subsText&&this.subsText[this.activeSub]?this.subsText[this.activeSub]:this.text,this.ls(c,u,n,a.substring(r,s),o)):c},mv:function(e,t,n){var i=t[t.length-1],r=e.call(i);return"function"==typeof r?this.ct(u(r.call(i)),i,n):r},sub:function(e,t,n,i){var r=this.subs[e];r&&(this.activeSub=e,r(t,n,this,i),this.activeSub=!1)}};var n=/&/g,i=//g,s=/\'/g,o=/\"/g,a=/[&<>\"\']/;function u(e){return String(null==e?"":e)}var c=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}}(t)}}]);
\ No newline at end of file
diff --git a/docs/assets/js/4250.a201ce1c.js.LICENSE.txt b/docs/assets/js/4250.a201ce1c.js.LICENSE.txt
deleted file mode 100644
index 1cf473c23ce..00000000000
--- a/docs/assets/js/4250.a201ce1c.js.LICENSE.txt
+++ /dev/null
@@ -1,61 +0,0 @@
-/*!
- * lunr.Builder
- * Copyright (C) 2020 Oliver Nightingale
- */
-
-/*!
- * lunr.Index
- * Copyright (C) 2020 Oliver Nightingale
- */
-
-/*!
- * lunr.Pipeline
- * Copyright (C) 2020 Oliver Nightingale
- */
-
-/*!
- * lunr.Set
- * Copyright (C) 2020 Oliver Nightingale
- */
-
-/*!
- * lunr.TokenSet
- * Copyright (C) 2020 Oliver Nightingale
- */
-
-/*!
- * lunr.Vector
- * Copyright (C) 2020 Oliver Nightingale
- */
-
-/*!
- * lunr.stemmer
- * Copyright (C) 2020 Oliver Nightingale
- * Includes code from - http://tartarus.org/~martin/PorterStemmer/js.txt
- */
-
-/*!
- * lunr.stopWordFilter
- * Copyright (C) 2020 Oliver Nightingale
- */
-
-/*!
- * lunr.tokenizer
- * Copyright (C) 2020 Oliver Nightingale
- */
-
-/*!
- * lunr.trimmer
- * Copyright (C) 2020 Oliver Nightingale
- */
-
-/*!
- * lunr.utils
- * Copyright (C) 2020 Oliver Nightingale
- */
-
-/**
- * lunr - http://lunrjs.com - A bit like Solr, but much smaller and not as bright - 2.3.9
- * Copyright (C) 2020 Oliver Nightingale
- * @license MIT
- */
diff --git a/docs/assets/js/4291.9c7472fc.js b/docs/assets/js/4291.9c7472fc.js
deleted file mode 100644
index a4dd750bc95..00000000000
--- a/docs/assets/js/4291.9c7472fc.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[4291,6672],{4291(e,t,r){r.r(t),r.d(t,{getDatabase:()=>wa,hasIndexedDB:()=>ba});var a=r(7329);function n(e,t){var r=e.get(t);if(void 0===r)throw new Error("missing value from map "+t);return r}function i(e,t,r,a){var n=e.get(t);return void 0===n?(n=r(),e.set(t,n)):a&&a(n),n}function s(e){return Object.assign({},e)}function o(e,t=!1){if(!e)return e;if(!t&&Array.isArray(e))return e.sort((e,t)=>"string"==typeof e&&"string"==typeof t?e.localeCompare(t):"object"==typeof e?1:-1).map(e=>o(e,t));if("object"==typeof e&&!Array.isArray(e)){var r={};return Object.keys(e).sort((e,t)=>e.localeCompare(t)).forEach(a=>{r[a]=o(e[a],t)}),r}return e}var c=function e(t){if(!t)return t;if(null===t||"object"!=typeof t)return t;if(Array.isArray(t)){for(var r=new Array(t.length),a=r.length;a--;)r[a]=e(t[a]);return r}var n={};for(var i in t)n[i]=e(t[i]);return n};function u(e,t,r){return Object.defineProperty(e,t,{get:function(){return r}}),r}var h=e=>{var t=typeof e;return null!==e&&("object"===t||"function"===t)},l=new Set(["__proto__","prototype","constructor"]),d=new Set("0123456789");function m(e){var t=[],r="",a="start",n=!1;for(var i of e)switch(i){case"\\":if("index"===a)throw new Error("Invalid character in an index");if("indexEnd"===a)throw new Error("Invalid character after an index");n&&(r+=i),a="property",n=!n;break;case".":if("index"===a)throw new Error("Invalid character in an index");if("indexEnd"===a){a="property";break}if(n){n=!1,r+=i;break}if(l.has(r))return[];t.push(r),r="",a="property";break;case"[":if("index"===a)throw new Error("Invalid character in an index");if("indexEnd"===a){a="index";break}if(n){n=!1,r+=i;break}if("property"===a){if(l.has(r))return[];t.push(r),r=""}a="index";break;case"]":if("index"===a){t.push(Number.parseInt(r,10)),r="",a="indexEnd";break}if("indexEnd"===a)throw new Error("Invalid character after an index");default:if("index"===a&&!d.has(i))throw new Error("Invalid character in an index");if("indexEnd"===a)throw new Error("Invalid character after an index");"start"===a&&(a="property"),n&&(n=!1,r+="\\"),r+=i}switch(n&&(r+="\\"),a){case"property":if(l.has(r))return[];t.push(r);break;case"index":throw new Error("Index was not closed");case"start":t.push("")}return t}function f(e,t){if("number"!=typeof t&&Array.isArray(e)){var r=Number.parseInt(t,10);return Number.isInteger(r)&&e[r]===e[t]}return!1}function p(e,t){if(f(e,t))throw new Error("Cannot use string index")}function v(e,t,r){if(Array.isArray(t)&&(t=t.join(".")),!t.includes(".")&&!t.includes("["))return e[t];if(!h(e)||"string"!=typeof t)return void 0===r?e:r;var a=m(t);if(0===a.length)return r;for(var n=0;n!1,deepFreezeWhenDevMode:e=>e,tunnelErrorMessage:e=>"\n RxDB Error-Code: "+e+".\n Hint: Error messages are not included in RxDB core to reduce build size.\n To show the full error messages and to ensure that you do not make any mistakes when using RxDB,\n use the dev-mode plugin when you are in development mode: https://rxdb.info/dev-mode.html?console=error\n "};function _(e,t,r){return"\n"+e+"\n"+function(e){var t="";return 0===Object.keys(e).length?t:(t+="-".repeat(20)+"\n",t+="Parameters:\n",t+=Object.keys(e).map(t=>{var r="[object Object]";try{r="errors"===t?e[t].map(e=>JSON.stringify(e,Object.getOwnPropertyNames(e))):JSON.stringify(e[t],function(e,t){return void 0===t?null:t},2)}catch(a){}return t+": "+r}).join("\n"),t+="\n")}(r)}var k=function(e){function t(t,r,a={}){var n,i=_(r,0,a);return(n=e.call(this,i)||this).code=t,n.message=i,n.url=E(t),n.parameters=a,n.rxdb=!0,n}return(0,w.A)(t,e),t.prototype.toString=function(){return this.message},(0,b.A)(t,[{key:"name",get:function(){return"RxError ("+this.code+")"}},{key:"typeError",get:function(){return!1}}])}((0,D.A)(Error)),I=function(e){function t(t,r,a={}){var n,i=_(r,0,a);return(n=e.call(this,i)||this).code=t,n.message=i,n.url=E(t),n.parameters=a,n.rxdb=!0,n}return(0,w.A)(t,e),t.prototype.toString=function(){return this.message},(0,b.A)(t,[{key:"name",get:function(){return"RxTypeError ("+this.code+")"}},{key:"typeError",get:function(){return!0}}])}((0,D.A)(TypeError));function E(e){return"https://rxdb.info/errors.html?console=errors#"+e}function C(e){return"\nFind out more about this error here: "+E(e)+" \n"}function R(e,t){return new k(e,x.tunnelErrorMessage(e)+C(e),t)}function O(e,t){return new I(e,x.tunnelErrorMessage(e)+C(e),t)}function S(e){return!(!e||409!==e.status)&&e}var j={409:"document write conflict",422:"schema validation error",510:"attachment data missing"};function P(e){return R("COL20",{name:j[e.status],document:e.documentId,writeError:e})}var $=/\./g,N=r(8342);function B(e,t){var r=t;return r="properties."+(r=r.replace($,".properties.")),v(e,r=(0,N.L$)(r))}function M(e){return"string"==typeof e?e:e.key}function A(e,t){if("string"==typeof e.primaryKey)return t[e.primaryKey];var r=e.primaryKey;return r.fields.map(e=>{var r=v(t,e);if(void 0===r)throw R("DOC18",{args:{field:e,documentData:t}});return r}).join(r.separator)}function q(e){var t=M((e=s(e)).primaryKey);e.properties=s(e.properties),e.additionalProperties=!1,Object.prototype.hasOwnProperty.call(e,"keyCompression")||(e.keyCompression=!1),e.indexes=e.indexes?e.indexes.slice(0):[],e.required=e.required?e.required.slice(0):[],e.encrypted=e.encrypted?e.encrypted.slice(0):[],e.properties._rev={type:"string",minLength:1},e.properties._attachments={type:"object"},e.properties._deleted={type:"boolean"},e.properties._meta=T,e.required=e.required?e.required.slice(0):[],e.required.push("_deleted"),e.required.push("_rev"),e.required.push("_meta"),e.required.push("_attachments"),e.required.push(t),e.required=e.required.filter(e=>!e.includes(".")).filter((e,t,r)=>r.indexOf(e)===t),e.version=e.version||0;var r=e.indexes.map(e=>{var r=(0,g.k_)(e)?e.slice(0):[e];return r.includes(t)||r.push(t),"_deleted"!==r[0]&&r.unshift("_deleted"),r});0===r.length&&r.push(function(e){return["_deleted",e]}(t)),r.push(["_meta.lwt",t]),e.internalIndexes&&e.internalIndexes.map(e=>{r.push(e)});var a=new Set;return r.filter(e=>{var t=e.join(",");return!a.has(t)&&(a.add(t),!0)}),e.indexes=r,e}var T={type:"object",properties:{lwt:{type:"number",minimum:1,maximum:1e15,multipleOf:.01}},additionalProperties:!0,required:["lwt"]};var L="docs",Q="changes",W="attachments",F="dexie",H=new Map,K=new Map;var z="__";function Z(e){var t=e.split(".");if(t.length>1)return t.map(e=>Z(e)).join(".");if(e.startsWith("|")){var r=e.substring(1);return z+r}return e}function U(e){var t=e.split(".");return t.length>1?t.map(e=>U(e)).join("."):e.startsWith(z)?"|"+e.substring(2):e}function V(e,t){if(!t)return t;var r=s(t);return r=G(r),e.forEach(e=>{var a=v(t,e)?"1":"0",n=Z(e);y(r,n,a)}),r}function J(e,t){return t?(t=X(t=s(t)),e.forEach(e=>{var r=v(t,e);y(t,e,"1"===r)}),t):t}function G(e){if(!e||"string"==typeof e||"number"==typeof e||"boolean"==typeof e)return e;if(Array.isArray(e))return e.map(e=>G(e));if("object"==typeof e){var t={};return Object.entries(e).forEach(([e,r])=>{"object"==typeof r&&(r=G(r)),t[Z(e)]=r}),t}}function X(e){if(!e||"string"==typeof e||"number"==typeof e||"boolean"==typeof e)return e;if(Array.isArray(e))return e.map(e=>X(e));if("object"==typeof e){var t={};return Object.entries(e).forEach(([r,a])=>{("object"==typeof a||Array.isArray(e))&&(a=X(a)),t[U(r)]=a}),t}}function Y(e){var t=[],r=M(e.primaryKey);t.push([r]),t.push(["_deleted",r]),e.indexes&&e.indexes.forEach(e=>{var r=(0,g.$r)(e);t.push(r)}),t.push(["_meta.lwt",r]),t.push(["_meta.lwt"]);var a=(t=t.map(e=>e.map(e=>Z(e)))).map(e=>1===e.length?e[0]:"["+e.join("+")+"]");return(a=a.filter((e,t,r)=>r.indexOf(e)===t)).join(", ")}async function ee(e,t){var r=await e;return(await r.dexieTable.bulkGet(t)).map(e=>J(r.booleanIndexes,e))}function te(e,t){return e+"||"+t}function re(e){var t=new Set,r=[];return e.indexes?(e.indexes.forEach(a=>{(0,g.$r)(a).forEach(a=>{t.has(a)||(t.add(a),"boolean"===B(e,a).type&&r.push(a))})}),r.push("_deleted"),(0,g.jw)(r)):r}var ae=r(9092),ne=0;function ie(){var e=Date.now();(e+=.01)<=ne&&(e=ne+.01);var t=parseFloat(e.toFixed(2));return ne=t,t}var se,oe={};var ce=async function(e){var t=(new TextEncoder).encode(e),r=await function(){if(se)return se;if("undefined"==typeof crypto||void 0===crypto.subtle||"function"!=typeof crypto.subtle.digest)throw R("UT8",{args:{typeof_crypto:typeof crypto,typeof_crypto_subtle:typeof crypto?.subtle,typeof_crypto_subtle_digest:typeof crypto?.subtle?.digest}});return se=crypto.subtle.digest.bind(crypto.subtle)}()("SHA-256",t);return Array.prototype.map.call(new Uint8Array(r),e=>("00"+e.toString(16)).slice(-2)).join("")};var ue=r(4134),he=ue.Dr,le=!1;async function de(){return le?he:(le=!0,he=(async()=>!(!oe.premium||"string"!=typeof oe.premium||"6da4936d1425ff3a5c44c02342c6daf791d266be3ae8479b8ec59e261df41b93"!==await ce(oe.premium)))())}var me=r(3337),fe=String.fromCharCode(65535),pe=Number.MIN_SAFE_INTEGER;function ve(e,t){var r=t.selector,a=e.indexes?e.indexes.slice(0):[];t.index&&(a=[t.index]);var n=!!t.sort.find(e=>"desc"===Object.values(e)[0]),i=new Set;Object.keys(r).forEach(t=>{var a=B(e,t);a&&"boolean"===a.type&&Object.prototype.hasOwnProperty.call(r[t],"$eq")&&i.add(t)});var s,o=t.sort.map(e=>Object.keys(e)[0]).filter(e=>!i.has(e)).join(","),c=-1;if(a.forEach(e=>{var a=!0,u=!0,h=e.map(e=>{var t=r[e],n=t?Object.keys(t):[],i={};t&&n.length?n.forEach(e=>{if(ye.has(e)){var r=function(e,t){switch(e){case"$eq":return{startKey:t,endKey:t,inclusiveEnd:!0,inclusiveStart:!0};case"$lte":return{endKey:t,inclusiveEnd:!0};case"$gte":return{startKey:t,inclusiveStart:!0};case"$lt":return{endKey:t,inclusiveEnd:!1};case"$gt":return{startKey:t,inclusiveStart:!1};default:throw new Error("SNH")}}(e,t[e]);i=Object.assign(i,r)}}):i={startKey:u?pe:fe,endKey:a?fe:pe,inclusiveStart:!0,inclusiveEnd:!0};return void 0===i.startKey&&(i.startKey=pe),void 0===i.endKey&&(i.endKey=fe),void 0===i.inclusiveStart&&(i.inclusiveStart=!0),void 0===i.inclusiveEnd&&(i.inclusiveEnd=!0),u&&!i.inclusiveStart&&(u=!1),a&&!i.inclusiveEnd&&(a=!1),i}),l=h.map(e=>e.startKey),d=h.map(e=>e.endKey),m={index:e,startKeys:l,endKeys:d,inclusiveEnd:a,inclusiveStart:u,sortSatisfiedByIndex:!n&&o===e.filter(e=>!i.has(e)).join(","),selectorSatisfiedByIndex:we(e,t.selector,l,d)},f=function(e,t,r){var a=0,n=e=>{e>0&&(a+=e)},i=10,s=(0,g.Sd)(r.startKeys,e=>e!==pe&&e!==fe);n(s*i);var o=(0,g.Sd)(r.startKeys,e=>e!==fe&&e!==pe);n(o*i);var c=(0,g.Sd)(r.startKeys,(e,t)=>e===r.endKeys[t]);n(c*i*1.5);var u=r.sortSatisfiedByIndex?5:0;return n(u),a}(0,0,m);(f>=c||t.index)&&(c=f,s=m)}),!s)throw R("SNH",{query:t});return s}var ye=new Set(["$eq","$gt","$gte","$lt","$lte"]),ge=new Set(["$eq","$gt","$gte"]),be=new Set(["$eq","$lt","$lte"]);function we(e,t,r,a){var n=Object.entries(t).find(([t,r])=>!e.includes(t)||Object.entries(r).find(([e,t])=>!ye.has(e)));if(n)return!1;if(t.$and||t.$or)return!1;var i=[],s=new Set;for(var[o,c]of Object.entries(t)){if(!e.includes(o))return!1;var u=Object.keys(c).filter(e=>ge.has(e));if(u.length>1)return!1;var h=u[0];if(h&&s.add(o),"$eq"!==h){if(i.length>0)return!1;i.push(h)}}var l=[],d=new Set;for(var[m,f]of Object.entries(t)){if(!e.includes(m))return!1;var p=Object.keys(f).filter(e=>be.has(e));if(p.length>1)return!1;var v=p[0];if(v&&d.add(m),"$eq"!==v){if(l.length>0)return!1;l.push(v)}}var y=0;for(var g of e){for(var b of[s,d]){if(!b.has(g)&&b.size>0)return!1;b.delete(g)}if(r[y]!==a[y]&&s.size>0&&d.size>0)return!1;y++}return!0}var De,xe=r(2235),_e=r(4953),ke=r(1621),Ie=r(4192),Ee=r(695),Ce=r(2830),Re=r(2080),Oe=r(175),Se=r(8259),je=r(5912),Pe=r(6729),$e=r(6529),Ne=r(2226),Be=r(3697),Me=r(558),Ae=r(2583),qe=r(9283),Te=r(5629),Le=r(4612),Qe=r(5805),We=r(3587),Fe=r(1401),He=r(7531),Ke=!1;function ze(e){return Ke||(De=_e.ob.init({pipeline:{$sort:Ie.x,$project:Ee.C},query:{$elemMatch:Ce.J,$eq:Re.X,$nor:Oe.q,$exists:Se.P,$regex:je.W,$and:Pe.a,$gt:$e.M,$gte:Ne.f,$in:Be.o,$lt:Me.N,$lte:Ae.Q,$ne:qe.C,$nin:Te.G,$mod:Le.P,$not:Qe.E,$or:We.s,$size:Fe.I,$type:He.T}}),Ke=!0),new ke.X(e,{context:De})}function Ze(e,t){var r=M(e.primaryKey);t=s(t);var a=c(t);if("number"!=typeof a.skip&&(a.skip=0),a.selector?(a.selector=a.selector,Object.entries(a.selector).forEach(([e,t])=>{"object"==typeof t&&null!==t||(a.selector[e]={$eq:t})})):a.selector={},a.index){var n=(0,g.$r)(a.index);n.includes(r)||n.push(r),a.index=n}if(a.sort)a.sort.find(e=>{return t=e,Object.keys(t)[0]===r;var t})||(a.sort=a.sort.slice(0),a.sort.push({[r]:"asc"}));else if(a.index)a.sort=a.index.map(e=>({[e]:"asc"}));else{if(e.indexes){var i=new Set;Object.entries(a.selector).forEach(([e,t])=>{("object"!=typeof t||null===t||!!Object.keys(t).find(e=>ye.has(e)))&&i.add(e)});var o,u=-1;e.indexes.forEach(e=>{var t=(0,g.k_)(e)?e:[e],r=t.findIndex(e=>!i.has(e));r>0&&r>u&&(u=r,o=t)}),o&&(a.sort=o.map(e=>({[e]:"asc"})))}if(!a.sort)if(e.indexes&&e.indexes.length>0){var h=e.indexes[0],l=(0,g.k_)(h)?h:[h];a.sort=l.map(e=>({[e]:"asc"}))}else a.sort=[{[r]:"asc"}]}return a}function Ue(e,t){if(!t.sort)throw R("SNH",{query:t});var r=[];t.sort.forEach(e=>{var t,a,n,i=Object.keys(e)[0],s=Object.values(e)[0];r.push({key:i,direction:s,getValueFn:(t=i,a=t.split("."),n=a.length,1===n?e=>e[t]:e=>{for(var t=e,r=0;r{for(var a=0;ar.test(e)}async function Je(e,t){var r=await e.exec();return r?Array.isArray(r)?Promise.all(r.map(e=>t(e))):r instanceof Map?Promise.all([...r.values()].map(e=>t(e))):await t(r):null}function Ge(e,t){if(!t.sort)throw R("SNH",{query:t});return{query:t,queryPlan:ve(e,t)}}function Xe(e){return e===pe?-1/0:e}function Ye(e,t,r){return e.includes(t)?r===fe||!0===r?"1":"0":r}function et(e,t,r){if(!r){if("undefined"==typeof window)throw new Error("IDBKeyRange missing");r=window.IDBKeyRange}var a=t.startKeys.map((r,a)=>{var n=t.index[a];return Ye(e,n,r)}).map(Xe),n=t.endKeys.map((r,a)=>{var n=t.index[a];return Ye(e,n,r)}).map(Xe);return r.bound(a,n,!t.inclusiveStart,!t.inclusiveEnd)}async function tt(e,t){var r=await e.internals,a=t.query,n=a.skip?a.skip:0,i=n+(a.limit?a.limit:1/0),s=t.queryPlan,o=!1;s.selectorSatisfiedByIndex||(o=Ve(e.schema,t.query));var c=et(r.booleanIndexes,s,r.dexieDb._options.IDBKeyRange),u=s.index,h=[];if(await r.dexieDb.transaction("r",r.dexieTable,async e=>{var t,a=e.idbtrans.objectStore(L);t="["+u.map(e=>Z(e)).join("+")+"]";var n=a.index(t).openCursor(c);await new Promise(e=>{n.onsuccess=function(t){var a=t.target.result;if(a){var n=J(r.booleanIndexes,a.value);o&&!o(n)||h.push(n),s.sortSatisfiedByIndex&&h.length===i?e():a.continue()}else e()}})}),!s.sortSatisfiedByIndex){var l=Ue(e.schema,t.query);h=h.sort(l)}return{documents:h=h.slice(n,i)}}function rt(e){for(var t="",r=0;r0&&nt[e].forEach(e=>e(t))}async function st(e,t){for(var r of nt[e])await r(t)}async function ot(e,t){var r=(await e.findDocumentsById([t],!1))[0];return r||void 0}async function ct(e,t,r){var a=await e.bulkWrite([t],r);if(a.error.length>0)throw a.error[0];return vt(M(e.schema.primaryKey),[t],a)[0]}function ut(e,t,r,a){if(a)throw 409===a.status?R("CONFLICT",{collection:e.name,id:t,writeError:a,data:r}):422===a.status?R("VD2",{collection:e.name,id:t,writeError:a,data:r}):a}function ht(e){return{previous:e.previous,document:lt(e.document)}}function lt(e){if(!e._attachments||0===Object.keys(e._attachments).length)return e;var t=s(e);return t._attachments={},Object.entries(e._attachments).forEach(([e,r])=>{var a,n,i;t._attachments[e]=(i=(a=r).data)?{length:(n=i,atob(n).length),digest:a.digest,type:a.type}:a}),t}function dt(e){return Object.assign({},e,{_meta:s(e._meta)})}function mt(e,t,r){x.deepFreezeWhenDevMode(r);var a=M(t.schema.primaryKey),n={originalStorageInstance:t,schema:t.schema,internals:t.internals,collectionName:t.collectionName,databaseName:t.databaseName,options:t.options,async bulkWrite(r,n){for(var i=e.token,s=new Array(r.length),o=ie(),c=0;ct.bulkWrite(s,n)),m={error:[]};ft.set(m,s);var f=0===d.error.length?[]:d.error.filter(e=>!(409!==e.status||e.writeRow.previous||e.writeRow.document._deleted||!(0,me.ZN)(e.documentInDb)._deleted)||(m.error.push(e),!1));if(f.length>0){var p=new Set,v=f.map(t=>(p.add(t.documentId),{previous:t.documentInDb,document:Object.assign({},t.writeRow.document,{_rev:at(e.token,t.documentInDb)})})),y=await e.lockedRun(()=>t.bulkWrite(v,n));m.error=m.error.concat(y.error);var g=vt(a,s,m,p),b=vt(a,v,y);return g.push(...b),m}return m},query:r=>e.lockedRun(()=>t.query(r)),count:r=>e.lockedRun(()=>t.count(r)),findDocumentsById:(r,a)=>e.lockedRun(()=>t.findDocumentsById(r,a)),getAttachmentData:(r,a,n)=>e.lockedRun(()=>t.getAttachmentData(r,a,n)),getChangedDocumentsSince:t.getChangedDocumentsSince?(r,a)=>e.lockedRun(()=>t.getChangedDocumentsSince((0,me.ZN)(r),a)):void 0,cleanup:r=>e.lockedRun(()=>t.cleanup(r)),remove:()=>(e.storageInstances.delete(n),e.lockedRun(()=>t.remove())),close:()=>(e.storageInstances.delete(n),e.lockedRun(()=>t.close())),changeStream:()=>t.changeStream()};return e.storageInstances.add(n),n}var ft=new WeakMap,pt=new WeakMap;function vt(e,t,r,a){return i(pt,r,()=>{var n=[],i=ft.get(r);if(i||(i=t),r.error.length>0||a){for(var s=a||new Set,o=0;o{r.storageName===e&&r.databaseName===t.databaseName&&r.collectionName===t.collectionName&&r.version===t.schema.version&&i.next(r.eventBulk)};n.addEventListener("message",s);var o=r.changeStream(),c=!1,u=o.subscribe(r=>{c||n.postMessage({storageName:e,databaseName:t.databaseName,collectionName:t.collectionName,version:t.schema.version,eventBulk:r})});r.changeStream=function(){return i.asObservable().pipe((0,yt.X)(o))};var h=r.close.bind(r);r.close=async function(){return c=!0,u.unsubscribe(),n.removeEventListener("message",s),a||await wt(t.databaseInstanceToken,r),h()};var l=r.remove.bind(r);r.remove=async function(){return c=!0,u.unsubscribe(),n.removeEventListener("message",s),a||await wt(t.databaseInstanceToken,r),l()}}}var xt=ie(),_t=!1,kt=function(){function e(e,t,r,a,n,i,s,o){this.changes$=new ae.B,this.instanceId=xt++,this.storage=e,this.databaseName=t,this.collectionName=r,this.schema=a,this.internals=n,this.options=i,this.settings=s,this.devMode=o,this.primaryPath=M(this.schema.primaryKey)}var t=e.prototype;return t.bulkWrite=async function(e,t){Et(this),_t||await de()||console.warn(["-------------- RxDB Open Core RxStorage -------------------------------","You are using the free Dexie.js based RxStorage implementation from RxDB https://rxdb.info/rx-storage-dexie.html?console=dexie ","While this is a great option, we want to let you know that there are faster storage solutions available in our premium plugins.","For professional users and production environments, we highly recommend considering these premium options to enhance performance and reliability."," https://rxdb.info/premium/?console=dexie ","If you already purchased premium access you can disable this log by calling the setPremiumFlag() function from rxdb-premium/plugins/shared.","---------------------------------------------------------------------"].join("\n")),_t=!0,e.forEach(e=>{if(!e.document._rev||e.previous&&!e.previous._rev)throw R("SNH",{args:{row:e}})});var r=await this.internals,a={error:[]};this.devMode&&(e=e.map(e=>{var t=dt(e.document);return{previous:e.previous,document:t}}));var n,i=e.map(e=>e.document[this.primaryPath]);if(await r.dexieDb.transaction("rw",r.dexieTable,r.dexieAttachmentsTable,async()=>{var s=new Map;(await ee(this.internals,i)).forEach(e=>{var t=e;return t&&s.set(t[this.primaryPath],t),t}),n=function(e,t,r,a,n,i,s){for(var o,c=!!e.schema.attachments,u=[],h=[],l=[],d={id:(0,N.zs)(10),events:[],checkpoint:null,context:n},m=d.events,f=[],p=[],v=[],y=r.size>0,g=a.length,b=function(){var e,d=a[w],g=d.document,b=d.previous,D=g[t],x=g._deleted,_=b&&b._deleted,k=void 0;if(y&&(k=r.get(D)),k){var I=k._rev;if(!b||b&&I!==b._rev){var E={isError:!0,status:409,documentId:D,writeRow:d,documentInDb:k,context:n};return l.push(E),1}var C=c?ht(d):d;c&&(x?b&&Object.keys(b._attachments).forEach(e=>{p.push({documentId:D,attachmentId:e,digest:(0,me.ZN)(b)._attachments[e].digest})}):(Object.entries(g._attachments).find(([t,r])=>((b?b._attachments[t]:void 0)||r.data||(e={documentId:D,documentInDb:k,isError:!0,status:510,writeRow:d,attachmentId:t,context:n}),!0)),e||Object.entries(g._attachments).forEach(([e,t])=>{var r=b?b._attachments[e]:void 0;if(r){var a=C.document._attachments[e].digest;t.data&&r.digest!==a&&v.push({documentId:D,attachmentId:e,attachmentData:t,digest:t.digest})}else f.push({documentId:D,attachmentId:e,attachmentData:t,digest:t.digest})}))),e?l.push(e):(c?(h.push(ht(C)),s&&s(g)):(h.push(C),s&&s(g)),o=C);var O=null,S=null,j=null;if(_&&!x)j="INSERT",O=c?lt(g):g;else if(!b||_||x){if(!x)throw R("SNH",{args:{writeRow:d}});j="DELETE",O=(0,me.ZN)(g),S=b}else j="UPDATE",O=c?lt(g):g,S=b;var P={documentId:D,documentData:O,previousDocumentData:S,operation:j};m.push(P)}else{var $=!!x;if(c&&Object.entries(g._attachments).forEach(([t,r])=>{r.data?f.push({documentId:D,attachmentId:t,attachmentData:r,digest:r.digest}):(e={documentId:D,isError:!0,status:510,writeRow:d,attachmentId:t,context:n},l.push(e))}),e||(c?(u.push(ht(d)),i&&i(g)):(u.push(d),i&&i(g)),o=d),!$){var N={documentId:D,operation:"INSERT",documentData:c?lt(g):g,previousDocumentData:c&&b?lt(b):b};m.push(N)}}},w=0;w{o.push(e.document)}),n.bulkUpdateDocs.forEach(e=>{o.push(e.document)}),(o=o.map(e=>V(r.booleanIndexes,e))).length>0&&await r.dexieTable.bulkPut(o);var c=[];n.attachmentsAdd.forEach(e=>{c.push({id:te(e.documentId,e.attachmentId),data:e.attachmentData.data})}),n.attachmentsUpdate.forEach(e=>{c.push({id:te(e.documentId,e.attachmentId),data:e.attachmentData.data})}),await r.dexieAttachmentsTable.bulkPut(c),await r.dexieAttachmentsTable.bulkDelete(n.attachmentsRemove.map(e=>te(e.documentId,e.attachmentId)))}),(n=(0,me.ZN)(n)).eventBulk.events.length>0){var s=(0,me.ZN)(n.newestRow).document;n.eventBulk.checkpoint={id:s[this.primaryPath],lwt:s._meta.lwt},this.changes$.next(n.eventBulk)}return a},t.findDocumentsById=async function(e,t){Et(this);var r=await this.internals,a=[];return await r.dexieDb.transaction("r",r.dexieTable,async()=>{(await ee(this.internals,e)).forEach(e=>{!e||e._deleted&&!t||a.push(e)})}),a},t.query=function(e){return Et(this),tt(this,e)},t.count=async function(e){if(e.queryPlan.selectorSatisfiedByIndex){var t=await async function(e,t){var r=await e.internals,a=t.queryPlan,n=a.index,i=et(r.booleanIndexes,a,r.dexieDb._options.IDBKeyRange),s=-1;return await r.dexieDb.transaction("r",r.dexieTable,async e=>{var t,r=e.idbtrans.objectStore(L);t="["+n.map(e=>Z(e)).join("+")+"]";var a=r.index(t).count(i);s=await new Promise((e,t)=>{a.onsuccess=function(){e(a.result)},a.onerror=e=>t(e)})}),s}(this,e);return{count:t,mode:"fast"}}return{count:(await tt(this,e)).documents.length,mode:"slow"}},t.changeStream=function(){return Et(this),this.changes$.asObservable()},t.cleanup=async function(e){Et(this);var t=await this.internals;return await t.dexieDb.transaction("rw",t.dexieTable,async()=>{var r=ie()-e,a=await t.dexieTable.where("_meta.lwt").below(r).toArray(),n=[];a.forEach(e=>{"1"===e._deleted&&n.push(e[this.primaryPath])}),await t.dexieTable.bulkDelete(n)}),!0},t.getAttachmentData=async function(e,t,r){Et(this);var a=await this.internals,n=te(e,t);return await a.dexieDb.transaction("r",a.dexieAttachmentsTable,async()=>{var r=await a.dexieAttachmentsTable.get(n);if(r)return r.data;throw new Error("attachment missing documentId: "+e+" attachmentId: "+t)})},t.remove=async function(){Et(this);var e=await this.internals;return await e.dexieTable.clear(),this.close()},t.close=function(){return this.closed||(this.closed=(async()=>{this.changes$.complete(),await async function(e){var t=await e,r=K.get(e)-1;0===r?(t.dexieDb.close(),K.delete(e)):K.set(e,r)}(this.internals)})()),this.closed},e}();async function It(e,t,r){var n=function(e,t,r,n){var o="rxdb-dexie-"+e+"--"+n.version+"--"+t,c=i(H,o,()=>{var e=(async()=>{var e=s(r);e.autoOpen=!1;var t=new a.cf(o,e);r.onCreate&&await r.onCreate(t,o);var i={[L]:Y(n),[Q]:"++sequence, id",[W]:"id"};return t.version(1).stores(i),await t.open(),{dexieDb:t,dexieTable:t[L],dexieAttachmentsTable:t[W],booleanIndexes:re(n)}})();return H.set(o,c),K.set(c,0),e});return c}(t.databaseName,t.collectionName,r,t.schema),o=new kt(e,t.databaseName,t.collectionName,t.schema,n,t.options,r,t.devMode);return await Dt(F,t,o),Promise.resolve(o)}function Et(e){if(e.closed)throw new Error("RxStorageInstanceDexie is closed "+e.databaseName+"-"+e.collectionName)}var Ct="17.0.0-beta.6",Rt=function(){function e(e){this.name=F,this.rxdbVersion=Ct,this.settings=e}return e.prototype.createStorageInstance=function(e){(function(e){if(e.schema.keyCompression)throw R("UT5",{args:{params:e}});if((t=e.schema).encrypted&&t.encrypted.length>0||t.attachments&&t.attachments.encrypted)throw R("UT6",{args:{params:e}});var t;if(e.schema.attachments&&e.schema.attachments.compression)throw R("UT7",{args:{params:e}})}(e),e.schema.indexes)&&e.schema.indexes.flat().filter(e=>!e.includes(".")).forEach(t=>{if(!e.schema.required||!e.schema.required.includes(t))throw R("DXE1",{field:t,schema:e.schema})});return It(this,e,this.settings)},e}();function Ot(e={}){return new Rt(e)}var St=r(686),jt=function(){function e(e,t){if(this.jsonSchema=e,this.hashFunction=t,this.indexes=function(e){return(e.indexes||[]).map(e=>(0,g.k_)(e)?e:[e])}(this.jsonSchema),this.primaryPath=M(this.jsonSchema.primaryKey),!e.properties[this.primaryPath].maxLength)throw R("SC39",{schema:e});this.finalFields=function(e){var t=Object.keys(e.properties).filter(t=>e.properties[t].final),r=M(e.primaryKey);return t.push(r),"string"!=typeof e.primaryKey&&e.primaryKey.fields.forEach(e=>t.push(e)),t}(this.jsonSchema)}var t=e.prototype;return t.validateChange=function(e,t){this.finalFields.forEach(r=>{if(!(0,St.b)(e[r],t[r]))throw R("DOC9",{dataBefore:e,dataAfter:t,fieldName:r,schema:this.jsonSchema})})},t.getDocumentPrototype=function(){var e={},t=B(this.jsonSchema,"");return Object.keys(t).forEach(t=>{var r=t;e.__defineGetter__(t,function(){if(this.get&&"function"==typeof this.get)return this.get(r)}),Object.defineProperty(e,t+"$",{get:function(){return this.get$(r)},enumerable:!1,configurable:!1}),Object.defineProperty(e,t+"$$",{get:function(){return this.get$$(r)},enumerable:!1,configurable:!1}),Object.defineProperty(e,t+"_",{get:function(){return this.populate(r)},enumerable:!1,configurable:!1})}),u(this,"getDocumentPrototype",()=>e),e},t.getPrimaryOfDocumentData=function(e){return A(this.jsonSchema,e)},(0,b.A)(e,[{key:"version",get:function(){return this.jsonSchema.version}},{key:"defaultValues",get:function(){var e={};return Object.entries(this.jsonSchema.properties).filter(([,e])=>Object.prototype.hasOwnProperty.call(e,"default")).forEach(([t,r])=>e[t]=r.default),u(this,"defaultValues",e)}},{key:"hash",get:function(){return u(this,"hash",this.hashFunction(JSON.stringify(this.jsonSchema)))}}])}();function Pt(e,t,r=!0){r&&it("preCreateRxSchema",e);var a=q(e);a=function(e){return o(e,!0)}(a),x.deepFreezeWhenDevMode(a);var n=new jt(a,t);return it("createRxSchema",n),n}var $t=r(7708),Nt=r(8146),Bt=r(3356),Mt=r(5520),At=r(8609);function qt(e){var t=e.split("-"),r="RxDB";return t.forEach(e=>{r+=(0,N.Z2)(e)}),r+="Plugin",new Error("You are using a function which must be overwritten by a plugin.\n You should either prevent the usage of this function or add the plugin via:\n import { "+r+" } from 'rxdb/plugins/"+e+"';\n addRxPlugin("+r+");\n ")}function Tt(e){return e.documentData?e.documentData:e.previousDocumentData}function Lt(e){switch(e.operation){case"INSERT":return{operation:e.operation,id:e.documentId,doc:e.documentData,previous:null};case"UPDATE":return{operation:e.operation,id:e.documentId,doc:x.deepFreezeWhenDevMode(e.documentData),previous:e.previousDocumentData?e.previousDocumentData:"UNKNOWN"};case"DELETE":return{operation:e.operation,id:e.documentId,doc:null,previous:e.previousDocumentData}}}var Qt=new Map;function Wt(e){return i(Qt,e,()=>{for(var t=new Array(e.events.length),r=e.events,a=e.collectionName,n=e.isLocal,i=x.deepFreezeWhenDevMode,s=0;s[]);return new Promise((r,n)=>{var i={lastKnownDocumentState:e,modifier:t,resolve:r,reject:n};(0,me.ZN)(a).push(i),this.triggerRun()})},t.triggerRun=async function(){if(!0!==this.isRunning&&0!==this.queueByDocId.size){this.isRunning=!0;var e=[],t=this.queueByDocId;this.queueByDocId=new Map,await Promise.all(Array.from(t.entries()).map(async([t,r])=>{var a,n,i,s=(a=r.map(e=>e.lastKnownDocumentState),n=a[0],i=rt(n._rev),a.forEach(e=>{var t=rt(e._rev);t>i&&(n=e,i=t)}),n),o=s;for(var u of r)try{o=await u.modifier(c(o))}catch(h){u.reject(h),u.reject=()=>{},u.resolve=()=>{}}try{await this.preWrite(o,s)}catch(h){return void r.forEach(e=>e.reject(h))}e.push({previous:s,document:o})}));var r=e.length>0?await this.storageInstance.bulkWrite(e,"incremental-write"):{error:[]};return await Promise.all(vt(this.primaryPath,e,r).map(e=>{var r=e[this.primaryPath];this.postWrite(e),n(t,r).forEach(t=>t.resolve(e))})),r.error.forEach(e=>{var r=e.documentId,a=n(t,r),s=S(e);if(s){var o=i(this.queueByDocId,r,()=>[]);a.reverse().forEach(e=>{e.lastKnownDocumentState=(0,me.ZN)(s.documentInDb),(0,me.ZN)(o).unshift(e)})}else{var c=P(e);a.forEach(e=>e.reject(c))}}),this.isRunning=!1,this.triggerRun()}},e}();function Ht(e){return async t=>{var r=function(e){return Object.assign({},e,{_meta:void 0,_deleted:void 0,_rev:void 0})}(t);r._deleted=t._deleted;var a=await e(r),n=Object.assign({},a,{_meta:t._meta,_attachments:t._attachments,_rev:t._rev,_deleted:void 0!==a._deleted?a._deleted:t._deleted});return void 0===n._deleted&&(n._deleted=!1),n}}var Kt={get primaryPath(){if(this.isInstanceOfRxDocument)return this.collection.schema.primaryPath},get primary(){var e=this;if(e.isInstanceOfRxDocument)return e._data[e.primaryPath]},get revision(){if(this.isInstanceOfRxDocument)return this._data._rev},get deleted$(){if(this.isInstanceOfRxDocument)return this.$.pipe((0,$t.T)(e=>e._data._deleted))},get deleted$$(){var e=this;return e.collection.database.getReactivityFactory().fromObservable(e.deleted$,e.getLatest().deleted,e.collection.database)},get deleted(){if(this.isInstanceOfRxDocument)return this._data._deleted},getLatest(){var e=this.collection._docCache.getLatestDocumentData(this.primary);return this.collection._docCache.getCachedRxDocument(e)},get $(){var e=this.primary;return this.collection.eventBulks$.pipe((0,Nt.p)(e=>!e.isLocal),(0,$t.T)(t=>t.events.find(t=>t.documentId===e)),(0,Nt.p)(e=>!!e),(0,$t.T)(e=>Tt((0,me.ZN)(e))),(0,Bt.Z)(this.collection._docCache.getLatestDocumentData(e)),(0,Mt.F)((e,t)=>e._rev===t._rev),(0,$t.T)(e=>this.collection._docCache.getCachedRxDocument(e)),(0,At.t)(me.bz))},get $$(){var e=this;return e.collection.database.getReactivityFactory().fromObservable(e.$,e.getLatest()._data,e.collection.database)},get$(e){if(x.isDevMode()){if(e.includes(".item."))throw R("DOC1",{path:e});if(e===this.primaryPath)throw R("DOC2");if(this.collection.schema.finalFields.includes(e))throw R("DOC3",{path:e});if(!B(this.collection.schema.jsonSchema,e))throw R("DOC4",{path:e})}return this.$.pipe((0,$t.T)(t=>v(t,e)),(0,Mt.F)())},get$$(e){var t=this.get$(e);return this.collection.database.getReactivityFactory().fromObservable(t,this.getLatest().get(e),this.collection.database)},populate(e){var t=B(this.collection.schema.jsonSchema,e),r=this.get(e);if(!r)return ue.$A;if(!t)throw R("DOC5",{path:e});if(!t.ref)throw R("DOC6",{path:e,schemaObj:t});var a=this.collection.database.collections[t.ref];if(!a)throw R("DOC7",{ref:t.ref,path:e,schemaObj:t});return"array"===t.type?a.findByIds(r).exec().then(e=>{var t=e.values();return Array.from(t)}):a.findOne(r).exec()},get(e){return Ut(this,e)},toJSON(e=!1){if(e)return x.deepFreezeWhenDevMode(this._data);var t=s(this._data);return delete t._rev,delete t._attachments,delete t._deleted,delete t._meta,x.deepFreezeWhenDevMode(t)},toMutableJSON(e=!1){return c(this.toJSON(e))},update(e){throw qt("update")},incrementalUpdate(e){throw qt("update")},updateCRDT(e){throw qt("crdt")},putAttachment(){throw qt("attachments")},putAttachmentBase64(){throw qt("attachments")},getAttachment(){throw qt("attachments")},allAttachments(){throw qt("attachments")},get allAttachments$(){throw qt("attachments")},async modify(e,t){var r=this._data,a=await Ht(e)(r);return this._saveData(a,r)},incrementalModify(e,t){return this.collection.incrementalWriteQueue.addWrite(this._data,Ht(e)).then(e=>this.collection._docCache.getCachedRxDocument(e))},patch(e){var t=this._data,r=c(t);return Object.entries(e).forEach(([e,t])=>{r[e]=t}),this._saveData(r,t)},incrementalPatch(e){return this.incrementalModify(t=>(Object.entries(e).forEach(([e,r])=>{t[e]=r}),t))},async _saveData(e,t){if(e=s(e),this._data._deleted)throw R("DOC11",{id:this.primary,document:this});await Zt(this.collection,e,t);var r=[{previous:t,document:e}],a=await this.collection.storageInstance.bulkWrite(r,"rx-document-save-data"),n=a.error[0];return ut(this.collection,this.primary,e,n),await this.collection._runHooks("post","save",e,this),this.collection._docCache.getCachedRxDocument(vt(this.collection.schema.primaryPath,r,a)[0])},async remove(){if(this.deleted)return Promise.reject(R("DOC13",{document:this,id:this.primary}));var e=await this.collection.bulkRemove([this]);if(e.error.length>0){var t=e.error[0];ut(this.collection,this.primary,this._data,t)}return e.success[0]},incrementalRemove(){return this.incrementalModify(async e=>(await this.collection._runHooks("pre","remove",e,this),e._deleted=!0,e)).then(async e=>(await this.collection._runHooks("post","remove",e._data,e),e))},close(){throw R("DOC14")}};function zt(e=Kt){var t=function(e,t){this.collection=e,this._data=t,this._propertyCache=new Map,this.isInstanceOfRxDocument=!0};return t.prototype=e,t}function Zt(e,t,r){return t._meta=Object.assign({},r._meta,t._meta),x.isDevMode()&&e.schema.validateChange(r,t),e._runHooks("pre","save",t,r)}function Ut(e,t){return i(e._propertyCache,t,()=>{var r=v(e._data,t);return"object"!=typeof r||null===r||Array.isArray(r)?x.deepFreezeWhenDevMode(r):new Proxy(s(r),{get(r,a){if("string"!=typeof a)return r[a];var n=a.charAt(a.length-1);if("$"===n){if(a.endsWith("$$")){var i=a.slice(0,-2);return e.get$$((0,N.L$)(t+"."+i))}var s=a.slice(0,-1);return e.get$((0,N.L$)(t+"."+s))}if("_"===n){var o=a.slice(0,-1);return e.populate((0,N.L$)(t+"."+o))}var c=r[a];return"number"==typeof c||"string"==typeof c||"boolean"==typeof c?c:Ut(e,(0,N.L$)(t+"."+a))}})})}var Vt=r(2198),Jt=r(4157),Gt=r(2442),Xt=r(6114);function Yt(e,t){return t.sort&&0!==t.sort.length?t.sort.map(e=>Object.keys(e)[0]):[e]}var er=new WeakMap;function tr(e,t){if(!e.collection.database.eventReduce)return{runFullQueryAgain:!0};for(var r=function(e){return i(er,e,()=>{var t=e.collection,r=Ze(t.storageInstance.schema,c(e.mangoQuery)),a=t.schema.primaryPath,n=Ue(t.schema.jsonSchema,r),i=Ve(t.schema.jsonSchema,r);return{primaryKey:e.collection.schema.primaryPath,skip:r.skip,limit:r.limit,sortFields:Yt(a,r),sortComparator:(t,r)=>{var a={docA:t,docB:r,rxQuery:e};return n(a.docA,a.docB)},queryMatcher:t=>i({doc:t,rxQuery:e}.doc)}})}(e),a=(0,me.ZN)(e._result).docsData.slice(0),n=(0,me.ZN)(e._result).docsDataMap,s=!1,o=[],u=0;u{var t={queryParams:r,changeEvent:e,previousResults:a,keyDocumentMap:n},i=(0,Xt.kC)(t);return"runFullQueryAgain"===i||("doNothing"!==i?(s=!0,(0,Xt.Cs)(i,r,e,a,n),!1):void 0)});return l?{runFullQueryAgain:!0}:{runFullQueryAgain:!1,changed:s,newResults:a}}var rr=function(){function e(){this._map=new Map}return e.prototype.getByQuery=function(e){var t=e.toString();return i(this._map,t,()=>e)},e}();function ar(e,t){t.uncached=!0;var r=t.toString();e._map.delete(r)}function nr(e){return e.refCount$.observers.length}var ir,sr,or=(ir=100,sr=3e4,(e,t)=>{if(!(t._map.size0||(0===i._lastEnsureEqual&&i._creationTimee._lastEnsureEqual-t._lastEnsureEqual).slice(0,s).forEach(e=>ar(t,e))}}),cr=new WeakSet;var ur=function(){function e(e,t,r){this.cacheItemByDocId=new Map,this.tasks=new Set,this.registry="function"==typeof FinalizationRegistry?new FinalizationRegistry(e=>{var t=e.docId,r=this.cacheItemByDocId.get(t);r&&(r[0].delete(e.revisionHeight+e.lwt+""),0===r[0].size&&this.cacheItemByDocId.delete(t))}):void 0,this.primaryPath=e,this.changes$=t,this.documentCreator=r,t.subscribe(e=>{this.tasks.add(()=>{for(var t=this.cacheItemByDocId,r=0;r{this.processTasks()})})}var t=e.prototype;return t.processTasks=function(){0!==this.tasks.size&&(Array.from(this.tasks).forEach(e=>e()),this.tasks.clear())},t.getLatestDocumentData=function(e){return this.processTasks(),n(this.cacheItemByDocId,e)[1]},t.getLatestDocumentDataIfExists=function(e){this.processTasks();var t=this.cacheItemByDocId.get(e);if(t)return t[1]},(0,b.A)(e,[{key:"getCachedRxDocuments",get:function(){return u(this,"getCachedRxDocuments",hr(this))}},{key:"getCachedRxDocument",get:function(){var e=hr(this);return u(this,"getCachedRxDocument",t=>e([t])[0])}}])}();function hr(e){var t=e.primaryPath,r=e.cacheItemByDocId,a=e.registry,n=x.deepFreezeWhenDevMode,i=e.documentCreator;return s=>{for(var o=new Array(s.length),c=[],u=0;u0&&a&&(e.tasks.add(()=>{for(var e=0;e{e.processTasks()})),o}}function lr(e,t){return(0,e.getCachedRxDocuments)(t)}var dr="function"==typeof WeakRef?function(e){return new WeakRef(e)}:function(e){return{deref:()=>e}};var mr=function(){function e(e,t,r){this.time=ie(),this.query=e,this.count=r,this.documents=lr(this.query.collection._docCache,t)}return e.prototype.getValue=function(e){var t=this.query.op;if("count"===t)return this.count;if("findOne"===t){var r=0===this.documents.length?null:this.documents[0];if(!r&&e)throw R("QU10",{collection:this.query.collection.name,query:this.query.mangoQuery,op:t});return r}return"findByIds"===t?this.docsMap:this.documents.slice(0)},(0,b.A)(e,[{key:"docsData",get:function(){return u(this,"docsData",this.documents.map(e=>e._data))}},{key:"docsDataMap",get:function(){var e=new Map;return this.documents.forEach(t=>{e.set(t.primary,t._data)}),u(this,"docsDataMap",e)}},{key:"docsMap",get:function(){for(var e=new Map,t=this.documents,r=0;r"string"!=typeof e))return r.$eq}return!1}(this.collection.schema.primaryPath,t)}var t=e.prototype;return t._setResultData=function(e){if(void 0===e)throw R("QU18",{database:this.collection.database.name,collection:this.collection.name});if("number"!=typeof e){e instanceof Map&&(e=Array.from(e.values()));var t=new mr(this,e,e.length);this._result=t}else this._result=new mr(this,[],e)},t._execOverDatabase=async function(){if(this._execOverDatabaseCount=this._execOverDatabaseCount+1,"count"===this.op){var e=this.getPreparedQuery(),t=await this.collection.storageInstance.count(e);if("slow"!==t.mode||this.collection.database.allowSlowCount)return{result:t.count,counter:this.collection._changeEventBuffer.getCounter()};throw R("QU14",{collection:this.collection,queryObj:this.mangoQuery})}if("findByIds"===this.op){var r=(0,me.ZN)(this.mangoQuery.selector)[this.collection.schema.primaryPath].$in,a=new Map,n=[];if(r.forEach(e=>{var t=this.collection._docCache.getLatestDocumentDataIfExists(e);if(t){if(!t._deleted){var r=this.collection._docCache.getCachedRxDocument(t);a.set(e,r)}}else n.push(e)}),n.length>0)(await this.collection.storageInstance.findDocumentsById(n,!1)).forEach(e=>{var t=this.collection._docCache.getCachedRxDocument(e);a.set(t.primary,t)});return{result:a,counter:this.collection._changeEventBuffer.getCounter()}}var i=await gr(this);return{result:i.docs,counter:i.counter}},t.exec=async function(e){if(e&&"findOne"!==this.op)throw R("QU9",{collection:this.collection.name,query:this.mangoQuery,op:this.op});return await yr(this),(0,me.ZN)(this._result).getValue(e)},t.toString=function(){var e=o({op:this.op,query:Ze(this.collection.schema.jsonSchema,this.mangoQuery),other:this.other},!0),t=JSON.stringify(e);return this.toString=()=>t,t},t.getPreparedQuery=function(){var e={rxQuery:this,mangoQuery:Ze(this.collection.schema.jsonSchema,this.mangoQuery)};e.mangoQuery.selector._deleted={$eq:!1},e.mangoQuery.index&&e.mangoQuery.index.unshift("_deleted"),it("prePrepareQuery",e);var t=Ge(this.collection.schema.jsonSchema,e.mangoQuery);return this.getPreparedQuery=()=>t,t},t.doesDocumentDataMatch=function(e){return!e._deleted&&this.queryMatcher(e)},t.remove=async function(){var e=await this.exec();if(Array.isArray(e)){var t=await this.collection.bulkRemove(e);if(t.error.length>0)throw P(t.error[0]);return t.success}return e.remove()},t.incrementalRemove=function(){return Je(this.asRxQuery,e=>e.incrementalRemove())},t.update=function(e){throw qt("update")},t.patch=function(e){return Je(this.asRxQuery,t=>t.patch(e))},t.incrementalPatch=function(e){return Je(this.asRxQuery,t=>t.incrementalPatch(e))},t.modify=function(e){return Je(this.asRxQuery,t=>t.modify(e))},t.incrementalModify=function(e){return Je(this.asRxQuery,t=>t.incrementalModify(e))},t.where=function(e){throw qt("query-builder")},t.sort=function(e){throw qt("query-builder")},t.skip=function(e){throw qt("query-builder")},t.limit=function(e){throw qt("query-builder")},(0,b.A)(e,[{key:"$",get:function(){if(!this._$){var e=this.collection.eventBulks$.pipe((0,Nt.p)(e=>!e.isLocal),(0,Bt.Z)(null),(0,Gt.Z)(()=>yr(this)),(0,$t.T)(()=>this._result),(0,At.t)(me.bz),(0,Mt.F)((e,t)=>!(!e||e.time!==(0,me.ZN)(t).time)),(0,Nt.p)(e=>!!e),(0,$t.T)(e=>(0,me.ZN)(e).getValue()));this._$=(0,Jt.h)(e,this.refCount$.pipe((0,Nt.p)(()=>!1)))}return this._$}},{key:"$$",get:function(){return this.collection.database.getReactivityFactory().fromObservable(this.$,void 0,this.collection.database)}},{key:"queryMatcher",get:function(){this.collection.schema.jsonSchema;return u(this,"queryMatcher",Ve(0,Ze(this.collection.schema.jsonSchema,this.mangoQuery)))}},{key:"asRxQuery",get:function(){return this}}])}();function vr(e,t,r,a){it("preCreateRxQuery",{op:e,queryObj:t,collection:r,other:a});var n,i,s=new pr(e,t,r,a);return s=(n=s).collection._queryCache.getByQuery(n),i=r,cr.has(i)||(cr.add(i),(0,ue.dY)().then(()=>(0,ue.Ve)(200)).then(()=>{i.closed||i.cacheReplacementPolicy(i,i._queryCache),cr.delete(i)})),s}async function yr(e){return e.collection.awaitBeforeReads.size>0&&await Promise.all(Array.from(e.collection.awaitBeforeReads).map(e=>e())),e._ensureEqualQueue=e._ensureEqualQueue.then(()=>function(e){if(e._lastEnsureEqual=ie(),e.collection.database.closed||function(e){var t=e.asRxQuery.collection._changeEventBuffer.getCounter();return e._latestChangeEvent>=t}(e))return ue.Dr;var t=!1,r=!1;-1===e._latestChangeEvent&&(r=!0);if(!r){var a=e.asRxQuery.collection._changeEventBuffer.getFrom(e._latestChangeEvent+1);if(null===a)r=!0;else{e._latestChangeEvent=e.asRxQuery.collection._changeEventBuffer.getCounter();var n=e.asRxQuery.collection._changeEventBuffer.reduceByLastOfDoc(a);if("count"===e.op){var i=(0,me.ZN)(e._result).count,s=i;n.forEach(t=>{var r=t.previousDocumentData&&e.doesDocumentDataMatch(t.previousDocumentData),a=e.doesDocumentDataMatch(t.documentData);!r&&a&&s++,r&&!a&&s--}),s!==i&&(t=!0,e._setResultData(s))}else{var o=tr(e,n);o.runFullQueryAgain?r=!0:o.changed&&(t=!0,e._setResultData(o.newResults))}}}if(r)return e._execOverDatabase().then(r=>{var a=r.result;return e._latestChangeEvent=r.counter,"number"==typeof a?(e._result&&a===e._result.count||(t=!0,e._setResultData(a)),t):(e._result&&function(e,t,r){if(t.length!==r.length)return!1;for(var a=0,n=t.length;a{a++});if(e.isFindOneByIdQuery)if(Array.isArray(e.isFindOneByIdQuery)){var i=e.isFindOneByIdQuery;if(i=i.filter(r=>{var a=e.collection._docCache.getLatestDocumentDataIfExists(r);return!a||(a._deleted||t.push(a),!1)}),i.length>0){var s=await r.storageInstance.findDocumentsById(i,!1);t=t.concat(s)}}else{var o=e.isFindOneByIdQuery,c=e.collection._docCache.getLatestDocumentDataIfExists(o);if(!c){var u=await r.storageInstance.findDocumentsById([o],!1);u[0]&&(c=u[0])}c&&!c._deleted&&t.push(c)}else{var h=e.getPreparedQuery(),l=await r.storageInstance.query(h);t=l.documents}return n.unsubscribe(),a>0?(await(0,ue.ND)(0),gr(e)):{docs:t,counter:r._changeEventBuffer.getCounter()}}var br="collection",wr="storage-token",Dr=q({version:0,title:"RxInternalDocument",primaryKey:{key:"id",fields:["context","key"],separator:"|"},type:"object",properties:{id:{type:"string",maxLength:200},key:{type:"string"},context:{type:"string",enum:[br,wr,"rx-migration-status","rx-pipeline-checkpoint","OTHER"]},data:{type:"object",additionalProperties:!0}},indexes:[],required:["key","context","data"],additionalProperties:!1,sharding:{shards:1,mode:"collection"}});function xr(e,t){return A(Dr,{key:e,context:t})}async function _r(e){var t=Ge(e.schema,{selector:{context:br,_deleted:{$eq:!1}},sort:[{id:"asc"}],skip:0});return(await e.query(t)).documents}var kr="storageToken",Ir=xr(kr,wr);function Er(e,t){return e+"-"+t.version}function Cr(e,t){return t=function(e,t){for(var r=Object.keys(e.defaultValues),a=0;ae.data.name===n),u=[];c.forEach(e=>{u.push({collectionName:e.data.name,schema:e.data.schema,isCollection:!0}),e.data.connectedStorages.forEach(e=>u.push({collectionName:e.collectionName,isCollection:!1,schema:e.schema}))});var h=new Set;if(u=u.filter(e=>{var t=e.collectionName+"||"+e.schema.version;return!h.has(t)&&(h.add(t),!0)}),await Promise.all(u.map(async t=>{var o=await e.createStorageInstance({collectionName:t.collectionName,databaseInstanceToken:r,databaseName:a,multiInstance:i,options:{},schema:t.schema,password:s,devMode:x.isDevMode()});await o.remove(),t.isCollection&&await st("postRemoveRxCollection",{storage:e,databaseName:a,collectionName:n})})),o){var l=c.map(e=>{var t=dt(e);return t._deleted=!0,t._meta.lwt=ie(),t._rev=at(r,e),{previous:e,document:t}});await t.bulkWrite(l,"rx-database-remove-collection-all")}}function Or(e){if(e.closed)throw R("COL21",{collection:e.name,version:e.schema.version})}var Sr=function(){function e(e){this.subs=[],this.counter=0,this.eventCounterMap=new WeakMap,this.buffer=[],this.limit=100,this.tasks=new Set,this.collection=e,this.subs.push(this.collection.eventBulks$.pipe((0,Nt.p)(e=>!e.isLocal)).subscribe(e=>{this.tasks.add(()=>this._handleChangeEvents(e.events)),this.tasks.size<=1&&(0,ue.vN)().then(()=>{this.processTasks()})}))}var t=e.prototype;return t.processTasks=function(){0!==this.tasks.size&&(Array.from(this.tasks).forEach(e=>e()),this.tasks.clear())},t._handleChangeEvents=function(e){var t=this.counter;this.counter=this.counter+e.length,e.length>this.limit?this.buffer=e.slice(-1*e.length):(this.buffer=this.buffer.concat(e),this.buffer=this.buffer.slice(-1*this.limit));for(var r=t+1,a=this.eventCounterMap,n=0;nt(e))},t.reduceByLastOfDoc=function(e){return this.processTasks(),e.slice(0)},t.close=function(){this.tasks.clear(),this.subs.forEach(e=>e.unsubscribe())},e}();var jr=new WeakMap;function Pr(e){var t=e.schema.getDocumentPrototype(),r=function(e){var t={};return Object.entries(e.methods).forEach(([e,r])=>{t[e]=r}),t}(e),a={};return[t,r,Kt].forEach(e=>{Object.getOwnPropertyNames(e).forEach(t=>{var r=Object.getOwnPropertyDescriptor(e,t),n=!0;(t.startsWith("_")||t.endsWith("_")||t.startsWith("$")||t.endsWith("$"))&&(n=!1),"function"==typeof r.value?Object.defineProperty(a,t,{get(){return r.value.bind(this)},enumerable:n,configurable:!1}):(r.enumerable=n,r.configurable=!1,r.writable&&(r.writable=!1),Object.defineProperty(a,t,r))})}),a}function $r(e,t,r){var a=function(e,t,r){var a=new e(t,r);return it("createRxDocument",a),a}(t,e,x.deepFreezeWhenDevMode(r));return e._runHooksSync("post","create",r,a),it("postCreateRxDocument",a),a}var Nr={isEqual:(e,t,r)=>(e=Br(e),t=Br(t),(0,St.b)(lt(e),lt(t))),resolve:e=>e.realMasterState};function Br(e){return e._attachments||((e=s(e))._attachments={}),e}var Mr=["pre","post"],Ar=["insert","save","remove","create"],qr=!1,Tr=new Set,Lr=function(){function e(e,t,r,a,n={},i={},s={},o={},c={},u=or,h={},l=Nr){this.storageInstance={},this.timeouts=new Set,this.incrementalWriteQueue={},this.awaitBeforeReads=new Set,this._incrementalUpsertQueues=new Map,this.synced=!1,this.hooks={},this._subs=[],this._docCache={},this._queryCache=new rr,this.$={},this.checkpoint$={},this._changeEventBuffer={},this.eventBulks$={},this.onClose=[],this.closed=!1,this.onRemove=[],this.database=e,this.name=t,this.schema=r,this.internalStorageInstance=a,this.instanceCreationOptions=n,this.migrationStrategies=i,this.methods=s,this.attachments=o,this.options=c,this.cacheReplacementPolicy=u,this.statics=h,this.conflictHandler=l,function(e){if(qr)return;qr=!0;var t=Object.getPrototypeOf(e);Ar.forEach(e=>{Mr.map(r=>{var a=r+(0,N.Z2)(e);t[a]=function(t,a){return this.addHook(r,e,t,a)}})})}(this.asRxCollection),e&&(this.eventBulks$=e.eventBulks$.pipe((0,Nt.p)(e=>e.collectionName===this.name))),this.database&&Tr.add(this)}var t=e.prototype;return t.prepare=async function(){if(!await de()){for(var e=0;e<10&&Tr.size>16;)e++,await this.promiseWait(30);if(Tr.size>16)throw R("COL23",{database:this.database.name,collection:this.name,args:{existing:Array.from(Tr.values()).map(e=>({db:e.database?e.database.name:"",c:e.name}))}})}var t,r;this.storageInstance=mt(this.database,this.internalStorageInstance,this.schema.jsonSchema),this.incrementalWriteQueue=new Ft(this.storageInstance,this.schema.primaryPath,(e,t)=>Zt(this,e,t),e=>this._runHooks("post","save",e)),this.$=this.eventBulks$.pipe((0,Gt.Z)(e=>Wt(e))),this.checkpoint$=this.eventBulks$.pipe((0,$t.T)(e=>e.checkpoint)),this._changeEventBuffer=(t=this.asRxCollection,new Sr(t)),this._docCache=new ur(this.schema.primaryPath,this.eventBulks$.pipe((0,Nt.p)(e=>!e.isLocal),(0,$t.T)(e=>e.events)),e=>{var t;return r||(t=this.asRxCollection,r=i(jr,t,()=>zt(Pr(t)))),$r(this.asRxCollection,r,e)});var a=this.database.internalStore.changeStream().pipe((0,Nt.p)(e=>{var t=this.name+"-"+this.schema.version;return!!e.events.find(e=>"collection"===e.documentData.context&&e.documentData.key===t&&"DELETE"===e.operation)})).subscribe(async()=>{await this.close(),await Promise.all(this.onRemove.map(e=>e()))});this._subs.push(a);var n=await this.database.storageToken,s=this.storageInstance.changeStream().subscribe(e=>{var t={id:e.id,isLocal:!1,internal:!1,collectionName:this.name,storageToken:n,events:e.events,databaseToken:this.database.token,checkpoint:e.checkpoint,context:e.context};this.database.$emit(t)});return this._subs.push(s),ue.em},t.cleanup=function(e){throw Or(this),qt("cleanup")},t.migrationNeeded=function(){throw qt("migration-schema")},t.getMigrationState=function(){throw qt("migration-schema")},t.startMigration=function(e=10){return Or(this),this.getMigrationState().startMigration(e)},t.migratePromise=function(e=10){return this.getMigrationState().migratePromise(e)},t.insert=async function(e){Or(this);var t=await this.bulkInsert([e]),r=t.error[0];return ut(this,e[this.schema.primaryPath],e,r),(0,me.ZN)(t.success[0])},t.insertIfNotExists=async function(e){var t=await this.bulkInsert([e]);if(t.error.length>0){var r=t.error[0];if(409===r.status){var a=r.documentInDb;return lr(this._docCache,[a])[0]}throw r}return t.success[0]},t.bulkInsert=async function(e){if(Or(this),0===e.length)return{success:[],error:[]};var t,r=this.schema.primaryPath,a=new Set;if(this.hasHooks("pre","insert"))t=await Promise.all(e.map(e=>{var t=Cr(this.schema,e);return this._runHooks("pre","insert",t).then(()=>(a.add(t[r]),{document:t}))}));else{t=new Array(e.length);for(var n=this.schema,i=0;i{var t=e.document;l.set(t[r],t)}),await Promise.all(h.success.map(e=>this._runHooks("post","insert",l.get(e.primary),e)))}return h},t.bulkRemove=async function(e){Or(this);var t,r=this.schema.primaryPath;if(0===e.length)return{success:[],error:[]};"string"==typeof e[0]?t=await this.findByIds(e).exec():(t=new Map,e.forEach(e=>t.set(e.primary,e)));var a=[],n=new Map;Array.from(t.values()).forEach(e=>{var t=e.toMutableJSON(!0);a.push(t),n.set(e.primary,t)}),await Promise.all(a.map(e=>{var r=e[this.schema.primaryPath];return this._runHooks("pre","remove",e,t.get(r))}));var i=a.map(e=>{var t=s(e);return t._deleted=!0,{previous:e,document:t}}),o=await this.storageInstance.bulkWrite(i,"rx-collection-bulk-remove"),c=vt(this.schema.primaryPath,i,o),u=[],h=c.map(e=>{var t=e[r],a=this._docCache.getCachedRxDocument(e);return u.push(a),t});return await Promise.all(h.map(e=>this._runHooks("post","remove",n.get(e),t.get(e)))),{success:u,error:o.error}},t.bulkUpsert=async function(e){Or(this);var t=[],r=new Map;e.forEach(e=>{var a=Cr(this.schema,e),n=a[this.schema.primaryPath];if(!n)throw R("COL3",{primaryPath:this.schema.primaryPath,data:a,schema:this.schema.jsonSchema});r.set(n,a),t.push(a)});var a=await this.bulkInsert(t),i=a.success.slice(0),s=[];return await Promise.all(a.error.map(async e=>{if(409!==e.status)s.push(e);else{var t=e.documentId,a=n(r,t),o=(0,me.ZN)(e.documentInDb),c=this._docCache.getCachedRxDocuments([o])[0],u=await c.incrementalModify(()=>a);i.push(u)}})),{error:s,success:i}},t.upsert=async function(e){Or(this);var t=await this.bulkUpsert([e]);return ut(this.asRxCollection,e[this.schema.primaryPath],e,t.error[0]),t.success[0]},t.incrementalUpsert=function(e){Or(this);var t=Cr(this.schema,e),r=t[this.schema.primaryPath];if(!r)throw R("COL4",{data:e});var a=this._incrementalUpsertQueues.get(r);return a||(a=ue.em),a=a.then(()=>function(e,t,r){var a=e._docCache.getLatestDocumentDataIfExists(t);if(a)return Promise.resolve({doc:e._docCache.getCachedRxDocuments([a])[0],inserted:!1});return e.findOne(t).exec().then(t=>t?{doc:t,inserted:!1}:e.insert(r).then(e=>({doc:e,inserted:!0})))}(this,r,t)).then(e=>e.inserted?e.doc:function(e,t){return e.incrementalModify(e=>t)}(e.doc,t)),this._incrementalUpsertQueues.set(r,a),a},t.find=function(e){return Or(this),it("prePrepareRxQuery",{op:"find",queryObj:e,collection:this}),e||(e={selector:{}}),vr("find",e,this)},t.findOne=function(e){var t;if(Or(this),it("prePrepareRxQuery",{op:"findOne",queryObj:e,collection:this}),"string"==typeof e)t=vr("findOne",{selector:{[this.schema.primaryPath]:e},limit:1},this);else{if(e||(e={selector:{}}),e.limit)throw R("QU6");(e=s(e)).limit=1,t=vr("findOne",e,this)}return t},t.count=function(e){return Or(this),e||(e={selector:{}}),vr("count",e,this)},t.findByIds=function(e){return Or(this),vr("findByIds",{selector:{[this.schema.primaryPath]:{$in:e.slice(0)}}},this)},t.exportJSON=function(){throw qt("json-dump")},t.importJSON=function(e){throw qt("json-dump")},t.insertCRDT=function(e){throw qt("crdt")},t.addPipeline=function(e){throw qt("pipeline")},t.addHook=function(e,t,r,a=!1){if("function"!=typeof r)throw O("COL7",{key:t,when:e});if(!Mr.includes(e))throw O("COL8",{key:t,when:e});if(!Ar.includes(t))throw R("COL9",{key:t});if("post"===e&&"create"===t&&!0===a)throw R("COL10",{when:e,key:t,parallel:a});var n=r.bind(this),i=a?"parallel":"series";this.hooks[t]=this.hooks[t]||{},this.hooks[t][e]=this.hooks[t][e]||{series:[],parallel:[]},this.hooks[t][e][i].push(n)},t.getHooks=function(e,t){return this.hooks[t]&&this.hooks[t][e]?this.hooks[t][e]:{series:[],parallel:[]}},t.hasHooks=function(e,t){if(!this.hooks[t]||!this.hooks[t][e])return!1;var r=this.getHooks(e,t);return!!r&&(r.series.length>0||r.parallel.length>0)},t._runHooks=function(e,t,r,a){var n=this.getHooks(e,t);if(!n)return ue.em;var i=n.series.map(e=>()=>e(r,a));return(0,ue.h$)(i).then(()=>Promise.all(n.parallel.map(e=>e(r,a))))},t._runHooksSync=function(e,t,r,a){if(this.hasHooks(e,t)){var n=this.getHooks(e,t);n&&n.series.forEach(e=>e(r,a))}},t.promiseWait=function(e){return new Promise(t=>{var r=setTimeout(()=>{this.timeouts.delete(r),t()},e);this.timeouts.add(r)})},t.close=async function(){return this.closed?ue.Dr:(Tr.delete(this),await Promise.all(this.onClose.map(e=>e())),this.closed=!0,Array.from(this.timeouts).forEach(e=>clearTimeout(e)),this._changeEventBuffer&&this._changeEventBuffer.close(),this.database.requestIdlePromise().then(()=>this.storageInstance.close()).then(()=>(this._subs.forEach(e=>e.unsubscribe()),delete this.database.collections[this.name],this.database.collectionsSubject$.next({collection:this.asRxCollection,type:"CLOSED"}),st("postCloseRxCollection",this).then(()=>!0))))},t.remove=async function(){await this.close(),await Promise.all(this.onRemove.map(e=>e())),await Rr(this.database.storage,this.database.internalStore,this.database.token,this.database.name,this.name,this.database.multiInstance,this.database.password,this.database.hashFunction)},(0,b.A)(e,[{key:"insert$",get:function(){return this.$.pipe((0,Nt.p)(e=>"INSERT"===e.operation))}},{key:"update$",get:function(){return this.$.pipe((0,Nt.p)(e=>"UPDATE"===e.operation))}},{key:"remove$",get:function(){return this.$.pipe((0,Nt.p)(e=>"DELETE"===e.operation))}},{key:"asRxCollection",get:function(){return this}}])}();var Qr=r(7635),Wr=r(5525),Fr=new Set,Hr=new Map,Kr=function(){function e(e,t,r,a,n,i,s=!1,o={},c,u,h,l,d,m){this.idleQueue=new Qr.G,this.rxdbVersion=Ct,this.storageInstances=new Set,this._subs=[],this.startupErrors=[],this.onClose=[],this.closed=!1,this.collections={},this.states={},this.eventBulks$=new ae.B,this.closePromise=null,this.collectionsSubject$=new ae.B,this.observable$=this.eventBulks$.pipe((0,Gt.Z)(e=>Wt(e))),this.storageToken=ue.Dr,this.storageTokenDocument=ue.Dr,this.emittedEventBulkIds=new Wr.p4(6e4),this.name=e,this.token=t,this.storage=r,this.instanceCreationOptions=a,this.password=n,this.multiInstance=i,this.eventReduce=s,this.options=o,this.internalStore=c,this.hashFunction=u,this.cleanupPolicy=h,this.allowSlowCount=l,this.reactivity=d,this.onClosed=m,"pseudoInstance"!==this.name&&(this.internalStore=mt(this.asRxDatabase,c,Dr),this.storageTokenDocument=async function(e){var t=(0,N.zs)(10),r=e.password?await e.hashFunction(JSON.stringify(e.password)):void 0,a=[{document:{id:Ir,context:wr,key:kr,data:{rxdbVersion:e.rxdbVersion,token:t,instanceToken:e.token,passwordHash:r},_deleted:!1,_meta:{lwt:1},_rev:"",_attachments:{}}}],n=await e.internalStore.bulkWrite(a,"internal-add-storage-token");if(!n.error[0])return vt("id",a,n)[0];var i=(0,me.ZN)(n.error[0]);if(i.isError&&S(i)){var s=i;if(!function(e,t){if(!e)return!1;var r=e.split(".")[0],a=t.split(".")[0];return"16"===r&&"17"===a||r===a}(s.documentInDb.data.rxdbVersion,e.rxdbVersion))throw R("DM5",{args:{database:e.name,databaseStateVersion:s.documentInDb.data.rxdbVersion,codeVersion:e.rxdbVersion}});if(r&&r!==s.documentInDb.data.passwordHash)throw R("DB1",{passwordHash:r,existingPasswordHash:s.documentInDb.data.passwordHash});var o=s.documentInDb;return(0,me.ZN)(o)}throw i}(this.asRxDatabase).catch(e=>this.startupErrors.push(e)),this.storageToken=this.storageTokenDocument.then(e=>e.data.token).catch(e=>this.startupErrors.push(e)))}var t=e.prototype;return t.getReactivityFactory=function(){if(!this.reactivity)throw R("DB14",{database:this.name});return this.reactivity},t[Symbol.asyncDispose]=async function(){await this.close()},t.$emit=function(e){this.emittedEventBulkIds.has(e.id)||(this.emittedEventBulkIds.add(e.id),this.eventBulks$.next(e))},t.removeCollectionDoc=async function(e,t){var r=await ot(this.internalStore,xr(Er(e,t),br));if(!r)throw R("SNH",{name:e,schema:t});var a=dt(r);a._deleted=!0,await this.internalStore.bulkWrite([{document:a,previous:r}],"rx-database-remove-collection")},t.addCollections=async function(e){var t={},r={},a=[],n={};await Promise.all(Object.entries(e).map(async([e,i])=>{var o=e,c=i.schema;t[o]=c;var u=Pt(c,this.hashFunction);if(r[o]=u,this.collections[e])throw R("DB3",{name:e});var h=Er(e,c),l={id:xr(h,br),key:h,context:br,data:{name:o,schemaHash:await u.hash,schema:u.jsonSchema,version:u.version,connectedStorages:[]},_deleted:!1,_meta:{lwt:1},_rev:"",_attachments:{}};a.push({document:l});var d=Object.assign({},i,{name:o,schema:u,database:this}),m=s(i);m.database=this,m.name=e,it("preCreateRxCollection",m),d.conflictHandler=m.conflictHandler,n[o]=d}));var i=await this.internalStore.bulkWrite(a,"rx-database-add-collection");await async function(e){if(await e.storageToken,e.startupErrors[0])throw e.startupErrors[0]}(this),await Promise.all(i.error.map(async e=>{if(409!==e.status)throw R("DB12",{database:this.name,writeError:e});var a=(0,me.ZN)(e.documentInDb),n=a.data.name,i=r[n];if(a.data.schemaHash!==await i.hash)throw R("DB6",{database:this.name,collection:n,previousSchemaHash:a.data.schemaHash,schemaHash:await i.hash,previousSchema:a.data.schema,schema:(0,me.ZN)(t[n])})}));var o={};return await Promise.all(Object.keys(e).map(async e=>{var t=n[e],r=await async function({database:e,name:t,schema:r,instanceCreationOptions:a={},migrationStrategies:n={},autoMigrate:i=!0,statics:s={},methods:o={},attachments:c={},options:u={},localDocuments:h=!1,cacheReplacementPolicy:l=or,conflictHandler:d=Nr}){var m={databaseInstanceToken:e.token,databaseName:e.name,collectionName:t,schema:r.jsonSchema,options:a,multiInstance:e.multiInstance,password:e.password,devMode:x.isDevMode()};it("preCreateRxStorageInstance",m);var f=await async function(e,t){return t.multiInstance=e.multiInstance,await e.storage.createStorageInstance(t)}(e,m),p=new Lr(e,t,r,f,a,n,o,c,u,l,s,d);try{await p.prepare(),Object.entries(s).forEach(([e,t])=>{Object.defineProperty(p,e,{get:()=>t.bind(p)})}),it("createRxCollection",{collection:p,creator:{name:t,schema:r,storageInstance:f,instanceCreationOptions:a,migrationStrategies:n,methods:o,attachments:c,options:u,cacheReplacementPolicy:l,localDocuments:h,statics:s}}),i&&0!==p.schema.version&&await p.migratePromise()}catch(v){throw Tr.delete(p),await f.close(),v}return p}(t);o[e]=r,this.collections[e]=r,this.collectionsSubject$.next({collection:r,type:"ADDED"}),this[e]||Object.defineProperty(this,e,{get:()=>this.collections[e]})})),o},t.lockedRun=function(e){return this.idleQueue.wrapCall(e)},t.requestIdlePromise=function(){return this.idleQueue.requestIdlePromise()},t.exportJSON=function(e){throw qt("json-dump")},t.addState=function(e){throw qt("state")},t.importJSON=function(e){throw qt("json-dump")},t.backup=function(e){throw qt("backup")},t.leaderElector=function(){throw qt("leader-election")},t.isLeader=function(){throw qt("leader-election")},t.waitForLeadership=function(){throw qt("leader-election")},t.migrationStates=function(){throw qt("migration-schema")},t.close=function(){if(this.closePromise)return this.closePromise;var{promise:e,resolve:t}=zr(),r=e=>{this.onClosed&&this.onClosed(),this.closed=!0,t(e)};return this.closePromise=e,(async()=>{if(await st("preCloseRxDatabase",this),this.eventBulks$.complete(),this.collectionsSubject$.complete(),this._subs.map(e=>e.unsubscribe()),"pseudoInstance"!==this.name)return this.requestIdlePromise().then(()=>Promise.all(this.onClose.map(e=>e()))).then(()=>Promise.all(Object.keys(this.collections).map(e=>this.collections[e]).map(e=>e.close()))).then(()=>this.internalStore.close()).then(()=>r(!0));r(!1)})(),e},t.remove=function(){return this.close().then(()=>async function(e,t,r=!0,a){var n=(0,N.zs)(10),i=await Ur(n,t,e,{},r,a),s=await _r(i),o=new Set;s.forEach(e=>o.add(e.data.name));var c=Array.from(o);return await Promise.all(c.map(s=>Rr(t,i,n,e,s,r,a))),await st("postRemoveRxDatabase",{databaseName:e,storage:t}),await i.remove(),c}(this.name,this.storage,this.multiInstance,this.password))},(0,b.A)(e,[{key:"$",get:function(){return this.observable$}},{key:"collections$",get:function(){return this.collectionsSubject$.asObservable()}},{key:"asRxDatabase",get:function(){return this}}])}();function zr(){var e,t;return{promise:new Promise((r,a)=>{e=r,t=a}),resolve:e,reject:t}}function Zr(e,t){return t.name+"|"+e}async function Ur(e,t,r,a,n,i){return await t.createStorageInstance({databaseInstanceToken:e,databaseName:r,collectionName:"_rxdb_internal",schema:Dr,options:a,multiInstance:n,password:i,devMode:x.isDevMode()})}function Vr({storage:e,instanceCreationOptions:t,name:r,password:a,multiInstance:n=!0,eventReduce:i=!0,ignoreDuplicate:s=!1,options:o={},cleanupPolicy:c,closeDuplicates:u=!1,allowSlowCount:h=!1,localDocuments:l=!1,hashFunction:d=ce,reactivity:m}){it("preCreateRxDatabase",{storage:e,instanceCreationOptions:t,name:r,password:a,multiInstance:n,eventReduce:i,ignoreDuplicate:s,options:o,localDocuments:l});var f=Zr(r,e),p=Hr.get(f)||new Set,v=zr(),y=Array.from(p),g=()=>{p.delete(v.promise),Fr.delete(f)};return p.add(v.promise),Hr.set(f,p),(async()=>{if(u&&await Promise.all(y.map(e=>e.catch(()=>null).then(e=>e&&e.close()))),s){if(!x.isDevMode())throw R("DB9",{database:r})}else!function(e,t){if(Fr.has(Zr(e,t)))throw R("DB8",{name:e,storage:t.name,link:"https://rxdb.info/rx-database.html#ignoreduplicate"})}(r,e);Fr.add(f);var p=(0,N.zs)(10),v=await Ur(p,e,r,t,n,a),b=new Kr(r,p,e,t,a,n,i,o,v,d,c,h,m,g);return await st("createRxDatabase",{database:b,creator:{storage:e,instanceCreationOptions:t,name:r,password:a,multiInstance:n,eventReduce:i,ignoreDuplicate:s,options:o,localDocuments:l}}),b})().then(e=>{v.resolve(e)}).catch(e=>{v.reject(e),g()}),v.promise}var Jr={RxSchema:jt.prototype,RxDocument:Kt,RxQuery:pr.prototype,RxCollection:Lr.prototype,RxDatabase:Kr.prototype},Gr=new Set,Xr=new Set;var Yr=new WeakMap,ea=new WeakMap;function ta(e){var t=Yr.get(e);if(!t){var r=e.database?e.database:e,a=e.database?e.name:"";throw R("LD8",{database:r.name,collection:a})}return t}function ra(e,t,r,a,n,i){return t.createStorageInstance({databaseInstanceToken:e,databaseName:r,collectionName:ia(a),schema:sa,options:n,multiInstance:i,devMode:x.isDevMode()})}function aa(e){var t=Yr.get(e);if(t)return Yr.delete(e),t.then(e=>e.storageInstance.close())}async function na(e,t,r){var a=(0,N.zs)(10),n=await ra(a,e,t,r,{},!1);await n.remove()}function ia(e){return"plugin-local-documents-"+e}var sa=q({title:"RxLocalDocument",version:0,primaryKey:"id",type:"object",properties:{id:{type:"string",maxLength:128},data:{type:"object",additionalProperties:!0}},required:["id","data"]});async function oa(e,t){var r=await ta(this),a={id:e,data:t,_deleted:!1,_meta:{lwt:1},_rev:"",_attachments:{}};return ct(r.storageInstance,{document:a},"local-document-insert").then(e=>r.docCache.getCachedRxDocument(e))}function ca(e,t){return this.getLocal(e).then(r=>r?r.incrementalModify(()=>t):this.insertLocal(e,t))}async function ua(e){var t=await ta(this),r=t.docCache,a=r.getLatestDocumentDataIfExists(e);return a?Promise.resolve(r.getCachedRxDocument(a)):ot(t.storageInstance,e).then(e=>e?t.docCache.getCachedRxDocument(e):null)}function ha(e){return this.$.pipe((0,Bt.Z)(null),(0,Gt.Z)(async t=>t?{changeEvent:t}:{doc:await this.getLocal(e)}),(0,Gt.Z)(async t=>{if(t.changeEvent){var r=t.changeEvent;return r.isLocal&&r.documentId===e?{use:!0,doc:await this.getLocal(e)}:{use:!1}}return{use:!0,doc:t.doc}}),(0,Nt.p)(e=>e.use),(0,$t.T)(e=>e.doc))}var la=function(e){function t(t,r,a){var n;return(n=e.call(this,null,r)||this).id=t,n.parent=a,n}return(0,w.A)(t,e),t}(zt()),da={get isLocal(){return!0},get allAttachments$(){throw R("LD1",{document:this})},get primaryPath(){return"id"},get primary(){return this.id},get $(){var e=n(ea,this.parent),t=this.primary;return this.parent.eventBulks$.pipe((0,Nt.p)(e=>!!e.isLocal),(0,$t.T)(e=>e.events.find(e=>e.documentId===t)),(0,Nt.p)(e=>!!e),(0,$t.T)(e=>Tt((0,me.ZN)(e))),(0,Bt.Z)(e.docCache.getLatestDocumentData(this.primary)),(0,Mt.F)((e,t)=>e._rev===t._rev),(0,$t.T)(t=>e.docCache.getCachedRxDocument(t)),(0,At.t)(me.bz))},get $$(){var e=this,t=pa(e);return t.getReactivityFactory().fromObservable(e.$,e.getLatest()._data,t)},get deleted$$(){var e=this,t=pa(e);return t.getReactivityFactory().fromObservable(e.deleted$,e.getLatest().deleted,t)},getLatest(){var e=n(ea,this.parent),t=e.docCache.getLatestDocumentData(this.primary);return e.docCache.getCachedRxDocument(t)},get(e){if(e="data."+e,this._data){if("string"!=typeof e)throw O("LD2",{objPath:e});var t=v(this._data,e);return t=x.deepFreezeWhenDevMode(t)}},get$(e){if(e="data."+e,x.isDevMode()){if(e.includes(".item."))throw R("LD3",{objPath:e});if(e===this.primaryPath)throw R("LD4")}return this.$.pipe((0,$t.T)(e=>e._data),(0,$t.T)(t=>v(t,e)),(0,Mt.F)())},get$$(e){var t=pa(this);return t.getReactivityFactory().fromObservable(this.get$(e),this.getLatest().get(e),t)},async incrementalModify(e){var t=await ta(this.parent);return t.incrementalWriteQueue.addWrite(this._data,async t=>(t.data=await e(t.data,this),t)).then(e=>t.docCache.getCachedRxDocument(e))},incrementalPatch(e){return this.incrementalModify(t=>(Object.entries(e).forEach(([e,r])=>{t[e]=r}),t))},async _saveData(e){var t=await ta(this.parent),r=this._data;e.id=this.id;var a=[{previous:r,document:e}];return t.storageInstance.bulkWrite(a,"local-document-save-data").then(t=>{if(t.error[0])throw t.error[0];var r=vt(this.collection.schema.primaryPath,a,t)[0];(e=s(e))._rev=r._rev})},async remove(){var e=await ta(this.parent),t=s(this._data);return t._deleted=!0,ct(e.storageInstance,{previous:this._data,document:t},"local-document-remove").then(t=>e.docCache.getCachedRxDocument(t))}},ma=!1,fa=()=>{if(!ma){ma=!0;var e=Kt;Object.getOwnPropertyNames(e).forEach(t=>{if(!Object.getOwnPropertyDescriptor(da,t)){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(da,t,r)}});["populate","update","putAttachment","putAttachmentBase64","getAttachment","allAttachments"].forEach(e=>da[e]=(e=>()=>{throw R("LD6",{functionName:e})})(e))}};function pa(e){var t=e.parent;return t instanceof Kr?t:t.database}function va(e){var t=e.database?e.database:e,r=e.database?e.name:"",a=(async()=>{var a=await ra(t.token,t.storage,t.name,r,t.instanceCreationOptions,t.multiInstance);a=mt(t,a,sa);var n=new ur("id",t.eventBulks$.pipe((0,Nt.p)(e=>{var t=!1;return(""===r&&!e.collectionName||""!==r&&e.collectionName===r)&&(t=!0),t&&e.isLocal}),(0,$t.T)(e=>e.events)),t=>function(e,t){fa();var r=new la(e.id,e,t);return Object.setPrototypeOf(r,da),r.prototype=da,r}(t,e)),i=new Ft(a,"id",()=>{},()=>{}),s=await t.storageToken,o=a.changeStream().subscribe(r=>{for(var a=new Array(r.events.length),n=r.events,i=e.database?e.name:void 0,o=0;o{e.insertLocal=oa,e.upsertLocal=ca,e.getLocal=ua,e.getLocal$=ha},RxDatabase:e=>{e.insertLocal=oa,e.upsertLocal=ca,e.getLocal=ua,e.getLocal$=ha}},hooks:{createRxDatabase:{before:e=>{e.creator.localDocuments&&va(e.database)}},createRxCollection:{before:e=>{e.creator.localDocuments&&va(e.collection)}},preCloseRxDatabase:{after:e=>aa(e)},postCloseRxCollection:{after:e=>aa(e)},postRemoveRxDatabase:{after:e=>na(e.storage,e.databaseName,"")},postRemoveRxCollection:{after:e=>na(e.storage,e.databaseName,e.collectionName)}},overwritable:{}};let ga;function ba(){return"undefined"!=typeof window&&window.indexedDB}function wa(){return ga||(ga=(async()=>{!function(e){if(it("preAddRxPlugin",{plugin:e,plugins:Gr}),!Gr.has(e)){if(Xr.has(e.name))throw R("PL3",{name:e.name,plugin:e});if(Gr.add(e),Xr.add(e.name),!e.rxdb)throw O("PL1",{plugin:e});e.init&&e.init(),e.prototypes&&Object.entries(e.prototypes).forEach(([e,t])=>t(Jr[e])),e.overwritable&&Object.assign(x,e.overwritable),e.hooks&&Object.entries(e.hooks).forEach(([e,t])=>{t.after&&nt[e].push(t.after),t.before&&nt[e].unshift(t.before)})}}(ya);return await Vr({name:"rxdb-landing-v4",localDocuments:!0,storage:Ot()})})()),ga}},8342(e,t,r){r.d(t,{L$:()=>s,Z2:()=>i,zs:()=>n});var a="abcdefghijklmnopqrstuvwxyz";function n(e=10){for(var t="",r=0;rl,contentTitle:()=>i,default:()=>h,frontMatter:()=>r,metadata:()=>t,toc:()=>c});const t=JSON.parse('{"id":"releases/8.0.0","title":"Meet RxDB 8.0.0 - New Defaults & Performance","description":"Discover how RxDB 8.0.0 boosts performance, simplifies schema handling, and streamlines reactive data updates for modern apps.","source":"@site/docs/releases/8.0.0.md","sourceDirName":"releases","slug":"/releases/8.0.0.html","permalink":"/releases/8.0.0.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"Meet RxDB 8.0.0 - New Defaults & Performance","slug":"8.0.0.html","description":"Discover how RxDB 8.0.0 boosts performance, simplifies schema handling, and streamlines reactive data updates for modern apps."},"sidebar":"tutorialSidebar","previous":{"title":"9.0.0","permalink":"/releases/9.0.0.html"},"next":{"title":"Benefits of RxDB & Browser Databases","permalink":"/articles/browser-database.html"}}');var a=s(4848),o=s(8453);const r={title:"Meet RxDB 8.0.0 - New Defaults & Performance",slug:"8.0.0.html",description:"Discover how RxDB 8.0.0 boosts performance, simplifies schema handling, and streamlines reactive data updates for modern apps."},i="8.0.0",l={},c=[{value:"disableKeyCompression by default",id:"disablekeycompression-by-default",level:2},{value:"collection() now only accepts a RxJsonSchema as schema",id:"collection-now-only-accepts-a-rxjsonschema-as-schema",level:2},{value:"required fields have to be set via array",id:"required-fields-have-to-be-set-via-array",level:2},{value:"Setters are only callable on temporary documents",id:"setters-are-only-callable-on-temporary-documents",level:2},{value:"middleware-hooks contain plain json as first parameter and RxDocument as second",id:"middleware-hooks-contain-plain-json-as-first-parameter-and-rxdocument-as-second",level:2},{value:"multiInstance is now done via broadcast-channel",id:"multiinstance-is-now-done-via-broadcast-channel",level:2},{value:"Set QueryChangeDetection via RxDatabase-option",id:"set-querychangedetection-via-rxdatabase-option",level:2},{value:"Reuse an RxDocument-prototype per collection instead of adding getters/setters to each document",id:"reuse-an-rxdocument-prototype-per-collection-instead-of-adding-getterssetters-to-each-document",level:2},{value:"Rewritten the inMemory-plugin",id:"rewritten-the-inmemory-plugin",level:2},{value:"Some comparisons",id:"some-comparisons",level:2}];function d(e){const n={a:"a",code:"code",figure:"figure",h1:"h1",h2:"h2",header:"header",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,o.R)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n.header,{children:(0,a.jsx)(n.h1,{id:"800",children:"8.0.0"})}),"\n",(0,a.jsxs)(n.p,{children:["When I created RxDB, two years ago, there where some things that I did not consider and other things that I just decided wrong.\nWith the breaking version ",(0,a.jsx)(n.code,{children:"8.0.0"})," I rewrote some parts of RxDB and changed the API a bit. The focus laid on ",(0,a.jsx)(n.strong,{children:"better defaults"})," and ",(0,a.jsx)(n.strong,{children:"better performance"}),"."]}),"\n",(0,a.jsx)(n.h2,{id:"disablekeycompression-by-default",children:"disableKeyCompression by default"}),"\n",(0,a.jsxs)(n.p,{children:["Because the keyCompression was confusing and most users do not use it, it is now disabled by default. Also the naming was bad, so ",(0,a.jsx)(n.code,{children:"disableKeyCompression"})," is now renamed to ",(0,a.jsx)(n.code,{children:"keyCompression"})," which defaults to ",(0,a.jsx)(n.code,{children:"false"}),"."]}),"\n",(0,a.jsx)(n.h2,{id:"collection-now-only-accepts-a-rxjsonschema-as-schema",children:"collection() now only accepts a RxJsonSchema as schema"}),"\n",(0,a.jsxs)(n.p,{children:["In the past, it was allowed to set an ",(0,a.jsx)(n.code,{children:"RxSchema"})," or an ",(0,a.jsx)(n.code,{children:"RxJsonSchema"})," as ",(0,a.jsx)(n.code,{children:"schema"}),"-field when creating a collection. This was confusing and so it is now only allowed to use ",(0,a.jsx)(n.code,{children:"RxJsonSchema"}),"."]}),"\n",(0,a.jsx)(n.h2,{id:"required-fields-have-to-be-set-via-array",children:"required fields have to be set via array"}),"\n",(0,a.jsxs)(n.p,{children:["In the past it was allowed to set a field as required by setting the boolean value ",(0,a.jsx)(n.code,{children:"required: true"}),".\nThis is against the ",(0,a.jsx)(n.a,{href:"https://json-schema.org/understanding-json-schema/reference/object.html#required-properties",children:"json-schema-standard"})," and will make problems when switching between different schema-validation-plugins. Therefore required fields must now be set via ",(0,a.jsx)(n.code,{children:"required: ['fieldOne', 'fieldTwo']"}),"."]}),"\n",(0,a.jsx)(n.h2,{id:"setters-are-only-callable-on-temporary-documents",children:"Setters are only callable on temporary documents"}),"\n",(0,a.jsxs)(n.p,{children:["To be similar to mongoosejs, there was the possibility to set a documents value via ",(0,a.jsx)(n.code,{children:"myDoc.foo = 'bar'"})," and later call ",(0,a.jsx)(n.code,{children:"myDoc.save()"})," to persist these changes.\nBut there was the problem that we have no weak pointers in javascript and therefore we have to store all document-instances in a cache to run change-events on them and make them 'reactive'. To save memory-space, we reuse the same documents when they are used multiple times. This made it hard to determine what happens when multiple parts of an application used the setters at the same time. Also there was an undefined behavior what should happen when a field is changed via setter and also via replication before ",(0,a.jsx)(n.code,{children:"save()"})," was called."]}),"\n",(0,a.jsxs)(n.ul,{children:["\n",(0,a.jsxs)(n.li,{children:[(0,a.jsx)(n.code,{children:"myDoc.age = 50;"}),", ",(0,a.jsx)(n.code,{children:"myDoc.set('age', 50);"})," and ",(0,a.jsx)(n.code,{children:"myDoc.save()"})," is no more allowed on non-temporary-documents"]}),"\n",(0,a.jsxs)(n.li,{children:["Instead, to change document-data, use ",(0,a.jsx)(n.code,{children:"RxDocument.atomicUpdate()"})," or ",(0,a.jsx)(n.code,{children:"RxDocument.atomicSet()"})," or ",(0,a.jsx)(n.code,{children:"RxDocument.update()"}),"."]}),"\n",(0,a.jsxs)(n.li,{children:["The following document-methods no longer exist: ",(0,a.jsx)(n.code,{children:"synced$"}),", ",(0,a.jsx)(n.code,{children:"resync()"})]}),"\n"]}),"\n",(0,a.jsx)(n.h2,{id:"middleware-hooks-contain-plain-json-as-first-parameter-and-rxdocument-as-second",children:"middleware-hooks contain plain json as first parameter and RxDocument as second"}),"\n",(0,a.jsxs)(n.p,{children:["When the middleware-hooks where created, the goal was to work equal then ",(0,a.jsx)(n.a,{href:"http://mongoosejs.com/docs/middleware.html",children:"mongoose"}),". But this is not possible because mongoose is more 'static' and its documents never change their attributes. RxDB is a reactive database and when the state on disc changes, the attributes of the document also change. This caused some undefined behavior especially with async middleware-hooks. To solve this, hooks now can only modify the plain data, not the ",(0,a.jsx)(n.code,{children:"RxDocument"})," itself."]}),"\n",(0,a.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,a.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"javascript","data-theme":"css-variables",children:(0,a.jsxs)(n.code,{"data-language":"javascript","data-theme":"css-variables",style:{display:"grid"},children:[(0,a.jsxs)(n.span,{"data-line":"",children:[(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"myCollection"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".preSave"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(data"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" rxDocument) {"})]}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // to set age to 50 before saving, change the first parameter"})}),"\n",(0,a.jsxs)(n.span,{"data-line":"",children:[(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" data"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:".age "}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 50"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,a.jsxs)(n.span,{"data-line":"",children:[(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"}"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" false"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:");"})]})]})})}),"\n",(0,a.jsx)(n.h2,{id:"multiinstance-is-now-done-via-broadcast-channel",children:"multiInstance is now done via broadcast-channel"}),"\n",(0,a.jsxs)(n.p,{children:["Because the ",(0,a.jsx)(n.a,{href:"https://developer.mozilla.org/en-US/docs/Web/API/Broadcast_Channel_API",children:"BroadcastChannel-API"})," is not usable in all browsers and also not in NodeJs, multiInstance-communication was hard. The hacky workaround was to use a pseudo-socket and regularly check if an other instance has emitted a ",(0,a.jsx)(n.code,{children:"RxChangeEvent"}),".\nThis was expensive because even when the database did nothing, we wasted disk-IO and CPU by handling this."]}),"\n",(0,a.jsxs)(n.p,{children:["To solve this waste, I spend one month creating ",(0,a.jsx)(n.a,{href:"https://github.com/pubkey/broadcast-channel",children:"a module that polyfills the broadcast-channel-api"})," so it works on old browsers, new browsers and even NodeJs. This does not only waste less resources but also has a lower latency. Also the module is used by more projects than RxDB which allows use the fix bugs and improve performance together."]}),"\n",(0,a.jsx)(n.h2,{id:"set-querychangedetection-via-rxdatabase-option",children:"Set QueryChangeDetection via RxDatabase-option"}),"\n",(0,a.jsxs)(n.p,{children:["In the past, the QueryChangeDetection had to be enabled by importing the QueryChangeDetection and calling a function on it. This was strange and also did not allow to toggle the QueryChangeDetection on specific databases.\nNow we set the QueryChangeDetection by adding the boolean field ",(0,a.jsx)(n.code,{children:"queryChangeDetection: true"})," when creating the database."]}),"\n",(0,a.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,a.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"javascript","data-theme":"css-variables",children:(0,a.jsxs)(n.code,{"data-language":"javascript","data-theme":"css-variables",style:{display:"grid"},children:[(0,a.jsxs)(n.span,{"data-line":"",children:[(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" RxDB"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".create"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,a.jsxs)(n.span,{"data-line":"",children:[(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'heroesdb'"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,a.jsxs)(n.span,{"data-line":"",children:[(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" adapter"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'idb'"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,a.jsxs)(n.span,{"data-line":"",children:[(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" queryChangeDetection"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" false"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // <- queryChangeDetection (optional, default: false)"})]}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,a.jsxs)(n.span,{"data-line":"",children:[(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"console"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".dir"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(db);"})]})]})})}),"\n",(0,a.jsx)(n.h2,{id:"reuse-an-rxdocument-prototype-per-collection-instead-of-adding-getterssetters-to-each-document",children:"Reuse an RxDocument-prototype per collection instead of adding getters/setters to each document"}),"\n",(0,a.jsxs)(n.p,{children:["Because the fields of an ",(0,a.jsx)(n.code,{children:"RxDocument"})," are defined dynamically by the schema and we could not use the ",(0,a.jsx)(n.code,{children:"Proxy"}),"-Object because it is not supported in IE11, there was one workaround used: Each time a document is created, all getters and setters where applied on it. This was expensive and now we use a different approach.\nOnce per collection, a custom RxDocument-prototype and constructor is created and each RxDocument of this collection is created with the constructor. This change is a rewrite internally and should not change anything for RxDB-users. If you use RxDB with vuejs, you might get some problems that can be fixed by upgrading vuejs to the latest version."]}),"\n",(0,a.jsx)(n.h2,{id:"rewritten-the-inmemory-plugin",children:"Rewritten the inMemory-plugin"}),"\n",(0,a.jsxs)(n.p,{children:["The inMemory-plugin was written with some wrong estimations. I rewrote it and added much more tests. Also ",(0,a.jsx)(n.code,{children:"awaitPersistence()"})," can now be used to check if all writes have already been replicated into the parent collection. Also ",(0,a.jsx)(n.code,{children:"RxCollection.watchForChanges()"})," got split out from the ",(0,a.jsx)(n.code,{children:"replication"}),"-plugin into its own ",(0,a.jsx)(n.code,{children:"watch-for-changes"}),"-plugin because it is used in the inMemory and the replication functionality."]}),"\n",(0,a.jsx)(n.h2,{id:"some-comparisons",children:"Some comparisons"}),"\n",(0,a.jsx)(n.p,{children:"(Tested with node 10.6.0 and the memory-adapter, lower is better)"}),"\n",(0,a.jsxs)(n.p,{children:["Reproduce with ",(0,a.jsx)(n.code,{children:"npm run build:size"})," and ",(0,a.jsx)(n.code,{children:"npm run test:performance"})]}),"\n",(0,a.jsxs)(n.table,{children:[(0,a.jsx)(n.thead,{children:(0,a.jsxs)(n.tr,{children:[(0,a.jsx)(n.th,{style:{textAlign:"center"}}),(0,a.jsx)(n.th,{style:{textAlign:"center"},children:"7.7.1"}),(0,a.jsx)(n.th,{children:"8.0.0"})]})}),(0,a.jsxs)(n.tbody,{children:[(0,a.jsxs)(n.tr,{children:[(0,a.jsx)(n.td,{style:{textAlign:"center"},children:"Bundle-Size (Webpack+minify+gzip)"}),(0,a.jsx)(n.td,{style:{textAlign:"center"},children:"110 kb"}),(0,a.jsx)(n.td,{children:"101.962 kb"})]}),(0,a.jsxs)(n.tr,{children:[(0,a.jsx)(n.td,{style:{textAlign:"center"},children:"Spawn 1000 databases with 5 collections each"}),(0,a.jsx)(n.td,{style:{textAlign:"center"},children:"8744 ms"}),(0,a.jsx)(n.td,{children:"9906 ms"})]}),(0,a.jsxs)(n.tr,{children:[(0,a.jsx)(n.td,{style:{textAlign:"center"},children:"insert 2000 documents"}),(0,a.jsx)(n.td,{style:{textAlign:"center"},children:"8006 ms"}),(0,a.jsx)(n.td,{children:"5781 ms"})]}),(0,a.jsxs)(n.tr,{children:[(0,a.jsx)(n.td,{style:{textAlign:"center"},children:"find 10.000 documents"}),(0,a.jsx)(n.td,{style:{textAlign:"center"},children:"3202 ms"}),(0,a.jsx)(n.td,{children:"1312 ms"})]})]})]})]})}function h(e={}){const{wrapper:n}={...(0,o.R)(),...e.components};return n?(0,a.jsx)(n,{...e,children:(0,a.jsx)(d,{...e})}):d(e)}},8453(e,n,s){s.d(n,{R:()=>r,x:()=>i});var t=s(6540);const a={},o=t.createContext(a);function r(e){const n=t.useContext(o);return t.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function i(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:r(e.components),t.createElement(o.Provider,{value:n},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/4616b86a.247bc33b.js b/docs/assets/js/4616b86a.247bc33b.js
deleted file mode 100644
index ec820b92093..00000000000
--- a/docs/assets/js/4616b86a.247bc33b.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[465],{3247(e,n,o){o.d(n,{g:()=>r});var s=o(4848);function r(e){const n=[];let o=null;return e.children.forEach(e=>{e.props.id?(o&&n.push(o),o={headline:e,paragraphs:[]}):o&&o.paragraphs.push(e)}),o&&n.push(o),(0,s.jsx)("div",{style:t.stepsContainer,children:n.map((e,n)=>(0,s.jsxs)("div",{style:t.stepWrapper,children:[(0,s.jsxs)("div",{style:t.stepIndicator,children:[(0,s.jsx)("div",{style:t.stepNumber,children:n+1}),(0,s.jsx)("div",{style:t.verticalLine})]}),(0,s.jsxs)("div",{style:t.stepContent,children:[(0,s.jsx)("div",{children:e.headline}),e.paragraphs.map((e,n)=>(0,s.jsx)("div",{style:t.item,children:e},n))]})]},n))})}const t={stepsContainer:{display:"flex",flexDirection:"column"},stepWrapper:{display:"flex",alignItems:"stretch",marginBottom:"1.5rem",position:"relative",minWidth:0},stepIndicator:{position:"relative",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"flex-start",width:"33px",marginRight:"1rem",minWidth:0},stepNumber:{width:"33px",height:"33px",borderRadius:"50%",backgroundColor:"var(--color-top)",color:"#fff",display:"flex",alignItems:"center",justifyContent:"center",fontWeight:"bold",marginTop:-4},verticalLine:{position:"absolute",top:29,bottom:"0",left:"50%",width:"1px",background:"linear-gradient(to bottom, var(--color-top) 0%, var(--color-top) 80%, rgba(0,0,0,0) 100%)",transform:"translateX(-50%)"},stepContent:{flex:1,minWidth:0,overflowWrap:"break-word"},item:{marginTop:"0.5rem"}}},3844(e,n,o){o.r(n),o.d(n,{assets:()=>d,contentTitle:()=>l,default:()=>g,frontMatter:()=>i,metadata:()=>s,toc:()=>c});const s=JSON.parse('{"id":"rx-storage-mongodb","title":"Unlock MongoDB Power with RxDB","description":"Combine RxDB\'s real-time sync with MongoDB\'s scalability. Harness the MongoDB RxStorage to seamlessly expand your database capabilities.","source":"@site/docs/rx-storage-mongodb.md","sourceDirName":".","slug":"/rx-storage-mongodb.html","permalink":"/rx-storage-mongodb.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"Unlock MongoDB Power with RxDB","slug":"rx-storage-mongodb.html","description":"Combine RxDB\'s real-time sync with MongoDB\'s scalability. Harness the MongoDB RxStorage to seamlessly expand your database capabilities."},"sidebar":"tutorialSidebar","previous":{"title":"Dexie.js","permalink":"/rx-storage-dexie.html"},"next":{"title":"DenoKV","permalink":"/rx-storage-denokv.html"}}');var r=o(4848),t=o(8453),a=o(3247);const i={title:"Unlock MongoDB Power with RxDB",slug:"rx-storage-mongodb.html",description:"Combine RxDB's real-time sync with MongoDB's scalability. Harness the MongoDB RxStorage to seamlessly expand your database capabilities."},l="MongoDB RxStorage",d={},c=[{value:"Limitations of the MongoDB RxStorage",id:"limitations-of-the-mongodb-rxstorage",level:2},{value:"Using the MongoDB RxStorage",id:"using-the-mongodb-rxstorage",level:2},{value:"Install the mongodb package",id:"install-the-mongodb-package",level:3},{value:"Setups the MongoDB RxStorage",id:"setups-the-mongodb-rxstorage",level:3}];function h(e){const n={a:"a",code:"code",figure:"figure",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",p:"p",pre:"pre",span:"span",ul:"ul",...(0,t.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.header,{children:(0,r.jsx)(n.h1,{id:"mongodb-rxstorage",children:"MongoDB RxStorage"})}),"\n",(0,r.jsxs)(n.p,{children:["RxDB MongoDB RxStorage is an RxDB ",(0,r.jsx)(n.a,{href:"/rx-storage.html",children:"RxStorage"})," that allows you to use ",(0,r.jsx)(n.a,{href:"https://www.mongodb.com/",children:"MongoDB"})," as the underlying storage engine for your RxDB database. With this you can take advantage of MongoDB's features and scalability while benefiting from RxDB's real-time data synchronization capabilities."]}),"\n",(0,r.jsx)("p",{align:"center",children:(0,r.jsx)("img",{src:"./files/icons/mongodb.svg",alt:"MongoDB storage",height:"100",class:"img-padding"})}),"\n",(0,r.jsxs)(n.p,{children:["The storage is made to work with any plain MongoDB Server, ",(0,r.jsx)(n.a,{href:"https://www.mongodb.com/docs/manual/tutorial/deploy-replica-set/",children:"MongoDB Replica Set"}),", ",(0,r.jsx)(n.a,{href:"https://www.mongodb.com/docs/manual/sharding/",children:"Sharded MongoDB Cluster"})," or ",(0,r.jsx)(n.a,{href:"https://www.mongodb.com/atlas/database",children:"Atlas Cloud Database"}),"."]}),"\n",(0,r.jsx)(n.h2,{id:"limitations-of-the-mongodb-rxstorage",children:"Limitations of the MongoDB RxStorage"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsx)(n.li,{children:"Multiple Node.js servers using the same MongoDB database is currently not supported"}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.a,{href:"/rx-attachment.html",children:"RxAttachments"})," are currently not supported"]}),"\n",(0,r.jsx)(n.li,{children:"Doing non-RxDB writes on the MongoDB database is not supported. RxDB expects all writes to come from RxDB which update the required metadata. Doing non-RxDB writes can confuse the RxDatabase and lead to undefined behavior. But you can perform read-queries on the MongoDB storage from the outside at any time."}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"using-the-mongodb-rxstorage",children:"Using the MongoDB RxStorage"}),"\n",(0,r.jsxs)(a.g,{children:[(0,r.jsx)(n.h3,{id:"install-the-mongodb-package",children:"Install the mongodb package"}),(0,r.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,r.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"bash","data-theme":"css-variables",children:(0,r.jsx)(n.code,{"data-language":"bash","data-theme":"css-variables",style:{display:"grid"},children:(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:"npm"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-string)"},children:" install"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-string)"},children:" mongodb"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-string)"},children:" --save"})]})})})}),(0,r.jsx)(n.h3,{id:"setups-the-mongodb-rxstorage",children:"Setups the MongoDB RxStorage"}),(0,r.jsxs)(n.p,{children:["To use the storage, you simply import the ",(0,r.jsx)(n.code,{children:"getRxStorageMongoDB"})," method and use that when creating the ",(0,r.jsx)(n.a,{href:"/rx-database.html",children:"RxDatabase"}),". The ",(0,r.jsx)(n.code,{children:"connection"})," parameter contains the ",(0,r.jsx)(n.a,{href:"https://www.mongodb.com/docs/manual/reference/connection-string/",children:"MongoDB connection string"}),"."]}),(0,r.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,r.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,r.jsxs)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" createRxDatabase"})}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb'"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" getRxStorageMongoDB"})}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/storage-mongodb'"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" myRxDatabase"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'exampledb'"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageMongoDB"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * MongoDB connection string"})}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * "}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"@link"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" https://www.mongodb.com/docs/manual/reference/connection-string/"})]}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" connection"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'mongodb://localhost:27017,localhost:27018,localhost:27019'"})]}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" })"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})})]})]})}function g(e={}){const{wrapper:n}={...(0,t.R)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(h,{...e})}):h(e)}},8453(e,n,o){o.d(n,{R:()=>a,x:()=>i});var s=o(6540);const r={},t=s.createContext(r);function a(e){const n=s.useContext(t);return s.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function i(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:a(e.components),s.createElement(t.Provider,{value:n},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/4777fd9a.5d703faa.js b/docs/assets/js/4777fd9a.5d703faa.js
deleted file mode 100644
index 4bb061e719a..00000000000
--- a/docs/assets/js/4777fd9a.5d703faa.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[6386],{692(e,a,i){i.r(a),i.d(a,{assets:()=>l,contentTitle:()=>r,default:()=>h,frontMatter:()=>o,metadata:()=>t,toc:()=>c});const t=JSON.parse('{"id":"alternatives","title":"Alternatives for realtime local-first JavaScript applications and local databases","description":"Explore real-time, local-first JS alternatives to RxDB. Compare Firebase, Meteor, AWS, CouchDB, and more for robust, seamless web/mobile app development.","source":"@site/docs/alternatives.md","sourceDirName":".","slug":"/alternatives.html","permalink":"/alternatives.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"Alternatives for realtime local-first JavaScript applications and local databases","slug":"alternatives.html","description":"Explore real-time, local-first JS alternatives to RxDB. Compare Firebase, Meteor, AWS, CouchDB, and more for robust, seamless web/mobile app development."},"sidebar":"tutorialSidebar","previous":{"title":"Capacitor Database Guide - SQLite, RxDB & More","permalink":"/capacitor-database.html"},"next":{"title":"Electron Database - Storage adapters for SQLite, Filesystem and In-Memory","permalink":"/electron-database.html"}}');var s=i(4848),n=i(8453);const o={title:"Alternatives for realtime local-first JavaScript applications and local databases",slug:"alternatives.html",description:"Explore real-time, local-first JS alternatives to RxDB. Compare Firebase, Meteor, AWS, CouchDB, and more for robust, seamless web/mobile app development."},r="Alternatives for realtime offline-first JavaScript applications",l={},c=[{value:"Alternatives to RxDB",id:"alternatives-to-rxdb",level:2},{value:"Firebase",id:"firebase",level:3},{value:"Firebase - Realtime Database",id:"firebase---realtime-database",level:4},{value:"Firebase - Cloud Firestore",id:"firebase---cloud-firestore",level:4},{value:"Meteor",id:"meteor",level:3},{value:"Minimongo",id:"minimongo",level:3},{value:"WatermelonDB",id:"watermelondb",level:3},{value:"AWS Amplify",id:"aws-amplify",level:3},{value:"AWS Datastore",id:"aws-datastore",level:3},{value:"RethinkDB",id:"rethinkdb",level:3},{value:"Horizon",id:"horizon",level:3},{value:"Supabase",id:"supabase",level:3},{value:"CouchDB",id:"couchdb",level:3},{value:"PouchDB",id:"pouchdb",level:3},{value:"Couchbase",id:"couchbase",level:3},{value:"Cloudant",id:"cloudant",level:3},{value:"Hoodie",id:"hoodie",level:3},{value:"LokiJS",id:"lokijs",level:3},{value:"Gundb",id:"gundb",level:3},{value:"sql.js",id:"sqljs",level:3},{value:"absurd-sQL",id:"absurd-sql",level:3},{value:"NeDB",id:"nedb",level:3},{value:"Dexie.js",id:"dexiejs",level:3},{value:"LowDB",id:"lowdb",level:3},{value:"localForage",id:"localforage",level:3},{value:"MongoDB Realm",id:"mongodb-realm",level:3},{value:"Apollo",id:"apollo",level:3},{value:"Replicache",id:"replicache",level:3},{value:"InstantDB",id:"instantdb",level:3},{value:"Yjs",id:"yjs",level:3},{value:"ElectricSQL",id:"electricsql",level:3},{value:"SignalDB",id:"signaldb",level:3},{value:"PowerSync",id:"powersync",level:3}];function d(e){const a={a:"a",admonition:"admonition",code:"code",em:"em",figure:"figure",h1:"h1",h2:"h2",h3:"h3",h4:"h4",header:"header",hr:"hr",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...(0,n.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(a.header,{children:(0,s.jsx)(a.h1,{id:"alternatives-for-realtime-offline-first-javascript-applications",children:"Alternatives for realtime offline-first JavaScript applications"})}),"\n",(0,s.jsxs)(a.p,{children:["To give you an augmented view over the topic of client side JavaScript databases, this page contains all known alternatives to ",(0,s.jsx)(a.strong,{children:"RxDB"}),". Remember that you are reading this inside of the RxDB documentation, so everything is ",(0,s.jsx)(a.strong,{children:"opinionated"}),".\nIf you disagree with anything or think that something is missing, make a pull request to this file on the RxDB github repository."]}),"\n",(0,s.jsxs)(a.admonition,{type:"note",children:[(0,s.jsx)(a.p,{children:"RxDB has these main benefits:"}),(0,s.jsxs)(a.ul,{children:["\n",(0,s.jsxs)(a.li,{children:["RxDB is a battle proven tool ",(0,s.jsx)(a.a,{href:"/#reviews",children:"widely used"})," by companies in real projects in production."]}),"\n",(0,s.jsxs)(a.li,{children:["RxDB is not VC funded and therefore does not require you to use a specific cloud service to rip you off. RxDB can be used with your ",(0,s.jsx)(a.a,{href:"/replication-http.html",children:"own backend"})," or no backend at all."]}),"\n",(0,s.jsxs)(a.li,{children:["RxDB has a working business model of selling ",(0,s.jsx)(a.a,{href:"/premium/",children:"premium plugins"})," which ensures that RxDB will be maintained and improved continuously while many alternatives are dead already or seem to die soon."]}),"\n",(0,s.jsxs)(a.li,{children:["RxDB has years (since 2016) of performance optimization, bug fixing and feature adding. It is just working as is and there are close to zero ",(0,s.jsx)(a.a,{href:"https://github.com/pubkey/rxdb/issues",children:"open issues"}),"."]}),"\n"]}),(0,s.jsx)("center",{children:(0,s.jsx)("a",{href:"https://rxdb.info/",children:(0,s.jsx)("img",{src:"../files/logo/rxdb_javascript_database.svg",alt:"JavaScript Database",width:"220"})})})]}),"\n",(0,s.jsx)(a.hr,{}),"\n",(0,s.jsx)(a.h2,{id:"alternatives-to-rxdb",children:"Alternatives to RxDB"}),"\n",(0,s.jsxs)(a.p,{children:[(0,s.jsx)(a.a,{href:"https://rxdb.info",children:"RxDB"})," is an ",(0,s.jsx)(a.strong,{children:"observable"}),", ",(0,s.jsx)(a.strong,{children:"replicating"}),", ",(0,s.jsx)(a.strong,{children:(0,s.jsx)(a.a,{href:"/offline-first.html",children:"local first"})}),", ",(0,s.jsx)(a.strong,{children:"JavaScript"})," database. So it makes only sense to list similar projects as alternatives, not just any database or JavaScript store library. However, I will list up some projects that RxDB is often compared with, even if it only makes sense for some use cases.\nHere are the alternatives to RxDB:"]}),"\n",(0,s.jsx)(a.h3,{id:"firebase",children:"Firebase"}),"\n",(0,s.jsx)("p",{align:"center",children:(0,s.jsx)("img",{src:"./files/alternatives/firebase.svg",alt:"firebase alternative",class:"img-padding",height:"60"})}),"\n",(0,s.jsxs)(a.p,{children:["Firebase is a ",(0,s.jsx)(a.strong,{children:"platform"})," developed by Google for creating mobile and web applications. Firebase has many features and products, two of which are client side databases. The ",(0,s.jsx)(a.a,{href:"/articles/firebase-realtime-database-alternative.html",children:"Realtime Database"})," and the ",(0,s.jsx)(a.a,{href:"/articles/firestore-alternative.html",children:"Cloud Firestore"}),"."]}),"\n",(0,s.jsx)(a.h4,{id:"firebase---realtime-database",children:"Firebase - Realtime Database"}),"\n",(0,s.jsxs)(a.p,{children:['The firebase realtime database was the first database in firestore. It has to be mentioned that in this context, "realtime" means ',(0,s.jsx)(a.strong,{children:'"realtime replication"'}),', not "realtime computing". The firebase realtime database stores data as a big unstructured JSON tree that is replicated between clients and the backend.']}),"\n",(0,s.jsx)(a.h4,{id:"firebase---cloud-firestore",children:"Firebase - Cloud Firestore"}),"\n",(0,s.jsxs)(a.p,{children:["The firestore is the successor to the realtime database. The big difference is that it behaves more like a 'normal' database that stores data as documents inside of collections. The conflict resolution strategy of firestore is always ",(0,s.jsx)(a.em,{children:"last-write-wins"})," which might or might not be suitable for your use case."]}),"\n",(0,s.jsxs)(a.p,{children:["The biggest difference to RxDB is that firebase products are only able to be used on top of the Firebase cloud hosted backend, which creates a vendor lock-in. RxDB can replicate with any self hosted CouchDB server or custom GraphQL endpoints. You can even replicate Firestore to RxDB with the ",(0,s.jsx)(a.a,{href:"/replication-firestore.html",children:"Firestore Replication Plugin"}),"."]}),"\n",(0,s.jsx)(a.h3,{id:"meteor",children:"Meteor"}),"\n",(0,s.jsx)("p",{align:"center",children:(0,s.jsx)("img",{src:"./files/alternatives/meteor_text.svg",alt:"MeteorJS alternative",class:"img-padding",height:"60"})}),"\n",(0,s.jsxs)(a.p,{children:["Meteor (since 2012) is one of the oldest technologies for JavaScript realtime applications. Meteor is not a library but a whole framework with its own package manager, database management and replication.\nBecause of how it works, it has proven to be hard to integrate it with other modern JavaScript frameworks like ",(0,s.jsx)(a.a,{href:"https://github.com/urigo/angular-meteor",children:"angular"}),", ",(0,s.jsx)(a.a,{href:"/articles/vue-database.html",children:"vue.js"})," or svelte."]}),"\n",(0,s.jsxs)(a.p,{children:["Meteor uses MongoDB in the backend and can replicate with a Minimongo database in the frontend.\nWhile testing, it has proven to be impossible to make a meteor app ",(0,s.jsx)(a.strong,{children:"offline first"})," capable. There are ",(0,s.jsx)(a.a,{href:"https://github.com/frozeman/meteor-persistent-minimongo2",children:"some projects"})," that might do this, but all are unmaintained."]}),"\n",(0,s.jsx)(a.h3,{id:"minimongo",children:"Minimongo"}),"\n",(0,s.jsxs)(a.p,{children:["Forked in Jan 2014 from meteorJSs' minimongo package, Minimongo is a client-side, in-memory, JavaScript version of MongoDB with backend replication over HTTP. Similar to MongoDB, it stores data in documents inside of collections and also has the same query syntax. Minimongo has different storage adapters for IndexedDB, WebSQL, ",(0,s.jsx)(a.a,{href:"/articles/localstorage.html",children:"LocalStorage"})," and SQLite.\nCompared to RxDB, Minimongo has no concept of revisions or conflict handling, which might lead to undefined behavior when used with replication or in multiple browser tabs. Minimongo has no observable queries or changestream."]}),"\n",(0,s.jsx)(a.h3,{id:"watermelondb",children:"WatermelonDB"}),"\n",(0,s.jsx)("p",{align:"center",children:(0,s.jsx)("img",{src:"./files/alternatives/watermelondb.png",alt:"WatermelonDB alternative",height:"60"})}),"\n",(0,s.jsxs)(a.p,{children:["WatermelonDB is a reactive & asynchronous JavaScript database. While originally made for ",(0,s.jsx)(a.a,{href:"/articles/react-database.html",children:"React"})," and ",(0,s.jsx)(a.a,{href:"/react-native-database.html",children:"React Native"}),", it can also be used with other JavaScript frameworks. The main goal of WatermelonDB is ",(0,s.jsx)(a.strong,{children:"performance"})," within an application with lots of data.\nIn React Native, WatermelonDB uses the provided SQLite database. Also there is an Expo plugin for WatermelonDB. In a browser, WatermelonDB uses the LokiJS in-memory database to store and query data. WatermelonDB is one of the rare projects that support both Flow and Typescript at the same time."]}),"\n",(0,s.jsx)(a.h3,{id:"aws-amplify",children:"AWS Amplify"}),"\n",(0,s.jsx)("p",{align:"center",children:(0,s.jsx)("img",{src:"./files/alternatives/aws-amplify.svg",alt:"AWS Amplify alternative",height:"60",class:"img-padding"})}),"\n",(0,s.jsxs)(a.p,{children:["AWS Amplify is a collection of tools and libraries to develop web- and mobile frontend applications. Similar to firebase, it provides everything needed like authentication, analytics, a REST API, storage and so on. Everything hosted in the AWS Cloud, even when they state that ",(0,s.jsx)(a.em,{children:'"AWS Amplify is designed to be open and pluggable for any custom backend or service"'}),". For realtime replication, AWS Amplify can connect to an AWS App-Sync GraphQL endpoint."]}),"\n",(0,s.jsx)(a.h3,{id:"aws-datastore",children:"AWS Datastore"}),"\n",(0,s.jsxs)(a.p,{children:["Since December 2019 the Amplify library includes the AWS Datastore which is a document-based, client side database that is able to replicate data via AWS AppSync in the background.\nThe main difference to other projects is the complex project configuration via the amplify cli and the bit confusing query syntax that works over functions. Complex Queries with multiple ",(0,s.jsx)(a.code,{children:"OR/AND"})," statements are not possible which might change in the future.\nLocal development is hard because the AWS AppSync mock does not support realtime replication. It also is not really offline-first because a user login is always required."]}),"\n",(0,s.jsx)(a.figure,{"data-rehype-pretty-code-figure":"",children:(0,s.jsx)(a.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,s.jsxs)(a.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,s.jsx)(a.span,{"data-line":"",children:(0,s.jsx)(a.span,{style:{color:"var(--shiki-token-comment)"},children:"// An AWS datastore OR query"})}),"\n",(0,s.jsxs)(a.span,{"data-line":"",children:[(0,s.jsx)(a.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,s.jsx)(a.span,{style:{color:"var(--shiki-token-constant)"},children:" posts"}),(0,s.jsx)(a.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,s.jsx)(a.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,s.jsx)(a.span,{style:{color:"var(--shiki-token-constant)"},children:" DataStore"}),(0,s.jsx)(a.span,{style:{color:"var(--shiki-token-function)"},children:".query"}),(0,s.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:"(Post"}),(0,s.jsx)(a.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,s.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:" c "}),(0,s.jsx)(a.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,s.jsx)(a.span,{style:{color:"var(--shiki-token-constant)"},children:" c"}),(0,s.jsx)(a.span,{style:{color:"var(--shiki-token-function)"},children:".or"}),(0,s.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:"("})]}),"\n",(0,s.jsxs)(a.span,{"data-line":"",children:[(0,s.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:" c "}),(0,s.jsx)(a.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,s.jsx)(a.span,{style:{color:"var(--shiki-token-constant)"},children:" c"}),(0,s.jsx)(a.span,{style:{color:"var(--shiki-token-function)"},children:".rating"}),(0,s.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,s.jsx)(a.span,{style:{color:"var(--shiki-token-string-expression)"},children:'"gt"'}),(0,s.jsx)(a.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,s.jsx)(a.span,{style:{color:"var(--shiki-token-constant)"},children:" 4"}),(0,s.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:")"}),(0,s.jsx)(a.span,{style:{color:"var(--shiki-token-function)"},children:".status"}),(0,s.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,s.jsx)(a.span,{style:{color:"var(--shiki-token-string-expression)"},children:'"eq"'}),(0,s.jsx)(a.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,s.jsx)(a.span,{style:{color:"var(--shiki-token-constant)"},children:" PostStatus"}),(0,s.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:"."}),(0,s.jsx)(a.span,{style:{color:"var(--shiki-token-constant)"},children:"PUBLISHED"}),(0,s.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:")"})]}),"\n",(0,s.jsx)(a.span,{"data-line":"",children:(0,s.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:"));"})}),"\n",(0,s.jsx)(a.span,{"data-line":"",children:" "}),"\n",(0,s.jsx)(a.span,{"data-line":"",children:(0,s.jsx)(a.span,{style:{color:"var(--shiki-token-comment)"},children:"// An AWS datastore SORT query"})}),"\n",(0,s.jsxs)(a.span,{"data-line":"",children:[(0,s.jsx)(a.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,s.jsx)(a.span,{style:{color:"var(--shiki-token-constant)"},children:" posts"}),(0,s.jsx)(a.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,s.jsx)(a.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,s.jsx)(a.span,{style:{color:"var(--shiki-token-constant)"},children:" DataStore"}),(0,s.jsx)(a.span,{style:{color:"var(--shiki-token-function)"},children:".query"}),(0,s.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:"(Post"}),(0,s.jsx)(a.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,s.jsx)(a.span,{style:{color:"var(--shiki-token-constant)"},children:" Predicates"}),(0,s.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:"."}),(0,s.jsx)(a.span,{style:{color:"var(--shiki-token-constant)"},children:"ALL"}),(0,s.jsx)(a.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,s.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,s.jsxs)(a.span,{"data-line":"",children:[(0,s.jsx)(a.span,{style:{color:"var(--shiki-token-function)"},children:" sort"}),(0,s.jsx)(a.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,s.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:" s "}),(0,s.jsx)(a.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,s.jsx)(a.span,{style:{color:"var(--shiki-token-constant)"},children:" s"}),(0,s.jsx)(a.span,{style:{color:"var(--shiki-token-function)"},children:".rating"}),(0,s.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,s.jsx)(a.span,{style:{color:"var(--shiki-token-constant)"},children:"SortDirection"}),(0,s.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:"."}),(0,s.jsx)(a.span,{style:{color:"var(--shiki-token-constant)"},children:"ASCENDING"}),(0,s.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:")"}),(0,s.jsx)(a.span,{style:{color:"var(--shiki-token-function)"},children:".title"}),(0,s.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,s.jsx)(a.span,{style:{color:"var(--shiki-token-constant)"},children:"SortDirection"}),(0,s.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:"."}),(0,s.jsx)(a.span,{style:{color:"var(--shiki-token-constant)"},children:"DESCENDING"}),(0,s.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:")"})]}),"\n",(0,s.jsx)(a.span,{"data-line":"",children:(0,s.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,s.jsx)(a.p,{children:"The biggest difference to RxDB is that you have to use the AWS cloud backends. This might not be a problem if your data is at AWS anyway."}),"\n",(0,s.jsx)(a.h3,{id:"rethinkdb",children:"RethinkDB"}),"\n",(0,s.jsx)("p",{align:"center",children:(0,s.jsx)("img",{src:"./files/alternatives/rethinkdb.svg",alt:"RethinkDB alternative",height:"60",class:"img-padding"})}),"\n",(0,s.jsx)(a.p,{children:"RethinkDB is a backend database that pushed dynamic JSON data to the client in realtime. It was founded in 2009 and the company shut down in 2016.\nRethink db is not a client side database, it streams data from the backend to the client which of course does not work while offline."}),"\n",(0,s.jsx)(a.h3,{id:"horizon",children:"Horizon"}),"\n",(0,s.jsxs)(a.p,{children:["Horizon is the client side library for RethinkDB which provides useful functions like authentication, permission management and subscription to a RethinkDB backend. Offline support ",(0,s.jsx)(a.a,{href:"https://github.com/rethinkdb/horizon/issues/58",children:"never made"})," it to horizon."]}),"\n",(0,s.jsx)(a.h3,{id:"supabase",children:"Supabase"}),"\n",(0,s.jsx)("p",{align:"center",children:(0,s.jsx)("img",{src:"./files/icons/supabase.svg",alt:"Supabase alternative",height:"60",class:"img-padding"})}),"\n",(0,s.jsxs)(a.p,{children:['Supabase labels itself as "',(0,s.jsx)(a.em,{children:"an open source Firebase alternative"}),'". It is a collection of open source tools that together mimic many Firebase features, most of them by providing a wrapper around a PostgreSQL database. While it has realtime queries that run over the wire, like with RethinkDB, Supabase has no client-side storage or replication feature and therefore is not offline first.']}),"\n",(0,s.jsx)(a.h3,{id:"couchdb",children:"CouchDB"}),"\n",(0,s.jsx)("p",{align:"center",children:(0,s.jsx)("img",{src:"./files/icons/couchdb-text.svg",alt:"CouchDB alternative",height:"60",class:"img-padding"})}),"\n",(0,s.jsx)(a.p,{children:"Apache CouchDB is a server-side, document-oriented database that is mostly known for its multi-master replication feature. Instead of having a master-slave replication, with CouchDB you can run replication in any constellation without having a master server as bottleneck where the server even can go off- and online at any time. This comes with the drawback of having a slow replication with much network overhead.\nCouchDB has a changestream and a query syntax similar to MongoDB."}),"\n",(0,s.jsx)(a.h3,{id:"pouchdb",children:"PouchDB"}),"\n",(0,s.jsx)("p",{align:"center",children:(0,s.jsx)("img",{src:"./files/alternatives/pouchdb.svg",alt:"PouchDB alternative",height:"60",class:"img-padding"})}),"\n",(0,s.jsxs)(a.p,{children:["PouchDB is a JavaScript database that is compatible with most of the CouchDB API. It has an adapter system that allows you to switch out the underlying storage layer. There are many adapters like for ",(0,s.jsx)(a.a,{href:"/rx-storage-indexeddb.html",children:"IndexedDB"}),", ",(0,s.jsx)(a.a,{href:"/rx-storage-sqlite.html",children:"SQLite"}),", the Filesystem and so on. The main benefit is to be able to replicate data with any CouchDB compatible endpoint.\nBecause of the CouchDB compatibility, PouchDB has to do a lot of overhead in handling the revision tree of document, which is why it can show bad performance for bigger datasets.\nRxDB was originally build around PouchDB until the storage layer was abstracted out in version ",(0,s.jsx)(a.a,{href:"/releases/10.0.0.html",children:"10.0.0"})," so it now allows to use different ",(0,s.jsx)(a.code,{children:"RxStorage"})," implementations. PouchDB has some performance issues because of how it has to store the document revision tree to stay compatible with the CouchDB API."]}),"\n",(0,s.jsx)(a.h3,{id:"couchbase",children:"Couchbase"}),"\n",(0,s.jsxs)(a.p,{children:["Couchbase (originally known as Membase) is another NoSQL document database made for realtime applications.\nIt uses the N1QL query language which is more SQL like compared to other NoSQL query languages. In theory you can achieve replication of a Couchbase with a PouchDB database, but this has shown to be not ",(0,s.jsx)(a.a,{href:"https://github.com/pouchdb/pouchdb/issues/7793#issuecomment-501624297",children:"that easy"}),"."]}),"\n",(0,s.jsx)(a.h3,{id:"cloudant",children:"Cloudant"}),"\n",(0,s.jsxs)(a.p,{children:["Cloudant is a cloud-based service that is based on ",(0,s.jsx)(a.a,{href:"/replication-couchdb.html",children:"CouchDB"})," and has mostly the same features.\nIt was originally designed for cloud computing where data can automatically be distributed between servers. But it can also be used to replicate with frontend PouchDB instances to create scalable web applications.\nIt was bought by IBM in 2014 and since 2018 the Cloudant Shared Plan is retired and migrated to IBM Cloud."]}),"\n",(0,s.jsx)(a.h3,{id:"hoodie",children:"Hoodie"}),"\n",(0,s.jsx)(a.p,{children:"Hoodie is a backend solution that enables offline-first JavaScript frontend development without having to write backend code. Its main goal is to abstract away configuration into simple calls to the Hoodie API.\nIt uses CouchDB in the backend and PouchDB in the frontend to enable offline-first capabilities.\nThe last commit for hoodie was one year ago and the website (hood.ie) is offline which indicates it is not an active project anymore."}),"\n",(0,s.jsx)(a.h3,{id:"lokijs",children:"LokiJS"}),"\n",(0,s.jsxs)(a.p,{children:["LokiJS is a JavaScript embeddable, in-memory database. And because everything is handled in-memory, LokiJS has awesome performance when mutating or querying data. You can still persist to a permanent storage (IndexedDB, Filesystem etc.) with one of the provided storage adapters. The persistence happens after a timeout is reached after a write, or before the JavaScript process exits. This also means you could loose data when the JavaScript process exits ungracefully like when the power of the device is shut down or the browser crashes.\nWhile the project is not that active anymore, it is more ",(0,s.jsx)(a.em,{children:"finished"})," than ",(0,s.jsx)(a.em,{children:"unmaintained"}),"."]}),"\n",(0,s.jsxs)(a.p,{children:["In the past, RxDB supported using ",(0,s.jsx)(a.a,{href:"/rx-storage-lokijs.html",children:"LokiJS as RxStorage"})," but because the LokiJS is not maintained anymore and had too many issues, this storage option was removed in RxDB version 16."]}),"\n",(0,s.jsx)(a.h3,{id:"gundb",children:"Gundb"}),"\n",(0,s.jsxs)(a.p,{children:["GUN is a JavaScript graph database. While having many features, the ",(0,s.jsx)(a.strong,{children:"decentralized"})," replication is the main unique selling point. You can replicate data Peer-to-Peer without any centralized backend server. GUN has several other features that are useful on top of that, like encryption and authentication."]}),"\n",(0,s.jsxs)(a.p,{children:["While testing it was really hard to get basic things running. GUN is open source, but because of how the source code ",(0,s.jsx)(a.a,{href:"https://github.com/amark/gun/blob/master/src/put.js",children:"is written"}),", it is very difficult to understand what is going wrong."]}),"\n",(0,s.jsx)(a.h3,{id:"sqljs",children:"sql.js"}),"\n",(0,s.jsx)(a.p,{children:"sql.js is a javascript library to run SQLite on the web. It uses a virtual database file stored in memory and does not have any persistence. All data is lost once the JavaScript process exits. sql.js is created by compiling SQLite to WebAssembly so it has about the same features as SQLite. For older browsers there is a JavaScript fallback."}),"\n",(0,s.jsx)(a.h3,{id:"absurd-sql",children:"absurd-sQL"}),"\n",(0,s.jsxs)(a.p,{children:["Absurd-sql is a project that implements an IndexedDB-based persistence for sql.js. Instead of directly writing data into the IndexedDB, it treats IndexedDB like a disk and stores data in blocks there which shows to have a much better performance, mostly because of how ",(0,s.jsx)(a.a,{href:"/slow-indexeddb.html",children:"performance expensive"})," IndexedDB transactions are."]}),"\n",(0,s.jsx)(a.h3,{id:"nedb",children:"NeDB"}),"\n",(0,s.jsxs)(a.p,{children:["NeDB was a embedded persistent or in-memory database for Node.js, nw.js, ",(0,s.jsx)(a.a,{href:"/electron-database.html",children:"Electron"})," and browsers.\nIt is document-oriented and had the same query syntax as MongoDB.\nLike LokiJS it has persistence adapters for IndexedDB etc. to persist the database state on the disc.\nThe last commit to NeDB was in ",(0,s.jsx)(a.strong,{children:"2016"}),"."]}),"\n",(0,s.jsx)(a.h3,{id:"dexiejs",children:"Dexie.js"}),"\n",(0,s.jsx)(a.p,{children:"Dexie.js is a minimalistic wrapper for IndexedDB. While providing a better API than plain IndexedDB, Dexie also improves performance by batching transactions and other optimizations. It also adds additional non-IndexedDB features like observable queries or multi tab support or react hooks.\nCompared to RxDB, Dexie.js does not support complex (MongoDB-like) queries and requires a lot of fiddling when a document range of a specific index must be fetched.\nDexie.js is used by Whatsapp Web, Microsoft To Do and Github Desktop."}),"\n",(0,s.jsxs)(a.p,{children:["RxDB supports using ",(0,s.jsx)(a.a,{href:"/rx-storage-dexie.html",children:"Dexie.js as Database storage"})," which enhances IndexedDB via dexie with RxDB features like MongoDB-like queries etc."]}),"\n",(0,s.jsx)(a.h3,{id:"lowdb",children:"LowDB"}),"\n",(0,s.jsx)(a.p,{children:"LowDB is a small, local JSON database powered by the Lodash library. It is designed to be simple, easy to use, and straightforward. LowDB allows you to perform native JavaScript queries and persist data in a flat JSON file. Written in TypeScript, it's particularly well-suited for small projects, prototyping, or when you need a lightweight, file-based database."}),"\n",(0,s.jsxs)(a.p,{children:["As an alternative to LowDB, ",(0,s.jsx)(a.a,{href:"./",children:"RxDB"})," offers real-time reactivity, allowing developers to subscribe to database changes, a feature not natively available in LowDB. Additionally, RxDB provides robust ",(0,s.jsx)(a.a,{href:"/rx-query.html",children:"query capabilities"}),", including the ability to subscribe to query results for automatic UI updates. These features make RxDB a strong alternative to LowDB for more complex and dynamic applications."]}),"\n",(0,s.jsx)(a.h3,{id:"localforage",children:"localForage"}),"\n",(0,s.jsxs)(a.p,{children:["localForage is a popular JavaScript library for offline storage that provides a simple, promise-based API. It abstracts over different storage mechanisms such as ",(0,s.jsx)(a.a,{href:"/rx-storage-indexeddb.html",children:"IndexedDB"}),", WebSQL, or ",(0,s.jsx)(a.a,{href:"/articles/localstorage.html",children:"localStorage"}),", making it easier to write code once and have it work seamlessly across various browsers. While localForage is great for storing data locally in a key-value manner, it doesn't provide the real-time reactive queries, ",(0,s.jsx)(a.a,{href:"/transactions-conflicts-revisions.html",children:"conflict handling"}),", or revision-based replication that RxDB does. This makes localForage a useful choice for straightforward caching or persistent storage needs, but not ideal for advanced offline-first scenarios requiring multi-user collaboration or complex querying."]}),"\n",(0,s.jsx)(a.h3,{id:"mongodb-realm",children:"MongoDB Realm"}),"\n",(0,s.jsx)(a.p,{children:"Originally Realm was a mobile database for Android and iOS. Later they added support for other languages and runtimes, also for JavaScript.\nIt was meant as replacement for SQLite but is more like an object store than a full SQL database.\nIn 2019 MongoDB bought Realm and changed the projects focus.\nNow Realm is made for replication with the MongoDB Realm Sync based on the MongoDB Atlas Cloud platform. This tight coupling to the MongoDB cloud service is a big downside for most use cases."}),"\n",(0,s.jsx)(a.h3,{id:"apollo",children:"Apollo"}),"\n",(0,s.jsx)(a.p,{children:"The Apollo GraphQL platform is made to transfer data between a server to UI applications over GraphQL endpoints. It contains several tools like GraphQL clients in different languages or libraries to create GraphQL endpoints."}),"\n",(0,s.jsx)(a.p,{children:"While it is has different caching features for offline usage, compared to RxDB it is not fully offline first because caching alone does not mean your application is fully usable when the user is offline."}),"\n",(0,s.jsx)(a.h3,{id:"replicache",children:"Replicache"}),"\n",(0,s.jsxs)(a.p,{children:["Replicache is a client-side sync framework for building realtime, collaborative, ",(0,s.jsx)(a.a,{href:"/articles/local-first-future.html",children:"local-first"})," web apps. It claims to work with most backend stacks. In contrast to other local first tools, replicache does not work like a local database. Instead it runs on so called ",(0,s.jsx)(a.code,{children:"mutators"})," that unify behavior on the client and server side. So instead of implementing and calling REST routes on both sides of your stack, you will implement mutators that define a specific delta behavior based on the input data. To observe data in replicache, there are ",(0,s.jsx)(a.code,{children:"subscriptions"})," that notify your frontend application about changes to the state.\nReplicache can be used in most frontend technologies like browsers, React/Remix, NextJS/Vercel and React Native. While Replicache can be installed and used from npm, the Replicache source code is not open source and the Replicache github repo does not allow you to inspect or debug it. Still you can use replicache for in non-commercial projects, or for companies with < $200k revenue (ARR) and < $500k in funding. (2024: Replicache will be free and Rocicorp are working on a new Zerosync product to succeed Replicache and Reflect.)"]}),"\n",(0,s.jsx)(a.h3,{id:"instantdb",children:"InstantDB"}),"\n",(0,s.jsxs)(a.p,{children:["InstantDB is designed for real-time data synchronization with built-in offline support, allowing changes to be queued locally and ",(0,s.jsx)(a.a,{href:"/replication.html",children:"synced"})," when the user reconnects. While it offers seamless ",(0,s.jsx)(a.a,{href:"/articles/optimistic-ui.html",children:"optimistic updates"})," and rollback capabilities, its offline-first design is not as mature or comprehensive as RxDB's - the ",(0,s.jsx)(a.a,{href:"/articles/offline-database.html",children:"offline data"})," is more of a cache, not a full-database sync. The query language used is Datalog, and the backend sync service is written in Clojure. InstantDB is focused more on simplicity and real-time collaboration, with fewer customization options for storage or conflict resolution compared to RxDB, which supports various storage adapters and advanced conflict handling via CRDTs."]}),"\n",(0,s.jsx)(a.h3,{id:"yjs",children:"Yjs"}),"\n",(0,s.jsxs)(a.p,{children:["Yjs is a ",(0,s.jsx)(a.a,{href:"/crdt.html",children:"CRDT-based"})," (Conflict-free Replicated Data Type) library focused on enabling real-time collaboration - particularly for text editing, although it can handle other data types as well. While it provides powerful conflict resolution and peer-to-peer synchronization out of the box, Yjs itself is not a full-fledged database. Instead, you typically combine Yjs with other storage or networking layers to achieve a ",(0,s.jsx)(a.a,{href:"/offline-first.html",children:"local-first architecture"}),". This flexibility allows for sophisticated ",(0,s.jsx)(a.a,{href:"/articles/realtime-database.html",children:"real-time"})," features, but also means you must handle indexing, queries, and persistence on your own if you need them. Compared to RxDB, Yjs does not offer built-in replication adapters or a query system, so developers who require a more complete solution for conflict resolution, data persistence, and offline-first capabilities may find RxDB more convenient."]}),"\n",(0,s.jsx)(a.h3,{id:"electricsql",children:"ElectricSQL"}),"\n",(0,s.jsx)(a.p,{children:'2024: ElectricSQL is being rewritten in a new Electric-Next branch, which focuses on partial syncing of ("shapes", which makes is basically a NoSQL like document database) of data from a remote Postgres DB to a local clients written in TypeScript/JS or Elixir. The write path is not yet implemented, neither is client-side reactivity. The ElectricSQL backend is written in Elixir.'}),"\n",(0,s.jsx)(a.h3,{id:"signaldb",children:"SignalDB"}),"\n",(0,s.jsx)(a.p,{children:"SignalDB provides a reactive, in-memory local-lirst JavaScript database with real-time sync, bit it doesn't offer the same level of multi-client replication or flexibility with storage backends that RxDB provides, and through a RxDB persistence adapters you can actually use SignalDB for the front-end reactivity while relying on RxDB for backend sync and persistence."}),"\n",(0,s.jsx)(a.h3,{id:"powersync",children:"PowerSync"}),"\n",(0,s.jsx)(a.p,{children:'PowerSync is a "framework" for implementing local-first solutions. It centralizes business logic and conflict resolution on a central, authoritative server (PostgreSQL or MongoDB), vs RxDB that also supports custom backends. Both RxDB and PowerSync can be used with a variety of storage backends, but PowerSync uses SQLite as the front-end database which has shown to be slow because the WASM-SQLite abstraction increases read and write latency. In terms of client SDKs, PowerSync offers Flutter, Kotlin, and Swift in addition to JS/TypeScript. PowerSync offers man client technologies, PowerSync is under a license that restricts commercial use that competes with PowerSync and the JourneyApps Platform.'}),"\n",(0,s.jsx)(a.h1,{id:"read-further",children:"Read further"}),"\n",(0,s.jsxs)(a.ul,{children:["\n",(0,s.jsx)(a.li,{children:(0,s.jsx)(a.a,{href:"https://github.com/pubkey/client-side-databases",children:"Offline First Database Comparison"})}),"\n"]})]})}function h(e={}){const{wrapper:a}={...(0,n.R)(),...e.components};return a?(0,s.jsx)(a,{...e,children:(0,s.jsx)(d,{...e})}):d(e)}},8453(e,a,i){i.d(a,{R:()=>o,x:()=>r});var t=i(6540);const s={},n=t.createContext(s);function o(e){const a=t.useContext(n);return t.useMemo(function(){return"function"==typeof e?e(a):{...a,...e}},[a,e])}function r(e){let a;return a=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:o(e.components),t.createElement(n.Provider,{value:a},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/4adf80bb.5245b2b7.js b/docs/assets/js/4adf80bb.5245b2b7.js
deleted file mode 100644
index 57583ceb431..00000000000
--- a/docs/assets/js/4adf80bb.5245b2b7.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[9548],{7014(e,s,r){r.r(s),r.d(s,{assets:()=>l,contentTitle:()=>t,default:()=>d,frontMatter:()=>i,metadata:()=>n,toc:()=>h});const n=JSON.parse('{"id":"rx-storage-pouchdb","title":"PouchDB RxStorage - Migrate for Better Performance","description":"Discover why PouchDB RxStorage is deprecated in RxDB. Learn its legacy, performance drawbacks, and how to upgrade to a faster solution.","source":"@site/docs/rx-storage-pouchdb.md","sourceDirName":".","slug":"/rx-storage-pouchdb.html","permalink":"/rx-storage-pouchdb.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"PouchDB RxStorage - Migrate for Better Performance","slug":"rx-storage-pouchdb.html","description":"Discover why PouchDB RxStorage is deprecated in RxDB. Learn its legacy, performance drawbacks, and how to upgrade to a faster solution."}}');var o=r(4848),a=r(8453);const i={title:"PouchDB RxStorage - Migrate for Better Performance",slug:"rx-storage-pouchdb.html",description:"Discover why PouchDB RxStorage is deprecated in RxDB. Learn its legacy, performance drawbacks, and how to upgrade to a faster solution."},t="RxStorage PouchDB",l={},h=[{value:"Why is the PouchDB RxStorage deprecated?",id:"why-is-the-pouchdb-rxstorage-deprecated",level:2},{value:"Pros",id:"pros",level:2},{value:"Cons",id:"cons",level:2},{value:"Usage",id:"usage",level:2},{value:"Polyfill the global variable",id:"polyfill-the-global-variable",level:2},{value:"Adapters",id:"adapters",level:2},{value:"Using the internal PouchDB Database",id:"using-the-internal-pouchdb-database",level:2}];function c(e){const s={a:"a",admonition:"admonition",code:"code",figure:"figure",h1:"h1",h2:"h2",header:"header",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...(0,a.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(s.header,{children:(0,o.jsx)(s.h1,{id:"rxstorage-pouchdb",children:"RxStorage PouchDB"})}),"\n",(0,o.jsxs)(s.p,{children:["The PouchDB RxStorage is based on the ",(0,o.jsx)(s.a,{href:"https://github.com/pouchdb/pouchdb",children:"PouchDB"})," database. It is the most battle proven RxStorage and has a big ecosystem of adapters. PouchDB does a lot of overhead to enable CouchDB replication which makes the PouchDB RxStorage one of the slowest."]}),"\n",(0,o.jsx)(s.admonition,{type:"warning",children:(0,o.jsxs)(s.p,{children:["The PouchDB RxStorage is removed from RxDB and can no longer be used in new projects. You should switch to a different ",(0,o.jsx)(s.a,{href:"/rx-storage.html",children:"RxStorage"}),"."]})}),"\n",(0,o.jsx)(s.h2,{id:"why-is-the-pouchdb-rxstorage-deprecated",children:"Why is the PouchDB RxStorage deprecated?"}),"\n",(0,o.jsxs)(s.p,{children:["When I started developing RxDB in 2016, I had a specific use case to solve.\nBecause there was no client-side database out there that fitted, I created\nRxDB as a wrapper around PouchDB. This worked great and all the PouchDB features\nlike the query engine, the adapter system, CouchDB-replication and so on, came for free.\nBut over the years, it became clear that PouchDB is not suitable for many applications,\nmostly because of its performance: To be compliant to CouchDB, PouchDB has to store all\nrevision trees of documents which slows down queries. Also purging these document revisions ",(0,o.jsx)(s.a,{href:"https://github.com/pouchdb/pouchdb/issues/802",children:"is not possible"}),"\nso the database storage size will only increase over time.\nAnother problem was that many issues in PouchDB have never been fixed, but only closed by the issue-bot like ",(0,o.jsx)(s.a,{href:"https://github.com/pouchdb/pouchdb/issues/6454",children:"this one"}),". The whole PouchDB RxStorage code was full of ",(0,o.jsx)(s.a,{href:"https://github.com/pubkey/rxdb/blob/285c3cf6008b3cc83bd9b9946118a621434f0cff/src/plugins/pouchdb/pouch-statics.ts#L181",children:"workarounds and monkey patches"})," to resolve\nthese issues for RxDB users. Many these patches decreased performance even further. Sometimes it was not possible to fix things from the outside, for example queries with ",(0,o.jsx)(s.code,{children:"$gt"})," operators return ",(0,o.jsx)(s.a,{href:"https://github.com/pouchdb/pouchdb/pull/8471",children:"the wrong documents"})," which is a no-go for a production database\nand hard to debug."]}),"\n",(0,o.jsxs)(s.p,{children:["In version ",(0,o.jsx)(s.a,{href:"/releases/10.0.0.html",children:"10.0.0"})," RxDB introduced the ",(0,o.jsx)(s.a,{href:"/rx-storage.html",children:"RxStorage"})," layer which\nallows users to swap out the underlying storage engine where RxDB stores and queries documents from.\nThis allowed to use alternatives from PouchDB, for example the ",(0,o.jsx)(s.a,{href:"/rx-storage-indexeddb.html",children:"IndexedDB RxStorage"})," in browsers\nor even the ",(0,o.jsx)(s.a,{href:"/rx-storage-foundationdb.html",children:"FoundationDB RxStorage"})," on the server side.\nThere where not many use cases left where it was a good choice to use the PouchDB RxStorage. Only replicating with a\nCouchDB server, was only possible with PouchDB. But this has also changed. RxDB has ",(0,o.jsx)(s.a,{href:"/replication-couchdb.html",children:"a plugin"})," that allows\nto replicate clients with any CouchDB server by using the ",(0,o.jsx)(s.a,{href:"/replication.html",children:"RxDB Sync Engine"}),". This plugins work with any RxStorage so that it is not necessary to use the PouchDB storage.\nRemoving PouchDB allows RxDB to add many awaited features like filtered change streams for easier replication and permission handling. It will also free up development time."]}),"\n",(0,o.jsx)(s.p,{children:"If you are currently using the PouchDB RxStorage, you have these options:"}),"\n",(0,o.jsxs)(s.ul,{children:["\n",(0,o.jsxs)(s.li,{children:["Migrate to another ",(0,o.jsx)(s.a,{href:"/rx-storage.html",children:"RxStorage"})," (recommended)"]}),"\n",(0,o.jsx)(s.li,{children:"Never update RxDB to the next major version (stay on older 14.0.0)"}),"\n",(0,o.jsxs)(s.li,{children:["Fork the ",(0,o.jsx)(s.a,{href:"/rx-storage-pouchdb.html",children:"PouchDB RxStorage"})," and maintain the plugin by yourself."]}),"\n",(0,o.jsxs)(s.li,{children:["Fix all the ",(0,o.jsx)(s.a,{href:"https://github.com/pouchdb/pouchdb/issues?q=author%3Apubkey",children:"PouchDB problems"})," so that we can add PouchDB to the RxDB Core again."]}),"\n"]}),"\n",(0,o.jsx)(s.h2,{id:"pros",children:"Pros"}),"\n",(0,o.jsxs)(s.ul,{children:["\n",(0,o.jsx)(s.li,{children:"Most battle proven RxStorage"}),"\n",(0,o.jsx)(s.li,{children:"Supports replication with a CouchDB endpoint"}),"\n",(0,o.jsxs)(s.li,{children:["Support storing ",(0,o.jsx)(s.a,{href:"/rx-attachment.html",children:"attachments"})]}),"\n",(0,o.jsx)(s.li,{children:"Big ecosystem of adapters"}),"\n"]}),"\n",(0,o.jsx)(s.h2,{id:"cons",children:"Cons"}),"\n",(0,o.jsxs)(s.ul,{children:["\n",(0,o.jsx)(s.li,{children:"Big bundle size"}),"\n",(0,o.jsx)(s.li,{children:"Slow performance because of revision handling overhead"}),"\n"]}),"\n",(0,o.jsx)(s.h2,{id:"usage",children:"Usage"}),"\n",(0,o.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,o.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { createRxDatabase } "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { getRxStoragePouch"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" addPouchPlugin } "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/pouchdb'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"addPouchPlugin"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"require"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'pouchdb-adapter-idb'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"));"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'exampledb'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStoragePouch"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'idb'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * other pouchdb specific options"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"@link"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" https://pouchdb.com/api.html#create_database"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" )"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,o.jsxs)(s.h2,{id:"polyfill-the-global-variable",children:["Polyfill the ",(0,o.jsx)(s.code,{children:"global"})," variable"]}),"\n",(0,o.jsxs)(s.p,{children:["When you use RxDB with ",(0,o.jsx)(s.strong,{children:"angular"})," or other ",(0,o.jsx)(s.strong,{children:"webpack"})," based frameworks, you might get the error:"]}),"\n",(0,o.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"html","data-theme":"css-variables",children:(0,o.jsx)(s.code,{"data-language":"html","data-theme":"css-variables",style:{display:"grid"},children:(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"<"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"span"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" style"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:'"color: red;"'}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:">Uncaught ReferenceError: global is not defined"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"span"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:">"})]})})})}),"\n",(0,o.jsxs)(s.p,{children:["This is because pouchdb assumes a nodejs-specific ",(0,o.jsx)(s.code,{children:"global"})," variable that is not added to browser runtimes by some bundlers.\nYou have to add them by your own, like we do ",(0,o.jsx)(s.a,{href:"https://github.com/pubkey/rxdb/blob/master/examples/angular/src/polyfills.ts",children:"here"}),"."]}),"\n",(0,o.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,o.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(window "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"as"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" any"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:").global "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" window;"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(window "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"as"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" any"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:").process "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" env"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { DEBUG"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" undefined"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"};"})})]})})}),"\n",(0,o.jsx)(s.h2,{id:"adapters",children:"Adapters"}),"\n",(0,o.jsxs)(s.p,{children:[(0,o.jsx)(s.a,{href:"/adapters.html",children:"PouchDB has many adapters for all JavaScript runtimes"}),"."]}),"\n",(0,o.jsx)(s.h2,{id:"using-the-internal-pouchdb-database",children:"Using the internal PouchDB Database"}),"\n",(0,o.jsx)(s.p,{children:"For custom operations, you can access the internal PouchDB database.\nThis is dangerous because you might do changes that are not compatible with RxDB.\nOnly use this when there is no way to achieve your goals via the RxDB API."}),"\n",(0,o.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"javascript","data-theme":"css-variables",children:(0,o.jsxs)(s.code,{"data-language":"javascript","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" getPouchDBOfRxCollection"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/pouchdb'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" pouch"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getPouchDBOfRxCollection"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(myRxCollection);"})]})]})})})]})}function d(e={}){const{wrapper:s}={...(0,a.R)(),...e.components};return s?(0,o.jsx)(s,{...e,children:(0,o.jsx)(c,{...e})}):c(e)}},8453(e,s,r){r.d(s,{R:()=>i,x:()=>t});var n=r(6540);const o={},a=n.createContext(o);function i(e){const s=n.useContext(a);return n.useMemo(function(){return"function"==typeof e?e(s):{...s,...e}},[s,e])}function t(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:i(e.components),n.createElement(a.Provider,{value:s},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/4af60d2e.8fe42f95.js b/docs/assets/js/4af60d2e.8fe42f95.js
deleted file mode 100644
index 6518c2c01a8..00000000000
--- a/docs/assets/js/4af60d2e.8fe42f95.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[8545],{6136(e,s,a){a.r(s),a.d(s,{assets:()=>o,contentTitle:()=>l,default:()=>h,frontMatter:()=>r,metadata:()=>n,toc:()=>c});const n=JSON.parse('{"id":"articles/realtime-database","title":"What Really Is a Realtime Database?","description":"Discover how RxDB merges realtime replication and dynamic updates to deliver seamless data sync across browsers, devices, and servers - instantly.","source":"@site/docs/articles/realtime-database.md","sourceDirName":"articles","slug":"/articles/realtime-database.html","permalink":"/articles/realtime-database.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"What Really Is a Realtime Database?","slug":"realtime-database.html","description":"Discover how RxDB merges realtime replication and dynamic updates to deliver seamless data sync across browsers, devices, and servers - instantly."},"sidebar":"tutorialSidebar","previous":{"title":"RxDB as a Database for React Applications","permalink":"/articles/react-database.html"},"next":{"title":"Build Smarter Offline-First Angular Apps - How RxDB Beats IndexedDB Alone","permalink":"/articles/angular-indexeddb.html"}}');var t=a(4848),i=a(8453);const r={title:"What Really Is a Realtime Database?",slug:"realtime-database.html",description:"Discover how RxDB merges realtime replication and dynamic updates to deliver seamless data sync across browsers, devices, and servers - instantly."},l="What is a realtime database?",o={},c=[{value:"Realtime as in realtime computing",id:"realtime-as-in-realtime-computing",level:2},{value:"Real time Database as in realtime replication",id:"real-time-database-as-in-realtime-replication",level:2},{value:"Realtime as in realtime applications",id:"realtime-as-in-realtime-applications",level:2},{value:"Follow Up",id:"follow-up",level:2}];function d(e){const s={a:"a",code:"code",figure:"figure",h1:"h1",h2:"h2",header:"header",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...(0,i.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(s.header,{children:(0,t.jsx)(s.h1,{id:"what-is-a-realtime-database",children:"What is a realtime database?"})}),"\n",(0,t.jsxs)(s.p,{children:["I have been building ",(0,t.jsx)(s.a,{href:"https://rxdb.info/",children:"RxDB"}),", a NoSQL ",(0,t.jsx)(s.strong,{children:"realtime"})," JavaScript database for many years.\nOften people get confused by the word ",(0,t.jsx)(s.strong,{children:"realtime database"}),", because the word ",(0,t.jsx)(s.strong,{children:"realtime"})," is so vaguely defined that it can mean everything and nothing at the same time."]}),"\n",(0,t.jsx)(s.p,{children:"In this article we will explore what a realtime database is, and more important, what it is not."}),"\n",(0,t.jsx)("center",{children:(0,t.jsx)("a",{href:"https://rxdb.info/",children:(0,t.jsx)("img",{src:"../files/logo/rxdb_javascript_database.svg",alt:"JavaScript Realtime Database",width:"150"})})}),"\n",(0,t.jsxs)(s.h2,{id:"realtime-as-in-realtime-computing",children:["Realtime as in ",(0,t.jsx)(s.strong,{children:"realtime computing"})]}),"\n",(0,t.jsxs)(s.p,{children:['When "normal" developers hear the word "realtime", they think of ',(0,t.jsx)(s.strong,{children:"Real-time computing (RTC)"}),". Real-time computing is a type of computer processing that ",(0,t.jsx)(s.strong,{children:"guarantees specific response times"})," for tasks or events, crucial in applications like industrial control, automotive systems, and aerospace. It relies on specialized operating systems (RTOS) to ensure predictability and low latency. Hard real-time systems must never miss deadlines, while soft real-time systems can tolerate occasional delays. Real-time responses are often understood to be in the order of milliseconds, and sometimes microseconds."]}),"\n",(0,t.jsxs)(s.p,{children:["Consider the role of real-time computing in car airbags: sensors detect collision force, swiftly process the data, and immediately decide to deploy the airbags within milliseconds. Such rapid action is imperative for safeguarding passengers. Hence, the controlling chip must ",(0,t.jsx)(s.strong,{children:"guarantee a certain response time"}),' - it must operate in "realtime".']}),"\n",(0,t.jsxs)(s.p,{children:["But when people talk about ",(0,t.jsx)(s.strong,{children:"realtime databases"}),", especially in the web-development world, they almost never mean realtime, as in ",(0,t.jsx)(s.strong,{children:"realtime computing"}),', they mean something else.\nIn fact, with any programming language that run on end users devices, it is not even possible to built a "real" realtime database. A program, like a JavaScript (',(0,t.jsx)(s.a,{href:"/articles/browser-database.html",children:"browser"})," or ",(0,t.jsx)(s.a,{href:"/nodejs-database.html",children:"Node.js"}),") process, can be halted by the operating systems task manager at any time and therefore it will never be able to guarantee specific response times. To build a realtime computing database, you would need a realtime capable operating system."]}),"\n",(0,t.jsxs)(s.h2,{id:"real-time-database-as-in-realtime-replication",children:["Real time Database as in ",(0,t.jsx)(s.strong,{children:"realtime replication"})]}),"\n",(0,t.jsxs)(s.p,{children:["When talking about realtime databases, most people refer to realtime, as in realtime replication.\nOften they mean a very specific product which is the ",(0,t.jsx)(s.strong,{children:"Firebase Realtime Database"})," (not the ",(0,t.jsx)(s.a,{href:"/replication-firestore.html",children:"Firestore"}),")."]}),"\n",(0,t.jsx)("p",{align:"center",children:(0,t.jsx)("img",{src:"../files/alternatives/firebase.svg",alt:"firebase realtime replication",width:"100"})}),"\n",(0,t.jsx)(s.p,{children:'In the context of the Firebase Realtime Database, "realtime" means that data changes are synchronized and delivered to all connected clients or devices as soon as they occur, typically within milliseconds. This means that when any client updates, adds, or removes data in the database, all other clients that are connected to the same database instance receive those updates instantly, without the need for manual polling or frequent HTTP requests.'}),"\n",(0,t.jsxs)(s.p,{children:["In short, when replicating data between databases, instead of polling, we use a ",(0,t.jsx)(s.a,{href:"https://developer.mozilla.org/en-US/docs/Web/API/WebSockets_API",children:"websocket connection"}),' to live-stream all changes between the server and the clients, this is labeled as "realtime database". A similar thing can be done with RxDB and the ',(0,t.jsx)(s.a,{href:"/replication.html",children:"RxDB Replication Plugins"}),"."]}),"\n",(0,t.jsx)("p",{align:"center",children:(0,t.jsx)("a",{href:"https://rxdb.info/replication.html",children:(0,t.jsx)("img",{src:"../files/database-replication.png",alt:"database replication",width:"100"})})}),"\n",(0,t.jsxs)(s.h2,{id:"realtime-as-in-realtime-applications",children:["Realtime as in ",(0,t.jsx)(s.strong,{children:"realtime applications"})]}),"\n",(0,t.jsx)(s.p,{children:'In the context of realtime client-side applications, "realtime" refers to the immediate or near-instantaneous processing and response to events or data inputs. When data changes, the application must directly update to reflect the new data state, without any user interaction or delay. Notice that the change to the data could have come from any source, like a user action, an operation in another browser tab, or even an operation from another device that has been replicated to the client.'}),"\n",(0,t.jsx)("p",{align:"center",children:(0,t.jsx)("img",{src:"../files/multiwindow.gif",alt:"realtime applications",width:"400"})}),"\n",(0,t.jsxs)(s.p,{children:["In contrast to push-pull based databases (e.g., MySQL or MongoDB servers), a realtime database contains ",(0,t.jsx)(s.strong,{children:"features which make it easy to build realtime applications"}),". For example with RxDB you can not only fetch query results once, but instead you can subscribe to a query and directly update the HTML dom tree whenever the query has a new result set:"]}),"\n",(0,t.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,t.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,t.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,t.jsxs)(s.span,{"data-line":"",children:[(0,t.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,t.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,t.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,t.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"heroes"}),(0,t.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".find"}),(0,t.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,t.jsxs)(s.span,{"data-line":"",children:[(0,t.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" selector"}),(0,t.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,t.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,t.jsxs)(s.span,{"data-line":"",children:[(0,t.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" healthpoints"}),(0,t.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,t.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,t.jsxs)(s.span,{"data-line":"",children:[(0,t.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" $gt"}),(0,t.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,t.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 0"})]}),"\n",(0,t.jsx)(s.span,{"data-line":"",children:(0,t.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,t.jsx)(s.span,{"data-line":"",children:(0,t.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,t.jsx)(s.span,{"data-line":"",children:(0,t.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"})"})}),"\n",(0,t.jsxs)(s.span,{"data-line":"",children:[(0,t.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".$ "}),(0,t.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// The $ returns an observable that emits whenever the query's result set changes."})]}),"\n",(0,t.jsxs)(s.span,{"data-line":"",children:[(0,t.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".subscribe"}),(0,t.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(aliveHeroes "}),(0,t.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,t.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,t.jsx)(s.span,{"data-line":"",children:(0,t.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // Refresh the HTML list each time there are new query results."})}),"\n",(0,t.jsxs)(s.span,{"data-line":"",children:[(0,t.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,t.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" newContent"}),(0,t.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,t.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" aliveHeroes"}),(0,t.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".map"}),(0,t.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(doc "}),(0,t.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,t.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" '
'"}),(0,t.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,t.jsxs)(s.span,{"data-line":"",children:[(0,t.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" document"}),(0,t.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".getElementById"}),(0,t.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,t.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'#myList'"}),(0,t.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:").innerHTML "}),(0,t.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,t.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" newContent;"})]}),"\n",(0,t.jsx)(s.span,{"data-line":"",children:(0,t.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,t.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,t.jsx)(s.span,{"data-line":"",children:(0,t.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// You can even subscribe to any RxDB document's fields."})}),"\n",(0,t.jsxs)(s.span,{"data-line":"",children:[(0,t.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"myDocument"}),(0,t.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,t.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"firstName$"}),(0,t.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".subscribe"}),(0,t.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(newName "}),(0,t.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,t.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" console"}),(0,t.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".log"}),(0,t.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,t.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'name is: '"}),(0,t.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" +"}),(0,t.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" newName));"})]})]})})}),"\n",(0,t.jsxs)(s.p,{children:["A competent realtime application is engineered to offer feedback or results swiftly, ideally within milliseconds to microseconds. Ideally, a data modification should be processed in under ",(0,t.jsx)(s.strong,{children:"16 milliseconds"})," (since 1 second divided by 60 frames equals 16.66ms) to ensure users don't perceive any lag from input to visualization. RxDB utilizes the ",(0,t.jsx)(s.a,{href:"https://github.com/pubkey/event-reduce",children:"EventReduce algorithm"}),' to manage changes more swiftly than 16ms. However, it can never assure fixed response times as a "realtime computing database" would.']}),"\n",(0,t.jsx)(s.h2,{id:"follow-up",children:"Follow Up"}),"\n",(0,t.jsxs)(s.ul,{children:["\n",(0,t.jsxs)(s.li,{children:["Dive into the ",(0,t.jsx)(s.a,{href:"https://rxdb.info/quickstart.html",children:"RxDB Quickstart"})]}),"\n",(0,t.jsxs)(s.li,{children:["Discover more about the ",(0,t.jsx)(s.a,{href:"/replication.html",children:"RxDB realtime Sync Engine"})]}),"\n",(0,t.jsxs)(s.li,{children:["Join the conversation at ",(0,t.jsx)(s.a,{href:"https://rxdb.info/chat/",children:"RxDB Chat"})]}),"\n"]})]})}function h(e={}){const{wrapper:s}={...(0,i.R)(),...e.components};return s?(0,t.jsx)(s,{...e,children:(0,t.jsx)(d,{...e})}):d(e)}},8453(e,s,a){a.d(s,{R:()=>r,x:()=>l});var n=a(6540);const t={},i=n.createContext(t);function r(e){const s=n.useContext(i);return n.useMemo(function(){return"function"==typeof e?e(s):{...s,...e}},[s,e])}function l(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:r(e.components),n.createElement(i.Provider,{value:s},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/4ba7e5a3.fec476c6.js b/docs/assets/js/4ba7e5a3.fec476c6.js
deleted file mode 100644
index 9ebc3d7b19d..00000000000
--- a/docs/assets/js/4ba7e5a3.fec476c6.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[9591],{5380(e,t,n){n.r(t),n.d(t,{assets:()=>d,contentTitle:()=>a,default:()=>h,frontMatter:()=>s,metadata:()=>i,toc:()=>c});const i=JSON.parse('{"id":"contribute","title":"Contribute","description":"Got a fix or fresh idea? Learn how to contribute to RxDB, run tests, and shape the future of this cutting-edge NoSQL database for JavaScript.","source":"@site/docs/contribute.md","sourceDirName":".","slug":"/contribution.html","permalink":"/contribution.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"Contribute","slug":"contribution.html","description":"Got a fix or fresh idea? Learn how to contribute to RxDB, run tests, and shape the future of this cutting-edge NoSQL database for JavaScript."},"sidebar":"tutorialSidebar","previous":{"title":"ReactJS Storage - From Basic LocalStorage to Advanced Offline Apps with RxDB","permalink":"/articles/reactjs-storage.html"}}');var o=n(4848),r=n(8453);const s={title:"Contribute",slug:"contribution.html",description:"Got a fix or fresh idea? Learn how to contribute to RxDB, run tests, and shape the future of this cutting-edge NoSQL database for JavaScript."},a="Contribution",d={},c=[{value:"Requirements",id:"requirements",level:2},{value:"Adding tests",id:"adding-tests",level:2},{value:"Making a PR",id:"making-a-pr",level:2},{value:"Getting help",id:"getting-help",level:2},{value:"No-Go",id:"no-go",level:2}];function l(e){const t={a:"a",code:"code",h1:"h1",h2:"h2",header:"header",li:"li",ol:"ol",p:"p",...(0,r.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(t.header,{children:(0,o.jsx)(t.h1,{id:"contribution",children:"Contribution"})}),"\n",(0,o.jsx)(t.p,{children:"We are open to, and grateful for, any contributions made by the community."}),"\n",(0,o.jsx)(t.h1,{id:"developing",children:"Developing"}),"\n",(0,o.jsx)(t.h2,{id:"requirements",children:"Requirements"}),"\n",(0,o.jsx)(t.p,{children:"Before you can start developing, do the following:"}),"\n",(0,o.jsxs)(t.ol,{children:["\n",(0,o.jsxs)(t.li,{children:["Make sure you have installed nodejs with the version stated in the ",(0,o.jsx)(t.a,{href:"https://github.com/pubkey/rxdb/blob/master/.nvmrc",children:".nvmrc"})]}),"\n",(0,o.jsxs)(t.li,{children:["Clone the repository ",(0,o.jsx)(t.code,{children:"git clone https://github.com/pubkey/rxdb.git"})]}),"\n",(0,o.jsxs)(t.li,{children:["Install the dependencies ",(0,o.jsx)(t.code,{children:"cd rxdb && npm install"})]}),"\n",(0,o.jsxs)(t.li,{children:["Make sure that the tests work for you. At first, try it out with ",(0,o.jsx)(t.code,{children:"npm run test:node:memory"})," which tests the memory storage in node. In the ",(0,o.jsx)(t.a,{href:"https://github.com/pubkey/rxdb/blob/master/package.json",children:"package.json"})," you can find more scripts to run the tests with different storages."]}),"\n"]}),"\n",(0,o.jsx)(t.h2,{id:"adding-tests",children:"Adding tests"}),"\n",(0,o.jsxs)(t.p,{children:["Before you start creating a bugfix or a feature, you should create a test to reproduce it. Tests are in the ",(0,o.jsx)(t.code,{children:"test/unit"}),"-folder.\nIf you want to reproduce a bug, you can modify the test in ",(0,o.jsx)(t.a,{href:"https://github.com/pubkey/rxdb/blob/master/test/unit/bug-report.test.ts",children:"this file"}),"."]}),"\n",(0,o.jsx)(t.h2,{id:"making-a-pr",children:"Making a PR"}),"\n",(0,o.jsx)(t.p,{children:"If you make a pull-request, ensure the following:"}),"\n",(0,o.jsxs)(t.ol,{children:["\n",(0,o.jsx)(t.li,{children:"Every feature or bugfix must be committed together with a unit-test which ensures everything works as expected."}),"\n",(0,o.jsxs)(t.li,{children:["Do not commit build-files (anything in the ",(0,o.jsx)(t.code,{children:"dist"}),"-folder)"]}),"\n",(0,o.jsx)(t.li,{children:"Before you add non-trivial changes, create an issue to discuss if this will be merged and you don't waste your time."}),"\n",(0,o.jsxs)(t.li,{children:["To run the unit and integration-tests, do ",(0,o.jsx)(t.code,{children:"npm run test"})," and ensure everything works as expected"]}),"\n"]}),"\n",(0,o.jsx)(t.h2,{id:"getting-help",children:"Getting help"}),"\n",(0,o.jsxs)(t.p,{children:["If you need help with your contribution, ask at ",(0,o.jsx)(t.a,{href:"https://rxdb.info/chat/",children:"discord"}),"."]}),"\n",(0,o.jsx)(t.h2,{id:"no-go",children:"No-Go"}),"\n",(0,o.jsx)(t.p,{children:"When reporting a bug, you need to make a PR with a test case that runs in the CI and reproduces your problem.\nSending a link with a repo does not help the maintainer because installing random peoples projects is time consuming and dangerous.\nAlso the maintainer will never go on a bug hunt based on your plain description. Either you report the bug with a test case, or the maintainer will likely not help you."}),"\n",(0,o.jsx)(t.h1,{id:"docs",children:"Docs"}),"\n",(0,o.jsxs)(t.p,{children:["The source of the documentation is at the ",(0,o.jsx)(t.code,{children:"docs-src"}),"-folder.\nTo read the docs locally, run ",(0,o.jsx)(t.code,{children:"npm run docs:install && npm run docs:serve"})," and open ",(0,o.jsx)(t.code,{children:"http://localhost:4000/"})]}),"\n",(0,o.jsx)(t.h1,{id:"thank-you-for-contributing",children:"Thank you for contributing!"})]})}function h(e={}){const{wrapper:t}={...(0,r.R)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(l,{...e})}):l(e)}},8453(e,t,n){n.d(t,{R:()=>s,x:()=>a});var i=n(6540);const o={},r=i.createContext(o);function s(e){const t=i.useContext(r);return i.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function a(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:s(e.components),i.createElement(r.Provider,{value:t},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/4ed9495b.b85648e1.js b/docs/assets/js/4ed9495b.b85648e1.js
deleted file mode 100644
index 6d0dc2eef67..00000000000
--- a/docs/assets/js/4ed9495b.b85648e1.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[1199],{3247(e,s,r){r.d(s,{g:()=>i});var n=r(4848);function i(e){const s=[];let r=null;return e.children.forEach(e=>{e.props.id?(r&&s.push(r),r={headline:e,paragraphs:[]}):r&&r.paragraphs.push(e)}),r&&s.push(r),(0,n.jsx)("div",{style:a.stepsContainer,children:s.map((e,s)=>(0,n.jsxs)("div",{style:a.stepWrapper,children:[(0,n.jsxs)("div",{style:a.stepIndicator,children:[(0,n.jsx)("div",{style:a.stepNumber,children:s+1}),(0,n.jsx)("div",{style:a.verticalLine})]}),(0,n.jsxs)("div",{style:a.stepContent,children:[(0,n.jsx)("div",{children:e.headline}),e.paragraphs.map((e,s)=>(0,n.jsx)("div",{style:a.item,children:e},s))]})]},s))})}const a={stepsContainer:{display:"flex",flexDirection:"column"},stepWrapper:{display:"flex",alignItems:"stretch",marginBottom:"1.5rem",position:"relative",minWidth:0},stepIndicator:{position:"relative",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"flex-start",width:"33px",marginRight:"1rem",minWidth:0},stepNumber:{width:"33px",height:"33px",borderRadius:"50%",backgroundColor:"var(--color-top)",color:"#fff",display:"flex",alignItems:"center",justifyContent:"center",fontWeight:"bold",marginTop:-4},verticalLine:{position:"absolute",top:29,bottom:"0",left:"50%",width:"1px",background:"linear-gradient(to bottom, var(--color-top) 0%, var(--color-top) 80%, rgba(0,0,0,0) 100%)",transform:"translateX(-50%)"},stepContent:{flex:1,minWidth:0,overflowWrap:"break-word"},item:{marginTop:"0.5rem"}}},5356(e,s,r){r.r(s),r.d(s,{assets:()=>c,contentTitle:()=>t,default:()=>p,frontMatter:()=>l,metadata:()=>n,toc:()=>d});const n=JSON.parse('{"id":"rx-storage-sqlite","title":"RxDB SQLite RxStorage for Hybrid Apps","description":"Unlock seamless persistence with SQLite RxStorage. Explore usage in hybrid apps, compare performance, and leverage advanced features like attachments.","source":"@site/docs/rx-storage-sqlite.md","sourceDirName":".","slug":"/rx-storage-sqlite.html","permalink":"/rx-storage-sqlite.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"RxDB SQLite RxStorage for Hybrid Apps","slug":"rx-storage-sqlite.html","description":"Unlock seamless persistence with SQLite RxStorage. Explore usage in hybrid apps, compare performance, and leverage advanced features like attachments."},"sidebar":"tutorialSidebar","previous":{"title":"Filesystem Node \ud83d\udc51 (Node.js)","permalink":"/rx-storage-filesystem-node.html"},"next":{"title":"Dexie.js","permalink":"/rx-storage-dexie.html"}}');var i=r(4848),a=r(8453),o=(r(3247),r(2636));const l={title:"RxDB SQLite RxStorage for Hybrid Apps",slug:"rx-storage-sqlite.html",description:"Unlock seamless persistence with SQLite RxStorage. Explore usage in hybrid apps, compare performance, and leverage advanced features like attachments."},t="SQLite RxStorage",c={},d=[{value:"Performance comparison with other storages",id:"performance-comparison-with-other-storages",level:2},{value:"Using the SQLite RxStorage",id:"using-the-sqlite-rxstorage",level:2},{value:"Trial Version",id:"trial-version",level:2},{value:"RxDB Premium \ud83d\udc51",id:"rxdb-premium-",level:2},{value:"SQLiteBasics",id:"sqlitebasics",level:2},{value:"Using the SQLite RxStorage with different SQLite libraries",id:"using-the-sqlite-rxstorage-with-different-sqlite-libraries",level:2},{value:"Usage with the sqlite3 npm package",id:"usage-with-the-sqlite3-npm-package",level:3},{value:"Usage with the node package",id:"usage-with-the-node-package",level:3},{value:"Usage with Webassembly in the Browser",id:"usage-with-webassembly-in-the-browser",level:3},{value:"Usage with React Native",id:"usage-with-react-native",level:3},{value:"Usage with Expo SQLite",id:"usage-with-expo-sqlite",level:3},{value:"Usage with SQLite Capacitor",id:"usage-with-sqlite-capacitor",level:3},{value:"Usage with Tauri SQLite",id:"usage-with-tauri-sqlite",level:3},{value:"Database Connection",id:"database-connection",level:2},{value:"Known Problems of SQLite in JavaScript apps",id:"known-problems-of-sqlite-in-javascript-apps",level:2},{value:"Related",id:"related",level:2}];function h(e){const s={a:"a",code:"code",figure:"figure",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",ol:"ol",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...(0,a.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s.header,{children:(0,i.jsx)(s.h1,{id:"sqlite-rxstorage",children:"SQLite RxStorage"})}),"\n",(0,i.jsxs)(s.p,{children:["This ",(0,i.jsx)(s.a,{href:"/rx-storage.html",children:"RxStorage"})," is based on ",(0,i.jsx)(s.a,{href:"https://www.sqlite.org/index.html",children:"SQLite"})," and is made to work with ",(0,i.jsx)(s.strong,{children:"Node.js"}),", ",(0,i.jsx)(s.a,{href:"/electron-database.html",children:"Electron"}),", ",(0,i.jsx)(s.a,{href:"/react-native-database.html",children:"React Native"})," and ",(0,i.jsx)(s.a,{href:"/capacitor-database.html",children:"Capacitor"})," or SQLite via webassembly in the browser. It can be used with different so called ",(0,i.jsx)(s.code,{children:"sqliteBasics"})," adapters to account for the differences in the various SQLite bundles and libraries that exist."]}),"\n",(0,i.jsxs)(s.p,{children:["SQLite is a natural fit for RxDB because most platforms - Android, iOS, Node.js, and beyond - already ship with a built-in SQLite engine, delivering robust performance and minimal setup overhead. Its proven reliability, having powered countless applications over the years, ensures a battle-tested foundation for local data. By placing RxDB on top of SQLite, you gain advanced features suited for building interactive, offline-capable UI apps: ",(0,i.jsx)(s.a,{href:"/rx-query.html#observe",children:"real-time queries"}),", reactive state updates, ",(0,i.jsx)(s.a,{href:"/transactions-conflicts-revisions.html",children:"conflict handling"}),", ",(0,i.jsx)(s.a,{href:"/encryption.html",children:"data encryption"}),", and straightforward ",(0,i.jsx)(s.a,{href:"/rx-schema.html",children:"schema management"}),". This combination offers a unified NoSQL-like experience without sacrificing the speed and broad availability that SQLite brings."]}),"\n",(0,i.jsx)(s.h2,{id:"performance-comparison-with-other-storages",children:"Performance comparison with other storages"}),"\n",(0,i.jsxs)(s.p,{children:["The SQLite storage is a bit slower compared to other Node.js based storages like the ",(0,i.jsx)(s.a,{href:"/rx-storage-filesystem-node.html",children:"Filesystem Storage"})," because wrapping SQLite has a bit of overhead and sending data from the JavaScript process to SQLite and backwards increases the latency. However for most hybrid apps the SQLite storage is the best option because it can leverage the SQLite version that comes already installed on the smartphones OS (iOS and android). Also for desktop electron apps it can be a viable solution because it is easy to ship SQLite together inside of the electron bundle."]}),"\n",(0,i.jsx)("p",{align:"center",children:(0,i.jsx)("img",{src:"./files/rx-storage-performance-node.png",alt:"SQLite performance - Node.js",width:"700"})}),"\n",(0,i.jsx)(s.h2,{id:"using-the-sqlite-rxstorage",children:"Using the SQLite RxStorage"}),"\n",(0,i.jsx)(s.p,{children:"There are two versions of the SQLite storage available for RxDB:"}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:["\n",(0,i.jsxs)(s.p,{children:["The ",(0,i.jsx)(s.strong,{children:"trial version"})," which comes directly shipped with RxDB Core. It contains an SQLite storage that allows you to try out RxDB on devices that support SQLite, like React Native or Electron. While the trial version does pass the full RxDB storage test-suite, it is not made for production. It is not using indexes, has no attachment support, is limited to store 300 documents and fetches the whole storage state to run queries in memory. ",(0,i.jsx)(s.strong,{children:"Use it for evaluation and prototypes only!"})]}),"\n"]}),"\n",(0,i.jsxs)(s.li,{children:["\n",(0,i.jsxs)(s.p,{children:["The ",(0,i.jsxs)(s.strong,{children:[(0,i.jsx)(s.a,{href:"/premium/",children:"RxDB Premium \ud83d\udc51"})," version"]})," which contains the full production-ready SQLite storage. It contains a full load of performance optimizations and full query support. To use the SQLite storage you have to import ",(0,i.jsx)(s.code,{children:"getRxStorageSQLite"})," from the ",(0,i.jsx)(s.a,{href:"/premium/",children:"RxDB Premium \ud83d\udc51"})," package and then add the correct ",(0,i.jsx)(s.code,{children:"sqliteBasics"})," adapter depending on which sqlite module you want to use. This can then be used as storage when creating the ",(0,i.jsx)(s.a,{href:"/rx-database.html",children:"RxDatabase"}),". In the following you can see some examples for some of the most common SQLite packages."]}),"\n"]}),"\n"]}),"\n",(0,i.jsxs)(o.t,{children:[(0,i.jsx)(s.h2,{id:"trial-version",children:"Trial Version"}),(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// Import the Trial SQLite Storage"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" getRxStorageSQLiteTrial"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" getSQLiteBasicsNodeNative"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/storage-sqlite'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// Create a Storage for it, here we use the nodejs-native SQLite module"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// other SQLite modules can be used with a different sqliteBasics adapter"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { DatabaseSync } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'node:sqlite'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" storage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageSQLiteTrial"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" sqliteBasics"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getSQLiteBasicsNodeNative"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(DatabaseSync)"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// Create a Database with the Storage"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" myRxDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'exampledb'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),(0,i.jsx)(s.h2,{id:"rxdb-premium-",children:"RxDB Premium \ud83d\udc51"}),(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// Import the SQLite Storage from the premium plugins."})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" getRxStorageSQLite"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" getSQLiteBasicsNodeNative"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb-premium/plugins/storage-sqlite'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// Create a Storage for it, here we use the nodejs-native SQLite module"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// other SQLite modules can be used with a different sqliteBasics adapter"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { DatabaseSync } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'node:sqlite'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" storage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageSQLite"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" sqliteBasics"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getSQLiteBasicsNodeNative"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(DatabaseSync)"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// Create a Database with the Storage"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" myRxDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'exampledb'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})})]}),"\n",(0,i.jsx)(s.p,{children:"In the following, all examples are shown with the premium SQLite storage. Still they work the same with the trial version."}),"\n",(0,i.jsx)(s.h2,{id:"sqlitebasics",children:"SQLiteBasics"}),"\n",(0,i.jsxs)(s.p,{children:["Different SQLite libraries have different APIs to create and access the SQLite database. Therefore the library must be massaged to work with the RxDB SQlite storage. This is done in a so called ",(0,i.jsx)(s.code,{children:"SQLiteBasics"})," interface. RxDB directly ships with a wide range of these for various SQLite libraries that are commonly used. Also creating your own one is pretty simple, check the source code of the existing ones for that."]}),"\n",(0,i.jsxs)(s.p,{children:["For example for the ",(0,i.jsx)(s.code,{children:"sqlite3"})," npm library we have the ",(0,i.jsx)(s.code,{children:"getSQLiteBasicsNode()"})," implementation. For ",(0,i.jsx)(s.code,{children:"node:sqlite"})," we have the ",(0,i.jsx)(s.code,{children:"getSQLiteBasicsNodeNative()"})," implementation and so on.."]}),"\n",(0,i.jsx)(s.h2,{id:"using-the-sqlite-rxstorage-with-different-sqlite-libraries",children:"Using the SQLite RxStorage with different SQLite libraries"}),"\n",(0,i.jsxs)(s.h3,{id:"usage-with-the-sqlite3-npm-package",children:["Usage with the ",(0,i.jsx)(s.strong,{children:"sqlite3 npm package"})]}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" createRxDatabase"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" getRxStorageSQLite"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" getSQLiteBasicsNode"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb-premium/plugins/storage-sqlite'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"/**"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * In Node.js, we use the SQLite database"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * from the 'sqlite' npm module."})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"@link"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" https://www.npmjs.com/package/sqlite3"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" sqlite3 "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'sqlite3'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" myRxDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'exampledb'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageSQLite"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * Different runtimes have different interfaces to SQLite."})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * For example in node.js we have a callback API,"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * while in capacitor sqlite we have Promises."})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * So we need a helper object that is capable of doing the basic"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * sqlite operations."})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" sqliteBasics"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getSQLiteBasicsNode"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(sqlite3)"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" })"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,i.jsxs)(s.h3,{id:"usage-with-the-node-package",children:["Usage with the ",(0,i.jsxs)(s.strong,{children:["node",":sqlite"]})," package"]}),"\n",(0,i.jsxs)(s.p,{children:['With Node.js version 22 and newer, you can use the "native" ',(0,i.jsx)(s.a,{href:"https://nodejs.org/api/sqlite.html",children:"sqlite module"})," that comes shipped with Node.js."]}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { createRxDatabase } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" getRxStorageSQLite"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" getSQLiteBasicsNodeNative"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb-premium/plugins/storage-sqlite'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { DatabaseSync } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'node:sqlite'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" myRxDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'exampledb'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageSQLite"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" sqliteBasics"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getSQLiteBasicsNodeNative"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(DatabaseSync)"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" })"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,i.jsx)(s.h3,{id:"usage-with-webassembly-in-the-browser",children:"Usage with Webassembly in the Browser"}),"\n",(0,i.jsxs)(s.p,{children:["In the browser you can use the ",(0,i.jsx)(s.a,{href:"https://github.com/rhashimoto/wa-sqlite",children:"wa-sqlite"})," package to run sQLite in Webassembly. The wa-sqlite module also allows to use persistence with IndexedDB or OPFS. Notice that in general SQLite via Webassembly is slower compared to other storages like ",(0,i.jsx)(s.a,{href:"/rx-storage-indexeddb.html",children:"IndexedDB"})," or ",(0,i.jsx)(s.a,{href:"/rx-storage-opfs.html",children:"OPFS"})," because sending data from the main thread to wasm and backwards is slow in the browser. Have a look the ",(0,i.jsx)(s.a,{href:"/rx-storage-performance.html",children:"performance comparison"}),"."]}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" createRxDatabase"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" getRxStorageSQLite"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" getSQLiteBasicsWasm"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb-premium/plugins/storage-sqlite'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"/**"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * In the Browser, we use the SQLite database"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * from the 'wa-sqlite' npm module. This contains the SQLite library"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * compiled to Webassembly"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"@link"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" https://www.npmjs.com/package/wa-sqlite"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" SQLiteESMFactory "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'wa-sqlite/dist/wa-sqlite-async.mjs'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" SQLite "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'wa-sqlite'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" sqliteModule"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" SQLiteESMFactory"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" sqlite3"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" SQLite"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".Factory"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"module"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" myRxDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'exampledb'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageSQLite"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" sqliteBasics"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getSQLiteBasicsWasm"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(sqlite3)"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" })"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,i.jsxs)(s.h3,{id:"usage-with-react-native",children:["Usage with ",(0,i.jsx)(s.strong,{children:"React Native"})]}),"\n",(0,i.jsxs)(s.ol,{children:["\n",(0,i.jsxs)(s.li,{children:["Install the ",(0,i.jsx)(s.a,{href:"https://www.npmjs.com/package/react-native-quick-sqlite",children:"react-native-quick-sqlite npm module"})]}),"\n",(0,i.jsxs)(s.li,{children:["Import ",(0,i.jsx)(s.code,{children:"getSQLiteBasicsQuickSQLite"})," from the SQLite plugin and use it to create a ",(0,i.jsx)(s.a,{href:"/rx-database.html",children:"RxDatabase"}),":"]}),"\n"]}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" createRxDatabase"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" getRxStorageSQLite"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" getSQLiteBasicsQuickSQLite"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb-premium/plugins/storage-sqlite'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { open } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'react-native-quick-sqlite'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// create database"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" myRxDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'exampledb'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" multiInstance"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" false"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // <- Set multiInstance to false when using RxDB in React Native"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageSQLite"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" sqliteBasics"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getSQLiteBasicsQuickSQLite"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(open)"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" })"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,i.jsxs)(s.p,{children:["If ",(0,i.jsx)(s.code,{children:"react-native-quick-sqlite"})," does not work for you, as alternative you can use the ",(0,i.jsx)(s.a,{href:"https://www.npmjs.com/package/react-native-sqlite-2",children:"react-native-sqlite-2"})," library instead:"]}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" getRxStorageSQLite"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" getSQLiteBasicsWebSQL"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb-premium/plugins/storage-sqlite'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" SQLite "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'react-native-sqlite-2'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" storage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageSQLite"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" sqliteBasics"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getSQLiteBasicsWebSQL"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"SQLite"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".openDatabase)"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,i.jsxs)(s.h3,{id:"usage-with-expo-sqlite",children:["Usage with ",(0,i.jsx)(s.strong,{children:"Expo SQLite"})]}),"\n",(0,i.jsxs)(s.p,{children:["Notice that ",(0,i.jsx)(s.a,{href:"https://www.npmjs.com/package/expo-sqlite",children:"expo-sqlite"})," cannot be used on android (but it works on iOS) if you use Expo SDK version 50 or older. Please update to Version 50 or newer to use it."]}),"\n",(0,i.jsxs)(s.p,{children:["In the latest expo SDK version, use the ",(0,i.jsx)(s.code,{children:"getSQLiteBasicsExpoSQLiteAsync()"})," method:"]}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" createRxDatabase"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" getRxStorageSQLite"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" getSQLiteBasicsExpoSQLiteAsync"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb-premium/plugins/storage-sqlite'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" *"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" as"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" SQLite "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'expo-sqlite'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" myRxDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'exampledb'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" multiInstance"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" false"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageSQLite"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" sqliteBasics"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getSQLiteBasicsExpoSQLiteAsync"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"SQLite"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".openDatabaseAsync)"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" })"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,i.jsx)(s.p,{children:"In older Expo SDK versions, you might have to use the non-async API:"}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" createRxDatabase"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" getRxStorageSQLite"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" getSQLiteBasicsExpoSQLite"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb-premium/plugins/storage-sqlite'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { openDatabase } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'expo-sqlite'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" myRxDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'exampledb'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" multiInstance"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" false"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageSQLite"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" sqliteBasics"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getSQLiteBasicsExpoSQLite"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(openDatabase)"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" })"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,i.jsxs)(s.h3,{id:"usage-with-sqlite-capacitor",children:["Usage with ",(0,i.jsx)(s.strong,{children:"SQLite Capacitor"})]}),"\n",(0,i.jsxs)(s.ol,{children:["\n",(0,i.jsxs)(s.li,{children:["Install the ",(0,i.jsx)(s.a,{href:"https://github.com/capacitor-community/sqlite",children:"sqlite capacitor npm module"})]}),"\n",(0,i.jsx)(s.li,{children:"Add the iOS database location to your capacitor config"}),"\n"]}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"json","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"json","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"{"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:' "plugins"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:' "CapacitorSQLite"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:' "iosDatabaseLocation"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "Library/CapacitorDatabase"'})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"}"})})]})})}),"\n",(0,i.jsxs)(s.ol,{start:"3",children:["\n",(0,i.jsxs)(s.li,{children:["Use the function ",(0,i.jsx)(s.code,{children:"getSQLiteBasicsCapacitor"})," to get the capacitor sqlite wrapper."]}),"\n"]}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" createRxDatabase"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" getRxStorageSQLite"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" getSQLiteBasicsCapacitor"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb-premium/plugins/storage-sqlite'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"/**"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * Import SQLite from the capacitor plugin."})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" CapacitorSQLite"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" SQLiteConnection"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" '@capacitor-community/sqlite'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { Capacitor } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" '@capacitor/core'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" sqlite"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" new"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" SQLiteConnection"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(CapacitorSQLite);"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" myRxDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'exampledb'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageSQLite"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * Different runtimes have different interfaces to SQLite."})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * For example in node.js we have a callback API,"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * while in capacitor sqlite we have Promises."})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * So we need a helper object that is capable of doing the basic"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * sqlite operations."})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" sqliteBasics"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getSQLiteBasicsCapacitor"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(sqlite"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" Capacitor)"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" })"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,i.jsx)(s.h3,{id:"usage-with-tauri-sqlite",children:"Usage with Tauri SQLite"}),"\n",(0,i.jsxs)(s.ol,{children:["\n",(0,i.jsxs)(s.li,{children:["Add the ",(0,i.jsx)(s.a,{href:"https://tauri.app/plugin/sql/#setup",children:"Tauri SQL plugin"})," to your Tauri project."]}),"\n",(0,i.jsxs)(s.li,{children:["Make sure to add ",(0,i.jsx)(s.code,{children:"sqlite"})," as your database engine by running ",(0,i.jsx)(s.code,{children:"cargo add tauri-plugin-sql --features sqlite"})," inside ",(0,i.jsx)(s.code,{children:"src-tauri"}),"."]}),"\n",(0,i.jsxs)(s.li,{children:["Use the ",(0,i.jsx)(s.code,{children:"getSQLiteBasicsTauri"})," function to get the Tauri SQLite wrapper."]}),"\n"]}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" createRxDatabase"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" getRxStorageSQLite"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" getSQLiteBasicsTauri"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/storage-sqlite'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" sqlite3 "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" '@tauri-apps/plugin-sql'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" myRxDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'exampledb'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageSQLite"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" sqliteBasics"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getSQLiteBasicsTauri"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(sqlite3)"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" })"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,i.jsx)(s.h2,{id:"database-connection",children:"Database Connection"}),"\n",(0,i.jsxs)(s.p,{children:["If you need to access the database connection for any reason you can use ",(0,i.jsx)(s.code,{children:"getDatabaseConnection"})," to do so:"]}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsx)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { getDatabaseConnection } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb-premium/plugins/storage-sqlite'"})]})})})}),"\n",(0,i.jsx)(s.p,{children:"It has the following signature:"}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"getDatabaseConnection"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" sqliteBasics: SQLiteBasics"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"<"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"any"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:">"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" databaseName: string"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"): "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"Promise"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"<"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"SQLiteDatabaseClass"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:">"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]})]})})}),"\n",(0,i.jsx)(s.h2,{id:"known-problems-of-sqlite-in-javascript-apps",children:"Known Problems of SQLite in JavaScript apps"}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:["\n",(0,i.jsxs)(s.p,{children:["Some JavaScript runtimes do not contain a ",(0,i.jsx)(s.code,{children:"Buffer"})," API which is used by SQLite to store binary attachments data as ",(0,i.jsx)(s.code,{children:"BLOB"}),". You can set ",(0,i.jsx)(s.code,{children:"storeAttachmentsAsBase64String: true"})," if you want to store the attachments data as base64 string instead. This increases the database size but makes it work even without having a ",(0,i.jsx)(s.code,{children:"Buffer"}),"."]}),"\n"]}),"\n",(0,i.jsxs)(s.li,{children:["\n",(0,i.jsxs)(s.p,{children:["The SQlite RxStorage works on SQLite libraries that use SQLite in version ",(0,i.jsx)(s.code,{children:"3.38.0 (2022-02-22)"})," or newer, because it uses the ",(0,i.jsx)(s.a,{href:"https://www.sqlite.org/json1.html",children:"SQLite JSON"})," methods like ",(0,i.jsx)(s.code,{children:"JSON_EXTRACT"}),". If you get an error like ",(0,i.jsx)(s.code,{children:"[Error: no such function: JSON_EXTRACT (code 1 SQLITE_ERROR[1])"}),", you might have a too old version of SQLite."]}),"\n"]}),"\n",(0,i.jsxs)(s.li,{children:["\n",(0,i.jsxs)(s.p,{children:["To debug all SQL operations, you can pass a log function to ",(0,i.jsx)(s.code,{children:"getRxStorageSQLite()"})," like this. This does not work with the trial version:"]}),"\n"]}),"\n"]}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" storage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageSQLite"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" sqliteBasics"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getSQLiteBasicsCapacitor"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(sqlite"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" Capacitor)"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // pass log function"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" log"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" console"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"log"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".bind"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(console)"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:["By default, all tables will be created with the ",(0,i.jsx)(s.code,{children:"WITHOUT ROWID"})," flag. Some tools like drizzle do not support tables with that option. You can disable it by setting ",(0,i.jsx)(s.code,{children:"withoutRowId: false"})," when calling ",(0,i.jsx)(s.code,{children:"getRxStorageSQLite()"}),":"]}),"\n"]}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" storage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageSQLite"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" sqliteBasics"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getSQLiteBasicsCapacitor"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(sqlite"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" Capacitor)"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" withoutRowId"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" false"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,i.jsx)(s.h2,{id:"related",children:"Related"}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsx)(s.li,{children:(0,i.jsx)(s.a,{href:"/react-native-database.html",children:"React Native Databases"})}),"\n"]})]})}function p(e={}){const{wrapper:s}={...(0,a.R)(),...e.components};return s?(0,i.jsx)(s,{...e,children:(0,i.jsx)(h,{...e})}):h(e)}},8453(e,s,r){r.d(s,{R:()=>o,x:()=>l});var n=r(6540);const i={},a=n.createContext(i);function o(e){const s=n.useContext(a);return n.useMemo(function(){return"function"==typeof e?e(s):{...s,...e}},[s,e])}function l(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:o(e.components),n.createElement(a.Provider,{value:s},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/4f17bbdd.b46c3eaf.js b/docs/assets/js/4f17bbdd.b46c3eaf.js
deleted file mode 100644
index a2ca88ad4b7..00000000000
--- a/docs/assets/js/4f17bbdd.b46c3eaf.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[2373],{1206(e,i,s){s.r(i),s.d(i,{default:()=>n});var r=s(4586),l=s(8711),t=s(6540),c=s(8141),d=s(4848);function n(){const{siteConfig:e}=(0,r.A)();return(0,t.useEffect)(()=>{(0,c.c)("paid-meeting-link-clicked",100,1)}),(0,d.jsx)(l.A,{title:`Meeting - ${e.title}`,description:"RxDB Meeting Scheduler",children:(0,d.jsx)("main",{children:(0,d.jsxs)("div",{className:"redirectBox",style:{textAlign:"center"},children:[(0,d.jsx)("a",{href:"/",children:(0,d.jsx)("div",{className:"logo",children:(0,d.jsx)("img",{src:"/files/logo/logo_text.svg",alt:"RxDB",width:160})})}),(0,d.jsx)("h1",{children:"RxDB Meeting Scheduler"}),(0,d.jsx)("p",{children:(0,d.jsx)("b",{children:"You will be redirected in a few seconds."})}),(0,d.jsx)("p",{children:(0,d.jsx)("a",{href:"https://rxdb.pipedrive.com/scheduler/Z6A0M1sr/rxdb-1h-paid-consulting-session",children:"Click here"})}),(0,d.jsx)("meta",{httpEquiv:"Refresh",content:"0; url=https://rxdb.pipedrive.com/scheduler/Z6A0M1sr/rxdb-1h-paid-consulting-session"})]})})})}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/502d8946.3c4d7aab.js b/docs/assets/js/502d8946.3c4d7aab.js
deleted file mode 100644
index 131b9122d64..00000000000
--- a/docs/assets/js/502d8946.3c4d7aab.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[7817],{732(e,n,i){i.r(n),i.d(n,{default:()=>h});var r=i(4586),t=i(5260),s=i(8711),l=(i(6540),i(4848));function h(){const{siteConfig:e}=(0,r.A)();return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(t.A,{children:(0,l.jsx)("meta",{name:"robots",content:"noindex"})}),(0,l.jsx)(s.A,{title:`Legal Notice - ${e.title}`,description:"RxDB Legal Notice",children:(0,l.jsxs)("main",{children:[(0,l.jsxs)("div",{className:"redirectBox",style:{textAlign:"center"},children:[(0,l.jsx)("a",{href:"/",children:(0,l.jsx)("div",{className:"logo",children:(0,l.jsx)("img",{src:"/files/logo/logo_text.svg",alt:"RxDB",width:160})})}),(0,l.jsxs)("h1",{children:[(0,l.jsx)("a",{href:"https://rxdb.info/",children:"RxDB"})," Legal Notice"]}),(0,l.jsxs)("p",{children:["Daniel Meyer - RxDB",(0,l.jsx)("br",{}),"Friedrichstra\xdfe 13",(0,l.jsx)("br",{}),"70174 Stuttgart",(0,l.jsx)("br",{}),"Email: ",(0,l.jsx)("br",{}),(0,l.jsx)("img",{src:"/files/imprint-email.png",alt:"RxDB Email"})]})]}),(0,l.jsxs)("div",{className:"redirectBox",style:{padding:"10%"},children:[(0,l.jsx)("h3",{children:"German Legal Notice"}),(0,l.jsx)("h6",{children:"Umsatzsteuer-ID nach \xa727a Umsatzsteuergesetz"}),"DE357840955",(0,l.jsx)("h6",{children:"Verantwortlich f\xfcr den Inhalt (gem. \xa7 55 Abs. 2 RStV)"}),"Der oben genannte Eigent\xfcmer.",(0,l.jsx)("h6",{children:"Hinweis gem\xe4\xdf Online-Streitbeilegungs-Verordnung"}),(0,l.jsx)("p",{children:"Nach geltendem Recht sind wir verpflichtet, Verbraucher auf die Existenz der Europ\xe4ischen Online-Streitbeilegungs-Plattform hinzuweisen, welche f\xfcr die Beilegung von Streitigkeiten genutzt werden kann, ohne dass ein Gericht eingeschaltet werden muss. F\xfcr die Einrichtung der Plattform ist die Europ\xe4ische Kommission zust\xe4ndig. Die Europ\xe4ische Online-Streitbeilegungs-Plattform ist hier zu finden: http://ec.europa.eu/odr. Wir weisen ausdr\xfccklich darauf hin, dass wir nicht bereit sind, uns am Streitbeilegungsverfahren im Rahmen der Europ\xe4ischen Online-Streitbeilegungs-Plattform zu beteiligen."}),(0,l.jsx)("h6",{children:"\xa7 1 Warnhinweis zu Inhalten"}),(0,l.jsx)("p",{children:"Alle Inhalte dieser Webseite wurden nach Treu und Glauben mit gr\xf6\xdftm\xf6glicher Sorgfalt erstellt. Wir \xfcbernehmen keine Gew\xe4hr f\xfcr die Richtigkeit und Aktualit\xe4t der bereitgestellten Inhalte und garantieren nicht, dass diese Daten jederzeit auf dem aktuellen Stand sind. Diese Webseite kann technische Ungenauigkeiten oder typographische Fehler enthalten. Wir behalten uns vor, die Informationen dieser Webseite jederzeit und ohne vorherige Ank\xfcndigung zu \xe4ndern, zu aktualisieren oder zu l\xf6schen. In keinem Fall haften wir Ihnen oder Dritten gegen\xfcber f\xfcr irgendwelche direkten, indirekten, speziellen oder sonstigen Sch\xe4den jeglicher Art. "}),(0,l.jsx)("h6",{children:"\xa7 2 Externe Links / Externe Verkn\xfcpfungen"}),(0,l.jsx)("p",{children:"Diese Webseite enth\xe4lt Verkn\xfcpfungen zu Webseiten Dritter, zum Beispiel eingebunden durch Links oder Buttons. Diese Webseiten unterliegen der Haftung der jeweiligen Betreiber. Bei der erstmaligen Verkn\xfcpfung jeglicher Webseiten Dritter haben wir die fremden Inhalte auf das Bestehen etwaiger Rechtsverst\xf6\xdfe \xfcberpr\xfcft. Zum Zeitpunkt der \xdcberpr\xfcfung waren keine Rechtsverst\xf6\xdfe ersichtlich. Wir haben keinerlei Einfluss auf die aktuelle und zuk\xfcnftige Gestaltung und auf die Inhalte der verkn\xfcpften Seiten. Das Setzen von externen Verkn\xfcpfungen bedeutet nicht, dass wir uns die hinter der Verkn\xfcpfung liegenden Inhalte zu eigen machen. Eine st\xe4ndige Kontrolle der Inhalte s\xe4mtlicher externen Verkn\xfcpfungen ist ohne konkrete Hinweise auf Rechtsverst\xf6\xdfe nicht zumutbar. Bei Kenntnisnahme von Rechtsverst\xf6\xdfen werden betroffene Inhalte oder Verkn\xfcpfungen unverz\xfcglich gel\xf6scht."}),(0,l.jsx)("h6",{children:"\xa7 3 Urheber- und Leistungsschutzrechte"}),(0,l.jsx)("p",{children:"Die auf dieser Webseite ver\xf6ffentlichten Inhalte unterliegen dem deutschen Urheber- und Leistungsschutzrecht. Jede vom deutschen Urheber- und Leistungsschutzrecht nicht zugelassene Verwertung bedarf der vorherigen schriftlichen Zustimmung unsererseits oder des jeweiligen Rechteinhabers. Dies gilt insbesondere f\xfcr jede Art oder Abwandlung der Vervielf\xe4ltigung, Bearbeitung, Verarbeitung, \xdcbersetzung, Einspeicherung und Wiedergabe von Inhalten in jeglicher Form. Die unerlaubte Vervielf\xe4ltigung oder Weitergabe einzelner Inhalte oder kompletter Seiten ist nicht gestattet und strafbar. Die Darstellung dieser Webseite in fremden Frames ist nur mit schriftlicher Erlaubnis unsererseits zul\xe4ssig."}),(0,l.jsx)("h6",{children:"\xa7 4 Besondere Nutzungsbedingungen"}),(0,l.jsx)("p",{children:"Soweit besondere Bedingungen f\xfcr einzelne Nutzungen dieser Webseite von den vorgenannten Paragraphen abweichen, wird an entsprechender Stelle ausdr\xfccklich darauf hingewiesen. In diesem Falle gelten im jeweiligen Einzelfall die besonderen Nutzungsbedingungen. "}),(0,l.jsx)("h6",{children:"\xa7 5 Rechtswirksamkeit dieses Haftungsausschlusses"}),(0,l.jsx)("p",{children:"Dieser Haftungsausschluss ist als Teil des Internetangebotes zu betrachten, von welchem aus auf diese Seite verwiesen wurde. Sofern Teile oder einzelne Formulierungen dieses Textes der geltenden Rechtslage nicht, nicht mehr oder nicht vollst\xe4ndig entsprechen sollten, bleiben die \xfcbrigen Teile des Dokumentes in ihrem Inhalt und ihrer G\xfcltigkeit davon unber\xfchrt."})]})]})})]})}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/51014a8a.c98a88e4.js b/docs/assets/js/51014a8a.c98a88e4.js
deleted file mode 100644
index 40d9ffe7419..00000000000
--- a/docs/assets/js/51014a8a.c98a88e4.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[9460],{8453(e,n,s){s.d(n,{R:()=>r,x:()=>a});var i=s(6540);const t={},o=i.createContext(t);function r(e){const n=i.useContext(o);return i.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function a(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:r(e.components),i.createElement(o.Provider,{value:n},e.children)}},9777(e,n,s){s.r(n),s.d(n,{assets:()=>l,contentTitle:()=>a,default:()=>d,frontMatter:()=>r,metadata:()=>i,toc:()=>c});const i=JSON.parse('{"id":"articles/websockets-sse-polling-webrtc-webtransport","title":"WebSockets vs Server-Sent-Events vs Long-Polling vs WebRTC vs WebTransport","description":"Learn the unique benefits and pitfalls of each real-time tech. Make informed decisions on WebSockets, SSE, Polling, WebRTC, and WebTransport.","source":"@site/docs/articles/websockets-sse-polling-webrtc-webtransport.md","sourceDirName":"articles","slug":"/articles/websockets-sse-polling-webrtc-webtransport.html","permalink":"/articles/websockets-sse-polling-webrtc-webtransport.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"WebSockets vs Server-Sent-Events vs Long-Polling vs WebRTC vs WebTransport","slug":"websockets-sse-polling-webrtc-webtransport.html","description":"Learn the unique benefits and pitfalls of each real-time tech. Make informed decisions on WebSockets, SSE, Polling, WebRTC, and WebTransport."},"sidebar":"tutorialSidebar","previous":{"title":"RxDB - The JSON Database Built for JavaScript","permalink":"/articles/json-database.html"},"next":{"title":"Using localStorage in Modern Applications - A Comprehensive Guide","permalink":"/articles/localstorage.html"}}');var t=s(4848),o=s(8453);const r={title:"WebSockets vs Server-Sent-Events vs Long-Polling vs WebRTC vs WebTransport",slug:"websockets-sse-polling-webrtc-webtransport.html",description:"Learn the unique benefits and pitfalls of each real-time tech. Make informed decisions on WebSockets, SSE, Polling, WebRTC, and WebTransport."},a="WebSockets vs Server-Sent-Events vs Long-Polling vs WebRTC vs WebTransport",l={},c=[{value:"What is Long Polling?",id:"what-is-long-polling",level:3},{value:"What are WebSockets?",id:"what-are-websockets",level:3},{value:"What are Server-Sent-Events?",id:"what-are-server-sent-events",level:3},{value:"What is the WebTransport API?",id:"what-is-the-webtransport-api",level:3},{value:"What is WebRTC?",id:"what-is-webrtc",level:3},{value:"Limitations of the technologies",id:"limitations-of-the-technologies",level:2},{value:"Sending Data in both directions",id:"sending-data-in-both-directions",level:3},{value:"6-Requests per Domain Limit",id:"6-requests-per-domain-limit",level:3},{value:"Connections are not kept open on mobile apps",id:"connections-are-not-kept-open-on-mobile-apps",level:3},{value:"Proxies and Firewalls",id:"proxies-and-firewalls",level:3},{value:"Performance Comparison",id:"performance-comparison",level:2},{value:"Latency",id:"latency",level:3},{value:"Throughput",id:"throughput",level:3},{value:"Scalability and Server Load",id:"scalability-and-server-load",level:3},{value:"Recommendations and Use-Case Suitability",id:"recommendations-and-use-case-suitability",level:2},{value:"Known Problems",id:"known-problems",level:2},{value:"A client can miss out events when reconnecting",id:"a-client-can-miss-out-events-when-reconnecting",level:3},{value:"Company firewalls can cause problems",id:"company-firewalls-can-cause-problems",level:3},{value:"Follow Up",id:"follow-up",level:2}];function h(e){const n={a:"a",admonition:"admonition",blockquote:"blockquote",code:"code",figure:"figure",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...(0,o.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.header,{children:(0,t.jsx)(n.h1,{id:"websockets-vs-server-sent-events-vs-long-polling-vs-webrtc-vs-webtransport",children:"WebSockets vs Server-Sent-Events vs Long-Polling vs WebRTC vs WebTransport"})}),"\n",(0,t.jsxs)(n.p,{children:["For modern real-time web applications, the ability to send events from the server to the client is indispensable. This necessity has led to the development of several methods over the years, each with its own set of advantages and drawbacks. Initially, ",(0,t.jsx)(n.a,{href:"#what-is-long-polling",children:"long-polling"})," was the only option available. It was then succeeded by ",(0,t.jsx)(n.a,{href:"#what-are-websockets",children:"WebSockets"}),", which offered a more robust solution for bidirectional communication. Following WebSockets, ",(0,t.jsx)(n.a,{href:"#what-are-server-sent-events",children:"Server-Sent Events (SSE)"})," provided a simpler method for one-way communication from server to client. Looking ahead, the ",(0,t.jsx)(n.a,{href:"#what-is-the-webtransport-api",children:"WebTransport"})," protocol promises to revolutionize this landscape even further by providing a more efficient, flexible, and scalable approach. For niche use cases, ",(0,t.jsx)(n.a,{href:"#what-is-webrtc",children:"WebRTC"})," might also be considered for server-client events."]}),"\n",(0,t.jsxs)(n.p,{children:["This article aims to delve into these technologies, comparing their performance, highlighting their benefits and limitations, and offering recommendations for various use cases to help developers make informed decisions when building real-time web applications. It is a condensed summary of my gathered experience when I implemented the ",(0,t.jsx)(n.a,{href:"/replication.html",children:"RxDB Sync Engine"})," to be compatible with various backend technologies."]}),"\n",(0,t.jsx)("center",{children:(0,t.jsx)("a",{href:"https://rxdb.info/",children:(0,t.jsx)("img",{src:"../files/logo/rxdb_javascript_database.svg",alt:"JavaScript Database",width:"220"})})}),"\n",(0,t.jsx)(n.h3,{id:"what-is-long-polling",children:"What is Long Polling?"}),"\n",(0,t.jsx)(n.p,{children:'Long polling was the first "hack" to enable a server-client messaging method that can be used in browsers over HTTP. The technique emulates server push communications with normal XHR requests. Unlike traditional polling, where the client repeatedly requests data from the server at regular intervals, long polling establishes a connection to the server that remains open until new data is available. Once the server has new information, it sends the response to the client, and the connection is closed. Immediately after receiving the server\'s response, the client initiates a new request, and the process repeats. This method allows for more immediate data updates and reduces unnecessary network traffic and server load. However, it can still introduce delays in communication and is less efficient than other real-time technologies like WebSockets.'}),"\n",(0,t.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,t.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"js","data-theme":"css-variables",children:(0,t.jsxs)(n.code,{"data-language":"js","data-theme":"css-variables",style:{display:"grid"},children:[(0,t.jsx)(n.span,{"data-line":"",children:(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// long-polling in a JavaScript client"})}),"\n",(0,t.jsxs)(n.span,{"data-line":"",children:[(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" longPoll"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"() {"})]}),"\n",(0,t.jsxs)(n.span,{"data-line":"",children:[(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" fetch"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'http://example.com/poll'"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:")"})]}),"\n",(0,t.jsxs)(n.span,{"data-line":"",children:[(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" .then"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(response "}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" response"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".json"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"())"})]}),"\n",(0,t.jsxs)(n.span,{"data-line":"",children:[(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" .then"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(data "}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,t.jsxs)(n.span,{"data-line":"",children:[(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" console"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".log"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:'"Received data:"'}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" data);"})]}),"\n",(0,t.jsxs)(n.span,{"data-line":"",children:[(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" longPoll"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(); "}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// Immediately establish a new long polling request"})]}),"\n",(0,t.jsx)(n.span,{"data-line":"",children:(0,t.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" })"})}),"\n",(0,t.jsxs)(n.span,{"data-line":"",children:[(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" .catch"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(error "}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,t.jsx)(n.span,{"data-line":"",children:(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,t.jsx)(n.span,{"data-line":"",children:(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * Errors can appear in normal conditions when a "})}),"\n",(0,t.jsx)(n.span,{"data-line":"",children:(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * connection timeout is reached or when the client goes offline."})}),"\n",(0,t.jsx)(n.span,{"data-line":"",children:(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * On errors we just restart the polling after some delay."})}),"\n",(0,t.jsx)(n.span,{"data-line":"",children:(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,t.jsxs)(n.span,{"data-line":"",children:[(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" setTimeout"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(longPoll"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 10000"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,t.jsx)(n.span,{"data-line":"",children:(0,t.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" });"})}),"\n",(0,t.jsx)(n.span,{"data-line":"",children:(0,t.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"}"})}),"\n",(0,t.jsxs)(n.span,{"data-line":"",children:[(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:"longPoll"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(); "}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// Initiate the long polling"})]})]})})}),"\n",(0,t.jsx)(n.p,{children:"Implementing long-polling on the client side is pretty simple, as shown in the code above. However on the backend there can be multiple difficulties to ensure the client receives all events and does not miss out updates when the client is currently reconnecting."}),"\n",(0,t.jsx)(n.h3,{id:"what-are-websockets",children:"What are WebSockets?"}),"\n",(0,t.jsxs)(n.p,{children:[(0,t.jsx)(n.a,{href:"https://developer.mozilla.org/en-US/docs/Web/API/WebSocket?retiredLocale=de",children:"WebSockets"})," provide a full-duplex communication channel over a single, long-lived connection between the client and server. This technology enables browsers and servers to exchange data without the overhead of HTTP request-response cycles, facilitating real-time data transfer for applications like live chat, gaming, or financial trading platforms. WebSockets represent a significant advancement over traditional HTTP by allowing both parties to send data independently once the connection is established, making it ideal for scenarios that require low latency and high-frequency updates."]}),"\n",(0,t.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,t.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"js","data-theme":"css-variables",children:(0,t.jsxs)(n.code,{"data-language":"js","data-theme":"css-variables",style:{display:"grid"},children:[(0,t.jsx)(n.span,{"data-line":"",children:(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// WebSocket in a JavaScript client"})}),"\n",(0,t.jsxs)(n.span,{"data-line":"",children:[(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" socket"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" new"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" WebSocket"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'ws://example.com'"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,t.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,t.jsxs)(n.span,{"data-line":"",children:[(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"socket"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"."}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:"onopen"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" function"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(event) {"})]}),"\n",(0,t.jsxs)(n.span,{"data-line":"",children:[(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" console"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".log"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'Connection established'"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,t.jsx)(n.span,{"data-line":"",children:(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // Sending a message to the server"})}),"\n",(0,t.jsxs)(n.span,{"data-line":"",children:[(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" socket"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".send"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'Hello Server!'"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,t.jsx)(n.span,{"data-line":"",children:(0,t.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"};"})}),"\n",(0,t.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,t.jsxs)(n.span,{"data-line":"",children:[(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"socket"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"."}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:"onmessage"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" function"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(event) {"})]}),"\n",(0,t.jsxs)(n.span,{"data-line":"",children:[(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" console"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".log"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'Message from server:'"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" event"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:".data);"})]}),"\n",(0,t.jsx)(n.span,{"data-line":"",children:(0,t.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"};"})})]})})}),"\n",(0,t.jsxs)(n.p,{children:["While the basics of the WebSocket API are easy to use it has shown to be rather complex in production. A socket can loose connection and must be re-created accordingly. Especially detecting if a connection is still usable or not, can be very tricky. Mostly you would add a ",(0,t.jsx)(n.a,{href:"https://developer.mozilla.org/en-US/docs/Web/API/WebSockets_API/Writing_WebSocket_servers#pings_and_pongs_the_heartbeat_of_websockets",children:"ping-and-pong"})," heartbeat to ensure that the open connection is not closed.\nThis complexity is why most people use a library on top of WebSockets like ",(0,t.jsx)(n.a,{href:"https://socket.io/",children:"Socket.IO"})," which handles all these cases and even provides fallbacks to long-polling if required."]}),"\n",(0,t.jsx)(n.h3,{id:"what-are-server-sent-events",children:"What are Server-Sent-Events?"}),"\n",(0,t.jsx)(n.p,{children:"Server-Sent Events (SSE) provide a standard way to push server updates to the client over HTTP. Unlike WebSockets, SSEs are designed exclusively for one-way communication from server to client, making them ideal for scenarios like live news feeds, sports scores, or any situation where the client needs to be updated in real time without sending data to the server."}),"\n",(0,t.jsx)(n.p,{children:"You can think of Server-Sent-Events as a single HTTP request where the backend does not send the whole body at once, but instead keeps the connection open and trickles the answer by sending a single line each time an event has to be send to the client."}),"\n",(0,t.jsxs)(n.p,{children:["Creating a connection for receiving events with SSE is straightforward. On the client side in a browser, you initialize an ",(0,t.jsx)(n.a,{href:"https://developer.mozilla.org/en-US/docs/Web/API/EventSource",children:"EventSource"})," instance with the URL of the server-side script that generates the events."]}),"\n",(0,t.jsx)(n.p,{children:"Listening for messages involves attaching event handlers directly to the EventSource instance. The API distinguishes between generic message events and named events, allowing for more structured communication. Here's how you can set it up in JavaScript:"}),"\n",(0,t.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,t.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"js","data-theme":"css-variables",children:(0,t.jsxs)(n.code,{"data-language":"js","data-theme":"css-variables",style:{display:"grid"},children:[(0,t.jsx)(n.span,{"data-line":"",children:(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// Connecting to the server-side event stream"})}),"\n",(0,t.jsxs)(n.span,{"data-line":"",children:[(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" evtSource"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" new"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" EventSource"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:'"https://example.com/events"'}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,t.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,t.jsx)(n.span,{"data-line":"",children:(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// Handling generic message events"})}),"\n",(0,t.jsxs)(n.span,{"data-line":"",children:[(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"evtSource"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"."}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:"onmessage"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" event "}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,t.jsxs)(n.span,{"data-line":"",children:[(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" console"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".log"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'got message: '"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" +"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" event"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:".data);"})]}),"\n",(0,t.jsx)(n.span,{"data-line":"",children:(0,t.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"};"})})]})})}),"\n",(0,t.jsx)(n.p,{children:"In difference to WebSockets, an EventSource will automatically reconnect on connection loss."}),"\n",(0,t.jsxs)(n.p,{children:["On the server side, your script must set the ",(0,t.jsx)(n.code,{children:"Content-Type"})," header to ",(0,t.jsx)(n.code,{children:"text/event-stream"})," and format each message according to the ",(0,t.jsx)(n.a,{href:"https://www.w3.org/TR/2012/WD-eventsource-20120426/",children:"SSE specification"}),". This includes specifying event types, data payloads, and optional fields like event ID and retry timing."]}),"\n",(0,t.jsx)(n.p,{children:"Here's how you can set up a simple SSE endpoint in a Node.js Express app:"}),"\n",(0,t.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,t.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,t.jsxs)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,t.jsxs)(n.span,{"data-line":"",children:[(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" express "}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'express'"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,t.jsxs)(n.span,{"data-line":"",children:[(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" app"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" express"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,t.jsxs)(n.span,{"data-line":"",children:[(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" PORT"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" process"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"."}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"env"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"."}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"PORT"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ||"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 3000"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,t.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,t.jsxs)(n.span,{"data-line":"",children:[(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"app"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".get"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'/events'"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" (req"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" res) "}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,t.jsxs)(n.span,{"data-line":"",children:[(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" res"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".writeHead"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"200"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,t.jsxs)(n.span,{"data-line":"",children:[(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'Content-Type'"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'text/event-stream'"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,t.jsxs)(n.span,{"data-line":"",children:[(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'Cache-Control'"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'no-cache'"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,t.jsxs)(n.span,{"data-line":"",children:[(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'Connection'"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'keep-alive'"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,t.jsx)(n.span,{"data-line":"",children:(0,t.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" });"})}),"\n",(0,t.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,t.jsxs)(n.span,{"data-line":"",children:[(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" sendEvent"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" (data) "}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,t.jsx)(n.span,{"data-line":"",children:(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // all message lines must be prefixed with 'data: '"})}),"\n",(0,t.jsxs)(n.span,{"data-line":"",children:[(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" formattedData"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" `data: "}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"${"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"JSON"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".stringify"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(data)"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"}"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:"\\n\\n`"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,t.jsxs)(n.span,{"data-line":"",children:[(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" res"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".write"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(formattedData);"})]}),"\n",(0,t.jsx)(n.span,{"data-line":"",children:(0,t.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" };"})}),"\n",(0,t.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,t.jsx)(n.span,{"data-line":"",children:(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // Send an event every 2 seconds"})}),"\n",(0,t.jsxs)(n.span,{"data-line":"",children:[(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" intervalId"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" setInterval"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(() "}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,t.jsxs)(n.span,{"data-line":"",children:[(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" message"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,t.jsxs)(n.span,{"data-line":"",children:[(0,t.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" time"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" new"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" Date"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"()"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".toTimeString"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"()"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,t.jsxs)(n.span,{"data-line":"",children:[(0,t.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" message"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'Hello from the server!'"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,t.jsx)(n.span,{"data-line":"",children:(0,t.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" };"})}),"\n",(0,t.jsxs)(n.span,{"data-line":"",children:[(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" sendEvent"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(message);"})]}),"\n",(0,t.jsxs)(n.span,{"data-line":"",children:[(0,t.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 2000"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,t.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,t.jsx)(n.span,{"data-line":"",children:(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // Clean up when the connection is closed"})}),"\n",(0,t.jsxs)(n.span,{"data-line":"",children:[(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" req"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".on"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'close'"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" () "}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,t.jsxs)(n.span,{"data-line":"",children:[(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" clearInterval"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(intervalId);"})]}),"\n",(0,t.jsxs)(n.span,{"data-line":"",children:[(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" res"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".end"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,t.jsx)(n.span,{"data-line":"",children:(0,t.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" });"})}),"\n",(0,t.jsx)(n.span,{"data-line":"",children:(0,t.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,t.jsxs)(n.span,{"data-line":"",children:[(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"app"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".listen"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"PORT"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" () "}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" console"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".log"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:"`Server running on http://localhost:"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"${"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"PORT"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"}"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:"`"}),(0,t.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"));"})]})]})})}),"\n",(0,t.jsx)(n.h3,{id:"what-is-the-webtransport-api",children:"What is the WebTransport API?"}),"\n",(0,t.jsxs)(n.p,{children:["WebTransport is a cutting-edge API designed for efficient, low-latency communication between web clients and servers. It leverages the ",(0,t.jsx)(n.a,{href:"https://en.wikipedia.org/wiki/HTTP/3",children:"HTTP/3 QUIC protocol"})," to enable a variety of data transfer capabilities, such as sending data over multiple streams, in both reliable and unreliable manners, and even allowing data to be sent out of order. This makes WebTransport a powerful tool for applications requiring high-performance networking, such as real-time gaming, live streaming, and collaborative platforms. However, it's important to note that WebTransport is currently a working draft and has not yet achieved widespread adoption.\nAs of now (March 2024), WebTransport is in a ",(0,t.jsx)(n.a,{href:"https://w3c.github.io/webtransport/",children:"Working Draft"})," and not widely supported. You cannot yet use WebTransport in the ",(0,t.jsx)(n.a,{href:"https://caniuse.com/webtransport",children:"Safari browser"})," and there is also no native support ",(0,t.jsx)(n.a,{href:"https://github.com/w3c/webtransport/issues/511",children:"in Node.js"}),". This limits its usability across different platforms and environments."]}),"\n",(0,t.jsx)(n.p,{children:"Even when WebTransport will become widely supported, its API is very complex to use and likely it would be something where people build libraries on top of WebTransport, not using it directly in an application's sourcecode."}),"\n",(0,t.jsx)(n.h3,{id:"what-is-webrtc",children:"What is WebRTC?"}),"\n",(0,t.jsxs)(n.p,{children:[(0,t.jsx)(n.a,{href:"https://webrtc.org/",children:"WebRTC"})," (Web Real-Time Communication) is an open-source project and API standard that enables real-time communication (RTC) capabilities directly within web browsers and mobile applications without the need for complex server infrastructure or the installation of additional plugins. It supports peer-to-peer connections for streaming audio, video, and data exchange between browsers. ",(0,t.jsx)(n.a,{href:"/replication-webrtc.html",children:"WebRTC"})," is designed to work through NATs and firewalls, utilizing protocols like ICE, STUN, and TURN to establish a connection between peers."]}),"\n",(0,t.jsx)(n.p,{children:"While WebRTC is made to be used for client-client interactions, it could also be leveraged for server-client communication where the server just simulated being also a client. This approach only makes sense for niche use cases which is why in the following WebRTC will be ignored as an option."}),"\n",(0,t.jsx)(n.p,{children:"The problem is that for WebRTC to work, you need a signaling-server anyway which would then again run over websockets, SSE or WebTransport. This defeats the purpose of using WebRTC as a replacement for these technologies."}),"\n",(0,t.jsx)(n.h2,{id:"limitations-of-the-technologies",children:"Limitations of the technologies"}),"\n",(0,t.jsx)(n.h3,{id:"sending-data-in-both-directions",children:"Sending Data in both directions"}),"\n",(0,t.jsx)(n.p,{children:"Only WebSockets and WebTransport allow to send data in both directions so that you can receive server-data and send client-data over the same connection."}),"\n",(0,t.jsxs)(n.p,{children:["While it would also be possible with ",(0,t.jsx)(n.strong,{children:"Long-Polling"}),' in theory, it is not recommended because sending "new" data to an existing long-polling connection would require\nto do an additional http-request anyway. So instead of doing that you can send data directly from the client to the server with an additional http-request without interrupting\nthe long-polling connection.']}),"\n",(0,t.jsxs)(n.p,{children:[(0,t.jsx)(n.strong,{children:"Server-Sent-Events"})," do not support sending any additional data to the server. You can only do the initial request, and even there you cannot send POST-like data in the http-body by default with the native ",(0,t.jsx)(n.a,{href:"https://developer.mozilla.org/en-US/docs/Web/API/EventSource",children:"EventSource API"}),". Instead you have to put all data inside of the url parameters which is considered a bad practice for security because credentials might leak into server logs, proxies and caches. To fix this problem, ",(0,t.jsx)(n.a,{href:"https://rxdb.info/",children:"RxDB"})," for example uses the ",(0,t.jsx)(n.a,{href:"https://github.com/EventSource/eventsource",children:"eventsource polyfill"})," instead of the native ",(0,t.jsx)(n.code,{children:"EventSource API"}),". This library adds additional functionality like sending ",(0,t.jsx)(n.strong,{children:"custom http headers"}),". Also there is ",(0,t.jsx)(n.a,{href:"https://github.com/Azure/fetch-event-source",children:"this library"})," from microsoft which allows to send body data and use ",(0,t.jsx)(n.code,{children:"POST"})," requests instead of ",(0,t.jsx)(n.code,{children:"GET"}),"."]}),"\n",(0,t.jsx)(n.h3,{id:"6-requests-per-domain-limit",children:"6-Requests per Domain Limit"}),"\n",(0,t.jsx)(n.p,{children:"Most modern browsers allow six connections per domain () which limits the usability of all steady server-to-client messaging methods. The limitation of six connections is even shared across browser tabs so when you open the same page in multiple tabs, they would have to shared the six-connection-pool with each other. This limitation is part of the HTTP/1.1-RFC (which even defines a lower number of only two connections)."}),"\n",(0,t.jsxs)(n.blockquote,{children:["\n",(0,t.jsxs)(n.p,{children:["Quote From ",(0,t.jsx)(n.a,{href:"https://www.w3.org/Protocols/rfc2616/rfc2616-sec8.html#sec8.1.4",children:"RFC 2616 - Section 8.1.4"}),': "Clients that use persistent connections SHOULD limit the number of simultaneous connections that they maintain to a given server. A single-user client SHOULD NOT maintain more than ',(0,t.jsx)(n.strong,{children:"2 connections"}),' with any server or proxy. A proxy SHOULD use up to 2*N connections to another server or proxy, where N is the number of simultaneously active users. These guidelines are intended to improve HTTP response times and avoid congestion."']}),"\n"]}),"\n",(0,t.jsxs)(n.p,{children:["While that policy makes sense to prevent website owners from using their visitors to D-DOS other websites, it can be a big problem when multiple connections are required to handle server-client communication for legitimate use cases. To workaround the limitation you have to use HTTP/2 or HTTP/3 with which the browser will only open a single connection per domain and then use multiplexing to run all data through a single connection. While this gives you a virtually infinity amount of parallel connections, there is a ",(0,t.jsx)(n.a,{href:"https://www.rfc-editor.org/rfc/rfc7540#section-6.5.2",children:"SETTINGS_MAX_CONCURRENT_STREAMS"})," setting which limits the actually connections amount. The default is 100 concurrent streams for most configurations."]}),"\n",(0,t.jsxs)(n.p,{children:['In theory the connection limit could also be increased by the browser, at least for specific APIs like EventSource, but the issues have been marked as "won\'t fix" by ',(0,t.jsx)(n.a,{href:"https://issues.chromium.org/issues/40329530",children:"chromium"})," and ",(0,t.jsx)(n.a,{href:"https://bugzilla.mozilla.org/show_bug.cgi?id=906896",children:"firefox"}),"."]}),"\n",(0,t.jsx)(n.admonition,{title:"Lower the amount of connections in Browser Apps",type:"note",children:(0,t.jsxs)(n.p,{children:["When you build a browser application, you have to assume that your users will use the app not only once, but in multiple browser tabs in parallel.\nBy default you likely will open one server-stream-connection per tab which is often not necessary at all. Instead you open only a single connection and shared it between tabs, no matter how many tabs are open. ",(0,t.jsx)(n.a,{href:"https://rxdb.info/",children:"RxDB"})," does that with the ",(0,t.jsx)(n.a,{href:"/leader-election.html",children:"LeaderElection"})," from the ",(0,t.jsx)(n.a,{href:"https://github.com/pubkey/broadcast-channel",children:"broadcast-channel npm package"})," to only have one stream of replication between server and clients. You can use that package standalone (without RxDB) for any type of application."]})}),"\n",(0,t.jsx)(n.h3,{id:"connections-are-not-kept-open-on-mobile-apps",children:"Connections are not kept open on mobile apps"}),"\n",(0,t.jsxs)(n.p,{children:["In the context of mobile applications running on operating systems like Android and iOS, maintaining open connections, such as those used for WebSockets and the others, poses a significant challenge. Mobile operating systems are designed to automatically move applications into the background after a certain period of inactivity, effectively closing any open connections. This behavior is a part of the operating system's resource management strategy to conserve battery and optimize performance. As a result, developers often rely on ",(0,t.jsx)(n.strong,{children:"mobile push notifications"})," as an efficient and reliable method to send data from servers to clients. Push notifications allow servers to alert the application of new data, prompting an action or update, without the need for a persistent open connection."]}),"\n",(0,t.jsx)(n.h3,{id:"proxies-and-firewalls",children:"Proxies and Firewalls"}),"\n",(0,t.jsxs)(n.p,{children:["From consulting many ",(0,t.jsx)(n.a,{href:"https://rxdb.info/",children:"RxDB"}),' users, it was shown that in enterprise environments (aka "at work") it is often hard to implement a WebSocket server into the infrastructure because many proxies and firewalls block non-HTTP connections. Therefore using the Server-Sent-Events provides and easier way of enterprise integration. Also long-polling uses only plain HTTP-requests and might be an option.']}),"\n",(0,t.jsx)("center",{children:(0,t.jsx)("a",{href:"https://rxdb.info/",children:(0,t.jsx)("img",{src:"../files/logo/rxdb_javascript_database.svg",alt:"JavaScript Database",width:"220"})})}),"\n",(0,t.jsx)(n.h2,{id:"performance-comparison",children:"Performance Comparison"}),"\n",(0,t.jsx)(n.p,{children:"Comparing the performance of WebSockets, Server-Sent Events (SSE), Long-Polling and WebTransport directly involves evaluating key aspects such as latency, throughput, server load, and scalability under various conditions."}),"\n",(0,t.jsxs)(n.p,{children:["First lets look at the raw numbers. A good performance comparison can be found in ",(0,t.jsx)(n.a,{href:"https://github.com/Sh3b0/realtime-web?tab=readme-ov-file#demos",children:"this repo"})," which tests the messages times in a ",(0,t.jsx)(n.a,{href:"https://go.dev/",children:"Go Lang"})," server implementation. Here we can see that the performance of WebSockets, WebRTC and WebTransport are comparable:"]}),"\n",(0,t.jsx)("center",{children:(0,t.jsx)("a",{href:"https://github.com/Sh3b0/realtime-web?tab=readme-ov-file#demos",target:"_blank",children:(0,t.jsx)("img",{src:"../files/websocket-webrtc-webtransport-performance.png",alt:"WebSocket WebRTC WebTransport Performance",width:"360"})})}),"\n",(0,t.jsx)(n.admonition,{type:"note",children:(0,t.jsx)(n.p,{children:"Remember that WebTransport is a pretty new technology based on the also new HTTP/3 protocol. In the future (after March 2024) there might be more performance optimizations. Also WebTransport is optimized to use less power which metric is not tested."})}),"\n",(0,t.jsx)(n.p,{children:"Lets also compare the Latency, the throughput and the scalability:"}),"\n",(0,t.jsx)(n.h3,{id:"latency",children:"Latency"}),"\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"WebSockets"}),": Offers the lowest latency due to its full-duplex communication over a single, persistent connection. Ideal for real-time applications where immediate data exchange is critical."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Server-Sent Events"}),": Also provides low latency for server-to-client communication but cannot natively send messages back to the server without additional HTTP requests."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Long-Polling"}),": Incurs higher latency as it relies on establishing new HTTP connections for each data transmission, making it less efficient for real-time updates. Also it can occur that the server wants to send an event when the client is still in the process of opening a new connection. In these cases the latency would be significantly larger."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"WebTransport"}),": Promises to offer low latency similar to WebSockets, with the added benefits of leveraging the HTTP/3 protocol for more efficient multiplexing and congestion control."]}),"\n"]}),"\n",(0,t.jsx)(n.h3,{id:"throughput",children:"Throughput"}),"\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"WebSockets"}),": Capable of high throughput due to its persistent connection, but throughput can suffer from ",(0,t.jsx)(n.a,{href:"https://chromestatus.com/feature/5189728691290112",children:"backpressure"})," where the client cannot process data as fast as the server is capable of sending it."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Server-Sent Events"}),": Efficient for broadcasting messages to many clients with less overhead than WebSockets, leading to potentially higher throughput for unidirectional server-to-client communication."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Long-Polling"}),": Generally offers lower throughput due to the overhead of frequently opening and closing connections, which consumes more server resources."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"WebTransport"}),": Expected to support high throughput for both unidirectional and bidirectional streams within a single connection, outperforming WebSockets in scenarios requiring multiple streams."]}),"\n"]}),"\n",(0,t.jsx)(n.h3,{id:"scalability-and-server-load",children:"Scalability and Server Load"}),"\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"WebSockets"}),": Maintaining a large number of WebSocket connections can significantly increase server load, potentially affecting scalability for applications with many users."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Server-Sent Events"}),': More scalable for scenarios that primarily require updates from server to client, as it uses less connection overhead than WebSockets because it uses "normal" HTTP request without things like ',(0,t.jsx)(n.a,{href:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Protocol_upgrade_mechanism",children:"protocol updates"})," that have to be run with WebSockets."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"Long-Polling"}),": The least scalable due to the high server load generated by frequent connection establishment, making it suitable only as a fallback mechanism."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.strong,{children:"WebTransport"}),": Designed to be highly scalable, benefiting from HTTP/3's efficiency in handling connections and streams, potentially reducing server load compared to WebSockets and SSE."]}),"\n"]}),"\n",(0,t.jsx)(n.h2,{id:"recommendations-and-use-case-suitability",children:"Recommendations and Use-Case Suitability"}),"\n",(0,t.jsxs)(n.p,{children:["In the landscape of server-client communication technologies, each has its distinct advantages and use case suitability. ",(0,t.jsx)(n.strong,{children:"Server-Sent Events"})," (SSE) emerge as the most straightforward option to implement, leveraging the same HTTP/S protocols as traditional web requests, thereby circumventing corporate firewall restrictions and other technical problems that can appear with other protocols. They are easily integrated into Node.js and other server frameworks, making them an ideal choice for applications requiring frequent server-to-client updates, such as news feeds, stock tickers, and live event streaming."]}),"\n",(0,t.jsxs)(n.p,{children:["On the other hand, ",(0,t.jsx)(n.strong,{children:"WebSockets"})," excel in scenarios demanding ongoing, two-way communication. Their ability to support continuous interaction makes them the prime choice for browser games, chat applications, and live sports updates."]}),"\n",(0,t.jsxs)(n.p,{children:["However, ",(0,t.jsx)(n.strong,{children:"WebTransport"}),", despite its potential, faces adoption challenges. It is not widely supported by server frameworks ",(0,t.jsx)(n.a,{href:"https://github.com/w3c/webtransport/issues/511",children:"including Node.js"})," and lacks compatibility with ",(0,t.jsx)(n.a,{href:"https://caniuse.com/webtransport",children:"safari"}),". Moreover, its reliance on HTTP/3 further limits its immediate applicability because many WebServers like nginx only have ",(0,t.jsx)(n.a,{href:"https://nginx.org/en/docs/quic.html",children:"experimental"})," HTTP/3 support. While promising for future applications with its support for both reliable and unreliable data transmission, WebTransport is not yet a viable option for most use cases."]}),"\n",(0,t.jsxs)(n.p,{children:[(0,t.jsx)(n.strong,{children:"Long-Polling"}),", once a common technique, is now largely outdated due to its inefficiency and the high overhead of repeatedly establishing new HTTP connections. Although it may serve as a fallback in environments lacking support for WebSockets or SSE, its use is generally discouraged due to significant performance limitations."]}),"\n",(0,t.jsx)(n.h2,{id:"known-problems",children:"Known Problems"}),"\n",(0,t.jsx)(n.p,{children:"For all of the realtime streaming technologies, there are known problems. When you build anything on top of them, keep these in mind."}),"\n",(0,t.jsx)(n.h3,{id:"a-client-can-miss-out-events-when-reconnecting",children:"A client can miss out events when reconnecting"}),"\n",(0,t.jsx)(n.p,{children:"When a client is connecting, reconnecting or offline, it can miss out events that happened on the server but could not be streamed to the client.\nThis missed out events are not relevant when the server is streaming the full content each time anyway, like on a live updating stock ticker.\nBut when the backend is made to stream partial results, you have to account for missed out events. Fixing that on the backend scales pretty bad because the backend would have to remember for each client which events have been successfully send already. Instead this should be implemented with client side logic."}),"\n",(0,t.jsxs)(n.p,{children:["The ",(0,t.jsx)(n.a,{href:"/replication.html",children:"RxDB Sync Engine"})," for example uses two modes of operation for that. One is the ",(0,t.jsx)(n.a,{href:"/replication.html#checkpoint-iteration",children:"checkpoint iteration mode"})," where normal http requests are used to iterate over backend data, until the client is in sync again. Then it can switch to ",(0,t.jsx)(n.a,{href:"/replication.html#event-observation",children:"event observation mode"})," where updates from the realtime-stream are used to keep the client in sync. Whenever a client disconnects or has any error, the replication shortly switches to ",(0,t.jsx)(n.a,{href:"/replication.html#checkpoint-iteration",children:"checkpoint iteration mode"})," until the client is in sync again. This method accounts for missed out events and ensures that clients can always sync to the exact equal state of the server."]}),"\n",(0,t.jsx)(n.h3,{id:"company-firewalls-can-cause-problems",children:"Company firewalls can cause problems"}),"\n",(0,t.jsx)(n.p,{children:"There are many known problems with company infrastructure when using any of the streaming technologies. Proxies and firewall can block traffic or unintentionally break requests and responses. Whenever you implement a realtime app in such an infrastructure, make sure you first test out if the technology itself works for you."}),"\n",(0,t.jsx)(n.h2,{id:"follow-up",children:"Follow Up"}),"\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsxs)(n.li,{children:["Check out the ",(0,t.jsx)(n.a,{href:"https://news.ycombinator.com/item?id=39745993",children:"hackernews discussion of this article"})]}),"\n",(0,t.jsxs)(n.li,{children:["Shared/Like my ",(0,t.jsx)(n.a,{href:"https://twitter.com/rxdbjs/status/1769507055298064818",children:"announcement tweet"})]}),"\n",(0,t.jsxs)(n.li,{children:["Learn how to use Server-Sent-Events to ",(0,t.jsx)(n.a,{href:"/replication-http.html#pullstream-for-ongoing-changes",children:"replicate a client side RxDB database with your backend"}),"."]}),"\n",(0,t.jsxs)(n.li,{children:["Learn how to use RxDB with the ",(0,t.jsx)(n.a,{href:"/quickstart.html",children:"RxDB Quickstart"})]}),"\n",(0,t.jsxs)(n.li,{children:["Check out the ",(0,t.jsx)(n.a,{href:"https://github.com/pubkey/rxdb",children:"RxDB github repo"})," and leave a star \u2b50"]}),"\n"]})]})}function d(e={}){const{wrapper:n}={...(0,o.R)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(h,{...e})}):h(e)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/51038524.bb23a7bd.js b/docs/assets/js/51038524.bb23a7bd.js
deleted file mode 100644
index 2eb7611f7b0..00000000000
--- a/docs/assets/js/51038524.bb23a7bd.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[4889],{952(e,r,s){s.r(r),s.d(r,{assets:()=>l,contentTitle:()=>t,default:()=>h,frontMatter:()=>i,metadata:()=>n,toc:()=>d});const n=JSON.parse('{"id":"rx-storage-memory-mapped","title":"Blazing-Fast Memory Mapped RxStorage","description":"Boost your app\'s performance with Memory Mapped RxStorage. Query and write in-memory while seamlessly persisting data to your chosen storage.","source":"@site/docs/rx-storage-memory-mapped.md","sourceDirName":".","slug":"/rx-storage-memory-mapped.html","permalink":"/rx-storage-memory-mapped.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"Blazing-Fast Memory Mapped RxStorage","slug":"rx-storage-memory-mapped.html","description":"Boost your app\'s performance with Memory Mapped RxStorage. Query and write in-memory while seamlessly persisting data to your chosen storage."},"sidebar":"tutorialSidebar","previous":{"title":"SharedWorker RxStorage \ud83d\udc51","permalink":"/rx-storage-shared-worker.html"},"next":{"title":"Sharding \ud83d\udc51","permalink":"/rx-storage-sharding.html"}}');var a=s(4848),o=s(8453);const i={title:"Blazing-Fast Memory Mapped RxStorage",slug:"rx-storage-memory-mapped.html",description:"Boost your app's performance with Memory Mapped RxStorage. Query and write in-memory while seamlessly persisting data to your chosen storage."},t="Memory Mapped RxStorage",l={},d=[{value:"Pros",id:"pros",level:2},{value:"Cons",id:"cons",level:2},{value:"Using the Memory-Mapped RxStorage",id:"using-the-memory-mapped-rxstorage",level:2},{value:"Multi-Tab Support",id:"multi-tab-support",level:2},{value:"Encryption of the persistent data",id:"encryption-of-the-persistent-data",level:2},{value:"Await Write Persistence",id:"await-write-persistence",level:2},{value:"Block Size Limit",id:"block-size-limit",level:2}];function c(e){const r={a:"a",code:"code",figure:"figure",h1:"h1",h2:"h2",header:"header",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...(0,o.R)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(r.header,{children:(0,a.jsx)(r.h1,{id:"memory-mapped-rxstorage",children:"Memory Mapped RxStorage"})}),"\n",(0,a.jsxs)(r.p,{children:["The memory mapped ",(0,a.jsx)(r.a,{href:"/rx-storage.html",children:"RxStorage"})," is a wrapper around any other RxStorage. The wrapper creates an in-memory storage that is used for query and write operations. This memory instance is kept persistent with a given underlying storage."]}),"\n",(0,a.jsx)(r.h2,{id:"pros",children:"Pros"}),"\n",(0,a.jsxs)(r.ul,{children:["\n",(0,a.jsx)(r.li,{children:"Improves read/write performance because these operations run against the in-memory storage."}),"\n",(0,a.jsx)(r.li,{children:"Decreases initial page load because it load all data in a single bulk request. It even detects if the database is used for the first time and then it does not have to await the creation of the persistent storage."}),"\n",(0,a.jsx)(r.li,{children:"Can store encrypted data on disc while still being able to run queries on the non-encrypted in-memory state."}),"\n"]}),"\n",(0,a.jsx)(r.h2,{id:"cons",children:"Cons"}),"\n",(0,a.jsxs)(r.ul,{children:["\n",(0,a.jsx)(r.li,{children:"It does not support attachments because storing big attachments data in-memory should not be done."}),"\n",(0,a.jsxs)(r.li,{children:["When the JavaScript process is killed ungracefully like when the browser crashes or the power of the PC is terminated, it might happen that some memory writes are not persisted to the parent storage. This can be prevented with the ",(0,a.jsx)(r.code,{children:"awaitWritePersistence"})," flag."]}),"\n",(0,a.jsx)(r.li,{children:"The memory-mapped storage can only be used if all data fits into the memory of the JavaScript process. This is normally not a problem because a browser has much memory these days and plain JSON document data is not that big."}),"\n",(0,a.jsxs)(r.li,{children:["Because it has to await an initial data loading from the parent storage into the memory, initial page load time can increase when much data is already stored. This is likely not a problem when you store less than ",(0,a.jsx)(r.code,{children:"10k"})," documents."]}),"\n",(0,a.jsxs)(r.li,{children:["The ",(0,a.jsx)(r.code,{children:"memory-mapped"})," storage is part of ",(0,a.jsx)(r.a,{href:"/premium/",children:"RxDB Premium \ud83d\udc51"}),". It is not part of the default RxDB core module."]}),"\n"]}),"\n",(0,a.jsx)(r.h2,{id:"using-the-memory-mapped-rxstorage",children:"Using the Memory-Mapped RxStorage"}),"\n",(0,a.jsx)(r.figure,{"data-rehype-pretty-code-figure":"",children:(0,a.jsx)(r.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,a.jsxs)(r.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,a.jsx)(r.span,{"data-line":"",children:" "}),"\n",(0,a.jsxs)(r.span,{"data-line":"",children:[(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,a.jsx)(r.span,{"data-line":"",children:(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" getRxStorageIndexedDB"})}),"\n",(0,a.jsxs)(r.span,{"data-line":"",children:[(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb-premium/plugins/storage-indexeddb'"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,a.jsxs)(r.span,{"data-line":"",children:[(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,a.jsx)(r.span,{"data-line":"",children:(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" getMemoryMappedRxStorage"})}),"\n",(0,a.jsxs)(r.span,{"data-line":"",children:[(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb-premium/plugins/storage-memory-mapped'"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,a.jsx)(r.span,{"data-line":"",children:" "}),"\n",(0,a.jsx)(r.span,{"data-line":"",children:(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-comment)"},children:"/**"})}),"\n",(0,a.jsx)(r.span,{"data-line":"",children:(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-comment)"},children:" * Here we use the IndexedDB RxStorage as persistence storage."})}),"\n",(0,a.jsx)(r.span,{"data-line":"",children:(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-comment)"},children:" * Any other RxStorage can also be used."})}),"\n",(0,a.jsx)(r.span,{"data-line":"",children:(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,a.jsxs)(r.span,{"data-line":"",children:[(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-constant)"},children:" parentStorage"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageIndexedDB"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,a.jsx)(r.span,{"data-line":"",children:" "}),"\n",(0,a.jsx)(r.span,{"data-line":"",children:(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-comment)"},children:"// wrap the persistent storage with the memory-mapped storage."})}),"\n",(0,a.jsxs)(r.span,{"data-line":"",children:[(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-constant)"},children:" storage"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-function)"},children:" getMemoryMappedRxStorage"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,a.jsxs)(r.span,{"data-line":"",children:[(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" parentStorage"})]}),"\n",(0,a.jsx)(r.span,{"data-line":"",children:(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,a.jsx)(r.span,{"data-line":"",children:" "}),"\n",(0,a.jsx)(r.span,{"data-line":"",children:(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-comment)"},children:"// create the RxDatabase like you would do with any other RxStorage"})}),"\n",(0,a.jsxs)(r.span,{"data-line":"",children:[(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,a.jsxs)(r.span,{"data-line":"",children:[(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'myDatabase,"})]}),"\n",(0,a.jsxs)(r.span,{"data-line":"",children:[(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,a.jsx)(r.span,{"data-line":"",children:(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,a.jsx)(r.span,{"data-line":"",children:(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-comment)"},children:"/** ... **/"})})]})})}),"\n",(0,a.jsx)(r.h2,{id:"multi-tab-support",children:"Multi-Tab Support"}),"\n",(0,a.jsxs)(r.p,{children:["By how the memory-mapped storage works, it is not possible to have the same storage open in multiple JavaScript processes. So when you use this in a browser application, you can not open multiple databases when the app is used in multiple browser tabs.\nTo solve this, use the ",(0,a.jsx)(r.a,{href:"/rx-storage-shared-worker.html",children:"SharedWorker Plugin"})," so that the memory-mapped storage runs inside of a SharedWorker exactly once and is then reused for all browser tabs."]}),"\n",(0,a.jsx)(r.p,{children:"If you have a single JavaScript process, like in a React Native app, you do not have to care about this and can just use the memory-mapped storage in the main process."}),"\n",(0,a.jsx)(r.h2,{id:"encryption-of-the-persistent-data",children:"Encryption of the persistent data"}),"\n",(0,a.jsxs)(r.p,{children:["Normally RxDB is not capable of running queries on encrypted fields. But when you use the memory-mapped RxStorage, you can store the document data encrypted on disc, while being able to run queries on the not encrypted in-memory state. Make sure you use the encryption storage wrapper around the persistent storage, ",(0,a.jsx)(r.strong,{children:"NOT"})," around the memory-mapped storage as a whole."]}),"\n",(0,a.jsx)(r.figure,{"data-rehype-pretty-code-figure":"",children:(0,a.jsx)(r.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,a.jsxs)(r.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,a.jsx)(r.span,{"data-line":"",children:" "}),"\n",(0,a.jsxs)(r.span,{"data-line":"",children:[(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,a.jsx)(r.span,{"data-line":"",children:(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" getRxStorageIndexedDB"})}),"\n",(0,a.jsxs)(r.span,{"data-line":"",children:[(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb-premium/plugins/storage-indexeddb'"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,a.jsxs)(r.span,{"data-line":"",children:[(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,a.jsx)(r.span,{"data-line":"",children:(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" getMemoryMappedRxStorage"})}),"\n",(0,a.jsxs)(r.span,{"data-line":"",children:[(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb-premium/plugins/storage-memory-mapped'"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,a.jsxs)(r.span,{"data-line":"",children:[(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" { wrappedKeyEncryptionWebCryptoStorage } "}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb-premium/plugins/encryption-web-crypto'"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,a.jsx)(r.span,{"data-line":"",children:" "}),"\n",(0,a.jsxs)(r.span,{"data-line":"",children:[(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-constant)"},children:" storage"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-function)"},children:" getMemoryMappedRxStorage"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,a.jsxs)(r.span,{"data-line":"",children:[(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-function)"},children:" wrappedKeyEncryptionWebCryptoStorage"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,a.jsxs)(r.span,{"data-line":"",children:[(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageIndexedDB"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"()"})]}),"\n",(0,a.jsx)(r.span,{"data-line":"",children:(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" })"})}),"\n",(0,a.jsx)(r.span,{"data-line":"",children:(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,a.jsx)(r.span,{"data-line":"",children:" "}),"\n",(0,a.jsxs)(r.span,{"data-line":"",children:[(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,a.jsxs)(r.span,{"data-line":"",children:[(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'myDatabase,"})]}),"\n",(0,a.jsxs)(r.span,{"data-line":"",children:[(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,a.jsx)(r.span,{"data-line":"",children:(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,a.jsx)(r.span,{"data-line":"",children:(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-comment)"},children:"/** ... **/"})})]})})}),"\n",(0,a.jsx)(r.h2,{id:"await-write-persistence",children:"Await Write Persistence"}),"\n",(0,a.jsxs)(r.p,{children:["Running operations on the memory-mapped storage by default returns directly when the operation has run on the in-memory state and then persist changes in the background.\nSometimes you might want to ensure write operations is persisted, you can do this by setting ",(0,a.jsx)(r.code,{children:"awaitWritePersistence: true"}),"."]}),"\n",(0,a.jsx)(r.figure,{"data-rehype-pretty-code-figure":"",children:(0,a.jsx)(r.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,a.jsxs)(r.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,a.jsxs)(r.span,{"data-line":"",children:[(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-constant)"},children:" storage"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-function)"},children:" getMemoryMappedRxStorage"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,a.jsxs)(r.span,{"data-line":"",children:[(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" awaitWritePersistence"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-constant)"},children:" true"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,a.jsxs)(r.span,{"data-line":"",children:[(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageIndexedDB"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"()"})]}),"\n",(0,a.jsx)(r.span,{"data-line":"",children:(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,a.jsx)(r.h2,{id:"block-size-limit",children:"Block Size Limit"}),"\n",(0,a.jsxs)(r.p,{children:["During cleanup, the memory-mapped storage will merge many small write-blocks into single big blocks for better initial load performance.\nThe ",(0,a.jsx)(r.code,{children:"blockSizeLimit"})," defines the maximum of how many documents get stored in a single block. The default is ",(0,a.jsx)(r.code,{children:"10000"}),"."]}),"\n",(0,a.jsx)(r.figure,{"data-rehype-pretty-code-figure":"",children:(0,a.jsx)(r.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,a.jsxs)(r.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,a.jsxs)(r.span,{"data-line":"",children:[(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-constant)"},children:" storage"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-function)"},children:" getMemoryMappedRxStorage"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,a.jsxs)(r.span,{"data-line":"",children:[(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" blockSizeLimit"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-constant)"},children:" 1000"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,a.jsxs)(r.span,{"data-line":"",children:[(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageIndexedDB"}),(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"()"})]}),"\n",(0,a.jsx)(r.span,{"data-line":"",children:(0,a.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})})]})}function h(e={}){const{wrapper:r}={...(0,o.R)(),...e.components};return r?(0,a.jsx)(r,{...e,children:(0,a.jsx)(c,{...e})}):c(e)}},8453(e,r,s){s.d(r,{R:()=>i,x:()=>t});var n=s(6540);const a={},o=n.createContext(a);function i(e){const r=n.useContext(o);return n.useMemo(function(){return"function"==typeof e?e(r):{...r,...e}},[r,e])}function t(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:i(e.components),n.createElement(o.Provider,{value:r},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/51334108.2284fc7c.js b/docs/assets/js/51334108.2284fc7c.js
deleted file mode 100644
index 60cfd3a332a..00000000000
--- a/docs/assets/js/51334108.2284fc7c.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[8926],{6996(e,a,i){i.r(a),i.d(a,{assets:()=>l,contentTitle:()=>r,default:()=>p,frontMatter:()=>o,metadata:()=>t,toc:()=>d});const t=JSON.parse('{"id":"articles/mobile-database","title":"Real-Time & Offline - RxDB for Mobile Apps","description":"Explore RxDB as your reliable mobile database. Enjoy offline-first capabilities, real-time sync, and seamless integration for hybrid app development.","source":"@site/docs/articles/mobile-database.md","sourceDirName":"articles","slug":"/articles/mobile-database.html","permalink":"/articles/mobile-database.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"Real-Time & Offline - RxDB for Mobile Apps","slug":"mobile-database.html","description":"Explore RxDB as your reliable mobile database. Enjoy offline-first capabilities, real-time sync, and seamless integration for hybrid app development."},"sidebar":"tutorialSidebar","previous":{"title":"Using localStorage in Modern Applications - A Comprehensive Guide","permalink":"/articles/localstorage.html"},"next":{"title":"RxDB as a Database for Progressive Web Apps (PWA)","permalink":"/articles/progressive-web-app-database.html"}}');var n=i(4848),s=i(8453);const o={title:"Real-Time & Offline - RxDB for Mobile Apps",slug:"mobile-database.html",description:"Explore RxDB as your reliable mobile database. Enjoy offline-first capabilities, real-time sync, and seamless integration for hybrid app development."},r="Mobile Database - RxDB as Database for Mobile Applications",l={},d=[{value:"Understanding Mobile Databases",id:"understanding-mobile-databases",level:2},{value:"Introducing RxDB: A Paradigm Shift in Mobile Database Solutions",id:"introducing-rxdb-a-paradigm-shift-in-mobile-database-solutions",level:2},{value:"Use Cases for RxDB in Hybrid App Development",id:"use-cases-for-rxdb-in-hybrid-app-development",level:2},{value:"Conclusion",id:"conclusion",level:2}];function c(e){const a={a:"a",h1:"h1",h2:"h2",header:"header",li:"li",ol:"ol",p:"p",...(0,s.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(a.header,{children:(0,n.jsx)(a.h1,{id:"mobile-database---rxdb-as-database-for-mobile-applications",children:"Mobile Database - RxDB as Database for Mobile Applications"})}),"\n",(0,n.jsxs)(a.p,{children:["In today's digital landscape, mobile applications have become an integral part of our lives. From social media platforms to e-commerce solutions, mobile apps have transformed the way we interact with digital services. At the heart of any mobile app lies the database, a critical component responsible for storing, retrieving, and managing data efficiently. In this article, we will delve into the world of mobile databases, exploring their significance, challenges, and the emergence of ",(0,n.jsx)(a.a,{href:"https://rxdb.info/",children:"RxDB"})," as a powerful database solution for hybrid app development in frameworks like React Native and Capacitor."]}),"\n",(0,n.jsx)(a.h2,{id:"understanding-mobile-databases",children:"Understanding Mobile Databases"}),"\n",(0,n.jsx)(a.p,{children:"Mobile databases are specialized software systems designed to handle data storage and management for mobile applications. These databases are optimized for the unique requirements of mobile environments, which often include limited device resources, fluctuations in network connectivity, and the need for offline functionality."}),"\n",(0,n.jsxs)(a.p,{children:["There are various types of mobile databases available, each with its own strengths and use cases. Local databases, such as SQLite and Realm, reside directly on the user's device, providing offline capabilities and faster data access. Cloud-based databases, like ",(0,n.jsx)(a.a,{href:"/articles/realtime-database.html",children:"Firebase Realtime Database"})," and Amazon DynamoDB, rely on remote servers to store and retrieve data, enabling synchronization across multiple devices. Hybrid databases, as the name suggests, combine the benefits of both local and cloud-based approaches, offering a balance between offline functionality and data synchronization."]}),"\n",(0,n.jsx)(a.h2,{id:"introducing-rxdb-a-paradigm-shift-in-mobile-database-solutions",children:"Introducing RxDB: A Paradigm Shift in Mobile Database Solutions"}),"\n",(0,n.jsx)("center",{children:(0,n.jsx)("a",{href:"https://rxdb.info/",children:(0,n.jsx)("img",{src:"../files/logo/rxdb_javascript_database.svg",alt:"Mobile Database",width:"220"})})}),"\n",(0,n.jsxs)(a.p,{children:[(0,n.jsx)(a.a,{href:"https://rxdb.info/",children:"RxDB"}),", also known as Reactive Database, has emerged as a game-changer in the realm of mobile databases. Built on top of popular web technologies like JavaScript, TypeScript, and RxJS (Reactive Extensions for JavaScript), RxDB provides an elegant solution for seamless offline-first capabilities and real-time data synchronization in mobile applications."]}),"\n",(0,n.jsx)(a.p,{children:"Benefits of RxDB for Hybrid App Development"}),"\n",(0,n.jsxs)(a.ol,{children:["\n",(0,n.jsxs)(a.li,{children:["\n",(0,n.jsx)(a.p,{children:"Offline-First Approach: One of the major advantages of RxDB is its ability to work in an offline mode. It allows mobile applications to store and access data locally, ensuring uninterrupted functionality even when the network connection is weak or unavailable. The database automatically syncs the data with the server once the connection is reestablished, guaranteeing data consistency."}),"\n"]}),"\n",(0,n.jsxs)(a.li,{children:["\n",(0,n.jsxs)(a.p,{children:[(0,n.jsx)(a.a,{href:"/replication.html",children:"Real-Time Data Synchronization"}),": RxDB leverages the power of real-time data synchronization, making it an excellent choice for applications that require collaborative features or live updates. It uses the concept of change streams to detect modifications made to the database and instantly propagates those changes across connected devices. This real-time synchronization enables seamless collaboration and enhances user experience."]}),"\n"]}),"\n",(0,n.jsxs)(a.li,{children:["\n",(0,n.jsx)(a.p,{children:"Reactive Programming Paradigm: RxDB embraces the principles of reactive programming, which simplifies the development process by handling asynchronous events and data streams. By leveraging RxJS observables, developers can write concise, declarative code that reacts to changes in data, ensuring a highly responsive user experience. The reactive programming paradigm enhances code maintainability, scalability, and testability."}),"\n"]}),"\n",(0,n.jsxs)(a.li,{children:["\n",(0,n.jsxs)(a.p,{children:["Easy Integration with Hybrid App Frameworks: RxDB seamlessly integrates with popular hybrid app development frameworks like ",(0,n.jsx)(a.a,{href:"/react-native-database.html",children:"React Native"})," and ",(0,n.jsx)(a.a,{href:"/capacitor-database.html",children:"Capacitor"}),". This compatibility allows developers to leverage the existing ecosystem and tools of these frameworks, making the transition to RxDB smoother and more efficient. By utilizing RxDB within these frameworks, developers can harness the power of a robust database solution without sacrificing the advantages of hybrid app development."]}),"\n"]}),"\n",(0,n.jsxs)(a.li,{children:["\n",(0,n.jsx)(a.p,{children:"Cross-Platform Support: RxDB enables developers to build cross-platform mobile applications that run seamlessly on both iOS and Android devices. This versatility eliminates the need for separate database implementations for different platforms, saving development time and effort. With RxDB, developers can focus on building a unified codebase and delivering a consistent user experience across platforms."}),"\n"]}),"\n"]}),"\n",(0,n.jsx)(a.h2,{id:"use-cases-for-rxdb-in-hybrid-app-development",children:"Use Cases for RxDB in Hybrid App Development"}),"\n",(0,n.jsxs)(a.ol,{children:["\n",(0,n.jsxs)(a.li,{children:["\n",(0,n.jsxs)(a.p,{children:[(0,n.jsx)(a.a,{href:"/offline-first.html",children:"Offline-First Applications"}),": ",(0,n.jsx)(a.a,{href:"https://rxdb.info/",children:"RxDB"})," is an ideal choice for applications that heavily rely on offline functionality. Whether it's a note-taking app, a task manager, or a survey application, RxDB ensures that users can continue working even when connectivity is compromised. The seamless synchronization capabilities of RxDB ensure that changes made offline are automatically propagated once the device reconnects to the internet."]}),"\n"]}),"\n",(0,n.jsxs)(a.li,{children:["\n",(0,n.jsx)(a.p,{children:"Real-Time Collaboration: Applications that require real-time collaboration, such as messaging platforms or collaborative editing tools, can greatly benefit from RxDB. The real-time synchronization capabilities enable multiple users to work on the same data simultaneously, ensuring that everyone sees the latest updates in real-time."}),"\n"]}),"\n",(0,n.jsxs)(a.li,{children:["\n",(0,n.jsx)(a.p,{children:"Data-Intensive Applications: RxDB's performance and scalability make it suitable for data-intensive applications that handle large datasets or complex data structures. Whether it's a media-rich app, a data visualization tool, or an analytics platform, RxDB can handle the heavy lifting and provide a smooth user experience."}),"\n"]}),"\n",(0,n.jsxs)(a.li,{children:["\n",(0,n.jsx)(a.p,{children:"Cross-Platform Applications: Hybrid app frameworks like React Native and Capacitor have gained popularity due to their ability to build cross-platform applications. By utilizing RxDB within these frameworks, developers can create a unified codebase that runs seamlessly on both iOS and Android, significantly reducing development time and effort."}),"\n"]}),"\n"]}),"\n",(0,n.jsx)(a.h2,{id:"conclusion",children:"Conclusion"}),"\n",(0,n.jsx)(a.p,{children:"Mobile databases play a vital role in the performance and functionality of mobile applications. RxDB, with its offline-first approach, real-time data synchronization, and seamless integration with hybrid app development frameworks like React Native and Capacitor, offers a robust solution for managing data in mobile apps. By leveraging the power of reactive programming, RxDB empowers developers to build highly responsive, scalable, and cross-platform applications that deliver an exceptional user experience. With its versatility and ease of use, RxDB is undoubtedly a database solution worth considering for hybrid app development. Embrace the power of RxDB and unlock the full potential of your mobile applications."})]})}function p(e={}){const{wrapper:a}={...(0,s.R)(),...e.components};return a?(0,n.jsx)(a,{...e,children:(0,n.jsx)(c,{...e})}):c(e)}},8453(e,a,i){i.d(a,{R:()=>o,x:()=>r});var t=i(6540);const n={},s=t.createContext(n);function o(e){const a=t.useContext(s);return t.useMemo(function(){return"function"==typeof e?e(a):{...a,...e}},[a,e])}function r(e){let a;return a=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:o(e.components),t.createElement(s.Provider,{value:a},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/5134b15f.c48f7dbd.js b/docs/assets/js/5134b15f.c48f7dbd.js
deleted file mode 100644
index 972d148b295..00000000000
--- a/docs/assets/js/5134b15f.c48f7dbd.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[10],{4066(a,e,t){t.r(e),t.d(e,{default:()=>r});var i=t(544),s=t(4848);function r(){return(0,i.default)({sem:{id:"gads",title:(0,s.jsxs)(s.Fragment,{children:["The easiest way to ",(0,s.jsx)("b",{children:"store"})," and ",(0,s.jsx)("b",{children:"sync"})," Data in Capacitor"]}),appName:"Capacitor",iconUrl:"/files/icons/capacitor.svg",metaTitle:"Capacitor Database"}})}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/55a5b596.49b70407.js b/docs/assets/js/55a5b596.49b70407.js
deleted file mode 100644
index f058e2a2207..00000000000
--- a/docs/assets/js/55a5b596.49b70407.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[6717],{4557(s,e,n){n.r(e),n.d(e,{assets:()=>t,contentTitle:()=>l,default:()=>h,frontMatter:()=>a,metadata:()=>r,toc:()=>c});const r=JSON.parse('{"id":"rx-schema","title":"Design Perfect Schemas in RxDB","description":"Learn how to define, secure, and validate your data in RxDB. Master primary keys, indexes, encryption, and more with the RxSchema approach.","source":"@site/docs/rx-schema.md","sourceDirName":".","slug":"/rx-schema.html","permalink":"/rx-schema.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"Design Perfect Schemas in RxDB","slug":"rx-schema.html","description":"Learn how to define, secure, and validate your data in RxDB. Master primary keys, indexes, encryption, and more with the RxSchema approach."},"sidebar":"tutorialSidebar","previous":{"title":"RxDatabase","permalink":"/rx-database.html"},"next":{"title":"RxCollection","permalink":"/rx-collection.html"}}');var i=n(4848),o=n(8453);const a={title:"Design Perfect Schemas in RxDB",slug:"rx-schema.html",description:"Learn how to define, secure, and validate your data in RxDB. Master primary keys, indexes, encryption, and more with the RxSchema approach."},l="RxSchema",t={},c=[{value:"Example",id:"example",level:2},{value:"Create a collection with the schema",id:"create-a-collection-with-the-schema",level:2},{value:"version",id:"version",level:2},{value:"primaryKey",id:"primarykey",level:2},{value:"composite primary key",id:"composite-primary-key",level:3},{value:"Indexes",id:"indexes",level:2},{value:"Index-example",id:"index-example",level:3},{value:"attachments",id:"attachments",level:2},{value:"default",id:"default",level:2},{value:"final",id:"final",level:2},{value:"Non allowed properties",id:"non-allowed-properties",level:2},{value:"FAQ",id:"faq",level:2}];function d(s){const e={a:"a",admonition:"admonition",code:"code",figure:"figure",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...(0,o.R)(),...s.components},{Details:n}=e;return n||function(s,e){throw new Error("Expected "+(e?"component":"object")+" `"+s+"` to be defined: you likely forgot to import, pass, or provide it.")}("Details",!0),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(e.header,{children:(0,i.jsx)(e.h1,{id:"rxschema",children:"RxSchema"})}),"\n",(0,i.jsxs)(e.p,{children:["Schemas define the structure of the documents of a collection. Which field should be used as primary, which fields should be used as indexes and what should be encrypted. Every collection has its own schema. With RxDB, schemas are defined with the ",(0,i.jsx)(e.a,{href:"https://json-schema.org/blog/posts/rxdb-case-study",children:"jsonschema"}),"-standard which you might know from other projects."]}),"\n",(0,i.jsx)(e.h2,{id:"example",children:"Example"}),"\n",(0,i.jsx)(e.p,{children:"In this example-schema we define a hero-collection with the following settings:"}),"\n",(0,i.jsxs)(e.ul,{children:["\n",(0,i.jsx)(e.li,{children:"the version-number of the schema is 0"}),"\n",(0,i.jsxs)(e.li,{children:["the name-property is the ",(0,i.jsx)(e.strong,{children:"primaryKey"}),". This means its a unique, indexed, required ",(0,i.jsx)(e.code,{children:"string"})," which can be used to definitely find a single document."]}),"\n",(0,i.jsx)(e.li,{children:"the color-field is required for every document"}),"\n",(0,i.jsx)(e.li,{children:"the healthpoints-field must be a number between 0 and 100"}),"\n",(0,i.jsx)(e.li,{children:"the secret-field stores an encrypted value"}),"\n",(0,i.jsx)(e.li,{children:"the birthyear-field is final which means it is required and cannot be changed"}),"\n",(0,i.jsx)(e.li,{children:"the skills-attribute must be an array with objects which contain the name and the damage-attribute. There is a maximum of 5 skills per hero."}),"\n",(0,i.jsx)(e.li,{children:"Allows adding attachments and store them encrypted"}),"\n"]}),"\n",(0,i.jsx)(e.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(e.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"json","data-theme":"css-variables",children:(0,i.jsxs)(e.code,{"data-language":"json","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsx)(e.span,{"data-line":"",children:(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" {"})}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:' "title"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "hero schema"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:' "version"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" 0"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:' "description"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "describes a simple hero"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:' "primaryKey"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "name"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:' "type"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "object"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:' "properties"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:' "name"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:' "type"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "string"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:' "maxLength"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" 100"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:" // <- the primary key must have set maxLength"})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:' "color"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:' "type"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "string"'})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:' "healthpoints"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:' "type"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "number"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:' "minimum"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" 0"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:' "maximum"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" 100"})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:' "secret"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:' "type"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "string"'})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:' "birthyear"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:' "type"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "number"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:' "final"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" true"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:' "minimum"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" 1900"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:' "maximum"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" 2050"})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:' "skills"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:' "type"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "array"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:' "maxItems"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" 5"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:' "uniqueItems"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" true"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:' "items"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:' "type"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "object"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:' "properties"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:' "name"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:' "type"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "string"'})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:' "damage"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:' "type"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "number"'})]}),"\n",(0,i.jsx)(e.span,{"data-line":"",children:(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(e.span,{"data-line":"",children:(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(e.span,{"data-line":"",children:(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(e.span,{"data-line":"",children:(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:' "required"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" ["})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "name"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(e.span,{"data-line":"",children:(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "color"'})}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" ]"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:' "encrypted"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" ["}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:'"secret"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"]"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:' "attachments"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:' "encrypted"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" true"})]}),"\n",(0,i.jsx)(e.span,{"data-line":"",children:(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(e.span,{"data-line":"",children:(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" }"})})]})})}),"\n",(0,i.jsx)(e.h2,{id:"create-a-collection-with-the-schema",children:"Create a collection with the schema"}),"\n",(0,i.jsx)(e.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(e.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"javascript","data-theme":"css-variables",children:(0,i.jsxs)(e.code,{"data-language":"javascript","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" myDatabase"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:".addCollections"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" heroes"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" schema"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" myHeroSchema"})]}),"\n",(0,i.jsx)(e.span,{"data-line":"",children:(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(e.span,{"data-line":"",children:(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:"console"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:".dir"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:"myDatabase"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"."}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:"heroes"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:".name);"})]}),"\n",(0,i.jsx)(e.span,{"data-line":"",children:(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// heroes"})})]})})}),"\n",(0,i.jsx)(e.h2,{id:"version",children:"version"}),"\n",(0,i.jsxs)(e.p,{children:["The ",(0,i.jsx)(e.code,{children:"version"})," field is a number, starting with ",(0,i.jsx)(e.code,{children:"0"}),".\nWhen the version is greater than 0, you have to provide the migrationStrategies to create a collection with this schema."]}),"\n",(0,i.jsx)(e.h2,{id:"primarykey",children:"primaryKey"}),"\n",(0,i.jsxs)(e.p,{children:["The ",(0,i.jsx)(e.code,{children:"primaryKey"})," field contains the fieldname of the property that will be used as primary key for the whole collection.\nThe value of the primary key of the document must be a ",(0,i.jsx)(e.code,{children:"string"}),", unique, final and is required."]}),"\n",(0,i.jsx)(e.h3,{id:"composite-primary-key",children:"composite primary key"}),"\n",(0,i.jsx)(e.p,{children:"You can define a composite primary key which gets composed from multiple properties of the document data."}),"\n",(0,i.jsx)(e.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(e.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"javascript","data-theme":"css-variables",children:(0,i.jsxs)(e.code,{"data-language":"javascript","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" mySchema"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" keyCompression"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" true"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:" // set this to true, to enable the keyCompression"})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" version"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" 0"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" title"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'human schema with composite primary'"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" primaryKey"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsx)(e.span,{"data-line":"",children:(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:" // where should the composed string be stored"})}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" key"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'id'"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(e.span,{"data-line":"",children:(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:" // fields that will be used to create the composed key"})}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" fields"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" ["})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'firstName'"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(e.span,{"data-line":"",children:(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'lastName'"})}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" ]"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(e.span,{"data-line":"",children:(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:" // separator which is used to concat the fields values."})}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" separator"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:" '|'"})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'object'"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" properties"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" id"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" maxLength"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" 100"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:" // <- the primary key must have set maxLength"})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" firstName"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" lastName"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"})]}),"\n",(0,i.jsx)(e.span,{"data-line":"",children:(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" required"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" ["})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'id'"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" "})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'firstName'"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(e.span,{"data-line":"",children:(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'lastName'"})}),"\n",(0,i.jsx)(e.span,{"data-line":"",children:(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" ]"})}),"\n",(0,i.jsx)(e.span,{"data-line":"",children:(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"};"})})]})})}),"\n",(0,i.jsx)(e.p,{children:"You can then find a document by using the relevant parts to create the composite primaryKey:"}),"\n",(0,i.jsx)(e.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(e.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(e.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsx)(e.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(e.span,{"data-line":"",children:(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// inserting with composite primary"})}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" myRxCollection"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:".insert"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsx)(e.span,{"data-line":"",children:(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:" // id, <- do not set the id, it will be filled by RxDB"})}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" firstName"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'foo'"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" lastName"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'bar'"})]}),"\n",(0,i.jsx)(e.span,{"data-line":"",children:(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,i.jsx)(e.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(e.span,{"data-line":"",children:(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:"// find by composite primary"})}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" id"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" myRxCollection"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:"schema"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:".getPrimaryOfDocumentData"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" firstName"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'foo'"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" lastName"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'bar'"})]}),"\n",(0,i.jsx)(e.span,{"data-line":"",children:(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" myRxDocument"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" myRxCollection"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:".findOne"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"(id)"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-function)"},children:".exec"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,i.jsx)(e.span,{"data-line":"",children:" "})]})})}),"\n",(0,i.jsx)(e.h2,{id:"indexes",children:"Indexes"}),"\n",(0,i.jsx)(e.p,{children:"RxDB supports secondary indexes which are defined at the schema-level of the collection."}),"\n",(0,i.jsxs)(e.p,{children:["Index is only allowed on field types ",(0,i.jsx)(e.code,{children:"string"}),", ",(0,i.jsx)(e.code,{children:"integer"})," and ",(0,i.jsx)(e.code,{children:"number"}),". Some RxStorages allow to use ",(0,i.jsx)(e.code,{children:"boolean"})," fields as index."]}),"\n",(0,i.jsxs)(e.p,{children:["Depending on the field type, you must have set some meta attributes like ",(0,i.jsx)(e.code,{children:"maxLength"})," or ",(0,i.jsx)(e.code,{children:"minimum"}),". This is required so that RxDB\nis able to know the maximum string representation length of a field, which is needed to craft custom indexes on several ",(0,i.jsx)(e.code,{children:"RxStorage"})," implementations."]}),"\n",(0,i.jsx)(e.admonition,{type:"note",children:(0,i.jsxs)(e.p,{children:["RxDB will always append the ",(0,i.jsx)(e.code,{children:"primaryKey"})," to all indexes to ensure a deterministic sort order of query results. You do not have to add the ",(0,i.jsx)(e.code,{children:"primaryKey"})," to any index."]})}),"\n",(0,i.jsx)(e.h3,{id:"index-example",children:"Index-example"}),"\n",(0,i.jsx)(e.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(e.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"javascript","data-theme":"css-variables",children:(0,i.jsxs)(e.code,{"data-language":"javascript","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" schemaWithIndexes"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" version"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" 0"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" title"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'human schema with indexes'"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" keyCompression"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" true"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" primaryKey"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'id'"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'object'"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" properties"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" id"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" maxLength"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" 100"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:" // <- the primary key must have set maxLength"})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" firstName"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" maxLength"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" 100"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:" // <- string-fields that are used as an index, must have set maxLength."})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" lastName"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" active"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'boolean'"})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" familyName"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" balance"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'number'"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(e.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(e.span,{"data-line":"",children:(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:" // number fields that are used in an index, must have set minimum, maximum and multipleOf"})}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" minimum"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" 0"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" maximum"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" 100000"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" multipleOf"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" 0.01"})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" creditCards"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'array'"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" items"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'object'"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" properties"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" cvc"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'number'"})]}),"\n",(0,i.jsx)(e.span,{"data-line":"",children:(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(e.span,{"data-line":"",children:(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(e.span,{"data-line":"",children:(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" } "})}),"\n",(0,i.jsx)(e.span,{"data-line":"",children:(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" required"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" ["})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'id'"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'active'"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:" // <- boolean fields that are used in an index, must be required. "})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" ]"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" indexes"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" ["})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'firstName'"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:" // <- this will create a simple index for the `firstName` field"})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" ["}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'active'"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'firstName'"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"]"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:" // <- this will create a compound-index for these two fields"})]}),"\n",(0,i.jsx)(e.span,{"data-line":"",children:(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'active'"})}),"\n",(0,i.jsx)(e.span,{"data-line":"",children:(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" ]"})}),"\n",(0,i.jsx)(e.span,{"data-line":"",children:(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"};"})})]})})}),"\n",(0,i.jsx)(e.h1,{id:"internalindexes",children:"internalIndexes"}),"\n",(0,i.jsxs)(e.p,{children:["When you use RxDB on the server-side, you might want to use internalIndexes to speed up internal queries. ",(0,i.jsx)(e.a,{href:"/rx-server.html#server-only-indexes",children:"Read more"})]}),"\n",(0,i.jsx)(e.h2,{id:"attachments",children:"attachments"}),"\n",(0,i.jsxs)(e.p,{children:["To use attachments in the collection, you have to add the ",(0,i.jsx)(e.code,{children:"attachments"}),"-attribute to the schema. ",(0,i.jsx)(e.a,{href:"/rx-attachment.html",children:"See RxAttachment"}),"."]}),"\n",(0,i.jsx)(e.h2,{id:"default",children:"default"}),"\n",(0,i.jsx)(e.p,{children:"Default values can only be defined for first-level fields.\nWhenever you insert a document unset fields will be filled with default-values."}),"\n",(0,i.jsx)(e.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(e.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"javascript","data-theme":"css-variables",children:(0,i.jsxs)(e.code,{"data-language":"javascript","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" schemaWithDefaultAge"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" version"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" 0"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" primaryKey"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'id'"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'object'"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" properties"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" id"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" maxLength"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" 100"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:" // <- the primary key must have set maxLength"})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" firstName"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" lastName"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" age"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'integer'"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" default"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" 20"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:" // <- default will be used"})]}),"\n",(0,i.jsx)(e.span,{"data-line":"",children:(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" required"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" ["}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'id'"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"]"})]}),"\n",(0,i.jsx)(e.span,{"data-line":"",children:(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"};"})})]})})}),"\n",(0,i.jsx)(e.h2,{id:"final",children:"final"}),"\n",(0,i.jsxs)(e.p,{children:["By setting a field to ",(0,i.jsx)(e.code,{children:"final"}),", you make sure it cannot be modified later. Final fields are always required.\nFinal fields cannot be observed because they will not change."]}),"\n",(0,i.jsx)(e.p,{children:"Advantages:"}),"\n",(0,i.jsxs)(e.ul,{children:["\n",(0,i.jsx)(e.li,{children:"With final fields you can ensure that no-one accidentally modifies the data."}),"\n",(0,i.jsxs)(e.li,{children:["When you enable the ",(0,i.jsx)(e.code,{children:"eventReduce"})," algorithm, some performance-improvements are done."]}),"\n"]}),"\n",(0,i.jsx)(e.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(e.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"javascript","data-theme":"css-variables",children:(0,i.jsxs)(e.code,{"data-language":"javascript","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" schemaWithFinalAge"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" version"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" 0"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" primaryKey"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'id'"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'object'"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" properties"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" id"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" maxLength"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" 100"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:" // <- the primary key must have set maxLength"})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" firstName"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" lastName"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" age"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'integer'"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" final"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" true"})]}),"\n",(0,i.jsx)(e.span,{"data-line":"",children:(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" required"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" ["}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'id'"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"]"})]}),"\n",(0,i.jsx)(e.span,{"data-line":"",children:(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"};"})})]})})}),"\n",(0,i.jsx)(e.h2,{id:"non-allowed-properties",children:"Non allowed properties"}),"\n",(0,i.jsxs)(e.p,{children:["The schema is not only used to validate objects before they are written into the database, but also used to map getters to observe and populate single fieldnames, keycompression and other things. Therefore you can not use every schema which would be valid for the spec of ",(0,i.jsx)(e.a,{href:"http://json-schema.org/",children:"json-schema.org"}),".\nFor example, fieldnames must match the regex ",(0,i.jsx)(e.code,{children:"^[a-zA-Z][[a-zA-Z0-9_]*]?[a-zA-Z0-9]$"})," and ",(0,i.jsx)(e.code,{children:"additionalProperties"})," is always set to ",(0,i.jsx)(e.code,{children:"false"}),". But don't worry, RxDB will instantly throw an error when you pass an invalid schema into it."]}),"\n",(0,i.jsxs)(e.p,{children:["Also the following class properties of ",(0,i.jsx)(e.code,{children:"RxDocument"})," cannot be used as top level fields because they would clash when the RxDocument property is accessed:"]}),"\n",(0,i.jsx)(e.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(e.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"json","data-theme":"css-variables",children:(0,i.jsxs)(e.code,{"data-language":"json","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsx)(e.span,{"data-line":"",children:(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"["})}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "collection"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "_data"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "_propertyCache"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "isInstanceOfRxDocument"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "primaryPath"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "primary"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "revision"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "deleted$"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "deleted$$"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "deleted"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "getLatest"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "$"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "$$"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "get$"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "get$$"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "populate"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "get"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "toJSON"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "toMutableJSON"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "update"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "incrementalUpdate"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "updateCRDT"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "putAttachment"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "putAttachmentBase64"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "getAttachment"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "allAttachments"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "allAttachments$"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "modify"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "incrementalModify"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "patch"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "incrementalPatch"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "_saveData"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "remove"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "incrementalRemove"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "close"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "deleted"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(e.span,{"data-line":"",children:(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "synced"'})}),"\n",(0,i.jsx)(e.span,{"data-line":"",children:(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"]"})})]})})}),"\n",(0,i.jsx)(e.h2,{id:"faq",children:"FAQ"}),"\n",(0,i.jsxs)(n,{children:[(0,i.jsx)("summary",{children:"How can I store a Date?"}),(0,i.jsxs)("div",{children:[(0,i.jsxs)(e.p,{children:["With RxDB you can only store plain JSON data inside of a document. You cannot store a JavaScript ",(0,i.jsx)(e.code,{children:"new Date()"})," instance directly. This is for performance reasons and because ",(0,i.jsx)(e.code,{children:"Date()"})," is a mutable thing where changing it at any time might cause strange problem that are hard to debug."]}),(0,i.jsxs)(e.p,{children:["To store a date in RxDB, you have to define a string field with a ",(0,i.jsx)(e.code,{children:"format"})," attribute:"]}),(0,i.jsx)(e.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(e.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"json","data-theme":"css-variables",children:(0,i.jsxs)(e.code,{"data-language":"json","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsx)(e.span,{"data-line":"",children:(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"{"})}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:' "type"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "string"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:' "format"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "date-time"'})]}),"\n",(0,i.jsx)(e.span,{"data-line":"",children:(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"}"})})]})})}),(0,i.jsxs)(e.p,{children:["When storing the data you have to first transform your ",(0,i.jsx)(e.code,{children:"Date"})," object into a string ",(0,i.jsx)(e.code,{children:"Date.toISOString()"}),".\nBecause the ",(0,i.jsx)(e.code,{children:"date-time"})," is sortable, you can do whatever query operations on that field and even use it as an index."]})]})]}),"\n",(0,i.jsxs)(n,{children:[(0,i.jsx)("summary",{children:"How to store schemaless data?"}),(0,i.jsxs)("div",{children:[(0,i.jsxs)(e.p,{children:['By design, RxDB requires that every collection has a schema. This means you cannot create a truly "schema-less" collection where top-level fields are unknown at schema creation time. RxDB must know about all fields of a document at the top level to perform validation, index creation, and other internal optimizations.\nHowever, there is a way to store data of arbitrary structure at sub-fields. To do this, define a property with ',(0,i.jsx)(e.code,{children:'type: "object"'})," in your schema. For example:"]}),(0,i.jsx)(e.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(e.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(e.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsx)(e.span,{"data-line":"",children:(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"{"})}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "version"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:": "}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:"0"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "primaryKey"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:": "}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:'"id"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "type"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:": "}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:'"object"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "properties"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:": {"})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "id"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "type"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "string"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "maxLength"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-constant)"},children:" 100"})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "myDynamicData"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "type"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "object"'})]}),"\n",(0,i.jsx)(e.span,{"data-line":"",children:(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:" // Here you can store any JSON data"})}),"\n",(0,i.jsx)(e.span,{"data-line":"",children:(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-comment)"},children:" // because it's an open object."})}),"\n",(0,i.jsx)(e.span,{"data-line":"",children:(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(e.span,{"data-line":"",children:[(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "required"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:": ["}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-token-string-expression)"},children:'"id"'}),(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"]"})]}),"\n",(0,i.jsx)(e.span,{"data-line":"",children:(0,i.jsx)(e.span,{style:{color:"var(--shiki-foreground)"},children:"}"})})]})})})]})]}),"\n",(0,i.jsxs)(n,{children:[(0,i.jsxs)("summary",{children:["Why does RxDB automatically set ",(0,i.jsx)(e.code,{children:"additionalProperties: false"})," at the top level"]}),(0,i.jsxs)("div",{children:[(0,i.jsxs)(e.p,{children:["RxDB automatically sets ",(0,i.jsx)(e.code,{children:"additionalProperties: false"})," at the top level of a schema to ensure that all top-level fields are known in advance. This design choice offers several benefits:"]}),(0,i.jsxs)(e.ul,{children:["\n",(0,i.jsxs)(e.li,{children:["\n",(0,i.jsx)(e.p,{children:"Prevents collisions with RxDocument class properties:\nRxDB documents have built-in class methods (e.g., .toJSON, .save) at the top level. By forbidding unknown top-level properties, we avoid accidental naming collisions with these built-in methods."}),"\n"]}),"\n",(0,i.jsxs)(e.li,{children:["\n",(0,i.jsxs)(e.p,{children:["Avoids conflicts with user-defined ORM functions:\nDevelopers can add custom ",(0,i.jsx)(e.a,{href:"/orm.html",children:"ORM methods"})," to RxDocuments. If top-level properties were unbounded, a property name could accidentally conflict with a method name, leading to unexpected behavior."]}),"\n"]}),"\n",(0,i.jsxs)(e.li,{children:["\n",(0,i.jsxs)(e.p,{children:["Improves TypeScript typings:\nIf RxDB didn't know about all top-level fields, the document type would effectively become ",(0,i.jsx)(e.code,{children:"any"}),". That means a simple typo like ",(0,i.jsx)(e.code,{children:"myDocument.toJOSN()"})," would only be caught at runtime, not at build time. By disallowing unknown properties, TypeScript can provide strict typing and catch errors sooner."]}),"\n"]}),"\n"]})]})]}),"\n",(0,i.jsxs)(n,{children:[(0,i.jsx)("summary",{children:"Can't change the schema of a collection"}),(0,i.jsxs)("div",{children:[(0,i.jsxs)(e.p,{children:["When you make changes to the schema of a collection, you sometimes can get an error like\n",(0,i.jsx)(e.code,{children:"Error: addCollections(): another instance created this collection with a different schema"}),"."]}),(0,i.jsx)(e.p,{children:"This means you have created a collection before and added document-data to it.\nWhen you now just change the schema, it is likely that the new schema does not match the saved documents inside of the collection.\nThis would cause strange bugs and would be hard to debug, so RxDB check's if your schema has changed and throws an error."}),(0,i.jsxs)(e.p,{children:["To change the schema in ",(0,i.jsx)(e.strong,{children:"production"}),"-mode, do the following steps:"]}),(0,i.jsxs)(e.ul,{children:["\n",(0,i.jsxs)(e.li,{children:["Increase the ",(0,i.jsx)(e.code,{children:"version"})," by 1"]}),"\n",(0,i.jsxs)(e.li,{children:["Add the appropriate ",(0,i.jsx)(e.a,{href:"https://pubkey.github.io/rxdb/migration-schema.html",children:"migrationStrategies"})," so the saved data will be modified to match the new schema"]}),"\n"]}),(0,i.jsxs)(e.p,{children:["In ",(0,i.jsx)(e.strong,{children:"development"}),"-mode, the schema-change can be simplified by ",(0,i.jsx)(e.strong,{children:"one of these"})," strategies:"]}),(0,i.jsxs)(e.ul,{children:["\n",(0,i.jsx)(e.li,{children:"Use the memory-storage so your db resets on restart and your schema is not saved permanently"}),"\n",(0,i.jsxs)(e.li,{children:["Call ",(0,i.jsx)(e.code,{children:"removeRxDatabase('mydatabasename', RxStorage);"})," before creating a new RxDatabase-instance"]}),"\n",(0,i.jsxs)(e.li,{children:["Add a timestamp as suffix to the database-name to create a new one each run like ",(0,i.jsx)(e.code,{children:"name: 'heroesDB' + new Date().getTime()"})]}),"\n"]})]})]})]})}function h(s={}){const{wrapper:e}={...(0,o.R)(),...s.components};return e?(0,i.jsx)(e,{...s,children:(0,i.jsx)(d,{...s})}):d(s)}},8453(s,e,n){n.d(e,{R:()=>a,x:()=>l});var r=n(6540);const i={},o=r.createContext(i);function a(s){const e=r.useContext(o);return r.useMemo(function(){return"function"==typeof s?s(e):{...e,...s}},[e,s])}function l(s){let e;return e=s.disableParentContext?"function"==typeof s.components?s.components(i):s.components||i:a(s.components),r.createElement(o.Provider,{value:e},s.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/58215328.4a9061e5.js b/docs/assets/js/58215328.4a9061e5.js
deleted file mode 100644
index 4c8caa3419a..00000000000
--- a/docs/assets/js/58215328.4a9061e5.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[5353],{960(e,a,i){i.r(a),i.d(a,{default:()=>t});var s=i(544),n=i(4848);function t(){return(0,s.default)({sem:{id:"gads",metaTitle:"The local Database for Ionic Apps",appName:"Ionic",title:(0,n.jsxs)(n.Fragment,{children:["The easiest way to ",(0,n.jsx)("b",{children:"store"})," and ",(0,n.jsx)("b",{children:"sync"})," Data in Ionic"]}),iconUrl:"/files/icons/ionic.svg"}})}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/5943.0ded4df5.js b/docs/assets/js/5943.0ded4df5.js
deleted file mode 100644
index 68f6f5a3167..00000000000
--- a/docs/assets/js/5943.0ded4df5.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[5943],{2153(e,n,t){t.d(n,{A:()=>j});t(6540);var i=t(4164),s=t(1312),a=t(7559),r=t(8774);const l="iconEdit_Z9Sw";var c=t(4848);function o({className:e,...n}){return(0,c.jsx)("svg",{fill:"currentColor",height:"20",width:"20",viewBox:"0 0 40 40",className:(0,i.A)(l,e),"aria-hidden":"true",...n,children:(0,c.jsx)("g",{children:(0,c.jsx)("path",{d:"m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"})})})}function d({editUrl:e}){return(0,c.jsxs)(r.A,{to:e,className:a.G.common.editThisPage,children:[(0,c.jsx)(o,{}),(0,c.jsx)(s.A,{id:"theme.common.editThisPage",description:"The link label to edit the current page",children:"Edit this page"})]})}var u=t(4586);function m(e={}){const{i18n:{currentLocale:n}}=(0,u.A)(),t=function(){const{i18n:{currentLocale:e,localeConfigs:n}}=(0,u.A)();return n[e].calendar}();return new Intl.DateTimeFormat(n,{calendar:t,...e})}function h({lastUpdatedAt:e}){const n=new Date(e),t=m({day:"numeric",month:"short",year:"numeric",timeZone:"UTC"}).format(n);return(0,c.jsx)(s.A,{id:"theme.lastUpdated.atDate",description:"The words used to describe on which date a page has been last updated",values:{date:(0,c.jsx)("b",{children:(0,c.jsx)("time",{dateTime:n.toISOString(),itemProp:"dateModified",children:t})})},children:" on {date}"})}function f({lastUpdatedBy:e}){return(0,c.jsx)(s.A,{id:"theme.lastUpdated.byUser",description:"The words used to describe by who the page has been last updated",values:{user:(0,c.jsx)("b",{children:e})},children:" by {user}"})}function x({lastUpdatedAt:e,lastUpdatedBy:n}){return(0,c.jsxs)("span",{className:a.G.common.lastUpdated,children:[(0,c.jsx)(s.A,{id:"theme.lastUpdated.lastUpdatedAtBy",description:"The sentence used to display when a page has been last updated, and by who",values:{atDate:e?(0,c.jsx)(h,{lastUpdatedAt:e}):"",byUser:n?(0,c.jsx)(f,{lastUpdatedBy:n}):""},children:"Last updated{atDate}{byUser}"}),!1]})}const p="lastUpdated_JAkA",v="noPrint_WFHX";function j({className:e,editUrl:n,lastUpdatedAt:t,lastUpdatedBy:s}){return(0,c.jsxs)("div",{className:(0,i.A)("row",e),children:[(0,c.jsx)("div",{className:(0,i.A)("col",v),children:n&&(0,c.jsx)(d,{editUrl:n})}),(0,c.jsx)("div",{className:(0,i.A)("col",p),children:(t||s)&&(0,c.jsx)(x,{lastUpdatedAt:t,lastUpdatedBy:s})})]})}},3230(e,n,t){t.d(n,{A:()=>s});t(6540);var i=t(4848);function s(e){return(0,i.jsx)("code",{...e})}},5195(e,n,t){t.d(n,{A:()=>x});var i=t(6540),s=t(6342);function a(e){const n=e.map(e=>({...e,parentIndex:-1,children:[]})),t=Array(7).fill(-1);n.forEach((e,n)=>{const i=t.slice(2,e.level);e.parentIndex=Math.max(...i),t[e.level]=n});const i=[];return n.forEach(e=>{const{parentIndex:t,...s}=e;t>=0?n[t].children.push(s):i.push(s)}),i}function r({toc:e,minHeadingLevel:n,maxHeadingLevel:t}){return e.flatMap(e=>{const i=r({toc:e.children,minHeadingLevel:n,maxHeadingLevel:t});return function(e){return e.level>=n&&e.level<=t}(e)?[{...e,children:i}]:i})}function l(e){const n=e.getBoundingClientRect();return n.top===n.bottom?l(e.parentNode):n}function c(e,{anchorTopOffset:n}){const t=e.find(e=>l(e).top>=n);if(t){return function(e){return e.top>0&&e.bottom{e.current=n?0:document.querySelector(".navbar").clientHeight},[n]),e}function d(e){const n=(0,i.useRef)(void 0),t=o();(0,i.useEffect)(()=>{if(!e)return()=>{};const{linkClassName:i,linkActiveClassName:s,minHeadingLevel:a,maxHeadingLevel:r}=e;function l(){const e=function(e){return Array.from(document.getElementsByClassName(e))}(i),l=function({minHeadingLevel:e,maxHeadingLevel:n}){const t=[];for(let i=e;i<=n;i+=1)t.push(`h${i}.anchor`);return Array.from(document.querySelectorAll(t.join()))}({minHeadingLevel:a,maxHeadingLevel:r}),o=c(l,{anchorTopOffset:t.current}),d=e.find(e=>o&&o.id===function(e){return decodeURIComponent(e.href.substring(e.href.indexOf("#")+1))}(e));e.forEach(e=>{!function(e,t){t?(n.current&&n.current!==e&&n.current.classList.remove(s),e.classList.add(s),n.current=e):e.classList.remove(s)}(e,e===d)})}return document.addEventListener("scroll",l),document.addEventListener("resize",l),l(),()=>{document.removeEventListener("scroll",l),document.removeEventListener("resize",l)}},[e,t])}var u=t(8774),m=t(4848);function h({toc:e,className:n,linkClassName:t,isChild:i}){return e.length?(0,m.jsx)("ul",{className:i?void 0:n,children:e.map(e=>(0,m.jsxs)("li",{children:[(0,m.jsx)(u.A,{to:`#${e.id}`,className:t??void 0,dangerouslySetInnerHTML:{__html:e.value}}),(0,m.jsx)(h,{isChild:!0,toc:e.children,className:n,linkClassName:t})]},e.id))}):null}const f=i.memo(h);function x({toc:e,className:n="table-of-contents table-of-contents__left-border",linkClassName:t="table-of-contents__link",linkActiveClassName:l,minHeadingLevel:c,maxHeadingLevel:o,...u}){const h=(0,s.p)(),x=c??h.tableOfContents.minHeadingLevel,p=o??h.tableOfContents.maxHeadingLevel,v=function({toc:e,minHeadingLevel:n,maxHeadingLevel:t}){return(0,i.useMemo)(()=>r({toc:a(e),minHeadingLevel:n,maxHeadingLevel:t}),[e,n,t])}({toc:e,minHeadingLevel:x,maxHeadingLevel:p});return d((0,i.useMemo)(()=>{if(t&&l)return{linkClassName:t,linkActiveClassName:l,minHeadingLevel:x,maxHeadingLevel:p}},[t,l,x,p])),(0,m.jsx)(f,{toc:v,className:n,linkClassName:t,...u})}},6896(e,n,t){t.d(n,{A:()=>v});t(6540);var i=t(4164),s=t(1312),a=t(5260),r=t(4848);function l(){return(0,r.jsx)(s.A,{id:"theme.contentVisibility.unlistedBanner.title",description:"The unlisted content banner title",children:"Unlisted page"})}function c(){return(0,r.jsx)(s.A,{id:"theme.contentVisibility.unlistedBanner.message",description:"The unlisted content banner message",children:"This page is unlisted. Search engines will not index it, and only users having a direct link can access it."})}function o(){return(0,r.jsx)(a.A,{children:(0,r.jsx)("meta",{name:"robots",content:"noindex, nofollow"})})}function d(){return(0,r.jsx)(s.A,{id:"theme.contentVisibility.draftBanner.title",description:"The draft content banner title",children:"Draft page"})}function u(){return(0,r.jsx)(s.A,{id:"theme.contentVisibility.draftBanner.message",description:"The draft content banner message",children:"This page is a draft. It will only be visible in dev and be excluded from the production build."})}var m=t(7559),h=t(7293);function f({className:e}){return(0,r.jsx)(h.A,{type:"caution",title:(0,r.jsx)(d,{}),className:(0,i.A)(e,m.G.common.draftBanner),children:(0,r.jsx)(u,{})})}function x({className:e}){return(0,r.jsx)(h.A,{type:"caution",title:(0,r.jsx)(l,{}),className:(0,i.A)(e,m.G.common.unlistedBanner),children:(0,r.jsx)(c,{})})}function p(e){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o,{}),(0,r.jsx)(x,{...e})]})}function v({metadata:e}){const{unlisted:n,frontMatter:t}=e;return(0,r.jsxs)(r.Fragment,{children:[(n||t.unlisted)&&(0,r.jsx)(p,{}),t.draft&&(0,r.jsx)(f,{})]})}},7293(e,n,t){t.d(n,{A:()=>B});var i=t(6540),s=t(4848);function a(e){const{mdxAdmonitionTitle:n,rest:t}=function(e){const n=i.Children.toArray(e),t=n.find(e=>i.isValidElement(e)&&"mdxAdmonitionTitle"===e.type),a=n.filter(e=>e!==t),r=t?.props.children;return{mdxAdmonitionTitle:r,rest:a.length>0?(0,s.jsx)(s.Fragment,{children:a}):null}}(e.children),a=e.title??n;return{...e,...a&&{title:a},children:t}}var r=t(4164),l=t(1312),c=t(7559);const o="admonition_xJq3",d="admonitionHeading_Gvgb",u="admonitionIcon_Rf37",m="admonitionContent_BuS1";function h({type:e,className:n,children:t}){return(0,s.jsx)("div",{className:(0,r.A)(c.G.common.admonition,c.G.common.admonitionType(e),o,n),children:t})}function f({icon:e,title:n}){return(0,s.jsxs)("div",{className:d,children:[(0,s.jsx)("span",{className:u,children:e}),n]})}function x({children:e}){return e?(0,s.jsx)("div",{className:m,children:e}):null}function p(e){const{type:n,icon:t,title:i,children:a,className:r}=e;return(0,s.jsxs)(h,{type:n,className:r,children:[i||t?(0,s.jsx)(f,{title:i,icon:t}):null,(0,s.jsx)(x,{children:a})]})}function v(e){return(0,s.jsx)("svg",{viewBox:"0 0 14 16",...e,children:(0,s.jsx)("path",{fillRule:"evenodd",d:"M6.3 5.69a.942.942 0 0 1-.28-.7c0-.28.09-.52.28-.7.19-.18.42-.28.7-.28.28 0 .52.09.7.28.18.19.28.42.28.7 0 .28-.09.52-.28.7a1 1 0 0 1-.7.3c-.28 0-.52-.11-.7-.3zM8 7.99c-.02-.25-.11-.48-.31-.69-.2-.19-.42-.3-.69-.31H6c-.27.02-.48.13-.69.31-.2.2-.3.44-.31.69h1v3c.02.27.11.5.31.69.2.2.42.31.69.31h1c.27 0 .48-.11.69-.31.2-.19.3-.42.31-.69H8V7.98v.01zM7 2.3c-3.14 0-5.7 2.54-5.7 5.68 0 3.14 2.56 5.7 5.7 5.7s5.7-2.55 5.7-5.7c0-3.15-2.56-5.69-5.7-5.69v.01zM7 .98c3.86 0 7 3.14 7 7s-3.14 7-7 7-7-3.12-7-7 3.14-7 7-7z"})})}const j={icon:(0,s.jsx)(v,{}),title:(0,s.jsx)(l.A,{id:"theme.admonition.note",description:"The default label used for the Note admonition (:::note)",children:"note"})};function g(e){return(0,s.jsx)(p,{...j,...e,className:(0,r.A)("alert alert--secondary",e.className),children:e.children})}function A(e){return(0,s.jsx)("svg",{viewBox:"0 0 12 16",...e,children:(0,s.jsx)("path",{fillRule:"evenodd",d:"M6.5 0C3.48 0 1 2.19 1 5c0 .92.55 2.25 1 3 1.34 2.25 1.78 2.78 2 4v1h5v-1c.22-1.22.66-1.75 2-4 .45-.75 1-2.08 1-3 0-2.81-2.48-5-5.5-5zm3.64 7.48c-.25.44-.47.8-.67 1.11-.86 1.41-1.25 2.06-1.45 3.23-.02.05-.02.11-.02.17H5c0-.06 0-.13-.02-.17-.2-1.17-.59-1.83-1.45-3.23-.2-.31-.42-.67-.67-1.11C2.44 6.78 2 5.65 2 5c0-2.2 2.02-4 4.5-4 1.22 0 2.36.42 3.22 1.19C10.55 2.94 11 3.94 11 5c0 .66-.44 1.78-.86 2.48zM4 14h5c-.23 1.14-1.3 2-2.5 2s-2.27-.86-2.5-2z"})})}const N={icon:(0,s.jsx)(A,{}),title:(0,s.jsx)(l.A,{id:"theme.admonition.tip",description:"The default label used for the Tip admonition (:::tip)",children:"tip"})};function b(e){return(0,s.jsx)(p,{...N,...e,className:(0,r.A)("alert alert--success",e.className),children:e.children})}function y(e){return(0,s.jsx)("svg",{viewBox:"0 0 14 16",...e,children:(0,s.jsx)("path",{fillRule:"evenodd",d:"M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"})})}const C={icon:(0,s.jsx)(y,{}),title:(0,s.jsx)(l.A,{id:"theme.admonition.info",description:"The default label used for the Info admonition (:::info)",children:"info"})};function L(e){return(0,s.jsx)(p,{...C,...e,className:(0,r.A)("alert alert--info",e.className),children:e.children})}function H(e){return(0,s.jsx)("svg",{viewBox:"0 0 16 16",...e,children:(0,s.jsx)("path",{fillRule:"evenodd",d:"M8.893 1.5c-.183-.31-.52-.5-.887-.5s-.703.19-.886.5L.138 13.499a.98.98 0 0 0 0 1.001c.193.31.53.501.886.501h13.964c.367 0 .704-.19.877-.5a1.03 1.03 0 0 0 .01-1.002L8.893 1.5zm.133 11.497H6.987v-2.003h2.039v2.003zm0-3.004H6.987V5.987h2.039v4.006z"})})}const w={icon:(0,s.jsx)(H,{}),title:(0,s.jsx)(l.A,{id:"theme.admonition.warning",description:"The default label used for the Warning admonition (:::warning)",children:"warning"})};function T(e){return(0,s.jsx)("svg",{viewBox:"0 0 12 16",...e,children:(0,s.jsx)("path",{fillRule:"evenodd",d:"M5.05.31c.81 2.17.41 3.38-.52 4.31C3.55 5.67 1.98 6.45.9 7.98c-1.45 2.05-1.7 6.53 3.53 7.7-2.2-1.16-2.67-4.52-.3-6.61-.61 2.03.53 3.33 1.94 2.86 1.39-.47 2.3.53 2.27 1.67-.02.78-.31 1.44-1.13 1.81 3.42-.59 4.78-3.42 4.78-5.56 0-2.84-2.53-3.22-1.25-5.61-1.52.13-2.03 1.13-1.89 2.75.09 1.08-1.02 1.8-1.86 1.33-.67-.41-.66-1.19-.06-1.78C8.18 5.31 8.68 2.45 5.05.32L5.03.3l.02.01z"})})}const U={icon:(0,s.jsx)(T,{}),title:(0,s.jsx)(l.A,{id:"theme.admonition.danger",description:"The default label used for the Danger admonition (:::danger)",children:"danger"})};const k={icon:(0,s.jsx)(H,{}),title:(0,s.jsx)(l.A,{id:"theme.admonition.caution",description:"The default label used for the Caution admonition (:::caution)",children:"caution"})};const _={...{note:g,tip:b,info:L,warning:function(e){return(0,s.jsx)(p,{...w,...e,className:(0,r.A)("alert alert--warning",e.className),children:e.children})},danger:function(e){return(0,s.jsx)(p,{...U,...e,className:(0,r.A)("alert alert--danger",e.className),children:e.children})}},...{secondary:e=>(0,s.jsx)(g,{title:"secondary",...e}),important:e=>(0,s.jsx)(L,{title:"important",...e}),success:e=>(0,s.jsx)(b,{title:"success",...e}),caution:function(e){return(0,s.jsx)(p,{...k,...e,className:(0,r.A)("alert alert--warning",e.className),children:e.children})}}};function B(e){const n=a(e),t=(i=n.type,_[i]||(console.warn(`No admonition component found for admonition type "${i}". Using Info as fallback.`),_.info));var i;return(0,s.jsx)(t,{...n})}},7763(e,n,t){t.d(n,{A:()=>l});t(6540);var i=t(4164),s=t(5195);const a="tableOfContents_bqdL";var r=t(4848);function l({className:e,...n}){return(0,r.jsx)("div",{className:(0,i.A)(a,"thin-scrollbar",e),children:(0,r.jsx)(s.A,{...n,linkClassName:"table-of-contents__link toc-highlight",linkActiveClassName:"table-of-contents__link--active"})})}},7910(e,n,t){t.d(n,{A:()=>r});t(6540);var i=t(8453),s=t(9057),a=t(4848);function r({children:e}){return(0,a.jsx)(i.x,{components:s.A,children:e})}},8453(e,n,t){t.d(n,{R:()=>r,x:()=>l});var i=t(6540);const s={},a=i.createContext(s);function r(e){const n=i.useContext(a);return i.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function l(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:r(e.components),i.createElement(a.Provider,{value:n},e.children)}},8759(e,n,t){t.d(n,{A:()=>U});var i=t(6540),s=t(5260),a=t(8601),r=t(3230),l=t(4848);var c=t(4164),o=t(8774),d=t(3535);var u=t(3427),m=t(2303),h=t(1422);const f="details_lb9f",x="isBrowser_bmU9",p="collapsibleContent_i85q";function v(e){return!!e&&("SUMMARY"===e.tagName||v(e.parentElement))}function j(e,n){return!!e&&(e===n||j(e.parentElement,n))}function g({summary:e,children:n,...t}){(0,u.A)().collectAnchor(t.id);const s=(0,m.A)(),a=(0,i.useRef)(null),{collapsed:r,setCollapsed:o}=(0,h.u)({initialState:!t.open}),[d,g]=(0,i.useState)(t.open),A=i.isValidElement(e)?e:(0,l.jsx)("summary",{children:e??"Details"});return(0,l.jsxs)("details",{...t,ref:a,open:d,"data-collapsed":r,className:(0,c.A)(f,s&&x,t.className),onMouseDown:e=>{v(e.target)&&e.detail>1&&e.preventDefault()},onClick:e=>{e.stopPropagation();const n=e.target;v(n)&&j(n,a.current)&&(e.preventDefault(),r?(o(!1),g(!0)):o(!0))},children:[A,(0,l.jsx)(h.N,{lazy:!1,collapsed:r,onCollapseTransitionEnd:e=>{o(e),g(!e)},children:(0,l.jsx)("div",{className:p,children:n})})]})}const A="details_b_Ee";function N({...e}){return(0,l.jsx)(g,{...e,className:(0,c.A)("alert alert--info",A,e.className)})}function b(e){const n=i.Children.toArray(e.children),t=n.find(e=>i.isValidElement(e)&&"summary"===e.type),s=(0,l.jsx)(l.Fragment,{children:n.filter(e=>e!==t)});return(0,l.jsx)(N,{...e,summary:t,children:s})}var y=t(1107);function C(e){return(0,l.jsx)(y.A,{...e})}const L="containsTaskList_mC6p";function H(e){if(void 0!==e)return(0,c.A)(e,e?.includes("contains-task-list")&&L)}const w="img_ev3q";var T=t(7293);const U={Head:s.A,details:b,Details:b,code:function(e){return function(e){return void 0!==e.children&&i.Children.toArray(e.children).every(e=>"string"==typeof e&&!e.includes("\n"))}(e)?(0,l.jsx)(r.A,{...e}):(0,l.jsx)(a.h,{...e})},a:function(e){const n=(0,d.v)(e.id);return(0,l.jsx)(o.A,{...e,className:(0,c.A)(n,e.className)})},pre:function(e){return(0,l.jsx)(l.Fragment,{children:e.children})},ul:function(e){return(0,l.jsx)("ul",{...e,className:H(e.className)})},li:function(e){(0,u.A)().collectAnchor(e.id);const n=(0,d.v)(e.id);return(0,l.jsx)("li",{className:(0,c.A)(n,e.className),...e})},img:function(e){return(0,l.jsx)("img",{decoding:"async",loading:"lazy",...e,className:(n=e.className,(0,c.A)(n,w))});var n},h1:e=>(0,l.jsx)(C,{as:"h1",...e}),h2:e=>(0,l.jsx)(C,{as:"h2",...e}),h3:e=>(0,l.jsx)(C,{as:"h3",...e}),h4:e=>(0,l.jsx)(C,{as:"h4",...e}),h5:e=>(0,l.jsx)(C,{as:"h5",...e}),h6:e=>(0,l.jsx)(C,{as:"h6",...e}),admonition:T.A,mermaid:()=>null}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/597d88be.269bc776.js b/docs/assets/js/597d88be.269bc776.js
deleted file mode 100644
index 200aa4da9da..00000000000
--- a/docs/assets/js/597d88be.269bc776.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[8715],{4190(e,s,n){n.r(s),n.d(s,{assets:()=>t,contentTitle:()=>l,default:()=>h,frontMatter:()=>a,metadata:()=>r,toc:()=>c});const r=JSON.parse('{"id":"articles/firebase-realtime-database-alternative","title":"RxDB - Firebase Realtime Database Alternative to Sync With Your Own Backend","description":"Looking for a Firebase Realtime Database alternative? RxDB offers a fully offline, vendor-agnostic NoSQL solution with advanced conflict resolution and multi-platform support.","source":"@site/docs/articles/firebase-realtime-database-alternative.md","sourceDirName":"articles","slug":"/articles/firebase-realtime-database-alternative.html","permalink":"/articles/firebase-realtime-database-alternative.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"RxDB - Firebase Realtime Database Alternative to Sync With Your Own Backend","slug":"firebase-realtime-database-alternative.html","description":"Looking for a Firebase Realtime Database alternative? RxDB offers a fully offline, vendor-agnostic NoSQL solution with advanced conflict resolution and multi-platform support."},"sidebar":"tutorialSidebar","previous":{"title":"RxDB - Firestore Alternative to Sync with Your Own Backend","permalink":"/articles/firestore-alternative.html"},"next":{"title":"RxDB \u2013 The Ultimate Offline Database with Sync and Encryption","permalink":"/articles/offline-database.html"}}');var i=n(4848),o=n(8453);const a={title:"RxDB - Firebase Realtime Database Alternative to Sync With Your Own Backend",slug:"firebase-realtime-database-alternative.html",description:"Looking for a Firebase Realtime Database alternative? RxDB offers a fully offline, vendor-agnostic NoSQL solution with advanced conflict resolution and multi-platform support."},l="RxDB - The Firebase Realtime Database Alternative That Can Sync With Your Own Backend",t={},c=[{value:"Why RxDB Is an Excellent Firebase Realtime Database Alternative",id:"why-rxdb-is-an-excellent-firebase-realtime-database-alternative",level:2},{value:"1. Complete Offline-First Experience",id:"1-complete-offline-first-experience",level:3},{value:"2. Freedom to Use Any Server or Cloud",id:"2-freedom-to-use-any-server-or-cloud",level:3},{value:"3. Advanced Conflict Handling",id:"3-advanced-conflict-handling",level:3},{value:"4. Lower Cloud Costs for Read-Heavy Apps",id:"4-lower-cloud-costs-for-read-heavy-apps",level:3},{value:"5. Powerful Local Queries",id:"5-powerful-local-queries",level:3},{value:"6. True Offline Initialization",id:"6-true-offline-initialization",level:3},{value:"7. Works Everywhere JavaScript Runs",id:"7-works-everywhere-javascript-runs",level:3},{value:"How RxDB's Syncing Mechanism Operates",id:"how-rxdbs-syncing-mechanism-operates",level:2},{value:"Sample Code: Sync RxDB With a Custom Endpoint",id:"sample-code-sync-rxdb-with-a-custom-endpoint",level:2},{value:"Setting Up P2P Replication Over WebRTC",id:"setting-up-p2p-replication-over-webrtc",level:3},{value:"Quick Steps to Get Started",id:"quick-steps-to-get-started",level:2},{value:"Is RxDB the Right Solution for You?",id:"is-rxdb-the-right-solution-for-you",level:3}];function d(e){const s={a:"a",code:"code",figure:"figure",h1:"h1",h2:"h2",h3:"h3",header:"header",hr:"hr",li:"li",ol:"ol",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...(0,o.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s.header,{children:(0,i.jsx)(s.h1,{id:"rxdb---the-firebase-realtime-database-alternative-that-can-sync-with-your-own-backend",children:"RxDB - The Firebase Realtime Database Alternative That Can Sync With Your Own Backend"})}),"\n",(0,i.jsxs)(s.p,{children:["Are you on the lookout for a ",(0,i.jsx)(s.strong,{children:"Firebase Realtime Database alternative"})," that gives you greater freedom, deeper offline capabilities, and allows you to seamlessly integrate with any backend? ",(0,i.jsx)(s.strong,{children:"RxDB"})," (Reactive Database) might be the perfect choice. This ",(0,i.jsx)(s.a,{href:"/articles/local-first-future.html",children:"local-first"}),", NoSQL data store runs entirely on the client while supporting real-time updates and robust syncing with any server environment\u2014making it a strong contender against Firebase Realtime Database's limitations and potential vendor lock-in."]}),"\n",(0,i.jsx)("center",{children:(0,i.jsx)("a",{href:"https://rxdb.info/",children:(0,i.jsx)("img",{src:"/files/logo/rxdb_javascript_database.svg",alt:"JavaScript Database",width:"220"})})}),"\n",(0,i.jsx)(s.h2,{id:"why-rxdb-is-an-excellent-firebase-realtime-database-alternative",children:"Why RxDB Is an Excellent Firebase Realtime Database Alternative"}),"\n",(0,i.jsx)(s.h3,{id:"1-complete-offline-first-experience",children:"1. Complete Offline-First Experience"}),"\n",(0,i.jsxs)(s.p,{children:["Unlike Firebase Realtime Database, which relies on central infrastructure to process data, RxDB is fully embedded within your client application (including ",(0,i.jsx)(s.a,{href:"/articles/browser-database.html",children:"browsers"}),", ",(0,i.jsx)(s.a,{href:"/nodejs-database.html",children:"Node.js"}),", ",(0,i.jsx)(s.a,{href:"/electron-database.html",children:"Electron"}),", and ",(0,i.jsx)(s.a,{href:"/react-native-database.html",children:"React Native"}),"). This design means your app stays completely functional offline, since all data reads and writes happen locally. When connectivity is restored, RxDB's syncing framework automatically reconciles local changes with your remote backend."]}),"\n",(0,i.jsx)(s.h3,{id:"2-freedom-to-use-any-server-or-cloud",children:"2. Freedom to Use Any Server or Cloud"}),"\n",(0,i.jsx)(s.p,{children:"While Firebase Realtime Database ties you into Google's ecosystem, RxDB allows you to choose any hosting environment. You can:"}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsx)(s.li,{children:"Host your data on your own servers or private cloud."}),"\n",(0,i.jsxs)(s.li,{children:["Integrate with relational databases like ",(0,i.jsx)(s.a,{href:"/replication-http.html",children:"PostgreSQL"})," or other NoSQL options such as ",(0,i.jsx)(s.a,{href:"/replication-couchdb.html",children:"CouchDB"}),"."]}),"\n",(0,i.jsxs)(s.li,{children:["Build custom endpoints using ",(0,i.jsx)(s.a,{href:"/replication-http.html",children:"REST"}),", ",(0,i.jsx)(s.a,{href:"/replication-graphql.html",children:"GraphQL"}),", or any other protocol."]}),"\n"]}),"\n",(0,i.jsx)(s.p,{children:"This flexibility ensures you're not locked into a single vendor and can adapt your backend strategy as your project evolves."}),"\n",(0,i.jsx)(s.h3,{id:"3-advanced-conflict-handling",children:"3. Advanced Conflict Handling"}),"\n",(0,i.jsxs)(s.p,{children:["Firebase Realtime Database typically updates data with a simple last-in-wins approach. RxDB, on the other hand, lets you implement more sophisticated conflict resolution logic. Using ",(0,i.jsx)(s.a,{href:"/transactions-conflicts-revisions.html#custom-conflict-handler",children:"revisions and conflict handlers"}),", RxDB can merge concurrent edits or preserve multiple versions\u2014ensuring your application remains consistent even when multiple clients modify the same data at the same time."]}),"\n",(0,i.jsx)(s.h3,{id:"4-lower-cloud-costs-for-read-heavy-apps",children:"4. Lower Cloud Costs for Read-Heavy Apps"}),"\n",(0,i.jsxs)(s.p,{children:["When you rely on Firebase Realtime Database, each query or listener can translate into ongoing reads, potentially running up your monthly bill. With RxDB, all queries are performed ",(0,i.jsx)(s.a,{href:"/offline-first.html",children:"locally"}),". Your app only communicates with the backend to sync document changes, significantly reducing bandwidth and hosting expenses for applications that frequently read data."]}),"\n",(0,i.jsx)(s.h3,{id:"5-powerful-local-queries",children:"5. Powerful Local Queries"}),"\n",(0,i.jsx)(s.p,{children:"If you've hit Firebase Realtime Database's querying limits, RxDB offers a far more robust approach to data retrieval. You can:"}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsx)(s.li,{children:"Define custom indexes for faster local lookups."}),"\n",(0,i.jsx)(s.li,{children:"Perform sophisticated filters, joins, or full-text searches right on the client."}),"\n",(0,i.jsxs)(s.li,{children:["Subscribe to real-time data updates through RxDB's ",(0,i.jsx)(s.a,{href:"/reactivity.html",children:"reactive query engine"}),"."]}),"\n"]}),"\n",(0,i.jsxs)(s.p,{children:["Because these operations happen locally, your ",(0,i.jsx)(s.a,{href:"/articles/optimistic-ui.html",children:"UI updates"})," instantly, providing a snappy user experience."]}),"\n",(0,i.jsx)(s.h3,{id:"6-true-offline-initialization",children:"6. True Offline Initialization"}),"\n",(0,i.jsxs)(s.p,{children:["While Firebase offers some offline caching, it often requires an initial connection for authentication or to seed local data. RxDB, however, is built to handle an ",(0,i.jsx)(s.strong,{children:"offline-start"})," scenario. Users can begin working with the application immediately, regardless of connectivity, and any modifications they make will sync once the network is available again."]}),"\n",(0,i.jsx)(s.h3,{id:"7-works-everywhere-javascript-runs",children:"7. Works Everywhere JavaScript Runs"}),"\n",(0,i.jsxs)(s.p,{children:["One of RxDB's core strengths is its ability to run in ",(0,i.jsx)(s.strong,{children:"any JavaScript environment"}),". Whether you're building a web app that uses IndexedDB in the browser, an ",(0,i.jsx)(s.a,{href:"/electron-database.html",children:"Electron"})," desktop program, or a ",(0,i.jsx)(s.a,{href:"/react-native-database.html",children:"React Native"})," mobile application, RxDB's ",(0,i.jsx)(s.strong,{children:"swappable storage"})," adapts to your runtime of choice. This consistency makes code-sharing and cross-platform development far simpler than being tied to a single backend system."]}),"\n",(0,i.jsx)(s.hr,{}),"\n",(0,i.jsx)(s.h2,{id:"how-rxdbs-syncing-mechanism-operates",children:"How RxDB's Syncing Mechanism Operates"}),"\n",(0,i.jsxs)(s.p,{children:["RxDB employs its own ",(0,i.jsx)(s.a,{href:"/replication.html",children:"Sync Engine"})," to manage data flow between your client and remote ",(0,i.jsx)(s.a,{href:"/rx-server.html",children:"servers"}),". Replication revolves around:"]}),"\n",(0,i.jsxs)(s.ol,{children:["\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Pull"}),": Retrieving updated or newly created documents from the server."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Push"}),": Sending local changes to the backend for persistence."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Live Updates"}),": Continuously streaming changes to and from the backend for real-time synchronization."]}),"\n"]}),"\n",(0,i.jsx)(s.h2,{id:"sample-code-sync-rxdb-with-a-custom-endpoint",children:"Sample Code: Sync RxDB With a Custom Endpoint"}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { createRxDatabase } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/core'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { getRxStorageLocalstorage } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/storage-localstorage'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { replicateRxCollection } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/replication'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"async"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" function"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" initDB"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"() {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'localdb'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageLocalstorage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"()"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" multiInstance"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" true"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" eventReduce"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" true"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" });"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".addCollections"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" tasks"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" schema"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" title"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'task schema'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" version"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 0"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'object'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" primaryKey"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'id'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" properties"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" id"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { type"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" maxLength"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 100"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" title"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { type"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" complete"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { type"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'boolean'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" });"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // Start a custom replication"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" replicateRxCollection"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" collection"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".tasks"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" replicationIdentifier"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'custom-tasks-api'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" push"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" handler"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" async"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" (docs) "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // post local changes to your server"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" resp"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" fetch"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'https://yourapi.com/tasks/push'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" method"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'POST'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" body"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" JSON"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".stringify"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({ changes"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" docs })"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" });"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" resp"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".json"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(); "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// return conflicting documents if any"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" pull"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" handler"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" async"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" (lastCheckpoint"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" batchSize) "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // fetch new/updated items from your server"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" response"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" fetch"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" `https://yourapi.com/tasks/pull?checkpoint="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"${"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"JSON"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".stringify"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" lastCheckpoint"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" )"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"}"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"&limit="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"${"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"batchSize"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"}"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"`"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" );"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" response"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".json"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" live"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" true"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" });"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" db;"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"}"})})]})})}),"\n",(0,i.jsx)(s.h3,{id:"setting-up-p2p-replication-over-webrtc",children:"Setting Up P2P Replication Over WebRTC"}),"\n",(0,i.jsx)(s.p,{children:"In addition to using a centralized backend, RxDB supports peer-to-peer synchronization through WebRTC, enabling devices to share data directly."}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" replicateWebRTC"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" getConnectionHandlerSimplePeer"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/replication-webrtc'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" webrtcPool"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" replicateWebRTC"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" collection"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".tasks"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" topic"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'p2p-topic-123'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" connectionHandlerCreator"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getConnectionHandlerSimplePeer"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" signalingServerUrl"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'wss://signaling.rxdb.info/'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" wrtc"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" require"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'node-datachannel/polyfill'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:")"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" webSocketConstructor"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" require"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'ws'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:").WebSocket"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" })"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"webrtcPool"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"error$"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".subscribe"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"((error) "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" console"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".error"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'P2P error:'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" error);"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,i.jsx)(s.p,{children:"Here, any client that joins the same topic communicates changes to other peers, all without requiring a traditional client-server model."}),"\n",(0,i.jsx)(s.h2,{id:"quick-steps-to-get-started",children:"Quick Steps to Get Started"}),"\n",(0,i.jsxs)(s.ol,{children:["\n",(0,i.jsx)(s.li,{children:"Install RxDB"}),"\n"]}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"bash","data-theme":"css-variables",children:(0,i.jsx)(s.code,{"data-language":"bash","data-theme":"css-variables",style:{display:"grid"},children:(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"npm"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string)"},children:" install"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string)"},children:" rxdb"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string)"},children:" rxjs"})]})})})}),"\n",(0,i.jsxs)(s.ol,{start:"2",children:["\n",(0,i.jsx)(s.li,{children:"Create a Local Database"}),"\n"]}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { createRxDatabase } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/core'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { getRxStorageLocalstorage } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/storage-localstorage'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'myLocalDB'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageLocalstorage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"()"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"Add a Collection"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"ts"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"Kopieren"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".addCollections"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" notes"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" schema"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" title"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'notes schema'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" version"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 0"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" primaryKey"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'id'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'object'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" properties"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" id"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { type"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" maxLenght"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 100"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" content"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { type"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,i.jsxs)(s.ol,{start:"3",children:["\n",(0,i.jsx)(s.li,{children:"Synchronize"}),"\n"]}),"\n",(0,i.jsxs)(s.p,{children:["Use one of the ",(0,i.jsx)(s.a,{href:"/replication.html",children:"Replication Plugins"})," to connect with your preferred backend."]}),"\n",(0,i.jsx)(s.h3,{id:"is-rxdb-the-right-solution-for-you",children:"Is RxDB the Right Solution for You?"}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Long Offline Use"}),": If your users need to work without an internet connection, RxDB's built-in offline-first design stands out compared to Firebase Realtime Database's partial offline approach."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Custom or Complex Queries"}),": RxDB lets you perform your ",(0,i.jsx)(s.a,{href:"/rx-query.html",children:"queries"})," locally, define ",(0,i.jsx)(s.a,{href:"/rx-schema.html#indexes",children:"indexing"}),", and handle even complex ",(0,i.jsx)(s.a,{href:"/rx-pipeline.html",children:"transformations"})," locally - no extra call to an external API."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Avoid Vendor Lock-In"}),": If you anticipate needing to move or adapt your backend later, you can do so without rewriting how your client manages its data."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Peer-to-Peer Collaboration"}),": Whether you need quick demos or real production use, ",(0,i.jsx)(s.a,{href:"/replication-webrtc.html",children:"WebRTC replication"})," can link your users directly without central coordination of data storage."]}),"\n"]})]})}function h(e={}){const{wrapper:s}={...(0,o.R)(),...e.components};return s?(0,i.jsx)(s,{...e,children:(0,i.jsx)(d,{...e})}):d(e)}},8453(e,s,n){n.d(s,{R:()=>a,x:()=>l});var r=n(6540);const i={},o=r.createContext(i);function a(e){const s=r.useContext(o);return r.useMemo(function(){return"function"==typeof e?e(s):{...s,...e}},[s,e])}function l(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:a(e.components),r.createElement(o.Provider,{value:s},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/5a273530.2bec61c8.js b/docs/assets/js/5a273530.2bec61c8.js
deleted file mode 100644
index 5759e0344e5..00000000000
--- a/docs/assets/js/5a273530.2bec61c8.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[3881],{4944(e,s,r){r.r(s),r.d(s,{assets:()=>l,contentTitle:()=>t,default:()=>h,frontMatter:()=>i,metadata:()=>n,toc:()=>c});const n=JSON.parse('{"id":"rx-storage-remote","title":"Remote RxStorage","description":"The Remote RxStorage is made to use a remote storage and communicate with it over an asynchronous message channel.","source":"@site/docs/rx-storage-remote.md","sourceDirName":".","slug":"/rx-storage-remote.html","permalink":"/rx-storage-remote.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"Remote RxStorage","slug":"rx-storage-remote.html"},"sidebar":"tutorialSidebar","previous":{"title":"Logger \ud83d\udc51","permalink":"/logger.html"},"next":{"title":"Worker RxStorage \ud83d\udc51","permalink":"/rx-storage-worker.html"}}');var o=r(4848),a=r(8453);const i={title:"Remote RxStorage",slug:"rx-storage-remote.html"},t="Remote RxStorage",l={},c=[{value:"Usage",id:"usage",level:2},{value:"Usage with a Websocket server",id:"usage-with-a-websocket-server",level:2},{value:"Sending custom messages",id:"sending-custom-messages",level:2}];function d(e){const s={a:"a",code:"code",figure:"figure",h1:"h1",h2:"h2",header:"header",p:"p",pre:"pre",span:"span",strong:"strong",...(0,a.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(s.header,{children:(0,o.jsx)(s.h1,{id:"remote-rxstorage",children:"Remote RxStorage"})}),"\n",(0,o.jsxs)(s.p,{children:["The Remote ",(0,o.jsx)(s.a,{href:"/rx-storage.html",children:"RxStorage"})," is made to use a remote storage and communicate with it over an asynchronous message channel.\nThe remote part could be on another JavaScript process or even on a different host machine.\nThe remote storage plugin is used in many RxDB plugins like the ",(0,o.jsx)(s.a,{href:"/rx-storage-worker.html",children:"worker"})," or the ",(0,o.jsx)(s.a,{href:"/electron.html",children:"electron"})," plugin."]}),"\n",(0,o.jsx)(s.h2,{id:"usage",children:"Usage"}),"\n",(0,o.jsxs)(s.p,{children:["The remote storage communicates over a message channel which has to implement the ",(0,o.jsx)(s.code,{children:"messageChannelCreator"})," function which returns an object that has a ",(0,o.jsx)(s.code,{children:"messages$"})," observable and a ",(0,o.jsx)(s.code,{children:"send()"})," function on both sides and a ",(0,o.jsx)(s.code,{children:"close()"})," function that closes the RemoteMessageChannel."]}),"\n",(0,o.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,o.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// on the client"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { getRxStorageRemote } "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/storage-remote'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" storage"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageRemote"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" identifier"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'my-id'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" mode"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'storage'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" messageChannelCreator"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" () "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" Promise"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".resolve"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" messages$"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" new"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" Subject"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"()"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" send"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(msg) {"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // send to remote storage"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" })"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" myDb"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// on the remote"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { getRxStorageLocalstorage } "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/storage-localstorage'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { exposeRxStorageRemote } "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/storage-remote'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"exposeRxStorageRemote"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageLocalstorage"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"()"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" messages$"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" new"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" Subject"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"()"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" send"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(msg){"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // send to other side"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,o.jsx)(s.h2,{id:"usage-with-a-websocket-server",children:"Usage with a Websocket server"}),"\n",(0,o.jsxs)(s.p,{children:["The remote storage plugin contains helper functions to create a remote storage over a WebSocket server.\nThis is often used in Node.js to give one microservice access to another services database ",(0,o.jsx)(s.strong,{children:"without"})," having to replicate the full database state."]}),"\n",(0,o.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,o.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// server.js"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { getRxStorageMemory } "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/storage-memory'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { startRxStorageRemoteWebsocketServer } "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/storage-remote-websocket'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// either you can create the server based on a RxDatabase"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" serverBasedOnDatabase"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" startRxStorageRemoteWebsocketServer"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" port"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 8080"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" database"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" myRxDatabase"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// or you can create the server based on a pure RxStorage"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" serverBasedOn"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" startRxStorageRemoteWebsocketServer"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" port"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 8080"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageMemory"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"()"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,o.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,o.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// client.js"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { getRxStorageRemoteWebsocket } "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/storage-remote-websocket'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" myDb"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageRemoteWebsocket"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" url"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'ws://example.com:8080'"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" })"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,o.jsx)(s.h2,{id:"sending-custom-messages",children:"Sending custom messages"}),"\n",(0,o.jsx)(s.p,{children:"The remote storage can also be used to send custom messages to and from the remote instance."}),"\n",(0,o.jsxs)(s.p,{children:["One the remote you have to define a ",(0,o.jsx)(s.code,{children:"customRequestHandler"})," like:"]}),"\n",(0,o.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,o.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" serverBasedOnDatabase"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" startRxStorageRemoteWebsocketServer"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" port"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 8080"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" database"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" myRxDatabase"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" async"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" customRequestHandler"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(msg){"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // here you can return any JSON object as an 'answer'"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" foo"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'bar'"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" };"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" } "})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,o.jsxs)(s.p,{children:["On the client instance you can then call the ",(0,o.jsx)(s.code,{children:"customRequest()"})," method:"]}),"\n",(0,o.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,o.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" storage"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageRemoteWebsocket"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" url"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'ws://example.com:8080'"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" answer"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" storage"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".customRequest"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({ bar"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'foo'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" });"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"console"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".dir"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(answer); "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// > { foo: 'bar' }"})]})]})})})]})}function h(e={}){const{wrapper:s}={...(0,a.R)(),...e.components};return s?(0,o.jsx)(s,{...e,children:(0,o.jsx)(d,{...e})}):d(e)}},8453(e,s,r){r.d(s,{R:()=>i,x:()=>t});var n=r(6540);const o={},a=n.createContext(o);function i(e){const s=n.useContext(a);return n.useMemo(function(){return"function"==typeof e?e(s):{...s,...e}},[s,e])}function t(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:i(e.components),n.createElement(a.Provider,{value:s},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/5b5afcec.7e369a0e.js b/docs/assets/js/5b5afcec.7e369a0e.js
deleted file mode 100644
index 804b9544b99..00000000000
--- a/docs/assets/js/5b5afcec.7e369a0e.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[3633],{5255(e,s,n){n.r(s),n.d(s,{assets:()=>l,contentTitle:()=>o,default:()=>h,frontMatter:()=>t,metadata:()=>i,toc:()=>d});const i=JSON.parse('{"id":"articles/json-based-database","title":"JSON-Based Databases - Why NoSQL and RxDB Simplify App Development","description":"Dive into how JSON-based databases power modern UI-centric apps, why NoSQL often outperforms SQL for dynamic data, how SQLite accommodates JSON, and why RxDB delivers a seamless offline-first solution for JavaScript with advanced JSON features.","source":"@site/docs/articles/json-based-database.md","sourceDirName":"articles","slug":"/articles/json-based-database.html","permalink":"/articles/json-based-database.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"JSON-Based Databases - Why NoSQL and RxDB Simplify App Development","slug":"json-based-database.html","description":"Dive into how JSON-based databases power modern UI-centric apps, why NoSQL often outperforms SQL for dynamic data, how SQLite accommodates JSON, and why RxDB delivers a seamless offline-first solution for JavaScript with advanced JSON features."},"sidebar":"tutorialSidebar","previous":{"title":"IndexedDB Max Storage Size Limit - Detailed Best Practices","permalink":"/articles/indexeddb-max-storage-limit.html"},"next":{"title":"ReactJS Storage - From Basic LocalStorage to Advanced Offline Apps with RxDB","permalink":"/articles/reactjs-storage.html"}}');var r=n(4848),a=n(8453);const t={title:"JSON-Based Databases - Why NoSQL and RxDB Simplify App Development",slug:"json-based-database.html",description:"Dive into how JSON-based databases power modern UI-centric apps, why NoSQL often outperforms SQL for dynamic data, how SQLite accommodates JSON, and why RxDB delivers a seamless offline-first solution for JavaScript with advanced JSON features."},o="JSON-Based Databases: Why NoSQL and RxDB Simplify App Development",l={},d=[{value:"Why JSON-Based Databases Are Typically NoSQL",id:"why-json-based-databases-are-typically-nosql",level:2},{value:"Document-Oriented by Nature",id:"document-oriented-by-nature",level:3},{value:"Flexible, Schema-Agnostic",id:"flexible-schema-agnostic",level:3},{value:"Aligned With Evolving User Interfaces",id:"aligned-with-evolving-user-interfaces",level:3},{value:"Is NoSQL \u201cBetter\u201d Than SQL?",id:"is-nosql-better-than-sql",level:2},{value:"When to Prefer SQL Instead of JSON/NoSQL",id:"when-to-prefer-sql-instead-of-jsonnosql",level:2},{value:"Storing JSON in Traditional SQL Databases",id:"storing-json-in-traditional-sql-databases",level:2},{value:"JSON Columns in PostgreSQL or MySQL",id:"json-columns-in-postgresql-or-mysql",level:3},{value:"Storing JSON in SQLite",id:"storing-json-in-sqlite",level:2},{value:"JSON vs. Database - Why a Plain JSON Text File is a Problem",id:"json-vs-database---why-a-plain-json-text-file-is-a-problem",level:2},{value:"RxDB: A JSON-Focused Database for JavaScript Apps",id:"rxdb-a-json-focused-database-for-javascript-apps",level:2},{value:"Key Characteristics",id:"key-characteristics",level:3},{value:"Advanced JSON Features in RxDB",id:"advanced-json-features-in-rxdb",level:3},{value:"Follow Up",id:"follow-up",level:2}];function c(e){const s={a:"a",code:"code",figure:"figure",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",ol:"ol",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...(0,a.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s.header,{children:(0,r.jsx)(s.h1,{id:"json-based-databases-why-nosql-and-rxdb-simplify-app-development",children:"JSON-Based Databases: Why NoSQL and RxDB Simplify App Development"})}),"\n",(0,r.jsxs)(s.p,{children:["Modern applications handle highly dynamic, often deeply nested data structures\u2014commonly represented in ",(0,r.jsx)(s.strong,{children:"JSON"}),". Whether you're building a real-time dashboard or a fully offline mobile app, storing and querying data in a JSON-friendly way can reduce overhead and coding complexity. This is where ",(0,r.jsx)(s.strong,{children:"JSON-based databases"})," (often part of the ",(0,r.jsx)(s.strong,{children:"NoSQL"})," family) come into play, letting you store objects in the same format they're used in your code, eliminating the schema wrangling that can come with a strict relational design."]}),"\n",(0,r.jsxs)(s.p,{children:["Below, we explore why JSON-based databases naturally align with ",(0,r.jsx)(s.strong,{children:"NoSQL"})," principles, how relational engines (like PostgreSQL or SQLite) handle JSON columns, the pitfalls of storing data in a single plain JSON text file, and the ways ",(0,r.jsx)(s.a,{href:"https://rxdb.info/",children:"RxDB"})," stands out as an offline-first JSON solution for JavaScript developers\u2014complete with advanced features like JSON-Schema and JSON-key-compression."]}),"\n",(0,r.jsx)("p",{align:"center",children:(0,r.jsx)("img",{src:"/files/no-sql.png",alt:"NoSQL",width:"100"})}),"\n",(0,r.jsx)(s.h2,{id:"why-json-based-databases-are-typically-nosql",children:"Why JSON-Based Databases Are Typically NoSQL"}),"\n",(0,r.jsx)(s.h3,{id:"document-oriented-by-nature",children:"Document-Oriented by Nature"}),"\n",(0,r.jsxs)(s.p,{children:["When your data is stored as JSON, each record or document can hold nested arrays and sub-objects with no forced table schema. NoSQL solutions such as ",(0,r.jsx)(s.a,{href:"/rx-storage-mongodb.html",children:"MongoDB"}),", ",(0,r.jsx)(s.a,{href:"/replication-couchdb.html",children:"CouchDB"}),", ",(0,r.jsx)(s.a,{href:"/replication-firestore.html",children:"Firebase"}),", and ",(0,r.jsx)(s.strong,{children:"RxDB"})," store and retrieve these documents in their \u201craw\u201d JSON form. This model integrates smoothly with how front-end applications already handle data, minimizing transformations and improving developer productivity."]}),"\n",(0,r.jsx)(s.h3,{id:"flexible-schema-agnostic",children:"Flexible, Schema-Agnostic"}),"\n",(0,r.jsx)(s.p,{children:"Traditional SQL tables enforce rigid column definitions and demand explicit schema migrations when you add or rename a field. By contrast, NoSQL solutions accept more dynamic data structures, allowing changes on the fly. This means a front-end developer can add a new field to a JSON object\u2014perhaps for a new feature\u2014without the friction of redefining or migrating a database schema. While this is possible, it is often not recommended."}),"\n",(0,r.jsx)(s.h3,{id:"aligned-with-evolving-user-interfaces",children:"Aligned With Evolving User Interfaces"}),"\n",(0,r.jsx)(s.p,{children:"As modern UIs frequently manipulate deeply nested or changing data, developers find it easier to store whole objects directly, saving time that might otherwise be spent performing complex joins or normalizing data. For instance, frameworks like React, Vue, or Angular are inherently comfortable with nested JSON structures, which map more directly to NoSQL\u2019s \u201cdocument\u201d approach than to relational tables."}),"\n",(0,r.jsx)(s.h2,{id:"is-nosql-better-than-sql",children:"Is NoSQL \u201cBetter\u201d Than SQL?"}),"\n",(0,r.jsxs)(s.p,{children:["It depends on your application. ",(0,r.jsx)(s.strong,{children:"SQL"})," remains exceptional for complex aggregations, enforced relationships, and sophisticated transaction handling. But ",(0,r.jsx)(s.strong,{children:"NoSQL"})," is often more intuitive and easier to maintain for \u201cdocument-first\u201d applications that:"]}),"\n",(0,r.jsxs)(s.ul,{children:["\n",(0,r.jsx)(s.li,{children:"Thrive on flexible or rapidly evolving data models."}),"\n",(0,r.jsx)(s.li,{children:"Rely on hierarchical or nested JSON objects."}),"\n",(0,r.jsx)(s.li,{children:"Avoid multi-table joins."}),"\n",(0,r.jsx)(s.li,{children:"Require easy horizontal scaling for large sets of documents."}),"\n"]}),"\n",(0,r.jsx)(s.p,{children:"Relational databases are still a top choice for many enterprise back-ends, especially when advanced analytics or strongly enforced referential integrity is needed. But if your application is predominantly storing and manipulating JSON documents (e.g., user profiles, real-time chat logs, embedded items), a JSON-based or document-oriented approach can greatly reduce friction during development."}),"\n",(0,r.jsx)(s.h2,{id:"when-to-prefer-sql-instead-of-jsonnosql",children:"When to Prefer SQL Instead of JSON/NoSQL"}),"\n",(0,r.jsxs)(s.p,{children:["NoSQL solutions\u2014particularly JSON-based document stores\u2014provide a natural fit for flexible, nested data in UI-heavy applications. However, certain scenarios may benefit more from a ",(0,r.jsx)(s.strong,{children:"SQL"})," solution:"]}),"\n",(0,r.jsxs)(s.ol,{children:["\n",(0,r.jsxs)(s.li,{children:[(0,r.jsx)(s.strong,{children:"Complex Relationships"}),": If your data demands intricate joins across multiple entities (e.g., many-to-many relationships that can\u2019t easily be embedded in a single document), a well-structured relational schema can simplify queries."]}),"\n",(0,r.jsxs)(s.li,{children:[(0,r.jsx)(s.strong,{children:"Strong Integrity and Constraints"}),": SQL excels at enforcing constraints such as foreign keys, unique constraints, and advanced triggers. If your system needs strict data validation and complex business logic within the database, SQL might prove more robust."]}),"\n",(0,r.jsxs)(s.li,{children:[(0,r.jsx)(s.strong,{children:"High-End Analytical Queries"}),": Relational databases can handle sophisticated aggregations, groupings, and joins more efficiently. If your app frequently runs advanced SQL queries, a NoSQL approach may complicate or slow down analytics."]}),"\n",(0,r.jsxs)(s.li,{children:[(0,r.jsx)(s.strong,{children:"Legacy Integration"}),": Many enterprise systems are built around existing relational schemas. A purely NoSQL approach might mean rewriting or bridging systems that are heavily reliant on SQL constraints and transformations."]}),"\n",(0,r.jsxs)(s.li,{children:[(0,r.jsx)(s.strong,{children:"Transaction Handling"}),": While many NoSQL solutions have improved transaction support, it can still lag behind well-established SQL transaction models. If ACID properties and multi-operation atomicity are paramount, you might prefer a tried-and-true relational engine."]}),"\n"]}),"\n",(0,r.jsx)(s.p,{children:"In short, if you prioritize advanced relational queries, robust constraints, or complex business rules at the database level, SQL remains a powerful, and possibly superior, choice. For user-centric, fast-evolving JSON data, though, NoSQL or JSON-based solutions often reduce the friction of frequent schema changes."}),"\n",(0,r.jsx)(s.h2,{id:"storing-json-in-traditional-sql-databases",children:"Storing JSON in Traditional SQL Databases"}),"\n",(0,r.jsx)(s.h3,{id:"json-columns-in-postgresql-or-mysql",children:"JSON Columns in PostgreSQL or MySQL"}),"\n",(0,r.jsxs)(s.p,{children:["To accommodate the demand for flexible data, several SQL engines (notably ",(0,r.jsx)(s.strong,{children:"PostgreSQL"})," and MySQL) introduced support for ",(0,r.jsx)(s.strong,{children:"JSON"})," columns. PostgreSQL offers the ",(0,r.jsx)(s.code,{children:"JSON"})," and ",(0,r.jsx)(s.code,{children:"JSONB"})," types, enabling developers to store raw JSON in a column. You can also index specific paths within the JSON to speed lookups on nested fields:"]}),"\n",(0,r.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,r.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"sql","data-theme":"css-variables",children:(0,r.jsxs)(s.code,{"data-language":"sql","data-theme":"css-variables",style:{display:"grid"},children:[(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"CREATE"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" TABLE"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" products"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ("})]}),"\n",(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" id "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"SERIAL"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" PRIMARY KEY"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:","})]}),"\n",(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" name"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" TEXT"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:","})]}),"\n",(0,r.jsx)(s.span,{"data-line":"",children:(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" details JSONB"})}),"\n",(0,r.jsx)(s.span,{"data-line":"",children:(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})}),"\n",(0,r.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,r.jsx)(s.span,{"data-line":"",children:(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"-- Insert a record with JSON data"})}),"\n",(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"INSERT INTO"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" products ("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"name"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:", details) "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"VALUES"})]}),"\n",(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'Laptop'"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:", "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:'\'{"brand": "BrandX", "features": ["Touchscreen", "SSD"]}\''}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})]})]})})}),"\n",(0,r.jsx)(s.p,{children:"Although this approach merges the best of both worlds (SQL queries + flexible JSON fields), it can also create a \u201csplit personality\u201d in your schema. You might store stable data in normal columns, while unpredictable or nested details live inside a JSONB field. Some projects flourish with this hybrid design, others find it a bit unwieldy."}),"\n",(0,r.jsx)("center",{children:(0,r.jsx)("img",{src:"../files/icons/sqlite.svg",alt:"WASM SQLite",width:"140",class:"img-padding"})}),"\n",(0,r.jsx)(s.h2,{id:"storing-json-in-sqlite",children:"Storing JSON in SQLite"}),"\n",(0,r.jsxs)(s.p,{children:["SQLite also allows storing JSON data, typically as text columns, but with some additional features since ",(0,r.jsx)(s.strong,{children:"SQLite 3.9"})," (2015) including the ",(0,r.jsx)(s.a,{href:"https://www.sqlite.org/json1.html",children:"JSON1 extension"}),". This extension can parse JSON text, perform queries on JSON fields, and do partial updates. However, storing JSON in SQLite does require you to ensure you\u2019ve compiled SQLite with JSON1 support or to rely on a library that bundles it. While possible, you still won't get quite the same schema-agnostic ease as a full document store, but it\u2019s a pragmatic solution for smaller or embedded needs on the server side\u2014or occasionally in the browser if you run SQLite via WebAssembly. RxDB uses this in its ",(0,r.jsx)(s.a,{href:"/rx-storage-sqlite.html",children:"SQLite storage"}),"."]}),"\n",(0,r.jsx)(s.h2,{id:"json-vs-database---why-a-plain-json-text-file-is-a-problem",children:"JSON vs. Database - Why a Plain JSON Text File is a Problem"}),"\n",(0,r.jsx)(s.p,{children:"Some developers consider storing everything in a single JSON file, typically read and written directly from disk or local storage. This approach, while seemingly simple, usually does not scale. Key issues include:"}),"\n",(0,r.jsxs)(s.ul,{children:["\n",(0,r.jsxs)(s.li,{children:[(0,r.jsx)(s.strong,{children:"No Concurrency"}),": If multiple parts of the application try to write to the same JSON file, you risk overwriting changes."]}),"\n",(0,r.jsxs)(s.li,{children:[(0,r.jsx)(s.strong,{children:"No Indexes"}),": Finding or filtering items in large JSON text requires scanning everything. This is slow and quickly becomes unmanageable."]}),"\n",(0,r.jsxs)(s.li,{children:[(0,r.jsx)(s.strong,{children:"No Partial Updates"}),": You often reload the entire file, modify it in memory, then write it back, which is highly inefficient for large data sets."]}),"\n",(0,r.jsxs)(s.li,{children:[(0,r.jsx)(s.strong,{children:"Corruption Risk"}),": A single corrupted write or partial save might break the entire JSON file, losing all data."]}),"\n",(0,r.jsxs)(s.li,{children:[(0,r.jsx)(s.strong,{children:"High Memory Usage"}),": The entire file may need to be parsed into memory, even if you only need a fraction of the data."]}),"\n"]}),"\n",(0,r.jsx)(s.p,{children:"Databases\u2014relational or NoSQL\u2014solve these issues by handling concurrency, enabling partial reads/writes, establishing indexes, and ensuring transactional integrity so you don\u2019t lose everything if the process is interrupted mid-write."}),"\n",(0,r.jsx)("center",{children:(0,r.jsx)("a",{href:"https://rxdb.info/",children:(0,r.jsx)("img",{src:"../files/logo/rxdb_javascript_database.svg",alt:"JavaScript JSON Database",width:"220"})})}),"\n",(0,r.jsx)(s.h2,{id:"rxdb-a-json-focused-database-for-javascript-apps",children:"RxDB: A JSON-Focused Database for JavaScript Apps"}),"\n",(0,r.jsxs)(s.p,{children:["Many NoSQL databases operate on the server, whereas RxDB is built for client-side usage\u2014browsers, mobile apps, or Node.js. It specializes in JSON documents and embraces an ",(0,r.jsx)(s.a,{href:"/offline-first.html",children:"offline-first"})," philosophy."]}),"\n",(0,r.jsx)(s.h3,{id:"key-characteristics",children:"Key Characteristics"}),"\n",(0,r.jsxs)(s.ol,{children:["\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.strong,{children:"Local JSON Storage"})}),"\n"]}),"\n",(0,r.jsx)(s.p,{children:"RxDB stores each record as a JSON document, closely matching how front-end frameworks handle state. This eliminates complex transformations or manual JSON parsing before writing to a table."}),"\n",(0,r.jsxs)(s.ol,{start:"2",children:["\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.strong,{children:"Reactive Queries"})}),"\n"]}),"\n",(0,r.jsxs)(s.p,{children:["Instead of complex SQL, RxDB uses JSON-based ",(0,r.jsx)(s.a,{href:"/rx-query.html",children:"query"})," definitions. You can subscribe to query results, letting your UI automatically refresh when data changes locally or from remote sync updates:"]}),"\n",(0,r.jsx)("p",{align:"center",children:(0,r.jsx)("img",{src:"../files/animations/realtime.gif",alt:"realtime ui updates",width:"700"})}),"\n",(0,r.jsxs)(s.ol,{start:"3",children:["\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.strong,{children:"Offline-First Sync"})}),"\n"]}),"\n",(0,r.jsx)(s.p,{children:"Built-in replication plugins push/pull changes to or from a remote server. If your app is offline, updates get stored locally, then sync up seamlessly once a connection is available."}),"\n",(0,r.jsxs)(s.ol,{start:"4",children:["\n",(0,r.jsx)(s.li,{children:(0,r.jsx)(s.strong,{children:"Optional JSON-Schema"})}),"\n"]}),"\n",(0,r.jsx)(s.p,{children:"Though it\u2019s a document database, RxDB encourages you to define a JSON-based schema for clarity, indexing, and type validation. This helps maintain data consistency while still allowing a measure of flexibility for new fields."}),"\n",(0,r.jsx)(s.h3,{id:"advanced-json-features-in-rxdb",children:"Advanced JSON Features in RxDB"}),"\n",(0,r.jsxs)(s.ul,{children:["\n",(0,r.jsxs)(s.li,{children:["\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.strong,{children:"JSON-Schema"}),": By specifying a JSON-Schema, you can define which fields exist, whether they are required, and their data types. This is invaluable for catching malformed documents early and imposing mild structure in a NoSQL setting."]}),"\n"]}),"\n",(0,r.jsxs)(s.li,{children:["\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.strong,{children:"JSON Key-Compression"}),": Large, verbose field names can bloat storage usage. RxDB\u2019s optional ",(0,r.jsx)(s.a,{href:"/key-compression.html",children:"key-compression plugin"})," automatically shortens field names in your JSON documents internally, reducing disk space and bandwidth:"]}),"\n"]}),"\n"]}),"\n",(0,r.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,r.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,r.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,r.jsx)(s.span,{"data-line":"",children:(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// Example: how key-compression can transform your documents"})}),"\n",(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" uncompressed"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "firstName"'}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "Corrine"'}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "lastName"'}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "Ziemann"'}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "shoppingCartItems"'}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ["})]}),"\n",(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:'"productNumber"'}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 29857"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "amount"'}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 1"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:'"productNumber"'}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 53409"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "amount"'}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 6"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})]}),"\n",(0,r.jsx)(s.span,{"data-line":"",children:(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ]"})}),"\n",(0,r.jsx)(s.span,{"data-line":"",children:(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"};"})}),"\n",(0,r.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" compressed"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "|e"'}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "Corrine"'}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "|g"'}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "Ziemann"'}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "|i"'}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ["})]}),"\n",(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:'"|h"'}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 29857"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "|b"'}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 1"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:'"|h"'}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 53409"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "|b"'}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 6"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})]}),"\n",(0,r.jsx)(s.span,{"data-line":"",children:(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ]"})}),"\n",(0,r.jsx)(s.span,{"data-line":"",children:(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"};"})})]})})}),"\n",(0,r.jsx)(s.p,{children:"The user sees no difference in their code\u2014RxDB automatically decompresses data on read\u2014but the overhead is drastically reduced behind the scenes."}),"\n",(0,r.jsx)(s.h2,{id:"follow-up",children:"Follow Up"}),"\n",(0,r.jsx)(s.p,{children:"JSON-based databases naturally align with NoSQL because they accommodate evolving, nested data without rigid schemas. This makes them appealing for many UI-centric or offline-first applications where flexible documents and agile development cycles matter more than heavy relational queries or constraints."}),"\n",(0,r.jsx)(s.p,{children:"SQL can still store JSON\u2014whether in PostgreSQL\u2019s JSONB columns, MySQL\u2019s JSON fields, or SQLite\u2019s JSON1 extension. For some teams, a hybrid approach pairing SQL for relational data with JSON columns for more flexible fields works well. However, storing everything in a single monolithic JSON text file is rarely advisable for anything beyond trivial tasks\u2014databases excel at concurrency, indexing, and partial writes."}),"\n",(0,r.jsxs)(s.p,{children:["Tools like RxDB provide an even simpler, ",(0,r.jsx)(s.a,{href:"/articles/local-first-future.html",children:"local-first"})," take on JSON documents\u2014particularly for JavaScript projects. With offline ",(0,r.jsx)(s.a,{href:"/replication.html",children:"replication"}),", reactive queries, optional JSON-Schema, and advanced optimizations such as key-compression, RxDB streamlines building dynamic, user-facing features while preserving the core benefits of a robust document database."]}),"\n",(0,r.jsx)(s.p,{children:"To explore more about RxDB and its capabilities for browser database development, check out the following resources:"}),"\n",(0,r.jsxs)(s.ul,{children:["\n",(0,r.jsxs)(s.li,{children:[(0,r.jsx)(s.a,{href:"/code/",children:"RxDB GitHub Repository"}),": Visit the official GitHub repository of RxDB to access the source code, documentation, and community support."]}),"\n",(0,r.jsxs)(s.li,{children:[(0,r.jsx)(s.a,{href:"/quickstart.html",children:"RxDB Quickstart"}),": Get started quickly with RxDB by following the provided quickstart guide, which offers step-by-step instructions for setting up and using RxDB in your projects."]}),"\n",(0,r.jsxs)(s.li,{children:[(0,r.jsx)(s.a,{href:"https://github.com/pubkey/rxdb/tree/master/examples",children:"RxDB Examples"}),": Browse official examples to see RxDB in action and learn best practices you can apply to your own project - even if jQuery isn't explicitly featured, the patterns are similar."]}),"\n"]})]})}function h(e={}){const{wrapper:s}={...(0,a.R)(),...e.components};return s?(0,r.jsx)(s,{...e,children:(0,r.jsx)(c,{...e})}):c(e)}},8453(e,s,n){n.d(s,{R:()=>t,x:()=>o});var i=n(6540);const r={},a=i.createContext(r);function t(e){const s=i.useContext(a);return i.useMemo(function(){return"function"==typeof e?e(s):{...s,...e}},[s,e])}function o(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:t(e.components),i.createElement(a.Provider,{value:s},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/5e95c892.e42e7000.js b/docs/assets/js/5e95c892.e42e7000.js
deleted file mode 100644
index 8275f2ca12c..00000000000
--- a/docs/assets/js/5e95c892.e42e7000.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[9647],{7121(e,r,s){s.r(r),s.d(r,{default:()=>n});s(6540);var a=s(4164),u=s(7559),c=s(5500),l=s(2831),d=s(8711),h=s(4848);function n(e){return(0,h.jsx)(c.e3,{className:(0,a.A)(u.G.wrapper.docsPages),children:(0,h.jsx)(d.A,{children:(0,l.v)(e.route.routes)})})}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/61792630.6e389211.js b/docs/assets/js/61792630.6e389211.js
deleted file mode 100644
index fc1b3c322dd..00000000000
--- a/docs/assets/js/61792630.6e389211.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[7277],{3247(e,s,n){n.d(s,{g:()=>i});var r=n(4848);function i(e){const s=[];let n=null;return e.children.forEach(e=>{e.props.id?(n&&s.push(n),n={headline:e,paragraphs:[]}):n&&n.paragraphs.push(e)}),n&&s.push(n),(0,r.jsx)("div",{style:o.stepsContainer,children:s.map((e,s)=>(0,r.jsxs)("div",{style:o.stepWrapper,children:[(0,r.jsxs)("div",{style:o.stepIndicator,children:[(0,r.jsx)("div",{style:o.stepNumber,children:s+1}),(0,r.jsx)("div",{style:o.verticalLine})]}),(0,r.jsxs)("div",{style:o.stepContent,children:[(0,r.jsx)("div",{children:e.headline}),e.paragraphs.map((e,s)=>(0,r.jsx)("div",{style:o.item,children:e},s))]})]},s))})}const o={stepsContainer:{display:"flex",flexDirection:"column"},stepWrapper:{display:"flex",alignItems:"stretch",marginBottom:"1.5rem",position:"relative",minWidth:0},stepIndicator:{position:"relative",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"flex-start",width:"33px",marginRight:"1rem",minWidth:0},stepNumber:{width:"33px",height:"33px",borderRadius:"50%",backgroundColor:"var(--color-top)",color:"#fff",display:"flex",alignItems:"center",justifyContent:"center",fontWeight:"bold",marginTop:-4},verticalLine:{position:"absolute",top:29,bottom:"0",left:"50%",width:"1px",background:"linear-gradient(to bottom, var(--color-top) 0%, var(--color-top) 80%, rgba(0,0,0,0) 100%)",transform:"translateX(-50%)"},stepContent:{flex:1,minWidth:0,overflowWrap:"break-word"},item:{marginTop:"0.5rem"}}},5270(e,s,n){n.r(s),n.d(s,{assets:()=>c,contentTitle:()=>t,default:()=>p,frontMatter:()=>l,metadata:()=>r,toc:()=>d});const r=JSON.parse('{"id":"articles/angular-indexeddb","title":"Build Smarter Offline-First Angular Apps - How RxDB Beats IndexedDB Alone","description":"Discover how to harness IndexedDB in Angular with RxDB for robust offline apps. Learn reactive queries, advanced features, and more.","source":"@site/docs/articles/angular-indexeddb.md","sourceDirName":"articles","slug":"/articles/angular-indexeddb.html","permalink":"/articles/angular-indexeddb.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"Build Smarter Offline-First Angular Apps - How RxDB Beats IndexedDB Alone","slug":"angular-indexeddb.html","description":"Discover how to harness IndexedDB in Angular with RxDB for robust offline apps. Learn reactive queries, advanced features, and more."},"sidebar":"tutorialSidebar","previous":{"title":"What Really Is a Realtime Database?","permalink":"/articles/realtime-database.html"},"next":{"title":"IndexedDB Database in React Apps - The Power of RxDB","permalink":"/articles/react-indexeddb.html"}}');var i=n(4848),o=n(8453),a=n(2636);n(3247);const l={title:"Build Smarter Offline-First Angular Apps - How RxDB Beats IndexedDB Alone",slug:"angular-indexeddb.html",description:"Discover how to harness IndexedDB in Angular with RxDB for robust offline apps. Learn reactive queries, advanced features, and more."},t="Build Smarter Offline-First Angular Apps: How RxDB Beats IndexedDB Alone",c={},d=[{value:"What Is IndexedDB?",id:"what-is-indexeddb",level:2},{value:"Why Use IndexedDB in Angular",id:"why-use-indexeddb-in-angular",level:2},{value:"Why Using Plain IndexedDB is a Problem",id:"why-using-plain-indexeddb-is-a-problem",level:2},{value:"Set Up RxDB in Angular",id:"set-up-rxdb-in-angular",level:2},{value:"Installing RxDB",id:"installing-rxdb",level:3},{value:"Patch Change Detection with zone.js",id:"patch-change-detection-with-zonejs",level:3},{value:"Create a Database and Collections",id:"create-a-database-and-collections",level:3},{value:"Localstorage",id:"localstorage",level:3},{value:"IndexedDB",id:"indexeddb",level:3},{value:"CRUD Operations",id:"crud-operations",level:3},{value:"Reactive Queries and Live Updates",id:"reactive-queries-and-live-updates",level:2},{value:"With RxJS Observables and Async Pipes",id:"with-rxjs-observables-and-async-pipes",level:3},{value:"With Angular Signals",id:"with-angular-signals",level:3},{value:"Angular IndexedDB Example with RxDB",id:"angular-indexeddb-example-with-rxdb",level:2},{value:"Advanced RxDB Features",id:"advanced-rxdb-features",level:2},{value:"Limitations of IndexedDB",id:"limitations-of-indexeddb",level:2},{value:"Alternatives to IndexedDB",id:"alternatives-to-indexeddb",level:2},{value:"Performance comparison with other browser storages",id:"performance-comparison-with-other-browser-storages",level:2},{value:"Follow Up",id:"follow-up",level:2}];function h(e){const s={a:"a",code:"code",figure:"figure",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...(0,o.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s.header,{children:(0,i.jsx)(s.h1,{id:"build-smarter-offline-first-angular-apps-how-rxdb-beats-indexeddb-alone",children:"Build Smarter Offline-First Angular Apps: How RxDB Beats IndexedDB Alone"})}),"\n",(0,i.jsxs)(s.p,{children:["In modern web applications, offline capabilities and fast interactions are crucial. IndexedDB, the ",(0,i.jsx)(s.a,{href:"/articles/browser-database.html",children:"browser"}),"'s built-in database, allows you to store data locally, making your Angular application more robust and responsive. However, IndexedDB can be cumbersome to work with directly. That's where RxDB (Reactive Database) shines. In this article, we'll walk you through how to utilize IndexedDB in your Angular project using ",(0,i.jsx)(s.a,{href:"https://rxdb.info/",children:"RxDB"})," as a convenient abstraction layer."]}),"\n",(0,i.jsx)(s.h2,{id:"what-is-indexeddb",children:"What Is IndexedDB?"}),"\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.a,{href:"https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API",children:"IndexedDB"})," is a low-level JavaScript API for client-side storage of large amounts of structured data. It allows you to create key-value or object store-based data storage right in the user's browser. IndexedDB supports transactions and indexing but lacks a robust query API and can be complex to use due to its callback-based nature."]}),"\n",(0,i.jsx)("center",{children:(0,i.jsx)("img",{src:"../files/icons/angular.svg",alt:"Angular IndexedDB",width:"120"})}),"\n",(0,i.jsx)(s.h2,{id:"why-use-indexeddb-in-angular",children:"Why Use IndexedDB in Angular"}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:["\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.a,{href:"/offline-first.html",children:"Offline-First"}),"/",(0,i.jsx)(s.a,{href:"/articles/local-first-future.html",children:"Local-First"}),": If your app needs to function with limited or no internet connectivity, IndexedDB provides a reliable local storage layer. Users can continue using the application offline, and data can sync when the connection is restored."]}),"\n"]}),"\n",(0,i.jsxs)(s.li,{children:["\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.strong,{children:"Performance"}),": Local data access comes with ",(0,i.jsx)(s.a,{href:"/articles/zero-latency-local-first.html",children:"near-zero latency"}),", removing the need for constant server requests and eliminating most loading spinners."]}),"\n"]}),"\n",(0,i.jsxs)(s.li,{children:["\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.strong,{children:"Easier to Implement"}),": By replicating all necessary data to the client once, you avoid implementing numerous backend endpoints for each user interaction."]}),"\n"]}),"\n",(0,i.jsxs)(s.li,{children:["\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.strong,{children:"Scalability"}),": Local data queries remove processing load from your servers and reduce bandwidth usage by handling queries on the client side."]}),"\n"]}),"\n"]}),"\n",(0,i.jsx)(s.h2,{id:"why-using-plain-indexeddb-is-a-problem",children:"Why Using Plain IndexedDB is a Problem"}),"\n",(0,i.jsx)(s.p,{children:"Despite the advantages, directly working with IndexedDB has several drawbacks:"}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:["\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.strong,{children:"Callback-Based"}),": IndexedDB was originally designed around a callback-based API, which can be unwieldy compared to modern Promise or RxJS-based flows."]}),"\n"]}),"\n",(0,i.jsxs)(s.li,{children:["\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.strong,{children:"Difficult to Implement"}),': IndexedDB is often described as a "low-level" API. It\'s more suitable for library authors rather than application developers who simply need a robust local store.']}),"\n"]}),"\n",(0,i.jsxs)(s.li,{children:["\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.strong,{children:"Rudimentary Query API"}),": Complex or dynamic queries are cumbersome with IndexedDB's basic get/put approach and limited indexes."]}),"\n"]}),"\n",(0,i.jsxs)(s.li,{children:["\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.strong,{children:"TypeScript Support"}),": Maintaining strong TypeScript types for all document structures is not straightforward with IndexedDB's untyped object stores."]}),"\n"]}),"\n",(0,i.jsxs)(s.li,{children:["\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.strong,{children:"No Observable API"}),": IndexedDB cannot directly emit live data changes. With RxDB, you can subscribe to changes on a collection or even a single document field."]}),"\n"]}),"\n",(0,i.jsxs)(s.li,{children:["\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.strong,{children:"Cross-Tab Synchronization"}),": Handling concurrent data changes across multiple browser tabs is difficult in IndexedDB. RxDB has built-in multi-tab support that keeps all tabs in sync."]}),"\n"]}),"\n",(0,i.jsxs)(s.li,{children:["\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.strong,{children:"Advanced Features Missing"}),": IndexedDB lacks built-in support for encryption, compression, or other advanced data management features."]}),"\n"]}),"\n",(0,i.jsxs)(s.li,{children:["\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.strong,{children:"Browser-Only"}),": IndexedDB works in the browser but not in environments like React Native or Electron. RxDB offers storage adapters to seamlessly reuse the same code on different platforms."]}),"\n"]}),"\n"]}),"\n",(0,i.jsx)("center",{children:(0,i.jsx)("a",{href:"https://rxdb.info/",children:(0,i.jsx)("img",{src:"../files/logo/rxdb_javascript_database.svg",alt:"JavaScript Database",width:"220"})})}),"\n",(0,i.jsx)(s.h2,{id:"set-up-rxdb-in-angular",children:"Set Up RxDB in Angular"}),"\n",(0,i.jsx)(s.h3,{id:"installing-rxdb",children:"Installing RxDB"}),"\n",(0,i.jsxs)(s.p,{children:["You can ",(0,i.jsx)(s.a,{href:"/install.html",children:"install RxDB"})," into your Angular application via npm:"]}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"bash","data-theme":"css-variables",children:(0,i.jsx)(s.code,{"data-language":"bash","data-theme":"css-variables",style:{display:"grid"},children:(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"npm"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string)"},children:" install"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string)"},children:" rxdb"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string)"},children:" --save"})]})})})}),"\n",(0,i.jsx)(s.h3,{id:"patch-change-detection-with-zonejs",children:"Patch Change Detection with zone.js"}),"\n",(0,i.jsx)(s.p,{children:"RxDB creates RxJS observables outside of Angular's zone, meaning Angular won't automatically trigger change detection when new data arrives. You must patch RxJS with zone.js:"}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"//> app.component.ts"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"/**"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * IMPORTANT: RxDB creates rxjs observables outside of Angular's zone"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * So you have to import the rxjs patch to ensure change detection works correctly."})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"@link"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" https://www.bennadel.com/blog/3448-binding-rxjs-observable-sources-outside-of-the-ngzone-in-angular-6-0-2.htm"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'zone.js/plugins/zone-patch-rxjs'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]})]})})}),"\n",(0,i.jsx)(s.h3,{id:"create-a-database-and-collections",children:"Create a Database and Collections"}),"\n",(0,i.jsxs)(s.p,{children:["RxDB supports multiple storage options. The free and simple approach is using the ",(0,i.jsx)(s.a,{href:"/rx-storage-localstorage.html",children:"localstorage-based"})," storage. For higher performance, there's a premium plain ",(0,i.jsx)(s.a,{href:"/rx-storage-indexeddb.html",children:"IndexedDB storage"}),"."]}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { createRxDatabase } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/core'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// Define your schema"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" heroSchema"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" title"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'hero schema'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" version"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 0"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" description"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'Describes a hero in your app'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" primaryKey"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'id'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'object'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" properties"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" id"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" maxLength"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 100"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" power"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" required"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ["}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'id'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'name'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"]"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"};"})})]})})}),"\n",(0,i.jsxs)(a.t,{children:[(0,i.jsx)(s.h3,{id:"localstorage",children:"Localstorage"}),(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { getRxStorageLocalstorage } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/storage-localstorage'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"export"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" async"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" function"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" initDB"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"() {"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // Create a database"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'heroesdb'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // the name of the database"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageLocalstorage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"()"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" });"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // Add collections"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".addCollections"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" heroes"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" schema"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" heroSchema"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" });"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" db;"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"}"})})]})})}),(0,i.jsx)(s.h3,{id:"indexeddb",children:"IndexedDB"}),(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { getRxStorageIndexedDB } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb-premium/plugins/storage-indexeddb'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"export"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" async"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" function"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" initDB"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"() {"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // Create a database"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'heroesdb'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // the name of the database"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageIndexedDB"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"()"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" });"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // Add collections"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".addCollections"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" heroes"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" schema"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" heroSchema"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" });"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" db;"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"}"})})]})})})]}),"\n",(0,i.jsxs)(s.p,{children:["It's recommended to encapsulate database creation logic in an Angular service, such as in a DatabaseService. A full example is available in ",(0,i.jsx)(s.a,{href:"https://github.com/pubkey/rxdb/blob/master/examples/angular/src/app/services/database.service.ts",children:"RxDB's Angular example"}),"."]}),"\n",(0,i.jsx)(s.h3,{id:"crud-operations",children:"CRUD Operations"}),"\n",(0,i.jsx)(s.p,{children:"Once your database is initialized, you can perform all CRUD operations:"}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// insert"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"heroes"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".insert"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({ name"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'Iron Man'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" power"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'Genius-level intellect'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" });"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// bulk insert"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"heroes"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".bulkInsert"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(["})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { name"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'Thor'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" power"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'God of Thunder'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { name"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'Hulk'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" power"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'Superhuman Strength'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"]);"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// find and findOne"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" heroes"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"heroes"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".find"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"()"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".exec"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" ironMan"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"heroes"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".findOne"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({ selector"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { name"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'Iron Man'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" } })"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".exec"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// update"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" doc"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"heroes"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".findOne"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({ selector"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { name"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'Hulk'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" } })"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".exec"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" doc"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".update"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({ $set"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { power"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'Unlimited Strength'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" } });"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// delete"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" doc"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"heroes"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".findOne"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({ selector"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { name"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'Thor'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" } })"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".exec"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" doc"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".remove"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]})]})})}),"\n",(0,i.jsx)(s.h2,{id:"reactive-queries-and-live-updates",children:"Reactive Queries and Live Updates"}),"\n",(0,i.jsxs)(s.p,{children:["A key benefit of RxDB is reactivity. You can subscribe to changes and have your UI automatically reflect updates in ",(0,i.jsx)(s.a,{href:"/articles/realtime-database.html",children:"real time"})," even across browser tabs."]}),"\n",(0,i.jsx)("p",{align:"center",children:(0,i.jsx)("img",{src:"../files/animations/realtime.gif",alt:"realtime ui updates",width:"700"})}),"\n",(0,i.jsx)(s.h3,{id:"with-rxjs-observables-and-async-pipes",children:"With RxJS Observables and Async Pipes"}),"\n",(0,i.jsxs)(s.p,{children:["In Angular, you can display this data with the ",(0,i.jsx)(s.code,{children:"AsyncPipe"}),":"]}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"constructor"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(private dbService: DatabaseService) {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" this"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".heroes$ "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" this"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"dbService"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"heroes"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".find"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" selector"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {}"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" sort"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" [{ name"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'asc'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }]"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }).$;"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"}"})})]})})}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"html","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"html","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"<"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"ul"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:">"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" <"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"li"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" *ngFor"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:'"let hero of heroes$ | async"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:">"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {{ hero.name }}"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"li"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:">"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:""}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"ul"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:">"})]})]})})}),"\n",(0,i.jsx)(s.h3,{id:"with-angular-signals",children:"With Angular Signals"}),"\n",(0,i.jsxs)(s.p,{children:["Angular Signals are a newer approach for reactivity. RxDB supports them via a ",(0,i.jsx)(s.a,{href:"/reactivity.html",children:"custom reactivity"})," factory. You can convert RxJS Observables to Signals using Angular's ",(0,i.jsx)(s.code,{children:"toSignal"}),":"]}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { RxReactivityFactory } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/core'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { Signal"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" untracked"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" Injector } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" '@angular/core'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { toSignal } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" '@angular/core/rxjs-interop'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"export"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" function"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createReactivityFactory"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(injector"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" Injector"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:")"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" RxReactivityFactory"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"<"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"Signal"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"<"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"any"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:">> {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" fromObservable"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(observable$"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" initialValue) {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" untracked"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(() "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" toSignal"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(observable$"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" initialValue"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" injector"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" rejectErrors"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" true"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" })"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" );"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" };"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"}"})})]})})}),"\n",(0,i.jsxs)(s.p,{children:["Pass this factory when creating your ",(0,i.jsx)(s.a,{href:"/rx-database.html",children:"RxDatabase"}),":"]}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { createRxDatabase } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/core'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { getRxStorageLocalstorage } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/storage-localstorage'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { inject"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" Injector } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" '@angular/core'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" database"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'mydb'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageLocalstorage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"()"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" reactivity"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createReactivityFactory"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"inject"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(Injector))"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,i.jsxs)(s.p,{children:["Use the double-dollar sign (",(0,i.jsx)(s.code,{children:"$$"}),") to get a ",(0,i.jsx)(s.code,{children:"Signal"})," instead of an ",(0,i.jsx)(s.code,{children:"Observable"}),":"]}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsx)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" heroesSignal"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" database"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"heroes"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".find"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"().$$;"})]})})})}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"html","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"html","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"<"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"ul"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:">"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" <"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"li"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" *ngFor"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:'"let hero of heroesSignal()"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:">"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {{ hero.name }}"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"li"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:">"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:""}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"ul"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:">"})]})]})})}),"\n",(0,i.jsx)(s.h2,{id:"angular-indexeddb-example-with-rxdb",children:"Angular IndexedDB Example with RxDB"}),"\n",(0,i.jsxs)(s.p,{children:["A comprehensive example of RxDB in an Angular application is available in the ",(0,i.jsx)(s.a,{href:"https://github.com/pubkey/rxdb/tree/master/examples/angular",children:"RxDB GitHub repository"}),". It demonstrates ",(0,i.jsx)(s.a,{href:"/articles/angular-database.html",children:"database"})," creation, queries, and Angular integration using best practices."]}),"\n",(0,i.jsx)(s.h2,{id:"advanced-rxdb-features",children:"Advanced RxDB Features"}),"\n",(0,i.jsx)(s.p,{children:"Beyond simple CRUD and local data storage, RxDB supports:"}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:["\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.strong,{children:"Replication"}),": Sync your local data with a remote database. Learn more at ",(0,i.jsx)(s.a,{href:"https://rxdb.info/replication.html",children:"RxDB Replication"}),"."]}),"\n"]}),"\n",(0,i.jsxs)(s.li,{children:["\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.strong,{children:"Data Migration on Schema Changes"}),": RxDB supports automatic or manual schema migrations to manage backward-compatibility and evolve your data structure. See ",(0,i.jsx)(s.a,{href:"https://rxdb.info/migration-schema.html",children:"RxDB Migration"}),"."]}),"\n"]}),"\n",(0,i.jsxs)(s.li,{children:["\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.strong,{children:"Encryption"}),": Easily encrypt sensitive data at rest. See ",(0,i.jsx)(s.a,{href:"https://rxdb.info/encryption.html",children:"RxDB Encryption"}),"."]}),"\n"]}),"\n",(0,i.jsxs)(s.li,{children:["\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.strong,{children:"Compression"}),": Reduce storage and bandwidth usage using key compression. Learn more at ",(0,i.jsx)(s.a,{href:"https://rxdb.info/key-compression.html",children:"RxDB Key Compression"}),"."]}),"\n"]}),"\n"]}),"\n",(0,i.jsx)(s.h2,{id:"limitations-of-indexeddb",children:"Limitations of IndexedDB"}),"\n",(0,i.jsx)(s.p,{children:"While IndexedDB works well for many use cases, it does have a few constraints:"}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:["\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.strong,{children:"Potentially Slow"}),": While adequate for most use cases, IndexedDB performance can degrade for very large datasets. More details at RxDB ",(0,i.jsx)(s.a,{href:"/slow-indexeddb.html",children:"Slow IndexedDB"}),"."]}),"\n"]}),"\n",(0,i.jsxs)(s.li,{children:["\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.strong,{children:"Storage Limits"}),": Browsers may cap the amount of data you can store in IndexedDB. For more info, see ",(0,i.jsx)(s.a,{href:"/articles/indexeddb-max-storage-limit.html",children:"Local Storage Limits of IndexedDB"}),"."]}),"\n"]}),"\n"]}),"\n",(0,i.jsx)(s.h2,{id:"alternatives-to-indexeddb",children:"Alternatives to IndexedDB"}),"\n",(0,i.jsx)(s.p,{children:"Depending on your needs, you might explore:"}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:["\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.strong,{children:"Origin Private File System (OPFS)"}),": A newer browser storage mechanism that can offer better performance. RxDB supports ",(0,i.jsx)(s.a,{href:"/rx-storage-opfs.html",children:"OPFS storage"}),"."]}),"\n"]}),"\n",(0,i.jsxs)(s.li,{children:["\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.strong,{children:"SQLite"}),": When building a mobile or hybrid app (e.g., with ",(0,i.jsx)(s.a,{href:"/capacitor-database.html",children:"Capacitor"})," or ",(0,i.jsx)(s.a,{href:"/articles/ionic-database.html",children:"Ionic"}),"), you can use SQLite locally. See ",(0,i.jsx)(s.a,{href:"/rx-storage-sqlite.html",children:"RxDB with SQLite"}),"."]}),"\n"]}),"\n"]}),"\n",(0,i.jsx)(s.h2,{id:"performance-comparison-with-other-browser-storages",children:"Performance comparison with other browser storages"}),"\n",(0,i.jsxs)(s.p,{children:["Here is a ",(0,i.jsx)(s.a,{href:"/rx-storage-performance.html",children:"performance overview"})," of the various browser based storage implementation of RxDB:"]}),"\n",(0,i.jsx)("p",{align:"center",children:(0,i.jsx)("img",{src:"../files/rx-storage-performance-browser.png",alt:"RxStorage performance - browser",width:"700"})}),"\n",(0,i.jsx)(s.h2,{id:"follow-up",children:"Follow Up"}),"\n",(0,i.jsx)(s.p,{children:"Continue your deep dive into RxDB with official quickstart guides and star the repository on GitHub to stay updated."}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:["\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.strong,{children:"RxDB Quickstart"}),": Get started quickly with the ",(0,i.jsx)(s.a,{href:"/quickstart.html",children:"RxDB Quickstart"}),"."]}),"\n"]}),"\n",(0,i.jsxs)(s.li,{children:["\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.strong,{children:"RxDB GitHub"}),": Explore the source, open issues, and star \u2b50 the project at ",(0,i.jsx)(s.a,{href:"https://github.com/pubkey/rxdb",children:"RxDB GitHub Repo"}),"."]}),"\n"]}),"\n"]}),"\n",(0,i.jsx)(s.p,{children:"By combining IndexedDB's local storage with RxDB's powerful features, you can build performant, robust, and offline-capable Angular applications. RxDB takes care of the lower-level complexities, letting you focus on delivering a great user experience-online or off."})]})}function p(e={}){const{wrapper:s}={...(0,o.R)(),...e.components};return s?(0,i.jsx)(s,{...e,children:(0,i.jsx)(h,{...e})}):h(e)}},8453(e,s,n){n.d(s,{R:()=>a,x:()=>l});var r=n(6540);const i={},o=r.createContext(i);function a(e){const s=r.useContext(o);return r.useMemo(function(){return"function"==typeof e?e(s):{...s,...e}},[s,e])}function l(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:a(e.components),r.createElement(o.Provider,{value:s},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/6187b59a.746cfe2d.js b/docs/assets/js/6187b59a.746cfe2d.js
deleted file mode 100644
index 6c0aee00d1a..00000000000
--- a/docs/assets/js/6187b59a.746cfe2d.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[5866],{5640(e,s,r){r.r(s),r.d(s,{assets:()=>t,contentTitle:()=>l,default:()=>h,frontMatter:()=>a,metadata:()=>n,toc:()=>c});const n=JSON.parse('{"id":"rx-storage-worker","title":"Turbocharge RxDB with Worker RxStorage","description":"Offload RxDB queries to WebWorkers or Worker Threads, freeing the main thread and boosting performance. Experience smoother apps with Worker RxStorage.","source":"@site/docs/rx-storage-worker.md","sourceDirName":".","slug":"/rx-storage-worker.html","permalink":"/rx-storage-worker.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"Turbocharge RxDB with Worker RxStorage","slug":"rx-storage-worker.html","description":"Offload RxDB queries to WebWorkers or Worker Threads, freeing the main thread and boosting performance. Experience smoother apps with Worker RxStorage."},"sidebar":"tutorialSidebar","previous":{"title":"Remote RxStorage","permalink":"/rx-storage-remote.html"},"next":{"title":"SharedWorker RxStorage \ud83d\udc51","permalink":"/rx-storage-shared-worker.html"}}');var o=r(4848),i=r(8453);const a={title:"Turbocharge RxDB with Worker RxStorage",slug:"rx-storage-worker.html",description:"Offload RxDB queries to WebWorkers or Worker Threads, freeing the main thread and boosting performance. Experience smoother apps with Worker RxStorage."},l="Worker RxStorage",t={},c=[{value:"On the worker process",id:"on-the-worker-process",level:2},{value:"On the main process",id:"on-the-main-process",level:2},{value:"Pre-build workers",id:"pre-build-workers",level:2},{value:"Building a custom worker",id:"building-a-custom-worker",level:2},{value:"One worker per database",id:"one-worker-per-database",level:2},{value:"Passing in a Worker instance",id:"passing-in-a-worker-instance",level:2}];function d(e){const s={a:"a",admonition:"admonition",code:"code",figure:"figure",h1:"h1",h2:"h2",header:"header",p:"p",pre:"pre",span:"span",...(0,i.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(s.header,{children:(0,o.jsx)(s.h1,{id:"worker-rxstorage",children:"Worker RxStorage"})}),"\n",(0,o.jsxs)(s.p,{children:["With the worker plugin, you can put the ",(0,o.jsx)(s.code,{children:"RxStorage"})," of your database inside of a WebWorker (in browsers) or a Worker Thread (in node.js). By doing so, you can take CPU load from the main process and move it into the worker's process which can improve the perceived performance of your application. Notice that for browsers, it is recommend to use the ",(0,o.jsx)(s.a,{href:"/rx-storage-shared-worker.html",children:"SharedWorker"})," instead to get a better performance."]}),"\n",(0,o.jsx)(s.admonition,{title:"Premium",type:"note",children:(0,o.jsxs)(s.p,{children:["This plugin is part of ",(0,o.jsx)(s.a,{href:"/premium/",children:"RxDB Premium \ud83d\udc51"}),". It is not part of the default RxDB module."]})}),"\n",(0,o.jsx)(s.h2,{id:"on-the-worker-process",children:"On the worker process"}),"\n",(0,o.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,o.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// worker.ts"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { exposeWorkerRxStorage } "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb-premium/plugins/storage-worker'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { getRxStorageIndexedDB } "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb-premium/plugins/storage-indexeddb'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"exposeWorkerRxStorage"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * You can wrap any implementation of the RxStorage interface"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * into a worker."})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * Here we use the IndexedDB RxStorage."})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageIndexedDB"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"()"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,o.jsx)(s.h2,{id:"on-the-main-process",children:"On the main process"}),"\n",(0,o.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,o.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" createRxDatabase"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { getRxStorageWorker } "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb-premium/plugins/storage-worker'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" database"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'mydatabase'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageWorker"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * Contains any value that can be used as parameter"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * to the Worker constructor of thread.js"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * Most likely you want to put the path to the worker.js file in here."})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * "})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"@link"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" https://developer.mozilla.org/en-US/docs/Web/API/Worker/Worker"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" workerInput"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'path/to/worker.js'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * (Optional) options"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * for the worker."})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" workerOptions"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'module'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" credentials"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'omit'"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" )"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,o.jsx)(s.h2,{id:"pre-build-workers",children:"Pre-build workers"}),"\n",(0,o.jsxs)(s.p,{children:["The ",(0,o.jsx)(s.code,{children:"worker.js"})," must be a self containing JavaScript file that contains all dependencies in a bundle.\nTo make it easier for you, RxDB ships with pre-bundles worker files that are ready to use.\nYou can find them in the folder ",(0,o.jsx)(s.code,{children:"node_modules/rxdb-premium/dist/workers"})," after you have installed the ",(0,o.jsx)(s.a,{href:"/premium/",children:"RxDB Premium \ud83d\udc51 Plugin"}),". From there you can copy them to a location where it can be served from the webserver and then use their path to create the ",(0,o.jsx)(s.code,{children:"RxDatabase"}),"."]}),"\n",(0,o.jsxs)(s.p,{children:["Any valid ",(0,o.jsx)(s.code,{children:"worker.js"})," JavaScript file can be used both, for normal Workers and SharedWorkers."]}),"\n",(0,o.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,o.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" createRxDatabase"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { getRxStorageWorker } "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb-premium/plugins/storage-worker'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" database"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'mydatabase'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageWorker"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * Path to where the copied file from node_modules/rxdb/dist/workers"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * is reachable from the webserver."})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" workerInput"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" '/indexeddb.worker.js'"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" )"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,o.jsx)(s.h2,{id:"building-a-custom-worker",children:"Building a custom worker"}),"\n",(0,o.jsxs)(s.p,{children:["The easiest way to bundle a custom ",(0,o.jsx)(s.code,{children:"worker.js"})," file is by using webpack. Here is the webpack-config that is also used for the prebuild workers:"]}),"\n",(0,o.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,o.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// webpack.config.js"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" path"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" require"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'path'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" TerserPlugin"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" require"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'terser-webpack-plugin'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" projectRootPath"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" path"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".resolve"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" __dirname"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" '../../'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // path from webpack-config to the root folder of the repo"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" babelConfig"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" require"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"path"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".join"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(projectRootPath"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'babel.config'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"));"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" baseDir"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" './dist/workers/'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"; "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// output path"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"module"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"."}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"exports"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" target"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'webworker'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" entry"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'my-custom-worker'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" baseDir "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"+"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'my-custom-worker.js'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" output"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" filename"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" '[name].js'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" clean"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" true"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" path"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" path"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".resolve"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" projectRootPath"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'dist/workers'"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" )"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" mode"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'production'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" module"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" rules"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ["})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" test"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" /\\.tsx"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"?$"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"/"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" exclude"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" /(node_modules)/"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" use"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" loader"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'babel-loader'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" options"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" babelConfig"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ]"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" resolve"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" extensions"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ["}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'.tsx'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" '.ts'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" '.js'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" '.mjs'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" '.mts'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"]"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" optimization"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" moduleIds"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'deterministic'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" minimize"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" true"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" minimizer"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ["}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"new"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" TerserPlugin"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" terserOptions"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" format"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" comments"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" false"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" extractComments"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" false"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" })]"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"};"})})]})})}),"\n",(0,o.jsx)(s.h2,{id:"one-worker-per-database",children:"One worker per database"}),"\n",(0,o.jsxs)(s.p,{children:["Each call to ",(0,o.jsx)(s.code,{children:"getRxStorageWorker()"})," will create a different worker instance so that when you have more than one ",(0,o.jsx)(s.code,{children:"RxDatabase"}),", each database will have its own JavaScript worker process."]}),"\n",(0,o.jsxs)(s.p,{children:["To reuse the worker instance in more than one ",(0,o.jsx)(s.code,{children:"RxDatabase"}),", you can store the output of ",(0,o.jsx)(s.code,{children:"getRxStorageWorker()"})," into a variable an use that one. Reusing the worker can decrease the initial page load, but you might get slower database operations."]}),"\n",(0,o.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,o.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// Call getRxStorageWorker() exactly once"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" workerStorage"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageWorker"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" workerInput"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'path/to/worker.js'"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// use the same storage for both databases."})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" databaseOne"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'database-one'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" workerStorage"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" databaseTwo"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'database-two'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" workerStorage"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:" "})]})})}),"\n",(0,o.jsx)(s.h2,{id:"passing-in-a-worker-instance",children:"Passing in a Worker instance"}),"\n",(0,o.jsxs)(s.p,{children:["Instead of setting an url as ",(0,o.jsx)(s.code,{children:"workerInput"}),", you can also specify a function that returns a new ",(0,o.jsx)(s.code,{children:"Worker"})," instance when called."]}),"\n",(0,o.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,o.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"getRxStorageWorker"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" workerInput"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" () "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" new"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" Worker"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'path/to/worker.js'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:")"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"})"})})]})})}),"\n",(0,o.jsxs)(s.p,{children:["This can be helpful for environments where the worker is build dynamically by the bundler. For example in angular you would create a ",(0,o.jsx)(s.code,{children:"my-custom.worker.ts"})," file that contains a custom build worker and then import it."]}),"\n",(0,o.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,o.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" storage"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageWorker"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" workerInput"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" () "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" new"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" Worker"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"new"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" URL"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'./my-custom.worker'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" import"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"."}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"meta"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".url))"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,o.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,o.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"//> my-custom.worker.ts"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { exposeWorkerRxStorage } "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb-premium/plugins/storage-worker'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { getRxStorageIndexedDB } "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb-premium/plugins/storage-indexeddb'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"exposeWorkerRxStorage"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageIndexedDB"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"()"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})})]})}function h(e={}){const{wrapper:s}={...(0,i.R)(),...e.components};return s?(0,o.jsx)(s,{...e,children:(0,o.jsx)(d,{...e})}):d(e)}},8453(e,s,r){r.d(s,{R:()=>a,x:()=>l});var n=r(6540);const o={},i=n.createContext(o);function a(e){const s=n.useContext(i);return n.useMemo(function(){return"function"==typeof e?e(s):{...s,...e}},[s,e])}function l(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:a(e.components),n.createElement(i.Provider,{value:s},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/6672.9c7472fc.js b/docs/assets/js/6672.9c7472fc.js
deleted file mode 100644
index a4dd750bc95..00000000000
--- a/docs/assets/js/6672.9c7472fc.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[4291,6672],{4291(e,t,r){r.r(t),r.d(t,{getDatabase:()=>wa,hasIndexedDB:()=>ba});var a=r(7329);function n(e,t){var r=e.get(t);if(void 0===r)throw new Error("missing value from map "+t);return r}function i(e,t,r,a){var n=e.get(t);return void 0===n?(n=r(),e.set(t,n)):a&&a(n),n}function s(e){return Object.assign({},e)}function o(e,t=!1){if(!e)return e;if(!t&&Array.isArray(e))return e.sort((e,t)=>"string"==typeof e&&"string"==typeof t?e.localeCompare(t):"object"==typeof e?1:-1).map(e=>o(e,t));if("object"==typeof e&&!Array.isArray(e)){var r={};return Object.keys(e).sort((e,t)=>e.localeCompare(t)).forEach(a=>{r[a]=o(e[a],t)}),r}return e}var c=function e(t){if(!t)return t;if(null===t||"object"!=typeof t)return t;if(Array.isArray(t)){for(var r=new Array(t.length),a=r.length;a--;)r[a]=e(t[a]);return r}var n={};for(var i in t)n[i]=e(t[i]);return n};function u(e,t,r){return Object.defineProperty(e,t,{get:function(){return r}}),r}var h=e=>{var t=typeof e;return null!==e&&("object"===t||"function"===t)},l=new Set(["__proto__","prototype","constructor"]),d=new Set("0123456789");function m(e){var t=[],r="",a="start",n=!1;for(var i of e)switch(i){case"\\":if("index"===a)throw new Error("Invalid character in an index");if("indexEnd"===a)throw new Error("Invalid character after an index");n&&(r+=i),a="property",n=!n;break;case".":if("index"===a)throw new Error("Invalid character in an index");if("indexEnd"===a){a="property";break}if(n){n=!1,r+=i;break}if(l.has(r))return[];t.push(r),r="",a="property";break;case"[":if("index"===a)throw new Error("Invalid character in an index");if("indexEnd"===a){a="index";break}if(n){n=!1,r+=i;break}if("property"===a){if(l.has(r))return[];t.push(r),r=""}a="index";break;case"]":if("index"===a){t.push(Number.parseInt(r,10)),r="",a="indexEnd";break}if("indexEnd"===a)throw new Error("Invalid character after an index");default:if("index"===a&&!d.has(i))throw new Error("Invalid character in an index");if("indexEnd"===a)throw new Error("Invalid character after an index");"start"===a&&(a="property"),n&&(n=!1,r+="\\"),r+=i}switch(n&&(r+="\\"),a){case"property":if(l.has(r))return[];t.push(r);break;case"index":throw new Error("Index was not closed");case"start":t.push("")}return t}function f(e,t){if("number"!=typeof t&&Array.isArray(e)){var r=Number.parseInt(t,10);return Number.isInteger(r)&&e[r]===e[t]}return!1}function p(e,t){if(f(e,t))throw new Error("Cannot use string index")}function v(e,t,r){if(Array.isArray(t)&&(t=t.join(".")),!t.includes(".")&&!t.includes("["))return e[t];if(!h(e)||"string"!=typeof t)return void 0===r?e:r;var a=m(t);if(0===a.length)return r;for(var n=0;n!1,deepFreezeWhenDevMode:e=>e,tunnelErrorMessage:e=>"\n RxDB Error-Code: "+e+".\n Hint: Error messages are not included in RxDB core to reduce build size.\n To show the full error messages and to ensure that you do not make any mistakes when using RxDB,\n use the dev-mode plugin when you are in development mode: https://rxdb.info/dev-mode.html?console=error\n "};function _(e,t,r){return"\n"+e+"\n"+function(e){var t="";return 0===Object.keys(e).length?t:(t+="-".repeat(20)+"\n",t+="Parameters:\n",t+=Object.keys(e).map(t=>{var r="[object Object]";try{r="errors"===t?e[t].map(e=>JSON.stringify(e,Object.getOwnPropertyNames(e))):JSON.stringify(e[t],function(e,t){return void 0===t?null:t},2)}catch(a){}return t+": "+r}).join("\n"),t+="\n")}(r)}var k=function(e){function t(t,r,a={}){var n,i=_(r,0,a);return(n=e.call(this,i)||this).code=t,n.message=i,n.url=E(t),n.parameters=a,n.rxdb=!0,n}return(0,w.A)(t,e),t.prototype.toString=function(){return this.message},(0,b.A)(t,[{key:"name",get:function(){return"RxError ("+this.code+")"}},{key:"typeError",get:function(){return!1}}])}((0,D.A)(Error)),I=function(e){function t(t,r,a={}){var n,i=_(r,0,a);return(n=e.call(this,i)||this).code=t,n.message=i,n.url=E(t),n.parameters=a,n.rxdb=!0,n}return(0,w.A)(t,e),t.prototype.toString=function(){return this.message},(0,b.A)(t,[{key:"name",get:function(){return"RxTypeError ("+this.code+")"}},{key:"typeError",get:function(){return!0}}])}((0,D.A)(TypeError));function E(e){return"https://rxdb.info/errors.html?console=errors#"+e}function C(e){return"\nFind out more about this error here: "+E(e)+" \n"}function R(e,t){return new k(e,x.tunnelErrorMessage(e)+C(e),t)}function O(e,t){return new I(e,x.tunnelErrorMessage(e)+C(e),t)}function S(e){return!(!e||409!==e.status)&&e}var j={409:"document write conflict",422:"schema validation error",510:"attachment data missing"};function P(e){return R("COL20",{name:j[e.status],document:e.documentId,writeError:e})}var $=/\./g,N=r(8342);function B(e,t){var r=t;return r="properties."+(r=r.replace($,".properties.")),v(e,r=(0,N.L$)(r))}function M(e){return"string"==typeof e?e:e.key}function A(e,t){if("string"==typeof e.primaryKey)return t[e.primaryKey];var r=e.primaryKey;return r.fields.map(e=>{var r=v(t,e);if(void 0===r)throw R("DOC18",{args:{field:e,documentData:t}});return r}).join(r.separator)}function q(e){var t=M((e=s(e)).primaryKey);e.properties=s(e.properties),e.additionalProperties=!1,Object.prototype.hasOwnProperty.call(e,"keyCompression")||(e.keyCompression=!1),e.indexes=e.indexes?e.indexes.slice(0):[],e.required=e.required?e.required.slice(0):[],e.encrypted=e.encrypted?e.encrypted.slice(0):[],e.properties._rev={type:"string",minLength:1},e.properties._attachments={type:"object"},e.properties._deleted={type:"boolean"},e.properties._meta=T,e.required=e.required?e.required.slice(0):[],e.required.push("_deleted"),e.required.push("_rev"),e.required.push("_meta"),e.required.push("_attachments"),e.required.push(t),e.required=e.required.filter(e=>!e.includes(".")).filter((e,t,r)=>r.indexOf(e)===t),e.version=e.version||0;var r=e.indexes.map(e=>{var r=(0,g.k_)(e)?e.slice(0):[e];return r.includes(t)||r.push(t),"_deleted"!==r[0]&&r.unshift("_deleted"),r});0===r.length&&r.push(function(e){return["_deleted",e]}(t)),r.push(["_meta.lwt",t]),e.internalIndexes&&e.internalIndexes.map(e=>{r.push(e)});var a=new Set;return r.filter(e=>{var t=e.join(",");return!a.has(t)&&(a.add(t),!0)}),e.indexes=r,e}var T={type:"object",properties:{lwt:{type:"number",minimum:1,maximum:1e15,multipleOf:.01}},additionalProperties:!0,required:["lwt"]};var L="docs",Q="changes",W="attachments",F="dexie",H=new Map,K=new Map;var z="__";function Z(e){var t=e.split(".");if(t.length>1)return t.map(e=>Z(e)).join(".");if(e.startsWith("|")){var r=e.substring(1);return z+r}return e}function U(e){var t=e.split(".");return t.length>1?t.map(e=>U(e)).join("."):e.startsWith(z)?"|"+e.substring(2):e}function V(e,t){if(!t)return t;var r=s(t);return r=G(r),e.forEach(e=>{var a=v(t,e)?"1":"0",n=Z(e);y(r,n,a)}),r}function J(e,t){return t?(t=X(t=s(t)),e.forEach(e=>{var r=v(t,e);y(t,e,"1"===r)}),t):t}function G(e){if(!e||"string"==typeof e||"number"==typeof e||"boolean"==typeof e)return e;if(Array.isArray(e))return e.map(e=>G(e));if("object"==typeof e){var t={};return Object.entries(e).forEach(([e,r])=>{"object"==typeof r&&(r=G(r)),t[Z(e)]=r}),t}}function X(e){if(!e||"string"==typeof e||"number"==typeof e||"boolean"==typeof e)return e;if(Array.isArray(e))return e.map(e=>X(e));if("object"==typeof e){var t={};return Object.entries(e).forEach(([r,a])=>{("object"==typeof a||Array.isArray(e))&&(a=X(a)),t[U(r)]=a}),t}}function Y(e){var t=[],r=M(e.primaryKey);t.push([r]),t.push(["_deleted",r]),e.indexes&&e.indexes.forEach(e=>{var r=(0,g.$r)(e);t.push(r)}),t.push(["_meta.lwt",r]),t.push(["_meta.lwt"]);var a=(t=t.map(e=>e.map(e=>Z(e)))).map(e=>1===e.length?e[0]:"["+e.join("+")+"]");return(a=a.filter((e,t,r)=>r.indexOf(e)===t)).join(", ")}async function ee(e,t){var r=await e;return(await r.dexieTable.bulkGet(t)).map(e=>J(r.booleanIndexes,e))}function te(e,t){return e+"||"+t}function re(e){var t=new Set,r=[];return e.indexes?(e.indexes.forEach(a=>{(0,g.$r)(a).forEach(a=>{t.has(a)||(t.add(a),"boolean"===B(e,a).type&&r.push(a))})}),r.push("_deleted"),(0,g.jw)(r)):r}var ae=r(9092),ne=0;function ie(){var e=Date.now();(e+=.01)<=ne&&(e=ne+.01);var t=parseFloat(e.toFixed(2));return ne=t,t}var se,oe={};var ce=async function(e){var t=(new TextEncoder).encode(e),r=await function(){if(se)return se;if("undefined"==typeof crypto||void 0===crypto.subtle||"function"!=typeof crypto.subtle.digest)throw R("UT8",{args:{typeof_crypto:typeof crypto,typeof_crypto_subtle:typeof crypto?.subtle,typeof_crypto_subtle_digest:typeof crypto?.subtle?.digest}});return se=crypto.subtle.digest.bind(crypto.subtle)}()("SHA-256",t);return Array.prototype.map.call(new Uint8Array(r),e=>("00"+e.toString(16)).slice(-2)).join("")};var ue=r(4134),he=ue.Dr,le=!1;async function de(){return le?he:(le=!0,he=(async()=>!(!oe.premium||"string"!=typeof oe.premium||"6da4936d1425ff3a5c44c02342c6daf791d266be3ae8479b8ec59e261df41b93"!==await ce(oe.premium)))())}var me=r(3337),fe=String.fromCharCode(65535),pe=Number.MIN_SAFE_INTEGER;function ve(e,t){var r=t.selector,a=e.indexes?e.indexes.slice(0):[];t.index&&(a=[t.index]);var n=!!t.sort.find(e=>"desc"===Object.values(e)[0]),i=new Set;Object.keys(r).forEach(t=>{var a=B(e,t);a&&"boolean"===a.type&&Object.prototype.hasOwnProperty.call(r[t],"$eq")&&i.add(t)});var s,o=t.sort.map(e=>Object.keys(e)[0]).filter(e=>!i.has(e)).join(","),c=-1;if(a.forEach(e=>{var a=!0,u=!0,h=e.map(e=>{var t=r[e],n=t?Object.keys(t):[],i={};t&&n.length?n.forEach(e=>{if(ye.has(e)){var r=function(e,t){switch(e){case"$eq":return{startKey:t,endKey:t,inclusiveEnd:!0,inclusiveStart:!0};case"$lte":return{endKey:t,inclusiveEnd:!0};case"$gte":return{startKey:t,inclusiveStart:!0};case"$lt":return{endKey:t,inclusiveEnd:!1};case"$gt":return{startKey:t,inclusiveStart:!1};default:throw new Error("SNH")}}(e,t[e]);i=Object.assign(i,r)}}):i={startKey:u?pe:fe,endKey:a?fe:pe,inclusiveStart:!0,inclusiveEnd:!0};return void 0===i.startKey&&(i.startKey=pe),void 0===i.endKey&&(i.endKey=fe),void 0===i.inclusiveStart&&(i.inclusiveStart=!0),void 0===i.inclusiveEnd&&(i.inclusiveEnd=!0),u&&!i.inclusiveStart&&(u=!1),a&&!i.inclusiveEnd&&(a=!1),i}),l=h.map(e=>e.startKey),d=h.map(e=>e.endKey),m={index:e,startKeys:l,endKeys:d,inclusiveEnd:a,inclusiveStart:u,sortSatisfiedByIndex:!n&&o===e.filter(e=>!i.has(e)).join(","),selectorSatisfiedByIndex:we(e,t.selector,l,d)},f=function(e,t,r){var a=0,n=e=>{e>0&&(a+=e)},i=10,s=(0,g.Sd)(r.startKeys,e=>e!==pe&&e!==fe);n(s*i);var o=(0,g.Sd)(r.startKeys,e=>e!==fe&&e!==pe);n(o*i);var c=(0,g.Sd)(r.startKeys,(e,t)=>e===r.endKeys[t]);n(c*i*1.5);var u=r.sortSatisfiedByIndex?5:0;return n(u),a}(0,0,m);(f>=c||t.index)&&(c=f,s=m)}),!s)throw R("SNH",{query:t});return s}var ye=new Set(["$eq","$gt","$gte","$lt","$lte"]),ge=new Set(["$eq","$gt","$gte"]),be=new Set(["$eq","$lt","$lte"]);function we(e,t,r,a){var n=Object.entries(t).find(([t,r])=>!e.includes(t)||Object.entries(r).find(([e,t])=>!ye.has(e)));if(n)return!1;if(t.$and||t.$or)return!1;var i=[],s=new Set;for(var[o,c]of Object.entries(t)){if(!e.includes(o))return!1;var u=Object.keys(c).filter(e=>ge.has(e));if(u.length>1)return!1;var h=u[0];if(h&&s.add(o),"$eq"!==h){if(i.length>0)return!1;i.push(h)}}var l=[],d=new Set;for(var[m,f]of Object.entries(t)){if(!e.includes(m))return!1;var p=Object.keys(f).filter(e=>be.has(e));if(p.length>1)return!1;var v=p[0];if(v&&d.add(m),"$eq"!==v){if(l.length>0)return!1;l.push(v)}}var y=0;for(var g of e){for(var b of[s,d]){if(!b.has(g)&&b.size>0)return!1;b.delete(g)}if(r[y]!==a[y]&&s.size>0&&d.size>0)return!1;y++}return!0}var De,xe=r(2235),_e=r(4953),ke=r(1621),Ie=r(4192),Ee=r(695),Ce=r(2830),Re=r(2080),Oe=r(175),Se=r(8259),je=r(5912),Pe=r(6729),$e=r(6529),Ne=r(2226),Be=r(3697),Me=r(558),Ae=r(2583),qe=r(9283),Te=r(5629),Le=r(4612),Qe=r(5805),We=r(3587),Fe=r(1401),He=r(7531),Ke=!1;function ze(e){return Ke||(De=_e.ob.init({pipeline:{$sort:Ie.x,$project:Ee.C},query:{$elemMatch:Ce.J,$eq:Re.X,$nor:Oe.q,$exists:Se.P,$regex:je.W,$and:Pe.a,$gt:$e.M,$gte:Ne.f,$in:Be.o,$lt:Me.N,$lte:Ae.Q,$ne:qe.C,$nin:Te.G,$mod:Le.P,$not:Qe.E,$or:We.s,$size:Fe.I,$type:He.T}}),Ke=!0),new ke.X(e,{context:De})}function Ze(e,t){var r=M(e.primaryKey);t=s(t);var a=c(t);if("number"!=typeof a.skip&&(a.skip=0),a.selector?(a.selector=a.selector,Object.entries(a.selector).forEach(([e,t])=>{"object"==typeof t&&null!==t||(a.selector[e]={$eq:t})})):a.selector={},a.index){var n=(0,g.$r)(a.index);n.includes(r)||n.push(r),a.index=n}if(a.sort)a.sort.find(e=>{return t=e,Object.keys(t)[0]===r;var t})||(a.sort=a.sort.slice(0),a.sort.push({[r]:"asc"}));else if(a.index)a.sort=a.index.map(e=>({[e]:"asc"}));else{if(e.indexes){var i=new Set;Object.entries(a.selector).forEach(([e,t])=>{("object"!=typeof t||null===t||!!Object.keys(t).find(e=>ye.has(e)))&&i.add(e)});var o,u=-1;e.indexes.forEach(e=>{var t=(0,g.k_)(e)?e:[e],r=t.findIndex(e=>!i.has(e));r>0&&r>u&&(u=r,o=t)}),o&&(a.sort=o.map(e=>({[e]:"asc"})))}if(!a.sort)if(e.indexes&&e.indexes.length>0){var h=e.indexes[0],l=(0,g.k_)(h)?h:[h];a.sort=l.map(e=>({[e]:"asc"}))}else a.sort=[{[r]:"asc"}]}return a}function Ue(e,t){if(!t.sort)throw R("SNH",{query:t});var r=[];t.sort.forEach(e=>{var t,a,n,i=Object.keys(e)[0],s=Object.values(e)[0];r.push({key:i,direction:s,getValueFn:(t=i,a=t.split("."),n=a.length,1===n?e=>e[t]:e=>{for(var t=e,r=0;r{for(var a=0;ar.test(e)}async function Je(e,t){var r=await e.exec();return r?Array.isArray(r)?Promise.all(r.map(e=>t(e))):r instanceof Map?Promise.all([...r.values()].map(e=>t(e))):await t(r):null}function Ge(e,t){if(!t.sort)throw R("SNH",{query:t});return{query:t,queryPlan:ve(e,t)}}function Xe(e){return e===pe?-1/0:e}function Ye(e,t,r){return e.includes(t)?r===fe||!0===r?"1":"0":r}function et(e,t,r){if(!r){if("undefined"==typeof window)throw new Error("IDBKeyRange missing");r=window.IDBKeyRange}var a=t.startKeys.map((r,a)=>{var n=t.index[a];return Ye(e,n,r)}).map(Xe),n=t.endKeys.map((r,a)=>{var n=t.index[a];return Ye(e,n,r)}).map(Xe);return r.bound(a,n,!t.inclusiveStart,!t.inclusiveEnd)}async function tt(e,t){var r=await e.internals,a=t.query,n=a.skip?a.skip:0,i=n+(a.limit?a.limit:1/0),s=t.queryPlan,o=!1;s.selectorSatisfiedByIndex||(o=Ve(e.schema,t.query));var c=et(r.booleanIndexes,s,r.dexieDb._options.IDBKeyRange),u=s.index,h=[];if(await r.dexieDb.transaction("r",r.dexieTable,async e=>{var t,a=e.idbtrans.objectStore(L);t="["+u.map(e=>Z(e)).join("+")+"]";var n=a.index(t).openCursor(c);await new Promise(e=>{n.onsuccess=function(t){var a=t.target.result;if(a){var n=J(r.booleanIndexes,a.value);o&&!o(n)||h.push(n),s.sortSatisfiedByIndex&&h.length===i?e():a.continue()}else e()}})}),!s.sortSatisfiedByIndex){var l=Ue(e.schema,t.query);h=h.sort(l)}return{documents:h=h.slice(n,i)}}function rt(e){for(var t="",r=0;r0&&nt[e].forEach(e=>e(t))}async function st(e,t){for(var r of nt[e])await r(t)}async function ot(e,t){var r=(await e.findDocumentsById([t],!1))[0];return r||void 0}async function ct(e,t,r){var a=await e.bulkWrite([t],r);if(a.error.length>0)throw a.error[0];return vt(M(e.schema.primaryKey),[t],a)[0]}function ut(e,t,r,a){if(a)throw 409===a.status?R("CONFLICT",{collection:e.name,id:t,writeError:a,data:r}):422===a.status?R("VD2",{collection:e.name,id:t,writeError:a,data:r}):a}function ht(e){return{previous:e.previous,document:lt(e.document)}}function lt(e){if(!e._attachments||0===Object.keys(e._attachments).length)return e;var t=s(e);return t._attachments={},Object.entries(e._attachments).forEach(([e,r])=>{var a,n,i;t._attachments[e]=(i=(a=r).data)?{length:(n=i,atob(n).length),digest:a.digest,type:a.type}:a}),t}function dt(e){return Object.assign({},e,{_meta:s(e._meta)})}function mt(e,t,r){x.deepFreezeWhenDevMode(r);var a=M(t.schema.primaryKey),n={originalStorageInstance:t,schema:t.schema,internals:t.internals,collectionName:t.collectionName,databaseName:t.databaseName,options:t.options,async bulkWrite(r,n){for(var i=e.token,s=new Array(r.length),o=ie(),c=0;ct.bulkWrite(s,n)),m={error:[]};ft.set(m,s);var f=0===d.error.length?[]:d.error.filter(e=>!(409!==e.status||e.writeRow.previous||e.writeRow.document._deleted||!(0,me.ZN)(e.documentInDb)._deleted)||(m.error.push(e),!1));if(f.length>0){var p=new Set,v=f.map(t=>(p.add(t.documentId),{previous:t.documentInDb,document:Object.assign({},t.writeRow.document,{_rev:at(e.token,t.documentInDb)})})),y=await e.lockedRun(()=>t.bulkWrite(v,n));m.error=m.error.concat(y.error);var g=vt(a,s,m,p),b=vt(a,v,y);return g.push(...b),m}return m},query:r=>e.lockedRun(()=>t.query(r)),count:r=>e.lockedRun(()=>t.count(r)),findDocumentsById:(r,a)=>e.lockedRun(()=>t.findDocumentsById(r,a)),getAttachmentData:(r,a,n)=>e.lockedRun(()=>t.getAttachmentData(r,a,n)),getChangedDocumentsSince:t.getChangedDocumentsSince?(r,a)=>e.lockedRun(()=>t.getChangedDocumentsSince((0,me.ZN)(r),a)):void 0,cleanup:r=>e.lockedRun(()=>t.cleanup(r)),remove:()=>(e.storageInstances.delete(n),e.lockedRun(()=>t.remove())),close:()=>(e.storageInstances.delete(n),e.lockedRun(()=>t.close())),changeStream:()=>t.changeStream()};return e.storageInstances.add(n),n}var ft=new WeakMap,pt=new WeakMap;function vt(e,t,r,a){return i(pt,r,()=>{var n=[],i=ft.get(r);if(i||(i=t),r.error.length>0||a){for(var s=a||new Set,o=0;o{r.storageName===e&&r.databaseName===t.databaseName&&r.collectionName===t.collectionName&&r.version===t.schema.version&&i.next(r.eventBulk)};n.addEventListener("message",s);var o=r.changeStream(),c=!1,u=o.subscribe(r=>{c||n.postMessage({storageName:e,databaseName:t.databaseName,collectionName:t.collectionName,version:t.schema.version,eventBulk:r})});r.changeStream=function(){return i.asObservable().pipe((0,yt.X)(o))};var h=r.close.bind(r);r.close=async function(){return c=!0,u.unsubscribe(),n.removeEventListener("message",s),a||await wt(t.databaseInstanceToken,r),h()};var l=r.remove.bind(r);r.remove=async function(){return c=!0,u.unsubscribe(),n.removeEventListener("message",s),a||await wt(t.databaseInstanceToken,r),l()}}}var xt=ie(),_t=!1,kt=function(){function e(e,t,r,a,n,i,s,o){this.changes$=new ae.B,this.instanceId=xt++,this.storage=e,this.databaseName=t,this.collectionName=r,this.schema=a,this.internals=n,this.options=i,this.settings=s,this.devMode=o,this.primaryPath=M(this.schema.primaryKey)}var t=e.prototype;return t.bulkWrite=async function(e,t){Et(this),_t||await de()||console.warn(["-------------- RxDB Open Core RxStorage -------------------------------","You are using the free Dexie.js based RxStorage implementation from RxDB https://rxdb.info/rx-storage-dexie.html?console=dexie ","While this is a great option, we want to let you know that there are faster storage solutions available in our premium plugins.","For professional users and production environments, we highly recommend considering these premium options to enhance performance and reliability."," https://rxdb.info/premium/?console=dexie ","If you already purchased premium access you can disable this log by calling the setPremiumFlag() function from rxdb-premium/plugins/shared.","---------------------------------------------------------------------"].join("\n")),_t=!0,e.forEach(e=>{if(!e.document._rev||e.previous&&!e.previous._rev)throw R("SNH",{args:{row:e}})});var r=await this.internals,a={error:[]};this.devMode&&(e=e.map(e=>{var t=dt(e.document);return{previous:e.previous,document:t}}));var n,i=e.map(e=>e.document[this.primaryPath]);if(await r.dexieDb.transaction("rw",r.dexieTable,r.dexieAttachmentsTable,async()=>{var s=new Map;(await ee(this.internals,i)).forEach(e=>{var t=e;return t&&s.set(t[this.primaryPath],t),t}),n=function(e,t,r,a,n,i,s){for(var o,c=!!e.schema.attachments,u=[],h=[],l=[],d={id:(0,N.zs)(10),events:[],checkpoint:null,context:n},m=d.events,f=[],p=[],v=[],y=r.size>0,g=a.length,b=function(){var e,d=a[w],g=d.document,b=d.previous,D=g[t],x=g._deleted,_=b&&b._deleted,k=void 0;if(y&&(k=r.get(D)),k){var I=k._rev;if(!b||b&&I!==b._rev){var E={isError:!0,status:409,documentId:D,writeRow:d,documentInDb:k,context:n};return l.push(E),1}var C=c?ht(d):d;c&&(x?b&&Object.keys(b._attachments).forEach(e=>{p.push({documentId:D,attachmentId:e,digest:(0,me.ZN)(b)._attachments[e].digest})}):(Object.entries(g._attachments).find(([t,r])=>((b?b._attachments[t]:void 0)||r.data||(e={documentId:D,documentInDb:k,isError:!0,status:510,writeRow:d,attachmentId:t,context:n}),!0)),e||Object.entries(g._attachments).forEach(([e,t])=>{var r=b?b._attachments[e]:void 0;if(r){var a=C.document._attachments[e].digest;t.data&&r.digest!==a&&v.push({documentId:D,attachmentId:e,attachmentData:t,digest:t.digest})}else f.push({documentId:D,attachmentId:e,attachmentData:t,digest:t.digest})}))),e?l.push(e):(c?(h.push(ht(C)),s&&s(g)):(h.push(C),s&&s(g)),o=C);var O=null,S=null,j=null;if(_&&!x)j="INSERT",O=c?lt(g):g;else if(!b||_||x){if(!x)throw R("SNH",{args:{writeRow:d}});j="DELETE",O=(0,me.ZN)(g),S=b}else j="UPDATE",O=c?lt(g):g,S=b;var P={documentId:D,documentData:O,previousDocumentData:S,operation:j};m.push(P)}else{var $=!!x;if(c&&Object.entries(g._attachments).forEach(([t,r])=>{r.data?f.push({documentId:D,attachmentId:t,attachmentData:r,digest:r.digest}):(e={documentId:D,isError:!0,status:510,writeRow:d,attachmentId:t,context:n},l.push(e))}),e||(c?(u.push(ht(d)),i&&i(g)):(u.push(d),i&&i(g)),o=d),!$){var N={documentId:D,operation:"INSERT",documentData:c?lt(g):g,previousDocumentData:c&&b?lt(b):b};m.push(N)}}},w=0;w{o.push(e.document)}),n.bulkUpdateDocs.forEach(e=>{o.push(e.document)}),(o=o.map(e=>V(r.booleanIndexes,e))).length>0&&await r.dexieTable.bulkPut(o);var c=[];n.attachmentsAdd.forEach(e=>{c.push({id:te(e.documentId,e.attachmentId),data:e.attachmentData.data})}),n.attachmentsUpdate.forEach(e=>{c.push({id:te(e.documentId,e.attachmentId),data:e.attachmentData.data})}),await r.dexieAttachmentsTable.bulkPut(c),await r.dexieAttachmentsTable.bulkDelete(n.attachmentsRemove.map(e=>te(e.documentId,e.attachmentId)))}),(n=(0,me.ZN)(n)).eventBulk.events.length>0){var s=(0,me.ZN)(n.newestRow).document;n.eventBulk.checkpoint={id:s[this.primaryPath],lwt:s._meta.lwt},this.changes$.next(n.eventBulk)}return a},t.findDocumentsById=async function(e,t){Et(this);var r=await this.internals,a=[];return await r.dexieDb.transaction("r",r.dexieTable,async()=>{(await ee(this.internals,e)).forEach(e=>{!e||e._deleted&&!t||a.push(e)})}),a},t.query=function(e){return Et(this),tt(this,e)},t.count=async function(e){if(e.queryPlan.selectorSatisfiedByIndex){var t=await async function(e,t){var r=await e.internals,a=t.queryPlan,n=a.index,i=et(r.booleanIndexes,a,r.dexieDb._options.IDBKeyRange),s=-1;return await r.dexieDb.transaction("r",r.dexieTable,async e=>{var t,r=e.idbtrans.objectStore(L);t="["+n.map(e=>Z(e)).join("+")+"]";var a=r.index(t).count(i);s=await new Promise((e,t)=>{a.onsuccess=function(){e(a.result)},a.onerror=e=>t(e)})}),s}(this,e);return{count:t,mode:"fast"}}return{count:(await tt(this,e)).documents.length,mode:"slow"}},t.changeStream=function(){return Et(this),this.changes$.asObservable()},t.cleanup=async function(e){Et(this);var t=await this.internals;return await t.dexieDb.transaction("rw",t.dexieTable,async()=>{var r=ie()-e,a=await t.dexieTable.where("_meta.lwt").below(r).toArray(),n=[];a.forEach(e=>{"1"===e._deleted&&n.push(e[this.primaryPath])}),await t.dexieTable.bulkDelete(n)}),!0},t.getAttachmentData=async function(e,t,r){Et(this);var a=await this.internals,n=te(e,t);return await a.dexieDb.transaction("r",a.dexieAttachmentsTable,async()=>{var r=await a.dexieAttachmentsTable.get(n);if(r)return r.data;throw new Error("attachment missing documentId: "+e+" attachmentId: "+t)})},t.remove=async function(){Et(this);var e=await this.internals;return await e.dexieTable.clear(),this.close()},t.close=function(){return this.closed||(this.closed=(async()=>{this.changes$.complete(),await async function(e){var t=await e,r=K.get(e)-1;0===r?(t.dexieDb.close(),K.delete(e)):K.set(e,r)}(this.internals)})()),this.closed},e}();async function It(e,t,r){var n=function(e,t,r,n){var o="rxdb-dexie-"+e+"--"+n.version+"--"+t,c=i(H,o,()=>{var e=(async()=>{var e=s(r);e.autoOpen=!1;var t=new a.cf(o,e);r.onCreate&&await r.onCreate(t,o);var i={[L]:Y(n),[Q]:"++sequence, id",[W]:"id"};return t.version(1).stores(i),await t.open(),{dexieDb:t,dexieTable:t[L],dexieAttachmentsTable:t[W],booleanIndexes:re(n)}})();return H.set(o,c),K.set(c,0),e});return c}(t.databaseName,t.collectionName,r,t.schema),o=new kt(e,t.databaseName,t.collectionName,t.schema,n,t.options,r,t.devMode);return await Dt(F,t,o),Promise.resolve(o)}function Et(e){if(e.closed)throw new Error("RxStorageInstanceDexie is closed "+e.databaseName+"-"+e.collectionName)}var Ct="17.0.0-beta.6",Rt=function(){function e(e){this.name=F,this.rxdbVersion=Ct,this.settings=e}return e.prototype.createStorageInstance=function(e){(function(e){if(e.schema.keyCompression)throw R("UT5",{args:{params:e}});if((t=e.schema).encrypted&&t.encrypted.length>0||t.attachments&&t.attachments.encrypted)throw R("UT6",{args:{params:e}});var t;if(e.schema.attachments&&e.schema.attachments.compression)throw R("UT7",{args:{params:e}})}(e),e.schema.indexes)&&e.schema.indexes.flat().filter(e=>!e.includes(".")).forEach(t=>{if(!e.schema.required||!e.schema.required.includes(t))throw R("DXE1",{field:t,schema:e.schema})});return It(this,e,this.settings)},e}();function Ot(e={}){return new Rt(e)}var St=r(686),jt=function(){function e(e,t){if(this.jsonSchema=e,this.hashFunction=t,this.indexes=function(e){return(e.indexes||[]).map(e=>(0,g.k_)(e)?e:[e])}(this.jsonSchema),this.primaryPath=M(this.jsonSchema.primaryKey),!e.properties[this.primaryPath].maxLength)throw R("SC39",{schema:e});this.finalFields=function(e){var t=Object.keys(e.properties).filter(t=>e.properties[t].final),r=M(e.primaryKey);return t.push(r),"string"!=typeof e.primaryKey&&e.primaryKey.fields.forEach(e=>t.push(e)),t}(this.jsonSchema)}var t=e.prototype;return t.validateChange=function(e,t){this.finalFields.forEach(r=>{if(!(0,St.b)(e[r],t[r]))throw R("DOC9",{dataBefore:e,dataAfter:t,fieldName:r,schema:this.jsonSchema})})},t.getDocumentPrototype=function(){var e={},t=B(this.jsonSchema,"");return Object.keys(t).forEach(t=>{var r=t;e.__defineGetter__(t,function(){if(this.get&&"function"==typeof this.get)return this.get(r)}),Object.defineProperty(e,t+"$",{get:function(){return this.get$(r)},enumerable:!1,configurable:!1}),Object.defineProperty(e,t+"$$",{get:function(){return this.get$$(r)},enumerable:!1,configurable:!1}),Object.defineProperty(e,t+"_",{get:function(){return this.populate(r)},enumerable:!1,configurable:!1})}),u(this,"getDocumentPrototype",()=>e),e},t.getPrimaryOfDocumentData=function(e){return A(this.jsonSchema,e)},(0,b.A)(e,[{key:"version",get:function(){return this.jsonSchema.version}},{key:"defaultValues",get:function(){var e={};return Object.entries(this.jsonSchema.properties).filter(([,e])=>Object.prototype.hasOwnProperty.call(e,"default")).forEach(([t,r])=>e[t]=r.default),u(this,"defaultValues",e)}},{key:"hash",get:function(){return u(this,"hash",this.hashFunction(JSON.stringify(this.jsonSchema)))}}])}();function Pt(e,t,r=!0){r&&it("preCreateRxSchema",e);var a=q(e);a=function(e){return o(e,!0)}(a),x.deepFreezeWhenDevMode(a);var n=new jt(a,t);return it("createRxSchema",n),n}var $t=r(7708),Nt=r(8146),Bt=r(3356),Mt=r(5520),At=r(8609);function qt(e){var t=e.split("-"),r="RxDB";return t.forEach(e=>{r+=(0,N.Z2)(e)}),r+="Plugin",new Error("You are using a function which must be overwritten by a plugin.\n You should either prevent the usage of this function or add the plugin via:\n import { "+r+" } from 'rxdb/plugins/"+e+"';\n addRxPlugin("+r+");\n ")}function Tt(e){return e.documentData?e.documentData:e.previousDocumentData}function Lt(e){switch(e.operation){case"INSERT":return{operation:e.operation,id:e.documentId,doc:e.documentData,previous:null};case"UPDATE":return{operation:e.operation,id:e.documentId,doc:x.deepFreezeWhenDevMode(e.documentData),previous:e.previousDocumentData?e.previousDocumentData:"UNKNOWN"};case"DELETE":return{operation:e.operation,id:e.documentId,doc:null,previous:e.previousDocumentData}}}var Qt=new Map;function Wt(e){return i(Qt,e,()=>{for(var t=new Array(e.events.length),r=e.events,a=e.collectionName,n=e.isLocal,i=x.deepFreezeWhenDevMode,s=0;s[]);return new Promise((r,n)=>{var i={lastKnownDocumentState:e,modifier:t,resolve:r,reject:n};(0,me.ZN)(a).push(i),this.triggerRun()})},t.triggerRun=async function(){if(!0!==this.isRunning&&0!==this.queueByDocId.size){this.isRunning=!0;var e=[],t=this.queueByDocId;this.queueByDocId=new Map,await Promise.all(Array.from(t.entries()).map(async([t,r])=>{var a,n,i,s=(a=r.map(e=>e.lastKnownDocumentState),n=a[0],i=rt(n._rev),a.forEach(e=>{var t=rt(e._rev);t>i&&(n=e,i=t)}),n),o=s;for(var u of r)try{o=await u.modifier(c(o))}catch(h){u.reject(h),u.reject=()=>{},u.resolve=()=>{}}try{await this.preWrite(o,s)}catch(h){return void r.forEach(e=>e.reject(h))}e.push({previous:s,document:o})}));var r=e.length>0?await this.storageInstance.bulkWrite(e,"incremental-write"):{error:[]};return await Promise.all(vt(this.primaryPath,e,r).map(e=>{var r=e[this.primaryPath];this.postWrite(e),n(t,r).forEach(t=>t.resolve(e))})),r.error.forEach(e=>{var r=e.documentId,a=n(t,r),s=S(e);if(s){var o=i(this.queueByDocId,r,()=>[]);a.reverse().forEach(e=>{e.lastKnownDocumentState=(0,me.ZN)(s.documentInDb),(0,me.ZN)(o).unshift(e)})}else{var c=P(e);a.forEach(e=>e.reject(c))}}),this.isRunning=!1,this.triggerRun()}},e}();function Ht(e){return async t=>{var r=function(e){return Object.assign({},e,{_meta:void 0,_deleted:void 0,_rev:void 0})}(t);r._deleted=t._deleted;var a=await e(r),n=Object.assign({},a,{_meta:t._meta,_attachments:t._attachments,_rev:t._rev,_deleted:void 0!==a._deleted?a._deleted:t._deleted});return void 0===n._deleted&&(n._deleted=!1),n}}var Kt={get primaryPath(){if(this.isInstanceOfRxDocument)return this.collection.schema.primaryPath},get primary(){var e=this;if(e.isInstanceOfRxDocument)return e._data[e.primaryPath]},get revision(){if(this.isInstanceOfRxDocument)return this._data._rev},get deleted$(){if(this.isInstanceOfRxDocument)return this.$.pipe((0,$t.T)(e=>e._data._deleted))},get deleted$$(){var e=this;return e.collection.database.getReactivityFactory().fromObservable(e.deleted$,e.getLatest().deleted,e.collection.database)},get deleted(){if(this.isInstanceOfRxDocument)return this._data._deleted},getLatest(){var e=this.collection._docCache.getLatestDocumentData(this.primary);return this.collection._docCache.getCachedRxDocument(e)},get $(){var e=this.primary;return this.collection.eventBulks$.pipe((0,Nt.p)(e=>!e.isLocal),(0,$t.T)(t=>t.events.find(t=>t.documentId===e)),(0,Nt.p)(e=>!!e),(0,$t.T)(e=>Tt((0,me.ZN)(e))),(0,Bt.Z)(this.collection._docCache.getLatestDocumentData(e)),(0,Mt.F)((e,t)=>e._rev===t._rev),(0,$t.T)(e=>this.collection._docCache.getCachedRxDocument(e)),(0,At.t)(me.bz))},get $$(){var e=this;return e.collection.database.getReactivityFactory().fromObservable(e.$,e.getLatest()._data,e.collection.database)},get$(e){if(x.isDevMode()){if(e.includes(".item."))throw R("DOC1",{path:e});if(e===this.primaryPath)throw R("DOC2");if(this.collection.schema.finalFields.includes(e))throw R("DOC3",{path:e});if(!B(this.collection.schema.jsonSchema,e))throw R("DOC4",{path:e})}return this.$.pipe((0,$t.T)(t=>v(t,e)),(0,Mt.F)())},get$$(e){var t=this.get$(e);return this.collection.database.getReactivityFactory().fromObservable(t,this.getLatest().get(e),this.collection.database)},populate(e){var t=B(this.collection.schema.jsonSchema,e),r=this.get(e);if(!r)return ue.$A;if(!t)throw R("DOC5",{path:e});if(!t.ref)throw R("DOC6",{path:e,schemaObj:t});var a=this.collection.database.collections[t.ref];if(!a)throw R("DOC7",{ref:t.ref,path:e,schemaObj:t});return"array"===t.type?a.findByIds(r).exec().then(e=>{var t=e.values();return Array.from(t)}):a.findOne(r).exec()},get(e){return Ut(this,e)},toJSON(e=!1){if(e)return x.deepFreezeWhenDevMode(this._data);var t=s(this._data);return delete t._rev,delete t._attachments,delete t._deleted,delete t._meta,x.deepFreezeWhenDevMode(t)},toMutableJSON(e=!1){return c(this.toJSON(e))},update(e){throw qt("update")},incrementalUpdate(e){throw qt("update")},updateCRDT(e){throw qt("crdt")},putAttachment(){throw qt("attachments")},putAttachmentBase64(){throw qt("attachments")},getAttachment(){throw qt("attachments")},allAttachments(){throw qt("attachments")},get allAttachments$(){throw qt("attachments")},async modify(e,t){var r=this._data,a=await Ht(e)(r);return this._saveData(a,r)},incrementalModify(e,t){return this.collection.incrementalWriteQueue.addWrite(this._data,Ht(e)).then(e=>this.collection._docCache.getCachedRxDocument(e))},patch(e){var t=this._data,r=c(t);return Object.entries(e).forEach(([e,t])=>{r[e]=t}),this._saveData(r,t)},incrementalPatch(e){return this.incrementalModify(t=>(Object.entries(e).forEach(([e,r])=>{t[e]=r}),t))},async _saveData(e,t){if(e=s(e),this._data._deleted)throw R("DOC11",{id:this.primary,document:this});await Zt(this.collection,e,t);var r=[{previous:t,document:e}],a=await this.collection.storageInstance.bulkWrite(r,"rx-document-save-data"),n=a.error[0];return ut(this.collection,this.primary,e,n),await this.collection._runHooks("post","save",e,this),this.collection._docCache.getCachedRxDocument(vt(this.collection.schema.primaryPath,r,a)[0])},async remove(){if(this.deleted)return Promise.reject(R("DOC13",{document:this,id:this.primary}));var e=await this.collection.bulkRemove([this]);if(e.error.length>0){var t=e.error[0];ut(this.collection,this.primary,this._data,t)}return e.success[0]},incrementalRemove(){return this.incrementalModify(async e=>(await this.collection._runHooks("pre","remove",e,this),e._deleted=!0,e)).then(async e=>(await this.collection._runHooks("post","remove",e._data,e),e))},close(){throw R("DOC14")}};function zt(e=Kt){var t=function(e,t){this.collection=e,this._data=t,this._propertyCache=new Map,this.isInstanceOfRxDocument=!0};return t.prototype=e,t}function Zt(e,t,r){return t._meta=Object.assign({},r._meta,t._meta),x.isDevMode()&&e.schema.validateChange(r,t),e._runHooks("pre","save",t,r)}function Ut(e,t){return i(e._propertyCache,t,()=>{var r=v(e._data,t);return"object"!=typeof r||null===r||Array.isArray(r)?x.deepFreezeWhenDevMode(r):new Proxy(s(r),{get(r,a){if("string"!=typeof a)return r[a];var n=a.charAt(a.length-1);if("$"===n){if(a.endsWith("$$")){var i=a.slice(0,-2);return e.get$$((0,N.L$)(t+"."+i))}var s=a.slice(0,-1);return e.get$((0,N.L$)(t+"."+s))}if("_"===n){var o=a.slice(0,-1);return e.populate((0,N.L$)(t+"."+o))}var c=r[a];return"number"==typeof c||"string"==typeof c||"boolean"==typeof c?c:Ut(e,(0,N.L$)(t+"."+a))}})})}var Vt=r(2198),Jt=r(4157),Gt=r(2442),Xt=r(6114);function Yt(e,t){return t.sort&&0!==t.sort.length?t.sort.map(e=>Object.keys(e)[0]):[e]}var er=new WeakMap;function tr(e,t){if(!e.collection.database.eventReduce)return{runFullQueryAgain:!0};for(var r=function(e){return i(er,e,()=>{var t=e.collection,r=Ze(t.storageInstance.schema,c(e.mangoQuery)),a=t.schema.primaryPath,n=Ue(t.schema.jsonSchema,r),i=Ve(t.schema.jsonSchema,r);return{primaryKey:e.collection.schema.primaryPath,skip:r.skip,limit:r.limit,sortFields:Yt(a,r),sortComparator:(t,r)=>{var a={docA:t,docB:r,rxQuery:e};return n(a.docA,a.docB)},queryMatcher:t=>i({doc:t,rxQuery:e}.doc)}})}(e),a=(0,me.ZN)(e._result).docsData.slice(0),n=(0,me.ZN)(e._result).docsDataMap,s=!1,o=[],u=0;u{var t={queryParams:r,changeEvent:e,previousResults:a,keyDocumentMap:n},i=(0,Xt.kC)(t);return"runFullQueryAgain"===i||("doNothing"!==i?(s=!0,(0,Xt.Cs)(i,r,e,a,n),!1):void 0)});return l?{runFullQueryAgain:!0}:{runFullQueryAgain:!1,changed:s,newResults:a}}var rr=function(){function e(){this._map=new Map}return e.prototype.getByQuery=function(e){var t=e.toString();return i(this._map,t,()=>e)},e}();function ar(e,t){t.uncached=!0;var r=t.toString();e._map.delete(r)}function nr(e){return e.refCount$.observers.length}var ir,sr,or=(ir=100,sr=3e4,(e,t)=>{if(!(t._map.size0||(0===i._lastEnsureEqual&&i._creationTimee._lastEnsureEqual-t._lastEnsureEqual).slice(0,s).forEach(e=>ar(t,e))}}),cr=new WeakSet;var ur=function(){function e(e,t,r){this.cacheItemByDocId=new Map,this.tasks=new Set,this.registry="function"==typeof FinalizationRegistry?new FinalizationRegistry(e=>{var t=e.docId,r=this.cacheItemByDocId.get(t);r&&(r[0].delete(e.revisionHeight+e.lwt+""),0===r[0].size&&this.cacheItemByDocId.delete(t))}):void 0,this.primaryPath=e,this.changes$=t,this.documentCreator=r,t.subscribe(e=>{this.tasks.add(()=>{for(var t=this.cacheItemByDocId,r=0;r{this.processTasks()})})}var t=e.prototype;return t.processTasks=function(){0!==this.tasks.size&&(Array.from(this.tasks).forEach(e=>e()),this.tasks.clear())},t.getLatestDocumentData=function(e){return this.processTasks(),n(this.cacheItemByDocId,e)[1]},t.getLatestDocumentDataIfExists=function(e){this.processTasks();var t=this.cacheItemByDocId.get(e);if(t)return t[1]},(0,b.A)(e,[{key:"getCachedRxDocuments",get:function(){return u(this,"getCachedRxDocuments",hr(this))}},{key:"getCachedRxDocument",get:function(){var e=hr(this);return u(this,"getCachedRxDocument",t=>e([t])[0])}}])}();function hr(e){var t=e.primaryPath,r=e.cacheItemByDocId,a=e.registry,n=x.deepFreezeWhenDevMode,i=e.documentCreator;return s=>{for(var o=new Array(s.length),c=[],u=0;u0&&a&&(e.tasks.add(()=>{for(var e=0;e{e.processTasks()})),o}}function lr(e,t){return(0,e.getCachedRxDocuments)(t)}var dr="function"==typeof WeakRef?function(e){return new WeakRef(e)}:function(e){return{deref:()=>e}};var mr=function(){function e(e,t,r){this.time=ie(),this.query=e,this.count=r,this.documents=lr(this.query.collection._docCache,t)}return e.prototype.getValue=function(e){var t=this.query.op;if("count"===t)return this.count;if("findOne"===t){var r=0===this.documents.length?null:this.documents[0];if(!r&&e)throw R("QU10",{collection:this.query.collection.name,query:this.query.mangoQuery,op:t});return r}return"findByIds"===t?this.docsMap:this.documents.slice(0)},(0,b.A)(e,[{key:"docsData",get:function(){return u(this,"docsData",this.documents.map(e=>e._data))}},{key:"docsDataMap",get:function(){var e=new Map;return this.documents.forEach(t=>{e.set(t.primary,t._data)}),u(this,"docsDataMap",e)}},{key:"docsMap",get:function(){for(var e=new Map,t=this.documents,r=0;r"string"!=typeof e))return r.$eq}return!1}(this.collection.schema.primaryPath,t)}var t=e.prototype;return t._setResultData=function(e){if(void 0===e)throw R("QU18",{database:this.collection.database.name,collection:this.collection.name});if("number"!=typeof e){e instanceof Map&&(e=Array.from(e.values()));var t=new mr(this,e,e.length);this._result=t}else this._result=new mr(this,[],e)},t._execOverDatabase=async function(){if(this._execOverDatabaseCount=this._execOverDatabaseCount+1,"count"===this.op){var e=this.getPreparedQuery(),t=await this.collection.storageInstance.count(e);if("slow"!==t.mode||this.collection.database.allowSlowCount)return{result:t.count,counter:this.collection._changeEventBuffer.getCounter()};throw R("QU14",{collection:this.collection,queryObj:this.mangoQuery})}if("findByIds"===this.op){var r=(0,me.ZN)(this.mangoQuery.selector)[this.collection.schema.primaryPath].$in,a=new Map,n=[];if(r.forEach(e=>{var t=this.collection._docCache.getLatestDocumentDataIfExists(e);if(t){if(!t._deleted){var r=this.collection._docCache.getCachedRxDocument(t);a.set(e,r)}}else n.push(e)}),n.length>0)(await this.collection.storageInstance.findDocumentsById(n,!1)).forEach(e=>{var t=this.collection._docCache.getCachedRxDocument(e);a.set(t.primary,t)});return{result:a,counter:this.collection._changeEventBuffer.getCounter()}}var i=await gr(this);return{result:i.docs,counter:i.counter}},t.exec=async function(e){if(e&&"findOne"!==this.op)throw R("QU9",{collection:this.collection.name,query:this.mangoQuery,op:this.op});return await yr(this),(0,me.ZN)(this._result).getValue(e)},t.toString=function(){var e=o({op:this.op,query:Ze(this.collection.schema.jsonSchema,this.mangoQuery),other:this.other},!0),t=JSON.stringify(e);return this.toString=()=>t,t},t.getPreparedQuery=function(){var e={rxQuery:this,mangoQuery:Ze(this.collection.schema.jsonSchema,this.mangoQuery)};e.mangoQuery.selector._deleted={$eq:!1},e.mangoQuery.index&&e.mangoQuery.index.unshift("_deleted"),it("prePrepareQuery",e);var t=Ge(this.collection.schema.jsonSchema,e.mangoQuery);return this.getPreparedQuery=()=>t,t},t.doesDocumentDataMatch=function(e){return!e._deleted&&this.queryMatcher(e)},t.remove=async function(){var e=await this.exec();if(Array.isArray(e)){var t=await this.collection.bulkRemove(e);if(t.error.length>0)throw P(t.error[0]);return t.success}return e.remove()},t.incrementalRemove=function(){return Je(this.asRxQuery,e=>e.incrementalRemove())},t.update=function(e){throw qt("update")},t.patch=function(e){return Je(this.asRxQuery,t=>t.patch(e))},t.incrementalPatch=function(e){return Je(this.asRxQuery,t=>t.incrementalPatch(e))},t.modify=function(e){return Je(this.asRxQuery,t=>t.modify(e))},t.incrementalModify=function(e){return Je(this.asRxQuery,t=>t.incrementalModify(e))},t.where=function(e){throw qt("query-builder")},t.sort=function(e){throw qt("query-builder")},t.skip=function(e){throw qt("query-builder")},t.limit=function(e){throw qt("query-builder")},(0,b.A)(e,[{key:"$",get:function(){if(!this._$){var e=this.collection.eventBulks$.pipe((0,Nt.p)(e=>!e.isLocal),(0,Bt.Z)(null),(0,Gt.Z)(()=>yr(this)),(0,$t.T)(()=>this._result),(0,At.t)(me.bz),(0,Mt.F)((e,t)=>!(!e||e.time!==(0,me.ZN)(t).time)),(0,Nt.p)(e=>!!e),(0,$t.T)(e=>(0,me.ZN)(e).getValue()));this._$=(0,Jt.h)(e,this.refCount$.pipe((0,Nt.p)(()=>!1)))}return this._$}},{key:"$$",get:function(){return this.collection.database.getReactivityFactory().fromObservable(this.$,void 0,this.collection.database)}},{key:"queryMatcher",get:function(){this.collection.schema.jsonSchema;return u(this,"queryMatcher",Ve(0,Ze(this.collection.schema.jsonSchema,this.mangoQuery)))}},{key:"asRxQuery",get:function(){return this}}])}();function vr(e,t,r,a){it("preCreateRxQuery",{op:e,queryObj:t,collection:r,other:a});var n,i,s=new pr(e,t,r,a);return s=(n=s).collection._queryCache.getByQuery(n),i=r,cr.has(i)||(cr.add(i),(0,ue.dY)().then(()=>(0,ue.Ve)(200)).then(()=>{i.closed||i.cacheReplacementPolicy(i,i._queryCache),cr.delete(i)})),s}async function yr(e){return e.collection.awaitBeforeReads.size>0&&await Promise.all(Array.from(e.collection.awaitBeforeReads).map(e=>e())),e._ensureEqualQueue=e._ensureEqualQueue.then(()=>function(e){if(e._lastEnsureEqual=ie(),e.collection.database.closed||function(e){var t=e.asRxQuery.collection._changeEventBuffer.getCounter();return e._latestChangeEvent>=t}(e))return ue.Dr;var t=!1,r=!1;-1===e._latestChangeEvent&&(r=!0);if(!r){var a=e.asRxQuery.collection._changeEventBuffer.getFrom(e._latestChangeEvent+1);if(null===a)r=!0;else{e._latestChangeEvent=e.asRxQuery.collection._changeEventBuffer.getCounter();var n=e.asRxQuery.collection._changeEventBuffer.reduceByLastOfDoc(a);if("count"===e.op){var i=(0,me.ZN)(e._result).count,s=i;n.forEach(t=>{var r=t.previousDocumentData&&e.doesDocumentDataMatch(t.previousDocumentData),a=e.doesDocumentDataMatch(t.documentData);!r&&a&&s++,r&&!a&&s--}),s!==i&&(t=!0,e._setResultData(s))}else{var o=tr(e,n);o.runFullQueryAgain?r=!0:o.changed&&(t=!0,e._setResultData(o.newResults))}}}if(r)return e._execOverDatabase().then(r=>{var a=r.result;return e._latestChangeEvent=r.counter,"number"==typeof a?(e._result&&a===e._result.count||(t=!0,e._setResultData(a)),t):(e._result&&function(e,t,r){if(t.length!==r.length)return!1;for(var a=0,n=t.length;a{a++});if(e.isFindOneByIdQuery)if(Array.isArray(e.isFindOneByIdQuery)){var i=e.isFindOneByIdQuery;if(i=i.filter(r=>{var a=e.collection._docCache.getLatestDocumentDataIfExists(r);return!a||(a._deleted||t.push(a),!1)}),i.length>0){var s=await r.storageInstance.findDocumentsById(i,!1);t=t.concat(s)}}else{var o=e.isFindOneByIdQuery,c=e.collection._docCache.getLatestDocumentDataIfExists(o);if(!c){var u=await r.storageInstance.findDocumentsById([o],!1);u[0]&&(c=u[0])}c&&!c._deleted&&t.push(c)}else{var h=e.getPreparedQuery(),l=await r.storageInstance.query(h);t=l.documents}return n.unsubscribe(),a>0?(await(0,ue.ND)(0),gr(e)):{docs:t,counter:r._changeEventBuffer.getCounter()}}var br="collection",wr="storage-token",Dr=q({version:0,title:"RxInternalDocument",primaryKey:{key:"id",fields:["context","key"],separator:"|"},type:"object",properties:{id:{type:"string",maxLength:200},key:{type:"string"},context:{type:"string",enum:[br,wr,"rx-migration-status","rx-pipeline-checkpoint","OTHER"]},data:{type:"object",additionalProperties:!0}},indexes:[],required:["key","context","data"],additionalProperties:!1,sharding:{shards:1,mode:"collection"}});function xr(e,t){return A(Dr,{key:e,context:t})}async function _r(e){var t=Ge(e.schema,{selector:{context:br,_deleted:{$eq:!1}},sort:[{id:"asc"}],skip:0});return(await e.query(t)).documents}var kr="storageToken",Ir=xr(kr,wr);function Er(e,t){return e+"-"+t.version}function Cr(e,t){return t=function(e,t){for(var r=Object.keys(e.defaultValues),a=0;ae.data.name===n),u=[];c.forEach(e=>{u.push({collectionName:e.data.name,schema:e.data.schema,isCollection:!0}),e.data.connectedStorages.forEach(e=>u.push({collectionName:e.collectionName,isCollection:!1,schema:e.schema}))});var h=new Set;if(u=u.filter(e=>{var t=e.collectionName+"||"+e.schema.version;return!h.has(t)&&(h.add(t),!0)}),await Promise.all(u.map(async t=>{var o=await e.createStorageInstance({collectionName:t.collectionName,databaseInstanceToken:r,databaseName:a,multiInstance:i,options:{},schema:t.schema,password:s,devMode:x.isDevMode()});await o.remove(),t.isCollection&&await st("postRemoveRxCollection",{storage:e,databaseName:a,collectionName:n})})),o){var l=c.map(e=>{var t=dt(e);return t._deleted=!0,t._meta.lwt=ie(),t._rev=at(r,e),{previous:e,document:t}});await t.bulkWrite(l,"rx-database-remove-collection-all")}}function Or(e){if(e.closed)throw R("COL21",{collection:e.name,version:e.schema.version})}var Sr=function(){function e(e){this.subs=[],this.counter=0,this.eventCounterMap=new WeakMap,this.buffer=[],this.limit=100,this.tasks=new Set,this.collection=e,this.subs.push(this.collection.eventBulks$.pipe((0,Nt.p)(e=>!e.isLocal)).subscribe(e=>{this.tasks.add(()=>this._handleChangeEvents(e.events)),this.tasks.size<=1&&(0,ue.vN)().then(()=>{this.processTasks()})}))}var t=e.prototype;return t.processTasks=function(){0!==this.tasks.size&&(Array.from(this.tasks).forEach(e=>e()),this.tasks.clear())},t._handleChangeEvents=function(e){var t=this.counter;this.counter=this.counter+e.length,e.length>this.limit?this.buffer=e.slice(-1*e.length):(this.buffer=this.buffer.concat(e),this.buffer=this.buffer.slice(-1*this.limit));for(var r=t+1,a=this.eventCounterMap,n=0;nt(e))},t.reduceByLastOfDoc=function(e){return this.processTasks(),e.slice(0)},t.close=function(){this.tasks.clear(),this.subs.forEach(e=>e.unsubscribe())},e}();var jr=new WeakMap;function Pr(e){var t=e.schema.getDocumentPrototype(),r=function(e){var t={};return Object.entries(e.methods).forEach(([e,r])=>{t[e]=r}),t}(e),a={};return[t,r,Kt].forEach(e=>{Object.getOwnPropertyNames(e).forEach(t=>{var r=Object.getOwnPropertyDescriptor(e,t),n=!0;(t.startsWith("_")||t.endsWith("_")||t.startsWith("$")||t.endsWith("$"))&&(n=!1),"function"==typeof r.value?Object.defineProperty(a,t,{get(){return r.value.bind(this)},enumerable:n,configurable:!1}):(r.enumerable=n,r.configurable=!1,r.writable&&(r.writable=!1),Object.defineProperty(a,t,r))})}),a}function $r(e,t,r){var a=function(e,t,r){var a=new e(t,r);return it("createRxDocument",a),a}(t,e,x.deepFreezeWhenDevMode(r));return e._runHooksSync("post","create",r,a),it("postCreateRxDocument",a),a}var Nr={isEqual:(e,t,r)=>(e=Br(e),t=Br(t),(0,St.b)(lt(e),lt(t))),resolve:e=>e.realMasterState};function Br(e){return e._attachments||((e=s(e))._attachments={}),e}var Mr=["pre","post"],Ar=["insert","save","remove","create"],qr=!1,Tr=new Set,Lr=function(){function e(e,t,r,a,n={},i={},s={},o={},c={},u=or,h={},l=Nr){this.storageInstance={},this.timeouts=new Set,this.incrementalWriteQueue={},this.awaitBeforeReads=new Set,this._incrementalUpsertQueues=new Map,this.synced=!1,this.hooks={},this._subs=[],this._docCache={},this._queryCache=new rr,this.$={},this.checkpoint$={},this._changeEventBuffer={},this.eventBulks$={},this.onClose=[],this.closed=!1,this.onRemove=[],this.database=e,this.name=t,this.schema=r,this.internalStorageInstance=a,this.instanceCreationOptions=n,this.migrationStrategies=i,this.methods=s,this.attachments=o,this.options=c,this.cacheReplacementPolicy=u,this.statics=h,this.conflictHandler=l,function(e){if(qr)return;qr=!0;var t=Object.getPrototypeOf(e);Ar.forEach(e=>{Mr.map(r=>{var a=r+(0,N.Z2)(e);t[a]=function(t,a){return this.addHook(r,e,t,a)}})})}(this.asRxCollection),e&&(this.eventBulks$=e.eventBulks$.pipe((0,Nt.p)(e=>e.collectionName===this.name))),this.database&&Tr.add(this)}var t=e.prototype;return t.prepare=async function(){if(!await de()){for(var e=0;e<10&&Tr.size>16;)e++,await this.promiseWait(30);if(Tr.size>16)throw R("COL23",{database:this.database.name,collection:this.name,args:{existing:Array.from(Tr.values()).map(e=>({db:e.database?e.database.name:"",c:e.name}))}})}var t,r;this.storageInstance=mt(this.database,this.internalStorageInstance,this.schema.jsonSchema),this.incrementalWriteQueue=new Ft(this.storageInstance,this.schema.primaryPath,(e,t)=>Zt(this,e,t),e=>this._runHooks("post","save",e)),this.$=this.eventBulks$.pipe((0,Gt.Z)(e=>Wt(e))),this.checkpoint$=this.eventBulks$.pipe((0,$t.T)(e=>e.checkpoint)),this._changeEventBuffer=(t=this.asRxCollection,new Sr(t)),this._docCache=new ur(this.schema.primaryPath,this.eventBulks$.pipe((0,Nt.p)(e=>!e.isLocal),(0,$t.T)(e=>e.events)),e=>{var t;return r||(t=this.asRxCollection,r=i(jr,t,()=>zt(Pr(t)))),$r(this.asRxCollection,r,e)});var a=this.database.internalStore.changeStream().pipe((0,Nt.p)(e=>{var t=this.name+"-"+this.schema.version;return!!e.events.find(e=>"collection"===e.documentData.context&&e.documentData.key===t&&"DELETE"===e.operation)})).subscribe(async()=>{await this.close(),await Promise.all(this.onRemove.map(e=>e()))});this._subs.push(a);var n=await this.database.storageToken,s=this.storageInstance.changeStream().subscribe(e=>{var t={id:e.id,isLocal:!1,internal:!1,collectionName:this.name,storageToken:n,events:e.events,databaseToken:this.database.token,checkpoint:e.checkpoint,context:e.context};this.database.$emit(t)});return this._subs.push(s),ue.em},t.cleanup=function(e){throw Or(this),qt("cleanup")},t.migrationNeeded=function(){throw qt("migration-schema")},t.getMigrationState=function(){throw qt("migration-schema")},t.startMigration=function(e=10){return Or(this),this.getMigrationState().startMigration(e)},t.migratePromise=function(e=10){return this.getMigrationState().migratePromise(e)},t.insert=async function(e){Or(this);var t=await this.bulkInsert([e]),r=t.error[0];return ut(this,e[this.schema.primaryPath],e,r),(0,me.ZN)(t.success[0])},t.insertIfNotExists=async function(e){var t=await this.bulkInsert([e]);if(t.error.length>0){var r=t.error[0];if(409===r.status){var a=r.documentInDb;return lr(this._docCache,[a])[0]}throw r}return t.success[0]},t.bulkInsert=async function(e){if(Or(this),0===e.length)return{success:[],error:[]};var t,r=this.schema.primaryPath,a=new Set;if(this.hasHooks("pre","insert"))t=await Promise.all(e.map(e=>{var t=Cr(this.schema,e);return this._runHooks("pre","insert",t).then(()=>(a.add(t[r]),{document:t}))}));else{t=new Array(e.length);for(var n=this.schema,i=0;i{var t=e.document;l.set(t[r],t)}),await Promise.all(h.success.map(e=>this._runHooks("post","insert",l.get(e.primary),e)))}return h},t.bulkRemove=async function(e){Or(this);var t,r=this.schema.primaryPath;if(0===e.length)return{success:[],error:[]};"string"==typeof e[0]?t=await this.findByIds(e).exec():(t=new Map,e.forEach(e=>t.set(e.primary,e)));var a=[],n=new Map;Array.from(t.values()).forEach(e=>{var t=e.toMutableJSON(!0);a.push(t),n.set(e.primary,t)}),await Promise.all(a.map(e=>{var r=e[this.schema.primaryPath];return this._runHooks("pre","remove",e,t.get(r))}));var i=a.map(e=>{var t=s(e);return t._deleted=!0,{previous:e,document:t}}),o=await this.storageInstance.bulkWrite(i,"rx-collection-bulk-remove"),c=vt(this.schema.primaryPath,i,o),u=[],h=c.map(e=>{var t=e[r],a=this._docCache.getCachedRxDocument(e);return u.push(a),t});return await Promise.all(h.map(e=>this._runHooks("post","remove",n.get(e),t.get(e)))),{success:u,error:o.error}},t.bulkUpsert=async function(e){Or(this);var t=[],r=new Map;e.forEach(e=>{var a=Cr(this.schema,e),n=a[this.schema.primaryPath];if(!n)throw R("COL3",{primaryPath:this.schema.primaryPath,data:a,schema:this.schema.jsonSchema});r.set(n,a),t.push(a)});var a=await this.bulkInsert(t),i=a.success.slice(0),s=[];return await Promise.all(a.error.map(async e=>{if(409!==e.status)s.push(e);else{var t=e.documentId,a=n(r,t),o=(0,me.ZN)(e.documentInDb),c=this._docCache.getCachedRxDocuments([o])[0],u=await c.incrementalModify(()=>a);i.push(u)}})),{error:s,success:i}},t.upsert=async function(e){Or(this);var t=await this.bulkUpsert([e]);return ut(this.asRxCollection,e[this.schema.primaryPath],e,t.error[0]),t.success[0]},t.incrementalUpsert=function(e){Or(this);var t=Cr(this.schema,e),r=t[this.schema.primaryPath];if(!r)throw R("COL4",{data:e});var a=this._incrementalUpsertQueues.get(r);return a||(a=ue.em),a=a.then(()=>function(e,t,r){var a=e._docCache.getLatestDocumentDataIfExists(t);if(a)return Promise.resolve({doc:e._docCache.getCachedRxDocuments([a])[0],inserted:!1});return e.findOne(t).exec().then(t=>t?{doc:t,inserted:!1}:e.insert(r).then(e=>({doc:e,inserted:!0})))}(this,r,t)).then(e=>e.inserted?e.doc:function(e,t){return e.incrementalModify(e=>t)}(e.doc,t)),this._incrementalUpsertQueues.set(r,a),a},t.find=function(e){return Or(this),it("prePrepareRxQuery",{op:"find",queryObj:e,collection:this}),e||(e={selector:{}}),vr("find",e,this)},t.findOne=function(e){var t;if(Or(this),it("prePrepareRxQuery",{op:"findOne",queryObj:e,collection:this}),"string"==typeof e)t=vr("findOne",{selector:{[this.schema.primaryPath]:e},limit:1},this);else{if(e||(e={selector:{}}),e.limit)throw R("QU6");(e=s(e)).limit=1,t=vr("findOne",e,this)}return t},t.count=function(e){return Or(this),e||(e={selector:{}}),vr("count",e,this)},t.findByIds=function(e){return Or(this),vr("findByIds",{selector:{[this.schema.primaryPath]:{$in:e.slice(0)}}},this)},t.exportJSON=function(){throw qt("json-dump")},t.importJSON=function(e){throw qt("json-dump")},t.insertCRDT=function(e){throw qt("crdt")},t.addPipeline=function(e){throw qt("pipeline")},t.addHook=function(e,t,r,a=!1){if("function"!=typeof r)throw O("COL7",{key:t,when:e});if(!Mr.includes(e))throw O("COL8",{key:t,when:e});if(!Ar.includes(t))throw R("COL9",{key:t});if("post"===e&&"create"===t&&!0===a)throw R("COL10",{when:e,key:t,parallel:a});var n=r.bind(this),i=a?"parallel":"series";this.hooks[t]=this.hooks[t]||{},this.hooks[t][e]=this.hooks[t][e]||{series:[],parallel:[]},this.hooks[t][e][i].push(n)},t.getHooks=function(e,t){return this.hooks[t]&&this.hooks[t][e]?this.hooks[t][e]:{series:[],parallel:[]}},t.hasHooks=function(e,t){if(!this.hooks[t]||!this.hooks[t][e])return!1;var r=this.getHooks(e,t);return!!r&&(r.series.length>0||r.parallel.length>0)},t._runHooks=function(e,t,r,a){var n=this.getHooks(e,t);if(!n)return ue.em;var i=n.series.map(e=>()=>e(r,a));return(0,ue.h$)(i).then(()=>Promise.all(n.parallel.map(e=>e(r,a))))},t._runHooksSync=function(e,t,r,a){if(this.hasHooks(e,t)){var n=this.getHooks(e,t);n&&n.series.forEach(e=>e(r,a))}},t.promiseWait=function(e){return new Promise(t=>{var r=setTimeout(()=>{this.timeouts.delete(r),t()},e);this.timeouts.add(r)})},t.close=async function(){return this.closed?ue.Dr:(Tr.delete(this),await Promise.all(this.onClose.map(e=>e())),this.closed=!0,Array.from(this.timeouts).forEach(e=>clearTimeout(e)),this._changeEventBuffer&&this._changeEventBuffer.close(),this.database.requestIdlePromise().then(()=>this.storageInstance.close()).then(()=>(this._subs.forEach(e=>e.unsubscribe()),delete this.database.collections[this.name],this.database.collectionsSubject$.next({collection:this.asRxCollection,type:"CLOSED"}),st("postCloseRxCollection",this).then(()=>!0))))},t.remove=async function(){await this.close(),await Promise.all(this.onRemove.map(e=>e())),await Rr(this.database.storage,this.database.internalStore,this.database.token,this.database.name,this.name,this.database.multiInstance,this.database.password,this.database.hashFunction)},(0,b.A)(e,[{key:"insert$",get:function(){return this.$.pipe((0,Nt.p)(e=>"INSERT"===e.operation))}},{key:"update$",get:function(){return this.$.pipe((0,Nt.p)(e=>"UPDATE"===e.operation))}},{key:"remove$",get:function(){return this.$.pipe((0,Nt.p)(e=>"DELETE"===e.operation))}},{key:"asRxCollection",get:function(){return this}}])}();var Qr=r(7635),Wr=r(5525),Fr=new Set,Hr=new Map,Kr=function(){function e(e,t,r,a,n,i,s=!1,o={},c,u,h,l,d,m){this.idleQueue=new Qr.G,this.rxdbVersion=Ct,this.storageInstances=new Set,this._subs=[],this.startupErrors=[],this.onClose=[],this.closed=!1,this.collections={},this.states={},this.eventBulks$=new ae.B,this.closePromise=null,this.collectionsSubject$=new ae.B,this.observable$=this.eventBulks$.pipe((0,Gt.Z)(e=>Wt(e))),this.storageToken=ue.Dr,this.storageTokenDocument=ue.Dr,this.emittedEventBulkIds=new Wr.p4(6e4),this.name=e,this.token=t,this.storage=r,this.instanceCreationOptions=a,this.password=n,this.multiInstance=i,this.eventReduce=s,this.options=o,this.internalStore=c,this.hashFunction=u,this.cleanupPolicy=h,this.allowSlowCount=l,this.reactivity=d,this.onClosed=m,"pseudoInstance"!==this.name&&(this.internalStore=mt(this.asRxDatabase,c,Dr),this.storageTokenDocument=async function(e){var t=(0,N.zs)(10),r=e.password?await e.hashFunction(JSON.stringify(e.password)):void 0,a=[{document:{id:Ir,context:wr,key:kr,data:{rxdbVersion:e.rxdbVersion,token:t,instanceToken:e.token,passwordHash:r},_deleted:!1,_meta:{lwt:1},_rev:"",_attachments:{}}}],n=await e.internalStore.bulkWrite(a,"internal-add-storage-token");if(!n.error[0])return vt("id",a,n)[0];var i=(0,me.ZN)(n.error[0]);if(i.isError&&S(i)){var s=i;if(!function(e,t){if(!e)return!1;var r=e.split(".")[0],a=t.split(".")[0];return"16"===r&&"17"===a||r===a}(s.documentInDb.data.rxdbVersion,e.rxdbVersion))throw R("DM5",{args:{database:e.name,databaseStateVersion:s.documentInDb.data.rxdbVersion,codeVersion:e.rxdbVersion}});if(r&&r!==s.documentInDb.data.passwordHash)throw R("DB1",{passwordHash:r,existingPasswordHash:s.documentInDb.data.passwordHash});var o=s.documentInDb;return(0,me.ZN)(o)}throw i}(this.asRxDatabase).catch(e=>this.startupErrors.push(e)),this.storageToken=this.storageTokenDocument.then(e=>e.data.token).catch(e=>this.startupErrors.push(e)))}var t=e.prototype;return t.getReactivityFactory=function(){if(!this.reactivity)throw R("DB14",{database:this.name});return this.reactivity},t[Symbol.asyncDispose]=async function(){await this.close()},t.$emit=function(e){this.emittedEventBulkIds.has(e.id)||(this.emittedEventBulkIds.add(e.id),this.eventBulks$.next(e))},t.removeCollectionDoc=async function(e,t){var r=await ot(this.internalStore,xr(Er(e,t),br));if(!r)throw R("SNH",{name:e,schema:t});var a=dt(r);a._deleted=!0,await this.internalStore.bulkWrite([{document:a,previous:r}],"rx-database-remove-collection")},t.addCollections=async function(e){var t={},r={},a=[],n={};await Promise.all(Object.entries(e).map(async([e,i])=>{var o=e,c=i.schema;t[o]=c;var u=Pt(c,this.hashFunction);if(r[o]=u,this.collections[e])throw R("DB3",{name:e});var h=Er(e,c),l={id:xr(h,br),key:h,context:br,data:{name:o,schemaHash:await u.hash,schema:u.jsonSchema,version:u.version,connectedStorages:[]},_deleted:!1,_meta:{lwt:1},_rev:"",_attachments:{}};a.push({document:l});var d=Object.assign({},i,{name:o,schema:u,database:this}),m=s(i);m.database=this,m.name=e,it("preCreateRxCollection",m),d.conflictHandler=m.conflictHandler,n[o]=d}));var i=await this.internalStore.bulkWrite(a,"rx-database-add-collection");await async function(e){if(await e.storageToken,e.startupErrors[0])throw e.startupErrors[0]}(this),await Promise.all(i.error.map(async e=>{if(409!==e.status)throw R("DB12",{database:this.name,writeError:e});var a=(0,me.ZN)(e.documentInDb),n=a.data.name,i=r[n];if(a.data.schemaHash!==await i.hash)throw R("DB6",{database:this.name,collection:n,previousSchemaHash:a.data.schemaHash,schemaHash:await i.hash,previousSchema:a.data.schema,schema:(0,me.ZN)(t[n])})}));var o={};return await Promise.all(Object.keys(e).map(async e=>{var t=n[e],r=await async function({database:e,name:t,schema:r,instanceCreationOptions:a={},migrationStrategies:n={},autoMigrate:i=!0,statics:s={},methods:o={},attachments:c={},options:u={},localDocuments:h=!1,cacheReplacementPolicy:l=or,conflictHandler:d=Nr}){var m={databaseInstanceToken:e.token,databaseName:e.name,collectionName:t,schema:r.jsonSchema,options:a,multiInstance:e.multiInstance,password:e.password,devMode:x.isDevMode()};it("preCreateRxStorageInstance",m);var f=await async function(e,t){return t.multiInstance=e.multiInstance,await e.storage.createStorageInstance(t)}(e,m),p=new Lr(e,t,r,f,a,n,o,c,u,l,s,d);try{await p.prepare(),Object.entries(s).forEach(([e,t])=>{Object.defineProperty(p,e,{get:()=>t.bind(p)})}),it("createRxCollection",{collection:p,creator:{name:t,schema:r,storageInstance:f,instanceCreationOptions:a,migrationStrategies:n,methods:o,attachments:c,options:u,cacheReplacementPolicy:l,localDocuments:h,statics:s}}),i&&0!==p.schema.version&&await p.migratePromise()}catch(v){throw Tr.delete(p),await f.close(),v}return p}(t);o[e]=r,this.collections[e]=r,this.collectionsSubject$.next({collection:r,type:"ADDED"}),this[e]||Object.defineProperty(this,e,{get:()=>this.collections[e]})})),o},t.lockedRun=function(e){return this.idleQueue.wrapCall(e)},t.requestIdlePromise=function(){return this.idleQueue.requestIdlePromise()},t.exportJSON=function(e){throw qt("json-dump")},t.addState=function(e){throw qt("state")},t.importJSON=function(e){throw qt("json-dump")},t.backup=function(e){throw qt("backup")},t.leaderElector=function(){throw qt("leader-election")},t.isLeader=function(){throw qt("leader-election")},t.waitForLeadership=function(){throw qt("leader-election")},t.migrationStates=function(){throw qt("migration-schema")},t.close=function(){if(this.closePromise)return this.closePromise;var{promise:e,resolve:t}=zr(),r=e=>{this.onClosed&&this.onClosed(),this.closed=!0,t(e)};return this.closePromise=e,(async()=>{if(await st("preCloseRxDatabase",this),this.eventBulks$.complete(),this.collectionsSubject$.complete(),this._subs.map(e=>e.unsubscribe()),"pseudoInstance"!==this.name)return this.requestIdlePromise().then(()=>Promise.all(this.onClose.map(e=>e()))).then(()=>Promise.all(Object.keys(this.collections).map(e=>this.collections[e]).map(e=>e.close()))).then(()=>this.internalStore.close()).then(()=>r(!0));r(!1)})(),e},t.remove=function(){return this.close().then(()=>async function(e,t,r=!0,a){var n=(0,N.zs)(10),i=await Ur(n,t,e,{},r,a),s=await _r(i),o=new Set;s.forEach(e=>o.add(e.data.name));var c=Array.from(o);return await Promise.all(c.map(s=>Rr(t,i,n,e,s,r,a))),await st("postRemoveRxDatabase",{databaseName:e,storage:t}),await i.remove(),c}(this.name,this.storage,this.multiInstance,this.password))},(0,b.A)(e,[{key:"$",get:function(){return this.observable$}},{key:"collections$",get:function(){return this.collectionsSubject$.asObservable()}},{key:"asRxDatabase",get:function(){return this}}])}();function zr(){var e,t;return{promise:new Promise((r,a)=>{e=r,t=a}),resolve:e,reject:t}}function Zr(e,t){return t.name+"|"+e}async function Ur(e,t,r,a,n,i){return await t.createStorageInstance({databaseInstanceToken:e,databaseName:r,collectionName:"_rxdb_internal",schema:Dr,options:a,multiInstance:n,password:i,devMode:x.isDevMode()})}function Vr({storage:e,instanceCreationOptions:t,name:r,password:a,multiInstance:n=!0,eventReduce:i=!0,ignoreDuplicate:s=!1,options:o={},cleanupPolicy:c,closeDuplicates:u=!1,allowSlowCount:h=!1,localDocuments:l=!1,hashFunction:d=ce,reactivity:m}){it("preCreateRxDatabase",{storage:e,instanceCreationOptions:t,name:r,password:a,multiInstance:n,eventReduce:i,ignoreDuplicate:s,options:o,localDocuments:l});var f=Zr(r,e),p=Hr.get(f)||new Set,v=zr(),y=Array.from(p),g=()=>{p.delete(v.promise),Fr.delete(f)};return p.add(v.promise),Hr.set(f,p),(async()=>{if(u&&await Promise.all(y.map(e=>e.catch(()=>null).then(e=>e&&e.close()))),s){if(!x.isDevMode())throw R("DB9",{database:r})}else!function(e,t){if(Fr.has(Zr(e,t)))throw R("DB8",{name:e,storage:t.name,link:"https://rxdb.info/rx-database.html#ignoreduplicate"})}(r,e);Fr.add(f);var p=(0,N.zs)(10),v=await Ur(p,e,r,t,n,a),b=new Kr(r,p,e,t,a,n,i,o,v,d,c,h,m,g);return await st("createRxDatabase",{database:b,creator:{storage:e,instanceCreationOptions:t,name:r,password:a,multiInstance:n,eventReduce:i,ignoreDuplicate:s,options:o,localDocuments:l}}),b})().then(e=>{v.resolve(e)}).catch(e=>{v.reject(e),g()}),v.promise}var Jr={RxSchema:jt.prototype,RxDocument:Kt,RxQuery:pr.prototype,RxCollection:Lr.prototype,RxDatabase:Kr.prototype},Gr=new Set,Xr=new Set;var Yr=new WeakMap,ea=new WeakMap;function ta(e){var t=Yr.get(e);if(!t){var r=e.database?e.database:e,a=e.database?e.name:"";throw R("LD8",{database:r.name,collection:a})}return t}function ra(e,t,r,a,n,i){return t.createStorageInstance({databaseInstanceToken:e,databaseName:r,collectionName:ia(a),schema:sa,options:n,multiInstance:i,devMode:x.isDevMode()})}function aa(e){var t=Yr.get(e);if(t)return Yr.delete(e),t.then(e=>e.storageInstance.close())}async function na(e,t,r){var a=(0,N.zs)(10),n=await ra(a,e,t,r,{},!1);await n.remove()}function ia(e){return"plugin-local-documents-"+e}var sa=q({title:"RxLocalDocument",version:0,primaryKey:"id",type:"object",properties:{id:{type:"string",maxLength:128},data:{type:"object",additionalProperties:!0}},required:["id","data"]});async function oa(e,t){var r=await ta(this),a={id:e,data:t,_deleted:!1,_meta:{lwt:1},_rev:"",_attachments:{}};return ct(r.storageInstance,{document:a},"local-document-insert").then(e=>r.docCache.getCachedRxDocument(e))}function ca(e,t){return this.getLocal(e).then(r=>r?r.incrementalModify(()=>t):this.insertLocal(e,t))}async function ua(e){var t=await ta(this),r=t.docCache,a=r.getLatestDocumentDataIfExists(e);return a?Promise.resolve(r.getCachedRxDocument(a)):ot(t.storageInstance,e).then(e=>e?t.docCache.getCachedRxDocument(e):null)}function ha(e){return this.$.pipe((0,Bt.Z)(null),(0,Gt.Z)(async t=>t?{changeEvent:t}:{doc:await this.getLocal(e)}),(0,Gt.Z)(async t=>{if(t.changeEvent){var r=t.changeEvent;return r.isLocal&&r.documentId===e?{use:!0,doc:await this.getLocal(e)}:{use:!1}}return{use:!0,doc:t.doc}}),(0,Nt.p)(e=>e.use),(0,$t.T)(e=>e.doc))}var la=function(e){function t(t,r,a){var n;return(n=e.call(this,null,r)||this).id=t,n.parent=a,n}return(0,w.A)(t,e),t}(zt()),da={get isLocal(){return!0},get allAttachments$(){throw R("LD1",{document:this})},get primaryPath(){return"id"},get primary(){return this.id},get $(){var e=n(ea,this.parent),t=this.primary;return this.parent.eventBulks$.pipe((0,Nt.p)(e=>!!e.isLocal),(0,$t.T)(e=>e.events.find(e=>e.documentId===t)),(0,Nt.p)(e=>!!e),(0,$t.T)(e=>Tt((0,me.ZN)(e))),(0,Bt.Z)(e.docCache.getLatestDocumentData(this.primary)),(0,Mt.F)((e,t)=>e._rev===t._rev),(0,$t.T)(t=>e.docCache.getCachedRxDocument(t)),(0,At.t)(me.bz))},get $$(){var e=this,t=pa(e);return t.getReactivityFactory().fromObservable(e.$,e.getLatest()._data,t)},get deleted$$(){var e=this,t=pa(e);return t.getReactivityFactory().fromObservable(e.deleted$,e.getLatest().deleted,t)},getLatest(){var e=n(ea,this.parent),t=e.docCache.getLatestDocumentData(this.primary);return e.docCache.getCachedRxDocument(t)},get(e){if(e="data."+e,this._data){if("string"!=typeof e)throw O("LD2",{objPath:e});var t=v(this._data,e);return t=x.deepFreezeWhenDevMode(t)}},get$(e){if(e="data."+e,x.isDevMode()){if(e.includes(".item."))throw R("LD3",{objPath:e});if(e===this.primaryPath)throw R("LD4")}return this.$.pipe((0,$t.T)(e=>e._data),(0,$t.T)(t=>v(t,e)),(0,Mt.F)())},get$$(e){var t=pa(this);return t.getReactivityFactory().fromObservable(this.get$(e),this.getLatest().get(e),t)},async incrementalModify(e){var t=await ta(this.parent);return t.incrementalWriteQueue.addWrite(this._data,async t=>(t.data=await e(t.data,this),t)).then(e=>t.docCache.getCachedRxDocument(e))},incrementalPatch(e){return this.incrementalModify(t=>(Object.entries(e).forEach(([e,r])=>{t[e]=r}),t))},async _saveData(e){var t=await ta(this.parent),r=this._data;e.id=this.id;var a=[{previous:r,document:e}];return t.storageInstance.bulkWrite(a,"local-document-save-data").then(t=>{if(t.error[0])throw t.error[0];var r=vt(this.collection.schema.primaryPath,a,t)[0];(e=s(e))._rev=r._rev})},async remove(){var e=await ta(this.parent),t=s(this._data);return t._deleted=!0,ct(e.storageInstance,{previous:this._data,document:t},"local-document-remove").then(t=>e.docCache.getCachedRxDocument(t))}},ma=!1,fa=()=>{if(!ma){ma=!0;var e=Kt;Object.getOwnPropertyNames(e).forEach(t=>{if(!Object.getOwnPropertyDescriptor(da,t)){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(da,t,r)}});["populate","update","putAttachment","putAttachmentBase64","getAttachment","allAttachments"].forEach(e=>da[e]=(e=>()=>{throw R("LD6",{functionName:e})})(e))}};function pa(e){var t=e.parent;return t instanceof Kr?t:t.database}function va(e){var t=e.database?e.database:e,r=e.database?e.name:"",a=(async()=>{var a=await ra(t.token,t.storage,t.name,r,t.instanceCreationOptions,t.multiInstance);a=mt(t,a,sa);var n=new ur("id",t.eventBulks$.pipe((0,Nt.p)(e=>{var t=!1;return(""===r&&!e.collectionName||""!==r&&e.collectionName===r)&&(t=!0),t&&e.isLocal}),(0,$t.T)(e=>e.events)),t=>function(e,t){fa();var r=new la(e.id,e,t);return Object.setPrototypeOf(r,da),r.prototype=da,r}(t,e)),i=new Ft(a,"id",()=>{},()=>{}),s=await t.storageToken,o=a.changeStream().subscribe(r=>{for(var a=new Array(r.events.length),n=r.events,i=e.database?e.name:void 0,o=0;o{e.insertLocal=oa,e.upsertLocal=ca,e.getLocal=ua,e.getLocal$=ha},RxDatabase:e=>{e.insertLocal=oa,e.upsertLocal=ca,e.getLocal=ua,e.getLocal$=ha}},hooks:{createRxDatabase:{before:e=>{e.creator.localDocuments&&va(e.database)}},createRxCollection:{before:e=>{e.creator.localDocuments&&va(e.collection)}},preCloseRxDatabase:{after:e=>aa(e)},postCloseRxCollection:{after:e=>aa(e)},postRemoveRxDatabase:{after:e=>na(e.storage,e.databaseName,"")},postRemoveRxCollection:{after:e=>na(e.storage,e.databaseName,e.collectionName)}},overwritable:{}};let ga;function ba(){return"undefined"!=typeof window&&window.indexedDB}function wa(){return ga||(ga=(async()=>{!function(e){if(it("preAddRxPlugin",{plugin:e,plugins:Gr}),!Gr.has(e)){if(Xr.has(e.name))throw R("PL3",{name:e.name,plugin:e});if(Gr.add(e),Xr.add(e.name),!e.rxdb)throw O("PL1",{plugin:e});e.init&&e.init(),e.prototypes&&Object.entries(e.prototypes).forEach(([e,t])=>t(Jr[e])),e.overwritable&&Object.assign(x,e.overwritable),e.hooks&&Object.entries(e.hooks).forEach(([e,t])=>{t.after&&nt[e].push(t.after),t.before&&nt[e].unshift(t.before)})}}(ya);return await Vr({name:"rxdb-landing-v4",localDocuments:!0,storage:Ot()})})()),ga}},8342(e,t,r){r.d(t,{L$:()=>s,Z2:()=>i,zs:()=>n});var a="abcdefghijklmnopqrstuvwxyz";function n(e=10){for(var t="",r=0;rs});n(6540);var o=n(8853),a=n(4848);function s({author:e,year:t,sourceLink:n,children:s}){return(0,a.jsxs)("div",{style:{borderLeft:"2px solid var(--color-top)",paddingLeft:"1rem",paddingTop:"0.5rem",paddingBottom:"0.5rem",marginTop:30,marginBottom:30},children:[(0,a.jsx)(o.iG,{}),(0,a.jsx)("div",{style:{display:"flex",alignItems:"flex-start",gap:"0.5rem"},children:(0,a.jsx)("p",{style:{margin:0},children:s})}),(0,a.jsx)("div",{style:{display:"flex",justifyContent:"flex-end",gap:5},children:(0,a.jsx)(o.fz,{})}),(0,a.jsxs)("p",{style:{marginTop:"0.75rem",marginBottom:0,textAlign:"right",fontSize:"0.9rem"},children:["\u2013"," ",n?(0,a.jsx)("a",{href:n,target:"_blank",rel:"noopener noreferrer",children:e}):e,t&&`, ${t}`]})]})}},3963(e,t,n){n.r(t),n.d(t,{assets:()=>h,contentTitle:()=>l,default:()=>u,frontMatter:()=>r,metadata:()=>o,toc:()=>c});const o=JSON.parse('{"id":"downsides-of-offline-first","title":"Downsides of Local First / Offline First","description":"Discover the hidden pitfalls of local-first apps. Learn about storage limits, conflicts, and real-time illusions before building your offline solution.","source":"@site/docs/downsides-of-offline-first.md","sourceDirName":".","slug":"/downsides-of-offline-first.html","permalink":"/downsides-of-offline-first.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"Downsides of Local First / Offline First","slug":"downsides-of-offline-first.html","description":"Discover the hidden pitfalls of local-first apps. Learn about storage limits, conflicts, and real-time illusions before building your offline solution."},"sidebar":"tutorialSidebar","previous":{"title":"Why NoSQL Powers Modern UI Apps","permalink":"/why-nosql.html"},"next":{"title":"RxDB - The Real-Time Database for Node.js","permalink":"/nodejs-database.html"}}');var a=n(4848),s=n(8453),i=n(2443);const r={title:"Downsides of Local First / Offline First",slug:"downsides-of-offline-first.html",description:"Discover the hidden pitfalls of local-first apps. Learn about storage limits, conflicts, and real-time illusions before building your offline solution."},l="Downsides of Local First / Offline First",h={},c=[{value:"It only works with small datasets",id:"it-only-works-with-small-datasets",level:2},{value:"Browser storage is not really persistent",id:"browser-storage-is-not-really-persistent",level:2},{value:"There can be conflicts",id:"there-can-be-conflicts",level:2},{value:"Realtime is a lie",id:"realtime-is-a-lie",level:2},{value:"Eventual consistency",id:"eventual-consistency",level:2},{value:"Permissions and authentication",id:"permissions-and-authentication",level:2},{value:"You have to migrate the client database",id:"you-have-to-migrate-the-client-database",level:2},{value:"Performance is not native",id:"performance-is-not-native",level:2},{value:"Nothing is predictable",id:"nothing-is-predictable",level:2},{value:"There is no relational data",id:"there-is-no-relational-data",level:2}];function d(e){const t={a:"a",blockquote:"blockquote",code:"code",figure:"figure",h1:"h1",h2:"h2",header:"header",li:"li",ol:"ol",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...(0,s.R)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(t.header,{children:(0,a.jsx)(t.h1,{id:"downsides-of-local-first--offline-first",children:"Downsides of Local First / Offline First"})}),"\n",(0,a.jsxs)(t.p,{children:["So you have read ",(0,a.jsx)(t.a,{href:"/offline-first.html",children:"all these things"})," about how the ",(0,a.jsx)(t.a,{href:"/articles/local-first-future.html",children:"local-first"})," (aka offline-first) paradigm makes it easy to create realtime web applications that even work when the user has no internet connection.\nBut there is no free lunch. The offline first paradigm is not the perfect approach for all kinds of apps."]}),"\n",(0,a.jsxs)(i.G,{author:"Daniel",year:"2024",sourceLink:"https://github.com/pubkey",children:["You fully understood a technology when you know when ",(0,a.jsx)("b",{children:"not"})," to use it"]}),"\n",(0,a.jsxs)(t.p,{children:["In the following I will point out the limitations you need to know before you decide to use ",(0,a.jsx)(t.a,{href:"https://github.com/pubkey/rxdb",children:"RxDB"})," or even before you decide to create an offline first application."]}),"\n",(0,a.jsx)(t.h2,{id:"it-only-works-with-small-datasets",children:"It only works with small datasets"}),"\n",(0,a.jsx)(t.p,{children:"Making data available offline means it must be loaded from the server and then stored at the clients device.\nYou need to load the full dataset on the first pageload and on every ongoing load you need to download the new changes to that set.\nWhile in theory you could download in infinite amount of data, in practice you have a limit how long the user can wait before having an up-to-date state.\nYou want to display chat messages like Whatsapp? No problem. Syncing all the messages a user could write, can be done with a few HTTP requests.\nWant to make a tool that displays server logs? Good luck downloading terabytes of data to the client just to search for a single string. This will not work."}),"\n",(0,a.jsxs)(t.p,{children:["Besides the network usage, there is another limit for the size of your data.\nIn browsers you have some options for storage: Cookies, ",(0,a.jsx)(t.a,{href:"/articles/localstorage.html",children:"Localstorage"}),", ",(0,a.jsx)(t.a,{href:"/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm.html#what-was-websql",children:"WebSQL"})," and ",(0,a.jsx)(t.a,{href:"/rx-storage-indexeddb.html",children:"IndexedDB"}),"."]}),"\n",(0,a.jsxs)(t.p,{children:["Because Cookies and ",(0,a.jsx)(t.a,{href:"/articles/localstorage.html",children:"Localstorage"})," is slow and WebSQL is deprecated, you will use IndexedDB.\nThe ",(0,a.jsx)(t.a,{href:"/articles/indexeddb-max-storage-limit.html",children:"limit of how much data you can store in IndexedDB"})," depends on two factors: Which browser is used and how much disc space is left on the device. You can assume that at least a couple of ",(0,a.jsx)(t.a,{href:"https://web.dev/storage-for-the-web/",children:"hundred megabytes"})," are available at least. The maximum is potentially hundreds of gigabytes or more, but the browser implementations vary. Chrome allows the browser to use up to 60% of the total disc space per origin. Firefox allows up to 50%. But on safari you can only store up to 1GB and the browser will prompt the user on each additional 200MB increment."]}),"\n",(0,a.jsx)(t.p,{children:"The problem is, that you have no chance to really predict how much data can be stored. So you have to make assumptions that are hopefully true for all of your users. Also, you have no way to increase that space like you would add another hard drive to your backend server. Once your clients reach the limit, you likely have to rewrite big parts of your applications."}),"\n",(0,a.jsxs)(t.p,{children:["UPDATE (2023): Newer versions of browsers can store way more data, for example firefox stores up to 10% of the total disk size. For an overview about how much can be stored, read ",(0,a.jsx)(t.a,{href:"https://developer.mozilla.org/en-US/docs/Web/API/Storage_API/Storage_quotas_and_eviction_criteria",children:"this guide"})]}),"\n",(0,a.jsx)(t.h2,{id:"browser-storage-is-not-really-persistent",children:"Browser storage is not really persistent"}),"\n",(0,a.jsxs)(t.p,{children:["When data is stored inside IndexedDB or one of the other storage APIs, it cannot be trusted to stay there forever.\nApple for example deletes the data when the website was not used in the ",(0,a.jsx)(t.a,{href:"https://webkit.org/blog/10218/full-third-party-cookie-blocking-and-more/",children:"last 7 days"}),". The other browsers also have logic to clean up the stored data, and in the end the user itself could be the one that deletes the browsers local data."]}),"\n",(0,a.jsxs)(t.p,{children:["The most common way to handle this, is to replicate everything from the backend to the client again.\nOf course, this does not work for state that is not stored at the backend. So if you assume you can store the users private data inside the browser in a secure way, you are ",(0,a.jsx)(t.a,{href:"https://medium.com/universal-ethereum/out-of-gas-were-shutting-down-unilogin-3b544838df1a#4f60",children:"wrong"}),"."]}),"\n",(0,a.jsx)("p",{align:"center",children:(0,a.jsx)("img",{src:"./files/safari-database.png",alt:"safari database",width:"200"})}),"\n",(0,a.jsx)(t.h2,{id:"there-can-be-conflicts",children:"There can be conflicts"}),"\n",(0,a.jsxs)(t.p,{children:["Imagine two of your users modify the same JSON document, while both are offline. After they go online again, their clients replicate the modified document to the server. Now you have two conflicting versions of the same document, and you need a way to determine how the correct new version of that document should look like. This process is called ",(0,a.jsx)(t.strong,{children:"conflict resolution"}),"."]}),"\n",(0,a.jsx)("p",{align:"center",children:(0,a.jsx)("img",{src:"./files/document-replication-conflict.svg",alt:"document replication conflict",width:"250"})}),"\n",(0,a.jsxs)(t.ol,{children:["\n",(0,a.jsxs)(t.li,{children:["\n",(0,a.jsxs)(t.p,{children:["The default in ",(0,a.jsx)(t.a,{href:"https://docs.couchdb.org/en/stable/replication/conflicts.html",children:"many"})," offline first databases is a deterministic conflict resolution strategy. Both conflicting versions of the document are kept in the storage and when you query for the document, a winner is determined by comparing the hashes of the document and only the winning document is returned. Because the comparison is deterministic, all clients and servers will always pick the same winner. This kind of resolution only works when it is not that important that one of the document changes gets dropped. Because conflicts are rare, this might be a viable solution for some use cases."]}),"\n"]}),"\n",(0,a.jsxs)(t.li,{children:["\n",(0,a.jsx)(t.p,{children:"A better resolution can be applied by listening to the changestream of the database. The changestream emits an event each time a write happens to the database. The event contains information about the written document and also a flag if there is a conflicting version. For each event with a conflict, you fetch all versions for that document and create a new document that contains the winning state. With that you can implement pretty complex conflict resolution strategies, but you have to manually code it for each collection of documents."}),"\n"]}),"\n",(0,a.jsxs)(t.li,{children:["\n",(0,a.jsxs)(t.p,{children:["Instead of the solving conflict once at every client, it can be made a bit easier by solely relying on the backend. This can be done when all of your clients replicate with the same single backend server. With ",(0,a.jsx)(t.a,{href:"/replication-graphql.html",children:"RxDB's Graphql Replication"})," each client side change is sent to the server where conflicts can be resolved and the winning document can be sent back to the clients."]}),"\n"]}),"\n",(0,a.jsxs)(t.li,{children:["\n",(0,a.jsx)(t.p,{children:"Sometimes there is no way to solve a conflict with code. If your users edit text based documents or images, often only the users themselves can decide how the winning revision has to look. For these cases, you have to implement complex UI parts where the users can inspect the conflict and manage its resolution."}),"\n"]}),"\n",(0,a.jsxs)(t.li,{children:["\n",(0,a.jsxs)(t.p,{children:["You do not have to handle conflicts if they cannot happen in the first place. You can achieve that by designing a write only database where existing documents cannot be touched. Instead of storing the current state in a single document, you store all the events that lead to the current state. Sometimes called the ",(0,a.jsx)(t.a,{href:"https://pouchdb.com/guides/conflicts.html#accountants-dont-use-erasers",children:'"everything is a delta"'})," strategy, others would call it ",(0,a.jsx)(t.a,{href:"https://martinfowler.com/eaaDev/EventSourcing.html",children:"Event Sourcing"}),". Like an accountant that does not need an eraser, you append all changes and afterwards aggregate the current state at the client."]}),"\n"]}),"\n"]}),"\n",(0,a.jsx)(t.figure,{"data-rehype-pretty-code-figure":"",children:(0,a.jsx)(t.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,a.jsxs)(t.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,a.jsx)(t.span,{"data-line":"",children:(0,a.jsx)(t.span,{style:{color:"var(--shiki-token-comment)"},children:"// create one new document for each change to the users balance"})}),"\n",(0,a.jsxs)(t.span,{"data-line":"",children:[(0,a.jsx)(t.span,{style:{color:"var(--shiki-foreground)"},children:"{id"}),(0,a.jsx)(t.span,{style:{color:"var(--shiki-token-punctuation)"},children:":"}),(0,a.jsx)(t.span,{style:{color:"var(--shiki-token-keyword)"},children:" new"}),(0,a.jsx)(t.span,{style:{color:"var(--shiki-token-function)"},children:" Date"}),(0,a.jsx)(t.span,{style:{color:"var(--shiki-foreground)"},children:"()"}),(0,a.jsx)(t.span,{style:{color:"var(--shiki-token-function)"},children:".toJSON"}),(0,a.jsx)(t.span,{style:{color:"var(--shiki-foreground)"},children:"()"}),(0,a.jsx)(t.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,a.jsx)(t.span,{style:{color:"var(--shiki-foreground)"},children:" change"}),(0,a.jsx)(t.span,{style:{color:"var(--shiki-token-punctuation)"},children:":"}),(0,a.jsx)(t.span,{style:{color:"var(--shiki-token-constant)"},children:" 100"}),(0,a.jsx)(t.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,a.jsx)(t.span,{style:{color:"var(--shiki-token-comment)"},children:"// balance increased by $100"})]}),"\n",(0,a.jsxs)(t.span,{"data-line":"",children:[(0,a.jsx)(t.span,{style:{color:"var(--shiki-foreground)"},children:"{id"}),(0,a.jsx)(t.span,{style:{color:"var(--shiki-token-punctuation)"},children:":"}),(0,a.jsx)(t.span,{style:{color:"var(--shiki-token-keyword)"},children:" new"}),(0,a.jsx)(t.span,{style:{color:"var(--shiki-token-function)"},children:" Date"}),(0,a.jsx)(t.span,{style:{color:"var(--shiki-foreground)"},children:"()"}),(0,a.jsx)(t.span,{style:{color:"var(--shiki-token-function)"},children:".toJSON"}),(0,a.jsx)(t.span,{style:{color:"var(--shiki-foreground)"},children:"()"}),(0,a.jsx)(t.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,a.jsx)(t.span,{style:{color:"var(--shiki-foreground)"},children:" change"}),(0,a.jsx)(t.span,{style:{color:"var(--shiki-token-punctuation)"},children:":"}),(0,a.jsx)(t.span,{style:{color:"var(--shiki-token-keyword)"},children:" -"}),(0,a.jsx)(t.span,{style:{color:"var(--shiki-token-constant)"},children:"50"}),(0,a.jsx)(t.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,a.jsx)(t.span,{style:{color:"var(--shiki-token-comment)"},children:"// balance decreased by $50"})]}),"\n",(0,a.jsxs)(t.span,{"data-line":"",children:[(0,a.jsx)(t.span,{style:{color:"var(--shiki-foreground)"},children:"{id"}),(0,a.jsx)(t.span,{style:{color:"var(--shiki-token-punctuation)"},children:":"}),(0,a.jsx)(t.span,{style:{color:"var(--shiki-token-keyword)"},children:" new"}),(0,a.jsx)(t.span,{style:{color:"var(--shiki-token-function)"},children:" Date"}),(0,a.jsx)(t.span,{style:{color:"var(--shiki-foreground)"},children:"()"}),(0,a.jsx)(t.span,{style:{color:"var(--shiki-token-function)"},children:".toJSON"}),(0,a.jsx)(t.span,{style:{color:"var(--shiki-foreground)"},children:"()"}),(0,a.jsx)(t.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,a.jsx)(t.span,{style:{color:"var(--shiki-foreground)"},children:" change"}),(0,a.jsx)(t.span,{style:{color:"var(--shiki-token-punctuation)"},children:":"}),(0,a.jsx)(t.span,{style:{color:"var(--shiki-token-constant)"},children:" 200"}),(0,a.jsx)(t.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,a.jsx)(t.span,{style:{color:"var(--shiki-token-comment)"},children:"// balance increased by $200"})]})]})})}),"\n",(0,a.jsxs)(t.ol,{start:"6",children:["\n",(0,a.jsxs)(t.li,{children:["There is this thing called ",(0,a.jsx)(t.strong,{children:"conflict-free replicated data type"}),", short ",(0,a.jsx)(t.strong,{children:"CRDT"}),". Using a CRDT library like ",(0,a.jsx)(t.a,{href:"https://github.com/automerge/automerge",children:"automerge"})," will magically solve all of your conflict problems. Until you use it in production where you observe that implementing CRDTs has basically the same complexity as implementing conflict resolution strategies."]}),"\n"]}),"\n",(0,a.jsx)(t.h2,{id:"realtime-is-a-lie",children:"Realtime is a lie"}),"\n",(0,a.jsxs)(t.p,{children:["So you replicate stuff between the clients and your backend. Each change on one side directly changes the state of the other sides in ",(0,a.jsx)(t.strong,{children:"realtime"}),'. But this "realtime" is not the same as in ',(0,a.jsx)(t.a,{href:"https://en.wikipedia.org/wiki/Real-time_computing",children:"realtime computing"}),". In the offline first world, the word realtime was introduced by firebase and is more meant as a marketing slogan than a technical description.\nThere is an internet between your backend and your clients and everything you do on one machine takes at least once the latency until it can affect anything on the other machines. You have to keep this in mind when you develop anything where the timing is important, like a multiplayer game or a stock trading app."]}),"\n",(0,a.jsx)(t.p,{children:'Even when you run a query against the local database, there is no "real" realtime.\nClient side databases run on JavaScript and JavaScript runs on a single CPU that might be partially blocked because the user is running some background processes. So you can never guarantee a response deadline which violates the time constraint of realtime computing.'}),"\n",(0,a.jsx)("p",{align:"center",children:(0,a.jsx)("img",{src:"./files/latency-london-san-franzisco.png",alt:"latency london san franzisco",width:"300"})}),"\n",(0,a.jsx)(t.h2,{id:"eventual-consistency",children:"Eventual consistency"}),"\n",(0,a.jsx)(t.p,{children:"An offline first app does not have a single source of truth. There is a source on the backend, one on the own client, and also each other client has its own definition of truth. At the moment your user starts the app, the local state is hopefully already replicated with the backend and all other clients. But this does not have to be true, the states can have converged and you have to plan for that.\nThe user could update a document based on wrong assumptions because it was not fully replicated at that point in time because the user is offline. A good way to handle this problem is to show the replication state in the UI and tell the user when the replication is running, stopped, paused or finished."}),"\n",(0,a.jsx)(t.p,{children:'And some data is just too important to be "eventual consistent". Create a wire transfer in your online banking app while you are offline. You keep the smartphone laying at your night desk and when you use again in the next morning, it goes online and replicates the transaction. No thank you, do not use offline first for these kinds of things, or at least you have to display the replication state of each document in the UI.'}),"\n",(0,a.jsx)("p",{align:"center",children:(0,a.jsx)("img",{src:"./files/cap-theorem.png",alt:"CAP theorem",width:"150"})}),"\n",(0,a.jsx)(t.h2,{id:"permissions-and-authentication",children:"Permissions and authentication"}),"\n",(0,a.jsx)(t.p,{children:"Every offline first app that goes beyond a prototype, does likely not have the same global state for all of its users. Each user has a different set of documents that are allowed to be replicated or seen by the user. So you need some kind of authentication and permission handling to divide the documents.\nThe easy way is to just create one database for each user on the backend and only allow to replicate that one. Creating that many databases is not really a problem with for example CouchDB, and it makes permission handling easy.\nBut as soon as you want to query all of your data in the backend, it will bite back. Your data is not at a single place, it is distributed between all of the user specific databases. This becomes even more complex as soon as you store information together with the documents that is not allowed to be seen by outsiders. You not only have to decide which documents to replicate, but also which fields of them."}),"\n",(0,a.jsxs)(t.p,{children:["So what you really want is a single datastore in the backend and then replicate only the allowed document parts to each of the users.\nThis always requires you to implement your custom replication endpoint like what you do with RxDBs ",(0,a.jsx)(t.a,{href:"/replication-graphql.html",children:"GraphQL Replication"}),"."]}),"\n",(0,a.jsx)(t.h2,{id:"you-have-to-migrate-the-client-database",children:"You have to migrate the client database"}),"\n",(0,a.jsx)(t.p,{children:"While developing your app, sooner or later you want to change the data layout. You want to add some new fields to documents or change the format of them. So you have to update the database schema and also migrate the stored documents.\nWith 'normal' applications, this is already hard enough and often dangerous. You wait until midnight, stop the webserver, make a database backup, deploy the new schema and then you hope that nothing goes wrong while it updates that many documents."}),"\n",(0,a.jsxs)(t.p,{children:["With offline first applications, it is even more fun. You do not only have to migrate your local backend database, you also have to provide a ",(0,a.jsx)(t.a,{href:"/migration-schema.html",children:"migration strategy"})," for all of these client databases out there. And you also cannot migrate everything at the same time. The clients can only migrate when the new code was updated from the appstore or the user visited your website again. This could be today or in a few weeks."]}),"\n",(0,a.jsx)(t.h2,{id:"performance-is-not-native",children:"Performance is not native"}),"\n",(0,a.jsxs)(t.p,{children:["When you create a web based offline first app, you cannot store data directly on the users filesystem. In fact there are many layers between your JavaScript code and the filesystem of the operation system. Let's say you insert a document in ",(0,a.jsx)(t.a,{href:"https://github.com/pubkey/rxdb",children:"RxDB"}),":"]}),"\n",(0,a.jsxs)(t.ul,{children:["\n",(0,a.jsx)(t.li,{children:"You call the RxDB API to validate and store the data"}),"\n",(0,a.jsx)(t.li,{children:"RxDB calls the underlying RxStorage, for example PouchDB."}),"\n",(0,a.jsx)(t.li,{children:"Pouchdb calls its underlying storage adapter"}),"\n",(0,a.jsx)(t.li,{children:"The storage adapter calls IndexedDB"}),"\n",(0,a.jsx)(t.li,{children:"The browser runs its internal handling of the IndexedDB API"}),"\n",(0,a.jsxs)(t.li,{children:["In most browsers IndexedDB is implemented on ",(0,a.jsx)(t.a,{href:"https://hackaday.com/2021/08/24/sqlite-on-the-web-absurd-sql/",children:"top of SQLite"})]}),"\n",(0,a.jsx)(t.li,{children:"SQLite calls the OS to store the data in the filesystem"}),"\n"]}),"\n",(0,a.jsx)(t.p,{children:"All these layers are abstractions. They are not build for exactly that one use case, so you lose some performance to tunnel the data through the layer itself, and you also lose some performance because the abstraction does not exactly provide the functions that are needed by the layer above and it will overfetch data."}),"\n",(0,a.jsx)(t.p,{children:"You will not find a benchmark comparison between how many transactions per second you can run on the browser compared to a server based database. Because it makes no sense to compare them. Browsers are slower, JavaScript is slower."}),"\n",(0,a.jsxs)(t.blockquote,{children:["\n",(0,a.jsx)(t.p,{children:(0,a.jsx)(t.strong,{children:"Is it fast enough?"})}),"\n"]}),"\n",(0,a.jsxs)(t.p,{children:['What you really care about is "Is it fast enough?". For most use cases, the answer is ',(0,a.jsx)(t.code,{children:"yes"}),'. Offline first apps are UI based and you do not need to process a million transactions per second, because your user will not click the save button that often. "Fast enough" means that the data is processed in under 16 milliseconds so that you can render the updated UI in the next frame. This is of course not true for all use cases, so you better think about the performance limit before starting with the implementation.']}),"\n",(0,a.jsx)(t.h2,{id:"nothing-is-predictable",children:"Nothing is predictable"}),"\n",(0,a.jsx)(t.p,{children:"You have a PostgreSQL database and run a query over 1000ths of rows, which takes 200 milliseconds. Works great, so you now want to do something similar at the client device in your offline first app. How long does it take? You cannot know because people have different devices, and even equal devices have different things running in the background that slow the CPUs. So you cannot predict performance and as described above, you cannot even predict the storage limit. So if your app does heavy data analytics, you might better run everything on the backend and just send the results to the client."}),"\n",(0,a.jsx)(t.h2,{id:"there-is-no-relational-data",children:"There is no relational data"}),"\n",(0,a.jsxs)(t.p,{children:["I started creating ",(0,a.jsx)(t.a,{href:"https://github.com/pubkey/rxdb",children:"RxDB"})," many years ago and while still maintaining it, I often worked with all these other offline first databases out there. RxDB and all of these other ones, are based on some kind of document databases similar to NoSQL. Often people want to have a relational database like the SQL one they use at the backend."]}),"\n",(0,a.jsxs)(t.p,{children:["So why are there no real relations in offline first databases? I could answer with these arguments like how JavaScript works better with document based data, how performance is better when having no joins or even how NoSQL queries are more composable. But the truth is, everything is NoSQL because it makes replication easy. An SQL query that mutates data in different tables based on some selects and joins, cannot be partially replicated without breaking the client. You have foreign keys that point to other rows and if these rows are not replicated yet, you have a problem. To implement a robust ",(0,a.jsx)(t.a,{href:"/replication.html",children:"Sync Engine"})," for relational data, you need some stuff like a ",(0,a.jsx)(t.a,{href:"https://www.theverge.com/2012/11/26/3692392/google-spanner-atomic-clocks-GPS",children:"reliable atomic clock"})," and you have to block queries over multiple tables while a transaction replicated. ",(0,a.jsx)(t.a,{href:"https://youtu.be/iEFcmfmdh2w?t=607",children:"Watch this guy"})," implementing offline first replication on top of SQLite or read this ",(0,a.jsx)(t.a,{href:"https://github.com/supabase/supabase/discussions/357",children:"discussion"})," about implementing ",(0,a.jsx)(t.a,{href:"/replication-supabase.html",children:"offline first in supabase"}),"."]}),"\n",(0,a.jsx)(t.p,{children:"So creating replication for an SQL offline first database is way more work than just adding some network protocols on top of PostgreSQL. It might not even be possible for clients that have no reliable clock."}),"\n",(0,a.jsx)("p",{align:"center",children:(0,a.jsx)("img",{src:"./files/no-relational-data.png",alt:"no relational data",width:"250"})})]})}function u(e={}){const{wrapper:t}={...(0,s.R)(),...e.components};return t?(0,a.jsx)(t,{...e,children:(0,a.jsx)(d,{...e})}):d(e)}},8453(e,t,n){n.d(t,{R:()=>i,x:()=>r});var o=n(6540);const a={},s=o.createContext(a);function i(e){const t=o.useContext(s);return o.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function r(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:i(e.components),o.createElement(s.Provider,{value:t},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/6ae3580c.67a503bd.js b/docs/assets/js/6ae3580c.67a503bd.js
deleted file mode 100644
index 0c540bf1739..00000000000
--- a/docs/assets/js/6ae3580c.67a503bd.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[5320],{2325(e,n,s){s.r(n),s.d(n,{assets:()=>l,contentTitle:()=>a,default:()=>d,frontMatter:()=>t,metadata:()=>i,toc:()=>c});const i=JSON.parse('{"id":"replication","title":"\u2699\ufe0f RxDB realtime Sync Engine for Local-First Apps","description":"Replicate data in real-time with RxDB\'s offline-first Sync Engine. Learn about efficient syncing, conflict resolution, and advanced multi-tab support.","source":"@site/docs/replication.md","sourceDirName":".","slug":"/replication.html","permalink":"/replication.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"\u2699\ufe0f RxDB realtime Sync Engine for Local-First Apps","slug":"replication.html","description":"Replicate data in real-time with RxDB\'s offline-first Sync Engine. Learn about efficient syncing, conflict resolution, and advanced multi-tab support."},"sidebar":"tutorialSidebar","previous":{"title":"Electron","permalink":"/electron.html"},"next":{"title":"HTTP Replication","permalink":"/replication-http.html"}}');var r=s(4848),o=s(8453);const t={title:"\u2699\ufe0f RxDB realtime Sync Engine for Local-First Apps",slug:"replication.html",description:"Replicate data in real-time with RxDB's offline-first Sync Engine. Learn about efficient syncing, conflict resolution, and advanced multi-tab support."},a="RxDB's realtime Sync Engine for Local-First Apps",l={},c=[{value:"Design Decisions of the Sync Engine",id:"design-decisions-of-the-sync-engine",level:2},{value:"The Sync Engine on the document level",id:"the-sync-engine-on-the-document-level",level:2},{value:"The Sync Engine on the transfer level",id:"the-sync-engine-on-the-transfer-level",level:2},{value:"Checkpoint iteration",id:"checkpoint-iteration",level:3},{value:"Event observation",id:"event-observation",level:3},{value:"Data layout on the server",id:"data-layout-on-the-server",level:2},{value:"Conflict handling",id:"conflict-handling",level:2},{value:"replicateRxCollection()",id:"replicaterxcollection",level:2},{value:"Multi Tab support",id:"multi-tab-support",level:2},{value:"Error handling",id:"error-handling",level:2},{value:"Security",id:"security",level:2},{value:"RxReplicationState",id:"rxreplicationstate",level:2},{value:"Observable",id:"observable",level:3},{value:"awaitInitialReplication()",id:"awaitinitialreplication",level:3},{value:"awaitInSync()",id:"awaitinsync",level:3},{value:"awaitInitialReplication() and awaitInSync() should not be used to block the application",id:"awaitinitialreplication-and-awaitinsync-should-not-be-used-to-block-the-application",level:4},{value:"reSync()",id:"resync",level:3},{value:"cancel()",id:"cancel",level:3},{value:"pause()",id:"pause",level:3},{value:"remove()",id:"remove",level:3},{value:"isStopped()",id:"isstopped",level:3},{value:"isPaused()",id:"ispaused",level:3},{value:"Setting a custom initialCheckpoint",id:"setting-a-custom-initialcheckpoint",level:3},{value:"toggleOnDocumentVisible",id:"toggleondocumentvisible",level:3},{value:"Attachment replication",id:"attachment-replication",level:2},{value:"Pull-Only Replication",id:"pull-only-replication",level:2},{value:"Partial Sync with RxDB",id:"partial-sync-with-rxdb",level:2},{value:"Idea: One Collection, Multiple Replications",id:"idea-one-collection-multiple-replications",level:3},{value:"Diffy-Sync when Revisiting a Chunk",id:"diffy-sync-when-revisiting-a-chunk",level:3},{value:"Partial Sync in a Local-First Business Application",id:"partial-sync-in-a-local-first-business-application",level:3},{value:"FAQ",id:"faq",level:2}];function h(e){const n={a:"a",admonition:"admonition",br:"br",code:"code",em:"em",figure:"figure",h1:"h1",h2:"h2",h3:"h3",h4:"h4",header:"header",li:"li",mdxAdmonitionTitle:"mdxAdmonitionTitle",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...(0,o.R)(),...e.components},{Details:s}=n;return s||function(e,n){throw new Error("Expected "+(n?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}("Details",!0),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.header,{children:(0,r.jsx)(n.h1,{id:"rxdbs-realtime-sync-engine-for-local-first-apps",children:"RxDB's realtime Sync Engine for Local-First Apps"})}),"\n",(0,r.jsxs)(n.p,{children:["The RxDB Sync Engine provides the ability to sync the database state in ",(0,r.jsx)(n.strong,{children:"realtime"})," between the clients and the server."]}),"\n",(0,r.jsxs)(n.p,{children:["The backend server does not have to be a RxDB instance; you can build a replication with ",(0,r.jsx)(n.strong,{children:"any infrastructure"}),".\nFor example you can replicate with a ",(0,r.jsx)(n.a,{href:"/replication-graphql.html",children:"custom GraphQL endpoint"})," or a ",(0,r.jsx)(n.a,{href:"/replication-http.html",children:"HTTP server"})," on top of a PostgreSQL or MongoDB database."]}),"\n",(0,r.jsxs)(n.p,{children:["The replication is made to support the ",(0,r.jsx)(n.a,{href:"/articles/local-first-future.html",children:"Local-First"})," paradigm, so that when the client goes ",(0,r.jsx)(n.a,{href:"/offline-first.html",children:"offline"}),", the RxDB ",(0,r.jsx)(n.a,{href:"/rx-database.html",children:"database"})," can still read and write ",(0,r.jsx)(n.a,{href:"/articles/local-database.html",children:"locally"})," and will continue the replication when the client goes online again."]}),"\n",(0,r.jsx)(n.h2,{id:"design-decisions-of-the-sync-engine",children:"Design Decisions of the Sync Engine"}),"\n",(0,r.jsx)(n.p,{children:"In contrast to other (server-side) database replication protocols, the RxDB Sync Engine was designed with these goals in mind:"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Easy to Understand"}),': The sync engine works in a simple "git-like" way that is easy to understand for an average developer. You only have to understand how three simple endpoints work.']}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Complex Parts are in RxDB, not in the Backend"}),": The complex parts of the Sync Engine, like ",(0,r.jsx)(n.a,{href:"/transactions-conflicts-revisions.html",children:"conflict handling"})," or offline-online switches, are implemented inside of RxDB itself. This makes creating a compatible backend very easy."]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Compatible with any Backend"}),': Because the complex parts are in RxDB, the backend can be "dump" which makes the protocol compatible to almost every backend. No matter if you use PostgreSQL, MongoDB or anything else.']}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Performance is optimized for Client Devices and Browsers"}),": By grouping updates and fetches into batches, it is faster to transfer and easier to compress. Client devices and browsers can also process this data faster, for example running ",(0,r.jsx)(n.code,{children:"JSON.parse()"})," on a chunk of data is faster than calling it once per row. Same goes for how client side storage like ",(0,r.jsx)(n.a,{href:"/rx-storage-indexeddb.html",children:"IndexedDB"})," or ",(0,r.jsx)(n.a,{href:"/rx-storage-opfs.html",children:"OPFS"})," works where writing data in bulks is faster."]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Offline-First Support"}),": By incorporating conflict handling at the client side, the protocol fully supports ",(0,r.jsx)(n.a,{href:"/offline-first.html",children:"offline-first apps"}),". Users can continue making changes while offline, and those updates will sync seamlessly once a connection is reestablished - all without risking data loss or having undefined behavior."]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"Multi-Tab Support"}),": When RxDB is used in a browser and multiple tabs of the same application are opened, only exactly one runs the replication at any given time. This reduces client- and backend resources."]}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"the-sync-engine-on-the-document-level",children:"The Sync Engine on the document level"}),"\n",(0,r.jsx)(n.p,{children:"On the RxDocument level, the replication works like git, where the fork/client contains all new writes and must be merged with the master/server before it can push its new state to the master/server."}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{children:"A---B-----------D master/server state\n \\ /\n B---C---D fork/client state\n"})}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:["The client pulls the latest state ",(0,r.jsx)(n.code,{children:"B"})," from the master."]}),"\n",(0,r.jsxs)(n.li,{children:["The client does some changes ",(0,r.jsx)(n.code,{children:"C+D"}),"."]}),"\n",(0,r.jsxs)(n.li,{children:["The client pushes these changes to the master by sending the latest known master state ",(0,r.jsx)(n.code,{children:"B"})," and the new client state ",(0,r.jsx)(n.code,{children:"D"})," of the document."]}),"\n",(0,r.jsxs)(n.li,{children:["If the master state is equal to the latest master ",(0,r.jsx)(n.code,{children:"B"})," state of the client, the new client state ",(0,r.jsx)(n.code,{children:"D"})," is set as the latest master state."]}),"\n",(0,r.jsx)(n.li,{children:"If the master also had changes and so the latest master change is different then the one that the client assumes, we have a conflict that has to be resolved on the client."}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"the-sync-engine-on-the-transfer-level",children:"The Sync Engine on the transfer level"}),"\n",(0,r.jsxs)(n.p,{children:["When document states are transferred, all handlers use batches of documents for better performance.\nThe server ",(0,r.jsx)(n.strong,{children:"must"})," implement the following methods to be compatible with the replication:"]}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"pullHandler"})," Get the last checkpoint (or null) as input. Returns all documents that have been written ",(0,r.jsx)(n.strong,{children:"after"})," the given checkpoint. Also returns the checkpoint of the latest written returned document."]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"pushHandler"})," a method that can be called by the client to send client side writes to the master. It gets an array with the ",(0,r.jsx)(n.code,{children:"assumedMasterState"})," and the ",(0,r.jsx)(n.code,{children:"newForkState"})," of each document write as input. It must return an array that contains the master document states of all conflicts. If there are no conflicts, it must return an empty array."]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.strong,{children:"pullStream"})," an observable that emits batches of all master writes and the latest checkpoint of the write batches."]}),"\n"]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{children:" +--------+ +--------+ \n | | pullHandler() | |\n | |---------------------\x3e | | \n | | | | \n | | | |\n | Client | pushHandler() | Server |\n | |---------------------\x3e | | \n | | | |\n | | pullStream$ | | \n | | <-------------------------| | \n +--------+ +--------+\n"})}),"\n",(0,r.jsxs)(n.p,{children:["The replication runs in two ",(0,r.jsx)(n.strong,{children:"different modes"}),":"]}),"\n",(0,r.jsx)(n.h3,{id:"checkpoint-iteration",children:"Checkpoint iteration"}),"\n",(0,r.jsxs)(n.p,{children:["On first initial replication, or when the client comes online again, a checkpoint based iteration is used to catch up with the server state.\nA checkpoint is a subset of the fields of the last pulled document. When the checkpoint is send to the backend via ",(0,r.jsx)(n.code,{children:"pullHandler()"}),", the backend must be able to respond with all documents that have been written ",(0,r.jsx)(n.strong,{children:"after"})," the given checkpoint.\nFor example if your documents contain an ",(0,r.jsx)(n.code,{children:"id"})," and an ",(0,r.jsx)(n.code,{children:"updatedAt"})," field, these two can be used as checkpoint."]}),"\n",(0,r.jsxs)(n.p,{children:["When the checkpoint iteration reaches the last checkpoint, where the backend returns an empty array because there are no newer documents, the replication will automatically switch to the ",(0,r.jsx)(n.code,{children:"event observation"})," mode."]}),"\n",(0,r.jsx)(n.h3,{id:"event-observation",children:"Event observation"}),"\n",(0,r.jsxs)(n.p,{children:["While the client is connected to the backend, the events from the backend are observed via ",(0,r.jsx)(n.code,{children:"pullStream$"})," and persisted to the client."]}),"\n",(0,r.jsxs)(n.p,{children:["If your backend for any reason is not able to provide a full ",(0,r.jsx)(n.code,{children:"pullStream$"})," that contains all events and the checkpoint, you can instead only emit ",(0,r.jsx)(n.code,{children:"RESYNC"})," events that tell RxDB that anything unknown has changed on the server and it should run the pull replication via ",(0,r.jsx)(n.a,{href:"#checkpoint-iteration",children:"checkpoint iteration"}),"."]}),"\n",(0,r.jsxs)(n.p,{children:["When the client goes offline and online again, it might happen that the ",(0,r.jsx)(n.code,{children:"pullStream$"})," has missed out some events. Therefore the ",(0,r.jsx)(n.code,{children:"pullStream$"})," should also emit a ",(0,r.jsx)(n.code,{children:"RESYNC"})," event each time the client reconnects, so that the client can become in sync with the backend via the ",(0,r.jsx)(n.a,{href:"#checkpoint-iteration",children:"checkpoint iteration"})," mode."]}),"\n",(0,r.jsx)(n.h2,{id:"data-layout-on-the-server",children:"Data layout on the server"}),"\n",(0,r.jsx)(n.p,{children:"To use the replication you first have to ensure that:"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.strong,{children:"documents are deterministic sortable by their last write time"})}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.em,{children:"deterministic"})," means that even if two documents have the same ",(0,r.jsx)(n.em,{children:"last write time"}),", they have a predictable sort order.\nThis is most often ensured by using the ",(0,r.jsx)(n.em,{children:"primaryKey"})," as second sort parameter as part of the checkpoint."]}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:["\n",(0,r.jsx)(n.p,{children:(0,r.jsxs)(n.strong,{children:["documents are never deleted, instead the ",(0,r.jsx)(n.code,{children:"_deleted"})," field is set to ",(0,r.jsx)(n.code,{children:"true"}),"."]})}),"\n",(0,r.jsx)(n.p,{children:"This is needed so that the deletion state of a document exists in the database and can be replicated with other instances. If your backend uses a different field to mark deleted documents, you have to transform the data in the push/pull handlers or with the modifiers."}),"\n"]}),"\n"]}),"\n",(0,r.jsx)(n.p,{children:"For example if your documents look like this:"}),"\n",(0,r.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,r.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,r.jsxs)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" docData"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "id"'}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "foobar"'}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "name"'}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "Alice"'}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "lastName"'}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "Wilson"'}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * Contains the last write timestamp"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * so all documents writes can be sorted by that value"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * when they are fetched from the remote instance."})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "updatedAt"'}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 1564483474"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * Instead of physically deleting documents,"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * a deleted document gets replicated."})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "_deleted"'}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" false"})]}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"}"})})]})})}),"\n",(0,r.jsxs)(n.p,{children:["Then your data is always sortable by ",(0,r.jsx)(n.code,{children:"updatedAt"}),". This ensures that when RxDB fetches 'new' changes via ",(0,r.jsx)(n.code,{children:"pullHandler()"}),", it can send the latest ",(0,r.jsx)(n.code,{children:"updatedAt+id"})," checkpoint to the remote endpoint and then receive all newer documents."]}),"\n",(0,r.jsxs)(n.p,{children:["By default, the field is ",(0,r.jsx)(n.code,{children:"_deleted"}),". If your remote endpoint uses a different field to mark deleted documents, you can set the ",(0,r.jsx)(n.code,{children:"deletedField"})," in the replication options which will automatically map the field on all pull and push requests."]}),"\n",(0,r.jsx)(n.h2,{id:"conflict-handling",children:"Conflict handling"}),"\n",(0,r.jsx)(n.p,{children:"When multiple clients (or the server) modify the same document at the same time (or when they are offline), it can happen that a conflict arises during the replication."}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{children:"A---B1---C1---X master/server state\n \\ /\n B1---C2 fork/client state\n"})}),"\n",(0,r.jsxs)(n.p,{children:["In the case above, the client would tell the master to move the document state from ",(0,r.jsx)(n.code,{children:"B1"})," to ",(0,r.jsx)(n.code,{children:"C2"})," by calling ",(0,r.jsx)(n.code,{children:"pushHandler()"}),". But because the actual master state is ",(0,r.jsx)(n.code,{children:"C1"})," and not ",(0,r.jsx)(n.code,{children:"B1"}),", the master would reject the write by sending back the actual master state ",(0,r.jsx)(n.code,{children:"C1"}),".\n",(0,r.jsx)(n.strong,{children:"RxDB resolves all conflicts on the client"})," so it would call the conflict handler of the ",(0,r.jsx)(n.code,{children:"RxCollection"})," and create a new document state ",(0,r.jsx)(n.code,{children:"D"})," that can then be written to the master."]}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{children:"A---B1---C1---X---D master/server state\n \\ / \\ /\n B1---C2---D fork/client state\n"})}),"\n",(0,r.jsxs)(n.p,{children:["The default conflict handler will always drop the fork state and use the master state. This ensures that clients that are offline for a very long time, do not accidentally overwrite other peoples changes when they go online again.\nYou can specify a custom conflict handler by setting the property ",(0,r.jsx)(n.code,{children:"conflictHandler"})," when calling ",(0,r.jsx)(n.code,{children:"addCollection()"}),"."]}),"\n",(0,r.jsxs)(n.p,{children:["Learn how to create a ",(0,r.jsx)(n.a,{href:"/transactions-conflicts-revisions.html#custom-conflict-handler",children:"custom conflict handler"}),"."]}),"\n",(0,r.jsx)(n.h2,{id:"replicaterxcollection",children:"replicateRxCollection()"}),"\n",(0,r.jsxs)(n.p,{children:["You can start the replication of a single ",(0,r.jsx)(n.code,{children:"RxCollection"})," by calling ",(0,r.jsx)(n.code,{children:"replicateRxCollection()"})," like in the following:"]}),"\n",(0,r.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,r.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,r.jsxs)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" { replicateRxCollection } "}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/replication'"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" lastOfArray"})}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb'"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" replicationState"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" replicateRxCollection"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" collection"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" myRxCollection"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * An id for the replication to identify it"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * and so that RxDB is able to resume the replication on app reload."})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * If you replicate with a remote server, it is recommended to put the"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * server url into the replicationIdentifier."})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" replicationIdentifier"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'my-rest-replication-to-https://example.com/api/sync'"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * By default it will do an ongoing realtime replication."})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * By settings live: false the replication will run once until the local state"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * is in sync with the remote state, then it will cancel itself."})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * (optional), default is true."})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" live"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" true"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * Time in milliseconds after when a failed backend request"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * has to be retried."})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * This time will be skipped if a offline->online switch is detected"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * via navigator.onLine"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * (optional), default is 5 seconds."})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" retryTime"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 5"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" *"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 1000"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * When multiInstance is true, like when you use RxDB in multiple browser tabs,"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * the replication should always run in only one of the open browser tabs."})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * If waitForLeadership is true, it will wait until the current instance is leader."})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * If waitForLeadership is false, it will start replicating, even if it is not leader."})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * [default=true]"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" waitForLeadership"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" true"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * If this is set to false,"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * the replication will not start automatically"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * but will wait for replicationState.start() being called."})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * (optional), default is true"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" autoStart"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" true"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * Custom deleted field, the boolean property of the document data that"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * marks a document as being deleted."})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * If your backend uses a different fieldname then '_deleted', set the fieldname here."})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * RxDB will still store the documents internally with '_deleted', setting this field"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * only maps the data on the data layer."})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * "})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * If a custom deleted field contains a non-boolean value, the deleted state"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * of the documents depends on if the value is truthy or not. So instead of providing a boolean * * deleted value, you could also work with using a 'deletedAt' timestamp instead."})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * "})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * [default='_deleted']"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" deletedField"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'deleted'"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * Optional,"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * only needed when you want to replicate local changes to the remote instance."})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" push"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * Push handler"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" async"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" handler"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(docs) {"})]}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * Push the local documents to a remote REST server."})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" rawResponse"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" fetch"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'https://example.com/api/sync/push'"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" method"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'POST'"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" headers"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'Accept'"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'application/json'"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'Content-Type'"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'application/json'"})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" body"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" JSON"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".stringify"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({ docs })"})]}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" });"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * Contains an array with all conflicts that appeared during this push."})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * If there were no conflicts, return an empty array."})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" response"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" rawResponse"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".json"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" response;"})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * Batch size, optional"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * Defines how many documents will be given to the push handler at once."})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" batchSize"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 5"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * Modifies all documents before they are given to the push handler."})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * Can be used to swap out a custom deleted flag instead of the '_deleted' field."})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * If the push modifier return null, the document will be skipped and not send to the remote."})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * Notice that the modifier can be called multiple times and should not contain any side effects."})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * (optional)"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" modifier"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" d "}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" d"})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * Optional,"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * only needed when you want to replicate remote changes to the local state."})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" pull"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * Pull handler"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" async"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" handler"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(lastCheckpoint"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" batchSize) {"})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" minTimestamp"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" lastCheckpoint "}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"?"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" lastCheckpoint"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:".updatedAt "}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 0"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * In this example we replicate with a remote REST server"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" response"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" fetch"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" `https://example.com/api/sync/?minUpdatedAt="}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"${"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"minTimestamp"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"}"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:"&limit="}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"${"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"batchSize"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"}"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:"`"})]}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" );"})}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" documentsFromRemote"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" response"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".json"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * Contains the pulled documents from the remote."})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * Not that if documentsFromRemote.length < batchSize,"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * then RxDB assumes that there are no more un-replicated documents"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * on the backend, so the replication will switch to 'Event observation' mode."})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" documents"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" documentsFromRemote"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * The last checkpoint of the returned documents."})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * On the next call to the pull handler,"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * this checkpoint will be passed as 'lastCheckpoint'"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" checkpoint"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" documentsFromRemote"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"."}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"length"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ==="}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 0"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ?"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" lastCheckpoint "}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" id"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" lastOfArray"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(documentsFromRemote).id"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" updatedAt"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" lastOfArray"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(documentsFromRemote).updatedAt"})]}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" };"})}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" batchSize"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 10"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * Modifies all documents after they have been pulled"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * but before they are used by RxDB."})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * Notice that the modifier can be called multiple times and should not contain any side effects."})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * (optional)"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" modifier"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" d "}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" d"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * Stream of the backend document writes."})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * See below."})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * You only need a stream$ when you have set live=true"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" stream$"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" pullStream$"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".asObservable"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"()"})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"/**"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * Creating the pull stream for realtime replication."})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * Here we use a websocket but any other way of sending data to the client can be used,"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * like long polling or server-sent events."})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" pullStream$"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" new"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" Subject"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"<"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:"RxReplicationPullStreamItem"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"<"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"any"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" any"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:">>();"})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"let"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" firstOpen "}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" true"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" connectSocket"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"() {"})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" socket"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" new"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" WebSocket"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'wss://example.com/api/sync/stream'"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * When the backend sends a new batch of documents+checkpoint,"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * emit it into the stream$."})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * "})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * event.data must look like this"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * {"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * documents: ["})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * {"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * id: 'foobar',"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * _deleted: false,"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * updatedAt: 1234"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * }"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * ],"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * checkpoint: {"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * id: 'foobar',"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * updatedAt: 1234"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * }"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * }"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" socket"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"."}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:"onmessage"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" event "}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" pullStream$"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".next"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"event"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:".data);"})]}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * Automatically reconnect the socket on close and error."})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" socket"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"."}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:"onclose"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" () "}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" connectSocket"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" socket"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"."}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:"onerror"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" () "}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" socket"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".close"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" socket"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"."}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:"onopen"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" () "}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" if"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(firstOpen) {"})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" firstOpen "}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" false"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" } "}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"else"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * When the client is offline and goes online again,"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * it might have missed out events that happened on the server."})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * So we have to emit a RESYNC so that the replication goes"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * into 'Checkpoint iteration' mode until the client is in sync"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * and then it will go back into 'Event observation' mode again."})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" pullStream$"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".next"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'RESYNC'"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"}"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:" "})]})})}),"\n",(0,r.jsx)(n.h2,{id:"multi-tab-support",children:"Multi Tab support"}),"\n",(0,r.jsxs)(n.p,{children:["For better performance, the replication runs only in one instance when RxDB is used in multiple browser tabs or Node.js processes.\nBy setting ",(0,r.jsx)(n.code,{children:"waitForLeadership: false"})," you can enforce that each tab runs its own replication cycles.\nIf used in a multi instance setting, so when at database creation ",(0,r.jsx)(n.code,{children:"multiInstance: false"})," was not set,\nyou need to import the ",(0,r.jsx)(n.a,{href:"/leader-election.html",children:"leader election plugin"})," so that RxDB can know how many instances exist and which browser tab should run the replication."]}),"\n",(0,r.jsx)(n.h2,{id:"error-handling",children:"Error handling"}),"\n",(0,r.jsxs)(n.p,{children:["When sending a document to the remote fails for any reason, RxDB will send it again in a later point in time.\nThis happens for ",(0,r.jsx)(n.strong,{children:"all"})," errors. The document write could have already reached the remote instance and be processed, while only the answering fails.\nThe remote instance must be designed to handle this properly and to not crash on duplicate data transmissions.\nDepending on your use case, it might be ok to just write the duplicate document data again.\nBut for a more resilient error handling you could compare the last write timestamps or add a unique write id field to the document. This field can then be used to detect duplicates and ignore re-send data."]}),"\n",(0,r.jsxs)(n.p,{children:["Also the replication has an ",(0,r.jsx)(n.code,{children:".error$"})," stream that emits all ",(0,r.jsx)(n.code,{children:"RxError"})," objects that arise during replication.\nNotice that these errors contain an inner ",(0,r.jsx)(n.code,{children:".parameters.errors"})," field that contains the original error. Also they contain a ",(0,r.jsx)(n.code,{children:".parameters.direction"})," field that indicates if the error was thrown during ",(0,r.jsx)(n.code,{children:"pull"})," or ",(0,r.jsx)(n.code,{children:"push"}),". You can use these to properly handle errors. For example when the client is outdated, the server might respond with a ",(0,r.jsx)(n.code,{children:"426 Upgrade Required"})," error code that can then be used to force a page reload."]}),"\n",(0,r.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,r.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,r.jsxs)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"replicationState"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"error$"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".subscribe"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"((error) "}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" if"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" error"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"."}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"parameters"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:".errors "}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"&&"})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" error"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"."}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"parameters"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:".errors["}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"0"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"] "}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"&&"})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" error"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"."}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"parameters"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:".errors["}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"0"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"].code "}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"==="}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 426"})]}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" ) {"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // client is outdated -> enforce a page reload"})}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" location"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".reload"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,r.jsx)(n.h2,{id:"security",children:"Security"}),"\n",(0,r.jsxs)(n.p,{children:["Be aware that client side clocks can never be trusted. When you have a client-backend replication, the backend should overwrite the ",(0,r.jsx)(n.code,{children:"updatedAt"})," timestamp or use another field, when it receives the change from the client."]}),"\n",(0,r.jsx)(n.h2,{id:"rxreplicationstate",children:"RxReplicationState"}),"\n",(0,r.jsxs)(n.p,{children:["The function ",(0,r.jsx)(n.code,{children:"replicateRxCollection()"})," returns a ",(0,r.jsx)(n.code,{children:"RxReplicationState"})," that can be used to manage and observe the replication."]}),"\n",(0,r.jsx)(n.h3,{id:"observable",children:"Observable"}),"\n",(0,r.jsxs)(n.p,{children:["To observe the replication, the ",(0,r.jsx)(n.code,{children:"RxReplicationState"})," has some ",(0,r.jsx)(n.code,{children:"Observable"})," properties:"]}),"\n",(0,r.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,r.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,r.jsxs)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// emits each document that was received from the remote"})}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"myRxReplicationState"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"received$"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".subscribe"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(doc "}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" console"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".dir"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(doc));"})]}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// emits each document that was send to the remote"})}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"myRxReplicationState"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"sent$"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".subscribe"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(doc "}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" console"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".dir"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(doc));"})]}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// emits all errors that happen when running the push- & pull-handlers."})}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"myRxReplicationState"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"error$"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".subscribe"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(error "}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" console"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".dir"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(error));"})]}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// emits true when the replication was canceled, false when not."})}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"myRxReplicationState"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"canceled$"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".subscribe"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(bool "}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" console"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".dir"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(bool));"})]}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// emits true when a replication cycle is running, false when not."})}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"myRxReplicationState"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"active$"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".subscribe"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(bool "}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" console"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".dir"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(bool));"})]})]})})}),"\n",(0,r.jsx)(n.h3,{id:"awaitinitialreplication",children:"awaitInitialReplication()"}),"\n",(0,r.jsxs)(n.p,{children:["With ",(0,r.jsx)(n.code,{children:"awaitInitialReplication()"})," you can await the initial replication that is done when a full replication cycle was successful finished for the first time. The returned promise will never resolve if you cancel the replication before the initial replication can be done."]}),"\n",(0,r.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,r.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,r.jsx)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" myRxReplicationState"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".awaitInitialReplication"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]})})})}),"\n",(0,r.jsx)(n.h3,{id:"awaitinsync",children:"awaitInSync()"}),"\n",(0,r.jsxs)(n.p,{children:["Returns a ",(0,r.jsx)(n.code,{children:"Promise"})," that resolves when:"]}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.code,{children:"awaitInitialReplication()"})," has emitted."]}),"\n",(0,r.jsx)(n.li,{children:"All local data is replicated with the remote."}),"\n",(0,r.jsx)(n.li,{children:"No replication cycle is running or in retry-state."}),"\n"]}),"\n",(0,r.jsxs)(n.admonition,{type:"warning",children:[(0,r.jsxs)(n.p,{children:["When ",(0,r.jsx)(n.code,{children:"multiInstance: true"})," and ",(0,r.jsx)(n.code,{children:"waitForLeadership: true"})," and another tab is already running the replication, ",(0,r.jsx)(n.code,{children:"awaitInSync()"})," will not resolve until the other tab is closed and the replication starts in this tab."]}),(0,r.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,r.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,r.jsx)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" myRxReplicationState"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".awaitInSync"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]})})})})]}),"\n",(0,r.jsxs)(n.admonition,{type:"warning",children:[(0,r.jsx)(n.mdxAdmonitionTitle,{}),(0,r.jsxs)(n.h4,{id:"awaitinitialreplication-and-awaitinsync-should-not-be-used-to-block-the-application",children:[(0,r.jsx)(n.code,{children:"awaitInitialReplication()"})," and ",(0,r.jsx)(n.code,{children:"awaitInSync()"})," should not be used to block the application"]}),(0,r.jsxs)(n.p,{children:["A common mistake in RxDB usage is when developers want to block the app usage until the application is in sync.\nOften they just ",(0,r.jsx)(n.code,{children:"await"})," the promise of ",(0,r.jsx)(n.code,{children:"awaitInitialReplication()"})," or ",(0,r.jsx)(n.code,{children:"awaitInSync()"})," and show a loading spinner until they resolve. This is dangerous and should not be done because:"]}),(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:["When ",(0,r.jsx)(n.code,{children:"multiInstance: true"})," and ",(0,r.jsx)(n.code,{children:"waitForLeadership: true (default)"})," and another tab is already running the replication, ",(0,r.jsx)(n.code,{children:"awaitInitialReplication()"})," will not resolve until the other tab is closed and the replication starts in this tab."]}),"\n",(0,r.jsxs)(n.li,{children:["Your app can no longer be started when the device is offline because there the ",(0,r.jsx)(n.code,{children:"awaitInitialReplication()"})," will never resolve and the app cannot be used."]}),"\n"]}),(0,r.jsxs)(n.p,{children:["Instead you should store the last in-sync time in a ",(0,r.jsx)(n.a,{href:"/rx-local-document.html",children:"local document"})," and observe its value on all instances."]}),(0,r.jsx)(n.p,{children:"For example if you want to block clients from using the app if they have not been in sync for the last 24 hours, you could use this code:"}),(0,r.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,r.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,r.jsxs)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,r.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// update last-in-sync-flag each time replication is in sync"})}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" myCollection"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".insertLocal"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'last-in-sync'"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" { time"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 0"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" })"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".catch"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(); "}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// ensure flag exists"})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"myReplicationState"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"active$"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".pipe"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" mergeMap"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"async"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"() "}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" myReplicationState"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".awaitInSync"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" myCollection"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".upsertLocal"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'last-in-sync'"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" { time"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" Date"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".now"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"() })"})]}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" })"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:");"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// observe the flag and toggle loading spinner"})}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" showLoadingSpinner"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" oneDay"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 1000"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" *"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 60"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" *"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 60"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" *"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 24"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" firstValueFrom"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" myCollection"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".getLocal$"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'last-in-sync'"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:")"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".pipe"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" filter"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(d "}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" d"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".get"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'time'"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:") "}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:">"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" ("}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"Date"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".now"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"() "}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"-"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" oneDay))"})]}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" )"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:");"})}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" hideLoadingSpinner"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]})]})})})]}),"\n",(0,r.jsx)(n.h3,{id:"resync",children:"reSync()"}),"\n",(0,r.jsxs)(n.p,{children:["Triggers a ",(0,r.jsx)(n.code,{children:"RESYNC"})," cycle where the replication goes into ",(0,r.jsx)(n.a,{href:"#checkpoint-iteration",children:"checkpoint iteration"})," until the client is in sync with the backend. Used in unit tests or when no proper ",(0,r.jsx)(n.code,{children:"pull.stream$"})," can be implemented so that the client only knows that something has been changed but not what."]}),"\n",(0,r.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,r.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,r.jsx)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"myRxReplicationState"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".reSync"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]})})})}),"\n",(0,r.jsxs)(n.p,{children:["If your backend is not capable of sending events to the client at all, you could run ",(0,r.jsx)(n.code,{children:"reSync()"})," in an interval so that the client will automatically fetch server changes after some time at least."]}),"\n",(0,r.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,r.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,r.jsxs)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// trigger RESYNC each 10 seconds."})}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:"setInterval"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(() "}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" myRxReplicationState"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".reSync"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"()"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 10"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" *"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 1000"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:");"})]})]})})}),"\n",(0,r.jsx)(n.h3,{id:"cancel",children:"cancel()"}),"\n",(0,r.jsx)(n.p,{children:"Cancels the replication. Returns a promise that resolved when everything has been cleaned up."}),"\n",(0,r.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,r.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,r.jsx)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" myRxReplicationState"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".cancel"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]})})})}),"\n",(0,r.jsx)(n.h3,{id:"pause",children:"pause()"}),"\n",(0,r.jsxs)(n.p,{children:["Pauses a running replication. The replication can later be resumed with ",(0,r.jsx)(n.code,{children:"RxReplicationState.start()"}),"."]}),"\n",(0,r.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,r.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,r.jsxs)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" myRxReplicationState"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".pause"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" myRxReplicationState"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".start"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(); "}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// restart"})]})]})})}),"\n",(0,r.jsx)(n.h3,{id:"remove",children:"remove()"}),"\n",(0,r.jsxs)(n.p,{children:['Cancels the replication and deletes the metadata of the replication state. This can be used to restart the replication "from scratch". Calling ',(0,r.jsx)(n.code,{children:".remove()"})," will only delete the replication metadata, it will NOT delete the documents from the collection of the replication."]}),"\n",(0,r.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,r.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,r.jsx)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" myRxReplicationState"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".remove"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]})})})}),"\n",(0,r.jsx)(n.h3,{id:"isstopped",children:"isStopped()"}),"\n",(0,r.jsxs)(n.p,{children:["Returns ",(0,r.jsx)(n.code,{children:"true"})," if the replication is stopped. This can be if a non-live replication is finished or a replication got canceled."]}),"\n",(0,r.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,r.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"js","data-theme":"css-variables",children:(0,r.jsx)(n.code,{"data-language":"js","data-theme":"css-variables",style:{display:"grid"},children:(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"replicationState"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".isStopped"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(); "}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// true/false"})]})})})}),"\n",(0,r.jsx)(n.h3,{id:"ispaused",children:"isPaused()"}),"\n",(0,r.jsxs)(n.p,{children:["Returns ",(0,r.jsx)(n.code,{children:"true"})," if the replication is paused."]}),"\n",(0,r.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,r.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"js","data-theme":"css-variables",children:(0,r.jsx)(n.code,{"data-language":"js","data-theme":"css-variables",style:{display:"grid"},children:(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"replicationState"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".isPaused"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(); "}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// true/false"})]})})})}),"\n",(0,r.jsx)(n.h3,{id:"setting-a-custom-initialcheckpoint",children:"Setting a custom initialCheckpoint"}),"\n",(0,r.jsxs)(n.p,{children:["By default, the push replication will start from the beginning of time and push all documents from there to the remote.\nBy setting a custom ",(0,r.jsx)(n.code,{children:"push.initialCheckpoint"}),", you can tell the replication to only push writes that are newer than the given checkpoint."]}),"\n",(0,r.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,r.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,r.jsxs)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// store the latest checkpoint of a collection"})}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"let"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" lastLocalCheckpoint"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" any"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"myCollection"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"checkpoint$"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".subscribe"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(checkpoint "}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" lastLocalCheckpoint "}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" checkpoint);"})]}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// start the replication but only push documents that are newer than the lastLocalCheckpoint"})}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" replicationState"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" replicateRxCollection"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" collection"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" myCollection"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" replicationIdentifier"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'my-custom-replication-with-init-checkpoint'"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /* ... */"})}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" push"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" handler"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /* ... */"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" initialCheckpoint"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" lastLocalCheckpoint"})]}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,r.jsxs)(n.p,{children:["The same can be done for the other direction by setting a ",(0,r.jsx)(n.code,{children:"pull.initialCheckpoint"}),". Notice that here we need the remote checkpoint from the backend instead of the one from the RxDB storage."]}),"\n",(0,r.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,r.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,r.jsxs)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// get the last pull checkpoint from the server"})}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" lastRemoteCheckpoint"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" ("}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" fetch"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'http://example.com/pull-checkpoint'"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"))"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".json"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// start the replication but only pull documents that are newer than the lastRemoteCheckpoint"})}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" replicationState"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" replicateRxCollection"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" collection"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" myCollection"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" replicationIdentifier"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'my-custom-replication-with-init-checkpoint'"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /* ... */"})}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" pull"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" handler"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /* ... */"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" initialCheckpoint"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" lastRemoteCheckpoint"})]}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,r.jsx)(n.h3,{id:"toggleondocumentvisible",children:"toggleOnDocumentVisible"}),"\n",(0,r.jsxs)(n.p,{children:["Ensures replication continues running when the document is ",(0,r.jsx)(n.code,{children:"visible"}),". This helps avoid situations where the leader-elected tab becomes stale or is hibernated by the browser to save battery.",(0,r.jsx)(n.br,{}),"\n","When the tab becomes hidden, replication is automatically paused; when the tab becomes visible again (or the instance becomes leader), replication resumes."]}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"Default:"})," ",(0,r.jsx)(n.code,{children:"true"})]}),"\n",(0,r.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,r.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,r.jsxs)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" replicationState"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" replicateRxCollection"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" toggleOnDocumentVisible"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" true"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /* ... */"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,r.jsx)(n.h2,{id:"attachment-replication",children:"Attachment replication"}),"\n",(0,r.jsxs)(n.p,{children:["Attachment replication is supported in the RxDB Sync Engine itself. However not all replication plugins support it.\nIf you start the replication with a collection which has ",(0,r.jsx)(n.a,{href:"/rx-attachment.html",children:"enabled RxAttachments"})," attachments data will be added to all push- and write data."]}),"\n",(0,r.jsxs)(n.p,{children:["The pushed documents will contain an ",(0,r.jsx)(n.code,{children:"_attachments"})," object which contains:"]}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsx)(n.li,{children:"The attachment meta data (id, length, digest) of all non-attachments"}),"\n",(0,r.jsx)(n.li,{children:"The full attachment data of all attachments that have been updated/added from the client."}),"\n",(0,r.jsx)(n.li,{children:"Deleted attachments are spared out in the pushed document."}),"\n"]}),"\n",(0,r.jsx)(n.p,{children:"With this data, the backend can decide onto which attachments must be deleted, added or overwritten."}),"\n",(0,r.jsx)(n.p,{children:"Accordingly, the pulled document must contain the same data, if the backend has a new document state with updated attachments."}),"\n",(0,r.jsx)(n.h2,{id:"pull-only-replication",children:"Pull-Only Replication"}),"\n",(0,r.jsx)(n.p,{children:"With the replication protocol it is possible to do pull only replications where data is pulled from a backend but not pushed from the client. RxDB implements some performance optimizations for these like not storing server metadata on pull only streams."}),"\n",(0,r.jsx)(n.h2,{id:"partial-sync-with-rxdb",children:"Partial Sync with RxDB"}),"\n",(0,r.jsx)(n.p,{children:"Suppose you're building a Minecraft-like voxel game where the world can expand in every direction. Storing the entire map locally for offline use is impossible because the dataset could be massive. Yet you still want a local-first design so players can edit the game world offline and sync back to the server later."}),"\n",(0,r.jsx)(n.h3,{id:"idea-one-collection-multiple-replications",children:"Idea: One Collection, Multiple Replications"}),"\n",(0,r.jsxs)(n.p,{children:["You might define a single RxDB collection called ",(0,r.jsx)(n.code,{children:"db.voxels"}),', where each document represents a block or "voxel" (with fields like id, chunkId, coordinates, and type). With RxDB you can, instead of setting up ',(0,r.jsx)(n.em,{children:"one"})," replication that tries to fetch ",(0,r.jsx)(n.em,{children:"all"})," voxels, you create ",(0,r.jsx)(n.strong,{children:"separate replication states"})," for each ",(0,r.jsx)(n.em,{children:"chunk"})," of the world the player is currently near."]}),"\n",(0,r.jsxs)(n.p,{children:["When the player enters a particular chunk (say ",(0,r.jsx)(n.code,{children:"chunk-123"}),"), you ",(0,r.jsx)(n.strong,{children:"start a replication"})," dedicated to that chunk. On the server side, you have endpoints to ",(0,r.jsx)(n.strong,{children:"pull"})," only that chunk's voxels (e.g., GET ",(0,r.jsx)(n.code,{children:"/api/voxels/pull?chunkId=123"}),") and ",(0,r.jsx)(n.strong,{children:"push"})," local changes back (e.g., POST ",(0,r.jsx)(n.code,{children:"/api/voxels/push?chunkId=123"}),"). RxDB handles them similarly to any other offline-first setup, but each replication is filtered to only that chunk's data."]}),"\n",(0,r.jsxs)(n.p,{children:["When the player leaves ",(0,r.jsx)(n.code,{children:"chunk-123"})," and no longer needs it, you ",(0,r.jsx)(n.strong,{children:"stop"})," that replication. If the player moves to ",(0,r.jsx)(n.code,{children:"chunk-124"}),", you start a new replication for chunk 124. This ensures the game only downloads and syncs data relevant to the player's immediate location. Meanwhile, all edits made offline remain safely stored in the local database until a network connection is available."]}),"\n",(0,r.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,r.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,r.jsxs)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" activeReplications"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {}; "}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// chunkId -> replicationState"})]}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" startChunkReplication"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(chunkId) {"})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" if"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" (activeReplications[chunkId]) "}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"return"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" replicationId"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'voxels-chunk-'"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" +"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" chunkId;"})]}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" replicationState"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" replicateRxCollection"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" collection"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:".voxels"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" replicationIdentifier"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" replicationId"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" pull"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" async"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" handler"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(checkpoint"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" limit) {"})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" res"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" fetch"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" `/api/voxels/pull?chunkId="}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"${"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"chunkId"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"}"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:"&cp="}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"${"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"checkpoint"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"}"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:"&limit="}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"${"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"limit"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"}"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:"`"})]}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" );"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /* ... */"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" push"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" async"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" handler"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(changedDocs) {"})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" res"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" fetch"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:"`/api/voxels/push?chunkId="}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"${"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"chunkId"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"}"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:"`"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /* ... */"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" });"})}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" activeReplications[chunkId] "}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" replicationState;"})]}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"}"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" stopChunkReplication"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(chunkId) {"})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" rep"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" activeReplications[chunkId];"})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" if"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" (rep) {"})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" rep"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".cancel"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" delete"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" activeReplications[chunkId];"})]}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"}"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// Called whenever the player's location changes; "})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// dynamically start/stop replication for nearby chunks."})}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"function"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" onPlayerMove"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(neighboringChunkIds) {"})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" neighboringChunkIds"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".forEach"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(startChunkReplication);"})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" Object"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".keys"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(activeReplications)"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".forEach"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(cid "}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" if"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" ("}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"!"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"neighboringChunkIds"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".includes"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(cid)) {"})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" stopChunkReplication"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(cid);"})]}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" });"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"}"})})]})})}),"\n",(0,r.jsx)(n.h3,{id:"diffy-sync-when-revisiting-a-chunk",children:"Diffy-Sync when Revisiting a Chunk"}),"\n",(0,r.jsxs)(n.p,{children:['An added benefit of this multi-replication-state design is checkpointing. Each replication state has a unique "replication identifier," so the next time the player returns to ',(0,r.jsx)(n.code,{children:"chunk-123"}),", the local database knows what it already has and only fetches the differences without the need to re-download the entire chunk."]}),"\n",(0,r.jsx)(n.h3,{id:"partial-sync-in-a-local-first-business-application",children:"Partial Sync in a Local-First Business Application"}),"\n",(0,r.jsx)(n.p,{children:'Though a voxel world is an intuitive example, the same technique applies in enterprise scenarios where data sets are large but each user only needs a specific subset. You could spin up a new replication for each "permission group" or "region," so users only sync the records they\'re allowed to see. Or in a CRM, the replication might be filtered by the specific accounts or projects a user is currently handling. As soon as they switch to a different project, you stop the old replication and start one for the new scope.'}),"\n",(0,r.jsxs)(n.p,{children:["This ",(0,r.jsx)(n.strong,{children:"chunk-based"})," or ",(0,r.jsx)(n.strong,{children:"scope-based"}),' replication pattern keeps your local storage lean, reduces network overhead, and still gives users the offline, instant-feedback experience that local-first apps are known for. By dynamically creating (and canceling) replication states, you retain tight control over bandwidth usage and make the infinite (or very large) feasible. In a production app you would also "flag" the entities (with a ',(0,r.jsx)(n.code,{children:"pull.modifier"}),") by which replication state they came from, so that you can clean up the parts that you no longer need. --\x3e"]}),"\n",(0,r.jsx)(n.h2,{id:"faq",children:"FAQ"}),"\n",(0,r.jsxs)(s,{children:[(0,r.jsx)("summary",{children:"I have infinite loops in my replication, how to debug?"}),(0,r.jsx)("div",{children:(0,r.jsxs)(n.p,{children:["When you have infinite loops in your replication or random re-runs of http requests after some time, the reason is likely that your pull-handler\nis crashing. The debug this, add a log to the error$ handler to debug it. ",(0,r.jsx)(n.code,{children:"myRxReplicationState.error$.subscribe(err => console.log('error$', err))"}),"."]})})]})]})}function d(e={}){const{wrapper:n}={...(0,o.R)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(h,{...e})}):h(e)}},8453(e,n,s){s.d(n,{R:()=>t,x:()=>a});var i=s(6540);const r={},o=i.createContext(r);function t(e){const n=i.useContext(o);return i.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function a(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:t(e.components),i.createElement(o.Provider,{value:n},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/6bfb0089.d52978b6.js b/docs/assets/js/6bfb0089.d52978b6.js
deleted file mode 100644
index 2d2e9bf8ed9..00000000000
--- a/docs/assets/js/6bfb0089.d52978b6.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[6422],{6235(e,s,n){n.r(s),n.d(s,{assets:()=>t,contentTitle:()=>l,default:()=>h,frontMatter:()=>i,metadata:()=>r,toc:()=>d});const r=JSON.parse('{"id":"adapters","title":"PouchDB Adapters","description":"When you use PouchDB RxStorage, there are many adapters that define where the data has to be stored.","source":"@site/docs/adapters.md","sourceDirName":".","slug":"/adapters.html","permalink":"/adapters.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"PouchDB Adapters","slug":"adapters.html"}}');var a=n(4848),o=n(8453);const i={title:"PouchDB Adapters",slug:"adapters.html"},l="PouchDB Adapters",t={},d=[{value:"Memory",id:"memory",level:2},{value:"Memdown",id:"memdown",level:2},{value:"IndexedDB",id:"indexeddb",level:2},{value:"IndexedDB",id:"indexeddb-1",level:2},{value:"Websql",id:"websql",level:2},{value:"leveldown",id:"leveldown",level:2},{value:"Node-Websql",id:"node-websql",level:2},{value:"react-native-sqlite",id:"react-native-sqlite",level:2},{value:"asyncstorage",id:"asyncstorage",level:2},{value:"asyncstorage-down",id:"asyncstorage-down",level:2},{value:"cordova-sqlite",id:"cordova-sqlite",level:2}];function c(e){const s={a:"a",admonition:"admonition",code:"code",figure:"figure",h1:"h1",h2:"h2",header:"header",hr:"hr",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...(0,o.R)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(s.header,{children:(0,a.jsx)(s.h1,{id:"pouchdb-adapters",children:"PouchDB Adapters"})}),"\n",(0,a.jsxs)(s.p,{children:["When you use PouchDB ",(0,a.jsx)(s.code,{children:"RxStorage"}),", there are many adapters that define where the data has to be stored.\nDepending on which environment you work in, you can choose between different adapters. For example, in the browser you want to store the data inside of IndexedDB but on NodeJS you want to store the data on the filesystem."]}),"\n",(0,a.jsx)(s.p,{children:"This page is an overview over the different adapters with recommendations on what to use where."}),"\n",(0,a.jsx)(s.hr,{}),"\n",(0,a.jsx)(s.admonition,{type:"warning",children:(0,a.jsxs)(s.p,{children:["The PouchDB RxStorage ",(0,a.jsx)(s.a,{href:"/rx-storage-pouchdb.html",children:"is removed from RxDB"})," and can no longer be used in new projects. You should switch to a different ",(0,a.jsx)(s.a,{href:"/rx-storage.html",children:"RxStorage"}),"."]})}),"\n",(0,a.jsx)(s.hr,{}),"\n",(0,a.jsxs)(s.p,{children:["Please always ensure that your pouchdb adapter-version is the same as ",(0,a.jsx)(s.code,{children:"pouchdb-core"})," in the ",(0,a.jsx)(s.a,{href:"https://github.com/pubkey/rxdb/blob/master/package.json",children:"rxdb package.json"}),". Otherwise, you might have strange problems."]}),"\n",(0,a.jsx)(s.h1,{id:"any-environment",children:"Any environment"}),"\n",(0,a.jsx)(s.h2,{id:"memory",children:"Memory"}),"\n",(0,a.jsx)(s.p,{children:"In any environment, you can use the memory-adapter. It stores the data in the javascript runtime memory. This means it is not persistent and the data is lost when the process terminates."}),"\n",(0,a.jsx)(s.p,{children:"Use this adapter when:"}),"\n",(0,a.jsxs)(s.ul,{children:["\n",(0,a.jsx)(s.li,{children:"You want to have really good performance"}),"\n",(0,a.jsx)(s.li,{children:"You do not want persistent state, for example in your test suite"}),"\n"]}),"\n",(0,a.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,a.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"js","data-theme":"css-variables",children:(0,a.jsxs)(s.code,{"data-language":"js","data-theme":"css-variables",style:{display:"grid"},children:[(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" createRxDatabase"})}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb'"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" getRxStoragePouch"})}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/pouchdb'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// npm install pouchdb-adapter-memory --save"})}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"addPouchPlugin"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"require"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'pouchdb-adapter-memory'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"));"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" database"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'mydatabase'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStoragePouch"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'memory'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:")"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,a.jsx)(s.h2,{id:"memdown",children:"Memdown"}),"\n",(0,a.jsxs)(s.p,{children:["With RxDB you can also use adapters that implement ",(0,a.jsx)(s.a,{href:"https://github.com/Level/abstract-leveldown",children:"abstract-leveldown"})," like the memdown-adapter."]}),"\n",(0,a.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,a.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"js","data-theme":"css-variables",children:(0,a.jsxs)(s.code,{"data-language":"js","data-theme":"css-variables",style:{display:"grid"},children:[(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// npm install memdown --save"})}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// npm install pouchdb-adapter-leveldb --save"})}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"addPouchPlugin"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"require"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'pouchdb-adapter-leveldb'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:")); "}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// leveldown adapters need the leveldb plugin to work"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" memdown"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" require"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'memdown'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" database"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'mydatabase'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStoragePouch"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(memdown) "}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// the full leveldown-module"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,a.jsx)(s.h1,{id:"browser",children:"Browser"}),"\n",(0,a.jsx)(s.h2,{id:"indexeddb",children:"IndexedDB"}),"\n",(0,a.jsxs)(s.p,{children:["The IndexedDB adapter stores the data inside of ",(0,a.jsx)(s.a,{href:"https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API",children:"IndexedDB"})," use this in browsers environments as default."]}),"\n",(0,a.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,a.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"js","data-theme":"css-variables",children:(0,a.jsxs)(s.code,{"data-language":"js","data-theme":"css-variables",style:{display:"grid"},children:[(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// npm install pouchdb-adapter-idb --save"})}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"addPouchPlugin"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"require"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'pouchdb-adapter-idb'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"));"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" database"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'mydatabase'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStoragePouch"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'idb'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:")"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,a.jsx)(s.h2,{id:"indexeddb-1",children:"IndexedDB"}),"\n",(0,a.jsxs)(s.p,{children:["A reimplementation of the indexeddb adapter which uses native secondary indexes. Should have a much better performance but can behave ",(0,a.jsx)(s.a,{href:"https://github.com/pouchdb/pouchdb/tree/master/packages/node_modules/pouchdb-adapter-indexeddb#differences-between-couchdb-and-pouchdbs-find-implementations-under-indexeddb",children:"different on some edge cases"}),"."]}),"\n",(0,a.jsx)(s.admonition,{type:"note",children:(0,a.jsxs)(s.p,{children:["Multiple users have reported problems with this adapter. It is ",(0,a.jsx)(s.strong,{children:"not"})," recommended to use this adapter."]})}),"\n",(0,a.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,a.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"js","data-theme":"css-variables",children:(0,a.jsxs)(s.code,{"data-language":"js","data-theme":"css-variables",style:{display:"grid"},children:[(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// npm install pouchdb-adapter-indexeddb --save"})}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"addPouchPlugin"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"require"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'pouchdb-adapter-indexeddb'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"));"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" database"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'mydatabase'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStoragePouch"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'indexeddb'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:")"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,a.jsx)(s.h2,{id:"websql",children:"Websql"}),"\n",(0,a.jsxs)(s.p,{children:["This adapter stores the data inside of websql. It has a different performance behavior. ",(0,a.jsx)(s.a,{href:"https://softwareengineering.stackexchange.com/questions/220254/why-is-web-sql-database-deprecated",children:"Websql is deprecated"}),". You should not use the websql adapter unless you have a really good reason."]}),"\n",(0,a.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,a.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"js","data-theme":"css-variables",children:(0,a.jsxs)(s.code,{"data-language":"js","data-theme":"css-variables",style:{display:"grid"},children:[(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// npm install pouchdb-adapter-websql --save"})}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"addPouchPlugin"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"require"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'pouchdb-adapter-websql'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"));"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" database"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'mydatabase'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStoragePouch"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'websql'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:")"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,a.jsx)(s.h1,{id:"nodejs",children:"NodeJS"}),"\n",(0,a.jsx)(s.h2,{id:"leveldown",children:"leveldown"}),"\n",(0,a.jsxs)(s.p,{children:["This adapter uses a ",(0,a.jsx)(s.a,{href:"https://github.com/Level/leveldown",children:"LevelDB C++ binding"})," to store that data on the filesystem. It has the best performance compared to other filesystem adapters. This adapter can ",(0,a.jsx)(s.strong,{children:"not"})," be used when multiple nodejs-processes access the same filesystem folders for storage."]}),"\n",(0,a.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,a.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"js","data-theme":"css-variables",children:(0,a.jsxs)(s.code,{"data-language":"js","data-theme":"css-variables",style:{display:"grid"},children:[(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// npm install leveldown --save"})}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// npm install pouchdb-adapter-leveldb --save"})}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"addPouchPlugin"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"require"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'pouchdb-adapter-leveldb'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:")); "}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// leveldown adapters need the leveldb plugin to work"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" leveldown"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" require"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'leveldown'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" database"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'mydatabase'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStoragePouch"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(leveldown) "}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// the full leveldown-module"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// or use a specific folder to store the data"})}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" database"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" '/root/user/project/mydatabase'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStoragePouch"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(leveldown) "}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// the full leveldown-module"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,a.jsx)(s.h2,{id:"node-websql",children:"Node-Websql"}),"\n",(0,a.jsxs)(s.p,{children:["This adapter uses the ",(0,a.jsx)(s.a,{href:"https://github.com/nolanlawson/node-websql",children:"node-websql"}),"-shim to store data on the filesystem. Its advantages are that it does not need a leveldb build and it can be used when multiple nodejs-processes use the same database-files."]}),"\n",(0,a.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,a.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"js","data-theme":"css-variables",children:(0,a.jsxs)(s.code,{"data-language":"js","data-theme":"css-variables",style:{display:"grid"},children:[(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// npm install pouchdb-adapter-node-websql --save"})}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"addPouchPlugin"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"require"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'pouchdb-adapter-node-websql'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"));"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" database"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'mydatabase'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStoragePouch"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'websql'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:") "}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// the name of your adapter"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// or use a specific folder to store the data"})}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" database"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" '/root/user/project/mydatabase'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStoragePouch"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'websql'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:") "}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// the name of your adapter"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,a.jsx)(s.h1,{id:"react-native",children:"React-Native"}),"\n",(0,a.jsx)(s.h2,{id:"react-native-sqlite",children:"react-native-sqlite"}),"\n",(0,a.jsxs)(s.p,{children:["Uses ReactNative SQLite as storage. Claims to be much faster than the asyncstorage adapter.\nTo use it, you have to do some steps from ",(0,a.jsx)(s.a,{href:"https://dev.to/craftzdog/hacking-pouchdb-to-use-on-react-native-1gjh",children:"this tutorial"}),"."]}),"\n",(0,a.jsxs)(s.p,{children:["First install ",(0,a.jsx)(s.code,{children:"pouchdb-adapter-react-native-sqlite"})," and ",(0,a.jsx)(s.code,{children:"react-native-sqlite-2"}),"."]}),"\n",(0,a.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,a.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"bash","data-theme":"css-variables",children:(0,a.jsx)(s.code,{"data-language":"bash","data-theme":"css-variables",style:{display:"grid"},children:(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"npm"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string)"},children:" install"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string)"},children:" pouchdb-adapter-react-native-sqlite"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string)"},children:" react-native-sqlite-2"})]})})})}),"\n",(0,a.jsxs)(s.p,{children:["Then you have to ",(0,a.jsx)(s.a,{href:"https://facebook.github.io/react-native/docs/linking-libraries-ios",children:"link"})," the library."]}),"\n",(0,a.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,a.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"bash","data-theme":"css-variables",children:(0,a.jsx)(s.code,{"data-language":"bash","data-theme":"css-variables",style:{display:"grid"},children:(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"react-native"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string)"},children:" link"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string)"},children:" react-native-sqlite-2"})]})})})}),"\n",(0,a.jsx)(s.p,{children:"You also have to add some polyfills which are need but not included in react-native."}),"\n",(0,a.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,a.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"bash","data-theme":"css-variables",children:(0,a.jsx)(s.code,{"data-language":"bash","data-theme":"css-variables",style:{display:"grid"},children:(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"npm"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string)"},children:" install"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string)"},children:" base-64"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string)"},children:" events"})]})})})}),"\n",(0,a.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,a.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"js","data-theme":"css-variables",children:(0,a.jsxs)(s.code,{"data-language":"js","data-theme":"css-variables",style:{display:"grid"},children:[(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { decode"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" encode } "}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'base-64'"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"if"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ("}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"!"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"global"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".btoa) {"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" global"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".btoa "}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" encode;"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"}"})}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"if"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ("}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"!"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"global"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".atob) {"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" global"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".atob "}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" decode;"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"}"})}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// Avoid using node dependent modules"})}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"process"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".browser "}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" true"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]})]})})}),"\n",(0,a.jsx)(s.p,{children:"Then you can use it inside of your code."}),"\n",(0,a.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,a.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"js","data-theme":"css-variables",children:(0,a.jsxs)(s.code,{"data-language":"js","data-theme":"css-variables",style:{display:"grid"},children:[(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { createRxDatabase } "}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { addPouchPlugin"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" getRxStoragePouch } "}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/pouchdb'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" SQLite "}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'react-native-sqlite-2'"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" SQLiteAdapterFactory "}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'pouchdb-adapter-react-native-sqlite'"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" SQLiteAdapter"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" SQLiteAdapterFactory"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(SQLite)"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"addPouchPlugin"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(SQLiteAdapter);"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"addPouchPlugin"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"require"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'pouchdb-adapter-http'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"));"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" database"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'mydatabase'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStoragePouch"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'react-native-sqlite'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:") "}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// the name of your adapter"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,a.jsx)(s.h2,{id:"asyncstorage",children:"asyncstorage"}),"\n",(0,a.jsxs)(s.p,{children:["Uses react-native's ",(0,a.jsx)(s.a,{href:"https://facebook.github.io/react-native/docs/asyncstorage",children:"asyncstorage"}),"."]}),"\n",(0,a.jsx)(s.admonition,{type:"note",children:(0,a.jsxs)(s.p,{children:["There are ",(0,a.jsx)(s.a,{href:"https://github.com/pubkey/rxdb/issues/2286",children:"known problems"})," with this adapter and it is ",(0,a.jsx)(s.strong,{children:"not"})," recommended to use it."]})}),"\n",(0,a.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,a.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"js","data-theme":"css-variables",children:(0,a.jsxs)(s.code,{"data-language":"js","data-theme":"css-variables",style:{display:"grid"},children:[(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// npm install pouchdb-adapter-asyncstorage --save"})}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"addPouchPlugin"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"require"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'pouchdb-adapter-asyncstorage'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"));"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" database"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'mydatabase'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStoragePouch"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'node-asyncstorage'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:") "}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// the name of your adapter"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,a.jsx)(s.h2,{id:"asyncstorage-down",children:"asyncstorage-down"}),"\n",(0,a.jsx)(s.p,{children:"A leveldown adapter that stores on asyncstorage."}),"\n",(0,a.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,a.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"js","data-theme":"css-variables",children:(0,a.jsxs)(s.code,{"data-language":"js","data-theme":"css-variables",style:{display:"grid"},children:[(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// npm install pouchdb-adapter-asyncstorage-down --save"})}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"addPouchPlugin"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"require"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'pouchdb-adapter-leveldb'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:")); "}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// leveldown adapters need the leveldb plugin to work"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" asyncstorageDown"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" require"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'asyncstorage-down'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" database"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'mydatabase'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStoragePouch"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(asyncstorageDown) "}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// the full leveldown-module"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,a.jsx)(s.h1,{id:"cordova--phonegap--capacitor",children:"Cordova / Phonegap / Capacitor"}),"\n",(0,a.jsx)(s.h2,{id:"cordova-sqlite",children:"cordova-sqlite"}),"\n",(0,a.jsxs)(s.p,{children:["Uses cordova's global ",(0,a.jsx)(s.code,{children:"cordova.sqlitePlugin"}),". It can be used with cordova and capacitor."]}),"\n",(0,a.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,a.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"js","data-theme":"css-variables",children:(0,a.jsxs)(s.code,{"data-language":"js","data-theme":"css-variables",style:{display:"grid"},children:[(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// npm install pouchdb-adapter-cordova-sqlite --save"})}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"addPouchPlugin"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"require"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'pouchdb-adapter-cordova-sqlite'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"));"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"/**"})}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * In capacitor/cordova you have to wait until all plugins are loaded and 'window.sqlitePlugin'"})}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * can be accessed."})}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * This function waits until document deviceready is called which ensures that everything is loaded."})}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * "}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"@link"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" https://cordova.apache.org/docs/de/latest/cordova/events/events.deviceready.html"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"export"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" function"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" awaitCapacitorDeviceReady"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"()"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" Promise"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"<"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"void"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"> {"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" new"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" Promise"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(res "}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" document"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".addEventListener"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'deviceready'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" () "}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" res"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" });"})}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" });"})}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"}"})}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"async"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" function"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getDatabase"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(){"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // first wait until the deviceready event is fired"})}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" awaitCapacitorDeviceReady"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" database"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'mydatabase'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStoragePouch"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'cordova-sqlite'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // pouch settings are passed as second parameter"})}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // for ios devices, the cordova-sqlite adapter needs to know where to save the data."})}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" iosDatabaseLocation"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'Library'"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" )"})}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" });"})}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"}"})})]})})})]})}function h(e={}){const{wrapper:s}={...(0,o.R)(),...e.components};return s?(0,a.jsx)(s,{...e,children:(0,a.jsx)(c,{...e})}):c(e)}},8453(e,s,n){n.d(s,{R:()=>i,x:()=>l});var r=n(6540);const a={},o=r.createContext(a);function i(e){const s=r.useContext(o);return r.useMemo(function(){return"function"==typeof e?e(s):{...s,...e}},[s,e])}function l(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:i(e.components),r.createElement(o.Provider,{value:s},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/6cbff7c2.db294439.js b/docs/assets/js/6cbff7c2.db294439.js
deleted file mode 100644
index dbf309dea20..00000000000
--- a/docs/assets/js/6cbff7c2.db294439.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[7408],{7010(e,s,r){r.r(s),r.d(s,{assets:()=>l,contentTitle:()=>t,default:()=>h,frontMatter:()=>a,metadata:()=>n,toc:()=>c});const n=JSON.parse('{"id":"rx-storage-opfs","title":"Supercharged OPFS Database with RxDB","description":"Discover how to harness the Origin Private File System with RxDB\'s OPFS RxStorage for unrivaled performance and security in client-side data storage.","source":"@site/docs/rx-storage-opfs.md","sourceDirName":".","slug":"/rx-storage-opfs.html","permalink":"/rx-storage-opfs.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"Supercharged OPFS Database with RxDB","slug":"rx-storage-opfs.html","description":"Discover how to harness the Origin Private File System with RxDB\'s OPFS RxStorage for unrivaled performance and security in client-side data storage."},"sidebar":"tutorialSidebar","previous":{"title":"IndexedDB \ud83d\udc51 (Browser, Capacitor)","permalink":"/rx-storage-indexeddb.html"},"next":{"title":"Memory","permalink":"/rx-storage-memory.html"}}');var i=r(4848),o=r(8453);const a={title:"Supercharged OPFS Database with RxDB",slug:"rx-storage-opfs.html",description:"Discover how to harness the Origin Private File System with RxDB's OPFS RxStorage for unrivaled performance and security in client-side data storage."},t="Origin Private File System (OPFS) Database with the RxDB OPFS-RxStorage",l={},c=[{value:"What is OPFS",id:"what-is-opfs",level:2},{value:"OPFS limitations",id:"opfs-limitations",level:3},{value:"How the OPFS API works",id:"how-the-opfs-api-works",level:2},{value:"OPFS performance",id:"opfs-performance",level:2},{value:"Using OPFS as RxStorage in RxDB",id:"using-opfs-as-rxstorage-in-rxdb",level:2},{value:"Using OPFS in the main thread instead of a worker",id:"using-opfs-in-the-main-thread-instead-of-a-worker",level:2},{value:"Building a custom worker.js",id:"building-a-custom-workerjs",level:2},{value:"Setting usesRxDatabaseInWorker when a RxDatabase is also used inside of the worker",id:"setting-usesrxdatabaseinworker-when-a-rxdatabase-is-also-used-inside-of-the-worker",level:2},{value:"OPFS in Electron, React-Native or Capacitor.js",id:"opfs-in-electron-react-native-or-capacitorjs",level:2},{value:"Difference between File System Access API and Origin Private File System (OPFS)",id:"difference-between-file-system-access-api-and-origin-private-file-system-opfs",level:2},{value:"Learn more about OPFS:",id:"learn-more-about-opfs",level:2}];function d(e){const s={a:"a",code:"code",em:"em",figure:"figure",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...(0,o.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s.header,{children:(0,i.jsx)(s.h1,{id:"origin-private-file-system-opfs-database-with-the-rxdb-opfs-rxstorage",children:"Origin Private File System (OPFS) Database with the RxDB OPFS-RxStorage"})}),"\n",(0,i.jsxs)(s.p,{children:["With the ",(0,i.jsx)(s.a,{href:"https://rxdb.info/",children:"RxDB"})," OPFS storage you can build a fully featured database on top of the ",(0,i.jsx)(s.a,{href:"https://web.dev/opfs",children:"Origin Private File System"})," (OPFS) browser API. Compared to other storage solutions, it has a way better performance."]}),"\n",(0,i.jsx)(s.h2,{id:"what-is-opfs",children:"What is OPFS"}),"\n",(0,i.jsxs)(s.p,{children:["The ",(0,i.jsx)(s.strong,{children:"Origin Private File System (OPFS)"})," is a native browser storage API that allows web applications to manage files in a private, sandboxed, ",(0,i.jsx)(s.strong,{children:"origin-specific virtual filesystem"}),". Unlike ",(0,i.jsx)(s.a,{href:"/rx-storage-indexeddb.html",children:"IndexedDB"})," and ",(0,i.jsx)(s.a,{href:"/articles/localstorage.html",children:"LocalStorage"}),", which are optimized as object/key-value storage, OPFS provides more granular control for file operations, enabling byte-by-byte access, file streaming, and even low-level manipulations.\nOPFS is ideal for applications requiring ",(0,i.jsx)(s.strong,{children:"high-performance"})," file operations (",(0,i.jsx)(s.strong,{children:"3x-4x faster compared to IndexedDB"}),") inside of a client-side application, offering advantages like improved speed, more efficient use of resources, and enhanced security and privacy features."]}),"\n",(0,i.jsx)(s.h3,{id:"opfs-limitations",children:"OPFS limitations"}),"\n",(0,i.jsxs)(s.p,{children:["From the beginning of 2023, the Origin Private File System API is supported by ",(0,i.jsx)(s.a,{href:"https://caniuse.com/native-filesystem-api",children:"all modern browsers"})," like Safari, Chrome, Edge and Firefox. Only Internet Explorer is not supported and likely will never get support."]}),"\n",(0,i.jsxs)(s.p,{children:["It is important to know that the most performant synchronous methods like ",(0,i.jsx)(s.a,{href:"https://developer.mozilla.org/en-US/docs/Web/API/FileSystemSyncAccessHandle/read",children:(0,i.jsx)(s.code,{children:"read()"})})," and ",(0,i.jsx)(s.a,{href:"https://developer.mozilla.org/en-US/docs/Web/API/FileSystemSyncAccessHandle/write",children:(0,i.jsx)(s.code,{children:"write()"})})," of the OPFS API are ",(0,i.jsxs)(s.strong,{children:["only available inside of a ",(0,i.jsx)(s.a,{href:"/rx-storage-worker.html",children:"WebWorker"})]}),".\nThey cannot be used in the main thread, an iFrame or even a ",(0,i.jsx)(s.a,{href:"/rx-storage-shared-worker.html",children:"SharedWorker"}),".\nThe OPFS ",(0,i.jsx)(s.a,{href:"https://developer.mozilla.org/en-US/docs/Web/API/FileSystemFileHandle/createSyncAccessHandle",children:(0,i.jsx)(s.code,{children:"createSyncAccessHandle()"})})," method that gives you access to the synchronous methods is not exposed in the main thread, only in a Worker."]}),"\n",(0,i.jsxs)(s.p,{children:["While there is no concrete ",(0,i.jsx)(s.strong,{children:"data size limit"})," defined by the API, browsers will refuse to store more ",(0,i.jsx)(s.a,{href:"/articles/indexeddb-max-storage-limit.html",children:"data at some point"}),".\nIf no more data can be written, a ",(0,i.jsx)(s.code,{children:"QuotaExceededError"})," is thrown which should be handled by the application, like showing an error message to the user."]}),"\n",(0,i.jsx)(s.h2,{id:"how-the-opfs-api-works",children:"How the OPFS API works"}),"\n",(0,i.jsxs)(s.p,{children:["The OPFS API is pretty straightforward to use. First you get the root filesystem. Then you can create files and directories on that. Notice that whenever you ",(0,i.jsx)(s.em,{children:"synchronously"})," write to, or read from a file, an ",(0,i.jsx)(s.code,{children:"ArrayBuffer"})," must be used that contains the data. It is not possible to synchronously write plain strings or objects into the file. Therefore the ",(0,i.jsx)(s.code,{children:"TextEncoder"})," and ",(0,i.jsx)(s.code,{children:"TextDecoder"})," API must be used."]}),"\n",(0,i.jsxs)(s.p,{children:["Also notice that some of the methods of ",(0,i.jsx)(s.code,{children:"FileSystemSyncAccessHandle"})," ",(0,i.jsx)(s.a,{href:"https://developer.chrome.com/blog/sync-methods-for-accesshandles",children:"have been asynchronous"})," in the past, but are synchronous since Chromium 108. To make it less confusing, we just use ",(0,i.jsx)(s.code,{children:"await"})," in front of them, so it will work in both cases."]}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// Access the root directory of the origin's private file system."})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" root"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" navigator"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"storage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".getDirectory"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// Create a subdirectory."})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" diaryDirectory"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" root"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".getDirectoryHandle"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'subfolder'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" create"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" true"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// Create a new file named 'example.txt'."})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" fileHandle"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" diaryDirectory"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".getFileHandle"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'example.txt'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" create"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" true"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// Create a FileSystemSyncAccessHandle on the file."})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" accessHandle"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" fileHandle"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".createSyncAccessHandle"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// Write a sentence to the file."})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"let"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" writeBuffer "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" new"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" TextEncoder"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"()"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".encode"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'Hello from RxDB'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" writeSize"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" accessHandle"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".write"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(writeBuffer);"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// Read file and transform data to string."})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" readBuffer"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" new"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" Uint8Array"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(writeSize);"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" readSize"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" accessHandle"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".read"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(readBuffer"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { at"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 0"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" });"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" contentAsString"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" new"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" TextDecoder"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"()"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".decode"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(readBuffer);"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// Write an exclamation mark to the end of the file."})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"writeBuffer "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" new"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" TextEncoder"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"()"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".encode"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'!'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"accessHandle"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".write"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(writeBuffer"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { at"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" readSize });"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// Truncate file to 10 bytes."})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" accessHandle"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".truncate"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"10"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// Get the new size of the file."})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" fileSize"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" accessHandle"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".getSize"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// Persist changes to disk."})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" accessHandle"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".flush"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// Always close FileSystemSyncAccessHandle if done, so others can open the file again."})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" accessHandle"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".close"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]})]})})}),"\n",(0,i.jsxs)(s.p,{children:["A more detailed description of the OPFS API can be found ",(0,i.jsx)(s.a,{href:"https://developer.mozilla.org/en-US/docs/Web/API/File_System_API/Origin_private_file_system",children:"on MDN"}),"."]}),"\n",(0,i.jsx)(s.h2,{id:"opfs-performance",children:"OPFS performance"}),"\n",(0,i.jsxs)(s.p,{children:["Because the Origin Private File System API provides low-level access to binary files, it is much faster compared to ",(0,i.jsx)(s.a,{href:"/slow-indexeddb.html",children:"IndexedDB"})," or ",(0,i.jsx)(s.a,{href:"/articles/localstorage.html",children:"localStorage"}),". According to the ",(0,i.jsx)(s.a,{href:"https://pubkey.github.io/client-side-databases/database-comparison/index.html",children:"storage performance test"}),", OPFS is up to 2x times faster on plain inserts when a new file is created on each write. Reads are even faster."]}),"\n",(0,i.jsxs)(s.p,{children:["A good comparison about real world scenarios, are the ",(0,i.jsx)(s.a,{href:"/rx-storage-performance.html",children:"performance results"})," of the various RxDB storages. Here it shows that reads are up to 4x faster compared to IndexedDB, even with complex queries:"]}),"\n",(0,i.jsx)("p",{align:"center",children:(0,i.jsx)("img",{src:"./files/rx-storage-performance-browser.png",alt:"RxStorage performance - browser",width:"700"})}),"\n",(0,i.jsx)(s.h2,{id:"using-opfs-as-rxstorage-in-rxdb",children:"Using OPFS as RxStorage in RxDB"}),"\n",(0,i.jsxs)(s.p,{children:["The OPFS ",(0,i.jsx)(s.a,{href:"/rx-storage.html",children:"RxStorage"})," itself must run inside a WebWorker. Therefore we use the ",(0,i.jsx)(s.a,{href:"/rx-storage-worker.html",children:"Worker RxStorage"})," and let it point to the prebuild ",(0,i.jsx)(s.code,{children:"opfs.worker.js"})," file that comes shipped with RxDB Premium \ud83d\udc51."]}),"\n",(0,i.jsxs)(s.p,{children:["Notice that the OPFS RxStorage is part of the ",(0,i.jsx)(s.a,{href:"/premium/",children:"RxDB Premium \ud83d\udc51"})," plugin that must be purchased."]}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" createRxDatabase"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { getRxStorageWorker } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb-premium/plugins/storage-worker'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" database"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'mydatabase'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageWorker"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * This file must be statically served from a webserver."})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * You might want to first copy it somewhere outside of"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * your node_modules folder."})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" workerInput"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'node_modules/rxdb-premium/dist/workers/opfs.worker.js'"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" )"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,i.jsx)(s.h2,{id:"using-opfs-in-the-main-thread-instead-of-a-worker",children:"Using OPFS in the main thread instead of a worker"}),"\n",(0,i.jsxs)(s.p,{children:["The ",(0,i.jsx)(s.code,{children:"createSyncAccessHandle"})," method from the Filesystem API is only available inside of a Webworker. Therefore you cannot use ",(0,i.jsx)(s.code,{children:"getRxStorageOPFS()"})," in the main thread. But there is a slightly slower way to access the virtual filesystem from the main thread. RxDB support the ",(0,i.jsx)(s.code,{children:"getRxStorageOPFSMainThread()"})," for that. Notice that this uses the ",(0,i.jsx)(s.a,{href:"https://developer.mozilla.org/en-US/docs/Web/API/FileSystemFileHandle/createWritable",children:"createWritable"})," function which is not supported in safari."]}),"\n",(0,i.jsx)(s.p,{children:"Using OPFS from the main thread can have benefits because not having to cross the worker bridge can reduce latence in reads and writes."}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { createRxDatabase } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { getRxStorageOPFSMainThread } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb-premium/plugins/storage-opfs'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" database"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'mydatabase'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageOPFSMainThread"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"()"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,i.jsxs)(s.h2,{id:"building-a-custom-workerjs",children:["Building a custom ",(0,i.jsx)(s.code,{children:"worker.js"})]}),"\n",(0,i.jsxs)(s.p,{children:["When you want to run additional plugins like storage wrappers or replication ",(0,i.jsx)(s.strong,{children:"inside"})," of the worker, you have to build your own ",(0,i.jsx)(s.code,{children:"worker.js"})," file. You can do that similar to other workers by calling ",(0,i.jsx)(s.code,{children:"exposeWorkerRxStorage"})," like described in the ",(0,i.jsx)(s.a,{href:"/rx-storage-worker.html",children:"worker storage plugin"}),"."]}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// inside of the worker.js file"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { getRxStorageOPFS } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb-premium/plugins/storage-opfs'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { exposeWorkerRxStorage } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb-premium/plugins/storage-worker'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" storage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageOPFS"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"exposeWorkerRxStorage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,i.jsxs)(s.h2,{id:"setting-usesrxdatabaseinworker-when-a-rxdatabase-is-also-used-inside-of-the-worker",children:["Setting ",(0,i.jsx)(s.code,{children:"usesRxDatabaseInWorker"})," when a RxDatabase is also used inside of the worker"]}),"\n",(0,i.jsxs)(s.p,{children:["When you use the OPFS inside of a worker, it will internally use strings to represent operation results. This has the benefit that transferring strings from the worker to the main thread, is way faster compared to complex json objects. The ",(0,i.jsx)(s.code,{children:"getRxStorageWorker()"})," will automatically decode these strings on the main thread so that the data can be used by the RxDatabase."]}),"\n",(0,i.jsxs)(s.p,{children:["But using a RxDatabase ",(0,i.jsx)(s.strong,{children:"inside"})," of your worker can make sense for example when you want to move the ",(0,i.jsx)(s.a,{href:"/replication.html",children:"replication"})," with a server. To enable this, you have to set ",(0,i.jsx)(s.code,{children:"usesRxDatabaseInWorker"})," to ",(0,i.jsx)(s.code,{children:"true"}),":"]}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// inside of the worker.js file"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { getRxStorageOPFS } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb-premium/plugins/storage-opfs'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" storage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageOPFS"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" usesRxDatabaseInWorker"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" true"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,i.jsxs)(s.p,{children:["If you forget to set this and still create and use a ",(0,i.jsx)(s.a,{href:"/rx-database.html",children:"RxDatabase"})," inside of the worker, you might get the error message",(0,i.jsx)(s.code,{children:"or"}),"Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'length')`."]}),"\n",(0,i.jsx)(s.h2,{id:"opfs-in-electron-react-native-or-capacitorjs",children:"OPFS in Electron, React-Native or Capacitor.js"}),"\n",(0,i.jsx)(s.p,{children:"Origin Private File System is a browser API that is only accessible in browsers. Other JavaScript like React-Native or Node.js, do not support it."}),"\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.strong,{children:"Electron"})," has two JavaScript contexts: the browser (chromium) context and the Node.js context. While you could use the OPFS API in the browser context, it is not recommended. Instead you should use the Filesystem API of Node.js and then only transfer the relevant data with the ",(0,i.jsx)(s.a,{href:"https://www.electronjs.org/de/docs/latest/api/ipc-renderer",children:"ipcRenderer"}),". With RxDB that is pretty easy to configure:"]}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:["In the ",(0,i.jsx)(s.code,{children:"main.js"}),", expose the ",(0,i.jsx)(s.a,{href:"/rx-storage-filesystem-node.html",children:"Node Filesystem"})," storage with the ",(0,i.jsx)(s.code,{children:"exposeIpcMainRxStorage()"})," that comes with the ",(0,i.jsx)(s.a,{href:"/electron.html",children:"electron plugin"})]}),"\n",(0,i.jsxs)(s.li,{children:["In the browser context, access the main storage with the ",(0,i.jsx)(s.code,{children:"getRxStorageIpcRenderer()"})," method."]}),"\n"]}),"\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.strong,{children:"React Native"})," (and Expo) does not have an OPFS API. You could use the ReactNative Filesystem to directly write data. But to get a fully featured database like RxDB it is easier to use the ",(0,i.jsx)(s.a,{href:"/rx-storage-sqlite.html",children:"SQLite RxStorage"})," which starts an SQLite database inside of the ReactNative app and uses that to do the database operations."]}),"\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.strong,{children:"Capacitor.js"})," is able to access the OPFS API."]}),"\n",(0,i.jsxs)(s.h2,{id:"difference-between-file-system-access-api-and-origin-private-file-system-opfs",children:["Difference between ",(0,i.jsx)(s.code,{children:"File System Access API"})," and ",(0,i.jsx)(s.code,{children:"Origin Private File System (OPFS)"})]}),"\n",(0,i.jsxs)(s.p,{children:["Often developers are confused with the differences between the ",(0,i.jsx)(s.code,{children:"File System Access API"})," and the ",(0,i.jsx)(s.code,{children:"Origin Private File System (OPFS)"}),"."]}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:["The ",(0,i.jsx)(s.code,{children:"File System Access API"})," provides access to the files on the device file system, like the ones shown in the file explorer of the operating system. To use the File System API, the user has to actively select the files from a filepicker."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.code,{children:"Origin Private File System (OPFS)"})," is a sub-part of the ",(0,i.jsx)(s.code,{children:"File System Standard"})," and it only describes the things you can do with the filesystem root from ",(0,i.jsx)(s.code,{children:"navigator.storage.getDirectory()"}),". OPFS writes to a ",(0,i.jsx)(s.strong,{children:"sandboxed"})," filesystem, not visible to the user. Therefore the user does not have to actively select or allow the data access."]}),"\n"]}),"\n",(0,i.jsx)(s.h2,{id:"learn-more-about-opfs",children:"Learn more about OPFS:"}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsx)(s.li,{children:(0,i.jsx)(s.a,{href:"https://webkit.org/blog/12257/the-file-system-access-api-with-origin-private-file-system/",children:"WebKit: The File System API with Origin Private File System"})}),"\n",(0,i.jsx)(s.li,{children:(0,i.jsx)(s.a,{href:"https://caniuse.com/native-filesystem-api",children:"Browser Support"})}),"\n",(0,i.jsx)(s.li,{children:(0,i.jsx)(s.a,{href:"https://pubkey.github.io/client-side-databases/database-comparison/index.html",children:"Performance Test Tool"})}),"\n"]})]})}function h(e={}){const{wrapper:s}={...(0,o.R)(),...e.components};return s?(0,i.jsx)(s,{...e,children:(0,i.jsx)(d,{...e})}):d(e)}},8453(e,s,r){r.d(s,{R:()=>a,x:()=>t});var n=r(6540);const i={},o=n.createContext(i);function a(e){const s=n.useContext(o);return n.useMemo(function(){return"function"==typeof e?e(s):{...s,...e}},[s,e])}function t(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:a(e.components),n.createElement(o.Provider,{value:s},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/6fa8aa1a.10d4f0d3.js b/docs/assets/js/6fa8aa1a.10d4f0d3.js
deleted file mode 100644
index ecb2f5dca32..00000000000
--- a/docs/assets/js/6fa8aa1a.10d4f0d3.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[1264],{5379(e,t,a){a.r(t),a.d(t,{default:()=>i});var r=a(544),n=a(4848);function i(){return(0,r.default)({sem:{id:"gads",metaTitle:"The NoSQL alternative for PouchDB",title:(0,n.jsxs)(n.Fragment,{children:["The ",(0,n.jsx)("b",{children:"modern"})," alternative for"," ",(0,n.jsx)("b",{children:"PouchDB"})]}),text:(0,n.jsx)(n.Fragment,{children:"Store data inside the Browser to build high performance realtime applications that sync data from the backend and even work when offline."})}})}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/6fd28feb.45da1980.js b/docs/assets/js/6fd28feb.45da1980.js
deleted file mode 100644
index 0f6772738e0..00000000000
--- a/docs/assets/js/6fd28feb.45da1980.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[4618],{5989(e,n,s){s.r(n),s.d(n,{assets:()=>l,contentTitle:()=>r,default:()=>h,frontMatter:()=>t,metadata:()=>a,toc:()=>d});const a=JSON.parse('{"id":"rx-storage-foundationdb","title":"RxDB on FoundationDB - Performance at Scale","description":"Combine FoundationDB\'s reliability with RxDB\'s indexing and schema validation. Build scalable apps with faster queries and real-time data.","source":"@site/docs/rx-storage-foundationdb.md","sourceDirName":".","slug":"/rx-storage-foundationdb.html","permalink":"/rx-storage-foundationdb.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"RxDB on FoundationDB - Performance at Scale","slug":"rx-storage-foundationdb.html","description":"Combine FoundationDB\'s reliability with RxDB\'s indexing and schema validation. Build scalable apps with faster queries and real-time data."},"sidebar":"tutorialSidebar","previous":{"title":"DenoKV","permalink":"/rx-storage-denokv.html"},"next":{"title":"Schema Validation","permalink":"/schema-validation.html"}}');var i=s(4848),o=s(8453);const t={title:"RxDB on FoundationDB - Performance at Scale",slug:"rx-storage-foundationdb.html",description:"Combine FoundationDB's reliability with RxDB's indexing and schema validation. Build scalable apps with faster queries and real-time data."},r="RxDB Database on top of FoundationDB",l={},d=[{value:"Features of RxDB+FoundationDB",id:"features-of-rxdbfoundationdb",level:2},{value:"Installation",id:"installation",level:2},{value:"Usage",id:"usage",level:2},{value:"Multi Instance",id:"multi-instance",level:2}];function c(e){const n={a:"a",code:"code",figure:"figure",h1:"h1",h2:"h2",header:"header",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...(0,o.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.header,{children:(0,i.jsx)(n.h1,{id:"rxdb-database-on-top-of-foundationdb",children:"RxDB Database on top of FoundationDB"})}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.a,{href:"https://www.foundationdb.org/",children:"FoundationDB"})," is a distributed key-value store designed to handle large volumes of structured data across clusters of computers while maintaining high levels of performance, scalability, and fault tolerance. While FoundationDB itself only can store and query key-value pairs, it lacks more advanced features like complex queries, encryption and replication."]}),"\n",(0,i.jsxs)(n.p,{children:["With the FoundationDB based ",(0,i.jsx)(n.a,{href:"/rx-storage.html",children:"RxStorage"})," of ",(0,i.jsx)(n.a,{href:"https://rxdb.info/",children:"RxDB"})," you can combine the benefits of FoundationDB while having a fully featured, high performance NoSQL database."]}),"\n",(0,i.jsx)(n.h2,{id:"features-of-rxdbfoundationdb",children:"Features of RxDB+FoundationDB"}),"\n",(0,i.jsx)(n.p,{children:"Using RxDB on top of FoundationDB, gives you many benefits compare to using the plain FoundationDB API:"}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Indexes"}),": In RxDB with a FoundationDB storage layer, indexes are used to optimize query performance, allowing for fast and efficient data retrieval even in large datasets. You can define single and compound indexes with the ",(0,i.jsx)(n.a,{href:"/rx-schema.html",children:"RxDB schema"}),"."]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Schema Based Data Model"}),": Utilizing a ",(0,i.jsx)(n.a,{href:"/rx-schema.html",children:"jsonschema"})," based data model, the system offers a highly structured and versatile approach to organizing and ",(0,i.jsx)(n.a,{href:"/schema-validation.html",children:"validating data"}),", ensuring consistency and clarity in database interactions."]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Complex Queries"}),": The system supports complex ",(0,i.jsx)(n.a,{href:"/rx-query.html",children:"NoSQL queries"}),", allowing for advanced data manipulation and retrieval, tailored to specific needs and intricate data relationships. For example you can do ",(0,i.jsx)(n.code,{children:"$regex"})," or ",(0,i.jsx)(n.code,{children:"$or"})," queries which is hardy possible with the plain key-value access of FoundationDB."]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Observable Queries & Documents"}),": RxDB's observable queries and documents feature ensures real-time updates and synchronization, providing dynamic and responsive data interactions in applications."]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Compression"}),": RxDB employs data ",(0,i.jsx)(n.a,{href:"/key-compression.html",children:"compression techniques"})," to reduce storage requirements and enhance transmission efficiency, making it more cost-effective and faster, especially for large volumes of data. You can compress the ",(0,i.jsx)(n.a,{href:"/key-compression.html",children:"NoSQL document"})," data, but also the ",(0,i.jsx)(n.a,{href:"/rx-attachment.html#attachment-compression",children:"binary attachments"})," data."]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Attachments"}),": RxDB supports the storage and management of ",(0,i.jsx)(n.a,{href:"/rx-attachment.html",children:"attachments"})," which allowing for the seamless inclusion of binary data like images or documents alongside structured data within the database."]}),"\n"]}),"\n",(0,i.jsx)(n.h2,{id:"installation",children:"Installation"}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:["Install the ",(0,i.jsx)(n.a,{href:"https://apple.github.io/foundationdb/getting-started-linux.html",children:"FoundationDB client cli"})," which is used to communicate with the FoundationDB cluster."]}),"\n",(0,i.jsxs)(n.li,{children:["Install the ",(0,i.jsx)(n.a,{href:"https://www.npmjs.com/package/foundationdb",children:"FoundationDB node bindings npm module"})," via ",(0,i.jsx)(n.code,{children:"npm install foundationdb"}),". This will install ",(0,i.jsx)(n.code,{children:"v2.x.x"}),", which is only compatible with FoundationDB server and client ",(0,i.jsx)(n.code,{children:"v7.3.x"})," (which is the only version currently maintained by the FoundationDB team). If you need to use an older version (e.g. ",(0,i.jsx)(n.code,{children:"7.1.x"})," or ",(0,i.jsx)(n.code,{children:"6.3.x"}),"), you should run ",(0,i.jsx)(n.code,{children:"npm install foundationdb@1.1.4"})," (though this might only work with ",(0,i.jsx)(n.code,{children:"v6.3.x"}),")."]}),"\n",(0,i.jsxs)(n.li,{children:["Due to an outstanding bug in node foundationdb, you will need to specify an ",(0,i.jsx)(n.code,{children:"apiVersion"})," of ",(0,i.jsx)(n.code,{children:"720"})," even though you are using ",(0,i.jsx)(n.code,{children:"730"}),". When ",(0,i.jsx)(n.a,{href:"https://github.com/josephg/node-foundationdb/pull/86",children:"this PR"})," is merged, you will be able to use ",(0,i.jsx)(n.code,{children:"730"}),"."]}),"\n"]}),"\n",(0,i.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,i.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"typescript","data-theme":"css-variables",children:(0,i.jsxs)(n.code,{"data-language":"typescript","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" createRxDatabase"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" getRxStorageFoundationDB"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/storage-foundationdb'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'exampledb'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageFoundationDB"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * Version of the API of the FoundationDB cluster.."})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * FoundationDB is backwards compatible across a wide range of versions,"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * so you have to specify the api version."})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * If in doubt, set it to 720."})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" apiVersion"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 720"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * Path to the FoundationDB cluster file."})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * (optional)"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * If in doubt, leave this empty to use the default location."})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" clusterFile"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" '/path/to/fdb.cluster'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * Amount of documents to be fetched in batch requests."})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * You can change this to improve performance depending on"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * your database access patterns."})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * (optional)"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * [default=50]"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" batchSize"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 50"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" })"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,i.jsx)(n.h2,{id:"multi-instance",children:"Multi Instance"}),"\n",(0,i.jsxs)(n.p,{children:["Because FoundationDB does not offer a ",(0,i.jsx)(n.a,{href:"https://forums.foundationdb.org/t/streaming-data-out-of-foundationdb/683/2",children:"changestream"}),", it is not possible to use the same cluster from more than one Node.js process at the same time. For example you cannot spin up multiple servers with RxDB databases that all use the same cluster. There might be workarounds to create something like a FoundationDB changestream and you can make a Pull Request if you need that feature."]})]})}function h(e={}){const{wrapper:n}={...(0,o.R)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(c,{...e})}):c(e)}},8453(e,n,s){s.d(n,{R:()=>t,x:()=>r});var a=s(6540);const i={},o=a.createContext(i);function t(e){const n=a.useContext(o);return a.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function r(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:t(e.components),a.createElement(o.Provider,{value:n},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/714575d7.f4b12fd2.js b/docs/assets/js/714575d7.f4b12fd2.js
deleted file mode 100644
index 4fa922cee2c..00000000000
--- a/docs/assets/js/714575d7.f4b12fd2.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[3185],{924(e,s,n){n.r(s),n.d(s,{assets:()=>t,contentTitle:()=>i,default:()=>h,frontMatter:()=>l,metadata:()=>o,toc:()=>c});const o=JSON.parse('{"id":"rx-local-document","title":"Master Local Documents in RxDB","description":"Effortlessly store custom metadata and app settings in RxDB. Learn how Local Documents keep data flexible, secure, and easy to manage.","source":"@site/docs/rx-local-document.md","sourceDirName":".","slug":"/rx-local-document.html","permalink":"/rx-local-document.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"Master Local Documents in RxDB","slug":"rx-local-document.html","description":"Effortlessly store custom metadata and app settings in RxDB. Learn how Local Documents keep data flexible, secure, and easy to manage."},"sidebar":"tutorialSidebar","previous":{"title":"RxState","permalink":"/rx-state.html"},"next":{"title":"Cleanup","permalink":"/cleanup.html"}}');var r=n(4848),a=n(8453);const l={title:"Master Local Documents in RxDB",slug:"rx-local-document.html",description:"Effortlessly store custom metadata and app settings in RxDB. Learn how Local Documents keep data flexible, secure, and easy to manage."},i="Local Documents",t={},c=[{value:"Add the local documents plugin",id:"add-the-local-documents-plugin",level:2},{value:"Activate the plugin for a RxDatabase or RxCollection",id:"activate-the-plugin-for-a-rxdatabase-or-rxcollection",level:2},{value:"insertLocal()",id:"insertlocal",level:2},{value:"upsertLocal()",id:"upsertlocal",level:2},{value:"getLocal()",id:"getlocal",level:2},{value:"getLocal$()",id:"getlocal-1",level:2},{value:"RxLocalDocument",id:"rxlocaldocument",level:2}];function d(e){const s={a:"a",admonition:"admonition",code:"code",figure:"figure",h1:"h1",h2:"h2",header:"header",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...(0,a.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s.header,{children:(0,r.jsx)(s.h1,{id:"local-documents",children:"Local Documents"})}),"\n",(0,r.jsx)(s.p,{children:"Local documents are a special class of documents which are used to store local metadata.\nThey come in handy when you want to store settings or additional data next to your documents."}),"\n",(0,r.jsxs)(s.ul,{children:["\n",(0,r.jsxs)(s.li,{children:["Local Documents can exist on a ",(0,r.jsx)(s.a,{href:"/rx-database.html",children:"RxDatabase"})," or ",(0,r.jsx)(s.a,{href:"/rx-collection.html",children:"RxCollection"}),"."]}),"\n",(0,r.jsx)(s.li,{children:"Local Document do not have to match the collections schema."}),"\n",(0,r.jsx)(s.li,{children:"Local Documents do not get replicated."}),"\n",(0,r.jsx)(s.li,{children:"Local Documents will not be found on queries."}),"\n",(0,r.jsx)(s.li,{children:"Local Documents can not have attachments."}),"\n",(0,r.jsxs)(s.li,{children:["Local Documents will not get handled by the ",(0,r.jsx)(s.a,{href:"/migration-schema.html",children:"migration-schema"}),"."]}),"\n",(0,r.jsxs)(s.li,{children:["The id of a local document has the ",(0,r.jsx)(s.code,{children:"maxLength"})," of ",(0,r.jsx)(s.code,{children:"128"})," characters."]}),"\n"]}),"\n",(0,r.jsx)(s.admonition,{type:"note",children:(0,r.jsxs)(s.p,{children:["While local documents can be very useful, in many cases the ",(0,r.jsx)(s.a,{href:"/rx-state.html",children:"RxState"})," API is more convenient."]})}),"\n",(0,r.jsx)(s.h2,{id:"add-the-local-documents-plugin",children:"Add the local documents plugin"}),"\n",(0,r.jsxs)(s.p,{children:["To enable the local documents, you have to add the ",(0,r.jsx)(s.code,{children:"local-documents"})," plugin."]}),"\n",(0,r.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,r.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,r.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { addRxPlugin } "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb'"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { RxDBLocalDocumentsPlugin } "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/local-documents'"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"addRxPlugin"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(RxDBLocalDocumentsPlugin);"})]})]})})}),"\n",(0,r.jsx)(s.h2,{id:"activate-the-plugin-for-a-rxdatabase-or-rxcollection",children:"Activate the plugin for a RxDatabase or RxCollection"}),"\n",(0,r.jsxs)(s.p,{children:["For better performance, the local document plugin does not create a storage for every database or collection that is created.\nInstead you have to set ",(0,r.jsx)(s.code,{children:"localDocuments: true"})," when you want to store local documents in the instance."]}),"\n",(0,r.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,r.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"js","data-theme":"css-variables",children:(0,r.jsxs)(s.code,{"data-language":"js","data-theme":"css-variables",style:{display:"grid"},children:[(0,r.jsx)(s.span,{"data-line":"",children:(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// activate local documents on a RxDatabase"})}),"\n",(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" myDatabase"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'mydatabase'"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageLocalstorage"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"()"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" localDocuments"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" true"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // <- activate this to store local documents in the database"})]}),"\n",(0,r.jsx)(s.span,{"data-line":"",children:(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,r.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"myDatabase"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".addCollections"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" messages"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" schema"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" messageSchema"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" localDocuments"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" true"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // <- activate this to store local documents in the collection"})]}),"\n",(0,r.jsx)(s.span,{"data-line":"",children:(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,r.jsx)(s.span,{"data-line":"",children:(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,r.jsx)(s.admonition,{type:"note",children:(0,r.jsxs)(s.p,{children:["If you want to store local documents in a ",(0,r.jsx)(s.code,{children:"RxCollection"})," but ",(0,r.jsx)(s.strong,{children:"NOT"})," in the ",(0,r.jsx)(s.code,{children:"RxDatabase"}),", you ",(0,r.jsx)(s.strong,{children:"MUST NOT"})," set ",(0,r.jsx)(s.code,{children:"localDocuments: true"})," in the ",(0,r.jsx)(s.code,{children:"RxDatabase"})," because it will only slow down the initial database creation."]})}),"\n",(0,r.jsx)(s.h2,{id:"insertlocal",children:"insertLocal()"}),"\n",(0,r.jsxs)(s.p,{children:["Creates a local document for the database or collection. Throws if a local document with the same id already exists. Returns a Promise which resolves the new ",(0,r.jsx)(s.code,{children:"RxLocalDocument"}),"."]}),"\n",(0,r.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,r.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"javascript","data-theme":"css-variables",children:(0,r.jsxs)(s.code,{"data-language":"javascript","data-theme":"css-variables",style:{display:"grid"},children:[(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" localDoc"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" myCollection"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".insertLocal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("})]}),"\n",(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'foobar'"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // id"})]}),"\n",(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// data"})]}),"\n",(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" foo"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'bar'"})]}),"\n",(0,r.jsx)(s.span,{"data-line":"",children:(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,r.jsx)(s.span,{"data-line":"",children:(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})}),"\n",(0,r.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,r.jsx)(s.span,{"data-line":"",children:(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// you can also use local-documents on a database"})}),"\n",(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" localDoc"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" myDatabase"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".insertLocal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("})]}),"\n",(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'foobar'"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // id"})]}),"\n",(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// data"})]}),"\n",(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" foo"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'bar'"})]}),"\n",(0,r.jsx)(s.span,{"data-line":"",children:(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,r.jsx)(s.span,{"data-line":"",children:(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})})]})})}),"\n",(0,r.jsx)(s.h2,{id:"upsertlocal",children:"upsertLocal()"}),"\n",(0,r.jsxs)(s.p,{children:["Creates a local document for the database or collection if not exists. Overwrites the if exists. Returns a Promise which resolves the ",(0,r.jsx)(s.code,{children:"RxLocalDocument"}),"."]}),"\n",(0,r.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,r.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"javascript","data-theme":"css-variables",children:(0,r.jsxs)(s.code,{"data-language":"javascript","data-theme":"css-variables",style:{display:"grid"},children:[(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" localDoc"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" myCollection"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".upsertLocal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("})]}),"\n",(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'foobar'"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // id"})]}),"\n",(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// data"})]}),"\n",(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" foo"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'bar'"})]}),"\n",(0,r.jsx)(s.span,{"data-line":"",children:(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,r.jsx)(s.span,{"data-line":"",children:(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})})]})})}),"\n",(0,r.jsx)(s.h2,{id:"getlocal",children:"getLocal()"}),"\n",(0,r.jsxs)(s.p,{children:["Find a ",(0,r.jsx)(s.code,{children:"RxLocalDocument"})," by its id. Returns a Promise which resolves the ",(0,r.jsx)(s.code,{children:"RxLocalDocument"})," or ",(0,r.jsx)(s.code,{children:"null"})," if not exists."]}),"\n",(0,r.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,r.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"javascript","data-theme":"css-variables",children:(0,r.jsx)(s.code,{"data-language":"javascript","data-theme":"css-variables",style:{display:"grid"},children:(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" localDoc"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" myCollection"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".getLocal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'foobar'"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})]})})})}),"\n",(0,r.jsx)(s.h2,{id:"getlocal-1",children:"getLocal$()"}),"\n",(0,r.jsxs)(s.p,{children:["Like ",(0,r.jsx)(s.code,{children:"getLocal()"})," but returns an ",(0,r.jsx)(s.code,{children:"Observable"})," that emits the document or ",(0,r.jsx)(s.code,{children:"null"})," if not exists."]}),"\n",(0,r.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,r.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"javascript","data-theme":"css-variables",children:(0,r.jsxs)(s.code,{"data-language":"javascript","data-theme":"css-variables",style:{display:"grid"},children:[(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" subscription"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" myCollection"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".getLocal$"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'foobar'"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:")"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".subscribe"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(documentOrNull "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" console"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".dir"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(documentOrNull); "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// > RxLocalDocument or null"})]}),"\n",(0,r.jsx)(s.span,{"data-line":"",children:(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,r.jsx)(s.h2,{id:"rxlocaldocument",children:"RxLocalDocument"}),"\n",(0,r.jsxs)(s.p,{children:["A ",(0,r.jsx)(s.code,{children:"RxLocalDocument"})," behaves like a normal ",(0,r.jsx)(s.code,{children:"RxDocument"}),"."]}),"\n",(0,r.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,r.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"javascript","data-theme":"css-variables",children:(0,r.jsxs)(s.code,{"data-language":"javascript","data-theme":"css-variables",style:{display:"grid"},children:[(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" localDoc"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" myCollection"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".getLocal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'foobar'"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,r.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,r.jsx)(s.span,{"data-line":"",children:(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// access data"})}),"\n",(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" foo"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" localDoc"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".get"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'foo'"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,r.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,r.jsx)(s.span,{"data-line":"",children:(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// change data"})}),"\n",(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"localDoc"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".set"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'foo'"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'bar2'"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" localDoc"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".save"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,r.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,r.jsx)(s.span,{"data-line":"",children:(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// observe data"})}),"\n",(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"localDoc"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".get$"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'foo'"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:")"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".subscribe"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(value "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"/* .. */"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" });"})]}),"\n",(0,r.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,r.jsx)(s.span,{"data-line":"",children:(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// remove it"})}),"\n",(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" localDoc"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".remove"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]})]})})}),"\n",(0,r.jsx)(s.admonition,{type:"note",children:(0,r.jsx)(s.p,{children:"Because the local document does not have a schema, accessing the documents data-fields via pseudo-proxy will not work."})}),"\n",(0,r.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,r.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"javascript","data-theme":"css-variables",children:(0,r.jsxs)(s.code,{"data-language":"javascript","data-theme":"css-variables",style:{display:"grid"},children:[(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" foo"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" localDoc"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".foo; "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// undefined"})]}),"\n",(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" foo"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" localDoc"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".get"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'foo'"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"); "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// works!"})]}),"\n",(0,r.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"localDoc"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".foo "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'bar'"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"; "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// does not work!"})]}),"\n",(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"localDoc"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".set"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'foo'"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'bar'"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"); "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// works"})]})]})})}),"\n",(0,r.jsxs)(s.p,{children:["For the usage with typescript, you can have access to the typed data of the document over ",(0,r.jsx)(s.code,{children:"toJSON()"})]}),"\n",(0,r.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,r.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,r.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"declare"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" type"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" MyLocalDocumentType"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" foo"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" string"})]}),"\n",(0,r.jsx)(s.span,{"data-line":"",children:(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"}"})}),"\n",(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" localDoc"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" myCollection"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".upsertLocal"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"<"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"MyLocalDocumentType"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:">("})]}),"\n",(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'foobar'"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // id"})]}),"\n",(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { "}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// data"})]}),"\n",(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" foo"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'bar'"})]}),"\n",(0,r.jsx)(s.span,{"data-line":"",children:(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,r.jsx)(s.span,{"data-line":"",children:(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})}),"\n",(0,r.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,r.jsx)(s.span,{"data-line":"",children:(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// typescript will know that foo is a string"})}),"\n",(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" foo"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" string"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" localDoc"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".toJSON"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"().foo;"})]})]})})})]})}function h(e={}){const{wrapper:s}={...(0,a.R)(),...e.components};return s?(0,r.jsx)(s,{...e,children:(0,r.jsx)(d,{...e})}):d(e)}},8453(e,s,n){n.d(s,{R:()=>l,x:()=>i});var o=n(6540);const r={},a=o.createContext(r);function l(e){const s=o.useContext(a);return o.useMemo(function(){return"function"==typeof e?e(s):{...s,...e}},[s,e])}function i(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:l(e.components),o.createElement(a.Provider,{value:s},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/7443.f0d813bb.js b/docs/assets/js/7443.f0d813bb.js
deleted file mode 100644
index 955917214af..00000000000
--- a/docs/assets/js/7443.f0d813bb.js
+++ /dev/null
@@ -1 +0,0 @@
-(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[7443],{4004(e,t,s){"use strict";s.r(t),s.d(t,{default:()=>y});var i=s(4714),n=s.n(i);const l=s(8291);l.tokenizer.separator=/[\s\-/]+/;const a=class{constructor(e,t,s="/",i){this.searchDocs=e,this.lunrIndex=l.Index.load(t),this.baseUrl=s,this.maxHits=i}getLunrResult(e){return this.lunrIndex.query(function(t){const s=l.tokenizer(e);t.term(s,{boost:10}),t.term(s,{wildcard:l.Query.wildcard.TRAILING})})}getHit(e,t,s){return{hierarchy:{lvl0:e.pageTitle||e.title,lvl1:0===e.type?null:e.title},url:e.url,version:e.version,_snippetResult:s?{content:{value:s,matchLevel:"full"}}:null,_highlightResult:{hierarchy:{lvl0:{value:0===e.type?t||e.title:e.pageTitle},lvl1:0===e.type?null:{value:t||e.title}}}}}getTitleHit(e,t,s){const i=t[0],n=t[0]+s;let l=e.title.substring(0,i)+''+e.title.substring(i,n)+""+e.title.substring(n,e.title.length);return this.getHit(e,l)}getKeywordHit(e,t,s){const i=t[0],n=t[0]+s;let l=e.title+" Keywords: "+e.keywords.substring(0,i)+''+e.keywords.substring(i,n)+""+e.keywords.substring(n,e.keywords.length)+"";return this.getHit(e,l)}getContentHit(e,t){const s=t[0],i=t[0]+t[1];let n=s,l=i,a=!0,r=!0;for(let c=0;c<3;c++){const t=e.content.lastIndexOf(" ",n-2),s=e.content.lastIndexOf(".",n-2);if(s>0&&s>t){n=s+1,a=!1;break}if(t<0){n=0,a=!1;break}n=t+1}for(let c=0;c<10;c++){const t=e.content.indexOf(" ",l+1),s=e.content.indexOf(".",l+1);if(s>0&&s'+e.content.substring(s,i)+"",o+=e.content.substring(i,l),r&&(o+=" ..."),this.getHit(e,null,o)}search(e){return new Promise((t,s)=>{const i=this.getLunrResult(e),n=[];i.length>this.maxHits&&(i.length=this.maxHits),this.titleHitsRes=[],this.contentHitsRes=[],i.forEach(t=>{const s=this.searchDocs[t.ref],{metadata:i}=t.matchData;for(let l in i)if(i[l].title){if(!this.titleHitsRes.includes(t.ref)){const a=i[l].title.position[0];n.push(this.getTitleHit(s,a,e.length)),this.titleHitsRes.push(t.ref)}}else if(i[l].content){const e=i[l].content.position[0];n.push(this.getContentHit(s,e))}else if(i[l].keywords){const a=i[l].keywords.position[0];n.push(this.getKeywordHit(s,a,e.length)),this.titleHitsRes.push(t.ref)}}),n.length>this.maxHits&&(n.length=this.maxHits),t(n)})}};var r=s(4498),o=s.n(r);const c="algolia-docsearch",h=`${c}-suggestion`,u={suggestion:`\n \n
\n '};var g=s(3704),d=s.n(g);const p={mergeKeyWithParent(e,t){if(void 0===e[t])return e;if("object"!=typeof e[t])return e;const s=d().extend({},e,e[t]);return delete s[t],s},groupBy(e,t){const s={};return d().each(e,(e,i)=>{if(void 0===i[t])throw new Error(`[groupBy]: Object has no key ${t}`);let n=i[t];"string"==typeof n&&(n=n.toLowerCase()),Object.prototype.hasOwnProperty.call(s,n)||(s[n]=[]),s[n].push(i)}),s},values:e=>Object.keys(e).map(t=>e[t]),flatten(e){const t=[];return e.forEach(e=>{Array.isArray(e)?e.forEach(e=>{t.push(e)}):t.push(e)}),t},flattenAndFlagFirst(e,t){const s=this.values(e).map(e=>e.map((e,s)=>(e[t]=0===s,e)));return this.flatten(s)},compact(e){const t=[];return e.forEach(e=>{e&&t.push(e)}),t},getHighlightedValue:(e,t)=>e._highlightResult&&e._highlightResult.hierarchy_camel&&e._highlightResult.hierarchy_camel[t]&&e._highlightResult.hierarchy_camel[t].matchLevel&&"none"!==e._highlightResult.hierarchy_camel[t].matchLevel&&e._highlightResult.hierarchy_camel[t].value?e._highlightResult.hierarchy_camel[t].value:e._highlightResult&&e._highlightResult&&e._highlightResult[t]&&e._highlightResult[t].value?e._highlightResult[t].value:e[t],getSnippetedValue(e,t){if(!e._snippetResult||!e._snippetResult[t]||!e._snippetResult[t].value)return e[t];let s=e._snippetResult[t].value;return s[0]!==s[0].toUpperCase()&&(s=`\u2026${s}`),-1===[".","!","?"].indexOf(s[s.length-1])&&(s=`${s}\u2026`),s},deepClone:e=>JSON.parse(JSON.stringify(e))};class v{constructor({searchDocs:e,searchIndex:t,inputSelector:s,debug:i=!1,baseUrl:n="/",queryDataCallback:l=null,autocompleteOptions:r={debug:!1,hint:!1,autoselect:!0},transformData:c=!1,queryHook:h=!1,handleSelected:g=!1,enhancedSearchInput:p=!1,layout:y="column",maxHits:m=5}){this.input=v.getInputFromSelector(s),this.queryDataCallback=l||null;const b=!(!r||!r.debug)&&r.debug;r.debug=i||b,this.autocompleteOptions=r,this.autocompleteOptions.cssClasses=this.autocompleteOptions.cssClasses||{},this.autocompleteOptions.cssClasses.prefix=this.autocompleteOptions.cssClasses.prefix||"ds";const f=this.input&&"function"==typeof this.input.attr&&this.input.attr("aria-label");this.autocompleteOptions.ariaLabel=this.autocompleteOptions.ariaLabel||f||"search input",this.isSimpleLayout="simple"===y,this.client=new a(e,t,n,m),p&&(this.input=v.injectSearchBox(this.input)),this.autocomplete=o()(this.input,r,[{source:this.getAutocompleteSource(c,h),templates:{suggestion:v.getSuggestionTemplate(this.isSimpleLayout),footer:u.footer,empty:v.getEmptyTemplate()}}]);const x=g;this.handleSelected=x||this.handleSelected,x&&d()(".algolia-autocomplete").on("click",".ds-suggestions a",e=>{e.preventDefault()}),this.autocomplete.on("autocomplete:selected",this.handleSelected.bind(null,this.autocomplete.autocomplete)),this.autocomplete.on("autocomplete:shown",this.handleShown.bind(null,this.input)),p&&v.bindSearchBoxEvent(),document.addEventListener("keydown",e=>{(e.ctrlKey||e.metaKey)&&"k"==e.key&&(this.input.focus(),e.preventDefault())})}static injectSearchBox(e){e.before(u.searchBox);const t=e.prev().prev().find("input");return e.remove(),t}static bindSearchBoxEvent(){d()('.searchbox [type="reset"]').on("click",function(){d()("input#docsearch").focus(),d()(this).addClass("hide"),o().autocomplete.setVal("")}),d()("input#docsearch").on("keyup",()=>{const e=document.querySelector("input#docsearch"),t=document.querySelector('.searchbox [type="reset"]');t.className="searchbox__reset",0===e.value.length&&(t.className+=" hide")})}static getInputFromSelector(e){const t=d()(e).filter("input");return t.length?d()(t[0]):null}getAutocompleteSource(e,t){return(s,i)=>{t&&(s=t(s)||s),this.client.search(s).then(t=>{this.queryDataCallback&&"function"==typeof this.queryDataCallback&&this.queryDataCallback(t),e&&(t=e(t)||t),i(v.formatHits(t))})}}static formatHits(e){const t=p.deepClone(e).map(e=>(e._highlightResult&&(e._highlightResult=p.mergeKeyWithParent(e._highlightResult,"hierarchy")),p.mergeKeyWithParent(e,"hierarchy")));let s=p.groupBy(t,"lvl0");return d().each(s,(e,t)=>{const i=p.groupBy(t,"lvl1"),n=p.flattenAndFlagFirst(i,"isSubCategoryHeader");s[e]=n}),s=p.flattenAndFlagFirst(s,"isCategoryHeader"),s.map(e=>{const t=v.formatURL(e),s=p.getHighlightedValue(e,"lvl0"),i=p.getHighlightedValue(e,"lvl1")||s,n=p.compact([p.getHighlightedValue(e,"lvl2")||i,p.getHighlightedValue(e,"lvl3"),p.getHighlightedValue(e,"lvl4"),p.getHighlightedValue(e,"lvl5"),p.getHighlightedValue(e,"lvl6")]).join(' \u203a '),l=p.getSnippetedValue(e,"content"),a=i&&""!==i||n&&""!==n,r=!i||""===i||i===s,o=n&&""!==n&&n!==i,c=!o&&i&&""!==i&&i!==s,h=!c&&!o,u=e.version;return{isLvl0:h,isLvl1:c,isLvl2:o,isLvl1EmptyOrDuplicate:r,isCategoryHeader:e.isCategoryHeader,isSubCategoryHeader:e.isSubCategoryHeader,isTextOrSubcategoryNonEmpty:a,category:s,subcategory:i,title:n,text:l,url:t,version:u}})}static formatURL(e){const{url:t,anchor:s}=e;if(t){return-1!==t.indexOf("#")?t:s?`${e.url}#${e.anchor}`:t}return s?`#${e.anchor}`:(console.warn("no anchor nor url for : ",JSON.stringify(e)),null)}static getEmptyTemplate(){return e=>n().compile(u.empty).render(e)}static getSuggestionTemplate(e){const t=e?u.suggestionSimple:u.suggestion,s=n().compile(t);return e=>s.render(e)}handleSelected(e,t,s,i,n={}){"click"!==n.selectionMethod&&(e.setVal(""),window.location.assign(s.url))}handleShown(e){const t=e.offset().left+e.width()/2;let s=d()(document).width()/2;isNaN(s)&&(s=900);const i=t-s>=0?"algolia-autocomplete-right":"algolia-autocomplete-left",n=t-s<0?"algolia-autocomplete-right":"algolia-autocomplete-left",l=d()(".algolia-autocomplete");l.hasClass(i)||l.addClass(i),l.hasClass(n)&&l.removeClass(n)}}const y=v},5741(){}}]);
\ No newline at end of file
diff --git a/docs/assets/js/77979bef.e414ae82.js b/docs/assets/js/77979bef.e414ae82.js
deleted file mode 100644
index bb389451007..00000000000
--- a/docs/assets/js/77979bef.e414ae82.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[5861],{2443(e,s,t){t.d(s,{G:()=>a});t(6540);var n=t(8853),i=t(4848);function a({author:e,year:s,sourceLink:t,children:a}){return(0,i.jsxs)("div",{style:{borderLeft:"2px solid var(--color-top)",paddingLeft:"1rem",paddingTop:"0.5rem",paddingBottom:"0.5rem",marginTop:30,marginBottom:30},children:[(0,i.jsx)(n.iG,{}),(0,i.jsx)("div",{style:{display:"flex",alignItems:"flex-start",gap:"0.5rem"},children:(0,i.jsx)("p",{style:{margin:0},children:a})}),(0,i.jsx)("div",{style:{display:"flex",justifyContent:"flex-end",gap:5},children:(0,i.jsx)(n.fz,{})}),(0,i.jsxs)("p",{style:{marginTop:"0.75rem",marginBottom:0,textAlign:"right",fontSize:"0.9rem"},children:["\u2013"," ",t?(0,i.jsx)("a",{href:t,target:"_blank",rel:"noopener noreferrer",children:e}):e,s&&`, ${s}`]})]})}},3247(e,s,t){t.d(s,{g:()=>i});var n=t(4848);function i(e){const s=[];let t=null;return e.children.forEach(e=>{e.props.id?(t&&s.push(t),t={headline:e,paragraphs:[]}):t&&t.paragraphs.push(e)}),t&&s.push(t),(0,n.jsx)("div",{style:a.stepsContainer,children:s.map((e,s)=>(0,n.jsxs)("div",{style:a.stepWrapper,children:[(0,n.jsxs)("div",{style:a.stepIndicator,children:[(0,n.jsx)("div",{style:a.stepNumber,children:s+1}),(0,n.jsx)("div",{style:a.verticalLine})]}),(0,n.jsxs)("div",{style:a.stepContent,children:[(0,n.jsx)("div",{children:e.headline}),e.paragraphs.map((e,s)=>(0,n.jsx)("div",{style:a.item,children:e},s))]})]},s))})}const a={stepsContainer:{display:"flex",flexDirection:"column"},stepWrapper:{display:"flex",alignItems:"stretch",marginBottom:"1.5rem",position:"relative",minWidth:0},stepIndicator:{position:"relative",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"flex-start",width:"33px",marginRight:"1rem",minWidth:0},stepNumber:{width:"33px",height:"33px",borderRadius:"50%",backgroundColor:"var(--color-top)",color:"#fff",display:"flex",alignItems:"center",justifyContent:"center",fontWeight:"bold",marginTop:-4},verticalLine:{position:"absolute",top:29,bottom:"0",left:"50%",width:"1px",background:"linear-gradient(to bottom, var(--color-top) 0%, var(--color-top) 80%, rgba(0,0,0,0) 100%)",transform:"translateX(-50%)"},stepContent:{flex:1,minWidth:0,overflowWrap:"break-word"},item:{marginTop:"0.5rem"}}},4113(e,s,t){t.r(s),t.d(s,{assets:()=>d,contentTitle:()=>c,default:()=>u,frontMatter:()=>l,metadata:()=>n,toc:()=>h});const n=JSON.parse('{"id":"articles/local-first-future","title":"Why Local-First Software Is the Future and its Limitations","description":"Discover how local-first transforms web apps, boosts offline resilience, and why instant user feedback is becoming the new normal.","source":"@site/docs/articles/local-first-future.md","sourceDirName":"articles","slug":"/articles/local-first-future.html","permalink":"/articles/local-first-future.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"Why Local-First Software Is the Future and its Limitations","slug":"local-first-future.html","description":"Discover how local-first transforms web apps, boosts offline resilience, and why instant user feedback is becoming the new normal."},"sidebar":"tutorialSidebar","previous":{"title":"Benefits of RxDB & Browser Databases","permalink":"/articles/browser-database.html"},"next":{"title":"Why NoSQL Powers Modern UI Apps","permalink":"/why-nosql.html"}}');var i=t(4848),a=t(8453),r=(t(2636),t(3247),t(2443)),o=t(2271);const l={title:"Why Local-First Software Is the Future and its Limitations",slug:"local-first-future.html",description:"Discover how local-first transforms web apps, boosts offline resilience, and why instant user feedback is becoming the new normal."},c="Why Local-First Software Is the Future and what are its Limitations",d={},h=[{value:"What is the Local-First Paradigm",id:"what-is-the-local-first-paradigm",level:2},{value:"Why Local-First is Gaining Traction",id:"why-local-first-is-gaining-traction",level:2},{value:"What you can expect from a Local First App",id:"what-you-can-expect-from-a-local-first-app",level:2},{value:"User Experience Benefits",id:"user-experience-benefits",level:3},{value:"Developer Experience Benefits",id:"developer-experience-benefits",level:3},{value:"Challenges and Limitations of Local-First",id:"challenges-and-limitations-of-local-first",level:2},{value:"Local-First vs. Traditional Online-First Approaches",id:"local-first-vs-traditional-online-first-approaches",level:2},{value:"Connectivity and Offline Usage",id:"connectivity-and-offline-usage",level:3},{value:"Latency and Performance",id:"latency-and-performance",level:3},{value:"Complexity and Conflict Resolution",id:"complexity-and-conflict-resolution",level:3},{value:"Data Ownership and Storage Limits",id:"data-ownership-and-storage-limits",level:3},{value:"When to Choose Which",id:"when-to-choose-which",level:3},{value:"Offline-First vs. Local-First",id:"offline-first-vs-local-first",level:2},{value:"Do People Actually Use Local-First or Is It Just a Trend?",id:"do-people-actually-use-local-first-or-is-it-just-a-trend",level:2},{value:"Why Local-First Is the Future",id:"why-local-first-is-the-future",level:2},{value:"See also",id:"see-also",level:2}];function p(e){const s={a:"a",blockquote:"blockquote",code:"code",em:"em",figure:"figure",h1:"h1",h2:"h2",h3:"h3",header:"header",hr:"hr",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...(0,a.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s.header,{children:(0,i.jsx)(s.h1,{id:"why-local-first-software-is-the-future-and-what-are-its-limitations",children:"Why Local-First Software Is the Future and what are its Limitations"})}),"\n",(0,i.jsxs)(s.p,{children:["Imagine a web app that behaves seamlessly even with zero internet access, provides sub-millisecond response times, and keeps most of the user's data on their device. This is the ",(0,i.jsx)(s.strong,{children:"local-first"})," or ",(0,i.jsx)(s.a,{href:"/offline-first.html",children:"offline-first"})," approach. Although it has been around for a while, local-first has recently become more practical because of ",(0,i.jsx)(s.strong,{children:"maturing browser storage APIs"})," and new frameworks that simplify ",(0,i.jsx)(s.strong,{children:"data synchronization"}),". By allowing data to live on the client and only syncing with a server or other peers when needed, local-first apps can deliver a user experience that is ",(0,i.jsx)(s.strong,{children:"fast, resilient"}),", and ",(0,i.jsx)(s.strong,{children:"privacy-friendly"}),"."]}),"\n",(0,i.jsx)(s.p,{children:"However, local-first is no silver bullet. It introduces tricky distributed-data challenges like conflict resolution and schema migrations on client devices. In this article, we'll dive deep into what local-first means, why it's trending, its pros and cons, and how to implement it in real applications. We'll also discuss other tools, criticisms, backend considerations, and how local-first compares to traditional cloud-centric approaches."}),"\n",(0,i.jsx)(s.h2,{id:"what-is-the-local-first-paradigm",children:"What is the Local-First Paradigm"}),"\n",(0,i.jsxs)(s.p,{children:["In ",(0,i.jsx)(s.strong,{children:"local-first"})," software, the primary copy of your data lives on the ",(0,i.jsx)(s.strong,{children:"client"})," rather than a remote server. Rather than sending each read or write over the network, you store and manipulate data in a ",(0,i.jsx)(s.a,{href:"/articles/local-database.html",children:"local database"})," on the user\u2019s device. Sync then happens in the background, ensuring all devices eventually converge to a consistent state."]}),"\n",(0,i.jsxs)(s.p,{children:["This approach is increasingly popular because it leads to ",(0,i.jsx)(s.strong,{children:"instant"})," app responses (no network delay for most operations), genuine ",(0,i.jsx)(s.strong,{children:"offline capability"}),", and more direct ",(0,i.jsx)(s.strong,{children:"data ownership"})," for users. Local-first apps also sidestep outages and if the server or internet goes down, users can keep working with their local data. When connectivity returns, everything syncs. This makes the user experience ",(0,i.jsx)(s.strong,{children:"more resilient"})," and gives them control of their data, which is especially appealing when privacy concerns or limited connectivity are key factors."]}),"\n",(0,i.jsx)(r.G,{author:"Ink&Switch",year:"2019",sourceLink:"https://martin.kleppmann.com/papers/local-first.pdf",children:"Local-First software: A set of principles for software that enables both collaboration and ownership for users. Local-first ideals include the ability to work offline and collaborate across multiple devices, while also improving the security, privacy, long-term preservation, and user control of data."}),"\n",(0,i.jsx)(s.h2,{id:"why-local-first-is-gaining-traction",children:"Why Local-First is Gaining Traction"}),"\n",(0,i.jsx)(s.p,{children:"The push for local-first is driven by a few key new technological capabilities that previously restricted client devices from running heavy local-first computing:"}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:["\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.strong,{children:"Relaxed Browser Storage Limits"}),": In the past, true local-first web apps were not very feasible due to ",(0,i.jsx)(s.strong,{children:"storage limitations"})," in browsers. Early web storage options like cookies or ",(0,i.jsx)(s.a,{href:"/articles/localstorage.html#understanding-the-limitations-of-local-storage",children:"localStorage"})," had tiny limits (~5-10MB) and were unsuitable for complex data. Even ",(0,i.jsx)(s.strong,{children:"IndexedDB"}),", the structured client storage introduced over a decade ago, had restrictive quotas on many browsers: For example, older Firefox versions would ",(0,i.jsx)(s.strong,{children:"prompt the user if more than 50MB"})," was being stored. Mobile browsers often capped IndexedDB to 5MB without user permission. Such limits made it impractical to cache large application datasets on the client. However, modern browsers have dramatically ",(0,i.jsx)(s.a,{href:"/articles/indexeddb-max-storage-limit.html",children:"increased these limits"}),". Today, IndexedDB can typically store ",(0,i.jsx)(s.strong,{children:"hundreds of megabytes to multiple gigabytes"})," of data, depending on device capacity. Chrome allows up to ~80% of free disk space per origin (tens of GB on a desktop), Firefox now supports on the order of gigabytes per site (10% of disk size), and even Safari (historically strict) permits around 1GB per origin on iOS. In short, the storage quotas of 5-50MB are a thing of the past and modern web apps can cache very large datasets locally without hitting a ceiling. This shift in storage capabilities has unlocked new possibilities for ",(0,i.jsx)(s.strong,{children:"local-first web apps"})," that simply weren't viable a few years ago."]}),"\n"]}),"\n",(0,i.jsxs)(s.li,{children:["\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.strong,{children:"New Storage APIs (OPFS)"}),": The new Browser API ",(0,i.jsx)(s.a,{href:"/rx-storage-opfs.html",children:"Origin Private File System"})," (OPFS), part of the File System Access API, enables near-native file I/O from within a browser. It allows web apps to manage file handles securely and perform fast, synchronous reads/writes in Web Workers. This is a huge deal for local-first computing because it makes it feasible to embed robust database engines directly in the browser, persisting data to real files on a virtual filesystem. With OPFS, you can avoid some of the performance overhead that comes with ",(0,i.jsx)(s.a,{href:"/slow-indexeddb.html",children:"IndexedDB-based workarounds"}),", providing a near-native ",(0,i.jsx)(s.a,{href:"/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm.html#big-bulk-writes",children:"speed experience"})," for file-structured data."]}),"\n"]}),"\n"]}),"\n",(0,i.jsxs)("div",{style:{textAlign:"justify"},children:[(0,i.jsx)("img",{src:"/files/latency-london-san-franzisco.png",alt:"latency london san franzisco",width:"300",className:"img-in-text-right"}),(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Bandwidth Has Grown, But Latency Is Capped"}),": Internet infrastructure has rapidly expanded to provide higher throughput making it possible to transfer large amounts of data more quickly. However, latency (i.e., round-trip delay) is constrained by the ",(0,i.jsx)(s.strong,{children:"speed of light"})," and other physical limitations in fiber, satellite links, and routing. We can always build out bigger \"pipes\" to stream or send bulk data, but we can't significantly reduce the base round-trip time for each request. This is a physical limit, not a technological one. Local-first strategies mitigate this fundamental latency limit by avoiding excessive client-server calls in interactive workflows, once data is on the client, it's instantly available for reads and writes without waiting on a network round-trip. Imagine, transferring ",(0,i.jsx)(s.strong,{children:"around 100,000"}),' "average" JSON documents might only consume ',(0,i.jsx)(s.strong,{children:"about the same bandwidth as two frames of a 4K YouTube video"})," which can be transferred in milliseconds. This shows just how far raw data throughput has come. Yet each request still has a 100-200ms latency or more, which becomes noticeable in user interactions. Local-first mitigates this by minimizing round-trip calls during active use and using the available bandwidth to directly transfer most of the data on the first app start."]}),"\n"]})]}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:["\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.strong,{children:"WebAssembly"}),": Another advancement is ",(0,i.jsx)(s.strong,{children:"WebAssembly (WASM)"}),", which allows developers to compile low-level languages (C, C++, Rust) for execution in the browser at near-native speed. This means database engines, search algorithms, ",(0,i.jsx)(s.a,{href:"/articles/javascript-vector-database.html",children:"vector databases"}),", and other performance-heavy tasks can run right on the client. However, a key limitation is that ",(0,i.jsx)(s.strong,{children:"WASM cannot directly access persistent storage APIs"})," in the browser. Instead, all data must be send from WASM to JavaScript (or the main thread) and then go through something like IndexedDB or OPFS. This extra indirection ",(0,i.jsx)(s.a,{href:"/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm.html",children:"is slower"})," compared to plain JavaScript->storage calls. Looking ahead, there might come up future APIs that allow WASM to interface with persistent storage directly, and if those land, local-first systems could see another major boost in ",(0,i.jsx)(s.a,{href:"/rx-storage-performance.html",children:"performance"}),"."]}),"\n"]}),"\n",(0,i.jsxs)(s.li,{children:["\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.strong,{children:"Improvements in Local-First Tooling"}),": A major factor fueling the rise of local-first architectures is the ",(0,i.jsx)(s.strong,{children:"dramatic leap in client-side tooling and performance"}),". For instance, consider a local-first ",(0,i.jsx)(s.strong,{children:"email client"})," that stores ",(0,i.jsx)(s.strong,{children:"one million messages"}),". In 2014, searching through that many documents, especially with something like early PouchDB, could take ",(0,i.jsx)(s.strong,{children:"minutes"})," in a browser. Today, with advanced offline databases like ",(0,i.jsx)(s.strong,{children:"RxDB"}),", you can use the ",(0,i.jsx)(s.a,{href:"/rx-storage-opfs.html",children:"OPFS storage"})," with ",(0,i.jsx)(s.a,{href:"/rx-storage-sharding.html",children:"sharding"})," across multiple ",(0,i.jsx)(s.a,{href:"/rx-storage-worker.html",children:"web workers"})," (one per CPU) and use ",(0,i.jsx)(s.a,{href:"/rx-storage-memory-mapped.html",children:"memory-mapped"})," techniques. The result is a ",(0,i.jsx)(s.strong,{children:"regex search"})," of one million of these email documents in around ",(0,i.jsx)(s.strong,{children:"120 milliseconds"})," - all in JavaScript, running inside a standard web browser, on a mobile phone."]}),"\n",(0,i.jsxs)(s.p,{children:["Better yet, this performance ceiling is likely to keep rising. Newer browser features and ",(0,i.jsx)(s.strong,{children:"WebAssembly"})," optimizations could enable even faster indexing and query operations, closing the gap with native desktop clients. I even experimented with GPU-accelarated queries (using ",(0,i.jsx)(s.strong,{children:"WebGPU"}),") which, while still in experimental stage, might deliver client-side performance that outperforms servers which do not have a graphics card.\nThese transformations highlight why local-first has become truly practical: not only can you sync and work offline, but you can handle ",(0,i.jsx)(s.strong,{children:"serious data loads"})," with performance that would have been unthinkable just a few years ago."]}),"\n"]}),"\n"]}),"\n",(0,i.jsx)(s.h2,{id:"what-you-can-expect-from-a-local-first-app",children:"What you can expect from a Local First App"}),"\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.a,{href:"https://en.wikipedia.org/wiki/Jevons_paradox",children:"Jevons' Paradox"})," says that making a ",(0,i.jsx)(s.em,{children:"resource cheaper or more efficient to use often leads to greater overall consumption"}),". Originally about coal, it applies to the local-first paradigm in a way where we require apps to have more features, simply because it is technically possible, the app users and developers start to expect them:"]}),"\n",(0,i.jsx)(s.h3,{id:"user-experience-benefits",children:"User Experience Benefits"}),"\n",(0,i.jsxs)("div",{style:{textAlign:"justify"},children:[(0,i.jsx)("img",{src:"/files/loading-spinner-not-needed.gif",alt:"loading spinner not needed",width:"160",className:"img-in-text-right"}),(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Performance & UX:"})," Running from local storage means ",(0,i.jsx)(s.strong,{children:"low latency"})," and instantaneous interactions. There's no round-trip delay for most operations. Local-first apps aim to provide ",(0,i.jsx)(s.a,{href:"/articles/zero-latency-local-first.html",children:"near-zero latency"})," responses by querying a local database instead of waiting for a server response\u200b. This results in a snappy UX (often no need for loading spinners) because data reads/writes happen immediately on-device. Modern users expect real-time feedback, and local-first delivers that by default."]}),"\n"]})]}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"User Control & Privacy:"})," Storing data locally can limit how much sensitive information is sent off to remote servers. End users have greater control over their data, and the app can implement ",(0,i.jsx)(s.a,{href:"/encryption.html",children:"client-side encryption"}),", thereby reducing the risk of mass data breaches. Its even possible to only replicated encrypted data with a server so that the backend does not know about the data at all and just acts as a backup/replication endpoint."]}),"\n"]}),"\n",(0,i.jsxs)("div",{style:{textAlign:"justify"},children:[(0,i.jsx)("img",{src:"/files/offline-ready.png",alt:"offline ready",width:"110",className:"img-in-text-right"}),(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Offline Resilience:"})," Obviously, being able to work offline is a major benefit. Users can continue using the app with no internet (or flaky connectivity), and their changes sync up once online. This is increasingly important not just for remote areas, but for any app that needs to be available 24/7. Even though mobile networks have improved, connectivity can still drop; local-first ensures the app doesn't grind to a halt. The app ",(0,i.jsx)(s.em,{children:'"stores data locally at the client so that it can still access it when the internet goes away."'})]}),"\n"]})]}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:["\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.strong,{children:"Realtime Apps"}),": Today's users expect data to stay in sync across browser tabs and devices without constant page reloads. In a typical cloud app, if you want real-time updates (say to show that a friend edited a document), you'd need to implement a ",(0,i.jsx)(s.a,{href:"/articles/websockets-sse-polling-webrtc-webtransport.html",children:"websocket or polling"})," system for the server to push changes to clients, which is complex. Local-first architectures naturally lend themselves to realtime-by-default updates because the application state lives in a local database that can be observed for changes. Any edits (local or incoming from the server) immediately trigger ",(0,i.jsx)(s.a,{href:"/articles/optimistic-ui.html",children:"UI updates"}),". Similarly, background sync mechanisms ensure that new server-side data flows into the local store and into the user interface right away, no need to hit F5 to fetch the latest changes like on a traditional webpage."]}),"\n",(0,i.jsx)("p",{align:"center",children:(0,i.jsx)("img",{src:"/files/animations/realtime.gif",alt:"realtime ui updates",width:"700",className:"img-radius"})}),"\n"]}),"\n"]}),"\n",(0,i.jsx)(s.h3,{id:"developer-experience-benefits",children:"Developer Experience Benefits"}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:["\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.strong,{children:"Reduced Server Load"}),": Because local-first architectures typically ",(0,i.jsx)(s.strong,{children:"transfer large chunks of data once"})," (e.g., during an initial sync) and then sync only small diffs (delta changes) afterward, the server does not have to handle repeated requests for the same dataset. This bulk-first, diff-later approach drastically decreases the total number of round-trip requests to the backend. In scenarios where hundreds of simultaneous users each require continuous data access, an offline-ready client that only periodically sends or receives changes can scale more efficiently, freeing your servers to handle more users or other tasks. Instead of being bombarded with frequent small queries and updates, the server focuses on periodic sync operations, which can be more easily optimized or batched. It ",(0,i.jsx)(s.strong,{children:"Scales with Data, Not Load"}),". In fact for most type of apps, most of the data itself rarely changes. Imagine a CRM system, how often does the data of a customer really change compared to how of a user open the customer-overview page which would load data from a server in traditional systems?"]}),"\n"]}),"\n",(0,i.jsxs)(s.li,{children:["\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.strong,{children:"Less Need for Custom API Endpoints"}),": A local-first architecture often simplifies backend design. Instead of writing extensive REST routes for each client operation (create, read, update, delete, etc.), you can build a ",(0,i.jsx)(s.strong,{children:"single replication endpoint"})," or a small set of endpoints to handle data synchronization for each entity. The client manages local data, merges edits, and pushes/pulls changes with the server automatically. This not only ",(0,i.jsx)(s.strong,{children:"reduces boilerplate code"})," on the backend but also ",(0,i.jsx)(s.strong,{children:"frees developers"})," to focus on business logic and domain-specific concerns rather than spending time creating and maintaining dozens of narrowly scoped endpoints. As a result, the overall system can be easier to scale and maintain, delivering a ",(0,i.jsx)(s.strong,{children:"smoother developer experience"}),"."]}),"\n"]}),"\n",(0,i.jsxs)(s.li,{children:["\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.strong,{children:"Simplified State Management in Frontend"}),': Because the local database holds the authoritative state, you might rely less on complex state management libraries (Redux, MobX, etc.). The DB becomes a single source of truth for your UI. In an offline-first app, your global state is already there in a single place stored inside of the local database, so you don\'t need as many in-memory state layers to synchronize\u200b. The UI can directly bind to the database (using queries or reactive subscriptions). All sources of changes (user input, remote updates, other tabs) funnel through the database. This can significantly reduce the "glue code" to keep UI state in sync with server state because the local DB does that for you. With Local-First tools, "you might not need Redux" because the reactive DB fulfills that role\u200b of state management already.']}),"\n"]}),"\n",(0,i.jsxs)(s.li,{children:["\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.strong,{children:"Observable Queries"}),": One of the big advantages of storing data locally is the ability to ",(0,i.jsx)(s.strong,{children:"subscribe"})," to data changes in real time, often called ",(0,i.jsx)(s.strong,{children:"observable queries"}),". When the data changes - either from the user's actions or from a remote sync - the local database automatically updates the subscribed query results, and the UI can redraw without a manual refresh. This reactive pattern can make apps feel much more live and responsive."]}),"\n",(0,i.jsxs)(s.p,{children:["In the beginnings this was mostly done by watching a changes feed (like in PouchDB) and ",(0,i.jsx)(s.strong,{children:"re-running queries"})," whenever data changed. However, this early approach was ",(0,i.jsx)(s.strong,{children:"slow and didn't scale well"}),", because the entire query had to be recalculated each time. Later, RxDB introduced the ",(0,i.jsx)(s.a,{href:"https://github.com/pubkey/event-reduce",children:"EventReduce Algorithm"}),", which merges incoming document changes into an existing query result by using a big ",(0,i.jsx)(s.a,{href:"https://github.com/pubkey/binary-decision-diagram",children:"binary decision tree"}),'. With this, updated query results can be "calculated" on the CPU instead of re-running them over the database. This makes query updates almost instantaneous and scales better as your data grows. Nowadays, many local databases have added similar features: for example, ',(0,i.jsx)(s.strong,{children:"dexie.js"})," introduced ",(0,i.jsx)(s.code,{children:"liveQuery"}),", letting developers build real-time UIs without repeatedly scanning the entire dataset."]}),"\n"]}),"\n",(0,i.jsxs)(s.li,{children:["\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.strong,{children:"Better Multi-Tab and Multi-Device Consistency"}),": Because the source of truth is on the client, if the user has the app open in multiple tabs or even multiple devices, each has a full copy of the data. In browsers, many offline databases use a storage like IndexedDB that is shared across tabs of the same origin. This means all tabs see the same up-to-date local state. For example, if a user logs in or adds data in one tab, the other tab can automatically reflect that change via the shared local DB and events\u200b. This solves a common issue in web apps where one tab doesn't know that something changed in another tab. With local-first, ",(0,i.jsx)(s.strong,{children:"multi-tab just works"}),' by default because there\'s "exactly one state of the data across all tabs". Similarly, on multiple devices, once sync runs, each device eventually converges to the same state.']}),"\n",(0,i.jsxs)(s.blockquote,{children:["\n",(0,i.jsx)(s.p,{children:"If your users have to press F5 all the time, your app is broken!"}),"\n"]}),"\n"]}),"\n",(0,i.jsxs)(s.li,{children:["\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.strong,{children:"Potential for P2P and Decentralization"}),": While most current local-first apps still use a central backend for syncing, the paradigm opens the door to ",(0,i.jsx)(s.a,{href:"/replication-webrtc.html",children:"peer-to-peer data syncing"}),". Because each device has the full data, devices could sync directly via LAN or other P2P channels for collaboration, reducing reliance on central servers. There are experimental frameworks that allow truly decentralized sync. This is a more advanced benefit, but it aligns with the ethos of giving users more control and reducing dependence on any one cloud provider."]}),"\n"]}),"\n"]}),"\n",(0,i.jsx)(s.p,{children:"These advantages show why developers are excited about local-first. You get happier users thanks to a fast, offline-capable app, and you can differentiate your product by working in scenarios where others fail (e.g. poor connectivity). Companies like Google, Amazon, etc., invest heavily in reducing latency and adding offline modes for a reason: it improves retention and usability. Local-first design takes that to the extreme by default."}),"\n",(0,i.jsx)(s.h2,{id:"challenges-and-limitations-of-local-first",children:"Challenges and Limitations of Local-First"}),"\n",(0,i.jsx)(s.p,{children:"However, this approach is not without significant challenges. It's important to understand the drawbacks and trade-offs before deciding to go all-in on local-first. Let's examine the flip side."}),"\n",(0,i.jsxs)(r.G,{author:"Daniel",year:"2024",sourceLink:"https://github.com/pubkey",children:["You fully understood a technology when you know when ",(0,i.jsx)("b",{children:"not"})," to use it"]}),"\n",(0,i.jsx)(s.p,{children:"Critics of local-first approaches often point out these challenges. Here's a comprehensive list of cons, criticisms, and obstacles associated with local-first development and proposed solutions on how to solve these obstacles:"}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Data Synchronization"}),": Data synchronization is arguably the hardest part of local-first development, because when every user's device can be offline for extended periods, data inevitably diverges. Ensuring those changes propagate and reconcile with minimal user headaches is a major challenge in distributed systems. Two main approaches have emerged:","\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:["\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.strong,{children:"Use a bundled frontend+backend solution"})," where the backend is tightly coupled to the client SDK and knows exactly how to handle sync. A common example is Firestore (part of the Firebase ecosystem) where Google's servers and client libraries collectively manage storage, change detection, conflict resolution, and syncing. The upside is you have a turnkey solution, developers can focus on features rather than writing sync logic. The downside is lock-in, because the sync protocol is proprietary and tailored to that vendor. In many organizations, this is a non-starter: existing company infrastructure can't be uprooted or replaced just for a single offline-capable app. This lock-in issue can arise even if the backend is not strictly a third-party vendor but simply another technology like PostgreSQL, because it still forces you to consolidate all your data into a single system that you might not use otherwise."]}),"\n"]}),"\n",(0,i.jsxs)(s.li,{children:["\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.strong,{children:"Custom Replication with Your Own Endpoints"}),": Alternatively, tools like RxDB allow you to implement your own replication endpoints on top of your existing infrastructure. This is the approach relies on a lightweight, git-like ",(0,i.jsx)(s.a,{href:"/replication.html",children:"Sync Engine"}),'. The server remains relatively "dumb," focusing on storing revisions, tracking changes, and marking conflicts, while the client library does the actual ',(0,i.jsx)(s.a,{href:"/transactions-conflicts-revisions.html",children:"conflict resolution"}),". During sync, if the server detects a conflict (e.g., two offline edits to the same document), it notifies the client, which then decides how to merge them, whether via last-write-wins, a custom merge function, or a ",(0,i.jsx)(s.a,{href:"/crdt.html",children:"CRDT"}),". Setting up custom endpoints does require more development effort, but you avoid vendor lock-in and can integrate seamlessly with your existing database(s). Your system simply needs to support incrementally fetching changes (pull) and accepting local modifications (push), which can be layered on top of nearly any data store or architecture."]}),"\n",(0,i.jsx)(s.p,{children:'Tools which support "any backend" are of course harder to monetize because they cannot sell SaaS services or a Cloud Subscription which is why most tools use a fixed backend instead of an open Sync Engine.'}),"\n"]}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,i.jsxs)("div",{style:{textAlign:"justify"},children:[(0,i.jsx)("img",{src:"/files/document-replication-conflict.svg",alt:"Conflict Handling",width:"170",className:"img-in-text-right"}),(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:["\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.strong,{children:"Conflict Resolution"}),": When multiple offline edits happen on the same data, you inevitably get ",(0,i.jsx)(s.strong,{children:"merge conflicts"}),". For example, if two users (or the same user on two devices) both edit the same document offline, when both sync, whose changes win? Local-first systems need a conflict resolution strategy. Some systems use ",(0,i.jsx)(s.strong,{children:"last-write-wins"}),' (firestore) or deterministic revision hashing to pick a "winner" (as in CouchDB/PouchDB)\u200b. This is simple but may drop one user\'s changes. Other approaches keep both versions and merge them either via an implement ',(0,i.jsx)(s.a,{href:"/transactions-conflicts-revisions.html#custom-conflict-handler",children:'"merge-function"'})," or require a ",(0,i.jsx)(s.strong,{children:"manual merge"})," step (e.g., like git conflicts or showing the user a diff UI). More advanced solutions involve ",(0,i.jsx)(s.strong,{children:"CRDTs (Conflict-free Replicated Data Types)"}),' which mathematically merge changes (used for rich text collaboration, for instance). Libraries like Automerge or Yjs implement CRDTs to "magically solve conflicts". But in practice, using CRDTs is also complex and has its own trade-offs and sometimes not even possible like when you need additional data from another instance for a "correct" merge. No matter which route, handling conflicts adds complexity to your app logic or infrastructure. In cloud-based (online-first) apps, you avoid this because everyone is always editing the single up-to-date copy on the server. Local-first shifts that burden to the client side.']}),"\n",(0,i.jsx)(s.p,{children:"Here is an example on how a client-side merge functions works in RxDB:"}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { deepEqual } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/utils'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"export"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" myConflictHandler"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * isEqual() is used to detect if two documents are"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * equal. This is used internally to detect conflicts."})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" isEqual"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(a"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" b) {"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * isEqual() is used to detect conflicts or to detect if a"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * document has to be pushed to the remote."})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * If the documents are deep equal,"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * we have no conflict."})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * Because deepEqual is CPU expensive,"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * on your custom conflict handler you might only"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * check some properties, like the updatedAt time or revision-strings"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * for better performance."})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" deepEqual"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(a"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" b);"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * resolve() a conflict. This can be async so"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * you could even show an UI element to let your user"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * resolve the conflict manually."})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" async"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" resolve"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(i) {"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * In this example we drop the local state and use the server-state."})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:' * This basically implements a "first-on-server-wins" strategy.'})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * "})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * In your custom conflict handler you could want to merge properties"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * of the i.realMasterState, i.assumedMasterState and i.newDocumentState"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:' * or return i.newDocumentState to have a "last-write-wins" strategy.'})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" i"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".realMasterState;"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"};"})})]})})}),"\n"]}),"\n"]})]}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:["\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.strong,{children:"Eventual Consistency (No Single Source of Truth):"})," A local-first system is ",(0,i.jsx)(s.strong,{children:"eventually consistent"})," by nature. There is no single authoritative copy of the data at all times. Instead you have one per device (and maybe one on the server), and they sync to become consistent eventually. This means at any given moment, two users might not see the same data if one hasn't synced recently. Users could even make decisions based on stale data. In many applications this is acceptable (the data will catch up), but for some scenarios it's problematic. For instance, an offline-first banking app that lets you initiate a money transfer offline could be dangerous if the account balance was out-of-date or if the transfer needs immediate consistency. Essentially, ",(0,i.jsx)(s.strong,{children:"not all apps can tolerate eventual consistency"}),". If your use case demands strong consistency (e.g., inventory systems where overselling is a big issue, or real-time collaborative editing where every keystroke must be seen by others instantly), a purely local-first approach might need augmentation or may not fit."]}),"\n"]}),"\n",(0,i.jsxs)(s.li,{children:["\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.strong,{children:"Initial Data Load and Data Size Limits:"})," Local-first requires pulling data ",(0,i.jsx)(s.strong,{children:"down to the client"}),". If your dataset is huge (gigabytes), it's simply not feasible to download everything to every client. For example, syncing every tweet on Twitter to every user's phone is impossible. Local-first works best when the data set per user is reasonably sized (up to 2 Gigabytes). In practice, you often ",(0,i.jsx)(s.strong,{children:"limit the data"})," to just that user's own data or a subset relevant to them. Even then, on first use the app might need to download a significant chunk of data to initialize the local database. There is a ",(0,i.jsx)(s.strong,{children:"upper bound on dataset size"})," beyond which the initial sync or storage needs become impractical. You cannot assume unlimited local storage. If your data is too large, local-first will either fail or you'll need to only sync partial data (and then handle what happens if the needed data isn't present locally). In short, ",(0,i.jsx)(s.strong,{children:"local-first is unsuitable for massive datasets"})," or data that cannot be partitioned per user."]}),"\n"]}),"\n"]}),"\n",(0,i.jsxs)("div",{style:{textAlign:"justify"},children:[(0,i.jsx)("img",{src:"/files/safari-database.png",alt:"safari database",width:"160",className:"img-in-text-right"}),(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Storage Persistence (Browser Limitations):"})," Storing data in the browser (via IndexedDB or similar) is not as durable as on a server disk. Browsers may ",(0,i.jsx)(s.strong,{children:"evict data"}),' to save space (especially on mobile devices). For instance, Safari notoriously wipes out IndexedDB data if the user hasn\'t used the site in ~7 days. Other browsers have their own eviction policies for offline data. Also, users can at any time clear their browser storage (intentionally or via something like "Clear site data"). This means the local data ',(0,i.jsx)(s.strong,{children:"cannot be 100% trusted to stay forever"}),". A well-behaved local-first app needs to be able to recover if local data is lost, usually by pulling from the server again\u200b. Essentially, the server still often serves as a backup. But if your app had any purely local data (not intended to sync), that's at risk. ",(0,i.jsx)(s.strong,{children:"Mobile apps"})," (with SQLite or filesystem storage) are a bit more stable than web browsers, but even there, uninstalls or certain OS actions can remove local data. This is a challenge: How to cache data offline for speed while ensuring if it's wiped, the user doesn't lose everything important. Cloud-only apps by contrast keep data in the cloud so it's typically safe unless the server fails (and servers are easier to backup reliably)."]}),"\n"]})]}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:["\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.strong,{children:"Complex Client-Side Logic & Increased App Size"}),": A local-first app tends to be more complex on the client side. You're essentially putting what used to be server responsibilities (storage, query engine, sync logic) into the frontend. This can increase the size of your frontend bundle (including a database library, possibly CRDT or sync code, etc.). It also increases memory and CPU usage on the client, as the browser/phone is doing more work. Low-end devices or older phones might struggle if the app is not optimized. Developers need to consider performance tuning for the local database (indexing, query efficiency) just like they would on a server. So while the user gains benefits, the app developer has to manage this complexity."]}),"\n"]}),"\n",(0,i.jsxs)(s.li,{children:["\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.strong,{children:"Performance Constraints in JavaScript:"})," Even though devices are fast, a local JS database is generally ",(0,i.jsx)(s.strong,{children:"slower than a server DB"})," on robust hardware. There are many layers (JS -> IndexedDB -> possibly SQLite under the hood) that add overhead\u200b. For example, inserting a record might go through the DB library, the storage engine, the browser's implementation, down to disk. For most UI uses this is fine (you don't need 10k writes/sec in a to-do app, you need maybe a few writes per second at most). But if your app does heavy data processing, the browser might become a bottleneck."]}),"\n",(0,i.jsxs)(s.p,{children:["The key question is ",(0,i.jsx)(s.em,{children:'"Is it fast enough?"'}),". Often the answer is yes for typical usage, but developers must be mindful of not doing something on the client that truly requires big iron servers. For instance, full-text indexing of a million documents might be too slow in a client-side DB. ",(0,i.jsx)(s.strong,{children:"Unpredictable performance"})," is also a factor: Different users have different devices. A query that takes 50ms on a high-end desktop might take 500ms on a low-end phone in battery saving mode. So performance tuning and testing across devices is needed, and some heavy tasks might still belong on the server side\u200b. For example if you build a ",(0,i.jsx)(s.a,{href:"/articles/javascript-vector-database.html",children:"local vector database"})," you might want to create the embeddings on the server and sync them instead of creating them on the client."]}),"\n"]}),"\n",(0,i.jsxs)(s.li,{children:["\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.strong,{children:"Client Database Migrations:"})," As your app evolves, you'll change data models or add new fields. In a cloud-first app, you'd typically run a migration on the server database. In a local-first app, you have not only the server DB (if any) but also every client's local database to consider. Upgrading the schema means you need to write migration logic that runs on each client, perhaps the next time they launch the app after an update. Clients may be offline or not upgrade the app immediately, so you could have different versions of the schema in the wild. This complicates data handling (the sync protocol might need to handle multiple schema versions until everyone is updated). Providing a smooth migration path for local data is doable (many libraries provide ",(0,i.jsx)(s.a,{href:"/migration-schema.html",children:"migration facilities"}),"), but it requires careful testing. In a worst case, a failed migration on a client could brick the app for that user or force a full resync. This is a ",(0,i.jsx)(s.strong,{children:"much bigger headache"})," than just migrating a centralized DB at midnight while your service is in maintenance mode. \ud83c\udf03"]}),"\n"]}),"\n",(0,i.jsxs)(s.li,{children:["\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.strong,{children:"Security and Access Control:"})," In cloud-based apps, enforcing data security (who can see what) is done on the server. The client only gets the data it's authorized to get. In a local-first scenario, you often need to ",(0,i.jsx)(s.strong,{children:"partition data per user"})," on the backend as well, to ensure users only sync down their own data (or data they have permission for). One simple strategy is to give each user their own database or dataset on the server and only replicate that. For example, CouchDB allows creating one database per user and replication can be scoped to that DB which makes permission handling easy. But if you ever need to query across users (say an admin view or aggregate analytics), having data split into many small DBs becomes a pain. The alternative is a single backend database with a ",(0,i.jsx)(s.strong,{children:"fine-grained access control"}),", and the client asks to sync only certain documents/fields. That usually means writing a custom sync server or using something like GraphQL with resolvers that respect permissions. In short, ",(0,i.jsx)(s.strong,{children:"implementing auth and permissions in sync"})," adds complexity. Also, any data stored on the client is theoretically vulnerable to extraction (if someone compromises the device or uses dev tools). You can ",(0,i.jsx)(s.a,{href:"/encryption.html",children:"encrypt local databases"}),' to prevent extraction after the server "revokes" the decryption password to mitigate the data extraction risk.']}),"\n"]}),"\n"]}),"\n",(0,i.jsxs)("div",{style:{textAlign:"justify"},children:[(0,i.jsx)("img",{src:"/files/no-sql.png",alt:"NoSQL Document",width:"100",className:"img-in-text-right"}),(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:["\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.strong,{children:"Relational Data and Complex Queries:"})," Most client-side/offline databases are ",(0,i.jsx)(s.a,{href:"/why-nosql.html",children:"NoSQL/document oriented"})," for flexibility in syncing and easy conflict handling. They may not support complex join queries or ACID transactions across multiple tables like a full SQL database would. This is partly because replicating a full relational model is much harder (maintaining referential integrity, etc., when data is partial on a client) or not even logically possible. For example if you have two offline clients running a complex ",(0,i.jsx)(s.code,{children:"UPDATE X WHERE Y FROM Z INNER JOIN Alice INNER JOIN Bob"})," query and then they go online, you have no easy way of handling these conflicts."]}),"\n",(0,i.jsxs)(s.p,{children:["If your app has heavy relational data requirements or relies on complex server-side queries (aggregations, multi-join reports), you might find the local database either cannot do it or is too slow to do it client-side. The lack of robust relational querying is something to plan for and you might need to adjust your data model to be more document-oriented or use client-side libraries to run ",(0,i.jsx)(s.a,{href:"/why-nosql.html#relational-queries-in-nosql",children:"joins in memory"}),". Most tools use NoSQL because it makes replication easy and implementing true relational sync would require extremely sophisticated solutions and even needing an atomic clock for full consistency across nodes (like google spanner). So, ",(0,i.jsx)(s.strong,{children:"if your app truly needs SQL power on the client"}),", local-first might complicate things."]}),"\n",(0,i.jsxs)(s.blockquote,{children:["\n",(0,i.jsx)(s.p,{children:"In Local-First, most tools use NoSQL because it makes replication and conflict handling easy."}),"\n"]}),"\n"]}),"\n"]})]}),"\n",(0,i.jsxs)(s.p,{children:["That's a long list of challenges! In summary, local-first approaches introduce distributed data issues on the client side that web developers usually didn't have to deal with. Despite these challenges, the local-first movement is steadily growing because the ",(0,i.jsx)(s.strong,{children:"benefits to user experience and data control are very compelling"})," and modern tools are emerging to mitigate a lot of these difficulties. All of these are solved or solvable for your specific use-case, just keep them in mind before you start architecting your local-first app."]}),"\n",(0,i.jsx)(s.h2,{id:"local-first-vs-traditional-online-first-approaches",children:"Local-First vs. Traditional Online-First Approaches"}),"\n",(0,i.jsx)(s.p,{children:'So now that you know the pros and cons about Local-First. Lets directly compare it to your previous "online-first" stack:'}),"\n",(0,i.jsx)(s.h3,{id:"connectivity-and-offline-usage",children:"Connectivity and Offline Usage"}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Local-first"}),": Apps like WhatsApp store messages locally on your device, letting you read past messages and even compose new ones without a stable network connection. Once online, the messages sync with the server and other participants."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Online-first"}),": Purely cloud-based apps typically stop functioning (beyond simple caching) when the network or server goes down. They rely on a constant connection to fetch or store user data."]}),"\n"]}),"\n",(0,i.jsx)(s.h3,{id:"latency-and-performance",children:"Latency and Performance"}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Local-first"}),": Because data operations happen on the device, you see near-instant interactions (e.g., typing and reading chats feels very responsive, as the messages are on your phone). Syncing occurs in the background without delaying the user."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Online-first"}),": Most interactions involve a round-trip to the server, adding network latency and potentially requiring loading states or fallback UIs. If the network is slow or unreliable, users can experience delays when sending or receiving updates."]}),"\n"]}),"\n",(0,i.jsx)(s.h3,{id:"complexity-and-conflict-resolution",children:"Complexity and Conflict Resolution"}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Local-first"}),": Much of the complexity like storing data or handling conflicts, shifts to the client. WhatsApp, for instance, caches all messages locally and queues unsent messages offline. Once reconnected, it must reconcile with the server and other devices, especially if the same account is used on multiple platforms."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Online-first"}),": A single central server manages data and concurrency, so clients remain thinner. However, the app becomes unusable if connectivity is lost, and any server downtime directly impacts all users."]}),"\n"]}),"\n",(0,i.jsx)(s.h3,{id:"data-ownership-and-storage-limits",children:"Data Ownership and Storage Limits"}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Local-first"}),": Users hold a complete copy of data on their own device, retaining control and quick access. This can raise challenges when data sets are very large; phone storage might be insufficient, or backups may be harder to guarantee."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Online-first"}),": Storing all data in the cloud scales more easily, and providers often manage backups automatically. On the downside, users depend on the service and must trust it to protect their data."]}),"\n"]}),"\n",(0,i.jsx)(s.h3,{id:"when-to-choose-which",children:"When to Choose Which"}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Local-first"}),": Particularly helpful for scenarios where offline operation and immediate responsiveness matter, such as chat apps (like WhatsApp), field tools in low-connectivity environments, or any use case where users can't rely on being online 24/7."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Online-first"}),": Well-suited for systems that demand real-time central control or massive data aggregation with minimal offline needs, such as large-scale analytics platforms or services where guaranteed immediate global consistency is essential."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Hybrid"}),": In reality, most modern apps often blend these approaches, giving users partial offline capabilities (caching, queued updates) alongside a robust central service. This hybrid method offers the benefits of local speed and resilience, while still leveraging cloud infrastructure for collaboration and global reach. But a truth local-first app is way more than just a cache."]}),"\n"]}),"\n",(0,i.jsx)(s.hr,{}),"\n",(0,i.jsx)(s.h2,{id:"offline-first-vs-local-first",children:"Offline-First vs. Local-First"}),"\n",(0,i.jsxs)(s.p,{children:["In the early days of offline-capable web apps (around 2014), the common phrase was ",(0,i.jsx)(s.strong,{children:'"Offline-First"'}),". Tools like ",(0,i.jsx)(s.strong,{children:"PouchDB"})," popularized the notion that developers should assume devices are often offline or have flaky connections, so apps must continue to work seamlessly without a network. The guiding principle was ",(0,i.jsx)(s.em,{children:'"apps should treat being online as optional."'})," If a user has no internet access, the application's core features still function, saving or queuing data locally, and automatically synchronizing once connectivity is restored."]}),"\n",(0,i.jsx)("center",{children:(0,i.jsx)(o.N,{videoId:"bWXAZboHZN8",title:"What is Offline First?",duration:"4:18"})}),"\n",(0,i.jsx)("br",{}),"\n",(0,i.jsxs)(s.p,{children:["Over time, this focus on offline support evolved into the broader concept of ",(0,i.jsx)(s.strong,{children:'"Local-First Software,"'})," (see ",(0,i.jsx)(s.a,{href:"https://martin.kleppmann.com/papers/local-first.pdf",children:"Ink&Switch"}),") emphasizing not just offline operation but also the technical underpinnings of ",(0,i.jsx)(s.strong,{children:"storing data locally"})," in the client application. While offline-first is primarily about resilience to network loss, local-first highlights ownership, privacy, and performance benefits of keeping the primary data on the user's device. Most tools these days extended the original offline-first concepts, adding real-time reactivity, custom sync, and more nuances like conflict resolution or encryption."]}),"\n",(0,i.jsxs)("div",{style:{textAlign:"justify"},children:[(0,i.jsx)("img",{src:"/files/no-map-tag.png",alt:"no map t ag",width:"100",className:"img-in-text-right"}),(0,i.jsxs)(s.p,{children:["However, the term ",(0,i.jsx)(s.strong,{children:'"local-first"'})," can be ",(0,i.jsx)(s.strong,{children:"confusing"}),' to non-technical audiences because many people (especially in the US) associate "local first" with ',(0,i.jsx)(s.em,{children:"community-oriented movements"})," that encourage buying from nearby businesses or supporting local initiatives. To reduce ambiguity, it may be clearer to use ",(0,i.jsx)(s.strong,{children:'"local first software"'})," or ",(0,i.jsx)(s.strong,{children:'"local first development"'})," in your documentation and marketing materials. When creating branding or logos around local-first software, ",(0,i.jsx)(s.strong,{children:'avoid using the "Google Maps Pin"'}),' as a symbol. This icon typically implies geolocation or physical locality further mixing up the notion of "location-based services" with "on-device data storage."']})]}),"\n",(0,i.jsx)(s.h2,{id:"do-people-actually-use-local-first-or-is-it-just-a-trend",children:"Do People Actually Use Local-First or Is It Just a Trend?"}),"\n",(0,i.jsxs)(s.p,{children:["If we look at ",(0,i.jsx)(s.strong,{children:"npm download statistics"}),", we see that ",(0,i.jsx)(s.strong,{children:"PouchDB"})," - one of the oldest libraries for local-first apps - has about ",(0,i.jsx)(s.strong,{children:"53k"})," downloads each week, and ",(0,i.jsx)(s.strong,{children:"RxDB"})," - a newer library - has about ",(0,i.jsx)(s.strong,{children:"22k"})," weekly downloads. Other local-first tools often have even fewer downloads. In comparison, a popular library like ",(0,i.jsx)(s.strong,{children:"react-query"}),", which does not focus on local storage, is downloaded about ",(0,i.jsx)(s.strong,{children:"1.6 million"})," times a week. These numbers show that local-first libraries, while used, are not as common as some of the more traditional tools."]}),"\n",(0,i.jsxs)(s.p,{children:["One reason is that ",(0,i.jsx)(s.strong,{children:"local-first"}),' is still a new idea. Many developers are used to traditional "online-first" approaches, so switching to a local database and then syncing changes later can feel unfamiliar. Developers must learn different patterns, deal with offline synchronization, and handle possible conflicts. That extra work can be a barrier to adoption which might change in the future as tooling improves.']}),"\n",(0,i.jsxs)(s.p,{children:["While most of RxDB is open source, there are also ",(0,i.jsx)(s.strong,{children:"premium plugins"})," that help sustain RxDB as a long-term project. Because people purchase these plugins, we gains insights into how developers are using local-first features:"]}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:["About ",(0,i.jsx)(s.strong,{children:"half"})," of these users mainly want ",(0,i.jsx)(s.strong,{children:"offline functionality"})," for cases such as farming equipment, mining, construction, or even a shrimp farm app."]}),"\n",(0,i.jsxs)(s.li,{children:["The ",(0,i.jsx)(s.strong,{children:"other half"})," focus on ",(0,i.jsx)(s.strong,{children:"faster, real-time UIs"})," for to-do or reading apps, a space launch planning tool, and various dashboard apps. This range of use cases highlights both the resilience offline mode can offer and the performance boost that local databases can provide when synced in the background."]}),"\n"]}),"\n",(0,i.jsx)(s.h2,{id:"why-local-first-is-the-future",children:"Why Local-First Is the Future"}),"\n",(0,i.jsxs)(s.p,{children:["Early in the history of the web, users ",(0,i.jsx)(s.strong,{children:"expected"})," static pages. If you wanted to see new content, you ",(0,i.jsx)(s.strong,{children:"reloaded"})," the page. That was normal at the time, and nobody found it strange because everything worked that way."]}),"\n",(0,i.jsxs)(s.p,{children:["Then, as more sites added ",(0,i.jsx)(s.strong,{children:"real-time"}),' features - auto-updating feeds, live notifications, single-page apps - suddenly those older "reload-only" sites began to feel ',(0,i.jsx)(s.strong,{children:"slow"})," or ",(0,i.jsx)(s.strong,{children:"outdated"}),". Why wait for a manual refresh when real-time data was possible and readily available?"]}),"\n",(0,i.jsxs)(s.p,{children:["The same pattern is happening with ",(0,i.jsx)(s.strong,{children:"local-first"})," apps. Right now, most sites are still built around network availability. We see loading spinners whenever data is fetched, and we simply wait for the server response. As local-first experiences become ",(0,i.jsx)(s.strong,{children:"commonplace"})," - removing spinners, letting users keep working when offline, and syncing in the background - everything else will start to feel ",(0,i.jsx)(s.strong,{children:"frustratingly behind"}),". Users won't tolerate slow or blocked interactions if they've seen apps that respond instantly and remain usable offline. They'll expect that as the default and we'll likely see growing pressure on developers to eliminate those extra loading steps. For many users, the experience of ",(0,i.jsx)(s.strong,{children:"immediate local writes will become not just a perk, but an expectation!"})]}),"\n",(0,i.jsx)(s.h2,{id:"see-also",children:"See also"}),"\n",(0,i.jsx)("center",{children:(0,i.jsx)("a",{href:"https://rxdb.info/",children:(0,i.jsx)("img",{src:"../files/logo/rxdb_javascript_database.svg",alt:"JavaScript Angular Database",width:"220"})})}),"\n",(0,i.jsx)("br",{}),"\n",(0,i.jsx)("br",{}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:["Discuss ",(0,i.jsx)(s.a,{href:"https://news.ycombinator.com/item?id=43289885",children:"this topic on HackerNews"})]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.a,{href:"/alternatives.html",children:"Local-First Technologies"}),": A list of databases and technologies (besides ",(0,i.jsx)(s.a,{href:"/",children:"RxDB"}),") that support offline-first or local-first use cases."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.a,{href:"/chat/",children:"Discord"}),": Join our Discord server to talk with people and share ideas about this topic."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.a,{href:"https://martin.kleppmann.com/papers/local-first.pdf",children:"Inc&Switch"}),': The "original" paper about Local-First from 2019 where the naming of local-first Software was first used and described.']}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.a,{href:"/quickstart.html",children:"Learn how to build a local-first Application with RxDB"}),"."]}),"\n"]})]})}function u(e={}){const{wrapper:s}={...(0,a.R)(),...e.components};return s?(0,i.jsx)(s,{...e,children:(0,i.jsx)(p,{...e})}):p(e)}},8453(e,s,t){t.d(s,{R:()=>r,x:()=>o});var n=t(6540);const i={},a=n.createContext(i);function r(e){const s=n.useContext(a);return n.useMemo(function(){return"function"==typeof e?e(s):{...s,...e}},[s,e])}function o(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:r(e.components),n.createElement(a.Provider,{value:s},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/77d975e6.f460ed60.js b/docs/assets/js/77d975e6.f460ed60.js
deleted file mode 100644
index 07a2b725613..00000000000
--- a/docs/assets/js/77d975e6.f460ed60.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[3949],{6805(e,a,s){s.r(a),s.d(a,{assets:()=>l,contentTitle:()=>o,default:()=>h,frontMatter:()=>t,metadata:()=>i,toc:()=>d});const i=JSON.parse('{"id":"articles/in-memory-nosql-database","title":"RxDB In-Memory NoSQL - Supercharge Real-Time Apps","description":"Discover how RxDB\'s in-memory NoSQL engine delivers blazing speed for real-time apps, ensuring responsive experiences and seamless data sync.","source":"@site/docs/articles/in-memory-nosql-database.md","sourceDirName":"articles","slug":"/articles/in-memory-nosql-database.html","permalink":"/articles/in-memory-nosql-database.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"RxDB In-Memory NoSQL - Supercharge Real-Time Apps","slug":"in-memory-nosql-database.html","description":"Discover how RxDB\'s in-memory NoSQL engine delivers blazing speed for real-time apps, ensuring responsive experiences and seamless data sync."},"sidebar":"tutorialSidebar","previous":{"title":"RxDB - The Ultimate JS Frontend Database","permalink":"/articles/frontend-database.html"},"next":{"title":"RxDB - The Perfect Ionic Database","permalink":"/articles/ionic-database.html"}}');var n=s(4848),r=s(8453);const t={title:"RxDB In-Memory NoSQL - Supercharge Real-Time Apps",slug:"in-memory-nosql-database.html",description:"Discover how RxDB's in-memory NoSQL engine delivers blazing speed for real-time apps, ensuring responsive experiences and seamless data sync."},o="RxDB as In-memory NoSQL Database: Empowering Real-Time Applications",l={},d=[{value:"Speed and Performance Benefits",id:"speed-and-performance-benefits",level:2},{value:"Persistence Options",id:"persistence-options",level:2},{value:"Use Cases for RxDB",id:"use-cases-for-rxdb",level:2}];function c(e){const a={a:"a",code:"code",figure:"figure",h1:"h1",h2:"h2",header:"header",li:"li",p:"p",pre:"pre",span:"span",ul:"ul",...(0,r.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(a.header,{children:(0,n.jsx)(a.h1,{id:"rxdb-as-in-memory-nosql-database-empowering-real-time-applications",children:"RxDB as In-memory NoSQL Database: Empowering Real-Time Applications"})}),"\n",(0,n.jsxs)(a.p,{children:["Real-time applications have become increasingly popular in today's digital landscape. From instant messaging to collaborative editing tools, the demand for responsive and interactive software is on the rise. To meet these requirements, developers need powerful and efficient database solutions that can handle large amounts of data in real-time. ",(0,n.jsx)(a.a,{href:"https://rxdb.info/",children:"RxDB"}),", an javascript NoSQL database, is revolutionizing the way developers build and scale their applications by offering exceptional speed, flexibility, and scalability."]}),"\n",(0,n.jsx)("center",{children:(0,n.jsx)("a",{href:"https://rxdb.info/",children:(0,n.jsx)("img",{src:"../files/logo/rxdb_javascript_database.svg",alt:"RxDB Flutter Database",width:"220"})})}),"\n",(0,n.jsx)(a.h2,{id:"speed-and-performance-benefits",children:"Speed and Performance Benefits"}),"\n",(0,n.jsx)(a.p,{children:"One of the key advantages of using RxDB as an in-memory NoSQL database is its ability to leverage in-memory storage for faster database operations. By storing data directly in memory, database operations can be performed significantly faster compared to traditional disk-based databases. This is especially important for real-time applications where every millisecond counts. With RxDB, developers can achieve near-instantaneous data access and manipulation, enabling highly responsive user experiences."}),"\n",(0,n.jsx)(a.p,{children:"Additionally, RxDB eliminates disk I/O bottlenecks that are typically associated with traditional databases. In traditional databases, disk reads and writes can become a bottleneck as the amount of data grows. In contrast, an in-memory database like RxDB keeps the entire dataset in RAM, eliminating disk access overhead. This makes it an excellent choice for applications dealing with real-time analytics, high-throughput data processing, and caching."}),"\n",(0,n.jsx)(a.h2,{id:"persistence-options",children:"Persistence Options"}),"\n",(0,n.jsxs)(a.p,{children:["While RxDB offers an ",(0,n.jsx)(a.a,{href:"/rx-storage-memory.html",children:"in-memory"})," storage adapter, it also offers ",(0,n.jsx)(a.a,{href:"/rx-storage.html",children:"persistence storages"}),". Adapters such as ",(0,n.jsx)(a.a,{href:"/rx-storage-indexeddb.html",children:"IndexedDB"}),", ",(0,n.jsx)(a.a,{href:"/rx-storage-sqlite.html",children:"SQLite"}),", and ",(0,n.jsx)(a.a,{href:"/rx-storage-opfs.html",children:"OPFS"})," enable developers to persist data locally in the browser, making applications accessible even when offline. This hybrid approach combines the benefits of in-memory performance with data durability, providing the best of both worlds. Developers can choose the adapter that best suits their needs, balancing the speed of in-memory storage with the long-term data persistence required for certain applications."]}),"\n",(0,n.jsx)(a.figure,{"data-rehype-pretty-code-figure":"",children:(0,n.jsx)(a.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"javascript","data-theme":"css-variables",children:(0,n.jsxs)(a.code,{"data-language":"javascript","data-theme":"css-variables",style:{display:"grid"},children:[(0,n.jsxs)(a.span,{"data-line":"",children:[(0,n.jsx)(a.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,n.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,n.jsx)(a.span,{"data-line":"",children:(0,n.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:" createRxDatabase"})}),"\n",(0,n.jsxs)(a.span,{"data-line":"",children:[(0,n.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,n.jsx)(a.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,n.jsx)(a.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb'"}),(0,n.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,n.jsxs)(a.span,{"data-line":"",children:[(0,n.jsx)(a.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,n.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,n.jsx)(a.span,{"data-line":"",children:(0,n.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:" getRxStorageMemory"})}),"\n",(0,n.jsxs)(a.span,{"data-line":"",children:[(0,n.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,n.jsx)(a.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,n.jsx)(a.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/storage-memory'"}),(0,n.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,n.jsx)(a.span,{"data-line":"",children:" "}),"\n",(0,n.jsxs)(a.span,{"data-line":"",children:[(0,n.jsx)(a.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,n.jsx)(a.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,n.jsx)(a.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,n.jsx)(a.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,n.jsx)(a.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,n.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,n.jsxs)(a.span,{"data-line":"",children:[(0,n.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,n.jsx)(a.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,n.jsx)(a.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'exampledb'"}),(0,n.jsx)(a.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,n.jsxs)(a.span,{"data-line":"",children:[(0,n.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,n.jsx)(a.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,n.jsx)(a.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageMemory"}),(0,n.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:"()"})]}),"\n",(0,n.jsx)(a.span,{"data-line":"",children:(0,n.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,n.jsxs)(a.p,{children:["Also the ",(0,n.jsx)(a.a,{href:"/rx-storage-memory-mapped.html",children:"memory mapped RxStorage"})," exists as a wrapper around any other RxStorage. The wrapper creates an in-memory storage that is used for query and write operations. This memory instance is replicated with the underlying storage for persistence. The main reason to use this is to improve initial page load and query/write times. This is mostly useful in browser based applications."]}),"\n",(0,n.jsx)(a.h2,{id:"use-cases-for-rxdb",children:"Use Cases for RxDB"}),"\n",(0,n.jsx)(a.p,{children:"RxDB's capabilities make it well-suited for various real-time applications. Some notable use cases include:"}),"\n",(0,n.jsxs)(a.ul,{children:["\n",(0,n.jsxs)(a.li,{children:["\n",(0,n.jsx)(a.p,{children:"Chat Applications and Real-Time Messaging: RxDB's in-memory performance and real-time synchronization capabilities make it an excellent choice for building chat applications and real-time messaging systems. Developers can ensure that messages are delivered and synchronized across multiple clients in real-time, providing a seamless and responsive chat experience."}),"\n"]}),"\n",(0,n.jsxs)(a.li,{children:["\n",(0,n.jsx)(a.p,{children:"Collaborative Document Editors: RxDB's ability to handle data streams and propagate changes in real-time makes it ideal for collaborative document editing. Multiple users can simultaneously edit a document, and their changes are instantly synchronized, allowing for real-time collaboration and ensuring that everyone has the most up-to-date version of the document."}),"\n"]}),"\n",(0,n.jsxs)(a.li,{children:["\n",(0,n.jsx)(a.p,{children:"Real-Time Analytics Dashboards: RxDB's speed and scalability make it a valuable tool for real-time analytics dashboards. It can handle high volumes of data and perform complex analytics operations in real-time, providing instant insights and visualizations to users."}),"\n"]}),"\n"]}),"\n",(0,n.jsx)(a.p,{children:"In conclusion, RxDB serves as a powerful in-memory NoSQL database that empowers developers to build real-time applications with exceptional speed, flexibility, and scalability. Its ability to leverage in-memory storage, eliminate disk I/O bottlenecks, and provide persistence options make it an attractive choice for a wide range of real-time use cases. Whether it's chat applications, collaborative document editors, or real-time analytics dashboards, RxDB provides the foundation for building responsive and interactive software that meets the demands of today's users."})]})}function h(e={}){const{wrapper:a}={...(0,r.R)(),...e.components};return a?(0,n.jsx)(a,{...e,children:(0,n.jsx)(c,{...e})}):c(e)}},8453(e,a,s){s.d(a,{R:()=>t,x:()=>o});var i=s(6540);const n={},r=i.createContext(n);function t(e){const a=i.useContext(r);return i.useMemo(function(){return"function"==typeof e?e(a):{...a,...e}},[a,e])}function o(e){let a;return a=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:t(e.components),i.createElement(r.Provider,{value:a},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/7815dd0c.d77e48f5.js b/docs/assets/js/7815dd0c.d77e48f5.js
deleted file mode 100644
index 1fdc98d9556..00000000000
--- a/docs/assets/js/7815dd0c.d77e48f5.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[5335],{2015(s,n,e){e.r(n),e.d(n,{assets:()=>t,contentTitle:()=>a,default:()=>h,frontMatter:()=>l,metadata:()=>r,toc:()=>c});const r=JSON.parse('{"id":"population","title":"Populate and Link Docs in RxDB","description":"Learn how to reference and link documents across collections in RxDB. Discover easy population without joins and handle complex relationships.","source":"@site/docs/population.md","sourceDirName":".","slug":"/population.html","permalink":"/population.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"Populate and Link Docs in RxDB","slug":"population.html","description":"Learn how to reference and link documents across collections in RxDB. Discover easy population without joins and handle complex relationships."},"sidebar":"tutorialSidebar","previous":{"title":"CRDT","permalink":"/crdt.html"},"next":{"title":"ORM","permalink":"/orm.html"}}');var o=e(4848),i=e(8453);const l={title:"Populate and Link Docs in RxDB",slug:"population.html",description:"Learn how to reference and link documents across collections in RxDB. Discover easy population without joins and handle complex relationships."},a="Population",t={},c=[{value:"Schema with ref",id:"schema-with-ref",level:2},{value:"populate()",id:"populate",level:2},{value:"via method",id:"via-method",level:3},{value:"via getter",id:"via-getter",level:3},{value:"Example with nested reference",id:"example-with-nested-reference",level:2},{value:"Example with array",id:"example-with-array",level:2}];function d(s){const n={a:"a",code:"code",figure:"figure",h1:"h1",h2:"h2",h3:"h3",header:"header",p:"p",pre:"pre",span:"span",...(0,i.R)(),...s.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(n.header,{children:(0,o.jsx)(n.h1,{id:"population",children:"Population"})}),"\n",(0,o.jsx)(n.p,{children:"There are no joins in RxDB but sometimes we still want references to documents in other collections. This is where population comes in. You can specify a relation from one RxDocument to another RxDocument in the same or another RxCollection of the same database.\nThen you can get the referenced document with the population-getter."}),"\n",(0,o.jsxs)(n.p,{children:["This works exactly like population with ",(0,o.jsx)(n.a,{href:"http://mongoosejs.com/docs/populate.html",children:"mongoose"}),"."]}),"\n",(0,o.jsx)(n.h2,{id:"schema-with-ref",children:"Schema with ref"}),"\n",(0,o.jsxs)(n.p,{children:["The ",(0,o.jsx)(n.code,{children:"ref"}),"-keyword in properties describes to which collection the field-value belongs to (has a relationship)."]}),"\n",(0,o.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"javascript","data-theme":"css-variables",children:(0,o.jsxs)(n.code,{"data-language":"javascript","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"export"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" refHuman"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" title"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'human related to other human'"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" version"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 0"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" primaryKey"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'name'"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" properties"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" bestFriend"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" ref"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'human'"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // refers to collection human"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // ref-values must always be string or ['string','null'] (primary of foreign RxDocument) "})]}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"};"})})]})})}),"\n",(0,o.jsx)(n.p,{children:"You can also have a one-to-many reference by using a string-array."}),"\n",(0,o.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"js","data-theme":"css-variables",children:(0,o.jsxs)(n.code,{"data-language":"js","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"export"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" schemaWithOneToManyReference"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" version"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 0"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" primaryKey"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'name'"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'object'"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" properties"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" friends"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'array'"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" ref"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'human'"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" items"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"})]}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"};"})})]})})}),"\n",(0,o.jsx)(n.h2,{id:"populate",children:"populate()"}),"\n",(0,o.jsx)(n.h3,{id:"via-method",children:"via method"}),"\n",(0,o.jsx)(n.p,{children:"To get the referred RxDocument, you can use the populate()-method.\nIt takes the field-path as attribute and returns a Promise which resolves to the foreign document or null if not found."}),"\n",(0,o.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"javascript","data-theme":"css-variables",children:(0,o.jsxs)(n.code,{"data-language":"javascript","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" humansCollection"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".insert"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'Alice'"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" bestFriend"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'Carol'"})]}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" humansCollection"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".insert"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'Bob'"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" bestFriend"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'Alice'"})]}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" doc"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" humansCollection"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".findOne"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'Bob'"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:")"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".exec"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" bestFriend"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" doc"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".populate"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'bestFriend'"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"console"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".dir"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(bestFriend); "}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"//> RxDocument[Alice]"})]})]})})}),"\n",(0,o.jsx)(n.h3,{id:"via-getter",children:"via getter"}),"\n",(0,o.jsxs)(n.p,{children:["You can also get the populated RxDocument with the direct getter. Therefore you have to add an underscore suffix ",(0,o.jsx)(n.code,{children:"_"})," to the fieldname.\nThis works also on nested values."]}),"\n",(0,o.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"javascript","data-theme":"css-variables",children:(0,o.jsxs)(n.code,{"data-language":"javascript","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" humansCollection"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".insert"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'Alice'"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" bestFriend"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'Carol'"})]}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" humansCollection"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".insert"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'Bob'"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" bestFriend"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'Alice'"})]}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" doc"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" humansCollection"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".findOne"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'Bob'"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:")"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".exec"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" bestFriend"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" doc"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:".bestFriend_; "}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// notice the underscore_"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"console"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".dir"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(bestFriend); "}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"//> RxDocument[Alice]"})]})]})})}),"\n",(0,o.jsx)(n.h2,{id:"example-with-nested-reference",children:"Example with nested reference"}),"\n",(0,o.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"javascript","data-theme":"css-variables",children:(0,o.jsxs)(n.code,{"data-language":"javascript","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" myCollection"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" myDatabase"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".addCollections"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" human"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" schema"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" version"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 0"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'object'"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" properties"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" family"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'object'"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" properties"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" mother"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" ref"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'human'"})]}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" mother"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" myDocument"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"."}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"family"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:".mother_;"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"console"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".dir"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(mother); "}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"//> RxDocument"})]})]})})}),"\n",(0,o.jsx)(n.h2,{id:"example-with-array",children:"Example with array"}),"\n",(0,o.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"javascript","data-theme":"css-variables",children:(0,o.jsxs)(n.code,{"data-language":"javascript","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" myCollection"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" myDatabase"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".addCollections"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" human"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" schema"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" version"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 0"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'object'"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" properties"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" friends"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'array'"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" ref"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'human'"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" items"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"})]}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" } "})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"//[insert other humans here]"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" myCollection"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".insert"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'Alice'"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" friends"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" ["})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'Bob'"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'Carol'"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'Dave'"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" ]"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" doc"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" humansCollection"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".findOne"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'Alice'"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:")"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".exec"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" friends"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" myDocument"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:".friends_;"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"console"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".dir"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(friends); "}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"//> Array."})]})]})})})]})}function h(s={}){const{wrapper:n}={...(0,i.R)(),...s.components};return n?(0,o.jsx)(n,{...s,children:(0,o.jsx)(d,{...s})}):d(s)}},8453(s,n,e){e.d(n,{R:()=>l,x:()=>a});var r=e(6540);const o={},i=r.createContext(o);function l(s){const n=r.useContext(i);return r.useMemo(function(){return"function"==typeof s?s(n):{...n,...s}},[n,s])}function a(s){let n;return n=s.disableParentContext?"function"==typeof s.components?s.components(o):s.components||o:l(s.components),r.createElement(i.Provider,{value:n},s.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/7bbb96fd.75e20d36.js b/docs/assets/js/7bbb96fd.75e20d36.js
deleted file mode 100644
index d8768d5093f..00000000000
--- a/docs/assets/js/7bbb96fd.75e20d36.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[3495],{8435(e,s,i){i.r(s),i.d(s,{default:()=>x});var r=i(4586),t=i(8711),l=i(6540),n=i(8141),c=i(4848);function x(){const{siteConfig:e}=(0,r.A)();return(0,l.useEffect)(()=>{(0,n.c)("paid-meeting-link-clicked",100,1)}),(0,c.jsx)(t.A,{title:`Service Request Submitted - ${e.title}`,description:"RxDB Meeting Scheduler",children:(0,c.jsxs)("main",{children:[(0,c.jsx)("br",{}),(0,c.jsx)("br",{}),(0,c.jsx)("br",{}),(0,c.jsx)("br",{}),(0,c.jsxs)("div",{className:"redirectBox",style:{textAlign:"center"},children:[(0,c.jsx)("a",{href:"/",target:"_blank",children:(0,c.jsx)("div",{className:"logo",children:(0,c.jsx)("img",{src:"/files/logo/logo_text.svg",alt:"RxDB",width:120})})}),(0,c.jsx)("br",{}),(0,c.jsx)("br",{}),(0,c.jsx)("h1",{children:"RxDB Service Form Submitted"}),(0,c.jsx)("br",{}),(0,c.jsxs)("p",{style:{padding:50},children:["Thank you for submitting the form. You will directly get a confirmation email.",(0,c.jsx)("br",{}),(0,c.jsx)("b",{children:"Please check your spam folder!"}),".",(0,c.jsx)("br",{}),"In the next 24 hours you will get a full answer via email."]}),(0,c.jsx)("br",{}),(0,c.jsx)("br",{})]})]})})}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/7f02c700.bd5b1cc8.js b/docs/assets/js/7f02c700.bd5b1cc8.js
deleted file mode 100644
index 31a00c2df15..00000000000
--- a/docs/assets/js/7f02c700.bd5b1cc8.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[9592],{3247(e,s,n){n.d(s,{g:()=>i});var r=n(4848);function i(e){const s=[];let n=null;return e.children.forEach(e=>{e.props.id?(n&&s.push(n),n={headline:e,paragraphs:[]}):n&&n.paragraphs.push(e)}),n&&s.push(n),(0,r.jsx)("div",{style:o.stepsContainer,children:s.map((e,s)=>(0,r.jsxs)("div",{style:o.stepWrapper,children:[(0,r.jsxs)("div",{style:o.stepIndicator,children:[(0,r.jsx)("div",{style:o.stepNumber,children:s+1}),(0,r.jsx)("div",{style:o.verticalLine})]}),(0,r.jsxs)("div",{style:o.stepContent,children:[(0,r.jsx)("div",{children:e.headline}),e.paragraphs.map((e,s)=>(0,r.jsx)("div",{style:o.item,children:e},s))]})]},s))})}const o={stepsContainer:{display:"flex",flexDirection:"column"},stepWrapper:{display:"flex",alignItems:"stretch",marginBottom:"1.5rem",position:"relative",minWidth:0},stepIndicator:{position:"relative",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"flex-start",width:"33px",marginRight:"1rem",minWidth:0},stepNumber:{width:"33px",height:"33px",borderRadius:"50%",backgroundColor:"var(--color-top)",color:"#fff",display:"flex",alignItems:"center",justifyContent:"center",fontWeight:"bold",marginTop:-4},verticalLine:{position:"absolute",top:29,bottom:"0",left:"50%",width:"1px",background:"linear-gradient(to bottom, var(--color-top) 0%, var(--color-top) 80%, rgba(0,0,0,0) 100%)",transform:"translateX(-50%)"},stepContent:{flex:1,minWidth:0,overflowWrap:"break-word"},item:{marginTop:"0.5rem"}}},5589(e,s,n){n.r(s),n.d(s,{assets:()=>c,contentTitle:()=>a,default:()=>p,frontMatter:()=>l,metadata:()=>r,toc:()=>d});const r=JSON.parse('{"id":"replication-firestore","title":"Smooth Firestore Sync for Offline Apps","description":"Leverage RxDB to enable real-time, offline-first replication with Firestore. Cut cloud costs, resolve conflicts, and speed up your app.","source":"@site/docs/replication-firestore.md","sourceDirName":".","slug":"/replication-firestore.html","permalink":"/replication-firestore.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"Smooth Firestore Sync for Offline Apps","slug":"replication-firestore.html","description":"Leverage RxDB to enable real-time, offline-first replication with Firestore. Cut cloud costs, resolve conflicts, and speed up your app."},"sidebar":"tutorialSidebar","previous":{"title":"WebRTC P2P Replication","permalink":"/replication-webrtc.html"},"next":{"title":"MongoDB Replication","permalink":"/replication-mongodb.html"}}');var i=n(4848),o=n(8453),t=n(3247);const l={title:"Smooth Firestore Sync for Offline Apps",slug:"replication-firestore.html",description:"Leverage RxDB to enable real-time, offline-first replication with Firestore. Cut cloud costs, resolve conflicts, and speed up your app."},a="Replication with Firestore from Firebase",c={},d=[{value:"Usage",id:"usage",level:2},{value:"Install the firebase package",id:"install-the-firebase-package",level:3},{value:"Initialize your Firestore Database",id:"initialize-your-firestore-database",level:3},{value:"Start the Replication",id:"start-the-replication",level:3},{value:"Handling deletes",id:"handling-deletes",level:2},{value:"Do not set enableIndexedDbPersistence()",id:"do-not-set-enableindexeddbpersistence",level:2},{value:"Using the replication with an already existing Firestore Database State",id:"using-the-replication-with-an-already-existing-firestore-database-state",level:2},{value:"Filtered Replication",id:"filtered-replication",level:2}];function h(e){const s={a:"a",code:"code",figure:"figure",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",p:"p",pre:"pre",span:"span",ul:"ul",...(0,o.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s.header,{children:(0,i.jsx)(s.h1,{id:"replication-with-firestore-from-firebase",children:"Replication with Firestore from Firebase"})}),"\n",(0,i.jsxs)(s.p,{children:["With the ",(0,i.jsx)(s.code,{children:"replication-firestore"})," plugin you can do a two-way realtime replication\nbetween your client side ",(0,i.jsx)(s.a,{href:"./",children:"RxDB"})," Database and a ",(0,i.jsx)(s.a,{href:"https://firebase.google.com/docs/firestore",children:"Cloud Firestore"})," database that is hosted on the Firebase platform. It will use the ",(0,i.jsx)(s.a,{href:"/replication.html",children:"RxDB Sync Engine"})," to manage the replication streams, error- and conflict handling."]}),"\n",(0,i.jsx)("p",{align:"center",children:(0,i.jsx)("img",{src:"./files/alternatives/firebase.svg",alt:"Firebase",height:"40"})}),"\n",(0,i.jsx)(s.p,{children:"Replicating your Firestore state to RxDB can bring multiple benefits compared to using the Firestore directly:"}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsx)(s.li,{children:"It can reduce your cloud fees because your queries run against the local state of the documents without touching a server and writes can be batched up locally and send to the backend in bulks. This is mostly the case for read heavy applications."}),"\n",(0,i.jsxs)(s.li,{children:["You can run complex ",(0,i.jsx)(s.a,{href:"/why-nosql.html",children:"NoSQL queries"})," on your documents because you are not bound to the ",(0,i.jsx)(s.a,{href:"https://firebase.google.com/docs/firestore/query-data/queries",children:"Firestore Query"})," handling. You can also use local indexes, ",(0,i.jsx)(s.a,{href:"/key-compression.html",children:"compression"})," and ",(0,i.jsx)(s.a,{href:"/encryption.html",children:"encryption"})," and do things like fulltext search, fully locally."]}),"\n",(0,i.jsxs)(s.li,{children:["Your application can be truly ",(0,i.jsx)(s.a,{href:"/offline-first.html",children:"Offline-First"})," because your data is stored in a client side database. In contrast Firestore by itself only provides options to support ",(0,i.jsx)(s.a,{href:"https://cloud.google.com/firestore/docs/manage-data/enable-offline",children:"offline also"})," which more works like a cache and requires the user to be online at application start to run authentication."]}),"\n",(0,i.jsxs)(s.li,{children:["It reduces the vendor lock in because you can switch out the backend server afterwards without having to rebuild big parts of the application. RxDB supports replication plugins with multiple technologies and it is even easy to set up with your ",(0,i.jsx)(s.a,{href:"/replication.html",children:"custom backend"}),"."]}),"\n",(0,i.jsxs)(s.li,{children:["You can use sophisticated ",(0,i.jsx)(s.a,{href:"/replication.html#conflict-handling",children:"conflict resolution strategies"})," so you are not bound to the Firestore ",(0,i.jsx)(s.a,{href:"https://stackoverflow.com/a/47781502/3443137",children:"last-write-wins"})," strategy which is not suitable for many applications."]}),"\n",(0,i.jsx)(s.li,{children:"The initial load time of your application can be decreased because it will do an incremental replication on restarts."}),"\n"]}),"\n",(0,i.jsx)(s.h2,{id:"usage",children:"Usage"}),"\n",(0,i.jsxs)(t.g,{children:[(0,i.jsx)(s.h3,{id:"install-the-firebase-package",children:"Install the firebase package"}),(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"bash","data-theme":"css-variables",children:(0,i.jsx)(s.code,{"data-language":"bash","data-theme":"css-variables",style:{display:"grid"},children:(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"npm"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string)"},children:" install"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string)"},children:" firebase"})]})})})}),(0,i.jsx)(s.h3,{id:"initialize-your-firestore-database",children:"Initialize your Firestore Database"}),(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" *"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" as"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" firebase "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'firebase/app'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" getFirestore"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" collection"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'firebase/firestore'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" projectId"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'my-project-id'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" app"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" firebase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".initializeApp"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" projectId"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" databaseURL"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'http://localhost:8080?ns='"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" +"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" projectId"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" /* ... */"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" firestoreDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getFirestore"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(app);"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" firestoreCollection"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" collection"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(firestoreDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'my-collection-name'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})]})]})})}),(0,i.jsx)(s.h3,{id:"start-the-replication",children:"Start the Replication"}),(0,i.jsxs)(s.p,{children:["Start the replication by calling ",(0,i.jsx)(s.code,{children:"replicateFirestore()"})," on your ",(0,i.jsx)(s.a,{href:"/rx-collection.html",children:"RxCollection"}),"."]}),(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" replicationState"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" replicateFirestore"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" replicationIdentifier"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" `https://firestore.googleapis.com/"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"${"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"projectId"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"}"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"`"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" collection"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" myRxCollection"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" firestore"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" projectId"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" database"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" firestoreDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" collection"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" firestoreCollection"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * (required) Enable push and pull replication with firestore by"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * providing an object with optional filter"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * for each type of replication desired."})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * [default=disabled]"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" pull"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {}"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" push"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {}"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * Either do a live or a one-time replication"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * [default=true]"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" live"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" true"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * (optional) likely you should just use the default."})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" *"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * In firestore it is not possible to read out"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * the internally used write timestamp of a document."})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * Even if we could read it out, it is not indexed which"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * is required for fetch 'changes-since-x'."})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * So instead we have to rely on a custom user defined field"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * that contains the server time"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * which is set by firestore via serverTimestamp()"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * Notice that the serverTimestampField MUST NOT be"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * part of the collections RxJsonSchema!"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * [default='serverTimestamp']"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" serverTimestampField"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'serverTimestamp'"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),(0,i.jsxs)(s.p,{children:["To observe and cancel the replication, you can use any other methods from the ",(0,i.jsx)(s.a,{href:"/replication.html",children:"ReplicationState"})," like ",(0,i.jsx)(s.code,{children:"error$"}),", ",(0,i.jsx)(s.code,{children:"cancel()"})," and ",(0,i.jsx)(s.code,{children:"awaitInitialReplication()"}),"."]})]}),"\n",(0,i.jsx)(s.h2,{id:"handling-deletes",children:"Handling deletes"}),"\n",(0,i.jsxs)(s.p,{children:["RxDB requires you to never ",(0,i.jsx)(s.a,{href:"/replication.html#data-layout-on-the-server",children:"fully delete documents"}),". This is needed to be able to replicate the deletion state of a document to other instances. The firestore replication will set a boolean ",(0,i.jsx)(s.code,{children:"_deleted"})," field to all documents to indicate the deletion state. You can change this by setting a different ",(0,i.jsx)(s.code,{children:"deletedField"})," in the sync options."]}),"\n",(0,i.jsxs)(s.h2,{id:"do-not-set-enableindexeddbpersistence",children:["Do not set ",(0,i.jsx)(s.code,{children:"enableIndexedDbPersistence()"})]}),"\n",(0,i.jsxs)(s.p,{children:["Firestore has the ",(0,i.jsx)(s.code,{children:"enableIndexedDbPersistence()"})," feature which caches document states locally to IndexedDB. This is not needed when you replicate your Firestore with RxDB because RxDB itself will store the data locally already."]}),"\n",(0,i.jsx)(s.h2,{id:"using-the-replication-with-an-already-existing-firestore-database-state",children:"Using the replication with an already existing Firestore Database State"}),"\n",(0,i.jsxs)(s.p,{children:["If you have not used RxDB before and you already have documents inside of your Firestore database, you have\nto manually set the ",(0,i.jsx)(s.code,{children:"_deleted"})," field to ",(0,i.jsx)(s.code,{children:"false"})," and the ",(0,i.jsx)(s.code,{children:"serverTimestamp"})," to all existing documents."]}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" getDocs"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" query"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" serverTimestamp"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'firebase/firestore'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" allDocsResult"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getDocs"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"query"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(firestoreCollection));"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"allDocsResult"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".forEach"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(doc "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" doc"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".update"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" _deleted"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" false"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" serverTimestamp"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" serverTimestamp"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"()"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" })"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,i.jsxs)(s.p,{children:["Also notice that if you do writes from non-RxDB applications, you have to keep these fields in sync. It is recommended to use the ",(0,i.jsx)(s.a,{href:"https://firebase.google.com/docs/functions/firestore-events",children:"Firestore triggers"})," to ensure that."]}),"\n",(0,i.jsx)(s.h2,{id:"filtered-replication",children:"Filtered Replication"}),"\n",(0,i.jsxs)(s.p,{children:["You might need to replicate only a subset of your collection, either to or from Firestore. You can achieve this using ",(0,i.jsx)(s.code,{children:"push.filter"})," and ",(0,i.jsx)(s.code,{children:"pull.filter"})," options."]}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" replicationState"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" replicateFirestore"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" collection"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" myRxCollection"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" firestore"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" projectId"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" database"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" firestoreDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" collection"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" firestoreCollection"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" pull"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" filter"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ["})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" where"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'ownerId'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" '=='"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" userId)"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ]"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" push"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" filter"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" (item) "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" item"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".syncEnabled "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"==="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" true"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})})]})})}),"\n",(0,i.jsxs)(s.p,{children:["Keep in mind that you can not use inequality operators ",(0,i.jsx)(s.code,{children:"(<, <=, !=, not-in, >, or >=)"})," in ",(0,i.jsx)(s.code,{children:"pull.filter"})," since that would cause a conflict with ordering by ",(0,i.jsx)(s.code,{children:"serverTimestamp"}),"."]})]})}function p(e={}){const{wrapper:s}={...(0,o.R)(),...e.components};return s?(0,i.jsx)(s,{...e,children:(0,i.jsx)(h,{...e})}):h(e)}},8453(e,s,n){n.d(s,{R:()=>t,x:()=>l});var r=n(6540);const i={},o=r.createContext(i);function t(e){const s=r.useContext(o);return r.useMemo(function(){return"function"==typeof e?e(s):{...s,...e}},[s,e])}function l(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:t(e.components),r.createElement(o.Provider,{value:s},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/8070e160.c192f1b9.js b/docs/assets/js/8070e160.c192f1b9.js
deleted file mode 100644
index c91510d7532..00000000000
--- a/docs/assets/js/8070e160.c192f1b9.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[3822],{3247(e,s,r){r.d(s,{g:()=>i});var n=r(4848);function i(e){const s=[];let r=null;return e.children.forEach(e=>{e.props.id?(r&&s.push(r),r={headline:e,paragraphs:[]}):r&&r.paragraphs.push(e)}),r&&s.push(r),(0,n.jsx)("div",{style:o.stepsContainer,children:s.map((e,s)=>(0,n.jsxs)("div",{style:o.stepWrapper,children:[(0,n.jsxs)("div",{style:o.stepIndicator,children:[(0,n.jsx)("div",{style:o.stepNumber,children:s+1}),(0,n.jsx)("div",{style:o.verticalLine})]}),(0,n.jsxs)("div",{style:o.stepContent,children:[(0,n.jsx)("div",{children:e.headline}),e.paragraphs.map((e,s)=>(0,n.jsx)("div",{style:o.item,children:e},s))]})]},s))})}const o={stepsContainer:{display:"flex",flexDirection:"column"},stepWrapper:{display:"flex",alignItems:"stretch",marginBottom:"1.5rem",position:"relative",minWidth:0},stepIndicator:{position:"relative",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"flex-start",width:"33px",marginRight:"1rem",minWidth:0},stepNumber:{width:"33px",height:"33px",borderRadius:"50%",backgroundColor:"var(--color-top)",color:"#fff",display:"flex",alignItems:"center",justifyContent:"center",fontWeight:"bold",marginTop:-4},verticalLine:{position:"absolute",top:29,bottom:"0",left:"50%",width:"1px",background:"linear-gradient(to bottom, var(--color-top) 0%, var(--color-top) 80%, rgba(0,0,0,0) 100%)",transform:"translateX(-50%)"},stepContent:{flex:1,minWidth:0,overflowWrap:"break-word"},item:{marginTop:"0.5rem"}}},4143(e,s,r){r.r(s),r.d(s,{assets:()=>p,contentTitle:()=>h,default:()=>j,frontMatter:()=>c,metadata:()=>n,toc:()=>k});const n=JSON.parse('{"id":"quickstart","title":"\ud83d\ude80 Quickstart","description":"Learn how to build a realtime app with RxDB. Follow this quickstart for setup, schema creation, data operations, and real-time syncing.","source":"@site/docs/quickstart.md","sourceDirName":".","slug":"/quickstart.html","permalink":"/quickstart.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"\ud83d\ude80 Quickstart","slug":"quickstart.html","description":"Learn how to build a realtime app with RxDB. Follow this quickstart for setup, schema creation, data operations, and real-time syncing."},"sidebar":"tutorialSidebar","previous":{"title":"Overview","permalink":"/overview.html"},"next":{"title":"Installation","permalink":"/install.html"}}');var i=r(4848),o=r(8453),a=r(3247),l=r(8141),t=r(2636),d=r(3103);const c={title:"\ud83d\ude80 Quickstart",slug:"quickstart.html",description:"Learn how to build a realtime app with RxDB. Follow this quickstart for setup, schema creation, data operations, and real-time syncing."},h="RxDB Quickstart",p={},k=[{value:"Installation",id:"installation",level:3},{value:"Pick a Storage",id:"pick-a-storage",level:3},{value:"LocalStorage",id:"localstorage",level:4},{value:"IndexedDB \ud83d\udc51",id:"indexeddb-",level:4},{value:"Dexie.js",id:"dexiejs",level:4},{value:"SQLite",id:"sqlite",level:4},{value:"And more...",id:"and-more",level:4},{value:"Dev-Mode",id:"dev-mode",level:3},{value:"Schema Validation",id:"schema-validation",level:3},{value:"Create a Database",id:"create-a-database",level:3},{value:"Add a Collection",id:"add-a-collection",level:3},{value:"Insert a document",id:"insert-a-document",level:3},{value:"Run a Query",id:"run-a-query",level:3},{value:"Update a Document",id:"update-a-document",level:3},{value:"Delete a document",id:"delete-a-document",level:3},{value:"Observe a Query",id:"observe-a-query",level:3},{value:"Observe a Document value",id:"observe-a-document-value",level:3},{value:"Sync the Client",id:"sync-the-client",level:3},{value:"HTTP",id:"http",level:4},{value:"GraphQL",id:"graphql",level:4},{value:"WebRTC (P2P)",id:"webrtc-p2p",level:4},{value:"CouchDB",id:"couchdb",level:4},{value:"And more...",id:"and-more-1",level:4},{value:"Next steps",id:"next-steps",level:2}];function x(e){const s={a:"a",code:"code",figure:"figure",h1:"h1",h2:"h2",h3:"h3",h4:"h4",header:"header",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...(0,o.R)(),...e.components},{Details:r}=s;return r||function(e,s){throw new Error("Expected "+(s?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}("Details",!0),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(l.V,{type:"page_quickstart",value:.2,maxPerUser:1,primary:!1}),"\n",(0,i.jsx)(s.header,{children:(0,i.jsx)(s.h1,{id:"rxdb-quickstart",children:"RxDB Quickstart"})}),"\n",(0,i.jsx)(s.p,{children:"Welcome to the RxDB Quickstart. Here we'll learn how to create a simple real-time app with the RxDB database that is able to store and query data persistently in a browser and does realtime updates to the UI on changes."}),"\n",(0,i.jsx)("br",{}),"\n",(0,i.jsx)("center",{children:(0,i.jsx)("a",{href:"https://rxdb.info/",children:(0,i.jsx)("img",{src:"/files/logo/rxdb_javascript_database.svg",alt:"JavaScript Embedded Database",width:"220"})})}),"\n",(0,i.jsx)("br",{}),"\n",(0,i.jsxs)(a.g,{children:[(0,i.jsx)(s.h3,{id:"installation",children:"Installation"}),(0,i.jsx)(s.p,{children:"Install the RxDB library and the RxJS dependency:"}),(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"bash","data-theme":"css-variables",children:(0,i.jsx)(s.code,{"data-language":"bash","data-theme":"css-variables",style:{display:"grid"},children:(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"npm"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string)"},children:" install"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string)"},children:" rxdb"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string)"},children:" rxjs"})]})})})}),(0,i.jsx)(s.h3,{id:"pick-a-storage",children:"Pick a Storage"}),(0,i.jsx)(s.p,{children:"RxDB is able to run in a wide range of JavaScript runtimes like browsers, mobile apps, desktop and servers. Therefore different storage engines exist that ensure the best performance depending on where RxDB is used."}),(0,i.jsxs)(t.t,{children:[(0,i.jsx)(s.h4,{id:"localstorage",children:"LocalStorage"}),(0,i.jsxs)(s.p,{children:["Use this for the simplest browser setup and very small datasets. It has a tiny bundle size and works anywhere ",(0,i.jsx)(s.a,{href:"/articles/localstorage.html",children:"localStorage"})," is available, but is not optimized for large data or heavy writes."]}),(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" getRxStorageLocalstorage"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/storage-localstorage'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"let"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageLocalstorage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]})]})})}),(0,i.jsx)(s.h4,{id:"indexeddb-",children:"IndexedDB \ud83d\udc51"}),(0,i.jsxs)(s.p,{children:["The premium ",(0,i.jsx)(s.a,{href:"/rx-storage-indexeddb.html",children:"IndexedDB storage"})," is a high-performance, browser-native storage with a smaller bundle and faster startup compared to Dexie-based IndexedDB. Recommended when you have ",(0,i.jsx)(s.a,{href:"/premium/",children:"\ud83d\udc51 premium"})," access and care about performance and bundle size."]}),(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" getRxStorageIndexedDB"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb-premium/plugins/storage-indexeddb'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"let"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageDexie"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]})]})})}),(0,i.jsx)(s.h4,{id:"dexiejs",children:"Dexie.js"}),(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.a,{href:"/rx-storage-dexie.html",children:"Dexie.js"})," is a friendly wrapper around IndexedDB and is a great default for browser apps when you don\u2019t use premium. It\u2019s reliable, works well for medium-sized datasets, and is free to use."]}),(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" getRxStorageDexie"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/storage-dexie'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"let"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageDexie"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]})]})})}),(0,i.jsx)(s.h4,{id:"sqlite",children:"SQLite"}),(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.a,{href:"/rx-storage-sqlite.html",children:"SQLite"})," is ideal for React Native, Capacitor, Electron, Node.js and other hybrid or native environments. It gives you a fast, durable database on disk. Use the \ud83d\udc51 premium storage for production; a trial version exists for quick experimentation."]}),(0,i.jsx)(s.p,{children:(0,i.jsx)(s.strong,{children:"Premium SQLite (Node.js example)"})}),(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" getRxStorageSQLite"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" getSQLiteBasicsNode"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb-premium/plugins/storage-sqlite'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// Provide the sqliteBasics adapter for your runtime, e.g. Node.js, React Native, etc."})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// For example in Node.js you would derive sqliteBasics from a sqlite3-compatible library:"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" sqlite3 "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'sqlite3'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" storage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageSQLite"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" sqliteBasics"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getSQLiteBasicsNode"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(sqlite3)"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),(0,i.jsx)(s.p,{children:(0,i.jsx)(s.strong,{children:"SQLite trial storage (Node.js, free)"})}),(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" getRxStorageSQLiteTrial"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" getSQLiteBasicsNodeNative"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/storage-sqlite'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { DatabaseSync } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'node:sqlite'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" storage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageSQLiteTrial"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"sqliteBasics"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getSQLiteBasicsNodeNative"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(DatabaseSync)"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),(0,i.jsx)(s.h4,{id:"and-more",children:"And more..."}),(0,i.jsxs)(s.p,{children:["There are many more storages such as ",(0,i.jsx)(s.a,{href:"/rx-storage-mongodb.html",children:"MongoDB"}),", ",(0,i.jsx)(s.a,{href:"/rx-storage-denokv.html",children:"DenoKV"}),", ",(0,i.jsx)(s.a,{href:"/rx-storage-filesystem-node.html",children:"Filesystem"}),", ",(0,i.jsx)(s.a,{href:"/rx-storage-memory.html",children:"Memory"}),", ",(0,i.jsx)(s.a,{href:"/rx-storage-memory-mapped.html",children:"Memory-Mapped"}),", ",(0,i.jsx)(s.a,{href:"/rx-storage-foundationdb.html",children:"FoundationDB"})," and more. ",(0,i.jsx)(s.a,{href:"/rx-storage.html",children:"Browse the full list of storages"}),"."]})]}),(0,i.jsxs)(r,{children:[(0,i.jsx)("summary",{children:"Which storage should I use?"}),(0,i.jsxs)("div",{children:[(0,i.jsx)(s.p,{children:"RxDB provides a wide range of storages depending on your JavaScript runtime and performance needs."}),(0,i.jsxs)("ul",{children:[(0,i.jsxs)("li",{children:["In the Browser: Use the ",(0,i.jsx)("a",{href:"/rx-storage-localstorage.html",children:"LocalStorage"})," storage for simple setup and small build size. For bigger datasets, use either the ",(0,i.jsx)("a",{href:"/rx-storage-dexie.html",children:"dexie.js storage"})," (free) or the ",(0,i.jsx)("a",{href:"/rx-storage-indexeddb.html",children:"IndexedDB RxStorage"})," if you have ",(0,i.jsx)("a",{href:"/premium/",children:"\ud83d\udc51 premium access"})," which is a bit faster and has a smaller build size."]}),(0,i.jsxs)("li",{children:["In ",(0,i.jsx)("a",{href:"/electron-database.html",children:"Electron"})," and ",(0,i.jsx)("a",{href:"/react-native-database.html",children:"ReactNative"}),": Use the ",(0,i.jsx)("a",{href:"./rx-storage-sqlite.html",children:"SQLite RxStorage"})," if you have ",(0,i.jsx)("a",{href:"/premium/",children:"\ud83d\udc51 premium access"})," or the ",(0,i.jsx)("a",{href:"/rx-storage-sqlite.html",children:"trial-SQLite RxStorage"})," for tryouts."]}),(0,i.jsxs)("li",{children:["In Capacitor: Use the ",(0,i.jsx)("a",{href:"/rx-storage-sqlite.html",children:"SQLite RxStorage"})," if you have ",(0,i.jsx)("a",{href:"/premium/",children:"\ud83d\udc51 premium access"}),", otherwise use the ",(0,i.jsx)("a",{href:"/rx-storage-localstorage.html",children:"localStorage"})," storage."]})]})]})]}),(0,i.jsx)(s.h3,{id:"dev-mode",children:"Dev-Mode"}),(0,i.jsxs)(s.p,{children:["When you use RxDB in development, you should always enable the ",(0,i.jsx)(s.a,{href:"/dev-mode.html",children:"dev-mode plugin"}),", which adds helpful checks and validations, and tells you if you do something wrong."]}),(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { addRxPlugin } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/core'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { RxDBDevModePlugin } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/dev-mode'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"addRxPlugin"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(RxDBDevModePlugin);"})]})]})})}),(0,i.jsx)(s.h3,{id:"schema-validation",children:"Schema Validation"}),(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.a,{href:"/schema-validation.html",children:"Schema validation"})," is required when using dev-mode and recommended (but optional) in production. Wrap your storage with the AJV schema validator to ensure all documents match your schema before being saved."]}),(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { wrappedValidateAjvStorage } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/validate-ajv'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"storage "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" wrappedValidateAjvStorage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({ storage });"})]})]})})}),(0,i.jsx)(s.h3,{id:"create-a-database",children:"Create a Database"}),(0,i.jsx)(s.p,{children:"A database is the top\u2011level container in RxDB, responsible for managing collections, coordinating persistence, and providing reactive change streams."}),(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { createRxDatabase } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/core'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" myDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'mydatabase'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),(0,i.jsx)(s.h3,{id:"add-a-collection",children:"Add a Collection"}),(0,i.jsxs)(s.p,{children:["An RxDatabase contains ",(0,i.jsx)(s.a,{href:"/rx-collection.html",children:"RxCollection"}),"s for storing and querying data. A collection is similar to an SQL table, and individual records are stored in the collection as JSON documents. An ",(0,i.jsx)(s.a,{href:"/rx-database.html",children:"RxDatabase"})," can have as many collections as you need.\nAdd a collection with a ",(0,i.jsx)(s.a,{href:"/rx-schema.html",children:"schema"})," to the database:"]}),(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" myDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".addCollections"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // name of the collection"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" todos"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // we use the JSON-schema standard"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" schema"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" version"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 0"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" primaryKey"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'id'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'object'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" properties"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" id"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" maxLength"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 100"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // <- the primary key must have maxLength"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" done"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'boolean'"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" timestamp"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" format"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'date-time'"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" required"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ["}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'id'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'name'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'done'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'timestamp'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"]"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),(0,i.jsx)(s.h3,{id:"insert-a-document",children:"Insert a document"}),(0,i.jsxs)(s.p,{children:["Now that we have an RxCollection we can store some ",(0,i.jsx)(s.a,{href:"/rx-document.html",children:"documents"})," in it."]}),(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" myDocument"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" myDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"todos"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".insert"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" id"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'todo1'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'Learn RxDB'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" done"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" false"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" timestamp"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" new"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" Date"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"()"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".toISOString"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"()"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),(0,i.jsx)(s.h3,{id:"run-a-query",children:"Run a Query"}),(0,i.jsxs)(s.p,{children:["Execute a ",(0,i.jsx)(s.a,{href:"/rx-query.html",children:"query"})," that returns all found documents once:"]}),(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" foundDocuments"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" myDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"todos"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".find"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" selector"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" done"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" $eq"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" false"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"})"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".exec"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]})]})})}),(0,i.jsx)(s.h3,{id:"update-a-document",children:"Update a Document"}),(0,i.jsxs)(s.p,{children:["In the first found document, set ",(0,i.jsx)(s.code,{children:"done"})," to ",(0,i.jsx)(s.code,{children:"true"}),":"]}),(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" firstDocument"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" foundDocuments["}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"0"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"];"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" firstDocument"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".patch"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" done"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" true"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),(0,i.jsx)(s.h3,{id:"delete-a-document",children:"Delete a document"}),(0,i.jsx)(s.p,{children:"Delete the document so that it can no longer be found in queries:"}),(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsx)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" firstDocument"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".remove"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]})})})}),(0,i.jsx)(s.h3,{id:"observe-a-query",children:"Observe a Query"}),(0,i.jsxs)(s.p,{children:["Subscribe to data changes so that your UI is always up-to-date with the data stored on disk. RxDB allows you to subscribe to data changes even when the change happens in another part of your application, another browser tab, or during database ",(0,i.jsx)(s.a,{href:"/replication.html",children:"replication/synchronization"}),":"]}),(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" observable"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" myDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"todos"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".find"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" selector"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" done"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" $eq"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" false"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"}).$ "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// get the observable via RxQuery.$;"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"observable"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".subscribe"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(notDoneDocs "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" console"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".log"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'Currently have '"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" +"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" notDoneDocs"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"."}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"length"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" +"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" ' things to do'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // -> here you would re-render your app to show the updated document list"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),(0,i.jsx)(s.h3,{id:"observe-a-document-value",children:"Observe a Document value"}),(0,i.jsxs)(s.p,{children:["You can also subscribe to the fields of a single RxDocument. Add the ",(0,i.jsx)(s.code,{children:"$"})," sign to the desired field and then subscribe to the returned observable."]}),(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"myDocument"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"done$"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".subscribe"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(isDone "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" console"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".log"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'done: '"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" +"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" isDone);"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),(0,i.jsx)(s.h3,{id:"sync-the-client",children:"Sync the Client"}),(0,i.jsxs)(s.p,{children:["RxDB has multiple ",(0,i.jsx)(s.a,{href:"/replication.html",children:"replication plugins"})," to replicate database state with a server."]}),(0,i.jsxs)(t.t,{children:[(0,i.jsx)(s.h4,{id:"http",children:"HTTP"}),(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" replicateHTTP"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" pullQueryBuilderFromRxSchema"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "rxdb/plugins/replication-http"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"replicateHTTP"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" collection"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".todos"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" push"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" handler"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" async"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" (rows) "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" fetch"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:'"https:/example.com/api/todos/push"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" method"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "POST"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" headers"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:'"Content-Type"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "application/json"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" body"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" JSON"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".stringify"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(rows)"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" })"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".then"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"((res) "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" res"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".json"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"());"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" pull"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" handler"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" async"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" (lastCheckpoint) "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" fetch"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "https://example.com/api/todos/pull?"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" +"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" new"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" URLSearchParams"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" checkpoint"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" JSON"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".stringify"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(lastCheckpoint)"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" })"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" )"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".then"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"((res) "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" res"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".json"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"());"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),(0,i.jsx)(s.h4,{id:"graphql",children:"GraphQL"}),(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { replicateGraphQL } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/replication-graphql'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"replicateGraphQL"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" collection"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".todos"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" url"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'https://example.com/graphql'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" push"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { batchSize"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 50"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" pull"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { batchSize"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 50"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),(0,i.jsx)(s.h4,{id:"webrtc-p2p",children:"WebRTC (P2P)"}),(0,i.jsxs)(s.p,{children:["The easiest way to replicate data between your clients' devices is the ",(0,i.jsx)(s.a,{href:"/replication-webrtc.html",children:"WebRTC replication plugin"})," that replicates data between devices without a centralized server. This makes it easy to try out replication without having to host anything:"]}),(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" replicateWebRTC"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" getConnectionHandlerSimplePeer"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/replication-webrtc'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"replicateWebRTC"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" collection"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" myDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".todos"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" connectionHandlerCreator"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getConnectionHandlerSimplePeer"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({})"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" topic"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" ''"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // <- set any app-specific room id here."})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" secret"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'mysecret'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" pull"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {}"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" push"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {}"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"})"})})]})})}),(0,i.jsx)(s.h4,{id:"couchdb",children:"CouchDB"}),(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { replicateCouchDB } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/replication-couchdb'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"replicateCouchDB"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" collection"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".todos"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" url"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'http://example.com/todos/'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" push"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {}"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" pull"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {}"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),(0,i.jsx)(s.h4,{id:"and-more-1",children:"And more..."}),(0,i.jsxs)(s.p,{children:["Explore all ",(0,i.jsx)(s.a,{href:"/replication.html",children:"replication plugins"}),", including advanced conflict handling and custom protocols."]}),(0,i.jsx)(d.dQ,{})]})]}),"\n",(0,i.jsx)(s.h2,{id:"next-steps",children:"Next steps"}),"\n",(0,i.jsx)(s.p,{children:"You are now ready to dive deeper into RxDB."}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:["Start reading the full documentation ",(0,i.jsx)(s.a,{href:"/install.html",children:"here"}),"."]}),"\n",(0,i.jsxs)(s.li,{children:["There is a full implementation of the ",(0,i.jsx)(s.a,{href:"https://github.com/pubkey/rxdb-quickstart",children:"quickstart guide"})," so you can clone that repository and play with the code."]}),"\n",(0,i.jsxs)(s.li,{children:["For frameworks and runtimes like Angular, React Native and others, check out the list of ",(0,i.jsx)(s.a,{href:"https://github.com/pubkey/rxdb/tree/master/examples",children:"example implementations"}),"."]}),"\n",(0,i.jsxs)(s.li,{children:["Also please continue reading the documentation, join the community on our ",(0,i.jsx)(s.a,{href:"/chat/",children:"Discord chat"}),", and star the ",(0,i.jsx)(s.a,{href:"https://github.com/pubkey/rxdb",children:"GitHub repo"}),"."]}),"\n",(0,i.jsxs)(s.li,{children:["If you are using RxDB in a production environment and are able to support its continued development, please take a look at the ",(0,i.jsx)(s.a,{href:"/premium/",children:"\ud83d\udc51 Premium package"})," which includes additional plugins and utilities."]}),"\n"]})]})}function j(e={}){const{wrapper:s}={...(0,o.R)(),...e.components};return s?(0,i.jsx)(s,{...e,children:(0,i.jsx)(x,{...e})}):x(e)}},8453(e,s,r){r.d(s,{R:()=>a,x:()=>l});var n=r(6540);const i={},o=n.createContext(i);function a(e){const s=n.useContext(o);return n.useMemo(function(){return"function"==typeof e?e(s):{...s,...e}},[s,e])}function l(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:a(e.components),n.createElement(o.Provider,{value:s},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/8084fe3b.f4614fb9.js b/docs/assets/js/8084fe3b.f4614fb9.js
deleted file mode 100644
index 3ba18451335..00000000000
--- a/docs/assets/js/8084fe3b.f4614fb9.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[9515],{7458(e,s,n){n.r(s),n.d(s,{assets:()=>t,contentTitle:()=>l,default:()=>h,frontMatter:()=>a,metadata:()=>r,toc:()=>c});const r=JSON.parse('{"id":"articles/vue-indexeddb","title":"IndexedDB Database in Vue Apps - The Power of RxDB","description":"Learn how RxDB simplifies IndexedDB in Vue, offering reactive queries, offline-first capabilities, encryption, compression, and effortless integration.","source":"@site/docs/articles/vue-indexeddb.md","sourceDirName":"articles","slug":"/articles/vue-indexeddb.html","permalink":"/articles/vue-indexeddb.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"IndexedDB Database in Vue Apps - The Power of RxDB","slug":"vue-indexeddb.html","description":"Learn how RxDB simplifies IndexedDB in Vue, offering reactive queries, offline-first capabilities, encryption, compression, and effortless integration."},"sidebar":"tutorialSidebar","previous":{"title":"RxDB as a Database in a Vue.js Application","permalink":"/articles/vue-database.html"},"next":{"title":"RxDB as a Database in a jQuery Application","permalink":"/articles/jquery-database.html"}}');var i=n(4848),o=n(8453);const a={title:"IndexedDB Database in Vue Apps - The Power of RxDB",slug:"vue-indexeddb.html",description:"Learn how RxDB simplifies IndexedDB in Vue, offering reactive queries, offline-first capabilities, encryption, compression, and effortless integration."},l="IndexedDB Database in Vue Apps - The Power of RxDB",t={},c=[{value:"What is IndexedDB?",id:"what-is-indexeddb",level:2},{value:"Why Use IndexedDB in Vue",id:"why-use-indexeddb-in-vue",level:2},{value:"Why To Not Use Plain IndexedDB",id:"why-to-not-use-plain-indexeddb",level:2},{value:"Set up RxDB in Vue",id:"set-up-rxdb-in-vue",level:2},{value:"Installing RxDB",id:"installing-rxdb",level:3},{value:"Create a Database and Collections",id:"create-a-database-and-collections",level:3},{value:"CRUD Operations",id:"crud-operations",level:3},{value:"Reactive Queries and Live Updates",id:"reactive-queries-and-live-updates",level:2},{value:"Using RxJS Observables with Vue 3 Composition API",id:"using-rxjs-observables-with-vue-3-composition-api",level:3},{value:"Using Vue Signals",id:"using-vue-signals",level:3},{value:"Vue IndexedDB Example with RxDB",id:"vue-indexeddb-example-with-rxdb",level:2},{value:"Advanced RxDB Features",id:"advanced-rxdb-features",level:2},{value:"Limitations of IndexedDB",id:"limitations-of-indexeddb",level:2},{value:"Alternatives to IndexedDB",id:"alternatives-to-indexeddb",level:2},{value:"Performance Comparison with Other Browser Storages",id:"performance-comparison-with-other-browser-storages",level:2},{value:"Follow Up",id:"follow-up",level:2}];function d(e){const s={a:"a",code:"code",figure:"figure",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...(0,o.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s.header,{children:(0,i.jsx)(s.h1,{id:"indexeddb-database-in-vue-apps---the-power-of-rxdb",children:"IndexedDB Database in Vue Apps - The Power of RxDB"})}),"\n",(0,i.jsxs)(s.p,{children:["Building robust, ",(0,i.jsx)(s.a,{href:"/offline-first.html",children:"offline-capable"})," Vue applications often involves leveraging browser storage solutions to manage data. IndexedDB is one such powerful tool, but its raw API can be challenging to work with directly. RxDB abstracts away much of IndexedDB's complexity, providing a more developer-friendly experience. In this article, we'll explore what IndexedDB is, why it's beneficial in Vue applications, the challenges of using plain IndexedDB, and how ",(0,i.jsx)(s.a,{href:"https://rxdb.info/",children:"RxDB"})," can simplify your development process while adding advanced features."]}),"\n",(0,i.jsx)(s.h2,{id:"what-is-indexeddb",children:"What is IndexedDB?"}),"\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.a,{href:"https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API",children:"IndexedDB"})," is a low-level API for storing significant amounts of structured data in the browser. It provides a transactional database system that can store key-value pairs, complex objects, and more. This storage engine is asynchronous and supports advanced data types, making it suitable for offline storage and complex web applications."]}),"\n",(0,i.jsx)("center",{children:(0,i.jsx)("img",{src:"/files/icons/vuejs.svg",alt:"Vue IndexedDB",width:"120"})}),"\n",(0,i.jsx)(s.h2,{id:"why-use-indexeddb-in-vue",children:"Why Use IndexedDB in Vue"}),"\n",(0,i.jsx)(s.p,{children:"When building Vue applications, IndexedDB can play a crucial role in enhancing both performance and user experience. Here are some reasons to consider using IndexedDB:"}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Offline-First / Local-First"}),": By storing data locally, your application remains functional even without an internet connection."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Performance"}),": Using local data means ",(0,i.jsx)(s.a,{href:"/articles/zero-latency-local-first.html",children:"zero latency"})," and no loading spinners, as data doesn't need to be fetched over a network."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Easier Implementation"}),": Replicating all data to the client once is often simpler than implementing multiple endpoints for each user interaction."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Scalability"}),": Local data reduces server load because queries run on the client side, decreasing server bandwidth and processing requirements."]}),"\n"]}),"\n",(0,i.jsx)(s.h2,{id:"why-to-not-use-plain-indexeddb",children:"Why To Not Use Plain IndexedDB"}),"\n",(0,i.jsx)(s.p,{children:"While IndexedDB itself is powerful, its native API comes with several drawbacks for everyday application developers:"}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Callback-Based API"}),": IndexedDB was originally designed around callbacks rather than modern Promises, making asynchronous code more cumbersome."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Complexity"}),": IndexedDB is low-level, intended for library developers rather than for app developers who just want to store and query data easily."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Basic Query API"}),": Its rudimentary query capabilities limit how you can efficiently perform complex queries. Libraries like RxDB offer more advanced querying and indexing."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"TypeScript Support"}),": Ensuring good ",(0,i.jsx)(s.a,{href:"/tutorials/typescript.html",children:"TypeScript support"})," with IndexedDB is challenging, especially when trying to maintain schema consistency."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Lack of Observable API"}),": IndexedDB doesn't provide an observable API out of the box, making it hard to automatically update your Vue app in real time. RxDB solves this by enabling you to ",(0,i.jsx)(s.a,{href:"/rx-query.html#observe",children:"observe queries"})," or specific documents."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Cross-Tab Communication"}),": Managing cross-tab updates in plain IndexedDB is difficult. RxDB handles this seamlessly - changes in one tab automatically affect observed data in others."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Missing Advanced Features"}),": Features like ",(0,i.jsx)(s.a,{href:"/encryption.html",children:"encryption"})," or ",(0,i.jsx)(s.a,{href:"/key-compression.html",children:"compression"})," aren't built into IndexedDB, but they are available via RxDB."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Limited Platform Support"}),": IndexedDB is browser-only. RxDB offers ",(0,i.jsx)(s.a,{href:"/rx-storage.html",children:"swappable storages"})," so you can reuse the same data layer code in mobile or desktop environments."]}),"\n"]}),"\n",(0,i.jsx)("center",{children:(0,i.jsx)("a",{href:"https://rxdb.info/",children:(0,i.jsx)("img",{src:"../files/logo/rxdb_javascript_database.svg",alt:"JavaScript Database",width:"220"})})}),"\n",(0,i.jsx)(s.h2,{id:"set-up-rxdb-in-vue",children:"Set up RxDB in Vue"}),"\n",(0,i.jsx)(s.p,{children:"Setting up RxDB with Vue is straightforward. It abstracts IndexedDB complexities and adds a layer of powerful features over it."}),"\n",(0,i.jsx)(s.h3,{id:"installing-rxdb",children:"Installing RxDB"}),"\n",(0,i.jsx)(s.p,{children:"First, install RxDB (and RxJS) from npm:"}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"bash","data-theme":"css-variables",children:(0,i.jsx)(s.code,{"data-language":"bash","data-theme":"css-variables",style:{display:"grid"},children:(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"npm"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string)"},children:" install"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string)"},children:" rxdb"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string)"},children:" rxjs"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string)"},children:" --save"})]})})})}),"\n",(0,i.jsx)(s.h3,{id:"create-a-database-and-collections",children:"Create a Database and Collections"}),"\n",(0,i.jsx)(s.p,{children:"RxDB provides two main storage options:"}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:["The free ",(0,i.jsx)(s.a,{href:"/rx-storage-localstorage.html",children:"LocalStorage-based storage"})]}),"\n",(0,i.jsxs)(s.li,{children:["The premium plain ",(0,i.jsx)(s.a,{href:"/rx-storage-indexeddb.html",children:"IndexedDB-based storage"}),", offering faster ",(0,i.jsx)(s.a,{href:"/rx-storage-performance.html",children:"performance"})]}),"\n"]}),"\n",(0,i.jsx)(s.p,{children:"Below is an example of setting up a simple RxDB database using the localstorage-based storage in a Vue app:"}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// db.ts"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { createRxDatabase } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { getRxStorageLocalstorage } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/storage-localstorage'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"export"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" async"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" function"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" initDB"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"() {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'heroesdb'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // the name of the database"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageLocalstorage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"()"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" });"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // Define your schema"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" heroSchema"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" title"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'hero schema'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" version"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 0"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" description"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'Describes a hero in your app'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" primaryKey"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'id'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'object'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" properties"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" id"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" maxLength"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 100"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" power"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" required"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ["}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'id'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'name'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"]"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" };"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // add collections"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".addCollections"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" heroes"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" schema"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" heroSchema"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" });"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" db;"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"}"})})]})})}),"\n",(0,i.jsx)(s.h3,{id:"crud-operations",children:"CRUD Operations"}),"\n",(0,i.jsx)(s.p,{children:"Once your database is initialized, you can perform all CRUD operations:"}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// insert"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"heroes"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".insert"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({ id"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" '1'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'Iron Man'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" power"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'Genius-level intellect'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" });"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// bulk insert"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"heroes"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".bulkInsert"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(["})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { id"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" '2'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'Thor'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" power"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'God of Thunder'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { id"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" '3'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'Hulk'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" power"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'Superhuman Strength'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"]);"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// find and findOne"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" heroes"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"heroes"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".find"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"()"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".exec"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" ironMan"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"heroes"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".findOne"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({ selector"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { name"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'Iron Man'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" } })"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".exec"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// update"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" doc"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"heroes"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".findOne"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({ selector"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { name"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'Hulk'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" } })"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".exec"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" doc"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".update"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({ $set"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { power"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'Unlimited Strength'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" } });"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// delete"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" thorDoc"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"heroes"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".findOne"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({ selector"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { name"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'Thor'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" } })"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".exec"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" thorDoc"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".remove"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]})]})})}),"\n",(0,i.jsx)(s.h2,{id:"reactive-queries-and-live-updates",children:"Reactive Queries and Live Updates"}),"\n",(0,i.jsxs)(s.p,{children:["RxDB excels in providing reactive data capabilities, ideal for ",(0,i.jsx)(s.a,{href:"/articles/realtime-database.html",children:"real-time applications"}),". Subscribing to queries automatically updates your Vue components when underlying data changes - even across ",(0,i.jsx)(s.a,{href:"/articles/browser-database.html",children:"browser"})," tabs."]}),"\n",(0,i.jsx)("p",{align:"center",children:(0,i.jsx)("img",{src:"../files/animations/realtime.gif",alt:"realtime ui updates",width:"700"})}),"\n",(0,i.jsx)(s.h3,{id:"using-rxjs-observables-with-vue-3-composition-api",children:"Using RxJS Observables with Vue 3 Composition API"}),"\n",(0,i.jsx)(s.p,{children:"Here's an example of a Vue component that subscribes to live data updates:"}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"html","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"html","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"<"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"template"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:">"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" <"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"div"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:">"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" <"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"h2"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:">Hero List"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"h2"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:">"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" <"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"ul"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:">"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" <"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"li"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" v-for"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:'"hero in heroes"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" :key"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:'"hero.id"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:">"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" <"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"strong"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:">{{ hero.name }}"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"strong"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"> - {{ hero.power }}"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"li"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:">"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"ul"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:">"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"div"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:">"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:""}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"template"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:">"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"<"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"script"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" setup"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" lang"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:'"ts"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:">"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { ref"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" onMounted } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'vue'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { initDB } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" '@/db'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" heroes"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" ref"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"<"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"any"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"[]>([]);"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"onMounted"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"async"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" () "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" initDB"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // create an observable query"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" query"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"heroes"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".find"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // subscribe to the query"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" query"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"$"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".subscribe"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"((newHeroes"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" any"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"[]) "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" heroes"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".value "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" newHeroes;"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" });"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:""}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"script"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:">"})]})]})})}),"\n",(0,i.jsxs)(s.p,{children:["This component subscribes to the collection's changes, ",(0,i.jsx)(s.a,{href:"/articles/optimistic-ui.html",children:"updating the UI"})," automatically whenever the underlying data changes in any browser tab."]}),"\n",(0,i.jsx)(s.h3,{id:"using-vue-signals",children:"Using Vue Signals"}),"\n",(0,i.jsxs)(s.p,{children:["If you're exploring Vue's reactivity transforms or signals, RxDB also offers ",(0,i.jsx)(s.a,{href:"/reactivity.html",children:"custom reactivity factories"})," (",(0,i.jsx)(s.a,{href:"/premium/",children:"premium plugins"})," are required). This allows queries to emit data as signals instead of traditional Observables."]}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" heroesSignal"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"heroes"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".find"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"().$$; "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// $$ indicates a reactive result"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "})]})})}),"\n",(0,i.jsx)(s.p,{children:"With this, in your Vue template or script, you can directly read from heroesSignal()"}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"html","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"html","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"<"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"template"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:">"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" <"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"div"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:">"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" <"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"h2"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:">Hero List"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"h2"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:">"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" <"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"ul"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:">"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" \x3c!-- we read heroesSignal.value which is always up to date --\x3e"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" <"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"li"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" v-for"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:'"hero in heroesSignal.value"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" :key"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:'"hero.id"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:">"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" <"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"strong"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:">{{ hero.name }}"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"strong"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"> - {{ hero.power }}"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"li"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:">"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"ul"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:">"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"div"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:">"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:""}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"template"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:">"})]})]})})}),"\n",(0,i.jsx)(s.h2,{id:"vue-indexeddb-example-with-rxdb",children:"Vue IndexedDB Example with RxDB"}),"\n",(0,i.jsxs)(s.p,{children:["A comprehensive example of using RxDB within a Vue application can be found in the ",(0,i.jsx)(s.a,{href:"https://github.com/pubkey/rxdb/tree/master/examples/vue",children:"RxDB GitHub repository"}),". This repository contains sample applications, showcasing best practices and demonstrating how to integrate RxDB for various use cases."]}),"\n",(0,i.jsx)(s.h2,{id:"advanced-rxdb-features",children:"Advanced RxDB Features"}),"\n",(0,i.jsx)(s.p,{children:"RxDB offers many advanced features that extend beyond basic data storage:"}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:["\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.a,{href:"/replication.html",children:"RxDB Replication"}),": Synchronize local data with remote databases seamlessly."]}),"\n"]}),"\n",(0,i.jsxs)(s.li,{children:["\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.a,{href:"/migration-schema.html",children:"Data Migration"}),": Handle schema changes gracefully with automatic data migrations."]}),"\n"]}),"\n",(0,i.jsxs)(s.li,{children:["\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.a,{href:"/encryption.html",children:"Encryption"}),": Secure your data with built-in encryption capabilities."]}),"\n"]}),"\n",(0,i.jsxs)(s.li,{children:["\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.a,{href:"/key-compression.html",children:"Compression"}),": Optimize storage using key compression."]}),"\n"]}),"\n"]}),"\n",(0,i.jsx)(s.h2,{id:"limitations-of-indexeddb",children:"Limitations of IndexedDB"}),"\n",(0,i.jsx)(s.p,{children:"While IndexedDB is powerful, it has some inherent limitations:"}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:["Performance: IndexedDB can be slow under certain conditions. Read more: ",(0,i.jsx)(s.a,{href:"/slow-indexeddb.html",children:"Slow IndexedDB"})]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.a,{href:"/articles/indexeddb-max-storage-limit.html",children:"Storage Limits"}),": Browsers impose limits on how much data can be stored. See: ",(0,i.jsx)(s.a,{href:"/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm.html#storage-size-limits",children:"Browser storage limits"}),"."]}),"\n"]}),"\n",(0,i.jsx)(s.h2,{id:"alternatives-to-indexeddb",children:"Alternatives to IndexedDB"}),"\n",(0,i.jsxs)(s.p,{children:["Depending on your application's requirements, there are ",(0,i.jsx)(s.a,{href:"/rx-storage.html",children:"alternative storage solutions"})," to consider:"]}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Origin Private File System (OPFS)"}),": A newer API that can offer better performance. RxDB supports OPFS as well. More info: ",(0,i.jsx)(s.a,{href:"/rx-storage-opfs.html",children:"RxDB OPFS Storage"})]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"SQLite"}),": Ideal for hybrid frameworks or Capacitor, offering native performance. Explore: ",(0,i.jsx)(s.a,{href:"/rx-storage-sqlite.html",children:"RxDB SQLite Storage"})]}),"\n"]}),"\n",(0,i.jsx)(s.h2,{id:"performance-comparison-with-other-browser-storages",children:"Performance Comparison with Other Browser Storages"}),"\n",(0,i.jsx)(s.p,{children:"Here is a performance overview of the various browser-based storage implementations of RxDB:"}),"\n",(0,i.jsx)("p",{align:"center",children:(0,i.jsx)("img",{src:"../files/rx-storage-performance-browser.png",alt:"RxStorage performance - browser",width:"700"})}),"\n",(0,i.jsx)(s.h2,{id:"follow-up",children:"Follow Up"}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:["Learn how to use RxDB with the ",(0,i.jsx)(s.a,{href:"/quickstart.html",children:"RxDB Quickstart"})," for a guided introduction."]}),"\n",(0,i.jsxs)(s.li,{children:["Check out the ",(0,i.jsx)(s.a,{href:"/code/",children:"RxDB GitHub repository"})," and leave a star \u2b50 if you find it useful."]}),"\n"]}),"\n",(0,i.jsxs)(s.p,{children:["By leveraging RxDB on top of IndexedDB, you can create highly responsive, offline-capable Vue applications without dealing with the low-level complexities of IndexedDB directly. With ",(0,i.jsx)(s.a,{href:"/rx-query.html",children:"reactive queries"}),", seamless cross-tab communication, and powerful advanced features, RxDB becomes an invaluable tool in modern web development."]})]})}function h(e={}){const{wrapper:s}={...(0,o.R)(),...e.components};return s?(0,i.jsx)(s,{...e,children:(0,i.jsx)(d,{...e})}):d(e)}},8453(e,s,n){n.d(s,{R:()=>a,x:()=>l});var r=n(6540);const i={},o=r.createContext(i);function a(e){const s=r.useContext(o);return r.useMemo(function(){return"function"==typeof e?e(s):{...s,...e}},[s,e])}function l(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:a(e.components),r.createElement(o.Provider,{value:s},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/820807a1.82638c55.js b/docs/assets/js/820807a1.82638c55.js
deleted file mode 100644
index 0dd2e6ad232..00000000000
--- a/docs/assets/js/820807a1.82638c55.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[7836],{8453(e,i,a){a.d(i,{R:()=>r,x:()=>o});var n=a(6540);const t={},s=n.createContext(t);function r(e){const i=n.useContext(s);return n.useMemo(function(){return"function"==typeof e?e(i):{...i,...e}},[i,e])}function o(e){let i;return i=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:r(e.components),n.createElement(s.Provider,{value:i},e.children)}},8906(e,i,a){a.r(i),a.d(i,{assets:()=>l,contentTitle:()=>o,default:()=>h,frontMatter:()=>r,metadata:()=>n,toc:()=>c});const n=JSON.parse('{"id":"articles/local-database","title":"What is a Local Database and Why RxDB is the Best Local Database for JavaScript Applications","description":"An in-depth exploration of local databases and why RxDB excels as a local-first solution for JavaScript applications.","source":"@site/docs/articles/local-database.md","sourceDirName":"articles","slug":"/articles/local-database.html","permalink":"/articles/local-database.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"What is a Local Database and Why RxDB is the Best Local Database for JavaScript Applications","slug":"local-database.html","description":"An in-depth exploration of local databases and why RxDB excels as a local-first solution for JavaScript applications."},"sidebar":"tutorialSidebar","previous":{"title":"Building an Optimistic UI with RxDB","permalink":"/articles/optimistic-ui.html"},"next":{"title":"React Native Encryption and Encrypted Database/Storage","permalink":"/articles/react-native-encryption.html"}}');var t=a(4848),s=a(8453);const r={title:"What is a Local Database and Why RxDB is the Best Local Database for JavaScript Applications",slug:"local-database.html",description:"An in-depth exploration of local databases and why RxDB excels as a local-first solution for JavaScript applications."},o="What is a Local Database and Why RxDB is the Best Local Database for JavaScript Applications",l={},c=[{value:"Use Cases of Local Databases",id:"use-cases-of-local-databases",level:3},{value:"Performance Optimization",id:"performance-optimization",level:3},{value:"Security and Encryption",id:"security-and-encryption",level:3},{value:"Why RxDB is Optimized for JavaScript Applications",id:"why-rxdb-is-optimized-for-javascript-applications",level:2},{value:"Real-Time Reactivity",id:"real-time-reactivity",level:3},{value:"Offline-First Support",id:"offline-first-support",level:3},{value:"Flexible Data Replication",id:"flexible-data-replication",level:3},{value:"Schema Validation and Versioning",id:"schema-validation-and-versioning",level:3},{value:"Rich Plugin Ecosystem",id:"rich-plugin-ecosystem",level:3},{value:"Multi-Platform Compatibility",id:"multi-platform-compatibility",level:3},{value:"Performance Optimization",id:"performance-optimization-1",level:3},{value:"Proven Reliability",id:"proven-reliability",level:3},{value:"Developer-Friendly Features",id:"developer-friendly-features",level:3},{value:"Follow Up",id:"follow-up",level:2}];function d(e){const i={a:"a",h1:"h1",h2:"h2",h3:"h3",header:"header",hr:"hr",li:"li",p:"p",strong:"strong",ul:"ul",...(0,s.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.header,{children:(0,t.jsx)(i.h1,{id:"what-is-a-local-database-and-why-rxdb-is-the-best-local-database-for-javascript-applications",children:"What is a Local Database and Why RxDB is the Best Local Database for JavaScript Applications"})}),"\n",(0,t.jsxs)(i.p,{children:["A ",(0,t.jsx)(i.strong,{children:"local database"})," is a data storage system residing on a user's device, allowing applications to store, query, and manipulate information without needing continuous network access. This approach prioritizes quick data retrieval, efficient updates, and the ability to function in ",(0,t.jsx)(i.a,{href:"/offline-first.html",children:"offline-first"})," scenarios. In contrast, server-based databases require an active internet connection for each request and response cycle, making them more vulnerable to latency, network disruptions, and downtime."]}),"\n",(0,t.jsxs)(i.p,{children:["Local databases often leverage technologies such as ",(0,t.jsx)(i.strong,{children:"IndexedDB"}),", ",(0,t.jsx)(i.strong,{children:"SQLite"}),", or ",(0,t.jsx)(i.strong,{children:"WebSQL"})," (though WebSQL has been deprecated). These technologies manage both structured data (like relational tables) and unstructured data (such as JSON documents). When connectivity is restored, local databases typically sync their changes back to a central server-side database, maintaining consistent and up-to-date records across multiple devices."]}),"\n",(0,t.jsx)(i.h3,{id:"use-cases-of-local-databases",children:"Use Cases of Local Databases"}),"\n",(0,t.jsx)(i.p,{children:"Local databases are particularly beneficial for:"}),"\n",(0,t.jsxs)(i.ul,{children:["\n",(0,t.jsxs)(i.li,{children:[(0,t.jsx)(i.strong,{children:"Offline Functionality"}),": Essential for apps that must remain usable without a consistent internet connection, such as note-taking apps or offline-first CRMs. Users can continue adding and editing data, then sync changes once they reconnect."]}),"\n",(0,t.jsxs)(i.li,{children:[(0,t.jsx)(i.strong,{children:"Low Latency"}),": By reducing round-trips to remote servers, local databases enable real-time responsiveness. This feature is critical for interactive applications such as gaming platforms, data dashboards, or analytics tools that need near-instant feedback."]}),"\n",(0,t.jsxs)(i.li,{children:[(0,t.jsx)(i.strong,{children:"Data Synchronization"}),": Many modern applications - like chat systems or collaborative editing tools - require continuous data exchange between multiple users or devices. Local databases can handle intermittent connectivity gracefully, queuing updates locally and syncing them when possible."]}),"\n"]}),"\n",(0,t.jsxs)(i.p,{children:["In addition, local databases are increasingly integral to ",(0,t.jsx)(i.strong,{children:"Progressive Web Apps (PWAs)"}),", offering a native app-like user experience that is fast and available, even when offline."]}),"\n",(0,t.jsx)(i.h3,{id:"performance-optimization",children:"Performance Optimization"}),"\n",(0,t.jsx)(i.p,{children:"The primary performance benefit of a local database is its proximity to the application: queries and updates happen directly on the user's device, eliminating the overhead of multiple network hops. Common optimizations include:"}),"\n",(0,t.jsxs)(i.ul,{children:["\n",(0,t.jsxs)(i.li,{children:[(0,t.jsx)(i.strong,{children:"Caching"}),": Storing frequently accessed data in memory or on disk to minimize expensive operations."]}),"\n",(0,t.jsxs)(i.li,{children:[(0,t.jsx)(i.strong,{children:"Batching Writes"}),": Grouping database operations into a single write transaction to reduce overhead and lock contention."]}),"\n",(0,t.jsxs)(i.li,{children:[(0,t.jsx)(i.strong,{children:"Efficient Indexing"}),": Using appropriate indexes to speed up queries, especially important for applications that handle large data sets or frequent lookups."]}),"\n"]}),"\n",(0,t.jsxs)(i.p,{children:["These techniques ensure that local databases run smoothly, even on lower-powered or ",(0,t.jsx)(i.a,{href:"/articles/mobile-database.html",children:"mobile devices"}),"."]}),"\n",(0,t.jsx)("p",{align:"center",children:(0,t.jsx)("img",{src:"/files/loading-spinner-not-needed.gif",alt:"loading spinner not needed",width:"300"})}),"\n",(0,t.jsx)(i.h3,{id:"security-and-encryption",children:"Security and Encryption"}),"\n",(0,t.jsxs)(i.p,{children:["Storing data on user devices introduces unique security considerations, such as the risk of physical theft or unauthorized access. Consequently, many local databases support ",(0,t.jsx)(i.strong,{children:"encryption"})," options to safeguard sensitive information. Developers can implement additional security measures like ",(0,t.jsx)(i.strong,{children:"device-level encryption"}),", ",(0,t.jsx)(i.strong,{children:"secure storage plugins"}),", and user authentication to further protect data from prying eyes."]}),"\n",(0,t.jsx)(i.hr,{}),"\n",(0,t.jsx)("center",{children:(0,t.jsx)("a",{href:"https://rxdb.info/",children:(0,t.jsx)("img",{src:"../files/logo/rxdb_javascript_database.svg",alt:"RxDB Database",width:"220"})})}),"\n",(0,t.jsx)(i.h2,{id:"why-rxdb-is-optimized-for-javascript-applications",children:"Why RxDB is Optimized for JavaScript Applications"}),"\n",(0,t.jsx)(i.p,{children:"RxDB (Reactive Database) is an offline-first, NoSQL database designed to meet the needs of modern JavaScript applications. Built with a focus on reactivity and real-time data handling, RxDB excels in scenarios where low-latency, offline availability, and scalability are essential."}),"\n",(0,t.jsx)(i.h3,{id:"real-time-reactivity",children:"Real-Time Reactivity"}),"\n",(0,t.jsxs)(i.p,{children:["At the core of RxDB is ",(0,t.jsx)(i.strong,{children:"reactive programming"}),", allowing you to subscribe to changes in your data collections and receive immediate UI updates when records change - no manual polling or refetching required. For instance, a chat application can display incoming messages as soon as they arrive, maintaining a smooth and responsive experience."]}),"\n",(0,t.jsx)("p",{align:"center",children:(0,t.jsx)("img",{src:"/files/multiwindow.gif",alt:"RxDB multi tab",width:"450"})}),"\n",(0,t.jsx)(i.h3,{id:"offline-first-support",children:"Offline-First Support"}),"\n",(0,t.jsxs)(i.p,{children:["RxDB's primary design goal is to work seamlessly in offline environments. Even if your device loses internet connectivity, RxDB enables you to continue reading and writing data. Once the connection is restored, all pending changes are automatically synchronized with your backend. This ",(0,t.jsx)(i.a,{href:"/offline-first.html",children:"offline-first approach"})," is ideal for productivity apps, field service tools, and other scenarios where reliability and user autonomy are paramount."]}),"\n",(0,t.jsx)(i.h3,{id:"flexible-data-replication",children:"Flexible Data Replication"}),"\n",(0,t.jsxs)(i.p,{children:["A standout feature of RxDB is its ",(0,t.jsx)(i.a,{href:"/replication.html",children:"bi-directional replication"}),". It supports synchronization with a variety of backends, such as:"]}),"\n",(0,t.jsxs)(i.ul,{children:["\n",(0,t.jsxs)(i.li,{children:[(0,t.jsx)(i.a,{href:"/replication-couchdb.html",children:"CouchDB"}),": Via the CouchDB replication, facilitating easy integration with any Couch-compatible server."]}),"\n",(0,t.jsxs)(i.li,{children:[(0,t.jsx)(i.a,{href:"/replication-graphql.html",children:"GraphQL Endpoints"}),": Through community plugins, developers can replicate JSON documents to and from GraphQL servers."]}),"\n",(0,t.jsxs)(i.li,{children:[(0,t.jsx)(i.a,{href:"/replication-http.html",children:"Custom Backends"}),": RxDB provides hooks to build custom replication strategies for proprietary or specialized server APIs."]}),"\n"]}),"\n",(0,t.jsx)(i.p,{children:"This flexibility ensures that RxDB fits into diverse architectures without locking you into a single vendor or technology stack."}),"\n",(0,t.jsx)(i.h3,{id:"schema-validation-and-versioning",children:"Schema Validation and Versioning"}),"\n",(0,t.jsxs)(i.p,{children:["Rather than relying on implicit data models, RxDB leverages ",(0,t.jsx)(i.strong,{children:"JSON schema"})," to define document structures. This approach promotes data consistency by enforcing constraints such as required fields and acceptable data formats. As your application grows and changes, RxDB's built-in ",(0,t.jsx)(i.strong,{children:"schema versioning"})," and migration tools help you evolve your database schema safely, minimizing risks of data corruption or loss."]}),"\n",(0,t.jsx)(i.h3,{id:"rich-plugin-ecosystem",children:"Rich Plugin Ecosystem"}),"\n",(0,t.jsxs)(i.p,{children:["One of RxDB's greatest strengths is its ",(0,t.jsx)(i.strong,{children:"pluggable architecture"}),", allowing you to add functionality as needed:"]}),"\n",(0,t.jsxs)(i.ul,{children:["\n",(0,t.jsxs)(i.li,{children:[(0,t.jsx)(i.a,{href:"/encryption.html",children:"Encryption"}),": Secure your data at rest using advanced encryption plugins."]}),"\n",(0,t.jsxs)(i.li,{children:[(0,t.jsx)(i.a,{href:"/fulltext-search.html",children:"Full-Text Search"}),": Integrate powerful text search capabilities for applications that require quick and flexible query options."]}),"\n",(0,t.jsxs)(i.li,{children:[(0,t.jsx)(i.a,{href:"/rx-storage.html",children:"Storage Adapters"}),": Swap out the underlying storage layer (e.g., ",(0,t.jsx)(i.a,{href:"/rx-storage-indexeddb.html",children:"IndexedDB in the browser"}),", ",(0,t.jsx)(i.a,{href:"/rx-storage-sqlite.html",children:"SQLite"})," in ",(0,t.jsx)(i.a,{href:"/react-native-database.html",children:"React Native"}),", or a custom engine) without rewriting your application logic."]}),"\n"]}),"\n",(0,t.jsx)(i.p,{children:"You can fine-tune RxDB to your exact needs, avoiding the performance overhead of unnecessary features."}),"\n",(0,t.jsx)(i.h3,{id:"multi-platform-compatibility",children:"Multi-Platform Compatibility"}),"\n",(0,t.jsx)(i.p,{children:"RxDB is a perfect fit for cross-platform development, as it supports numerous environments:"}),"\n",(0,t.jsxs)(i.ul,{children:["\n",(0,t.jsxs)(i.li,{children:[(0,t.jsx)(i.strong,{children:"Browsers (IndexedDB)"}),": For web and PWA projects."]}),"\n",(0,t.jsxs)(i.li,{children:[(0,t.jsx)(i.strong,{children:"Node.js"}),": Ideal for server-side rendering or background services."]}),"\n",(0,t.jsxs)(i.li,{children:[(0,t.jsx)(i.strong,{children:"React Native"}),": Leverage SQLite or other adapters for mobile app development."]}),"\n",(0,t.jsxs)(i.li,{children:[(0,t.jsx)(i.a,{href:"/electron-database.html",children:"Electron"}),": Create offline-capable desktop apps with a unified codebase."]}),"\n"]}),"\n",(0,t.jsx)(i.p,{children:"This versatility empowers teams to reuse application logic across multiple platforms while maintaining a consistent data model."}),"\n",(0,t.jsx)(i.h3,{id:"performance-optimization-1",children:"Performance Optimization"}),"\n",(0,t.jsxs)(i.p,{children:["With ",(0,t.jsx)(i.strong,{children:"lazy loading"})," of data and the ability to utilize efficient storage engines, RxDB delivers high-speed operations and quick response times. By minimizing disk I/O and leveraging indexes effectively, RxDB ensures that even large-scale applications remain performant. Its reactive nature also helps avoid unnecessary re-renders, improving the end-user experience."]}),"\n",(0,t.jsx)(i.h3,{id:"proven-reliability",children:"Proven Reliability"}),"\n",(0,t.jsx)(i.p,{children:"RxDB is battle-tested in production environments, handling use cases from small single-user applications to large-scale enterprise solutions. Its robust replication mechanism resolves conflicts, manages concurrent writes, and ensures data integrity. The active open-source community provides ongoing support, documentation updates, and feature improvements."}),"\n",(0,t.jsx)(i.h3,{id:"developer-friendly-features",children:"Developer-Friendly Features"}),"\n",(0,t.jsx)(i.p,{children:"For developers, RxDB offers:"}),"\n",(0,t.jsxs)(i.ul,{children:["\n",(0,t.jsxs)(i.li,{children:[(0,t.jsx)(i.strong,{children:"Straightforward APIs"}),": Built on top of familiar JavaScript paradigms like promises and observables."]}),"\n",(0,t.jsxs)(i.li,{children:[(0,t.jsx)(i.strong,{children:"Excellent Documentation"}),": Detailed guides, tutorials, and references for every major feature."]}),"\n",(0,t.jsxs)(i.li,{children:[(0,t.jsx)(i.strong,{children:"Rich Community Support"}),": Benefit from an active ecosystem of contributors creating plugins, answering questions, and maintaining core libraries."]}),"\n"]}),"\n",(0,t.jsx)(i.p,{children:"These qualities streamline development, making RxDB an appealing choice for teams of all sizes."}),"\n",(0,t.jsx)(i.hr,{}),"\n",(0,t.jsx)(i.h2,{id:"follow-up",children:"Follow Up"}),"\n",(0,t.jsx)(i.p,{children:"Ready to get started? Here are some next steps:"}),"\n",(0,t.jsxs)(i.ul,{children:["\n",(0,t.jsxs)(i.li,{children:["Try the ",(0,t.jsx)(i.a,{href:"/quickstart.html",children:"Quickstart Tutorial"})," and build a basic project to see RxDB in action."]}),"\n",(0,t.jsxs)(i.li,{children:["Compare RxDB with ",(0,t.jsx)(i.a,{href:"/alternatives.html",children:"other local database solutions"})," to determine the best fit for your unique requirements."]}),"\n"]}),"\n",(0,t.jsxs)(i.p,{children:["Ultimately, ",(0,t.jsx)(i.strong,{children:"RxDB"})," is more than just a database - it's a robust, reactive toolkit that empowers you to build fast, resilient, and user-centric applications. Whether you're creating an offline-first note-taking app or a real-time collaborative platform, RxDB can handle your local storage needs with ease and flexibility."]})]})}function h(e={}){const{wrapper:i}={...(0,s.R)(),...e.components};return i?(0,t.jsx)(i,{...e,children:(0,t.jsx)(d,{...e})}):d(e)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/8288c265.d455b0a0.js b/docs/assets/js/8288c265.d455b0a0.js
deleted file mode 100644
index 6b3ca9e4cd6..00000000000
--- a/docs/assets/js/8288c265.d455b0a0.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[9881],{2309(e,r,s){s.r(r),s.d(r,{assets:()=>l,contentTitle:()=>i,default:()=>c,frontMatter:()=>t,metadata:()=>n,toc:()=>d});const n=JSON.parse('{"id":"releases/11.0.0","title":"RxDB 11 - WebWorker Support & More","description":"RxDB 11.0 brings Worker-based storage for multi-core performance gains. Explore the major changes and migrate seamlessly to harness new speeds.","source":"@site/docs/releases/11.0.0.md","sourceDirName":"releases","slug":"/releases/11.0.0.html","permalink":"/releases/11.0.0.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"RxDB 11 - WebWorker Support & More","slug":"11.0.0.html","description":"RxDB 11.0 brings Worker-based storage for multi-core performance gains. Explore the major changes and migrate seamlessly to harness new speeds."},"sidebar":"tutorialSidebar","previous":{"title":"12.0.0","permalink":"/releases/12.0.0.html"},"next":{"title":"10.0.0","permalink":"/releases/10.0.0.html"}}');var o=s(4848),a=s(8453);const t={title:"RxDB 11 - WebWorker Support & More",slug:"11.0.0.html",description:"RxDB 11.0 brings Worker-based storage for multi-core performance gains. Explore the major changes and migrate seamlessly to harness new speeds."},i="11.0.0",l={},d=[{value:"Worker plugin",id:"worker-plugin",level:2},{value:"Transpile async/await to promises instead of generators",id:"transpile-asyncawait-to-promises-instead-of-generators",level:2},{value:"Removed deprecated received methods",id:"removed-deprecated-received-methods",level:2},{value:"All internal events are handled as bulks",id:"all-internal-events-are-handled-as-bulks",level:2},{value:"RxStorage interface changes",id:"rxstorage-interface-changes",level:2},{value:"Removed the no-validate plugin.",id:"removed-the-no-validate-plugin",level:2},{value:"Other changes",id:"other-changes",level:2},{value:"Migration from 10.x.x",id:"migration-from-10xx",level:2},{value:"You can help!",id:"you-can-help",level:2},{value:"Discuss!",id:"discuss",level:2}];function h(e){const r={a:"a",code:"code",figure:"figure",h1:"h1",h2:"h2",header:"header",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...(0,a.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(r.header,{children:(0,o.jsx)(r.h1,{id:"1100",children:"11.0.0"})}),"\n",(0,o.jsxs)(r.p,{children:["The last major release was only about ",(0,o.jsx)(r.a,{href:"/releases/10.0.0.html",children:"6 month ago"}),". But to further improve RxDB, it was necessary to make some more breaking changes and release the next major version.\nIn the last version ",(0,o.jsx)(r.code,{children:"10.0.0"})," the storage layer was abstracted in a way to make it possible to not only use PouchDB as storage, but instead we can use different storage engines like the one based on ",(0,o.jsx)(r.a,{href:"/rx-storage-lokijs.html",children:"LokiJS"})," or any custom implementation of the ",(0,o.jsx)(r.code,{children:"RxStorage"})," interface."]}),"\n",(0,o.jsxs)(r.p,{children:["In the new version ",(0,o.jsx)(r.code,{children:"11.0.0"})," the focus is on making it possible to put the RxStorage into a ",(0,o.jsx)(r.strong,{children:"WebWorker"})," to take CPU load from the main process into the worker's process. This can improve the perceived performance of your application, especially when you have to handle many documents or when you need the main process CPU cycles to manage the DOM with your frontend framework."]}),"\n",(0,o.jsx)(r.h2,{id:"worker-plugin",children:"Worker plugin"}),"\n",(0,o.jsxs)(r.p,{children:["Performance was always something RxDB had a struggle with. Not because RxDB itself is slow, but because the underlying storage engine (mostly PouchDB) or ",(0,o.jsx)(r.a,{href:"/slow-indexeddb.html",children:"IndexedDB is slow"}),". This never was a problem for 'normal' applications that have to store some documents. But on big applications with much data, there was a bottleneck."]}),"\n",(0,o.jsxs)(r.p,{children:["With the Worker plugin, you can move the ",(0,o.jsx)(r.code,{children:"RxStorage"})," out of the main JavaScript process. This makes it pretty easy to utilize more than one CPU core and speed up your application."]}),"\n",(0,o.jsx)(r.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(r.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,o.jsxs)(r.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsx)(r.span,{"data-line":"",children:(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-comment)"},children:"// worker.ts"})}),"\n",(0,o.jsxs)(r.span,{"data-line":"",children:[(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" { wrappedRxStorage } "}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/worker'"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsxs)(r.span,{"data-line":"",children:[(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" { getRxStorageLoki } "}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/storage-lokijs'"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsxs)(r.span,{"data-line":"",children:[(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-function)"},children:"wrappedRxStorage"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(r.span,{"data-line":"",children:[(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageLoki"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"()"})]}),"\n",(0,o.jsx)(r.span,{"data-line":"",children:(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,o.jsx)(r.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(r.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,o.jsxs)(r.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsx)(r.span,{"data-line":"",children:(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-comment)"},children:"// main process"})}),"\n",(0,o.jsxs)(r.span,{"data-line":"",children:[(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" { createRxDatabase } "}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/core'"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsxs)(r.span,{"data-line":"",children:[(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" { getRxStorageWorker } "}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/worker'"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsxs)(r.span,{"data-line":"",children:[(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-constant)"},children:" database"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(r.span,{"data-line":"",children:[(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'mydatabase'"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(r.span,{"data-line":"",children:[(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageWorker"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"("})]}),"\n",(0,o.jsx)(r.span,{"data-line":"",children:(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" {"})}),"\n",(0,o.jsxs)(r.span,{"data-line":"",children:[(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" workerInput"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'path/to/worker.js'"})]}),"\n",(0,o.jsx)(r.span,{"data-line":"",children:(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(r.span,{"data-line":"",children:(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" )"})}),"\n",(0,o.jsx)(r.span,{"data-line":"",children:(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,o.jsxs)(r.p,{children:["The whole documentation about the worker plugin can be found ",(0,o.jsx)(r.a,{href:"/rx-storage-worker.html",children:"here"}),"."]}),"\n",(0,o.jsxs)(r.h2,{id:"transpile-asyncawait-to-promises-instead-of-generators",children:["Transpile ",(0,o.jsx)(r.code,{children:"async"}),"/",(0,o.jsx)(r.code,{children:"await"})," to promises instead of generators"]}),"\n",(0,o.jsxs)(r.p,{children:["The RxDB source-code is transpiled from TypeScript to es5/es6 JavaScript code via babel.\nIn the past we transpiled the ",(0,o.jsx)(r.code,{children:"async"})," and ",(0,o.jsx)(r.code,{children:"await"})," keywords with the babel plugin ",(0,o.jsx)(r.code,{children:"plugin-transform-async-to-generator"}),".\nNow we use the ",(0,o.jsx)(r.a,{href:"https://github.com/rpetrich/babel-plugin-transform-async-to-promises",children:"babel-plugin-transform-async-to-promises"})," plugin instead.\nIt transpiles ",(0,o.jsx)(r.code,{children:"async"}),"/",(0,o.jsx)(r.code,{children:"await"})," into native ",(0,o.jsx)(r.code,{children:"Promise"}),"s instead of using JavaScript generators. This has shown to decrease build size by about 10% and also improves the performance."]}),"\n",(0,o.jsxs)(r.h2,{id:"removed-deprecated-received-methods",children:["Removed deprecated ",(0,o.jsx)(r.code,{children:"received"})," methods"]}),"\n",(0,o.jsxs)(r.p,{children:["In the past there was a typo in all getters and methods that are called ",(0,o.jsx)(r.code,{children:"received"}),".\nThis was renamed to ",(0,o.jsx)(r.code,{children:"received"})," and all mistyped methods have been deprecated.\nWe now removed all deprecated methods, so you have to use the correctly spelled methods instead.\n",(0,o.jsx)(r.a,{href:"https://github.com/pubkey/rxdb/pull/3392",children:"See #3392"})]}),"\n",(0,o.jsx)(r.h2,{id:"all-internal-events-are-handled-as-bulks",children:"All internal events are handled as bulks"}),"\n",(0,o.jsxs)(r.p,{children:["All events that are generated from writing to the storage instance are now handled in bulks instead of each event for its own. This has shown to save performance when the events are send over a data layer like a ",(0,o.jsx)(r.code,{children:"WebWorker"})," or the ",(0,o.jsx)(r.code,{children:"BroadcastChannel"}),". This change only affects you if you have created custom RxDB plugins."]}),"\n",(0,o.jsx)(r.h2,{id:"rxstorage-interface-changes",children:"RxStorage interface changes"}),"\n",(0,o.jsx)(r.p,{children:"To make the RxStorage abstraction compatible with Webworkers, we had to do some changes. These will only affect you if you use a custom RxStorage implementation."}),"\n",(0,o.jsxs)(r.ul,{children:["\n",(0,o.jsxs)(r.li,{children:["The non async functions ",(0,o.jsx)(r.code,{children:"prepareQuery"}),", ",(0,o.jsx)(r.code,{children:"getSortComparator"})," and ",(0,o.jsx)(r.code,{children:"getQueryMatcher"})," have been moved out of ",(0,o.jsx)(r.code,{children:"RxStorageInstance"})," into the ",(0,o.jsx)(r.code,{children:"statics"})," property of ",(0,o.jsx)(r.code,{children:"RxStorage"}),". This makes it possible to split the code when using the worker plugin. You only need to load the static methods at the main process, and the whole storage engine is only loaded inside of the worker."]}),"\n",(0,o.jsxs)(r.li,{children:["All data communication with the RxStorage now happens only via plain JSON objects. Instead of returning a JavaScript ",(0,o.jsx)(r.code,{children:"Map"})," or ",(0,o.jsx)(r.code,{children:"Set"}),", only ",(0,o.jsx)(r.a,{href:"https://www.w3schools.com/js/js_json_datatypes.asp",children:"JSON datatypes"})," are allowed. This makes it easier to properly serialize the data when transferring it over to or from a WebWorker."]}),"\n",(0,o.jsxs)(r.li,{children:["Events that are created from a write operation, must be emitted ",(0,o.jsx)(r.strong,{children:"before"})," the write operation resolves. This ensures that RxDB always knows about all events before it runs another operation. So when you do an insert and a query directly after the insert, the query will return the correct results."]}),"\n",(0,o.jsxs)(r.li,{children:["The meta data ",(0,o.jsx)(r.code,{children:"digest"})," and ",(0,o.jsx)(r.code,{children:"length"})," of attachments is now created by RxDB, not by the RxStorage. ",(0,o.jsx)(r.a,{href:"https://github.com/pubkey/rxdb/issues/3548",children:"#3548"})]}),"\n",(0,o.jsxs)(r.li,{children:["Added the statics ",(0,o.jsx)(r.code,{children:"hashKey"})," property to identify the used hash function."]}),"\n"]}),"\n",(0,o.jsxs)(r.h2,{id:"removed-the-no-validate-plugin",children:["Removed the ",(0,o.jsx)(r.code,{children:"no-validate"})," plugin."]}),"\n",(0,o.jsxs)(r.p,{children:["In the past, RxDB required you to add one schema validation plugin. For production, it was useful to not have any schema validation for better performance and a smaller build size. For that, the ",(0,o.jsx)(r.code,{children:"no-validate"})," plugin could be added which was just a dummy plugin that did no do any validation. To remove this unnecessary complexity, RxDB no longer requires you to add a validation plugin. Therefore the no-validate plugin is now removed as it is no longer needed."]}),"\n",(0,o.jsx)(r.h2,{id:"other-changes",children:"Other changes"}),"\n",(0,o.jsxs)(r.ul,{children:["\n",(0,o.jsxs)(r.li,{children:["The LokiJS RxStorage no longer uses the ",(0,o.jsx)(r.code,{children:"IdleQueue"})," to determine if the database is idle. Because LokiJS is in-memory, we can just wait for CPU idleness via ",(0,o.jsx)(r.a,{href:"https://developer.mozilla.org/en-US/docs/Web/API/Window/requestIdleCallback",children:"requestIdleCallback()"})]}),"\n",(0,o.jsx)(r.li,{children:"Bugfix: Do not throw an error when database is destroyed while a GraphQL replication is running."}),"\n",(0,o.jsxs)(r.li,{children:['Compound primary key migration throws "Value of primary key(s) cannot be changed" ',(0,o.jsx)(r.a,{href:"https://github.com/pubkey/rxdb/pull/3546",children:"#3546"})]}),"\n",(0,o.jsxs)(r.li,{children:["Allow ",(0,o.jsx)(r.code,{children:"_id"})," as primaryKey ",(0,o.jsx)(r.a,{href:"https://github.com/pubkey/rxdb/pull/3562",children:"#3562"})," Thanks ",(0,o.jsx)(r.a,{href:"https://github.com/SuperKirik",children:"@SuperKirik"})]}),"\n",(0,o.jsx)(r.li,{children:"LokiJS: Remote operations do never resolve when remote instance was leader and died."}),"\n"]}),"\n",(0,o.jsxs)(r.h2,{id:"migration-from-10xx",children:["Migration from ",(0,o.jsx)(r.code,{children:"10.x.x"})]}),"\n",(0,o.jsx)(r.p,{children:"The migration should be pretty easy. Nothing in the datalayer has been changed, so you can use the stored data of v10 together with the new v11 RxDB."}),"\n",(0,o.jsx)(r.h2,{id:"you-can-help",children:"You can help!"}),"\n",(0,o.jsxs)(r.p,{children:["There are many things that can be done by ",(0,o.jsx)(r.strong,{children:"you"})," to improve RxDB:"]}),"\n",(0,o.jsxs)(r.ul,{children:["\n",(0,o.jsxs)(r.li,{children:["Check the ",(0,o.jsx)(r.a,{href:"https://github.com/pubkey/rxdb/blob/master/orga/BACKLOG.md",children:"BACKLOG"})," for features that would be great to have."]}),"\n",(0,o.jsxs)(r.li,{children:["Check the ",(0,o.jsx)(r.a,{href:"https://github.com/pubkey/rxdb/blob/master/orga/before-next-major.md",children:"breaking backlog"})," for breaking changes that must be implemented in the future but where I did not had the time yet."]}),"\n",(0,o.jsxs)(r.li,{children:["Check the ",(0,o.jsx)(r.a,{href:"https://github.com/pubkey/rxdb/search?q=todo",children:"todos"})," in the code. There are many small improvements that can be done for performance and build size."]}),"\n",(0,o.jsx)(r.li,{children:"Review the code and add tests. I am only a single human with a laptop. My code is not perfect and much small improvements can be done when people review the code and help me to clarify undefined behaviors."}),"\n",(0,o.jsx)(r.li,{children:"Improve the documentation. In the last user survey many users told me that the documentation is not good enough. But I reviewed the docs and could not find clear flaws. The problem is that I am way to deep into RxDB so that I am not able to understand which documentation a newcomer to the project needs. Likely I assume too much knowledge or focus writing about the wrong parts."}),"\n",(0,o.jsxs)(r.li,{children:["Update the ",(0,o.jsx)(r.a,{href:"https://github.com/pubkey/rxdb/tree/master/examples",children:"example projects"})," many of them are outdated and need updates."]}),"\n"]}),"\n",(0,o.jsx)(r.h2,{id:"discuss",children:"Discuss!"}),"\n",(0,o.jsxs)(r.p,{children:["Please ",(0,o.jsx)(r.a,{href:"https://github.com/pubkey/rxdb/issues/3555",children:"discuss here"}),"."]})]})}function c(e={}){const{wrapper:r}={...(0,a.R)(),...e.components};return r?(0,o.jsx)(r,{...e,children:(0,o.jsx)(h,{...e})}):h(e)}},8453(e,r,s){s.d(r,{R:()=>t,x:()=>i});var n=s(6540);const o={},a=n.createContext(o);function t(e){const r=n.useContext(a);return n.useMemo(function(){return"function"==typeof e?e(r):{...r,...e}},[r,e])}function i(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:t(e.components),n.createElement(a.Provider,{value:r},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/8489a755.3170bb72.js b/docs/assets/js/8489a755.3170bb72.js
deleted file mode 100644
index f6a5c1877ec..00000000000
--- a/docs/assets/js/8489a755.3170bb72.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[7700],{7883(e,n,s){s.r(n),s.d(n,{assets:()=>c,contentTitle:()=>l,default:()=>p,frontMatter:()=>t,metadata:()=>r,toc:()=>d});const r=JSON.parse('{"id":"articles/jquery-database","title":"RxDB as a Database in a jQuery Application","description":"Level up your jQuery-based projects with RxDB. Build real-time, resilient, and responsive apps powered by a reactive NoSQL database right in the browser.","source":"@site/docs/articles/jquery-database.md","sourceDirName":"articles","slug":"/articles/jquery-database.html","permalink":"/articles/jquery-database.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"RxDB as a Database in a jQuery Application","slug":"jquery-database.html","description":"Level up your jQuery-based projects with RxDB. Build real-time, resilient, and responsive apps powered by a reactive NoSQL database right in the browser."},"sidebar":"tutorialSidebar","previous":{"title":"IndexedDB Database in Vue Apps - The Power of RxDB","permalink":"/articles/vue-indexeddb.html"},"next":{"title":"RxDB - Firestore Alternative to Sync with Your Own Backend","permalink":"/articles/firestore-alternative.html"}}');var i=s(4848),a=s(8453),o=s(2271);const t={title:"RxDB as a Database in a jQuery Application",slug:"jquery-database.html",description:"Level up your jQuery-based projects with RxDB. Build real-time, resilient, and responsive apps powered by a reactive NoSQL database right in the browser."},l="RxDB as a Database in a jQuery Application",c={},d=[{value:"jQuery Web Applications",id:"jquery-web-applications",level:2},{value:"Importance of Databases in jQuery Applications",id:"importance-of-databases-in-jquery-applications",level:2},{value:"Introducing RxDB as a Database Solution",id:"introducing-rxdb-as-a-database-solution",level:2},{value:"Key Features",id:"key-features",level:3},{value:"Getting Started with RxDB",id:"getting-started-with-rxdb",level:2},{value:"What is RxDB?",id:"what-is-rxdb",level:3},{value:"Reactive Data Handling",id:"reactive-data-handling",level:3},{value:"Offline-First Approach",id:"offline-first-approach",level:3},{value:"Data Replication",id:"data-replication",level:3},{value:"Observable Queries",id:"observable-queries",level:3},{value:"Multi-Tab Support",id:"multi-tab-support",level:3},{value:"RxDB vs. Other jQuery Database Options",id:"rxdb-vs-other-jquery-database-options",level:3},{value:"Using RxDB in a jQuery Application",id:"using-rxdb-in-a-jquery-application",level:2},{value:"Installing RxDB",id:"installing-rxdb",level:3},{value:"Creating and Configuring a Database",id:"creating-and-configuring-a-database",level:2},{value:"Updating the DOM with jQuery",id:"updating-the-dom-with-jquery",level:2},{value:"Different RxStorage layers for RxDB",id:"different-rxstorage-layers-for-rxdb",level:2},{value:"Synchronizing Data with RxDB between Clients and Servers",id:"synchronizing-data-with-rxdb-between-clients-and-servers",level:2},{value:"Offline-First Approach",id:"offline-first-approach-1",level:3},{value:"Conflict Resolution",id:"conflict-resolution",level:3},{value:"Bidirectional Synchronization",id:"bidirectional-synchronization",level:3},{value:"Advanced RxDB Features and Techniques",id:"advanced-rxdb-features-and-techniques",level:2},{value:"Indexing and Performance Optimization",id:"indexing-and-performance-optimization",level:3},{value:"Encryption of Local Data",id:"encryption-of-local-data",level:3},{value:"Change Streams and Event Handling",id:"change-streams-and-event-handling",level:3},{value:"JSON Key Compression",id:"json-key-compression",level:3},{value:"Best Practices for Using RxDB in jQuery Applications",id:"best-practices-for-using-rxdb-in-jquery-applications",level:2},{value:"Follow Up",id:"follow-up",level:2}];function h(e){const n={a:"a",code:"code",figure:"figure",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...(0,a.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.header,{children:(0,i.jsx)(n.h1,{id:"rxdb-as-a-database-in-a-jquery-application",children:"RxDB as a Database in a jQuery Application"})}),"\n",(0,i.jsxs)(n.p,{children:["In the early days of dynamic web development, ",(0,i.jsx)(n.strong,{children:"jQuery"})," emerged as a popular library that simplified DOM manipulation and AJAX requests. Despite the rise of modern frameworks, many developers still maintain or extend existing jQuery projects, or leverage jQuery in specific contexts. As jQuery applications grow in complexity, they often require efficient data handling, offline support, and synchronization capabilities. This is where ",(0,i.jsx)(n.a,{href:"https://rxdb.info/",children:"RxDB"}),", a reactive JavaScript database for the browser, node.js, and ",(0,i.jsx)(n.a,{href:"/articles/mobile-database.html",children:"mobile devices"}),", steps in."]}),"\n",(0,i.jsx)("center",{children:(0,i.jsx)("a",{href:"https://rxdb.info/",children:(0,i.jsx)("img",{src:"../files/logo/rxdb_javascript_database.svg",alt:"JavaScript jQuery Database",width:"220"})})}),"\n",(0,i.jsx)(n.h2,{id:"jquery-web-applications",children:"jQuery Web Applications"}),"\n",(0,i.jsx)(n.p,{children:"jQuery provides a simple API for DOM manipulation, event handling, and AJAX calls. It has been widely adopted due to its ease of use and strong community support. Many projects continue to rely on jQuery for handling client-side functionality, UI interactions, and animations. As these applications evolve, the need for a robust database solution that can manage data locally (and offline) becomes increasingly important."}),"\n",(0,i.jsx)(n.h2,{id:"importance-of-databases-in-jquery-applications",children:"Importance of Databases in jQuery Applications"}),"\n",(0,i.jsx)(n.p,{children:"Modern, data-driven jQuery applications often need to:"}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Store and retrieve data locally"})," for quick and responsive user experiences."]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Synchronize data"})," between clients or with a ",(0,i.jsx)(n.a,{href:"/rx-server.html",children:"central server"}),"."]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Handle offline scenarios"})," seamlessly."]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Handle large or complex data structures"})," without repeatedly hitting the server."]}),"\n"]}),"\n",(0,i.jsxs)(n.p,{children:["Relying solely on server endpoints or basic browser storage (like ",(0,i.jsx)(n.code,{children:"localStorage"}),") can quickly become unwieldy for larger or more complex use cases. Enter RxDB, a dedicated solution that manages data on the client side while offering real-time synchronization and offline-first capabilities."]}),"\n",(0,i.jsx)(n.h2,{id:"introducing-rxdb-as-a-database-solution",children:"Introducing RxDB as a Database Solution"}),"\n",(0,i.jsxs)(n.p,{children:["RxDB (short for Reactive Database) is built on top of ",(0,i.jsx)(n.a,{href:"/articles/browser-database.html",children:"IndexedDB"})," and leverages ",(0,i.jsx)(n.a,{href:"https://rxjs.dev/",children:"RxJS"})," to provide a modern, reactive approach to handling data in the browser. With RxDB, you can store documents locally, query them in real-time, and synchronize changes with a remote server whenever an internet connection is available."]}),"\n",(0,i.jsx)(n.h3,{id:"key-features",children:"Key Features"}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Reactive Data Handling"}),": RxDB emits real-time updates whenever your data changes, allowing you to instantly reflect these changes in the DOM with jQuery."]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Offline-First Approach"}),": Keep your application usable even when the user's network is unavailable. Data is automatically synchronized once connectivity is restored."]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Data Replication"}),": Enable multi-device or multi-tab synchronization with minimal effort."]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Observable Queries"}),": Reduce code complexity by subscribing to queries instead of constantly polling for changes."]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Multi-Tab Support"}),": If a user opens your jQuery application in multiple tabs, RxDB keeps data in sync across all sessions."]}),"\n"]}),"\n",(0,i.jsx)("center",{children:(0,i.jsx)(o.N,{videoId:"qHWrooWyCYg",title:"This solved a problem I've had in Angular for years",duration:"3:45"})}),"\n",(0,i.jsx)(n.h2,{id:"getting-started-with-rxdb",children:"Getting Started with RxDB"}),"\n",(0,i.jsx)(n.h3,{id:"what-is-rxdb",children:"What is RxDB?"}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.a,{href:"https://rxdb.info/",children:"RxDB"})," is a client-side NoSQL database that stores data in the browser (or ",(0,i.jsx)(n.a,{href:"/nodejs-database.html",children:"node.js"}),") and synchronizes changes with other instances or servers. Its design embraces reactive programming principles, making it well-suited for real-time applications, offline scenarios, and multi-tab use cases."]}),"\n",(0,i.jsx)("p",{align:"center",children:(0,i.jsx)("img",{src:"../files/animations/realtime.gif",alt:"real-time ui updates",width:"700"})}),"\n",(0,i.jsx)(n.h3,{id:"reactive-data-handling",children:"Reactive Data Handling"}),"\n",(0,i.jsx)(n.p,{children:"RxDB's use of observables enables an event-driven architecture where data mutations automatically trigger UI updates. In a jQuery application, you can subscribe to these changes and update DOM elements as soon as data changes occur - no need for manual refresh or complicated change detection logic."}),"\n",(0,i.jsx)(n.h3,{id:"offline-first-approach",children:"Offline-First Approach"}),"\n",(0,i.jsx)(n.p,{children:"One of RxDB's distinguishing traits is its emphasis on offline-first design. This means your jQuery application continues to function, display, and update data even when there's no network connection. When connectivity is restored, RxDB synchronizes updates with the server or other peers, ensuring consistency across all instances."}),"\n",(0,i.jsx)(n.h3,{id:"data-replication",children:"Data Replication"}),"\n",(0,i.jsxs)(n.p,{children:["RxDB supports real-time data replication with different backends. By enabling replication, you ensure that multiple clients - be they multiple ",(0,i.jsx)(n.a,{href:"/articles/browser-database.html",children:"browser"})," tabs or separate devices - stay in sync. RxDB's conflict resolution strategies help keep the data consistent even when multiple users make changes simultaneously."]}),"\n",(0,i.jsx)(n.h3,{id:"observable-queries",children:"Observable Queries"}),"\n",(0,i.jsx)(n.p,{children:"Instead of static queries, RxDB provides observable queries. Whenever data relevant to a query changes, RxDB re-emits the new result set. You can subscribe to these updates within your jQuery code and instantly reflect them in the UI."}),"\n",(0,i.jsx)(n.h3,{id:"multi-tab-support",children:"Multi-Tab Support"}),"\n",(0,i.jsx)(n.p,{children:"Running your jQuery app in multiple tabs? RxDB automatically synchronizes changes between those tabs. Users can freely switch windows without missing real-time updates."}),"\n",(0,i.jsx)("p",{align:"center",children:(0,i.jsx)("img",{src:"../files/multiwindow.gif",alt:"multi tab support",width:"450"})}),"\n",(0,i.jsx)(n.h3,{id:"rxdb-vs-other-jquery-database-options",children:"RxDB vs. Other jQuery Database Options"}),"\n",(0,i.jsxs)(n.p,{children:["Historically, jQuery developers might use ",(0,i.jsx)(n.code,{children:"localStorage"})," or raw ",(0,i.jsx)(n.code,{children:"IndexedDB"})," for storing data. However, these solutions can require significant boilerplate, lack reactivity, and offer no built-in sync or conflict resolution. RxDB fills these gaps with an out-of-the-box solution, abstracting away low-level database complexities and providing an event-driven, offline-capable approach."]}),"\n",(0,i.jsx)(n.h2,{id:"using-rxdb-in-a-jquery-application",children:"Using RxDB in a jQuery Application"}),"\n",(0,i.jsx)(n.h3,{id:"installing-rxdb",children:"Installing RxDB"}),"\n",(0,i.jsxs)(n.p,{children:["Install RxDB (and ",(0,i.jsx)(n.code,{children:"rxjs"}),") via npm or yarn:"]}),"\n",(0,i.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"bash","data-theme":"css-variables",children:(0,i.jsx)(n.code,{"data-language":"bash","data-theme":"css-variables",style:{display:"grid"},children:(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:"npm"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string)"},children:" install"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string)"},children:" rxdb"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string)"},children:" rxjs"})]})})})}),"\n",(0,i.jsx)(n.p,{children:"If your project isn't set up with a build process, you can still use bundlers like Webpack or Rollup, or serve RxDB as a UMD bundle. Once included, you'll have access to RxDB globally or via import statements."}),"\n",(0,i.jsx)(n.h2,{id:"creating-and-configuring-a-database",children:"Creating and Configuring a Database"}),"\n",(0,i.jsxs)(n.p,{children:["Below is a minimal example of how to create an RxDB instance and collection. You can call this when your page initializes, then store the ",(0,i.jsx)(n.code,{children:"db"})," object for later use:"]}),"\n",(0,i.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"js","data-theme":"css-variables",children:(0,i.jsxs)(n.code,{"data-language":"js","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" { createRxDatabase } "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" { getRxStorageLocalstorage } "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/storage-localstorage'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"async"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" function"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" initDatabase"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"() {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'heroesdb'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageLocalstorage"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"()"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" password"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'myPassword'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // optional encryption password"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" multiInstance"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" true"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // multi-tab support"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" eventReduce"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" true"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // optimizes event handling"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" });"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".addCollections"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" hero"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" schema"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" title"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'hero schema'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" version"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 0"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" primaryKey"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'id'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'object'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" properties"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" id"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" { type"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" { type"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" points"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" { type"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'number'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" });"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" db;"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"}"})})]})})}),"\n",(0,i.jsx)(n.h2,{id:"updating-the-dom-with-jquery",children:"Updating the DOM with jQuery"}),"\n",(0,i.jsx)(n.p,{children:"Once you have your RxDB instance, you can query data reactively and use jQuery to manipulate the DOM:"}),"\n",(0,i.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"js","data-theme":"css-variables",children:(0,i.jsxs)(n.code,{"data-language":"js","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// Example: Displaying heroes using jQuery"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:"$"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(document)"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".ready"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"async"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" function"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" () {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" initDatabase"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // Subscribing to all hero documents"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:".hero"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" .find"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"()"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" .$ "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// the observable"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" .subscribe"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"((heroes) "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // Clear the list"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" $"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'#heroList'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:")"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".empty"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // Append each hero to the DOM"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" heroes"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".forEach"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"((hero) "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" $"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'#heroList'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:")"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".append"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:"`"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:"
"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" `"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" });"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" });"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // Example of adding a new hero"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" $"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'#addHeroBtn'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:")"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".on"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'click'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" async"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" () "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" heroName"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" $"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'#heroName'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:")"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".val"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" heroPoints"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" parseInt"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:"$"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'#heroPoints'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:")"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".val"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"()"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 10"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"hero"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".insert"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" id"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" Date"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".now"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"()"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".toString"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"()"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" heroName"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" points"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" heroPoints"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" });"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" });"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,i.jsxs)(n.p,{children:["With this approach, any time data in the ",(0,i.jsx)(n.code,{children:"hero"})," collection changes - like when a new hero is added - your jQuery code re-renders the list of heroes automatically."]}),"\n",(0,i.jsx)(n.h2,{id:"different-rxstorage-layers-for-rxdb",children:"Different RxStorage layers for RxDB"}),"\n",(0,i.jsx)(n.p,{children:"RxDB supports multiple storage backends (RxStorage layers). Some popular ones:"}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.a,{href:"/rx-storage-localstorage.html",children:"LocalStorage.js RxStorage"}),": Uses the browsers ",(0,i.jsx)(n.a,{href:"/articles/localstorage.html",children:"localstorage"}),". Fast and easy to set up."]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.a,{href:"/rx-storage-indexeddb.html",children:"IndexedDB RxStorage"}),": Direct IndexedDB usage, suitable for modern browsers."]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.a,{href:"/rx-storage-opfs.html",children:"OPFS RxStorage"}),": Uses the File System Access API for better performance in supported browsers."]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.a,{href:"/rx-storage-memory.html",children:"Memory RxStorage"}),": Stores data in memory, handy for tests or ephemeral data."]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.a,{href:"/rx-storage-sqlite.html",children:"SQLite RxStorage"}),": Uses SQLite (potentially via WebAssembly). In typical browser-based scenarios, localstorage or IndexedDB storage is usually more straightforward."]}),"\n"]}),"\n",(0,i.jsx)(n.h2,{id:"synchronizing-data-with-rxdb-between-clients-and-servers",children:"Synchronizing Data with RxDB between Clients and Servers"}),"\n",(0,i.jsx)(n.h3,{id:"offline-first-approach-1",children:"Offline-First Approach"}),"\n",(0,i.jsxs)(n.p,{children:["RxDB's ",(0,i.jsx)(n.a,{href:"/offline-first.html",children:"offline-first"})," approach allows your jQuery application to store and query data locally. Users can continue interacting, even offline. When connectivity returns, RxDB syncs to the server."]}),"\n",(0,i.jsx)(n.h3,{id:"conflict-resolution",children:"Conflict Resolution"}),"\n",(0,i.jsxs)(n.p,{children:["Should multiple clients update the same document, RxDB offers ",(0,i.jsx)(n.a,{href:"/transactions-conflicts-revisions.html",children:"conflict handling strategies"}),". You decide how to resolve conflicts - like keeping the latest edit or merging changes - ensuring data integrity across distributed systems."]}),"\n",(0,i.jsx)(n.h3,{id:"bidirectional-synchronization",children:"Bidirectional Synchronization"}),"\n",(0,i.jsx)(n.p,{children:"With RxDB, data changes flow both ways: from client to server and from server to client. This real-time synchronization ensures that all users or tabs see consistent, up-to-date data."}),"\n",(0,i.jsx)("p",{align:"center",children:(0,i.jsx)("img",{src:"../files/database-replication.png",alt:"database replication",width:"200"})}),"\n",(0,i.jsx)(n.h2,{id:"advanced-rxdb-features-and-techniques",children:"Advanced RxDB Features and Techniques"}),"\n",(0,i.jsx)(n.h3,{id:"indexing-and-performance-optimization",children:"Indexing and Performance Optimization"}),"\n",(0,i.jsx)(n.p,{children:"Create indexes on frequently queried fields to speed up performance. For large data sets, indexing can drastically improve query times, keeping your jQuery UI snappy."}),"\n",(0,i.jsx)(n.h3,{id:"encryption-of-local-data",children:"Encryption of Local Data"}),"\n",(0,i.jsxs)(n.p,{children:["RxDB supports ",(0,i.jsx)(n.a,{href:"/encryption.html",children:"encryption to secure data stored in the browser"}),". This is crucial if your application handles sensitive user information."]}),"\n",(0,i.jsx)(n.h3,{id:"change-streams-and-event-handling",children:"Change Streams and Event Handling"}),"\n",(0,i.jsxs)(n.p,{children:["Use change streams to listen for data modifications at the database or collection level. This can trigger ",(0,i.jsx)(n.a,{href:"/articles/realtime-database.html",children:"real-time"})," ",(0,i.jsx)(n.a,{href:"/articles/optimistic-ui.html",children:"UI updates"}),", notifications, or custom logic whenever the data changes."]}),"\n",(0,i.jsx)(n.h3,{id:"json-key-compression",children:"JSON Key Compression"}),"\n",(0,i.jsxs)(n.p,{children:["If your data model has large or repetitive field names, ",(0,i.jsx)(n.a,{href:"/key-compression.html",children:"JSON key compression"})," can minimize stored document size and potentially boost performance."]}),"\n",(0,i.jsx)(n.h2,{id:"best-practices-for-using-rxdb-in-jquery-applications",children:"Best Practices for Using RxDB in jQuery Applications"}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsx)(n.li,{children:"Centralize Your Database: Initialize and configure RxDB in one place. Expose the instance where needed or store it globally to avoid re-creating it on every script."}),"\n",(0,i.jsx)(n.li,{children:"Leverage Observables: Instead of polling or manually refreshing data, rely on RxDB's reactivity. Subscribe to queries and let RxDB inform you when data changes."}),"\n",(0,i.jsx)(n.li,{children:"Handle Subscriptions: If you create subscriptions in a single-page context, ensure you don't re-subscribe endlessly or create memory leaks. Clean them up if you're navigating away or removing DOM elements."}),"\n",(0,i.jsx)(n.li,{children:"Offline Testing: Thoroughly test how your jQuery app behaves without a network connection. Simulate offline states in your browser's dev tools or with flight mode to ensure the user experience remains smooth."}),"\n",(0,i.jsx)(n.li,{children:"Performance Profiling: For large data sets or frequent data updates, add indexes and carefully measure query performance. Optimize only where needed."}),"\n"]}),"\n",(0,i.jsx)(n.h2,{id:"follow-up",children:"Follow Up"}),"\n",(0,i.jsx)(n.p,{children:"To explore more about RxDB and leverage its capabilities for browser database development, check out the following resources:"}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.a,{href:"/code/",children:"RxDB GitHub Repository"}),": Visit the official GitHub repository of RxDB to access the source code, documentation, and community support."]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.a,{href:"/quickstart.html",children:"RxDB Quickstart"}),": Get started quickly with RxDB by following the provided quickstart guide, which offers step-by-step instructions for setting up and using RxDB in your projects."]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.a,{href:"https://github.com/pubkey/rxdb/tree/master/examples",children:"RxDB Examples"}),": Browse official examples to see RxDB in action and learn best practices you can apply to your own project - even if jQuery isn't explicitly featured, the patterns are similar."]}),"\n"]})]})}function p(e={}){const{wrapper:n}={...(0,a.R)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(h,{...e})}):h(e)}},8453(e,n,s){s.d(n,{R:()=>o,x:()=>t});var r=s(6540);const i={},a=r.createContext(i);function o(e){const n=r.useContext(a);return r.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function t(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:o(e.components),r.createElement(a.Provider,{value:n},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/84a3af36.7a11f993.js b/docs/assets/js/84a3af36.7a11f993.js
deleted file mode 100644
index a3c4501cf1d..00000000000
--- a/docs/assets/js/84a3af36.7a11f993.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[6861],{7916(e,s,a){a.r(s),a.d(s,{assets:()=>l,contentTitle:()=>o,default:()=>h,frontMatter:()=>t,metadata:()=>n,toc:()=>c});const n=JSON.parse('{"id":"articles/json-database","title":"RxDB - The JSON Database Built for JavaScript","description":"Experience a powerful JSON database with RxDB, built for JavaScript. Store, sync, and compress your data seamlessly across web and mobile apps.","source":"@site/docs/articles/json-database.md","sourceDirName":"articles","slug":"/articles/json-database.html","permalink":"/articles/json-database.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"RxDB - The JSON Database Built for JavaScript","slug":"json-database.html","description":"Experience a powerful JSON database with RxDB, built for JavaScript. Store, sync, and compress your data seamlessly across web and mobile apps."},"sidebar":"tutorialSidebar","previous":{"title":"RxDB - Local Ionic Storage with Encryption, Compression & Sync","permalink":"/articles/ionic-storage.html"},"next":{"title":"WebSockets vs Server-Sent-Events vs Long-Polling vs WebRTC vs WebTransport","permalink":"/articles/websockets-sse-polling-webrtc-webtransport.html"}}');var r=a(4848),i=a(8453);const t={title:"RxDB - The JSON Database Built for JavaScript",slug:"json-database.html",description:"Experience a powerful JSON database with RxDB, built for JavaScript. Store, sync, and compress your data seamlessly across web and mobile apps."},o="RxDB - JSON Database for JavaScript",l={},c=[{value:"Why Choose a JSON Database?",id:"why-choose-a-json-database",level:2},{value:"Storage and Access Options for JSON Documents",id:"storage-and-access-options-for-json-documents",level:2},{value:"Compression Storage for JSON Documents",id:"compression-storage-for-json-documents",level:2},{value:"Schema Validation and Data Migration on Schema Changes",id:"schema-validation-and-data-migration-on-schema-changes",level:2},{value:"Store JSON with RxDB in Browser Applications",id:"store-json-with-rxdb-in-browser-applications",level:2},{value:"RxDB JSON Database Performance",id:"rxdb-json-database-performance",level:2},{value:"RxDB in Node.js",id:"rxdb-in-nodejs",level:2},{value:"RxDB to store JSON documents in React Native",id:"rxdb-to-store-json-documents-in-react-native",level:2},{value:"Using SQLite as a JSON Database",id:"using-sqlite-as-a-json-database",level:2},{value:"Follow Up",id:"follow-up",level:2}];function d(e){const s={a:"a",code:"code",figure:"figure",h1:"h1",h2:"h2",header:"header",li:"li",ol:"ol",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...(0,i.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s.header,{children:(0,r.jsx)(s.h1,{id:"rxdb---json-database-for-javascript",children:"RxDB - JSON Database for JavaScript"})}),"\n",(0,r.jsxs)(s.p,{children:["Storing data as ",(0,r.jsx)(s.strong,{children:"JSON documents"})," in a ",(0,r.jsx)(s.strong,{children:"NoSQL"})," database is not just a trend; it's a practical choice. JSON data is highly compatible with various tools and is human-readable, making it an excellent fit for modern applications. JSON documents offer more flexibility compared to traditional SQL table rows, as they can contain nested data structures. This article introduces ",(0,r.jsx)(s.a,{href:"https://rxdb.info/",children:"RxDB"}),", an open-source, flexible, performant, and battle-tested NoSQL JSON database specifically designed for ",(0,r.jsx)(s.strong,{children:"JavaScript"})," applications."]}),"\n",(0,r.jsx)("center",{children:(0,r.jsx)("a",{href:"https://rxdb.info/",children:(0,r.jsx)("img",{src:"../files/logo/rxdb_javascript_database.svg",alt:"JSON Database",width:"220"})})}),"\n",(0,r.jsx)(s.h2,{id:"why-choose-a-json-database",children:"Why Choose a JSON Database?"}),"\n",(0,r.jsxs)(s.ul,{children:["\n",(0,r.jsxs)(s.li,{children:["\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.strong,{children:"JavaScript Friendliness"}),": JavaScript, a prevalent language for web development, naturally uses JSON for data representation. Using a JSON database aligns seamlessly with JavaScript's native data format."]}),"\n"]}),"\n",(0,r.jsxs)(s.li,{children:["\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.strong,{children:"Compatibility"}),": JSON is widely supported across different programming languages and platforms. Storing data in JSON format ensures compatibility with a broad range of tools and systems. All modern programming ecosystems have packages to parse, validate and process JSON data."]}),"\n"]}),"\n",(0,r.jsxs)(s.li,{children:["\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.strong,{children:"Flexibility"}),": JSON documents can accommodate complex and nested data structures, allowing developers to store data in a more intuitive and hierarchical manner compared to SQL table rows. Nested data can be just stored in-document instead of having related tables."]}),"\n"]}),"\n",(0,r.jsxs)(s.li,{children:["\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.strong,{children:"Human-Readable"}),": JSON is easy to read and understand, simplifying debugging and data inspection tasks."]}),"\n"]}),"\n"]}),"\n",(0,r.jsx)(s.h2,{id:"storage-and-access-options-for-json-documents",children:"Storage and Access Options for JSON Documents"}),"\n",(0,r.jsx)(s.p,{children:"When incorporating JSON documents into your application, you have several storage and access options to consider:"}),"\n",(0,r.jsxs)(s.ul,{children:["\n",(0,r.jsxs)(s.li,{children:["\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.strong,{children:"Local In-App Database with In-Memory Storage"}),": Ideal for lightweight applications or temporary data storage, this option keeps data in memory, ensuring fast read and write operations. However, data is not persistet beyond the current application session, making it suitable for temporary data storage. With RxDB, the ",(0,r.jsx)(s.a,{href:"/rx-storage-memory.html",children:"memory RxStorage"})," can be utilized to create an in-memory database."]}),"\n"]}),"\n",(0,r.jsxs)(s.li,{children:["\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.strong,{children:"Local In-App Database with Persistent Storage"}),": Suitable for applications requiring data retention across sessions. Data is stored on the user's device or inside of the Node.js application, offering persistence between application sessions. It balances speed and data retention, making it versatile for various applications. With RxDB, a whole range of persistent storages is available. As example, for browser there is the ",(0,r.jsx)(s.a,{href:"/rx-storage-indexeddb.html",children:"IndexedDB storage"}),". For server side applications, the ",(0,r.jsx)(s.a,{href:"/rx-storage-filesystem-node.html",children:"Node.js Filesystem storage"})," can be used. There are ",(0,r.jsx)(s.a,{href:"/rx-storage.html",children:"many more storages"})," for React-Native, Flutter, Capacitors.js and others."]}),"\n"]}),"\n",(0,r.jsxs)(s.li,{children:["\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.strong,{children:"Server Database Connected to the Application"}),": For applications requiring data synchronization and accessibility from multiple processes, a server-based database is the preferred choice. Data is stored on a ",(0,r.jsx)(s.strong,{children:"remote server"}),", facilitating data sharing, synchronization, and accessibility across multiple processes. It's suitable for scenarios requiring centralized data management and enhanced security and backup capabilities on the server. RxDB supports the ",(0,r.jsx)(s.a,{href:"/rx-storage-foundationdb.html",children:"FoundationDB"})," and ",(0,r.jsx)(s.a,{href:"/rx-storage-mongodb.html",children:"MongoDB"})," as a remote database server."]}),"\n"]}),"\n"]}),"\n",(0,r.jsx)(s.h2,{id:"compression-storage-for-json-documents",children:"Compression Storage for JSON Documents"}),"\n",(0,r.jsxs)(s.p,{children:["Compression storage for JSON documents is made effortless with RxDB's ",(0,r.jsx)(s.a,{href:"/key-compression.html",children:"key-compression plugin"}),". This feature enables the efficient storage of compressed document data, reducing storage requirements while maintaining data integrity. Queries on compressed documents remain seamless, ensuring that your application benefits from both space-saving advantages and optimal query performance, making RxDB a compelling choice for managing JSON data efficiently. The compression happens inside of the ",(0,r.jsx)(s.a,{href:"/rx-database.html",children:"RxDatabase"})," and does not affect the API usage. The only limitation is that encrypted fields themself cannot be used inside a query."]}),"\n",(0,r.jsx)(s.h2,{id:"schema-validation-and-data-migration-on-schema-changes",children:"Schema Validation and Data Migration on Schema Changes"}),"\n",(0,r.jsxs)(s.p,{children:["Storing JSON documents inside of a database in an application, can cause a problem when the format of the data changes. Instead of having a single server where the data must be migrated, many client devices are out there that have to run a migration.\nWhen your application's schema evolves, RxDB provides ",(0,r.jsx)(s.a,{href:"/migration-schema.html",children:"migration strategies"})," to facilitate the transition, ensuring data consistency throughout schema updates."]}),"\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.strong,{children:"JSONSchema Validation Plugins"}),": RxDB supports multiple ",(0,r.jsx)(s.a,{href:"/schema-validation.html",children:"JSONSchema validation plugins"}),", guaranteeing that only valid data is stored in the database. RxDB uses the JsonSchema standardization that you might know from other technologies like OpenAPI (aka Swagger)."]}),"\n",(0,r.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,r.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"javascript","data-theme":"css-variables",children:(0,r.jsxs)(s.code,{"data-language":"javascript","data-theme":"css-variables",style:{display:"grid"},children:[(0,r.jsx)(s.span,{"data-line":"",children:(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// RxDB Schema example"})}),"\n",(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" mySchema"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" version"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 0"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" primaryKey"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'id'"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // <- define the primary key for your documents"})]}),"\n",(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'object'"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" properties"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" id"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" maxLength"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 100"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // <- the primary key must have set maxLength"})]}),"\n",(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" maxLength"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 100"})]}),"\n",(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" done"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'boolean'"})]}),"\n",(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" timestamp"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" format"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'date-time'"})]}),"\n",(0,r.jsx)(s.span,{"data-line":"",children:(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,r.jsxs)(s.span,{"data-line":"",children:[(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" required"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ["}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'id'"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'name'"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'done'"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'timestamp'"}),(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"]"})]}),"\n",(0,r.jsx)(s.span,{"data-line":"",children:(0,r.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"}"})})]})})}),"\n",(0,r.jsx)(s.h2,{id:"store-json-with-rxdb-in-browser-applications",children:"Store JSON with RxDB in Browser Applications"}),"\n",(0,r.jsx)(s.p,{children:"RxDB offers versatile storage solutions for browser-based applications:"}),"\n",(0,r.jsxs)(s.ul,{children:["\n",(0,r.jsxs)(s.li,{children:["\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.strong,{children:"Multiple Storage Plugins"}),": RxDB supports various storage backends, including ",(0,r.jsx)(s.a,{href:"/rx-storage-indexeddb.html",children:"IndexedDB"}),", ",(0,r.jsx)(s.a,{href:"/rx-storage-localstorage.html",children:"localstorage"})," and ",(0,r.jsx)(s.a,{href:"/rx-storage-memory.html",children:"In-Memory"}),", catering to a range of browser environments."]}),"\n"]}),"\n",(0,r.jsxs)(s.li,{children:["\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.strong,{children:"Observable Queries"}),": With RxDB, you can create observable ",(0,r.jsx)(s.a,{href:"/rx-query.html",children:"queries"})," that work seamlessly across multiple browser tabs, providing real-time updates and synchronization."]}),"\n"]}),"\n"]}),"\n",(0,r.jsx)("p",{align:"center",children:(0,r.jsx)("img",{src:"../files/multiwindow.gif",alt:"multi tab support",width:"450"})}),"\n",(0,r.jsx)(s.h2,{id:"rxdb-json-database-performance",children:"RxDB JSON Database Performance"}),"\n",(0,r.jsx)(s.p,{children:"Certainly! Let's delve deeper into the performance aspects of RxDB when it comes to working with JSON data."}),"\n",(0,r.jsxs)(s.ol,{children:["\n",(0,r.jsxs)(s.li,{children:["\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.strong,{children:"Efficient Querying:"})," RxDB is engineered for rapid and efficient querying of JSON data. It employs a well-optimized indexing system that allows for lightning-fast retrieval of specific data points within your JSON documents. Whether you're fetching individual values or complex nested structures, RxDB's query performance is designed to keep your application responsive, even when dealing with large datasets."]}),"\n"]}),"\n",(0,r.jsxs)(s.li,{children:["\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.strong,{children:"Scalability:"})," As your application grows and your ",(0,r.jsx)(s.a,{href:"/articles/json-based-database.html",children:"JSON dataset"})," expands, RxDB scales gracefully. Its performance remains consistent, enabling you to handle increasingly larger volumes of data without compromising on speed or responsiveness. This scalability is essential for applications that need to accommodate growing user bases and evolving data needs."]}),"\n"]}),"\n",(0,r.jsxs)(s.li,{children:["\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.strong,{children:"Reduced Latency:"})," RxDB's streamlined data access mechanisms significantly reduce latency when working with JSON data. Whether you're reading from the database, making updates, or synchronizing data between clients and servers, RxDB's optimized operations help minimize the delays often associated with data access. Observed queries are optimized with the ",(0,r.jsx)(s.a,{href:"https://github.com/pubkey/event-reduce",children:"EventReduce algorithm"})," to provide nearly-instand UI updates on data changes."]}),"\n"]}),"\n",(0,r.jsxs)(s.li,{children:["\n",(0,r.jsxs)(s.p,{children:[(0,r.jsx)(s.strong,{children:"RxStorage Layer"}),": Because RxDB allows you to swap out the storage layer. A storage with the most optimal performance can be chosen for each runtime while not touching other database code. Depending on the access patterns, you can pick exactly the storage that is best:"]}),"\n"]}),"\n"]}),"\n",(0,r.jsx)("p",{align:"center",children:(0,r.jsx)("img",{src:"../files/rx-storage-performance-browser.png",alt:"RxStorage performance - browser",width:"700"})}),"\n",(0,r.jsx)(s.h2,{id:"rxdb-in-nodejs",children:"RxDB in Node.js"}),"\n",(0,r.jsxs)(s.p,{children:["Node.js developers can also benefit from RxDB's capabilities. By integrating RxDB into your Node.js applications, you can harness the power of a NoSQL JSON db to efficiently manage your data on the server-side. RxDB's flexibility, performance, and essential features are equally valuable in server-side development. ",(0,r.jsx)(s.a,{href:"/nodejs-database.html",children:"Read more about RxDB+Node.js"}),"."]}),"\n",(0,r.jsx)(s.h2,{id:"rxdb-to-store-json-documents-in-react-native",children:"RxDB to store JSON documents in React Native"}),"\n",(0,r.jsxs)(s.p,{children:["For mobile app developers working with React Native, RxDB offers a convenient solution for handling JSON data. Whether you're building Android or iOS applications, RxDB's compatibility with JavaScript and its ability to work with JSON documents make it a natural choice for data management within your React Native apps. ",(0,r.jsx)(s.a,{href:"/react-native-database.html",children:"Read more about RxDB+React-Native"}),"."]}),"\n",(0,r.jsx)(s.h2,{id:"using-sqlite-as-a-json-database",children:"Using SQLite as a JSON Database"}),"\n",(0,r.jsxs)(s.p,{children:["In some cases, you might want to use SQLite as a backend storage solution for your JSON data. RxDB can be configured ",(0,r.jsx)(s.a,{href:"/rx-storage-sqlite.html",children:"to work with SQLite"}),", providing the benefits of both a relational database system and JSON document storage. This hybrid approach can be advantageous when dealing with complex data relationships while retaining the flexibility of JSON data representation."]}),"\n",(0,r.jsx)(s.h2,{id:"follow-up",children:"Follow Up"}),"\n",(0,r.jsx)(s.p,{children:"To further explore RxDB and get started with using it in your frontend applications, consider the following resources:"}),"\n",(0,r.jsxs)(s.ul,{children:["\n",(0,r.jsxs)(s.li,{children:[(0,r.jsx)(s.a,{href:"/quickstart.html",children:"RxDB Quickstart"}),": A step-by-step guide to quickly set up RxDB in your project and start leveraging its features."]}),"\n",(0,r.jsxs)(s.li,{children:[(0,r.jsx)(s.a,{href:"https://github.com/pubkey/rxdb",children:"RxDB GitHub Repository"}),": The official repository for RxDB, where you can find the code, examples, and community support."]}),"\n"]}),"\n",(0,r.jsxs)(s.p,{children:["By embracing ",(0,r.jsx)(s.a,{href:"https://rxdb.info/",children:"RxDB"})," as your ",(0,r.jsx)(s.strong,{children:"JSON database"})," solution, you can tap into the extensive capabilities of JSON data storage. This empowers your applications with offline accessibility, caching, enhanced performance, and effortless data synchronization. RxDB's focus on JavaScript and its robust feature set render it the perfect selection for frontend developers in pursuit of efficient and scalable data storage solutions."]})]})}function h(e={}){const{wrapper:s}={...(0,i.R)(),...e.components};return s?(0,r.jsx)(s,{...e,children:(0,r.jsx)(d,{...e})}):d(e)}},8453(e,s,a){a.d(s,{R:()=>t,x:()=>o});var n=a(6540);const r={},i=n.createContext(r);function t(e){const s=n.useContext(i);return n.useMemo(function(){return"function"==typeof e?e(s):{...s,...e}},[s,e])}function o(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:t(e.components),n.createElement(i.Provider,{value:s},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/84ae55a4.1bdc94ff.js b/docs/assets/js/84ae55a4.1bdc94ff.js
deleted file mode 100644
index f843e1fba3b..00000000000
--- a/docs/assets/js/84ae55a4.1bdc94ff.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[588],{3247(e,n,s){s.d(n,{g:()=>r});var i=s(4848);function r(e){const n=[];let s=null;return e.children.forEach(e=>{e.props.id?(s&&n.push(s),s={headline:e,paragraphs:[]}):s&&s.paragraphs.push(e)}),s&&n.push(s),(0,i.jsx)("div",{style:t.stepsContainer,children:n.map((e,n)=>(0,i.jsxs)("div",{style:t.stepWrapper,children:[(0,i.jsxs)("div",{style:t.stepIndicator,children:[(0,i.jsx)("div",{style:t.stepNumber,children:n+1}),(0,i.jsx)("div",{style:t.verticalLine})]}),(0,i.jsxs)("div",{style:t.stepContent,children:[(0,i.jsx)("div",{children:e.headline}),e.paragraphs.map((e,n)=>(0,i.jsx)("div",{style:t.item,children:e},n))]})]},n))})}const t={stepsContainer:{display:"flex",flexDirection:"column"},stepWrapper:{display:"flex",alignItems:"stretch",marginBottom:"1.5rem",position:"relative",minWidth:0},stepIndicator:{position:"relative",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"flex-start",width:"33px",marginRight:"1rem",minWidth:0},stepNumber:{width:"33px",height:"33px",borderRadius:"50%",backgroundColor:"var(--color-top)",color:"#fff",display:"flex",alignItems:"center",justifyContent:"center",fontWeight:"bold",marginTop:-4},verticalLine:{position:"absolute",top:29,bottom:"0",left:"50%",width:"1px",background:"linear-gradient(to bottom, var(--color-top) 0%, var(--color-top) 80%, rgba(0,0,0,0) 100%)",transform:"translateX(-50%)"},stepContent:{flex:1,minWidth:0,overflowWrap:"break-word"},item:{marginTop:"0.5rem"}}},7465(e,n,s){s.r(n),s.d(n,{assets:()=>c,contentTitle:()=>o,default:()=>p,frontMatter:()=>l,metadata:()=>i,toc:()=>d});const i=JSON.parse('{"id":"replication-nats","title":"RxDB & NATS - Realtime Sync","description":"Seamlessly sync your RxDB data with NATS for real-time, two-way replication. Handle conflicts, errors, and retries with ease.","source":"@site/docs/replication-nats.md","sourceDirName":".","slug":"/replication-nats.html","permalink":"/replication-nats.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"RxDB & NATS - Realtime Sync","slug":"replication-nats.html","description":"Seamlessly sync your RxDB data with NATS for real-time, two-way replication. Handle conflicts, errors, and retries with ease."},"sidebar":"tutorialSidebar","previous":{"title":"Supabase Replication","permalink":"/replication-supabase.html"},"next":{"title":"Appwrite Replication","permalink":"/replication-appwrite.html"}}');var r=s(4848),t=s(8453),a=s(3247);const l={title:"RxDB & NATS - Realtime Sync",slug:"replication-nats.html",description:"Seamlessly sync your RxDB data with NATS for real-time, two-way replication. Handle conflicts, errors, and retries with ease."},o="Replication with NATS",c={},d=[{value:"Precondition",id:"precondition",level:2},{value:"Usage",id:"usage",level:2},{value:"Install the nats package",id:"install-the-nats-package",level:3},{value:"Start the Replication",id:"start-the-replication",level:3},{value:"Handling deletes",id:"handling-deletes",level:2}];function h(e){const n={a:"a",code:"code",em:"em",figure:"figure",h1:"h1",h2:"h2",h3:"h3",header:"header",p:"p",pre:"pre",span:"span",...(0,t.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.header,{children:(0,r.jsx)(n.h1,{id:"replication-with-nats",children:"Replication with NATS"})}),"\n",(0,r.jsxs)(n.p,{children:["With this RxDB plugin you can run a two-way realtime replication with a ",(0,r.jsx)(n.a,{href:"https://nats.io/",children:"NATS"})," server."]}),"\n",(0,r.jsxs)(n.p,{children:["The replication itself uses the ",(0,r.jsx)(n.a,{href:"/replication.html",children:"RxDB Sync Engine"})," which handles conflicts, errors and retries.\nOn the client side the official ",(0,r.jsx)(n.a,{href:"https://www.npmjs.com/package/nats",children:"NATS npm package"})," is used to connect to the NATS server."]}),"\n",(0,r.jsx)(n.p,{children:"NATS is a messaging system that by itself does not have a validation or granulary access control build in.\nTherefore it is not recommended to directly replicate the NATS server with an untrusted RxDB client application. Instead you should replicated from NATS to your Node.js server side RxDB database."}),"\n",(0,r.jsx)(n.h2,{id:"precondition",children:"Precondition"}),"\n",(0,r.jsxs)(n.p,{children:["For the replication endpoint the NATS cluster must have enabled ",(0,r.jsx)(n.a,{href:"https://docs.nats.io/nats-concepts/jetstream",children:"JetStream"})," and store all message data as ",(0,r.jsx)(n.a,{href:"https://docs.nats.io/using-nats/developer/sending/structure",children:"structured JSON"}),"."]}),"\n",(0,r.jsx)(n.p,{children:"The easiest way to start a compatible NATS server is to use the official docker image:"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.code,{children:"docker run --rm --name rxdb-nats -p 4222:4222 nats:2.9.17 -js"})}),"\n",(0,r.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,r.jsxs)(a.g,{children:[(0,r.jsx)(n.h3,{id:"install-the-nats-package",children:"Install the nats package"}),(0,r.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,r.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"bash","data-theme":"css-variables",children:(0,r.jsx)(n.code,{"data-language":"bash","data-theme":"css-variables",style:{display:"grid"},children:(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:"npm"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-string)"},children:" install"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-string)"},children:" nats"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-string)"},children:" --save"})]})})})}),(0,r.jsx)(n.h3,{id:"start-the-replication",children:"Start the Replication"}),(0,r.jsxs)(n.p,{children:["To start the replication, import the ",(0,r.jsx)(n.code,{children:"replicateNats()"})," method from the RxDB plugin and call it with the collection\nthat must be replicated.\nThe replication runs ",(0,r.jsx)(n.em,{children:"per RxCollection"}),", you can replicate multiple RxCollections by starting a new replication for each of them."]}),(0,r.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,r.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"typescript","data-theme":"css-variables",children:(0,r.jsxs)(n.code,{"data-language":"typescript","data-theme":"css-variables",style:{display:"grid"},children:[(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" replicateNats"})}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/replication-nats'"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" replicationState"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" replicateNats"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" collection"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" myRxCollection"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" replicationIdentifier"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'my-nats-replication-collection-A'"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // in NATS, each stream need a name"})}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" streamName"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'stream-for-replication-A'"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * The subject prefix determines how the documents are stored in NATS."})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * For example the document with id 'alice'"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * will have the subject 'foobar.alice'"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" subjectPrefix"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'foobar'"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" connection"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" { servers"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'localhost:4222'"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" live"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" true"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" pull"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" batchSize"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 30"})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" push"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,r.jsxs)(n.span,{"data-line":"",children:[(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" batchSize"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,r.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 30"})]}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,r.jsx)(n.span,{"data-line":"",children:(0,r.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})})]}),"\n",(0,r.jsx)(n.h2,{id:"handling-deletes",children:"Handling deletes"}),"\n",(0,r.jsxs)(n.p,{children:["RxDB requires you to never ",(0,r.jsx)(n.a,{href:"/replication.html#data-layout-on-the-server",children:"fully delete documents"}),". This is needed to be able to replicate the deletion state of a document to other instances. The NATS replication will set a boolean ",(0,r.jsx)(n.code,{children:"_deleted"})," field to all documents to indicate the deletion state. You can change this by setting a different ",(0,r.jsx)(n.code,{children:"deletedField"})," in the sync options."]})]})}function p(e={}){const{wrapper:n}={...(0,t.R)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(h,{...e})}):h(e)}},8453(e,n,s){s.d(n,{R:()=>a,x:()=>l});var i=s(6540);const r={},t=i.createContext(r);function a(e){const n=i.useContext(t);return i.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function l(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:a(e.components),i.createElement(t.Provider,{value:n},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/85caacef.9966ef6e.js b/docs/assets/js/85caacef.9966ef6e.js
deleted file mode 100644
index 2cc3798eb49..00000000000
--- a/docs/assets/js/85caacef.9966ef6e.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[3015],{8496(e,a,s){s.r(a),s.d(a,{default:()=>l});var t=s(544),i=s(4848);function l(){return(0,t.default)({sem:{id:"gads",metaTitle:"The local Database for Expo",appName:"Expo",title:(0,i.jsxs)(i.Fragment,{children:["The easiest way to ",(0,i.jsx)("b",{children:"store"})," and ",(0,i.jsx)("b",{children:"sync"})," Data in Expo"]}),iconUrl:"/files/icons/expo_white.svg"}})}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/86b4e356.9be07523.js b/docs/assets/js/86b4e356.9be07523.js
deleted file mode 100644
index c656c352235..00000000000
--- a/docs/assets/js/86b4e356.9be07523.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[2786],{2344(s,n,e){e.r(n),e.d(n,{assets:()=>t,contentTitle:()=>l,default:()=>h,frontMatter:()=>a,metadata:()=>r,toc:()=>c});const r=JSON.parse('{"id":"orm","title":"ORM","description":"Like mongoose, RxDB has ORM-capabilities which can be used to add specific behavior to documents and collections.","source":"@site/docs/orm.md","sourceDirName":".","slug":"/orm.html","permalink":"/orm.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"ORM","slug":"orm.html"},"sidebar":"tutorialSidebar","previous":{"title":"Population","permalink":"/population.html"},"next":{"title":"Fulltext Search \ud83d\udc51","permalink":"/fulltext-search.html"}}');var o=e(4848),i=e(8453);const a={title:"ORM",slug:"orm.html"},l="Object-Data-Relational-Mapping",t={},c=[{value:"statics",id:"statics",level:2},{value:"Add statics to a collection",id:"add-statics-to-a-collection",level:3},{value:"instance-methods",id:"instance-methods",level:2},{value:"Add instance-methods to a collection",id:"add-instance-methods-to-a-collection",level:3},{value:"attachment-methods",id:"attachment-methods",level:2}];function d(s){const n={a:"a",code:"code",figure:"figure",h1:"h1",h2:"h2",h3:"h3",header:"header",p:"p",pre:"pre",span:"span",...(0,i.R)(),...s.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(n.header,{children:(0,o.jsx)(n.h1,{id:"object-data-relational-mapping",children:"Object-Data-Relational-Mapping"})}),"\n",(0,o.jsxs)(n.p,{children:["Like ",(0,o.jsx)(n.a,{href:"http://mongoosejs.com/docs/guide.html#methods",children:"mongoose"}),", RxDB has ORM-capabilities which can be used to add specific behavior to documents and collections."]}),"\n",(0,o.jsx)(n.h2,{id:"statics",children:"statics"}),"\n",(0,o.jsx)(n.p,{children:"Statics are defined collection-wide and can be called on the collection."}),"\n",(0,o.jsx)(n.h3,{id:"add-statics-to-a-collection",children:"Add statics to a collection"}),"\n",(0,o.jsxs)(n.p,{children:["To add static functions, pass a ",(0,o.jsx)(n.code,{children:"statics"}),"-object when you create your collection. The object contains functions, mapped to their function-names."]}),"\n",(0,o.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"javascript","data-theme":"css-variables",children:(0,o.jsxs)(n.code,{"data-language":"javascript","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" heroes"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" myDatabase"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".addCollections"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" heroes"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" schema"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" mySchema"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" statics"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" scream"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" function"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(){"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'AAAH!!'"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"console"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".log"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"heroes"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".scream"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"());"})]}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// 'AAAH!!'"})})]})})}),"\n",(0,o.jsx)(n.p,{children:"You can also use the this-keyword which resolves to the collection:"}),"\n",(0,o.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"javascript","data-theme":"css-variables",children:(0,o.jsxs)(n.code,{"data-language":"javascript","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" heroes"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" myDatabase"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".addCollections"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" heroes"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" schema"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" mySchema"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" statics"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" whoAmI"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" function"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(){"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" this"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:".name;"})]}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"console"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".log"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"heroes"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".whoAmI"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"());"})]}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// 'heroes'"})})]})})}),"\n",(0,o.jsx)(n.h2,{id:"instance-methods",children:"instance-methods"}),"\n",(0,o.jsx)(n.p,{children:"Instance-methods are defined collection-wide. They can be called on the RxDocuments of the collection."}),"\n",(0,o.jsx)(n.h3,{id:"add-instance-methods-to-a-collection",children:"Add instance-methods to a collection"}),"\n",(0,o.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"javascript","data-theme":"css-variables",children:(0,o.jsxs)(n.code,{"data-language":"javascript","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" heroes"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" myDatabase"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".addCollections"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" heroes"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" schema"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" mySchema"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" methods"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" scream"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" function"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(){"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'AAAH!!'"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" doc"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" heroes"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".findOne"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"()"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".exec"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"console"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".log"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"doc"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".scream"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"());"})]}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// 'AAAH!!'"})})]})})}),"\n",(0,o.jsx)(n.p,{children:"Here you can also use the this-keyword:"}),"\n",(0,o.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"javascript","data-theme":"css-variables",children:(0,o.jsxs)(n.code,{"data-language":"javascript","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" heroes"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" myDatabase"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".addCollections"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" heroes"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" schema"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" mySchema"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" methods"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" whoAmI"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" function"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(){"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'I am '"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" +"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" this"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:".name "}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"+"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" '!!'"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" heroes"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".insert"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'Skeletor'"})]}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" doc"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" heroes"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".findOne"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"()"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".exec"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"console"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".log"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"doc"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".whoAmI"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"());"})]}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// 'I am Skeletor!!'"})})]})})}),"\n",(0,o.jsx)(n.h2,{id:"attachment-methods",children:"attachment-methods"}),"\n",(0,o.jsx)(n.p,{children:"Attachment-methods are defined collection-wide. They can be called on the RxAttachments of the RxDocuments of the collection."}),"\n",(0,o.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"javascript","data-theme":"css-variables",children:(0,o.jsxs)(n.code,{"data-language":"javascript","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" heroes"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" myDatabase"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".addCollections"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" heroes"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" schema"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" mySchema"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" attachments"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" scream"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" function"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(){"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'AAAH!!'"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" doc"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" heroes"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".findOne"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"()"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".exec"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" attachment"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" doc"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".putAttachment"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" id"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'cat.txt'"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" data"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'meow I am a kitty'"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'text/plain'"})]}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"console"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".log"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"attachment"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".scream"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"());"})]}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// 'AAAH!!'"})})]})})})]})}function h(s={}){const{wrapper:n}={...(0,i.R)(),...s.components};return n?(0,o.jsx)(n,{...s,children:(0,o.jsx)(d,{...s})}):d(s)}},8453(s,n,e){e.d(n,{R:()=>a,x:()=>l});var r=e(6540);const o={},i=r.createContext(o);function a(s){const n=r.useContext(i);return r.useMemo(function(){return"function"==typeof s?s(n):{...n,...s}},[n,s])}function l(s){let n;return n=s.disableParentContext?"function"==typeof s.components?s.components(o):s.components||o:a(s.components),r.createElement(i.Provider,{value:n},s.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/8a22f3a9.87a88033.js b/docs/assets/js/8a22f3a9.87a88033.js
deleted file mode 100644
index b170d949723..00000000000
--- a/docs/assets/js/8a22f3a9.87a88033.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[9257],{2159(e,t,a){a.r(t),a.d(t,{assets:()=>u,contentTitle:()=>h,default:()=>b,frontMatter:()=>d,metadata:()=>n,toc:()=>m});const n=JSON.parse('{"id":"errors","title":"Error Messages","description":"Learn how RxDB throws RxErrors with codes and parameters. Keep builds lean, yet unveil full messages in development via the DevMode plugin.","source":"@site/docs/errors.md","sourceDirName":".","slug":"/errors.html","permalink":"/errors.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"Error Messages","slug":"errors.html","description":"Learn how RxDB throws RxErrors with codes and parameters. Keep builds lean, yet unveil full messages in development via the DevMode plugin."},"sidebar":"tutorialSidebar","previous":{"title":"Creating Plugins","permalink":"/plugins.html"},"next":{"title":"Schema Migration","permalink":"/migration-schema.html"}}');var o=a(4848),s=a(8453);const i={UT1:"given name is no string or empty",UT2:"collection- and database-names must match the regex to be compatible with couchdb databases.\n See https://neighbourhood.ie/blog/2020/10/13/everything-you-need-to-know-about-couchdb-database-names/\n info: if your database-name specifies a folder, the name must contain the slash-char '/' or '\\'",UT3:"replication-direction must either be push or pull or both. But not none",UT4:"given leveldown is no valid adapter",UT5:"keyCompression is set to true in the schema but no key-compression handler is used in the storage",UT6:"schema contains encrypted fields but no encryption handler is used in the storage",UT7:"attachments.compression is enabled but no attachment-compression plugin is used",UT8:"crypto.subtle.digest is not available in your runtime. For expo/react-native see https://discord.com/channels/969553741705539624/1341392686267109458/1343639513850843217 ",PL1:"Given plugin is not RxDB plugin.",PL3:"A plugin with the same name was already added but it was not the exact same JavaScript object",P2:"bulkWrite() cannot be called with an empty array",QU1:"RxQuery._execOverDatabase(): op not known",QU4:"RxQuery.regex(): You cannot use .regex() on the primary field",QU5:"RxQuery.sort(): does not work because key is not defined in the schema",QU6:"RxQuery.limit(): cannot be called on .findOne()",QU9:"throwIfMissing can only be used in findOne queries",QU10:"result empty and throwIfMissing: true",QU11:"RxQuery: no valid query params given",QU12:"Given index is not in schema",QU13:"A top level field of the query is not included in the schema",QU14:"Running a count() query in slow mode is now allowed. Either run a count() query with a selector that fully matches an index or set allowSlowCount=true when calling the createRxDatabase",QU15:"For count queries it is not allowed to use skip or limit",QU16:"$regex queries must be defined by a string, not an RegExp instance. This is because RegExp objects cannot be JSON stringified and also they are mutable which would be dangerous",QU17:"Chained queries cannot be used on findByIds() RxQuery instances",QU18:"Malformed query result data. This likely happens because you create a OPFS-storage RxDatabase inside of a worker but did not set the usesRxDatabaseInWorker setting. https://rxdb.info/rx-storage-opfs.html?console=opfs#setting-usesrxdatabaseinworker-when-a-rxdatabase-is-also-used-inside-of-the-worker ",QU19:"Queries must not contain fields or properties with the value `undefined`: https://github.com/pubkey/rxdb/issues/6792#issuecomment-2624555824 ",MQ1:"path must be a string or object",MQ2:"Invalid argument",MQ3:"Invalid sort() argument. Must be a string, object, or array",MQ4:"Invalid argument. Expected instanceof mquery or plain object",MQ5:"method must be used after where() when called with these arguments",MQ6:"Can't mix sort syntaxes. Use either array or object | .sort([['field', 1], ['test', -1]]) | .sort({ field: 1, test: -1 })",MQ7:"Invalid sort value",MQ8:"Can't mix sort syntaxes. Use either array or object",DB1:"RxDocument.prepare(): another instance on this adapter has a different password",DB2:"RxDatabase.addCollections(): collection-names cannot start with underscore _",DB3:"RxDatabase.addCollections(): collection already exists. use myDatabase[collectionName] to get it",DB4:"RxDatabase.addCollections(): schema is missing",DB5:"RxDatabase.addCollections(): collection-name not allowed",DB6:"RxDatabase.addCollections(): another instance created this collection with a different schema. Read thishttps://rxdb.info/rx-schema.html?console=qa#faq ",DB8:'createRxDatabase(): A RxDatabase with the same name and adapter already exists.\nMake sure to use this combination of storage+databaseName only once\nIf you have the duplicate database on purpose to simulate multi-tab behavior in unit tests, set "ignoreDuplicate: true".\nAs alternative you can set "closeDuplicates: true" like if this happens in your react projects with hot reload that reloads the code without reloading the process.',DB9:"ignoreDuplicate is only allowed in dev-mode and must never be used in production",DB11:"createRxDatabase(): Invalid db-name, folder-paths must not have an ending slash",DB12:"RxDatabase.addCollections(): could not write to internal store",DB13:"createRxDatabase(): Invalid db-name or collection name, name contains the dollar sign",DB14:"no custom reactivity factory added on database creation",COL1:"RxDocument.insert() You cannot insert an existing document",COL2:"RxCollection.insert() fieldName ._id can only be used as primaryKey",COL3:"RxCollection.upsert() does not work without primary",COL4:"RxCollection.incrementalUpsert() does not work without primary",COL5:"RxCollection.find() if you want to search by _id, use .findOne(_id)",COL6:"RxCollection.findOne() needs a queryObject or string. Notice that in RxDB, primary keys must be strings and cannot be numbers.",COL7:"hook must be a function",COL8:"hooks-when not known",COL9:"RxCollection.addHook() hook-name not known",COL10:"RxCollection .postCreate-hooks cannot be async",COL11:"migrationStrategies must be an object",COL12:"A migrationStrategy is missing or too much",COL13:"migrationStrategy must be a function",COL14:"given static method-name is not a string",COL15:"static method-names cannot start with underscore _",COL16:"given static method is not a function",COL17:"RxCollection.ORM: statics-name not allowed",COL18:"collection-method not allowed because fieldname is in the schema",COL20:"Storage write error",COL21:"The RxCollection is closed or removed already, either from this JavaScript realm or from another, like a browser tab",CONFLICT:"Document update conflict. When changing a document you must work on the previous revision",COL22:".bulkInsert() and .bulkUpsert() cannot be run with multiple documents that have the same primary key",COL23:"In the open-source version of RxDB, the amount of collections that can exist in parallel is limited to 16. If you already purchased the premium access, you can remove this limit: https://rxdb.info/rx-collection.html?console=limit#faq",DOC1:"RxDocument.get$ cannot get observable of in-array fields because order cannot be guessed",DOC2:"cannot observe primary path",DOC3:"final fields cannot be observed",DOC4:"RxDocument.get$ cannot observe a non-existed field",DOC5:"RxDocument.populate() cannot populate a non-existed field",DOC6:"RxDocument.populate() cannot populate because path has no ref",DOC7:"RxDocument.populate() ref-collection not in database",DOC8:"RxDocument.set(): primary-key cannot be modified",DOC9:"final fields cannot be modified",DOC10:"RxDocument.set(): cannot set childpath when rootPath not selected",DOC11:"RxDocument.save(): can't save deleted document",DOC13:"RxDocument.remove(): Document is already deleted",DOC14:"RxDocument.close() does not exist",DOC15:"query cannot be an array",DOC16:"Since version 8.0.0 RxDocument.set() can only be called on temporary RxDocuments",DOC17:"Since version 8.0.0 RxDocument.save() can only be called on non-temporary documents",DOC18:"Document property for composed primary key is missing",DOC19:"Value of primary key(s) cannot be changed",DOC20:"PrimaryKey missing",DOC21:"PrimaryKey must be equal to PrimaryKey.trim(). It cannot start or end with a whitespace",DOC22:"PrimaryKey must not contain a linebreak",DOC23:'PrimaryKey must not contain a double-quote ["]',DOC24:"Given document data could not be structured cloned. This happens if you pass non-plain-json data into it, like a Date() object or a Function. In vue.js this happens if you use ref() on the document data which transforms it into a Proxy object.",DM1:"migrate() Migration has already run",DM2:"migration of document failed final document does not match final schema",DM3:"migration already running",DM4:"Migration errored",DM5:"Cannot open database state with newer RxDB version. You have to migrate your database state first. See https://rxdb.info/migration-storage.html?console=storage ",AT1:"to use attachments, please define this in your schema",EN1:"password is not valid",EN2:"validatePassword: min-length of password not complied",EN3:"Schema contains encrypted properties but no password is given",EN4:"Password not valid",JD1:"You must create the collections before you can import their data",JD2:"RxCollection.importJSON(): the imported json relies on a different schema",JD3:"RxCollection.importJSON(): json.passwordHash does not match the own",LD1:"RxDocument.allAttachments$ can't use attachments on local documents",LD2:"RxDocument.get(): objPath must be a string",LD3:"RxDocument.get$ cannot get observable of in-array fields because order cannot be guessed",LD4:"cannot observe primary path",LD5:"RxDocument.set() id cannot be modified",LD6:"LocalDocument: Function is not usable on local documents",LD7:"Local document already exists",LD8:"localDocuments not activated. Set localDocuments=true on creation, when you want to store local documents on the RxDatabase or RxCollection.",RC1:"Replication: already added",RC2:"replicateCouchDB() query must be from the same RxCollection",RC4:"RxCouchDBReplicationState.awaitInitialReplication() cannot await initial replication when live: true",RC5:"RxCouchDBReplicationState.awaitInitialReplication() cannot await initial replication if multiInstance because the replication might run on another instance",RC6:"syncFirestore() serverTimestampField MUST NOT be part of the collections schema and MUST NOT be nested.",RC7:"SimplePeer requires to have process.nextTick() polyfilled, see https://rxdb.info/replication-webrtc.html?console=webrtc ",RC_PULL:"RxReplication pull handler threw an error - see .errors for more details",RC_STREAM:"RxReplication pull stream$ threw an error - see .errors for more details",RC_PUSH:"RxReplication push handler threw an error - see .errors for more details",RC_PUSH_NO_AR:"RxReplication push handler did not return an array with the conflicts",RC_WEBRTC_PEER:"RxReplication WebRTC Peer has error",RC_COUCHDB_1:"replicateCouchDB() url must end with a slash like 'https://example.com/mydatabase/'",RC_COUCHDB_2:"replicateCouchDB() did not get valid result with rows.",RC_OUTDATED:"Outdated client, update required. Replication was canceled",RC_UNAUTHORIZED:"Unauthorized client, update the replicationState.headers to set correct auth data",RC_FORBIDDEN:"Client behaves wrong so the replication was canceled. Mostly happens if the client tries to write data that it is not allowed to",SC1:"fieldnames do not match the regex",SC2:"SchemaCheck: name 'item' reserved for array-fields",SC3:"SchemaCheck: fieldname has a ref-array but items-type is not string",SC4:"SchemaCheck: fieldname has a ref but is not type string, [string,null] or array",SC6:"SchemaCheck: primary can only be defined at top-level",SC7:"SchemaCheck: default-values can only be defined at top-level",SC8:"SchemaCheck: first level-fields cannot start with underscore _",SC10:"SchemaCheck: schema defines ._rev, this will be done automatically",SC11:"SchemaCheck: schema needs a number >=0 as version",SC13:"SchemaCheck: primary is always index, do not declare it as index",SC14:"SchemaCheck: primary is always unique, do not declare it as index",SC15:"SchemaCheck: primary cannot be encrypted",SC16:"SchemaCheck: primary must have type: string",SC17:"SchemaCheck: top-level fieldname is not allowed. See https://rxdb.info/rx-schema.html?console=toplevel#non-allowed-properties ",SC18:"SchemaCheck: indexes must be an array",SC19:"SchemaCheck: indexes must contain strings or arrays of strings",SC20:"SchemaCheck: indexes.array must contain strings",SC21:"SchemaCheck: given index is not defined in schema",SC22:"SchemaCheck: given indexKey is not type:string",SC23:"SchemaCheck: fieldname is not allowed",SC24:"SchemaCheck: required fields must be set via array. See https://spacetelescope.github.io/understanding-json-schema/reference/object.html#required",SC25:"SchemaCheck: compoundIndexes needs to be specified in the indexes field",SC26:"SchemaCheck: indexes needs to be specified at collection schema level",SC28:"SchemaCheck: encrypted fields is not defined in the schema",SC29:"SchemaCheck: missing object key 'properties'",SC30:"SchemaCheck: primaryKey is required",SC32:"SchemaCheck: primary field must have the type string/number/integer",SC33:"SchemaCheck: used primary key is not a property in the schema",SC34:"Fields of type string that are used in an index, must have set the maxLength attribute in the schema",SC35:"Fields of type number/integer that are used in an index, must have set the multipleOf attribute in the schema",SC36:"A field of this type cannot be used as index",SC37:"Fields of type number that are used in an index, must have set the minimum and maximum attribute in the schema",SC38:"Fields of type boolean that are used in an index, must be required in the schema",SC39:"The primary key must have the maxLength attribute set. Ensure you use the dev-mode plugin when developing with RxDB.",SC40:"$ref fields in the schema are not allowed. RxDB cannot resolve related schemas because it would have a negative performance impact.It would have to run http requests on runtime. $ref fields should be resolved during build time.",SC41:"minimum, maximum and maxLength values for indexes must be real numbers, not Infinity or -Infinity",SC42:"Primary key and also indexed fields which are strings, must have a maxLength that is <= 2048. Notice that having a big maxLength can negatively affect the performance. Only set it as big as it has to be.",DVM1:"When dev-mode is enabled, your storage must use one of the schema validators at the top level. This is because most problems people have with RxDB is because they store data that is not valid to the schema which causes strange bugs and problems.",VD1:"Sub-schema not found, does the schemaPath exists in your schema?",VD2:"object does not match schema",S1:"You cannot create collections after calling RxDatabase.server()",GQL1:"GraphQL replication: cannot find sub schema by key",GQL3:"GraphQL replication: pull returns more documents then batchSize",CRDT1:"CRDT operations cannot be used because the crdt options are not set in the schema.",CRDT2:"RxDocument.incrementalModify() cannot be used when CRDTs are activated.",CRDT3:"To use CRDTs you MUST NOT set a conflictHandler because the default CRDT conflict handler must be used",DXE1:"non-required index fields are not possible with the dexie.js RxStorage: https://github.com/pubkey/rxdb/pull/6643#issuecomment-2505310082",SQL1:"The trial version of the SQLite storage does not support attachments.",SQL2:"The trial version of the SQLite storage is limited to contain 300 documents",SQL3:"The trial version of the SQLite storage is limited to running 500 operations",RM1:"Cannot communicate with a remote that was build on a different RxDB version. Did you forget to rebuild your workers when updating RxDB?",MG1:"If _id is used as primaryKey, all documents in the MongoDB instance must have a string-value as _id, not an ObjectId or number",R1:"You must provide a valid RxDatabase to the the RxDatabaseProvider",R2:"Could not find database in context, please ensure the component is wrapped in a ",R3:"The provided value for the collection parameter is not a valid RxCollection",SNH:"This should never happen"};var r=a(6347);const c=Object.entries(i);function l(){const e=(0,r.zy)();console.dir(i);const t={"":{boxSizing:"border-box"},ul:{listStyleType:"none"},li:{borderStyle:"solid",borderWidth:1,height:"auto",borderColor:"var(--color-top)",padding:32,borderRadius:14,backgroundColor:"var(--bg-color-dark)",justifyContent:"space-between",gap:48,margin:10,marginBottom:20},liHighlight:{boxShadow:"2px 2px 13px var(--color-top), -2px -1px 14px var(--color-top)"},errorCode:{fontSize:"1.3em",lineHeight:"130%",margin:"0 0 8px"},innerUl:{marginTop:14}};return(0,o.jsx)("ul",{style:t.ul,children:c.map(([a,n])=>{return(0,o.jsxs)("li",{id:a,style:e.hash==="#"+a?{...t.li,...t.liHighlight}:t.li,children:[(0,o.jsxs)("h6",{style:t.errorCode,children:["Code: ",(0,o.jsx)("a",{href:"#"+a,children:a})]}),(s=n,(s+="").charAt(0).toUpperCase()+s.substr(1)),(0,o.jsxs)("ul",{style:t.innerUl,children:[(0,o.jsx)("li",{children:(0,o.jsx)("a",{href:"https://github.com/pubkey/rxdb/search?q="+a+"&type=code",target:"_blank",children:"Search In Code"})}),(0,o.jsx)("li",{children:(0,o.jsx)("a",{href:"https://github.com/pubkey/rxdb/search?q="+a+"&type=issues",target:"_blank",children:"Search In Issues"})}),(0,o.jsx)("li",{children:(0,o.jsx)("a",{href:"/chat/",target:"_blank",children:"Search In Chat"})})]})]},a);var s})})}const d={title:"Error Messages",slug:"errors.html",description:"Learn how RxDB throws RxErrors with codes and parameters. Keep builds lean, yet unveil full messages in development via the DevMode plugin."},h="RxDB Error Messages",u={},m=[{value:"All RxDB error messages",id:"all-rxdb-error-messages",level:2}];function p(e){const t={a:"a",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",...(0,s.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(t.header,{children:(0,o.jsx)(t.h1,{id:"rxdb-error-messages",children:"RxDB Error Messages"})}),"\n",(0,o.jsxs)(t.p,{children:["When RxDB has an error, an ",(0,o.jsx)(t.code,{children:"RxError"})," object is thrown instead of a normal JavaScript ",(0,o.jsx)(t.code,{children:"Error"}),". This ",(0,o.jsx)(t.code,{children:"RxError"})," contains additional properties such as a ",(0,o.jsx)(t.code,{children:"code"})," field and ",(0,o.jsx)(t.code,{children:"parameters"}),". By default the full human readable error messages are not included into the RxDB build. This is because error messages have a high entropy and cannot be compressed well. Therefore only an error message with the correct error-code and parameters is thrown but without the full text.\nWhen you enable the ",(0,o.jsx)(t.a,{href:"/dev-mode.html",children:"DevMode Plugin"})," the full error messages are added to the ",(0,o.jsx)(t.code,{children:"RxError"}),". This should only be done in development, not in production builds to keep a small build size."]}),"\n",(0,o.jsx)(t.h2,{id:"all-rxdb-error-messages",children:"All RxDB error messages"}),"\n","\n",(0,o.jsx)(l,{})]})}function b(e={}){const{wrapper:t}={...(0,s.R)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(p,{...e})}):p(e)}},8453(e,t,a){a.d(t,{R:()=>i,x:()=>r});var n=a(6540);const o={},s=n.createContext(o);function i(e){const t=n.useContext(s);return n.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function r(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:i(e.components),n.createElement(s.Provider,{value:t},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/8a442806.cda40cae.js b/docs/assets/js/8a442806.cda40cae.js
deleted file mode 100644
index beb8306683e..00000000000
--- a/docs/assets/js/8a442806.cda40cae.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[1054],{8453(e,n,s){s.d(n,{R:()=>a,x:()=>l});var r=s(6540);const i={},t=r.createContext(i);function a(e){const n=r.useContext(t);return r.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function l(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:a(e.components),r.createElement(t.Provider,{value:n},e.children)}},9770(e,n,s){s.r(n),s.d(n,{assets:()=>o,contentTitle:()=>l,default:()=>d,frontMatter:()=>a,metadata:()=>r,toc:()=>c});const r=JSON.parse('{"id":"fulltext-search","title":"Fulltext Search \ud83d\udc51","description":"Master local fulltext search with RxDB\'s FlexSearch plugin. Enjoy real-time indexing, efficient queries, and offline-first support made easy.","source":"@site/docs/fulltext-search.md","sourceDirName":".","slug":"/fulltext-search.html","permalink":"/fulltext-search.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"Fulltext Search \ud83d\udc51","slug":"fulltext-search.html","description":"Master local fulltext search with RxDB\'s FlexSearch plugin. Enjoy real-time indexing, efficient queries, and offline-first support made easy."},"sidebar":"tutorialSidebar","previous":{"title":"ORM","permalink":"/orm.html"},"next":{"title":"Vector Database","permalink":"/articles/javascript-vector-database.html"}}');var i=s(4848),t=s(8453);const a={title:"Fulltext Search \ud83d\udc51",slug:"fulltext-search.html",description:"Master local fulltext search with RxDB's FlexSearch plugin. Enjoy real-time indexing, efficient queries, and offline-first support made easy."},l="Fulltext Search",o={},c=[{value:"Benefits of using a local fulltext search",id:"benefits-of-using-a-local-fulltext-search",level:2},{value:"Using the RxDB Fulltext Search",id:"using-the-rxdb-fulltext-search",level:2}];function h(e){const n={a:"a",code:"code",figure:"figure",h1:"h1",h2:"h2",header:"header",li:"li",ol:"ol",p:"p",pre:"pre",span:"span",...(0,t.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.header,{children:(0,i.jsx)(n.h1,{id:"fulltext-search",children:"Fulltext Search"})}),"\n",(0,i.jsxs)(n.p,{children:["To run fulltext search queries on the local data, RxDB has a fulltext search plugin based on ",(0,i.jsx)(n.a,{href:"https://github.com/nextapps-de/flexsearch",children:"flexsearch"})," and ",(0,i.jsx)(n.a,{href:"/rx-pipeline.html",children:"RxPipeline"}),". On each write to a given source ",(0,i.jsx)(n.a,{href:"/rx-collection.html",children:"RxCollection"}),", an indexer is running to map the written document data into a fulltext search index.\nThe index can then be queried efficiently with complex fulltext search operations."]}),"\n",(0,i.jsx)(n.h2,{id:"benefits-of-using-a-local-fulltext-search",children:"Benefits of using a local fulltext search"}),"\n",(0,i.jsxs)(n.ol,{children:["\n",(0,i.jsx)(n.li,{children:"Efficient Search and Indexing"}),"\n"]}),"\n",(0,i.jsxs)(n.p,{children:["The plugin utilizes the ",(0,i.jsx)(n.a,{href:"https://github.com/nextapps-de/flexsearch",children:"FlexSearch library"}),", known for its speed and memory efficiency. This ensures that search operations are performed quickly, even with large datasets. The search engine can handle multi-field queries, partial matching, and complex search operations, providing users with highly relevant results."]}),"\n",(0,i.jsxs)(n.ol,{start:"2",children:["\n",(0,i.jsx)(n.li,{children:"Local Data Indexing"}),"\n"]}),"\n",(0,i.jsxs)(n.p,{children:["With the plugin, all search operations are performed on the local data stored within the RxDB collections. This means that users can execute fulltext search queries without the need for an external server or database, which is especially beneficial for offline-first applications. The local indexing ensures that search queries are executed quickly, reducing the latency typically associated with remote database queries. Also when used in multiple browser tabs, it is ensured that through ",(0,i.jsx)(n.a,{href:"/leader-election.html",children:"Leader Election"}),", only exactly one tabs is doing the work of indexing without having an overhead in the other browser tabs."]}),"\n",(0,i.jsxs)(n.ol,{start:"3",children:["\n",(0,i.jsx)(n.li,{children:"Real-time Indexing"}),"\n"]}),"\n",(0,i.jsxs)(n.p,{children:["The plugin integrates seamlessly with RxDB's reactive nature. Every time a document is written to an ",(0,i.jsx)(n.a,{href:"/rx-collection.html",children:"RxCollection"}),", an indexer updates the fulltext search index in real-time. This ensures that search results are always up-to-date, reflecting the most current state of the data without requiring manual reindexing."]}),"\n",(0,i.jsxs)(n.ol,{start:"4",children:["\n",(0,i.jsx)(n.li,{children:"Persistent indexing"}),"\n"]}),"\n",(0,i.jsxs)(n.p,{children:["The fulltext search index is efficiently persisted within the ",(0,i.jsx)(n.a,{href:"/rx-collection.html",children:"RxCollection"}),", ensuring that the index remains intact across app restarts. When documents are added or updated in the collection, the index is incrementally updated in real-time, meaning only the changes are processed rather than reindexing the entire dataset. This incremental approach not only optimizes performance but also ensures that subsequent app launches are quick, as there's no need to reindex all the data from scratch, making the search feature both reliable and fast from the moment the app starts. When using an ",(0,i.jsx)(n.a,{href:"/encryption.html",children:"encrypted storage"})," the index itself and incremental updates to it are stored fully encrypted and are only decrypted in-memory."]}),"\n",(0,i.jsxs)(n.ol,{start:"5",children:["\n",(0,i.jsx)(n.li,{children:"Complex Query Support"}),"\n"]}),"\n",(0,i.jsxs)(n.p,{children:["The FlexSearch-based plugin allows for ",(0,i.jsx)(n.a,{href:"https://github.com/nextapps-de/flexsearch?tab=readme-ov-file#index.search",children:"sophisticated search queries"}),", including multi-term and contextual searches. Users can perform complex searches that go beyond simple keyword matching, enabling more advanced use cases like searching for documents with specific phrases, relevance-based sorting, or even phonetic matching."]}),"\n",(0,i.jsxs)(n.ol,{start:"6",children:["\n",(0,i.jsx)(n.li,{children:"Offline-First Support and Privacy"}),"\n"]}),"\n",(0,i.jsxs)(n.p,{children:["As RxDB is designed with ",(0,i.jsx)(n.a,{href:"/offline-first.html",children:"offline-first applications"})," in mind, the fulltext search plugin supports this paradigm by ensuring that all search operations can be performed offline. This is crucial for applications that need to function in environments with intermittent or no internet connectivity, offering users a consistent and reliable search experience with ",(0,i.jsx)(n.a,{href:"/articles/zero-latency-local-first.html",children:"zero latency"}),"."]}),"\n",(0,i.jsx)(n.h2,{id:"using-the-rxdb-fulltext-search",children:"Using the RxDB Fulltext Search"}),"\n",(0,i.jsxs)(n.p,{children:["The flexsearch search is a ",(0,i.jsx)(n.a,{href:"/premium/",children:"RxDB Premium Package \ud83d\udc51"})," which must be purchased and imported from the ",(0,i.jsx)(n.code,{children:"rxdb-premium"})," npm package."]}),"\n",(0,i.jsxs)(n.p,{children:["Step 1: Add the ",(0,i.jsx)(n.code,{children:"RxDBFlexSearchPlugin"})," to RxDB."]}),"\n",(0,i.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" { RxDBFlexSearchPlugin } "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb-premium/plugins/flexsearch'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" { addRxPlugin } "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/core'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:"addRxPlugin"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(RxDBFlexSearchPlugin);"})]})]})})}),"\n",(0,i.jsxs)(n.p,{children:["Step 2: Create a ",(0,i.jsx)(n.code,{children:"RxFulltextSearch"})," instance on top of a collection with the ",(0,i.jsx)(n.code,{children:"addFulltextSearch()"})," function."]}),"\n",(0,i.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" { addFulltextSearch } "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb-premium/plugins/flexsearch'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" flexSearch"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" addFulltextSearch"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // unique identifier. Used to store metadata and continue indexing on restarts/reloads."})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" identifier"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'my-search'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // The source collection on whose documents the search is based on"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" collection"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" myRxCollection"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * Transforms the document data to a given searchable string."})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * This can be done by returning a single string property of the document"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * or even by concatenating and transforming multiple fields like:"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * doc => doc.firstName + ' ' + doc.lastName"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" docToString"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" doc "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" doc"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:".firstName"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * (Optional)"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * Amount of documents to index at once."})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * See https://rxdb.info/rx-pipeline.html"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" batchSize"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" number;"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * (Optional)"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * lazy: Initialize the in memory fulltext index at the first search query."})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * instant: Directly initialize so that the index is already there on the first query."})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * Default: 'instant'"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" initialization: "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'instant'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * (Optional)"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"@link"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" https://github.com/nextapps-de/flexsearch#index-options"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" indexOptions"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {}"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,i.jsx)(n.p,{children:"Step 3: Run a search operation:"}),"\n",(0,i.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:'// find all documents whose searchstring contains "foobar"'})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" foundDocuments"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" flexSearch"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".find"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'foobar'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"/**"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * You can also use search options as second parameter"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"@link"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" https://github.com/nextapps-de/flexsearch#search-options"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" foundDocuments"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" flexSearch"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".find"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'foobar'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" { limit"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 10"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" });"})]})]})})})]})}function d(e={}){const{wrapper:n}={...(0,t.R)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(h,{...e})}):h(e)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/8aa53ed7.941200b7.js b/docs/assets/js/8aa53ed7.941200b7.js
deleted file mode 100644
index 4fef35d3629..00000000000
--- a/docs/assets/js/8aa53ed7.941200b7.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[6723],{7841(e,a,n){n.r(a),n.d(a,{assets:()=>c,contentTitle:()=>l,default:()=>p,frontMatter:()=>o,metadata:()=>s,toc:()=>d});const s=JSON.parse('{"id":"articles/angular-database","title":"RxDB as a Database in an Angular Application","description":"Level up your Angular projects with RxDB. Build real-time, resilient, and responsive apps powered by a reactive NoSQL database right in the browser.","source":"@site/docs/articles/angular-database.md","sourceDirName":"articles","slug":"/articles/angular-database.html","permalink":"/articles/angular-database.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"RxDB as a Database in an Angular Application","slug":"angular-database.html","description":"Level up your Angular projects with RxDB. Build real-time, resilient, and responsive apps powered by a reactive NoSQL database right in the browser."},"sidebar":"tutorialSidebar","previous":{"title":"React Native Database - Sync & Store Like a Pro","permalink":"/react-native-database.html"},"next":{"title":"Browser Storage - RxDB as a Database for Browsers","permalink":"/articles/browser-storage.html"}}');var i=n(4848),r=n(8453),t=n(2271);const o={title:"RxDB as a Database in an Angular Application",slug:"angular-database.html",description:"Level up your Angular projects with RxDB. Build real-time, resilient, and responsive apps powered by a reactive NoSQL database right in the browser."},l="RxDB as a Database in an Angular Application",c={},d=[{value:"Angular Web Applications",id:"angular-web-applications",level:2},{value:"Importance of Databases in Angular Applications",id:"importance-of-databases-in-angular-applications",level:2},{value:"Introducing RxDB as a Database Solution",id:"introducing-rxdb-as-a-database-solution",level:2},{value:"Getting Started with RxDB",id:"getting-started-with-rxdb",level:2},{value:"What is RxDB?",id:"what-is-rxdb",level:3},{value:"Reactive Data Handling",id:"reactive-data-handling",level:3},{value:"Offline-First Approach",id:"offline-first-approach",level:3},{value:"Data Replication",id:"data-replication",level:3},{value:"Observable Queries",id:"observable-queries",level:3},{value:"Multi-Tab Support",id:"multi-tab-support",level:3},{value:"RxDB vs. Other Angular Database Options",id:"rxdb-vs-other-angular-database-options",level:3},{value:"Using RxDB in an Angular Application",id:"using-rxdb-in-an-angular-application",level:2},{value:"Installing RxDB in an Angular App",id:"installing-rxdb-in-an-angular-app",level:3},{value:"Patch Change Detection with zone.js",id:"patch-change-detection-with-zonejs",level:3},{value:"Use the Angular async pipe to observe an RxDB Query",id:"use-the-angular-async-pipe-to-observe-an-rxdb-query",level:3},{value:"Different RxStorage layers for RxDB",id:"different-rxstorage-layers-for-rxdb",level:3},{value:"Synchronizing Data with RxDB between Clients and Servers",id:"synchronizing-data-with-rxdb-between-clients-and-servers",level:2},{value:"Offline-First Approach",id:"offline-first-approach-1",level:3},{value:"Conflict Resolution",id:"conflict-resolution",level:3},{value:"Bidirectional Synchronization",id:"bidirectional-synchronization",level:3},{value:"Real-Time Updates",id:"real-time-updates",level:3},{value:"Advanced RxDB Features and Techniques",id:"advanced-rxdb-features-and-techniques",level:2},{value:"Indexing and Performance Optimization",id:"indexing-and-performance-optimization",level:3},{value:"Encryption of Local Data",id:"encryption-of-local-data",level:3},{value:"Change Streams and Event Handling",id:"change-streams-and-event-handling",level:3},{value:"JSON Key Compression",id:"json-key-compression",level:3},{value:"Best Practices for Using RxDB in Angular Applications",id:"best-practices-for-using-rxdb-in-angular-applications",level:2},{value:"Use Async Pipe for Subscriptions so you do not have to unsubscribe",id:"use-async-pipe-for-subscriptions-so-you-do-not-have-to-unsubscribe",level:3},{value:"Use custom reactivity to have signals instead of rxjs observables",id:"use-custom-reactivity-to-have-signals-instead-of-rxjs-observables",level:3},{value:"Use Angular Services for Database creation",id:"use-angular-services-for-database-creation",level:3},{value:"Efficient Data Handling",id:"efficient-data-handling",level:3},{value:"Data Synchronization Strategies",id:"data-synchronization-strategies",level:3},{value:"Conclusion",id:"conclusion",level:2},{value:"Follow Up",id:"follow-up",level:2}];function h(e){const a={a:"a",admonition:"admonition",code:"code",figure:"figure",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...(0,r.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(a.header,{children:(0,i.jsx)(a.h1,{id:"rxdb-as-a-database-in-an-angular-application",children:"RxDB as a Database in an Angular Application"})}),"\n",(0,i.jsxs)(a.p,{children:["In modern web development, Angular has emerged as a popular framework for building robust and scalable applications. As Angular applications often require persistent ",(0,i.jsx)(a.a,{href:"/articles/browser-storage.html",children:"storage"})," and efficient data handling, choosing the right database solution is crucial. One such solution is ",(0,i.jsx)(a.a,{href:"https://rxdb.info/",children:"RxDB"}),", a reactive JavaScript database for the browser, node.js, and ",(0,i.jsx)(a.a,{href:"/articles/mobile-database.html",children:"mobile devices"}),". In this article, we will explore the integration of RxDB into an Angular application and examine its various features and techniques."]}),"\n",(0,i.jsx)("center",{children:(0,i.jsx)("a",{href:"https://rxdb.info/",children:(0,i.jsx)("img",{src:"../files/logo/rxdb_javascript_database.svg",alt:"JavaScript Angular Database",width:"220"})})}),"\n",(0,i.jsx)(a.h2,{id:"angular-web-applications",children:"Angular Web Applications"}),"\n",(0,i.jsx)(a.p,{children:"Angular is a powerful JavaScript framework developed and maintained by Google. It enables developers to build single-page applications (SPAs) with a modular and component-based approach. Angular provides a comprehensive set of tools and features for creating dynamic and responsive web applications."}),"\n",(0,i.jsx)(a.h2,{id:"importance-of-databases-in-angular-applications",children:"Importance of Databases in Angular Applications"}),"\n",(0,i.jsx)(a.p,{children:"Databases play a vital role in Angular applications by providing a structured and efficient way to store, retrieve, and manage data. Whether it's handling user authentication, caching data, or persisting application state, a robust database solution is essential for ensuring optimal performance and user experience."}),"\n",(0,i.jsx)(a.h2,{id:"introducing-rxdb-as-a-database-solution",children:"Introducing RxDB as a Database Solution"}),"\n",(0,i.jsxs)(a.p,{children:["RxDB stands for Reactive Database and is built on the principles of reactive programming. It combines the best features of ",(0,i.jsx)(a.a,{href:"/articles/in-memory-nosql-database.html",children:"NoSQL databases"})," with the power of reactive programming to provide a scalable and efficient database solution. RxDB offers seamless integration with Angular applications and brings several unique features that make it an attractive choice for developers."]}),"\n",(0,i.jsx)("center",{children:(0,i.jsx)(t.N,{videoId:"qHWrooWyCYg",title:"This solved a problem I've had in Angular for years",duration:"3:45"})}),"\n",(0,i.jsx)(a.h2,{id:"getting-started-with-rxdb",children:"Getting Started with RxDB"}),"\n",(0,i.jsx)(a.p,{children:"To begin our journey with RxDB, let's understand its key concepts and features."}),"\n",(0,i.jsx)(a.h3,{id:"what-is-rxdb",children:"What is RxDB?"}),"\n",(0,i.jsxs)(a.p,{children:[(0,i.jsx)(a.a,{href:"https://rxdb.info/",children:"RxDB"})," is a client-side database that follows the principles of reactive programming. It is built on top of IndexedDB, the ",(0,i.jsx)(a.a,{href:"/articles/browser-database.html",children:"native browser database"}),", and leverages the RxJS library for reactive data handling. RxDB provides a simple and intuitive API for managing data and offers features like data replication, multi-tab support, and efficient query handling."]}),"\n",(0,i.jsx)("center",{children:(0,i.jsx)("a",{href:"https://rxdb.info/",children:(0,i.jsx)("img",{src:"../files/logo/rxdb_javascript_database.svg",alt:"JavaScript Angular Database",width:"220"})})}),"\n",(0,i.jsx)(a.h3,{id:"reactive-data-handling",children:"Reactive Data Handling"}),"\n",(0,i.jsx)(a.p,{children:"At the core of RxDB is the concept of reactive data handling. RxDB leverages observables and reactive streams to enable real-time updates and data synchronization. With RxDB, you can easily subscribe to data changes and react to them in a reactive and efficient manner."}),"\n",(0,i.jsx)("p",{align:"center",children:(0,i.jsx)("img",{src:"../files/animations/realtime.gif",alt:"realtime ui updates",width:"700"})}),"\n",(0,i.jsx)(a.h3,{id:"offline-first-approach",children:"Offline-First Approach"}),"\n",(0,i.jsx)(a.p,{children:"One of the standout features of RxDB is its offline-first approach. It allows you to build applications that can work seamlessly in offline scenarios. RxDB stores data locally and automatically synchronizes changes with the server when the network becomes available. This capability is particularly useful for applications that need to function in low-connectivity or unreliable network environments."}),"\n",(0,i.jsx)(a.h3,{id:"data-replication",children:"Data Replication"}),"\n",(0,i.jsx)(a.p,{children:"RxDB provides built-in support for data replication between clients and servers. This means you can synchronize data across multiple devices or instances of your application effortlessly. RxDB handles conflict resolution and ensures that data remains consistent across all connected clients."}),"\n",(0,i.jsx)(a.h3,{id:"observable-queries",children:"Observable Queries"}),"\n",(0,i.jsx)(a.p,{children:"RxDB offers a powerful querying mechanism with support for observable queries. This allows you to create dynamic queries that automatically update when the underlying data changes. By leveraging RxDB's observable queries, you can build reactive UI components that respond to data changes in real-time."}),"\n",(0,i.jsx)(a.h3,{id:"multi-tab-support",children:"Multi-Tab Support"}),"\n",(0,i.jsx)(a.p,{children:"RxDB provides out-of-the-box support for multi-tab scenarios. This means that if your Angular application is running in multiple browser tabs, RxDB automatically keeps the data in sync across all tabs. It ensures that changes made in one tab are immediately reflected in others, providing a seamless user experience."}),"\n",(0,i.jsx)("p",{align:"center",children:(0,i.jsx)("img",{src:"../files/multiwindow.gif",alt:"multi tab support",width:"450"})}),"\n",(0,i.jsx)(a.h3,{id:"rxdb-vs-other-angular-database-options",children:"RxDB vs. Other Angular Database Options"}),"\n",(0,i.jsx)(a.p,{children:"While there are other database options available for Angular applications, RxDB stands out with its reactive programming model, offline-first approach, and built-in synchronization capabilities. Unlike traditional SQL databases, RxDB's NoSQL-like structure and observables-based API make it well-suited for real-time applications and complex data scenarios."}),"\n",(0,i.jsx)(a.h2,{id:"using-rxdb-in-an-angular-application",children:"Using RxDB in an Angular Application"}),"\n",(0,i.jsx)(a.p,{children:"Now that we have a good understanding of RxDB and its features, let's explore how to integrate it into an Angular application."}),"\n",(0,i.jsx)(a.h3,{id:"installing-rxdb-in-an-angular-app",children:"Installing RxDB in an Angular App"}),"\n",(0,i.jsx)(a.p,{children:"To use RxDB in an Angular application, we first need to install the necessary dependencies. You can install RxDB using npm or yarn by running the following command:"}),"\n",(0,i.jsx)(a.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(a.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"bash","data-theme":"css-variables",children:(0,i.jsx)(a.code,{"data-language":"bash","data-theme":"css-variables",style:{display:"grid"},children:(0,i.jsxs)(a.span,{"data-line":"",children:[(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-function)"},children:"npm"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-string)"},children:" install"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-string)"},children:" rxdb"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-string)"},children:" --save"})]})})})}),"\n",(0,i.jsx)(a.p,{children:"Once installed, you can import RxDB into your Angular application and start using its API to create and manage databases."}),"\n",(0,i.jsx)(a.h3,{id:"patch-change-detection-with-zonejs",children:"Patch Change Detection with zone.js"}),"\n",(0,i.jsx)(a.p,{children:"Angular uses change detection to detect and update UI elements when data changes. However, RxDB's data handling is based on observables, which can sometimes bypass Angular's change detection mechanism. To ensure that changes made in RxDB are detected by Angular, we need to patch the change detection mechanism using zone.js. Zone.js is a library that intercepts and tracks asynchronous operations, including observables. By patching zone.js, we can make sure that Angular is aware of changes happening in RxDB."}),"\n",(0,i.jsxs)(a.admonition,{type:"warning",children:[(0,i.jsxs)(a.p,{children:["RxDB creates rxjs observables outside of angulars zone\nSo you have to import the rxjs patch to ensure the ",(0,i.jsx)(a.a,{href:"https://angular.io/guide/change-detection",children:"angular change detection"})," works correctly.\n",(0,i.jsx)(a.a,{href:"https://www.bennadel.com/blog/3448-binding-rxjs-observable-sources-outside-of-the-ngzone-in-angular-6-0-2.htm",children:"link"})]}),(0,i.jsx)(a.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(a.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(a.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsx)(a.span,{"data-line":"",children:(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-comment)"},children:"//> app.component.ts"})}),"\n",(0,i.jsxs)(a.span,{"data-line":"",children:[(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'zone.js/plugins/zone-patch-rxjs'"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:";"})]})]})})})]}),"\n",(0,i.jsx)(a.h3,{id:"use-the-angular-async-pipe-to-observe-an-rxdb-query",children:"Use the Angular async pipe to observe an RxDB Query"}),"\n",(0,i.jsx)(a.p,{children:"Angular provides the async pipe, which is a convenient way to subscribe to observables and handle the subscription lifecycle automatically. When working with RxDB, you can use the async pipe to observe an RxDB query and bind the results directly to your Angular template. This ensures that the UI stays in sync with the data changes emitted by the RxDB query."}),"\n",(0,i.jsx)(a.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(a.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(a.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(a.span,{"data-line":"",children:[(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-function)"},children:" constructor"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:"("})]}),"\n",(0,i.jsxs)(a.span,{"data-line":"",children:[(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:" private dbService: DatabaseService"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(a.span,{"data-line":"",children:(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:" private dialog: MatDialog"})}),"\n",(0,i.jsx)(a.span,{"data-line":"",children:(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:" ) {"})}),"\n",(0,i.jsxs)(a.span,{"data-line":"",children:[(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-constant)"},children:" this"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:".heroes$ "}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-constant)"},children:" this"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:".dbService"})]}),"\n",(0,i.jsxs)(a.span,{"data-line":"",children:[(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:" ."}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-constant)"},children:"db"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:".hero "}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-comment)"},children:"// collection"})]}),"\n",(0,i.jsxs)(a.span,{"data-line":"",children:[(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-function)"},children:" .find"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:"({ "}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-comment)"},children:"// query"})]}),"\n",(0,i.jsxs)(a.span,{"data-line":"",children:[(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:" selector"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:" {}"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(a.span,{"data-line":"",children:[(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:" sort"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:" [{ name"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'asc'"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:" }]"})]}),"\n",(0,i.jsx)(a.span,{"data-line":"",children:(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:" })"})}),"\n",(0,i.jsx)(a.span,{"data-line":"",children:(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:" .$;"})}),"\n",(0,i.jsx)(a.span,{"data-line":"",children:(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:" }"})})]})})}),"\n",(0,i.jsx)(a.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(a.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"html","data-theme":"css-variables",children:(0,i.jsxs)(a.code,{"data-language":"html","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(a.span,{"data-line":"",children:[(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:"<"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-string-expression)"},children:"ul"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-function)"},children:" *ngFor"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-string-expression)"},children:'"let hero of heroes$ | async as heroes;"'}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:">"})]}),"\n",(0,i.jsxs)(a.span,{"data-line":"",children:[(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:" <"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-string-expression)"},children:"li"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:">{{hero.name}}"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-string-expression)"},children:"li"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:">"})]}),"\n",(0,i.jsxs)(a.span,{"data-line":"",children:[(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:""}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-string-expression)"},children:"ul"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:">"})]})]})})}),"\n",(0,i.jsx)(a.h3,{id:"different-rxstorage-layers-for-rxdb",children:"Different RxStorage layers for RxDB"}),"\n",(0,i.jsx)(a.p,{children:"RxDB supports multiple storage layers for persisting data. Some of the available storage options include:"}),"\n",(0,i.jsxs)(a.ul,{children:["\n",(0,i.jsxs)(a.li,{children:[(0,i.jsx)(a.a,{href:"/rx-storage-localstorage.html",children:"LocalStorage RxStorage"}),": Uses the ",(0,i.jsx)(a.a,{href:"/articles/localstorage.html",children:"LocalStorage API"})," without any third party plugins."]}),"\n",(0,i.jsxs)(a.li,{children:[(0,i.jsx)(a.a,{href:"/rx-storage-indexeddb.html",children:"IndexedDB RxStorage"}),": RxDB directly supports IndexedDB as a storage layer. IndexedDB is a low-level browser database that offers good performance and reliability."]}),"\n",(0,i.jsxs)(a.li,{children:[(0,i.jsx)(a.a,{href:"/rx-storage-opfs.html",children:"OPFS RxStorage"}),": The OPFS ",(0,i.jsx)(a.a,{href:"/rx-storage.html",children:"RxStorage"})," for RxDB is built on top of the ",(0,i.jsx)(a.a,{href:"https://webkit.org/blog/12257/the-file-system-access-api-with-origin-private-file-system/",children:"File System Access API"})," which is available in ",(0,i.jsx)(a.a,{href:"https://caniuse.com/native-filesystem-api",children:"all modern browsers"}),". It provides an API to access a sandboxed private file system to persistently store and retrieve data.\nCompared to other persistent storage options in the browser (like ",(0,i.jsx)(a.a,{href:"/rx-storage-indexeddb.html",children:"IndexedDB"}),"), the OPFS API has a ",(0,i.jsx)(a.strong,{children:"way better performance"}),"."]}),"\n",(0,i.jsxs)(a.li,{children:[(0,i.jsx)(a.a,{href:"/rx-storage-memory.html",children:"Memory RxStorage"}),": In addition to persistent storage options, RxDB also provides a memory-based storage layer. This is useful for testing or scenarios where you don't need long-term data persistence.\nYou can choose the storage layer that best suits your application's requirements and configure RxDB accordingly."]}),"\n"]}),"\n",(0,i.jsx)(a.h2,{id:"synchronizing-data-with-rxdb-between-clients-and-servers",children:"Synchronizing Data with RxDB between Clients and Servers"}),"\n",(0,i.jsx)(a.p,{children:"Data replication between an Angular application and a server is a common requirement. RxDB simplifies this process and provides built-in support for data synchronization. Let's explore how to replicate data between an Angular application and a server using RxDB."}),"\n",(0,i.jsx)("p",{align:"center",children:(0,i.jsx)("img",{src:"../files/database-replication.png",alt:"database replication",width:"200"})}),"\n",(0,i.jsx)(a.h3,{id:"offline-first-approach-1",children:"Offline-First Approach"}),"\n",(0,i.jsxs)(a.p,{children:["One of the key strengths of RxDB is its ",(0,i.jsx)(a.a,{href:"/offline-first.html",children:"offline-first approach"}),". It allows Angular applications to function seamlessly even in offline scenarios. RxDB stores data locally and automatically synchronizes changes with the server when the network becomes available. This capability is particularly useful for applications that need to operate in low-connectivity or unreliable network environments."]}),"\n",(0,i.jsx)(a.h3,{id:"conflict-resolution",children:"Conflict Resolution"}),"\n",(0,i.jsx)(a.p,{children:"In a distributed system, conflicts can arise when multiple clients modify the same data simultaneously. RxDB offers conflict resolution mechanisms to handle such scenarios. You can define conflict resolution strategies based on your application's requirements. RxDB provides hooks and events to detect conflicts and resolve them in a consistent manner."}),"\n",(0,i.jsx)(a.h3,{id:"bidirectional-synchronization",children:"Bidirectional Synchronization"}),"\n",(0,i.jsx)(a.p,{children:"RxDB supports bidirectional data synchronization, allowing updates from both the client and server to be replicated seamlessly. This ensures that data remains consistent across all connected clients and the server. RxDB handles conflicts and resolves them based on the defined conflict resolution strategies."}),"\n",(0,i.jsx)(a.h3,{id:"real-time-updates",children:"Real-Time Updates"}),"\n",(0,i.jsx)(a.p,{children:"RxDB provides real-time updates by leveraging reactive programming principles. Changes made to the data are automatically propagated to all connected clients in real-time. Angular applications can subscribe to these updates and update the user interface accordingly. This real-time capability enables collaborative features and enhances the overall user experience."}),"\n",(0,i.jsx)(a.h2,{id:"advanced-rxdb-features-and-techniques",children:"Advanced RxDB Features and Techniques"}),"\n",(0,i.jsx)(a.p,{children:"RxDB offers several advanced features and techniques that can further enhance your Angular application."}),"\n",(0,i.jsx)(a.h3,{id:"indexing-and-performance-optimization",children:"Indexing and Performance Optimization"}),"\n",(0,i.jsx)(a.p,{children:"To improve query performance, RxDB allows you to define indexes on specific fields of your documents. Indexing enables faster data retrieval and query execution, especially when working with large datasets. By strategically creating indexes, you can optimize the performance of your Angular application."}),"\n",(0,i.jsx)(a.h3,{id:"encryption-of-local-data",children:"Encryption of Local Data"}),"\n",(0,i.jsxs)(a.p,{children:["RxDB provides built-in support for ",(0,i.jsx)(a.a,{href:"/encryption.html",children:"encrypting"})," local data using the Web Crypto API. With encryption, you can protect sensitive data stored in the client-side database. RxDB transparently encrypts the data, ensuring that it remains secure even if the underlying storage is compromised."]}),"\n",(0,i.jsx)(a.h3,{id:"change-streams-and-event-handling",children:"Change Streams and Event Handling"}),"\n",(0,i.jsx)(a.p,{children:"RxDB exposes change streams, which allow you to listen for data changes at a database or collection level. By subscribing to change streams, you can react to data modifications and perform specific actions, such as updating the UI or triggering notifications. Change streams enable real-time event handling in your Angular application."}),"\n",(0,i.jsx)(a.h3,{id:"json-key-compression",children:"JSON Key Compression"}),"\n",(0,i.jsxs)(a.p,{children:["To reduce the storage footprint and improve performance, RxDB supports ",(0,i.jsx)(a.a,{href:"/key-compression.html",children:"JSON key compression"}),". With key compression, RxDB replaces long keys with shorter aliases, reducing the overall storage size. This optimization is particularly useful when working with large datasets or frequently updating data."]}),"\n",(0,i.jsx)(a.h2,{id:"best-practices-for-using-rxdb-in-angular-applications",children:"Best Practices for Using RxDB in Angular Applications"}),"\n",(0,i.jsx)(a.p,{children:"To make the most of RxDB in your Angular application, consider the following best practices:"}),"\n",(0,i.jsx)(a.h3,{id:"use-async-pipe-for-subscriptions-so-you-do-not-have-to-unsubscribe",children:"Use Async Pipe for Subscriptions so you do not have to unsubscribe"}),"\n",(0,i.jsxs)(a.p,{children:["Angular's ",(0,i.jsx)(a.code,{children:"async"})," pipe is a powerful tool for handling observables in templates. By using the async pipe, you can avoid the need to manually subscribe and unsubscribe from RxDB observables. Angular takes care of the subscription lifecycle, ensuring that resources are released when they are no longer needed. Instead of manually subscribing to Observables, you should always prefer the ",(0,i.jsx)(a.code,{children:"async"})," pipe."]}),"\n",(0,i.jsx)(a.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(a.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(a.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsx)(a.span,{"data-line":"",children:(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-comment)"},children:"// WRONG:"})}),"\n",(0,i.jsxs)(a.span,{"data-line":"",children:[(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-keyword)"},children:"let"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:" amount;"})]}),"\n",(0,i.jsxs)(a.span,{"data-line":"",children:[(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-constant)"},children:"this"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:".dbService"})]}),"\n",(0,i.jsxs)(a.span,{"data-line":"",children:[(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:" ."}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-constant)"},children:"db"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:".hero"})]}),"\n",(0,i.jsxs)(a.span,{"data-line":"",children:[(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-function)"},children:" .find"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(a.span,{"data-line":"",children:[(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:" selector"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:" {}"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(a.span,{"data-line":"",children:[(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:" sort"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:" [{ name"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'asc'"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:" }]"})]}),"\n",(0,i.jsx)(a.span,{"data-line":"",children:(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:" })"})}),"\n",(0,i.jsxs)(a.span,{"data-line":"",children:[(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:" ."}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-constant)"},children:"$"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-function)"},children:".subscribe"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:"(docs "}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(a.span,{"data-line":"",children:[(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:" amount "}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-constant)"},children:" 0"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(a.span,{"data-line":"",children:[(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-constant)"},children:" docs"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-function)"},children:".forEach"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:"(d "}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:" amount "}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-constant)"},children:" d"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:".points);"})]}),"\n",(0,i.jsx)(a.span,{"data-line":"",children:(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:" });"})}),"\n",(0,i.jsx)(a.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(a.span,{"data-line":"",children:(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-comment)"},children:"// RIGHT:"})}),"\n",(0,i.jsxs)(a.span,{"data-line":"",children:[(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-constant)"},children:"this"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:".amount$ "}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-constant)"},children:" this"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:".dbService"})]}),"\n",(0,i.jsxs)(a.span,{"data-line":"",children:[(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:" ."}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-constant)"},children:"db"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:".hero"})]}),"\n",(0,i.jsxs)(a.span,{"data-line":"",children:[(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-function)"},children:" .find"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(a.span,{"data-line":"",children:[(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:" selector"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:" {}"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(a.span,{"data-line":"",children:[(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:" sort"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:" [{ name"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'asc'"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:" }]"})]}),"\n",(0,i.jsx)(a.span,{"data-line":"",children:(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:" })"})}),"\n",(0,i.jsxs)(a.span,{"data-line":"",children:[(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:" ."}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-constant)"},children:"$"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-function)"},children:".pipe"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:"("})]}),"\n",(0,i.jsxs)(a.span,{"data-line":"",children:[(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-function)"},children:" map"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:"(docs "}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(a.span,{"data-line":"",children:[(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-keyword)"},children:" let"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:" amount "}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-constant)"},children:" 0"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(a.span,{"data-line":"",children:[(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-constant)"},children:" docs"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-function)"},children:".forEach"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:"(d "}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:" amount "}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-constant)"},children:" d"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:".points);"})]}),"\n",(0,i.jsxs)(a.span,{"data-line":"",children:[(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:" amount;"})]}),"\n",(0,i.jsx)(a.span,{"data-line":"",children:(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:" })"})}),"\n",(0,i.jsx)(a.span,{"data-line":"",children:(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:" );"})})]})})}),"\n",(0,i.jsx)(a.h3,{id:"use-custom-reactivity-to-have-signals-instead-of-rxjs-observables",children:"Use custom reactivity to have signals instead of rxjs observables"}),"\n",(0,i.jsxs)(a.p,{children:["RxDB supports adding custom reactivity factories that allow you to get angular signals out of the database instead of rxjs observables. ",(0,i.jsx)(a.a,{href:"/reactivity.html",children:"read more"}),"."]}),"\n",(0,i.jsx)(a.h3,{id:"use-angular-services-for-database-creation",children:"Use Angular Services for Database creation"}),"\n",(0,i.jsx)(a.p,{children:"To ensure proper separation of concerns and maintain a clean codebase, it is recommended to create an Angular service responsible for managing the RxDB database instance. This service can handle database creation, initialization, and provide methods for interacting with the database throughout your application."}),"\n",(0,i.jsx)(a.h3,{id:"efficient-data-handling",children:"Efficient Data Handling"}),"\n",(0,i.jsx)(a.p,{children:"RxDB provides various mechanisms for efficient data handling, such as batching updates, debouncing, and throttling. Leveraging these techniques can help optimize performance and reduce unnecessary UI updates. Consider the specific data handling requirements of your application and choose the appropriate strategies provided by RxDB."}),"\n",(0,i.jsx)(a.h3,{id:"data-synchronization-strategies",children:"Data Synchronization Strategies"}),"\n",(0,i.jsx)(a.p,{children:"When working with data synchronization between clients and servers, it's important to consider strategies for conflict resolution and handling network failures. RxDB provides plugins and hooks that allow you to customize the replication behavior and implement specific synchronization strategies tailored to your application's needs."}),"\n",(0,i.jsx)(a.h2,{id:"conclusion",children:"Conclusion"}),"\n",(0,i.jsx)(a.p,{children:"RxDB is a powerful database solution for Angular applications, offering reactive data handling, offline-first capabilities, and seamless data synchronization. By integrating RxDB into your Angular application, you can build responsive and scalable web applications that provide a rich user experience. Whether you're building real-time collaborative apps, progressive web applications, or offline-capable applications, RxDB's features and techniques make it a valuable addition to your Angular development toolkit."}),"\n",(0,i.jsx)(a.h2,{id:"follow-up",children:"Follow Up"}),"\n",(0,i.jsx)(a.p,{children:"To explore more about RxDB and leverage its capabilities for browser database development, check out the following resources:"}),"\n",(0,i.jsxs)(a.ul,{children:["\n",(0,i.jsxs)(a.li,{children:[(0,i.jsx)(a.a,{href:"https://github.com/pubkey/rxdb",children:"RxDB GitHub Repository"}),": Visit the official GitHub repository of RxDB to access the source code, documentation, and community support."]}),"\n",(0,i.jsxs)(a.li,{children:[(0,i.jsx)(a.a,{href:"/quickstart.html",children:"RxDB Quickstart"}),": Get started quickly with RxDB by following the provided quickstart guide, which provides step-by-step instructions for setting up and using RxDB in your projects."]}),"\n",(0,i.jsx)(a.li,{children:(0,i.jsx)(a.a,{href:"https://github.com/pubkey/rxdb/tree/master/examples/angular",children:"RxDB Angular Example at GitHub"})}),"\n"]})]})}function p(e={}){const{wrapper:a}={...(0,r.R)(),...e.components};return a?(0,i.jsx)(a,{...e,children:(0,i.jsx)(h,{...e})}):h(e)}},8453(e,a,n){n.d(a,{R:()=>t,x:()=>o});var s=n(6540);const i={},r=s.createContext(i);function t(e){const a=s.useContext(r);return s.useMemo(function(){return"function"==typeof e?e(a):{...a,...e}},[a,e])}function o(e){let a;return a=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:t(e.components),s.createElement(r.Provider,{value:a},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/8b0a0922.114db760.js b/docs/assets/js/8b0a0922.114db760.js
deleted file mode 100644
index e72282fbaad..00000000000
--- a/docs/assets/js/8b0a0922.114db760.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[4557],{8453(e,n,s){s.d(n,{R:()=>o,x:()=>a});var r=s(6540);const i={},t=r.createContext(i);function o(e){const n=r.useContext(t);return r.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function a(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:o(e.components),r.createElement(t.Provider,{value:n},e.children)}},9463(e,n,s){s.r(n),s.d(n,{assets:()=>l,contentTitle:()=>a,default:()=>h,frontMatter:()=>o,metadata:()=>r,toc:()=>d});const r=JSON.parse('{"id":"slow-indexeddb","title":"Solving IndexedDB Slowness for Seamless Apps","description":"Struggling with IndexedDB performance? Discover hidden bottlenecks, advanced tuning techniques, and next-gen storage like the File System Access API.","source":"@site/docs/slow-indexeddb.md","sourceDirName":".","slug":"/slow-indexeddb.html","permalink":"/slow-indexeddb.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"Solving IndexedDB Slowness for Seamless Apps","slug":"slow-indexeddb.html","description":"Struggling with IndexedDB performance? Discover hidden bottlenecks, advanced tuning techniques, and next-gen storage like the File System Access API."},"sidebar":"tutorialSidebar","previous":{"title":"NoSQL Performance Tips","permalink":"/nosql-performance-tips.html"},"next":{"title":"LocalStorage vs. IndexedDB vs. Cookies vs. OPFS vs. WASM-SQLite","permalink":"/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm.html"}}');var i=s(4848),t=s(8453);const o={title:"Solving IndexedDB Slowness for Seamless Apps",slug:"slow-indexeddb.html",description:"Struggling with IndexedDB performance? Discover hidden bottlenecks, advanced tuning techniques, and next-gen storage like the File System Access API."},a="Why IndexedDB is slow and what to use instead",l={},d=[{value:"Batched Cursor",id:"batched-cursor",level:2},{value:"IndexedDB Sharding",id:"indexeddb-sharding",level:2},{value:"Custom Indexes",id:"custom-indexes",level:2},{value:"Relaxed durability",id:"relaxed-durability",level:2},{value:"Explicit transaction commits",id:"explicit-transaction-commits",level:2},{value:"In-Memory on top of IndexedDB",id:"in-memory-on-top-of-indexeddb",level:2},{value:"In-Memory: Persistence",id:"in-memory-persistence",level:3},{value:"In-Memory: Multi Tab Support",id:"in-memory-multi-tab-support",level:3},{value:"Further read",id:"further-read",level:2}];function c(e){const n={a:"a",admonition:"admonition",blockquote:"blockquote",code:"code",figure:"figure",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...(0,t.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.header,{children:(0,i.jsx)(n.h1,{id:"why-indexeddb-is-slow-and-what-to-use-instead",children:"Why IndexedDB is slow and what to use instead"})}),"\n",(0,i.jsxs)(n.p,{children:["So you have a JavaScript web application that needs to store data at the client side, either to make it ",(0,i.jsx)(n.a,{href:"/offline-first.html",children:"offline usable"}),", just for caching purposes or for other reasons."]}),"\n",(0,i.jsxs)(n.p,{children:["For ",(0,i.jsx)(n.a,{href:"/articles/browser-database.html",children:"in-browser data storage"}),", you have some options:"]}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Cookies"})," are sent with each HTTP request, so you cannot store more than a few strings in them."]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"WebSQL"})," ",(0,i.jsx)(n.a,{href:"https://hacks.mozilla.org/2010/06/beyond-html5-database-apis-and-the-road-to-indexeddb/",children:"is deprecated"})," because it never was a real standard and turning it into a standard would have been too difficult."]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.a,{href:"/articles/localstorage.html",children:"LocalStorage"})," is a synchronous API over asynchronous IO-access. Storing and reading data can fully block the JavaScript process so you cannot use LocalStorage for more than few simple key-value pairs."]}),"\n",(0,i.jsxs)(n.li,{children:["The ",(0,i.jsx)(n.strong,{children:"FileSystem API"})," could be used to store plain binary files, but it is ",(0,i.jsx)(n.a,{href:"https://caniuse.com/filesystem",children:"only supported in chrome"})," for now."]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"IndexedDB"})," is an indexed key-object database. It can store json data and iterate over its indexes. It is ",(0,i.jsx)(n.a,{href:"https://caniuse.com/indexeddb",children:"widely supported"})," and stable."]}),"\n"]}),"\n",(0,i.jsxs)(n.admonition,{title:"UPDATE April 2023",type:"note",children:[(0,i.jsxs)(n.p,{children:["Since beginning of 2023, all modern browsers ship the ",(0,i.jsx)(n.strong,{children:"File System Access API"})," which allows to persistently store data in the browser with a way better performance. For ",(0,i.jsx)(n.a,{href:"https://rxdb.info/",children:"RxDB"})," you can use the ",(0,i.jsx)(n.a,{href:"/rx-storage-opfs.html",children:"OPFS RxStorage"})," to get about 4x performance improvement compared to IndexedDB."]}),(0,i.jsx)("center",{children:(0,i.jsx)("a",{href:"https://rxdb.info/",children:(0,i.jsx)("img",{src:"./files/logo/rxdb_javascript_database.svg",alt:"IndexedDB Database",width:"250"})})})]}),"\n",(0,i.jsxs)(n.p,{children:["It becomes clear that the only way to go is IndexedDB. You start developing your app and everything goes fine.\nBut as soon as your app gets bigger, more complex or just handles more data, you might notice something. ",(0,i.jsx)(n.strong,{children:"IndexedDB is slow"}),". Not slow like a database on a cheap server, ",(0,i.jsx)(n.strong,{children:"even slower"}),"! Inserting a few hundred documents can take up several seconds. Time which can be critical for a fast page load. Even sending data over the internet to the backend can be faster than storing it inside of an IndexedDB database."]}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsx)(n.p,{children:"Transactions vs Throughput"}),"\n"]}),"\n",(0,i.jsxs)(n.p,{children:["So before we start complaining, lets analyze what exactly is slow. When you run tests on Nolans ",(0,i.jsx)(n.a,{href:"http://nolanlawson.github.io/database-comparison/",children:"Browser Database Comparison"})," you can see that inserting 1k documents into IndexedDB takes about 80 milliseconds, 0.08ms per document. This is not really slow. It is quite fast and it is very unlikely that you want to store that many document at the same time at the client side. But the key point here is that all these documents get written in a ",(0,i.jsx)(n.code,{children:"single transaction"}),"."]}),"\n",(0,i.jsxs)(n.p,{children:["I forked the comparison tool ",(0,i.jsx)(n.a,{href:"https://pubkey.github.io/client-side-databases/database-comparison/index.html",children:"here"})," and changed it to use one transaction per document write. And there we have it. Inserting 1k documents with one transaction per write, takes about 2 seconds. Interestingly if we increase the document size to be 100x bigger, it still takes about the same time to store them. This makes clear that the limiting factor to IndexedDB performance is the transaction handling, not the data throughput."]}),"\n",(0,i.jsx)("p",{align:"center",children:(0,i.jsx)("img",{src:"./files/indexeddb-transaction-throughput.png",alt:"IndexedDB transaction throughput",width:"700"})}),"\n",(0,i.jsxs)(n.p,{children:["To fix your IndexedDB performance problems you have to make sure to use as less data transfers/transactions as possible.\nSometimes this is easy, as instead of iterating over a documents list and calling single inserts, with RxDB you could use the ",(0,i.jsx)(n.a,{href:"https://rxdb.info/rx-collection.html#bulkinsert",children:"bulk methods"})," to store many document at once.\nBut most of the time is not so easy. Your user clicks around, data gets replicated from the backend, another browser tab writes data. All these things can happen at random time and you cannot crunch all that data in a single transaction."]}),"\n",(0,i.jsxs)(n.p,{children:["Another solution is to just not care about performance at all. In a few releases the browser vendors will have optimized IndexedDB and everything is fast again. Well, IndexedDB was slow ",(0,i.jsx)(n.a,{href:"https://www.researchgate.net/publication/281065948_Performance_Testing_and_Comparison_of_Client_Side_Databases_Versus_Server_Side",children:"in 2013"})," and it is still slow today. If this trend continues, it will still be slow in a few years from now. Waiting is not an option. The chromium devs made ",(0,i.jsx)(n.a,{href:"https://bugs.chromium.org/p/chromium/issues/detail?id=1025456#c15",children:"a statement"})," to focus on optimizing read performance, not write performance."]}),"\n",(0,i.jsxs)(n.p,{children:["Switching to WebSQL (even if it is deprecated) is also not an option because, like ",(0,i.jsx)(n.a,{href:"https://pubkey.github.io/client-side-databases/database-comparison/index.html",children:"the comparison tool shows"}),", it has even slower transactions."]}),"\n",(0,i.jsxs)(n.p,{children:["So you need a way to ",(0,i.jsx)(n.strong,{children:"make IndexedDB faster"}),". In the following I lay out some performance optimizations than can be made to have faster reads and writes in IndexedDB."]}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"HINT:"})," You can reproduce all performance tests ",(0,i.jsx)(n.a,{href:"https://github.com/pubkey/indexeddb-performance-tests",children:"in this repo"}),". In all tests we work on a dataset of 40000 ",(0,i.jsx)(n.code,{children:"human"})," documents with a random ",(0,i.jsx)(n.code,{children:"age"})," between ",(0,i.jsx)(n.code,{children:"1"})," and ",(0,i.jsx)(n.code,{children:"100"}),"."]}),"\n",(0,i.jsx)(n.h2,{id:"batched-cursor",children:"Batched Cursor"}),"\n",(0,i.jsxs)(n.p,{children:["With ",(0,i.jsx)(n.a,{href:"https://caniuse.com/indexeddb2",children:"IndexedDB 2.0"}),", new methods were introduced which can be utilized to improve performance. With the ",(0,i.jsx)(n.code,{children:"getAll()"})," method, a faster alternative to the old ",(0,i.jsx)(n.code,{children:"openCursor()"})," can be created which improves performance when reading data from the IndexedDB store."]}),"\n",(0,i.jsxs)(n.p,{children:["Lets say we want to query all user documents that have an ",(0,i.jsx)(n.code,{children:"age"})," greater than ",(0,i.jsx)(n.code,{children:"25"})," out of the store.\nTo implement a fast batched cursor that only needs calls to ",(0,i.jsx)(n.code,{children:"getAll()"})," and not to ",(0,i.jsx)(n.code,{children:"getAllKeys()"}),", we first need to create an ",(0,i.jsx)(n.code,{children:"age"})," index that contains the primary ",(0,i.jsx)(n.code,{children:"id"})," as last field."]}),"\n",(0,i.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"myIndexedDBObjectStore"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".createIndex"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'age-index'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" ["})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'age'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'id'"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" ]"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:");"})})]})})}),"\n",(0,i.jsxs)(n.p,{children:["This is required because the ",(0,i.jsx)(n.code,{children:"age"})," field is not unique, and we need a way to checkpoint the last returned batch so we can continue from there in the next call to ",(0,i.jsx)(n.code,{children:"getAll()"}),"."]}),"\n",(0,i.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" maxAge"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 25"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"let"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" result "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" [];"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" tx"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" IDBTransaction"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".transaction"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"([storeName]"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'readonly'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" TRANSACTION_SETTINGS"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" store"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" tx"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".objectStore"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(storeName);"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" index"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" store"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".index"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'age-index'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"let"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" lastDoc;"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"let"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" done "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" false"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"/**"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * Run the batched cursor until all results are retrieved"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * or the end of the index is reached."})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"while"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" (done "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"==="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" false"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:") {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" new"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" Promise"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"((res"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" rej) "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" range"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" IDBKeyRange"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".bound"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * If we have a previous document as checkpoint,"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * we have to continue from it's age and id values."})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" ["})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" lastDoc "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"?"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" lastDoc"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:".age "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" -"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"Infinity"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" lastDoc "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"?"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" lastDoc"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:".id "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" -"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"Infinity"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" ]"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" ["})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" maxAge "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"+"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 0.00000001"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" String"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".fromCharCode"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"65535"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:")"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" ]"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" true"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" false"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" );"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" openCursorRequest"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" index"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".getAll"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(range"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" batchSize);"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" openCursorRequest"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"."}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:"onerror"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" err "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" rej"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(err);"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" openCursorRequest"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"."}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:"onsuccess"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" e "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" subResult"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" TestDocument"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"[] "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" e"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"."}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"target"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:".result;"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" lastDoc "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" lastOfArray"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(subResult);"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" if"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" ("}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"subResult"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"."}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"length"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ==="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 0"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:") {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" done "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" true"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" } "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"else"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" result "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" result"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".concat"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(subResult);"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" res"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" };"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" });"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"}"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"console"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".dir"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(result);"})]})]})})}),"\n",(0,i.jsx)("p",{align:"center",children:(0,i.jsx)("img",{src:"./files/indexeddb-batched-cursor.png",alt:"IndexedDB batched cursor",width:"100%"})}),"\n",(0,i.jsxs)(n.p,{children:["As the performance test results show, using a batched cursor can give a huge improvement. Interestingly choosing a high batch size is important. When you known that all results of a given ",(0,i.jsx)(n.code,{children:"IDBKeyRange"})," are needed, you should not set a batch size at all and just directly query all documents via ",(0,i.jsx)(n.code,{children:"getAll()"}),"."]}),"\n",(0,i.jsxs)(n.p,{children:["RxDB uses batched cursors in the ",(0,i.jsx)(n.a,{href:"/rx-storage-indexeddb.html",children:"IndexedDB RxStorage"}),"."]}),"\n",(0,i.jsx)(n.h2,{id:"indexeddb-sharding",children:"IndexedDB Sharding"}),"\n",(0,i.jsxs)(n.p,{children:["Sharding is a technique, normally used in server side databases, where the database is partitioned horizontally. Instead of storing all documents at one table/collection, the documents are split into so called ",(0,i.jsx)(n.strong,{children:"shards"})," and each shard is stored on one table/collection. This is done in server side architectures to spread the load between multiple physical servers which ",(0,i.jsx)(n.strong,{children:"increases scalability"}),"."]}),"\n",(0,i.jsxs)(n.p,{children:["When you use IndexedDB in a browser, there is of course no way to split the load between the client and other servers. But you can still benefit from sharding. Partitioning the documents horizontally into ",(0,i.jsx)(n.strong,{children:"multiple IndexedDB stores"}),", has shown to have a big performance improvement in write- and read operations while only increasing initial pageload slightly."]}),"\n",(0,i.jsx)("p",{align:"center",children:(0,i.jsx)("img",{src:"./files/indexeddb-sharding-performance.png",alt:"IndexedDB sharding performance",width:"100%"})}),"\n",(0,i.jsxs)(n.p,{children:["As shown in the performance test results, sharding should always be done by ",(0,i.jsx)(n.code,{children:"IDBObjectStore"})," and not by database. Running a batched cursor over the whole dataset with 10 store shards in parallel is about ",(0,i.jsx)(n.strong,{children:"28% faster"})," then running it over a single store. Initialization time increases minimal from ",(0,i.jsx)(n.code,{children:"9"})," to ",(0,i.jsx)(n.code,{children:"17"})," milliseconds.\nGetting a quarter of the dataset by batched iterating over an index, is even ",(0,i.jsx)(n.strong,{children:"43%"})," faster with sharding then when a single store is queried."]}),"\n",(0,i.jsx)(n.p,{children:"As downside, getting 10k documents by their id is slower when it has to run over the shards.\nAlso it can be much effort to recombined the results from the different shards into the required query result. When a query without a limit is done, the sharding method might cause a data load huge overhead."}),"\n",(0,i.jsxs)(n.p,{children:["Sharding can be used with RxDB with the ",(0,i.jsx)(n.a,{href:"/rx-storage-sharding.html",children:"Sharding Plugin"}),"."]}),"\n",(0,i.jsx)(n.h2,{id:"custom-indexes",children:"Custom Indexes"}),"\n",(0,i.jsx)(n.p,{children:"Indexes improve the query performance of IndexedDB significant. Instead of fetching all data from the storage when you search for a subset of it, you can iterate over the index and stop iterating when all relevant data has been found."}),"\n",(0,i.jsxs)(n.p,{children:["For example to query for all user documents that have an ",(0,i.jsx)(n.code,{children:"age"})," greater than ",(0,i.jsx)(n.code,{children:"25"}),", you would create an ",(0,i.jsx)(n.code,{children:"age+id"})," index.\nTo be able to run a batched cursor over the index, we always need our primary key (",(0,i.jsx)(n.code,{children:"id"}),") as the last index field."]}),"\n",(0,i.jsxs)(n.p,{children:["Instead of doing this, you can use a ",(0,i.jsx)(n.code,{children:"custom index"})," which can improve the performance. The custom index runs over a helper field ",(0,i.jsx)(n.code,{children:"ageIdCustomIndex"})," which is added to each document on write. Our index now only contains a single ",(0,i.jsx)(n.code,{children:"string"})," field instead of two (age-",(0,i.jsx)(n.code,{children:"number"})," and id-",(0,i.jsx)(n.code,{children:"string"}),")."]}),"\n",(0,i.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// On document insert add the ageIdCustomIndex field."})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" idMaxLength"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 20"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"; "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// must be known to craft a custom index"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"docData"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:".ageIdCustomIndex "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" docData"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:".age "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"+"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" docData"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"id"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".padStart"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(idMaxLength"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" ' '"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"store"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".put"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(docData);"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// ..."})})]})})}),"\n",(0,i.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// normal index"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"myIndexedDBObjectStore"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".createIndex"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'age-index'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" ["})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'age'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'id'"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" ]"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:");"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// custom index"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"myIndexedDBObjectStore"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".createIndex"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'age-index-custom'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" ["})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'ageIdCustomIndex'"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" ]"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:");"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "})]})})}),"\n",(0,i.jsxs)(n.p,{children:["To iterate over the index, you also use a custom crafted keyrange, depending on the last batched cursor checkpoint. Therefore the ",(0,i.jsx)(n.code,{children:"maxLength"})," of ",(0,i.jsx)(n.code,{children:"id"})," must be known."]}),"\n",(0,i.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// keyrange for normal index"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" range"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" IDBKeyRange"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".bound"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" ["}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"25"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" ''"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"]"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" ["}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"Infinity"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" Infinity"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"]"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" true"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" false"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:");"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// keyrange for custom index"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" range"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" IDBKeyRange"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".bound"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // combine both values to a single string"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 25"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" +"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" ''"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".padStart"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(idMaxLength"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" ' '"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:")"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" Infinity"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" true"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" false"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:");"})})]})})}),"\n",(0,i.jsx)("p",{align:"center",children:(0,i.jsx)("img",{src:"./files/indexeddb-custom-index.png",alt:"IndexedDB custom index",width:"700"})}),"\n",(0,i.jsxs)(n.p,{children:["As shown, using a custom index can further improve the performance of running a batched cursor by about ",(0,i.jsx)(n.code,{children:"10%"}),"."]}),"\n",(0,i.jsxs)(n.p,{children:["Another big benefit of using custom indexes, is that you can also encode ",(0,i.jsx)(n.code,{children:"boolean"})," values in them, which ",(0,i.jsx)(n.a,{href:"https://github.com/w3c/IndexedDB/issues/76",children:"cannot be done"})," with normal IndexedDB indexes."]}),"\n",(0,i.jsxs)(n.p,{children:["RxDB uses custom indexes in the ",(0,i.jsx)(n.a,{href:"/rx-storage-indexeddb.html",children:"IndexedDB RxStorage"}),"."]}),"\n",(0,i.jsx)(n.h2,{id:"relaxed-durability",children:"Relaxed durability"}),"\n",(0,i.jsxs)(n.p,{children:["Chromium based browsers allow to set ",(0,i.jsx)(n.a,{href:"https://developer.mozilla.org/en-US/docs/Web/API/IDBTransaction/durability",children:"durability"})," to ",(0,i.jsx)(n.code,{children:"relaxed"})," when creating an IndexedDB transaction. Which runs the transaction in a less secure durability mode, which can improve the performance."]}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsx)(n.p,{children:"The user agent may consider that the transaction has successfully committed as soon as all outstanding changes have been written to the operating system, without subsequent verification."}),"\n"]}),"\n",(0,i.jsxs)(n.p,{children:["As shown ",(0,i.jsx)(n.a,{href:"https://nolanlawson.com/2021/08/22/speeding-up-indexeddb-reads-and-writes/",children:"here"}),", using the relaxed durability mode can improve performance slightly. The best performance improvement could be measured when many small transactions have to be run. Less, bigger transaction do not benefit that much."]}),"\n",(0,i.jsx)(n.h2,{id:"explicit-transaction-commits",children:"Explicit transaction commits"}),"\n",(0,i.jsxs)(n.p,{children:["By explicitly committing a transaction, another slight performance improvement can be achieved. Instead of waiting for the browser to commit an open transaction, we call the ",(0,i.jsx)(n.code,{children:"commit()"})," method to explicitly close it."]}),"\n",(0,i.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// .commit() is not available on all browsers, so first check if it exists."})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"if"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" ("}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"transaction"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:".commit) {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" transaction"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".commit"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"()"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"}"})})]})})}),"\n",(0,i.jsxs)(n.p,{children:["The improvement of this technique is minimal, but observable as ",(0,i.jsx)(n.a,{href:"https://nolanlawson.com/2021/08/22/speeding-up-indexeddb-reads-and-writes/",children:"these tests"})," show."]}),"\n",(0,i.jsx)(n.h2,{id:"in-memory-on-top-of-indexeddb",children:"In-Memory on top of IndexedDB"}),"\n",(0,i.jsxs)(n.p,{children:["To prevent transaction handling and to fix the performance problems, we need to stop using IndexedDB as a database. Instead all data is loaded into the memory on the initial page load. Here all reads and writes happen in memory which is about 100x faster. Only some time after a write occurred, the memory state is persisted into IndexedDB with a ",(0,i.jsx)(n.strong,{children:"single write transaction"}),". In this scenario IndexedDB is used as a filesystem, not as a database."]}),"\n",(0,i.jsx)(n.p,{children:"There are some libraries that already do that:"}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:["LokiJS with the ",(0,i.jsx)(n.a,{href:"https://techfort.github.io/LokiJS/LokiIndexedAdapter.html",children:"IndexedDB Adapter"})]}),"\n",(0,i.jsx)(n.li,{children:(0,i.jsx)(n.a,{href:"https://github.com/jlongster/absurd-sql",children:"Absurd-SQL"})}),"\n",(0,i.jsxs)(n.li,{children:["SQL.js with the ",(0,i.jsx)(n.a,{href:"https://emscripten.org/docs/api_reference/Filesystem-API.html#filesystem-api-idbfs",children:"empscripten Filesystem API"})]}),"\n",(0,i.jsx)(n.li,{children:(0,i.jsx)(n.a,{href:"https://duckdb.org/2021/10/29/duckdb-wasm.html",children:"DuckDB Wasm"})}),"\n"]}),"\n",(0,i.jsx)(n.h3,{id:"in-memory-persistence",children:"In-Memory: Persistence"}),"\n",(0,i.jsxs)(n.p,{children:["One downside of not directly using IndexedDB, is that your data is not persistent all the time. And when the JavaScript process exists without having persisted to IndexedDB, data can be lost. To prevent this from happening, we have to ensure that the in-memory state is written down to the disc. One point is make persisting as fast as possible. LokiJS for example has the ",(0,i.jsx)(n.code,{children:"incremental-indexeddb-adapter"})," which only saves new writes to the disc instead of persisting the whole state. Another point is to run the persisting at the correct point in time. For example the RxDB ",(0,i.jsx)(n.a,{href:"https://rxdb.info/rx-storage-lokijs.html",children:"LokiJS storage"})," persists in the following situations:"]}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsx)(n.li,{children:"When the database is idle and no write or query is running. In that time we can persist the state if any new writes appeared before."}),"\n",(0,i.jsxs)(n.li,{children:["When the ",(0,i.jsx)(n.code,{children:"window"})," fires the ",(0,i.jsx)(n.a,{href:"https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onbeforeunload",children:"beforeunload event"})," we can assume that the JavaScript process is exited any moment and we have to persist the state. After ",(0,i.jsx)(n.code,{children:"beforeunload"})," there are several seconds time which are sufficient to store all new changes. This has shown to work quite reliable."]}),"\n"]}),"\n",(0,i.jsx)(n.p,{children:"The only missing event that can happen is when the browser exists unexpectedly like when it crashes or when the power of the computer is shut of."}),"\n",(0,i.jsx)(n.h3,{id:"in-memory-multi-tab-support",children:"In-Memory: Multi Tab Support"}),"\n",(0,i.jsx)(n.p,{children:"One big difference between a web application and a 'normal' app, is that your users can use the app in multiple browser tabs at the same time. But when you have all database state in memory and only periodically write it to disc, multiple browser tabs could overwrite each other and you would loose data. This might not be a problem when you rely on a client-server replication, because the lost data might already be replicated with the backend and therefore with the other tabs. But this would not work when the client is offline."}),"\n",(0,i.jsxs)(n.p,{children:["The ideal way to solve that problem, is to use a ",(0,i.jsx)(n.a,{href:"https://developer.mozilla.org/en/docs/Web/API/SharedWorker",children:"SharedWorker"}),". A ",(0,i.jsx)(n.a,{href:"/rx-storage-shared-worker.html",children:"SharedWorker"})," is like a ",(0,i.jsx)(n.a,{href:"https://developer.mozilla.org/en/docs/Web/API/Web_Workers_API",children:"WebWorker"})," that runs its own JavaScript process only that the SharedWorker is shared between multiple contexts. You could create the database in the SharedWorker and then all browser tabs could request the Worker for data instead of having their own database. But unfortunately the SharedWorker API does ",(0,i.jsx)(n.a,{href:"https://caniuse.com/sharedworkers",children:"not work"})," in all browsers. Safari ",(0,i.jsx)(n.a,{href:"https://bugs.webkit.org/show_bug.cgi?id=140344",children:"dropped"})," its support and InternetExplorer or Android Chrome, never adopted it. Also it cannot be polyfilled. ",(0,i.jsx)(n.strong,{children:"UPDATE:"})," ",(0,i.jsx)(n.a,{href:"https://developer.apple.com/safari/technology-preview/release-notes/",children:"Apple added SharedWorkers back in Safari 142"})]}),"\n",(0,i.jsxs)(n.p,{children:["Instead, we could use the ",(0,i.jsx)(n.a,{href:"https://developer.mozilla.org/en-US/docs/Web/API/Broadcast_Channel_API",children:"BroadcastChannel API"})," to communicate between tabs and then apply a ",(0,i.jsx)(n.a,{href:"https://github.com/pubkey/broadcast-channel#using-the-leaderelection",children:"leader election"})," between them. The ",(0,i.jsx)(n.a,{href:"/leader-election.html",children:"leader election"})," ensures that, no matter how many tabs are open, always one tab is the ",(0,i.jsx)(n.code,{children:"Leader"}),"."]}),"\n",(0,i.jsx)("p",{align:"center",children:(0,i.jsx)("img",{src:"./files/leader-election.gif",alt:"Leader Election",width:"500"})}),"\n",(0,i.jsx)(n.p,{children:"The disadvantage is that the leader election process takes some time on the initial page load (about 150 milliseconds). Also the leader election can break when a JavaScript process is fully blocked for a longer time. When this happens, a good way is to just reload the browser tab to restart the election process."}),"\n",(0,i.jsx)(n.h2,{id:"further-read",children:"Further read"}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsx)(n.li,{children:(0,i.jsx)(n.a,{href:"https://github.com/pubkey/client-side-databases",children:"Offline First Database Comparison"})}),"\n",(0,i.jsx)(n.li,{children:(0,i.jsx)(n.a,{href:"https://nolanlawson.com/2021/08/22/speeding-up-indexeddb-reads-and-writes/",children:"Speeding up IndexedDB reads and writes"})}),"\n",(0,i.jsx)(n.li,{children:(0,i.jsx)(n.a,{href:"https://hackaday.com/2021/08/24/sqlite-on-the-web-absurd-sql/",children:"SQLITE ON THE WEB: ABSURD-SQL"})}),"\n",(0,i.jsx)(n.li,{children:(0,i.jsx)(n.a,{href:"https://anita-app.com/blog/articles/sqlite-in-a-pwa-with-file-system-access-api.html",children:"SQLite in a PWA with FileSystemAccessAPI"})}),"\n",(0,i.jsx)(n.li,{children:(0,i.jsx)(n.a,{href:"https://ravendb.net/articles/re-why-indexeddb-is-slow-and-what-to-use-instead",children:"Response to this article by Oren Eini"})}),"\n"]})]})}function h(e={}){const{wrapper:n}={...(0,t.R)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(c,{...e})}):c(e)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/8b4bf532.36358d72.js b/docs/assets/js/8b4bf532.36358d72.js
deleted file mode 100644
index 0e2518c0c54..00000000000
--- a/docs/assets/js/8b4bf532.36358d72.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[4027],{7507(e,a,t){t.r(a),t.d(a,{default:()=>r});var i=t(544),n=t(4848);function r(){return(0,i.default)({sem:{id:"gads",metaTitle:"The NoSQL Database for JavaScript Applications",title:(0,n.jsxs)(n.Fragment,{children:["The easiest way to ",(0,n.jsx)("b",{children:"store"})," and ",(0,n.jsx)("b",{children:"sync"})," NoSQL Data"]}),text:(0,n.jsx)(n.Fragment,{children:"Store NoSQL data inside your App to build high performance realtime applications that sync data with the backend and even work when offline."})}})}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/8bc07e20.d1b7c7db.js b/docs/assets/js/8bc07e20.d1b7c7db.js
deleted file mode 100644
index 3bd656dc92e..00000000000
--- a/docs/assets/js/8bc07e20.d1b7c7db.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[1850],{3247(e,s,r){r.d(s,{g:()=>i});var n=r(4848);function i(e){const s=[];let r=null;return e.children.forEach(e=>{e.props.id?(r&&s.push(r),r={headline:e,paragraphs:[]}):r&&r.paragraphs.push(e)}),r&&s.push(r),(0,n.jsx)("div",{style:a.stepsContainer,children:s.map((e,s)=>(0,n.jsxs)("div",{style:a.stepWrapper,children:[(0,n.jsxs)("div",{style:a.stepIndicator,children:[(0,n.jsx)("div",{style:a.stepNumber,children:s+1}),(0,n.jsx)("div",{style:a.verticalLine})]}),(0,n.jsxs)("div",{style:a.stepContent,children:[(0,n.jsx)("div",{children:e.headline}),e.paragraphs.map((e,s)=>(0,n.jsx)("div",{style:a.item,children:e},s))]})]},s))})}const a={stepsContainer:{display:"flex",flexDirection:"column"},stepWrapper:{display:"flex",alignItems:"stretch",marginBottom:"1.5rem",position:"relative",minWidth:0},stepIndicator:{position:"relative",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"flex-start",width:"33px",marginRight:"1rem",minWidth:0},stepNumber:{width:"33px",height:"33px",borderRadius:"50%",backgroundColor:"var(--color-top)",color:"#fff",display:"flex",alignItems:"center",justifyContent:"center",fontWeight:"bold",marginTop:-4},verticalLine:{position:"absolute",top:29,bottom:"0",left:"50%",width:"1px",background:"linear-gradient(to bottom, var(--color-top) 0%, var(--color-top) 80%, rgba(0,0,0,0) 100%)",transform:"translateX(-50%)"},stepContent:{flex:1,minWidth:0,overflowWrap:"break-word"},item:{marginTop:"0.5rem"}}},3628(e,s,r){r.r(s),r.d(s,{assets:()=>d,contentTitle:()=>c,default:()=>x,frontMatter:()=>l,metadata:()=>n,toc:()=>h});const n=JSON.parse('{"id":"capacitor-database","title":"Capacitor Database Guide - SQLite, RxDB & More","description":"Explore Capacitor\'s top data storage solutions - from key-value to real-time databases. Compare SQLite, RxDB, and more in this in-depth guide.","source":"@site/docs/capacitor-database.md","sourceDirName":".","slug":"/capacitor-database.html","permalink":"/capacitor-database.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"Capacitor Database Guide - SQLite, RxDB & More","slug":"capacitor-database.html","description":"Explore Capacitor\'s top data storage solutions - from key-value to real-time databases. Compare SQLite, RxDB, and more in this in-depth guide."},"sidebar":"tutorialSidebar","previous":{"title":"IndexedDB Database in React Apps - The Power of RxDB","permalink":"/articles/react-indexeddb.html"},"next":{"title":"Alternatives for realtime local-first JavaScript applications and local databases","permalink":"/alternatives.html"}}');var i=r(4848),a=r(8453),o=r(2636),t=r(3247);const l={title:"Capacitor Database Guide - SQLite, RxDB & More",slug:"capacitor-database.html",description:"Explore Capacitor's top data storage solutions - from key-value to real-time databases. Compare SQLite, RxDB, and more in this in-depth guide."},c="Capacitor Database - SQLite, RxDB and others",d={},h=[{value:"Database Solutions for Capacitor",id:"database-solutions-for-capacitor",level:2},{value:"Preferences API",id:"preferences-api",level:3},{value:"Localstorage/IndexedDB/WebSQL",id:"localstorageindexeddbwebsql",level:3},{value:"SQLite",id:"sqlite",level:3},{value:"RxDB",id:"rxdb",level:3},{value:"Import RxDB and SQLite",id:"import-rxdb-and-sqlite",level:3},{value:"Import the RxDB SQLite Storage",id:"import-the-rxdb-sqlite-storage",level:3},{value:"RxDB Core",id:"rxdb-core",level:4},{value:"RxDB Premium \ud83d\udc51",id:"rxdb-premium-",level:4},{value:"Create a Database with the Storage",id:"create-a-database-with-the-storage",level:3},{value:"RxDB Core",id:"rxdb-core-1",level:4},{value:"RxDB Premium \ud83d\udc51",id:"rxdb-premium--1",level:4},{value:"Add a Collection",id:"add-a-collection",level:3},{value:"Insert a Document",id:"insert-a-document",level:3},{value:"Run a Query",id:"run-a-query",level:3},{value:"Observe a Query",id:"observe-a-query",level:3},{value:"Follow up",id:"follow-up",level:2}];function p(e){const s={a:"a",code:"code",figure:"figure",h1:"h1",h2:"h2",h3:"h3",h4:"h4",header:"header",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...(0,a.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s.header,{children:(0,i.jsx)(s.h1,{id:"capacitor-database---sqlite-rxdb-and-others",children:"Capacitor Database - SQLite, RxDB and others"})}),"\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.a,{href:"https://capacitorjs.com/",children:"Capacitor"})," is an open source native JavaScript runtime to build Web based Native apps. You can use it to create cross-platform iOS, Android, and Progressive Web Apps with the web technologies JavaScript, HTML, and CSS.\nIt is developed by the Ionic Team and provides a great alternative to create hybrid apps. Compared to ",(0,i.jsx)(s.a,{href:"/react-native-database.html",children:"React Native"}),", Capacitor is more Web-Like because the JavaScript runtime supports most Web APIs like IndexedDB, fetch, and so on."]}),"\n",(0,i.jsx)(s.p,{children:"To read and write persistent data in Capacitor, there are multiple solutions which are shown in the following."}),"\n",(0,i.jsx)("p",{align:"center",children:(0,i.jsx)("img",{src:"./files/icons/capacitor.svg",alt:"Capacitor",width:"50"})}),"\n",(0,i.jsx)(s.h2,{id:"database-solutions-for-capacitor",children:"Database Solutions for Capacitor"}),"\n",(0,i.jsx)(s.h3,{id:"preferences-api",children:"Preferences API"}),"\n",(0,i.jsxs)(s.p,{children:["Capacitor comes with a native ",(0,i.jsx)(s.a,{href:"https://capacitorjs.com/docs/apis/preferences",children:"Preferences API"})," which is a simple, persistent key->value store for lightweight data, similar to the browsers localstorage or React Native ",(0,i.jsx)(s.a,{href:"/react-native-database.html#asyncstorage",children:"AsyncStorage"}),"."]}),"\n",(0,i.jsxs)(s.p,{children:["To use it, you first have to install it from npm ",(0,i.jsx)(s.code,{children:"npm install @capacitor/preferences"})," and then you can import it and write/read data.\nNotice that all calls to the preferences API are asynchronous so they return a ",(0,i.jsx)(s.code,{children:"Promise"})," that must be ",(0,i.jsx)(s.code,{children:"await"}),"-ed."]}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { Preferences } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" '@capacitor/preferences'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// write"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" Preferences"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".set"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" key"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'foo'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" value"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'baar'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// read"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"value"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" Preferences"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".get"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({ key"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'foo'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }); "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// > 'bar'"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// delete"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" Preferences"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".remove"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({ key"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'foo'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" });"})]})]})})}),"\n",(0,i.jsx)(s.p,{children:"The preferences API is good when only a small amount of data needs to be stored and when no query capabilities besides the key access are required. Complex queries or other features like indexes or replication are not supported which makes the preferences API not suitable for anything more than storing simple data like user settings."}),"\n",(0,i.jsx)(s.h3,{id:"localstorageindexeddbwebsql",children:"Localstorage/IndexedDB/WebSQL"}),"\n",(0,i.jsxs)(s.p,{children:["Since Capacitor apps run in a web view, Web APIs like IndexedDB, ",(0,i.jsx)(s.a,{href:"/articles/localstorage.html",children:"Localstorage"})," and WebSQL are available. But the default browser behavior is to clean up these storages regularly when they are not in use for a long time or the device is low on space. Therefore you cannot 100% rely on the persistence of the stored data and your application needs to expect that the data will be lost eventually."]}),"\n",(0,i.jsx)(s.p,{children:"Storing data in these storages can be done in browsers, because there is no other option. But in Capacitor iOS and Android, you should not rely on these."}),"\n",(0,i.jsx)(s.h3,{id:"sqlite",children:"SQLite"}),"\n",(0,i.jsx)(s.p,{children:"SQLite is a SQL based relational database written in C that was crafted to be embed inside of applications. Operations are written in the SQL query language and SQLite generally follows the PostgreSQL syntax."}),"\n",(0,i.jsx)(s.p,{children:"To use SQLite in Capacitor, there are three options:"}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:["The ",(0,i.jsx)(s.a,{href:"https://github.com/capacitor-community/sqlite",children:"@capacitor-community/sqlite"})," package"]}),"\n",(0,i.jsxs)(s.li,{children:["The ",(0,i.jsx)(s.a,{href:"https://github.com/storesafe/cordova-sqlite-storage",children:"cordova-sqlite-storage"})," package"]}),"\n",(0,i.jsxs)(s.li,{children:["The non-free ",(0,i.jsx)(s.a,{href:"/articles/ionic-database.html",children:"Ionic"})," ",(0,i.jsx)(s.a,{href:"https://ionic.io/products/secure-storage",children:"Secure Storage"})," which comes at ",(0,i.jsx)(s.strong,{children:"999$"})," per month."]}),"\n"]}),"\n",(0,i.jsxs)(s.p,{children:["It is recommended to use the ",(0,i.jsx)(s.code,{children:"@capacitor-community/sqlite"})," because it has the best maintenance and is open source. Install it first ",(0,i.jsx)(s.code,{children:"npm install --save @capacitor-community/sqlite"})," and then set the storage location for iOS apps:"]}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"json","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"json","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"{"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:' "plugins"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:' "CapacitorSQLite"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:' "iosDatabaseLocation"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "Library/CapacitorDatabase"'})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"}"})})]})})}),"\n",(0,i.jsx)(s.p,{children:"Now you can create a database connection and use the SQLite database."}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { Capacitor } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" '@capacitor/core'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" CapacitorSQLite"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" SQLiteDBConnection"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" SQLiteConnection"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" capSQLiteSet"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" capSQLiteChanges"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" capSQLiteValues"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" capEchoResult"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" capSQLiteResult"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" capNCDatabasePathResult"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" '@capacitor-community/sqlite'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" sqlite"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" new"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" SQLiteConnection"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(CapacitorSQLite);"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" database"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" SQLiteDBConnection"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" this"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"sqlite"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".createConnection"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" databaseName"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" encrypted"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" mode"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" version"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" readOnly"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"let"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { rows } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" database"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".query"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'SELECT somevalue FROM sometable'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})]})]})})}),"\n",(0,i.jsx)(s.p,{children:"The downside of SQLite is that it is lacking many features that are handful when using a database together with an UI based application like your Capacitor app. For example it is not possible to observe queries or document fields. Also there is no realtime replication feature, you can only import json files. This makes SQLite a good solution when you just want to store data on the client, but when you want to sync data with a server or other clients or create big complex realtime applications, you have to use something else."}),"\n",(0,i.jsx)(s.h3,{id:"rxdb",children:"RxDB"}),"\n",(0,i.jsx)("p",{align:"center",children:(0,i.jsx)("img",{src:"./files/logo/rxdb_javascript_database.svg",alt:"RxDB",width:"170"})}),"\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.a,{href:"https://rxdb.info/",children:"RxDB"})," is an local first, NoSQL database for JavaScript Applications like hybrid apps. Because it is reactive, you can subscribe to all state changes like the result of a query or even a single field of a document. This is great for UI-based realtime applications in a way that makes it easy to develop realtime applications like what you need in Capacitor."]}),"\n",(0,i.jsxs)(s.p,{children:["Because RxDB is made for Web applications, most of the ",(0,i.jsx)(s.a,{href:"/rx-storage.html",children:"available RxStorage"})," plugins can be used to store and query data in a Capacitor app. However it is recommended to use the ",(0,i.jsx)(s.a,{href:"/rx-storage-sqlite.html",children:"SQLite RxStorage"})," because it stores the data on the filesystem of the device, not in the JavaScript runtime (like IndexedDB). Storing data on the filesystem ensures it is persistent and will not be cleaned up by any process. Also the performance of SQLite is ",(0,i.jsx)(s.a,{href:"/rx-storage.html#performance-comparison",children:"much faster"})," compared to IndexedDB, because SQLite does not have to go through a browsers permission layers. For the SQLite binding you should use the ",(0,i.jsx)(s.a,{href:"https://github.com/capacitor-community/sqlite",children:"@capacitor-community/sqlite"})," package."]}),"\n",(0,i.jsxs)(s.p,{children:["Because the SQLite RxStorage is part of the ",(0,i.jsx)(s.a,{href:"/premium/",children:"\ud83d\udc51 Premium Plugins"})," which must be purchased, it is recommended to use the ",(0,i.jsx)(s.a,{href:"/rx-storage-localstorage.html",children:"LocalStorage RxStorage"})," while testing and prototyping your Capacitor app."]}),"\n",(0,i.jsxs)(s.p,{children:["To use the SQLite RxStorage in Capacitor you have to install all dependencies via ",(0,i.jsx)(s.code,{children:"npm install rxdb rxjs rxdb-premium @capacitor-community/sqlite"}),"."]}),"\n",(0,i.jsx)(s.p,{children:"For iOS apps you should add a database location in your Capacitor settings:"}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"json","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"json","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"{"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:' "plugins"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:' "CapacitorSQLite"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:' "iosDatabaseLocation"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "Library/CapacitorDatabase"'})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"}"})})]})})}),"\n",(0,i.jsx)(s.p,{children:"Then you can assemble the RxStorage and create a database with it:"}),"\n",(0,i.jsxs)(t.g,{children:[(0,i.jsx)(s.h3,{id:"import-rxdb-and-sqlite",children:"Import RxDB and SQLite"}),(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" createRxDatabase"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/core'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" CapacitorSQLite"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" SQLiteConnection"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" '@capacitor-community/sqlite'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { Capacitor } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" '@capacitor/core'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" sqlite"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" new"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" SQLiteConnection"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(CapacitorSQLite);"})]})]})})}),(0,i.jsx)(s.h3,{id:"import-the-rxdb-sqlite-storage",children:"Import the RxDB SQLite Storage"}),(0,i.jsxs)(o.t,{children:[(0,i.jsx)(s.h4,{id:"rxdb-core",children:"RxDB Core"}),(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" getRxStorageSQLiteTrial"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" getSQLiteBasicsCapacitor"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/storage-sqlite'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]})]})})}),(0,i.jsx)(s.h4,{id:"rxdb-premium-",children:"RxDB Premium \ud83d\udc51"}),(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" getRxStorageSQLite"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" getSQLiteBasicsCapacitor"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb-premium/plugins/storage-sqlite'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]})]})})})]}),(0,i.jsx)(s.h3,{id:"create-a-database-with-the-storage",children:"Create a Database with the Storage"}),(0,i.jsxs)(o.t,{children:[(0,i.jsx)(s.h4,{id:"rxdb-core-1",children:"RxDB Core"}),(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// create database"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" myRxDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'exampledb'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageSQLiteTrial"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" sqliteBasics"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getSQLiteBasicsCapacitor"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(sqlite"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" Capacitor)"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" })"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),(0,i.jsx)(s.h4,{id:"rxdb-premium--1",children:"RxDB Premium \ud83d\udc51"}),(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// create database"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" myRxDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'exampledb'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageSQLite"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" sqliteBasics"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getSQLiteBasicsCapacitor"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(sqlite"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" Capacitor)"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" })"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})})]}),(0,i.jsx)(s.h3,{id:"add-a-collection",children:"Add a Collection"}),(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// create collections"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" collections"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" myRxDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".addCollections"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" humans"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" schema"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" version"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 0"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'object'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" primaryKey"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'id'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" properties"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" id"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { type"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" maxLength"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 100"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { type"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" age"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { type"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'number'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" required"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ["}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'id'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'name'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"]"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),(0,i.jsx)(s.h3,{id:"insert-a-document",children:"Insert a Document"}),(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsx)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" collections"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"humans"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".insert"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({id"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'foo'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'bar'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})]})})})}),(0,i.jsx)(s.h3,{id:"run-a-query",children:"Run a Query"}),(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" result"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" collections"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"humans"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".find"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" selector"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'bar'"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"})"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".exec"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]})]})})}),(0,i.jsx)(s.h3,{id:"observe-a-query",children:"Observe a Query"}),(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" collections"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"humans"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".find"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" selector"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'bar'"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"})."}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"$"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".subscribe"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(result "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"/* ... */"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})]})]})})})]}),"\n",(0,i.jsx)(s.h2,{id:"follow-up",children:"Follow up"}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:["If you haven't done yet, you should start learning about RxDB with the ",(0,i.jsx)(s.a,{href:"/quickstart.html",children:"Quickstart Tutorial"}),"."]}),"\n",(0,i.jsxs)(s.li,{children:["There is a followup list of other ",(0,i.jsx)(s.a,{href:"/alternatives.html",children:"client side database alternatives"}),"."]}),"\n"]})]})}function x(e={}){const{wrapper:s}={...(0,a.R)(),...e.components};return s?(0,i.jsx)(s,{...e,children:(0,i.jsx)(p,{...e})}):p(e)}},8453(e,s,r){r.d(s,{R:()=>o,x:()=>t});var n=r(6540);const i={},a=n.createContext(i);function o(e){const s=n.useContext(a);return n.useMemo(function(){return"function"==typeof e?e(s):{...s,...e}},[s,e])}function t(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:o(e.components),n.createElement(a.Provider,{value:s},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/8bc82b1f.9df61a79.js b/docs/assets/js/8bc82b1f.9df61a79.js
deleted file mode 100644
index 26fd09299ed..00000000000
--- a/docs/assets/js/8bc82b1f.9df61a79.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[9997],{2591(e,n,s){s.r(n),s.d(n,{assets:()=>t,contentTitle:()=>a,default:()=>h,frontMatter:()=>l,metadata:()=>r,toc:()=>c});const r=JSON.parse('{"id":"rx-pipeline","title":"RxPipeline - Automate Data Flows in RxDB","description":"Discover how RxPipeline automates your data workflows. Seamlessly process writes, manage leader election, and ensure crash-safe operations in RxDB.","source":"@site/docs/rx-pipeline.md","sourceDirName":".","slug":"/rx-pipeline.html","permalink":"/rx-pipeline.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"RxPipeline - Automate Data Flows in RxDB","slug":"rx-pipeline.html","description":"Discover how RxPipeline automates your data workflows. Seamlessly process writes, manage leader election, and ensure crash-safe operations in RxDB."},"sidebar":"tutorialSidebar","previous":{"title":"Attachments","permalink":"/rx-attachment.html"},"next":{"title":"Custom Reactivity","permalink":"/reactivity.html"}}');var i=s(4848),o=s(8453);const l={title:"RxPipeline - Automate Data Flows in RxDB",slug:"rx-pipeline.html",description:"Discover how RxPipeline automates your data workflows. Seamlessly process writes, manage leader election, and ensure crash-safe operations in RxDB."},a="RxPipeline",t={},c=[{value:"Creating a RxPipeline",id:"creating-a-rxpipeline",level:2},{value:"Use Cases for RxPipeline",id:"use-cases-for-rxpipeline",level:2},{value:"UseCase: Re-Index data that comes from replication",id:"usecase-re-index-data-that-comes-from-replication",level:3},{value:"UseCase: Fulltext Search",id:"usecase-fulltext-search",level:3},{value:"UseCase: Download data based on source documents",id:"usecase-download-data-based-on-source-documents",level:3},{value:"RxPipeline methods",id:"rxpipeline-methods",level:2},{value:"awaitIdle()",id:"awaitidle",level:3},{value:"close()",id:"close",level:3},{value:"remove()",id:"remove",level:3},{value:"Using RxPipeline correctly",id:"using-rxpipeline-correctly",level:2},{value:"Pipeline handlers must be idempotent",id:"pipeline-handlers-must-be-idempotent",level:3},{value:"Pipeline handlers must not throw",id:"pipeline-handlers-must-not-throw",level:3},{value:"Be careful when doing http requests in the handler",id:"be-careful-when-doing-http-requests-in-the-handler",level:3},{value:"Pipelines temporarily block external reads and writes",id:"pipelines-temporarily-block-external-reads-and-writes",level:3}];function d(e){const n={a:"a",code:"code",figure:"figure",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...(0,o.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.header,{children:(0,i.jsx)(n.h1,{id:"rxpipeline",children:"RxPipeline"})}),"\n",(0,i.jsx)(n.p,{children:"The RxPipeline plugin enables you to run operations depending on writes to a collection.\nWhenever a write happens on the source collection of a pipeline, a handler is called to process the writes and run operations on another collection."}),"\n",(0,i.jsx)(n.p,{children:"You could have a similar behavior by observing the collection stream and process data on emits:"}),"\n",(0,i.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsx)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"mySourceCollection"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"$"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".subscribe"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(event "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"/* ...process...*/"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})]})})})}),"\n",(0,i.jsx)(n.p,{children:"While this could work in some cases, it causes many problems that are fixed by using the pipeline plugin instead:"}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:["In an RxPipeline, only the ",(0,i.jsx)(n.a,{href:"/leader-election.html",children:"Leading Instance"})," runs the operations. For example when you have multiple browser tabs open, only one will run the processing and when that tab is closed, another tab will become elected leader and continue the pipeline processing."]}),"\n",(0,i.jsx)(n.li,{children:"On sudden stops and restarts of the JavaScript process, the processing will continue at the correct checkpoint and not miss out any documents even on unexpected crashes."}),"\n",(0,i.jsx)(n.li,{children:"Reads/Writes on the destination collection are halted while the pipeline is processing. This ensures your queries only return fully processed documents and no partial results. So when you run a query to the destination collection directly after a write to the source collection, you can be sure your query results are up to date and the pipeline has already been run at the moment the query resolved:"}),"\n"]}),"\n",(0,i.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" mySourceCollection"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".insert"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"/* ... */"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"/**"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * Because our pipeline blocks reads to the destination,"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * we know that the result array contains data created"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * on top of the previously inserted documents."})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" result"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" myDestinationCollection"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".find"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"()"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".exec"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]})]})})}),"\n",(0,i.jsx)(n.h2,{id:"creating-a-rxpipeline",children:"Creating a RxPipeline"}),"\n",(0,i.jsxs)(n.p,{children:["Pipelines are created on top of a source ",(0,i.jsx)(n.a,{href:"/rx-collection.html",children:"RxCollection"})," and have another ",(0,i.jsx)(n.code,{children:"RxCollection"})," as destination. An identifier is used to identify the state of the pipeline so that different pipelines have a different processing checkpoint state. A plain JavaScript function ",(0,i.jsx)(n.code,{children:"handler"})," is used to process the data of the source collection writes."]}),"\n",(0,i.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" pipeline"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" mySourceCollection"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".addPipeline"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" identifier"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'my-pipeline'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" destination"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" myDestinationCollection"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" handler"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" async"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" (docs) "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * Here you can process the documents and write to"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * the destination collection."})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" for"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" ("}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" doc"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" of"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" docs) {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" myDestinationCollection"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".insert"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" id"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" doc"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:".primary"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" category"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" doc"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:".category"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" });"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,i.jsx)(n.h2,{id:"use-cases-for-rxpipeline",children:"Use Cases for RxPipeline"}),"\n",(0,i.jsx)(n.p,{children:"The RxPipeline is a handy building block for different features and plugins. You can use it to aggregate data or restructure local data."}),"\n",(0,i.jsx)(n.h3,{id:"usecase-re-index-data-that-comes-from-replication",children:"UseCase: Re-Index data that comes from replication"}),"\n",(0,i.jsxs)(n.p,{children:["Sometimes you want to ",(0,i.jsx)(n.a,{href:"/replication.html",children:"replicate"})," atomic documents over the wire but locally you want to split these documents for better indexing. For example you replicate email documents that have multiple receivers in a string-array. While string-arrays cannot be indexed, locally you need a way to query for all emails of a given receiver.\nTo handle this case you can set up a RxPipeline that writes the mapping into a separate collection:"]}),"\n",(0,i.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" pipeline"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" emailCollection"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".addPipeline"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" identifier"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'map-email-receivers'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" destination"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" emailByReceiverCollection"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" handler"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" async"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" (docs) "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" for"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" ("}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" doc"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" of"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" docs) {"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // remove previous mapping"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" emailByReceiverCollection"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".find"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({emailId"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" doc"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:".primary})"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".remove"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // add new mapping"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" if"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"!"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"doc"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:".deleted) {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" emailByReceiverCollection"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".bulkInsert"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" doc"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"receivers"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".map"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(receiver "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" ({"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" emailId"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" doc"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:".primary"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" receiver"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" receiver"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }))"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" );"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,i.jsx)(n.p,{children:'With this you can efficiently query for "all emails that a person received" by running:'}),"\n",(0,i.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" mailIds"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" emailByReceiverCollection"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".find"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" receiver"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'foobar@example.com'"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"})"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".exec"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]})]})})}),"\n",(0,i.jsx)(n.h3,{id:"usecase-fulltext-search",children:"UseCase: Fulltext Search"}),"\n",(0,i.jsx)(n.p,{children:"You can utilize the pipeline plugin to index text data for efficient fulltext search."}),"\n",(0,i.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" pipeline"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" emailCollection"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".addPipeline"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" identifier"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'email-fulltext-search'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" destination"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" mailByWordCollection"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" handler"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" async"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" (docs) "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" for"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" ("}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" doc"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" of"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" docs) {"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // remove previous mapping"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" mailByWordCollection"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".find"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({emailId"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" doc"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:".primary})"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".remove"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // add new mapping"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" if"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"!"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"doc"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:".deleted) {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" words"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" doc"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"text"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".split"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:"' '"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" mailByWordCollection"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".bulkInsert"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" words"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".map"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(word "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" ({"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" emailId"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" doc"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:".primary"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" word"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" word"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }))"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" );"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,i.jsx)(n.p,{children:'With this you can efficiently query for "all emails that contain a given word" by running:'}),"\n",(0,i.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsx)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" mailIds"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" emailByReceiverCollection"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".find"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({word"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'foobar'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"})"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".exec"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]})})})}),"\n",(0,i.jsx)(n.h3,{id:"usecase-download-data-based-on-source-documents",children:"UseCase: Download data based on source documents"}),"\n",(0,i.jsx)(n.p,{children:"When you have to fetch data for each document of a collection from a server, you can use the pipeline to ensure all documents have their data downloaded and no document is missed."}),"\n",(0,i.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" pipeline"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" emailCollection"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".addPipeline"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" identifier"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'download-data'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" destination"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" serverDataCollection"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" handler"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" async"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" (docs) "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" for"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" ("}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" doc"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" of"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" docs) {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" response"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" fetch"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'https://example.com/doc/'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" +"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" doc"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:".primary);"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" serverData"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" response"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".json"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" serverDataCollection"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".upsert"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" id"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" doc"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:".primary"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" data"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" serverData"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" });"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,i.jsx)(n.h2,{id:"rxpipeline-methods",children:"RxPipeline methods"}),"\n",(0,i.jsx)(n.h3,{id:"awaitidle",children:"awaitIdle()"}),"\n",(0,i.jsxs)(n.p,{children:["You can await the idleness of a pipeline with ",(0,i.jsx)(n.code,{children:"await myRxPipeline.awaitIdle()"}),". This will await a promise that resolves when the pipeline has processed all documents and is not running anymore."]}),"\n",(0,i.jsx)(n.h3,{id:"close",children:"close()"}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.code,{children:"await myRxPipeline.close()"})," stops the pipeline so that it is no longer doing stuff. This is automatically called when the RxCollection or RxDatabase of the pipeline is closed."]}),"\n",(0,i.jsx)(n.h3,{id:"remove",children:"remove()"}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.code,{children:"await myRxPipeline.remove()"})," removes the pipeline and all metadata which it has stored. Recreating the pipeline afterwards will start processing all source documents from scratch."]}),"\n",(0,i.jsx)(n.h2,{id:"using-rxpipeline-correctly",children:"Using RxPipeline correctly"}),"\n",(0,i.jsx)(n.h3,{id:"pipeline-handlers-must-be-idempotent",children:"Pipeline handlers must be idempotent"}),"\n",(0,i.jsx)(n.p,{children:"Because a JavaScript process can exit at any time, like when the user closes a browser tab, the pipeline handler function must be idempotent. This means when it only runs partially and is started again with the same input, it should still end up in the correct result."}),"\n",(0,i.jsx)(n.h3,{id:"pipeline-handlers-must-not-throw",children:"Pipeline handlers must not throw"}),"\n",(0,i.jsxs)(n.p,{children:["Pipeline handlers must never throw. If you run operations inside of the handler that might cause errors, you must wrap the handler's code with a ",(0,i.jsx)(n.code,{children:"try-catch"})," by yourself and also handle retries. If your handler throws, your pipeline will be stuck and no longer be usable, which should never happen."]}),"\n",(0,i.jsx)(n.h3,{id:"be-careful-when-doing-http-requests-in-the-handler",children:"Be careful when doing http requests in the handler"}),"\n",(0,i.jsxs)(n.p,{children:["When you run http requests inside of your handler, you no longer have an ",(0,i.jsx)(n.a,{href:"/offline-first.html",children:"offline first"})," application because reads to the destination collection will be blocked until all handlers have finished. When your client is offline, therefore the collection will be blocked for reads and writes."]}),"\n",(0,i.jsx)(n.h3,{id:"pipelines-temporarily-block-external-reads-and-writes",children:"Pipelines temporarily block external reads and writes"}),"\n",(0,i.jsxs)(n.p,{children:["While a pipeline is running, ",(0,i.jsx)(n.strong,{children:"all reads and writes to its destination collection are blocked"}),". This guarantees that queries never observe partially processed data, but it also means that pipelines can block each other if they interact incorrectly."]}),"\n",(0,i.jsx)(n.p,{children:"Problems occur when multiple pipelines:"}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsx)(n.li,{children:"read or write across the same collections, or"}),"\n",(0,i.jsxs)(n.li,{children:["wait for each other using ",(0,i.jsx)(n.code,{children:"awaitIdle()"})," from inside a pipeline handler."]}),"\n"]}),"\n",(0,i.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// Example of a deadlock"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// Pipeline A: files \u2192 files (reads folders)"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" pipelineA"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"files"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".addPipeline"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" identifier"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'file-path-sync'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" destination"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:".files"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" handler"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" async"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" (docs) "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" folders"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" folders"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".find"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"()"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".exec"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(); "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// can block"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /* ... */"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// Pipeline B: files \u2192 folders (waits for A)"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"folders"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".addPipeline"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" identifier"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'file-count'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" destination"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:".folders"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" handler"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" async"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" () "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" pipelineA"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".awaitIdle"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(); "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// \u274c may deadlock"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /* ... */"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,i.jsx)(n.p,{children:"To prevent deadlocks, consider:"}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:["Never call ",(0,i.jsx)(n.code,{children:"awaitIdle()"})," inside a pipeline handler."]}),"\n",(0,i.jsx)(n.li,{children:"Avoid circular dependencies between pipelines."}),"\n",(0,i.jsx)(n.li,{children:"Prefer one-directional data flow."}),"\n"]})]})}function h(e={}){const{wrapper:n}={...(0,o.R)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(d,{...e})}):d(e)}},8453(e,n,s){s.d(n,{R:()=>l,x:()=>a});var r=s(6540);const i={},o=r.createContext(i);function l(e){const n=r.useContext(o);return r.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function a(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:l(e.components),r.createElement(o.Provider,{value:n},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/8bfd920a.7d84a9e9.js b/docs/assets/js/8bfd920a.7d84a9e9.js
deleted file mode 100644
index 7847091bdad..00000000000
--- a/docs/assets/js/8bfd920a.7d84a9e9.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[2631],{8453(e,s,n){n.d(s,{R:()=>l,x:()=>a});var r=n(6540);const i={},o=r.createContext(i);function l(e){const s=r.useContext(o);return r.useMemo(function(){return"function"==typeof e?e(s):{...s,...e}},[s,e])}function a(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:l(e.components),r.createElement(o.Provider,{value:s},e.children)}},9678(e,s,n){n.r(s),n.d(s,{assets:()=>t,contentTitle:()=>a,default:()=>h,frontMatter:()=>l,metadata:()=>r,toc:()=>c});const r=JSON.parse('{"id":"articles/ionic-storage","title":"RxDB - Local Ionic Storage with Encryption, Compression & Sync","description":"The best Ionic storage solution? RxDB empowers your hybrid apps with offline-first capabilities, secure encryption, data compression, and seamless data syncing to any backend.","source":"@site/docs/articles/ionic-storage.md","sourceDirName":"articles","slug":"/articles/ionic-storage.html","permalink":"/articles/ionic-storage.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"RxDB - Local Ionic Storage with Encryption, Compression & Sync","slug":"ionic-storage.html","description":"The best Ionic storage solution? RxDB empowers your hybrid apps with offline-first capabilities, secure encryption, data compression, and seamless data syncing to any backend."},"sidebar":"tutorialSidebar","previous":{"title":"RxDB - The Perfect Ionic Database","permalink":"/articles/ionic-database.html"},"next":{"title":"RxDB - The JSON Database Built for JavaScript","permalink":"/articles/json-database.html"}}');var i=n(4848),o=n(8453);const l={title:"RxDB - Local Ionic Storage with Encryption, Compression & Sync",slug:"ionic-storage.html",description:"The best Ionic storage solution? RxDB empowers your hybrid apps with offline-first capabilities, secure encryption, data compression, and seamless data syncing to any backend."},a="RxDB - Local Ionic Storage with Encryption, Compression & Sync",t={},c=[{value:"Why RxDB for Ionic Storage?",id:"why-rxdb-for-ionic-storage",level:2},{value:"1. Offline-Ready NoSQL Storage",id:"1-offline-ready-nosql-storage",level:3},{value:"2. Powerful Encryption",id:"2-powerful-encryption",level:3},{value:"3. Built-In Data Compression",id:"3-built-in-data-compression",level:3},{value:"4. Real-Time Sync & Conflict Handling",id:"4-real-time-sync--conflict-handling",level:3},{value:"5. Easy to Adopt and Extend",id:"5-easy-to-adopt-and-extend",level:3},{value:"Quick Start: Implementing RxDB with LocalSTorage Storage",id:"quick-start-implementing-rxdb-with-localstorage-storage",level:2},{value:"Encryption Example",id:"encryption-example",level:2},{value:"Compression Example",id:"compression-example",level:2},{value:"RxDB vs. Other Ionic Storage Options",id:"rxdb-vs-other-ionic-storage-options",level:2},{value:"Follow Up",id:"follow-up",level:2}];function d(e){const s={a:"a",code:"code",figure:"figure",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",ol:"ol",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...(0,o.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s.header,{children:(0,i.jsx)(s.h1,{id:"rxdb---local-ionic-storage-with-encryption-compression--sync",children:"RxDB - Local Ionic Storage with Encryption, Compression & Sync"})}),"\n",(0,i.jsxs)(s.p,{children:["When building ",(0,i.jsx)(s.strong,{children:"Ionic"})," apps, developers face the challenge of choosing a robust ",(0,i.jsx)(s.strong,{children:"Ionic storage"})," mechanism that supports:"]}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Offline-First"})," usage"]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Data Encryption"})," to protect sensitive content"]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Compression"})," to reduce storage usage and improve performance"]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Seamless Sync"})," with any backend for real-time updates"]}),"\n"]}),"\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.a,{href:"https://rxdb.info/",children:"RxDB"})," (Reactive Database) offers all these features in a single, ",(0,i.jsx)(s.a,{href:"/articles/local-first-future.html",children:"local-first"})," database solution tailored to ",(0,i.jsx)(s.strong,{children:"Ionic"})," and other hybrid frameworks. Keep reading to learn how RxDB solves the most common storage pitfalls in hybrid app development while providing unmatched flexibility."]}),"\n",(0,i.jsx)("br",{}),"\n",(0,i.jsx)("center",{children:(0,i.jsx)("a",{href:"https://rxdb.info/",children:(0,i.jsx)("img",{src:"../files/icons/ionic.svg",alt:"Ionic Database Storage",width:"120"})})}),"\n",(0,i.jsx)("br",{}),"\n",(0,i.jsx)(s.h2,{id:"why-rxdb-for-ionic-storage",children:"Why RxDB for Ionic Storage?"}),"\n",(0,i.jsx)(s.h3,{id:"1-offline-ready-nosql-storage",children:"1. Offline-Ready NoSQL Storage"}),"\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.a,{href:"/offline-first.html",children:"Offline functionality"})," is crucial for modern mobile applications, particularly when devices encounter unreliable or slow networks. RxDB stores all data ",(0,i.jsx)(s.strong,{children:"locally"})," so your Ionic app can run seamlessly without needing a continuous internet connection. When a network is available again, RxDB automatically synchronizes changes with your backend - no extra code required."]}),"\n",(0,i.jsx)(s.h3,{id:"2-powerful-encryption",children:"2. Powerful Encryption"}),"\n",(0,i.jsxs)(s.p,{children:["Securing on-device data is paramount when handling sensitive information. RxDB includes ",(0,i.jsx)(s.a,{href:"../encryption.html",children:"encryption plugins"})," that let you:"]}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Encrypt"})," data fields at rest with AES"]}),"\n",(0,i.jsx)(s.li,{children:"Invalidate data access by simply withholding the password"}),"\n",(0,i.jsx)(s.li,{children:"Keep your users' data confidential, even if the device is stolen"}),"\n"]}),"\n",(0,i.jsx)(s.p,{children:"This built-in encryption sets RxDB apart from many other Ionic storage options that lack integrated security."}),"\n",(0,i.jsx)(s.h3,{id:"3-built-in-data-compression",children:"3. Built-In Data Compression"}),"\n",(0,i.jsxs)(s.p,{children:["Large or repetitive data can significantly slow down devices with minimal memory. RxDB's ",(0,i.jsx)(s.a,{href:"/key-compression.html",children:"key-compression"})," feature decreases document size stored on the device, improving overall performance by:"]}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsx)(s.li,{children:"Reducing disk usage"}),"\n",(0,i.jsx)(s.li,{children:"Accelerating queries"}),"\n",(0,i.jsx)(s.li,{children:"Minimizing network overhead when syncing"}),"\n"]}),"\n",(0,i.jsx)(s.h3,{id:"4-real-time-sync--conflict-handling",children:"4. Real-Time Sync & Conflict Handling"}),"\n",(0,i.jsxs)(s.p,{children:["In addition to functioning fully offline, RxDB supports advanced ",(0,i.jsx)(s.a,{href:"/replication.html",children:"replication"})," options. Your Ionic app can instantly sync updates with any backend (",(0,i.jsx)(s.a,{href:"/replication-couchdb.html",children:"CouchDB"}),", ",(0,i.jsx)(s.a,{href:"/replication-firestore.html",children:"Firestore"}),", ",(0,i.jsx)(s.a,{href:"/replication-graphql.html",children:"GraphQL"}),", or ",(0,i.jsx)(s.a,{href:"/replication-http.html",children:"custom REST"}),"), maintaining a ",(0,i.jsx)(s.a,{href:"/articles/realtime-database.html",children:"real-time"})," user experience. Plus, RxDB handles ",(0,i.jsx)(s.a,{href:"/transactions-conflicts-revisions.html",children:"conflicts"})," gracefully - meaning less worry about clashing user edits."]}),"\n",(0,i.jsx)("p",{align:"center",children:(0,i.jsx)("img",{src:"../files/database-replication.png",alt:"database replication",width:"200"})}),"\n",(0,i.jsx)(s.h3,{id:"5-easy-to-adopt-and-extend",children:"5. Easy to Adopt and Extend"}),"\n",(0,i.jsxs)(s.p,{children:["RxDB runs with a ",(0,i.jsx)(s.strong,{children:"NoSQL"})," approach and integrates seamlessly into ",(0,i.jsx)(s.a,{href:"https://ionicframework.com/docs/angular/overview",children:"Ionic Angular"})," or other frameworks you might use with Ionic. You can extend or replace storage backends, add encryption, or build advanced offline-first features with minimal overhead."]}),"\n",(0,i.jsx)("center",{children:(0,i.jsx)("a",{href:"https://rxdb.info/",children:(0,i.jsx)("img",{src:"../files/logo/rxdb_javascript_database.svg",alt:"Ionic Storage Database",width:"220"})})}),"\n",(0,i.jsx)(s.h2,{id:"quick-start-implementing-rxdb-with-localstorage-storage",children:"Quick Start: Implementing RxDB with LocalSTorage Storage"}),"\n",(0,i.jsxs)(s.p,{children:["For a simple proof-of-concept or testing environment in ",(0,i.jsx)(s.a,{href:"/articles/ionic-database.html",children:"Ionic"}),", you can use ",(0,i.jsx)(s.a,{href:"/rx-storage-localstorage.html",children:"localstorage"})," as your underlying storage. Later, if you need better native performance, you can ",(0,i.jsx)(s.strong,{children:"switch to the SQLite storage"})," offered by the ",(0,i.jsx)(s.a,{href:"https://rxdb.info/premium/",children:"RxDB Premium plugins"}),"."]}),"\n",(0,i.jsxs)(s.ol,{children:["\n",(0,i.jsx)(s.li,{children:(0,i.jsx)(s.strong,{children:"Install RxDB"})}),"\n"]}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"bash","data-theme":"css-variables",children:(0,i.jsx)(s.code,{"data-language":"bash","data-theme":"css-variables",style:{display:"grid"},children:(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"npm"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string)"},children:" install"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string)"},children:" rxdb"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string)"},children:" rxjs"})]})})})}),"\n",(0,i.jsxs)(s.ol,{start:"2",children:["\n",(0,i.jsx)(s.li,{children:(0,i.jsx)(s.strong,{children:"Initialize the Database"})}),"\n"]}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { createRxDatabase } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/core'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { getRxStorageLocalstorage } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/storage-localstorage'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"async"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" function"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" initDB"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"() {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'myionicdb'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageLocalstorage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"()"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" multiInstance"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" false"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // or true if you plan multi-tab usage"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // Note: If you need encryption, set `password` here"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" });"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".addCollections"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" notes"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" schema"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" title"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'notes schema'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" version"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 0"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'object'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" primaryKey"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'id'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" properties"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" id"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { type"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" content"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { type"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" timestamp"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { type"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'number'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" required"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ["}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'id'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"]"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" });"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" db;"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"}"})})]})})}),"\n",(0,i.jsxs)(s.ol,{start:"3",children:["\n",(0,i.jsx)(s.li,{children:(0,i.jsx)(s.strong,{children:"Ready to Upgrade Later?"})}),"\n"]}),"\n",(0,i.jsxs)(s.p,{children:["When you need the best performance on mobile devices, purchase the RxDB ",(0,i.jsx)(s.a,{href:"/premium/",children:"Premium"})," ",(0,i.jsx)(s.a,{href:"/rx-storage-sqlite.html",children:"SQLite Storage"})," and replace ",(0,i.jsx)(s.code,{children:"getRxStorageLocalstorage()"})," with ",(0,i.jsx)(s.code,{children:"getRxStorageSQLite()"})," - your app logic remains largely the same. You only have to change the configuration."]}),"\n",(0,i.jsx)(s.h2,{id:"encryption-example",children:"Encryption Example"}),"\n",(0,i.jsxs)(s.p,{children:["To secure local data, add the crypto-js ",(0,i.jsx)(s.a,{href:"/encryption.html",children:"encryption plugin"})," (free version) or the ",(0,i.jsx)(s.a,{href:"/premium/",children:"premium"})," web-crypto plugin. Below is an example using the free crypto-js plugin:"]}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { wrappedKeyEncryptionCryptoJsStorage } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/encryption-crypto-js'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { getRxStorageLocalstorage } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/storage-localstorage'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { createRxDatabase } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/core'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"async"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" function"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" initEncryptedDB"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"() {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" encryptedStorage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" wrappedKeyEncryptionCryptoJsStorage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageLocalstorage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"()"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" });"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'secureIonicDB'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" encryptedStorage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" password"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'myS3cretP4ssw0rd'"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" });"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".addCollections"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" secrets"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" schema"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" title"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'secret schema'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" version"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 0"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'object'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" primaryKey"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'id'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" properties"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" id"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { type"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" text"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { type"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" required"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ["}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'id'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"]"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // all fields in this array will be stored encrypted:"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" encrypted"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ["}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'text'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"]"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" });"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" db;"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"}"})})]})})}),"\n",(0,i.jsx)(s.p,{children:"With encryption enabled:"}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.code,{children:"text"})," is automatically encrypted at rest."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.a,{href:"/rx-query.html",children:"Queries"})," on encrypted fields are not directly possible (since data is encrypted), but once a document is loaded, RxDB decrypts it for normal usage."]}),"\n"]}),"\n",(0,i.jsx)(s.h2,{id:"compression-example",children:"Compression Example"}),"\n",(0,i.jsxs)(s.p,{children:["To minimize the storage footprint, RxDB offers a ",(0,i.jsx)(s.a,{href:"/key-compression.html",children:"key-compression"})," feature. You can enable it in your schema:"]}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".addCollections"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" logs"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" schema"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" title"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'logs schema'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" version"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 0"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" keyCompression"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" true"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // enable compression"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'object'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" primaryKey"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'id'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" properties"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" id"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { type"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" message"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { type"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" createdAt"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { type"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" format"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'date-time'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,i.jsxs)(s.p,{children:["With ",(0,i.jsx)(s.code,{children:"keyCompression: true"}),", RxDB shortens field names internally, significantly reducing document size. This helps both stored data and network transport during replication."]}),"\n",(0,i.jsx)(s.h2,{id:"rxdb-vs-other-ionic-storage-options",children:"RxDB vs. Other Ionic Storage Options"}),"\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.strong,{children:"Ionic Native Storage"})," or ",(0,i.jsx)(s.strong,{children:"Capacitor-based"})," key-value stores may handle small amounts of data but lack advanced features like:"]}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsx)(s.li,{children:"Complex queries"}),"\n",(0,i.jsx)(s.li,{children:"Full NoSQL document model"}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.a,{href:"/offline-first.html",children:"Offline-first"})," ",(0,i.jsx)(s.a,{href:"/replication.html",children:"sync"})]}),"\n",(0,i.jsx)(s.li,{children:"Encryption & key compression out of the box"}),"\n",(0,i.jsx)(s.li,{children:"RxDB stands out by delivering all these capabilities in a unified library."}),"\n"]}),"\n",(0,i.jsx)(s.h2,{id:"follow-up",children:"Follow Up"}),"\n",(0,i.jsxs)(s.p,{children:["For Ionic storage that supports offline-first operations, built-in encryption, optional data compression, and live syncing with any backend, RxDB provides a powerful solution. Start quickly with ",(0,i.jsx)(s.a,{href:"/rx-storage-localstorage.html",children:"localstorage"})," for local development and testing - then scale up to the premium SQLite storage for optimal performance on production mobile devices."]}),"\n",(0,i.jsx)(s.p,{children:"Ready to learn more?"}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:["Explore the ",(0,i.jsx)(s.a,{href:"/quickstart.html",children:"RxDB Quickstart Guide"})]}),"\n",(0,i.jsxs)(s.li,{children:["Check out ",(0,i.jsx)(s.a,{href:"/encryption.html",children:"RxDB Encryption"})," to protect user data"]}),"\n",(0,i.jsxs)(s.li,{children:["Learn about ",(0,i.jsx)(s.a,{href:"/rx-storage-sqlite.html",children:"SQLite Storage"})," in ",(0,i.jsx)(s.a,{href:"/premium/",children:"RxDB Premium"})," for top ",(0,i.jsx)(s.a,{href:"/rx-storage-performance.html",children:"performance"})," on mobile."]}),"\n",(0,i.jsxs)(s.li,{children:["Join our community on the ",(0,i.jsx)(s.a,{href:"/chat/",children:"RxDB Chat"})]}),"\n"]}),"\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.strong,{children:"RxDB"})," - The ultimate toolkit for Ionic developers seeking offline-first, secure, and compressed local data, with real-time sync to any server."]})]})}function h(e={}){const{wrapper:s}={...(0,o.R)(),...e.components};return s?(0,i.jsx)(s,{...e,children:(0,i.jsx)(d,{...e})}):d(e)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/90102fdf.191788f5.js b/docs/assets/js/90102fdf.191788f5.js
deleted file mode 100644
index 6fb54b6d969..00000000000
--- a/docs/assets/js/90102fdf.191788f5.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[2633],{9935(e,a,t){t.r(a),t.d(a,{default:()=>r});var s=t(544),n=t(4848);function r(){return(0,s.default)({sem:{id:"gads",metaTitle:"The local Database for Node.js",appName:"Node.js",title:(0,n.jsxs)(n.Fragment,{children:["The easiest way to ",(0,n.jsx)("b",{children:"store"})," and ",(0,n.jsx)("b",{children:"sync"})," Data in Node.js"]}),text:(0,n.jsx)(n.Fragment,{children:"Fast in-app database for Node.js. Build high performance realtime applications that sync data from the anywhere and even work when offline."})}})}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/9187.d599c63b.js b/docs/assets/js/9187.d599c63b.js
deleted file mode 100644
index ae345c96f1c..00000000000
--- a/docs/assets/js/9187.d599c63b.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[9187],{9187(b,h,s){s.r(h)}}]);
\ No newline at end of file
diff --git a/docs/assets/js/91b454ee.57807487.js b/docs/assets/js/91b454ee.57807487.js
deleted file mode 100644
index b4d2e4d6ae7..00000000000
--- a/docs/assets/js/91b454ee.57807487.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[4202],{449(e,n,s){s.r(n),s.d(n,{assets:()=>l,contentTitle:()=>t,default:()=>h,frontMatter:()=>o,metadata:()=>r,toc:()=>d});const r=JSON.parse('{"id":"rx-storage-sharding","title":"Sharding RxStorage \ud83d\udc51","description":"With the sharding plugin, you can improve the write and query times of some RxStorage implementations.","source":"@site/docs/rx-storage-sharding.md","sourceDirName":".","slug":"/rx-storage-sharding.html","permalink":"/rx-storage-sharding.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"Sharding RxStorage \ud83d\udc51","slug":"rx-storage-sharding.html"},"sidebar":"tutorialSidebar","previous":{"title":"Memory Mapped RxStorage \ud83d\udc51","permalink":"/rx-storage-memory-mapped.html"},"next":{"title":"Localstorage Meta Optimizer \ud83d\udc51","permalink":"/rx-storage-localstorage-meta-optimizer.html"}}');var a=s(4848),i=s(8453);const o={title:"Sharding RxStorage \ud83d\udc51",slug:"rx-storage-sharding.html"},t="Sharding RxStorage",l={},d=[{value:"Using the sharding plugin",id:"using-the-sharding-plugin",level:2}];function c(e){const n={a:"a",admonition:"admonition",code:"code",figure:"figure",h1:"h1",h2:"h2",header:"header",p:"p",pre:"pre",span:"span",strong:"strong",...(0,i.R)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n.header,{children:(0,a.jsx)(n.h1,{id:"sharding-rxstorage",children:"Sharding RxStorage"})}),"\n",(0,a.jsxs)(n.p,{children:["With the sharding plugin, you can improve the write and query times of ",(0,a.jsx)(n.strong,{children:"some"})," ",(0,a.jsx)(n.code,{children:"RxStorage"})," implementations.\nFor example on ",(0,a.jsx)(n.a,{href:"/slow-indexeddb.html",children:"slow IndexedDB"}),", a performance gain of ",(0,a.jsx)(n.strong,{children:"30-50% on reads"}),", and ",(0,a.jsx)(n.strong,{children:"25% on writes"})," can be achieved by using multiple IndexedDB Stores instead of putting all documents into the same store."]}),"\n",(0,a.jsxs)(n.p,{children:["The sharding plugin works as a wrapper around any other ",(0,a.jsx)(n.code,{children:"RxStorage"}),". The sharding plugin will automatically create multiple shards per storage instance and it will merge and split read and write calls to it."]}),"\n",(0,a.jsx)(n.admonition,{title:"Premium",type:"note",children:(0,a.jsxs)(n.p,{children:["The sharding plugin is part of ",(0,a.jsx)(n.a,{href:"/premium/",children:"RxDB Premium \ud83d\udc51"}),". It is not part of the default RxDB module."]})}),"\n",(0,a.jsx)(n.h2,{id:"using-the-sharding-plugin",children:"Using the sharding plugin"}),"\n",(0,a.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,a.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,a.jsxs)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,a.jsxs)(n.span,{"data-line":"",children:[(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" getRxStorageSharding"})}),"\n",(0,a.jsxs)(n.span,{"data-line":"",children:[(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb-premium/plugins/storage-sharding'"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,a.jsxs)(n.span,{"data-line":"",children:[(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" { getRxStorageLocalstorage } "}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/storage-localstorage'"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"/**"})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * First wrap the original RxStorage with the sharding RxStorage."})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,a.jsxs)(n.span,{"data-line":"",children:[(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" shardedRxStorage"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageSharding"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * Here we use the localStorage RxStorage,"})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * it is also possible to use any other RxStorage instead."})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,a.jsxs)(n.span,{"data-line":"",children:[(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageLocalstorage"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"()"})]}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"/**"})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * Add the sharding options to your schema."})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * Changing these options will require a data migration."})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,a.jsxs)(n.span,{"data-line":"",children:[(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" mySchema"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /* ... */"})}),"\n",(0,a.jsxs)(n.span,{"data-line":"",children:[(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" sharding"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * Amount of shards per RxStorage instance."})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * Depending on your data size and query patterns, the optimal shard amount may differ."})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * Do a performance test to optimize that value."})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * 10 Shards is a good value to start with."})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * "})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * IMPORTANT: Changing the value of shards is not possible on a already existing database state,"})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * you will loose access to your data."})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,a.jsxs)(n.span,{"data-line":"",children:[(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" shards"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 10"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * Sharding mode,"})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * you can either shard by collection or by database."})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * For most cases you should use 'collection' which will shard on the collection level."})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * For example with the IndexedDB RxStorage, it will then create multiple stores per IndexedDB database"})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * and not multiple IndexedDB databases, which would be slower."})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,a.jsxs)(n.span,{"data-line":"",children:[(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" mode"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'collection'"})]}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /* ... */"})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"}"})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"/**"})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * Create the RxDatabase with the wrapped RxStorage. "})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,a.jsxs)(n.span,{"data-line":"",children:[(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" database"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,a.jsxs)(n.span,{"data-line":"",children:[(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'mydatabase'"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,a.jsxs)(n.span,{"data-line":"",children:[(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" shardedRxStorage"})]}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:(0,a.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,a.jsx)(n.span,{"data-line":"",children:" "})]})})})]})}function h(e={}){const{wrapper:n}={...(0,i.R)(),...e.components};return n?(0,a.jsx)(n,{...e,children:(0,a.jsx)(c,{...e})}):c(e)}},8453(e,n,s){s.d(n,{R:()=>o,x:()=>t});var r=s(6540);const a={},i=r.createContext(a);function o(e){const n=r.useContext(i);return r.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function t(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:o(e.components),r.createElement(i.Provider,{value:n},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/924d6dd6.ee7a4ff8.js b/docs/assets/js/924d6dd6.ee7a4ff8.js
deleted file mode 100644
index 45c0660b19d..00000000000
--- a/docs/assets/js/924d6dd6.ee7a4ff8.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[5122],{7665(e,r,n){n.r(r),n.d(r,{assets:()=>l,contentTitle:()=>t,default:()=>h,frontMatter:()=>a,metadata:()=>s,toc:()=>c});const s=JSON.parse('{"id":"electron","title":"Seamless Electron Storage with RxDB","description":"Use the RxDB Electron Plugin to share data between main and renderer processes. Enjoy quick queries, real-time sync, and robust offline support.","source":"@site/docs/electron.md","sourceDirName":".","slug":"/electron.html","permalink":"/electron.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"Seamless Electron Storage with RxDB","slug":"electron.html","description":"Use the RxDB Electron Plugin to share data between main and renderer processes. Enjoy quick queries, real-time sync, and robust offline support."},"sidebar":"tutorialSidebar","previous":{"title":"Localstorage Meta Optimizer \ud83d\udc51","permalink":"/rx-storage-localstorage-meta-optimizer.html"},"next":{"title":"\u2699\ufe0f Sync Engine","permalink":"/replication.html"}}');var o=n(4848),i=n(8453);const a={title:"Seamless Electron Storage with RxDB",slug:"electron.html",description:"Use the RxDB Electron Plugin to share data between main and renderer processes. Enjoy quick queries, real-time sync, and robust offline support."},t="Electron Plugin",l={},c=[{value:"RxStorage Electron IpcRenderer & IpcMain",id:"rxstorage-electron-ipcrenderer--ipcmain",level:2},{value:"Related",id:"related",level:2}];function d(e){const r={a:"a",admonition:"admonition",code:"code",figure:"figure",h1:"h1",h2:"h2",header:"header",li:"li",p:"p",pre:"pre",span:"span",ul:"ul",...(0,i.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(r.header,{children:(0,o.jsx)(r.h1,{id:"electron-plugin",children:"Electron Plugin"})}),"\n",(0,o.jsx)(r.h2,{id:"rxstorage-electron-ipcrenderer--ipcmain",children:"RxStorage Electron IpcRenderer & IpcMain"}),"\n",(0,o.jsxs)(r.p,{children:["To use RxDB in ",(0,o.jsx)(r.a,{href:"/electron-database.html",children:"electron"}),", it is recommended to run the RxStorage in the main process and the RxDatabase in the renderer processes. With the rxdb electron plugin you can create a remote RxStorage and consume it from the renderer process."]}),"\n",(0,o.jsxs)(r.p,{children:["To do this in a convenient way, the RxDB electron plugin provides the helper functions ",(0,o.jsx)(r.code,{children:"exposeIpcMainRxStorage"})," and ",(0,o.jsx)(r.code,{children:"getRxStorageIpcRenderer"}),".\nSimilar to the ",(0,o.jsx)(r.a,{href:"/rx-storage-worker.html",children:"Worker RxStorage"}),", these wrap any other ",(0,o.jsx)(r.a,{href:"/rx-storage.html",children:"RxStorage"})," once in the main process and once in each renderer process. In the renderer you can then use the storage to create a ",(0,o.jsx)(r.a,{href:"/rx-database.html",children:"RxDatabase"})," which communicates with the storage of the main process to store and query data."]}),"\n",(0,o.jsx)(r.admonition,{type:"note",children:(0,o.jsxs)(r.p,{children:[(0,o.jsx)(r.code,{children:"nodeIntegration"})," must be enabled in ",(0,o.jsx)(r.a,{href:"https://www.electronjs.org/docs/latest/api/browser-window#new-browserwindowoptions",children:"Electron"}),"."]})}),"\n",(0,o.jsx)(r.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(r.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,o.jsxs)(r.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsx)(r.span,{"data-line":"",children:(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-comment)"},children:"// main.js"})}),"\n",(0,o.jsxs)(r.span,{"data-line":"",children:[(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" { "}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-constant)"},children:"exposeIpcMainRxStorage"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" } "}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-function)"},children:" require"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'rxdb/plugins/electron'"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,o.jsxs)(r.span,{"data-line":"",children:[(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" { "}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-constant)"},children:"getRxStorageMemory"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" } "}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-function)"},children:" require"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'rxdb/plugins/storage-memory'"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,o.jsxs)(r.span,{"data-line":"",children:[(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-constant)"},children:"app"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-function)"},children:".on"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'ready'"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:" async"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:" function"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" () {"})]}),"\n",(0,o.jsxs)(r.span,{"data-line":"",children:[(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-function)"},children:" exposeIpcMainRxStorage"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(r.span,{"data-line":"",children:[(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" key"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'main-storage'"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(r.span,{"data-line":"",children:[(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageMemory"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"()"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(r.span,{"data-line":"",children:[(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" ipcMain"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-constant)"},children:" electron"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:".ipcMain"})]}),"\n",(0,o.jsx)(r.span,{"data-line":"",children:(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" });"})}),"\n",(0,o.jsx)(r.span,{"data-line":"",children:(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,o.jsx)(r.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(r.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,o.jsxs)(r.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsx)(r.span,{"data-line":"",children:(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-comment)"},children:"// renderer.js"})}),"\n",(0,o.jsxs)(r.span,{"data-line":"",children:[(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" { "}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-constant)"},children:"getRxStorageIpcRenderer"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" } "}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-function)"},children:" require"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'rxdb/plugins/electron'"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,o.jsxs)(r.span,{"data-line":"",children:[(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" { "}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-constant)"},children:"getRxStorageMemory"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" } "}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-function)"},children:" require"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'rxdb/plugins/storage-memory'"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,o.jsx)(r.span,{"data-line":"",children:" "}),"\n",(0,o.jsxs)(r.span,{"data-line":"",children:[(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(r.span,{"data-line":"",children:[(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(r.span,{"data-line":"",children:[(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageIpcRenderer"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(r.span,{"data-line":"",children:[(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" key"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'main-storage'"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(r.span,{"data-line":"",children:[(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" ipcRenderer"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-constant)"},children:" electron"}),(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:".ipcRenderer"})]}),"\n",(0,o.jsx)(r.span,{"data-line":"",children:(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:" })"})}),"\n",(0,o.jsx)(r.span,{"data-line":"",children:(0,o.jsx)(r.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,o.jsx)(r.span,{"data-line":"",children:(0,o.jsx)(r.span,{style:{color:"var(--shiki-token-comment)"},children:"/* ... */"})})]})})}),"\n",(0,o.jsx)(r.h2,{id:"related",children:"Related"}),"\n",(0,o.jsxs)(r.ul,{children:["\n",(0,o.jsx)(r.li,{children:(0,o.jsx)(r.a,{href:"/electron-database.html",children:"Comparison of Electron Databases"})}),"\n"]})]})}function h(e={}){const{wrapper:r}={...(0,i.R)(),...e.components};return r?(0,o.jsx)(r,{...e,children:(0,o.jsx)(d,{...e})}):d(e)}},8453(e,r,n){n.d(r,{R:()=>a,x:()=>t});var s=n(6540);const o={},i=s.createContext(o);function a(e){const r=s.useContext(i);return s.useMemo(function(){return"function"==typeof e?e(r):{...r,...e}},[r,e])}function t(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:a(e.components),s.createElement(i.Provider,{value:r},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/92698a99.49ff7265.js b/docs/assets/js/92698a99.49ff7265.js
deleted file mode 100644
index 7408eec9552..00000000000
--- a/docs/assets/js/92698a99.49ff7265.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[4166],{7379(e,s,r){r.r(s),r.d(s,{assets:()=>l,contentTitle:()=>t,default:()=>h,frontMatter:()=>a,metadata:()=>n,toc:()=>d});const n=JSON.parse('{"id":"rx-storage-indexeddb","title":"Instant Performance with IndexedDB RxStorage","description":"Choose IndexedDB RxStorage for unmatched speed and minimal build size. Perfect for fast-performing apps that demand reliable, lightweight data solutions.","source":"@site/docs/rx-storage-indexeddb.md","sourceDirName":".","slug":"/rx-storage-indexeddb.html","permalink":"/rx-storage-indexeddb.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"Instant Performance with IndexedDB RxStorage","slug":"rx-storage-indexeddb.html","description":"Choose IndexedDB RxStorage for unmatched speed and minimal build size. Perfect for fast-performing apps that demand reliable, lightweight data solutions."},"sidebar":"tutorialSidebar","previous":{"title":"LocalStorage (Browser)","permalink":"/rx-storage-localstorage.html"},"next":{"title":"OPFS \ud83d\udc51 (Browser)","permalink":"/rx-storage-opfs.html"}}');var o=r(4848),i=r(8453);const a={title:"Instant Performance with IndexedDB RxStorage",slug:"rx-storage-indexeddb.html",description:"Choose IndexedDB RxStorage for unmatched speed and minimal build size. Perfect for fast-performing apps that demand reliable, lightweight data solutions."},t="IndexedDB RxStorage",l={},d=[{value:"IndexedDB performance comparison",id:"indexeddb-performance-comparison",level:2},{value:"Using the IndexedDB RxStorage",id:"using-the-indexeddb-rxstorage",level:2},{value:"Overwrite/Polyfill the native IndexedDB",id:"overwritepolyfill-the-native-indexeddb",level:2},{value:"Storage Buckets",id:"storage-buckets",level:2},{value:"Limitations of the IndexedDB RxStorage",id:"limitations-of-the-indexeddb-rxstorage",level:2}];function c(e){const s={a:"a",code:"code",figure:"figure",h1:"h1",h2:"h2",header:"header",li:"li",p:"p",pre:"pre",span:"span",ul:"ul",...(0,i.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(s.header,{children:(0,o.jsx)(s.h1,{id:"indexeddb-rxstorage",children:"IndexedDB RxStorage"})}),"\n",(0,o.jsxs)(s.p,{children:["The IndexedDB ",(0,o.jsx)(s.a,{href:"/rx-storage.html",children:"RxStorage"})," is based on plain IndexedDB and can be used in browsers, ",(0,o.jsx)(s.a,{href:"/electron-database.html",children:"electron"})," or hybrid apps.\nCompared to other browser based storages, the IndexedDB storage has the smallest write- and read latency, the fastest initial page load\nand the smallest build size. Only for big datasets (more than 10k documents), the ",(0,o.jsx)(s.a,{href:"/rx-storage-opfs.html",children:"OPFS storage"})," is better suited."]}),"\n",(0,o.jsxs)(s.p,{children:["While the IndexedDB API itself can be very slow, the IndexedDB storage uses many tricks and performance optimizations, some of which are described ",(0,o.jsx)(s.a,{href:"/slow-indexeddb.html",children:"here"}),". For example it uses custom index strings instead of the native IndexedDB indexes, batches cursor for faster bulk reads and many other improvements. The IndexedDB storage also operates on ",(0,o.jsx)(s.a,{href:"https://en.wikipedia.org/wiki/Write-ahead_logging",children:"Write-ahead logging"})," similar to SQLite, to improve write latency while still ensuring consistency on writes."]}),"\n",(0,o.jsx)(s.h2,{id:"indexeddb-performance-comparison",children:"IndexedDB performance comparison"}),"\n",(0,o.jsxs)(s.p,{children:["Here is some performance comparison with other storages. Compared to the non-memory storages like ",(0,o.jsx)(s.a,{href:"/rx-storage-opfs.html",children:"OPFS"})," and ",(0,o.jsx)(s.a,{href:"/rx-storage-sqlite.html",children:"WASM SQLite"}),". IndexedDB has the smallest build size and fastest write speed. Only OPFS is faster on queries over big datasets. See ",(0,o.jsx)(s.a,{href:"/rx-storage-performance.html",children:"performance comparison"})," page for a comparison with all storages."]}),"\n",(0,o.jsx)("p",{align:"center",children:(0,o.jsx)("img",{src:"./files/rx-storage-performance-browser.png",alt:"IndexedDB performance",width:"700"})}),"\n",(0,o.jsx)(s.h2,{id:"using-the-indexeddb-rxstorage",children:"Using the IndexedDB RxStorage"}),"\n",(0,o.jsxs)(s.p,{children:["To use the indexedDB storage you import it from the ",(0,o.jsx)(s.a,{href:"/premium/",children:"RxDB Premium \ud83d\udc51"})," npm module and use ",(0,o.jsx)(s.code,{children:"getRxStorageIndexedDB()"})," when creating the ",(0,o.jsx)(s.a,{href:"/rx-database.html",children:"RxDatabase"}),"."]}),"\n",(0,o.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,o.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" createRxDatabase"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" getRxStorageIndexedDB"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb-premium/plugins/storage-indexeddb'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'exampledb'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageIndexedDB"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * For better performance, queries run with a batched cursor."})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * You can change the batchSize to optimize the query time"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * for specific queries."})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * You should only change this value when you are also doing performance measurements."})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * [default=300]"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" batchSize"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 300"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" })"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,o.jsx)(s.h2,{id:"overwritepolyfill-the-native-indexeddb",children:"Overwrite/Polyfill the native IndexedDB"}),"\n",(0,o.jsxs)(s.p,{children:["Node.js has no IndexedDB API. To still run the IndexedDB ",(0,o.jsx)(s.code,{children:"RxStorage"})," in Node.js, for example to run unit tests, you have to polyfill it.\nYou can do that by using the ",(0,o.jsx)(s.a,{href:"https://github.com/dumbmatter/fakeIndexedDB",children:"fake-indexeddb"})," module and pass it to the ",(0,o.jsx)(s.code,{children:"getRxStorageIndexedDB()"})," function."]}),"\n",(0,o.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,o.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { createRxDatabase } "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { getRxStorageIndexedDB } "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb-premium/plugins/storage-indexeddb'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"//> npm install fake-indexeddb --save"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" fakeIndexedDB"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" require"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'fake-indexeddb'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" fakeIDBKeyRange"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" require"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'fake-indexeddb/lib/FDBKeyRange'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'exampledb'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageIndexedDB"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" indexedDB"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" fakeIndexedDB"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" IDBKeyRange"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" fakeIDBKeyRange"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" })"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:" "})]})})}),"\n",(0,o.jsx)(s.h2,{id:"storage-buckets",children:"Storage Buckets"}),"\n",(0,o.jsxs)(s.p,{children:["The ",(0,o.jsx)(s.a,{href:"https://wicg.github.io/storage-buckets/",children:"Storage Buckets API"}),' provides a way for sites to organize locally stored data into groupings called "storage buckets". This allows the user agent or sites to manage and delete buckets independently rather than applying the same treatment to all the data from a single origin. ',(0,o.jsx)(s.a,{href:"https://developer.chrome.com/docs/web-platform/storage-buckets?hl=en",children:"Read More"})]}),"\n",(0,o.jsxs)(s.p,{children:["To use different storage buckets with the RxDB IndexedDB Storage, you can use a function instead of a plain object when providing the ",(0,o.jsx)(s.code,{children:"indexedDB"})," attribute:"]}),"\n",(0,o.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,o.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { createRxDatabase } "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { getRxStorageIndexedDB } "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb-premium/plugins/storage-indexeddb'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'exampledb'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageIndexedDB"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" indexedDB"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" async"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(params) "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" myStorageBucket"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" navigator"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"storageBuckets"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".open"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'myApp-'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" +"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" params"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".databaseName);"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" myStorageBucket"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".indexedDB;"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" IDBKeyRange"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" })"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,o.jsx)(s.h2,{id:"limitations-of-the-indexeddb-rxstorage",children:"Limitations of the IndexedDB RxStorage"}),"\n",(0,o.jsxs)(s.ul,{children:["\n",(0,o.jsxs)(s.li,{children:["It is part of the ",(0,o.jsx)(s.a,{href:"/premium/",children:"RxDB Premium \ud83d\udc51"})," plugin that must be purchased. If you just need a storage that works in the browser and you do not have to care about performance, you can use the ",(0,o.jsx)(s.a,{href:"/rx-storage-localstorage.html",children:"LocalStorage storage"})," instead."]}),"\n",(0,o.jsxs)(s.li,{children:["The IndexedDB storage requires support for ",(0,o.jsx)(s.a,{href:"https://caniuse.com/indexeddb2",children:"IndexedDB v2"}),", it does not work on Internet Explorer."]}),"\n"]})]})}function h(e={}){const{wrapper:s}={...(0,i.R)(),...e.components};return s?(0,o.jsx)(s,{...e,children:(0,o.jsx)(c,{...e})}):c(e)}},8453(e,s,r){r.d(s,{R:()=>a,x:()=>t});var n=r(6540);const o={},i=n.createContext(o);function a(e){const s=n.useContext(i);return n.useMemo(function(){return"function"==typeof e?e(s):{...s,...e}},[s,e])}function t(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:a(e.components),n.createElement(i.Provider,{value:s},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/9293.098c020a.js b/docs/assets/js/9293.098c020a.js
deleted file mode 100644
index 7f0327c62a9..00000000000
--- a/docs/assets/js/9293.098c020a.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[9293],{5955(e,t,i){i.d(t,{A:()=>h});i(6540);var s=i(4164),n=i(1312),r=i(1107),l=i(4848);function h({className:e}){return(0,l.jsx)("main",{className:(0,s.A)("container margin-vert--xl",e),children:(0,l.jsx)("div",{className:"row",children:(0,l.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,l.jsxs)(r.A,{as:"h1",className:"hero__title",children:[(0,l.jsx)("a",{href:"/",children:(0,l.jsx)("div",{style:{textAlign:"center"},children:(0,l.jsx)("img",{src:"https://rxdb.info/files/logo/rxdb_javascript_database.svg",alt:"RxDB",width:"160"})})}),(0,l.jsx)(n.A,{id:"theme.NotFound.title",description:"The title of the 404 page",children:"404 Page Not Found"})]}),(0,l.jsx)("p",{children:(0,l.jsx)(n.A,{id:"theme.NotFound.p1",description:"The first paragraph of the 404 page",children:"The page you are looking for does not exist anymore or never has existed. If you have found this page through a link, you should tell the link author to update it."})}),(0,l.jsx)("p",{children:"Maybe one of these can help you to find the desired content:"}),(0,l.jsx)("div",{className:"ul-container",children:(0,l.jsxs)("ul",{children:[(0,l.jsx)("li",{children:(0,l.jsx)("a",{href:"https://rxdb.info/overview.html",children:"RxDB Documentation"})}),(0,l.jsx)("li",{children:(0,l.jsx)("a",{href:"/chat/",children:"RxDB Discord Channel"})}),(0,l.jsx)("li",{children:(0,l.jsx)("a",{href:"https://twitter.com/intent/user?screen_name=rxdbjs",children:"RxDB on twitter"})}),(0,l.jsx)("li",{children:(0,l.jsx)("a",{href:"/code/",children:"RxDB at Github"})})]})})]})})})}},9293(e,t,i){i.r(t),i.d(t,{default:()=>a});i(6540);var s=i(1312),n=i(5500),r=i(8711),l=i(5955),h=i(4848);function a(){const e=(0,s.T)({id:"theme.NotFound.title",message:"RxDB - 404 Page Not Found"});return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(n.be,{title:e}),(0,h.jsx)(r.A,{title:"RxDB - 404 Page Not Found",children:(0,h.jsx)(l.A,{})})]})}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/931f4566.40f8ed4e.js b/docs/assets/js/931f4566.40f8ed4e.js
deleted file mode 100644
index aae8f38e701..00000000000
--- a/docs/assets/js/931f4566.40f8ed4e.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[3595],{8288(e,s,n){n.r(s),n.d(s,{assets:()=>l,contentTitle:()=>t,default:()=>h,frontMatter:()=>o,metadata:()=>r,toc:()=>d});const r=JSON.parse('{"id":"schema-validation","title":"Schema Validation","description":"RxDB has multiple validation implementations that can be used to ensure that your document data is always matching the provided JSON","source":"@site/docs/schema-validation.md","sourceDirName":".","slug":"/schema-validation.html","permalink":"/schema-validation.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"Schema Validation","slug":"schema-validation.html"},"sidebar":"tutorialSidebar","previous":{"title":"FoundationDB","permalink":"/rx-storage-foundationdb.html"},"next":{"title":"Encryption","permalink":"/encryption.html"}}');var i=n(4848),a=n(8453);const o={title:"Schema Validation",slug:"schema-validation.html"},t="Schema validation",l={},d=[{value:"validate-ajv",id:"validate-ajv",level:3},{value:"validate-z-schema",id:"validate-z-schema",level:3},{value:"validate-is-my-json-valid",id:"validate-is-my-json-valid",level:3},{value:"Custom Formats",id:"custom-formats",level:2},{value:"Ajv Custom Format",id:"ajv-custom-format",level:3},{value:"Z-Schema Custom Format",id:"z-schema-custom-format",level:3},{value:"Performance comparison of the validators",id:"performance-comparison-of-the-validators",level:2}];function c(e){const s={a:"a",admonition:"admonition",code:"code",figure:"figure",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,a.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s.header,{children:(0,i.jsx)(s.h1,{id:"schema-validation",children:"Schema validation"})}),"\n",(0,i.jsxs)(s.p,{children:["RxDB has multiple validation implementations that can be used to ensure that your document data is always matching the provided JSON\nschema of your ",(0,i.jsx)(s.code,{children:"RxCollection"}),"."]}),"\n",(0,i.jsxs)(s.p,{children:["The schema validation is ",(0,i.jsx)(s.strong,{children:"not a plugin"})," but comes in as a wrapper around any other ",(0,i.jsx)(s.code,{children:"RxStorage"})," and it will then validate all data that is written into that storage. This is required for multiple reasons:"]}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:["It allows us to run the validation inside of a ",(0,i.jsx)(s.a,{href:"/rx-storage-worker.html",children:"Worker RxStorage"})," instead of running it in the main JavaScript process."]}),"\n",(0,i.jsxs)(s.li,{children:["It allows us to configure which ",(0,i.jsx)(s.code,{children:"RxDatabase"})," instance must use the validation and which does not. In production it often makes sense to validate user data, but you might not need the validation for data that is only replicated from the backend."]}),"\n"]}),"\n",(0,i.jsx)(s.admonition,{type:"warning",children:(0,i.jsxs)(s.p,{children:["Schema validation can be ",(0,i.jsx)(s.strong,{children:"CPU expensive"})," and increases your build size. You should always use a schema validation in development mode. For most use cases, you ",(0,i.jsx)(s.strong,{children:"should not"})," use a validation in production for better performance."]})}),"\n",(0,i.jsxs)(s.p,{children:["When no validation is used, any document data can be saved but there might be ",(0,i.jsx)(s.strong,{children:"undefined behavior"})," when saving data that does not comply to the schema of a ",(0,i.jsx)(s.code,{children:"RxCollection"}),"."]}),"\n",(0,i.jsxs)(s.p,{children:["RxDB has different implementations to validate data, each of them is based on a different ",(0,i.jsx)(s.a,{href:"https://json-schema.org/tools",children:"JSON Schema library"}),". In this example we use the ",(0,i.jsx)(s.a,{href:"/rx-storage-localstorage.html",children:"LocalStorage RxStorage"}),", but you can wrap the validation around ",(0,i.jsx)(s.strong,{children:"any other"})," ",(0,i.jsx)(s.a,{href:"/rx-storage.html",children:"RxStorage"}),"."]}),"\n",(0,i.jsx)(s.h3,{id:"validate-ajv",children:"validate-ajv"}),"\n",(0,i.jsxs)(s.p,{children:["A validation-module that does the schema-validation. This one is using ",(0,i.jsx)(s.a,{href:"https://github.com/epoberezkin/ajv",children:"ajv"})," as validator which is a bit faster. Better compliant to the jsonschema-standard but also has a bigger build-size."]}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"javascript","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"javascript","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { wrappedValidateAjvStorage } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/validate-ajv'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { getRxStorageLocalstorage } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/storage-localstorage'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// wrap the validation around the main RxStorage"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" storage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" wrappedValidateAjvStorage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageLocalstorage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"()"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" randomCouchString"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"10"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:")"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,i.jsx)(s.h3,{id:"validate-z-schema",children:"validate-z-schema"}),"\n",(0,i.jsxs)(s.p,{children:["Both ",(0,i.jsx)(s.code,{children:"is-my-json-valid"})," and ",(0,i.jsx)(s.code,{children:"validate-ajv"})," use ",(0,i.jsx)(s.code,{children:"eval()"})," to perform validation which might not be wanted when ",(0,i.jsx)(s.code,{children:"'unsafe-eval'"})," is not allowed in Content Security Policies. This one is using ",(0,i.jsx)(s.a,{href:"https://github.com/zaggino/z-schema",children:"z-schema"})," as validator which doesn't use ",(0,i.jsx)(s.code,{children:"eval"}),"."]}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"javascript","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"javascript","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { wrappedValidateZSchemaStorage } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/validate-z-schema'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { getRxStorageLocalstorage } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/storage-localstorage'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// wrap the validation around the main RxStorage"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" storage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" wrappedValidateZSchemaStorage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageLocalstorage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"()"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" randomCouchString"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"10"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:")"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,i.jsx)(s.h3,{id:"validate-is-my-json-valid",children:"validate-is-my-json-valid"}),"\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.strong,{children:"WARNING"}),": The ",(0,i.jsx)(s.code,{children:"is-my-json-valid"})," validation is no longer supported until ",(0,i.jsx)(s.a,{href:"https://github.com/mafintosh/is-my-json-valid/pull/192",children:"this bug"})," is fixed."]}),"\n",(0,i.jsxs)(s.p,{children:["The ",(0,i.jsx)(s.code,{children:"validate-is-my-json-valid"})," plugin uses ",(0,i.jsx)(s.a,{href:"https://www.npmjs.com/package/is-my-json-valid",children:"is-my-json-valid"})," for schema validation."]}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"javascript","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"javascript","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { wrappedValidateIsMyJsonValidStorage } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/validate-is-my-json-valid'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { getRxStorageLocalstorage } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/storage-localstorage'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// wrap the validation around the main RxStorage"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" storage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" wrappedValidateIsMyJsonValidStorage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageLocalstorage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"()"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" randomCouchString"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"10"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:")"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,i.jsx)(s.h2,{id:"custom-formats",children:"Custom Formats"}),"\n",(0,i.jsxs)(s.p,{children:["The schema validators provide methods to add custom formats like a ",(0,i.jsx)(s.code,{children:"email"})," format.\nYou have to add these formats ",(0,i.jsx)(s.strong,{children:"before"})," you create your database."]}),"\n",(0,i.jsx)(s.h3,{id:"ajv-custom-format",children:"Ajv Custom Format"}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { getAjv } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/validate-ajv'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" ajv"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getAjv"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"ajv"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".addFormat"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'email'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" validate"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" v "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" v"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".includes"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'@'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:") "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// ensure email fields contain the @ symbol"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,i.jsx)(s.h3,{id:"z-schema-custom-format",children:"Z-Schema Custom Format"}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { ZSchemaClass } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/validate-z-schema'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"ZSchemaClass"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".registerFormat"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'email'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" function"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" (v"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" string"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:") {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" v"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".includes"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'@'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"); "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// ensure email fields contain the @ symbol"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,i.jsx)(s.h2,{id:"performance-comparison-of-the-validators",children:"Performance comparison of the validators"}),"\n",(0,i.jsxs)(s.p,{children:["The RxDB team ran performance benchmarks using two storage options on an Ubuntu 24.04 machine with Chrome version ",(0,i.jsx)(s.code,{children:"131.0.6778.85"}),". The testing machine has 32 core ",(0,i.jsx)(s.code,{children:"13th Gen Intel(R) Core(TM) i9-13900HX"})," CPU."]}),"\n",(0,i.jsx)(s.p,{children:"IndexedDB Storage (based on the IndexedDB API in the browser):"}),"\n",(0,i.jsxs)(s.table,{children:[(0,i.jsx)(s.thead,{children:(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.th,{children:(0,i.jsx)(s.strong,{children:"IndexedDB Storage"})}),(0,i.jsx)(s.th,{style:{textAlign:"center"},children:"Time to First insert"}),(0,i.jsx)(s.th,{style:{textAlign:"right"},children:"Insert 3000 documents"})]})}),(0,i.jsxs)(s.tbody,{children:[(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:"no validator"}),(0,i.jsx)(s.td,{style:{textAlign:"center"},children:"68 ms"}),(0,i.jsx)(s.td,{style:{textAlign:"right"},children:"213 ms"})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:"ajv"}),(0,i.jsx)(s.td,{style:{textAlign:"center"},children:"67 ms"}),(0,i.jsx)(s.td,{style:{textAlign:"right"},children:"216 ms"})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:"z-schema"}),(0,i.jsx)(s.td,{style:{textAlign:"center"},children:"71 ms"}),(0,i.jsx)(s.td,{style:{textAlign:"right"},children:"230 ms"})]})]})]}),"\n",(0,i.jsx)(s.p,{children:"Memory Storage: stores everything in memory for extremely fast reads and writes, with no persistence by default. Often used with the RxDB memory-mapped plugin that processes data in memory an later persists to disc in background:"}),"\n",(0,i.jsxs)(s.table,{children:[(0,i.jsx)(s.thead,{children:(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.th,{children:(0,i.jsx)(s.strong,{children:"Memory Storage"})}),(0,i.jsx)(s.th,{style:{textAlign:"center"},children:"Time to First insert"}),(0,i.jsx)(s.th,{style:{textAlign:"right"},children:"Insert 3000 documents"})]})}),(0,i.jsxs)(s.tbody,{children:[(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:"no validator"}),(0,i.jsx)(s.td,{style:{textAlign:"center"},children:"1.15 ms"}),(0,i.jsx)(s.td,{style:{textAlign:"right"},children:"0.8 ms"})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:"ajv"}),(0,i.jsx)(s.td,{style:{textAlign:"center"},children:"3.05 ms"}),(0,i.jsx)(s.td,{style:{textAlign:"right"},children:"2.7 ms"})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:"z-schema"}),(0,i.jsx)(s.td,{style:{textAlign:"center"},children:"0.9 ms"}),(0,i.jsx)(s.td,{style:{textAlign:"right"},children:"18 ms"})]})]})]}),"\n",(0,i.jsx)(s.p,{children:"Including a validator library also increases your JavaScript bundle size. Here's how it breaks down (minified + gzip):"}),"\n",(0,i.jsxs)(s.table,{children:[(0,i.jsx)(s.thead,{children:(0,i.jsxs)(s.tr,{children:[(0,i.jsxs)(s.th,{children:[(0,i.jsx)(s.strong,{children:"Build Size"})," (minified+gzip)"]}),(0,i.jsx)(s.th,{style:{textAlign:"center"},children:"Build Size (IndexedDB)"}),(0,i.jsx)(s.th,{style:{textAlign:"right"},children:"Build Size (memory)"})]})}),(0,i.jsxs)(s.tbody,{children:[(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:"no validator"}),(0,i.jsx)(s.td,{style:{textAlign:"center"},children:"73103 B"}),(0,i.jsx)(s.td,{style:{textAlign:"right"},children:"39976 B"})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:"ajv"}),(0,i.jsx)(s.td,{style:{textAlign:"center"},children:"106135 B"}),(0,i.jsx)(s.td,{style:{textAlign:"right"},children:"72773 B"})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:"z-schema"}),(0,i.jsx)(s.td,{style:{textAlign:"center"},children:"125186 B"}),(0,i.jsx)(s.td,{style:{textAlign:"right"},children:"91882 B"})]})]})]})]})}function h(e={}){const{wrapper:s}={...(0,a.R)(),...e.components};return s?(0,i.jsx)(s,{...e,children:(0,i.jsx)(c,{...e})}):c(e)}},8453(e,s,n){n.d(s,{R:()=>o,x:()=>t});var r=n(6540);const i={},a=r.createContext(i);function o(e){const s=r.useContext(a);return r.useMemo(function(){return"function"==typeof e?e(s):{...s,...e}},[s,e])}function t(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:o(e.components),r.createElement(a.Provider,{value:s},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/951d0efb.94a862cc.js b/docs/assets/js/951d0efb.94a862cc.js
deleted file mode 100644
index 641b617da53..00000000000
--- a/docs/assets/js/951d0efb.94a862cc.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[6115],{3247(e,n,s){s.d(n,{g:()=>i});var r=s(4848);function i(e){const n=[];let s=null;return e.children.forEach(e=>{e.props.id?(s&&n.push(s),s={headline:e,paragraphs:[]}):s&&s.paragraphs.push(e)}),s&&n.push(s),(0,r.jsx)("div",{style:o.stepsContainer,children:n.map((e,n)=>(0,r.jsxs)("div",{style:o.stepWrapper,children:[(0,r.jsxs)("div",{style:o.stepIndicator,children:[(0,r.jsx)("div",{style:o.stepNumber,children:n+1}),(0,r.jsx)("div",{style:o.verticalLine})]}),(0,r.jsxs)("div",{style:o.stepContent,children:[(0,r.jsx)("div",{children:e.headline}),e.paragraphs.map((e,n)=>(0,r.jsx)("div",{style:o.item,children:e},n))]})]},n))})}const o={stepsContainer:{display:"flex",flexDirection:"column"},stepWrapper:{display:"flex",alignItems:"stretch",marginBottom:"1.5rem",position:"relative",minWidth:0},stepIndicator:{position:"relative",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"flex-start",width:"33px",marginRight:"1rem",minWidth:0},stepNumber:{width:"33px",height:"33px",borderRadius:"50%",backgroundColor:"var(--color-top)",color:"#fff",display:"flex",alignItems:"center",justifyContent:"center",fontWeight:"bold",marginTop:-4},verticalLine:{position:"absolute",top:29,bottom:"0",left:"50%",width:"1px",background:"linear-gradient(to bottom, var(--color-top) 0%, var(--color-top) 80%, rgba(0,0,0,0) 100%)",transform:"translateX(-50%)"},stepContent:{flex:1,minWidth:0,overflowWrap:"break-word"},item:{marginTop:"0.5rem"}}},5160(e,n,s){s.r(n),s.d(n,{assets:()=>p,contentTitle:()=>h,default:()=>y,frontMatter:()=>d,metadata:()=>r,toc:()=>x});const r=JSON.parse('{"id":"replication-mongodb","title":"MongoDB Realtime Sync Engine for Local-First Apps","description":"Build real-time, offline-capable apps with RxDB + MongoDB replication. Push/pull changes, use change streams, and keep data in sync across devices.","source":"@site/docs/replication-mongodb.md","sourceDirName":".","slug":"/replication-mongodb.html","permalink":"/replication-mongodb.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"MongoDB Realtime Sync Engine for Local-First Apps","slug":"replication-mongodb.html","description":"Build real-time, offline-capable apps with RxDB + MongoDB replication. Push/pull changes, use change streams, and keep data in sync across devices."},"sidebar":"tutorialSidebar","previous":{"title":"Firestore Replication","permalink":"/replication-firestore.html"},"next":{"title":"Supabase Replication","permalink":"/replication-supabase.html"}}');var i=s(4848),o=s(8453),l=s(2636),a=s(3247),t=s(2271),c=s(7482);const d={title:"MongoDB Realtime Sync Engine for Local-First Apps",slug:"replication-mongodb.html",description:"Build real-time, offline-capable apps with RxDB + MongoDB replication. Push/pull changes, use change streams, and keep data in sync across devices."},h="MongoDB Replication Plugin for RxDB - Real-Time, Offline-First Sync",p={},x=[{value:"Key Features",id:"key-features",level:2},{value:"Architecture Overview",id:"architecture-overview",level:2},{value:"Setting up the Client-RxServer-MongoDB Sync",id:"setting-up-the-client-rxserver-mongodb-sync",level:2},{value:"Install the Client Dependencies",id:"install-the-client-dependencies",level:3},{value:"Set up a MongoDB Server",id:"set-up-a-mongodb-server",level:3},{value:"Shell",id:"shell",level:3},{value:"Docker",id:"docker",level:3},{value:"MongoDB Atlas",id:"mongodb-atlas",level:3},{value:"Create a MongoDB Database and Collection",id:"create-a-mongodb-database-and-collection",level:3},{value:"Create a RxDB Database and Collection",id:"create-a-rxdb-database-and-collection",level:3},{value:"Sync the Collection with the MongoDB Server",id:"sync-the-collection-with-the-mongodb-server",level:3},{value:"Start a RxServer",id:"start-a-rxserver",level:3},{value:"Sync a Client with the RxServer",id:"sync-a-client-with-the-rxserver",level:3},{value:"Follow Up",id:"follow-up",level:2}];function k(e){const n={a:"a",admonition:"admonition",code:"code",figure:"figure",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...(0,o.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.header,{children:(0,i.jsx)(n.h1,{id:"mongodb-replication-plugin-for-rxdb---real-time-offline-first-sync",children:"MongoDB Replication Plugin for RxDB - Real-Time, Offline-First Sync"})}),"\n",(0,i.jsx)("p",{align:"center",children:(0,i.jsx)("img",{src:"./files/icons/mongodb.svg",alt:"MongoDB Sync",height:"60",class:"img-padding img-in-text-right"})}),"\n",(0,i.jsxs)(n.p,{children:["The ",(0,i.jsx)(n.a,{href:"https://www.mongodb.com/",children:"MongoDB"})," Replication Plugin for RxDB delivers seamless, two-way synchronization between MongoDB and RxDB, enabling ",(0,i.jsx)(n.a,{href:"/articles/realtime-database.html",children:"real-time"})," updates and ",(0,i.jsx)(n.a,{href:"/offline-first.html",children:"offline-first"})," functionality for your applications. Built on ",(0,i.jsx)(n.strong,{children:"MongoDB Change Streams"}),", it supports both Atlas and self-hosted deployments, ensuring your data stays consistent across every device and service."]}),"\n",(0,i.jsxs)(n.p,{children:["Behind the scenes, the plugin is powered by the RxDB ",(0,i.jsx)(n.a,{href:"/replication.html",children:"Sync Engine"}),", which manages the complexities of real-world data replication for you. It automatically handles ",(0,i.jsx)(n.a,{href:"/transactions-conflicts-revisions.html",children:"conflict detection and resolution"}),", maintains precise checkpoints for incremental updates, and gracefully manages transitions between offline and online states. This means you don't need to manually implement retry logic, reconcile divergent changes, or worry about data loss during connectivity drops, the Sync Engine ensures consistency and reliability in every sync cycle."]}),"\n",(0,i.jsx)(n.h2,{id:"key-features",children:"Key Features"}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Two-way replication"})," between MongoDB and RxDB collections"]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Offline-first support"})," with automatic incremental re-sync"]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Incremental updates"})," via MongoDB Change Streams"]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Conflict resolution"})," handled by the RxDB Sync Engine"]}),"\n",(0,i.jsxs)(n.li,{children:[(0,i.jsx)(n.strong,{children:"Atlas and self-hosted support"})," for replica sets and sharded clusters"]}),"\n"]}),"\n",(0,i.jsx)(n.h2,{id:"architecture-overview",children:"Architecture Overview"}),"\n",(0,i.jsxs)(n.p,{children:["The plugin operates in a three-tier architecture: Clients connect to ",(0,i.jsx)(n.a,{href:"/rx-server.html",children:"RxServer"}),", which in turn connects to MongoDB. RxServer streams changes from MongoDB to connected clients and pushes client-side updates back to MongoDB."]}),"\n",(0,i.jsxs)(n.p,{children:["For the client side, RxServer exposes a ",(0,i.jsx)(n.a,{href:"/rx-server.html#replication-endpoint",children:"replication endpoint"})," over WebSocket or HTTP, which your RxDB-powered applications can consume."]}),"\n",(0,i.jsx)(n.p,{children:"The following diagram illustrates the flow of updates between clients, RxServer, and MongoDB in a live synchronization setup:"}),"\n",(0,i.jsx)(c.u,{dbIcon:"/files/icons/mongodb-icon.svg",dbLabel:"MongoDB"}),"\n",(0,i.jsx)("br",{}),"\n",(0,i.jsx)("br",{}),"\n",(0,i.jsx)(n.admonition,{type:"note",children:(0,i.jsx)(n.p,{children:"The MongoDB Replication Plugin is optimized for Node.js environments (e.g., when RxDB runs within RxServer or other backend services). Direct connections from browsers or mobile apps to MongoDB are not supported because MongoDB does not use HTTP as its wire protocol and requires a driver-level connection to a replica set or sharded cluster."})}),"\n",(0,i.jsx)(n.h2,{id:"setting-up-the-client-rxserver-mongodb-sync",children:"Setting up the Client-RxServer-MongoDB Sync"}),"\n",(0,i.jsxs)(a.g,{children:[(0,i.jsx)(n.h3,{id:"install-the-client-dependencies",children:"Install the Client Dependencies"}),(0,i.jsx)(n.p,{children:"In your JavaScript project, install the RxDB libraries and the MongoDB node.js driver:"}),(0,i.jsx)(n.p,{children:(0,i.jsx)(n.code,{children:"npm install rxdb rxdb-server mongodb --save"})}),(0,i.jsx)(n.h3,{id:"set-up-a-mongodb-server",children:"Set up a MongoDB Server"}),(0,i.jsxs)(n.p,{children:["As first step, you need access to a running MongoDB Server. This can be done by either running a server locally or using the Atlas Cloud. Notice that we need to have a ",(0,i.jsx)(n.a,{href:"https://www.mongodb.com/docs/manual/tutorial/deploy-replica-set/",children:"replica set"})," because only on these, the MongoDB changestream can be used."]}),(0,i.jsxs)(l.t,{children:[(0,i.jsx)(n.h3,{id:"shell",children:"Shell"}),(0,i.jsx)(n.p,{children:"If you have installed MongoDB locally, you can start the server with this command:"}),(0,i.jsx)(n.p,{children:(0,i.jsx)(n.code,{children:"mongod --replSet rs0 --bind_ip_all"})}),(0,i.jsx)(n.h3,{id:"docker",children:"Docker"}),(0,i.jsx)(n.p,{children:"If you have docker installed, you can start a container that runs the MongoDB server:"}),(0,i.jsx)(n.p,{children:(0,i.jsx)(n.code,{children:"docker run -p 27017:27017 -p 27018:27018 -p 27019:27019 --rm --name rxdb-mongodb mongo:8.0.4 mongod --replSet rs0 --bind_ip_all"})}),(0,i.jsx)(n.h3,{id:"mongodb-atlas",children:"MongoDB Atlas"}),(0,i.jsx)(n.p,{children:"Learn here how to create a MongoDB atlas account and how to start a MongoDB cluster that runs in the cloud:"}),(0,i.jsx)("br",{}),(0,i.jsx)("center",{children:(0,i.jsx)(t.N,{videoId:"bBA9rUdqmgY",title:"Create MongoDB Atlas Server",duration:"19:55"})})]}),(0,i.jsx)("br",{}),(0,i.jsxs)(n.p,{children:["After this step you should have a valid connection string that points to a running MongoDB Server like ",(0,i.jsx)(n.code,{children:"mongodb://localhost:27017/"}),"."]}),(0,i.jsx)(n.h3,{id:"create-a-mongodb-database-and-collection",children:"Create a MongoDB Database and Collection"}),(0,i.jsx)(n.p,{children:"On your MongoDB server, make sure to create a database and a collection."}),(0,i.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"//> server.ts"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" { MongoClient } "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'mongodb'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" mongoClient"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" new"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" MongoClient"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'mongodb://localhost:27017/?directConnection=true'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" mongoDatabase"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" mongoClient"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".db"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'my-database'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" mongoDatabase"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".createCollection"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'my-collection'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" changeStreamPreAndPostImages"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" { enabled"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" true"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),(0,i.jsx)(n.admonition,{type:"note",children:(0,i.jsxs)(n.p,{children:["To observe document deletions on the changestream, ",(0,i.jsx)(n.code,{children:"changeStreamPreAndPostImages"})," must be enabled. This is not required if you have an insert/update-only collection where no documents are deleted ever."]})}),(0,i.jsx)(n.h3,{id:"create-a-rxdb-database-and-collection",children:"Create a RxDB Database and Collection"}),(0,i.jsxs)(n.p,{children:["Now we create an RxDB ",(0,i.jsx)(n.a,{href:"/rx-database.html",children:"database"})," and a ",(0,i.jsx)(n.a,{href:"/rx-collection.html",children:"collection"}),". In this example the ",(0,i.jsx)(n.a,{href:"/rx-storage-memory.html",children:"memory storage"}),", in production you would use a ",(0,i.jsx)(n.a,{href:"/rx-storage.html",children:"persistent storage"})," instead."]}),(0,i.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"//> server.ts"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" { createRxDatabase"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" addRxPlugin } "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" { getRxStorageMemory } "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/storage-memory'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// Create server-side RxDB instance"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'serverdb'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageMemory"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"()"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// Add your collection schema"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".addCollections"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" humans"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" schema"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" version"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 0"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" primaryKey"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'passportId'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'object'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" properties"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" passportId"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" { type"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" maxLength"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 100"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" firstName"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" { type"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" lastName"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" { type"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" required"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" ["}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'passportId'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'firstName'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'lastName'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"]"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),(0,i.jsx)(n.h3,{id:"sync-the-collection-with-the-mongodb-server",children:"Sync the Collection with the MongoDB Server"}),(0,i.jsxs)(n.p,{children:["Now we can start a ",(0,i.jsx)(n.a,{href:"/replication.html",children:"replication"})," that does a two-way replication between the RxDB Collection and the MongoDB Collection."]}),(0,i.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"//> server.ts"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" { replicateMongoDB } "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/replication-mongodb'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" replicationState"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" replicateMongoDB"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" mongodb"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" collectionName"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'my-collection'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" connection"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'mongodb://localhost:27017'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" databaseName"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'my-database'"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" collection"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:".humans"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" replicationIdentifier"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'humans-mongodb-sync'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" pull"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" { batchSize"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 50"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" push"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" { batchSize"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 50"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" live"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" true"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "})]})})}),(0,i.jsx)(n.admonition,{title:"You can do many things with the replication state",type:"note",children:(0,i.jsxs)(n.p,{children:["The ",(0,i.jsx)(n.code,{children:"RxMongoDBReplicationState"})," which is returned from ",(0,i.jsx)(n.code,{children:"replicateMongoDB()"})," allows you to run all functionality of the normal ",(0,i.jsx)(n.a,{href:"/replication.html",children:"RxReplicationState"})," like observing errors or doing start/stop operations."]})}),(0,i.jsx)(n.h3,{id:"start-a-rxserver",children:"Start a RxServer"}),(0,i.jsxs)(n.p,{children:["Now that we have a RxDatabase and Collection that is replicated with MongoDB, we can spawn a ",(0,i.jsx)(n.a,{href:"/rx-server.html",children:"RxServer"})," on top of it. This server can then be used by client devices to connect."]}),(0,i.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"//> server.ts"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" { createRxServer } "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb-server/plugins/server'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" { RxServerAdapterExpress } "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb-server/plugins/adapter-express'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" server"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" createRxServer"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" database"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" db"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" adapter"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" RxServerAdapterExpress"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" port"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 8080"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" cors"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" '*'"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" endpoint"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" server"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".addReplicationEndpoint"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'humans'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" collection"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:".humans"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"console"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".log"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'Replication endpoint:'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" `http://localhost:8080/"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"${"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"endpoint"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:".urlPath"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"}"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:"`"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// do not forget to start the server!"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" server"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".start"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]})]})})}),(0,i.jsx)(n.h3,{id:"sync-a-client-with-the-rxserver",children:"Sync a Client with the RxServer"}),(0,i.jsx)(n.p,{children:"On the client-side we create the exact same RxDatabase and collection and then replicate it with the replication endpoint of the RxServer."}),(0,i.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"//> client.ts"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" { createRxDatabase } "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" { getRxStorageDexie } "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/storage-dexie'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" { replicateServer } "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb-server/plugins/replication-server'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'mydb-client'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageDexie"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"()"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".addCollections"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" humans"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" schema"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" version"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 0"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" "})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" primaryKey"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'passportId'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'object'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" properties"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" passportId"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" { type"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" maxLength"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 100"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" firstName"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" { type"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" lastName"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" { type"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" required"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" ["}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'passportId'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'firstName'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'lastName'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"]"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// Start replication to the RxServer endpoint printed by the server:"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// e.g. http://localhost:8080/humans/0"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" replicationState"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" replicateServer"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" replicationIdentifier"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'humans-rxserver'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" collection"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:".humans"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" url"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'http://localhost:8080/humans/0'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" live"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" true"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" pull"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" { batchSize"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 50"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" push"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" { batchSize"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 50"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "})]})})})]}),"\n",(0,i.jsx)(n.h2,{id:"follow-up",children:"Follow Up"}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:["Try it out with the ",(0,i.jsx)(n.a,{href:"https://github.com/pubkey/rxdb-mongodb-sync-example",children:"RxDB-MongoDB example repository"})]}),"\n",(0,i.jsxs)(n.li,{children:["Read ",(0,i.jsx)(n.a,{href:"https://www.mongodb.com/company/blog/innovation/from-local-global-scalable-edge-apps-rxdb",children:"From Local to Global: Scalable Edge Apps with RxDB + MongoDB"})]}),"\n",(0,i.jsx)(n.li,{children:(0,i.jsx)(n.a,{href:"/replication.html",children:"Replication API Reference"})}),"\n",(0,i.jsx)(n.li,{children:(0,i.jsx)(n.a,{href:"/rx-server.html",children:"RxServer Documentation"})}),"\n",(0,i.jsxs)(n.li,{children:["Join our ",(0,i.jsx)(n.a,{href:"./chat",children:"Discord Forum"})," for questions and feedback"]}),"\n"]})]})}function y(e={}){const{wrapper:n}={...(0,o.R)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(k,{...e})}):k(e)}},7482(e,n,s){s.d(n,{u:()=>i});s(6540);var r=s(4848);function i({className:e="",style:n,clientLabels:s=["Client A","Client B","Client C"],serverLabel:i="RxServer",dbLabel:o="Backend",dbIcon:l="",showServer:a=!0}){const t="/files/logo/logo.svg",c=a?{}:{gridColumn:"2 / 5",width:"90%",marginLeft:"5%",marginRight:0};return(0,r.jsxs)("div",{className:`rxdb-diagram ${e}`,style:n,children:[(0,r.jsx)("style",{children:'\n .rxdb-diagram {\n padding-top: 20px;\n padding-bottom: 20px;\n box-sizing: border-box;\n color: inherit;\n width: 100%;\n max-width: 100%;\n overflow: hidden;\n margin: 0 auto;\n font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI",\n Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";\n }\n\n /* Stage keeps fixed aspect ratio and scales */\n .rxdb-diagram .stage {\n width: 100%;\n aspect-ratio: 816 / 336;\n position: relative;\n }\n\n /* Grid fills the stage completely */\n .rxdb-diagram .grid {\n position: absolute;\n inset: 0;\n display: grid;\n grid-template-columns:\n 26.960784% 5.882353% 31.862745% 5.882353% 29.411765%;\n grid-template-rows:\n 23.809524% 14.285714% 23.809524% 14.285714% 23.809524%;\n align-items: center;\n justify-items: stretch;\n }\n\n .rxdb-diagram {\n --stroke: clamp(1px, 0.35vmin, 2px);\n --radius: clamp(8px, 1.2vmin, 14px);\n --pad: clamp(8px, 1.2vmin, 18px);\n --line: currentColor;\n }\n\n .rxdb-diagram .logo {\n height: 1.2em;\n width: auto;\n display: inline-block;\n object-fit: contain;\n margin-right: 10px;\n }\n\n .rxdb-diagram .box {\n border: var(--stroke) dashed var(--line);\n border-radius: var(--radius);\n background: transparent;\n display: flex;\n align-items: center;\n justify-content: center;\n text-align: center;\n font-weight: 600;\n padding: var(--pad);\n line-height: 1.2;\n user-select: none;\n }\n\n /* Server and DB take full height of stage */\n .rxdb-diagram .server,\n .rxdb-diagram .db {\n grid-row: 1 / -1;\n height: 100%;\n }\n\n /* Horizontal arrows */\n .rxdb-diagram .arrow {\n position: relative;\n height: 0;\n border-top: var(--stroke) solid var(--line);\n width: calc(100% - 20%);\n margin-left: 10%;\n margin-right: -1.5%;\n }\n\n .rxdb-diagram .arrow::before,\n .rxdb-diagram .arrow::after {\n content: "";\n position: absolute;\n top: 50%;\n width: clamp(6px, 1.2vmin, 10px);\n height: clamp(6px, 1.2vmin, 10px);\n border-top: var(--stroke) solid var(--line);\n border-right: var(--stroke) solid var(--line);\n transform-origin: center;\n }\n .rxdb-diagram .arrow::before {\n left: 0;\n transform: translate(-0%, -60%) rotate(-135deg);\n }\n .rxdb-diagram .arrow::after {\n right: 0;\n transform: translate(0%, -60%) rotate(45deg);\n }\n '}),(0,r.jsx)("div",{className:"stage","aria-label":a?"Clients to RxServer to MongoDB diagram":"Clients to MongoDB diagram",children:(0,r.jsxs)("div",{className:"grid",children:[(0,r.jsxs)("div",{className:"box",style:{gridColumn:1,gridRow:1},children:[(0,r.jsx)("img",{src:t,alt:"",className:"logo","aria-hidden":!0}),s[0]||"Client A"]}),(0,r.jsx)("div",{className:"arrow",style:{gridColumn:a?2:c.gridColumn,gridRow:1,...a?{}:{width:"90%",marginLeft:"5%",marginRight:0}},"aria-hidden":!0}),a&&(0,r.jsxs)("div",{className:"box server",style:{gridColumn:3},children:[(0,r.jsx)("img",{src:t,alt:"",className:"logo","aria-hidden":!0}),i]}),a&&(0,r.jsx)("div",{className:"arrow",style:{gridColumn:4,gridRow:3},"aria-hidden":!0}),(0,r.jsxs)("div",{className:"box db",style:{gridColumn:5},children:[(0,r.jsx)("img",{src:l,alt:"",className:"logo","aria-hidden":!0}),o]}),(0,r.jsxs)("div",{className:"box",style:{gridColumn:1,gridRow:3},children:[(0,r.jsx)("img",{src:t,alt:"",className:"logo","aria-hidden":!0}),s[1]||"Client B"]}),(0,r.jsx)("div",{className:"arrow",style:{gridColumn:a?2:c.gridColumn,gridRow:3,...a?{}:{width:"90%",marginLeft:"5%",marginRight:0}},"aria-hidden":!0}),(0,r.jsxs)("div",{className:"box",style:{gridColumn:1,gridRow:5},children:[(0,r.jsx)("img",{src:t,alt:"",className:"logo","aria-hidden":!0}),s[2]||"Client C"]}),(0,r.jsx)("div",{className:"arrow",style:{gridColumn:a?2:c.gridColumn,gridRow:5,...a?{}:{width:"90%",marginLeft:"5%",marginRight:0}},"aria-hidden":!0})]})})]})}},8453(e,n,s){s.d(n,{R:()=>l,x:()=>a});var r=s(6540);const i={},o=r.createContext(i);function l(e){const n=r.useContext(o);return r.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function a(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:l(e.components),r.createElement(o.Provider,{value:n},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/98405524.b9ffa436.js b/docs/assets/js/98405524.b9ffa436.js
deleted file mode 100644
index 9c02c568d53..00000000000
--- a/docs/assets/js/98405524.b9ffa436.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[5504],{1934(e,s,r){r.r(s),r.d(s,{default:()=>n});var i=r(4586),t=r(8711),l=(r(6540),r(4848));function n(){const{siteConfig:e}=(0,i.A)();return(0,l.jsx)(t.A,{title:`RxDB User Survey - ${e.title}`,description:"RxDB User Survey",children:(0,l.jsx)("main",{children:(0,l.jsxs)("div",{className:"redirectBox",style:{textAlign:"center"},children:[(0,l.jsx)("a",{href:"/",children:(0,l.jsx)("div",{className:"logo",children:(0,l.jsx)("img",{src:"/files/logo/logo_text.svg",alt:"RxDB",width:160})})}),(0,l.jsx)("h1",{children:"RxDB User Survey"}),(0,l.jsx)("p",{children:(0,l.jsx)("b",{children:"You will be redirected in a few seconds."})}),(0,l.jsx)("p",{children:(0,l.jsx)("a",{href:"https://forms.gle/pe8vxaXez1A6X95EA",children:"Click here to open the Survey"})}),(0,l.jsx)("meta",{httpEquiv:"Refresh",content:"0; url=https://forms.gle/pe8vxaXez1A6X95EA"})]})})})}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/9850.34d66cab.js b/docs/assets/js/9850.34d66cab.js
deleted file mode 100644
index 963b66bc4a3..00000000000
--- a/docs/assets/js/9850.34d66cab.js
+++ /dev/null
@@ -1 +0,0 @@
-(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[9850],{175(e,t,n){"use strict";n.d(t,{q:()=>i});var r=n(2235),o=n(3587);const i=(e,t,n)=>{(0,r.vA)((0,r.cy)(t),"Invalid expression. $nor expects value to be an array.");const i=(0,o.s)("$or",t,n);return e=>!i(e)}},235(e,t,n){"use strict";n.d(t,{R0:()=>u,lI:()=>i});var r=n(1693);function o(e){return e[e.length-1]}function i(e){return(t=o(e))&&(0,r.T)(t.schedule)?e.pop():void 0;var t}function u(e,t){return"number"==typeof o(e)?e.pop():t}},558(e,t,n){"use strict";n.d(t,{N:()=>o});var r=n(5964);const o=(e,t,n)=>(0,r.ON)(e,t,n,r.NV)},695(e,t,n){"use strict";n.d(t,{C:()=>u});var r=n(4953),o=n(2235);function i(e,t,n=!0){const r={exclusions:[],inclusions:[],positional:0},u=Object.keys(e);assert(u.length,"Invalid empty sub-projection");const s=t?.idKey;let a=!1;for(const c of u){if(c.startsWith("$"))return assert(!n&&1===u.length,`FieldPath field names may not start with '$', given '${c}'.`),r;c.endsWith(".$")&&r.positional++;const l=e[c];if(!1===l||(0,o.Et)(l)&&0===l)c===s?a=!0:r.exclusions.push(c);else if((0,o.Gv)(l)){const e=i(l,t,!1);e.inclusions.length||e.exclusions.length?(e.inclusions.forEach(e=>r.inclusions.push(`${c}.${e}`)),e.exclusions.forEach(e=>r.exclusions.push(`${c}.${e}`))):r.inclusions.includes(c)||r.inclusions.push(c),r.positional+=e.positional}else r.inclusions.push(c);assert(!(r.exclusions.length&&r.inclusions.length),"Cannot do exclusion and inclusion in projection."),assert(r.positional<=1,"Cannot specify more than one positional projection.")}if(a&&r.exclusions.push(s),n){const e=new o.yk;r.exclusions.forEach(t=>assert(e.add(t),`Path collision at ${t}.`)),r.inclusions.forEach(t=>assert(e.add(t),`Path collision at ${t}.`)),r.exclusions.sort(),r.inclusions.sort()}return r}const u=(e,t,n)=>{if((0,o.Im)(t))return e;const u=i(t,n),s=function(e,t,n){const i=t.idKey,{exclusions:u,inclusions:s}=n,a={},c={preserveMissing:!0};for(const r of u)a[r]=(e,t)=>{(0,o.yT)(e,r,{descendArray:!0})};for(const v of s){const n=(0,o.hd)(e,v)??e[v];if(v.endsWith(".$")&&1===n){const e=t?.local?.condition;(0,o.vA)(e,"positional operator '.$' couldn't find matching element in the array.");const n=v.slice(0,-2);a[n]=l(n,e,t);continue}if((0,o.cy)(n))a[v]=(e,i)=>{t.update({root:i});const u=n.map(e=>(0,r.px)(i,e,null,t)??null);(0,o.KY)(e,v,u)};else if((0,o.Et)(n)||!0===n)a[v]=(e,n)=>{t.update({root:n});f(e,(0,o.Rm)(n,v,c))};else if(0==(0,o.Gv)(n))a[v]=(e,i)=>{t.update({root:i});const u=(0,r.px)(i,n,null,t);(0,o.KY)(e,v,u)};else{const e=Object.keys(n);(0,o.vA)(1===e.length&&(0,o.Zo)(e[0]),"Not a valid operator");const i=e[0],u=n[i],s=t.context.getOperator(r.i5.PROJECTION,i);!s||"$slice"===i&&!(0,o.eC)(u).every(o.Et)?a[v]=(e,n)=>{t.update({root:n});const s=(0,r.px)(n,u,i,t);(0,o.KY)(e,v,s)}:a[v]=(e,n)=>{t.update({root:n});const r=s(n,u,v,t);(0,o.KY)(e,v,r)}}}const h=1===u.length&&u.includes(i),d=!u.includes(i),p=!s.length,y=p&&h||p&&u.length&&!h;return e=>{const t={};y&&Object.assign(t,e);for(const n in a)a[n](t,e);return p||(0,o.B2)(t),d&&!(0,o.zy)(t,i)&&(0,o.zy)(e,i)&&(t[i]=(0,o.hd)(e,i)),t}}(t,r.qk.init(n),u);return e.map(s)};const s=(e,t,n,r)=>{let i=(0,o.hd)(e,t);(0,o.cy)(i)||(i=(0,o.hd)(i,n)),(0,o.vA)((0,o.cy)(i),"must resolve to array");const u=[];return i.forEach((e,t)=>r({[n]:[e]})&&u.push(t)),u},a=e=>t=>!e(t),c={$and:1,$or:1,$nor:1};function l(e,t,n){const i=Object.entries(t).slice(),u={$and:[],$or:[]};for(let s=0;si.push([e,n,t]))}}const l=e.lastIndexOf("."),f=e.substring(0,l)||e,h=e.substring(l+1);return(t,n)=>{const r=[];for(const[e,o,c]of u.$and)r.push(s(n,e,c,o));if(u.$or.length){const e=[];for(const[t,r,o]of u.$or)e.push(...s(n,t,o,r));r.push((0,o.Am)(e))}const i=(0,o.E$)(r).sort()[0];let a=(0,o.hd)(n,e)[i];f==h||(0,o.Gv)(a)||(a={[h]:a}),(0,o.KY)(t,f,[a])}}function f(e,t){if(e===o.lV||(0,o.gD)(e))return t;if((0,o.gD)(t))return e;for(const n of Object.keys(t))e[n]=f(e[n],t[n]);return e}},703(e,t,n){"use strict";n.d(t,{X2:()=>I});Promise.resolve(!1),Promise.resolve(!0);var r=Promise.resolve();function o(e,t){return e||(e=0),new Promise(function(n){return setTimeout(function(){return n(t)},e)})}function i(){return Math.random().toString(36).substring(2)}var u=0;function s(){var e=1e3*Date.now();return e<=u&&(e=u+1),u=e,e}var a={create:function(e){var t={time:s(),messagesCallback:null,bc:new BroadcastChannel(e),subFns:[]};return t.bc.onmessage=function(e){t.messagesCallback&&t.messagesCallback(e.data)},t},close:function(e){e.bc.close(),e.subFns=[]},onMessage:function(e,t){e.messagesCallback=t},postMessage:function(e,t){try{return e.bc.postMessage(t,!1),r}catch(n){return Promise.reject(n)}},canBeUsed:function(){if("undefined"!=typeof globalThis&&globalThis.Deno&&globalThis.Deno.args)return!0;if("undefined"==typeof window&&"undefined"==typeof self||"function"!=typeof BroadcastChannel)return!1;if(BroadcastChannel._pubkey)throw new Error("BroadcastChannel: Do not overwrite window.BroadcastChannel with this module, this is not a polyfill");return!0},type:"native",averageResponseTime:function(){return 150},microSeconds:s},c=n(5525);function l(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=JSON.parse(JSON.stringify(e));return void 0===t.webWorkerSupport&&(t.webWorkerSupport=!0),t.idb||(t.idb={}),t.idb.ttl||(t.idb.ttl=45e3),t.idb.fallbackInterval||(t.idb.fallbackInterval=150),e.idb&&"function"==typeof e.idb.onclose&&(t.idb.onclose=e.idb.onclose),t.localstorage||(t.localstorage={}),t.localstorage.removeTimeout||(t.localstorage.removeTimeout=6e4),e.methods&&(t.methods=e.methods),t.node||(t.node={}),t.node.ttl||(t.node.ttl=12e4),t.node.maxParallelWrites||(t.node.maxParallelWrites=2048),void 0===t.node.useFastPath&&(t.node.useFastPath=!0),t}var f="messages",h={durability:"relaxed"};function d(){if("undefined"!=typeof indexedDB)return indexedDB;if("undefined"!=typeof window){if(void 0!==window.mozIndexedDB)return window.mozIndexedDB;if(void 0!==window.webkitIndexedDB)return window.webkitIndexedDB;if(void 0!==window.msIndexedDB)return window.msIndexedDB}return!1}function p(e){e.commit&&e.commit()}function y(e,t){var n=e.transaction(f,"readonly",h),r=n.objectStore(f),o=[],i=IDBKeyRange.bound(t+1,1/0);if(r.getAll){var u=r.getAll(i);return new Promise(function(e,t){u.onerror=function(e){return t(e)},u.onsuccess=function(t){e(t.target.result)}})}return new Promise(function(e,u){var s=function(){try{return i=IDBKeyRange.bound(t+1,1/0),r.openCursor(i)}catch(e){return r.openCursor()}}();s.onerror=function(e){return u(e)},s.onsuccess=function(r){var i=r.target.result;i?i.value.ide.lastCursorId&&(e.lastCursorId=t.id),t}).filter(function(t){return function(e,t){return!(e.uuid===t.uuid||t.eMIs.has(e.id)||e.data.time0||e._addEL.internal.length>0}function M(e,t,n){e._addEL[t].push(n),function(e){if(!e._iL&&K(e)){var t=function(t){e._addEL[t.type].forEach(function(e){t.time>=e.time&&e.fn(t.data)})},n=e.method.microSeconds();e._prepP?e._prepP.then(function(){e._iL=!0,e.method.onMessage(e._state,t,n)}):(e._iL=!0,e.method.onMessage(e._state,t,n))}}(e)}function D(e,t,n){e._addEL[t]=e._addEL[t].filter(function(e){return e!==n}),function(e){if(e._iL&&!K(e)){e._iL=!1;var t=e.method.microSeconds();e.method.onMessage(e._state,null,t)}}(e)}I._pubkey=!0,I.prototype={postMessage:function(e){if(this.closed)throw new Error("BroadcastChannel.postMessage(): Cannot post message after channel has closed "+JSON.stringify(e));return T(this,"message",e)},postInternal:function(e){return T(this,"internal",e)},set onmessage(e){var t={time:this.method.microSeconds(),fn:e};D(this,"message",this._onML),e&&"function"==typeof e?(this._onML=t,M(this,"message",t)):this._onML=null},addEventListener:function(e,t){M(this,e,{time:this.method.microSeconds(),fn:t})},removeEventListener:function(e,t){D(this,e,this._addEL[e].find(function(e){return e.fn===t}))},close:function(){var e=this;if(!this.closed){A.delete(this),this.closed=!0;var t=this._prepP?this._prepP:r;return this._onML=null,this._addEL.message=[],t.then(function(){return Promise.all(Array.from(e._uMP))}).then(function(){return Promise.all(e._befC.map(function(e){return e()}))}).then(function(){return e.method.close(e._state)})}},get type(){return this.method.type},get isClosed(){return this.closed}}},1401(e,t,n){"use strict";n.d(t,{I:()=>o});var r=n(5964);const o=(e,t,n)=>(0,r.ON)(e,t,n,r.Ig)},1449(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(1576);function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,r.A)(e,t)}},1576(e,t,n){"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{A:()=>r})},1621(e,t,n){"use strict";n.d(t,{X:()=>f});var r=n(4953),o=n(2235);function i(e){return e instanceof u?e:new u(e)}class u{#e=[];#t=[];#n;#r=!1;constructor(e){const t=!(n=e)||"object"!=typeof n&&"function"!=typeof n||"function"!=typeof n[Symbol.iterator]?function(e){return!!e&&"object"==typeof e&&"function"==typeof e?.next}(e)?e:"function"==typeof e?{next:e}:null:e[Symbol.iterator]();var n;(0,o.vA)(!!t,"Iterator must be initialized with an iterable or function.");let r=-1,i={done:!1};this.#n=()=>{for(;!i.done&&(i=t.next(),!i.done);){let e=i.value;r++;if(this.#e.every(({op:t,fn:n})=>{const o=n(e,r);return"map"===t?!!(e=o)||!0:o}))return{value:e,done:!1}}return{done:!0}}}push(e,t){return this.#e.push({op:e,fn:t}),this}next(){return this.#n()}map(e){return this.push("map",e)}filter(e){return this.push("filter",e)}take(e){return(0,o.vA)(e>=0,"value must be a non\u2011negative integer"),this.filter(t=>e-- >0)}drop(e){return(0,o.vA)(e>=0,"value must be a non\u2011negative integer"),this.filter(t=>e--<=0)}transform(e){const t=this;let n;return i(()=>(n||(n=i(e(t.collect()))),n.next()))}collect(){for(;!this.#r;){const{done:e,value:t}=this.#n();e||this.#t.push(t),this.#r=e}return this.#t}each(e){for(let t=this.next();!0!==t.done;t=this.next())e(t.value)}reduce(e,t){let n=this.next();for(void 0!==t||n.done||(t=n.value,n=this.next());!n.done;)t=e(t,n.value),n=this.next();return t}size(){return this.collect().length}[Symbol.iterator](){return this}}var s=n(695);const a={$sort:n(4192).x,$skip:(e,t,n)=>(assert(t>=0,"$skip value must be a non-negative integer"),e.drop(t)),$limit:(e,t,n)=>e.take(t)};class c{#o;#i;#u;#s;#a={};#c=null;#t=[];constructor(e,t,n,r){this.#o=e,this.#i=t,this.#u=n,this.#s=r}fetch(){if(this.#c)return this.#c;this.#c=i(this.#o).filter(this.#i);const e=this.#s.processingMode;e&r.to.CLONE_INPUT&&this.#c.map(e=>(0,o.mg)(e));for(const t of["$sort","$skip","$limit"])(0,o.zy)(this.#a,t)&&(this.#c=a[t](this.#c,this.#a[t],this.#s));return Object.keys(this.#u).length&&(this.#c=(0,s.C)(this.#c,this.#u,this.#s)),e&r.to.CLONE_OUTPUT&&this.#c.map(e=>(0,o.mg)(e)),this.#c}fetchAll(){const e=i(Array.from(this.#t));return this.#t.length=0,function(...e){let t=0;return i(()=>{for(;t0)return this.#t.pop();const e=this.fetch().next();return e.done?void 0:e.value}hasNext(){if(this.#t.length>0)return!0;const e=this.fetch().next();return!e.done&&(this.#t.push(e.value),!0)}[Symbol.iterator](){return this.fetchAll()}}const l=/^\$(and|or|nor|expr|jsonSchema)$/;class f{#l;#f;#s;constructor(e,t){this.#f=(0,o.mg)(e),this.#s=r.qk.init(t).update({condition:e}),this.#l=[],this.compile()}compile(){(0,o.vA)((0,o.Gv)(this.#f),`query criteria must be an object: ${JSON.stringify(this.#f)}`);const e={},t=Object.entries(this.#f);for(const[n,r]of t){if("$where"===n)(0,o.vA)(this.#s.scriptEnabled,"$where operator requires 'scriptEnabled' option to be true."),Object.assign(e,{field:n,expr:r});else if(l.test(n))this.processOperator(n,n,r);else{(0,o.vA)(!(0,o.Zo)(n),`unknown top level operator: ${n}`);for(const[e,t]of Object.entries((0,o.S8)(r)))this.processOperator(n,e,t)}e.field&&this.processOperator(e.field,e.field,e.expr)}}processOperator(e,t,n){const i=this.#s.context.getOperator(r.i5.QUERY,t);(0,o.vA)(!!i,`unknown query operator ${t}`),this.#l.push(i(e,n,this.#s))}test(e){return this.#l.every(t=>t(e))}find(e,t){return new c(e,e=>this.test(e),t||{},this.#s)}}},2080(e,t,n){"use strict";n.d(t,{X:()=>o});var r=n(5964);const o=(e,t,n)=>(0,r.ON)(e,t,n,r.XV)},2198(e,t,n){"use strict";n.d(t,{t:()=>o});var r=n(4629),o=function(e){function t(t){var n=e.call(this)||this;return n._value=t,n}return(0,r.C6)(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),t.prototype._subscribe=function(t){var n=e.prototype._subscribe.call(this,t);return!n.closed&&t.next(this._value),n},t.prototype.getValue=function(){var e=this,t=e.hasError,n=e.thrownError,r=e._value;if(t)throw n;return this._throwIfClosed(),r},t.prototype.next=function(t){e.prototype.next.call(this,this._value=t)},t}(n(9092).B)},2226(e,t,n){"use strict";n.d(t,{f:()=>o});var r=n(5964);const o=(e,t,n)=>(0,r.ON)(e,t,n,r.fy)},2235(e,t,n){"use strict";n.d(t,{lV:()=>d,yk:()=>te,vA:()=>O,mg:()=>$,UD:()=>w,eC:()=>N,B2:()=>Q,Bq:()=>L,$z:()=>z,zy:()=>q,E$:()=>F,cy:()=>A,Lm:()=>P,$P:()=>T,Im:()=>R,n4:()=>x,gD:()=>M,Et:()=>S,Gv:()=>j,Zo:()=>J,gd:()=>K,Kg:()=>C,S8:()=>ee,yT:()=>Z,hd:()=>W,Rm:()=>Y,KY:()=>H,vN:()=>D,QP:()=>E,Am:()=>U});const r=[];function o(e,t){return 16777619*e^t>>>0}function i(e){if(Number.isNaN(e))return 2143289344;if(!Number.isFinite(e))return e>0?2139095040:4286578688;const t=Math.trunc(e),n=e-t;let r=0|t;if(0!==n){r=o(r,0|Math.floor(4294967296*n))}return r>>>0}function u(e){let t=0;for(let n=0;n>>0}function s(e){let t=u(e.constructor.name);return t=o(t,function(e){let t=0;for(let n=0;n>>0}(new Uint8Array(e.buffer,e.byteOffset,e.byteLength))),t>>>0}const a=[3735928559,305441741].map(e=>o(3,e)),c=o(1,0),l=o(2,0);function f(e,t){if(null===e)return c;switch(typeof e){case"undefined":return l;case"boolean":return a[+e];case"number":return o(4,i(e));case"string":return o(5,u(e));case"bigint":return o(6,function(e){let t=0;const n=e<0n;let r=n?-e:e;if(0n===r)t=o(t,0);else for(;r>0n;)t=o(t,Number(0xffn&r)),r>>=8n;return o(t,+n)>>>0}(e));case"function":return o(7,function(e){let t=u((e.name||"")+e.toString());return t=o(t,e.length),t>>>0}(e));default:if(ArrayBuffer.isView(e)&&!(e instanceof DataView))return o(12,s(e));if(e instanceof Date)return o(10,i(e.getTime()));if(e instanceof RegExp){return o(11,o(u(e.source),u(e.flags)))}return Array.isArray(e)?o(8,function(e,t){if(t.has(e))return 13;t.add(e);let n=1;for(let r=0;r>>0}(e,t)):o(9,function(e,t){if(t.has(e))return 13;if(t.add(e),r.length=0,Object.getPrototypeOf(e)===Object.prototype)for(const o in e)r.push(o);else{Array.prototype.push.apply(r,Object.keys(e));for(const t of Object.getOwnPropertyNames(Object.getPrototypeOf(e)))"function"!=typeof e[t]&&r.push(t)}r.sort();let n=u(e?.constructor?.name);for(const i of r)n=o(n,u(i)),n=o(n,f(e[i],t));return t.delete(e),n>>>0}(e,t))}}class h extends Error{}const d=Symbol("missing"),p=e=>"object"!=typeof e&&"function"!=typeof e||null===e,y=e=>p(e)||T(e)||K(e),v={undefined:1,null:2,number:3,string:4,symbol:5,object:6,array:7,arraybuffer:8,boolean:9,date:10,regexp:11,function:12},m=2*Object.keys(v).length,g=(e,t)=>et?1:0;function b(e,t,n=!1){let r=0;if(e===d&&(e=void 0),t===d&&(t=void 0),e===t||Object.is(e,t))return 0;const o=B(e)?"arraybuffer":E(e),i=B(t)?"arraybuffer":E(t);if(o!==i){if("undefined"==o)return-1;if("undefined"==i)return 1;if(n&&"array"==o&&!e.length)return-1;if(n&&"array"==i&&!t.length)return 1;if(n){if(A(e)){const n=e.slice().sort(b);r=1;for(const e of n)if((r=Math.min(r,b(e,t)))<0)return r;return r}if(A(t)){const n=t.slice().sort(b);r=-1;for(const t of n)if((r=Math.max(r,b(e,t)))>0)return r;return r}}const u=v[o]??m,s=v[i]??m;if(u!==s)return g(u,s)}switch(o){case"number":case"string":return g(e,t);case"boolean":case"date":return g(+e,+t);case"regexp":return(r=g(e.source,t.source))||(r=g(e.flags,t.flags))?r:0;case"arraybuffer":return((e,t)=>{const n=new Uint8Array(e.buffer,e.byteOffset,e.byteLength),r=new Uint8Array(t.buffer,t.byteOffset,t.byteLength),o=Math.min(n.length,r.length);for(let i=0;inull!=e&&e.toString!==Object.prototype.toString;function x(e,t){if(e===t||Object.is(e,t))return!0;if(null===e||null===t)return!1;if(typeof e!=typeof t)return!1;if("object"!=typeof e)return!1;if(e.constructor!==t.constructor)return!1;if(T(e))return T(t)&&+e===+t;if(K(e))return K(t)&&e.source===t.source&&e.flags===t.flags;if(A(e)&&A(t))return e.length===t.length&&e.every((e,n)=>x(e,t[n]));if(e?.constructor!==Object&&_(e))return e?.toString()===t?.toString();const n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every(n=>q(t,n)&&x(e[n],t[n]))}class k extends Map{#h=new Map;#d=e=>{const t=f(e,new WeakSet)>>>0;return[(this.#h.get(t)||[]).find(t=>x(t,e)),t]};constructor(){super()}static init(){return new k}clear(){super.clear(),this.#h.clear()}delete(e){if(p(e))return super.delete(e);const[t,n]=this.#d(e);return!!super.delete(t)&&(this.#h.set(n,this.#h.get(n).filter(e=>!x(e,t))),!0)}get(e){if(p(e))return super.get(e);const[t,n]=this.#d(e);return super.get(t)}has(e){if(p(e))return super.has(e);const[t,n]=this.#d(e);return super.has(t)}set(e,t){if(p(e))return super.set(e,t);const[n,r]=this.#d(e);if(super.has(n))super.set(n,t);else{super.set(e,t);const n=this.#h.get(r)||[];n.push(e),this.#h.set(r,n)}return this}get size(){return super.size}}function O(e,t){if(!e)throw new h(t)}function E(e){if(null===e)return"null";const t=typeof e;return"object"!==t&&v[t]?t:A(e)?"array":T(e)?"date":K(e)?"regexp":e?.constructor?.name?.toLowerCase()??"object"}const P=e=>"boolean"==typeof e,C=e=>"string"==typeof e,S=e=>!isNaN(e)&&"number"==typeof e,A=Array.isArray,j=e=>"object"===E(e),I=e=>!p(e),T=e=>e instanceof Date,K=e=>e instanceof RegExp,M=e=>null==e,D=(e,t=!0)=>!!e||t&&""===e,R=e=>M(e)||C(e)&&!e||A(e)&&0===e.length||j(e)&&0===Object.keys(e).length,N=e=>A(e)?e:[e],q=(e,t)=>!!e&&Object.prototype.hasOwnProperty.call(e,t),B=e=>"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView(e),$=(e,t)=>{if(M(e)||P(e)||S(e)||C(e))return e;if(T(e))return new Date(e);if(K(e))return new RegExp(e);if(B(e)){return new(0,e.constructor)(e)}if(t instanceof Set||(t=new Set),t.has(e))throw new Error("mingo: cycle detected while processing object/array");t.add(e);try{if(A(e)){const n=new Array(e.length);for(let r=0;r0===e.length))return[];if(1===e.length)return e[0].slice();const t=[k.init(),k.init()];e[e.length-1].forEach(e=>t[0].set(e,!0));for(let n=e.length-2;n>-1;n--){if(e[n].forEach(e=>{t[0].has(e)&&t[1].set(e,!0)}),0===t[1].size)return[];t.reverse(),t[1].clear()}return Array.from(t[0].keys())}function L(e,t=1){const n=new Array;return function e(t,r){for(let o=0,i=t.length;o0||r<0)?e(t[o],Math.max(-1,r-1)):n.push(t[o])}(e,t),n}function U(e){const t=k.init();return e.forEach(e=>t.set(e,!0)),Array.from(t.keys())}function z(e,t){if(e.length<1)return new Map;const n=k.init();for(let r=0;r0)break;r+=1;const t=n.slice(i);o=o.reduce((n,r)=>{const o=e(r,t);return void 0!==o&&n.push(o),n},[]);break}if(o=V(o,t),void 0===o)break}return o}(e,t.split("."));return A(o)&&n?.unwrapArray?function(e,t){if(t<1)return e;for(;t--&&1===e.length&&A(e[0]);)e=e[0];return e}(o,r):o}function Y(e,t,n){const r=t.indexOf("."),o=-1==r?t:t.substring(0,r),i=t.substring(r+1),u=-1!=r;if(A(e)){const r=/^\d+$/.test(o),s=r&&n?.preserveIndex?e.slice():[];if(r){const t=parseInt(o);let r=V(e,t);u&&(r=Y(r,i,n)),n?.preserveIndex?s[t]=r:s.push(r)}else for(const o of e){const e=Y(o,t,n);n?.preserveMissing?s.push(null==e?d:e):(null!=e||n?.preserveIndex)&&s.push(e)}return s}const s=n?.preserveKeys?{...e}:{};let a=V(e,o);if(u&&(a=Y(a,i,n)),void 0!==a)return s[o]=a,s}function Q(e){if(A(e))for(let t=e.length-1;t>=0;t--)e[t]===d?e.splice(t,1):Q(e[t]);else if(j(e))for(const t of Object.keys(e))q(e,t)&&Q(e[t])}const G=/^\d+$/;function X(e,t,n,r){const o=t.split("."),i=o[0],u=o.slice(1).join(".");if(1===o.length)(j(e)||A(e)&&G.test(i))&&n(e,i);else{r?.buildGraph&&M(e[i])&&(e[i]={});const t=e[i];if(!t)return;const s=!!(o.length>1&&G.test(o[1]));A(t)&&r?.descendArray&&!s?t.forEach(e=>X(e,u,n,r)):X(t,u,n,r)}}function H(e,t,n){X(e,t,(e,t)=>e[t]=n,{buildGraph:!0})}function Z(e,t,n){X(e,t,(e,t)=>{A(e)?e.splice(parseInt(t),1):j(e)&&delete e[t]},n)}const J=e=>e&&"$"===e[0]&&/^\$[a-zA-Z0-9_]+$/.test(e);function ee(e){if(y(e))return K(e)?{$regex:e}:{$eq:e};if(I(e)){if(!Object.keys(e).some(J))return{$eq:e};if(q(e,"$regex")){const t={...e};return t.$regex=new RegExp(e.$regex,e.$options),delete t.$options,t}}return e}class te{constructor(){this.root={children:new Map,isTerminal:!1}}add(e){const t=e.split(".");let n=this.root;for(const r of t){if(n.isTerminal)return!1;n.children.has(r)||n.children.set(r,{children:new Map,isTerminal:!1}),n=n.children.get(r)}return!n.isTerminal&&!n.children.size&&(n.isTerminal=!0)}}},2442(e,t,n){"use strict";n.d(t,{Z:()=>c});var r=n(7708),o=n(7688),i=n(5096),u=n(8071),s=n(4370);var a=n(1693);function c(e,t,n){return void 0===n&&(n=1/0),(0,a.T)(t)?c(function(n,i){return(0,r.T)(function(e,r){return t(n,e,i,r)})((0,o.Tg)(e(n,i)))},n):("number"==typeof t&&(n=t),(0,i.N)(function(t,r){return function(e,t,n,r,i,a,c,l){var f=[],h=0,d=0,p=!1,y=function(){!p||f.length||h||t.complete()},v=function(e){return ho});var r=n(5964);const o=(e,t,n)=>(0,r.ON)(e,t,n,r.Q_)},2830(e,t,n){"use strict";n.d(t,{J:()=>o});var r=n(5964);const o=(e,t,n)=>(0,r.ON)(e,t,n,r.Jy)},3026(e,t,n){"use strict";n.d(t,{C:()=>i,U:()=>u});var r=n(4629),o=n(1693);function i(e){return(0,r.AQ)(this,arguments,function(){var t,n,o;return(0,r.YH)(this,function(i){switch(i.label){case 0:t=e.getReader(),i.label=1;case 1:i.trys.push([1,,9,10]),i.label=2;case 2:return[4,(0,r.N3)(t.read())];case 3:return n=i.sent(),o=n.value,n.done?[4,(0,r.N3)(void 0)]:[3,5];case 4:return[2,i.sent()];case 5:return[4,(0,r.N3)(o)];case 6:return[4,i.sent()];case 7:return i.sent(),[3,2];case 8:return[3,10];case 9:return t.releaseLock(),[7];case 10:return[2]}})})}function u(e){return(0,o.T)(null==e?void 0:e.getReader)}},3356(e,t,n){"use strict";n.d(t,{Z:()=>a});var r=n(5499);var o=n(235),i=n(9852);function u(){for(var e=[],t=0;ti});var r=n(1621),o=n(2235);const i=(e,t,n)=>{(0,o.vA)((0,o.cy)(t),"Invalid expression. $or expects value to be an Array");const i=t.map(e=>new r.X(e,n));return e=>i.some(t=>t.test(e))}},3697(e,t,n){"use strict";n.d(t,{o:()=>o});var r=n(5964);const o=(e,t,n)=>(0,r.ON)(e,t,n,r.oZ)},3819(e,t,n){"use strict";n.d(t,{T:()=>o});var r=n(1693);function o(e){return Symbol.asyncIterator&&(0,r.T)(null==e?void 0:e[Symbol.asyncIterator])}},3836(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e){var t=function(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==r(t)?t:t+""}function i(e,t){for(var n=0;nu})},4157(e,t,n){"use strict";n.d(t,{h:()=>a});var r=n(5499),o=n(7688),i=new(n(1753).c)(function(e){return e.complete()});var u=n(235),s=n(9852);function a(){for(var e=[],t=0;to});var r=n(2235);const o=(e,t,n)=>{if((0,r.Im)(t)||!(0,r.Gv)(t))return e;let o=r.UD;const u=n.collation;return(0,r.Gv)(u)&&(0,r.Kg)(u.locale)&&(o=function(e){const t={sensitivity:i[e.strength||3],caseFirst:"off"===e.caseFirst?"false":e.caseFirst||"false",numeric:e.numericOrdering||!1,ignorePunctuation:"shifted"===e.alternate};!0===e.caseLevel&&("base"===t.sensitivity&&(t.sensitivity="case"),"accent"===t.sensitivity&&(t.sensitivity="variant"));const n=new Intl.Collator(e.locale,t);return(e,t)=>{if(!(0,r.Kg)(e)||!(0,r.Kg)(t))return(0,r.UD)(e,t);const o=n.compare(e,t);return o<0?-1:o>0?1:0}}(u)),e.transform(e=>{const n=Object.keys(t);for(const i of n.reverse()){const n=(0,r.$z)(e,e=>(0,r.hd)(e,i)),u=Array.from(n.keys());let s=!1;if(o===r.UD){let e=!0,t=!0;s=u.every(n=>+(e&&=(0,r.Kg)(n))^+(t&&=(0,r.Et)(n))),e?u.sort():t&&new Float64Array(u).sort().forEach((e,t)=>u[t]=e)}s||u.sort(o),-1===t[i]&&u.reverse();let a=0;for(const t of u)for(const r of n.get(t))e[a++]=r;(0,r.vA)(a==e.length,"bug: counter must match collection size.")}return e})},i={1:"base",2:"accent",3:"variant"}},4207(e,t,n){"use strict";n.d(t,{l:()=>r});var r="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"},4429(e,t,n){"use strict";function r(e){return new TypeError("You provided "+(null!==e&&"object"==typeof e?"an invalid object":"'"+e+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}n.d(t,{L:()=>r})},4612(e,t,n){"use strict";n.d(t,{P:()=>o});var r=n(5964);const o=(e,t,n)=>(0,r.ON)(e,t,n,r.Pp)},4799(e,t,n){"use strict";n.d(t,{x:()=>i});var r=n(4207),o=n(1693);function i(e){return(0,o.T)(null==e?void 0:e[r.l])}},4953(e,t,n){"use strict";n.d(t,{i5:()=>u,ob:()=>s,px:()=>a,qk:()=>i,to:()=>o});var r=n(2235),o=(e=>(e[e.CLONE_OFF=0]="CLONE_OFF",e[e.CLONE_INPUT=1]="CLONE_INPUT",e[e.CLONE_OUTPUT=2]="CLONE_OUTPUT",e[e.CLONE_ALL=3]="CLONE_ALL",e))(o||{});class i{constructor(e,t){this.options=e,this.#p=t?{...t}:{}}#p;static init(e){return e instanceof i?new i(e.options,e.#p):new i({idKey:"_id",scriptEnabled:!0,useStrictMode:!0,processingMode:0,...e,context:e?.context?s.from(e?.context):s.init()})}update(e){return Object.assign(this.#p,e,{timestamp:this.#p.timestamp,variables:{...this.#p?.variables,...e?.variables}}),this}get local(){return this.#p}get now(){return this.#p?.timestamp||Object.assign(this.#p,{timestamp:Date.now()}),new Date(this.#p.timestamp)}get idKey(){return this.options.idKey}get collation(){return this.options?.collation}get processingMode(){return this.options?.processingMode}get useStrictMode(){return this.options?.useStrictMode}get scriptEnabled(){return this.options?.scriptEnabled}get collectionResolver(){return this.options?.collectionResolver}get jsonSchemaValidator(){return this.options?.jsonSchemaValidator}get variables(){return this.options?.variables}get context(){return this.options?.context}}var u=(e=>(e.ACCUMULATOR="accumulator",e.EXPRESSION="expression",e.PIPELINE="pipeline",e.PROJECTION="projection",e.QUERY="query",e.WINDOW="window",e))(u||{});class s{#a=new Map(Object.values(u).map(e=>[e,{}]));constructor(){}static init(e={}){const t=new s;for(const[n,r]of Object.entries(e))t.#a.has(n)&&r&&t.addOps(n,r);return t}static from(...e){const t=new s;for(const n of e)for(const e of Object.values(u))t.addOps(e,n.#a.get(e));return t}addOps(e,t){return this.#a.set(e,Object.assign({},t,this.#a.get(e))),this}getOperator(e,t){return this.#a.get(e)[t]??null}addAccumulatorOps(e){return this.addOps("accumulator",e)}addExpressionOps(e){return this.addOps("expression",e)}addQueryOps(e){return this.addOps("query",e)}addPipelineOps(e){return this.addOps("pipeline",e)}addProjectionOps(e){return this.addOps("projection",e)}addWindowOps(e){return this.addOps("window",e)}}function a(e,t,n,o){const u=o instanceof i&&!(0,r.gD)(o.local.root)?o:i.init(o).update({root:e});return(0,r.Zo)(n)?f(e,t,n,u):l(e,t,u)}const c=["$$ROOT","$$CURRENT","$$REMOVE","$$NOW"];function l(e,t,n){if((0,r.Kg)(t)&&t.length>0&&"$"===t[0]){if("$$KEEP"===t||"$$PRUNE"===t||"$$DESCEND"===t)return t;let o=n.local.root;const i=t.split(".");if(c.includes(i[0])){switch(i[0]){case"$$ROOT":break;case"$$CURRENT":o=e;break;case"$$REMOVE":o=void 0;break;case"$$NOW":o=new Date(n.now)}t=t.slice(i[0].length+1)}else if("$$"===i[0].slice(0,2)){o=Object.assign({},n.variables,{this:e},n?.local?.variables);const u=i[0].slice(2);(0,r.vA)((0,r.zy)(o,u),`Use of undefined variable: ${u}`),t=t.slice(2)}else t=t.slice(1);return""===t?o:(0,r.hd)(o,t)}if((0,r.cy)(t))return t.map(t=>l(e,t,n));if((0,r.Gv)(t)){const o={},i=Object.entries(t);for(const[u,s]of i){if((0,r.Zo)(u))return(0,r.vA)(1===i.length,`Expression must contain a single operator. got [${Object.keys(t).join(",")}]`),f(e,s,u,n);o[u]=l(e,s,n)}return o}return t}function f(e,t,n,o){const i=o.context,u=i.getOperator("expression",n);if(u)return u(e,t,o);const s=i.getOperator("accumulator",n);return(0,r.vA)(!!s,`accumulator '${n}' is not registered.`),(0,r.cy)(e)||(e=l(e,t,o),t=null),(0,r.vA)((0,r.cy)(e),`arguments must resolve to array for ${n}.`),s(e,t,o)}},5499(e,t,n){"use strict";n.d(t,{U:()=>i});var r=n(2442),o=n(3887);function i(e){return void 0===e&&(e=1/0),(0,r.Z)(o.D,e)}},5525(e,t,n){"use strict";n.d(t,{p4:()=>r});class r{ttl;map=new Map;_to=!1;constructor(e){this.ttl=e}has(e){const t=this.map.get(e);return void 0!==t&&(!(t{this._to=!1,function(e){const t=o()-e.ttl,n=e.map[Symbol.iterator]();for(;;){const r=n.next().value;if(!r)break;const o=r[0];if(!(r[1]o});var r=n(5964);const o=(e,t,n)=>(0,r.ON)(e,t,n,r.GU)},5714(e,t,n){"use strict";n.d(t,{X:()=>c});var r=n(4629),o=n(5096),i=n(5499),u=n(235),s=n(9852);function a(){for(var e=[],t=0;to});var r=n(1693);function o(e){return(0,r.T)(null==e?void 0:e.then)}},5805(e,t,n){"use strict";n.d(t,{E:()=>i});var r=n(1621),o=n(2235);const i=(e,t,n)=>{const i={};i[e]=(0,o.S8)(t);const u=new r.X(i,n);return e=>!u.test(e)}},5912(e,t,n){"use strict";n.d(t,{W:()=>o});var r=n(5964);const o=(e,t,n)=>(0,r.ON)(e,t,n,r.WP)},5964(e,t,n){"use strict";n.d(t,{C5:()=>a,GU:()=>l,Ig:()=>m,Jy:()=>b,MR:()=>d,NV:()=>f,ON:()=>u,Pp:()=>y,Q_:()=>h,TU:()=>k,WP:()=>v,XV:()=>s,fy:()=>p,oZ:()=>c});var r=n(4953),o=n(1621),i=n(2235);function u(e,t,n,o){const u={unwrapArray:!0},s=Math.max(1,e.split(".").length-1),a=r.qk.init(n).update({depth:s});return n=>{const r=(0,i.hd)(n,e,u);return o(r,t,a)}}function s(e,t,n){if((0,i.n4)(e,t))return!0;if((0,i.gD)(e)&&(0,i.gD)(t))return!0;if((0,i.cy)(e)){const r=n?.local?.depth??1;return e.some(e=>(0,i.n4)(e,t))||(0,i.Bq)(e,r).some(e=>(0,i.n4)(e,t))}return!1}function a(e,t,n){return!s(e,t,n)}function c(e,t,n){return(0,i.gD)(e)?t.some(e=>null===e):(0,i.E$)([(0,i.eC)(e),t]).length>0}function l(e,t,n){return!c(e,t)}function f(e,t,n){return O(e,t,(e,t)=>(0,i.UD)(e,t)<0)}function h(e,t,n){return O(e,t,(e,t)=>(0,i.UD)(e,t)<=0)}function d(e,t,n){return O(e,t,(e,t)=>(0,i.UD)(e,t)>0)}function p(e,t,n){return O(e,t,(e,t)=>(0,i.UD)(e,t)>=0)}function y(e,t,n){return(0,i.eC)(e).some(e=>2===t.length&&e%t[0]===t[1])}function v(e,t,n){const r=(0,i.eC)(e),o=e=>(0,i.Kg)(e)&&(0,i.vN)(t.exec(e),n?.useStrictMode);return r.some(o)||(0,i.Bq)(r,1).some(o)}function m(e,t,n){return Array.isArray(e)&&e.length===t}function g(e){return(0,i.Zo)(e)&&-1===["$and","$or","$nor"].indexOf(e)}function b(e,t,n){if((0,i.cy)(e)&&!(0,i.Im)(e)){let r=e=>e,i=t;Object.keys(t).every(g)&&(i={temp:t},r=e=>({temp:e}));const u=new o.X(i,n);for(let t=0,n=e.length;tnull===e,_={array:i.cy,boolean:i.Lm,bool:i.Lm,date:i.$P,number:i.Et,int:i.Et,long:i.Et,double:i.Et,decimal:i.Et,null:w,object:i.Gv,regexp:i.gd,regex:i.gd,string:i.Kg,undefined:i.gD,1:i.Et,2:i.Kg,3:i.Gv,4:i.cy,6:i.gD,8:i.Lm,9:i.$P,10:w,11:i.gd,16:i.Et,18:i.Et,19:i.Et};function x(e,t,n){const r=_[t];return!!r&&r(e)}function k(e,t,n){return(0,i.cy)(t)?t.findIndex(t=>x(e,t))>=0:x(e,t)}function O(e,t,n){return(0,i.eC)(e).some(e=>(0,i.QP)(e)===(0,i.QP)(t)&&n(e,t))}},6114(e,t,n){"use strict";n.d(t,{kC:()=>B,Cs:()=>$});const r=e=>{e.previousResults.unshift(e.changeEvent.doc),e.keyDocumentMap&&e.keyDocumentMap.set(e.changeEvent.id,e.changeEvent.doc)},o=e=>{e.previousResults.push(e.changeEvent.doc),e.keyDocumentMap&&e.keyDocumentMap.set(e.changeEvent.id,e.changeEvent.doc)},i=e=>{const t=e.previousResults.shift();e.keyDocumentMap&&t&&e.keyDocumentMap.delete(t[e.queryParams.primaryKey])},u=e=>{const t=e.previousResults.pop();e.keyDocumentMap&&t&&e.keyDocumentMap.delete(t[e.queryParams.primaryKey])},s=e=>{e.keyDocumentMap&&e.keyDocumentMap.delete(e.changeEvent.id);const t=e.queryParams.primaryKey,n=e.previousResults;for(let r=0;r{const t=e.changeEvent.id,n=e.changeEvent.doc;if(e.keyDocumentMap){if(e.keyDocumentMap.has(t))return;e.keyDocumentMap.set(t,n)}else{if(e.previousResults.find(n=>n[e.queryParams.primaryKey]===t))return}!function(e,t,n,r){var o,i=e.length,u=i-1,s=0;if(0===i)return e.push(t),0;for(;r<=u;)n(o=e[s=r+(u-r>>1)],t)<=0?r=s+1:u=s-1;n(o,t)<=0&&s++,e.splice(s,0,t)}(e.previousResults,n,e.queryParams.sortComparator,0)},c=["doNothing","insertFirst","insertLast","removeFirstItem","removeLastItem","removeFirstInsertLast","removeLastInsertFirst","removeFirstInsertFirst","removeLastInsertLast","removeExisting","replaceExisting","alwaysWrong","insertAtSortPosition","removeExistingAndInsertAtSortPosition","runFullQueryAgain","unknownAction"],l={doNothing:e=>{},insertFirst:r,insertLast:o,removeFirstItem:i,removeLastItem:u,removeFirstInsertLast:e=>{i(e),o(e)},removeLastInsertFirst:e=>{u(e),r(e)},removeFirstInsertFirst:e=>{i(e),r(e)},removeLastInsertLast:e=>{u(e),o(e)},removeExisting:s,replaceExisting:e=>{const t=e.changeEvent.doc,n=e.queryParams.primaryKey,r=e.previousResults;for(let o=0;o{const t={_id:"wrongHuman"+(new Date).getTime()};e.previousResults.length=0,e.previousResults.push(t),e.keyDocumentMap&&(e.keyDocumentMap.clear(),e.keyDocumentMap.set(t._id,t))},insertAtSortPosition:a,removeExistingAndInsertAtSortPosition:e=>{s(e),a(e)},runFullQueryAgain:e=>{throw new Error("Action runFullQueryAgain must be implemented by yourself")},unknownAction:e=>{throw new Error("Action unknownAction should never be called")}};function f(e){return e?"1":"0"}!function(e=6){let t="";const n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";for(let r=0;r!!e.queryParams.limit,g=e=>1===e.queryParams.limit,b=e=>!!(e.queryParams.skip&&e.queryParams.skip>0),w=e=>"DELETE"===e.changeEvent.operation,_=e=>"INSERT"===e.changeEvent.operation,x=e=>"UPDATE"===e.changeEvent.operation,k=e=>m(e)&&e.previousResults.length>=e.queryParams.limit,O=e=>{const t=e.queryParams.sortFields,n=e.changeEvent.previous,r=e.changeEvent.doc;if(!r)return!1;if(!n)return!0;for(let o=0;o{const t=e.changeEvent.id;if(e.keyDocumentMap){return e.keyDocumentMap.has(t)}{const n=e.queryParams.primaryKey,r=e.previousResults;for(let e=0;e{const t=e.previousResults[0];return!(!t||t[e.queryParams.primaryKey]!==e.changeEvent.id)},C=e=>{const t=p(e.previousResults);return!(!t||t[e.queryParams.primaryKey]!==e.changeEvent.id)},S=e=>{const t=e.changeEvent.previous;if(!t)return!1;const n=e.previousResults[0];if(!n)return!1;if(n[e.queryParams.primaryKey]===e.changeEvent.id)return!0;return e.queryParams.sortComparator(t,n)<0},A=e=>{const t=e.changeEvent.previous;if(!t)return!1;const n=p(e.previousResults);if(!n)return!1;if(n[e.queryParams.primaryKey]===e.changeEvent.id)return!0;return e.queryParams.sortComparator(t,n)>0},j=e=>{const t=e.changeEvent.doc;if(!t)return!1;const n=e.previousResults[0];if(!n)return!1;if(n[e.queryParams.primaryKey]===e.changeEvent.id)return!0;return e.queryParams.sortComparator(t,n)<0},I=e=>{const t=e.changeEvent.doc;if(!t)return!1;const n=p(e.previousResults);if(!n)return!1;if(n[e.queryParams.primaryKey]===e.changeEvent.id)return!0;return e.queryParams.sortComparator(t,n)>0},T=e=>{const t=e.changeEvent.previous;return!!t&&e.queryParams.queryMatcher(t)},K=e=>{const t=e.changeEvent.doc;if(!t)return!1;return e.queryParams.queryMatcher(t)},M=e=>0===e.previousResults.length,D={0:_,1:x,2:w,3:m,4:g,5:b,6:M,7:k,8:P,9:C,10:O,11:E,12:S,13:A,14:j,15:I,16:T,17:K};let R;function N(){return R||(R=function(e){const t=new Map,n=2+2*parseInt(e.charAt(0)+e.charAt(1),10),r=h(e.substring(2,n),2);for(let a=0;afunction(e,t,n){let r=e,o=e.l;for(;;){if(r=r[f(t[o](n))],"number"==typeof r||"string"==typeof r)return r;o=r.l}}(N(),D,e);function B(e){const t=q(e);return c[t]}function $(e,t,n,r,o){return(0,l[e])({queryParams:t,changeEvent:n,previousResults:r,keyDocumentMap:o}),r}},6343(e,t,n){"use strict";function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}n.d(t,{A:()=>u});var o=n(1576);function i(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(i=function(){return!!e})()}function u(e){var t="function"==typeof Map?new Map:void 0;return u=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return function(e,t,n){if(i())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var u=new(e.bind.apply(e,r));return n&&(0,o.A)(u,n.prototype),u}(e,arguments,r(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),(0,o.A)(n,e)},u(e)}},6529(e,t,n){"use strict";n.d(t,{M:()=>o});var r=n(5964);const o=(e,t,n)=>(0,r.ON)(e,t,n,r.MR)},6729(e,t,n){"use strict";n.d(t,{a:()=>i});var r=n(1621),o=n(2235);const i=(e,t,n)=>{(0,o.vA)((0,o.cy)(t),"Invalid expression: $and expects value to be an Array.");const i=t.map(e=>new r.X(e,n));return e=>i.every(t=>t.test(e))}},7329(e,t,n){"use strict";n.d(t,{cf:()=>i});var r=n(8900);const o=Symbol.for("Dexie"),i=globalThis[o]||(globalThis[o]=r);if(r.semVer!==i.semVer)throw new Error(`Two different versions of Dexie loaded in the same app: ${r.semVer} and ${i.semVer}`);const{liveQuery:u,mergeRanges:s,rangesOverlap:a,RangeSet:c,cmp:l,Entity:f,PropModSymbol:h,PropModification:d,replacePrefix:p,add:y,remove:v}=i},7531(e,t,n){"use strict";n.d(t,{T:()=>o});var r=n(5964);const o=(e,t,n)=>(0,r.ON)(e,t,n,r.TU)},7635(e,t,n){"use strict";n.d(t,{G:()=>r});var r=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this._parallels=e||1,this._qC=0,this._iC=new Set,this._lHN=0,this._hPM=new Map,this._pHM=new Map};function o(e,t){if(t){if(t._timeoutObj&&clearTimeout(t._timeoutObj),e._pHM.has(t)){var n=e._pHM.get(t);e._hPM.delete(n),e._pHM.delete(t)}e._iC.delete(t)}}function i(e){e._tryIR||0===e._iC.size||(e._tryIR=!0,setTimeout(function(){e.isIdle()?setTimeout(function(){e.isIdle()?(!function(e){0!==e._iC.size&&(e._iC.values().next().value._manRes(),setTimeout(function(){return i(e)},0))}(e),e._tryIR=!1):e._tryIR=!1},0):e._tryIR=!1},0))}r.prototype={isIdle:function(){return this._qCy});var r=n(4629),o=n(9739),i=n(5796),u=n(1753),s=n(9065),a=n(3819),c=n(4429),l=n(4799),f=n(3026),h=n(1693),d=n(6712),p=n(8896);function y(e){if(e instanceof u.c)return e;if(null!=e){if((0,s.l)(e))return g=e,new u.c(function(e){var t=g[p.s]();if((0,h.T)(t.subscribe))return t.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")});if((0,o.X)(e))return m=e,new u.c(function(e){for(var t=0;tr})},8146(e,t,n){"use strict";n.d(t,{p:()=>i});var r=n(5096),o=n(4370);function i(e,t){return(0,r.N)(function(n,r){var i=0;n.subscribe((0,o._)(r,function(n){return e.call(t,n,i++)&&r.next(n)}))})}},8259(e,t,n){"use strict";n.d(t,{P:()=>o});var r=n(2235);const o=(e,t,n)=>{const o=e.includes("."),i=!!t;return!o||e.match(/\.\d+$/)?t=>void 0!==(0,r.hd)(t,e)===i:t=>{const n=(0,r.Rm)(t,e,{preserveIndex:!0}),o=(0,r.hd)(n,e.substring(0,e.lastIndexOf(".")));return(0,r.cy)(o)?o.some(e=>void 0!==e)===i:void 0!==o===i}}},8609(e,t,n){"use strict";n.d(t,{t:()=>f});var r=n(4629),o=n(9092),i={now:function(){return(i.delegate||Date).now()},delegate:void 0},u=function(e){function t(t,n,r){void 0===t&&(t=1/0),void 0===n&&(n=1/0),void 0===r&&(r=i);var o=e.call(this)||this;return o._bufferSize=t,o._windowTime=n,o._timestampProvider=r,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=n===1/0,o._bufferSize=Math.max(1,t),o._windowTime=Math.max(1,n),o}return(0,r.C6)(t,e),t.prototype.next=function(t){var n=this,r=n.isStopped,o=n._buffer,i=n._infiniteTimeWindow,u=n._timestampProvider,s=n._windowTime;r||(o.push(t),!i&&o.push(u.now()+s)),this._trimBuffer(),e.prototype.next.call(this,t)},t.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,r=this._buffer.slice(),o=0;o0&&(t=new a.Ms({next:function(e){return g.next(e)},error:function(e){p=!0,y(),r=l(v,i,e),g.error(e)},complete:function(){h=!0,y(),r=l(v,f),g.complete()}}),(0,s.Tg)(e).subscribe(t))})(e)}}({connector:function(){return new u(h,t,n)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:d})}},8900(e){e.exports=function(){"use strict";var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)},t=function(){return(t=Object.assign||function(e){for(var t,n=1,r=arguments.length;n.",Je="String expected.",et=[],tt="__dbnames",nt="readonly",rt="readwrite";function ot(e,t){return e?t?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:e:t}var it={type:3,lower:-1/0,lowerOpen:!1,upper:[[]],upperOpen:!1};function ut(e){return"string"!=typeof e||/\./.test(e)?function(e){return e}:function(t){return void 0===t[e]&&e in t&&delete(t=S(t))[e],t}}function st(){throw V.Type()}function at(e,t){try{var n=ct(e),r=ct(t);if(n!==r)return"Array"===n?1:"Array"===r?-1:"binary"===n?1:"binary"===r?-1:"string"===n?1:"string"===r?-1:"Date"===n?1:"Date"!==r?NaN:-1;switch(n){case"number":case"Date":case"string":return tn+u&&o(n+h)})})}var i=yt(n)&&n.limit===1/0&&("function"!=typeof e||e===Pt)&&{index:n.index,range:n.range};return o(0).then(function(){if(0=i})).length?(t.forEach(function(e){c.push(function(){var t=l,n=e._cfg.dbschema;fn(r,t,a),fn(r,n,a),l=r._dbSchema=n;var u=un(t,n);u.add.forEach(function(e){sn(a,e[0],e[1].primKey,e[1].indexes)}),u.change.forEach(function(e){if(e.recreate)throw new V.Upgrade("Not yet support for changing primary key");var t=a.objectStore(e.name);e.add.forEach(function(e){return cn(t,e)}),e.change.forEach(function(e){t.deleteIndex(e.name),cn(t,e)}),e.del.forEach(function(e){return t.deleteIndex(e)})});var c=e._cfg.contentUpgrade;if(c&&e._cfg.version>i){Jt(r,a),s._memoizedTables={};var f=x(n);u.del.forEach(function(e){f[e]=t[e]}),tn(r,[r.Transaction.prototype]),en(r,[r.Transaction.prototype],o(f),f),s.schema=f;var h,d=R(c);return d&&Fe(),u=_e.follow(function(){var e;(h=c(s))&&d&&(e=Le.bind(null,null),h.then(e,e))}),h&&"function"==typeof h.then?_e.resolve(h):u.then(function(){return h})}}),c.push(function(t){var n,o,i=e._cfg.dbschema;n=i,o=t,[].slice.call(o.db.objectStoreNames).forEach(function(e){return null==n[e]&&o.db.deleteObjectStore(e)}),tn(r,[r.Transaction.prototype]),en(r,[r.Transaction.prototype],r._storeNames,r._dbSchema),s.schema=r._dbSchema}),c.push(function(t){r.idbdb.objectStoreNames.contains("$meta")&&(Math.ceil(r.idbdb.version/10)===e._cfg.version?(r.idbdb.deleteObjectStore("$meta"),delete r._dbSchema.$meta,r._storeNames=r._storeNames.filter(function(e){return"$meta"!==e})):t.objectStore("$meta").put(e._cfg.version,"version"))})}),function e(){return c.length?_e.resolve(c.shift()(s.idbtrans)).then(e):_e.resolve()}().then(function(){an(l,a)})):_e.resolve();var r,i,s,a,c,l}).catch(s)):(o(i).forEach(function(e){sn(n,e,i[e].primKey,i[e].indexes)}),Jt(e,n),void _e.follow(function(){return e.on.populate.fire(u)}).catch(s));var r,c})}function on(e,t){an(e._dbSchema,t),t.db.version%10!=0||t.objectStoreNames.contains("$meta")||t.db.createObjectStore("$meta").add(Math.ceil(t.db.version/10-1),"version");var n=ln(0,e.idbdb,t);fn(e,e._dbSchema,t);for(var r=0,o=un(n,e._dbSchema).change;rMath.pow(2,62)?0:r.oldVersion,h=r<1,e.idbdb=d.result,u&&on(e,f),rn(e,r/10,f,c))},c),d.onsuccess=Ke(function(){f=null;var n,s,c,p,y,m=e.idbdb=d.result,g=v(m.objectStoreNames);if(0t.limit?n.length=t.limit:e.length===t.limit&&n.length=r.limit&&(!r.values||e.req.values)&&Xn(e.req.query.range,r.query.range)}),!1,o,i];case"count":return u=i.find(function(e){return Gn(e.req.query.range,r.query.range)}),[u,!!u,o,i]}}(n,r,"query",e),a=s[0],c=s[1],l=s[2],f=s[3];return a&&c?a.obsSet=e.obsSet:(c=o.query(e).then(function(e){var n=e.result;if(a&&(a.res=n),t){for(var r=0,o=n.length;ri});var r=n(8896),o=n(1693);function i(e){return(0,o.T)(e[r.s])}},9283(e,t,n){"use strict";n.d(t,{C:()=>o});var r=n(5964);const o=(e,t,n)=>(0,r.ON)(e,t,n,r.C5)},9739(e,t,n){"use strict";n.d(t,{X:()=>r});var r=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e}},9852(e,t,n){"use strict";n.d(t,{H:()=>_});var r=n(7688),o=n(8071),i=n(5096),u=n(4370);function s(e,t){return void 0===t&&(t=0),(0,i.N)(function(n,r){n.subscribe((0,u._)(r,function(n){return(0,o.N)(r,e,function(){return r.next(n)},t)},function(){return(0,o.N)(r,e,function(){return r.complete()},t)},function(n){return(0,o.N)(r,e,function(){return r.error(n)},t)}))})}function a(e,t){return void 0===t&&(t=0),(0,i.N)(function(n,r){r.add(e.schedule(function(){return n.subscribe(r)},t))})}var c=n(1753);var l=n(4207),f=n(1693);function h(e,t){if(!e)throw new Error("Iterable cannot be null");return new c.c(function(n){(0,o.N)(n,t,function(){var r=e[Symbol.asyncIterator]();(0,o.N)(n,t,function(){r.next().then(function(e){e.done?n.complete():n.next(e.value)})},0,!0)})})}var d=n(9065),p=n(5796),y=n(9739),v=n(4799),m=n(3819),g=n(4429),b=n(3026);function w(e,t){if(null!=e){if((0,d.l)(e))return function(e,t){return(0,r.Tg)(e).pipe(a(t),s(t))}(e,t);if((0,y.X)(e))return function(e,t){return new c.c(function(n){var r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if((0,p.y)(e))return function(e,t){return(0,r.Tg)(e).pipe(a(t),s(t))}(e,t);if((0,m.T)(e))return h(e,t);if((0,v.x)(e))return function(e,t){return new c.c(function(n){var r;return(0,o.N)(n,t,function(){r=e[l.l](),(0,o.N)(n,t,function(){var e,t,o;try{t=(e=r.next()).value,o=e.done}catch(i){return void n.error(i)}o?n.complete():n.next(t)},0,!0)}),function(){return(0,f.T)(null==r?void 0:r.return)&&r.return()}})}(e,t);if((0,b.U)(e))return function(e,t){return h((0,b.C)(e),t)}(e,t)}throw(0,g.L)(e)}function _(e,t){return t?w(e,t):(0,r.Tg)(e)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/9dae6e71.d38c8ec6.js b/docs/assets/js/9dae6e71.d38c8ec6.js
deleted file mode 100644
index 34c6b9d5ff2..00000000000
--- a/docs/assets/js/9dae6e71.d38c8ec6.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[3325],{2231(e,r,t){t.r(r),t.d(r,{default:()=>l});var a=t(544),i=t(4848);function l(){return(0,a.default)({sem:{id:"gads",metaTitle:"The Open Source alternative for Firestore",title:(0,i.jsxs)(i.Fragment,{children:["The ",(0,i.jsx)("b",{children:"Open Source"})," alternative for "," ",(0,i.jsx)("b",{children:"Firestore"})]})}})}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/9dd8ea89.9d935eb6.js b/docs/assets/js/9dd8ea89.9d935eb6.js
deleted file mode 100644
index 34ca75fc383..00000000000
--- a/docs/assets/js/9dd8ea89.9d935eb6.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[1715],{7775(e,n,s){s.r(n),s.d(n,{assets:()=>t,contentTitle:()=>l,default:()=>h,frontMatter:()=>a,metadata:()=>r,toc:()=>c});const r=JSON.parse('{"id":"logger","title":"RxDB Logger Plugin - Track & Optimize","description":"Take control of your RxDatabase logs. Monitor every write, query, or attachment retrieval to swiftly diagnose and fix performance bottlenecks.","source":"@site/docs/logger.md","sourceDirName":".","slug":"/logger.html","permalink":"/logger.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"RxDB Logger Plugin - Track & Optimize","slug":"logger.html","description":"Take control of your RxDatabase logs. Monitor every write, query, or attachment retrieval to swiftly diagnose and fix performance bottlenecks."},"sidebar":"tutorialSidebar","previous":{"title":"Key Compression","permalink":"/key-compression.html"},"next":{"title":"Remote RxStorage","permalink":"/rx-storage-remote.html"}}');var o=s(4848),i=s(8453);const a={title:"RxDB Logger Plugin - Track & Optimize",slug:"logger.html",description:"Take control of your RxDatabase logs. Monitor every write, query, or attachment retrieval to swiftly diagnose and fix performance bottlenecks."},l="RxDB Logger Plugin",t={},c=[{value:"Using the logger plugin",id:"using-the-logger-plugin",level:2},{value:"Specify what to be logged",id:"specify-what-to-be-logged",level:2},{value:"Using custom logging functions",id:"using-custom-logging-functions",level:2}];function d(e){const n={a:"a",code:"code",figure:"figure",h1:"h1",h2:"h2",header:"header",p:"p",pre:"pre",span:"span",strong:"strong",...(0,i.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(n.header,{children:(0,o.jsx)(n.h1,{id:"rxdb-logger-plugin",children:"RxDB Logger Plugin"})}),"\n",(0,o.jsxs)(n.p,{children:["With the logger plugin you can log all operations to the ",(0,o.jsx)(n.a,{href:"/rx-storage.html",children:"storage layer"})," of your ",(0,o.jsx)(n.a,{href:"/rx-database.html",children:"RxDatabase"}),"."]}),"\n",(0,o.jsxs)(n.p,{children:["This is useful to debug performance problems and for monitoring with Application Performance Monitoring (APM) tools like ",(0,o.jsx)(n.strong,{children:"Bugsnag"}),", ",(0,o.jsx)(n.strong,{children:"Datadog"}),", ",(0,o.jsx)(n.strong,{children:"Elastic"}),", ",(0,o.jsx)(n.strong,{children:"Sentry"})," and others."]}),"\n",(0,o.jsxs)(n.p,{children:["Notice that the logger plugin is not part of the RxDB core, it is part of ",(0,o.jsx)(n.a,{href:"/premium/",children:"RxDB Premium \ud83d\udc51"}),"."]}),"\n",(0,o.jsx)("p",{align:"center",children:(0,o.jsx)("img",{src:"./files/logger.png",alt:"RxDB logger example",width:"600px"})}),"\n",(0,o.jsx)(n.h2,{id:"using-the-logger-plugin",children:"Using the logger plugin"}),"\n",(0,o.jsxs)(n.p,{children:["The logger is a wrapper that can be wrapped around any ",(0,o.jsx)(n.a,{href:"/rx-storage.html",children:"RxStorage"}),". Once your storage is wrapped, you can create your database with the wrapped storage and the logging will automatically happen."]}),"\n",(0,o.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,o.jsxs)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" wrappedLoggerStorage"})}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb-premium/plugins/logger'"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" getRxStorageIndexedDB"})}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb-premium/plugins/storage-indexeddb'"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// wrap a storage with the logger"})}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" loggingStorage"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" wrappedLoggerStorage"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageIndexedDB"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({})"})]}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// create your database with the wrapped storage"})}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'mydatabase'"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" loggingStorage"})]}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// create collections etc..."})})]})})}),"\n",(0,o.jsx)(n.h2,{id:"specify-what-to-be-logged",children:"Specify what to be logged"}),"\n",(0,o.jsxs)(n.p,{children:["By default, the plugin will log all operations and it will also run a ",(0,o.jsx)(n.code,{children:"console.time()/console.timeEnd()"})," around each operation. You can specify what to log so that your logs are less noisy. For this you provide a settings object when calling ",(0,o.jsx)(n.code,{children:"wrappedLoggerStorage()"}),"."]}),"\n",(0,o.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,o.jsxs)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" loggingStorage"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" wrappedLoggerStorage"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageIndexedDB"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({})"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" settings"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // can used to prefix all log strings, default=''"})}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" prefix"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'my-prefix'"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * Be default, all settings are true."})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // if true, it will log timings with console.time() and console.timeEnd()"})}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" times"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" true"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // if false, it will not log meta storage instances like used in replication"})}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" metaStorageInstances"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" true"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // operations"})}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" bulkWrite"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" true"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" findDocumentsById"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" true"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" query"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" true"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" count"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" true"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" info"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" true"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" getAttachmentData"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" true"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" getChangedDocumentsSince"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" true"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" cleanup"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" true"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" close"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" true"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" remove"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" true"})]}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,o.jsx)(n.h2,{id:"using-custom-logging-functions",children:"Using custom logging functions"}),"\n",(0,o.jsx)(n.p,{children:"With the logger plugin you can also run custom log functions for all operations."}),"\n",(0,o.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,o.jsxs)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" loggingStorage"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" wrappedLoggerStorage"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageIndexedDB"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({})"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" onOperationStart"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" (operationsName"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" logId"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" args) "}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" void"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" onOperationEnd"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" (operationsName"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" logId"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" args) "}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" void"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" onOperationError"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" (operationsName"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" logId"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" args"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" error) "}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" void"})]}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})})]})}function h(e={}){const{wrapper:n}={...(0,i.R)(),...e.components};return n?(0,o.jsx)(n,{...e,children:(0,o.jsx)(d,{...e})}):d(e)}},8453(e,n,s){s.d(n,{R:()=>a,x:()=>l});var r=s(6540);const o={},i=r.createContext(o);function a(e){const n=r.useContext(i);return r.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function l(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:a(e.components),r.createElement(i.Provider,{value:n},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/9e91b6f0.cfa4288f.js b/docs/assets/js/9e91b6f0.cfa4288f.js
deleted file mode 100644
index 756c8d98e74..00000000000
--- a/docs/assets/js/9e91b6f0.cfa4288f.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[3021],{5200(e,n,t){t.r(n),t.d(n,{assets:()=>l,contentTitle:()=>r,default:()=>d,frontMatter:()=>i,metadata:()=>s,toc:()=>h});const s=JSON.parse('{"id":"why-nosql","title":"Why NoSQL Powers Modern UI Apps","description":"Discover how NoSQL enables offline-first UI apps. Learn about easy replication, conflict resolution, and why relational data isn\'t always necessary.","source":"@site/docs/why-nosql.md","sourceDirName":".","slug":"/why-nosql.html","permalink":"/why-nosql.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"Why NoSQL Powers Modern UI Apps","slug":"why-nosql.html","description":"Discover how NoSQL enables offline-first UI apps. Learn about easy replication, conflict resolution, and why relational data isn\'t always necessary."},"sidebar":"tutorialSidebar","previous":{"title":"Why Local-First Software Is the Future and its Limitations","permalink":"/articles/local-first-future.html"},"next":{"title":"Downsides of Local First / Offline First","permalink":"/downsides-of-offline-first.html"}}');var o=t(4848),a=t(8453);t(2271);const i={title:"Why NoSQL Powers Modern UI Apps",slug:"why-nosql.html",description:"Discover how NoSQL enables offline-first UI apps. Learn about easy replication, conflict resolution, and why relational data isn't always necessary."},r="Why UI applications need NoSQL",l={},h=[{value:"Transactions do not work with humans involved",id:"transactions-do-not-work-with-humans-involved",level:2},{value:"Transactions do not work with offline-first",id:"transactions-do-not-work-with-offline-first",level:2},{value:"Relational queries in NoSQL",id:"relational-queries-in-nosql",level:2},{value:"Reliable replication",id:"reliable-replication",level:2},{value:"Server side validation",id:"server-side-validation",level:2},{value:"Event optimization",id:"event-optimization",level:2},{value:"Migration without relations",id:"migration-without-relations",level:2},{value:"Everything can be downgraded to NoSQL",id:"everything-can-be-downgraded-to-nosql",level:2},{value:"Caching query results",id:"caching-query-results",level:2},{value:"TypeScript support",id:"typescript-support",level:2},{value:"What you lose with NoSQL",id:"what-you-lose-with-nosql",level:2},{value:"But there is database XY",id:"but-there-is-database-xy",level:2}];function c(e){const n={a:"a",blockquote:"blockquote",code:"code",figure:"figure",h1:"h1",h2:"h2",header:"header",li:"li",ol:"ol",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...(0,a.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(n.header,{children:(0,o.jsx)(n.h1,{id:"why-ui-applications-need-nosql",children:"Why UI applications need NoSQL"})}),"\n",(0,o.jsxs)(n.p,{children:[(0,o.jsx)(n.a,{href:"https://rxdb.info",children:"RxDB"}),", a client side, offline first, JavaScript database, is now several years old.\nOften new users appear in the chat and ask for that one simple feature:\nThey want to store and query ",(0,o.jsx)(n.strong,{children:"relational data"}),"."]}),"\n",(0,o.jsxs)(n.blockquote,{children:["\n",(0,o.jsx)(n.p,{children:"So why not just implement SQL?"}),"\n"]}),"\n",(0,o.jsxs)(n.p,{children:["All these client databases out there have on some kind of document based, NoSQL like, storage engine. PouchDB, Firebase, AWS Datastore, RethinkDB's ",(0,o.jsx)(n.a,{href:"https://github.com/rethinkdb/horizon",children:"Horizon"}),", Meteor's ",(0,o.jsx)(n.a,{href:"https://github.com/mWater/minimongo",children:"Minimongo"}),", ",(0,o.jsx)(n.a,{href:"https://parseplatform.org/",children:"Parse"}),", ",(0,o.jsx)(n.a,{href:"https://realm.io/",children:"Realm"}),". They all do not have real relational data."]}),"\n",(0,o.jsxs)(n.p,{children:["They might have some kind of weak relational foreign keys like the ",(0,o.jsx)(n.a,{href:"/population.html",children:"RxDB Population"}),"\nor the ",(0,o.jsx)(n.a,{href:"https://docs.amplify.aws/lib/datastore/relational/q/platform/js/",children:"relational models"})," of AWS Datastore.\nBut these relations are weak. The foreign keys are not enforced to be valid like in PostgreSQL, and you cannot query\nthe rows with complex subqueries over different tables or collections and then make mutations based on the result."]}),"\n",(0,o.jsx)(n.p,{children:"There must be a reason for that. In fact, there are multiple of them and in the following I want to show you why you can neither have, nor want real relational data when you have a client-side database with replication."}),"\n",(0,o.jsx)("p",{align:"center",children:(0,o.jsx)("img",{src:"./files/no-sql.png",alt:"NoSQL",width:"100"})}),"\n",(0,o.jsx)(n.h2,{id:"transactions-do-not-work-with-humans-involved",children:"Transactions do not work with humans involved"}),"\n",(0,o.jsxs)(n.p,{children:["On the server side, transactions are used to run steps of logic inside of a self contained ",(0,o.jsx)(n.code,{children:"unit of work"}),". The database system ensures that multiple transactions do not run in parallel or interfere with each other.\nThis works well because on the server side you can predict how longer everything takes. It can be ensured that one transaction does not block everything else for too long which would make the system not responding anymore to other requests."]}),"\n",(0,o.jsx)(n.p,{children:"When you build a UI based application that is used by a real human, you can no longer predict how long anything takes.\nThe user clicks the edit button and expects to not have anyone else change the document while the user is in edit mode.\nUsing a transaction to ensure nothing is changed in between, is not an option because the transaction could be open for a long\ntime and other background tasks, like replication, would no longer work."}),"\n",(0,o.jsxs)(n.p,{children:["So whenever a human is involved, this kind of logic has to be implemented using other strategies. Most NoSQL databases like ",(0,o.jsx)(n.a,{href:"./",children:"RxDB"})," or ",(0,o.jsx)(n.a,{href:"/replication-couchdb.html",children:"CouchDB"})," use a system based on ",(0,o.jsx)(n.a,{href:"/transactions-conflicts-revisions.html",children:"revision and conflicts"})," to handle these."]}),"\n",(0,o.jsx)(n.h2,{id:"transactions-do-not-work-with-offline-first",children:"Transactions do not work with offline-first"}),"\n",(0,o.jsxs)(n.p,{children:["When you want to build an ",(0,o.jsx)(n.a,{href:"/offline-first.html",children:"offline-first"})," application, it is assumed that the user can also read and write data, even when the device has lost the connection to the backend.\nYou could use database transactions on writes to the client's database state, but enforcing a transaction boundary across other instances like clients or servers, is not possible when there is no connection."]}),"\n",(0,o.jsx)("p",{align:"center",children:(0,o.jsx)("img",{src:"./files/why-no-transactions.jpg",alt:"offline first vs relational transactions",width:"400"})}),"\n",(0,o.jsxs)(n.p,{children:["On the client you could run an update query where all ",(0,o.jsx)(n.code,{children:"color: red"})," rows are changed to ",(0,o.jsx)(n.code,{children:"color: blue"}),", but this would not guarantee that there will still be other ",(0,o.jsx)(n.code,{children:"red"})," documents when the client goes online again and restarts the replication with the server."]}),"\n",(0,o.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"sql","data-theme":"css-variables",children:(0,o.jsxs)(n.code,{"data-language":"sql","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"UPDATE"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" docs"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"SET"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" docs.color "}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'red'"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"WHERE"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" docs.color "}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'blue'"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]})]})})}),"\n",(0,o.jsx)(n.h2,{id:"relational-queries-in-nosql",children:"Relational queries in NoSQL"}),"\n",(0,o.jsx)(n.p,{children:"What most people want from a relational database, is to run queries over multiple tables.\nSome people think that they cannot do that with NoSQL, so let me explain."}),"\n",(0,o.jsxs)(n.p,{children:["Let's say you have two tables with ",(0,o.jsx)(n.code,{children:"customers"})," and ",(0,o.jsx)(n.code,{children:"cities"})," where each city has an ",(0,o.jsx)(n.code,{children:"id"})," and each customer has a ",(0,o.jsx)(n.code,{children:"city_id"}),". You want to get every customer that resides in ",(0,o.jsx)(n.code,{children:"Tokyo"}),". With SQL, you would use a query like this:"]}),"\n",(0,o.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"sql","data-theme":"css-variables",children:(0,o.jsxs)(n.code,{"data-language":"sql","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"SELECT"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" *"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"FROM"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" city"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"WHERE"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" city.name "}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'Tokyo'"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"LEFT JOIN"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" customer "}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"ON"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" customer.city_id "}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" city.id;"})]})]})})}),"\n",(0,o.jsxs)(n.p,{children:["With ",(0,o.jsx)(n.strong,{children:"NoSQL"})," you can just do the same, but you have to write it manually:"]}),"\n",(0,o.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"typescript","data-theme":"css-variables",children:(0,o.jsxs)(n.code,{"data-language":"typescript","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" cityDocument"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"cities"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".findOne"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"()"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".where"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'name'"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:")"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".equals"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'Tokyo'"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:")"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".exec"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" customerDocuments"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"customers"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".find"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"()"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".where"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'city_id'"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:")"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".equals"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"cityDocument"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:".id)"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".exec"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]})]})})}),"\n",(0,o.jsx)(n.p,{children:"So what are the differences? The SQL version would run faster on a remote database server because it would aggregate all data there and return only the customers as result set. But when you have a local database, it is not really a difference. Querying the two tables by hand would have about the same performance as a JavaScript implementation of SQL that is running locally."}),"\n",(0,o.jsxs)(n.p,{children:["The main benefit from using SQL is, that the SQL query runs inside of a ",(0,o.jsx)(n.strong,{children:"single transaction"}),". When a change to one of our two tables happens, while our query runs, the SQL database will ensure that the write does not affect the result of the query. This could happen with NoSQL, while you retrieve the city document, the customer table gets changed and your result is not correct for the dataset that was there when you started the querying. As a workaround, you could observe the database for changes and if a change happened in between, you have to re-run everything."]}),"\n",(0,o.jsx)("p",{align:"center",children:(0,o.jsx)("img",{src:"./files/no-relational-data.png",alt:"no relational data",width:"250"})}),"\n",(0,o.jsx)(n.h2,{id:"reliable-replication",children:"Reliable replication"}),"\n",(0,o.jsxs)(n.p,{children:["In an offline first app, your data is replicated from your backend servers to your users and you want it to be reliable.\nThe replication is ",(0,o.jsx)(n.strong,{children:"reliable"})," when, no matter what happens, every online client is able to run a replication\nand end up with the ",(0,o.jsx)(n.strong,{children:"exact same"})," database state as any other client."]}),"\n",(0,o.jsx)(n.p,{children:"Implementing a reliable replication protocol is hard because of the circumstances of your app:"}),"\n",(0,o.jsxs)(n.ul,{children:["\n",(0,o.jsx)(n.li,{children:"Your users have unknown devices."}),"\n",(0,o.jsx)(n.li,{children:"They have an unknown internet speed."}),"\n",(0,o.jsx)(n.li,{children:"They can go offline or online at any time."}),"\n",(0,o.jsx)(n.li,{children:"Clients can be offline for a several days with un-synced changes."}),"\n",(0,o.jsx)(n.li,{children:"You can have many users at the same time."}),"\n",(0,o.jsx)(n.li,{children:"The users can do many database writes at the same time to the same entities."}),"\n"]}),"\n",(0,o.jsx)(n.p,{children:"Now lets say you have a SQL database and one of your users, called Alice, runs a query that mutates some rows, based on a condition."}),"\n",(0,o.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"sql","data-theme":"css-variables",children:(0,o.jsxs)(n.code,{"data-language":"sql","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"# mark all items "}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"out"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" of stock "}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"as"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" inStock"}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"FALSE"})]}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"UPDATE"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" Table_A"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"SET"})}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" Table_A.inStock "}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" FALSE"})]}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"FROM"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" Table_A"})}),"\n",(0,o.jsx)(n.span,{"data-line":"",children:(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"WHERE"})}),"\n",(0,o.jsxs)(n.span,{"data-line":"",children:[(0,o.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" Table_A.amountInStock "}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,o.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 0"})]})]})})}),"\n",(0,o.jsx)(n.p,{children:"At first, the query runs on the local database of Alice and everything is fine."}),"\n",(0,o.jsxs)(n.p,{children:["But at the same time Bob, the other client, updates a row and sets ",(0,o.jsx)(n.code,{children:"amountInStock"})," from ",(0,o.jsx)(n.code,{children:"0"})," to ",(0,o.jsx)(n.code,{children:"1"}),".\nNow Bob's client replicates the changes from Alice and runs them. Bob will end up with a different database state than Alice because on one of the rows, the ",(0,o.jsx)(n.code,{children:"WHERE"})," condition was not met. This is not what we want, so our replication protocol should be able to fix it. For that it has to reduce all mutations into a deterministic state."]}),"\n",(0,o.jsx)(n.p,{children:'Let me loosely describe how "many" SQL replications work:'}),"\n",(0,o.jsxs)(n.p,{children:["Instead of just running all replicated queries, we remember a list of all past queries. When a new query comes in that happened ",(0,o.jsx)(n.code,{children:"before"})," our last query, we roll back the previous queries, run the new query, and then re-execute our own queries on top of that. For that to work, all queries need a timestamp so we can order them correctly. But you cannot rely on the clock that is running at the client. Client side clocks drift, they can run in a different speed or even a malicious client modifies the clock on purpose. So instead of a normal timestamp, we have to use a ",(0,o.jsx)(n.a,{href:"https://jaredforsyth.com/posts/hybrid-logical-clocks/",children:"Hybrid Logical Clock"})," that takes a client generated id and the number of the clients query into account. Our timestamp will then look like ",(0,o.jsx)(n.code,{children:"2021-10-04T15:29.40.273Z-0000-eede1195b7d94dd5"}),". These timestamps can be brought into a deterministic order and each client can run the replicated queries in the same order."]}),"\n",(0,o.jsx)(n.p,{children:"While this sounds easy and realizable, we have some problems:\nThis kind of replication works great when you replicate between multiple SQL servers. It does not work great when you replicate between a single server and many clients."}),"\n",(0,o.jsxs)(n.ol,{children:["\n",(0,o.jsx)(n.li,{children:"As mentioned above, clients can be offline for a long time which could require us to do many and heavy rollbacks on each client when someone comes back after a long time and replicates the change."}),"\n",(0,o.jsx)(n.li,{children:"We have many clients where many changes can appear and our database would have to roll back many times."}),"\n",(0,o.jsx)(n.li,{children:"During the rollback, the database cannot be used for read queries."}),"\n",(0,o.jsx)(n.li,{children:"It is required that each client downloads and keeps the whole query history."}),"\n"]}),"\n",(0,o.jsxs)(n.p,{children:["With ",(0,o.jsx)(n.strong,{children:"NoSQL"}),", replication works different. A new client downloads all current documents and each time a document changes, that document is downloaded again. Instead of replicating the query that leads to a data change, we just replicate the changed data itself. Of course, we could do the same with SQL and just replicate the affected rows of a query, like WatermelonDB ",(0,o.jsx)(n.a,{href:"https://youtu.be/uFvHURTRLxQ?t=1133",children:"does it"}),". This was a clever way to go for WatermelonDB, because it was initially made for React Native and did want to use the fast SQLite instead of the slow ",(0,o.jsx)(n.a,{href:"https://medium.com/@Sendbird/extreme-optimization-of-asyncstorage-in-react-native-b2a1e0107b34",children:"AsyncStorage"}),". But in a more general view, it defeats the whole purpose of having a replicating relational database because you have transactions locally, but these transactions become ",(0,o.jsx)(n.strong,{children:"meaningless"})," as soon as the data goes through the replication layer."]}),"\n",(0,o.jsx)("p",{align:"center",children:(0,o.jsx)("img",{src:"./files/database-replication.png",alt:"database replication",width:"200"})}),"\n",(0,o.jsx)(n.h2,{id:"server-side-validation",children:"Server side validation"}),"\n",(0,o.jsx)(n.p,{children:"Whenever there is client-side input, it must be validated on the server.\nOn a NoSQL database, validating a changed document is trivial. The client sends the changed document to the server, and the server can then check if the user was allowed to modify that one document and if the applied changes are ok."}),"\n",(0,o.jsx)(n.p,{children:"Safely validating a SQL query is up to impossible."}),"\n",(0,o.jsxs)(n.ul,{children:["\n",(0,o.jsx)(n.li,{children:"You first need a way to parse the query with all this complex SQL syntax and keywords."}),"\n",(0,o.jsx)(n.li,{children:"You have to ensure that the query does not DOS your system."}),"\n",(0,o.jsx)(n.li,{children:"Then you check which rows would be affected when running the query and if the user was allowed to change them"}),"\n",(0,o.jsx)(n.li,{children:"Then you check if the mutation to that rows are valid."}),"\n"]}),"\n",(0,o.jsxs)(n.p,{children:["For simple queries like an insert/update/delete to a single row, this might be doable. But a query with 4 ",(0,o.jsx)(n.code,{children:"LEFT JOIN"})," will be hard."]}),"\n",(0,o.jsx)(n.h2,{id:"event-optimization",children:"Event optimization"}),"\n",(0,o.jsx)(n.p,{children:"With NoSQL databases, each write event always affects exactly one document. This makes it easy to optimize the processing of events at the client. For example instead of handling multiple updates to the same document, when the user comes online again, you could skip everything but the last event."}),"\n",(0,o.jsxs)(n.p,{children:["Similar to that you can optimize observable query results. When you query the ",(0,o.jsx)(n.code,{children:"customers"})," table you get a query result of 10 customers. Now a new customer is added to the table and you want to know how the new query results look like. You could analyze the event and now you know that you only have to add the new customer to the previous results set, instead of running the whole query again. These types of optimizations can be run with all NoSQL queries and even work with ",(0,o.jsx)(n.code,{children:"limit"})," and ",(0,o.jsx)(n.code,{children:"skip"})," operators. In RxDB this all happens in the background with the ",(0,o.jsx)(n.a,{href:"https://github.com/pubkey/event-reduce",children:"EventReduce algorithm"})," that calculates new query results on incoming changes."]}),"\n",(0,o.jsx)(n.p,{children:"These optimizations do not really work with relational data. A change to one table could affect a query to any other tables. and you could not just calculate the new results based on the event. You would always have to re-run the full query to get the updated results."}),"\n",(0,o.jsx)(n.h2,{id:"migration-without-relations",children:"Migration without relations"}),"\n",(0,o.jsx)(n.p,{children:"Sooner or later you change the layout of your data. You update the schema and you also have to migrate the stored rows/documents. In NoSQL this is often not a big deal because all of your documents are modeled as self containing piece of data. There is an old version of the document and you have a function that transforms it into the new version."}),"\n",(0,o.jsx)(n.p,{children:"With relational data, nothing is self-contained. The relevant data for the migration of a single row could be inside any other table. So when changing the schema, it will be important which table to migrate first and how to orchestrate the migration or relations."}),"\n",(0,o.jsx)(n.p,{children:"On client side applications, this is even harder because the client can close the application at any time and the migration must be able to continue."}),"\n",(0,o.jsx)(n.h2,{id:"everything-can-be-downgraded-to-nosql",children:"Everything can be downgraded to NoSQL"}),"\n",(0,o.jsxs)(n.p,{children:["To use an offline first database in the frontend, you have to make it compatible with your backend APIs.\nMaking software things compatible often means you have to find the ",(0,o.jsx)(n.strong,{children:"lowest common denominator"}),".\nWhen you have SQLite in the frontend and want to replicate it with the backend, the backend also has to use SQLite. You cannot even use PostgreSQL because it has a different SQL dialect and some queries might fail. But you do not want to let the frontend dictate which technologies to use in the backend just to make replication work."]}),"\n",(0,o.jsxs)(n.p,{children:["With NoSQL, you just have documents and writes to these documents. You can build a document based layer on top of everything by ",(0,o.jsx)(n.strong,{children:"removing"})," functionality. It can be built on top of SQL, but also on top of a graph database or even on top of a key-value store like ",(0,o.jsx)(n.a,{href:"/adapters.html#leveldown",children:"levelDB"})," or ",(0,o.jsx)(n.a,{href:"/rx-storage-foundationdb.html",children:"FoundationDB"}),"."]}),"\n",(0,o.jsxs)(n.p,{children:["With that document layer you can build a ",(0,o.jsx)(n.a,{href:"/replication.html",children:"Sync Engine"})," that serves documents sorted by the last update time and there you have a realtime replication."]}),"\n",(0,o.jsx)(n.h2,{id:"caching-query-results",children:"Caching query results"}),"\n",(0,o.jsx)(n.p,{children:"Memory is limited and this is especially true for client side applications where you never know how much free RAM the device really has. You want to have a fast realtime UI, so your database must be able to cache query results."}),"\n",(0,o.jsxs)(n.p,{children:["When you run a SQL query like ",(0,o.jsx)(n.code,{children:"SELECT .."})," the result of it can be anything. An ",(0,o.jsx)(n.code,{children:"array"}),", a ",(0,o.jsx)(n.code,{children:"number"}),", a ",(0,o.jsx)(n.code,{children:"string"}),", a single row, it depends on how the query goes on. So the caching strategy can only be to keep the result in memory, once for each query.\nThis scales very bad because the more queries you run, the more results you have to store in memory."]}),"\n",(0,o.jsxs)(n.p,{children:["When you make a query to a NoSQL collection, you always know how the result will look like. It is a list of documents, based on the collection's schema (if you have one). The result set is stored in memory, but because you get similar documents for different queries to the same collection, we can de-duplicated the documents. So when multiple queries return the same document, we only have it in the cache ",(0,o.jsx)(n.strong,{children:"once"})," and each query caches point to the same memory object. So no matter how many queries you make, your cache maximum is the collection size."]}),"\n",(0,o.jsx)(n.h2,{id:"typescript-support",children:"TypeScript support"}),"\n",(0,o.jsx)(n.p,{children:"Modern web apps are build with TypeScript and you want the transpiler to know the types of your query result so it can give you build time errors when something does not match. This is quite easy on document based systems. The typings of for each document of a collection can be generated from the schema, and all queries to that collection will always return the given document type. With SQL you have to manually write the typings for each query by hand because it can contain all these aggregate functions that affect the type of the query's result."}),"\n",(0,o.jsx)("p",{align:"center",children:(0,o.jsx)("img",{src:"./files/typescript.png",alt:"typescript",width:"80"})}),"\n",(0,o.jsx)(n.h2,{id:"what-you-lose-with-nosql",children:"What you lose with NoSQL"}),"\n",(0,o.jsxs)(n.ul,{children:["\n",(0,o.jsx)(n.li,{children:"You can not run relational queries across tables inside a single transaction."}),"\n",(0,o.jsxs)(n.li,{children:["You can not mutate documents based on a ",(0,o.jsx)(n.code,{children:"WHERE"})," clause, in a single transaction."]}),"\n",(0,o.jsx)(n.li,{children:"You need to resolve replication conflicts on a per-document basis."}),"\n"]}),"\n",(0,o.jsx)(n.h2,{id:"but-there-is-database-xy",children:"But there is database XY"}),"\n",(0,o.jsx)(n.p,{children:"Yes, there are SQL databases out there that run on the client side or have replication, but not both."}),"\n",(0,o.jsxs)(n.ul,{children:["\n",(0,o.jsxs)(n.li,{children:["WebSQL / ",(0,o.jsx)(n.a,{href:"https://github.com/sql-js/sql.js/",children:"sql.js"}),": In the past there was ",(0,o.jsx)(n.strong,{children:"WebSQL"})," in the browser. It was a direct mapping to SQLite because all browsers used the SQLite implementation. You could store relational data in it, but there was no concept of replication at any point in time. ",(0,o.jsx)(n.strong,{children:"sql.js"})," is an SQLite complied to JavaScript. It has not replication and it has (for now) no persistent storage, everything is stored in memory."]}),"\n",(0,o.jsx)(n.li,{children:"WatermelonDB is a SQL databases that runs in the client. WatermelonDB uses a document-based replication that is not able to replicate relational queries."}),"\n",(0,o.jsx)(n.li,{children:"Cockroach / Spanner/ PostgreSQL etc. are SQL databases with replication. But they run on servers, not on clients, so they can make different trade offs."}),"\n"]}),"\n",(0,o.jsx)(n.h1,{id:"further-read",children:"Further read"}),"\n",(0,o.jsxs)(n.ul,{children:["\n",(0,o.jsxs)(n.li,{children:["\n",(0,o.jsxs)(n.p,{children:["Cockroach Labs: ",(0,o.jsx)(n.a,{href:"https://www.cockroachlabs.com/blog/living-without-atomic-clocks/",children:"Living Without Atomic Clocks"})]}),"\n"]}),"\n",(0,o.jsxs)(n.li,{children:["\n",(0,o.jsx)(n.p,{children:(0,o.jsx)(n.a,{href:"/transactions-conflicts-revisions.html",children:"Transactions, Conflicts and Revisions in RxDB"})}),"\n"]}),"\n",(0,o.jsxs)(n.li,{children:["\n",(0,o.jsx)(n.p,{children:(0,o.jsx)(n.a,{href:"https://dbmsmusings.blogspot.com/2015/10/why-mongodb-cassandra-hbase-dynamodb_28.html",children:"Why MongoDB, Cassandra, HBase, DynamoDB, and Riak will only let you perform transactions on a single data item"})}),"\n"]}),"\n",(0,o.jsxs)(n.li,{children:["\n",(0,o.jsx)(n.p,{children:(0,o.jsx)(n.code,{children:"Make a PR to this file if you have more interesting links to that topic"})}),"\n"]}),"\n"]})]})}function d(e={}){const{wrapper:n}={...(0,a.R)(),...e.components};return n?(0,o.jsx)(n,{...e,children:(0,o.jsx)(c,{...e})}):c(e)}},8453(e,n,t){t.d(n,{R:()=>i,x:()=>r});var s=t(6540);const o={},a=s.createContext(o);function i(e){const n=s.useContext(a);return s.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function r(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:i(e.components),s.createElement(a.Provider,{value:n},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/a406dc27.d08b03b3.js b/docs/assets/js/a406dc27.d08b03b3.js
deleted file mode 100644
index 15d02662ac5..00000000000
--- a/docs/assets/js/a406dc27.d08b03b3.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[1500],{6837(e,s,n){n.r(s),n.d(s,{assets:()=>t,contentTitle:()=>l,default:()=>h,frontMatter:()=>a,metadata:()=>r,toc:()=>c});const r=JSON.parse('{"id":"migration-storage","title":"Migration Storage","description":"Effortlessly migrate your data between storages in RxDB using the Storage Migration plugin. Retain your documents when switching storages or major versions.","source":"@site/docs/migration-storage.md","sourceDirName":".","slug":"/migration-storage.html","permalink":"/migration-storage.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"Migration Storage","slug":"migration-storage.html","description":"Effortlessly migrate your data between storages in RxDB using the Storage Migration plugin. Retain your documents when switching storages or major versions."},"sidebar":"tutorialSidebar","previous":{"title":"Schema Migration","permalink":"/migration-schema.html"},"next":{"title":"Attachments","permalink":"/rx-attachment.html"}}');var i=n(4848),o=n(8453);const a={title:"Migration Storage",slug:"migration-storage.html",description:"Effortlessly migrate your data between storages in RxDB using the Storage Migration plugin. Retain your documents when switching storages or major versions."},l="Storage Migration",t={},c=[{value:"Usage",id:"usage",level:2},{value:"Migrate from a previous RxDB major version",id:"migrate-from-a-previous-rxdb-major-version",level:2},{value:"Disable Version Check on RxDB Premium \ud83d\udc51",id:"disable-version-check-on-rxdb-premium-",level:2}];function d(e){const s={a:"a",admonition:"admonition",code:"code",figure:"figure",h1:"h1",h2:"h2",header:"header",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...(0,o.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s.header,{children:(0,i.jsx)(s.h1,{id:"storage-migration",children:"Storage Migration"})}),"\n",(0,i.jsx)(s.p,{children:"The storage migration plugin can be used to migrate all data from one existing RxStorage into another. This is useful when:"}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:["You want to migrate from one ",(0,i.jsx)(s.a,{href:"/rx-storage.html",children:"RxStorage"})," to another one."]}),"\n",(0,i.jsx)(s.li,{children:"You want to migrate to a new major RxDB version while keeping the previous saved data. This function only works from the previous major version upwards. Do not use it to migrate like rxdb v9 to v14."}),"\n"]}),"\n",(0,i.jsxs)(s.p,{children:["The storage migration ",(0,i.jsx)(s.strong,{children:"drops deleted documents"})," and filters them out during the migration."]}),"\n",(0,i.jsxs)(s.admonition,{title:"Do never change the schema while doing a storage migration",type:"warning",children:[(0,i.jsx)(s.p,{children:"When you migrate between storages, you might want to change the schema in the same process. You should never do that because it will lead to problems afterwards and might make your database unusable."}),(0,i.jsxs)(s.p,{children:["When you also want to change your schema, first run the storage migration and afterwards run a normal ",(0,i.jsx)(s.a,{href:"/migration-schema.html",children:"schema migration"}),"."]})]}),"\n",(0,i.jsx)(s.h2,{id:"usage",children:"Usage"}),"\n",(0,i.jsxs)(s.p,{children:["Lets say you want to migrate from ",(0,i.jsx)(s.a,{href:"/rx-storage-localstorage.html",children:"LocalStorage RxStorage"})," to the ",(0,i.jsx)(s.a,{href:"/rx-storage-indexeddb.html",children:"IndexedDB RxStorage"}),"."]}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { migrateStorage } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/migration-storage'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { getRxStorageIndexedDB } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb-premium/plugins/storage-indexeddb'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { getRxStorageLocalstorage } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb-old/plugins/storage-localstorage'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// create the new RxDatabase"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" dbLocation"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageIndexedDB"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"()"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" multiInstance"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" false"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" migrateStorage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" database"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" db "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"as"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" any"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * Name of the old database,"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * using the storage migration requires that the"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * new database has a different name."})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" oldDatabaseName"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'myOldDatabaseName'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" oldStorage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageLocalstorage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"()"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // RxStorage of the old database"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" batchSize"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 500"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // batch size"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" parallel"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" false"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // <- true if it should migrate all collections in parallel. False (default) if should migrate in serial"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" afterMigrateBatch"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" (input"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" AfterMigrateBatchHandlerInput"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:") "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" console"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".log"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'storage migration: batch processed'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,i.jsxs)(s.admonition,{type:"note",children:[(0,i.jsx)(s.p,{children:"Only collections that exist in the new database at the time you call migrateStorage() will have their data migrated."}),(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:["If your old database had collections ",(0,i.jsx)(s.code,{children:"['users', 'posts', 'comments']"})," but your new database only defines ",(0,i.jsx)(s.code,{children:"['users', 'posts']"}),", then only users and posts data will be migrated."]}),"\n",(0,i.jsx)(s.li,{children:"Any collections missing from the new database will simply be skipped - no data for them will be read or written."}),"\n"]}),(0,i.jsxs)(s.p,{children:["This allows you to selectively migrate only certain collections if desired, by choosing which collections to define before invoking ",(0,i.jsx)(s.code,{children:"migrateStorage()"}),"."]})]}),"\n",(0,i.jsx)(s.h2,{id:"migrate-from-a-previous-rxdb-major-version",children:"Migrate from a previous RxDB major version"}),"\n",(0,i.jsxs)(s.p,{children:["To migrate from a previous RxDB major version, you have to install the 'old' RxDB in the ",(0,i.jsx)(s.code,{children:"package.json"})]}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"json","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"json","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"{"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:' "dependencies"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:' "rxdb-old"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "npm:rxdb@14.17.1"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"}"})})]})})}),"\n",(0,i.jsx)(s.p,{children:"Then you can run the migration by providing the old storage:"}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"/* ... */"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { migrateStorage } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/migration-storage'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { getRxStorageLocalstorage } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb-old/plugins/storage-localstorage'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"; "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// <- import from the old RxDB version"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" migrateStorage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" database"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" db "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"as"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" any"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * Name of the old database,"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * using the storage migration requires that the"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * new database has a different name."})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" oldDatabaseName"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'myOldDatabaseName'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" oldStorage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageLocalstorage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"()"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // RxStorage of the old database"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" batchSize"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 500"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // batch size"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" parallel"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" false"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" afterMigrateBatch"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" (input"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" AfterMigrateBatchHandlerInput"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:") "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" console"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".log"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'storage migration: batch processed'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"/* ... */"})})]})})}),"\n",(0,i.jsxs)(s.h2,{id:"disable-version-check-on-rxdb-premium-",children:["Disable Version Check on ",(0,i.jsx)(s.a,{href:"/premium/",children:"RxDB Premium \ud83d\udc51"})]}),"\n",(0,i.jsxs)(s.p,{children:["RxDB Premium has a check in place that ensures that you do not accidentally use the wrong RxDB core and \ud83d\udc51 Premium version together which could break your database state.\nThis can be a problem during migrations where you have multiple versions of RxDB in use and it will throw the error ",(0,i.jsx)(s.code,{children:"Version mismatch detected"}),".\nYou can disable that check by importing and running the ",(0,i.jsx)(s.code,{children:"disableVersionCheck()"})," function from RxDB Premium."]}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// RxDB Premium v15 or newer:"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" disableVersionCheck"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb-premium-old/plugins/shared'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"disableVersionCheck"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// RxDB Premium v14:"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// for esm"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" disableVersionCheck"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb-premium-old/dist/es/shared/version-check.js'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"disableVersionCheck"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// for cjs"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" disableVersionCheck"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb-premium-old/dist/lib/shared/version-check.js'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"disableVersionCheck"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]})]})})})]})}function h(e={}){const{wrapper:s}={...(0,o.R)(),...e.components};return s?(0,i.jsx)(s,{...e,children:(0,i.jsx)(d,{...e})}):d(e)}},8453(e,s,n){n.d(s,{R:()=>a,x:()=>l});var r=n(6540);const i={},o=r.createContext(i);function a(e){const s=r.useContext(o);return r.useMemo(function(){return"function"==typeof e?e(s):{...s,...e}},[s,e])}function l(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:a(e.components),r.createElement(o.Provider,{value:s},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/a442adcd.3011bc9b.js b/docs/assets/js/a442adcd.3011bc9b.js
deleted file mode 100644
index 49f18c18582..00000000000
--- a/docs/assets/js/a442adcd.3011bc9b.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[8760],{3247(e,s,n){n.d(s,{g:()=>i});var r=n(4848);function i(e){const s=[];let n=null;return e.children.forEach(e=>{e.props.id?(n&&s.push(n),n={headline:e,paragraphs:[]}):n&&n.paragraphs.push(e)}),n&&s.push(n),(0,r.jsx)("div",{style:o.stepsContainer,children:s.map((e,s)=>(0,r.jsxs)("div",{style:o.stepWrapper,children:[(0,r.jsxs)("div",{style:o.stepIndicator,children:[(0,r.jsx)("div",{style:o.stepNumber,children:s+1}),(0,r.jsx)("div",{style:o.verticalLine})]}),(0,r.jsxs)("div",{style:o.stepContent,children:[(0,r.jsx)("div",{children:e.headline}),e.paragraphs.map((e,s)=>(0,r.jsx)("div",{style:o.item,children:e},s))]})]},s))})}const o={stepsContainer:{display:"flex",flexDirection:"column"},stepWrapper:{display:"flex",alignItems:"stretch",marginBottom:"1.5rem",position:"relative",minWidth:0},stepIndicator:{position:"relative",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"flex-start",width:"33px",marginRight:"1rem",minWidth:0},stepNumber:{width:"33px",height:"33px",borderRadius:"50%",backgroundColor:"var(--color-top)",color:"#fff",display:"flex",alignItems:"center",justifyContent:"center",fontWeight:"bold",marginTop:-4},verticalLine:{position:"absolute",top:29,bottom:"0",left:"50%",width:"1px",background:"linear-gradient(to bottom, var(--color-top) 0%, var(--color-top) 80%, rgba(0,0,0,0) 100%)",transform:"translateX(-50%)"},stepContent:{flex:1,minWidth:0,overflowWrap:"break-word"},item:{marginTop:"0.5rem"}}},5551(e,s,n){n.r(s),n.d(s,{assets:()=>d,contentTitle:()=>c,default:()=>k,frontMatter:()=>t,metadata:()=>r,toc:()=>h});const r=JSON.parse('{"id":"reactivity","title":"Signals & Custom Reactivity with RxDB","description":"Level up reactivity with Angular signals, Vue refs, or Preact signals in RxDB. Learn how to integrate custom reactivity to power your dynamic UI.","source":"@site/docs/reactivity.md","sourceDirName":".","slug":"/reactivity.html","permalink":"/reactivity.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"Signals & Custom Reactivity with RxDB","slug":"reactivity.html","description":"Level up reactivity with Angular signals, Vue refs, or Preact signals in RxDB. Learn how to integrate custom reactivity to power your dynamic UI."},"sidebar":"tutorialSidebar","previous":{"title":"RxPipelines","permalink":"/rx-pipeline.html"},"next":{"title":"RxState","permalink":"/rx-state.html"}}');var i=n(4848),o=n(8453),a=n(2636),l=n(3247);const t={title:"Signals & Custom Reactivity with RxDB",slug:"reactivity.html",description:"Level up reactivity with Angular signals, Vue refs, or Preact signals in RxDB. Learn how to integrate custom reactivity to power your dynamic UI."},c="Signals & Co. - Custom reactivity adapters instead of RxJS Observables",d={},h=[{value:"Adding a reactivity factory",id:"adding-a-reactivity-factory",level:2},{value:"Angular",id:"angular",level:3},{value:"Import",id:"import",level:4},{value:"Set the reactivity factory",id:"set-the-reactivity-factory",level:4},{value:"Use the Signal in an Angular component",id:"use-the-signal-in-an-angular-component",level:4},{value:"React",id:"react",level:3},{value:"Install Preact Signals",id:"install-preact-signals",level:4},{value:"Import",id:"import-1",level:4},{value:"Set the reactivity factory",id:"set-the-reactivity-factory-1",level:4},{value:"Use the Signal in a React component",id:"use-the-signal-in-a-react-component",level:4},{value:"Vue",id:"vue",level:3},{value:"Import",id:"import-2",level:4},{value:"Set the reactivity factory",id:"set-the-reactivity-factory-2",level:4},{value:"Use the Shallow Ref in a Vue component",id:"use-the-shallow-ref-in-a-vue-component",level:4},{value:"Accessing custom reactivity objects",id:"accessing-custom-reactivity-objects",level:2}];function p(e){const s={a:"a",code:"code",figure:"figure",h1:"h1",h2:"h2",h3:"h3",h4:"h4",header:"header",p:"p",pre:"pre",span:"span",strong:"strong",...(0,o.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s.header,{children:(0,i.jsx)(s.h1,{id:"signals--co---custom-reactivity-adapters-instead-of-rxjs-observables",children:"Signals & Co. - Custom reactivity adapters instead of RxJS Observables"})}),"\n",(0,i.jsxs)(s.p,{children:["RxDB internally uses the ",(0,i.jsx)(s.a,{href:"https://rxjs.dev/",children:"rxjs library"})," for observables and streams. All functionalities of RxDB like ",(0,i.jsx)(s.a,{href:"/rx-query.html#observe",children:"query"})," results or ",(0,i.jsx)(s.a,{href:"/rx-document.html#observe",children:"document fields"})," that expose values that change over time return a rxjs ",(0,i.jsx)(s.code,{children:"Observable"})," that allows you to observe the values and update your UI accordingly depending on the changes to the database state."]}),"\n",(0,i.jsxs)(s.p,{children:["However there are many reasons to use other reactivity libraries that use a different datatype to represent changing values. For example when you use ",(0,i.jsx)(s.strong,{children:"signals"})," in angular or react, the ",(0,i.jsx)(s.strong,{children:"template refs"})," of vue or state libraries like MobX and redux."]}),"\n",(0,i.jsxs)(s.p,{children:["RxDB allows you to pass a custom reactivity factory on ",(0,i.jsx)(s.a,{href:"/rx-database.html",children:"RxDatabase"})," creation so that you can easily access values wrapped with your custom datatype in a convenient way."]}),"\n",(0,i.jsx)(s.h2,{id:"adding-a-reactivity-factory",children:"Adding a reactivity factory"}),"\n",(0,i.jsxs)(a.t,{children:[(0,i.jsx)(s.h3,{id:"angular",children:"Angular"}),(0,i.jsxs)(s.p,{children:["In angular we use ",(0,i.jsx)(s.a,{href:"https://angular.dev/guide/signals",children:"Angular Signals"})," as custom reactivity objects."]}),(0,i.jsxs)(l.g,{children:[(0,i.jsx)(s.h4,{id:"import",children:"Import"}),(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { createReactivityFactory } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/reactivity-angular'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { Injectable"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" inject } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" '@angular/core'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]})]})})}),(0,i.jsx)(s.h4,{id:"set-the-reactivity-factory",children:"Set the reactivity factory"}),(0,i.jsxs)(s.p,{children:["Set the factory as ",(0,i.jsx)(s.code,{children:"reactivity"})," option when calling ",(0,i.jsx)(s.code,{children:"createRxDatabase"}),"."]}),(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" database"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'mydb'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageLocalstorage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"()"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" reactivity"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createReactivityFactory"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"inject"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(Injector))"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// add collections/sync etc..."})})]})})}),(0,i.jsx)(s.h4,{id:"use-the-signal-in-an-angular-component",children:"Use the Signal in an Angular component"}),(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { Component"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" inject } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" '@angular/core'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { CommonModule } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" '@angular/common'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { DbService } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" '../db.service'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"@"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"Component"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" selector"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'app-todos-list'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" standalone"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" true"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" imports"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" [CommonModule]"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" template"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" `"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"
"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" `"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"})"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"export"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" class"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" TodosListComponent"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" private"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" dbService "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" inject"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(DbService);"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // RxDB query - Angular Signal"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" readonly"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" todosSignal "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" this"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"dbService"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"todos"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".find"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"().$$;"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"}"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "})]})})})]}),(0,i.jsxs)(s.p,{children:["An example of how signals are used in angular with RxDB, can be found at the ",(0,i.jsx)(s.a,{href:"https://github.com/pubkey/rxdb/blob/master/examples/angular/src/app/components/heroes-list/heroes-list.component.ts#L46",children:"RxDB Angular Example"})]}),(0,i.jsx)(s.h3,{id:"react",children:"React"}),(0,i.jsxs)(s.p,{children:["For React, we use the ",(0,i.jsx)(s.a,{href:"https://preactjs.com/guide/v10/signals/",children:"Preact Signals"})," for custom reactivity."]}),(0,i.jsxs)(l.g,{children:[(0,i.jsx)(s.h4,{id:"install-preact-signals",children:"Install Preact Signals"}),(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"bash","data-theme":"css-variables",children:(0,i.jsx)(s.code,{"data-language":"bash","data-theme":"css-variables",style:{display:"grid"},children:(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"npm"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string)"},children:" install"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string)"},children:" @preact/signals-core"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string)"},children:" --save"})]})})})}),(0,i.jsx)(s.h4,{id:"import-1",children:"Import"}),(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" PreactSignalsRxReactivityFactory"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/reactivity-preact-signals'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]})]})})}),(0,i.jsx)(s.h4,{id:"set-the-reactivity-factory-1",children:"Set the reactivity factory"}),(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" database"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'mydb'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageLocalstorage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"()"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" reactivity"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" PreactSignalsRxReactivityFactory"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// add collections/sync etc..."})})]})})}),(0,i.jsx)(s.h4,{id:"use-the-signal-in-a-react-component",children:"Use the Signal in a React component"}),(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"tsx","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"tsx","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { useEffect"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" useState } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'preact/hooks'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { getDatabase } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" './db'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"export"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" function"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" TodosList"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"() {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ["}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" setDb"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"] "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" useState"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"null"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" useEffect"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(() "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"()"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".then"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(setDb);"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" []);"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" if"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"!"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"db) "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"return"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" null"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // RxQuery -> Preact Signal"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" todosSignal"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"todos"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".find"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"().$$;"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ("})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" <"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"ul"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:">"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"todosSignal"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"value"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".map"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"((doc"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" any"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:") "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ("})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" <"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"li"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" key"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"{"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"doc"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".primary}>"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"doc"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".title}"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"li"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:">"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ))}"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"ul"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:">"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" );"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"}"})})]})})})]}),(0,i.jsx)(s.h3,{id:"vue",children:"Vue"}),(0,i.jsxs)(s.p,{children:["For Vue, we use the ",(0,i.jsx)(s.a,{href:"https://vuejs.org/api/reactivity-advanced",children:"Vue Shallow Refs"})," for custom reactivity."]}),(0,i.jsxs)(l.g,{children:[(0,i.jsx)(s.h4,{id:"import-2",children:"Import"}),(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsx)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { VueRxReactivityFactory } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/reactivity-vue'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]})})})}),(0,i.jsx)(s.h4,{id:"set-the-reactivity-factory-2",children:"Set the reactivity factory"}),(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" database"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'mydb'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageLocalstorage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"()"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" reactivity"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" VueRxReactivityFactory"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// add collections/sync etc..."})})]})})}),(0,i.jsx)(s.h4,{id:"use-the-shallow-ref-in-a-vue-component",children:"Use the Shallow Ref in a Vue component"}),(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"html","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"html","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"<"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"script"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" setup"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" lang"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:'"ts"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:">"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { getDatabase } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" './db'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// RxQuery to Vue shallowRef signal"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" todosSignal"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"todos"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".find"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"().$$;"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:""}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"script"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:">"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"<"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"template"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:">"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" <"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"ul"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:">"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" <"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"li"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" v-for"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:'"t in todosSignal"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" :key"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:'"t.primary"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:">"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" <"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"label"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:">{{ t.title }}"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"label"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:">"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"li"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:">"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"ul"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:">"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:""}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"template"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:">"})]})]})})})]})]}),"\n",(0,i.jsx)(s.h2,{id:"accessing-custom-reactivity-objects",children:"Accessing custom reactivity objects"}),"\n",(0,i.jsxs)(s.p,{children:["All observable data in RxDB is marked by the single dollar sign ",(0,i.jsx)(s.code,{children:"$"})," like ",(0,i.jsx)(s.code,{children:"RxCollection.$"})," for events or ",(0,i.jsx)(s.code,{children:"RxDocument.myField$"})," to get the observable for a document field. To make custom reactivity objects distinguable, they are marked with double-dollar signs ",(0,i.jsx)(s.code,{children:"$$"})," instead. Here are some example on how to get custom reactivity objects from RxDB specific instances:"]}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// RxDocument"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// get signal that represents the document field 'foobar'"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" signal"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" myRxDocument"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".get$$"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'foobar'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// same as above"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" signal"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" myRxDocument"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".foobar$$;"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// get signal that represents whole document over time"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" signal"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" myRxDocument"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".$$;"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// get signal that represents the deleted state of the document"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" signal"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" myRxDocument"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".deleted$$;"})]})]})})}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// RxQuery"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// get signal that represents the query result set over time"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" signal"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" collection"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".find"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"().$$;"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// get signal that represents the query result set over time"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" signal"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" collection"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".findOne"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"().$$;"})]})]})})}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// RxLocalDocument"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// get signal that represents the whole local document state"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" signal"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" myRxLocalDocument"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".$$;"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// get signal that represents the foobar field"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" signal"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" myRxLocalDocument"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".get$$"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'foobar'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})]})]})})})]})}function k(e={}){const{wrapper:s}={...(0,o.R)(),...e.components};return s?(0,i.jsx)(s,{...e,children:(0,i.jsx)(p,{...e})}):p(e)}},8453(e,s,n){n.d(s,{R:()=>a,x:()=>l});var r=n(6540);const i={},o=r.createContext(i);function a(e){const s=r.useContext(o);return r.useMemo(function(){return"function"==typeof e?e(s):{...s,...e}},[s,e])}function l(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:a(e.components),r.createElement(o.Provider,{value:s},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/a574e172.f6f58d32.js b/docs/assets/js/a574e172.f6f58d32.js
deleted file mode 100644
index b5548e54e2e..00000000000
--- a/docs/assets/js/a574e172.f6f58d32.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[7149],{3247(e,s,n){n.d(s,{g:()=>o});var r=n(4848);function o(e){const s=[];let n=null;return e.children.forEach(e=>{e.props.id?(n&&s.push(n),n={headline:e,paragraphs:[]}):n&&n.paragraphs.push(e)}),n&&s.push(n),(0,r.jsx)("div",{style:i.stepsContainer,children:s.map((e,s)=>(0,r.jsxs)("div",{style:i.stepWrapper,children:[(0,r.jsxs)("div",{style:i.stepIndicator,children:[(0,r.jsx)("div",{style:i.stepNumber,children:s+1}),(0,r.jsx)("div",{style:i.verticalLine})]}),(0,r.jsxs)("div",{style:i.stepContent,children:[(0,r.jsx)("div",{children:e.headline}),e.paragraphs.map((e,s)=>(0,r.jsx)("div",{style:i.item,children:e},s))]})]},s))})}const i={stepsContainer:{display:"flex",flexDirection:"column"},stepWrapper:{display:"flex",alignItems:"stretch",marginBottom:"1.5rem",position:"relative",minWidth:0},stepIndicator:{position:"relative",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"flex-start",width:"33px",marginRight:"1rem",minWidth:0},stepNumber:{width:"33px",height:"33px",borderRadius:"50%",backgroundColor:"var(--color-top)",color:"#fff",display:"flex",alignItems:"center",justifyContent:"center",fontWeight:"bold",marginTop:-4},verticalLine:{position:"absolute",top:29,bottom:"0",left:"50%",width:"1px",background:"linear-gradient(to bottom, var(--color-top) 0%, var(--color-top) 80%, rgba(0,0,0,0) 100%)",transform:"translateX(-50%)"},stepContent:{flex:1,minWidth:0,overflowWrap:"break-word"},item:{marginTop:"0.5rem"}}},5384(e,s,n){n.r(s),n.d(s,{assets:()=>c,contentTitle:()=>a,default:()=>p,frontMatter:()=>t,metadata:()=>r,toc:()=>h});const r=JSON.parse('{"id":"replication-http","title":"HTTP Replication","description":"Learn how to establish HTTP replication between RxDB clients and a Node.js Express server for data synchronization.","source":"@site/docs/replication-http.md","sourceDirName":".","slug":"/replication-http.html","permalink":"/replication-http.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"HTTP Replication","slug":"replication-http.html","description":"Learn how to establish HTTP replication between RxDB clients and a Node.js Express server for data synchronization."},"sidebar":"tutorialSidebar","previous":{"title":"\u2699\ufe0f Sync Engine","permalink":"/replication.html"},"next":{"title":"RxServer Replication","permalink":"/replication-server.html"}}');var o=n(4848),i=n(8453),l=n(3247);n(2636);const t={title:"HTTP Replication",slug:"replication-http.html",description:"Learn how to establish HTTP replication between RxDB clients and a Node.js Express server for data synchronization."},a="HTTP Replication from a custom server to RxDB clients",c={},h=[{value:"Setup",id:"setup",level:2},{value:"Start the Replication on the RxDB Client",id:"start-the-replication-on-the-rxdb-client",level:3},{value:"Start a Node.js process with Express and MongoDB",id:"start-a-nodejs-process-with-express-and-mongodb",level:3},{value:"Implement the Pull Endpoint",id:"implement-the-pull-endpoint",level:3},{value:"Implement the Pull Handler",id:"implement-the-pull-handler",level:3},{value:"Implement the Push Endpoint",id:"implement-the-push-endpoint",level:3},{value:"Implement the Push Handler",id:"implement-the-push-handler",level:3},{value:"Implement the pullStream$ Endpoint",id:"implement-the-pullstream-endpoint",level:3},{value:"Implement the pullStream$ Handler",id:"implement-the-pullstream-handler",level:3},{value:"pullStream$ RESYNC flag",id:"pullstream-resync-flag",level:3},{value:"Missing implementation details",id:"missing-implementation-details",level:2}];function d(e){const s={a:"a",admonition:"admonition",code:"code",figure:"figure",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...(0,i.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(s.header,{children:(0,o.jsx)(s.h1,{id:"http-replication-from-a-custom-server-to-rxdb-clients",children:"HTTP Replication from a custom server to RxDB clients"})}),"\n",(0,o.jsxs)(s.p,{children:["While RxDB has a range of backend-specific replication plugins (like ",(0,o.jsx)(s.a,{href:"/replication-graphql.html",children:"GraphQL"})," or ",(0,o.jsx)(s.a,{href:"/replication-firestore.html",children:"Firestore"}),"), the replication is build in a way to make it very easy to replicate data from a custom server to RxDB clients."]}),"\n",(0,o.jsx)("p",{align:"center",children:(0,o.jsx)("img",{src:"./files/icons/with-gradient/replication.svg",alt:"HTTP replication",height:"60"})}),"\n",(0,o.jsxs)(s.p,{children:["Using ",(0,o.jsx)(s.strong,{children:"HTTP"})," as a transport protocol makes it simple to create a compatible backend on top of your existing infrastructure. For events that must be sent from the server to the client, we can use ",(0,o.jsx)(s.a,{href:"https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events",children:"Server Send Events"}),"."]}),"\n",(0,o.jsx)(s.p,{children:"In this tutorial we will implement a HTTP replication between an RxDB client and a MongoDB express server. You can adapt this for any other backend database technology like PostgreSQL or even a non-Node.js server like go or java."}),"\n",(0,o.jsxs)(s.p,{children:["To create a compatible server for replication, we will start a server and implement the correct HTTP routes and replication handlers. We need a push-handler, a pull-handler and for the ongoing changes ",(0,o.jsx)(s.code,{children:"pull.stream"})," we use ",(0,o.jsx)(s.strong,{children:"Server Send Events"}),"."]}),"\n",(0,o.jsx)(s.h2,{id:"setup",children:"Setup"}),"\n",(0,o.jsxs)(l.g,{children:[(0,o.jsx)(s.h3,{id:"start-the-replication-on-the-rxdb-client",children:"Start the Replication on the RxDB Client"}),(0,o.jsxs)(s.p,{children:["RxDB does not have a specific HTTP-replication plugin because the ",(0,o.jsx)(s.a,{href:"/replication.html",children:"replication primitives plugin"})," is simple enough to start a HTTP replication on top of it.\nWe import the ",(0,o.jsx)(s.code,{children:"replicateRxCollection"})," function and start the replication from there for a single ",(0,o.jsx)(s.a,{href:"/rx-collection.html",children:"RxCollection"}),"."]}),(0,o.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,o.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// > client.ts"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { replicateRxCollection } "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/replication'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" replicationState"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" replicateRxCollection"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" collection"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" myRxCollection"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" replicationIdentifier"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'my-http-replication'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" push"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"/* add settings from below */"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" pull"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"/* add settings from below */"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),(0,o.jsx)(s.h3,{id:"start-a-nodejs-process-with-express-and-mongodb",children:"Start a Node.js process with Express and MongoDB"}),(0,o.jsx)(s.p,{children:"On the server side, we start an express server that has a MongoDB connection and serves the HTTP requests of the client."}),(0,o.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,o.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// > server.ts"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { MongoClient } "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'mongodb'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" express "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'express'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" mongoClient"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" new"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" MongoClient"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'mongodb://localhost:27017/'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" mongoConnection"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" mongoClient"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".connect"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" mongoDatabase"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" mongoConnection"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".db"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'myDatabase'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" mongoCollection"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" mongoDatabase"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".collection"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'myDocs'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" app"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" express"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"app"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".use"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"express"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".json"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"());"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"/* ... add routes from below */"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"app"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".listen"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"80"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" () "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" console"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".log"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"`Example app listening on port 80`"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:")"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),(0,o.jsx)(s.h3,{id:"implement-the-pull-endpoint",children:"Implement the Pull Endpoint"}),(0,o.jsxs)(s.p,{children:["As first HTTP Endpoint, we need to implement the pull handler. This is used by the RxDB replication to fetch all documents writes that happened after a given ",(0,o.jsx)(s.code,{children:"checkpoint"}),"."]}),(0,o.jsxs)(s.p,{children:["The ",(0,o.jsx)(s.code,{children:"checkpoint"})," format is not determined by RxDB, instead the server can use any type of changepoint that can be used to iterate across document writes. Here we will just use a unix timestamp ",(0,o.jsx)(s.code,{children:"updatedAt"})," and a string ",(0,o.jsx)(s.code,{children:"id"})," which is the most common used format."]}),(0,o.jsx)(s.p,{children:"When the pull endpoint is called, the server responds with an array of document data based on the given checkpoint and a new checkpoint.\nAlso the server has to respect the batchSize so that RxDB knows when there are no more new documents and the server returns a non-full array."}),(0,o.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,o.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// > server.ts"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { lastOfArray } "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/core'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"app"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".get"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'/pull'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" (req"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" res) "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" id"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" req"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"."}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"query"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".id;"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" updatedAt"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" parseFloat"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"req"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"."}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"query"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".updatedAt);"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" documents"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" mongoCollection"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".find"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" $or"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ["})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * Notice that we have to compare the updatedAt AND the id field"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * because the updateAt field is not unique and when two documents"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:' * have the same updateAt, we can still "sort" them by their id.'})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" updateAt"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { $gt"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" updatedAt }"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" updateAt"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { $eq"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" updatedAt }"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" id: { $gt"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" id }"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ]"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" })"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" .sort"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({updateAt"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 1"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" id"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 1"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"})"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" .limit"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"parseInt"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"req"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"."}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"query"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".batchSize"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 10"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"))"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".toArray"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" newCheckpoint"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" documents"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"."}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"length"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ==="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 0"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ?"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { id"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" updatedAt } "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" id"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" lastOfArray"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(documents).id"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" updatedAt"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" lastOfArray"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(documents).updatedAt"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" };"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" res"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".setHeader"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'Content-Type'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'application/json'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" res"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".end"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"JSON"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".stringify"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({ documents"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" checkpoint"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" newCheckpoint }));"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),(0,o.jsx)(s.h3,{id:"implement-the-pull-handler",children:"Implement the Pull Handler"}),(0,o.jsxs)(s.p,{children:["On the client we add the ",(0,o.jsx)(s.code,{children:"pull.handler"})," to the replication setting. The handler request the correct server url and fetches the documents."]}),(0,o.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,o.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// > client.ts"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" replicationState"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" replicateRxCollection"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" /* ... */"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" pull"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" async"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" handler"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(checkpointOrNull"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" batchSize){"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" updatedAt"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" checkpointOrNull "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"?"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" checkpointOrNull"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".updatedAt "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 0"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" id"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" checkpointOrNull "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"?"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" checkpointOrNull"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".id "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" ''"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" response"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" fetch"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" `https://localhost/pull?updatedAt="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"${"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"updatedAt"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"}"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"&id="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"${"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"id"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"}"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"&limit="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"${"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"batchSize"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"}"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"`"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" );"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" data"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" response"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".json"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" documents"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" data"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".documents"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" checkpoint"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" data"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".checkpoint"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" };"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" /* ... */"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),(0,o.jsx)(s.h3,{id:"implement-the-push-endpoint",children:"Implement the Push Endpoint"}),(0,o.jsxs)(s.p,{children:["To send client side writes to the server, we have to implement the ",(0,o.jsx)(s.code,{children:"push.handler"}),". It gets an array of change rows as input and has to return only the conflicting documents that did not have been written to the server. Each change row contains a ",(0,o.jsx)(s.code,{children:"newDocumentState"})," and an optional ",(0,o.jsx)(s.code,{children:"assumedMasterState"}),"."]}),(0,o.jsxs)(s.p,{children:["For ",(0,o.jsx)(s.a,{href:"/transactions-conflicts-revisions.html",children:"conflict detection"}),", on the server we first have to detect if the ",(0,o.jsx)(s.code,{children:"assumedMasterState"}),' is correct for each row. If yes, we have to write the new document state to the database, otherwise we have to return the "real" master state in the conflict array.']}),(0,o.jsxs)(s.p,{children:["The server also creates an ",(0,o.jsx)(s.code,{children:"event"})," that is emitted to the ",(0,o.jsx)(s.code,{children:"pullStream$"})," which is later used in the ",(0,o.jsx)(s.a,{href:"#pullstream-for-ongoing-changes",children:"pull.stream$"}),"."]}),(0,o.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,o.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// > server.ts"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { lastOfArray } "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/core'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { Subject } "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxjs'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// used in the pull.stream$ below"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"let"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" lastEventId "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 0"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" pullStream$"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" new"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" Subject"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"app"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".get"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'/push'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" (req"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" res) "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" changeRows"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" req"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".body;"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" conflicts"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" [];"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" event"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" id"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" lastEventId"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"++"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" documents"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" []"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" checkpoint"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" null"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" };"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" for"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" changeRow"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" of"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" changeRows){"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" realMasterState"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" mongoCollection"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".findOne"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({id"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" changeRow"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"."}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"newDocumentState"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".id});"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" if"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" realMasterState "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"&&"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" !"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"changeRow"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".assumedMasterState "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"||"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ("})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" realMasterState "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"&&"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" changeRow"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".assumedMasterState "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"&&"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" /*"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * For simplicity we detect conflicts on the server by only compare the updateAt value."})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" * In reality you might want to do a more complex check or do a deep-equal comparison."})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" realMasterState"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".updatedAt "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"!=="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" changeRow"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"."}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"assumedMasterState"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".updatedAt"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" )"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ) {"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // we have a conflict"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" conflicts"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".push"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(realMasterState);"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" } "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"else"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // no conflict -> write the document"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" mongoCollection"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".updateOne"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {id"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" changeRow"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"."}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"newDocumentState"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".id}"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" changeRow"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".newDocumentState"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" );"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" event"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"documents"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".push"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"changeRow"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".newDocumentState);"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" event"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".checkpoint "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { id"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" changeRow"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"."}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"newDocumentState"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".id"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" updatedAt"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" changeRow"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"."}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"newDocumentState"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".updatedAt };"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" if"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"event"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"."}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"documents"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"."}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"length"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" >"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 0"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"){"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" myPullStream$"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".next"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(event);"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" res"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".setHeader"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'Content-Type'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'application/json'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" res"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".end"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"JSON"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".stringify"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(conflicts));"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),(0,o.jsx)(s.admonition,{type:"note",children:(0,o.jsx)(s.p,{children:"For simplicity in this tutorial, we do not use transactions. In reality you should run the full push function inside of a MongoDB transaction to ensure that no other process can mix up the document state while the writes are processed. Also you should call batch operations on MongoDB instead of running the operations for each change row."})}),(0,o.jsx)(s.h3,{id:"implement-the-push-handler",children:"Implement the Push Handler"}),(0,o.jsxs)(s.p,{children:["With the push endpoint in place, we can add a ",(0,o.jsx)(s.code,{children:"push.handler"})," to the replication settings on the client."]}),(0,o.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,o.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// > client.ts"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" replicationState"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" replicateRxCollection"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" /* ... */"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" push"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" async"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" handler"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(changeRows){"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" rawResponse"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" fetch"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'https://localhost/push'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" method"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'POST'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" headers"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'Accept'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'application/json'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'Content-Type'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'application/json'"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" body"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" JSON"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".stringify"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(changeRows)"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" });"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" conflictsArray"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" rawResponse"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".json"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" conflictsArray;"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" /* ... */"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),(0,o.jsx)(s.h3,{id:"implement-the-pullstream-endpoint",children:"Implement the pullStream$ Endpoint"}),(0,o.jsxs)(s.p,{children:["While the normal pull handler is used when the replication is in ",(0,o.jsx)(s.a,{href:"/replication.html#checkpoint-iteration",children:"iteration mode"}),", we also need a stream of ongoing changes when the replication is in ",(0,o.jsx)(s.a,{href:"/replication.html#event-observation",children:"event observation mode"}),". This brings the realtime replication to RxDB where changes on the server or on a client will directly get propagated to the other instances."]}),(0,o.jsxs)(s.p,{children:["On the server we have to implement the ",(0,o.jsx)(s.code,{children:"pullStream"})," route and emit the events. We use the ",(0,o.jsx)(s.code,{children:"pullStream$"})," observable from ",(0,o.jsx)(s.a,{href:"#push-from-the-client-to-the-server",children:"above"})," to fetch all ongoing events and respond them to the client. Here we use Server-Sent-Events (SSE) which is the most common used way to stream data from the server to the client. Other method also exist like ",(0,o.jsx)(s.a,{href:"/articles/websockets-sse-polling-webrtc-webtransport.html",children:"WebSockets or Long-Polling"}),"."]}),(0,o.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,o.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// > server.ts"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"app"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".get"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'/pullStream'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" (req"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" res) "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" res"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".writeHead"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"200"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'Content-Type'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'text/event-stream'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'Connection'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'keep-alive'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'Cache-Control'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'no-cache'"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" });"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" subscription"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" pullStream$"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".subscribe"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(event "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" res"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".write"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'data: '"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" +"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" JSON"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".stringify"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(event) "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"+"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" '\\n\\n'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" });"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" req"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".on"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'close'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" () "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" subscription"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".unsubscribe"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"());"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),(0,o.jsx)(s.admonition,{type:"note",children:(0,o.jsxs)(s.p,{children:["How the build the ",(0,o.jsx)(s.code,{children:"pullStream$"})," Observable is not part of this tutorial. This heavily depends on your backend and infrastructure. Likely you have to observe the MongoDB event stream."]})}),(0,o.jsx)(s.h3,{id:"implement-the-pullstream-handler",children:"Implement the pullStream$ Handler"}),(0,o.jsxs)(s.p,{children:["From the client we can observe this endpoint and create a ",(0,o.jsx)(s.code,{children:"pull.stream$"})," observable that emits all events that are send from the server to the client.\nThe client connects to an url and receives server-sent-events that contain all ongoing writes."]}),(0,o.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,o.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// > client.ts"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { Subject } "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxjs'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" myPullStream$"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" new"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" Subject"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" eventSource"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" new"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" EventSource"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'http://localhost/pullStream'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { withCredentials"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" true"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"eventSource"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"."}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"onmessage"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" event "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" eventData"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" JSON"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".parse"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"event"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".data);"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" myPullStream$"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".next"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" documents"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" eventData"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".documents"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" checkpoint"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" eventData"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".checkpoint"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" });"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"};"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" replicationState"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" replicateRxCollection"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" /* ... */"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" pull"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" /* ... */"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" stream$"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" myPullStream$"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".asObservable"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"()"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" /* ... */"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),(0,o.jsx)(s.h3,{id:"pullstream-resync-flag",children:"pullStream$ RESYNC flag"}),(0,o.jsxs)(s.p,{children:["In case the client looses the connection, the EventSource will automatically reconnect but there might have been some changes that have been missed out in the meantime. The replication has to be informed that it might have missed events by emitting a ",(0,o.jsx)(s.code,{children:"RESYNC"})," flag from the ",(0,o.jsx)(s.code,{children:"pull.stream$"}),".\nThe replication will then catch up by switching to the ",(0,o.jsx)(s.a,{href:"/replication.html#checkpoint-iteration",children:"iteration mode"})," until it is in sync with the server again."]}),(0,o.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,o.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// > client.ts"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"eventSource"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"."}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"onerror"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" () "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" myPullStream$"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".next"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'RESYNC'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})]})]})})}),(0,o.jsxs)(s.p,{children:["The purpose of the ",(0,o.jsx)(s.code,{children:"RESYNC"}),' flag is to tell the client that "something might have changed" and then the client can react on that information without having to run operations in an interval.']}),(0,o.jsxs)(s.p,{children:["If your backend is not capable of emitting the actual documents and checkpoint in the pull stream, you could just map all events to the ",(0,o.jsx)(s.code,{children:"RESYNC"})," flag. This would make the replication work with a slight performance drawback:"]}),(0,o.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,o.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,o.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// > client.ts"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { Subject } "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxjs'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" myPullStream$"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" new"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" Subject"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" eventSource"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" new"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" EventSource"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'http://localhost/pullStream'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { withCredentials"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" true"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"eventSource"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"."}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"onmessage"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" () "}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" myPullStream$"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".next"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'RESYNC'"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" replicationState"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" replicateRxCollection"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" pull"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,o.jsxs)(s.span,{"data-line":"",children:[(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" stream$"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" myPullStream$"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".asObservable"}),(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"()"})]}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,o.jsx)(s.span,{"data-line":"",children:(0,o.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})})]}),"\n",(0,o.jsx)(s.h2,{id:"missing-implementation-details",children:"Missing implementation details"}),"\n",(0,o.jsx)(s.p,{children:"In this tutorial we only covered the basics of doing a HTTP replication between RxDB clients and a server. We did not cover the following aspects of the implementation:"}),"\n",(0,o.jsxs)(s.ul,{children:["\n",(0,o.jsx)(s.li,{children:"Authentication: To authenticate the client on the server, you might want to send authentication headers with the HTTP requests"}),"\n",(0,o.jsxs)(s.li,{children:["Skip events on the ",(0,o.jsx)(s.code,{children:"pull.stream$"})," for the client that caused the changes to improve performance."]}),"\n",(0,o.jsxs)(s.li,{children:["Version upgrades: You should add a version-flag to the endpoint urls. If you then update the version of your endpoints in any way, your old endpoints should emit a ",(0,o.jsx)(s.code,{children:"Code 426"})," to outdated clients so that they can updated their client version."]}),"\n"]})]})}function p(e={}){const{wrapper:s}={...(0,i.R)(),...e.components};return s?(0,o.jsx)(s,{...e,children:(0,o.jsx)(d,{...e})}):d(e)}},8453(e,s,n){n.d(s,{R:()=>l,x:()=>t});var r=n(6540);const o={},i=r.createContext(o);function l(e){const s=r.useContext(i);return r.useMemo(function(){return"function"==typeof e?e(s):{...s,...e}},[s,e])}function t(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:l(e.components),r.createElement(i.Provider,{value:s},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/a69eebfc.8659aa3b.js b/docs/assets/js/a69eebfc.8659aa3b.js
deleted file mode 100644
index b419f37e88e..00000000000
--- a/docs/assets/js/a69eebfc.8659aa3b.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[9408],{5878(e,n,s){s.r(n),s.d(n,{assets:()=>l,contentTitle:()=>a,default:()=>h,frontMatter:()=>t,metadata:()=>r,toc:()=>d});const r=JSON.parse('{"id":"query-optimizer","title":"Optimize Client-Side Queries with RxDB","description":"Harness real-world data to fine-tune queries. The build-time RxDB Optimizer finds the perfect index, boosting query speed in any environment.","source":"@site/docs/query-optimizer.md","sourceDirName":".","slug":"/query-optimizer.html","permalink":"/query-optimizer.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"Optimize Client-Side Queries with RxDB","slug":"query-optimizer.html","description":"Harness real-world data to fine-tune queries. The build-time RxDB Optimizer finds the perfect index, boosting query speed in any environment."},"sidebar":"tutorialSidebar","previous":{"title":"Vector Database","permalink":"/articles/javascript-vector-database.html"},"next":{"title":"Third Party Plugins","permalink":"/third-party-plugins.html"}}');var i=s(4848),o=s(8453);const t={title:"Optimize Client-Side Queries with RxDB",slug:"query-optimizer.html",description:"Harness real-world data to fine-tune queries. The build-time RxDB Optimizer finds the perfect index, boosting query speed in any environment."},a="Query Optimizer",l={},d=[{value:"Usage",id:"usage",level:2},{value:"Important details",id:"important-details",level:2}];function c(e){const n={a:"a",admonition:"admonition",code:"code",figure:"figure",h1:"h1",h2:"h2",header:"header",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...(0,o.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.header,{children:(0,i.jsx)(n.h1,{id:"query-optimizer",children:"Query Optimizer"})}),"\n",(0,i.jsx)(n.p,{children:"The query optimizer can be used to determine which index is the best to use for a given query.\nBecause RxDB is used in client side applications, it cannot do any background checks or measurements to optimize the query plan because that would cause significant performance problems."}),"\n",(0,i.jsx)(n.admonition,{type:"note",children:(0,i.jsxs)(n.p,{children:["The query optimizer is part of the ",(0,i.jsx)(n.a,{href:"/premium/",children:"RxDB Premium \ud83d\udc51"})," plugin that must be purchased. It is not part of the default RxDB module."]})}),"\n",(0,i.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,i.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" findBestIndex"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb-premium/plugins/query-optimizer'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" { "})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" getRxStorageIndexedDB"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb-premium/plugins/indexeddb'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" bestIndexes"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" findBestIndex"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" schema"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" myRxJsonSchema"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * In this example we use the IndexedDB RxStorage,"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * but any other storage can be used for testing."})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageIndexedDB"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"()"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * Multiple queries can be optimized at the same time"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * which decreases the overall runtime."})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" queries"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * Queries can be mapped by a query id,"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * here we use myFirstQuery as query id."})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" myFirstQuery"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" selector"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" age"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" $gt"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 10"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" mySecondQuery"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" selector"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" age"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" $gt"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 10"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" lastName"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" $eq"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'Nakamoto'"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" testData"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" ["}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"/** data for the documents. **/"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"]"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "})]})})}),"\n",(0,i.jsx)(n.h2,{id:"important-details",children:"Important details"}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsxs)(n.li,{children:["\n",(0,i.jsxs)(n.p,{children:["This is a build time tool. You should use it to find the best indexes for your queries during ",(0,i.jsx)(n.strong,{children:"build time"}),". Then you store these results and you application can use the best indexes during ",(0,i.jsx)(n.strong,{children:"run time"}),"."]}),"\n"]}),"\n",(0,i.jsxs)(n.li,{children:["\n",(0,i.jsxs)(n.p,{children:["It makes no sense to run time optimization with a different ",(0,i.jsx)(n.code,{children:"RxStorage"})," (+settings) that what you use in production. The result of the query optimizer is heavily dependent on the RxStorage and JavaScript runtime. For example it makes no sense to run the optimization in Node.js and then use the optimized indexes in the browser."]}),"\n"]}),"\n",(0,i.jsxs)(n.li,{children:["\n",(0,i.jsxs)(n.p,{children:["It is very important that you use ",(0,i.jsx)(n.strong,{children:"production like"})," ",(0,i.jsx)(n.code,{children:"testData"}),". Finding the best index heavily depends on data distribution and amount of stored/queried documents. For example if you store and query users with an ",(0,i.jsx)(n.code,{children:"age"})," field, it makes no sense to just use a random number for the age because in production the ",(0,i.jsx)(n.code,{children:"age"})," of your users is not equally distributed."]}),"\n"]}),"\n",(0,i.jsxs)(n.li,{children:["\n",(0,i.jsxs)(n.p,{children:["The higher you set ",(0,i.jsx)(n.code,{children:"runs"}),", the more test cycles will be performed and the more ",(0,i.jsx)(n.strong,{children:"significant"})," will be the time measurements which leads to a better index selection."]}),"\n"]}),"\n"]})]})}function h(e={}){const{wrapper:n}={...(0,o.R)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(c,{...e})}):c(e)}},8453(e,n,s){s.d(n,{R:()=>t,x:()=>a});var r=s(6540);const i={},o=r.createContext(i);function t(e){const n=r.useContext(o);return r.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function a(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:t(e.components),r.createElement(o.Provider,{value:n},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/a7456010.4971822d.js b/docs/assets/js/a7456010.4971822d.js
deleted file mode 100644
index cb5f7980354..00000000000
--- a/docs/assets/js/a7456010.4971822d.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[1235],{8552(s){s.exports=JSON.parse('{"name":"docusaurus-plugin-content-pages","id":"default"}')}}]);
\ No newline at end of file
diff --git a/docs/assets/js/a7bd4aaa.992c4a90.js b/docs/assets/js/a7bd4aaa.992c4a90.js
deleted file mode 100644
index e2ca5cf27f4..00000000000
--- a/docs/assets/js/a7bd4aaa.992c4a90.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[7098],{1723(n,e,s){s.r(e),s.d(e,{default:()=>d});s(6540);var r=s(5500);function o(n,e){return`docs-${n}-${e}`}var t=s(3025),i=s(2831),c=s(1463),a=s(4848);function u(n){const{version:e}=n;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(c.A,{version:e.version,tag:o(e.pluginId,e.version)}),(0,a.jsx)(r.be,{children:e.noIndex&&(0,a.jsx)("meta",{name:"robots",content:"noindex, nofollow"})})]})}function l(n){const{version:e,route:s}=n;return(0,a.jsx)(r.e3,{className:e.className,children:(0,a.jsx)(t.n,{version:e,children:(0,i.v)(s.routes)})})}function d(n){return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(u,{...n}),(0,a.jsx)(l,{...n})]})}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/a7f10198.cfa2de30.js b/docs/assets/js/a7f10198.cfa2de30.js
deleted file mode 100644
index 98ef90b09f5..00000000000
--- a/docs/assets/js/a7f10198.cfa2de30.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[1098],{1337(t,e,n){n.r(e),n.d(e,{assets:()=>c,contentTitle:()=>s,default:()=>d,frontMatter:()=>i,metadata:()=>a,toc:()=>m});const a=JSON.parse('{"id":"data-migration","title":"Data Migration","description":"This documentation page has been moved to here","source":"@site/docs/data-migration.md","sourceDirName":".","slug":"/data-migration.html","permalink":"/data-migration.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"Data Migration","slug":"data-migration.html"}}');var o=n(4848),r=n(8453);const i={title:"Data Migration",slug:"data-migration.html"},s=void 0,c={},m=[];function l(t){const e={a:"a",p:"p",...(0,r.R)(),...t.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(e.p,{children:["This documentation page has been moved to ",(0,o.jsx)(e.a,{href:"/migration-schema.html",children:"here"})]}),"\n",(0,o.jsx)("meta",{"http-equiv":"refresh",content:"0; url=https://rxdb.info/migration-schema.html"})]})}function d(t={}){const{wrapper:e}={...(0,r.R)(),...t.components};return e?(0,o.jsx)(e,{...t,children:(0,o.jsx)(l,{...t})}):l(t)}},8453(t,e,n){n.d(e,{R:()=>i,x:()=>s});var a=n(6540);const o={},r=a.createContext(o);function i(t){const e=a.useContext(r);return a.useMemo(function(){return"function"==typeof t?t(e):{...e,...t}},[e,t])}function s(t){let e;return e=t.disableParentContext?"function"==typeof t.components?t.components(o):t.components||o:i(t.components),a.createElement(r.Provider,{value:e},t.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/a94703ab.13c96c74.js b/docs/assets/js/a94703ab.13c96c74.js
deleted file mode 100644
index cb83fcdf138..00000000000
--- a/docs/assets/js/a94703ab.13c96c74.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[9048],{5955(e,t,n){n.d(t,{A:()=>r});n(6540);var a=n(4164),i=n(1312),s=n(1107),o=n(4848);function r({className:e}){return(0,o.jsx)("main",{className:(0,a.A)("container margin-vert--xl",e),children:(0,o.jsx)("div",{className:"row",children:(0,o.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,o.jsxs)(s.A,{as:"h1",className:"hero__title",children:[(0,o.jsx)("a",{href:"/",children:(0,o.jsx)("div",{style:{textAlign:"center"},children:(0,o.jsx)("img",{src:"https://rxdb.info/files/logo/rxdb_javascript_database.svg",alt:"RxDB",width:"160"})})}),(0,o.jsx)(i.A,{id:"theme.NotFound.title",description:"The title of the 404 page",children:"404 Page Not Found"})]}),(0,o.jsx)("p",{children:(0,o.jsx)(i.A,{id:"theme.NotFound.p1",description:"The first paragraph of the 404 page",children:"The page you are looking for does not exist anymore or never has existed. If you have found this page through a link, you should tell the link author to update it."})}),(0,o.jsx)("p",{children:"Maybe one of these can help you to find the desired content:"}),(0,o.jsx)("div",{className:"ul-container",children:(0,o.jsxs)("ul",{children:[(0,o.jsx)("li",{children:(0,o.jsx)("a",{href:"https://rxdb.info/overview.html",children:"RxDB Documentation"})}),(0,o.jsx)("li",{children:(0,o.jsx)("a",{href:"/chat/",children:"RxDB Discord Channel"})}),(0,o.jsx)("li",{children:(0,o.jsx)("a",{href:"https://twitter.com/intent/user?screen_name=rxdbjs",children:"RxDB on twitter"})}),(0,o.jsx)("li",{children:(0,o.jsx)("a",{href:"/code/",children:"RxDB at Github"})})]})})]})})})}},7510(e,t,n){n.r(t),n.d(t,{default:()=>Ne});var a=n(6540),i=n(4164),s=n(5500),o=n(7559),r=n(4718),l=n(609),c=n(1312),d=n(3104),u=n(5062);const h="backToTopButton_sjWU",m="backToTopButtonShow_xfvO";var b=n(4848);function p(){const{shown:e,scrollToTop:t}=function({threshold:e}){const[t,n]=(0,a.useState)(!1),i=(0,a.useRef)(!1),{startScroll:s,cancelScroll:o}=(0,d.gk)();return(0,d.Mq)(({scrollY:t},a)=>{const s=a?.scrollY;s&&(i.current?i.current=!1:t>=s?(o(),n(!1)):t{e.location.hash&&(i.current=!0,n(!1))}),{shown:t,scrollToTop:()=>s(0)}}({threshold:300});return(0,b.jsx)("button",{"aria-label":(0,c.T)({id:"theme.BackToTopButton.buttonAriaLabel",message:"Scroll back to top",description:"The ARIA label for the back to top button"}),className:(0,i.A)("clean-btn",o.G.common.backToTopButton,h,e&&m),type:"button",onClick:t})}var x=n(3109),j=n(6347),f=n(4581),g=n(6342),v=n(9529);function _(e){return(0,b.jsx)("svg",{width:"20",height:"20","aria-hidden":"true",...e,children:(0,b.jsxs)("g",{fill:"#7a7a7a",children:[(0,b.jsx)("path",{d:"M9.992 10.023c0 .2-.062.399-.172.547l-4.996 7.492a.982.982 0 01-.828.454H1c-.55 0-1-.453-1-1 0-.2.059-.403.168-.551l4.629-6.942L.168 3.078A.939.939 0 010 2.528c0-.548.45-.997 1-.997h2.996c.352 0 .649.18.828.45L9.82 9.472c.11.148.172.347.172.55zm0 0"}),(0,b.jsx)("path",{d:"M19.98 10.023c0 .2-.058.399-.168.547l-4.996 7.492a.987.987 0 01-.828.454h-3c-.547 0-.996-.453-.996-1 0-.2.059-.403.168-.551l4.625-6.942-4.625-6.945a.939.939 0 01-.168-.55 1 1 0 01.996-.997h3c.348 0 .649.18.828.45l4.996 7.492c.11.148.168.347.168.55zm0 0"})]})})}const A="collapseSidebarButton_JQG6",C="collapseSidebarButtonIcon_Iseg";function k({onClick:e}){return(0,b.jsx)("button",{type:"button",title:(0,c.T)({id:"theme.docs.sidebar.collapseButtonTitle",message:"Collapse sidebar",description:"The title attribute for collapse button of doc sidebar"}),"aria-label":(0,c.T)({id:"theme.docs.sidebar.collapseButtonAriaLabel",message:"Collapse sidebar",description:"The title attribute for collapse button of doc sidebar"}),className:(0,i.A)("button button--secondary button--outline",A),onClick:e,children:(0,b.jsx)(_,{className:C})})}var S=n(5041),N=n(9532);const y=Symbol("EmptyContext"),T=a.createContext(y);function I({children:e}){const[t,n]=(0,a.useState)(null),i=(0,a.useMemo)(()=>({expandedItem:t,setExpandedItem:n}),[t]);return(0,b.jsx)(T.Provider,{value:i,children:e})}var L=n(1422),B=n(9169),w=n(8774),E=n(2303),D=n(6654),M=n(3186);const H="menuExternalLink_NmtK",R="linkLabel_WmDU";function P({label:e}){return(0,b.jsx)("span",{title:e,className:R,children:e})}function G({item:e,onItemClick:t,activePath:n,level:a,index:s,...l}){const{href:c,label:d,className:u,autoAddBaseUrl:h}=e,m=(0,r.w8)(e,n),p=(0,D.A)(c);return(0,b.jsx)("li",{className:(0,i.A)(o.G.docs.docSidebarItemLink,o.G.docs.docSidebarItemLinkLevel(a),"menu__list-item",u),children:(0,b.jsxs)(w.A,{className:(0,i.A)("menu__link",!p&&H,{"menu__link--active":m}),autoAddBaseUrl:h,"aria-current":m?"page":void 0,to:c,...p&&{onClick:t?()=>t(e):void 0},...l,children:[(0,b.jsx)(P,{label:d}),!p&&(0,b.jsx)(M.A,{})]})},d)}const W="categoryLink_byQd",U="categoryLinkLabel_W154";function Y({collapsed:e,categoryLabel:t,onClick:n}){return(0,b.jsx)("button",{"aria-label":e?(0,c.T)({id:"theme.DocSidebarItem.expandCategoryAriaLabel",message:"Expand sidebar category '{label}'",description:"The ARIA label to expand the sidebar category"},{label:t}):(0,c.T)({id:"theme.DocSidebarItem.collapseCategoryAriaLabel",message:"Collapse sidebar category '{label}'",description:"The ARIA label to collapse the sidebar category"},{label:t}),"aria-expanded":!e,type:"button",className:"clean-btn menu__caret",onClick:n})}function F({label:e}){return(0,b.jsx)("span",{title:e,className:U,children:e})}function V(e){return 0===(0,r.Y)(e.item.items,e.activePath).length?(0,b.jsx)(z,{...e}):(0,b.jsx)(K,{...e})}function z({item:e,...t}){if("string"!=typeof e.href)return null;const{type:n,collapsed:a,collapsible:i,items:s,linkUnlisted:o,...r}=e,l={type:"link",...r};return(0,b.jsx)(G,{item:l,...t})}function K({item:e,onItemClick:t,activePath:n,level:s,index:l,...c}){const{items:d,label:u,collapsible:h,className:m,href:p}=e,{docs:{sidebar:{autoCollapseCategories:x}}}=(0,g.p)(),j=function(e){const t=(0,E.A)();return(0,a.useMemo)(()=>e.href&&!e.linkUnlisted?e.href:!t&&e.collapsible?(0,r.Nr)(e):void 0,[e,t])}(e),f=(0,r.w8)(e,n),v=(0,B.ys)(p,n),{collapsed:_,setCollapsed:A}=(0,L.u)({initialState:()=>!!h&&(!f&&e.collapsed)}),{expandedItem:C,setExpandedItem:k}=function(){const e=(0,a.useContext)(T);if(e===y)throw new N.dV("DocSidebarItemsExpandedStateProvider");return e}(),S=(e=!_)=>{k(e?null:l),A(e)};!function({isActive:e,collapsed:t,updateCollapsed:n,activePath:i}){const s=(0,N.ZC)(e),o=(0,N.ZC)(i);(0,a.useEffect)(()=>{(e&&!s||e&&s&&i!==o)&&t&&n(!1)},[e,s,t,n,i,o])}({isActive:f,collapsed:_,updateCollapsed:S,activePath:n}),(0,a.useEffect)(()=>{h&&null!=C&&C!==l&&x&&A(!0)},[h,C,l,A,x]);return(0,b.jsxs)("li",{className:(0,i.A)(o.G.docs.docSidebarItemCategory,o.G.docs.docSidebarItemCategoryLevel(s),"menu__list-item",{"menu__list-item--collapsed":_},m),children:[(0,b.jsxs)("div",{className:(0,i.A)("menu__list-item-collapsible",{"menu__list-item-collapsible--active":v}),children:[(0,b.jsx)(w.A,{className:(0,i.A)(W,"menu__link",{"menu__link--sublist":h,"menu__link--sublist-caret":!p&&h,"menu__link--active":f}),onClick:n=>{t?.(e),h&&(p?v?(n.preventDefault(),S()):S(!1):(n.preventDefault(),S()))},"aria-current":v?"page":void 0,role:h&&!p?"button":void 0,"aria-expanded":h&&!p?!_:void 0,href:h?j??"#":j,...c,children:(0,b.jsx)(F,{label:u})}),p&&h&&(0,b.jsx)(Y,{collapsed:_,categoryLabel:u,onClick:e=>{e.preventDefault(),S()}})]}),(0,b.jsx)(L.N,{lazy:!0,as:"ul",className:"menu__list",collapsed:_,children:(0,b.jsx)(J,{items:d,tabIndex:_?-1:0,onItemClick:t,activePath:n,level:s+1})})]})}const O="menuHtmlItem_M9Kj";function Q({item:e,level:t,index:n}){const{value:a,defaultStyle:s,className:r}=e;return(0,b.jsx)("li",{className:(0,i.A)(o.G.docs.docSidebarItemLink,o.G.docs.docSidebarItemLinkLevel(t),s&&[O,"menu__list-item"],r),dangerouslySetInnerHTML:{__html:a}},n)}function Z({item:e,...t}){switch(e.type){case"category":return(0,b.jsx)(V,{item:e,...t});case"html":return(0,b.jsx)(Q,{item:e,...t});default:return(0,b.jsx)(G,{item:e,...t})}}function q({items:e,...t}){const n=(0,r.Y)(e,t.activePath);return(0,b.jsx)(I,{children:n.map((e,n)=>(0,b.jsx)(Z,{item:e,index:n,...t},n))})}const J=(0,a.memo)(q),X="menu_Y1UP",$="menuWithAnnouncementBar_fPny";var ee=n(8120);function te({path:e,sidebar:t,className:n}){const s=function(){const{isActive:e}=(0,S.M)(),[t,n]=(0,a.useState)(e);return(0,d.Mq)(({scrollY:t})=>{e&&n(0===t)},[e]),e&&t}();return(0,b.jsxs)("nav",{"aria-label":(0,c.T)({id:"theme.docs.sidebar.navAriaLabel",message:"Docs sidebar",description:"The ARIA label for the sidebar navigation"}),className:(0,i.A)("menu thin-scrollbar",X,s&&$,n),children:[(0,b.jsx)("div",{style:{padding:10,paddingTop:30,marginLeft:"auto",marginRight:"auto"},children:(0,b.jsx)(ee.A,{})}),(0,b.jsx)("ul",{className:(0,i.A)(o.G.docs.docSidebarMenu,"menu__list"),children:(0,b.jsx)(J,{items:t,activePath:e,level:1})})]})}const ne="sidebar_mhZE",ae="sidebarWithHideableNavbar__6UL",ie="sidebarHidden__LRd",se="sidebarLogo_F_0z";function oe({path:e,sidebar:t,onCollapse:n,isHidden:a}){const{navbar:{hideOnScroll:s},docs:{sidebar:{hideable:o}}}=(0,g.p)();return(0,b.jsxs)("div",{className:(0,i.A)(ne,s&&ae,a&&ie),children:[s&&(0,b.jsx)(v.A,{tabIndex:-1,className:se}),(0,b.jsx)(te,{path:e,sidebar:t}),o&&(0,b.jsx)(k,{onClick:n})]})}const re=a.memo(oe);var le=n(5600),ce=n(2069);const de=({sidebar:e,path:t})=>{const n=(0,ce.M)();return(0,b.jsxs)("ul",{className:(0,i.A)(o.G.docs.docSidebarMenu,"menu__list"),children:[(0,b.jsx)(ee.A,{}),(0,b.jsx)(J,{items:e,activePath:t,onItemClick:e=>{"category"===e.type&&e.href&&n.toggle(),"link"===e.type&&n.toggle()},level:1})]})};function ue(e){return(0,b.jsx)(le.GX,{component:de,props:e})}const he=a.memo(ue);function me(e){const t=(0,f.l)(),n="desktop"===t||"ssr"===t,a="mobile"===t;return(0,b.jsxs)(b.Fragment,{children:[n&&(0,b.jsx)(re,{...e}),a&&(0,b.jsx)(he,{...e})]})}const be="expandButton_TmdG",pe="expandButtonIcon_i1dp";function xe({toggleSidebar:e}){return(0,b.jsx)("div",{className:be,title:(0,c.T)({id:"theme.docs.sidebar.expandButtonTitle",message:"Expand sidebar",description:"The ARIA label and title attribute for expand button of doc sidebar"}),"aria-label":(0,c.T)({id:"theme.docs.sidebar.expandButtonAriaLabel",message:"Expand sidebar",description:"The ARIA label and title attribute for expand button of doc sidebar"}),tabIndex:0,role:"button",onKeyDown:e,onClick:e,children:(0,b.jsx)(_,{className:pe})})}const je={docSidebarContainer:"docSidebarContainer_YfHR",docSidebarContainerHidden:"docSidebarContainerHidden_DPk8",sidebarViewport:"sidebarViewport_aRkj"};function fe({children:e}){const t=(0,l.t)();return(0,b.jsx)(a.Fragment,{children:e},t?.name??"noSidebar")}function ge({sidebar:e,hiddenSidebarContainer:t,setHiddenSidebarContainer:n}){const{pathname:s}=(0,j.zy)(),[r,l]=(0,a.useState)(!1),c=(0,a.useCallback)(()=>{r&&l(!1),!r&&(0,x.O)()&&l(!0),n(e=>!e)},[n,r]);return(0,b.jsx)("aside",{className:(0,i.A)(o.G.docs.docSidebarContainer,je.docSidebarContainer,t&&je.docSidebarContainerHidden),onTransitionEnd:e=>{e.currentTarget.classList.contains(je.docSidebarContainer)&&t&&l(!0)},children:(0,b.jsx)(fe,{children:(0,b.jsxs)("div",{className:(0,i.A)(je.sidebarViewport,r&&je.sidebarViewportHidden),children:[(0,b.jsx)(me,{sidebar:e,path:s,onCollapse:c,isHidden:r}),r&&(0,b.jsx)(xe,{toggleSidebar:c})]})})})}const ve={docMainContainer:"docMainContainer_TBSr",docMainContainerEnhanced:"docMainContainerEnhanced_lQrH",docItemWrapperEnhanced:"docItemWrapperEnhanced_JWYK"};function _e({hiddenSidebarContainer:e,children:t}){const n=(0,l.t)();return(0,b.jsx)("main",{className:(0,i.A)(ve.docMainContainer,(e||!n)&&ve.docMainContainerEnhanced),children:(0,b.jsx)("div",{className:(0,i.A)("container padding-top--md padding-bottom--lg",ve.docItemWrapper,e&&ve.docItemWrapperEnhanced),children:t})})}const Ae="docRoot_UBD9",Ce="docsWrapper_hBAB";function ke({children:e}){const t=(0,l.t)(),[n,i]=(0,a.useState)(!1);return(0,b.jsxs)("div",{className:Ce,children:[(0,b.jsx)(p,{}),(0,b.jsxs)("div",{className:Ae,children:[t&&(0,b.jsx)(ge,{sidebar:t.items,hiddenSidebarContainer:n,setHiddenSidebarContainer:i}),(0,b.jsx)(_e,{hiddenSidebarContainer:n,children:e})]})]})}var Se=n(5955);function Ne(e){const t=(0,r.B5)(e);if(!t)return(0,b.jsx)(Se.A,{});const{docElement:n,sidebarName:a,sidebarItems:c}=t;return(0,b.jsx)(s.e3,{className:(0,i.A)(o.G.page.docsDocPage),children:(0,b.jsx)(l.V,{name:a,items:c,children:(0,b.jsx)(ke,{children:n})})})}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/aa14e6b1.c1e700b0.js b/docs/assets/js/aa14e6b1.c1e700b0.js
deleted file mode 100644
index ced6ee7cc2d..00000000000
--- a/docs/assets/js/aa14e6b1.c1e700b0.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[9824],{717(s,n,e){e.r(n),e.d(n,{assets:()=>t,contentTitle:()=>a,default:()=>h,frontMatter:()=>l,metadata:()=>r,toc:()=>c});const r=JSON.parse('{"id":"replication-graphql","title":"GraphQL Replication","description":"The GraphQL replication provides handlers for GraphQL to run replication with GraphQL as the transportation layer.","source":"@site/docs/replication-graphql.md","sourceDirName":".","slug":"/replication-graphql.html","permalink":"/replication-graphql.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"GraphQL Replication","slug":"replication-graphql.html"},"sidebar":"tutorialSidebar","previous":{"title":"RxServer Replication","permalink":"/replication-server.html"},"next":{"title":"WebSocket Replication","permalink":"/replication-websocket.html"}}');var i=e(4848),o=e(8453);const l={title:"GraphQL Replication",slug:"replication-graphql.html"},a="Replication with GraphQL",t={},c=[{value:"Usage",id:"usage",level:2},{value:"Creating a compatible GraphQL Server",id:"creating-a-compatible-graphql-server",level:3},{value:"RxDB Client",id:"rxdb-client",level:3},{value:"Pull replication",id:"pull-replication",level:4},{value:"Push replication",id:"push-replication",level:4},{value:"Pull Stream",id:"pull-stream",level:4},{value:"Transforming null to undefined in optional fields",id:"transforming-null-to-undefined-in-optional-fields",level:3},{value:"pull.responseModifier",id:"pullresponsemodifier",level:3},{value:"push.responseModifier",id:"pushresponsemodifier",level:3},{value:"Helper Functions",id:"helper-functions",level:4},{value:"RxGraphQLReplicationState",id:"rxgraphqlreplicationstate",level:3},{value:".setHeaders()",id:"setheaders",level:4},{value:"Sending Cookies",id:"sending-cookies",level:4}];function d(s){const n={a:"a",admonition:"admonition",code:"code",figure:"figure",h1:"h1",h2:"h2",h3:"h3",h4:"h4",header:"header",p:"p",pre:"pre",span:"span",strong:"strong",...(0,o.R)(),...s.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.header,{children:(0,i.jsx)(n.h1,{id:"replication-with-graphql",children:"Replication with GraphQL"})}),"\n",(0,i.jsxs)(n.p,{children:["The GraphQL replication provides handlers for GraphQL to run ",(0,i.jsx)(n.a,{href:"/replication.html",children:"replication"})," with GraphQL as the transportation layer."]}),"\n",(0,i.jsxs)(n.p,{children:["The GraphQL replication is mostly used when you already have a backend that exposes a GraphQL API that can be adjusted to serve as a replication endpoint. If you do not already have a GraphQL endpoint, using the ",(0,i.jsx)(n.a,{href:"/replication-http.html",children:"HTTP replication"})," is an easier solution."]}),"\n",(0,i.jsx)(n.admonition,{type:"note",children:(0,i.jsxs)(n.p,{children:["To play around, check out the full example of the RxDB ",(0,i.jsx)(n.a,{href:"https://github.com/pubkey/rxdb/tree/master/examples/graphql",children:"GraphQL replication with server and client"})]})}),"\n",(0,i.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,i.jsxs)(n.p,{children:["Before you use the GraphQL replication, make sure you've learned how the ",(0,i.jsx)(n.a,{href:"/replication.html",children:"RxDB replication"})," works."]}),"\n",(0,i.jsx)(n.h3,{id:"creating-a-compatible-graphql-server",children:"Creating a compatible GraphQL Server"}),"\n",(0,i.jsxs)(n.p,{children:["At the server-side, there must exist an endpoint which returns newer rows when the last ",(0,i.jsx)(n.code,{children:"checkpoint"})," is used as input. For example lets say you create a ",(0,i.jsx)(n.code,{children:"Query"})," ",(0,i.jsx)(n.code,{children:"pullHuman"})," which returns a list of document writes that happened after the given checkpoint."]}),"\n",(0,i.jsxs)(n.p,{children:["For the push-replication, you also need a ",(0,i.jsx)(n.code,{children:"Mutation"})," ",(0,i.jsx)(n.code,{children:"pushHuman"})," which lets RxDB update data of documents by sending the previous document state and the new client document state.\nAlso for being able to stream all ongoing events, we need a ",(0,i.jsx)(n.code,{children:"Subscription"})," called ",(0,i.jsx)(n.code,{children:"streamHuman"}),"."]}),"\n",(0,i.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"graphql","data-theme":"css-variables",children:(0,i.jsxs)(n.code,{"data-language":"graphql","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"input"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" HumanInput"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" id: "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"ID"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"!"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" name: "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"String"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"!"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" lastName: "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"String"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"!"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" updatedAt: "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"Float"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"!"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" deleted: "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"Boolean"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"!"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"}"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"type"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" Human"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" id: "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"ID"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"!"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" name: "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"String"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"!"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" lastName: "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"String"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"!"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" updatedAt: "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"Float"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"!"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" deleted: "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"Boolean"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"!"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"}"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"input"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" Checkpoint"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" id: "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"String"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"!"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" updatedAt: "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"Float"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"!"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"}"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"type"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" HumanPullBulk"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" documents: ["}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"Human"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"]"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"!"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" checkpoint: "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"Checkpoint"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"}"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"type"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" Query"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" pullHuman(checkpoint: "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"Checkpoint"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:", limit: "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"Int"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"!"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"): "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"HumanPullBulk"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"!"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"}"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"input"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" HumanInputPushRow"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" assumedMasterState: "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"HeroInputPushRowT0AssumedMasterStateT0"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" newDocumentState: "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"HeroInputPushRowT0NewDocumentStateT0"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"!"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"}"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"type"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" Mutation"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" # Returns a list of all conflicts"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" # If no document write caused a conflict, return an empty list."})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" pushHuman(rows: ["}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"HumanInputPushRow"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"!"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"]): ["}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"Human"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"]"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"}"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"# headers are used to authenticate the subscriptions"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"# over websockets."})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"input"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" Headers"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" AUTH_TOKEN: "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"String"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"!"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"}"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"type"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" Subscription"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" streamHuman(headers: "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"Headers"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"): "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"HumanPullBulk"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"!"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"}"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "})]})})}),"\n",(0,i.jsxs)(n.p,{children:["The GraphQL resolver for the ",(0,i.jsx)(n.code,{children:"pullHuman"})," would then look like:"]}),"\n",(0,i.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"js","data-theme":"css-variables",children:(0,i.jsxs)(n.code,{"data-language":"js","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" rootValue"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" pullHuman"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" args "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" minId"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" args"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:".checkpoint "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"?"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" args"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"."}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"checkpoint"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:".id "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" ''"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" minUpdatedAt"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" args"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:".checkpoint "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"?"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" args"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"."}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"checkpoint"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:".updatedAt "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 0"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // sorted by updatedAt first and the id as second"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" sortedDocuments"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" documents"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".sort"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"((a"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" b) "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" if"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" ("}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"a"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:".updatedAt "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:">"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" b"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:".updatedAt) "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"return"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 1"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" if"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" ("}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"a"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:".updatedAt "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"<"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" b"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:".updatedAt) "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"return"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" -"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"1"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" if"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" ("}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"a"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:".updatedAt "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"==="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" b"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:".updatedAt) {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" if"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" ("}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"a"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:".id "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:">"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" b"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:".id) "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"return"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 1"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" if"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" ("}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"a"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:".id "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"<"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" b"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:".id) "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"return"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" -"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"1"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" else"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 0"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" });"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // only return documents newer than the input document"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" filterForMinUpdatedAtAndId"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" sortedDocuments"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".filter"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(doc "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" if"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" ("}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"doc"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:".updatedAt "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"<"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" minUpdatedAt) "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"return"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" false"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" if"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" ("}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"doc"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:".updatedAt "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:">"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" minUpdatedAt) "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"return"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" true"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" if"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" ("}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"doc"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:".updatedAt "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"==="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" minUpdatedAt) {"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // if updatedAt is equal, compare by id"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" if"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" ("}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"doc"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:".id "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:">"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" minId) "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"return"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" true"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" else"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" false"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" });"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // only return some documents in one batch"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" limitedDocs"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" filterForMinUpdatedAtAndId"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".slice"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"0"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" args"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:".limit);"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // use the last document for the checkpoint"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" lastDoc"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" limitedDocs["}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"limitedDocs"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"."}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"length"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" -"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 1"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"];"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" retCheckpoint"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" id"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" lastDoc"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:".id"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" updatedAt"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" lastDoc"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:".updatedAt"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" documents"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" limitedDocs"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" checkpoint"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" retCheckpoint"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" limited;"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"}"})})]})})}),"\n",(0,i.jsxs)(n.p,{children:["For examples for the other resolvers, consult the ",(0,i.jsx)(n.a,{href:"https://github.com/pubkey/rxdb/blob/master/examples/graphql/server/index.js",children:"GraphQL Example Project"}),"."]}),"\n",(0,i.jsx)(n.h3,{id:"rxdb-client",children:"RxDB Client"}),"\n",(0,i.jsx)(n.h4,{id:"pull-replication",children:"Pull replication"}),"\n",(0,i.jsxs)(n.p,{children:["For the pull-replication, you first need a ",(0,i.jsx)(n.code,{children:"pullQueryBuilder"}),". This is a function that gets the last replication ",(0,i.jsx)(n.code,{children:"checkpoint"})," and a ",(0,i.jsx)(n.code,{children:"limit"})," as input and returns an object with a GraphQL-query and its variables (or a promise that resolves to the same object). RxDB will use the query builder to construct what is later sent to the GraphQL endpoint."]}),"\n",(0,i.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"js","data-theme":"css-variables",children:(0,i.jsxs)(n.code,{"data-language":"js","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" pullQueryBuilder"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" (checkpoint"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" limit) "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * The first pull does not have a checkpoint"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * so we fill it up with defaults"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" if"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" ("}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"!"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"checkpoint) {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" checkpoint "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" id"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" ''"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" updatedAt"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 0"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" };"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" query"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" `query PullHuman($checkpoint: CheckpointInput, $limit: Int!) {"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" pullHuman(checkpoint: $checkpoint, limit: $limit) {"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" documents {"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" id"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" name"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" age"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" updatedAt"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" deleted"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" }"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" checkpoint {"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" id"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" updatedAt"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" }"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" }"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" }`"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" query"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" operationName"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'PullHuman'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" variables"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" checkpoint"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" limit"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" };"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"};"})})]})})}),"\n",(0,i.jsx)(n.p,{children:"With the queryBuilder, you can then setup the pull-replication."}),"\n",(0,i.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"js","data-theme":"css-variables",children:(0,i.jsxs)(n.code,{"data-language":"js","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" { replicateGraphQL } "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/replication-graphql'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" replicationState"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" replicateGraphQL"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" collection"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" myRxCollection"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // urls to the GraphQL endpoints"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" url"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" http"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'http://example.com/graphql'"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" pull"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" queryBuilder"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" pullQueryBuilder"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // the queryBuilder from above"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" modifier"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" doc "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" doc"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // (optional) modifies all pulled documents before they are handled by RxDB"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" dataPath"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" undefined"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // (optional) specifies the object path to access the document(s). Otherwise, the first result of the response data is used."})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * Amount of documents that the remote will send in one request."})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * If the response contains less than [batchSize] documents,"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * RxDB will assume there are no more changes on the backend"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * that are not replicated."})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * This value is the same as the limit in the pullHuman() schema."})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * [default=100]"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" batchSize"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 50"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // headers which will be used in http requests against the server."})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" headers"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" Authorization"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'Bearer abcde...'"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * Options that have been inherited from the RxReplication"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" deletedField"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'deleted'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" live"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" true"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" retryTime "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 1000"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" *"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 5"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" waitForLeadership "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" true"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" autoStart "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" true"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:");"})})]})})}),"\n",(0,i.jsx)(n.h4,{id:"push-replication",children:"Push replication"}),"\n",(0,i.jsxs)(n.p,{children:["For the push-replication, you also need a ",(0,i.jsx)(n.code,{children:"queryBuilder"}),". Here, the builder receives a changed document as input which has to be send to the server. It also returns a GraphQL-Query and its data."]}),"\n",(0,i.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"js","data-theme":"css-variables",children:(0,i.jsxs)(n.code,{"data-language":"js","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" pushQueryBuilder"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" rows "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" query"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" `"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" mutation PushHuman($writeRows: [HumanInputPushRow!]) {"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" pushHuman(writeRows: $writeRows) {"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" id"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" name"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" age"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" updatedAt"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" deleted"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" }"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" }"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" `"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" variables"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" writeRows"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" rows"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" };"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" query"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" operationName"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'PushHuman'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" variables"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" };"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"};"})})]})})}),"\n",(0,i.jsx)(n.p,{children:"With the queryBuilder, you can then setup the push-replication."}),"\n",(0,i.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"js","data-theme":"css-variables",children:(0,i.jsxs)(n.code,{"data-language":"js","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" replicationState"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" replicateGraphQL"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" collection"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" myRxCollection"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // urls to the GraphQL endpoints"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" url"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" http"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'http://example.com/graphql'"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" push"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" queryBuilder"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" pushQueryBuilder"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // the queryBuilder from above"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * batchSize (optional)"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * Amount of document that will be pushed to the server in a single request."})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" batchSize"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 5"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * modifier (optional)"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * Modifies all pushed documents before they are send to the GraphQL endpoint."})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * Returning null will skip the document."})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" modifier"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" doc "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" doc"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" headers"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" Authorization"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'Bearer abcde...'"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" pull"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /* ... */"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /* ... */"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:");"})})]})})}),"\n",(0,i.jsx)(n.h4,{id:"pull-stream",children:"Pull Stream"}),"\n",(0,i.jsxs)(n.p,{children:["To create a ",(0,i.jsx)(n.strong,{children:"realtime"})," replication, you need to create a pull stream that pulls ongoing writes from the server.\nThe pull stream gets the ",(0,i.jsx)(n.code,{children:"headers"})," of the ",(0,i.jsx)(n.code,{children:"RxReplicationState"})," as input, so that it can be authenticated on the backend."]}),"\n",(0,i.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"js","data-theme":"css-variables",children:(0,i.jsxs)(n.code,{"data-language":"js","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" pullStreamQueryBuilder"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" (headers) "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" query"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" `subscription onStream($headers: Headers) {"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" streamHero(headers: $headers) {"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" documents {"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" id,"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" name,"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" age,"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" updatedAt,"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" deleted"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" },"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" checkpoint {"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" id"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" updatedAt"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" }"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" }"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" }`"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" query"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" variables"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" headers"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" };"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"};"})})]})})}),"\n",(0,i.jsxs)(n.p,{children:["With the ",(0,i.jsx)(n.code,{children:"pullStreamQueryBuilder"})," you can then start a realtime replication."]}),"\n",(0,i.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"js","data-theme":"css-variables",children:(0,i.jsxs)(n.code,{"data-language":"js","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" replicationState"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" replicateGraphQL"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" collection"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" myRxCollection"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // urls to the GraphQL endpoints"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" url"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" http"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'http://example.com/graphql'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" ws"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'ws://example.com/subscriptions'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // <- The websocket has to use a different url."})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" push"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" batchSize"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 100"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" queryBuilder"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" pushQueryBuilder"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" headers"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" Authorization"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'Bearer abcde...'"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" pull"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" batchSize"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 100"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" queryBuilder"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" pullQueryBuilder"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" streamQueryBuilder"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" pullStreamQueryBuilder"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" includeWsHeaders"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" false"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // Includes headers as connection parameter to Websocket."})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // Websocket options that can be passed as a parameter to initialize the subscription"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // Can be applied anything from the graphql-ws ClientOptions - https://the-guild.dev/graphql/ws/docs/interfaces/client.ClientOptions"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // Except these parameters: 'url', 'shouldRetry', 'webSocketImpl' - locked for internal usage"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // Note: if you provide connectionParams as a wsOption, make sure it returns any necessary headers (e.g. authorization)"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // because providing your own connectionParams prevents headers from being included automatically"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" wsOptions"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" { "})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" retryAttempts"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 10"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" deletedField"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'deleted'"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:");"})})]})})}),"\n",(0,i.jsx)(n.admonition,{type:"note",children:(0,i.jsxs)(n.p,{children:["If it is not possible to create a websocket server on your backend, you can use any other method of pull out the ongoing events from the backend and then you can send them into ",(0,i.jsx)(n.code,{children:"RxReplicationState.emitEvent()"}),"."]})}),"\n",(0,i.jsx)(n.h3,{id:"transforming-null-to-undefined-in-optional-fields",children:"Transforming null to undefined in optional fields"}),"\n",(0,i.jsxs)(n.p,{children:["GraphQL fills up non-existent optional values with ",(0,i.jsx)(n.code,{children:"null"})," while RxDB required them to be ",(0,i.jsx)(n.code,{children:"undefined"}),".\nTherefore, if your schema contains optional properties, you have to transform the pulled data to switch out ",(0,i.jsx)(n.code,{children:"null"})," to ",(0,i.jsx)(n.code,{children:"undefined"})]}),"\n",(0,i.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"js","data-theme":"css-variables",children:(0,i.jsxs)(n.code,{"data-language":"js","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" replicationState"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" RxGraphQLReplicationState"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"<"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:"RxDocType"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"> "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" replicateGraphQL"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" collection"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" myRxCollection"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" url"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"/* ... */"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"}"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" headers"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"/* ... */"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"}"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" push"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"/* ... */"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"}"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" pull"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" queryBuilder"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" pullQueryBuilder"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" modifier"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" (doc "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // We have to remove optional non-existent field values"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // they are set as null by GraphQL but should be undefined"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" Object"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".entries"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(doc)"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".forEach"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(([k"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" v]) "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" if"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" (v "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"==="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" null"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:") {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" delete"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" doc[k];"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" });"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" doc;"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" })"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /* ... */"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:");"})})]})})}),"\n",(0,i.jsx)(n.h3,{id:"pullresponsemodifier",children:"pull.responseModifier"}),"\n",(0,i.jsxs)(n.p,{children:["With the ",(0,i.jsx)(n.code,{children:"pull.responseModifier"})," you can modify the whole response from the GraphQL endpoint ",(0,i.jsx)(n.strong,{children:"before"})," it is processed by RxDB.\nFor example if your endpoint is not capable of returning a valid checkpoint, but instead only returns the plain document array, you can use the ",(0,i.jsx)(n.code,{children:"responseModifier"})," to aggregate the checkpoint from the returned documents."]}),"\n",(0,i.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" replicationState"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" RxGraphQLReplicationState"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"<"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:"RxDocType"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"> "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" replicateGraphQL"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" collection"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" myRxCollection"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" url"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"/* ... */"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"}"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" headers"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"/* ... */"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"}"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" push"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"/* ... */"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"}"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" pull"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" responseModifier"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" async"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" function"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" plainResponse"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // the exact response that was returned from the server"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" origin"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // either 'handler' if plainResponse came from the pull.handler, or 'stream' if it came from the pull.stream"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" requestCheckpoint "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// if origin==='handler', the requestCheckpoint contains the checkpoint that was send to the backend"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" ) {"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * In this example we aggregate the checkpoint from the documents array"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * that was returned from the graphql endpoint."})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" docs"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" plainResponse;"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" documents"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" docs"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" checkpoint"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" docs"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"."}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"length"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ==="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 0"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ?"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" requestCheckpoint "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" lastOfArray"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(docs).name"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" updatedAt"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" lastOfArray"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(docs).updatedAt"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" };"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /* ... */"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:");"})})]})})}),"\n",(0,i.jsx)(n.h3,{id:"pushresponsemodifier",children:"push.responseModifier"}),"\n",(0,i.jsx)(n.p,{children:"It's also possible to modify the response of a push mutation. For example if your server returns more than the just conflicting docs:"}),"\n",(0,i.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"graphql","data-theme":"css-variables",children:(0,i.jsxs)(n.code,{"data-language":"graphql","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"type"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" PushResponse"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" conflicts: ["}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"Human"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"]"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" conflictMessages: ["}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"ReplicationConflictMessage"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"]"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"}"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"type"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" Mutation"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" # Returns a PushResponse type that contains the conflicts along with other information"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" pushHuman(rows: ["}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"HumanInputPushRow"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"!"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"]): "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"PushResponse"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"!"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"}"})})]})})}),"\n",(0,i.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {} "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "rxdb"'}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" replicationState"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" RxGraphQLReplicationState"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"<"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:"RxDocType"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"> "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" replicateGraphQL"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" collection"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" myRxCollection"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" url"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"/* ... */"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"}"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" headers"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"/* ... */"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"}"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" push"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" responseModifier"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" async"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" function"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" (plainResponse) {"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * In this example we aggregate the conflicting documents from a response object"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" plainResponse"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:".conflicts;"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" pull"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"/* ... */"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"}"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /* ... */"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:");"})})]})})}),"\n",(0,i.jsx)(n.h4,{id:"helper-functions",children:"Helper Functions"}),"\n",(0,i.jsxs)(n.p,{children:["RxDB provides the helper functions ",(0,i.jsx)(n.code,{children:"graphQLSchemaFromRxSchema()"}),", ",(0,i.jsx)(n.code,{children:"pullQueryBuilderFromRxSchema()"}),", ",(0,i.jsx)(n.code,{children:"pullStreamBuilderFromRxSchema()"})," and ",(0,i.jsx)(n.code,{children:"pushQueryBuilderFromRxSchema()"})," that can be used to generate handlers and schemas from the ",(0,i.jsx)(n.code,{children:"RxJsonSchema"}),". To learn how to use them, please inspect the ",(0,i.jsx)(n.a,{href:"https://github.com/pubkey/rxdb/tree/master/examples/graphql",children:"GraphQL Example"}),"."]}),"\n",(0,i.jsx)(n.h3,{id:"rxgraphqlreplicationstate",children:"RxGraphQLReplicationState"}),"\n",(0,i.jsxs)(n.p,{children:["When you call ",(0,i.jsx)(n.code,{children:"myCollection.syncGraphQL()"})," it returns a ",(0,i.jsx)(n.code,{children:"RxGraphQLReplicationState"})," which can be used to subscribe to events, for debugging or other functions. It extends the ",(0,i.jsx)(n.a,{href:"/replication.html",children:"RxReplicationState"})," with some GraphQL specific methods."]}),"\n",(0,i.jsx)(n.h4,{id:"setheaders",children:".setHeaders()"}),"\n",(0,i.jsx)(n.p,{children:"Changes the headers for the replication after it has been set up."}),"\n",(0,i.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"js","data-theme":"css-variables",children:(0,i.jsxs)(n.code,{"data-language":"js","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"replicationState"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".setHeaders"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" Authorization"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" `...`"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,i.jsx)(n.h4,{id:"sending-cookies",children:"Sending Cookies"}),"\n",(0,i.jsxs)(n.p,{children:["The underlying fetch framework uses a ",(0,i.jsx)(n.code,{children:"same-origin"})," policy for credentials per default. That means, cookies and session data is only shared if you backend and frontend run on the same domain and port. Pass the credential parameter to ",(0,i.jsx)(n.code,{children:"include"})," cookies in requests to servers from different origins via:"]}),"\n",(0,i.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"js","data-theme":"css-variables",children:(0,i.jsx)(n.code,{"data-language":"js","data-theme":"css-variables",style:{display:"grid"},children:(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"replicationState"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".setCredentials"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'include'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:");"})]})})})}),"\n",(0,i.jsxs)(n.p,{children:["or directly pass it in the ",(0,i.jsx)(n.code,{children:"replicateGraphQL"})," function:"]}),"\n",(0,i.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"js","data-theme":"css-variables",children:(0,i.jsxs)(n.code,{"data-language":"js","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:"replicateGraphQL"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" collection"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" myRxCollection"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /* ... */"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" credentials"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'include'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /* ... */"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:");"})})]})})}),"\n",(0,i.jsxs)(n.p,{children:["See ",(0,i.jsx)(n.a,{href:"https://fetch.spec.whatwg.org/#concept-request-credentials-mode",children:"the fetch spec"})," for more information about available options."]}),"\n",(0,i.jsx)(n.admonition,{type:"note",children:(0,i.jsxs)(n.p,{children:["To play around, check out the full example of the RxDB ",(0,i.jsx)(n.a,{href:"https://github.com/pubkey/rxdb/tree/master/examples/graphql",children:"GraphQL replication with server and client"})]})})]})}function h(s={}){const{wrapper:n}={...(0,o.R)(),...s.components};return n?(0,i.jsx)(n,{...s,children:(0,i.jsx)(d,{...s})}):d(s)}},8453(s,n,e){e.d(n,{R:()=>l,x:()=>a});var r=e(6540);const i={},o=r.createContext(i);function l(s){const n=r.useContext(o);return r.useMemo(function(){return"function"==typeof s?s(n):{...n,...s}},[n,s])}function a(s){let n;return n=s.disableParentContext?"function"==typeof s.components?s.components(i):s.components||i:l(s.components),r.createElement(o.Provider,{value:n},s.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/ab919a1f.41585657.js b/docs/assets/js/ab919a1f.41585657.js
deleted file mode 100644
index ae849cdb84b..00000000000
--- a/docs/assets/js/ab919a1f.41585657.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[6491],{30(e,a,i){i.r(a),i.d(a,{assets:()=>d,contentTitle:()=>l,default:()=>h,frontMatter:()=>r,metadata:()=>t,toc:()=>o});const t=JSON.parse('{"id":"articles/embedded-database","title":"Embedded Database, Real-time Speed - RxDB","description":"Unleash the power of embedded databases with RxDB. Explore real-time replication, offline access, and reactive queries for modern JavaScript apps.","source":"@site/docs/articles/embedded-database.md","sourceDirName":"articles","slug":"/articles/embedded-database.html","permalink":"/articles/embedded-database.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"Embedded Database, Real-time Speed - RxDB","slug":"embedded-database.html","description":"Unleash the power of embedded databases with RxDB. Explore real-time replication, offline access, and reactive queries for modern JavaScript apps."},"sidebar":"tutorialSidebar","previous":{"title":"Empower Web Apps with Reactive RxDB Data-base","permalink":"/articles/data-base.html"},"next":{"title":"Supercharge Flutter Apps with the RxDB Database","permalink":"/articles/flutter-database.html"}}');var s=i(4848),n=i(8453);const r={title:"Embedded Database, Real-time Speed - RxDB",slug:"embedded-database.html",description:"Unleash the power of embedded databases with RxDB. Explore real-time replication, offline access, and reactive queries for modern JavaScript apps."},l="Using RxDB as an Embedded Database",d={},o=[{value:"What is an Embedded Database?",id:"what-is-an-embedded-database",level:2},{value:"Embedded Database in UI Applications",id:"embedded-database-in-ui-applications",level:2},{value:"Why RxDB as an Embedded Database for Real-time Applications",id:"why-rxdb-as-an-embedded-database-for-real-time-applications",level:2},{value:"Follow Up",id:"follow-up",level:2}];function c(e){const a={a:"a",h1:"h1",h2:"h2",header:"header",li:"li",p:"p",ul:"ul",...(0,n.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(a.header,{children:(0,s.jsx)(a.h1,{id:"using-rxdb-as-an-embedded-database",children:"Using RxDB as an Embedded Database"})}),"\n",(0,s.jsxs)(a.p,{children:["In modern UI applications, efficient data storage is a crucial aspect for seamless user experiences. One powerful solution for achieving this is by utilizing an embedded database. In this article, we will explore the concept of an embedded database and delve into the benefits of using ",(0,s.jsx)(a.a,{href:"https://rxdb.info/",children:"RxDB"})," as an embedded database in UI applications. We will also discuss why RxDB stands out as a robust choice for real-time applications with embedded database functionality."]}),"\n",(0,s.jsx)("center",{children:(0,s.jsx)("a",{href:"https://rxdb.info/",children:(0,s.jsx)("img",{src:"../files/logo/rxdb_javascript_database.svg",alt:"JavaScript Embedded Database",width:"220"})})}),"\n",(0,s.jsx)(a.h2,{id:"what-is-an-embedded-database",children:"What is an Embedded Database?"}),"\n",(0,s.jsxs)(a.p,{children:["An embedded database refers to a client-side database system that is integrated directly within an application. It is designed to operate within the client environment, such as a web browser or a ",(0,s.jsx)(a.a,{href:"/articles/mobile-database.html",children:"mobile"})," app. This approach eliminates the need for a separate database server and allows the database to run locally on the client device."]}),"\n",(0,s.jsx)(a.h2,{id:"embedded-database-in-ui-applications",children:"Embedded Database in UI Applications"}),"\n",(0,s.jsx)(a.p,{children:"In the context of UI applications, an embedded database serves as a local data storage solution. It enables applications to efficiently manage data, facilitate real-time updates, and enhance performance. Let's explore some of the benefits of using an embedded database compared to a traditional server database:"}),"\n",(0,s.jsxs)(a.ul,{children:["\n",(0,s.jsx)(a.li,{children:"Replicating database state becomes easier: Implementing real-time data synchronization and replication is simpler with an embedded database compared to complex REST routes. The embedded nature allows for efficient replication of the database state across multiple instances of the application."}),"\n",(0,s.jsx)(a.li,{children:"Use the database for caching: An embedded database can be utilized for caching frequently accessed data. This caching mechanism enhances performance and reduces the need for repeated network requests, resulting in faster data retrieval."}),"\n",(0,s.jsx)(a.li,{children:"Building real-time applications is easier with local data: By leveraging local data storage, real-time applications can easily update the user interface in response to data changes. This approach simplifies the development of real-time features and enhances the responsiveness of the application."}),"\n",(0,s.jsxs)(a.li,{children:["Store local data with ",(0,s.jsx)(a.a,{href:"/encryption.html",children:"encryption"}),": Embedded databases, like RxDB, offer the ability to store local data with encryption. This ensures that sensitive information remains protected even when stored locally on the client device."]}),"\n",(0,s.jsx)(a.li,{children:"Data is offline accessible: With an embedded database, data remains accessible even when the application is offline. Users can continue to interact with the application and access their data seamlessly, irrespective of their internet connectivity."}),"\n",(0,s.jsx)(a.li,{children:"Faster initial application start time: Since the data is already stored locally, there is no need for initial data fetching from a remote server. This significantly reduces the application's startup time and allows users to engage with the application more quickly."}),"\n",(0,s.jsx)(a.li,{children:"Improved scalability with local queries: Embedded databases, such as RxDB, perform queries locally on the client device instead of relying on server round-trips. This reduces latency and enhances scalability, particularly when dealing with large datasets or high query volumes."}),"\n",(0,s.jsxs)(a.li,{children:["Seamless integration with JavaScript frameworks: Embedded databases, including RxDB, integrate seamlessly with popular JavaScript frameworks like Angular, React.js, ",(0,s.jsx)(a.a,{href:"/articles/vue-database.html",children:"Vue.js"}),", and Svelte. This compatibility allows developers to leverage the capabilities of these frameworks while benefiting from embedded database functionality."]}),"\n",(0,s.jsx)(a.li,{children:"Running queries locally has low latency: With an embedded database, queries are executed locally on the client device, resulting in minimal latency. This improves the overall performance and responsiveness of the application."}),"\n",(0,s.jsx)(a.li,{children:"Data is portable and always accessible by the user: Embedded databases enable data portability, allowing users to seamlessly transition between devices while maintaining their data and application state. This ensures that data is always accessible and available to the user."}),"\n",(0,s.jsxs)(a.li,{children:["Using a ",(0,s.jsx)(a.a,{href:"/articles/local-database.html",children:"local database"})," for state management: Instead of relying on additional state management libraries like Redux or NgRx, an embedded database can be used for local state management. This simplifies state management and ensures data consistency within the application."]}),"\n"]}),"\n",(0,s.jsx)(a.h2,{id:"why-rxdb-as-an-embedded-database-for-real-time-applications",children:"Why RxDB as an Embedded Database for Real-time Applications"}),"\n",(0,s.jsx)(a.p,{children:"RxDB is a JavaScript-based embedded database that offers numerous advantages for building real-time applications. Let's explore why RxDB is a compelling choice:"}),"\n",(0,s.jsxs)(a.ul,{children:["\n",(0,s.jsxs)(a.li,{children:[(0,s.jsx)(a.a,{href:"/rx-query.html",children:"Observable Queries"})," (RxJS): RxDB leverages the power of Observables through RxJS, enabling developers to create queries that automatically update the user interface on data changes. This reactive approach simplifies UI updates and ensures real-time synchronization of data."]}),"\n",(0,s.jsxs)(a.li,{children:[(0,s.jsx)(a.a,{href:"/articles/json-database.html",children:"NoSQL JSON Documents"})," for UIs: RxDB utilizes NoSQL (JSON) documents as its data model, aligning seamlessly with the requirements of modern UI development. JavaScript's native support for JSON objects makes NoSQL documents a natural fit for UI-driven applications."]}),"\n",(0,s.jsx)(a.li,{children:"Better TypeScript Support Compared to SQL: RxDB's NoSQL approach provides excellent TypeScript support. The flexibility of working with JSON objects enables robust typing and enhanced development experiences, ensuring type safety and reducing runtime errors."}),"\n",(0,s.jsxs)(a.li,{children:[(0,s.jsx)(a.a,{href:"/rx-document.html",children:"Observable Document Fields"}),": RxDB allows developers to observe individual fields within documents. This granularity enables efficient tracking of specific data changes and facilitates targeted UI updates, enhancing performance and responsiveness."]}),"\n",(0,s.jsx)(a.li,{children:"Made in JavaScript, Optimized for JavaScript Applications: Being built entirely in JavaScript, RxDB is optimized for JavaScript applications. It leverages JavaScript's capabilities and integrates seamlessly with JavaScript frameworks and libraries, making it a natural choice for JavaScript developers."}),"\n",(0,s.jsxs)(a.li,{children:["Optimized Observed Queries with the ",(0,s.jsx)(a.a,{href:"https://github.com/pubkey/event-reduce",children:"EventReduce Algorithm"}),": RxDB incorporates the EventReduce algorithm to optimize observed queries. This algorithm reduces the number of emitted events during query execution, resulting in enhanced query performance and reduced overhead."]}),"\n",(0,s.jsx)(a.li,{children:"Built-in Multi-tab Support: RxDB provides built-in multi-tab support, allowing multiple instances of an application to share and synchronize data seamlessly. This feature enables collaborative and real-time scenarios across multiple browser tabs or windows."}),"\n",(0,s.jsxs)(a.li,{children:["Handling of Schema Changes across Multiple Client Devices: With RxDB, handling schema changes across multiple client devices becomes straightforward. RxDB's schema ",(0,s.jsx)(a.a,{href:"/migration-schema.html",children:"migration capabilities"})," ensure that applications can seamlessly adapt to evolving data structures, providing a consistent experience across different devices."]}),"\n",(0,s.jsx)(a.li,{children:"Storing Documents Compressed: RxDB offers the ability to store documents in a compressed format. This reduces the storage footprint and improves performance, especially when dealing with large datasets."}),"\n",(0,s.jsxs)(a.li,{children:["Flexible Storage Layer and Cross-platform Compatibility: RxDB provides a flexible storage layer that can be reused across various platforms, including ",(0,s.jsx)(a.a,{href:"/electron-database.html",children:"Electron.js"}),", ",(0,s.jsx)(a.a,{href:"/react-native-database.html",children:"React Native"}),", hybrid apps (via Capacitor.js), and browsers. This cross-platform compatibility simplifies development and enables code reuse across different environments."]}),"\n",(0,s.jsxs)(a.li,{children:["Replication Algorithm for Backend Compatibility: RxDB's replication algorithm is open-source and can be made compatible with various backend solutions, such as self-hosted servers, Firebase, ",(0,s.jsx)(a.a,{href:"/replication-couchdb.html",children:"CouchDB"}),", NATS, WebSockets, and more. This flexibility allows developers to choose their preferred backend infrastructure while benefiting from RxDB's embedded database capabilities."]}),"\n"]}),"\n",(0,s.jsx)("center",{children:(0,s.jsx)("a",{href:"https://rxdb.info/",children:(0,s.jsx)("img",{src:"../files/logo/rxdb_javascript_database.svg",alt:"JavaScript Embedded Database",width:"220"})})}),"\n",(0,s.jsx)(a.h2,{id:"follow-up",children:"Follow Up"}),"\n",(0,s.jsxs)(a.p,{children:["To further explore ",(0,s.jsx)(a.a,{href:"https://rxdb.info/",children:"RxDB"})," and leverage its capabilities as an embedded database, the following resources can be helpful:"]}),"\n",(0,s.jsxs)(a.ul,{children:["\n",(0,s.jsxs)(a.li,{children:[(0,s.jsx)(a.a,{href:"https://github.com/pubkey/rxdb",children:"RxDB GitHub Repository"}),": Visit the official GitHub repository of RxDB to access the source code, documentation, and community support."]}),"\n",(0,s.jsxs)(a.li,{children:[(0,s.jsx)(a.a,{href:"/quickstart.html",children:"RxDB Quickstart"}),": Get started quickly with RxDB by following the provided quickstart guide, which offers step-by-step instructions for setting up and using RxDB in your projects."]}),"\n"]}),"\n",(0,s.jsxs)(a.p,{children:["By utilizing ",(0,s.jsx)(a.a,{href:"https://rxdb.info/",children:"RxDB"})," as an embedded database in UI applications, developers can harness the power of efficient data management, real-time updates, and enhanced user experiences. RxDB's features and benefits make it a compelling choice for building modern, responsive, and scalable applications."]})]})}function h(e={}){const{wrapper:a}={...(0,n.R)(),...e.components};return a?(0,s.jsx)(a,{...e,children:(0,s.jsx)(c,{...e})}):c(e)}},8453(e,a,i){i.d(a,{R:()=>r,x:()=>l});var t=i(6540);const s={},n=t.createContext(s);function r(e){const a=t.useContext(n);return t.useMemo(function(){return"function"==typeof e?e(a):{...a,...e}},[a,e])}function l(e){let a;return a=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:r(e.components),t.createElement(n.Provider,{value:a},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/aba21aa0.6f50d3cb.js b/docs/assets/js/aba21aa0.6f50d3cb.js
deleted file mode 100644
index b91a605de93..00000000000
--- a/docs/assets/js/aba21aa0.6f50d3cb.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[5742],{7093(s){s.exports=JSON.parse('{"name":"docusaurus-plugin-content-docs","id":"default"}')}}]);
\ No newline at end of file
diff --git a/docs/assets/js/ac62b32d.0f37c11a.js b/docs/assets/js/ac62b32d.0f37c11a.js
deleted file mode 100644
index b078b6e4382..00000000000
--- a/docs/assets/js/ac62b32d.0f37c11a.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[9192],{3228(e,n,s){s.r(n),s.d(n,{assets:()=>l,contentTitle:()=>a,default:()=>h,frontMatter:()=>t,metadata:()=>r,toc:()=>c});const r=JSON.parse('{"id":"replication-websocket","title":"Websocket Replication","description":"With the websocket replication plugin, you can spawn a websocket server from a RxDB database in Node.js and replicate with it.","source":"@site/docs/replication-websocket.md","sourceDirName":".","slug":"/replication-websocket.html","permalink":"/replication-websocket.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"Websocket Replication","slug":"replication-websocket.html"},"sidebar":"tutorialSidebar","previous":{"title":"GraphQL Replication","permalink":"/replication-graphql.html"},"next":{"title":"CouchDB Replication","permalink":"/replication-couchdb.html"}}');var i=s(4848),o=s(8453);const t={title:"Websocket Replication",slug:"replication-websocket.html"},a="Websocket Replication",l={},c=[{value:"Starting the Websocket Server",id:"starting-the-websocket-server",level:2},{value:"Connect to the Websocket Server",id:"connect-to-the-websocket-server",level:2},{value:"Customize",id:"customize",level:2}];function d(e){const n={a:"a",admonition:"admonition",code:"code",figure:"figure",h1:"h1",h2:"h2",header:"header",p:"p",pre:"pre",span:"span",strong:"strong",...(0,o.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.header,{children:(0,i.jsx)(n.h1,{id:"websocket-replication",children:"Websocket Replication"})}),"\n",(0,i.jsx)(n.p,{children:"With the websocket replication plugin, you can spawn a websocket server from a RxDB database in Node.js and replicate with it."}),"\n",(0,i.jsx)(n.admonition,{type:"note",children:(0,i.jsxs)(n.p,{children:["The websocket replication plugin does not have any concept for authentication or permission handling. It is designed to create an easy ",(0,i.jsx)(n.strong,{children:"server-to-server"})," replication. It is ",(0,i.jsx)(n.strong,{children:"not"})," made for client-server replication. Make a pull request if you need that feature."]})}),"\n",(0,i.jsx)(n.h2,{id:"starting-the-websocket-server",children:"Starting the Websocket Server"}),"\n",(0,i.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" { createRxDatabase } "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" startWebsocketServer"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/replication-websocket'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// create a RxDatabase like normal"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" myDatabase"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"/* ... */"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// start a websocket server"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" serverState"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" startWebsocketServer"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" database"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" myDatabase"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" port"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 1337"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" path"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" '/socket'"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// stop the server"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" serverState"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".close"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]})]})})}),"\n",(0,i.jsx)(n.h2,{id:"connect-to-the-websocket-server",children:"Connect to the Websocket Server"}),"\n",(0,i.jsx)(n.p,{children:"The replication has to be started once for each collection that you want to replicate."}),"\n",(0,i.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" replicateWithWebsocketServer"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/replication-websocket'"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// start the replication"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" replicationState"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" replicateWithWebsocketServer"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * To make the replication work,"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * the client collection name must be equal"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * to the server collection name."})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" collection"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" myRxCollection"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" url"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'ws://localhost:1337/socket'"})]}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(n.span,{"data-line":"",children:(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// stop the replication"})}),"\n",(0,i.jsxs)(n.span,{"data-line":"",children:[(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" replicationState"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".cancel"}),(0,i.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]})]})})}),"\n",(0,i.jsx)(n.h2,{id:"customize",children:"Customize"}),"\n",(0,i.jsxs)(n.p,{children:["We use the ",(0,i.jsx)(n.a,{href:"https://www.npmjs.com/package/ws",children:"ws"})," npm library, so you can use all optional configuration provided by it.\nThis is especially important to improve performance by opting in of some optional settings."]})]})}function h(e={}){const{wrapper:n}={...(0,o.R)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(d,{...e})}):d(e)}},8453(e,n,s){s.d(n,{R:()=>t,x:()=>a});var r=s(6540);const i={},o=r.createContext(i);function t(e){const n=r.useContext(o);return r.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function a(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:t(e.components),r.createElement(o.Provider,{value:n},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/ad16b3ea.bade954e.js b/docs/assets/js/ad16b3ea.bade954e.js
deleted file mode 100644
index 606d0caf007..00000000000
--- a/docs/assets/js/ad16b3ea.bade954e.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[8674],{3247(e,s,n){n.d(s,{g:()=>i});var r=n(4848);function i(e){const s=[];let n=null;return e.children.forEach(e=>{e.props.id?(n&&s.push(n),n={headline:e,paragraphs:[]}):n&&n.paragraphs.push(e)}),n&&s.push(n),(0,r.jsx)("div",{style:o.stepsContainer,children:s.map((e,s)=>(0,r.jsxs)("div",{style:o.stepWrapper,children:[(0,r.jsxs)("div",{style:o.stepIndicator,children:[(0,r.jsx)("div",{style:o.stepNumber,children:s+1}),(0,r.jsx)("div",{style:o.verticalLine})]}),(0,r.jsxs)("div",{style:o.stepContent,children:[(0,r.jsx)("div",{children:e.headline}),e.paragraphs.map((e,s)=>(0,r.jsx)("div",{style:o.item,children:e},s))]})]},s))})}const o={stepsContainer:{display:"flex",flexDirection:"column"},stepWrapper:{display:"flex",alignItems:"stretch",marginBottom:"1.5rem",position:"relative",minWidth:0},stepIndicator:{position:"relative",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"flex-start",width:"33px",marginRight:"1rem",minWidth:0},stepNumber:{width:"33px",height:"33px",borderRadius:"50%",backgroundColor:"var(--color-top)",color:"#fff",display:"flex",alignItems:"center",justifyContent:"center",fontWeight:"bold",marginTop:-4},verticalLine:{position:"absolute",top:29,bottom:"0",left:"50%",width:"1px",background:"linear-gradient(to bottom, var(--color-top) 0%, var(--color-top) 80%, rgba(0,0,0,0) 100%)",transform:"translateX(-50%)"},stepContent:{flex:1,minWidth:0,overflowWrap:"break-word"},item:{marginTop:"0.5rem"}}},5045(e,s,n){n.r(s),n.d(s,{assets:()=>d,contentTitle:()=>t,default:()=>p,frontMatter:()=>l,metadata:()=>r,toc:()=>c});const r=JSON.parse('{"id":"dev-mode","title":"Development Mode","description":"Enable checks & validations with RxDB Dev Mode. Ensure proper API use, readable errors, and schema validation during development. Avoid in production.","source":"@site/docs/dev-mode.md","sourceDirName":".","slug":"/dev-mode.html","permalink":"/dev-mode.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"Development Mode","slug":"dev-mode.html","description":"Enable checks & validations with RxDB Dev Mode. Ensure proper API use, readable errors, and schema validation during development. Avoid in production."},"sidebar":"tutorialSidebar","previous":{"title":"Installation","permalink":"/install.html"},"next":{"title":"TypeScript Setup","permalink":"/tutorials/typescript.html"}}');var i=n(4848),o=n(8453),a=n(3247);const l={title:"Development Mode",slug:"dev-mode.html",description:"Enable checks & validations with RxDB Dev Mode. Ensure proper API use, readable errors, and schema validation during development. Avoid in production."},t="Dev Mode",d={},c=[{value:"Import the dev-mode Plugin",id:"import-the-dev-mode-plugin",level:3},{value:"Add the Plugin to RxDB",id:"add-the-plugin-to-rxdb",level:2},{value:"Usage with Node.js",id:"usage-with-nodejs",level:2},{value:"Usage with Angular",id:"usage-with-angular",level:2},{value:"Usage with webpack",id:"usage-with-webpack",level:2},{value:"Disable the dev-mode warning",id:"disable-the-dev-mode-warning",level:2},{value:"Disable the tracking iframe",id:"disable-the-tracking-iframe",level:2}];function h(e){const s={a:"a",admonition:"admonition",code:"code",figure:"figure",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...(0,o.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s.header,{children:(0,i.jsx)(s.h1,{id:"dev-mode",children:"Dev Mode"})}),"\n",(0,i.jsx)(s.p,{children:"The dev-mode plugin adds many checks and validations to RxDB.\nThis ensures that you use the RxDB API properly and so the dev-mode plugin should always be used when\nusing RxDB in development mode."}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsx)(s.li,{children:"Adds readable error messages."}),"\n",(0,i.jsxs)(s.li,{children:["Ensures that ",(0,i.jsx)(s.code,{children:"readonly"})," JavaScript objects are not accidentally mutated."]}),"\n",(0,i.jsxs)(s.li,{children:["Adds validation check for validity of schemas, queries, ",(0,i.jsx)(s.a,{href:"/orm.html",children:"ORM"})," methods and document fields.","\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:["Notice that the ",(0,i.jsx)(s.code,{children:"dev-mode"})," plugin does not perform schema checks against the data see ",(0,i.jsx)(s.a,{href:"/schema-validation.html",children:"schema validation"})," for that."]}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,i.jsx)(s.admonition,{type:"warning",children:(0,i.jsxs)(s.p,{children:["The dev-mode plugin will increase your build size and decrease the performance. It must ",(0,i.jsx)(s.strong,{children:"always"})," be used in development. You should ",(0,i.jsx)(s.strong,{children:"never"})," use it in production."]})}),"\n",(0,i.jsxs)(a.g,{children:[(0,i.jsx)(s.h3,{id:"import-the-dev-mode-plugin",children:"Import the dev-mode Plugin"}),(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"javascript","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"javascript","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { RxDBDevModePlugin } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/dev-mode'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { addRxPlugin } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/core'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]})]})})}),(0,i.jsx)(s.h2,{id:"add-the-plugin-to-rxdb",children:"Add the Plugin to RxDB"}),(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"javascript","data-theme":"css-variables",children:(0,i.jsx)(s.code,{"data-language":"javascript","data-theme":"css-variables",style:{display:"grid"},children:(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"addRxPlugin"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(RxDBDevModePlugin);"})]})})})})]}),"\n",(0,i.jsx)(s.h2,{id:"usage-with-nodejs",children:"Usage with Node.js"}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"async"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" function"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createDb"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"() {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" if"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"process"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"."}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"env"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"."}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"NODE_ENV"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" !=="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "production"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:") {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'rxdb/plugins/dev-mode'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:")"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".then"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" module "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" addRxPlugin"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"module"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".RxDBDevModePlugin)"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" );"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"( "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"/* ... */"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" );"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"}"})})]})})}),"\n",(0,i.jsx)(s.h2,{id:"usage-with-angular",children:"Usage with Angular"}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { isDevMode } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" '@angular/core'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"async"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" function"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createDb"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"() {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" if"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"isDevMode"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"()){"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'rxdb/plugins/dev-mode'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:")"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".then"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" module "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" addRxPlugin"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"module"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".RxDBDevModePlugin)"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" );"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"( "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"/* ... */"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" );"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // ..."})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"}"})})]})})}),"\n",(0,i.jsx)(s.h2,{id:"usage-with-webpack",children:"Usage with webpack"}),"\n",(0,i.jsxs)(s.p,{children:["In the ",(0,i.jsx)(s.code,{children:"webpack.config.js"}),":"]}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"module"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"."}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"exports"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" entry"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" './src/index.ts'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" /* ... */"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" plugins"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ["})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // set a global variable that can be accessed during runtime"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" new"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" webpack"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".DefinePlugin"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({ MODE"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" JSON"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".stringify"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:'"production"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:") })"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ]"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" /* ... */"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"};"})})]})})}),"\n",(0,i.jsx)(s.p,{children:"In your source code:"}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"declare"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" var"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" MODE"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'production'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" |"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'development'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"async"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" function"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createDb"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"() {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" if"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"MODE"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ==="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'development'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:") {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'rxdb/plugins/dev-mode'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:")"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".then"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" module "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" addRxPlugin"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"module"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".RxDBDevModePlugin)"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" );"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"( "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"/* ... */"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" );"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // ..."})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"}"})})]})})}),"\n",(0,i.jsx)(s.h2,{id:"disable-the-dev-mode-warning",children:"Disable the dev-mode warning"}),"\n",(0,i.jsxs)(s.p,{children:["When the dev-mode is enabled, it will print a ",(0,i.jsx)(s.code,{children:"console.warn()"})," message to the console so that you do not accidentally use the dev-mode in production. To disable this warning you can call the ",(0,i.jsx)(s.code,{children:"disableWarnings()"})," function."]}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { disableWarnings } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/dev-mode'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"disableWarnings"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]})]})})}),"\n",(0,i.jsx)(s.h2,{id:"disable-the-tracking-iframe",children:"Disable the tracking iframe"}),"\n",(0,i.jsxs)(s.p,{children:["When used in localhost and in the browser, the dev-mode plugin can add a tracking iframe to the DOM. This is used to track the effectiveness of marketing efforts of RxDB.\nIf you have ",(0,i.jsx)(s.a,{href:"/premium/",children:"premium access"})," and want to disable this iframe, you can call ",(0,i.jsx)(s.code,{children:"setPremiumFlag()"})," before creating the database."]}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"js","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"js","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { setPremiumFlag } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb-premium/plugins/shared'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"setPremiumFlag"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]})]})})})]})}function p(e={}){const{wrapper:s}={...(0,o.R)(),...e.components};return s?(0,i.jsx)(s,{...e,children:(0,i.jsx)(h,{...e})}):h(e)}},8453(e,s,n){n.d(s,{R:()=>a,x:()=>l});var r=n(6540);const i={},o=r.createContext(i);function a(e){const s=r.useContext(o);return r.useMemo(function(){return"function"==typeof e?e(s):{...s,...e}},[s,e])}function l(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:a(e.components),r.createElement(o.Provider,{value:s},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/ae2c2832.694f423a.js b/docs/assets/js/ae2c2832.694f423a.js
deleted file mode 100644
index 94d7544022a..00000000000
--- a/docs/assets/js/ae2c2832.694f423a.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[3321],{6839(e,a,s){s.r(a),s.d(a,{default:()=>i});var t=s(544),l=s(4848);function i(){return(0,t.default)({sem:{id:"gads",metaTitle:"The local Database for Svelte Apps",appName:"Svelte",title:(0,l.jsxs)(l.Fragment,{children:["The easiest way to ",(0,l.jsx)("b",{children:"store"})," and ",(0,l.jsx)("b",{children:"sync"})," Data in Svelte"]}),iconUrl:"/files/icons/svelte.svg"}})}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/b0889a22.eeabb12f.js b/docs/assets/js/b0889a22.eeabb12f.js
deleted file mode 100644
index f278c620df8..00000000000
--- a/docs/assets/js/b0889a22.eeabb12f.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[1107],{3519(e,n,s){s.r(n),s.d(n,{assets:()=>r,contentTitle:()=>t,default:()=>h,frontMatter:()=>o,metadata:()=>i,toc:()=>c});const i=JSON.parse('{"id":"cleanup","title":"Cleanup","description":"Optimize storage and speed up queries with RxDB\'s Cleanup Plugin, automatically removing old deleted docs while preserving replication states.","source":"@site/docs/cleanup.md","sourceDirName":".","slug":"/cleanup.html","permalink":"/cleanup.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"Cleanup","slug":"cleanup.html","description":"Optimize storage and speed up queries with RxDB\'s Cleanup Plugin, automatically removing old deleted docs while preserving replication states."},"sidebar":"tutorialSidebar","previous":{"title":"Local Documents","permalink":"/rx-local-document.html"},"next":{"title":"Backup","permalink":"/backup.html"}}');var l=s(4848),a=s(8453);const o={title:"Cleanup",slug:"cleanup.html",description:"Optimize storage and speed up queries with RxDB's Cleanup Plugin, automatically removing old deleted docs while preserving replication states."},t="\ud83e\uddf9 Cleanup",r={},c=[{value:"Installation",id:"installation",level:2},{value:"Create a database with cleanup options",id:"create-a-database-with-cleanup-options",level:2},{value:"Calling cleanup manually",id:"calling-cleanup-manually",level:2},{value:"Using the cleanup plugin to empty a collection",id:"using-the-cleanup-plugin-to-empty-a-collection",level:2},{value:"FAQ",id:"faq",level:2}];function d(e){const n={code:"code",figure:"figure",h1:"h1",h2:"h2",header:"header",p:"p",pre:"pre",span:"span",...(0,a.R)(),...e.components},{Details:s}=n;return s||function(e,n){throw new Error("Expected "+(n?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}("Details",!0),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(n.header,{children:(0,l.jsx)(n.h1,{id:"-cleanup",children:"\ud83e\uddf9 Cleanup"})}),"\n",(0,l.jsx)(n.p,{children:"To make the replication work, and for other reasons, RxDB has to keep deleted documents in storage so that it can replicate their deletion state.\nThis ensures that when a client is offline, the deletion state is still known and can be replicated with the backend when the client goes online again."}),"\n",(0,l.jsx)(n.p,{children:"Keeping too many deleted documents in the storage, can slow down queries or fill up too much disc space.\nWith the cleanup plugin, RxDB will run cleanup cycles that clean up deleted documents when it can be done safely."}),"\n",(0,l.jsx)(n.h2,{id:"installation",children:"Installation"}),"\n",(0,l.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,l.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,l.jsxs)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,l.jsxs)(n.span,{"data-line":"",children:[(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" { addRxPlugin } "}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb'"}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,l.jsxs)(n.span,{"data-line":"",children:[(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" { RxDBCleanupPlugin } "}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/cleanup'"}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,l.jsxs)(n.span,{"data-line":"",children:[(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:"addRxPlugin"}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"(RxDBCleanupPlugin);"})]})]})})}),"\n",(0,l.jsx)(n.h2,{id:"create-a-database-with-cleanup-options",children:"Create a database with cleanup options"}),"\n",(0,l.jsxs)(n.p,{children:["You can set a specific cleanup policy when a ",(0,l.jsx)(n.code,{children:"RxDatabase"})," is created. For most use cases, the defaults should be ok."]}),"\n",(0,l.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,l.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,l.jsxs)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,l.jsxs)(n.span,{"data-line":"",children:[(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" { createRxDatabase } "}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb'"}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,l.jsxs)(n.span,{"data-line":"",children:[(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" { getRxStorageLocalstorage } "}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/storage-localstorage'"}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,l.jsxs)(n.span,{"data-line":"",children:[(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,l.jsxs)(n.span,{"data-line":"",children:[(0,l.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'heroesdb'"}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,l.jsxs)(n.span,{"data-line":"",children:[(0,l.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageLocalstorage"}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"()"}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,l.jsxs)(n.span,{"data-line":"",children:[(0,l.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" cleanupPolicy"}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,l.jsx)(n.span,{"data-line":"",children:(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,l.jsx)(n.span,{"data-line":"",children:(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * The minimum time in milliseconds for how long"})}),"\n",(0,l.jsx)(n.span,{"data-line":"",children:(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * a document has to be deleted before it is"})}),"\n",(0,l.jsx)(n.span,{"data-line":"",children:(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * purged by the cleanup."})}),"\n",(0,l.jsx)(n.span,{"data-line":"",children:(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * [default=one month]"})}),"\n",(0,l.jsx)(n.span,{"data-line":"",children:(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,l.jsxs)(n.span,{"data-line":"",children:[(0,l.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" minimumDeletedTime"}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 1000"}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" *"}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 60"}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" *"}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 60"}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" *"}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 24"}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" *"}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 31"}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // one month,"})]}),"\n",(0,l.jsx)(n.span,{"data-line":"",children:(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,l.jsx)(n.span,{"data-line":"",children:(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * The minimum amount of that that the RxCollection must have existed."})}),"\n",(0,l.jsx)(n.span,{"data-line":"",children:(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * This ensures that at the initial page load, more important"})}),"\n",(0,l.jsx)(n.span,{"data-line":"",children:(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * tasks are not slowed down because a cleanup process is running."})}),"\n",(0,l.jsx)(n.span,{"data-line":"",children:(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * [default=60 seconds]"})}),"\n",(0,l.jsx)(n.span,{"data-line":"",children:(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,l.jsxs)(n.span,{"data-line":"",children:[(0,l.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" minimumCollectionAge"}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 1000"}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" *"}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 60"}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // 60 seconds"})]}),"\n",(0,l.jsx)(n.span,{"data-line":"",children:(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,l.jsx)(n.span,{"data-line":"",children:(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * After the initial cleanup is done,"})}),"\n",(0,l.jsx)(n.span,{"data-line":"",children:(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * a new cleanup is started after [runEach] milliseconds "})}),"\n",(0,l.jsx)(n.span,{"data-line":"",children:(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * [default=5 minutes]"})}),"\n",(0,l.jsx)(n.span,{"data-line":"",children:(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,l.jsxs)(n.span,{"data-line":"",children:[(0,l.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" runEach"}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 1000"}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" *"}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 60"}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:" *"}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" 5"}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" // 5 minutes"})]}),"\n",(0,l.jsx)(n.span,{"data-line":"",children:(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,l.jsx)(n.span,{"data-line":"",children:(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * If set to true,"})}),"\n",(0,l.jsx)(n.span,{"data-line":"",children:(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * RxDB will await all running replications"})}),"\n",(0,l.jsx)(n.span,{"data-line":"",children:(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * to not have a replication cycle running."})}),"\n",(0,l.jsx)(n.span,{"data-line":"",children:(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * This ensures we do not remove deleted documents"})}),"\n",(0,l.jsx)(n.span,{"data-line":"",children:(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * when they might not have already been replicated."})}),"\n",(0,l.jsx)(n.span,{"data-line":"",children:(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * [default=true]"})}),"\n",(0,l.jsx)(n.span,{"data-line":"",children:(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,l.jsxs)(n.span,{"data-line":"",children:[(0,l.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" awaitReplicationsInSync"}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" true"}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,l.jsx)(n.span,{"data-line":"",children:(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" /**"})}),"\n",(0,l.jsx)(n.span,{"data-line":"",children:(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * If true, it will only start the cleanup"})}),"\n",(0,l.jsx)(n.span,{"data-line":"",children:(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * when the current instance is also the leader."})}),"\n",(0,l.jsx)(n.span,{"data-line":"",children:(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * This ensures that when RxDB is used in multiInstance mode,"})}),"\n",(0,l.jsx)(n.span,{"data-line":"",children:(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * only one instance will start the cleanup."})}),"\n",(0,l.jsx)(n.span,{"data-line":"",children:(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * [default=true]"})}),"\n",(0,l.jsx)(n.span,{"data-line":"",children:(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,l.jsxs)(n.span,{"data-line":"",children:[(0,l.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" waitForLeadership"}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" true"})]}),"\n",(0,l.jsx)(n.span,{"data-line":"",children:(0,l.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,l.jsx)(n.span,{"data-line":"",children:(0,l.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,l.jsx)(n.h2,{id:"calling-cleanup-manually",children:"Calling cleanup manually"}),"\n",(0,l.jsxs)(n.p,{children:["You can manually run a cleanup per collection by calling ",(0,l.jsx)(n.code,{children:"RxCollection.cleanup()"}),"."]}),"\n",(0,l.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,l.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,l.jsxs)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,l.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,l.jsx)(n.span,{"data-line":"",children:(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"/**"})}),"\n",(0,l.jsx)(n.span,{"data-line":"",children:(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * Manually run the cleanup with the"})}),"\n",(0,l.jsx)(n.span,{"data-line":"",children:(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * minimumDeletedTime from the cleanupPolicy."})}),"\n",(0,l.jsx)(n.span,{"data-line":"",children:(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,l.jsxs)(n.span,{"data-line":"",children:[(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" myRxCollection"}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".cleanup"}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,l.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,l.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,l.jsx)(n.span,{"data-line":"",children:(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"/**"})}),"\n",(0,l.jsx)(n.span,{"data-line":"",children:(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * Overwrite the minimumDeletedTime"})}),"\n",(0,l.jsx)(n.span,{"data-line":"",children:(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * be setting it explicitly (time in milliseconds)"})}),"\n",(0,l.jsx)(n.span,{"data-line":"",children:(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,l.jsxs)(n.span,{"data-line":"",children:[(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" myRxCollection"}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".cleanup"}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"1000"}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,l.jsx)(n.span,{"data-line":"",children:" "}),"\n",(0,l.jsx)(n.span,{"data-line":"",children:(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"/**"})}),"\n",(0,l.jsx)(n.span,{"data-line":"",children:(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * Purge all deleted documents no"})}),"\n",(0,l.jsx)(n.span,{"data-line":"",children:(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * matter when they where deleted"})}),"\n",(0,l.jsx)(n.span,{"data-line":"",children:(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" * by setting minimumDeletedTime to zero."})}),"\n",(0,l.jsx)(n.span,{"data-line":"",children:(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:" */"})}),"\n",(0,l.jsxs)(n.span,{"data-line":"",children:[(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" myRxCollection"}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".cleanup"}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"0"}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:");"})]})]})})}),"\n",(0,l.jsx)(n.h2,{id:"using-the-cleanup-plugin-to-empty-a-collection",children:"Using the cleanup plugin to empty a collection"}),"\n",(0,l.jsxs)(n.p,{children:["When you have a collection with documents and you want to empty it by purging all documents, the recommended way is to call ",(0,l.jsx)(n.code,{children:"myRxCollection.remove()"}),". However, this will destroy the JavaScript class of the collection and stop all listeners and observables.\nSometimes the better option might be to manually delete all documents and then use the cleanup plugin to purge the deleted documents:"]}),"\n",(0,l.jsx)(n.figure,{"data-rehype-pretty-code-figure":"",children:(0,l.jsx)(n.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,l.jsxs)(n.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,l.jsx)(n.span,{"data-line":"",children:(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// delete all documents"})}),"\n",(0,l.jsxs)(n.span,{"data-line":"",children:[(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" myRxCollection"}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".find"}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"()"}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".remove"}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,l.jsx)(n.span,{"data-line":"",children:(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-comment)"},children:"// purge all deleted documents"})}),"\n",(0,l.jsxs)(n.span,{"data-line":"",children:[(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:" myRxCollection"}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-function)"},children:".cleanup"}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-token-constant)"},children:"0"}),(0,l.jsx)(n.span,{style:{color:"var(--shiki-foreground)"},children:");"})]})]})})}),"\n",(0,l.jsx)(n.h2,{id:"faq",children:"FAQ"}),"\n",(0,l.jsxs)(s,{children:[(0,l.jsx)("summary",{children:"When does the cleanup run"}),(0,l.jsx)("div",{children:(0,l.jsxs)(n.p,{children:["The cleanup cycles are optimized to run only when the database is idle and it is unlikely that another database interaction performance will be decreased in the meantime. For example, by default, the cleanup does not run in the first 60 seconds of the creation of a collection to ensure the initial page load of your website does not slow down. Also, we use mechanisms like the ",(0,l.jsx)(n.code,{children:"requestIdleCallback()"})," API to improve the correct timing of the cleanup cycle."]})})]})]})}function h(e={}){const{wrapper:n}={...(0,a.R)(),...e.components};return n?(0,l.jsx)(n,{...e,children:(0,l.jsx)(d,{...e})}):d(e)}},8453(e,n,s){s.d(n,{R:()=>o,x:()=>t});var i=s(6540);const l={},a=i.createContext(l);function o(e){const n=i.useContext(a);return i.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function t(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(l):e.components||l:o(e.components),i.createElement(a.Provider,{value:n},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/b2653a00.0fc762c0.js b/docs/assets/js/b2653a00.0fc762c0.js
deleted file mode 100644
index e5f4ef9b1f6..00000000000
--- a/docs/assets/js/b2653a00.0fc762c0.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[3588],{4968(e,s,n){n.r(s),n.d(s,{assets:()=>l,contentTitle:()=>t,default:()=>h,frontMatter:()=>o,metadata:()=>r,toc:()=>c});const r=JSON.parse('{"id":"articles/vue-database","title":"RxDB as a Database in a Vue.js Application","description":"Level up your Vue projects with RxDB. Build real-time, resilient, and responsive apps powered by a reactive NoSQL database right in the browser.","source":"@site/docs/articles/vue-database.md","sourceDirName":"articles","slug":"/articles/vue-database.html","permalink":"/articles/vue-database.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"RxDB as a Database in a Vue.js Application","slug":"vue-database.html","description":"Level up your Vue projects with RxDB. Build real-time, resilient, and responsive apps powered by a reactive NoSQL database right in the browser."},"sidebar":"tutorialSidebar","previous":{"title":"React Native Encryption and Encrypted Database/Storage","permalink":"/articles/react-native-encryption.html"},"next":{"title":"IndexedDB Database in Vue Apps - The Power of RxDB","permalink":"/articles/vue-indexeddb.html"}}');var i=n(4848),a=n(8453);const o={title:"RxDB as a Database in a Vue.js Application",slug:"vue-database.html",description:"Level up your Vue projects with RxDB. Build real-time, resilient, and responsive apps powered by a reactive NoSQL database right in the browser."},t="RxDB as a Database in a Vue Application",l={},c=[{value:"Why Vue Applications Need a Database",id:"why-vue-applications-need-a-database",level:2},{value:"Introducing RxDB as a Database Solution",id:"introducing-rxdb-as-a-database-solution",level:2},{value:"RxDB vs. Other Vue Database Options",id:"rxdb-vs-other-vue-database-options",level:3},{value:"Getting Started with RxDB",id:"getting-started-with-rxdb",level:2},{value:"Installation",id:"installation",level:3},{value:"Creating and Configuring Your Database",id:"creating-and-configuring-your-database",level:2},{value:"Vue Reactivity and RxDB Observables",id:"vue-reactivity-and-rxdb-observables",level:2},{value:"Different RxStorage Layers for RxDB",id:"different-rxstorage-layers-for-rxdb",level:2},{value:"Synchronizing Data with RxDB between Clients and Servers",id:"synchronizing-data-with-rxdb-between-clients-and-servers",level:2},{value:"Advanced RxDB Features and Techniques",id:"advanced-rxdb-features-and-techniques",level:2},{value:"Offline-First Approach",id:"offline-first-approach",level:3},{value:"Observable Queries and Change Streams",id:"observable-queries-and-change-streams",level:3},{value:"Encryption of Local Data",id:"encryption-of-local-data",level:3},{value:"Indexing and Performance Optimization",id:"indexing-and-performance-optimization",level:3},{value:"JSON Key Compression",id:"json-key-compression",level:3},{value:"Multi-Tab Support",id:"multi-tab-support",level:3},{value:"Best Practices for Using RxDB in Vue",id:"best-practices-for-using-rxdb-in-vue",level:2},{value:"Follow Up",id:"follow-up",level:2}];function d(e){const s={a:"a",code:"code",figure:"figure",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",ol:"ol",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...(0,a.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s.header,{children:(0,i.jsx)(s.h1,{id:"rxdb-as-a-database-in-a-vue-application",children:"RxDB as a Database in a Vue Application"})}),"\n",(0,i.jsxs)(s.p,{children:["In the modern web ecosystem, ",(0,i.jsx)(s.a,{href:"https://vuejs.org/",children:"Vue"})," has become a leading choice for building highly performant, reactive single-page applications (SPAs). However, while Vue excels at managing and updating the user interface, robust and efficient data handling also plays a pivotal role in delivering a great user experience. Enter ",(0,i.jsx)(s.a,{href:"https://rxdb.info/",children:"RxDB"}),", a reactive JavaScript database that runs in the browser (and beyond), offering significant capabilities such as offline-first data handling, real-time synchronization, and straightforward integration with Vue's reactivity system."]}),"\n",(0,i.jsx)(s.p,{children:"This article explores how RxDB works, why it's a perfect match for Vue, and how you can leverage it to build more engaging, performant, and data-resilient Vue applications."}),"\n",(0,i.jsx)("center",{children:(0,i.jsx)("a",{href:"https://rxdb.info/",children:(0,i.jsx)("img",{src:"/files/logo/rxdb_javascript_database.svg",alt:"JavaScript Vue Database",width:"220"})})}),"\n",(0,i.jsx)(s.h2,{id:"why-vue-applications-need-a-database",children:"Why Vue Applications Need a Database"}),"\n",(0,i.jsx)(s.p,{children:"Vue is renowned for its lightweight core and flexible architecture centered around reactive state management and reusable components. However, modern Vue applications often require:"}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Offline Capabilities:"})," Allowing users to continue working even without internet access."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Real-Time Updates:"})," Keeping UI data in sync with changes as they occur, whether locally or from other connected clients."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Improved Performance:"})," Reducing server round trips and leveraging local storage for faster data operations."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Scalable Data Handling:"})," Managing increasingly large datasets or complex queries right in the browser."]}),"\n"]}),"\n",(0,i.jsx)(s.p,{children:"While you can store data in Vuex/Pinia stores or via direct AJAX calls, these solutions may not suffice when your application demands a full-featured offline-first database or complex synchronization with a server. RxDB addresses these needs with a dedicated, reactive, browser-based database that pairs seamlessly with Vue's reactivity system."}),"\n",(0,i.jsx)(s.h2,{id:"introducing-rxdb-as-a-database-solution",children:"Introducing RxDB as a Database Solution"}),"\n",(0,i.jsxs)(s.p,{children:["RxDB - short for Reactive Database - is built on the principle of combining ",(0,i.jsx)(s.a,{href:"/articles/in-memory-nosql-database.html",children:"NoSQL database"})," capabilities with reactive programming. It runs inside your client-side environment (browser, ",(0,i.jsx)(s.a,{href:"/nodejs-database.html",children:"Node.js"}),", or ",(0,i.jsx)(s.a,{href:"/articles/mobile-database.html",children:"mobile devices"}),") and provides:"]}),"\n",(0,i.jsxs)(s.ol,{children:["\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Real-Time Reactivity"}),": Automatically updates subscribed components whenever data changes."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Offline-First Approach"}),": Stores data locally and syncs with the server when online connectivity is restored."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Data Replication"}),": Effortlessly keeps data synchronized across multiple tabs, devices, or server instances."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Multi-Tab Support"}),": Seamlessly propagates changes to all open tabs in the user's ",(0,i.jsx)(s.a,{href:"/articles/browser-database.html",children:"browser"}),"."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Observable Queries"}),": Automatically refresh the result set when documents in your queried collection change."]}),"\n"]}),"\n",(0,i.jsx)(s.h3,{id:"rxdb-vs-other-vue-database-options",children:"RxDB vs. Other Vue Database Options"}),"\n",(0,i.jsx)(s.p,{children:"Compared to traditional approaches - like raw IndexedDB or local storage - RxDB adds a powerful, reactive layer that simplifies your data flow. While tools like Vuex or Pinia are great for state management, they are not fully fledged databases with features like replication, conflict resolution, and offline persistence. RxDB bridges the gap by providing an integrated data handling solution tailor-made for modern, data-intensive Vue applications."}),"\n",(0,i.jsx)(s.h2,{id:"getting-started-with-rxdb",children:"Getting Started with RxDB"}),"\n",(0,i.jsx)(s.p,{children:"Let's break down the essentials for using RxDB within a Vue application."}),"\n",(0,i.jsx)(s.h3,{id:"installation",children:"Installation"}),"\n",(0,i.jsx)(s.p,{children:"You can install RxDB (and RxJS, which it depends on) via npm or yarn:"}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"bash","data-theme":"css-variables",children:(0,i.jsx)(s.code,{"data-language":"bash","data-theme":"css-variables",style:{display:"grid"},children:(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"npm"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string)"},children:" install"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string)"},children:" rxdb"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string)"},children:" rxjs"})]})})})}),"\n",(0,i.jsx)(s.h2,{id:"creating-and-configuring-your-database",children:"Creating and Configuring Your Database"}),"\n",(0,i.jsxs)(s.p,{children:["Within your Vue project, you can set up an RxDB instance in a dedicated file or a Vue plugin. Below is an example using ",(0,i.jsx)(s.a,{href:"/articles/localstorage.html",children:"Localstorage"})," as the storage engine:"]}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// db.js"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { createRxDatabase } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { getRxStorageLocalstorage } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/storage-localstorage'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"export"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" async"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" function"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" initDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"() {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'heroesdb'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageLocalstorage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"()"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" password"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'myPassword'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // optional encryption password"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" multiInstance"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" true"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // multi-tab support"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" eventReduce"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" true"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // optimize event handling"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" });"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".addCollections"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" hero"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" schema"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" title"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'hero schema'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" version"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 0"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" primaryKey"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'id'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'object'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" properties"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" id"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { type"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { type"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" healthpoints"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { type"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'number'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" });"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" db;"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"}"})})]})})}),"\n",(0,i.jsx)(s.p,{children:"After creating the RxDB instance, you can share it across your application (for example, by providing it in a plugin or a global property in Vue)."}),"\n",(0,i.jsx)(s.h2,{id:"vue-reactivity-and-rxdb-observables",children:"Vue Reactivity and RxDB Observables"}),"\n",(0,i.jsxs)(s.p,{children:["RxDB queries return RxJS observables (",(0,i.jsx)(s.code,{children:".$"}),"). Vue can automatically update components when data changes if you manually subscribe and store results in Vue refs/reactive objects, or if you use RxDB's ",(0,i.jsx)(s.a,{href:"/reactivity.html",children:"custom reactivity for Vue"}),"."]}),"\n",(0,i.jsx)(s.p,{children:(0,i.jsx)(s.strong,{children:"Example with Vue 3 Composition API:"})}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"js","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"js","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// HeroList.vue"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"<"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"script"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" setup"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:">"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"import { ref"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" onMounted } from 'vue';"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"import { initDatabase } from '@/db';"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"const heroes = ref([]);"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"let db;"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"onMounted(async () => {"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" db "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" initDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // Subscribe to an RxDB query"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".hero"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" .find"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" selector"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" healthpoints"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { $gt"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 0"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" sort"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" [{ name"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'asc'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }]"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" })"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" .$ "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// the dot-$ is an observable that emits whenever the query results change"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" .subscribe"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"((newHeroes) "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" heroes"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".value "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" newHeroes;"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" });"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:""}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"script"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:">"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"<"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"template"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:">"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" <"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"ul"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:">"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" <"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"li"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" v-for"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:'"hero in heroes"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:' :key="hero.id">'})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {{ hero.name }} - HP: {{ hero.healthpoints }}"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" "})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" "})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:""})})]})})}),"\n",(0,i.jsx)(s.h2,{id:"different-rxstorage-layers-for-rxdb",children:"Different RxStorage Layers for RxDB"}),"\n",(0,i.jsx)(s.p,{children:'RxDB supports multiple storage backends - called "RxStorage layers" - giving you flexibility in how data is persisted:'}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.a,{href:"/rx-storage-localstorage.html",children:"LocalStorage RxStorage"}),": Uses the browsers localstorage API."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.a,{href:"/rx-storage-indexeddb.html",children:"IndexedDB RxStorage"}),": Direct usage of native IndexedDB."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.a,{href:"/rx-storage-opfs.html",children:"OPFS RxStorage"}),": Uses the File System Access API for even faster storage in modern browsers."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.a,{href:"/rx-storage-memory.html",children:"Memory RxStorage"}),": Stores data in memory, ideal for tests or ephemeral data."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.a,{href:"/rx-storage-sqlite.html",children:"SQLite RxStorage"}),": Runs SQLite, which can be compiled to WebAssembly for the browser. While possible, it typically carries a larger bundle size compared to native browser APIs like ",(0,i.jsx)(s.a,{href:"/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm.html",children:"IndexedDB or OPFS"}),"."]}),"\n"]}),"\n",(0,i.jsx)(s.p,{children:"Choose the storage option that best aligns with your Vue application's requirements for performance, persistence, and platform compatibility."}),"\n",(0,i.jsx)(s.h2,{id:"synchronizing-data-with-rxdb-between-clients-and-servers",children:"Synchronizing Data with RxDB between Clients and Servers"}),"\n",(0,i.jsx)(s.p,{children:"RxDB champions an offline-first approach: data is kept locally so that your Vue app remains usable, even without internet. When connectivity is restored, RxDB ensures your local changes synchronize to the server, resolving conflicts as necessary."}),"\n",(0,i.jsx)("p",{align:"center",children:(0,i.jsx)("img",{src:"../files/database-replication.png",alt:"database replication",width:"200"})}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.a,{href:"/articles/realtime-database.html",children:"Real-Time Synchronization"}),": With RxDB's replication plugins, any local change can be instantly pushed to a remote endpoint while pulling down remote changes to ensure consistency."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Conflict Resolution"}),": In multi-user scenarios, conflicts may arise if two clients update the same document simultaneously. RxDB provides hooks to handle and resolve these gracefully."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Scalable Architecture"}),": By reducing reliance on continuous server requests, you can lighten server load and deliver a more responsive user experience."]}),"\n"]}),"\n",(0,i.jsx)(s.h2,{id:"advanced-rxdb-features-and-techniques",children:"Advanced RxDB Features and Techniques"}),"\n",(0,i.jsx)(s.h3,{id:"offline-first-approach",children:"Offline-First Approach"}),"\n",(0,i.jsx)(s.p,{children:"Vue applications can seamlessly function offline by leveraging RxDB's local database storage. The moment the network is restored, all unsynced data is pushed to the server. This capability is particularly beneficial for Progressive Web Apps (PWAs) and scenarios with spotty connectivity."}),"\n",(0,i.jsx)(s.h3,{id:"observable-queries-and-change-streams",children:"Observable Queries and Change Streams"}),"\n",(0,i.jsx)(s.p,{children:"Beyond simply returning data, RxDB queries emit observables that respond to any change in the underlying documents. This real-time approach can drastically simplify state management, since updates flow directly into your Vue components without additional manual wiring."}),"\n",(0,i.jsx)(s.h3,{id:"encryption-of-local-data",children:"Encryption of Local Data"}),"\n",(0,i.jsxs)(s.p,{children:["For applications handling sensitive information, RxDB supports ",(0,i.jsx)(s.a,{href:"/encryption.html",children:"encryption"})," of local data. Your data is stored securely in the browser, protecting it from unauthorized access."]}),"\n",(0,i.jsx)(s.h3,{id:"indexing-and-performance-optimization",children:"Indexing and Performance Optimization"}),"\n",(0,i.jsxs)(s.p,{children:["By ",(0,i.jsx)(s.a,{href:"/rx-schema.html",children:"defining indexes"})," on frequently searched fields, you can speed up queries and reduce overall resource usage. This is crucial for larger datasets where performance might otherwise degrade."]}),"\n",(0,i.jsx)(s.h3,{id:"json-key-compression",children:"JSON Key Compression"}),"\n",(0,i.jsxs)(s.p,{children:["This ",(0,i.jsx)(s.a,{href:"/key-compression.html",children:"optimization"})," shortens field names in stored JSON documents, thereby reducing storage space and potentially improving performance for read/write operations."]}),"\n",(0,i.jsx)(s.h3,{id:"multi-tab-support",children:"Multi-Tab Support"}),"\n",(0,i.jsx)(s.p,{children:"If your users open multiple tabs of your Vue application, RxDB ensures data is synchronized across all instances in real time. Changes made in one tab are immediately reflected in others, creating a unified user experience."}),"\n",(0,i.jsx)("p",{align:"center",children:(0,i.jsx)("img",{src:"../files/multiwindow.gif",alt:"multi tab support",width:"450"})}),"\n",(0,i.jsx)(s.h2,{id:"best-practices-for-using-rxdb-in-vue",children:"Best Practices for Using RxDB in Vue"}),"\n",(0,i.jsx)(s.p,{children:"Here are some recommendations to get the most out of RxDB in your Vue projects:"}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsx)(s.li,{children:"Centralize Database Creation: Initialize and configure RxDB in a dedicated file or plugin, ensuring only one database instance is created."}),"\n",(0,i.jsx)(s.li,{children:"Leverage Vue's Composition API or a Global Store: Use watchers, refs, or a store like Pinia to neatly manage data subscriptions and updates, preventing scattered subscription logic."}),"\n",(0,i.jsx)(s.li,{children:"Async Subscriptions: Prefer using Vue's lifecycle hooks and the Composition API to manage subscriptions. Clean up subscriptions when components unmount or no longer need the data."}),"\n",(0,i.jsx)(s.li,{children:"Optimize Queries and Indexes: Only query the data you need, and define indexes to speed up lookups."}),"\n",(0,i.jsxs)(s.li,{children:["Test ",(0,i.jsx)(s.a,{href:"/offline-first.html",children:"Offline Scenarios"}),": Make sure your offline logic works as expected by simulating network disconnections and reconnections."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.a,{href:"/transactions-conflicts-revisions.html",children:"Plan Conflict Resolution"}),": For multi-user apps, decide how to merge concurrent changes to prevent data inconsistencies."]}),"\n"]}),"\n",(0,i.jsx)(s.h2,{id:"follow-up",children:"Follow Up"}),"\n",(0,i.jsx)(s.p,{children:"To explore more about RxDB and leverage its capabilities for browser database development, check out the following resources:"}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.a,{href:"/code/",children:"RxDB GitHub Repository"}),": Visit the official GitHub repository of RxDB to access the source code, documentation, and community support."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.a,{href:"/quickstart.html",children:"RxDB Quickstart"}),": Get started quickly with RxDB by following the provided quickstart guide, which offers step-by-step instructions for setting up and using RxDB in your projects."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.a,{href:"/reactivity.html",children:"RxDB Reactivity for Vue"}),": Discover how RxDB observables can directly produce Vue refs, simplifying integration with your Vue components."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.a,{href:"https://github.com/pubkey/rxdb/tree/master/examples/vue",children:"RxDB Vue Example at GitHub"}),": Explore an official Vue example to see RxDB in action within a Vue application."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.a,{href:"https://github.com/pubkey/rxdb/tree/master/examples",children:"RxDB Examples"}),": Browse even more official examples to learn best practices you can apply to your own projects."]}),"\n"]})]})}function h(e={}){const{wrapper:s}={...(0,a.R)(),...e.components};return s?(0,i.jsx)(s,{...e,children:(0,i.jsx)(d,{...e})}):d(e)}},8453(e,s,n){n.d(s,{R:()=>o,x:()=>t});var r=n(6540);const i={},a=r.createContext(i);function o(e){const s=r.useContext(a);return r.useMemo(function(){return"function"==typeof e?e(s):{...s,...e}},[s,e])}function t(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:o(e.components),r.createElement(a.Provider,{value:s},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/b30f4f1f.0b7faa87.js b/docs/assets/js/b30f4f1f.0b7faa87.js
deleted file mode 100644
index 5b9d2d5da8a..00000000000
--- a/docs/assets/js/b30f4f1f.0b7faa87.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[3779],{8305(e,s,n){n.r(s),n.d(s,{assets:()=>l,contentTitle:()=>o,default:()=>d,frontMatter:()=>i,metadata:()=>r,toc:()=>c});const r=JSON.parse('{"id":"rx-attachment","title":"Attachments","description":"Learn how to store and manage binary data like images or files in RxDB using attachments. Discover features, performance benefits, encryption, compression, and usage examples with code.","source":"@site/docs/rx-attachment.md","sourceDirName":".","slug":"/rx-attachment.html","permalink":"/rx-attachment.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"Attachments","slug":"rx-attachment.html","description":"Learn how to store and manage binary data like images or files in RxDB using attachments. Discover features, performance benefits, encryption, compression, and usage examples with code."},"sidebar":"tutorialSidebar","previous":{"title":"Storage Migration","permalink":"/migration-storage.html"},"next":{"title":"RxPipelines","permalink":"/rx-pipeline.html"}}');var a=n(4848),t=n(8453);const i={title:"Attachments",slug:"rx-attachment.html",description:"Learn how to store and manage binary data like images or files in RxDB using attachments. Discover features, performance benefits, encryption, compression, and usage examples with code."},o="Attachments",l={},c=[{value:"Add the attachments plugin",id:"add-the-attachments-plugin",level:2},{value:"Enable attachments in the schema",id:"enable-attachments-in-the-schema",level:2},{value:"putAttachment()",id:"putattachment",level:2},{value:"putAttachmentBase64()",id:"putattachmentbase64",level:2},{value:"getAttachment()",id:"getattachment",level:2},{value:"allAttachments()",id:"allattachments",level:2},{value:"allAttachments$",id:"allattachments-1",level:2},{value:"RxAttachment",id:"rxattachment",level:2},{value:"doc",id:"doc",level:3},{value:"id",id:"id",level:3},{value:"type",id:"type",level:3},{value:"length",id:"length",level:3},{value:"digest",id:"digest",level:3},{value:"rev",id:"rev",level:3},{value:"remove()",id:"remove",level:3},{value:"getData()",id:"getdata",level:2},{value:"getDataBase64()",id:"getdatabase64",level:2},{value:"getStringData()",id:"getstringdata",level:2}];function h(e){const s={a:"a",admonition:"admonition",code:"code",figure:"figure",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...(0,t.R)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(s.header,{children:(0,a.jsx)(s.h1,{id:"attachments",children:"Attachments"})}),"\n",(0,a.jsxs)(s.p,{children:["Attachments are binary data files that can be attachment to an ",(0,a.jsx)(s.code,{children:"RxDocument"}),", like a file that is attached to an email."]}),"\n",(0,a.jsxs)(s.p,{children:["Using attachments instead of adding the data to the normal document, ensures that you still have a good ",(0,a.jsx)(s.strong,{children:"performance"})," when querying and writing documents, even when a big amount of data, like an image file has to be stored."]}),"\n",(0,a.jsxs)(s.ul,{children:["\n",(0,a.jsx)(s.li,{children:"You can store string, binary files, images and whatever you want side by side with your documents."}),"\n",(0,a.jsx)(s.li,{children:"Deleted documents automatically loose all their attachments data."}),"\n",(0,a.jsx)(s.li,{children:"Not all replication plugins support the replication of attachments."}),"\n",(0,a.jsxs)(s.li,{children:["Attachments can be stored ",(0,a.jsx)(s.a,{href:"/encryption.html",children:"encrypted"}),"."]}),"\n"]}),"\n",(0,a.jsxs)(s.p,{children:["Internally, attachments in RxDB are stored and handled similar to how ",(0,a.jsx)(s.a,{href:"https://pouchdb.com/guides/attachments.html#how-attachments-are-stored",children:"CouchDB, PouchDB"})," does it."]}),"\n",(0,a.jsx)(s.h2,{id:"add-the-attachments-plugin",children:"Add the attachments plugin"}),"\n",(0,a.jsxs)(s.p,{children:["To enable the attachments, you have to add the ",(0,a.jsx)(s.code,{children:"attachments"})," plugin."]}),"\n",(0,a.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,a.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,a.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { addRxPlugin } "}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { RxDBAttachmentsPlugin } "}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/attachments'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"addRxPlugin"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(RxDBAttachmentsPlugin);"})]})]})})}),"\n",(0,a.jsx)(s.h2,{id:"enable-attachments-in-the-schema",children:"Enable attachments in the schema"}),"\n",(0,a.jsxs)(s.p,{children:["Before you can use attachments, you have to ensure that the attachments-object is set in the schema of your ",(0,a.jsx)(s.code,{children:"RxCollection"}),"."]}),"\n",(0,a.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,a.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"javascript","data-theme":"css-variables",children:(0,a.jsxs)(s.code,{"data-language":"javascript","data-theme":"css-variables",style:{display:"grid"},children:[(0,a.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" mySchema"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" version"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 0"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'object'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" properties"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // ."})}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // ."})}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // ."})}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" attachments"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" encrypted"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" true"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // if true, the attachment-data will be encrypted with the db-password"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"};"})}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" myCollection"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" myDatabase"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".addCollections"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" humans"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" schema"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" mySchema"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,a.jsx)(s.h2,{id:"putattachment",children:"putAttachment()"}),"\n",(0,a.jsxs)(s.p,{children:["Adds an attachment to a ",(0,a.jsx)(s.code,{children:"RxDocument"}),". Returns a Promise with the new attachment."]}),"\n",(0,a.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,a.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"javascript","data-theme":"css-variables",children:(0,a.jsxs)(s.code,{"data-language":"javascript","data-theme":"css-variables",style:{display:"grid"},children:[(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { createBlob } "}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" attachment"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" myDocument"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".putAttachment"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" id"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'cat.txt'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // (string) name of the attachment"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" data"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createBlob"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'meowmeow'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'text/plain'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:")"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // (string|Blob) data of the attachment"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'text/plain'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // (string) type of the attachment-data like 'image/jpeg'"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})})]})})}),"\n",(0,a.jsx)(s.admonition,{type:"warning",children:(0,a.jsxs)(s.p,{children:["Expo/React-Native does not support the ",(0,a.jsx)(s.code,{children:"Blob"})," API natively. Make sure you use your own polyfill that properly supports ",(0,a.jsx)(s.code,{children:"blob.arrayBuffer()"})," when using RxAttachments or use the ",(0,a.jsx)(s.code,{children:"putAttachmentBase64()"})," and ",(0,a.jsx)(s.code,{children:"getDataBase64()"})," so that you do not have to create blobs."]})}),"\n",(0,a.jsx)(s.h2,{id:"putattachmentbase64",children:"putAttachmentBase64()"}),"\n",(0,a.jsxs)(s.p,{children:["Same as ",(0,a.jsx)(s.code,{children:"putAttachment()"})," but accepts a plain base64 string instead of a ",(0,a.jsx)(s.code,{children:"Blob"}),"."]}),"\n",(0,a.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,a.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,a.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" attachment"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" doc"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".putAttachmentBase64"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" id"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'cat.txt'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" length"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 4"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" data"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'bWVvdw=='"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'text/plain'"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,a.jsx)(s.h2,{id:"getattachment",children:"getAttachment()"}),"\n",(0,a.jsxs)(s.p,{children:["Returns an ",(0,a.jsx)(s.code,{children:"RxAttachment"})," by its id. Returns ",(0,a.jsx)(s.code,{children:"null"})," when the attachment does not exist."]}),"\n",(0,a.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,a.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"javascript","data-theme":"css-variables",children:(0,a.jsx)(s.code,{"data-language":"javascript","data-theme":"css-variables",style:{display:"grid"},children:(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" attachment"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" myDocument"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".getAttachment"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'cat.jpg'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})]})})})}),"\n",(0,a.jsx)(s.h2,{id:"allattachments",children:"allAttachments()"}),"\n",(0,a.jsxs)(s.p,{children:["Returns an array of all attachments of the ",(0,a.jsx)(s.code,{children:"RxDocument"}),"."]}),"\n",(0,a.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,a.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"javascript","data-theme":"css-variables",children:(0,a.jsx)(s.code,{"data-language":"javascript","data-theme":"css-variables",style:{display:"grid"},children:(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" attachments"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" myDocument"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".allAttachments"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]})})})}),"\n",(0,a.jsx)(s.h2,{id:"allattachments-1",children:"allAttachments$"}),"\n",(0,a.jsx)(s.p,{children:"Gets an Observable which emits a stream of all attachments from the document. Re-emits each time an attachment gets added or removed from the RxDocument."}),"\n",(0,a.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,a.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"javascript","data-theme":"css-variables",children:(0,a.jsxs)(s.code,{"data-language":"javascript","data-theme":"css-variables",style:{display:"grid"},children:[(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" all"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" [];"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"myDocument"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"allAttachments$"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".subscribe"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" attachments "}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" all "}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" attachments"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})})]})})}),"\n",(0,a.jsx)(s.h2,{id:"rxattachment",children:"RxAttachment"}),"\n",(0,a.jsxs)(s.p,{children:["The attachments of RxDB are represented by the type ",(0,a.jsx)(s.code,{children:"RxAttachment"})," which has the following attributes/methods."]}),"\n",(0,a.jsx)(s.h3,{id:"doc",children:"doc"}),"\n",(0,a.jsxs)(s.p,{children:["The ",(0,a.jsx)(s.code,{children:"RxDocument"})," which the attachment is assigned to."]}),"\n",(0,a.jsx)(s.h3,{id:"id",children:"id"}),"\n",(0,a.jsxs)(s.p,{children:["The id as ",(0,a.jsx)(s.code,{children:"string"})," of the attachment."]}),"\n",(0,a.jsx)(s.h3,{id:"type",children:"type"}),"\n",(0,a.jsxs)(s.p,{children:["The type as ",(0,a.jsx)(s.code,{children:"string"})," of the attachment."]}),"\n",(0,a.jsx)(s.h3,{id:"length",children:"length"}),"\n",(0,a.jsxs)(s.p,{children:["The length of the data of the attachment as ",(0,a.jsx)(s.code,{children:"number"}),"."]}),"\n",(0,a.jsx)(s.h3,{id:"digest",children:"digest"}),"\n",(0,a.jsxs)(s.p,{children:["The hash of the attachments data as ",(0,a.jsx)(s.code,{children:"string"}),"."]}),"\n",(0,a.jsx)(s.admonition,{type:"note",children:(0,a.jsx)(s.p,{children:"The digest is NOT calculated by RxDB, instead it is calculated by the RxStorage. The only guarantee is that the digest will change when the attachments data changes."})}),"\n",(0,a.jsx)(s.h3,{id:"rev",children:"rev"}),"\n",(0,a.jsxs)(s.p,{children:["The revision-number of the attachment as ",(0,a.jsx)(s.code,{children:"number"}),"."]}),"\n",(0,a.jsx)(s.h3,{id:"remove",children:"remove()"}),"\n",(0,a.jsx)(s.p,{children:"Removes the attachment. Returns a Promise that resolves when done."}),"\n",(0,a.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,a.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"javascript","data-theme":"css-variables",children:(0,a.jsxs)(s.code,{"data-language":"javascript","data-theme":"css-variables",style:{display:"grid"},children:[(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" attachment"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" myDocument"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".getAttachment"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'cat.jpg'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" attachment"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".remove"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]})]})})}),"\n",(0,a.jsx)(s.h2,{id:"getdata",children:"getData()"}),"\n",(0,a.jsxs)(s.p,{children:["Returns a Promise which resolves the attachment's data as ",(0,a.jsx)(s.code,{children:"Blob"}),". (async)"]}),"\n",(0,a.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,a.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"javascript","data-theme":"css-variables",children:(0,a.jsxs)(s.code,{"data-language":"javascript","data-theme":"css-variables",style:{display:"grid"},children:[(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" attachment"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" myDocument"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".getAttachment"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'cat.jpg'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" blob"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" attachment"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".getData"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(); "}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// Blob"})]})]})})}),"\n",(0,a.jsx)(s.h2,{id:"getdatabase64",children:"getDataBase64()"}),"\n",(0,a.jsxs)(s.p,{children:["Returns a Promise which resolves the attachment's data as ",(0,a.jsx)(s.strong,{children:"base64"})," ",(0,a.jsx)(s.code,{children:"string"}),"."]}),"\n",(0,a.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,a.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"javascript","data-theme":"css-variables",children:(0,a.jsxs)(s.code,{"data-language":"javascript","data-theme":"css-variables",style:{display:"grid"},children:[(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" attachment"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" myDocument"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".getAttachment"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'cat.jpg'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" base64Database"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" attachment"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".getDataBase64"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(); "}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// 'bWVvdw=='"})]})]})})}),"\n",(0,a.jsx)(s.h2,{id:"getstringdata",children:"getStringData()"}),"\n",(0,a.jsxs)(s.p,{children:["Returns a Promise which resolves the attachment's data as ",(0,a.jsx)(s.code,{children:"string"}),"."]}),"\n",(0,a.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,a.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"javascript","data-theme":"css-variables",children:(0,a.jsxs)(s.code,{"data-language":"javascript","data-theme":"css-variables",style:{display:"grid"},children:[(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" attachment"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" myDocument"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".getAttachment"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'cat.jpg'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" data"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" attachment"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".getStringData"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(); "}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// 'meow'"})]})]})})}),"\n",(0,a.jsx)(s.h1,{id:"attachment-compression",children:"Attachment compression"}),"\n",(0,a.jsxs)(s.p,{children:["Storing many attachments can be a problem when the disc space of the device is exceeded.\nTherefore it can make sense to compress the attachments before storing them in the ",(0,a.jsx)(s.a,{href:"/rx-storage.html",children:"RxStorage"}),".\nWith the ",(0,a.jsx)(s.code,{children:"attachments-compression"})," plugin you can compress the attachments data on write and decompress it on reads.\nThis happens internally and will now change on how you use the api. The compression is run with the ",(0,a.jsx)(s.a,{href:"https://developer.mozilla.org/en-US/docs/Web/API/Compression_Streams_API",children:"Compression Streams API"})," which is only supported on ",(0,a.jsx)(s.a,{href:"https://caniuse.com/?search=compressionstream",children:"newer browsers"}),"."]}),"\n",(0,a.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,a.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,a.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" wrappedAttachmentsCompressionStorage"})}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/attachments-compression'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { getRxStorageIndexedDB } "}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb-premium/plugins/storage-indexeddb'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// create a wrapped storage with attachment-compression."})}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" storageWithAttachmentsCompression"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" wrappedAttachmentsCompressionStorage"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageIndexedDB"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"()"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'mydatabase'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storageWithAttachmentsCompression"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// set the compression mode at the schema level"})}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" mySchema"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" version"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 0"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'object'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" properties"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // ."})}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // ."})}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // ."})}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" attachments"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" compression"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'deflate'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // <- Specify the compression mode here. OneOf ['deflate', 'gzip']"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"};"})}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"/* ... create your collections as usual and store attachments in them. */"})}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:" "})]})})})]})}function d(e={}){const{wrapper:s}={...(0,t.R)(),...e.components};return s?(0,a.jsx)(s,{...e,children:(0,a.jsx)(h,{...e})}):h(e)}},8453(e,s,n){n.d(s,{R:()=>i,x:()=>o});var r=n(6540);const a={},t=r.createContext(a);function i(e){const s=r.useContext(t);return r.useMemo(function(){return"function"==typeof e?e(s):{...s,...e}},[s,e])}function o(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:i(e.components),r.createElement(t.Provider,{value:s},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/b672caf7.019a15fb.js b/docs/assets/js/b672caf7.019a15fb.js
deleted file mode 100644
index e41351756eb..00000000000
--- a/docs/assets/js/b672caf7.019a15fb.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[813],{8453(e,s,n){n.d(s,{R:()=>a,x:()=>l});var r=n(6540);const i={},o=r.createContext(i);function a(e){const s=r.useContext(o);return r.useMemo(function(){return"function"==typeof e?e(s):{...s,...e}},[s,e])}function l(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:a(e.components),r.createElement(o.Provider,{value:s},e.children)}},9264(e,s,n){n.r(s),n.d(s,{assets:()=>t,contentTitle:()=>l,default:()=>h,frontMatter:()=>a,metadata:()=>r,toc:()=>c});const r=JSON.parse('{"id":"articles/javascript-vector-database","title":"Local JavaScript Vector Database that works offline","description":"Create a blazing-fast vector database in JavaScript. Leverage RxDB and transformers.js for instant, offline semantic search - no servers required!","source":"@site/docs/articles/javascript-vector-database.md","sourceDirName":"articles","slug":"/articles/javascript-vector-database.html","permalink":"/articles/javascript-vector-database.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"Local JavaScript Vector Database that works offline","slug":"javascript-vector-database.html","description":"Create a blazing-fast vector database in JavaScript. Leverage RxDB and transformers.js for instant, offline semantic search - no servers required!"},"sidebar":"tutorialSidebar","previous":{"title":"Fulltext Search \ud83d\udc51","permalink":"/fulltext-search.html"},"next":{"title":"Query Optimizer \ud83d\udc51","permalink":"/query-optimizer.html"}}');var i=n(4848),o=n(8453);const a={title:"Local JavaScript Vector Database that works offline",slug:"javascript-vector-database.html",description:"Create a blazing-fast vector database in JavaScript. Leverage RxDB and transformers.js for instant, offline semantic search - no servers required!"},l="Local Vector Database with RxDB and transformers.js in JavaScript",t={},c=[{value:"What is a Vector Database?",id:"what-is-a-vector-database",level:2},{value:"Generating Embeddings Locally in a Browser",id:"generating-embeddings-locally-in-a-browser",level:2},{value:"Storing the Embeddings in RxDB",id:"storing-the-embeddings-in-rxdb",level:2},{value:"Comparing Vectors by calculating the distance",id:"comparing-vectors-by-calculating-the-distance",level:2},{value:"Searching the Vector database with a full table scan",id:"searching-the-vector-database-with-a-full-table-scan",level:2},{value:"Indexing the Embeddings for Better Performance",id:"indexing-the-embeddings-for-better-performance",level:2},{value:"Vector Indexing Methods",id:"vector-indexing-methods",level:3},{value:"Storing indexed embeddings in RxDB",id:"storing-indexed-embeddings-in-rxdb",level:3},{value:"Searching the Vector database with utilization of the indexes",id:"searching-the-vector-database-with-utilization-of-the-indexes",level:2},{value:"Performance benchmarks",id:"performance-benchmarks",level:2},{value:"Performance of the Query Methods",id:"performance-of-the-query-methods",level:3},{value:"Performance of the Models",id:"performance-of-the-models",level:3},{value:"Potential Performance Optimizations",id:"potential-performance-optimizations",level:2},{value:"Migrating Data on Model/Index Changes",id:"migrating-data-on-modelindex-changes",level:2},{value:"Possible Future Improvements to Local-First Vector Databases",id:"possible-future-improvements-to-local-first-vector-databases",level:2},{value:"Follow Up",id:"follow-up",level:2}];function d(e){const s={a:"a",admonition:"admonition",blockquote:"blockquote",code:"code",figure:"figure",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",ol:"ol",p:"p",pre:"pre",span:"span",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...(0,o.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s.header,{children:(0,i.jsx)(s.h1,{id:"local-vector-database-with-rxdb-and-transformersjs-in-javascript",children:"Local Vector Database with RxDB and transformers.js in JavaScript"})}),"\n",(0,i.jsxs)(s.p,{children:["The ",(0,i.jsx)(s.a,{href:"/offline-first.html",children:"local-first"})," revolution is here, changing the way we build apps! Imagine a world where your app's data lives right on the user's device, always available, even when there's no internet. That's the magic of local-first apps. Not only do they bring faster performance and limitless scalability, but they also empower users to work offline without missing a beat. And leading the charge in this space are local database solutions, like ",(0,i.jsx)(s.a,{href:"https://rxdb.info/",children:"RxDB"}),"."]}),"\n",(0,i.jsx)("center",{children:(0,i.jsx)("a",{href:"https://rxdb.info/",children:(0,i.jsx)("img",{src:"../files/logo/rxdb_javascript_database.svg",alt:"JavaScript Database",width:"220"})})}),"\n",(0,i.jsxs)(s.p,{children:["But here's where things get even more exciting: when building ",(0,i.jsx)(s.a,{href:"/articles/local-first-future.html",children:"local-first"})," apps, traditional databases often fall short. They're great at searching for exact matches, like ",(0,i.jsx)(s.code,{children:"numbers"})," or ",(0,i.jsx)(s.code,{children:"strings"}),", but what if you want to search by ",(0,i.jsx)(s.strong,{children:"meaning"}),", like sifting through emails to find a specific topic? Sure, you could use ",(0,i.jsx)(s.strong,{children:"RegExp"}),", but to truly unlock the power of semantic search and similarity-based queries, you need something more cutting-edge. Something that really understands the content of the data."]}),"\n",(0,i.jsxs)(s.p,{children:["Enter ",(0,i.jsx)(s.strong,{children:"vector databases"}),", the game-changers for searching data by meaning! They have unlocked these new possibilities for storing and querying data, especially in tasks requiring ",(0,i.jsx)(s.strong,{children:"semantic search"})," and ",(0,i.jsx)(s.strong,{children:"similarity-based"})," queries. With the help of a ",(0,i.jsx)(s.strong,{children:"machine learning model"}),", data is transformed into a vector representation that can be stored, queried and compared in a database."]}),"\n",(0,i.jsxs)(s.p,{children:["But unfortunately, most vector databases are designed for server-side use, typically running in large cloud clusters, not to run on a users device. To fix that, in this article, we will combine ",(0,i.jsx)(s.strong,{children:"RxDB"})," and ",(0,i.jsx)(s.strong,{children:"transformers.js"})," to create a local vector database running in the ",(0,i.jsx)(s.strong,{children:"browser"})," with ",(0,i.jsx)(s.strong,{children:"JavaScript"}),". It stores data in ",(0,i.jsx)(s.strong,{children:"IndexedDB"}),", and uses a machine learning model with ",(0,i.jsx)(s.strong,{children:"WebAssembly"})," locally, without the need for external servers."]}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:["\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.a,{href:"https://github.com/xenova/transformers.js",children:"transformers.js"})," is a powerful framework that allows machine learning models to run directly within JavaScript using WebAssembly or WebGPU."]}),"\n"]}),"\n",(0,i.jsxs)(s.li,{children:["\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.a,{href:"https://rxdb.info/",children:"RxDB"})," is a NoSQL, local-first database with a flexible storage layer that can run on any JavaScript runtime, including browsers and mobile environments. (You are reading this article on the RxDB docs)."]}),"\n"]}),"\n"]}),"\n",(0,i.jsx)(s.p,{children:"A local vector database offers several key benefits:"}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Zero network latency"}),": Data is processed locally on the user's device, ensuring near-instant responses."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Offline functionality"}),": Data can be queried even without an internet connection."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Enhanced privacy"}),": Sensitive information remains on the device, never needing to leave for external processing."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Simple setup"}),": No backend servers are required, making deployment straightforward."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Cost savings"}),": By running everything locally, you avoid fees for API access or cloud services for large language models."]}),"\n"]}),"\n",(0,i.jsx)(s.admonition,{type:"note",children:(0,i.jsxs)(s.p,{children:["In this article only the important source code parts are shown. You can find the full open-source vector database implementation at the ",(0,i.jsx)(s.a,{href:"https://github.com/pubkey/javascript-vector-database",children:"github repository"}),"."]})}),"\n",(0,i.jsx)(s.h2,{id:"what-is-a-vector-database",children:"What is a Vector Database?"}),"\n",(0,i.jsxs)(s.p,{children:["A vector database is a specialized database optimized for storing and querying data in the form of ",(0,i.jsx)(s.strong,{children:"high-dimensional"})," vectors, often referred to as ",(0,i.jsx)(s.strong,{children:"embeddings"}),". These embeddings are numerical representations of data, such as text, images, or audio, created by machine learning models like ",(0,i.jsx)(s.a,{href:"https://huggingface.co/Xenova/all-MiniLM-L6-v2",children:"MiniLM"}),". Unlike traditional databases that work with exact matches on predefined fields, vector databases focus on ",(0,i.jsx)(s.strong,{children:"semantic similarity"}),", allowing you to query data based on meaning rather than exact values."]}),"\n",(0,i.jsxs)(s.blockquote,{children:["\n",(0,i.jsxs)(s.p,{children:["A vector, or embedding, is essentially an array of numbers, like ",(0,i.jsx)(s.code,{children:"[0.56, 0.12, -0.34, -0.90]"}),"."]}),"\n"]}),"\n",(0,i.jsx)(s.p,{children:'For example, instead of asking "Which document has the word \'database\'?", you can query "Which documents discuss similar topics to this one?" The vector database compares embeddings and returns results based on how similar the vectors are to each other.'}),"\n",(0,i.jsxs)(s.p,{children:["Vector databases handle multiple types of data beyond ",(0,i.jsx)(s.strong,{children:"text"}),", including ",(0,i.jsx)(s.strong,{children:"images"}),", ",(0,i.jsx)(s.strong,{children:"videos"}),", and ",(0,i.jsx)(s.strong,{children:"audio"})," files, all transformed into embeddings for efficient querying. Mostly you would not train a model by yourself and instead use one of the public available ",(0,i.jsx)(s.a,{href:"https://huggingface.co/models?pipeline_tag=feature-extraction&library=transformers.js",children:"transformer models"}),"."]}),"\n",(0,i.jsx)(s.p,{children:"Vector databases are highly effective in various types of applications:"}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Similarity Search"}),": Finds the closest matches to a query, even when the query doesn't contain the exact terms."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Clustering"}),": Groups similar items based on the proximity of their vector representations."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Recommendations"}),": Suggests items based on shared characteristics."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Anomaly Detection"}),": Identifies outliers that differ from the norm."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Classification"}),": Assigns categories to data based on its vector's nearest neighbors."]}),"\n"]}),"\n",(0,i.jsxs)(s.p,{children:["In this tutorial, we will build a vector database designed as a ",(0,i.jsx)(s.strong,{children:"Similarity Search"})," for ",(0,i.jsx)(s.strong,{children:"text"}),". For other use cases, the setup can be adapted accordingly. This flexibility is why ",(0,i.jsx)(s.a,{href:"https://rxdb.info/",children:"RxDB"})," doesn't provide a dedicated vector-database plugin, but rather offers utility functions to help you build your own vector search system."]}),"\n",(0,i.jsx)("center",{children:(0,i.jsx)("img",{src:"../files/icons/transformers.js.svg",alt:"transformers.js",width:"40"})}),"\n",(0,i.jsx)(s.h2,{id:"generating-embeddings-locally-in-a-browser",children:"Generating Embeddings Locally in a Browser"}),"\n",(0,i.jsxs)(s.p,{children:["For the first step to build a local-first vector database we need to compute embeddings directly on the user's device. This is where ",(0,i.jsx)(s.a,{href:"https://github.com/xenova/transformers.js",children:"transformers.js"})," from ",(0,i.jsx)(s.a,{href:"https://huggingface.co/docs/transformers.js/index",children:"huggingface"})," comes in, allowing us to run machine learning models in the browser with ",(0,i.jsx)(s.strong,{children:"WebAssembly"}),". Below is an implementation of a ",(0,i.jsx)(s.code,{children:"getEmbeddingFromText()"})," function, which takes a piece of text and transforms it into an embedding using the ",(0,i.jsx)(s.a,{href:"https://huggingface.co/Xenova/all-MiniLM-L6-v2",children:"Xenova/all-MiniLM-L6-v2"})," model:"]}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"js","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"js","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { pipeline } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "@xenova/transformers"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" pipePromise"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" pipeline"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'feature-extraction'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'Xenova/all-MiniLM-L6-v2'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"async"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" function"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getEmbeddingFromText"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(text) {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" pipe"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" pipePromise;"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" output"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" pipe"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(text"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" pooling"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "mean"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" normalize"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" true"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" });"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" Array"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"output"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".data);"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"}"})})]})})}),"\n",(0,i.jsx)(s.p,{children:"This function creates an embedding by running the text through a pre-trained model and returning it in the form of an array of numbers, which can then be stored and further processed locally."}),"\n",(0,i.jsx)(s.admonition,{type:"note",children:(0,i.jsx)(s.p,{children:"Vector embeddings from different machine learning models or versions are not compatible with each other. When you change your model, you have to recreate all embeddings for your data."})}),"\n",(0,i.jsx)(s.h2,{id:"storing-the-embeddings-in-rxdb",children:"Storing the Embeddings in RxDB"}),"\n",(0,i.jsxs)(s.p,{children:["To store the embeddings, first we have to create our ",(0,i.jsx)(s.a,{href:"/rx-database.html",children:"RxDB Database"})," with the ",(0,i.jsx)(s.a,{href:"/rx-storage-localstorage.html",children:"localstorage storage"})," that stores data in the browsers ",(0,i.jsx)(s.a,{href:"/articles/localstorage.html",children:"localstorage"}),". For more advanced projects, you can use any other ",(0,i.jsx)(s.a,{href:"/rx-storage.html",children:"RxStorage"}),"."]}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { createRxDatabase } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { getRxStorageLocalstorage } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/storage-localstorage'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'mydatabase'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageLocalstorage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"()"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,i.jsxs)(s.p,{children:["Then we add a ",(0,i.jsx)(s.code,{children:"items"})," collection that stores our documents with the ",(0,i.jsx)(s.code,{children:"text"})," field that stores the content."]}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".addCollections"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" items"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" schema"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" version"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 0"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" primaryKey"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'id'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'object'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" properties"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" id"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" maxLength"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 20"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" text"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" required"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ["}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'id'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'text'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"]"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" itemsCollection"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".items;"})]})]})})}),"\n",(0,i.jsxs)(s.p,{children:["In our ",(0,i.jsx)(s.a,{href:"https://github.com/pubkey/javascript-vector-database",children:"example repo"}),", we use the ",(0,i.jsx)(s.a,{href:"https://huggingface.co/datasets/Supabase/wikipedia-en-embeddings",children:"Wiki Embeddings"})," dataset from supabase which was transformed and used to fill up the ",(0,i.jsx)(s.code,{children:"items"})," collection with test data."]}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" imported"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" itemsCollection"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".count"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"()"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".exec"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" response"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" fetch"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'./files/items.json'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" items"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" response"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".json"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" insertResult"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" itemsCollection"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".bulkInsert"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" items"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})})]})})}),"\n",(0,i.jsxs)(s.p,{children:["Also we need a ",(0,i.jsx)(s.code,{children:"vector"})," collection that stores our embeddings.\nRxDB, as a NoSQL database, allows for the storage of flexible data structures, such as embeddings, within documents. To achieve this, we need to define a ",(0,i.jsx)(s.a,{href:"/rx-schema.html",children:"schema"})," that specifies how the embeddings will be stored alongside each document. The schema includes fields for an ",(0,i.jsx)(s.code,{children:"id"})," and the ",(0,i.jsx)(s.code,{children:"embedding"})," array itself."]}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".addCollections"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" vector"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" schema"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" version"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 0"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" primaryKey"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'id'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'object'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" properties"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" id"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" maxLength"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 20"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" embedding"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'array'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" items"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" required"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ["}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'id'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'embedding'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"]"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" vectorCollection"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".vector;"})]})]})})}),"\n",(0,i.jsx)(s.p,{children:"When storing documents in the database, we need to ensure that the embeddings for these documents are generated and stored automatically. This requires a handler that runs during every document write, calling the machine learning model to generate the embeddings and storing them in a separate vector collection."}),"\n",(0,i.jsxs)(s.p,{children:["Since our app runs in a browser, it's essential to avoid duplicate work when ",(0,i.jsx)(s.strong,{children:"multiple browser tabs"})," are open and ensure efficient use of resources. Furthermore, we want the app to resume processing documents from where it left off if it's closed or interrupted. To achieve this, RxDB provides a ",(0,i.jsx)(s.a,{href:"/rx-pipeline.html",children:"pipeline plugin"}),", which allows us to set up a workflow that processes items and stores their embeddings. In our example, a pipeline takes batches of 10 documents, generates embeddings, and stores them in a separate vector collection."]}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" pipeline"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" itemsCollection"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".addPipeline"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" identifier"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'my-embeddings-pipeline'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" destination"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" vectorCollection"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" batchSize"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 10"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" handler"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" async"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" (docs) "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" Promise"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".all"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"docs"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".map"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"async"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(doc) "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" embedding"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getVectorFromText"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"doc"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".text);"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" vectorCollection"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".upsert"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" id"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" doc"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".primary"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" embedding"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" });"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }));"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,i.jsxs)(s.p,{children:["However, processing data locally presents performance challenges. Running the handler with a batch size of 10 takes around ",(0,i.jsx)(s.strong,{children:"2-4 seconds per batch"}),", meaning processing 10k documents would take up to an hour. To improve performance, we can do parallel processing using ",(0,i.jsx)(s.a,{href:"https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Using_web_workers",children:"WebWorkers"}),". A WebWorker runs on a different JavaScript process and we can start and run many of them in parallel."]}),"\n",(0,i.jsx)(s.p,{children:"Our worker listens for messages and performance the embedding generation on each request. It then sends the result embedding back to the main thread."}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// worker.js"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { getVectorFromText } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" './vector.js'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"onmessage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" async"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" (e) "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" embedding"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getVectorFromText"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"e"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"."}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"data"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".text);"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" postMessage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" id"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" e"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"."}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"data"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".id"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" embedding"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" });"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"};"})})]})})}),"\n",(0,i.jsx)(s.p,{children:"On the main thread we spawn one worker per core and send the tasks to the worker instead of processing them on the main thread."}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// create one WebWorker per core"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" workers"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" new"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" Array"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"navigator"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".hardwareConcurrency)"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" .fill"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"0"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:")"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" .map"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(() "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" new"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" Worker"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"new"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" URL"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:'"worker.js"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"."}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"meta"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".url)));"})]})]})})}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"let"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" lastWorkerId "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 0"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"let"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" lastId "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 0"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"export"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" async"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" function"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getVectorFromTextWithWorker"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(text"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" string"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:")"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" Promise"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"<"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"number"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"[]> {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" let"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" worker "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" workers[lastWorkerId"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"++"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"];"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" if"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"!"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"worker) {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" lastWorkerId "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 0"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" worker "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" workers[lastWorkerId"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"++"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"];"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" id"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" (lastId"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"++"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:") "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"+"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" ''"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" new"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" Promise"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"<"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"number"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"[]>(res "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" listener"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" (ev"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" any"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:") "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" if"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"ev"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"."}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"data"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".id "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"==="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" id) {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" res"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"ev"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"."}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"data"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".embedding);"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" worker"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".removeEventListener"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'message'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" listener);"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" };"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" worker"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".addEventListener"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'message'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" listener);"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" worker"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".postMessage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" id"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" text"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" });"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" });"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"}"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" pipeline"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" itemsCollection"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".addPipeline"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" identifier"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'my-embeddings-pipeline'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" destination"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" vectorCollection"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" batchSize"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" navigator"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".hardwareConcurrency"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // one per CPU core"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" handler"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" async"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" (docs) "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" Promise"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".all"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"docs"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".map"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"async"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" (doc"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" i) "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" embedding"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getVectorFromTextWithWorker"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"doc"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".body);"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" /* ... */"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" });"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,i.jsxs)(s.p,{children:["This setup allows us to utilize the full hardware capacity of the client's machine. By setting the batch size to match the number of logical processors available (using the ",(0,i.jsx)(s.a,{href:"https://developer.mozilla.org/en-US/docs/Web/API/Navigator/hardwareConcurrency",children:"navigator.hardwareConcurrency"})," API) and running one worker per processor, we can reduce the processing time for 10k embeddings to ",(0,i.jsx)(s.strong,{children:"about 5 minutes"})," on my developer laptop with 32 CPU cores."]}),"\n",(0,i.jsx)(s.h2,{id:"comparing-vectors-by-calculating-the-distance",children:"Comparing Vectors by calculating the distance"}),"\n",(0,i.jsxs)(s.p,{children:["Now that we have stored our embeddings in the database, the next step is to compare these vectors to each other. Various methods are available to measure the similarity or difference between two vectors, such as ",(0,i.jsx)(s.a,{href:"https://en.wikipedia.org/wiki/Euclidean_distance",children:"Euclidean distance"}),", ",(0,i.jsx)(s.a,{href:"https://www.singlestore.com/blog/distance-metrics-in-machine-learning-simplfied/",children:"Manhattan distance"}),", ",(0,i.jsx)(s.a,{href:"https://tomhazledine.com/cosine-similarity/",children:"Cosine similarity"}),", and ",(0,i.jsx)(s.strong,{children:"Jaccard similarity"})," (and more). RxDB provides utility functions for each of these methods, making it easy to choose the most suitable method for your application. In this tutorial, we will use ",(0,i.jsx)(s.strong,{children:"Euclidean distance"})," to compare vectors. However, the ideal algorithm may vary depending on your data's distribution and the specific type of query you are performing. To find the optimal method for your app, it is up to you to try out all of these and compare the results."]}),"\n",(0,i.jsx)(s.p,{children:"Each method gets two vectors as input and returns a single number. Here's how to calculate the Euclidean distance between two embeddings with the vector utilities from RxDB:"}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { euclideanDistance } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/vector'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" distance"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" euclideanDistance"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(embedding1"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" embedding2);"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"console"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".log"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(distance); "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// 25.20443"})]})]})})}),"\n",(0,i.jsx)(s.p,{children:"With this we can sort multiple embeddings by how good they match our search query vector."}),"\n",(0,i.jsx)(s.h2,{id:"searching-the-vector-database-with-a-full-table-scan",children:"Searching the Vector database with a full table scan"}),"\n",(0,i.jsx)(s.p,{children:"To find out if our embeddings have been stored correctly and that our vector comparison works as should, let's run a basic query to ensure everything functions as expected. In this query, we aim to find documents similar to a given user input text. The process involves calculating the embedding from the input text, fetching all documents, calculating the distance between their embeddings and the query embedding, and then sorting them based on their similarity."}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { euclideanDistance } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/vector'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { sortByObjectNumberProperty } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/core'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" userInput"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'new york people'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" queryVector"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getEmbeddingFromText"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(userInput);"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" candidates"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" vectorCollection"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".find"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"()"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".exec"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" withDistance"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" candidates"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".map"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(doc "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ({ "})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" doc"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" distance"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" euclideanDistance"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(queryVector"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" doc"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".embedding)"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"}));"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" queryResult"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" withDistance"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".sort"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"sortByObjectNumberProperty"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'distance'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"))"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".reverse"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"console"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".dir"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(queryResult);"})]})]})})}),"\n",(0,i.jsx)(s.admonition,{type:"note",children:(0,i.jsxs)(s.p,{children:["For ",(0,i.jsx)(s.strong,{children:"distance"}),"-based comparisons, sorting should be in ascending order (smallest first), while for ",(0,i.jsx)(s.strong,{children:"similarity"}),"-based algorithms, the sorting should be in descending order (largest first)."]})}),"\n",(0,i.jsx)(s.p,{children:"If we inspect the results, we can see that the documents returned are ordered by relevance, with the most similar document at the top:"}),"\n",(0,i.jsx)("center",{children:(0,i.jsx)("img",{src:"../files/vector-database-result.png",alt:"Vector Database Result"})}),"\n",(0,i.jsx)(s.admonition,{type:"note",children:(0,i.jsxs)(s.p,{children:["This demo page can be ",(0,i.jsx)(s.a,{href:"https://pubkey.github.io/javascript-vector-database/",children:"run online here"}),"."]})}),"\n",(0,i.jsxs)(s.p,{children:["However our full-scan method presents a significant challenge: it does not scale well. As the number of stored documents increases, the time taken to fetch and compare embeddings grows proportionally. For example, retrieving embeddings from our ",(0,i.jsx)(s.a,{href:"https://huggingface.co/datasets/Supabase/wikipedia-en-embeddings",children:"test dataset"})," of 10k documents takes around ",(0,i.jsx)(s.strong,{children:"700 milliseconds"}),". If we scale up to 100k documents, this delay would rise to approximately ",(0,i.jsx)(s.strong,{children:"7 seconds"}),", making the search process inefficient for larger datasets."]}),"\n",(0,i.jsx)(s.h2,{id:"indexing-the-embeddings-for-better-performance",children:"Indexing the Embeddings for Better Performance"}),"\n",(0,i.jsxs)(s.p,{children:["To address the scalability issue, we need to store embeddings in a way that allows us to avoid fetching all of them from storage during a query. In traditional databases, you can sort documents by an ",(0,i.jsx)(s.strong,{children:"index field"}),", allowing efficient queries that retrieve only the necessary documents. An index organizes data in a structured, sortable manner, much ",(0,i.jsx)(s.strong,{children:"like a phone book"}),". However, with vector embeddings we are not dealing with simple, single values. Instead, we have large ",(0,i.jsx)(s.strong,{children:"lists of numbers"}),", which makes indexing more complex because we have more than one dimension."]}),"\n",(0,i.jsx)(s.h3,{id:"vector-indexing-methods",children:"Vector Indexing Methods"}),"\n",(0,i.jsx)(s.p,{children:"Various methods exist for indexing these vectors to improve query efficiency and performance:"}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.a,{href:"https://www.youtube.com/watch?v=Arni-zkqMBA",children:"Locality Sensitive Hashing (LSH)"}),": LSH hashes data so that similar items are likely to fall into the same bucket, optimizing approximate nearest neighbor searches in high-dimensional spaces by reducing the number of comparisons."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.a,{href:"https://www.youtube.com/watch?v=77QH0Y2PYKg",children:"Hierarchical Small World"}),": HSW is a graph structure designed for efficient navigation, allowing quick jumps across the graph while maintaining short paths between nodes, forming the basis for HNSW's optimization."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.a,{href:"https://www.youtube.com/watch?v=77QH0Y2PYKg",children:"Hierarchical Navigable Small Worlds (HNSW)"}),": HNSW builds a hierarchical graph for fast approximate nearest neighbor search. It uses multiple layers where higher layers represent fewer, more connected nodes, improving search efficiency in large datasets\u200b."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Distance to samples"}),": While testing different indexing strategies, ",(0,i.jsx)(s.a,{href:"https://github.com/pubkey",children:"I"})," found out that using the distance to a sample set of items is a good way to index embeddings. You pick like 5 random items of your data and get the embeddings for them out of the model. These are your 5 index vectors. For each embedding stored in the vector database, we calculate the distance to our 5 index vectors and store that ",(0,i.jsx)(s.code,{children:"number"}),' as an index value. This seems to work good because similar things have similar distances to other things. For example the words "shoe" and "socks" have a similar distance to "boat" and therefore should have roughly the same index value.']}),"\n"]}),"\n",(0,i.jsxs)(s.p,{children:["When building ",(0,i.jsx)(s.strong,{children:"local-first"})," applications, performance is often a challenge, especially in JavaScript. With ",(0,i.jsx)(s.strong,{children:"IndexedDB"}),", certain operations, like many sequential ",(0,i.jsx)(s.code,{children:"get by id"})," calls, ",(0,i.jsx)(s.a,{href:"/slow-indexeddb.html",children:"are slow"}),", while bulk operations, such as ",(0,i.jsx)(s.code,{children:"get by index range"}),", are fast. Therefore, it's essential to use an indexing method that allows embeddings to be stored in a sortable way, like ",(0,i.jsx)(s.strong,{children:"Locality Sensitive Hashing"})," or ",(0,i.jsx)(s.strong,{children:"Distance to Samples"}),". In this article, we'll use ",(0,i.jsx)(s.strong,{children:"Distance to Samples"}),", because for ",(0,i.jsx)(s.a,{href:"https://github.com/pubkey",children:"me"})," it provides the best default behavior for the sample dataset."]}),"\n",(0,i.jsx)(s.h3,{id:"storing-indexed-embeddings-in-rxdb",children:"Storing indexed embeddings in RxDB"}),"\n",(0,i.jsxs)(s.p,{children:["The optimal way to store index values alongside embeddings in RxDB is to place them within the same ",(0,i.jsx)(s.a,{href:"/rx-collection.html",children:"RxCollection"}),". To ensure that the index values are both sortable and precise, we convert them into strings with a fixed length of ",(0,i.jsx)(s.code,{children:"10"})," characters. This standardization helps in managing values with many decimals and ensures proper sorting in the database."]}),"\n",(0,i.jsx)(s.p,{children:"Here's is our schema example schema where each document contains an embedding and corresponding index fields:"}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" indexSchema"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" maxLength"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 10"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"};"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" schema"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "version"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 0"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "primaryKey"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "id"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "type"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "object"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "properties"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "id"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "type"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "string"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "maxLength"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 100"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "embedding"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "type"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "array"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "items"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "type"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "number"'})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // index fields"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "idx0"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" indexSchema"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "idx1"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" indexSchema"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "idx2"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" indexSchema"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "idx3"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" indexSchema"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "idx4"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" indexSchema"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "required"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ["})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "id"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "embedding"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "idx0"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "idx1"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "idx2"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "idx3"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "idx4"'})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ]"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "indexes"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ["})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "idx0"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "idx1"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "idx2"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "idx3"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "idx4"'})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ]"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"}"})})]})})}),"\n",(0,i.jsxs)(s.p,{children:["To populate these index fields, we modify the ",(0,i.jsx)(s.a,{href:"/rx-pipeline.html",children:"RxPipeline"})," handler accordingly to the ",(0,i.jsx)(s.strong,{children:"Distance to samples"})," method. We calculate the distance between the document's embedding and our set of ",(0,i.jsx)(s.code,{children:"5"})," index vectors. The calculated distances are converted to ",(0,i.jsx)(s.code,{children:"string"})," and stored in the appropriate index fields:"]}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { euclideanDistance } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/vector'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" sampleVectors"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" number"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"[][] "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ["}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"/* the index vectors */"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"];"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" pipeline"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" itemsCollection"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".addPipeline"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" handler"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" async"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" (docs) "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" Promise"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".all"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"docs"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".map"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"async"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(doc) "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" embedding"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getEmbedding"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"doc"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".text);"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" docData"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { id"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" doc"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".primary"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" embedding };"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // calculate the distance to all samples and store them in the index fields"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" new"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" Array"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"5"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:")"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".fill"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"0"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:")"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".map"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"((_"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" idx) "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" indexValue"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" euclideanDistance"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(sampleVectors[idx]"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" embedding);"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" docData["}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'idx'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" +"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" idx] "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" indexNrToString"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(indexValue);"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" });"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" vectorCollection"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".upsert"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(docData);"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }));"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,i.jsx)(s.h2,{id:"searching-the-vector-database-with-utilization-of-the-indexes",children:"Searching the Vector database with utilization of the indexes"}),"\n",(0,i.jsxs)(s.p,{children:["Once our embeddings are stored in an indexed format, we can perform searches much ",(0,i.jsx)(s.strong,{children:"more efficiently"})," than through a full table scan. While this indexing method boosts performance, it comes with a tradeoff: a slight loss in precision, meaning that the result set may not always be the optimal one. However, this is generally acceptable for ",(0,i.jsx)(s.strong,{children:"similarity search"})," use cases."]}),"\n",(0,i.jsx)(s.p,{children:"There are multiple ways to leverage indexes for faster queries. Here are two effective methods:"}),"\n",(0,i.jsxs)(s.ol,{children:["\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Query for Index Similarity in Both Directions"}),": For each index vector, calculate the distance to the search embedding and fetch all relevant embeddings in both directions (sorted before and after) from that value."]}),"\n"]}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"async"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" function"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" vectorSearchIndexSimilarity"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(searchEmbedding"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" number"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"[]) {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" docsPerIndexSide"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 100"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" candidates"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" new"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" Set"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"<"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"RxDocument"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:">();"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" Promise"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".all"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" new"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" Array"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"5"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:")"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".fill"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"0"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:")"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".map"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"async"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" (_"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" i) "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" distanceToIndex"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" euclideanDistance"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(sampleVectors[i]"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" searchEmbedding);"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ["}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"docsBefore"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" docsAfter"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"] "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" Promise"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".all"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(["})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" vectorCollection"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".find"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" selector"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ["}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'idx'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" +"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" i]"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" $lt"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" indexNrToString"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(distanceToIndex)"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" sort"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" [{ ["}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'idx'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" +"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" i]"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'desc'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }]"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" limit"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" docsPerIndexSide"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" })"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".exec"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"()"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" vectorCollection"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".find"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" selector"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ["}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'idx'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" +"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" i]"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" $gt"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" indexNrToString"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(distanceToIndex)"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" sort"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" [{ ["}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'idx'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" +"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" i]"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'asc'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }]"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" limit"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" docsPerIndexSide"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" })"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".exec"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"()"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ]);"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" docsBefore"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".map"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(d "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" candidates"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".add"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(d));"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" docsAfter"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".map"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(d "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" candidates"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".add"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(d));"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" })"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" );"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" docsWithDistance"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" Array"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(candidates)"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".map"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(doc "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" distance"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" euclideanDistance"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"((doc "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"as"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" any"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:").embedding"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" searchEmbedding);"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" distance"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" doc"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" };"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" });"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" sorted"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" docsWithDistance"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".sort"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"sortByObjectNumberProperty"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'distance'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"))"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".reverse"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" result"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" sorted"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".slice"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"0"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 10"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:")"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" docReads"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" };"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"}"})})]})})}),"\n",(0,i.jsxs)(s.ol,{start:"2",children:["\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Query for an Index Range with a Defined Distance"}),": Set an ",(0,i.jsx)(s.code,{children:"indexDistance"})," and retrieve all embeddings within a specified range from the index vector to the search embedding."]}),"\n"]}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"async"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" function"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" vectorSearchIndexRange"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(searchEmbedding"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" number"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"[]) {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" pipeline"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".awaitIdle"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" indexDistance"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 0.003"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" candidates"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" new"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" Set"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"<"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"RxDocument"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:">();"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" let"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" docReads "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 0"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" Promise"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".all"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" new"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" Array"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"5"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:")"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".fill"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"0"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:")"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".map"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"async"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" (_"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" i) "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" distanceToIndex"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" euclideanDistance"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(sampleVectors[i]"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" searchEmbedding);"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" range"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" distanceToIndex "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"*"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" indexDistance;"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" docs"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" vectorCollection"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".find"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" selector"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ["}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'idx'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" +"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" i]"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" $gt"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" indexNrToString"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(distanceToIndex "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"-"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" range)"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" $lt"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" indexNrToString"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(distanceToIndex "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"+"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" range)"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" sort"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" [{ ["}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'idx'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" +"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" i]"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'asc'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }]"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" })"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".exec"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" docs"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".map"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(d "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" candidates"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".add"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(d));"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" docReads "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" docReads "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"+"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" docs"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"."}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"length"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" })"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" );"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" docsWithDistance"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" Array"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(candidates)"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".map"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(doc "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" distance"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" euclideanDistance"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"((doc "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"as"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" any"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:").embedding"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" searchEmbedding);"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" distance"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" doc"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" };"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" });"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" sorted"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" docsWithDistance"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".sort"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"sortByObjectNumberProperty"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'distance'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"))"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".reverse"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" result"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" sorted"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".slice"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"0"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 10"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:")"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" docReads"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" };"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"};"})})]})})}),"\n",(0,i.jsxs)(s.p,{children:["Both methods allow you to limit the number of embeddings fetched from storage while still ensuring a reasonably precise search result. However, they differ in how many embeddings are read and how precise the results are, with trade-offs between performance and accuracy. The first method has a known embedding read amount of ",(0,i.jsx)(s.code,{children:"docsPerIndexSide * 2 * [amount of indexes]"}),". The second method reads out an unknown amount of embeddings, depending on the sparsity of the dataset and the value of ",(0,i.jsx)(s.code,{children:"indexDistance"}),"."]}),"\n",(0,i.jsx)(s.p,{children:"And that's it for the implementation. We now have a local first vector database that is able to store and query vector data."}),"\n",(0,i.jsx)(s.h2,{id:"performance-benchmarks",children:"Performance benchmarks"}),"\n",(0,i.jsxs)(s.p,{children:["In server-side databases, performance can be improved by scaling hardware or adding more servers. However, ",(0,i.jsx)(s.a,{href:"/offline-first.html",children:"local-first"})," apps face the unique challenge that the hardware is determined by the end user, making performance unpredictable. Some users may have ",(0,i.jsx)(s.strong,{children:"high-end gaming PCs"}),", while others might be using ",(0,i.jsx)(s.strong,{children:"outdated smartphones in power-saving mode"}),". Therefore, when building a local-first app that processes more than a few documents, performance becomes a critical factor and should be thoroughly tested upfront."]}),"\n",(0,i.jsxs)(s.p,{children:["Let's run performance benchmarks on my ",(0,i.jsx)(s.strong,{children:"high-end gaming PC"})," to give you a sense of how long different operations take and what's achievable."]}),"\n",(0,i.jsx)(s.h3,{id:"performance-of-the-query-methods",children:"Performance of the Query Methods"}),"\n",(0,i.jsxs)(s.table,{children:[(0,i.jsx)(s.thead,{children:(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.th,{children:"Query Method"}),(0,i.jsx)(s.th,{children:"Time in milliseconds"}),(0,i.jsx)(s.th,{children:"Docs read from storage"})]})}),(0,i.jsxs)(s.tbody,{children:[(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:"Full Scan"}),(0,i.jsx)(s.td,{children:"765"}),(0,i.jsx)(s.td,{children:"10000"})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:"Index Similarity"}),(0,i.jsx)(s.td,{children:"1647"}),(0,i.jsx)(s.td,{children:"934"})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:"Index Range"}),(0,i.jsx)(s.td,{children:"88"}),(0,i.jsx)(s.td,{children:"2187"})]})]})]}),"\n",(0,i.jsxs)(s.p,{children:["As shown, the ",(0,i.jsx)(s.strong,{children:"index similarity"})," query method takes significantly longer compared to others. This is due to the need for descending sort orders in some queries ",(0,i.jsx)(s.code,{children:"sort: [{ ['idx' + i]: 'desc' }]"}),". While RxDB supports descending sorts, performance suffers because IndexedDB does not efficiently handle ",(0,i.jsx)(s.a,{href:"https://github.com/w3c/IndexedDB/issues/130",children:"reverse indexed bulk operations"}),". As a result, the ",(0,i.jsx)(s.strong,{children:"index range method"})," performs much better for this use case and should be used instead. With its query time of only ",(0,i.jsx)(s.code,{children:"88"})," milliseconds it is fast enough for all most things and likely such fast that you do not even need to show a loading spinner. Also it is faster compared to fetching the query result from a server-side vector database over the internet."]}),"\n",(0,i.jsx)(s.h3,{id:"performance-of-the-models",children:"Performance of the Models"}),"\n",(0,i.jsxs)(s.p,{children:["Let's also look at the time taken to calculate a single embedding across various models from the ",(0,i.jsx)(s.a,{href:"https://huggingface.co/models?pipeline_tag=feature-extraction&library=transformers.js",children:"huggingface transformers list"}),":"]}),"\n",(0,i.jsxs)(s.table,{children:[(0,i.jsx)(s.thead,{children:(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.th,{children:"Model Name"}),(0,i.jsx)(s.th,{children:"Time per Embedding in (ms)"}),(0,i.jsx)(s.th,{children:"Vector Size"}),(0,i.jsx)(s.th,{children:"Model Size (MB)"})]})}),(0,i.jsxs)(s.tbody,{children:[(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:"Xenova/all-MiniLM-L6-v2"}),(0,i.jsx)(s.td,{children:"173"}),(0,i.jsx)(s.td,{children:"384"}),(0,i.jsx)(s.td,{children:"23"})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:"Supabase/gte-small"}),(0,i.jsx)(s.td,{children:"341"}),(0,i.jsx)(s.td,{children:"384"}),(0,i.jsx)(s.td,{children:"34"})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:"Xenova/paraphrase-multilingual-mpnet-base-v2"}),(0,i.jsx)(s.td,{children:"1000"}),(0,i.jsx)(s.td,{children:"768"}),(0,i.jsx)(s.td,{children:"279"})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:"jinaai/jina-embeddings-v2-base-de"}),(0,i.jsx)(s.td,{children:"1291"}),(0,i.jsx)(s.td,{children:"768"}),(0,i.jsx)(s.td,{children:"162"})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:"jinaai/jina-embeddings-v2-base-zh"}),(0,i.jsx)(s.td,{children:"1437"}),(0,i.jsx)(s.td,{children:"768"}),(0,i.jsx)(s.td,{children:"162"})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:"jinaai/jina-embeddings-v2-base-code"}),(0,i.jsx)(s.td,{children:"1769"}),(0,i.jsx)(s.td,{children:"768"}),(0,i.jsx)(s.td,{children:"162"})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:"mixedbread-ai/mxbai-embed-large-v1"}),(0,i.jsx)(s.td,{children:"3359"}),(0,i.jsx)(s.td,{children:"1024"}),(0,i.jsx)(s.td,{children:"337"})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:"WhereIsAI/UAE-Large-V1"}),(0,i.jsx)(s.td,{children:"3499"}),(0,i.jsx)(s.td,{children:"1024"}),(0,i.jsx)(s.td,{children:"337"})]}),(0,i.jsxs)(s.tr,{children:[(0,i.jsx)(s.td,{children:"Xenova/multilingual-e5-large"}),(0,i.jsx)(s.td,{children:"4215"}),(0,i.jsx)(s.td,{children:"1024"}),(0,i.jsx)(s.td,{children:"562"})]})]})]}),"\n",(0,i.jsxs)(s.p,{children:["From these benchmarks, it's evident that models with larger vector outputs ",(0,i.jsx)(s.strong,{children:"take longer to process"}),". Additionally, the model size significantly affects performance, with larger models requiring more time to compute embeddings. This trade-off between model complexity and performance must be considered when choosing the right model for your use case."]}),"\n",(0,i.jsx)(s.h2,{id:"potential-performance-optimizations",children:"Potential Performance Optimizations"}),"\n",(0,i.jsx)(s.p,{children:"There are multiple other techniques to improve the performance of your local vector database:"}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:["\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.strong,{children:"Shorten embeddings"}),': The storing and retrieval of embeddings can be improved by "shortening" the embedding. To do that, you just strip away numbers from your vector. For example ',(0,i.jsx)(s.code,{children:"[0.56, 0.12, -0.34, 0.78, -0.90]"})," becomes ",(0,i.jsx)(s.code,{children:"[0.56, 0.12]"}),'. That\'s it, you now have a smaller embedding that is faster to read out of the storage and calculating distances is faster because it has to process less numbers. The downside is that you loose precision in your search results. Sometimes shortening the embeddings makes more sense as a pre-query step where you first compare the shortened vectors and later fetch the "real" vectors for the 10 most matching documents to improve their sort order.']}),"\n"]}),"\n",(0,i.jsxs)(s.li,{children:["\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.strong,{children:"Optimize the variables in our Setup"}),": In this examples we picked our variables in a non-optimal way. You can get huge performance improvements by setting different values:"]}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsx)(s.li,{children:"We picked 5 indexes for the embeddings. Using less indexes improves your query performance with the cost of less good results."}),"\n",(0,i.jsxs)(s.li,{children:["For queries that search by fetching a specific embedding distance we used the ",(0,i.jsx)(s.code,{children:"indexDistance"})," value of ",(0,i.jsx)(s.code,{children:"0.003"}),". Using a lower value means we read less document from the storage. This is faster but reduces the precision of the results which means we will get a less optimal result compared to a full table scan."]}),"\n",(0,i.jsxs)(s.li,{children:["For queries that search by fetching a given amount of documents per index side, we set the value ",(0,i.jsx)(s.code,{children:"docsPerIndexSide"})," to ",(0,i.jsx)(s.code,{children:"100"}),". Increasing this value means you fetch more data from the storage but also get a better precision in the search results. Decreasing it can improve query performance with worse precision."]}),"\n"]}),"\n"]}),"\n",(0,i.jsxs)(s.li,{children:["\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.strong,{children:"Use faster models"}),": There are many ways to improve performance of machine learning models. If your embedding calculation is too slow, try other models. ",(0,i.jsx)(s.strong,{children:"Smaller"})," mostly means ",(0,i.jsx)(s.strong,{children:"faster"}),". The model ",(0,i.jsx)(s.code,{children:"Xenova/all-MiniLM-L6-v2"})," which is used in this tutorial is about ",(0,i.jsx)(s.a,{href:"https://huggingface.co/Xenova/all-MiniLM-L6-v2/tree/main",children:"1 year old"}),". There exist better, more modern models to use. Huggingface makes these convenient to use. You only have to switch out the model name with any other model from ",(0,i.jsx)(s.a,{href:"https://huggingface.co/models?pipeline_tag=feature-extraction&library=transformers.js",children:"that site"}),"."]}),"\n"]}),"\n",(0,i.jsxs)(s.li,{children:["\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.strong,{children:"Narrow down the search space"}),': By utilizing other "normal" filter operators to your query, you can narrow down the search space and optimize performance. For example in an email search you could additionally use a operator that limits the results to all emails that are not older than one year.']}),"\n"]}),"\n",(0,i.jsxs)(s.li,{children:["\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.strong,{children:"Dimensionality Reduction"})," with an ",(0,i.jsx)(s.a,{href:"https://www.youtube.com/watch?v=D16rii8Azuw",children:"autoencoder"}),": An autoencoder encodes vector data with minimal loss which can improve the performance by having to store and compare less numbers in an embedding."]}),"\n"]}),"\n",(0,i.jsxs)(s.li,{children:["\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.strong,{children:"Different RxDB Plugins"}),": RxDB has different storages and plugins that can improve the performance like the ",(0,i.jsx)(s.a,{href:"/rx-storage-indexeddb.html",children:"IndexedDB RxStorage"}),", the ",(0,i.jsx)(s.a,{href:"/rx-storage-opfs.html",children:"OPFS RxStorage"}),", the ",(0,i.jsx)(s.a,{href:"/rx-storage-sharding.html",children:"sharding"})," plugin and the ",(0,i.jsx)(s.a,{href:"/rx-storage-worker.html",children:"Worker"})," and ",(0,i.jsx)(s.a,{href:"/rx-storage-shared-worker.html",children:"SharedWorker"})," storages."]}),"\n"]}),"\n"]}),"\n",(0,i.jsx)("center",{children:(0,i.jsx)("a",{href:"https://rxdb.info/",children:(0,i.jsx)("img",{src:"../files/logo/rxdb_javascript_database.svg",alt:"JavaScript Database",width:"220"})})}),"\n",(0,i.jsx)(s.h2,{id:"migrating-data-on-modelindex-changes",children:"Migrating Data on Model/Index Changes"}),"\n",(0,i.jsxs)(s.p,{children:["When you change the index parameter or even update the whole model which was used to create the embeddings, you have to migrate the data that is already stored on your users devices. RxDB offers the ",(0,i.jsx)(s.a,{href:"/migration-schema.html",children:"Schema Migration Plugin"})," for that."]}),"\n",(0,i.jsxs)(s.p,{children:["When the app is reloaded and the updated source code is started, RxDB detects changes in your ",(0,i.jsx)(s.a,{href:"/rx-schema.html#version",children:"schema version"})," and runs the ",(0,i.jsx)(s.a,{href:"/migration-schema.html#providing-strategies",children:"migration strategy"})," accordingly. So to update the stored data, increase the schema version and define a handler:"]}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" schemaV1"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "version"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 1"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // <- increase schema version by 1"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "primaryKey"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "id"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "properties"'}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" /* ... */"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" /* ... */"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"};"})})]})})}),"\n",(0,i.jsx)(s.p,{children:"In the migration handler we recreate the new embeddings and index values."}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" myDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".addCollections"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" vectors"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" schema"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" schemaV1"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" migrationStrategies"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 1"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" function"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(docData){"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" embedding"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getEmbedding"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"docData"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".body);"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" new"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" Array"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"5"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:")"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".fill"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"0"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:")"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".map"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"((_"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" idx) "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" docData["}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'idx'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" +"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" idx] "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" euclideanDistance"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(mySampleVectors[idx]"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" embedding);"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" });"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" docData;"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,i.jsx)(s.h2,{id:"possible-future-improvements-to-local-first-vector-databases",children:"Possible Future Improvements to Local-First Vector Databases"}),"\n",(0,i.jsx)(s.p,{children:"For now our vector database works and we are good to go. However there are some things to consider for the future:"}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"WebGPU"})," is ",(0,i.jsx)(s.a,{href:"https://caniuse.com/webgpu",children:"not fully supported"})," yet. When this changes, creating embeddings in the browser have the potential to become faster. You can check if your current chrome supports WebGPU by opening ",(0,i.jsx)(s.code,{children:"chrome://gpu/"}),". Notice that WebGPU has been reported to sometimes be ",(0,i.jsx)(s.a,{href:"https://github.com/xenova/transformers.js/issues/894#issuecomment-2323897485",children:"even slower"})," compared to WASM but likely it will be faster in the long term."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Cross-Modal AI Models"}),": While progress is being made, AI models that can understand and integrate multiple modalities are still in development. For example you could query for an ",(0,i.jsx)(s.strong,{children:"image"})," together with a ",(0,i.jsx)(s.strong,{children:"text"})," prompt to get a more detailed output."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Multi-Step queries"}),": In this article we only talked about having a single query as input and an ordered list of outputs. But there is big potential in chaining models or queries together where you take the results of one query and input them into a different model with different embeddings or outputs."]}),"\n"]}),"\n",(0,i.jsx)(s.h2,{id:"follow-up",children:"Follow Up"}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:["Shared/Like my ",(0,i.jsx)(s.a,{href:"https://x.com/rxdbjs/status/1833429569434427494",children:"announcement tweet"})]}),"\n",(0,i.jsxs)(s.li,{children:["Read the source code that belongs to this article ",(0,i.jsx)(s.a,{href:"https://github.com/pubkey/javascript-vector-database",children:"at github"})]}),"\n",(0,i.jsxs)(s.li,{children:["Learn how to use RxDB with the ",(0,i.jsx)(s.a,{href:"/quickstart.html",children:"RxDB Quickstart"})]}),"\n",(0,i.jsxs)(s.li,{children:["Check out the ",(0,i.jsx)(s.a,{href:"https://github.com/pubkey/rxdb",children:"RxDB github repo"})," and leave a star \u2b50"]}),"\n"]})]})}function h(e={}){const{wrapper:s}={...(0,o.R)(),...e.components};return s?(0,i.jsx)(s,{...e,children:(0,i.jsx)(d,{...e})}):d(e)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/b8c49ce4.3962d1bb.js b/docs/assets/js/b8c49ce4.3962d1bb.js
deleted file mode 100644
index a0677b3c4a7..00000000000
--- a/docs/assets/js/b8c49ce4.3962d1bb.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[6355],{4971(e,n,t){t.r(n),t.d(n,{assets:()=>l,contentTitle:()=>a,default:()=>d,frontMatter:()=>o,metadata:()=>i,toc:()=>h});const i=JSON.parse('{"id":"releases/13.0.0","title":"RxDB 13.0.0 - A New Era of Replication","description":"Discover RxDB 13.0\'s brand-new replication protocol, faster performance, and real-time collaboration for a seamless offline-first experience.","source":"@site/docs/releases/13.0.0.md","sourceDirName":"releases","slug":"/releases/13.0.0.html","permalink":"/releases/13.0.0.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"RxDB 13.0.0 - A New Era of Replication","slug":"13.0.0.html","description":"Discover RxDB 13.0\'s brand-new replication protocol, faster performance, and real-time collaboration for a seamless offline-first experience."},"sidebar":"tutorialSidebar","previous":{"title":"14.0.0","permalink":"/releases/14.0.0.html"},"next":{"title":"12.0.0","permalink":"/releases/12.0.0.html"}}');var s=t(4848),r=t(8453);const o={title:"RxDB 13.0.0 - A New Era of Replication",slug:"13.0.0.html",description:"Discover RxDB 13.0's brand-new replication protocol, faster performance, and real-time collaboration for a seamless offline-first experience."},a="13.0.0",l={},h=[{value:"Other breaking changes",id:"other-breaking-changes",level:2},{value:"Other non breaking or internal changes",id:"other-non-breaking-or-internal-changes",level:2},{value:"New Features",id:"new-features",level:2},{value:"Migration to the new version",id:"migration-to-the-new-version",level:2}];function c(e){const n={a:"a",code:"code",em:"em",h1:"h1",h2:"h2",header:"header",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,r.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.header,{children:(0,s.jsx)(n.h1,{id:"1300",children:"13.0.0"})}),"\n",(0,s.jsxs)(n.p,{children:["So in the last major RxDB versions, the focus was set to ",(0,s.jsx)(n.strong,{children:"improvements of the storage engine"}),". This is done. RxDB has now ",(0,s.jsx)(n.a,{href:"/rx-storage.html",children:"multiple RxStorage implementations"}),", a better query planner and an improved test suite to ensure everything works correct.\nThis let to huge improvements in write and query performance and decreased the initial pageload of RxDB based applications."]}),"\n",(0,s.jsxs)(n.p,{children:["In the new major version ",(0,s.jsx)(n.code,{children:"13.0.0"}),", the focus was set to improvements to the ",(0,s.jsx)(n.strong,{children:"replication protocol"}),".\nWhen I first implemented the GraphQL replication a few years ago, I had a specific use case in mind and designed the whole protocol and replication plugins around that use case."]}),"\n",(0,s.jsx)(n.p,{children:"But the time has shown, that the old replication protocol is a big downside of RxDB:"}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:["The replication relied on the backend to solve all ",(0,s.jsx)(n.strong,{children:"conflicts"}),". This was easy to implement into RxDB because the whole \tresponsibility was given away to the person that has to implement a compatible backend."]}),"\n",(0,s.jsxs)(n.li,{children:["In each point in time, the replication did either push or pull documents, but ",(0,s.jsx)(n.strong,{children:"never in parallel"}),". This slows done the whole replication process and makes RxDB not usable for the implementation of features like ",(0,s.jsx)(n.strong,{children:"multi-user-real-time-collaboration"})," or when many read- and write operations have to happen in a short timespan."]}),"\n",(0,s.jsxs)(n.li,{children:["After each ",(0,s.jsx)(n.code,{children:"push"}),", a ",(0,s.jsx)(n.code,{children:"pull"})," had to be run to check if the backend had changed the state to solve a conflict."]}),"\n",(0,s.jsx)(n.li,{children:"The replication protocol did not support attachments and was not designed to ever support them."}),"\n"]}),"\n",(0,s.jsxs)(n.p,{children:["So in version ",(0,s.jsx)(n.code,{children:"13.0.0"})," I replaced the whole replication plugins with a new replication protocol. The main goals have been:"]}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsx)(n.li,{children:"Push- and Pull in parallel."}),"\n",(0,s.jsx)(n.li,{children:"Use the data in the changestream (optional) to decrease replication latency."}),"\n",(0,s.jsxs)(n.li,{children:["Implement the conflict resolution into RxDB so that the ",(0,s.jsx)(n.strong,{children:"client resolves its own conflicts"})," and does not rely on the backend."]}),"\n",(0,s.jsxs)(n.li,{children:["Decrease the complexity for a compatible backend implementation. The new protocol relies on a ",(0,s.jsx)(n.em,{children:"dumb"})," backend. This will open compatibility with many other use cases like implementing ",(0,s.jsx)(n.a,{href:"https://github.com/supabase/supabase/discussions/357",children:"Offline-First in Supabase"})," or using CouchDB but having a faster replication compared to the native CouchDB replication."]}),"\n",(0,s.jsxs)(n.li,{children:["Make it possible to use ",(0,s.jsx)(n.a,{href:"https://en.wikipedia.org/wiki/Conflict-free_replicated_data_type",children:"CRDTs"})," instead of a conflict resolution."]}),"\n",(0,s.jsx)(n.li,{children:"Design a the protocol in a way to make it possible to add attachments replication in the future."}),"\n"]}),"\n",(0,s.jsx)(n.p,{children:"On the RxDocument level, the replication works like git, where the fork/client contains all new writes and must be merged with the master/server before it can push its new state to the master/server."}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{children:"A---B1---C1---X master/server state\n \\ /\n B1---C2 fork/client state\n"})}),"\n",(0,s.jsxs)(n.p,{children:["For more details, read the ",(0,s.jsx)(n.a,{href:"/replication.html",children:"documentation about the new RxDB Sync Engine"}),"."]}),"\n",(0,s.jsxs)(n.p,{children:["Backends that have been compatible with the previous RxDB versions ",(0,s.jsx)(n.code,{children:"12"})," and older, will not work with the new replication protocol. To learn how to do that, either read the ",(0,s.jsx)(n.a,{href:"/replication.html",children:"docs"})," or check out the ",(0,s.jsx)(n.a,{href:"https://github.com/pubkey/rxdb/tree/master/examples/graphql",children:"GraphQL example"}),"."]}),"\n",(0,s.jsx)(n.h2,{id:"other-breaking-changes",children:"Other breaking changes"}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:["\n",(0,s.jsxs)(n.p,{children:["RENAMED the ",(0,s.jsx)(n.code,{children:"ajv-validate"})," plugin to ",(0,s.jsx)(n.code,{children:"validate-ajv"})," to be in equal with the other validation plugins."]}),"\n"]}),"\n",(0,s.jsxs)(n.li,{children:["\n",(0,s.jsxs)(n.p,{children:["The ",(0,s.jsx)(n.code,{children:"is-my-json-valid"})," validation is no longer supported until ",(0,s.jsx)(n.a,{href:"https://github.com/mafintosh/is-my-json-valid/pull/192",children:"this bug"})," is fixed."]}),"\n"]}),"\n",(0,s.jsxs)(n.li,{children:["\n",(0,s.jsxs)(n.p,{children:["REFACTORED the ",(0,s.jsx)(n.a,{href:"https://rxdb.info/schema-validation.html",children:"schema validation plugins"}),", they are no longer plugins but now they get wrapped around any other RxStorage."]}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:["It allows us to run the validation inside of a ",(0,s.jsx)(n.a,{href:"/rx-storage-worker.html",children:"Worker RxStorage"})," instead of running it in the main JavaScript process."]}),"\n",(0,s.jsxs)(n.li,{children:["It allows us to configure which ",(0,s.jsx)(n.code,{children:"RxDatabase"})," instance must use the validation and which does not. In production it often makes sense to validate user data, but you might not need the validation for data that is only replicated from the backend."]}),"\n"]}),"\n"]}),"\n",(0,s.jsxs)(n.li,{children:["\n",(0,s.jsxs)(n.p,{children:["REFACTORED the ",(0,s.jsx)(n.a,{href:"/key-compression.html",children:"key compression plugin"}),", it is no longer a plugin but now a wrapper around any other RxStorage."]}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:["It allows to run the key-compression inside of a ",(0,s.jsx)(n.a,{href:"/rx-storage-worker.html",children:"Worker RxStorage"})," instead of running it in the main JavaScript process."]}),"\n"]}),"\n"]}),"\n",(0,s.jsxs)(n.li,{children:["\n",(0,s.jsx)(n.p,{children:"REFACTORED the encryption plugin, it is no longer a plugin but now a wrapper around any other RxStorage."}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:["It allows to run the encryption inside of a ",(0,s.jsx)(n.a,{href:"/rx-storage-worker.html",children:"Worker RxStorage"})," instead of running it in the main JavaScript process."]}),"\n",(0,s.jsxs)(n.li,{children:["It allows do use asynchronous crypto function like ",(0,s.jsx)(n.a,{href:"https://developer.mozilla.org/en-US/docs/Web/API/Web_Crypto_API",children:"WebCrypto"})]}),"\n"]}),"\n"]}),"\n",(0,s.jsxs)(n.li,{children:["\n",(0,s.jsx)(n.p,{children:"Store the password hash in the same write request as the database token to improve performance."}),"\n"]}),"\n",(0,s.jsxs)(n.li,{children:["\n",(0,s.jsxs)(n.p,{children:["REMOVED support for temporary documents ",(0,s.jsx)(n.a,{href:"https://github.com/pubkey/rxdb/pull/3777#issuecomment-1120669088",children:"see here"})]}),"\n"]}),"\n",(0,s.jsxs)(n.li,{children:["\n",(0,s.jsxs)(n.p,{children:["REMOVED RxDatabase.broadcastChannel The broadcast channel has been moved out of the RxDatabase and is part of the RxStorage. So it is no longer exposed via ",(0,s.jsx)(n.code,{children:"RxDatabase.broadcastChannel"}),"."]}),"\n"]}),"\n",(0,s.jsxs)(n.li,{children:["\n",(0,s.jsxs)(n.p,{children:["Removed the ",(0,s.jsx)(n.code,{children:"liveInterval"})," option of the replication plugins. It was an edge case feature with wrong defaults. If you want to run the pull replication on interval, you can send a ",(0,s.jsx)(n.code,{children:"RESYNC"})," event manually in a loop."]}),"\n"]}),"\n",(0,s.jsxs)(n.li,{children:["\n",(0,s.jsxs)(n.p,{children:["REPLACED ",(0,s.jsx)(n.code,{children:"RxReplicationPullError"})," and ",(0,s.jsx)(n.code,{children:"RxReplicationPushError"})," with normal ",(0,s.jsx)(n.code,{children:"RxError"})," like in the rest of the RxDB code."]}),"\n"]}),"\n",(0,s.jsxs)(n.li,{children:["\n",(0,s.jsxs)(n.p,{children:["REMOVED the option to filter out replication documents with the push/pull modifiers ",(0,s.jsx)(n.a,{href:"https://github.com/pubkey/rxdb/issues/2552",children:"#2552"})," because this does not work with the new replication protocol."]}),"\n"]}),"\n",(0,s.jsxs)(n.li,{children:["\n",(0,s.jsxs)(n.p,{children:["CHANGE default of replication ",(0,s.jsx)(n.code,{children:"live"})," to be set to ",(0,s.jsx)(n.code,{children:"true"}),". Because most people want to do a live replication, not a one time replication."]}),"\n"]}),"\n",(0,s.jsxs)(n.li,{children:["\n",(0,s.jsxs)(n.p,{children:["RENAMED the ",(0,s.jsx)(n.code,{children:"server"})," plugin is now called ",(0,s.jsx)(n.code,{children:"server-couchdb"})," and ",(0,s.jsx)(n.code,{children:"RxDatabase.server()"})," is now ",(0,s.jsx)(n.code,{children:"RxDatabase.serverCouchDB()"})]}),"\n"]}),"\n",(0,s.jsxs)(n.li,{children:["\n",(0,s.jsxs)(n.p,{children:["CHANGED Attachment data is now always handled as ",(0,s.jsx)(n.code,{children:"Blob"})," because Node.js does support ",(0,s.jsx)(n.code,{children:"Blob"})," since version 18.0.0 so we no longer have to use a ",(0,s.jsx)(n.code,{children:"Buffer"})," but instead can use Blob for browsers and Node.js"]}),"\n"]}),"\n",(0,s.jsxs)(n.li,{children:["\n",(0,s.jsxs)(n.p,{children:["REFACTORED the layout of ",(0,s.jsx)(n.code,{children:"RxChangeEvent"})," to better match the RxDB requirements and to fix the 'deleted-document-is-modified-but-still-deleted' bug."]}),"\n"]}),"\n"]}),"\n",(0,s.jsxs)(n.p,{children:["When used with Node.js, RxDB now requires Node.js version ",(0,s.jsx)(n.code,{children:"18.0.0"})," or higher."]}),"\n",(0,s.jsx)(n.h2,{id:"other-non-breaking-or-internal-changes",children:"Other non breaking or internal changes"}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:["\n",(0,s.jsx)(n.p,{children:"REMOVED many unused plugin hooks because they decreased the performance."}),"\n"]}),"\n",(0,s.jsxs)(n.li,{children:["\n",(0,s.jsxs)(n.p,{children:["REMOVE RxStorageStatics ",(0,s.jsx)(n.code,{children:".hash"})," and ",(0,s.jsx)(n.code,{children:".hashKey"})]}),"\n"]}),"\n",(0,s.jsxs)(n.li,{children:["\n",(0,s.jsxs)(n.p,{children:["CHANGE removed default usage of ",(0,s.jsx)(n.code,{children:"md5"})," as default hashing. Use a faster non-cryptographic hash instead."]}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:["ADD option to pass a custom hash function when calling ",(0,s.jsx)(n.code,{children:"createRxDatabase"}),"."]}),"\n"]}),"\n"]}),"\n",(0,s.jsxs)(n.li,{children:["\n",(0,s.jsxs)(n.p,{children:["CHANGE use ",(0,s.jsx)(n.code,{children:"Float"})," instead of ",(0,s.jsx)(n.code,{children:"Int"})," to represent timestamps in GraphQL."]}),"\n"]}),"\n",(0,s.jsxs)(n.li,{children:["\n",(0,s.jsxs)(n.p,{children:["FIXED multiple problems with encoding attachments data. We now use the ",(0,s.jsx)(n.code,{children:"js-base64"})," library which properly handles utf-8/binary/ascii transformations."]}),"\n"]}),"\n",(0,s.jsxs)(n.li,{children:["\n",(0,s.jsxs)(n.p,{children:["In the RxDB internal ",(0,s.jsx)(n.code,{children:"_meta.lwt"})," field, we now use 2 decimals number of the unix timestamp in milliseconds."]}),"\n"]}),"\n",(0,s.jsxs)(n.li,{children:["\n",(0,s.jsxs)(n.p,{children:["ADDED ",(0,s.jsx)(n.code,{children:"checkpointSchema"})," to the ",(0,s.jsx)(n.code,{children:"RxStorage.statics"})," interface."]}),"\n"]}),"\n"]}),"\n",(0,s.jsx)(n.h2,{id:"new-features",children:"New Features"}),"\n",(0,s.jsxs)(n.ul,{children:["\n",(0,s.jsxs)(n.li,{children:["ADDED the ",(0,s.jsx)(n.a,{href:"/replication-websocket.html",children:"websocket replication plugin"})]}),"\n",(0,s.jsxs)(n.li,{children:["ADDED the ",(0,s.jsx)(n.a,{href:"/rx-storage-foundationdb.html",children:"FoundationDB RxStorage"})]}),"\n"]}),"\n",(0,s.jsx)(n.h2,{id:"migration-to-the-new-version",children:"Migration to the new version"}),"\n",(0,s.jsxs)(n.p,{children:["Stored data of the previous RxDB versions is not compatible with RxDB ",(0,s.jsx)(n.code,{children:"13.0.0"}),". So if you want to keep that data, you have to migrate it in a way. For most use cases you might want to just drop the data from the client and re-sync it again from the backend. To keep the data locally, you might want to use the ",(0,s.jsx)(n.a,{href:"/migration-storage.html",children:"storage migration plugin"}),"."]})]})}function d(e={}){const{wrapper:n}={...(0,r.R)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(c,{...e})}):c(e)}},8453(e,n,t){t.d(n,{R:()=>o,x:()=>a});var i=t(6540);const s={},r=i.createContext(s);function o(e){const n=i.useContext(r);return i.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function a(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:o(e.components),i.createElement(r.Provider,{value:n},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/badcd764.922f3eee.js b/docs/assets/js/badcd764.922f3eee.js
deleted file mode 100644
index ef9f22aa79d..00000000000
--- a/docs/assets/js/badcd764.922f3eee.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[8318],{3922(e,s,n){n.r(s),n.d(s,{assets:()=>l,contentTitle:()=>o,default:()=>h,frontMatter:()=>t,metadata:()=>r,toc:()=>c});const r=JSON.parse('{"id":"articles/flutter-database","title":"Supercharge Flutter Apps with the RxDB Database","description":"Harness RxDB\'s reactive database to bring real-time, offline-first data storage and syncing to your next Flutter application.","source":"@site/docs/articles/flutter-database.md","sourceDirName":"articles","slug":"/articles/flutter-database.html","permalink":"/articles/flutter-database.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"Supercharge Flutter Apps with the RxDB Database","slug":"flutter-database.html","description":"Harness RxDB\'s reactive database to bring real-time, offline-first data storage and syncing to your next Flutter application."},"sidebar":"tutorialSidebar","previous":{"title":"Embedded Database, Real-time Speed - RxDB","permalink":"/articles/embedded-database.html"},"next":{"title":"RxDB - The Ultimate JS Frontend Database","permalink":"/articles/frontend-database.html"}}');var a=n(4848),i=n(8453);const t={title:"Supercharge Flutter Apps with the RxDB Database",slug:"flutter-database.html",description:"Harness RxDB's reactive database to bring real-time, offline-first data storage and syncing to your next Flutter application."},o="RxDB as a Database in a Flutter Application",l={},c=[{value:"Overview of Flutter Mobile Applications",id:"overview-of-flutter-mobile-applications",level:3},{value:"Importance of Databases in Flutter Applications",id:"importance-of-databases-in-flutter-applications",level:3},{value:"Introducing RxDB as a Database Solution",id:"introducing-rxdb-as-a-database-solution",level:3},{value:"Getting Started with RxDB",id:"getting-started-with-rxdb",level:2},{value:"What is RxDB?",id:"what-is-rxdb",level:3},{value:"Reactive Data Handling",id:"reactive-data-handling",level:3},{value:"Offline-First Approach",id:"offline-first-approach",level:3},{value:"Data Replication",id:"data-replication",level:3},{value:"Observable Queries",id:"observable-queries",level:3},{value:"RxDB vs. Other Flutter Database Options",id:"rxdb-vs-other-flutter-database-options",level:3},{value:"Using RxDB in a Flutter Application",id:"using-rxdb-in-a-flutter-application",level:2},{value:"How RxDB can run in Flutter",id:"how-rxdb-can-run-in-flutter",level:2},{value:"Different RxStorage layers for RxDB",id:"different-rxstorage-layers-for-rxdb",level:3},{value:"Synchronizing Data with RxDB between Clients and Servers",id:"synchronizing-data-with-rxdb-between-clients-and-servers",level:2},{value:"Offline-First Approach",id:"offline-first-approach-1",level:3},{value:"RxDB Replication Plugins",id:"rxdb-replication-plugins",level:3},{value:"Advanced RxDB Features and Techniques",id:"advanced-rxdb-features-and-techniques",level:2},{value:"Indexing and Performance Optimization",id:"indexing-and-performance-optimization",level:3},{value:"Encryption of Local Data",id:"encryption-of-local-data",level:3},{value:"Change Streams and Event Handling",id:"change-streams-and-event-handling",level:3},{value:"JSON Key Compression",id:"json-key-compression",level:3},{value:"Conclusion",id:"conclusion",level:2}];function d(e){const s={a:"a",admonition:"admonition",code:"code",figure:"figure",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",p:"p",pre:"pre",span:"span",ul:"ul",...(0,i.R)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(s.header,{children:(0,a.jsx)(s.h1,{id:"rxdb-as-a-database-in-a-flutter-application",children:"RxDB as a Database in a Flutter Application"})}),"\n",(0,a.jsxs)(s.p,{children:["In the world of mobile application development, Flutter has gained significant popularity due to its cross-platform capabilities and rich UI framework. When it comes to building feature-rich Flutter applications, the choice of a robust and efficient database is crucial. In this article, we will explore ",(0,a.jsx)(s.a,{href:"https://rxdb.info/",children:"RxDB"})," as a database solution for Flutter applications. We'll delve into the core features of RxDB, its benefits over other database options, and how to integrate it into a Flutter app."]}),"\n",(0,a.jsx)(s.admonition,{type:"note",children:(0,a.jsxs)(s.p,{children:["You can find the source code for an example RxDB Flutter Application ",(0,a.jsx)(s.a,{href:"https://github.com/pubkey/rxdb/tree/master/examples/flutter",children:"at the github repo"})]})}),"\n",(0,a.jsx)("center",{children:(0,a.jsx)("a",{href:"https://rxdb.info/",children:(0,a.jsx)("img",{src:"../files/logo/rxdb_javascript_database.svg",alt:"RxDB Flutter Database",width:"220"})})}),"\n",(0,a.jsx)(s.h3,{id:"overview-of-flutter-mobile-applications",children:"Overview of Flutter Mobile Applications"}),"\n",(0,a.jsxs)(s.p,{children:["Flutter is an open-source UI software development kit created by Google that allows developers to build high-performance ",(0,a.jsx)(s.a,{href:"/articles/mobile-database.html",children:"mobile"})," applications for iOS and Android platforms using a single codebase. Flutter's framework provides a wide range of widgets and tools that enable developers to create visually appealing and responsive applications."]}),"\n",(0,a.jsx)("center",{children:(0,a.jsx)("img",{src:"../files/icons/flutter.svg",alt:"Flutter",width:"60"})}),"\n",(0,a.jsx)(s.h3,{id:"importance-of-databases-in-flutter-applications",children:"Importance of Databases in Flutter Applications"}),"\n",(0,a.jsx)(s.p,{children:"Databases play a vital role in Flutter applications by providing a persistent and reliable storage solution for storing and retrieving data. Whether it's user profiles, app settings, or complex data structures, a database helps in efficiently managing and organizing the application's data. Choosing the right database for a Flutter application can significantly impact the performance, scalability, and user experience of the app."}),"\n",(0,a.jsx)(s.h3,{id:"introducing-rxdb-as-a-database-solution",children:"Introducing RxDB as a Database Solution"}),"\n",(0,a.jsx)(s.p,{children:"RxDB is a powerful NoSQL database solution that is designed to work seamlessly with JavaScript-based frameworks, such as Flutter. It stands for Reactive Database and offers a variety of features that make it an excellent choice for building Flutter applications. RxDB combines the simplicity of JavaScript's document-based database model with the reactive programming paradigm, enabling developers to build real-time and offline-first applications with ease."}),"\n",(0,a.jsx)(s.h2,{id:"getting-started-with-rxdb",children:"Getting Started with RxDB"}),"\n",(0,a.jsx)(s.p,{children:"To understand how RxDB can be utilized in a Flutter application, let's explore its core features and advantages."}),"\n",(0,a.jsx)(s.h3,{id:"what-is-rxdb",children:"What is RxDB?"}),"\n",(0,a.jsxs)(s.p,{children:[(0,a.jsx)(s.a,{href:"https://rxdb.info/",children:"RxDB"})," is a client-side database built on top of ",(0,a.jsx)(s.a,{href:"/rx-storage-indexeddb.html",children:"IndexedDB"}),", which is a low-level ",(0,a.jsx)(s.a,{href:"/articles/browser-database.html",children:"browser-based database"})," API. It provides a simple and intuitive API for performing CRUD operations (Create, Read, Update, Delete) on documents. RxDB's underlying architecture allows for efficient handling of data synchronization between multiple clients and servers."]}),"\n",(0,a.jsx)("center",{children:(0,a.jsx)("a",{href:"https://rxdb.info/",children:(0,a.jsx)("img",{src:"../files/logo/rxdb_javascript_database.svg",alt:"RxDB Flutter Database",width:"220"})})}),"\n",(0,a.jsx)(s.h3,{id:"reactive-data-handling",children:"Reactive Data Handling"}),"\n",(0,a.jsx)(s.p,{children:"One of the key strengths of RxDB is its reactive data handling. It leverages the power of Observables, a concept from reactive programming, to automatically update the UI in response to data changes. With RxDB, developers can define queries and subscribe to their results, ensuring that the UI is always in sync with the database."}),"\n",(0,a.jsx)(s.h3,{id:"offline-first-approach",children:"Offline-First Approach"}),"\n",(0,a.jsx)(s.p,{children:"RxDB follows an offline-first approach, making it ideal for building Flutter applications that need to function even without an internet connection. It allows data to be stored locally and seamlessly synchronizes it with the server when a connection is available. This ensures that users can access and interact with their data regardless of network availability."}),"\n",(0,a.jsx)(s.h3,{id:"data-replication",children:"Data Replication"}),"\n",(0,a.jsx)(s.p,{children:"Data replication is a critical aspect of building distributed applications. RxDB provides robust replication capabilities that enable synchronization of data between different clients and servers. With its replication plugins, RxDB simplifies the process of setting up real-time data synchronization, ensuring consistency across all connected devices."}),"\n",(0,a.jsx)(s.h3,{id:"observable-queries",children:"Observable Queries"}),"\n",(0,a.jsx)(s.p,{children:"RxDB introduces the concept of observable queries, which are queries that automatically update when the underlying data changes. This feature is particularly useful for keeping the UI up to date with the latest data. By subscribing to an observable query, developers can receive real-time updates and reflect them in the user interface without manual intervention."}),"\n",(0,a.jsx)(s.h3,{id:"rxdb-vs-other-flutter-database-options",children:"RxDB vs. Other Flutter Database Options"}),"\n",(0,a.jsx)(s.p,{children:"When considering database options for Flutter applications, developers often come across alternatives such as SQLite or LokiJS. While these databases have their merits, RxDB offers several advantages over them. RxDB's seamless integration with Flutter, its offline-first approach, reactive data handling, and built-in data replication make it a compelling choice for building feature-rich and scalable Flutter applications."}),"\n",(0,a.jsx)(s.h2,{id:"using-rxdb-in-a-flutter-application",children:"Using RxDB in a Flutter Application"}),"\n",(0,a.jsx)(s.p,{children:"Now that we understand the core features of RxDB, let's explore how to integrate it into a Flutter application."}),"\n",(0,a.jsx)(s.h2,{id:"how-rxdb-can-run-in-flutter",children:"How RxDB can run in Flutter"}),"\n",(0,a.jsxs)(s.p,{children:["RxDB is written in TypeScript and compiled to JavaScript. To run it in a Flutter application, the ",(0,a.jsx)(s.code,{children:"flutter_qjs"})," library is used to spawn a QuickJS JavaScript runtime. RxDB itself runs in that runtime and communicates with the flutter dart runtime. To store data persistent, the ",(0,a.jsx)(s.a,{href:"/rx-storage-lokijs.html",children:"LokiJS RxStorage"})," is used together with a custom storage adapter that persists the database inside of the ",(0,a.jsx)(s.code,{children:"shared_preferences"})," data."]}),"\n",(0,a.jsx)(s.p,{children:"To use RxDB, you have to create a compatible JavaScript file that creates your RxDatabase and starts some connectors which are used by Flutter to communicate with the JavaScript RxDB database via setFlutterRxDatabaseConnector()."}),"\n",(0,a.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,a.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"javascript","data-theme":"css-variables",children:(0,a.jsxs)(s.code,{"data-language":"javascript","data-theme":"css-variables",style:{display:"grid"},children:[(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" createRxDatabase"})}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" getRxStorageLoki"})}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/storage-lokijs'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" setFlutterRxDatabaseConnector"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" getLokijsAdapterFlutter"})}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/flutter'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// do all database creation stuff in this method."})}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"async"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" function"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createDB"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(databaseName) {"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // create the RxDatabase"})}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // the database.name is variable so we can change it on the flutter side"})}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" databaseName"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageLoki"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" adapter"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getLokijsAdapterFlutter"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"()"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" })"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" multiInstance"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" false"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" });"})}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".addCollections"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" heroes"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" schema"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" version"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 0"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" primaryKey"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'id'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'object'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" properties"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" id"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" maxLength"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 100"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" maxLength"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 100"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" color"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" maxLength"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 30"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" indexes"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ["}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'name'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"]"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" required"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ["}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'id'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'name'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'color'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"]"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" });"})}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" db;"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"}"})}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// start the connector so that flutter can communicate with the JavaScript process"})}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"setFlutterRxDatabaseConnector"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" createDB"})}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})})]})})}),"\n",(0,a.jsxs)(s.p,{children:["Before you can use the JavaScript code, you have to bundle it into a single .js file. In this example we do that with webpack in a npm script here which bundles everything into the ",(0,a.jsx)(s.code,{children:"javascript/dist/index.js"})," file."]}),"\n",(0,a.jsx)(s.p,{children:"To allow Flutter to access that file during runtime, add it to the assets inside of your pubspec.yaml:"}),"\n",(0,a.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,a.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"yaml","data-theme":"css-variables",children:(0,a.jsxs)(s.code,{"data-language":"yaml","data-theme":"css-variables",style:{display:"grid"},children:[(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"flutter"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" assets"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" - "}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"javascript/dist/index.js"})]})]})})}),"\n",(0,a.jsx)(s.p,{children:"Also you need to install RxDB in your flutter part of the application. First you have to use the rxdb dart package as a flutter dependency. Currently the package is not published at the dart pub.dev. Instead you have to install it from the local filesystem inside of your RxDB npm installation."}),"\n",(0,a.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,a.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"yaml","data-theme":"css-variables",children:(0,a.jsxs)(s.code,{"data-language":"yaml","data-theme":"css-variables",style:{display:"grid"},children:[(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"# inside of pubspec.yaml"})}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"dependencies"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" rxdb"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" path"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" path/to/your/node_modules/rxdb/src/plugins/flutter/dart"})]})]})})}),"\n",(0,a.jsx)(s.p,{children:"Afterwards you can import the rxdb library in your dart code and connect to the JavaScript process from there. For reference, check out the lib/main.dart file."}),"\n",(0,a.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,a.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"dart","data-theme":"css-variables",children:(0,a.jsxs)(s.code,{"data-language":"dart","data-theme":"css-variables",style:{display:"grid"},children:[(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'package:rxdb/rxdb.dart'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// start the javascript process and connect to the database"})}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"RxDatabase"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" database "}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxDatabase"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:'"javascript/dist/index.js"'}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:", databaseName);"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// get a collection"})}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"RxCollection"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" collection "}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" database."}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"getCollection"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'heroes'"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// insert a document"})}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"RxDocument"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" document "}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" collection."}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"insert"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "id"'}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "zflutter-'}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"${"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"DateTime"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"."}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"now"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"()}"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:'"'}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:","})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "name"'}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" nameController.text,"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:' "color"'}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" colorController.text"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// create a query"})}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"RxQuery"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"<"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"RxHeroDocType"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"> query "}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" RxDatabaseState"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".collection."}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"find"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"();"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// create list to store query results"})}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"List"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"<"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"RxDocument"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"<"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"RxHeroDocType"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:">> documents "}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" [];"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// subscribe to a query"})}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"query.$()."}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:"listen"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"((results) {"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" setState"}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(() {"})]}),"\n",(0,a.jsxs)(s.span,{"data-line":"",children:[(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" documents "}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" results;"})]}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" });"})}),"\n",(0,a.jsx)(s.span,{"data-line":"",children:(0,a.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,a.jsx)(s.h3,{id:"different-rxstorage-layers-for-rxdb",children:"Different RxStorage layers for RxDB"}),"\n",(0,a.jsx)(s.p,{children:"RxDB offers multiple storage options, known as RxStorage layers, to store data locally. These options include:"}),"\n",(0,a.jsxs)(s.ul,{children:["\n",(0,a.jsxs)(s.li,{children:[(0,a.jsx)(s.a,{href:"/rx-storage-lokijs.html",children:"LokiJS RxStorage"}),": LokiJS is an in-memory database that can be used as a ",(0,a.jsx)(s.a,{href:"/articles/browser-storage.html",children:"storage"})," layer for RxDB. It provides fast and efficient in-memory data management capabilities."]}),"\n",(0,a.jsxs)(s.li,{children:[(0,a.jsx)(s.a,{href:"/rx-storage-sqlite.html",children:"SQLite RxStorage"}),": SQLite is a popular and widely used ",(0,a.jsx)(s.a,{href:"/articles/embedded-database.html",children:"embedded database"})," that offers robust storage capabilities. RxDB utilizes SQLite as a storage layer to persist data on the device."]}),"\n",(0,a.jsxs)(s.li,{children:[(0,a.jsx)(s.a,{href:"/rx-storage-memory.html",children:"Memory RxStorage"}),": As the name suggests, Memory RxStorage stores data ",(0,a.jsx)(s.a,{href:"/articles/in-memory-nosql-database.html",children:"in memory"}),". While this option does not provide persistence, it can be useful for temporary or cache-based data storage.\nBy choosing the appropriate RxStorage layer based on the specific requirements of the application, developers can optimize performance and storage efficiency."]}),"\n"]}),"\n",(0,a.jsx)(s.h2,{id:"synchronizing-data-with-rxdb-between-clients-and-servers",children:"Synchronizing Data with RxDB between Clients and Servers"}),"\n",(0,a.jsx)(s.p,{children:"One of the key strengths of RxDB is its ability to synchronize data between multiple clients and servers seamlessly. Let's explore how this synchronization can be achieved."}),"\n",(0,a.jsx)(s.h3,{id:"offline-first-approach-1",children:"Offline-First Approach"}),"\n",(0,a.jsx)(s.p,{children:"RxDB's offline-first approach ensures that data can be accessed and modified even when there is no internet connection. Changes made offline are automatically synchronized with the server once a connection is reestablished. This ensures data consistency across all devices, providing a seamless user experience."}),"\n",(0,a.jsx)(s.h3,{id:"rxdb-replication-plugins",children:"RxDB Replication Plugins"}),"\n",(0,a.jsxs)(s.p,{children:["RxDB provides replication plugins that simplify the process of setting up data ",(0,a.jsx)(s.a,{href:"/replication.html",children:"synchronization between clients and servers"}),". These plugins offer various synchronization strategies, such as one-way replication, two-way replication, and conflict resolution mechanisms. By configuring the appropriate replication plugin, developers can easily establish real-time data synchronization in their Flutter applications."]}),"\n",(0,a.jsx)(s.h2,{id:"advanced-rxdb-features-and-techniques",children:"Advanced RxDB Features and Techniques"}),"\n",(0,a.jsx)(s.p,{children:"RxDB offers a range of advanced features and techniques that enhance its functionality and performance. Let's explore a few of these features:"}),"\n",(0,a.jsx)(s.h3,{id:"indexing-and-performance-optimization",children:"Indexing and Performance Optimization"}),"\n",(0,a.jsx)(s.p,{children:"Indexing is a technique used to optimize query performance by creating indexes on specific fields. RxDB allows developers to define indexes on document fields, improving the efficiency of queries and data retrieval."}),"\n",(0,a.jsx)(s.h3,{id:"encryption-of-local-data",children:"Encryption of Local Data"}),"\n",(0,a.jsxs)(s.p,{children:["To ensure data privacy and security, RxDB supports ",(0,a.jsx)(s.a,{href:"/encryption.html",children:"encryption of local data"}),". By encrypting the data stored on the device, developers can protect sensitive information and prevent unauthorized access."]}),"\n",(0,a.jsx)(s.h3,{id:"change-streams-and-event-handling",children:"Change Streams and Event Handling"}),"\n",(0,a.jsx)(s.p,{children:"RxDB provides change streams, which emit events whenever data changes occur. By leveraging change streams, developers can implement custom event handling logic, such as updating the UI or triggering background processes, in response to specific data changes."}),"\n",(0,a.jsx)(s.h3,{id:"json-key-compression",children:"JSON Key Compression"}),"\n",(0,a.jsxs)(s.p,{children:["To minimize storage requirements and optimize performance, RxDB offers ",(0,a.jsx)(s.a,{href:"/key-compression.html",children:"JSON key compression"}),". This feature reduces the size of keys used in the database, resulting in more efficient storage and improved query performance."]}),"\n",(0,a.jsx)(s.h2,{id:"conclusion",children:"Conclusion"}),"\n",(0,a.jsx)(s.p,{children:"RxDB offers a powerful and flexible database solution for Flutter applications. With its offline-first approach, real-time data synchronization, and reactive data handling capabilities, RxDB simplifies the development of feature-rich and scalable Flutter applications. By integrating RxDB into your Flutter projects, you can leverage its advanced features and techniques to build responsive and data-driven applications that provide an exceptional user experience."}),"\n",(0,a.jsx)(s.admonition,{type:"note",children:(0,a.jsxs)(s.p,{children:["You can find the source code for an example RxDB Flutter Application ",(0,a.jsx)(s.a,{href:"https://github.com/pubkey/rxdb/tree/master/examples/flutter",children:"at the github repo"})]})})]})}function h(e={}){const{wrapper:s}={...(0,i.R)(),...e.components};return s?(0,a.jsx)(s,{...e,children:(0,a.jsx)(d,{...e})}):d(e)}},8453(e,s,n){n.d(s,{R:()=>t,x:()=>o});var r=n(6540);const a={},i=r.createContext(a);function t(e){const s=r.useContext(i);return r.useMemo(function(){return"function"==typeof e?e(s):{...s,...e}},[s,e])}function o(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:t(e.components),r.createElement(i.Provider,{value:s},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/bdd39edd.10cefecb.js b/docs/assets/js/bdd39edd.10cefecb.js
deleted file mode 100644
index 141e3bccb7f..00000000000
--- a/docs/assets/js/bdd39edd.10cefecb.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[5852],{1541(e,a,s){s.r(a),s.d(a,{default:()=>l});var r=s(544),t=s(4848);function l(){return(0,r.default)({sem:{id:"gads",metaTitle:"The local Database for Browsers",appName:"Browser",title:(0,t.jsxs)(t.Fragment,{children:["The easiest way to ",(0,t.jsx)("b",{children:"store"})," and ",(0,t.jsx)("b",{children:"sync"})," Data in a Browser"]})}})}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/c0f75fb9.ea90dae3.js b/docs/assets/js/c0f75fb9.ea90dae3.js
deleted file mode 100644
index 1154a521b3b..00000000000
--- a/docs/assets/js/c0f75fb9.ea90dae3.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[833],{6440(e,s,n){n.r(s),n.d(s,{assets:()=>t,contentTitle:()=>l,default:()=>h,frontMatter:()=>a,metadata:()=>r,toc:()=>c});const r=JSON.parse('{"id":"articles/zero-latency-local-first","title":"Zero Latency Local First Apps with RxDB \u2013 Sync, Encryption and Compression","description":"Build blazing-fast, zero-latency local first apps with RxDB. Gain instant UI responses, robust offline capabilities, end-to-end encryption, and data compression for streamlined performance.","source":"@site/docs/articles/zero-latency-local-first.md","sourceDirName":"articles","slug":"/articles/zero-latency-local-first.html","permalink":"/articles/zero-latency-local-first.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"Zero Latency Local First Apps with RxDB \u2013 Sync, Encryption and Compression","slug":"zero-latency-local-first.html","description":"Build blazing-fast, zero-latency local first apps with RxDB. Gain instant UI responses, robust offline capabilities, end-to-end encryption, and data compression for streamlined performance."},"sidebar":"tutorialSidebar","previous":{"title":"RxDB \u2013 The Ultimate Offline Database with Sync and Encryption","permalink":"/articles/offline-database.html"},"next":{"title":"IndexedDB Max Storage Size Limit - Detailed Best Practices","permalink":"/articles/indexeddb-max-storage-limit.html"}}');var i=n(4848),o=n(8453);const a={title:"Zero Latency Local First Apps with RxDB \u2013 Sync, Encryption and Compression",slug:"zero-latency-local-first.html",description:"Build blazing-fast, zero-latency local first apps with RxDB. Gain instant UI responses, robust offline capabilities, end-to-end encryption, and data compression for streamlined performance."},l="Zero Latency Local First Apps with RxDB \u2013 Sync, Encryption and Compression",t={},c=[{value:"Why Zero Latency with a Local First Approach?",id:"why-zero-latency-with-a-local-first-approach",level:2},{value:"RxDB: Your Key to Zero-Latency Local First Apps",id:"rxdb-your-key-to-zero-latency-local-first-apps",level:2},{value:"Real-Time Sync and Offline-First",id:"real-time-sync-and-offline-first",level:3},{value:"Multiple Replication Plugins and Approaches",id:"multiple-replication-plugins-and-approaches",level:4},{value:"Example Setup of a local database",id:"example-setup-of-a-local-database",level:4},{value:"Example Setup of the replication",id:"example-setup-of-the-replication",level:4},{value:"Things you should also know about",id:"things-you-should-also-know-about",level:2},{value:"Optimistic UI on Local Data Changes",id:"optimistic-ui-on-local-data-changes",level:3},{value:"Conflict Handling",id:"conflict-handling",level:3},{value:"Schema Migrations",id:"schema-migrations",level:3},{value:"Advanced Features",id:"advanced-features",level:2},{value:"Setup Encryption",id:"setup-encryption",level:3},{value:"Setup Compression",id:"setup-compression",level:3},{value:"Different RxDB Storages Depending on the Runtime",id:"different-rxdb-storages-depending-on-the-runtime",level:2},{value:"Performance Considerations",id:"performance-considerations",level:2},{value:"Offloading Work from the Main Thread",id:"offloading-work-from-the-main-thread",level:3},{value:"Sharding or Memory-Mapped Storages",id:"sharding-or-memory-mapped-storages",level:3},{value:"Follow Up",id:"follow-up",level:2}];function d(e){const s={a:"a",code:"code",figure:"figure",h1:"h1",h2:"h2",h3:"h3",h4:"h4",header:"header",li:"li",ol:"ol",p:"p",pre:"pre",span:"span",strong:"strong",ul:"ul",...(0,o.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s.header,{children:(0,i.jsx)(s.h1,{id:"zero-latency-local-first-apps-with-rxdb--sync-encryption-and-compression",children:"Zero Latency Local First Apps with RxDB \u2013 Sync, Encryption and Compression"})}),"\n",(0,i.jsxs)(s.p,{children:["Creating a ",(0,i.jsx)(s.strong,{children:"zero-latency local first"})," application involves ensuring that most (if not all) user interactions occur instantaneously, without waiting on remote network responses. This design drastically enhances user experience, allowing apps to remain responsive and functional even when offline or experiencing poor connectivity. As developers, we can achieve this by storing data ",(0,i.jsx)(s.strong,{children:"locally on the client"})," and synchronizing it to the backend in the background. ",(0,i.jsx)(s.strong,{children:"RxDB"})," (Reactive Database) offers a comprehensive set of features - covering replication, offline support, encryption, compression, conflict handling, and more - that make it straightforward to build such high-performing apps."]}),"\n",(0,i.jsx)("p",{align:"center",children:(0,i.jsx)("img",{src:"/files/loading-spinner-not-needed.gif",alt:"loading spinner not needed",width:"300"})}),"\n",(0,i.jsx)(s.h2,{id:"why-zero-latency-with-a-local-first-approach",children:"Why Zero Latency with a Local First Approach?"}),"\n",(0,i.jsx)(s.p,{children:"In a traditional architecture, each user action triggers requests to a server for reads or writes. Despite network optimizations, unavoidable latencies can delay responses and disrupt the user flow. By contrast, a local first model maintains data in the client's environment (browser, mobile, desktop), drastically reducing user-perceived delays. Once the user re-connects or resumes activity online, changes propagate automatically to the server, eliminating manual synchronization overhead."}),"\n",(0,i.jsxs)(s.ol,{children:["\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Instant Responsiveness"}),": Because user actions (queries, updates, etc.) happen against a local datastore, UI updates do not wait on round-trip times."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Offline Operation"}),": Apps can continue to read and write data, even when there is zero connectivity."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Reduced Backend Load"}),": Instead of flooding the server with small requests, replication can combine and push or pull changes in batches."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Simplified Caching"}),": Instead of implementing multi-layer caching, local first transforms your data layer into a reliable, quickly accessible store for all user actions."]}),"\n"]}),"\n",(0,i.jsx)("center",{children:(0,i.jsx)("a",{href:"https://rxdb.info/",children:(0,i.jsx)("img",{src:"../files/logo/rxdb_javascript_database.svg",alt:"RxDB local Database",width:"220"})})}),"\n",(0,i.jsx)(s.h2,{id:"rxdb-your-key-to-zero-latency-local-first-apps",children:"RxDB: Your Key to Zero-Latency Local First Apps"}),"\n",(0,i.jsxs)(s.p,{children:[(0,i.jsx)(s.strong,{children:"RxDB"})," is a JavaScript-based NoSQL database designed for offline-first and real-time replication scenarios. It supports a range of environments - browsers (IndexedDB or OPFS), mobile (",(0,i.jsx)(s.a,{href:"/articles/ionic-storage.html",children:"Ionic"}),", ",(0,i.jsx)(s.a,{href:"/react-native-database.html",children:"React Native"}),"), ",(0,i.jsx)(s.a,{href:"/electron-database.html",children:"Electron"}),", Node.js - and is built around:"]}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Reactive Queries"})," that trigger UI updates upon data changes"]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Schema-based NoSQL Documents"})," for flexible but robust data models"]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.a,{href:"/replication.html",children:"Advanced Sync Engine"}),": to synchronize with diverse backends"]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Encryption"})," for secure data at rest"]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Compression"})," to reduce local and network overhead"]}),"\n"]}),"\n",(0,i.jsx)(s.h3,{id:"real-time-sync-and-offline-first",children:"Real-Time Sync and Offline-First"}),"\n",(0,i.jsx)(s.p,{children:"RxDB's replication logic revolves around pulling down remote changes and pushing up local modifications. It maintains a checkpoint-based mechanism, so only new or updated documents flow between the client and server, reducing bandwidth usage and latency. This ensures:"}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Live Data"}),": Queries automatically reflect server-side changes once they arrive locally."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Background Updates"}),": No manual polling needed; replication streams or intervals handle synchronization."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.strong,{children:"Conflict Handling"})," (see below) ensures data merges gracefully when multiple clients edit the same document offline."]}),"\n"]}),"\n",(0,i.jsx)(s.h4,{id:"multiple-replication-plugins-and-approaches",children:"Multiple Replication Plugins and Approaches"}),"\n",(0,i.jsxs)(s.p,{children:["RxDB's flexible replication system lets you connect to different backends or even peer-to-peer networks. There are official plugins for ",(0,i.jsx)(s.a,{href:"/replication-couchdb.html",children:"CouchDB"}),", ",(0,i.jsx)(s.a,{href:"/replication-firestore.html",children:"Firestore"}),", ",(0,i.jsx)(s.a,{href:"/replication-graphql.html",children:"GraphQL"}),", ",(0,i.jsx)(s.a,{href:"/replication-webrtc.html",children:"WebRTC"}),", and more. Many developers create a ",(0,i.jsx)(s.strong,{children:"custom HTTP replication"})," to work with their existing REST-based backend, ensuring a painless integration that doesn't require adopting an entirely new server infrastructure."]}),"\n",(0,i.jsx)(s.h4,{id:"example-setup-of-a-local-database",children:"Example Setup of a local database"}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { createRxDatabase } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/core'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { getRxStorageLocalstorage } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/storage-localstorage'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"async"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" function"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" initZeroLocalDB"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"() {"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // Create a local RxDB instance using localstorage-based storage"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'myZeroLocalDB'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageLocalstorage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"()"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // optional: password for encryption if needed"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" });"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // Define one or more collections"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".addCollections"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" tasks"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" schema"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" title"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'task schema'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" version"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 0"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'object'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" primaryKey"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'id'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" properties"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" id"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { type"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" maxLength"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 100"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" title"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { type"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" done"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { type"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'boolean'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" });"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // Reactive query - automatically updates on local or remote changes"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".tasks"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" .find"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"()"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" .$ "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// returns an RxJS Observable"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" .subscribe"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(allTasks "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" console"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".log"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'All tasks updated:'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" allTasks);"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" });"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" db;"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"}"})})]})})}),"\n",(0,i.jsxs)(s.p,{children:["When offline, reads and writes to ",(0,i.jsx)(s.code,{children:"db.tasks"})," happen locally with near-zero delay. Once connectivity resumes, changes sync to the server automatically (if replication is configured)."]}),"\n",(0,i.jsx)(s.h4,{id:"example-setup-of-the-replication",children:"Example Setup of the replication"}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { replicateRxCollection } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/replication'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"async"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" function"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" syncLocalTasks"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"(db) {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" replicateRxCollection"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" collection"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:".tasks"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" replicationIdentifier"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'sync-tasks'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // Define how to pull server documents and push local documents"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" pull"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" handler"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" async"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" (lastCheckpoint"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" batchSize) "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // logic to retrieve updated tasks from the server since lastCheckpoint"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" push"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" handler"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" async"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" (docs) "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // logic to post local changes to the server"})}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" live"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" true"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // continuously replicate"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" retryTime"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 5000"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:" // retry on errors or disconnections"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" });"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"}"})})]})})}),"\n",(0,i.jsx)(s.p,{children:"This replication seamlessly merges server-side and client-side changes. Your app remains responsive throughout, regardless of the network status."}),"\n",(0,i.jsx)(s.h2,{id:"things-you-should-also-know-about",children:"Things you should also know about"}),"\n",(0,i.jsx)(s.h3,{id:"optimistic-ui-on-local-data-changes",children:"Optimistic UI on Local Data Changes"}),"\n",(0,i.jsxs)(s.p,{children:["A local first approach, especially with RxDB, naturally supports an ",(0,i.jsx)(s.a,{href:"/articles/optimistic-ui.html",children:"optimistic UI"})," pattern. Because writes occur on the client, you can instantly reflect changes in the interface as soon as the user performs an action - no need to wait for server confirmation. For example, when a user updates a task document to done: true, the UI can re-render immediately with that new state. This even works across multiple browser tabs."]}),"\n",(0,i.jsx)("p",{align:"center",children:(0,i.jsx)("img",{src:"/files/multiwindow.gif",alt:"RxDB multi tab",width:"450"})}),"\n",(0,i.jsxs)(s.p,{children:["If a server conflict arises later during replication, RxDB's ",(0,i.jsx)(s.a,{href:"/transactions-conflicts-revisions.html",children:"conflict handling"})," logic determines which changes to keep, and the UI can be updated accordingly. This is far more efficient than blocking the user or displaying a spinner while the backend processes the request."]}),"\n",(0,i.jsx)(s.h3,{id:"conflict-handling",children:"Conflict Handling"}),"\n",(0,i.jsx)(s.p,{children:"In local first models, conflicts emerge if multiple devices or clients edit the same document while offline. RxDB tracks document revisions so you can detect collisions and merge them effectively. By default, RxDB uses a last-write-wins approach, but developers can override it with a custom conflict handler. This provides fine-grained control - like merging partial fields, storing revision histories, or prompting users for resolution. Proper conflict handling keeps distributed data consistent across your entire system."}),"\n",(0,i.jsx)(s.h3,{id:"schema-migrations",children:"Schema Migrations"}),"\n",(0,i.jsx)(s.p,{children:"Over time, apps evolve - new fields, changed field types, or altered indexes. RxDB allows incremental schema migrations so you can upgrade a user's local data from one schema version to another. You might, for instance, rename a property or transform data formats. Once you define your migration strategy, RxDB automatically applies it upon app initialization, ensuring the local database's structure aligns with your latest codebase."}),"\n",(0,i.jsx)(s.h2,{id:"advanced-features",children:"Advanced Features"}),"\n",(0,i.jsx)(s.h3,{id:"setup-encryption",children:"Setup Encryption"}),"\n",(0,i.jsxs)(s.p,{children:["When storing data locally, you may handle user-sensitive information like PII (Personal Identifiable Information) or financial details. RxDB supports on-device ",(0,i.jsx)(s.a,{href:"/encryption.html",children:"encryption"})," to protect fields. For example, you can define:"]}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { wrappedKeyEncryptionCryptoJsStorage } "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/encryption-crypto-js'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" encryptedStorage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" wrappedKeyEncryptionCryptoJsStorage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageLocalstorage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"()"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'secureDB'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" encryptedStorage"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" password"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'myEncryptionPassword'"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".addCollections"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" secrets"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" schema"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" title"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'secrets schema'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" version"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 0"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'object'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" primaryKey"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'id'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" properties"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" id"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { type"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" maxLength"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 100"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" secretField"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { type"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" required"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ["}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'id'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"]"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" encrypted"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" ["}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'secretField'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"] "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-comment)"},children:"// define which fields to encrypt"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,i.jsxs)(s.p,{children:["Then mark fields as ",(0,i.jsx)(s.code,{children:"encrypted"})," in the schema. This ensures data is unreadable on disk without the correct password."]}),"\n",(0,i.jsx)(s.h3,{id:"setup-compression",children:"Setup Compression"}),"\n",(0,i.jsx)(s.p,{children:"Local data can expand quickly, especially for large documents or repeated key names. RxDB's key compression feature replaces verbose field names with shorter tokens, decreasing storage usage and speeding up replication. You enable it by adding keyCompression: true to your collection schema:"}),"\n",(0,i.jsx)(s.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(s.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(s.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-function)"},children:".addCollections"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" logs"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" schema"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" title"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'log schema'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" version"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" 0"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" keyCompression"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:" true"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" type"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'object'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" primaryKey"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'id'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" properties"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" id"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { type"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:". maxLength: "}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-constant)"},children:"100"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" message"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { type"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'string'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(s.span,{"data-line":"",children:[(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" timestamp"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" { type"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'number'"}),(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})]}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(s.span,{"data-line":"",children:(0,i.jsx)(s.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,i.jsx)(s.h2,{id:"different-rxdb-storages-depending-on-the-runtime",children:"Different RxDB Storages Depending on the Runtime"}),"\n",(0,i.jsx)(s.p,{children:"RxDB's storage layer is swappable, so you can pick the optimal adapter for each environment. Some common choices include:"}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.a,{href:"/rx-storage-indexeddb.html",children:"IndexedDB"})," in modern browsers (default)."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.a,{href:"/rx-storage-opfs.html",children:"OPFS"})," (Origin Private File System) in browsers that support it for potentially better performance."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.a,{href:"/rx-storage-sqlite.html",children:"SQLite"})," for mobile or desktop environments via the premium plugin, offering native-like speed on Android, iOS, or Electron."]}),"\n",(0,i.jsxs)(s.li,{children:[(0,i.jsx)(s.a,{href:"/rx-storage-memory.html",children:"In-Memory"})," for tests or ephemeral data."]}),"\n"]}),"\n",(0,i.jsxs)(s.p,{children:["By choosing a suitable storage layer, you can adapt your zero-latency local first design to any runtime - web, ",(0,i.jsx)(s.a,{href:"/articles/mobile-database.html",children:"mobile"}),", or server-like contexts in ",(0,i.jsx)(s.a,{href:"/nodejs-database.html",children:"Node.js"}),"."]}),"\n",(0,i.jsx)(s.h2,{id:"performance-considerations",children:"Performance Considerations"}),"\n",(0,i.jsxs)(s.p,{children:["Performant local data operations are crucial for a zero-latency experience. According to the RxDB ",(0,i.jsx)(s.a,{href:"/rx-storage-performance.html",children:"storage performance overview"}),", differences in underlying storages can significantly impact throughput and latency. For instance, IndexedDB typically performs well across modern browsers, ",(0,i.jsx)(s.a,{href:"/rx-storage-opfs.html",children:"OPFS"})," offers improved throughput in supporting browsers, and ",(0,i.jsx)(s.a,{href:"/rx-storage-sqlite.html",children:"SQLite storage"})," (a premium plugin) often delivers near-native speed for mobile or desktop."]}),"\n",(0,i.jsx)(s.h3,{id:"offloading-work-from-the-main-thread",children:"Offloading Work from the Main Thread"}),"\n",(0,i.jsxs)(s.p,{children:["In a browser environment, you can move database operations into a Web Worker using the ",(0,i.jsx)(s.a,{href:"/rx-storage-worker.html",children:"Worker RxStorage plugin"}),". This approach lets you keep heavy data processing off the main thread, ensuring the UI remains smooth and responsive. Complex queries or large write operations no longer cause stuttering in the user interface."]}),"\n",(0,i.jsx)(s.h3,{id:"sharding-or-memory-mapped-storages",children:"Sharding or Memory-Mapped Storages"}),"\n",(0,i.jsxs)(s.p,{children:["For large datasets or high concurrency, advanced techniques like ",(0,i.jsx)(s.a,{href:"/rx-storage-sharding.html",children:"sharding"})," collections across multiple storages or leveraging a ",(0,i.jsx)(s.a,{href:"/rx-storage-memory-mapped.html",children:"memory-mapped"})," variant can further boost performance. By splitting data into smaller subsets or streaming it only as needed, you can scale to handle complex usage scenarios without compromising on the zero-latency user experience."]}),"\n",(0,i.jsx)(s.h2,{id:"follow-up",children:"Follow Up"}),"\n",(0,i.jsxs)(s.ul,{children:["\n",(0,i.jsxs)(s.li,{children:["Dive into the ",(0,i.jsx)(s.a,{href:"/quickstart.html",children:"RxDB Quickstart"})," to set up your own local first database."]}),"\n",(0,i.jsxs)(s.li,{children:["Explore ",(0,i.jsx)(s.a,{href:"/replication.html",children:"Replication Plugins"})," for syncing with platforms like ",(0,i.jsx)(s.a,{href:"/replication-couchdb.html",children:"CouchDB"}),", ",(0,i.jsx)(s.a,{href:"/articles/firestore-alternative.html",children:"Firestore"}),", or ",(0,i.jsx)(s.a,{href:"/replication-graphql.html",children:"GraphQL"}),"."]}),"\n",(0,i.jsxs)(s.li,{children:["Check out Advanced ",(0,i.jsx)(s.a,{href:"/transactions-conflicts-revisions.html",children:"Conflict Handling"})," and ",(0,i.jsx)(s.a,{href:"/rx-storage-performance.html",children:"Performance Tuning"})," for big data sets or complex multi-user interactions."]}),"\n",(0,i.jsxs)(s.li,{children:["Join the RxDB Community on ",(0,i.jsx)(s.a,{href:"/code/",children:"GitHub"})," and ",(0,i.jsx)(s.a,{href:"/chat/",children:"Discord"})," to share insights, file issues, and learn from other developers building zero-latency solutions."]}),"\n",(0,i.jsx)(s.li,{}),"\n"]}),"\n",(0,i.jsxs)(s.p,{children:["By integrating RxDB into your stack, you achieve millisecond interactions, full ",(0,i.jsx)(s.a,{href:"/offline-first.html",children:"offline capabilities"}),", secure data at rest, and minimal overhead for large or distributed teams. This zero-latency local first architecture is the future of modern software - delivering a fluid, always-available user experience without overcomplicating the developer workflow."]})]})}function h(e={}){const{wrapper:s}={...(0,o.R)(),...e.components};return s?(0,i.jsx)(s,{...e,children:(0,i.jsx)(d,{...e})}):d(e)}},8453(e,s,n){n.d(s,{R:()=>a,x:()=>l});var r=n(6540);const i={},o=r.createContext(i);function a(e){const s=r.useContext(o);return r.useMemo(function(){return"function"==typeof e?e(s):{...s,...e}},[s,e])}function l(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:a(e.components),r.createElement(o.Provider,{value:s},e.children)}}}]);
\ No newline at end of file
diff --git a/docs/assets/js/c3bc9c50.8e3aa667.js b/docs/assets/js/c3bc9c50.8e3aa667.js
deleted file mode 100644
index 85860adcc41..00000000000
--- a/docs/assets/js/c3bc9c50.8e3aa667.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(globalThis.webpackChunkrxdb=globalThis.webpackChunkrxdb||[]).push([[9167],{8097(e,a,n){n.r(a),n.d(a,{assets:()=>l,contentTitle:()=>o,default:()=>h,frontMatter:()=>t,metadata:()=>s,toc:()=>c});const s=JSON.parse('{"id":"articles/react-database","title":"RxDB as a Database for React Applications","description":"earn how the RxDB database supercharges React apps with offline access, real-time updates, and smooth data flow. Boost performance and engagement.","source":"@site/docs/articles/react-database.md","sourceDirName":"articles","slug":"/articles/react-database.html","permalink":"/articles/react-database.html","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"RxDB as a Database for React Applications","slug":"react-database.html","description":"earn how the RxDB database supercharges React apps with offline access, real-time updates, and smooth data flow. Boost performance and engagement."},"sidebar":"tutorialSidebar","previous":{"title":"RxDB as a Database for Progressive Web Apps (PWA)","permalink":"/articles/progressive-web-app-database.html"},"next":{"title":"What Really Is a Realtime Database?","permalink":"/articles/realtime-database.html"}}');var i=n(4848),r=n(8453);const t={title:"RxDB as a Database for React Applications",slug:"react-database.html",description:"earn how the RxDB database supercharges React apps with offline access, real-time updates, and smooth data flow. Boost performance and engagement."},o="RxDB as a Database for React Applications",l={},c=[{value:"Introducing RxDB as a JavaScript Database",id:"introducing-rxdb-as-a-javascript-database",level:2},{value:"What is RxDB?",id:"what-is-rxdb",level:2},{value:"Reactive Data Handling",id:"reactive-data-handling",level:3},{value:"Local-First Approach",id:"local-first-approach",level:3},{value:"Data Replication",id:"data-replication",level:3},{value:"Observable Queries",id:"observable-queries",level:3},{value:"Multi-Tab Support",id:"multi-tab-support",level:3},{value:"RxDB vs. Other React Database Options",id:"rxdb-vs-other-react-database-options",level:3},{value:"IndexedDB in React and the Advantage of RxDB",id:"indexeddb-in-react-and-the-advantage-of-rxdb",level:3},{value:"Using RxDB in a React Application",id:"using-rxdb-in-a-react-application",level:3},{value:"Using RxDB React Hooks",id:"using-rxdb-react-hooks",level:3},{value:"Different RxStorage Layers for RxDB",id:"different-rxstorage-layers-for-rxdb",level:3},{value:"Synchronizing Data with RxDB between Clients and Servers",id:"synchronizing-data-with-rxdb-between-clients-and-servers",level:3},{value:"Advanced RxDB Features and Techniques",id:"advanced-rxdb-features-and-techniques",level:3},{value:"Indexing and Performance Optimization",id:"indexing-and-performance-optimization",level:3},{value:"JSON Key Compression",id:"json-key-compression",level:3},{value:"Change Streams and Event Handling",id:"change-streams-and-event-handling",level:3},{value:"Conclusion",id:"conclusion",level:2},{value:"Follow Up",id:"follow-up",level:2}];function d(e){const a={a:"a",code:"code",figure:"figure",h1:"h1",h2:"h2",h3:"h3",header:"header",li:"li",p:"p",pre:"pre",span:"span",ul:"ul",...(0,r.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(a.header,{children:(0,i.jsx)(a.h1,{id:"rxdb-as-a-database-for-react-applications",children:"RxDB as a Database for React Applications"})}),"\n",(0,i.jsx)(a.p,{children:"In the rapidly evolving landscape of web development, React has emerged as a cornerstone technology for building dynamic and responsive user interfaces. With the increasing complexity of modern web applications, efficient data management becomes pivotal. This article delves into the integration of RxDB, a potent client-side database, with React applications to optimize data handling and elevate the overall user experience."}),"\n",(0,i.jsx)(a.p,{children:"React has revolutionized the way web applications are built by introducing a component-based architecture. This approach enables developers to create reusable UI components that efficiently update in response to changes in data. The virtual DOM mechanism, a key feature of React, facilitates optimized rendering, enhancing performance and user interactivity."}),"\n",(0,i.jsx)(a.p,{children:"While React excels at managing the user interface, the need for efficient data storage and retrieval mechanisms is equally significant. A client-side database brings several advantages to React applications:"}),"\n",(0,i.jsxs)(a.ul,{children:["\n",(0,i.jsx)(a.li,{children:"Improved Performance: Local data storage reduces the need for frequent server requests, resulting in faster data retrieval and enhanced application responsiveness."}),"\n",(0,i.jsx)(a.li,{children:"Offline Capabilities: A client-side database enables offline access to data, allowing users to interact with the application even when they are disconnected from the internet."}),"\n",(0,i.jsx)(a.li,{children:"Real-Time Updates: With the ability to observe changes in data, client-side databases facilitate real-time updates to the UI, ensuring users are always presented with the latest information."}),"\n",(0,i.jsx)(a.li,{children:"Reduced Server Load: By handling data operations locally, client-side databases alleviate the load on the server, contributing to a more scalable architecture."}),"\n"]}),"\n",(0,i.jsx)(a.h2,{id:"introducing-rxdb-as-a-javascript-database",children:"Introducing RxDB as a JavaScript Database"}),"\n",(0,i.jsx)(a.p,{children:"RxDB, a powerful JavaScript database, has garnered attention as an optimal solution for managing data in React applications. Built on top of the IndexedDB standard, RxDB combines the principles of reactive programming with database management. Its core features include reactive data handling, offline-first capabilities, and robust data replication."}),"\n",(0,i.jsx)("center",{children:(0,i.jsx)("a",{href:"https://rxdb.info/",children:(0,i.jsx)("img",{src:"../files/logo/rxdb_javascript_database.svg",alt:"JavaScript React Database",width:"221"})})}),"\n",(0,i.jsx)(a.h2,{id:"what-is-rxdb",children:"What is RxDB?"}),"\n",(0,i.jsx)(a.p,{children:"RxDB, short for Reactive Database, is an open-source JavaScript database that seamlessly integrates reactive programming with database operations. It offers a comprehensive API for performing database actions and synchronizing data across clients and servers. RxDB's underlying philosophy revolves around observables, allowing developers to reactively manage data changes and create dynamic user interfaces."}),"\n",(0,i.jsx)(a.h3,{id:"reactive-data-handling",children:"Reactive Data Handling"}),"\n",(0,i.jsx)(a.p,{children:"One of RxDB's standout features is its support for reactive data handling. Traditional databases often require manual intervention for data fetching and updating, leading to complex and error-prone code. RxDB, however, automatically notifies subscribers whenever data changes occur, eliminating the need for explicit data manipulation. This reactive approach simplifies code and enhances the responsiveness of React components."}),"\n",(0,i.jsx)(a.h3,{id:"local-first-approach",children:"Local-First Approach"}),"\n",(0,i.jsxs)(a.p,{children:["RxDB embraces a ",(0,i.jsx)(a.a,{href:"/offline-first.html",children:"local-first"})," methodology, enabling applications to function seamlessly even in offline scenarios. By storing data locally, RxDB ensures that users can interact with the application and make updates regardless of internet connectivity. Once the connection is reestablished, RxDB synchronizes the local changes with the remote database, maintaining data consistency across devices."]}),"\n",(0,i.jsx)(a.h3,{id:"data-replication",children:"Data Replication"}),"\n",(0,i.jsx)(a.p,{children:"Data replication is a cornerstone of modern applications that require synchronization between multiple clients and servers. RxDB provides robust data replication mechanisms that facilitate real-time synchronization between different instances of the database. This ensures that changes made on one client are promptly propagated to others, contributing to a cohesive and unified user experience."}),"\n",(0,i.jsx)(a.h3,{id:"observable-queries",children:"Observable Queries"}),"\n",(0,i.jsx)(a.p,{children:"RxDB extends the concept of observables beyond data changes. It introduces observable queries, allowing developers to observe the results of database queries. This feature enables automatic updates to query results whenever relevant data changes occur. Observable queries simplify state management by eliminating the need to manually trigger updates in response to changing data."}),"\n",(0,i.jsx)(a.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(a.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(a.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(a.span,{"data-line":"",children:[(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-keyword)"},children:"await"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-function)"},children:"."}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-constant)"},children:"heroes"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-function)"},children:".find"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(a.span,{"data-line":"",children:[(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:" selector"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(a.span,{"data-line":"",children:[(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:" healthpoints"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(a.span,{"data-line":"",children:[(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:" $gt"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-constant)"},children:" 0"})]}),"\n",(0,i.jsx)(a.span,{"data-line":"",children:(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(a.span,{"data-line":"",children:(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:" }"})}),"\n",(0,i.jsx)(a.span,{"data-line":"",children:(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:"})"})}),"\n",(0,i.jsxs)(a.span,{"data-line":"",children:[(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:".$ "}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-comment)"},children:"// the $ returns an observable that emits each time the result set of the query changes"})]}),"\n",(0,i.jsxs)(a.span,{"data-line":"",children:[(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-function)"},children:".subscribe"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:"(aliveHeroes "}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-constant)"},children:" console"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-function)"},children:".dir"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:"(aliveHeroes));"})]})]})})}),"\n",(0,i.jsx)(a.h3,{id:"multi-tab-support",children:"Multi-Tab Support"}),"\n",(0,i.jsx)(a.p,{children:"Web applications often operate in multiple browser tabs or windows. RxDB accommodates this scenario by offering built-in multi-tab support. It ensures that data changes made in one tab are efficiently propagated to other tabs, maintaining data consistency and providing a seamless experience for users interacting with the application across different tabs."}),"\n",(0,i.jsx)("p",{align:"center",children:(0,i.jsx)("img",{src:"../files/multiwindow.gif",alt:"multi tab support",width:"450"})}),"\n",(0,i.jsx)(a.h3,{id:"rxdb-vs-other-react-database-options",children:"RxDB vs. Other React Database Options"}),"\n",(0,i.jsx)(a.p,{children:"While considering database options for React applications, RxDB stands out due to its unique combination of reactive programming and database capabilities. Unlike traditional solutions such as IndexedDB or Web Storage, which provide basic data storage, RxDB offers a dedicated database solution with advanced features. Additionally, while state management libraries like Redux and MobX can be adapted for database use, RxDB provides an integrated solution specifically designed for handling data."}),"\n",(0,i.jsx)(a.h3,{id:"indexeddb-in-react-and-the-advantage-of-rxdb",children:"IndexedDB in React and the Advantage of RxDB"}),"\n",(0,i.jsxs)(a.p,{children:["Using IndexedDB directly in React can be challenging due to its low-level, callback-based API which doesn't align neatly with modern React's Promise and async/await patterns. This intricacy often leads to bulky and complex implementations for developers. Also, when used wrong, IndexedDB can have a worse ",(0,i.jsx)(a.a,{href:"/slow-indexeddb.html",children:"performance profile"})," then it could have. In contrast, RxDB, with the ",(0,i.jsx)(a.a,{href:"/rx-storage-indexeddb.html",children:"IndexedDB RxStorage"})," and the ",(0,i.jsx)(a.a,{href:"/rx-storage-localstorage.html",children:"LocalStorage RxStorage"}),", abstracts these complexities, integrating reactive programming and providing a more streamlined experience for data management in React applications. Thus, RxDB offers a more intuitive approach, eliminating much of the manual overhead required with IndexedDB."]}),"\n",(0,i.jsx)(a.h3,{id:"using-rxdb-in-a-react-application",children:"Using RxDB in a React Application"}),"\n",(0,i.jsxs)(a.p,{children:["The process of integrating RxDB into a React application is straightforward. Begin by installing RxDB as a dependency:\n",(0,i.jsx)(a.code,{children:"npm install rxdb rxjs"}),"\nOnce installed, RxDB can be imported and initialized within your React components. The following code snippet illustrates a basic setup:"]}),"\n",(0,i.jsx)(a.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(a.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"javascript","data-theme":"css-variables",children:(0,i.jsxs)(a.code,{"data-language":"javascript","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(a.span,{"data-line":"",children:[(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:" { createRxDatabase } "}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb'"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsxs)(a.span,{"data-line":"",children:[(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-keyword)"},children:"import"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:" { getRxStorageLocalstorage } "}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-keyword)"},children:"from"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'rxdb/plugins/storage-localstorage'"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(a.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(a.span,{"data-line":"",children:[(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-constant)"},children:" db"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-keyword)"},children:" await"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-function)"},children:" createRxDatabase"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:"({"})]}),"\n",(0,i.jsxs)(a.span,{"data-line":"",children:[(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:" name"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'heroesdb'"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-comment)"},children:" // <- name"})]}),"\n",(0,i.jsxs)(a.span,{"data-line":"",children:[(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:" storage"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-function)"},children:" getRxStorageLocalstorage"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:"()"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-comment)"},children:" // <- RxStorage"})]}),"\n",(0,i.jsxs)(a.span,{"data-line":"",children:[(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:" password"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'myPassword'"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-comment)"},children:" // <- password (optional)"})]}),"\n",(0,i.jsxs)(a.span,{"data-line":"",children:[(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:" multiInstance"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-constant)"},children:" true"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-comment)"},children:" // <- multiInstance (optional, default: true)"})]}),"\n",(0,i.jsxs)(a.span,{"data-line":"",children:[(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:" eventReduce"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-constant)"},children:" true"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-comment)"},children:" // <- eventReduce (optional, default: false)"})]}),"\n",(0,i.jsxs)(a.span,{"data-line":"",children:[(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:" cleanupPolicy"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:" {} "}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-comment)"},children:"// <- custom cleanup policy (optional) "})]}),"\n",(0,i.jsx)(a.span,{"data-line":"",children:(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:"});"})})]})})}),"\n",(0,i.jsx)(a.h3,{id:"using-rxdb-react-hooks",children:"Using RxDB React Hooks"}),"\n",(0,i.jsxs)(a.p,{children:["The ",(0,i.jsx)(a.a,{href:"https://github.com/cvara/rxdb-hooks",children:"rxdb-hooks"})," package provides a set of React hooks that simplify data management within components. These hooks leverage RxDB's reactivity to automatically update components when data changes occur. The following example demonstrates the usage of the ",(0,i.jsx)(a.code,{children:"useRxCollection"})," and ",(0,i.jsx)(a.code,{children:"useRxQuery"})," hooks to query and observe a collection:"]}),"\n",(0,i.jsx)(a.figure,{"data-rehype-pretty-code-figure":"",children:(0,i.jsx)(a.pre,{style:{backgroundColor:"var(--shiki-background)",color:"var(--shiki-foreground)"},tabIndex:"0","data-language":"ts","data-theme":"css-variables",children:(0,i.jsxs)(a.code,{"data-language":"ts","data-theme":"css-variables",style:{display:"grid"},children:[(0,i.jsxs)(a.span,{"data-line":"",children:[(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-constant)"},children:" collection"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-function)"},children:" useRxCollection"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'characters'"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,i.jsxs)(a.span,{"data-line":"",children:[(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-constant)"},children:" query"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-keyword)"},children:" ="}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-constant)"},children:" collection"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-function)"},children:".find"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:"()"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-function)"},children:".where"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'affiliation'"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:")"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-function)"},children:".equals"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:"("}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-string-expression)"},children:"'Jedi'"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:");"})]}),"\n",(0,i.jsxs)(a.span,{"data-line":"",children:[(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-keyword)"},children:"const"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(a.span,{"data-line":"",children:[(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:" result: "}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-constant)"},children:"characters"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(a.span,{"data-line":"",children:[(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-constant)"},children:" isFetching"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(a.span,{"data-line":"",children:[(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-constant)"},children:" fetchMore"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(a.span,{"data-line":"",children:[(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-constant)"},children:" isExhausted"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(a.span,{"data-line":"",children:[(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:"} "}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-function)"},children:" useRxQuery"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:"(query"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:" {"})]}),"\n",(0,i.jsxs)(a.span,{"data-line":"",children:[(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:" pageSize"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-constant)"},children:" 5"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsxs)(a.span,{"data-line":"",children:[(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:" pagination"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-keyword)"},children:":"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'Infinite'"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-punctuation)"},children:","})]}),"\n",(0,i.jsx)(a.span,{"data-line":"",children:(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:"});"})}),"\n",(0,i.jsx)(a.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(a.span,{"data-line":"",children:[(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-keyword)"},children:"if"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:" (isFetching) {"})]}),"\n",(0,i.jsxs)(a.span,{"data-line":"",children:[(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-keyword)"},children:" return"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-string-expression)"},children:" 'Loading...'"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:";"})]}),"\n",(0,i.jsx)(a.span,{"data-line":"",children:(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:"}"})}),"\n",(0,i.jsx)(a.span,{"data-line":"",children:" "}),"\n",(0,i.jsxs)(a.span,{"data-line":"",children:[(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-keyword)"},children:"return"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:" ("})]}),"\n",(0,i.jsxs)(a.span,{"data-line":"",children:[(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:" <"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-function)"},children:"CharacterList"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:">"})]}),"\n",(0,i.jsxs)(a.span,{"data-line":"",children:[(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:" {characters.map((character"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-punctuation)"},children:","}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:" index) "}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-keyword)"},children:"=>"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:" ("})]}),"\n",(0,i.jsxs)(a.span,{"data-line":"",children:[(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-keyword)"},children:" <"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:"Character character"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:"{character} key"}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-keyword)"},children:"="}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:"{index} "}),(0,i.jsx)(a.span,{style:{color:"var(--shiki-token-keyword)"},children:"/>"})]}),"\n",(0,i.jsx)(a.span,{"data-line":"",children:(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:" ))}"})}),"\n",(0,i.jsxs)(a.span,{"data-line":"",children:[(0,i.jsx)(a.span,{style:{color:"var(--shiki-foreground)"},children:" {!isExhausted && !0===e.exact))return z.set(e.pathname,e.pathname),e;const t=e.pathname.trim().replace(/(?:\/index)?\.html$/,"")||"/";return z.set(e.pathname,t),{...e,pathname:t}}((0,d.zy)());return(0,y.jsx)(G,{location:e,children:ne})}function oe(){return(0,y.jsx)(J.A,{children:(0,y.jsx)(B.l,{children:(0,y.jsxs)(D.x,{children:[(0,y.jsx)(w,{children:(0,y.jsxs)(j,{children:[(0,y.jsx)(Z,{}),(0,y.jsx)(F,{}),(0,y.jsx)(Q,{}),(0,y.jsx)(re,{})]})}),(0,y.jsx)(te,{})]})})})}var ae=n(4054);const ie=function(e){try{return document.createElement("link").relList.supports(e)}catch{return!1}}("prefetch")?function(e){return new Promise((t,n)=>{if("undefined"==typeof document)return void n();const r=document.createElement("link");r.setAttribute("rel","prefetch"),r.setAttribute("href",e),r.onload=()=>t(),r.onerror=()=>n();const o=document.getElementsByTagName("head")[0]??document.getElementsByName("script")[0]?.parentNode;o?.appendChild(r)})}:function(e){return new Promise((t,n)=>{const r=new XMLHttpRequest;r.open("GET",e,!0),r.withCredentials=!0,r.onload=()=>{200===r.status?t():n()},r.send(null)})};var le=n(6921);const se=new Set,ce=new Set,ue=()=>navigator.connection?.effectiveType.includes("2g")||navigator.connection?.saveData,de={prefetch:e=>{if(!(e=>!ue()&&!ce.has(e)&&!se.has(e))(e))return!1;se.add(e);const t=(0,f.u)(u.A,e).flatMap(e=>{return t=e.route.path,Object.entries(ae).filter(([e])=>e.replace(/-[^-]+$/,"")===t).flatMap(([,e])=>Object.values((0,le.A)(e)));var t});return Promise.all(t.map(e=>{const t=n.gca(e);return t&&!t.includes("undefined")?ie(t).catch(()=>{}):Promise.resolve()}))},preload:e=>!!(e=>!ue()&&!ce.has(e))(e)&&(ce.add(e),q(e))},fe=Object.freeze(de);function pe({children:e}){return"hash"===l.default.future.experimental_router?(0,y.jsx)(i.I9,{children:e}):(0,y.jsx)(i.Kd,{children:e})}const he=Boolean(!0);if(s.A.canUseDOM){window.docusaurus=fe;const e=document.getElementById("__docusaurus"),t=(0,y.jsx)(a.vd,{children:(0,y.jsx)(pe,{children:(0,y.jsx)(oe,{})})}),n=(e,t)=>{console.error("Docusaurus React Root onRecoverableError:",e,t)},i=()=>{if(window.docusaurusRoot)window.docusaurusRoot.render(t);else if(he)window.docusaurusRoot=o.hydrateRoot(e,t,{onRecoverableError:n});else{const r=o.createRoot(e,{onRecoverableError:n});r.render(t),window.docusaurusRoot=r}};q(window.location.pathname).then(()=>{(0,r.startTransition)(i)})}},6025(e,t,n){"use strict";n.d(t,{Ay:()=>l,hH:()=>i});var r=n(6540),o=n(4586),a=n(6654);function i(){const{siteConfig:e}=(0,o.A)(),{baseUrl:t,url:n}=e,i=e.future.experimental_router,l=(0,r.useCallback)((e,r)=>function({siteUrl:e,baseUrl:t,url:n,options:{forcePrependBaseUrl:r=!1,absolute:o=!1}={},router:i}){if(!n||n.startsWith("#")||(0,a.z)(n))return n;if("hash"===i)return n.startsWith("/")?`.${n}`:`./${n}`;if(r)return t+n.replace(/^\//,"");if(n===t.replace(/\/$/,""))return t;const l=n.startsWith(t)?n:t+n.replace(/^\//,"");return o?e+l:l}({siteUrl:n,baseUrl:t,url:e,options:r,router:i}),[n,t,i]);return{withBaseUrl:l}}function l(e,t={}){const{withBaseUrl:n}=i();return n(e,t)}},6125(e,t,n){"use strict";n.d(t,{o:()=>a,x:()=>i});var r=n(6540),o=n(4848);const a=r.createContext(!1);function i({children:e}){const[t,n]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{n(!0)},[]),(0,o.jsx)(a.Provider,{value:t,children:e})}},6221(e,t,n){"use strict";var r=n(6540);function o(e){var t="https://react.dev/errors/"+e;if(1a});var r=n(5947),o=n.n(r);o().configure({showSpinner:!1});const a={onRouteUpdate({location:e,previousLocation:t}){if(t&&e.pathname!==t.pathname){const e=window.setTimeout(()=>{o().start()},200);return()=>window.clearTimeout(e)}},onRouteDidUpdate(){o().done()}}},6342(e,t,n){"use strict";n.d(t,{p:()=>o});var r=n(4586);function o(){return(0,r.A)().siteConfig.themeConfig}},6347(e,t,n){"use strict";n.d(t,{B6:()=>k,Ix:()=>y,W6:()=>A,XZ:()=>v,dO:()=>T,qh:()=>S,zy:()=>N});var r=n(7387),o=n(6540),a=n(5556),i=n.n(a),l=n(1513),s=n(1561),c=n(8168),u=n(5302),d=n.n(u),f=(n(7564),n(8587)),p=(n(4146),1073741823),h="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:{};var m=o.createContext||function(e,t){var n,a,l="__create-react-context-"+function(){var e="__global_unique_id__";return h[e]=(h[e]||0)+1}()+"__",s=function(e){function n(){for(var t,n,r,o=arguments.length,a=new Array(o),i=0;ia});var r=n(6540),o=n(4848);function a(e){const t=!!e.img,[n,a]=(0,r.useState)(!1);return(0,o.jsxs)("div",{style:{display:"inline-flex",alignItems:"center",verticalAlign:"bottom",background:n?"#fff":e.dark?"var(--bg-color)":"var(--bg-color-dark)",height:e.border?37:41,paddingTop:0,paddingBottom:0,borderRadius:20,textAlign:"center",color:n?e.dark?"var(--bg-color-dark)":"var(--bg-color)":"white",width:"auto",fontWeight:t?800:500,whiteSpace:"nowrap",boxSizing:"border-box",userSelect:"none",border:e.border?"2px solid var(--White, #FFF)":"none",transition:"all 0.2s ease-in-out",lineHeight:"100%"},className:"margin-right-10-6 "+(e.wideMode?"font-20-14":"font-16-14")+" "+(e.wideMode?"padding-side-16-12":"padding-side-10-12")+" "+(e.wideMode?"margin-bottom-16-10":"margin-bottom-12"),onMouseEnter:()=>a(!0),onMouseLeave:()=>a(!1),children:[t&&("string"==typeof e.img?(0,o.jsx)("img",{draggable:!1,src:e.img,loading:"lazy",alt:"",className:e.wideMode?"margin-right-8":"margin-right-6-8",style:{height:"60%",width:24,marginRight:6,display:"block",objectFit:"contain",filter:n?"invert(1)":void 0,transition:"filter 0.2s ease-in-out"}}):(0,o.jsx)("span",{className:e.wideMode?"margin-right-8":"margin-right-6-8",style:{height:"60%",width:24,marginRight:6,display:"block",objectFit:"contain",alignItems:"center",filter:n?"invert(1)":void 0,transition:"filter 0.2s ease-in-out"},children:e.img})),(0,o.jsx)("div",{style:{display:"flex"},children:e.children})]})}},6540(e,t,n){"use strict";e.exports=n(9869)},6588(e,t,n){"use strict";n.d(t,{P_:()=>i,kh:()=>a});var r=n(4586),o=n(7065);function a(e,t={}){const n=function(){const{globalData:e}=(0,r.A)();return e}()[e];if(!n&&t.failfast)throw new Error(`Docusaurus plugin global data not found for "${e}" plugin.`);return n}function i(e,t=o.W,n={}){const r=a(e),i=r?.[t];if(!i&&n.failfast)throw new Error(`Docusaurus plugin global data not found for "${e}" plugin with id "${t}".`);return i}},6654(e,t,n){"use strict";function r(e){return/^(?:\w*:|\/\/)/.test(e)}function o(e){return void 0!==e&&!r(e)}n.d(t,{A:()=>o,z:()=>r})},6662(e,t,n){"use strict";n.d(t,{L:()=>a,u:()=>o});var r=n(4848);function o({size:e=50,onClick:t}){const n={container:{width:e,height:e,borderRadius:"50%",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",userSelect:"none",border:"2px solid var(--White, #FFF)",background:"linear-gradient(90deg, #ED168F 0%, #B2218B 100%)"},icon:{width:15,display:"block"}};return(0,r.jsx)("div",{onClick:t,children:(0,r.jsx)(a,{style:n.container})})}function a({style:e,className:t}){return(0,r.jsx)("div",{style:e,className:t,children:(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"25",viewBox:"0 0 15 25",fill:"none",style:{marginLeft:3,height:"100%"},children:(0,r.jsx)("path",{d:"M10 10V5H5V0H0V5V20V25H5V20H10V15H15V10H10Z",fill:"white"})})})}},6712(e,t,n){"use strict";n.d(t,{m:()=>a});var r=n(2236),o=n(2332);function a(e){o.f.setTimeout(function(){var t=r.$.onUnhandledError;if(!t)throw e;t(e)})}},6803(e,t,n){"use strict";n.d(t,{A:()=>a});var r=n(6540),o=n(3102);function a(){const e=r.useContext(o.o);if(!e)throw new Error("Unexpected: no Docusaurus route context found");return e}},6921(e,t,n){"use strict";n.d(t,{A:()=>r});function r(e){const t={};return function e(n,r){Object.entries(n).forEach(([n,o])=>{const a=r?`${r}.${n}`:n;var i;"object"==typeof(i=o)&&i&&Object.keys(i).length>0?e(o,a):t[a]=o})}(e),t}},6925(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},6942(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e="",t=0;td,l:()=>f});var r=n(6540),o=n(4784);const a=JSON.parse('{"docusaurus-plugin-content-docs":{"default":{"path":"/","versions":[{"name":"current","label":"Next","isLast":true,"path":"/","mainDocId":"overview","docs":[{"id":"adapters","path":"/adapters.html"},{"id":"alternatives","path":"/alternatives.html","sidebar":"tutorialSidebar"},{"id":"articles/angular-database","path":"/articles/angular-database.html","sidebar":"tutorialSidebar"},{"id":"articles/angular-indexeddb","path":"/articles/angular-indexeddb.html","sidebar":"tutorialSidebar"},{"id":"articles/browser-database","path":"/articles/browser-database.html","sidebar":"tutorialSidebar"},{"id":"articles/browser-storage","path":"/articles/browser-storage.html","sidebar":"tutorialSidebar"},{"id":"articles/data-base","path":"/articles/data-base.html","sidebar":"tutorialSidebar"},{"id":"articles/embedded-database","path":"/articles/embedded-database.html","sidebar":"tutorialSidebar"},{"id":"articles/firebase-realtime-database-alternative","path":"/articles/firebase-realtime-database-alternative.html","sidebar":"tutorialSidebar"},{"id":"articles/firestore-alternative","path":"/articles/firestore-alternative.html","sidebar":"tutorialSidebar"},{"id":"articles/flutter-database","path":"/articles/flutter-database.html","sidebar":"tutorialSidebar"},{"id":"articles/frontend-database","path":"/articles/frontend-database.html","sidebar":"tutorialSidebar"},{"id":"articles/ideas","path":"/articles/ideas"},{"id":"articles/in-memory-nosql-database","path":"/articles/in-memory-nosql-database.html","sidebar":"tutorialSidebar"},{"id":"articles/indexeddb-max-storage-limit","path":"/articles/indexeddb-max-storage-limit.html","sidebar":"tutorialSidebar"},{"id":"articles/ionic-database","path":"/articles/ionic-database.html","sidebar":"tutorialSidebar"},{"id":"articles/ionic-storage","path":"/articles/ionic-storage.html","sidebar":"tutorialSidebar"},{"id":"articles/javascript-vector-database","path":"/articles/javascript-vector-database.html","sidebar":"tutorialSidebar"},{"id":"articles/jquery-database","path":"/articles/jquery-database.html","sidebar":"tutorialSidebar"},{"id":"articles/json-based-database","path":"/articles/json-based-database.html","sidebar":"tutorialSidebar"},{"id":"articles/json-database","path":"/articles/json-database.html","sidebar":"tutorialSidebar"},{"id":"articles/local-database","path":"/articles/local-database.html","sidebar":"tutorialSidebar"},{"id":"articles/local-first-future","path":"/articles/local-first-future.html","sidebar":"tutorialSidebar"},{"id":"articles/localstorage","path":"/articles/localstorage.html","sidebar":"tutorialSidebar"},{"id":"articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm","path":"/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm.html","sidebar":"tutorialSidebar"},{"id":"articles/mobile-database","path":"/articles/mobile-database.html","sidebar":"tutorialSidebar"},{"id":"articles/offline-database","path":"/articles/offline-database.html","sidebar":"tutorialSidebar"},{"id":"articles/optimistic-ui","path":"/articles/optimistic-ui.html","sidebar":"tutorialSidebar"},{"id":"articles/progressive-web-app-database","path":"/articles/progressive-web-app-database.html","sidebar":"tutorialSidebar"},{"id":"articles/react-database","path":"/articles/react-database.html","sidebar":"tutorialSidebar"},{"id":"articles/react-indexeddb","path":"/articles/react-indexeddb.html","sidebar":"tutorialSidebar"},{"id":"articles/react-native-encryption","path":"/articles/react-native-encryption.html","sidebar":"tutorialSidebar"},{"id":"articles/reactjs-storage","path":"/articles/reactjs-storage.html","sidebar":"tutorialSidebar"},{"id":"articles/realtime-database","path":"/articles/realtime-database.html","sidebar":"tutorialSidebar"},{"id":"articles/vue-database","path":"/articles/vue-database.html","sidebar":"tutorialSidebar"},{"id":"articles/vue-indexeddb","path":"/articles/vue-indexeddb.html","sidebar":"tutorialSidebar"},{"id":"articles/websockets-sse-polling-webrtc-webtransport","path":"/articles/websockets-sse-polling-webrtc-webtransport.html","sidebar":"tutorialSidebar"},{"id":"articles/zero-latency-local-first","path":"/articles/zero-latency-local-first.html","sidebar":"tutorialSidebar"},{"id":"backup","path":"/backup.html","sidebar":"tutorialSidebar"},{"id":"capacitor-database","path":"/capacitor-database.html","sidebar":"tutorialSidebar"},{"id":"cleanup","path":"/cleanup.html","sidebar":"tutorialSidebar"},{"id":"contribute","path":"/contribution.html","sidebar":"tutorialSidebar"},{"id":"crdt","path":"/crdt.html","sidebar":"tutorialSidebar"},{"id":"data-migration","path":"/data-migration.html"},{"id":"dev-mode","path":"/dev-mode.html","sidebar":"tutorialSidebar"},{"id":"downsides-of-offline-first","path":"/downsides-of-offline-first.html","sidebar":"tutorialSidebar"},{"id":"electron","path":"/electron.html","sidebar":"tutorialSidebar"},{"id":"electron-database","path":"/electron-database.html","sidebar":"tutorialSidebar"},{"id":"encryption","path":"/encryption.html","sidebar":"tutorialSidebar"},{"id":"errors","path":"/errors.html","sidebar":"tutorialSidebar"},{"id":"fulltext-search","path":"/fulltext-search.html","sidebar":"tutorialSidebar"},{"id":"install","path":"/install.html","sidebar":"tutorialSidebar"},{"id":"key-compression","path":"/key-compression.html","sidebar":"tutorialSidebar"},{"id":"leader-election","path":"/leader-election.html","sidebar":"tutorialSidebar"},{"id":"logger","path":"/logger.html","sidebar":"tutorialSidebar"},{"id":"middleware","path":"/middleware.html","sidebar":"tutorialSidebar"},{"id":"migration-schema","path":"/migration-schema.html","sidebar":"tutorialSidebar"},{"id":"migration-storage","path":"/migration-storage.html","sidebar":"tutorialSidebar"},{"id":"nodejs-database","path":"/nodejs-database.html","sidebar":"tutorialSidebar"},{"id":"nosql-performance-tips","path":"/nosql-performance-tips.html","sidebar":"tutorialSidebar"},{"id":"offline-first","path":"/offline-first.html","sidebar":"tutorialSidebar"},{"id":"orm","path":"/orm.html","sidebar":"tutorialSidebar"},{"id":"overview","path":"/overview.html","sidebar":"tutorialSidebar"},{"id":"plugins","path":"/plugins.html","sidebar":"tutorialSidebar"},{"id":"population","path":"/population.html","sidebar":"tutorialSidebar"},{"id":"query-cache","path":"/query-cache.html","sidebar":"tutorialSidebar"},{"id":"query-optimizer","path":"/query-optimizer.html","sidebar":"tutorialSidebar"},{"id":"quickstart","path":"/quickstart.html","sidebar":"tutorialSidebar"},{"id":"react","path":"/react.html","sidebar":"tutorialSidebar"},{"id":"react-native-database","path":"/react-native-database.html","sidebar":"tutorialSidebar"},{"id":"reactivity","path":"/reactivity.html","sidebar":"tutorialSidebar"},{"id":"releases/10.0.0","path":"/releases/10.0.0.html","sidebar":"tutorialSidebar"},{"id":"releases/11.0.0","path":"/releases/11.0.0.html","sidebar":"tutorialSidebar"},{"id":"releases/12.0.0","path":"/releases/12.0.0.html","sidebar":"tutorialSidebar"},{"id":"releases/13.0.0","path":"/releases/13.0.0.html","sidebar":"tutorialSidebar"},{"id":"releases/14.0.0","path":"/releases/14.0.0.html","sidebar":"tutorialSidebar"},{"id":"releases/15.0.0","path":"/releases/15.0.0.html","sidebar":"tutorialSidebar"},{"id":"releases/16.0.0","path":"/releases/16.0.0.html","sidebar":"tutorialSidebar"},{"id":"releases/17.0.0","path":"/releases/17.0.0.html","sidebar":"tutorialSidebar"},{"id":"releases/8.0.0","path":"/releases/8.0.0.html","sidebar":"tutorialSidebar"},{"id":"releases/9.0.0","path":"/releases/9.0.0.html","sidebar":"tutorialSidebar"},{"id":"replication","path":"/replication.html","sidebar":"tutorialSidebar"},{"id":"replication-appwrite","path":"/replication-appwrite.html","sidebar":"tutorialSidebar"},{"id":"replication-couchdb","path":"/replication-couchdb.html","sidebar":"tutorialSidebar"},{"id":"replication-firestore","path":"/replication-firestore.html","sidebar":"tutorialSidebar"},{"id":"replication-graphql","path":"/replication-graphql.html","sidebar":"tutorialSidebar"},{"id":"replication-http","path":"/replication-http.html","sidebar":"tutorialSidebar"},{"id":"replication-mongodb","path":"/replication-mongodb.html","sidebar":"tutorialSidebar"},{"id":"replication-nats","path":"/replication-nats.html","sidebar":"tutorialSidebar"},{"id":"replication-p2p","path":"/replication-p2p.html"},{"id":"replication-server","path":"/replication-server.html","sidebar":"tutorialSidebar"},{"id":"replication-supabase","path":"/replication-supabase.html","sidebar":"tutorialSidebar"},{"id":"replication-webrtc","path":"/replication-webrtc.html","sidebar":"tutorialSidebar"},{"id":"replication-websocket","path":"/replication-websocket.html","sidebar":"tutorialSidebar"},{"id":"rx-attachment","path":"/rx-attachment.html","sidebar":"tutorialSidebar"},{"id":"rx-collection","path":"/rx-collection.html","sidebar":"tutorialSidebar"},{"id":"rx-database","path":"/rx-database.html","sidebar":"tutorialSidebar"},{"id":"rx-document","path":"/rx-document.html","sidebar":"tutorialSidebar"},{"id":"rx-local-document","path":"/rx-local-document.html","sidebar":"tutorialSidebar"},{"id":"rx-pipeline","path":"/rx-pipeline.html","sidebar":"tutorialSidebar"},{"id":"rx-query","path":"/rx-query.html","sidebar":"tutorialSidebar"},{"id":"rx-schema","path":"/rx-schema.html","sidebar":"tutorialSidebar"},{"id":"rx-server","path":"/rx-server.html","sidebar":"tutorialSidebar"},{"id":"rx-server-scaling","path":"/rx-server-scaling.html","sidebar":"tutorialSidebar"},{"id":"rx-state","path":"/rx-state.html","sidebar":"tutorialSidebar"},{"id":"rx-storage","path":"/rx-storage.html","sidebar":"tutorialSidebar"},{"id":"rx-storage-denokv","path":"/rx-storage-denokv.html","sidebar":"tutorialSidebar"},{"id":"rx-storage-dexie","path":"/rx-storage-dexie.html","sidebar":"tutorialSidebar"},{"id":"rx-storage-filesystem-node","path":"/rx-storage-filesystem-node.html","sidebar":"tutorialSidebar"},{"id":"rx-storage-foundationdb","path":"/rx-storage-foundationdb.html","sidebar":"tutorialSidebar"},{"id":"rx-storage-indexeddb","path":"/rx-storage-indexeddb.html","sidebar":"tutorialSidebar"},{"id":"rx-storage-localstorage","path":"/rx-storage-localstorage.html","sidebar":"tutorialSidebar"},{"id":"rx-storage-localstorage-meta-optimizer","path":"/rx-storage-localstorage-meta-optimizer.html","sidebar":"tutorialSidebar"},{"id":"rx-storage-lokijs","path":"/rx-storage-lokijs.html"},{"id":"rx-storage-memory","path":"/rx-storage-memory.html","sidebar":"tutorialSidebar"},{"id":"rx-storage-memory-mapped","path":"/rx-storage-memory-mapped.html","sidebar":"tutorialSidebar"},{"id":"rx-storage-memory-synced","path":"/rx-storage-memory-synced.html"},{"id":"rx-storage-mongodb","path":"/rx-storage-mongodb.html","sidebar":"tutorialSidebar"},{"id":"rx-storage-opfs","path":"/rx-storage-opfs.html","sidebar":"tutorialSidebar"},{"id":"rx-storage-performance","path":"/rx-storage-performance.html","sidebar":"tutorialSidebar"},{"id":"rx-storage-pouchdb","path":"/rx-storage-pouchdb.html"},{"id":"rx-storage-remote","path":"/rx-storage-remote.html","sidebar":"tutorialSidebar"},{"id":"rx-storage-sharding","path":"/rx-storage-sharding.html","sidebar":"tutorialSidebar"},{"id":"rx-storage-shared-worker","path":"/rx-storage-shared-worker.html","sidebar":"tutorialSidebar"},{"id":"rx-storage-sqlite","path":"/rx-storage-sqlite.html","sidebar":"tutorialSidebar"},{"id":"rx-storage-worker","path":"/rx-storage-worker.html","sidebar":"tutorialSidebar"},{"id":"rxdb-tradeoffs","path":"/rxdb-tradeoffs.html"},{"id":"schema-validation","path":"/schema-validation.html","sidebar":"tutorialSidebar"},{"id":"slow-indexeddb","path":"/slow-indexeddb.html","sidebar":"tutorialSidebar"},{"id":"third-party-plugins","path":"/third-party-plugins.html","sidebar":"tutorialSidebar"},{"id":"transactions-conflicts-revisions","path":"/transactions-conflicts-revisions.html","sidebar":"tutorialSidebar"},{"id":"tutorials/typescript","path":"/tutorials/typescript.html","sidebar":"tutorialSidebar"},{"id":"why-nosql","path":"/why-nosql.html","sidebar":"tutorialSidebar"}],"draftIds":[],"sidebars":{"tutorialSidebar":{"link":{"path":"/overview.html","label":"Overview"}}}}],"breadcrumbs":false}},"docusaurus-plugin-google-gtag":{"default":{"trackingID":["G-62D63SY3S0"],"anonymizeIP":false,"id":"default"}},"docusaurus-plugin-google-tag-manager":{"default":{"containerId":"GTM-PL63TR5","id":"default"}},"docusaurus-lunr-search":{"default":{"fileNames":{"searchDoc":"search-doc-1769435561373.json","lunrIndex":"lunr-index-1769435561373.json"}}}}'),i=JSON.parse('{"defaultLocale":"en","locales":["en"],"path":"i18n","currentLocale":"en","localeConfigs":{"en":{"label":"English","direction":"ltr","htmlLang":"en","calendar":"gregory","path":"en","translate":false,"url":"https://rxdb.info","baseUrl":"/"}}}');var l=n(2654);const s=JSON.parse('{"docusaurusVersion":"3.9.2","siteVersion":"0.0.0","pluginVersions":{"docusaurus-plugin-content-docs":{"type":"package","name":"@docusaurus/plugin-content-docs","version":"3.9.2"},"docusaurus-plugin-content-blog":{"type":"package","name":"@docusaurus/plugin-content-blog","version":"3.9.2"},"docusaurus-plugin-content-pages":{"type":"package","name":"@docusaurus/plugin-content-pages","version":"3.9.2"},"docusaurus-plugin-google-gtag":{"type":"package","name":"@docusaurus/plugin-google-gtag","version":"3.9.2"},"docusaurus-plugin-google-tag-manager":{"type":"package","name":"@docusaurus/plugin-google-tag-manager","version":"3.9.2"},"docusaurus-plugin-sitemap":{"type":"package","name":"@docusaurus/plugin-sitemap","version":"3.9.2"},"docusaurus-plugin-svgr":{"type":"package","name":"@docusaurus/plugin-svgr","version":"3.9.2"},"docusaurus-theme-classic":{"type":"package","name":"@docusaurus/theme-classic","version":"3.9.2"},"docusaurus-plugin-llms":{"type":"package","name":"docusaurus-plugin-llms","version":"0.2.2"},"docusaurus-lunr-search":{"type":"package","name":"docusaurus-lunr-search","version":"3.3.1"},"custom-webpack-tweaks":{"type":"local"}}}');var c=n(4848);const u={siteConfig:o.default,siteMetadata:s,globalData:a,i18n:i,codeTranslations:l},d=r.createContext(u);function f({children:e}){return(0,c.jsx)(d.Provider,{value:u,children:e})}},7065(e,t,n){"use strict";n.d(t,{W:()=>r});const r="default"},7387(e,t,n){"use strict";n.d(t,{A:()=>o});var r=n(3662);function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,r.A)(e,t)}},7485(e,t,n){"use strict";n.d(t,{$Z:()=>i,Hl:()=>l,jy:()=>s});var r=n(6540),o=n(6347),a=n(9532);function i(e){!function(e){const t=(0,o.W6)(),n=(0,a._q)(e);(0,r.useEffect)(()=>t.block((e,t)=>n(e,t)),[t,n])}((t,n)=>{if("POP"===n)return e(t,n)})}function l(e){const t=(0,o.W6)();return(0,r.useSyncExternalStore)(t.listen,()=>e(t),()=>e({...t,location:{...t.location,search:"",hash:"",state:void 0}}))}function s(e,t){const n=function(e,t){const n=new URLSearchParams;for(const r of e)for(const[e,o]of r.entries())"append"===t?n.append(e,o):n.set(e,o);return n}(e.map(e=>new URLSearchParams(e??"")),t),r=n.toString();return r?`?${r}`:r}},7489(e,t,n){"use strict";n.d(t,{A:()=>m});var r=n(6540),o=n(8193),a=n(5260),i=n(440),l=n(8711),s=n(3102),c=n(4848);function u({error:e,tryAgain:t}){return(0,c.jsxs)("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"flex-start",minHeight:"100vh",width:"100%",maxWidth:"80ch",fontSize:"20px",margin:"0 auto",padding:"1rem"},children:[(0,c.jsx)("h1",{style:{fontSize:"3rem"},children:"This page crashed"}),(0,c.jsx)("button",{type:"button",onClick:t,style:{margin:"1rem 0",fontSize:"2rem",cursor:"pointer",borderRadius:20,padding:"1rem"},children:"Try again"}),(0,c.jsx)(d,{error:e})]})}function d({error:e}){const t=(0,i.rA)(e).map(e=>e.message).join("\n\nCause:\n");return(0,c.jsx)("p",{style:{whiteSpace:"pre-wrap"},children:t})}function f({children:e}){return(0,c.jsx)(s.W,{value:{plugin:{name:"docusaurus-core-error-boundary",id:"default"}},children:e})}function p({error:e,tryAgain:t}){return(0,c.jsx)(f,{children:(0,c.jsxs)(m,{fallback:()=>(0,c.jsx)(u,{error:e,tryAgain:t}),children:[(0,c.jsx)(a.A,{children:(0,c.jsx)("title",{children:"Page Error"})}),(0,c.jsx)(l.A,{children:(0,c.jsx)(u,{error:e,tryAgain:t})})]})})}const h=e=>(0,c.jsx)(p,{...e});class m extends r.Component{constructor(e){super(e),this.state={error:null}}componentDidCatch(e){o.A.canUseDOM&&this.setState({error:e})}render(){const{children:e}=this.props,{error:t}=this.state;if(t){const e={error:t,tryAgain:()=>this.setState({error:null})};return(this.props.fallback??h)(e)}return e??null}}},7559(e,t,n){"use strict";n.d(t,{G:()=>r});const r={page:{blogListPage:"blog-list-page",blogPostPage:"blog-post-page",blogTagsListPage:"blog-tags-list-page",blogTagPostListPage:"blog-tags-post-list-page",blogAuthorsListPage:"blog-authors-list-page",blogAuthorsPostsPage:"blog-authors-posts-page",docsDocPage:"docs-doc-page",docsTagsListPage:"docs-tags-list-page",docsTagDocListPage:"docs-tags-doc-list-page",mdxPage:"mdx-page"},wrapper:{main:"main-wrapper",blogPages:"blog-wrapper",docsPages:"docs-wrapper",mdxPages:"mdx-wrapper"},common:{editThisPage:"theme-edit-this-page",lastUpdated:"theme-last-updated",backToTopButton:"theme-back-to-top-button",codeBlock:"theme-code-block",admonition:"theme-admonition",unlistedBanner:"theme-unlisted-banner",draftBanner:"theme-draft-banner",admonitionType:e=>`theme-admonition-${e}`},announcementBar:{container:"theme-announcement-bar"},tabs:{container:"theme-tabs-container"},layout:{navbar:{container:"theme-layout-navbar",containerLeft:"theme-layout-navbar-left",containerRight:"theme-layout-navbar-right",mobileSidebar:{container:"theme-layout-navbar-sidebar",panel:"theme-layout-navbar-sidebar-panel"}},main:{container:"theme-layout-main"},footer:{container:"theme-layout-footer",column:"theme-layout-footer-column"}},docs:{docVersionBanner:"theme-doc-version-banner",docVersionBadge:"theme-doc-version-badge",docBreadcrumbs:"theme-doc-breadcrumbs",docMarkdown:"theme-doc-markdown",docTocMobile:"theme-doc-toc-mobile",docTocDesktop:"theme-doc-toc-desktop",docFooter:"theme-doc-footer",docFooterTagsRow:"theme-doc-footer-tags-row",docFooterEditMetaRow:"theme-doc-footer-edit-meta-row",docSidebarContainer:"theme-doc-sidebar-container",docSidebarMenu:"theme-doc-sidebar-menu",docSidebarItemCategory:"theme-doc-sidebar-item-category",docSidebarItemLink:"theme-doc-sidebar-item-link",docSidebarItemCategoryLevel:e=>`theme-doc-sidebar-item-category-level-${e}`,docSidebarItemLinkLevel:e=>`theme-doc-sidebar-item-link-level-${e}`},blog:{blogFooterTagsRow:"theme-blog-footer-tags-row",blogFooterEditMetaRow:"theme-blog-footer-edit-meta-row"},pages:{pageFooterEditMetaRow:"theme-pages-footer-edit-meta-row"}}},7564(e,t,n){"use strict";n(4912)},7654(e,t,n){"use strict";n.d(t,{Oj:()=>u,Pq:()=>c,U4:()=>s});var r=n(7810),o=n(4848);const a={id:"T11",variations:{A:(0,o.jsxs)(o.Fragment,{children:["The easiest way to ",(0,o.jsx)("b",{children:"store"})," and ",(0,o.jsx)("b",{children:"sync"})," Data inside of your App"]}),B:(0,o.jsxs)(o.Fragment,{children:["The local-first ",(0,o.jsx)("b",{children:"Database"})," for ",(0,o.jsx)("b",{children:"JavaScript"})," Applications"]}),C:(0,o.jsxs)(o.Fragment,{children:["The Reactive Local-First ",(0,o.jsx)("b",{children:"Database"})," for Modern ",(0,o.jsx)("b",{children:"JavaScript"})," Apps"]}),D:(0,o.jsxs)(o.Fragment,{children:["The Local-First Database to ",(0,o.jsx)("b",{children:"Store"})," and ",(0,o.jsx)("b",{children:"Sync"})," App Data"]}),E:(0,o.jsxs)(o.Fragment,{children:["The Local-First ",(0,o.jsx)("b",{children:"Database"})," for ",(0,o.jsx)("b",{children:"JavaScript"})," Apps"]})}};let i;const l="test-group-"+a.id;function s(e="main"){if(i)return i;if("undefined"==typeof localStorage)return{variation:Object.keys(a.variations)[0],deviceType:"d",originId:e||""};const t=localStorage.getItem(l);return t?i=JSON.parse(t):(i={variation:(0,r.Oi)(Object.keys(a.variations)),deviceType:window.screen.width<=900?"m":"d",originId:e||""},localStorage.setItem(l,JSON.stringify(i))),console.log("currentTestGroup:"),console.dir(i),i}function c(){const e=s().variation;return a.variations[e]}function u(){if(localStorage.getItem(l)){const e=s();return["abt",a.id,"O:"+e.originId,"V:"+e.variation,"D:"+e.deviceType].join("_")}return!1}},7810(e,t,n){"use strict";function r(e){return e[e.length-1]}function o(e){return e[Math.floor(Math.random()*e.length)]}function a(e){return Array.isArray(e)?e.slice(0):[e]}function i(e){return Array.isArray(e)}function l(e,t){var n=0,r=-1;for(var o of e){if(!t(o,r+=1))break;n+=1}return n}function s(e){return e.filter(function(e,t,n){return n.indexOf(e)===t})}n.d(t,{$r:()=>a,Oi:()=>o,Sd:()=>l,dG:()=>r,jw:()=>s,k_:()=>i})},8120(e,t,n){"use strict";n.d(t,{A:()=>p});var r=n(6540),o=n(4164),a=n(6347),i=n(4586),l=n(6588),s=n(2303),c=n(689),u=n.n(c);function d(){const e=(0,a.zy)(),t=(0,a.W6)(),{siteConfig:{baseUrl:n}}=(0,i.A)(),[o,l]=(0,r.useState)({wordToHighlight:"",isTitleSuggestion:!1,titleText:""});return(0,r.useEffect)(()=>{if(!e.state?.highlightState||0===e.state.highlightState.wordToHighlight.length)return;l(e.state.highlightState);const{highlightState:n,...r}=e.state;t.replace({...e,state:r})},[e.state?.highlightState,t,e]),(0,r.useEffect)(()=>{if(0===o.wordToHighlight.length)return;const e=document.getElementsByTagName("article")[0]??document.getElementsByTagName("main")[0];if(!e)return;const t=new(u())(e),n={ignoreJoiners:!0};return t.mark(o.wordToHighlight,n),()=>t.unmark(n)},[o,n]),null}var f=n(4848);const p=e=>{const t=(0,r.useRef)(!1),c=(0,r.useRef)(null),u=(0,a.W6)(),{siteConfig:p={}}=(0,i.A)(),h=(p.plugins||[]).find(e=>Array.isArray(e)&&"string"==typeof e[0]&&e[0].includes("docusaurus-lunr-search")),m=(0,s.A)(),{baseUrl:g}=p,b=h&&h[1]?.assetUrl||g,v=(0,l.P_)("docusaurus-lunr-search"),y=()=>{t.current||(t.current=!0,Promise.all([fetch(`${b}${v.fileNames.searchDoc}`).then(e=>e.json()),fetch(`${b}${v.fileNames.lunrIndex}`).then(e=>e.json()),Promise.all([n.e(4250),n.e(7443)]).then(n.bind(n,4004)),Promise.all([n.e(1869),n.e(9187)]).then(n.bind(n,9187))]).then(([e,t,{default:n}])=>{const{searchDocs:r,options:o}=e;r&&0!==r.length&&(((e,t,n,r)=>{new n({searchDocs:e,searchIndex:t,baseUrl:g,inputSelector:"#search_input_react",autocompleteOptions:{hint:!1,appendTo:".navbar__search"},handleSelected:(e,t,n)=>{const o=n.url||"/";document.createElement("a").href=o,e.setVal(""),t.target.blur();let a="";if(r.highlightResult)try{const e=(n.text||n.subcategory||n.title).match(new RegExp("\\w*","g"));if(e&&e.length>0){const t=document.createElement("div");t.innerHTML=e[0],a=t.textContent}}catch(i){console.log(i)}u.push(o,{highlightState:{wordToHighlight:a}})},maxHits:r.maxHits})})(r,t,n,o),setIndexReady(!0))}))},x=(0,r.useCallback)(t=>{c.current.contains(t.target)||c.current.focus(),e.handleSearchBarToggle&&e.handleSearchBarToggle(!e.isSearchBarExpanded)},[e.isSearchBarExpanded]);let w;return m&&(w=window.navigator.platform.startsWith("Mac")?"Search \u2318+K":"Search Ctrl+K"),(0,f.jsxs)("div",{className:"navbar__search",children:[(0,f.jsx)("span",{"aria-label":"expand searchbar",role:"button",className:(0,o.A)("search-icon",{"search-icon-hidden":e.isSearchBarExpanded}),onClick:x,onKeyDown:x,tabIndex:0}),(0,f.jsx)("input",{id:"search_input_react",type:"search",placeholder:w,"aria-label":"Search",className:(0,o.A)("navbar__search-input",{"search-bar-expanded":e.isSearchBarExpanded},{"search-bar":!e.isSearchBarExpanded}),onClick:y,onMouseOver:y,onFocus:x,onBlur:x,ref:c,style:{marginLeft:"auto",marginRight:"auto",display:"block"}}),(0,f.jsx)(d,{})]},"search-box")}},8141(e,t,n){"use strict";n.d(t,{V:()=>s,c:()=>l});var r=n(6540),o=n(7654),a=n(8193),i=n(4848);function l(e,t,n=5,r=!1){if(!a.A.canUseDOM)return;const i="event_count_",l=localStorage.getItem(i+e),s=l?parseInt(l,10):0;if(!(s>=n)){if(localStorage.setItem(i+e,s+1+""),console.log("triggerTrackingEvent("+e+", "+t+", primary="+r+" "+s+"/"+n+")"),r&&"function"==typeof window.rdt)try{window.rdt("track","Lead",{transactionId:e+"-"+(new Date).getTime(),currency:"EUR",value:t})}catch(c){console.log("# Error on reddit trigger:"),console.dir(c)}if("function"==typeof window.gtag)try{window.gtag("event",e,{value:t,currency:"EUR"});const n=(0,o.Oj)();n&&window.gtag("event",n+"_"+e,{value:0,currency:"EUR"})}catch(c){console.log("# Error on google trigger:"),console.dir(c)}}}function s(e){return(0,r.useEffect)(()=>{a.A.canUseDOM&&l(e.type,e.value,e.maxPerUser,e.primary)},[]),(0,i.jsx)(i.Fragment,{})}},8168(e,t,n){"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;tr})},8193(e,t,n){"use strict";n.d(t,{A:()=>o});const r="undefined"!=typeof window&&"document"in window&&"createElement"in window.document,o={canUseDOM:r,canUseEventListeners:r&&("addEventListener"in window||"attachEvent"in window),canUseIntersectionObserver:r&&"IntersectionObserver"in window,canUseViewport:r&&"screen"in window}},8295(e,t,n){"use strict";n.d(t,{zK:()=>p,vT:()=>u,Gy:()=>s,HW:()=>h,ht:()=>c,r7:()=>f,jh:()=>d});var r=n(6347),o=n(6588);const a=e=>e.versions.find(e=>e.isLast);function i(e,t){const n=function(e,t){return[...e.versions].sort((e,t)=>e.path===t.path?0:e.path.includes(t.path)?-1:t.path.includes(e.path)?1:0).find(e=>!!(0,r.B6)(t,{path:e.path,exact:!1,strict:!1}))}(e,t),o=n?.docs.find(e=>!!(0,r.B6)(t,{path:e.path,exact:!0,strict:!1}));return{activeVersion:n,activeDoc:o,alternateDocVersions:o?function(t){const n={};return e.versions.forEach(e=>{e.docs.forEach(r=>{r.id===t&&(n[e.name]=r)})}),n}(o.id):{}}}const l={},s=()=>(0,o.kh)("docusaurus-plugin-content-docs")??l,c=e=>{try{return(0,o.P_)("docusaurus-plugin-content-docs",e,{failfast:!0})}catch(t){throw new Error("You are using a feature of the Docusaurus docs plugin, but this plugin does not seem to be enabled"+("Default"===e?"":` (pluginId=${e}`),{cause:t})}};function u(e={}){const t=s(),{pathname:n}=(0,r.zy)();return function(e,t,n={}){const o=Object.entries(e).sort((e,t)=>t[1].path.localeCompare(e[1].path)).find(([,e])=>!!(0,r.B6)(t,{path:e.path,exact:!1,strict:!1})),a=o?{pluginId:o[0],pluginData:o[1]}:void 0;if(!a&&n.failfast)throw new Error(`Can't find active docs plugin for "${t}" pathname, while it was expected to be found. Maybe you tried to use a docs feature that can only be used on a docs-related page? Existing docs plugin paths are: ${Object.values(e).map(e=>e.path).join(", ")}`);return a}(t,n,e)}function d(e){return c(e).versions}function f(e){const t=c(e);return a(t)}function p(e){const t=c(e),{pathname:n}=(0,r.zy)();return i(t,n)}function h(e){const t=c(e),{pathname:n}=(0,r.zy)();return function(e,t){const n=a(e);return{latestDocSuggestion:i(e,t).alternateDocVersions[n.name],latestVersionSuggestion:n}}(t,n)}},8328(e,t,n){"use strict";n.d(t,{A:()=>f});n(6540);var r=n(3259),o=n.n(r),a=n(4054);const i={"0027230a":[()=>n.e(8382).then(n.bind(n,3520)),"@site/docs/rx-storage-lokijs.md",3520],"01684a0a":[()=>n.e(6616).then(n.bind(n,7971)),"@site/docs/rx-storage-memory-synced.md",7971],"01a106d5":[()=>n.e(5423).then(n.bind(n,7450)),"@site/docs/react.md",7450],"03e37916":[()=>n.e(6465).then(n.bind(n,5522)),"@site/docs/transactions-conflicts-revisions.md",5522],"045bd6f5":[()=>n.e(4475).then(n.bind(n,9978)),"@site/docs/encryption.md",9978],"0596642b":[()=>n.e(7537).then(n.bind(n,7196)),"@site/src/pages/meeting-paid-starter.tsx",7196],"08ff000c":[()=>n.e(3916).then(n.bind(n,9918)),"@site/docs/releases/16.0.0.md",9918],"0b761dc7":[()=>n.e(2835).then(n.bind(n,2796)),"@site/src/pages/sem/localstorage-database.tsx",2796],"0e268d20":[()=>n.e(2584).then(n.bind(n,9561)),"@site/src/pages/premium.tsx",9561],"0e467ee2":[()=>n.e(4989).then(n.bind(n,3318)),"@site/docs/articles/ideas.md",3318],"0e945c41":[()=>n.e(9796).then(n.bind(n,8908)),"@site/docs/replication-server.md",8908],"0f6e10f0":[()=>n.e(1475).then(n.bind(n,7706)),"@site/docs/articles/progressive-web-app-database.md",7706],"118cde4c":[()=>n.e(5272).then(n.bind(n,2318)),"@site/docs/replication-couchdb.md",2318],"11d75f9a":[()=>n.e(8897).then(n.bind(n,8282)),"@site/docs/articles/react-native-encryption.md",8282],"13dc6548":[()=>n.e(3483).then(n.bind(n,4637)),"@site/src/pages/sem/indexeddb-database.tsx",4637],"14d72841":[()=>n.e(9772).then(n.bind(n,5221)),"@site/src/pages/newsletter.tsx",5221],"15f1e21f":[()=>n.e(970).then(n.bind(n,7990)),"@site/src/pages/sem/vue-database.tsx",7990],17896441:[()=>Promise.all([n.e(1869),n.e(5943),n.e(8401)]).then(n.bind(n,9519)),"@theme/DocItem",9519],"187b985e":[()=>n.e(6866).then(n.bind(n,8243)),"@site/docs/replication-webrtc.md",8243],"1b0f8c91":[()=>n.e(3129).then(n.bind(n,5787)),"@site/docs/backup.md",5787],"1b238727":[()=>n.e(4013).then(n.bind(n,2493)),"@site/docs/rx-storage-performance.md",2493],"1b5fa8ad":[()=>n.e(9111).then(n.bind(n,5347)),"@site/src/pages/sem/nedb-alternative.tsx",5347],"1c0701dd":[()=>n.e(6953).then(n.bind(n,9328)),"@site/docs/middleware.md",9328],"1da545ff":[()=>n.e(9743).then(n.bind(n,135)),"@site/docs/releases/9.0.0.md",135],"1db64337":[()=>n.e(8413).then(n.bind(n,6471)),"@site/docs/overview.md",6471],"1df93b7f":[()=>Promise.resolve().then(n.bind(n,544)),"@site/src/pages/index.tsx",544],"1e0353aa":[()=>n.e(8588).then(n.bind(n,2219)),"@site/docs/rx-storage.md",2219],"1f391b9e":[()=>Promise.all([n.e(1869),n.e(5943),n.e(6061)]).then(n.bind(n,7973)),"@theme/MDXPage",7973],"21fa2740":[()=>n.e(5694).then(n.bind(n,8351)),"@site/docs/releases/15.0.0.md",8351],"22dd74f7":[()=>n.e(1567).then(n.t.bind(n,5226,19)),"@generated/docusaurus-plugin-content-docs/default/p/index-466.json",5226],"2456d5e0":[()=>n.e(2966).then(n.bind(n,7615)),"@site/docs/rx-database.md",7615],"25626d15":[()=>n.e(268).then(n.bind(n,7258)),"@site/src/pages/chat.tsx",7258],"2564bf4f":[()=>n.e(6724).then(n.bind(n,8365)),"@site/docs/rxdb-tradeoffs.md",8365],"25a43fd4":[()=>n.e(4812).then(n.bind(n,8803)),"@site/docs/rx-storage-shared-worker.md",8803],"26b8a621":[()=>n.e(2055).then(n.bind(n,1673)),"@site/docs/replication-p2p.md",1673],"280a2389":[()=>n.e(176).then(n.bind(n,522)),"@site/src/pages/meeting.tsx",522],"294ac9d5":[()=>n.e(8744).then(n.bind(n,2606)),"@site/docs/plugins.md",2606],"2aec6989":[()=>n.e(7498).then(n.bind(n,4633)),"@site/docs/articles/indexeddb-max-storage-limit.md",4633],"2c41656d":[()=>n.e(4142).then(n.bind(n,9376)),"@site/docs/articles/react-indexeddb.md",9376],"2efd0200":[()=>n.e(4132).then(n.bind(n,5179)),"@site/docs/tutorials/typescript.md",5179],"2fe9ecb2":[()=>n.e(5101).then(n.bind(n,8662)),"@site/docs/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm.md",8662],"32667c41":[()=>n.e(8191).then(n.bind(n,9955)),"@site/docs/nosql-performance-tips.md",9955],"326aca46":[()=>n.e(4853).then(n.bind(n,1748)),"@site/docs/offline-first.md",1748],"3417a9c7":[()=>n.e(5350).then(n.bind(n,4572)),"@site/docs/articles/firestore-alternative.md",4572],"34f94d1b":[()=>n.e(5832).then(n.bind(n,8274)),"@site/docs/electron-database.md",8274],"35e4d287":[()=>n.e(7853).then(n.bind(n,383)),"@site/docs/releases/17.0.0.md",383],36715375:[()=>n.e(2076).then(n.bind(n,2323)),"@site/src/pages/code.tsx",2323],37055470:[()=>n.e(4970).then(n.bind(n,9528)),"@site/src/pages/sem/reddit.tsx",9528],"380cc66a":[()=>n.e(2061).then(n.bind(n,12)),"@site/docs/rx-storage-dexie.md",12],"38a45a95":[()=>n.e(405).then(n.bind(n,4806)),"@site/src/pages/sem/electron-database.tsx",4806],"38bbf12a":[()=>n.e(2078).then(n.bind(n,8251)),"@site/docs/articles/data-base.md",8251],"393be207":[()=>n.e(4134).then(n.bind(n,591)),"@site/src/pages/markdown-page.md",591],"39600c95":[()=>n.e(3148).then(n.bind(n,8228)),"@site/docs/rx-query.md",8228],"3ebfb37f":[()=>n.e(205).then(n.bind(n,6700)),"@site/src/pages/sem/angular-database.tsx",6700],"401008a8":[()=>n.e(5219).then(n.bind(n,3156)),"@site/docs/nodejs-database.md",3156],"40b6398a":[()=>n.e(9594).then(n.bind(n,6375)),"@site/docs/replication-supabase.md",6375],"41f941a1":[()=>n.e(5966).then(n.bind(n,2447)),"@site/docs/leader-election.md",2447],"432b83f9":[()=>n.e(4424).then(n.bind(n,4033)),"@site/docs/releases/8.0.0.md",4033],"4616b86a":[()=>n.e(465).then(n.bind(n,3844)),"@site/docs/rx-storage-mongodb.md",3844],"4777fd9a":[()=>n.e(6386).then(n.bind(n,692)),"@site/docs/alternatives.md",692],"4adf80bb":[()=>n.e(9548).then(n.bind(n,7014)),"@site/docs/rx-storage-pouchdb.md",7014],"4af60d2e":[()=>n.e(8545).then(n.bind(n,6136)),"@site/docs/articles/realtime-database.md",6136],"4ba7e5a3":[()=>n.e(9591).then(n.bind(n,5380)),"@site/docs/contribute.md",5380],"4ed9495b":[()=>n.e(1199).then(n.bind(n,5356)),"@site/docs/rx-storage-sqlite.md",5356],"4f17bbdd":[()=>n.e(2373).then(n.bind(n,1206)),"@site/src/pages/meeting-paid.tsx",1206],"502d8946":[()=>n.e(7817).then(n.bind(n,732)),"@site/src/pages/legal-notice.tsx",732],"51014a8a":[()=>n.e(9460).then(n.bind(n,9777)),"@site/docs/articles/websockets-sse-polling-webrtc-webtransport.md",9777],51038524:[()=>n.e(4889).then(n.bind(n,952)),"@site/docs/rx-storage-memory-mapped.md",952],51334108:[()=>n.e(8926).then(n.bind(n,6996)),"@site/docs/articles/mobile-database.md",6996],"5134b15f":[()=>n.e(10).then(n.bind(n,4066)),"@site/src/pages/sem/capacitor-database.tsx",4066],"55a5b596":[()=>n.e(6717).then(n.bind(n,4557)),"@site/docs/rx-schema.md",4557],58215328:[()=>n.e(5353).then(n.bind(n,960)),"@site/src/pages/sem/ionic-database.tsx",960],"597d88be":[()=>n.e(8715).then(n.bind(n,4190)),"@site/docs/articles/firebase-realtime-database-alternative.md",4190],"5a273530":[()=>n.e(3881).then(n.bind(n,4944)),"@site/docs/rx-storage-remote.md",4944],"5b5afcec":[()=>n.e(3633).then(n.bind(n,5255)),"@site/docs/articles/json-based-database.md",5255],"5e95c892":[()=>n.e(9647).then(n.bind(n,7121)),"@theme/DocsRoot",7121],"5e9f5e1a":[()=>Promise.resolve().then(n.bind(n,4784)),"@generated/docusaurus.config",4784],61792630:[()=>n.e(7277).then(n.bind(n,5270)),"@site/docs/articles/angular-indexeddb.md",5270],"6187b59a":[()=>n.e(5866).then(n.bind(n,5640)),"@site/docs/rx-storage-worker.md",5640],"68a466be":[()=>n.e(3997).then(n.bind(n,3963)),"@site/docs/downsides-of-offline-first.md",3963],"6ae3580c":[()=>n.e(5320).then(n.bind(n,2325)),"@site/docs/replication.md",2325],"6bfb0089":[()=>n.e(6422).then(n.bind(n,6235)),"@site/docs/adapters.md",6235],"6cbff7c2":[()=>n.e(7408).then(n.bind(n,7010)),"@site/docs/rx-storage-opfs.md",7010],"6fa8aa1a":[()=>n.e(1264).then(n.bind(n,5379)),"@site/src/pages/sem/pouchdb-alternative.tsx",5379],"6fd28feb":[()=>n.e(4618).then(n.bind(n,5989)),"@site/docs/rx-storage-foundationdb.md",5989],"714575d7":[()=>n.e(3185).then(n.bind(n,924)),"@site/docs/rx-local-document.md",924],"77979bef":[()=>n.e(5861).then(n.bind(n,4113)),"@site/docs/articles/local-first-future.md",4113],"77d975e6":[()=>n.e(3949).then(n.bind(n,6805)),"@site/docs/articles/in-memory-nosql-database.md",6805],"7815dd0c":[()=>n.e(5335).then(n.bind(n,2015)),"@site/docs/population.md",2015],"7bbb96fd":[()=>n.e(3495).then(n.bind(n,8435)),"@site/src/pages/service-submitted.tsx",8435],"7f02c700":[()=>n.e(9592).then(n.bind(n,5589)),"@site/docs/replication-firestore.md",5589],"8070e160":[()=>n.e(3822).then(n.bind(n,4143)),"@site/docs/quickstart.md",4143],"8084fe3b":[()=>n.e(9515).then(n.bind(n,7458)),"@site/docs/articles/vue-indexeddb.md",7458],"820807a1":[()=>n.e(7836).then(n.bind(n,8906)),"@site/docs/articles/local-database.md",8906],"8288c265":[()=>n.e(9881).then(n.bind(n,2309)),"@site/docs/releases/11.0.0.md",2309],"8489a755":[()=>n.e(7700).then(n.bind(n,7883)),"@site/docs/articles/jquery-database.md",7883],"84a3af36":[()=>n.e(6861).then(n.bind(n,7916)),"@site/docs/articles/json-database.md",7916],"84ae55a4":[()=>n.e(588).then(n.bind(n,7465)),"@site/docs/replication-nats.md",7465],"85caacef":[()=>n.e(3015).then(n.bind(n,8496)),"@site/src/pages/sem/expo-database.tsx",8496],"86b4e356":[()=>n.e(2786).then(n.bind(n,2344)),"@site/docs/orm.md",2344],"8a22f3a9":[()=>n.e(9257).then(n.bind(n,2159)),"@site/docs/errors.md",2159],"8a442806":[()=>n.e(1054).then(n.bind(n,9770)),"@site/docs/fulltext-search.md",9770],"8aa53ed7":[()=>n.e(6723).then(n.bind(n,7841)),"@site/docs/articles/angular-database.md",7841],"8b0a0922":[()=>n.e(4557).then(n.bind(n,9463)),"@site/docs/slow-indexeddb.md",9463],"8b4bf532":[()=>n.e(4027).then(n.bind(n,7507)),"@site/src/pages/sem/nosql-database.tsx",7507],"8bc07e20":[()=>n.e(1850).then(n.bind(n,3628)),"@site/docs/capacitor-database.md",3628],"8bc82b1f":[()=>n.e(9997).then(n.bind(n,2591)),"@site/docs/rx-pipeline.md",2591],"8bfd920a":[()=>n.e(2631).then(n.bind(n,9678)),"@site/docs/articles/ionic-storage.md",9678],"90102fdf":[()=>n.e(2633).then(n.bind(n,9935)),"@site/src/pages/sem/nodejs-database.tsx",9935],"91b454ee":[()=>n.e(4202).then(n.bind(n,449)),"@site/docs/rx-storage-sharding.md",449],"924d6dd6":[()=>n.e(5122).then(n.bind(n,7665)),"@site/docs/electron.md",7665],"92698a99":[()=>n.e(4166).then(n.bind(n,7379)),"@site/docs/rx-storage-indexeddb.md",7379],"931f4566":[()=>n.e(3595).then(n.bind(n,8288)),"@site/docs/schema-validation.md",8288],"951d0efb":[()=>n.e(6115).then(n.bind(n,5160)),"@site/docs/replication-mongodb.md",5160],98405524:[()=>n.e(5504).then(n.bind(n,1934)),"@site/src/pages/survey.tsx",1934],"9dae6e71":[()=>n.e(3325).then(n.bind(n,2231)),"@site/src/pages/sem/firestore-alternative.tsx",2231],"9dd8ea89":[()=>n.e(1715).then(n.bind(n,7775)),"@site/docs/logger.md",7775],"9e91b6f0":[()=>n.e(3021).then(n.bind(n,5200)),"@site/docs/why-nosql.md",5200],a406dc27:[()=>n.e(1500).then(n.bind(n,6837)),"@site/docs/migration-storage.md",6837],a442adcd:[()=>n.e(8760).then(n.bind(n,5551)),"@site/docs/reactivity.md",5551],a574e172:[()=>n.e(7149).then(n.bind(n,5384)),"@site/docs/replication-http.md",5384],a69eebfc:[()=>n.e(9408).then(n.bind(n,5878)),"@site/docs/query-optimizer.md",5878],a7456010:[()=>n.e(1235).then(n.t.bind(n,8552,19)),"@generated/docusaurus-plugin-content-pages/default/__plugin.json",8552],a7bd4aaa:[()=>n.e(7098).then(n.bind(n,1723)),"@theme/DocVersionRoot",1723],a7f10198:[()=>n.e(1098).then(n.bind(n,1337)),"@site/docs/data-migration.md",1337],a94703ab:[()=>Promise.all([n.e(1869),n.e(9048)]).then(n.bind(n,7510)),"@theme/DocRoot",7510],aa14e6b1:[()=>n.e(9824).then(n.bind(n,717)),"@site/docs/replication-graphql.md",717],ab919a1f:[()=>n.e(6491).then(n.bind(n,30)),"@site/docs/articles/embedded-database.md",30],aba21aa0:[()=>n.e(5742).then(n.t.bind(n,7093,19)),"@generated/docusaurus-plugin-content-docs/default/__plugin.json",7093],ac62b32d:[()=>n.e(9192).then(n.bind(n,3228)),"@site/docs/replication-websocket.md",3228],ad16b3ea:[()=>n.e(8674).then(n.bind(n,5045)),"@site/docs/dev-mode.md",5045],ae2c2832:[()=>n.e(3321).then(n.bind(n,6839)),"@site/src/pages/sem/svelte-database.tsx",6839],b0889a22:[()=>n.e(1107).then(n.bind(n,3519)),"@site/docs/cleanup.md",3519],b2653a00:[()=>n.e(3588).then(n.bind(n,4968)),"@site/docs/articles/vue-database.md",4968],b30f4f1f:[()=>n.e(3779).then(n.bind(n,8305)),"@site/docs/rx-attachment.md",8305],b672caf7:[()=>n.e(813).then(n.bind(n,9264)),"@site/docs/articles/javascript-vector-database.md",9264],b8c49ce4:[()=>n.e(6355).then(n.bind(n,4971)),"@site/docs/releases/13.0.0.md",4971],badcd764:[()=>n.e(8318).then(n.bind(n,3922)),"@site/docs/articles/flutter-database.md",3922],bdd39edd:[()=>n.e(5852).then(n.bind(n,1541)),"@site/src/pages/sem/browser-database.tsx",1541],c0f75fb9:[()=>n.e(833).then(n.bind(n,6440)),"@site/docs/articles/zero-latency-local-first.md",6440],c3bc9c50:[()=>n.e(9167).then(n.bind(n,8097)),"@site/docs/articles/react-database.md",8097],c44853e1:[()=>n.e(6584).then(n.bind(n,4321)),"@site/docs/rx-state.md",4321],c4de80f8:[()=>n.e(2777).then(n.bind(n,2186)),"@site/docs/install.md",2186],c6349bb6:[()=>n.e(5740).then(n.bind(n,7813)),"@site/docs/releases/14.0.0.md",7813],c6fdd490:[()=>n.e(4141).then(n.bind(n,7291)),"@site/docs/rx-server-scaling.md",7291],c7b47308:[()=>n.e(7793).then(n.bind(n,2007)),"@site/src/pages/sem/gads.tsx",2007],c843a053:[()=>n.e(9146).then(n.bind(n,3596)),"@site/docs/third-party-plugins.md",3596],c9c8e0b6:[()=>n.e(7249).then(n.bind(n,4715)),"@site/docs/articles/ionic-database.md",4715],cbbe8f0a:[()=>n.e(3852).then(n.bind(n,4706)),"@site/docs/rx-collection.md",4706],cde77f4f:[()=>n.e(6287).then(n.bind(n,6465)),"@site/src/pages/premium-submitted.tsx",6465],d04a108d:[()=>n.e(2853).then(n.bind(n,4801)),"@site/docs/replication-appwrite.md",4801],d20e74b4:[()=>n.e(5123).then(n.bind(n,6510)),"@site/docs/crdt.md",6510],d2758528:[()=>n.e(2586).then(n.bind(n,60)),"@site/docs/articles/browser-storage.md",60],d4da9db3:[()=>n.e(1400).then(n.bind(n,9319)),"@site/docs/rx-storage-memory.md",9319],d622bd51:[()=>n.e(2845).then(n.bind(n,4787)),"@site/docs/migration-schema.md",4787],db34d6b0:[()=>n.e(7320).then(n.bind(n,9891)),"@site/src/pages/license.tsx",9891],dbde2ffe:[()=>n.e(6543).then(n.bind(n,4506)),"@site/docs/rx-document.md",4506],dc42ba65:[()=>n.e(4962).then(n.bind(n,1918)),"@site/docs/key-compression.md",1918],de9a3c97:[()=>n.e(4194).then(n.bind(n,1450)),"@site/docs/articles/reactjs-storage.md",1450],e24529eb:[()=>n.e(6797).then(n.bind(n,2473)),"@site/docs/rx-storage-localstorage-meta-optimizer.md",2473],e6b4453d:[()=>n.e(2360).then(n.bind(n,6137)),"@site/docs/query-cache.md",6137],e8a836f3:[()=>n.e(5265).then(n.bind(n,9349)),"@site/src/pages/sem/react-native-database.tsx",9349],eadd9b3c:[()=>n.e(4886).then(n.bind(n,4304)),"@site/docs/rx-storage-filesystem-node.md",4304],eb2e4b0c:[()=>n.e(3988).then(n.bind(n,8642)),"@site/docs/rx-storage-localstorage.md",8642],ebace26e:[()=>n.e(4028).then(n.bind(n,1948)),"@site/docs/releases/10.0.0.md",1948],ec526260:[()=>n.e(7396).then(n.bind(n,894)),"@site/docs/articles/browser-database.md",894],ed2d6610:[()=>n.e(3469).then(n.bind(n,3883)),"@site/docs/releases/12.0.0.md",3883],ee1b9f21:[()=>n.e(6998).then(n.bind(n,1708)),"@site/docs/react-native-database.md",1708],f14ec96f:[()=>n.e(7513).then(n.bind(n,2468)),"@site/docs/articles/offline-database.md",2468],f15938da:[()=>n.e(4630).then(n.bind(n,7560)),"@site/docs/articles/localstorage.md",7560],f1c185f0:[()=>n.e(8907).then(n.bind(n,6e3)),"@site/src/pages/sem/indexeddb-database-2.tsx",6e3],f43e80a8:[()=>n.e(1558).then(n.bind(n,6849)),"@site/docs/rx-server.md",6849],f44bb875:[()=>n.e(561).then(n.bind(n,8610)),"@site/docs/articles/frontend-database.md",8610],f490b64c:[()=>n.e(8845).then(n.bind(n,1393)),"@site/src/pages/sem/react-database.tsx",1393],f61fdf57:[()=>n.e(5448).then(n.bind(n,624)),"@site/docs/articles/optimistic-ui.md",624],fe2a63b2:[()=>n.e(1018).then(n.bind(n,4324)),"@site/src/pages/consulting.tsx",4324],fe7a07ee:[()=>n.e(2085).then(n.bind(n,734)),"@site/docs/rx-storage-denokv.md",734],feac4174:[()=>n.e(4920).then(n.bind(n,1249)),"@site/src/pages/demo-submitted.tsx",1249],ff492cda:[()=>n.e(7722).then(n.bind(n,1382)),"@site/src/pages/sem/watermelondb-alternative.tsx",1382]};var l=n(4848);function s({error:e,retry:t,pastDelay:n}){return e?(0,l.jsxs)("div",{style:{textAlign:"center",color:"#fff",backgroundColor:"#fa383e",borderColor:"#fa383e",borderStyle:"solid",borderRadius:"0.25rem",borderWidth:"1px",boxSizing:"border-box",display:"block",padding:"1rem",flex:"0 0 50%",marginLeft:"25%",marginRight:"25%",marginTop:"5rem",maxWidth:"50%",width:"100%"},children:[(0,l.jsx)("p",{children:String(e)}),(0,l.jsx)("div",{children:(0,l.jsx)("button",{type:"button",onClick:t,children:"Retry"})})]}):n?(0,l.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh"},children:(0,l.jsx)("svg",{id:"loader",style:{width:128,height:110,position:"absolute",top:"calc(100vh - 64%)"},viewBox:"0 0 45 45",xmlns:"http://www.w3.org/2000/svg",stroke:"#61dafb",children:(0,l.jsxs)("g",{fill:"none",fillRule:"evenodd",transform:"translate(1 1)",strokeWidth:"2",children:[(0,l.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,l.jsx)("animate",{attributeName:"r",begin:"1.5s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,l.jsx)("animate",{attributeName:"stroke-opacity",begin:"1.5s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,l.jsx)("animate",{attributeName:"stroke-width",begin:"1.5s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,l.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,l.jsx)("animate",{attributeName:"r",begin:"3s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,l.jsx)("animate",{attributeName:"stroke-opacity",begin:"3s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,l.jsx)("animate",{attributeName:"stroke-width",begin:"3s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,l.jsx)("circle",{cx:"22",cy:"22",r:"8",children:(0,l.jsx)("animate",{attributeName:"r",begin:"0s",dur:"1.5s",values:"6;1;2;3;4;5;6",calcMode:"linear",repeatCount:"indefinite"})})]})})}):null}var c=n(6921),u=n(3102);function d(e,t){if("*"===e)return o()({loading:s,loader:()=>n.e(9293).then(n.bind(n,9293)),modules:["@theme/NotFound"],webpack:()=>[9293],render(e,t){const n=e.default;return(0,l.jsx)(u.W,{value:{plugin:{name:"native",id:"default"}},children:(0,l.jsx)(n,{...t})})}});const r=a[`${e}-${t}`],d={},f=[],p=[],h=(0,c.A)(r);return Object.entries(h).forEach(([e,t])=>{const n=i[t];n&&(d[e]=n[0],f.push(n[1]),p.push(n[2]))}),o().Map({loading:s,loader:d,modules:f,webpack:()=>p,render(t,n){const o=JSON.parse(JSON.stringify(r));Object.entries(t).forEach(([t,n])=>{const r=n.default;if(!r)throw new Error(`The page component at ${e} doesn't have a default export. This makes it impossible to render anything. Consider default-exporting a React component.`);"object"!=typeof r&&"function"!=typeof r||Object.keys(n).filter(e=>"default"!==e).forEach(e=>{r[e]=n[e]});let a=o;const i=t.split(".");i.slice(0,-1).forEach(e=>{a=a[e]}),a[i[i.length-1]]=r});const a=o.__comp;delete o.__comp;const i=o.__context;delete o.__context;const s=o.__props;return delete o.__props,(0,l.jsx)(u.W,{value:i,children:(0,l.jsx)(a,{...o,...s,...n})})}})}const f=[{path:"/chat",component:d("/chat","4b9"),exact:!0},{path:"/code",component:d("/code","309"),exact:!0},{path:"/consulting",component:d("/consulting","c8b"),exact:!0},{path:"/demo-submitted",component:d("/demo-submitted","618"),exact:!0},{path:"/legal-notice",component:d("/legal-notice","b0b"),exact:!0},{path:"/license",component:d("/license","bdc"),exact:!0},{path:"/markdown-page",component:d("/markdown-page","3d7"),exact:!0},{path:"/meeting",component:d("/meeting","b8a"),exact:!0},{path:"/meeting-paid",component:d("/meeting-paid","372"),exact:!0},{path:"/meeting-paid-starter",component:d("/meeting-paid-starter","666"),exact:!0},{path:"/newsletter",component:d("/newsletter","c98"),exact:!0},{path:"/premium",component:d("/premium","40c"),exact:!0},{path:"/premium-submitted",component:d("/premium-submitted","c98"),exact:!0},{path:"/sem/angular-database",component:d("/sem/angular-database","4ab"),exact:!0},{path:"/sem/browser-database",component:d("/sem/browser-database","baf"),exact:!0},{path:"/sem/capacitor-database",component:d("/sem/capacitor-database","e71"),exact:!0},{path:"/sem/electron-database",component:d("/sem/electron-database","7ac"),exact:!0},{path:"/sem/expo-database",component:d("/sem/expo-database","f40"),exact:!0},{path:"/sem/firestore-alternative",component:d("/sem/firestore-alternative","113"),exact:!0},{path:"/sem/gads",component:d("/sem/gads","bb5"),exact:!0},{path:"/sem/indexeddb-database",component:d("/sem/indexeddb-database","b06"),exact:!0},{path:"/sem/indexeddb-database-2",component:d("/sem/indexeddb-database-2","e14"),exact:!0},{path:"/sem/ionic-database",component:d("/sem/ionic-database","102"),exact:!0},{path:"/sem/localstorage-database",component:d("/sem/localstorage-database","169"),exact:!0},{path:"/sem/nedb-alternative",component:d("/sem/nedb-alternative","f4a"),exact:!0},{path:"/sem/nodejs-database",component:d("/sem/nodejs-database","b04"),exact:!0},{path:"/sem/nosql-database",component:d("/sem/nosql-database","6b7"),exact:!0},{path:"/sem/pouchdb-alternative",component:d("/sem/pouchdb-alternative","b71"),exact:!0},{path:"/sem/react-database",component:d("/sem/react-database","ab6"),exact:!0},{path:"/sem/react-native-database",component:d("/sem/react-native-database","425"),exact:!0},{path:"/sem/reddit",component:d("/sem/reddit","4da"),exact:!0},{path:"/sem/svelte-database",component:d("/sem/svelte-database","fdd"),exact:!0},{path:"/sem/vue-database",component:d("/sem/vue-database","dfc"),exact:!0},{path:"/sem/watermelondb-alternative",component:d("/sem/watermelondb-alternative","d56"),exact:!0},{path:"/service-submitted",component:d("/service-submitted","3ce"),exact:!0},{path:"/survey",component:d("/survey","bf5"),exact:!0},{path:"/",component:d("/","e5f"),exact:!0},{path:"/",component:d("/","2b0"),routes:[{path:"/",component:d("/","a99"),routes:[{path:"/",component:d("/","f22"),routes:[{path:"/adapters.html",component:d("/adapters.html","d79"),exact:!0},{path:"/alternatives.html",component:d("/alternatives.html","180"),exact:!0,sidebar:"tutorialSidebar"},{path:"/articles/angular-database.html",component:d("/articles/angular-database.html","7ba"),exact:!0,sidebar:"tutorialSidebar"},{path:"/articles/angular-indexeddb.html",component:d("/articles/angular-indexeddb.html","bc4"),exact:!0,sidebar:"tutorialSidebar"},{path:"/articles/browser-database.html",component:d("/articles/browser-database.html","822"),exact:!0,sidebar:"tutorialSidebar"},{path:"/articles/browser-storage.html",component:d("/articles/browser-storage.html","fc0"),exact:!0,sidebar:"tutorialSidebar"},{path:"/articles/data-base.html",component:d("/articles/data-base.html","fc4"),exact:!0,sidebar:"tutorialSidebar"},{path:"/articles/embedded-database.html",component:d("/articles/embedded-database.html","6c0"),exact:!0,sidebar:"tutorialSidebar"},{path:"/articles/firebase-realtime-database-alternative.html",component:d("/articles/firebase-realtime-database-alternative.html","82f"),exact:!0,sidebar:"tutorialSidebar"},{path:"/articles/firestore-alternative.html",component:d("/articles/firestore-alternative.html","f23"),exact:!0,sidebar:"tutorialSidebar"},{path:"/articles/flutter-database.html",component:d("/articles/flutter-database.html","e70"),exact:!0,sidebar:"tutorialSidebar"},{path:"/articles/frontend-database.html",component:d("/articles/frontend-database.html","b9e"),exact:!0,sidebar:"tutorialSidebar"},{path:"/articles/ideas",component:d("/articles/ideas","8cc"),exact:!0},{path:"/articles/in-memory-nosql-database.html",component:d("/articles/in-memory-nosql-database.html","94c"),exact:!0,sidebar:"tutorialSidebar"},{path:"/articles/indexeddb-max-storage-limit.html",component:d("/articles/indexeddb-max-storage-limit.html","52c"),exact:!0,sidebar:"tutorialSidebar"},{path:"/articles/ionic-database.html",component:d("/articles/ionic-database.html","fcf"),exact:!0,sidebar:"tutorialSidebar"},{path:"/articles/ionic-storage.html",component:d("/articles/ionic-storage.html","5ca"),exact:!0,sidebar:"tutorialSidebar"},{path:"/articles/javascript-vector-database.html",component:d("/articles/javascript-vector-database.html","c04"),exact:!0,sidebar:"tutorialSidebar"},{path:"/articles/jquery-database.html",component:d("/articles/jquery-database.html","21c"),exact:!0,sidebar:"tutorialSidebar"},{path:"/articles/json-based-database.html",component:d("/articles/json-based-database.html","457"),exact:!0,sidebar:"tutorialSidebar"},{path:"/articles/json-database.html",component:d("/articles/json-database.html","cd0"),exact:!0,sidebar:"tutorialSidebar"},{path:"/articles/local-database.html",component:d("/articles/local-database.html","389"),exact:!0,sidebar:"tutorialSidebar"},{path:"/articles/local-first-future.html",component:d("/articles/local-first-future.html","215"),exact:!0,sidebar:"tutorialSidebar"},{path:"/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm.html",component:d("/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm.html","fa3"),exact:!0,sidebar:"tutorialSidebar"},{path:"/articles/localstorage.html",component:d("/articles/localstorage.html","589"),exact:!0,sidebar:"tutorialSidebar"},{path:"/articles/mobile-database.html",component:d("/articles/mobile-database.html","2e2"),exact:!0,sidebar:"tutorialSidebar"},{path:"/articles/offline-database.html",component:d("/articles/offline-database.html","020"),exact:!0,sidebar:"tutorialSidebar"},{path:"/articles/optimistic-ui.html",component:d("/articles/optimistic-ui.html","12a"),exact:!0,sidebar:"tutorialSidebar"},{path:"/articles/progressive-web-app-database.html",component:d("/articles/progressive-web-app-database.html","a95"),exact:!0,sidebar:"tutorialSidebar"},{path:"/articles/react-database.html",component:d("/articles/react-database.html","0ae"),exact:!0,sidebar:"tutorialSidebar"},{path:"/articles/react-indexeddb.html",component:d("/articles/react-indexeddb.html","e83"),exact:!0,sidebar:"tutorialSidebar"},{path:"/articles/react-native-encryption.html",component:d("/articles/react-native-encryption.html","44b"),exact:!0,sidebar:"tutorialSidebar"},{path:"/articles/reactjs-storage.html",component:d("/articles/reactjs-storage.html","046"),exact:!0,sidebar:"tutorialSidebar"},{path:"/articles/realtime-database.html",component:d("/articles/realtime-database.html","e61"),exact:!0,sidebar:"tutorialSidebar"},{path:"/articles/vue-database.html",component:d("/articles/vue-database.html","6aa"),exact:!0,sidebar:"tutorialSidebar"},{path:"/articles/vue-indexeddb.html",component:d("/articles/vue-indexeddb.html","66e"),exact:!0,sidebar:"tutorialSidebar"},{path:"/articles/websockets-sse-polling-webrtc-webtransport.html",component:d("/articles/websockets-sse-polling-webrtc-webtransport.html","66d"),exact:!0,sidebar:"tutorialSidebar"},{path:"/articles/zero-latency-local-first.html",component:d("/articles/zero-latency-local-first.html","c0c"),exact:!0,sidebar:"tutorialSidebar"},{path:"/backup.html",component:d("/backup.html","51d"),exact:!0,sidebar:"tutorialSidebar"},{path:"/capacitor-database.html",component:d("/capacitor-database.html","149"),exact:!0,sidebar:"tutorialSidebar"},{path:"/cleanup.html",component:d("/cleanup.html","b7d"),exact:!0,sidebar:"tutorialSidebar"},{path:"/contribution.html",component:d("/contribution.html","faf"),exact:!0,sidebar:"tutorialSidebar"},{path:"/crdt.html",component:d("/crdt.html","c2c"),exact:!0,sidebar:"tutorialSidebar"},{path:"/data-migration.html",component:d("/data-migration.html","bf6"),exact:!0},{path:"/dev-mode.html",component:d("/dev-mode.html","e56"),exact:!0,sidebar:"tutorialSidebar"},{path:"/downsides-of-offline-first.html",component:d("/downsides-of-offline-first.html","c17"),exact:!0,sidebar:"tutorialSidebar"},{path:"/electron-database.html",component:d("/electron-database.html","024"),exact:!0,sidebar:"tutorialSidebar"},{path:"/electron.html",component:d("/electron.html","237"),exact:!0,sidebar:"tutorialSidebar"},{path:"/encryption.html",component:d("/encryption.html","132"),exact:!0,sidebar:"tutorialSidebar"},{path:"/errors.html",component:d("/errors.html","559"),exact:!0,sidebar:"tutorialSidebar"},{path:"/fulltext-search.html",component:d("/fulltext-search.html","ada"),exact:!0,sidebar:"tutorialSidebar"},{path:"/install.html",component:d("/install.html","3c3"),exact:!0,sidebar:"tutorialSidebar"},{path:"/key-compression.html",component:d("/key-compression.html","85e"),exact:!0,sidebar:"tutorialSidebar"},{path:"/leader-election.html",component:d("/leader-election.html","9f4"),exact:!0,sidebar:"tutorialSidebar"},{path:"/logger.html",component:d("/logger.html","4f5"),exact:!0,sidebar:"tutorialSidebar"},{path:"/middleware.html",component:d("/middleware.html","4f8"),exact:!0,sidebar:"tutorialSidebar"},{path:"/migration-schema.html",component:d("/migration-schema.html","6c3"),exact:!0,sidebar:"tutorialSidebar"},{path:"/migration-storage.html",component:d("/migration-storage.html","aa6"),exact:!0,sidebar:"tutorialSidebar"},{path:"/nodejs-database.html",component:d("/nodejs-database.html","21d"),exact:!0,sidebar:"tutorialSidebar"},{path:"/nosql-performance-tips.html",component:d("/nosql-performance-tips.html","174"),exact:!0,sidebar:"tutorialSidebar"},{path:"/offline-first.html",component:d("/offline-first.html","0c3"),exact:!0,sidebar:"tutorialSidebar"},{path:"/orm.html",component:d("/orm.html","1fc"),exact:!0,sidebar:"tutorialSidebar"},{path:"/overview.html",component:d("/overview.html","22a"),exact:!0,sidebar:"tutorialSidebar"},{path:"/plugins.html",component:d("/plugins.html","373"),exact:!0,sidebar:"tutorialSidebar"},{path:"/population.html",component:d("/population.html","7f7"),exact:!0,sidebar:"tutorialSidebar"},{path:"/query-cache.html",component:d("/query-cache.html","4d9"),exact:!0,sidebar:"tutorialSidebar"},{path:"/query-optimizer.html",component:d("/query-optimizer.html","772"),exact:!0,sidebar:"tutorialSidebar"},{path:"/quickstart.html",component:d("/quickstart.html","21b"),exact:!0,sidebar:"tutorialSidebar"},{path:"/react-native-database.html",component:d("/react-native-database.html","f66"),exact:!0,sidebar:"tutorialSidebar"},{path:"/react.html",component:d("/react.html","589"),exact:!0,sidebar:"tutorialSidebar"},{path:"/reactivity.html",component:d("/reactivity.html","6bf"),exact:!0,sidebar:"tutorialSidebar"},{path:"/releases/10.0.0.html",component:d("/releases/10.0.0.html","869"),exact:!0,sidebar:"tutorialSidebar"},{path:"/releases/11.0.0.html",component:d("/releases/11.0.0.html","665"),exact:!0,sidebar:"tutorialSidebar"},{path:"/releases/12.0.0.html",component:d("/releases/12.0.0.html","8d8"),exact:!0,sidebar:"tutorialSidebar"},{path:"/releases/13.0.0.html",component:d("/releases/13.0.0.html","05c"),exact:!0,sidebar:"tutorialSidebar"},{path:"/releases/14.0.0.html",component:d("/releases/14.0.0.html","72c"),exact:!0,sidebar:"tutorialSidebar"},{path:"/releases/15.0.0.html",component:d("/releases/15.0.0.html","5e9"),exact:!0,sidebar:"tutorialSidebar"},{path:"/releases/16.0.0.html",component:d("/releases/16.0.0.html","7b5"),exact:!0,sidebar:"tutorialSidebar"},{path:"/releases/17.0.0.html",component:d("/releases/17.0.0.html","29c"),exact:!0,sidebar:"tutorialSidebar"},{path:"/releases/8.0.0.html",component:d("/releases/8.0.0.html","c17"),exact:!0,sidebar:"tutorialSidebar"},{path:"/releases/9.0.0.html",component:d("/releases/9.0.0.html","e32"),exact:!0,sidebar:"tutorialSidebar"},{path:"/replication-appwrite.html",component:d("/replication-appwrite.html","123"),exact:!0,sidebar:"tutorialSidebar"},{path:"/replication-couchdb.html",component:d("/replication-couchdb.html","af3"),exact:!0,sidebar:"tutorialSidebar"},{path:"/replication-firestore.html",component:d("/replication-firestore.html","fe7"),exact:!0,sidebar:"tutorialSidebar"},{path:"/replication-graphql.html",component:d("/replication-graphql.html","733"),exact:!0,sidebar:"tutorialSidebar"},{path:"/replication-http.html",component:d("/replication-http.html","ada"),exact:!0,sidebar:"tutorialSidebar"},{path:"/replication-mongodb.html",component:d("/replication-mongodb.html","2f9"),exact:!0,sidebar:"tutorialSidebar"},{path:"/replication-nats.html",component:d("/replication-nats.html","753"),exact:!0,sidebar:"tutorialSidebar"},{path:"/replication-p2p.html",component:d("/replication-p2p.html","e43"),exact:!0},{path:"/replication-server.html",component:d("/replication-server.html","22a"),exact:!0,sidebar:"tutorialSidebar"},{path:"/replication-supabase.html",component:d("/replication-supabase.html","8c2"),exact:!0,sidebar:"tutorialSidebar"},{path:"/replication-webrtc.html",component:d("/replication-webrtc.html","1f5"),exact:!0,sidebar:"tutorialSidebar"},{path:"/replication-websocket.html",component:d("/replication-websocket.html","20c"),exact:!0,sidebar:"tutorialSidebar"},{path:"/replication.html",component:d("/replication.html","860"),exact:!0,sidebar:"tutorialSidebar"},{path:"/rx-attachment.html",component:d("/rx-attachment.html","88f"),exact:!0,sidebar:"tutorialSidebar"},{path:"/rx-collection.html",component:d("/rx-collection.html","83c"),exact:!0,sidebar:"tutorialSidebar"},{path:"/rx-database.html",component:d("/rx-database.html","788"),exact:!0,sidebar:"tutorialSidebar"},{path:"/rx-document.html",component:d("/rx-document.html","4cc"),exact:!0,sidebar:"tutorialSidebar"},{path:"/rx-local-document.html",component:d("/rx-local-document.html","34a"),exact:!0,sidebar:"tutorialSidebar"},{path:"/rx-pipeline.html",component:d("/rx-pipeline.html","143"),exact:!0,sidebar:"tutorialSidebar"},{path:"/rx-query.html",component:d("/rx-query.html","60e"),exact:!0,sidebar:"tutorialSidebar"},{path:"/rx-schema.html",component:d("/rx-schema.html","5c7"),exact:!0,sidebar:"tutorialSidebar"},{path:"/rx-server-scaling.html",component:d("/rx-server-scaling.html","960"),exact:!0,sidebar:"tutorialSidebar"},{path:"/rx-server.html",component:d("/rx-server.html","1dc"),exact:!0,sidebar:"tutorialSidebar"},{path:"/rx-state.html",component:d("/rx-state.html","928"),exact:!0,sidebar:"tutorialSidebar"},{path:"/rx-storage-denokv.html",component:d("/rx-storage-denokv.html","e15"),exact:!0,sidebar:"tutorialSidebar"},{path:"/rx-storage-dexie.html",component:d("/rx-storage-dexie.html","ed6"),exact:!0,sidebar:"tutorialSidebar"},{path:"/rx-storage-filesystem-node.html",component:d("/rx-storage-filesystem-node.html","ff0"),exact:!0,sidebar:"tutorialSidebar"},{path:"/rx-storage-foundationdb.html",component:d("/rx-storage-foundationdb.html","0ee"),exact:!0,sidebar:"tutorialSidebar"},{path:"/rx-storage-indexeddb.html",component:d("/rx-storage-indexeddb.html","823"),exact:!0,sidebar:"tutorialSidebar"},{path:"/rx-storage-localstorage-meta-optimizer.html",component:d("/rx-storage-localstorage-meta-optimizer.html","817"),exact:!0,sidebar:"tutorialSidebar"},{path:"/rx-storage-localstorage.html",component:d("/rx-storage-localstorage.html","01f"),exact:!0,sidebar:"tutorialSidebar"},{path:"/rx-storage-lokijs.html",component:d("/rx-storage-lokijs.html","96a"),exact:!0},{path:"/rx-storage-memory-mapped.html",component:d("/rx-storage-memory-mapped.html","e84"),exact:!0,sidebar:"tutorialSidebar"},{path:"/rx-storage-memory-synced.html",component:d("/rx-storage-memory-synced.html","7b4"),exact:!0},{path:"/rx-storage-memory.html",component:d("/rx-storage-memory.html","723"),exact:!0,sidebar:"tutorialSidebar"},{path:"/rx-storage-mongodb.html",component:d("/rx-storage-mongodb.html","e65"),exact:!0,sidebar:"tutorialSidebar"},{path:"/rx-storage-opfs.html",component:d("/rx-storage-opfs.html","5cb"),exact:!0,sidebar:"tutorialSidebar"},{path:"/rx-storage-performance.html",component:d("/rx-storage-performance.html","cab"),exact:!0,sidebar:"tutorialSidebar"},{path:"/rx-storage-pouchdb.html",component:d("/rx-storage-pouchdb.html","a91"),exact:!0},{path:"/rx-storage-remote.html",component:d("/rx-storage-remote.html","03c"),exact:!0,sidebar:"tutorialSidebar"},{path:"/rx-storage-sharding.html",component:d("/rx-storage-sharding.html","0e6"),exact:!0,sidebar:"tutorialSidebar"},{path:"/rx-storage-shared-worker.html",component:d("/rx-storage-shared-worker.html","8f8"),exact:!0,sidebar:"tutorialSidebar"},{path:"/rx-storage-sqlite.html",component:d("/rx-storage-sqlite.html","9e6"),exact:!0,sidebar:"tutorialSidebar"},{path:"/rx-storage-worker.html",component:d("/rx-storage-worker.html","762"),exact:!0,sidebar:"tutorialSidebar"},{path:"/rx-storage.html",component:d("/rx-storage.html","ee2"),exact:!0,sidebar:"tutorialSidebar"},{path:"/rxdb-tradeoffs.html",component:d("/rxdb-tradeoffs.html","970"),exact:!0},{path:"/schema-validation.html",component:d("/schema-validation.html","c8b"),exact:!0,sidebar:"tutorialSidebar"},{path:"/slow-indexeddb.html",component:d("/slow-indexeddb.html","e17"),exact:!0,sidebar:"tutorialSidebar"},{path:"/third-party-plugins.html",component:d("/third-party-plugins.html","49f"),exact:!0,sidebar:"tutorialSidebar"},{path:"/transactions-conflicts-revisions.html",component:d("/transactions-conflicts-revisions.html","282"),exact:!0,sidebar:"tutorialSidebar"},{path:"/tutorials/typescript.html",component:d("/tutorials/typescript.html","1c2"),exact:!0,sidebar:"tutorialSidebar"},{path:"/why-nosql.html",component:d("/why-nosql.html","7cb"),exact:!0,sidebar:"tutorialSidebar"}]}]}]},{path:"*",component:d("*")}]},8426(e,t){function n(e){let t,n=[];for(let r of e.split(",").map(e=>e.trim()))if(/^-?\d+$/.test(r))n.push(parseInt(r,10));else if(t=r.match(/^(-?\d+)(-|\.\.\.?|\u2025|\u2026|\u22EF)(-?\d+)$/)){let[e,r,o,a]=t;if(r&&a){r=parseInt(r),a=parseInt(a);const e=rr})},8601(e,t,n){"use strict";n.d(t,{A:()=>j,h:()=>E});var r=n(6540),o=n(4164),a=(n(8426),n(9532)),i=n(4848);const l={js:{start:"\\/\\/",end:""},jsBlock:{start:"\\/\\*",end:"\\*\\/"},jsx:{start:"\\{\\s*\\/\\*",end:"\\*\\/\\s*\\}"},bash:{start:"#",end:""},html:{start:"\x3c!--",end:"--\x3e"}};Object.keys(l);const s=(0,r.createContext)(null);function c({metadata:e,wordWrap:t,children:n}){const o=(0,r.useMemo)(()=>({metadata:e,wordWrap:t}),[e,t]);return(0,i.jsx)(s.Provider,{value:o,children:n})}function u(){const e=(0,r.useContext)(s);if(null===e)throw new a.dV("CodeBlockContextProvider");return e}var d=n(1312);function f({className:e,...t}){return(0,i.jsx)("button",{type:"button",...t,className:(0,o.A)("clean-btn",e)})}function p(e){return(0,i.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,i.jsx)("path",{fill:"currentColor",d:"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"})})}function h(e){return(0,i.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,i.jsx)("path",{fill:"currentColor",d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"})})}const m={copyButtonCopied:"copyButtonCopied_Vdqa",copyButtonIcons:"copyButtonIcons_IEyt",copyButtonIcon:"copyButtonIcon_TrPX",copyButtonSuccessIcon:"copyButtonSuccessIcon_cVMy"};function g(e){return e?(0,d.T)({id:"theme.CodeBlock.copied",message:"Copied",description:"The copied button label on code blocks"}):(0,d.T)({id:"theme.CodeBlock.copyButtonAriaLabel",message:"Copy code to clipboard",description:"The ARIA label for copy code blocks button"})}function b({className:e}){const{copyCode:t,isCopied:n}=function(){const{metadata:{code:e}}=u(),[t,n]=(0,r.useState)(!1),o=(0,r.useRef)(void 0),a=(0,r.useCallback)(()=>{navigator.clipboard.writeText(e).then(()=>{n(!0),o.current=window.setTimeout(()=>{n(!1)},1e3)})},[e]);return(0,r.useEffect)(()=>()=>window.clearTimeout(o.current),[]),{copyCode:a,isCopied:t}}();return(0,i.jsx)(f,{"aria-label":g(n),title:(0,d.T)({id:"theme.CodeBlock.copy",message:"Copy",description:"The copy button label on code blocks"}),className:(0,o.A)(e,m.copyButton,n&&m.copyButtonCopied),onClick:t,children:(0,i.jsxs)("span",{className:m.copyButtonIcons,"aria-hidden":"true",children:[(0,i.jsx)(p,{className:m.copyButtonIcon}),(0,i.jsx)(h,{className:m.copyButtonSuccessIcon})]})})}function v(e){return(0,i.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,i.jsx)("path",{fill:"currentColor",d:"M4 19h6v-2H4v2zM20 5H4v2h16V5zm-3 6H4v2h13.25c1.1 0 2 .9 2 2s-.9 2-2 2H15v-2l-3 3l3 3v-2h2c2.21 0 4-1.79 4-4s-1.79-4-4-4z"})})}const y="wordWrapButtonIcon_b1P5",x="wordWrapButtonEnabled_uzNF";function w({className:e}){const{wordWrap:t}=u();if(!(t.isEnabled||t.isCodeScrollable))return!1;const n=(0,d.T)({id:"theme.CodeBlock.wordWrapToggle",message:"Toggle word wrap",description:"The title attribute for toggle word wrapping button of code block lines"});return(0,i.jsx)(f,{onClick:()=>t.toggle(),className:(0,o.A)(e,t.isEnabled&&x),"aria-label":n,title:n,children:(0,i.jsx)(v,{className:y,"aria-hidden":"true"})})}const k="buttonGroup_M5ko",S="codeBlockContainer_Ckt0",C={position:"relative","--prism-background-color":"var(--bg-color-code)","--prism-color":"var(--shiki-foreground)"};function E({children:e}){const t=(0,r.useRef)(null),[n,a]=(0,r.useState)(""),l=function(){const[e,t]=(0,r.useState)(!1),[n,o]=(0,r.useState)(!1),a=(0,r.useRef)(null),i=(0,r.useCallback)(()=>{const n=a.current?.querySelector("code");n&&(e?(n.style.whiteSpace="",n.style.overflowWrap=""):(n.style.whiteSpace="pre-wrap",n.style.overflowWrap="anywhere"),t(e=>!e))},[e]),l=(0,r.useCallback)(()=>{if(!a.current)return;const{scrollWidth:e,clientWidth:t}=a.current;o(e>t)},[]);return(0,r.useEffect)(()=>{l()},[e,l]),(0,r.useEffect)(()=>(window.addEventListener("resize",l,{passive:!0}),()=>window.removeEventListener("resize",l)),[l]),{codeBlockRef:a,isEnabled:e,isCodeScrollable:n,toggle:i}}();(0,r.useEffect)(()=>{t.current&&a(t.current.textContent||"")},[e]);const s={codeInput:n,code:n,className:"language-text",language:"text",title:void 0,lineNumbersStart:void 0,lineClassNames:{}};if("string"==typeof e)return(0,i.jsx)(c,{metadata:{...s,code:e,codeInput:e},wordWrap:l,children:(0,i.jsxs)("div",{className:(0,o.A)(S,"theme-code-block"),style:C,children:[(0,i.jsx)("pre",{ref:l.codeBlockRef,children:(0,i.jsx)("code",{children:e})}),(0,i.jsxs)("div",{className:k,children:[(0,i.jsx)(w,{}),(0,i.jsx)(b,{})]})]})});if(r.isValidElement(e)&&"pre"===e.type){const n=e.props,r=n.className||"",a={...s,className:r||"language-text",language:r.replace("language-","")||"text"};return(0,i.jsx)(c,{metadata:a,wordWrap:l,children:(0,i.jsxs)("div",{className:(0,o.A)(S,"theme-code-block"),style:C,children:[(0,i.jsx)("pre",{...n,ref:e=>{t.current=e,l.codeBlockRef&&(l.codeBlockRef.current=e)}}),(0,i.jsxs)("div",{className:k,children:[(0,i.jsx)(w,{}),(0,i.jsx)(b,{})]})]})})}return e}function j(e){return(0,i.jsx)(E,{children:(0,i.jsx)("pre",{...e})})}},8711(e,t,n){"use strict";n.d(t,{A:()=>St});var r=n(6540),o=n(4164),a=n(7489),i=n(5500),l=n(6347),s=n(1312),c=n(5062),u=n(4848);const d="__docusaurus_skipToContent_fallback";function f(e){e.setAttribute("tabindex","-1"),e.focus(),e.removeAttribute("tabindex")}function p(){const e=(0,r.useRef)(null),{action:t}=(0,l.W6)(),n=(0,r.useCallback)(e=>{e.preventDefault();const t=document.querySelector("main:first-of-type")??document.getElementById(d);t&&f(t)},[]);return(0,c.$)(({location:n})=>{e.current&&!n.hash&&"PUSH"===t&&f(e.current)}),{containerRef:e,onClick:n}}const h=(0,s.T)({id:"theme.common.skipToMainContent",description:"The skip to content label used for accessibility, allowing to rapidly navigate to main content with keyboard tab/enter navigation",message:"Skip to main content"});function m(e){const t=e.children??h,{containerRef:n,onClick:r}=p();return(0,u.jsx)("div",{ref:n,role:"region","aria-label":h,children:(0,u.jsx)("a",{...e,href:`#${d}`,onClick:r,children:t})})}var g=n(7559),b=n(4090);const v="skipToContent_fXgn";function y(){return(0,u.jsx)(m,{className:v})}var x=n(6342),w=n(5041),k=n(2949);function S(e){return(0,u.jsx)(k.g,{clickable:!0})}const C="closeButton_CVFx";function E(e){return(0,u.jsx)("button",{type:"button","aria-label":(0,s.T)({id:"theme.AnnouncementBar.closeButtonAriaLabel",message:"Close",description:"The ARIA label for close button of announcement bar"}),...e,className:(0,o.A)("clean-btn close",C,e.className),children:(0,u.jsx)(S,{width:14,height:14,strokeWidth:3.1})})}const j="content_knG7";function _(e){const{announcementBar:t}=(0,x.p)(),{content:n}=t;return(0,u.jsx)("div",{...e,className:(0,o.A)(j,e.className),dangerouslySetInnerHTML:{__html:n}})}const O="announcementBar_mb4j",T="announcementBarPlaceholder_vyr4",P="announcementBarClose_gvF7",A="announcementBarContent_xLdY";function N(){const{announcementBar:e}=(0,x.p)(),{isActive:t,close:n}=(0,w.M)();if(!t)return null;const{backgroundColor:r,textColor:a,isCloseable:i}=e;return(0,u.jsxs)("div",{className:(0,o.A)(g.G.announcementBar.container,O),style:{backgroundColor:r,color:a},role:"banner",children:[i&&(0,u.jsx)("div",{className:T}),(0,u.jsx)(_,{className:A}),i&&(0,u.jsx)(E,{onClick:n,className:P})]})}var M=n(2069),L=n(3104);var I=n(9532),R=n(5600);const $=r.createContext(null);function F({children:e}){const t=function(){const e=(0,M.M)(),t=(0,R.YL)(),[n,o]=(0,r.useState)(!1),a=null!==t.component,i=(0,I.ZC)(a);return(0,r.useEffect)(()=>{a&&!i&&o(!0)},[a,i]),(0,r.useEffect)(()=>{a?e.shown||o(!0):o(!1)},[e.shown,a]),(0,r.useMemo)(()=>[n,o],[n])}();return(0,u.jsx)($.Provider,{value:t,children:e})}function z(e){if(e.component){const t=e.component;return(0,u.jsx)(t,{...e.props})}}function D(){const e=(0,r.useContext)($);if(!e)throw new I.dV("NavbarSecondaryMenuDisplayProvider");const[t,n]=e,o=(0,r.useCallback)(()=>n(!1),[n]),a=(0,R.YL)();return(0,r.useMemo)(()=>({shown:t,hide:o,content:z(a)}),[o,a,t])}function B(e){if(!r.version)throw new Error("version is missing");return parseInt(r.version.split(".")[0],10)<19?{inert:e?"":void 0}:{inert:e}}function H({children:e,inert:t}){return(0,u.jsx)("div",{className:(0,o.A)(g.G.layout.navbar.mobileSidebar.panel,"navbar-sidebar__item menu"),...B(t),children:e})}function V({header:e,primaryMenu:t,secondaryMenu:n}){const{shown:r}=D();return(0,u.jsxs)("div",{className:(0,o.A)(g.G.layout.navbar.mobileSidebar.container,"navbar-sidebar"),children:[e,(0,u.jsxs)("div",{className:(0,o.A)("navbar-sidebar__items",{"navbar-sidebar__items--show-secondary":r}),children:[(0,u.jsx)(H,{inert:r,children:t}),(0,u.jsx)(H,{inert:!r,children:n})]})]})}var U=n(5293),q=n(2303);function W(e){return(0,u.jsx)("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:(0,u.jsx)("path",{fill:"currentColor",d:"M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"})})}function G(e){return(0,u.jsx)("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:(0,u.jsx)("path",{fill:"currentColor",d:"M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"})})}function X(e){return(0,u.jsx)("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:(0,u.jsx)("path",{fill:"currentColor",d:"m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"})})}const K="toggle_vylO",Y="toggleButton_gllP",Q="toggleIcon_g3eP",Z="systemToggleIcon_QzmC",J="lightToggleIcon_pyhR",ee="darkToggleIcon_wfgR",te="toggleButtonDisabled_aARS";function ne(e){switch(e){case null:return(0,s.T)({message:"system mode",id:"theme.colorToggle.ariaLabel.mode.system",description:"The name for the system color mode"});case"light":return(0,s.T)({message:"light mode",id:"theme.colorToggle.ariaLabel.mode.light",description:"The name for the light color mode"});case"dark":return(0,s.T)({message:"dark mode",id:"theme.colorToggle.ariaLabel.mode.dark",description:"The name for the dark color mode"});default:throw new Error(`unexpected color mode ${e}`)}}function re(e){return(0,s.T)({message:"Switch between dark and light mode (currently {mode})",id:"theme.colorToggle.ariaLabel",description:"The ARIA label for the color mode toggle"},{mode:ne(e)})}function oe(){return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(W,{"aria-hidden":!0,className:(0,o.A)(Q,J)}),(0,u.jsx)(G,{"aria-hidden":!0,className:(0,o.A)(Q,ee)}),(0,u.jsx)(X,{"aria-hidden":!0,className:(0,o.A)(Q,Z)})]})}function ae({className:e,buttonClassName:t,respectPrefersColorScheme:n,value:r,onChange:a}){const i=(0,q.A)();return(0,u.jsx)("div",{className:(0,o.A)(K,e),children:(0,u.jsx)("button",{className:(0,o.A)("clean-btn",Y,!i&&te,t),type:"button",onClick:()=>a(function(e,t){if(!t)return"dark"===e?"light":"dark";switch(e){case null:return"light";case"light":return"dark";case"dark":return null;default:throw new Error(`unexpected color mode ${e}`)}}(r,n)),disabled:!i,title:ne(r),"aria-label":re(r),children:(0,u.jsx)(oe,{})})})}const ie=r.memo(ae),le="darkNavbarColorModeToggle_Q0Zn";function se({className:e}){const t=(0,x.p)().navbar.style,{disableSwitch:n,respectPrefersColorScheme:r}=(0,x.p)().colorMode,{colorModeChoice:o,setColorMode:a}=(0,U.G)();return n?null:(0,u.jsx)(ie,{className:e,buttonClassName:"dark"===t?le:void 0,respectPrefersColorScheme:r,value:o,onChange:a})}var ce=n(9529);function ue(){return(0,u.jsx)(ce.A,{className:"navbar__brand",imageClassName:"navbar__logo",titleClassName:"navbar__title text--truncate"})}function de(){const e=(0,M.M)();return(0,u.jsx)("button",{type:"button","aria-label":(0,s.T)({id:"theme.docs.sidebar.closeSidebarButtonAriaLabel",message:"Close navigation bar",description:"The ARIA label for close button of mobile sidebar"}),className:"clean-btn navbar-sidebar__close",onClick:()=>e.toggle(),children:(0,u.jsx)(S,{color:"var(--ifm-color-emphasis-600)"})})}function fe(){return(0,u.jsxs)("div",{className:"navbar-sidebar__brand",children:[(0,u.jsx)(ue,{}),(0,u.jsx)(se,{className:"margin-right--md"}),(0,u.jsx)(de,{})]})}var pe=n(8774),he=n(6025),me=n(6654);function ge(e,t){return void 0!==e&&void 0!==t&&new RegExp(e,"gi").test(t)}var be=n(3186),ve=n(8141),ye=n(3103);function xe({activeBasePath:e,activeBaseRegex:t,to:n,href:o,label:a,html:i,isDropdownLink:l,prependBaseUrlToHref:s,...c}){const d=(0,he.Ay)(n),f=(0,he.Ay)(e),p=(0,he.Ay)(o,{forcePrependBaseUrl:!0}),h=a&&o&&!(0,me.A)(o),m=i?{dangerouslySetInnerHTML:{__html:i}}:{children:(0,u.jsxs)(u.Fragment,{children:[a,h&&(0,u.jsx)(be.A,{...l&&{width:12,height:12}})]})},g=o?(0,u.jsx)(pe.A,{onClick:()=>{(0,ve.c)("navbar_click",.1),(0,ve.c)("navbar_click_"+a.toLowerCase(),.2)},href:s?p:o,...c,...m}):(0,u.jsx)(pe.A,{to:d,isNavLink:!0,...(e||t)&&{isActive:(e,n)=>t?ge(t,n.pathname):n.pathname.startsWith(f)},...c,...m});if(c.dropdown){const[e,t]=(0,r.useState)(!1),n=(0,r.useRef)(null),o=()=>{n.current&&clearTimeout(n.current),t(!0)},a=()=>{n.current=setTimeout(()=>{t(!1)},200)};return(0,u.jsxs)("div",{className:"dropdown-wrapper",onMouseEnter:o,onMouseLeave:a,children:[g,e&&(0,u.jsx)(ye.KJ,{which:c.dropdown})]})}return g}function we({className:e,isDropdownItem:t,...n}){return(0,u.jsx)("li",{className:"menu__list-item",children:(0,u.jsx)(xe,{className:(0,o.A)("menu__link",e),...n})})}function ke({className:e,isDropdownItem:t=!1,...n}){const r=(0,u.jsx)(xe,{className:(0,o.A)(t?"dropdown__link":"navbar__item navbar__link",e),isDropdownLink:t,...n});return t?(0,u.jsx)("li",{children:r}):r}function Se({mobile:e=!1,position:t,...n}){const r=e?we:ke;return(0,u.jsx)(r,{...n,activeClassName:n.activeClassName??(e?"menu__link--active":"navbar__link--active")})}var Ce=n(1422),Ee=n(9169),je=n(4586);const _e="dropdownNavbarItemMobile_J0Sd";function Oe(e,t){return e.some(e=>function(e,t){return!!(0,Ee.ys)(e.to,t)||!!ge(e.activeBaseRegex,t)||!(!e.activeBasePath||!t.startsWith(e.activeBasePath))}(e,t))}function Te({collapsed:e,onClick:t}){return(0,u.jsx)("button",{"aria-label":e?(0,s.T)({id:"theme.navbar.mobileDropdown.collapseButton.expandAriaLabel",message:"Expand the dropdown",description:"The ARIA label of the button to expand the mobile dropdown navbar item"}):(0,s.T)({id:"theme.navbar.mobileDropdown.collapseButton.collapseAriaLabel",message:"Collapse the dropdown",description:"The ARIA label of the button to collapse the mobile dropdown navbar item"}),"aria-expanded":!e,type:"button",className:"clean-btn menu__caret",onClick:t})}function Pe({items:e,className:t,position:n,onClick:a,...i}){const s=function(){const{siteConfig:{baseUrl:e}}=(0,je.A)(),{pathname:t}=(0,l.zy)();return t.replace(e,"/")}(),c=(0,Ee.ys)(i.to,s),d=Oe(e,s),{collapsed:f,toggleCollapsed:p}=function({active:e}){const{collapsed:t,toggleCollapsed:n,setCollapsed:o}=(0,Ce.u)({initialState:()=>!e});return(0,r.useEffect)(()=>{e&&o(!1)},[e,o]),{collapsed:t,toggleCollapsed:n}}({active:c||d}),h=i.to?void 0:"#";return(0,u.jsxs)("li",{className:(0,o.A)("menu__list-item",{"menu__list-item--collapsed":f}),children:[(0,u.jsxs)("div",{className:(0,o.A)("menu__list-item-collapsible",{"menu__list-item-collapsible--active":c}),children:[(0,u.jsx)(xe,{role:"button",className:(0,o.A)(_e,"menu__link menu__link--sublist",t),href:h,...i,onClick:e=>{"#"===h&&e.preventDefault(),p()},children:i.children??i.label}),(0,u.jsx)(Te,{collapsed:f,onClick:e=>{e.preventDefault(),p()}})]}),(0,u.jsx)(Ce.N,{lazy:!0,as:"ul",className:"menu__list",collapsed:f,children:e.map((e,t)=>(0,r.createElement)(Ge,{mobile:!0,isDropdownItem:!0,onClick:a,activeClassName:"menu__link--active",...e,key:t}))})]})}function Ae({items:e,position:t,className:n,onClick:a,...i}){const l=(0,r.useRef)(null),[s,c]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{const e=e=>{l.current&&!l.current.contains(e.target)&&c(!1)};return document.addEventListener("mousedown",e),document.addEventListener("touchstart",e),document.addEventListener("focusin",e),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e),document.removeEventListener("focusin",e)}},[l]),(0,u.jsxs)("div",{ref:l,className:(0,o.A)("navbar__item","dropdown","dropdown--hoverable",{"dropdown--right":"right"===t,"dropdown--show":s}),children:[(0,u.jsx)(xe,{"aria-haspopup":"true","aria-expanded":s,role:"button",href:i.to?void 0:"#",className:(0,o.A)("navbar__link",n),...i,onClick:i.to?void 0:e=>e.preventDefault(),onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),c(!s))},children:i.children??i.label}),(0,u.jsx)("ul",{className:"dropdown__menu",children:e.map((e,t)=>(0,r.createElement)(Ge,{isDropdownItem:!0,activeClassName:"dropdown__link--active",...e,key:t}))})]})}function Ne({mobile:e=!1,...t}){const n=e?Pe:Ae;return(0,u.jsx)(n,{...t})}var Me=n(2131),Le=n(7485);function Ie({width:e=20,height:t=20,...n}){return(0,u.jsx)("svg",{viewBox:"0 0 24 24",width:e,height:t,"aria-hidden":!0,...n,children:(0,u.jsx)("path",{fill:"currentColor",d:"M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z"})})}const Re="iconLanguage_nlXk";function $e(){const{siteConfig:e,i18n:{localeConfigs:t}}=(0,je.A)(),n=(0,Me.o)(),r=(0,Le.Hl)(e=>e.location.search),o=(0,Le.Hl)(e=>e.location.hash),a=e=>{const n=t[e];if(!n)throw new Error(`Docusaurus bug, no locale config found for locale=${e}`);return n};return{getURL:(t,i)=>{const l=(0,Le.jy)([r,i.queryString],"append");return`${(t=>a(t).url===e.url?`pathname://${n.createUrl({locale:t,fullyQualified:!1})}`:n.createUrl({locale:t,fullyQualified:!0}))(t)}${l}${o}`},getLabel:e=>a(e).label,getLang:e=>a(e).htmlLang}}var Fe=n(8120);const ze="navbarSearchContainer_dCNk";function De({children:e,className:t}){return(0,u.jsx)("div",{className:(0,o.A)(t,ze),children:e})}var Be=n(8295),He=n(4718);var Ve=n(3886);function Ue({docsPluginId:e,configs:t}){return function(e,t){if(t){const n=new Map(e.map(e=>[e.name,e])),r=(t,r)=>{const o=n.get(t);if(!o)throw new Error(`No docs version exist for name '${t}', please verify your 'docsVersionDropdown' navbar item versions config.\nAvailable version names:\n- ${e.map(e=>`${e.name}`).join("\n- ")}`);return{version:o,label:r?.label??o.label}};return Array.isArray(t)?t.map(e=>r(e,void 0)):Object.entries(t).map(([e,t])=>r(e,t))}return e.map(e=>({version:e,label:e.label}))}((0,Be.jh)(e),t)}function qe(e,t){return t.alternateDocVersions[e.name]??function(e){return e.docs.find(t=>t.id===e.mainDocId)}(e)}const We={default:Se,localeDropdown:function({mobile:e,dropdownItemsBefore:t,dropdownItemsAfter:n,queryString:r,...o}){const a=$e(),{i18n:{currentLocale:i,locales:l}}=(0,je.A)(),c=[...t,...l.map(t=>({label:a.getLabel(t),lang:a.getLang(t),to:a.getURL(t,{queryString:r}),target:"_self",autoAddBaseUrl:!1,className:t===i?e?"menu__link--active":"dropdown__link--active":""})),...n],d=e?(0,s.T)({message:"Languages",id:"theme.navbar.mobileLanguageDropdown.label",description:"The label for the mobile language switcher dropdown"}):a.getLabel(i);return(0,u.jsx)(Ne,{...o,mobile:e,label:(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(Ie,{className:Re}),d]}),items:c})},search:function({mobile:e,className:t}){return e?null:(0,u.jsx)(De,{className:t,children:(0,u.jsx)(Fe.A,{})})},dropdown:Ne,html:function({value:e,className:t,mobile:n=!1,isDropdownItem:r=!1}){const a=r?"li":"div";return(0,u.jsx)(a,{className:(0,o.A)({navbar__item:!n&&!r,"menu__list-item":n},t),dangerouslySetInnerHTML:{__html:e}})},doc:function({docId:e,label:t,docsPluginId:n,...r}){const{activeDoc:o}=(0,Be.zK)(n),a=(0,He.QB)(e,n),i=o?.path===a?.path;return null===a||a.unlisted&&!i?null:(0,u.jsx)(Se,{exact:!0,...r,isActive:()=>i||!!o?.sidebar&&o.sidebar===a.sidebar,label:t??a.id,to:a.path})},docSidebar:function({sidebarId:e,label:t,docsPluginId:n,...r}){const{activeDoc:o}=(0,Be.zK)(n),a=(0,He.fW)(e,n).link;if(!a)throw new Error(`DocSidebarNavbarItem: Sidebar with ID "${e}" doesn't have anything to be linked to.`);return(0,u.jsx)(Se,{exact:!0,...r,isActive:()=>o?.sidebar===e,label:t??a.label,to:a.path})},docsVersion:function({label:e,to:t,docsPluginId:n,...r}){const o=(0,He.Vd)(n)[0],a=e??o.label,i=t??(e=>e.docs.find(t=>t.id===e.mainDocId))(o).path;return(0,u.jsx)(Se,{...r,label:a,to:i})},docsVersionDropdown:function({mobile:e,docsPluginId:t,dropdownActiveClassDisabled:n,dropdownItemsBefore:r,dropdownItemsAfter:o,versions:a,...i}){const l=(0,Le.Hl)(e=>e.location.search),c=(0,Le.Hl)(e=>e.location.hash),d=(0,Be.zK)(t),{savePreferredVersionName:f}=(0,Ve.g1)(t),p=Ue({docsPluginId:t,configs:a}),h=function({docsPluginId:e,versionItems:t}){return(0,He.Vd)(e).map(e=>t.find(t=>t.version===e)).filter(e=>void 0!==e)[0]??t[0]}({docsPluginId:t,versionItems:p}),m=[...r,...p.map(function({version:e,label:t}){return{label:t,to:`${qe(e,d).path}${l}${c}`,isActive:()=>e===d.activeVersion,onClick:()=>f(e.name)}}),...o],g=e&&m.length>1?(0,s.T)({id:"theme.navbar.mobileVersionsDropdown.label",message:"Versions",description:"The label for the navbar versions dropdown on mobile view"}):h.label,b=e&&m.length>1?void 0:qe(h.version,d).path;return m.length<=1?(0,u.jsx)(Se,{...i,mobile:e,label:g,to:b,isActive:n?()=>!1:void 0}):(0,u.jsx)(Ne,{...i,mobile:e,label:g,to:b,items:m,isActive:n?()=>!1:void 0})}};function Ge({type:e,...t}){const n=function(e,t){return e&&"default"!==e?e:"items"in t?"dropdown":"default"}(e,t),r=We[n];if(!r)throw new Error(`No NavbarItem component found for type "${e}".`);return(0,u.jsx)(r,{...t})}function Xe(){const e=(0,M.M)(),t=(0,x.p)().navbar.items;return(0,u.jsx)("ul",{className:"menu__list",children:t.map((t,n)=>(0,r.createElement)(Ge,{mobile:!0,...t,onClick:()=>e.toggle(),key:n}))})}function Ke(e){return(0,u.jsx)("button",{...e,type:"button",className:"clean-btn navbar-sidebar__back",children:(0,u.jsx)(s.A,{id:"theme.navbar.mobileSidebarSecondaryMenu.backButtonLabel",description:"The label of the back button to return to main menu, inside the mobile navbar sidebar secondary menu (notably used to display the docs sidebar)",children:"\u2190 Back to main menu"})})}function Ye(){const e=0===(0,x.p)().navbar.items.length,t=D();return(0,u.jsxs)(u.Fragment,{children:[!e&&(0,u.jsx)(Ke,{onClick:()=>t.hide()}),t.content]})}function Qe(){const e=(0,M.M)();return function(e=!0){(0,r.useEffect)(()=>(document.body.style.overflow=e?"hidden":"visible",()=>{document.body.style.overflow="visible"}),[e])}(e.shown),e.shouldRender?(0,u.jsx)(V,{header:(0,u.jsx)(fe,{}),primaryMenu:(0,u.jsx)(Xe,{}),secondaryMenu:(0,u.jsx)(Ye,{})}):null}const Ze="navbarHideable_jvwV",Je="navbarHidden_nLSi";function et(e){return(0,u.jsx)("div",{role:"presentation",...e,className:(0,o.A)("navbar-sidebar__backdrop",e.className)})}function tt({children:e}){const{navbar:{hideOnScroll:t,style:n}}=(0,x.p)(),a=(0,M.M)(),{navbarRef:i,isNavbarVisible:l}=function(e){const[t,n]=(0,r.useState)(e),o=(0,r.useRef)(!1),a=(0,r.useRef)(0),i=(0,r.useCallback)(e=>{null!==e&&(a.current=e.getBoundingClientRect().height)},[]);return(0,L.Mq)(({scrollY:t},r)=>{if(!e)return;if(t=i?n(!1):t+s{if(!e)return;const r=t.location.hash;if(r?document.getElementById(r.substring(1)):void 0)return o.current=!0,void n(!1);n(!0)}),{navbarRef:i,isNavbarVisible:t}}(t);return(0,u.jsxs)("nav",{ref:i,"aria-label":(0,s.T)({id:"theme.NavBar.navAriaLabel",message:"Main",description:"The ARIA label for the main navigation"}),className:(0,o.A)(g.G.layout.navbar.container,"navbar","navbar--fixed-top",t&&[Ze,!l&&Je],{"navbar--dark":"dark"===n,"navbar--primary":"primary"===n,"navbar-sidebar--show":a.shown}),children:[e,(0,u.jsx)(et,{onClick:a.toggle}),(0,u.jsx)(Qe,{})]})}var nt=n(440);const rt="errorBoundaryError_a6uf";function ot(e){return(0,u.jsx)("button",{type:"button",...e,children:(0,u.jsx)(s.A,{id:"theme.ErrorPageContent.tryAgain",description:"The label of the button to try again rendering when the React error boundary captures an error",children:"Try again"})})}function at({error:e}){const t=(0,nt.rA)(e).map(e=>e.message).join("\n\nCause:\n");return(0,u.jsx)("p",{className:rt,children:t})}class it extends r.Component{componentDidCatch(e,t){throw this.props.onError(e,t)}render(){return this.props.children}}function lt({width:e=30,height:t=30,className:n,...r}){return(0,u.jsx)("svg",{className:n,width:e,height:t,viewBox:"0 0 30 30","aria-hidden":"true",...r,children:(0,u.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"2",d:"M4 7h22M4 15h22M4 23h22"})})}function st(){const{toggle:e,shown:t}=(0,M.M)();return(0,u.jsx)("button",{onClick:e,"aria-label":(0,s.T)({id:"theme.docs.sidebar.toggleSidebarButtonAriaLabel",message:"Toggle navigation bar",description:"The ARIA label for hamburger menu button of mobile navigation"}),"aria-expanded":t,className:"navbar__toggle clean-btn",type:"button",children:(0,u.jsx)(lt,{})})}const ct="colorModeToggle_x44X";function ut({items:e}){return(0,u.jsx)(u.Fragment,{children:e.map((e,t)=>(0,u.jsx)(it,{onError:t=>new Error(`A theme navbar item failed to render.\nPlease double-check the following navbar item (themeConfig.navbar.items) of your Docusaurus config:\n${JSON.stringify(e,null,2)}`,{cause:t}),children:(0,u.jsx)(Ge,{...e})},t))})}function dt({left:e,right:t}){return(0,u.jsxs)("div",{className:"navbar__inner",children:[(0,u.jsx)("div",{className:(0,o.A)(g.G.layout.navbar.containerLeft,"navbar__items"),children:e}),(0,u.jsx)("div",{className:(0,o.A)(g.G.layout.navbar.containerRight,"navbar__items navbar__items--right"),children:t})]})}function ft(){const e=(0,M.M)(),t=(0,x.p)().navbar.items,[n,r]=function(e){function t(e){return"left"===(e.position??"right")}return[e.filter(t),e.filter(e=>!t(e))]}(t);return(0,u.jsx)(dt,{left:(0,u.jsxs)(u.Fragment,{children:[!e.disabled&&(0,u.jsx)(st,{}),(0,u.jsx)(ue,{}),(0,u.jsx)(ut,{items:n})]}),right:(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(ut,{items:r}),(0,u.jsx)(se,{className:ct})]})})}const pt={position:"fixed",left:0,zIndex:10,height:2,width:"100vw",backgroundColor:"var(--color-top)",borderTopRightRadius:2,borderBottomRightRadius:2,transformOrigin:"left center",willChange:"transform",backfaceVisibility:"hidden",contain:"layout"};function ht(){const[e,t]=(0,r.useState)(0);return(0,r.useEffect)(()=>{const e=()=>t(function(){const{scrollTop:e,scrollHeight:t,clientHeight:n}=document.documentElement,r=document.body.scrollTop,o=e+r,a=t-n;return a>0?o/a*100:0}());return window.addEventListener("scroll",e,{passive:!0}),e(),()=>window.removeEventListener("scroll",e)},[]),(0,u.jsxs)(tt,{children:[(0,u.jsx)(ft,{}),(0,u.jsx)("div",{className:"navbar-line",style:{...pt,transform:`scaleX(${Math.max(0,Math.min(1,e/100))})`}})]})}var mt=n(2676),gt=n(9514);function bt(){const e={navLinks:[{label:"Docs",href:"/overview.html"},{href:"/replication.html",label:"Sync"},{href:"/rx-storage.html",label:"Storages"},{label:"Premium",target:"_blank",href:"/premium/"},{label:"Support",target:"_blank",href:"/consulting/"}],communityLinks:[{label:"Newsletter",target:"_blank",href:"/newsletter/",logo:(0,u.jsx)(mt.N,{})},{label:"Twitter",href:"https://twitter.com/intent/user?screen_name=rxdbjs",target:"_blank",logo:"/files/icons/twitter-blue.svg"},{label:"LinkedIn",href:"https://www.linkedin.com/company/rxdb",target:"_blank",logo:(0,u.jsx)(gt.A,{})},{label:"Github",target:"_blank",href:"/code/",logo:(0,u.jsx)("span",{className:"navbar-icon-github",style:{width:22,height:22,display:"inline-block"}})},{label:"Discord",target:"_blank",href:"/chat/",logo:(0,u.jsx)("span",{className:"navbar-icon-discord",style:{width:22,height:22,display:"inline-block"}})}],policyLinks:[{label:"Our Customers",href:"/#reviews"},{label:"Become a Partner",href:"/consulting#become-partner"},{label:"Legal Notice",target:"_blank",href:"/legal-notice/"}]};return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(u.Fragment,{children:(0,u.jsx)("div",{className:"block footer dark",children:(0,u.jsxs)("div",{style:{display:"flex",flexWrap:"wrap",gap:44},className:"content",children:[(0,u.jsx)("div",{className:"half left",children:(0,u.jsxs)("span",{children:[(0,u.jsx)("a",{variant:"text",href:"/",className:"footer-logo-button",children:(0,u.jsx)("img",{src:"/files/logo/logo_text_white.svg",alt:"RxDB",loading:"lazy",className:"width-140-120"})}),(0,u.jsx)("div",{className:"footer-community-links",children:e.communityLinks.map((e,t)=>(0,u.jsx)("a",{variant:"text",href:e.href,target:e.target?"_blank":"","aria-label":e.label,children:"string"==typeof e.logo?(0,u.jsx)("img",{src:e.logo,alt:e.label,loading:"lazy"}):e.logo},e.href+t))})]})}),(0,u.jsx)("div",{className:"half right",style:{display:"flex",flex:1},children:(0,u.jsxs)("div",{style:{display:"flex"},children:[(0,u.jsx)("div",{className:"footer-links min-width-180-135",children:e.navLinks.map((e,t)=>(0,u.jsx)("a",{variant:"text",href:e.href,target:e.target?"_blank":"",children:e.label},e.href+t))}),(0,u.jsx)("div",{className:"footer-links min-width-180-135",children:e.policyLinks.map((e,t)=>(0,u.jsx)("a",{variant:"text",href:e.href,target:e.target?"_blank":"",children:e.label},e.href+t))})]})})]})})}),(0,u.jsx)("div",{className:"navbar-line",style:{display:"block",zIndex:10,height:1.5,backgroundColor:"var(--color-top)",borderTopRightRadius:2,borderBottomRightRadius:2,width:"100%"}})]})}const vt=(0,I.fM)([U.a,w.o,L.Tv,Ve.VQ,i.Jx,function({children:e}){return(0,u.jsx)(R.y_,{children:(0,u.jsx)(M.e,{children:(0,u.jsx)(F,{children:e})})})}]);function yt({children:e}){return(0,u.jsx)(vt,{children:e})}var xt=n(1107);function wt({error:e,tryAgain:t}){return(0,u.jsx)("main",{className:"container margin-vert--xl",children:(0,u.jsx)("div",{className:"row",children:(0,u.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,u.jsx)(xt.A,{as:"h1",className:"hero__title",children:(0,u.jsx)(s.A,{id:"theme.ErrorPageContent.title",description:"The title of the fallback page when the page crashed",children:"This page crashed."})}),(0,u.jsx)("div",{className:"margin-vert--lg",children:(0,u.jsx)(ot,{onClick:t,className:"button button--primary shadow--lw"})}),(0,u.jsx)("hr",{}),(0,u.jsx)("div",{className:"margin-vert--md",children:(0,u.jsx)(at,{error:e})})]})})})}const kt="mainWrapper_z2l0";function St(e){const{children:t,noFooter:n,wrapperClassName:r,title:l,description:s}=e;return(0,b.J)(),(0,u.jsxs)(yt,{children:[(0,u.jsx)(i.be,{title:l,description:s}),(0,u.jsx)(y,{}),(0,u.jsx)(N,{}),(0,u.jsx)(ht,{}),(0,u.jsx)("div",{id:d,className:(0,o.A)(g.G.layout.main.container,g.G.wrapper.main,kt,r),children:(0,u.jsx)(a.A,{fallback:e=>(0,u.jsx)(wt,{...e}),children:t})}),!n&&(0,u.jsx)(bt,{})]})}},8774(e,t,n){"use strict";n.d(t,{A:()=>p});var r=n(6540),o=n(4625),a=n(440),i=n(4586),l=n(6654),s=n(8193),c=n(3427),u=n(6025),d=n(4848);function f({isNavLink:e,to:t,href:n,activeClassName:f,isActive:p,"data-noBrokenLinkCheck":h,autoAddBaseUrl:m=!0,...g},b){const{siteConfig:v}=(0,i.A)(),{trailingSlash:y,baseUrl:x}=v,w=v.future.experimental_router,{withBaseUrl:k}=(0,u.hH)(),S=(0,c.A)(),C=(0,r.useRef)(null);(0,r.useImperativeHandle)(b,()=>C.current);const E=t||n;const j=(0,l.A)(E),_=E?.replace("pathname://","");let O=void 0!==_?(T=_,m&&(e=>e.startsWith("/"))(T)?k(T):T):void 0;var T;"hash"===w&&O?.startsWith("./")&&(O=O?.slice(1)),O&&j&&(O=(0,a.Ks)(O,{trailingSlash:y,baseUrl:x}));const P=(0,r.useRef)(!1),A=e?o.k2:o.N_,N=s.A.canUseIntersectionObserver,M=(0,r.useRef)(),L=()=>{P.current||null==O||(window.docusaurus.preload(O),P.current=!0)};(0,r.useEffect)(()=>(!N&&j&&s.A.canUseDOM&&null!=O&&window.docusaurus.prefetch(O),()=>{N&&M.current&&M.current.disconnect()}),[M,O,N,j]);const I=O?.startsWith("#")??!1,R=!g.target||"_self"===g.target,$=!O||!j||!R||I&&"hash"!==w;h||!I&&$||S.collectLink(O),g.id&&S.collectAnchor(g.id);const F={};return $?(0,d.jsx)("a",{ref:C,href:O,...E&&!j&&{target:"_blank",rel:"noopener noreferrer"},...g,...F}):(0,d.jsx)(A,{...g,onMouseEnter:L,onTouchStart:L,innerRef:e=>{C.current=e,N&&e&&j&&(M.current=new window.IntersectionObserver(t=>{t.forEach(t=>{e===t.target&&(t.isIntersecting||t.intersectionRatio>0)&&(M.current.unobserve(e),M.current.disconnect(),null!=O&&window.docusaurus.prefetch(O))})}),M.current.observe(e))},to:O,...e&&{isActive:p,activeClassName:f},...F})}const p=r.forwardRef(f)},8853(e,t,n){"use strict";n.d(t,{fz:()=>l,iG:()=>a});var r=n(4848);function o({style:e,className:t}){return(0,r.jsx)("div",{style:e,className:t,children:(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"10",height:"15",viewBox:"0 0 10 15",fill:"none",children:(0,r.jsx)("path",{d:"M5 5V0H0V5V10V15H5H10V5H5Z",fill:"#ED168F"})})})}function a({style:e}){return(0,r.jsxs)("div",{style:{display:"flex",gap:5,...e},children:[(0,r.jsx)(o,{}),(0,r.jsx)(o,{})]})}function i({style:e,className:t}){return(0,r.jsx)("div",{style:e,className:t,children:(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"10",height:"15",viewBox:"0 0 10 15",fill:"none",children:(0,r.jsx)("path",{d:"M5 0H0V5V10H5V15H10V10V5V0H5Z",fill:"#ED168F"})})})}function l({style:e}){return(0,r.jsxs)("div",{style:{display:"flex",justifyContent:"flex-end",gap:5,...e},children:[(0,r.jsx)(i,{}),(0,r.jsx)(i,{})]})}},8857(e,t,n){"use strict";n.d(t,{Ms:()=>b,vU:()=>p});var r=n(4629),o=n(1693),a=n(2258),i=n(2236),l=n(6712);function s(){}var c=u("C",void 0,void 0);function u(e,t,n){return{kind:e,value:t,error:n}}var d=n(2332),f=n(3004),p=function(e){function t(t){var n=e.call(this)||this;return n.isStopped=!1,t?(n.destination=t,(0,a.Uv)(t)&&t.add(n)):n.destination=x,n}return(0,r.C6)(t,e),t.create=function(e,t,n){return new b(e,t,n)},t.prototype.next=function(e){this.isStopped?y(function(e){return u("N",e,void 0)}(e),this):this._next(e)},t.prototype.error=function(e){this.isStopped?y(u("E",void 0,e),this):(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped?y(c,this):(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(a.yU),h=Function.prototype.bind;function m(e,t){return h.call(e,t)}var g=function(){function e(e){this.partialObserver=e}return e.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(n){v(n)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(n){v(n)}else v(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(t){v(t)}},e}(),b=function(e){function t(t,n,r){var a,l,s=e.call(this)||this;(0,o.T)(t)||!t?a={next:null!=t?t:void 0,error:null!=n?n:void 0,complete:null!=r?r:void 0}:s&&i.$.useDeprecatedNextContext?((l=Object.create(t)).unsubscribe=function(){return s.unsubscribe()},a={next:t.next&&m(t.next,l),error:t.error&&m(t.error,l),complete:t.complete&&m(t.complete,l)}):a=t;return s.destination=new g(a),s}return(0,r.C6)(t,e),t}(p);function v(e){i.$.useDeprecatedSynchronousErrorHandling?(0,f.l)(e):(0,l.m)(e)}function y(e,t){var n=i.$.onStoppedNotification;n&&d.f.setTimeout(function(){return n(e,t)})}var x={closed:!0,next:s,error:function(e){throw e},complete:s}},8896(e,t,n){"use strict";n.d(t,{s:()=>r});var r="function"==typeof Symbol&&Symbol.observable||"@@observable"},9092(e,t,n){"use strict";n.d(t,{B:()=>c});var r=n(4629),o=n(1753),a=n(2258),i=(0,n(5383).L)(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),l=n(34),s=n(3004),c=function(e){function t(){var t=e.call(this)||this;return t.closed=!1,t.currentObservers=null,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return(0,r.C6)(t,e),t.prototype.lift=function(e){var t=new u(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new i},t.prototype.next=function(e){var t=this;(0,s.Y)(function(){var n,o;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var a=(0,r.Ju)(t.currentObservers),i=a.next();!i.done;i=a.next()){i.value.next(e)}}catch(l){n={error:l}}finally{try{i&&!i.done&&(o=a.return)&&o.call(a)}finally{if(n)throw n.error}}}})},t.prototype.error=function(e){var t=this;(0,s.Y)(function(){if(t._throwIfClosed(),!t.isStopped){t.hasError=t.isStopped=!0,t.thrownError=e;for(var n=t.observers;n.length;)n.shift().error(e)}})},t.prototype.complete=function(){var e=this;(0,s.Y)(function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var t=e.observers;t.length;)t.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(t){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var t=this,n=this,r=n.hasError,o=n.isStopped,i=n.observers;return r||o?a.Kn:(this.currentObservers=null,i.push(e),new a.yU(function(){t.currentObservers=null,(0,l.o)(i,e)}))},t.prototype._checkFinalizedStatuses=function(e){var t=this,n=t.hasError,r=t.thrownError,o=t.isStopped;n?e.error(r):o&&e.complete()},t.prototype.asObservable=function(){var e=new o.c;return e.source=this,e},t.create=function(e,t){return new u(e,t)},t}(o.c),u=function(e){function t(t,n){var r=e.call(this)||this;return r.destination=t,r.source=n,r}return(0,r.C6)(t,e),t.prototype.next=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===n||n.call(t,e)},t.prototype.error=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===n||n.call(t,e)},t.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},t.prototype._subscribe=function(e){var t,n;return null!==(n=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==n?n:a.Kn},t}(c)},9169(e,t,n){"use strict";n.d(t,{Dt:()=>l,ys:()=>i});var r=n(6540),o=n(8328),a=n(4586);function i(e,t){const n=e=>(!e||e.endsWith("/")?e:`${e}/`)?.toLowerCase();return n(e)===n(t)}function l(){const{baseUrl:e}=(0,a.A)().siteConfig;return(0,r.useMemo)(()=>function({baseUrl:e,routes:t}){function n(t){return t.path===e&&!0===t.exact}function r(t){return t.path===e&&!t.exact}return function e(t){if(0===t.length)return;return t.find(n)||e(t.filter(r).flatMap(e=>e.routes??[]))}(t)}({routes:o.A,baseUrl:e}),[e])}},9514(e,t,n){"use strict";n.d(t,{A:()=>l});var r,o,a=n(6540);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;ta.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 21","aria-labelledby":t},n),e?a.createElement("title",{id:t},e):null,r||(r=a.createElement("g",{clipPath:"url(#a)"},a.createElement("path",{fill:"#fff",d:"M17.3 17.6h-3V13c0-1 0-2.5-1.6-2.5-1.5 0-1.8 1.2-1.8 2.5v4.7H8V8h2.9v1.3a3 3 0 0 1 2.9-1.6c3 0 3.6 2 3.6 4.6zM4.5 6.6a1.7 1.7 0 1 1 0-3.5 1.7 1.7 0 0 1 0 3.5m1.5 11H3V8h3zM18.8.4H1.5A1.5 1.5 0 0 0 0 1.8v17.4a1.5 1.5 0 0 0 1.5 1.4h17.3a1.5 1.5 0 0 0 1.5-1.4V1.8A1.5 1.5 0 0 0 18.8.4"}))),o||(o=a.createElement("defs",null,a.createElement("clipPath",{id:"a"},a.createElement("path",{fill:"#fff",d:"M0 .4h24v20.5H0z"})))))},9529(e,t,n){"use strict";n.d(t,{A:()=>g});var r=n(6540),o=n(8774),a=n(6025),i=n(4586),l=n(6342),s=n(4164),c=n(2303),u=n(5293);const d={themedComponent:"themedComponent_mlkZ","themedComponent--light":"themedComponent--light_NVdE","themedComponent--dark":"themedComponent--dark_xIcU"};var f=n(4848);function p({className:e,children:t}){const n=(0,c.A)(),{colorMode:o}=(0,u.G)();return(0,f.jsx)(f.Fragment,{children:(n?"dark"===o?["dark"]:["light"]:["light","dark"]).map(n=>{const o=t({theme:n,className:(0,s.A)(e,d.themedComponent,d[`themedComponent--${n}`])});return(0,f.jsx)(r.Fragment,{children:o},n)})})}function h(e){const{sources:t,className:n,alt:r,...o}=e;return(0,f.jsx)(p,{className:n,children:({theme:e,className:n})=>(0,f.jsx)("img",{src:t[e],alt:r,className:n,...o})})}function m({logo:e,alt:t,imageClassName:n}){const r={light:(0,a.Ay)(e.src),dark:(0,a.Ay)(e.srcDark||e.src)},o=(0,f.jsx)(h,{className:e.className,sources:r,height:e.height,width:e.width,alt:t,style:e.style});return n?(0,f.jsx)("div",{className:n,children:o}):o}function g(e){const{siteConfig:{title:t}}=(0,i.A)(),{navbar:{title:n,logo:r}}=(0,l.p)(),{imageClassName:s,titleClassName:c,...u}=e,d=(0,a.Ay)(r?.href||"/"),p=n?"":t,h=r?.alt??p;return(0,f.jsxs)(o.A,{to:d,...u,...r?.target&&{target:r.target},children:[r&&(0,f.jsx)(m,{logo:r,alt:h,imageClassName:s}),null!=n&&(0,f.jsx)("b",{className:c,children:n})]})}},9532(e,t,n){"use strict";n.d(t,{Be:()=>c,ZC:()=>l,_q:()=>i,dV:()=>s,fM:()=>u});var r=n(6540),o=n(205),a=n(4848);function i(e){const t=(0,r.useRef)(e);return(0,o.A)(()=>{t.current=e},[e]),(0,r.useCallback)((...e)=>t.current(...e),[])}function l(e){const t=(0,r.useRef)();return(0,o.A)(()=>{t.current=e}),t.current}class s extends Error{constructor(e,t){super(),this.name="ReactContextError",this.message=`Hook ${this.stack?.split("\n")[1]?.match(/at (?:\w+\.)?(?\w+)/)?.groups.name??""} is called outside the <${e}>. ${t??""}`}}function c(e){const t=Object.entries(e);return t.sort((e,t)=>e[0].localeCompare(t[0])),(0,r.useMemo)(()=>e,t.flat())}function u(e){return({children:t})=>(0,a.jsx)(a.Fragment,{children:e.reduceRight((e,t)=>(0,a.jsx)(t,{children:e}),t)})}},9698(e,t){"use strict";var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function o(e,t,r){var o=null;if(void 0!==r&&(o=""+r),void 0!==t.key&&(o=""+t.key),"key"in t)for(var a in r={},t)"key"!==a&&(r[a]=t[a]);else r=t;return t=r.ref,{$$typeof:n,type:e,key:o,ref:void 0!==t?t:null,props:r}}t.Fragment=r,t.jsx=o,t.jsxs=o},9869(e,t){"use strict";var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),l=Symbol.for("react.consumer"),s=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),p=Symbol.for("react.activity"),h=Symbol.iterator;var m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,b={};function v(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||m}function y(){}function x(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||m}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},y.prototype=v.prototype;var w=x.prototype=new y;w.constructor=x,g(w,v.prototype),w.isPureReactComponent=!0;var k=Array.isArray;function S(){}var C={H:null,A:null,T:null,S:null},E=Object.prototype.hasOwnProperty;function j(e,t,r){var o=r.ref;return{$$typeof:n,type:e,key:t,ref:void 0!==o?o:null,props:r}}function _(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var O=/\/+/g;function T(e,t){return"object"==typeof e&&null!==e&&null!=e.key?(n=""+e.key,r={"=":"=0",":":"=2"},"$"+n.replace(/[=:]/g,function(e){return r[e]})):t.toString(36);var n,r}function P(e,t,o,a,i){var l=typeof e;"undefined"!==l&&"boolean"!==l||(e=null);var s,c,u=!1;if(null===e)u=!0;else switch(l){case"bigint":case"string":case"number":u=!0;break;case"object":switch(e.$$typeof){case n:case r:u=!0;break;case f:return P((u=e._init)(e._payload),t,o,a,i)}}if(u)return i=i(e),u=""===a?"."+T(e,0):a,k(i)?(o="",null!=u&&(o=u.replace(O,"$&/")+"/"),P(i,t,o,"",function(e){return e})):null!=i&&(_(i)&&(s=i,c=o+(null==i.key||e&&e.key===i.key?"":(""+i.key).replace(O,"$&/")+"/")+u,i=j(s.type,c,s.props)),t.push(i)),1;u=0;var d,p=""===a?".":a+":";if(k(e))for(var m=0;mh});var r=n(6540),o=n(544),a=n(4848);function i({iconUrl:e,iconVb:t=20,dark:n,...r}){const o=t,i=t;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:r.width??44,height:r.height??76,viewBox:"0 0 44 76",fill:"none",...r,children:[(0,a.jsx)("defs",{children:(0,a.jsx)("clipPath",{id:"phoneScreenClip",children:(0,a.jsx)("path",{d:"M35.08 2.22003H8.48003C4.77972 2.22003 1.78003 5.21972 1.78003 8.92003V67.52C1.78003 71.2203 4.77972 74.22 8.48003 74.22H35.08C38.7803 74.22 41.78 71.2203 41.78 67.52V8.92003C41.78 5.21972 38.7803 2.22003 35.08 2.22003Z"})})}),(0,a.jsxs)("g",{clipPath:"url(#clip0)",children:[(0,a.jsx)("path",{d:"M35.08 2.22003H8.48003C4.77972 2.22003 1.78003 5.21972 1.78003 8.92003V67.52C1.78003 71.2203 4.77972 74.22 8.48003 74.22H35.08C38.7803 74.22 41.78 71.2203 41.78 67.52V8.92003C41.78 5.21972 38.7803 2.22003 35.08 2.22003Z",fill:n?"#20293C":"#0D0F18",stroke:"white",strokeWidth:"3.56",strokeMiterlimit:"10",strokeLinecap:"round"}),(0,a.jsx)("path",{d:"M16.78 9.72003H26.78",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"round"})]}),e&&(0,a.jsx)("g",{clipPath:"url(#phoneScreenClip)",children:(0,a.jsx)("g",{transform:"translate(21.78 41.22)",children:(0,a.jsx)("image",{href:e,x:-o/2,y:-i/2,width:o,height:i,preserveAspectRatio:"xMidYMid meet"})})}),(0,a.jsx)("defs",{children:(0,a.jsx)("clipPath",{id:"clip0",children:(0,a.jsx)("rect",{width:"43.56",height:"75.56",fill:"white",transform:"translate(0 0.440002)"})})})]})}function l({iconUrl:e,iconVb:t=16,dark:n,...r}){const o=t,i=t;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:r.width??56,height:r.height??80,viewBox:"0 0 56 80",fill:"none",...r,children:[(0,a.jsx)("defs",{children:(0,a.jsx)("clipPath",{id:"smartwatchScreenClip",children:(0,a.jsx)("path",{d:"M37.33 18.37H10.67C6.98626 18.37 4 21.3563 4 25.04V54.96C4 58.6437 6.98626 61.63 10.67 61.63H37.33C41.0137 61.63 44 58.6437 44 54.96V25.04C44 21.3563 41.0137 18.37 37.33 18.37Z"})})}),(0,a.jsx)("path",{d:"M10.23 18.42L11.89 9.8C12.57 6.37 15.61 3.93 19.1 4H28.76C32.25 3.93 35.29 6.38 35.97 9.8L37.69 18.42",stroke:"white",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M37.9601 61.69L36.2601 70.2C35.5801 73.63 32.5401 76.07 29.0501 76H19.2401C15.7501 76.07 12.7101 73.62 12.0301 70.2L10.3301 61.69",stroke:"white",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M37.33 18.37H10.67C6.98626 18.37 4 21.3563 4 25.04V54.96C4 58.6437 6.98626 61.63 10.67 61.63H37.33C41.0137 61.63 44 58.6437 44 54.96V25.04C44 21.3563 41.0137 18.37 37.33 18.37Z",fill:n?"#20293C":"#0D0F18",stroke:"white",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M48 36.44V29.24",stroke:"white",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round"}),e&&(0,a.jsx)("g",{clipPath:"url(#smartwatchScreenClip)",children:(0,a.jsx)("g",{transform:"translate(24 40)",children:(0,a.jsx)("image",{href:e,x:-o/2,y:-i/2,width:o,height:i,preserveAspectRatio:"xMidYMid meet"})})})]})}var s=n(199),c=n(8193);const u=({darkMode:e=!1,style:t,className:n,hasIcon:o=!0})=>{const[,i]=(0,r.useState)(0),[l,u]=(0,r.useState)(s.S[0].iconUrl);(0,r.useEffect)(()=>{if(!c.A.canUseDOM)return;const e=()=>{i(e=>{const t=(e+1)%s.S.length,n=s.S[t].iconUrl;return u(n),t})};return window.addEventListener("heartbeat",e),()=>window.removeEventListener("heartbeat",e)},[]);const d={position:"relative",display:"inline-flex",alignItems:"center",justifyContent:"center",borderRadius:12,WebkitBackfaceVisibility:"hidden",backfaceVisibility:"hidden",transformStyle:"preserve-3d",...t},f={width:"56px",height:"56px",background:e?"var(--bg-color)":"var(--bg-color-dark)",borderRadius:"50%",display:"flex",alignItems:"center",justifyContent:"center",border:`4px solid ${e?"var(--bg-color-dark)":"var(--bg-color)"}`,position:"relative",overflow:"hidden",WebkitBackfaceVisibility:"hidden",backfaceVisibility:"hidden",transformStyle:"preserve-3d"};return(0,a.jsxs)("div",{style:d,className:n,children:[(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"126",height:"96",viewBox:"0 0 126 96",fill:"none",children:(0,a.jsx)("path",{d:"M99.6095 31.2864H92.5913C91.846 31.2864 91.1939 30.799 90.961 30.0949C86.2952 16.3386 73.3224 7.00012 58.6573 7.00012C39.8154 7.00012 24.537 22.211 24.537 40.9885V41.004C24.537 41.9634 23.7684 42.7525 22.8057 42.7525H20.5621C11.7894 42.7525 4.32097 49.5533 4.01043 58.2883C3.68437 67.4566 11.0441 75.0001 20.1739 75.0001H100.067C112.388 75.0001 122.333 64.8802 121.991 52.532C121.65 40.1839 111.565 31.2864 99.6095 31.2864Z",fill:"white",stroke:"white",strokeWidth:4})}),o&&(0,a.jsx)("div",{style:{position:"absolute",left:"50%",top:"50%",transform:"translate(-50%, -10%)",WebkitBackfaceVisibility:"hidden",backfaceVisibility:"hidden",transformStyle:"preserve-3d"},children:(0,a.jsx)("div",{style:f,children:l&&(0,a.jsx)("img",{draggable:!1,src:l,alt:"icon",style:{position:"absolute",inset:0,margin:"auto",maxWidth:"60%",maxHeight:"60%",WebkitBackfaceVisibility:"hidden",backfaceVisibility:"hidden",transformStyle:"preserve-3d"}})})})]})};function d({iconUrl:e,iconVb:t=21,dark:n,...r}){const o=t,i=t;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:r.width??80,height:r.height??73,viewBox:"0 0 80 73",fill:"none",...r,children:[(0,a.jsx)("defs",{children:(0,a.jsx)("clipPath",{id:"desktopScreenClip",children:(0,a.jsx)("path",{d:"M69.33 4.20001H10.67C6.98626 4.20001 4 7.18627 4 10.87V47.93C4 51.6138 6.98626 54.6 10.67 54.6H69.33C73.0137 54.6 76 51.6138 76 47.93V10.87C76 7.18627 73.0137 4.20001 69.33 4.20001Z"})})}),(0,a.jsx)("path",{d:"M69.33 4.20001H10.67C6.98626 4.20001 4 7.18627 4 10.87V47.93C4 51.6138 6.98626 54.6 10.67 54.6H69.33C73.0137 54.6 76 51.6138 76 47.93V10.87C76 7.18627 73.0137 4.20001 69.33 4.20001Z",fill:n?"#20293C":"#0D0F18",stroke:"white",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M25.6001 69H54.4001",stroke:"white",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M40 54.6V69",stroke:"white",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round"}),e&&(0,a.jsx)("g",{clipPath:"url(#desktopScreenClip)",children:(0,a.jsx)("g",{transform:`translate(40 ${(4.2+54.6)/2})`,children:(0,a.jsx)("image",{href:e,x:-o/2,y:-i/2,width:o,height:i,preserveAspectRatio:"xMidYMid meet"})})})]})}function f({iconUrl:e,iconVb:t=24,dark:n,...r}){const o=t,i=t;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:r.width??55,height:r.height??76,viewBox:"0 0 55 76",fill:"none",...r,children:[(0,a.jsx)("defs",{children:(0,a.jsx)("clipPath",{id:"tabletScreenClip",children:(0,a.jsx)("path",{d:"M45.7 2H8.7C4.99969 2 2 4.99969 2 8.7V67.3C2 71.0003 4.99969 74 8.7 74H45.7C49.4003 74 52.4 71.0003 52.4 67.3V8.7C52.4 4.99969 49.4003 2 45.7 2Z"})})}),(0,a.jsxs)("g",{clipPath:"url(#clip0_752_214)",children:[(0,a.jsx)("path",{d:"M45.7 2H8.7C4.99969 2 2 4.99969 2 8.7V67.3C2 71.0003 4.99969 74 8.7 74H45.7C49.4003 74 52.4 71.0003 52.4 67.3V8.7C52.4 4.99969 49.4003 2 45.7 2Z",fill:n?"#20293C":"#0D0F18",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"round"}),(0,a.jsx)("path",{d:"M27.2 66.34C26.15 66.34 25.12 65.91 24.37 65.17C24.19 64.98 24.0199 64.78 23.8799 64.56C23.7299 64.34 23.61 64.11 23.51 63.87C23.41 63.63 23.33 63.37 23.28 63.12C23.23 62.86 23.2 62.6 23.2 62.34C23.2 62.08 23.23 61.81 23.28 61.56C23.33 61.3 23.41 61.05 23.51 60.81C23.61 60.57 23.7299 60.34 23.8799 60.12C24.0199 59.9 24.19 59.69 24.37 59.51C25.3 58.58 26.6799 58.15 27.9799 58.42C28.24 58.47 28.49 58.54 28.7299 58.64C28.9699 58.74 29.2 58.87 29.42 59.01C29.64 59.16 29.85 59.33 30.03 59.51C30.21 59.69 30.38 59.9 30.53 60.12C30.67 60.34 30.7899 60.57 30.8899 60.81C30.9899 61.05 31.07 61.3 31.12 61.56C31.17 61.81 31.2 62.08 31.2 62.34C31.2 62.6 31.17 62.86 31.12 63.12C31.07 63.37 30.9899 63.63 30.8899 63.87C30.7899 64.11 30.67 64.34 30.53 64.56C30.38 64.78 30.21 64.98 30.03 65.17C29.28 65.91 28.25 66.34 27.2 66.34Z",fill:"white"})]}),e&&(0,a.jsx)("g",{clipPath:"url(#tabletScreenClip)",children:(0,a.jsx)("g",{transform:"translate(27.2 32)",children:(0,a.jsx)("image",{href:e,x:-o/2,y:-i/2,width:o,height:i,preserveAspectRatio:"xMidYMid meet"})})}),(0,a.jsx)("defs",{children:(0,a.jsx)("clipPath",{id:"clip0_752_214",children:(0,a.jsx)("rect",{width:"54.4",height:"76",fill:"white"})})})]})}const p=({className:e,style:t,...n})=>(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"#fff",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,viewBox:"0 0 24 24",className:e,style:t,...n,children:[(0,a.jsx)("path",{d:"M12 20z"}),(0,a.jsx)("path",{d:"M8.5 16.43a5 5 0 0 1 7 0"}),(0,a.jsx)("path",{d:"M5 12.86a10 10 0 0 1 5.17-2.7"}),(0,a.jsx)("path",{d:"M19 12.86a10 10 0 0 0-2-1.52"}),(0,a.jsx)("path",{d:"M2 8.82a15 15 0 0 1 4.18-2.64"}),(0,a.jsx)("path",{d:"M22 8.82a15 15 0 0 0-11.29-3.76"}),(0,a.jsx)("path",{d:"M2 2l20 20"})]});function h({scale:e=1,dark:t,hasIcon:n=!0,demoOffline:s=!1}){const h=(0,r.useRef)(null),[,g]=(0,r.useState)(0);(0,r.useEffect)(()=>{const e=()=>g(e=>e+1);return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);const b=["desktop","tablet","phone","desktop","smartwatch"],[v,y]=(0,r.useState)(0),x=(0,r.useRef)(0),[w,k]=(0,r.useState)(null),[S,C]=(0,r.useState)(null),E=(0,r.useRef)(null);(0,r.useEffect)(()=>{E.current=S},[S]);const j=["var(--color-top)","var(--color-middle)","var(--color-bottom)"],[_,O]=(0,r.useState)(j[0]);(0,r.useEffect)(()=>{if(!c.A.canUseDOM)return;const e=e=>{if(b.length<=1)return 0;let t=Math.floor(Math.random()*b.length),n=0;for(;null!==e&&t===e&&n<50;)t=Math.floor(Math.random()*b.length),n++;return t},t=()=>{x.current+=1;const t=x.current;y(t);let n=E.current;s&&t%2==0&&(n=b.length<=1?0:e(E.current),E.current=n,C(n));const r=s?n??E.current:null,o=e(r);k(o),O(j[Math.floor(Math.random()*j.length)])};return window.addEventListener("heartbeat",t),()=>window.removeEventListener("heartbeat",t)},[s,b.length]);const T=250*e,P=200*e,A=60*e,N=b.length,M=45*e,L=P-M,I=-Math.PI/2,R=Array.from({length:N},(e,t)=>{const n=I+2*Math.PI*t/N,r=T+L*Math.cos(n),o=P+L*Math.sin(n),a=r-T,i=o-P,l=Math.sqrt(a*a+i*i)-(A+3)-(M+7);return{angleDeg:180*Math.atan2(i,a)/Math.PI,lineLength:l,deviceX:r,deviceY:o,inwardName:`deviceToCenter-${t}-${v}`,outwardName:`centerToDevice-${t}-${v}`,deviceLeft:r-M,deviceRight:r+M,deviceTop:o-M,deviceBottom:o+M}}),$=T-A,F=T+A,z=P-A,D=P+A,B=Math.min($,...R.map(e=>e.deviceLeft)),H=Math.max(F,...R.map(e=>e.deviceRight)),V=Math.min(z,...R.map(e=>e.deviceTop)),U=Math.max(D,...R.map(e=>e.deviceBottom)),q=Math.ceil(H-B),W=Math.ceil(U-V),G=-B,X=-V,K=Math.max(200,Math.floor(.45*o.HEARTBEAT_DURATION)),Y=Math.max(200,Math.floor(.45*o.HEARTBEAT_DURATION)),Q=Math.max(0,o.HEARTBEAT_DURATION-(K+Y)),Z=R.map(({inwardName:e,outwardName:t,lineLength:n})=>`\n@keyframes ${e} {\n 0% { transform: translateX(${n}px); opacity: 0; }\n 10% { opacity: 1; }\n 90% { opacity: 1; }\n 100% { transform: translateX(0px); opacity: 0; }\n}\n@keyframes ${t} {\n 0% { transform: translateX(0px); opacity: 0; }\n 10% { opacity: 1; }\n 90% { opacity: 1; }\n 100% { transform: translateX(${n}px); opacity: 0; }\n}`).join("\n");return(0,a.jsx)("div",{ref:h,style:{...m.container,"--packetColor":_,display:"flex",justifyContent:"center",WebkitBackfaceVisibility:"hidden",backfaceVisibility:"hidden",transformStyle:"preserve-3d"},children:(0,a.jsxs)("div",{style:{position:"relative",width:`${q}px`,height:`${W}px`,WebkitBackfaceVisibility:"hidden",backfaceVisibility:"hidden",transformStyle:"preserve-3d"},children:[(0,a.jsx)("div",{className:"device",style:{position:"absolute",left:T-A+G,top:P-A+X,width:2*A,height:2*A,justifyContent:"center",WebkitBackfaceVisibility:"hidden",backfaceVisibility:"hidden",transformStyle:"preserve-3d"},children:(0,a.jsx)(u,{darkMode:t,style:{width:"100%"},hasIcon:n})}),R.map(({angleDeg:e,lineLength:n,deviceX:o,deviceY:c,inwardName:u,outwardName:h},m)=>{const g=A+3,y=b[m],x=w===m,k=s&&S===m;return(0,a.jsxs)(r.Fragment,{children:[(0,a.jsxs)("div",{style:{position:"absolute",borderRadius:5,left:T+G,top:P+X,width:n,height:"2px",backgroundColor:k?"rgba(255,255,255,0.25)":"white",transform:`rotate(${e}deg) translateX(${g}px)`,transformOrigin:"left center",justifyContent:"center",textAlign:"center",display:"flex"},children:[k&&(0,a.jsx)("div",{style:{position:"absolute",left:"50%",top:"50%",transform:`translate(-50%, -50%) rotate(${-e}deg)`,transformOrigin:"center",background:t?"var(--bg-color-dark)":"var(--bg-color-darkest)",borderRadius:"50%",padding:4,display:"flex",alignItems:"center",justifyContent:"center"},children:(0,a.jsx)(p,{style:{width:24,zIndex:2}})}),v>0&&x&&!k&&(0,a.jsx)("div",{style:{position:"absolute",left:0,top:"-6px",width:"12px",height:"12px",borderRadius:"50%",backgroundColor:_,boxShadow:`0 0 10px ${_}55`,animation:`${u} ${K}ms linear 1 forwards`,opacity:0}}),v>0&&!x&&!k&&(0,a.jsx)("div",{style:{position:"absolute",left:0,top:"-6px",width:"12px",height:"12px",borderRadius:"50%",backgroundColor:_,boxShadow:`0 0 10px ${_}55`,animation:`${h} ${Y}ms ${K+Q}ms linear 1 forwards`,opacity:0}})]}),(0,a.jsx)("div",{style:{position:"absolute",left:o-M+G,top:c-M+X,width:2*M,height:2*M,borderRadius:"50%",display:"flex",justifyContent:"center",textAlign:"center",alignItems:"center",verticalAlign:"middle",WebkitBackfaceVisibility:"hidden",backfaceVisibility:"hidden",transformStyle:"preserve-3d"},children:"phone"===y?(0,a.jsx)("div",{className:"device",style:{top:"20%",left:"30%"},children:(0,a.jsx)(i,{dark:t,iconUrl:"/files/logo/logo.svg"})}):"smartwatch"===y?(0,a.jsx)("div",{className:"device",style:{width:"80%",top:"20%",left:"17%"},children:(0,a.jsx)(l,{dark:t,iconUrl:"/files/logo/logo.svg"})}):"desktop"===y?(0,a.jsx)("div",{className:"device",style:{top:"20%",left:"27%"},children:(0,a.jsx)(d,{dark:t,iconUrl:"/files/logo/logo.svg"})}):(0,a.jsx)("div",{className:"device",style:{top:"20%",left:"27%"},children:(0,a.jsx)(f,{dark:t,iconUrl:"/files/logo/logo.svg"})})})]},m)}),(0,a.jsx)("style",{children:Z})]})})}const m={container:{width:"100%",overflow:"visible"}}},9982(e,t,n){"use strict";e.exports=n(4477)}},e=>{e.O(0,[1869],()=>{return t=6019,e(e.s=t);var t});e.O()}]);
\ No newline at end of file
diff --git a/docs/assets/js/main.c9c8ff04.js.LICENSE.txt b/docs/assets/js/main.c9c8ff04.js.LICENSE.txt
deleted file mode 100644
index 330d3bcd542..00000000000
--- a/docs/assets/js/main.c9c8ff04.js.LICENSE.txt
+++ /dev/null
@@ -1,98 +0,0 @@
-/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress
- * @license MIT */
-
-/*!
- Copyright (c) 2018 Jed Watson.
- Licensed under the MIT License (MIT), see
- http://jedwatson.github.io/classnames
-*/
-
-/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
-
-/*!***************************************************
-* mark.js v8.11.1
-* https://markjs.io/
-* Copyright (c) 2014–2018, Julian Kühnel
-* Released under the MIT license https://git.io/vwTVl
-*****************************************************/
-
-/**
- * @license React
- * react-dom-client.production.js
- *
- * Copyright (c) Meta Platforms, Inc. and affiliates.
- *
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
- */
-
-/**
- * @license React
- * react-dom.production.js
- *
- * Copyright (c) Meta Platforms, Inc. and affiliates.
- *
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
- */
-
-/**
- * @license React
- * react-is.production.min.js
- *
- * Copyright (c) Facebook, Inc. and its affiliates.
- *
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
- */
-
-/**
- * @license React
- * react-jsx-runtime.production.js
- *
- * Copyright (c) Meta Platforms, Inc. and affiliates.
- *
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
- */
-
-/**
- * @license React
- * react.production.js
- *
- * Copyright (c) Meta Platforms, Inc. and affiliates.
- *
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
- */
-
-/**
- * @license React
- * scheduler.production.js
- *
- * Copyright (c) Meta Platforms, Inc. and affiliates.
- *
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
- */
-
-/** @license React v16.13.1
- * react-is.production.min.js
- *
- * Copyright (c) Facebook, Inc. and its affiliates.
- *
- * This source code is licensed under the MIT license found in the
- * LICENSE file in the root directory of this source tree.
- */
-
-/** */
-
-/** */
-
-/** */
-
-/** */
-
-/** */
-
-/** */
diff --git a/docs/assets/js/runtime~main.f8cb08bf.js b/docs/assets/js/runtime~main.f8cb08bf.js
deleted file mode 100644
index 6aa21bf2e4b..00000000000
--- a/docs/assets/js/runtime~main.f8cb08bf.js
+++ /dev/null
@@ -1 +0,0 @@
-(()=>{"use strict";var e,a,d,f,b,c={},r={};function t(e){var a=r[e];if(void 0!==a)return a.exports;var d=r[e]={exports:{}};return c[e].call(d.exports,d,d.exports,t),d.exports}t.m=c,e=[],t.O=(a,d,f,b)=>{if(!d){var c=1/0;for(i=0;i=b)&&Object.keys(t.O).every(e=>t.O[e](d[o]))?d.splice(o--,1):(r=!1,b0&&e[i-1][2]>b;i--)e[i]=e[i-1];e[i]=[d,f,b]},t.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return t.d(a,{a:a}),a},d=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,t.t=function(e,f){if(1&f&&(e=this(e)),8&f)return e;if("object"==typeof e&&e){if(4&f&&e.__esModule)return e;if(16&f&&"function"==typeof e.then)return e}var b=Object.create(null);t.r(b);var c={};a=a||[null,d({}),d([]),d(d)];for(var r=2&f&&e;("object"==typeof r||"function"==typeof r)&&!~a.indexOf(r);r=d(r))Object.getOwnPropertyNames(r).forEach(a=>c[a]=()=>e[a]);return c.default=()=>e,t.d(b,c),b},t.d=(e,a)=>{for(var d in a)t.o(a,d)&&!t.o(e,d)&&Object.defineProperty(e,d,{enumerable:!0,get:a[d]})},t.f={},t.e=e=>Promise.all(Object.keys(t.f).reduce((a,d)=>(t.f[d](e,a),a),[])),t.u=e=>"assets/js/"+({10:"5134b15f",176:"280a2389",205:"3ebfb37f",268:"25626d15",405:"38a45a95",465:"4616b86a",561:"f44bb875",588:"84ae55a4",813:"b672caf7",833:"c0f75fb9",970:"15f1e21f",1018:"fe2a63b2",1054:"8a442806",1098:"a7f10198",1107:"b0889a22",1199:"4ed9495b",1235:"a7456010",1264:"6fa8aa1a",1400:"d4da9db3",1475:"0f6e10f0",1500:"a406dc27",1558:"f43e80a8",1567:"22dd74f7",1715:"9dd8ea89",1850:"8bc07e20",2055:"26b8a621",2061:"380cc66a",2076:"36715375",2078:"38bbf12a",2085:"fe7a07ee",2360:"e6b4453d",2373:"4f17bbdd",2584:"0e268d20",2586:"d2758528",2631:"8bfd920a",2633:"90102fdf",2777:"c4de80f8",2786:"86b4e356",2835:"0b761dc7",2845:"d622bd51",2853:"d04a108d",2966:"2456d5e0",3015:"85caacef",3021:"9e91b6f0",3129:"1b0f8c91",3148:"39600c95",3185:"714575d7",3321:"ae2c2832",3325:"9dae6e71",3469:"ed2d6610",3483:"13dc6548",3495:"7bbb96fd",3588:"b2653a00",3595:"931f4566",3633:"5b5afcec",3779:"b30f4f1f",3822:"8070e160",3852:"cbbe8f0a",3881:"5a273530",3916:"08ff000c",3949:"77d975e6",3988:"eb2e4b0c",3997:"68a466be",4013:"1b238727",4027:"8b4bf532",4028:"ebace26e",4132:"2efd0200",4134:"393be207",4141:"c6fdd490",4142:"2c41656d",4166:"92698a99",4194:"de9a3c97",4202:"91b454ee",4424:"432b83f9",4475:"045bd6f5",4557:"8b0a0922",4618:"6fd28feb",4630:"f15938da",4812:"25a43fd4",4853:"326aca46",4886:"eadd9b3c",4889:"51038524",4920:"feac4174",4962:"dc42ba65",4970:"37055470",4989:"0e467ee2",5101:"2fe9ecb2",5122:"924d6dd6",5123:"d20e74b4",5219:"401008a8",5265:"e8a836f3",5272:"118cde4c",5320:"6ae3580c",5335:"7815dd0c",5350:"3417a9c7",5353:"58215328",5423:"01a106d5",5448:"f61fdf57",5504:"98405524",5694:"21fa2740",5740:"c6349bb6",5742:"aba21aa0",5832:"34f94d1b",5852:"bdd39edd",5861:"77979bef",5866:"6187b59a",5966:"41f941a1",6061:"1f391b9e",6115:"951d0efb",6287:"cde77f4f",6355:"b8c49ce4",6386:"4777fd9a",6422:"6bfb0089",6465:"03e37916",6491:"ab919a1f",6543:"dbde2ffe",6584:"c44853e1",6616:"01684a0a",6717:"55a5b596",6723:"8aa53ed7",6724:"2564bf4f",6797:"e24529eb",6861:"84a3af36",6866:"187b985e",6953:"1c0701dd",6998:"ee1b9f21",7098:"a7bd4aaa",7149:"a574e172",7249:"c9c8e0b6",7277:"61792630",7320:"db34d6b0",7396:"ec526260",7408:"6cbff7c2",7498:"2aec6989",7513:"f14ec96f",7537:"0596642b",7700:"8489a755",7722:"ff492cda",7793:"c7b47308",7817:"502d8946",7836:"820807a1",7853:"35e4d287",8191:"32667c41",8318:"badcd764",8382:"0027230a",8401:"17896441",8413:"1db64337",8545:"4af60d2e",8588:"1e0353aa",8674:"ad16b3ea",8715:"597d88be",8744:"294ac9d5",8760:"a442adcd",8845:"f490b64c",8897:"11d75f9a",8907:"f1c185f0",8926:"51334108",9048:"a94703ab",9111:"1b5fa8ad",9146:"c843a053",9167:"c3bc9c50",9192:"ac62b32d",9257:"8a22f3a9",9408:"a69eebfc",9460:"51014a8a",9515:"8084fe3b",9548:"4adf80bb",9591:"4ba7e5a3",9592:"7f02c700",9594:"40b6398a",9647:"5e95c892",9743:"1da545ff",9772:"14d72841",9796:"0e945c41",9824:"aa14e6b1",9881:"8288c265",9997:"8bc82b1f"}[e]||e)+"."+{10:"c48f7dbd",176:"3dec6d46",205:"f5f42f4c",268:"27c1b41f",405:"a7eb0903",465:"247bc33b",561:"0c73cd1a",588:"1bdc94ff",813:"019a15fb",833:"ea90dae3",970:"306cc5e2",1018:"6ba7190d",1054:"cda40cae",1098:"cfa2de30",1107:"eeabb12f",1199:"b85648e1",1235:"4971822d",1264:"10d4f0d3",1400:"185d0923",1475:"51b093f2",1500:"d08b03b3",1558:"446f3666",1567:"8c39a7a2",1715:"9d935eb6",1850:"d1b7c7db",2055:"0fdedfc5",2061:"7da5e510",2076:"d4b64326",2078:"62b38600",2085:"192b6a61",2360:"65be7d01",2373:"b46c3eaf",2584:"8eaca8eb",2586:"b809fc57",2631:"7d84a9e9",2633:"191788f5",2777:"c103cf90",2786:"9be07523",2835:"ea7a941e",2845:"d14041c3",2853:"210d2f40",2966:"565789dc",3015:"9966ef6e",3021:"cfa4288f",3129:"21118c24",3148:"6a7491bc",3185:"f4b12fd2",3321:"694f423a",3325:"d38c8ec6",3469:"83202793",3483:"fadf8c1b",3495:"75e20d36",3588:"0fc762c0",3595:"40f8ed4e",3633:"7e369a0e",3779:"0b7faa87",3822:"c192f1b9",3852:"ab22b4f7",3881:"2bec61c8",3916:"3fc1a455",3949:"f460ed60",3988:"11dfbd63",3997:"08b60ae4",4013:"c81ff6e0",4027:"36358d72",4028:"1d9003e1",4132:"eec55c75",4134:"9cd944e0",4141:"58a5fe1a",4142:"5238f25d",4166:"49ff7265",4194:"63e95596",4202:"57807487",4250:"a201ce1c",4291:"9c7472fc",4424:"d8e65e8a",4475:"d7543fa1",4557:"114db760",4618:"45da1980",4630:"18649363",4812:"f20d897d",4853:"f7338c91",4886:"6302952f",4889:"bb23a7bd",4920:"b67e5d15",4962:"afadf186",4970:"55528f37",4989:"9c93875e",5101:"fc29e504",5122:"ee7a4ff8",5123:"4c817e3a",5219:"cfd81712",5265:"8a792a52",5272:"d7e82ca5",5320:"67a503bd",5335:"d77e48f5",5350:"4cd2a2af",5353:"4a9061e5",5423:"2ac15d82",5448:"63b3f973",5504:"b9ffa436",5694:"44a7d1df",5740:"5798b933",5742:"6f50d3cb",5832:"29ea6eee",5852:"10cefecb",5861:"e414ae82",5866:"746cfe2d",5943:"0ded4df5",5966:"b03616ab",6061:"825d8c20",6115:"94a862cc",6287:"373290c4",6355:"3962d1bb",6386:"5d703faa",6422:"d52978b6",6465:"82c0454b",6491:"41585657",6543:"733abe4c",6584:"bcb8c55f",6616:"ac267d98",6672:"9c7472fc",6717:"49b70407",6723:"941200b7",6724:"b4905e08",6797:"bcf6ccf6",6861:"7a11f993",6866:"4ee7b6e5",6953:"8572a44b",6998:"35539cef",7098:"992c4a90",7149:"f6f58d32",7249:"2dbabe8c",7277:"6e389211",7320:"9ff45764",7396:"b97d027a",7408:"db294439",7443:"f0d813bb",7498:"93b045aa",7513:"0b4554ce",7537:"eee766f7",7700:"3170bb72",7722:"d7a9ad86",7793:"b6848169",7817:"3c4d7aab",7836:"82638c55",7853:"95750a0a",8191:"fb0c28b5",8318:"922f3eee",8382:"2e976381",8401:"476362fb",8413:"7448d5c4",8545:"8fe42f95",8588:"bd262216",8674:"bade954e",8715:"269bc776",8744:"a530f746",8760:"3011bc9b",8845:"9c10cfb5",8897:"8210c243",8907:"eaabf3d6",8926:"2284fc7c",9048:"13c96c74",9111:"99194259",9146:"b5bc0bab",9167:"8e3aa667",9187:"d599c63b",9192:"0f37c11a",9257:"87a88033",9293:"098c020a",9408:"8659aa3b",9460:"c98a88e4",9515:"f4614fb9",9548:"5245b2b7",9591:"fec476c6",9592:"bd5b1cc8",9594:"86580fca",9647:"e42e7000",9743:"ef424470",9772:"24eaace4",9796:"0c53f212",9824:"c1e700b0",9850:"34d66cab",9881:"d455b0a0",9997:"9df61a79"}[e]+".js",t.miniCssF=e=>{},t.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),f={},b="rxdb:",t.l=(e,a,d,c)=>{if(f[e])f[e].push(a);else{var r,o;if(void 0!==d)for(var n=document.getElementsByTagName("script"),i=0;i{r.onerror=r.onload=null,clearTimeout(s);var b=f[e];if(delete f[e],r.parentNode&&r.parentNode.removeChild(r),b&&b.forEach(e=>e(d)),a)return a(d)},s=setTimeout(u.bind(null,void 0,{type:"timeout",target:r}),12e4);r.onerror=u.bind(null,r.onerror),r.onload=u.bind(null,r.onload),o&&document.head.appendChild(r)}},t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.p="/",t.gca=function(e){return e={17896441:"8401",36715375:"2076",37055470:"4970",51038524:"4889",51334108:"8926",58215328:"5353",61792630:"7277",98405524:"5504","5134b15f":"10","280a2389":"176","3ebfb37f":"205","25626d15":"268","38a45a95":"405","4616b86a":"465",f44bb875:"561","84ae55a4":"588",b672caf7:"813",c0f75fb9:"833","15f1e21f":"970",fe2a63b2:"1018","8a442806":"1054",a7f10198:"1098",b0889a22:"1107","4ed9495b":"1199",a7456010:"1235","6fa8aa1a":"1264",d4da9db3:"1400","0f6e10f0":"1475",a406dc27:"1500",f43e80a8:"1558","22dd74f7":"1567","9dd8ea89":"1715","8bc07e20":"1850","26b8a621":"2055","380cc66a":"2061","38bbf12a":"2078",fe7a07ee:"2085",e6b4453d:"2360","4f17bbdd":"2373","0e268d20":"2584",d2758528:"2586","8bfd920a":"2631","90102fdf":"2633",c4de80f8:"2777","86b4e356":"2786","0b761dc7":"2835",d622bd51:"2845",d04a108d:"2853","2456d5e0":"2966","85caacef":"3015","9e91b6f0":"3021","1b0f8c91":"3129","39600c95":"3148","714575d7":"3185",ae2c2832:"3321","9dae6e71":"3325",ed2d6610:"3469","13dc6548":"3483","7bbb96fd":"3495",b2653a00:"3588","931f4566":"3595","5b5afcec":"3633",b30f4f1f:"3779","8070e160":"3822",cbbe8f0a:"3852","5a273530":"3881","08ff000c":"3916","77d975e6":"3949",eb2e4b0c:"3988","68a466be":"3997","1b238727":"4013","8b4bf532":"4027",ebace26e:"4028","2efd0200":"4132","393be207":"4134",c6fdd490:"4141","2c41656d":"4142","92698a99":"4166",de9a3c97:"4194","91b454ee":"4202","432b83f9":"4424","045bd6f5":"4475","8b0a0922":"4557","6fd28feb":"4618",f15938da:"4630","25a43fd4":"4812","326aca46":"4853",eadd9b3c:"4886",feac4174:"4920",dc42ba65:"4962","0e467ee2":"4989","2fe9ecb2":"5101","924d6dd6":"5122",d20e74b4:"5123","401008a8":"5219",e8a836f3:"5265","118cde4c":"5272","6ae3580c":"5320","7815dd0c":"5335","3417a9c7":"5350","01a106d5":"5423",f61fdf57:"5448","21fa2740":"5694",c6349bb6:"5740",aba21aa0:"5742","34f94d1b":"5832",bdd39edd:"5852","77979bef":"5861","6187b59a":"5866","41f941a1":"5966","1f391b9e":"6061","951d0efb":"6115",cde77f4f:"6287",b8c49ce4:"6355","4777fd9a":"6386","6bfb0089":"6422","03e37916":"6465",ab919a1f:"6491",dbde2ffe:"6543",c44853e1:"6584","01684a0a":"6616","55a5b596":"6717","8aa53ed7":"6723","2564bf4f":"6724",e24529eb:"6797","84a3af36":"6861","187b985e":"6866","1c0701dd":"6953",ee1b9f21:"6998",a7bd4aaa:"7098",a574e172:"7149",c9c8e0b6:"7249",db34d6b0:"7320",ec526260:"7396","6cbff7c2":"7408","2aec6989":"7498",f14ec96f:"7513","0596642b":"7537","8489a755":"7700",ff492cda:"7722",c7b47308:"7793","502d8946":"7817","820807a1":"7836","35e4d287":"7853","32667c41":"8191",badcd764:"8318","0027230a":"8382","1db64337":"8413","4af60d2e":"8545","1e0353aa":"8588",ad16b3ea:"8674","597d88be":"8715","294ac9d5":"8744",a442adcd:"8760",f490b64c:"8845","11d75f9a":"8897",f1c185f0:"8907",a94703ab:"9048","1b5fa8ad":"9111",c843a053:"9146",c3bc9c50:"9167",ac62b32d:"9192","8a22f3a9":"9257",a69eebfc:"9408","51014a8a":"9460","8084fe3b":"9515","4adf80bb":"9548","4ba7e5a3":"9591","7f02c700":"9592","40b6398a":"9594","5e95c892":"9647","1da545ff":"9743","14d72841":"9772","0e945c41":"9796",aa14e6b1:"9824","8288c265":"9881","8bc82b1f":"9997"}[e]||e,t.p+t.u(e)},(()=>{var e={5354:0,1869:0};t.f.j=(a,d)=>{var f=t.o(e,a)?e[a]:void 0;if(0!==f)if(f)d.push(f[2]);else if(/^(1869|5354)$/.test(a))e[a]=0;else{var b=new Promise((d,b)=>f=e[a]=[d,b]);d.push(f[2]=b);var c=t.p+t.u(a),r=new Error;t.l(c,d=>{if(t.o(e,a)&&(0!==(f=e[a])&&(e[a]=void 0),f)){var b=d&&("load"===d.type?"missing":d.type),c=d&&d.target&&d.target.src;r.message="Loading chunk "+a+" failed.\n("+b+": "+c+")",r.name="ChunkLoadError",r.type=b,r.request=c,f[1](r)}},"chunk-"+a,a)}},t.O.j=a=>0===e[a];var a=(a,d)=>{var f,b,[c,r,o]=d,n=0;if(c.some(a=>0!==e[a])){for(f in r)t.o(r,f)&&(t.m[f]=r[f]);if(o)var i=o(t)}for(a&&a(d);n
-
-
-
-
-Backup | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
With the backup plugin you can write the current database state and ongoing changes into folders on the filesystem.
-The files are written in plain json together with their attachments so that you can read them out with any software or tools, without being bound to RxDB.
-
This is useful to:
-
-
Consume the database content with other software that cannot replicate with RxDB
-
Write a backup of the database to a remote server by mounting the backup folder on the other server.
-
-
The backup plugin works only in node.js, not in a browser. It is intended to have a backup strategy when using RxDB on the server side like with the RxServer. To run backups on the client side, you should use one of the replication plugins instead.
Write the whole database to the filesystem once.
-When called multiple times, it will continue from the last checkpoint and not start all over again.
-
const backupOptions = {
- // if false, a one-time backup will be written
- live: false,
- // the folder where the backup will be stored
- directory: '/my-backup-folder/',
- // if true, attachments will also be saved
- attachments: true
-}
-const backupState = myDatabase.backup(backupOptions);
-await backupState.awaitInitialBackup();
-
-// call again to run from the last checkpoint
-const backupState2 = myDatabase.backup(backupOptions);
-await backupState2.awaitInitialBackup();
When live: true is set, the backup will write all ongoing changes to the backup directory.
-
const backupOptions = {
- // set live: true to have an ongoing backup
- live: true,
- directory: '/my-backup-folder/',
- attachments: true
-}
-const backupState = myDatabase.backup(backupOptions);
-
-// you can still await the initial backup write, but further changes will still be processed.
-await backupState.awaitInitialBackup();
-
-
\ No newline at end of file
diff --git a/docs/backup.md b/docs/backup.md
deleted file mode 100644
index 669bd5ca288..00000000000
--- a/docs/backup.md
+++ /dev/null
@@ -1,90 +0,0 @@
-# Backup
-
-> Easily back up your RxDB database to JSON files and attachments on the filesystem with the Backup Plugin - ensuring reliable Node.js data protection.
-
-# 📥 Backup Plugin
-
-With the backup plugin you can write the current database state and ongoing changes into folders on the filesystem.
-The files are written in plain json together with their attachments so that you can read them out with any software or tools, without being bound to RxDB.
-
-This is useful to:
- - Consume the database content with other software that cannot replicate with RxDB
- - Write a backup of the database to a remote server by mounting the backup folder on the other server.
-
-The backup plugin works only in node.js, not in a browser. It is intended to have a backup strategy when using RxDB on the server side like with the [RxServer](./rx-server.md). To run backups on the client side, you should use one of the [replication](./replication.md) plugins instead.
-
-## Installation
-
-```javascript
-import { addRxPlugin } from 'rxdb';
-import { RxDBBackupPlugin } from 'rxdb/plugins/backup';
-addRxPlugin(RxDBBackupPlugin);
-```
-
-## one-time backup
-
-Write the whole database to the filesystem **once**.
-When called multiple times, it will continue from the last checkpoint and not start all over again.
-
-```javascript
-const backupOptions = {
- // if false, a one-time backup will be written
- live: false,
- // the folder where the backup will be stored
- directory: '/my-backup-folder/',
- // if true, attachments will also be saved
- attachments: true
-}
-const backupState = myDatabase.backup(backupOptions);
-await backupState.awaitInitialBackup();
-
-// call again to run from the last checkpoint
-const backupState2 = myDatabase.backup(backupOptions);
-await backupState2.awaitInitialBackup();
-```
-
-## live backup
-
-When `live: true` is set, the backup will write all ongoing changes to the backup directory.
-
-```javascript
-const backupOptions = {
- // set live: true to have an ongoing backup
- live: true,
- directory: '/my-backup-folder/',
- attachments: true
-}
-const backupState = myDatabase.backup(backupOptions);
-
-// you can still await the initial backup write, but further changes will still be processed.
-await backupState.awaitInitialBackup();
-```
-
-## writeEvents$
-
-You can listen to the `writeEvents$` Observable to get notified about written backup files.
-
-```javascript
-const backupOptions = {
- live: false,
- directory: '/my-backup-folder/',
- attachments: true
-}
-const backupState = myDatabase.backup(backupOptions);
-
-const subscription = backupState.writeEvents$.subscribe(writeEvent => console.dir(writeEvent));
-/*
-> {
- collectionName: 'humans',
- documentId: 'foobar',
- files: [
- '/my-backup-folder/foobar/document.json'
- ],
- deleted: false
-}
-*/
-```
-
-## Limitations
-
-- It is currently not possible to import from a written backup. If you need this functionality, please make a pull request.
diff --git a/docs/capacitor-database.html b/docs/capacitor-database.html
deleted file mode 100644
index eee23058345..00000000000
--- a/docs/capacitor-database.html
+++ /dev/null
@@ -1,161 +0,0 @@
-
-
-
-
-
-Capacitor Database Guide - SQLite, RxDB & More | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Capacitor is an open source native JavaScript runtime to build Web based Native apps. You can use it to create cross-platform iOS, Android, and Progressive Web Apps with the web technologies JavaScript, HTML, and CSS.
-It is developed by the Ionic Team and provides a great alternative to create hybrid apps. Compared to React Native, Capacitor is more Web-Like because the JavaScript runtime supports most Web APIs like IndexedDB, fetch, and so on.
-
To read and write persistent data in Capacitor, there are multiple solutions which are shown in the following.
Capacitor comes with a native Preferences API which is a simple, persistent key->value store for lightweight data, similar to the browsers localstorage or React Native AsyncStorage.
-
To use it, you first have to install it from npm npm install @capacitor/preferences and then you can import it and write/read data.
-Notice that all calls to the preferences API are asynchronous so they return a Promise that must be await-ed.
The preferences API is good when only a small amount of data needs to be stored and when no query capabilities besides the key access are required. Complex queries or other features like indexes or replication are not supported which makes the preferences API not suitable for anything more than storing simple data like user settings.
Since Capacitor apps run in a web view, Web APIs like IndexedDB, Localstorage and WebSQL are available. But the default browser behavior is to clean up these storages regularly when they are not in use for a long time or the device is low on space. Therefore you cannot 100% rely on the persistence of the stored data and your application needs to expect that the data will be lost eventually.
-
Storing data in these storages can be done in browsers, because there is no other option. But in Capacitor iOS and Android, you should not rely on these.
SQLite is a SQL based relational database written in C that was crafted to be embed inside of applications. Operations are written in the SQL query language and SQLite generally follows the PostgreSQL syntax.
-
To use SQLite in Capacitor, there are three options:
It is recommended to use the @capacitor-community/sqlite because it has the best maintenance and is open source. Install it first npm install --save @capacitor-community/sqlite and then set the storage location for iOS apps:
The downside of SQLite is that it is lacking many features that are handful when using a database together with an UI based application like your Capacitor app. For example it is not possible to observe queries or document fields. Also there is no realtime replication feature, you can only import json files. This makes SQLite a good solution when you just want to store data on the client, but when you want to sync data with a server or other clients or create big complex realtime applications, you have to use something else.
RxDB is an local first, NoSQL database for JavaScript Applications like hybrid apps. Because it is reactive, you can subscribe to all state changes like the result of a query or even a single field of a document. This is great for UI-based realtime applications in a way that makes it easy to develop realtime applications like what you need in Capacitor.
-
Because RxDB is made for Web applications, most of the available RxStorage plugins can be used to store and query data in a Capacitor app. However it is recommended to use the SQLite RxStorage because it stores the data on the filesystem of the device, not in the JavaScript runtime (like IndexedDB). Storing data on the filesystem ensures it is persistent and will not be cleaned up by any process. Also the performance of SQLite is much faster compared to IndexedDB, because SQLite does not have to go through a browsers permission layers. For the SQLite binding you should use the @capacitor-community/sqlite package.
-
Because the SQLite RxStorage is part of the 👑 Premium Plugins which must be purchased, it is recommended to use the LocalStorage RxStorage while testing and prototyping your Capacitor app.
-
To use the SQLite RxStorage in Capacitor you have to install all dependencies via npm install rxdb rxjs rxdb-premium @capacitor-community/sqlite.
-
For iOS apps you should add a database location in your Capacitor settings:
-
-
\ No newline at end of file
diff --git a/docs/capacitor-database.md b/docs/capacitor-database.md
deleted file mode 100644
index 149fdbe291e..00000000000
--- a/docs/capacitor-database.md
+++ /dev/null
@@ -1,243 +0,0 @@
-# Capacitor Database Guide - SQLite, RxDB & More
-
-> Explore Capacitor's top data storage solutions - from key-value to real-time databases. Compare SQLite, RxDB, and more in this in-depth guide.
-
-import {Tabs} from '@site/src/components/tabs';
-import {Steps} from '@site/src/components/steps';
-
-# Capacitor Database - SQLite, RxDB and others
-
-[Capacitor](https://capacitorjs.com/) is an open source native JavaScript runtime to build Web based Native apps. You can use it to create cross-platform iOS, Android, and Progressive Web Apps with the web technologies JavaScript, HTML, and CSS.
-It is developed by the Ionic Team and provides a great alternative to create hybrid apps. Compared to [React Native](./react-native-database.md), Capacitor is more Web-Like because the JavaScript runtime supports most Web APIs like IndexedDB, fetch, and so on.
-
-To read and write persistent data in Capacitor, there are multiple solutions which are shown in the following.
-
-
-
-## Database Solutions for Capacitor
-
-### Preferences API
-
-Capacitor comes with a native [Preferences API](https://capacitorjs.com/docs/apis/preferences) which is a simple, persistent key->value store for lightweight data, similar to the browsers localstorage or React Native [AsyncStorage](./react-native-database.md#asyncstorage).
-
-To use it, you first have to install it from npm `npm install @capacitor/preferences` and then you can import it and write/read data.
-Notice that all calls to the preferences API are asynchronous so they return a `Promise` that must be `await`-ed.
-
-```ts
-import { Preferences } from '@capacitor/preferences';
-
-// write
-await Preferences.set({
- key: 'foo',
- value: 'baar',
-});
-
-// read
-const { value } = await Preferences.get({ key: 'foo' }); // > 'bar'
-
-// delete
-await Preferences.remove({ key: 'foo' });
-```
-
-The preferences API is good when only a small amount of data needs to be stored and when no query capabilities besides the key access are required. Complex queries or other features like indexes or replication are not supported which makes the preferences API not suitable for anything more than storing simple data like user settings.
-
-### Localstorage/IndexedDB/WebSQL
-
-Since Capacitor apps run in a web view, Web APIs like IndexedDB, [Localstorage](./articles/localstorage.md) and WebSQL are available. But the default browser behavior is to clean up these storages regularly when they are not in use for a long time or the device is low on space. Therefore you cannot 100% rely on the persistence of the stored data and your application needs to expect that the data will be lost eventually.
-
-Storing data in these storages can be done in browsers, because there is no other option. But in Capacitor iOS and Android, you should not rely on these.
-
-### SQLite
-
-SQLite is a SQL based relational database written in C that was crafted to be embed inside of applications. Operations are written in the SQL query language and SQLite generally follows the PostgreSQL syntax.
-
-To use SQLite in Capacitor, there are three options:
-
-- The [@capacitor-community/sqlite](https://github.com/capacitor-community/sqlite) package
-- The [cordova-sqlite-storage](https://github.com/storesafe/cordova-sqlite-storage) package
-- The non-free [Ionic](./articles/ionic-database.md) [Secure Storage](https://ionic.io/products/secure-storage) which comes at **999$** per month.
-
-It is recommended to use the `@capacitor-community/sqlite` because it has the best maintenance and is open source. Install it first `npm install --save @capacitor-community/sqlite` and then set the storage location for iOS apps:
-
-```json
-{
- "plugins": {
- "CapacitorSQLite": {
- "iosDatabaseLocation": "Library/CapacitorDatabase"
- }
- }
-}
-```
-
-Now you can create a database connection and use the SQLite database.
-
-```ts
-import { Capacitor } from '@capacitor/core';
-import {
- CapacitorSQLite, SQLiteDBConnection, SQLiteConnection, capSQLiteSet,
- capSQLiteChanges, capSQLiteValues, capEchoResult, capSQLiteResult,
- capNCDatabasePathResult
-} from '@capacitor-community/sqlite';
-
-const sqlite = new SQLiteConnection(CapacitorSQLite);
-const database: SQLiteDBConnection = await this.sqlite.createConnection(
- databaseName,
- encrypted,
- mode,
- version,
- readOnly
-);
-let { rows } = database.query('SELECT somevalue FROM sometable');
-```
-
-The downside of SQLite is that it is lacking many features that are handful when using a database together with an UI based application like your Capacitor app. For example it is not possible to observe queries or document fields. Also there is no realtime replication feature, you can only import json files. This makes SQLite a good solution when you just want to store data on the client, but when you want to sync data with a server or other clients or create big complex realtime applications, you have to use something else.
-
-### RxDB
-
-
-
-[RxDB](https://rxdb.info/) is an local first, NoSQL database for JavaScript Applications like hybrid apps. Because it is reactive, you can subscribe to all state changes like the result of a query or even a single field of a document. This is great for UI-based realtime applications in a way that makes it easy to develop realtime applications like what you need in Capacitor.
-
-Because RxDB is made for Web applications, most of the [available RxStorage](./rx-storage.md) plugins can be used to store and query data in a Capacitor app. However it is recommended to use the [SQLite RxStorage](./rx-storage-sqlite.md) because it stores the data on the filesystem of the device, not in the JavaScript runtime (like IndexedDB). Storing data on the filesystem ensures it is persistent and will not be cleaned up by any process. Also the performance of SQLite is [much faster](./rx-storage.md#performance-comparison) compared to IndexedDB, because SQLite does not have to go through a browsers permission layers. For the SQLite binding you should use the [@capacitor-community/sqlite](https://github.com/capacitor-community/sqlite) package.
-
-Because the SQLite RxStorage is part of the [👑 Premium Plugins](/premium/) which must be purchased, it is recommended to use the [LocalStorage RxStorage](./rx-storage-localstorage.md) while testing and prototyping your Capacitor app.
-
-To use the SQLite RxStorage in Capacitor you have to install all dependencies via `npm install rxdb rxjs rxdb-premium @capacitor-community/sqlite`.
-
-For iOS apps you should add a database location in your Capacitor settings:
-
-```json
-{
- "plugins": {
- "CapacitorSQLite": {
- "iosDatabaseLocation": "Library/CapacitorDatabase"
- }
- }
-}
-```
-
-Then you can assemble the RxStorage and create a database with it:
-
-
-
-### Import RxDB and SQLite
-
-```ts
-import {
- createRxDatabase
-} from 'rxdb/plugins/core';
-import {
- CapacitorSQLite,
- SQLiteConnection
-} from '@capacitor-community/sqlite';
-import { Capacitor } from '@capacitor/core';
-const sqlite = new SQLiteConnection(CapacitorSQLite);
-```
-
-### Import the RxDB SQLite Storage
-
-
-
-#### RxDB Core
-
-```ts
-import {
- getRxStorageSQLiteTrial,
- getSQLiteBasicsCapacitor
-} from 'rxdb/plugins/storage-sqlite';
-```
-
-#### RxDB Premium 👑
-
-```ts
-import {
- getRxStorageSQLite,
- getSQLiteBasicsCapacitor
-} from 'rxdb-premium/plugins/storage-sqlite';
-```
-
-
-
-### Create a Database with the Storage
-
-
-
-#### RxDB Core
-
-```ts
-// create database
-const myRxDatabase = await createRxDatabase({
- name: 'exampledb',
- storage: getRxStorageSQLiteTrial({
- sqliteBasics: getSQLiteBasicsCapacitor(sqlite, Capacitor)
- })
-});
-```
-
-#### RxDB Premium 👑
-
-```ts
-// create database
-const myRxDatabase = await createRxDatabase({
- name: 'exampledb',
- storage: getRxStorageSQLite({
- sqliteBasics: getSQLiteBasicsCapacitor(sqlite, Capacitor)
- })
-});
-```
-
-
-
-### Add a Collection
-
-```ts
-// create collections
-const collections = await myRxDatabase.addCollections({
- humans: {
- schema: {
- version: 0,
- type: 'object',
- primaryKey: 'id',
- properties: {
- id: { type: 'string', maxLength: 100 },
- name: { type: 'string' },
- age: { type: 'number' }
- },
- required: ['id', 'name']
- }
- }
-});
-```
-
-### Insert a Document
-
-```ts
-await collections.humans.insert({id: 'foo', name: 'bar'});
-```
-
-### Run a Query
-
-```ts
-const result = await collections.humans.find({
- selector: {
- name: 'bar'
- }
-}).exec();
-```
-
-### Observe a Query
-
-```ts
-await collections.humans.find({
- selector: {
- name: 'bar'
- }
-}).$.subscribe(result => {/* ... */});
-```
-
-
-
-## Follow up
-
-- If you haven't done yet, you should start learning about RxDB with the [Quickstart Tutorial](./quickstart.md).
-- There is a followup list of other [client side database alternatives](./alternatives.md).
diff --git a/docs/chat/index.html b/docs/chat/index.html
deleted file mode 100644
index 24933bd33cd..00000000000
--- a/docs/chat/index.html
+++ /dev/null
@@ -1,39 +0,0 @@
-
-
-
-
-
-Chat - RxDB - JavaScript Database | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
To make the replication work, and for other reasons, RxDB has to keep deleted documents in storage so that it can replicate their deletion state.
-This ensures that when a client is offline, the deletion state is still known and can be replicated with the backend when the client goes online again.
-
Keeping too many deleted documents in the storage, can slow down queries or fill up too much disc space.
-With the cleanup plugin, RxDB will run cleanup cycles that clean up deleted documents when it can be done safely.
You can set a specific cleanup policy when a RxDatabase is created. For most use cases, the defaults should be ok.
-
import { createRxDatabase } from 'rxdb';
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-const db = await createRxDatabase({
- name: 'heroesdb',
- storage: getRxStorageLocalstorage(),
- cleanupPolicy: {
- /**
- * The minimum time in milliseconds for how long
- * a document has to be deleted before it is
- * purged by the cleanup.
- * [default=one month]
- */
- minimumDeletedTime: 1000 * 60 * 60 * 24 * 31, // one month,
- /**
- * The minimum amount of that that the RxCollection must have existed.
- * This ensures that at the initial page load, more important
- * tasks are not slowed down because a cleanup process is running.
- * [default=60 seconds]
- */
- minimumCollectionAge: 1000 * 60, // 60 seconds
- /**
- * After the initial cleanup is done,
- * a new cleanup is started after [runEach] milliseconds
- * [default=5 minutes]
- */
- runEach: 1000 * 60 * 5, // 5 minutes
- /**
- * If set to true,
- * RxDB will await all running replications
- * to not have a replication cycle running.
- * This ensures we do not remove deleted documents
- * when they might not have already been replicated.
- * [default=true]
- */
- awaitReplicationsInSync: true,
- /**
- * If true, it will only start the cleanup
- * when the current instance is also the leader.
- * This ensures that when RxDB is used in multiInstance mode,
- * only one instance will start the cleanup.
- * [default=true]
- */
- waitForLeadership: true
- }
-});
You can manually run a cleanup per collection by calling RxCollection.cleanup().
-
-/**
- * Manually run the cleanup with the
- * minimumDeletedTime from the cleanupPolicy.
- */
-await myRxCollection.cleanup();
-
-
-/**
- * Overwrite the minimumDeletedTime
- * be setting it explicitly (time in milliseconds)
- */
-await myRxCollection.cleanup(1000);
-
-/**
- * Purge all deleted documents no
- * matter when they where deleted
- * by setting minimumDeletedTime to zero.
- */
-await myRxCollection.cleanup(0);
When you have a collection with documents and you want to empty it by purging all documents, the recommended way is to call myRxCollection.remove(). However, this will destroy the JavaScript class of the collection and stop all listeners and observables.
-Sometimes the better option might be to manually delete all documents and then use the cleanup plugin to purge the deleted documents:
-
// delete all documents
-await myRxCollection.find().remove();
-// purge all deleted documents
-await myRxCollection.cleanup(0);
The cleanup cycles are optimized to run only when the database is idle and it is unlikely that another database interaction performance will be decreased in the meantime. For example, by default, the cleanup does not run in the first 60 seconds of the creation of a collection to ensure the initial page load of your website does not slow down. Also, we use mechanisms like the requestIdleCallback() API to improve the correct timing of the cleanup cycle.
-
-
\ No newline at end of file
diff --git a/docs/cleanup.md b/docs/cleanup.md
deleted file mode 100644
index d23f1505247..00000000000
--- a/docs/cleanup.md
+++ /dev/null
@@ -1,118 +0,0 @@
-# Cleanup
-
-> Optimize storage and speed up queries with RxDB's Cleanup Plugin, automatically removing old deleted docs while preserving replication states.
-
-# 🧹 Cleanup
-
-To make the replication work, and for other reasons, RxDB has to keep deleted documents in storage so that it can replicate their deletion state.
-This ensures that when a client is offline, the deletion state is still known and can be replicated with the backend when the client goes online again.
-
-Keeping too many deleted documents in the storage, can slow down queries or fill up too much disc space.
-With the cleanup plugin, RxDB will run cleanup cycles that clean up deleted documents when it can be done safely.
-
-## Installation
-
-```ts
-import { addRxPlugin } from 'rxdb';
-import { RxDBCleanupPlugin } from 'rxdb/plugins/cleanup';
-addRxPlugin(RxDBCleanupPlugin);
-```
-
-## Create a database with cleanup options
-
-You can set a specific cleanup policy when a `RxDatabase` is created. For most use cases, the defaults should be ok.
-
-```ts
-import { createRxDatabase } from 'rxdb';
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-const db = await createRxDatabase({
- name: 'heroesdb',
- storage: getRxStorageLocalstorage(),
- cleanupPolicy: {
- /**
- * The minimum time in milliseconds for how long
- * a document has to be deleted before it is
- * purged by the cleanup.
- * [default=one month]
- */
- minimumDeletedTime: 1000 * 60 * 60 * 24 * 31, // one month,
- /**
- * The minimum amount of that that the RxCollection must have existed.
- * This ensures that at the initial page load, more important
- * tasks are not slowed down because a cleanup process is running.
- * [default=60 seconds]
- */
- minimumCollectionAge: 1000 * 60, // 60 seconds
- /**
- * After the initial cleanup is done,
- * a new cleanup is started after [runEach] milliseconds
- * [default=5 minutes]
- */
- runEach: 1000 * 60 * 5, // 5 minutes
- /**
- * If set to true,
- * RxDB will await all running replications
- * to not have a replication cycle running.
- * This ensures we do not remove deleted documents
- * when they might not have already been replicated.
- * [default=true]
- */
- awaitReplicationsInSync: true,
- /**
- * If true, it will only start the cleanup
- * when the current instance is also the leader.
- * This ensures that when RxDB is used in multiInstance mode,
- * only one instance will start the cleanup.
- * [default=true]
- */
- waitForLeadership: true
- }
-});
-```
-
-## Calling cleanup manually
-
-You can manually run a cleanup per collection by calling `RxCollection.cleanup()`.
-
-```ts
-
-/**
- * Manually run the cleanup with the
- * minimumDeletedTime from the cleanupPolicy.
- */
-await myRxCollection.cleanup();
-
-/**
- * Overwrite the minimumDeletedTime
- * be setting it explicitly (time in milliseconds)
- */
-await myRxCollection.cleanup(1000);
-
-/**
- * Purge all deleted documents no
- * matter when they where deleted
- * by setting minimumDeletedTime to zero.
- */
-await myRxCollection.cleanup(0);
-```
-
-## Using the cleanup plugin to empty a collection
-
-When you have a collection with documents and you want to empty it by purging all documents, the recommended way is to call `myRxCollection.remove()`. However, this will destroy the JavaScript class of the collection and stop all listeners and observables.
-Sometimes the better option might be to manually delete all documents and then use the cleanup plugin to purge the deleted documents:
-
-```ts
-// delete all documents
-await myRxCollection.find().remove();
-// purge all deleted documents
-await myRxCollection.cleanup(0);
-```
-
-## FAQ
-
-
- When does the cleanup run
-
- The cleanup cycles are optimized to run only when the database is idle and it is unlikely that another database interaction performance will be decreased in the meantime. For example, by default, the cleanup does not run in the first 60 seconds of the creation of a collection to ensure the initial page load of your website does not slow down. Also, we use mechanisms like the `requestIdleCallback()` API to improve the correct timing of the cleanup cycle.
-
-
diff --git a/docs/code/index.html b/docs/code/index.html
deleted file mode 100644
index 7e40caed251..00000000000
--- a/docs/code/index.html
+++ /dev/null
@@ -1,39 +0,0 @@
-
-
-
-
-
-Code - RxDB - JavaScript Database | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
The RxDB core maintainer has the answers. Schedule a compact consultancy session for quick fixes and suggestions on how you should use RxDB or related technologies.
Our trusted partners handle the full development and implementation of your local JavaScript database solution. You can relax while they bring your vision to life.
Get started
1
Share your project
Tell us what you're aiming to achieve and what technical details matter most, so we can get a clear picture of your requirements.
2
Get paired
We'll match you with a reliable RxDB expert or partner whose skills fit your project's needs.
3
Build and collaborate
Your partner will team up with you to create, refine, and deliver the solution you’re looking for.
Become a Partner?
Become part of our partner network for freelance developers and agencies. Get in touch with clients seeking skilled experts to build their apps based on RxDB.
Apply as a partner
-
-
\ No newline at end of file
diff --git a/docs/contribute.md b/docs/contribute.md
deleted file mode 100644
index b04d5ed0255..00000000000
--- a/docs/contribute.md
+++ /dev/null
@@ -1,49 +0,0 @@
-# Contribute
-
-> Got a fix or fresh idea? Learn how to contribute to RxDB, run tests, and shape the future of this cutting-edge NoSQL database for JavaScript.
-
-# Contribution
-
-We are open to, and grateful for, any contributions made by the community.
-
-# Developing
-
-## Requirements
-
-Before you can start developing, do the following:
-
-1. Make sure you have installed nodejs with the version stated in the [.nvmrc](https://github.com/pubkey/rxdb/blob/master/.nvmrc)
-2. Clone the repository `git clone https://github.com/pubkey/rxdb.git`
-3. Install the dependencies `cd rxdb && npm install`
-4. Make sure that the tests work for you. At first, try it out with `npm run test:node:memory` which tests the memory storage in node. In the [package.json](https://github.com/pubkey/rxdb/blob/master/package.json) you can find more scripts to run the tests with different storages.
-
-## Adding tests
-
-Before you start creating a bugfix or a feature, you should create a test to reproduce it. Tests are in the `test/unit`-folder.
-If you want to reproduce a bug, you can modify the test in [this file](https://github.com/pubkey/rxdb/blob/master/test/unit/bug-report.test.ts).
-
-## Making a PR
-
-If you make a pull-request, ensure the following:
-
-1. Every feature or bugfix must be committed together with a unit-test which ensures everything works as expected.
-2. Do not commit build-files (anything in the `dist`-folder)
-3. Before you add non-trivial changes, create an issue to discuss if this will be merged and you don't waste your time.
-4. To run the unit and integration-tests, do `npm run test` and ensure everything works as expected
-
-## Getting help
-
-If you need help with your contribution, ask at [discord](https://rxdb.info/chat/).
-
-## No-Go
-
-When reporting a bug, you need to make a PR with a test case that runs in the CI and reproduces your problem.
-Sending a link with a repo does not help the maintainer because installing random peoples projects is time consuming and dangerous.
-Also the maintainer will never go on a bug hunt based on your plain description. Either you report the bug with a test case, or the maintainer will likely not help you.
-
-# Docs
-
-The source of the documentation is at the `docs-src`-folder.
-To read the docs locally, run `npm run docs:install && npm run docs:serve` and open `http://localhost:4000/`
-
-# Thank you for contributing!
diff --git a/docs/contribution.html b/docs/contribution.html
deleted file mode 100644
index c3ed1f1e062..00000000000
--- a/docs/contribution.html
+++ /dev/null
@@ -1,70 +0,0 @@
-
-
-
-
-
-Contribute | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Before you can start developing, do the following:
-
-
Make sure you have installed nodejs with the version stated in the .nvmrc
-
Clone the repository git clone https://github.com/pubkey/rxdb.git
-
Install the dependencies cd rxdb && npm install
-
Make sure that the tests work for you. At first, try it out with npm run test:node:memory which tests the memory storage in node. In the package.json you can find more scripts to run the tests with different storages.
Before you start creating a bugfix or a feature, you should create a test to reproduce it. Tests are in the test/unit-folder.
-If you want to reproduce a bug, you can modify the test in this file.
When reporting a bug, you need to make a PR with a test case that runs in the CI and reproduces your problem.
-Sending a link with a repo does not help the maintainer because installing random peoples projects is time consuming and dangerous.
-Also the maintainer will never go on a bug hunt based on your plain description. Either you report the bug with a test case, or the maintainer will likely not help you.
-
Docs
-
The source of the documentation is at the docs-src-folder.
-To read the docs locally, run npm run docs:install && npm run docs:serve and open http://localhost:4000/
Whenever there are multiple instances in a distributed system, data writes can cause conflicts. Two different clients could do a write to the same document at the same time or while they are both offline. When the clients replicate the document state with the server, a conflict emerges that must be resolved by the system.
-
In RxDB, conflicts are normally resolved by setting a conflictHandler when creating a collection. The conflict handler is a JavaScript function that gets the two conflicting states of the same document and it will return the resolved document state.
-The default conflict handler will always drop the fork state and use the master state to ensure that clients that have been offline for a long time, do not overwrite other clients changes when they go online again.
-
-
With CRDTs (short for Conflict-free replicated data type), all document
-writes are represented as CRDT operations in plain JSON. The CRDT operations are stored together with the document and each time a conflict arises, the CRDT conflict handler will automatically merge the operations in a deterministic way. Using CRDTs is an easy way to "magically" handle all conflict problems in your application by storing the deltas of writes together with the document data.
By default, all CRDTs operations will be run to build the current document state. But in many cases, more granular operations are required to better reflect the desired business logic. For these cases, conditional CRDTs can be used.
-
For example if you have a field points with a maximum of 100, you might want to only run the $inc operation, if the points value is less than 100.
-In an conditional CRDT, you can specify a selector and the operation sets ifMatch and ifNotMatch. At each time the CRDT is applied to the document state, first the selector will run and evaluate which operations path must be used.
-
await myDocument.updateCRDT({
- // only if the selector matches, the ifMatch operation will run
- selector: {
- age: {
- $lt: 100
- }
- },
- // an operation that runs if the selector matches
- ifMatch: {
- $inc: {
- points: 1
- }
- },
- // if the selector does NOT match, you could run a different operation instead
- ifNotMatch: {
- // ...
- }
-});
By default, one CRDT operation is applied to the document in a single database write.
-To represent more complex logic chains, it might make sense to use multiple CRDTs and write them at once inside of a single atomic document write.
-
For these cases, the updateCRDT() method allows to pass an array of operations.
When the same document is inserted in multiple client instances and then replicated, a conflict will emerge and the insert-CRDTs will overwrite each other in a deterministic order.
-You can use insertCRDT() to make conditional insert operations with any logic. To check for the previous existence of a document, use the $exists query operation on the primary key of the document.
-
await myRxCollection.insertCRDT({
- selector: {
- // only run if the document did not exist before.
- id: { $exists: false }
- },
- ifMatch: {
- // if the document did not exist, insert it
- $set: {
- id: 'foo'
- points: 1
- }
- },
- ifNotMatch: {
- // if document existed already, increment the points by +1
- $inc: {
- points: 1
- }
- }
-});
You can delete a document with a CRDT operation by setting _deleted to true. Calling RxDocument.remove() will do exactly the same when CRDTs are activated.
CRDT operations are stored inside of a special field besides your 'normal' document fields.
-When replicating document data with the RxDB replication or the CouchDB replication or even any custom replication, the CRDT operations must be replicated together with the document data as if they would be 'normal' a document property.
-
When any instances makes a write to the document, it is required to update the CRDT operations accordingly. For example if your custom backend updates a document, it must also do that by adding a CRDT operation. In dev-mode RxDB will refuse to store any document data where the document properties do not match the result of the CRDT operations.
There are already CRDT libraries out there that have been considered to be used with RxDB. The biggest ones are automerge and yjs. The decision was made to not use these but instead go for a more NoSQL way of designing the CRDT format because:
-
-
Users do not have to learn a new syntax but instead can use the NoSQL query operations which they already know to manipulate the JSON data of a document.
-
RxDB is often used to replicate data with any custom backend on an already existing infrastructure. Using NoSQL operators instead of binary data in CRDTs, makes it easy to implement the exact same logic on these backends so that the backend can also do document writes and still be compliant to the RxDB CRDT plugin.
-
-
So instead of using YJS or Automerge with a database, you can use RxDB with the CRDT plugin to have a more database specific CRDT approach. This gives you additional features for free such as schema validation or data migration.
CRDT can only be use when your business logic allows to represent document changes via static json operators.
-If you can have cases where user interaction is required to correctly merge conflicting document states, you cannot use CRDTs for that.
-
Also when CRDTs are used, it is no longer allowed to do non-CRDT writes to the document properties.
While the CRDT plugin can automatically merge concurrent document updates, it is not the only way to resolve conflicts in RxDB.
-An alternative approach to CRDT is to use RxDB's built-in conflict handling system.
-
-
Why use conflict handlers instead of CRDT?
-
-
Conflict handlers offer a simpler and more flexible way to manage data conflicts. Instead of encoding changes as CRDT operations, you define how RxDB should decide which document version "wins" with plain JavaScript code. This approach is easier to reason about because it works directly with your domain logic. For example, you can compare timestamps, prioritize certain fields, or even involve user interaction to resolve conflicts.
-
Conflict handlers are:
-
-
Easier to understand: you work with plain document states instead of CRDT operations.
-
Fully customizable: you can define any merge strategy, from simple last-write-wins to complex rule-based logic.
-
Compatible with all data types: unlike CRDTs, which are best suited for numeric or set-based updates.
-
Transparent: you always know which state is being written and why.
Your data model includes contextual or user-specific decisions.
-
You prefer a straightforward, rule-based resolution system over automatic merges.
-
-
Use CRDTs if:
-
-
Your app performs frequent offline writes that can be merged deterministically.
-
Your data can be represented as additive, numeric, or array-based updates.
-
You want minimal manual intervention during replication.
-
-
Both methods are first-class citizens in RxDB. CRDTs focus on automatic, deterministic merging, while conflict handlers emphasize clarity, flexibility, and control.
-
Example: merging different fields with conflict handlers instead of CRDT
-
For example, imagine two users edit different fields of the same document at the same time. One updates a name, the other updates a score. A custom conflict handler can merge both changes so no data is lost:
In this example, if the two versions change different properties, the final merged document includes both updates. This kind of logic is often easier to reason about than designing equivalent CRDT operations.
-
-
\ No newline at end of file
diff --git a/docs/crdt.md b/docs/crdt.md
deleted file mode 100644
index 95a3c3bd45b..00000000000
--- a/docs/crdt.md
+++ /dev/null
@@ -1,334 +0,0 @@
-# CRDT - Conflict-free replicated data type Database
-
-> Learn how RxDB's CRDT Plugin resolves document conflicts automatically in distributed systems, ensuring seamless merges and consistent data.
-
-# RxDB CRDT Plugin
-
-Whenever there are multiple instances in a distributed system, data writes can cause conflicts. Two different clients could do a write to the same document at the same time or while they are both offline. When the clients replicate the document state with the server, a conflict emerges that must be resolved by the system.
-
-In [RxDB](./), conflicts are normally resolved by setting a `conflictHandler` when creating a collection. The conflict handler is a JavaScript function that gets the two conflicting states of the same document and it will return the resolved document state.
-The [default conflict handler](./replication.md#conflict-handling) will always drop the fork state and use the master state to ensure that clients that have been offline for a long time, do not overwrite other clients changes when they go online again.
-
-
-
-With CRDTs (short for [Conflict-free replicated data type](https://en.wikipedia.org/wiki/Conflict-free_replicated_data_type)), all document
-writes are represented as CRDT operations in plain JSON. The CRDT operations are stored together with the document and each time a conflict arises, the CRDT conflict handler will automatically merge the operations in a deterministic way. Using CRDTs is an easy way to "magically" handle all conflict problems in your application by storing the deltas of writes together with the document data.
-
-
-
-## RxDB CRDT operations
-
-In RxDB, a CRDT operation is defined with NoSQL update operators, like you might know them from [MongoDB update operations](https://www.mongodb.com/docs/manual/reference/operator/update/) or the [RxDB update plugin](./rx-document.md#update).
-To run the operators, RxDB uses the [mingo library](https://github.com/kofrasa/mingo#updating-documents).
-
-A CRDT operator example:
-
-```js
-const myCRDTOperation = {
- // increment the points field by +1
- $inc: {
- points: 1
- },
- // set the modified field to true
- $set: {
- modified: true
- }
-};
-```
-
-### Operators
-
-At the moment, not all possible operators are implemented in [mingo](https://github.com/kofrasa/mingo#updating-documents), if you need additional ones, you should make a pull request there.
-
-The following operators can be used at this point in time:
-- `$min`
-- `$max`
-- `$inc`
-- `$set`
-- `$unset`
-- `$push`
-- `$addToSet`
-- `$pop`
-- `$pullAll`
-- `$rename`
-
-For the exact definition on how each operator behaves, check out the [MongoDB documentation on update operators](https://www.mongodb.com/docs/manual/reference/operator/update/).
-
-## Installation
-
-To use CRDTs with RxDB, you need the following:
-
-- Add the CRDT plugin via `addRxPlugin`.
-- Add a field to your schema that defines where to store the CRDT operations via `getCRDTSchemaPart()`
-- Set the `crdt` options in your schema.
-- Do **NOT** set a custom conflict handler, the plugin will use its own one.
-
-```ts
-// import the relevant parts from the CRDT plugin
-import {
- getCRDTSchemaPart,
- RxDBcrdtPlugin
-} from 'rxdb/plugins/crdt';
-
-// add the CRDT plugin to RxDB
-import { addRxPlugin } from 'rxdb';
-addRxPlugin(RxDBcrdtPlugin);
-
-// create a database
-import { createRxDatabase } from 'rxdb';
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-const myDatabase = await createRxDatabase({
- name: 'heroesdb',
- storage: getRxStorageLocalstorage()
-});
-
-// create a schema with the CRDT options
-const mySchema = {
- version: 0,
- primaryKey: 'id',
- type: 'object',
- properties: {
- id: {
- type: 'string',
- maxLength: 100
- },
- points: {
- type: 'number',
- maximum: 100,
- minimum: 0
- },
- crdts: getCRDTSchemaPart() // use this field to store the CRDT operations
- },
- required: ['id', 'points'],
- crdt: { // CRDT options
- field: 'crdts'
- }
-}
-
-// add a collection
-await db.addCollections({
- users: {
- schema: mySchema
- }
-});
-
-// insert a document
-const myDocument = await db.users.insert({id: 'alice', points: 0});
-
-// run a CRDT operation that increments the 'points' by one
-await myDocument.updateCRDT({
- ifMatch: {
- $inc: {
- points: 1
- }
- }
-});
-```
-
-## Conditional CRDT operations
-
-By default, all CRDTs operations will be run to build the current document state. But in many cases, more granular operations are required to better reflect the desired business logic. For these cases, conditional CRDTs can be used.
-
-For example if you have a field `points` with a `maximum` of `100`, you might want to only run the `$inc` operation, if the `points` value is less than `100`.
-In an conditional CRDT, you can specify a `selector` and the operation sets `ifMatch` and `ifNotMatch`. At each time the CRDT is applied to the document state, first the selector will run and evaluate which operations path must be used.
-
-```ts
-await myDocument.updateCRDT({
- // only if the selector matches, the ifMatch operation will run
- selector: {
- age: {
- $lt: 100
- }
- },
- // an operation that runs if the selector matches
- ifMatch: {
- $inc: {
- points: 1
- }
- },
- // if the selector does NOT match, you could run a different operation instead
- ifNotMatch: {
- // ...
- }
-});
-```
-
-## Running multiples operations at once
-
-By default, one CRDT operation is applied to the document in a single database write.
-To represent more complex logic chains, it might make sense to use multiple CRDTs and write them at once inside of a single atomic document write.
-
-For these cases, the `updateCRDT()` method allows to pass an array of operations.
-
-```ts
-await myDocument.updateCRDT([
- {
- selector: { /** ... **/ },
- ifMatch: { /** ... **/ }
- },
- {
- selector: { /** ... **/ },
- ifMatch: { /** ... **/ }
- },
- {
- selector: { /** ... **/ },
- ifMatch: { /** ... **/ }
- },
- {
- selector: { /** ... **/ },
- ifMatch: { /** ... **/ }
- }
-]);
-```
-
-## CRDTs on inserts
-
-When CRDTs are enabled with the plugin, all insert operations are automatically mapped as CRDT operation with the `$set` operator.
-
-```ts
-// Calling RxCollection.insert()
-await myRxCollection.insert({
- id: 'foo'
- points: 1
-});
-// is exactly equal to calling insertCRDT()
-await myRxCollection.insertCRDT({
- ifMatch: {
- $set: {
- id: 'foo'
- points: 1
- }
- }
-});
-```
-
-When the same document is inserted in multiple client instances and then replicated, a conflict will emerge and the insert-CRDTs will overwrite each other in a deterministic order.
-You can use `insertCRDT()` to make conditional insert operations with any logic. To check for the previous existence of a document, use the `$exists` query operation on the primary key of the document.
-
-```ts
-await myRxCollection.insertCRDT({
- selector: {
- // only run if the document did not exist before.
- id: { $exists: false }
- },
- ifMatch: {
- // if the document did not exist, insert it
- $set: {
- id: 'foo'
- points: 1
- }
- },
- ifNotMatch: {
- // if document existed already, increment the points by +1
- $inc: {
- points: 1
- }
- }
-});
-```
-
-## Deleting documents
-
-You can delete a document with a CRDT operation by setting `_deleted` to true. Calling `RxDocument.remove()` will do exactly the same when CRDTs are activated.
-
-```ts
-await doc.updateCRDT({
- ifMatch: {
- $set: {
- _deleted: true
- }
- }
-});
-
-// OR
-await doc.remove();
-```
-
-## CRDTs with replication
-
-CRDT operations are stored inside of a special field besides your 'normal' document fields.
-When replicating document data with the [RxDB replication](./replication.md) or the [CouchDB replication](./replication-couchdb.md) or even any custom replication, the CRDT operations must be replicated together with the document data as if they would be 'normal' a document property.
-
-When any instances makes a write to the document, it is required to update the CRDT operations accordingly. For example if your custom backend updates a document, it must also do that by adding a CRDT operation. In [dev-mode](./dev-mode.md) RxDB will refuse to store any document data where the document properties do not match the result of the CRDT operations.
-
-## Why not automerge.js or yjs?
-
-There are already CRDT libraries out there that have been considered to be used with RxDB. The biggest ones are [automerge](https://github.com/automerge/automerge) and [yjs](https://github.com/yjs/yjs). The decision was made to not use these but instead go for a more NoSQL way of designing the CRDT format because:
-
-- Users do not have to learn a new syntax but instead can use the NoSQL query operations which they already know to manipulate the JSON data of a document.
-- RxDB is often used to [replicate](./replication.md) data with any custom backend on an already existing infrastructure. Using NoSQL operators instead of binary data in CRDTs, makes it easy to implement the exact same logic on these backends so that the backend can also do document writes and still be compliant to the RxDB CRDT plugin.
-
-So instead of using YJS or Automerge with a database, you can use RxDB with the CRDT plugin to have a more database specific CRDT approach. This gives you additional features for free such as [schema validation](./schema-validation.md) or [data migration](./migration-schema.md).
-
-## When to not use CRDTs
-
-CRDT can only be use when your business logic allows to represent document changes via static json operators.
-If you can have cases where user interaction is required to correctly merge conflicting document states, you cannot use CRDTs for that.
-
-Also when CRDTs are used, it is no longer allowed to do non-CRDT writes to the document properties.
-
-## CRDT Alternative
-
-While the CRDT plugin can automatically merge concurrent document updates, it is not the only way to resolve conflicts in RxDB.
-An alternative approach to CRDT is to use RxDB's built-in [conflict handling system](./transactions-conflicts-revisions.md).
-
-> Why use conflict handlers instead of CRDT?
-
-Conflict handlers offer a **simpler and more flexible** way to manage data conflicts. Instead of encoding changes as CRDT operations, you define how RxDB should decide which document version "wins" with plain JavaScript code. This approach is easier to reason about because it works directly with your domain logic. For example, you can compare timestamps, prioritize certain fields, or even involve user interaction to resolve conflicts.
-
-Conflict handlers are:
-
-* **Easier to understand**: you work with plain document states instead of CRDT operations.
-* **Fully customizable**: you can define any merge strategy, from simple last-write-wins to complex rule-based logic.
-* **Compatible with all data types**: unlike CRDTs, which are best suited for numeric or set-based updates.
-* **Transparent**: you always know which state is being written and why.
-
-### Downsides of CRDTs
-
-CRDTs are powerful for automatic conflict-free merging, but they also come with trade-offs:
-
-* **Higher conceptual complexity**: CRDTs require understanding of operation semantics, version vectors, and merge determinism.
-* **Limited flexibility**: you can only express changes that fit the supported JSON-style update operators.
-* **Difficult debugging**: when merges don't behave as expected, it can be hard to trace the sequence of CRDT operations that led to a state.
-* **Overhead for simple cases**: if your data rarely conflicts or needs human oversight, using CRDTs can add unnecessary complexity.
-
-
-### When to choose conflict handlers
-
-Use conflict handlers as CRDT alternative if:
-* You want full control over merge logic.
-* Your data model includes contextual or user-specific decisions.
-* You prefer a straightforward, rule-based resolution system over automatic merges.
-
-Use CRDTs if:
-* Your app performs frequent offline writes that can be merged deterministically.
-* Your data can be represented as additive, numeric, or array-based updates.
-* You want minimal manual intervention during replication.
-
-Both methods are first-class citizens in RxDB. CRDTs focus on **automatic, deterministic merging**, while conflict handlers emphasize **clarity, flexibility, and control**.
-
-### Example: merging different fields with conflict handlers instead of CRDT
-
-For example, imagine two users edit different fields of the same document at the same time. One updates a `name`, the other updates a `score`. A custom conflict handler can merge both changes so no data is lost:
-
-```ts
-const mergeFieldsHandler = {
- isEqual: (a, b) => JSON.stringify(a) === JSON.stringify(b),
- resolve: (input) => {
- return {
- ...input.realMasterState,
- name: input.newDocumentState.name ?? input.realMasterState.name,
- score: Math.max(input.newDocumentState.score, input.realMasterState.score)
- };
- }
-};
-```
-
-In this example, if the two versions change different properties, the final merged document includes both updates. This kind of logic is often easier to reason about than designing equivalent CRDT operations.
-
-
diff --git a/docs/data-migration.html b/docs/data-migration.html
deleted file mode 100644
index fbf852635f3..00000000000
--- a/docs/data-migration.html
+++ /dev/null
@@ -1,40 +0,0 @@
-
-
-
-
-
-Data Migration | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Thank you for submitting the form. You will directly get a confirmation email. Please check your spam folder!. In the next 24 hours you will get a full answer via email.
The dev-mode plugin adds many checks and validations to RxDB.
-This ensures that you use the RxDB API properly and so the dev-mode plugin should always be used when
-using RxDB in development mode.
-
-
Adds readable error messages.
-
Ensures that readonly JavaScript objects are not accidentally mutated.
-
Adds validation check for validity of schemas, queries, ORM methods and document fields.
-
-
Notice that the dev-mode plugin does not perform schema checks against the data see schema validation for that.
-
-
-
-
warning
The dev-mode plugin will increase your build size and decrease the performance. It must always be used in development. You should never use it in production.
module.exports = {
- entry: './src/index.ts',
- /* ... */
- plugins: [
- // set a global variable that can be accessed during runtime
- new webpack.DefinePlugin({ MODE: JSON.stringify("production") })
- ]
- /* ... */
-};
When the dev-mode is enabled, it will print a console.warn() message to the console so that you do not accidentally use the dev-mode in production. To disable this warning you can call the disableWarnings() function.
-
import { disableWarnings } from 'rxdb/plugins/dev-mode';
-disableWarnings();
When used in localhost and in the browser, the dev-mode plugin can add a tracking iframe to the DOM. This is used to track the effectiveness of marketing efforts of RxDB.
-If you have premium access and want to disable this iframe, you can call setPremiumFlag() before creating the database.
-
import { setPremiumFlag } from 'rxdb-premium/plugins/shared';
-setPremiumFlag();
-
-
\ No newline at end of file
diff --git a/docs/dev-mode.md b/docs/dev-mode.md
deleted file mode 100644
index 901a12333e6..00000000000
--- a/docs/dev-mode.md
+++ /dev/null
@@ -1,116 +0,0 @@
-# Development Mode
-
-> Enable checks & validations with RxDB Dev Mode. Ensure proper API use, readable errors, and schema validation during development. Avoid in production.
-
-import {Steps} from '@site/src/components/steps';
-
-# Dev Mode
-
-The dev-mode plugin adds many checks and validations to RxDB.
-This ensures that you use the RxDB API properly and so the dev-mode plugin should always be used when
-using RxDB in development mode.
-
-- Adds readable error messages.
-- Ensures that `readonly` JavaScript objects are not accidentally mutated.
-- Adds validation check for validity of schemas, queries, [ORM](./orm.md) methods and document fields.
- - Notice that the `dev-mode` plugin does not perform schema checks against the data see [schema validation](./schema-validation.md) for that.
-
-:::warning
-The dev-mode plugin will increase your build size and decrease the performance. It must **always** be used in development. You should **never** use it in production.
-:::
-
-
-
-### Import the dev-mode Plugin
-```javascript
-import { RxDBDevModePlugin } from 'rxdb/plugins/dev-mode';
-import { addRxPlugin } from 'rxdb/plugins/core';
-```
-
-## Add the Plugin to RxDB
-
-```javascript
-addRxPlugin(RxDBDevModePlugin);
-```
-
-
-## Usage with Node.js
-
-```ts
-async function createDb() {
- if (process.env.NODE_ENV !== "production") {
- await import('rxdb/plugins/dev-mode').then(
- module => addRxPlugin(module.RxDBDevModePlugin)
- );
- }
- const db = createRxDatabase( /* ... */ );
-}
-```
-
-## Usage with Angular
-
-```ts
-import { isDevMode } from '@angular/core';
-
-async function createDb() {
- if (isDevMode()){
- await import('rxdb/plugins/dev-mode').then(
- module => addRxPlugin(module.RxDBDevModePlugin)
- );
- }
-
- const db = createRxDatabase( /* ... */ );
- // ...
-}
-```
-
-## Usage with webpack
-
-In the `webpack.config.js`:
-
-```ts
-module.exports = {
- entry: './src/index.ts',
- /* ... */
- plugins: [
- // set a global variable that can be accessed during runtime
- new webpack.DefinePlugin({ MODE: JSON.stringify("production") })
- ]
- /* ... */
-};
-```
-
-In your source code:
-
-```ts
-declare var MODE: 'production' | 'development';
-
-async function createDb() {
- if (MODE === 'development') {
- await import('rxdb/plugins/dev-mode').then(
- module => addRxPlugin(module.RxDBDevModePlugin)
- );
- }
- const db = createRxDatabase( /* ... */ );
- // ...
-}
-```
-
-## Disable the dev-mode warning
-
-When the dev-mode is enabled, it will print a `console.warn()` message to the console so that you do not accidentally use the dev-mode in production. To disable this warning you can call the `disableWarnings()` function.
-
-```ts
-import { disableWarnings } from 'rxdb/plugins/dev-mode';
-disableWarnings();
-```
-
-## Disable the tracking iframe
-
-When used in localhost and in the browser, the dev-mode plugin can add a tracking iframe to the DOM. This is used to track the effectiveness of marketing efforts of RxDB.
-If you have [premium access](/premium/) and want to disable this iframe, you can call `setPremiumFlag()` before creating the database.
-
-```js
-import { setPremiumFlag } from 'rxdb-premium/plugins/shared';
-setPremiumFlag();
-```
diff --git a/docs/downsides-of-offline-first.html b/docs/downsides-of-offline-first.html
deleted file mode 100644
index dea455e0d0f..00000000000
--- a/docs/downsides-of-offline-first.html
+++ /dev/null
@@ -1,133 +0,0 @@
-
-
-
-
-
-Downsides of Local First / Offline First | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
So you have read all these things about how the local-first (aka offline-first) paradigm makes it easy to create realtime web applications that even work when the user has no internet connection.
-But there is no free lunch. The offline first paradigm is not the perfect approach for all kinds of apps.
-
You fully understood a technology when you know when not to use it
In the following I will point out the limitations you need to know before you decide to use RxDB or even before you decide to create an offline first application.
Making data available offline means it must be loaded from the server and then stored at the clients device.
-You need to load the full dataset on the first pageload and on every ongoing load you need to download the new changes to that set.
-While in theory you could download in infinite amount of data, in practice you have a limit how long the user can wait before having an up-to-date state.
-You want to display chat messages like Whatsapp? No problem. Syncing all the messages a user could write, can be done with a few HTTP requests.
-Want to make a tool that displays server logs? Good luck downloading terabytes of data to the client just to search for a single string. This will not work.
-
Besides the network usage, there is another limit for the size of your data.
-In browsers you have some options for storage: Cookies, Localstorage, WebSQL and IndexedDB.
-
Because Cookies and Localstorage is slow and WebSQL is deprecated, you will use IndexedDB.
-The limit of how much data you can store in IndexedDB depends on two factors: Which browser is used and how much disc space is left on the device. You can assume that at least a couple of hundred megabytes are available at least. The maximum is potentially hundreds of gigabytes or more, but the browser implementations vary. Chrome allows the browser to use up to 60% of the total disc space per origin. Firefox allows up to 50%. But on safari you can only store up to 1GB and the browser will prompt the user on each additional 200MB increment.
-
The problem is, that you have no chance to really predict how much data can be stored. So you have to make assumptions that are hopefully true for all of your users. Also, you have no way to increase that space like you would add another hard drive to your backend server. Once your clients reach the limit, you likely have to rewrite big parts of your applications.
-
UPDATE (2023): Newer versions of browsers can store way more data, for example firefox stores up to 10% of the total disk size. For an overview about how much can be stored, read this guide
When data is stored inside IndexedDB or one of the other storage APIs, it cannot be trusted to stay there forever.
-Apple for example deletes the data when the website was not used in the last 7 days. The other browsers also have logic to clean up the stored data, and in the end the user itself could be the one that deletes the browsers local data.
-
The most common way to handle this, is to replicate everything from the backend to the client again.
-Of course, this does not work for state that is not stored at the backend. So if you assume you can store the users private data inside the browser in a secure way, you are wrong.
Imagine two of your users modify the same JSON document, while both are offline. After they go online again, their clients replicate the modified document to the server. Now you have two conflicting versions of the same document, and you need a way to determine how the correct new version of that document should look like. This process is called conflict resolution.
-
-
-
-
The default in many offline first databases is a deterministic conflict resolution strategy. Both conflicting versions of the document are kept in the storage and when you query for the document, a winner is determined by comparing the hashes of the document and only the winning document is returned. Because the comparison is deterministic, all clients and servers will always pick the same winner. This kind of resolution only works when it is not that important that one of the document changes gets dropped. Because conflicts are rare, this might be a viable solution for some use cases.
-
-
-
A better resolution can be applied by listening to the changestream of the database. The changestream emits an event each time a write happens to the database. The event contains information about the written document and also a flag if there is a conflicting version. For each event with a conflict, you fetch all versions for that document and create a new document that contains the winning state. With that you can implement pretty complex conflict resolution strategies, but you have to manually code it for each collection of documents.
-
-
-
Instead of the solving conflict once at every client, it can be made a bit easier by solely relying on the backend. This can be done when all of your clients replicate with the same single backend server. With RxDB's Graphql Replication each client side change is sent to the server where conflicts can be resolved and the winning document can be sent back to the clients.
-
-
-
Sometimes there is no way to solve a conflict with code. If your users edit text based documents or images, often only the users themselves can decide how the winning revision has to look. For these cases, you have to implement complex UI parts where the users can inspect the conflict and manage its resolution.
-
-
-
You do not have to handle conflicts if they cannot happen in the first place. You can achieve that by designing a write only database where existing documents cannot be touched. Instead of storing the current state in a single document, you store all the events that lead to the current state. Sometimes called the "everything is a delta" strategy, others would call it Event Sourcing. Like an accountant that does not need an eraser, you append all changes and afterwards aggregate the current state at the client.
-
-
-
// create one new document for each change to the users balance
-{id: new Date().toJSON(), change: 100} // balance increased by $100
-{id: new Date().toJSON(), change: -50} // balance decreased by $50
-{id: new Date().toJSON(), change: 200} // balance increased by $200
-
-
There is this thing called conflict-free replicated data type, short CRDT. Using a CRDT library like automerge will magically solve all of your conflict problems. Until you use it in production where you observe that implementing CRDTs has basically the same complexity as implementing conflict resolution strategies.
So you replicate stuff between the clients and your backend. Each change on one side directly changes the state of the other sides in realtime. But this "realtime" is not the same as in realtime computing. In the offline first world, the word realtime was introduced by firebase and is more meant as a marketing slogan than a technical description.
-There is an internet between your backend and your clients and everything you do on one machine takes at least once the latency until it can affect anything on the other machines. You have to keep this in mind when you develop anything where the timing is important, like a multiplayer game or a stock trading app.
-
Even when you run a query against the local database, there is no "real" realtime.
-Client side databases run on JavaScript and JavaScript runs on a single CPU that might be partially blocked because the user is running some background processes. So you can never guarantee a response deadline which violates the time constraint of realtime computing.
An offline first app does not have a single source of truth. There is a source on the backend, one on the own client, and also each other client has its own definition of truth. At the moment your user starts the app, the local state is hopefully already replicated with the backend and all other clients. But this does not have to be true, the states can have converged and you have to plan for that.
-The user could update a document based on wrong assumptions because it was not fully replicated at that point in time because the user is offline. A good way to handle this problem is to show the replication state in the UI and tell the user when the replication is running, stopped, paused or finished.
-
And some data is just too important to be "eventual consistent". Create a wire transfer in your online banking app while you are offline. You keep the smartphone laying at your night desk and when you use again in the next morning, it goes online and replicates the transaction. No thank you, do not use offline first for these kinds of things, or at least you have to display the replication state of each document in the UI.
Every offline first app that goes beyond a prototype, does likely not have the same global state for all of its users. Each user has a different set of documents that are allowed to be replicated or seen by the user. So you need some kind of authentication and permission handling to divide the documents.
-The easy way is to just create one database for each user on the backend and only allow to replicate that one. Creating that many databases is not really a problem with for example CouchDB, and it makes permission handling easy.
-But as soon as you want to query all of your data in the backend, it will bite back. Your data is not at a single place, it is distributed between all of the user specific databases. This becomes even more complex as soon as you store information together with the documents that is not allowed to be seen by outsiders. You not only have to decide which documents to replicate, but also which fields of them.
-
So what you really want is a single datastore in the backend and then replicate only the allowed document parts to each of the users.
-This always requires you to implement your custom replication endpoint like what you do with RxDBs GraphQL Replication.
While developing your app, sooner or later you want to change the data layout. You want to add some new fields to documents or change the format of them. So you have to update the database schema and also migrate the stored documents.
-With 'normal' applications, this is already hard enough and often dangerous. You wait until midnight, stop the webserver, make a database backup, deploy the new schema and then you hope that nothing goes wrong while it updates that many documents.
-
With offline first applications, it is even more fun. You do not only have to migrate your local backend database, you also have to provide a migration strategy for all of these client databases out there. And you also cannot migrate everything at the same time. The clients can only migrate when the new code was updated from the appstore or the user visited your website again. This could be today or in a few weeks.
When you create a web based offline first app, you cannot store data directly on the users filesystem. In fact there are many layers between your JavaScript code and the filesystem of the operation system. Let's say you insert a document in RxDB:
-
-
You call the RxDB API to validate and store the data
-
RxDB calls the underlying RxStorage, for example PouchDB.
-
Pouchdb calls its underlying storage adapter
-
The storage adapter calls IndexedDB
-
The browser runs its internal handling of the IndexedDB API
-
In most browsers IndexedDB is implemented on top of SQLite
-
SQLite calls the OS to store the data in the filesystem
-
-
All these layers are abstractions. They are not build for exactly that one use case, so you lose some performance to tunnel the data through the layer itself, and you also lose some performance because the abstraction does not exactly provide the functions that are needed by the layer above and it will overfetch data.
-
You will not find a benchmark comparison between how many transactions per second you can run on the browser compared to a server based database. Because it makes no sense to compare them. Browsers are slower, JavaScript is slower.
-
-
Is it fast enough?
-
-
What you really care about is "Is it fast enough?". For most use cases, the answer is yes. Offline first apps are UI based and you do not need to process a million transactions per second, because your user will not click the save button that often. "Fast enough" means that the data is processed in under 16 milliseconds so that you can render the updated UI in the next frame. This is of course not true for all use cases, so you better think about the performance limit before starting with the implementation.
You have a PostgreSQL database and run a query over 1000ths of rows, which takes 200 milliseconds. Works great, so you now want to do something similar at the client device in your offline first app. How long does it take? You cannot know because people have different devices, and even equal devices have different things running in the background that slow the CPUs. So you cannot predict performance and as described above, you cannot even predict the storage limit. So if your app does heavy data analytics, you might better run everything on the backend and just send the results to the client.
I started creating RxDB many years ago and while still maintaining it, I often worked with all these other offline first databases out there. RxDB and all of these other ones, are based on some kind of document databases similar to NoSQL. Often people want to have a relational database like the SQL one they use at the backend.
-
So why are there no real relations in offline first databases? I could answer with these arguments like how JavaScript works better with document based data, how performance is better when having no joins or even how NoSQL queries are more composable. But the truth is, everything is NoSQL because it makes replication easy. An SQL query that mutates data in different tables based on some selects and joins, cannot be partially replicated without breaking the client. You have foreign keys that point to other rows and if these rows are not replicated yet, you have a problem. To implement a robust Sync Engine for relational data, you need some stuff like a reliable atomic clock and you have to block queries over multiple tables while a transaction replicated. Watch this guy implementing offline first replication on top of SQLite or read this discussion about implementing offline first in supabase.
-
So creating replication for an SQL offline first database is way more work than just adding some network protocols on top of PostgreSQL. It might not even be possible for clients that have no reliable clock.
-
-
\ No newline at end of file
diff --git a/docs/downsides-of-offline-first.md b/docs/downsides-of-offline-first.md
deleted file mode 100644
index 80fe94f1518..00000000000
--- a/docs/downsides-of-offline-first.md
+++ /dev/null
@@ -1,136 +0,0 @@
-# Downsides of Local First / Offline First
-
-> Discover the hidden pitfalls of local-first apps. Learn about storage limits, conflicts, and real-time illusions before building your offline solution.
-
-import {QuoteBlock} from '@site/src/components/quoteblock';
-
-# Downsides of Local First / Offline First
-
-So you have read [all these things](./offline-first.md) about how the [local-first](./articles/local-first-future.md) (aka offline-first) paradigm makes it easy to create realtime web applications that even work when the user has no internet connection.
-But there is no free lunch. The offline first paradigm is not the perfect approach for all kinds of apps.
-
-You fully understood a technology when you know when not to use it
-
-In the following I will point out the limitations you need to know before you decide to use [RxDB](https://github.com/pubkey/rxdb) or even before you decide to create an offline first application.
-
-## It only works with small datasets
-
-Making data available offline means it must be loaded from the server and then stored at the clients device.
-You need to load the full dataset on the first pageload and on every ongoing load you need to download the new changes to that set.
-While in theory you could download in infinite amount of data, in practice you have a limit how long the user can wait before having an up-to-date state.
-You want to display chat messages like Whatsapp? No problem. Syncing all the messages a user could write, can be done with a few HTTP requests.
-Want to make a tool that displays server logs? Good luck downloading terabytes of data to the client just to search for a single string. This will not work.
-
-Besides the network usage, there is another limit for the size of your data.
-In browsers you have some options for storage: Cookies, [Localstorage](./articles/localstorage.md), [WebSQL](./articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm.md#what-was-websql) and [IndexedDB](./rx-storage-indexeddb.md).
-
-Because Cookies and [Localstorage](./articles/localstorage.md) is slow and WebSQL is deprecated, you will use IndexedDB.
-The [limit of how much data you can store in IndexedDB](./articles/indexeddb-max-storage-limit.md) depends on two factors: Which browser is used and how much disc space is left on the device. You can assume that at least a couple of [hundred megabytes](https://web.dev/storage-for-the-web/) are available at least. The maximum is potentially hundreds of gigabytes or more, but the browser implementations vary. Chrome allows the browser to use up to 60% of the total disc space per origin. Firefox allows up to 50%. But on safari you can only store up to 1GB and the browser will prompt the user on each additional 200MB increment.
-
-The problem is, that you have no chance to really predict how much data can be stored. So you have to make assumptions that are hopefully true for all of your users. Also, you have no way to increase that space like you would add another hard drive to your backend server. Once your clients reach the limit, you likely have to rewrite big parts of your applications.
-
-UPDATE (2023): Newer versions of browsers can store way more data, for example firefox stores up to 10% of the total disk size. For an overview about how much can be stored, read [this guide](https://developer.mozilla.org/en-US/docs/Web/API/Storage_API/Storage_quotas_and_eviction_criteria)
-
-## Browser storage is not really persistent
-
-When data is stored inside IndexedDB or one of the other storage APIs, it cannot be trusted to stay there forever.
-Apple for example deletes the data when the website was not used in the [last 7 days](https://webkit.org/blog/10218/full-third-party-cookie-blocking-and-more/). The other browsers also have logic to clean up the stored data, and in the end the user itself could be the one that deletes the browsers local data.
-
-The most common way to handle this, is to replicate everything from the backend to the client again.
-Of course, this does not work for state that is not stored at the backend. So if you assume you can store the users private data inside the browser in a secure way, you are [wrong](https://medium.com/universal-ethereum/out-of-gas-were-shutting-down-unilogin-3b544838df1a#4f60).
-
-
-
-## There can be conflicts
-
-Imagine two of your users modify the same JSON document, while both are offline. After they go online again, their clients replicate the modified document to the server. Now you have two conflicting versions of the same document, and you need a way to determine how the correct new version of that document should look like. This process is called **conflict resolution**.
-
-
-
- 1. The default in [many](https://docs.couchdb.org/en/stable/replication/conflicts.html) offline first databases is a deterministic conflict resolution strategy. Both conflicting versions of the document are kept in the storage and when you query for the document, a winner is determined by comparing the hashes of the document and only the winning document is returned. Because the comparison is deterministic, all clients and servers will always pick the same winner. This kind of resolution only works when it is not that important that one of the document changes gets dropped. Because conflicts are rare, this might be a viable solution for some use cases.
-
- 2. A better resolution can be applied by listening to the changestream of the database. The changestream emits an event each time a write happens to the database. The event contains information about the written document and also a flag if there is a conflicting version. For each event with a conflict, you fetch all versions for that document and create a new document that contains the winning state. With that you can implement pretty complex conflict resolution strategies, but you have to manually code it for each collection of documents.
-
- 3. Instead of the solving conflict once at every client, it can be made a bit easier by solely relying on the backend. This can be done when all of your clients replicate with the same single backend server. With [RxDB's Graphql Replication](./replication-graphql.md) each client side change is sent to the server where conflicts can be resolved and the winning document can be sent back to the clients.
-
- 4. Sometimes there is no way to solve a conflict with code. If your users edit text based documents or images, often only the users themselves can decide how the winning revision has to look. For these cases, you have to implement complex UI parts where the users can inspect the conflict and manage its resolution.
-
- 5. You do not have to handle conflicts if they cannot happen in the first place. You can achieve that by designing a write only database where existing documents cannot be touched. Instead of storing the current state in a single document, you store all the events that lead to the current state. Sometimes called the ["everything is a delta"](https://pouchdb.com/guides/conflicts.html#accountants-dont-use-erasers) strategy, others would call it [Event Sourcing](https://martinfowler.com/eaaDev/EventSourcing.html). Like an accountant that does not need an eraser, you append all changes and afterwards aggregate the current state at the client.
- ```ts
- // create one new document for each change to the users balance
- {id: new Date().toJSON(), change: 100} // balance increased by $100
- {id: new Date().toJSON(), change: -50} // balance decreased by $50
- {id: new Date().toJSON(), change: 200} // balance increased by $200
- ```
-
- 6. There is this thing called **conflict-free replicated data type**, short **CRDT**. Using a CRDT library like [automerge](https://github.com/automerge/automerge) will magically solve all of your conflict problems. Until you use it in production where you observe that implementing CRDTs has basically the same complexity as implementing conflict resolution strategies.
-
-## Realtime is a lie
-
-So you replicate stuff between the clients and your backend. Each change on one side directly changes the state of the other sides in **realtime**. But this "realtime" is not the same as in [realtime computing](https://en.wikipedia.org/wiki/Real-time_computing). In the offline first world, the word realtime was introduced by firebase and is more meant as a marketing slogan than a technical description.
-There is an internet between your backend and your clients and everything you do on one machine takes at least once the latency until it can affect anything on the other machines. You have to keep this in mind when you develop anything where the timing is important, like a multiplayer game or a stock trading app.
-
-Even when you run a query against the local database, there is no "real" realtime.
-Client side databases run on JavaScript and JavaScript runs on a single CPU that might be partially blocked because the user is running some background processes. So you can never guarantee a response deadline which violates the time constraint of realtime computing.
-
-
-
-## Eventual consistency
-
-An offline first app does not have a single source of truth. There is a source on the backend, one on the own client, and also each other client has its own definition of truth. At the moment your user starts the app, the local state is hopefully already replicated with the backend and all other clients. But this does not have to be true, the states can have converged and you have to plan for that.
-The user could update a document based on wrong assumptions because it was not fully replicated at that point in time because the user is offline. A good way to handle this problem is to show the replication state in the UI and tell the user when the replication is running, stopped, paused or finished.
-
-And some data is just too important to be "eventual consistent". Create a wire transfer in your online banking app while you are offline. You keep the smartphone laying at your night desk and when you use again in the next morning, it goes online and replicates the transaction. No thank you, do not use offline first for these kinds of things, or at least you have to display the replication state of each document in the UI.
-
-
-
-## Permissions and authentication
-
-Every offline first app that goes beyond a prototype, does likely not have the same global state for all of its users. Each user has a different set of documents that are allowed to be replicated or seen by the user. So you need some kind of authentication and permission handling to divide the documents.
-The easy way is to just create one database for each user on the backend and only allow to replicate that one. Creating that many databases is not really a problem with for example CouchDB, and it makes permission handling easy.
-But as soon as you want to query all of your data in the backend, it will bite back. Your data is not at a single place, it is distributed between all of the user specific databases. This becomes even more complex as soon as you store information together with the documents that is not allowed to be seen by outsiders. You not only have to decide which documents to replicate, but also which fields of them.
-
-So what you really want is a single datastore in the backend and then replicate only the allowed document parts to each of the users.
-This always requires you to implement your custom replication endpoint like what you do with RxDBs [GraphQL Replication](./replication-graphql.md).
-
-## You have to migrate the client database
-
-While developing your app, sooner or later you want to change the data layout. You want to add some new fields to documents or change the format of them. So you have to update the database schema and also migrate the stored documents.
-With 'normal' applications, this is already hard enough and often dangerous. You wait until midnight, stop the webserver, make a database backup, deploy the new schema and then you hope that nothing goes wrong while it updates that many documents.
-
-With offline first applications, it is even more fun. You do not only have to migrate your local backend database, you also have to provide a [migration strategy](./migration-schema.md) for all of these client databases out there. And you also cannot migrate everything at the same time. The clients can only migrate when the new code was updated from the appstore or the user visited your website again. This could be today or in a few weeks.
-
-## Performance is not native
-
-When you create a web based offline first app, you cannot store data directly on the users filesystem. In fact there are many layers between your JavaScript code and the filesystem of the operation system. Let's say you insert a document in [RxDB](https://github.com/pubkey/rxdb):
- - You call the RxDB API to validate and store the data
- - RxDB calls the underlying RxStorage, for example PouchDB.
- - Pouchdb calls its underlying storage adapter
- - The storage adapter calls IndexedDB
- - The browser runs its internal handling of the IndexedDB API
- - In most browsers IndexedDB is implemented on [top of SQLite](https://hackaday.com/2021/08/24/sqlite-on-the-web-absurd-sql/)
- - SQLite calls the OS to store the data in the filesystem
-
-All these layers are abstractions. They are not build for exactly that one use case, so you lose some performance to tunnel the data through the layer itself, and you also lose some performance because the abstraction does not exactly provide the functions that are needed by the layer above and it will overfetch data.
-
-You will not find a benchmark comparison between how many transactions per second you can run on the browser compared to a server based database. Because it makes no sense to compare them. Browsers are slower, JavaScript is slower.
-
-> **Is it fast enough?**
-
-What you really care about is "Is it fast enough?". For most use cases, the answer is `yes`. Offline first apps are UI based and you do not need to process a million transactions per second, because your user will not click the save button that often. "Fast enough" means that the data is processed in under 16 milliseconds so that you can render the updated UI in the next frame. This is of course not true for all use cases, so you better think about the performance limit before starting with the implementation.
-
-## Nothing is predictable
-
-You have a PostgreSQL database and run a query over 1000ths of rows, which takes 200 milliseconds. Works great, so you now want to do something similar at the client device in your offline first app. How long does it take? You cannot know because people have different devices, and even equal devices have different things running in the background that slow the CPUs. So you cannot predict performance and as described above, you cannot even predict the storage limit. So if your app does heavy data analytics, you might better run everything on the backend and just send the results to the client.
-
-## There is no relational data
-
-I started creating [RxDB](https://github.com/pubkey/rxdb) many years ago and while still maintaining it, I often worked with all these other offline first databases out there. RxDB and all of these other ones, are based on some kind of document databases similar to NoSQL. Often people want to have a relational database like the SQL one they use at the backend.
-
-So why are there no real relations in offline first databases? I could answer with these arguments like how JavaScript works better with document based data, how performance is better when having no joins or even how NoSQL queries are more composable. But the truth is, everything is NoSQL because it makes replication easy. An SQL query that mutates data in different tables based on some selects and joins, cannot be partially replicated without breaking the client. You have foreign keys that point to other rows and if these rows are not replicated yet, you have a problem. To implement a robust [Sync Engine](./replication.md) for relational data, you need some stuff like a [reliable atomic clock](https://www.theverge.com/2012/11/26/3692392/google-spanner-atomic-clocks-GPS) and you have to block queries over multiple tables while a transaction replicated. [Watch this guy](https://youtu.be/iEFcmfmdh2w?t=607) implementing offline first replication on top of SQLite or read this [discussion](https://github.com/supabase/supabase/discussions/357) about implementing [offline first in supabase](./replication-supabase.md).
-
-So creating replication for an SQL offline first database is way more work than just adding some network protocols on top of PostgreSQL. It might not even be possible for clients that have no reliable clock.
diff --git a/docs/electron-database.html b/docs/electron-database.html
deleted file mode 100644
index 658ccbe1724..00000000000
--- a/docs/electron-database.html
+++ /dev/null
@@ -1,138 +0,0 @@
-
-
-
-
-
-Electron Database - Storage adapters for SQLite, Filesystem and In-Memory | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Electron Database - RxDB with different storage for SQLite, Filesystem and In-Memory
-
Electron (aka Electron.js) is a framework developed by github that is designed to create desktop applications with the Web technology stack consisting of HTML, CSS and JavaScript.
-Because the desktop application runs on the client's device, it is suitable to use a database that can store and query data locally. This allows you to create so-called local first apps that store data locally and even work when the user has no internet connection.
-While there are many options to store data in Electron, for complex realtime apps using RxDB is recommended because it is a database made for UI-based client-side application, not a server-side database.
An Electron runtime can be divided into two parts:
-
-
The "main" process which is a Node.js JavaScript process that runs without a UI in the background.
-
One or multiple "renderer" processes that consist of a Chrome browser engine and runs the user interface. Each renderer process represents one "browser tab".
-
-
This is important to understand because choosing the right database depends on your use case and on which of these JavaScript runtimes you want to keep the data.
Because Electron runs on a desktop computer, you might think that it should be possible to use a common "server" database like MySQL, PostgreSQL or MongoDB. In theory, you could ship the correct database server binaries with your electron application and start a process on the client's device that exposes a port to the database that can be consumed by Electron. In practice, this is not a viable way to go because shipping the correct binaries and opening ports is way to complicated and troublesome. Instead you should use a database that can be bundled and run inside of Electron, either in the main or in the renderer process.
-
Localstorage / IndexedDB / WebSQL as alternatives to SQLite in Electron
-
Because Electron uses a common Chrome web browser in the renderer process, you can access the common Web Storage APIs like Localstorage, IndexedDB and WebSQL. This is easy to set up and storing small sets of data can be achieved in a short span of time.
-
But as soon as your application goes beyond a simple todo-app, there are multiple obstacles that come in your way. One thing is the bad multi-tab support. If you have more than one renderer process, it becomes hard to manage database writes between them. Each browser tab could modify the database state while the others do not know of the changes and keep an outdated UI.
-
Another thing is performance. IndexedDB is slow, mostly because it has to go through layers of browser security and abstractions. Storing and querying a lot of data might become your performance bottleneck. Localstorage and WebSQL are even slower, by the way. Using these Web Storage APIs is generally only recommended when you know for sure that there will be always only one rendering process and performance is not that relevant. The main reason for that is the security- and abstraction layers that write- and read operations have to go through when using the browsers IndexedDB API. So instead of using IndexedDB in Electron in the renderer process, you should use something that runs in the "main" process in Node.js like the Filesystem RxStorage or the In Memory RxStorage.
RxDB is a NoSQL database for JavaScript applications. It has many features that come in handy when RxDB is used with UI based applications like your Electron app. For example, it is able to subscribe to query results of single fields of documents. It has encryption and compression features and most important it has a battle tested Sync Engine that can be used to do a realtime sync with your backend.
-
Because of the flexible storage layer of RxDB, there are many options on how to use it with Electron:
-
-
The memory RxStorage that stores the data inside of the JavaScript memory without persistence
It is recommended to use the SQLite RxStorage because it has the best performance and is the easiest to set up. However it is part of the 👑 Premium Plugins which must be purchased, so to try out RxDB with Electron, you might want to use one of the other options. To start with RxDB, I would recommend using the LocalStorage RxStorage in the renderer processes. Because RxDB is able to broadcast the database state between browser tabs, having multiple renderer processes is not a problem like it would be when you use plain IndexedDB without RxDB.
-In production, you would always run the RxStorage in the main process with the RxStorage Electron IpcRenderer & IpcMain plugins.
-
First, you have to install all dependencies via npm install rxdb rxjs.
-Then you can assemble the RxStorage and create a database with it:
For better performance in the renderer tab, you can later switch to the IndexedDB RxStorage. But in production, it is recommended to use the SQLite RxStorage or the Filesystem RxStorage in the main process so that database operations do not block the rendering of the UI.
-To learn more about using RxDB with Electron, you might want to check out this example project.
SQLite is a SQL based relational database written in the C programming language that was crafted to be embedded inside of applications and stores data locally. Operations are written in the SQL query language similar to the PostgreSQL syntax.
-
Using SQLite in Electron is not possible in the renderer process, only in the main process. To communicate data operations between your main and your renderer processes, you have to use either @electron/remote (not recommended) or the ipcRenderer (recommended). So you start up SQLite in your main process and whenever you want to read or write data, you send the SQL queries to the main process and retrieve the result back as JSON data.
-
To install SQLite, use the SQLite3 package which is a native Node.js module. You also need the @electron/rebuild package to rebuild the SQLite module against the currently installed Electron version.
-
Install them with npm install sqlite3 @electron/rebuild.
-Then you can rebuild SQLite with ./node_modules/.bin/electron-rebuild -f -w sqlite3
-In the JavaScript code of your main process you can now create a database:
-
const sqlite3 = require('sqlite3');
-const db = new sqlite3.Database('/path/to/database/file.db');
-// create a table and insert a row
-db.serialize(() => {
- db.run("CREATE TABLE Users (name, lastName)");
- db.run("INSERT INTO Users VALUES (?, ?)", ['foo', 'bar']);
-});
-
Also you have to set up the ipcRenderer so that message from the renderer process are handled:
In your renderer process, you can now call the ipcHandler and fetch data from SQLite:
-
const rows = await ipcRenderer.invoke('db-query', "SELECT * FROM Users");
-
The downside of SQLite (or SQL in general) is that it is lacking many features that are handful when using a database together with UI based applications. It is not possible to observe queries or document fields and there is no replication method to sync data with a server. This makes SQLite a good solution when you just want to store data on the client or process expensive SQL queries on the server, but it is not suitable for more complex operations like two-way replication, encryption, compression and so on. Also developer helpers like TypeScript type safety are totally out of reach.
-
-
\ No newline at end of file
diff --git a/docs/electron-database.md b/docs/electron-database.md
deleted file mode 100644
index b93643a5d64..00000000000
--- a/docs/electron-database.md
+++ /dev/null
@@ -1,139 +0,0 @@
-# Electron Database - Storage adapters for SQLite, Filesystem and In-Memory
-
-> Harness the database power of SQLite, Filesystem, and in-memory storage in Electron with RxDB. Build fast, offline-first apps that sync in real time.
-
-# Electron Database - RxDB with different storage for SQLite, Filesystem and In-Memory
-
-[Electron](https://www.electronjs.org/) (aka Electron.js) is a framework developed by github that is designed to create desktop applications with the Web technology stack consisting of HTML, CSS and JavaScript.
-Because the desktop application runs on the client's device, it is suitable to use a database that can store and query data locally. This allows you to create so-called [local first](./offline-first.md) apps that store data locally and even work when the user has no internet connection.
-While there are many options to store data in Electron, for complex realtime apps using [RxDB](https://rxdb.info/) is recommended because it is a database made for UI-based client-side application, not a server-side database.
-
-
-
-## Databases for Electron
-
-An Electron runtime can be divided into two parts:
-- The "main" process which is a Node.js JavaScript process that runs without a UI in the background.
-- One or multiple "renderer" processes that consist of a Chrome browser engine and runs the user interface. Each renderer process represents one "browser tab".
-
-This is important to understand because choosing the right database depends on your use case and on which of these JavaScript runtimes you want to keep the data.
-
-### Server Side Databases in Electron.js
-
-Because Electron runs on a desktop computer, you might think that it should be possible to use a common "server" database like MySQL, PostgreSQL or MongoDB. In theory, you could ship the correct database server binaries with your electron application and start a process on the client's device that exposes a port to the database that can be consumed by Electron. In practice, this is not a viable way to go because shipping the correct binaries and opening ports is way to complicated and troublesome. Instead you should use a database that can be bundled and run **inside** of Electron, either in the *main* or in the *renderer* process.
-
-### Localstorage / IndexedDB / WebSQL as alternatives to SQLite in Electron
-
-Because Electron uses a common Chrome web browser in the renderer process, you can access the common Web Storage APIs like [Localstorage](./articles/localstorage.md), IndexedDB and WebSQL. This is easy to set up and storing small sets of data can be achieved in a short span of time.
-
-But as soon as your application goes beyond a simple todo-app, there are multiple obstacles that come in your way. One thing is the bad multi-tab support. If you have more than one *renderer* process, it becomes hard to manage database writes between them. Each *browser tab* could modify the database state while the others do not know of the changes and keep an outdated UI.
-
-Another thing is performance. [IndexedDB is slow](./slow-indexeddb.md), mostly because it has to go through layers of browser security and abstractions. Storing and querying a lot of data might become your performance bottleneck. Localstorage and WebSQL are even slower, by the way. Using these Web Storage APIs is generally only recommended when you know for sure that there will be always only **one rendering process** and performance is not that relevant. The main reason for that is the security- and abstraction layers that write- and read operations have to go through when using the browsers IndexedDB API. So instead of using IndexedDB in Electron in the renderer process, you should use something that runs in the "main" process in Node.js like the [Filesystem RxStorage](./rx-storage-filesystem-node.md) or the [In Memory RxStorage](./rx-storage-memory.md).
-
-### RxDB
-
-
-
-[RxDB](https://rxdb.info/) is a NoSQL database for JavaScript applications. It has many features that come in handy when RxDB is used with UI based applications like your Electron app. For example, it is able to subscribe to query results of single fields of documents. It has encryption and compression features and most important it has a battle tested [Sync Engine](./replication.md) that can be used to do a realtime sync with your backend.
-
-Because of the [flexible storage](https://rxdb.info/rx-storage.html) layer of RxDB, there are many options on how to use it with Electron:
-
-- The [memory RxStorage](./rx-storage-memory.md) that stores the data inside of the JavaScript memory without persistence
-- The [SQLite RxStorage](./rx-storage-sqlite.md)
-- The [IndexedDB RxStorage](./rx-storage-indexeddb.md)
-- The [LocalStorage RxStorage](./rx-storage-localstorage.md)
-- The [Dexie.js RxStorage](./rx-storage-dexie.md)
-- The [Node.js Filesystem](./rx-storage-filesystem-node.md)
-
-It is recommended to use the [SQLite RxStorage](./rx-storage-sqlite.md) because it has the best performance and is the easiest to set up. However it is part of the [👑 Premium Plugins](/premium/) which must be purchased, so to try out RxDB with Electron, you might want to use one of the other options. To start with RxDB, I would recommend using the LocalStorage RxStorage in the renderer processes. Because RxDB is able to broadcast the database state between browser tabs, having multiple renderer processes is not a problem like it would be when you use plain IndexedDB without RxDB.
-In production, you would always run the RxStorage in the main process with the [RxStorage Electron IpcRenderer & IpcMain](./electron.md#rxstorage-electron-ipcrenderer--ipcmain) plugins.
-
-First, you have to install all dependencies via `npm install rxdb rxjs`.
-Then you can assemble the RxStorage and create a database with it:
-
-```ts
-import { createRxDatabase } from 'rxdb';
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-
-// create database
-const db = await createRxDatabase({
- name: 'exampledb',
- storage: getRxStorageLocalstorage()
-});
-
-// create collections
-const collections = await myRxDatabase.addCollections({
- humans: {
- /* ... */
- }
-});
-
-// insert document
-await collections.humans.insert({id: 'foo', name: 'bar'});
-
-// run a query
-const result = await collections.humans.find({
- selector: {
- name: 'bar'
- }
-}).exec();
-
-// observe a query
-await collections.humans.find({
- selector: {
- name: 'bar'
- }
-}).$.subscribe(result => {/* ... */});
-```
-
-For better performance in the renderer tab, you can later switch to the [IndexedDB RxStorage](./rx-storage-indexeddb.md). But in production, it is recommended to use the [SQLite RxStorage](./rx-storage-sqlite.md) or the [Filesystem RxStorage](./rx-storage-filesystem-node.md) in the main process so that database operations do not block the rendering of the UI.
-To learn more about using RxDB with Electron, you might want to check out [this example project](https://github.com/pubkey/rxdb/tree/master/examples/electron).
-
-### SQLite in Electron.js without RxDB
-
-SQLite is a SQL based relational database written in the C programming language that was crafted to be embedded inside of applications and stores data locally. Operations are written in the SQL query language similar to the PostgreSQL syntax.
-
-Using SQLite in Electron is not possible in the *renderer process*, only in the *main process*. To communicate data operations between your main and your renderer processes, you have to use either [@electron/remote](https://github.com/electron/remote) (not recommended) or the [ipcRenderer](https://www.electronjs.org/de/docs/latest/api/ipc-renderer) (recommended). So you start up SQLite in your main process and whenever you want to read or write data, you send the SQL queries to the main process and retrieve the result back as JSON data.
-
-To install SQLite, use the [SQLite3](https://github.com/TryGhost/node-sqlite3) package which is a native Node.js module. You also need the [@electron/rebuild](https://github.com/electron/rebuild) package to rebuild the SQLite module against the currently installed Electron version.
-
-Install them with `npm install sqlite3 @electron/rebuild`.
-Then you can rebuild SQLite with `./node_modules/.bin/electron-rebuild -f -w sqlite3`
-In the JavaScript code of your main process you can now create a database:
-
-```ts
-const sqlite3 = require('sqlite3');
-const db = new sqlite3.Database('/path/to/database/file.db');
-// create a table and insert a row
-db.serialize(() => {
- db.run("CREATE TABLE Users (name, lastName)");
- db.run("INSERT INTO Users VALUES (?, ?)", ['foo', 'bar']);
-});
-```
-
-Also you have to set up the ipcRenderer so that message from the renderer process are handled:
-
-```ts
-ipcMain.handle('db-query', async (event, sqlQuery) => {
- return new Promise(res => {
- db.all(sqlQuery, (err, rows) => {
- res(rows);
- });
- });
-});
-```
-In your renderer process, you can now call the ipcHandler and fetch data from SQLite:
-
-```ts
-const rows = await ipcRenderer.invoke('db-query', "SELECT * FROM Users");
-```
-
-The downside of SQLite (or SQL in general) is that it is lacking many features that are handful when using a database together with **UI based** applications. It is not possible to observe queries or document fields and there is no replication method to sync data with a server. This makes SQLite a good solution when you just want to store data on the client or process expensive SQL queries on the server, but it is not suitable for more complex operations like two-way replication, encryption, compression and so on. Also developer helpers like TypeScript type safety are totally out of reach.
-
-
-
-## Follow up
-
-- Learn how to use RxDB as database in electron with the [Quickstart Tutorial](./quickstart.md).
-- Check out the [RxDB Electron example](https://github.com/pubkey/rxdb/tree/master/examples/electron)
-- There is a followup list of other [client side database alternatives](./alternatives.md) that you can try to use with Electron.
diff --git a/docs/electron.html b/docs/electron.html
deleted file mode 100644
index f5eee3ea223..00000000000
--- a/docs/electron.html
+++ /dev/null
@@ -1,70 +0,0 @@
-
-
-
-
-
-Seamless Electron Storage with RxDB | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
To use RxDB in electron, it is recommended to run the RxStorage in the main process and the RxDatabase in the renderer processes. With the rxdb electron plugin you can create a remote RxStorage and consume it from the renderer process.
-
To do this in a convenient way, the RxDB electron plugin provides the helper functions exposeIpcMainRxStorage and getRxStorageIpcRenderer.
-Similar to the Worker RxStorage, these wrap any other RxStorage once in the main process and once in each renderer process. In the renderer you can then use the storage to create a RxDatabase which communicates with the storage of the main process to store and query data.
-
-
\ No newline at end of file
diff --git a/docs/electron.md b/docs/electron.md
deleted file mode 100644
index 689daa63a11..00000000000
--- a/docs/electron.md
+++ /dev/null
@@ -1,48 +0,0 @@
-# Seamless Electron Storage with RxDB
-
-> Use the RxDB Electron Plugin to share data between main and renderer processes. Enjoy quick queries, real-time sync, and robust offline support.
-
-# Electron Plugin
-
-## RxStorage Electron IpcRenderer & IpcMain
-
-To use RxDB in [electron](./electron-database.md), it is recommended to run the RxStorage in the main process and the RxDatabase in the renderer processes. With the rxdb electron plugin you can create a remote RxStorage and consume it from the renderer process.
-
-To do this in a convenient way, the RxDB electron plugin provides the helper functions `exposeIpcMainRxStorage` and `getRxStorageIpcRenderer`.
-Similar to the [Worker RxStorage](./rx-storage-worker.md), these wrap any other [RxStorage](./rx-storage.md) once in the main process and once in each renderer process. In the renderer you can then use the storage to create a [RxDatabase](./rx-database.md) which communicates with the storage of the main process to store and query data.
-
-:::note
-`nodeIntegration` must be enabled in [Electron](https://www.electronjs.org/docs/latest/api/browser-window#new-browserwindowoptions).
-:::
-
-```ts
-// main.js
-const { exposeIpcMainRxStorage } = require('rxdb/plugins/electron');
-const { getRxStorageMemory } = require('rxdb/plugins/storage-memory');
-app.on('ready', async function () {
- exposeIpcMainRxStorage({
- key: 'main-storage',
- storage: getRxStorageMemory(),
- ipcMain: electron.ipcMain
- });
-});
-```
-
-```ts
-// renderer.js
-const { getRxStorageIpcRenderer } = require('rxdb/plugins/electron');
-const { getRxStorageMemory } = require('rxdb/plugins/storage-memory');
-
-const db = await createRxDatabase({
- name,
- storage: getRxStorageIpcRenderer({
- key: 'main-storage',
- ipcRenderer: electron.ipcRenderer
- })
-});
-/* ... */
-```
-
-## Related
-
-- [Comparison of Electron Databases](./electron-database.md)
diff --git a/docs/encryption.html b/docs/encryption.html
deleted file mode 100644
index 5f70792a5a3..00000000000
--- a/docs/encryption.html
+++ /dev/null
@@ -1,149 +0,0 @@
-
-
-
-
-
-Encryption | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
The RxDB encryption plugin empowers developers to fortify their applications' data security. It seamlessly integrates with RxDB, allowing for the secure storage and retrieval of documents by encrypting them with a password. With encryption and decryption processes handled internally, it ensures that sensitive data remains confidential, making it a valuable tool for building robust, privacy-conscious applications. The encryption works on all RxDB supported devices types like the browser, ReactNative or Node.js.
-
-
Encrypting client-side stored data in RxDB offers numerous advantages:
-
-
Enhanced Security: In the unfortunate event of a user's device being stolen, the encrypted data remains safeguarded on the hard drive, inaccessible without the correct password.
-
Access Control: You can retain control over stored data by revoking access at any time simply by withholding the password.
-
Tamper proof Other applications on the device cannot read out the stored data when the password is only kept in the process-specific memory
RxDB handles the encryption and decryption of data internally. This means that when you work with a RxDocument, you can access the properties of the document just like you would with normal, unencrypted data. RxDB automatically decrypts the data for you when you retrieve it, making it transparent to your application code.
-This means the encryption works with all RxStorage like SQLite, IndexedDB, OPFS and so on.
-
However, there's a limitation when it comes to querying encrypted fields. Encrypted fields cannot be used as operators in queries. This means you cannot perform queries like "find all documents where the encrypted field equals a certain value." RxDB does not expose the encrypted data in a way that allows direct querying based on the encrypted content. To filter or search for documents based on the contents of encrypted fields, you would need to first decrypt the data and then perform the query, which might not be efficient or practical in some cases.
-You could however use the memory mapped RxStorage to replicate the encrypted documents into a non-encrypted in-memory storage and then query them like normal.
RxDB does not define how you should store or retrieve the encryption password. It only requires you to provide the password on database creation which grants you flexibility in how you manage encryption passwords.
-You could ask the user on app-start to insert the password, or you can retrieve the password from your backend on app start (or revoke access by no longer providing the password).
The encryption plugin itself uses symmetric encryption with a password to guarantee best performance when reading and storing data.
-It is not able to do Asymmetric encryption by itself. If you need Asymmetric encryption with a private/publicKey, it is recommended to encrypted the password itself with the asymmetric keys and store the encrypted password beside the other data. On app-start you can decrypt the password with the private key and use the decrypted password in the RxDB encryption plugin
The free encryption-crypto-js plugin that is based on the AES algorithm of the crypto-js library
-
The 👑 premiumencryption-web-crypto plugin that is based on the native Web Crypto API which makes it faster and more secure to use. Document inserts are about 10x faster compared to crypto-js and it has a smaller build size because it uses the browsers API instead of bundling an npm module.
-
-
An RxDB encryption plugin is a wrapper around any other RxStorage.
The password is set database specific and it is not possible to change the password of a database. Opening an existing database with a different password will throw an error. To change the password you can either:
Store a randomly created meta-password in a different RxDatabase as a value of a local document. Encrypt the meta password with the actual user password and read it out before creating the actual database.
If you are using Worker RxStorage or SharedWorker RxStorage with encryption, it's recommended to run encryption inside of the worker. Encryption can be very cpu intensive and would take away CPU-power from the main thread which is the main reason to use workers.
-
You do not need to worry about setting the password inside of the worker. The password will be set when calling createRxDatabase from the main thread, and will be passed internally to the storage in the worker automatically.
-
-
\ No newline at end of file
diff --git a/docs/encryption.md b/docs/encryption.md
deleted file mode 100644
index 0687b68ad55..00000000000
--- a/docs/encryption.md
+++ /dev/null
@@ -1,172 +0,0 @@
-# Encryption
-
-> Explore RxDB's 🔒 encryption plugin for enhanced data security in web and native apps, featuring password-based encryption and secure storage.
-
-import {Steps} from '@site/src/components/steps';
-
-# 🔒 Encrypted Local Storage with RxDB
-
-
-
-The RxDB encryption plugin empowers developers to fortify their applications' data security. It seamlessly integrates with [RxDB](https://rxdb.info/), allowing for the secure storage and retrieval of documents by **encrypting them with a password**. With encryption and decryption processes handled internally, it ensures that sensitive data remains confidential, making it a valuable tool for building robust, privacy-conscious applications. The encryption works on all RxDB supported devices types like the **browser**, **ReactNative** or **Node.js**.
-
-
-
-Encrypting client-side stored data in RxDB offers numerous advantages:
-- **Enhanced Security**: In the unfortunate event of a user's device being stolen, the encrypted data remains safeguarded on the hard drive, inaccessible without the correct password.
-- **Access Control**: You can retain control over stored data by revoking access at any time simply by withholding the password.
-- **Tamper proof** Other applications on the device cannot read out the stored data when the password is only kept in the process-specific memory
-
-## Querying encrypted data
-
-RxDB handles the encryption and decryption of data internally. This means that when you work with a RxDocument, you can access the properties of the document just like you would with normal, unencrypted data. RxDB automatically decrypts the data for you when you retrieve it, making it transparent to your application code.
-This means the encryption works with all [RxStorage](./rx-storage.md) like **SQLite**, **IndexedDB**, **OPFS** and so on.
-
-However, there's a limitation when it comes to querying encrypted fields. **Encrypted fields cannot be used as operators in queries**. This means you cannot perform queries like "find all documents where the encrypted field equals a certain value." RxDB does not expose the encrypted data in a way that allows direct querying based on the encrypted content. To filter or search for documents based on the contents of encrypted fields, you would need to first decrypt the data and then perform the query, which might not be efficient or practical in some cases.
-You could however use the [memory mapped](./rx-storage-memory-mapped.md) RxStorage to replicate the encrypted documents into a non-encrypted in-memory storage and then query them like normal.
-
-## Password handling
-RxDB does not define how you should store or retrieve the encryption password. It only requires you to provide the password on database creation which grants you flexibility in how you manage encryption passwords.
-You could ask the user on app-start to insert the password, or you can retrieve the password from your backend on app start (or revoke access by no longer providing the password).
-
-## Asymmetric encryption
-
-The encryption plugin itself uses **symmetric encryption** with a password to guarantee best performance when reading and storing data.
-It is not able to do **Asymmetric encryption** by itself. If you need Asymmetric encryption with a private/publicKey, it is recommended to encrypted the password itself with the asymmetric keys and store the encrypted password beside the other data. On app-start you can decrypt the password with the private key and use the decrypted password in the RxDB encryption plugin
-
-## Using the RxDB Encryption Plugins
-
-RxDB currently has two plugins for encryption:
-
-- The free `encryption-crypto-js` plugin that is based on the `AES` algorithm of the [crypto-js](https://www.npmjs.com/package/crypto-js) library
-- The [👑 premium](/premium/) `encryption-web-crypto` plugin that is based on the native [Web Crypto API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Crypto_API) which makes it faster and more secure to use. Document inserts are about 10x faster compared to `crypto-js` and it has a smaller build size because it uses the browsers API instead of bundling an npm module.
-
-An RxDB encryption plugin is a wrapper around any other [RxStorage](./rx-storage.md).
-
-
-
-### Wrap your RxStorage with the encryption
-
-```ts
-import {
- wrappedKeyEncryptionCryptoJsStorage
-} from 'rxdb/plugins/encryption-crypto-js';
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-
-// wrap the normal storage with the encryption plugin
-const encryptedStorage = wrappedKeyEncryptionCryptoJsStorage({
- storage: getRxStorageLocalstorage()
-});
-```
-
-### Create a RxDatabase with the wrapped storage
-
-Also you have to set a **password** when creating the database. The format of the password depends on which encryption plugin is used.
-
-```ts
-import { createRxDatabase } from 'rxdb/plugins/core';
-// create an encrypted database
-const db = await createRxDatabase({
- name: 'mydatabase',
- storage: encryptedStorage,
- password: 'sudoLetMeIn'
-});
-```
-
-### Create an RxCollection with an encrypted property
-
-To define a field as being encrypted, you have to add it to the `encrypted` fields list in the schema.
-
-```ts
-const schema = {
- version: 0,
- primaryKey: 'id',
- type: 'object',
- properties: {
- id: {
- type: 'string',
- maxLength: 100
- },
- secret: {
- type: 'string'
- },
- },
- required: ['id']
- encrypted: ['secret']
-};
-
-await db.addCollections({
- myDocuments: {
- schema
- }
-})
-```
-
-
-## Using Web-Crypto API
-
-For professionals, we have the `web-crypto` [👑 premium](/premium/) plugin which is faster and more secure:
-
-```ts
-import {
- wrappedKeyEncryptionWebCryptoStorage,
- createPassword
-} from 'rxdb-premium/plugins/encryption-web-crypto';
-import { getRxStorageIndexedDB } from 'rxdb-premium/plugins/storage-indexeddb';
-
-// wrap the normal storage with the encryption plugin
-const encryptedIndexedDbStorage = wrappedKeyEncryptionWebCryptoStorage({
- storage: getRxStorageIndexedDB()
-});
-
-const myPasswordObject = {
- // Algorithm can be oneOf: 'AES-CTR' | 'AES-CBC' | 'AES-GCM'
- algorithm: 'AES-CTR',
- password: 'myRandomPasswordWithMin8Length'
-};
-
-// create an encrypted database
-const db = await createRxDatabase({
- name: 'mydatabase',
- storage: encryptedIndexedDbStorage,
- password: myPasswordObject
-});
-
-/* ... */
-```
-
-## Changing the password
-
-The password is set database specific and it is not possible to change the password of a database. Opening an existing database with a different password will throw an error. To change the password you can either:
-- Use the [storage migration plugin](./migration-storage.md) to migrate the database state into a new database.
-- Store a randomly created meta-password in a different RxDatabase as a value of a [local document](./rx-local-document.md). Encrypt the meta password with the actual user password and read it out before creating the actual database.
-
-## Encrypted attachments
-
-To store the [attachments](./rx-attachment.md) data encrypted, you have to set `encrypted: true` in the `attachments` property of the schema.
-
-```ts
-const mySchema = {
- version: 0,
- type: 'object',
- properties: {
- /* ... */
- },
- attachments: {
- encrypted: true // if true, the attachment-data will be encrypted with the db-password
- }
-};
-```
-
-## Encryption and workers
-
-If you are using [Worker RxStorage](./rx-storage-worker.md) or [SharedWorker RxStorage](./rx-storage-shared-worker.md) with encryption, it's recommended to run encryption inside of the worker. Encryption can be very cpu intensive and would take away CPU-power from the main thread which is the main reason to use workers.
-
-You do not need to worry about setting the password inside of the worker. The password will be set when calling createRxDatabase from the main thread, and will be passed internally to the storage in the worker automatically.
diff --git a/docs/errors.html b/docs/errors.html
deleted file mode 100644
index 3d8a9c5894c..00000000000
--- a/docs/errors.html
+++ /dev/null
@@ -1,49 +0,0 @@
-
-
-
-
-
-Error Messages | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
When RxDB has an error, an RxError object is thrown instead of a normal JavaScript Error. This RxError contains additional properties such as a code field and parameters. By default the full human readable error messages are not included into the RxDB build. This is because error messages have a high entropy and cannot be compressed well. Therefore only an error message with the correct error-code and parameters is thrown but without the full text.
-When you enable the DevMode Plugin the full error messages are added to the RxError. This should only be done in development, not in production builds to keep a small build size.
Collection- and database-names must match the regex to be compatible with couchdb databases.
- See https://neighbourhood.ie/blog/2020/10/13/everything-you-need-to-know-about-couchdb-database-names/
- info: if your database-name specifies a folder, the name must contain the slash-char '/' or '\'
Crypto.subtle.digest is not available in your runtime. For expo/react-native see https://discord.com/channels/969553741705539624/1341392686267109458/1343639513850843217
Running a count() query in slow mode is now allowed. Either run a count() query with a selector that fully matches an index or set allowSlowCount=true when calling the createRxDatabase
$regex queries must be defined by a string, not an RegExp instance. This is because RegExp objects cannot be JSON stringified and also they are mutable which would be dangerous
Malformed query result data. This likely happens because you create a OPFS-storage RxDatabase inside of a worker but did not set the usesRxDatabaseInWorker setting. https://rxdb.info/rx-storage-opfs.html?console=opfs#setting-usesrxdatabaseinworker-when-a-rxdatabase-is-also-used-inside-of-the-worker
RxDatabase.addCollections(): another instance created this collection with a different schema. Read thishttps://rxdb.info/rx-schema.html?console=qa#faq
CreateRxDatabase(): A RxDatabase with the same name and adapter already exists.
-Make sure to use this combination of storage+databaseName only once
-If you have the duplicate database on purpose to simulate multi-tab behavior in unit tests, set "ignoreDuplicate: true".
-As alternative you can set "closeDuplicates: true" like if this happens in your react projects with hot reload that reloads the code without reloading the process.
In the open-source version of RxDB, the amount of collections that can exist in parallel is limited to 16. If you already purchased the premium access, you can remove this limit: https://rxdb.info/rx-collection.html?console=limit#faq
Given document data could not be structured cloned. This happens if you pass non-plain-json data into it, like a Date() object or a Function. In vue.js this happens if you use ref() on the document data which transforms it into a Proxy object.
Cannot open database state with newer RxDB version. You have to migrate your database state first. See https://rxdb.info/migration-storage.html?console=storage
RxCouchDBReplicationState.awaitInitialReplication() cannot await initial replication if multiInstance because the replication might run on another instance
$ref fields in the schema are not allowed. RxDB cannot resolve related schemas because it would have a negative performance impact.It would have to run http requests on runtime. $ref fields should be resolved during build time.
Primary key and also indexed fields which are strings, must have a maxLength that is <= 2048. Notice that having a big maxLength can negatively affect the performance. Only set it as big as it has to be.
When dev-mode is enabled, your storage must use one of the schema validators at the top level. This is because most problems people have with RxDB is because they store data that is not valid to the schema which causes strange bugs and problems.
To run fulltext search queries on the local data, RxDB has a fulltext search plugin based on flexsearch and RxPipeline. On each write to a given source RxCollection, an indexer is running to map the written document data into a fulltext search index.
-The index can then be queried efficiently with complex fulltext search operations.
The plugin utilizes the FlexSearch library, known for its speed and memory efficiency. This ensures that search operations are performed quickly, even with large datasets. The search engine can handle multi-field queries, partial matching, and complex search operations, providing users with highly relevant results.
-
-
Local Data Indexing
-
-
With the plugin, all search operations are performed on the local data stored within the RxDB collections. This means that users can execute fulltext search queries without the need for an external server or database, which is especially beneficial for offline-first applications. The local indexing ensures that search queries are executed quickly, reducing the latency typically associated with remote database queries. Also when used in multiple browser tabs, it is ensured that through Leader Election, only exactly one tabs is doing the work of indexing without having an overhead in the other browser tabs.
-
-
Real-time Indexing
-
-
The plugin integrates seamlessly with RxDB's reactive nature. Every time a document is written to an RxCollection, an indexer updates the fulltext search index in real-time. This ensures that search results are always up-to-date, reflecting the most current state of the data without requiring manual reindexing.
-
-
Persistent indexing
-
-
The fulltext search index is efficiently persisted within the RxCollection, ensuring that the index remains intact across app restarts. When documents are added or updated in the collection, the index is incrementally updated in real-time, meaning only the changes are processed rather than reindexing the entire dataset. This incremental approach not only optimizes performance but also ensures that subsequent app launches are quick, as there's no need to reindex all the data from scratch, making the search feature both reliable and fast from the moment the app starts. When using an encrypted storage the index itself and incremental updates to it are stored fully encrypted and are only decrypted in-memory.
-
-
Complex Query Support
-
-
The FlexSearch-based plugin allows for sophisticated search queries, including multi-term and contextual searches. Users can perform complex searches that go beyond simple keyword matching, enabling more advanced use cases like searching for documents with specific phrases, relevance-based sorting, or even phonetic matching.
-
-
Offline-First Support and Privacy
-
-
As RxDB is designed with offline-first applications in mind, the fulltext search plugin supports this paradigm by ensuring that all search operations can be performed offline. This is crucial for applications that need to function in environments with intermittent or no internet connectivity, offering users a consistent and reliable search experience with zero latency.
The flexsearch search is a RxDB Premium Package 👑 which must be purchased and imported from the rxdb-premium npm package.
-
Step 1: Add the RxDBFlexSearchPlugin to RxDB.
-
import { RxDBFlexSearchPlugin } from 'rxdb-premium/plugins/flexsearch';
-import { addRxPlugin } from 'rxdb/plugins/core';
-addRxPlugin(RxDBFlexSearchPlugin);
-
Step 2: Create a RxFulltextSearch instance on top of a collection with the addFulltextSearch() function.
-
import { addFulltextSearch } from 'rxdb-premium/plugins/flexsearch';
-const flexSearch = await addFulltextSearch({
- // unique identifier. Used to store metadata and continue indexing on restarts/reloads.
- identifier: 'my-search',
- // The source collection on whose documents the search is based on
- collection: myRxCollection,
- /**
- * Transforms the document data to a given searchable string.
- * This can be done by returning a single string property of the document
- * or even by concatenating and transforming multiple fields like:
- * doc => doc.firstName + ' ' + doc.lastName
- */
- docToString: doc => doc.firstName,
- /**
- * (Optional)
- * Amount of documents to index at once.
- * See https://rxdb.info/rx-pipeline.html
- */
- batchSize: number;
- /**
- * (Optional)
- * lazy: Initialize the in memory fulltext index at the first search query.
- * instant: Directly initialize so that the index is already there on the first query.
- * Default: 'instant'
- */
- initialization: 'instant',
- /**
- * (Optional)
- * @link https://github.com/nextapps-de/flexsearch#index-options
- */
- indexOptions: {},
-});
-
Step 3: Run a search operation:
-
// find all documents whose searchstring contains "foobar"
-const foundDocuments = await flexSearch.find('foobar');
-
-/**
- * You can also use search options as second parameter
- * @link https://github.com/nextapps-de/flexsearch#search-options
- */
-const foundDocuments = await flexSearch.find('foobar', { limit: 10 });
-
-
\ No newline at end of file
diff --git a/docs/fulltext-search.md b/docs/fulltext-search.md
deleted file mode 100644
index a0898d34873..00000000000
--- a/docs/fulltext-search.md
+++ /dev/null
@@ -1,96 +0,0 @@
-# Fulltext Search 👑
-
-> Master local fulltext search with RxDB's FlexSearch plugin. Enjoy real-time indexing, efficient queries, and offline-first support made easy.
-
-# Fulltext Search
-
-To run fulltext search queries on the local data, RxDB has a fulltext search plugin based on [flexsearch](https://github.com/nextapps-de/flexsearch) and [RxPipeline](./rx-pipeline.md). On each write to a given source [RxCollection](./rx-collection.md), an indexer is running to map the written document data into a fulltext search index.
-The index can then be queried efficiently with complex fulltext search operations.
-
-## Benefits of using a local fulltext search
-
-1. Efficient Search and Indexing
-
-The plugin utilizes the [FlexSearch library](https://github.com/nextapps-de/flexsearch), known for its speed and memory efficiency. This ensures that search operations are performed quickly, even with large datasets. The search engine can handle multi-field queries, partial matching, and complex search operations, providing users with highly relevant results.
-
-2. Local Data Indexing
-
-With the plugin, all search operations are performed on the local data stored within the RxDB collections. This means that users can execute fulltext search queries without the need for an external server or database, which is especially beneficial for offline-first applications. The local indexing ensures that search queries are executed quickly, reducing the latency typically associated with remote database queries. Also when used in multiple browser tabs, it is ensured that through [Leader Election](./leader-election.md), only exactly one tabs is doing the work of indexing without having an overhead in the other browser tabs.
-
-3. Real-time Indexing
-
-The plugin integrates seamlessly with RxDB's reactive nature. Every time a document is written to an [RxCollection](./rx-collection.md), an indexer updates the fulltext search index in real-time. This ensures that search results are always up-to-date, reflecting the most current state of the data without requiring manual reindexing.
-
-4. Persistent indexing
-
-The fulltext search index is efficiently persisted within the [RxCollection](./rx-collection.md), ensuring that the index remains intact across app restarts. When documents are added or updated in the collection, the index is incrementally updated in real-time, meaning only the changes are processed rather than reindexing the entire dataset. This incremental approach not only optimizes performance but also ensures that subsequent app launches are quick, as there's no need to reindex all the data from scratch, making the search feature both reliable and fast from the moment the app starts. When using an [encrypted storage](./encryption.md) the index itself and incremental updates to it are stored fully encrypted and are only decrypted in-memory.
-
-5. Complex Query Support
-
-The FlexSearch-based plugin allows for [sophisticated search queries](https://github.com/nextapps-de/flexsearch?tab=readme-ov-file#index.search), including multi-term and contextual searches. Users can perform complex searches that go beyond simple keyword matching, enabling more advanced use cases like searching for documents with specific phrases, relevance-based sorting, or even phonetic matching.
-
-6. Offline-First Support and Privacy
-
-As RxDB is designed with [offline-first applications](./offline-first.md) in mind, the fulltext search plugin supports this paradigm by ensuring that all search operations can be performed offline. This is crucial for applications that need to function in environments with intermittent or no internet connectivity, offering users a consistent and reliable search experience with [zero latency](./articles/zero-latency-local-first.md).
-
-## Using the RxDB Fulltext Search
-
-The flexsearch search is a [RxDB Premium Package 👑](/premium/) which must be purchased and imported from the `rxdb-premium` npm package.
-
-Step 1: Add the `RxDBFlexSearchPlugin` to RxDB.
-
-```ts
-import { RxDBFlexSearchPlugin } from 'rxdb-premium/plugins/flexsearch';
-import { addRxPlugin } from 'rxdb/plugins/core';
-addRxPlugin(RxDBFlexSearchPlugin);
-```
-
-Step 2: Create a `RxFulltextSearch` instance on top of a collection with the `addFulltextSearch()` function.
-
-```ts
-import { addFulltextSearch } from 'rxdb-premium/plugins/flexsearch';
-const flexSearch = await addFulltextSearch({
- // unique identifier. Used to store metadata and continue indexing on restarts/reloads.
- identifier: 'my-search',
- // The source collection on whose documents the search is based on
- collection: myRxCollection,
- /**
- * Transforms the document data to a given searchable string.
- * This can be done by returning a single string property of the document
- * or even by concatenating and transforming multiple fields like:
- * doc => doc.firstName + ' ' + doc.lastName
- */
- docToString: doc => doc.firstName,
- /**
- * (Optional)
- * Amount of documents to index at once.
- * See https://rxdb.info/rx-pipeline.html
- */
- batchSize: number;
- /**
- * (Optional)
- * lazy: Initialize the in memory fulltext index at the first search query.
- * instant: Directly initialize so that the index is already there on the first query.
- * Default: 'instant'
- */
- initialization: 'instant',
- /**
- * (Optional)
- * @link https://github.com/nextapps-de/flexsearch#index-options
- */
- indexOptions: {},
-});
-```
-
-Step 3: Run a search operation:
-
-```ts
-// find all documents whose searchstring contains "foobar"
-const foundDocuments = await flexSearch.find('foobar');
-
-/**
- * You can also use search options as second parameter
- * @link https://github.com/nextapps-de/flexsearch#search-options
- */
-const foundDocuments = await flexSearch.find('foobar', { limit: 10 });
-```
diff --git a/docs/html/dev-mode-iframe.html b/docs/html/dev-mode-iframe.html
deleted file mode 100644
index 415c045b1e5..00000000000
--- a/docs/html/dev-mode-iframe.html
+++ /dev/null
@@ -1,38 +0,0 @@
-
-
-
-
-
-
-
-
- This is the page is shown in an iframe when the Dev Mode of the RxDB JavaScript Database is enabled. Do never enable the dev-mode in production. Do always enable it during
- development.
-
The easiest way to store and sync Data inside of your App
RxDB is a NoSQL database for JavaScript that runs directly in your app. With a local-first design, it delivers zero-latency queries even offline, and syncs seamlessly with many backends. With observable queries, your UI updates instantly as data changes.
RxDB adopts the local-first approach by storing data locally on the client and managing continuous synchronization. You can even run your app entirely without a backend.
We use RxDB because it works across multiple platforms and we need to store of a great deal of data, some users have tens of thousands of documents! RxDB was the only cross-platform, offline-first solution with good enough performance to meet our needs.
Readwise (USA)
We use RxDB for our offline-first inspection software. It ensures accurate data even under poor connectivity, while its single interface for multiple databases streamlines development. RxDB's flexibility also supports easy expansion to more platforms and environments.
SafeEx (Denmark)
We use RxDB in our global offline-first app for technicians. Its robust features and total control ensure reliable performance, even with poor connectivity, resulting in a seamless maintenance solution.
WebWare (Italy)
We rely on RxDB to manage all our data in one place. Our custom store became unwieldy, so we switched to RxDB for schema migrations, real-time replication, conflict resolution, and reactive programming. Its push and pull handlers also integrate smoothly with our existing APIs.
myAgro (Africa)
We provide a mobile app that is used by people in the
- field to fill in valuable information like inspections,
- surveys and audits. Our users don't always have access to the internet, building from an Offline-first approach with RxDB allows us to have the data integrity we need without being online.
MoreApp (Germany)
We use RxDB to create applications capable of being
- used in the most remote areas where Internet access is
- really a challenge.
ALTGRAS (Guinea)
We use RxDB to provide an offline first, cross platform
- point of sale system. With RxDB we could create a web-, desktop- and mobile app using the same code base.
WooCommerce POS (Australia)
RxDB is a main component in building offline-ready
- multichannel apps. It has become our default stack for
- this kind of apps.
atroo GmbH (Germany)
With RxDB we have built an offline capable Progressive Web Application that is used by our borer operators to report on conditions at the mineface.
Nutrien (Canada)
We use RxDB because it works across multiple platforms and we need to store of a great deal of data, some users have tens of thousands of documents! RxDB was the only cross-platform, offline-first solution with good enough performance to meet our needs.
Readwise (USA)
We use RxDB for our offline-first inspection software. It ensures accurate data even under poor connectivity, while its single interface for multiple databases streamlines development. RxDB's flexibility also supports easy expansion to more platforms and environments.
SafeEx (Denmark)
We use RxDB in our global offline-first app for technicians. Its robust features and total control ensure reliable performance, even with poor connectivity, resulting in a seamless maintenance solution.
WebWare (Italy)
We rely on RxDB to manage all our data in one place. Our custom store became unwieldy, so we switched to RxDB for schema migrations, real-time replication, conflict resolution, and reactive programming. Its push and pull handlers also integrate smoothly with our existing APIs.
myAgro (Africa)
We provide a mobile app that is used by people in the
- field to fill in valuable information like inspections,
- surveys and audits. Our users don't always have access to the internet, building from an Offline-first approach with RxDB allows us to have the data integrity we need without being online.
MoreApp (Germany)
We use RxDB to create applications capable of being
- used in the most remote areas where Internet access is
- really a challenge.
ALTGRAS (Guinea)
We use RxDB to provide an offline first, cross platform
- point of sale system. With RxDB we could create a web-, desktop- and mobile app using the same code base.
WooCommerce POS (Australia)
RxDB is a main component in building offline-ready
- multichannel apps. It has become our default stack for
- this kind of apps.
atroo GmbH (Germany)
With RxDB we have built an offline capable Progressive Web Application that is used by our borer operators to report on conditions at the mineface.
Nutrien (Canada)
We use RxDB because it works across multiple platforms and we need to store of a great deal of data, some users have tens of thousands of documents! RxDB was the only cross-platform, offline-first solution with good enough performance to meet our needs.
Readwise (USA)
We use RxDB for our offline-first inspection software. It ensures accurate data even under poor connectivity, while its single interface for multiple databases streamlines development. RxDB's flexibility also supports easy expansion to more platforms and environments.
SafeEx (Denmark)
We use RxDB in our global offline-first app for technicians. Its robust features and total control ensure reliable performance, even with poor connectivity, resulting in a seamless maintenance solution.
WebWare (Italy)
We rely on RxDB to manage all our data in one place. Our custom store became unwieldy, so we switched to RxDB for schema migrations, real-time replication, conflict resolution, and reactive programming. Its push and pull handlers also integrate smoothly with our existing APIs.
myAgro (Africa)
We provide a mobile app that is used by people in the
- field to fill in valuable information like inspections,
- surveys and audits. Our users don't always have access to the internet, building from an Offline-first approach with RxDB allows us to have the data integrity we need without being online.
MoreApp (Germany)
We use RxDB to create applications capable of being
- used in the most remote areas where Internet access is
- really a challenge.
ALTGRAS (Guinea)
We use RxDB to provide an offline first, cross platform
- point of sale system. With RxDB we could create a web-, desktop- and mobile app using the same code base.
WooCommerce POS (Australia)
RxDB is a main component in building offline-ready
- multichannel apps. It has become our default stack for
- this kind of apps.
atroo GmbH (Germany)
With RxDB we have built an offline capable Progressive Web Application that is used by our borer operators to report on conditions at the mineface.
RxDB uses JSON Schema, a format widely recognized by developers through tools like OpenAPI or Swagger. Because JSON Schema is so well-established, it integrates seamlessly with existing validators, editors, and development tooling, making schema design both simple and highly flexible.
A minimal RxDB schema might define fields, data types, and indexes in a fully declarative way. For example:
RxDB is coded with es8 and transpiled to es5. This means you have to install polyfills to support older browsers. For example you can use the babel-polyfills with:
-
npm i @babel/polyfill --save
-
If you need polyfills, you have to import them in your code.
When you use RxDB with angular or other webpack based frameworks, you might get the error Uncaught ReferenceError: global is not defined.
-This is because some dependencies of RxDB assume a Node.js-specific global variable that is not added to browser runtimes by some bundlers.
-You have to add them by your own, like we do here.
-
(window as any).global = window;
-(window as any).process = {
- env: { DEBUG: undefined },
-};
In the examples folder you can find CI tested projects for different frameworks and use cases, while in the /config folder base configuration files for Webpack, Rollup, Mocha, Karma, Typescript are exposed.
-
Consult package.json for the versions of the packages supported.
-
-
\ No newline at end of file
diff --git a/docs/install.md b/docs/install.md
deleted file mode 100644
index 113d0babc86..00000000000
--- a/docs/install.md
+++ /dev/null
@@ -1,71 +0,0 @@
-# Installation
-
-> Learn how to install RxDB via npm, configure polyfills, and fix global variable errors in Angular or Webpack for a seamless setup.
-
-# Install RxDB
-
-## npm
-
-To install the latest release of `rxdb` and its dependencies and save it to your `package.json`, run:
-
-`npm i rxdb --save`
-
-## peer-dependency
-
-You also need to install the peer-dependency `rxjs` if you have not installed it before.
-
-`npm i rxjs --save`
-
-## polyfills
-
-RxDB is coded with es8 and transpiled to es5\. This means you have to install [polyfills](https://developer.mozilla.org/en-US/docs/Glossary/Polyfill) to support older browsers. For example you can use the babel-polyfills with:
-
-`npm i @babel/polyfill --save`
-
-If you need polyfills, you have to import them in your code.
-
-```typescript
-import '@babel/polyfill';
-```
-
-## Polyfill the `global` variable
-
-When you use RxDB with **angular** or other **webpack** based frameworks, you might get the error `Uncaught ReferenceError: global is not defined`.
-This is because some dependencies of RxDB assume a Node.js-specific `global` variable that is not added to browser runtimes by some bundlers.
-You have to add them by your own, like we do [here](https://github.com/pubkey/rxdb/blob/master/examples/angular/src/polyfills.ts).
-
-```ts
-(window as any).global = window;
-(window as any).process = {
- env: { DEBUG: undefined },
-};
-```
-
-## Project Setup and Configuration
-
-In the [examples](https://github.com/pubkey/rxdb/tree/master/examples) folder you can find CI tested projects for different frameworks and use cases, while in the [/config](https://github.com/pubkey/rxdb/tree/master/config) folder base configuration files for Webpack, Rollup, Mocha, Karma, Typescript are exposed.
-
-Consult [package.json](https://github.com/pubkey/rxdb/blob/master/package.json) for the versions of the packages supported.
-
-## Installing the latest RxDB build
-
-If you need the latest development state of RxDB, add it as git-dependency into your `package.json`.
-
-```json
- "dependencies": {
- "rxdb": "git+https://git@github.com/pubkey/rxdb.git#commitHash"
- }
-```
-
-Replace `commitHash` with the hash of the latest [build-commit](https://github.com/pubkey/rxdb/search?q=build&type=Commits).
-
-## Import
-
-To import `rxdb`, add this to your JavaScript file to import the default bundle that contains the RxDB core:
-
-```typescript
-import {
- createRxDatabase,
- /* ... */
-} from 'rxdb';
-```
diff --git a/docs/key-compression.html b/docs/key-compression.html
deleted file mode 100644
index 312b570bbb7..00000000000
--- a/docs/key-compression.html
+++ /dev/null
@@ -1,73 +0,0 @@
-
-
-
-
-
-Key Compression | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
With the key compression plugin, documents will be stored in a compressed format which saves up to 40% disc space.
-For compression the npm module jsonschema-key-compression is used.
-It compresses json-data based on its json-schema while still having valid json. It works by compressing long attribute-names into smaller ones and backwards.
-
The compression and decompression happens internally, so when you work with a RxDocument, you can access any property like normal.
RxDB comes with a leader-election which elects a leading instance between different instances in the same javascript runtime.
-Before you read this, please check out on how many of your open browser-tabs you have opened the same website more than once. Count them, I will wait..
-
So if you would now inspect the traffic that these open tabs produce, you can see that many of them send exact the same data over wire for every tab. No matter if the data is sent with an open websocket or by polling.
Imagine we have a website which displays the current temperature of the visitors location in various charts, numbers or heatmaps. To always display the live-data, the website opens a websocket to our API-Server which sends the current temperature every 10 seconds. Using the way most sites are currently build, we can now open it in 5 browser-tabs and it will open 5 websockets which send data 6*5=30 times per minute. This will not only waste the power of your clients device, but also wastes your api-servers resources by opening redundant connections.
The solution to this redundancy is the usage of a leader-election-algorithm which makes sure that always exactly one tab is managing the remote-data-access. The managing tab is the elected leader and stays leader until it is closed. No matter how many tabs are opened or closed, there must be always exactly one leader.
-You could now start implementing a messaging-system between your browser-tabs, hand out which one is leader, solve conflicts and reassign a new leader when the old one 'dies'.
-Or just use RxDB which does all these things for you.
To make it easy, here is an example where the temperature is pulled every ten seconds and saved to a collection. The pulling starts at the moment where the opened tab becomes the leader.
On rare occasions, it can happen that more than one leader is elected. This can happen when the CPU is on 100% or for any other reason the JavaScript process is fully blocked for a long time.
-For most cases this is not really problem because on duplicate leaders, both browser tabs replicate with the same backend anyways.
-To handle the duplicate leader event, you can access the leader elector and set a handler:
The leader election is implemented via the broadcast-channel module.
-The leader is elected between different processes on the same javascript-runtime. Like multiple tabs in the same browser or multiple NodeJs-processes on the same machine. It will not run between different replicated instances.
-
-
\ No newline at end of file
diff --git a/docs/leader-election.md b/docs/leader-election.md
deleted file mode 100644
index deea8272839..00000000000
--- a/docs/leader-election.md
+++ /dev/null
@@ -1,96 +0,0 @@
-# Leader Election
-
-> RxDB comes with a leader-election which elects a leading instance between different instances in the same javascript runtime.
-Before you read this, please check out on how many of your open browser-tabs you have opened the same website more than once. Count them, I will wait..
-
-# Leader-Election
-
-RxDB comes with a leader-election which elects a leading instance between different instances in the same javascript runtime.
-Before you read this, please check out on how many of your open browser-tabs you have opened the same website more than once. Count them, I will wait..
-
-So if you would now inspect the traffic that these open tabs produce, you can see that many of them send exact the same data over wire for every tab. No matter if the data is sent with an open websocket or by polling.
-
-## Use-case-example
-
-Imagine we have a website which displays the current temperature of the visitors location in various charts, numbers or heatmaps. To always display the live-data, the website opens a websocket to our API-Server which sends the current temperature every 10 seconds. Using the way most sites are currently build, we can now open it in 5 browser-tabs and it will open 5 websockets which send data 6*5=30 times per minute. This will not only waste the power of your clients device, but also wastes your api-servers resources by opening redundant connections.
-
-## Solution
-
-The solution to this redundancy is the usage of a [leader-election](https://en.wikipedia.org/wiki/Leader_election)-algorithm which makes sure that always exactly one tab is managing the remote-data-access. The managing tab is the elected leader and stays leader until it is closed. No matter how many tabs are opened or closed, there must be always exactly **one** leader.
-You could now start implementing a messaging-system between your browser-tabs, hand out which one is leader, solve conflicts and reassign a new leader when the old one 'dies'.
-Or just use RxDB which does all these things for you.
-
-## Add the leader election plugin
-
-To enable the leader election, you have to add the `leader-election` plugin.
-
-```javascript
-import { addRxPlugin } from 'rxdb';
-import { RxDBLeaderElectionPlugin } from 'rxdb/plugins/leader-election';
-addRxPlugin(RxDBLeaderElectionPlugin);
-```
-## Code-example
-
-To make it easy, here is an example where the temperature is pulled every ten seconds and saved to a collection. The pulling starts at the moment where the opened tab becomes the leader.
-
-```javascript
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-
-const db = await createRxDatabase({
- name: 'weatherDB',
- storage: getRxStorageLocalstorage(),
- password: 'myPassword',
- multiInstance: true
-});
-
-await db.addCollections({
- temperature: {
- schema: mySchema
- }
-});
-
-db.waitForLeadership()
- .then(() => {
- console.log('Long lives the king!'); // <- runs when db becomes leader
- setInterval(async () => {
- const temp = await fetch('https://example.com/api/temp/');
- db.temperature.insert({
- degrees: temp,
- time: new Date().getTime()
- });
- }, 1000 * 10);
- });
-```
-
-## Handle Duplicate Leaders
-
-On rare occasions, it can happen that [more than one leader](https://github.com/pubkey/broadcast-channel/blob/master/.github/README.md#handle-duplicate-leaders) is elected. This can happen when the CPU is on 100% or for any other reason the JavaScript process is fully blocked for a long time.
-For most cases this is not really problem because on duplicate leaders, both browser tabs replicate with the same backend anyways.
-To handle the duplicate leader event, you can access the leader elector and set a handler:
-
-```ts
-import {
- getLeaderElectorByBroadcastChannel
-} from 'rxdb/plugins/leader-election';
-
-const leaderElector = getLeaderElectorByBroadcastChannel(broadcastChannel);
-leaderElector.onduplicate = async () => {
- // Duplicate leader detected -> reload the page.
- location.reload();
-}
-```
-
-## Live-Example
-
-In this example the leader is marked with the crown ♛
-
-
-
-## Try it out
-
-Run the [angular-example](https://github.com/pubkey/rxdb/tree/master/examples/angular) where the leading tab is marked with a crown on the top-right-corner.
-
-## Notice
-
-The leader election is implemented via the [broadcast-channel module](https://github.com/pubkey/broadcast-channel#using-the-leaderelection).
-The leader is elected between different processes on the same javascript-runtime. Like multiple tabs in the same browser or multiple NodeJs-processes on the same machine. It will not run between different replicated instances.
diff --git a/docs/legal-notice/index.html b/docs/legal-notice/index.html
deleted file mode 100644
index 94f30c7a035..00000000000
--- a/docs/legal-notice/index.html
+++ /dev/null
@@ -1,39 +0,0 @@
-
-
-
-
-
-Legal Notice - RxDB - JavaScript Database | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Daniel Meyer - RxDB Friedrichstraße 13 70174 Stuttgart Email:
German Legal Notice
Umsatzsteuer-ID nach §27a Umsatzsteuergesetz
DE357840955
Verantwortlich für den Inhalt (gem. § 55 Abs. 2 RStV)
Der oben genannte Eigentümer.
Hinweis gemäß Online-Streitbeilegungs-Verordnung
Nach geltendem Recht sind wir verpflichtet, Verbraucher auf die Existenz der Europäischen Online-Streitbeilegungs-Plattform hinzuweisen, welche für die Beilegung von Streitigkeiten genutzt werden kann, ohne dass ein Gericht eingeschaltet werden muss. Für die Einrichtung der Plattform ist die Europäische Kommission zuständig. Die Europäische Online-Streitbeilegungs-Plattform ist hier zu finden: http://ec.europa.eu/odr. Wir weisen ausdrücklich darauf hin, dass wir nicht bereit sind, uns am Streitbeilegungsverfahren im Rahmen der Europäischen Online-Streitbeilegungs-Plattform zu beteiligen.
§ 1 Warnhinweis zu Inhalten
Alle Inhalte dieser Webseite wurden nach Treu und Glauben mit größtmöglicher Sorgfalt erstellt. Wir übernehmen keine Gewähr für die Richtigkeit und Aktualität der bereitgestellten Inhalte und garantieren nicht, dass diese Daten jederzeit auf dem aktuellen Stand sind. Diese Webseite kann technische Ungenauigkeiten oder typographische Fehler enthalten. Wir behalten uns vor, die Informationen dieser Webseite jederzeit und ohne vorherige Ankündigung zu ändern, zu aktualisieren oder zu löschen. In keinem Fall haften wir Ihnen oder Dritten gegenüber für irgendwelche direkten, indirekten, speziellen oder sonstigen Schäden jeglicher Art.
§ 2 Externe Links / Externe Verknüpfungen
Diese Webseite enthält Verknüpfungen zu Webseiten Dritter, zum Beispiel eingebunden durch Links oder Buttons. Diese Webseiten unterliegen der Haftung der jeweiligen Betreiber. Bei der erstmaligen Verknüpfung jeglicher Webseiten Dritter haben wir die fremden Inhalte auf das Bestehen etwaiger Rechtsverstöße überprüft. Zum Zeitpunkt der Überprüfung waren keine Rechtsverstöße ersichtlich. Wir haben keinerlei Einfluss auf die aktuelle und zukünftige Gestaltung und auf die Inhalte der verknüpften Seiten. Das Setzen von externen Verknüpfungen bedeutet nicht, dass wir uns die hinter der Verknüpfung liegenden Inhalte zu eigen machen. Eine ständige Kontrolle der Inhalte sämtlicher externen Verknüpfungen ist ohne konkrete Hinweise auf Rechtsverstöße nicht zumutbar. Bei Kenntnisnahme von Rechtsverstößen werden betroffene Inhalte oder Verknüpfungen unverzüglich gelöscht.
§ 3 Urheber- und Leistungsschutzrechte
Die auf dieser Webseite veröffentlichten Inhalte unterliegen dem deutschen Urheber- und Leistungsschutzrecht. Jede vom deutschen Urheber- und Leistungsschutzrecht nicht zugelassene Verwertung bedarf der vorherigen schriftlichen Zustimmung unsererseits oder des jeweiligen Rechteinhabers. Dies gilt insbesondere für jede Art oder Abwandlung der Vervielfältigung, Bearbeitung, Verarbeitung, Übersetzung, Einspeicherung und Wiedergabe von Inhalten in jeglicher Form. Die unerlaubte Vervielfältigung oder Weitergabe einzelner Inhalte oder kompletter Seiten ist nicht gestattet und strafbar. Die Darstellung dieser Webseite in fremden Frames ist nur mit schriftlicher Erlaubnis unsererseits zulässig.
§ 4 Besondere Nutzungsbedingungen
Soweit besondere Bedingungen für einzelne Nutzungen dieser Webseite von den vorgenannten Paragraphen abweichen, wird an entsprechender Stelle ausdrücklich darauf hingewiesen. In diesem Falle gelten im jeweiligen Einzelfall die besonderen Nutzungsbedingungen.
§ 5 Rechtswirksamkeit dieses Haftungsausschlusses
Dieser Haftungsausschluss ist als Teil des Internetangebotes zu betrachten, von welchem aus auf diese Seite verwiesen wurde. Sofern Teile oder einzelne Formulierungen dieses Textes der geltenden Rechtslage nicht, nicht mehr oder nicht vollständig entsprechen sollten, bleiben die übrigen Teile des Dokumentes in ihrem Inhalt und ihrer Gültigkeit davon unberührt.
-
-
\ No newline at end of file
diff --git a/docs/llms-full.txt b/docs/llms-full.txt
deleted file mode 100644
index d84285d8ff6..00000000000
--- a/docs/llms-full.txt
+++ /dev/null
@@ -1,22772 +0,0 @@
-# RxDB Documentation
-
-> Authoritative reference documentation for RxDB, a reactive, local-first NoSQL database for JavaScript with offline support and explicit replication.
-
-This file contains all documentation content in a single document following the llmstxt.org standard.
-
-## Alternatives for realtime local-first JavaScript applications and local databases
-
-# Alternatives for realtime offline-first JavaScript applications
-
-To give you an augmented view over the topic of client side JavaScript databases, this page contains all known alternatives to **RxDB**. Remember that you are reading this inside of the RxDB documentation, so everything is **opinionated**.
-If you disagree with anything or think that something is missing, make a pull request to this file on the RxDB github repository.
-
-:::note
-RxDB has these main benefits:
-
-- RxDB is a battle proven tool [widely used](/#reviews) by companies in real projects in production.
-- RxDB is not VC funded and therefore does not require you to use a specific cloud service to rip you off. RxDB can be used with your [own backend](./replication-http.md) or no backend at all.
-- RxDB has a working business model of selling [premium plugins](/premium/) which ensures that RxDB will be maintained and improved continuously while many alternatives are dead already or seem to die soon.
-- RxDB has years (since 2016) of performance optimization, bug fixing and feature adding. It is just working as is and there are close to zero [open issues](https://github.com/pubkey/rxdb/issues).
-
-
-
-
-
-
-
-:::
-
---------------------------------------------------------------------------------
-
-
-
-## Alternatives to RxDB
-
-[RxDB](https://rxdb.info) is an **observable**, **replicating**, **[local first](./offline-first.md)**, **JavaScript** database. So it makes only sense to list similar projects as alternatives, not just any database or JavaScript store library. However, I will list up some projects that RxDB is often compared with, even if it only makes sense for some use cases.
-Here are the alternatives to RxDB:
-
-### Firebase
-
-
-
-Firebase is a **platform** developed by Google for creating mobile and web applications. Firebase has many features and products, two of which are client side databases. The [Realtime Database](./articles/firebase-realtime-database-alternative.md) and the [Cloud Firestore](./articles/firestore-alternative.md).
-
-#### Firebase - Realtime Database
-
-The firebase realtime database was the first database in firestore. It has to be mentioned that in this context, "realtime" means **"realtime replication"**, not "realtime computing". The firebase realtime database stores data as a big unstructured JSON tree that is replicated between clients and the backend.
-
-#### Firebase - Cloud Firestore
-
-The firestore is the successor to the realtime database. The big difference is that it behaves more like a 'normal' database that stores data as documents inside of collections. The conflict resolution strategy of firestore is always *last-write-wins* which might or might not be suitable for your use case.
-
-The biggest difference to RxDB is that firebase products are only able to be used on top of the Firebase cloud hosted backend, which creates a vendor lock-in. RxDB can replicate with any self hosted CouchDB server or custom GraphQL endpoints. You can even replicate Firestore to RxDB with the [Firestore Replication Plugin](./replication-firestore.md).
-
-### Meteor
-
-
-
-Meteor (since 2012) is one of the oldest technologies for JavaScript realtime applications. Meteor is not a library but a whole framework with its own package manager, database management and replication.
-Because of how it works, it has proven to be hard to integrate it with other modern JavaScript frameworks like [angular](https://github.com/urigo/angular-meteor), [vue.js](./articles//vue-database.md) or svelte.
-
-Meteor uses MongoDB in the backend and can replicate with a Minimongo database in the frontend.
-While testing, it has proven to be impossible to make a meteor app **offline first** capable. There are [some projects](https://github.com/frozeman/meteor-persistent-minimongo2) that might do this, but all are unmaintained.
-
-### Minimongo
-
-Forked in Jan 2014 from meteorJSs' minimongo package, Minimongo is a client-side, in-memory, JavaScript version of MongoDB with backend replication over HTTP. Similar to MongoDB, it stores data in documents inside of collections and also has the same query syntax. Minimongo has different storage adapters for IndexedDB, WebSQL, [LocalStorage](./articles/localstorage.md) and SQLite.
-Compared to RxDB, Minimongo has no concept of revisions or conflict handling, which might lead to undefined behavior when used with replication or in multiple browser tabs. Minimongo has no observable queries or changestream.
-
-### WatermelonDB
-
-
-
-WatermelonDB is a reactive & asynchronous JavaScript database. While originally made for [React](./articles/react-database.md) and [React Native](./react-native-database.md), it can also be used with other JavaScript frameworks. The main goal of WatermelonDB is **performance** within an application with lots of data.
-In React Native, WatermelonDB uses the provided SQLite database. Also there is an Expo plugin for WatermelonDB. In a browser, WatermelonDB uses the LokiJS in-memory database to store and query data. WatermelonDB is one of the rare projects that support both Flow and Typescript at the same time.
-
-### AWS Amplify
-
-
-
-AWS Amplify is a collection of tools and libraries to develop web- and mobile frontend applications. Similar to firebase, it provides everything needed like authentication, analytics, a REST API, storage and so on. Everything hosted in the AWS Cloud, even when they state that *"AWS Amplify is designed to be open and pluggable for any custom backend or service"*. For realtime replication, AWS Amplify can connect to an AWS App-Sync GraphQL endpoint.
-
-### AWS Datastore
-
-Since December 2019 the Amplify library includes the AWS Datastore which is a document-based, client side database that is able to replicate data via AWS AppSync in the background.
-The main difference to other projects is the complex project configuration via the amplify cli and the bit confusing query syntax that works over functions. Complex Queries with multiple `OR/AND` statements are not possible which might change in the future.
-Local development is hard because the AWS AppSync mock does not support realtime replication. It also is not really offline-first because a user login is always required.
-
-```ts
-// An AWS datastore OR query
-const posts = await DataStore.query(Post, c => c.or(
- c => c.rating("gt", 4).status("eq", PostStatus.PUBLISHED)
-));
-
-// An AWS datastore SORT query
-const posts = await DataStore.query(Post, Predicates.ALL, {
- sort: s => s.rating(SortDirection.ASCENDING).title(SortDirection.DESCENDING)
-});
-```
-
-The biggest difference to RxDB is that you have to use the AWS cloud backends. This might not be a problem if your data is at AWS anyway.
-
-### RethinkDB
-
-
-
-RethinkDB is a backend database that pushed dynamic JSON data to the client in realtime. It was founded in 2009 and the company shut down in 2016.
-Rethink db is not a client side database, it streams data from the backend to the client which of course does not work while offline.
-
-### Horizon
-
-Horizon is the client side library for RethinkDB which provides useful functions like authentication, permission management and subscription to a RethinkDB backend. Offline support [never made](https://github.com/rethinkdb/horizon/issues/58) it to horizon.
-
-### Supabase
-
-
-
-Supabase labels itself as "*an open source Firebase alternative*". It is a collection of open source tools that together mimic many Firebase features, most of them by providing a wrapper around a PostgreSQL database. While it has realtime queries that run over the wire, like with RethinkDB, Supabase has no client-side storage or replication feature and therefore is not offline first.
-
-### CouchDB
-
-
-
-Apache CouchDB is a server-side, document-oriented database that is mostly known for its multi-master replication feature. Instead of having a master-slave replication, with CouchDB you can run replication in any constellation without having a master server as bottleneck where the server even can go off- and online at any time. This comes with the drawback of having a slow replication with much network overhead.
-CouchDB has a changestream and a query syntax similar to MongoDB.
-
-### PouchDB
-
-
-
-PouchDB is a JavaScript database that is compatible with most of the CouchDB API. It has an adapter system that allows you to switch out the underlying storage layer. There are many adapters like for [IndexedDB](./rx-storage-indexeddb.md), [SQLite](./rx-storage-sqlite.md), the Filesystem and so on. The main benefit is to be able to replicate data with any CouchDB compatible endpoint.
-Because of the CouchDB compatibility, PouchDB has to do a lot of overhead in handling the revision tree of document, which is why it can show bad performance for bigger datasets.
-RxDB was originally build around PouchDB until the storage layer was abstracted out in version [10.0.0](./releases/10.0.0.md) so it now allows to use different `RxStorage` implementations. PouchDB has some performance issues because of how it has to store the document revision tree to stay compatible with the CouchDB API.
-
-### Couchbase
-
-Couchbase (originally known as Membase) is another NoSQL document database made for realtime applications.
-It uses the N1QL query language which is more SQL like compared to other NoSQL query languages. In theory you can achieve replication of a Couchbase with a PouchDB database, but this has shown to be not [that easy](https://github.com/pouchdb/pouchdb/issues/7793#issuecomment-501624297).
-
-### Cloudant
-
-Cloudant is a cloud-based service that is based on [CouchDB](./replication-couchdb.md) and has mostly the same features.
-It was originally designed for cloud computing where data can automatically be distributed between servers. But it can also be used to replicate with frontend PouchDB instances to create scalable web applications.
-It was bought by IBM in 2014 and since 2018 the Cloudant Shared Plan is retired and migrated to IBM Cloud.
-
-### Hoodie
-
-Hoodie is a backend solution that enables offline-first JavaScript frontend development without having to write backend code. Its main goal is to abstract away configuration into simple calls to the Hoodie API.
-It uses CouchDB in the backend and PouchDB in the frontend to enable offline-first capabilities.
-The last commit for hoodie was one year ago and the website (hood.ie) is offline which indicates it is not an active project anymore.
-
-### LokiJS
-
-LokiJS is a JavaScript embeddable, in-memory database. And because everything is handled in-memory, LokiJS has awesome performance when mutating or querying data. You can still persist to a permanent storage (IndexedDB, Filesystem etc.) with one of the provided storage adapters. The persistence happens after a timeout is reached after a write, or before the JavaScript process exits. This also means you could loose data when the JavaScript process exits ungracefully like when the power of the device is shut down or the browser crashes.
-While the project is not that active anymore, it is more *finished* than *unmaintained*.
-
-In the past, RxDB supported using [LokiJS as RxStorage](./rx-storage-lokijs.md) but because the LokiJS is not maintained anymore and had too many issues, this storage option was removed in RxDB version 16.
-
-### Gundb
-
-GUN is a JavaScript graph database. While having many features, the **decentralized** replication is the main unique selling point. You can replicate data Peer-to-Peer without any centralized backend server. GUN has several other features that are useful on top of that, like encryption and authentication.
-
-While testing it was really hard to get basic things running. GUN is open source, but because of how the source code [is written](https://github.com/amark/gun/blob/master/src/put.js), it is very difficult to understand what is going wrong.
-
-### sql.js
-
-sql.js is a javascript library to run SQLite on the web. It uses a virtual database file stored in memory and does not have any persistence. All data is lost once the JavaScript process exits. sql.js is created by compiling SQLite to WebAssembly so it has about the same features as SQLite. For older browsers there is a JavaScript fallback.
-
-### absurd-sQL
-
-Absurd-sql is a project that implements an IndexedDB-based persistence for sql.js. Instead of directly writing data into the IndexedDB, it treats IndexedDB like a disk and stores data in blocks there which shows to have a much better performance, mostly because of how [performance expensive](./slow-indexeddb.md) IndexedDB transactions are.
-
-### NeDB
-
-NeDB was a embedded persistent or in-memory database for Node.js, nw.js, [Electron](./electron-database.md) and browsers.
-It is document-oriented and had the same query syntax as MongoDB.
-Like LokiJS it has persistence adapters for IndexedDB etc. to persist the database state on the disc.
-The last commit to NeDB was in **2016**.
-
-### Dexie.js
-
-Dexie.js is a minimalistic wrapper for IndexedDB. While providing a better API than plain IndexedDB, Dexie also improves performance by batching transactions and other optimizations. It also adds additional non-IndexedDB features like observable queries or multi tab support or react hooks.
-Compared to RxDB, Dexie.js does not support complex (MongoDB-like) queries and requires a lot of fiddling when a document range of a specific index must be fetched.
-Dexie.js is used by Whatsapp Web, Microsoft To Do and Github Desktop.
-
-RxDB supports using [Dexie.js as Database storage](./rx-storage-dexie.md) which enhances IndexedDB via dexie with RxDB features like MongoDB-like queries etc.
-
-### LowDB
-
-LowDB is a small, local JSON database powered by the Lodash library. It is designed to be simple, easy to use, and straightforward. LowDB allows you to perform native JavaScript queries and persist data in a flat JSON file. Written in TypeScript, it's particularly well-suited for small projects, prototyping, or when you need a lightweight, file-based database.
-
-As an alternative to LowDB, [RxDB](./) offers real-time reactivity, allowing developers to subscribe to database changes, a feature not natively available in LowDB. Additionally, RxDB provides robust [query capabilities](./rx-query.md), including the ability to subscribe to query results for automatic UI updates. These features make RxDB a strong alternative to LowDB for more complex and dynamic applications.
-
-### localForage
-localForage is a popular JavaScript library for offline storage that provides a simple, promise-based API. It abstracts over different storage mechanisms such as [IndexedDB](./rx-storage-indexeddb.md), WebSQL, or [localStorage](./articles/localstorage.md), making it easier to write code once and have it work seamlessly across various browsers. While localForage is great for storing data locally in a key-value manner, it doesn't provide the real-time reactive queries, [conflict handling](./transactions-conflicts-revisions.md), or revision-based replication that RxDB does. This makes localForage a useful choice for straightforward caching or persistent storage needs, but not ideal for advanced offline-first scenarios requiring multi-user collaboration or complex querying.
-
-### MongoDB Realm
-
-Originally Realm was a mobile database for Android and iOS. Later they added support for other languages and runtimes, also for JavaScript.
-It was meant as replacement for SQLite but is more like an object store than a full SQL database.
-In 2019 MongoDB bought Realm and changed the projects focus.
-Now Realm is made for replication with the MongoDB Realm Sync based on the MongoDB Atlas Cloud platform. This tight coupling to the MongoDB cloud service is a big downside for most use cases.
-
-### Apollo
-
-The Apollo GraphQL platform is made to transfer data between a server to UI applications over GraphQL endpoints. It contains several tools like GraphQL clients in different languages or libraries to create GraphQL endpoints.
-
-While it is has different caching features for offline usage, compared to RxDB it is not fully offline first because caching alone does not mean your application is fully usable when the user is offline.
-
-### Replicache
-
-Replicache is a client-side sync framework for building realtime, collaborative, [local-first](./articles/local-first-future.md) web apps. It claims to work with most backend stacks. In contrast to other local first tools, replicache does not work like a local database. Instead it runs on so called `mutators` that unify behavior on the client and server side. So instead of implementing and calling REST routes on both sides of your stack, you will implement mutators that define a specific delta behavior based on the input data. To observe data in replicache, there are `subscriptions` that notify your frontend application about changes to the state.
-Replicache can be used in most frontend technologies like browsers, React/Remix, NextJS/Vercel and React Native. While Replicache can be installed and used from npm, the Replicache source code is not open source and the Replicache github repo does not allow you to inspect or debug it. Still you can use replicache for in non-commercial projects, or for companies with < $200k revenue (ARR) and < $500k in funding. (2024: Replicache will be free and Rocicorp are working on a new Zerosync product to succeed Replicache and Reflect.)
-
-### InstantDB
-
-InstantDB is designed for real-time data synchronization with built-in offline support, allowing changes to be queued locally and [synced](./replication.md) when the user reconnects. While it offers seamless [optimistic updates](./articles/optimistic-ui.md) and rollback capabilities, its offline-first design is not as mature or comprehensive as RxDB's - the [offline data](./articles//offline-database.md) is more of a cache, not a full-database sync. The query language used is Datalog, and the backend sync service is written in Clojure. InstantDB is focused more on simplicity and real-time collaboration, with fewer customization options for storage or conflict resolution compared to RxDB, which supports various storage adapters and advanced conflict handling via CRDTs.
-
-### Yjs
-
-Yjs is a [CRDT-based](./crdt.md) (Conflict-free Replicated Data Type) library focused on enabling real-time collaboration - particularly for text editing, although it can handle other data types as well. While it provides powerful conflict resolution and peer-to-peer synchronization out of the box, Yjs itself is not a full-fledged database. Instead, you typically combine Yjs with other storage or networking layers to achieve a [local-first architecture](./offline-first.md). This flexibility allows for sophisticated [real-time](./articles/realtime-database.md) features, but also means you must handle indexing, queries, and persistence on your own if you need them. Compared to RxDB, Yjs does not offer built-in replication adapters or a query system, so developers who require a more complete solution for conflict resolution, data persistence, and offline-first capabilities may find RxDB more convenient.
-
-### ElectricSQL
-
-2024: ElectricSQL is being rewritten in a new Electric-Next branch, which focuses on partial syncing of ("shapes", which makes is basically a NoSQL like document database) of data from a remote Postgres DB to a local clients written in TypeScript/JS or Elixir. The write path is not yet implemented, neither is client-side reactivity. The ElectricSQL backend is written in Elixir.
-
-### SignalDB
-
-SignalDB provides a reactive, in-memory local-lirst JavaScript database with real-time sync, bit it doesn't offer the same level of multi-client replication or flexibility with storage backends that RxDB provides, and through a RxDB persistence adapters you can actually use SignalDB for the front-end reactivity while relying on RxDB for backend sync and persistence.
-
-### PowerSync
-
-PowerSync is a "framework" for implementing local-first solutions. It centralizes business logic and conflict resolution on a central, authoritative server (PostgreSQL or MongoDB), vs RxDB that also supports custom backends. Both RxDB and PowerSync can be used with a variety of storage backends, but PowerSync uses SQLite as the front-end database which has shown to be slow because the WASM-SQLite abstraction increases read and write latency. In terms of client SDKs, PowerSync offers Flutter, Kotlin, and Swift in addition to JS/TypeScript. PowerSync offers man client technologies, PowerSync is under a license that restricts commercial use that competes with PowerSync and the JourneyApps Platform.
-
-# Read further
-
-- [Offline First Database Comparison](https://github.com/pubkey/client-side-databases)
-
----
-
-## RxDB as a Database in an Angular Application
-
-import {VideoBox} from '@site/src/components/video-box';
-
-# RxDB as a Database in an Angular Application
-
-In modern web development, Angular has emerged as a popular framework for building robust and scalable applications. As Angular applications often require persistent [storage](./browser-storage.md) and efficient data handling, choosing the right database solution is crucial. One such solution is [RxDB](https://rxdb.info/), a reactive JavaScript database for the browser, node.js, and [mobile devices](./mobile-database.md). In this article, we will explore the integration of RxDB into an Angular application and examine its various features and techniques.
-
-
-
-
-
-
-
-## Angular Web Applications
-Angular is a powerful JavaScript framework developed and maintained by Google. It enables developers to build single-page applications (SPAs) with a modular and component-based approach. Angular provides a comprehensive set of tools and features for creating dynamic and responsive web applications.
-
-## Importance of Databases in Angular Applications
-Databases play a vital role in Angular applications by providing a structured and efficient way to store, retrieve, and manage data. Whether it's handling user authentication, caching data, or persisting application state, a robust database solution is essential for ensuring optimal performance and user experience.
-
-## Introducing RxDB as a Database Solution
-RxDB stands for Reactive Database and is built on the principles of reactive programming. It combines the best features of [NoSQL databases](./in-memory-nosql-database.md) with the power of reactive programming to provide a scalable and efficient database solution. RxDB offers seamless integration with Angular applications and brings several unique features that make it an attractive choice for developers.
-
-
-
-
-
-## Getting Started with RxDB
-To begin our journey with RxDB, let's understand its key concepts and features.
-
-### What is RxDB?
-[RxDB](https://rxdb.info/) is a client-side database that follows the principles of reactive programming. It is built on top of IndexedDB, the [native browser database](./browser-database.md), and leverages the RxJS library for reactive data handling. RxDB provides a simple and intuitive API for managing data and offers features like data replication, multi-tab support, and efficient query handling.
-
-
-
-
-
-
-
-### Reactive Data Handling
-At the core of RxDB is the concept of reactive data handling. RxDB leverages observables and reactive streams to enable real-time updates and data synchronization. With RxDB, you can easily subscribe to data changes and react to them in a reactive and efficient manner.
-
-
-
-### Offline-First Approach
-One of the standout features of RxDB is its offline-first approach. It allows you to build applications that can work seamlessly in offline scenarios. RxDB stores data locally and automatically synchronizes changes with the server when the network becomes available. This capability is particularly useful for applications that need to function in low-connectivity or unreliable network environments.
-
-### Data Replication
-RxDB provides built-in support for data replication between clients and servers. This means you can synchronize data across multiple devices or instances of your application effortlessly. RxDB handles conflict resolution and ensures that data remains consistent across all connected clients.
-
-### Observable Queries
-RxDB offers a powerful querying mechanism with support for observable queries. This allows you to create dynamic queries that automatically update when the underlying data changes. By leveraging RxDB's observable queries, you can build reactive UI components that respond to data changes in real-time.
-
-### Multi-Tab Support
-RxDB provides out-of-the-box support for multi-tab scenarios. This means that if your Angular application is running in multiple browser tabs, RxDB automatically keeps the data in sync across all tabs. It ensures that changes made in one tab are immediately reflected in others, providing a seamless user experience.
-
-
-
-### RxDB vs. Other Angular Database Options
-While there are other database options available for Angular applications, RxDB stands out with its reactive programming model, offline-first approach, and built-in synchronization capabilities. Unlike traditional SQL databases, RxDB's NoSQL-like structure and observables-based API make it well-suited for real-time applications and complex data scenarios.
-
-## Using RxDB in an Angular Application
-Now that we have a good understanding of RxDB and its features, let's explore how to integrate it into an Angular application.
-
-### Installing RxDB in an Angular App
-To use RxDB in an Angular application, we first need to install the necessary dependencies. You can install RxDB using npm or yarn by running the following command:
-
-```bash
-npm install rxdb --save
-```
-Once installed, you can import RxDB into your Angular application and start using its API to create and manage databases.
-
-### Patch Change Detection with zone.js
-Angular uses change detection to detect and update UI elements when data changes. However, RxDB's data handling is based on observables, which can sometimes bypass Angular's change detection mechanism. To ensure that changes made in RxDB are detected by Angular, we need to patch the change detection mechanism using zone.js. Zone.js is a library that intercepts and tracks asynchronous operations, including observables. By patching zone.js, we can make sure that Angular is aware of changes happening in RxDB.
-
-:::warning
-
-RxDB creates rxjs observables outside of angulars zone
-So you have to import the rxjs patch to ensure the [angular change detection](https://angular.io/guide/change-detection) works correctly.
-[link](https://www.bennadel.com/blog/3448-binding-rxjs-observable-sources-outside-of-the-ngzone-in-angular-6-0-2.htm)
-
-```ts
-//> app.component.ts
-import 'zone.js/plugins/zone-patch-rxjs';
-```
-:::
-
-### Use the Angular async pipe to observe an RxDB Query
-Angular provides the async pipe, which is a convenient way to subscribe to observables and handle the subscription lifecycle automatically. When working with RxDB, you can use the async pipe to observe an RxDB query and bind the results directly to your Angular template. This ensures that the UI stays in sync with the data changes emitted by the RxDB query.
-
-```ts
- constructor(
- private dbService: DatabaseService,
- private dialog: MatDialog
- ) {
- this.heroes$ = this.dbService
- .db.hero // collection
- .find({ // query
- selector: {},
- sort: [{ name: 'asc' }]
- })
- .$;
- }
-```
-
-```html
-
- {{hero.name}}
-
-```
-
-### Different RxStorage layers for RxDB
-RxDB supports multiple storage layers for persisting data. Some of the available storage options include:
-
-- [LocalStorage RxStorage](../rx-storage-localstorage.md): Uses the [LocalStorage API](./localstorage.md) without any third party plugins.
-- [IndexedDB RxStorage](../rx-storage-indexeddb.md): RxDB directly supports IndexedDB as a storage layer. IndexedDB is a low-level browser database that offers good performance and reliability.
-- [OPFS RxStorage](../rx-storage-opfs.md): The OPFS [RxStorage](../rx-storage.md) for RxDB is built on top of the [File System Access API](https://webkit.org/blog/12257/the-file-system-access-api-with-origin-private-file-system/) which is available in [all modern browsers](https://caniuse.com/native-filesystem-api). It provides an API to access a sandboxed private file system to persistently store and retrieve data.
-Compared to other persistent storage options in the browser (like [IndexedDB](../rx-storage-indexeddb.md)), the OPFS API has a **way better performance**.
-- [Memory RxStorage](../rx-storage-memory.md): In addition to persistent storage options, RxDB also provides a memory-based storage layer. This is useful for testing or scenarios where you don't need long-term data persistence.
-You can choose the storage layer that best suits your application's requirements and configure RxDB accordingly.
-
-## Synchronizing Data with RxDB between Clients and Servers
-
-Data replication between an Angular application and a server is a common requirement. RxDB simplifies this process and provides built-in support for data synchronization. Let's explore how to replicate data between an Angular application and a server using RxDB.
-
-
-
-### Offline-First Approach
-One of the key strengths of RxDB is its [offline-first approach](../offline-first.md). It allows Angular applications to function seamlessly even in offline scenarios. RxDB stores data locally and automatically synchronizes changes with the server when the network becomes available. This capability is particularly useful for applications that need to operate in low-connectivity or unreliable network environments.
-
-### Conflict Resolution
-In a distributed system, conflicts can arise when multiple clients modify the same data simultaneously. RxDB offers conflict resolution mechanisms to handle such scenarios. You can define conflict resolution strategies based on your application's requirements. RxDB provides hooks and events to detect conflicts and resolve them in a consistent manner.
-
-### Bidirectional Synchronization
-RxDB supports bidirectional data synchronization, allowing updates from both the client and server to be replicated seamlessly. This ensures that data remains consistent across all connected clients and the server. RxDB handles conflicts and resolves them based on the defined conflict resolution strategies.
-
-### Real-Time Updates
-RxDB provides real-time updates by leveraging reactive programming principles. Changes made to the data are automatically propagated to all connected clients in real-time. Angular applications can subscribe to these updates and update the user interface accordingly. This real-time capability enables collaborative features and enhances the overall user experience.
-
-## Advanced RxDB Features and Techniques
-RxDB offers several advanced features and techniques that can further enhance your Angular application.
-
-### Indexing and Performance Optimization
-To improve query performance, RxDB allows you to define indexes on specific fields of your documents. Indexing enables faster data retrieval and query execution, especially when working with large datasets. By strategically creating indexes, you can optimize the performance of your Angular application.
-
-### Encryption of Local Data
-RxDB provides built-in support for [encrypting](../encryption.md) local data using the Web Crypto API. With encryption, you can protect sensitive data stored in the client-side database. RxDB transparently encrypts the data, ensuring that it remains secure even if the underlying storage is compromised.
-
-### Change Streams and Event Handling
-RxDB exposes change streams, which allow you to listen for data changes at a database or collection level. By subscribing to change streams, you can react to data modifications and perform specific actions, such as updating the UI or triggering notifications. Change streams enable real-time event handling in your Angular application.
-
-### JSON Key Compression
-To reduce the storage footprint and improve performance, RxDB supports [JSON key compression](../key-compression.md). With key compression, RxDB replaces long keys with shorter aliases, reducing the overall storage size. This optimization is particularly useful when working with large datasets or frequently updating data.
-
-## Best Practices for Using RxDB in Angular Applications
-To make the most of RxDB in your Angular application, consider the following best practices:
-
-### Use Async Pipe for Subscriptions so you do not have to unsubscribe
-Angular's `async` pipe is a powerful tool for handling observables in templates. By using the async pipe, you can avoid the need to manually subscribe and unsubscribe from RxDB observables. Angular takes care of the subscription lifecycle, ensuring that resources are released when they are no longer needed. Instead of manually subscribing to Observables, you should always prefer the `async` pipe.
-
-```ts
-// WRONG:
-let amount;
-this.dbService
- .db.hero
- .find({
- selector: {},
- sort: [{ name: 'asc' }]
- })
- .$.subscribe(docs => {
- amount = 0;
- docs.forEach(d => amount = d.points);
- });
-
-// RIGHT:
-this.amount$ = this.dbService
- .db.hero
- .find({
- selector: {},
- sort: [{ name: 'asc' }]
- })
- .$.pipe(
- map(docs => {
- let amount = 0;
- docs.forEach(d => amount = d.points);
- return amount;
- })
- );
-```
-
-### Use custom reactivity to have signals instead of rxjs observables
-
-RxDB supports adding custom reactivity factories that allow you to get angular signals out of the database instead of rxjs observables. [read more](../reactivity.md).
-
-### Use Angular Services for Database creation
-To ensure proper separation of concerns and maintain a clean codebase, it is recommended to create an Angular service responsible for managing the RxDB database instance. This service can handle database creation, initialization, and provide methods for interacting with the database throughout your application.
-
-### Efficient Data Handling
-RxDB provides various mechanisms for efficient data handling, such as batching updates, debouncing, and throttling. Leveraging these techniques can help optimize performance and reduce unnecessary UI updates. Consider the specific data handling requirements of your application and choose the appropriate strategies provided by RxDB.
-
-### Data Synchronization Strategies
-When working with data synchronization between clients and servers, it's important to consider strategies for conflict resolution and handling network failures. RxDB provides plugins and hooks that allow you to customize the replication behavior and implement specific synchronization strategies tailored to your application's needs.
-
-## Conclusion
-RxDB is a powerful database solution for Angular applications, offering reactive data handling, offline-first capabilities, and seamless data synchronization. By integrating RxDB into your Angular application, you can build responsive and scalable web applications that provide a rich user experience. Whether you're building real-time collaborative apps, progressive web applications, or offline-capable applications, RxDB's features and techniques make it a valuable addition to your Angular development toolkit.
-
-## Follow Up
-To explore more about RxDB and leverage its capabilities for browser database development, check out the following resources:
-
-- [RxDB GitHub Repository](https://github.com/pubkey/rxdb): Visit the official GitHub repository of RxDB to access the source code, documentation, and community support.
-- [RxDB Quickstart](../quickstart.md): Get started quickly with RxDB by following the provided quickstart guide, which provides step-by-step instructions for setting up and using RxDB in your projects.
-- [RxDB Angular Example at GitHub](https://github.com/pubkey/rxdb/tree/master/examples/angular)
-
----
-
-## Build Smarter Offline-First Angular Apps - How RxDB Beats IndexedDB Alone
-
-import {Tabs} from '@site/src/components/tabs';
-import {Steps} from '@site/src/components/steps';
-
-# Build Smarter Offline-First Angular Apps: How RxDB Beats IndexedDB Alone
-
-In modern web applications, offline capabilities and fast interactions are crucial. IndexedDB, the [browser](./browser-database.md)'s built-in database, allows you to store data locally, making your Angular application more robust and responsive. However, IndexedDB can be cumbersome to work with directly. That's where RxDB (Reactive Database) shines. In this article, we'll walk you through how to utilize IndexedDB in your Angular project using [RxDB](https://rxdb.info/) as a convenient abstraction layer.
-
-## What Is IndexedDB?
-[IndexedDB](https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API) is a low-level JavaScript API for client-side storage of large amounts of structured data. It allows you to create key-value or object store-based data storage right in the user's browser. IndexedDB supports transactions and indexing but lacks a robust query API and can be complex to use due to its callback-based nature.
-
-
-
-
-
-## Why Use IndexedDB in Angular
-
-- [Offline-First](../offline-first.md)/[Local-First](./local-first-future.md): If your app needs to function with limited or no internet connectivity, IndexedDB provides a reliable local storage layer. Users can continue using the application offline, and data can sync when the connection is restored.
-
-- **Performance**: Local data access comes with [near-zero latency](./zero-latency-local-first.md), removing the need for constant server requests and eliminating most loading spinners.
-
-- **Easier to Implement**: By replicating all necessary data to the client once, you avoid implementing numerous backend endpoints for each user interaction.
-
-- **Scalability**: Local data queries remove processing load from your servers and reduce bandwidth usage by handling queries on the client side.
-
-## Why Using Plain IndexedDB is a Problem
-
-Despite the advantages, directly working with IndexedDB has several drawbacks:
-
-- **Callback-Based**: IndexedDB was originally designed around a callback-based API, which can be unwieldy compared to modern Promise or RxJS-based flows.
-
-- **Difficult to Implement**: IndexedDB is often described as a "low-level" API. It's more suitable for library authors rather than application developers who simply need a robust local store.
-
-- **Rudimentary Query API**: Complex or dynamic queries are cumbersome with IndexedDB's basic get/put approach and limited indexes.
-
-- **TypeScript Support**: Maintaining strong TypeScript types for all document structures is not straightforward with IndexedDB's untyped object stores.
-
-- **No Observable API**: IndexedDB cannot directly emit live data changes. With RxDB, you can subscribe to changes on a collection or even a single document field.
-
-- **Cross-Tab Synchronization**: Handling concurrent data changes across multiple browser tabs is difficult in IndexedDB. RxDB has built-in multi-tab support that keeps all tabs in sync.
-
-- **Advanced Features Missing**: IndexedDB lacks built-in support for encryption, compression, or other advanced data management features.
-
-- **Browser-Only**: IndexedDB works in the browser but not in environments like React Native or Electron. RxDB offers storage adapters to seamlessly reuse the same code on different platforms.
-
-
-
-
-
-
-
-## Set Up RxDB in Angular
-
-### Installing RxDB
-
-You can [install RxDB](../install.md) into your Angular application via npm:
-
-```bash
-npm install rxdb --save
-```
-
-### Patch Change Detection with zone.js
-
-RxDB creates RxJS observables outside of Angular's zone, meaning Angular won't automatically trigger change detection when new data arrives. You must patch RxJS with zone.js:
-
-```ts
-//> app.component.ts
-/**
- * IMPORTANT: RxDB creates rxjs observables outside of Angular's zone
- * So you have to import the rxjs patch to ensure change detection works correctly.
- * @link https://www.bennadel.com/blog/3448-binding-rxjs-observable-sources-outside-of-the-ngzone-in-angular-6-0-2.htm
- */
-import 'zone.js/plugins/zone-patch-rxjs';
-```
-
-### Create a Database and Collections
-
-RxDB supports multiple storage options. The free and simple approach is using the [localstorage-based](../rx-storage-localstorage.md) storage. For higher performance, there's a premium plain [IndexedDB storage](../rx-storage-indexeddb.md).
-
-```ts
-import { createRxDatabase } from 'rxdb/plugins/core';
-
-// Define your schema
-const heroSchema = {
- title: 'hero schema',
- version: 0,
- description: 'Describes a hero in your app',
- primaryKey: 'id',
- type: 'object',
- properties: {
- id: {
- type: 'string',
- maxLength: 100
- },
- name: {
- type: 'string'
- },
- power: {
- type: 'string'
- }
- },
- required: ['id', 'name']
-};
-```
-
-
-
-### Localstorage
-
-```ts
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-export async function initDB() {
- // Create a database
- const db = await createRxDatabase({
- name: 'heroesdb', // the name of the database
- storage: getRxStorageLocalstorage()
- });
-
- // Add collections
- await db.addCollections({
- heroes: {
- schema: heroSchema
- }
- });
-
- return db;
-}
-```
-
-### IndexedDB
-
-```ts
-import { getRxStorageIndexedDB } from 'rxdb-premium/plugins/storage-indexeddb';
-export async function initDB() {
- // Create a database
- const db = await createRxDatabase({
- name: 'heroesdb', // the name of the database
- storage: getRxStorageIndexedDB()
- });
-
- // Add collections
- await db.addCollections({
- heroes: {
- schema: heroSchema
- }
- });
-
- return db;
-}
-```
-
-
-
-It's recommended to encapsulate database creation logic in an Angular service, such as in a DatabaseService. A full example is available in [RxDB's Angular example](https://github.com/pubkey/rxdb/blob/master/examples/angular/src/app/services/database.service.ts).
-
-### CRUD Operations
-
-Once your database is initialized, you can perform all CRUD operations:
-
-```ts
-// insert
-await db.heroes.insert({ name: 'Iron Man', power: 'Genius-level intellect' });
-
-// bulk insert
-await db.heroes.bulkInsert([
- { name: 'Thor', power: 'God of Thunder' },
- { name: 'Hulk', power: 'Superhuman Strength' }
-]);
-
-// find and findOne
-const heroes = await db.heroes.find().exec();
-const ironMan = await db.heroes.findOne({ selector: { name: 'Iron Man' } }).exec();
-
-// update
-const doc = await db.heroes.findOne({ selector: { name: 'Hulk' } }).exec();
-await doc.update({ $set: { power: 'Unlimited Strength' } });
-
-// delete
-const doc = await db.heroes.findOne({ selector: { name: 'Thor' } }).exec();
-await doc.remove();
-```
-
-## Reactive Queries and Live Updates
-
-A key benefit of RxDB is reactivity. You can subscribe to changes and have your UI automatically reflect updates in [real time](./realtime-database.md) even across browser tabs.
-
-
-
-### With RxJS Observables and Async Pipes
-
-In Angular, you can display this data with the `AsyncPipe`:
-
-```ts
-constructor(private dbService: DatabaseService) {
- this.heroes$ = this.dbService.db.heroes.find({
- selector: {},
- sort: [{ name: 'asc' }]
- }).$;
-}
-```
-
-```html
-
-
- {{ hero.name }}
-
-
-```
-
-### With Angular Signals
-
-Angular Signals are a newer approach for reactivity. RxDB supports them via a [custom reactivity](../reactivity.md) factory. You can convert RxJS Observables to Signals using Angular's `toSignal`:
-
-```ts
-import { RxReactivityFactory } from 'rxdb/plugins/core';
-import { Signal, untracked, Injector } from '@angular/core';
-import { toSignal } from '@angular/core/rxjs-interop';
-
-export function createReactivityFactory(injector: Injector): RxReactivityFactory> {
- return {
- fromObservable(observable$, initialValue) {
- return untracked(() =>
- toSignal(observable$, {
- initialValue,
- injector,
- rejectErrors: true
- })
- );
- }
- };
-}
-```
-
-Pass this factory when creating your [RxDatabase](../rx-database.md):
-
-```ts
-import { createRxDatabase } from 'rxdb/plugins/core';
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-import { inject, Injector } from '@angular/core';
-
-const database = await createRxDatabase({
- name: 'mydb',
- storage: getRxStorageLocalstorage(),
- reactivity: createReactivityFactory(inject(Injector))
-});
-```
-
-Use the double-dollar sign (`$$`) to get a `Signal` instead of an `Observable`:
-
-```ts
-const heroesSignal = database.heroes.find().$$;
-```
-
-```html
-
-
- {{ hero.name }}
-
-
-```
-
-## Angular IndexedDB Example with RxDB
-
-A comprehensive example of RxDB in an Angular application is available in the [RxDB GitHub repository](https://github.com/pubkey/rxdb/tree/master/examples/angular). It demonstrates [database](./angular-database.md) creation, queries, and Angular integration using best practices.
-
-## Advanced RxDB Features
-
-Beyond simple CRUD and local data storage, RxDB supports:
-
-- **Replication**: Sync your local data with a remote database. Learn more at [RxDB Replication](https://rxdb.info/replication.html).
-
-- **Data Migration on Schema Changes**: RxDB supports automatic or manual schema migrations to manage backward-compatibility and evolve your data structure. See [RxDB Migration](https://rxdb.info/migration-schema.html).
-
-- **Encryption**: Easily encrypt sensitive data at rest. See [RxDB Encryption](https://rxdb.info/encryption.html).
-
-- **Compression**: Reduce storage and bandwidth usage using key compression. Learn more at [RxDB Key Compression](https://rxdb.info/key-compression.html).
-
-## Limitations of IndexedDB
-
-While IndexedDB works well for many use cases, it does have a few constraints:
-
-- **Potentially Slow**: While adequate for most use cases, IndexedDB performance can degrade for very large datasets. More details at RxDB [Slow IndexedDB](../slow-indexeddb.md).
-
-- **Storage Limits**: Browsers may cap the amount of data you can store in IndexedDB. For more info, see [Local Storage Limits of IndexedDB](./indexeddb-max-storage-limit.md).
-
-## Alternatives to IndexedDB
-
-Depending on your needs, you might explore:
-
-- **Origin Private File System (OPFS)**: A newer browser storage mechanism that can offer better performance. RxDB supports [OPFS storage](../rx-storage-opfs.md).
-
-- **SQLite**: When building a mobile or hybrid app (e.g., with [Capacitor](../capacitor-database.md) or [Ionic](./ionic-database.md)), you can use SQLite locally. See [RxDB with SQLite](../rx-storage-sqlite.md).
-
-## Performance comparison with other browser storages
-Here is a [performance overview](../rx-storage-performance.md) of the various browser based storage implementation of RxDB:
-
-
-
-## Follow Up
-
-Continue your deep dive into RxDB with official quickstart guides and star the repository on GitHub to stay updated.
-
-- **RxDB Quickstart**: Get started quickly with the [RxDB Quickstart](../quickstart.md).
-
-- **RxDB GitHub**: Explore the source, open issues, and star ⭐ the project at [RxDB GitHub Repo](https://github.com/pubkey/rxdb).
-
-By combining IndexedDB's local storage with RxDB's powerful features, you can build performant, robust, and offline-capable Angular applications. RxDB takes care of the lower-level complexities, letting you focus on delivering a great user experience-online or off.
-
----
-
-## Benefits of RxDB & Browser Databases
-
-# RxDB: The benefits of Browser Databases
-In the world of web development, efficient data management is a cornerstone of building successful and performant applications. The ability to store data directly in the browser brings numerous advantages, such as caching, offline accessibility, simplified replication of database state, and real-time application development. In this article, we will explore [RxDB](https://rxdb.info/), a powerful browser JavaScript database, and understand why it is an excellent choice for implementing a browser database solution.
-
-
-
-
-
-
-
-## Why you might want to store data in the browser
-There are compelling reasons to consider storing data in the browser:
-
-### Use the database for caching
-By leveraging a browser database, you can harness the power of caching. Storing frequently accessed data locally enables you to reduce server requests and greatly improve application performance. Caching provides a faster and smoother user experience, enhancing overall user satisfaction.
-
-### Data is offline accessible
-Storing data in the browser allows for offline accessibility. Regardless of an active internet connection, users can access and interact with the application, ensuring uninterrupted productivity and user engagement.
-
-### Easier implementation of replicating database state
-Browser databases simplify the replication of database state across multiple devices or instances of the application. Compared to complex REST routes, replicating data becomes easier and more streamlined. This capability enables the development of real-time and collaborative applications, where changes are seamlessly synchronized among users.
-
-### Building real-time applications is easier with local data
-With a local browser database, building real-time applications becomes more straightforward. The availability of local data allows for reactive data flows and dynamic user interfaces that instantly reflect changes in the underlying data. Real-time features can be seamlessly implemented, providing a rich and interactive user experience.
-
-### Browser databases can scale better
-Browser databases distribute the query workload to users' devices, allowing queries to run locally instead of relying solely on server resources. This decentralized approach improves scalability by reducing the burden on the server, resulting in a more efficient and responsive application.
-
-### Running queries locally has low latency
-Browser databases offer the advantage of running queries locally, resulting in low latency. Eliminating the need for server round-trips significantly improves query performance, ensuring faster data retrieval and a more responsive application.
-
-### Faster initial application start time
-Storing data in the browser reduces the initial application start time. Instead of waiting for data to be fetched from the server, the application can leverage the [local database](./local-database.md), resulting in faster initialization and improved user satisfaction right from the start.
-
-### Easier integration with JavaScript frameworks
-Browser databases, including [RxDB](https://rxdb.info/), seamlessly integrate with popular JavaScript frameworks such as [Angular](./angular-database.md), [React.js](./react-database.md), [Vue.js](./vue-database.md), and Svelte. This integration allows developers to leverage the power of a database while working within the familiar environment of their preferred framework, enhancing productivity and ease of development.
-
-### Store local data with encryption
-Security is a crucial aspect of data storage, especially when handling sensitive information. Browser databases, like RxDB, offer the capability to store local data with encryption, ensuring the confidentiality and protection of sensitive user data.
-
-### Using a local database for state management
-Utilizing a local browser database for state management eliminates the need for traditional state management libraries like Redux or NgRx. This approach simplifies the application's architecture by leveraging the database's capabilities to handle state-related operations efficiently.
-
-### Data is portable and always accessible by the user
-When data is stored in the browser, it becomes portable and always accessible by the user. This ensures that users have control and ownership of their data, enhancing data privacy and accessibility.
-
-## Why SQL databases like SQLite are not a good fit for the browser
-While SQL databases, such as SQLite, excel in server-side scenarios, they are not always the optimal choice for browser-based applications. Here are some reasons why SQL databases may not be the best fit for the browser:
-
-### Push/Pull based vs. reactive
-SQL databases typically rely on a push/pull mechanism, where the server pushes updates to the client or the client pulls data from the server. This approach is not inherently reactive and requires additional effort to implement real-time data updates. In contrast, browser databases like [RxDB](https://rxdb.info/) provide built-in reactive mechanisms, allowing the application to react to data changes seamlessly.
-
-### Build size of server-side databases
-Server-side databases, designed to handle large-scale applications, often have significant build sizes that are unsuitable for browser applications. In contrast, browser databases are specifically optimized for browser environments and leverage browser APIs like [IndexedDB](../rx-storage-indexeddb.md), [OPFS](../rx-storage-opfs.md), and [Webworker](../rx-storage-worker.md), resulting in smaller build sizes.
-
-### Initialization time and performance
-The initialization time and performance of server-side databases can be suboptimal in browser applications. Browser databases, on the other hand, are designed to provide fast initialization and efficient performance within the browser environment, ensuring a smooth user experience.
-
-## Why RxDB is a good fit for the browser
-RxDB stands out as an excellent choice for implementing a browser database solution. Here's why RxDB is a perfect fit for browser applications:
-
-### Observable Queries (rxjs) to automatically update the UI on changes
-RxDB provides Observable Queries, powered by RxJS, enabling automatic UI updates when data changes occur. This reactive approach eliminates the need for manual data synchronization and ensures a real-time and responsive user interface.
-
-```typescript
-const query = myCollection.find({
- selector: {
- age: {
- $gt: 21
- }
- }
-});
-const querySub = query.$.subscribe(results => {
- console.log('got results: ' + results.length);
-});
-```
-
-### NoSQL [JSON](./json-database.md) documents are a better fit for UIs
-RxDB utilizes NoSQL [JSON documents](./json-database.md), which align naturally with UI development in JavaScript. JavaScript's native handling of JSON objects makes working with NoSQL documents more intuitive, simplifying UI-related operations.
-
-### NoSQL has better TypeScript support compared to SQL
-TypeScript is widely used in modern JavaScript development. [NoSQL databases](./in-memory-nosql-database.md), including RxDB, offer excellent TypeScript support, making it easier to build type-safe applications and leverage the benefits of static typing.
-
-### Observable document fields
-RxDB allows observing individual document fields, providing granular reactivity. This feature enables efficient tracking of specific data changes and fine-grained UI updates, optimizing performance and responsiveness.
-
-### Made in JavaScript, optimized for JavaScript applications
-RxDB is built entirely in JavaScript, optimized for JavaScript applications. This ensures seamless integration with JavaScript codebases and maximizes performance within the browser environment.
-
-### Optimized observed queries with the EventReduce Algorithm
-RxDB employs the EventReduce Algorithm to optimize observed queries. This algorithm intelligently reduces unnecessary data transmissions, resulting in efficient query execution and improved performance.
-
-### Built-in multi-tab support
-RxDB natively supports multi-tab applications, allowing data synchronization and replication across different tabs or instances of the same application. This feature ensures consistent data across the application and enhances collaboration and real-time experiences.
-
-
-
-### Handling of schema changes
-RxDB excels in handling schema changes, even when data is stored on multiple client devices. It provides mechanisms to handle schema migrations seamlessly, ensuring data integrity and compatibility as the application evolves.
-
-### Storing documents compressed
-To optimize [storage](./browser-storage.md) space, RxDB allows the [compression](../key-compression.md) of documents. Storing compressed documents reduces storage requirements and improves overall performance, especially in scenarios with large data volumes.
-
-### Flexible storage layer for various platforms
-RxDB offers a flexible storage layer, enabling code reuse across different platforms, including [Electron.js](../electron-database.md), React Native, hybrid apps (e.g., Capacitor.js), and web browsers. This flexibility streamlines development efforts and ensures consistent data management across multiple platforms.
-
-### Replication Algorithm for compatibility with any backend
-RxDB incorporates a [Replication Algorithm](../replication.md) that is open-source and can be made compatible with various backend systems. This compatibility allows seamless data synchronization with different backend architectures, such as own servers, [Firebase](../replication-firestore.md), [CouchDB](../replication-couchdb.md), [NATS](../replication-nats.md) or [WebSocket](../replication-websocket.md).
-
-
-
-## Follow Up
-To explore more about RxDB and leverage its capabilities for browser database development, check out the following resources:
-
-- [RxDB GitHub Repository](https://github.com/pubkey/rxdb): Visit the official GitHub repository of RxDB to access the source code, documentation, and community support.
-- [RxDB Quickstart](../quickstart.md): Get started quickly with RxDB by following the provided quickstart guide, which provides step-by-step instructions for setting up and using RxDB in your projects.
-
-[RxDB](https://rxdb.info/) empowers developers to unlock the power of browser databases, enabling efficient data management, real-time applications, and enhanced user experiences. By leveraging RxDB's features and benefits, you can take your browser-based applications to the next level of performance, scalability, and responsiveness.
-
----
-
-## Browser Storage - RxDB as a Database for Browsers
-
-
-**Storing Data in the Browser**
-
-When it comes to building web applications, one essential aspect is the storage of data. Two common methods of storing data directly within the user's web browser are Localstorage and [IndexedDB](../rx-storage-indexeddb.md). These browser-based storage options serve various purposes and cater to different needs in web development.
-
-
-
-
-
-
-
-### Localstorage
-[Localstorage](./localstorage.md) is a straightforward way to store small amounts of data in the user's web browser. It operates on a simple key-value basis and is relatively easy to use. While it has limitations, it is suitable for basic data storage requirements.
-
-### IndexedDB
-IndexedDB, on the other hand, offers a more robust and structured approach to browser-based data storage. It can handle larger datasets and complex queries, making it a valuable choice for more advanced web applications.
-
-## Why Store Data in the Browser
-Now that we've explored the methods of storing data in the browser, let's delve into why this is a beneficial strategy for web developers:
-
-1. **Caching**:
-Storing data in the browser allows you to cache frequently used information. This means that your web application can access essential data more quickly because it doesn't need to repeatedly fetch it from a server. This results in a smoother and more responsive user experience.
-
-2. **Offline Access**:
-One significant advantage of browser storage is that data becomes portable and remains accessible even when the user is offline. This feature ensures that users can continue to use your application, view their saved information, and make changes, irrespective of their internet connection status.
-
-3. **Faster Real-time Applications**:
-For real-time applications, having data stored locally in the browser significantly enhances performance. Local data allows your application to respond faster to user interactions, creating a more seamless and responsive user interface.
-
-4. **Low Latency Queries**:
-When you run queries locally within the browser, you minimize the latency associated with network requests. This results in near-instant access to data, which is particularly crucial for applications that require rapid data retrieval.
-
-5. **Faster Initial Application Start Time**:
-By preloading essential data into browser storage, you can reduce the initial load time of your web application. Users can start using your application more swiftly, which is essential for making a positive first impression.
-
-6. **Store Local Data with Encryption**:
-For applications that deal with sensitive data, browser storage allows you to implement [encryption](../encryption.md) to secure the stored information. This ensures that even if data is stored on the user's device, it remains confidential and protected.
-
-In summary, storing data in the browser offers several advantages, including improved performance, offline access, and enhanced user experiences. Localstorage and IndexedDB are two valuable tools that developers can utilize to leverage these benefits and create web applications that are more responsive and user-friendly.
-
-## Browser Storage Limitations
-While browser storage, such as Localstorage and IndexedDB, offers many advantages, it's important to be aware of its limitations:
-
-- **Slower Performance Compared to Native Databases**: Browser-based storage solutions can't match the [performance](../rx-storage-performance.md) of native server-side databases. They may experience slower data retrieval and processing, especially for large datasets or complex operations.
-
-- **Storage Space Limitations**: Browsers [impose restrictions on the amount of data that can be stored locally](./indexeddb-max-storage-limit.md). This limitation can be problematic for applications with extensive data storage requirements, potentially necessitating creative solutions to manage data effectively.
-
-## Why SQL Databases Like SQLite Aren't a Good Fit for the Browser
-SQL databases like SQLite, while powerful in server environments, may not be the best choice for browser-based applications due to various reasons:
-
-### Push/Pull Based vs. Reactive
-SQL databases often use a push/pull model for data synchronization. This approach is less reactive and may not align well with the real-time nature of web applications, where immediate updates to the user interface are crucial.
-
-### Build Size of Server-Side Databases
-Server-side databases like SQLite have a significant build size, which can increase the initial load time of web applications. This can result in a suboptimal user experience, particularly for users with slower internet connections.
-
-### Initialization Time and Performance
-SQL databases are optimized for server environments, and their initialization processes and performance characteristics may not align with the needs of web applications. They might not offer the swift performance required for seamless user interactions.
-
-## Why RxDB Is a Good Fit as Browser Storage
-RxDB is an excellent choice for browser-based storage due to its numerous features and advantages:
-
-
-
-
-
-
-
-### Flexible Storage Layer for Various Platforms
-RxDB offers a flexible storage layer that can seamlessly integrate with different platforms, making it versatile and adaptable to various application needs.
-
-### NoSQL JSON Documents Are a Better Fit for UIs
-NoSQL [JSON documents](./json-database.md), used by [RxDB](https://rxdb.info/), are well-suited for user interfaces. They provide a natural and efficient way to structure and display data in web applications.
-
-### NoSQL Has Better TypeScript Support Compared to SQL
-RxDB boasts robust TypeScript support, which is beneficial for developers who prefer type safety and code predictability in their projects.
-
-### Observable Document Fields
-RxDB enables developers to observe individual document fields, offering fine-grained control over data tracking and updates.
-
-### Made in JavaScript, Optimized for JavaScript Applications
-Being built in JavaScript and optimized for JavaScript applications, RxDB seamlessly integrates into web development stacks, minimizing compatibility issues.
-
-### Observable Queries (rxjs) to Automatically Update the UI on Changes
-RxDB's support for Observable Queries allows the user interface to update automatically in real-time when data changes. This reactivity enhances the user experience and simplifies UI development.
-
-```typescript
-const query = myCollection.find({
- selector: {
- age: {
- $gt: 21
- }
- }
-});
-const querySub = query.$.subscribe(results => {
- console.log('got results: ' + results.length);
-});
-```
-
-### Optimized Observed Queries with the EventReduce Algorithm
-RxDB's [EventReduce Algorithm](https://github.com/pubkey/event-reduce) ensures efficient data handling and rendering, improving overall performance and responsiveness.
-
-### Handling of Schema Changes
-RxDB provides built-in support for [handling schema changes](../migration-schema.md), simplifying database management when updates are required.
-
-### Built-In Multi-Tab Support
-For applications requiring multi-tab support, RxDB natively handles data consistency across different browser tabs, streamlining data synchronization.
-
-
-
-### Storing Documents Compressed
-Efficient data storage is achieved through [document compression](../key-compression.md), reducing storage space requirements and enhancing overall performance.
-
-### Replication Algorithm for Compatibility with Any Backend
-RxDB's [Replication Algorithm](../replication.md) facilitates compatibility with various backend systems, ensuring seamless data synchronization between the browser and server.
-
-
-
-## Summary
-
-In conclusion, RxDB is a powerful and feature-rich solution for browser-based storage. Its adaptability, real-time capabilities, TypeScript support, and optimization for JavaScript applications make it an ideal choice for modern web development projects, addressing the limitations of traditional SQL databases in the browser. Developers can harness RxDB to create efficient, responsive, and user-friendly web applications that leverage the full potential of browser storage.
-
-## Follow Up
-To explore more about RxDB and leverage its capabilities for browser storage, check out the following resources:
-
-- [RxDB GitHub Repository](https://github.com/pubkey/rxdb): Visit the official GitHub repository of RxDB to access the source code, documentation, and community support.
-- [RxDB Quickstart](../quickstart.md): Get started quickly with RxDB by following the provided quickstart guide, which provides step-by-step instructions for setting up and using RxDB in your projects.
-
----
-
-## Empower Web Apps with Reactive RxDB Data-base
-
-# RxDB as a data base: Empowering Web Applications with Reactive Data Handling
-In the world of web applications, efficient data management plays a crucial role in delivering a seamless user experience. As mobile applications continue to dominate the digital landscape, the importance of robust data bases becomes evident. In this article, we will explore RxDB as a powerful data base solution for web applications. We will delve into its features, advantages, and advanced techniques, highlighting its ability to handle reactive data and enable an offline-first approach.
-
-
-
-
-
-
-
-## Overview of Web Applications that can benefit from RxDB
-Before diving into the specifics of RxDB, let's take a moment to understand the scope of web applications that can leverage its capabilities. Any web application that requires real-time data updates, offline functionality, and synchronization between clients and servers can greatly benefit from RxDB. Whether it's a collaborative document editing tool, a task management app, or a chat application, RxDB offers a robust foundation for building these types of applications.
-
-## Importance of data bases in Mobile Applications
-Mobile applications have become an integral part of our lives, providing us with instant access to information and services. Behind the scenes, data bases play a pivotal role in storing and managing the data that powers these applications. data bases enable efficient data retrieval, updates, and synchronization, ensuring a smooth user experience even in challenging network conditions.
-
-## Introducing RxDB as a data base Solution
-RxDB, short for Reactive data base, is a client-side data base solution designed specifically for web and mobile applications. Built on the principles of reactive programming, RxDB brings the power of observables and event-driven architecture to data management. With RxDB, developers can create applications that are responsive, offline-ready, and capable of seamless data synchronization between clients and servers.
-
-## Getting Started with RxDB
-### What is RxDB?
-RxDB is an open-source JavaScript data base that leverages reactive programming and provides a seamless API for handling data. It is built on top of existing popular data base technologies, such as IndexedDB, and adds a layer of reactive features to enable real-time data updates and synchronization.
-
-### Reactive Data Handling
-One of the standout features of RxDB is its reactive data handling. It utilizes observables to provide a stream of data that automatically updates whenever a change occurs. This reactive approach allows developers to build applications that respond instantly to data changes, ensuring a highly interactive and real-time user experience.
-
-### Offline-First Approach
-RxDB embraces an offline-first approach, enabling applications to work seamlessly even when there is no internet connectivity. It achieves this by caching data locally on the client-side and synchronizing it with the server when the connection is available. This ensures that users can continue working with the application and have their data automatically synchronized when they come back online.
-
-### Data Replication
-RxDB simplifies the process of data replication between clients and servers. It provides replication plugins that handle the synchronization of data in real-time. These plugins allow applications to keep data consistent across multiple clients, enabling collaborative features and ensuring that each client has the most up-to-date information.
-
-### Observable Queries
-RxDB introduces the concept of observable queries, which are powerful tools for efficiently querying data. With observable queries, developers can subscribe to specific data queries and receive automatic updates whenever the underlying data changes. This eliminates the need for manual polling and ensures that applications always have access to the latest data.
-
-### Multi-Tab support
-RxDB offers multi-tab support, allowing applications to function seamlessly across multiple [browser](./browser-database.md) tabs. This feature ensures that data changes in one tab are immediately reflected in all other open tabs, enabling a consistent user experience across different browser windows.
-
-### RxDB vs. Other data base Options
-When considering data base options for web applications, developers often encounter choices like IndexedDB, [OPFS](../rx-storage-opfs.md), and Memory-based solutions. RxDB, while built on top of IndexedDB, stands out due to its reactive data handling capabilities and advanced synchronization features. Compared to other options, RxDB offers a more streamlined and powerful approach to managing data in web applications.
-
-### Different RxStorage layers for RxDB
-RxDB provides various [storage layers](../rx-storage.md), known as RxStorage, that serve as interfaces to different underlying [storage](./browser-storage.md) technologies. These layers include:
-
-- [LocalStorage RxStorage](../rx-storage-localstorage.md): Built on top of the browsers [localStorage API](./localstorage.md).
-- [IndexedDB RxStorage](../rx-storage-indexeddb.md): This layer directly utilizes IndexedDB as its backend, providing a robust and widely supported storage option.
-- [OPFS RxStorage](../rx-storage-opfs.md): OPFS (Operational Transformation File System) is a file system-like storage layer that allows for efficient conflict resolution and real-time collaboration.
-- Memory RxStorage: Primarily used for testing and development, this storage layer keeps data in memory without persisting it to disk.
-Each RxStorage layer has its strengths and is suited for different scenarios, enabling developers to choose the most appropriate option for their specific use case.
-
-## Synchronizing Data with RxDB between Clients and Servers
-### Offline-First Approach
-As mentioned earlier, RxDB adopts an offline-first approach, allowing applications to function seamlessly in disconnected environments. By caching data locally, applications can continue to operate and make updates even without an internet connection. Once the connection is restored, RxDB's replication plugins take care of synchronizing the data with the server, ensuring consistency across all clients.
-
-### RxDB Replication Plugins
-RxDB provides a range of replication plugins that simplify the process of synchronizing data between clients and servers. These plugins enable real-time replication using various protocols, such as WebSocket or HTTP, and handle conflict resolution strategies to ensure data integrity. By leveraging these replication plugins, developers can easily implement robust and scalable synchronization capabilities in their applications.
-
-### Advanced RxDB Features and Techniques
-Indexing and Performance Optimization
-To achieve optimal performance, RxDB offers indexing capabilities. Indexing allows for efficient data retrieval and faster query execution. By strategically defining indexes on frequently accessed fields, developers can significantly enhance the overall performance of their RxDB-powered applications.
-
-### Encryption of Local Data
-In scenarios where data security is paramount, RxDB provides options for encrypting local data. By encrypting the data base contents, developers can ensure that sensitive information remains secure even if the underlying storage is compromised. RxDB integrates seamlessly with encryption libraries, making it easy to implement end-to-end encryption in applications.
-
-### Change Streams and Event Handling
-RxDB offers change streams and event handling mechanisms, enabling developers to react to data changes in real-time. With change streams, applications can listen to specific collections or documents and trigger custom logic whenever a change occurs. This capability opens up possibilities for building real-time collaboration features, notifications, or other reactive behaviors.
-
-### JSON Key Compression
-In scenarios where storage size is a concern, RxDB provides JSON [key compression](../key-compression.md). By applying compression techniques to JSON keys, developers can significantly reduce the storage footprint of their data bases. This feature is particularly beneficial for applications dealing with large datasets or [limited storage capacities](./indexeddb-max-storage-limit.md).
-
-## Conclusion
-RxDB provides an exceptional data base solution for web and mobile applications, empowering developers to create reactive, offline-ready, and synchronized applications. With its reactive data handling, offline-first approach, and replication plugins, RxDB simplifies the challenges of building real-time applications with data synchronization requirements. By embracing advanced features like indexing, encryption, change streams, and JSON key compression, developers can optimize performance, enhance security, and reduce storage requirements. As web and [mobile applications](./mobile-database.md) continue to evolve, RxDB proves to be a reliable and powerful
-
-
-
-
-
-
-
----
-
-## Embedded Database, Real-time Speed - RxDB
-
-# Using RxDB as an Embedded Database
-In modern UI applications, efficient data storage is a crucial aspect for seamless user experiences. One powerful solution for achieving this is by utilizing an embedded database. In this article, we will explore the concept of an embedded database and delve into the benefits of using [RxDB](https://rxdb.info/) as an embedded database in UI applications. We will also discuss why RxDB stands out as a robust choice for real-time applications with embedded database functionality.
-
-
-
-
-
-
-
-## What is an Embedded Database?
-An embedded database refers to a client-side database system that is integrated directly within an application. It is designed to operate within the client environment, such as a web browser or a [mobile](./mobile-database.md) app. This approach eliminates the need for a separate database server and allows the database to run locally on the client device.
-
-## Embedded Database in UI Applications
-In the context of UI applications, an embedded database serves as a local data storage solution. It enables applications to efficiently manage data, facilitate real-time updates, and enhance performance. Let's explore some of the benefits of using an embedded database compared to a traditional server database:
-
-- Replicating database state becomes easier: Implementing real-time data synchronization and replication is simpler with an embedded database compared to complex REST routes. The embedded nature allows for efficient replication of the database state across multiple instances of the application.
-- Use the database for caching: An embedded database can be utilized for caching frequently accessed data. This caching mechanism enhances performance and reduces the need for repeated network requests, resulting in faster data retrieval.
-- Building real-time applications is easier with local data: By leveraging local data storage, real-time applications can easily update the user interface in response to data changes. This approach simplifies the development of real-time features and enhances the responsiveness of the application.
-- Store local data with [encryption](../encryption.md): Embedded databases, like RxDB, offer the ability to store local data with encryption. This ensures that sensitive information remains protected even when stored locally on the client device.
-- Data is offline accessible: With an embedded database, data remains accessible even when the application is offline. Users can continue to interact with the application and access their data seamlessly, irrespective of their internet connectivity.
-- Faster initial application start time: Since the data is already stored locally, there is no need for initial data fetching from a remote server. This significantly reduces the application's startup time and allows users to engage with the application more quickly.
-- Improved scalability with local queries: Embedded databases, such as RxDB, perform queries locally on the client device instead of relying on server round-trips. This reduces latency and enhances scalability, particularly when dealing with large datasets or high query volumes.
-- Seamless integration with JavaScript frameworks: Embedded databases, including RxDB, integrate seamlessly with popular JavaScript frameworks like Angular, React.js, [Vue.js](./vue-database.md), and Svelte. This compatibility allows developers to leverage the capabilities of these frameworks while benefiting from embedded database functionality.
-- Running queries locally has low latency: With an embedded database, queries are executed locally on the client device, resulting in minimal latency. This improves the overall performance and responsiveness of the application.
-- Data is portable and always accessible by the user: Embedded databases enable data portability, allowing users to seamlessly transition between devices while maintaining their data and application state. This ensures that data is always accessible and available to the user.
-- Using a [local database](./local-database.md) for state management: Instead of relying on additional state management libraries like Redux or NgRx, an embedded database can be used for local state management. This simplifies state management and ensures data consistency within the application.
-
-## Why RxDB as an Embedded Database for Real-time Applications
-RxDB is a JavaScript-based embedded database that offers numerous advantages for building real-time applications. Let's explore why RxDB is a compelling choice:
-
-- [Observable Queries](../rx-query.md) (RxJS): RxDB leverages the power of Observables through RxJS, enabling developers to create queries that automatically update the user interface on data changes. This reactive approach simplifies UI updates and ensures real-time synchronization of data.
-- [NoSQL JSON Documents](./json-database.md) for UIs: RxDB utilizes NoSQL (JSON) documents as its data model, aligning seamlessly with the requirements of modern UI development. JavaScript's native support for JSON objects makes NoSQL documents a natural fit for UI-driven applications.
-- Better TypeScript Support Compared to SQL: RxDB's NoSQL approach provides excellent TypeScript support. The flexibility of working with JSON objects enables robust typing and enhanced development experiences, ensuring type safety and reducing runtime errors.
-- [Observable Document Fields](../rx-document.md): RxDB allows developers to observe individual fields within documents. This granularity enables efficient tracking of specific data changes and facilitates targeted UI updates, enhancing performance and responsiveness.
-- Made in JavaScript, Optimized for JavaScript Applications: Being built entirely in JavaScript, RxDB is optimized for JavaScript applications. It leverages JavaScript's capabilities and integrates seamlessly with JavaScript frameworks and libraries, making it a natural choice for JavaScript developers.
-- Optimized Observed Queries with the [EventReduce Algorithm](https://github.com/pubkey/event-reduce): RxDB incorporates the EventReduce algorithm to optimize observed queries. This algorithm reduces the number of emitted events during query execution, resulting in enhanced query performance and reduced overhead.
-- Built-in Multi-tab Support: RxDB provides built-in multi-tab support, allowing multiple instances of an application to share and synchronize data seamlessly. This feature enables collaborative and real-time scenarios across multiple browser tabs or windows.
-- Handling of Schema Changes across Multiple Client Devices: With RxDB, handling schema changes across multiple client devices becomes straightforward. RxDB's schema [migration capabilities](../migration-schema.md) ensure that applications can seamlessly adapt to evolving data structures, providing a consistent experience across different devices.
-- Storing Documents Compressed: RxDB offers the ability to store documents in a compressed format. This reduces the storage footprint and improves performance, especially when dealing with large datasets.
-- Flexible Storage Layer and Cross-platform Compatibility: RxDB provides a flexible storage layer that can be reused across various platforms, including [Electron.js](../electron-database.md), [React Native](../react-native-database.md), hybrid apps (via Capacitor.js), and browsers. This cross-platform compatibility simplifies development and enables code reuse across different environments.
-- Replication Algorithm for Backend Compatibility: RxDB's replication algorithm is open-source and can be made compatible with various backend solutions, such as self-hosted servers, Firebase, [CouchDB](../replication-couchdb.md), NATS, WebSockets, and more. This flexibility allows developers to choose their preferred backend infrastructure while benefiting from RxDB's embedded database capabilities.
-
-
-
-
-
-
-
-## Follow Up
-To further explore [RxDB](https://rxdb.info/) and leverage its capabilities as an embedded database, the following resources can be helpful:
-
-- [RxDB GitHub Repository](https://github.com/pubkey/rxdb): Visit the official GitHub repository of RxDB to access the source code, documentation, and community support.
-- [RxDB Quickstart](../quickstart.md): Get started quickly with RxDB by following the provided quickstart guide, which offers step-by-step instructions for setting up and using RxDB in your projects.
-
-By utilizing [RxDB](https://rxdb.info/) as an embedded database in UI applications, developers can harness the power of efficient data management, real-time updates, and enhanced user experiences. RxDB's features and benefits make it a compelling choice for building modern, responsive, and scalable applications.
-
----
-
-## RxDB - Firebase Realtime Database Alternative to Sync With Your Own Backend
-
-# RxDB - The Firebase Realtime Database Alternative That Can Sync With Your Own Backend
-
-Are you on the lookout for a **Firebase Realtime Database alternative** that gives you greater freedom, deeper offline capabilities, and allows you to seamlessly integrate with any backend? **RxDB** (Reactive Database) might be the perfect choice. This [local-first](./local-first-future.md), NoSQL data store runs entirely on the client while supporting real-time updates and robust syncing with any server environment—making it a strong contender against Firebase Realtime Database's limitations and potential vendor lock-in.
-
-
-
-
-
-
-
-## Why RxDB Is an Excellent Firebase Realtime Database Alternative
-
-### 1. Complete Offline-First Experience
-Unlike Firebase Realtime Database, which relies on central infrastructure to process data, RxDB is fully embedded within your client application (including [browsers](./browser-database.md), [Node.js](../nodejs-database.md), [Electron](../electron-database.md), and [React Native](../react-native-database.md)). This design means your app stays completely functional offline, since all data reads and writes happen locally. When connectivity is restored, RxDB's syncing framework automatically reconciles local changes with your remote backend.
-
-### 2. Freedom to Use Any Server or Cloud
-While Firebase Realtime Database ties you into Google's ecosystem, RxDB allows you to choose any hosting environment. You can:
-- Host your data on your own servers or private cloud.
-- Integrate with relational databases like [PostgreSQL](../replication-http.md) or other NoSQL options such as [CouchDB](../replication-couchdb.md).
-- Build custom endpoints using [REST](../replication-http.md), [GraphQL](../replication-graphql.md), or any other protocol.
-
-This flexibility ensures you're not locked into a single vendor and can adapt your backend strategy as your project evolves.
-
-### 3. Advanced Conflict Handling
-Firebase Realtime Database typically updates data with a simple last-in-wins approach. RxDB, on the other hand, lets you implement more sophisticated conflict resolution logic. Using [revisions and conflict handlers](../transactions-conflicts-revisions.md#custom-conflict-handler), RxDB can merge concurrent edits or preserve multiple versions—ensuring your application remains consistent even when multiple clients modify the same data at the same time.
-
-### 4. Lower Cloud Costs for Read-Heavy Apps
-When you rely on Firebase Realtime Database, each query or listener can translate into ongoing reads, potentially running up your monthly bill. With RxDB, all queries are performed [locally](../offline-first.md). Your app only communicates with the backend to sync document changes, significantly reducing bandwidth and hosting expenses for applications that frequently read data.
-
-### 5. Powerful Local Queries
-If you've hit Firebase Realtime Database's querying limits, RxDB offers a far more robust approach to data retrieval. You can:
-- Define custom indexes for faster local lookups.
-- Perform sophisticated filters, joins, or full-text searches right on the client.
-- Subscribe to real-time data updates through RxDB's [reactive query engine](../reactivity.md).
-
-Because these operations happen locally, your [UI updates](./optimistic-ui.md) instantly, providing a snappy user experience.
-
-### 6. True Offline Initialization
-While Firebase offers some offline caching, it often requires an initial connection for authentication or to seed local data. RxDB, however, is built to handle an **offline-start** scenario. Users can begin working with the application immediately, regardless of connectivity, and any modifications they make will sync once the network is available again.
-
-### 7. Works Everywhere JavaScript Runs
-One of RxDB's core strengths is its ability to run in **any JavaScript environment**. Whether you're building a web app that uses IndexedDB in the browser, an [Electron](../electron-database.md) desktop program, or a [React Native](../react-native-database.md) mobile application, RxDB's **swappable storage** adapts to your runtime of choice. This consistency makes code-sharing and cross-platform development far simpler than being tied to a single backend system.
-
----
-
-## How RxDB's Syncing Mechanism Operates
-
-RxDB employs its own [Sync Engine](../replication.md) to manage data flow between your client and remote [servers](../rx-server.md). Replication revolves around:
-1. **Pull**: Retrieving updated or newly created documents from the server.
-2. **Push**: Sending local changes to the backend for persistence.
-3. **Live Updates**: Continuously streaming changes to and from the backend for real-time synchronization.
-
-## Sample Code: Sync RxDB With a Custom Endpoint
-
-```ts
-import { createRxDatabase } from 'rxdb/plugins/core';
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-import { replicateRxCollection } from 'rxdb/plugins/replication';
-
-async function initDB() {
- const db = await createRxDatabase({
- name: 'localdb',
- storage: getRxStorageLocalstorage(),
- multiInstance: true,
- eventReduce: true
- });
-
- await db.addCollections({
- tasks: {
- schema: {
- title: 'task schema',
- version: 0,
- type: 'object',
- primaryKey: 'id',
- properties: {
- id: { type: 'string', maxLength: 100 },
- title: { type: 'string' },
- complete: { type: 'boolean' }
- }
- }
- }
- });
-
- // Start a custom replication
- replicateRxCollection({
- collection: db.tasks,
- replicationIdentifier: 'custom-tasks-api',
- push: {
- handler: async (docs) => {
- // post local changes to your server
- const resp = await fetch('https://yourapi.com/tasks/push', {
- method: 'POST',
- body: JSON.stringify({ changes: docs })
- });
- return await resp.json(); // return conflicting documents if any
- }
- },
- pull: {
- handler: async (lastCheckpoint, batchSize) => {
- // fetch new/updated items from your server
- const response = await fetch(
- `https://yourapi.com/tasks/pull?checkpoint=${JSON.stringify(
- lastCheckpoint
- )}&limit=${batchSize}`
- );
- return await response.json();
- }
- },
- live: true
- });
-
- return db;
-}
-```
-
-### Setting Up P2P Replication Over WebRTC
-In addition to using a centralized backend, RxDB supports peer-to-peer synchronization through WebRTC, enabling devices to share data directly.
-
-```ts
-import {
- replicateWebRTC,
- getConnectionHandlerSimplePeer
-} from 'rxdb/plugins/replication-webrtc';
-
-const webrtcPool = await replicateWebRTC({
- collection: db.tasks,
- topic: 'p2p-topic-123',
- connectionHandlerCreator: getConnectionHandlerSimplePeer({
- signalingServerUrl: 'wss://signaling.rxdb.info/',
- wrtc: require('node-datachannel/polyfill'),
- webSocketConstructor: require('ws').WebSocket
- })
-});
-
-webrtcPool.error$.subscribe((error) => {
- console.error('P2P error:', error);
-});
-```
-
-Here, any client that joins the same topic communicates changes to other peers, all without requiring a traditional client-server model.
-
-## Quick Steps to Get Started
-
-1. Install RxDB
-```bash
-npm install rxdb rxjs
-```
-
-2. Create a Local Database
-```ts
-import { createRxDatabase } from 'rxdb/plugins/core';
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-
-const db = await createRxDatabase({
- name: 'myLocalDB',
- storage: getRxStorageLocalstorage()
-});
-Add a Collection
-ts
-Kopieren
-await db.addCollections({
- notes: {
- schema: {
- title: 'notes schema',
- version: 0,
- primaryKey: 'id',
- type: 'object',
- properties: {
- id: { type: 'string', maxLenght: 100 },
- content: { type: 'string' }
- }
- }
- }
-});
-```
-
-3. Synchronize
-
-Use one of the [Replication Plugins](../replication.md) to connect with your preferred backend.
-
-### Is RxDB the Right Solution for You?
-
-- **Long Offline Use**: If your users need to work without an internet connection, RxDB's built-in offline-first design stands out compared to Firebase Realtime Database's partial offline approach.
-- **Custom or Complex Queries**: RxDB lets you perform your [queries](../rx-query.md) locally, define [indexing](../rx-schema.md#indexes), and handle even complex [transformations](../rx-pipeline.md) locally - no extra call to an external API.
-- **Avoid Vendor Lock-In**: If you anticipate needing to move or adapt your backend later, you can do so without rewriting how your client manages its data.
-- **Peer-to-Peer Collaboration**: Whether you need quick demos or real production use, [WebRTC replication](../replication-webrtc.md) can link your users directly without central coordination of data storage.
-
----
-
-## RxDB - Firestore Alternative to Sync with Your Own Backend
-
-# RxDB - The Firestore Alternative That Can Sync with Your Own Backend
-
-If you're seeking a **Firestore alternative**, you're likely looking for a way to:
-- **Avoid vendor lock-in** while still enjoying real-time replication.
-- **Reduce cloud usage costs** by reading data locally instead of constantly fetching from the server.
-- **Customize** how you store, query, and secure your data.
-- **Implement advanced conflict resolution** strategies beyond Firestore's last-write-wins approach.
-
-Enter **RxDB** (Reactive Database) - a [local-first](./local-first-future.md), NoSQL database for JavaScript applications that can sync in real time with **any** backend of your choice. Whether you're tired of the limitations and fees associated with Firebase Cloud Firestore or simply need more flexibility, RxDB might be the Firestore alternative you've been searching for.
-
-
-
-
-
-
-
-## What Makes RxDB a Great Firestore Alternative?
-
-Firestore is convenient for many projects, but it does lock you into Google's ecosystem. Below are some of the key advantages you gain by choosing RxDB:
-
-### 1. Fully Offline-First
-RxDB runs directly in your client application ([browser](./browser-database.md), [Node.js](../nodejs-database.md), [Electron](../electron-database.md), [React Native](../react-native-database.md), etc.). Data is stored locally, so your application **remains fully functional even when offline**. When the device returns online, RxDB's flexible replication protocol synchronizes your local changes with any remote endpoint.
-
-### 2. Freedom to Use Any Backend
-Unlike Firestore, RxDB doesn't require a proprietary hosting service. You can:
-- Host your data on your own server (Node.js, Go, Python, etc.).
-- Use existing databases like [PostgreSQL](../replication-http.md), [CouchDB](../replication-couchdb.md), or [MongoDB with custom endpoints](../replication.md).
-- Implement a [custom GraphQL](../replication-graphql.md) or [REST-based](../replication-http.md) API for syncing.
-
-This **backend-agnostic** approach protects you from vendor lock-in. Your application's client-side data storage remains consistent; only your replication logic (or plugin) changes if you switch servers.
-
-### 3. Advanced Conflict Resolution
-Firestore enforces a [last-write-wins](https://stackoverflow.com/a/47781502/3443137) conflict resolution strategy. This might cause issues if multiple users or devices update the same data in complex ways.
-
-RxDB lets you:
-- Implement **custom conflict resolution** via [revisions](../transactions-conflicts-revisions.md#custom-conflict-handler).
-- Store partial merges, track versions, or preserve multiple user edits.
-- Fine-tune how your data merges to ensure consistency across distributed systems.
-
-### 4. Reduced Cloud Costs
-Firestore queries often count as billable reads. With RxDB, queries run **locally** against your local state - no repeated network calls or extra charges. You pay only for the data actually synced, not every read. For **read-heavy** apps, using RxDB as a Firestore alternative can significantly reduce costs.
-
-### 5. No Limits on Query Features
-Firestore's query engine is limited by certain constraints (e.g., no advanced joins, limited indexing). With RxDB:
-- **NoSQL** data is stored locally, and you can define any indexes you need.
-- Perform [complex queries](../rx-query.md), run [full-text search](../fulltext-search.md), or do aggregated transformations or even [vector search](./javascript-vector-database.md).
-- Use [RxDB's reactivity](../rx-query.md#observe) to subscribe to query results in real time.
-
-### 6. True Offline-Start Support
-While Firestore does have offline caching, it often requires an online check at app initialization for authentication. RxDB is [truly offline-first](../offline-first.md); you can launch the app and write data even if the device never goes online initially. It's ready whenever the user is.
-
-### 7. Cross-Platform: Any JavaScript Runtime
-RxDB is designed to run in **any environment** that can execute JavaScript. Whether you’re building a web app in the browser, an [Electron](../electron-database.md) desktop application, a [React Native](../react-native-database.md) mobile app, or a command-line tool with [Node.js](../nodejs-database.md), RxDB’s storage layer is swappable to fit your runtime’s capabilities.
-- In the **browser**, store data in [IndexedDB](../rx-storage-indexeddb.md) or [OPFS](../rx-storage-opfs.md).
-- In [Node.js](../nodejs-database.md), use LevelDB or other supported storages.
-- In [React Native](../react-native-database.md), pick from a range of adapters suited for mobile devices.
-- In [Electron](../electron-database.md), rely on fast local storage with zero changes to your application code.
-
----
-
-## How Does RxDB's Sync Work?
-
-RxDB replication is powered by its own [Sync Engine](../replication.md). This simple yet robust protocol enables:
-1. **Pull**: Fetch new or updated documents from the server.
-2. **Push**: Send local changes back to the server.
-3. **Live Real-Time**: Once you're caught up, you can opt for event-based streaming instead of continuous polling.
-
-Code Example: Sync RxDB with a Custom Backend
-
-```ts
-import { createRxDatabase } from 'rxdb/plugins/core';
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-import { replicateRxCollection } from 'rxdb/plugins/replication';
-
-async function initDB() {
- const db = await createRxDatabase({
- name: 'mydb',
- storage: getRxStorageLocalstorage(),
- multiInstance: true,
- eventReduce: true
- });
-
- await db.addCollections({
- tasks: {
- schema: {
- title: 'task schema',
- version: 0,
- type: 'object',
- primaryKey: 'id',
- properties: {
- id: { type: 'string', maxLength: 100 },
- title: { type: 'string' },
- done: { type: 'boolean' }
- }
- }
- }
- });
-
- // Start a custom REST-based replication
- replicateRxCollection({
- collection: db.tasks,
- replicationIdentifier: 'my-tasks-rest-api',
- push: {
- handler: async (documents) => {
- // Send docs to your REST endpoint
- const res = await fetch('https://myapi.com/push', {
- method: 'POST',
- body: JSON.stringify({ docs: documents })
- });
- // Return conflicts if any
- return await res.json();
- }
- },
- pull: {
- handler: async (lastCheckpoint, batchSize) => {
- // Fetch from your REST endpoint
- const res = await fetch(`https://myapi.com/pull?checkpoint=${JSON.stringify(lastCheckpoint)}&limit=${batchSize}`);
- return await res.json();
- }
- },
- live: true // keep watching for changes
- });
-
- return db;
-}
-```
-
-By swapping out the handler implementations or using an official plugin (e.g., [GraphQL](../replication-graphql.md), [CouchDB](../replication-couchdb.md), [Firestore replication](../replication-firestore.md), etc.), you can adapt to any backend or data source. RxDB thus becomes a flexible alternative to Firestore while maintaining [real-time capabilities](./realtime-database.md).
-
-## Getting Started with RxDB as a Firestore Alternative
-
-### Install RxDB:
-```bash
-npm install rxdb rxjs
-```
-
-### Create a Database:
-```ts
-import { createRxDatabase } from 'rxdb/plugins/core';
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-
-const db = await createRxDatabase({
- name: 'mydb',
- storage: getRxStorageLocalstorage()
-});
-```
-
-### Define Collections:
-```ts
-await db.addCollections({
- items: {
- schema: {
- title: 'items schema',
- version: 0,
- primaryKey: 'id',
- type: 'object',
- properties: {
- id: { type: 'string', maxLength: 100 },
- text: { type: 'string' }
- }
- }
- }
-});
-```
-
-### Sync
-Use a [Replication Plugin](../replication.md) to connect with a custom backend or existing database.
-
-For a Firestore-specific approach, RxDB [Firestore Replication](../replication-firestore.md) also exists if you want to combine local indexing and advanced queries with a Cloud Firestore backend. But if you really want to replace Firestore entirely - just point RxDB to your new backend.
-
-### Example: Start a WebRTC P2P Replication
-
-In addition to syncing with a central server, RxDB also supports pure peer-to-peer replication using [WebRTC](../replication-webrtc.md). This can be invaluable for scenarios where clients need to sync data directly without a master server.
-
-```ts
-import {
- replicateWebRTC,
- getConnectionHandlerSimplePeer
-} from 'rxdb/plugins/replication-webrtc';
-
-const replicationPool = await replicateWebRTC({
- collection: db.tasks,
- topic: 'my-p2p-room', // Clients with the same topic will sync with each other.
- connectionHandlerCreator: getConnectionHandlerSimplePeer({
- // Use your own or the official RxDB signaling server
- signalingServerUrl: 'wss://signaling.rxdb.info/',
-
- // Node.js requires a polyfill for WebRTC & WebSocket
- wrtc: require('node-datachannel/polyfill'),
- webSocketConstructor: require('ws').WebSocket
- }),
- pull: {}, // optional pull config
- push: {} // optional push config
-});
-
-// The replicationPool manages all connected peers
-replicationPool.error$.subscribe(err => {
- console.error('P2P Sync Error:', err);
-});
-```
-
-This example sets up a live **P2P replication** where any new peers joining the same topic automatically sync local data with each other, eliminating the need for a dedicated central server for the actual data exchange.
-
-## Is RxDB Right for Your Project?
-
-- **You want offline-first**: If you need an offline-first app that starts offline, RxDB's local database approach and sync protocol excel at this.
-- **Your project is read-heavy**: Reading from Firestore for every query can get expensive. With RxDB, reads are free and local; you only pay for writes or sync overhead.
-- **You need advanced queries**: Firestore's query constraints may not suit complex data. With RxDB, you can define your own indexing logic or run arbitrary queries locally.
-- **You want no vendor lock-in**: Easily transition from Firestore to your own server or another vendor - just change the replication layer.
-
-## Follow Up
-
-If you've been searching for a Firestore alternative that gives you the freedom to sync your data with any backend, offers robust offline-first capabilities, and supports truly customizable conflict resolution and queries, RxDB is worth exploring. You can adopt it seamlessly, ensure local reads, reduce costs, and stay in complete control of your data layer.
-
-Ready to dive in? Check out the RxDB Quickstart Guide, join our Discord community, and experience how RxDB can be the perfect local-first, real-time database solution for your next project.
-
-More resources:
-- [RxDB Sync Engine](../replication.md)
-- [Firestore Replication Plugin](../replication-firestore.md)
-- [Custom Conflict Resolution](../transactions-conflicts-revisions.md)
-- [RxDB GitHub Repository](/code/)
-
----
-
-## Supercharge Flutter Apps with the RxDB Database
-
-# RxDB as a Database in a Flutter Application
-
-In the world of mobile application development, Flutter has gained significant popularity due to its cross-platform capabilities and rich UI framework. When it comes to building feature-rich Flutter applications, the choice of a robust and efficient database is crucial. In this article, we will explore [RxDB](https://rxdb.info/) as a database solution for Flutter applications. We'll delve into the core features of RxDB, its benefits over other database options, and how to integrate it into a Flutter app.
-
-:::note
-You can find the source code for an example RxDB Flutter Application [at the github repo](https://github.com/pubkey/rxdb/tree/master/examples/flutter)
-:::
-
-
-
-
-
-
-
-### Overview of Flutter Mobile Applications
-Flutter is an open-source UI software development kit created by Google that allows developers to build high-performance [mobile](./mobile-database.md) applications for iOS and Android platforms using a single codebase. Flutter's framework provides a wide range of widgets and tools that enable developers to create visually appealing and responsive applications.
-
-
-
-
-
-### Importance of Databases in Flutter Applications
-Databases play a vital role in Flutter applications by providing a persistent and reliable storage solution for storing and retrieving data. Whether it's user profiles, app settings, or complex data structures, a database helps in efficiently managing and organizing the application's data. Choosing the right database for a Flutter application can significantly impact the performance, scalability, and user experience of the app.
-
-### Introducing RxDB as a Database Solution
-RxDB is a powerful NoSQL database solution that is designed to work seamlessly with JavaScript-based frameworks, such as Flutter. It stands for Reactive Database and offers a variety of features that make it an excellent choice for building Flutter applications. RxDB combines the simplicity of JavaScript's document-based database model with the reactive programming paradigm, enabling developers to build real-time and offline-first applications with ease.
-
-## Getting Started with RxDB
-To understand how RxDB can be utilized in a Flutter application, let's explore its core features and advantages.
-
-### What is RxDB?
-[RxDB](https://rxdb.info/) is a client-side database built on top of [IndexedDB](../rx-storage-indexeddb.md), which is a low-level [browser-based database](./browser-database.md) API. It provides a simple and intuitive API for performing CRUD operations (Create, Read, Update, Delete) on documents. RxDB's underlying architecture allows for efficient handling of data synchronization between multiple clients and servers.
-
-
-
-
-
-
-
-### Reactive Data Handling
-One of the key strengths of RxDB is its reactive data handling. It leverages the power of Observables, a concept from reactive programming, to automatically update the UI in response to data changes. With RxDB, developers can define queries and subscribe to their results, ensuring that the UI is always in sync with the database.
-
-### Offline-First Approach
-RxDB follows an offline-first approach, making it ideal for building Flutter applications that need to function even without an internet connection. It allows data to be stored locally and seamlessly synchronizes it with the server when a connection is available. This ensures that users can access and interact with their data regardless of network availability.
-
-### Data Replication
-Data replication is a critical aspect of building distributed applications. RxDB provides robust replication capabilities that enable synchronization of data between different clients and servers. With its replication plugins, RxDB simplifies the process of setting up real-time data synchronization, ensuring consistency across all connected devices.
-
-### Observable Queries
-RxDB introduces the concept of observable queries, which are queries that automatically update when the underlying data changes. This feature is particularly useful for keeping the UI up to date with the latest data. By subscribing to an observable query, developers can receive real-time updates and reflect them in the user interface without manual intervention.
-
-### RxDB vs. Other Flutter Database Options
-When considering database options for Flutter applications, developers often come across alternatives such as SQLite or LokiJS. While these databases have their merits, RxDB offers several advantages over them. RxDB's seamless integration with Flutter, its offline-first approach, reactive data handling, and built-in data replication make it a compelling choice for building feature-rich and scalable Flutter applications.
-
-## Using RxDB in a Flutter Application
-Now that we understand the core features of RxDB, let's explore how to integrate it into a Flutter application.
-
-## How RxDB can run in Flutter
-
-RxDB is written in TypeScript and compiled to JavaScript. To run it in a Flutter application, the `flutter_qjs` library is used to spawn a QuickJS JavaScript runtime. RxDB itself runs in that runtime and communicates with the flutter dart runtime. To store data persistent, the [LokiJS RxStorage](../rx-storage-lokijs.md) is used together with a custom storage adapter that persists the database inside of the `shared_preferences` data.
-
-To use RxDB, you have to create a compatible JavaScript file that creates your RxDatabase and starts some connectors which are used by Flutter to communicate with the JavaScript RxDB database via setFlutterRxDatabaseConnector().
-
-```javascript
-import {
- createRxDatabase
-} from 'rxdb';
-import {
- getRxStorageLoki
-} from 'rxdb/plugins/storage-lokijs';
-import {
- setFlutterRxDatabaseConnector,
- getLokijsAdapterFlutter
-} from 'rxdb/plugins/flutter';
-
-// do all database creation stuff in this method.
-async function createDB(databaseName) {
- // create the RxDatabase
- const db = await createRxDatabase({
- // the database.name is variable so we can change it on the flutter side
- name: databaseName,
- storage: getRxStorageLoki({
- adapter: getLokijsAdapterFlutter()
- }),
- multiInstance: false
- });
- await db.addCollections({
- heroes: {
- schema: {
- version: 0,
- primaryKey: 'id',
- type: 'object',
- properties: {
- id: {
- type: 'string',
- maxLength: 100
- },
- name: {
- type: 'string',
- maxLength: 100
- },
- color: {
- type: 'string',
- maxLength: 30
- }
- },
- indexes: ['name'],
- required: ['id', 'name', 'color']
- }
- }
- });
- return db;
-}
-
-// start the connector so that flutter can communicate with the JavaScript process
-setFlutterRxDatabaseConnector(
- createDB
-);
-```
-
-Before you can use the JavaScript code, you have to bundle it into a single .js file. In this example we do that with webpack in a npm script here which bundles everything into the `javascript/dist/index.js` file.
-
-To allow Flutter to access that file during runtime, add it to the assets inside of your pubspec.yaml:
-
-```yaml
-flutter:
- assets:
- - javascript/dist/index.js
-```
-
-Also you need to install RxDB in your flutter part of the application. First you have to use the rxdb dart package as a flutter dependency. Currently the package is not published at the dart pub.dev. Instead you have to install it from the local filesystem inside of your RxDB npm installation.
-
-```yaml
-# inside of pubspec.yaml
-dependencies:
- rxdb:
- path: path/to/your/node_modules/rxdb/src/plugins/flutter/dart
-```
-
-Afterwards you can import the rxdb library in your dart code and connect to the JavaScript process from there. For reference, check out the lib/main.dart file.
-
-```dart
-import 'package:rxdb/rxdb.dart';
-
-// start the javascript process and connect to the database
-RxDatabase database = await getRxDatabase("javascript/dist/index.js", databaseName);
-
-// get a collection
-RxCollection collection = database.getCollection('heroes');
-
-// insert a document
-RxDocument document = await collection.insert({
- "id": "zflutter-${DateTime.now()}",
- "name": nameController.text,
- "color": colorController.text
-});
-
-// create a query
-RxQuery query = RxDatabaseState.collection.find();
-
-// create list to store query results
-List> documents = [];
-
-// subscribe to a query
-query.$().listen((results) {
- setState(() {
- documents = results;
- });
-});
-```
-
-### Different RxStorage layers for RxDB
-RxDB offers multiple storage options, known as RxStorage layers, to store data locally. These options include:
-
-- [LokiJS RxStorage](../rx-storage-lokijs.md): LokiJS is an in-memory database that can be used as a [storage](./browser-storage.md) layer for RxDB. It provides fast and efficient in-memory data management capabilities.
-- [SQLite RxStorage](../rx-storage-sqlite.md): SQLite is a popular and widely used [embedded database](./embedded-database.md) that offers robust storage capabilities. RxDB utilizes SQLite as a storage layer to persist data on the device.
-- [Memory RxStorage](../rx-storage-memory.md): As the name suggests, Memory RxStorage stores data [in memory](./in-memory-nosql-database.md). While this option does not provide persistence, it can be useful for temporary or cache-based data storage.
-By choosing the appropriate RxStorage layer based on the specific requirements of the application, developers can optimize performance and storage efficiency.
-
-## Synchronizing Data with RxDB between Clients and Servers
-One of the key strengths of RxDB is its ability to synchronize data between multiple clients and servers seamlessly. Let's explore how this synchronization can be achieved.
-
-### Offline-First Approach
-RxDB's offline-first approach ensures that data can be accessed and modified even when there is no internet connection. Changes made offline are automatically synchronized with the server once a connection is reestablished. This ensures data consistency across all devices, providing a seamless user experience.
-
-### RxDB Replication Plugins
-RxDB provides replication plugins that simplify the process of setting up data [synchronization between clients and servers](../replication.md). These plugins offer various synchronization strategies, such as one-way replication, two-way replication, and conflict resolution mechanisms. By configuring the appropriate replication plugin, developers can easily establish real-time data synchronization in their Flutter applications.
-
-## Advanced RxDB Features and Techniques
-RxDB offers a range of advanced features and techniques that enhance its functionality and performance. Let's explore a few of these features:
-
-### Indexing and Performance Optimization
-Indexing is a technique used to optimize query performance by creating indexes on specific fields. RxDB allows developers to define indexes on document fields, improving the efficiency of queries and data retrieval.
-
-### Encryption of Local Data
-To ensure data privacy and security, RxDB supports [encryption of local data](../encryption.md). By encrypting the data stored on the device, developers can protect sensitive information and prevent unauthorized access.
-
-### Change Streams and Event Handling
-RxDB provides change streams, which emit events whenever data changes occur. By leveraging change streams, developers can implement custom event handling logic, such as updating the UI or triggering background processes, in response to specific data changes.
-
-### JSON Key Compression
-To minimize storage requirements and optimize performance, RxDB offers [JSON key compression](../key-compression.md). This feature reduces the size of keys used in the database, resulting in more efficient storage and improved query performance.
-
-## Conclusion
-RxDB offers a powerful and flexible database solution for Flutter applications. With its offline-first approach, real-time data synchronization, and reactive data handling capabilities, RxDB simplifies the development of feature-rich and scalable Flutter applications. By integrating RxDB into your Flutter projects, you can leverage its advanced features and techniques to build responsive and data-driven applications that provide an exceptional user experience.
-
-:::note
-You can find the source code for an example RxDB Flutter Application [at the github repo](https://github.com/pubkey/rxdb/tree/master/examples/flutter)
-:::
-
----
-
-## RxDB - The Ultimate JS Frontend Database
-
-# RxDB JavaScript Frontend Database: Efficient Data Storage in Frontend Applications
-In modern web development, managing data on the front end has become increasingly important. Storing data in the frontend offers numerous advantages, such as offline accessibility, caching, faster application startup, and improved state management. Traditional SQL databases, although widely used on the server-side, are not always the best fit for frontend applications. This is where [RxDB](https://rxdb.info/), a frontend JavaScript database, emerges as a powerful solution. In this article, we will explore why storing data in the frontend is beneficial, the limitations of SQL databases in the frontend, and how [RxDB](https://rxdb.info/) addresses these challenges to become an excellent choice for frontend data storage.
-
-
-
-
-
-
-
-## Why you might want to store data in the frontend
-
-### Offline accessibility
-One compelling reason to store data in the frontend is to enable [offline accessibility](../offline-first.md). By leveraging a frontend database, applications can cache essential data locally, allowing users to continue using the application even when an internet connection is unavailable. This feature is particularly useful for [mobile](./mobile-database.md) applications or web apps with limited or intermittent connectivity.
-
-### Caching
-Frontend databases also serve as efficient caching mechanisms. By storing frequently accessed data locally, applications can minimize network requests and reduce latency, resulting in faster and more responsive user experiences. Caching is particularly beneficial for applications that heavily rely on remote data or perform computationally intensive operations.
-
-### Decreased initial application start time
-Storing data in the frontend decreases the initial application start time because the data is already present locally. By eliminating the need to fetch data from a server during startup, applications can quickly render the UI and provide users with an immediate interactive experience. This is especially advantageous for applications with large datasets or complex data retrieval processes.
-
-### Password encryption for local data
-Security is a crucial aspect of data storage. With a front end database, developers can [encrypt](../encryption.md) sensitive local data, such as user credentials or personal information, using encryption algorithms. This ensures that even if the device is compromised, the data remains securely stored and protected.
-
-### Local database for state management
-Frontend databases provide an alternative to traditional state management libraries like Redux or NgRx. By utilizing a local database, developers can store and manage application state directly in the frontend, eliminating the need for additional libraries. This approach simplifies the codebase, reduces complexity, and provides a more straightforward data flow within the application.
-
-### Low-latency local queries
-Frontend databases enable low-latency queries that run entirely on the client's device. Instead of relying on server round-trips for each query, the database executes queries locally, resulting in faster response times. This is particularly beneficial for applications that require real-time updates or frequent data retrieval.
-
-
-
-### Building realtime applications with local data
-Realtime applications often require immediate updates based on data changes. By storing data locally and utilizing a frontend database, developers can build [realtime applications](./realtime-database.md) more easily. The database can observe data changes and automatically update the UI, providing a seamless and responsive user experience.
-
-### Easier integration with JavaScript frameworks
-Frontend databases, including RxDB, are designed to integrate seamlessly with popular JavaScript frameworks such as [Angular](./angular-database.md), [React.js](./react-database.md), [Vue.js](./vue-database.md), and Svelte. These databases offer well-defined APIs and support that align with the specific requirements of these frameworks, enabling developers to leverage the full potential of the frontend database within their preferred development environment.
-
-### Simplified replication of database state
-Replicating database state between the frontend and backend can be challenging, especially when dealing with complex REST routes. Frontend databases, however, provide simple mechanisms for replicating database state. They offer intuitive replication algorithms that facilitate data synchronization between the frontend and backend, reducing the complexity and potential pitfalls associated with complex REST-based replication.
-
-### Improved scalability
-Frontend databases offer improved scalability compared to traditional SQL databases. By leveraging the computational capabilities of client devices, the burden on server resources is reduced. Queries and operations are performed locally, minimizing the need for server round-trips and enabling applications to scale more efficiently.
-
-## Why SQL databases are not a good fit for the front end of an application
-While SQL databases excel in server-side scenarios, they pose limitations when used on the frontend. Here are some reasons why SQL databases are not well-suited for frontend applications:
-
-### Push/Pull based vs. reactive
-SQL databases typically rely on a push/pull model, where the server pushes data to the client upon request. This approach is not inherently reactive, as it requires explicit requests for data updates. In contrast, frontend applications often require reactive data flows, where changes in data trigger automatic updates in the UI. Frontend databases, like [RxDB](https://rxdb.info/), provide reactive capabilities that seamlessly integrate with the dynamic nature of frontend development.
-
-### Initialization time and performance
-SQL databases designed for server-side usage tend to have larger build sizes and initialization times, making them less efficient for [browser-based](./browser-database.md) applications. Frontend databases, on the other hand, directly leverage browser APIs like [IndexedDB](../rx-storage-indexeddb.md), [OPFS](../rx-storage-opfs.md), and [WebWorker](../rx-storage-worker.md), resulting in leaner builds and faster initialization times. Often the queries are such fast, that it is not even necessary to implement a loading spinner.
-
-
-
-### Build size considerations
-Server-side SQL databases typically come with a significant build size, which can be impractical for browser applications where code size optimization is crucial. Frontend databases, on the other hand, are specifically designed to operate within the constraints of browser environments, ensuring efficient resource utilization and smaller build sizes.
-
-For example the SQLite Webassembly file alone has a size of over 0.8 Megabyte with an additional 0.2 Megabyte in JavaScript code for connection.
-
-## Why RxDB is a good fit for the frontend
-RxDB is a powerful frontend JavaScript database that addresses the limitations of SQL databases and provides an optimal solution for frontend [data storage](./browser-storage.md). Let's explore why RxDB is an excellent fit for frontend applications:
-
-### Made in JavaScript, optimized for JavaScript applications
-RxDB is designed and optimized for JavaScript applications. Built using JavaScript itself, RxDB offers seamless integration with JavaScript frameworks and libraries, allowing developers to leverage their existing JavaScript knowledge and skills.
-
-### NoSQL (JSON) documents for UIs
-RxDB adopts a [NoSQL approach](./in-memory-nosql-database.md), using [JSON documents as its primary data structure](./json-database.md). This aligns well with the JavaScript ecosystem, as JavaScript natively works with JSON objects. By using NoSQL documents, RxDB provides a more natural and intuitive data model for UI-centric applications.
-
-
-
-### Better TypeScript support compared to SQL
-TypeScript has become increasingly popular for building frontend applications. RxDB provides excellent [TypeScript support](../tutorials/typescript.md), allowing developers to leverage static typing and benefit from enhanced code quality and tooling. This is particularly advantageous when compared to SQL databases, which often have limited TypeScript support.
-
-### Observable Queries for automatic UI updates
-RxDB introduces the concept of observable queries, powered by RxJS. Observable queries automatically update the UI whenever there are changes in the underlying data. This reactive approach eliminates the need for manual UI updates and ensures that the frontend remains synchronized with the database state.
-
-
-
-### Optimized observed queries with the EventReduce Algorithm
-RxDB optimizes observed queries with its EventReduce Algorithm. This algorithm intelligently reduces redundant events and ensures that UI updates are performed efficiently. By minimizing unnecessary re-renders, RxDB significantly improves performance and responsiveness in frontend applications.
-
-```typescript
-const query = myCollection.find({
- selector: {
- age: {
- $gt: 21
- }
- }
-});
-const querySub = query.$.subscribe(results => {
- console.log('got results: ' + results.length);
-});
-```
-
-### Observable document fields
-RxDB supports observable document fields, enabling developers to track changes at a granular level within documents. By observing specific fields, developers can reactively update the UI when those fields change, ensuring a responsive and synchronized frontend interface.
-
-```typescript
-myDocument.firstName$.subscribe(newName => console.log('name is: ' + newName));
-```
-
-### Storing Documents Compressed
-RxDB provides the option to store documents in a [compressed format](../key-compression.md), reducing storage requirements and improving overall database performance. Compressed storage offers benefits such as reduced disk space usage, faster data read/write operations, and improved network transfer speeds, making it an essential feature for efficient frontend data storage.
-
-### Built-in Multi-tab support
-RxDB offers built-in multi-tab support, allowing data synchronization and state management across multiple browser tabs. This feature ensures consistent data access and synchronization, enabling users to work seamlessly across different tabs without conflicts or data inconsistencies.
-
-
-
-### Replication Algorithm can be made compatible with any backend
-RxDB's [realtime replication algorithm](../replication.md) is designed to be flexible and compatible with various backend systems. Whether you're using your own servers, [Firebase](../replication-firestore.md), [CouchDB](../replication-couchdb.md), [NATS](../replication-nats.md), [WebSocket](../replication-websocket.md), or any other backend, RxDB can be seamlessly integrated and synchronized with the backend system of your choice.
-
-
-
-### Flexible storage layer for code reuse
-RxDB provides a [flexible storage layer](../rx-storage.md) that enables code reuse across different platforms. Whether you're building applications with [Electron.js](../electron-database.md), [React Native](../react-native-database.md), hybrid apps using [Capacitor.js](../capacitor-database.md), or traditional web browsers, RxDB allows you to reuse the same codebase and leverage the power of a frontend database across different environments.
-
-### Handling schema changes in distributed environments
-In distributed environments where data is stored on multiple client devices, handling schema changes can be challenging. RxDB tackles this challenge by providing robust mechanisms for [handling schema changes](../migration-schema.md). It ensures that schema updates propagate smoothly across devices, maintaining data integrity and enabling seamless schema evolution.
-
-## Follow Up
-To further explore RxDB and get started with using it in your frontend applications, consider the following resources:
-
-- [RxDB Quickstart](../quickstart.md): A step-by-step guide to quickly set up RxDB in your project and start leveraging its features.
-- [RxDB GitHub Repository](https://github.com/pubkey/rxdb): The official repository for RxDB, where you can find the code, examples, and community support.
-
-By adopting [RxDB](https://rxdb.info/) as your frontend database, you can unlock the full potential of frontend data storage and empower your applications with offline accessibility, caching, improved performance, and seamless data synchronization. RxDB's JavaScript-centric approach and powerful features make it an ideal choice for frontend developers seeking efficient and scalable data storage solutions.
-
----
-
-## ideas for articles
-
-
-- storing and searching through 1mio emails in a browser database
-- Finding the optimal way to shorten vector embeddings
-- Performance and quality of vector comparison functions (euclideanDistance etc)
-- performance and quality of vector indexing methods
-- What is new in IndexedDB 3.0
-- how progressive syncing beats client-server architecture
-
-## Seo keywords:
-
-X- "optimistic ui"
-X- "local database" (rddt done)
-X- "react-native encryption"
-X- "vue database" (rddt done)
-X- "jquery database"
-X- "vue indexeddb"
-X- "firebase realtime database alternative" (rddt done)
-X- "firestore alternative" (rddt done)
-X- "ionic storage" (rddt done)
-X- "local database"
-X- "offline database"
-X- "zero local first"
-X- "webrtc p2p" - 390 http://localhost:3000/replication-webrtc.html
-
-X- "indexeddb storage limit" - 590 https://rxdb.info/articles/indexeddb-max-storage-limit.html
-X- "indexeddb size limit" - 260 https://rxdb.info/articles/indexeddb-max-storage-limit.html
-X- "indexeddb max size" - 590 https://rxdb.info/articles/indexeddb-max-storage-limit.html
-X- "indexeddb limits" - 170 https://rxdb.info/articles/indexeddb-max-storage-limit.html
-
-X- "json based database"
-X- "json vs database"
-X- "reactjs storage"
-
-## Seo
-
-- "supabase alternative"
-- "store local storage"
-- "react localstorage"
-- "react-native storage"
-- "supabase offline" - 260
-- "store array in localstorage", "localStorage array of objects"
-- "real time web apps" - 170
-- "reactive database" - 210
-- "electron sqlite"
-- "in browser database" - 90
-- "offline first app" - 260
-- "react native sql" - 110
-- "sqlite electron"
-- "localstorage vs indexeddb"
-- "react native nosql database" - 30
-- "indexeddb library" - 260
-- "indexeddb encryption" - 90
-- "client side database" - 140
-- "webtransport vs websocket"
-- "local first development" - 210
-- "local storage examples"
-- "local vector database" - 590
-- "mobile app database" - 590
-- "web based database"
-- "livequery" - 210
-- "expo database" - 390
-- "database sync" - 8100
-- "p2p database" - 170
-- "reactive app" - 260
-- "offline web app" - 320
-- "offline sync" - 320
-- "react native encrypted storage" - 1000
-- "firestore vs firebase" - 1300
-- "ionic alternatives" - 480
-- "react native backend" - 720
-- "react native alternative" - 1000
-- "react native sqlite" - 1900
-- "flutter vs react native" - 5400
-- "react native redux" - 3600
-- "redux alternative" - 1300
-- "Awesome local first" - 10
-- "tauri database" - 170
-
-- "sqlite javascript" - 2900
-- "sqlite typescript" - 260
-
-- "sync engine" - 390
-- "indexeddb alternative" - 70
-
-## Non Seo
-
-- "Local-First Partial Sync with RxDB"
-- "why the indexeddb API is almost perfekt"
-- "how to do auth with RxDB"
-- "Where to store that JWT token?"
-
----
-
-## RxDB In-Memory NoSQL - Supercharge Real-Time Apps
-
-# RxDB as In-memory NoSQL Database: Empowering Real-Time Applications
-
-Real-time applications have become increasingly popular in today's digital landscape. From instant messaging to collaborative editing tools, the demand for responsive and interactive software is on the rise. To meet these requirements, developers need powerful and efficient database solutions that can handle large amounts of data in real-time. [RxDB](https://rxdb.info/), an javascript NoSQL database, is revolutionizing the way developers build and scale their applications by offering exceptional speed, flexibility, and scalability.
-
-
-
-
-
-
-
-## Speed and Performance Benefits
-One of the key advantages of using RxDB as an in-memory NoSQL database is its ability to leverage in-memory storage for faster database operations. By storing data directly in memory, database operations can be performed significantly faster compared to traditional disk-based databases. This is especially important for real-time applications where every millisecond counts. With RxDB, developers can achieve near-instantaneous data access and manipulation, enabling highly responsive user experiences.
-
-Additionally, RxDB eliminates disk I/O bottlenecks that are typically associated with traditional databases. In traditional databases, disk reads and writes can become a bottleneck as the amount of data grows. In contrast, an in-memory database like RxDB keeps the entire dataset in RAM, eliminating disk access overhead. This makes it an excellent choice for applications dealing with real-time analytics, high-throughput data processing, and caching.
-
-## Persistence Options
-While RxDB offers an [in-memory](../rx-storage-memory.md) storage adapter, it also offers [persistence storages](../rx-storage.md). Adapters such as [IndexedDB](../rx-storage-indexeddb.md), [SQLite](../rx-storage-sqlite.md), and [OPFS](../rx-storage-opfs.md) enable developers to persist data locally in the browser, making applications accessible even when offline. This hybrid approach combines the benefits of in-memory performance with data durability, providing the best of both worlds. Developers can choose the adapter that best suits their needs, balancing the speed of in-memory storage with the long-term data persistence required for certain applications.
-
-```javascript
-import {
- createRxDatabase
-} from 'rxdb';
-import {
- getRxStorageMemory
-} from 'rxdb/plugins/storage-memory';
-
-const db = await createRxDatabase({
- name: 'exampledb',
- storage: getRxStorageMemory()
-});
-```
-
-Also the [memory mapped RxStorage](../rx-storage-memory-mapped.md) exists as a wrapper around any other RxStorage. The wrapper creates an in-memory storage that is used for query and write operations. This memory instance is replicated with the underlying storage for persistence. The main reason to use this is to improve initial page load and query/write times. This is mostly useful in browser based applications.
-
-## Use Cases for RxDB
-RxDB's capabilities make it well-suited for various real-time applications. Some notable use cases include:
-
-- Chat Applications and Real-Time Messaging: RxDB's in-memory performance and real-time synchronization capabilities make it an excellent choice for building chat applications and real-time messaging systems. Developers can ensure that messages are delivered and synchronized across multiple clients in real-time, providing a seamless and responsive chat experience.
-
-- Collaborative Document Editors: RxDB's ability to handle data streams and propagate changes in real-time makes it ideal for collaborative document editing. Multiple users can simultaneously edit a document, and their changes are instantly synchronized, allowing for real-time collaboration and ensuring that everyone has the most up-to-date version of the document.
-
-- Real-Time Analytics Dashboards: RxDB's speed and scalability make it a valuable tool for real-time analytics dashboards. It can handle high volumes of data and perform complex analytics operations in real-time, providing instant insights and visualizations to users.
-
-In conclusion, RxDB serves as a powerful in-memory NoSQL database that empowers developers to build real-time applications with exceptional speed, flexibility, and scalability. Its ability to leverage in-memory storage, eliminate disk I/O bottlenecks, and provide persistence options make it an attractive choice for a wide range of real-time use cases. Whether it's chat applications, collaborative document editors, or real-time analytics dashboards, RxDB provides the foundation for building responsive and interactive software that meets the demands of today's users.
-
----
-
-## IndexedDB Max Storage Size Limit - Detailed Best Practices
-
-
-
-import {VideoBox} from '@site/src/components/video-box';
-
-# IndexedDB Max Storage Size Limit
-
-IndexedDB is widely known as the primary browser-based storage API for large client-side data, particularly valuable for modern offline-first applications. These apps aim to keep everything functional and interactive even without an internet connection, which naturally demands substantial local storage. However, IndexedDB has various size limits depending on the browser, disk space, and user settings. Being aware of these constraints is crucial so you can avoid quota errors and deliver a seamless user experience without unexpected data loss.
-
-Offline-first apps have grown in popularity because they provide immediate feedback, zero-latency interactions, and resilience in poor network conditions. Storing big data sets, or even entire data models, in IndexedDB has become far more common than in the era of small localStorage or cookie usage. But all this local data is subject to quotas, and that’s exactly what this guide will help you understand and manage.
-
-## Why IndexedDB Has a Storage Limit
-
-Browsers need a way to curb runaway disk usage and safeguard user resources. This is accomplished through **quota management** policies, which can vary among Chrome, Firefox, Safari, Edge, and others. Some browsers use a percentage of your total disk space, while others rely on a fixed maximum or dynamic approach per origin. These policies are designed to prevent malicious or poorly optimized web pages from consuming an unreasonable amount of user storage.
-
-Chrome (and Chromium-based browsers) typically allow you to use a percentage of the user’s free disk space, whereas Firefox historically prompts users to allow more than 5 MB in mobile or 50 MB in desktop. Safari often sets tighter maximum caps, especially on iOS devices. Edge aligns closely with Chrome’s rules but can also include enterprise or corporate policy overrides. Understanding these default or dynamic limits prepares you to plan your app’s storage needs appropriately.
-
-## Browser-Specific IndexedDB Limits
-
-IndexedDB size quotas differ significantly across browsers and platforms. While there isn’t a universal rule, the following table summarizes approximate limits and any notes or caveats you should be aware of:
-
-| Browser | Approx. Limit | Notes |
-|----------------|---------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------|
-| Chrome/Chromium | Up to ~80% of free disk, per origin cap | Often cited as 60 GB on a 100 GB drive. Shared pool approach. Quota usage can prompt partial or extended user approvals. |
-| Firefox | ~2 GB (desktop) or ~5 MB initial for mobile | Older versions asked permission at 50 MB for desktop. Ephemeral/incognito sessions may require repeated user prompts. |
-| Safari (iOS) | ~1 GB per origin (variable) | Historically stricter. iOS devices limit quotas further. Behavior can differ between iOS Safari versions or iPadOS. |
-| Edge | Similar to Chrome’s 80% of free space | Can be influenced by Windows enterprise policies. Generally aligned with Chromium approach. |
-| iOS Safari | Typically 1 GB, can be less on older iOS | Early iOS versions were known for more aggressive quotas and data eviction on low space. |
-| Android Chrome | Similar to desktop Chrome | May exhibit warnings in especially low-storage devices. The same 80% free space logic generally applies. |
-
-Historically, these limits have evolved. For instance, older Firefox versions included `dom.indexedDB.warningQuota`, showing a 50 MB prompt on desktop or a 5 MB prompt on mobile—many developers wrote about these notifications on Stack Overflow. Since around 2015, Firefox has changed its quota approach significantly. Likewise, Safari used to limit data more aggressively on older iOS versions. Some older tutorials suggest comparing IndexedDB to localStorage, but modern browsers allow far larger and more flexible storage with IndexedDB than the old localStorage or cookie-based setups.
-
----
-
-## Checking Your Current IndexedDB Usage
-
-To assess where your app stands relative to these storage limits, you can use the **Storage Estimation API**. The snippet below shows how to estimate both your used storage and the total space allocated to your origin:
-
-```js
-const quota = await navigator.storage.estimate();
-const totalSpace = quota.quota;
-const usedSpace = quota.usage;
-console.log('Approx total allocated space:', totalSpace);
-console.log('Approx used space:', usedSpace);
-```
-
-[Some browsers (all modern ones)](https://developer.mozilla.org/en-US/docs/Web/API/StorageManager/persist#browser_compatibility) also provide a `navigator.storage.persist()` method to request persistent storage, preventing the browser from automatically clearing your data if the user’s device runs low on space. Note that users might deny such requests, or the request might fail silently on stricter environments. Always handle these outcomes gracefully and design your app to degrade if persistent storage is unavailable.
-
-## Testing Your App’s IndexedDB Quotas
-
-The best way to handle real-world usage is to test for low storage conditions and large data sets in different environments. You can fill up the space manually by writing repetitive test data or running scripts that bulk-insert documents until an error occurs.
-
-Real-time usage monitors or dashboards can keep track of your `navigator.storage.estimate()` results, letting you see how close you are to the max limit in production. Developer tools in Chrome or Firefox can simulate limited storage situations, which is crucial for QA:
-
-
-
-
-
-This short tutorial shows how you can artificially reduce available storage in Google Chrome’s dev tools to see how your app behaves when nearing or exceeding the quota.
-
-## Handling Errors When Limits Are Reached
-
-When the user’s device is too full or your app exceeds the allotted quota, most browsers will throw a **QuotaExceededError** (or similarly named exception) when trying to store additional data. Often, the request to IndexedDB simply fails with an error event. Handling this gracefully is essential to avoid crashes or data corruption.
-
-A typical approach is to wrap your write operations in try/catch blocks or in `onsuccess` / `onerror` event callbacks. If you detect a quota error, you can prompt the user to clear out old items or reduce the scope of offline data. Some apps implement a fallback system that removes less critical documents to free space and then retries the write.
-
-```js
-try {
- const tx = db.transaction('largeStore', 'readwrite');
- const store = tx.objectStore('largeStore');
- await store.add(hugeData, someKey);
- await tx.done;
-} catch (error) {
- if (error.name === 'QuotaExceededError') {
- console.warn('IndexedDB quota exceeded. Cleanup or prompt user to free space.');
- // Optionally remove older data or show a UI hint:
- // removeOldDocuments();
- // displayStorageFullDialog();
- } else {
- // handle other errors
- console.error('IndexedDB write error:', error);
- }
-}
-```
-
-## Tricks to Exceed the Storage Size Limitation
-
-Even if you plan well, your app might need more storage than a single origin typically allows. There are a few advanced tactics you can use:
-
-If you store binary data such as images or videos, consider compressing them via the Compression Streams API. For textual or [JSON data](./json-based-database.md), a library like [RxDB](/) supports built-in [key-compression](../key-compression.md) to shorten field names or entire documents. This can be extremely helpful when storing large sets of objects:
-
-```ts
-// Example: How key-compression can transform your documents internally
-const uncompressed = {
- "firstName": "Corrine",
- "lastName": "Ziemann",
- "shoppingCartItems": [
- {
- "productNumber": 29857,
- "amount": 1
- },
- {
- "productNumber": 53409,
- "amount": 6
- }
- ]
-};
-const compressed = {
- "|e": "Corrine",
- "|g": "Ziemann",
- "|i": [
- {
- "|h": 29857,
- "|b": 1
- },
- {
- "|h": 53409,
- "|b": 6
- }
- ]
-};
-```
-
-Sharding data across multiple subdomains or iframes is another trick, though it complicates communication. When you need truly massive offline data, you might store part of the data under `sub1.yoursite.com` and another chunk under `sub2.yoursite.com`, using `postMessage()` to coordinate. This can circumvent single-origin limitations, but it introduces extra complexity. Another effective method is to let data expire automatically—perhaps older records are removed if they haven’t been accessed for a certain period.
-
-
-
-
-
-
-
-## IndexedDB Max Size of a Single Object
-
-There is no explicit cap on how large an individual object or record in IndexedDB can be, other than the overall disk quota. If you attempt to store one extremely large object, you will eventually hit browser memory constraints or the global storage quota. In practice, you’ll encounter out-of-memory issues in JavaScript before IndexedDB itself refuses a single large write. A helpful test can be seen in [this JSFiddle experiment](https://jsfiddle.net/sdrqf8om/2/) where you see browsers can crash when creating massive in-memory objects.
-
-## Is There a Time Limit for Data Stored in IndexedDB?
-
-IndexedDB data can remain indefinitely as long as the user does not clear the browser’s data or the origin does not run afoul of automated eviction policies (e.g., Safari or Android might remove large caches for sites unused over a long period when space is needed). Typically, there is no “time limit,” but ephemeral modes or incognito sessions have their own rules. If you rely on permanent offline data, request persistent storage and handle the possibility that the user or the OS could still remove your data under extreme conditions. Especially Safari is known to be very fast in deleting local data.
-
-
-
-## Follow Up
-
-Learn more by checking the [IndexedDB official docs](https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API), which detail store design, error handling, and quota usage. If you need a straightforward way to manage large offline data with compression and conflict resolution, explore the [RxDB Quickstart](../quickstart.md). You can also join the community on [GitHub](/code/) to share tips on overcoming the **IndexedDB max storage size limit** in production environments.
-
----
-
-## RxDB - The Perfect Ionic Database
-
-# Ionic Storage - RxDB as database for hybrid apps
-
-In the fast-paced world of mobile app development, **hybrid applications** have emerged as a versatile solution, offering the best of both worlds - the web and native app experiences. One key challenge these apps face is efficiently storing and querying data on the **client's device**. Enter [RxDB](https://rxdb.info/), a powerful client-side database tailored for ionic hybrid applications. In this article, we'll explore how RxDB addresses the requirements of storing and querying data in ionic apps, and why it stands out as a preferred choice.
-
-
-
-
-
-
-
-## What are Ionic Hybrid Apps?
-
-Ionic (aka Ionic 2 ) hybrid apps combine the strengths of web technologies (HTML, CSS, JavaScript) with native app development to deliver cross-platform applications. They are built using web technologies and then wrapped in a native container to be deployed on various platforms like iOS, Android, and the web. These apps provide a consistent user experience across devices while benefiting from the efficiency and familiarity of web development.
-
-## Storing and Querying Data in an Ionic App
-
-Storing and querying data is a fundamental aspect of any application, including hybrid apps. These apps often need to operate offline, store user-generated content, and provide responsive user interfaces. Therefore, having a reliable and efficient way to manage data on the client's device is crucial.
-
-## Introducing RxDB as a Client-Side Database for Ionic Apps
-RxDB steps in as a powerful solution to address the data management needs of ionic hybrid apps. It's a NoSQL client-side database that offers exceptional performance and features tailored to the unique requirements of client-side applications. Let's delve into the key features of RxDB that make it a great fit for these apps.
-
-### Getting Started with RxDB
-
-
-
-
-
-
-
-### What is RxDB?
-
-At its core, [RxDB](https://rxdb.info/) is a **NoSQL** database that operates with a [local-first](../offline-first.md) approach. This means that your app's data is stored and processed primarily on the client's device, reducing the dependency on constant network connectivity. By doing so, RxDB ensures your app remains responsive and functional, even when offline.
-
-### Local-First Approach
-The [local-first](../offline-first.md) approach adopted by RxDB is a game-changer for hybrid applications. Storing data locally allows your app to function seamlessly without an internet connection, providing users with uninterrupted access to their data. When connectivity is restored, RxDB handles the synchronization of data, ensuring that any changes made offline are appropriately propagated.
-
-### Observable Queries
-One of RxDB's standout features is its implementation of observable queries. This concept allows your app's user interface to be dynamically updated in real time as data changes within the database. RxDB's observables create a bridge between your database and user interface, keeping them in sync effortlessly.
-
-
-
-### NoSQL Query Engine
-RxDB's NoSQL query engine empowers you to perform powerful queries on your app's data, without the constraints imposed by traditional relational databases. This flexibility is particularly valuable when dealing with unstructured or semi-structured data. With the NoSQL query engine, you can retrieve, filter, and manipulate data according to your app's unique requirements.
-
-```ts
-const foundDocuments = await myDatabase.todos.find({
- selector: {
- done: {
- $eq: false
- }
- }
-}).exec();
-```
-
-### Great Observe Performance with EventReduce
-RxDB introduces a concept called [EventReduce](https://github.com/pubkey/event-reduce), which optimizes the observation process. Instead of overwhelming your app's UI with every data change, EventReduce filters and batches these changes to provide a smooth and efficient experience. This leads to enhanced app performance, lower resource usage, and ultimately, happier users.
-
-## Why NoSQL is a Better Fit for Client-Side Applications Compared to relational databases like SQLite
-When it comes to choosing the right database solution for your client-side applications, NoSQL RxDB presents compelling advantages over traditional options like SQLite. Let's delve into the key reasons why NoSQL RxDB is a superior fit for your ionic hybrid app development.
-
-### Easier Document-Based Replication
-NoSQL databases, like RxDB, inherently embrace a document-based approach to [data storage](./ionic-storage.md). This design choice simplifies data [replication](../replication.md) between clients and servers. With documents representing discrete units of data, you can easily synchronize individual pieces of information without the complexity that can arise when dealing with rows and tables in a relational database like SQLite. This document-centric replication model streamlines the synchronization process and ensures that your app's data remains consistent across devices.
-
-### Offline Capable
-One of the defining features of client-side applications is the ability to function even when offline. NoSQL RxDB excels in this area by supporting a local-first approach. Data is cached on the client's device, enabling the app to remain fully functional even without an internet connection. As connectivity is restored, RxDB handles data synchronization with the server seamlessly. This offline capability ensures a smooth user experience, critical for ionic hybrid apps catering to users in various network conditions.
-
-### NoSQL Has Better TypeScript Support
-TypeScript, a popular superset of JavaScript, is renowned for its static typing and enhanced developer experience. NoSQL databases like RxDB are inherently flexible, making them well-suited for TypeScript integration. With well-defined data structures and clear typings, NoSQL RxDB offers [improved type safety](../tutorials/typescript.md) and easier development when compared to traditional SQL databases like SQLite. This results in reduced debugging time and increased code reliability.
-
-### Easier [Schema Migration](../migration-schema.md) with NoSQL Documents
-Schema changes are a common occurrence in application development, and dealing with them can be challenging. NoSQL databases, including RxDB, are more forgiving in this aspect. Since documents in NoSQL databases don't enforce a rigid structure like tables in relational databases, schema changes are often simpler to manage. This flexibility makes it easier to evolve your app's data structure over time without the need for complex migration scripts, a notable advantage when compared to SQLite.
-
-## Great Performance
-RxDB's [excellent performance](../rx-storage-performance.md) stems from its advanced indexing capabilities, which streamline data retrieval and ensure swift query execution. Additionally, the [JSON key compression](../key-compression.md) employed by RxDB minimizes storage overhead, enabling efficient data transfer and quicker loading times. The incorporation of real-time updates through change streams and the **EventReduce mechanism** further enhances RxDB's performance, delivering a responsive user experience even as data changes are propagated seamlessly.
-
-## Using RxDB in an Ionic Hybrid App
-RxDB's integration into your ionic hybrid app opens up a world of possibilities for efficient data management. Let's explore how to set up RxDB, use it with popular JavaScript frameworks, and take advantage of its diverse storage options.
-
-### Setup RxDB
-Getting started with RxDB is a straightforward process. By including the RxDB library in your project, you can quickly start harnessing its capabilities. Begin by installing the [RxDB package](https://www.npmjs.com/package/rxdb) from the npm registry. Then, configure your database instance to suit your app's needs. This setup process paves the way for seamless data management in your ionic hybrid app.
-For a full instruction, follow the [RxDB Quickstart](https://rxdb.info/quickstart.html).
-
-### Using RxDB in Frameworks (React, Angular, Vue.js)
-RxDB seamlessly integrates with various JavaScript frameworks, ensuring compatibility with your preferred development environment. Whether you're building your ionic hybrid app with [React](./react-database.md), [Angular](./angular-database.md), or [Vue.js](./vue-database.md), RxDB offers bindings and tools that enable you to leverage its features effortlessly. This compatibility allows you to stay within the comfort zone of your chosen framework while benefiting from RxDB's powerful data management capabilities.
-
-### Different RxStorage Layers for RxDB
-RxDB doesn't limit you to a single storage solution. Instead, it provides a range of RxStorage layers to accommodate diverse use cases. These storage layers offer flexibility and customization, enabling you to tailor your data management strategy to match your app's requirements. Let's explore some of the available RxStorage options:
-
-- [LocalStorage RxStorage](../rx-storage-localstorage.md): Based on the browsers [localStorage](./localstorage.md). Easy to set up and fast for small datasets.
-- [IndexedDB RxStorage](../rx-storage-indexeddb.md): Leveraging the native browser storage, IndexedDB RxStorage offers reliable data persistence. This storage option is suitable for a wide range of scenarios and is supported by most modern browsers.
-- [OPFS RxStorage](../rx-storage-opfs.md): Operating within the browser's file system, OPFS RxStorage is a unique choice that can handle larger data volumes efficiently. It's particularly useful for applications that require substantial data storage.
-- [Memory RxStorage](../rx-storage-memory.md): Memory RxStorage is perfect for temporary or cache-like data storage. It keeps data in memory, which can result in rapid data access but doesn't provide long-term persistence.
-- [SQLite RxStorage](../rx-storage-sqlite.md): SQLite is the goto database for mobile applications. It is build in on android and iOS devices. The SQLite RxDB storage layer is build upon SQLite and offers the best performance on hybrid apps, like ionic.
-
-## Replication of Data with RxDB between Clients and Servers
-Efficient data replication between clients and servers is the backbone of modern application development, ensuring that data remains consistent and up-to-date across various devices and platforms. RxDB provides a suite of replication methods that facilitate seamless communication between clients and servers, ensuring that your data is always in sync.
-
-### RxDB Replication Algorithm
-At the heart of RxDB's replication capabilities lies a sophisticated [algorithm](../replication.md) designed to manage data synchronization between clients and servers. This algorithm intelligently handles data changes, conflict resolution, and network connectivity fluctuations, resulting in reliable and efficient data replication. With the RxDB replication algorithm, your application can maintain data consistency across devices without unnecessary complexities.
-
-- [CouchDB Replication](../replication-couchdb.md):
-RxDB's integration with CouchDB replication presents a powerful way to synchronize data between clients and servers. CouchDB, a well-established NoSQL database, excels at distributed and decentralized data scenarios. By utilizing RxDB's CouchDB replication, you can establish bidirectional synchronization between your RxDB-powered client and a CouchDB server. This synchronization ensures that data updates made on either end are seamlessly propagated to the other, facilitating collaboration and data sharing.
-
-- [Firestore Replication](../replication-firestore.md):
-Firestore, Google's cloud-hosted NoSQL database, offers another avenue for data replication in RxDB. With Firestore replication, you can establish a connection between your RxDB-powered app and Firestore's cloud infrastructure. This integration provides real-time updates to data across multiple instances of your application, ensuring that users always have access to the latest information. RxDB's support for Firestore replication empowers you to build dynamic and responsive applications that thrive in today's fast-paced digital landscape.
-
-- [WebRTC Replication](../replication-webrtc.md):
-Peer-to-peer (P2P) replication via WebRTC introduces a cutting-edge approach to data synchronization in RxDB. P2P replication allows devices to communicate directly with each other, bypassing the need for a central server. This method proves invaluable in scenarios where network connectivity is limited or unreliable. With WebRTC replication, devices can exchange data directly, enabling collaboration and information sharing even in challenging network conditions.
-
-## RxDB as an Alternative for Ionic Secure Storage
-When it comes to securing sensitive data in your Ionic applications, RxDB emerges as a powerful alternative to traditional secure storage solutions. Let's delve into why RxDB is an exceptional choice for safeguarding your data while providing additional benefits.
-
-### RxDB On-Device Encryption Plugin
-RxDB offers an [on-device encryption plugin](https://rxdb.info/encryption.html), adding an extra layer of security to your app's data. This means that data stored within the RxDB database can be encrypted, ensuring that even if the device falls into the wrong hands, the sensitive information remains inaccessible without the proper decryption key. This level of data protection is crucial for applications that deal with personal or confidential information. Encryption runs either with `AES` on `crypto-js` or with the [Web Crypto API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Crypto_API) which is faster and more secure.
-
-### Works Offline
-Security should never compromise functionality. RxDB excels in this area by allowing your application to operate seamlessly even when offline. The locally stored encrypted data remains accessible and functional, enabling users to interact with the app's features even without an active internet connection. This offline capability ensures that user data is secure, while the app continues to deliver a responsive and uninterrupted experience.
-
-### Easy-to-Setup Replication with Your Backend
-Ensuring data consistency between your client-side application and backend is a key concern for developers. RxDB simplifies this process with its straightforward replication setup. You can effortlessly configure data synchronization between your local RxDB instance and your backend server. This replication capability ensures that encrypted data remains up-to-date and aligned with the central database, enhancing data integrity and security.
-
-### Compression of Client-Side Stored Data
-In addition to security and offline capabilities, RxDB also offers [data compression](https://rxdb.info/key-compression.html). This means that the data stored on the client's device is efficiently compressed, reducing storage requirements and improving overall app performance. This compression ensures that your app remains responsive and efficient, even as data volumes grow.
-
-### Cost-Effective Solution
-In addition to its security features, RxDB offers cost-effective benefits. RxDB is [priced more affordably](/premium/) compared to some other secure storage solutions, making it an attractive option for developers seeking robust security without breaking the bank. For many users, the free version of RxDB provides ample features to meet their application's security and data management needs.
-
-## Follow Up
-
-- Try out the [RxDB ionic example project](https://github.com/pubkey/rxdb/tree/master/examples/ionic2)
-- Try out the [RxDB Quickstart](https://rxdb.info/quickstart.html)
-- Join the [RxDB Chat](https://rxdb.info/chat/)
-
----
-
-## RxDB - Local Ionic Storage with Encryption, Compression & Sync
-
-
-When building **Ionic** apps, developers face the challenge of choosing a robust **Ionic storage** mechanism that supports:
-- **Offline-First** usage
-- **Data Encryption** to protect sensitive content
-- **Compression** to reduce storage usage and improve performance
-- **Seamless Sync** with any backend for real-time updates
-
-[RxDB](https://rxdb.info/) (Reactive Database) offers all these features in a single, [local-first](./local-first-future.md) database solution tailored to **Ionic** and other hybrid frameworks. Keep reading to learn how RxDB solves the most common storage pitfalls in hybrid app development while providing unmatched flexibility.
-
-
-
-
-
-
-
-## Why RxDB for Ionic Storage?
-
-### 1. Offline-Ready NoSQL Storage
-[Offline functionality](../offline-first.md) is crucial for modern mobile applications, particularly when devices encounter unreliable or slow networks. RxDB stores all data **locally** so your Ionic app can run seamlessly without needing a continuous internet connection. When a network is available again, RxDB automatically synchronizes changes with your backend - no extra code required.
-
-### 2. Powerful Encryption
-Securing on-device data is paramount when handling sensitive information. RxDB includes [encryption plugins](../encryption.html) that let you:
-- **Encrypt** data fields at rest with AES
-- Invalidate data access by simply withholding the password
-- Keep your users' data confidential, even if the device is stolen
-
-This built-in encryption sets RxDB apart from many other Ionic storage options that lack integrated security.
-
-### 3. Built-In Data Compression
-Large or repetitive data can significantly slow down devices with minimal memory. RxDB's [key-compression](../key-compression.md) feature decreases document size stored on the device, improving overall performance by:
-- Reducing disk usage
-- Accelerating queries
-- Minimizing network overhead when syncing
-
-### 4. Real-Time Sync & Conflict Handling
-In addition to functioning fully offline, RxDB supports advanced [replication](../replication.md) options. Your Ionic app can instantly sync updates with any backend ([CouchDB](../replication-couchdb.md), [Firestore](../replication-firestore.md), [GraphQL](../replication-graphql.md), or [custom REST](../replication-http.md)), maintaining a [real-time](./realtime-database.md) user experience. Plus, RxDB handles [conflicts](../transactions-conflicts-revisions.md) gracefully - meaning less worry about clashing user edits.
-
-
-
-### 5. Easy to Adopt and Extend
-RxDB runs with a **NoSQL** approach and integrates seamlessly into [Ionic Angular](https://ionicframework.com/docs/angular/overview) or other frameworks you might use with Ionic. You can extend or replace storage backends, add encryption, or build advanced offline-first features with minimal overhead.
-
-
-
-
-
-
-
-## Quick Start: Implementing RxDB with LocalSTorage Storage
-
-For a simple proof-of-concept or testing environment in [Ionic](./ionic-database.md), you can use [localstorage](../rx-storage-localstorage.md) as your underlying storage. Later, if you need better native performance, you can **switch to the SQLite storage** offered by the [RxDB Premium plugins](https://rxdb.info/premium/).
-
-1. **Install RxDB**
-```bash
-npm install rxdb rxjs
-```
-
-2. **Initialize the Database**
-
-```ts
-import { createRxDatabase } from 'rxdb/plugins/core';
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-
-async function initDB() {
- const db = await createRxDatabase({
- name: 'myionicdb',
- storage: getRxStorageLocalstorage(),
- multiInstance: false // or true if you plan multi-tab usage
- // Note: If you need encryption, set `password` here
- });
-
- await db.addCollections({
- notes: {
- schema: {
- title: 'notes schema',
- version: 0,
- type: 'object',
- primaryKey: 'id',
- properties: {
- id: { type: 'string' },
- content: { type: 'string' },
- timestamp: { type: 'number' }
- },
- required: ['id']
- }
- }
- });
-
- return db;
-}
-```
-
-3. **Ready to Upgrade Later?**
-
-When you need the best performance on mobile devices, purchase the RxDB [Premium](/premium/) [SQLite Storage](../rx-storage-sqlite.md) and replace `getRxStorageLocalstorage()` with `getRxStorageSQLite()` - your app logic remains largely the same. You only have to change the configuration.
-
-## Encryption Example
-
-To secure local data, add the crypto-js [encryption plugin](../encryption.md) (free version) or the [premium](/premium/) web-crypto plugin. Below is an example using the free crypto-js plugin:
-
-```ts
-import { wrappedKeyEncryptionCryptoJsStorage } from 'rxdb/plugins/encryption-crypto-js';
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-import { createRxDatabase } from 'rxdb/plugins/core';
-
-async function initEncryptedDB() {
- const encryptedStorage = wrappedKeyEncryptionCryptoJsStorage({
- storage: getRxStorageLocalstorage()
- });
-
- const db = await createRxDatabase({
- name: 'secureIonicDB',
- storage: encryptedStorage,
- password: 'myS3cretP4ssw0rd'
- });
-
- await db.addCollections({
- secrets: {
- schema: {
- title: 'secret schema',
- version: 0,
- type: 'object',
- primaryKey: 'id',
- properties: {
- id: { type: 'string' },
- text: { type: 'string' }
- },
- required: ['id'],
- // all fields in this array will be stored encrypted:
- encrypted: ['text']
- }
- }
- });
-
- return db;
-}
-```
-
-With encryption enabled:
-
-- `text` is automatically encrypted at rest.
-- [Queries](../rx-query.md) on encrypted fields are not directly possible (since data is encrypted), but once a document is loaded, RxDB decrypts it for normal usage.
-
-## Compression Example
-
-To minimize the storage footprint, RxDB offers a [key-compression](../key-compression.md) feature. You can enable it in your schema:
-
-```ts
-await db.addCollections({
- logs: {
- schema: {
- title: 'logs schema',
- version: 0,
- keyCompression: true, // enable compression
- type: 'object',
- primaryKey: 'id',
- properties: {
- id: { type: 'string' },
- message: { type: 'string' },
- createdAt: { type: 'string', format: 'date-time' }
- }
- }
- }
-});
-```
-
-With `keyCompression: true`, RxDB shortens field names internally, significantly reducing document size. This helps both stored data and network transport during replication.
-
-## RxDB vs. Other Ionic Storage Options
-
-**Ionic Native Storage** or **Capacitor-based** key-value stores may handle small amounts of data but lack advanced features like:
-
-- Complex queries
-- Full NoSQL document model
-- [Offline-first](../offline-first.md) [sync](../replication.md)
-- Encryption & key compression out of the box
-- RxDB stands out by delivering all these capabilities in a unified library.
-
-## Follow Up
-
-For Ionic storage that supports offline-first operations, built-in encryption, optional data compression, and live syncing with any backend, RxDB provides a powerful solution. Start quickly with [localstorage](../rx-storage-localstorage.md) for local development and testing - then scale up to the premium SQLite storage for optimal performance on production mobile devices.
-
-Ready to learn more?
-
-- Explore the [RxDB Quickstart Guide](../quickstart.md)
-- Check out [RxDB Encryption](../encryption.md) to protect user data
-- Learn about [SQLite Storage](../rx-storage-sqlite.md) in [RxDB Premium](/premium/) for top [performance](../rx-storage-performance.md) on mobile.
-- Join our community on the [RxDB Chat](/chat/)
-
-**RxDB** - The ultimate toolkit for Ionic developers seeking offline-first, secure, and compressed local data, with real-time sync to any server.
-
----
-
-## Local JavaScript Vector Database that works offline
-
-# Local Vector Database with RxDB and transformers.js in JavaScript
-
-The [local-first](../offline-first.md) revolution is here, changing the way we build apps! Imagine a world where your app's data lives right on the user's device, always available, even when there's no internet. That's the magic of local-first apps. Not only do they bring faster performance and limitless scalability, but they also empower users to work offline without missing a beat. And leading the charge in this space are local database solutions, like [RxDB](https://rxdb.info/).
-
-
-
-
-
-
-
-But here's where things get even more exciting: when building [local-first](./local-first-future.md) apps, traditional databases often fall short. They're great at searching for exact matches, like `numbers` or `strings`, but what if you want to search by **meaning**, like sifting through emails to find a specific topic? Sure, you could use **RegExp**, but to truly unlock the power of semantic search and similarity-based queries, you need something more cutting-edge. Something that really understands the content of the data.
-
-Enter **vector databases**, the game-changers for searching data by meaning! They have unlocked these new possibilities for storing and querying data, especially in tasks requiring **semantic search** and **similarity-based** queries. With the help of a **machine learning model**, data is transformed into a vector representation that can be stored, queried and compared in a database.
-
-But unfortunately, most vector databases are designed for server-side use, typically running in large cloud clusters, not to run on a users device. To fix that, in this article, we will combine **RxDB** and **transformers.js** to create a local vector database running in the **browser** with **JavaScript**. It stores data in **IndexedDB**, and uses a machine learning model with **WebAssembly** locally, without the need for external servers.
-
-- [transformers.js](https://github.com/xenova/transformers.js) is a powerful framework that allows machine learning models to run directly within JavaScript using WebAssembly or WebGPU.
-
-- [RxDB](https://rxdb.info/) is a NoSQL, local-first database with a flexible storage layer that can run on any JavaScript runtime, including browsers and mobile environments. (You are reading this article on the RxDB docs).
-
-A local vector database offers several key benefits:
-
-- **Zero network latency**: Data is processed locally on the user's device, ensuring near-instant responses.
-- **Offline functionality**: Data can be queried even without an internet connection.
-- **Enhanced privacy**: Sensitive information remains on the device, never needing to leave for external processing.
-- **Simple setup**: No backend servers are required, making deployment straightforward.
-- **Cost savings**: By running everything locally, you avoid fees for API access or cloud services for large language models.
-
-:::note
-In this article only the important source code parts are shown. You can find the full open-source vector database implementation at the [github repository](https://github.com/pubkey/javascript-vector-database).
-:::
-
-## What is a Vector Database?
-
-A vector database is a specialized database optimized for storing and querying data in the form of **high-dimensional** vectors, often referred to as **embeddings**. These embeddings are numerical representations of data, such as text, images, or audio, created by machine learning models like [MiniLM](https://huggingface.co/Xenova/all-MiniLM-L6-v2). Unlike traditional databases that work with exact matches on predefined fields, vector databases focus on **semantic similarity**, allowing you to query data based on meaning rather than exact values.
-
-> A vector, or embedding, is essentially an array of numbers, like `[0.56, 0.12, -0.34, -0.90]`.
-
-For example, instead of asking "Which document has the word 'database'?", you can query "Which documents discuss similar topics to this one?" The vector database compares embeddings and returns results based on how similar the vectors are to each other.
-
-Vector databases handle multiple types of data beyond **text**, including **images**, **videos**, and **audio** files, all transformed into embeddings for efficient querying. Mostly you would not train a model by yourself and instead use one of the public available [transformer models](https://huggingface.co/models?pipeline_tag=feature-extraction&library=transformers.js).
-
-Vector databases are highly effective in various types of applications:
-
-- **Similarity Search**: Finds the closest matches to a query, even when the query doesn't contain the exact terms.
-- **Clustering**: Groups similar items based on the proximity of their vector representations.
-- **Recommendations**: Suggests items based on shared characteristics.
-- **Anomaly Detection**: Identifies outliers that differ from the norm.
-- **Classification**: Assigns categories to data based on its vector's nearest neighbors.
-
-In this tutorial, we will build a vector database designed as a **Similarity Search** for **text**. For other use cases, the setup can be adapted accordingly. This flexibility is why [RxDB](https://rxdb.info/) doesn't provide a dedicated vector-database plugin, but rather offers utility functions to help you build your own vector search system.
-
-
-
-
-
-## Generating Embeddings Locally in a Browser
-
-For the first step to build a local-first vector database we need to compute embeddings directly on the user's device. This is where [transformers.js](https://github.com/xenova/transformers.js) from [huggingface](https://huggingface.co/docs/transformers.js/index) comes in, allowing us to run machine learning models in the browser with **WebAssembly**. Below is an implementation of a `getEmbeddingFromText()` function, which takes a piece of text and transforms it into an embedding using the [Xenova/all-MiniLM-L6-v2](https://huggingface.co/Xenova/all-MiniLM-L6-v2) model:
-
-```js
-import { pipeline } from "@xenova/transformers";
-const pipePromise = pipeline('feature-extraction', 'Xenova/all-MiniLM-L6-v2');
-async function getEmbeddingFromText(text) {
- const pipe = await pipePromise;
- const output = await pipe(text, {
- pooling: "mean",
- normalize: true,
- });
- return Array.from(output.data);
-}
-```
-
-This function creates an embedding by running the text through a pre-trained model and returning it in the form of an array of numbers, which can then be stored and further processed locally.
-
-:::note
-Vector embeddings from different machine learning models or versions are not compatible with each other. When you change your model, you have to recreate all embeddings for your data.
-:::
-
-## Storing the Embeddings in RxDB
-
-To store the embeddings, first we have to create our [RxDB Database](../rx-database.md) with the [localstorage storage](../rx-storage-localstorage.md) that stores data in the browsers [localstorage](./localstorage.md). For more advanced projects, you can use any other [RxStorage](../rx-storage.md).
-
-```ts
-import { createRxDatabase } from 'rxdb';
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-
-const db = await createRxDatabase({
- name: 'mydatabase',
- storage: getRxStorageLocalstorage()
-});
-```
-
-Then we add a `items` collection that stores our documents with the `text` field that stores the content.
-
-```ts
-await db.addCollections({
- items: {
- schema: {
- version: 0,
- primaryKey: 'id',
- type: 'object',
- properties: {
- id: {
- type: 'string',
- maxLength: 20
- },
- text: {
- type: 'string'
- }
- },
- required: ['id', 'text']
- }
- }
-});
-const itemsCollection = db.items;
-```
-
-In our [example repo](https://github.com/pubkey/javascript-vector-database), we use the [Wiki Embeddings](https://huggingface.co/datasets/Supabase/wikipedia-en-embeddings) dataset from supabase which was transformed and used to fill up the `items` collection with test data.
-
-```ts
-const imported = await itemsCollection.count().exec();
-const response = await fetch('./files/items.json');
-const items = await response.json();
-const insertResult = await itemsCollection.bulkInsert(
- items
-);
-```
-
-Also we need a `vector` collection that stores our embeddings.
-RxDB, as a NoSQL database, allows for the storage of flexible data structures, such as embeddings, within documents. To achieve this, we need to define a [schema](../rx-schema.md) that specifies how the embeddings will be stored alongside each document. The schema includes fields for an `id` and the `embedding` array itself.
-
-```ts
-await db.addCollections({
- vector: {
- schema: {
- version: 0,
- primaryKey: 'id',
- type: 'object',
- properties: {
- id: {
- type: 'string',
- maxLength: 20
- },
- embedding: {
- type: 'array',
- items: {
- type: 'string'
- }
- }
- },
- required: ['id', 'embedding']
- }
- }
-});
-const vectorCollection = db.vector;
-```
-
-When storing documents in the database, we need to ensure that the embeddings for these documents are generated and stored automatically. This requires a handler that runs during every document write, calling the machine learning model to generate the embeddings and storing them in a separate vector collection.
-
-Since our app runs in a browser, it's essential to avoid duplicate work when **multiple browser tabs** are open and ensure efficient use of resources. Furthermore, we want the app to resume processing documents from where it left off if it's closed or interrupted. To achieve this, RxDB provides a [pipeline plugin](../rx-pipeline.md), which allows us to set up a workflow that processes items and stores their embeddings. In our example, a pipeline takes batches of 10 documents, generates embeddings, and stores them in a separate vector collection.
-
-```ts
-const pipeline = await itemsCollection.addPipeline({
- identifier: 'my-embeddings-pipeline',
- destination: vectorCollection,
- batchSize: 10,
- handler: async (docs) => {
- await Promise.all(docs.map(async(doc) => {
- const embedding = await getVectorFromText(doc.text);
- await vectorCollection.upsert({
- id: doc.primary,
- embedding
- });
- }));
- }
-});
-```
-
-However, processing data locally presents performance challenges. Running the handler with a batch size of 10 takes around **2-4 seconds per batch**, meaning processing 10k documents would take up to an hour. To improve performance, we can do parallel processing using [WebWorkers](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Using_web_workers). A WebWorker runs on a different JavaScript process and we can start and run many of them in parallel.
-
-Our worker listens for messages and performance the embedding generation on each request. It then sends the result embedding back to the main thread.
-
-```ts
-// worker.js
-import { getVectorFromText } from './vector.js';
-onmessage = async (e) => {
- const embedding = await getVectorFromText(e.data.text);
- postMessage({
- id: e.data.id,
- embedding
- });
-};
-```
-
-On the main thread we spawn one worker per core and send the tasks to the worker instead of processing them on the main thread.
-
-```ts
-// create one WebWorker per core
-const workers = new Array(navigator.hardwareConcurrency)
- .fill(0)
- .map(() => new Worker(new URL("worker.js", import.meta.url)));
-```
-
-```ts
-let lastWorkerId = 0;
-let lastId = 0;
-export async function getVectorFromTextWithWorker(text: string): Promise {
- let worker = workers[lastWorkerId++];
- if(!worker) {
- lastWorkerId = 0;
- worker = workers[lastWorkerId++];
- }
- const id = (lastId++) + '';
- return new Promise(res => {
- const listener = (ev: any) => {
- if (ev.data.id === id) {
- res(ev.data.embedding);
- worker.removeEventListener('message', listener);
- }
- };
- worker.addEventListener('message', listener);
- worker.postMessage({
- id,
- text
- });
- });
-}
-
-const pipeline = await itemsCollection.addPipeline({
- identifier: 'my-embeddings-pipeline',
- destination: vectorCollection,
- batchSize: navigator.hardwareConcurrency, // one per CPU core
- handler: async (docs) => {
- await Promise.all(docs.map(async (doc, i) => {
- const embedding = await getVectorFromTextWithWorker(doc.body);
- /* ... */
- });
- }
-});
-```
-
-This setup allows us to utilize the full hardware capacity of the client's machine. By setting the batch size to match the number of logical processors available (using the [navigator.hardwareConcurrency](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/hardwareConcurrency) API) and running one worker per processor, we can reduce the processing time for 10k embeddings to **about 5 minutes** on my developer laptop with 32 CPU cores.
-
-## Comparing Vectors by calculating the distance
-
-Now that we have stored our embeddings in the database, the next step is to compare these vectors to each other. Various methods are available to measure the similarity or difference between two vectors, such as [Euclidean distance](https://en.wikipedia.org/wiki/Euclidean_distance), [Manhattan distance](https://www.singlestore.com/blog/distance-metrics-in-machine-learning-simplfied/), [Cosine similarity](https://tomhazledine.com/cosine-similarity/), and **Jaccard similarity** (and more). RxDB provides utility functions for each of these methods, making it easy to choose the most suitable method for your application. In this tutorial, we will use **Euclidean distance** to compare vectors. However, the ideal algorithm may vary depending on your data's distribution and the specific type of query you are performing. To find the optimal method for your app, it is up to you to try out all of these and compare the results.
-
-Each method gets two vectors as input and returns a single number. Here's how to calculate the Euclidean distance between two embeddings with the vector utilities from RxDB:
-
-```ts
-import { euclideanDistance } from 'rxdb/plugins/vector';
-const distance = euclideanDistance(embedding1, embedding2);
-console.log(distance); // 25.20443
-```
-
-With this we can sort multiple embeddings by how good they match our search query vector.
-
-## Searching the Vector database with a full table scan
-
-To find out if our embeddings have been stored correctly and that our vector comparison works as should, let's run a basic query to ensure everything functions as expected. In this query, we aim to find documents similar to a given user input text. The process involves calculating the embedding from the input text, fetching all documents, calculating the distance between their embeddings and the query embedding, and then sorting them based on their similarity.
-
-```ts
-import { euclideanDistance } from 'rxdb/plugins/vector';
-import { sortByObjectNumberProperty } from 'rxdb/plugins/core';
-
-const userInput = 'new york people';
-const queryVector = await getEmbeddingFromText(userInput);
-const candidates = await vectorCollection.find().exec();
-const withDistance = candidates.map(doc => ({
- doc,
- distance: euclideanDistance(queryVector, doc.embedding)
-}));
-const queryResult = withDistance.sort(sortByObjectNumberProperty('distance')).reverse();
-console.dir(queryResult);
-```
-
-:::note
-For **distance**-based comparisons, sorting should be in ascending order (smallest first), while for **similarity**-based algorithms, the sorting should be in descending order (largest first).
-:::
-
-If we inspect the results, we can see that the documents returned are ordered by relevance, with the most similar document at the top:
-
-
-
-
-
-:::note
-This demo page can be [run online here](https://pubkey.github.io/javascript-vector-database/).
-:::
-
-However our full-scan method presents a significant challenge: it does not scale well. As the number of stored documents increases, the time taken to fetch and compare embeddings grows proportionally. For example, retrieving embeddings from our [test dataset](https://huggingface.co/datasets/Supabase/wikipedia-en-embeddings) of 10k documents takes around **700 milliseconds**. If we scale up to 100k documents, this delay would rise to approximately **7 seconds**, making the search process inefficient for larger datasets.
-
-## Indexing the Embeddings for Better Performance
-
-To address the scalability issue, we need to store embeddings in a way that allows us to avoid fetching all of them from storage during a query. In traditional databases, you can sort documents by an **index field**, allowing efficient queries that retrieve only the necessary documents. An index organizes data in a structured, sortable manner, much **like a phone book**. However, with vector embeddings we are not dealing with simple, single values. Instead, we have large **lists of numbers**, which makes indexing more complex because we have more than one dimension.
-
-### Vector Indexing Methods
-
-Various methods exist for indexing these vectors to improve query efficiency and performance:
-
-- [Locality Sensitive Hashing (LSH)](https://www.youtube.com/watch?v=Arni-zkqMBA): LSH hashes data so that similar items are likely to fall into the same bucket, optimizing approximate nearest neighbor searches in high-dimensional spaces by reducing the number of comparisons.
-- [Hierarchical Small World](https://www.youtube.com/watch?v=77QH0Y2PYKg): HSW is a graph structure designed for efficient navigation, allowing quick jumps across the graph while maintaining short paths between nodes, forming the basis for HNSW's optimization.
-- [Hierarchical Navigable Small Worlds (HNSW)](https://www.youtube.com/watch?v=77QH0Y2PYKg): HNSW builds a hierarchical graph for fast approximate nearest neighbor search. It uses multiple layers where higher layers represent fewer, more connected nodes, improving search efficiency in large datasets.
-- **Distance to samples**: While testing different indexing strategies, [I](https://github.com/pubkey) found out that using the distance to a sample set of items is a good way to index embeddings. You pick like 5 random items of your data and get the embeddings for them out of the model. These are your 5 index vectors. For each embedding stored in the vector database, we calculate the distance to our 5 index vectors and store that `number` as an index value. This seems to work good because similar things have similar distances to other things. For example the words "shoe" and "socks" have a similar distance to "boat" and therefore should have roughly the same index value.
-
-When building **local-first** applications, performance is often a challenge, especially in JavaScript. With **IndexedDB**, certain operations, like many sequential `get by id` calls, [are slow](../slow-indexeddb.md), while bulk operations, such as `get by index range`, are fast. Therefore, it's essential to use an indexing method that allows embeddings to be stored in a sortable way, like **Locality Sensitive Hashing** or **Distance to Samples**. In this article, we'll use **Distance to Samples**, because for [me](https://github.com/pubkey) it provides the best default behavior for the sample dataset.
-
-### Storing indexed embeddings in RxDB
-
-The optimal way to store index values alongside embeddings in RxDB is to place them within the same [RxCollection](../rx-collection.md). To ensure that the index values are both sortable and precise, we convert them into strings with a fixed length of `10` characters. This standardization helps in managing values with many decimals and ensures proper sorting in the database.
-
-Here's is our schema example schema where each document contains an embedding and corresponding index fields:
-
-```ts
-const indexSchema = {
- type: 'string',
- maxLength: 10
-};
-const schema = {
- "version": 0,
- "primaryKey": "id",
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "maxLength": 100
- },
- "embedding": {
- "type": "array",
- "items": {
- "type": "number"
- }
- },
- // index fields
- "idx0": indexSchema,
- "idx1": indexSchema,
- "idx2": indexSchema,
- "idx3": indexSchema,
- "idx4": indexSchema
- },
- "required": [
- "id",
- "embedding",
- "idx0",
- "idx1",
- "idx2",
- "idx3",
- "idx4"
- ],
- "indexes": [
- "idx0",
- "idx1",
- "idx2",
- "idx3",
- "idx4"
- ]
-}
-```
-
-To populate these index fields, we modify the [RxPipeline](../rx-pipeline.md) handler accordingly to the **Distance to samples** method. We calculate the distance between the document's embedding and our set of `5` index vectors. The calculated distances are converted to `string` and stored in the appropriate index fields:
-
-```ts
-import { euclideanDistance } from 'rxdb/plugins/vector';
-const sampleVectors: number[][] = [/* the index vectors */];
-const pipeline = await itemsCollection.addPipeline({
- handler: async (docs) => {
- await Promise.all(docs.map(async(doc) => {
- const embedding = await getEmbedding(doc.text);
- const docData = { id: doc.primary, embedding };
- // calculate the distance to all samples and store them in the index fields
- new Array(5).fill(0).map((_, idx) => {
- const indexValue = euclideanDistance(sampleVectors[idx], embedding);
- docData['idx' + idx] = indexNrToString(indexValue);
- });
- await vectorCollection.upsert(docData);
- }));
- }
-});
-```
-
-## Searching the Vector database with utilization of the indexes
-
-Once our embeddings are stored in an indexed format, we can perform searches much **more efficiently** than through a full table scan. While this indexing method boosts performance, it comes with a tradeoff: a slight loss in precision, meaning that the result set may not always be the optimal one. However, this is generally acceptable for **similarity search** use cases.
-
-There are multiple ways to leverage indexes for faster queries. Here are two effective methods:
-
-1. **Query for Index Similarity in Both Directions**: For each index vector, calculate the distance to the search embedding and fetch all relevant embeddings in both directions (sorted before and after) from that value.
-
-```ts
-async function vectorSearchIndexSimilarity(searchEmbedding: number[]) {
- const docsPerIndexSide = 100;
- const candidates = new Set();
- await Promise.all(
- new Array(5).fill(0).map(async (_, i) => {
- const distanceToIndex = euclideanDistance(sampleVectors[i], searchEmbedding);
- const [docsBefore, docsAfter] = await Promise.all([
- vectorCollection.find({
- selector: {
- ['idx' + i]: {
- $lt: indexNrToString(distanceToIndex)
- }
- },
- sort: [{ ['idx' + i]: 'desc' }],
- limit: docsPerIndexSide
- }).exec(),
- vectorCollection.find({
- selector: {
- ['idx' + i]: {
- $gt: indexNrToString(distanceToIndex)
- }
- },
- sort: [{ ['idx' + i]: 'asc' }],
- limit: docsPerIndexSide
- }).exec()
- ]);
- docsBefore.map(d => candidates.add(d));
- docsAfter.map(d => candidates.add(d));
- })
- );
- const docsWithDistance = Array.from(candidates).map(doc => {
- const distance = euclideanDistance((doc as any).embedding, searchEmbedding);
- return {
- distance,
- doc
- };
- });
- const sorted = docsWithDistance.sort(sortByObjectNumberProperty('distance')).reverse();
- return {
- result: sorted.slice(0, 10),
- docReads
- };
-}
-```
-
-2. **Query for an Index Range with a Defined Distance**: Set an `indexDistance` and retrieve all embeddings within a specified range from the index vector to the search embedding.
-
-```ts
-async function vectorSearchIndexRange(searchEmbedding: number[]) {
- await pipeline.awaitIdle();
- const indexDistance = 0.003;
- const candidates = new Set();
- let docReads = 0;
- await Promise.all(
- new Array(5).fill(0).map(async (_, i) => {
- const distanceToIndex = euclideanDistance(sampleVectors[i], searchEmbedding);
- const range = distanceToIndex * indexDistance;
- const docs = await vectorCollection.find({
- selector: {
- ['idx' + i]: {
- $gt: indexNrToString(distanceToIndex - range),
- $lt: indexNrToString(distanceToIndex + range)
- }
- },
- sort: [{ ['idx' + i]: 'asc' }],
- }).exec();
- docs.map(d => candidates.add(d));
- docReads = docReads + docs.length;
- })
- );
-
- const docsWithDistance = Array.from(candidates).map(doc => {
- const distance = euclideanDistance((doc as any).embedding, searchEmbedding);
- return {
- distance,
- doc
- };
- });
- const sorted = docsWithDistance.sort(sortByObjectNumberProperty('distance')).reverse();
- return {
- result: sorted.slice(0, 10),
- docReads
- };
-};
-```
-
-Both methods allow you to limit the number of embeddings fetched from storage while still ensuring a reasonably precise search result. However, they differ in how many embeddings are read and how precise the results are, with trade-offs between performance and accuracy. The first method has a known embedding read amount of `docsPerIndexSide * 2 * [amount of indexes]`. The second method reads out an unknown amount of embeddings, depending on the sparsity of the dataset and the value of `indexDistance`.
-
-And that's it for the implementation. We now have a local first vector database that is able to store and query vector data.
-
-## Performance benchmarks
-
-In server-side databases, performance can be improved by scaling hardware or adding more servers. However, [local-first](../offline-first.md) apps face the unique challenge that the hardware is determined by the end user, making performance unpredictable. Some users may have **high-end gaming PCs**, while others might be using **outdated smartphones in power-saving mode**. Therefore, when building a local-first app that processes more than a few documents, performance becomes a critical factor and should be thoroughly tested upfront.
-
-Let's run performance benchmarks on my **high-end gaming PC** to give you a sense of how long different operations take and what's achievable.
-
-### Performance of the Query Methods
-
-| Query Method | Time in milliseconds | Docs read from storage |
-| ---------------- | -------------------- | ---------------------- |
-| Full Scan | 765 | 10000 |
-| Index Similarity | 1647 | 934 |
-| Index Range | 88 | 2187 |
-
-As shown, the **index similarity** query method takes significantly longer compared to others. This is due to the need for descending sort orders in some queries `sort: [{ ['idx' + i]: 'desc' }]`. While RxDB supports descending sorts, performance suffers because IndexedDB does not efficiently handle [reverse indexed bulk operations](https://github.com/w3c/IndexedDB/issues/130). As a result, the **index range method** performs much better for this use case and should be used instead. With its query time of only `88` milliseconds it is fast enough for all most things and likely such fast that you do not even need to show a loading spinner. Also it is faster compared to fetching the query result from a server-side vector database over the internet.
-
-### Performance of the Models
-
-Let's also look at the time taken to calculate a single embedding across various models from the [huggingface transformers list](https://huggingface.co/models?pipeline_tag=feature-extraction&library=transformers.js):
-
-| Model Name | Time per Embedding in (ms) | Vector Size | Model Size (MB) |
-| -------------------------------------------- | -------------------------- | ----------- | --------------- |
-| Xenova/all-MiniLM-L6-v2 | 173 | 384 | 23 |
-| Supabase/gte-small | 341 | 384 | 34 |
-| Xenova/paraphrase-multilingual-mpnet-base-v2 | 1000 | 768 | 279 |
-| jinaai/jina-embeddings-v2-base-de | 1291 | 768 | 162 |
-| jinaai/jina-embeddings-v2-base-zh | 1437 | 768 | 162 |
-| jinaai/jina-embeddings-v2-base-code | 1769 | 768 | 162 |
-| mixedbread-ai/mxbai-embed-large-v1 | 3359 | 1024 | 337 |
-| WhereIsAI/UAE-Large-V1 | 3499 | 1024 | 337 |
-| Xenova/multilingual-e5-large | 4215 | 1024 | 562 |
-
-From these benchmarks, it's evident that models with larger vector outputs **take longer to process**. Additionally, the model size significantly affects performance, with larger models requiring more time to compute embeddings. This trade-off between model complexity and performance must be considered when choosing the right model for your use case.
-
-## Potential Performance Optimizations
-
-There are multiple other techniques to improve the performance of your local vector database:
-
-- **Shorten embeddings**: The storing and retrieval of embeddings can be improved by "shortening" the embedding. To do that, you just strip away numbers from your vector. For example `[0.56, 0.12, -0.34, 0.78, -0.90]` becomes `[0.56, 0.12]`. That's it, you now have a smaller embedding that is faster to read out of the storage and calculating distances is faster because it has to process less numbers. The downside is that you loose precision in your search results. Sometimes shortening the embeddings makes more sense as a pre-query step where you first compare the shortened vectors and later fetch the "real" vectors for the 10 most matching documents to improve their sort order.
-
-- **Optimize the variables in our Setup**: In this examples we picked our variables in a non-optimal way. You can get huge performance improvements by setting different values:
- - We picked 5 indexes for the embeddings. Using less indexes improves your query performance with the cost of less good results.
- - For queries that search by fetching a specific embedding distance we used the `indexDistance` value of `0.003`. Using a lower value means we read less document from the storage. This is faster but reduces the precision of the results which means we will get a less optimal result compared to a full table scan.
- - For queries that search by fetching a given amount of documents per index side, we set the value `docsPerIndexSide` to `100`. Increasing this value means you fetch more data from the storage but also get a better precision in the search results. Decreasing it can improve query performance with worse precision.
-
-- **Use faster models**: There are many ways to improve performance of machine learning models. If your embedding calculation is too slow, try other models. **Smaller** mostly means **faster**. The model `Xenova/all-MiniLM-L6-v2` which is used in this tutorial is about [1 year old](https://huggingface.co/Xenova/all-MiniLM-L6-v2/tree/main). There exist better, more modern models to use. Huggingface makes these convenient to use. You only have to switch out the model name with any other model from [that site](https://huggingface.co/models?pipeline_tag=feature-extraction&library=transformers.js).
-
-- **Narrow down the search space**: By utilizing other "normal" filter operators to your query, you can narrow down the search space and optimize performance. For example in an email search you could additionally use a operator that limits the results to all emails that are not older than one year.
-
-- **Dimensionality Reduction** with an [autoencoder](https://www.youtube.com/watch?v=D16rii8Azuw): An autoencoder encodes vector data with minimal loss which can improve the performance by having to store and compare less numbers in an embedding.
-
-- **Different RxDB Plugins**: RxDB has different storages and plugins that can improve the performance like the [IndexedDB RxStorage](../rx-storage-indexeddb.md), the [OPFS RxStorage](../rx-storage-opfs.md), the [sharding](../rx-storage-sharding.md) plugin and the [Worker](../rx-storage-worker.md) and [SharedWorker](../rx-storage-shared-worker.md) storages.
-
-
-
-
-
-
-
-## Migrating Data on Model/Index Changes
-
-When you change the index parameter or even update the whole model which was used to create the embeddings, you have to migrate the data that is already stored on your users devices. RxDB offers the [Schema Migration Plugin](../migration-schema.md) for that.
-
-When the app is reloaded and the updated source code is started, RxDB detects changes in your [schema version](../rx-schema.md#version) and runs the [migration strategy](../migration-schema.md#providing-strategies) accordingly. So to update the stored data, increase the schema version and define a handler:
-
-```ts
-const schemaV1 = {
- "version": 1, // <- increase schema version by 1
- "primaryKey": "id",
- "properties": {
- /* ... */
- },
- /* ... */
-};
-```
-
-In the migration handler we recreate the new embeddings and index values.
-
-```ts
-await myDatabase.addCollections({
- vectors: {
- schema: schemaV1,
- migrationStrategies: {
- 1: function(docData){
- const embedding = await getEmbedding(docData.body);
- new Array(5).fill(0).map((_, idx) => {
- docData['idx' + idx] = euclideanDistance(mySampleVectors[idx], embedding);
- });
- return docData;
- },
- }
- }
-});
-```
-
-## Possible Future Improvements to Local-First Vector Databases
-
-For now our vector database works and we are good to go. However there are some things to consider for the future:
-
-- **WebGPU** is [not fully supported](https://caniuse.com/webgpu) yet. When this changes, creating embeddings in the browser have the potential to become faster. You can check if your current chrome supports WebGPU by opening `chrome://gpu/`. Notice that WebGPU has been reported to sometimes be [even slower](https://github.com/xenova/transformers.js/issues/894#issuecomment-2323897485) compared to WASM but likely it will be faster in the long term.
-- **Cross-Modal AI Models**: While progress is being made, AI models that can understand and integrate multiple modalities are still in development. For example you could query for an **image** together with a **text** prompt to get a more detailed output.
-- **Multi-Step queries**: In this article we only talked about having a single query as input and an ordered list of outputs. But there is big potential in chaining models or queries together where you take the results of one query and input them into a different model with different embeddings or outputs.
-
-## Follow Up
-- Shared/Like my [announcement tweet](https://x.com/rxdbjs/status/1833429569434427494)
-- Read the source code that belongs to this article [at github](https://github.com/pubkey/javascript-vector-database)
-- Learn how to use RxDB with the [RxDB Quickstart](../quickstart.md)
-- Check out the [RxDB github repo](https://github.com/pubkey/rxdb) and leave a star ⭐
-
----
-
-## RxDB as a Database in a jQuery Application
-
-import {VideoBox} from '@site/src/components/video-box';
-
-# RxDB as a Database in a jQuery Application
-
-In the early days of dynamic web development, **jQuery** emerged as a popular library that simplified DOM manipulation and AJAX requests. Despite the rise of modern frameworks, many developers still maintain or extend existing jQuery projects, or leverage jQuery in specific contexts. As jQuery applications grow in complexity, they often require efficient data handling, offline support, and synchronization capabilities. This is where [RxDB](https://rxdb.info/), a reactive JavaScript database for the browser, node.js, and [mobile devices](./mobile-database.md), steps in.
-
-
-
-
-
-
-
-## jQuery Web Applications
-jQuery provides a simple API for DOM manipulation, event handling, and AJAX calls. It has been widely adopted due to its ease of use and strong community support. Many projects continue to rely on jQuery for handling client-side functionality, UI interactions, and animations. As these applications evolve, the need for a robust database solution that can manage data locally (and offline) becomes increasingly important.
-
-## Importance of Databases in jQuery Applications
-Modern, data-driven jQuery applications often need to:
-
-- **Store and retrieve data locally** for quick and responsive user experiences.
-- **Synchronize data** between clients or with a [central server](../rx-server.md).
-- **Handle offline scenarios** seamlessly.
-- **Handle large or complex data structures** without repeatedly hitting the server.
-
-Relying solely on server endpoints or basic browser storage (like `localStorage`) can quickly become unwieldy for larger or more complex use cases. Enter RxDB, a dedicated solution that manages data on the client side while offering real-time synchronization and offline-first capabilities.
-
-## Introducing RxDB as a Database Solution
-RxDB (short for Reactive Database) is built on top of [IndexedDB](./browser-database.md) and leverages [RxJS](https://rxjs.dev/) to provide a modern, reactive approach to handling data in the browser. With RxDB, you can store documents locally, query them in real-time, and synchronize changes with a remote server whenever an internet connection is available.
-
-### Key Features
-
-- **Reactive Data Handling**: RxDB emits real-time updates whenever your data changes, allowing you to instantly reflect these changes in the DOM with jQuery.
-- **Offline-First Approach**: Keep your application usable even when the user's network is unavailable. Data is automatically synchronized once connectivity is restored.
-- **Data Replication**: Enable multi-device or multi-tab synchronization with minimal effort.
-- **Observable Queries**: Reduce code complexity by subscribing to queries instead of constantly polling for changes.
-- **Multi-Tab Support**: If a user opens your jQuery application in multiple tabs, RxDB keeps data in sync across all sessions.
-
-
-
-
-
-## Getting Started with RxDB
-
-### What is RxDB?
-[RxDB](https://rxdb.info/) is a client-side NoSQL database that stores data in the browser (or [node.js](../nodejs-database.md)) and synchronizes changes with other instances or servers. Its design embraces reactive programming principles, making it well-suited for real-time applications, offline scenarios, and multi-tab use cases.
-
-
-
-### Reactive Data Handling
-RxDB's use of observables enables an event-driven architecture where data mutations automatically trigger UI updates. In a jQuery application, you can subscribe to these changes and update DOM elements as soon as data changes occur - no need for manual refresh or complicated change detection logic.
-
-### Offline-First Approach
-One of RxDB's distinguishing traits is its emphasis on offline-first design. This means your jQuery application continues to function, display, and update data even when there's no network connection. When connectivity is restored, RxDB synchronizes updates with the server or other peers, ensuring consistency across all instances.
-
-### Data Replication
-RxDB supports real-time data replication with different backends. By enabling replication, you ensure that multiple clients - be they multiple [browser](./browser-database.md) tabs or separate devices - stay in sync. RxDB's conflict resolution strategies help keep the data consistent even when multiple users make changes simultaneously.
-
-### Observable Queries
-Instead of static queries, RxDB provides observable queries. Whenever data relevant to a query changes, RxDB re-emits the new result set. You can subscribe to these updates within your jQuery code and instantly reflect them in the UI.
-
-### Multi-Tab Support
-Running your jQuery app in multiple tabs? RxDB automatically synchronizes changes between those tabs. Users can freely switch windows without missing real-time updates.
-
-
-
-### RxDB vs. Other jQuery Database Options
-Historically, jQuery developers might use `localStorage` or raw `IndexedDB` for storing data. However, these solutions can require significant boilerplate, lack reactivity, and offer no built-in sync or conflict resolution. RxDB fills these gaps with an out-of-the-box solution, abstracting away low-level database complexities and providing an event-driven, offline-capable approach.
-
-## Using RxDB in a jQuery Application
-
-### Installing RxDB
-Install RxDB (and `rxjs`) via npm or yarn:
-```bash
-npm install rxdb rxjs
-```
-
-If your project isn't set up with a build process, you can still use bundlers like Webpack or Rollup, or serve RxDB as a UMD bundle. Once included, you'll have access to RxDB globally or via import statements.
-
-## Creating and Configuring a Database
-
-Below is a minimal example of how to create an RxDB instance and collection. You can call this when your page initializes, then store the `db` object for later use:
-
-```js
-import { createRxDatabase } from 'rxdb';
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-
-async function initDatabase() {
- const db = await createRxDatabase({
- name: 'heroesdb',
- storage: getRxStorageLocalstorage(),
- password: 'myPassword', // optional encryption password
- multiInstance: true, // multi-tab support
- eventReduce: true // optimizes event handling
- });
-
- await db.addCollections({
- hero: {
- schema: {
- title: 'hero schema',
- version: 0,
- primaryKey: 'id',
- type: 'object',
- properties: {
- id: { type: 'string' },
- name: { type: 'string' },
- points: { type: 'number' }
- }
- }
- }
- });
-
- return db;
-}
-```
-
-## Updating the DOM with jQuery
-
-Once you have your RxDB instance, you can query data reactively and use jQuery to manipulate the DOM:
-
-```js
-// Example: Displaying heroes using jQuery
-$(document).ready(async function () {
- const db = await initDatabase();
-
- // Subscribing to all hero documents
- db.hero
- .find()
- .$ // the observable
- .subscribe((heroes) => {
- // Clear the list
- $('#heroList').empty();
-
- // Append each hero to the DOM
- heroes.forEach((hero) => {
- $('#heroList').append(`
-
- ${hero.name} - Points: ${hero.points}
-
- `);
- });
- });
-
- // Example of adding a new hero
- $('#addHeroBtn').on('click', async () => {
- const heroName = $('#heroName').val();
- const heroPoints = parseInt($('#heroPoints').val(), 10);
- await db.hero.insert({
- id: Date.now().toString(),
- name: heroName,
- points: heroPoints
- });
- });
-});
-```
-
-With this approach, any time data in the `hero` collection changes - like when a new hero is added - your jQuery code re-renders the list of heroes automatically.
-
-## Different RxStorage layers for RxDB
-
-RxDB supports multiple storage backends (RxStorage layers). Some popular ones:
-
-- [LocalStorage.js RxStorage](../rx-storage-localstorage.md): Uses the browsers [localstorage](./localstorage.md). Fast and easy to set up.
-- [IndexedDB RxStorage](../rx-storage-indexeddb.md): Direct IndexedDB usage, suitable for modern browsers.
-- [OPFS RxStorage](../rx-storage-opfs.md): Uses the File System Access API for better performance in supported browsers.
-- [Memory RxStorage](../rx-storage-memory.md): Stores data in memory, handy for tests or ephemeral data.
-- [SQLite RxStorage](../rx-storage-sqlite.md): Uses SQLite (potentially via WebAssembly). In typical browser-based scenarios, localstorage or IndexedDB storage is usually more straightforward.
-
-## Synchronizing Data with RxDB between Clients and Servers
-
-### Offline-First Approach
-RxDB's [offline-first](../offline-first.md) approach allows your jQuery application to store and query data locally. Users can continue interacting, even offline. When connectivity returns, RxDB syncs to the server.
-
-### Conflict Resolution
-Should multiple clients update the same document, RxDB offers [conflict handling strategies](../transactions-conflicts-revisions.md). You decide how to resolve conflicts - like keeping the latest edit or merging changes - ensuring data integrity across distributed systems.
-
-### Bidirectional Synchronization
-With RxDB, data changes flow both ways: from client to server and from server to client. This real-time synchronization ensures that all users or tabs see consistent, up-to-date data.
-
-
-
-## Advanced RxDB Features and Techniques
-
-### Indexing and Performance Optimization
-Create indexes on frequently queried fields to speed up performance. For large data sets, indexing can drastically improve query times, keeping your jQuery UI snappy.
-
-### Encryption of Local Data
-RxDB supports [encryption to secure data stored in the browser](../encryption.md). This is crucial if your application handles sensitive user information.
-
-### Change Streams and Event Handling
-Use change streams to listen for data modifications at the database or collection level. This can trigger [real-time](./realtime-database.md) [UI updates](./optimistic-ui.md), notifications, or custom logic whenever the data changes.
-
-### JSON Key Compression
-If your data model has large or repetitive field names, [JSON key compression](../key-compression.md) can minimize stored document size and potentially boost performance.
-
-## Best Practices for Using RxDB in jQuery Applications
-
-- Centralize Your Database: Initialize and configure RxDB in one place. Expose the instance where needed or store it globally to avoid re-creating it on every script.
-- Leverage Observables: Instead of polling or manually refreshing data, rely on RxDB's reactivity. Subscribe to queries and let RxDB inform you when data changes.
-- Handle Subscriptions: If you create subscriptions in a single-page context, ensure you don't re-subscribe endlessly or create memory leaks. Clean them up if you're navigating away or removing DOM elements.
-- Offline Testing: Thoroughly test how your jQuery app behaves without a network connection. Simulate offline states in your browser's dev tools or with flight mode to ensure the user experience remains smooth.
-- Performance Profiling: For large data sets or frequent data updates, add indexes and carefully measure query performance. Optimize only where needed.
-
-## Follow Up
-To explore more about RxDB and leverage its capabilities for browser database development, check out the following resources:
-
-- [RxDB GitHub Repository](/code/): Visit the official GitHub repository of RxDB to access the source code, documentation, and community support.
-- [RxDB Quickstart](../quickstart.md): Get started quickly with RxDB by following the provided quickstart guide, which offers step-by-step instructions for setting up and using RxDB in your projects.
-- [RxDB Examples](https://github.com/pubkey/rxdb/tree/master/examples): Browse official examples to see RxDB in action and learn best practices you can apply to your own project - even if jQuery isn't explicitly featured, the patterns are similar.
-
----
-
-## JSON-Based Databases - Why NoSQL and RxDB Simplify App Development
-
-# JSON-Based Databases: Why NoSQL and RxDB Simplify App Development
-
-Modern applications handle highly dynamic, often deeply nested data structures—commonly represented in **JSON**. Whether you're building a real-time dashboard or a fully offline mobile app, storing and querying data in a JSON-friendly way can reduce overhead and coding complexity. This is where **JSON-based databases** (often part of the **NoSQL** family) come into play, letting you store objects in the same format they're used in your code, eliminating the schema wrangling that can come with a strict relational design.
-
-Below, we explore why JSON-based databases naturally align with **NoSQL** principles, how relational engines (like PostgreSQL or SQLite) handle JSON columns, the pitfalls of storing data in a single plain JSON text file, and the ways [RxDB](https://rxdb.info/) stands out as an offline-first JSON solution for JavaScript developers—complete with advanced features like JSON-Schema and JSON-key-compression.
-
-
-
-## Why JSON-Based Databases Are Typically NoSQL
-
-### Document-Oriented by Nature
-
-When your data is stored as JSON, each record or document can hold nested arrays and sub-objects with no forced table schema. NoSQL solutions such as [MongoDB](../rx-storage-mongodb.md), [CouchDB](../replication-couchdb.md), [Firebase](../replication-firestore.md), and **RxDB** store and retrieve these documents in their “raw” JSON form. This model integrates smoothly with how front-end applications already handle data, minimizing transformations and improving developer productivity.
-
-### Flexible, Schema-Agnostic
-
-Traditional SQL tables enforce rigid column definitions and demand explicit schema migrations when you add or rename a field. By contrast, NoSQL solutions accept more dynamic data structures, allowing changes on the fly. This means a front-end developer can add a new field to a JSON object—perhaps for a new feature—without the friction of redefining or migrating a database schema. While this is possible, it is often not recommended.
-
-### Aligned With Evolving User Interfaces
-
-As modern UIs frequently manipulate deeply nested or changing data, developers find it easier to store whole objects directly, saving time that might otherwise be spent performing complex joins or normalizing data. For instance, frameworks like React, Vue, or Angular are inherently comfortable with nested JSON structures, which map more directly to NoSQL’s “document” approach than to relational tables.
-
-## Is NoSQL “Better” Than SQL?
-
-It depends on your application. **SQL** remains exceptional for complex aggregations, enforced relationships, and sophisticated transaction handling. But **NoSQL** is often more intuitive and easier to maintain for “document-first” applications that:
-
-- Thrive on flexible or rapidly evolving data models.
-- Rely on hierarchical or nested JSON objects.
-- Avoid multi-table joins.
-- Require easy horizontal scaling for large sets of documents.
-
-Relational databases are still a top choice for many enterprise back-ends, especially when advanced analytics or strongly enforced referential integrity is needed. But if your application is predominantly storing and manipulating JSON documents (e.g., user profiles, real-time chat logs, embedded items), a JSON-based or document-oriented approach can greatly reduce friction during development.
-
-## When to Prefer SQL Instead of JSON/NoSQL
-NoSQL solutions—particularly JSON-based document stores—provide a natural fit for flexible, nested data in UI-heavy applications. However, certain scenarios may benefit more from a **SQL** solution:
-1. **Complex Relationships**: If your data demands intricate joins across multiple entities (e.g., many-to-many relationships that can’t easily be embedded in a single document), a well-structured relational schema can simplify queries.
-2. **Strong Integrity and Constraints**: SQL excels at enforcing constraints such as foreign keys, unique constraints, and advanced triggers. If your system needs strict data validation and complex business logic within the database, SQL might prove more robust.
-3. **High-End Analytical Queries**: Relational databases can handle sophisticated aggregations, groupings, and joins more efficiently. If your app frequently runs advanced SQL queries, a NoSQL approach may complicate or slow down analytics.
-4. **Legacy Integration**: Many enterprise systems are built around existing relational schemas. A purely NoSQL approach might mean rewriting or bridging systems that are heavily reliant on SQL constraints and transformations.
-5. **Transaction Handling**: While many NoSQL solutions have improved transaction support, it can still lag behind well-established SQL transaction models. If ACID properties and multi-operation atomicity are paramount, you might prefer a tried-and-true relational engine.
-
-In short, if you prioritize advanced relational queries, robust constraints, or complex business rules at the database level, SQL remains a powerful, and possibly superior, choice. For user-centric, fast-evolving JSON data, though, NoSQL or JSON-based solutions often reduce the friction of frequent schema changes.
-
-## Storing JSON in Traditional SQL Databases
-
-### JSON Columns in PostgreSQL or MySQL
-
-To accommodate the demand for flexible data, several SQL engines (notably **PostgreSQL** and MySQL) introduced support for **JSON** columns. PostgreSQL offers the `JSON` and `JSONB` types, enabling developers to store raw JSON in a column. You can also index specific paths within the JSON to speed lookups on nested fields:
-
-```sql
-CREATE TABLE products (
- id SERIAL PRIMARY KEY,
- name TEXT,
- details JSONB
-);
-
--- Insert a record with JSON data
-INSERT INTO products (name, details) VALUES
-('Laptop', '{"brand": "BrandX", "features": ["Touchscreen", "SSD"]}');
-```
-
-Although this approach merges the best of both worlds (SQL queries + flexible JSON fields), it can also create a “split personality” in your schema. You might store stable data in normal columns, while unpredictable or nested details live inside a JSONB field. Some projects flourish with this hybrid design, others find it a bit unwieldy.
-
-
-
-
-
-## Storing JSON in SQLite
-SQLite also allows storing JSON data, typically as text columns, but with some additional features since **SQLite 3.9** (2015) including the [JSON1 extension](https://www.sqlite.org/json1.html). This extension can parse JSON text, perform queries on JSON fields, and do partial updates. However, storing JSON in SQLite does require you to ensure you’ve compiled SQLite with JSON1 support or to rely on a library that bundles it. While possible, you still won't get quite the same schema-agnostic ease as a full document store, but it’s a pragmatic solution for smaller or embedded needs on the server side—or occasionally in the browser if you run SQLite via WebAssembly. RxDB uses this in its [SQLite storage](../rx-storage-sqlite.md).
-
-## JSON vs. Database - Why a Plain JSON Text File is a Problem
-
-Some developers consider storing everything in a single JSON file, typically read and written directly from disk or local storage. This approach, while seemingly simple, usually does not scale. Key issues include:
-
-- **No Concurrency**: If multiple parts of the application try to write to the same JSON file, you risk overwriting changes.
-- **No Indexes**: Finding or filtering items in large JSON text requires scanning everything. This is slow and quickly becomes unmanageable.
-- **No Partial Updates**: You often reload the entire file, modify it in memory, then write it back, which is highly inefficient for large data sets.
-- **Corruption Risk**: A single corrupted write or partial save might break the entire JSON file, losing all data.
-- **High Memory Usage**: The entire file may need to be parsed into memory, even if you only need a fraction of the data.
-
-Databases—relational or NoSQL—solve these issues by handling concurrency, enabling partial reads/writes, establishing indexes, and ensuring transactional integrity so you don’t lose everything if the process is interrupted mid-write.
-
-
-
-
-
-
-
-## RxDB: A JSON-Focused Database for JavaScript Apps
-
-Many NoSQL databases operate on the server, whereas RxDB is built for client-side usage—browsers, mobile apps, or Node.js. It specializes in JSON documents and embraces an [offline-first](../offline-first.md) philosophy.
-
-### Key Characteristics
-1. **Local JSON Storage**
-
-RxDB stores each record as a JSON document, closely matching how front-end frameworks handle state. This eliminates complex transformations or manual JSON parsing before writing to a table.
-
-2. **Reactive Queries**
-
-Instead of complex SQL, RxDB uses JSON-based [query](../rx-query.md) definitions. You can subscribe to query results, letting your UI automatically refresh when data changes locally or from remote sync updates:
-
-
-
-3. **Offline-First Sync**
-
-Built-in replication plugins push/pull changes to or from a remote server. If your app is offline, updates get stored locally, then sync up seamlessly once a connection is available.
-
-4. **Optional JSON-Schema**
-
-Though it’s a document database, RxDB encourages you to define a JSON-based schema for clarity, indexing, and type validation. This helps maintain data consistency while still allowing a measure of flexibility for new fields.
-
-### Advanced JSON Features in RxDB
-
-- **JSON-Schema**: By specifying a JSON-Schema, you can define which fields exist, whether they are required, and their data types. This is invaluable for catching malformed documents early and imposing mild structure in a NoSQL setting.
-
-- **JSON Key-Compression**: Large, verbose field names can bloat storage usage. RxDB’s optional [key-compression plugin](../key-compression.md) automatically shortens field names in your JSON documents internally, reducing disk space and bandwidth:
-
-```ts
-// Example: how key-compression can transform your documents
-const uncompressed = {
- "firstName": "Corrine",
- "lastName": "Ziemann",
- "shoppingCartItems": [
- { "productNumber": 29857, "amount": 1 },
- { "productNumber": 53409, "amount": 6 }
- ]
-};
-
-const compressed = {
- "|e": "Corrine",
- "|g": "Ziemann",
- "|i": [
- { "|h": 29857, "|b": 1 },
- { "|h": 53409, "|b": 6 }
- ]
-};
-```
-
-The user sees no difference in their code—RxDB automatically decompresses data on read—but the overhead is drastically reduced behind the scenes.
-
-## Follow Up
-
-JSON-based databases naturally align with NoSQL because they accommodate evolving, nested data without rigid schemas. This makes them appealing for many UI-centric or offline-first applications where flexible documents and agile development cycles matter more than heavy relational queries or constraints.
-
-SQL can still store JSON—whether in PostgreSQL’s JSONB columns, MySQL’s JSON fields, or SQLite’s JSON1 extension. For some teams, a hybrid approach pairing SQL for relational data with JSON columns for more flexible fields works well. However, storing everything in a single monolithic JSON text file is rarely advisable for anything beyond trivial tasks—databases excel at concurrency, indexing, and partial writes.
-
-Tools like RxDB provide an even simpler, [local-first](./local-first-future.md) take on JSON documents—particularly for JavaScript projects. With offline [replication](../replication.md), reactive queries, optional JSON-Schema, and advanced optimizations such as key-compression, RxDB streamlines building dynamic, user-facing features while preserving the core benefits of a robust document database.
-
-To explore more about RxDB and its capabilities for browser database development, check out the following resources:
-
-- [RxDB GitHub Repository](/code/): Visit the official GitHub repository of RxDB to access the source code, documentation, and community support.
-- [RxDB Quickstart](../quickstart.md): Get started quickly with RxDB by following the provided quickstart guide, which offers step-by-step instructions for setting up and using RxDB in your projects.
-- [RxDB Examples](https://github.com/pubkey/rxdb/tree/master/examples): Browse official examples to see RxDB in action and learn best practices you can apply to your own project - even if jQuery isn't explicitly featured, the patterns are similar.
-
----
-
-## RxDB - The JSON Database Built for JavaScript
-
-# RxDB - JSON Database for JavaScript
-
-Storing data as **JSON documents** in a **NoSQL** database is not just a trend; it's a practical choice. JSON data is highly compatible with various tools and is human-readable, making it an excellent fit for modern applications. JSON documents offer more flexibility compared to traditional SQL table rows, as they can contain nested data structures. This article introduces [RxDB](https://rxdb.info/), an open-source, flexible, performant, and battle-tested NoSQL JSON database specifically designed for **JavaScript** applications.
-
-
-
-
-
-
-
-## Why Choose a JSON Database?
-- **JavaScript Friendliness**: JavaScript, a prevalent language for web development, naturally uses JSON for data representation. Using a JSON database aligns seamlessly with JavaScript's native data format.
-
-- **Compatibility**: JSON is widely supported across different programming languages and platforms. Storing data in JSON format ensures compatibility with a broad range of tools and systems. All modern programming ecosystems have packages to parse, validate and process JSON data.
-
-- **Flexibility**: JSON documents can accommodate complex and nested data structures, allowing developers to store data in a more intuitive and hierarchical manner compared to SQL table rows. Nested data can be just stored in-document instead of having related tables.
-
-- **Human-Readable**: JSON is easy to read and understand, simplifying debugging and data inspection tasks.
-
-## Storage and Access Options for JSON Documents
-When incorporating JSON documents into your application, you have several storage and access options to consider:
-
-- **Local In-App Database with In-Memory Storage**: Ideal for lightweight applications or temporary data storage, this option keeps data in memory, ensuring fast read and write operations. However, data is not persistet beyond the current application session, making it suitable for temporary data storage. With RxDB, the [memory RxStorage](../rx-storage-memory.md) can be utilized to create an in-memory database.
-
-- **Local In-App Database with Persistent Storage**: Suitable for applications requiring data retention across sessions. Data is stored on the user's device or inside of the Node.js application, offering persistence between application sessions. It balances speed and data retention, making it versatile for various applications. With RxDB, a whole range of persistent storages is available. As example, for browser there is the [IndexedDB storage](../rx-storage-indexeddb.md). For server side applications, the [Node.js Filesystem storage](../rx-storage-filesystem-node.md) can be used. There are [many more storages](../rx-storage.md) for React-Native, Flutter, Capacitors.js and others.
-
-- **Server Database Connected to the Application**: For applications requiring data synchronization and accessibility from multiple processes, a server-based database is the preferred choice. Data is stored on a **remote server**, facilitating data sharing, synchronization, and accessibility across multiple processes. It's suitable for scenarios requiring centralized data management and enhanced security and backup capabilities on the server. RxDB supports the [FoundationDB](../rx-storage-foundationdb.md) and [MongoDB](../rx-storage-mongodb.md) as a remote database server.
-
-## Compression Storage for JSON Documents
-
-Compression storage for JSON documents is made effortless with RxDB's [key-compression plugin](../key-compression.md). This feature enables the efficient storage of compressed document data, reducing storage requirements while maintaining data integrity. Queries on compressed documents remain seamless, ensuring that your application benefits from both space-saving advantages and optimal query performance, making RxDB a compelling choice for managing JSON data efficiently. The compression happens inside of the [RxDatabase](../rx-database.md) and does not affect the API usage. The only limitation is that encrypted fields themself cannot be used inside a query.
-
-## Schema Validation and Data Migration on Schema Changes
-Storing JSON documents inside of a database in an application, can cause a problem when the format of the data changes. Instead of having a single server where the data must be migrated, many client devices are out there that have to run a migration.
-When your application's schema evolves, RxDB provides [migration strategies](../migration-schema.md) to facilitate the transition, ensuring data consistency throughout schema updates.
-
-**JSONSchema Validation Plugins**: RxDB supports multiple [JSONSchema validation plugins](../schema-validation.md), guaranteeing that only valid data is stored in the database. RxDB uses the JsonSchema standardization that you might know from other technologies like OpenAPI (aka Swagger).
-
-```javascript
-// RxDB Schema example
-const mySchema = {
- version: 0,
- primaryKey: 'id', // <- define the primary key for your documents
- type: 'object',
- properties: {
- id: {
- type: 'string',
- maxLength: 100 // <- the primary key must have set maxLength
- },
- name: {
- type: 'string',
- maxLength: 100
- },
- done: {
- type: 'boolean'
- },
- timestamp: {
- type: 'string',
- format: 'date-time'
- }
- },
- required: ['id', 'name', 'done', 'timestamp']
-}
-```
-
-## Store JSON with RxDB in Browser Applications
-RxDB offers versatile storage solutions for browser-based applications:
-
-- **Multiple Storage Plugins**: RxDB supports various storage backends, including [IndexedDB](../rx-storage-indexeddb.md), [localstorage](../rx-storage-localstorage.md) and [In-Memory](../rx-storage-memory.md), catering to a range of browser environments.
-
-- **Observable Queries**: With RxDB, you can create observable [queries](../rx-query.md) that work seamlessly across multiple browser tabs, providing real-time updates and synchronization.
-
-
-
-## RxDB JSON Database Performance
-
-Certainly! Let's delve deeper into the performance aspects of RxDB when it comes to working with JSON data.
-
-1. **Efficient Querying:** RxDB is engineered for rapid and efficient querying of JSON data. It employs a well-optimized indexing system that allows for lightning-fast retrieval of specific data points within your JSON documents. Whether you're fetching individual values or complex nested structures, RxDB's query performance is designed to keep your application responsive, even when dealing with large datasets.
-
-2. **Scalability:** As your application grows and your [JSON dataset](./json-based-database.md) expands, RxDB scales gracefully. Its performance remains consistent, enabling you to handle increasingly larger volumes of data without compromising on speed or responsiveness. This scalability is essential for applications that need to accommodate growing user bases and evolving data needs.
-
-3. **Reduced Latency:** RxDB's streamlined data access mechanisms significantly reduce latency when working with JSON data. Whether you're reading from the database, making updates, or synchronizing data between clients and servers, RxDB's optimized operations help minimize the delays often associated with data access. Observed queries are optimized with the [EventReduce algorithm](https://github.com/pubkey/event-reduce) to provide nearly-instand UI updates on data changes.
-
-4. **RxStorage Layer**: Because RxDB allows you to swap out the storage layer. A storage with the most optimal performance can be chosen for each runtime while not touching other database code. Depending on the access patterns, you can pick exactly the storage that is best:
-
-
-
-## RxDB in Node.js
-Node.js developers can also benefit from RxDB's capabilities. By integrating RxDB into your Node.js applications, you can harness the power of a NoSQL JSON db to efficiently manage your data on the server-side. RxDB's flexibility, performance, and essential features are equally valuable in server-side development. [Read more about RxDB+Node.js](../nodejs-database.md).
-
-## RxDB to store JSON documents in React Native
-
-For mobile app developers working with React Native, RxDB offers a convenient solution for handling JSON data. Whether you're building Android or iOS applications, RxDB's compatibility with JavaScript and its ability to work with JSON documents make it a natural choice for data management within your React Native apps. [Read more about RxDB+React-Native](../react-native-database.md).
-
-## Using SQLite as a JSON Database
-In some cases, you might want to use SQLite as a backend storage solution for your JSON data. RxDB can be configured [to work with SQLite](../rx-storage-sqlite.md), providing the benefits of both a relational database system and JSON document storage. This hybrid approach can be advantageous when dealing with complex data relationships while retaining the flexibility of JSON data representation.
-
-## Follow Up
-To further explore RxDB and get started with using it in your frontend applications, consider the following resources:
-
-- [RxDB Quickstart](../quickstart.md): A step-by-step guide to quickly set up RxDB in your project and start leveraging its features.
-- [RxDB GitHub Repository](https://github.com/pubkey/rxdb): The official repository for RxDB, where you can find the code, examples, and community support.
-
-By embracing [RxDB](https://rxdb.info/) as your **JSON database** solution, you can tap into the extensive capabilities of JSON data storage. This empowers your applications with offline accessibility, caching, enhanced performance, and effortless data synchronization. RxDB's focus on JavaScript and its robust feature set render it the perfect selection for frontend developers in pursuit of efficient and scalable data storage solutions.
-
----
-
-## What is a Local Database and Why RxDB is the Best Local Database for JavaScript Applications
-
-
-A **local database** is a data storage system residing on a user's device, allowing applications to store, query, and manipulate information without needing continuous network access. This approach prioritizes quick data retrieval, efficient updates, and the ability to function in [offline-first](../offline-first.md) scenarios. In contrast, server-based databases require an active internet connection for each request and response cycle, making them more vulnerable to latency, network disruptions, and downtime.
-
-Local databases often leverage technologies such as **IndexedDB**, **SQLite**, or **WebSQL** (though WebSQL has been deprecated). These technologies manage both structured data (like relational tables) and unstructured data (such as JSON documents). When connectivity is restored, local databases typically sync their changes back to a central server-side database, maintaining consistent and up-to-date records across multiple devices.
-
-### Use Cases of Local Databases
-
-Local databases are particularly beneficial for:
-
-- **Offline Functionality**: Essential for apps that must remain usable without a consistent internet connection, such as note-taking apps or offline-first CRMs. Users can continue adding and editing data, then sync changes once they reconnect.
-- **Low Latency**: By reducing round-trips to remote servers, local databases enable real-time responsiveness. This feature is critical for interactive applications such as gaming platforms, data dashboards, or analytics tools that need near-instant feedback.
-- **Data Synchronization**: Many modern applications - like chat systems or collaborative editing tools - require continuous data exchange between multiple users or devices. Local databases can handle intermittent connectivity gracefully, queuing updates locally and syncing them when possible.
-
-In addition, local databases are increasingly integral to **Progressive Web Apps (PWAs)**, offering a native app-like user experience that is fast and available, even when offline.
-
-### Performance Optimization
-
-The primary performance benefit of a local database is its proximity to the application: queries and updates happen directly on the user's device, eliminating the overhead of multiple network hops. Common optimizations include:
-
-- **Caching**: Storing frequently accessed data in memory or on disk to minimize expensive operations.
-- **Batching Writes**: Grouping database operations into a single write transaction to reduce overhead and lock contention.
-- **Efficient Indexing**: Using appropriate indexes to speed up queries, especially important for applications that handle large data sets or frequent lookups.
-
-These techniques ensure that local databases run smoothly, even on lower-powered or [mobile devices](./mobile-database.md).
-
-
-
-### Security and Encryption
-
-Storing data on user devices introduces unique security considerations, such as the risk of physical theft or unauthorized access. Consequently, many local databases support **encryption** options to safeguard sensitive information. Developers can implement additional security measures like **device-level encryption**, **secure storage plugins**, and user authentication to further protect data from prying eyes.
-
----
-
-
-
-
-
-
-
-## Why RxDB is Optimized for JavaScript Applications
-
-RxDB (Reactive Database) is an offline-first, NoSQL database designed to meet the needs of modern JavaScript applications. Built with a focus on reactivity and real-time data handling, RxDB excels in scenarios where low-latency, offline availability, and scalability are essential.
-
-### Real-Time Reactivity
-
-At the core of RxDB is **reactive programming**, allowing you to subscribe to changes in your data collections and receive immediate UI updates when records change - no manual polling or refetching required. For instance, a chat application can display incoming messages as soon as they arrive, maintaining a smooth and responsive experience.
-
-
-
-### Offline-First Support
-
-RxDB's primary design goal is to work seamlessly in offline environments. Even if your device loses internet connectivity, RxDB enables you to continue reading and writing data. Once the connection is restored, all pending changes are automatically synchronized with your backend. This [offline-first approach](../offline-first.md) is ideal for productivity apps, field service tools, and other scenarios where reliability and user autonomy are paramount.
-
-### Flexible Data Replication
-
-A standout feature of RxDB is its [bi-directional replication](../replication.md). It supports synchronization with a variety of backends, such as:
-
-- [CouchDB](../replication-couchdb.md): Via the CouchDB replication, facilitating easy integration with any Couch-compatible server.
-- [GraphQL Endpoints](../replication-graphql.md): Through community plugins, developers can replicate JSON documents to and from GraphQL servers.
-- [Custom Backends](../replication-http.md): RxDB provides hooks to build custom replication strategies for proprietary or specialized server APIs.
-
-This flexibility ensures that RxDB fits into diverse architectures without locking you into a single vendor or technology stack.
-
-### Schema Validation and Versioning
-
-Rather than relying on implicit data models, RxDB leverages **JSON schema** to define document structures. This approach promotes data consistency by enforcing constraints such as required fields and acceptable data formats. As your application grows and changes, RxDB's built-in **schema versioning** and migration tools help you evolve your database schema safely, minimizing risks of data corruption or loss.
-
-### Rich Plugin Ecosystem
-
-One of RxDB's greatest strengths is its **pluggable architecture**, allowing you to add functionality as needed:
-
-- [Encryption](../encryption.md): Secure your data at rest using advanced encryption plugins.
-- [Full-Text Search](../fulltext-search.md): Integrate powerful text search capabilities for applications that require quick and flexible query options.
-- [Storage Adapters](../rx-storage.md): Swap out the underlying storage layer (e.g., [IndexedDB in the browser](../rx-storage-indexeddb.md), [SQLite](../rx-storage-sqlite.md) in [React Native](../react-native-database.md), or a custom engine) without rewriting your application logic.
-
-You can fine-tune RxDB to your exact needs, avoiding the performance overhead of unnecessary features.
-
-### Multi-Platform Compatibility
-
-RxDB is a perfect fit for cross-platform development, as it supports numerous environments:
-
-- **Browsers (IndexedDB)**: For web and PWA projects.
-- **Node.js**: Ideal for server-side rendering or background services.
-- **React Native**: Leverage SQLite or other adapters for mobile app development.
-- [Electron](../electron-database.md): Create offline-capable desktop apps with a unified codebase.
-
-This versatility empowers teams to reuse application logic across multiple platforms while maintaining a consistent data model.
-
-### Performance Optimization
-
-With **lazy loading** of data and the ability to utilize efficient storage engines, RxDB delivers high-speed operations and quick response times. By minimizing disk I/O and leveraging indexes effectively, RxDB ensures that even large-scale applications remain performant. Its reactive nature also helps avoid unnecessary re-renders, improving the end-user experience.
-
-### Proven Reliability
-
-RxDB is battle-tested in production environments, handling use cases from small single-user applications to large-scale enterprise solutions. Its robust replication mechanism resolves conflicts, manages concurrent writes, and ensures data integrity. The active open-source community provides ongoing support, documentation updates, and feature improvements.
-
-### Developer-Friendly Features
-
-For developers, RxDB offers:
-
-- **Straightforward APIs**: Built on top of familiar JavaScript paradigms like promises and observables.
-- **Excellent Documentation**: Detailed guides, tutorials, and references for every major feature.
-- **Rich Community Support**: Benefit from an active ecosystem of contributors creating plugins, answering questions, and maintaining core libraries.
-
-These qualities streamline development, making RxDB an appealing choice for teams of all sizes.
-
----
-
-## Follow Up
-
-Ready to get started? Here are some next steps:
-
-- Try the [Quickstart Tutorial](../quickstart.md) and build a basic project to see RxDB in action.
-- Compare RxDB with [other local database solutions](../alternatives.md) to determine the best fit for your unique requirements.
-
-Ultimately, **RxDB** is more than just a database - it's a robust, reactive toolkit that empowers you to build fast, resilient, and user-centric applications. Whether you're creating an offline-first note-taking app or a real-time collaborative platform, RxDB can handle your local storage needs with ease and flexibility.
-
----
-
-## Why Local-First Software Is the Future and its Limitations
-
-import {Tabs} from '@site/src/components/tabs';
-import {Steps} from '@site/src/components/steps';
-import {QuoteBlock} from '@site/src/components/quoteblock';
-import {VideoBox} from '@site/src/components/video-box';
-
-# Why Local-First Software Is the Future and what are its Limitations
-
-Imagine a web app that behaves seamlessly even with zero internet access, provides sub-millisecond response times, and keeps most of the user's data on their device. This is the **local-first** or [offline-first](../offline-first.md) approach. Although it has been around for a while, local-first has recently become more practical because of **maturing browser storage APIs** and new frameworks that simplify **data synchronization**. By allowing data to live on the client and only syncing with a server or other peers when needed, local-first apps can deliver a user experience that is **fast, resilient**, and **privacy-friendly**.
-
-However, local-first is no silver bullet. It introduces tricky distributed-data challenges like conflict resolution and schema migrations on client devices. In this article, we'll dive deep into what local-first means, why it's trending, its pros and cons, and how to implement it in real applications. We'll also discuss other tools, criticisms, backend considerations, and how local-first compares to traditional cloud-centric approaches.
-
-## What is the Local-First Paradigm
-
-In **local-first** software, the primary copy of your data lives on the **client** rather than a remote server. Rather than sending each read or write over the network, you store and manipulate data in a [local database](./local-database.md) on the user’s device. Sync then happens in the background, ensuring all devices eventually converge to a consistent state.
-
-This approach is increasingly popular because it leads to **instant** app responses (no network delay for most operations), genuine **offline capability**, and more direct **data ownership** for users. Local-first apps also sidestep outages and if the server or internet goes down, users can keep working with their local data. When connectivity returns, everything syncs. This makes the user experience **more resilient** and gives them control of their data, which is especially appealing when privacy concerns or limited connectivity are key factors.
-
-Local-First software: A set of principles for software that enables both collaboration and ownership for users. Local-first ideals include the ability to work offline and collaborate across multiple devices, while also improving the security, privacy, long-term preservation, and user control of data.
-
-## Why Local-First is Gaining Traction
-
-The push for local-first is driven by a few key new technological capabilities that previously restricted client devices from running heavy local-first computing:
-
-- **Relaxed Browser Storage Limits**: In the past, true local-first web apps were not very feasible due to **storage limitations** in browsers. Early web storage options like cookies or [localStorage](./localstorage.md#understanding-the-limitations-of-local-storage) had tiny limits (~5-10MB) and were unsuitable for complex data. Even **IndexedDB**, the structured client storage introduced over a decade ago, had restrictive quotas on many browsers: For example, older Firefox versions would **prompt the user if more than 50MB** was being stored. Mobile browsers often capped IndexedDB to 5MB without user permission. Such limits made it impractical to cache large application datasets on the client. However, modern browsers have dramatically [increased these limits](./indexeddb-max-storage-limit.md). Today, IndexedDB can typically store **hundreds of megabytes to multiple gigabytes** of data, depending on device capacity. Chrome allows up to ~80% of free disk space per origin (tens of GB on a desktop), Firefox now supports on the order of gigabytes per site (10% of disk size), and even Safari (historically strict) permits around 1GB per origin on iOS. In short, the storage quotas of 5-50MB are a thing of the past and modern web apps can cache very large datasets locally without hitting a ceiling. This shift in storage capabilities has unlocked new possibilities for **local-first web apps** that simply weren't viable a few years ago.
-
-- **New Storage APIs (OPFS)**: The new Browser API [Origin Private File System](../rx-storage-opfs.md) (OPFS), part of the File System Access API, enables near-native file I/O from within a browser. It allows web apps to manage file handles securely and perform fast, synchronous reads/writes in Web Workers. This is a huge deal for local-first computing because it makes it feasible to embed robust database engines directly in the browser, persisting data to real files on a virtual filesystem. With OPFS, you can avoid some of the performance overhead that comes with [IndexedDB-based workarounds](../slow-indexeddb.md), providing a near-native [speed experience](./localstorage-indexeddb-cookies-opfs-sqlite-wasm.md#big-bulk-writes) for file-structured data.
-
-
- - **Bandwidth Has Grown, But Latency Is Capped**: Internet infrastructure has rapidly expanded to provide higher throughput making it possible to transfer large amounts of data more quickly. However, latency (i.e., round-trip delay) is constrained by the **speed of light** and other physical limitations in fiber, satellite links, and routing. We can always build out bigger "pipes" to stream or send bulk data, but we can't significantly reduce the base round-trip time for each request. This is a physical limit, not a technological one. Local-first strategies mitigate this fundamental latency limit by avoiding excessive client-server calls in interactive workflows, once data is on the client, it's instantly available for reads and writes without waiting on a network round-trip. Imagine, transferring **around 100,000** "average" JSON documents might only consume **about the same bandwidth as two frames of a 4K YouTube video** which can be transferred in milliseconds. This shows just how far raw data throughput has come. Yet each request still has a 100-200ms latency or more, which becomes noticeable in user interactions. Local-first mitigates this by minimizing round-trip calls during active use and using the available bandwidth to directly transfer most of the data on the first app start.
-
-- **WebAssembly**: Another advancement is **WebAssembly (WASM)**, which allows developers to compile low-level languages (C, C++, Rust) for execution in the browser at near-native speed. This means database engines, search algorithms, [vector databases](./javascript-vector-database.md), and other performance-heavy tasks can run right on the client. However, a key limitation is that **WASM cannot directly access persistent storage APIs** in the browser. Instead, all data must be send from WASM to JavaScript (or the main thread) and then go through something like IndexedDB or OPFS. This extra indirection [is slower](./localstorage-indexeddb-cookies-opfs-sqlite-wasm.md) compared to plain JavaScript->storage calls. Looking ahead, there might come up future APIs that allow WASM to interface with persistent storage directly, and if those land, local-first systems could see another major boost in [performance](../rx-storage-performance.md).
-
-- **Improvements in Local-First Tooling**: A major factor fueling the rise of local-first architectures is the **dramatic leap in client-side tooling and performance**. For instance, consider a local-first **email client** that stores **one million messages**. In 2014, searching through that many documents, especially with something like early PouchDB, could take **minutes** in a browser. Today, with advanced offline databases like **RxDB**, you can use the [OPFS storage](../rx-storage-opfs.md) with [sharding](../rx-storage-sharding.md) across multiple [web workers](../rx-storage-worker.md) (one per CPU) and use [memory-mapped](../rx-storage-memory-mapped.md) techniques. The result is a **regex search** of one million of these email documents in around **120 milliseconds** - all in JavaScript, running inside a standard web browser, on a mobile phone.
-
- Better yet, this performance ceiling is likely to keep rising. Newer browser features and **WebAssembly** optimizations could enable even faster indexing and query operations, closing the gap with native desktop clients. I even experimented with GPU-accelarated queries (using **WebGPU**) which, while still in experimental stage, might deliver client-side performance that outperforms servers which do not have a graphics card.
- These transformations highlight why local-first has become truly practical: not only can you sync and work offline, but you can handle **serious data loads** with performance that would have been unthinkable just a few years ago.
-
-## What you can expect from a Local First App
-
-[Jevons' Paradox](https://en.wikipedia.org/wiki/Jevons_paradox) says that making a _resource cheaper or more efficient to use often leads to greater overall consumption_. Originally about coal, it applies to the local-first paradigm in a way where we require apps to have more features, simply because it is technically possible, the app users and developers start to expect them:
-
-### User Experience Benefits
-
-
-- **Performance & UX:** Running from local storage means **low latency** and instantaneous interactions. There's no round-trip delay for most operations. Local-first apps aim to provide [near-zero latency](./zero-latency-local-first.md) responses by querying a local database instead of waiting for a server response. This results in a snappy UX (often no need for loading spinners) because data reads/writes happen immediately on-device. Modern users expect real-time feedback, and local-first delivers that by default.
-
-- **User Control & Privacy:** Storing data locally can limit how much sensitive information is sent off to remote servers. End users have greater control over their data, and the app can implement [client-side encryption](../encryption.md), thereby reducing the risk of mass data breaches. Its even possible to only replicated encrypted data with a server so that the backend does not know about the data at all and just acts as a backup/replication endpoint.
-
-
- - **Offline Resilience:** Obviously, being able to work offline is a major benefit. Users can continue using the app with no internet (or flaky connectivity), and their changes sync up once online. This is increasingly important not just for remote areas, but for any app that needs to be available 24/7. Even though mobile networks have improved, connectivity can still drop; local-first ensures the app doesn't grind to a halt. The app _"stores data locally at the client so that it can still access it when the internet goes away."_
-
-- **Realtime Apps**: Today's users expect data to stay in sync across browser tabs and devices without constant page reloads. In a typical cloud app, if you want real-time updates (say to show that a friend edited a document), you'd need to implement a [websocket or polling](./websockets-sse-polling-webrtc-webtransport.md) system for the server to push changes to clients, which is complex. Local-first architectures naturally lend themselves to realtime-by-default updates because the application state lives in a local database that can be observed for changes. Any edits (local or incoming from the server) immediately trigger [UI updates](./optimistic-ui.md). Similarly, background sync mechanisms ensure that new server-side data flows into the local store and into the user interface right away, no need to hit F5 to fetch the latest changes like on a traditional webpage.
-
-
-
-
-
-### Developer Experience Benefits
-
-- **Reduced Server Load**: Because local-first architectures typically **transfer large chunks of data once** (e.g., during an initial sync) and then sync only small diffs (delta changes) afterward, the server does not have to handle repeated requests for the same dataset. This bulk-first, diff-later approach drastically decreases the total number of round-trip requests to the backend. In scenarios where hundreds of simultaneous users each require continuous data access, an offline-ready client that only periodically sends or receives changes can scale more efficiently, freeing your servers to handle more users or other tasks. Instead of being bombarded with frequent small queries and updates, the server focuses on periodic sync operations, which can be more easily optimized or batched. It **Scales with Data, Not Load**. In fact for most type of apps, most of the data itself rarely changes. Imagine a CRM system, how often does the data of a customer really change compared to how of a user open the customer-overview page which would load data from a server in traditional systems?
-
-- **Less Need for Custom API Endpoints**: A local-first architecture often simplifies backend design. Instead of writing extensive REST routes for each client operation (create, read, update, delete, etc.), you can build a **single replication endpoint** or a small set of endpoints to handle data synchronization for each entity. The client manages local data, merges edits, and pushes/pulls changes with the server automatically. This not only **reduces boilerplate code** on the backend but also **frees developers** to focus on business logic and domain-specific concerns rather than spending time creating and maintaining dozens of narrowly scoped endpoints. As a result, the overall system can be easier to scale and maintain, delivering a **smoother developer experience**.
-
-- **Simplified State Management in Frontend**: Because the local database holds the authoritative state, you might rely less on complex state management libraries (Redux, MobX, etc.). The DB becomes a single source of truth for your UI. In an offline-first app, your global state is already there in a single place stored inside of the local database, so you don't need as many in-memory state layers to synchronize. The UI can directly bind to the database (using queries or reactive subscriptions). All sources of changes (user input, remote updates, other tabs) funnel through the database. This can significantly reduce the "glue code" to keep UI state in sync with server state because the local DB does that for you. With Local-First tools, "you might not need Redux" because the reactive DB fulfills that role of state management already.
-
-- **Observable Queries**: One of the big advantages of storing data locally is the ability to **subscribe** to data changes in real time, often called **observable queries**. When the data changes - either from the user's actions or from a remote sync - the local database automatically updates the subscribed query results, and the UI can redraw without a manual refresh. This reactive pattern can make apps feel much more live and responsive.
-
- In the beginnings this was mostly done by watching a changes feed (like in PouchDB) and **re-running queries** whenever data changed. However, this early approach was **slow and didn't scale well**, because the entire query had to be recalculated each time. Later, RxDB introduced the [EventReduce Algorithm](https://github.com/pubkey/event-reduce), which merges incoming document changes into an existing query result by using a big [binary decision tree](https://github.com/pubkey/binary-decision-diagram). With this, updated query results can be "calculated" on the CPU instead of re-running them over the database. This makes query updates almost instantaneous and scales better as your data grows. Nowadays, many local databases have added similar features: for example, **dexie.js** introduced `liveQuery`, letting developers build real-time UIs without repeatedly scanning the entire dataset.
-
-- **Better Multi-Tab and Multi-Device Consistency**: Because the source of truth is on the client, if the user has the app open in multiple tabs or even multiple devices, each has a full copy of the data. In browsers, many offline databases use a storage like IndexedDB that is shared across tabs of the same origin. This means all tabs see the same up-to-date local state. For example, if a user logs in or adds data in one tab, the other tab can automatically reflect that change via the shared local DB and events. This solves a common issue in web apps where one tab doesn't know that something changed in another tab. With local-first, **multi-tab just works** by default because there's "exactly one state of the data across all tabs". Similarly, on multiple devices, once sync runs, each device eventually converges to the same state.
-
- > If your users have to press F5 all the time, your app is broken!
-
-- **Potential for P2P and Decentralization**: While most current local-first apps still use a central backend for syncing, the paradigm opens the door to [peer-to-peer data syncing](../replication-webrtc.md). Because each device has the full data, devices could sync directly via LAN or other P2P channels for collaboration, reducing reliance on central servers. There are experimental frameworks that allow truly decentralized sync. This is a more advanced benefit, but it aligns with the ethos of giving users more control and reducing dependence on any one cloud provider.
-
-These advantages show why developers are excited about local-first. You get happier users thanks to a fast, offline-capable app, and you can differentiate your product by working in scenarios where others fail (e.g. poor connectivity). Companies like Google, Amazon, etc., invest heavily in reducing latency and adding offline modes for a reason: it improves retention and usability. Local-first design takes that to the extreme by default.
-
-## Challenges and Limitations of Local-First
-
-However, this approach is not without significant challenges. It's important to understand the drawbacks and trade-offs before deciding to go all-in on local-first. Let's examine the flip side.
-
-You fully understood a technology when you know when not to use it
-
-Critics of local-first approaches often point out these challenges. Here's a comprehensive list of cons, criticisms, and obstacles associated with local-first development and proposed solutions on how to solve these obstacles:
-
-- **Data Synchronization**: Data synchronization is arguably the hardest part of local-first development, because when every user's device can be offline for extended periods, data inevitably diverges. Ensuring those changes propagate and reconcile with minimal user headaches is a major challenge in distributed systems. Two main approaches have emerged:
- - **Use a bundled frontend+backend solution** where the backend is tightly coupled to the client SDK and knows exactly how to handle sync. A common example is Firestore (part of the Firebase ecosystem) where Google's servers and client libraries collectively manage storage, change detection, conflict resolution, and syncing. The upside is you have a turnkey solution, developers can focus on features rather than writing sync logic. The downside is lock-in, because the sync protocol is proprietary and tailored to that vendor. In many organizations, this is a non-starter: existing company infrastructure can't be uprooted or replaced just for a single offline-capable app. This lock-in issue can arise even if the backend is not strictly a third-party vendor but simply another technology like PostgreSQL, because it still forces you to consolidate all your data into a single system that you might not use otherwise.
-
- - **Custom Replication with Your Own Endpoints**: Alternatively, tools like RxDB allow you to implement your own replication endpoints on top of your existing infrastructure. This is the approach relies on a lightweight, git-like [Sync Engine](../replication.md). The server remains relatively "dumb," focusing on storing revisions, tracking changes, and marking conflicts, while the client library does the actual [conflict resolution](../transactions-conflicts-revisions.md). During sync, if the server detects a conflict (e.g., two offline edits to the same document), it notifies the client, which then decides how to merge them, whether via last-write-wins, a custom merge function, or a [CRDT](../crdt.md). Setting up custom endpoints does require more development effort, but you avoid vendor lock-in and can integrate seamlessly with your existing database(s). Your system simply needs to support incrementally fetching changes (pull) and accepting local modifications (push), which can be layered on top of nearly any data store or architecture.
-
- Tools which support "any backend" are of course harder to monetize because they cannot sell SaaS services or a Cloud Subscription which is why most tools use a fixed backend instead of an open Sync Engine.
-
-
-- **Conflict Resolution**: When multiple offline edits happen on the same data, you inevitably get **merge conflicts**. For example, if two users (or the same user on two devices) both edit the same document offline, when both sync, whose changes win? Local-first systems need a conflict resolution strategy. Some systems use **last-write-wins** (firestore) or deterministic revision hashing to pick a "winner" (as in CouchDB/PouchDB). This is simple but may drop one user's changes. Other approaches keep both versions and merge them either via an implement ["merge-function"](../transactions-conflicts-revisions.md#custom-conflict-handler) or require a **manual merge** step (e.g., like git conflicts or showing the user a diff UI). More advanced solutions involve **CRDTs (Conflict-free Replicated Data Types)** which mathematically merge changes (used for rich text collaboration, for instance). Libraries like Automerge or Yjs implement CRDTs to "magically solve conflicts". But in practice, using CRDTs is also complex and has its own trade-offs and sometimes not even possible like when you need additional data from another instance for a "correct" merge. No matter which route, handling conflicts adds complexity to your app logic or infrastructure. In cloud-based (online-first) apps, you avoid this because everyone is always editing the single up-to-date copy on the server. Local-first shifts that burden to the client side.
-
- Here is an example on how a client-side merge functions works in RxDB:
-
- ```ts
- import { deepEqual } from 'rxdb/plugins/utils';
- export const myConflictHandler = {
- /**
- * isEqual() is used to detect if two documents are
- * equal. This is used internally to detect conflicts.
- */
- isEqual(a, b) {
- /**
- * isEqual() is used to detect conflicts or to detect if a
- * document has to be pushed to the remote.
- * If the documents are deep equal,
- * we have no conflict.
- * Because deepEqual is CPU expensive,
- * on your custom conflict handler you might only
- * check some properties, like the updatedAt time or revision-strings
- * for better performance.
- */
- return deepEqual(a, b);
- },
- /**
- * resolve() a conflict. This can be async so
- * you could even show an UI element to let your user
- * resolve the conflict manually.
- */
- async resolve(i) {
- /**
- * In this example we drop the local state and use the server-state.
- * This basically implements a "first-on-server-wins" strategy.
- *
- * In your custom conflict handler you could want to merge properties
- * of the i.realMasterState, i.assumedMasterState and i.newDocumentState
- * or return i.newDocumentState to have a "last-write-wins" strategy.
- */
- return i.realMasterState;
- }
- };
- ```
-
-- **Eventual Consistency (No Single Source of Truth):** A local-first system is **eventually consistent** by nature. There is no single authoritative copy of the data at all times. Instead you have one per device (and maybe one on the server), and they sync to become consistent eventually. This means at any given moment, two users might not see the same data if one hasn't synced recently. Users could even make decisions based on stale data. In many applications this is acceptable (the data will catch up), but for some scenarios it's problematic. For instance, an offline-first banking app that lets you initiate a money transfer offline could be dangerous if the account balance was out-of-date or if the transfer needs immediate consistency. Essentially, **not all apps can tolerate eventual consistency**. If your use case demands strong consistency (e.g., inventory systems where overselling is a big issue, or real-time collaborative editing where every keystroke must be seen by others instantly), a purely local-first approach might need augmentation or may not fit.
-
-- **Initial Data Load and Data Size Limits:** Local-first requires pulling data **down to the client**. If your dataset is huge (gigabytes), it's simply not feasible to download everything to every client. For example, syncing every tweet on Twitter to every user's phone is impossible. Local-first works best when the data set per user is reasonably sized (up to 2 Gigabytes). In practice, you often **limit the data** to just that user's own data or a subset relevant to them. Even then, on first use the app might need to download a significant chunk of data to initialize the local database. There is a **upper bound on dataset size** beyond which the initial sync or storage needs become impractical. You cannot assume unlimited local storage. If your data is too large, local-first will either fail or you'll need to only sync partial data (and then handle what happens if the needed data isn't present locally). In short, **local-first is unsuitable for massive datasets** or data that cannot be partitioned per user.
-
-
-- **Storage Persistence (Browser Limitations):** Storing data in the browser (via IndexedDB or similar) is not as durable as on a server disk. Browsers may **evict data** to save space (especially on mobile devices). For instance, Safari notoriously wipes out IndexedDB data if the user hasn't used the site in ~7 days. Other browsers have their own eviction policies for offline data. Also, users can at any time clear their browser storage (intentionally or via something like "Clear site data"). This means the local data **cannot be 100% trusted to stay forever**. A well-behaved local-first app needs to be able to recover if local data is lost, usually by pulling from the server again. Essentially, the server still often serves as a backup. But if your app had any purely local data (not intended to sync), that's at risk. **Mobile apps** (with SQLite or filesystem storage) are a bit more stable than web browsers, but even there, uninstalls or certain OS actions can remove local data. This is a challenge: How to cache data offline for speed while ensuring if it's wiped, the user doesn't lose everything important. Cloud-only apps by contrast keep data in the cloud so it's typically safe unless the server fails (and servers are easier to backup reliably).
-
-- **Complex Client-Side Logic & Increased App Size**: A local-first app tends to be more complex on the client side. You're essentially putting what used to be server responsibilities (storage, query engine, sync logic) into the frontend. This can increase the size of your frontend bundle (including a database library, possibly CRDT or sync code, etc.). It also increases memory and CPU usage on the client, as the browser/phone is doing more work. Low-end devices or older phones might struggle if the app is not optimized. Developers need to consider performance tuning for the local database (indexing, query efficiency) just like they would on a server. So while the user gains benefits, the app developer has to manage this complexity.
-
-- **Performance Constraints in JavaScript:** Even though devices are fast, a local JS database is generally **slower than a server DB** on robust hardware. There are many layers (JS -> IndexedDB -> possibly SQLite under the hood) that add overhead. For example, inserting a record might go through the DB library, the storage engine, the browser's implementation, down to disk. For most UI uses this is fine (you don't need 10k writes/sec in a to-do app, you need maybe a few writes per second at most). But if your app does heavy data processing, the browser might become a bottleneck.
-
- The key question is _"Is it fast enough?"_. Often the answer is yes for typical usage, but developers must be mindful of not doing something on the client that truly requires big iron servers. For instance, full-text indexing of a million documents might be too slow in a client-side DB. **Unpredictable performance** is also a factor: Different users have different devices. A query that takes 50ms on a high-end desktop might take 500ms on a low-end phone in battery saving mode. So performance tuning and testing across devices is needed, and some heavy tasks might still belong on the server side. For example if you build a [local vector database](./javascript-vector-database.md) you might want to create the embeddings on the server and sync them instead of creating them on the client.
-
-- **Client Database Migrations:** As your app evolves, you'll change data models or add new fields. In a cloud-first app, you'd typically run a migration on the server database. In a local-first app, you have not only the server DB (if any) but also every client's local database to consider. Upgrading the schema means you need to write migration logic that runs on each client, perhaps the next time they launch the app after an update. Clients may be offline or not upgrade the app immediately, so you could have different versions of the schema in the wild. This complicates data handling (the sync protocol might need to handle multiple schema versions until everyone is updated). Providing a smooth migration path for local data is doable (many libraries provide [migration facilities](../migration-schema.md)), but it requires careful testing. In a worst case, a failed migration on a client could brick the app for that user or force a full resync. This is a **much bigger headache** than just migrating a centralized DB at midnight while your service is in maintenance mode. 🌃
-
-- **Security and Access Control:** In cloud-based apps, enforcing data security (who can see what) is done on the server. The client only gets the data it's authorized to get. In a local-first scenario, you often need to **partition data per user** on the backend as well, to ensure users only sync down their own data (or data they have permission for). One simple strategy is to give each user their own database or dataset on the server and only replicate that. For example, CouchDB allows creating one database per user and replication can be scoped to that DB which makes permission handling easy. But if you ever need to query across users (say an admin view or aggregate analytics), having data split into many small DBs becomes a pain. The alternative is a single backend database with a **fine-grained access control**, and the client asks to sync only certain documents/fields. That usually means writing a custom sync server or using something like GraphQL with resolvers that respect permissions. In short, **implementing auth and permissions in sync** adds complexity. Also, any data stored on the client is theoretically vulnerable to extraction (if someone compromises the device or uses dev tools). You can [encrypt local databases](../encryption.md) to prevent extraction after the server "revokes" the decryption password to mitigate the data extraction risk.
-
-
-- **Relational Data and Complex Queries:** Most client-side/offline databases are [NoSQL/document oriented](../why-nosql.md) for flexibility in syncing and easy conflict handling. They may not support complex join queries or ACID transactions across multiple tables like a full SQL database would. This is partly because replicating a full relational model is much harder (maintaining referential integrity, etc., when data is partial on a client) or not even logically possible. For example if you have two offline clients running a complex `UPDATE X WHERE Y FROM Z INNER JOIN Alice INNER JOIN Bob` query and then they go online, you have no easy way of handling these conflicts.
-
- If your app has heavy relational data requirements or relies on complex server-side queries (aggregations, multi-join reports), you might find the local database either cannot do it or is too slow to do it client-side. The lack of robust relational querying is something to plan for and you might need to adjust your data model to be more document-oriented or use client-side libraries to run [joins in memory](../why-nosql.md#relational-queries-in-nosql). Most tools use NoSQL because it makes replication easy and implementing true relational sync would require extremely sophisticated solutions and even needing an atomic clock for full consistency across nodes (like google spanner). So, **if your app truly needs SQL power on the client**, local-first might complicate things.
-
- > In Local-First, most tools use NoSQL because it makes replication and conflict handling easy.
-
-That's a long list of challenges! In summary, local-first approaches introduce distributed data issues on the client side that web developers usually didn't have to deal with. Despite these challenges, the local-first movement is steadily growing because the **benefits to user experience and data control are very compelling** and modern tools are emerging to mitigate a lot of these difficulties. All of these are solved or solvable for your specific use-case, just keep them in mind before you start architecting your local-first app.
-
-## Local-First vs. Traditional Online-First Approaches
-
-So now that you know the pros and cons about Local-First. Lets directly compare it to your previous "online-first" stack:
-
-### Connectivity and Offline Usage
-- **Local-first**: Apps like WhatsApp store messages locally on your device, letting you read past messages and even compose new ones without a stable network connection. Once online, the messages sync with the server and other participants.
-- **Online-first**: Purely cloud-based apps typically stop functioning (beyond simple caching) when the network or server goes down. They rely on a constant connection to fetch or store user data.
-
-### Latency and Performance
-- **Local-first**: Because data operations happen on the device, you see near-instant interactions (e.g., typing and reading chats feels very responsive, as the messages are on your phone). Syncing occurs in the background without delaying the user.
-- **Online-first**: Most interactions involve a round-trip to the server, adding network latency and potentially requiring loading states or fallback UIs. If the network is slow or unreliable, users can experience delays when sending or receiving updates.
-
-### Complexity and Conflict Resolution
-- **Local-first**: Much of the complexity like storing data or handling conflicts, shifts to the client. WhatsApp, for instance, caches all messages locally and queues unsent messages offline. Once reconnected, it must reconcile with the server and other devices, especially if the same account is used on multiple platforms.
-- **Online-first**: A single central server manages data and concurrency, so clients remain thinner. However, the app becomes unusable if connectivity is lost, and any server downtime directly impacts all users.
-
-### Data Ownership and Storage Limits
-- **Local-first**: Users hold a complete copy of data on their own device, retaining control and quick access. This can raise challenges when data sets are very large; phone storage might be insufficient, or backups may be harder to guarantee.
-- **Online-first**: Storing all data in the cloud scales more easily, and providers often manage backups automatically. On the downside, users depend on the service and must trust it to protect their data.
-
-### When to Choose Which
-- **Local-first**: Particularly helpful for scenarios where offline operation and immediate responsiveness matter, such as chat apps (like WhatsApp), field tools in low-connectivity environments, or any use case where users can't rely on being online 24/7.
-- **Online-first**: Well-suited for systems that demand real-time central control or massive data aggregation with minimal offline needs, such as large-scale analytics platforms or services where guaranteed immediate global consistency is essential.
-- **Hybrid**: In reality, most modern apps often blend these approaches, giving users partial offline capabilities (caching, queued updates) alongside a robust central service. This hybrid method offers the benefits of local speed and resilience, while still leveraging cloud infrastructure for collaboration and global reach. But a truth local-first app is way more than just a cache.
-
----
-
-
-
-## Offline-First vs. Local-First
-
-In the early days of offline-capable web apps (around 2014), the common phrase was **"Offline-First"**. Tools like **PouchDB** popularized the notion that developers should assume devices are often offline or have flaky connections, so apps must continue to work seamlessly without a network. The guiding principle was *"apps should treat being online as optional."* If a user has no internet access, the application's core features still function, saving or queuing data locally, and automatically synchronizing once connectivity is restored.
-
-
-
-
-
-Over time, this focus on offline support evolved into the broader concept of **"Local-First Software,"** (see [Ink&Switch](https://martin.kleppmann.com/papers/local-first.pdf)) emphasizing not just offline operation but also the technical underpinnings of **storing data locally** in the client application. While offline-first is primarily about resilience to network loss, local-first highlights ownership, privacy, and performance benefits of keeping the primary data on the user's device. Most tools these days extended the original offline-first concepts, adding real-time reactivity, custom sync, and more nuances like conflict resolution or encryption.
-
-
-However, the term **"local-first"** can be **confusing** to non-technical audiences because many people (especially in the US) associate "local first" with *community-oriented movements* that encourage buying from nearby businesses or supporting local initiatives. To reduce ambiguity, it may be clearer to use **"local first software"** or **"local first development"** in your documentation and marketing materials. When creating branding or logos around local-first software, **avoid using the "Google Maps Pin"** as a symbol. This icon typically implies geolocation or physical locality further mixing up the notion of "location-based services" with "on-device data storage."
-
-## Do People Actually Use Local-First or Is It Just a Trend?
-
-If we look at **npm download statistics**, we see that **PouchDB** - one of the oldest libraries for local-first apps - has about **53k** downloads each week, and **RxDB** - a newer library - has about **22k** weekly downloads. Other local-first tools often have even fewer downloads. In comparison, a popular library like **react-query**, which does not focus on local storage, is downloaded about **1.6 million** times a week. These numbers show that local-first libraries, while used, are not as common as some of the more traditional tools.
-
-One reason is that **local-first** is still a new idea. Many developers are used to traditional "online-first" approaches, so switching to a local database and then syncing changes later can feel unfamiliar. Developers must learn different patterns, deal with offline synchronization, and handle possible conflicts. That extra work can be a barrier to adoption which might change in the future as tooling improves.
-
-While most of RxDB is open source, there are also **premium plugins** that help sustain RxDB as a long-term project. Because people purchase these plugins, we gains insights into how developers are using local-first features:
-- About **half** of these users mainly want **offline functionality** for cases such as farming equipment, mining, construction, or even a shrimp farm app.
-- The **other half** focus on **faster, real-time UIs** for to-do or reading apps, a space launch planning tool, and various dashboard apps. This range of use cases highlights both the resilience offline mode can offer and the performance boost that local databases can provide when synced in the background.
-
-## Why Local-First Is the Future
-
-Early in the history of the web, users **expected** static pages. If you wanted to see new content, you **reloaded** the page. That was normal at the time, and nobody found it strange because everything worked that way.
-
-Then, as more sites added **real-time** features - auto-updating feeds, live notifications, single-page apps - suddenly those older "reload-only" sites began to feel **slow** or **outdated**. Why wait for a manual refresh when real-time data was possible and readily available?
-
-The same pattern is happening with **local-first** apps. Right now, most sites are still built around network availability. We see loading spinners whenever data is fetched, and we simply wait for the server response. As local-first experiences become **commonplace** - removing spinners, letting users keep working when offline, and syncing in the background - everything else will start to feel **frustratingly behind**. Users won't tolerate slow or blocked interactions if they've seen apps that respond instantly and remain usable offline. They'll expect that as the default and we'll likely see growing pressure on developers to eliminate those extra loading steps. For many users, the experience of **immediate local writes will become not just a perk, but an expectation!**
-
-## See also
-
-
-
-
-
-
-
-- Discuss [this topic on HackerNews](https://news.ycombinator.com/item?id=43289885)
-- [Local-First Technologies](../alternatives.md): A list of databases and technologies (besides [RxDB](/)) that support offline-first or local-first use cases.
-- [Discord](/chat/): Join our Discord server to talk with people and share ideas about this topic.
-- [Inc&Switch](https://martin.kleppmann.com/papers/local-first.pdf): The "original" paper about Local-First from 2019 where the naming of local-first Software was first used and described.
-- [Learn how to build a local-first Application with RxDB](../quickstart.md).
-
----
-
-## LocalStorage vs. IndexedDB vs. Cookies vs. OPFS vs. WASM-SQLite
-
-
-
-# LocalStorage vs. IndexedDB vs. Cookies vs. OPFS vs. WASM-SQLite
-
-So you are building that web application and you want to **store data inside of your users browser**. Maybe you just need to store some small flags or you even need a fully fledged database.
-
-The types of web applications we build have changed significantly. In the early years of the web we served static html files. Then we served dynamically rendered html and later we build **single page applications** that run most logic on the client. And for the coming years you might want to build so called [local first apps](../offline-first.md) that handle big and complex data operations solely on the client and even work when offline, which gives you the opportunity to build **zero-latency** user interactions.
-
-In the early days of the web, **cookies** were the only option for storing small key-value assignments.. But JavaScript and browsers have evolved significantly and better storage APIs have been added which pave the way for bigger and more complex data operations.
-
-In this article, we will dive into the various technologies available for storing and querying data in a browser. We'll explore traditional methods like **Cookies**, **localStorage**, **WebSQL**, **IndexedDB** and newer solutions such as **OPFS** and **SQLite via WebAssembly**. We compare the features and limitations and through performance tests we aim to uncover how fast we can write and read data in a web application with the various methods.
-
-:::note
-You are reading this in the [RxDB](/) docs. RxDB is a JavaScript database that has different storage adapters which can utilize the different storage APIs.
-**Since 2017** I spend most of my time working with these APIs, doing performance tests and building [hacks](../slow-indexeddb.md) and plugins to reach the limits of browser database operation speed.
-
-
-
-
-
-
-:::
-
-## The available Storage APIs in a modern Browser
-
-First lets have a brief overview of the different APIs, their intentional use case and history:
-
-### What are Cookies
-
-Cookies were first introduced by [netscape in 1994](https://www.baekdal.com/thoughts/the-original-cookie-specification-from-1997-was-gdpr-compliant/).
-Cookies store small pieces of key-value data that are mainly used for session management, personalization, and tracking. Cookies can have several security settings like a time-to-live or the `domain` attribute to share the cookies between several subdomains.
-
-Cookies values are not only stored at the client but also sent with **every http request** to the server. This means we cannot store much data in a cookie but it is still interesting how good cookie access performance compared to the other methods. Especially because cookies are such an important base feature of the web, many performance optimizations have been done and even these days there is still progress being made like the [Shared Memory Versioning](https://blog.chromium.org/2024/06/introducing-shared-memory-versioning-to.html) by chromium or the asynchronous [CookieStore API](https://developer.mozilla.org/en-US/docs/Web/API/Cookie_Store_API).
-
-### What is LocalStorage
-
-The [localStorage API](./localstorage.md) was first proposed as part of the [WebStorage specification in 2009](https://www.w3.org/TR/2009/WD-webstorage-20090423/#the-localstorage-attribute).
-LocalStorage provides a simple API to store key-value pairs inside of a web browser. It has the methods `setItem`, `getItem`, `removeItem` and `clear` which is all you need from a key-value store. LocalStorage is only suitable for storing small amounts of data that need to persist across sessions and it is [limited by a 5MB storage cap](./localstorage.md#understanding-the-limitations-of-local-storage). Storing complex data is only possible by transforming it into a string for example with `JSON.stringify()`.
-The API is not asynchronous which means if fully blocks your JavaScript process while doing stuff. Therefore running heavy operations on it might block your UI from rendering.
-
-> There is also the **SessionStorage** API. The key difference is that localStorage data persists indefinitely until explicitly cleared, while sessionStorage data is cleared when the browser tab or window is closed.
-
-### What is IndexedDB
-
-IndexedDB was first introduced as "Indexed Database API" [in 2015](https://www.w3.org/TR/IndexedDB/#sotd).
-
-[IndexedDB](../rx-storage-indexeddb.md) is a low-level API for storing large amounts of structured JSON data. While the API is a bit hard to use, IndexedDB can utilize indexes and asynchronous operations. It lacks support for complex queries and only allows to iterate over the indexes which makes it more like a base layer for other libraries then a fully fledged database.
-
-In 2018, IndexedDB version 2.0 [was introduced](https://hacks.mozilla.org/2016/10/whats-new-in-indexeddb-2-0/). This added some major improvements. Most noticeable the `getAll()` method which improves performance dramatically when fetching bulks of JSON documents.
-
-IndexedDB [version 3.0](https://w3c.github.io/IndexedDB/) is in the workings which contains many improvements. Most important the addition of `Promise` based calls that makes modern JS features like `async/await` more useful.
-
-### What is OPFS
-
-The [Origin Private File System](../rx-storage-opfs.md) (OPFS) is a [relatively new](https://caniuse.com/mdn-api_filesystemfilehandle_createsyncaccesshandle) API that allows web applications to store large files directly in the browser. It is designed for data-intensive applications that want to write and read **binary data** in a simulated file system.
-
-OPFS can be used in two modes:
-- Either asynchronous on the [main thread](../rx-storage-opfs.md#using-opfs-in-the-main-thread-instead-of-a-worker)
-- Or in a WebWorker with the faster, asynchronous access with the `createSyncAccessHandle()` method.
-
-Because only binary data can be processed, OPFS is made to be a base filesystem for library developers. You will unlikely directly want to use the OPFS in your code when you build a "normal" application because it is too complex. That would only make sense for storing plain files like images, not to store and query [JSON data](./json-based-database.md) efficiently. I have build a [OPFS based storage](../rx-storage-opfs.md) for RxDB with proper indexing and querying and it took me several months.
-
-### What is WASM SQLite
-
-
-
-
-
-[WebAssembly](https://webassembly.org/) (Wasm) is a binary format that allows high-performance code execution on the web.
-Wasm was added to major browsers over the course of 2017 which opened a wide range of opportunities on what to run inside of a browser. You can compile native libraries to WebAssembly and just run them on the client with just a few adjustments. WASM code can be shipped to browser apps and generally runs much faster compared to JavaScript, but still about [10% slower then native](https://www.usenix.org/conference/atc19/presentation/jangda).
-
-Many people started to use compiled SQLite as a database inside of the browser which is why it makes sense to also compare this setup to the native APIs.
-
-The compiled byte code of SQLite has a size of [about 938.9 kB](https://sqlite.org/download.html) which must be downloaded and parsed by the users on the first page load. WASM cannot directly access any persistent storage API in the browser. Instead it requires data to flow from WASM to the main-thread and then can be put into one of the browser APIs. This is done with so called [VFS (virtual file system) adapters](https://www.sqlite.org/vfs.html) that handle data access from SQLite to anything else.
-
-### What was WebSQL
-
-WebSQL **was** a web API [introduced in 2009](https://www.w3.org/TR/webdatabase/) that allowed browsers to use SQL databases for client-side storage, based on SQLite. The idea was to give developers a way to store and query data using SQL on the client side, similar to server-side databases.
-WebSQL has been **removed from browsers** in the current years for multiple good reasons:
-
-- WebSQL was not standardized and having an API based on a single specific implementation in form of the SQLite source code is hard to ever make it to a standard.
-- WebSQL required browsers to use a [specific version](https://developer.chrome.com/blog/deprecating-web-sql#reasons_for_deprecating_web_sql) of SQLite (version 3.6.19) which means whenever there would be any update or bugfix to SQLite, it would not be possible to add that to WebSQL without possible breaking the web.
-- Major browsers like firefox never supported WebSQL.
-
-Therefore in the following we will **just ignore WebSQL** even if it would be possible to run tests on in by setting specific browser flags or using old versions of chromium.
-
--------------
-
-## Feature Comparison
-
-Now that you know the basic concepts of the APIs, lets compare some specific features that have shown to be important for people using RxDB and browser based storages in general.
-
-### Storing complex JSON Documents
-
-When you store data in a web application, most often you want to store complex JSON documents and not only "normal" values like the `integers` and `strings` you store in a server side database.
-
-- Only IndexedDB works with JSON objects natively.
-- With SQLite WASM you can [store JSON](https://www.sqlite.org/json1.html) in a `text` column since version 3.38.0 (2022-02-22) and even run deep queries on it and use single attributes as indexes.
-
-Every of the other APIs can only store strings or binary data. Of course you can transform any JSON object to a string with `JSON.stringify()` but not having the JSON support in the API can make things complex when running queries and running `JSON.stringify()` many times can cause performance problems.
-
-### Multi-Tab Support
-
-A big difference when building a Web App compared to [Electron](../electron-database.md) or [React-Native](../react-native-database.md), is that the user will open and close the app in **multiple browser tabs at the same time**. Therefore you have not only one JavaScript process running, but many of them can exist and might have to share state changes between each other to not show **outdated data** to the user.
-
-> If your users' muscle memory puts the left hand on the **F5** key while using your website, you did something wrong!
-
-Not all storage APIs support a way to automatically share write events between tabs.
-
-Only localstorage has a way to automatically share write events between tabs by the API itself with the [storage-event](./localstorage.md#localstorage-vs-indexeddb) which can be used to observe changes.
-
-```js
-// localStorage can observe changes with the storage event.
-// This feature is missing in IndexedDB and others
-addEventListener("storage", (event) => {});
-```
-
-There was the [experimental IndexedDB observers API](https://stackoverflow.com/a/33270440) for chrome, but the proposal repository has been archived.
-
-To workaround this problem, there are two solutions:
-- The first option is to use the [BroadcastChannel API](https://github.com/pubkey/broadcast-channel) which can send messages across browser tabs. So whenever you do a write to the storage, you also send a notification to other tabs to inform them about these changes. This is the most common workaround which is also used by RxDB. Notice that there is also the [WebLocks API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Locks_API) which can be used to have mutexes across browser tabs.
-- The other solution is to use the [SharedWorker](https://developer.mozilla.org/en-US/docs/Web/API/SharedWorker) and do all writes inside of the worker. All browser tabs can then subscribe to messages from that **single** SharedWorker and know about changes.
-
-### Indexing Support
-
-The big difference between a database and storing data in a plain file, is that a database is writing data in a format that allows running operations over indexes to facilitate fast performant queries. From our list of technologies only **IndexedDB** and **WASM SQLite** support for indexing out of the box. In theory you can build indexes on top of any storage like localstorage or OPFS but you likely should not want to do that by yourself.
-
-In IndexedDB for example, we can fetch a bulk of documents by a given index range:
-
-```ts
-// find all products with a price between 10 and 50
-const keyRange = IDBKeyRange.bound(10, 50);
-const transaction = db.transaction('products', 'readonly');
-const objectStore = transaction.objectStore('products');
-const index = objectStore.index('priceIndex');
-const request = index.getAll(keyRange);
-const result = await new Promise((res, rej) => {
- request.onsuccess = (event) => res(event.target.result);
- request.onerror = (event) => rej(event);
-});
-```
-
-Notice that IndexedDB has the limitation of [not having indexes on boolean values](https://github.com/w3c/IndexedDB/issues/76). You can only index strings and numbers. To workaround that you have to transform boolean to numbers and backwards when storing the data.
-
-### WebWorker Support
-
-When running heavy data operations, you might want to move the processing away from the JavaScript main thread. This ensures that our app keeps being responsive and fast while the processing can run in parallel in the background. In a browser you can either use the [WebWorker](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API), [SharedWorker](https://developer.mozilla.org/en-US/docs/Web/API/SharedWorker) or the [ServiceWorker](https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API) API to do that. In RxDB you can use the [WebWorker](../rx-storage-worker.md) or [SharedWorker](../rx-storage-shared-worker.md) plugins to move your storage inside of a worker.
-
-The most common API for that use case is spawning a **WebWorker** and doing most work on that second JavaScript process. The worker is spawned from a separate JavaScript file (or base64 string) and communicates with the main thread by sending data with `postMessage()`.
-
-Unfortunately **LocalStorage** and **Cookies** [cannot be used in WebWorker or SharedWorker](https://stackoverflow.com/questions/6179159/accessing-localstorage-from-a-webworker) because of the design and security constraints. WebWorkers run in a separate global context from the main browser thread and therefore cannot do stuff that might impact the main thread. They have no direct access to certain web APIs, like the DOM, localStorage, or cookies.
-
-Everything else can be used from inside a WebWorker.
-The fast version of OPFS with the `createSyncAccessHandle` method can **only** [be used in a WebWorker](../rx-storage-opfs.md#opfs-limitations), and **not on the main thread**. This is because all the operations of the returned `AccessHandle` are **not async** and therefore block the JavaScript process, so you do want to do that on the main thread and block everything.
-
--------------
-
-## Storage Size Limits
-
-- **Cookies** are limited to about `4 KB` of data in [RFC-6265](https://datatracker.ietf.org/doc/html/rfc6265#section-6.1). Because the stored cookies are send to the server with every HTTP request, this limitation is reasonable. You can test your browsers cookie limits [here](http://www.ruslog.com/tools/cookies.html). Notice that you should never fill up the full `4 KB` of your cookies because your web server will not accept too long headers and reject the requests with `HTTP ERROR 431 - Request header fields too large`. Once you have reached that point you can not even serve updated JavaScript to your user to clean up the cookies and you will have locked out that user until the cookies get cleaned up manually.
-
-- **LocalStorage** has a storage size limitation that varies depending on the browser, but generally ranges from 4 MB to 10 MB per origin. You can test your localStorage size limit [here](https://arty.name/localstorage.html).
- - Chrome/Chromium/Edge: 5 MB per domain
- - Firefox: 10 MB per domain
- - Safari: 4-5 MB per domain (varies slightly between versions)
-
-- **IndexedDB** does not have a specific fixed size limitation like localStorage. The maximum storage size for IndexedDB depends on the browser implementation. The upper limit is typically based on the available disc space on the user's device. In chromium browsers it can use up to 80% of total disk space. You can get an estimation about the storage size limit by calling `await navigator.storage.estimate()`. Typically you can store gigabytes of data which can be tried out [here](https://demo.agektmr.com/storage/). Notice that we have a full article about [storage max size limits of IndexedDB](./indexeddb-max-storage-limit.md) that covers this topic.
-
-- **OPFS** has the same storage size limitation as IndexedDB. Its limit depends on the available disc space. This can also be tested [here](https://demo.agektmr.com/storage/).
-
--------------
-
-## Performance Comparison
-
-Now that we've reviewed the features of each storage method, let's dive into performance comparisons, focusing on initialization times, read/write latencies, and bulk operations.
-
-Notice that we only run simple tests and for your specific use case in your application the results might differ. Also we only compare performance in google chrome (version 128.0.6613.137). Firefox and Safari have similar **but not equal** performance patterns. You can run the test by yourself on your own machine from this [github repository](https://github.com/pubkey/localstorage-indexeddb-cookies-opfs-sqlite-wasm). For all tests we throttle the network to behave like the average german internet speed. (download: 135,900 kbit/s, upload: 28,400 kbit/s, latency: 125ms). Also all tests store an "average" JSON object that might be required to be stringified depending on the storage. We also only test the performance of storing documents by id because some of the technologies (cookies, OPFS and localstorage) do not support indexed range operations so it makes no sense to compare the performance of these.
-
-### Initialization Time
-
-Before you can store any data, many APIs require a setup process like creating databases, spawning WebAssembly processes or downloading additional stuff. To ensure your app starts fast, the initialization time is important.
-
-The APIs of localStorage and Cookies do not have any setup process and can be directly used. IndexedDB requires to open a database and a store inside of it. WASM SQLite needs to download a WASM file and process it. OPFS needs to download and start a worker file and initialize the virtual file system directory.
-
-Here are the time measurements from how long it takes until the first bit of data can be stored:
-
-| Technology | Time in Milliseconds |
-| ----------------------- | -------------------- |
-| IndexedDB | 46 |
-| OPFS Main Thread | 23 |
-| OPFS WebWorker | 26.8 |
-| WASM SQLite (memory) | 504 |
-| WASM SQLite (IndexedDB) | 535 |
-
-Here we can notice a few things:
-
-- Opening a new IndexedDB database with a single store takes surprisingly long
-- The latency overhead of sending data from the main thread to a WebWorker OPFS is about 4 milliseconds. Here we only send minimal data to init the OPFS file handler. It will be interesting if that latency increases when more data is processed.
-- Downloading and parsing WASM SQLite and creating a single table takes about half a second. Using also the IndexedDB VFS to store data persistently adds additional 31 milliseconds. Reloading the page with enabled caching and already prepared tables is a bit faster with 420 milliseconds (memory).
-
-### Latency of small Writes
-
-Next lets test the latency of small writes. This is important when you do many small data changes that happen independent from each other. Like when you stream data from a websocket or persist pseudo randomly happening events like mouse movements.
-
-| Technology | Time in Milliseconds |
-| ----------------------- | -------------------- |
-| Cookies | 0.058 |
-| LocalStorage | 0.017 |
-| IndexedDB | 0.17 |
-| OPFS Main Thread | 1.46 |
-| OPFS WebWorker | 1.54 |
-| WASM SQLite (memory) | 0.17 |
-| WASM SQLite (IndexedDB) | 3.17 |
-
-Here we can notice a few things:
-
-- LocalStorage has the lowest write latency with only 0.017 milliseconds per write.
-- IndexedDB writes are about 10 times slower compared to localStorage.
-- Sending the data to the WASM SQLite process and letting it persist via IndexedDB is slow with over 3 milliseconds per write.
-
-The OPFS operations take about 1.5 milliseconds to write the JSON data into one document per file. We can see the sending the data to a webworker first is a bit slower which comes from the overhead of serializing and deserializing the data on both sides.
-If we would not create on OPFS file per document but instead append everything to a single file, the performance pattern changes significantly. Then the faster file handle from the `createSyncAccessHandle()` only takes about 1 millisecond per write. But this would require to somehow remember at which position the each document is stored. Therefore in our tests we will continue using one file per document.
-
-### Latency of small Reads
-
-Now that we have stored some documents, lets measure how long it takes to read single documents by their `id`.
-
-| Technology | Time in Milliseconds |
-| ----------------------- | -------------------- |
-| Cookies | 0.132 |
-| LocalStorage | 0.0052 |
-| IndexedDB | 0.1 |
-| OPFS Main Thread | 1.28 |
-| OPFS WebWorker | 1.41 |
-| WASM SQLite (memory) | 0.45 |
-| WASM SQLite (IndexedDB) | 2.93 |
-
-Here we can notice a few things:
-
-- LocalStorage reads are **really really fast** with only 0.0052 milliseconds per read.
-- The other technologies perform reads in a similar speed to their write latency.
-
-### Big Bulk Writes
-
-As next step, lets do some big bulk operations with 200 documents at once.
-
-| Technology | Time in Milliseconds |
-| ----------------------- | -------------------- |
-| Cookies | 20.6 |
-| LocalStorage | 5.79 |
-| IndexedDB | 13.41 |
-| OPFS Main Thread | 280 |
-| OPFS WebWorker | 104 |
-| WASM SQLite (memory) | 19.1 |
-| WASM SQLite (IndexedDB) | 37.12 |
-
-Here we can notice a few things:
-
-- Sending the data to a WebWorker and running it via the faster OPFS API is about twice as fast.
-- WASM SQLite performs better on bulk operations compared to its single write latency. This is because sending the data to WASM and backwards is faster if it is done all at once instead of once per document.
-
-### Big Bulk Reads
-
-Now lets read 100 documents in a bulk request.
-
-| Technology | Time in Milliseconds |
-| ----------------------- | ------------------------------- |
-| Cookies | 6.34 |
-| LocalStorage | 0.39 |
-| IndexedDB | 4.99 |
-| OPFS Main Thread | 54.79 |
-| OPFS WebWorker | 25.61 |
-| WASM SQLite (memory) | 3.59 |
-| WASM SQLite (IndexedDB) | 5.84 (35ms without cache) |
-
-Here we can notice a few things:
-
-- Reading many files in the OPFS webworker is about **twice as fast** compared to the slower main thread mode.
-- WASM SQLite is surprisingly fast. Further inspection has shown that the WASM SQLite process keeps the documents in memory cached which improves the latency when we do reads directly after writes on the same data. When the browser tab is reloaded between the writes and the reads, finding the 100 documents takes about **35 milliseconds** instead.
-
-## Performance Conclusions
-
-- LocalStorage is really fast but remember that is has some downsides:
- - It blocks the main JavaScript process and therefore should not be used for big bulk operations.
- - Only Key-Value assignments are possible, you cannot use it efficiently when you need to do index based range queries on your data.
-- OPFS is way faster when used in the WebWorker with the `createSyncAccessHandle()` method compare to using it directly in the main thread.
-- SQLite WASM can be fast but you have to initially download the full binary and start it up which takes about half a second. This might not be relevant at all if your app is started up once and the used for a very long time. But for web-apps that are opened and closed in many browser tabs many times, this might be a problem.
-
--------------
-
-## Possible Improvements
-
-There is a wide range of possible improvements and performance hacks to speed up the operations.
-- For IndexedDB I have made a list of [performance hacks here](../slow-indexeddb.md). For example you can do sharding between multiple database and webworkers or use a custom index strategy.
-- OPFS is slow in writing one file per document. But you do not have to do that and instead you can store everything at a single file like a normal database would do. This improves performance dramatically like it was done with the RxDB [OPFS RxStorage](../rx-storage-opfs.md).
-- You can mix up the technologies to optimize for multiple scenarios at once. For example in RxDB there is the [localstorage meta optimizer](../rx-storage-localstorage-meta-optimizer.md) which stores initial metadata in localstorage and "normal" documents inside of IndexedDB. This improves the initial startup time while still having the documents stored in a way to query them efficiently.
-- There is the [memory-mapped](../rx-storage-memory-mapped.md) storage plugin in RxDB which maps data directly to memory. Using this in combination with a shared worker can improve pageloads and query time significantly.
-- [Compressing](../key-compression.md) data before storing it might improve the performance for some of the storages.
-- Splitting work up between [multiple WebWorkers](../rx-storage-worker.md) via [sharding](../rx-storage-sharding.md) can improve performance by utilizing the whole capacity of your users device.
-
-Here you can see the [performance comparison](../rx-storage-performance.md) of various RxDB storage implementations which gives a better view of real world performance:
-
-
-
-
-
-## Future Improvements
-
-You are reading this in 2024, but the web does not stand still. There is a good chance that browser get enhanced to allow faster and better data operations.
-
-- Currently there is no way to directly access a persistent storage from inside a WebAssembly process. If this changes in the future, running SQLite (or a similar database) in a browser might be the best option.
-- Sending data between the main thread and a WebWorker is slow but might be improved in the future. There is a [good article](https://surma.dev/things/is-postmessage-slow/) about why `postMessage()` is slow.
-- IndexedDB lately [got support](https://developer.chrome.com/blog/maximum-idb-performance-with-storage-buckets) for storage buckets (chrome only) which might improve performance.
-
-## Follow Up
-
-- Share my [announcement tweet](https://x.com/rxdbjs/status/1846145062847062391) -->
-- Reproduce the benchmarks at the [github repo](https://github.com/pubkey/localstorage-indexeddb-cookies-opfs-sqlite-wasm)
-- Learn how to use RxDB with the [RxDB Quickstart](../quickstart.md)
-- Check out the [RxDB github repo](https://github.com/pubkey/rxdb) and leave a star ⭐
-
----
-
-## Using localStorage in Modern Applications - A Comprehensive Guide
-
-# Using localStorage in Modern Applications: A Comprehensive Guide
-
-When it comes to client-side storage in web applications, the localStorage API stands out as a simple and widely supported solution. It allows developers to store key-value pairs directly in a user's browser. In this article, we will explore the various aspects of the localStorage API, its advantages, limitations, and alternative storage options available for modern applications.
-
-
-
-
-
-
-
-## What is the localStorage API?
-
-The localStorage API is a built-in feature of web browsers that enables web developers to store small amounts of data persistently on a user's device. It operates on a simple key-value basis, allowing developers to save strings, numbers, and other simple data types. This data remains available even after the user closes the browser or navigates away from the page. The API provides a convenient way to maintain state and store user preferences without relying on server-side storage.
-
-## Exploring local storage Methods: A Practical Example
-
-Let's dive into some hands-on code examples to better understand how to leverage the power of localStorage. The API offers several methods for interaction, including setItem, getItem, removeItem, and clear. Consider the following code snippet:
-
-```js
-// Storing data using setItem
-localStorage.setItem('username', 'john_doe');
-
-// Retrieving data using getItem
-const storedUsername = localStorage.getItem('username');
-
-// Removing data using removeItem
-localStorage.removeItem('username');
-
-// Clearing all data
-localStorage.clear();
-```
-
-## Storing Complex Data in JavaScript with JSON Serialization
-
-While js localStorage excels at handling simple key-value pairs, it also supports more intricate data storage through JSON serialization. By utilizing JSON.stringify and JSON.parse, you can store and retrieve structured data like objects and arrays. Here's an example of storing a document:
-
-```js
-const user = {
- name: 'Alice',
- age: 30,
- email: 'alice@example.com'
-};
-
-// Storing a user object
-localStorage.setItem('user', JSON.stringify(user));
-
-// Retrieving and parsing the user object
-const storedUser = JSON.parse(localStorage.getItem('user'));
-```
-
-## Understanding the Limitations of local storage
-
-Despite its convenience, localStorage does come with a set of limitations that developers should be aware of:
-
-- **Non-Async Blocking API**: One significant drawback is that js localStorage operates as a non-async blocking API. This means that any operations performed on localStorage can potentially block the main thread, leading to slower application performance and a less responsive user experience.
-- **Limited Data Structure**: Unlike more advanced databases, localStorage is limited to a simple key-value store. This restriction makes it unsuitable for storing complex data structures or managing relationships between data elements.
-- **Stringification Overhead**: Storing [JSON data](./json-based-database.md) in localStorage requires stringifying the data before storage and parsing it when retrieved. This process introduces performance overhead, potentially slowing down operations by up to 10 times.
-- **Lack of Indexing**: localStorage lacks indexing capabilities, making it challenging to perform efficient searches or iterate over data based on specific criteria. This limitation can hinder applications that rely on complex data retrieval.
-- **Tab Blocking**: In a multi-tab environment, one tab's localStorage operations can impact the performance of other tabs by monopolizing CPU resources. You can reproduce this behavior by opening [this test file](https://pubkey.github.io/client-side-databases/database-comparison/index.html) in two browser windows and trigger localstorage inserts in one of them. You will observe that the indication spinner will stuck in both windows.
-- **Storage Limit**: Browsers typically impose a storage limit of [around 5 MiB](https://developer.mozilla.org/en-US/docs/Web/API/Storage_API/Storage_quotas_and_eviction_criteria#web_storage) for each origin's localStorage.
-
-## Reasons to Still Use localStorage
-
-### Is localStorage Slow?
-
-Contrary to concerns about performance, the localStorage API in JavaScript is surprisingly fast when compared to alternative storage solutions like [IndexedDB or OPFS](./localstorage-indexeddb-cookies-opfs-sqlite-wasm.md). It excels in handling small key-value assignments efficiently. Due to its simplicity and direct integration with browsers, accessing and modifying localStorage data incur minimal overhead. For scenarios where quick and straightforward data storage is required, localStorage remains a viable option. For example RxDB uses localStorage in the [localStorage meta optimizer](../rx-storage-localstorage-meta-optimizer.md) to manage simple key values pairs while storing the "normal" documents inside of another storage like IndexedDB.
-
-## When Not to Use localStorage
-
-While localStorage offers convenience, it may not be suitable for every use case. Consider the following situations where alternatives might be more appropriate:
-
-- **Data Must Be Queryable**: If your application relies heavily on querying data based on specific criteria, localStorage might not provide the necessary querying capabilities. Complex data retrieval might lead to inefficient code and slow performance.
-- **Big JSON Documents**: Storing large JSON documents in localStorage can consume a significant amount of memory and degrade performance. It's essential to assess the size of the data you intend to store and consider more robust solutions for handling substantial datasets.
-- **Many Read/Write Operations**: Excessive read and write operations on localStorage can lead to performance bottlenecks. Other storage solutions might offer better performance and scalability for applications that require frequent data manipulation.
-- **Lack of Persistence**: If your application can function without persistent data across sessions, consider using in-memory data structures like `new Map()` or `new Set()`. These options offer speed and efficiency for transient data.
-
-## What to use instead of the localStorage API in JavaScript
-
-### localStorage vs IndexedDB
-
-While **localStorage** serves as a reliable storage solution for simpler data needs, it's essential to explore alternatives like **IndexedDB** when dealing with more complex requirements. **IndexedDB** is designed to store not only key-value pairs but also JSON documents. Unlike localStorage, which usually has a storage limit of around 5-10MB per domain, IndexedDB can handle significantly larger datasets. IndexDB with its support for indexing facilitates efficient querying, making range queries possible. However, it's worth noting that IndexedDB lacks observability, which is a feature unique to localStorage through the `storage` event. Also,
-complex queries can pose a challenge with IndexedDB, and while its performance is acceptable, IndexedDB can be [too slow](../slow-indexeddb.md) for some use cases.
-
-```js
-// localStorage can observe changes with the storage event.
-// This feature is missing in IndexedDB
-addEventListener("storage", (event) => {});
-```
-
-For those looking to harness the full power of IndexedDB with added capabilities, using wrapper libraries like [RxDB](https://rxdb.info/) is recommended. These libraries augment IndexedDB with features such as complex queries and observability, enhancing its usability for modern applications by providing a real database instead of only a key-value store.
-
-
-
-
-
-
-
-In summary when you compare IndexedDB vs localStorage, IndexedDB will win at any case where much data is handled while localStorage has better performance on small key-value datasets.
-
-### File System API (OPFS)
-Another intriguing option is the OPFS (File System API). This API provides direct access to an origin-based, sandboxed filesystem which is highly optimized for performance and offers in-place write access to its content.
-OPFS offers impressive performance benefits. However, working with the OPFS API can be complex, and it's only accessible within a **WebWorker**. To simplify its usage and extend its capabilities, consider using a wrapper library like [RxDB's OPFS RxStorage](../rx-storage-opfs.md), which builds a comprehensive database on top of the OPFS API. This abstraction allows you to harness the power of the OPFS API without the intricacies of direct usage.
-
-### localStorage vs Cookies
-Cookies, once a primary method of client-side data storage, have fallen out of favor in modern web development due to their limitations. While they can store data, they are about **100 times slower** when compared to the localStorage API. Additionally, cookies are included in the HTTP header, which can impact network performance. As a result, cookies are not recommended for data storage purposes in contemporary web applications.
-
-### localStorage vs WebSQL
-WebSQL, despite offering a SQL-based interface for client-side data storage, is a **deprecated technology** and should be avoided. Its API has been phased out of modern browsers, and it lacks the robustness of alternatives like IndexedDB. Moreover, WebSQL tends to be around 10 times slower than IndexedDB, making it a suboptimal choice for applications that demand efficient data manipulation and retrieval.
-
-### localStorage vs sessionStorage
-In scenarios where data persistence beyond a session is unnecessary, developers often turn to sessionStorage. This storage mechanism retains data only for the duration of a tab or browser session. It survives page reloads and restores, providing a handy solution for temporary data needs. However, it's important to note that sessionStorage is limited in scope and may not suit all use cases.
-
-### AsyncStorage for React Native
-For React Native developers, the [AsyncStorage API](https://reactnative.dev/docs/asyncstorage) is the go-to solution, mirroring the behavior of localStorage but with asynchronous support. Since not all JavaScript runtimes support localStorage, AsyncStorage offers a seamless alternative for data persistence in React Native applications.
-
-### `node-localstorage` for Node.js
-
-Because native localStorage is absent in the **Node.js** JavaScript runtime, you will get the error `ReferenceError: localStorage is not defined` in Node.js or node based runtimes like Next.js. The [node-localstorage npm package](https://github.com/lmaccherone/node-localstorage) bridges the gap. This package replicates the browser's localStorage API within the Node.js environment, ensuring consistent and compatible data storage capabilities.
-
-## localStorage in browser extensions
-
-While browser extensions for chrome and firefox support the localStorage API, it is not recommended to use it in that context to store extension-related data. The browser will clear the data in many scenarios like when the users clear their browsing history.
-
-Instead the [Extension Storage API](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/storage#properties) should be used for browser extensions.
-In contrast to localStorage, the storage API works `async` and all operations return a Promise. Also it provides automatic sync to replicate data between all instances of that browser that the user is logged into. The storage API is even able to storage JSON-ifiable objects instead of plain strings.
-
-```ts
-// Using the storage API in chrome
-
-await chrome.storage.local.set({ foobar: {nr: 1} });
-
-const result = await chrome.storage.local.get('foobar');
-console.log(result.foobar); // {nr: 1}
-```
-
-## localStorage in Deno and Bun
-
-The **Deno** JavaScript runtime has a working localStorage API so running `localStorage.setItem()` and the other methods, will just work and the locally stored data is persisted across multiple runs.
-
-**Bun** does not support the localStorage JavaScript API. Trying to use `localStorage` will error with `ReferenceError: Can't find variable: localStorage`. To store data locally in Bun, you could use the `bun:sqlite` module instead or directly use a in-JavaScript database with Bun support like [RxDB](https://rxdb.info/).
-
-## Conclusion: Choosing the Right Storage Solution
-In the world of modern web development, **localStorage** serves as a valuable tool for lightweight data storage. Its simplicity and speed make it an excellent choice for small key-value assignments. However, as application complexity grows, developers must assess their storage needs carefully. For scenarios that demand advanced querying, complex data structures, or high-volume operations, alternatives like IndexedDB, wrapper libraries with additional features like [RxDB](../), or platform-specific APIs offer more robust solutions. By understanding the strengths and limitations of various storage options, developers can make informed decisions that pave the way for efficient and scalable applications.
-
-## Follow up
-
-- Learn how to store and query data with RxDB in the [RxDB Quickstart](../quickstart.md)
-- [Why IndexedDB is slow and how to fix it](../slow-indexeddb.md)
-- [RxStorage performance comparison](../rx-storage-performance.md)
-
----
-
-## Real-Time & Offline - RxDB for Mobile Apps
-
-# Mobile Database - RxDB as Database for Mobile Applications
-
-In today's digital landscape, mobile applications have become an integral part of our lives. From social media platforms to e-commerce solutions, mobile apps have transformed the way we interact with digital services. At the heart of any mobile app lies the database, a critical component responsible for storing, retrieving, and managing data efficiently. In this article, we will delve into the world of mobile databases, exploring their significance, challenges, and the emergence of [RxDB](https://rxdb.info/) as a powerful database solution for hybrid app development in frameworks like React Native and Capacitor.
-
-## Understanding Mobile Databases
-
-Mobile databases are specialized software systems designed to handle data storage and management for mobile applications. These databases are optimized for the unique requirements of mobile environments, which often include limited device resources, fluctuations in network connectivity, and the need for offline functionality.
-
-There are various types of mobile databases available, each with its own strengths and use cases. Local databases, such as SQLite and Realm, reside directly on the user's device, providing offline capabilities and faster data access. Cloud-based databases, like [Firebase Realtime Database](./realtime-database.md) and Amazon DynamoDB, rely on remote servers to store and retrieve data, enabling synchronization across multiple devices. Hybrid databases, as the name suggests, combine the benefits of both local and cloud-based approaches, offering a balance between offline functionality and data synchronization.
-
-## Introducing RxDB: A Paradigm Shift in Mobile Database Solutions
-
-
-
-
-
-
-
-[RxDB](https://rxdb.info/), also known as Reactive Database, has emerged as a game-changer in the realm of mobile databases. Built on top of popular web technologies like JavaScript, TypeScript, and RxJS (Reactive Extensions for JavaScript), RxDB provides an elegant solution for seamless offline-first capabilities and real-time data synchronization in mobile applications.
-
-Benefits of RxDB for Hybrid App Development
-
-1. Offline-First Approach: One of the major advantages of RxDB is its ability to work in an offline mode. It allows mobile applications to store and access data locally, ensuring uninterrupted functionality even when the network connection is weak or unavailable. The database automatically syncs the data with the server once the connection is reestablished, guaranteeing data consistency.
-
-2. [Real-Time Data Synchronization](../replication.md): RxDB leverages the power of real-time data synchronization, making it an excellent choice for applications that require collaborative features or live updates. It uses the concept of change streams to detect modifications made to the database and instantly propagates those changes across connected devices. This real-time synchronization enables seamless collaboration and enhances user experience.
-
-3. Reactive Programming Paradigm: RxDB embraces the principles of reactive programming, which simplifies the development process by handling asynchronous events and data streams. By leveraging RxJS observables, developers can write concise, declarative code that reacts to changes in data, ensuring a highly responsive user experience. The reactive programming paradigm enhances code maintainability, scalability, and testability.
-
-4. Easy Integration with Hybrid App Frameworks: RxDB seamlessly integrates with popular hybrid app development frameworks like [React Native](../react-native-database.md) and [Capacitor](../capacitor-database.md). This compatibility allows developers to leverage the existing ecosystem and tools of these frameworks, making the transition to RxDB smoother and more efficient. By utilizing RxDB within these frameworks, developers can harness the power of a robust database solution without sacrificing the advantages of hybrid app development.
-
-5. Cross-Platform Support: RxDB enables developers to build cross-platform mobile applications that run seamlessly on both iOS and Android devices. This versatility eliminates the need for separate database implementations for different platforms, saving development time and effort. With RxDB, developers can focus on building a unified codebase and delivering a consistent user experience across platforms.
-
-## Use Cases for RxDB in Hybrid App Development
-
-1. [Offline-First Applications](../offline-first.md): [RxDB](https://rxdb.info/) is an ideal choice for applications that heavily rely on offline functionality. Whether it's a note-taking app, a task manager, or a survey application, RxDB ensures that users can continue working even when connectivity is compromised. The seamless synchronization capabilities of RxDB ensure that changes made offline are automatically propagated once the device reconnects to the internet.
-
-2. Real-Time Collaboration: Applications that require real-time collaboration, such as messaging platforms or collaborative editing tools, can greatly benefit from RxDB. The real-time synchronization capabilities enable multiple users to work on the same data simultaneously, ensuring that everyone sees the latest updates in real-time.
-
-3. Data-Intensive Applications: RxDB's performance and scalability make it suitable for data-intensive applications that handle large datasets or complex data structures. Whether it's a media-rich app, a data visualization tool, or an analytics platform, RxDB can handle the heavy lifting and provide a smooth user experience.
-
-4. Cross-Platform Applications: Hybrid app frameworks like React Native and Capacitor have gained popularity due to their ability to build cross-platform applications. By utilizing RxDB within these frameworks, developers can create a unified codebase that runs seamlessly on both iOS and Android, significantly reducing development time and effort.
-
-## Conclusion
-
-Mobile databases play a vital role in the performance and functionality of mobile applications. RxDB, with its offline-first approach, real-time data synchronization, and seamless integration with hybrid app development frameworks like React Native and Capacitor, offers a robust solution for managing data in mobile apps. By leveraging the power of reactive programming, RxDB empowers developers to build highly responsive, scalable, and cross-platform applications that deliver an exceptional user experience. With its versatility and ease of use, RxDB is undoubtedly a database solution worth considering for hybrid app development. Embrace the power of RxDB and unlock the full potential of your mobile applications.
-
----
-
-## RxDB – The Ultimate Offline Database with Sync and Encryption
-
-
-When building modern applications, a reliable **offline database** can make all the difference. Users need fast, uninterrupted access to data, even without an internet connection, and they need that data to stay secure. **RxDB** meets these requirements by providing a **local-first** architecture, **real-time sync** to any backend, and optional **encryption** for sensitive fields.
-
-In this article, we'll cover:
-- Why an **offline database** approach significantly improves user experience
-- How RxDB’s **sync** and **encryption** features work
-- Step-by-step guidance on getting started
-
----
-
-## Why Choose an Offline Database?
-
-[Offline-first](../offline-first.md) or **local-first** software stores data directly on the client device. This strategy isn’t just about surviving network outages; it also makes your application faster, more user-friendly, and better at handling multiple usage scenarios.
-
-### 1. Zero Loading Spinners
-Applications that call remote servers for every request inevitably show loading spinners. With an offline database, read and write operations happen locally—providing near-instant feedback. Users no longer stare at progress indicators or wait for server responses, resulting in a smoother and more fluid experience.
-
-
-
-### 2. Multi-Tab Consistency
-Many websites mishandle data across multiple browser tabs. In an offline database, all tabs share the same local datastore. If the user updates data in one tab (like completing a to-do item), changes instantly reflect in every other tab. This removes complex multi-window synchronization problems.
-
-
-
-### 3. Real-Time Data Feeds
-Apps that rely on a purely server-driven approach often show stale data unless they add a separate real-time push system (like websockets). Local-first solutions with built-in replication essentially get real-time updates “for free.” Once the server sends any changes, your local offline database updates—keeping your UI live and accurate.
-
-### 4. Reduced Server Load
-In a traditional app, every interaction triggers a request to the server, scaling up resource usage quickly as traffic grows. Offline-first setups replicate data to the client once, and subsequent local reads or writes do not stress the backend. Your server usage grows with the amount of data—rather than every user action—leading to more efficient scaling.
-
-### 5. Simpler Development: Fewer Endpoints, No Extra State Library
-Typical apps require numerous REST endpoints and possibly a client-side state manager (like Redux) to handle data flow. If you adopt an offline database, you can replicate nearly everything to the client. The local DB becomes your single source of truth, and you may skip advanced state libraries altogether.
-
-
-
-
-
-
-
-## Introducing RxDB – A Powerful Offline Database Solution
-
-**RxDB (Reactive Database)** is a **NoSQL** JavaScript database that lives entirely in your client environment. It’s optimized for:
-
-- **Offline-first usage**
-- **Reactive queries** (your UI updates in real time)
-- **Flexible replication** with various backends
-- **Field-level encryption** to protect sensitive data
-
-You can run RxDB in:
-- **Browsers** ([IndexedDB](../rx-storage-indexeddb.md), [OPFS](../rx-storage-opfs.md))
-- **Mobile hybrid apps** ([Ionic](./ionic-database.md), [Capacitor](../capacitor-database.md))
-- **Native modules** ([React Native](../react-native-database.md))
-- **Desktop environments** ([Electron](../electron-database.md))
-- **Node.js** [Servers](../rx-server.md) or Scripts
-
-Wherever your JavaScript executes, RxDB can serve as a robust offline database.
-
----
-
-## Quick Setup Example
-
-Below is a short demo of how to create an RxDB [database](../rx-database.md), add a [collection](../rx-collection.md), and observe a [query](../rx-query.md). You can expand upon this to enable encryption or full sync.
-
-```ts
-import { createRxDatabase } from 'rxdb/plugins/core';
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-
-async function initDB() {
- // Create a local offline database
- const db = await createRxDatabase({
- name: 'myOfflineDB',
- storage: getRxStorageLocalstorage()
- });
-
- // Add collections
- await db.addCollections({
- tasks: {
- schema: {
- title: 'tasks schema',
- version: 0,
- type: 'object',
- primaryKey: 'id',
- properties: {
- id: { type: 'string' },
- title: { type: 'string' },
- done: { type: 'boolean' }
- }
- }
- }
- });
-
- // Observe changes in real time
- db.tasks
- .find({ selector: { done: false } })
- .$ // returns an observable that emits whenever the result set changes
- .subscribe(undoneTasks => {
- console.log('Currently undone tasks:', undoneTasks);
- });
-
- return db;
-}
-```
-
-Now the `tasks` collection is ready to store data offline. You could also [replicate](../replication.md) it to a backend, encrypt certain fields, or utilize more advanced features like conflict resolution.
-
-## How Offline Sync Works in RxDB
-
-RxDB uses a [Sync Engine](../replication.md) that pushes local changes to the server and pulls remote updates back down. This ensures local data is always fresh and that the server has the latest offline edits once the device reconnects.
-
-**Multiple Plugins** exist to handle various backends or replication methods:
-- [CouchDB](../replication-couchdb.md) or **PouchDB**
-- [Google Firestore](./firestore-alternative.md)
-- [GraphQL](../replication-graphql.md) endpoints
-- REST / [HTTP](../replication-http.md)
-- **WebSocket** or [WebRTC](../replication-webrtc.md) (for peer-to-peer sync)
-
-You pick the plugin that fits your stack, and RxDB handles everything from conflict detection to event emission, allowing you to focus on building your user-facing features.
-
-```ts
-import { replicateRxCollection } from 'rxdb/plugins/replication';
-
-replicateRxCollection({
- collection: db.tasks,
- replicationIdentifier: 'tasks-sync',
- pull: { /* fetch updates from server */ },
- push: { /* send local writes to server */ },
- live: true // keep them in sync constantly
-});
-```
-
-## Securing Your Offline Database with Encryption
-Local data can be a risk if it’s sensitive or personal. RxDB offers [encryption plugins](../encryption.md) to keep specific document fields secure at rest.
-
-#### Encryption Example
-
-```ts
-import { createRxDatabase } from 'rxdb/plugins/core';
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-import { wrappedKeyEncryptionCryptoJsStorage } from 'rxdb/plugins/encryption-crypto-js';
-
-async function initSecureDB() {
- // Wrap the storage with crypto-js encryption
- const encryptedStorage = wrappedKeyEncryptionCryptoJsStorage({
- storage: getRxStorageLocalstorage()
- });
-
- // Create database with a password
- const db = await createRxDatabase({
- name: 'secureOfflineDB',
- storage: encryptedStorage,
- password: 'myTopSecretPassword'
- });
-
- // Define an encrypted collection
- await db.addCollections({
- userSecrets: {
- schema: {
- title: 'encrypted user data',
- version: 0,
- type: 'object',
- primaryKey: 'id',
- properties: {
- id: { type: 'string' },
- secretData: { type: 'string' }
- },
- required: ['id'],
- encrypted: ['secretData'] // field is encrypted at rest
- }
- }
- });
-
- return db;
-}
-```
-
-When the device is off or the database file is extracted, `secretData` remains unreadable without the specified password. This ensures only authorized parties can access sensitive fields, even in offline scenarios.
-
-## Follow Up
-
-Integrating an offline database approach into your app delivers near-instant interactions, true multi-tab data consistency, automatic real-time updates, and reduced server dependencies. By choosing RxDB, you gain:
-
-- Offline-first local storage
-- Flexible replication to various backends
-- Encryption of sensitive fields
-- Reactive queries for real-time UI updates
-
-RxDB transforms how you build and scale apps—no more loading spinners, no more stale data, no more complicated offline handling. Everything is local, synced, and secured.
-
-Continue your learning path:
-
-- **Explore the RxDB Ecosystem**
- Dive into additional features like [Compression](../key-compression.md) or advanced [Conflict Handling](../transactions-conflicts-revisions.md#custom-conflict-handler) to optimize your offline database.
-
-- **Learn More About Offline-First**
- Read our [Offline First documentation](../offline-first.md) for a deeper understanding of why local-first architectures improve user experience and reduce server load.
-
-- **Join the Community**
- Have questions or feedback? Connect with us on the [RxDB Chat](/chat/) or open an issue on [GitHub](/code/).
-
-- **Upgrade to Premium**
- If you need high-performance features—like [SQLite storage](../rx-storage-sqlite.md) for mobile or the [Web Crypto-based encryption plugin](/premium/)—consider our premium offerings.
-
-By adopting an offline database approach with RxDB, you unlock speed, reliability, and security for your applications—leading to a truly seamless user experience.
-
----
-
-## Building an Optimistic UI with RxDB
-
-
-An **Optimistic User Interface (UI)** is a design pattern that provides instant feedback to the user by **assuming** that an operation or server call will succeed. Instead of showing loading spinners or waiting for server confirmations, the UI immediately reflects the user's intended action and later reconciles the displayed data with the actual server response. This approach drastically improves perceived performance and user satisfaction.
-
-## Benefits of an Optimistic UI
-
-Optimistic UIs offer a host of advantages, from improving the user experience to streamlining the underlying infrastructure. Below are some key reasons why an optimistic approach can revolutionize your application's performance and scalability.
-
-### Better User Experience with Optimistic UI
-- **No loading spinners, [near-zero latency](./zero-latency-local-first.md)**: Users perceive their actions as instant. Any actual network delays or slow server operations can be handled behind the scenes.
-- **Offline capability**: Optimistic UI pairs perfectly with offline-first apps. Users can continue to interact with the application even when offline, and changes will be synced automatically once the network is available again.
-
-
-
-### Better Scaling and Easier to Implement
-- **Fewer server endpoints**: Instead of sending a separate HTTP request for every single user interaction, you can batch updates and sync them in bulk.
-- **Less server load**: By handling changes locally and syncing in batches, you reduce the volume of server round-trips.
-- **Automated error handling**: If a request fails or a document is in conflict, RxDB's [replication](../replication.md) mechanism can seamlessly retry and resolve conflicts in the background, without requiring a separate endpoint or manual user intervention.
-
-
-
-
-
-
-
-## Building Optimistic UI Apps with RxDB
-
-Now that we know what an optimistic UI is, lets build one with RxDB.
-
-### Local Database: The Backbone of an Optimistic UI
-
-A local database is the heart of an Optimistic UI. With RxDB, **all application state** is stored locally, ensuring seamless and instant updates. You can choose from multiple storage backends based on your runtime - check out [RxDB Storage Options](../rx-storage.md) to see which engines (IndexedDB, SQLite, or custom) suit your environment best.
-
-- **Instant Writes**: When users perform an action (like clicking a button or submitting a form), the changes are written directly to the local RxDB database. This immediate local write makes the UI feel snappy and removes the dependency on instantaneous server responses.
-
-- [Offline-First](../offline-first.md): Because data is managed locally, your app continues to operate smoothly even without an internet connection. Users can view, create, and update data at any time, assured that changes will sync automatically once they're back online.
-
-### Real-Time UI Changes on Updates
-
-RxDB's core is built around observables that react to any state changes - whether from local writes or incoming replication from the server.
-
-- **Automatic UI refresh**: Any query or document subscription in RxDB automatically notifies your UI layer when data changes. There's no need to manually poll or refetch.
-- **Cross-tab updates**: If you have the same RxDB database open in multiple [browser](./browser-database.md) tabs, changes in one tab instantly propagate to the others.
-
-
-
-- **Event-Reduce Algorithm**: Under the hood, RxDB uses the [event-reduce algorithm](https://github.com/pubkey/event-reduce) to minimize overhead. Instead of re-running expensive queries, RxDB calculates the smallest possible updates needed to keep query results accurate - further boosting real-time performance.
-
-### Replication with a Server
-
-While local storage is key to an Optimistic UI, most applications ultimately need to sync with a remote back end. RxDB offers a [powerful replication system](../replication.md) that can sync your local data with virtually any server/database in the background:
-- **Incremental and real-time**: RxDB continuously pushes local changes to the server when a network is available and fetches server updates as they happen.
-- **Conflict resolution**: If changes happen offline or multiple clients update the same data, RxDB detects conflicts and makes it straightforward to resolve them.
-- **Flexible transport**: Beyond simple HTTP polling, you can incorporate WebSockets, Server-Sent Events (SSE), or other protocols for instant, server-confirmed changes broadcast to all connected clients. See [this guide](./websockets-sse-polling-webrtc-webtransport.md) to learn more.
-
-By combining local-first data handling with real-time synchronization, RxDB delivers most of what an Optimistic UI needs - right out of the box. The result is a seamless user experience where interactions never feel blocked by slow networks, and any conflicts or final validations are quietly handled in the background.
-
-
-
-#### Handling Offline Changes and Conflicts
-- **Offline-first approach**: All writes are initially stored in the local database. When connectivity returns, RxDB's replication automatically pushes changes to the server.
-- **Conflict resolution**: If multiple clients edit the same documents while offline, conflicts are automatically detected and can be resolved gracefully (more on conflicts below).
-
-#### WebSockets, SSE, or Beyond
-
-For truly real-time communication - where server-confirmed changes instantly reach all clients - you can go beyond simple HTTP polling. Use WebSockets, Server-Sent Events (SSE), or other streaming protocols to broadcast updates the moment they occur. This pattern excels in scenarios like chats, collaborative editors, or dynamic dashboards.
-
-To learn more about these protocols and their integration with RxDB, check out [this guide](./websockets-sse-polling-webrtc-webtransport.md).
-
-## Optimistic UI in Various Frameworks
-
-### Angular Example
-
-
-
-
-[Angular](./angular-database.md)'s `async` pipe works smoothly with RxDB's observables. Suppose you have a `myCollection` of documents, you can directly subscribe in the template:
-
-```html
-
-
- {{ doc.name }}
-
-
-```
-This snippet:
-
-- Subscribes to `myCollection.find().$`, which emits live updates whenever [documents](../rx-document.md) in the [collection](../rx-collection.md) change.
-- Passes the emitted array of documents into docs.
-- Renders each document in a list item, instantly reflecting any changes.
-
-### React Example
-
-
-
-
-In [React](./react-database.md), you can utilize signals or other state management tools. For instance, if we have an [RxDB extension](../reactivity.md) that exposes a **signal**:
-
-```tsx
-import React from 'react';
-
-function MyComponent({ myCollection }) {
- // .find().$$ provides a signal that updates whenever data changes
- const docsSignal = myCollection.find().$$;
-
- return (
-
- {docs.map((doc) => (
- {doc.name}
- ))}
-
- );
-}
-
-export default MyComponent;
-```
-
-When you call `docsSignal.value` or use a hook like useSignal, it pulls the latest value from the [RxDB query](../rx-query.md). Whenever the collection updates, the signal emits the new data, and React re-renders the component instantly.
-
-## Downsides of Optimistic UI Apps
-
-While Optimistic UIs feel snappy, there are some caveats:
-
-- **Conflict Resolution**:
-With an optimistic approach, multiple offline devices might edit the same data. When syncing back, conflicts occur that must be merged. RxDB uses [revisions](../transactions-conflicts-revisions.md) to detect and handle these conflicts.
-
-- **User Confusion**:
-Users may see changes that haven't yet been confirmed by the server. If a subsequent server validation fails, the UI must revert to a previous state. Clear visual feedback or user notifications help reduce confusion.
-
-- **Server Compatibility**:
-The server must be capable of storing and returning revision metadata (for instance, a timestamp or versioning system). Check out RxDB's [replication docs](../replication.md) for details on how to structure your back end.
-
-- **Storage Limits**:
-Storing data in the client has practical [size limits](./indexeddb-max-storage-limit.md). [IndexedDB](../rx-storage-indexeddb.md) or other client-side storages have constraints (though usually quite large). See [storage comparisons](./localstorage-indexeddb-cookies-opfs-sqlite-wasm.md).
-
-## Conflict Resolution Strategies
-- **Last Write to Server Wins**:
-A simplest-possible method: whatever update reaches the server last overrides previous data. Good for non-critical data like “like" counts or ephemeral states.
-- **Revision-Based Merges**:
-Use revision numbers or timestamps to track concurrent edits. Merge them intelligently by combining fields or choosing the latest sub-document changes. This is ideal for collaborative apps where you don't want to overwrite entire records.
-- **User Prompts**:
-In certain workflows (e.g., shipping forms, e-commerce checkout), you may need to notify the user about conflicts and let them choose which version to keep.
-- **First Write to Server Wins (RxDB Default)**:
-RxDB's default approach is to let the first successful push define the latest version. Any incoming push with an outdated revision triggers a conflict that must be resolved on the client side. Learn more at [here](../transactions-conflicts-revisions.md).
-
-## When (and When Not) to Use Optimistic UI
-- When to Use
- - [Real-time interactions](./realtime-database.md) like chat apps, social feeds, or “Likes."
-Situations where high success rates of operations are expected (most writes don't fail).
- - Apps that need an [offline-first approach](../offline-first.md) or handle intermittent connectivity gracefully.
-
-- When Not to Use
- - Large, complex transactions with high failure rates.
- - Scenarios requiring heavy server validations or approvals (for example, financial transactions with complex rules).
- - Workflows where immediate feedback could mislead users about an operation's success probability.
-
-- Assessing Risk
- - Consider the likelihood that a user's action might fail. If it's very low, optimistic UI is often best.
- - If frequent failures or complex validations occur, consider a hybrid approach: partial optimistic updates for some actions, while more critical operations rely on immediate server confirmation.
-
-## Follow Up
-
-Ready to start building your own Optimistic UI with RxDB? Here are some next steps:
-
-1. **Do the [RxDB Quickstart](https://rxdb.info/quickstart.html)**
- If you're brand new to RxDB, the quickstart guide will walk you through installation and setting up your first project.
-
-2. **Check Out the Demo App**
- A live [RxDB Quickstart Demo](https://pubkey.github.io/rxdb-quickstart/) showcases optimistic updates and real-time syncing. Explore the code to see how it works.
-
-3. **Star the GitHub Repo**
- Show your support for RxDB by starring the [RxDB GitHub Repository](https://github.com/pubkey/rxdb).
-
-By combining RxDB's powerful offline-first capabilities with the principles of an Optimistic UI, you can deliver snappy, near-instant user interactions that keep your users engaged - no matter the network conditions. Get started today and give your users the experience they deserve!
-
----
-
-## RxDB as a Database for Progressive Web Apps (PWA)
-
-Progressive Web Apps (PWAs) have revolutionized the digital landscape, offering users an immersive blend of web and native app experiences. At the heart of every successful PWA lies effective data management, and this is where RxDB comes into play. In this article, we'll explore the dynamic synergy between RxDB, a robust client-side database, and Progressive Web Apps, uncovering how RxDB enhances data handling, synchronization, and overall performance, propelling PWAs into a new era of excellence.
-
-## What is a Progressive Web App
-Progressive Web Apps are the future of web development, seamlessly combining the best of both web and mobile app worlds. They can be easily installed on the user's home screen, function offline, and load at lightning speed. Unlike hybrid apps, PWAs offer a consistent user experience across platforms, making them a versatile choice for modern applications.
-
-PWAs bring a plethora of advantages to the table. They eliminate the hassle of app store installations and updates, reduce dependency on network connectivity, and prioritize fast loading times. By harnessing the power of service workers and intelligent caching mechanisms, PWAs ensure users can access content even in offline mode. Furthermore, PWAs are device-agnostic, seamlessly adapting to various devices, from desktops to smartphones.
-
-## Introducing RxDB as a Client-Side Database for PWAs
-At the heart of PWAs lies efficient data management, and RxDB steps in as a reliable ally. As a client-side NoSQL database, RxDB seamlessly integrates into web applications, offering real-time data synchronization and manipulation capabilities. This article sheds light on the transformative potential of RxDB as it collaborates harmoniously with PWAs, enabling local-first strategies and elevating user interactions to a whole new level.
-
-
-
-
-
-
-
-### Getting Started with RxDB
-RxDB emerges as a reactive, schema-based NoSQL database crafted explicitly for client-side applications. Its real-time data synchronization and responsiveness align seamlessly with the dynamic demands of modern PWAs.
-
-#### Local-First Approach
-The cornerstone of RxDB's philosophy is the local-first approach, empowering PWAs to prioritize data storage and manipulation on the client side. This paradigm ensures that PWAs remain functional even when offline, allowing users to access and interact with data seamlessly. RxDB bridges any gaps in data synchronization once network connectivity is restored.
-
-#### Observable Queries
-Observable queries (aka **Live-Queries**) serve as the engine of RxDB's dynamic capabilities. By leveraging these queries, PWAs can monitor and respond to data changes in real time. The result is an engaging user interface with instantaneous updates that captivate users and keep them engaged.
-
-```ts
-await db.heroes.find({
- selector: {
- healthpoints: {
- $gt: 0
- }
- }
-})
-.$ // the $ returns an observable that emits each time the result set of the query changes
-.subscribe(aliveHeroes => console.dir(aliveHeroes));
-```
-
-#### Multi-Tab Support
-RxDB extends its prowess to multi-tab scenarios, guaranteeing data consistency across different tabs or windows of the same PWA. This feature promotes a seamless transition between various sections of the application, while minimizing data conflicts.
-
-
-
-### Using RxDB in a Progressive Web App
-Integrating RxDB into a Progressive Web App, driven by technologies like React, is a straightforward process. By configuring RxDB and installing the necessary packages, developers establish a solid foundation for robust data management within their PWA.
-
-## Exploring Different RxStorage Layers
-RxDB caters to diverse needs through its various RxStorage layers:
-
-- [localstorage RxStorage](../rx-storage-localstorage.md): Leveraging the capabilities of the browsers localstorage API for storage.
-- [IndexedDB RxStorage](../rx-storage-indexeddb.md): Tapping into the browser's IndexedDB for efficient data storage.
-- [OPFS RxStorage](../rx-storage-opfs.md): Interfacing with the Offline-First Persistence System for seamless persistence.
-- [Memory RxStorage](../rx-storage-memory.md): Storing data in memory, ideal for temporary data requirements.
-This flexibility empowers developers to optimize data storage based on the unique needs of their PWA.
-
-Synchronizing Data with RxDB between PWA Clients and Servers
-To facilitate seamless data synchronization between PWA clients and servers, RxDB offers a range of replication options:
-
-- [RxDB Replication Algorithm](../replication.md): RxDB introduces its own replication algorithm, enabling efficient and reliable data synchronization between clients and servers.
-
-- [CouchDB Replication](../replication-couchdb.md): Leveraging its roots in CouchDB, RxDB facilitates smooth data replication between clients and CouchDB servers, ensuring data consistency and synchronization across devices.
-
-- [Firestore Replication](../replication-firestore.md): RxDB synchronizes data with Google Firestore, a real-time cloud-hosted NoSQL database. This integration guarantees up-to-date data across different instances of the PWA.
-
-- [Peer-to-Peer (P2P) via WebRTC](../replication-webrtc.md) Replication: RxDB supports P2P replication, facilitating direct data synchronization between clients without intermediaries. This decentralized approach is invaluable in scenarios where server infrastructure is limited.
-
-## Advanced RxDB Features and Techniques
-### Encryption of Local Data
-RxDB empowers PWAs with the ability to encrypt local data, enhancing data security and safeguarding sensitive information. This feature is indispensable for applications handling user credentials, financial transactions, and other confidential data.
-
-### Indexing and Performance Optimization
-Performance optimization is a top priority for PWAs. RxDB addresses this concern by offering indexing options that expedite data retrieval, resulting in a snappier user interface and heightened responsiveness.
-
-### JSON Key Compression
-RxDB introduces JSON key compression, a feature that reduces storage requirements. This optimization is particularly beneficial for PWAs dealing with substantial data volumes, enhancing overall efficiency and resource utilization.
-
-### Change Streams and Event Handling
-RxDB introduces change streams, enabling PWAs to react to data changes in real time. This capability empowers dynamic updates to the user interface, promoting interactivity and engagement.
-
-## Conclusion
-In the ever-evolving landscape of web application development, Progressive Web Apps continue to redefine user experiences. RxDB emerges as a pivotal player, seamlessly integrating with PWAs and enhancing their capabilities. With features like the local-first approach, observable queries, replication mechanisms, and advanced encryption, RxDB empowers developers to create responsive, offline-capable, and data-driven PWAs. As the demand for sophisticated PWAs continues to surge, RxDB remains an indispensable tool for developers aiming to push the boundaries of innovation and redefine the standards of user engagement. By embracing RxDB, developers ensure their PWAs remain at the forefront of the digital revolution, offering seamless and immersive experiences to users around the world.
-
-## Follow Up
-To explore more about RxDB and leverage its capabilities for browser database development, check out the following resources:
-
-- [RxDB GitHub Repository](https://github.com/pubkey/rxdb): Visit the official GitHub repository of RxDB to access the source code, documentation, and community support.
-- [RxDB Quickstart](../quickstart.md): Get started quickly with RxDB by following the provided quickstart guide, which provides step-by-step instructions for setting up and using RxDB in your projects.
-- [RxDB Progressive Web App in Angular Example](https://github.com/pubkey/rxdb/tree/master/examples/angular)
-
----
-
-## RxDB as a Database for React Applications
-
-In the rapidly evolving landscape of web development, React has emerged as a cornerstone technology for building dynamic and responsive user interfaces. With the increasing complexity of modern web applications, efficient data management becomes pivotal. This article delves into the integration of RxDB, a potent client-side database, with React applications to optimize data handling and elevate the overall user experience.
-
-React has revolutionized the way web applications are built by introducing a component-based architecture. This approach enables developers to create reusable UI components that efficiently update in response to changes in data. The virtual DOM mechanism, a key feature of React, facilitates optimized rendering, enhancing performance and user interactivity.
-
-While React excels at managing the user interface, the need for efficient data storage and retrieval mechanisms is equally significant. A client-side database brings several advantages to React applications:
-
-- Improved Performance: Local data storage reduces the need for frequent server requests, resulting in faster data retrieval and enhanced application responsiveness.
-- Offline Capabilities: A client-side database enables offline access to data, allowing users to interact with the application even when they are disconnected from the internet.
-- Real-Time Updates: With the ability to observe changes in data, client-side databases facilitate real-time updates to the UI, ensuring users are always presented with the latest information.
-- Reduced Server Load: By handling data operations locally, client-side databases alleviate the load on the server, contributing to a more scalable architecture.
-
-## Introducing RxDB as a JavaScript Database
-RxDB, a powerful JavaScript database, has garnered attention as an optimal solution for managing data in React applications. Built on top of the IndexedDB standard, RxDB combines the principles of reactive programming with database management. Its core features include reactive data handling, offline-first capabilities, and robust data replication.
-
-
-
-
-
-
-
-## What is RxDB?
-RxDB, short for Reactive Database, is an open-source JavaScript database that seamlessly integrates reactive programming with database operations. It offers a comprehensive API for performing database actions and synchronizing data across clients and servers. RxDB's underlying philosophy revolves around observables, allowing developers to reactively manage data changes and create dynamic user interfaces.
-
-### Reactive Data Handling
-One of RxDB's standout features is its support for reactive data handling. Traditional databases often require manual intervention for data fetching and updating, leading to complex and error-prone code. RxDB, however, automatically notifies subscribers whenever data changes occur, eliminating the need for explicit data manipulation. This reactive approach simplifies code and enhances the responsiveness of React components.
-
-### Local-First Approach
-RxDB embraces a [local-first](../offline-first.md) methodology, enabling applications to function seamlessly even in offline scenarios. By storing data locally, RxDB ensures that users can interact with the application and make updates regardless of internet connectivity. Once the connection is reestablished, RxDB synchronizes the local changes with the remote database, maintaining data consistency across devices.
-
-### Data Replication
-Data replication is a cornerstone of modern applications that require synchronization between multiple clients and servers. RxDB provides robust data replication mechanisms that facilitate real-time synchronization between different instances of the database. This ensures that changes made on one client are promptly propagated to others, contributing to a cohesive and unified user experience.
-
-### Observable Queries
-RxDB extends the concept of observables beyond data changes. It introduces observable queries, allowing developers to observe the results of database queries. This feature enables automatic updates to query results whenever relevant data changes occur. Observable queries simplify state management by eliminating the need to manually trigger updates in response to changing data.
-
-```ts
-await db.heroes.find({
- selector: {
- healthpoints: {
- $gt: 0
- }
- }
-})
-.$ // the $ returns an observable that emits each time the result set of the query changes
-.subscribe(aliveHeroes => console.dir(aliveHeroes));
-```
-
-### Multi-Tab Support
-Web applications often operate in multiple browser tabs or windows. RxDB accommodates this scenario by offering built-in multi-tab support. It ensures that data changes made in one tab are efficiently propagated to other tabs, maintaining data consistency and providing a seamless experience for users interacting with the application across different tabs.
-
-
-
-### RxDB vs. Other React Database Options
-While considering database options for React applications, RxDB stands out due to its unique combination of reactive programming and database capabilities. Unlike traditional solutions such as IndexedDB or Web Storage, which provide basic data storage, RxDB offers a dedicated database solution with advanced features. Additionally, while state management libraries like Redux and MobX can be adapted for database use, RxDB provides an integrated solution specifically designed for handling data.
-
-### IndexedDB in React and the Advantage of RxDB
-
-Using IndexedDB directly in React can be challenging due to its low-level, callback-based API which doesn't align neatly with modern React's Promise and async/await patterns. This intricacy often leads to bulky and complex implementations for developers. Also, when used wrong, IndexedDB can have a worse [performance profile](../slow-indexeddb.md) then it could have. In contrast, RxDB, with the [IndexedDB RxStorage](../rx-storage-indexeddb.md) and the [LocalStorage RxStorage](../rx-storage-localstorage.md), abstracts these complexities, integrating reactive programming and providing a more streamlined experience for data management in React applications. Thus, RxDB offers a more intuitive approach, eliminating much of the manual overhead required with IndexedDB.
-
-### Using RxDB in a React Application
-
-The process of integrating RxDB into a React application is straightforward. Begin by installing RxDB as a dependency:
-`npm install rxdb rxjs`
-Once installed, RxDB can be imported and initialized within your React components. The following code snippet illustrates a basic setup:
-
-```javascript
-import { createRxDatabase } from 'rxdb';
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-
-const db = await createRxDatabase({
- name: 'heroesdb', // <- name
- storage: getRxStorageLocalstorage(), // <- RxStorage
- password: 'myPassword', // <- password (optional)
- multiInstance: true, // <- multiInstance (optional, default: true)
- eventReduce: true, // <- eventReduce (optional, default: false)
- cleanupPolicy: {} // <- custom cleanup policy (optional)
-});
-```
-
-### Using RxDB React Hooks
-The [rxdb-hooks](https://github.com/cvara/rxdb-hooks) package provides a set of React hooks that simplify data management within components. These hooks leverage RxDB's reactivity to automatically update components when data changes occur. The following example demonstrates the usage of the `useRxCollection` and `useRxQuery` hooks to query and observe a collection:
-
-```ts
-const collection = useRxCollection('characters');
-const query = collection.find().where('affiliation').equals('Jedi');
-const {
- result: characters,
- isFetching,
- fetchMore,
- isExhausted,
-} = useRxQuery(query, {
- pageSize: 5,
- pagination: 'Infinite',
-});
-
-if (isFetching) {
- return 'Loading...';
-}
-
-return (
-
- {characters.map((character, index) => (
-
- ))}
- {!isExhausted && }
-
-);
-```
-
-### Different RxStorage Layers for RxDB
-RxDB offers multiple storage layers, each backed by a different underlying technology. Developers can choose the storage layer that best suits their application's requirements. Some available options include:
-
-- [LocalStorage RxStorage](../rx-storage-localstorage.md): Built on top of the browsers localstorage API.
-- [IndexedDB RxStorage](../rx-storage-indexeddb.md): The default RxDB storage layer, providing efficient data storage in modern browsers.
-- [OPFS RxStorage](../rx-storage-opfs.md): Uses the Operational File System (OPFS) for storage, suitable for [Electron applications](../electron-database.md).
-- [Memory RxStorage](../rx-storage-memory.md): Stores data in memory, primarily intended for testing and development purposes.
-- [SQLite RxStorage](../rx-storage-sqlite.md): Stores data in an SQLite database. Can be used in a browser with react by using a SQLite database that was [compiled to WebAssembly](https://sqlite.org/wasm/doc/trunk/index.md). Using SQLite in react might not be the best idea, because a compiled SQLite wasm file is about one megabyte of code that has to be loaded and rendered by your users. Using native browser APIs like IndexedDB and OPFS have shown to be a more optimal database solution for browser based react apps compared to SQLite.
-
-### Synchronizing Data with RxDB between Clients and Servers
-The offline-first approach is a fundamental principle of RxDB's design. When dealing with client-server synchronization, RxDB ensures that changes made offline are captured and propagated to the server once connectivity is reestablished. This mechanism guarantees that data remains consistent across different client instances, even when operating in an occasionally connected environment.
-
-RxDB offers a range of [replication plugins](../replication.md) that facilitate data synchronization between clients and servers. These plugins support various synchronization strategies, such as one-way replication, two-way replication, and custom conflict resolution. Developers can select the appropriate plugin based on their application's synchronization requirements.
-
-
-
-### Advanced RxDB Features and Techniques
-Encryption of Local Data
-Security is paramount when handling sensitive user data. RxDB supports [data encryption](./react-native-encryption.md), ensuring that locally stored information remains protected from unauthorized access. This feature is particularly valuable when dealing with sensitive data in offline scenarios.
-
-### Indexing and Performance Optimization
-Efficient indexing is critical for achieving optimal database performance. RxDB provides mechanisms to define indexes on specific fields, enhancing query speed and reducing the computational overhead of data retrieval.
-
-### JSON Key Compression
-RxDB employs JSON key compression to reduce storage space and improve performance. This technique minimizes the memory footprint of the database, making it suitable for applications with limited resources.
-
-### Change Streams and Event Handling
-RxDB enables developers to subscribe to change streams, which emit events whenever data changes occur. This functionality facilitates real-time event handling and provides opportunities for implementing features such as notifications and live updates.
-
-## Conclusion
-In the realm of React application development, efficient data management is pivotal to delivering a seamless and engaging user experience. RxDB emerges as a compelling solution, seamlessly integrating reactive programming principles with sophisticated database capabilities. By adopting RxDB, React developers can harness its powerful features, including reactive data handling, offline-first support, and real-time synchronization. With RxDB as a foundational pillar, React applications can excel in responsiveness, scalability, and data integrity. As the landscape of web development continues to evolve, RxDB remains a steadfast companion for creating robust and dynamic React applications.
-
-## Follow Up
-To explore more about RxDB and leverage its capabilities for browser database development, check out the following resources:
-
-- [RxDB GitHub Repository](https://github.com/pubkey/rxdb): Visit the official GitHub repository of RxDB to access the source code, documentation, and community support.
-- [RxDB Quickstart](../quickstart.md): Get started quickly with RxDB by following the provided quickstart guide, which provides step-by-step instructions for setting up and using RxDB in your projects.
-- [RxDB React Example at GitHub](https://github.com/pubkey/rxdb/tree/master/examples/react)
-
----
-
-## IndexedDB Database in React Apps - The Power of RxDB
-
-
-Building robust, [offline-capable](../offline-first.md) React applications often involves leveraging browser storage solutions to manage data. IndexedDB is one such powerful tool, but its raw API can be challenging to work with directly. RxDB abstracts away much of IndexedDB's complexity, providing a more developer-friendly experience. In this article, we'll explore what IndexedDB is, why it's beneficial in React applications, the challenges of using plain IndexedDB, and how [RxDB](https://rxdb.info/) can simplify your development process while adding advanced features.
-
-## What is IndexedDB?
-
-[IndexedDB](https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API) is a low-level API for storing significant amounts of structured data in the browser. It provides a transactional database system that can store key-value pairs, complex objects, and more. This storage engine is asynchronous and supports advanced data types, making it suitable for offline storage and complex web applications.
-
-
-
-
-
-## Why Use IndexedDB in React
-
-When building React applications, IndexedDB can play a crucial role in enhancing both performance and user experience. Here are some reasons to consider using IndexedDB:
-
-- **Offline-First / Local-First**: By storing data locally, your application remains functional even without an internet connection.
-- **Performance**: Using local data means [zero latency](./zero-latency-local-first.md) and no loading spinners, as data doesn't need to be fetched over a network.
-- **Easier Implementation**: Replicating all data to the client once is often simpler than implementing multiple endpoints for each user interaction.
-- **Scalability**: Local data reduces server load because queries run on the client side, decreasing server bandwidth and processing requirements.
-
-## Why To Not Use Plain IndexedDB
-
-While IndexedDB itself is powerful, its native API comes with several drawbacks for everyday application developers:
-
-- **Callback-Based API**: IndexedDB was designed with callbacks rather than modern Promises, making asynchronous code more cumbersome.
-- **Complexity**: IndexedDB is low-level, intended for library developers rather than for app developers who simply want to store data.
-- **Basic Query API**: Its rudimentary query capabilities limit how you can efficiently perform complex queries, whereas libraries like RxDB offer more advanced query features.
-- **TypeScript Support**: Ensuring good TypeScript support with IndexedDB is challenging, especially when trying to enforce document type consistency.
-- **Lack of Observable API**: IndexedDB doesn't provide an observable API out of the box. RxDB solves this by enabling you to observe query results or specific document fields.
-- **Cross-Tab Communication**: Managing cross-tab updates in plain IndexedDB is difficult. RxDB handles this seamlessly-changes in one tab automatically affect observed data in others.
-- **Missing Advanced Features**: Features like encryption or compression aren't built into IndexedDB, but they are available via RxDB.
-- **Limited Platform Support**: IndexedDB exists only in the browser. In contrast, RxDB offers swappable storages to use the same code in React Native, Capacitor, or Electron.
-
-
-
-
-
-
-
-## Set up RxDB in React
-
-Setting up RxDB with React is straightforward. It abstracts IndexedDB complexities and adds a layer of powerful features over it.
-
-### Installing RxDB
-
-First, install RxDB and RxJS from npm:
-
-```bash
-npm install rxdb rxjs --save```
-```
-
-### Create a Database and Collections
-
-RxDB provides two main storage options:
-- The free [localstorage-based storage](../rx-storage-localstorage.md)
-- The premium plain [IndexedDB-based storage](../rx-storage-indexeddb.md), offering faster performance
-Below is an example of setting up a simple RxDB [database](./react-database.md) using the localstorage-based storage in a React app:
-
-```ts
-import { createRxDatabase } from 'rxdb/plugins/core';
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-
-// create a database
-const db = await createRxDatabase({
- name: 'heroesdb', // the name of the database
- storage: getRxStorageLocalstorage()
-});
-
-// Define your schema
-const heroSchema = {
- title: 'hero schema',
- version: 0,
- description: 'Describes a hero in your app',
- primaryKey: 'id',
- type: 'object',
- properties: {
- id: {
- type: 'string',
- maxLength: 100
- },
- name: {
- type: 'string'
- },
- power: {
- type: 'string'
- }
- },
- required: ['id', 'name']
-};
-
-// add collections
-await db.addCollections({
- heroes: {
- schema: heroSchema
- }
-});
-```
-
-### CRUD Operations
-
-Once your database is initialized, you can perform all CRUD operations:
-
-```ts
-// insert
-await db.heroes.insert({ name: 'Iron Man', power: 'Genius-level intellect' });
-
-// bulk insert
-await db.heroes.bulkInsert([
- { name: 'Thor', power: 'God of Thunder' },
- { name: 'Hulk', power: 'Superhuman Strength' }
-]);
-
-// find and findOne
-const heroes = await db.heroes.find().exec();
-const ironMan = await db.heroes.findOne({ selector: { name: 'Iron Man' } }).exec();
-
-// update
-const doc = await db.heroes.findOne({ selector: { name: 'Hulk' } }).exec();
-await doc.update({ $set: { power: 'Unlimited Strength' } });
-
-// delete
-const doc = await db.heroes.findOne({ selector: { name: 'Thor' } }).exec();
-await doc.remove();
-```
-
-## Reactive Queries and Live Updates
-
-RxDB excels in providing reactive data capabilities, ideal for [real-time applications](./realtime-database.md). There are two main approaches to achieving live queries with RxDB: using RxJS Observables with React Hooks or utilizing Preact Signals.
-
-
-
-### With RxJS Observables and React Hooks
-
-RxDB integrates seamlessly with RxJS Observables, allowing you to build reactive components. Here's an example of a React component that subscribes to live data updates:
-
-```ts
-import { useState, useEffect } from 'react';
-
-function HeroList({ collection }) {
- const [heroes, setHeroes] = useState([]);
-
- useEffect(() => {
- // create an observable query
- const query = collection.find();
- const subscription = query.$.subscribe(newHeroes => {
- setHeroes(newHeroes);
- });
- return () => subscription.unsubscribe();
- }, [collection]);
-
- return (
-
- Hero List
-
- {heroes.map(hero => (
-
- {hero.name} - {hero.power}
-
- ))}
-
-
- );
-}
-```
-
-This component subscribes to the collection's changes, updating the UI automatically whenever the underlying data changes, even across browser tabs.
-
-### With Preact Signals
-
-RxDB also supports Preact Signals for reactivity, which can be integrated into React applications. Preact Signals offer a modern, fine-grained reactivity model.
-
-First, install the necessary package:
-```bash
-npm install @preact/signals-core --save
-```
-Set up RxDB with Preact Signals reactivity:
-
-```ts
-import { PreactSignalsRxReactivityFactory } from 'rxdb/plugins/reactivity-preact-signals';
-import { createRxDatabase } from 'rxdb/plugins/core';
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-
-const database = await createRxDatabase({
- name: 'mydb',
- storage: getRxStorageLocalstorage(),
- reactivity: PreactSignalsRxReactivityFactory
-});
-```
-
-Now, you can obtain signals directly from RxDB queries using the double-dollar sign (`$$`):
-
-```ts
-function HeroList({ collection }) {
- const heroes = collection.find().$$;
- return (
-
- {heroes.map(hero => (
- {hero.name}
- ))}
-
- );
-}
-```
-
-This approach provides automatic updates whenever the data changes, without needing to manage subscriptions manually.
-
-## React IndexedDB Example with RxDB
-
-A comprehensive example of using RxDB within a React application can be found in the [RxDB GitHub repository](https://github.com/pubkey/rxdb/tree/master/examples/react). This repository contains sample applications, showcasing best practices and demonstrating how to integrate RxDB for various use cases.
-
-## Advanced RxDB Features
-
-RxDB offers many advanced features that extend beyond basic data storage:
-
-- **RxDB Replication**: Synchronize local data with remote databases seamlessly. Learn more: [RxDB Replication](https://rxdb.info/replication.html)
-- **Data Migration**: Handle schema changes gracefully with automatic data migrations. See: [Data migration](https://rxdb.info/migration-schema.html)
-- **Encryption**: Secure your data with built-in encryption capabilities. Explore: [Encryption](https://rxdb.info/encryption.html)
-- **Compression**: Optimize storage using key compression. Details: [Compression](https://rxdb.info/key-compression.html)
-
-## Limitations of IndexedDB
-
-While IndexedDB is powerful, it has some inherent limitations:
-
-- **Performance**: IndexedDB can be slow under certain conditions. Read more: [Slow IndexedDB](https://rxdb.info/slow-indexeddb.html)
-- **Storage Limits**: Browsers [impose limits](./indexeddb-max-storage-limit.md) on how much data can be stored. See: [Browser storage limits](https://rxdb.info/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm.html)
-
-## Alternatives to IndexedDB
-Depending on your application's requirements, there are [alternative storage solutions](./localstorage-indexeddb-cookies-opfs-sqlite-wasm.md) to consider:
-
-- **Origin Private File System (OPFS)**: A newer API that can offer better performance. RxDB supports OPFS as well. More info: [RxDB OPFS Storage](../rx-storage-opfs.md)
-- **SQLite**: Ideal for React applications on Capacitor or [Ionic](./ionic-storage.md), offering native performance. Explore: [RxDB SQLite Storage](../rx-storage-sqlite.md)
-
-## Performance comparison with other browser storages
-Here is a [performance overview](../rx-storage-performance.md) of the various browser based storage implementation of RxDB:
-
-
-
-## Follow Up
-- Learn how to use RxDB with the [RxDB Quickstart](../quickstart.md) for a guided introduction.
-- Check out the [RxDB GitHub repository](https://github.com/pubkey/rxdb) and leave a star ⭐ if you find it useful.
-
-By leveraging RxDB on top of IndexedDB, you can create highly responsive, offline-capable React applications without dealing with the low-level complexities of IndexedDB directly. With reactive queries, seamless cross-tab communication, and powerful advanced features, RxDB becomes an invaluable tool in modern web development.
-
----
-
-## React Native Encryption and Encrypted Database/Storage
-
-
-Data security is a critical concern in modern mobile applications. As React Native continues to grow in popularity for building cross-platform apps, ensuring that your data is protected is paramount. RxDB, a real-time database for JavaScript applications, offers powerful encryption features that can help you secure your React Native app's data.
-
-This article explains why encryption is important, how to set it up with RxDB in [React Native](../react-native-database.md), and best practices to keep your app secure.
-
-## 🔒 Why Encryption Matters
-
-Encryption ensures that, even if an unauthorized party obtains physical access to your device or intercepts data, they cannot read the information without the encryption key. Sensitive user data such as credentials, personal information, or financial details should always be encrypted. Proper encryption practices reduce the risk of data breaches and help your application remain compliant with regulations like [GDPR](https://gdpr.eu/) or [HIPAA](https://www.hhs.gov/hipaa/index.html).
-
-## React Native Encryption Overview
-
-React Native supports multiple ways to secure local data:
-
-1. **Encrypted Databases**
- Use databases with built-in encryption capabilities, such as SQLite with encryption layers or RxDB with its [encryption plugin](../encryption.md).
-
-2. **Secure Storage Libraries**
- For key-value data (like tokens or secrets), you can use libraries like [react-native-keychain](https://github.com/oblador/react-native-keychain) or [react-native-encrypted-storage](https://github.com/emeraldsanto/react-native-encrypted-storage).
-
-3. **Custom Encryption**
- If you need more fine-grained control, you can integrate libraries like [`crypto-js`](https://github.com/brix/crypto-js) or the [Web Crypto API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Crypto_API) to encrypt data before storing it in a database or file.
-
-
-
-
-
-
-
-## Setting Up Encryption in RxDB for React Native
-
-### 1. Install RxDB and Required Plugins
-
-Install RxDB and the encryption plugin(s) you need. For the CryptoJS plugin:
-
-```bash
-npm install rxdb
-npm install crypto-js
-```
-
-### 2. Set Up Your RxDB Database with Encryption
-
-RxDB offers two [encryption plugins](../encryption.md):
-- **CryptoJS Plugin**: A free and straightforward solution for most basic use cases.
-- **Web Crypto Plugin**: A [premium plugin](/premium) that utilizes the native Web Crypto API for better performance and security.
-
-Below is an example showing how to set up RxDB using the CryptoJS plugin. This example uses the [in-memory storage](../rx-storage-memory.md) for testing purposes. In a real production scenario, you would use a persistent storage adapter, mostly the [SQLite-based storage](../rx-storage-sqlite.md).
-
-```js
-import { createRxDatabase } from 'rxdb';
-import { wrappedKeyEncryptionCryptoJsStorage } from 'rxdb/plugins/encryption-crypto-js';
-
-/*
- * For testing, we use the in-memory storage of RxDB.
- * In production you would use the persistent SQLite based storage instead.
- */
-import { getRxStorageMemory } from 'rxdb/plugins/storage-memory';
-
-async function initEncryptedDatabase() {
- // Wrap the normal storage with the encryption plugin
- const encryptedMemoryStorage = wrappedKeyEncryptionCryptoJsStorage({
- storage: getRxStorageMemory()
- });
-
- // Create an encrypted database
- const db = await createRxDatabase({
- name: 'myEncryptedDatabase',
- storage: encryptedMemoryStorage,
- password: 'sudoLetMeIn' // Make sure not to hardcode in production
- });
-
- // Define a schema and create a collection
- await db.addCollections({
- secureData: {
- schema: {
- title: 'secure data schema',
- version: 0,
- type: 'object',
- primaryKey: 'id',
- properties: {
- id: {
- type: 'string',
- maxLength: 100
- },
- normalField: {
- type: 'string'
- },
- secretField: {
- type: 'string'
- }
- },
- required: ['id', 'normalField', 'secretField']
- }
- }
- });
-
- return db;
-}
-```
-
-### 3. Inserting and Querying Encrypted Data
-
-Once you've set up the database with encryption, data in fields specified by your schema will be encrypted automatically before it is stored, and decrypted when queried.
-
-```js
-(async () => {
- const db = await initEncryptedDatabase();
-
- // Insert encrypted data
- const doc = await db.secureData.insert({
- id: 'mySecretId',
- normalField: 'foobar',
- secretField: 'This is top secret data'
- });
-
- // Query encrypted data by its primary key or non-encrypted fields
- const fetchedDoc = await db.secureData.findOne({
- selector: {
- normalField: 'foobar'
- }
- }).exec(true);
- console.log(fetchedDoc.secretField); // 'This is top secret data'
-
- // Update data
- await fetchedDoc.patch({
- secretField: 'Updated secret data'
- });
-})();
-```
-
-**Note**: You can only query directly by non-encrypted fields or primary keys. Encrypted fields cannot be used in queries because they are stored as ciphertext in the database. A common approach is to have a small subset of fields that need to be queried unencrypted while storing any sensitive data in encrypted fields.
-
-## Best Practices for React Native Encryption
-
-- **Secure Password Handling**
- - Avoid hardcoding passwords or encryption keys.
- - Use secure storage solutions like React Native Keychain or react-native-encrypted-storage to fetch the database password at runtime:
-
-```js
-// Example: using react-native-keychain to securely retrieve a stored password
-import * as Keychain from 'react-native-keychain';
-
-async function getDatabasePassword() {
- const credentials = await Keychain.getGenericPassword();
- if (credentials) {
- return credentials.password;
- }
- throw new Error('No password stored in Keychain');
-}
-```
-
-- **Encrypt Attachments**:
-If you need to store files (images, text files, etc.), consider encrypting attachments. RxDB supports attachments that can be encrypted automatically, ensuring your files are protected:
-
-```ts
-import { createBlob } from 'rxdb/plugins/core';
-const doc = await await db.secureData.findOne({
- selector: {
- normalField: 'foobar'
- }
-}).exec(true);
-const attachment = await doc.putAttachment({
- id: 'encryptedFile.txt',
- data: createBlob('Sensitive content', 'text/plain'),
- type: 'text/plain',
-});
-```
-
-- **Optimize Performance**
- - If performance is critical, consider using the premium Web Crypto plugin, which leverages native APIs for faster encryption and decryption.
- - If big chunks of data are encrypted, store them in attachments instead of document fields. Attachments will only be decrypted on explicit fetches, not during queries.
-
-- **Use DevMode in Development**: RxDB's [DevMode Plugin](../dev-mode.md) can help validate your schema and encryption setup during development. Disable it in production for performance reasons.
-
-- **Secure Communication**:
- - Use HTTPS to secure network communication between the app and any backend services.
- - If you're synchronizing data to a server, ensure the data is also encrypted in transit. RxDB's [replication plugins](../replication.md) can work with secure endpoints to keep data consistent.
-
-- **SSL Pinning**: Consider SSL Pinning if you want to prevent man-in-the-middle attacks. SSL Pinning ensures the device trusts only the pinned certificate, preventing attackers from swapping out valid certificates with their own.
-
-## Follow Up
-
-- Learn how to use RxDB with the [RxDB Quickstart](../quickstart.md) for a guided introduction.
-- A good way to learn using RxDB database with React Native is to check out the [RxDB React Native example](https://github.com/pubkey/rxdb/tree/master/examples/react-native) and use that as a tutorial.
-- Check out the [RxDB GitHub repository](https://github.com/pubkey/rxdb) and leave a star ⭐ if you find it useful.
-- Learn more about the [RxDB encryption plugins](../encryption.md).
-
-By following these best practices and leveraging RxDB's powerful encryption plugins, you can build secure, performant, and robust React Native applications that keep your users' data safe.
-
----
-
-## ReactJS Storage - From Basic LocalStorage to Advanced Offline Apps with RxDB
-
-# ReactJS Storage – From Basic LocalStorage to Advanced Offline Apps with RxDB
-
-Modern **ReactJS** applications often need to store data on the client side. Whether you’re preserving simple user preferences or building offline-ready features, choosing the right **storage** mechanism can make or break your development experience. In this guide, we’ll start with a basic **localStorage** approach for minimal data. Then, we’ll explore more powerful, reactive solutions via [RxDB](/)—including offline functionality, indexing, `preact signals`, and even encryption.
-
----
-
-## Part 1: Storing Data in ReactJS with LocalStorage
-
-`localStorage` is a built-in browser API for storing key-value pairs in the user’s browser. It’s straightforward to set and get items—ideal for trivial preferences or small usage data.
-
-```jsx
-import React, { useState, useEffect } from 'react';
-
-function LocalStorageExample() {
- const [username, setUsername] = useState(() => {
- const saved = localStorage.getItem('username');
- return saved ? JSON.parse(saved) : '';
- });
-
- useEffect(() => {
- localStorage.setItem('username', JSON.stringify(username));
- }, [username]);
-
- return (
-
- ReactJS LocalStorage Demo
- setUsername(e.target.value)}
- placeholder="Enter your username"
- />
- Stored: {username}
-
- );
-}
-
-export default LocalStorageExample;
-```
-
-**Pros** of localStorage in ReactJS:
-
-- Easy to implement quickly for minimal data
-- Built-in to the browser—no extra libs
-- Persistent across sessions
-
-**Downsides of localStorage**
-While localStorage is convenient for small amounts of data, it has certain limitations:
-
-- Synchronous: Reading or writing localStorage can block the main thread if data is large.
-- No advanced queries: You only store stringified objects by a single key. Searching or filtering requires manually scanning everything.
-- No concurrency or offline logic: If multiple tabs or users need to manipulate the same data, localStorage doesn’t handle concurrency or sync with a server.
-- No indexing: You can’t perform partial lookups or advanced matching.
-
-For “remember user preference” use cases, localStorage is excellent. But if your app grows complex—needing structured data, large data sets, or offline-first features—you might quickly surpass localStorage’s utility.
-
-## Part 2: LocalStorage vs. IndexedDB
-
-While localStorage is simple, it’s limited to string-based key-value lookups and can be synchronous for all reads/writes. For more robust ReactJS storage needs, browsers also provide IndexedDB—a low-level, asynchronous API that can store larger amounts of JSON data with indexing.
-
-**LocalStorage:**
-
-- Good for small amounts of data (like user settings or flags)
-- String-only storage
-- Single key-value access, no searching by subfields
-
-**IndexedDB:**
-
-- Stores [large](./indexeddb-max-storage-limit.md) JSON objects, able to index by multiple fields
-- Asynchronous and usually more scalable
-- More complicated to use directly (i.e., not as simple as .getItem())
-[RxDB](/), as you’ll see, simplifies [IndexedDB](../rx-storage-indexeddb.md) usage in ReactJS by adding a more intuitive layer for queries, reactivity, and advanced capabilities like [encryption](../encryption.md).
-
-
-
-
-
-
-
-## Part 3: Moving Beyond Basic Storage: RxDB for ReactJS
-
-When data shapes get complex—large sets of nested documents, or you want offline sync to a server—RxDB can transform your approach to ReactJS storage. It stores documents in (usually) IndexedDB or alternative backends but offers a reactive, NoSQL-based interface.
-
-### RxDB Quick Example (Observables)
-
-```ts
-import { createRxDatabase } from 'rxdb';
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-
-(async function setUpRxDB() {
- const db = await createRxDatabase({
- name: 'heroDB',
- storage: getRxStorageLocalstorage(),
- multiInstance: false
- });
-
- const heroSchema = {
- title: 'hero schema',
- version: 0,
- type: 'object',
- primaryKey: 'id',
- properties: {
- id: { type: 'string' },
- name: { type: 'string' },
- power: { type: 'string' }
- },
- required: ['id', 'name']
- };
-
- await db.addCollections({ heroes: { schema: heroSchema } });
-
- // Insert a doc
- await db.heroes.insert({ id: '1', name: 'AlphaHero', power: 'Lightning' });
-
- // Query docs once
- const allHeroes = await db.heroes.find().exec();
- console.log('Heroes: ', allHeroes);
-})();
-```
-
-Reactive Queries: In a React component, you can subscribe to a query via RxDB’s $ property, letting your UI automatically update when data changes. React components can subscribe to updates from .find() queries, letting the UI automatically reflect changes—perfect for dynamic offline-first apps.
-
-```tsx
-import React, { useEffect, useState } from 'react';
-
-function HeroList({ collection }) {
- const [heroes, setHeroes] = useState([]);
-
- useEffect(() => {
- const query = collection.find();
- // query.$ is an RxJS Observable that emits whenever data changes
- const sub = query.$.subscribe(newHeroes => {
- setHeroes(newHeroes);
- });
-
- return () => sub.unsubscribe(); // clean up subscription
- }, [collection]);
-
- return (
-
- {heroes.map(hero => (
-
- {hero.name} - Power: {hero.power}
-
- ))}
-
- );
-}
-
-export default HeroList;
-```
-
-
-
-By using these reactive queries, your React app knows exactly when data changes locally (or from another browser tab) or from remote sync, keeping your UI in sync effortlessly.
-
-## Part 4: Using Preact Signals Instead of Observables
-
-RxDB typically exposes reactivity via RxJS observables. However, some developers prefer newer reactivity approaches like Preact Signals. RxDB supports them via a special plugin or advanced usage:
-
-```ts
-import { createRxDatabase } from 'rxdb/plugins/core';
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-import { PreactSignalsRxReactivityFactory } from 'rxdb/plugins/reactivity-preact-signals';
-
-(async function setUpRxDBWithSignals() {
- const db = await createRxDatabase({
- name: 'heroDB_signals',
- storage: getRxStorageLocalstorage(),
- reactivity: PreactSignalsRxReactivityFactory
- });
-
- // Create a signal-based query instead of using Observables:
- const collection = db.heroes;
- const heroesSignal = collection.find().$$; // signals version
- // Now you can reference heroesSignal() in Preact or React with adapter usage
-})();
-```
-
-Preact Signals rely on `signals` instead of `Observables`. Some developers find them more straightforward to adopt, especially for fine-grained reactivity. In ReactJS, you might still prefer RxJS-based subscriptions unless you add bridging code for signals.
-
-## Part 5: Encrypting the Storage with RxDB
-
-For more advanced ReactJS storage needs—especially when sensitive user data is involved - you might want to encrypt stored documents at rest. RxDB provides a robust [encryption plugin](../encryption.md):
-
-```ts
-import { createRxDatabase } from 'rxdb';
-import { wrappedKeyEncryptionCryptoJsStorage } from 'rxdb/plugins/encryption-crypto-js';
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-
-(async function secureSetup() {
- const encryptedStorage = wrappedKeyEncryptionCryptoJsStorage({
- storage: getRxStorageLocalstorage()
- });
-
- // Provide a password for encryption
- const db = await createRxDatabase({
- name: 'secureReactStorage',
- storage: encryptedStorage,
- password: 'MyStrongPassword123'
- });
-
- await db.addCollections({
- secrets: {
- schema: {
- title: 'secret schema',
- version: 0,
- type: 'object',
- primaryKey: 'id',
- properties: {
- id: { type: 'string' },
- secretInfo: { type: 'string' }
- },
- required: ['id'],
- encrypted: ['secretInfo'] // field to encrypt
- }
- }
- });
-})();
-```
-
-All data in the marked `encrypted` fields is automatically encrypted at rest. This is crucial if you store user credentials, private messages, or other personal data in your ReactJS application storage.
-
-## Offline Sync
-If you need multi-device or multi-user data synchronization, RxDB provides [replication plugins](../replication.md) for various endpoints (HTTP, [GraphQL](../replication-graphql.md), [CouchDB](../replication-couchdb.md), [Firestore](../replication-firestore.md), etc.). Your [local offline](../offline-first.md) changes can then merge automatically with a remote database whenever internet connectivity is restored.
-
-## Overview: [localStorage vs IndexedDB vs RxDB](./localstorage-indexeddb-cookies-opfs-sqlite-wasm.md)
-
-| **Characteristic** | **localStorage** | **IndexedDB** | **RxDB** |
-|--------------------------|---------------------------------------------------------------------|----------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------|
-| **Data Model** | Key-value store (only strings) | Low-level, JSON-like storage engine with object stores and indexes | NoSQL JSON documents with optional JSON-Schema |
-| **Query Capabilities** | Basic get/set by key; manual parse for more complex searches | Index-based queries, but API is fairly verbose; lacks a high-level query language | JSON-based queries, optional indexes, real-time reactivity |
-| **Observability** | None. Must re-fetch data yourself. | None natively. Must implement eventing or manual re-check. | Built-in reactivity. UI auto-updates via Observables or Preact signals |
-| **Large Data Usage** | Not recommended for large data (blocking, synchronous calls) | Better for large amounts of data, asynchronous reads/writes | Scales for medium to large data. Uses IndexedDB or other storages under the hood |
-| **Concurrency** | Minimal. Overwrites if multiple tabs write simultaneously | Multiple tabs can open the same DB, but must handle concurrency logic carefully | Multi-instance concurrency with built-in conflict resolution plugins if needed |
-| **Offline Sync** | None. Purely local. | None out of the box. Must be implemented manually | Built-in replication to remote endpoints (HTTP, GraphQL, CouchDB, etc.) for offline-first usage |
-| **Encryption** | Not supported natively | Not supported natively; must encrypt data manually before storing | Encryption plugins available. Supports field-level encryption at rest |
-| **Usage** | Great for small flags or settings
-
-## Follow Up
-
-If you’re looking to dive deeper into **ReactJS storage** topics and take full advantage of RxDB’s offline-first, real-time capabilities, here are some recommended resources:
-
-- **[RxDB Official Documentation](../overview.md)**
- Explore detailed guides on setting up storage adapters, defining [JSON schemas](../rx-schema.md), [handling conflicts](../transactions-conflicts-revisions.md), and enabling [offline synchronization](../replication.md).
-
-- **[RxDB Quickstart](https://rxdb.info/quickstart.html)**
- Get a step-by-step tutorial to create your first RxDB-based application in minutes.
-
-- **[RxDB GitHub Repository](https://github.com/pubkey/rxdb)**
- See the source code, open issues, and browse community-driven examples that integrate ReactJS, Preact Signals, and advanced features like encryption.
-
-- **[RxDB Encryption Plugins](https://rxdb.info/encryption.html)**
- Learn how to encrypt fields in your collections, protecting user data and meeting compliance requirements.
-
-- **[Preact Signals React Integration (Example)](https://github.com/preactjs/signals#react)**
- If you want to combine React with signals-based reactivity, check out example code and bridging approaches.
-
-- **[MDN: Using the Web Storage API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Storage_API)**
- Refresh on localStorage basics, including best practices for small key-value data in traditional React apps.
-
-With these follow-up steps, you can refine your **reactjs storage** strategy to meet your app’s unique needs, whether it’s simple user preferences or robust offline data syncing.
-
----
-
-## What Really Is a Realtime Database?
-
-# What is a realtime database?
-
-I have been building [RxDB](https://rxdb.info/), a NoSQL **realtime** JavaScript database for many years.
-Often people get confused by the word **realtime database**, because the word **realtime** is so vaguely defined that it can mean everything and nothing at the same time.
-
-In this article we will explore what a realtime database is, and more important, what it is not.
-
-
-
-
-
-
-
-## Realtime as in **realtime computing**
-
-When "normal" developers hear the word "realtime", they think of **Real-time computing (RTC)**. Real-time computing is a type of computer processing that **guarantees specific response times** for tasks or events, crucial in applications like industrial control, automotive systems, and aerospace. It relies on specialized operating systems (RTOS) to ensure predictability and low latency. Hard real-time systems must never miss deadlines, while soft real-time systems can tolerate occasional delays. Real-time responses are often understood to be in the order of milliseconds, and sometimes microseconds.
-
-Consider the role of real-time computing in car airbags: sensors detect collision force, swiftly process the data, and immediately decide to deploy the airbags within milliseconds. Such rapid action is imperative for safeguarding passengers. Hence, the controlling chip must **guarantee a certain response time** - it must operate in "realtime".
-
-But when people talk about **realtime databases**, especially in the web-development world, they almost never mean realtime, as in **realtime computing**, they mean something else.
-In fact, with any programming language that run on end users devices, it is not even possible to built a "real" realtime database. A program, like a JavaScript ([browser](./browser-database.md) or [Node.js](../nodejs-database.md)) process, can be halted by the operating systems task manager at any time and therefore it will never be able to guarantee specific response times. To build a realtime computing database, you would need a realtime capable operating system.
-
-## Real time Database as in **realtime replication**
-
-When talking about realtime databases, most people refer to realtime, as in realtime replication.
-Often they mean a very specific product which is the **Firebase Realtime Database** (not the [Firestore](../replication-firestore.md)).
-
-
-
-In the context of the Firebase Realtime Database, "realtime" means that data changes are synchronized and delivered to all connected clients or devices as soon as they occur, typically within milliseconds. This means that when any client updates, adds, or removes data in the database, all other clients that are connected to the same database instance receive those updates instantly, without the need for manual polling or frequent HTTP requests.
-
-In short, when replicating data between databases, instead of polling, we use a [websocket connection](https://developer.mozilla.org/en-US/docs/Web/API/WebSockets_API) to live-stream all changes between the server and the clients, this is labeled as "realtime database". A similar thing can be done with RxDB and the [RxDB Replication Plugins](../replication.md).
-
-
-
-
-
-## Realtime as in **realtime applications**
-
-In the context of realtime client-side applications, "realtime" refers to the immediate or near-instantaneous processing and response to events or data inputs. When data changes, the application must directly update to reflect the new data state, without any user interaction or delay. Notice that the change to the data could have come from any source, like a user action, an operation in another browser tab, or even an operation from another device that has been replicated to the client.
-
-
-
-In contrast to push-pull based databases (e.g., MySQL or MongoDB servers), a realtime database contains **features which make it easy to build realtime applications**. For example with RxDB you can not only fetch query results once, but instead you can subscribe to a query and directly update the HTML dom tree whenever the query has a new result set:
-
-```ts
-await db.heroes.find({
- selector: {
- healthpoints: {
- $gt: 0
- }
- }
-})
-.$ // The $ returns an observable that emits whenever the query's result set changes.
-.subscribe(aliveHeroes => {
- // Refresh the HTML list each time there are new query results.
- const newContent = aliveHeroes.map(doc => '' + doc.name + '');
- document.getElementById('#myList').innerHTML = newContent;
-});
-
-// You can even subscribe to any RxDB document's fields.
-myDocument.firstName$.subscribe(newName => console.log('name is: ' + newName));
-```
-
-A competent realtime application is engineered to offer feedback or results swiftly, ideally within milliseconds to microseconds. Ideally, a data modification should be processed in under **16 milliseconds** (since 1 second divided by 60 frames equals 16.66ms) to ensure users don't perceive any lag from input to visualization. RxDB utilizes the [EventReduce algorithm](https://github.com/pubkey/event-reduce) to manage changes more swiftly than 16ms. However, it can never assure fixed response times as a "realtime computing database" would.
-
-## Follow Up
-
-- Dive into the [RxDB Quickstart](https://rxdb.info/quickstart.html)
-- Discover more about the [RxDB realtime Sync Engine](../replication.md)
-- Join the conversation at [RxDB Chat](https://rxdb.info/chat/)
-
----
-
-## RxDB as a Database in a Vue.js Application
-
-# RxDB as a Database in a Vue Application
-
-In the modern web ecosystem, [Vue](https://vuejs.org/) has become a leading choice for building highly performant, reactive single-page applications (SPAs). However, while Vue excels at managing and updating the user interface, robust and efficient data handling also plays a pivotal role in delivering a great user experience. Enter [RxDB](https://rxdb.info/), a reactive JavaScript database that runs in the browser (and beyond), offering significant capabilities such as offline-first data handling, real-time synchronization, and straightforward integration with Vue's reactivity system.
-
-This article explores how RxDB works, why it's a perfect match for Vue, and how you can leverage it to build more engaging, performant, and data-resilient Vue applications.
-
-
-
-
-
-
-
-## Why Vue Applications Need a Database
-Vue is renowned for its lightweight core and flexible architecture centered around reactive state management and reusable components. However, modern Vue applications often require:
-
-- **Offline Capabilities:** Allowing users to continue working even without internet access.
-- **Real-Time Updates:** Keeping UI data in sync with changes as they occur, whether locally or from other connected clients.
-- **Improved Performance:** Reducing server round trips and leveraging local storage for faster data operations.
-- **Scalable Data Handling:** Managing increasingly large datasets or complex queries right in the browser.
-
-While you can store data in Vuex/Pinia stores or via direct AJAX calls, these solutions may not suffice when your application demands a full-featured offline-first database or complex synchronization with a server. RxDB addresses these needs with a dedicated, reactive, browser-based database that pairs seamlessly with Vue's reactivity system.
-
-## Introducing RxDB as a Database Solution
-RxDB - short for Reactive Database - is built on the principle of combining [NoSQL database](./in-memory-nosql-database.md) capabilities with reactive programming. It runs inside your client-side environment (browser, [Node.js](../nodejs-database.md), or [mobile devices](./mobile-database.md)) and provides:
-
-1. **Real-Time Reactivity**: Automatically updates subscribed components whenever data changes.
-2. **Offline-First Approach**: Stores data locally and syncs with the server when online connectivity is restored.
-3. **Data Replication**: Effortlessly keeps data synchronized across multiple tabs, devices, or server instances.
-4. **Multi-Tab Support**: Seamlessly propagates changes to all open tabs in the user's [browser](./browser-database.md).
-5. **Observable Queries**: Automatically refresh the result set when documents in your queried collection change.
-
-### RxDB vs. Other Vue Database Options
-Compared to traditional approaches - like raw IndexedDB or local storage - RxDB adds a powerful, reactive layer that simplifies your data flow. While tools like Vuex or Pinia are great for state management, they are not fully fledged databases with features like replication, conflict resolution, and offline persistence. RxDB bridges the gap by providing an integrated data handling solution tailor-made for modern, data-intensive Vue applications.
-
-## Getting Started with RxDB
-Let's break down the essentials for using RxDB within a Vue application.
-
-### Installation
-You can install RxDB (and RxJS, which it depends on) via npm or yarn:
-
-```bash
-npm install rxdb rxjs
-```
-
-## Creating and Configuring Your Database
-
-Within your Vue project, you can set up an RxDB instance in a dedicated file or a Vue plugin. Below is an example using [Localstorage](./localstorage.md) as the storage engine:
-
-```ts
-// db.js
-import { createRxDatabase } from 'rxdb';
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-
-export async function initDatabase() {
- const db = await createRxDatabase({
- name: 'heroesdb',
- storage: getRxStorageLocalstorage(),
- password: 'myPassword', // optional encryption password
- multiInstance: true, // multi-tab support
- eventReduce: true // optimize event handling
- });
-
- await db.addCollections({
- hero: {
- schema: {
- title: 'hero schema',
- version: 0,
- primaryKey: 'id',
- type: 'object',
- properties: {
- id: { type: 'string' },
- name: { type: 'string' },
- healthpoints: { type: 'number' }
- }
- }
- }
- });
-
- return db;
-}
-```
-
-After creating the RxDB instance, you can share it across your application (for example, by providing it in a plugin or a global property in Vue).
-
-## Vue Reactivity and RxDB Observables
-
-RxDB queries return RxJS observables (`.$`). Vue can automatically update components when data changes if you manually subscribe and store results in Vue refs/reactive objects, or if you use RxDB's [custom reactivity for Vue](../reactivity.md).
-
-**Example with Vue 3 Composition API:**
-
-```js
-// HeroList.vue
-
-
-
-
-
- {{ hero.name }} - HP: {{ hero.healthpoints }}
-
-
-
-```
-
-## Different RxStorage Layers for RxDB
-
-RxDB supports multiple storage backends - called "RxStorage layers" - giving you flexibility in how data is persisted:
-
-- [LocalStorage RxStorage](../rx-storage-localstorage.md): Uses the browsers localstorage API.
-- [IndexedDB RxStorage](../rx-storage-indexeddb.md): Direct usage of native IndexedDB.
-- [OPFS RxStorage](../rx-storage-opfs.md): Uses the File System Access API for even faster storage in modern browsers.
-- [Memory RxStorage](../rx-storage-memory.md): Stores data in memory, ideal for tests or ephemeral data.
-- [SQLite RxStorage](../rx-storage-sqlite.md): Runs SQLite, which can be compiled to WebAssembly for the browser. While possible, it typically carries a larger bundle size compared to native browser APIs like [IndexedDB or OPFS](./localstorage-indexeddb-cookies-opfs-sqlite-wasm.md).
-
-Choose the storage option that best aligns with your Vue application's requirements for performance, persistence, and platform compatibility.
-
-## Synchronizing Data with RxDB between Clients and Servers
-
-RxDB champions an offline-first approach: data is kept locally so that your Vue app remains usable, even without internet. When connectivity is restored, RxDB ensures your local changes synchronize to the server, resolving conflicts as necessary.
-
-- [Real-Time Synchronization](./realtime-database.md): With RxDB's replication plugins, any local change can be instantly pushed to a remote endpoint while pulling down remote changes to ensure consistency.
-- **Conflict Resolution**: In multi-user scenarios, conflicts may arise if two clients update the same document simultaneously. RxDB provides hooks to handle and resolve these gracefully.
-- **Scalable Architecture**: By reducing reliance on continuous server requests, you can lighten server load and deliver a more responsive user experience.
-
-## Advanced RxDB Features and Techniques
-
-### Offline-First Approach
-Vue applications can seamlessly function offline by leveraging RxDB's local database storage. The moment the network is restored, all unsynced data is pushed to the server. This capability is particularly beneficial for Progressive Web Apps (PWAs) and scenarios with spotty connectivity.
-
-### Observable Queries and Change Streams
-Beyond simply returning data, RxDB queries emit observables that respond to any change in the underlying documents. This real-time approach can drastically simplify state management, since updates flow directly into your Vue components without additional manual wiring.
-
-### Encryption of Local Data
-For applications handling sensitive information, RxDB supports [encryption](../encryption.md) of local data. Your data is stored securely in the browser, protecting it from unauthorized access.
-
-### Indexing and Performance Optimization
-By [defining indexes](../rx-schema.md) on frequently searched fields, you can speed up queries and reduce overall resource usage. This is crucial for larger datasets where performance might otherwise degrade.
-
-### JSON Key Compression
-This [optimization](../key-compression.md) shortens field names in stored JSON documents, thereby reducing storage space and potentially improving performance for read/write operations.
-
-### Multi-Tab Support
-If your users open multiple tabs of your Vue application, RxDB ensures data is synchronized across all instances in real time. Changes made in one tab are immediately reflected in others, creating a unified user experience.
-
-
-
-## Best Practices for Using RxDB in Vue
-
-Here are some recommendations to get the most out of RxDB in your Vue projects:
-
-- Centralize Database Creation: Initialize and configure RxDB in a dedicated file or plugin, ensuring only one database instance is created.
-- Leverage Vue's Composition API or a Global Store: Use watchers, refs, or a store like Pinia to neatly manage data subscriptions and updates, preventing scattered subscription logic.
-- Async Subscriptions: Prefer using Vue's lifecycle hooks and the Composition API to manage subscriptions. Clean up subscriptions when components unmount or no longer need the data.
-- Optimize Queries and Indexes: Only query the data you need, and define indexes to speed up lookups.
-- Test [Offline Scenarios](../offline-first.md): Make sure your offline logic works as expected by simulating network disconnections and reconnections.
-- [Plan Conflict Resolution](../transactions-conflicts-revisions.md): For multi-user apps, decide how to merge concurrent changes to prevent data inconsistencies.
-
-## Follow Up
-
-To explore more about RxDB and leverage its capabilities for browser database development, check out the following resources:
-
-- [RxDB GitHub Repository](/code/): Visit the official GitHub repository of RxDB to access the source code, documentation, and community support.
-- [RxDB Quickstart](../quickstart.md): Get started quickly with RxDB by following the provided quickstart guide, which offers step-by-step instructions for setting up and using RxDB in your projects.
-- [RxDB Reactivity for Vue](../reactivity.md): Discover how RxDB observables can directly produce Vue refs, simplifying integration with your Vue components.
-- [RxDB Vue Example at GitHub](https://github.com/pubkey/rxdb/tree/master/examples/vue): Explore an official Vue example to see RxDB in action within a Vue application.
-- [RxDB Examples](https://github.com/pubkey/rxdb/tree/master/examples): Browse even more official examples to learn best practices you can apply to your own projects.
-
----
-
-## IndexedDB Database in Vue Apps - The Power of RxDB
-
-
-Building robust, [offline-capable](../offline-first.md) Vue applications often involves leveraging browser storage solutions to manage data. IndexedDB is one such powerful tool, but its raw API can be challenging to work with directly. RxDB abstracts away much of IndexedDB's complexity, providing a more developer-friendly experience. In this article, we'll explore what IndexedDB is, why it's beneficial in Vue applications, the challenges of using plain IndexedDB, and how [RxDB](https://rxdb.info/) can simplify your development process while adding advanced features.
-
-## What is IndexedDB?
-
-[IndexedDB](https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API) is a low-level API for storing significant amounts of structured data in the browser. It provides a transactional database system that can store key-value pairs, complex objects, and more. This storage engine is asynchronous and supports advanced data types, making it suitable for offline storage and complex web applications.
-
-
-
-
-
-## Why Use IndexedDB in Vue
-
-When building Vue applications, IndexedDB can play a crucial role in enhancing both performance and user experience. Here are some reasons to consider using IndexedDB:
-
-- **Offline-First / Local-First**: By storing data locally, your application remains functional even without an internet connection.
-- **Performance**: Using local data means [zero latency](./zero-latency-local-first.md) and no loading spinners, as data doesn't need to be fetched over a network.
-- **Easier Implementation**: Replicating all data to the client once is often simpler than implementing multiple endpoints for each user interaction.
-- **Scalability**: Local data reduces server load because queries run on the client side, decreasing server bandwidth and processing requirements.
-
-## Why To Not Use Plain IndexedDB
-
-While IndexedDB itself is powerful, its native API comes with several drawbacks for everyday application developers:
-
-- **Callback-Based API**: IndexedDB was originally designed around callbacks rather than modern Promises, making asynchronous code more cumbersome.
-- **Complexity**: IndexedDB is low-level, intended for library developers rather than for app developers who just want to store and query data easily.
-- **Basic Query API**: Its rudimentary query capabilities limit how you can efficiently perform complex queries. Libraries like RxDB offer more advanced querying and indexing.
-- **TypeScript Support**: Ensuring good [TypeScript support](../tutorials/typescript.md) with IndexedDB is challenging, especially when trying to maintain schema consistency.
-- **Lack of Observable API**: IndexedDB doesn't provide an observable API out of the box, making it hard to automatically update your Vue app in real time. RxDB solves this by enabling you to [observe queries](../rx-query.md#observe) or specific documents.
-- **Cross-Tab Communication**: Managing cross-tab updates in plain IndexedDB is difficult. RxDB handles this seamlessly - changes in one tab automatically affect observed data in others.
-- **Missing Advanced Features**: Features like [encryption](../encryption.md) or [compression](../key-compression.md) aren't built into IndexedDB, but they are available via RxDB.
-- **Limited Platform Support**: IndexedDB is browser-only. RxDB offers [swappable storages](../rx-storage.md) so you can reuse the same data layer code in mobile or desktop environments.
-
-
-
-
-
-
-
-## Set up RxDB in Vue
-
-Setting up RxDB with Vue is straightforward. It abstracts IndexedDB complexities and adds a layer of powerful features over it.
-
-### Installing RxDB
-
-First, install RxDB (and RxJS) from npm:
-
-```bash
-npm install rxdb rxjs --save
-```
-
-### Create a Database and Collections
-
-RxDB provides two main storage options:
-
-- The free [LocalStorage-based storage](../rx-storage-localstorage.md)
-- The premium plain [IndexedDB-based storage](../rx-storage-indexeddb.md), offering faster [performance](../rx-storage-performance.md)
-
-Below is an example of setting up a simple RxDB database using the localstorage-based storage in a Vue app:
-
-```ts
-// db.ts
-import { createRxDatabase } from 'rxdb';
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-
-export async function initDB() {
- const db = await createRxDatabase({
- name: 'heroesdb', // the name of the database
- storage: getRxStorageLocalstorage()
- });
-
- // Define your schema
- const heroSchema = {
- title: 'hero schema',
- version: 0,
- description: 'Describes a hero in your app',
- primaryKey: 'id',
- type: 'object',
- properties: {
- id: {
- type: 'string',
- maxLength: 100
- },
- name: {
- type: 'string'
- },
- power: {
- type: 'string'
- }
- },
- required: ['id', 'name']
- };
-
- // add collections
- await db.addCollections({
- heroes: {
- schema: heroSchema
- }
- });
-
- return db;
-}
-```
-
-### CRUD Operations
-
-Once your database is initialized, you can perform all CRUD operations:
-
-```ts
-// insert
-await db.heroes.insert({ id: '1', name: 'Iron Man', power: 'Genius-level intellect' });
-
-// bulk insert
-await db.heroes.bulkInsert([
- { id: '2', name: 'Thor', power: 'God of Thunder' },
- { id: '3', name: 'Hulk', power: 'Superhuman Strength' }
-]);
-
-// find and findOne
-const heroes = await db.heroes.find().exec();
-const ironMan = await db.heroes.findOne({ selector: { name: 'Iron Man' } }).exec();
-
-// update
-const doc = await db.heroes.findOne({ selector: { name: 'Hulk' } }).exec();
-await doc.update({ $set: { power: 'Unlimited Strength' } });
-
-// delete
-const thorDoc = await db.heroes.findOne({ selector: { name: 'Thor' } }).exec();
-await thorDoc.remove();
-```
-
-## Reactive Queries and Live Updates
-
-RxDB excels in providing reactive data capabilities, ideal for [real-time applications](./realtime-database.md). Subscribing to queries automatically updates your Vue components when underlying data changes - even across [browser](./browser-database.md) tabs.
-
-
-
-### Using RxJS Observables with Vue 3 Composition API
-
-Here's an example of a Vue component that subscribes to live data updates:
-
-```html
-
-
- Hero List
-
-
- {{ hero.name }} - {{ hero.power }}
-
-
-
-
-
-
-```
-
-This component subscribes to the collection's changes, [updating the UI](./optimistic-ui.md) automatically whenever the underlying data changes in any browser tab.
-
-### Using Vue Signals
-
-If you're exploring Vue's reactivity transforms or signals, RxDB also offers [custom reactivity factories](../reactivity.md) ([premium plugins](/premium/) are required). This allows queries to emit data as signals instead of traditional Observables.
-
-```ts
-const heroesSignal = db.heroes.find().$$; // $$ indicates a reactive result
-
-```
-With this, in your Vue template or script, you can directly read from heroesSignal()
-
-```html
-
-
- Hero List
-
-
-
- {{ hero.name }} - {{ hero.power }}
-
-
-
-
-```
-
-## Vue IndexedDB Example with RxDB
-
-A comprehensive example of using RxDB within a Vue application can be found in the [RxDB GitHub repository](https://github.com/pubkey/rxdb/tree/master/examples/vue). This repository contains sample applications, showcasing best practices and demonstrating how to integrate RxDB for various use cases.
-
-## Advanced RxDB Features
-RxDB offers many advanced features that extend beyond basic data storage:
-
-- [RxDB Replication](../replication.md): Synchronize local data with remote databases seamlessly.
-
-- [Data Migration](../migration-schema.md): Handle schema changes gracefully with automatic data migrations.
-
-- [Encryption](../encryption.md): Secure your data with built-in encryption capabilities.
-
-- [Compression](../key-compression.md): Optimize storage using key compression.
-
-## Limitations of IndexedDB
-
-While IndexedDB is powerful, it has some inherent limitations:
-
-- Performance: IndexedDB can be slow under certain conditions. Read more: [Slow IndexedDB](../slow-indexeddb.md)
-- [Storage Limits](./indexeddb-max-storage-limit.md): Browsers impose limits on how much data can be stored. See: [Browser storage limits](./localstorage-indexeddb-cookies-opfs-sqlite-wasm.md#storage-size-limits).
-
-## Alternatives to IndexedDB
-
-Depending on your application's requirements, there are [alternative storage solutions](../rx-storage.md) to consider:
-
-- **Origin Private File System (OPFS)**: A newer API that can offer better performance. RxDB supports OPFS as well. More info: [RxDB OPFS Storage](../rx-storage-opfs.md)
-- **SQLite**: Ideal for hybrid frameworks or Capacitor, offering native performance. Explore: [RxDB SQLite Storage](../rx-storage-sqlite.md)
-
-## Performance Comparison with Other Browser Storages
-Here is a performance overview of the various browser-based storage implementations of RxDB:
-
-
-
-## Follow Up
-- Learn how to use RxDB with the [RxDB Quickstart](../quickstart.md) for a guided introduction.
-- Check out the [RxDB GitHub repository](/code/) and leave a star ⭐ if you find it useful.
-
-By leveraging RxDB on top of IndexedDB, you can create highly responsive, offline-capable Vue applications without dealing with the low-level complexities of IndexedDB directly. With [reactive queries](../rx-query.md), seamless cross-tab communication, and powerful advanced features, RxDB becomes an invaluable tool in modern web development.
-
----
-
-## WebSockets vs Server-Sent-Events vs Long-Polling vs WebRTC vs WebTransport
-
-
-For modern real-time web applications, the ability to send events from the server to the client is indispensable. This necessity has led to the development of several methods over the years, each with its own set of advantages and drawbacks. Initially, [long-polling](#what-is-long-polling) was the only option available. It was then succeeded by [WebSockets](#what-are-websockets), which offered a more robust solution for bidirectional communication. Following WebSockets, [Server-Sent Events (SSE)](#what-are-server-sent-events) provided a simpler method for one-way communication from server to client. Looking ahead, the [WebTransport](#what-is-the-webtransport-api) protocol promises to revolutionize this landscape even further by providing a more efficient, flexible, and scalable approach. For niche use cases, [WebRTC](#what-is-webrtc) might also be considered for server-client events.
-
-This article aims to delve into these technologies, comparing their performance, highlighting their benefits and limitations, and offering recommendations for various use cases to help developers make informed decisions when building real-time web applications. It is a condensed summary of my gathered experience when I implemented the [RxDB Sync Engine](../replication.md) to be compatible with various backend technologies.
-
-
-
-
-
-
-
-### What is Long Polling?
-
-Long polling was the first "hack" to enable a server-client messaging method that can be used in browsers over HTTP. The technique emulates server push communications with normal XHR requests. Unlike traditional polling, where the client repeatedly requests data from the server at regular intervals, long polling establishes a connection to the server that remains open until new data is available. Once the server has new information, it sends the response to the client, and the connection is closed. Immediately after receiving the server's response, the client initiates a new request, and the process repeats. This method allows for more immediate data updates and reduces unnecessary network traffic and server load. However, it can still introduce delays in communication and is less efficient than other real-time technologies like WebSockets.
-
-```js
-// long-polling in a JavaScript client
-function longPoll() {
- fetch('http://example.com/poll')
- .then(response => response.json())
- .then(data => {
- console.log("Received data:", data);
- longPoll(); // Immediately establish a new long polling request
- })
- .catch(error => {
- /**
- * Errors can appear in normal conditions when a
- * connection timeout is reached or when the client goes offline.
- * On errors we just restart the polling after some delay.
- */
- setTimeout(longPoll, 10000);
- });
-}
-longPoll(); // Initiate the long polling
-```
-
-Implementing long-polling on the client side is pretty simple, as shown in the code above. However on the backend there can be multiple difficulties to ensure the client receives all events and does not miss out updates when the client is currently reconnecting.
-
-### What are WebSockets?
-
-[WebSockets](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket?retiredLocale=de) provide a full-duplex communication channel over a single, long-lived connection between the client and server. This technology enables browsers and servers to exchange data without the overhead of HTTP request-response cycles, facilitating real-time data transfer for applications like live chat, gaming, or financial trading platforms. WebSockets represent a significant advancement over traditional HTTP by allowing both parties to send data independently once the connection is established, making it ideal for scenarios that require low latency and high-frequency updates.
-
-```js
-// WebSocket in a JavaScript client
-const socket = new WebSocket('ws://example.com');
-
-socket.onopen = function(event) {
- console.log('Connection established');
- // Sending a message to the server
- socket.send('Hello Server!');
-};
-
-socket.onmessage = function(event) {
- console.log('Message from server:', event.data);
-};
-```
-
-While the basics of the WebSocket API are easy to use it has shown to be rather complex in production. A socket can loose connection and must be re-created accordingly. Especially detecting if a connection is still usable or not, can be very tricky. Mostly you would add a [ping-and-pong](https://developer.mozilla.org/en-US/docs/Web/API/WebSockets_API/Writing_WebSocket_servers#pings_and_pongs_the_heartbeat_of_websockets) heartbeat to ensure that the open connection is not closed.
-This complexity is why most people use a library on top of WebSockets like [Socket.IO](https://socket.io/) which handles all these cases and even provides fallbacks to long-polling if required.
-
-### What are Server-Sent-Events?
-
-Server-Sent Events (SSE) provide a standard way to push server updates to the client over HTTP. Unlike WebSockets, SSEs are designed exclusively for one-way communication from server to client, making them ideal for scenarios like live news feeds, sports scores, or any situation where the client needs to be updated in real time without sending data to the server.
-
-You can think of Server-Sent-Events as a single HTTP request where the backend does not send the whole body at once, but instead keeps the connection open and trickles the answer by sending a single line each time an event has to be send to the client.
-
-Creating a connection for receiving events with SSE is straightforward. On the client side in a browser, you initialize an [EventSource](https://developer.mozilla.org/en-US/docs/Web/API/EventSource) instance with the URL of the server-side script that generates the events.
-
-Listening for messages involves attaching event handlers directly to the EventSource instance. The API distinguishes between generic message events and named events, allowing for more structured communication. Here's how you can set it up in JavaScript:
-
-```js
-// Connecting to the server-side event stream
-const evtSource = new EventSource("https://example.com/events");
-
-// Handling generic message events
-evtSource.onmessage = event => {
- console.log('got message: ' + event.data);
-};
-```
-
-In difference to WebSockets, an EventSource will automatically reconnect on connection loss.
-
-On the server side, your script must set the `Content-Type` header to `text/event-stream` and format each message according to the [SSE specification](https://www.w3.org/TR/2012/WD-eventsource-20120426/). This includes specifying event types, data payloads, and optional fields like event ID and retry timing.
-
-Here's how you can set up a simple SSE endpoint in a Node.js Express app:
-
-```ts
-import express from 'express';
-const app = express();
-const PORT = process.env.PORT || 3000;
-
-app.get('/events', (req, res) => {
- res.writeHead(200, {
- 'Content-Type': 'text/event-stream',
- 'Cache-Control': 'no-cache',
- 'Connection': 'keep-alive',
- });
-
- const sendEvent = (data) => {
- // all message lines must be prefixed with 'data: '
- const formattedData = `data: ${JSON.stringify(data)}\n\n`;
- res.write(formattedData);
- };
-
- // Send an event every 2 seconds
- const intervalId = setInterval(() => {
- const message = {
- time: new Date().toTimeString(),
- message: 'Hello from the server!',
- };
- sendEvent(message);
- }, 2000);
-
- // Clean up when the connection is closed
- req.on('close', () => {
- clearInterval(intervalId);
- res.end();
- });
-});
-app.listen(PORT, () => console.log(`Server running on http://localhost:${PORT}`));
-```
-
-### What is the WebTransport API?
-
-WebTransport is a cutting-edge API designed for efficient, low-latency communication between web clients and servers. It leverages the [HTTP/3 QUIC protocol](https://en.wikipedia.org/wiki/HTTP/3) to enable a variety of data transfer capabilities, such as sending data over multiple streams, in both reliable and unreliable manners, and even allowing data to be sent out of order. This makes WebTransport a powerful tool for applications requiring high-performance networking, such as real-time gaming, live streaming, and collaborative platforms. However, it's important to note that WebTransport is currently a working draft and has not yet achieved widespread adoption.
-As of now (March 2024), WebTransport is in a [Working Draft](https://w3c.github.io/webtransport/) and not widely supported. You cannot yet use WebTransport in the [Safari browser](https://caniuse.com/webtransport) and there is also no native support [in Node.js](https://github.com/w3c/webtransport/issues/511). This limits its usability across different platforms and environments.
-
-Even when WebTransport will become widely supported, its API is very complex to use and likely it would be something where people build libraries on top of WebTransport, not using it directly in an application's sourcecode.
-
-### What is WebRTC?
-
-[WebRTC](https://webrtc.org/) (Web Real-Time Communication) is an open-source project and API standard that enables real-time communication (RTC) capabilities directly within web browsers and mobile applications without the need for complex server infrastructure or the installation of additional plugins. It supports peer-to-peer connections for streaming audio, video, and data exchange between browsers. [WebRTC](../replication-webrtc.md) is designed to work through NATs and firewalls, utilizing protocols like ICE, STUN, and TURN to establish a connection between peers.
-
-While WebRTC is made to be used for client-client interactions, it could also be leveraged for server-client communication where the server just simulated being also a client. This approach only makes sense for niche use cases which is why in the following WebRTC will be ignored as an option.
-
-The problem is that for WebRTC to work, you need a signaling-server anyway which would then again run over websockets, SSE or WebTransport. This defeats the purpose of using WebRTC as a replacement for these technologies.
-
-## Limitations of the technologies
-
-### Sending Data in both directions
-
-Only WebSockets and WebTransport allow to send data in both directions so that you can receive server-data and send client-data over the same connection.
-
-While it would also be possible with **Long-Polling** in theory, it is not recommended because sending "new" data to an existing long-polling connection would require
-to do an additional http-request anyway. So instead of doing that you can send data directly from the client to the server with an additional http-request without interrupting
-the long-polling connection.
-
-**Server-Sent-Events** do not support sending any additional data to the server. You can only do the initial request, and even there you cannot send POST-like data in the http-body by default with the native [EventSource API](https://developer.mozilla.org/en-US/docs/Web/API/EventSource). Instead you have to put all data inside of the url parameters which is considered a bad practice for security because credentials might leak into server logs, proxies and caches. To fix this problem, [RxDB](https://rxdb.info/) for example uses the [eventsource polyfill](https://github.com/EventSource/eventsource) instead of the native `EventSource API`. This library adds additional functionality like sending **custom http headers**. Also there is [this library](https://github.com/Azure/fetch-event-source) from microsoft which allows to send body data and use `POST` requests instead of `GET`.
-
-### 6-Requests per Domain Limit
-
-Most modern browsers allow six connections per domain () which limits the usability of all steady server-to-client messaging methods. The limitation of six connections is even shared across browser tabs so when you open the same page in multiple tabs, they would have to shared the six-connection-pool with each other. This limitation is part of the HTTP/1.1-RFC (which even defines a lower number of only two connections).
-
-> Quote From [RFC 2616 - Section 8.1.4](https://www.w3.org/Protocols/rfc2616/rfc2616-sec8.html#sec8.1.4): "Clients that use persistent connections SHOULD limit the number of simultaneous connections that they maintain to a given server. A single-user client SHOULD NOT maintain more than **2 connections** with any server or proxy. A proxy SHOULD use up to 2*N connections to another server or proxy, where N is the number of simultaneously active users. These guidelines are intended to improve HTTP response times and avoid congestion."
-
-While that policy makes sense to prevent website owners from using their visitors to D-DOS other websites, it can be a big problem when multiple connections are required to handle server-client communication for legitimate use cases. To workaround the limitation you have to use HTTP/2 or HTTP/3 with which the browser will only open a single connection per domain and then use multiplexing to run all data through a single connection. While this gives you a virtually infinity amount of parallel connections, there is a [SETTINGS_MAX_CONCURRENT_STREAMS](https://www.rfc-editor.org/rfc/rfc7540#section-6.5.2) setting which limits the actually connections amount. The default is 100 concurrent streams for most configurations.
-
-In theory the connection limit could also be increased by the browser, at least for specific APIs like EventSource, but the issues have been marked as "won't fix" by [chromium](https://issues.chromium.org/issues/40329530) and [firefox](https://bugzilla.mozilla.org/show_bug.cgi?id=906896).
-
-:::note Lower the amount of connections in Browser Apps
-When you build a browser application, you have to assume that your users will use the app not only once, but in multiple browser tabs in parallel.
-By default you likely will open one server-stream-connection per tab which is often not necessary at all. Instead you open only a single connection and shared it between tabs, no matter how many tabs are open. [RxDB](https://rxdb.info/) does that with the [LeaderElection](../leader-election.md) from the [broadcast-channel npm package](https://github.com/pubkey/broadcast-channel) to only have one stream of replication between server and clients. You can use that package standalone (without RxDB) for any type of application.
-:::
-
-### Connections are not kept open on mobile apps
-
-In the context of mobile applications running on operating systems like Android and iOS, maintaining open connections, such as those used for WebSockets and the others, poses a significant challenge. Mobile operating systems are designed to automatically move applications into the background after a certain period of inactivity, effectively closing any open connections. This behavior is a part of the operating system's resource management strategy to conserve battery and optimize performance. As a result, developers often rely on **mobile push notifications** as an efficient and reliable method to send data from servers to clients. Push notifications allow servers to alert the application of new data, prompting an action or update, without the need for a persistent open connection.
-
-### Proxies and Firewalls
-
-From consulting many [RxDB](https://rxdb.info/) users, it was shown that in enterprise environments (aka "at work") it is often hard to implement a WebSocket server into the infrastructure because many proxies and firewalls block non-HTTP connections. Therefore using the Server-Sent-Events provides and easier way of enterprise integration. Also long-polling uses only plain HTTP-requests and might be an option.
-
-
-
-
-
-
-
-## Performance Comparison
-
-Comparing the performance of WebSockets, Server-Sent Events (SSE), Long-Polling and WebTransport directly involves evaluating key aspects such as latency, throughput, server load, and scalability under various conditions.
-
-First lets look at the raw numbers. A good performance comparison can be found in [this repo](https://github.com/Sh3b0/realtime-web?tab=readme-ov-file#demos) which tests the messages times in a [Go Lang](https://go.dev/) server implementation. Here we can see that the performance of WebSockets, WebRTC and WebTransport are comparable:
-
-
-
-
-
-
-
-:::note
-Remember that WebTransport is a pretty new technology based on the also new HTTP/3 protocol. In the future (after March 2024) there might be more performance optimizations. Also WebTransport is optimized to use less power which metric is not tested.
-:::
-
-Lets also compare the Latency, the throughput and the scalability:
-
-### Latency
-- **WebSockets**: Offers the lowest latency due to its full-duplex communication over a single, persistent connection. Ideal for real-time applications where immediate data exchange is critical.
-- **Server-Sent Events**: Also provides low latency for server-to-client communication but cannot natively send messages back to the server without additional HTTP requests.
-- **Long-Polling**: Incurs higher latency as it relies on establishing new HTTP connections for each data transmission, making it less efficient for real-time updates. Also it can occur that the server wants to send an event when the client is still in the process of opening a new connection. In these cases the latency would be significantly larger.
-- **WebTransport**: Promises to offer low latency similar to WebSockets, with the added benefits of leveraging the HTTP/3 protocol for more efficient multiplexing and congestion control.
-
-### Throughput
-- **WebSockets**: Capable of high throughput due to its persistent connection, but throughput can suffer from [backpressure](https://chromestatus.com/feature/5189728691290112) where the client cannot process data as fast as the server is capable of sending it.
-- **Server-Sent Events**: Efficient for broadcasting messages to many clients with less overhead than WebSockets, leading to potentially higher throughput for unidirectional server-to-client communication.
-- **Long-Polling**: Generally offers lower throughput due to the overhead of frequently opening and closing connections, which consumes more server resources.
-- **WebTransport**: Expected to support high throughput for both unidirectional and bidirectional streams within a single connection, outperforming WebSockets in scenarios requiring multiple streams.
-
-### Scalability and Server Load
-- **WebSockets**: Maintaining a large number of WebSocket connections can significantly increase server load, potentially affecting scalability for applications with many users.
-- **Server-Sent Events**: More scalable for scenarios that primarily require updates from server to client, as it uses less connection overhead than WebSockets because it uses "normal" HTTP request without things like [protocol updates](https://developer.mozilla.org/en-US/docs/Web/HTTP/Protocol_upgrade_mechanism) that have to be run with WebSockets.
-- **Long-Polling**: The least scalable due to the high server load generated by frequent connection establishment, making it suitable only as a fallback mechanism.
-- **WebTransport**: Designed to be highly scalable, benefiting from HTTP/3's efficiency in handling connections and streams, potentially reducing server load compared to WebSockets and SSE.
-
-## Recommendations and Use-Case Suitability
-
-In the landscape of server-client communication technologies, each has its distinct advantages and use case suitability. **Server-Sent Events** (SSE) emerge as the most straightforward option to implement, leveraging the same HTTP/S protocols as traditional web requests, thereby circumventing corporate firewall restrictions and other technical problems that can appear with other protocols. They are easily integrated into Node.js and other server frameworks, making them an ideal choice for applications requiring frequent server-to-client updates, such as news feeds, stock tickers, and live event streaming.
-
-On the other hand, **WebSockets** excel in scenarios demanding ongoing, two-way communication. Their ability to support continuous interaction makes them the prime choice for browser games, chat applications, and live sports updates.
-
-However, **WebTransport**, despite its potential, faces adoption challenges. It is not widely supported by server frameworks [including Node.js](https://github.com/w3c/webtransport/issues/511) and lacks compatibility with [safari](https://caniuse.com/webtransport). Moreover, its reliance on HTTP/3 further limits its immediate applicability because many WebServers like nginx only have [experimental](https://nginx.org/en/docs/quic.html) HTTP/3 support. While promising for future applications with its support for both reliable and unreliable data transmission, WebTransport is not yet a viable option for most use cases.
-
-**Long-Polling**, once a common technique, is now largely outdated due to its inefficiency and the high overhead of repeatedly establishing new HTTP connections. Although it may serve as a fallback in environments lacking support for WebSockets or SSE, its use is generally discouraged due to significant performance limitations.
-
-## Known Problems
-
-For all of the realtime streaming technologies, there are known problems. When you build anything on top of them, keep these in mind.
-
-### A client can miss out events when reconnecting
-
-When a client is connecting, reconnecting or offline, it can miss out events that happened on the server but could not be streamed to the client.
-This missed out events are not relevant when the server is streaming the full content each time anyway, like on a live updating stock ticker.
-But when the backend is made to stream partial results, you have to account for missed out events. Fixing that on the backend scales pretty bad because the backend would have to remember for each client which events have been successfully send already. Instead this should be implemented with client side logic.
-
-The [RxDB Sync Engine](../replication.md) for example uses two modes of operation for that. One is the [checkpoint iteration mode](../replication.md#checkpoint-iteration) where normal http requests are used to iterate over backend data, until the client is in sync again. Then it can switch to [event observation mode](../replication.md#event-observation) where updates from the realtime-stream are used to keep the client in sync. Whenever a client disconnects or has any error, the replication shortly switches to [checkpoint iteration mode](../replication.md#checkpoint-iteration) until the client is in sync again. This method accounts for missed out events and ensures that clients can always sync to the exact equal state of the server.
-
-### Company firewalls can cause problems
-
-There are many known problems with company infrastructure when using any of the streaming technologies. Proxies and firewall can block traffic or unintentionally break requests and responses. Whenever you implement a realtime app in such an infrastructure, make sure you first test out if the technology itself works for you.
-
-## Follow Up
-
-- Check out the [hackernews discussion of this article](https://news.ycombinator.com/item?id=39745993)
-- Shared/Like my [announcement tweet](https://twitter.com/rxdbjs/status/1769507055298064818)
-- Learn how to use Server-Sent-Events to [replicate a client side RxDB database with your backend](../replication-http.md#pullstream-for-ongoing-changes).
-- Learn how to use RxDB with the [RxDB Quickstart](../quickstart.md)
-- Check out the [RxDB github repo](https://github.com/pubkey/rxdb) and leave a star ⭐
-
----
-
-## Zero Latency Local First Apps with RxDB – Sync, Encryption and Compression
-
-
-Creating a **zero-latency local first** application involves ensuring that most (if not all) user interactions occur instantaneously, without waiting on remote network responses. This design drastically enhances user experience, allowing apps to remain responsive and functional even when offline or experiencing poor connectivity. As developers, we can achieve this by storing data **locally on the client** and synchronizing it to the backend in the background. **RxDB** (Reactive Database) offers a comprehensive set of features - covering replication, offline support, encryption, compression, conflict handling, and more - that make it straightforward to build such high-performing apps.
-
-
-
-## Why Zero Latency with a Local First Approach?
-
-In a traditional architecture, each user action triggers requests to a server for reads or writes. Despite network optimizations, unavoidable latencies can delay responses and disrupt the user flow. By contrast, a local first model maintains data in the client's environment (browser, mobile, desktop), drastically reducing user-perceived delays. Once the user re-connects or resumes activity online, changes propagate automatically to the server, eliminating manual synchronization overhead.
-
-1. **Instant Responsiveness**: Because user actions (queries, updates, etc.) happen against a local datastore, UI updates do not wait on round-trip times.
-2. **Offline Operation**: Apps can continue to read and write data, even when there is zero connectivity.
-3. **Reduced Backend Load**: Instead of flooding the server with small requests, replication can combine and push or pull changes in batches.
-4. **Simplified Caching**: Instead of implementing multi-layer caching, local first transforms your data layer into a reliable, quickly accessible store for all user actions.
-
-
-
-
-
-
-
-## RxDB: Your Key to Zero-Latency Local First Apps
-
-**RxDB** is a JavaScript-based NoSQL database designed for offline-first and real-time replication scenarios. It supports a range of environments - browsers (IndexedDB or OPFS), mobile ([Ionic](./ionic-storage.md), [React Native](../react-native-database.md)), [Electron](../electron-database.md), Node.js - and is built around:
-
-- **Reactive Queries** that trigger UI updates upon data changes
-- **Schema-based NoSQL Documents** for flexible but robust data models
-- [Advanced Sync Engine](../replication.md): to synchronize with diverse backends
-- **Encryption** for secure data at rest
-- **Compression** to reduce local and network overhead
-
-### Real-Time Sync and Offline-First
-RxDB's replication logic revolves around pulling down remote changes and pushing up local modifications. It maintains a checkpoint-based mechanism, so only new or updated documents flow between the client and server, reducing bandwidth usage and latency. This ensures:
-
-- **Live Data**: Queries automatically reflect server-side changes once they arrive locally.
-- **Background Updates**: No manual polling needed; replication streams or intervals handle synchronization.
-- **Conflict Handling** (see below) ensures data merges gracefully when multiple clients edit the same document offline.
-
-#### Multiple Replication Plugins and Approaches
-RxDB's flexible replication system lets you connect to different backends or even peer-to-peer networks. There are official plugins for [CouchDB](../replication-couchdb.md), [Firestore](../replication-firestore.md), [GraphQL](../replication-graphql.md), [WebRTC](../replication-webrtc.md), and more. Many developers create a **custom HTTP replication** to work with their existing REST-based backend, ensuring a painless integration that doesn't require adopting an entirely new server infrastructure.
-
-#### Example Setup of a local database
-
-```ts
-import { createRxDatabase } from 'rxdb/plugins/core';
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-
-async function initZeroLocalDB() {
- // Create a local RxDB instance using localstorage-based storage
- const db = await createRxDatabase({
- name: 'myZeroLocalDB',
- storage: getRxStorageLocalstorage(),
- // optional: password for encryption if needed
- });
-
- // Define one or more collections
- await db.addCollections({
- tasks: {
- schema: {
- title: 'task schema',
- version: 0,
- type: 'object',
- primaryKey: 'id',
- properties: {
- id: { type: 'string', maxLength: 100 },
- title: { type: 'string' },
- done: { type: 'boolean' }
- }
- }
- }
- });
-
- // Reactive query - automatically updates on local or remote changes
- db.tasks
- .find()
- .$ // returns an RxJS Observable
- .subscribe(allTasks => {
- console.log('All tasks updated:', allTasks);
- });
-
- return db;
-}
-```
-
-When offline, reads and writes to `db.tasks` happen locally with near-zero delay. Once connectivity resumes, changes sync to the server automatically (if replication is configured).
-
-#### Example Setup of the replication
-
-```ts
-import { replicateRxCollection } from 'rxdb/plugins/replication';
-
-async function syncLocalTasks(db) {
- replicateRxCollection({
- collection: db.tasks,
- replicationIdentifier: 'sync-tasks',
- // Define how to pull server documents and push local documents
- pull: {
- handler: async (lastCheckpoint, batchSize) => {
- // logic to retrieve updated tasks from the server since lastCheckpoint
- },
- },
- push: {
- handler: async (docs) => {
- // logic to post local changes to the server
- },
- },
- live: true, // continuously replicate
- retryTime: 5000, // retry on errors or disconnections
- });
-}
-```
-
-This replication seamlessly merges server-side and client-side changes. Your app remains responsive throughout, regardless of the network status.
-
-## Things you should also know about
-
-### Optimistic UI on Local Data Changes
-
-A local first approach, especially with RxDB, naturally supports an [optimistic UI](./optimistic-ui.md) pattern. Because writes occur on the client, you can instantly reflect changes in the interface as soon as the user performs an action - no need to wait for server confirmation. For example, when a user updates a task document to done: true, the UI can re-render immediately with that new state. This even works across multiple browser tabs.
-
-
-
-If a server conflict arises later during replication, RxDB's [conflict handling](../transactions-conflicts-revisions.md) logic determines which changes to keep, and the UI can be updated accordingly. This is far more efficient than blocking the user or displaying a spinner while the backend processes the request.
-
-### Conflict Handling
-
-In local first models, conflicts emerge if multiple devices or clients edit the same document while offline. RxDB tracks document revisions so you can detect collisions and merge them effectively. By default, RxDB uses a last-write-wins approach, but developers can override it with a custom conflict handler. This provides fine-grained control - like merging partial fields, storing revision histories, or prompting users for resolution. Proper conflict handling keeps distributed data consistent across your entire system.
-
-### Schema Migrations
-
-Over time, apps evolve - new fields, changed field types, or altered indexes. RxDB allows incremental schema migrations so you can upgrade a user's local data from one schema version to another. You might, for instance, rename a property or transform data formats. Once you define your migration strategy, RxDB automatically applies it upon app initialization, ensuring the local database's structure aligns with your latest codebase.
-
-## Advanced Features
-
-### Setup Encryption
-When storing data locally, you may handle user-sensitive information like PII (Personal Identifiable Information) or financial details. RxDB supports on-device [encryption](../encryption.md) to protect fields. For example, you can define:
-
-```ts
-import { wrappedKeyEncryptionCryptoJsStorage } from 'rxdb/plugins/encryption-crypto-js';
-
-const encryptedStorage = wrappedKeyEncryptionCryptoJsStorage({
- storage: getRxStorageLocalstorage()
-});
-
-const db = await createRxDatabase({
- name: 'secureDB',
- storage: encryptedStorage,
- password: 'myEncryptionPassword'
-});
-
-await db.addCollections({
- secrets: {
- schema: {
- title: 'secrets schema',
- version: 0,
- type: 'object',
- primaryKey: 'id',
- properties: {
- id: { type: 'string', maxLength: 100 },
- secretField: { type: 'string' }
- },
- required: ['id'],
- encrypted: ['secretField'] // define which fields to encrypt
- }
- }
-});
-```
-
-Then mark fields as `encrypted` in the schema. This ensures data is unreadable on disk without the correct password.
-
-### Setup Compression
-
-Local data can expand quickly, especially for large documents or repeated key names. RxDB's key compression feature replaces verbose field names with shorter tokens, decreasing storage usage and speeding up replication. You enable it by adding keyCompression: true to your collection schema:
-
-```ts
-await db.addCollections({
- logs: {
- schema: {
- title: 'log schema',
- version: 0,
- keyCompression: true,
- type: 'object',
- primaryKey: 'id',
- properties: {
- id: { type: 'string'. maxLength: 100 },
- message: { type: 'string' },
- timestamp: { type: 'number' }
- }
- }
- }
-});
-```
-
-## Different RxDB Storages Depending on the Runtime
-
-RxDB's storage layer is swappable, so you can pick the optimal adapter for each environment. Some common choices include:
-
-- [IndexedDB](../rx-storage-indexeddb.md) in modern browsers (default).
-- [OPFS](../rx-storage-opfs.md) (Origin Private File System) in browsers that support it for potentially better performance.
-- [SQLite](../rx-storage-sqlite.md) for mobile or desktop environments via the premium plugin, offering native-like speed on Android, iOS, or Electron.
-- [In-Memory](../rx-storage-memory.md) for tests or ephemeral data.
-
-By choosing a suitable storage layer, you can adapt your zero-latency local first design to any runtime - web, [mobile](./mobile-database.md), or server-like contexts in [Node.js](../nodejs-database.md).
-
-## Performance Considerations
-
-Performant local data operations are crucial for a zero-latency experience. According to the RxDB [storage performance overview](../rx-storage-performance.md), differences in underlying storages can significantly impact throughput and latency. For instance, IndexedDB typically performs well across modern browsers, [OPFS](../rx-storage-opfs.md) offers improved throughput in supporting browsers, and [SQLite storage](../rx-storage-sqlite.md) (a premium plugin) often delivers near-native speed for mobile or desktop.
-
-### Offloading Work from the Main Thread
-
-In a browser environment, you can move database operations into a Web Worker using the [Worker RxStorage plugin](../rx-storage-worker.md). This approach lets you keep heavy data processing off the main thread, ensuring the UI remains smooth and responsive. Complex queries or large write operations no longer cause stuttering in the user interface.
-
-### Sharding or Memory-Mapped Storages
-
-For large datasets or high concurrency, advanced techniques like [sharding](../rx-storage-sharding.md) collections across multiple storages or leveraging a [memory-mapped](../rx-storage-memory-mapped.md) variant can further boost performance. By splitting data into smaller subsets or streaming it only as needed, you can scale to handle complex usage scenarios without compromising on the zero-latency user experience.
-
-## Follow Up
-
-- Dive into the [RxDB Quickstart](../quickstart.md) to set up your own local first database.
-- Explore [Replication Plugins](../replication.md) for syncing with platforms like [CouchDB](../replication-couchdb.md), [Firestore](./firestore-alternative.md), or [GraphQL](../replication-graphql.md).
-- Check out Advanced [Conflict Handling](../transactions-conflicts-revisions.md) and [Performance Tuning](../rx-storage-performance.md) for big data sets or complex multi-user interactions.
-- Join the RxDB Community on [GitHub](/code/) and [Discord](/chat/) to share insights, file issues, and learn from other developers building zero-latency solutions.
--
-By integrating RxDB into your stack, you achieve millisecond interactions, full [offline capabilities](../offline-first.md), secure data at rest, and minimal overhead for large or distributed teams. This zero-latency local first architecture is the future of modern software - delivering a fluid, always-available user experience without overcomplicating the developer workflow.
-
----
-
-## Backup
-
-# 📥 Backup Plugin
-
-With the backup plugin you can write the current database state and ongoing changes into folders on the filesystem.
-The files are written in plain json together with their attachments so that you can read them out with any software or tools, without being bound to RxDB.
-
-This is useful to:
- - Consume the database content with other software that cannot replicate with RxDB
- - Write a backup of the database to a remote server by mounting the backup folder on the other server.
-
-The backup plugin works only in node.js, not in a browser. It is intended to have a backup strategy when using RxDB on the server side like with the [RxServer](./rx-server.md). To run backups on the client side, you should use one of the [replication](./replication.md) plugins instead.
-
-## Installation
-
-```javascript
-import { addRxPlugin } from 'rxdb';
-import { RxDBBackupPlugin } from 'rxdb/plugins/backup';
-addRxPlugin(RxDBBackupPlugin);
-```
-
-## one-time backup
-
-Write the whole database to the filesystem **once**.
-When called multiple times, it will continue from the last checkpoint and not start all over again.
-
-```javascript
-const backupOptions = {
- // if false, a one-time backup will be written
- live: false,
- // the folder where the backup will be stored
- directory: '/my-backup-folder/',
- // if true, attachments will also be saved
- attachments: true
-}
-const backupState = myDatabase.backup(backupOptions);
-await backupState.awaitInitialBackup();
-
-// call again to run from the last checkpoint
-const backupState2 = myDatabase.backup(backupOptions);
-await backupState2.awaitInitialBackup();
-```
-
-## live backup
-
-When `live: true` is set, the backup will write all ongoing changes to the backup directory.
-
-```javascript
-const backupOptions = {
- // set live: true to have an ongoing backup
- live: true,
- directory: '/my-backup-folder/',
- attachments: true
-}
-const backupState = myDatabase.backup(backupOptions);
-
-// you can still await the initial backup write, but further changes will still be processed.
-await backupState.awaitInitialBackup();
-```
-
-## writeEvents$
-
-You can listen to the `writeEvents$` Observable to get notified about written backup files.
-
-```javascript
-const backupOptions = {
- live: false,
- directory: '/my-backup-folder/',
- attachments: true
-}
-const backupState = myDatabase.backup(backupOptions);
-
-const subscription = backupState.writeEvents$.subscribe(writeEvent => console.dir(writeEvent));
-/*
-> {
- collectionName: 'humans',
- documentId: 'foobar',
- files: [
- '/my-backup-folder/foobar/document.json'
- ],
- deleted: false
-}
-*/
-```
-
-## Limitations
-
-- It is currently not possible to import from a written backup. If you need this functionality, please make a pull request.
-
----
-
-## Capacitor Database Guide - SQLite, RxDB & More
-
-import {Tabs} from '@site/src/components/tabs';
-import {Steps} from '@site/src/components/steps';
-
-# Capacitor Database - SQLite, RxDB and others
-
-[Capacitor](https://capacitorjs.com/) is an open source native JavaScript runtime to build Web based Native apps. You can use it to create cross-platform iOS, Android, and Progressive Web Apps with the web technologies JavaScript, HTML, and CSS.
-It is developed by the Ionic Team and provides a great alternative to create hybrid apps. Compared to [React Native](./react-native-database.md), Capacitor is more Web-Like because the JavaScript runtime supports most Web APIs like IndexedDB, fetch, and so on.
-
-To read and write persistent data in Capacitor, there are multiple solutions which are shown in the following.
-
-
-
-## Database Solutions for Capacitor
-
-### Preferences API
-
-Capacitor comes with a native [Preferences API](https://capacitorjs.com/docs/apis/preferences) which is a simple, persistent key->value store for lightweight data, similar to the browsers localstorage or React Native [AsyncStorage](./react-native-database.md#asyncstorage).
-
-To use it, you first have to install it from npm `npm install @capacitor/preferences` and then you can import it and write/read data.
-Notice that all calls to the preferences API are asynchronous so they return a `Promise` that must be `await`-ed.
-
-```ts
-import { Preferences } from '@capacitor/preferences';
-
-// write
-await Preferences.set({
- key: 'foo',
- value: 'baar',
-});
-
-// read
-const { value } = await Preferences.get({ key: 'foo' }); // > 'bar'
-
-// delete
-await Preferences.remove({ key: 'foo' });
-```
-
-The preferences API is good when only a small amount of data needs to be stored and when no query capabilities besides the key access are required. Complex queries or other features like indexes or replication are not supported which makes the preferences API not suitable for anything more than storing simple data like user settings.
-
-### Localstorage/IndexedDB/WebSQL
-
-Since Capacitor apps run in a web view, Web APIs like IndexedDB, [Localstorage](./articles/localstorage.md) and WebSQL are available. But the default browser behavior is to clean up these storages regularly when they are not in use for a long time or the device is low on space. Therefore you cannot 100% rely on the persistence of the stored data and your application needs to expect that the data will be lost eventually.
-
-Storing data in these storages can be done in browsers, because there is no other option. But in Capacitor iOS and Android, you should not rely on these.
-
-### SQLite
-
-SQLite is a SQL based relational database written in C that was crafted to be embed inside of applications. Operations are written in the SQL query language and SQLite generally follows the PostgreSQL syntax.
-
-To use SQLite in Capacitor, there are three options:
-
-- The [@capacitor-community/sqlite](https://github.com/capacitor-community/sqlite) package
-- The [cordova-sqlite-storage](https://github.com/storesafe/cordova-sqlite-storage) package
-- The non-free [Ionic](./articles/ionic-database.md) [Secure Storage](https://ionic.io/products/secure-storage) which comes at **999$** per month.
-
-It is recommended to use the `@capacitor-community/sqlite` because it has the best maintenance and is open source. Install it first `npm install --save @capacitor-community/sqlite` and then set the storage location for iOS apps:
-
-```json
-{
- "plugins": {
- "CapacitorSQLite": {
- "iosDatabaseLocation": "Library/CapacitorDatabase"
- }
- }
-}
-```
-
-Now you can create a database connection and use the SQLite database.
-
-```ts
-import { Capacitor } from '@capacitor/core';
-import {
- CapacitorSQLite, SQLiteDBConnection, SQLiteConnection, capSQLiteSet,
- capSQLiteChanges, capSQLiteValues, capEchoResult, capSQLiteResult,
- capNCDatabasePathResult
-} from '@capacitor-community/sqlite';
-
-const sqlite = new SQLiteConnection(CapacitorSQLite);
-const database: SQLiteDBConnection = await this.sqlite.createConnection(
- databaseName,
- encrypted,
- mode,
- version,
- readOnly
-);
-let { rows } = database.query('SELECT somevalue FROM sometable');
-```
-
-The downside of SQLite is that it is lacking many features that are handful when using a database together with an UI based application like your Capacitor app. For example it is not possible to observe queries or document fields. Also there is no realtime replication feature, you can only import json files. This makes SQLite a good solution when you just want to store data on the client, but when you want to sync data with a server or other clients or create big complex realtime applications, you have to use something else.
-
-### RxDB
-
-
-
-[RxDB](https://rxdb.info/) is an local first, NoSQL database for JavaScript Applications like hybrid apps. Because it is reactive, you can subscribe to all state changes like the result of a query or even a single field of a document. This is great for UI-based realtime applications in a way that makes it easy to develop realtime applications like what you need in Capacitor.
-
-Because RxDB is made for Web applications, most of the [available RxStorage](./rx-storage.md) plugins can be used to store and query data in a Capacitor app. However it is recommended to use the [SQLite RxStorage](./rx-storage-sqlite.md) because it stores the data on the filesystem of the device, not in the JavaScript runtime (like IndexedDB). Storing data on the filesystem ensures it is persistent and will not be cleaned up by any process. Also the performance of SQLite is [much faster](./rx-storage.md#performance-comparison) compared to IndexedDB, because SQLite does not have to go through a browsers permission layers. For the SQLite binding you should use the [@capacitor-community/sqlite](https://github.com/capacitor-community/sqlite) package.
-
-Because the SQLite RxStorage is part of the [👑 Premium Plugins](/premium/) which must be purchased, it is recommended to use the [LocalStorage RxStorage](./rx-storage-localstorage.md) while testing and prototyping your Capacitor app.
-
-To use the SQLite RxStorage in Capacitor you have to install all dependencies via `npm install rxdb rxjs rxdb-premium @capacitor-community/sqlite`.
-
-For iOS apps you should add a database location in your Capacitor settings:
-
-```json
-{
- "plugins": {
- "CapacitorSQLite": {
- "iosDatabaseLocation": "Library/CapacitorDatabase"
- }
- }
-}
-```
-
-Then you can assemble the RxStorage and create a database with it:
-
-
-
-### Import RxDB and SQLite
-
-```ts
-import {
- createRxDatabase
-} from 'rxdb/plugins/core';
-import {
- CapacitorSQLite,
- SQLiteConnection
-} from '@capacitor-community/sqlite';
-import { Capacitor } from '@capacitor/core';
-const sqlite = new SQLiteConnection(CapacitorSQLite);
-```
-
-### Import the RxDB SQLite Storage
-
-
-
-#### RxDB Core
-
-```ts
-import {
- getRxStorageSQLiteTrial,
- getSQLiteBasicsCapacitor
-} from 'rxdb/plugins/storage-sqlite';
-```
-
-#### RxDB Premium 👑
-
-```ts
-import {
- getRxStorageSQLite,
- getSQLiteBasicsCapacitor
-} from 'rxdb-premium/plugins/storage-sqlite';
-```
-
-
-
-### Create a Database with the Storage
-
-
-
-#### RxDB Core
-
-```ts
-// create database
-const myRxDatabase = await createRxDatabase({
- name: 'exampledb',
- storage: getRxStorageSQLiteTrial({
- sqliteBasics: getSQLiteBasicsCapacitor(sqlite, Capacitor)
- })
-});
-```
-
-#### RxDB Premium 👑
-
-```ts
-// create database
-const myRxDatabase = await createRxDatabase({
- name: 'exampledb',
- storage: getRxStorageSQLite({
- sqliteBasics: getSQLiteBasicsCapacitor(sqlite, Capacitor)
- })
-});
-```
-
-
-
-### Add a Collection
-
-```ts
-// create collections
-const collections = await myRxDatabase.addCollections({
- humans: {
- schema: {
- version: 0,
- type: 'object',
- primaryKey: 'id',
- properties: {
- id: { type: 'string', maxLength: 100 },
- name: { type: 'string' },
- age: { type: 'number' }
- },
- required: ['id', 'name']
- }
- }
-});
-```
-
-### Insert a Document
-
-```ts
-await collections.humans.insert({id: 'foo', name: 'bar'});
-```
-
-### Run a Query
-
-```ts
-const result = await collections.humans.find({
- selector: {
- name: 'bar'
- }
-}).exec();
-```
-
-### Observe a Query
-
-```ts
-await collections.humans.find({
- selector: {
- name: 'bar'
- }
-}).$.subscribe(result => {/* ... */});
-```
-
-
-
-## Follow up
-
-- If you haven't done yet, you should start learning about RxDB with the [Quickstart Tutorial](./quickstart.md).
-- There is a followup list of other [client side database alternatives](./alternatives.md).
-
----
-
-## Cleanup
-
-# 🧹 Cleanup
-
-To make the replication work, and for other reasons, RxDB has to keep deleted documents in storage so that it can replicate their deletion state.
-This ensures that when a client is offline, the deletion state is still known and can be replicated with the backend when the client goes online again.
-
-Keeping too many deleted documents in the storage, can slow down queries or fill up too much disc space.
-With the cleanup plugin, RxDB will run cleanup cycles that clean up deleted documents when it can be done safely.
-
-## Installation
-
-```ts
-import { addRxPlugin } from 'rxdb';
-import { RxDBCleanupPlugin } from 'rxdb/plugins/cleanup';
-addRxPlugin(RxDBCleanupPlugin);
-```
-
-## Create a database with cleanup options
-
-You can set a specific cleanup policy when a `RxDatabase` is created. For most use cases, the defaults should be ok.
-
-```ts
-import { createRxDatabase } from 'rxdb';
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-const db = await createRxDatabase({
- name: 'heroesdb',
- storage: getRxStorageLocalstorage(),
- cleanupPolicy: {
- /**
- * The minimum time in milliseconds for how long
- * a document has to be deleted before it is
- * purged by the cleanup.
- * [default=one month]
- */
- minimumDeletedTime: 1000 * 60 * 60 * 24 * 31, // one month,
- /**
- * The minimum amount of that that the RxCollection must have existed.
- * This ensures that at the initial page load, more important
- * tasks are not slowed down because a cleanup process is running.
- * [default=60 seconds]
- */
- minimumCollectionAge: 1000 * 60, // 60 seconds
- /**
- * After the initial cleanup is done,
- * a new cleanup is started after [runEach] milliseconds
- * [default=5 minutes]
- */
- runEach: 1000 * 60 * 5, // 5 minutes
- /**
- * If set to true,
- * RxDB will await all running replications
- * to not have a replication cycle running.
- * This ensures we do not remove deleted documents
- * when they might not have already been replicated.
- * [default=true]
- */
- awaitReplicationsInSync: true,
- /**
- * If true, it will only start the cleanup
- * when the current instance is also the leader.
- * This ensures that when RxDB is used in multiInstance mode,
- * only one instance will start the cleanup.
- * [default=true]
- */
- waitForLeadership: true
- }
-});
-```
-
-## Calling cleanup manually
-
-You can manually run a cleanup per collection by calling `RxCollection.cleanup()`.
-
-```ts
-
-/**
- * Manually run the cleanup with the
- * minimumDeletedTime from the cleanupPolicy.
- */
-await myRxCollection.cleanup();
-
-/**
- * Overwrite the minimumDeletedTime
- * be setting it explicitly (time in milliseconds)
- */
-await myRxCollection.cleanup(1000);
-
-/**
- * Purge all deleted documents no
- * matter when they where deleted
- * by setting minimumDeletedTime to zero.
- */
-await myRxCollection.cleanup(0);
-```
-
-## Using the cleanup plugin to empty a collection
-
-When you have a collection with documents and you want to empty it by purging all documents, the recommended way is to call `myRxCollection.remove()`. However, this will destroy the JavaScript class of the collection and stop all listeners and observables.
-Sometimes the better option might be to manually delete all documents and then use the cleanup plugin to purge the deleted documents:
-
-```ts
-// delete all documents
-await myRxCollection.find().remove();
-// purge all deleted documents
-await myRxCollection.cleanup(0);
-```
-
-## FAQ
-
-
- When does the cleanup run
-
- The cleanup cycles are optimized to run only when the database is idle and it is unlikely that another database interaction performance will be decreased in the meantime. For example, by default, the cleanup does not run in the first 60 seconds of the creation of a collection to ensure the initial page load of your website does not slow down. Also, we use mechanisms like the `requestIdleCallback()` API to improve the correct timing of the cleanup cycle.
-
-
-
----
-
-## Contribute
-
-# Contribution
-
-We are open to, and grateful for, any contributions made by the community.
-
-# Developing
-
-## Requirements
-
-Before you can start developing, do the following:
-
-1. Make sure you have installed nodejs with the version stated in the [.nvmrc](https://github.com/pubkey/rxdb/blob/master/.nvmrc)
-2. Clone the repository `git clone https://github.com/pubkey/rxdb.git`
-3. Install the dependencies `cd rxdb && npm install`
-4. Make sure that the tests work for you. At first, try it out with `npm run test:node:memory` which tests the memory storage in node. In the [package.json](https://github.com/pubkey/rxdb/blob/master/package.json) you can find more scripts to run the tests with different storages.
-
-## Adding tests
-
-Before you start creating a bugfix or a feature, you should create a test to reproduce it. Tests are in the `test/unit`-folder.
-If you want to reproduce a bug, you can modify the test in [this file](https://github.com/pubkey/rxdb/blob/master/test/unit/bug-report.test.ts).
-
-## Making a PR
-
-If you make a pull-request, ensure the following:
-
-1. Every feature or bugfix must be committed together with a unit-test which ensures everything works as expected.
-2. Do not commit build-files (anything in the `dist`-folder)
-3. Before you add non-trivial changes, create an issue to discuss if this will be merged and you don't waste your time.
-4. To run the unit and integration-tests, do `npm run test` and ensure everything works as expected
-
-## Getting help
-
-If you need help with your contribution, ask at [discord](https://rxdb.info/chat/).
-
-## No-Go
-
-When reporting a bug, you need to make a PR with a test case that runs in the CI and reproduces your problem.
-Sending a link with a repo does not help the maintainer because installing random peoples projects is time consuming and dangerous.
-Also the maintainer will never go on a bug hunt based on your plain description. Either you report the bug with a test case, or the maintainer will likely not help you.
-
-# Docs
-
-The source of the documentation is at the `docs-src`-folder.
-To read the docs locally, run `npm run docs:install && npm run docs:serve` and open `http://localhost:4000/`
-
-# Thank you for contributing!
-
----
-
-## CRDT - Conflict-free replicated data type Database
-
-# RxDB CRDT Plugin
-
-Whenever there are multiple instances in a distributed system, data writes can cause conflicts. Two different clients could do a write to the same document at the same time or while they are both offline. When the clients replicate the document state with the server, a conflict emerges that must be resolved by the system.
-
-In [RxDB](./), conflicts are normally resolved by setting a `conflictHandler` when creating a collection. The conflict handler is a JavaScript function that gets the two conflicting states of the same document and it will return the resolved document state.
-The [default conflict handler](./replication.md#conflict-handling) will always drop the fork state and use the master state to ensure that clients that have been offline for a long time, do not overwrite other clients changes when they go online again.
-
-
-
-With CRDTs (short for [Conflict-free replicated data type](https://en.wikipedia.org/wiki/Conflict-free_replicated_data_type)), all document
-writes are represented as CRDT operations in plain JSON. The CRDT operations are stored together with the document and each time a conflict arises, the CRDT conflict handler will automatically merge the operations in a deterministic way. Using CRDTs is an easy way to "magically" handle all conflict problems in your application by storing the deltas of writes together with the document data.
-
-
-
-## RxDB CRDT operations
-
-In RxDB, a CRDT operation is defined with NoSQL update operators, like you might know them from [MongoDB update operations](https://www.mongodb.com/docs/manual/reference/operator/update/) or the [RxDB update plugin](./rx-document.md#update).
-To run the operators, RxDB uses the [mingo library](https://github.com/kofrasa/mingo#updating-documents).
-
-A CRDT operator example:
-
-```js
-const myCRDTOperation = {
- // increment the points field by +1
- $inc: {
- points: 1
- },
- // set the modified field to true
- $set: {
- modified: true
- }
-};
-```
-
-### Operators
-
-At the moment, not all possible operators are implemented in [mingo](https://github.com/kofrasa/mingo#updating-documents), if you need additional ones, you should make a pull request there.
-
-The following operators can be used at this point in time:
-- `$min`
-- `$max`
-- `$inc`
-- `$set`
-- `$unset`
-- `$push`
-- `$addToSet`
-- `$pop`
-- `$pullAll`
-- `$rename`
-
-For the exact definition on how each operator behaves, check out the [MongoDB documentation on update operators](https://www.mongodb.com/docs/manual/reference/operator/update/).
-
-## Installation
-
-To use CRDTs with RxDB, you need the following:
-
-- Add the CRDT plugin via `addRxPlugin`.
-- Add a field to your schema that defines where to store the CRDT operations via `getCRDTSchemaPart()`
-- Set the `crdt` options in your schema.
-- Do **NOT** set a custom conflict handler, the plugin will use its own one.
-
-```ts
-// import the relevant parts from the CRDT plugin
-import {
- getCRDTSchemaPart,
- RxDBcrdtPlugin
-} from 'rxdb/plugins/crdt';
-
-// add the CRDT plugin to RxDB
-import { addRxPlugin } from 'rxdb';
-addRxPlugin(RxDBcrdtPlugin);
-
-// create a database
-import { createRxDatabase } from 'rxdb';
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-const myDatabase = await createRxDatabase({
- name: 'heroesdb',
- storage: getRxStorageLocalstorage()
-});
-
-// create a schema with the CRDT options
-const mySchema = {
- version: 0,
- primaryKey: 'id',
- type: 'object',
- properties: {
- id: {
- type: 'string',
- maxLength: 100
- },
- points: {
- type: 'number',
- maximum: 100,
- minimum: 0
- },
- crdts: getCRDTSchemaPart() // use this field to store the CRDT operations
- },
- required: ['id', 'points'],
- crdt: { // CRDT options
- field: 'crdts'
- }
-}
-
-// add a collection
-await db.addCollections({
- users: {
- schema: mySchema
- }
-});
-
-// insert a document
-const myDocument = await db.users.insert({id: 'alice', points: 0});
-
-// run a CRDT operation that increments the 'points' by one
-await myDocument.updateCRDT({
- ifMatch: {
- $inc: {
- points: 1
- }
- }
-});
-```
-
-## Conditional CRDT operations
-
-By default, all CRDTs operations will be run to build the current document state. But in many cases, more granular operations are required to better reflect the desired business logic. For these cases, conditional CRDTs can be used.
-
-For example if you have a field `points` with a `maximum` of `100`, you might want to only run the `$inc` operation, if the `points` value is less than `100`.
-In an conditional CRDT, you can specify a `selector` and the operation sets `ifMatch` and `ifNotMatch`. At each time the CRDT is applied to the document state, first the selector will run and evaluate which operations path must be used.
-
-```ts
-await myDocument.updateCRDT({
- // only if the selector matches, the ifMatch operation will run
- selector: {
- age: {
- $lt: 100
- }
- },
- // an operation that runs if the selector matches
- ifMatch: {
- $inc: {
- points: 1
- }
- },
- // if the selector does NOT match, you could run a different operation instead
- ifNotMatch: {
- // ...
- }
-});
-```
-
-## Running multiples operations at once
-
-By default, one CRDT operation is applied to the document in a single database write.
-To represent more complex logic chains, it might make sense to use multiple CRDTs and write them at once inside of a single atomic document write.
-
-For these cases, the `updateCRDT()` method allows to pass an array of operations.
-
-```ts
-await myDocument.updateCRDT([
- {
- selector: { /** ... **/ },
- ifMatch: { /** ... **/ }
- },
- {
- selector: { /** ... **/ },
- ifMatch: { /** ... **/ }
- },
- {
- selector: { /** ... **/ },
- ifMatch: { /** ... **/ }
- },
- {
- selector: { /** ... **/ },
- ifMatch: { /** ... **/ }
- }
-]);
-```
-
-## CRDTs on inserts
-
-When CRDTs are enabled with the plugin, all insert operations are automatically mapped as CRDT operation with the `$set` operator.
-
-```ts
-// Calling RxCollection.insert()
-await myRxCollection.insert({
- id: 'foo'
- points: 1
-});
-// is exactly equal to calling insertCRDT()
-await myRxCollection.insertCRDT({
- ifMatch: {
- $set: {
- id: 'foo'
- points: 1
- }
- }
-});
-```
-
-When the same document is inserted in multiple client instances and then replicated, a conflict will emerge and the insert-CRDTs will overwrite each other in a deterministic order.
-You can use `insertCRDT()` to make conditional insert operations with any logic. To check for the previous existence of a document, use the `$exists` query operation on the primary key of the document.
-
-```ts
-await myRxCollection.insertCRDT({
- selector: {
- // only run if the document did not exist before.
- id: { $exists: false }
- },
- ifMatch: {
- // if the document did not exist, insert it
- $set: {
- id: 'foo'
- points: 1
- }
- },
- ifNotMatch: {
- // if document existed already, increment the points by +1
- $inc: {
- points: 1
- }
- }
-});
-```
-
-## Deleting documents
-
-You can delete a document with a CRDT operation by setting `_deleted` to true. Calling `RxDocument.remove()` will do exactly the same when CRDTs are activated.
-
-```ts
-await doc.updateCRDT({
- ifMatch: {
- $set: {
- _deleted: true
- }
- }
-});
-
-// OR
-await doc.remove();
-```
-
-## CRDTs with replication
-
-CRDT operations are stored inside of a special field besides your 'normal' document fields.
-When replicating document data with the [RxDB replication](./replication.md) or the [CouchDB replication](./replication-couchdb.md) or even any custom replication, the CRDT operations must be replicated together with the document data as if they would be 'normal' a document property.
-
-When any instances makes a write to the document, it is required to update the CRDT operations accordingly. For example if your custom backend updates a document, it must also do that by adding a CRDT operation. In [dev-mode](./dev-mode.md) RxDB will refuse to store any document data where the document properties do not match the result of the CRDT operations.
-
-## Why not automerge.js or yjs?
-
-There are already CRDT libraries out there that have been considered to be used with RxDB. The biggest ones are [automerge](https://github.com/automerge/automerge) and [yjs](https://github.com/yjs/yjs). The decision was made to not use these but instead go for a more NoSQL way of designing the CRDT format because:
-
-- Users do not have to learn a new syntax but instead can use the NoSQL query operations which they already know to manipulate the JSON data of a document.
-- RxDB is often used to [replicate](./replication.md) data with any custom backend on an already existing infrastructure. Using NoSQL operators instead of binary data in CRDTs, makes it easy to implement the exact same logic on these backends so that the backend can also do document writes and still be compliant to the RxDB CRDT plugin.
-
-So instead of using YJS or Automerge with a database, you can use RxDB with the CRDT plugin to have a more database specific CRDT approach. This gives you additional features for free such as [schema validation](./schema-validation.md) or [data migration](./migration-schema.md).
-
-## When to not use CRDTs
-
-CRDT can only be use when your business logic allows to represent document changes via static json operators.
-If you can have cases where user interaction is required to correctly merge conflicting document states, you cannot use CRDTs for that.
-
-Also when CRDTs are used, it is no longer allowed to do non-CRDT writes to the document properties.
-
-## CRDT Alternative
-
-While the CRDT plugin can automatically merge concurrent document updates, it is not the only way to resolve conflicts in RxDB.
-An alternative approach to CRDT is to use RxDB's built-in [conflict handling system](./transactions-conflicts-revisions.md).
-
-> Why use conflict handlers instead of CRDT?
-
-Conflict handlers offer a **simpler and more flexible** way to manage data conflicts. Instead of encoding changes as CRDT operations, you define how RxDB should decide which document version "wins" with plain JavaScript code. This approach is easier to reason about because it works directly with your domain logic. For example, you can compare timestamps, prioritize certain fields, or even involve user interaction to resolve conflicts.
-
-Conflict handlers are:
-
-* **Easier to understand**: you work with plain document states instead of CRDT operations.
-* **Fully customizable**: you can define any merge strategy, from simple last-write-wins to complex rule-based logic.
-* **Compatible with all data types**: unlike CRDTs, which are best suited for numeric or set-based updates.
-* **Transparent**: you always know which state is being written and why.
-
-### Downsides of CRDTs
-
-CRDTs are powerful for automatic conflict-free merging, but they also come with trade-offs:
-
-* **Higher conceptual complexity**: CRDTs require understanding of operation semantics, version vectors, and merge determinism.
-* **Limited flexibility**: you can only express changes that fit the supported JSON-style update operators.
-* **Difficult debugging**: when merges don't behave as expected, it can be hard to trace the sequence of CRDT operations that led to a state.
-* **Overhead for simple cases**: if your data rarely conflicts or needs human oversight, using CRDTs can add unnecessary complexity.
-
-
-### When to choose conflict handlers
-
-Use conflict handlers as CRDT alternative if:
-* You want full control over merge logic.
-* Your data model includes contextual or user-specific decisions.
-* You prefer a straightforward, rule-based resolution system over automatic merges.
-
-Use CRDTs if:
-* Your app performs frequent offline writes that can be merged deterministically.
-* Your data can be represented as additive, numeric, or array-based updates.
-* You want minimal manual intervention during replication.
-
-Both methods are first-class citizens in RxDB. CRDTs focus on **automatic, deterministic merging**, while conflict handlers emphasize **clarity, flexibility, and control**.
-
-### Example: merging different fields with conflict handlers instead of CRDT
-
-For example, imagine two users edit different fields of the same document at the same time. One updates a `name`, the other updates a `score`. A custom conflict handler can merge both changes so no data is lost:
-
-```ts
-const mergeFieldsHandler = {
- isEqual: (a, b) => JSON.stringify(a) === JSON.stringify(b),
- resolve: (input) => {
- return {
- ...input.realMasterState,
- name: input.newDocumentState.name ?? input.realMasterState.name,
- score: Math.max(input.newDocumentState.score, input.realMasterState.score)
- };
- }
-};
-```
-
-In this example, if the two versions change different properties, the final merged document includes both updates. This kind of logic is often easier to reason about than designing equivalent CRDT operations.
-
-
-
----
-
-## Data Migration
-
-This documentation page has been moved to [here](./migration-schema.md)
-
-
-
----
-
-## Development Mode
-
-import {Steps} from '@site/src/components/steps';
-
-# Dev Mode
-
-The dev-mode plugin adds many checks and validations to RxDB.
-This ensures that you use the RxDB API properly and so the dev-mode plugin should always be used when
-using RxDB in development mode.
-
-- Adds readable error messages.
-- Ensures that `readonly` JavaScript objects are not accidentally mutated.
-- Adds validation check for validity of schemas, queries, [ORM](./orm.md) methods and document fields.
- - Notice that the `dev-mode` plugin does not perform schema checks against the data see [schema validation](./schema-validation.md) for that.
-
-:::warning
-The dev-mode plugin will increase your build size and decrease the performance. It must **always** be used in development. You should **never** use it in production.
-:::
-
-
-
-### Import the dev-mode Plugin
-```javascript
-import { RxDBDevModePlugin } from 'rxdb/plugins/dev-mode';
-import { addRxPlugin } from 'rxdb/plugins/core';
-```
-
-## Add the Plugin to RxDB
-
-```javascript
-addRxPlugin(RxDBDevModePlugin);
-```
-
-
-## Usage with Node.js
-
-```ts
-async function createDb() {
- if (process.env.NODE_ENV !== "production") {
- await import('rxdb/plugins/dev-mode').then(
- module => addRxPlugin(module.RxDBDevModePlugin)
- );
- }
- const db = createRxDatabase( /* ... */ );
-}
-```
-
-## Usage with Angular
-
-```ts
-import { isDevMode } from '@angular/core';
-
-async function createDb() {
- if (isDevMode()){
- await import('rxdb/plugins/dev-mode').then(
- module => addRxPlugin(module.RxDBDevModePlugin)
- );
- }
-
- const db = createRxDatabase( /* ... */ );
- // ...
-}
-```
-
-## Usage with webpack
-
-In the `webpack.config.js`:
-
-```ts
-module.exports = {
- entry: './src/index.ts',
- /* ... */
- plugins: [
- // set a global variable that can be accessed during runtime
- new webpack.DefinePlugin({ MODE: JSON.stringify("production") })
- ]
- /* ... */
-};
-```
-
-In your source code:
-
-```ts
-declare var MODE: 'production' | 'development';
-
-async function createDb() {
- if (MODE === 'development') {
- await import('rxdb/plugins/dev-mode').then(
- module => addRxPlugin(module.RxDBDevModePlugin)
- );
- }
- const db = createRxDatabase( /* ... */ );
- // ...
-}
-```
-
-## Disable the dev-mode warning
-
-When the dev-mode is enabled, it will print a `console.warn()` message to the console so that you do not accidentally use the dev-mode in production. To disable this warning you can call the `disableWarnings()` function.
-
-```ts
-import { disableWarnings } from 'rxdb/plugins/dev-mode';
-disableWarnings();
-```
-
-## Disable the tracking iframe
-
-When used in localhost and in the browser, the dev-mode plugin can add a tracking iframe to the DOM. This is used to track the effectiveness of marketing efforts of RxDB.
-If you have [premium access](/premium/) and want to disable this iframe, you can call `setPremiumFlag()` before creating the database.
-
-```js
-import { setPremiumFlag } from 'rxdb-premium/plugins/shared';
-setPremiumFlag();
-```
-
----
-
-## Downsides of Local First / Offline First
-
-import {QuoteBlock} from '@site/src/components/quoteblock';
-
-# Downsides of Local First / Offline First
-
-So you have read [all these things](./offline-first.md) about how the [local-first](./articles/local-first-future.md) (aka offline-first) paradigm makes it easy to create realtime web applications that even work when the user has no internet connection.
-But there is no free lunch. The offline first paradigm is not the perfect approach for all kinds of apps.
-
-You fully understood a technology when you know when not to use it
-
-In the following I will point out the limitations you need to know before you decide to use [RxDB](https://github.com/pubkey/rxdb) or even before you decide to create an offline first application.
-
-## It only works with small datasets
-
-Making data available offline means it must be loaded from the server and then stored at the clients device.
-You need to load the full dataset on the first pageload and on every ongoing load you need to download the new changes to that set.
-While in theory you could download in infinite amount of data, in practice you have a limit how long the user can wait before having an up-to-date state.
-You want to display chat messages like Whatsapp? No problem. Syncing all the messages a user could write, can be done with a few HTTP requests.
-Want to make a tool that displays server logs? Good luck downloading terabytes of data to the client just to search for a single string. This will not work.
-
-Besides the network usage, there is another limit for the size of your data.
-In browsers you have some options for storage: Cookies, [Localstorage](./articles/localstorage.md), [WebSQL](./articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm.md#what-was-websql) and [IndexedDB](./rx-storage-indexeddb.md).
-
-Because Cookies and [Localstorage](./articles/localstorage.md) is slow and WebSQL is deprecated, you will use IndexedDB.
-The [limit of how much data you can store in IndexedDB](./articles/indexeddb-max-storage-limit.md) depends on two factors: Which browser is used and how much disc space is left on the device. You can assume that at least a couple of [hundred megabytes](https://web.dev/storage-for-the-web/) are available at least. The maximum is potentially hundreds of gigabytes or more, but the browser implementations vary. Chrome allows the browser to use up to 60% of the total disc space per origin. Firefox allows up to 50%. But on safari you can only store up to 1GB and the browser will prompt the user on each additional 200MB increment.
-
-The problem is, that you have no chance to really predict how much data can be stored. So you have to make assumptions that are hopefully true for all of your users. Also, you have no way to increase that space like you would add another hard drive to your backend server. Once your clients reach the limit, you likely have to rewrite big parts of your applications.
-
-UPDATE (2023): Newer versions of browsers can store way more data, for example firefox stores up to 10% of the total disk size. For an overview about how much can be stored, read [this guide](https://developer.mozilla.org/en-US/docs/Web/API/Storage_API/Storage_quotas_and_eviction_criteria)
-
-## Browser storage is not really persistent
-
-When data is stored inside IndexedDB or one of the other storage APIs, it cannot be trusted to stay there forever.
-Apple for example deletes the data when the website was not used in the [last 7 days](https://webkit.org/blog/10218/full-third-party-cookie-blocking-and-more/). The other browsers also have logic to clean up the stored data, and in the end the user itself could be the one that deletes the browsers local data.
-
-The most common way to handle this, is to replicate everything from the backend to the client again.
-Of course, this does not work for state that is not stored at the backend. So if you assume you can store the users private data inside the browser in a secure way, you are [wrong](https://medium.com/universal-ethereum/out-of-gas-were-shutting-down-unilogin-3b544838df1a#4f60).
-
-
-
-## There can be conflicts
-
-Imagine two of your users modify the same JSON document, while both are offline. After they go online again, their clients replicate the modified document to the server. Now you have two conflicting versions of the same document, and you need a way to determine how the correct new version of that document should look like. This process is called **conflict resolution**.
-
-
-
- 1. The default in [many](https://docs.couchdb.org/en/stable/replication/conflicts.html) offline first databases is a deterministic conflict resolution strategy. Both conflicting versions of the document are kept in the storage and when you query for the document, a winner is determined by comparing the hashes of the document and only the winning document is returned. Because the comparison is deterministic, all clients and servers will always pick the same winner. This kind of resolution only works when it is not that important that one of the document changes gets dropped. Because conflicts are rare, this might be a viable solution for some use cases.
-
- 2. A better resolution can be applied by listening to the changestream of the database. The changestream emits an event each time a write happens to the database. The event contains information about the written document and also a flag if there is a conflicting version. For each event with a conflict, you fetch all versions for that document and create a new document that contains the winning state. With that you can implement pretty complex conflict resolution strategies, but you have to manually code it for each collection of documents.
-
- 3. Instead of the solving conflict once at every client, it can be made a bit easier by solely relying on the backend. This can be done when all of your clients replicate with the same single backend server. With [RxDB's Graphql Replication](./replication-graphql.md) each client side change is sent to the server where conflicts can be resolved and the winning document can be sent back to the clients.
-
- 4. Sometimes there is no way to solve a conflict with code. If your users edit text based documents or images, often only the users themselves can decide how the winning revision has to look. For these cases, you have to implement complex UI parts where the users can inspect the conflict and manage its resolution.
-
- 5. You do not have to handle conflicts if they cannot happen in the first place. You can achieve that by designing a write only database where existing documents cannot be touched. Instead of storing the current state in a single document, you store all the events that lead to the current state. Sometimes called the ["everything is a delta"](https://pouchdb.com/guides/conflicts.html#accountants-dont-use-erasers) strategy, others would call it [Event Sourcing](https://martinfowler.com/eaaDev/EventSourcing.html). Like an accountant that does not need an eraser, you append all changes and afterwards aggregate the current state at the client.
- ```ts
- // create one new document for each change to the users balance
- {id: new Date().toJSON(), change: 100} // balance increased by $100
- {id: new Date().toJSON(), change: -50} // balance decreased by $50
- {id: new Date().toJSON(), change: 200} // balance increased by $200
- ```
-
- 6. There is this thing called **conflict-free replicated data type**, short **CRDT**. Using a CRDT library like [automerge](https://github.com/automerge/automerge) will magically solve all of your conflict problems. Until you use it in production where you observe that implementing CRDTs has basically the same complexity as implementing conflict resolution strategies.
-
-## Realtime is a lie
-
-So you replicate stuff between the clients and your backend. Each change on one side directly changes the state of the other sides in **realtime**. But this "realtime" is not the same as in [realtime computing](https://en.wikipedia.org/wiki/Real-time_computing). In the offline first world, the word realtime was introduced by firebase and is more meant as a marketing slogan than a technical description.
-There is an internet between your backend and your clients and everything you do on one machine takes at least once the latency until it can affect anything on the other machines. You have to keep this in mind when you develop anything where the timing is important, like a multiplayer game or a stock trading app.
-
-Even when you run a query against the local database, there is no "real" realtime.
-Client side databases run on JavaScript and JavaScript runs on a single CPU that might be partially blocked because the user is running some background processes. So you can never guarantee a response deadline which violates the time constraint of realtime computing.
-
-
-
-## Eventual consistency
-
-An offline first app does not have a single source of truth. There is a source on the backend, one on the own client, and also each other client has its own definition of truth. At the moment your user starts the app, the local state is hopefully already replicated with the backend and all other clients. But this does not have to be true, the states can have converged and you have to plan for that.
-The user could update a document based on wrong assumptions because it was not fully replicated at that point in time because the user is offline. A good way to handle this problem is to show the replication state in the UI and tell the user when the replication is running, stopped, paused or finished.
-
-And some data is just too important to be "eventual consistent". Create a wire transfer in your online banking app while you are offline. You keep the smartphone laying at your night desk and when you use again in the next morning, it goes online and replicates the transaction. No thank you, do not use offline first for these kinds of things, or at least you have to display the replication state of each document in the UI.
-
-
-
-## Permissions and authentication
-
-Every offline first app that goes beyond a prototype, does likely not have the same global state for all of its users. Each user has a different set of documents that are allowed to be replicated or seen by the user. So you need some kind of authentication and permission handling to divide the documents.
-The easy way is to just create one database for each user on the backend and only allow to replicate that one. Creating that many databases is not really a problem with for example CouchDB, and it makes permission handling easy.
-But as soon as you want to query all of your data in the backend, it will bite back. Your data is not at a single place, it is distributed between all of the user specific databases. This becomes even more complex as soon as you store information together with the documents that is not allowed to be seen by outsiders. You not only have to decide which documents to replicate, but also which fields of them.
-
-So what you really want is a single datastore in the backend and then replicate only the allowed document parts to each of the users.
-This always requires you to implement your custom replication endpoint like what you do with RxDBs [GraphQL Replication](./replication-graphql.md).
-
-## You have to migrate the client database
-
-While developing your app, sooner or later you want to change the data layout. You want to add some new fields to documents or change the format of them. So you have to update the database schema and also migrate the stored documents.
-With 'normal' applications, this is already hard enough and often dangerous. You wait until midnight, stop the webserver, make a database backup, deploy the new schema and then you hope that nothing goes wrong while it updates that many documents.
-
-With offline first applications, it is even more fun. You do not only have to migrate your local backend database, you also have to provide a [migration strategy](./migration-schema.md) for all of these client databases out there. And you also cannot migrate everything at the same time. The clients can only migrate when the new code was updated from the appstore or the user visited your website again. This could be today or in a few weeks.
-
-## Performance is not native
-
-When you create a web based offline first app, you cannot store data directly on the users filesystem. In fact there are many layers between your JavaScript code and the filesystem of the operation system. Let's say you insert a document in [RxDB](https://github.com/pubkey/rxdb):
- - You call the RxDB API to validate and store the data
- - RxDB calls the underlying RxStorage, for example PouchDB.
- - Pouchdb calls its underlying storage adapter
- - The storage adapter calls IndexedDB
- - The browser runs its internal handling of the IndexedDB API
- - In most browsers IndexedDB is implemented on [top of SQLite](https://hackaday.com/2021/08/24/sqlite-on-the-web-absurd-sql/)
- - SQLite calls the OS to store the data in the filesystem
-
-All these layers are abstractions. They are not build for exactly that one use case, so you lose some performance to tunnel the data through the layer itself, and you also lose some performance because the abstraction does not exactly provide the functions that are needed by the layer above and it will overfetch data.
-
-You will not find a benchmark comparison between how many transactions per second you can run on the browser compared to a server based database. Because it makes no sense to compare them. Browsers are slower, JavaScript is slower.
-
-> **Is it fast enough?**
-
-What you really care about is "Is it fast enough?". For most use cases, the answer is `yes`. Offline first apps are UI based and you do not need to process a million transactions per second, because your user will not click the save button that often. "Fast enough" means that the data is processed in under 16 milliseconds so that you can render the updated UI in the next frame. This is of course not true for all use cases, so you better think about the performance limit before starting with the implementation.
-
-## Nothing is predictable
-
-You have a PostgreSQL database and run a query over 1000ths of rows, which takes 200 milliseconds. Works great, so you now want to do something similar at the client device in your offline first app. How long does it take? You cannot know because people have different devices, and even equal devices have different things running in the background that slow the CPUs. So you cannot predict performance and as described above, you cannot even predict the storage limit. So if your app does heavy data analytics, you might better run everything on the backend and just send the results to the client.
-
-## There is no relational data
-
-I started creating [RxDB](https://github.com/pubkey/rxdb) many years ago and while still maintaining it, I often worked with all these other offline first databases out there. RxDB and all of these other ones, are based on some kind of document databases similar to NoSQL. Often people want to have a relational database like the SQL one they use at the backend.
-
-So why are there no real relations in offline first databases? I could answer with these arguments like how JavaScript works better with document based data, how performance is better when having no joins or even how NoSQL queries are more composable. But the truth is, everything is NoSQL because it makes replication easy. An SQL query that mutates data in different tables based on some selects and joins, cannot be partially replicated without breaking the client. You have foreign keys that point to other rows and if these rows are not replicated yet, you have a problem. To implement a robust [Sync Engine](./replication.md) for relational data, you need some stuff like a [reliable atomic clock](https://www.theverge.com/2012/11/26/3692392/google-spanner-atomic-clocks-GPS) and you have to block queries over multiple tables while a transaction replicated. [Watch this guy](https://youtu.be/iEFcmfmdh2w?t=607) implementing offline first replication on top of SQLite or read this [discussion](https://github.com/supabase/supabase/discussions/357) about implementing [offline first in supabase](./replication-supabase.md).
-
-So creating replication for an SQL offline first database is way more work than just adding some network protocols on top of PostgreSQL. It might not even be possible for clients that have no reliable clock.
-
----
-
-## Electron Database - Storage adapters for SQLite, Filesystem and In-Memory
-
-# Electron Database - RxDB with different storage for SQLite, Filesystem and In-Memory
-
-[Electron](https://www.electronjs.org/) (aka Electron.js) is a framework developed by github that is designed to create desktop applications with the Web technology stack consisting of HTML, CSS and JavaScript.
-Because the desktop application runs on the client's device, it is suitable to use a database that can store and query data locally. This allows you to create so-called [local first](./offline-first.md) apps that store data locally and even work when the user has no internet connection.
-While there are many options to store data in Electron, for complex realtime apps using [RxDB](https://rxdb.info/) is recommended because it is a database made for UI-based client-side application, not a server-side database.
-
-
-
-## Databases for Electron
-
-An Electron runtime can be divided into two parts:
-- The "main" process which is a Node.js JavaScript process that runs without a UI in the background.
-- One or multiple "renderer" processes that consist of a Chrome browser engine and runs the user interface. Each renderer process represents one "browser tab".
-
-This is important to understand because choosing the right database depends on your use case and on which of these JavaScript runtimes you want to keep the data.
-
-### Server Side Databases in Electron.js
-
-Because Electron runs on a desktop computer, you might think that it should be possible to use a common "server" database like MySQL, PostgreSQL or MongoDB. In theory, you could ship the correct database server binaries with your electron application and start a process on the client's device that exposes a port to the database that can be consumed by Electron. In practice, this is not a viable way to go because shipping the correct binaries and opening ports is way to complicated and troublesome. Instead you should use a database that can be bundled and run **inside** of Electron, either in the *main* or in the *renderer* process.
-
-### Localstorage / IndexedDB / WebSQL as alternatives to SQLite in Electron
-
-Because Electron uses a common Chrome web browser in the renderer process, you can access the common Web Storage APIs like [Localstorage](./articles/localstorage.md), IndexedDB and WebSQL. This is easy to set up and storing small sets of data can be achieved in a short span of time.
-
-But as soon as your application goes beyond a simple todo-app, there are multiple obstacles that come in your way. One thing is the bad multi-tab support. If you have more than one *renderer* process, it becomes hard to manage database writes between them. Each *browser tab* could modify the database state while the others do not know of the changes and keep an outdated UI.
-
-Another thing is performance. [IndexedDB is slow](./slow-indexeddb.md), mostly because it has to go through layers of browser security and abstractions. Storing and querying a lot of data might become your performance bottleneck. Localstorage and WebSQL are even slower, by the way. Using these Web Storage APIs is generally only recommended when you know for sure that there will be always only **one rendering process** and performance is not that relevant. The main reason for that is the security- and abstraction layers that write- and read operations have to go through when using the browsers IndexedDB API. So instead of using IndexedDB in Electron in the renderer process, you should use something that runs in the "main" process in Node.js like the [Filesystem RxStorage](./rx-storage-filesystem-node.md) or the [In Memory RxStorage](./rx-storage-memory.md).
-
-### RxDB
-
-
-
-[RxDB](https://rxdb.info/) is a NoSQL database for JavaScript applications. It has many features that come in handy when RxDB is used with UI based applications like your Electron app. For example, it is able to subscribe to query results of single fields of documents. It has encryption and compression features and most important it has a battle tested [Sync Engine](./replication.md) that can be used to do a realtime sync with your backend.
-
-Because of the [flexible storage](https://rxdb.info/rx-storage.html) layer of RxDB, there are many options on how to use it with Electron:
-
-- The [memory RxStorage](./rx-storage-memory.md) that stores the data inside of the JavaScript memory without persistence
-- The [SQLite RxStorage](./rx-storage-sqlite.md)
-- The [IndexedDB RxStorage](./rx-storage-indexeddb.md)
-- The [LocalStorage RxStorage](./rx-storage-localstorage.md)
-- The [Dexie.js RxStorage](./rx-storage-dexie.md)
-- The [Node.js Filesystem](./rx-storage-filesystem-node.md)
-
-It is recommended to use the [SQLite RxStorage](./rx-storage-sqlite.md) because it has the best performance and is the easiest to set up. However it is part of the [👑 Premium Plugins](/premium/) which must be purchased, so to try out RxDB with Electron, you might want to use one of the other options. To start with RxDB, I would recommend using the LocalStorage RxStorage in the renderer processes. Because RxDB is able to broadcast the database state between browser tabs, having multiple renderer processes is not a problem like it would be when you use plain IndexedDB without RxDB.
-In production, you would always run the RxStorage in the main process with the [RxStorage Electron IpcRenderer & IpcMain](./electron.md#rxstorage-electron-ipcrenderer--ipcmain) plugins.
-
-First, you have to install all dependencies via `npm install rxdb rxjs`.
-Then you can assemble the RxStorage and create a database with it:
-
-```ts
-import { createRxDatabase } from 'rxdb';
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-
-// create database
-const db = await createRxDatabase({
- name: 'exampledb',
- storage: getRxStorageLocalstorage()
-});
-
-// create collections
-const collections = await myRxDatabase.addCollections({
- humans: {
- /* ... */
- }
-});
-
-// insert document
-await collections.humans.insert({id: 'foo', name: 'bar'});
-
-// run a query
-const result = await collections.humans.find({
- selector: {
- name: 'bar'
- }
-}).exec();
-
-// observe a query
-await collections.humans.find({
- selector: {
- name: 'bar'
- }
-}).$.subscribe(result => {/* ... */});
-```
-
-For better performance in the renderer tab, you can later switch to the [IndexedDB RxStorage](./rx-storage-indexeddb.md). But in production, it is recommended to use the [SQLite RxStorage](./rx-storage-sqlite.md) or the [Filesystem RxStorage](./rx-storage-filesystem-node.md) in the main process so that database operations do not block the rendering of the UI.
-To learn more about using RxDB with Electron, you might want to check out [this example project](https://github.com/pubkey/rxdb/tree/master/examples/electron).
-
-### SQLite in Electron.js without RxDB
-
-SQLite is a SQL based relational database written in the C programming language that was crafted to be embedded inside of applications and stores data locally. Operations are written in the SQL query language similar to the PostgreSQL syntax.
-
-Using SQLite in Electron is not possible in the *renderer process*, only in the *main process*. To communicate data operations between your main and your renderer processes, you have to use either [@electron/remote](https://github.com/electron/remote) (not recommended) or the [ipcRenderer](https://www.electronjs.org/de/docs/latest/api/ipc-renderer) (recommended). So you start up SQLite in your main process and whenever you want to read or write data, you send the SQL queries to the main process and retrieve the result back as JSON data.
-
-To install SQLite, use the [SQLite3](https://github.com/TryGhost/node-sqlite3) package which is a native Node.js module. You also need the [@electron/rebuild](https://github.com/electron/rebuild) package to rebuild the SQLite module against the currently installed Electron version.
-
-Install them with `npm install sqlite3 @electron/rebuild`.
-Then you can rebuild SQLite with `./node_modules/.bin/electron-rebuild -f -w sqlite3`
-In the JavaScript code of your main process you can now create a database:
-
-```ts
-const sqlite3 = require('sqlite3');
-const db = new sqlite3.Database('/path/to/database/file.db');
-// create a table and insert a row
-db.serialize(() => {
- db.run("CREATE TABLE Users (name, lastName)");
- db.run("INSERT INTO Users VALUES (?, ?)", ['foo', 'bar']);
-});
-```
-
-Also you have to set up the ipcRenderer so that message from the renderer process are handled:
-
-```ts
-ipcMain.handle('db-query', async (event, sqlQuery) => {
- return new Promise(res => {
- db.all(sqlQuery, (err, rows) => {
- res(rows);
- });
- });
-});
-```
-In your renderer process, you can now call the ipcHandler and fetch data from SQLite:
-
-```ts
-const rows = await ipcRenderer.invoke('db-query', "SELECT * FROM Users");
-```
-
-The downside of SQLite (or SQL in general) is that it is lacking many features that are handful when using a database together with **UI based** applications. It is not possible to observe queries or document fields and there is no replication method to sync data with a server. This makes SQLite a good solution when you just want to store data on the client or process expensive SQL queries on the server, but it is not suitable for more complex operations like two-way replication, encryption, compression and so on. Also developer helpers like TypeScript type safety are totally out of reach.
-
-
-
-## Follow up
-
-- Learn how to use RxDB as database in electron with the [Quickstart Tutorial](./quickstart.md).
-- Check out the [RxDB Electron example](https://github.com/pubkey/rxdb/tree/master/examples/electron)
-- There is a followup list of other [client side database alternatives](./alternatives.md) that you can try to use with Electron.
-
----
-
-## Seamless Electron Storage with RxDB
-
-# Electron Plugin
-
-## RxStorage Electron IpcRenderer & IpcMain
-
-To use RxDB in [electron](./electron-database.md), it is recommended to run the RxStorage in the main process and the RxDatabase in the renderer processes. With the rxdb electron plugin you can create a remote RxStorage and consume it from the renderer process.
-
-To do this in a convenient way, the RxDB electron plugin provides the helper functions `exposeIpcMainRxStorage` and `getRxStorageIpcRenderer`.
-Similar to the [Worker RxStorage](./rx-storage-worker.md), these wrap any other [RxStorage](./rx-storage.md) once in the main process and once in each renderer process. In the renderer you can then use the storage to create a [RxDatabase](./rx-database.md) which communicates with the storage of the main process to store and query data.
-
-:::note
-`nodeIntegration` must be enabled in [Electron](https://www.electronjs.org/docs/latest/api/browser-window#new-browserwindowoptions).
-:::
-
-```ts
-// main.js
-const { exposeIpcMainRxStorage } = require('rxdb/plugins/electron');
-const { getRxStorageMemory } = require('rxdb/plugins/storage-memory');
-app.on('ready', async function () {
- exposeIpcMainRxStorage({
- key: 'main-storage',
- storage: getRxStorageMemory(),
- ipcMain: electron.ipcMain
- });
-});
-```
-
-```ts
-// renderer.js
-const { getRxStorageIpcRenderer } = require('rxdb/plugins/electron');
-const { getRxStorageMemory } = require('rxdb/plugins/storage-memory');
-
-const db = await createRxDatabase({
- name,
- storage: getRxStorageIpcRenderer({
- key: 'main-storage',
- ipcRenderer: electron.ipcRenderer
- })
-});
-/* ... */
-```
-
-## Related
-
-- [Comparison of Electron Databases](./electron-database.md)
-
----
-
-## Encryption
-
-import {Steps} from '@site/src/components/steps';
-
-# 🔒 Encrypted Local Storage with RxDB
-
-
-
-The RxDB encryption plugin empowers developers to fortify their applications' data security. It seamlessly integrates with [RxDB](https://rxdb.info/), allowing for the secure storage and retrieval of documents by **encrypting them with a password**. With encryption and decryption processes handled internally, it ensures that sensitive data remains confidential, making it a valuable tool for building robust, privacy-conscious applications. The encryption works on all RxDB supported devices types like the **browser**, **ReactNative** or **Node.js**.
-
-
-
-Encrypting client-side stored data in RxDB offers numerous advantages:
-- **Enhanced Security**: In the unfortunate event of a user's device being stolen, the encrypted data remains safeguarded on the hard drive, inaccessible without the correct password.
-- **Access Control**: You can retain control over stored data by revoking access at any time simply by withholding the password.
-- **Tamper proof** Other applications on the device cannot read out the stored data when the password is only kept in the process-specific memory
-
-## Querying encrypted data
-
-RxDB handles the encryption and decryption of data internally. This means that when you work with a RxDocument, you can access the properties of the document just like you would with normal, unencrypted data. RxDB automatically decrypts the data for you when you retrieve it, making it transparent to your application code.
-This means the encryption works with all [RxStorage](./rx-storage.md) like **SQLite**, **IndexedDB**, **OPFS** and so on.
-
-However, there's a limitation when it comes to querying encrypted fields. **Encrypted fields cannot be used as operators in queries**. This means you cannot perform queries like "find all documents where the encrypted field equals a certain value." RxDB does not expose the encrypted data in a way that allows direct querying based on the encrypted content. To filter or search for documents based on the contents of encrypted fields, you would need to first decrypt the data and then perform the query, which might not be efficient or practical in some cases.
-You could however use the [memory mapped](./rx-storage-memory-mapped.md) RxStorage to replicate the encrypted documents into a non-encrypted in-memory storage and then query them like normal.
-
-## Password handling
-RxDB does not define how you should store or retrieve the encryption password. It only requires you to provide the password on database creation which grants you flexibility in how you manage encryption passwords.
-You could ask the user on app-start to insert the password, or you can retrieve the password from your backend on app start (or revoke access by no longer providing the password).
-
-## Asymmetric encryption
-
-The encryption plugin itself uses **symmetric encryption** with a password to guarantee best performance when reading and storing data.
-It is not able to do **Asymmetric encryption** by itself. If you need Asymmetric encryption with a private/publicKey, it is recommended to encrypted the password itself with the asymmetric keys and store the encrypted password beside the other data. On app-start you can decrypt the password with the private key and use the decrypted password in the RxDB encryption plugin
-
-## Using the RxDB Encryption Plugins
-
-RxDB currently has two plugins for encryption:
-
-- The free `encryption-crypto-js` plugin that is based on the `AES` algorithm of the [crypto-js](https://www.npmjs.com/package/crypto-js) library
-- The [👑 premium](/premium/) `encryption-web-crypto` plugin that is based on the native [Web Crypto API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Crypto_API) which makes it faster and more secure to use. Document inserts are about 10x faster compared to `crypto-js` and it has a smaller build size because it uses the browsers API instead of bundling an npm module.
-
-An RxDB encryption plugin is a wrapper around any other [RxStorage](./rx-storage.md).
-
-
-
-### Wrap your RxStorage with the encryption
-
-```ts
-import {
- wrappedKeyEncryptionCryptoJsStorage
-} from 'rxdb/plugins/encryption-crypto-js';
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-
-// wrap the normal storage with the encryption plugin
-const encryptedStorage = wrappedKeyEncryptionCryptoJsStorage({
- storage: getRxStorageLocalstorage()
-});
-```
-
-### Create a RxDatabase with the wrapped storage
-
-Also you have to set a **password** when creating the database. The format of the password depends on which encryption plugin is used.
-
-```ts
-import { createRxDatabase } from 'rxdb/plugins/core';
-// create an encrypted database
-const db = await createRxDatabase({
- name: 'mydatabase',
- storage: encryptedStorage,
- password: 'sudoLetMeIn'
-});
-```
-
-### Create an RxCollection with an encrypted property
-
-To define a field as being encrypted, you have to add it to the `encrypted` fields list in the schema.
-
-```ts
-const schema = {
- version: 0,
- primaryKey: 'id',
- type: 'object',
- properties: {
- id: {
- type: 'string',
- maxLength: 100
- },
- secret: {
- type: 'string'
- },
- },
- required: ['id']
- encrypted: ['secret']
-};
-
-await db.addCollections({
- myDocuments: {
- schema
- }
-})
-```
-
-
-## Using Web-Crypto API
-
-For professionals, we have the `web-crypto` [👑 premium](/premium/) plugin which is faster and more secure:
-
-```ts
-import {
- wrappedKeyEncryptionWebCryptoStorage,
- createPassword
-} from 'rxdb-premium/plugins/encryption-web-crypto';
-import { getRxStorageIndexedDB } from 'rxdb-premium/plugins/storage-indexeddb';
-
-// wrap the normal storage with the encryption plugin
-const encryptedIndexedDbStorage = wrappedKeyEncryptionWebCryptoStorage({
- storage: getRxStorageIndexedDB()
-});
-
-const myPasswordObject = {
- // Algorithm can be oneOf: 'AES-CTR' | 'AES-CBC' | 'AES-GCM'
- algorithm: 'AES-CTR',
- password: 'myRandomPasswordWithMin8Length'
-};
-
-// create an encrypted database
-const db = await createRxDatabase({
- name: 'mydatabase',
- storage: encryptedIndexedDbStorage,
- password: myPasswordObject
-});
-
-/* ... */
-```
-
-## Changing the password
-
-The password is set database specific and it is not possible to change the password of a database. Opening an existing database with a different password will throw an error. To change the password you can either:
-- Use the [storage migration plugin](./migration-storage.md) to migrate the database state into a new database.
-- Store a randomly created meta-password in a different RxDatabase as a value of a [local document](./rx-local-document.md). Encrypt the meta password with the actual user password and read it out before creating the actual database.
-
-## Encrypted attachments
-
-To store the [attachments](./rx-attachment.md) data encrypted, you have to set `encrypted: true` in the `attachments` property of the schema.
-
-```ts
-const mySchema = {
- version: 0,
- type: 'object',
- properties: {
- /* ... */
- },
- attachments: {
- encrypted: true // if true, the attachment-data will be encrypted with the db-password
- }
-};
-```
-
-## Encryption and workers
-
-If you are using [Worker RxStorage](./rx-storage-worker.md) or [SharedWorker RxStorage](./rx-storage-shared-worker.md) with encryption, it's recommended to run encryption inside of the worker. Encryption can be very cpu intensive and would take away CPU-power from the main thread which is the main reason to use workers.
-
-You do not need to worry about setting the password inside of the worker. The password will be set when calling createRxDatabase from the main thread, and will be passed internally to the storage in the worker automatically.
-
----
-
-## Error Messages
-
-# RxDB Error Messages
-
-When RxDB has an error, an `RxError` object is thrown instead of a normal JavaScript `Error`. This `RxError` contains additional properties such as a `code` field and `parameters`. By default the full human readable error messages are not included into the RxDB build. This is because error messages have a high entropy and cannot be compressed well. Therefore only an error message with the correct error-code and parameters is thrown but without the full text.
-When you enable the [DevMode Plugin](./dev-mode.md) the full error messages are added to the `RxError`. This should only be done in development, not in production builds to keep a small build size.
-
-## All RxDB error messages
-
-import { ErrorMessages } from '@site/src/components/error-messages';
-
-
-
----
-
-## Fulltext Search 👑
-
-# Fulltext Search
-
-To run fulltext search queries on the local data, RxDB has a fulltext search plugin based on [flexsearch](https://github.com/nextapps-de/flexsearch) and [RxPipeline](./rx-pipeline.md). On each write to a given source [RxCollection](./rx-collection.md), an indexer is running to map the written document data into a fulltext search index.
-The index can then be queried efficiently with complex fulltext search operations.
-
-## Benefits of using a local fulltext search
-
-1. Efficient Search and Indexing
-
-The plugin utilizes the [FlexSearch library](https://github.com/nextapps-de/flexsearch), known for its speed and memory efficiency. This ensures that search operations are performed quickly, even with large datasets. The search engine can handle multi-field queries, partial matching, and complex search operations, providing users with highly relevant results.
-
-2. Local Data Indexing
-
-With the plugin, all search operations are performed on the local data stored within the RxDB collections. This means that users can execute fulltext search queries without the need for an external server or database, which is especially beneficial for offline-first applications. The local indexing ensures that search queries are executed quickly, reducing the latency typically associated with remote database queries. Also when used in multiple browser tabs, it is ensured that through [Leader Election](./leader-election.md), only exactly one tabs is doing the work of indexing without having an overhead in the other browser tabs.
-
-3. Real-time Indexing
-
-The plugin integrates seamlessly with RxDB's reactive nature. Every time a document is written to an [RxCollection](./rx-collection.md), an indexer updates the fulltext search index in real-time. This ensures that search results are always up-to-date, reflecting the most current state of the data without requiring manual reindexing.
-
-4. Persistent indexing
-
-The fulltext search index is efficiently persisted within the [RxCollection](./rx-collection.md), ensuring that the index remains intact across app restarts. When documents are added or updated in the collection, the index is incrementally updated in real-time, meaning only the changes are processed rather than reindexing the entire dataset. This incremental approach not only optimizes performance but also ensures that subsequent app launches are quick, as there's no need to reindex all the data from scratch, making the search feature both reliable and fast from the moment the app starts. When using an [encrypted storage](./encryption.md) the index itself and incremental updates to it are stored fully encrypted and are only decrypted in-memory.
-
-5. Complex Query Support
-
-The FlexSearch-based plugin allows for [sophisticated search queries](https://github.com/nextapps-de/flexsearch?tab=readme-ov-file#index.search), including multi-term and contextual searches. Users can perform complex searches that go beyond simple keyword matching, enabling more advanced use cases like searching for documents with specific phrases, relevance-based sorting, or even phonetic matching.
-
-6. Offline-First Support and Privacy
-
-As RxDB is designed with [offline-first applications](./offline-first.md) in mind, the fulltext search plugin supports this paradigm by ensuring that all search operations can be performed offline. This is crucial for applications that need to function in environments with intermittent or no internet connectivity, offering users a consistent and reliable search experience with [zero latency](./articles/zero-latency-local-first.md).
-
-## Using the RxDB Fulltext Search
-
-The flexsearch search is a [RxDB Premium Package 👑](/premium/) which must be purchased and imported from the `rxdb-premium` npm package.
-
-Step 1: Add the `RxDBFlexSearchPlugin` to RxDB.
-
-```ts
-import { RxDBFlexSearchPlugin } from 'rxdb-premium/plugins/flexsearch';
-import { addRxPlugin } from 'rxdb/plugins/core';
-addRxPlugin(RxDBFlexSearchPlugin);
-```
-
-Step 2: Create a `RxFulltextSearch` instance on top of a collection with the `addFulltextSearch()` function.
-
-```ts
-import { addFulltextSearch } from 'rxdb-premium/plugins/flexsearch';
-const flexSearch = await addFulltextSearch({
- // unique identifier. Used to store metadata and continue indexing on restarts/reloads.
- identifier: 'my-search',
- // The source collection on whose documents the search is based on
- collection: myRxCollection,
- /**
- * Transforms the document data to a given searchable string.
- * This can be done by returning a single string property of the document
- * or even by concatenating and transforming multiple fields like:
- * doc => doc.firstName + ' ' + doc.lastName
- */
- docToString: doc => doc.firstName,
- /**
- * (Optional)
- * Amount of documents to index at once.
- * See https://rxdb.info/rx-pipeline.html
- */
- batchSize: number;
- /**
- * (Optional)
- * lazy: Initialize the in memory fulltext index at the first search query.
- * instant: Directly initialize so that the index is already there on the first query.
- * Default: 'instant'
- */
- initialization: 'instant',
- /**
- * (Optional)
- * @link https://github.com/nextapps-de/flexsearch#index-options
- */
- indexOptions: {},
-});
-```
-
-Step 3: Run a search operation:
-
-```ts
-// find all documents whose searchstring contains "foobar"
-const foundDocuments = await flexSearch.find('foobar');
-
-/**
- * You can also use search options as second parameter
- * @link https://github.com/nextapps-de/flexsearch#search-options
- */
-const foundDocuments = await flexSearch.find('foobar', { limit: 10 });
-```
-
----
-
-## Installation
-
-# Install RxDB
-
-## npm
-
-To install the latest release of `rxdb` and its dependencies and save it to your `package.json`, run:
-
-`npm i rxdb --save`
-
-## peer-dependency
-
-You also need to install the peer-dependency `rxjs` if you have not installed it before.
-
-`npm i rxjs --save`
-
-## polyfills
-
-RxDB is coded with es8 and transpiled to es5\. This means you have to install [polyfills](https://developer.mozilla.org/en-US/docs/Glossary/Polyfill) to support older browsers. For example you can use the babel-polyfills with:
-
-`npm i @babel/polyfill --save`
-
-If you need polyfills, you have to import them in your code.
-
-```typescript
-import '@babel/polyfill';
-```
-
-## Polyfill the `global` variable
-
-When you use RxDB with **angular** or other **webpack** based frameworks, you might get the error `Uncaught ReferenceError: global is not defined`.
-This is because some dependencies of RxDB assume a Node.js-specific `global` variable that is not added to browser runtimes by some bundlers.
-You have to add them by your own, like we do [here](https://github.com/pubkey/rxdb/blob/master/examples/angular/src/polyfills.ts).
-
-```ts
-(window as any).global = window;
-(window as any).process = {
- env: { DEBUG: undefined },
-};
-```
-
-## Project Setup and Configuration
-
-In the [examples](https://github.com/pubkey/rxdb/tree/master/examples) folder you can find CI tested projects for different frameworks and use cases, while in the [/config](https://github.com/pubkey/rxdb/tree/master/config) folder base configuration files for Webpack, Rollup, Mocha, Karma, Typescript are exposed.
-
-Consult [package.json](https://github.com/pubkey/rxdb/blob/master/package.json) for the versions of the packages supported.
-
-## Installing the latest RxDB build
-
-If you need the latest development state of RxDB, add it as git-dependency into your `package.json`.
-
-```json
- "dependencies": {
- "rxdb": "git+https://git@github.com/pubkey/rxdb.git#commitHash"
- }
-```
-
-Replace `commitHash` with the hash of the latest [build-commit](https://github.com/pubkey/rxdb/search?q=build&type=Commits).
-
-## Import
-
-To import `rxdb`, add this to your JavaScript file to import the default bundle that contains the RxDB core:
-
-```typescript
-import {
- createRxDatabase,
- /* ... */
-} from 'rxdb';
-```
-
----
-
-## Key Compression
-
-import {Steps} from '@site/src/components/steps';
-
-# Key Compression
-
-With the key compression plugin, documents will be stored in a compressed format which saves up to 40% disc space.
-For compression the npm module [jsonschema-key-compression](https://github.com/pubkey/jsonschema-key-compression) is used.
-It compresses json-data based on its json-schema while still having valid json. It works by compressing long attribute-names into smaller ones and backwards.
-
-The compression and decompression happens internally, so when you work with a `RxDocument`, you can access any property like normal.
-
-## Enable key compression
-
-The key compression plugin is a wrapper around any other [RxStorage](./rx-storage.md).
-
-
-
-### Wrap your RxStorage with the key compression plugin
-
-```ts
-import { wrappedKeyCompressionStorage } from 'rxdb/plugins/key-compression';
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-
-const storageWithKeyCompression = wrappedKeyCompressionStorage({
- storage: getRxStorageLocalstorage()
-});
-```
-
-### Create an RxDatabase
-
-```ts
-import { createRxDatabase } from 'rxdb/plugins/core';
-const db = await createRxDatabase({
- name: 'mydatabase',
- storage: storageWithKeyCompression
-});
-```
-
-### Create a compressed RxCollection
-
-```ts
-
-const mySchema = {
- keyCompression: true, // set this to true, to enable the keyCompression
- version: 0,
- primaryKey: 'id',
- type: 'object',
- properties: {
- id: {
- type: 'string',
- maxLength: 100 // <- the primary key must have set maxLength
- }
- /* ... */
- }
-};
-await db.addCollections({
- docs: {
- schema: mySchema
- }
-});
-```
-
-
-
----
-
-## Leader Election
-
-# Leader-Election
-
-RxDB comes with a leader-election which elects a leading instance between different instances in the same javascript runtime.
-Before you read this, please check out on how many of your open browser-tabs you have opened the same website more than once. Count them, I will wait..
-
-So if you would now inspect the traffic that these open tabs produce, you can see that many of them send exact the same data over wire for every tab. No matter if the data is sent with an open websocket or by polling.
-
-## Use-case-example
-
-Imagine we have a website which displays the current temperature of the visitors location in various charts, numbers or heatmaps. To always display the live-data, the website opens a websocket to our API-Server which sends the current temperature every 10 seconds. Using the way most sites are currently build, we can now open it in 5 browser-tabs and it will open 5 websockets which send data 6*5=30 times per minute. This will not only waste the power of your clients device, but also wastes your api-servers resources by opening redundant connections.
-
-## Solution
-
-The solution to this redundancy is the usage of a [leader-election](https://en.wikipedia.org/wiki/Leader_election)-algorithm which makes sure that always exactly one tab is managing the remote-data-access. The managing tab is the elected leader and stays leader until it is closed. No matter how many tabs are opened or closed, there must be always exactly **one** leader.
-You could now start implementing a messaging-system between your browser-tabs, hand out which one is leader, solve conflicts and reassign a new leader when the old one 'dies'.
-Or just use RxDB which does all these things for you.
-
-## Add the leader election plugin
-
-To enable the leader election, you have to add the `leader-election` plugin.
-
-```javascript
-import { addRxPlugin } from 'rxdb';
-import { RxDBLeaderElectionPlugin } from 'rxdb/plugins/leader-election';
-addRxPlugin(RxDBLeaderElectionPlugin);
-```
-## Code-example
-
-To make it easy, here is an example where the temperature is pulled every ten seconds and saved to a collection. The pulling starts at the moment where the opened tab becomes the leader.
-
-```javascript
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-
-const db = await createRxDatabase({
- name: 'weatherDB',
- storage: getRxStorageLocalstorage(),
- password: 'myPassword',
- multiInstance: true
-});
-
-await db.addCollections({
- temperature: {
- schema: mySchema
- }
-});
-
-db.waitForLeadership()
- .then(() => {
- console.log('Long lives the king!'); // <- runs when db becomes leader
- setInterval(async () => {
- const temp = await fetch('https://example.com/api/temp/');
- db.temperature.insert({
- degrees: temp,
- time: new Date().getTime()
- });
- }, 1000 * 10);
- });
-```
-
-## Handle Duplicate Leaders
-
-On rare occasions, it can happen that [more than one leader](https://github.com/pubkey/broadcast-channel/blob/master/.github/README.md#handle-duplicate-leaders) is elected. This can happen when the CPU is on 100% or for any other reason the JavaScript process is fully blocked for a long time.
-For most cases this is not really problem because on duplicate leaders, both browser tabs replicate with the same backend anyways.
-To handle the duplicate leader event, you can access the leader elector and set a handler:
-
-```ts
-import {
- getLeaderElectorByBroadcastChannel
-} from 'rxdb/plugins/leader-election';
-
-const leaderElector = getLeaderElectorByBroadcastChannel(broadcastChannel);
-leaderElector.onduplicate = async () => {
- // Duplicate leader detected -> reload the page.
- location.reload();
-}
-```
-
-## Live-Example
-
-In this example the leader is marked with the crown ♛
-
-
-
-## Try it out
-
-Run the [angular-example](https://github.com/pubkey/rxdb/tree/master/examples/angular) where the leading tab is marked with a crown on the top-right-corner.
-
-## Notice
-
-The leader election is implemented via the [broadcast-channel module](https://github.com/pubkey/broadcast-channel#using-the-leaderelection).
-The leader is elected between different processes on the same javascript-runtime. Like multiple tabs in the same browser or multiple NodeJs-processes on the same machine. It will not run between different replicated instances.
-
----
-
-## RxDB Logger Plugin - Track & Optimize
-
-# RxDB Logger Plugin
-
-With the logger plugin you can log all operations to the [storage layer](./rx-storage.md) of your [RxDatabase](./rx-database.md).
-
-This is useful to debug performance problems and for monitoring with Application Performance Monitoring (APM) tools like **Bugsnag**, **Datadog**, **Elastic**, **Sentry** and others.
-
-Notice that the logger plugin is not part of the RxDB core, it is part of [RxDB Premium 👑](/premium/).
-
-
-
-## Using the logger plugin
-
-The logger is a wrapper that can be wrapped around any [RxStorage](./rx-storage.md). Once your storage is wrapped, you can create your database with the wrapped storage and the logging will automatically happen.
-
-```ts
-
-import {
- wrappedLoggerStorage
-} from 'rxdb-premium/plugins/logger';
-import {
- getRxStorageIndexedDB
-} from 'rxdb-premium/plugins/storage-indexeddb';
-
-// wrap a storage with the logger
-const loggingStorage = wrappedLoggerStorage({
- storage: getRxStorageIndexedDB({})
-});
-
-// create your database with the wrapped storage
-const db = await createRxDatabase({
- name: 'mydatabase',
- storage: loggingStorage
-});
-
-// create collections etc...
-```
-
-## Specify what to be logged
-
-By default, the plugin will log all operations and it will also run a `console.time()/console.timeEnd()` around each operation. You can specify what to log so that your logs are less noisy. For this you provide a settings object when calling `wrappedLoggerStorage()`.
-
-```ts
-const loggingStorage = wrappedLoggerStorage({
- storage: getRxStorageIndexedDB({}),
- settings: {
- // can used to prefix all log strings, default=''
- prefix: 'my-prefix',
-
- /**
- * Be default, all settings are true.
- */
-
- // if true, it will log timings with console.time() and console.timeEnd()
- times: true,
-
- // if false, it will not log meta storage instances like used in replication
- metaStorageInstances: true,
-
- // operations
- bulkWrite: true,
- findDocumentsById: true,
- query: true,
- count: true,
- info: true,
- getAttachmentData: true,
- getChangedDocumentsSince: true,
- cleanup: true,
- close: true,
- remove: true
- }
-});
-```
-
-## Using custom logging functions
-
-With the logger plugin you can also run custom log functions for all operations.
-
-```ts
-const loggingStorage = wrappedLoggerStorage({
- storage: getRxStorageIndexedDB({}),
- onOperationStart: (operationsName, logId, args) => void,
- onOperationEnd: (operationsName, logId, args) => void,
- onOperationError: (operationsName, logId, args, error) => void
-});
-```
-
----
-
-## Streamlined RxDB Middleware
-
-# Middleware
-RxDB middleware-hooks (also called pre and post hooks) are functions which are passed control during execution of asynchronous functions.
-The hooks are specified on RxCollection-level and help to create a clear what-happens-when-structure of your code.
-
-Hooks can be defined to run **parallel** or as **series** one after another.
-Hooks can be **synchronous** or **asynchronous** when they return a `Promise`.
-To stop the operation at a specific hook, throw an error.
-
-## List
-RxDB supports the following hooks:
-- preInsert
-- postInsert
-- preSave
-- postSave
-- preRemove
-- postRemove
-- postCreate
-
-### Why is there no validate-hook?
-Different to mongoose, the validation on document-data is running on the field-level for every change to a document.
-This means if you set the value ```lastName``` of a RxDocument, then the validation will only run on the changed field, not the whole document.
-Therefore it is not useful to have validate-hooks when a document is written to the database.
-
-## Use Cases
-Middleware are useful for atomizing model logic and avoiding nested blocks of async code.
-Here are some other ideas:
-
-- complex validation
-- removing dependent documents
-- asynchronous defaults
-- asynchronous tasks that a certain action triggers
-- triggering custom events
-- notifications
-
-## Usage
-All hooks have the plain data as first parameter, and all but `preInsert` also have the `RxDocument`-instance as second parameter. If you want to modify the data in the hook, change attributes of the first parameter.
-
-All hook functions are also `this`-bind to the `RxCollection`-instance.
-
-### Insert
-An insert-hook receives the data-object of the new document.
-
-#### lifecycle
-- RxCollection.insert is called
-- preInsert series-hooks
-- preInsert parallel-hooks
-- schema validation runs
-- new document is written to database
-- postInsert series-hooks
-- postInsert parallel-hooks
-- event is emitted to RxDatabase and RxCollection
-
-#### preInsert
-
-```js
-// series
-myCollection.preInsert(function(plainData){
- // set age to 50 before saving
- plainData.age = 50;
-}, false);
-
-// parallel
-myCollection.preInsert(function(plainData){
-
-}, true);
-
-// async
-myCollection.preInsert(function(plainData){
- return new Promise(res => setTimeout(res, 100));
-}, false);
-
-// stop the insert-operation
-myCollection.preInsert(function(plainData){
- throw new Error('stop');
-}, false);
-```
-
-#### postInsert
-
-```js
-// series
-myCollection.postInsert(function(plainData, rxDocument){
-
-}, false);
-
-// parallel
-myCollection.postInsert(function(plainData, rxDocument){
-
-}, true);
-
-// async
-myCollection.postInsert(function(plainData, rxDocument){
- return new Promise(res => setTimeout(res, 100));
-}, false);
-```
-
-### Save
-A save-hook receives the document which is saved.
-
-#### lifecycle
-- RxDocument.save is called
-- preSave series-hooks
-- preSave parallel-hooks
-- updated document is written to database
-- postSave series-hooks
-- postSave parallel-hooks
-- event is emitted to RxDatabase and RxCollection
-
-#### preSave
-
-```js
-// series
-myCollection.preSave(function(plainData, rxDocument){
- // modify anyField before saving
- plainData.anyField = 'anyValue';
-}, false);
-
-// parallel
-myCollection.preSave(function(plainData, rxDocument){
-
-}, true);
-
-// async
-myCollection.preSave(function(plainData, rxDocument){
- return new Promise(res => setTimeout(res, 100));
-}, false);
-
-// stop the save-operation
-myCollection.preSave(function(plainData, rxDocument){
- throw new Error('stop');
-}, false);
-```
-
-#### postSave
-
-```js
-// series
-myCollection.postSave(function(plainData, rxDocument){
-
-}, false);
-
-// parallel
-myCollection.postSave(function(plainData, rxDocument){
-
-}, true);
-
-// async
-myCollection.postSave(function(plainData, rxDocument){
- return new Promise(res => setTimeout(res, 100));
-}, false);
-```
-
-### Remove
-An remove-hook receives the document which is removed.
-
-#### lifecycle
-- RxDocument.remove is called
-- preRemove series-hooks
-- preRemove parallel-hooks
-- deleted document is written to database
-- postRemove series-hooks
-- postRemove parallel-hooks
-- event is emitted to RxDatabase and RxCollection
-
-#### preRemove
-
-```js
-// series
-myCollection.preRemove(function(plainData, rxDocument){
-
-}, false);
-
-// parallel
-myCollection.preRemove(function(plainData, rxDocument){
-
-}, true);
-
-// async
-myCollection.preRemove(function(plainData, rxDocument){
- return new Promise(res => setTimeout(res, 100));
-}, false);
-
-// stop the remove-operation
-myCollection.preRemove(function(plainData, rxDocument){
- throw new Error('stop');
-}, false);
-```
-
-#### postRemove
-
-```js
-// series
-myCollection.postRemove(function(plainData, rxDocument){
-
-}, false);
-
-// parallel
-myCollection.postRemove(function(plainData, rxDocument){
-
-}, true);
-
-// async
-myCollection.postRemove(function(plainData, rxDocument){
- return new Promise(res => setTimeout(res, 100));
-}, false);
-```
-
-### postCreate
-This hook is called whenever a `RxDocument` is constructed.
-You can use `postCreate` to modify every RxDocument-instance of the collection.
-This adds a flexible way to add specify behavior to every document. You can also use it to add custom getter/setter to documents. PostCreate-hooks cannot be **asynchronous**.
-
-```js
-myCollection.postCreate(function(plainData, rxDocument){
- Object.defineProperty(rxDocument, 'myField', {
- get: () => 'foobar',
- });
-});
-
-const doc = await myCollection.findOne().exec();
-
-console.log(doc.myField);
-// 'foobar'
-```
-
-:::note
-This hook does not run on already created or cached documents. Make sure to add `postCreate`-hooks before interacting with the collection.
-:::
-
----
-
-## Seamless Schema Data Migration with RxDB
-
-# Migrate Database Data on schema changes
-
-The RxDB Data Migration Plugin helps developers easily update stored data in their apps when they make changes to the data structure by changing the schema of a [RxCollection](./rx-collection.md). This is useful when developers release a new version of the app with a different schema.
-
-Imagine you have your awesome messenger-app distributed to many users. After a while, you decide that in your new version, you want to change the schema of the messages-collection. Instead of saving the message-date like `2017-02-12T23:03:05+00:00` you want to have the unix-timestamp like `1486940585` to make it easier to compare dates. To accomplish this, you change the schema and **increase the version-number** and you also change your code where you save the incoming messages. But one problem remains: what happens with the messages which are already stored in the database on the user's device in the old schema?
-
-With RxDB you can provide migrationStrategies for your collections that automatically (or on call) transform your existing data from older to newer schemas. This assures that the client's data always matches your newest code-version.
-
-# Add the migration plugin
-
-To enable the data migration, you have to add the `migration-schema` plugin.
-
-```ts
-import { addRxPlugin } from 'rxdb';
-import { RxDBMigrationSchemaPlugin } from 'rxdb/plugins/migration-schema';
-addRxPlugin(RxDBMigrationSchemaPlugin);
-```
-
-## Providing strategies
-
-Upon creation of a collection, you have to provide migrationStrategies when your schema's version-number is greater than `0`. To do this, you have to add an object to the `migrationStrategies` property where a function for every schema-version is assigned. A migrationStrategy is a function which gets the old document-data as a parameter and returns the new, transformed document-data. If the strategy returns `null`, the document will be removed instead of migrated.
-
-```javascript
-myDatabase.addCollections({
- messages: {
- schema: messageSchemaV1,
- migrationStrategies: {
- // 1 means, this transforms data from version 0 to version 1
- 1: function(oldDoc){
- oldDoc.time = new Date(oldDoc.time).getTime(); // string to unix
- return oldDoc;
- }
- }
- }
-});
-```
-
-Asynchronous strategies can also be used:
-
-```javascript
-myDatabase.addCollections({
- messages: {
- schema: messageSchemaV1,
- migrationStrategies: {
- 1: function(oldDoc){
- oldDoc.time = new Date(oldDoc.time).getTime(); // string to unix
- return oldDoc;
- },
- /**
- * 2 means, this transforms data from version 1 to version 2
- * this returns a promise which resolves with the new document-data
- */
- 2: function(oldDoc){
- // in the new schema (version: 2) we defined 'senderCountry' as required field (string)
- // so we must get the country of the message-sender from the server
- const coordinates = oldDoc.coordinates;
- return fetch('http://myserver.com/api/countryByCoordinates/'+coordinates+'/')
- .then(response => {
- const response = response.json();
- oldDoc.senderCountry = response;
- return oldDoc;
- });
- }
- }
- }
-});
-```
-
-you can also filter which documents should be migrated:
-
-```js
-myDatabase.addCollections({
- messages: {
- schema: messageSchemaV1,
- migrationStrategies: {
- // 1 means, this transforms data from version 0 to version 1
- 1: function(oldDoc){
- oldDoc.time = new Date(oldDoc.time).getTime(); // string to unix
- return oldDoc;
- },
- /**
- * this removes all documents older then 2017-02-12
- * they will not appear in the new collection
- */
- 2: function(oldDoc){
- if(oldDoc.time < 1486940585) return null;
- else return oldDoc;
- }
- }
- }
-});
-```
-
-## autoMigrate
-
-By default, the migration automatically happens when the collection is created. Calling `RxDatabase.addCollections()` returns only when the migration has finished.
-If you have lots of data or the migrationStrategies take a long time, it might be better to start the migration 'by hand' and show the migration-state to the user as a loading-bar.
-
-```javascript
-const messageCol = await myDatabase.addCollections({
- messages: {
- schema: messageSchemaV1,
- autoMigrate: false, // <- migration will not run at creation
- migrationStrategies: {
- 1: async function(oldDoc){
- ...
- anything that takes very long
- ...
- return oldDoc;
- }
- }
- }
-});
-
-// check if migration is needed
-const needed = await messageCol.migrationNeeded();
-if(needed === false) {
- return;
-}
-
-// start the migration
-messageCol.startMigration(10); // 10 is the batch-size, how many docs will run at parallel
-
-const migrationState = messageCol.getMigrationState();
-
-// 'start' the observable
-migrationState.$.subscribe({
- next: state => console.dir(state),
- error: error => console.error(error),
- complete: () => console.log('done')
-});
-
-// the emitted states look like this:
-{
- status: 'RUNNING' // oneOf 'RUNNING' | 'DONE' | 'ERROR'
- count: {
- total: 50, // amount of documents which must be migrated
- handled: 0, // amount of handled docs
- percent: 0 // percentage [0-100]
- }
-}
-```
-
-If you don't want to show the state to the user, you can also use `.migratePromise()`:
-
-```js
-const migrationPromise = messageCol.migratePromise(10);
-await migratePromise;
-```
-
-## migrationStates()
-
-`RxDatabase.migrationStates()` returns an `Observable` that emits all migration states of any collection of the database.
-Use this when you add collections dynamically and want to show a loading-state of the migrations to the user.
-
-```js
-const allStatesObservable = myDatabase.migrationStates();
-allStatesObservable.subscribe(allStates => {
- allStates.forEach(migrationState => {
- console.log(
- 'migration state of ' +
- migrationState.collection.name
- );
- });
-});
-```
-
-## Migrating attachments
-
-When you store `RxAttachment`s together with your document, they can also be changed, added or removed while running the migration.
-You can do this by mutating the `oldDoc._attachments` property.
-
-```js
-import { createBlob } from 'rxdb';
-const migrationStrategies = {
- 1: async function(oldDoc){
- // do nothing with _attachments to keep all attachments and have them in the new collection version.
- return oldDoc;
- },
- 2: async function(oldDoc){
- // set _attachments to an empty object to delete all existing ones during the migration.
- oldDoc._attachments = {};
- return oldDoc;
- }
- 3: async function(oldDoc){
- // update the data field of a single attachment to change its data.
- oldDoc._attachments.myFile.data = await createBlob(
- 'my new text',
- oldDoc._attachments.myFile.content_type
- );
- return oldDoc;
- }
-}
-```
-
-## Migration on multi-tab in browsers
-
-If you use RxDB in a multiInstance environment, like a browser, it will ensure that exactly one tab is running a migration of a collection.
-Also the `migrationState.$` events are emitted between browser tabs.
-
-## Migration and Replication
-
-If you use any of the [RxReplication](./replication.md) plugins, the migration will also run on the internal replication-state storage. It will migrate all `assumedMasterState` documents
-so that after the migration is done, you do not have to re-run the replication from scratch.
-RxDB assumes that you run the exact same migration on the servers and the clients. Notice that the replication `pull-checkpoint` will not be migrated. Your backend must be compatible with pull-checkpoints of older versions.
-
-## Migration should be run on all database instances
-
-If you have multiple database instances (for example, if you are running replication inside of a [Worker](./rx-storage-worker.md) or [SharedWorker](./rx-storage-shared-worker.md) and have created a database instance inside of the worker), schema migration should be started on all database instances. All instances must know about all migration strategies and any updated schema versions.
-
----
-
-## Migration Storage
-
-# Storage Migration
-
-The storage migration plugin can be used to migrate all data from one existing RxStorage into another. This is useful when:
-
-- You want to migrate from one [RxStorage](./rx-storage.md) to another one.
-- You want to migrate to a new major RxDB version while keeping the previous saved data. This function only works from the previous major version upwards. Do not use it to migrate like rxdb v9 to v14.
-
-
-The storage migration **drops deleted documents** and filters them out during the migration.
-
-:::warning Do never change the schema while doing a storage migration
-
-When you migrate between storages, you might want to change the schema in the same process. You should never do that because it will lead to problems afterwards and might make your database unusable.
-
-When you also want to change your schema, first run the storage migration and afterwards run a normal [schema migration](./migration-schema.md).
-:::
-
-## Usage
-
-Lets say you want to migrate from [LocalStorage RxStorage](./rx-storage-localstorage.md) to the [IndexedDB RxStorage](./rx-storage-indexeddb.md).
-
-```ts
-import { migrateStorage } from 'rxdb/plugins/migration-storage';
-import { getRxStorageIndexedDB } from 'rxdb-premium/plugins/storage-indexeddb';
-import { getRxStorageLocalstorage } from 'rxdb-old/plugins/storage-localstorage';
-
-// create the new RxDatabase
-const db = await createRxDatabase({
- name: dbLocation,
- storage: getRxStorageIndexedDB(),
- multiInstance: false
-});
-
-await migrateStorage({
- database: db as any,
- /**
- * Name of the old database,
- * using the storage migration requires that the
- * new database has a different name.
- */
- oldDatabaseName: 'myOldDatabaseName',
- oldStorage: getRxStorageLocalstorage(), // RxStorage of the old database
- batchSize: 500, // batch size
- parallel: false, // <- true if it should migrate all collections in parallel. False (default) if should migrate in serial
- afterMigrateBatch: (input: AfterMigrateBatchHandlerInput) => {
- console.log('storage migration: batch processed');
- }
-});
-```
-
-:::note
-Only collections that exist in the new database at the time you call migrateStorage() will have their data migrated.
-
-- If your old database had collections `['users', 'posts', 'comments']` but your new database only defines `['users', 'posts']`, then only users and posts data will be migrated.
-- Any collections missing from the new database will simply be skipped - no data for them will be read or written.
-
-This allows you to selectively migrate only certain collections if desired, by choosing which collections to define before invoking `migrateStorage()`.
-:::
-
-## Migrate from a previous RxDB major version
-
-To migrate from a previous RxDB major version, you have to install the 'old' RxDB in the `package.json`
-
-```json
-{
- "dependencies": {
- "rxdb-old": "npm:rxdb@14.17.1",
- }
-}
-```
-
-Then you can run the migration by providing the old storage:
-
-```ts
-/* ... */
-import { migrateStorage } from 'rxdb/plugins/migration-storage';
-import { getRxStorageLocalstorage } from 'rxdb-old/plugins/storage-localstorage'; // <- import from the old RxDB version
-
-await migrateStorage({
- database: db as any,
- /**
- * Name of the old database,
- * using the storage migration requires that the
- * new database has a different name.
- */
- oldDatabaseName: 'myOldDatabaseName',
- oldStorage: getRxStorageLocalstorage(), // RxStorage of the old database
- batchSize: 500, // batch size
- parallel: false,
- afterMigrateBatch: (input: AfterMigrateBatchHandlerInput) => {
- console.log('storage migration: batch processed');
- }
-});
-/* ... */
-```
-
-## Disable Version Check on [RxDB Premium 👑](/premium/)
-
-RxDB Premium has a check in place that ensures that you do not accidentally use the wrong RxDB core and 👑 Premium version together which could break your database state.
-This can be a problem during migrations where you have multiple versions of RxDB in use and it will throw the error `Version mismatch detected`.
-You can disable that check by importing and running the `disableVersionCheck()` function from RxDB Premium.
-
-```ts
-// RxDB Premium v15 or newer:
-import {
- disableVersionCheck
-} from 'rxdb-premium-old/plugins/shared';
-disableVersionCheck();
-
-// RxDB Premium v14:
-
-// for esm
-import {
- disableVersionCheck
-} from 'rxdb-premium-old/dist/es/shared/version-check.js';
-disableVersionCheck();
-
-// for cjs
-import {
- disableVersionCheck
-} from 'rxdb-premium-old/dist/lib/shared/version-check.js';
-disableVersionCheck();
-```
-
----
-
-## RxDB - The Real-Time Database for Node.js
-
-# Node.js Database
-
-[RxDB](https://rxdb.info) is a fast, reactive realtime NoSQL **database** made for **JavaScript** applications like Websites, hybrid Apps, [Electron-Apps](./electron-database.md), Progressive Web Apps and **Node.js**. While RxDB was initially created to be used with UI applications, it has been matured and optimized to make it useful for pure server-side use cases. It can be used as embedded, local database inside of the Node.js JavaScript process, or it can be used similar to a database server that Node.js can connect to. The [RxStorage](./rx-storage.md) layer makes it possible to switch out the underlying storage engine which makes RxDB a very flexible database that can be optimized for many scenarios.
-
-
-
-## Persistent Database
-
-To get a "normal" database connection where the data is persisted to a file system, the RxDB real time database provides multiple [storage implementations](./rx-storage.md) that work in Node.js.
-
-The [FoundationDB](./rx-storage-foundationdb.md) storage connects to a [FoundationDB](https://github.com/apple/foundationdb) cluster which itself is just a distributed key-value engine. RxDB adds the NoSQL query-engine, indexes and other features on top of it.
-It scales horizontally because you can always add more servers to the FoundationDB cluster to increase the capacity.
-Setting up a RxDB database is pretty simple. You import the FoundationDB RxStorage and tell RxDB to use that when calling `createRxDatabase`:
-
-```typescript
-import { createRxDatabase } from 'rxdb';
-import { getRxStorageFoundationDB } from 'rxdb/plugins/storage-foundationdb';
-
-const db = await createRxDatabase({
- name: 'exampledb',
- storage: getRxStorageFoundationDB({
- apiVersion: 620,
- clusterFile: '/path/to/fdb.cluster'
- })
-});
-
-// add a collection
-await db.addCollections({
- users: {
- schema: mySchema
- }
-});
-
-// run a query
-const result = await db.users.find({
- selector: {
- name: 'foobar'
- }
-}).exec();
-
-```
-
-Another alternative storage is the [SQLite RxStorage](./rx-storage-sqlite.md) that stores the data inside of a SQLite filebased database. The SQLite storage is faster than FoundationDB and does not require to set up a cluster or anything because SQLite directly stores and reads the data inside of the filesystem. The downside of that is that it only scales vertically.
-
-```ts
-import { createRxDatabase } from 'rxdb';
-import {
- getRxStorageSQLite,
- getSQLiteBasicsNode
-} from 'rxdb-premium/plugins/storage-sqlite';
-import sqlite3 from 'sqlite3';
-const myRxDatabase = await createRxDatabase({
- name: 'path/to/database/file/foobar.db',
- storage: getRxStorageSQLite({
- sqliteBasics: getSQLiteBasicsNode(sqlite3)
- })
-});
-```
-
-Because the SQLite RxStorage is not free and you might not want to set up a FoundationDB cluster, there is also the option to use the [LokiJS RxStorage](./rx-storage-lokijs.md) together with the filesystem adapter. This will store the data as plain json in a file and load everything into memory on startup. This works great for small prototypes but it is not recommended to be used in production.
-
-```ts
-import { createRxDatabase } from 'rxdb';
-const LokiFsStructuredAdapter = require('lokijs/src/loki-fs-structured-adapter.js');
-import { getRxStorageLoki } from 'rxdb/plugins/storage-lokijs';
-import sqlite3 from 'sqlite3';
-const myRxDatabase = await createRxDatabase({
- name: 'path/to/database/file/foobar.db',
- storage: getRxStorageLoki({
- adapter: new LokiFsStructuredAdapter()
- })
-});
-```
-
-Here is a performance comparison chart of the different storages (lower is better):
-
-
-
-## RxDB as Node.js In-Memory Database
-
-One of the easiest way to use RxDB in Node.js is to use the [Memory RxStorage](./rx-storage-memory.md). As the name implies, it stores the data directly **in-memory** of the Node.js JavaScript process. This makes it really fast to read and write data but of course the data is not persisted and will be lost when the nodejs process exits. Often the in-memory option is used when RxDB is used in unit tests because it automatically cleans up everything afterwards.
-
-```ts
-import { createRxDatabase } from 'rxdb';
-import { getRxStorageMemory } from 'rxdb/plugins/storage-memory';
-
-const db = await createRxDatabase({
- name: 'exampledb',
- storage: getRxStorageMemory()
-});
-```
-
-Also notice that the [default memory limit](https://medium.com/geekculture/node-js-default-memory-settings-3c0fe8a9ba1) of Node.js is 4gb (might change of newer versions) so for bigger datasets you might want to increase the limit with the `max-old-space-size` flag:
-
-```bash
-# increase the Node.js memory limit to 8GB
-node --max-old-space-size=8192 index.js
-```
-
-## Hybrid In-memory-persistence-synced storage
-
-If you want to have the performance of an **in-memory database** but require persistency of the data, you can use the [memory-mapped storage](./rx-storage-memory-mapped.md). On database creation it will load all data into the memory and on writes it will first write the data into memory and later also write it to the persistent storage in the background. In the following example the FoundationDB storage is used, but any other RxStorage can be used as persistence layer.
-
-```typescript
-import { createRxDatabase } from 'rxdb';
-import { getRxStorageFoundationDB } from 'rxdb/plugins/storage-foundationdb';
-import { getMemoryMappedRxStorage } from 'rxdb-premium/plugins/storage-memory-mapped';
-
-const db = await createRxDatabase({
- name: 'exampledb',
- storage: getMemoryMappedRxStorage({
- storage: getRxStorageFoundationDB({
- apiVersion: 620,
- clusterFile: '/path/to/fdb.cluster'
- })
- })
-});
-```
-
-While this approach gives you a database with great performance and persistent, it has two major downsides:
-- The database size is limited to the memory size
-- Writes can be lost when the Node.js process exists between a write to the memory state and the background persisting.
-
-## Share database between microservices with RxDB
-
-Using a local, embedded database in Node.js works great until you have to share the data with another Node.js process or another server at all.
-To share the database state with other instances, RxDB provides two different methods. One is [replication](./replication.md) and the other is the [remote RxStorage](./rx-storage-remote.md).
-The replication copies over the whole database set to other instances live-replicates all ongoing writes. This has the benefit of scaling better because each of your microservice will run queries on its own copy of the dataset.
-Sometimes however you might not want to store the full dataset on each microservice. Then it is better to use the remote RxStorage and connect it to the "main" database. The remote storage will run all operations the main database and return the result to the calling database.
-
-## Follow up on RxDB+Node.js
-
-- Check out the [RxDB Nodejs example](https://github.com/pubkey/rxdb/tree/master/examples/node).
-- If you haven't done yet, you should start learning about RxDB with the [Quickstart Tutorial](./quickstart.md).
-- I created [a list of embedded JavaSCript databases](./alternatives.md) that you will help you to pick a database if you do not want to use RxDB.
-- Check out the [MongoDB RxStorage](./rx-storage-mongodb.md) that uses MongoDB for the database connection from your Node.js application and runs the RxDB real time database on top of it.
-
----
-
-## RxDB NoSQL Performance Tips
-
-# Performance tips for RxDB and other NoSQL databases
-
-In this guide, you'll find techniques to improve the performance of RxDB operations and queries. Notice that all your performance optimizations should be done with a correct tracking of the metrics, otherwise you might change stuff into the wrong direction.
-
-## Use bulk operations
-
-When you run write operations on multiple documents, make sure you use bulk operations instead of single document operations.
-
-```ts
-// wrong ❌
-for(const docData of dataAr){
- await myCollection.insert(docData);
-}
-
-// right ✔️
-await myCollection.bulkInsert(dataAr);
-```
-
-## Help the query planner by adding operators that better restrict the index range
-
-Often on complex queries, RxDB (and other databases) do not pick the optimal index range when querying a result set.
-You can add additional restrictive operators to ensure the query runs over a smaller index space and has a better performance.
-
-Lets see some examples for different query types.
-
-```ts
-/**
- * Adding a restrictive operator for an $or query
- * so that it better limits the index space for the time-field.
- */
-const orQuery = {
- selector: {
- $or: [
- {
- time: { $gt: 1234 },
- },
- {
- time: { $eg: 1234 },
- user: { $gt: 'foobar' }
- },
- ]
- time: { $gte: 1234 } // <- add restrictive operator
- }
-}
-
-/**
- * Adding a restrictive operator for an $regex query
- * so that it better limits the index space for the user-field.
- * We know that all matching fields start with 'foo' so we can
- * tell the query to use that as lower constraint for the index.
- */
-const regexQuery = {
- selector: {
- user: {
- $regex: '^foo(.*)0-9$', // a complex regex with a ^ in the beginning
- $gte: 'foo' // <- add restrictive operator
- }
- }
-}
-
-/**
- * Adding a restrictive operator for a query on an enum field.
- * so that it better limits the index space for the time-field.
- */
-
-const enumQuery = {
- selector: {
- /**
- * Here lets assume our status field has the enum type ['idle', 'in-progress', 'done']
- * so our restrictive operator can exclude all documents with 'done' as status.
- */
- status: {
- $in: {
- 'idle',
- 'in-progress',
- },
- $gt: 'done' // <- add restrictive operator on status
- }
- }
-}
-```
-
-## Set a specific index
-
-Sometime the query planner of the database itself has no chance in picking the best index of the possible given indexes.
-For queries where performance is very important, you might want to explicitly specify which index must be used.
-
-```ts
-const myQuery = myCollection.find({
- selector: {
- /* ... */
- },
- // explicitly specify index
- index: [
- 'fieldA',
- 'fieldB'
- ]
-
-});
-```
-
-## Try different ordering of index fields
-
-The order of the fields in a compound index is very important for performance. When optimizing index usage, you should try out different orders on the index fields and measure which runs faster. For that it is very important to run tests on real-world data where the distribution of the data is the same as in production.
-For example when there is a query on a user collection with an `age` and a `gender` field, it depends if the index `['gender', 'age']` performance better as `['age', 'gender']` based on the distribution of data:
-
-```ts
-const query = myCollection
- .findOne({
- selector: {
- age: {
- $gt: 18
- },
- gender: {
- $eq: 'm'
- }
- },
- /**
- * Because the developer knows that 50% of the documents are 'male',
- * but only 20% are below age 18,
- * it makes sense to enforce using the ['gender', 'age'] index to improve performance.
- * This could not be known by the query planer which might have chosen ['age', 'gender'] instead.
- */
- index: ['gender', 'age']
- });
-```
-
-Notice that RxDB has the [Query Optimizer Plugin](./query-optimizer.md) that can be used to automatically find the best indexes.
-
-## Make a Query "hot" to reduce load
-
-Having a query where the up-to-date result set is needed more than once, you might want to make the query "hot" by permanently subscribing to it. This ensures that the query result is kept up to date by RxDB ant the [EventReduce algorithm](https://github.com/pubkey/event-reduce) at any time so that at the moment you need the current results, it has them already.
-
-For example when you use RxDB at Node.js for a webserver, you should use an outer "hot" query instead of running the same query again on every request to a route.
-
-```ts
-// wrong ❌
-app.get('/list', (req, res) => {
- const result = await myCollection.find({/* ... */}).exec();
- res.send(JSON.stringify(result));
-});
-
-// right ✔️
-const query = myCollection.find({/* ... */});
-query.subscribe(); // <- make it hot
-
-app.get('/list', (req, res) => {
- const result = await query.exec();
- res.send(JSON.stringify(result));
-});
-```
-
-## Store parts of your document data as attachment
-
-For in-app databases like RxDB, it does not make sense to partially parse the `JSON` of a document. Instead, always the whole document json is parsed and handled. This has a better performance because `JSON.parse()` in JavaScript directly calls a C++ binding which can parse really fast compared to a partial parsing in JavaScript itself. Also by always having the full document, RxDB can de-duplicate memory caches of document across multiple queries.
-
-The downside is that very very big documents with a complex structure can increase query time significantly. Documents fields with complex that are mostly not in use, can be move into an [attachment](./rx-attachment.md). This would lead RxDB to not fetch the attachment data each time the document is loaded from disc. Instead only when explicitly asked for.
-
-```ts
-const myDocument = await myCollection.insert({/* ... */});
-const attachment = await myDocument.putAttachment(
- {
- id: 'otherStuff.json',
- data: createBlob(JSON.stringify({/* ... */}), 'application/json'),
- type: 'application/json'
- }
-);
-```
-
-## Process queries in a worker process
-
-Moving database storage into a WebWorker can significantly improve performance in web applications that use RxDB or similar NoSQL databases. When database operations are executed in the main JavaScript thread, they can block or slow down the User Interface, especially during heavy or complex data operations. By offloading these operations to a WebWorker, you effectively separate the data processing workload from the UI thread. This means the main thread remains free to handle user interactions and render updates without delay, leading to a smoother and more responsive user experience. Additionally, WebWorkers allow for parallel data processing, which can expedite tasks like querying and indexing. This approach not only enhances UI responsiveness but also optimizes overall application performance by leveraging the multi-threading capabilities of modern browsers.
-With RxDB you can use the [Worker](./rx-storage-worker.md) and [SharedWorker](./rx-storage-shared-worker.md) plugin to move the query processing away from the main thread.
-
-## Use less plugins and hooks
-
-Utilizing fewer [hooks](./middleware.md) and plugins in RxDB or similar NoSQL database systems can lead to markedly better performance. Each additional hook or plugin introduces extra layers of processing and potential overhead, which can cumulatively slow down database operations. These extensions often execute additional code or enforce extra checks with each operation, such as insertions, updates, or deletions. While they can provide valuable functionalities or custom behaviors, their overuse can inadvertently increase the complexity and execution time of basic database operations. By minimizing their use and only employing essential hooks and plugins, the system can operate more efficiently. This streamlined approach reduces the computational burden on each transaction, leading to faster response times and a more efficient overall data handling process, especially critical in high-load or real-time applications where performance is paramount.
-
----
-
-## Local First / Offline First
-
-
-Local-First (aka offline first) is a software paradigm where the software stores data locally at the clients device and must work as well offline as it does online.
-To implement this, you have to store data at the client side, so that your application can still access it when the internet goes away.
-This can be either done with complex caching strategies, or by using an local-first, [offline database](./articles/offline-database.md) (like [RxDB](https://rxdb.info)) that stores the data inside of a local database like [IndexedDB](./rx-storage-indexeddb.md) and replicates it from and to the backend in the background. This makes the local database, not the server, the gateway for all persistent changes in application state.
-
-> **Offline first is not about having no internet connection**
-
-:::note
-I wrote a follow-up version of offline/first local first about [Why Local-First Is the Future and what are Its Limitations](./articles/local-first-future.md)
-:::
-
-While in the past, internet connection was an unstable, things are changing especially for mobile devices.
-Mobile networks become better and having no internet becomes less common even in remote locations.
-So if we did not care about offline first applications in the past, why should we even care now?
-In the following I will point out why offline first applications are better, not because they support offline usage, but because of other reasons.
-
-
-
-
-
-
-
-## UX is better without loading spinners
-
-In 'normal' web applications, most user interactions like fetching, saving or deleting data, correspond to a request to the backend server. This means that each of these interactions require the user to await the unknown latency to and from a remote server while looking at a loading spinner.
-In offline-first apps, the operations go directly against the local storage which happens almost instantly. There is no perceptible loading time and so it is not even necessary to implement a loading spinner at all. As soon as the user clicks, the UI represents the new state as if it was already changed in the backend.
-
-
-
-## Multi-tab usage just works
-
-Many, even big websites like amazon, reddit and stack overflow do not handle multi tab usage correctly. When a user has multiple tabs of the website open and does a login on one of these tabs, the state does not change on the other tabs.
-On offline first applications, there is always exactly one state of the data across all tabs. Offline first databases (like RxDB) store the data inside of IndexedDb and **share the state** between all tabs of the same origin.
-
-
-
-## Latency is more important than bandwidth
-
-In the past, often the bandwidth was the limiting factor on determining the loading time of an application.
-But while bandwidth has improved over the years, latency became the limiting factor.
-You can always increase the bandwidth by setting up more cables or sending more Starlink satellites to space.
-But reducing the latency is not so easy. It is defined by the physical properties of the transfer medium, the speed of light and the distance to the server. All of these three are hard to optimize.
-
-Offline first application benefit from that because sending the initial state to the client can be done much faster with more bandwidth. And once the data is there, we do no longer have to care about the latency to the backend server because you can run near [zero](./articles/zero-latency-local-first.md) latency queries locally.
-
-
-
-## Realtime comes for free
-
-Most websites lie to their users. They do not lie because they display wrong data, but because they display **old data** that was loaded from the backend at the time the user opened the site.
-To overcome this, you could build a realtime website where you create a websocket that streams updates from the backend to the client. This means work. Your client needs to tell the server which page is currently opened and which updates the client is interested to. Then the server can push updates over the websocket and you can update the UI accordingly.
-
-With offline first applications, you already have a realtime replication with the backend. Most offline first databases provide some concept of changestream or data subscriptions and with [RxDB](https://github.com/pubkey/rxdb) you can even directly subscribe to query results or single fields of documents. This makes it easy to have an always updated UI whenever data on the backend changes.
-
-
-
-## Scales with data size, not with the amount of user interaction
-
-On normal applications, each user interaction can result in multiple requests to the backend server which increase its load.
-The more users interact with your application, the more backend resources you have to provide.
-
-Offline first applications do not scale up with the amount of user actions but instead they scale up with the amount of data.
-Once that data is transferred to the client, the user can do as many interactions with it as required without connecting to the server.
-
-## Modern apps have longer runtimes
-
-In the past you used websites only for a short time. You open it, perform some action and then close it again. This made the first load time the important metric when evaluating page speed.
-Today web applications have changed and with it the way we use them. Single page applications are opened once and then used over the whole day. Chat apps, email clients, PWAs and hybrid apps. All of these were made to have long runtimes.
-This makes the time for user interactions more important than the initial loading time. Offline first applications benefit from that because there is often no loading time on user actions while loading the initial state to the client is not that relevant.
-
-## You might not need REST
-
-On normal web applications, you make different requests for each kind of data interaction.
-For that you have to define a swagger route, implement a route handler on the backend and create some client code to send or fetch data from that route. The more complex your application becomes, the more REST routes you have to maintain and implement.
-
-With offline first apps, you have a way to hack around all this cumbersome work. You just replicate the whole state from the server to the client. The replication does not only run once, you have a **realtime replication** and all changes at one side are automatically there on the other side. On the client, you can access every piece of state with a simple database query.
-While this of course only works for amounts of data that the client can load and store, it makes implementing prototypes and simple apps much faster.
-
-## You might not need Redux
-
-Data is hard, especially for UI applications where many things can happen at the same time.
-The user is clicking around. Stuff is loaded from the server. All of these things interact with the global state of the app.
-To manage this complexity it is common to use state management libraries like Redux or MobX. With them, you write all this lasagna code to wrap the mutation of data and to make the UI react to all these changes.
-
-On offline first apps, your global state is already there in a single place stored inside of the local database.
-You do not have to care whether this data came from the UI, another tab, the backend or another device of the same user. You can just make writes to the database and fetch data out of it.
-
-## Follow up
-
-- Learn how to store and query data with RxDB in the [RxDB Quickstart](./quickstart.md)
-- [Downsides of Offline First](./downsides-of-offline-first.md)
-- I wrote a follow-up version of offline/first local first about [Why Local-First Is the Future and what are Its Limitations](./articles/local-first-future.md)
-
----
-
-## ORM
-
-# Object-Data-Relational-Mapping
-
-Like [mongoose](http://mongoosejs.com/docs/guide.html#methods), RxDB has ORM-capabilities which can be used to add specific behavior to documents and collections.
-
-## statics
-
-Statics are defined collection-wide and can be called on the collection.
-
-### Add statics to a collection
-
-To add static functions, pass a `statics`-object when you create your collection. The object contains functions, mapped to their function-names.
-
-```javascript
-const heroes = await myDatabase.addCollections({
- heroes: {
- schema: mySchema,
- statics: {
- scream: function(){
- return 'AAAH!!';
- }
- }
- }
-});
-
-console.log(heroes.scream());
-// 'AAAH!!'
-```
-
-You can also use the this-keyword which resolves to the collection:
-
-```javascript
-const heroes = await myDatabase.addCollections({
- heroes: {
- schema: mySchema,
- statics: {
- whoAmI: function(){
- return this.name;
- }
- }
- }
-});
-console.log(heroes.whoAmI());
-// 'heroes'
-```
-
-## instance-methods
-
-Instance-methods are defined collection-wide. They can be called on the RxDocuments of the collection.
-
-### Add instance-methods to a collection
-
-```javascript
-const heroes = await myDatabase.addCollections({
- heroes: {
- schema: mySchema,
- methods: {
- scream: function(){
- return 'AAAH!!';
- }
- }
- }
-});
-const doc = await heroes.findOne().exec();
-console.log(doc.scream());
-// 'AAAH!!'
-```
-
-Here you can also use the this-keyword:
-
-```javascript
-const heroes = await myDatabase.addCollections({
- heroes: {
- schema: mySchema,
- methods: {
- whoAmI: function(){
- return 'I am ' + this.name + '!!';
- }
- }
- }
-});
-await heroes.insert({
- name: 'Skeletor'
-});
-const doc = await heroes.findOne().exec();
-console.log(doc.whoAmI());
-// 'I am Skeletor!!'
-```
-
-## attachment-methods
-
-Attachment-methods are defined collection-wide. They can be called on the RxAttachments of the RxDocuments of the collection.
-
-```javascript
-const heroes = await myDatabase.addCollections({
- heroes: {
- schema: mySchema,
- attachments: {
- scream: function(){
- return 'AAAH!!';
- }
- }
- }
-});
-const doc = await heroes.findOne().exec();
-const attachment = await doc.putAttachment({
- id: 'cat.txt',
- data: 'meow I am a kitty',
- type: 'text/plain'
-});
-console.log(attachment.scream());
-// 'AAAH!!'
-```
-
----
-
-## RxDB Docs
-
-import { Overview } from '@site/src/components/overview';
-
-# RxDB Documentation
-
-
-
----
-
-## Creating Plugins
-
-
-Creating your own plugin is very simple. A plugin is basically a javascript-object which overwrites or extends RxDB's internal classes, prototypes, and hooks.
-
-A basic plugin:
-
-```javascript
-
-const myPlugin = {
- rxdb: true, // this must be true so rxdb knows that this is a rxdb-plugin
- /**
- * (optional) init() method
- * that is called when the plugin is added to RxDB for the first time.
- */
- init() {
- // import other plugins or initialize stuff
- },
- /**
- * every value in this object can manipulate the prototype of the keynames class
- * You can manipulate every prototype in this list:
- * @link https://github.com/pubkey/rxdb/blob/master/src/plugin.ts#L22
- */
- prototypes: {
- /**
- * add a function to RxCollection so you can call 'myCollection.hello()'
- *
- * @param {object} prototype of RxCollection
- */
- RxCollection: (proto) => {
- proto.hello = function() {
- return 'world';
- };
- }
- },
- /**
- * some methods are static and can be overwritten in the overwritable-object
- */
- overwritable: {
- validatePassword: function(password) {
- if (password && typeof password !== 'string' || password.length < 10)
- throw new TypeError('password is not valid');
- }
- },
- /**
- * you can add hooks to the hook-list
- */
- hooks: {
- /**
- * add a `foo` property to each document. You can then call myDocument.foo (='bar')
- */
- createRxDocument: {
- /**
- * You can either add the hook running 'before' or 'after'
- * the hooks of other plugins.
- */
- after: function(doc) {
- doc.foo = 'bar';
- }
- }
- }
-};
-
-// now you can import the plugin into rxdb
-addRxPlugin(myPlugin);
-```
-
-# Properties
-
-## rxdb
-
-The `rxdb`-property signals that this plugin is an rxdb-plugin. The value should always be `true`.
-
-## prototypes
-
-The `prototypes`-property contains a function for each of RxDB's internal prototype that you want to manipulate. Each function gets the prototype-object of the corresponding class as parameter and then can modify it. You can see a list of all available prototypes [here](https://github.com/pubkey/rxdb/blob/master/src/plugin.ts)
-
-## overwritable
-
-Some of RxDB's functions are not inside of a class-prototype but are static. You can set and overwrite them with the `overwritable`-object. You can see a list of all overwritables [here](https://github.com/pubkey/rxdb/blob/master/src/overwritable.ts).
-
-# hooks
-
-Sometimes you don't want to overwrite an existing RxDB-method, but extend it. You can do this by adding hooks which will be called each time the code jumps into the hooks corresponding call. You can find a list of all hooks [here](https://github.com/pubkey/rxdb/blob/master/src/hooks.ts).
-
-# options
-
-RxDatabase and RxCollection have an additional options-parameter, which can be filled with any data required be the plugin.
-
-```javascript
-const collection = myDatabase.addCollections({
- foo: {
- schema: mySchema,
- options: { // anything can be passed into the options
- foo: ()=>'bar'
- }
- }
-})
-
-// Afterwards you can use these options in your plugin.
-
-collection.options.foo(); // 'bar'
-```
-
----
-
-## Populate and Link Docs in RxDB
-
-# Population
-
-There are no joins in RxDB but sometimes we still want references to documents in other collections. This is where population comes in. You can specify a relation from one RxDocument to another RxDocument in the same or another RxCollection of the same database.
-Then you can get the referenced document with the population-getter.
-
-This works exactly like population with [mongoose](http://mongoosejs.com/docs/populate.html).
-
-## Schema with ref
-
-The `ref`-keyword in properties describes to which collection the field-value belongs to (has a relationship).
-
-```javascript
-export const refHuman = {
- title: 'human related to other human',
- version: 0,
- primaryKey: 'name',
- properties: {
- name: {
- type: 'string'
- },
- bestFriend: {
- ref: 'human', // refers to collection human
- type: 'string' // ref-values must always be string or ['string','null'] (primary of foreign RxDocument)
- }
- }
-};
-```
-
-You can also have a one-to-many reference by using a string-array.
-
-```js
-export const schemaWithOneToManyReference = {
- version: 0,
- primaryKey: 'name',
- type: 'object',
- properties: {
- name: {
- type: 'string'
- },
- friends: {
- type: 'array',
- ref: 'human',
- items: {
- type: 'string'
- }
- }
- }
-};
-```
-
-## populate()
-
-### via method
-To get the referred RxDocument, you can use the populate()-method.
-It takes the field-path as attribute and returns a Promise which resolves to the foreign document or null if not found.
-
-```javascript
-await humansCollection.insert({
- name: 'Alice',
- bestFriend: 'Carol'
-});
-await humansCollection.insert({
- name: 'Bob',
- bestFriend: 'Alice'
-});
-const doc = await humansCollection.findOne('Bob').exec();
-const bestFriend = await doc.populate('bestFriend');
-console.dir(bestFriend); //> RxDocument[Alice]
-```
-
-### via getter
-You can also get the populated RxDocument with the direct getter. Therefore you have to add an underscore suffix `_` to the fieldname.
-This works also on nested values.
-
-```javascript
-await humansCollection.insert({
- name: 'Alice',
- bestFriend: 'Carol'
-});
-await humansCollection.insert({
- name: 'Bob',
- bestFriend: 'Alice'
-});
-const doc = await humansCollection.findOne('Bob').exec();
-const bestFriend = await doc.bestFriend_; // notice the underscore_
-console.dir(bestFriend); //> RxDocument[Alice]
-```
-
-## Example with nested reference
-
-```javascript
-const myCollection = await myDatabase.addCollections({
- human: {
- schema: {
- version: 0,
- type: 'object',
- properties: {
- name: {
- type: 'string'
- },
- family: {
- type: 'object',
- properties: {
- mother: {
- type: 'string',
- ref: 'human'
- }
- }
- }
- }
- }
- }
-});
-
-const mother = await myDocument.family.mother_;
-console.dir(mother); //> RxDocument
-```
-
-## Example with array
-
-```javascript
-const myCollection = await myDatabase.addCollections({
- human: {
- schema: {
- version: 0,
- type: 'object',
- properties: {
- name: {
- type: 'string'
- },
- friends: {
- type: 'array',
- ref: 'human',
- items: {
- type: 'string'
- }
- }
- }
- }
- }
-});
-
-//[insert other humans here]
-
-await myCollection.insert({
- name: 'Alice',
- friends: [
- 'Bob',
- 'Carol',
- 'Dave'
- ]
-});
-
-const doc = await humansCollection.findOne('Alice').exec();
-const friends = await myDocument.friends_;
-console.dir(friends); //> Array.
-```
-
----
-
-## Efficient RxDB Queries via Query Cache
-
-# QueryCache
-
-RxDB uses a `QueryCache` which optimizes the reuse of queries at runtime. This makes sense especially when RxDB is used in UI-applications where people move for- and backwards on different routes or pages and the same queries are used many times. Because of the [event-reduce algorithm](https://github.com/pubkey/event-reduce) cached queries are even valuable for optimization, when changes to the database occur between now and the last execution.
-
-## Cache Replacement Policy
-
-To not let RxDB fill up all the memory, a `cache replacement policy` is defined that clears up the cached queries. This is implemented as a function which runs regularly, depending on when queries are created and the database is idle. The default policy should be good enough for most use cases but defining custom ones can also make sense.
-
-## The default policy
-
-The default policy starts cleaning up queries depending on how much queries are in the cache and how much document data they contain.
-
-* It will never uncache queries that have subscribers to their results
-* It tries to always have less than 100 queries without subscriptions in the cache.
-* It prefers to uncache queries that have never executed and are older than 30 seconds
-* It prefers to uncache queries that have not been used for longer time
-
-## Other references to queries
-
-With JavaScript, it is not possible to count references to variables. Therefore it might happen that an uncached `RxQuery` is still referenced by the users code and used to get results. This should never be a problem, uncached queries must still work. Creating the same query again however, will result in having two `RxQuery` instances instead of one.
-
-## Using a custom policy
-
-A cache replacement policy is a normal JavaScript function according to the type `RxCacheReplacementPolicy`.
-It gets the `RxCollection` as first parameter and the `QueryCache` as second. Then it iterates over the cached `RxQuery` instances and uncaches the desired ones with `uncacheRxQuery(rxQuery)`. When you create your custom policy, you should have a look at the [default](https://github.com/pubkey/rxdb/blob/master/src/query-cache.ts).
-
-To apply a custom policy to a `RxCollection`, add the function as attribute `cacheReplacementPolicy`.
-
-```ts
-const collection = await myDatabase.addCollections({
- humans: {
- schema: mySchema,
- cacheReplacementPolicy: function(){ /* ... */ }
- }
-});
-```
-
----
-
-## Optimize Client-Side Queries with RxDB
-
-# Query Optimizer
-
-The query optimizer can be used to determine which index is the best to use for a given query.
-Because RxDB is used in client side applications, it cannot do any background checks or measurements to optimize the query plan because that would cause significant performance problems.
-
-:::note
-The query optimizer is part of the [RxDB Premium 👑](/premium/) plugin that must be purchased. It is not part of the default RxDB module.
-:::
-
-## Usage
-
-```ts
-import {
- findBestIndex
-} from 'rxdb-premium/plugins/query-optimizer';
-
-import {
- getRxStorageIndexedDB
-} from 'rxdb-premium/plugins/indexeddb';
-
-const bestIndexes = await findBestIndex({
- schema: myRxJsonSchema,
- /**
- * In this example we use the IndexedDB RxStorage,
- * but any other storage can be used for testing.
- */
- storage: getRxStorageIndexedDB(),
- /**
- * Multiple queries can be optimized at the same time
- * which decreases the overall runtime.
- */
- queries: {
- /**
- * Queries can be mapped by a query id,
- * here we use myFirstQuery as query id.
- */
- myFirstQuery: {
- selector: {
- age: {
- $gt: 10
- }
- },
- },
- mySecondQuery: {
- selector: {
- age: {
- $gt: 10
- },
- lastName: {
- $eq: 'Nakamoto'
- }
- },
- }
- },
- testData: [/** data for the documents. **/]
-});
-
-```
-
-## Important details
-
-- This is a build time tool. You should use it to find the best indexes for your queries during **build time**. Then you store these results and you application can use the best indexes during **run time**.
-
-- It makes no sense to run time optimization with a different `RxStorage` (+settings) that what you use in production. The result of the query optimizer is heavily dependent on the RxStorage and JavaScript runtime. For example it makes no sense to run the optimization in Node.js and then use the optimized indexes in the browser.
-
-- It is very important that you use **production like** `testData`. Finding the best index heavily depends on data distribution and amount of stored/queried documents. For example if you store and query users with an `age` field, it makes no sense to just use a random number for the age because in production the `age` of your users is not equally distributed.
-
-- The higher you set `runs`, the more test cycles will be performed and the more **significant** will be the time measurements which leads to a better index selection.
-
----
-
-## 🚀 Quickstart
-
-import {Steps} from '@site/src/components/steps';
-import {TriggerEvent} from '@site/src/components/trigger-event';
-import {Tabs} from '@site/src/components/tabs';
-import {NavbarDropdownSyncList} from '@site/src/components/navbar-dropdowns';
-
-
-
-# RxDB Quickstart
-
-Welcome to the RxDB Quickstart. Here we'll learn how to create a simple real-time app with the RxDB database that is able to store and query data persistently in a browser and does realtime updates to the UI on changes.
-
-
-
-
-
-
-
-
-
-### Installation
-Install the RxDB library and the RxJS dependency:
-
-```bash
-npm install rxdb rxjs
-```
-
-### Pick a Storage
-
-RxDB is able to run in a wide range of JavaScript runtimes like browsers, mobile apps, desktop and servers. Therefore different storage engines exist that ensure the best performance depending on where RxDB is used.
-
-
-
-#### LocalStorage
-
-Use this for the simplest browser setup and very small datasets. It has a tiny bundle size and works anywhere [localStorage](./articles/localstorage.md) is available, but is not optimized for large data or heavy writes.
-
-```ts
-import {
- getRxStorageLocalstorage
-} from 'rxdb/plugins/storage-localstorage';
-
-let storage = getRxStorageLocalstorage();
-```
-
-#### IndexedDB 👑
-
-The premium [IndexedDB storage](./rx-storage-indexeddb.md) is a high-performance, browser-native storage with a smaller bundle and faster startup compared to Dexie-based IndexedDB. Recommended when you have [👑 premium](/premium/) access and care about performance and bundle size.
-
-```ts
-import {
- getRxStorageIndexedDB
-} from 'rxdb-premium/plugins/storage-indexeddb';
-
-let storage = getRxStorageDexie();
-```
-
-#### Dexie.js
-
-[Dexie.js](./rx-storage-dexie.md) is a friendly wrapper around IndexedDB and is a great default for browser apps when you don’t use premium. It’s reliable, works well for medium-sized datasets, and is free to use.
-
-```ts
-import {
- getRxStorageDexie
-} from 'rxdb/plugins/storage-dexie';
-
-let storage = getRxStorageDexie();
-```
-
-#### SQLite
-
-[SQLite](./rx-storage-sqlite.md) is ideal for React Native, Capacitor, Electron, Node.js and other hybrid or native environments. It gives you a fast, durable database on disk. Use the 👑 premium storage for production; a trial version exists for quick experimentation.
-
-**Premium SQLite (Node.js example)**
-
-```ts
-import {
- getRxStorageSQLite,
- getSQLiteBasicsNode
-} from 'rxdb-premium/plugins/storage-sqlite';
-
-// Provide the sqliteBasics adapter for your runtime, e.g. Node.js, React Native, etc.
-// For example in Node.js you would derive sqliteBasics from a sqlite3-compatible library:
-import sqlite3 from 'sqlite3';
-
-const storage = getRxStorageSQLite({
- sqliteBasics: getSQLiteBasicsNode(sqlite3)
-});
-```
-
-**SQLite trial storage (Node.js, free)**
-
-```ts
-import {
- getRxStorageSQLiteTrial,
- getSQLiteBasicsNodeNative
-} from 'rxdb/plugins/storage-sqlite';
-import { DatabaseSync } from 'node:sqlite';
-
-const storage = getRxStorageSQLiteTrial({
-sqliteBasics: getSQLiteBasicsNodeNative(DatabaseSync)
-});
-```
-
-#### And more...
-
-There are many more storages such as [MongoDB](./rx-storage-mongodb.md), [DenoKV](./rx-storage-denokv.md), [Filesystem](./rx-storage-filesystem-node.md), [Memory](./rx-storage-memory.md), [Memory-Mapped](./rx-storage-memory-mapped.md), [FoundationDB](./rx-storage-foundationdb.md) and more. [Browse the full list of storages](/rx-storage.html).
-
-
-
-
- Which storage should I use?
-
- RxDB provides a wide range of storages depending on your JavaScript runtime and performance needs.
-
- In the Browser: Use the LocalStorage storage for simple setup and small build size. For bigger datasets, use either the dexie.js storage (free) or the IndexedDB RxStorage if you have 👑 premium access which is a bit faster and has a smaller build size.
- In Electron and ReactNative: Use the SQLite RxStorage if you have 👑 premium access or the trial-SQLite RxStorage for tryouts.
- In Capacitor: Use the SQLite RxStorage if you have 👑 premium access, otherwise use the localStorage storage.
-
-
-
-
-### Dev-Mode
-
-When you use RxDB in development, you should always enable the [dev-mode plugin](./dev-mode.md), which adds helpful checks and validations, and tells you if you do something wrong.
-
-```ts
-import { addRxPlugin } from 'rxdb/plugins/core';
-import { RxDBDevModePlugin } from 'rxdb/plugins/dev-mode';
-
-addRxPlugin(RxDBDevModePlugin);
-```
-
-### Schema Validation
-
-[Schema validation](./schema-validation.md) is required when using dev-mode and recommended (but optional) in production. Wrap your storage with the AJV schema validator to ensure all documents match your schema before being saved.
-
-```ts
-import { wrappedValidateAjvStorage } from 'rxdb/plugins/validate-ajv';
-
-storage = wrappedValidateAjvStorage({ storage });
-```
-
-### Create a Database
-
-A database is the top‑level container in RxDB, responsible for managing collections, coordinating persistence, and providing reactive change streams.
-
-```ts
-import { createRxDatabase } from 'rxdb/plugins/core';
-
-const myDatabase = await createRxDatabase({
- name: 'mydatabase',
- storage: storage
-});
-```
-
-### Add a Collection
-
-An RxDatabase contains [RxCollection](./rx-collection.md)s for storing and querying data. A collection is similar to an SQL table, and individual records are stored in the collection as JSON documents. An [RxDatabase](./rx-database.md) can have as many collections as you need.
-Add a collection with a [schema](./rx-schema.md) to the database:
-
-```ts
-await myDatabase.addCollections({
- // name of the collection
- todos: {
- // we use the JSON-schema standard
- schema: {
- version: 0,
- primaryKey: 'id',
- type: 'object',
- properties: {
- id: {
- type: 'string',
- maxLength: 100 // <- the primary key must have maxLength
- },
- name: {
- type: 'string'
- },
- done: {
- type: 'boolean'
- },
- timestamp: {
- type: 'string',
- format: 'date-time'
- }
- },
- required: ['id', 'name', 'done', 'timestamp']
- }
- }
-});
-```
-
-### Insert a document
-
-Now that we have an RxCollection we can store some [documents](./rx-document.md) in it.
-
-```ts
-const myDocument = await myDatabase.todos.insert({
- id: 'todo1',
- name: 'Learn RxDB',
- done: false,
- timestamp: new Date().toISOString()
-});
-```
-
-### Run a Query
-
-Execute a [query](./rx-query.md) that returns all found documents once:
-
-```ts
-const foundDocuments = await myDatabase.todos.find({
- selector: {
- done: {
- $eq: false
- }
- }
-}).exec();
-```
-
-### Update a Document
-
-In the first found document, set `done` to `true`:
-
-```ts
-const firstDocument = foundDocuments[0];
-await firstDocument.patch({
- done: true
-});
-```
-
-### Delete a document
-
-Delete the document so that it can no longer be found in queries:
-
-```ts
-await firstDocument.remove();
-```
-
-### Observe a Query
-
-Subscribe to data changes so that your UI is always up-to-date with the data stored on disk. RxDB allows you to subscribe to data changes even when the change happens in another part of your application, another browser tab, or during database [replication/synchronization](./replication.md):
-
-```ts
-const observable = myDatabase.todos.find({
- selector: {
- done: {
- $eq: false
- }
- }
-}).$ // get the observable via RxQuery.$;
-observable.subscribe(notDoneDocs => {
- console.log('Currently have ' + notDoneDocs.length + ' things to do');
- // -> here you would re-render your app to show the updated document list
-});
-```
-
-### Observe a Document value
-
-You can also subscribe to the fields of a single RxDocument. Add the `$` sign to the desired field and then subscribe to the returned observable.
-
-```ts
-myDocument.done$.subscribe(isDone => {
- console.log('done: ' + isDone);
-});
-```
-
-### Sync the Client
-
-RxDB has multiple [replication plugins](./replication.md) to replicate database state with a server.
-
-
-
-#### HTTP
-
-```ts
-import {
- replicateHTTP,
- pullQueryBuilderFromRxSchema,
-} from "rxdb/plugins/replication-http";
-
-replicateHTTP({
- collection: db.todos,
- push: {
- handler: async (rows) => {
- return fetch("https:/example.com/api/todos/push", {
- method: "POST",
- headers: { "Content-Type": "application/json" },
- body: JSON.stringify(rows),
- }).then((res) => res.json());
- },
- },
-
- pull: {
- handler: async (lastCheckpoint) => {
- return fetch(
- "https://example.com/api/todos/pull?" +
- new URLSearchParams({
- checkpoint: JSON.stringify(lastCheckpoint)
- }),
- ).then((res) => res.json());
- },
- },
-});
-```
-
-#### GraphQL
-
-```ts
-import { replicateGraphQL } from 'rxdb/plugins/replication-graphql';
-
-replicateGraphQL({
- collection: db.todos,
- url: 'https://example.com/graphql',
- push: { batchSize: 50 },
- pull: { batchSize: 50 }
-});
-```
-
-#### WebRTC (P2P)
-
-The easiest way to replicate data between your clients' devices is the [WebRTC replication plugin](./replication-webrtc.md) that replicates data between devices without a centralized server. This makes it easy to try out replication without having to host anything:
-
-```ts
-import {
- replicateWebRTC,
- getConnectionHandlerSimplePeer
-} from 'rxdb/plugins/replication-webrtc';
-replicateWebRTC({
- collection: myDatabase.todos,
- connectionHandlerCreator: getConnectionHandlerSimplePeer({}),
- topic: '', // <- set any app-specific room id here.
- secret: 'mysecret',
- pull: {},
- push: {}
-})
-```
-
-#### CouchDB
-
-```ts
-import { replicateCouchDB } from 'rxdb/plugins/replication-couchdb';
-
-replicateCouchDB({
- collection: db.todos,
- url: 'http://example.com/todos/',
- push: {},
- pull: {}
-});
-```
-
-#### And more...
-
-Explore all [replication plugins](/replication.html), including advanced conflict handling and custom protocols.
-
-
-
-
-
-
-## Next steps
-
-You are now ready to dive deeper into RxDB.
-- Start reading the full documentation [here](./install.md).
-- There is a full implementation of the [quickstart guide](https://github.com/pubkey/rxdb-quickstart) so you can clone that repository and play with the code.
-- For frameworks and runtimes like Angular, React Native and others, check out the list of [example implementations](https://github.com/pubkey/rxdb/tree/master/examples).
-- Also please continue reading the documentation, join the community on our [Discord chat](/chat/), and star the [GitHub repo](https://github.com/pubkey/rxdb).
-- If you are using RxDB in a production environment and are able to support its continued development, please take a look at the [👑 Premium package](/premium/) which includes additional plugins and utilities.
-
----
-
-## React Native Database - Sync & Store Like a Pro
-
-import {Steps} from '@site/src/components/steps';
-import {Tabs} from '@site/src/components/tabs';
-
-# React Native Database
-
-React Native provides a cross-platform JavaScript runtime that runs on different operating systems like Android, iOS, Windows and others. Mostly it is used to create hybrid Apps that run on mobile devices at Android (Google) and iOS (Apple).
-
-In difference to the JavaScript runtime of browsers, React Native does not support all HTML5 APIs and so it is not possible to use browser storage possibilities like localstorage, cookies, WebSQL or IndexedDB.
-Instead a different storage solution must be chosen that does not come directly with React Native itself but has to be installed as a library or plugin.
-
-
-
-## Database Solutions for React-Native
-
-There are multiple database solutions that can be used with React Native. While I would recommend to use [RxDB](./) for most use cases, it is still helpful to learn about other alternatives.
-
-
-
-
-
-
-
-### AsyncStorage
-
-AsyncStorage is a key->value storage solution that works similar to the browsers [localstorage API](./articles/localstorage.md). The big difference is that access to the AsyncStorage is not a blocking operation but instead everything is `Promise` based. This is a big benefit because long running writes and reads will not block your JavaScript process which would cause a laggy user interface.
-
-```ts
-/**
- * Because it is Promise-based,
- * you have to 'await' the call to getItem()
- */
-await setItem('myKey', 'myValue');
-const value = await AsyncStorage.getItem('myKey');
-```
-
-AsyncStorage was originally included in [React Native itself](https://reactnative.dev/docs/asyncstorage). But it was deprecated by the React Native Team which recommends to use a community based package instead. There is a [community fork of AsyncStorage](https://github.com/react-native-async-storage/async-storage) that is actively maintained and open source.
-
-AsyncStorage is fine when only a small amount of data needs to be stored and when no query capabilities besides the key-access are required. Complex queries or features are not supported which makes AsyncStorage not suitable for anything more than storing simple user settings data.
-
-### SQLite
-
-
-
-SQLite is a SQL based relational database written in C that was crafted to be embed inside of applications. Operations are written in the SQL query language and SQLite generally follows the PostgreSQL syntax.
-
-To use SQLite in React Native, you first have to include the SQLite library itself as a plugin. There a different project out there that can be used, but I would recommend to use the [react-native-quick-sqlite](https://github.com/ospfranco/react-native-quick-sqlite) project.
-
-First you have to install the library into your React Native project via `npm install react-native-quick-sqlite`.
-In your code you can then import the library and create a database connection:
-
-```ts
-import {open} from 'react-native-quick-sqlite';
-const db = open('myDb.sqlite');
-```
-
-Notice that SQLite is a file based database where all data is stored directly in the filesystem of the OS. Therefore to create a connection, you have to provide a filename.
-
-With the open connection you can then run SQL queries:
-
-```ts
-let { rows } = db.execute('SELECT somevalue FROM sometable');
-```
-
-If that does not work for you, you might want to try the [react-native-sqlite-storage](https://github.com/andpor/react-native-sqlite-storage) project instead which is also very popular.
-
-#### Downsides of Using SQLite in UI-Based Apps
-
-While SQLite is reliable and well-tested, it has several shortcomings when it comes to using it directly in UI-based React Native applications:
-
-- **Lack of Observability**: Out of the box, SQLite does not offer a straightforward way to observe queries or document fields. This means that implementing [real-time data updates](./articles/realtime-database.md) in your UI requires additional layers or libraries.
-- **Bridging Overhead**: Each query or data operation must go through the React Native bridge to access the native SQLite module. This can introduce performance bottlenecks or responsiveness issues, especially for large or complex data operations.
-- **No Built-In Replication**: SQLite on its own is not designed for syncing data across multiple devices or with a backend. If your app requires multi-device data syncing or [offline-first](./offline-first.md) features, additional tools or a custom solution are necessary.
-- **Version Management**: Handling schema changes often requires a custom migration process. If your data structure evolves frequently, managing these migrations can be cumbersome.
-
-Overall, SQLite can be a good solution for straightforward, local-only data storage where complex real-time features or synchronization are not needed. For more advanced requirements, like reactive UI updates or multi-client [data replication](./replication.md), you'll likely want a more feature-rich solution.
-
-### PouchDB
-
-
-
-PouchDB is a JavaScript NoSQL database that follows the API of the [Apache CouchDB](https://couchdb.apache.org/) server database.
-The core feature of PouchDB is the ability to do a two-way replication with any CouchDB compliant endpoint.
-While PouchDB is pretty mature, it has some drawbacks that blocks it from being used in a client-side React Native application. For example it has to store all documents states over time which is required to replicate with CouchDB. Also it is not easily possible to fully purge documents and so it will fill up disc space over time. A big problem is also that PouchDB is not really maintained and major bugs like wrong query results are not fixed anymore. The performance of PouchDB is a general bottleneck which is caused by how it has to store and fetch documents while being compliant to CouchDB. The only real reason to use [PouchDB](./rx-storage-pouchdb.md) in React Native, is when you want to replicate with a [CouchDB or Couchbase server](./replication-couchdb.md).
-
-Because PouchDB is based on an [adapter system](./adapters.md) for storage, there are two options to use it with React Native:
-
-- Either use the [pouchdb-adapter-react-native-sqlite](https://github.com/craftzdog/pouchdb-react-native) adapter
-- or the [pouchdb-adapter-asyncstorage](https://github.com/seigel/pouchdb-react-native) adapter.
-
-Because the `asyncstorage` adapter is no longer maintained, it is recommended to use the `native-sqlite` adapter:
-
-First you have to install the adapter and other dependencies via `npm install pouchdb-adapter-react-native-sqlite react-native-quick-sqlite react-native-quick-websql`.
-
-Then you have to craft a custom PouchDB class that combines these plugins:
-
-```ts
-import 'react-native-get-random-values';
-import PouchDB from 'pouchdb-core';
-import HttpPouch from 'pouchdb-adapter-http';
-import replication from 'pouchdb-replication';
-import mapreduce from 'pouchdb-mapreduce';
-import SQLiteAdapterFactory from 'pouchdb-adapter-react-native-sqlite';
-import WebSQLite from 'react-native-quick-websql';
-
-const SQLiteAdapter = SQLiteAdapterFactory(WebSQLite);
-export default PouchDB.plugin(HttpPouch)
- .plugin(replication)
- .plugin(mapreduce)
- .plugin(SQLiteAdapter);
-```
-
-This can then be used to create a PouchDB database instance which can store and query documents:
-
-```ts
-const db = new PouchDB('mydb.db', {
- adapter: 'react-native-sqlite'
-});
-```
-
-### RxDB
-
-
-
-
-
-
-
-[RxDB](https://rxdb.info/) is an [local-first](./articles/local-first-future.md), NoSQL-database for JavaScript applications. It is reactive which means that you can not only query the current state, but subscribe to all state changes like the result of a [query](./rx-query.md) or even a single field of a [document](./rx-document.md). This is great for UI-based realtime applications in a way that makes it easy to develop realtime applications like what you need in React Native.
-
-**Key benefits of RxDB include:**
-
-- Observability and Real-Time Queries: Automatic UI updates when underlying data changes, making it much simpler to build responsive, reactive apps.
-- Offline-First and Sync: Built-in support for [syncing with CouchDB](./replication-couchdb.md), or via [GraphQL replication](./replication-graphql.md), allowing your app to work offline and seamlessly sync when online. It is easy to make the RxDB [replication](./replication.md) compatible with anything that [supports HTTP](./replication-http.md).
-- Encryption and Data Security: RxDB supports [field-level encryption](./articles//react-native-encryption.md) and a robust plugin ecosystem for [compression](./key-compression.md) and [attachments](./rx-attachment.md).
-- Data Modeling and Ease of Use: Offers a schema-based approach that helps catch invalid data early and ensures consistency.
-- **Performance**: Optimized for storing and querying large amounts of data on [mobile devices](./articles/mobile-database.md).
-
-There are multiple ways to use RxDB in React Native:
-
-- Use the [memory RxStorage](./rx-storage-memory.md) that stores the data inside of the JavaScript memory without persistence
-- Use the [SQLite RxStorage](./rx-storage-sqlite.md) with the [react-native-quick-sqlite](https://github.com/ospfranco/react-native-quick-sqlite) plugin.
-
-It is recommended to use the [SQLite RxStorage](./rx-storage-sqlite.md) because it has the best performance and is the easiest to set up. However it is part of the [👑 Premium Plugins](/premium/) which must be purchased, so to try out RxDB with React Native, you might want to use the memory storage first. Later you can replace it with the SQLite storage by just changing two lines of configuration.
-
-First you have to install all dependencies via `npm install rxdb rxjs rxdb-premium react-native-quick-sqlite`.
-Then you can assemble the RxStorage and create a database with it:
-
-
-
-### Import RxDB and SQLite
-```ts
-import {
- createRxDatabase
-} from 'rxdb';
-import { open } from 'react-native-quick-sqlite';
-```
-
-
-
-#### RxDB Core
-
-```ts
-import {
- getRxStorageSQLiteTrial,
- getSQLiteBasicsCapacitor
-} from 'rxdb/plugins/storage-sqlite';
-```
-
-#### RxDB Premium 👑
-
-```ts
-import {
- getRxStorageSQLite,
- getSQLiteBasicsCapacitor
-} from 'rxdb-premium/plugins/storage-sqlite';
-```
-
-
-
-### Create a database
-```ts
-const myRxDatabase = await createRxDatabase({
- // Instead of a simple name,
- // you can use a folder path to determine the database location
- name: 'exampledb',
- multiInstance: false, // <- Set this to false when using RxDB in React Native
- storage: getRxStorageSQLite({
- sqliteBasics: getSQLiteBasicsQuickSQLite(open)
- })
-});
-
-```
-
-### Add a Collection
-```ts
-const collections = await myRxDatabase.addCollections({
- humans: {
- schema: {
- version: 0,
- type: 'object',
- primaryKey: 'id',
- properties: {
- id: { type: 'string', maxLength: 100 },
- name: { type: 'string' },
- age: { type: 'number' }
- },
- required: ['id', 'name']
- }
- }
-});
-```
-
-### Insert a Document
-```ts
-await collections.humans.insert({id: 'foo', name: 'bar'});
-
-```
-
-### Run a Query
-```ts
-const result = await collections.humans.find({
- selector: {
- name: 'bar'
- }
-}).exec();
-
-```
-
-### Observe a Query
-```ts
-await collections.humans.find({
- selector: {
- name: 'bar'
- }
-}).$.subscribe(result => {/* ... */});
-```
-
-
-Using the SQLite RxStorage is pretty fast, which is shown in the [performance comparison](./rx-storage.md#performance-comparison).
-To learn more about using RxDB with React Native, you might want to check out [this example project](https://github.com/pubkey/rxdb/tree/master/examples/react-native).
-
-Also RxDB provides many other features like [encryption](./encryption.md) or [compression](./key-compression.md). You can even store binary data as [attachments](./rx-attachment.md) or use RxDB as an [ORM](./orm.md) in React Native.
-
-### Realm
-
-
-
-Realm is another database solution that is particularly popular in the mobile world. Originally an independent project, Realm is now owned by MongoDB, and has seen deeper integration with MongoDB services over time.
-
-**Pros**:
-- Fast, object-based database approach with an easy data model.
-- Historically known for good performance and a simple, user-friendly API.
-
-**Downsides**:
-- **Forced MongoDB Cloud Usage**: Realm Sync is now tightly coupled with MongoDB Realm Cloud. If you want to use their full sync or advanced features, you are essentially locked into MongoDB's ecosystem, which can be a downside if you need on-premise or custom hosting.
-- **Missing or Limited Features**: While Realm covers many basic needs, some developers find that advanced queries or certain offline-first features are not as robust or flexible as other solutions.
-- **Vendor Lock-In**: If you rely heavily on Realm Sync, migrating away from MongoDB's cloud can be difficult because the sync logic and data format are tightly integrated.
-- **Community Concerns**: Since the MongoDB acquisition, some worry about Realm's open-source future and whether large changes or new features will remain community-friendly.
-
-Although Realm can be a good solution when used purely as a local database, if you plan on syncing data across clients or want to avoid cloud vendor lock-in, you should consider carefully how MongoDB's ownership might affect your long-term plans.
-
-### Firebase / Firestore
-
-
-
-Firestore is a cloud based database technology that stores data on clients devices and replicates it with the Firebase cloud service that is run by google. It has many features like observability and authentication.
-The main feature lacking is the non-complete offline first support because clients cannot start the application while being offline because then the authentication does not work. After they are authenticated, being offline is no longer a problem.
-Also using firestore creates a vendor lock-in because it is not possible to replicate with a custom self hosted backend.
-
-To get started with Firestore in React Native, it is recommended to use the [React Native Firebase](https://github.com/invertase/react-native-firebase) open-source project.
-
-### Summary
-
-| **Characteristic** | **AsyncStorage** | **SQLite** | **PouchDB** | **RxDB** | **Realm** | **Firestore** |
-| ----------------------- | ------------------------------------ | --------------------------------------- | ----------------------------------------- | ---------------------------------------------------------- | --------------------------------------------- | --------------------------------------------------------- |
-| **Database Type** | Key-value store, no advanced queries | Embedded SQL engine in a local file | NoSQL doc store, revision-based | NoSQL doc-based (JSON) | Object-based (MongoDB-owned) | NoSQL doc-based, cloud by Google |
-| **Query Model** | getItem/setItem only | Standard SQL statements | Map/reduce or basic Mango queries | JSON-based query language, optional indexes | Object-level queries, sync with MongoDB Realm | Document queries, limited advanced ops |
-| **Observability** | None built-in | No direct reactivity | Changes feed from Couch-style backend | Built-in reactive queries, UI auto-updates | Local reactivity, or realm sync (cloud) | Real-time snapshots, partial offline |
-| **Offline Replication** | None | None by default | CouchDB-compatible sync | Built-in sync (HTTP, GraphQL, CouchDB, etc.) | Realm Cloud sync only | Basic offline caching, re-auth needed |
-| **Performance** | Fine for small keys/values | Generally good; bridging overhead | OK for mid data sets; can bloat over time | Varies by storage; Dexie/SQLite w/ compression can be fast | Typically fast on mobile | Good read-heavy perf; can be rate-limited, costly |
-| **Schema Handling** | None | SQL schema, migrations needed | No formal schema, doc-based | Optional JSON-Schema, typed checks, compression | Declarative schema, migration needed | No strict schema; rules in console mostly |
-| **Usage Cases** | Store small user settings | Local structured data, moderate queries | Basic doc store, synergy with CouchDB | Reactive offline-first for large or dynamic data | Local object DB, locked to MongoDB realm sync | Real-time Google backend, partial offline, vendor lock-in |
-
-## Follow up
-
-- A good way to learn using RxDB database with React Native is to check out the [RxDB React Native example](https://github.com/pubkey/rxdb/tree/master/examples/react-native) and use that as a tutorial.
-- If you haven't done so yet, you should start learning about RxDB with the [Quickstart Tutorial](./quickstart.md).
-- There is a followup list of other [client side database alternatives](./alternatives.md) that might work with React Native.
-
----
-
-## React
-
-import {Tabs} from '@site/src/components/tabs';
-import {Steps} from '@site/src/components/steps';
-
-# React
-
-RxDB provides first-class support for both React and React Native via a dedicated React integration. This integration makes it possible to use RxDB inside functional components using React Context and hooks, without manually subscribing to observables or managing cleanup logic.
-
-The same APIs work in **React** for the web and in [React Native](./react-native-database.md). The only difference between platforms is the storage and environment setup. The React integration itself behaves identically in both.
-
-## General concept
-
-RxDB is internally reactive and emits changes via RxJS observables. React and React Native, however, are render-driven frameworks that rely on component state and hooks. The RxDB React integration bridges these two models by exposing a small set of hooks that translate RxDB state into React renders.
-
-Instead of hiding reactivity behind configuration flags, the integration uses explicit hooks. This makes component behavior predictable, avoids accidental subscriptions, and keeps performance characteristics easy to reason about.
-
-## Usage
-
-
-
-### Installation
-
-Install RxDB and React as usual:
-
-```bash
-npm install rxdb react react-dom
-```
-
-### Database creation
-
-Database creation is not part of the React integration itself. RxDB is created in the same way as in non-React applications, including storage selection, plugins, replication, hooks, and schema definitions.
-
-This separation is intentional. React components should never be responsible for creating or configuring the database. They should only consume it.
-
-```ts
-import {
- createRxDatabase,
- addRxPlugin
-} from 'rxdb';
-import {
- getRxStorageLocalstorage
-} from 'rxdb/plugins/storage-localstorage';
-
-async function getDatabase() {
- const db = await createRxDatabase({
- name: 'heroesreactdb',
- storage: getRxStorageLocalstorage()
- });
- await db.addCollections({
- heroes: {
- schema: myRxSchema
- }
- });
-
- /**
- * Do other stuff here
- * like setting up middleware
- * or starting replication.
- */
-
- return db;
-}
-```
-
-### Providing the database
-
-To use RxDB in a React or React Native application, the database instance must be provided via a context. This is done using `RxDatabaseProvider`.
-
-The database itself is created outside of React, usually in a separate module. The provider is only responsible for making the database available to components once it has been initialized.
-
-```tsx
-import React, { useEffect, useState } from 'react';
-import { RxDatabaseProvider } from 'rxdb/plugins/react';
-import { getDatabase } from './Database';
-
-const App = () => {
- const [database, setDatabase] = useState();
-
- useEffect(() => {
- const initDb = async () => {
- const db = await getDatabase();
- setDatabase(db);
- };
- initDb();
- }, []);
-
- if (database == null) {
- return
- Loading RxDB database...
- ;
- }
-
- return (
-
- {/* your application */}
-
- );
-};
-
-export default App;
-```
-
-### Accessing collections
-
-```ts
-import { useRxCollection } from 'rxdb/plugins/react';
-
-const collection = useRxCollection('heroes');
-```
-
-The hook returns the collection once it becomes available. During the initial render, the value may be `undefined`, so components must handle this case.
-
-This hook does not subscribe to any data. It only provides access to the collection instance.
-
-### Queries
-
-To render query results in your component, use the `useRxQuery` hook.
-
-```tsx
-import { useRxQuery } from 'rxdb/plugins/react';
-
-const query = {
- collection: 'heroes',
- query: {
- selector: {},
- sort: [{ name: 'asc' }]
- }
-};
-
-const HeroCount = () => {
- const { results, loading } = useRxQuery(query);
-
- if (loading) {
- return Loading...;
- }
-
- return Total heroes: {results.length};
-};
-```
-
-The query is executed when the component renders. If the component re-renders, the query may be re-executed, but changes in the underlying data will not automatically trigger updates.
-
-This hook is well suited for static views, server-side rendering, and cases where live updates are not required.
-
-### Live queries
-
-Most React applications require views that automatically update when the database changes. For this purpose, RxDB provides the `useLiveRxQuery` hook.
-
-The hook accepts a query description object and returns the current results together with a loading state.
-
-```tsx
-import { useLiveRxQuery } from 'rxdb/plugins/react';
-
-const query = {
- collection: 'heroes',
- query: {
- selector: {},
- sort: [{ name: 'asc' }]
- }
-};
-
-const HeroList = () => {
- const { results, loading } = useLiveRxQuery(query);
-
- if (loading) {
- return Loading...;
- }
-
- return (
-
- {results.map(hero => (
- {hero.name}
- ))}
-
- );
-};
-```
-
-The component automatically re-renders whenever the query result changes. Subscriptions are created when the component mounts and are cleaned up automatically when the component unmounts.
-
-The returned documents are fully reactive RxDB documents and can be modified or removed directly.
-
-
-
-## React Native compatibility
-
-All hooks and providers described on this page work the same way in React Native. The React integration does not rely on any browser-specific APIs.
-
-The only platform-specific part of a React Native setup is database creation, where a different storage plugin is typically used. Once the database is created, the React integration behaves identically.
-
-## Signals
-
-In addition to the React hooks shown on this page, RxDB also supports alternative reactivity models such as [signals](./reactivity.md#react). RxDB's core reactivity system can be configured to expose reactive values using different primitives instead of RxJS observables, which makes it possible to integrate RxDB with signal-based approaches in React or other frameworks. This is an advanced capability and is independent of the React integration described here. For more details about how RxDB's reactivity system works and how custom reactivity can be configured, see the [Reactivity documentation](./reactivity.md).
-
-## Follow Up
-
-- RxDB includes a full [React example application](https://github.com/pubkey/rxdb/tree/master/examples/react) that demonstrates the patterns described on this page, including database creation outside of React, usage of `RxDatabaseProvider`, and data access via `useRxQuery`, `useLiveRxQuery`, and `useRxCollection.
-
-- A corresponding [React Native example](https://github.com/pubkey/rxdb/tree/master/examples/react-native) is also available and shows the same integration concepts applied in a mobile environment, with only the platform-specific storage and setup differing.
-
----
-
-## Signals & Custom Reactivity with RxDB
-
-import {Tabs} from '@site/src/components/tabs';
-import {Steps} from '@site/src/components/steps';
-
-# Signals & Co. - Custom reactivity adapters instead of RxJS Observables
-
-RxDB internally uses the [rxjs library](https://rxjs.dev/) for observables and streams. All functionalities of RxDB like [query](./rx-query.md#observe) results or [document fields](./rx-document.md#observe) that expose values that change over time return a rxjs `Observable` that allows you to observe the values and update your UI accordingly depending on the changes to the database state.
-
-However there are many reasons to use other reactivity libraries that use a different datatype to represent changing values. For example when you use **signals** in angular or react, the **template refs** of vue or state libraries like MobX and redux.
-
-RxDB allows you to pass a custom reactivity factory on [RxDatabase](./rx-database.md) creation so that you can easily access values wrapped with your custom datatype in a convenient way.
-
-## Adding a reactivity factory
-
-
-
-### Angular
-
-In angular we use [Angular Signals](https://angular.dev/guide/signals) as custom reactivity objects.
-
-
-
-#### Import
-
-```ts
-import { createReactivityFactory } from 'rxdb/plugins/reactivity-angular';
-import { Injectable, inject } from '@angular/core';
-```
-
-#### Set the reactivity factory
-
-Set the factory as `reactivity` option when calling `createRxDatabase`.
-
-```ts
-const database = await createRxDatabase({
- name: 'mydb',
- storage: getRxStorageLocalstorage(),
- reactivity: createReactivityFactory(inject(Injector))
-});
-
-// add collections/sync etc...
-```
-
-#### Use the Signal in an Angular component
-
-```ts
-import { Component, inject } from '@angular/core';
-import { CommonModule } from '@angular/common';
-import { DbService } from '../db.service';
-
-@Component({
- selector: 'app-todos-list',
- standalone: true,
- imports: [CommonModule],
- template: `
-
- {{ t.title }}
-
- `,
-})
-export class TodosListComponent {
- private dbService = inject(DbService);
-
- // RxDB query - Angular Signal
- readonly todosSignal = this.dbService.db.todos.find().$$;
-}
-
-```
-
-
-
-An example of how signals are used in angular with RxDB, can be found at the [RxDB Angular Example](https://github.com/pubkey/rxdb/blob/master/examples/angular/src/app/components/heroes-list/heroes-list.component.ts#L46)
-
-### React
-
-For React, we use the [Preact Signals](https://preactjs.com/guide/v10/signals/) for custom reactivity.
-
-
-
-#### Install Preact Signals
-
-```bash
-npm install @preact/signals-core --save
-```
-
-#### Import
-
-```ts
-import {
- PreactSignalsRxReactivityFactory
-} from 'rxdb/plugins/reactivity-preact-signals';
-```
-
-#### Set the reactivity factory
-
-```ts
-const database = await createRxDatabase({
- name: 'mydb',
- storage: getRxStorageLocalstorage(),
- reactivity: PreactSignalsRxReactivityFactory
-});
-
-// add collections/sync etc...
-```
-
-#### Use the Signal in a React component
-
-```tsx
-import { useEffect, useState } from 'preact/hooks';
-import { getDatabase } from './db';
-
-export function TodosList() {
- const [db, setDb] = useState(null);
-
- useEffect(() => {
- getDatabase().then(setDb);
- }, []);
-
- if (!db) return null;
-
- // RxQuery -> Preact Signal
- const todosSignal = db.todos.find().$$;
-
- return (
-
- {todosSignal.value.map((doc: any) => (
-
- {doc.title}
-
- ))}
-
- );
-}
-```
-
-
-
-### Vue
-
-For Vue, we use the [Vue Shallow Refs](https://vuejs.org/api/reactivity-advanced) for custom reactivity.
-
-
-
-#### Import
-```ts
-import { VueRxReactivityFactory } from 'rxdb/plugins/reactivity-vue';
-```
-
-#### Set the reactivity factory
-
-```ts
-const database = await createRxDatabase({
- name: 'mydb',
- storage: getRxStorageLocalstorage(),
- reactivity: VueRxReactivityFactory
-});
-
-// add collections/sync etc...
-```
-
-#### Use the Shallow Ref in a Vue component
-
-```html
-
-
-
-
-
-
-
-
-
-```
-
-
-
-
-
-## Accessing custom reactivity objects
-
-All observable data in RxDB is marked by the single dollar sign `$` like `RxCollection.$` for events or `RxDocument.myField$` to get the observable for a document field. To make custom reactivity objects distinguable, they are marked with double-dollar signs `$$` instead. Here are some example on how to get custom reactivity objects from RxDB specific instances:
-
-```ts
-// RxDocument
-
-// get signal that represents the document field 'foobar'
-const signal = myRxDocument.get$$('foobar');
-
-// same as above
-const signal = myRxDocument.foobar$$;
-
-// get signal that represents whole document over time
-const signal = myRxDocument.$$;
-
-// get signal that represents the deleted state of the document
-const signal = myRxDocument.deleted$$;
-```
-
-```ts
-// RxQuery
-
-// get signal that represents the query result set over time
-const signal = collection.find().$$;
-
-// get signal that represents the query result set over time
-const signal = collection.findOne().$$;
-```
-
-```ts
-// RxLocalDocument
-
-// get signal that represents the whole local document state
-const signal = myRxLocalDocument.$$;
-
-// get signal that represents the foobar field
-const signal = myRxLocalDocument.get$$('foobar');
-```
-
----
-
-## RxDB 10.0.0 - Built for the Future
-
-# 10.0.0
-
-One year after version `9.0.0` we now have RxDB version `10.0.0`.
-The main goal of version 10 was to change things that make RxDB ready for the future.
-
-Notice that I use major releases to bundle stuff that breaks the RxDB usage in your project, not to add new features.
-
-## The main thing first
-
-In the past, RxDB was build around Pouchdb. Before I started making RxDB I tried to solve the problems of my current project with other existing databases out there. I evaluated all of them and then started using Pouchdb and added many features via plugin. Then I realised it will be easier to create a separate project that wraps around Pouchdb, that was RxDB. Back then pouchdb was the most major browser database out there and it was well maintained and had a big community.
-But in the last 5 years, things have changed. A big part of the RxDB users do not use couchdb in the backend and do not need the couchdb replication.
-Therefore they do not really need the overhead with revision handling that slows down the performance of pouchdb. Also there where many other problems with using pouchdb. It is not actively developed, many bugs are not fixed and no new features get added. Also there are many unsolved problems like how to finally delete document data or how to replicate more than 6 databases at the same time, how to use replication without attachments data, and so on...
-
-So for this release, I abstracted all parts that we use from pouchdb into the `RxStorage` interface. RxDB works on top of any implementation of the `RxStorage` interface. This means it is now possible to use RxDB together with other underlying storages like SQLite, PostgreSQL, Minimongo, MongoDB, and so on, as long as someone writes the `RxStorage` class for it.
-
-This means, to create a `RxDatabase` you have to pass the storage class instead of pouchdb specific settings:
-
-```ts
-
-// import pouchdb specific stuff and add pouchdb adapters
-import {
- addPouchPlugin,
- getRxStoragePouch
-} from 'rxdb/plugins/pouchdb';
-
-// IMPORTANT: Do not use addRxPlugin to add pouchdb adapter, instead use addPouchPlugin
-addPouchPlugin(require('pouchdb-adapter-memory'));
-
-import {
- addRxPlugin,
- createRxDatabase,
- randomCouchString,
-} from 'rxdb/plugins/core';
-
-// create the database with the storage creator.
-const db = await createRxDatabase({
- name: 'mydatabase',
- storage: getRxStoragePouch('memory'),
-});
-
-```
-
-To access the internal `pouch` instance of a collection, you have to go over the `storageInstance`:
-
-```ts
-const pouch = myRxCollection.storageInstance.internals.pouch;
-```
-
-## Other breaking changes
-
-### Primary key is required
-In the past, using a primary key was optional. When no primary key was defined, RxDB filled up the `_id` field with an uuid-like string which was then used as primary. When I researched on github how people use RxDB, I found out that many use a secondary index for what should be the primary key.
-Also having the primary key optional, caused much confusing when using RxDB with typescript.
-
-So now the primary key MUST be set when creating a schema for RxDB.
-Also the primary key is defined with the `primaryKey` property at the top level of the schema. This ensures that typescript will complain if no `primaryKey` is defined.
-
-```ts
-
-// when using the type `RxJsonSchema` the `DocType` is now required
-const mySchema: RxJsonSchema = {
- version: 0,
- primaryKey: 'passportId',
- type: 'object',
- properties: {
- passportId: {
- type: 'string'
- }
- },
- // primaryKey is always required
- required: ['passportId']
-}
-
-```
-
-### Attachment data must be Blob or Buffer
-
-In the past, an `RxAttachment` could be stored with `Blob`, `Buffer` and `string` data. If a `string` was passed, pouchdb internally transformed the data to a `Blob` or `Buffer`, depending on in which environment it is running.
-This behavior caused much trouble and weird edge cases because of how the data is transformed from and to `string`.
-So now you can only store `Blob` or `Buffer` as attachment data. `string` is no longer allowed. You can still transform a string to a Blob or Buffer by yourself and then store it.
-
-```ts
-import { blobBufferUtil } from 'rxdb';
-
-const attachment = await myDocument.putAttachment(
- {
- id: 'cat.txt',
- data: blobBufferUtil.createBlobBuffer('miau', 'text/plain')
- type: 'text/plain'
- }
-);
-
-```
-
-Also `putAttachment()` now defaults to `skipIfSame=true`. This means when you write attachment data that already is exactly the same in the database, no write will be done.
-
-### Outgoing data is now readonly and deep-frozen
-
-RxDB often uses outgoing data also in the internals. For example the result of a query is not only send to the user, but also used inside of RxDB's query-change-detection. To ensure that mutation of the outgoing data is not changing internal stuff, which would cause strange bugs, outgoing data was always deep-cloned before handing it out to the user. This is a common practice on many javascript libraries.
-
-The problem is that deep-cloning big objects can be very CPU/Memory expensive. So instead of doing a deep-clone, RxDB does now assume that outgoing data is **immutable**. If the users wants to modify that data, it has to be deep-cloned by the user.
-To ensure immutability, RxDB runs a [deep-freeze](https://developer.mozilla.org/de/docs/Web/JavaScript/Reference/Global_Objects/Object/freeze) in the dev-mode (about same expensive as deep clone). Also typescript will throw a build-time error because we use `ReadonlyArray` and `readonly` to define outgoing data immutable. In production-mode, there will be nothing besides typescript that ensures immutability to have best performance.
-
-```ts
-const data = myRxDocument.toJSON();
-data.foo = bar; // This does NOT work!
-
-// instead clone the data before changing it
-import { clone } from 'rxjs';
-const clonedData = clone(data);
-data.foo = bar; // This works!
-```
-
-### The in-memory plugin does no longer work.
-
-The in-memory plugin was used to spawn in-memory collections on top of a normal `RxCollection`. The benefit is to have the data replicated into the memory of the javascript runtime, which allows for faster queries.
-
-After doing many tests and observations, I found out that the in-memory plugin was slow. Really slow, even slower then just using the indexeddb adapter in the browser. You can reproduce my observations at the event-reduce testpage. Here you can see that random-writes+query are slower on the [memory-adapter](https://pubkey.github.io/event-reduce/?tech=pouchdb:memory) then on [indexeddb](https://pubkey.github.io/event-reduce/?tech=pouchdb:indexeddb).
-The reason for this are the big abstraction layers. Pouchdb uses the adapter system. The memory adapter uses the [leveldown abstraction layer](https://github.com/Level/levelup). Each write/read goes to the [memdown module](https://github.com/Level/memdown).
-
-So the in-memory plugin is not working for now. In the future it will be reimplemented in a custom memory based `RxStorage` class.
-
-:::note
-You can of course still use the pouchdb `memory` adapter as usual. It is not affected by this change.
-:::
-
-## What else is a breaking change?
-
-- Removed the deprecated `atomicSet()`, use `atomicPatch()` instead.
-- Removed the deprecated `RxDatabase.collection()` use `RxDatabase().addCollections()` instead.
-- Removed plugin hook `preCreatePouchDb` because it is no longer needed.
-- Removed the `watch-for-changes` plugin. We now overwrite pouchdbs `bulkDocs` method to generate events. This is faster and more reliable.
-- Removed the `adapter-check` plugin. (The function `adapterCheck` is move to the pouchdb plugin).
-- Calling `RxDatabase.server()` now returns a promise that resolves when the server is started up.
-- Changed the defaults of `PouchDBExpressServerOptions` from the `server()` method, by default we now store logs in the `tmp` folder and the config is in memory.
-- Renamed `replication`-plugin to [replication-couchdb](../replication-couchdb.md) to be more consistent in naming like with `replication-graphql`
- - For the same reason, renamed `RxCollection().sync()` to `RxCollection().syncCouchDB()`
-- Renamed the functions of the json import/export plugin to be less confusing.
- - `dump()` is now `exportJSON()`
- - `importDump()` is now `importJSON()`
-- `RxCollection` uses a separate pouchdb instance for local documents, so that they can persist during migrations.
-- A JsonSchema must have the `required` array at the top level and it must contain the primary key.
-
-## New features
-
-### Composite primary key
-
-You can now use a composite primary key for the schema where you can join different properties of the document data to create a primary key.
-
-```javascript
-const mySchema = {
- keyCompression: true, // set this to true, to enable the keyCompression
- version: 0,
- title: 'human schema with composite primary',
- primaryKey: {
- // where should the composed string be stored
- key: 'id',
- // fields that will be used to create the composed key
- fields: [
- 'firstName',
- 'lastName'
- ],
- // separator which is used to concat the fields values.
- separator: '|'
- }
- type: 'object',
- properties: {
- id: {
- type: 'string'
- },
- firstName: {
- type: 'string'
- },
- lastName: {
- type: 'string'
- }
- },
- required: [
- 'id',
- 'firstName',
- 'lastName'
- ]
-};
-```
-
-## For the future
-
-With these changes, RxDB is now ready for the future plans:
-
-- I want to replace the `revision` handling of documents with conflict resolution strategies that can always directly resolve conflicts instead of maintaining the revision tree.
-- Implement different implementations for `RxStorage`. I will first work on a memory based version. I am in good hope that the community will create other implementations depending on their needs.
-
-## You can help!
-
-There are many things that can be done by **you** to improve RxDB:
-
-- Check the [BACKLOG](https://github.com/pubkey/rxdb/blob/master/orga/BACKLOG.md) for features that would be great to have.
-- Check the [breaking backlog](https://github.com/pubkey/rxdb/blob/master/orga/before-next-major.md) for breaking changes that must be implemented in the future but where I did not had the time yet.
-- Check the [todos](https://github.com/pubkey/rxdb/search?q=todo) in the code. There are many small improvements that can be done for performance and build size.
-- Review the code and add tests. I am only a single dude with a laptop. My code is not perfect and much small improvements can be done when people review the code and help me to clarify undefined behaviors.
-- Improve the documentation. In the last user survey many users told me that the documentation is not good enough. But I reviewed the docs and could not find clear flaws. The problem is that I am way to deep into RxDB so that I am not able to understand which documentation a newcomer to the project needs. Likely I assume too much knowledge or focus writing about the wrong parts.
-- Update the [example projects](https://github.com/pubkey/rxdb/tree/master/examples) many of them are outdated and need updates.
-
-## Discuss!
-
-Please [discuss here](https://github.com/pubkey/rxdb/issues/3279).
-
----
-
-## RxDB 11 - WebWorker Support & More
-
-# 11.0.0
-
-The last major release was only about [6 month ago](./10.0.0.md). But to further improve RxDB, it was necessary to make some more breaking changes and release the next major version.
-In the last version `10.0.0` the storage layer was abstracted in a way to make it possible to not only use PouchDB as storage, but instead we can use different storage engines like the one based on [LokiJS](../rx-storage-lokijs.md) or any custom implementation of the `RxStorage` interface.
-
-In the new version `11.0.0` the focus is on making it possible to put the RxStorage into a **WebWorker** to take CPU load from the main process into the worker's process. This can improve the perceived performance of your application, especially when you have to handle many documents or when you need the main process CPU cycles to manage the DOM with your frontend framework.
-
-## Worker plugin
-
-Performance was always something RxDB had a struggle with. Not because RxDB itself is slow, but because the underlying storage engine (mostly PouchDB) or [IndexedDB is slow](../slow-indexeddb.md). This never was a problem for 'normal' applications that have to store some documents. But on big applications with much data, there was a bottleneck.
-
-With the Worker plugin, you can move the `RxStorage` out of the main JavaScript process. This makes it pretty easy to utilize more than one CPU core and speed up your application.
-
-```ts
-// worker.ts
-import { wrappedRxStorage } from 'rxdb/plugins/worker';
-import { getRxStorageLoki } from 'rxdb/plugins/storage-lokijs';
-wrappedRxStorage({
- storage: getRxStorageLoki()
-});
-```
-
-```ts
-// main process
-import { createRxDatabase } from 'rxdb/plugins/core';
-import { getRxStorageWorker } from 'rxdb/plugins/worker';
-const database = await createRxDatabase({
- name: 'mydatabase',
- storage: getRxStorageWorker(
- {
- workerInput: 'path/to/worker.js'
- }
- )
-});
-```
-
-The whole documentation about the worker plugin can be found [here](../rx-storage-worker.md).
-
-## Transpile `async`/`await` to promises instead of generators
-
-The RxDB source-code is transpiled from TypeScript to es5/es6 JavaScript code via babel.
-In the past we transpiled the `async` and `await` keywords with the babel plugin `plugin-transform-async-to-generator`.
-Now we use the [babel-plugin-transform-async-to-promises](https://github.com/rpetrich/babel-plugin-transform-async-to-promises) plugin instead.
-It transpiles `async`/`await` into native `Promise`s instead of using JavaScript generators. This has shown to decrease build size by about 10% and also improves the performance.
-
-## Removed deprecated `received` methods
-
-In the past there was a typo in all getters and methods that are called `received`.
-This was renamed to `received` and all mistyped methods have been deprecated.
-We now removed all deprecated methods, so you have to use the correctly spelled methods instead.
-[See #3392](https://github.com/pubkey/rxdb/pull/3392)
-
-## All internal events are handled as bulks
-
-All events that are generated from writing to the storage instance are now handled in bulks instead of each event for its own. This has shown to save performance when the events are send over a data layer like a `WebWorker` or the `BroadcastChannel`. This change only affects you if you have created custom RxDB plugins.
-
-## RxStorage interface changes
-
-To make the RxStorage abstraction compatible with Webworkers, we had to do some changes. These will only affect you if you use a custom RxStorage implementation.
-
-- The non async functions `prepareQuery`, `getSortComparator` and `getQueryMatcher` have been moved out of `RxStorageInstance` into the `statics` property of `RxStorage`. This makes it possible to split the code when using the worker plugin. You only need to load the static methods at the main process, and the whole storage engine is only loaded inside of the worker.
-- All data communication with the RxStorage now happens only via plain JSON objects. Instead of returning a JavaScript `Map` or `Set`, only [JSON datatypes](https://www.w3schools.com/js/js_json_datatypes.asp) are allowed. This makes it easier to properly serialize the data when transferring it over to or from a WebWorker.
-- Events that are created from a write operation, must be emitted **before** the write operation resolves. This ensures that RxDB always knows about all events before it runs another operation. So when you do an insert and a query directly after the insert, the query will return the correct results.
-- The meta data `digest` and `length` of attachments is now created by RxDB, not by the RxStorage. [#3548](https://github.com/pubkey/rxdb/issues/3548)
-- Added the statics `hashKey` property to identify the used hash function.
-
-## Removed the `no-validate` plugin.
-
-In the past, RxDB required you to add one schema validation plugin. For production, it was useful to not have any schema validation for better performance and a smaller build size. For that, the `no-validate` plugin could be added which was just a dummy plugin that did no do any validation. To remove this unnecessary complexity, RxDB no longer requires you to add a validation plugin. Therefore the no-validate plugin is now removed as it is no longer needed.
-
-## Other changes
-
-- The LokiJS RxStorage no longer uses the `IdleQueue` to determine if the database is idle. Because LokiJS is in-memory, we can just wait for CPU idleness via [requestIdleCallback()](https://developer.mozilla.org/en-US/docs/Web/API/Window/requestIdleCallback)
-- Bugfix: Do not throw an error when database is destroyed while a GraphQL replication is running.
-- Compound primary key migration throws "Value of primary key(s) cannot be changed" [#3546](https://github.com/pubkey/rxdb/pull/3546)
-- Allow `_id` as primaryKey [#3562](https://github.com/pubkey/rxdb/pull/3562) Thanks [@SuperKirik](https://github.com/SuperKirik)
-- LokiJS: Remote operations do never resolve when remote instance was leader and died.
-
-## Migration from `10.x.x`
-
-The migration should be pretty easy. Nothing in the datalayer has been changed, so you can use the stored data of v10 together with the new v11 RxDB.
-
-## You can help!
-
-There are many things that can be done by **you** to improve RxDB:
-
-- Check the [BACKLOG](https://github.com/pubkey/rxdb/blob/master/orga/BACKLOG.md) for features that would be great to have.
-- Check the [breaking backlog](https://github.com/pubkey/rxdb/blob/master/orga/before-next-major.md) for breaking changes that must be implemented in the future but where I did not had the time yet.
-- Check the [todos](https://github.com/pubkey/rxdb/search?q=todo) in the code. There are many small improvements that can be done for performance and build size.
-- Review the code and add tests. I am only a single human with a laptop. My code is not perfect and much small improvements can be done when people review the code and help me to clarify undefined behaviors.
-- Improve the documentation. In the last user survey many users told me that the documentation is not good enough. But I reviewed the docs and could not find clear flaws. The problem is that I am way to deep into RxDB so that I am not able to understand which documentation a newcomer to the project needs. Likely I assume too much knowledge or focus writing about the wrong parts.
-- Update the [example projects](https://github.com/pubkey/rxdb/tree/master/examples) many of them are outdated and need updates.
-
-## Discuss!
-
-Please [discuss here](https://github.com/pubkey/rxdb/issues/3555).
-
----
-
-## RxDB 12.0.0 - Clean, Lean & Mean
-
-# [RxDB](https://rxdb.info/) 12.0.0
-
-For the last few months, I worked hard on the new RxDB version 12 release. I mostly focused on performance related features and refactored much of the code.
-
-## Removed the `core` plugin
-
-In the past, RxDB exported all bundled plugins when doing `import from 'rxdb';`.
-This increased the bundle size, so optionally people could `import from 'rxdb/plugins/core';` to create a custom build that only contains the plugin that they really need.
-But very often this lead to accidental imports of `'rxdb'`. For example, when the code editor auto imported methods.
-So now, the default `import from 'rxdb';` only exports RxDB core. Every plugin must be imported afterwards if needed.
-
-## Unified the replication primitives and the GraphQL replication plugin
-
-Most of the GraphQL replication code has been replaced by using the replication primitives plugin internally.
-This means many bugs and undefined behavior that was already fixed in the replication primitives, are now also fixed in the GraphQL replication.
-
-Also, the GraphQL replication now runs `push` in bulk. This means you either have to update your backend to accept bulk mutations, or set `push.batchSize: 1` and transform the array into a single document inside `push.queryBuilder()`.
-
-## Added the cleanup plugin
-
-To make replication work, and for other reasons, RxDB has to keep deleted documents in storage.
-This ensures that when a client is offline, the deletion state is still known and can be replicated with the backend when the client goes online again.
-
-Keeping too many deleted documents in the storage can slow down queries or fill up too much disk space.
-With the [cleanup plugin](https://rxdb.info/cleanup.html), RxDB will run cleanup cycles that clean up deleted documents when it can be done safely.
-
-## Allow to set a specific index
-
-By default, the query will be sent to RxStorage, where a query planner will determine which one of the available indexes must be used.
-But the query planner cannot know everything and sometimes will not pick the most optimal index.
-To improve query performance, you can specify which index must be used, when running the query.
-
-```ts
-const queryResults = await myCollection
- .find({
- selector: {
- age: {
- $gt: 18
- },
- gender: {
- $eq: 'm'
- }
- },
- /**
- * Because the developer knows that 50% of the documents are 'male',
- * but only 20% are below age 18,
- * it makes sense to enforce using the ['gender', 'age'] index to improve performance.
- * This could not be known by the query planner which might have chosen ['age', 'gender'] instead.
- */
- index: ['gender', 'age']
- }).exec();
-```
-
-## Enforce primaryKey in the index
-
-For various performance optimizations, like the [EventReduce](https://github.com/pubkey/event-reduce) algorithm, RxDB needs a **deterministic sort order** for all query results.
-To ensure a deterministic sorting, RxDB now automatically adds the primary key as last sort attribute to every query, if it is not there already. This ensures that all documents that have the same attributes on all query relevant fields, still can be sorted in a deterministic way, not depending on which was written first to the database.
-
-In the past, this often lead to slow queries, because indexes where not constructed with that in mind.
-Now RxDB will add the `primaryKey` to all indexes that do not contain it already.
-If you have any collection with a custom index set, you need to run a [migration](https://rxdb.info/migration-schema.html) when updating to RxDB version `12.0.0` so that RxDB can rebuild the indexes.
-
-## Fields that are used in indexes need some meta attributes
-
-When using a schema with indexes, depending on the field type, you must have set some meta attributes like `maxLength` or `minimum`. This is required so that RxDB
-is able to know the maximum string representation length of a field, which is needed to craft custom indexes on several `RxStorage` implementations.
-
-```javascript
-const schemaWithIndexes = {
- version: 0,
- primaryKey: 'id',
- type: 'object',
- properties: {
- id: {
- type: 'string',
- maxLength: 100 // <- the primary key must set `maxLength`
- },
- firstName: {
- type: 'string',
- maxLength: 100 // <- string-fields that are used as an index, must set `maxLength`.
- },
- active: {
- type: 'boolean'
- },
- balance: {
- type: 'number',
-
- // number fields that are used in an index, must set `minimum`, `maximum` and `multipleOf`
- minimum: 0,
- maximum: 100000,
- multipleOf: '0.01'
- }
- },
- required: [
- 'active' // <- boolean fields that are used in an index, must be required.
- ],
- indexes: [
- 'firstName',
- ['active', 'firstName']
- ]
-};
-```
-
-## Introduce `_meta` field
-
-In the past, RxDB used a hacky way to mark documents as being from the remote instance during replication.
-This is needed to ensure that pulled documents are not sent to the backend again.
-RxDB crafted a specific revision string and stored the data with that string.
-This meant that it was not possible to replicate with multiple endpoints at the same time.
-From now on, all document data is stored with an `_meta` field that can contain various flags and other values.
-This makes it easier for plugins to remember stuff that belongs to the document.
-
-**In the future**, the other meta fields like `_rev`, `_deleted` and `_attachments` will be moved from the root level
-to the `_meta` field. This is **not** done in release `12.0.0` to ensure that there is a migration path.
-
-## Removed RxStorage RxKeyObjectInstance
-
-In the past, we stored local documents and internal data in a `RxStorageKeyObjectInstance` of the `RxStorage` interface.
-In PouchDB, this has a [slight performance](https://pouchdb.com/guides/local-documents.html#advantages-of-local%E2%80%93docs) improvement compared to storing that data in 'normal' documents because it does not have to handle the revision tree.
-But this improved performance is only possible because normal document handling on PouchDB is so slow.
-For every other RxStorage implementation, it does not really matter if documents are stored in a query-able way or not. Therefore, the whole `RxStorageKeyObjectInstance` is removed. Instead, RxDB now stores local documents and internal data in normal storage instances. This removes complexity and makes things easier in the future. For example, we could now migrate local documents or query them in plugins.
-
-## Refactor plugin hooks
-
-In the past, an `RxPlugin` could add plugins hooks which where always added as last.
-This meant that some plugins depended on having the correct order when calling `addRxPlugin()`.
-Now each plugin hook can be either defined as `before` or `after` to specify at which position of the current hooks
-the new hook must be added.
-
-## Local documents must be activated per RxDatabase/RxCollection
-
-For better performance, the local document plugin does not create a storage for every database or collection that is created.
-Instead, you have to set `localDocuments: true` when you want to store local documents in the instance.
-
-```js
-// activate local documents on a RxDatabase
-const myDatabase = await createRxDatabase({
- name: 'mydatabase',
- storage: getRxStoragePouch('memory'),
- localDocuments: true // <- activate this to store local documents in the database
-});
-
-myDatabase.addCollections({
- messages: {
- schema: messageSchema,
- localDocuments: true // <- activate this to store local documents in the collection
- }
-});
-```
-
-## Added Memory RxStorage
-
-The [Memory RxStorage](https://rxdb.info/rx-storage-memory.html) is based on plain in-memory arrays and objects. It can be used in all environments and is made for performance.
-
-## RxDB Premium 👑
-
-You can now purchase access to additional RxDB plugins that are part of the [RxDB Premium 👑](/premium/) package.
-
-**If you have [sponsored](https://github.com/sponsors/pubkey) RxDB in the past (before the April 2022), you can get free lifetime access to RxDB Premium 👑 by writing me via [Twitter](https://twitter.com/rxdbjs)**
-
-- [RxStorage IndexedDB](https://rxdb.info/rx-storage-indexeddb.html) a really fast [RxStorage](https://rxdb.info/rx-storage.html) implementation based on **IndexedDB**. Made to be used in browsers.
-- [RxStorage SQLite](https://rxdb.info/rx-storage-sqlite.html) a really fast [RxStorage](https://rxdb.info/rx-storage.html) implementation based on **SQLite**. Made to be used on **Node.js**, **Electron**, **React Native**, **Cordova** or **Capacitor**.
-- [RxStorage Sharding](https://rxdb.info/rx-storage-sharding.html) a wrapper around any other [RxStorage](https://rxdb.info/rx-storage.html) that improves performance by applying the sharding technique.
-- **migrateRxDBV11ToV12** A plugin that migrates data from any RxDB v11 storage to a new RxDB v12 database. Use this when you upgrade from RxDB 11->12 and you have to keep your database state.
-
-## Other changes
-
-- The Dexie.js RxStorage is no longer in beta mode.
-- Added `RxDocument().toMutableJSON()`
-- Added `RxCollection().bulkUpsert()`
-- Added optional `init()` function to `RxPlugin`.
-- dev-mode: Add check to ensure all top-level fields in a query are defined in the schema.
-- Support for array field based indexes like `data.[].subfield` was removed, as it anyway never really worked.
-- Refactored the usage of RxCollection.storageInstance to ensure all hooks run properly.
-- Refactored the encryption plugin so no more plugin specific code is in the RxDB core.
-- Removed the encrypted export from the json-import-export plugin. This was barely used and made everything more complex. All exports are now non-encrypted. If you need them encrypted, you can still run by encryption after the export is done.
-- RxPlugin hooks now can be defined as running `before` or `after` other plugin hooks.
-- Attachments are now internally handled as string instead of `Blob` or `Buffer`
-- Fix (replication primitives) only drop pulled documents when a relevant document was changed locally.
-- Fix dexie.js was not able to query over an index when `keyCompression: true`
-
-Changes to `RxStorageInterface`:
-- `RxStorageInstance` must have the `RxStorage` in the `storage` property.
-- The `_deleted` field is now required for each data interaction with `RxStorage`.
-- Removed `RxStorageInstance.getChangedDocuments()` and added `RxStorageInstance.getChangedDocumentsSince()` for better performance.
-- Added `doesBroadcastChangestream()` to `RxStorageStatics`
-- Added `withDeleted` parameter to `RxStorageKeyObjectInstance.findLocalDocumentsById()`
-- Added internal `_meta` property to stored document data that contains internal document related data like last-write-time and replication checkpoints.
-
-## You can help!
-
-There are many things that can be done by **you** to improve RxDB:
-
-- Check the [BACKLOG](https://github.com/pubkey/rxdb/blob/master/orga/BACKLOG.md) for features that would be great to have.
-- Check the [breaking backlog](https://github.com/pubkey/rxdb/blob/master/orga/before-next-major.md) for breaking changes that must be implemented in the future but where I did not have the time yet.
-- Check the [todos](https://github.com/pubkey/rxdb/search?q=todo) in the code. There are many small improvements that can be done for performance and build size.
-- Review the code and add tests. I am only a single human with a laptop. My code is not perfect and much small improvements can be done when people review the code and help me to clarify undefined behaviors.
-- Improve the documentation. In the last user survey, many users told me that the documentation is not good enough. But I reviewed the docs and could not find clear flaws. The problem is that I am way too deep into RxDB so that I am not able to understand which documentation a newcomer to the project needs. Likely I assume too much knowledge or focus writing about the wrong parts.
-- Update the [example projects](https://github.com/pubkey/rxdb/tree/master/examples) many of them are outdated and need updates.
-- Help the next [PouchDB release](https://github.com/pouchdb/pouchdb/issues/8408) to improve RxDBs performance.
-
----
-
-## RxDB 13.0.0 - A New Era of Replication
-
-# 13.0.0
-
-So in the last major RxDB versions, the focus was set to **improvements of the storage engine**. This is done. RxDB has now [multiple RxStorage implementations](../rx-storage.md), a better query planner and an improved test suite to ensure everything works correct.
-This let to huge improvements in write and query performance and decreased the initial pageload of RxDB based applications.
-
-In the new major version `13.0.0`, the focus was set to improvements to the **replication protocol**.
-When I first implemented the GraphQL replication a few years ago, I had a specific use case in mind and designed the whole protocol and replication plugins around that use case.
-
-But the time has shown, that the old replication protocol is a big downside of RxDB:
- - The replication relied on the backend to solve all **conflicts**. This was easy to implement into RxDB because the whole responsibility was given away to the person that has to implement a compatible backend.
- - In each point in time, the replication did either push or pull documents, but **never in parallel**. This slows done the whole replication process and makes RxDB not usable for the implementation of features like **multi-user-real-time-collaboration** or when many read- and write operations have to happen in a short timespan.
- - After each `push`, a `pull` had to be run to check if the backend had changed the state to solve a conflict.
- - The replication protocol did not support attachments and was not designed to ever support them.
-
-So in version `13.0.0` I replaced the whole replication plugins with a new replication protocol. The main goals have been:
- - Push- and Pull in parallel.
- - Use the data in the changestream (optional) to decrease replication latency.
- - Implement the conflict resolution into RxDB so that the **client resolves its own conflicts** and does not rely on the backend.
- - Decrease the complexity for a compatible backend implementation. The new protocol relies on a *dumb* backend. This will open compatibility with many other use cases like implementing [Offline-First in Supabase](https://github.com/supabase/supabase/discussions/357) or using CouchDB but having a faster replication compared to the native CouchDB replication.
- - Make it possible to use [CRDTs](https://en.wikipedia.org/wiki/Conflict-free_replicated_data_type) instead of a conflict resolution.
- - Design a the protocol in a way to make it possible to add attachments replication in the future.
-
-On the RxDocument level, the replication works like git, where the fork/client contains all new writes and must be merged with the master/server before it can push its new state to the master/server.
-
-```
-A---B1---C1---X master/server state
- \ /
- B1---C2 fork/client state
-```
-
-For more details, read the [documentation about the new RxDB Sync Engine](../replication.md).
-
-Backends that have been compatible with the previous RxDB versions `12` and older, will not work with the new replication protocol. To learn how to do that, either read the [docs](../replication.md) or check out the [GraphQL example](https://github.com/pubkey/rxdb/tree/master/examples/graphql).
-
-## Other breaking changes
-
-- RENAMED the `ajv-validate` plugin to `validate-ajv` to be in equal with the other validation plugins.
-- The `is-my-json-valid` validation is no longer supported until [this bug](https://github.com/mafintosh/is-my-json-valid/pull/192) is fixed.
-
-- REFACTORED the [schema validation plugins](https://rxdb.info/schema-validation.html), they are no longer plugins but now they get wrapped around any other RxStorage.
- - It allows us to run the validation inside of a [Worker RxStorage](../rx-storage-worker.md) instead of running it in the main JavaScript process.
- - It allows us to configure which `RxDatabase` instance must use the validation and which does not. In production it often makes sense to validate user data, but you might not need the validation for data that is only replicated from the backend.
-
-- REFACTORED the [key compression plugin](../key-compression.md), it is no longer a plugin but now a wrapper around any other RxStorage.
- - It allows to run the key-compression inside of a [Worker RxStorage](../rx-storage-worker.md) instead of running it in the main JavaScript process.
-
-- REFACTORED the encryption plugin, it is no longer a plugin but now a wrapper around any other RxStorage.
- - It allows to run the encryption inside of a [Worker RxStorage](../rx-storage-worker.md) instead of running it in the main JavaScript process.
- - It allows do use asynchronous crypto function like [WebCrypto](https://developer.mozilla.org/en-US/docs/Web/API/Web_Crypto_API)
-- Store the password hash in the same write request as the database token to improve performance.
-
-- REMOVED support for temporary documents [see here](https://github.com/pubkey/rxdb/pull/3777#issuecomment-1120669088)
-
-- REMOVED RxDatabase.broadcastChannel The broadcast channel has been moved out of the RxDatabase and is part of the RxStorage. So it is no longer exposed via `RxDatabase.broadcastChannel`.
-
-- Removed the `liveInterval` option of the replication plugins. It was an edge case feature with wrong defaults. If you want to run the pull replication on interval, you can send a `RESYNC` event manually in a loop.
-
-- REPLACED `RxReplicationPullError` and `RxReplicationPushError` with normal `RxError` like in the rest of the RxDB code.
-- REMOVED the option to filter out replication documents with the push/pull modifiers [#2552](https://github.com/pubkey/rxdb/issues/2552) because this does not work with the new replication protocol.
-- CHANGE default of replication `live` to be set to `true`. Because most people want to do a live replication, not a one time replication.
-
-- RENAMED the `server` plugin is now called `server-couchdb` and `RxDatabase.server()` is now `RxDatabase.serverCouchDB()`
-
-- CHANGED Attachment data is now always handled as `Blob` because Node.js does support `Blob` since version 18.0.0 so we no longer have to use a `Buffer` but instead can use Blob for browsers and Node.js
-
-- REFACTORED the layout of `RxChangeEvent` to better match the RxDB requirements and to fix the 'deleted-document-is-modified-but-still-deleted' bug.
-
-When used with Node.js, RxDB now requires Node.js version `18.0.0` or higher.
-
-## Other non breaking or internal changes
-
-- REMOVED many unused plugin hooks because they decreased the performance.
-- REMOVE RxStorageStatics `.hash` and `.hashKey`
-- CHANGE removed default usage of `md5` as default hashing. Use a faster non-cryptographic hash instead.
- - ADD option to pass a custom hash function when calling `createRxDatabase`.
-- CHANGE use `Float` instead of `Int` to represent timestamps in GraphQL.
-
-- FIXED multiple problems with encoding attachments data. We now use the `js-base64` library which properly handles utf-8/binary/ascii transformations.
-
-- In the RxDB internal `_meta.lwt` field, we now use 2 decimals number of the unix timestamp in milliseconds.
-- ADDED `checkpointSchema` to the `RxStorage.statics` interface.
-
-## New Features
-
-- ADDED the [websocket replication plugin](../replication-websocket.md)
-- ADDED the [FoundationDB RxStorage](../rx-storage-foundationdb.md)
-
-## Migration to the new version
-
-Stored data of the previous RxDB versions is not compatible with RxDB `13.0.0`. So if you want to keep that data, you have to migrate it in a way. For most use cases you might want to just drop the data from the client and re-sync it again from the backend. To keep the data locally, you might want to use the [storage migration plugin](../migration-storage.md).
-
----
-
-## RxDB 14.0 - Major Changes & New Features
-
-# 14.0.0
-
-The release [14.0.0](https://rxdb.info/releases/14.0.0.html) is used for major refactorings and API changes.
-The replication or the storage layer have only been touched marginally.
-
-Notice that only the major changes are listed here. All minor changes can be found in the [changelog](https://github.com/pubkey/rxdb/blob/master/CHANGELOG.md).
-
-## Removing deprecated features
-
-The PouchDB RxStorage was deprecated in 13 and has now finally been removed, see [here](../rx-storage-pouchdb.md).
-Also the old `replication-couchdb` plugin was removed. Instead we had the `replication-couchdb-new` plugin which was now renamed to `replication-couchdb`.
-
-## API changes
-
-### RxDocument objects are now immutable
-
-At the previous version of RxDB, RxDocuments mutate themself when they receive ChangeEvents from the database. For example when you have a document where `name = 'foo'` and some update changes the state to `name = 'bar'` in the database, then the previous JavaScript object changed its own property to the have `doc.name === 'bar'`.
-This feature was great when you use a RxDocument with some change-detection like in angular or vue templates. You can use document properties directly in the template and all updates will be reflected in the view, without having to use observables or subscriptions.
-
-However this behavior is also confusing many times. When the state in the database is changed, it is not clear at which exact point of time the objects attribute changes. Also the self mutating behavior created some problem with vue- and react-devtools because of how they clone objects.
-
-In RxDB v14, all RxDocuments are immutable. When you subscribe to a query and the same document is returned in the results, this will always be a new JavaScript object.
-
-Also `RxDocument.$` now emits `RxDocument` instances instead of the plain document data.
-
-### Refactor `findByIds()`
-
-In the past, the functions `findByIds` and `findByIds$` directly returned the result set. This was confusing, instead they now return a `RxQuery` object that works exactly like any other database query.
-
-```ts
-const results = await myRxCollection.findByIds(['foo', 'bar']).exec();
-const results$ = await myRxCollection.findByIds(['foo', 'bar']).$;
-```
-
-### Rename to RxDocument update/modify functions
-
-Related issue [#4180](https://github.com/pubkey/rxdb/issues/4180).
-
-In the past the naming of the document mutation methods is confusing.
-For example `update()` works completely different to `atomicUpdate()` and so on.
-The naming of all functions was unified and all methods do now have an incremental and a non-incremental version (previously known as `atomic`):
-- RENAME `atomicUpdate()` to `incrementalModify()`
-- RENAME `atomicPatch()` to `incrementalPatch()`
-- RENAME `atomicUpsert()` to `incrementalUpsert()`
-- ADD `RxDocument().incrementalUpdate()`
-- ADD `RxDocument.incrementalRemove()`
-- ADD non-incremental `RxDocument` methods `patch()` and `modify()`
-
-### Replication is started with a pure function
-
-In the past, to start a replication, the replication plugin was added to RxDB and a method on the RxCollection was called like `myRxCollection.syncGraphQL()`.
-This caused many problems with tree shaking bailouts and having the correct typings.
-So instead of having class method on the RxCollection, the replications are now started like:
-
-```ts
-import { replicateCouchDB } from 'rxdb/plugins/replication-couchdb';
-const replicationState = replicateCouchDB({ /* ... */ });
-```
-
-### Storage plugins are prefixed with `storage-`
-
-For better naming, all storage plugins have been prefixed with `storage-` so the imports have been changed:
-
-```ts
-// Instead of
-import { getRxStorageDexie } from 'rxdb/plugins/dexie';
-// it is now
-import { getRxStorageDexie } from 'rxdb/plugins/storage-dexie';
-```
-
-### Encryption plugin was renamed to `encryption-crypto-js`
-
-To make it possible to have alternative encryption plugins, the `encryption` plugin was renamed to `encryption-crypto-js`.
-
-```ts
-// Instead of
-import { wrappedKeyEncryptionStorage } from 'rxdb/plugins/encryption';
-// it is now
-import { wrappedKeyEncryptionCryptoJsStorage } from 'rxdb/plugins/encryption-crypto-js';
-```
-
-### Rewrite the `worker` plugin
-
-In the past, the [worker plugin](../rx-storage-worker.html) was based on the [threads](https://www.npmjs.com/package/threads) library. It was completely rewritten and uses the plain JavaScript API together with the [remote storage plugin](../rx-storage-remote.md). **BUT** notice that the worker plugin has moved into the [RxDB Premium 👑](/premium/) package.
-
-## Performance improvements
-
-### Do not use hash for revisions
-
-In the past, the `_rev` field of a RxDocument data was filled with a hash of the documents data. This was not the best solution because:
-- Hashing in JavaScript is slow, not running hashes on insert improves performance by about 33%
-- When 2 clients do the exact same write to the document, it is not clear from comparing the document states because they will have the exact same hash which makes some conflict resolution strategies impossible to implement.
-
-Instead we now use just use the RxDatabase.token together with the revision height.
-
-### Batch up incremental operations
-
-When making multiple writes to different (or the same) document, in the past RxDB made one write call to the storage. When doing fast writes, like when you writhe the current mouse position to a document, the writes could have queued up to the point where the users recognizes performance lag.
-In RxDB v14, pending document updates are batched up into single storage writes for better performance.
-
-### Improved tree shaking
-
-Many changes have been made to improve [tree shakability](https://webpack.js.org/guides/tree-shaking/) of RxDB which results in smaller bundle sizes and a faster application startup.
-
-### Refactor the document cache
-
-The whole RxDocument cache was refactored. It now runs based on the [WeakRef API](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakRef) and automatically cleans up cached documents that are no longer referenced. This reduces the use memory and makes RxDB more suitable for being used in Node.js on the server side.
-
-Notice that the WeakRef API is only featured in [modern browsers](https://caniuse.com/?search=weakref) so RxDB will no longer run on ie11.
-
-### No longer transpile some modern JavaScript features
-
-To reduce the bundle size and improve performance, the following JavaScript features will no longer be transpiled because they are natively supported in modern browsers anyway:
- - [async/await](https://caniuse.com/async-functions)
- - [Arrow functions](https://caniuse.com/arrow-functions)
- - [for...of](https://caniuse.com/?search=for...of)
- - [shorthand properties](https://caniuse.com/mdn-javascript_operators_object_initializer_shorthand_property_names)
- - [Spread operator](https://caniuse.com/?search=spread%20operator)
- - [destructuring](https://caniuse.com/?search=destructuring)
- - [default parameters](https://caniuse.com/?search=default%20parameters)
- - [object spread](https://caniuse.com/?search=Object%20spread)
-
-All these optimizations together reduced the [test-bundle](https://github.com/pubkey/rxdb/blob/master/config/bundle-size.js) size from `74148` bytes down to `36007` bytes.
-
-## Other changes
-- ADD `push/pull.initialCheckpoint` to start a replication from a given checkpoint.
-- The following plugins are out of beta mode:
- - [RxStorage Sharding](../rx-storage-sharding.md)
- - [RxStorage Remote](../rx-storage-remote.md)
- - [RxStorage FoundationDB](../rx-storage-foundationdb.md)
- - [New Replication CouchDB](../replication-couchdb.md)
- - [Cleanup Plugin](../cleanup.md)
-
-## Bugfixes
-- CHANGE (memory RxStorage) do not clean up database state on closing of the storage, only on `remove()`.
-- FIX CouchDB replication: Use correct default fetch method.
-- FIX schema hashing should respect the sort order [#4005](https://github.com/pubkey/rxdb/pull/4005)
-- FIX replication does not provide a `._rev` to the storage write when a conflict is resolved.
-- FIX(remote storage) ensure caching works properly even on parallel create-calls
-- FIX(replication) Composite Primary Keys broken on replicated collections [#4190](https://github.com/pubkey/rxdb/pull/4190)
-- FIX(sqlite) $in Query not working SQLite [#4278](https://github.com/pubkey/rxdb/issues/4278)
-- FIX CouchDB push is throwing error because of missing revision [#4299](https://github.com/pubkey/rxdb/pull/4299)
-- ADD dev-mode shows a `console.warn()` to ensure people do not use it in production.
-- Remove the usage of `Buffer`. We now use `Blob` everywhere.
-- FIX import of socket.io [#4307](https://github.com/pubkey/rxdb/pull/4307)
-- FIX Id length limit reached with composite key [#4315](https://github.com/pubkey/rxdb/issues/4315)
-- FIX `$regex` query not working on remote storage.
-- FIX SQLite must store attachments data as Blob instead of base64 string to reduce the database size.
-- FIX CouchDB replication conflict handling
-- CHANGE Encryption plugin was renamed to `encryption-crypto-js`
-- FIX replication state meta data must also be encrypted.
-
-## Migration from 13.x.x to 14.0.0
-
-The way RxDB hashes and normalizes a schema has changed. To migrate stored data between the RxDB versions, therefore you have to increase your schema version by `1` and add a migration strategy.
-
-For some storages, the stored data of the previous RxDB versions is not compatible with RxDB `14.0.0`. So if you want to keep that data, you have to migrate it in a way. For most use cases you might want to just drop the data from the client and re-sync it again from the backend. To keep the data locally, you might want to use the [storage migration plugin](../migration-storage.md).
-
-## You can help!
-
-There are many things that can be done by **you** to improve RxDB:
-
-- Check the [BACKLOG](https://github.com/pubkey/rxdb/blob/master/orga/BACKLOG.md) for features that would be great to have.
-- Check the [breaking backlog](https://github.com/pubkey/rxdb/blob/master/orga/before-next-major.md) for breaking changes that must be implemented in the future but where I did not have the time yet.
-- Check the [todos](https://github.com/pubkey/rxdb/search?q=todo) in the code. There are many small improvements that can be done for performance and build size.
-- Review the code and add tests. I am only a single human with a laptop. My code is not perfect and much small improvements can be done when people review the code and help me to clarify undefined behaviors.
-- Update the [example projects](https://github.com/pubkey/rxdb/tree/master/examples) many of them are outdated and need updates.
-
----
-
-## RxDB 15.0.0 - Major Migration Overhaul
-
-# 15.0.0
-
-The release [15.0.0](https://rxdb.info/releases/15.0.0.html) is used for major refactorings in the migration plugins and performance improvements of the RxStorage implementations.
-
-## LinkedIn
-
-Stay connected with the latest updates and network with professionals in the RxDB community by following RxDB's [official LinkedIn page](https://www.linkedin.com/company/rxdb)!
-
-## Performance
-
-Performance has improved a lot. Much work has been done to reduce the CPU footprint of RxDB so that when writes and reads are performed on the database, the JavaScript process can start updating the UI much faster.
-Also there have been a lot of improvements to the [IndexedDB RxStorage](../rx-storage-indexeddb.md) which now runs in a **Write-Ahead Logging (WAL)** mode which makes write operations about 4x as fast.
-The whole RxStorage interface has been optimized so that it has to run less operations which improves overall performance. [Read more](../rx-storage-performance.md)
-
-
-
-
-
-## Replication
-
-Replication options (like url), are no longer used as replication state identifier. Changing the url without having to restart the replication, is now possible. This is useful if you change your replication url (like `path/v3/`) on schema changes and you do not want to restart the replication from scratch. You can even swap the replication plugin while still keeping the replication state. The [couchdb replication](../replication-couchdb.md) now also requires an `replicationIdentifier`.
-
-The replication meta data is now also compressed when the [KeyCompression Plugin](../key-compression.md) is used.
-
-The replication-protocol does now support attachment replication. This clears the path to add the attachment replication to the other RxDB replication plugins.
-
-## Rewrite schema version migration
-
-The [schema migration plugin](../migration-schema.md) has been fully rewritten from scratch.
-
-From now on it internally uses the replication protocol to do a one-time replication from the old collection to the new one. This makes the code more simple and ensures that canceled migrations (when the user closes the browser), can continue from the correct position.
-
-Replication states from the [RxReplication](../replication.md) are also migrated together with the normal data.
-Previously a migration dropped the replication state which required a new replication of all data from scratch, even if the
-client already had the same data as the server. Now the `assumedMasterState` and `checkpoint` are also migrated so that
-the replication will continue from where it was before the migration has run.
-
-Also it now handles multi-instance runtimes correctly. If multiple browser tabs are open, only one of them (per RxCollection) will run the migration.
-Migration state events are propagated across browser tabs.
-
-Documents with `_deleted: true` will also be migrated. This ensures that non-pushed deletes are not dropped during migrations and will
-still be replicated if the client goes online again.
-
-## Set `eventReduce:true` as default
-
-The [EventReduce algorithm](https://github.com/pubkey/event-reduce) is now enabled by default.
-
-## Use `crypto.subtle.digest` for hashing
-
-Using `crypto.subtle.digest` from the native WebCrypto API is much faster, so RxDB now uses that as a default. If the API is not available, like in React-Native, the [ohash](https://github.com/unjs/ohash) module is used instead. Also any custom `hashFunction` can be provided when creating the [RxDatabase](../rx-database.md). The `hashFunction` must now be async and return a Promise.
-
-## Fix attachment hashing
-
-Hashing of attachment data to calculate the `digest` is now done from the RxDB side, not the RxStorage. If you set a custom `hashFunction` for the database, it will also be used for attachments `digest` meta data.
-
-## Requires at least typescript version 5.0.0
-
-We now use `export type * from './types';` so RxDB will not work on typescript versions older than 5.0.0.
-
-## Require string based `$regex`
-
-Queries with a `$regex` operator must now be defined as strings, not with `RegExp` objects. You can still pass RegExp's flags in `$options` parameter. `RegExp` are mutable objects, which was dangerous and caused hard-to-debug problems.
-Also stringification of the $regex had bad performance but is required to send queries from RxDB to the RxStorage.
-
-## Refactor dexie.js RxStorage
-
-The [dexie.js storage](../rx-storage-dexie.md) was refactored to add some missing features:
-- [Attachment](../rx-attachment.md) support
-- Support for boolean indexes
-
-## RxLocalDocument.$ emits a document instance, not the plain data
-
-This was changed in [v14](./14.0.0.md) for a normal RxDocument.$ which emits RxDocument instances. Same is now also done for [local documents](../rx-local-document.md).
-
-## Fix return type of .bulkUpsert
-
-Equal to other bulk operations, `bulkUpsert` will now return an `error` and a `success` array. This allows to filter for validation errors and handle them properly.
-
-## Add dev-mode check for disallowed $ref fields
-
-RxDB cannot resolve `$ref` fields in the schema because it would have a negative performance impact.
-We now have a dev-mode check to throw a helpful error message if $refs are used in the schema.
-
-## Improve RxDocument property access performance
-
-We now use the Proxy API instead of defining getters on each nested property. Also fixed [#4949](https://github.com/pubkey/rxdb/pull/4949)
-
-`patternProperties` is now allowed on the non-top-level of a schema [#4951](https://github.com/pubkey/rxdb/pull/4951)
-
-## Add deno support
-
-The RxDB test suite now also runs in the [deno](https://deno.com/) runtime. Also there is a [DenoKV](https://rxdb.info/rx-storage-denokv.html) based RxStorage to use with Deno Deploy.
-
-## Memory RxStorage
-
-Rewrites of the [Memory RxStorage](../rx-storage-memory.md) for better performance.
-- Writes are 3x faster
-- Find-by id is 2x faster
-
-## Memory-Synced storage no longer supports replication+migration
-
-The [memory-synced storage](../rx-storage-memory-synced.md) itself does not support replication and migration. This was allowed in the past, but dangerous so now there is an error that throws.
-Instead you should replicate the underlying parent storage. Notice that this is only for the [memory-synced storage](../rx-storage-memory-synced.md), NOT for the normal [memory storage](../rx-storage-memory.md). There the replication works like before.
-
-## Added Logger Plugin
-
-I added a [logger plugin](../logger.md) to detect performance problems and errors.
-
-## Documentation is now served by docusaurus
-
-In the past we used gitbook which is no longer maintained and had some major issues. Now the documentation of RxDB is rendered and served with [docusaurus](https://docusaurus.io/) which has a better design and maintenance.
-
-## Replaced `modfijs` with `mingo` package
-
-In the past, the [modifyjs](https://github.com/lgandecki/modifyjs) was used for the `update` plugin. This was replaced with the [mingo library](https://github.com/kofrasa/mingo) which is more up to date and already used in RxDB for the query engine.
-
-## Changes to the RxStorage interface
-
-We no longer have `RxStorage.statics.prepareQuery()`. Instead all storages get the same prepared query as input for the `.query()` method. If a storage requires some transformations, it has to do them by itself before running the query. This change simplifies the whole RxDB code base a lot and the previous assumption of having a better performance by pre-running the query preparation, turned out to be not true because the query planning is quite fast.
-
-Removed the `RxStorage.statics` property. This makes configuration easier especially for the remote storage plugins.
-
-The RxStorage itself will now return `_deleted=true` documents on the `.query()` method. This is required for upcoming plugins like the server plugin where it must be able to run queries on deleted documents.
-Notice that this is only for the RxStorage itself, RxDB queries will run like normal and NOT contain deleted documents in their results.
-
-Changed the response type of RxStorageInstance.bulkWrite() from indexed (by id) objects to arrays for better performance.
-
-## Other changes
-
-- Added `RxCollection.cleanup()` to manually call the [cleanup functions](../cleanup.md).
-- Rename send$ to sent$: `myRxReplicationState.send$.subscribe` works only if the sending is successful. Therefore, it is renamed to `sent$`, not `send$`.
-- We no longer ship `dist/rxdb.browserify.js` and `dist/rxdb.browserify.min.js`. If you need these, build them by yourself.
-- The example project for vanilla javascript was outdated. I removed it to no longer confuse new users.
-- REPLACE `new Date().getTime()` with `Date.now()` which is [2x faster](https://stackoverflow.com/questions/12517359/performance-date-now-vs-date-gettime).
-- Renamed replication-p2p to replication-webrtc. I will add more p2p replication plugins in the future, which are not based on [WebRTC](../replication-webrtc.md).
-- REMOVED `RxChangeEvent.eventId`. If you really need a unique ID, you can craft your own one based on the document `_rev` and `primary`.
-- REMOVED `RxChangeEvent.startTime` and `RxChangeEvent.endTime` so we do not have to call `Date.now()` once per write row.
-- ADDED `EventBulk.startTime` and `EventBulk.endTime`.
-- FIX `database.remove()` does not work on databases with encrypted fields.
-- FIX [react-native: replaceAll is not a function](https://github.com/pubkey/rxdb/pull/5187)
-- FIX Throttle calls to forkInstance on push-replication to not cause memory spikes and lagging UI
-- FIX PushModifier applied to pre-change legacy document, resulting in old document sent to endpoint [#5256](https://github.com/pubkey/rxdb/issues/5256)
-- [Attachment compression](../rx-attachment.md#attachment-compression) is now using the native `Compression Streams API`.
-- FIX [#5311](https://github.com/pubkey/rxdb/issues/5311) URL.createObjectURL is not a function in a browser plugin environment(background.js)
-- FIX `structuredClone` not available in ReactNative [#5046](https://github.com/pubkey/rxdb/issues/5046#issuecomment-1827374498)
-- The following things moved out of beta:
- - [Firestore replication](../replication-firestore.md)
- - [WebRTC replication](../replication-webrtc.md)
- - [NATS replication](../replication-nats.md)
- - [OPFS RxStorage](../rx-storage-opfs.md)
-
-## Changes to the 👑 Premium Plugins
-
-### storage-migration plugin moved from premium to open-core
-
-The storage migration plugin can be used to migrate data between different RxStorage implementation or to migrate data between major RxDB versions. This previously was a 👑 premium plugin, but now it is part of the open-core. Also the params syntax changed a bit [read more](../migration-storage.md).
-
-### Changes in pricing
-
-The pricing of the premium plugins was changed. This makes it cheaper for smaller companies and single individuals.
-
-### Added perpetual license option
-
-By default you are not allowed to use the premium plugins after the
-license has expired and you will no longer be able to install them. But
-you can choose the **Perpetual license** option. With the perpetual
-license option, you can still use the plugins even after the license is
-expired. But you will no longer get any updates from newer RxDB
-versions.
-
-## You can help!
-
-There are many things that can be done by **you** to improve RxDB:
-
-- Check the [BACKLOG](https://github.com/pubkey/rxdb/blob/master/orga/BACKLOG.md) for features that would be great to have.
-- Check the [breaking backlog](https://github.com/pubkey/rxdb/blob/master/orga/before-next-major.md) for breaking changes that must be implemented in the future but where I did not have the time yet.
-- Check the [todos](https://github.com/pubkey/rxdb/search?q=todo) in the code. There are many small improvements that can be done for performance and build size.
-- Review the code and add tests. I am only a single human with a laptop. My code is not perfect and much small improvements can be done when people review the code and help me to clarify undefined behaviors.
-- Update the [example projects](https://github.com/pubkey/rxdb/tree/master/examples) some of them are outdated and need updates.
-
----
-
-## RxDB 16.0.0 - Efficiency Redefined
-
-# 16.0.0
-
-The release [16.0.0](https://rxdb.info/releases/16.0.0.html) is used for major refactorings. We did not change that much, mostly renaming things and fixing confusing implementation details.
-
-Data stored in the previous version `15` is compatible with the code of the new version `16` for most RxStorage implementation. So migration will be easy.
-Only the following RxStorage implementations are required to migrate the data itself with the [storage migration plugin](../migration-storage.md):
-- SQLite RxStorage
-- NodeFilesystem RxStorage
-- OPFS RxStorage
-
-## Breaking Changes
-- CHANGE [RxServer](https://rxdb.info/rx-server.html) is no longer in beta mode.
-- CHANGE [Fulltext Search](https://rxdb.info/fulltext-search.html) is no longer in beta mode.
-- CHANGE [Custom Reactivity](https://rxdb.info/reactivity.html) is no longer in beta mode.
-- CHANGE [initialCheckpoint in replications](https://rxdb.info/replication.html) is no longer in beta mode.
-- CHANGE [RxState](https://rxdb.info/rx-state.html) is no longer in beta mode.
-- CHANGE [MemoryMapped RxStorage](https://rxdb.info/rx-storage-memory-mapped.html) is no longer in beta mode.
-- CHANGE rename `randomCouchString()` to `randomToken()`
-- FIX (GraphQL replication) datapath must be equivalent for pull and push [#6019](https://github.com/pubkey/rxdb/pull/6019)
-- REMOVE fallback to the `ohash` package when `crypto.subtle` does not exist. All modern runtimes (also react-native) now support `crypto.subtle`, so we do not need that fallback anymore.
-
-### Removed deprecated LokiJS RxStorage
-
-The [LokiJS RxStorage](https://rxdb.info/rx-storage-lokijs.html) was deprecated because LokiJS itself is no longer maintained. Therefore it will be removed completely. If you still need that, you can fork the code of it and publish it in an own package and link to it from the [third party plugins page](https://rxdb.info/third-party-plugins.html).
-
-### Renamed `.destroy()` to `.close()`
-Destroy was adapted from PouchDB, but people often think this deletes the written data. `close` is a better name for that functionality.
-- Also renamed similar functions/attributes:
- - `.destroy()` to `.close()`
- - `.onDestroy()` to `.onClose()`
- - `postDestroyRxCollection` to `postCloseRxCollection`
- - `preDestroyRxDatabase` to `preCloseRxDatabase`
-
-### `ignoreDuplicate: true` on `createRxDatabase()` must only be allowed in dev-mode.
-The `ignoreDuplicate` flag is only useful for tests and should never be used in production. We now throw an error if it is set to `true` in non-dev-mode.
-
-### When dev-mode is enabled, a schema validator must be used.
-Many reported issues come from people storing data that is not valid to their schema.
-To fix this, in dev-mode it is now required that at least one schema validator is used.
-
-### Removed the memory-synced storage
-
-The memory-synced RxStorage was removed in RxDB version 16. Please use the `memory-mapped` storage instead which has better trade-offs and is easier to configure.
-
-### Split conflict handler functionality into `isEqual()` and `resolve()`.
-
-Because the handler is used in so many places it becomes confusing to write a proper conflict handler.
-Also having a handler that requires user interaction is only possible by hackingly using the context param.
-By splitting the functionalities it is easier to learn where the handlers are used and how to define them properly.
-
-## Full rewrite of the OPFS and Filesystem-Node RxStorages
-
-The [OPFS](../rx-storage-opfs.md) and [Filesystem-Node](../rx-storage-filesystem-node.md) RxStorage had problems with storing emojis and other special characters inside of indexed fields.
-I completely rewrote them and improved performance especially on initial load when a lot of data is stored already and when doing many small writes/reads at the same time on in series.
-
-## Internal Changes
-
-- CHANGE (internal) migration-storage plugin: Remove catch from cleanup
-- CHANGE (internal) rename RX_PIPELINE_CHECKPOINT_CONTEXT to `rx-pipeline-checkpoint`
-- CHANGE (internal) remove `conflictResultionTasks()` and `resolveConflictResultionTask()` from the RxStorage interface.
-- REMOVED (internal) do not check for duplicate event bulks, all RxStorage implementations must guarantee to not emit the same events twice.
-- REFACTOR (internal) Only use event-bulks internally and only transform to single emitted events if actually someone has subscribed to the eventstream.
-
-## Bugfixes
-
-- Having a lot of documents pulled in the replication could in some cases slow down the database initialization because `upstreamInitialSync()` did not set a checkpoint and each time checked all documents if they are equal to the master.
-- If the handler of a [RxPipeline](../rx-pipeline.md) throws an error, block the whole pipeline and emit the error to the outside.
-- Throw error when dexie.js RxStorage is used with optional index fields [#6643](https://github.com/pubkey/rxdb/pull/6643#issuecomment-2505310082).
-- Fix IndexedDB bug: Some people had problems with the IndexedDB RxStorage that opened up collections very slowly. If you had this problem, please try out this new version.
-- Add check to ensure remote instances are build with the same RxDB version. This is to ensure if you update RxDB and forget to rebuild your workers, it will throw instead of causing strange problems.
-- When the pulled documents in the replication do not match the schema, do not update the checkpoint.
-- When the pushed document conflict results in the replication do not match the schema, do not update the checkpoint.
-
-## Other
-
-- Added more [performance tests](https://rxdb.info/rx-storage-performance.html)
-- The amount of collections in the open source version has been limited to `16`.
-- Moved RxQuery checks into dev-mode.
-- RxQuery.remove() now internally does a bulk operation for better performance.
-- Lazily process bulkWrite() results for less CPU usage.
-- Only run interval cleanup on the storage of a collection if there actually have been writes to it.
-- Schema validation errors (code: 422) now include the `RxJsonSchema` for easier debugging.
-- Added an interval to prevent browser tab hibernation while a replication is running.
-
-## You can help!
-
-There are many things that can be done by **you** to improve RxDB:
-
-- Check the [BACKLOG](https://github.com/pubkey/rxdb/blob/master/orga/BACKLOG.md) for features that would be great to have.
-- Check the [breaking backlog](https://github.com/pubkey/rxdb/blob/master/orga/before-next-major.md) for breaking changes that must be implemented in the future but where I did not have the time yet.
-- Check the [todos](https://github.com/pubkey/rxdb/search?q=todo) in the code. There are many small improvements that can be done for performance and build size.
-- Review the code and add tests. I am only a single human with a laptop. My code is not perfect and much small improvements can be done when people review the code and help me to clarify undefined behaviors.
-- Update the [example projects](https://github.com/pubkey/rxdb/tree/master/examples) some of them are outdated and need updates.
-
-## LinkedIn
-
-Stay connected with the latest updates and network with professionals in the RxDB community by following RxDB's [official LinkedIn page](https://www.linkedin.com/company/rxdb)!
-
----
-
-## RxDB 17.0.0
-
-# RxDB 17.0.0 (beta)
-
-RxDB 17 focuses on **better reactivity**, **improved debugging**, and **important storage fixes**, while also graduating several long-standing plugins out of beta.
-
-Most applications can upgrade easily, but **users of OPFS and filesystem-based storages must review the migration notes carefully**.
-
-:::note
-RxDB version 17 is currently in **beta**. For testing, please install the latest beta version [from npm](https://www.npmjs.com/package/rxdb?activeTab=versions) and provide feedback or report issues [on GitHub](https://github.com/pubkey/rxdb/issues/7574).
-:::
-
-## Migration
-
-RxDB 17 is mostly backward-compatible, but please review the following points before upgrading:
-
-### Storage migration required
-If you use any of the following storages, **you must migrate your data** using the [storage migrator](../migration-storage.md):
-
-- OPFS RxStorage
-- Filesystem RxStorage (Node)
-- IndexedDB RxStorage (if you use attachments)
-
-For all other RxStorages, data created with RxDB v16 can be reused directly in RxDB v17.
-
-### Other migration notes
-
-- The GitHub repository **no longer contains prebuilt `dist` files**.
- Install RxDB from npm or run the build scripts locally.
-- `toggleOnDocumentVisible` now defaults to **`true`**. [#6810](https://github.com/pubkey/rxdb/issues/6810)
-- Schema fields marked as `final` **no longer need to be explicitly listed as `required`**.
-- Some integrations now use **optional peer dependencies**. You may need to install them manually:
- - `firebase`
- - `mongodb`
- - `nats`
-
-## CHANGES
-
-### Features
-
-- Added [react-hooks plugin](../react.md).
-
-### 🔁 Reactivity & APIs
-
-- **ADD** `RxDatabase.collections$` observable for reactive access to collections
-- **ADD** support for the JavaScript `using` keyword to automatically remove databases in tests
-- **ADD** new `reactivity-angular` package
-- **CHANGE** moved `reactivity-vue` and `reactivity-preact-signals` from premium to core
-- **FIX** query results becoming incorrect when changes occur faster than query update [#7067](https://github.com/pubkey/rxdb/issues/7067)
-
-### 🧠 Debugging & Developer Experience
-
-- **ADD** `context` field to all RxDB write errors for easier debugging
-- **ADD** improved OPFS RxStorage error logging in `devMode`, including:
- - strict `TextDecoder` mode
- - detailed decoding error output
-- **ADD** internal `WeakRef` TypeScript types so users no longer need to enable `ES2021.WeakRef`
-- **ADD** [llms.txt](https://rxdb.info/llms.txt) for LLM-friendly documentation access
-- **CHANGE** `toggleOnDocumentVisible` now defaults to `true` [#6810](https://github.com/pubkey/rxdb/issues/6810)
-
-### 🗄️ Storage & Replication Fixes
-
-- **FIX** OPFS RxStorage memory and cleanup leaks
-- **FIX** memory-mapped storage not purging deleted documents
-- **FIX** `RxCollection.cleanup()` ignoring `minimumDeletedTime`
-- **FIX** short primary key lengths not matching replication schema [#7587](https://github.com/pubkey/rxdb/issues/7587)
-- **FIX** retry DenoKV commits when encountering `"database is locked"` errors
-- **FIX** close broadcast channels and leader election **after** database shutdown, not during
-- **CHANGE**: Store data as binary in IndexedDB to use less disc space.
-- **CHANGE**: Pull-Only replications no longer store the server metadata on the client.
-
-### 📐 Schema & Index Validation
-
-- **ADD** enforce maximum length for indexes and primary keys (`maxLength: 2048`)
-- **CHANGE** `final` schema fields no longer need to be marked as `required`
-
-### ⚙️ Performance & Internal Changes
-
-- **CHANGE** replace `appendToArray()` with `Array.concat()` for better browser-level optimizations
-- **ADD** ensure indexes and primary keys are validated consistently across replication schemas
-
-### 🔌 Plugins Graduating from Beta
-
-The following plugins are **no longer in beta** and are now considered production-ready:
-
-- Replication Appwrite
-- Replication Supabase
-- Replication MongoDB
-- RxStorage MongoDB
-- RxStorage Filesystem (Node)
-- RxStorage DenoKV
-- Attachment replication
-- CRDT Plugin
-- RxPipeline
-
-## You can help!
-
-There are many things that can be done by **you** to improve RxDB:
-
-- Check the [BACKLOG](https://github.com/pubkey/rxdb/blob/master/orga/BACKLOG.md) for features that would be great to have.
-- Check the [breaking backlog](https://github.com/pubkey/rxdb/blob/master/orga/before-next-major.md) for breaking changes that must be implemented in the future but where I did not have the time yet.
-- Check the [todos](https://github.com/pubkey/rxdb/search?q=todo) in the code. There are many small improvements that can be done for performance and build size.
-- Review the code and add tests. I am only a single human with a laptop. My code is not perfect and much small improvements can be done when people review the code and help me to clarify undefined behaviors.
-- Update the [example projects](https://github.com/pubkey/rxdb/tree/master/examples) some of them are outdated and need updates.
-
-## LinkedIn
-
-Stay connected with the latest updates and network with professionals in the RxDB community by following RxDB's [official LinkedIn page](https://www.linkedin.com/company/rxdb)!
-
-
-
----
-
-## Meet RxDB 8.0.0 - New Defaults & Performance
-
-# 8.0.0
-
-When I created RxDB, two years ago, there where some things that I did not consider and other things that I just decided wrong.
-With the breaking version `8.0.0` I rewrote some parts of RxDB and changed the API a bit. The focus laid on **better defaults** and **better performance**.
-
-## disableKeyCompression by default
-
-Because the keyCompression was confusing and most users do not use it, it is now disabled by default. Also the naming was bad, so `disableKeyCompression` is now renamed to `keyCompression` which defaults to `false`.
-
-## collection() now only accepts a RxJsonSchema as schema
-
-In the past, it was allowed to set an `RxSchema` or an `RxJsonSchema` as `schema`-field when creating a collection. This was confusing and so it is now only allowed to use `RxJsonSchema`.
-
-## required fields have to be set via array
-
-In the past it was allowed to set a field as required by setting the boolean value `required: true`.
-This is against the [json-schema-standard](https://json-schema.org/understanding-json-schema/reference/object.html#required-properties) and will make problems when switching between different schema-validation-plugins. Therefore required fields must now be set via `required: ['fieldOne', 'fieldTwo']`.
-
-## Setters are only callable on temporary documents
-
-To be similar to mongoosejs, there was the possibility to set a documents value via `myDoc.foo = 'bar'` and later call `myDoc.save()` to persist these changes.
-But there was the problem that we have no weak pointers in javascript and therefore we have to store all document-instances in a cache to run change-events on them and make them 'reactive'. To save memory-space, we reuse the same documents when they are used multiple times. This made it hard to determine what happens when multiple parts of an application used the setters at the same time. Also there was an undefined behavior what should happen when a field is changed via setter and also via replication before `save()` was called.
-
-- `myDoc.age = 50;`, `myDoc.set('age', 50);` and `myDoc.save()` is no more allowed on non-temporary-documents
-- Instead, to change document-data, use `RxDocument.atomicUpdate()` or `RxDocument.atomicSet()` or `RxDocument.update()`.
-- The following document-methods no longer exist: `synced$`, `resync()`
-
-## middleware-hooks contain plain json as first parameter and RxDocument as second
-
-When the middleware-hooks where created, the goal was to work equal then [mongoose](http://mongoosejs.com/docs/middleware.html). But this is not possible because mongoose is more 'static' and its documents never change their attributes. RxDB is a reactive database and when the state on disc changes, the attributes of the document also change. This caused some undefined behavior especially with async middleware-hooks. To solve this, hooks now can only modify the plain data, not the `RxDocument` itself.
-
-```javascript
-myCollection.preSave(function(data, rxDocument) {
- // to set age to 50 before saving, change the first parameter
- data.age = 50;
-}, false);
-```
-
-## multiInstance is now done via broadcast-channel
-
-Because the [BroadcastChannel-API](https://developer.mozilla.org/en-US/docs/Web/API/Broadcast_Channel_API) is not usable in all browsers and also not in NodeJs, multiInstance-communication was hard. The hacky workaround was to use a pseudo-socket and regularly check if an other instance has emitted a `RxChangeEvent`.
-This was expensive because even when the database did nothing, we wasted disk-IO and CPU by handling this.
-
-To solve this waste, I spend one month creating [a module that polyfills the broadcast-channel-api](https://github.com/pubkey/broadcast-channel) so it works on old browsers, new browsers and even NodeJs. This does not only waste less resources but also has a lower latency. Also the module is used by more projects than RxDB which allows use the fix bugs and improve performance together.
-
-## Set QueryChangeDetection via RxDatabase-option
-
-In the past, the QueryChangeDetection had to be enabled by importing the QueryChangeDetection and calling a function on it. This was strange and also did not allow to toggle the QueryChangeDetection on specific databases.
-Now we set the QueryChangeDetection by adding the boolean field `queryChangeDetection: true` when creating the database.
-
-```javascript
-const db = await RxDB.create({
- name: 'heroesdb',
- adapter: 'idb',
- queryChangeDetection: false // <- queryChangeDetection (optional, default: false)
-});
-console.dir(db);
-```
-
-## Reuse an RxDocument-prototype per collection instead of adding getters/setters to each document
-
-Because the fields of an `RxDocument` are defined dynamically by the schema and we could not use the `Proxy`-Object because it is not supported in IE11, there was one workaround used: Each time a document is created, all getters and setters where applied on it. This was expensive and now we use a different approach.
-Once per collection, a custom RxDocument-prototype and constructor is created and each RxDocument of this collection is created with the constructor. This change is a rewrite internally and should not change anything for RxDB-users. If you use RxDB with vuejs, you might get some problems that can be fixed by upgrading vuejs to the latest version.
-
-## Rewritten the inMemory-plugin
-
-The inMemory-plugin was written with some wrong estimations. I rewrote it and added much more tests. Also `awaitPersistence()` can now be used to check if all writes have already been replicated into the parent collection. Also `RxCollection.watchForChanges()` got split out from the `replication`-plugin into its own `watch-for-changes`-plugin because it is used in the inMemory and the replication functionality.
-
-## Some comparisons
-
-(Tested with node 10.6.0 and the memory-adapter, lower is better)
-
-Reproduce with `npm run build:size` and `npm run test:performance`
-
-| | 7.7.1 | 8.0.0 |
-| :-------------------------------------------: | :-----: | ---------- |
-| Bundle-Size (Webpack+minify+gzip) | 110 kb | 101.962 kb |
-| Spawn 1000 databases with 5 collections each | 8744 ms | 9906 ms |
-| insert 2000 documents | 8006 ms | 5781 ms |
-| find 10.000 documents | 3202 ms | 1312 ms |
-
----
-
-## RxDB 9.0.0 - Faster & Simpler
-
-# 9.0.0
-
-So I was working hard the past month to prepare everything for the next major release of RxDB. The last major release was 1,5 years ago by the way.
-
-When I started [listing up the planned changes](https://github.com/pubkey/rxdb/issues/1636) I had big ambitions about basically rewriting everything. But I found out this time has not come yet. There is some work to be done first. So version `9.0.0` was more about fixing all these small things that made improving the codebase difficult. Much has been refactored and moved. Some API-parts have been changed to have a more simple project with a cleaner codebase.
-
-Notice that I use major releases to bundle stuff that breaks the RxDB usage in your project. By having only few major releases you can be sure that you can upgrade in one big block instead of changing stuff each few months. Big features are released in non-major releases because they mostly can be implemented without side effects.
-
-## Breaking changes
-
-You have to apply these changes to your codebase when upgrading RxDB.
-
-### All default exports have been removed
-
-Using default exports and imports can be helpful when you want to write code fast.
-But using them also disabled the tree-shaking of your bundler which means you added much code to your bundle that was not even used. To prevent this common behavior, I removed all default exports and renamed functions so that they are more unlikely to clash with other non-RxDB function names.
-
-Instead of doing
-
-```typescript
-import RxDB from 'rxdb';
-RxDB.plugin(/* ... */);
-await RxDB.create({/* ... */});
-```
-
-You now do
-
-```typescript
-import { createRxDatabase, addRxPlugin } from 'rxdb';
-addRxPlugin(/* ... */);
-await createRxDatabase({/* ... */});
-```
-
-Also `removeDatabase()` is renamed to `removeRxDatabase()` and `plugin()` is now `addRxPlugin()`.
-
-Same goes for all previous default exports of the plugins.
-
-### Indexes are specified at the top level of the schema definition
-
-[related issue](https://github.com/pubkey/rxdb/issues/1655)
-
-In the past the indexes of a collection had to be specified at the field level of the schema like
-
-```json
-{
- "firstName": {
- "type": "string",
- "index": true
- }
-}
-```
-
-This made it complex to list up the index fields which had a bad performance on startup.
-To fix this the indexes are now specified at the top level of the schema like
-
-```json
-{
- "title": "my schema",
- "version": 0,
- "type": "object",
- "properties": {},
- "indexes": [
- "firstName",
- ["compound", "index"]
- ]
-}
-```
-
-### Encrypted fields at the top level of the schema
-
-Same as the indexes, encrypted fields are now also defined in the top level like
-
-```json
-{
- "title": "my schema",
- "version": 0,
- "type": "object",
- "properties": {},
- "encrypted": [
- "password"
- ]
-}
-```
-
-### New dev-mode plugin
-
-In the past we had stuff that is only wanted for development in the two plugins `error-messages` and `schema-check`.
-
-Now we have a single plugin `dev-mode` that contains all these checks and development helper functions. I also moved many other checks out of the core-module into dev-mode.
-
-```typescript
-import { RxDBDevModePlugin } from 'rxdb/plugins/dev-mode';
-addRxPlugin(RxDBDevModePlugin);
-```
-
-### New migration plugin
-
-The data migration was not used by all users of this project. Often it was easier to just wipe the local data store and let the client sync everything from the server. Because the migration has so much code, it is now in a separate plugin so that you do not have to ship this code to the clients if not necessary.
-
-```typescript
-import { RxDBMigrationPlugin } from 'rxdb/plugins/migration';
-addRxPlugin(RxDBMigrationPlugin);
-```
-
-### Rewritten key-compression
-
-The key-compression logic was fully coded only for RxDB. This was a problem because it was not usable for other stuff and also badly tested. We had a known problem with nested arrays that caused much confusion because some queries did not find the correct documents.
-
-I now created a npm-package [jsonschema-key-compression](https://github.com/pubkey/jsonschema-key-compression) that has cleaner code, better tests and can also be used for non-RxDB stuff.
-
-If you used the key-compression in the past and have clients out there with old data, you have to find a way to migrate that data by using the json-import or other solutions depending on your project.
-
-### Rewritten query-change-detection to event-reduce
-
-One big benefit of having a [realtime database](../articles/realtime-database.md) is that big performance optimizations can be done when the database knows a query is observed and the updated results are needed continuously. In the past this optimization was done by the internal `queryChangeDetection` which was a big tree of if-else-statements that hopefully worked. This was also the reason why queryChangeDetection was in beta mode and not enabled by default.
-
-After months of research and testing I was able to create [Event-Reduce: An algorithm to optimize database queries that run multiple times](https://github.com/pubkey/event-reduce). This JavaScript module contains an algorithm that is able to optimize realtime queries in a way that was not possible before. The algorithm is not RxDB specific and also heavily tested.
-
-Instead of setting `queryChangeDetection` when creating a `RxDatabase`, you now set `eventReduce` which defaults to `true`.
-
-### find() and findOne() now accepts the full mango query
-
-In the past, only the selector of a query could be passed to `find()` and `findOne()` if you wanted to also do `sort`, `skip` or `limit`, you had to call additional functions like
-
-```typescript
-const query = myRxCollection.find({
- age: {
- $gt: 10
- }
-}).sort('name').skip(5).limit(10);
-```
-
-Now you can pass the full query to the function call like
-
-```typescript
-const query = myRxCollection.find({
- selector: {
- age: {
- $gt: 10
- }
- },
- sort: [{name: 'asc'}],
- skip: 5,
- limit: 10
-});
-```
-
-### moved query builder to own plugin
-
-The query builder that allowed to create queries like `.where('foo').eq('bar')` etc. was not really used by many people. Most of the time it is better to just pass the full query as simple json object. Also the code for the query builder was big and increased the build size much more than its value added. Only some edge-cases where recursive query modification was needed made the query builder useful. If you still want to use the query builder, you have to import the plugin.
-
-```typescript
-import { RxDBQueryBuilderPlugin } from 'rxdb/plugins/query-builder';
-addRxPlugin(RxDBQueryBuilderPlugin);
-```
-### Refactored RxChangeEvent
-
-The whole data structure of `RxChangeEvent` was way more complicated than it had to be. I refactored the whole class to be more simple. If you directly use `RxChangeEvent` in your project you have to adapt to these changes. Also the stream of `RxDatabase().$` will no longer emit the `COLLECTION` event when a new collection is created.
-
-### Internal hash() is now using a salt
-
-The internal hash function was used to store hashes of database passwords to compare them and directly throw errors when the wrong password was used with an existing data set. This was dangerous because you could use rainbow tables or even [just google](https://www.google.com/search?q=e5e9fa1ba31ecd1ae84f75caaa474f3a663f05f4) the hash to find out the plain password. So now the internal hashing is using a salt to prevent these attacks. If you have used the encryption in the past, you have to migrate your internal schema storage.
-
-### Changed default of RxDocument.toJSON()
-
-By default `RxDocument.toJSON()` always returned also the `_rev` field and the `_attachments`. This was confusing behavior which is why I changed the default to `RxDocument().toJSON(withRevAndAttachments = false)`
-
-### Typescript 3.8.0 or newer is required
-
-Because RxDB and some subdependencies extensively use `export type ...` you now need typescript `3.8.0` or newer.
-
-### GraphQL replication will run a schema validation of incoming data
-In dev-mode, the GraphQL-replication will run a schema validation of each document that comes from the server before it is saved to the database.
-
-## Internal and other changes
-
-I refactored much internal stuff and moved much code out of the core into the specific plugins.
-
-* Renamed `RxSchema.jsonID` to `RxSchema.jsonSchema`
-* Moved remaining stuff of leader-election from core into the plugin
-* Merged multiple internal databases for metadata into one `internalStore`
-* Removed many runtime type checks that now should be covered by typescript in buildtime
-* The GraphQL replication is now out of beta mode
-* Removed documentation examples for `require()` CommonJS loading
-* Removed `RxCollection.docChanges$()` because all events are from the docs
-
-## Help wanted
-
-RxDB is an open source project an heavily relies on the contribution of its users. There are some things that must be done, but I have no time for them.
-
-### Refactor data-migrator
-
-The current implementation has some flaws and should be completely rewritten.
-
-* It does not use pouchdb's bulkDocs which is much faster
-* It could have been written without rxjs and with less code that is easier to understand
-* It does not migrate the revisions of documents which causes a problem when replication is used
-
-### Add e2e tests to the react example
-
-The [react example](https://github.com/pubkey/rxdb/tree/master/examples/react) has no end-to-end tests which is why the CI does not ensure that it works all the time. We should add some basic tests like we did for the other example projects.
-
-### Fix pouchdb bug so we can upgrade pouchdb-find
-
-There is a [bug in pouchdb](https://github.com/pouchdb/pouchdb/issues/7810) that prevents the upgrade of `pouchdb-find`. This is why RxDB relies on an old version of `pouchdb-find` that also requires different sub-dependencies. This increases the build size a lot because for example we ship multiple version of `spark-md5` and others.
-
-## About the future of RxDB
-
-At the moment RxDB is a realtime database based on pouchdb. In the future I want RxDB to be a wrapper around pull-based databases that also works with other source-dbs like mongoDB or PostgreSQL. As a start I defined the `RxStorage` interface and created a `RxStoragePouchdb` class that implements it and contains all pouchdb-specific logic. I want to move every direct storage usage into that interface so that later we can create other implementations of it for other source databases.
-
----
-
-## Appwrite Realtime Sync for Local-First Apps
-
-import {Tabs} from '@site/src/components/tabs';
-import {Steps} from '@site/src/components/steps';
-import {VideoBox} from '@site/src/components/video-box';
-import {RxdbMongoDiagramPlain} from '@site/src/components/mongodb-sync';
-
-# RxDB Appwrite Replication
-
-This replication plugin allows you to synchronize documents between RxDB and an Appwrite server. It supports both push and pull replication, live updates via Appwrite's real-time subscriptions, [offline-capability](./offline-first.md) and [conflict resolution](./transactions-conflicts-revisions.md).
-
-
-
-
-
-## Why you should use RxDB with Appwrite?
-
-**Appwrite** is a secure, open-source backend server that simplifies backend tasks like user authentication, storage, database management, and real-time APIs.
-**RxDB** is a reactive database for the frontend that offers offline-first capabilities and rich client-side data handling.
-
-Combining the two provides several benefits:
-
-1. [Offline-First](./offline-first.md): RxDB keeps all data locally, so your application remains fully functional even when the network is unavailable. When connectivity returns, the RxDB ↔ Appwrite replication automatically resolves and synchronizes changes.
-
-2. **Real-Time Sync**: With Appwrite’s real-time subscriptions and RxDB’s live replication, you can build collaborative features that update across all clients instantaneously.
-
-3. [Conflict Handling](./transactions-conflicts-revisions.md): RxDB offers flexible conflict resolution strategies, making it simpler to handle concurrent edits across multiple users or devices.
-
-4. **Scalable & Secure**: Appwrite is built to handle production loads with granular access controls, while RxDB easily scales across various storage backends on the client side.
-
-5. **Simplicity & Modularity**: RxDB’s plugin-based architecture, combined with Appwrite’s Cloud offering makes it one of the easiest way to build local-first [realtime apps](./articles/realtime-database.md) that scale.
-
-
-
-## Preparing the Appwrite Server
-
-You can either use the appwrite cloud or self-host the Appwrite server. In this tutorial we use the Cloud which is recommended for beginners because it is way easier to set up. You can later decide to self-host if needed.
-
-
-
-### Set up an Appwrite Endpoint and Project
-
-
-
-#### Self-Hosted
-
-
-
-##### Docker
-
-Ensure docker and docker-compose is installed and your version are up to date:
-
-```bash
-docker-compose -v
-```
-
-##### Run the installation script
-
-The installation script runs inside of a docker container. It will create a docker-compose file and an `.env` file.
-
-```bash
-docker run -it --rm \
- --volume /var/run/docker.sock:/var/run/docker.sock \
- --volume "$(pwd)"/appwrite:/usr/src/code/appwrite:rw \
- --entrypoint="install" \
- appwrite/appwrite:1.6.1
-```
-
-##### Start/Stop
-
-After the installation is done, you can manually stop and start the appwrite instance with docker compose:
-
-```bash
-# stop
-docker-compose down
-
-# start
-docker-compose up
-```
-
-
-
-#### Appwrite Cloud
-
-
-
-##### Create a Cloud Account
-
-Got to the Appwrite Console, create an account and login.
-
-#### Create a Project
-
-At the console click the `+ Create Project` button to create a new project. Remember the `project-id` which will be used later.
-
-
-
-
-
-### Create an Appwrite Database and Collection
-
-After creating an Appwrite project you have to create an Appwrite Database and a collection, you can either do this in code with the node-appwrite SDK or in the Appwrite Console as shown in this video:
-
-
-
-
-
-### Add your documents attributes
-
-In the appwrite collection, create all attributes of your documents. You have to define all the fields that your document in your [RxDB schema](./rx-schema.md) knows about. Notice that Appwrite does not allow for nested attributes. So when you use RxDB with Appwrite, you should also not have nested attributes in your RxDB schema.
-
-### Add a `deleted` attribute
-
-Appwrite (natively) hard-deletes documents. But for offline-handling RxDB needs soft-deleted documents on the server so that the deletion state can be replicated with other clients.
-
-In RxDB, `_deleted` indicates that a document is removed locally and you need a similar field in your Appwrite collection on the Server: You must define a deletedField with any name to mark documents as "deleted" in the remote collection. Mostly you would use a boolean field named `deleted` (set it to `required`). The plugin will treat any document with `{ [deletedField]: true }` as deleted and replicate that state to local RxDB.
-
-### Set the Permission on the Appwrite Collection
-
-Appwrite uses permissions to control data access on the collection level. Make sure that in the Console at `Collection -> Settings -> Permissions` you have set the permission according to what you want to allow your clients to do. For testing, just enable all of them (Create, Read, Update and Delete).
-
-
-
-## Setting up the RxDB - Appwrite Replication
-
-Now that we have set up the Appwrite server, we can go to the client side code and set up RxDB and the replication:
-
-
-
-### Install the Appwrite SDK and RxDB:
-
-```bash
-npm install appwrite rxdb
-```
-
-### Import the Appwrite SDK and RxDB
-
-```ts
-import {
- replicateAppwrite
-} from 'rxdb/plugins/replication-appwrite';
-import {
- createRxDatabase,
- addRxPlugin,
- RxCollection
-} from 'rxdb/plugins/core';
-import {
- getRxStorageLocalstorage
-} from 'rxdb/plugins/storage-localstorage';
-
-import { Client } from 'appwrite';
-```
-
-### Create a Database with a Collection
-
-```ts
-const db = await createRxDatabase({
- name: 'mydb',
- storage: getRxStorageLocalstorage()
-});
-const mySchema = {
- title: 'my schema',
- version: 0,
- primaryKey: 'id',
- type: 'object',
- properties: {
- id: {
- type: 'string',
- maxLength: 100
- },
- name: {
- type: 'string'
- }
- },
- required: ['id', 'name']
-};
-await db.addCollections({
- humans: {
- schema: mySchema
- }
-});
-const collection = db.humans;
-```
-
-### Configure the Appwrite Client
-
-
-
-#### Appwrite Cloud
-
-```ts
-const client = new Client();
-client.setEndpoint('https://cloud.appwrite.io/v1');
-client.setProject('YOUR_APPWRITE_PROJECT_ID');
-```
-
-#### Self-Hosted
-
-```ts
-const client = new Client();
-client.setEndpoint('http://localhost/v1');
-client.setProject('YOUR_APPWRITE_PROJECT_ID');
-```
-
-
-
-### Start the Replication
-
-```ts
-const replicationState = replicateAppwrite({
- replicationIdentifier: 'my-appwrite-replication',
- client,
- databaseId: 'YOUR_APPWRITE_DATABASE_ID',
- collectionId: 'YOUR_APPWRITE_COLLECTION_ID',
- deletedField: 'deleted', // Field that represents deletion in Appwrite
- collection,
- pull: {
- batchSize: 10,
- },
- push: {
- batchSize: 10
- },
- /*
- * ...
- * You can set all other options for RxDB replication states
- * like 'live' or 'retryTime'
- * ...
- */
-});
-```
-
-### Do other things with the replication state
-
-The `RxAppwriteReplicationState` which is returned from `replicateAppwrite()` allows you to run all functionality of the normal [RxReplicationState](./replication.md).
-
-
-
-
-
-## Limitations of the Appwrite Replication Plugin
-
-- Appwrite primary keys only allow for the characters `a-z`, `A-Z`, `0-9`, and underscore `_` (They cannot start with a leading underscore). Also the primary key has a max length of 36 characters.
-- The Appwrite replication **only works on browsers**. This is because the Appwrite SDK does not support subscriptions in Node.js.
-- Appwrite does not allow for bulk write operations so on push one HTTP request will be made per document. Reads run in bulk so this is mostly not a problem.
-- Appwrite does not allow for transactions or "update-if" calls which can lead to overwriting documents instead of properly handling [conflicts](./transactions-conflicts-revisions.md#conflicts) when multiple clients edit the same document in parallel. This is not a problem for inserts because "insert-if-not" calls are made.
-- Nested attributes in Appwrite collections are only possible via experimental relationship attributes, and compatibility with RxDB is not tested. Users opting to use these experimental relationship attributes with RxDB do so at their own risk.
-
----
-
-## RxDB's CouchDB Replication Plugin
-
-# Replication with CouchDB
-
-A plugin to replicate between a RxCollection and a CouchDB server.
-
-This plugins uses the RxDB [Sync Engine](./replication.md) to replicate with a CouchDB endpoint. This plugin **does NOT** use the official [CouchDB replication protocol](https://docs.couchdb.org/en/stable/replication/protocol.html) because the CouchDB protocol was optimized for server-to-server replication and is not suitable for fast client side applications, mostly because it has to run many HTTP-requests (at least one per document) and also it has to store the whole revision tree of the documents at the client. This makes initial replication and querying very slow.
-
-Because the way how RxDB handles revisions and documents is very similar to CouchDB, using the RxDB replication with a CouchDB endpoint is pretty straightforward.
-
-## Pros
-
-- Faster initial replication.
-- Works with any [RxStorage](./rx-storage.md), not just PouchDB.
-- Easier conflict handling because conflicts are handled during replication and not afterwards.
-- Does not have to store all document revisions on the client, only stores the newest version.
-
-## Cons
-
-- Does not support the replication of [attachments](./rx-attachment.md).
-- Like all CouchDB replication plugins, this one is also limited to replicating 6 collections in parallel. [Read this for workarounds](./replication-couchdb.md#limitations)
-
-## Usage
-
-Start the replication via `replicateCouchDB()`.
-
-```ts
-import { replicateCouchDB } from 'rxdb/plugins/replication-couchdb';
-
-const replicationState = replicateCouchDB(
- {
- replicationIdentifier: 'my-couchdb-replication',
- collection: myRxCollection,
- // url to the CouchDB endpoint (required)
- url: 'http://example.com/db/humans',
- /**
- * true for live replication,
- * false for a one-time replication.
- * [default=true]
- */
- live: true,
- /**
- * A custom fetch() method can be provided
- * to add authentication or credentials.
- * Can be swapped out dynamically
- * by running 'replicationState.fetch = newFetchMethod;'.
- * (optional)
- */
- fetch: myCustomFetchMethod,
- pull: {
- /**
- * Amount of documents to be fetched in one HTTP request
- * (optional)
- */
- batchSize: 60,
- /**
- * Custom modifier to mutate pulled documents
- * before storing them in RxDB.
- * (optional)
- */
- modifier: docData => {/* ... */},
- /**
- * Heartbeat time in milliseconds
- * for the long polling of the changestream.
- * @link https://docs.couchdb.org/en/3.2.2-docs/api/database/changes.html
- * (optional, default=60000)
- */
- heartbeat: 60000
- },
- push: {
- /**
- * How many local changes to process at once.
- * (optional)
- */
- batchSize: 60,
- /**
- * Custom modifier to mutate documents
- * before sending them to the CouchDB endpoint.
- * (optional)
- */
- modifier: docData => {/* ... */}
- }
- }
-);
-```
-
-When you call `replicateCouchDB()` it returns a `RxCouchDBReplicationState` which can be used to subscribe to events, for debugging or other functions. It extends the [RxReplicationState](./replication.md) so any other method that can be used there can also be used on the CouchDB replication state.
-
-## Conflict handling
-
-When conflicts appear during replication, the `conflictHandler` of the `RxCollection` is used, equal to the other replication plugins. Read more about conflict handling [here](./replication.md#conflict-handling).
-
-## Auth example
-
-Lets say for authentication you need to add a [bearer token](https://swagger.io/docs/specification/authentication/bearer-authentication/) as HTTP header to each request. You can achieve that by crafting a custom `fetch()` method that add the header field.
-
-```ts
-
-const myCustomFetch = (url, options) => {
-
- // flat clone the given options to not mutate the input
- const optionsWithAuth = Object.assign({}, options);
- // ensure the headers property exists
- if(!optionsWithAuth.headers) {
- optionsWithAuth.headers = {};
- }
- // add bearer token to headers
- optionsWithAuth.headers['Authorization'] ='Basic S0VLU0UhIExFQ0...';
-
- // call the original fetch function with our custom options.
- return fetch(
- url,
- optionsWithAuth
- );
-};
-
-const replicationState = replicateCouchDB(
- {
- replicationIdentifier: 'my-couchdb-replication',
- collection: myRxCollection,
- url: 'http://example.com/db/humans',
- /**
- * Add the custom fetch function here.
- */
- fetch: myCustomFetch,
- pull: {},
- push: {}
- }
-);
-```
-
-Also when your bearer token changes over time, you can set a new custom `fetch` method while the replication is running:
-
-```ts
-replicationState.fetch = newCustomFetchMethod;
-```
-
-Also there is a helper method `getFetchWithCouchDBAuthorization()` to create a fetch handler with authorization:
-
-```ts
-
-import {
- replicateCouchDB,
- getFetchWithCouchDBAuthorization
-} from 'rxdb/plugins/replication-couchdb';
-
-const replicationState = replicateCouchDB(
- {
- replicationIdentifier: 'my-couchdb-replication',
- collection: myRxCollection,
- url: 'http://example.com/db/humans',
- /**
- * Add the custom fetch function here.
- */
- fetch: getFetchWithCouchDBAuthorization('myUsername', 'myPassword'),
- pull: {},
- push: {}
- }
-);
-```
-
-## Limitations
-
-Since CouchDB only allows synchronization through HTTP1.1 long polling requests there is a limitation of 6 active synchronization connections before the browser prevents sending any further request. This limitation is at the level of browser per tab per domain (some browser, especially older ones, might have a different limit, [see here](https://docs.pushtechnology.com/cloud/latest/manual/html/designguide/solution/support/connection_limitations.html)).
-
-Since this limitation is at the **browser** level there are several solutions:
- - Use only a single database for all entities and set a "type" field for each of the documents
- - Create multiple subdomains for CouchDB and use a max of 6 active synchronizations (or less) for each
- - Use a proxy (ex: HAProxy) between the browser and CouchDB and configure it to use HTTP2.0, since HTTP2.0
-
-If you use nginx in front of your CouchDB, you can use these settings to enable http2-proxying to prevent the connection limit problem:
-```
-server {
- http2 on;
- location /db {
- rewrite /db/(.*) /$1 break;
- proxy_pass http://172.0.0.1:5984;
- proxy_redirect off;
- proxy_buffering off;
- proxy_set_header Host $host;
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded
- proxy_set_header Connection "keep_alive"
- }
-}
-```
-
-## Known problems
-
-### Database missing
-
-In contrast to PouchDB, this plugin **does NOT** automatically create missing CouchDB databases.
-If your CouchDB server does not have a database yet, you have to create it by yourself by running a `PUT` request to the database `name` url:
-
-```ts
-// create a 'humans' CouchDB database on the server
-const remoteDatabaseName = 'humans';
-await fetch(
- 'http://example.com/db/' + remoteDatabaseName,
- {
- method: 'PUT'
- }
-);
-```
-
-## React Native
-
-React Native does not have a global `fetch` method. You have to import fetch method with the [cross-fetch](https://www.npmjs.com/package/cross-fetch) package:
-
-```ts
-import crossFetch from 'cross-fetch';
-const replicationState = replicateCouchDB(
- {
- replicationIdentifier: 'my-couchdb-replication',
- collection: myRxCollection,
- url: 'http://example.com/db/humans',
- fetch: crossFetch,
- pull: {},
- push: {}
- }
-);
-```
-
----
-
-## Smooth Firestore Sync for Offline Apps
-
-import {Steps} from '@site/src/components/steps';
-
-# Replication with Firestore from Firebase
-
-With the `replication-firestore` plugin you can do a two-way realtime replication
-between your client side [RxDB](./) Database and a [Cloud Firestore](https://firebase.google.com/docs/firestore) database that is hosted on the Firebase platform. It will use the [RxDB Sync Engine](./replication.md) to manage the replication streams, error- and conflict handling.
-
-
-
-Replicating your Firestore state to RxDB can bring multiple benefits compared to using the Firestore directly:
-- It can reduce your cloud fees because your queries run against the local state of the documents without touching a server and writes can be batched up locally and send to the backend in bulks. This is mostly the case for read heavy applications.
-- You can run complex [NoSQL queries](./why-nosql.md) on your documents because you are not bound to the [Firestore Query](https://firebase.google.com/docs/firestore/query-data/queries) handling. You can also use local indexes, [compression](./key-compression.md) and [encryption](./encryption.md) and do things like fulltext search, fully locally.
-- Your application can be truly [Offline-First](./offline-first.md) because your data is stored in a client side database. In contrast Firestore by itself only provides options to support [offline also](https://cloud.google.com/firestore/docs/manage-data/enable-offline) which more works like a cache and requires the user to be online at application start to run authentication.
-- It reduces the vendor lock in because you can switch out the backend server afterwards without having to rebuild big parts of the application. RxDB supports replication plugins with multiple technologies and it is even easy to set up with your [custom backend](./replication.md).
-- You can use sophisticated [conflict resolution strategies](./replication.md#conflict-handling) so you are not bound to the Firestore [last-write-wins](https://stackoverflow.com/a/47781502/3443137) strategy which is not suitable for many applications.
-- The initial load time of your application can be decreased because it will do an incremental replication on restarts.
-
-## Usage
-
-
-
-### Install the firebase package
-
-```bash
-npm install firebase
-```
-
-### Initialize your Firestore Database
-
-```ts
-import * as firebase from 'firebase/app';
-import {
- getFirestore,
- collection
-} from 'firebase/firestore';
-
-const projectId = 'my-project-id';
-const app = firebase.initializeApp({
- projectId,
- databaseURL: 'http://localhost:8080?ns=' + projectId,
- /* ... */
-});
-const firestoreDatabase = getFirestore(app);
-const firestoreCollection = collection(firestoreDatabase, 'my-collection-name');
-```
-
-### Start the Replication
-
-Start the replication by calling `replicateFirestore()` on your [RxCollection](./rx-collection.md).
-
-```ts
-const replicationState = replicateFirestore({
- replicationIdentifier: `https://firestore.googleapis.com/${projectId}`,
- collection: myRxCollection,
- firestore: {
- projectId,
- database: firestoreDatabase,
- collection: firestoreCollection
- },
- /**
- * (required) Enable push and pull replication with firestore by
- * providing an object with optional filter
- * for each type of replication desired.
- * [default=disabled]
- */
- pull: {},
- push: {},
- /**
- * Either do a live or a one-time replication
- * [default=true]
- */
- live: true,
- /**
- * (optional) likely you should just use the default.
- *
- * In firestore it is not possible to read out
- * the internally used write timestamp of a document.
- * Even if we could read it out, it is not indexed which
- * is required for fetch 'changes-since-x'.
- * So instead we have to rely on a custom user defined field
- * that contains the server time
- * which is set by firestore via serverTimestamp()
- * Notice that the serverTimestampField MUST NOT be
- * part of the collections RxJsonSchema!
- * [default='serverTimestamp']
- */
- serverTimestampField: 'serverTimestamp'
-});
-```
-
-To observe and cancel the replication, you can use any other methods from the [ReplicationState](./replication.md) like `error$`, `cancel()` and `awaitInitialReplication()`.
-
-
-
-## Handling deletes
-
-RxDB requires you to never [fully delete documents](./replication.md#data-layout-on-the-server). This is needed to be able to replicate the deletion state of a document to other instances. The firestore replication will set a boolean `_deleted` field to all documents to indicate the deletion state. You can change this by setting a different `deletedField` in the sync options.
-
-## Do not set `enableIndexedDbPersistence()`
-
-Firestore has the `enableIndexedDbPersistence()` feature which caches document states locally to IndexedDB. This is not needed when you replicate your Firestore with RxDB because RxDB itself will store the data locally already.
-
-## Using the replication with an already existing Firestore Database State
-
-If you have not used RxDB before and you already have documents inside of your Firestore database, you have
-to manually set the `_deleted` field to `false` and the `serverTimestamp` to all existing documents.
-
-```ts
-import {
- getDocs,
- query,
- serverTimestamp
-} from 'firebase/firestore';
-const allDocsResult = await getDocs(query(firestoreCollection));
-allDocsResult.forEach(doc => {
- doc.update({
- _deleted: false,
- serverTimestamp: serverTimestamp()
- })
-});
-```
-
-Also notice that if you do writes from non-RxDB applications, you have to keep these fields in sync. It is recommended to use the [Firestore triggers](https://firebase.google.com/docs/functions/firestore-events) to ensure that.
-
-## Filtered Replication
-
-You might need to replicate only a subset of your collection, either to or from Firestore. You can achieve this using `push.filter` and `pull.filter` options.
-
-```ts
-const replicationState = replicateFirestore(
- {
- collection: myRxCollection,
- firestore: {
- projectId,
- database: firestoreDatabase,
- collection: firestoreCollection
- },
- pull: {
- filter: [
- where('ownerId', '==', userId)
- ]
- },
- push: {
- filter: (item) => item.syncEnabled === true
- }
- }
-);
-```
-
-Keep in mind that you can not use inequality operators `(<, <=, !=, not-in, >, or >=)` in `pull.filter` since that would cause a conflict with ordering by `serverTimestamp`.
-
----
-
-## GraphQL Replication
-
-# Replication with GraphQL
-
-The GraphQL replication provides handlers for GraphQL to run [replication](./replication.md) with GraphQL as the transportation layer.
-
-The GraphQL replication is mostly used when you already have a backend that exposes a GraphQL API that can be adjusted to serve as a replication endpoint. If you do not already have a GraphQL endpoint, using the [HTTP replication](./replication-http.md) is an easier solution.
-
-:::note
-To play around, check out the full example of the RxDB [GraphQL replication with server and client](https://github.com/pubkey/rxdb/tree/master/examples/graphql)
-:::
-
-## Usage
-
-Before you use the GraphQL replication, make sure you've learned how the [RxDB replication](./replication.md) works.
-
-### Creating a compatible GraphQL Server
-
-At the server-side, there must exist an endpoint which returns newer rows when the last `checkpoint` is used as input. For example lets say you create a `Query` `pullHuman` which returns a list of document writes that happened after the given checkpoint.
-
-For the push-replication, you also need a `Mutation` `pushHuman` which lets RxDB update data of documents by sending the previous document state and the new client document state.
-Also for being able to stream all ongoing events, we need a `Subscription` called `streamHuman`.
-
-```graphql
-input HumanInput {
- id: ID!,
- name: String!,
- lastName: String!,
- updatedAt: Float!,
- deleted: Boolean!
-}
-type Human {
- id: ID!,
- name: String!,
- lastName: String!,
- updatedAt: Float!,
- deleted: Boolean!
-}
-input Checkpoint {
- id: String!,
- updatedAt: Float!
-}
-type HumanPullBulk {
- documents: [Human]!
- checkpoint: Checkpoint
-}
-
-type Query {
- pullHuman(checkpoint: Checkpoint, limit: Int!): HumanPullBulk!
-}
-
-input HumanInputPushRow {
- assumedMasterState: HeroInputPushRowT0AssumedMasterStateT0
- newDocumentState: HeroInputPushRowT0NewDocumentStateT0!
-}
-
-type Mutation {
- # Returns a list of all conflicts
- # If no document write caused a conflict, return an empty list.
- pushHuman(rows: [HumanInputPushRow!]): [Human]
-}
-
-# headers are used to authenticate the subscriptions
-# over websockets.
-input Headers {
- AUTH_TOKEN: String!;
-}
-type Subscription {
- streamHuman(headers: Headers): HumanPullBulk!
-}
-
-```
-
-The GraphQL resolver for the `pullHuman` would then look like:
-
-```js
-const rootValue = {
- pullHuman: args => {
- const minId = args.checkpoint ? args.checkpoint.id : '';
- const minUpdatedAt = args.checkpoint ? args.checkpoint.updatedAt : 0;
-
- // sorted by updatedAt first and the id as second
- const sortedDocuments = documents.sort((a, b) => {
- if (a.updatedAt > b.updatedAt) return 1;
- if (a.updatedAt < b.updatedAt) return -1;
- if (a.updatedAt === b.updatedAt) {
- if (a.id > b.id) return 1;
- if (a.id < b.id) return -1;
- else return 0;
- }
- });
-
- // only return documents newer than the input document
- const filterForMinUpdatedAtAndId = sortedDocuments.filter(doc => {
- if (doc.updatedAt < minUpdatedAt) return false;
- if (doc.updatedAt > minUpdatedAt) return true;
- if (doc.updatedAt === minUpdatedAt) {
- // if updatedAt is equal, compare by id
- if (doc.id > minId) return true;
- else return false;
- }
- });
-
- // only return some documents in one batch
- const limitedDocs = filterForMinUpdatedAtAndId.slice(0, args.limit);
-
- // use the last document for the checkpoint
- const lastDoc = limitedDocs[limitedDocs.length - 1];
- const retCheckpoint = {
- id: lastDoc.id,
- updatedAt: lastDoc.updatedAt
- }
-
- return {
- documents: limitedDocs,
- checkpoint: retCheckpoint
- }
-
- return limited;
- }
-}
-```
-
-For examples for the other resolvers, consult the [GraphQL Example Project](https://github.com/pubkey/rxdb/blob/master/examples/graphql/server/index.js).
-
-### RxDB Client
-
-#### Pull replication
-
-For the pull-replication, you first need a `pullQueryBuilder`. This is a function that gets the last replication `checkpoint` and a `limit` as input and returns an object with a GraphQL-query and its variables (or a promise that resolves to the same object). RxDB will use the query builder to construct what is later sent to the GraphQL endpoint.
-
-```js
-const pullQueryBuilder = (checkpoint, limit) => {
- /**
- * The first pull does not have a checkpoint
- * so we fill it up with defaults
- */
- if (!checkpoint) {
- checkpoint = {
- id: '',
- updatedAt: 0
- };
- }
- const query = `query PullHuman($checkpoint: CheckpointInput, $limit: Int!) {
- pullHuman(checkpoint: $checkpoint, limit: $limit) {
- documents {
- id
- name
- age
- updatedAt
- deleted
- }
- checkpoint {
- id
- updatedAt
- }
- }
- }`;
- return {
- query,
- operationName: 'PullHuman',
- variables: {
- checkpoint,
- limit
- }
- };
-};
-```
-
-With the queryBuilder, you can then setup the pull-replication.
-
-```js
-import { replicateGraphQL } from 'rxdb/plugins/replication-graphql';
-const replicationState = replicateGraphQL(
- {
- collection: myRxCollection,
- // urls to the GraphQL endpoints
- url: {
- http: 'http://example.com/graphql'
- },
- pull: {
- queryBuilder: pullQueryBuilder, // the queryBuilder from above
- modifier: doc => doc, // (optional) modifies all pulled documents before they are handled by RxDB
- dataPath: undefined, // (optional) specifies the object path to access the document(s). Otherwise, the first result of the response data is used.
- /**
- * Amount of documents that the remote will send in one request.
- * If the response contains less than [batchSize] documents,
- * RxDB will assume there are no more changes on the backend
- * that are not replicated.
- * This value is the same as the limit in the pullHuman() schema.
- * [default=100]
- */
- batchSize: 50
- },
- // headers which will be used in http requests against the server.
- headers: {
- Authorization: 'Bearer abcde...'
- },
-
- /**
- * Options that have been inherited from the RxReplication
- */
- deletedField: 'deleted',
- live: true,
- retryTime = 1000 * 5,
- waitForLeadership = true,
- autoStart = true,
- }
-);
-```
-
-#### Push replication
-
-For the push-replication, you also need a `queryBuilder`. Here, the builder receives a changed document as input which has to be send to the server. It also returns a GraphQL-Query and its data.
-
-```js
-const pushQueryBuilder = rows => {
- const query = `
- mutation PushHuman($writeRows: [HumanInputPushRow!]) {
- pushHuman(writeRows: $writeRows) {
- id
- name
- age
- updatedAt
- deleted
- }
- }
- `;
- const variables = {
- writeRows: rows
- };
- return {
- query,
- operationName: 'PushHuman',
- variables
- };
-};
-```
-
-With the queryBuilder, you can then setup the push-replication.
-
-```js
-const replicationState = replicateGraphQL(
- {
- collection: myRxCollection,
- // urls to the GraphQL endpoints
- url: {
- http: 'http://example.com/graphql'
- },
- push: {
- queryBuilder: pushQueryBuilder, // the queryBuilder from above
- /**
- * batchSize (optional)
- * Amount of document that will be pushed to the server in a single request.
- */
- batchSize: 5,
- /**
- * modifier (optional)
- * Modifies all pushed documents before they are send to the GraphQL endpoint.
- * Returning null will skip the document.
- */
- modifier: doc => doc
- },
- headers: {
- Authorization: 'Bearer abcde...'
- },
- pull: {
- /* ... */
- },
- /* ... */
- }
-);
-```
-
-#### Pull Stream
-
-To create a **realtime** replication, you need to create a pull stream that pulls ongoing writes from the server.
-The pull stream gets the `headers` of the `RxReplicationState` as input, so that it can be authenticated on the backend.
-
-```js
-const pullStreamQueryBuilder = (headers) => {
- const query = `subscription onStream($headers: Headers) {
- streamHero(headers: $headers) {
- documents {
- id,
- name,
- age,
- updatedAt,
- deleted
- },
- checkpoint {
- id
- updatedAt
- }
- }
- }`;
- return {
- query,
- variables: {
- headers
- }
- };
-};
-```
-
-With the `pullStreamQueryBuilder` you can then start a realtime replication.
-
-```js
-const replicationState = replicateGraphQL(
- {
- collection: myRxCollection,
- // urls to the GraphQL endpoints
- url: {
- http: 'http://example.com/graphql',
- ws: 'ws://example.com/subscriptions' // <- The websocket has to use a different url.
- },
- push: {
- batchSize: 100,
- queryBuilder: pushQueryBuilder
- },
- headers: {
- Authorization: 'Bearer abcde...'
- },
- pull: {
- batchSize: 100,
- queryBuilder: pullQueryBuilder,
- streamQueryBuilder: pullStreamQueryBuilder,
- includeWsHeaders: false, // Includes headers as connection parameter to Websocket.
-
- // Websocket options that can be passed as a parameter to initialize the subscription
- // Can be applied anything from the graphql-ws ClientOptions - https://the-guild.dev/graphql/ws/docs/interfaces/client.ClientOptions
- // Except these parameters: 'url', 'shouldRetry', 'webSocketImpl' - locked for internal usage
- // Note: if you provide connectionParams as a wsOption, make sure it returns any necessary headers (e.g. authorization)
- // because providing your own connectionParams prevents headers from being included automatically
- wsOptions: {
- retryAttempts: 10,
- }
- },
- deletedField: 'deleted'
- }
-);
-```
-
-:::note
-If it is not possible to create a websocket server on your backend, you can use any other method of pull out the ongoing events from the backend and then you can send them into `RxReplicationState.emitEvent()`.
-:::
-
-### Transforming null to undefined in optional fields
-
-GraphQL fills up non-existent optional values with `null` while RxDB required them to be `undefined`.
-Therefore, if your schema contains optional properties, you have to transform the pulled data to switch out `null` to `undefined`
-```js
-const replicationState: RxGraphQLReplicationState = replicateGraphQL(
- {
- collection: myRxCollection,
- url: {/* ... */},
- headers: {/* ... */},
- push: {/* ... */},
- pull: {
- queryBuilder: pullQueryBuilder,
- modifier: (doc => {
- // We have to remove optional non-existent field values
- // they are set as null by GraphQL but should be undefined
- Object.entries(doc).forEach(([k, v]) => {
- if (v === null) {
- delete doc[k];
- }
- });
- return doc;
- })
- },
- /* ... */
- }
-);
-```
-
-### pull.responseModifier
-
-With the `pull.responseModifier` you can modify the whole response from the GraphQL endpoint **before** it is processed by RxDB.
-For example if your endpoint is not capable of returning a valid checkpoint, but instead only returns the plain document array, you can use the `responseModifier` to aggregate the checkpoint from the returned documents.
-
-```ts
-import {
-
-} from 'rxdb';
-const replicationState: RxGraphQLReplicationState = replicateGraphQL(
- {
- collection: myRxCollection,
- url: {/* ... */},
- headers: {/* ... */},
- push: {/* ... */},
- pull: {
- responseModifier: async function(
- plainResponse, // the exact response that was returned from the server
- origin, // either 'handler' if plainResponse came from the pull.handler, or 'stream' if it came from the pull.stream
- requestCheckpoint // if origin==='handler', the requestCheckpoint contains the checkpoint that was send to the backend
- ) {
- /**
- * In this example we aggregate the checkpoint from the documents array
- * that was returned from the graphql endpoint.
- */
- const docs = plainResponse;
- return {
- documents: docs,
- checkpoint: docs.length === 0 ? requestCheckpoint : {
- name: lastOfArray(docs).name,
- updatedAt: lastOfArray(docs).updatedAt
- }
- };
- }
- },
- /* ... */
- }
-);
-```
-
-### push.responseModifier
-
-It's also possible to modify the response of a push mutation. For example if your server returns more than the just conflicting docs:
-
-```graphql
-type PushResponse {
- conflicts: [Human]
- conflictMessages: [ReplicationConflictMessage]
-}
-
-type Mutation {
- # Returns a PushResponse type that contains the conflicts along with other information
- pushHuman(rows: [HumanInputPushRow!]): PushResponse!
-}
-```
-
-```ts
-import {} from "rxdb";
-const replicationState: RxGraphQLReplicationState = replicateGraphQL(
- {
- collection: myRxCollection,
- url: {/* ... */},
- headers: {/* ... */},
- push: {
- responseModifier: async function (plainResponse) {
- /**
- * In this example we aggregate the conflicting documents from a response object
- */
- return plainResponse.conflicts;
- },
- },
- pull: {/* ... */},
- /* ... */
- }
-);
-```
-
-#### Helper Functions
-
-RxDB provides the helper functions `graphQLSchemaFromRxSchema()`, `pullQueryBuilderFromRxSchema()`, `pullStreamBuilderFromRxSchema()` and `pushQueryBuilderFromRxSchema()` that can be used to generate handlers and schemas from the `RxJsonSchema`. To learn how to use them, please inspect the [GraphQL Example](https://github.com/pubkey/rxdb/tree/master/examples/graphql).
-
-### RxGraphQLReplicationState
-
-When you call `myCollection.syncGraphQL()` it returns a `RxGraphQLReplicationState` which can be used to subscribe to events, for debugging or other functions. It extends the [RxReplicationState](./replication.md) with some GraphQL specific methods.
-
-#### .setHeaders()
-
-Changes the headers for the replication after it has been set up.
-
-```js
-replicationState.setHeaders({
- Authorization: `...`
-});
-```
-
-#### Sending Cookies
-
-The underlying fetch framework uses a `same-origin` policy for credentials per default. That means, cookies and session data is only shared if you backend and frontend run on the same domain and port. Pass the credential parameter to `include` cookies in requests to servers from different origins via:
-
-```js
-replicationState.setCredentials('include');
-```
-
-or directly pass it in the `replicateGraphQL` function:
-
-```js
-replicateGraphQL(
- {
- collection: myRxCollection,
- /* ... */
- credentials: 'include',
- /* ... */
- }
-);
-```
-
-See [the fetch spec](https://fetch.spec.whatwg.org/#concept-request-credentials-mode) for more information about available options.
-
-:::note
-To play around, check out the full example of the RxDB [GraphQL replication with server and client](https://github.com/pubkey/rxdb/tree/master/examples/graphql)
-:::
-
----
-
-## HTTP Replication
-
-import {Steps} from '@site/src/components/steps';
-import {Tabs} from '@site/src/components/tabs';
-
-# HTTP Replication from a custom server to RxDB clients
-
-While RxDB has a range of backend-specific replication plugins (like [GraphQL](./replication-graphql.md) or [Firestore](./replication-firestore.md)), the replication is build in a way to make it very easy to replicate data from a custom server to RxDB clients.
-
-
-
-Using **HTTP** as a transport protocol makes it simple to create a compatible backend on top of your existing infrastructure. For events that must be sent from the server to the client, we can use [Server Send Events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events).
-
-In this tutorial we will implement a HTTP replication between an RxDB client and a MongoDB express server. You can adapt this for any other backend database technology like PostgreSQL or even a non-Node.js server like go or java.
-
-To create a compatible server for replication, we will start a server and implement the correct HTTP routes and replication handlers. We need a push-handler, a pull-handler and for the ongoing changes `pull.stream` we use **Server Send Events**.
-
-## Setup
-
-
-
-### Start the Replication on the RxDB Client
-
-RxDB does not have a specific HTTP-replication plugin because the [replication primitives plugin](./replication.md) is simple enough to start a HTTP replication on top of it.
-We import the `replicateRxCollection` function and start the replication from there for a single [RxCollection](./rx-collection.md).
-
-```ts
-// > client.ts
-import { replicateRxCollection } from 'rxdb/plugins/replication';
-const replicationState = await replicateRxCollection({
- collection: myRxCollection,
- replicationIdentifier: 'my-http-replication',
- push: { /* add settings from below */ },
- pull: { /* add settings from below */ }
-});
-```
-
-### Start a Node.js process with Express and MongoDB
-
-On the server side, we start an express server that has a MongoDB connection and serves the HTTP requests of the client.
-
-```ts
-// > server.ts
-import { MongoClient } from 'mongodb';
-import express from 'express';
-const mongoClient = new MongoClient('mongodb://localhost:27017/');
-const mongoConnection = await mongoClient.connect();
-const mongoDatabase = mongoConnection.db('myDatabase');
-const mongoCollection = await mongoDatabase.collection('myDocs');
-
-const app = express();
-app.use(express.json());
-
-/* ... add routes from below */
-
-app.listen(80, () => {
- console.log(`Example app listening on port 80`)
-});
-```
-
-### Implement the Pull Endpoint
-
-As first HTTP Endpoint, we need to implement the pull handler. This is used by the RxDB replication to fetch all documents writes that happened after a given `checkpoint`.
-
-The `checkpoint` format is not determined by RxDB, instead the server can use any type of changepoint that can be used to iterate across document writes. Here we will just use a unix timestamp `updatedAt` and a string `id` which is the most common used format.
-
-When the pull endpoint is called, the server responds with an array of document data based on the given checkpoint and a new checkpoint.
-Also the server has to respect the batchSize so that RxDB knows when there are no more new documents and the server returns a non-full array.
-
-```ts
-// > server.ts
-import { lastOfArray } from 'rxdb/plugins/core';
-app.get('/pull', (req, res) => {
- const id = req.query.id;
- const updatedAt = parseFloat(req.query.updatedAt);
- const documents = await mongoCollection.find({
- $or: [
- /**
- * Notice that we have to compare the updatedAt AND the id field
- * because the updateAt field is not unique and when two documents
- * have the same updateAt, we can still "sort" them by their id.
- */
- {
- updateAt: { $gt: updatedAt }
- },
- {
- updateAt: { $eq: updatedAt }
- id: { $gt: id }
- }
- ]
- })
- .sort({updateAt: 1, id: 1})
- .limit(parseInt(req.query.batchSize, 10)).toArray();
- const newCheckpoint = documents.length === 0 ? { id, updatedAt } : {
- id: lastOfArray(documents).id,
- updatedAt: lastOfArray(documents).updatedAt
- };
- res.setHeader('Content-Type', 'application/json');
- res.end(JSON.stringify({ documents, checkpoint: newCheckpoint }));
-});
-```
-
-### Implement the Pull Handler
-
-On the client we add the `pull.handler` to the replication setting. The handler request the correct server url and fetches the documents.
-
-```ts
-// > client.ts
-const replicationState = await replicateRxCollection({
- /* ... */
- pull: {
- async handler(checkpointOrNull, batchSize){
- const updatedAt = checkpointOrNull ? checkpointOrNull.updatedAt : 0;
- const id = checkpointOrNull ? checkpointOrNull.id : '';
- const response = await fetch(
- `https://localhost/pull?updatedAt=${updatedAt}&id=${id}&limit=${batchSize}`
- );
- const data = await response.json();
- return {
- documents: data.documents,
- checkpoint: data.checkpoint
- };
- }
-
- }
- /* ... */
-});
-```
-
-### Implement the Push Endpoint
-
-To send client side writes to the server, we have to implement the `push.handler`. It gets an array of change rows as input and has to return only the conflicting documents that did not have been written to the server. Each change row contains a `newDocumentState` and an optional `assumedMasterState`.
-
-For [conflict detection](./transactions-conflicts-revisions.md), on the server we first have to detect if the `assumedMasterState` is correct for each row. If yes, we have to write the new document state to the database, otherwise we have to return the "real" master state in the conflict array.
-
-The server also creates an `event` that is emitted to the `pullStream$` which is later used in the [pull.stream$](#pullstream-for-ongoing-changes).
-
-```ts
-// > server.ts
-import { lastOfArray } from 'rxdb/plugins/core';
-import { Subject } from 'rxjs';
-
-// used in the pull.stream$ below
-let lastEventId = 0;
-const pullStream$ = new Subject();
-
-app.get('/push', (req, res) => {
- const changeRows = req.body;
- const conflicts = [];
- const event = {
- id: lastEventId++,
- documents: [],
- checkpoint: null
- };
- for(const changeRow of changeRows){
- const realMasterState = mongoCollection.findOne({id: changeRow.newDocumentState.id});
- if(
- realMasterState && !changeRow.assumedMasterState ||
- (
- realMasterState && changeRow.assumedMasterState &&
- /*
- * For simplicity we detect conflicts on the server by only compare the updateAt value.
- * In reality you might want to do a more complex check or do a deep-equal comparison.
- */
- realMasterState.updatedAt !== changeRow.assumedMasterState.updatedAt
- )
- ) {
- // we have a conflict
- conflicts.push(realMasterState);
- } else {
- // no conflict -> write the document
- mongoCollection.updateOne(
- {id: changeRow.newDocumentState.id},
- changeRow.newDocumentState
- );
- event.documents.push(changeRow.newDocumentState);
- event.checkpoint = { id: changeRow.newDocumentState.id, updatedAt: changeRow.newDocumentState.updatedAt };
- }
- }
- if(event.documents.length > 0){
- myPullStream$.next(event);
- }
- res.setHeader('Content-Type', 'application/json');
- res.end(JSON.stringify(conflicts));
-});
-```
-
-:::note
-For simplicity in this tutorial, we do not use transactions. In reality you should run the full push function inside of a MongoDB transaction to ensure that no other process can mix up the document state while the writes are processed. Also you should call batch operations on MongoDB instead of running the operations for each change row.
-:::
-
-### Implement the Push Handler
-
-With the push endpoint in place, we can add a `push.handler` to the replication settings on the client.
-
-```ts
-// > client.ts
-const replicationState = await replicateRxCollection({
- /* ... */
- push: {
- async handler(changeRows){
- const rawResponse = await fetch('https://localhost/push', {
- method: 'POST',
- headers: {
- 'Accept': 'application/json',
- 'Content-Type': 'application/json'
- },
- body: JSON.stringify(changeRows)
- });
- const conflictsArray = await rawResponse.json();
- return conflictsArray;
- }
- }
- /* ... */
-});
-```
-
-### Implement the pullStream$ Endpoint
-
-While the normal pull handler is used when the replication is in [iteration mode](./replication.md#checkpoint-iteration), we also need a stream of ongoing changes when the replication is in [event observation mode](./replication.md#event-observation). This brings the realtime replication to RxDB where changes on the server or on a client will directly get propagated to the other instances.
-
-On the server we have to implement the `pullStream` route and emit the events. We use the `pullStream$` observable from [above](#push-from-the-client-to-the-server) to fetch all ongoing events and respond them to the client. Here we use Server-Sent-Events (SSE) which is the most common used way to stream data from the server to the client. Other method also exist like [WebSockets or Long-Polling](./articles/websockets-sse-polling-webrtc-webtransport.md).
-
-```ts
-// > server.ts
-app.get('/pullStream', (req, res) => {
- res.writeHead(200, {
- 'Content-Type': 'text/event-stream',
- 'Connection': 'keep-alive',
- 'Cache-Control': 'no-cache'
- });
- const subscription = pullStream$.subscribe(event => {
- res.write('data: ' + JSON.stringify(event) + '\n\n');
- });
- req.on('close', () => subscription.unsubscribe());
-});
-```
-
-:::note
-How the build the `pullStream$` Observable is not part of this tutorial. This heavily depends on your backend and infrastructure. Likely you have to observe the MongoDB event stream.
-:::
-
-### Implement the pullStream$ Handler
-
-From the client we can observe this endpoint and create a `pull.stream$` observable that emits all events that are send from the server to the client.
-The client connects to an url and receives server-sent-events that contain all ongoing writes.
-
-```ts
-// > client.ts
-import { Subject } from 'rxjs';
-const myPullStream$ = new Subject();
-const eventSource = new EventSource(
- 'http://localhost/pullStream',
- { withCredentials: true }
-);
-eventSource.onmessage = event => {
- const eventData = JSON.parse(event.data);
- myPullStream$.next({
- documents: eventData.documents,
- checkpoint: eventData.checkpoint
- });
-};
-
-const replicationState = await replicateRxCollection({
- /* ... */
- pull: {
- /* ... */
- stream$: myPullStream$.asObservable()
- }
- /* ... */
-});
-```
-
-### pullStream$ RESYNC flag
-
-In case the client looses the connection, the EventSource will automatically reconnect but there might have been some changes that have been missed out in the meantime. The replication has to be informed that it might have missed events by emitting a `RESYNC` flag from the `pull.stream$`.
-The replication will then catch up by switching to the [iteration mode](./replication.md#checkpoint-iteration) until it is in sync with the server again.
-
-```ts
-// > client.ts
-eventSource.onerror = () => myPullStream$.next('RESYNC');
-```
-
-The purpose of the `RESYNC` flag is to tell the client that "something might have changed" and then the client can react on that information without having to run operations in an interval.
-
-If your backend is not capable of emitting the actual documents and checkpoint in the pull stream, you could just map all events to the `RESYNC` flag. This would make the replication work with a slight performance drawback:
-
-```ts
-// > client.ts
-import { Subject } from 'rxjs';
-const myPullStream$ = new Subject();
-const eventSource = new EventSource(
- 'http://localhost/pullStream',
- { withCredentials: true }
-);
-eventSource.onmessage = () => myPullStream$.next('RESYNC');
-const replicationState = await replicateRxCollection({
- pull: {
- stream$: myPullStream$.asObservable()
- }
-});
-```
-
-
-
-## Missing implementation details
-
-In this tutorial we only covered the basics of doing a HTTP replication between RxDB clients and a server. We did not cover the following aspects of the implementation:
-
-- Authentication: To authenticate the client on the server, you might want to send authentication headers with the HTTP requests
-- Skip events on the `pull.stream$` for the client that caused the changes to improve performance.
-- Version upgrades: You should add a version-flag to the endpoint urls. If you then update the version of your endpoints in any way, your old endpoints should emit a `Code 426` to outdated clients so that they can updated their client version.
-
----
-
-## MongoDB Realtime Sync Engine for Local-First Apps
-
-import {Tabs} from '@site/src/components/tabs';
-import {Steps} from '@site/src/components/steps';
-import {VideoBox} from '@site/src/components/video-box';
-import {RxdbMongoDiagramPlain} from '@site/src/components/mongodb-sync';
-
-# MongoDB Replication Plugin for RxDB - Real-Time, Offline-First Sync
-
-
-
-The [MongoDB](https://www.mongodb.com/) Replication Plugin for RxDB delivers seamless, two-way synchronization between MongoDB and RxDB, enabling [real-time](./articles/realtime-database.md) updates and [offline-first](./offline-first.md) functionality for your applications. Built on **MongoDB Change Streams**, it supports both Atlas and self-hosted deployments, ensuring your data stays consistent across every device and service.
-
-Behind the scenes, the plugin is powered by the RxDB [Sync Engine](./replication.md), which manages the complexities of real-world data replication for you. It automatically handles [conflict detection and resolution](./transactions-conflicts-revisions.md), maintains precise checkpoints for incremental updates, and gracefully manages transitions between offline and online states. This means you don't need to manually implement retry logic, reconcile divergent changes, or worry about data loss during connectivity drops, the Sync Engine ensures consistency and reliability in every sync cycle.
-
-## Key Features
-
-- **Two-way replication** between MongoDB and RxDB collections
-- **Offline-first support** with automatic incremental re-sync
-- **Incremental updates** via MongoDB Change Streams
-- **Conflict resolution** handled by the RxDB Sync Engine
-- **Atlas and self-hosted support** for replica sets and sharded clusters
-
-## Architecture Overview
-
-The plugin operates in a three-tier architecture: Clients connect to [RxServer](./rx-server.md), which in turn connects to MongoDB. RxServer streams changes from MongoDB to connected clients and pushes client-side updates back to MongoDB.
-
-For the client side, RxServer exposes a [replication endpoint](./rx-server.md#replication-endpoint) over WebSocket or HTTP, which your RxDB-powered applications can consume.
-
-The following diagram illustrates the flow of updates between clients, RxServer, and MongoDB in a live synchronization setup:
-
-
-
-:::note
-The MongoDB Replication Plugin is optimized for Node.js environments (e.g., when RxDB runs within RxServer or other backend services). Direct connections from browsers or mobile apps to MongoDB are not supported because MongoDB does not use HTTP as its wire protocol and requires a driver-level connection to a replica set or sharded cluster.
-:::
-
-## Setting up the Client-RxServer-MongoDB Sync
-
-
-
-### Install the Client Dependencies
-
-In your JavaScript project, install the RxDB libraries and the MongoDB node.js driver:
-
-```npm install rxdb rxdb-server mongodb --save```
-
-### Set up a MongoDB Server
-
-As first step, you need access to a running MongoDB Server. This can be done by either running a server locally or using the Atlas Cloud. Notice that we need to have a [replica set](https://www.mongodb.com/docs/manual/tutorial/deploy-replica-set/) because only on these, the MongoDB changestream can be used.
-
-
-
-### Shell
-
-If you have installed MongoDB locally, you can start the server with this command:
-
-```mongod --replSet rs0 --bind_ip_all```
-
-### Docker
-
-If you have docker installed, you can start a container that runs the MongoDB server:
-
-```docker run -p 27017:27017 -p 27018:27018 -p 27019:27019 --rm --name rxdb-mongodb mongo:8.0.4 mongod --replSet rs0 --bind_ip_all```
-
-### MongoDB Atlas
-
-Learn here how to create a MongoDB atlas account and how to start a MongoDB cluster that runs in the cloud:
-
-
-
-
-
-
-
-After this step you should have a valid connection string that points to a running MongoDB Server like `mongodb://localhost:27017/`.
-
-### Create a MongoDB Database and Collection
-
-On your MongoDB server, make sure to create a database and a collection.
-
-```ts
-//> server.ts
-
-import { MongoClient } from 'mongodb';
-const mongoClient = new MongoClient('mongodb://localhost:27017/?directConnection=true');
-const mongoDatabase = mongoClient.db('my-database');
-await mongoDatabase.createCollection('my-collection', {
- changeStreamPreAndPostImages: { enabled: true }
-});
-```
-
-:::note
-To observe document deletions on the changestream, `changeStreamPreAndPostImages` must be enabled. This is not required if you have an insert/update-only collection where no documents are deleted ever.
-:::
-
-### Create a RxDB Database and Collection
-
-Now we create an RxDB [database](./rx-database.md) and a [collection](./rx-collection.md). In this example the [memory storage](./rx-storage-memory.md), in production you would use a [persistent storage](./rx-storage.md) instead.
-
-```ts
-//> server.ts
-
-import { createRxDatabase, addRxPlugin } from 'rxdb';
-import { getRxStorageMemory } from 'rxdb/plugins/storage-memory';
-
-// Create server-side RxDB instance
-const db = await createRxDatabase({
- name: 'serverdb',
- storage: getRxStorageMemory()
-});
-
-// Add your collection schema
-await db.addCollections({
- humans: {
- schema: {
- version: 0,
- primaryKey: 'passportId',
- type: 'object',
- properties: {
- passportId: { type: 'string', maxLength: 100 },
- firstName: { type: 'string' },
- lastName: { type: 'string' }
- },
- required: ['passportId', 'firstName', 'lastName']
- }
- }
-});
-```
-
-### Sync the Collection with the MongoDB Server
-
-Now we can start a [replication](./replication.md) that does a two-way replication between the RxDB Collection and the MongoDB Collection.
-
-```ts
-//> server.ts
-
-import { replicateMongoDB } from 'rxdb/plugins/replication-mongodb';
-
-const replicationState = replicateMongoDB({
- mongodb: {
- collectionName: 'my-collection',
- connection: 'mongodb://localhost:27017',
- databaseName: 'my-database'
- },
- collection: db.humans,
- replicationIdentifier: 'humans-mongodb-sync',
- pull: { batchSize: 50 },
- push: { batchSize: 50 },
- live: true
-});
-
-```
-
-:::note You can do many things with the replication state
-The `RxMongoDBReplicationState` which is returned from `replicateMongoDB()` allows you to run all functionality of the normal [RxReplicationState](./replication.md) like observing errors or doing start/stop operations.
-:::
-
-### Start a RxServer
-
-Now that we have a RxDatabase and Collection that is replicated with MongoDB, we can spawn a [RxServer](./rx-server.md) on top of it. This server can then be used by client devices to connect.
-
-```ts
-//> server.ts
-
-import { createRxServer } from 'rxdb-server/plugins/server';
-import { RxServerAdapterExpress } from 'rxdb-server/plugins/adapter-express';
-
-const server = await createRxServer({
- database: db,
- adapter: RxServerAdapterExpress,
- port: 8080,
- cors: '*'
-});
-
-const endpoint = server.addReplicationEndpoint({
- name: 'humans',
- collection: db.humans
-});
-console.log('Replication endpoint:', `http://localhost:8080/${endpoint.urlPath}`);
-
-// do not forget to start the server!
-await server.start();
-```
-
-### Sync a Client with the RxServer
-
-On the client-side we create the exact same RxDatabase and collection and then replicate it with the replication endpoint of the RxServer.
-
-```ts
-//> client.ts
-
-import { createRxDatabase } from 'rxdb';
-import { getRxStorageDexie } from 'rxdb/plugins/storage-dexie';
-import { replicateServer } from 'rxdb-server/plugins/replication-server';
-
-const db = await createRxDatabase({
- name: 'mydb-client',
- storage: getRxStorageDexie()
-});
-
-await db.addCollections({
- humans: {
- schema: {
- version: 0,
- primaryKey: 'passportId',
- type: 'object',
- properties: {
- passportId: { type: 'string', maxLength: 100 },
- firstName: { type: 'string' },
- lastName: { type: 'string' }
- },
- required: ['passportId', 'firstName', 'lastName']
- }
- }
-});
-
-// Start replication to the RxServer endpoint printed by the server:
-// e.g. http://localhost:8080/humans/0
-const replicationState = replicateServer({
- replicationIdentifier: 'humans-rxserver',
- collection: db.humans,
- url: 'http://localhost:8080/humans/0',
- live: true,
- pull: { batchSize: 50 },
- push: { batchSize: 50 }
-});
-
-```
-
-
-
-## Follow Up
-
-- Try it out with the [RxDB-MongoDB example repository](https://github.com/pubkey/rxdb-mongodb-sync-example)
-- Read [From Local to Global: Scalable Edge Apps with RxDB + MongoDB](https://www.mongodb.com/company/blog/innovation/from-local-global-scalable-edge-apps-rxdb)
-- [Replication API Reference](./replication.md)
-- [RxServer Documentation](./rx-server.md)
-- Join our [Discord Forum](./chat) for questions and feedback
-
----
-
-## RxDB & NATS - Realtime Sync
-
-import {Steps} from '@site/src/components/steps';
-
-# Replication with NATS
-
-With this RxDB plugin you can run a two-way realtime replication with a [NATS](https://nats.io/) server.
-
-The replication itself uses the [RxDB Sync Engine](./replication.md) which handles conflicts, errors and retries.
-On the client side the official [NATS npm package](https://www.npmjs.com/package/nats) is used to connect to the NATS server.
-
-NATS is a messaging system that by itself does not have a validation or granulary access control build in.
-Therefore it is not recommended to directly replicate the NATS server with an untrusted RxDB client application. Instead you should replicated from NATS to your Node.js server side RxDB database.
-
-## Precondition
-
-For the replication endpoint the NATS cluster must have enabled [JetStream](https://docs.nats.io/nats-concepts/jetstream) and store all message data as [structured JSON](https://docs.nats.io/using-nats/developer/sending/structure).
-
-The easiest way to start a compatible NATS server is to use the official docker image:
-
-```docker run --rm --name rxdb-nats -p 4222:4222 nats:2.9.17 -js```
-
-## Usage
-
-
-
-### Install the nats package
-
-```bash
-npm install nats --save
-```
-
-### Start the Replication
-
-To start the replication, import the `replicateNats()` method from the RxDB plugin and call it with the collection
-that must be replicated.
-The replication runs *per RxCollection*, you can replicate multiple RxCollections by starting a new replication for each of them.
-
-```typescript
-import {
- replicateNats
-} from 'rxdb/plugins/replication-nats';
-
-const replicationState = replicateNats({
- collection: myRxCollection,
- replicationIdentifier: 'my-nats-replication-collection-A',
- // in NATS, each stream need a name
- streamName: 'stream-for-replication-A',
- /**
- * The subject prefix determines how the documents are stored in NATS.
- * For example the document with id 'alice'
- * will have the subject 'foobar.alice'
- */
- subjectPrefix: 'foobar',
- connection: { servers: 'localhost:4222' },
- live: true,
- pull: {
- batchSize: 30
- },
- push: {
- batchSize: 30
- }
-});
-```
-
-
-
-## Handling deletes
-
-RxDB requires you to never [fully delete documents](./replication.md#data-layout-on-the-server). This is needed to be able to replicate the deletion state of a document to other instances. The NATS replication will set a boolean `_deleted` field to all documents to indicate the deletion state. You can change this by setting a different `deletedField` in the sync options.
-
----
-
-## Seamless P2P Data Sync
-
-# The RxDB Plugin `replication-p2p` has been renamed to `replication-webrtc`
-
-The new documentation page has been moved to [here](./replication-webrtc.md)
-
-
-
----
-
-## RxDB Server Replication
-
-
-The *Server Replication Plugin* connects to the replication endpoint of an [RxDB Server Replication Endpoint](./rx-server.md#replication-endpoint) and replicates data between the client and the server.
-
-## Usage
-
-The replication server plugin is imported from the `rxdb-server` npm package. Then you start the replication with a given collection and endpoint url by calling `replicateServer()`.
-
-```ts
-import { replicateServer } from 'rxdb-server/plugins/replication-server';
-
-const replicationState = await replicateServer({
- collection: usersCollection,
- replicationIdentifier: 'my-server-replication',
- url: 'http://localhost:80/users/0', // endpoint url with the servers collection schema version at the end
- headers: {
- Authorization: 'Bearer S0VLU0UhI...'
- },
- push: {},
- pull: {},
- live: true
-});
-```
-
-## outdatedClient$
-
-When you update your schema at the server and run a migration, you end up with a different replication url that has a new schema version number at the end.
-Your clients might still be running an old version of your application that will no longer be compatible with the endpoint. Therefore when the client tries to call a server endpoint with an outdated schema version, the `outdatedClient$` observable emits to tell your client that the application must be updated. With that event you can tell the client to update the application.
-On browser application you might want to just reload the page on that event:
-
-```ts
-replicationState.outdatedClient$.subscribe(() => {
- location.reload();
-});
-```
-
-## unauthorized$
-
-When you clients auth data is not valid (or no longer valid), the server will no longer accept any requests from you client and inform the client that the auth headers must be updated.
-The `unauthorized$` observable will emit and expects you to update the headers accordingly so that following requests will be accepted again.
-
-```ts
-replicationState.unauthorized$.subscribe(() => {
- replicationState.setHeaders({
- Authorization: 'Bearer S0VLU0UhI...'
- });
-});
-```
-
-## forbidden$
-
-When you client behaves wrong in any case, like update non-allowed values or changing documents that it is not allowed to,
-the server will drop the connection and the replication state will emit on the `forbidden$` observable.
-It will also automatically stop the replication so that your client does not accidentally DOS attack the server.
-
-```ts
-replicationState.forbidden$.subscribe(() => {
- console.log('Client is behaving wrong');
-});
-```
-
-## Custom EventSource implementation
-
-For the server send events, the [eventsource](https://github.com/EventSource/eventsource) npm package is used instead of the native `EventSource` API. We need this because the native browser API does not support sending headers with the request which is required by the server to parse the auth data.
-
-If the eventsource package does not work for you, you can set an own implementation when creating the replication.
-
-```ts
-const replicationState = await replicateServer({
- /* ... */
- eventSource: MyEventSourceConstructor
- /* ... */
-});
-```
-
----
-
-## Supabase Replication Plugin for RxDB - Real-Time, Offline-First Sync
-
-import {Tabs} from '@site/src/components/tabs';
-import {Steps} from '@site/src/components/steps';
-import {VideoBox} from '@site/src/components/video-box';
-import {RxdbMongoDiagramPlain} from '@site/src/components/mongodb-sync';
-
-# Supabase Replication Plugin for RxDB - Real-Time, Offline-First Sync
-
-
-
-The **Supabase Replication Plugin** for RxDB delivers seamless, two-way synchronization between your RxDB collections and a Supabase (Postgres) table. It uses **PostgREST** for pull/push and **Supabase Realtime** (logical replication) to stream live updates, so your data stays consistent across devices with first-class [local-first](./articles/local-first-future.md), offline-ready support.
-
-Under the hood, the plugin is powered by the RxDB [Sync Engine](./replication.md). It handles checkpointed incremental pulls, robust retry logic, and [conflict detection/resolution](./transactions-conflicts-revisions.md) for you. You focus on features—RxDB takes care of sync.
-
-
-
-
-
-## Key Features of the RxDB-Supabase Plugin
-
-- **Cloud Only Backend**: No self-hosted server required. Client devices directly sync with the Supabase Servers.
-- **Two-way replication** between Supabase tables and RxDB [collections](./rx-collection.md)
-- **Offline-first** with resumable, incremental sync
-- **Live updates** via Supabase Realtime channels
-- **Conflict resolution** handled by the [RxDB Sync Engine](./replication.md)
-- **Works in browsers and Node.js** with `@supabase/supabase-js`
-
-## Architecture Overview
-
-
-
-Clients connect **directly to Supabase** using the official JS client. The plugin:
-
-- **Pulls** documents over PostgREST using a checkpoint `(modified, id)` and deterministic ordering.
-- **Pushes** inserts/updates using optimistic concurrency guards.
-- **Streams** new changes using Supabase Realtime so live replication stays up to date.
-
-:::note
-Because Supabase exposes Postgres over **HTTP/WebSocket**, you can safely replicate from browsers and mobile apps. Protect your data with **Row Level Security (RLS)** policies; use the **anon** key on clients and the **service role** key only on trusted servers.
-:::
-
-## Setting up RxDB ↔ Supabase Sync
-
-
-
-### Install Dependencies
-
-```bash
-npm install rxdb @supabase/supabase-js
-```
-
-### Create a Supabase Project & Table
-
-In your supabase project, create a new table. Ensure that:
-- The primary key must have the type text (Primary keys must always be strings in RxDB)
-- You have an modified field which stores the last modification timestamp of a row (default is `_modified`)
-- You have a boolean field which stores if a row should is "deleted". You should not hard-delete rows in Supabase, because clients would miss the deletion if they haven't been online at the deletion time. Instead, use a deleted `boolean` to mark rows as deleted. This way all clients can still pull the deletion, and RxDB will hide the complexity on the client side.
-- Enable the realtime observation of writes to the table.
-
-Here is an example for a "human" table:
-
-```sql
-create extension if not exists moddatetime schema extensions;
-
-create table "public"."humans" (
- "passportId" text primary key,
- "firstName" text not null,
- "lastName" text not null,
- "age" integer,
-
- "_deleted" boolean DEFAULT false NOT NULL,
- "_modified" timestamp with time zone DEFAULT now() NOT NULL
-);
-
--- auto-update the _modified timestamp
-CREATE TRIGGER update_modified_datetime BEFORE UPDATE ON public.humans FOR EACH ROW
-EXECUTE FUNCTION extensions.moddatetime('_modified');
-
--- add a table to the publication so we can subscribe to changes
-alter publication supabase_realtime add table "public"."humans";
-```
-
-### Create an RxDB Database & Collection
-
-Create a normal RxDB database, then add a collection whose **schema mirrors your Supabase table**. The **primary key must match** (same column name and type), and fields should be **top-level simple types** (string/number/boolean). You don’t need to model server internals: the plugin maps the server’s \_deleted flag to doc.\_deleted automatically, and \_modified is optional in your schema (the plugin strips it on push and will include it on pull only if you define it). For browsers use a persistent storage like Localstorage or IndexedDB. For tests you can use the [in-memory storage](./rx-storage-memory.md).
-
-```ts
-// client
-import { createRxDatabase } from 'rxdb/plugins/core';
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-
-export const db = await createRxDatabase({
- name: 'mydb',
- storage: getRxStorageLocalstorage()
-});
-
-await db.addCollections({
- humans: {
- schema: {
- version: 0,
- primaryKey: 'passportId',
- type: 'object',
- properties: {
- passportId: { type: 'string', maxLength: 100 },
- firstName: { type: 'string' },
- lastName: { type: 'string' },
- age: { type: 'number' }
- },
- required: ['passportId', 'firstName', 'lastName']
- }
- }
-});
-```
-
-### Create the Supabase Client
-
-Make a single Supabase client and reuse it across your app. In the browser, use the anon key (RLS-protected). On trusted servers you may use the service role key—but never ship that to clients.
-
-
-
-#### Production
-
-```ts
-//> client
-
-import { createClient } from '@supabase/supabase-js';
-
-export const supabase = createClient(
- 'https://xyzcompany.supabase.co',
- 'eyJhbGciOi...'
-);
-```
-
-#### Vite
-
-```ts
-//> client
-
-import { createClient } from '@supabase/supabase-js';
-
-export const supabase = createClient(
- import.meta.env.VITE_SUPABASE_URL!, // e.g. https://xyzcompany.supabase.co
- import.meta.env.VITE_SUPABASE_ANON_KEY! // anon key for browsers
- // optional options object here
-);
-```
-
-#### Local Development
-
-```ts
-//> client
-
-import { createClient } from '@supabase/supabase-js';
-
-export const supabase = createClient(
- 'http://127.0.0.1:54321',
- 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...'
-);
-```
-
-
-
-### Start Replication
-
-Connect your RxDB collection to the Supabase table to start the replication.
-
-```ts
-//> client
-
-import { replicateSupabase } from 'rxdb/plugins/replication-supabase';
-
-const replication = replicateSupabase({
- tableName: 'humans',
- client: supabase,
- collection: db.humans,
- replicationIdentifier: 'humans-supabase',
- live: true,
- pull: {
- batchSize: 50,
- // optional: shape incoming docs
- modifier: (doc) => {
- // map nullable age-field
- if (!doc.age) delete doc.age;
- return doc;
- }
- // optional: customize the pull query before fetching
- queryBuilder: ({ query }) => {
- // Add filters, joins, or other PostgREST query modifiers
- // This runs before checkpoint filtering and ordering
- return query.eq("status", "active");
- },
- },
- push: {
- batchSize: 50
- },
- // optional overrides if your column names differ:
- // modifiedField: '_modified',
- // deletedField: '_deleted'
-});
-
-// (optional) observe errors and wait for the first sync barrier
-replication.error$.subscribe(err => console.error('[replication]', err));
-await replication.awaitInitialReplication();
-```
-
-:::note Nullable values must be mapped
-Supabase returns `null` for nullable columns, but in RxDB you often model those fields as optional (i.e., they can be undefined/missing). To avoid schema errors, map `null` → `undefined` in the `pull.modifier` (usually by deleting the key).
-:::
-
-### Do other things with the replication state
-
-The `RxSupabaseReplicationState` which is returned from `replicateSupabase()` allows you to run all functionality of the normal [RxReplicationState](./replication.md).
-
-
-
-## Follow Up
-
-- **Replication API Reference:** Learn the core concepts and lifecycle hooks — [Replication](./replication.md)
-- **Offline-First Guide:** Caching, retries, and conflict strategies — [Local-First](./articles/local-first-future.md)
-- **Supabase Essentials:**
- - Row Level Security (RLS) — https://supabase.com/docs/guides/auth/row-level-security
- - Realtime — https://supabase.com/docs/guides/realtime
- - Local dev with the Supabase CLI — https://supabase.com/docs/guides/cli
-- **Community:** Questions or feedback? Join our Discord — [Chat](./chat)
-
----
-
-## WebRTC P2P Replication with RxDB - Sync Browsers and Devices
-
-import {Steps} from '@site/src/components/steps';
-
-# P2P WebRTC Replication with RxDB - Sync Data between Browsers and Devices in JavaScript
-
-WebRTC P2P data connections are revolutionizing real-time web and mobile development by **eliminating central servers** in scenarios where clients can communicate directly. With the **RxDB** [Sync Engine](./replication.md), you can sync your local database state across multiple browsers or devices via **WebRTC P2P (Peer-to-Peer)** connections, ensuring scalable, secure, and **low-latency** data flows without traditional server bottlenecks.
-
-## What is WebRTC?
-
-[WebRTC](https://developer.mozilla.org/en-US/docs/Web/API/WebRTC_API) stands for Web [Real-Time](./articles/realtime-database.md) Communication. It is an open standard that enables browsers and native apps to exchange audio, video, or **arbitrary data** directly between peers, bypassing a central server after the initial connection is established. WebRTC uses NAT traversal techniques like [ICE](https://developer.liveswitch.io/liveswitch-server/guides/what-are-stun-turn-and-ice.html) (Interactive Connectivity Establishment) to punch through firewalls and establish direct links. This peer-to-peer nature drastically reduces latency while maintaining **high security** and **end-to-end encryption** capabilities.
-
-For a deeper look at comparing WebRTC with **WebSockets** and **WebTransport**, you can read our [comprehensive overview](./articles/websockets-sse-polling-webrtc-webtransport.md). While WebSockets or WebTransport often work in client-server contexts, WebRTC offers direct peer-to-peer connections ideal for fully decentralized data flows.
-
-
-
-
-
-
-
-## Benefits of P2P Sync with WebRTC Compared to Client-Server Architecture
-
-1. **Reduced Latency** - By skipping a central server hop, data travels directly from one client to another, minimizing round-trip times and improving responsiveness.
-2. **Scalability** - New peers can join without overloading a central infrastructure. The sync overhead increases linearly with the number of connections rather than requiring a massive server cluster.
-3. **Privacy & Ownership** - Data stays within the user’s devices, avoiding risks tied to storing data on third-party servers. This design aligns well with [local-first](./articles/local-first-future.md) or "[zero-latency](./articles/zero-latency-local-first.md)" apps.
-4. **Resilience** - In some scenarios, if the central server is unreachable, P2P connections remain operational (assuming a functioning signaling path). Apps can still replicate data among local networks like when they are in the same Wifi or LAN.
-5. **Cost Savings** - Reducing the reliance on a high-bandwidth server can cut hosting and bandwidth expenses, particularly in high-traffic or IoT-style use cases.
-
-
-
-
-
-
-
-## Peer-to-Peer (P2P) WebRTC Replication with the RxDB JavaScript Database
-
-Traditionally, real-time data synchronization depends on **centralized servers** to manage and distribute updates. In contrast, RxDB’s WebRTC P2P replication allows data to flow **directly** among clients, removing the server as a data store. This approach is **live** and **fully decentralized**, requiring only a [signaling server](#signaling-server) for initial discovery:
-
-- **No master-slave** concept - each peer hosts its own local RxDB.
-- Clients ([browsers](./articles/browser-database.md), devices) connect to each other via WebRTC data channels.
-- The [RxDB replication protocol](./replication.md) then handles pushing/pulling document changes across peers.
-
-Because RxDB is a NoSQL database and the replication protocol is straightforward, setting up robust P2P sync is far **easier** than orchestrating a complex client-server database architecture.
-
-## Using RxDB with the WebRTC Replication Plugin
-
-Before you use this plugin, make sure that you understand how [WebRTC works](https://developer.mozilla.org/en-US/docs/Web/API/WebRTC_API). Here we build a todo-app that replicates todo-entries between clients:
-
-
-
-
-
-
-
-You can find a fully build example of this at the [RxDB Quickstart Repository](https://github.com/pubkey/rxdb-quickstart) which you can also [try out online](https://pubkey.github.io/rxdb-quickstart/).
-
-Four you create the [database](./rx-database.md) and then you can configure the replication:
-
-
-
-### Create the Database and Collection
-
-Here we create a database with the [localstorage](./rx-storage-localstorage.md) based storage that stores data inside of the [LocalStorage API](./articles/localstorage.md) in a browser. RxDB has a wide [range of storages](./rx-storage.md) for other JavaScript runtimes.
-
-```ts
-import { createRxDatabase } from 'rxdb/plugins/core';
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-const db = await createRxDatabase({
- name: 'myTodoDB',
- storage: getRxStorageLocalstorage()
-});
-
-await db.addCollections({
- todos: {
- schema: {
- title: 'todo schema',
- version: 0,
- type: 'object',
- primaryKey: 'id',
- properties: {
- id: { type: 'string', maxLength: 100 },
- title: { type: 'string' },
- done: { type: 'boolean', default: false },
- created: { type: 'string', format: 'date-time' }
- },
- required: ['id', 'title', 'done']
- }
- }
-});
-
-// insert an example document
-await db.todos.insert({
- id: 'todo-1',
- title: 'P2P demo task',
- done: false,
- created: new Date().toISOString()
-});
-```
-
-### Import the WebRTC replication plugin
-
-```ts
-import {
- replicateWebRTC,
- getConnectionHandlerSimplePeer
-} from 'rxdb/plugins/replication-webrtc';
-```
-
-### Start the P2P replication
-
-To start the replication you have to call `replicateWebRTC` on the [collection](./rx-collection.md).
-
-As options you have to provide a `topic` and a connection handler function that implements the `P2PConnectionHandlerCreator` interface. As default you should start with the `getConnectionHandlerSimplePeer` method which uses the [simple-peer](https://github.com/feross/simple-peer) library and comes shipped with RxDB.
-
-```ts
-const replicationPool = await replicateWebRTC(
- {
- // Start the replication for a single collection
- collection: db.todos,
-
- // The topic is like a 'room-name'. All clients with the same topic
- // will replicate with each other. In most cases you want to use
- // a different topic string per user. Also you should prefix the topic with
- // a unique identifier for your app, to ensure you do not let your users connect
- // with other apps that also use the RxDB P2P Replication.
- topic: 'my-users-pool',
- /**
- * You need a collection handler to be able to create WebRTC connections.
- * Here we use the simple peer handler which uses the 'simple-peer' npm library.
- * To learn how to create a custom connection handler, read the source code,
- * it is pretty simple.
- */
- connectionHandlerCreator: getConnectionHandlerSimplePeer({
- // Set the signaling server url.
- // You can use the server provided by RxDB for tryouts,
- // but in production you should use your own server instead.
- signalingServerUrl: 'wss://signaling.rxdb.info/',
-
- // only in Node.js, we need the wrtc library
- // because Node.js does not contain the WebRTC API.
- wrtc: require('node-datachannel/polyfill'),
-
- // only in Node.js, we need the WebSocket library
- // because Node.js does not contain the WebSocket API.
- webSocketConstructor: require('ws').WebSocket
- }),
- pull: {},
- push: {}
- }
-);
-```
-
-Notice that in difference to the other [replication plugins](./replication.md), the WebRTC replication returns a `replicationPool` instead of a single `RxReplicationState`. The `replicationPool` contains all replication states of the connected peers in the P2P network.
-
-### Observe Errors
-
-To ensure we log out potential errors, observe the `error$` observable of the pool.
-
-```ts
-replicationPool.error$.subscribe(err => console.error('WebRTC Error:', err));
-```
-
-### Stop the Replication
-
-You can also dynamically stop the replication.
-```ts
-replicationPool.cancel();
-```
-
-
-## Live replications
-
-The WebRTC replication is **always live** because there can not be a one-time sync when it is always possible to have new Peers that join the connection pool. Therefore you cannot set the `live: false` option like in the other replication plugins.
-
-## Signaling Server
-
-For P2P replication to work with the RxDB WebRTC Replication Plugin, a [signaling server](https://developer.mozilla.org/en-US/docs/Web/API/WebRTC_API/Signaling_and_video_calling) is required. The signaling server helps peers discover each other and establish connections.
-
-RxDB ships with a default signaling server that can be used with the simple-peer connection handler. This server is made for demonstration purposes and tryouts. It is not reliable and might be offline at any time.
-In production you must always use your own signaling server instead!
-
-Creating a basic signaling server is straightforward. The provided example uses 'socket.io' for WebSocket communication. However, in production, you'd want to create a more robust signaling server with authentication and additional logic to suit your application's needs.
-
-Here is a quick example implementation of a signaling server that can be used with the connection handler from `getConnectionHandlerSimplePeer()`:
-
-```ts
-import {
- startSignalingServerSimplePeer
-} from 'rxdb/plugins/replication-webrtc';
-
-const serverState = await startSignalingServerSimplePeer({
- port: 8080 // <- port
-});
-```
-
-For custom signaling servers with more complex logic, you can check the [source code of the default one](https://github.com/pubkey/rxdb/blob/master/src/plugins/replication-webrtc/signaling-server.ts).
-
-## Peer Validation
-
-By default the replication will replicate with every peer the signaling server tells them about.
-You can prevent invalid peers from replication by passing a custom `isPeerValid()` function that either returns `true` on valid peers and `false` on invalid peers.
-
-```ts
-const replicationPool = await replicateWebRTC(
- {
- /* ... */
- isPeerValid: async (peer) => {
- return true;
- }
- pull: {},
- push: {}
- /* ... */
- }
-);
-```
-
-## Conflict detection in WebRTC replication
-
-RxDB's conflict handling works by detecting and resolving conflicts that may arise when multiple clients in a decentralized database system attempt to modify the same data concurrently.
-A **custom conflict handler** can be set up, which is a plain JavaScript function. The conflict handler is run on each replicated document write and resolves the conflict if required. [Find out more about RxDB conflict handling here](https://rxdb.info/transactions-conflicts-revisions.html)
-
-## Known problems
-
-### SimplePeer requires to have `process.nextTick()`
-
-In the browser you might not have a process variable or process.nextTick() method. But the [simple peer](https://github.com/feross/simple-peer) uses that so you have to polyfill it.
-
-In webpack you can use the `process/browser` package to polyfill it:
-
-```js
-const plugins = [
- /* ... */
- new webpack.ProvidePlugin({
- process: 'process/browser',
- })
- /* ... */
-];
-```
-
-In angular or other libraries you can add the polyfill manually:
-
-```js
-window.process = {
- nextTick: (fn, ...args) => setTimeout(() => fn(...args)),
-};
-
-```
-
-### Polyfill the WebSocket and WebRTC API in Node.js
-
-While all modern browsers support the WebRTC and WebSocket APIs, they is missing in Node.js which will throw the error `No WebRTC support: Specify opts.wrtc option in this environment`. Therefore you have to polyfill it with a compatible WebRTC and WebSocket polyfill. It is recommended to use the [node-datachannel package](https://github.com/murat-dogan/node-datachannel/tree/master/src/polyfill) for WebRTC which **does not** come with RxDB but has to be installed before via `npm install node-datachannel --save`.
-For the Websocket API use the `ws` package that is included into RxDB.
-
-```ts
-import nodeDatachannelPolyfill from 'node-datachannel/polyfill';
-import { WebSocket } from 'ws';
-const replicationPool = await replicateWebRTC(
- {
- /* ... */
- connectionHandlerCreator: getConnectionHandlerSimplePeer({
- signalingServerUrl: 'wss://example.com:8080',
- wrtc: nodeDatachannelPolyfill,
- webSocketConstructor: WebSocket
- }),
- pull: {},
- push: {}
- /* ... */
- }
-);
-```
-
-## Storing replicated data encrypted on client device
-
-Storing replicated data encrypted on client devices using the RxDB Encryption Plugin is a pivotal step towards bolstering **data security** and **user privacy**.
-The WebRTC replication plugin seamlessly integrates with the [RxDB encryption plugins](./encryption.md), providing a robust solution for encrypting sensitive information before it's stored locally. By doing so, it ensures that even if unauthorized access to the device occurs, the data remains protected and unintelligible without the encryption key (or password). This approach is particularly vital in scenarios where user-generated content or confidential data is replicated across devices, as it empowers users with control over their own data while adhering to stringent security standards. [Read more about the encryption plugins here](./encryption.md).
-
-## Follow Up
-
-- **Check out the [RxDB Quickstart](./quickstart.md)** to see how to set up your first RxDB database.
-- **Explore advanced features** like [Custom Conflict Handling](./transactions-conflicts-revisions.md) or [Offline-First Performance](./rx-storage-performance.md).
-- **Try an example** at [RxDB Quickstart GitHub](https://github.com/pubkey/rxdb-quickstart) to see a working P2P Sync setup.
-- **Join the RxDB Community** on [GitHub](/code/) or [Discord](/chat/) if you have questions or want to share your P2P WebRTC experiences.
-
----
-
-## Websocket Replication
-
-
-With the websocket replication plugin, you can spawn a websocket server from a RxDB database in Node.js and replicate with it.
-
-:::note
-The websocket replication plugin does not have any concept for authentication or permission handling. It is designed to create an easy **server-to-server** replication. It is **not** made for client-server replication. Make a pull request if you need that feature.
-:::
-
-## Starting the Websocket Server
-
-```ts
-import { createRxDatabase } from 'rxdb';
-import {
- startWebsocketServer
-} from 'rxdb/plugins/replication-websocket';
-
-// create a RxDatabase like normal
-const myDatabase = await createRxDatabase({/* ... */});
-
-// start a websocket server
-const serverState = await startWebsocketServer({
- database: myDatabase,
- port: 1337,
- path: '/socket'
-});
-
-// stop the server
-await serverState.close();
-```
-
-## Connect to the Websocket Server
-
-The replication has to be started once for each collection that you want to replicate.
-
-```ts
-import {
- replicateWithWebsocketServer
-} from 'rxdb/plugins/replication-websocket';
-
-// start the replication
-const replicationState = await replicateWithWebsocketServer({
- /**
- * To make the replication work,
- * the client collection name must be equal
- * to the server collection name.
- */
- collection: myRxCollection,
- url: 'ws://localhost:1337/socket'
-});
-
-// stop the replication
-await replicationState.cancel();
-```
-
-## Customize
-
-We use the [ws](https://www.npmjs.com/package/ws) npm library, so you can use all optional configuration provided by it.
-This is especially important to improve performance by opting in of some optional settings.
-
----
-
-## ⚙️ RxDB realtime Sync Engine for Local-First Apps
-
-# RxDB's realtime Sync Engine for Local-First Apps
-
-The RxDB Sync Engine provides the ability to sync the database state in **realtime** between the clients and the server.
-
-The backend server does not have to be a RxDB instance; you can build a replication with **any infrastructure**.
-For example you can replicate with a [custom GraphQL endpoint](./replication-graphql.md) or a [HTTP server](./replication-http.md) on top of a PostgreSQL or MongoDB database.
-
-The replication is made to support the [Local-First](./articles/local-first-future.md) paradigm, so that when the client goes [offline](./offline-first.md), the RxDB [database](./rx-database.md) can still read and write [locally](./articles/local-database.md) and will continue the replication when the client goes online again.
-
-## Design Decisions of the Sync Engine
-
-In contrast to other (server-side) database replication protocols, the RxDB Sync Engine was designed with these goals in mind:
-
-- **Easy to Understand**: The sync engine works in a simple "git-like" way that is easy to understand for an average developer. You only have to understand how three simple endpoints work.
-- **Complex Parts are in RxDB, not in the Backend**: The complex parts of the Sync Engine, like [conflict handling](./transactions-conflicts-revisions.md) or offline-online switches, are implemented inside of RxDB itself. This makes creating a compatible backend very easy.
-- **Compatible with any Backend**: Because the complex parts are in RxDB, the backend can be "dump" which makes the protocol compatible to almost every backend. No matter if you use PostgreSQL, MongoDB or anything else.
-- **Performance is optimized for Client Devices and Browsers**: By grouping updates and fetches into batches, it is faster to transfer and easier to compress. Client devices and browsers can also process this data faster, for example running `JSON.parse()` on a chunk of data is faster than calling it once per row. Same goes for how client side storage like [IndexedDB](./rx-storage-indexeddb.md) or [OPFS](./rx-storage-opfs.md) works where writing data in bulks is faster.
-- **Offline-First Support**: By incorporating conflict handling at the client side, the protocol fully supports [offline-first apps](./offline-first.md). Users can continue making changes while offline, and those updates will sync seamlessly once a connection is reestablished - all without risking data loss or having undefined behavior.
-- **Multi-Tab Support**: When RxDB is used in a browser and multiple tabs of the same application are opened, only exactly one runs the replication at any given time. This reduces client- and backend resources.
-
-## The Sync Engine on the document level
-
-On the RxDocument level, the replication works like git, where the fork/client contains all new writes and must be merged with the master/server before it can push its new state to the master/server.
-
-```
-A---B-----------D master/server state
- \ /
- B---C---D fork/client state
-```
-
-- The client pulls the latest state `B` from the master.
-- The client does some changes `C+D`.
-- The client pushes these changes to the master by sending the latest known master state `B` and the new client state `D` of the document.
-- If the master state is equal to the latest master `B` state of the client, the new client state `D` is set as the latest master state.
-- If the master also had changes and so the latest master change is different then the one that the client assumes, we have a conflict that has to be resolved on the client.
-
-## The Sync Engine on the transfer level
-
-When document states are transferred, all handlers use batches of documents for better performance.
-The server **must** implement the following methods to be compatible with the replication:
-
-- **pullHandler** Get the last checkpoint (or null) as input. Returns all documents that have been written **after** the given checkpoint. Also returns the checkpoint of the latest written returned document.
-- **pushHandler** a method that can be called by the client to send client side writes to the master. It gets an array with the `assumedMasterState` and the `newForkState` of each document write as input. It must return an array that contains the master document states of all conflicts. If there are no conflicts, it must return an empty array.
-- **pullStream** an observable that emits batches of all master writes and the latest checkpoint of the write batches.
-
-```
- +--------+ +--------+
- | | pullHandler() | |
- | |---------------------> | |
- | | | |
- | | | |
- | Client | pushHandler() | Server |
- | |---------------------> | |
- | | | |
- | | pullStream$ | |
- | | <-------------------------| |
- +--------+ +--------+
-```
-
-The replication runs in two **different modes**:
-
-### Checkpoint iteration
-
-On first initial replication, or when the client comes online again, a checkpoint based iteration is used to catch up with the server state.
-A checkpoint is a subset of the fields of the last pulled document. When the checkpoint is send to the backend via `pullHandler()`, the backend must be able to respond with all documents that have been written **after** the given checkpoint.
-For example if your documents contain an `id` and an `updatedAt` field, these two can be used as checkpoint.
-
-When the checkpoint iteration reaches the last checkpoint, where the backend returns an empty array because there are no newer documents, the replication will automatically switch to the `event observation` mode.
-
-### Event observation
-
-While the client is connected to the backend, the events from the backend are observed via `pullStream$` and persisted to the client.
-
-If your backend for any reason is not able to provide a full `pullStream$` that contains all events and the checkpoint, you can instead only emit `RESYNC` events that tell RxDB that anything unknown has changed on the server and it should run the pull replication via [checkpoint iteration](#checkpoint-iteration).
-
-When the client goes offline and online again, it might happen that the `pullStream$` has missed out some events. Therefore the `pullStream$` should also emit a `RESYNC` event each time the client reconnects, so that the client can become in sync with the backend via the [checkpoint iteration](#checkpoint-iteration) mode.
-
-## Data layout on the server
-
-To use the replication you first have to ensure that:
-- **documents are deterministic sortable by their last write time**
-
- *deterministic* means that even if two documents have the same *last write time*, they have a predictable sort order.
- This is most often ensured by using the *primaryKey* as second sort parameter as part of the checkpoint.
-
-- **documents are never deleted, instead the `_deleted` field is set to `true`.**
-
- This is needed so that the deletion state of a document exists in the database and can be replicated with other instances. If your backend uses a different field to mark deleted documents, you have to transform the data in the push/pull handlers or with the modifiers.
-
-For example if your documents look like this:
-
-```ts
-const docData = {
- "id": "foobar",
- "name": "Alice",
- "lastName": "Wilson",
- /**
- * Contains the last write timestamp
- * so all documents writes can be sorted by that value
- * when they are fetched from the remote instance.
- */
- "updatedAt": 1564483474,
- /**
- * Instead of physically deleting documents,
- * a deleted document gets replicated.
- */
- "_deleted": false
-}
-```
-
-Then your data is always sortable by `updatedAt`. This ensures that when RxDB fetches 'new' changes via `pullHandler()`, it can send the latest `updatedAt+id` checkpoint to the remote endpoint and then receive all newer documents.
-
-By default, the field is `_deleted`. If your remote endpoint uses a different field to mark deleted documents, you can set the `deletedField` in the replication options which will automatically map the field on all pull and push requests.
-
-## Conflict handling
-
-When multiple clients (or the server) modify the same document at the same time (or when they are offline), it can happen that a conflict arises during the replication.
-
-```
-A---B1---C1---X master/server state
- \ /
- B1---C2 fork/client state
-```
-
-In the case above, the client would tell the master to move the document state from `B1` to `C2` by calling `pushHandler()`. But because the actual master state is `C1` and not `B1`, the master would reject the write by sending back the actual master state `C1`.
-**RxDB resolves all conflicts on the client** so it would call the conflict handler of the `RxCollection` and create a new document state `D` that can then be written to the master.
-
-```
-A---B1---C1---X---D master/server state
- \ / \ /
- B1---C2---D fork/client state
-```
-
-The default conflict handler will always drop the fork state and use the master state. This ensures that clients that are offline for a very long time, do not accidentally overwrite other peoples changes when they go online again.
-You can specify a custom conflict handler by setting the property `conflictHandler` when calling `addCollection()`.
-
-Learn how to create a [custom conflict handler](./transactions-conflicts-revisions.md#custom-conflict-handler).
-
-## replicateRxCollection()
-
-You can start the replication of a single `RxCollection` by calling `replicateRxCollection()` like in the following:
-
-```ts
-import { replicateRxCollection } from 'rxdb/plugins/replication';
-import {
- lastOfArray
-} from 'rxdb';
-const replicationState = await replicateRxCollection({
- collection: myRxCollection,
- /**
- * An id for the replication to identify it
- * and so that RxDB is able to resume the replication on app reload.
- * If you replicate with a remote server, it is recommended to put the
- * server url into the replicationIdentifier.
- */
- replicationIdentifier: 'my-rest-replication-to-https://example.com/api/sync',
- /**
- * By default it will do an ongoing realtime replication.
- * By settings live: false the replication will run once until the local state
- * is in sync with the remote state, then it will cancel itself.
- * (optional), default is true.
- */
- live: true,
- /**
- * Time in milliseconds after when a failed backend request
- * has to be retried.
- * This time will be skipped if a offline->online switch is detected
- * via navigator.onLine
- * (optional), default is 5 seconds.
- */
- retryTime: 5 * 1000,
- /**
- * When multiInstance is true, like when you use RxDB in multiple browser tabs,
- * the replication should always run in only one of the open browser tabs.
- * If waitForLeadership is true, it will wait until the current instance is leader.
- * If waitForLeadership is false, it will start replicating, even if it is not leader.
- * [default=true]
- */
- waitForLeadership: true,
- /**
- * If this is set to false,
- * the replication will not start automatically
- * but will wait for replicationState.start() being called.
- * (optional), default is true
- */
- autoStart: true,
-
- /**
- * Custom deleted field, the boolean property of the document data that
- * marks a document as being deleted.
- * If your backend uses a different fieldname then '_deleted', set the fieldname here.
- * RxDB will still store the documents internally with '_deleted', setting this field
- * only maps the data on the data layer.
- *
- * If a custom deleted field contains a non-boolean value, the deleted state
- * of the documents depends on if the value is truthy or not. So instead of providing a boolean * * deleted value, you could also work with using a 'deletedAt' timestamp instead.
- *
- * [default='_deleted']
- */
- deletedField: 'deleted',
-
- /**
- * Optional,
- * only needed when you want to replicate local changes to the remote instance.
- */
- push: {
- /**
- * Push handler
- */
- async handler(docs) {
- /**
- * Push the local documents to a remote REST server.
- */
- const rawResponse = await fetch('https://example.com/api/sync/push', {
- method: 'POST',
- headers: {
- 'Accept': 'application/json',
- 'Content-Type': 'application/json'
- },
- body: JSON.stringify({ docs })
- });
- /**
- * Contains an array with all conflicts that appeared during this push.
- * If there were no conflicts, return an empty array.
- */
- const response = await rawResponse.json();
- return response;
- },
- /**
- * Batch size, optional
- * Defines how many documents will be given to the push handler at once.
- */
- batchSize: 5,
- /**
- * Modifies all documents before they are given to the push handler.
- * Can be used to swap out a custom deleted flag instead of the '_deleted' field.
- * If the push modifier return null, the document will be skipped and not send to the remote.
- * Notice that the modifier can be called multiple times and should not contain any side effects.
- * (optional)
- */
- modifier: d => d
- },
- /**
- * Optional,
- * only needed when you want to replicate remote changes to the local state.
- */
- pull: {
- /**
- * Pull handler
- */
- async handler(lastCheckpoint, batchSize) {
- const minTimestamp = lastCheckpoint ? lastCheckpoint.updatedAt : 0;
- /**
- * In this example we replicate with a remote REST server
- */
- const response = await fetch(
- `https://example.com/api/sync/?minUpdatedAt=${minTimestamp}&limit=${batchSize}`
- );
- const documentsFromRemote = await response.json();
- return {
- /**
- * Contains the pulled documents from the remote.
- * Not that if documentsFromRemote.length < batchSize,
- * then RxDB assumes that there are no more un-replicated documents
- * on the backend, so the replication will switch to 'Event observation' mode.
- */
- documents: documentsFromRemote,
- /**
- * The last checkpoint of the returned documents.
- * On the next call to the pull handler,
- * this checkpoint will be passed as 'lastCheckpoint'
- */
- checkpoint: documentsFromRemote.length === 0 ? lastCheckpoint : {
- id: lastOfArray(documentsFromRemote).id,
- updatedAt: lastOfArray(documentsFromRemote).updatedAt
- }
- };
- },
- batchSize: 10,
- /**
- * Modifies all documents after they have been pulled
- * but before they are used by RxDB.
- * Notice that the modifier can be called multiple times and should not contain any side effects.
- * (optional)
- */
- modifier: d => d,
- /**
- * Stream of the backend document writes.
- * See below.
- * You only need a stream$ when you have set live=true
- */
- stream$: pullStream$.asObservable()
- },
-});
-
-/**
- * Creating the pull stream for realtime replication.
- * Here we use a websocket but any other way of sending data to the client can be used,
- * like long polling or server-sent events.
- */
-const pullStream$ = new Subject>();
-let firstOpen = true;
-function connectSocket() {
- const socket = new WebSocket('wss://example.com/api/sync/stream');
- /**
- * When the backend sends a new batch of documents+checkpoint,
- * emit it into the stream$.
- *
- * event.data must look like this
- * {
- * documents: [
- * {
- * id: 'foobar',
- * _deleted: false,
- * updatedAt: 1234
- * }
- * ],
- * checkpoint: {
- * id: 'foobar',
- * updatedAt: 1234
- * }
- * }
- */
- socket.onmessage = event => pullStream$.next(event.data);
- /**
- * Automatically reconnect the socket on close and error.
- */
- socket.onclose = () => connectSocket();
- socket.onerror = () => socket.close();
-
- socket.onopen = () => {
- if(firstOpen) {
- firstOpen = false;
- } else {
- /**
- * When the client is offline and goes online again,
- * it might have missed out events that happened on the server.
- * So we have to emit a RESYNC so that the replication goes
- * into 'Checkpoint iteration' mode until the client is in sync
- * and then it will go back into 'Event observation' mode again.
- */
- pullStream$.next('RESYNC');
- }
- }
-}
-
-```
-
-## Multi Tab support
-
-For better performance, the replication runs only in one instance when RxDB is used in multiple browser tabs or Node.js processes.
-By setting `waitForLeadership: false` you can enforce that each tab runs its own replication cycles.
-If used in a multi instance setting, so when at database creation `multiInstance: false` was not set,
-you need to import the [leader election plugin](./leader-election.md) so that RxDB can know how many instances exist and which browser tab should run the replication.
-
-## Error handling
-
-When sending a document to the remote fails for any reason, RxDB will send it again in a later point in time.
-This happens for **all** errors. The document write could have already reached the remote instance and be processed, while only the answering fails.
-The remote instance must be designed to handle this properly and to not crash on duplicate data transmissions.
-Depending on your use case, it might be ok to just write the duplicate document data again.
-But for a more resilient error handling you could compare the last write timestamps or add a unique write id field to the document. This field can then be used to detect duplicates and ignore re-send data.
-
-Also the replication has an `.error$` stream that emits all `RxError` objects that arise during replication.
-Notice that these errors contain an inner `.parameters.errors` field that contains the original error. Also they contain a `.parameters.direction` field that indicates if the error was thrown during `pull` or `push`. You can use these to properly handle errors. For example when the client is outdated, the server might respond with a `426 Upgrade Required` error code that can then be used to force a page reload.
-
-```ts
-replicationState.error$.subscribe((error) => {
- if(
- error.parameters.errors &&
- error.parameters.errors[0] &&
- error.parameters.errors[0].code === 426
- ) {
- // client is outdated -> enforce a page reload
- location.reload();
- }
-});
-```
-
-## Security
-
-Be aware that client side clocks can never be trusted. When you have a client-backend replication, the backend should overwrite the `updatedAt` timestamp or use another field, when it receives the change from the client.
-
-## RxReplicationState
-
-The function `replicateRxCollection()` returns a `RxReplicationState` that can be used to manage and observe the replication.
-
-### Observable
-
-To observe the replication, the `RxReplicationState` has some `Observable` properties:
-
-```ts
-// emits each document that was received from the remote
-myRxReplicationState.received$.subscribe(doc => console.dir(doc));
-
-// emits each document that was send to the remote
-myRxReplicationState.sent$.subscribe(doc => console.dir(doc));
-
-// emits all errors that happen when running the push- & pull-handlers.
-myRxReplicationState.error$.subscribe(error => console.dir(error));
-
-// emits true when the replication was canceled, false when not.
-myRxReplicationState.canceled$.subscribe(bool => console.dir(bool));
-
-// emits true when a replication cycle is running, false when not.
-myRxReplicationState.active$.subscribe(bool => console.dir(bool));
-```
-
-### awaitInitialReplication()
-
-With `awaitInitialReplication()` you can await the initial replication that is done when a full replication cycle was successful finished for the first time. The returned promise will never resolve if you cancel the replication before the initial replication can be done.
-
-```ts
-await myRxReplicationState.awaitInitialReplication();
-```
-
-### awaitInSync()
-
-Returns a `Promise` that resolves when:
-- `awaitInitialReplication()` has emitted.
-- All local data is replicated with the remote.
-- No replication cycle is running or in retry-state.
-
-:::warning
-When `multiInstance: true` and `waitForLeadership: true` and another tab is already running the replication, `awaitInSync()` will not resolve until the other tab is closed and the replication starts in this tab.
-
-```ts
-await myRxReplicationState.awaitInSync();
-```
-:::
-
-:::warning
-
-#### `awaitInitialReplication()` and `awaitInSync()` should not be used to block the application
-
-A common mistake in RxDB usage is when developers want to block the app usage until the application is in sync.
-Often they just `await` the promise of `awaitInitialReplication()` or `awaitInSync()` and show a loading spinner until they resolve. This is dangerous and should not be done because:
-- When `multiInstance: true` and `waitForLeadership: true (default)` and another tab is already running the replication, `awaitInitialReplication()` will not resolve until the other tab is closed and the replication starts in this tab.
-- Your app can no longer be started when the device is offline because there the `awaitInitialReplication()` will never resolve and the app cannot be used.
-
-Instead you should store the last in-sync time in a [local document](./rx-local-document.md) and observe its value on all instances.
-
-For example if you want to block clients from using the app if they have not been in sync for the last 24 hours, you could use this code:
-```ts
-
-// update last-in-sync-flag each time replication is in sync
-await myCollection.insertLocal('last-in-sync', { time: 0 }).catch(); // ensure flag exists
-myReplicationState.active$.pipe(
- mergeMap(async() => {
- await myReplicationState.awaitInSync();
- await myCollection.upsertLocal('last-in-sync', { time: Date.now() })
- })
-);
-
-// observe the flag and toggle loading spinner
-await showLoadingSpinner();
-const oneDay = 1000 * 60 * 60 * 24;
-await firstValueFrom(
- myCollection.getLocal$('last-in-sync').pipe(
- filter(d => d.get('time') > (Date.now() - oneDay))
- )
-);
-await hideLoadingSpinner();
-```
-
-:::
-
-### reSync()
-
-Triggers a `RESYNC` cycle where the replication goes into [checkpoint iteration](#checkpoint-iteration) until the client is in sync with the backend. Used in unit tests or when no proper `pull.stream$` can be implemented so that the client only knows that something has been changed but not what.
-
-```ts
-myRxReplicationState.reSync();
-```
-
-If your backend is not capable of sending events to the client at all, you could run `reSync()` in an interval so that the client will automatically fetch server changes after some time at least.
-
-```ts
-// trigger RESYNC each 10 seconds.
-setInterval(() => myRxReplicationState.reSync(), 10 * 1000);
-```
-
-### cancel()
-
-Cancels the replication. Returns a promise that resolved when everything has been cleaned up.
-
-```ts
-await myRxReplicationState.cancel();
-```
-
-### pause()
-
-Pauses a running replication. The replication can later be resumed with `RxReplicationState.start()`.
-
-```ts
-await myRxReplicationState.pause();
-await myRxReplicationState.start(); // restart
-```
-
-### remove()
-
-Cancels the replication and deletes the metadata of the replication state. This can be used to restart the replication "from scratch". Calling `.remove()` will only delete the replication metadata, it will NOT delete the documents from the collection of the replication.
-
-```ts
-await myRxReplicationState.remove();
-```
-
-### isStopped()
-
-Returns `true` if the replication is stopped. This can be if a non-live replication is finished or a replication got canceled.
-
-```js
-replicationState.isStopped(); // true/false
-```
-
-### isPaused()
-
-Returns `true` if the replication is paused.
-
-```js
-replicationState.isPaused(); // true/false
-```
-
-### Setting a custom initialCheckpoint
-
-By default, the push replication will start from the beginning of time and push all documents from there to the remote.
-By setting a custom `push.initialCheckpoint`, you can tell the replication to only push writes that are newer than the given checkpoint.
-
-```ts
-// store the latest checkpoint of a collection
-let lastLocalCheckpoint: any;
-myCollection.checkpoint$.subscribe(checkpoint => lastLocalCheckpoint = checkpoint);
-
-// start the replication but only push documents that are newer than the lastLocalCheckpoint
-const replicationState = replicateRxCollection({
- collection: myCollection,
- replicationIdentifier: 'my-custom-replication-with-init-checkpoint',
- /* ... */
- push: {
- handler: /* ... */,
- initialCheckpoint: lastLocalCheckpoint
- }
-});
-```
-
-The same can be done for the other direction by setting a `pull.initialCheckpoint`. Notice that here we need the remote checkpoint from the backend instead of the one from the RxDB storage.
-
-```ts
-// get the last pull checkpoint from the server
-const lastRemoteCheckpoint = await (await fetch('http://example.com/pull-checkpoint')).json();
-
-// start the replication but only pull documents that are newer than the lastRemoteCheckpoint
-const replicationState = replicateRxCollection({
- collection: myCollection,
- replicationIdentifier: 'my-custom-replication-with-init-checkpoint',
- /* ... */
- pull: {
- handler: /* ... */,
- initialCheckpoint: lastRemoteCheckpoint
- }
-});
-```
-
-### toggleOnDocumentVisible
-
-Ensures replication continues running when the document is `visible`. This helps avoid situations where the leader-elected tab becomes stale or is hibernated by the browser to save battery.
-When the tab becomes hidden, replication is automatically paused; when the tab becomes visible again (or the instance becomes leader), replication resumes.
-
-**Default:** `true`
-
-```ts
-const replicationState = replicateRxCollection({
- toggleOnDocumentVisible: true,
- /* ... */
-});
-```
-
-## Attachment replication
-
-Attachment replication is supported in the RxDB Sync Engine itself. However not all replication plugins support it.
-If you start the replication with a collection which has [enabled RxAttachments](./rx-attachment.md) attachments data will be added to all push- and write data.
-
-The pushed documents will contain an `_attachments` object which contains:
-
-- The attachment meta data (id, length, digest) of all non-attachments
-- The full attachment data of all attachments that have been updated/added from the client.
-- Deleted attachments are spared out in the pushed document.
-
-With this data, the backend can decide onto which attachments must be deleted, added or overwritten.
-
-Accordingly, the pulled document must contain the same data, if the backend has a new document state with updated attachments.
-
-## Pull-Only Replication
-
-With the replication protocol it is possible to do pull only replications where data is pulled from a backend but not pushed from the client. RxDB implements some performance optimizations for these like not storing server metadata on pull only streams.
-
-## Partial Sync with RxDB
-
-Suppose you're building a Minecraft-like voxel game where the world can expand in every direction. Storing the entire map locally for offline use is impossible because the dataset could be massive. Yet you still want a local-first design so players can edit the game world offline and sync back to the server later.
-
-### Idea: One Collection, Multiple Replications
-
-You might define a single RxDB collection called `db.voxels`, where each document represents a block or "voxel" (with fields like id, chunkId, coordinates, and type). With RxDB you can, instead of setting up _one_ replication that tries to fetch _all_ voxels, you create **separate replication states** for each _chunk_ of the world the player is currently near.
-
-When the player enters a particular chunk (say `chunk-123`), you **start a replication** dedicated to that chunk. On the server side, you have endpoints to **pull** only that chunk's voxels (e.g., GET `/api/voxels/pull?chunkId=123`) and **push** local changes back (e.g., POST `/api/voxels/push?chunkId=123`). RxDB handles them similarly to any other offline-first setup, but each replication is filtered to only that chunk's data.
-
-When the player leaves `chunk-123` and no longer needs it, you **stop** that replication. If the player moves to `chunk-124`, you start a new replication for chunk 124. This ensures the game only downloads and syncs data relevant to the player's immediate location. Meanwhile, all edits made offline remain safely stored in the local database until a network connection is available.
-
-```ts
-const activeReplications = {}; // chunkId -> replicationState
-
-function startChunkReplication(chunkId) {
- if (activeReplications[chunkId]) return;
- const replicationId = 'voxels-chunk-' + chunkId;
-
- const replicationState = replicateRxCollection({
- collection: db.voxels,
- replicationIdentifier: replicationId,
- pull: {
- async handler(checkpoint, limit) {
- const res = await fetch(
- `/api/voxels/pull?chunkId=${chunkId}&cp=${checkpoint}&limit=${limit}`
- );
- /* ... */
- }
- },
- push: {
- async handler(changedDocs) {
- const res = await fetch(`/api/voxels/push?chunkId=${chunkId}`);
- /* ... */
- }
- }
- });
- activeReplications[chunkId] = replicationState;
-}
-
-function stopChunkReplication(chunkId) {
- const rep = await activeReplications[chunkId];
- if (rep) {
- rep.cancel();
- delete activeReplications[chunkId];
- }
-}
-
-// Called whenever the player's location changes;
-// dynamically start/stop replication for nearby chunks.
-function onPlayerMove(neighboringChunkIds) {
- neighboringChunkIds.forEach(startChunkReplication);
- Object.keys(activeReplications).forEach(cid => {
- if (!neighboringChunkIds.includes(cid)) {
- stopChunkReplication(cid);
- }
- });
-}
-```
-
-### Diffy-Sync when Revisiting a Chunk
-
-An added benefit of this multi-replication-state design is checkpointing. Each replication state has a unique "replication identifier," so the next time the player returns to `chunk-123`, the local database knows what it already has and only fetches the differences without the need to re-download the entire chunk.
-
-### Partial Sync in a Local-First Business Application
-
-Though a voxel world is an intuitive example, the same technique applies in enterprise scenarios where data sets are large but each user only needs a specific subset. You could spin up a new replication for each "permission group" or "region," so users only sync the records they're allowed to see. Or in a CRM, the replication might be filtered by the specific accounts or projects a user is currently handling. As soon as they switch to a different project, you stop the old replication and start one for the new scope.
-
-This **chunk-based** or **scope-based** replication pattern keeps your local storage lean, reduces network overhead, and still gives users the offline, instant-feedback experience that local-first apps are known for. By dynamically creating (and canceling) replication states, you retain tight control over bandwidth usage and make the infinite (or very large) feasible. In a production app you would also "flag" the entities (with a `pull.modifier`) by which replication state they came from, so that you can clean up the parts that you no longer need. -->
-
-## FAQ
-
-
- I have infinite loops in my replication, how to debug?
-
- When you have infinite loops in your replication or random re-runs of http requests after some time, the reason is likely that your pull-handler
- is crashing. The debug this, add a log to the error$ handler to debug it. `myRxReplicationState.error$.subscribe(err => console.log('error$', err))`.
-
-
-
----
-
-## Attachments
-
-
-Attachments are binary data files that can be attachment to an `RxDocument`, like a file that is attached to an email.
-
-Using attachments instead of adding the data to the normal document, ensures that you still have a good **performance** when querying and writing documents, even when a big amount of data, like an image file has to be stored.
-
-- You can store string, binary files, images and whatever you want side by side with your documents.
-- Deleted documents automatically loose all their attachments data.
-- Not all replication plugins support the replication of attachments.
-- Attachments can be stored [encrypted](./encryption.md).
-
-Internally, attachments in RxDB are stored and handled similar to how [CouchDB, PouchDB](https://pouchdb.com/guides/attachments.html#how-attachments-are-stored) does it.
-
-## Add the attachments plugin
-
-To enable the attachments, you have to add the `attachments` plugin.
-
-```ts
-import { addRxPlugin } from 'rxdb';
-import { RxDBAttachmentsPlugin } from 'rxdb/plugins/attachments';
-addRxPlugin(RxDBAttachmentsPlugin);
-```
-
-## Enable attachments in the schema
-
-Before you can use attachments, you have to ensure that the attachments-object is set in the schema of your `RxCollection`.
-
-```javascript
-
-const mySchema = {
- version: 0,
- type: 'object',
- properties: {
- // .
- // .
- // .
- },
- attachments: {
- encrypted: true // if true, the attachment-data will be encrypted with the db-password
- }
-};
-
-const myCollection = await myDatabase.addCollections({
- humans: {
- schema: mySchema
- }
-});
-```
-
-## putAttachment()
-
-Adds an attachment to a `RxDocument`. Returns a Promise with the new attachment.
-
-```javascript
-import { createBlob } from 'rxdb';
-
-const attachment = await myDocument.putAttachment(
- {
- id: 'cat.txt', // (string) name of the attachment
- data: createBlob('meowmeow', 'text/plain'), // (string|Blob) data of the attachment
- type: 'text/plain' // (string) type of the attachment-data like 'image/jpeg'
- }
-);
-```
-
-:::warning
-Expo/React-Native does not support the `Blob` API natively. Make sure you use your own polyfill that properly supports `blob.arrayBuffer()` when using RxAttachments or use the `putAttachmentBase64()` and `getDataBase64()` so that you do not have to create blobs.
-:::
-
-## putAttachmentBase64()
-
-Same as `putAttachment()` but accepts a plain base64 string instead of a `Blob`.
-
-```ts
-const attachment = await doc.putAttachmentBase64({
- id: 'cat.txt',
- length: 4,
- data: 'bWVvdw==',
- type: 'text/plain'
-});
-```
-
-## getAttachment()
-
-Returns an `RxAttachment` by its id. Returns `null` when the attachment does not exist.
-
-```javascript
-const attachment = myDocument.getAttachment('cat.jpg');
-```
-
-## allAttachments()
-
-Returns an array of all attachments of the `RxDocument`.
-
-```javascript
-const attachments = myDocument.allAttachments();
-```
-
-## allAttachments$
-
-Gets an Observable which emits a stream of all attachments from the document. Re-emits each time an attachment gets added or removed from the RxDocument.
-
-```javascript
-const all = [];
-myDocument.allAttachments$.subscribe(
- attachments => all = attachments
-);
-```
-
-## RxAttachment
-
-The attachments of RxDB are represented by the type `RxAttachment` which has the following attributes/methods.
-
-### doc
-
-The `RxDocument` which the attachment is assigned to.
-
-### id
-
-The id as `string` of the attachment.
-
-### type
-
-The type as `string` of the attachment.
-
-### length
-
-The length of the data of the attachment as `number`.
-
-### digest
-
-The hash of the attachments data as `string`.
-
-:::note
-The digest is NOT calculated by RxDB, instead it is calculated by the RxStorage. The only guarantee is that the digest will change when the attachments data changes.
-:::
-
-### rev
-
-The revision-number of the attachment as `number`.
-
-### remove()
-
-Removes the attachment. Returns a Promise that resolves when done.
-
-```javascript
-const attachment = myDocument.getAttachment('cat.jpg');
-await attachment.remove();
-```
-
-## getData()
-
-Returns a Promise which resolves the attachment's data as `Blob`. (async)
-
-```javascript
-const attachment = myDocument.getAttachment('cat.jpg');
-const blob = await attachment.getData(); // Blob
-```
-
-## getDataBase64()
-
-Returns a Promise which resolves the attachment's data as **base64** `string`.
-
-```javascript
-const attachment = myDocument.getAttachment('cat.jpg');
-const base64Database = await attachment.getDataBase64(); // 'bWVvdw=='
-```
-
-## getStringData()
-
-Returns a Promise which resolves the attachment's data as `string`.
-
-```javascript
-const attachment = await myDocument.getAttachment('cat.jpg');
-const data = await attachment.getStringData(); // 'meow'
-```
-
-# Attachment compression
-
-Storing many attachments can be a problem when the disc space of the device is exceeded.
-Therefore it can make sense to compress the attachments before storing them in the [RxStorage](./rx-storage.md).
-With the `attachments-compression` plugin you can compress the attachments data on write and decompress it on reads.
-This happens internally and will now change on how you use the api. The compression is run with the [Compression Streams API](https://developer.mozilla.org/en-US/docs/Web/API/Compression_Streams_API) which is only supported on [newer browsers](https://caniuse.com/?search=compressionstream).
-
-```ts
-import {
- wrappedAttachmentsCompressionStorage
-} from 'rxdb/plugins/attachments-compression';
-
-import { getRxStorageIndexedDB } from 'rxdb-premium/plugins/storage-indexeddb';
-
-// create a wrapped storage with attachment-compression.
-const storageWithAttachmentsCompression = wrappedAttachmentsCompressionStorage({
- storage: getRxStorageIndexedDB()
-});
-
-const db = await createRxDatabase({
- name: 'mydatabase',
- storage: storageWithAttachmentsCompression
-});
-
-// set the compression mode at the schema level
-const mySchema = {
- version: 0,
- type: 'object',
- properties: {
- // .
- // .
- // .
- },
- attachments: {
- compression: 'deflate' // <- Specify the compression mode here. OneOf ['deflate', 'gzip']
- }
-};
-
-/* ... create your collections as usual and store attachments in them. */
-
-```
-
----
-
-## Master Data - Create and Manage RxCollections
-
-# RxCollection
-A collection stores documents of the same type.
-
-## Creating a Collection
-To create one or more collections you need a RxDatabase object which has the `.addCollections()`-method. Every collection needs a collection name and a valid `RxJsonSchema`. Other attributes are optional.
-
-```js
-const myCollections = await myDatabase.addCollections({
- // key = collectionName
- humans: {
- schema: mySchema,
- statics: {}, // (optional) ORM-functions for this collection
- methods: {}, // (optional) ORM-functions for documents
- attachments: {}, // (optional) ORM-functions for attachments
- options: {}, // (optional) Custom parameters that might be used in plugins
- migrationStrategies: {}, // (optional)
- autoMigrate: true, // (optional) [default=true]
- cacheReplacementPolicy: function(){}, // (optional) custom cache replacement policy
- conflictHandler: function(){} // (optional) a custom conflict handler can be used
- },
- // you can create multiple collections at once
- animals: {
- // ...
- }
-});
-```
-
-### name
-
-The name uniquely identifies the collection and should be used to refine the collection in the database. Two different collections in the same database can never have the same name. Collection names must match the following regex: `^[a-z][a-z0-9]*$`.
-
-### schema
-
-The schema defines how the documents of the collection are structured. RxDB uses a schema format, similar to [JSON schema](https://json-schema.org/). Read more about the RxDB schema format [here](./rx-schema.md).
-
-### ORM-functions
-With the parameters `statics`, `methods` and `attachments`, you can define ORM-functions that are applied to each of these objects that belong to this collection. See [ORM/DRM](./orm.md).
-
-### Migration
-With the parameters `migrationStrategies` and `autoMigrate` you can specify how migration between different schema-versions should be done. [See Migration](./migration-schema.md).
-
-## Get a collection from the database
-To get an existing collection from the database, call the collection name directly on the database:
-
-```javascript
-// newly created collection
-const collections = await db.addCollections({
- heroes: {
- schema: mySchema
- }
-});
-const collection2 = db.heroes;
-console.log(collections.heroes === collection2); //> true
-```
-
-## Functions
-
-### Observe $
-Calling this will return an [rxjs-Observable](https://rxjs.dev/guide/observable) which streams every change to data of this collection.
-
-```js
-myCollection.$.subscribe(changeEvent => console.dir(changeEvent));
-
-// you can also observe single event-types with insert$ update$ remove$
-myCollection.insert$.subscribe(changeEvent => console.dir(changeEvent));
-myCollection.update$.subscribe(changeEvent => console.dir(changeEvent));
-myCollection.remove$.subscribe(changeEvent => console.dir(changeEvent));
-
-```
-
-### insert()
-Use this to insert new documents into the database. The collection will validate the schema and automatically encrypt any encrypted fields. Returns the new RxDocument.
-
-```js
-const doc = await myCollection.insert({
- name: 'foo',
- lastname: 'bar'
-});
-```
-
-### insertIfNotExists()
-
-The insertIfNotExists() method attempts to insert a new document into the collection only if a document with the same primary key does not already exist. This is useful for ensuring uniqueness without having to manually check for existing records before inserting or handling [conflicts](./transactions-conflicts-revisions.md).
-
-Returns either the newly added [RxDocument](./rx-document.md) or the previous existing document.
-
-```js
-const doc = await myCollection.insertIfNotExists({
- name: 'foo',
- lastname: 'bar'
-});
-```
-
-### bulkInsert()
-
-When you have to insert many documents at once, use bulk insert. This is much faster than calling `.insert()` multiple times.
-Returns an object with a `success`- and `error`-array.
-
-```js
-const result = await myCollection.bulkInsert([{
- name: 'foo1',
- lastname: 'bar1'
-},
-{
- name: 'foo2',
- lastname: 'bar2'
-}]);
-
-// > {
-// success: [RxDocument, RxDocument],
-// error: []
-// }
-```
-
-:::note
-`bulkInsert` will not fail on update conflicts and you cannot expect that on failure the other documents are not inserted. Also the call to `bulkInsert()` it will not throw if a single document errors because of validation errors. Instead it will return the error in the `.error` property of the returned object.
-:::
-
-### bulkRemove()
-
-When you want to remove many documents at once, use bulk remove. Returns an object with a `success`- and `error`-array.
-
-```js
-const result = await myCollection.bulkRemove([
- 'primary1',
- 'primary2'
-]);
-
-// > {
-// success: [RxDocument, RxDocument],
-// error: []
-// }
-```
-
-Instead of providing the document ids, you can also use the [RxDocument](./rx-document.md) instances. This can have better performance if your code knows them already at the moment of removing them:
-```js
-const result = await myCollection.bulkRemove([
- myRxDocument1,
- myRxDocument2,
- /* ... */
-]);
-```
-
-### upsert()
-Inserts the document if it does not exist within the collection, otherwise it will overwrite it. Returns the new or overwritten RxDocument.
-```js
-const doc = await myCollection.upsert({
- name: 'foo',
- lastname: 'bar2'
-});
-```
-
-### bulkUpsert()
-Same as `upsert()` but runs over multiple documents. Improves performance compared to running many `upsert()` calls.
-Returns an `error` and a `success` array.
-
-```js
-const docs = await myCollection.bulkUpsert([
- {
- name: 'foo',
- lastname: 'bar2'
- },
- {
- name: 'bar',
- lastname: 'foo2'
- }
-]);
-/**
- * {
- * success: [RxDocument, RxDocument]
- * error: [],
- * }
- */
-```
-
-### incrementalUpsert()
-
-When you run many upsert operations on the same RxDocument in a very short timespan, you might get a `409 Conflict` error.
-This means that you tried to run a `.upsert()` on the document, while the previous upsert operation was still running.
-To prevent these types of errors, you can run incremental upsert operations.
-The behavior is similar to [RxDocument.incrementalModify](./rx-document.md#incrementalModify).
-
-```js
-const docData = {
- name: 'Bob', // primary
- lastName: 'Kelso'
-};
-
-myCollection.upsert(docData);
-myCollection.upsert(docData);
-// -> throws because of parallel update to the same document
-
-myCollection.incrementalUpsert(docData);
-myCollection.incrementalUpsert(docData);
-myCollection.incrementalUpsert(docData);
-
-// wait until last upsert finished
-await myCollection.incrementalUpsert(docData);
-// -> works
-```
-
-### find()
-To find documents in your collection, use this method. [See RxQuery.find()](./rx-query.md#find).
-
-```js
-// find all that are older than 18
-const olderDocuments = await myCollection
- .find()
- .where('age')
- .gt(18)
- .exec(); // execute
-```
-
-### findOne()
-This does basically what find() does, but it returns only a single document. You can pass a primary value to find a single document more easily.
-
-To find documents in your collection, use this method. [See RxQuery.find()](./rx-query.md#findOne).
-
-```js
-// get document with name:foobar
-myCollection.findOne({
- selector: {
- name: 'foo'
- }
-}).exec().then(doc => console.dir(doc));
-
-// get document by primary, functionally identical to above query
-myCollection.findOne('foo')
- .exec().then(doc => console.dir(doc));
-```
-
-### findByIds()
-
-Find many documents by their id (primary value). This has a way better performance than running multiple `findOne()` or a `find()` with a big `$or` selector.
-
-Returns a `Map` where the primary key of the document is mapped to the document. Documents that do not exist or are deleted, will not be inside of the returned Map.
-
-```js
-const ids = [
- 'alice',
- 'bob',
- /* ... */
-];
-const docsMap = await myCollection.findByIds(ids);
-
-console.dir(docsMap); // Map(2)
-```
-
-:::note
-The `Map` returned by `findByIds` is not guaranteed to return elements in the same order as the list of ids passed to it.
-:::
-
-### exportJSON()
-Use this function to create a json export from every document in the collection.
-
-Before `exportJSON()` and `importJSON()` can be used, you have to add the `json-dump` plugin.
-
-```javascript
-import { addRxPlugin } from 'rxdb';
-import { RxDBJsonDumpPlugin } from 'rxdb/plugins/json-dump';
-addRxPlugin(RxDBJsonDumpPlugin);
-```
-
-```js
-myCollection.exportJSON()
- .then(json => console.dir(json));
-```
-
-### importJSON()
-To import the json dump into your collection, use this function.
-```js
-// import the dump to the database
-myCollection.importJSON(json)
- .then(() => console.log('done'));
-```
-Note that importing will fire events for each inserted document.
-
-### remove()
-
-Removes all known data of the collection and its previous versions.
-This removes the documents, the schemas, and older schemaVersions.
-
-```js
-await myCollection.remove();
-// collection is now removed and can be re-created
-```
-
-### close()
-Removes the collection's object instance from the [RxDatabase](./rx-database.md). This is to free up memory and stop all observers and replications. It will not delete the collections data. When you create the collection again with `database.addCollections()`, the newly added collection will still have all data.
-```js
-await myCollection.close();
-```
-
-### onClose / onRemove()
-With these you can add a function that is run when the collection was closed or removed.
-This works even across multiple browser tabs so you can detect when another tab removes the collection
-and you application can behave accordingly.
-
-```js
-await myCollection.onClose(() => console.log('I am closed'));
-await myCollection.onRemove(() => console.log('I am removed'));
-```
-
-### isRxCollection
-Returns true if the given object is an instance of RxCollection. Returns false if not.
-```js
-const is = isRxCollection(myObj);
-```
-
-## FAQ
-
-
- When I reload the browser window, will my collections still be in the database?
-
- No, the javascript instance of the collections will not automatically load into the database on page reloads.
- You have to call the `addCollections()` method each time you create your database. This will create the JavaScript object instance of the RxCollection so that you can use it in the RxDatabase. The persisted data will be automatically in your RxCollection each time you create it.
-
-
-
- How to remove the limit of 16 collections?
-
- In the open-source version of RxDB, the amount of RxCollections that can exist in parallel is limited to `16`.
- To remove this limit, you can purchase the [Premium Plugins](/premium/) and call the `setPremiumFlag()` function before creating a database:
- ```ts
- import { setPremiumFlag } from 'rxdb-premium/plugins/shared';
- setPremiumFlag();
- ```
-
-
-
----
-
-## RxDatabase - The Core of Your Realtime Data
-
-# RxDatabase
-
-A RxDatabase-Object contains your collections and handles the synchronization of change-events.
-
-## Creation
-
-The database is created by the asynchronous `.createRxDatabase()` function of the core RxDB module. It has the following parameters:
-
-```javascript
-import { createRxDatabase } from 'rxdb/plugins/core';
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-
-const db = await createRxDatabase({
- name: 'heroesdb', // <- name
- storage: getRxStorageLocalstorage(), // <- RxStorage
-
- /* Optional parameters: */
- password: 'myPassword', // <- password (optional)
- multiInstance: true, // <- multiInstance (optional, default: true)
- eventReduce: true, // <- eventReduce (optional, default: false)
- cleanupPolicy: {} // <- custom cleanup policy (optional)
-});
-```
-
-### name
-
-The database-name is a string which uniquely identifies the database. When two RxDatabases have the same name and use the same `RxStorage`, their data can be assumed as equal and they will share events between each other.
-Depending on the storage or adapter this can also be used to define the filesystem folder of your data.
-
-### storage
-
-RxDB works on top of an implementation of the [RxStorage](./rx-storage.md) interface. This interface is an abstraction that allows you to use different underlying databases that actually handle the documents. Depending on your use case you might use a different `storage` with different tradeoffs in performance, bundle size or supported runtimes.
-
-There are many `RxStorage` implementations that can be used depending on the JavaScript environment and performance requirements.
-For example you can use the [LocalStorage RxStorage](./rx-storage-localstorage.md) in the browser or use the [MongoDB RxStorage](./rx-storage-mongodb.md) in Node.js.
-
-- [List of RxStorage implementations](./rx-storage.md)
-
-```javascript
-
-// use the LocalStroage that stores data in the browser.
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-
-const db = await createRxDatabase({
- name: 'mydatabase',
- storage: getRxStorageLocalstorage()
-});
-
-// ...or use the MongoDB RxStorage in Node.js.
-import { getRxStorageMongoDB } from 'rxdb/plugins/storage-mongodb';
-
-const dbMongo = await createRxDatabase({
- name: 'mydatabase',
- storage: getRxStorageMongoDB({
- connection: 'mongodb://localhost:27017,localhost:27018,localhost:27019'
- })
-});
-```
-
-### password
-`(optional)`
-If you want to use encrypted fields in the collections of a database, you have to set a password for it. The password must be a string with at least 12 characters.
-
-[Read more about encryption here](./encryption.md).
-
-### multiInstance
-`(optional=true)`
-When you create more than one instance of the same database in a single javascript-runtime, you should set `multiInstance` to ```true```. This will enable the event sharing between the two instances. For example when the user has opened multiple browser windows, events will be shared between them so that both windows react to the same changes.
-`multiInstance` should be set to `false` when you have single-instances like a single Node.js-process, a react-native-app, a cordova-app or a single-window [electron](./electron-database.md) app which can decrease the startup time because no instance coordination has to be done.
-
-### eventReduce
-`(optional=false)`
-
-One big benefit of having a realtime database is that big performance optimizations can be done when the database knows a query is observed and the updated results are needed continuously. RxDB uses the [EventReduce Algorithm](https://github.com/pubkey/event-reduce) to optimize observer or recurring queries.
-
-For better performance, you should always set `eventReduce: true`. This will also be the default in the next major RxDB version.
-
-### ignoreDuplicate
-`(optional=false)`
-If you create multiple RxDatabase-instances with the same name and same adapter, it's very likely that you have done something wrong.
-To prevent this common mistake, RxDB will throw an error when you do this.
-In some rare cases like unit-tests, you want to do this intentional by setting `ignoreDuplicate` to `true`. Because setting `ignoreDuplicate: true` in production will decrease the performance by having multiple instances of the same database, `ignoreDuplicate` is only allowed to be set in [dev-mode](./dev-mode.md).
-
-```js
-const db1 = await createRxDatabase({
- name: 'heroesdb',
- storage: getRxStorageLocalstorage(),
- ignoreDuplicate: true
-});
-const db2 = await createRxDatabase({
- name: 'heroesdb',
- storage: getRxStorageLocalstorage(),
- ignoreDuplicate: true // this create-call will not throw because you explicitly allow it
-});
-```
-
-### closeDuplicates
-`(optional=false)`
-
-Closes all other RxDatabases instances that have the same storage+name combination.
-
-```js
-const db1 = await createRxDatabase({
- name: 'heroesdb',
- storage: getRxStorageLocalstorage(),
- closeDuplicates: true
-});
-const db2 = await createRxDatabase({
- name: 'heroesdb',
- storage: getRxStorageLocalstorage(),
- closeDuplicates: true // this create-call will close db1
-});
-
-// db1 is now closed.
-```
-
-### hashFunction
-
-By default, RxDB will use `crypto.subtle.digest('SHA-256', data)` for hashing. If you need a different hash function or the `crypto.subtle` API is not supported in your JavaScript runtime, you can provide an own hash function instead. A hash function gets a string as input and returns a `Promise` that resolves a string.
-
-```ts
-// example hash function that runs in plain JavaScript
-import { sha256 } from 'ohash';
-function myOwnHashFunction(input: string) {
- return Promise.resolve(sha256(input));
-}
-const db = await createRxDatabase({
- hashFunction: myOwnHashFunction
- /* ... */
-});
-```
-
-If you get the error message `TypeError: Cannot read properties of undefined (reading 'digest')` this likely means that you are neither running on `localhost` nor on `https` which is why your browser might not allow access to `crypto.subtle.digest`.
-
-## Methods
-
-### Observe with $
-Calling this will return an [rxjs-Observable](http://reactivex.io/documentation/observable.html) which streams all write events of the `RxDatabase`.
-
-```javascript
-myDb.$.subscribe(changeEvent => console.dir(changeEvent));
-```
-
-### exportJSON()
-Use this function to create a json-export from every piece of data in every collection of this database. You can pass `true` as a parameter to decrypt the encrypted data-fields of your document.
-
-Before `exportJSON()` and `importJSON()` can be used, you have to add the `json-dump` plugin.
-
-```javascript
-import { addRxPlugin } from 'rxdb';
-import { RxDBJsonDumpPlugin } from 'rxdb/plugins/json-dump';
-addRxPlugin(RxDBJsonDumpPlugin);
-```
-
-```javascript
-myDatabase.exportJSON()
- .then(json => console.dir(json));
-```
-
-### importJSON()
-To import the json-dumps into your database, use this function.
-
-```javascript
-// import the dump to the database
-emptyDatabase.importJSON(json)
- .then(() => console.log('done'));
-```
-
-### backup()
-
-Writes the current (or ongoing) database state to the filesystem. [Read more](./backup.md)
-
-### waitForLeadership()
-Returns a Promise which resolves when the RxDatabase becomes [elected leader](./leader-election.md).
-
-### requestIdlePromise()
-Returns a promise which resolves when the database is in idle. This works similar to [requestIdleCallback](https://developer.mozilla.org/de/docs/Web/API/Window/requestIdleCallback) but tracks the idle-ness of the database instead of the CPU.
-Use this for semi-important tasks like cleanups which should not affect the speed of important tasks.
-
-```javascript
-
-myDatabase.requestIdlePromise().then(() => {
- // this will run at the moment the database has nothing else to do
- myCollection.customCleanupFunction();
-});
-
-// with timeout
-myDatabase.requestIdlePromise(1000 /* time in ms */).then(() => {
- // this will run at the moment the database has nothing else to do
- // or the timeout has passed
- myCollection.customCleanupFunction();
-});
-
-```
-
-### close()
-Closes the databases object-instance. This is to free up memory and stop all observers and replications.
-Returns a `Promise` that resolves when the database is closed.
-Closing a database will not remove the databases data. When you create the database again with `createRxDatabase()`, all data will still be there.
-```javascript
-await myDatabase.close();
-```
-
-### remove()
-Wipes all documents from the storage. Use this to free up disc space.
-
-```javascript
-await myDatabase.remove();
-// database instance is now gone
-```
-
-You can also clear a database without removing its instance by using `removeRxDatabase()`. This is useful if you want to migrate data or reset the users state by renaming the database. Then you can remove the previous data with `removeRxDatabase()` without creating a RxDatabase first. Notice that this will only remove the
-stored data on the storage. It will not clear the cache of any [RxDatabase](./rx-database.md) instances.
-```javascript
-import { removeRxDatabase } from 'rxdb';
-removeRxDatabase('mydatabasename', 'localstorage');
-```
-
-### isRxDatabase
-Returns true if the given object is an instance of RxDatabase. Returns false if not.
-```javascript
-import { isRxDatabase } from 'rxdb';
-const is = isRxDatabase(myObj);
-```
-
-### collections$
-
-Emits events whenever a [RxCollection](./rx-collection.md) is added or removed to the instance of the RxDatabase. Notice that this only emits the JavaScript instance of the RxCollection class, it does not emit events across browser tabs.
-
-```javascript
-const sub = myDatabase.collections$.subscribe(event => {
- console.dir(event);
-});
-
-await myDatabase.addCollections({
- heroes: {
- schema: mySchema
- }
-});
-
-// -> emits the event
-
-sub.unsubscribe();
-```
-
----
-
-## RxDocument
-
-A RxDocument is a object which represents the data of a single JSON document is stored in a collection. It can be compared to a single record in a relational database table. You get an `RxDocument` either as return on inserts/updates, or as result-set of [queries](./rx-query.md).
-
-RxDB works on RxDocuments instead of plain JSON data to have more convenient operations on the documents. Also Documents that are fetched multiple times by different queries or operations are automatically de-duplicated by RxDB in memory.
-
-## insert
-To insert a document into a collection, you have to call the collection's .insert()-function.
-```js
-await myCollection.insert({
- name: 'foo',
- lastname: 'bar'
-});
-```
-
-## find
-To find documents in a collection, you have to call the collection's .find()-function. [See RxQuery](./rx-query.md).
-```js
-const docs = await myCollection.find().exec(); // <- find all documents
-```
-
-## Functions
-
-### get()
-This will get a single field of the document. If the field is encrypted, it will be automatically decrypted before returning.
-
-```js
-const name = myDocument.get('name'); // returns the name
-// OR
-const name = myDocument.name;
-```
-
-### get$()
-This function returns an observable of the given paths-value.
-The current value of this path will be emitted each time the document changes.
-```js
-// get the live-updating value of 'name'
-var isName;
-myDocument.get$('name')
- .subscribe(newName => {
- isName = newName;
- });
-
-await myDocument.incrementalPatch({name: 'foobar2'});
-console.dir(isName); // isName is now 'foobar2'
-
-// OR
-
-myDocument.name$
- .subscribe(newName => {
- isName = newName;
- });
-
-```
-
-### proxy-get
-All properties of a `RxDocument` are assigned as getters so you can also directly access values instead of using the get()-function.
-
-```js
- // Identical to myDocument.get('name');
- var name = myDocument.name;
- // Can also get nested values.
- var nestedValue = myDocument.whatever.nestedfield;
-
- // Also usable with observables:
- myDocument.firstName$.subscribe(newName => console.log('name is: ' + newName));
- // > 'name is: Stefe'
- await myDocument.incrementalPatch({firstName: 'Steve'});
- // > 'name is: Steve'
-```
-
-### update()
-Updates the document based on the [mongo-update-syntax](https://docs.mongodb.com/manual/reference/operator/update-field/), based on the [mingo library](https://github.com/kofrasa/mingo#updating-documents).
-
-```js
-
-/**
- * If not done before, you have to add the update plugin.
- */
-import { addRxPlugin } from 'rxdb';
-import { RxDBUpdatePlugin } from 'rxdb/plugins/update';
-addRxPlugin(RxDBUpdatePlugin);
-
-await myDocument.update({
- $inc: {
- age: 1 // increases age by 1
- },
- $set: {
- firstName: 'foobar' // sets firstName to foobar
- }
-});
-```
-
-### modify()
-Updates a documents data based on a function that mutates the current data and returns the new value.
-
-```js
-
-const changeFunction = (oldData) => {
- oldData.age = oldData.age + 1;
- oldData.name = 'foooobarNew';
- return oldData;
-}
-await myDocument.modify(changeFunction);
-console.log(myDocument.name); // 'foooobarNew'
-```
-
-### patch()
-
-Overwrites the given attributes over the documents data.
-
-```js
-await myDocument.patch({
- name: 'Steve',
- age: undefined // setting an attribute to undefined will remove it
-});
-console.log(myDocument.name); // 'Steve'
-```
-
-### Prevent conflicts with the incremental methods
-
-Making a normal change to the non-latest version of a `RxDocument` will lead to a `409 CONFLICT` error because RxDB
-uses [revision checks](./transactions-conflicts-revisions.md) instead of transactions.
-
-To make a change to a document, no matter what the current state is, you can use the `incremental` methods:
-
-```js
-// update
-await myDocument.incrementalUpdate({
- $inc: {
- age: 1 // increases age by 1
- }
-});
-
-// modify
-await myDocument.incrementalModify(docData => {
- docData.age = docData.age + 1;
- return docData;
-});
-
-// patch
-await myDocument.incrementalPatch({
- age: 100
-});
-
-// remove
-await myDocument.incrementalRemove({
- age: 100
-});
-```
-
-### getLatest()
-
-Returns the latest known state of the `RxDocument`.
-
-```js
-const myDocument = await myCollection.findOne('foobar').exec();
-const docAfterEdit = await myDocument.incrementalPatch({
- age: 10
-});
-const latestDoc = myDocument.getLatest();
-console.log(docAfterEdit === latestDoc); // > true
-```
-
-### Observe $
-Calling this will return an [RxJS-Observable](https://rxjs.dev/guide/observable) which the current newest state of the RxDocument.
-
-```js
-// get all changeEvents
-myDocument.$
- .subscribe(currentRxDocument => console.dir(currentRxDocument));
-```
-
-### remove()
-This removes the document from the collection. Notice that this will not purge the document from the store but set `_deleted:true` so that it will be no longer returned on queries.
-To fully purge a document, use the [cleanup plugin](./cleanup.md).
-```js
-myDocument.remove();
-```
-
-### Remove and update in a single atomic operation
-
-Sometimes you want to change a documents value and also remove it in the same operation. For example this can be useful when you use [replication](./replication.md) and want to set a `deletedAt` timestamp. Then you might have to ensure that setting this timestamp and deleting the document happens in the same atomic operation.
-
-To do this the modifying operations of a document accept setting the `_deleted` field. For example:
-
-```ts
-
-// update() and remove()
-await doc.update({
- $set: {
- deletedAt: new Date().getTime(),
- _deleted: true
- }
-});
-
-// modify() and remove()
-await doc.modify(data => {
- data.age = 1;
- data._deleted = true;
- return data;
-});
-```
-
-### deleted$
-Emits a boolean value, depending on whether the RxDocument is deleted or not.
-
-```js
-let lastState = null;
-myDocument.deleted$.subscribe(state => lastState = state);
-
-console.log(lastState);
-// false
-
-await myDocument.remove();
-
-console.log(lastState);
-// true
-```
-
-### get deleted
-A getter to get the current value of `deleted$`.
-
-```js
-console.log(myDocument.deleted);
-// false
-
-await myDocument.remove();
-
-console.log(myDocument.deleted);
-// true
-```
-
-### toJSON()
-
-Returns the document's data as plain json object. This will return an **immutable** object. To get something that can be modified, use `toMutableJSON()` instead.
-
-```js
-const json = myDocument.toJSON();
-console.dir(json);
-/* { passportId: 'h1rg9ugdd30o',
- firstName: 'Carolina',
- lastName: 'Gibson',
- age: 33 ...
-*/
-```
-
-You can also set `withMetaFields: true` to get additional meta fields like the revision, attachments or the deleted flag.
-
-```js
-const json = myDocument.toJSON(true);
-console.dir(json);
-/* { passportId: 'h1rg9ugdd30o',
- firstName: 'Carolina',
- lastName: 'Gibson',
- _deleted: false,
- _attachments: { ... },
- _rev: '1-aklsdjfhaklsdjhf...'
-*/
-```
-
-### toMutableJSON()
-
-Same as `toJSON()` but returns a deep cloned object that can be mutated afterwards.
-Remember that deep cloning is performance expensive and should only be done when necessary.
-
-```js
-const json = myDocument.toMutableJSON();
-json.firstName = 'Alice'; // The returned document can be mutated
-```
-
-:::note All methods of RxDocument are bound to the instance
-When you get a method from a `RxDocument`, the method is automatically bound to the documents instance. This means you do not have to use things like `myMethod.bind(myDocument)` like you would do in jsx.
-:::
-
-### isRxDocument
-Returns true if the given object is an instance of RxDocument. Returns false if not.
-```js
-const is = isRxDocument(myObj);
-```
-
----
-
-## Master Local Documents in RxDB
-
-# Local Documents
-
-Local documents are a special class of documents which are used to store local metadata.
-They come in handy when you want to store settings or additional data next to your documents.
-
-- Local Documents can exist on a [RxDatabase](./rx-database.md) or [RxCollection](./rx-collection.md).
-- Local Document do not have to match the collections schema.
-- Local Documents do not get replicated.
-- Local Documents will not be found on queries.
-- Local Documents can not have attachments.
-- Local Documents will not get handled by the [migration-schema](./migration-schema.md).
-- The id of a local document has the `maxLength` of `128` characters.
-
-:::note
-While local documents can be very useful, in many cases the [RxState](./rx-state.md) API is more convenient.
-:::
-
-## Add the local documents plugin
-
-To enable the local documents, you have to add the `local-documents` plugin.
-
-```ts
-import { addRxPlugin } from 'rxdb';
-import { RxDBLocalDocumentsPlugin } from 'rxdb/plugins/local-documents';
-addRxPlugin(RxDBLocalDocumentsPlugin);
-```
-
-## Activate the plugin for a RxDatabase or RxCollection
-
-For better performance, the local document plugin does not create a storage for every database or collection that is created.
-Instead you have to set `localDocuments: true` when you want to store local documents in the instance.
-
-```js
-// activate local documents on a RxDatabase
-const myDatabase = await createRxDatabase({
- name: 'mydatabase',
- storage: getRxStorageLocalstorage(),
- localDocuments: true // <- activate this to store local documents in the database
-});
-
-myDatabase.addCollections({
- messages: {
- schema: messageSchema,
- localDocuments: true // <- activate this to store local documents in the collection
- }
-});
-```
-
-:::note
-If you want to store local documents in a `RxCollection` but **NOT** in the `RxDatabase`, you **MUST NOT** set `localDocuments: true` in the `RxDatabase` because it will only slow down the initial database creation.
-:::
-
-## insertLocal()
-
-Creates a local document for the database or collection. Throws if a local document with the same id already exists. Returns a Promise which resolves the new `RxLocalDocument`.
-
-```javascript
-const localDoc = await myCollection.insertLocal(
- 'foobar', // id
- { // data
- foo: 'bar'
- }
-);
-
-// you can also use local-documents on a database
-const localDoc = await myDatabase.insertLocal(
- 'foobar', // id
- { // data
- foo: 'bar'
- }
-);
-```
-
-## upsertLocal()
-
-Creates a local document for the database or collection if not exists. Overwrites the if exists. Returns a Promise which resolves the `RxLocalDocument`.
-
-```javascript
-const localDoc = await myCollection.upsertLocal(
- 'foobar', // id
- { // data
- foo: 'bar'
- }
-);
-```
-
-## getLocal()
-
-Find a `RxLocalDocument` by its id. Returns a Promise which resolves the `RxLocalDocument` or `null` if not exists.
-
-```javascript
-const localDoc = await myCollection.getLocal('foobar');
-```
-
-## getLocal$()
-
-Like `getLocal()` but returns an `Observable` that emits the document or `null` if not exists.
-
-```javascript
-const subscription = myCollection.getLocal$('foobar').subscribe(documentOrNull => {
- console.dir(documentOrNull); // > RxLocalDocument or null
-});
-```
-
-## RxLocalDocument
-
-A `RxLocalDocument` behaves like a normal `RxDocument`.
-
-```javascript
-const localDoc = await myCollection.getLocal('foobar');
-
-// access data
-const foo = localDoc.get('foo');
-
-// change data
-localDoc.set('foo', 'bar2');
-await localDoc.save();
-
-// observe data
-localDoc.get$('foo').subscribe(value => { /* .. */ });
-
-// remove it
-await localDoc.remove();
-```
-
-:::note
-Because the local document does not have a schema, accessing the documents data-fields via pseudo-proxy will not work.
-:::
-
-```javascript
-const foo = localDoc.foo; // undefined
-const foo = localDoc.get('foo'); // works!
-
-localDoc.foo = 'bar'; // does not work!
-localDoc.set('foo', 'bar'); // works
-```
-
-For the usage with typescript, you can have access to the typed data of the document over `toJSON()`
-
-```ts
-declare type MyLocalDocumentType = {
- foo: string
-}
-const localDoc = await myCollection.upsertLocal(
- 'foobar', // id
- { // data
- foo: 'bar'
- }
-);
-
-// typescript will know that foo is a string
-const foo: string = localDoc.toJSON().foo;
-```
-
----
-
-## RxPipeline - Automate Data Flows in RxDB
-
-# RxPipeline
-
-The RxPipeline plugin enables you to run operations depending on writes to a collection.
-Whenever a write happens on the source collection of a pipeline, a handler is called to process the writes and run operations on another collection.
-
-You could have a similar behavior by observing the collection stream and process data on emits:
-
-```ts
-mySourceCollection.$.subscribe(event => {/* ...process...*/});
-```
-
-While this could work in some cases, it causes many problems that are fixed by using the pipeline plugin instead:
-- In an RxPipeline, only the [Leading Instance](./leader-election.md) runs the operations. For example when you have multiple browser tabs open, only one will run the processing and when that tab is closed, another tab will become elected leader and continue the pipeline processing.
-- On sudden stops and restarts of the JavaScript process, the processing will continue at the correct checkpoint and not miss out any documents even on unexpected crashes.
-- Reads/Writes on the destination collection are halted while the pipeline is processing. This ensures your queries only return fully processed documents and no partial results. So when you run a query to the destination collection directly after a write to the source collection, you can be sure your query results are up to date and the pipeline has already been run at the moment the query resolved:
-
-```ts
-await mySourceCollection.insert({/* ... */});
-
-/**
- * Because our pipeline blocks reads to the destination,
- * we know that the result array contains data created
- * on top of the previously inserted documents.
- */
-const result = myDestinationCollection.find().exec();
-```
-
-## Creating a RxPipeline
-
-Pipelines are created on top of a source [RxCollection](./rx-collection.md) and have another `RxCollection` as destination. An identifier is used to identify the state of the pipeline so that different pipelines have a different processing checkpoint state. A plain JavaScript function `handler` is used to process the data of the source collection writes.
-
-```ts
-const pipeline = await mySourceCollection.addPipeline({
- identifier: 'my-pipeline',
- destination: myDestinationCollection,
- handler: async (docs) => {
- /**
- * Here you can process the documents and write to
- * the destination collection.
- */
- for (const doc of docs) {
- await myDestinationCollection.insert({
- id: doc.primary,
- category: doc.category
- });
- }
- }
-});
-```
-
-## Use Cases for RxPipeline
-
-The RxPipeline is a handy building block for different features and plugins. You can use it to aggregate data or restructure local data.
-
-### UseCase: Re-Index data that comes from replication
-
-Sometimes you want to [replicate](./replication.md) atomic documents over the wire but locally you want to split these documents for better indexing. For example you replicate email documents that have multiple receivers in a string-array. While string-arrays cannot be indexed, locally you need a way to query for all emails of a given receiver.
-To handle this case you can set up a RxPipeline that writes the mapping into a separate collection:
-
-```ts
-const pipeline = await emailCollection.addPipeline({
- identifier: 'map-email-receivers',
- destination: emailByReceiverCollection,
- handler: async (docs) => {
- for (const doc of docs) {
- // remove previous mapping
- await emailByReceiverCollection.find({emailId: doc.primary}).remove();
- // add new mapping
- if(!doc.deleted) {
- await emailByReceiverCollection.bulkInsert(
- doc.receivers.map(receiver => ({
- emailId: doc.primary,
- receiver: receiver
- }))
- );
- }
- }
- }
-});
-```
-
-With this you can efficiently query for "all emails that a person received" by running:
-
-```ts
-const mailIds = await emailByReceiverCollection.find({
- receiver: 'foobar@example.com'
-}).exec();
-```
-
-### UseCase: Fulltext Search
-
-You can utilize the pipeline plugin to index text data for efficient fulltext search.
-
-```ts
-const pipeline = await emailCollection.addPipeline({
- identifier: 'email-fulltext-search',
- destination: mailByWordCollection,
- handler: async (docs) => {
- for (const doc of docs) {
- // remove previous mapping
- await mailByWordCollection.find({emailId: doc.primary}).remove();
- // add new mapping
- if(!doc.deleted) {
- const words = doc.text.split(' ');
- await mailByWordCollection.bulkInsert(
- words.map(word => ({
- emailId: doc.primary,
- word: word
- }))
- );
- }
- }
- }
-});
-```
-
-With this you can efficiently query for "all emails that contain a given word" by running:
-
-```ts
-const mailIds = await emailByReceiverCollection.find({word: 'foobar'}).exec();
-```
-
-### UseCase: Download data based on source documents
-
-When you have to fetch data for each document of a collection from a server, you can use the pipeline to ensure all documents have their data downloaded and no document is missed.
-
-```ts
-const pipeline = await emailCollection.addPipeline({
- identifier: 'download-data',
- destination: serverDataCollection,
- handler: async (docs) => {
- for (const doc of docs) {
- const response = await fetch('https://example.com/doc/' + doc.primary);
- const serverData = await response.json();
- await serverDataCollection.upsert({
- id: doc.primary,
- data: serverData
- });
- }
- }
-});
-```
-
-## RxPipeline methods
-
-### awaitIdle()
-
-You can await the idleness of a pipeline with `await myRxPipeline.awaitIdle()`. This will await a promise that resolves when the pipeline has processed all documents and is not running anymore.
-
-### close()
-
-`await myRxPipeline.close()` stops the pipeline so that it is no longer doing stuff. This is automatically called when the RxCollection or RxDatabase of the pipeline is closed.
-
-### remove()
-
-`await myRxPipeline.remove()` removes the pipeline and all metadata which it has stored. Recreating the pipeline afterwards will start processing all source documents from scratch.
-
-## Using RxPipeline correctly
-
-### Pipeline handlers must be idempotent
-
-Because a JavaScript process can exit at any time, like when the user closes a browser tab, the pipeline handler function must be idempotent. This means when it only runs partially and is started again with the same input, it should still end up in the correct result.
-
-### Pipeline handlers must not throw
-
-Pipeline handlers must never throw. If you run operations inside of the handler that might cause errors, you must wrap the handler's code with a `try-catch` by yourself and also handle retries. If your handler throws, your pipeline will be stuck and no longer be usable, which should never happen.
-
-### Be careful when doing http requests in the handler
-
-When you run http requests inside of your handler, you no longer have an [offline first](./offline-first.md) application because reads to the destination collection will be blocked until all handlers have finished. When your client is offline, therefore the collection will be blocked for reads and writes.
-
-### Pipelines temporarily block external reads and writes
-
-While a pipeline is running, **all reads and writes to its destination collection are blocked**. This guarantees that queries never observe partially processed data, but it also means that pipelines can block each other if they interact incorrectly.
-
-Problems occur when multiple pipelines:
-
-- read or write across the same collections, or
-- wait for each other using `awaitIdle()` from inside a pipeline handler.
-
-```ts
-// Example of a deadlock
-
-// Pipeline A: files → files (reads folders)
-const pipelineA = await db.files.addPipeline({
- identifier: 'file-path-sync',
- destination: db.files,
- handler: async (docs) => {
- const folders = await folders.find().exec(); // can block
- /* ... */
- }
-});
-
-// Pipeline B: files → folders (waits for A)
-await db.folders.addPipeline({
- identifier: 'file-count',
- destination: db.folders,
- handler: async () => {
- await pipelineA.awaitIdle(); // ❌ may deadlock
- /* ... */
- }
-});
-```
-
-To prevent deadlocks, consider:
-
-- Never call `awaitIdle()` inside a pipeline handler.
-- Avoid circular dependencies between pipelines.
-- Prefer one-directional data flow.
-
----
-
-## RxQuery
-
-
-To find documents inside of an [RxCollection](./rx-collection.md), RxDB uses the RxQuery interface that handles all query operations: it serves as the main interface for fetching documents, relies on a MongoDB-like [Mango Query Syntax](https://github.com/cloudant/mango), and provides three types of queries: [find()](#find), [findOne()](#findone) and [count()](#count). By caching and de-duplicating results, RxQuery ensures efficient in-memory handling, and when queries are observed or re-run, the [EventReduce algorithm](https://github.com/pubkey/event-reduce) speeds up updates for a fast real-time experience and queries that run more than once.
-
-## find()
-To create a basic `RxQuery`, call `.find()` on a collection and insert selectors. The result-set of normal queries is an array with documents.
-
-```js
-// find all that are older then 18
-const query = myCollection
- .find({
- selector: {
- age: {
- $gt: 18
- }
- }
- });
-```
-
-## findOne()
-A findOne-query has only a single `RxDocument` or `null` as result-set.
-
-```js
-// find alice
-const query = myCollection
- .findOne({
- selector: {
- name: 'alice'
- }
- });
-```
-
-```js
-// find the youngest one
-const query = myCollection
- .findOne({
- selector: {},
- sort: [
- {age: 'asc'}
- ]
- });
-```
-
-```js
-// find one document by the primary key
-const query = myCollection.findOne('foobar');
-```
-## exec()
-Returns a `Promise` that resolves with the result-set of the query.
-
-```js
-const query = myCollection.find();
-const results = await query.exec();
-console.dir(results); // > [RxDocument,RxDocument,RxDocument..]
-```
-
-On `.findOne()` queries, you can call `.exec(true)` to ensure your document exists and to make TypeScript handling easier:
-
-```ts
-// docOrUndefined can be the type RxDocument or null which then has to be handled to be typesafe.
-const docOrUndefined = await myCollection.findOne().exec();
-
-// with .exec(true), it will throw if the document cannot be found and always have the type RxDocument
-const doc = await myCollection.findOne().exec(true);
-```
-
-## Observe $
-An `BehaviorSubject` [see](https://medium.com/@luukgruijs/understanding-rxjs-behaviorsubject-replaysubject-and-asyncsubject-8cc061f1cfc0) that always has the current result-set as value.
-This is extremely helpful when used together with UIs that should always show the same state as what is written in the database.
-
-```js
-const query = myCollection.find();
-const querySub = query.$.subscribe(results => {
- console.log('got results: ' + results.length);
-});
-// > 'got results: 5' // BehaviorSubjects emit on subscription
-
-await myCollection.insert({/* ... */}); // insert one
-// > 'got results: 6' // $.subscribe() was called again with the new results
-
-// stop watching this query
-querySub.unsubscribe()
-```
-
-## update()
-Runs an [update](./rx-document.md#update) on every RxDocument of the query-result.
-
-```js
-
-// to use the update() method, you need to add the update plugin.
-import { RxDBUpdatePlugin } from 'rxdb/plugins/update';
-addRxPlugin(RxDBUpdatePlugin);
-
-const query = myCollection.find({
- selector: {
- age: {
- $gt: 18
- }
- }
-});
-await query.update({
- $inc: {
- age: 1 // increases age of every found document by 1
- }
-});
-```
-
-## patch() / incrementalPatch()
-
-Runs the [RxDocument.patch()](./rx-document.md#patch) function on every RxDocument of the query result.
-
-```js
-const query = myCollection.find({
- selector: {
- age: {
- $gt: 18
- }
- }
-});
-await query.patch({
- age: 12 // set the age of every found to 12
-});
-```
-
-## modify() / incrementalModify()
-
-Runs the [RxDocument.modify()](./rx-document.md#modify) function on every RxDocument of the query result.
-
-```js
-const query = myCollection.find({
- selector: {
- age: {
- $gt: 18
- }
- }
-});
-await query.modify((docData) => {
- docData.age = docData.age + 1; // increases age of every found document by 1
- return docData;
-});
-```
-
-## remove() / incrementalRemove()
-
-Deletes all found documents. Returns a promise which resolves to the deleted documents.
-
-```javascript
-// All documents where the age is less than 18
-const query = myCollection.find({
- selector: {
- age: {
- $lt: 18
- }
- }
-});
-// Remove the documents from the collection
-const removedDocs = await query.remove();
-```
-
-## doesDocumentDataMatch()
-Returns `true` if the given document data matches the query.
-
-```js
-const documentData = {
- id: 'foobar',
- age: 19
-};
-
-myCollection.find({
- selector: {
- age: {
- $gt: 18
- }
- }
-}).doesDocumentDataMatch(documentData); // > true
-
-myCollection.find({
- selector: {
- age: {
- $gt: 20
- }
- }
-}).doesDocumentDataMatch(documentData); // > false
-```
-
-## Query Builder Plugin
-
-To use chained query methods, you can also use the `query-builder` plugin.
-
-```ts
-// add the query builder plugin
-import { addRxPlugin } from 'rxdb';
-import { RxDBQueryBuilderPlugin } from 'rxdb/plugins/query-builder';
-addRxPlugin(RxDBQueryBuilderPlugin);
-
-// now you can use chained query methods
-
-const query = myCollection.find().where('age').gt(18);
-const result = await query.exec();
-```
-
-## Query Examples
-Here some examples to fast learn how to write queries without reading the docs.
-- [Pouch-find-docs](https://github.com/pouchdb/pouchdb/blob/master/packages/node_modules/pouchdb-find/README.md) - learn how to use mango-queries
-- [mquery-docs](https://github.com/aheckmann/mquery/blob/master/README.md) - learn how to use chained-queries
-
-```js
-// directly pass search-object
-myCollection.find({
- selector: {
- name: { $eq: 'foo' }
- }
-})
-.exec().then(documents => console.dir(documents));
-
-/*
- * find by using sql equivalent '%like%' syntax
- * This example will fe: match 'foo' but also 'fifoo' or 'foofa' or 'fifoofa'
- * Notice that in RxDB queries, a regex is represented as a $regex string with the $options parameter for flags.
- * Using a RegExp instance is not allowed because they are not JSON.stringify()-able and also
- * RegExp instances are mutable which could cause undefined behavior when the RegExp is mutated
- * after the query was parsed.
- */
-myCollection.find({
- selector: {
- name: { $regex: '.*foo.*' }
- }
-})
-.exec().then(documents => console.dir(documents));
-
-// find using a composite statement eg: $or
-// This example checks where name is either foo or if name is not existent on the document
-myCollection.find({
- selector: { $or: [ { name: { $eq: 'foo' } }, { name: { $exists: false } }] }
-})
-.exec().then(documents => console.dir(documents));
-
-// do a case insensitive search
-// This example will match 'foo' or 'FOO' or 'FoO' etc...
-myCollection.find({
- selector: { name: { $regex: '^foo$', $options: 'i' } }
-})
-.exec().then(documents => console.dir(documents));
-
-// chained queries
-myCollection.find().where('name').eq('foo')
-.exec().then(documents => console.dir(documents));
-```
-
-:::note RxDB will always append the primary key to the sort parameters
-For several performance optimizations, like the [EventReduce algorithm](https://github.com/pubkey/event-reduce), RxDB expects all queries to return a deterministic sort order that does not depend on the insert order of the documents. To ensure a deterministic ordering, RxDB will always append the primary key as last sort parameter to all queries and to all indexes.
-This works in contrast to most other databases where a query without sorting would return the documents in the order in which they had been inserted to the database.
-:::
-
-## Setting a specific index
-
-By default, the query will be sent to the RxStorage, where a query planner will determine which one of the available indexes must be used.
-But the query planner cannot know everything and sometimes will not pick the most optimal index.
-To improve query performance, you can specify which index must be used, when running the query.
-
-```ts
-const query = myCollection
- .findOne({
- selector: {
- age: {
- $gt: 18
- },
- gender: {
- $eq: 'm'
- }
- },
- /**
- * Because the developer knows that 50% of the documents are 'male',
- * but only 20% are below age 18,
- * it makes sense to enforce using the ['gender', 'age'] index to improve performance.
- * This could not be known by the query planer which might have chosen ['age', 'gender'] instead.
- */
- index: ['gender', 'age']
- });
-```
-
-## Count
-
-When you only need the amount of documents that match a query, but you do not need the document data itself, you can use a count query for **better performance**.
-The performance difference compared to a normal query differs depending on which [RxStorage](./rx-storage.md) implementation is used.
-
-```ts
-const query = myCollection.count({
- selector: {
- age: {
- $gt: 18
- }
- }
- // 'limit' and 'skip' MUST NOT be set for count queries.
-});
-
-// get the count result once
-const matchingAmount = await query.exec(); // > number
-
-// observe the result
-query.$.subscribe(amount => {
- console.log('Currently has ' + amount + ' documents');
-});
-```
-
-:::note
-Count queries have a better performance than normal queries because they do not have to fetch the full document data out of the storage. Therefore it is **not** possible to run a `count()` query with a selector that requires to fetch and compare the document data. So if your query selector **does not** fully match an index of the schema, it is not allowed to run it. These queries would have no performance benefit compared to normal queries but have the tradeoff of not using the fetched document data for caching.
-:::
-
-```ts
-/**
- * The following will throw an error because
- * the count operation cannot run on any specific index range
- * because the $regex operator is used.
- */
-const query = myCollection.count({
- selector: {
- age: {
- $regex: 'foobar'
- }
- }
-});
-
-/**
- * The following will throw an error because
- * the count operation cannot run on any specific index range
- * because there is no ['age' ,'otherNumber'] index
- * defined in the schema.
- */
-const query = myCollection.count({
- selector: {
- age: {
- $gt: 20
- },
- otherNumber: {
- $gt: 10
- }
- }
-});
-```
-
-If you want to count these kinds of queries, you should do a normal query instead and use the length of the result set as counter. This has the same performance as running a non-fully-indexed count which has to fetch all document data from the database and run a query matcher.
-
-```ts
-// get count manually once
-const resultSet = await myCollection.find({
- selector: {
- age: {
- $regex: 'foobar'
- }
- }
-}).exec();
-const count = resultSet.length;
-
-// observe count manually
-const count$ = myCollection.find({
- selector: {
- age: {
- $regex: 'foobar'
- }
- }
-}).$.pipe(
- map(result => result.length)
-);
-
-/**
- * To allow non-fully-indexed count queries,
- * you can also specify that by setting allowSlowCount=true
- * when creating the database.
- */
-const database = await createRxDatabase({
- name: 'mydatabase',
- allowSlowCount: true, // set this to true [default=false]
- /* ... */
-});
-```
-
-### `allowSlowCount`
-To allow non-fully-indexed count queries, you can also specify that by setting `allowSlowCount: true` when creating the database.
-Doing this is mostly not wanted, because it would run the counting on the storage without having the document stored in the RxDB document cache.
-This is only recommended if the RxStorage is running remotely like in a WebWorker and you not always want to send the document-data between the worker and the main thread. In this case you might only need the count-result instead to save performance.
-
-## RxQuery's are immutable
-Because RxDB is a reactive database, we can do heavy performance-optimisation on query-results which change over time. To be able to do this, RxQuery's have to be immutable.
-This means, when you have a `RxQuery` and run a `.where()` on it, the original RxQuery-Object is not changed. Instead the where-function returns a new `RxQuery`-Object with the changed where-field. Keep this in mind if you create RxQuery's and change them afterwards.
-
-Example:
-
-```javascript
-const queryObject = myCollection.find().where('age').gt(18);
-// Creates a new RxQuery object, does not modify previous one
-queryObject.sort('name');
-const results = await queryObject.exec();
-console.dir(results); // result-documents are not sorted by name
-
-const queryObjectSort = queryObject.sort('name');
-const results = await queryObjectSort.exec();
-console.dir(results); // result-documents are now sorted
-```
-
-### isRxQuery
-Returns true if the given object is an instance of RxQuery. Returns false if not.
-```js
-const is = isRxQuery(myObj);
-```
-
-## Design Decisions
-
-Like most other noSQL-Databases, RxDB uses the [mango-query-syntax](https://github.com/cloudant/mango) similar to MongoDB and others.
-
-- We use the JSON based Mango Query Syntax because:
- - Mango Queries work better with TypeScript compared to SQL strings.
- - Mango Queries are composable and easy to transform by code without joining SQL strings.
- - Queries can be run very fast and efficient with only a minimal query planer to plan the best indexes and operations.
- - NoSQL queries can be optimized with the [EventReduce](https://github.com/pubkey/event-reduce) algorithm to improve performance of observed and cached queries.
-
-## FAQ
-
-
- Can I specify which document fields are returned by an RxDB query?
-
- No, RxDB does not support partial document retrieval. Because RxDB is a client-side database with limited memory, it caches and de-duplicates entire documents across multiple queries. Even if you only need a few fields, most storages must still fetch the entire JSON data, so subselecting fields would not significantly improve performance. Therefore, RxDB always returns full documents. If you only need certain fields, you can filter them out in your application code or consider storing just the necessary data in a separate collection.
-
-
-
-
- Why doesn't RxDB support aggregations on queries?
-
- RxDB runs entirely on the client side. Any "aggregation" or data processing you might do within RxDB would still happen in the same JavaScript environment as your application code. Therefore, there's no real performance advantage or difference between doing the aggregation in RxDB vs. doing it in your own code after fetching the data. As a result, RxDB doesn't provide built-in aggregation methods. Instead, just query the documents you need and perform any calculations directly in your app's code.
-
-
-
-
- Why does RxDB not support cross-collection queries?
-
- RxDB is a client-side database and does not provide built-in cross-collection queries or transactions. Instead, you can execute multiple queries in your JavaScript code and combine their results as needed. Because everything runs in the same environment, this approach offers the same performance you would get if cross-collection queries were built in - without the added complexity.
-
-
-
-
- Why Doesn't RxDB Support Case-Insensitive Search?
-
- RxDB relies on various storage engines as its backend, and these storage engines generally do not support case-insensitive search natively, like [IndexedDB](./rx-storage-indexeddb.md) or [FoundationDB](./rx-storage-foundationdb.md). This limitation arises from the design of these engines, which prioritize efficiency and flexibility for specific types of queries rather than universal features like case-insensitivity. Although RxDB does not offer built-in support for case-insensitive search, there are two common workarounds:
- - **Store Data in a Meta-Field for Lowercase Search**: To enable case-insensitive search, you can store an additional field in your documents where the relevant text data is preprocessed and saved in lowercase.
-```ts
-const document = {
- name: 'John Doe',
- nameLowercase: 'john doe' // Meta-field
-};
-await myCollection.insert(document);
-
-const query = myCollection.find({
- selector: {
- nameLowercase: { $eq: 'john doe' }
- }
-});
-```
- - **Use a Regex Query**: Regular expressions can perform case-insensitive searches. For example:
-```ts
-const query = myCollection.find({
- selector: {
- name: { $regex: '^john doe$', $options: 'i' } // Case-insensitive regex
- }
-});
-```
-However, this method has a significant downside: regex queries often cannot leverage indexes efficiently. As a result, they may be slower, especially for large datasets.
-
-
-
----
-
-## Design Perfect Schemas in RxDB
-
-# RxSchema
-
-Schemas define the structure of the documents of a collection. Which field should be used as primary, which fields should be used as indexes and what should be encrypted. Every collection has its own schema. With RxDB, schemas are defined with the [jsonschema](https://json-schema.org/blog/posts/rxdb-case-study)-standard which you might know from other projects.
-
-## Example
-
-In this example-schema we define a hero-collection with the following settings:
-
-- the version-number of the schema is 0
-- the name-property is the **primaryKey**. This means its a unique, indexed, required `string` which can be used to definitely find a single document.
-- the color-field is required for every document
-- the healthpoints-field must be a number between 0 and 100
-- the secret-field stores an encrypted value
-- the birthyear-field is final which means it is required and cannot be changed
-- the skills-attribute must be an array with objects which contain the name and the damage-attribute. There is a maximum of 5 skills per hero.
-- Allows adding attachments and store them encrypted
-
-```json
- {
- "title": "hero schema",
- "version": 0,
- "description": "describes a simple hero",
- "primaryKey": "name",
- "type": "object",
- "properties": {
- "name": {
- "type": "string",
- "maxLength": 100 // <- the primary key must have set maxLength
- },
- "color": {
- "type": "string"
- },
- "healthpoints": {
- "type": "number",
- "minimum": 0,
- "maximum": 100
- },
- "secret": {
- "type": "string"
- },
- "birthyear": {
- "type": "number",
- "final": true,
- "minimum": 1900,
- "maximum": 2050
- },
- "skills": {
- "type": "array",
- "maxItems": 5,
- "uniqueItems": true,
- "items": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "damage": {
- "type": "number"
- }
- }
- }
- }
- },
- "required": [
- "name",
- "color"
- ],
- "encrypted": ["secret"],
- "attachments": {
- "encrypted": true
- }
- }
-```
-
-## Create a collection with the schema
-
-```javascript
-await myDatabase.addCollections({
- heroes: {
- schema: myHeroSchema
- }
-});
-console.dir(myDatabase.heroes.name);
-// heroes
-```
-
-## version
-The `version` field is a number, starting with `0`.
-When the version is greater than 0, you have to provide the migrationStrategies to create a collection with this schema.
-
-## primaryKey
-
-The `primaryKey` field contains the fieldname of the property that will be used as primary key for the whole collection.
-The value of the primary key of the document must be a `string`, unique, final and is required.
-
-### composite primary key
-
-You can define a composite primary key which gets composed from multiple properties of the document data.
-
-```javascript
-const mySchema = {
- keyCompression: true, // set this to true, to enable the keyCompression
- version: 0,
- title: 'human schema with composite primary',
- primaryKey: {
- // where should the composed string be stored
- key: 'id',
- // fields that will be used to create the composed key
- fields: [
- 'firstName',
- 'lastName'
- ],
- // separator which is used to concat the fields values.
- separator: '|'
- },
- type: 'object',
- properties: {
- id: {
- type: 'string',
- maxLength: 100 // <- the primary key must have set maxLength
- },
- firstName: {
- type: 'string'
- },
- lastName: {
- type: 'string'
- }
- },
- required: [
- 'id',
- 'firstName',
- 'lastName'
- ]
-};
-```
-
-You can then find a document by using the relevant parts to create the composite primaryKey:
-
-```ts
-
-// inserting with composite primary
-await myRxCollection.insert({
- // id, <- do not set the id, it will be filled by RxDB
- firstName: 'foo',
- lastName: 'bar'
-});
-
-// find by composite primary
-const id = myRxCollection.schema.getPrimaryOfDocumentData({
- firstName: 'foo',
- lastName: 'bar'
-});
-const myRxDocument = myRxCollection.findOne(id).exec();
-
-```
-
-## Indexes
-RxDB supports secondary indexes which are defined at the schema-level of the collection.
-
-Index is only allowed on field types `string`, `integer` and `number`. Some RxStorages allow to use `boolean` fields as index.
-
-Depending on the field type, you must have set some meta attributes like `maxLength` or `minimum`. This is required so that RxDB
-is able to know the maximum string representation length of a field, which is needed to craft custom indexes on several `RxStorage` implementations.
-
-:::note
-RxDB will always append the `primaryKey` to all indexes to ensure a deterministic sort order of query results. You do not have to add the `primaryKey` to any index.
-:::
-
-### Index-example
-
-```javascript
-const schemaWithIndexes = {
- version: 0,
- title: 'human schema with indexes',
- keyCompression: true,
- primaryKey: 'id',
- type: 'object',
- properties: {
- id: {
- type: 'string',
- maxLength: 100 // <- the primary key must have set maxLength
- },
- firstName: {
- type: 'string',
- maxLength: 100 // <- string-fields that are used as an index, must have set maxLength.
- },
- lastName: {
- type: 'string'
- },
- active: {
- type: 'boolean'
- },
- familyName: {
- type: 'string'
- },
- balance: {
- type: 'number',
-
- // number fields that are used in an index, must have set minimum, maximum and multipleOf
- minimum: 0,
- maximum: 100000,
- multipleOf: 0.01
- },
- creditCards: {
- type: 'array',
- items: {
- type: 'object',
- properties: {
- cvc: {
- type: 'number'
- }
- }
- }
- }
- },
- required: [
- 'id',
- 'active' // <- boolean fields that are used in an index, must be required.
- ],
- indexes: [
- 'firstName', // <- this will create a simple index for the `firstName` field
- ['active', 'firstName'], // <- this will create a compound-index for these two fields
- 'active'
- ]
-};
-```
-
-# internalIndexes
-
-When you use RxDB on the server-side, you might want to use internalIndexes to speed up internal queries. [Read more](./rx-server.md#server-only-indexes)
-
-## attachments
-To use attachments in the collection, you have to add the `attachments`-attribute to the schema. [See RxAttachment](./rx-attachment.md).
-
-## default
-Default values can only be defined for first-level fields.
-Whenever you insert a document unset fields will be filled with default-values.
-
-```javascript
-const schemaWithDefaultAge = {
- version: 0,
- primaryKey: 'id',
- type: 'object',
- properties: {
- id: {
- type: 'string',
- maxLength: 100 // <- the primary key must have set maxLength
- },
- firstName: {
- type: 'string'
- },
- lastName: {
- type: 'string'
- },
- age: {
- type: 'integer',
- default: 20 // <- default will be used
- }
- },
- required: ['id']
-};
-```
-
-## final
-By setting a field to `final`, you make sure it cannot be modified later. Final fields are always required.
-Final fields cannot be observed because they will not change.
-
-Advantages:
-
-- With final fields you can ensure that no-one accidentally modifies the data.
-- When you enable the `eventReduce` algorithm, some performance-improvements are done.
-
-```javascript
-const schemaWithFinalAge = {
- version: 0,
- primaryKey: 'id',
- type: 'object',
- properties: {
- id: {
- type: 'string',
- maxLength: 100 // <- the primary key must have set maxLength
- },
- firstName: {
- type: 'string'
- },
- lastName: {
- type: 'string'
- },
- age: {
- type: 'integer',
- final: true
- }
- },
- required: ['id']
-};
-```
-
-## Non allowed properties
-
-The schema is not only used to validate objects before they are written into the database, but also used to map getters to observe and populate single fieldnames, keycompression and other things. Therefore you can not use every schema which would be valid for the spec of [json-schema.org](http://json-schema.org/).
-For example, fieldnames must match the regex `^[a-zA-Z][[a-zA-Z0-9_]*]?[a-zA-Z0-9]$` and `additionalProperties` is always set to `false`. But don't worry, RxDB will instantly throw an error when you pass an invalid schema into it.
-
-Also the following class properties of `RxDocument` cannot be used as top level fields because they would clash when the RxDocument property is accessed:
-```json
-[
- "collection",
- "_data",
- "_propertyCache",
- "isInstanceOfRxDocument",
- "primaryPath",
- "primary",
- "revision",
- "deleted$",
- "deleted$$",
- "deleted",
- "getLatest",
- "$",
- "$$",
- "get$",
- "get$$",
- "populate",
- "get",
- "toJSON",
- "toMutableJSON",
- "update",
- "incrementalUpdate",
- "updateCRDT",
- "putAttachment",
- "putAttachmentBase64",
- "getAttachment",
- "allAttachments",
- "allAttachments$",
- "modify",
- "incrementalModify",
- "patch",
- "incrementalPatch",
- "_saveData",
- "remove",
- "incrementalRemove",
- "close",
- "deleted",
- "synced"
-]
-```
-
-## FAQ
-
-
- How can I store a Date?
-
- With RxDB you can only store plain JSON data inside of a document. You cannot store a JavaScript `new Date()` instance directly. This is for performance reasons and because `Date()` is a mutable thing where changing it at any time might cause strange problem that are hard to debug.
-
- To store a date in RxDB, you have to define a string field with a `format` attribute:
- ```json
- {
- "type": "string",
- "format": "date-time"
- }
- ```
-
- When storing the data you have to first transform your `Date` object into a string `Date.toISOString()`.
- Because the `date-time` is sortable, you can do whatever query operations on that field and even use it as an index.
-
-
-
-
- How to store schemaless data?
-
- By design, RxDB requires that every collection has a schema. This means you cannot create a truly "schema-less" collection where top-level fields are unknown at schema creation time. RxDB must know about all fields of a document at the top level to perform validation, index creation, and other internal optimizations.
- However, there is a way to store data of arbitrary structure at sub-fields. To do this, define a property with `type: "object"` in your schema. For example:
- ```ts
- {
- "version": 0,
- "primaryKey": "id",
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "maxLength": 100
- },
- "myDynamicData": {
- "type": "object"
- // Here you can store any JSON data
- // because it's an open object.
- }
- },
- "required": ["id"]
- }
- ```
-
-
-
-
- Why does RxDB automatically set `additionalProperties: false` at the top level
-
- RxDB automatically sets `additionalProperties: false` at the top level of a schema to ensure that all top-level fields are known in advance. This design choice offers several benefits:
-
-- Prevents collisions with RxDocument class properties:
-RxDB documents have built-in class methods (e.g., .toJSON, .save) at the top level. By forbidding unknown top-level properties, we avoid accidental naming collisions with these built-in methods.
-
-- Avoids conflicts with user-defined ORM functions:
-Developers can add custom [ORM methods](./orm.md) to RxDocuments. If top-level properties were unbounded, a property name could accidentally conflict with a method name, leading to unexpected behavior.
-
-- Improves TypeScript typings:
-If RxDB didn't know about all top-level fields, the document type would effectively become `any`. That means a simple typo like `myDocument.toJOSN()` would only be caught at runtime, not at build time. By disallowing unknown properties, TypeScript can provide strict typing and catch errors sooner.
-
-
-
-
- Can't change the schema of a collection
-
- When you make changes to the schema of a collection, you sometimes can get an error like
-`Error: addCollections(): another instance created this collection with a different schema`.
-
-This means you have created a collection before and added document-data to it.
-When you now just change the schema, it is likely that the new schema does not match the saved documents inside of the collection.
-This would cause strange bugs and would be hard to debug, so RxDB check's if your schema has changed and throws an error.
-
-To change the schema in **production**-mode, do the following steps:
-
-- Increase the `version` by 1
-- Add the appropriate [migrationStrategies](https://pubkey.github.io/rxdb/migration-schema.html) so the saved data will be modified to match the new schema
-
-In **development**-mode, the schema-change can be simplified by **one of these** strategies:
-
-- Use the memory-storage so your db resets on restart and your schema is not saved permanently
-- Call `removeRxDatabase('mydatabasename', RxStorage);` before creating a new RxDatabase-instance
-- Add a timestamp as suffix to the database-name to create a new one each run like `name: 'heroesDB' + new Date().getTime()`
-
-
-
----
-
-## RxServer Scaling - Vertical or Horizontal
-
-# Scaling the RxServer
-
-The [RxDB Server](./rx-server.md) run in JavaScript and JavaScript runs on a single process on the operating system. This can make the CPU performance limit to be the main bottleneck when serving requests to your users. To mitigate that problem, there are a wide range of methods to scale up the server so that it can serve more requests at the same time faster.
-
-## Vertical Scaling
-
-Vertical Scaling aka "scaling up" has the goal to get more power out of a single server by utilizing more of the servers compute. Vertical scaling should be the first step when you decide it is time to scale.
-
-### Run multiple JavaScript processes
-To utilize more compute power of your server, the first step is to scale vertically by running the RxDB server on **multiple processes** in parallel.
-RxDB itself is already build to support multiInstance-usage on the client, like when the user has opened multiple browser tabs at once. The same method works also on the server side in Node.js. You can spawn multiple JavaScript processes that use the same [RxDatabase](./rx-database.md) and the instances will automatically communicate with each other and distribute their data and events with the [BroadcastChannel](https://github.com/pubkey/broadcast-channel).
-By default the [multiInstance param](./rx-database.md#multiinstance) is set to `true` when calling `createRxDatabase()`, so you do not have to change anything. To make all processes accessible through the same endpoint, you can put a load-balancer like [nginx](https://nginx.org/en/docs/http/load_balancing.html) in front of them.
-
-### Using workers to split up the load
-
-Another way to increases the server capacity is to put the storage into a [Worker thread](./rx-storage-worker.md) so that the "main" thread with the webserver can handle more requests. This might be easier to set up compared to using multiple JavaScript processes and a load balancer.
-
-### Use an in-memory storage at the user facing level
-
-Another way to serve more requests to your end users, is to use an [in-memory](./rx-storage-memory.md) storage that has the [best](./rx-storage-performance.md) read- and write performance. It outperforms persistent storages by a factor of 10x.
-So instead of directly serving requests from the persistence layer, you add an in-memory layer on top of that. You could either do a [replication](./replication.md) from your memory database to the persistent one, or you use the [memory mapped](./rx-storage-memory-mapped.md) storage which has this build in.
-
-```ts
-import { getRxStorageMemory } from 'rxdb/plugins/storage-memory';
-import { replicateRxCollection } from 'rxdb/plugins/replication';
-import { getRxStorageFilesystemNode } from 'rxdb-premium/plugins/storage-filesystem-node';
-import { getMemoryMappedRxStorage } from 'rxdb-premium/plugins/storage-memory-mapped';
-const myRxDatabase = await createRxDatabase({
- name: 'mydb',
- storage: getMemoryMappedRxStorage({
- storage: getRxStorageFilesystemNode({
- basePath: path.join(__dirname, 'my-database-folder')
- })
- })
-});
-await myDatabase.addCollections({/* ... */});
-
-const myServer = await startRxServer({
- database: myRxDatabase,
- port: 443
-});
-```
-
-But notice that you have to check your persistence requirements. When a write happens to the memory layer and the server crashes while it has not persisted, in rare cases the write operation might get lost. You can remove that risk by setting `awaitWritePersistence: true` on the [memory mapped storage](./rx-storage-memory-mapped.md) settings.
-
-## Horizontal Scaling
-
-To scale the RxDB Server above a single physical hardware unit, there are different solutions where the decision depends on the exact use case.
-
-### Single Datastore with multiple branches
-The most common way to use multiple servers with RxDB is to split up the server into a tree with a root "datastore" and multiple "branches". The datastore contains the persisted data and only servers as a replication endpoint for the branches. The branches themself will replicate data to and from the datastore and server requests to the end users.
-This is mostly useful on read-heavy applications because reads will directly run on the branches without ever reaching the main datastore and you can always add more branches to **scale up**. Even adding additional layers of "datastores" is possible so the tree can grow (or shrink) with the demand.
-
-
-
-### Moving the branches to "the edge"
-
-Instead of running the "branches" of the tree on the same physical location as the datastore, it often makes sense to move the branches into a datacenter near the end users. Because the RxDB [replication algorithm](./replication.md) is made to work with slow and even partially offline users, using it for physically separated servers will work the same way. Latency is not that important because writes and reads will not decrease performance by blocking each other and the replication can run in the background without blocking other servers during transaction.
-
-### Replicate Databases for Microservices
-
-If your application is build with a [microservice architecture](https://en.wikipedia.org/wiki/Microservices) and your microservices are also build in Node.js, you can scale the database horizontally by moving the database into the microservices and use the [RxDB replication](./replication.md) to do a realtime sync between the microservices and a main "datastore" server. The "datastore" server would then only handle the replication requests or do some additional things like logging or [backups](./backup.md). The compute for reads and writes will then mainly be done on the microservices themself. This simplifies setting up more and more microservices without decreasing the performance of the whole system.
-
-### Use a self-scaling RxStorage
-
-An alternative to scaling up the RxDB servers themself, you can also switch to a [RxStorage](./rx-storage.md) which scales up internally. For example the [FoundationDB storage](./rx-storage-foundationdb.md) or [MongoDB](./rx-storage-mongodb.md) can work on top of a cluster that can increase load by adding more servers to itself. With that you can always add more Node.js RxDB processes that connect to the same cluster and server requests from it.
-
----
-
-## RxDB Server - Deploy Your Data
-
-# RxDB Server
-
-The RxDB Server Plugin makes it possible to spawn a server on top of a RxDB database that offers multiple types of endpoints for various usages. It can spawn basic CRUD REST endpoints or even realtime replication endpoints that can be used by the client devices to replicate data. The RxServer plugin is designed to be used in Node.js but you can also use it in Deno, Bun or the [Electron](./electron-database.md) "main" process. You can use it either as a **standalone server** or add it on top of an **existing http server** (like express) in nodejs.
-
-## Starting a RxServer
-
-To create an `RxServer`, you have to install the `rxdb-server` package with `npm install rxdb-server --save` and then you can import the `createRxServer()` function and create a server on a given [RxDatabase](./rx-database.md) and adapter.
-
-After adding the endpoints to the server, do not forget to call `myServer.start()` to start the actually http-server.
-
-```ts
-import { createRxServer } from 'rxdb-server/plugins/server';
-
-/**
- * We use the express adapter which is the one that comes with RxDB core
- * Make sure you have express installed in the correct version!
- * @see https://github.com/pubkey/rxdb-server/blob/master/package.json
- */
-import { RxServerAdapterExpress } from 'rxdb-server/plugins/adapter-express';
-
-const myServer = await createRxServer({
- database: myRxDatabase,
- adapter: RxServerAdapterExpress,
- port: 443
-});
-
-// add endpoints here (see below)
-
-// after adding the endpoints, start the server
-await myServer.start();
-```
-
-### Using RxServer with Fastify
-
-There is also a [RxDB Premium 👑](/premium/) adapter to use the RxServer with [Fastify](https://fastify.dev/) instead of express. Fastify has shown to have better performance and in general is more modern.
-
-```ts
-import { createRxServer } from 'rxdb-server/plugins/server';
-import { RxServerAdapterFastify } from 'rxdb-premium/plugins/server-adapter-fastify';
-
-const myServer = await createRxServer({
- database: myRxDatabase,
- adapter: RxServerAdapterFastify,
- port: 443
-});
-await myServer.start();
-```
-
-### Using RxServer with Koa
-
-There is also a [RxDB Premium 👑](/premium/) adapter to use the RxServer with [Koa](https://koajs.com/) instead of express. Koa has shown to have better performance compared to express.
-
-```ts
-import { createRxServer } from 'rxdb-server/plugins/server';
-import { RxServerAdapterKoa } from 'rxdb-premium/plugins/server-adapter-koa';
-
-const myServer = await createRxServer({
- database: myRxDatabase,
- adapter: RxServerAdapterKoa,
- port: 443
-});
-await myServer.start();
-```
-
-## RxServer Endpoints
-
-On top of the RxServer you can add different types of **endpoints**. An endpoint is always connected to exactly one [RxCollection](./rx-collection.md) and it only serves data from that single collection.
-
-For now there are only two endpoints implemented, the [replication endpoint](#replication-endpoint) and the [REST endpoint](#rest-endpoint). Others will be added in the future.
-
-An endpoint is added to the server by calling the add endpoint method like `myRxServer.addReplicationEndpoint()`. Each needs a different `name` string as input which will define the resulting endpoint url.
-
-The endpoint urls is a combination of the given `name` and schema `version` of the collection, like `/my-endpoint/0`.
-
-```ts
-const myEndpoint = server.addReplicationEndpoint({
- name: 'my-endpoint',
- collection: myServerCollection
-});
-
-console.log(myEndpoint.urlPath) // > 'my-endpoint/0'
-```
-
-Notice that it is **not required** that the server side schema version is equal to the client side schema version. You might want to change server schemas more often and then only do a [migration](./migration-schema.md) on the server, not on the clients.
-
-## Replication Endpoint
-
-The replication endpoint allows clients that connect to it to replicate data with the server via the [RxDB Sync Engine](./replication.md). There is also the [Replication Server](./replication-server.md) plugin that is used on the client side to connect to the endpoint.
-
-The endpoint is added to the server with the `addReplicationEndpoint()` method. It requires a specific collection and the endpoint will only provided replication for documents inside of that collection.
-
-```ts
-// > server.ts
-const endpoint = server.addReplicationEndpoint({
- name: 'my-endpoint',
- collection: myServerCollection
-});
-```
-
-Then you can start the [Server Replication](./replication-server.md) on the client:
-```ts
-// > client.ts
-const replicationState = await replicateServer({
- collection: usersCollection,
- replicationIdentifier: 'my-server-replication',
- url: 'http://localhost:80/my-endpoint/0',
- push: {},
- pull: {}
-});
-```
-
-## REST endpoint
-
-The REST endpoint exposes various methods to access the data from the RxServer with non-RxDB tools via plain HTTP operations. You can use it to connect apps that are programmed in different programming languages than JavaScript or to access data from other third party tools.
-
-Creating a REST endpoint on a RxServer:
-```ts
-const endpoint = await server.addRestEndpoint({
- name: 'my-endpoint',
- collection: myServerCollection
-});
-```
-
-```ts
-// plain http request with fetch
-const request = await fetch('http://localhost:80/' + endpoint.urlPath + '/query', {
- method: 'POST',
- headers: {
- 'Accept': 'application/json',
- 'Content-Type': 'application/json'
- },
- body: JSON.stringify({ selector: {} })
-});
-const response = await request.json();
-```
-
-There is also the `client-rest` plugin that provides type-save interactions with the REST endpoint:
-
-```ts
-// using the client (optional)
-import { createRestClient } from 'rxdb-server/plugins/client-rest';
-const client = createRestClient('http://localhost:80/' + endpoint.urlPath, {/* headers */});
-const response = await client.query({ selector: {} });
-```
-
-The REST endpoint exposes the following paths:
-
-- **query [POST]**: Fetch the results of a NoSQL query.
-- **query/observe [GET]**: Observe a query's results via [Server Send Events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events).
-- **get [POST]**: Fetch multiple documents by their primary key.
-- **set [POST]**: Write multiple documents at once.
-- **delete [POST]**: Delete multiple documents by their primary key.
-
-## CORS
-
-When creating a server or adding endpoints, you can specify a [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) string.
-Endpoint cors always overwrite server cors. The default is the wildcard `*` which allows all requests.
-
-```ts
-const myServer = await startRxServer({
- database: myRxDatabase,
- cors: 'http://example.com'
- port: 443
-});
-const endpoint = await server.addReplicationEndpoint({
- name: 'my-endpoint',
- collection: myServerCollection,
- cors: 'http://example.com'
-});
-```
-
-## Auth handler
-
-To authenticate users and to make user-specific data available on server requests, an `authHandler` must be provided that parses the headers and returns the actual auth data that is used to authenticate the client and in the [queryModifier](#query-modifier) and [changeValidator](#change-validator).
-
-An auth handler gets the given headers object as input and returns the auth data in the format `{ data: {}, validUntil: 1706579817126}`.
-The `data` field can contain any data that can be used afterwards in the queryModifier and changeValidator.
-The `validUntil` field contains the unix timestamp in milliseconds at which the authentication is no longer valid and the client will get disconnected.
-
-For example your authHandler could get the `Authorization` header and parse the [JSON web token](https://jwt.io/) to identify the user and store the user id in the `data` field for later use.
-
-## Query modifier
-
-The query modifier is a JavaScript function that is used to restrict which documents a client can fetch or replicate from the server.
-It gets the auth data and the actual NoSQL query as input parameter and returns a modified NoSQL query that is then used internally by the server.
-You can pass a different query modifier to each endpoint so that you can have different endpoints for different use cases on the same server.
-
-For example you could use a query modifier that get the `userId` from the auth data and then restricts the query to only return documents that have the same `userId` set.
-
-```ts
-function myQueryModifier(authData, query) {
- query.selector.userId = { $eq: authData.data.userid };
- return query;
-}
-
-const endpoint = await server.addReplicationEndpoint({
- name: 'my-endpoint',
- collection: myServerCollection,
- queryModifier: myQueryModifier
-});
-```
-
-The RxServer will use the queryModifier at many places internally to determine which queries to run or if a document is allowed to be seen/edited by a client.
-
-:::note
-For performance reasons the `queryModifier` and `changeValidator` **MUST NOT** be `async` and return a promise. If you need async data to run them, you should gather that data in the `RxServerAuthHandler` and store it in the auth data to access it later.
-:::
-
-## Change validator
-
-The change validator is a JavaScript function that is used to restrict which document writes are allowed to be done by a client.
-For example you could restrict clients to only change specific document fields or to not do any document writes at all.
-It can also be used to validate change document data before storing it at the server.
-
-In this example we restrict clients from doing inserts and only allow updates. For that we check if the change contains an `assumedMasterState` property and return false to block the write.
-
-```ts
-
-function myChangeValidator(authData, change) {
- if(change.assumedMasterState) {
- return false;
- } else {
- return true;
- }
-}
-
-const endpoint = await server.addReplicationEndpoint({
- name: 'my-endpoint',
- collection: myServerCollection,
- changeValidator: myChangeValidator
-});
-```
-
-## Server-only indexes
-
-Normal RxDB schema indexes get the `_deleted` field prepended because all [RxQueries](./rx-query.md) automatically only search for documents with `_deleted=false`.
-When you use RxDB on a server, this might not be optimal because there can be the need to query for documents where the value of `_deleted` does not matter. Mostly this is required in the [pull.stream$](./replication.md#checkpoint-iteration) of a replication when a [queryModifier](#query-modifier) is used to add an additional field to the query.
-
-To set indexes without `_deleted`, you can use the `internalIndexes` field of the schema like the following:
-
-```json
- {
- "version": 0,
- "primaryKey": "id",
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "maxLength": 100
- },
- "name": {
- "type": "string",
- "maxLength": 100
- }
- },
- "internalIndexes": [
- ["name", "id"]
- ]
-}
-```
-
-:::note
-Indexes come with a performance burden. You should only use the indexes you need and make sure you **do not** accidentally set the `internalIndexes` in your client side [RxCollections](./rx-collection.md).
-:::
-
-## Server-only fields
-
-All endpoints can be created with the `serverOnlyFields` set which defines some fields to only exist on the server, not on the clients. Clients will not see that fields and cannot do writes where one of the `serverOnlyFields` is set.
-Notice that when you use `serverOnlyFields` you likely need to have a different schema on the server than the schema that is used on the clients.
-
-```ts
-const endpoint = await server.addReplicationEndpoint({
- name: 'my-endpoint',
- collection: col,
- // here the field 'my-secretss' is defined to be server-only
- serverOnlyFields: ['my-secrets']
-});
-```
-
-:::note
-For performance reasons, only top-level fields can be used as `serverOnlyFields`. Otherwise the server would have to deep-clone all document data which is too expensive.
-:::
-
-## Readonly fields
-
-When you have fields that should only be modified by the server, but not by the client, you can ensure that by comparing the fields value in the [changeValidator](#change-validator).
-
-```ts
-
-const myChangeValidator = function(authData, change){
- if(change.newDocumentState.myReadonlyField !== change.assumedMasterState.myReadonlyField){
- throw new Error('myReadonlyField is readonly');
- }
-}
-```
-
-## $regex queries not allowed
-
-`$regex` queries are not allowed to run at the server to prevent [ReDos Attacks](https://owasp.org/www-community/attacks/Regular_expression_Denial_of_Service_-_ReDoS).
-
-## Conflict handling
-
-To [detect and handle conflicts](./replication.md#conflict-handling), the conflict handler from the endpoints RxCollection is used.
-
-## FAQ
-
-
- Why are the server plugins in a different github repo and npm package?
-
- The RxServer and its other plugins are in a different github repository because:
-
-
- It has too many dependencies that you do not want to install if you only use RxDB at the client side
-
-
- It has a different license (SSPL) to prevent large cloud vendors from "stealing" the revenue, similar to MongoDB's license.
-
-
-
-
-
-
- Why can't endpoints be added dynamically?
-
- After `RxServer.start()` is called, you can no longer add endpoints. This is because many of the supported
- server libraries do not allow dynamic routing for performance and security reasons.
-
-
-
----
-
-## RxState - Reactive Persistent State with RxDB
-
-
-RxState is a flexible state library build on top of the [RxDB Database](https://rxdb.info/). While RxDB stores similar documents inside of collections, RxState can store any complex JSON data without having a predefined schema.
-
-The state is automatically persisted through RxDB and states changes are propagated between browser tabs. Even setting up replication is simple by using the RxDB [Replication feature](./replication.md).
-
-## Creating a RxState
-
-A `RxState` instance is created on top of a [RxDatabase](./rx-database.md). The state will automatically be persisted with the [storage](./rx-storage.md) that was used when setting up the RxDatabase. To use it you first have to import the `RxDBStatePlugin` and add it to RxDB with `addRxPlugin()`.
-To create a state call the `addState()` method on the database instance. Calling `addState` multiple times will automatically de-duplicated and only create a single RxState object.
-
-```javascript
-import { createRxDatabase, addRxPlugin } from 'rxdb';
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-
-// first add the RxState plugin to RxDB
-import { RxDBStatePlugin } from 'rxdb/plugins/state';
-addRxPlugin(RxDBStatePlugin);
-
-const database = await createRxDatabase({
- name: 'heroesdb',
- storage: getRxStorageLocalstorage(),
-});
-
-// create a state instance
-const myState = await database.addState();
-
-// you can also create states with a given namespace
-const myChildState = await database.addState('myNamepsace');
-```
-
-## Writing data and Persistence
-
-Writing data to the state happen by a so called `modifier`. It is a simple JavaScript function that gets the current value as input and returns the new, modified value.
-
-For example to increase the value of `myField` by one, you would use a modifier that increases the current value:
-```ts
-// initially set value to zero
-await myState.set('myField', v => 0);
-
-// increase value by one
-await myState.set('myField', v => v + 1);
-
-// update value to be 42
-await myState.set('myField', v => 42);
-```
-
-The modifier is used instead of a direct assignment to ensure correct behavior when other JavaScript realms write to the state at the same time, like other browser tabs or webworkers. On conflicts, the modifier will just be run again to ensure deterministic and correct behavior. Therefore mutation is `async`, you have to `await` the call to the set function when you care about the moment when the change actually happened.
-
-## Get State Data
-
-The state stored inside of a RxState instance can be seen as a big single JSON object that contains all data.
-You can fetch the whole object or partially get a single properties or nested ones.
-Fetching data can either happen with the `.get()` method or by accessing the field directly like `myRxState.myField`.
-
-```ts
-// get root state data
-const val = myState.get();
-
-// get single property
-const val = myState.get('myField');
-const val = myState.myField;
-
-// get nested property
-const val = myState.get('myField.childfield');
-const val = myState.myField.childfield;
-
-// get nested array property
-const val = myState.get('myArrayField[0].foobar');
-const val = myState.myArrayField[0].foobar;
-```
-
-## Observability
-
-Instead of fetching the state once, you can also observe the state with either rxjs observables or [custom reactivity handlers](#rxstate-with-signals-and-hooks) like signals or hooks.
-
-Rxjs observables can be created by either using the `.get$()` method or by accessing the top level property suffixed with a dollar sign like `myState.myField$`.
-
-```ts
-const observable = myState.get$('myField');
-const observable = myState.myField$;
-
-// then you can subscribe to that observable
-observable.subscribe(newValue => {
- // update the UI
-});
-```
-Subscription works across multiple JavaScript realms like browser tabs or Webworkers.
-
-## RxState with signals and hooks
-
-With the double-dollar sign you can also access [custom reactivity](./reactivity.md) instances like signals or hooks. These are easier to use compared to rxjs, depending on which JavaScript framework you are using.
-
-For example in angular to use signals, you would first add a reactivity factory to your database and then access the signals of the RxState:
-
-```ts
-import { RxReactivityFactory, createRxDatabase } from 'rxdb/plugins/core';
-import { toSignal } from '@angular/core/rxjs-interop';
-const reactivityFactory: RxReactivityFactory = {
- fromObservable(obs, initialValue) {
- return toSignal(obs, { initialValue });
- }
-};
-const database = await createRxDatabase({
- name: 'mydb',
- storage: getRxStorageLocalstorage(),
- reactivity: reactivityFactory
-});
-const myState = await database.addState();
-
-const mySignal = myState.get$$('myField');
-const mySignal = myState.myField$$;
-```
-
-## Cleanup RxState operations
-
-For faster writes, changes to the state are only written as list of operations to disc. After some time you might have too
-many operations written which would delay the initial state creation. To automatically merge the state operations into a single operation and clear the old operations, you should add the [Cleanup Plugin](./cleanup.md) before creating the [RxDatabase](./rx-database.md):
-
-```ts
-import { addRxPlugin } from 'rxdb';
-import { RxDBCleanupPlugin } from 'rxdb/plugins/cleanup';
-addRxPlugin(RxDBCleanupPlugin);
-```
-
-## Correctness over Performance
-
-RxState is optimized for correctness, not for performance. Compared to other state libraries, RxState directly persists data to storage and ensures write conflicts are handled properly. Other state libraries are handles mainly in-memory and lazily persist to disc without caring about conflicts or multiple browser tabs which can cause problems and hard to reproduce bugs.
-
-RxState still uses RxDB which has a range of [great performing storages](./rx-storage-performance.md) so the write speed is more than sufficient. Also to further improve write performance you can use more RxState instances (with an different namespace) to split writes across multiple storage instances.
-
-Reads happen directly in-memory which makes RxState read performance comparable to other state libraries.
-
-## RxState Replication
-
-Because the state data is stored inside of an internal [RxCollection](./rx-collection.md) you can easily use the [RxDB Replication](./replication.md) to sync data between users or devices of the same user.
-
-For example with the [P2P WebRTC replication](./replication-webrtc.md) you can start the replication on the collection and automatically sync the RxState operations between users directly:
-
-```ts
-import {
- replicateWebRTC,
- getConnectionHandlerSimplePeer
-} from 'rxdb/plugins/replication-webrtc';
-
-const database = await createRxDatabase({
- name: 'heroesdb',
- storage: getRxStorageLocalstorage(),
-});
-
-const myState = await database.addState();
-
-const replicationPool = await replicateWebRTC(
- {
- collection: myState.collection,
- topic: 'my-state-replication-pool',
- connectionHandlerCreator: getConnectionHandlerSimplePeer({}),
- pull: {},
- push: {}
- }
-);
-```
-
----
-
-## DenoKV RxStorage
-
-# RxDB Database on top of Deno Key Value Store
-
-With the DenoKV [RxStorage](./rx-storage.md) layer for [RxDB](https://rxdb.info), you can run a fully featured **NoSQL database** on top of the [DenoKV API](https://docs.deno.com/kv/manual).
-This gives you the benefits and features of the RxDB JavaScript Database, combined with the global availability and distribution features of the DenoKV.
-
-
-
-## What is DenoKV
-
-[DenoKV](https://deno.com/kv) is a strongly consistent key-value storage, globally replicated for low-latency reads across 35 worldwide regions via [Deno Deploy](https://deno.com/deploy).
-When you release your Deno application on Deno Deploy, it will start a instance on each of the [35 worldwide regions](https://docs.deno.com/deploy/manual/regions). This edge deployment guarantees minimal latency when serving requests to end users devices around the world. DenoKV is a shared storage which shares its state across all instances.
-But, because DenoKV is "only" a **Key-Value storage**, it only supports basic CRUD operations on datasets and indexes. Complex features like queries, encryption, compression or client-server replication, are missing. Using RxDB on top of DenoKV fills this gap and makes it easy to build realtime [offline-first](./offline-first.md) application on top of Deno backend.
-
-## Use cases
-
-Using RxDB-DenoKV instead of plain DenoKV, can have a wide range of benefits depending on your use case.
-
-- **Reduce vendor lock-in**: RxDB has a swappable [storage layer](./rx-storage.md) which allows you to swap out the underlying storage of your database. If you ever decide to move away from DenoDeploy or Deno at all, you do not have to refactor your whole application and instead just **swap the storage plugin**. For example if you decide migrate to Node.js, you can use the [FoundationDB RxStorage](./rx-storage-foundationdb.md) and store your data there. DenoKV is also implemented on top of FoundationDB so you can get similar performance. Alternatively RxDB supports a wide range of [storage plugins](./rx-storage.md) you can decide from.
-
-- **Add reactiveness**: DenoKV is a plain request-response datastore. While it supports observation of single rows by id, it does not allow to observe row-ranges or events. This makes it hard to impossible to build realtime applications with it because polling would be the only way to watch ranges of key-value pairs. With RxDB on top of DenoKV, changes to the database are **shared between DenoDeploy instances** so when you **observe a [query](./rx-query.md)** you can be sure that it is always up to date, no matter which instance has changed the document. Internally RxDB uses the [Deno BroadcastChannel API](https://docs.deno.com/deploy/api/runtime-broadcast-channel) to share events between instances.
-
-- **Reuse Client and Server Code**: When you use RxDB on the server and on the client side, many parts of your code can be reused on both sides which decreases development time significantly.
-
-- **Replicate from DenoKV to a local RxDB state**: Instead of running all operations against the global DenoKV, you can run a [realtime-replication](./replication.md) between a DenoKV-RxDatabase and a [locally stored dataset](./rx-storage-filesystem-node.md) or maybe even an [in-memory](./rx-storage-memory.md) stored one. This improves **query performance** and can **reduce your Deno Deploy cloud costs** because less operations run against the DenoKV, they only locally instead.
-
-- **Replicate with other backends**: The RxDB [Sync Engine](./replication.md) is pretty simple and allows you to easily build a replication with any backend architecture. For example if you already have your data stored in a self-hosted MySQL server, you can use RxDB to do a realtime replication of that data into a DenoKV RxDatabase instance. RxDB also has many plugins for replication with backend/protocols like [GraphQL](./replication-graphql.md), [Websocket](./replication-websocket.md), [CouchDB](./replication-couchdb.md), [WebRTC](./replication-webrtc.md), [Firestore](./replication-firestore.md) and [NATS](./replication-nats.md).
-
-
-
-## Using the DenoKV RxStorage
-
-To use the DenoKV RxStorage with RxDB, you import the `getRxStorageDenoKV` function from the plugin and set it as storage when calling [createRxDatabase](./rx-database.md#creation)
-
-```ts
-
-import { createRxDatabase } from 'rxdb';
-import { getRxStorageDenoKV } from 'rxdb/plugins/storage-denokv';
-
-const myRxDatabase = await createRxDatabase({
- name: 'exampledb',
- storage: getRxStorageDenoKV({
- /**
- * Consistency level, either 'strong' or 'eventual'
- * (Optional) default='strong'
- */
- consistencyLevel: 'strong',
- /**
- * Path which is used in the first argument of Deno.openKv(settings.openKvPath)
- * (Optional) default=''
- */
- openKvPath: './foobar',
- /**
- * Some operations have to run in batches,
- * you can test different batch sizes to improve performance.
- * (Optional) default=100
- */
- batchSize: number
- })
-});
-
-```
-
-On top of that [RxDatabase](./rx-database.md) you can then create your collections and run operations. Follow the [quickstart](./quickstart.md) to learn more about how to use RxDB.
-
-## Using non-DenoKV storages in Deno
-
-When you use other storages than the DenoKV storage inside of a Deno app, make sure you set `multiInstance: false` when creating the database. Also you should only run one process per Deno-Deploy instance. This ensures your events are not mixed up by the [BroadcastChannel](https://docs.deno.com/deploy/api/runtime-broadcast-channel) across instances which would lead to wrong behavior.
-
-```ts
-// DenoKV based database
-const db = await createRxDatabase({
- name: 'denokvdatabase',
- storage: getRxStorageDenoKV(),
- /**
- * Use multiInstance: true so that the Deno Broadcast Channel
- * emits event across DenoDeploy instances
- * (true is also the default, so you can skip this setting)
- */
- multiInstance: true
-});
-
-// Non-DenoKV based database
-const db = await createRxDatabase({
- name: 'denokvdatabase',
- storage: getRxStorageFilesystemNode(),
- /**
- * Use multiInstance: false so that it does not share events
- * across instances because the stored data is anyway not shared
- * between them.
- */
- multiInstance: false
-});
-```
-
----
-
-## RxDB Dexie.js Database - Fast, Reactive, Sync with Any Backend
-
-import {Steps} from '@site/src/components/steps';
-
-# RxStorage Dexie.js
-
-To store the data inside of and RxDB Database in IndexedDB in the [browser](./articles/browser-database.md), you can use the [Dexie.js](https://github.com/dexie/Dexie.js) based [RxStorage](./rx-storage.md). Dexie.js is a minimal wrapper around IndexedDB and the Dexie.js RxStorage wraps that again to use it for an RxDB database in the browser. For side projects and prototypes that run in a browser, you should use the dexie RxStorage as a default.
-
-## Dexie.js vs IndexedDB Storage
-
-While Dexie.js [RxStorage](./rx-storage.md) can be used for free, most professional projects should switch to our **premium [IndexedDB RxStorage](./rx-storage-indexeddb.md) 👑** in production:
-
-- It is faster and reduces build size by up to **36%**.
-- It has a way [better performance](./rx-storage-performance.md) on reads and writes.
-- It stores attachments data as binary instead of base64 which reduces used space by 33%.
-- It does not use a [Batched Cursor](./slow-indexeddb.md#batched-cursor) or [custom indexes](./slow-indexeddb.md#custom-indexes) which makes queries slower compared to the [IndexedDB RxStorage](./rx-storage-indexeddb.md).
-- It supports **non-required indexes** which is [not possible](https://github.com/pubkey/rxdb/pull/6643#issuecomment-2505310082) with Dexie.js.
-- It runs in a **WAL-like mode** (similar to SQLite) for faster writes and improved responsiveness.
-- It support the [Storage Buckets API](./rx-storage-indexeddb.md#storage-buckets)
-
-## How to use Dexie.js as a Storage for RxDB
-
-
-
-### Import the Dexie Storage
-```ts
-import { createRxDatabase } from 'rxdb/plugins/core';
-import { getRxStorageDexie } from 'rxdb/plugins/storage-dexie';
-```
-
-### Create a Database
-```ts
-const db = await createRxDatabase({
- name: 'exampledb',
- storage: getRxStorageDexie()
-});
-```
-
-
-## Overwrite/Polyfill the native IndexedDB API with an in-memory version
-
-Node.js has no IndexedDB API. To still run the Dexie `RxStorage` in Node.js, for example to run unit tests, you have to polyfill it.
-You can do that by using the [fake-indexeddb](https://github.com/dumbmatter/fakeIndexedDB) module and pass it to the `getRxStorageDexie()` function.
-
-```ts
-import { createRxDatabase } from 'rxdb/plugins/core';
-import { getRxStorageDexie } from 'rxdb/plugins/storage-dexie';
-
-//> npm install fake-indexeddb --save
-const fakeIndexedDB = require('fake-indexeddb');
-const fakeIDBKeyRange = require('fake-indexeddb/lib/FDBKeyRange');
-
-const db = await createRxDatabase({
- name: 'exampledb',
- storage: getRxStorageDexie({
- indexedDB: fakeIndexedDB,
- IDBKeyRange: fakeIDBKeyRange
- })
-});
-
-```
-
-## Using Dexie Addons
-
-Dexie.js has its own plugin system with [many plugins](https://dexie.org/docs/DerivedWork#known-addons) for encryption, replication or other use cases. With the Dexie.js `RxStorage` you can use the same plugins by passing them to the `getRxStorageDexie()` function.
-
-```ts
-const db = await createRxDatabase({
- name: 'exampledb',
- storage: getRxStorageDexie({
- addons: [ /* Your Dexie.js plugins */ ]
- })
-});
-```
-
-## Sync Dexie.js with your Backend in RxDB
-
-Having your local data in sync with a remote backend is a key feature of RxDB. Here are two approaches to achieve this when using the Dexie.js RxStorage:
-
-* **Dexie Cloud** provides a **managed solution**: For quick setups, letting you rely on its Cloud backend and conflict resolution.
-* [RxDB's replication](./replication.md): Offers **full control** over your backend, data flow, and [conflict handling](./transactions-conflicts-revisions.md).
-
-Choose the approach that best suits your needs - whether you want to get started quickly with Dexie Cloud or require the adaptability and autonomy of RxDB's native replication.
-
-### A. Use Dexie Cloud Sync
-
-**Dexie Cloud** is an official SaaS solution provided by the Dexie team. It offers automatic synchronization, user management, and conflict resolution out of the box. The primary benefits are:
-
-- **Automatic Sync**: Dexie Cloud keeps your local IndexedDB in sync with its cloud-based backend.
-- **User Authentication**: Built-in user management (auth, roles, permissions).
-- **Conflict Resolution**: Automated resolution logic on the server side.
-
-
-
-#### Install the Dexie Cloud Addon
-
-```bash
-npm install dexie-cloud-addon
-```
-
-#### Import RxDB and dexie-cloud
-```ts
-import { createRxDatabase } from 'rxdb/plugins/core';
-import { getRxStorageDexie } from 'rxdb/plugins/storage-dexie';
-import dexieCloud from 'dexie-cloud-addon';
-```
-
-#### Create a Dexie based RxStorage with the Cloud Plugin
-
-```ts
-const storage = getRxStorageDexie({
- addons: [dexieCloud],
- /*
- * Whenever a new dexie database instance is created,
- * this method will be called.
- */
- async onCreate(dexieDatabase, dexieDatabaseName) {
- await dexieDatabase.cloud.configure({
- databaseUrl: "https://.dexie.cloud",
- requireAuth: true // optional
- });
- }
-});
-```
-
-#### Create an RxDB Database
-
-```ts
-const db = await createRxDatabase({
- name: 'mydb',
- storage
-});
-```
-
-
-### B. Use the RxDB Replication
-
-For **full flexibility** over your backend or conflict resolution strategy, you can use one of **RxDB's many replication plugins** like
-
-- [CouchDB Replication](./replication-couchdb.md) Plugin: Replicate with a CouchDB Server
-- [GraphQL Replication](./replication-graphql.md) Plugin: Sync data with any GraphQL endpoint. Useful when you have a custom schema or you want to utilize GraphQL's powerful query features.
-- [Custom Replication with REST APIs](./replication-http.md): Implement your own replication by building a pull/push handler that communicates with any RESTful backend.
-
-Below is an example of replicating an RxDB collection with a CouchDB backend using RxDB's CouchDB replication plugin:
-
-
-
-#### Import the RxDB with dexie and the CouchDB plugin
-```ts
-import { replicateCouchDB } from 'rxdb/plugins/replication-couchdb';
-import { getRxStorageDexie } from 'rxdb/plugins/storage-dexie';
-import { createRxDatabase } from 'rxdb/plugins/core';
-```
-
-#### Create an RxDB Database with the Dexie Storage
-
-```ts
-const db = await createRxDatabase({
- name: 'mydb',
- storage: getRxStorageDexie()
-});
-```
-
-#### Add a Collection
-
-```ts
-await db.addCollections({
- humans: {
- schema: {
- version: 0,
- type: 'object',
- primaryKey: 'id',
- properties: {
- id: { type: 'string', maxLength: 100 },
- name: { type: 'string' },
- age: { type: 'number' }
- },
- required: ['id', 'name']
- }
- }
-});
-```
-
-#### Sync the Collection with a CouchDB Server
-
-```ts
-const replicationState = replicateCouchDB({
- replicationIdentifier: 'my-couchdb-replication',
- collection: db.humans,
- // The URL to your CouchDB endpoint
- url: 'http://example.com/db/humans'
-});
-```
-
-
-
-## liveQuery - Realtime Queries
-
-Dexie.js offers a feature called `liveQuery` which automatically updates query results as data changes, allowing you to react to these changes in real-time. However, because RxDB intrinsically provides [reactive queries](./rx-query.md#observe), you typically do **not** need to enable live queries through Dexie. Once you have created your database and collections with RxDB, any query you perform can be observed by subscribing to it, for example via `collection.find().$.subscribe(results => { /*... */ })`. This means RxDB takes care of listening for changes and automatically emitting new results - ensuring your UI stays in sync with the underlying data without requiring extra plugins or manual polling.
-
-## Disabling the non-premium console log
-
-We want to be transparent with our community, and you'll notice a console message when using the free Dexie.js based RxStorage implementation. This message serves to inform you about the availability of faster storage solutions within our [👑 Premium Plugins](/premium/). We understand that this might be a minor inconvenience, and we sincerely apologize for that. However, maintaining and improving RxDB requires substantial resources, and our premium users help us ensure its sustainability. If you find value in RxDB and wish to remove this message, we encourage you to explore our premium storage options, which are optimized for professional use and production environments. Thank you for your understanding and support.
-
-If you already have premium access and want to use the Dexie.js [RxStorage](./rx-storage.md) without the log, you can call the `setPremiumFlag()` function to disable the log.
-
-```js
-import { setPremiumFlag } from 'rxdb-premium/plugins/shared';
-setPremiumFlag();
-```
-
-## Performance comparison with other RxStorage plugins
-
-The performance of the Dexie.js RxStorage is good enough for most use cases but other storages can have way better performance metrics:
-
----
-
-## Blazing-Fast Node Filesystem Storage
-
-# Filesystem Node RxStorage
-
-The Filesystem Node [RxStorage](./rx-storage.md) for RxDB is built on top of the [Node.js Filesystem API](https://nodejs.org/api/fs.html).
-It stores data in plain json/txt files like any "normal" database does. It is a bit faster compared to the [SQLite storage](./rx-storage-sqlite.md) and its setup is less complex.
-Using the same database folder in parallel with multiple Node.js processes is supported when you set `multiInstance: true` while creating the [RxDatabase](./rx-database.md).
-
-### Pros
-
-- Easier setup compared to [SQLite](./rx-storage-sqlite.md)
-- [Fast](./rx-storage-performance.md)
-
-### Cons
-
-- It is part of the [RxDB Premium 👑](/premium/) plugin that must be purchased.
-
-
-
-## Usage
-
-```ts
-import {
- createRxDatabase
-} from 'rxdb';
-import {
- getRxStorageFilesystemNode
-} from 'rxdb-premium/plugins/storage-filesystem-node';
-
-const myRxDatabase = await createRxDatabase({
- name: 'exampledb',
- storage: getRxStorageFilesystemNode({
- basePath: path.join(__dirname, 'my-database-folder'),
- /**
- * Set inWorker=true if you use this RxStorage
- * together with the WebWorker plugin.
- */
- inWorker: false
- })
-});
-/* ... */
-```
-
----
-
-## RxDB on FoundationDB - Performance at Scale
-
-# RxDB Database on top of FoundationDB
-
-[FoundationDB](https://www.foundationdb.org/) is a distributed key-value store designed to handle large volumes of structured data across clusters of computers while maintaining high levels of performance, scalability, and fault tolerance. While FoundationDB itself only can store and query key-value pairs, it lacks more advanced features like complex queries, encryption and replication.
-
-With the FoundationDB based [RxStorage](./rx-storage.md) of [RxDB](https://rxdb.info/) you can combine the benefits of FoundationDB while having a fully featured, high performance NoSQL database.
-
-## Features of RxDB+FoundationDB
-
-Using RxDB on top of FoundationDB, gives you many benefits compare to using the plain FoundationDB API:
-
-- **Indexes**: In RxDB with a FoundationDB storage layer, indexes are used to optimize query performance, allowing for fast and efficient data retrieval even in large datasets. You can define single and compound indexes with the [RxDB schema](./rx-schema.md).
-- **Schema Based Data Model**: Utilizing a [jsonschema](./rx-schema.md) based data model, the system offers a highly structured and versatile approach to organizing and [validating data](./schema-validation.md), ensuring consistency and clarity in database interactions.
-- **Complex Queries**: The system supports complex [NoSQL queries](./rx-query.md), allowing for advanced data manipulation and retrieval, tailored to specific needs and intricate data relationships. For example you can do `$regex` or `$or` queries which is hardy possible with the plain key-value access of FoundationDB.
-- **Observable Queries & Documents**: RxDB's observable queries and documents feature ensures real-time updates and synchronization, providing dynamic and responsive data interactions in applications.
-- **Compression**: RxDB employs data [compression techniques](./key-compression.md) to reduce storage requirements and enhance transmission efficiency, making it more cost-effective and faster, especially for large volumes of data. You can compress the [NoSQL document](./key-compression.md) data, but also the [binary attachments](./rx-attachment.md#attachment-compression) data.
-- **Attachments**: RxDB supports the storage and management of [attachments](./rx-attachment.md) which allowing for the seamless inclusion of binary data like images or documents alongside structured data within the database.
-
-## Installation
-
-- Install the [FoundationDB client cli](https://apple.github.io/foundationdb/getting-started-linux.html) which is used to communicate with the FoundationDB cluster.
-- Install the [FoundationDB node bindings npm module](https://www.npmjs.com/package/foundationdb) via `npm install foundationdb`. This will install `v2.x.x`, which is only compatible with FoundationDB server and client `v7.3.x` (which is the only version currently maintained by the FoundationDB team). If you need to use an older version (e.g. `7.1.x` or `6.3.x`), you should run `npm install foundationdb@1.1.4` (though this might only work with `v6.3.x`).
-- Due to an outstanding bug in node foundationdb, you will need to specify an `apiVersion` of `720` even though you are using `730`. When [this PR](https://github.com/josephg/node-foundationdb/pull/86) is merged, you will be able to use `730`.
-
-## Usage
-
-```typescript
-import {
- createRxDatabase
-} from 'rxdb';
-import {
- getRxStorageFoundationDB
-} from 'rxdb/plugins/storage-foundationdb';
-
-const db = await createRxDatabase({
- name: 'exampledb',
- storage: getRxStorageFoundationDB({
- /**
- * Version of the API of the FoundationDB cluster..
- * FoundationDB is backwards compatible across a wide range of versions,
- * so you have to specify the api version.
- * If in doubt, set it to 720.
- */
- apiVersion: 720,
- /**
- * Path to the FoundationDB cluster file.
- * (optional)
- * If in doubt, leave this empty to use the default location.
- */
- clusterFile: '/path/to/fdb.cluster',
- /**
- * Amount of documents to be fetched in batch requests.
- * You can change this to improve performance depending on
- * your database access patterns.
- * (optional)
- * [default=50]
- */
- batchSize: 50
- })
-});
-```
-
-## Multi Instance
-
-Because FoundationDB does not offer a [changestream](https://forums.foundationdb.org/t/streaming-data-out-of-foundationdb/683/2), it is not possible to use the same cluster from more than one Node.js process at the same time. For example you cannot spin up multiple servers with RxDB databases that all use the same cluster. There might be workarounds to create something like a FoundationDB changestream and you can make a Pull Request if you need that feature.
-
----
-
-## Instant Performance with IndexedDB RxStorage
-
-# IndexedDB RxStorage
-
-The IndexedDB [RxStorage](./rx-storage.md) is based on plain IndexedDB and can be used in browsers, [electron](./electron-database.md) or hybrid apps.
-Compared to other browser based storages, the IndexedDB storage has the smallest write- and read latency, the fastest initial page load
-and the smallest build size. Only for big datasets (more than 10k documents), the [OPFS storage](./rx-storage-opfs.md) is better suited.
-
-While the IndexedDB API itself can be very slow, the IndexedDB storage uses many tricks and performance optimizations, some of which are described [here](./slow-indexeddb.md). For example it uses custom index strings instead of the native IndexedDB indexes, batches cursor for faster bulk reads and many other improvements. The IndexedDB storage also operates on [Write-ahead logging](https://en.wikipedia.org/wiki/Write-ahead_logging) similar to SQLite, to improve write latency while still ensuring consistency on writes.
-
-## IndexedDB performance comparison
-
-Here is some performance comparison with other storages. Compared to the non-memory storages like [OPFS](./rx-storage-opfs.md) and [WASM SQLite](./rx-storage-sqlite.md). IndexedDB has the smallest build size and fastest write speed. Only OPFS is faster on queries over big datasets. See [performance comparison](./rx-storage-performance.md) page for a comparison with all storages.
-
-
-
-## Using the IndexedDB RxStorage
-
-To use the indexedDB storage you import it from the [RxDB Premium 👑](/premium/) npm module and use `getRxStorageIndexedDB()` when creating the [RxDatabase](./rx-database.md).
-
-```ts
-import {
- createRxDatabase
-} from 'rxdb';
-import {
- getRxStorageIndexedDB
-} from 'rxdb-premium/plugins/storage-indexeddb';
-
-const db = await createRxDatabase({
- name: 'exampledb',
- storage: getRxStorageIndexedDB({
- /**
- * For better performance, queries run with a batched cursor.
- * You can change the batchSize to optimize the query time
- * for specific queries.
- * You should only change this value when you are also doing performance measurements.
- * [default=300]
- */
- batchSize: 300
- })
-});
-```
-
-## Overwrite/Polyfill the native IndexedDB
-
-Node.js has no IndexedDB API. To still run the IndexedDB `RxStorage` in Node.js, for example to run unit tests, you have to polyfill it.
-You can do that by using the [fake-indexeddb](https://github.com/dumbmatter/fakeIndexedDB) module and pass it to the `getRxStorageIndexedDB()` function.
-
-```ts
-import { createRxDatabase } from 'rxdb';
-import { getRxStorageIndexedDB } from 'rxdb-premium/plugins/storage-indexeddb';
-
-//> npm install fake-indexeddb --save
-const fakeIndexedDB = require('fake-indexeddb');
-const fakeIDBKeyRange = require('fake-indexeddb/lib/FDBKeyRange');
-
-const db = await createRxDatabase({
- name: 'exampledb',
- storage: getRxStorageIndexedDB({
- indexedDB: fakeIndexedDB,
- IDBKeyRange: fakeIDBKeyRange
- })
-});
-
-```
-
-## Storage Buckets
-
-The [Storage Buckets API](https://wicg.github.io/storage-buckets/) provides a way for sites to organize locally stored data into groupings called "storage buckets". This allows the user agent or sites to manage and delete buckets independently rather than applying the same treatment to all the data from a single origin. [Read More](https://developer.chrome.com/docs/web-platform/storage-buckets?hl=en)
-
-To use different storage buckets with the RxDB IndexedDB Storage, you can use a function instead of a plain object when providing the `indexedDB` attribute:
-
-```ts
-import { createRxDatabase } from 'rxdb';
-import { getRxStorageIndexedDB } from 'rxdb-premium/plugins/storage-indexeddb';
-
-const db = await createRxDatabase({
- name: 'exampledb',
- storage: getRxStorageIndexedDB({
- indexedDB: async(params) => {
- const myStorageBucket = await navigator.storageBuckets.open('myApp-' + params.databaseName);
- return myStorageBucket.indexedDB;
- },
- IDBKeyRange
- })
-});
-```
-
-## Limitations of the IndexedDB RxStorage
-
-- It is part of the [RxDB Premium 👑](/premium/) plugin that must be purchased. If you just need a storage that works in the browser and you do not have to care about performance, you can use the [LocalStorage storage](./rx-storage-localstorage.md) instead.
-- The IndexedDB storage requires support for [IndexedDB v2](https://caniuse.com/indexeddb2), it does not work on Internet Explorer.
-
----
-
-## Fastest RxDB Starts - Localstorage Meta Optimizer
-
-# RxStorage Localstorage Meta Optimizer
-
-The [RxStorage](./rx-storage.md) Localstorage Meta Optimizer is a wrapper around any other RxStorage. The wrapper uses the original RxStorage for normal collection documents. But to optimize the initial page load time, it uses [localstorage](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage?retiredLocale=de) to store the plain key-value metadata that RxDB needs to create databases and collections. This plugin can only be used in browsers.
-
-Depending on your database usage and the collection amount, this can save about 200 milliseconds on the initial pageload. It is recommended to use this when you create more than 4 RxCollections.
-
-:::note Premium
-This plugin is part of [RxDB Premium 👑](/premium/). It is not part of the default RxDB module.
-:::
-
-## Usage
-
-The meta optimizer gets wrapped around any other RxStorage. It will than automatically detect if an RxDB internal storage instance is created, and replace that with a [localstorage](./articles/localstorage.md) based instance.
-
-```ts
-import {
- getLocalstorageMetaOptimizerRxStorage
-} from 'rxdb-premium/plugins/storage-localstorage-meta-optimizer';
-
-import { getRxStorageIndexedDB } from 'rxdb-premium/plugins/storage-indexeddb';
-
-/**
- * First wrap the original RxStorage with the optimizer.
- */
-const optimizedRxStorage = getLocalstorageMetaOptimizerRxStorage({
-
- /**
- * Here we use the IndexedDB RxStorage,
- * it is also possible to use any other RxStorage instead.
- */
- storage: getRxStorageIndexedDB()
-});
-
-/**
- * Create the RxDatabase with the wrapped RxStorage.
- */
-const database = await createRxDatabase({
- name: 'mydatabase',
- storage: optimizedRxStorage
-});
-
-```
-
----
-
-## RxDB LocalStorage - The Easiest Way to Persist Data in Your Web App
-
-import {Steps} from '@site/src/components/steps';
-
-# RxStorage LocalStorage
-
-RxDB can persist data in various ways. One of the simplest methods is using the browser’s built-in [LocalStorage](./articles/localstorage.md). This storage engine allows you to store and retrieve RxDB documents directly from the browser without needing additional plugins or libraries.
-
-> **Recommended Default for using RxDB in the Browser**
->
-> We highly recommend using LocalStorage for a quick and easy RxDB setup, especially when you want a minimal project configuration. For professional projects, the [IndexedDB RxStorage](./rx-storage-indexeddb.md) is recommended in most cases.
-
-## Key Benefits
-
-1. **Simplicity**: No complicated configurations or external dependencies - LocalStorage is already built into the browser.
-2. **Fast for small Datasets**: Writing and Reading small sets of data from localStorage is really fast as shown in [these benchmarks](./articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm.md#performance-comparison).
-4. **Ease of Setup**: Just import the plugin, import it, and pass `getRxStorageLocalstorage()` into `createRxDatabase()`. That’s it!
-
-## Limitations
-
-While LocalStorage is the easiest way to get started, it does come with some constraints:
-
-1. **Limited Storage Capacity**: Browsers often limit LocalStorage to around [5 MB per domain](./articles/localstorage.md#understanding-the-limitations-of-local-storage), though exact limits vary.
-2. **Synchronous Access**: LocalStorage operations block the main thread. This is usually fine for small amounts of data but can cause performance bottlenecks with heavier use.
-
-Despite these limitations, LocalStorage remains a great default option for smaller projects, prototypes, or cases where you need the absolute simplest way to persist data in the browser.
-
-## How to use the LocalStorage RxStorage with RxDB
-
-
-
-### Import the Storage
-```ts
-import { createRxDatabase } from 'rxdb/plugins/core';
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-```
-
-### Create a Database
-```ts
-const db = await createRxDatabase({
- name: 'exampledb',
- storage: getRxStorageLocalstorage()
-});
-```
-
-### Add a Collection
-
-```ts
-await db.addCollections({
- tasks: {
- schema: {
- title: 'tasks schema',
- version: 0,
- primaryKey: 'id',
- type: 'object',
- properties: {
- id: { type: 'string' },
- title: { type: 'string' },
- done: { type: 'boolean' }
- },
- required: ['id', 'title', 'done']
- }
- }
-});
-```
-
-### Insert a document
-
-```ts
-await db.tasks.insert({ id: 'task-01', title: 'Get started with RxDB' });
-```
-
-### Query documents
-```ts
-const nonDoneTasks = await db.tasks.find({
- selector: {
- done: {
- $eq: false
- }
- }
-}).exec();
-```
-
-
-
-## Mocking the LocalStorage API for testing in Node.js
-
-While the `localStorage` API only exists in browsers, your can the LocalStorage based storage in Node.js by using the mock that comes with RxDB.
-This is intended to be used in unit tests or other test suites:
-
-```ts
-import { createRxDatabase } from 'rxdb/plugins/core';
-import {
- getRxStorageLocalstorage,
- getLocalStorageMock
-} from 'rxdb/plugins/storage-localstorage';
-
-const db = await createRxDatabase({
- name: 'exampledb',
- storage: getRxStorageLocalstorage({
- localStorage: getLocalStorageMock()
- })
-});
-
-```
-
----
-
-## Blazing-Fast Memory Mapped RxStorage
-
-# Memory Mapped RxStorage
-
-The memory mapped [RxStorage](./rx-storage.md) is a wrapper around any other RxStorage. The wrapper creates an in-memory storage that is used for query and write operations. This memory instance is kept persistent with a given underlying storage.
-
-## Pros
-
-- Improves read/write performance because these operations run against the in-memory storage.
-- Decreases initial page load because it load all data in a single bulk request. It even detects if the database is used for the first time and then it does not have to await the creation of the persistent storage.
-- Can store encrypted data on disc while still being able to run queries on the non-encrypted in-memory state.
-
-## Cons
-
-- It does not support attachments because storing big attachments data in-memory should not be done.
-- When the JavaScript process is killed ungracefully like when the browser crashes or the power of the PC is terminated, it might happen that some memory writes are not persisted to the parent storage. This can be prevented with the `awaitWritePersistence` flag.
-- The memory-mapped storage can only be used if all data fits into the memory of the JavaScript process. This is normally not a problem because a browser has much memory these days and plain JSON document data is not that big.
-- Because it has to await an initial data loading from the parent storage into the memory, initial page load time can increase when much data is already stored. This is likely not a problem when you store less than `10k` documents.
-- The `memory-mapped` storage is part of [RxDB Premium 👑](/premium/). It is not part of the default RxDB core module.
-
-## Using the Memory-Mapped RxStorage
-
-```ts
-
-import {
- getRxStorageIndexedDB
-} from 'rxdb-premium/plugins/storage-indexeddb';
-import {
- getMemoryMappedRxStorage
-} from 'rxdb-premium/plugins/storage-memory-mapped';
-
-/**
- * Here we use the IndexedDB RxStorage as persistence storage.
- * Any other RxStorage can also be used.
- */
-const parentStorage = getRxStorageIndexedDB();
-
-// wrap the persistent storage with the memory-mapped storage.
-const storage = getMemoryMappedRxStorage({
- storage: parentStorage
-});
-
-// create the RxDatabase like you would do with any other RxStorage
-const db = await createRxDatabase({
- name: 'myDatabase,
- storage,
-});
-/** ... **/
-```
-
-## Multi-Tab Support
-
-By how the memory-mapped storage works, it is not possible to have the same storage open in multiple JavaScript processes. So when you use this in a browser application, you can not open multiple databases when the app is used in multiple browser tabs.
-To solve this, use the [SharedWorker Plugin](./rx-storage-shared-worker.md) so that the memory-mapped storage runs inside of a SharedWorker exactly once and is then reused for all browser tabs.
-
-If you have a single JavaScript process, like in a React Native app, you do not have to care about this and can just use the memory-mapped storage in the main process.
-
-## Encryption of the persistent data
-
-Normally RxDB is not capable of running queries on encrypted fields. But when you use the memory-mapped RxStorage, you can store the document data encrypted on disc, while being able to run queries on the not encrypted in-memory state. Make sure you use the encryption storage wrapper around the persistent storage, **NOT** around the memory-mapped storage as a whole.
-
-```ts
-
-import {
- getRxStorageIndexedDB
-} from 'rxdb-premium/plugins/storage-indexeddb';
-import {
- getMemoryMappedRxStorage
-} from 'rxdb-premium/plugins/storage-memory-mapped';
-import { wrappedKeyEncryptionWebCryptoStorage } from 'rxdb-premium/plugins/encryption-web-crypto';
-
-const storage = getMemoryMappedRxStorage({
- storage: wrappedKeyEncryptionWebCryptoStorage({
- storage: getRxStorageIndexedDB()
- })
-});
-
-const db = await createRxDatabase({
- name: 'myDatabase,
- storage,
-});
-/** ... **/
-```
-
-## Await Write Persistence
-Running operations on the memory-mapped storage by default returns directly when the operation has run on the in-memory state and then persist changes in the background.
-Sometimes you might want to ensure write operations is persisted, you can do this by setting `awaitWritePersistence: true`.
-
-```ts
-const storage = getMemoryMappedRxStorage({
- awaitWritePersistence: true,
- storage: getRxStorageIndexedDB()
-});
-```
-
-## Block Size Limit
-
-During cleanup, the memory-mapped storage will merge many small write-blocks into single big blocks for better initial load performance.
-The `blockSizeLimit` defines the maximum of how many documents get stored in a single block. The default is `10000`.
-
-```ts
-const storage = getMemoryMappedRxStorage({
- blockSizeLimit: 1000,
- storage: getRxStorageIndexedDB()
-});
-```
-
----
-
-## Instant Performance with Memory Synced RxStorage
-
-# Memory Synced RxStorage
-
-The memory synced [RxStorage](./rx-storage.md) is a wrapper around any other RxStorage. The wrapper creates an in-memory storage that is used for query and write operations. This memory instance is replicated with the underlying storage for persistence.
-The main reason to use this is to improve initial page load and query/write times. This is mostly useful in browser based applications.
-
-## Pros
-
-- Improves read/write performance because these operations run against the in-memory storage.
-- Decreases initial page load because it load all data in a single bulk request. It even detects if the database is used for the first time and then it does not have to await the creation of the persistent storage.
-
-## Cons
-
-- It does not support attachments.
-- When the JavaScript process is killed ungracefully like when the browser crashes or the power of the PC is terminated, it might happen that some memory writes are not persisted to the parent storage. This can be prevented with the `awaitWritePersistence` flag.
-- This can only be used if all data fits into the memory of the JavaScript process. This is normally not a problem because a browser has much memory these days and plain json document data is not that big.
-- Because it has to await an initial replication from the parent storage into the memory, initial page load time can increase when much data is already stored. This is likely not a problem when you store less than `10k` documents.
-- The memory-synced storage itself does not support replication and migration. Instead you have to replicate the underlying parent storage.
-- The `memory-synced` plugin is part of [RxDB Premium 👑](/premium/). It is not part of the default RxDB module.
-
-:::note The memory-synced RxStorage was removed in RxDB version 16
-
-The `memory-synced` was removed in RxDB version 16. Instead consider using the newer and better [memory-mapped RxStorage](./rx-storage-memory-mapped.md) which has better trade-offs and is easier to configure.
-:::
-
-## Usage
-
-```ts
-
-import {
- getRxStorageIndexedDB
-} from 'rxdb-premium/plugins/storage-indexeddb';
-import {
- getMemorySyncedRxStorage
-} from 'rxdb-premium/plugins/storage-memory-synced';
-
-/**
- * Here we use the IndexedDB RxStorage as persistence storage.
- * Any other RxStorage can also be used.
- */
-const parentStorage = getRxStorageIndexedDB();
-
-// wrap the persistent storage with the memory synced one.
-const storage = getMemorySyncedRxStorage({
- storage: parentStorage
-});
-
-// create the RxDatabase like you would do with any other RxStorage
-const db = await createRxDatabase({
- name: 'myDatabase,
- storage,
-});
-/** ... **/
-
-```
-
-## Options
-
-Some options can be provided to fine tune the performance and behavior.
-
-```ts
-
-import {
- requestIdlePromise
-} from 'rxdb';
-
-const storage = getMemorySyncedRxStorage({
- storage: parentStorage,
-
- /**
- * Defines how many document
- * get replicated in a single batch.
- * [default=50]
- *
- * (optional)
- */
- batchSize: 50,
-
- /**
- * By default, the parent storage will be created without indexes for a faster page load.
- * Indexes are not needed because the queries will anyway run on the memory storage.
- * You can disable this behavior by setting keepIndexesOnParent to true.
- * If you use the same parent storage for multiple RxDatabase instances where one is not
- * a asynced-memory storage, you will get the error: 'schema not equal to existing storage'
- * if you do not set keepIndexesOnParent to true.
- *
- * (optional)
- */
- keepIndexesOnParent: true,
-
- /**
- * If set to true, all write operations will resolve AFTER the writes
- * have been persisted from the memory to the parentStorage.
- * This ensures writes are not lost even if the JavaScript process exits
- * between memory writes and the persistence interval.
- * default=false
- */
- awaitWritePersistence: true,
-
- /**
- * After a write, await until the return value of this method resolves
- * before replicating with the master storage.
- *
- * By returning requestIdlePromise() we can ensure that the CPU is idle
- * and no other, more important operation is running. By doing so we can be sure
- * that the replication does not slow down any rendering of the browser process.
- *
- * (optional)
- */
- waitBeforePersist: () => requestIdlePromise();
-});
-```
-
-## Replication and Migration with the memory-synced storage
-
-The memory-synced storage itself does not support replication and migration. Instead you have to replicate the underlying parent storage.
-For example when you use it on top of an [IndexedDB storage](./rx-storage-indexeddb.md), you have to run replication on that storage instead by creating a different [RxDatabase](./rx-database.md).
-
-```js
-const parentStorage = getRxStorageIndexedDB();
-
-const memorySyncedStorage = getMemorySyncedRxStorage({
- storage: parentStorage,
- keepIndexesOnParent: true
-});
-
-const databaseName = 'mydata';
-
-/**
- * Create a parent database with the same name+collections
- * and use it for replication and migration.
- * The parent database must be created BEFORE the memory-synced database
- * to ensure migration has already been run.
- */
-const parentDatabase = await createRxDatabase({
- name: databaseName,
- storage: parentStorage
-});
-await parentDatabase.addCollections(/* ... */);
-
-replicateRxCollection({
- collection: parentDatabase.myCollection,
- /* ... */
-});
-
-/**
- * Create an equal memory-synced database with the same name+collections
- * and use it for writes and queries.
- */
-const memoryDatabase = await createRxDatabase({
- name: databaseName,
- storage: memorySyncedStorage
-});
-await memoryDatabase.addCollections(/* ... */);
-```
-
----
-
-## Lightning-Fast Memory Storage for RxDB
-
-# Memory RxStorage
-
-
-
-The Memory `RxStorage` is based on plain in memory arrays and objects. It can be used in all environments and is made for performance.
-Use this storage when you need a really fast database like in your unit tests or when you use RxDB with server side rendering.
-
-### Pros
-
-- Really fast. Uses binary search on all operations.
-- Small build size
-
-### Cons
-
-- No persistence
-
-```ts
-import {
- createRxDatabase
-} from 'rxdb';
-import {
- getRxStorageMemory
-} from 'rxdb/plugins/storage-memory';
-
-const db = await createRxDatabase({
- name: 'exampledb',
- storage: getRxStorageMemory()
-});
-```
-
----
-
-## Unlock MongoDB Power with RxDB
-
-import {Steps} from '@site/src/components/steps';
-
-# MongoDB RxStorage
-
-RxDB MongoDB RxStorage is an RxDB [RxStorage](./rx-storage.md) that allows you to use [MongoDB](https://www.mongodb.com/) as the underlying storage engine for your RxDB database. With this you can take advantage of MongoDB's features and scalability while benefiting from RxDB's real-time data synchronization capabilities.
-
-
-
-The storage is made to work with any plain MongoDB Server, [MongoDB Replica Set](https://www.mongodb.com/docs/manual/tutorial/deploy-replica-set/), [Sharded MongoDB Cluster](https://www.mongodb.com/docs/manual/sharding/) or [Atlas Cloud Database](https://www.mongodb.com/atlas/database).
-
-## Limitations of the MongoDB RxStorage
-- Multiple Node.js servers using the same MongoDB database is currently not supported
-- [RxAttachments](./rx-attachment.md) are currently not supported
-- Doing non-RxDB writes on the MongoDB database is not supported. RxDB expects all writes to come from RxDB which update the required metadata. Doing non-RxDB writes can confuse the RxDatabase and lead to undefined behavior. But you can perform read-queries on the MongoDB storage from the outside at any time.
-
-## Using the MongoDB RxStorage
-
-
-
-### Install the mongodb package
-
-```bash
-npm install mongodb --save
-```
-
-### Setups the MongoDB RxStorage
-
-To use the storage, you simply import the `getRxStorageMongoDB` method and use that when creating the [RxDatabase](./rx-database.md). The `connection` parameter contains the [MongoDB connection string](https://www.mongodb.com/docs/manual/reference/connection-string/).
-
-```ts
-import {
- createRxDatabase
-} from 'rxdb';
-import {
- getRxStorageMongoDB
-} from 'rxdb/plugins/storage-mongodb';
-
-const myRxDatabase = await createRxDatabase({
- name: 'exampledb',
- storage: getRxStorageMongoDB({
- /**
- * MongoDB connection string
- * @link https://www.mongodb.com/docs/manual/reference/connection-string/
- */
- connection: 'mongodb://localhost:27017,localhost:27018,localhost:27019'
- })
-});
-```
-
-
-
----
-
-## Supercharged OPFS Database with RxDB
-
-# Origin Private File System (OPFS) Database with the RxDB OPFS-RxStorage
-
-With the [RxDB](https://rxdb.info/) OPFS storage you can build a fully featured database on top of the [Origin Private File System](https://web.dev/opfs) (OPFS) browser API. Compared to other storage solutions, it has a way better performance.
-
-## What is OPFS
-
-The **Origin Private File System (OPFS)** is a native browser storage API that allows web applications to manage files in a private, sandboxed, **origin-specific virtual filesystem**. Unlike [IndexedDB](./rx-storage-indexeddb.md) and [LocalStorage](./articles/localstorage.md), which are optimized as object/key-value storage, OPFS provides more granular control for file operations, enabling byte-by-byte access, file streaming, and even low-level manipulations.
-OPFS is ideal for applications requiring **high-performance** file operations (**3x-4x faster compared to IndexedDB**) inside of a client-side application, offering advantages like improved speed, more efficient use of resources, and enhanced security and privacy features.
-
-### OPFS limitations
-
-From the beginning of 2023, the Origin Private File System API is supported by [all modern browsers](https://caniuse.com/native-filesystem-api) like Safari, Chrome, Edge and Firefox. Only Internet Explorer is not supported and likely will never get support.
-
-It is important to know that the most performant synchronous methods like [`read()`](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemSyncAccessHandle/read) and [`write()`](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemSyncAccessHandle/write) of the OPFS API are **only available inside of a [WebWorker](./rx-storage-worker.md)**.
-They cannot be used in the main thread, an iFrame or even a [SharedWorker](./rx-storage-shared-worker.md).
-The OPFS [`createSyncAccessHandle()`](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemFileHandle/createSyncAccessHandle) method that gives you access to the synchronous methods is not exposed in the main thread, only in a Worker.
-
-While there is no concrete **data size limit** defined by the API, browsers will refuse to store more [data at some point](./articles/indexeddb-max-storage-limit.md).
-If no more data can be written, a `QuotaExceededError` is thrown which should be handled by the application, like showing an error message to the user.
-
-## How the OPFS API works
-
-The OPFS API is pretty straightforward to use. First you get the root filesystem. Then you can create files and directories on that. Notice that whenever you _synchronously_ write to, or read from a file, an `ArrayBuffer` must be used that contains the data. It is not possible to synchronously write plain strings or objects into the file. Therefore the `TextEncoder` and `TextDecoder` API must be used.
-
-Also notice that some of the methods of `FileSystemSyncAccessHandle` [have been asynchronous](https://developer.chrome.com/blog/sync-methods-for-accesshandles) in the past, but are synchronous since Chromium 108. To make it less confusing, we just use `await` in front of them, so it will work in both cases.
-
-```ts
-// Access the root directory of the origin's private file system.
-const root = await navigator.storage.getDirectory();
-
-// Create a subdirectory.
-const diaryDirectory = await root.getDirectoryHandle('subfolder', {
- create: true,
-});
-
-// Create a new file named 'example.txt'.
-const fileHandle = await diaryDirectory.getFileHandle('example.txt', {
- create: true,
-});
-
-// Create a FileSystemSyncAccessHandle on the file.
-const accessHandle = await fileHandle.createSyncAccessHandle();
-
-// Write a sentence to the file.
-let writeBuffer = new TextEncoder().encode('Hello from RxDB');
-const writeSize = accessHandle.write(writeBuffer);
-
-// Read file and transform data to string.
-const readBuffer = new Uint8Array(writeSize);
-const readSize = accessHandle.read(readBuffer, { at: 0 });
-const contentAsString = new TextDecoder().decode(readBuffer);
-
-// Write an exclamation mark to the end of the file.
-writeBuffer = new TextEncoder().encode('!');
-accessHandle.write(writeBuffer, { at: readSize });
-
-// Truncate file to 10 bytes.
-await accessHandle.truncate(10);
-
-// Get the new size of the file.
-const fileSize = await accessHandle.getSize();
-
-// Persist changes to disk.
-await accessHandle.flush();
-
-// Always close FileSystemSyncAccessHandle if done, so others can open the file again.
-await accessHandle.close();
-```
-
-A more detailed description of the OPFS API can be found [on MDN](https://developer.mozilla.org/en-US/docs/Web/API/File_System_API/Origin_private_file_system).
-
-## OPFS performance
-
-Because the Origin Private File System API provides low-level access to binary files, it is much faster compared to [IndexedDB](./slow-indexeddb.md) or [localStorage](./articles/localstorage.md). According to the [storage performance test](https://pubkey.github.io/client-side-databases/database-comparison/index.html), OPFS is up to 2x times faster on plain inserts when a new file is created on each write. Reads are even faster.
-
-A good comparison about real world scenarios, are the [performance results](./rx-storage-performance.md) of the various RxDB storages. Here it shows that reads are up to 4x faster compared to IndexedDB, even with complex queries:
-
-
-
-## Using OPFS as RxStorage in RxDB
-
-The OPFS [RxStorage](./rx-storage.md) itself must run inside a WebWorker. Therefore we use the [Worker RxStorage](./rx-storage-worker.md) and let it point to the prebuild `opfs.worker.js` file that comes shipped with RxDB Premium 👑.
-
-Notice that the OPFS RxStorage is part of the [RxDB Premium 👑](/premium/) plugin that must be purchased.
-
-```ts
-import {
- createRxDatabase
-} from 'rxdb';
-import { getRxStorageWorker } from 'rxdb-premium/plugins/storage-worker';
-
-const database = await createRxDatabase({
- name: 'mydatabase',
- storage: getRxStorageWorker(
- {
- /**
- * This file must be statically served from a webserver.
- * You might want to first copy it somewhere outside of
- * your node_modules folder.
- */
- workerInput: 'node_modules/rxdb-premium/dist/workers/opfs.worker.js'
- }
- )
-});
-```
-
-## Using OPFS in the main thread instead of a worker
-
-The `createSyncAccessHandle` method from the Filesystem API is only available inside of a Webworker. Therefore you cannot use `getRxStorageOPFS()` in the main thread. But there is a slightly slower way to access the virtual filesystem from the main thread. RxDB support the `getRxStorageOPFSMainThread()` for that. Notice that this uses the [createWritable](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemFileHandle/createWritable) function which is not supported in safari.
-
-Using OPFS from the main thread can have benefits because not having to cross the worker bridge can reduce latence in reads and writes.
-
-```ts
-import { createRxDatabase } from 'rxdb';
-import { getRxStorageOPFSMainThread } from 'rxdb-premium/plugins/storage-opfs';
-
-const database = await createRxDatabase({
- name: 'mydatabase',
- storage: getRxStorageOPFSMainThread()
-});
-```
-
-## Building a custom `worker.js`
-
-When you want to run additional plugins like storage wrappers or replication **inside** of the worker, you have to build your own `worker.js` file. You can do that similar to other workers by calling `exposeWorkerRxStorage` like described in the [worker storage plugin](./rx-storage-worker.md).
-
-```ts
-// inside of the worker.js file
-import { getRxStorageOPFS } from 'rxdb-premium/plugins/storage-opfs';
-import { exposeWorkerRxStorage } from 'rxdb-premium/plugins/storage-worker';
-
-const storage = getRxStorageOPFS();
-exposeWorkerRxStorage({
- storage
-});
-```
-
-## Setting `usesRxDatabaseInWorker` when a RxDatabase is also used inside of the worker
-
-When you use the OPFS inside of a worker, it will internally use strings to represent operation results. This has the benefit that transferring strings from the worker to the main thread, is way faster compared to complex json objects. The `getRxStorageWorker()` will automatically decode these strings on the main thread so that the data can be used by the RxDatabase.
-
-But using a RxDatabase **inside** of your worker can make sense for example when you want to move the [replication](./replication.md) with a server. To enable this, you have to set `usesRxDatabaseInWorker` to `true`:
-
-```ts
-// inside of the worker.js file
-import { getRxStorageOPFS } from 'rxdb-premium/plugins/storage-opfs';
-const storage = getRxStorageOPFS({
- usesRxDatabaseInWorker: true
-});
-```
-
-If you forget to set this and still create and use a [RxDatabase](./rx-database.md) inside of the worker, you might get the error message` or `Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'length')`.
-
-## OPFS in Electron, React-Native or Capacitor.js
-
-Origin Private File System is a browser API that is only accessible in browsers. Other JavaScript like React-Native or Node.js, do not support it.
-
-**Electron** has two JavaScript contexts: the browser (chromium) context and the Node.js context. While you could use the OPFS API in the browser context, it is not recommended. Instead you should use the Filesystem API of Node.js and then only transfer the relevant data with the [ipcRenderer](https://www.electronjs.org/de/docs/latest/api/ipc-renderer). With RxDB that is pretty easy to configure:
-- In the `main.js`, expose the [Node Filesystem](./rx-storage-filesystem-node.md) storage with the `exposeIpcMainRxStorage()` that comes with the [electron plugin](./electron.md)
-- In the browser context, access the main storage with the `getRxStorageIpcRenderer()` method.
-
-**React Native** (and Expo) does not have an OPFS API. You could use the ReactNative Filesystem to directly write data. But to get a fully featured database like RxDB it is easier to use the [SQLite RxStorage](./rx-storage-sqlite.md) which starts an SQLite database inside of the ReactNative app and uses that to do the database operations.
-
-**Capacitor.js** is able to access the OPFS API.
-
-## Difference between `File System Access API` and `Origin Private File System (OPFS)`
-
-Often developers are confused with the differences between the `File System Access API` and the `Origin Private File System (OPFS)`.
-
-- The `File System Access API` provides access to the files on the device file system, like the ones shown in the file explorer of the operating system. To use the File System API, the user has to actively select the files from a filepicker.
-- `Origin Private File System (OPFS)` is a sub-part of the `File System Standard` and it only describes the things you can do with the filesystem root from `navigator.storage.getDirectory()`. OPFS writes to a **sandboxed** filesystem, not visible to the user. Therefore the user does not have to actively select or allow the data access.
-
-## Learn more about OPFS:
-
-- [WebKit: The File System API with Origin Private File System](https://webkit.org/blog/12257/the-file-system-access-api-with-origin-private-file-system/)
-- [Browser Support](https://caniuse.com/native-filesystem-api)
-- [Performance Test Tool](https://pubkey.github.io/client-side-databases/database-comparison/index.html)
-
----
-
-## 📈 Discover RxDB Storage Benchmarks
-
-## RxStorage Performance comparison
-
-A big difference in the RxStorage implementations is the **performance**. In difference to a server side database, RxDB is bound to the limits of the JavaScript runtime and depending on the runtime, there are different possibilities to store and fetch data. For example in the browser it is only possible to store data in a [slow IndexedDB](./slow-indexeddb.md) or OPFS instead of a filesystem while on React-Native you can use the [SQLite storage](./rx-storage-sqlite.md).
-
-Therefore the performance can be completely different depending on where you use RxDB and what you do with it. Here you can see some performance measurements and descriptions on how the different [storages](./rx-storage.md) work and how their performance is different.
-
-## Persistent vs Semi-Persistent storages
-
-The "normal" storages are always persistent. This means each RxDB write is directly written to disc and all queries run on the disc state. This means a good startup performance because nothing has to be done on startup.
-
-In contrast, semi-persistent storages like [memory mapped](./rx-storage-memory-mapped.md) store all data in memory on startup and only save to disc occasionally (or on exit). Therefore it has a very fast read/write performance, but loading all data into memory on the first page load can take longer for big amounts of documents. Also these storages can only be used when all data fits into the memory at least once. In general it is recommended to stay on the persistent storages and only use semi-persistent ones, when you know for sure that the dataset will stay small (less than 2k documents).
-
-## Performance comparison
-
-In the following you can find some performance measurements and comparisons. Notice that these are only a small set of possible RxDB operations. If performance is really relevant for your use case, you should do your own measurements with usage-patterns that are equal to how you use RxDB in production.
-
-### Measurements
-
-Here the following metrics are measured:
-
-- time-to-first-insert: Many storages run lazy, so it makes no sense to compare the time which is required to create a database with collections. Instead we measure the **time-to-first-insert** which is the whole timespan from database creation until the first single document write is done.
-- insert documents (bulk): Insert 500 documents with a single bulk-insert operation.
-- find documents by id (bulk): Here we fetch 100% of the stored documents with a single `findByIds()` call.
-- insert documents (serial): Insert 50 documents, one after each other.
-- find documents by id (serial): Here we find 50 documents in serial with one `findByIds()` call per document.
-- find documents by query: Here we fetch 100% of the stored documents with a single `find()` call.
-- find documents by query: Here we fetch all of the stored documents with a 4 `find()` calls that run in parallel. Each fetching 25% of the documents.
-- count documents: Counts 100% of the stored documents with a single `count()` call. Here we measure 4 runs at once to have a higher number that is easier to compare.
-
-## Browser based Storages Performance Comparison
-
-The performance patterns of the browser based storages are very diverse. The [IndexedDB storage](./rx-storage-indexeddb.md) is recommended for mostly all use cases so you should start with that one. Later you can do performance testings and switch to another storage like [OPFS](./rx-storage-opfs.md) or [memory-mapped](./rx-storage-memory-mapped.md).
-
-
-
-## Node/Native based Storages Performance Comparison
-
-For most client-side native applications ([react-native](./react-native-database.md), [electron](./electron-database.md), [capacitor](./capacitor-database.md)), using the [SQLite RxStorage](./rx-storage-sqlite.md) is recommended. For non-client side applications like a server, use the [MongoDB storage](./rx-storage-mongodb.md) instead.
-
----
-
-## PouchDB RxStorage - Migrate for Better Performance
-
-# RxStorage PouchDB
-
-The PouchDB RxStorage is based on the [PouchDB](https://github.com/pouchdb/pouchdb) database. It is the most battle proven RxStorage and has a big ecosystem of adapters. PouchDB does a lot of overhead to enable CouchDB replication which makes the PouchDB RxStorage one of the slowest.
-
-:::warning
-The PouchDB RxStorage is removed from RxDB and can no longer be used in new projects. You should switch to a different [RxStorage](./rx-storage.md).
-:::
-
-## Why is the PouchDB RxStorage deprecated?
-When I started developing RxDB in 2016, I had a specific use case to solve.
-Because there was no client-side database out there that fitted, I created
-RxDB as a wrapper around PouchDB. This worked great and all the PouchDB features
-like the query engine, the adapter system, CouchDB-replication and so on, came for free.
-But over the years, it became clear that PouchDB is not suitable for many applications,
-mostly because of its performance: To be compliant to CouchDB, PouchDB has to store all
-revision trees of documents which slows down queries. Also purging these document revisions [is not possible](https://github.com/pouchdb/pouchdb/issues/802)
-so the database storage size will only increase over time.
-Another problem was that many issues in PouchDB have never been fixed, but only closed by the issue-bot like [this one](https://github.com/pouchdb/pouchdb/issues/6454). The whole PouchDB RxStorage code was full of [workarounds and monkey patches](https://github.com/pubkey/rxdb/blob/285c3cf6008b3cc83bd9b9946118a621434f0cff/src/plugins/pouchdb/pouch-statics.ts#L181) to resolve
-these issues for RxDB users. Many these patches decreased performance even further. Sometimes it was not possible to fix things from the outside, for example queries with `$gt` operators return [the wrong documents](https://github.com/pouchdb/pouchdb/pull/8471) which is a no-go for a production database
-and hard to debug.
-
-In version [10.0.0](./releases/10.0.0.md) RxDB introduced the [RxStorage](./rx-storage.md) layer which
-allows users to swap out the underlying storage engine where RxDB stores and queries documents from.
-This allowed to use alternatives from PouchDB, for example the [IndexedDB RxStorage](./rx-storage-indexeddb.md) in browsers
-or even the [FoundationDB RxStorage](./rx-storage-foundationdb.md) on the server side.
-There where not many use cases left where it was a good choice to use the PouchDB RxStorage. Only replicating with a
-CouchDB server, was only possible with PouchDB. But this has also changed. RxDB has [a plugin](./replication-couchdb.md) that allows
-to replicate clients with any CouchDB server by using the [RxDB Sync Engine](./replication.md). This plugins work with any RxStorage so that it is not necessary to use the PouchDB storage.
-Removing PouchDB allows RxDB to add many awaited features like filtered change streams for easier replication and permission handling. It will also free up development time.
-
-If you are currently using the PouchDB RxStorage, you have these options:
-
-- Migrate to another [RxStorage](./rx-storage.md) (recommended)
-- Never update RxDB to the next major version (stay on older 14.0.0)
-- Fork the [PouchDB RxStorage](./rx-storage-pouchdb.md) and maintain the plugin by yourself.
-- Fix all the [PouchDB problems](https://github.com/pouchdb/pouchdb/issues?q=author%3Apubkey) so that we can add PouchDB to the RxDB Core again.
-
-## Pros
- - Most battle proven RxStorage
- - Supports replication with a CouchDB endpoint
- - Support storing [attachments](./rx-attachment.md)
- - Big ecosystem of adapters
-
-## Cons
- - Big bundle size
- - Slow performance because of revision handling overhead
-
-## Usage
-
-```ts
-import { createRxDatabase } from 'rxdb';
-import { getRxStoragePouch, addPouchPlugin } from 'rxdb/plugins/pouchdb';
-
-addPouchPlugin(require('pouchdb-adapter-idb'));
-
-const db = await createRxDatabase({
- name: 'exampledb',
- storage: getRxStoragePouch(
- 'idb',
- {
- /**
- * other pouchdb specific options
- * @link https://pouchdb.com/api.html#create_database
- */
- }
- )
-});
-```
-
-## Polyfill the `global` variable
-
-When you use RxDB with **angular** or other **webpack** based frameworks, you might get the error:
-```html
-Uncaught ReferenceError: global is not defined
-```
-This is because pouchdb assumes a nodejs-specific `global` variable that is not added to browser runtimes by some bundlers.
-You have to add them by your own, like we do [here](https://github.com/pubkey/rxdb/blob/master/examples/angular/src/polyfills.ts).
-
-```ts
-(window as any).global = window;
-(window as any).process = {
- env: { DEBUG: undefined },
-};
-```
-
-## Adapters
-
-[PouchDB has many adapters for all JavaScript runtimes](./adapters.md).
-
-## Using the internal PouchDB Database
-
-For custom operations, you can access the internal PouchDB database.
-This is dangerous because you might do changes that are not compatible with RxDB.
-Only use this when there is no way to achieve your goals via the RxDB API.
-
-```javascript
-import {
- getPouchDBOfRxCollection
-} from 'rxdb/plugins/pouchdb';
-
-const pouch = getPouchDBOfRxCollection(myRxCollection);
-```
-
----
-
-## Remote RxStorage
-
-
-The Remote [RxStorage](./rx-storage.md) is made to use a remote storage and communicate with it over an asynchronous message channel.
-The remote part could be on another JavaScript process or even on a different host machine.
-The remote storage plugin is used in many RxDB plugins like the [worker](./rx-storage-worker.md) or the [electron](./electron.md) plugin.
-
-## Usage
-
-The remote storage communicates over a message channel which has to implement the `messageChannelCreator` function which returns an object that has a `messages$` observable and a `send()` function on both sides and a `close()` function that closes the RemoteMessageChannel.
-
-```ts
-// on the client
-import { getRxStorageRemote } from 'rxdb/plugins/storage-remote';
-const storage = getRxStorageRemote({
- identifier: 'my-id',
- mode: 'storage',
- messageChannelCreator: () => Promise.resolve({
- messages$: new Subject(),
- send(msg) {
- // send to remote storage
- }
- })
-});
-const myDb = await createRxDatabase({
- storage
-});
-
-// on the remote
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-import { exposeRxStorageRemote } from 'rxdb/plugins/storage-remote';
-exposeRxStorageRemote({
- storage: getRxStorageLocalstorage(),
- messages$: new Subject(),
- send(msg){
- // send to other side
- }
-});
-```
-
-## Usage with a Websocket server
-
-The remote storage plugin contains helper functions to create a remote storage over a WebSocket server.
-This is often used in Node.js to give one microservice access to another services database **without** having to replicate the full database state.
-
-```ts
-// server.js
-import { getRxStorageMemory } from 'rxdb/plugins/storage-memory';
-import { startRxStorageRemoteWebsocketServer } from 'rxdb/plugins/storage-remote-websocket';
-
-// either you can create the server based on a RxDatabase
-const serverBasedOnDatabase = await startRxStorageRemoteWebsocketServer({
- port: 8080,
- database: myRxDatabase
-});
-
-// or you can create the server based on a pure RxStorage
-const serverBasedOn = await startRxStorageRemoteWebsocketServer({
- port: 8080,
- storage: getRxStorageMemory()
-});
-```
-
-```ts
-// client.js
-
-import { getRxStorageRemoteWebsocket } from 'rxdb/plugins/storage-remote-websocket';
-const myDb = await createRxDatabase({
- storage: getRxStorageRemoteWebsocket({
- url: 'ws://example.com:8080'
- })
-});
-```
-
-## Sending custom messages
-
-The remote storage can also be used to send custom messages to and from the remote instance.
-
-One the remote you have to define a `customRequestHandler` like:
-
-```ts
-const serverBasedOnDatabase = await startRxStorageRemoteWebsocketServer({
- port: 8080,
- database: myRxDatabase,
- async customRequestHandler(msg){
- // here you can return any JSON object as an 'answer'
- return {
- foo: 'bar'
- };
- }
-});
-```
-
-On the client instance you can then call the `customRequest()` method:
-
-```ts
-const storage = getRxStorageRemoteWebsocket({
- url: 'ws://example.com:8080'
-});
-const answer = await storage.customRequest({ bar: 'foo' });
-console.dir(answer); // > { foo: 'bar' }
-```
-
----
-
-## Sharding RxStorage 👑
-
-# Sharding RxStorage
-
-With the sharding plugin, you can improve the write and query times of **some** `RxStorage` implementations.
-For example on [slow IndexedDB](./slow-indexeddb.md), a performance gain of **30-50% on reads**, and **25% on writes** can be achieved by using multiple IndexedDB Stores instead of putting all documents into the same store.
-
-The sharding plugin works as a wrapper around any other `RxStorage`. The sharding plugin will automatically create multiple shards per storage instance and it will merge and split read and write calls to it.
-
-:::note Premium
-The sharding plugin is part of [RxDB Premium 👑](/premium/). It is not part of the default RxDB module.
-:::
-
-## Using the sharding plugin
-
-```ts
-import {
- getRxStorageSharding
-} from 'rxdb-premium/plugins/storage-sharding';
-
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-
-/**
- * First wrap the original RxStorage with the sharding RxStorage.
- */
-const shardedRxStorage = getRxStorageSharding({
-
- /**
- * Here we use the localStorage RxStorage,
- * it is also possible to use any other RxStorage instead.
- */
- storage: getRxStorageLocalstorage()
-});
-
-/**
- * Add the sharding options to your schema.
- * Changing these options will require a data migration.
- */
-const mySchema = {
- /* ... */
- sharding: {
- /**
- * Amount of shards per RxStorage instance.
- * Depending on your data size and query patterns, the optimal shard amount may differ.
- * Do a performance test to optimize that value.
- * 10 Shards is a good value to start with.
- *
- * IMPORTANT: Changing the value of shards is not possible on a already existing database state,
- * you will loose access to your data.
- */
- shards: 10,
- /**
- * Sharding mode,
- * you can either shard by collection or by database.
- * For most cases you should use 'collection' which will shard on the collection level.
- * For example with the IndexedDB RxStorage, it will then create multiple stores per IndexedDB database
- * and not multiple IndexedDB databases, which would be slower.
- */
- mode: 'collection'
- }
- /* ... */
-}
-
-/**
- * Create the RxDatabase with the wrapped RxStorage.
- */
-const database = await createRxDatabase({
- name: 'mydatabase',
- storage: shardedRxStorage
-});
-
-```
-
----
-
-## Boost Performance with SharedWorker RxStorage
-
-# SharedWorker RxStorage
-
-The SharedWorker [RxStorage](./rx-storage.md) uses the [SharedWorker API](https://developer.mozilla.org/en-US/docs/Web/API/SharedWorker) to run the storage inside of a separate JavaScript process **in browsers**. Compared to a normal [WebWorker](./rx-storage-worker.md), the SharedWorker is created exactly once, even when there are multiple browser tabs opened. Because of having exactly one worker, multiple performance optimizations can be done because the storage itself does not have to handle multiple opened database connections.
-
-:::note Premium
-This plugin is part of [RxDB Premium 👑](/premium/). It is not part of the default RxDB module.
-:::
-
-## Usage
-
-### On the SharedWorker process
-
-In the worker process JavaScript file, you have wrap the original RxStorage with `getRxStorageIndexedDB()`.
-
-```ts
-// shared-worker.ts
-
-import { exposeWorkerRxStorage } from 'rxdb-premium/plugins/storage-worker';
-import {
- getRxStorageIndexedDB
-} from 'rxdb-premium/plugins/indexeddb';
-
-exposeWorkerRxStorage({
- /**
- * You can wrap any implementation of the RxStorage interface
- * into a worker.
- * Here we use the IndexedDB RxStorage.
- */
- storage: getRxStorageIndexedDB()
-});
-```
-
-### On the main process
-
-```ts
-import {
- createRxDatabase
-} from 'rxdb';
-import { getRxStorageSharedWorker } from 'rxdb-premium/plugins/storage-worker';
-import { getRxStorageIndexedDB } from 'rxdb/plugins/storage-indexeddb';
-
-const database = await createRxDatabase({
- name: 'mydatabase',
- storage: getRxStorageSharedWorker(
- {
- /**
- * Contains any value that can be used as parameter
- * to the SharedWorker constructor of thread.js
- * Most likely you want to put the path to the shared-worker.js file in here.
- *
- * @link https://developer.mozilla.org/en-US/docs/Web/API/SharedWorker?retiredLocale=de
- */
- workerInput: 'path/to/shared-worker.js',
- /**
- * (Optional) options
- * for the worker.
- */
- workerOptions: {
- type: 'module',
- credentials: 'omit'
- }
- }
- )
-});
-```
-
-## Pre-build workers
-
-The `shared-worker.js` must be a self containing JavaScript file that contains all dependencies in a bundle.
-To make it easier for you, RxDB ships with pre-bundles worker files that are ready to use.
-You can find them in the folder `node_modules/rxdb-premium/dist/workers` after you have installed the [RxDB Premium 👑 Plugin](/premium/). From there you can copy them to a location where it can be served from the webserver and then use their path to create the `RxDatabase`
-
-Any valid `worker.js` JavaScript file can be used both, for normal Workers and SharedWorkers.
-
-```ts
-import {
- createRxDatabase
-} from 'rxdb';
-import { getRxStorageSharedWorker } from 'rxdb-premium/plugins/storage-worker';
-const database = await createRxDatabase({
- name: 'mydatabase',
- storage: getRxStorageSharedWorker(
- {
- /**
- * Path to where the copied file from node_modules/rxdb-premium/dist/workers
- * is reachable from the webserver.
- */
- workerInput: '/indexeddb.shared-worker.js'
- }
- )
-});
-```
-
-## Building a custom worker
-
-To build a custom `worker.js` file, check out the webpack config at the [worker](./rx-storage-worker.md#building-a-custom-worker) documentation. Any worker file form the worker storage can also be used in a shared worker because `exposeWorkerRxStorage` detects where it runs and exposes the correct messaging endpoints.
-
-## Passing in a SharedWorker instance
-
-Instead of setting an url as `workerInput`, you can also specify a function that returns a new `SharedWorker` instance when called. This is mostly used when you have a custom worker file and dynamically import it.
-This works equal to the [workerInput of the Worker Storage](./rx-storage-worker.md#passing-in-a-worker-instance)
-
-## Set multiInstance: false
-
-When you know that you only ever create your RxDatabase inside of the shared worker, you might want to set `multiInstance: false` to prevent sending change events across JavaScript realms and to improve performance. Do not set this when you also create the same storage on another realm, like when you have the same RxDatabase once inside the shared worker and once on the main thread.
-
-## Replication with SharedWorker
-
-When a SharedWorker RxStorage is used, it is recommended to run the replication **inside** of the worker. This is the best option for performance. You can do that by opening another [RxDatabase](./rx-database.md) inside of it and starting the replication there. If you are not concerned about performance, you can still start replication on the main thread instead. But you should never run replication on both the main thread **and** the worker.
-
-```ts
-// shared-worker.ts
-
-import { exposeWorkerRxStorage } from 'rxdb-premium/plugins/storage-worker';
-import {
- getRxStorageIndexedDB
-} from 'rxdb-premium/plugins/storage-indexeddb';
-import {
- createRxDatabase,
- addRxPlugin
-} from 'rxdb';
-import {
- RxDBReplicationGraphQLPlugin
-} from 'rxdb/plugins/replication-graphql';
-addRxPlugin(RxDBReplicationGraphQLPlugin);
-
-const baseStorage = getRxStorageIndexedDB();
-
-// first expose the RxStorage to the outside
-exposeWorkerRxStorage({
- storage: baseStorage
-});
-
-/**
- * Then create a normal RxDatabase and RxCollections
- * and start the replication.
- */
-const database = await createRxDatabase({
- name: 'mydatabase',
- storage: baseStorage
-});
-await db.addCollections({
- humans: {/* ... */}
-});
-const replicationState = db.humans.syncGraphQL({/* ... */});
-```
-
-### Limitations
-
-- The SharedWorker API is [not available in some mobile browser](https://caniuse.com/sharedworkers)
-
-### FAQ
-
-
- Can I use this plugin with a Service Worker?
-
- No. A Service Worker is not the same as a Shared Worker. While you can use RxDB inside of a ServiceWorker, you cannot use the ServiceWorker as a RxStorage that gets accessed by an outside RxDatabase instance.
-
-
-
----
-
-## RxDB SQLite RxStorage for Hybrid Apps
-
-import {Steps} from '@site/src/components/steps';
-import {Tabs} from '@site/src/components/tabs';
-
-# SQLite RxStorage
-
-This [RxStorage](./rx-storage.md) is based on [SQLite](https://www.sqlite.org/index.html) and is made to work with **Node.js**, [Electron](./electron-database.md), [React Native](./react-native-database.md) and [Capacitor](./capacitor-database.md) or SQLite via webassembly in the browser. It can be used with different so called `sqliteBasics` adapters to account for the differences in the various SQLite bundles and libraries that exist.
-
-SQLite is a natural fit for RxDB because most platforms - Android, iOS, Node.js, and beyond - already ship with a built-in SQLite engine, delivering robust performance and minimal setup overhead. Its proven reliability, having powered countless applications over the years, ensures a battle-tested foundation for local data. By placing RxDB on top of SQLite, you gain advanced features suited for building interactive, offline-capable UI apps: [real-time queries](./rx-query.md#observe), reactive state updates, [conflict handling](./transactions-conflicts-revisions.md), [data encryption](./encryption.md), and straightforward [schema management](./rx-schema.md). This combination offers a unified NoSQL-like experience without sacrificing the speed and broad availability that SQLite brings.
-
-## Performance comparison with other storages
-
-The SQLite storage is a bit slower compared to other Node.js based storages like the [Filesystem Storage](./rx-storage-filesystem-node.md) because wrapping SQLite has a bit of overhead and sending data from the JavaScript process to SQLite and backwards increases the latency. However for most hybrid apps the SQLite storage is the best option because it can leverage the SQLite version that comes already installed on the smartphones OS (iOS and android). Also for desktop electron apps it can be a viable solution because it is easy to ship SQLite together inside of the electron bundle.
-
-
-
-## Using the SQLite RxStorage
-
-There are two versions of the SQLite storage available for RxDB:
-
-- The **trial version** which comes directly shipped with RxDB Core. It contains an SQLite storage that allows you to try out RxDB on devices that support SQLite, like React Native or Electron. While the trial version does pass the full RxDB storage test-suite, it is not made for production. It is not using indexes, has no attachment support, is limited to store 300 documents and fetches the whole storage state to run queries in memory. **Use it for evaluation and prototypes only!**
-
-- The **[RxDB Premium 👑](/premium/) version** which contains the full production-ready SQLite storage. It contains a full load of performance optimizations and full query support. To use the SQLite storage you have to import `getRxStorageSQLite` from the [RxDB Premium 👑](/premium/) package and then add the correct `sqliteBasics` adapter depending on which sqlite module you want to use. This can then be used as storage when creating the [RxDatabase](./rx-database.md). In the following you can see some examples for some of the most common SQLite packages.
-
-
-
-## Trial Version
-```ts
-// Import the Trial SQLite Storage
-import {
- getRxStorageSQLiteTrial,
- getSQLiteBasicsNodeNative
-} from 'rxdb/plugins/storage-sqlite';
-
-// Create a Storage for it, here we use the nodejs-native SQLite module
-// other SQLite modules can be used with a different sqliteBasics adapter
-import { DatabaseSync } from 'node:sqlite';
-const storage = getRxStorageSQLiteTrial({
- sqliteBasics: getSQLiteBasicsNodeNative(DatabaseSync)
-});
-
-// Create a Database with the Storage
-const myRxDatabase = await createRxDatabase({
- name: 'exampledb',
- storage: storage
-});
-```
-
-## RxDB Premium 👑
-
-```ts
-// Import the SQLite Storage from the premium plugins.
-import {
- getRxStorageSQLite,
- getSQLiteBasicsNodeNative
-} from 'rxdb-premium/plugins/storage-sqlite';
-
-// Create a Storage for it, here we use the nodejs-native SQLite module
-// other SQLite modules can be used with a different sqliteBasics adapter
-import { DatabaseSync } from 'node:sqlite';
-const storage = getRxStorageSQLite({
- sqliteBasics: getSQLiteBasicsNodeNative(DatabaseSync)
-});
-
-// Create a Database with the Storage
-const myRxDatabase = await createRxDatabase({
- name: 'exampledb',
- storage: storage
-});
-```
-
-
-
-In the following, all examples are shown with the premium SQLite storage. Still they work the same with the trial version.
-
-## SQLiteBasics
-
-Different SQLite libraries have different APIs to create and access the SQLite database. Therefore the library must be massaged to work with the RxDB SQlite storage. This is done in a so called `SQLiteBasics` interface. RxDB directly ships with a wide range of these for various SQLite libraries that are commonly used. Also creating your own one is pretty simple, check the source code of the existing ones for that.
-
-For example for the `sqlite3` npm library we have the `getSQLiteBasicsNode()` implementation. For `node:sqlite` we have the `getSQLiteBasicsNodeNative()` implementation and so on..
-
-## Using the SQLite RxStorage with different SQLite libraries
-
-### Usage with the **sqlite3 npm package**
-
-```ts
-import {
- createRxDatabase
-} from 'rxdb';
-import {
- getRxStorageSQLite,
- getSQLiteBasicsNode
-} from 'rxdb-premium/plugins/storage-sqlite';
-
-/**
- * In Node.js, we use the SQLite database
- * from the 'sqlite' npm module.
- * @link https://www.npmjs.com/package/sqlite3
- */
-import sqlite3 from 'sqlite3';
-
-const myRxDatabase = await createRxDatabase({
- name: 'exampledb',
- storage: getRxStorageSQLite({
- /**
- * Different runtimes have different interfaces to SQLite.
- * For example in node.js we have a callback API,
- * while in capacitor sqlite we have Promises.
- * So we need a helper object that is capable of doing the basic
- * sqlite operations.
- */
- sqliteBasics: getSQLiteBasicsNode(sqlite3)
- })
-});
-```
-
-### Usage with the **node:sqlite** package
-
-With Node.js version 22 and newer, you can use the "native" [sqlite module](https://nodejs.org/api/sqlite.html) that comes shipped with Node.js.
-
-```ts
-import { createRxDatabase } from 'rxdb';
-import {
- getRxStorageSQLite,
- getSQLiteBasicsNodeNative
-} from 'rxdb-premium/plugins/storage-sqlite';
-import { DatabaseSync } from 'node:sqlite';
-const myRxDatabase = await createRxDatabase({
- name: 'exampledb',
- storage: getRxStorageSQLite({
- sqliteBasics: getSQLiteBasicsNodeNative(DatabaseSync)
- })
-});
-```
-
-### Usage with Webassembly in the Browser
-
-In the browser you can use the [wa-sqlite](https://github.com/rhashimoto/wa-sqlite) package to run sQLite in Webassembly. The wa-sqlite module also allows to use persistence with IndexedDB or OPFS. Notice that in general SQLite via Webassembly is slower compared to other storages like [IndexedDB](./rx-storage-indexeddb.md) or [OPFS](./rx-storage-opfs.md) because sending data from the main thread to wasm and backwards is slow in the browser. Have a look the [performance comparison](./rx-storage-performance.md).
-
-```ts
-import {
- createRxDatabase
-} from 'rxdb';
-import {
- getRxStorageSQLite,
- getSQLiteBasicsWasm
-} from 'rxdb-premium/plugins/storage-sqlite';
-
-/**
- * In the Browser, we use the SQLite database
- * from the 'wa-sqlite' npm module. This contains the SQLite library
- * compiled to Webassembly
- * @link https://www.npmjs.com/package/wa-sqlite
- */
-import SQLiteESMFactory from 'wa-sqlite/dist/wa-sqlite-async.mjs';
-import SQLite from 'wa-sqlite';
-const sqliteModule = await SQLiteESMFactory();
-const sqlite3 = SQLite.Factory(module);
-
-const myRxDatabase = await createRxDatabase({
- name: 'exampledb',
- storage: getRxStorageSQLite({
- sqliteBasics: getSQLiteBasicsWasm(sqlite3)
- })
-});
-```
-
-### Usage with **React Native**
-
-1. Install the [react-native-quick-sqlite npm module](https://www.npmjs.com/package/react-native-quick-sqlite)
-2. Import `getSQLiteBasicsQuickSQLite` from the SQLite plugin and use it to create a [RxDatabase](./rx-database.md):
-
-```ts
-import {
- createRxDatabase
-} from 'rxdb';
-import {
- getRxStorageSQLite,
- getSQLiteBasicsQuickSQLite
-} from 'rxdb-premium/plugins/storage-sqlite';
-import { open } from 'react-native-quick-sqlite';
-
-// create database
-const myRxDatabase = await createRxDatabase({
- name: 'exampledb',
- multiInstance: false, // <- Set multiInstance to false when using RxDB in React Native
- storage: getRxStorageSQLite({
- sqliteBasics: getSQLiteBasicsQuickSQLite(open)
- })
-});
-```
-
-If `react-native-quick-sqlite` does not work for you, as alternative you can use the [react-native-sqlite-2](https://www.npmjs.com/package/react-native-sqlite-2) library instead:
-
-```ts
-import {
- getRxStorageSQLite,
- getSQLiteBasicsWebSQL
-} from 'rxdb-premium/plugins/storage-sqlite';
-import SQLite from 'react-native-sqlite-2';
-const storage = getRxStorageSQLite({
- sqliteBasics: getSQLiteBasicsWebSQL(SQLite.openDatabase)
-});
-```
-
-### Usage with **Expo SQLite**
-
-Notice that [expo-sqlite](https://www.npmjs.com/package/expo-sqlite) cannot be used on android (but it works on iOS) if you use Expo SDK version 50 or older. Please update to Version 50 or newer to use it.
-
-In the latest expo SDK version, use the `getSQLiteBasicsExpoSQLiteAsync()` method:
-
-```ts
-import {
- createRxDatabase
-} from 'rxdb';
-import {
- getRxStorageSQLite,
- getSQLiteBasicsExpoSQLiteAsync
-} from 'rxdb-premium/plugins/storage-sqlite';
-import * as SQLite from 'expo-sqlite';
-
-const myRxDatabase = await createRxDatabase({
- name: 'exampledb',
- multiInstance: false,
- storage: getRxStorageSQLite({
- sqliteBasics: getSQLiteBasicsExpoSQLiteAsync(SQLite.openDatabaseAsync)
- })
-});
-```
-
-In older Expo SDK versions, you might have to use the non-async API:
-
-```ts
-import {
- createRxDatabase
-} from 'rxdb';
-import {
- getRxStorageSQLite,
- getSQLiteBasicsExpoSQLite
-} from 'rxdb-premium/plugins/storage-sqlite';
-import { openDatabase } from 'expo-sqlite';
-
-const myRxDatabase = await createRxDatabase({
- name: 'exampledb',
- multiInstance: false,
- storage: getRxStorageSQLite({
- sqliteBasics: getSQLiteBasicsExpoSQLite(openDatabase)
- })
-});
-```
-
-### Usage with **SQLite Capacitor**
-
-1. Install the [sqlite capacitor npm module](https://github.com/capacitor-community/sqlite)
-2. Add the iOS database location to your capacitor config
-
-```json
-{
- "plugins": {
- "CapacitorSQLite": {
- "iosDatabaseLocation": "Library/CapacitorDatabase"
- }
- }
-}
-```
-
-3. Use the function `getSQLiteBasicsCapacitor` to get the capacitor sqlite wrapper.
-
-```ts
-import {
- createRxDatabase
-} from 'rxdb';
-import {
- getRxStorageSQLite,
- getSQLiteBasicsCapacitor
-} from 'rxdb-premium/plugins/storage-sqlite';
-
-/**
- * Import SQLite from the capacitor plugin.
- */
-import {
- CapacitorSQLite,
- SQLiteConnection
-} from '@capacitor-community/sqlite';
-import { Capacitor } from '@capacitor/core';
-
-const sqlite = new SQLiteConnection(CapacitorSQLite);
-
-const myRxDatabase = await createRxDatabase({
- name: 'exampledb',
- storage: getRxStorageSQLite({
- /**
- * Different runtimes have different interfaces to SQLite.
- * For example in node.js we have a callback API,
- * while in capacitor sqlite we have Promises.
- * So we need a helper object that is capable of doing the basic
- * sqlite operations.
- */
- sqliteBasics: getSQLiteBasicsCapacitor(sqlite, Capacitor)
- })
-});
-```
-
-### Usage with Tauri SQLite
-
-1. Add the [Tauri SQL plugin](https://tauri.app/plugin/sql/#setup) to your Tauri project.
-2. Make sure to add `sqlite` as your database engine by running `cargo add tauri-plugin-sql --features sqlite` inside `src-tauri`.
-3. Use the `getSQLiteBasicsTauri` function to get the Tauri SQLite wrapper.
-
-```ts
-import {
- createRxDatabase
-} from 'rxdb';
-import {
- getRxStorageSQLite,
- getSQLiteBasicsTauri
-} from 'rxdb/plugins/storage-sqlite';
-import sqlite3 from '@tauri-apps/plugin-sql';
-
-const myRxDatabase = await createRxDatabase({
- name: 'exampledb',
- storage: getRxStorageSQLite({
- sqliteBasics: getSQLiteBasicsTauri(sqlite3)
- })
-});
-```
-
-## Database Connection
-
-If you need to access the database connection for any reason you can use `getDatabaseConnection` to do so:
-
-```ts
-import { getDatabaseConnection } from 'rxdb-premium/plugins/storage-sqlite'
-```
-
-It has the following signature:
-
-```ts
-getDatabaseConnection(
- sqliteBasics: SQLiteBasics,
- databaseName: string
-): Promise;
-```
-
-## Known Problems of SQLite in JavaScript apps
-
-- Some JavaScript runtimes do not contain a `Buffer` API which is used by SQLite to store binary attachments data as `BLOB`. You can set `storeAttachmentsAsBase64String: true` if you want to store the attachments data as base64 string instead. This increases the database size but makes it work even without having a `Buffer`.
-
-- The SQlite RxStorage works on SQLite libraries that use SQLite in version `3.38.0 (2022-02-22)` or newer, because it uses the [SQLite JSON](https://www.sqlite.org/json1.html) methods like `JSON_EXTRACT`. If you get an error like `[Error: no such function: JSON_EXTRACT (code 1 SQLITE_ERROR[1])`, you might have a too old version of SQLite.
-
-- To debug all SQL operations, you can pass a log function to `getRxStorageSQLite()` like this. This does not work with the trial version:
-```ts
-const storage = getRxStorageSQLite({
- sqliteBasics: getSQLiteBasicsCapacitor(sqlite, Capacitor),
- // pass log function
- log: console.log.bind(console)
-});
-```
-
-- By default, all tables will be created with the `WITHOUT ROWID` flag. Some tools like drizzle do not support tables with that option. You can disable it by setting `withoutRowId: false` when calling `getRxStorageSQLite()`:
-
-```ts
-const storage = getRxStorageSQLite({
- sqliteBasics: getSQLiteBasicsCapacitor(sqlite, Capacitor),
- withoutRowId: false
-});
-```
-
-## Related
-- [React Native Databases](./react-native-database.md)
-
----
-
-## Turbocharge RxDB with Worker RxStorage
-
-# Worker RxStorage
-
-With the worker plugin, you can put the `RxStorage` of your database inside of a WebWorker (in browsers) or a Worker Thread (in node.js). By doing so, you can take CPU load from the main process and move it into the worker's process which can improve the perceived performance of your application. Notice that for browsers, it is recommend to use the [SharedWorker](./rx-storage-shared-worker.md) instead to get a better performance.
-
-:::note Premium
-This plugin is part of [RxDB Premium 👑](/premium/). It is not part of the default RxDB module.
-:::
-
-## On the worker process
-
-```ts
-// worker.ts
-
-import { exposeWorkerRxStorage } from 'rxdb-premium/plugins/storage-worker';
-import { getRxStorageIndexedDB } from 'rxdb-premium/plugins/storage-indexeddb';
-
-exposeWorkerRxStorage({
- /**
- * You can wrap any implementation of the RxStorage interface
- * into a worker.
- * Here we use the IndexedDB RxStorage.
- */
- storage: getRxStorageIndexedDB()
-});
-```
-
-## On the main process
-
-```ts
-import {
- createRxDatabase
-} from 'rxdb';
-import { getRxStorageWorker } from 'rxdb-premium/plugins/storage-worker';
-
-const database = await createRxDatabase({
- name: 'mydatabase',
- storage: getRxStorageWorker(
- {
- /**
- * Contains any value that can be used as parameter
- * to the Worker constructor of thread.js
- * Most likely you want to put the path to the worker.js file in here.
- *
- * @link https://developer.mozilla.org/en-US/docs/Web/API/Worker/Worker
- */
- workerInput: 'path/to/worker.js',
- /**
- * (Optional) options
- * for the worker.
- */
- workerOptions: {
- type: 'module',
- credentials: 'omit'
- }
- }
- )
-});
-```
-
-## Pre-build workers
-
-The `worker.js` must be a self containing JavaScript file that contains all dependencies in a bundle.
-To make it easier for you, RxDB ships with pre-bundles worker files that are ready to use.
-You can find them in the folder `node_modules/rxdb-premium/dist/workers` after you have installed the [RxDB Premium 👑 Plugin](/premium/). From there you can copy them to a location where it can be served from the webserver and then use their path to create the `RxDatabase`.
-
-Any valid `worker.js` JavaScript file can be used both, for normal Workers and SharedWorkers.
-
-```ts
-import {
- createRxDatabase
-} from 'rxdb';
-import { getRxStorageWorker } from 'rxdb-premium/plugins/storage-worker';
-const database = await createRxDatabase({
- name: 'mydatabase',
- storage: getRxStorageWorker(
- {
- /**
- * Path to where the copied file from node_modules/rxdb/dist/workers
- * is reachable from the webserver.
- */
- workerInput: '/indexeddb.worker.js'
- }
- )
-});
-```
-
-## Building a custom worker
-
-The easiest way to bundle a custom `worker.js` file is by using webpack. Here is the webpack-config that is also used for the prebuild workers:
-
-```ts
-// webpack.config.js
-const path = require('path');
-const TerserPlugin = require('terser-webpack-plugin');
-const projectRootPath = path.resolve(
- __dirname,
- '../../' // path from webpack-config to the root folder of the repo
-);
-const babelConfig = require(path.join(projectRootPath, 'babel.config'));
-const baseDir = './dist/workers/'; // output path
-module.exports = {
- target: 'webworker',
- entry: {
- 'my-custom-worker': baseDir + 'my-custom-worker.js',
- },
- output: {
- filename: '[name].js',
- clean: true,
- path: path.resolve(
- projectRootPath,
- 'dist/workers'
- ),
- },
- mode: 'production',
- module: {
- rules: [
- {
- test: /\.tsx?$/,
- exclude: /(node_modules)/,
- use: {
- loader: 'babel-loader',
- options: babelConfig
- }
- }
- ],
- },
- resolve: {
- extensions: ['.tsx', '.ts', '.js', '.mjs', '.mts']
- },
- optimization: {
- moduleIds: 'deterministic',
- minimize: true,
- minimizer: [new TerserPlugin({
- terserOptions: {
- format: {
- comments: false,
- },
- },
- extractComments: false,
- })],
- }
-};
-```
-
-## One worker per database
-
-Each call to `getRxStorageWorker()` will create a different worker instance so that when you have more than one `RxDatabase`, each database will have its own JavaScript worker process.
-
-To reuse the worker instance in more than one `RxDatabase`, you can store the output of `getRxStorageWorker()` into a variable an use that one. Reusing the worker can decrease the initial page load, but you might get slower database operations.
-
-```ts
-// Call getRxStorageWorker() exactly once
-const workerStorage = getRxStorageWorker({
- workerInput: 'path/to/worker.js'
-});
-
-// use the same storage for both databases.
-const databaseOne = await createRxDatabase({
- name: 'database-one',
- storage: workerStorage
-});
-const databaseTwo = await createRxDatabase({
- name: 'database-two',
- storage: workerStorage
-});
-
-```
-
-## Passing in a Worker instance
-
-Instead of setting an url as `workerInput`, you can also specify a function that returns a new `Worker` instance when called.
-
-```ts
-getRxStorageWorker({
- workerInput: () => new Worker('path/to/worker.js')
-})
-```
-
-This can be helpful for environments where the worker is build dynamically by the bundler. For example in angular you would create a `my-custom.worker.ts` file that contains a custom build worker and then import it.
-
-```ts
-const storage = getRxStorageWorker({
- workerInput: () => new Worker(new URL('./my-custom.worker', import.meta.url)),
-});
-```
-
-```ts
-//> my-custom.worker.ts
-import { exposeWorkerRxStorage } from 'rxdb-premium/plugins/storage-worker';
-import { getRxStorageIndexedDB } from 'rxdb-premium/plugins/storage-indexeddb';
-
-exposeWorkerRxStorage({
- storage: getRxStorageIndexedDB()
-});
-```
-
----
-
-## ⚙️ RxStorage Layer - Choose the Perfect RxDB Storage for Every Use Case
-
-# RxStorage
-
-RxDB is not a self contained database. Instead the data is stored in an implementation of the [RxStorage interface](https://github.com/pubkey/rxdb/blob/master/src/types/rx-storage.interface.d.ts). This allows you to **switch out** the underlying data layer, depending on the JavaScript environment and performance requirements. For example you can use the SQLite storage for a capacitor app or you can use the LocalStorage RxStorage to store data in localstorage in a browser based application. There are also storages for other JavaScript runtimes like Node.js, React-Native, NativeScript and more.
-
-## Quick Recommendations
-
-- In the Browser: Use the [LocalStorage](./rx-storage-localstorage.md) storage for simple setup and small build size. For bigger datasets, use either the [dexie.js storage](./rx-storage-dexie.md) (free) or the [IndexedDB RxStorage](./rx-storage-indexeddb.md) if you have [👑 premium access](/premium/) which is a bit faster and has a smaller build size.
-- In [Electron](./electron-database.md) and [ReactNative](./react-native-database.md): Use the [SQLite RxStorage](./rx-storage-sqlite.md) if you have [👑 premium access](/premium/) or the [trial-SQLite RxStorage](./rx-storage-sqlite.md) for tryouts.
-- In Capacitor: Use the [SQLite RxStorage](./rx-storage-sqlite.md) if you have [👑 premium access](/premium/), otherwise use the [localStorage](./rx-storage-localstorage.md) storage.
-
-## Configuration Examples
-
-The RxStorage layer of RxDB is very flexible. Here are some examples on how to configure more complex settings:
-
-### Storing much data in a browser securely
-
-Lets say you build a browser app that needs to store a big amount of data as secure as possible. Here we can use a combination of the storages (encryption, IndexedDB, compression, schema-checks) that increase security and reduce the stored data size.
-
-We use the schema-validation on the top level to ensure schema-errors are clearly readable and do not contain [encrypted](./encryption.md)/[compressed](./key-compression.md) data. The encryption is used inside of the compression because encryption of compressed data is more efficient.
-
-```ts
-import { wrappedValidateAjvStorage } from 'rxdb/plugins/validate-ajv';
-import { wrappedKeyCompressionStorage } from 'rxdb/plugins/key-compression';
-import { wrappedKeyEncryptionCryptoJsStorage } from 'rxdb/plugins/encryption-crypto-js';
-import { getRxStorageIndexedDB } from 'rxdb-premium/plugins/storage-indexeddb';
-
-const myDatabase = await createRxDatabase({
- storage: wrappedValidateAjvStorage({
- storage: wrappedKeyCompressionStorage({
- storage: wrappedKeyEncryptionCryptoJsStorage({
- storage: getRxStorageIndexedDB()
- })
- })
- })
-});
-```
-
-### High query Load
-
-Also we can utilize a combination of storages to create a database that is optimized to run complex queries on the data really fast. Here we use the sharding storage together with the worker storage. This allows to run queries in parallel multithreading instead of a single JavaScript process. Because the worker initialization can slow down the initial page load, we also use the [localstorage-meta-optimizer](./rx-storage-localstorage-meta-optimizer.md) to improve initialization time.
-
-```ts
-import { getRxStorageSharding } from 'rxdb-premium/plugins/storage-sharding';
-import { getRxStorageWorker } from 'rxdb-premium/plugins/storage-worker';
-import { getRxStorageIndexedDB } from 'rxdb-premium/plugins/storage-indexeddb';
-import { getLocalstorageMetaOptimizerRxStorage } from 'rxdb-premium/plugins/storage-localstorage-meta-optimizer';
-
-const myDatabase = await createRxDatabase({
- storage: getLocalstorageMetaOptimizerRxStorage({
- storage: getRxStorageSharding({
- storage: getRxStorageWorker({
- workerInput: 'path/to/worker.js',
- storage: getRxStorageIndexedDB()
- })
- })
- })
-});
-```
-
-### Low Latency on Writes and Simple Reads
-
-Here we create a storage configuration that is optimized to have a low latency on simple reads and writes. It uses the memory-mapped storage to fetch and store data in memory. For persistence the OPFS storage is used in the main thread which has lower latency for fetching big chunks of data when at initialization the data is loaded from disc into memory. We do not use workers because sending data from the main thread to workers and backwards would increase the latency.
-
-```ts
-import { getLocalstorageMetaOptimizerRxStorage } from 'rxdb-premium/plugins/storage-localstorage-meta-optimizer';
-import { getMemoryMappedRxStorage } from 'rxdb-premium/plugins/storage-memory-mapped';
-import { getRxStorageOPFSMainThread } from 'rxdb-premium/plugins/storage-worker';
-
-const myDatabase = await createRxDatabase({
- storage: getLocalstorageMetaOptimizerRxStorage({
- storage: getMemoryMappedRxStorage({
- storage: getRxStorageOPFSMainThread()
- })
- })
-});
-```
-
-## All RxStorage Implementations List
-
-### Memory
-
-A storage that stores the data in as plain data in the memory of the JavaScript process. Really fast and can be used in all environments. [Read more](./rx-storage-memory.md)
-
-### LocalStorage
-
-The localstroage based storage stores the data inside of a browsers [localStorage API](./articles/localstorage.md). It is the easiest to set up and has a small bundle size. **If you are new to RxDB, you should start with the LocalStorage RxStorage**. [Read more](./rx-storage-localstorage.md)
-
-### 👑 IndexedDB
-
-The IndexedDB `RxStorage` is based on plain IndexedDB. For most use cases, this has the best performance together with the OPFS storage. [Read more](./rx-storage-indexeddb.md)
-
-### 👑 OPFS
-
-The OPFS `RxStorage` is based on the File System Access API. This has the best performance of all other non-in-memory storage, when RxDB is used inside of a browser. [Read more](./rx-storage-opfs.md)
-
-### 👑 Filesystem Node
-
-The Filesystem Node storage is best suited when you use RxDB in a Node.js process or with [electron.js](./electron.md). [Read more](./rx-storage-filesystem-node.md)
-
-### Storage Wrapper Plugins
-
-#### 👑 Worker
-
-The worker RxStorage is a wrapper around any other RxStorage which allows to run the storage in a WebWorker (in browsers) or a Worker Thread (in Node.js). By doing so, you can take CPU load from the main process and move it into the worker's process which can improve the perceived performance of your application. [Read more](./rx-storage-worker.md)
-
-#### 👑 SharedWorker
-
-The worker RxStorage is a wrapper around any other RxStorage which allows to run the storage in a SharedWorker (only in browsers). By doing so, you can take CPU load from the main process and move it into the worker's process which can improve the perceived performance of your application. [Read more](./rx-storage-shared-worker.md)
-
-#### Remote
-The Remote RxStorage is made to use a remote storage and communicate with it over an asynchronous message channel. The remote part could be on another JavaScript process or even on a different host machine. Mostly used internally in other storages like Worker or Electron-ipc. [Read more](./rx-storage-remote.md)
-
-#### 👑 Sharding
-
-On some `RxStorage` implementations (like IndexedDB), a huge performance improvement can be done by sharding the documents into multiple database instances. With the sharding plugin you can wrap any other `RxStorage` into a sharded storage. [Read more](./rx-storage-sharding.md)
-
-#### 👑 Memory Mapped
-
-The memory-mapped [RxStorage](./rx-storage.md) is a wrapper around any other RxStorage. The wrapper creates an in-memory storage that is used for query and write operations. This memory instance stores its data in an underlying storage for persistence.
-The main reason to use this is to improve query/write performance while still having the data stored on disc. [Read more](./rx-storage-memory-mapped.md)
-
-#### 👑 Localstorage Meta Optimizer
-
-The [RxStorage](./rx-storage.md) Localstorage Meta Optimizer is a wrapper around any other RxStorage. The wrapper uses the original RxStorage for normal collection documents. But to optimize the initial page load time, it uses [localstorage](./articles/localstorage.md) to store the plain key-value metadata that RxDB needs to create databases and collections. This plugin can only be used in browsers. [Read more](./rx-storage-localstorage-meta-optimizer.md)
-
-#### Electron IpcRenderer & IpcMain
-
-To use RxDB in [electron](./electron-database.md), it is recommended to run the RxStorage in the main process and the RxDatabase in the renderer processes. With the rxdb electron plugin you can create a remote RxStorage and consume it from the renderer process. [Read more](./electron.md)
-
-### Third Party based Storages
-
-#### 👑 SQLite
-
-The SQLite storage has great performance when RxDB is used on **Node.js**, **Electron**, **React Native**, **Cordova** or **Capacitor**. [Read more](./rx-storage-sqlite.md)
-
-#### Dexie.js
-
-The Dexie.js based storage is based on the Dexie.js IndexedDB wrapper library. [Read more](./rx-storage-dexie.md)
-
-#### MongoDB
-
-To use RxDB on the server side, the MongoDB RxStorage provides a way of having a secure, scalable and performant storage based on the popular MongoDB NoSQL database [Read more](./rx-storage-mongodb.md)
-
-#### DenoKV
-
-To use RxDB in Deno. The DenoKV RxStorage provides a way of having a secure, scalable and performant storage based on the Deno Key Value Store. [Read more](./rx-storage-denokv.md)
-
-#### FoundationDB
-
-To use RxDB on the server side, the FoundationDB RxStorage provides a way of having a secure, fault-tolerant and performant storage. [Read more](./rx-storage-foundationdb.md)
-
----
-
-## RxDB Tradeoffs - Why NoSQL Triumphs on the Client
-
-# RxDB Tradeoffs
-
-[RxDB](https://rxdb.info) is client-side, [offline first](./offline-first.md) Database for JavaScript applications.
-While RxDB could be used on the server side, most people use it on the client side together with an UI based application.
-Therefore RxDB was optimized for client side applications and had to take completely different tradeoffs than what a server side database would do.
-
-## Why not SQL syntax
-
-When you ask people which database they would want for browsers, the most answer I hear is *something SQL based like SQLite*.
-This makes sense, SQL is a query language that most developers had learned in school/university and it is reusable across various database solutions.
-But for RxDB (and other client side databases), using SQL is not a good option and instead it operates on document writes and the JSON based **Mango-query** syntax for querying.
-
-```ts
-// A Mango Query
-const query = {
- selector: {
- age: {
- $gt: 10
- },
- lastName: 'foo'
- },
- sort: [{ age: 'asc' }]
-};
-```
-
-### SQL is made for database servers
-
-SQL is made to be used to run operations against a database server. You send a SQL string like ```SELECT SUM(column_name)...``` to the database server and the server then runs all operations required to calculate the result and only send back that result.
-This saves performance on the application side and ensures that the application itself is not blocked.
-
-But RxDB is a client-side database that runs **inside** of the application. There is no performance difference if the `SUM()` query is run inside of the database or at the application level where a `Array.reduce()` call calculates the result.
-
-### Typescript support
-
-SQL is `string` based and therefore you need additional IDE tooling to ensure that your written database code is valid.
-Using the Mango Query syntax instead, TypeScript can be used validate the queries and to autocomplete code and knows which fields do exist and which do not. By doing so, the correctness of queries can be ensured at compile-time instead of run-time.
-
-
-
-### Composeable queries
-
-By using JSON based Mango Queries, it is easy to compose queries in plain JavaScript.
-For example if you have any given query and want to add the condition `user MUST BE 'foobar'`, you can just add the condition to the selector without having to parse and understand a complex SQL string.
-
-```ts
-query.selector.user = 'foobar';
-```
-
-Even merging the selectors of multiple queries is not a problem:
-
-```ts
-queryA.selector = {
- $and: [
- queryA.selector,
- queryB.selector
- ]
-};
-```
-
-## Why Document based (NoSQL)
-
-Like other NoSQL databases, RxDB operates data on document level. It has no concept of tables, rows and columns. Instead we have collections, documents and fields.
-
-### Javascript is made to work with objects
-### Caching
-
-### EventReduce
-
-### Easier to use with typescript
-
-Because of the document based approach, TypeScript can know the exact type of the query response while a SQL query could return anything from a number over a set of rows or a complex construct.
-
-## Why no transactions
-
-- Does not work with offline-first
-- Does not work with multi-tab
-- Easier conflict handling on document level
-
--- Instead of transactions, rxdb works with revisions
-
-## Why no relations
-
-- Does not work with easy replication
-
-## Why is a schema required
-
-- migration of data on clients is hard
-- Why jsonschema
-
-##
-
----
-
-## Schema Validation
-
-# Schema validation
-
-RxDB has multiple validation implementations that can be used to ensure that your document data is always matching the provided JSON
-schema of your `RxCollection`.
-
-The schema validation is **not a plugin** but comes in as a wrapper around any other `RxStorage` and it will then validate all data that is written into that storage. This is required for multiple reasons:
-- It allows us to run the validation inside of a [Worker RxStorage](./rx-storage-worker.md) instead of running it in the main JavaScript process.
-- It allows us to configure which `RxDatabase` instance must use the validation and which does not. In production it often makes sense to validate user data, but you might not need the validation for data that is only replicated from the backend.
-
-:::warning
-Schema validation can be **CPU expensive** and increases your build size. You should always use a schema validation in development mode. For most use cases, you **should not** use a validation in production for better performance.
-:::
-
-When no validation is used, any document data can be saved but there might be **undefined behavior** when saving data that does not comply to the schema of a `RxCollection`.
-
-RxDB has different implementations to validate data, each of them is based on a different [JSON Schema library](https://json-schema.org/tools). In this example we use the [LocalStorage RxStorage](./rx-storage-localstorage.md), but you can wrap the validation around **any other** [RxStorage](./rx-storage.md).
-
-### validate-ajv
-
-A validation-module that does the schema-validation. This one is using [ajv](https://github.com/epoberezkin/ajv) as validator which is a bit faster. Better compliant to the jsonschema-standard but also has a bigger build-size.
-
-```javascript
-import { wrappedValidateAjvStorage } from 'rxdb/plugins/validate-ajv';
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-
-// wrap the validation around the main RxStorage
-const storage = wrappedValidateAjvStorage({
- storage: getRxStorageLocalstorage()
-});
-
-const db = await createRxDatabase({
- name: randomCouchString(10),
- storage
-});
-```
-
-### validate-z-schema
-
-Both `is-my-json-valid` and `validate-ajv` use `eval()` to perform validation which might not be wanted when `'unsafe-eval'` is not allowed in Content Security Policies. This one is using [z-schema](https://github.com/zaggino/z-schema) as validator which doesn't use `eval`.
-
-```javascript
-import { wrappedValidateZSchemaStorage } from 'rxdb/plugins/validate-z-schema';
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-
-// wrap the validation around the main RxStorage
-const storage = wrappedValidateZSchemaStorage({
- storage: getRxStorageLocalstorage()
-});
-
-const db = await createRxDatabase({
- name: randomCouchString(10),
- storage
-});
-```
-
-### validate-is-my-json-valid
-
-**WARNING**: The `is-my-json-valid` validation is no longer supported until [this bug](https://github.com/mafintosh/is-my-json-valid/pull/192) is fixed.
-
-The `validate-is-my-json-valid` plugin uses [is-my-json-valid](https://www.npmjs.com/package/is-my-json-valid) for schema validation.
-
-```javascript
-import { wrappedValidateIsMyJsonValidStorage } from 'rxdb/plugins/validate-is-my-json-valid';
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-
-// wrap the validation around the main RxStorage
-const storage = wrappedValidateIsMyJsonValidStorage({
- storage: getRxStorageLocalstorage()
-});
-
-const db = await createRxDatabase({
- name: randomCouchString(10),
- storage
-});
-```
-
-## Custom Formats
-
-The schema validators provide methods to add custom formats like a `email` format.
-You have to add these formats **before** you create your database.
-
-### Ajv Custom Format
-
-```ts
-import { getAjv } from 'rxdb/plugins/validate-ajv';
-const ajv = getAjv();
-ajv.addFormat('email', {
- type: 'string',
- validate: v => v.includes('@') // ensure email fields contain the @ symbol
-});
-```
-
-### Z-Schema Custom Format
-
-```ts
-import { ZSchemaClass } from 'rxdb/plugins/validate-z-schema';
-ZSchemaClass.registerFormat('email', function (v: string) {
- return v.includes('@'); // ensure email fields contain the @ symbol
-});
-```
-
-## Performance comparison of the validators
-
-The RxDB team ran performance benchmarks using two storage options on an Ubuntu 24.04 machine with Chrome version `131.0.6778.85`. The testing machine has 32 core `13th Gen Intel(R) Core(TM) i9-13900HX` CPU.
-
-IndexedDB Storage (based on the IndexedDB API in the browser):
-
-| **IndexedDB Storage** | Time to First insert | Insert 3000 documents |
-| ----------------- | :------------------: | --------------------: |
-| no validator | 68 ms | 213 ms |
-| ajv | 67 ms | 216 ms |
-| z-schema | 71 ms | 230 ms |
-
-Memory Storage: stores everything in memory for extremely fast reads and writes, with no persistence by default. Often used with the RxDB memory-mapped plugin that processes data in memory an later persists to disc in background:
-
-| **Memory Storage** | Time to First insert | Insert 3000 documents |
-| ------------------ | :------------------: | --------------------: |
-| no validator | 1.15 ms | 0.8 ms |
-| ajv | 3.05 ms | 2.7 ms |
-| z-schema | 0.9 ms | 18 ms |
-
-Including a validator library also increases your JavaScript bundle size. Here's how it breaks down (minified + gzip):
-
-| **Build Size** (minified+gzip) | Build Size (IndexedDB) | Build Size (memory) |
-| ------------------------------ | :----------------: | ------------------: |
-| no validator | 73103 B | 39976 B |
-| ajv | 106135 B | 72773 B |
-| z-schema | 125186 B | 91882 B |
-
----
-
-## Solving IndexedDB Slowness for Seamless Apps
-
-# Why IndexedDB is slow and what to use instead
-
-So you have a JavaScript web application that needs to store data at the client side, either to make it [offline usable](./offline-first.md), just for caching purposes or for other reasons.
-
-For [in-browser data storage](./articles/browser-database.md), you have some options:
-
-- **Cookies** are sent with each HTTP request, so you cannot store more than a few strings in them.
-- **WebSQL** [is deprecated](https://hacks.mozilla.org/2010/06/beyond-html5-database-apis-and-the-road-to-indexeddb/) because it never was a real standard and turning it into a standard would have been too difficult.
-- [LocalStorage](./articles/localstorage.md) is a synchronous API over asynchronous IO-access. Storing and reading data can fully block the JavaScript process so you cannot use LocalStorage for more than few simple key-value pairs.
-- The **FileSystem API** could be used to store plain binary files, but it is [only supported in chrome](https://caniuse.com/filesystem) for now.
-- **IndexedDB** is an indexed key-object database. It can store json data and iterate over its indexes. It is [widely supported](https://caniuse.com/indexeddb) and stable.
-
-:::note UPDATE April 2023
-Since beginning of 2023, all modern browsers ship the **File System Access API** which allows to persistently store data in the browser with a way better performance. For [RxDB](https://rxdb.info/) you can use the [OPFS RxStorage](./rx-storage-opfs.md) to get about 4x performance improvement compared to IndexedDB.
-
-
-
-
-
-
-:::
-
-It becomes clear that the only way to go is IndexedDB. You start developing your app and everything goes fine.
-But as soon as your app gets bigger, more complex or just handles more data, you might notice something. **IndexedDB is slow**. Not slow like a database on a cheap server, **even slower**! Inserting a few hundred documents can take up several seconds. Time which can be critical for a fast page load. Even sending data over the internet to the backend can be faster than storing it inside of an IndexedDB database.
-
-> Transactions vs Throughput
-
-So before we start complaining, lets analyze what exactly is slow. When you run tests on Nolans [Browser Database Comparison](http://nolanlawson.github.io/database-comparison/) you can see that inserting 1k documents into IndexedDB takes about 80 milliseconds, 0.08ms per document. This is not really slow. It is quite fast and it is very unlikely that you want to store that many document at the same time at the client side. But the key point here is that all these documents get written in a `single transaction`.
-
-I forked the comparison tool [here](https://pubkey.github.io/client-side-databases/database-comparison/index.html) and changed it to use one transaction per document write. And there we have it. Inserting 1k documents with one transaction per write, takes about 2 seconds. Interestingly if we increase the document size to be 100x bigger, it still takes about the same time to store them. This makes clear that the limiting factor to IndexedDB performance is the transaction handling, not the data throughput.
-
-
-
-To fix your IndexedDB performance problems you have to make sure to use as less data transfers/transactions as possible.
-Sometimes this is easy, as instead of iterating over a documents list and calling single inserts, with RxDB you could use the [bulk methods](https://rxdb.info/rx-collection.html#bulkinsert) to store many document at once.
-But most of the time is not so easy. Your user clicks around, data gets replicated from the backend, another browser tab writes data. All these things can happen at random time and you cannot crunch all that data in a single transaction.
-
-Another solution is to just not care about performance at all. In a few releases the browser vendors will have optimized IndexedDB and everything is fast again. Well, IndexedDB was slow [in 2013](https://www.researchgate.net/publication/281065948_Performance_Testing_and_Comparison_of_Client_Side_Databases_Versus_Server_Side) and it is still slow today. If this trend continues, it will still be slow in a few years from now. Waiting is not an option. The chromium devs made [a statement](https://bugs.chromium.org/p/chromium/issues/detail?id=1025456#c15) to focus on optimizing read performance, not write performance.
-
-Switching to WebSQL (even if it is deprecated) is also not an option because, like [the comparison tool shows](https://pubkey.github.io/client-side-databases/database-comparison/index.html), it has even slower transactions.
-
-So you need a way to **make IndexedDB faster**. In the following I lay out some performance optimizations than can be made to have faster reads and writes in IndexedDB.
-
-**HINT:** You can reproduce all performance tests [in this repo](https://github.com/pubkey/indexeddb-performance-tests). In all tests we work on a dataset of 40000 `human` documents with a random `age` between `1` and `100`.
-
-## Batched Cursor
-
-With [IndexedDB 2.0](https://caniuse.com/indexeddb2), new methods were introduced which can be utilized to improve performance. With the `getAll()` method, a faster alternative to the old `openCursor()` can be created which improves performance when reading data from the IndexedDB store.
-
-Lets say we want to query all user documents that have an `age` greater than `25` out of the store.
-To implement a fast batched cursor that only needs calls to `getAll()` and not to `getAllKeys()`, we first need to create an `age` index that contains the primary `id` as last field.
-
-```ts
-myIndexedDBObjectStore.createIndex(
- 'age-index',
- [
- 'age',
- 'id'
- ]
-);
-```
-
-This is required because the `age` field is not unique, and we need a way to checkpoint the last returned batch so we can continue from there in the next call to `getAll()`.
-
-```ts
-const maxAge = 25;
-let result = [];
-const tx: IDBTransaction = db.transaction([storeName], 'readonly', TRANSACTION_SETTINGS);
-const store = tx.objectStore(storeName);
-const index = store.index('age-index');
-let lastDoc;
-let done = false;
-/**
- * Run the batched cursor until all results are retrieved
- * or the end of the index is reached.
- */
-while (done === false) {
- await new Promise((res, rej) => {
- const range = IDBKeyRange.bound(
- /**
- * If we have a previous document as checkpoint,
- * we have to continue from it's age and id values.
- */
- [
- lastDoc ? lastDoc.age : -Infinity,
- lastDoc ? lastDoc.id : -Infinity,
- ],
- [
- maxAge + 0.00000001,
- String.fromCharCode(65535)
- ],
- true,
- false
- );
- const openCursorRequest = index.getAll(range, batchSize);
- openCursorRequest.onerror = err => rej(err);
- openCursorRequest.onsuccess = e => {
- const subResult: TestDocument[] = e.target.result;
- lastDoc = lastOfArray(subResult);
- if (subResult.length === 0) {
- done = true;
- } else {
- result = result.concat(subResult);
- }
- res();
- };
- });
-}
-console.dir(result);
-```
-
-
-
-As the performance test results show, using a batched cursor can give a huge improvement. Interestingly choosing a high batch size is important. When you known that all results of a given `IDBKeyRange` are needed, you should not set a batch size at all and just directly query all documents via `getAll()`.
-
-RxDB uses batched cursors in the [IndexedDB RxStorage](./rx-storage-indexeddb.md).
-
-## IndexedDB Sharding
-
-Sharding is a technique, normally used in server side databases, where the database is partitioned horizontally. Instead of storing all documents at one table/collection, the documents are split into so called **shards** and each shard is stored on one table/collection. This is done in server side architectures to spread the load between multiple physical servers which **increases scalability**.
-
-When you use IndexedDB in a browser, there is of course no way to split the load between the client and other servers. But you can still benefit from sharding. Partitioning the documents horizontally into **multiple IndexedDB stores**, has shown to have a big performance improvement in write- and read operations while only increasing initial pageload slightly.
-
-
-
-As shown in the performance test results, sharding should always be done by `IDBObjectStore` and not by database. Running a batched cursor over the whole dataset with 10 store shards in parallel is about **28% faster** then running it over a single store. Initialization time increases minimal from `9` to `17` milliseconds.
-Getting a quarter of the dataset by batched iterating over an index, is even **43%** faster with sharding then when a single store is queried.
-
-As downside, getting 10k documents by their id is slower when it has to run over the shards.
-Also it can be much effort to recombined the results from the different shards into the required query result. When a query without a limit is done, the sharding method might cause a data load huge overhead.
-
-Sharding can be used with RxDB with the [Sharding Plugin](./rx-storage-sharding.md).
-
-## Custom Indexes
-
-Indexes improve the query performance of IndexedDB significant. Instead of fetching all data from the storage when you search for a subset of it, you can iterate over the index and stop iterating when all relevant data has been found.
-
-For example to query for all user documents that have an `age` greater than `25`, you would create an `age+id` index.
-To be able to run a batched cursor over the index, we always need our primary key (`id`) as the last index field.
-
-Instead of doing this, you can use a `custom index` which can improve the performance. The custom index runs over a helper field `ageIdCustomIndex` which is added to each document on write. Our index now only contains a single `string` field instead of two (age-`number` and id-`string`).
-
-```ts
-// On document insert add the ageIdCustomIndex field.
-const idMaxLength = 20; // must be known to craft a custom index
-docData.ageIdCustomIndex = docData.age + docData.id.padStart(idMaxLength, ' ');
-store.put(docData);
-// ...
-```
-
-```ts
-// normal index
-myIndexedDBObjectStore.createIndex(
- 'age-index',
- [
- 'age',
- 'id'
- ]
-);
-
-// custom index
-myIndexedDBObjectStore.createIndex(
- 'age-index-custom',
- [
- 'ageIdCustomIndex'
- ]
-);
-
-```
-
-To iterate over the index, you also use a custom crafted keyrange, depending on the last batched cursor checkpoint. Therefore the `maxLength` of `id` must be known.
-
-```ts
-// keyrange for normal index
-const range = IDBKeyRange.bound(
- [25, ''],
- [Infinity, Infinity],
- true,
- false
-);
-
-// keyrange for custom index
-const range = IDBKeyRange.bound(
- // combine both values to a single string
- 25 + ''.padStart(idMaxLength, ' '),
- Infinity,
- true,
- false
-);
-```
-
-
-
-As shown, using a custom index can further improve the performance of running a batched cursor by about `10%`.
-
-Another big benefit of using custom indexes, is that you can also encode `boolean` values in them, which [cannot be done](https://github.com/w3c/IndexedDB/issues/76) with normal IndexedDB indexes.
-
-RxDB uses custom indexes in the [IndexedDB RxStorage](./rx-storage-indexeddb.md).
-
-## Relaxed durability
-
-Chromium based browsers allow to set [durability](https://developer.mozilla.org/en-US/docs/Web/API/IDBTransaction/durability) to `relaxed` when creating an IndexedDB transaction. Which runs the transaction in a less secure durability mode, which can improve the performance.
-
-> The user agent may consider that the transaction has successfully committed as soon as all outstanding changes have been written to the operating system, without subsequent verification.
-
-As shown [here](https://nolanlawson.com/2021/08/22/speeding-up-indexeddb-reads-and-writes/), using the relaxed durability mode can improve performance slightly. The best performance improvement could be measured when many small transactions have to be run. Less, bigger transaction do not benefit that much.
-
-## Explicit transaction commits
-
-By explicitly committing a transaction, another slight performance improvement can be achieved. Instead of waiting for the browser to commit an open transaction, we call the `commit()` method to explicitly close it.
-
-```ts
-// .commit() is not available on all browsers, so first check if it exists.
-if (transaction.commit) {
- transaction.commit()
-}
-```
-
-The improvement of this technique is minimal, but observable as [these tests](https://nolanlawson.com/2021/08/22/speeding-up-indexeddb-reads-and-writes/) show.
-
-## In-Memory on top of IndexedDB
-
-To prevent transaction handling and to fix the performance problems, we need to stop using IndexedDB as a database. Instead all data is loaded into the memory on the initial page load. Here all reads and writes happen in memory which is about 100x faster. Only some time after a write occurred, the memory state is persisted into IndexedDB with a **single write transaction**. In this scenario IndexedDB is used as a filesystem, not as a database.
-
-There are some libraries that already do that:
-
-- LokiJS with the [IndexedDB Adapter](https://techfort.github.io/LokiJS/LokiIndexedAdapter.html)
-- [Absurd-SQL](https://github.com/jlongster/absurd-sql)
-- SQL.js with the [empscripten Filesystem API](https://emscripten.org/docs/api_reference/Filesystem-API.html#filesystem-api-idbfs)
-- [DuckDB Wasm](https://duckdb.org/2021/10/29/duckdb-wasm.html)
-
-### In-Memory: Persistence
-
-One downside of not directly using IndexedDB, is that your data is not persistent all the time. And when the JavaScript process exists without having persisted to IndexedDB, data can be lost. To prevent this from happening, we have to ensure that the in-memory state is written down to the disc. One point is make persisting as fast as possible. LokiJS for example has the `incremental-indexeddb-adapter` which only saves new writes to the disc instead of persisting the whole state. Another point is to run the persisting at the correct point in time. For example the RxDB [LokiJS storage](https://rxdb.info/rx-storage-lokijs.html) persists in the following situations:
-
-- When the database is idle and no write or query is running. In that time we can persist the state if any new writes appeared before.
-- When the `window` fires the [beforeunload event](https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onbeforeunload) we can assume that the JavaScript process is exited any moment and we have to persist the state. After `beforeunload` there are several seconds time which are sufficient to store all new changes. This has shown to work quite reliable.
-
-The only missing event that can happen is when the browser exists unexpectedly like when it crashes or when the power of the computer is shut of.
-
-### In-Memory: Multi Tab Support
-
-One big difference between a web application and a 'normal' app, is that your users can use the app in multiple browser tabs at the same time. But when you have all database state in memory and only periodically write it to disc, multiple browser tabs could overwrite each other and you would loose data. This might not be a problem when you rely on a client-server replication, because the lost data might already be replicated with the backend and therefore with the other tabs. But this would not work when the client is offline.
-
-The ideal way to solve that problem, is to use a [SharedWorker](https://developer.mozilla.org/en/docs/Web/API/SharedWorker). A [SharedWorker](./rx-storage-shared-worker.md) is like a [WebWorker](https://developer.mozilla.org/en/docs/Web/API/Web_Workers_API) that runs its own JavaScript process only that the SharedWorker is shared between multiple contexts. You could create the database in the SharedWorker and then all browser tabs could request the Worker for data instead of having their own database. But unfortunately the SharedWorker API does [not work](https://caniuse.com/sharedworkers) in all browsers. Safari [dropped](https://bugs.webkit.org/show_bug.cgi?id=140344) its support and InternetExplorer or Android Chrome, never adopted it. Also it cannot be polyfilled. **UPDATE:** [Apple added SharedWorkers back in Safari 142](https://developer.apple.com/safari/technology-preview/release-notes/)
-
-Instead, we could use the [BroadcastChannel API](https://developer.mozilla.org/en-US/docs/Web/API/Broadcast_Channel_API) to communicate between tabs and then apply a [leader election](https://github.com/pubkey/broadcast-channel#using-the-leaderelection) between them. The [leader election](./leader-election.md) ensures that, no matter how many tabs are open, always one tab is the `Leader`.
-
-
-
-The disadvantage is that the leader election process takes some time on the initial page load (about 150 milliseconds). Also the leader election can break when a JavaScript process is fully blocked for a longer time. When this happens, a good way is to just reload the browser tab to restart the election process.
-
-## Further read
-
-- [Offline First Database Comparison](https://github.com/pubkey/client-side-databases)
-- [Speeding up IndexedDB reads and writes](https://nolanlawson.com/2021/08/22/speeding-up-indexeddb-reads-and-writes/)
-- [SQLITE ON THE WEB: ABSURD-SQL](https://hackaday.com/2021/08/24/sqlite-on-the-web-absurd-sql/)
-- [SQLite in a PWA with FileSystemAccessAPI](https://anita-app.com/blog/articles/sqlite-in-a-pwa-with-file-system-access-api.html)
-- [Response to this article by Oren Eini](https://ravendb.net/articles/re-why-indexeddb-is-slow-and-what-to-use-instead)
-
----
-
-## Boost Your RxDB with Powerful Third-Party Plugins
-
-# Third Party Plugins
-
-* [rxdb-hooks](https://github.com/cvara/rxdb-hooks) A set of hooks to integrate RxDB into react applications.
-* [rxdb-flexsearch](https://github.com/serenysoft/rxdb-flexsearch) The full text search for RxDB using [FlexSearch](https://github.com/nextapps-de/flexsearch).
-* [rxdb-orion](https://github.com/serenysoft/rxdb-orion) Enables replication with [Laravel Orion](https://tailflow.github.io/laravel-orion-docs).
-* [rxdb-supabase](https://github.com/marceljuenemann/rxdb-supabase) Enables replication with [Supabase](https://supabase.com/).
-* [rxdb-utils](https://github.com/rafamel/rxdb-utils) Additional features for RxDB like models, timestamps, default values, view and more.
-* [loki-async-reference-adapter](https://github.com/jonnyreeves/loki-async-reference-adapter) Simple async adapter for LokiJS, suitable to use RxDB's [Lokijs RxStorage](./rx-storage-lokijs.md) with React Native.
-
----
-
-## Transactions, Conflicts and Revisions
-
-
-In contrast to most SQL databases, RxDB does not have the concept of relational, ACID transactions. Instead, RxDB has to apply different techniques that better suit the offline-first, client side world where it is not possible to create a transaction between multiple maybe-offline client devices.
-
-## Why RxDB does not have transactions
-
-When talking about transactions, we mean [ACID transactions](https://en.wikipedia.org/wiki/ACID) that guarantee the properties of atomicity, consistency, isolation and durability.
-With an ACID transaction you can mutate data dependent on the current state of the database. It is ensured that no other database operations happen in between your transaction and after the transaction has finished, it is guaranteed that the new data is actually written to the disc.
-
-To implement ACID transactions on a **single server**, the database has to keep track on who is running transactions and then schedule these transactions so that they can run in isolation.
-
-As soon as you have to split your database on **multiple servers**, transaction handling becomes way more difficult. The servers have to communicate with each other to find a consensus about which transaction can run and which has to wait. Network connections might break, or one server might complete its part of the transaction and then be required to roll back its changes because of an error on another server.
-
-But with RxDB you have **multiple clients** that can go randomly online or offline. The users can have different devices and the clock of these devices can go off by any time. To support ACID transactions here, RxDB would have to make the whole world stand still for all clients, while one client is doing a write operation. And even that can only work when all clients are online. Implementing that might be possible, but at the cost of an unpredictable amount of performance loss and not being able to support [offline-first](./offline-first.md).
-
-> A single write operation to a document is the only atomic thing you can do in RxDB.
-
-The benefits of not having to support transactions:
-
-- Clients can read and write data without blocking each other.
-- Clients can write data while being **offline** and then replicate with a server when they are **online** again, called [offline-first](./offline-first.md).
-- Creating a compatible backend for the replication is easy so that RxDB can replicate with any existing infrastructure.
-- Optimizations like [Sharding](./rx-storage-sharding.md) can be used.
-
-## Revisions
-
-Working without transactions leads to having undefined state when doing multiple database operations at the same time. Most client side databases rely on a last-write-wins strategy on write operations. This might be a viable solution for some cases, but often this leads to strange problems that are hard to debug.
-
-Instead, to ensure that the behavior of RxDB is **always predictable**, RxDB relies on **revisions** for version control. Revisions work similar to [Lamport Clocks](https://martinfowler.com/articles/patterns-of-distributed-systems/lamport-clock.html).
-
-Each document is stored together with its revision string, that looks like `1-9dcca3b8e1a` and consists of:
-- The revision height, a number that starts with `1` and is increased with each write to that document.
-- The database instance token.
-
-An operation to the RxDB data layer does not only contain the new document data, but also the previous document data with its revision string. If the previous revision matches the revision that is currently stored in the database, the write operation can succeed. If the previous revision is **different** than the revision that is currently stored in the database, the operation will throw a `409 CONFLICT` error.
-
-## Conflicts
-
-There are two types of conflicts in RxDB, the **local conflict** and the **replication conflict**.
-
-### Local conflicts
-
-A local conflict can happen when a write operation assumes a different previous document state, than what is currently stored in the database. This can happen when multiple parts of your application do simultaneous writes to the same document. This can happen on a single browser tab, or when multiple tabs write at once or when a write appears while the document gets replicated from a remote server replication.
-
-When a local conflict appears, RxDB will throw a `409 CONFLICT` error. The calling code must then handle the error properly, depending on the application logic.
-
-Instead of handling local conflicts, in most cases it is easier to ensure that they cannot happen, by using `incremental` database operations like [incrementalModify()](./rx-document.md), [incrementalPatch()](./rx-document.md) or [incrementalUpsert()](./rx-collection.md). These write operations have a built-in way to handle conflicts by re-applying the mutation functions to the conflicting document state.
-
-## Replication conflicts
-
-A replication conflict appears when multiple clients write to the same documents at once and these documents are then replicated to the backend server.
-
-When you replicate with the [Graphql replication](./replication-graphql.md) and the [replication primitives](./replication.md), RxDB assumes that conflicts are **detected** and **resolved** at the client side.
-
-When a document is send to the backend and the backend detected a conflict (by comparing revisions or other properties), the backend will respond with the actual document state so that the client can compare this with the local document state and create a new, resolved document state that is then pushed to the server again. You can read more about the replication conflicts [here](./replication.md#conflict-handling).
-
-## Custom conflict handler
-
-A conflict handler is an object with two JavaScript functions:
-- Detect if two document states are equal
-- Solve existing conflicts
-
-Because the conflict handler also is used for conflict detection, it will run many times on pull-, push- and write operations of RxDB. Most of the time it will detect that there is no conflict and then return.
-
-Lets have a look at the [default conflict handler](https://github.com/pubkey/rxdb/blob/master/src/replication-protocol/default-conflict-handler.ts) of RxDB to learn how to create a custom one:
-
-```ts
-import { deepEqual } from 'rxdb/plugins/utils';
-export const defaultConflictHandler: RxConflictHandler = {
- isEqual(a, b) {
- /**
- * isEqual() is used to detect conflicts or to detect if a
- * document has to be pushed to the remote.
- * If the documents are deep equal,
- * we have no conflict.
- * Because deepEqual is CPU expensive, on your custom conflict handler you might only
- * check some properties, like the updatedAt time or revisions
- * for better performance.
- */
- return deepEqual(a, b);
- },
- resolve(i) {
- /**
- * The default conflict handler will always
- * drop the fork state and use the master state instead.
- *
- * In your custom conflict handler you likely want to merge properties
- * of the realMasterState and the newDocumentState instead.
- */
- return i.realMasterState;
- }
-};
-```
-
-To overwrite the default conflict handler, you have to specify a custom `conflictHandler` property when creating a collection with `addCollections()`.
-
-```js
-const myCollections = await myDatabase.addCollections({
- // key = collectionName
- humans: {
- schema: mySchema,
- conflictHandler: myCustomConflictHandler
- }
-});
-```
-
----
-
-## TypeScript Setup
-
-import {Steps} from '@site/src/components/steps';
-
-# Using RxDB with TypeScript
-
-
-
-In this tutorial you will learn how to use RxDB with TypeScript.
-We will create a basic database with one collection and several ORM-methods, fully typed!
-
-RxDB directly comes with its typings and you do not have to install anything else, however the latest version of RxDB requires that you are using Typescript v3.8 or newer.
-Our way to go is
-
-- First define what the documents look like
-- Then define what the collections look like
-- Then define what the database looks like
-
-
-
-## Declare the types
-
-First you import the types from RxDB.
-
-```typescript
-import {
- createRxDatabase,
- RxDatabase,
- RxCollection,
- RxJsonSchema,
- RxDocument,
-} from 'rxdb/plugins/core';
-```
-
-## Create the base document type
-
-First we have to define the TypeScript type of the documents of a collection:
-
-**Option A**: Create the document type from the schema
-
-```typescript
-import {
- toTypedRxJsonSchema,
- ExtractDocumentTypeFromTypedRxJsonSchema,
- RxJsonSchema
-} from 'rxdb';
-export const heroSchemaLiteral = {
- title: 'hero schema',
- description: 'describes a human being',
- version: 0,
- keyCompression: true,
- primaryKey: 'passportId',
- type: 'object',
- properties: {
- passportId: {
- type: 'string',
- maxLength: 100 // <- the primary key must have set maxLength
- },
- firstName: {
- type: 'string'
- },
- lastName: {
- type: 'string'
- },
- age: {
- type: 'integer'
- }
- },
- required: ['firstName', 'lastName', 'passportId'],
- indexes: ['firstName']
-} as const; // <- It is important to set 'as const' to preserve the literal type
-const schemaTyped = toTypedRxJsonSchema(heroSchemaLiteral);
-
-// aggregate the document type from the schema
-export type HeroDocType = ExtractDocumentTypeFromTypedRxJsonSchema;
-
-// create the typed RxJsonSchema from the literal typed object.
-export const heroSchema: RxJsonSchema = heroSchemaLiteral;
-```
-
-**Option B**: Manually type the document type
-
-```typescript
-export type HeroDocType = {
- passportId: string;
- firstName: string;
- lastName: string;
- age?: number; // optional
-};
-```
-
-**Option C**: Generate the document type from schema during build time
-
-If your schema is in a `.json` file or generated from somewhere else, you might generate the typings with the [json-schema-to-typescript](https://www.npmjs.com/package/json-schema-to-typescript) module.
-
-## Types for the ORM methods
-
-We also add some ORM-methods for the document.
-
-```typescript
-export type HeroDocMethods = {
- scream: (v: string) => string;
-};
-```
-
-## Create RxDocument Type
-
-We can merge these into our HeroDocument.
-
-```typescript
-export type HeroDocument = RxDocument;
-```
-
-## Create RxCollection Type
-
-Now we can define type for the collection which contains the documents.
-
-```typescript
-
-// we declare one static ORM-method for the collection
-export type HeroCollectionMethods = {
- countAllDocuments: () => Promise;
-}
-
-// and then merge all our types
-export type HeroCollection = RxCollection<
- HeroDocType,
- HeroDocMethods,
- HeroCollectionMethods
->;
-```
-
-## Create RxDatabase Type
-
-Before we can define the database, we make a helper-type which contains all collections of it.
-
-```typescript
-export type MyDatabaseCollections = {
- heroes: HeroCollection
-}
-```
-
-Now the database.
-
-```typescript
-export type MyDatabase = RxDatabase;
-```
-
-
-
-## Using the types
-
-Now that we have declare all our types, we can use them.
-
-```typescript
-
-/**
- * create database and collections
- */
-const myDatabase: MyDatabase = await createRxDatabase({
- name: 'mydb',
- storage: getRxStorageLocalstorage()
-});
-
-const heroSchema: RxJsonSchema = {
- title: 'human schema',
- description: 'describes a human being',
- version: 0,
- keyCompression: true,
- primaryKey: 'passportId',
- type: 'object',
- properties: {
- passportId: {
- type: 'string'
- },
- firstName: {
- type: 'string'
- },
- lastName: {
- type: 'string'
- },
- age: {
- type: 'integer'
- }
- },
- required: ['passportId', 'firstName', 'lastName']
-};
-
-const heroDocMethods: HeroDocMethods = {
- scream: function(this: HeroDocument, what: string) {
- return this.firstName + ' screams: ' + what.toUpperCase();
- }
-};
-
-const heroCollectionMethods: HeroCollectionMethods = {
- countAllDocuments: async function(this: HeroCollection) {
- const allDocs = await this.find().exec();
- return allDocs.length;
- }
-};
-
-await myDatabase.addCollections({
- heroes: {
- schema: heroSchema,
- methods: heroDocMethods,
- statics: heroCollectionMethods
- }
-});
-
-// add a postInsert-hook
-myDatabase.heroes.postInsert(
- function myPostInsertHook(
- this: HeroCollection, // own collection is bound to the scope
- docData: HeroDocType, // documents data
- doc: HeroDocument // RxDocument
- ) {
- console.log('insert to ' + this.name + '-collection: ' + doc.firstName);
- },
- false // not async
-);
-
-/**
- * use the database
- */
-
-// insert a document
-const hero: HeroDocument = await myDatabase.heroes.insert({
- passportId: 'myId',
- firstName: 'piotr',
- lastName: 'potter',
- age: 5
-});
-
-// access a property
-console.log(hero.firstName);
-
-// use a orm method
-hero.scream('AAH!');
-
-// use a static orm method from the collection
-const amount: number = await myDatabase.heroes.countAllDocuments();
-console.log(amount);
-
-/**
- * clean up
- */
-myDatabase.close();
-```
-
----
-
-## Why NoSQL Powers Modern UI Apps
-
-import {VideoBox} from '@site/src/components/video-box';
-
-# Why UI applications need NoSQL
-
-[RxDB](https://rxdb.info), a client side, offline first, JavaScript database, is now several years old.
-Often new users appear in the chat and ask for that one simple feature:
-They want to store and query **relational data**.
-
-> So why not just implement SQL?
-
-All these client databases out there have on some kind of document based, NoSQL like, storage engine. PouchDB, Firebase, AWS Datastore, RethinkDB's [Horizon](https://github.com/rethinkdb/horizon), Meteor's [Minimongo](https://github.com/mWater/minimongo), [Parse](https://parseplatform.org/), [Realm](https://realm.io/). They all do not have real relational data.
-
-They might have some kind of weak relational foreign keys like the [RxDB Population](./population.md)
-or the [relational models](https://docs.amplify.aws/lib/datastore/relational/q/platform/js/) of AWS Datastore.
-But these relations are weak. The foreign keys are not enforced to be valid like in PostgreSQL, and you cannot query
-the rows with complex subqueries over different tables or collections and then make mutations based on the result.
-
-There must be a reason for that. In fact, there are multiple of them and in the following I want to show you why you can neither have, nor want real relational data when you have a client-side database with replication.
-
-
-
-## Transactions do not work with humans involved
-
-On the server side, transactions are used to run steps of logic inside of a self contained `unit of work`. The database system ensures that multiple transactions do not run in parallel or interfere with each other.
-This works well because on the server side you can predict how longer everything takes. It can be ensured that one transaction does not block everything else for too long which would make the system not responding anymore to other requests.
-
-When you build a UI based application that is used by a real human, you can no longer predict how long anything takes.
-The user clicks the edit button and expects to not have anyone else change the document while the user is in edit mode.
-Using a transaction to ensure nothing is changed in between, is not an option because the transaction could be open for a long
-time and other background tasks, like replication, would no longer work.
-
-So whenever a human is involved, this kind of logic has to be implemented using other strategies. Most NoSQL databases like [RxDB](./) or [CouchDB](./replication-couchdb.md) use a system based on [revision and conflicts](./transactions-conflicts-revisions.md) to handle these.
-
-## Transactions do not work with offline-first
-
-When you want to build an [offline-first](./offline-first.md) application, it is assumed that the user can also read and write data, even when the device has lost the connection to the backend.
-You could use database transactions on writes to the client's database state, but enforcing a transaction boundary across other instances like clients or servers, is not possible when there is no connection.
-
-
-
-On the client you could run an update query where all `color: red` rows are changed to `color: blue`, but this would not guarantee that there will still be other `red` documents when the client goes online again and restarts the replication with the server.
-
-```sql
-UPDATE docs
-SET docs.color = 'red'
-WHERE docs.color = 'blue';
-```
-
-## Relational queries in NoSQL
-
-What most people want from a relational database, is to run queries over multiple tables.
-Some people think that they cannot do that with NoSQL, so let me explain.
-
-Let's say you have two tables with `customers` and `cities` where each city has an `id` and each customer has a `city_id`. You want to get every customer that resides in `Tokyo`. With SQL, you would use a query like this:
-
-```sql
-SELECT *
-FROM city
-WHERE city.name = 'Tokyo'
-LEFT JOIN customer ON customer.city_id = city.id;
-```
-
-With **NoSQL** you can just do the same, but you have to write it manually:
-
-```typescript
-const cityDocument = await db.cities.findOne().where('name').equals('Tokyo').exec();
-const customerDocuments = await db.customers.find().where('city_id').equals(cityDocument.id).exec();
-```
-
-So what are the differences? The SQL version would run faster on a remote database server because it would aggregate all data there and return only the customers as result set. But when you have a local database, it is not really a difference. Querying the two tables by hand would have about the same performance as a JavaScript implementation of SQL that is running locally.
-
-The main benefit from using SQL is, that the SQL query runs inside of a **single transaction**. When a change to one of our two tables happens, while our query runs, the SQL database will ensure that the write does not affect the result of the query. This could happen with NoSQL, while you retrieve the city document, the customer table gets changed and your result is not correct for the dataset that was there when you started the querying. As a workaround, you could observe the database for changes and if a change happened in between, you have to re-run everything.
-
-
-
-## Reliable replication
-
-In an offline first app, your data is replicated from your backend servers to your users and you want it to be reliable.
-The replication is **reliable** when, no matter what happens, every online client is able to run a replication
-and end up with the **exact same** database state as any other client.
-
-Implementing a reliable replication protocol is hard because of the circumstances of your app:
-
-- Your users have unknown devices.
-- They have an unknown internet speed.
-- They can go offline or online at any time.
-- Clients can be offline for a several days with un-synced changes.
-- You can have many users at the same time.
-- The users can do many database writes at the same time to the same entities.
-
-Now lets say you have a SQL database and one of your users, called Alice, runs a query that mutates some rows, based on a condition.
-
-```sql
-# mark all items out of stock as inStock=FALSE
-UPDATE
- Table_A
-SET
- Table_A.inStock = FALSE
-FROM
- Table_A
-WHERE
- Table_A.amountInStock = 0
-```
-
-At first, the query runs on the local database of Alice and everything is fine.
-
-But at the same time Bob, the other client, updates a row and sets `amountInStock` from `0` to `1`.
-Now Bob's client replicates the changes from Alice and runs them. Bob will end up with a different database state than Alice because on one of the rows, the `WHERE` condition was not met. This is not what we want, so our replication protocol should be able to fix it. For that it has to reduce all mutations into a deterministic state.
-
-Let me loosely describe how "many" SQL replications work:
-
-Instead of just running all replicated queries, we remember a list of all past queries. When a new query comes in that happened `before` our last query, we roll back the previous queries, run the new query, and then re-execute our own queries on top of that. For that to work, all queries need a timestamp so we can order them correctly. But you cannot rely on the clock that is running at the client. Client side clocks drift, they can run in a different speed or even a malicious client modifies the clock on purpose. So instead of a normal timestamp, we have to use a [Hybrid Logical Clock](https://jaredforsyth.com/posts/hybrid-logical-clocks/) that takes a client generated id and the number of the clients query into account. Our timestamp will then look like `2021-10-04T15:29.40.273Z-0000-eede1195b7d94dd5`. These timestamps can be brought into a deterministic order and each client can run the replicated queries in the same order.
-
-While this sounds easy and realizable, we have some problems:
-This kind of replication works great when you replicate between multiple SQL servers. It does not work great when you replicate between a single server and many clients.
-
-1. As mentioned above, clients can be offline for a long time which could require us to do many and heavy rollbacks on each client when someone comes back after a long time and replicates the change.
-2. We have many clients where many changes can appear and our database would have to roll back many times.
-3. During the rollback, the database cannot be used for read queries.
-4. It is required that each client downloads and keeps the whole query history.
-
-With **NoSQL**, replication works different. A new client downloads all current documents and each time a document changes, that document is downloaded again. Instead of replicating the query that leads to a data change, we just replicate the changed data itself. Of course, we could do the same with SQL and just replicate the affected rows of a query, like WatermelonDB [does it](https://youtu.be/uFvHURTRLxQ?t=1133). This was a clever way to go for WatermelonDB, because it was initially made for React Native and did want to use the fast SQLite instead of the slow [AsyncStorage](https://medium.com/@Sendbird/extreme-optimization-of-asyncstorage-in-react-native-b2a1e0107b34). But in a more general view, it defeats the whole purpose of having a replicating relational database because you have transactions locally, but these transactions become **meaningless** as soon as the data goes through the replication layer.
-
-
-
-## Server side validation
-
-Whenever there is client-side input, it must be validated on the server.
-On a NoSQL database, validating a changed document is trivial. The client sends the changed document to the server, and the server can then check if the user was allowed to modify that one document and if the applied changes are ok.
-
-Safely validating a SQL query is up to impossible.
- - You first need a way to parse the query with all this complex SQL syntax and keywords.
- - You have to ensure that the query does not DOS your system.
- - Then you check which rows would be affected when running the query and if the user was allowed to change them
- - Then you check if the mutation to that rows are valid.
-
-For simple queries like an insert/update/delete to a single row, this might be doable. But a query with 4 `LEFT JOIN` will be hard.
-
-## Event optimization
-
-With NoSQL databases, each write event always affects exactly one document. This makes it easy to optimize the processing of events at the client. For example instead of handling multiple updates to the same document, when the user comes online again, you could skip everything but the last event.
-
-Similar to that you can optimize observable query results. When you query the `customers` table you get a query result of 10 customers. Now a new customer is added to the table and you want to know how the new query results look like. You could analyze the event and now you know that you only have to add the new customer to the previous results set, instead of running the whole query again. These types of optimizations can be run with all NoSQL queries and even work with `limit` and `skip` operators. In RxDB this all happens in the background with the [EventReduce algorithm](https://github.com/pubkey/event-reduce) that calculates new query results on incoming changes.
-
-These optimizations do not really work with relational data. A change to one table could affect a query to any other tables. and you could not just calculate the new results based on the event. You would always have to re-run the full query to get the updated results.
-
-## Migration without relations
-
-Sooner or later you change the layout of your data. You update the schema and you also have to migrate the stored rows/documents. In NoSQL this is often not a big deal because all of your documents are modeled as self containing piece of data. There is an old version of the document and you have a function that transforms it into the new version.
-
-With relational data, nothing is self-contained. The relevant data for the migration of a single row could be inside any other table. So when changing the schema, it will be important which table to migrate first and how to orchestrate the migration or relations.
-
-On client side applications, this is even harder because the client can close the application at any time and the migration must be able to continue.
-
-## Everything can be downgraded to NoSQL
-
-To use an offline first database in the frontend, you have to make it compatible with your backend APIs.
-Making software things compatible often means you have to find the **lowest common denominator**.
-When you have SQLite in the frontend and want to replicate it with the backend, the backend also has to use SQLite. You cannot even use PostgreSQL because it has a different SQL dialect and some queries might fail. But you do not want to let the frontend dictate which technologies to use in the backend just to make replication work.
-
-With NoSQL, you just have documents and writes to these documents. You can build a document based layer on top of everything by **removing** functionality. It can be built on top of SQL, but also on top of a graph database or even on top of a key-value store like [levelDB](./adapters.md#leveldown) or [FoundationDB](./rx-storage-foundationdb.md).
-
-With that document layer you can build a [Sync Engine](./replication.md) that serves documents sorted by the last update time and there you have a realtime replication.
-
-## Caching query results
-
-Memory is limited and this is especially true for client side applications where you never know how much free RAM the device really has. You want to have a fast realtime UI, so your database must be able to cache query results.
-
-When you run a SQL query like `SELECT ..` the result of it can be anything. An `array`, a `number`, a `string`, a single row, it depends on how the query goes on. So the caching strategy can only be to keep the result in memory, once for each query.
-This scales very bad because the more queries you run, the more results you have to store in memory.
-
-When you make a query to a NoSQL collection, you always know how the result will look like. It is a list of documents, based on the collection's schema (if you have one). The result set is stored in memory, but because you get similar documents for different queries to the same collection, we can de-duplicated the documents. So when multiple queries return the same document, we only have it in the cache **once** and each query caches point to the same memory object. So no matter how many queries you make, your cache maximum is the collection size.
-
-## TypeScript support
-
-Modern web apps are build with TypeScript and you want the transpiler to know the types of your query result so it can give you build time errors when something does not match. This is quite easy on document based systems. The typings of for each document of a collection can be generated from the schema, and all queries to that collection will always return the given document type. With SQL you have to manually write the typings for each query by hand because it can contain all these aggregate functions that affect the type of the query's result.
-
-
-
-
-
-## What you lose with NoSQL
-
-- You can not run relational queries across tables inside a single transaction.
-- You can not mutate documents based on a `WHERE` clause, in a single transaction.
-- You need to resolve replication conflicts on a per-document basis.
-
-## But there is database XY
-
-Yes, there are SQL databases out there that run on the client side or have replication, but not both.
-
-- WebSQL / [sql.js](https://github.com/sql-js/sql.js/): In the past there was **WebSQL** in the browser. It was a direct mapping to SQLite because all browsers used the SQLite implementation. You could store relational data in it, but there was no concept of replication at any point in time. **sql.js** is an SQLite complied to JavaScript. It has not replication and it has (for now) no persistent storage, everything is stored in memory.
-- WatermelonDB is a SQL databases that runs in the client. WatermelonDB uses a document-based replication that is not able to replicate relational queries.
-- Cockroach / Spanner/ PostgreSQL etc. are SQL databases with replication. But they run on servers, not on clients, so they can make different trade offs.
-
-# Further read
-
-- Cockroach Labs: [Living Without Atomic Clocks](https://www.cockroachlabs.com/blog/living-without-atomic-clocks/)
-- [Transactions, Conflicts and Revisions in RxDB](./transactions-conflicts-revisions.md)
-- [Why MongoDB, Cassandra, HBase, DynamoDB, and Riak will only let you perform transactions on a single data item](https://dbmsmusings.blogspot.com/2015/10/why-mongodb-cassandra-hbase-dynamodb_28.html)
-
-- `Make a PR to this file if you have more interesting links to that topic`
diff --git a/docs/llms.txt b/docs/llms.txt
deleted file mode 100644
index 950e67c92ee..00000000000
--- a/docs/llms.txt
+++ /dev/null
@@ -1,139 +0,0 @@
-# RxDB Documentation
-
-> Authoritative reference documentation for RxDB, a reactive, local-first NoSQL database for JavaScript with offline support and explicit replication.
-
-This file contains links to documentation sections following the llmstxt.org standard.
-
-## Table of Contents
-
-- [Alternatives for realtime local-first JavaScript applications and local databases](https://rxdb.info/alternatives.md): Explore real-time, local-first JS alternatives to RxDB. Compare Firebase, Meteor, AWS, CouchDB, and more for robust, seamless web/mobile app develo...
-- [RxDB as a Database in an Angular Application](https://rxdb.info/articles/angular-database.md): Level up your Angular projects with RxDB. Build real-time, resilient, and responsive apps powered by a reactive NoSQL database right in the browser.
-- [Build Smarter Offline-First Angular Apps - How RxDB Beats IndexedDB Alone](https://rxdb.info/articles/angular-indexeddb.md): Discover how to harness IndexedDB in Angular with RxDB for robust offline apps. Learn reactive queries, advanced features, and more.
-- [Benefits of RxDB & Browser Databases](https://rxdb.info/articles/browser-database.md): Find out why RxDB is the go-to solution for browser databases. See how it boosts performance, simplifies replication, and powers real-time UIs.
-- [Browser Storage - RxDB as a Database for Browsers](https://rxdb.info/articles/browser-storage.md): Explore RxDB for browser storage its advantages, limitations, and why it outperforms SQL databases in web applications for enhanced efficiency
-- [Empower Web Apps with Reactive RxDB Data-base](https://rxdb.info/articles/data-base.md): Explore RxDB's reactive data-base solution for web and mobile. Enable offline-first experiences, real-time syncing, and secure data handling with e...
-- [Embedded Database, Real-time Speed - RxDB](https://rxdb.info/articles/embedded-database.md): Unleash the power of embedded databases with RxDB. Explore real-time replication, offline access, and reactive queries for modern JavaScript apps.
-- [RxDB - Firebase Realtime Database Alternative to Sync With Your Own Backend](https://rxdb.info/articles/firebase-realtime-database-alternative.md): Looking for a Firebase Realtime Database alternative? RxDB offers a fully offline, vendor-agnostic NoSQL solution with advanced conflict resolution...
-- [RxDB - Firestore Alternative to Sync with Your Own Backend](https://rxdb.info/articles/firestore-alternative.md): Looking for a Firestore alternative? RxDB is a local-first, NoSQL database that syncs seamlessly with any backend, offers rich offline capabilities...
-- [Supercharge Flutter Apps with the RxDB Database](https://rxdb.info/articles/flutter-database.md): Harness RxDB's reactive database to bring real-time, offline-first data storage and syncing to your next Flutter application.
-- [RxDB - The Ultimate JS Frontend Database](https://rxdb.info/articles/frontend-database.md): Discover how RxDB, a powerful JavaScript frontend database, boosts offline access, caching, and real-time updates to supercharge your web apps.
-- [ideas for articles](https://rxdb.info/articles/ideas.md): - storing and searching through 1mio emails in a browser database
-- [RxDB In-Memory NoSQL - Supercharge Real-Time Apps](https://rxdb.info/articles/in-memory-nosql-database.md): Discover how RxDB's in-memory NoSQL engine delivers blazing speed for real-time apps, ensuring responsive experiences and seamless data sync.
-- [IndexedDB Max Storage Size Limit - Detailed Best Practices](https://rxdb.info/articles/indexeddb-max-storage-limit.md): Learn how browsers enforce IndexedDB storage size limits, how to test and handle quota exceeded errors, and best practices for storing large amount...
-- [RxDB - The Perfect Ionic Database](https://rxdb.info/articles/ionic-database.md): Supercharge your Ionic hybrid apps with RxDB's offline-first database. Experience real-time sync, top performance, and easy replication.
-- [RxDB - Local Ionic Storage with Encryption, Compression & Sync](https://rxdb.info/articles/ionic-storage.md): The best Ionic storage solution? RxDB empowers your hybrid apps with offline-first capabilities, secure encryption, data compression, and seamless ...
-- [Local JavaScript Vector Database that works offline](https://rxdb.info/articles/javascript-vector-database.md): Create a blazing-fast vector database in JavaScript. Leverage RxDB and transformers.js for instant, offline semantic search - no servers required!
-- [RxDB as a Database in a jQuery Application](https://rxdb.info/articles/jquery-database.md): Level up your jQuery-based projects with RxDB. Build real-time, resilient, and responsive apps powered by a reactive NoSQL database right in the br...
-- [JSON-Based Databases - Why NoSQL and RxDB Simplify App Development](https://rxdb.info/articles/json-based-database.md): Dive into how JSON-based databases power modern UI-centric apps, why NoSQL often outperforms SQL for dynamic data, how SQLite accommodates JSON, an...
-- [RxDB - The JSON Database Built for JavaScript](https://rxdb.info/articles/json-database.md): Experience a powerful JSON database with RxDB, built for JavaScript. Store, sync, and compress your data seamlessly across web and mobile apps.
-- [What is a Local Database and Why RxDB is the Best Local Database for JavaScript Applications](https://rxdb.info/articles/local-database.md): An in-depth exploration of local databases and why RxDB excels as a local-first solution for JavaScript applications.
-- [Why Local-First Software Is the Future and its Limitations](https://rxdb.info/articles/local-first-future.md): Discover how local-first transforms web apps, boosts offline resilience, and why instant user feedback is becoming the new normal.
-- [LocalStorage vs. IndexedDB vs. Cookies vs. OPFS vs. WASM-SQLite](https://rxdb.info/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm.md): Compare LocalStorage, IndexedDB, Cookies, OPFS, and WASM-SQLite for web storage, performance, limits, and best practices for modern web apps.
-- [Using localStorage in Modern Applications - A Comprehensive Guide](https://rxdb.info/articles/localstorage.md): This guide explores localStorage in JavaScript web apps, detailing its usage, limitations, and alternatives like IndexedDB and AsyncStorage.
-- [Real-Time & Offline - RxDB for Mobile Apps](https://rxdb.info/articles/mobile-database.md): Explore RxDB as your reliable mobile database. Enjoy offline-first capabilities, real-time sync, and seamless integration for hybrid app development.
-- [RxDB – The Ultimate Offline Database with Sync and Encryption](https://rxdb.info/articles/offline-database.md): Discover how RxDB serves as a powerful offline database, offering real-time synchronization, secure encryption, and an offline-first approach for m...
-- [Building an Optimistic UI with RxDB](https://rxdb.info/articles/optimistic-ui.md): Learn how to build an Optimistic UI with RxDB for instant and reliable UI updates on user interactions
-- [RxDB as a Database for Progressive Web Apps (PWA)](https://rxdb.info/articles/progressive-web-app-database.md): Discover how RxDB supercharges Progressive Web Apps with real-time sync, offline-first capabilities, and lightning-fast data handling.
-- [RxDB as a Database for React Applications](https://rxdb.info/articles/react-database.md): earn how the RxDB database supercharges React apps with offline access, real-time updates, and smooth data flow. Boost performance and engagement.
-- [IndexedDB Database in React Apps - The Power of RxDB](https://rxdb.info/articles/react-indexeddb.md): Discover how RxDB simplifies IndexedDB in React, offering reactive queries, offline-first capability, encryption, compression, and effortless integ...
-- [React Native Encryption and Encrypted Database/Storage](https://rxdb.info/articles/react-native-encryption.md): Secure your React Native app with RxDB encryption. Learn why it matters, how to implement encrypted databases, and best practices to protect user d...
-- [ReactJS Storage - From Basic LocalStorage to Advanced Offline Apps with RxDB](https://rxdb.info/articles/reactjs-storage.md): Discover how to implement reactjs storage using localStorage for quick key-value data, then move on to more robust offline-first approaches with Rx...
-- [What Really Is a Realtime Database?](https://rxdb.info/articles/realtime-database.md): Discover how RxDB merges realtime replication and dynamic updates to deliver seamless data sync across browsers, devices, and servers - instantly.
-- [RxDB as a Database in a Vue.js Application](https://rxdb.info/articles/vue-database.md): Level up your Vue projects with RxDB. Build real-time, resilient, and responsive apps powered by a reactive NoSQL database right in the browser.
-- [IndexedDB Database in Vue Apps - The Power of RxDB](https://rxdb.info/articles/vue-indexeddb.md): Learn how RxDB simplifies IndexedDB in Vue, offering reactive queries, offline-first capabilities, encryption, compression, and effortless integrat...
-- [WebSockets vs Server-Sent-Events vs Long-Polling vs WebRTC vs WebTransport](https://rxdb.info/articles/websockets-sse-polling-webrtc-webtransport.md): Learn the unique benefits and pitfalls of each real-time tech. Make informed decisions on WebSockets, SSE, Polling, WebRTC, and WebTransport.
-- [Zero Latency Local First Apps with RxDB – Sync, Encryption and Compression](https://rxdb.info/articles/zero-latency-local-first.md): Build blazing-fast, zero-latency local first apps with RxDB. Gain instant UI responses, robust offline capabilities, end-to-end encryption, and dat...
-- [Backup](https://rxdb.info/backup.md): Easily back up your RxDB database to JSON files and attachments on the filesystem with the Backup Plugin - ensuring reliable Node.js data protection.
-- [Capacitor Database Guide - SQLite, RxDB & More](https://rxdb.info/capacitor-database.md): Explore Capacitor's top data storage solutions - from key-value to real-time databases. Compare SQLite, RxDB, and more in this in-depth guide.
-- [Cleanup](https://rxdb.info/cleanup.md): Optimize storage and speed up queries with RxDB's Cleanup Plugin, automatically removing old deleted docs while preserving replication states.
-- [Contribute](https://rxdb.info/contribute.md): Got a fix or fresh idea? Learn how to contribute to RxDB, run tests, and shape the future of this cutting-edge NoSQL database for JavaScript.
-- [CRDT - Conflict-free replicated data type Database](https://rxdb.info/crdt.md): Learn how RxDB's CRDT Plugin resolves document conflicts automatically in distributed systems, ensuring seamless merges and consistent data.
-- [Data Migration](https://rxdb.info/data-migration.md): This documentation page has been moved to [here](./migration-schema.md)
-- [Development Mode](https://rxdb.info/dev-mode.md): Enable checks & validations with RxDB Dev Mode. Ensure proper API use, readable errors, and schema validation during development. Avoid in production.
-- [Downsides of Local First / Offline First](https://rxdb.info/downsides-of-offline-first.md): Discover the hidden pitfalls of local-first apps. Learn about storage limits, conflicts, and real-time illusions before building your offline solut...
-- [Electron Database - Storage adapters for SQLite, Filesystem and In-Memory](https://rxdb.info/electron-database.md): Harness the database power of SQLite, Filesystem, and in-memory storage in Electron with RxDB. Build fast, offline-first apps that sync in real time.
-- [Seamless Electron Storage with RxDB](https://rxdb.info/electron.md): Use the RxDB Electron Plugin to share data between main and renderer processes. Enjoy quick queries, real-time sync, and robust offline support.
-- [Encryption](https://rxdb.info/encryption.md): Explore RxDB's 🔒 encryption plugin for enhanced data security in web and native apps, featuring password-based encryption and secure storage.
-- [Error Messages](https://rxdb.info/errors.md): Learn how RxDB throws RxErrors with codes and parameters. Keep builds lean, yet unveil full messages in development via the DevMode plugin.
-- [Fulltext Search 👑](https://rxdb.info/fulltext-search.md): Master local fulltext search with RxDB's FlexSearch plugin. Enjoy real-time indexing, efficient queries, and offline-first support made easy.
-- [Installation](https://rxdb.info/install.md): Learn how to install RxDB via npm, configure polyfills, and fix global variable errors in Angular or Webpack for a seamless setup.
-- [Key Compression](https://rxdb.info/key-compression.md): import {Steps} from '@site/src/components/steps';
-- [Leader Election](https://rxdb.info/leader-election.md): RxDB comes with a leader-election which elects a leading instance between different instances in the same javascript runtime.
-- [RxDB Logger Plugin - Track & Optimize](https://rxdb.info/logger.md): Take control of your RxDatabase logs. Monitor every write, query, or attachment retrieval to swiftly diagnose and fix performance bottlenecks.
-- [Streamlined RxDB Middleware](https://rxdb.info/middleware.md): Enhance your RxDB workflow with pre and post hooks. Quickly add custom validations, triggers, and events to streamline your asynchronous operations.
-- [Seamless Schema Data Migration with RxDB](https://rxdb.info/migration-schema.md): Upgrade your RxDB collections without losing data. Learn how to seamlessly migrate schema changes and keep your apps running smoothly.
-- [Migration Storage](https://rxdb.info/migration-storage.md): Effortlessly migrate your data between storages in RxDB using the Storage Migration plugin. Retain your documents when switching storages or major ...
-- [RxDB - The Real-Time Database for Node.js](https://rxdb.info/nodejs-database.md): Discover how RxDB brings flexible, reactive NoSQL to Node.js. Scale effortlessly, persist data, and power your server-side apps with ease.
-- [RxDB NoSQL Performance Tips](https://rxdb.info/nosql-performance-tips.md): Skyrocket your NoSQL speed with RxDB tips. Learn about bulk writes, optimized queries, and lean plugin usage for peak performance.
-- [Local First / Offline First](https://rxdb.info/offline-first.md): Local-First software stores data on client devices for seamless offline and online functionality, enhancing user experience and efficiency.
-- [ORM](https://rxdb.info/orm.md): Like [mongoose](http://mongoosejs.com/docs/guide.html#methods), RxDB has ORM-capabilities which can be used to add specific behavior to documents a...
-- [RxDB Docs](https://rxdb.info/overview.md): RxDB Documentation Overview
-- [Creating Plugins](https://rxdb.info/plugins.md): Creating your own plugin is very simple. A plugin is basically a javascript-object which overwrites or extends RxDB's internal classes, prototypes,...
-- [Populate and Link Docs in RxDB](https://rxdb.info/population.md): Learn how to reference and link documents across collections in RxDB. Discover easy population without joins and handle complex relationships.
-- [Efficient RxDB Queries via Query Cache](https://rxdb.info/query-cache.md): Learn how RxDB's Query Cache boosts performance by reusing queries. Discover its default replacement policy and how to define your own.
-- [Optimize Client-Side Queries with RxDB](https://rxdb.info/query-optimizer.md): Harness real-world data to fine-tune queries. The build-time RxDB Optimizer finds the perfect index, boosting query speed in any environment.
-- [🚀 Quickstart](https://rxdb.info/quickstart.md): Learn how to build a realtime app with RxDB. Follow this quickstart for setup, schema creation, data operations, and real-time syncing.
-- [React Native Database - Sync & Store Like a Pro](https://rxdb.info/react-native-database.md): Discover top React Native local database solutions - AsyncStorage, SQLite, RxDB, and more. Build offline-ready apps for iOS, Android, and Windows w...
-- [React](https://rxdb.info/react.md): import {Tabs} from '@site/src/components/tabs';
-- [Signals & Custom Reactivity with RxDB](https://rxdb.info/reactivity.md): Level up reactivity with Angular signals, Vue refs, or Preact signals in RxDB. Learn how to integrate custom reactivity to power your dynamic UI.
-- [RxDB 10.0.0 - Built for the Future](https://rxdb.info/releases/10.0.0.md): Experience faster, future-proof data handling in RxDB 10.0. Explore new storage interfaces, composite keys, and major performance upgrades.
-- [RxDB 11 - WebWorker Support & More](https://rxdb.info/releases/11.0.0.md): RxDB 11.0 brings Worker-based storage for multi-core performance gains. Explore the major changes and migrate seamlessly to harness new speeds.
-- [RxDB 12.0.0 - Clean, Lean & Mean](https://rxdb.info/releases/12.0.0.md): Upgrade to RxDB 12.0.0 for blazing-fast queries, streamlined replication, and better index usage. Explore new features and power up your app.
-- [RxDB 13.0.0 - A New Era of Replication](https://rxdb.info/releases/13.0.0.md): Discover RxDB 13.0's brand-new replication protocol, faster performance, and real-time collaboration for a seamless offline-first experience.
-- [RxDB 14.0 - Major Changes & New Features](https://rxdb.info/releases/14.0.0.md): Discover RxDB 14.0, a major release packed with API changes, improved performance, and streamlined storage, ensuring faster data operations than ever.
-- [RxDB 15.0.0 - Major Migration Overhaul](https://rxdb.info/releases/15.0.0.md): Discover RxDB 15.0.0, featuring new migration strategies, replication improvements, and lightning-fast performance to supercharge your app.
-- [RxDB 16.0.0 - Efficiency Redefined](https://rxdb.info/releases/16.0.0.md): Meet RxDB 16.0.0 - major refactorings, improved performance, and easy migrations. Experience a better, faster, and more stable database solution to...
-- [RxDB 17.0.0](https://rxdb.info/releases/17.0.0.md): RxDB 17 introduces improved reactivity APIs, better debugging, breaking storage fixes, and multiple plugins graduating from beta.
-- [Meet RxDB 8.0.0 - New Defaults & Performance](https://rxdb.info/releases/8.0.0.md): Discover how RxDB 8.0.0 boosts performance, simplifies schema handling, and streamlines reactive data updates for modern apps.
-- [RxDB 9.0.0 - Faster & Simpler](https://rxdb.info/releases/9.0.0.md): Discover RxDB 9.0.0's streamlined plugins, top-level schema definitions, and improved dev-mode. Experience a simpler, faster real-time database.
-- [Appwrite Realtime Sync for Local-First Apps](https://rxdb.info/replication-appwrite.md): Sync RxDB with Appwrite for local-first apps. Supports real-time updates, offline mode, conflict resolution, and secure push/pull replication.
-- [RxDB's CouchDB Replication Plugin](https://rxdb.info/replication-couchdb.md): Replicate your RxDB collections with CouchDB the fast way. Enjoy faster sync, easier conflict handling, and flexible storage using this modern plugin.
-- [Smooth Firestore Sync for Offline Apps](https://rxdb.info/replication-firestore.md): Leverage RxDB to enable real-time, offline-first replication with Firestore. Cut cloud costs, resolve conflicts, and speed up your app.
-- [GraphQL Replication](https://rxdb.info/replication-graphql.md): The GraphQL replication provides handlers for GraphQL to run [replication](./replication.md) with GraphQL as the transportation layer.
-- [HTTP Replication](https://rxdb.info/replication-http.md): Learn how to establish HTTP replication between RxDB clients and a Node.js Express server for data synchronization.
-- [MongoDB Realtime Sync Engine for Local-First Apps](https://rxdb.info/replication-mongodb.md): Build real-time, offline-capable apps with RxDB + MongoDB replication. Push/pull changes, use change streams, and keep data in sync across devices.
-- [RxDB & NATS - Realtime Sync](https://rxdb.info/replication-nats.md): Seamlessly sync your RxDB data with NATS for real-time, two-way replication. Handle conflicts, errors, and retries with ease.
-- [Seamless P2P Data Sync](https://rxdb.info/replication-p2p.md): Discover how replication-webrtc ensures secure P2P data sync and real-time collaboration with RxDB. Explore the future of offline-first apps!
-- [RxDB Server Replication](https://rxdb.info/replication-server.md): The *Server Replication Plugin* connects to the replication endpoint of an [RxDB Server Replication Endpoint](./rx-server.md#replication-endpoint) ...
-- [Supabase Replication Plugin for RxDB - Real-Time, Offline-First Sync](https://rxdb.info/replication-supabase.md): Build real-time, offline-capable apps with RxDB + Supabase. Push/pull changes via PostgREST, stream updates with Realtime, and keep data in sync ac...
-- [WebRTC P2P Replication with RxDB - Sync Browsers and Devices](https://rxdb.info/replication-webrtc.md): Learn to set up peer-to-peer WebRTC replication with RxDB. Bypass central servers and enjoy secure, low-latency data sync across all clients.
-- [Websocket Replication](https://rxdb.info/replication-websocket.md): With the websocket replication plugin, you can spawn a websocket server from a RxDB database in Node.js and replicate with it.
-- [⚙️ RxDB realtime Sync Engine for Local-First Apps](https://rxdb.info/replication.md): Replicate data in real-time with RxDB's offline-first Sync Engine. Learn about efficient syncing, conflict resolution, and advanced multi-tab support.
-- [Attachments](https://rxdb.info/rx-attachment.md): Learn how to store and manage binary data like images or files in RxDB using attachments. Discover features, performance benefits, encryption, comp...
-- [Master Data - Create and Manage RxCollections](https://rxdb.info/rx-collection.md): Discover how to create, manage, and migrate documents in RxCollections. Harness real-time data flows, secure encryption, and powerful performance i...
-- [RxDatabase - The Core of Your Realtime Data](https://rxdb.info/rx-database.md): Get started with RxDatabase and integrate multiple storages. Learn to create, encrypt, and optimize your realtime database today.
-- [RxDocument](https://rxdb.info/rx-document.md): Master RxDB's RxDocument - Insert, find, update, remove, and more for streamlined data handling in modern apps.
-- [Master Local Documents in RxDB](https://rxdb.info/rx-local-document.md): Effortlessly store custom metadata and app settings in RxDB. Learn how Local Documents keep data flexible, secure, and easy to manage.
-- [RxPipeline - Automate Data Flows in RxDB](https://rxdb.info/rx-pipeline.md): Discover how RxPipeline automates your data workflows. Seamlessly process writes, manage leader election, and ensure crash-safe operations in RxDB.
-- [RxQuery](https://rxdb.info/rx-query.md): Master RxQuery in RxDB - find, update, remove documents using Mango syntax, chained queries, real-time observations, indexing, and more.
-- [Design Perfect Schemas in RxDB](https://rxdb.info/rx-schema.md): Learn how to define, secure, and validate your data in RxDB. Master primary keys, indexes, encryption, and more with the RxSchema approach.
-- [RxServer Scaling - Vertical or Horizontal](https://rxdb.info/rx-server-scaling.md): Discover vertical and horizontal techniques to boost RxServer. Learn multiple processes, worker threads, and replication for limitless performance.
-- [RxDB Server - Deploy Your Data](https://rxdb.info/rx-server.md): Launch a secure, high-performance server on top of your RxDB database. Enable REST, replication endpoints, and seamless data syncing with RxServer.
-- [RxState - Reactive Persistent State with RxDB](https://rxdb.info/rx-state.md): Get real-time, persistent state without the hassle. RxState integrates easily with signals and hooks, ensuring smooth updates across tabs and devices.
-- [DenoKV RxStorage](https://rxdb.info/rx-storage-denokv.md): With the DenoKV [RxStorage](./rx-storage.md) layer for [RxDB](https://rxdb.info), you can run a fully featured **NoSQL database** on top of the [De...
-- [RxDB Dexie.js Database - Fast, Reactive, Sync with Any Backend](https://rxdb.info/rx-storage-dexie.md): Use Dexie.js to power RxDB in the browser. Enjoy quick setup, Dexie addons, and reliable storage for small apps or prototypes.
-- [Blazing-Fast Node Filesystem Storage](https://rxdb.info/rx-storage-filesystem-node.md): Get up and running quickly with RxDB's Filesystem Node RxStorage. Store data in JSON, embrace multi-instance support, and enjoy a simpler database.
-- [RxDB on FoundationDB - Performance at Scale](https://rxdb.info/rx-storage-foundationdb.md): Combine FoundationDB's reliability with RxDB's indexing and schema validation. Build scalable apps with faster queries and real-time data.
-- [Instant Performance with IndexedDB RxStorage](https://rxdb.info/rx-storage-indexeddb.md): Choose IndexedDB RxStorage for unmatched speed and minimal build size. Perfect for fast-performing apps that demand reliable, lightweight data solu...
-- [Fastest RxDB Starts - Localstorage Meta Optimizer](https://rxdb.info/rx-storage-localstorage-meta-optimizer.md): Wrap any RxStorage with localStorage metadata to slash initial load by up to 200ms. Unlock speed with this must-have RxDB Premium plugin.
-- [RxDB LocalStorage - The Easiest Way to Persist Data in Your Web App](https://rxdb.info/rx-storage-localstorage.md): Discover how to quickly set up RxDB's LocalStorage-based storage as the recommended default. Learn its benefits, limitations, and why it’s perfect ...
-- [Blazing-Fast Memory Mapped RxStorage](https://rxdb.info/rx-storage-memory-mapped.md): Boost your app's performance with Memory Mapped RxStorage. Query and write in-memory while seamlessly persisting data to your chosen storage.
-- [Instant Performance with Memory Synced RxStorage](https://rxdb.info/rx-storage-memory-synced.md): Accelerate RxDB with in-memory storage replicated to disk. Enjoy instant queries, faster loads, and unstoppable performance for your web apps.
-- [Lightning-Fast Memory Storage for RxDB](https://rxdb.info/rx-storage-memory.md): Use Memory RxStorage for a high-performance, JavaScript in-memory database. Built for speed, making it perfect for unit tests and rapid prototyping.
-- [Unlock MongoDB Power with RxDB](https://rxdb.info/rx-storage-mongodb.md): Combine RxDB's real-time sync with MongoDB's scalability. Harness the MongoDB RxStorage to seamlessly expand your database capabilities.
-- [Supercharged OPFS Database with RxDB](https://rxdb.info/rx-storage-opfs.md): Discover how to harness the Origin Private File System with RxDB's OPFS RxStorage for unrivaled performance and security in client-side data storage.
-- [📈 Discover RxDB Storage Benchmarks](https://rxdb.info/rx-storage-performance.md): Explore real-world benchmarks comparing RxDB's persistent and semi-persistent storages. Discover which storage option delivers the fastest performa...
-- [PouchDB RxStorage - Migrate for Better Performance](https://rxdb.info/rx-storage-pouchdb.md): Discover why PouchDB RxStorage is deprecated in RxDB. Learn its legacy, performance drawbacks, and how to upgrade to a faster solution.
-- [Remote RxStorage](https://rxdb.info/rx-storage-remote.md): The Remote [RxStorage](./rx-storage.md) is made to use a remote storage and communicate with it over an asynchronous message channel.
-- [Sharding RxStorage 👑](https://rxdb.info/rx-storage-sharding.md): With the sharding plugin, you can improve the write and query times of **some** `RxStorage` implementations.
-- [Boost Performance with SharedWorker RxStorage](https://rxdb.info/rx-storage-shared-worker.md): Tap into single-instance storage with RxDB's SharedWorker. Improve efficiency, cut duplication, and keep your app lightning-fast across tabs.
-- [RxDB SQLite RxStorage for Hybrid Apps](https://rxdb.info/rx-storage-sqlite.md): Unlock seamless persistence with SQLite RxStorage. Explore usage in hybrid apps, compare performance, and leverage advanced features like attachments.
-- [Turbocharge RxDB with Worker RxStorage](https://rxdb.info/rx-storage-worker.md): Offload RxDB queries to WebWorkers or Worker Threads, freeing the main thread and boosting performance. Experience smoother apps with Worker RxStor...
-- [⚙️ RxStorage Layer - Choose the Perfect RxDB Storage for Every Use Case](https://rxdb.info/rx-storage.md): Discover how RxDB's modular RxStorage lets you swap engines and unlock top performance, no matter the environment or use case.
-- [RxDB Tradeoffs - Why NoSQL Triumphs on the Client](https://rxdb.info/rxdb-tradeoffs.md): Uncover RxDB's approach to modern database needs. From JSON-based queries to conflict handling without transactions, learn RxDB's unique tradeoffs.
-- [Schema Validation](https://rxdb.info/schema-validation.md): RxDB has multiple validation implementations that can be used to ensure that your document data is always matching the provided JSON
-- [Solving IndexedDB Slowness for Seamless Apps](https://rxdb.info/slow-indexeddb.md): Struggling with IndexedDB performance? Discover hidden bottlenecks, advanced tuning techniques, and next-gen storage like the File System Access API.
-- [Boost Your RxDB with Powerful Third-Party Plugins](https://rxdb.info/third-party-plugins.md): Unleash RxDB's full power! Explore third-party plugins for advanced hooks, text search, Laravel Orion, Supabase replication, and more.
-- [Transactions, Conflicts and Revisions](https://rxdb.info/transactions-conflicts-revisions.md): Learn RxDB's approach to local and replication conflicts. Discover how incremental writes and custom handlers keep your app stable and efficient.
-- [TypeScript Setup](https://rxdb.info/tutorials/typescript.md): Use RxDB with TypeScript to define typed schemas, create typed collections, and build fully typed ORM methods. A quick step-by-step guide.
-- [Why NoSQL Powers Modern UI Apps](https://rxdb.info/why-nosql.md): Discover how NoSQL enables offline-first UI apps. Learn about easy replication, conflict resolution, and why relational data isn't always necessary.
diff --git a/docs/logger.html b/docs/logger.html
deleted file mode 100644
index 19b5306aa18..00000000000
--- a/docs/logger.html
+++ /dev/null
@@ -1,106 +0,0 @@
-
-
-
-
-
-RxDB Logger Plugin - Track & Optimize | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
This is useful to debug performance problems and for monitoring with Application Performance Monitoring (APM) tools like Bugsnag, Datadog, Elastic, Sentry and others.
-
Notice that the logger plugin is not part of the RxDB core, it is part of RxDB Premium 👑.
The logger is a wrapper that can be wrapped around any RxStorage. Once your storage is wrapped, you can create your database with the wrapped storage and the logging will automatically happen.
-
-import {
- wrappedLoggerStorage
-} from 'rxdb-premium/plugins/logger';
-import {
- getRxStorageIndexedDB
-} from 'rxdb-premium/plugins/storage-indexeddb';
-
-
-// wrap a storage with the logger
-const loggingStorage = wrappedLoggerStorage({
- storage: getRxStorageIndexedDB({})
-});
-
-// create your database with the wrapped storage
-const db = await createRxDatabase({
- name: 'mydatabase',
- storage: loggingStorage
-});
-
-// create collections etc...
By default, the plugin will log all operations and it will also run a console.time()/console.timeEnd() around each operation. You can specify what to log so that your logs are less noisy. For this you provide a settings object when calling wrappedLoggerStorage().
-
const loggingStorage = wrappedLoggerStorage({
- storage: getRxStorageIndexedDB({}),
- settings: {
- // can used to prefix all log strings, default=''
- prefix: 'my-prefix',
-
-
- /**
- * Be default, all settings are true.
- */
-
- // if true, it will log timings with console.time() and console.timeEnd()
- times: true,
-
- // if false, it will not log meta storage instances like used in replication
- metaStorageInstances: true,
-
- // operations
- bulkWrite: true,
- findDocumentsById: true,
- query: true,
- count: true,
- info: true,
- getAttachmentData: true,
- getChangedDocumentsSince: true,
- cleanup: true,
- close: true,
- remove: true
- }
-});
-
-
\ No newline at end of file
diff --git a/docs/logger.md b/docs/logger.md
deleted file mode 100644
index 95e093efa2e..00000000000
--- a/docs/logger.md
+++ /dev/null
@@ -1,89 +0,0 @@
-# RxDB Logger Plugin - Track & Optimize
-
-> Take control of your RxDatabase logs. Monitor every write, query, or attachment retrieval to swiftly diagnose and fix performance bottlenecks.
-
-# RxDB Logger Plugin
-
-With the logger plugin you can log all operations to the [storage layer](./rx-storage.md) of your [RxDatabase](./rx-database.md).
-
-This is useful to debug performance problems and for monitoring with Application Performance Monitoring (APM) tools like **Bugsnag**, **Datadog**, **Elastic**, **Sentry** and others.
-
-Notice that the logger plugin is not part of the RxDB core, it is part of [RxDB Premium 👑](/premium/).
-
-
-
-## Using the logger plugin
-
-The logger is a wrapper that can be wrapped around any [RxStorage](./rx-storage.md). Once your storage is wrapped, you can create your database with the wrapped storage and the logging will automatically happen.
-
-```ts
-
-import {
- wrappedLoggerStorage
-} from 'rxdb-premium/plugins/logger';
-import {
- getRxStorageIndexedDB
-} from 'rxdb-premium/plugins/storage-indexeddb';
-
-// wrap a storage with the logger
-const loggingStorage = wrappedLoggerStorage({
- storage: getRxStorageIndexedDB({})
-});
-
-// create your database with the wrapped storage
-const db = await createRxDatabase({
- name: 'mydatabase',
- storage: loggingStorage
-});
-
-// create collections etc...
-```
-
-## Specify what to be logged
-
-By default, the plugin will log all operations and it will also run a `console.time()/console.timeEnd()` around each operation. You can specify what to log so that your logs are less noisy. For this you provide a settings object when calling `wrappedLoggerStorage()`.
-
-```ts
-const loggingStorage = wrappedLoggerStorage({
- storage: getRxStorageIndexedDB({}),
- settings: {
- // can used to prefix all log strings, default=''
- prefix: 'my-prefix',
-
- /**
- * Be default, all settings are true.
- */
-
- // if true, it will log timings with console.time() and console.timeEnd()
- times: true,
-
- // if false, it will not log meta storage instances like used in replication
- metaStorageInstances: true,
-
- // operations
- bulkWrite: true,
- findDocumentsById: true,
- query: true,
- count: true,
- info: true,
- getAttachmentData: true,
- getChangedDocumentsSince: true,
- cleanup: true,
- close: true,
- remove: true
- }
-});
-```
-
-## Using custom logging functions
-
-With the logger plugin you can also run custom log functions for all operations.
-
-```ts
-const loggingStorage = wrappedLoggerStorage({
- storage: getRxStorageIndexedDB({}),
- onOperationStart: (operationsName, logId, args) => void,
- onOperationEnd: (operationsName, logId, args) => void,
- onOperationError: (operationsName, logId, args, error) => void
-});
-```
diff --git a/docs/lunr-index-1769435561373.json b/docs/lunr-index-1769435561373.json
deleted file mode 100644
index c33de6cbd1a..00000000000
--- a/docs/lunr-index-1769435561373.json
+++ /dev/null
@@ -1 +0,0 @@
-{"version":"2.3.9","fields":["title","content","keywords"],"fieldVectors":[["title/0",[0,850.067,1,698.67]],["content/0",[]],["keywords/0",[]],["title/1",[2,682.507]],["content/1",[0,7.646,1,10.399,2,8.547,3,6.487,4,1.985,5,3.045,6,1.855,7,4.402,8,7.468,9,6.452,10,7.58,11,9.248,12,4.917,13,12.341,14,7.201,15,8.213,16,7.251,17,14.102,18,4.711,19,4.227,20,6.317,21,8.133,22,5.027,23,3.924,24,6.612,25,0.938,26,11.819,27,11.819,28,6.099,29,5.85,30,6.634,31,9.695,32,2.984,33,1.824,34,3.229,35,4.044,36,7.357,37,2.368,38,14.102]],["keywords/1",[]],["title/2",[39,1723.121]],["content/2",[0,8.084,1,11.081,4,1.545,23,3.98,24,5.146,25,0.992,28,8.601,29,8.249,30,9.356,31,10.25,32,4.209,33,1.928,34,3.414,35,4.276,36,7.778,37,2.503,39,20.692,40,5.691,41,10.081,42,18.091,43,17.54,44,4.152,45,4.23,46,4.826,47,14.91,48,14.91,49,7.014,50,8.219,51,3.568]],["keywords/2",[]],["title/3",[52,513.439]],["content/3",[0,9.356,1,10.699,3,7.938,4,1.788,5,3.725,6,1.671,23,3.659,24,5.956,28,7.463,29,7.158,30,8.118,31,11.863,32,3.652,33,2.231,34,3.951,35,4.948,36,9.002,37,2.897,51,4.129,52,6.026,53,7.289,54,7.5,55,20.223,56,17.256]],["keywords/3",[]],["title/4",[52,513.439]],["content/4",[0,8.446,1,11.242,4,2.121,23,3.485,24,5.377,28,6.738,29,6.462,30,7.329,31,10.71,32,3.297,33,2.014,34,3.567,35,4.467,36,8.127,37,2.615,52,6.301,57,15.579,58,5.706,59,14.406,60,5.812,61,8.379,62,6.674,63,3.416,64,10.533,65,5.106,66,11.34,67,6.268,68,8.187,69,4.863,70,3.799,71,13.056,72,7.415,73,7.955,74,15.579]],["keywords/4",[]],["title/5",[75,1204.817]],["content/5",[0,8.774,1,10.983,4,1.677,5,3.494,6,1.567,15,9.425,16,8.322,23,3.55,24,5.586,28,7,29,6.713,30,7.614,31,11.126,32,3.425,33,2.093,34,3.705,35,4.641,36,8.443,37,2.717,53,6.836,63,3.549,65,5.304,75,16.512,76,9.62,77,13.084,78,13.563,79,8.57,80,14.965,81,11.542]],["keywords/5",[]],["title/6",[42,1506.563]],["content/6",[0,6.502,1,10.657,4,2.067,5,3.694,6,1.657,12,4.181,23,4.007,24,5.906,28,7.4,29,7.097,30,8.049,31,8.244,32,4.222,33,2.212,34,3.917,35,4.907,36,6.256,37,3.349,42,18.596,43,17.051,44,3.339,45,3.402,46,3.882,49,8.049,50,9.432,63,2.63,69,3.743,81,8.552,82,8.391,83,8.729,84,10.645,85,5.776,86,4.845,87,4.167,88,4.112,89,10.774,90,11.992,91,17.11,92,5.113,93,11.089]],["keywords/6",[]],["title/7",[75,1013.728,94,975.122]],["content/7",[0,7.207,1,10.649,4,2.359,5,3.971,6,1.781,12,4.635,23,3.937,24,6.349,28,5.749,29,5.514,30,6.253,31,9.138,32,3.893,33,2.727,34,4.211,35,6.527,36,6.934,37,3.088,43,10.419,44,3.701,58,4.869,69,4.149,75,13.638,80,17.009,81,9.48,84,7.093,88,4.558,89,8.37,92,5.667,93,12.292,94,13.118,95,13.292,96,7.524,97,4.667,98,5.694,99,4.683]],["keywords/7",[]],["title/8",[58,495.646,99,476.718,100,501.136]],["content/8",[0,9.353,1,9.743,4,1.998,22,5.447,23,4.056,24,4.917,25,0.622,26,7.839,27,7.839,28,6.16,29,7.155,31,6.43,32,3.014,33,1.209,34,2.142,35,4.085,36,4.879,37,2.391,44,2.604,50,5.156,53,3.951,58,8.968,61,5.031,94,5.817,99,8.457,100,9.068,101,8.185,102,8.649,103,4.168,104,6.324,105,5.071,106,6.43,107,2.297,108,10.061,109,9.209,110,4.126,111,3.529,112,6.134,113,4.351,114,4.141,115,14.244,116,3.863,117,13.171,118,11.937,119,14.244,120,14.244,121,5.62,122,4.105,123,9.353,124,3.503,125,3.701,126,8.649,127,8.649,128,8.649,129,9.353,130,9.353,131,4.743,132,9.353]],["keywords/8",[]],["title/9",[104,1259.934]],["content/9",[0,9.056,1,11.115,4,2.22,23,3.801,24,5.765,28,7.224,29,6.928,30,7.858,31,11.483,32,3.535,33,2.16,34,3.824,35,6.143,36,8.713,37,2.804,68,8.778,72,7.95,73,8.529,99,5.884,104,16.865,133,16.703,134,9.454,135,16.703]],["keywords/9",[]],["title/10",[104,1060.102,136,904.237]],["content/10",[0,8.261,1,10.729,5,3.29,23,4.063,24,5.259,28,6.59,29,6.32,30,7.168,31,10.475,32,4.27,33,1.97,34,3.489,35,4.369,36,7.949,37,2.558,42,18.288,43,15.815,44,4.243,45,4.322,46,4.932,49,7.168,50,8.399,104,13.642,136,11.636,137,15.237,138,15.237,139,15.237,140,11.944,141,15.237,142,8.964]],["keywords/10",[]],["title/11",[100,580.619,140,1229.009]],["content/11",[0,5.712,1,8.257,4,1.614,6,1.02,23,4.214,24,3.637,26,8.83,28,4.557,29,4.37,30,7.327,31,7.243,32,2.23,33,1.362,34,3.566,35,3.021,36,5.496,37,1.769,44,2.934,45,2.989,87,3.661,100,7.58,107,2.588,109,6.812,110,4.648,116,4.351,140,17.122,142,6.198,143,10.536,144,6.475,145,10.536,146,10.536,147,11.819,148,10.686,149,6.46,150,10.536,151,5.716,152,2.098,153,15.575,154,3.873,155,3.141,156,5.579,157,10.536,158,6.634,159,15.575,160,10.536,161,3.328,162,3.724,163,8.518,164,4.891,165,10.536,166,5.712,167,4.579,168,9.743,169,9.22,170,9.22,171,2.751,172,6.076,173,6.263,174,6.263,175,6.553,176,3.845,177,5.418,178,10.536]],["keywords/11",[]],["title/12",[7,299.457,107,235.629,179,476.813,180,441.279,181,255.603,182,191.399]],["content/12",[]],["keywords/12",[]],["title/13",[25,104.266,179,779.313]],["content/13",[4,1.788,5,3.725,7,6.827,25,1.597,33,2.828,67,6.943,86,6.973,107,4.239,110,7.612,179,10.871,183,5.435,184,3.742,185,4.169,186,6.464,187,13.441,188,12.267,189,8.811,190,10.23,191,5.188,192,5.802,193,6.914]],["keywords/13",[]],["title/14",[194,1085.252]],["content/14",[4,1.602,5,3.338,6,1.497,9,4.772,25,1.225,33,3.131,45,2.959,53,4.406,64,7.052,65,5.067,67,4.197,107,2.562,152,2.077,180,10.006,182,2.081,184,4.417,192,3.507,194,14.103,195,5.523,196,3.246,197,7.439,198,4.13,199,4.994,200,3.892,201,4.029,202,3.209,203,7.839,204,4.935,205,4.017,206,3.713,207,10.154,208,12.89,209,9.128,210,6.943,211,8.433,212,13.529,213,10.431,214,10.431,215,8.125,216,9.645,217,3.726,218,7.956,219,3.877,220,5.465,221,10.431,222,2.844,223,5.363,224,3.163,225,3.739,226,5.326,227,5.363,228,4.555,229,5.851,230,3.295,231,7.439,232,6.2,233,9.128,234,4.825,235,9.615,236,7.171,237,6.84,238,7.052,239,5.326,240,2.329,241,3.877,242,5.75,243,4.798]],["keywords/14",[]],["title/15",[244,1723.121]],["content/15",[4,1.579,7,6.298,20,6.825,33,2.609,46,4.932,107,3.743,110,6.721,180,7.009,181,4.06,182,3.04,184,4.375,186,4.504,190,7.127,220,5.386,244,22.265,245,15.237,246,4.813,247,14.09,248,8.261,249,8.624,250,10.766,251,8.472,252,7.823,253,17.656,254,9.057,255,6.21,256,7.168,257,6.825,258,11.622,259,12.77,260,7.891,261,13.334,262,8.131,263,12.319,264,4.417,265,5.481,266,14.09]],["keywords/15",[]],["title/16",[261,1630.706]],["content/16",[1,6.414,2,5.272,4,1.492,5,3.108,6,1.394,7,4.493,25,0.957,37,2.417,51,3.445,52,3.966,53,6.08,65,4.718,69,4.493,75,9.307,76,8.557,86,5.816,88,4.936,100,5.331,131,7.3,152,2.866,183,4.534,184,4.212,189,7.35,205,3.74,206,5.124,220,5.088,224,4.364,225,5.16,251,8.003,260,10.059,261,21.505,267,12.064,268,14.395,269,12.064,270,14.395,271,5.106,272,6.137,273,4.259,274,9.307,275,4.793,276,8.745,277,8.302,278,3.875,279,8.557,280,9.182,281,5.582,282,10.98]],["keywords/16",[]],["title/17",[283,1561.679]],["content/17",[2,5.384,4,2.302,5,3.173,6,1.907,7,6.149,33,2.873,45,4.17,51,3.517,58,7.215,63,3.224,88,5.04,99,7.827,100,5.443,182,2.933,190,6.876,246,4.644,250,7.844,273,3.224,283,21.35,284,5.214,285,10.105,286,9.034,287,7.306,288,7.259,289,6.837,290,11.212,291,7.038,292,11.522,293,4.115,294,11.884,295,9.034,296,10.941,297,4.17,298,7.213,299,9.142,300,8.103,301,3.35]],["keywords/17",[]],["title/18",[302,1267.615,303,1372.068]],["content/18",[18,5.165,37,2.596,44,4.306,110,6.821,156,10.788,180,7.113,182,3.085,184,3.353,189,7.896,192,5.199,194,9.006,196,4.813,199,7.404,200,5.769,207,8.524,220,5.466,224,4.688,235,9.617,241,5.748,242,8.524,243,7.113,262,8.252,264,4.483,293,4.328,302,19.58,303,19.939,304,7.788,305,9.617,306,11.028,307,8.918,308,5.005,309,15.463,310,6.999,311,6.624,312,14.299,313,15.463,314,5.485,315,5.036]],["keywords/18",[]],["title/19",[302,1267.615,316,1141.31]],["content/19",[4,1.109,6,1.525,15,6.231,23,3.623,25,0.711,32,3.333,33,1.383,34,3.606,46,3.463,65,5.163,69,3.34,70,2.609,72,5.092,82,11.023,107,2.628,110,4.719,113,4.976,114,3.11,151,3.301,152,2.13,164,5.871,180,4.921,181,2.851,184,3.416,185,2.584,190,7.368,196,3.33,205,2.78,206,3.808,207,5.897,220,3.782,228,4.672,233,9.362,254,6.359,272,4.561,273,4.522,274,6.917,289,4.976,297,3.035,302,19.219,303,13.784,316,13.609,317,10.698,318,8.966,319,7.019,320,15.752,321,6.575,322,5.79,323,5.897,324,9.362,325,7.486,326,8.386,327,10.698,328,8.65,329,4.767,330,2.572,331,6.917,332,9.362,333,9.893,334,3.085,335,11.234,336,15.752,337,10.698,338,10.698,339,10.698,340,10.698,341,9.363,342,10.698,343,10.698,344,10.698,345,8.16]],["keywords/19",[]],["title/20",[346,1561.679]],["content/20",[6,2.151,33,2.873,46,5.728,136,10.206,180,8.14,181,4.715,205,6.311,206,6.299,217,6.321,220,7.855,346,14.831,347,8.14,348,10.016,349,11.442,350,15.486,351,13.871,352,15.486,353,15.486,354,17.696,355,6.974,356,8.231,357,12.621]],["keywords/20",[]],["title/21",[358,1723.121]],["content/21",[4,1.967,110,8.375,151,5.858,181,5.059,205,4.933,206,6.758,220,6.712,252,7.362,288,9.376,293,5.315,297,5.386,305,11.808,346,19.452,358,21.463,359,13.821,360,10.846,361,10.65]],["keywords/21",[]],["title/22",[362,1259.934]],["content/22",[33,2.109,37,2.738,107,4.006,180,7.503,181,4.346,184,3.537,194,12.286,201,6.3,202,6.489,205,4.238,206,5.806,224,4.945,272,6.954,273,3.577,293,4.566,304,8.215,311,9.037,346,13.669,362,14.263,363,15.082,364,8.843,365,16.311,366,10.161,367,14.274,368,10.271,369,16.311,370,10.271,371,8.509,372,10.546,373,4.206,374,13.187,375,8.509]],["keywords/22",[]],["title/23",[239,951.488]],["content/23",[33,1.97,61,8.195,134,8.624,152,3.034,184,5.221,189,7.78,192,5.123,202,4.687,206,5.424,239,11.55,240,5.051,260,7.891,273,3.341,274,9.852,282,11.622,301,3.473,373,3.929,376,14.09,377,11.944,378,9.155,379,6.971,380,16.466,381,4.917,382,11.631,383,14.09,384,15.237,385,5.581,386,11.091,387,8.874,388,8.547,389,7.835,390,11.341,391,7.674,392,7.087,393,8.195]],["keywords/23",[]],["title/24",[0,1010.306]],["content/24",[0,12.241,1,8.09,4,1.351,5,2.816,6,1.263,7,4.071,25,0.867,33,1.687,37,3.048,40,4.979,41,8.819,52,3.594,63,3.981,65,4.275,84,6.96,97,4.579,100,4.83,148,7.522,152,3.614,184,2.828,201,5.038,218,13.847,239,11.528,243,6,271,4.627,277,10.47,278,3.511,287,6.483,289,6.067,292,10.224,308,5.876,371,6.804,393,7.015,394,11.449,395,5.484,396,5.931,397,8.32,398,6.798,399,7.13,400,8.174,401,5.842,402,7.522,403,10.545,404,9.949,405,6.707,406,11.414,407,6.36,408,4.315,409,8.32,410,8.433]],["keywords/24",[]],["title/25",[411,1630.706]],["content/25",[0,9.434,4,1.803,33,2.843,86,7.031,134,9.849,152,3.464,180,8.004,182,3.472,184,3.773,222,4.745,273,4.821,287,8.649,288,8.593,411,19.24,412,17.4,413,9.012,414,8.594,415,17.4,416,14.634,417,7.835,418,13.64,419,10.572,420,10.572,421,9.012]],["keywords/25",[]],["title/26",[422,1723.121]],["content/26",[0,8.774,4,1.677,6,1.567,88,5.549,114,6.102,182,3.229,184,3.51,198,4.323,200,6.038,202,4.978,207,12.841,219,6.016,239,8.264,240,3.614,262,8.636,269,13.563,287,8.044,310,7.325,378,9.724,422,19.408,423,9.946,424,10.464,425,5.822,426,10.065,427,5.949,428,8.704,429,14.965,430,20.989,431,14.965,432,8.505,433,11.781,434,16.184,435,7.404]],["keywords/26",[]],["title/27",[436,1723.121]],["content/27",[0,8.322,4,1.59,7,4.791,41,10.378,107,4.98,125,6.074,154,5.642,181,6.049,190,7.18,196,4.777,220,8.025,229,8.61,230,4.849,239,7.837,246,4.849,262,10.819,265,5.522,289,7.139,290,11.708,308,4.968,323,8.461,382,7.893,385,5.622,436,20.992,437,6.024,438,7.592,439,10.741,440,7.1,441,11.708,442,11.173,443,13.432,444,10.741,445,15.349,446,11.425,447,9.791,448,12.41]],["keywords/27",[]],["title/28",[295,1145.198]],["content/28",[1,5.776,2,6.62,4,1.343,6,1.75,7,6.497,9,5.93,10,7.152,12,6.302,25,1.202,33,1.676,37,3.494,51,3.102,52,3.571,63,2.842,84,6.917,136,7.475,156,6.864,176,4.73,190,6.063,201,5.006,222,3.534,230,4.095,246,4.095,266,11.986,271,4.598,273,2.842,278,3.489,293,3.628,295,13.838,297,3.677,352,11.343,408,4.288,409,8.268,447,8.268,448,14.613,449,12.962,450,12.962,451,7.966,452,5.995,453,11.343,454,8.38,455,6.206,456,11.343,457,8.764,458,6.029,459,13.787,460,9.887,461,10.863,462,5.15,463,9.244,464,9.648,465,9.648,466,6.762,467,4.582,468,5.93,469,10.16]],["keywords/28",[]],["title/29",[470,1863.425]],["content/29",[4,1.59,6,1.486,7,4.791,15,8.939,20,6.875,33,1.985,125,6.074,184,4.397,201,5.928,202,6.237,220,5.426,234,7.1,240,3.427,254,9.124,289,7.139,305,9.546,311,6.575,366,9.766,373,3.958,382,7.893,385,5.622,387,8.939,471,22.702,472,13.432,473,11.425,474,8.852,475,14.193,476,9.325,477,11.807,478,9.546,479,9.222,480,5.522,481,8.461,482,8.391,483,8.255,484,8.61,485,12.032,486,9.124,487,9.665]],["keywords/29",[]],["title/30",[488,1561.679]],["content/30",[2,6.268,4,1.773,5,3.695,6,1.657,7,7.466,10,6.772,11,11.223,12,5.968,33,2.213,51,4.095,88,5.868,98,7.332,100,8.857,110,7.549,198,4.572,200,6.385,202,5.265,373,4.414,459,13.055,488,18.233,489,12.739,490,6.8,491,12.458,492,11.572,493,10.644,494,13.055]],["keywords/30",[]],["title/31",[417,705.949,495,1372.068]],["content/31",[5,3.788,6,2.14,10,6.943,40,6.698,52,6.998,61,9.438,62,7.517,63,4.847,114,5.101,190,8.208,230,5.543,378,10.543,381,5.662,402,10.12,417,7.901,488,14.706,495,15.356,496,7.09,497,15.356,498,10.913,499,9.222,500,12.279,501,9.023]],["keywords/31",[]],["title/32",[502,1723.121]],["content/32",[1,7.819,2,6.427,10,9.574,18,5.861,33,2.858,51,4.199,52,4.835,88,6.016,152,3.493,229,9.842,260,9.087,273,3.848,274,11.345,295,10.784,353,15.356,377,13.755,441,13.384,454,11.345,502,20.438,503,9.292,504,7.779,505,17.547,506,9.514,507,10.913]],["keywords/32",[]],["title/33",[508,1173.393]],["content/33",[4,1.923,25,1.412,33,1.741,37,2.26,52,6.306,60,5.023,62,5.768,63,2.953,86,5.441,92,5.741,99,4.743,111,5.081,152,2.681,183,4.241,200,5.023,202,5.709,260,9.611,273,4.657,281,5.221,292,10.554,293,3.769,297,6.024,308,4.358,319,6,322,4.95,334,3.882,370,8.478,379,6.16,454,8.705,501,6.923,508,14.412,509,13.464,510,6.828,511,13.235,512,5.511,513,8.004,514,4.827,515,6.649,516,6.923,517,7.3,518,13.464,519,7.242,520,6.094,521,10.886,522,12.45,523,7.242,524,8.829,525,7.076]],["keywords/33",[]],["title/34",[526,1723.121]],["content/34",[4,1.279,6,1.195,7,3.854,10,4.886,21,7.121,25,1.348,33,2.621,44,3.438,58,6.398,63,2.708,98,7.483,110,5.446,113,5.743,114,3.589,179,8.683,182,2.463,185,2.983,186,3.649,190,5.775,196,3.843,202,5.374,217,6.24,222,3.367,265,4.442,273,4.446,284,4.38,293,3.456,300,6.806,301,2.814,310,5.589,322,4.539,330,2.969,348,6.988,396,5.707,421,6.394,425,4.442,440,5.711,462,4.906,483,6.641,526,21.506,527,8.983,528,12.347,529,6.988,530,11.417,531,6.749,532,7.191,533,6.988,534,8.806,535,9.678,536,4.234,537,4.047,538,8.683,539,5.743,540,9.19,541,6.021,542,7.876,543,4.572,544,4.607,545,3.42,546,9.982]],["keywords/34",[]],["title/35",[547,1723.121]],["content/35",[4,1.351,5,2.816,6,1.263,7,4.071,10,5.161,25,0.867,37,3.506,41,8.819,44,3.632,46,4.222,51,3.121,52,3.594,65,4.275,70,3.181,75,8.433,107,3.204,110,5.753,114,5.277,125,5.161,181,4.837,184,2.828,185,3.151,186,5.366,225,4.675,230,4.12,272,5.561,273,3.981,275,4.343,277,7.522,278,3.511,284,4.627,293,5.082,301,2.973,308,4.222,322,4.795,334,3.761,379,5.967,440,6.033,490,5.182,529,7.382,537,4.275,547,19.309,548,8.213,549,6.855,550,7.382,551,5.935,552,6.855,553,5.842,554,6.245,555,8.112,556,4.659,557,5.182,558,10.224,559,8.32,560,6.907,561,6.136,562,7.522,563,5.587,564,6.033,565,7.382]],["keywords/35",[]],["title/36",[260,811.993,566,1077.888]],["content/36",[4,1.545,5,3.219,7,4.654,8,7.895,33,2.572,49,7.014,67,5.999,100,5.521,114,4.334,175,9.273,184,3.233,190,6.974,195,7.895,199,7.139,207,10.963,215,7.836,222,4.066,260,12.363,287,7.411,288,7.363,297,4.23,315,4.856,318,12.495,330,3.585,407,7.271,416,9.924,417,6.713,423,9.163,429,13.787,566,16.411,567,9.777,568,8.771,569,7.316,570,13.787,571,9.777,572,5.326,573,10.25,574,13.787,575,13.787,576,12.495,577,9.273]],["keywords/36",[]],["title/37",[578,1723.121]],["content/37",[6,1.52,9,7.181,25,1.044,65,6.743,70,3.828,86,6.342,107,3.855,110,6.924,181,6.116,182,4.105,195,8.312,198,4.193,202,4.828,205,4.078,219,5.834,240,3.505,242,13.428,243,9.464,272,6.692,288,7.751,304,7.906,416,10.447,479,9.431,544,5.856,561,9.679,578,14.514,579,10.148,580,7.22,581,6.661,582,11.54,583,13.736,584,10.613]],["keywords/37",[]],["title/38",[585,1723.121]],["content/38",[4,1.914,6,1.502,18,3.502,28,4.534,29,4.348,33,1.356,40,5.923,46,5.98,51,2.509,58,3.84,76,9.224,92,4.47,97,3.68,99,3.693,102,9.694,107,3.811,114,3.047,125,4.148,154,5.704,162,3.706,180,4.822,182,2.092,183,3.302,185,4.463,190,4.904,200,3.911,203,5.316,205,4.032,206,6.576,220,3.706,240,2.341,248,5.684,250,5.594,262,8.28,264,3.039,298,5.144,304,5.28,307,6.046,311,4.491,315,3.414,330,2.52,351,8.217,360,5.989,366,7.474,373,2.704,381,5.007,396,3.425,451,9.536,452,4.849,516,5.39,523,5.638,565,5.933,585,23.299,586,11.55,587,6.687,588,7.996,589,7.336,590,4.47,591,9.694,592,6.369,593,8.217,594,10.483,595,10.483,596,7.336,597,8.217,598,7.088,599,9.694,600,8.346,601,10.483,602,9.694,603,10.483,604,10.483,605,10.483,606,8.217,607,5.684,608,10.483,609,10.483,610,9.694,611,6.601]],["keywords/38",[]],["title/39",[612,1723.121]],["content/39",[1,5.849,4,1.36,6,1.765,25,0.873,33,1.697,37,3.061,49,6.175,70,3.201,86,5.303,107,3.224,181,5.582,185,3.171,220,4.64,222,4.972,225,6.536,226,6.702,241,4.879,265,4.722,273,2.878,278,3.533,297,5.172,301,4.156,310,8.253,315,6.824,319,5.849,330,3.156,396,4.288,416,8.736,423,8.066,467,4.64,483,7.059,536,4.5,537,5.976,545,3.635,554,6.284,561,6.175,563,5.622,565,7.429,612,16.86,613,4.624,614,5.677,615,11,616,9.184,617,6.95,618,8.066,619,12.137,620,12.137,621,9.36,622,5.326,623,13.125,624,13.125,625,10.011,626,10.011,627,10.288,628,7.429]],["keywords/39",[]],["title/40",[629,1506.563]],["content/40",[1,5.313,6,1.925,9,5.455,10,6.743,25,1.133,33,1.542,37,2.002,44,3.32,49,5.609,60,4.448,86,4.818,107,4.186,110,5.259,114,3.466,181,3.177,184,3.695,185,2.88,196,3.711,202,3.668,222,4.646,225,7.128,226,8.701,265,4.289,273,3.737,278,4.587,293,3.338,301,3.884,334,3.438,364,6.464,381,3.848,392,5.546,395,5.013,396,3.896,398,4.465,400,5.368,419,7.244,437,4.679,438,4.465,462,4.737,477,9.924,532,6.944,533,6.748,536,4.088,537,5.585,565,6.748,607,6.464,613,4.2,614,5.157,625,9.095,628,6.748,629,17.541,630,6.264,631,6.944,632,7.014,633,9.64,634,8.503,635,10.434,636,6.518,637,6.811,638,6.876,639,5.675,640,8.503,641,8.343,642,5.341,643,8.503]],["keywords/40",[]],["title/41",[644,1723.121]],["content/41",[6,1.592,33,2.126,40,6.275,152,3.273,162,5.811,185,3.971,186,4.859,205,5.509,206,5.852,220,5.811,230,5.193,284,5.831,315,5.354,355,6.478,414,6.426,481,9.062,483,11.404,606,12.886,625,12.539,644,19.606,645,9.671,646,16.439,647,16.439,648,10.352,649,13.291,650,9.481,651,16.439,652,7.871,653,15.201,654,16.439,655,21.202,656,9.772]],["keywords/41",[]],["title/42",[657,1723.121]],["content/42",[1,7.156,2,5.882,4,1.664,7,5.013,10,8.264,25,1.543,33,2.077,37,2.696,88,5.506,184,3.483,185,3.879,205,4.173,220,7.382,284,7.408,293,5.846,301,3.66,315,6.802,325,11.238,379,7.347,536,5.506,537,5.263,559,10.244,639,7.643,657,19.311,658,16.059,659,7.387,660,9.008,661,10.244,662,11.453,663,8.853,664,8.035]],["keywords/42",[]],["title/43",[665,1723.121]],["content/43",[4,2.128,25,1.182,33,2.297,37,2.123,40,4.828,41,8.551,100,6.579,107,4.364,181,3.37,185,3.055,195,6.697,205,4.616,220,6.28,225,4.534,226,6.458,230,3.995,240,2.824,241,4.701,248,6.857,260,6.55,297,3.588,298,6.206,372,8.177,391,6.37,420,7.684,437,4.964,478,11.05,515,6.246,536,6.092,599,11.695,662,9.019,663,6.972,665,23.112,666,12.647,667,9.647,668,6.55,669,11.067,670,7.094,671,10.599,672,7.866,673,6.597,674,6.507,675,5.882,676,9.206,677,9.913,678,7.964,679,12.647,680,11.067,681,12.647,682,10.225,683,8.85,684,11.695,685,9.206,686,11.695,687,12.647,688,7.684,689,6.913]],["keywords/43",[]],["title/44",[25,45.956,52,190.408,97,242.606,107,169.742,181,184.131,257,309.534,264,200.341,583,604.745,690,691.049,691,691.049]],["content/44",[]],["keywords/44",[]],["title/45",[52,513.439]],["content/45",[4,1.677,5,3.494,6,2.032,7,5.052,37,3.524,51,3.873,52,5.783,60,6.038,114,6.102,198,4.323,205,4.205,206,5.761,273,3.549,297,4.591,308,6.794,322,5.949,396,5.288,501,8.322,541,7.892,556,5.781,557,6.43,572,5.781,659,7.445,692,8.264,693,7.249,694,8.044,695,7.992,696,10.065,697,10.323,698,10.464,699,10.464,700,12.046,701,10.065]],["keywords/45",[]],["title/46",[4,140.222,52,372.867,257,606.144]],["content/46",[4,1.343,6,2.18,12,4.519,37,2.176,40,6.9,44,5.033,52,3.571,63,2.842,70,4.408,87,4.504,107,3.184,121,7.788,149,7.497,151,3.999,181,4.816,182,2.586,184,2.811,185,5.027,205,4.696,206,4.614,220,4.582,240,4.036,243,5.962,264,3.758,273,3.964,278,3.489,293,3.628,314,6.412,315,4.222,389,6.665,400,5.836,428,6.971,468,8.269,490,5.15,552,6.812,581,5.501,675,6.029,702,12.962,703,4.836,704,6.812,705,7.549,706,6.618,707,8.764,708,8.162,709,7.966,710,10.863,711,5.501,712,7.875,713,8.38,714,8.627,715,9.648,716,4.679,717,6.206,718,5.26,719,8.911]],["keywords/46",[]],["title/47",[4,123.338,52,327.97,72,566.533,510,603.606]],["content/47",[1,4.113,3,4.245,5,3.044,6,1.656,25,1.138,37,1.549,40,3.523,44,2.57,46,4.564,51,4.094,52,6.235,58,3.38,60,3.443,65,3.025,69,2.881,86,3.729,88,3.164,96,5.224,99,3.251,110,4.071,114,4.974,125,3.652,152,2.807,182,1.841,183,2.907,185,2.229,192,3.103,195,4.887,196,2.872,202,4.337,222,2.517,224,2.798,232,5.486,252,3.579,256,4.342,273,3.092,278,2.484,281,7.427,287,4.587,297,4.853,299,5.74,300,7.772,308,6.2,310,4.177,315,3.006,322,3.393,330,4.113,348,5.224,371,4.815,379,4.222,390,6.869,466,4.815,479,5.545,480,3.32,481,5.088,485,11.052,496,5.697,506,5.004,529,5.224,531,5.045,536,3.164,538,4.587,541,4.5,546,7.462,549,4.85,553,4.134,563,6.04,572,3.297,613,3.251,614,6.098,630,3.393,695,4.558,698,5.967,700,10.494,703,3.443,720,7.04,721,8.076,722,4.648,723,6.24,724,9.229,725,9.229,726,6.718,727,6.458,728,8.076,729,8.076,730,13.038,731,9.229,732,3.229,733,9.229,734,4.648,735,4.155,736,3.456,737,3.103,738,5.967,739,5.967,740,4.293,741,5.607,742,4.177,743,6.458]],["keywords/47",[]],["title/48",[25,79.157,171,310.82,191,357.826,257,533.158]],["content/48",[]],["keywords/48",[]],["title/49",[25,104.266,29,650.349]],["content/49",[25,1.625,28,10.568,29,10.136,30,9.73,182,4.127,257,9.264,319,9.217]],["keywords/49",[]],["title/50",[330,286.181,744,885.975,745,650.672,746,997.556]],["content/50",[6,1.347,9,6.366,22,5.67,23,3.702,25,1.262,46,4.504,83,10.128,109,8.996,155,4.147,162,4.918,164,4.369,183,6.804,198,5.07,257,8.502,330,4.563,366,6.702,425,5.005,722,12.625,744,16.08,745,10.376,746,11.661,747,15.407,748,15.346,749,15.907,750,12.176,751,8.551,752,12.176,753,12.866,754,10.907,755,13.914,756,13.914,757,8.996,758,6.018,759,13.914,760,12.866]],["keywords/50",[]],["title/51",[33,174.985,198,361.493,224,410.309]],["content/51",[4,0.991,19,4.344,22,3.803,23,4.207,24,5.002,25,0.636,32,3.067,33,2.262,34,3.318,35,5.595,37,3.276,49,4.501,52,3.993,63,2.098,69,2.987,73,4.886,111,3.61,114,2.782,151,2.952,158,6.025,161,3.023,167,4.158,198,2.556,224,2.901,257,6.491,264,2.774,271,3.394,275,5.824,297,2.714,334,2.759,355,5.711,423,5.88,440,4.426,462,3.802,467,3.382,510,4.852,531,5.23,539,4.45,551,4.354,572,3.418,590,4.08,607,5.188,622,3.883,630,7.172,668,4.955,723,6.469,732,3.348,758,4.138,761,6.965,762,7.122,763,4.886,764,5.23,765,5.733,766,11.716,767,5.466,768,9.992,769,6.965,770,4.725,771,7.008,772,3.969,773,6.893,774,5.23,775,4.581,776,6.897,777,4.264,778,7.122,779,6.369,780,5.067,781,9.568,782,5.629,783,8.373]],["keywords/51",[]],["title/52",[784,1141.31,785,478.129]],["content/52",[23,4.255,32,4.464,33,1.45,34,5.659,35,6.704,63,2.46,171,2.929,462,8.38,490,4.457,545,3.107,642,5.024,659,5.16,682,13.184,768,6.408,784,8.165,785,3.421,786,4.805,787,7.903,788,9.4,789,13.666,790,9.816,791,9.816,792,6.469,793,9.816,794,14.27,795,9.816,796,9.816,797,14.27,798,9.816,799,11.21,800,7.849,801,9.4,802,9.816,803,16.813,804,9.311,805,12.599,806,7.855,807,9.069,808,9.4,809,5.539,810,9.816]],["keywords/52",[]],["title/53",[273,261.029,284,422.228,545,329.694,735,535.943]],["content/53",[25,1.31,51,4.715,192,6.625,281,7.641,284,6.99,301,4.491,330,4.738,401,8.826,425,7.089,537,6.458,538,9.794,544,7.352,545,5.458,556,7.039,611,12.408]],["keywords/53",[]],["title/54",[167,517.318,183,374.904,722,599.526,811,885.975]],["content/54",[6,1.644,23,4.229,35,4.868,257,7.603,341,10.091,768,12.364,783,14.855,804,8.227,812,12.106,813,16.975,814,16.975,815,14.855,816,15.697,817,16.975,818,12.635,819,11.879,820,11.67,821,13.724,822,16.975,823,13.306,824,11.879,825,11.478]],["keywords/54",[]],["title/55",[257,702.281,826,864.293]],["content/55",[4,1.561,22,5.904,23,4.241,24,5.201,25,0.67,32,3.189,33,1.303,34,2.307,35,2.89,37,1.692,124,3.774,151,3.109,158,6.346,161,4.76,164,3.165,172,5.812,183,4.746,198,2.692,241,3.746,257,4.514,275,3.355,284,6.402,297,2.859,319,4.491,381,3.252,722,5.076,732,3.526,748,8.147,764,8.237,768,5.757,776,7.172,777,4.491,819,7.052,820,6.928,821,8.147,823,7.899,824,7.052,825,6.814,826,11.04,827,6.193,828,11.493,829,9.319,830,13.933,831,9.319,832,15.068,833,20.027,834,13.186,835,9.319,836,9.319,837,10.077,838,10.077,839,10.077,840,13.933,841,10.077,842,10.077,843,4.561,844,9.319,845,6.608,846,9.319,847,8.147,848,7.899,849,7.899,850,8.819,851,10.077,852,10.077]],["keywords/55",[]],["title/56",[19,356.811,25,79.157,52,327.97,257,533.158]],["content/56",[4,1.985,19,5.744,25,1.552,33,2.478,85,9.229,182,3.823,255,7.809,257,10.455,273,4.202,523,10.306,539,8.912,621,13.665,782,11.272,853,10.946,854,15.02,855,11.39]],["keywords/56",[]],["title/57",[25,89.993,202,416.281,563,579.706]],["content/57",[4,1.442,6,2.351,25,1.667,33,1.799,37,3.187,184,4.116,185,4.585,222,5.176,252,5.395,297,5.385,307,8.024,315,4.532,330,3.345,394,7.056,425,5.005,435,9.884,440,6.436,480,7.772,556,6.78,581,5.905,652,6.662,695,6.871,718,5.646,719,9.566,742,9.778,765,6.221,784,10.128,856,8.996,857,9.76,858,7.008,859,10.613,860,8.453,861,8.829,862,8.762,863,8.024]],["keywords/57",[]],["title/58",[52,432.005,703,584.959]],["content/58",[4,2.164,5,3.467,6,1.555,25,1.068,37,3.506,46,5.198,51,3.843,52,7.019,63,3.522,67,8.403,185,3.879,201,6.203,222,5.695,391,10.519,405,8.258,484,9.008,533,9.089,693,7.193,694,7.982,703,7.791,861,7.47,864,10.531,865,10.531,866,9.447,867,16.059,868,13.459,869,10.531,870,12.588,871,12.984]],["keywords/58",[]],["title/59",[52,432.005,179,779.313]],["content/59",[4,1.745,25,1.432,37,3.615,44,4.688,51,4.029,62,7.213,63,3.692,97,5.911,98,7.213,100,8.79,122,7.39,142,9.906,185,4.067,199,8.062,264,4.881,287,8.369,297,4.777,395,7.08,536,5.773,550,9.53,827,10.348,861,7.832,872,8.481,873,10.117,874,9.546,875,8.916,876,10.472,877,9.362]],["keywords/59",[]],["title/60",[37,199.834,51,284.834,63,261.029,689,650.672]],["content/60",[25,1.389,37,3.507,40,7.974,51,4.999,63,4.581,114,6.073,193,8.37,554,10.002,878,13.699]],["keywords/60",[]],["title/61",[191,471.331,879,610.406]],["content/61",[23,2.149,25,1.674,37,2.368,63,3.093,70,3.439,97,4.951,181,3.758,182,2.814,185,3.407,190,6.597,202,4.338,257,6.317,265,5.073,311,6.041,322,5.184,366,6.793,388,7.91,409,8.996,410,9.118,462,5.603,523,11.7,541,6.877,545,3.906,555,8.771,573,9.695,596,9.868,622,5.723,637,8.056,659,6.487,706,7.201,730,13.04,853,8.056,872,7.103,880,10.757,881,10.265,882,8.667,883,11.794,884,8.213,885,13.944,886,5.037,887,8.213,888,7.357,889,9.535,890,10.057,891,7.774,892,8.667,893,5.93]],["keywords/61",[]],["title/62",[25,70.65,33,137.374,37,178.358,51,374.991]],["content/62",[]],["keywords/62",[]],["title/63",[275,620.473]],["content/63",[4,1.882,5,3.92,6,2.186,37,3.049,51,4.345,200,6.775,232,10.794,275,6.046,334,5.236,421,9.404,440,8.399,481,10.01,527,9.337,529,10.278,556,6.487,557,7.215,694,9.026,697,11.583,703,6.775,785,5.538,894,6.959,895,15.218,896,15.218]],["keywords/63",[]],["title/64",[52,513.439]],["content/64",[6,1.774,37,3.075,51,4.384,52,5.047,114,5.325,182,3.655,186,5.415,200,6.834,222,6.191,273,4.017,278,4.931,322,6.734,405,9.42,536,6.281,541,8.933,560,9.7,563,7.847,695,9.047,732,6.409,897,12.013,898,12.594,899,13.335]],["keywords/64",[]],["title/65",[5,292.154,6,131.019,51,323.825]],["content/65",[4,1.477,5,4.388,6,2.308,9,3.191,30,3.281,37,2.394,40,2.662,44,1.942,51,5.066,52,1.921,63,2.479,70,5.163,87,6.264,96,6.399,103,6.354,107,1.713,113,3.244,149,2.893,155,3.37,176,2.545,181,3.799,182,4.588,185,3.962,186,3.342,192,3.801,196,3.519,198,3.02,200,6.119,202,2.145,204,3.3,222,4.915,227,3.586,240,1.557,246,2.203,273,2.479,275,2.322,291,3.339,301,3.738,304,3.512,314,2.474,330,1.677,334,2.011,373,1.798,382,3.586,392,3.244,396,4.659,401,3.124,407,3.401,479,4.19,480,4.067,512,2.855,520,3.157,525,5.942,532,4.061,536,2.391,537,3.706,543,4.187,559,4.448,561,5.319,617,3.693,675,5.259,692,3.561,697,4.448,704,3.665,706,3.561,708,4.391,711,2.959,717,3.339,718,2.83,786,4.843,863,4.022,872,3.512,886,4.039,887,4.061,893,4.754,899,5.076,900,6.449,901,2.662,902,3.984,903,5.638,904,5.076,905,4.145,906,7.731,907,8.763,908,5.638,909,5.466,910,5.737,911,4.448,912,3.638,913,5.844,914,5.319,915,5.191,916,6.449,917,5.844,918,3.947,919,4.88,920,3.693,921,3.612,922,5.319,923,4.573,924,4.448,925,5.844,926,3.561,927,6.974,928,6.103,929,6.449,930,6.449,931,4.145,932,3.173,933,5.466,934,4.286,935,5.638,936,3.466,937,3.046,938,5.466]],["keywords/65",[]],["title/66",[37,227.19,51,323.825,703,504.882]],["content/66",[5,2.945,6,2.228,12,4.756,22,3.58,33,2.421,37,3.864,51,5.116,52,3.758,58,6.858,63,4.106,86,5.512,96,7.721,114,3.965,182,2.722,185,3.295,201,5.268,206,4.856,240,3.046,252,5.289,275,4.542,322,5.014,334,3.933,405,7.014,437,7.349,531,7.457,536,4.677,551,6.207,685,9.929,693,6.11,694,6.78,703,7.977,785,4.16,866,8.025,893,5.735,926,6.965,939,11.028,940,11.376,941,10.153,942,8.196,943,7.169,944,7.651,945,10.692,946,12.613,947,9.378,948,13.641,949,13.641,950,9.079]],["keywords/66",[]],["title/67",[16,449.64,33,113.071,51,209.248,100,323.821,417,393.72,951,765.226,952,494.931]],["content/67",[3,9.151,33,2.572,51,4.76,79,10.534,85,9.582,100,7.367,114,5.783,182,3.969,240,4.442,417,8.957,462,7.904,554,9.525,560,10.534,699,12.862]],["keywords/67",[]],["title/68",[114,346.026,284,422.228,670,667.664,953,885.975]],["content/68",[4,1.915,6,1.789,33,2.39,70,4.507,182,3.687,200,6.895,284,6.556,301,4.212,417,8.321,533,10.46,537,6.057,545,5.119,613,6.51,701,11.494,732,6.466,920,9.786,924,11.789,953,13.756,954,9.713,955,10.659,956,11.637,957,11.228]],["keywords/68",[]],["title/69",[33,137.374,97,372.969,206,378.168,240,237.216,958,491.403]],["content/69",[33,2.39,70,5.567,97,6.488,100,6.844,149,7.666,182,3.687,200,6.895,206,6.579,240,4.127,301,4.212,314,6.556,532,10.763,543,6.844,673,9.641,704,9.713,786,7.917,893,7.771,911,11.789,940,11.228,958,8.548,959,16.173]],["keywords/69",[]],["title/70",[63,296.762,301,308.418,786,579.706]],["content/70",[3,8.655,12,6.56,33,2.433,44,5.239,63,5.062,70,4.588,182,3.754,200,7.02,240,4.201,334,5.425,417,8.472,514,6.745,536,6.451,617,9.963,680,16.465,717,9.008,786,8.06,956,11.848,960,15.212]],["keywords/70",[]],["title/71",[16,546.285,25,70.65,37,178.358,51,254.223,952,601.311]],["content/71",[25,1.375,37,3.472,51,4.949,96,11.707,114,6.013,202,6.362,560,10.952,699,13.373,715,15.395,961,11.401]],["keywords/71",[]],["title/72",[37,178.358,195,562.569,400,478.346,554,508.659,639,505.648]],["content/72",[1,8.781,25,1.31,37,3.308,44,5.487,65,6.458,182,3.932,186,5.824,195,10.434,255,8.031,400,8.872,536,6.756,553,8.826,554,9.434,639,9.379,962,14.667]],["keywords/72",[]],["title/73",[62,410.941,152,190.987,217,342.668,414,374.974,544,357.9,952,542.959]],["content/73",[4,1.985,6,1.855,21,11.051,25,1.274,70,4.673,152,3.815,182,3.823,200,7.149,217,6.845,293,5.364,414,7.49,533,10.845,695,9.463,701,11.917,812,13.665,894,7.343,920,10.146,963,7.401]],["keywords/73",[]],["title/74",[62,410.941,86,387.621,297,272.135,300,528.808,414,374.974,417,431.927]],["content/74",[25,1.336,125,7.947,190,9.395,196,6.251,297,5.698,300,11.072,541,9.794,630,7.383,904,14.62,964,20.085,965,12.491,966,16.832,967,14.62]],["keywords/74",[]],["title/75",[152,269.421,183,426.225,737,454.965]],["content/75",[6,1.908,25,1.31,152,3.923,183,6.206,196,6.133,272,8.401,438,7.379,536,6.756,545,5.458,737,6.625,968,15.446,969,13.323,970,15.03,971,11.713,972,12.922]],["keywords/75",[]],["title/76",[7,489.185,182,211.969,288,524.652,514,380.833]],["content/76",[7,7.411,25,1.31,182,3.932,196,6.133,200,7.352,255,8.031,394,9.992,409,12.569,514,7.064,553,8.826,586,14.667,614,8.522,645,11.592,921,10.205]],["keywords/76",[]],["title/77",[183,275.416,273,191.76,330,210.237,425,314.57,544,326.242,545,242.203,722,440.43]],["content/77",[6,1.486,23,4.19,32,4.29,70,4.944,164,6.367,183,4.834,196,4.777,273,4.446,284,5.445,297,4.354,301,3.498,330,3.69,396,5.015,425,5.522,525,8.067,537,5.031,543,5.684,544,5.727,545,4.251,622,6.229,804,7.439,893,6.454,920,8.128,973,8.255,974,9.791,975,8.255,976,13.432,977,12.864,978,12.864,979,12.41,980,12.864]],["keywords/77",[]],["title/78",[183,334.613,273,232.977,514,380.833,981,606.904,982,566.919]],["content/78",[6,1.963,63,4.447,155,6.045,278,5.459,512,8.301,622,8.23,910,8.16,963,7.833,981,11.585,982,10.822,983,12.055,984,12.464]],["keywords/78",[]],["title/79",[278,364.276,330,325.357,765,443.523]],["content/79",[25,1.349,33,2.622,252,7.864,278,5.459,293,5.677,297,5.753,330,4.876,334,5.847,545,5.617,614,8.771,765,6.647,973,10.908]],["keywords/79",[]],["title/80",[281,461.561,297,337.67,379,544.573,614,514.812]],["content/80",[6,2.285,25,1.298,51,4.671,58,7.15,65,6.398,182,3.895,278,5.255,281,9.153,297,5.538,334,5.628,379,8.931,613,6.876,985,9.079,986,13.42]],["keywords/80",[]],["title/81",[5,292.154,152,269.421,742,612.527]],["content/81",[6,1.926,37,4.008,63,4.362,152,3.961,334,5.736,419,12.086,525,10.455,660,11.158,718,8.073,742,9.004,944,11.158,963,7.683,984,12.225]],["keywords/81",[]],["title/82",[184,258.124,220,420.766,394,603.606,982,635.181]],["content/82",[6,1.908,51,4.715,155,5.874,184,4.273,219,7.324,220,6.966,240,4.4,394,9.992,395,8.285,554,9.434,613,6.942,617,10.434,622,7.996,982,10.515,987,12.74]],["keywords/82",[]],["title/83",[935,1506.563]],["content/83",[1,6.79,7,4.756,25,1.342,33,1.97,37,3.387,49,7.168,51,5.413,70,3.716,114,4.429,182,4.025,186,4.504,190,7.127,196,6.28,198,4.07,200,7.527,202,4.687,256,7.168,265,5.481,297,4.322,300,8.399,301,3.473,417,6.861,437,5.98,462,6.054,514,5.462,537,4.994,560,8.068,562,8.787,703,5.685,866,8.964,910,6.131,937,6.655,938,11.944,963,5.885,988,10.867,989,10.867,990,11.944,991,8.399,992,10.867]],["keywords/83",[]],["title/84",[191,471.331,879,610.406]],["content/84",[4,1.626,25,1.682,37,2.635,51,3.756,87,5.454,105,11.155,125,6.211,152,3.125,171,4.099,190,7.342,191,4.719,222,4.28,265,5.647,293,5.759,366,7.561,398,5.878,523,11.066,853,11.753,872,7.906,879,8.01,882,9.646,883,11.155,884,9.141,886,5.607,887,9.141,937,6.855,993,7.561,994,8.442,995,11.194,996,7.105,997,11.426,998,11.194]],["keywords/84",[]],["title/85",[25,79.157,33,153.915,51,284.834,401,533.158]],["content/85",[]],["keywords/85",[]],["title/86",[5,256.976,6,115.243,14,447.448,51,284.834]],["content/86",[5,4.65,6,2.085,51,5.154,79,11.405,999,15.678,1000,11.584]],["keywords/86",[]],["title/87",[4,140.222,33,174.985,561,636.63]],["content/87",[5,3.757,6,1.685,33,2.25,51,4.164,63,3.816,70,5.362,87,6.047,103,7.754,182,3.472,185,4.203,240,3.885,293,4.871,438,6.516,462,6.914,512,7.123,525,9.145,561,10.343,711,7.384,718,7.061,893,7.316,905,10.343,909,13.64,937,7.6,984,10.694,992,12.41,1001,14.583,1002,16.09]],["keywords/87",[]],["title/88",[6,131.019,87,470.257,181,360.573]],["content/88",[5,4.099,6,1.838,51,4.543,70,5.66,87,8.066,155,5.659,181,5.059,182,3.788,203,9.628,314,6.735,396,6.203,447,12.111,704,9.978,717,9.091,1003,15.35,1004,15.912,1005,14.482]],["keywords/88",[]],["title/89",[18,354.881,33,137.374,40,405.533,184,230.384,552,558.336]],["content/89",[6,1.657,18,5.717,33,2.813,51,4.095,69,5.343,70,4.174,86,6.915,176,6.246,182,4.341,184,4.718,196,5.327,222,4.667,265,6.157,301,3.901,307,9.87,322,6.291,330,4.115,427,6.291,438,6.409,537,5.609,552,8.995,553,7.666,565,9.687,589,11.976,613,6.029,912,8.928,973,9.205,986,11.766]],["keywords/89",[]],["title/90",[6,84.661,97,306.986,182,174.469,185,211.234,301,199.292,537,286.593,552,459.559]],["content/90",[6,2.281,33,2.143,40,6.325,51,3.965,70,5.197,97,5.817,182,3.306,185,5.148,202,5.097,222,4.518,284,5.878,293,4.638,299,10.306,301,4.857,330,3.984,348,9.379,396,5.414,399,9.058,529,9.379,537,6.985,539,7.707,553,7.422,611,10.434,717,7.934,893,6.967,912,8.644,920,8.774,989,11.817,1006,10.067]],["keywords/90",[]],["title/91",[33,153.915,51,284.834,62,509.904,1007,625.565]],["content/91",[33,2.269,51,4.199,70,4.279,176,6.404,182,3.501,185,4.239,222,4.785,240,4.935,273,4.847,373,4.525,381,5.662,396,5.733,426,10.913,428,9.438,473,13.061,512,7.183,543,6.498,664,8.779,718,7.121,732,6.139,910,7.06,963,6.777,994,9.438,1008,16.226,1009,15.356,1010,14.187]],["keywords/91",[]],["title/92",[185,256.637,273,232.977,373,273.982,675,494.15,692,542.465]],["content/92",[6,1.728,33,2.308,44,4.97,51,4.271,63,3.914,96,10.102,103,7.953,155,5.32,182,3.561,185,4.311,222,4.867,240,3.985,273,4.899,373,4.603,512,7.306,536,6.12,543,6.609,675,8.302,692,9.113,712,10.843,910,7.181,918,10.102,926,9.113,1011,12.068,1012,12.27]],["keywords/92",[]],["title/93",[103,473.413,182,211.969,301,242.127,786,455.105,886,379.495]],["content/93",[5,3.886,6,2.175,33,2.328,51,4.308,70,4.39,103,8.022,147,11.483,182,4.481,185,4.349,240,4.02,301,4.103,381,5.809,512,7.369,520,8.148,543,6.667,696,11.196,718,7.305,786,9.621,886,8.023,937,7.862,1002,16.646]],["keywords/93",[]],["title/94",[7,371.572,250,635.181,255,485.12,552,625.565]],["content/94",[3,7.938,7,5.387,25,1.148,33,2.828,46,5.586,51,4.129,113,8.026,196,6.807,203,8.751,250,11.671,255,8.913,257,7.729,258,13.163,259,14.462,291,8.262,396,5.638,462,6.856,525,9.069,548,10.866,551,7.853,553,7.729,937,7.537,965,10.732,1013,15.101,1014,15.101,1015,13.163]],["keywords/94",[]],["title/95",[5,256.976,6,115.243,185,287.538,480,428.201]],["content/95",[5,3.92,6,2.379,25,1.208,33,2.348,37,3.049,51,4.345,70,4.428,155,5.413,185,4.387,265,6.532,278,4.888,480,6.532,536,6.226,863,13.023,906,9.845,924,11.583,932,8.263,933,14.234,934,11.16,943,9.543,1016,13.516]],["keywords/95",[]],["title/96",[4,110.083,18,354.881,33,137.374,185,256.637,252,411.958]],["content/96",[18,8.146,33,2.308,44,4.97,51,4.271,110,7.873,185,4.311,252,8.662,265,6.421,278,4.804,638,10.293,712,10.843,732,6.244,785,5.443,936,8.871,937,7.795,963,6.893,973,9.599,991,9.839,1017,13.285,1018,15.619,1019,11.239,1020,14.958,1021,9.599]],["keywords/96",[]],["title/97",[6,102.858,70,259.088,87,369.18,228,463.992,913,890.35]],["content/97",[5,4.175,6,2.447,51,4.628,70,5.724,87,8.157,155,5.764,228,8.446,525,10.164,912,10.089,913,16.207,971,11.496,1022,15.159,1023,14.394]],["keywords/97",[]],["title/98",[16,493.273,33,124.043,51,229.553,100,355.245,417,431.927,952,542.959]],["content/98",[33,2.968,51,5.493,79,9.874,85,8.982,100,6.905,114,5.421,182,3.72,193,7.471,206,6.637,228,8.144,240,4.164,417,10.335,514,6.684,551,8.485,560,9.874,564,8.625,952,10.554,961,10.279]],["keywords/98",[]],["title/99",[114,346.026,284,422.228,670,667.664,953,885.975]],["content/99",[6,2.247,25,1.068,33,2.7,40,6.13,51,3.843,99,5.657,182,3.204,205,5.426,240,4.663,284,7.408,293,4.495,301,3.66,330,3.861,334,4.63,347,7.387,396,5.247,417,7.231,515,7.931,537,5.263,545,5.784,550,11.82,553,7.193,587,10.244,614,6.946,636,8.779,664,8.035,732,5.619,953,11.953,1024,7.555,1025,12.249,1026,12.249]],["keywords/99",[]],["title/100",[33,137.374,97,372.969,206,378.168,240,237.216,958,491.403]],["content/100",[3,7.873,33,2.813,51,6.023,52,4.716,92,7.297,97,7.638,182,4.341,206,6.092,240,3.821,278,4.607,308,5.54,310,7.747,514,6.135,543,6.338,587,10.917,693,7.666,874,7.588,911,10.917,937,7.475,958,10.063,1007,8.995,1027,14.343,1028,9.87,1029,12.458]],["keywords/100",[]],["title/101",[63,296.762,301,308.418,786,579.706]],["content/101",[3,8.281,33,2.904,51,5.858,63,4.925,70,4.39,155,5.366,182,3.592,206,6.408,240,4.02,291,8.619,293,5.039,301,4.103,310,8.148,786,9.621,893,7.569,897,11.805,959,15.754,963,6.953,1030,8.834,1031,13.104]],["keywords/101",[]],["title/102",[16,612.063,25,79.157,51,284.834,952,673.714]],["content/102",[25,1.579,33,2.548,40,7.522,51,5.681,182,3.932,398,7.379,437,7.734,560,10.434,952,11.153,961,10.862,1032,13.547,1033,14.344,1034,15.931]],["keywords/102",[]],["title/103",[183,275.416,273,191.76,330,210.237,425,314.57,544,326.242,545,242.203,722,440.43]],["content/103",[6,1.907,23,4.16,25,0.978,32,4.169,44,4.093,70,3.585,155,4.382,164,6.186,183,4.63,273,4.32,284,5.214,293,4.115,301,3.35,330,3.534,425,5.288,438,5.505,462,5.84,537,4.818,543,5.443,544,5.484,545,4.071,613,5.178,712,8.93,722,7.404,732,5.143,804,7.124,858,7.404,910,5.914,920,7.784,974,9.376,975,7.906,976,12.864,977,12.319,978,12.319,979,11.884,980,12.319,1035,8.93]],["keywords/103",[]],["title/104",[62,410.941,152,190.987,217,342.668,414,374.974,544,357.9,952,542.959]],["content/104",[7,5.62,25,1.197,46,5.827,58,6.593,152,4.472,186,5.321,196,5.603,217,8.023,222,4.909,278,4.846,414,8.779,544,8.379,572,6.43,701,11.196,785,5.49,936,8.948,956,11.336,973,9.682,1021,9.682,1036,15.087,1037,12.839]],["keywords/104",[]],["title/105",[62,410.941,86,387.621,297,272.135,300,528.808,414,374.974,417,431.927]],["content/105",[4,1.882,7,5.669,25,1.208,33,2.348,97,6.375,113,8.446,182,3.623,186,5.367,196,5.652,256,8.543,297,5.151,300,12.448,401,8.134,414,7.098,536,6.226,552,9.543,630,8.301,937,7.931,961,10.01,1038,11.294,1039,13.851,1040,11.583]],["keywords/105",[]],["title/106",[152,269.421,183,426.225,737,454.965]],["content/106",[6,1.774,25,1.218,63,4.017,92,7.81,152,3.647,183,5.77,202,5.635,284,6.498,293,5.128,330,4.404,396,5.985,438,6.86,514,6.567,544,6.834,545,5.074,737,6.159,910,7.371,963,7.075,968,14.359,969,12.386,970,13.973,972,12.013,1041,14.359]],["keywords/106",[]],["title/107",[7,489.185,182,211.969,288,524.652,514,380.833]],["content/107",[3,8.896,7,7.889,25,1.286,51,4.628,63,4.241,155,5.764,182,3.859,255,7.882,291,9.259,514,6.932,614,8.364,617,10.241,1042,12.504,1043,14.077,1044,19.339]],["keywords/107",[]],["title/108",[183,334.613,273,232.977,514,380.833,981,606.904,982,566.919]],["content/108",[6,1.838,25,1.263,63,4.164,183,5.98,273,5.09,512,7.772,514,6.806,543,7.031,718,7.705,963,7.333,981,10.846,982,12.386,1045,14.482,1046,15.35,1047,13.821,1048,15.35,1049,11.668]],["keywords/108",[]],["title/109",[281,461.561,297,337.67,379,544.573,614,514.812]],["content/109",[6,2.175,25,1.197,58,6.593,65,5.9,88,6.172,155,5.366,182,4.884,184,3.904,202,5.538,281,8.709,297,5.107,301,4.103,379,8.236,396,5.882,427,6.618,525,9.461,537,5.9,565,10.189,613,6.342,893,7.569,985,8.373]],["keywords/109",[]],["title/110",[278,364.276,330,325.357,765,443.523]],["content/110",[5,3.955,6,2.198,25,1.218,69,5.718,155,5.46,176,6.685,182,3.655,192,6.159,205,4.76,255,7.466,278,6.112,293,5.128,330,4.404,394,9.289,435,8.381,550,10.368,553,8.205,765,7.441,860,11.129,961,10.098]],["keywords/110",[]],["title/111",[5,292.154,152,269.421,742,612.527]],["content/111",[5,4.026,6,1.805,25,1.24,37,3.854,63,4.089,152,4.57,334,5.376,396,6.092,512,7.633,514,6.684,564,8.625,693,8.352,718,7.567,742,10.39,943,9.8,944,10.459,984,11.459,1050,13.298]],["keywords/111",[]],["title/112",[37,178.358,195,562.569,400,478.346,554,508.659,639,505.648]],["content/112",[6,1.671,25,1.148,37,2.897,51,4.129,58,6.32,65,5.656,69,5.387,99,6.079,113,8.026,125,6.828,155,5.144,195,11.581,196,5.371,200,6.438,252,6.691,264,5.003,400,7.77,438,6.462,536,5.917,639,10.409,743,12.075,875,9.138,876,10.732,985,8.026,986,11.863,1026,13.163,1051,13.527,1052,13.952]],["keywords/112",[]],["title/113",[184,258.124,220,420.766,394,603.606,982,635.181]],["content/113",[6,1.743,25,1.197,65,5.9,184,3.904,194,10.484,220,7.939,239,9.192,240,4.02,288,8.89,311,7.712,366,8.671,394,11.389,395,7.569,396,5.882,551,8.192,554,8.619,613,6.342,617,9.533,638,10.382,982,9.606,1053,14.111,1054,12.597,1055,8.948]],["keywords/113",[]],["title/114",[191,471.331,879,610.406]],["content/114",[4,1.318,6,1.232,25,1.621,33,2.307,51,4.931,63,2.79,70,3.103,87,4.422,105,9.674,114,3.699,125,5.035,152,2.533,171,3.323,182,3.56,190,5.952,191,3.825,196,5.553,202,3.914,222,3.47,252,4.934,265,4.577,293,4.995,301,2.9,366,6.129,398,4.765,401,5.699,428,6.844,438,4.765,462,5.056,523,9.597,525,6.687,537,4.17,622,5.163,648,8.012,659,5.853,853,10.193,872,6.409,879,6.947,882,7.82,883,9.674,884,7.41,886,4.545,887,7.41,888,6.638,893,5.35,910,5.12,937,7.793,963,4.914,993,6.129,994,6.844,995,9.075,996,5.759,997,9.262,998,9.075,1056,8.012,1057,10.287]],["keywords/114",[]],["title/115",[25,79.157,33,153.915,182,237.492,257,533.158]],["content/115",[]],["keywords/115",[]],["title/116",[182,270.003,200,504.882,257,606.144]],["content/116",[7,5.432,97,6.109,114,5.058,171,4.544,182,4.387,196,6.843,197,12.41,198,4.648,200,6.492,202,5.353,250,9.285,257,9.848,293,4.871,304,8.764,348,9.849,438,6.516,462,6.914,466,9.077,621,12.41,732,6.088,736,6.516,910,7.001,1058,9.012,1059,17.4,1060,16.09,1061,10.822]],["keywords/116",[]],["title/117",[22,312.383,33,153.915,182,237.492,257,533.158]],["content/117",[5,3.635,6,2.085,10,6.663,18,5.625,33,2.784,63,3.692,70,5.251,155,5.019,182,4.296,252,6.529,257,7.542,278,4.533,293,4.713,305,10.472,437,6.608,514,6.036,531,9.204,541,8.211,561,7.921,695,8.315,893,7.08,894,6.452,907,10.348,926,8.598,963,6.503,1062,12.533,1063,14.111,1064,11.783,1065,9.906]],["keywords/117",[]],["title/118",[25,79.157,33,153.915,437,467.161,1066,635.181]],["content/118",[25,1.375,33,2.979,72,7.527,85,7.618,182,3.155,186,4.675,196,4.922,202,6.36,255,6.446,257,9.261,284,8.172,293,4.427,414,6.182,428,8.506,437,6.207,442,11.512,462,6.284,474,9.121,479,9.503,536,5.423,560,8.375,614,6.84,617,8.375,637,9.035,963,6.108,1032,10.873,1067,10.693,1068,12.291,1069,13.254,1070,13.84,1071,14.624,1072,11.067,1073,14.624]],["keywords/118",[]],["title/119",[25,89.993,886,483.395,1074,739.744]],["content/119",[25,1.403,202,6.491,276,12.82,486,12.544,556,7.538,902,12.055,1075,15.707,1076,21.102]],["keywords/119",[]],["title/120",[25,123.921]],["content/120",[6,2.264,25,1.403,33,2.728,51,3.903,52,4.494,58,5.974,110,7.195,184,3.537,202,5.017,205,4.238,206,5.806,234,7.544,252,6.325,273,3.577,278,5.678,281,6.325,284,7.483,293,4.566,297,4.627,308,5.28,379,7.462,440,7.544,536,5.593,614,7.054,722,8.215,879,6.35,937,7.124,963,6.3,1037,11.632,1067,11.028,1068,9.696]],["keywords/120",[]],["title/121",[6,131.019,278,364.276,284,480.028]],["content/121",[6,2.361,25,1.622,99,6.287,183,5.621,276,10.843,278,4.804,284,8.65,301,4.068,330,4.291,356,8.302,438,6.684,537,5.85,538,8.871,545,4.944,558,13.99,613,6.287,862,11.239,937,7.795,963,6.893,1077,10.102]],["keywords/121",[]],["title/122",[107,332.397,181,360.573,732,473.461]],["content/122",[3,7.562,4,1.703,5,3.549,6,1.592,25,1.41,44,4.577,46,5.321,97,5.771,107,4.038,151,5.072,181,5.649,182,4.23,185,3.971,202,5.057,240,3.671,246,5.193,265,5.914,314,5.831,330,3.952,392,9.862,396,5.371,425,5.914,532,9.574,539,7.646,553,7.363,564,7.604,613,5.791,692,8.394,732,5.752,912,8.576,1078,13.291,1079,12.539]],["keywords/122",[]],["title/123",[6,151.799,184,340.004]],["content/123",[6,2.352,9,8.096,25,1.478,69,5.524,155,5.275,176,6.458,182,3.531,184,3.838,205,5.773,219,6.578,225,6.344,226,9.036,240,3.951,278,4.764,293,4.954,297,5.02,314,6.277,427,6.505,613,6.234,614,7.654,914,8.325,985,8.231,1080,13.871]],["keywords/123",[]],["title/124",[183,493.826,273,343.83]],["content/124",[6,2.117,25,1.148,97,6.058,183,6.888,198,4.61,273,5.536,284,6.121,297,4.895,301,3.933,330,5.258,348,9.767,396,5.638,399,9.433,425,6.208,462,6.856,536,5.917,537,5.656,544,6.438,545,4.78,550,9.767,622,7.003,919,12.075,937,7.537,1061,10.732]],["keywords/124",[]],["title/125",[281,524.746,297,383.895,379,619.122]],["content/125",[6,1.63,9,7.703,25,1.432,51,4.029,69,5.256,70,4.106,155,5.019,182,3.36,246,5.319,257,7.542,281,9.701,288,8.315,293,6.027,297,4.777,315,5.484,330,4.048,373,4.342,379,7.703,398,6.306,425,6.057,564,7.788,611,10.603,617,8.916,634,12.008,740,7.832,893,7.08,957,10.23,1081,10.348]],["keywords/125",[]],["title/126",[25,70.65,33,137.374,257,475.86,467,375.547,670,595.91]],["content/126",[6,1.592,21,9.481,25,1.093,33,2.742,107,4.038,114,4.779,181,4.38,182,4.23,183,5.178,186,4.859,257,7.363,265,5.914,284,5.831,301,3.747,308,5.321,322,6.043,398,6.156,414,6.426,417,7.402,467,5.811,533,9.305,537,5.388,539,7.646,564,7.604,613,5.791,614,7.11,622,6.671,695,8.118,732,5.752,954,8.64,991,9.062,1032,11.302,1068,9.772,1082,10.942]],["keywords/126",[]],["title/127",[4,123.338,25,79.157,182,237.492,257,533.158]],["content/127",[16,10.635,25,1.375,182,4.127,202,6.362,255,8.43,257,9.264,407,10.086,486,12.295,872,10.417,902,11.815]],["keywords/127",[]],["title/128",[25,79.157,29,493.733,257,533.158,264,345.078]],["content/128",[4,2.46,22,4.419,25,1.664,28,9.312,29,10.377,30,7.921,33,2.177,44,4.688,107,4.136,122,7.39,182,4.296,198,4.498,252,6.529,257,9.644,308,5.45,373,4.342,490,6.69,714,11.207,879,6.555,886,6.015,1083,14.735,1084,14.735]],["keywords/128",[]],["title/129",[330,286.181,744,885.975,745,650.672,746,997.556]],["content/129",[4,1.841,6,1.72,22,4.663,25,1.366,44,3.521,46,4.094,110,5.579,113,5.882,114,3.676,155,5.296,164,3.971,183,6.469,186,3.738,198,3.378,257,10.511,278,3.404,286,7.772,288,6.246,330,6.009,455,6.055,544,4.718,545,3.503,550,10.056,622,5.132,722,10.345,744,16.58,745,13.302,746,17.212,747,9.019,748,10.225,749,10.599,753,11.695,760,11.695,785,3.857,939,10.225,972,8.293,1085,10.599,1086,8.177,1087,11.067,1088,11.695,1089,7.294,1090,9.647,1091,12.647]],["keywords/129",[]],["title/130",[4,90.608,25,58.151,167,380.037,183,275.416,257,391.674,273,191.76,811,650.864]],["content/130",[4,1.335,6,1.247,23,4.1,25,1.379,35,3.694,46,4.17,83,9.377,155,3.84,167,9.015,183,5.668,224,3.906,257,8.061,273,4.549,278,3.468,293,3.606,315,4.196,330,3.097,341,7.657,360,7.359,410,8.329,425,4.634,496,5.205,538,6.403,543,4.77,544,4.806,642,5.77,643,9.187,734,6.488,768,10.281,783,11.273,804,6.243,811,13.396,815,11.273,816,11.912,818,9.588,821,10.415,825,8.71,873,10.813,894,4.936,1092,9.826,1093,10.415,1094,11.273,1095,12.881,1096,12.881,1097,11.912,1098,10.097,1099,11.912,1100,12.881,1101,12.881]],["keywords/130",[]],["title/131",[25,79.157,65,390.118,400,535.943,408,393.825]],["content/131",[2,3.98,4,1.651,5,2.346,6,1.826,10,8.753,16,5.587,20,4.867,21,6.267,25,1.471,33,1.405,37,4.011,44,3.026,51,4.514,52,5.198,62,4.655,63,2.383,69,3.392,85,5.234,86,4.391,87,5.537,98,6.825,113,5.054,114,3.159,234,5.026,256,5.112,275,5.305,293,4.46,297,4.52,308,6.725,323,5.99,334,3.133,385,3.98,395,6.699,400,9.355,408,7.319,467,6.668,496,4.391,515,5.366,536,3.726,539,7.411,564,5.026,614,4.699,659,4.998,676,7.91,692,5.548,873,6.529,874,7.064,894,4.164,926,5.548,1019,6.842,1102,8.088,1103,7.604,1104,10.866,1105,10.866,1106,9.106,1107,10.866,1108,7.347,1109,5.627,1110,6.207,1111,7.47]],["keywords/131",[]],["title/132",[6,92.877,25,63.794,205,249.247,219,356.567,240,214.197,613,337.935]],["content/132",[4,1.849,6,2.361,12,6.223,25,1.486,182,4.457,184,4.844,219,8.303,240,4.988,257,10.006,293,4.996,297,5.063,334,5.146,613,6.287,614,7.719,872,8.989,902,10.196,973,9.599,1112,10.609]],["keywords/132",[]],["title/133",[107,332.397,181,360.573,732,473.461]],["content/133",[3,7.503,4,1.69,5,3.521,6,1.579,25,1.403,44,4.542,107,4.006,151,5.032,181,5.621,182,4.209,185,3.94,192,5.484,240,3.642,246,5.153,257,7.306,265,5.868,314,5.786,330,3.921,392,9.812,396,5.329,425,5.868,532,9.499,539,7.587,553,7.306,556,5.826,564,7.544,613,5.746,692,8.328,732,5.707,785,4.974,799,11.213,912,8.509,1079,12.441]],["keywords/133",[]],["title/134",[225,562.039,226,800.578]],["content/134",[6,1.617,25,1.424,69,5.214,88,5.727,114,4.856,116,6.898,205,4.34,225,8.941,226,10.938,227,8.589,278,4.496,293,4.676,334,4.816,395,7.023,426,10.388,517,9.056,536,5.727,550,9.454,551,7.601,558,13.093,564,7.726,590,7.121,745,9.131,985,7.769,1019,10.518,1113,12.159,1114,8.529,1115,12.159,1116,8.302]],["keywords/134",[]],["title/135",[613,552.327,1117,1267.615]],["content/135",[6,2.14,25,1.47,114,5.101,155,5.23,184,3.805,205,5.743,225,7.923,226,8.96,227,9.023,240,4.935,278,4.723,297,4.978,298,8.61,314,6.224,396,5.733,545,4.86,553,7.86,590,7.481,613,6.181,914,8.255,985,8.162,1116,8.722,1117,14.187]],["keywords/135",[]],["title/136",[301,308.418,537,443.523,545,374.827]],["content/136",[6,1.592,25,1.093,70,5.171,182,3.28,202,5.057,205,4.271,257,7.363,265,5.914,284,5.831,288,8.118,293,4.602,301,5.349,314,5.831,330,3.952,425,5.914,438,6.156,525,8.64,537,7.692,538,8.171,545,6.501,565,9.305,893,6.912,920,8.705,937,7.18,984,10.103,1067,11.115,1068,9.772,1111,11.302,1118,10.629]],["keywords/136",[]],["title/137",[25,79.157,202,366.157,563,509.904,1119,686.479]],["content/137",[25,1.375,182,4.127,202,6.362,257,9.264,479,12.427,525,10.87,536,7.092,563,8.86,688,12.566,1119,11.928]],["keywords/137",[]],["title/138",[60,504.882,63,296.762,514,485.1]],["content/138",[6,1.699,25,1.167,46,5.68,60,9.027,63,4.847,92,7.481,103,7.819,152,3.493,182,3.501,198,4.687,257,7.86,273,4.847,396,5.733,405,9.023,438,6.571,512,7.183,514,6.29,590,7.481,693,7.86,737,5.899,926,8.96,943,9.222,1049,10.784,1120,16.226]],["keywords/138",[]],["title/139",[6,131.019,185,326.9,480,486.819]],["content/139",[4,1.788,5,3.725,6,2.325,25,1.454,33,2.231,37,2.897,155,5.144,185,4.169,192,5.802,200,6.438,205,4.484,206,6.143,293,4.83,297,4.895,308,5.586,399,9.433,480,8.637,614,7.463,863,9.952,914,8.118,932,7.853,934,10.605,1121,11.157,1122,14.462,1123,12.844]],["keywords/139",[]],["title/140",[116,491.54,278,320.414,330,286.181,356,553.65]],["content/140",[6,2.074,25,1.111,33,2.16,63,3.663,92,7.121,99,5.884,116,6.898,182,3.333,224,5.064,257,7.482,278,4.496,301,3.807,330,5.997,356,10.999,396,5.457,438,6.255,537,5.474,538,8.302,544,6.232,545,4.626,551,7.601,659,7.683,751,10.265,1124,10.799,1125,11.688,1126,12.432,1127,10.518,1128,12.159]],["keywords/140",[]],["title/141",[217,483.395,556,483.395,742,612.527]],["content/141",[4,1.773,6,1.657,25,1.447,37,3.653,46,5.54,63,3.753,217,6.114,297,4.855,405,8.8,512,7.006,514,6.135,532,9.967,545,4.74,556,8.544,571,11.223,693,7.666,718,8.829,742,9.848,905,10.173,958,7.916,984,10.518,1109,8.863,1129,13.837,1130,15.826,1131,17.115]],["keywords/141",[]],["title/142",[4,99.401,25,63.794,85,462.071,182,191.399,257,429.683,855,570.235]],["content/142",[25,1.403,85,10.164,182,4.21,186,6.237,257,9.452,855,12.544,879,8.215,1000,11.349]],["keywords/142",[]],["title/143",[4,110.083,167,461.722,360,606.904,811,790.76,1132,982.391]],["content/143",[4,1.175,23,4.206,25,0.754,35,4.713,44,4.576,121,6.813,155,3.38,161,3.582,164,6.657,167,8.402,183,6.089,228,4.952,257,5.079,278,3.052,304,5.711,341,9.77,360,6.478,381,3.659,462,4.505,487,7.14,538,8.169,642,7.362,694,11.664,696,7.052,748,9.167,758,7.108,804,7.965,811,15.779,818,12.233,858,8.278,888,5.915,889,7.667,965,7.052,994,6.099,1092,8.649,1093,9.167,1097,15.198,1098,12.883,1132,10.485,1133,9.503,1134,6.418,1135,11.339,1136,16.435,1137,16.435,1138,11.339,1139,11.339]],["keywords/143",[]],["title/144",[4,90.608,183,275.416,241,325.026,284,310.182,381,282.178,722,440.43,826,482.031]],["content/144",[25,1.298,33,2.524,183,6.148,222,5.323,241,7.256,257,8.743,284,6.924,297,5.538,381,6.299,396,6.378,398,7.31,569,9.579,674,7.15,722,9.832,826,10.76,828,14.889]],["keywords/144",[]],["title/145",[4,110.083,33,137.374,257,475.86,423,652.904,782,624.992]],["content/145",[25,1.177,33,3.141,73,9.036,155,5.275,182,3.531,198,4.727,252,6.862,257,7.926,278,4.764,293,4.954,423,13.656,427,6.505,466,9.232,717,8.473,782,10.41,786,7.581,901,6.755,910,7.12,1043,12.882,1140,13.172,1141,11.605,1142,12.882,1143,11.442,1144,15.486]],["keywords/145",[]],["title/146",[6,131.019,278,364.276,963,522.668]],["content/146",[6,2.095,25,1.439,63,3.723,92,7.238,182,3.387,227,8.729,278,5.826,293,6.058,334,4.894,513,10.091,514,6.085,544,6.333,545,5.995,550,9.608,551,7.725,554,8.128,718,6.889,937,7.414,963,6.556,1000,9.13,1047,12.357,1110,9.697,1119,9.79,1145,16.975,1146,15.697,1147,9.358,1148,11.879]],["keywords/146",[]],["title/147",[6,131.019,227,695.85,613,476.718]],["content/147",[6,1.671,22,4.529,25,1.148,40,6.587,44,4.805,45,4.895,46,5.586,76,10.258,92,7.357,184,3.742,205,4.484,219,6.414,225,6.186,226,8.811,227,11.246,240,3.853,241,6.414,278,4.645,293,4.83,392,8.026,396,5.638,517,9.356,531,9.433,613,7.704,1000,9.281,1019,10.866,1149,15.101,1150,13.527]],["keywords/147",[]],["title/148",[988,1328.96]],["content/148",[6,1.907,25,1.31,33,1.901,70,3.585,97,6.916,107,3.611,181,5.249,182,4.938,186,4.345,196,4.575,200,7.349,202,4.522,255,5.991,257,9.952,264,4.261,265,7.086,278,3.957,284,5.214,293,4.115,301,3.35,428,7.906,437,5.769,462,5.84,515,7.259,536,5.04,537,4.818,565,8.32,613,5.178,617,7.784,622,5.965,893,6.181,899,10.7,910,5.914,989,10.483,1065,8.647,1119,8.477,1151,9.504,1152,9.784,1153,12.864]],["keywords/148",[]],["title/149",[191,471.331,879,610.406]],["content/149",[4,1.579,19,4.567,25,1.666,33,1.97,51,3.646,87,5.295,105,10.939,125,6.029,152,3.034,171,3.979,191,4.58,196,4.742,222,4.155,257,6.825,265,5.481,293,5.648,366,7.339,398,5.706,523,12.166,853,11.526,872,7.674,879,7.855,882,9.364,883,10.939,884,8.874,886,5.443,887,8.874,937,6.655,993,7.339,994,8.195,995,10.867,996,6.897,997,11.091,998,10.867,1154,11.944]],["keywords/149",[]],["title/150",[6,115.198,25,49.41,114,215.99,182,148.243,200,277.201,278,200.003,284,263.555,1056,467.857]],["content/150",[]],["keywords/150",[]],["title/151",[25,70.65,182,211.969,200,396.364,401,475.86,878,696.684]],["content/151",[6,1.464,25,1.499,92,6.449,97,5.31,151,4.667,152,3.012,181,4.03,182,4.79,200,7.491,205,3.93,219,5.622,240,3.377,252,5.865,264,4.385,265,5.442,301,3.447,304,7.619,334,4.361,401,6.775,458,7.036,486,8.992,531,8.269,536,5.186,537,4.958,541,7.376,545,4.19,565,8.561,613,5.329,630,5.56,632,8.899,881,11.011,888,7.891,902,8.641,937,6.606,1001,12.677,1065,8.899,1155,10.227,1156,11.538,1157,8.992,1158,9.296,1159,12.677]],["keywords/151",[]],["title/152",[6,102.858,22,278.811,114,308.839,182,211.969,199,508.659]],["content/152",[5,3.467,6,2.379,70,3.916,87,5.581,114,6.071,155,4.787,182,4.167,192,5.399,199,7.689,252,6.227,255,6.545,293,4.495,392,7.47,423,9.869,438,6.014,462,6.381,545,4.448,613,5.657,735,7.231,893,6.752,906,8.707,912,8.378,923,10.531,926,8.2,963,6.203,1031,11.69,1062,11.953,1064,11.238,1160,8.144,1161,12.588,1162,14.85,1163,13.459,1164,9.869,1165,10.531]],["keywords/152",[]],["title/153",[6,102.858,25,70.65,114,308.839,437,416.956,1066,566.919]],["content/153",[6,2.358,25,1.526,92,6.692,114,5.981,116,6.482,181,4.182,182,4.105,183,4.944,196,4.885,198,4.193,199,7.515,200,5.856,205,5.346,206,5.587,219,5.834,240,3.505,252,6.086,265,5.647,284,7.298,310,7.105,437,6.16,462,6.237,613,5.529,614,6.789,617,8.312,638,9.052,910,6.315,1067,10.613,1068,9.33,1069,13.154,1166,10.293,1167,10.791,1168,10.293]],["keywords/153",[]],["title/154",[25,89.993,886,483.395,1074,739.744]],["content/154",[]],["keywords/154",[]],["title/155",[25,123.921]],["content/155",[6,2.422,7,5.256,25,1.12,52,4.639,111,6.354,114,6.259,202,5.18,234,7.788,248,9.129,278,4.533,284,7.638,293,4.713,301,3.838,308,5.45,311,7.213,366,8.11,400,7.581,438,6.306,537,5.519,545,4.664,548,10.603,551,7.662,613,5.932,614,7.282,617,8.916,937,7.354,1068,10.009,1169,7.703]],["keywords/155",[]],["title/156",[6,131.019,278,364.276,284,480.028]],["content/156",[6,2.289,25,1.111,70,4.073,97,5.864,155,4.979,182,3.333,183,5.261,196,5.199,202,5.138,246,5.277,278,4.496,284,7.598,293,4.676,301,3.807,330,5.15,356,7.769,396,5.457,425,6.009,537,5.474,545,4.626,717,7.997,732,5.844,893,7.023,919,11.688,936,8.302,1006,10.148,1035,10.148,1078,13.504,1170,8.529,1171,11.483]],["keywords/156",[]],["title/157",[107,332.397,181,360.573,732,473.461]],["content/157",[6,2.085,25,1.12,46,6.97,70,4.106,107,4.136,155,5.019,181,4.486,182,4.296,185,4.067,192,5.661,205,4.375,206,5.994,240,3.76,314,7.638,388,9.445,389,8.658,419,10.23,425,6.057,438,6.306,539,7.832,553,7.542,561,7.921,613,7.585,704,8.849,706,8.598,732,5.891,1172,12.008,1173,10.009]],["keywords/157",[]],["title/158",[6,151.799,184,340.004]],["content/158",[6,2.298,12,5.871,25,1.12,45,6.108,69,5.256,155,5.019,182,3.36,184,4.669,191,5.062,202,5.18,205,6.167,219,6.259,240,3.76,278,4.533,293,4.713,301,3.838,396,5.501,438,6.306,537,5.519,565,9.53,613,5.932,716,6.079,740,7.832,906,9.129,973,9.056,985,7.832,1174,10.23]],["keywords/158",[]],["title/159",[183,493.826,273,343.83]],["content/159",[6,2.415,25,1.111,44,4.651,87,5.804,92,7.121,155,4.979,182,3.333,183,6.747,196,5.199,228,7.295,273,5.47,276,10.148,304,8.413,330,4.016,399,9.131,425,6.009,462,6.637,538,8.302,545,4.626,712,10.148,858,8.413,963,6.451,1066,8.913,1170,8.529,1175,10.518,1176,9.542,1177,10.265]],["keywords/159",[]],["title/160",[281,524.746,297,383.895,379,619.122]],["content/160",[6,1.685,25,1.157,51,5.261,65,5.703,69,5.432,70,4.244,151,5.368,155,5.187,182,3.472,202,5.353,246,5.497,281,9.819,297,4.936,311,7.454,330,4.184,379,7.961,396,5.685,438,6.516,536,5.966,553,7.794,611,10.957,893,7.316,957,10.572,985,8.094,1178,11.765]],["keywords/160",[]],["title/161",[6,102.858,25,70.65,114,308.839,467,375.547,670,595.91]],["content/161",[2,5.837,6,2.239,25,1.382,52,5.725,86,6.439,114,6.041,182,4.146,196,4.96,200,7.753,202,4.902,222,4.345,234,7.371,252,6.18,265,5.733,278,4.29,284,5.653,398,5.968,437,6.255,462,6.332,467,7.345,536,5.464,560,8.439,563,6.827,613,5.614,614,6.892,699,10.304,732,5.576,874,7.065,986,10.956,1000,8.571,1032,10.956,1179,13.946]],["keywords/161",[]],["title/162",[25,79.157,65,390.118,400,535.943,408,393.825]],["content/162",[2,4.496,4,1.803,6,1.188,10,4.857,20,5.498,21,7.079,25,0.816,37,3.896,51,2.937,52,3.382,65,5.701,67,4.939,92,5.233,98,7.452,113,5.709,134,6.947,196,5.414,220,4.339,225,4.4,226,6.267,234,5.677,248,6.655,275,5.792,293,4.869,297,3.482,301,2.797,385,4.496,395,7.314,396,4.01,399,6.71,400,10.851,408,7.974,438,4.597,467,4.339,496,4.96,498,7.634,537,4.023,541,5.985,554,5.877,564,5.677,614,5.309,716,4.431,740,5.709,785,3.743,799,8.438,874,5.442,920,6.5,936,6.101,963,4.741,1038,7.634,1110,7.012,1148,8.589,1180,7.375,1181,10.741,1182,12.274,1183,6.766,1184,12.274,1185,9.924]],["keywords/162",[]],["title/163",[6,92.877,25,63.794,205,249.247,219,356.567,240,214.197,613,337.935]],["content/163",[]],["keywords/163",[]],["title/164",[107,332.397,181,360.573,732,473.461]],["content/164",[3,7.387,6,2.022,25,1.068,45,4.556,107,3.945,151,4.954,155,4.787,181,4.279,182,4.167,184,3.483,185,3.879,186,4.747,192,5.399,205,4.173,209,14.053,240,3.586,314,7.408,385,5.882,396,5.247,490,6.381,545,4.448,553,7.193,561,7.555,613,5.657,622,6.517,704,8.44,706,8.2,707,10.858,732,5.619,785,4.897,888,8.378,889,10.858,985,7.47,1186,16.059,1187,10.383,1188,12.984]],["keywords/164",[]],["title/165",[25,89.993,45,383.895,184,293.46]],["content/165",[4,1.639,6,2.002,12,5.514,25,1.052,40,6.037,45,6.535,131,8.02,155,4.714,182,3.155,184,4.996,196,4.922,205,4.109,219,5.879,225,5.669,226,8.075,227,8.132,240,3.531,255,6.446,265,5.689,278,4.257,293,4.427,301,3.604,428,8.506,438,5.923,519,8.506,537,5.183,541,7.712,551,7.197,554,7.572,613,7.284,862,9.959,937,6.907,973,8.506,1055,7.861,1189,9.836]],["keywords/165",[]],["title/166",[25,79.157,202,366.157,563,509.904,1119,686.479]],["content/166",[6,1.644,25,1.439,60,9.362,63,5.225,87,5.899,103,7.564,182,3.387,196,5.283,265,6.107,273,3.723,396,5.546,419,10.313,462,6.745,514,7.758,525,8.921,536,5.82,590,7.238,737,5.707,905,10.091,918,9.608,926,8.668,963,6.556,984,10.432,1049,10.432,1120,15.697]],["keywords/166",[]],["title/167",[6,131.019,185,326.9,480,486.819]],["content/167",[6,2.272,25,1.41,37,2.76,40,6.275,110,7.252,114,4.779,155,4.9,182,3.28,185,3.971,186,4.859,192,5.527,196,5.117,255,6.7,293,4.602,399,8.986,421,8.514,467,5.811,480,8.92,553,7.363,564,7.604,663,11.688,863,9.481,906,8.913,914,7.734,932,9.648,1123,12.236,1190,12.886,1191,10.486]],["keywords/167",[]],["title/168",[116,491.54,278,320.414,330,286.181,356,553.65]],["content/168",[6,1.555,25,1.068,76,9.546,92,6.847,97,5.638,99,5.657,116,6.632,152,3.197,182,3.204,191,4.828,196,4.998,202,4.94,224,4.869,241,5.969,265,5.777,278,4.323,284,5.697,301,4.76,311,6.879,329,7.156,330,5.908,356,9.714,438,6.014,536,5.506,537,6.845,550,9.089,565,9.089,668,8.317,751,9.869,1035,9.757,1125,11.238,1128,11.69,1170,8.2]],["keywords/168",[]],["title/169",[217,483.395,556,483.395,742,612.527]],["content/169",[6,1.657,25,1.138,37,4.015,114,4.975,182,3.415,196,5.327,202,5.265,217,7.771,293,4.791,405,8.8,532,9.967,556,7.771,564,7.916,693,7.666,703,6.385,718,6.945,742,9.848,904,12.458,918,9.687,931,10.173,958,7.916,1119,9.87,1129,13.837,1142,12.458,1192,10.644,1193,13.055]],["keywords/169",[]],["title/170",[988,1328.96]],["content/170",[6,2.07,25,1.422,37,2.29,45,3.87,60,5.089,63,2.991,97,4.789,107,3.351,114,3.965,181,4.989,182,4.592,184,2.958,196,5.828,198,3.644,199,8.965,200,6.986,202,4.196,217,4.873,278,3.672,284,6.642,293,3.818,301,3.109,330,3.28,334,5.399,356,6.345,437,5.354,462,5.42,480,4.907,514,4.89,525,7.169,537,4.471,556,4.873,563,5.843,613,6.596,705,7.944,706,6.965,718,5.535,732,4.772,742,6.174,860,8.287,932,6.207,973,7.336,1056,8.589,1164,8.383,1168,8.945,1172,9.728,1194,9.929,1195,11.937]],["keywords/170",[]],["title/171",[4,123.338,25,79.157,33,153.915,503,630.307]],["content/171",[]],["keywords/171",[]],["title/172",[33,202.738,503,830.247]],["content/172",[3,7.746,33,3.235,44,4.688,51,4.029,176,6.145,182,3.36,185,4.067,199,8.062,200,6.282,205,6.167,206,5.994,240,3.76,255,6.862,264,4.881,291,10.309,310,7.621,373,4.342,395,7.08,396,5.501,496,6.804,503,8.916,551,7.662,712,10.23,732,5.891,785,5.135,1141,11.042,1196,11.042]],["keywords/172",[]],["title/173",[33,153.915,182,237.492,503,630.307,544,444.09]],["content/173",[4,0.935,5,2.54,6,2.301,7,2.818,18,6.011,25,0.782,33,3.036,37,1.516,40,2.03,44,2.514,63,3.04,69,1.66,70,3.786,86,3.648,87,5.864,103,2.37,110,2.346,113,2.474,155,3.506,176,4.293,181,2.405,182,4.076,184,2.551,185,5.322,192,3.035,196,2.81,202,1.636,205,3.056,210,3.54,219,1.977,222,1.45,228,3.943,240,2.627,250,6.277,252,6.021,255,3.679,257,2.382,258,4.056,259,4.457,265,1.913,273,3.405,291,2.546,301,4.101,307,3.067,322,1.955,330,1.279,381,2.913,392,2.474,394,2.697,396,4.529,401,4.044,405,2.735,427,1.955,428,4.856,437,2.087,438,3.381,466,2.774,480,3.248,503,11.667,512,2.177,515,2.626,520,2.407,525,7.286,532,3.097,536,1.823,537,5.089,539,2.474,542,3.392,543,3.343,544,1.984,545,2.501,548,3.349,550,3.01,551,2.42,552,4.745,553,5.269,561,5.534,589,3.721,613,1.873,652,2.546,664,4.517,675,5.471,692,2.715,693,2.382,701,3.307,704,2.795,706,2.715,711,2.257,717,2.546,718,4.773,732,1.861,786,3.867,862,3.349,863,3.067,872,2.679,886,1.9,902,3.038,905,3.161,906,2.883,910,4.733,912,2.774,913,7.566,914,4.247,916,4.918,918,3.01,920,2.816,921,2.754,931,3.161,934,3.268,936,2.643,937,3.943,963,3.487,973,4.856,984,3.268,985,2.474,987,3.438,991,2.932,1005,4.056,1011,3.596,1012,3.656,1013,4.654,1017,3.958,1018,4.654,1019,3.349,1049,3.268,1180,3.195,1197,3.721,1198,5.318,1199,4.169,1200,5.318,1201,5.318,1202,5.318,1203,5.318,1204,2.735,1205,4.169,1206,5.318,1207,3.067,1208,5.318,1209,5.318,1210,5.318,1211,4.169,1212,5.318]],["keywords/173",[]],["title/174",[25,63.794,33,124.043,182,191.399,301,218.631,503,507.977,537,314.404]],["content/174",[1,2.277,5,1.103,6,1.468,7,5.508,8,2.706,25,1.378,33,1.128,37,1.917,46,1.654,51,2.088,58,3.196,63,2.504,65,2.86,69,4.215,70,1.246,86,2.065,92,2.178,96,2.892,97,1.794,99,1.8,110,2.254,113,2.377,114,1.485,116,2.11,125,2.022,152,3.513,155,3.404,176,3.184,182,3.026,183,4.776,184,1.108,186,2.579,194,2.976,195,6.047,196,5.141,198,1.365,202,1.572,205,2.267,217,4.824,220,4.037,222,1.393,235,3.178,238,3.455,239,2.609,240,1.141,250,2.726,255,2.082,256,2.404,264,1.481,265,4.108,273,3.623,278,1.375,281,4.428,284,1.812,288,2.523,291,2.446,293,3.78,297,4.302,300,4.81,301,2.603,311,2.189,319,2.277,330,3.247,334,1.473,366,2.461,379,3.992,394,6.848,396,3.731,400,3.929,401,2.289,414,4.464,417,2.301,425,1.838,427,1.878,432,2.685,435,2.338,437,2.005,438,5.679,462,2.03,503,4.62,512,2.091,514,4.093,525,6.001,529,2.892,536,2.992,537,3.743,541,2.492,542,3.259,543,1.892,544,5.658,545,3.163,551,2.325,553,6.049,554,4.178,560,4.62,564,2.363,565,2.892,572,3.117,613,3.074,614,3.774,622,5.48,630,3.207,639,5.435,645,3.006,660,2.866,693,2.289,695,2.523,701,5.427,715,3.803,718,5.48,722,4.395,732,3.053,734,2.573,737,2.933,738,5.641,742,3.949,743,6.106,765,3.743,860,3.104,872,2.573,875,2.706,893,3.669,902,2.919,912,2.665,920,2.706,931,3.037,936,2.54,937,3.811,943,2.685,952,2.892,954,2.685,956,3.217,961,2.817,963,1.973,965,3.178,966,4.282,968,4.005,972,3.351,973,4.693,981,4.984,982,8.092,985,2.377,987,3.303,999,3.719,1036,7.312,1041,4.005,1042,3.303,1049,3.14,1051,4.005,1052,4.131,1053,4.005,1054,3.575,1055,2.54,1110,2.919,1129,4.131,1167,3.513,1213,5.109,1214,5.109,1215,5.109,1216,4.725,1217,5.109,1218,5.109,1219,2.461,1220,2.919,1221,5.109,1222,5.109,1223,5.109,1224,2.976,1225,5.109,1226,5.109,1227,3.351]],["keywords/174",[]],["title/175",[191,471.331,879,610.406]],["content/175",[4,1.343,6,1.255,25,1.631,33,2.337,70,3.161,87,4.504,97,4.55,105,9.8,125,5.129,152,2.581,171,3.385,182,3.606,186,3.831,190,6.063,191,3.896,196,4.034,202,3.987,252,5.026,256,6.098,265,4.663,293,3.628,301,2.954,366,6.243,401,5.806,428,6.971,462,5.15,503,9.571,523,9.721,525,6.812,536,4.444,537,4.248,544,4.836,545,3.59,560,6.864,622,5.26,688,7.875,853,10.326,872,6.528,879,7.037,882,7.966,883,9.8,884,7.549,886,4.63,887,7.549,893,5.45,910,5.215,936,6.443,937,5.661,963,5.006,992,9.244,994,6.971,995,9.244,996,5.867,997,9.435,998,9.244,999,9.435,1147,7.145]],["keywords/175",[]],["title/176",[25,79.157,33,153.915,182,237.492,678,749.53]],["content/176",[]],["keywords/176",[]],["title/177",[182,237.492,199,569.907,678,749.53,878,780.572]],["content/177",[4,1.703,63,3.605,97,5.771,175,10.224,182,4.23,195,8.705,196,7.305,197,11.724,198,5.664,199,7.871,250,8.772,293,4.602,304,8.28,311,7.042,366,7.918,396,5.371,438,6.156,519,8.842,544,6.133,567,10.78,678,10.352,736,6.156,910,6.614,1038,10.224,1043,11.967,1207,9.481,1228,11.724,1229,16.439,1230,16.439,1231,16.439,1232,13.291,1233,13.777]],["keywords/177",[]],["title/178",[22,312.383,33,153.915,182,237.492,678,749.53]],["content/178",[5,3.389,6,2.222,10,6.211,33,2.968,37,2.635,63,3.442,70,5.018,171,4.099,182,4.105,252,6.086,264,5.965,293,4.394,322,5.77,428,8.442,437,6.16,531,8.58,678,12.955,695,7.751,696,9.762,705,9.141,893,6.6,918,8.884,926,8.015,963,6.062,1019,9.884,1062,11.683,1063,13.154,1064,10.984,1065,9.234,1110,8.967,1147,8.652,1234,13.154,1235,12.69,1236,12.304]],["keywords/178",[]],["title/179",[25,79.157,33,153.915,437,467.161,1066,635.181]],["content/179",[7,4.791,25,1.348,33,2.936,46,4.968,97,7.118,107,3.77,114,5.894,152,3.056,181,4.09,182,4.045,186,4.537,196,4.777,202,4.722,250,8.191,284,7.192,301,3.498,310,6.948,414,6,437,6.024,438,5.748,462,6.099,536,5.263,537,5.031,551,6.985,553,6.875,560,8.128,626,11.708,637,8.768,671,12.864,678,12.766,954,8.067,961,8.461,1015,11.708,1032,10.552,1036,12.864,1068,9.124,1237,11.173]],["keywords/179",[]],["title/180",[25,89.993,886,483.395,1074,739.744]],["content/180",[25,1.375,96,11.707,182,4.127,202,6.362,486,12.295,678,13.024,872,10.417,902,11.815,936,10.28,1077,11.707]],["keywords/180",[]],["title/181",[25,123.921]],["content/181",[6,1.579,25,1.085,33,2.728,51,3.903,52,4.494,63,3.577,69,5.092,114,4.742,152,3.247,198,4.357,205,5.481,206,5.806,219,6.063,234,7.544,240,3.642,278,4.391,293,4.566,308,6.828,396,5.329,399,8.916,440,7.544,545,4.518,613,5.746,614,7.054,622,6.619,638,9.407,659,7.503,674,5.974,692,8.328,784,11.873,785,4.974,809,8.055,963,6.3,1037,11.632]],["keywords/181",[]],["title/182",[6,131.019,278,364.276,284,480.028]],["content/182",[6,2.117,25,1.454,33,2.231,155,5.144,183,5.435,196,5.371,228,7.537,246,5.451,273,3.784,276,10.484,278,4.645,284,7.758,315,5.621,330,4.149,425,6.208,462,6.856,538,8.577,543,6.39,544,8.16,545,4.78,556,6.164,590,7.357,799,11.863,910,6.943,937,7.537,1068,10.258]],["keywords/182",[]],["title/183",[107,332.397,181,360.573,732,473.461]],["content/183",[5,3.635,6,2.085,25,1.12,44,4.688,70,4.106,87,5.851,97,5.911,107,4.136,151,5.195,155,5.019,181,4.486,182,3.36,185,4.067,186,4.977,192,5.661,240,3.76,314,7.638,385,6.167,392,7.832,396,5.501,539,10.015,553,7.542,562,9.711,613,5.932,678,10.603,704,8.849,717,8.062,732,5.891,879,6.555,1003,13.613]],["keywords/183",[]],["title/184",[6,151.799,184,340.004]],["content/184",[6,2.289,12,5.824,25,1.424,45,4.738,65,5.474,97,5.864,155,4.979,171,4.362,176,6.095,182,3.333,184,5.128,191,5.021,205,4.34,219,6.208,240,3.73,265,6.009,293,4.676,301,3.807,314,5.925,426,10.388,438,6.255,537,5.474,541,8.145,613,7.546,973,8.983,985,7.769,1016,12.432,1238,11.688]],["keywords/184",[]],["title/185",[183,493.826,273,343.83]],["content/185",[4,1.731,6,2.074,25,1.111,70,4.073,183,6.747,191,5.021,196,5.199,202,5.138,273,5.186,276,10.148,301,3.807,330,4.016,385,6.118,399,9.131,425,6.009,532,9.728,537,5.474,538,8.302,544,6.232,545,5.933,611,10.518,740,7.769,858,8.413,920,8.845,1066,8.913,1174,10.148,1175,10.518,1177,10.265,1239,13.998]],["keywords/185",[]],["title/186",[25,70.65,33,137.374,467,375.547,670,595.91,678,668.979]],["content/186",[6,2.012,25,1.06,33,2.687,96,9.02,97,5.595,100,5.902,107,3.914,179,7.921,181,4.246,182,4.146,184,3.456,186,4.71,196,4.96,202,4.902,255,6.495,272,6.795,278,4.29,284,5.653,295,9.794,389,8.195,428,8.571,467,5.633,479,9.575,536,5.464,551,7.252,560,8.439,614,6.892,617,8.439,622,6.467,678,14.56,732,5.576,989,11.365,999,11.6,1000,8.571,1240,15.936]],["keywords/186",[]],["title/187",[4,123.338,25,79.157,182,237.492,678,749.53]],["content/187",[25,1.375,182,4.127,202,6.362,255,8.43,407,10.086,486,12.295,678,13.024,872,10.417,902,11.815,1077,11.707]],["keywords/187",[]],["title/188",[25,89.993,373,348.994,678,852.135]],["content/188",[1,3.98,4,1.737,5,1.928,6,0.865,7,5.877,8,7.28,10,3.534,12,4.063,19,1.574,22,4.045,23,4.145,24,3.083,25,1.352,28,3.863,29,4.834,32,1.111,33,1.993,34,3.148,35,3.943,37,1.499,44,1.462,53,5.808,60,1.959,84,2.802,87,1.825,98,6.602,107,1.29,110,3.94,111,1.981,122,3.92,125,3.534,151,1.62,152,2.737,156,2.781,161,1.659,167,2.282,182,1.782,185,1.268,188,2.945,193,2.104,198,4.117,206,1.869,224,2.708,241,1.952,251,4.966,271,1.863,273,3.015,295,5.489,300,2.895,314,3.168,319,2.34,330,1.262,334,1.514,355,3.519,364,2.847,368,3.307,373,2.303,381,1.694,394,2.663,396,1.716,398,1.966,408,1.737,458,2.442,483,2.824,491,3.822,538,2.61,543,3.307,572,1.876,630,5.054,656,3.121,678,12.362,736,1.966,758,2.271,765,1.721,768,3,770,2.593,771,4.669,772,2.178,773,4.592,774,6.37,775,4.276,777,2.34,780,2.781,782,3.089,787,2.545,843,5.275,886,4.163,901,2.004,993,2.529,996,5.275,1160,2.663,1196,3.443,1220,3,1241,5.251,1242,4.116,1243,5.251,1244,13.749,1245,5.251,1246,8.931,1247,11.653,1248,7.816,1249,8.931,1250,5.251,1251,3.822,1252,5.251,1253,5.251,1254,3.55,1255,7.221,1256,2.972,1257,2.402,1258,7.816,1259,4.245,1260,4.401,1261,5.697,1262,3.227,1263,3.745,1264,3.908,1265,8.931,1266,8.931,1267,8.931,1268,2.719,1269,5.251,1270,5.251,1271,5.251,1272,3.822,1273,5.251,1274,5.251,1275,5.251,1276,2.781,1277,5.251,1278,2.593,1279,5.251,1280,4.116,1281,5.251,1282,5.251,1283,4.401,1284,5.251,1285,4.856,1286,5.251,1287,5.251,1288,5.251,1289,5.251,1290,5.251,1291,5.251]],["keywords/188",[]],["title/189",[25,79.157,65,390.118,400,535.943,408,393.825]],["content/189",[2,8.072,4,2.101,5,3.771,6,2.252,10,6.912,25,1.348,33,2.259,35,3.541,37,4.054,63,2.708,69,3.854,92,5.264,100,6.469,113,5.743,114,5.078,134,6.988,182,2.463,185,2.983,196,3.843,252,4.788,265,4.442,293,4.89,295,10.736,334,3.56,400,9.924,408,7.989,467,7.166,503,6.538,514,4.426,536,5.99,541,6.021,548,7.775,561,5.809,936,6.137,963,6.747,1030,6.059,1038,7.679,1110,7.053,1148,8.64,1292,12.347,1293,12.347,1294,10.348,1295,9.678]],["keywords/189",[]],["title/190",[6,92.877,25,63.794,205,249.247,219,356.567,240,214.197,613,337.935]],["content/190",[6,1.89,25,1.298,69,6.094,205,5.072,219,7.256,240,4.359,246,6.167,419,11.859,542,12.452,553,8.743,556,6.973,613,8.315,799,13.42,872,9.832,902,11.151]],["keywords/190",[]],["title/191",[107,332.397,181,360.573,732,473.461]],["content/191",[6,2.14,70,4.279,87,6.098,107,4.31,155,6.588,176,6.404,181,5.889,192,5.899,240,3.918,288,8.666,293,4.912,314,7.84,330,4.219,425,6.312,490,6.972,613,6.181,617,9.292,622,7.121,704,9.222,732,6.139,893,7.378,985,8.162,1114,8.96,1296,14.187]],["keywords/191",[]],["title/192",[25,89.993,45,383.895,184,293.46]],["content/192",[6,2.002,12,5.514,25,1.052,45,6.535,171,4.13,182,3.155,184,5.298,191,4.754,196,4.922,204,7.483,205,4.109,219,5.879,225,5.669,226,8.075,227,8.132,240,3.531,246,4.996,293,4.427,301,3.604,323,8.718,536,5.423,537,5.183,550,8.951,551,7.197,554,7.572,613,8.115,678,9.959,862,9.959,894,7.923,973,8.506,1148,11.067,1297,10.693]],["keywords/192",[]],["title/193",[25,79.157,202,366.157,563,509.904,1119,686.479]],["content/193",[25,1.336,63,4.404,151,6.196,202,7.387,519,10.802,525,10.556,536,6.887,563,8.604,864,13.171,872,10.116,902,11.474,1119,11.583]],["keywords/193",[]],["title/194",[60,504.882,63,296.762,514,485.1]],["content/194",[4,1.915,6,1.789,25,1.229,60,9.242,63,4.053,92,7.88,152,3.679,196,5.752,198,4.937,273,5.006,396,6.038,512,7.565,514,6.625,590,7.88,737,7.675,926,9.437,963,7.138,1119,10.659]],["keywords/194",[]],["title/195",[6,131.019,185,326.9,480,486.819]],["content/195",[5,4.062,6,2.417,25,1.251,87,6.538,155,5.608,176,6.866,185,4.545,196,5.856,297,5.337,480,8.303,863,10.851,906,10.201,932,8.562,934,11.563,1023,14.004,1298,11.305,1299,13.696]],["keywords/195",[]],["title/196",[116,491.54,278,320.414,330,286.181,356,553.65]],["content/196",[6,2.129,12,6.067,25,1.157,40,6.642,92,7.419,116,9.079,196,5.416,241,6.468,278,4.684,293,4.871,321,10.694,330,6.088,356,10.226,544,6.492,545,4.82,551,7.918,668,9.012,734,8.764,751,10.694,910,7.001,937,7.6,1035,10.572,1170,8.885]],["keywords/196",[]],["title/197",[217,483.395,556,483.395,742,612.527]],["content/197",[4,1.898,25,1.218,33,2.369,37,3.812,63,4.979,202,5.635,217,6.544,222,4.995,273,4.017,334,5.282,512,7.498,514,6.567,536,6.281,543,6.784,556,8.11,718,7.434,742,8.292,921,9.487,958,8.473,963,7.075]],["keywords/197",[]],["title/198",[988,1328.96]],["content/198",[6,2.128,19,4.315,25,1.565,33,1.861,68,7.565,70,3.51,97,5.053,107,3.536,125,5.696,181,3.835,182,4.696,190,6.733,196,4.48,202,5.975,255,5.867,265,5.178,278,3.875,284,5.106,293,4.029,301,3.281,366,6.934,428,7.742,437,5.649,462,5.719,523,7.742,536,4.936,537,4.718,563,6.166,596,10.073,613,5.071,639,6.851,642,6.448,678,14.819,732,5.036,893,6.052,910,5.792,937,6.287,973,7.742,989,10.266,1119,8.302,1167,9.896,1194,10.478]],["keywords/198",[]],["title/199",[25,58.151,33,113.071,179,434.636,180,402.245,194,509.266,220,309.108,315,284.809]],["content/199",[]],["keywords/199",[]],["title/200",[25,63.794,33,124.043,179,476.813,180,441.279,194,558.686,961,528.808]],["content/200",[]],["keywords/200",[]],["title/201",[107,260.952,181,283.072,641,743.425,893,446.695,1300,488.703]],["content/201",[6,1.972,9,7.074,12,5.392,25,1.028,33,1.999,51,3.7,58,5.664,99,5.447,113,7.192,151,4.771,180,7.113,181,4.12,182,3.085,185,4.921,194,9.006,205,4.018,220,5.466,230,4.885,250,8.252,264,4.483,291,7.404,310,6.999,314,5.485,315,5.036,330,3.718,410,9.998,425,5.563,455,7.404,478,9.617,503,8.188,504,6.856,506,8.384,582,8.674,622,6.275,641,10.821,652,7.404,664,7.737,674,5.664,707,10.455,1082,10.292,1227,10.14,1301,13.532]],["keywords/201",[]],["title/202",[4,110.083,108,554.215,207,585.638,240,237.216,1302,929.703]],["content/202",[1,7.101,3,7.331,4,1.651,6,1.543,25,1.06,33,2.687,155,4.75,180,7.331,190,7.454,194,9.281,220,5.633,227,8.195,235,12.923,236,10.956,237,10.451,240,3.558,241,5.923,242,8.785,243,7.331,307,9.191,372,10.304,396,5.207,414,6.229,467,5.633,551,7.252,639,7.585,736,5.968,860,9.682,873,9.575,1021,8.571,1110,9.104,1151,10.304,1189,9.911,1303,13.946,1304,13.356,1305,11.152,1306,15.936,1307,15.936]],["keywords/202",[]],["title/203",[225,426.689,278,320.414,563,509.904,1308,673.714]],["content/203",[4,1.639,6,2.002,25,1.375,33,2.045,40,6.037,69,6.454,88,7.089,180,7.275,182,3.155,192,5.317,194,9.211,205,4.109,222,4.312,225,7.412,226,8.075,229,8.871,231,11.279,277,9.121,301,3.604,440,7.315,545,4.381,632,9.304,636,8.645,640,11.279,668,8.191,732,5.533,739,10.226,891,8.718,897,10.371,914,7.44,985,7.356,1114,8.075,1309,7.44,1310,9.211,1311,13.254,1312,15.815]],["keywords/203",[]],["title/204",[207,482.031,264,253.505,674,320.274,890,623.629,1313,519.794,1314,623.629,1315,550.628]],["content/204",[6,1.617,25,1.111,33,2.16,63,3.663,152,3.325,180,7.683,182,3.333,185,4.035,191,5.021,194,9.728,220,5.904,235,10.388,264,4.842,273,4.697,315,5.44,330,4.016,373,4.308,500,11.688,664,8.357,674,7.846,716,6.03,718,6.778,719,11.483,866,9.826,905,9.929,918,9.454,996,7.56,1125,11.688,1316,15.445,1317,11.688,1318,16.703,1319,16.703]],["keywords/204",[]],["title/205",[185,287.538,273,261.029,462,472.946,1320,640.194]],["content/205",[6,1.935,25,0.999,49,7.065,60,5.603,70,3.662,103,6.692,180,6.908,185,4.827,194,8.746,222,4.095,241,5.582,273,4.382,284,5.327,293,4.204,301,3.423,455,7.19,536,5.149,537,4.922,541,7.323,544,5.603,545,5.535,590,6.403,622,6.094,631,8.746,640,10.71,660,8.423,696,9.34,703,5.603,732,5.254,785,4.58,893,6.314,926,7.668,1006,9.124,1020,12.585,1321,12.585,1322,12.141,1323,11.771,1324,15.017,1325,9.71,1326,9.229,1327,8.014,1328,15.017,1329,7.615,1330,11.771]],["keywords/205",[]],["title/206",[124,445.761,181,317.157,757,769.603,786,509.904]],["content/206",[6,1.657,25,1.138,46,5.54,70,4.174,181,5.797,182,3.415,185,4.134,186,5.059,194,9.967,278,4.607,305,10.644,314,7.717,315,5.574,334,4.935,392,7.961,490,6.8,536,5.868,539,7.961,561,8.051,564,7.916,614,7.402,786,7.332,886,6.114,957,10.398,1003,13.837,1075,12.739,1126,12.739,1331,17.115,1332,9.205]],["keywords/206",[]],["title/207",[7,331.64,46,343.888,373,273.982,1333,790.76,1334,1062.382]],["content/207",[1,6.942,3,7.166,4,1.614,7,4.863,8,8.249,37,2.615,51,3.728,52,4.292,58,5.706,97,5.469,99,5.488,125,6.164,182,3.108,186,4.605,195,8.249,196,4.849,199,7.459,200,5.812,220,5.507,246,4.921,264,4.516,373,4.018,395,6.55,432,8.187,506,8.446,524,10.216,542,9.937,560,8.249,622,8.308,645,9.165,736,5.834,738,10.073,799,10.71,985,7.246,1065,9.165,1068,9.261,1077,8.818,1151,10.073,1197,10.902,1303,13.633,1323,12.212,1335,12.212]],["keywords/207",[]],["title/208",[315,387.69,550,673.714,622,483.032,785,362.986]],["content/208",[6,1.617,25,1.111,152,3.325,184,3.622,185,4.035,198,4.462,205,4.34,219,6.208,220,7.572,240,3.73,252,6.477,299,10.388,301,3.807,315,5.44,330,5.15,356,7.769,371,8.713,537,5.474,545,5.933,613,5.884,652,7.997,706,8.529,926,8.529,1024,7.858,1045,12.741,1329,8.47,1336,14.617,1337,13.998,1338,15.445,1339,7.482,1340,16.703]],["keywords/208",[]],["title/209",[25,63.794,125,379.585,241,356.567,243,441.279,315,312.447,1341,775.576]],["content/209",[22,4.302,23,4.298,24,4.617,32,3.469,34,4.845,35,2.471,37,1.447,124,6.138,151,2.659,152,1.716,161,5.836,164,4.2,167,7.124,184,1.869,185,2.082,224,2.613,225,3.089,240,2.986,241,4.971,271,3.057,275,2.87,308,2.79,330,3.216,335,9.539,347,3.964,355,5.271,520,6.054,572,3.079,630,6.791,641,6.031,735,3.88,758,3.727,764,4.711,765,4.384,767,7.641,770,4.256,771,5.359,772,3.575,773,5.271,774,4.711,775,4.126,776,6.366,777,3.84,778,6.415,780,4.564,806,6.442,886,3.079,901,3.29,910,3.468,981,4.923,1024,4.054,1157,9.743,1256,4.878,1309,6.292,1342,9.043,1343,5.123,1344,8.618,1345,5.36,1346,6.574,1347,5.36,1348,8.618,1349,8.618,1350,6.574,1351,6.415,1352,8.618,1353,11.209,1354,5.236,1355,8.618,1356,5.497,1357,8.618,1358,8.618,1359,6.574]],["keywords/209",[]],["title/210",[171,250.496,184,208.027,191,288.379,272,409.004,1360,596.617,1361,515.945]],["content/210",[4,1.377,6,1.287,22,3.488,23,3.862,25,0.884,32,2.813,34,3.043,88,4.558,164,4.174,176,4.851,193,5.326,205,4.779,220,4.699,224,4.03,240,2.968,297,3.771,330,3.196,334,3.833,385,4.869,432,6.986,438,4.978,477,12.284,478,8.267,496,5.371,515,6.564,613,4.683,660,7.456,954,6.986,991,7.327,996,6.017,1326,8.169,1343,7.901,1346,10.139,1360,8.267,1361,9.893,1362,14.419,1363,14.419,1364,13.292,1365,15.354,1366,11.632,1367,10.747,1368,11.14,1369,11.632,1370,11.14,1371,11.632,1372,11.14,1373,11.14,1374,11.632,1375,13.292,1376,12.292,1377,8.604]],["keywords/210",[]],["title/211",[105,733.699,886,483.395,1378,841.635]],["content/211",[4,1.303,22,4.643,23,4.209,24,6.107,25,1.176,28,5.437,29,7.338,32,2.66,33,1.625,34,4.051,35,3.605,37,2.11,45,3.566,68,9.298,111,4.743,184,2.726,185,3.037,198,3.358,220,4.444,224,3.811,246,3.971,271,4.459,275,4.186,314,4.459,355,4.954,572,4.49,613,4.428,630,7.525,722,6.331,758,5.437,764,6.872,765,5.798,767,7.181,770,6.208,771,7.088,772,5.214,773,6.972,775,6.019,776,8.42,777,5.602,780,6.657,965,7.818,1191,8.019,1379,12.57,1380,11.624,1381,12.57,1382,12.57]],["keywords/211",[]],["title/212",[25,89.993,437,531.112,696,841.635]],["content/212",[1,5.67,4,1.849,6,1.232,25,0.846,37,2.136,44,5.738,46,4.119,60,4.747,63,2.79,70,4.351,86,5.141,107,3.125,109,8.227,154,4.677,180,5.853,181,5.49,184,2.759,185,4.31,192,4.278,194,7.41,203,6.452,205,3.306,220,4.498,236,8.748,237,8.344,252,4.934,273,3.913,278,3.425,310,5.759,314,4.514,322,6.559,385,7.547,398,4.765,477,7.41,478,7.914,496,5.141,537,4.17,565,7.202,568,7.485,590,5.425,614,5.503,622,5.163,650,7.338,704,6.687,891,7.014,1020,10.664,1032,8.748,1065,7.485,1109,6.59,1183,7.014,1361,6.844,1378,7.914,1383,12.724,1384,8.748,1385,10.664,1386,12.724,1387,12.724,1388,8.117,1389,10.287,1390,12.724,1391,10.287,1392,10.287]],["keywords/212",[]],["title/213",[6,71.935,7,231.936,25,49.41,33,96.074,37,124.737,182,148.243,262,634.931,963,286.966]],["content/213",[]],["keywords/213",[]],["title/214",[5,256.976,6,115.243,14,447.448,262,635.181]],["content/214",[]],["keywords/214",[]],["title/215",[87,544.842,181,417.762]],["content/215",[4,2.197,5,3.549,6,2.053,33,2.126,70,4.009,79,8.705,87,5.713,181,4.38,182,4.683,185,3.971,192,5.527,199,7.871,200,6.133,202,5.057,246,5.193,262,11.314,264,4.766,314,7.521,396,5.371,438,6.156,532,9.574,561,7.734,703,6.133,704,8.64,706,8.394,907,10.103,937,7.18,999,11.967,1393,13.291,1394,13.777]],["keywords/215",[]],["title/216",[561,876.641]],["content/216",[5,3.577,6,2.063,33,2.143,63,3.634,70,4.041,87,5.758,103,7.384,182,4.252,185,4.003,222,4.518,262,8.842,392,7.707,532,9.65,543,6.136,550,9.379,561,10.026,652,7.934,664,8.29,675,7.707,711,7.032,718,6.724,785,5.053,893,6.967,904,12.062,905,9.85,910,6.667,921,8.581,963,6.4,1180,9.956,1395,12.334,1396,16.57,1397,13.397]],["keywords/216",[]],["title/217",[182,211.969,301,242.127,786,455.105,886,379.495,1398,668.979]],["content/217",[5,3.521,6,2.393,12,5.687,44,4.542,70,3.978,96,9.232,182,4.665,185,3.94,240,3.642,262,8.704,293,4.566,301,3.717,322,5.996,405,8.387,520,7.383,544,6.085,693,7.306,712,9.909,717,7.809,786,6.987,886,5.826,887,9.499,893,6.858,926,8.328,943,8.572,957,9.909,983,9.696,1204,8.387,1205,12.785,1220,9.318,1398,10.271,1399,12.785]],["keywords/217",[]],["title/218",[6,115.243,185,287.538,480,428.201,1400,667.664]],["content/218",[4,1.788,5,3.725,6,2.325,33,2.231,37,2.897,70,4.208,155,5.144,176,6.297,185,4.169,192,5.802,196,5.371,480,7.868,551,7.853,662,12.307,663,9.513,863,9.952,906,9.356,914,8.118,924,11.008,932,9.952,934,10.605,982,9.208,1016,12.844,1123,12.844,1401,12.307,1402,12.561]],["keywords/218",[]],["title/219",[18,397.612,33,153.915,185,287.538,252,461.561]],["content/219",[5,3.549,6,1.592,18,7.082,33,2.742,44,4.577,110,9.353,179,8.171,182,4.23,185,3.971,196,5.117,222,4.483,252,8.222,262,11.314,291,7.871,293,5.935,299,10.224,322,6.043,496,6.643,515,8.118,529,9.305,712,9.988,718,6.671,732,5.752,936,8.171,973,8.842,991,9.062,1017,12.236,1018,14.386,1043,11.967]],["keywords/219",[]],["title/220",[185,287.538,273,261.029,675,553.65,692,607.783]],["content/220",[6,1.604,33,2.756,103,7.384,176,6.047,182,3.306,185,4.003,240,3.7,262,8.842,273,5.166,301,4.857,334,4.778,373,4.273,381,5.347,438,6.205,532,9.65,537,5.431,543,6.136,545,4.59,664,8.29,675,7.707,692,8.461,716,5.982,904,12.062,905,9.85,910,6.667,926,8.461,1011,11.204,1012,11.392,1042,10.714,1049,10.183,1403,11.817]],["keywords/220",[]],["title/221",[6,102.858,97,372.969,180,488.703,182,211.969,185,256.637]],["content/221",[5,3.665,6,2.307,33,2.799,70,4.14,97,5.959,114,4.935,180,9.956,182,4.318,183,5.347,185,4.101,196,5.283,222,4.629,262,9.058,293,4.752,330,5.204,334,4.894,425,6.107,544,6.333,545,5.995,617,8.989,862,10.689,893,7.137,910,6.83,936,8.437,957,10.313]],["keywords/221",[]],["title/222",[7,371.572,250,635.181,255,485.12,552,625.565]],["content/222",[3,7.562,7,5.132,25,1.093,33,3.035,49,7.734,92,7.009,113,7.646,196,6.599,250,11.314,255,6.7,257,7.363,258,12.539,259,13.777,262,11.314,291,7.871,297,4.664,308,5.321,310,7.441,334,4.74,438,6.156,533,9.305,536,5.637,548,10.352,551,7.481,553,7.363,590,7.009,866,9.671,937,7.18,956,10.352,965,10.224,1013,14.386]],["keywords/222",[]],["title/223",[18,397.612,33,153.915,184,258.124,973,640.194]],["content/223",[6,1.555,18,6.976,33,3.001,114,4.668,184,5.329,219,7.762,220,7.382,262,12.384,293,4.495,307,12.044,322,8.531,440,7.428,536,5.506,550,9.089,589,11.238,613,5.657,718,6.517,866,9.447,922,12.249,931,9.546,943,8.44,982,8.57,987,10.383,1037,11.453,1164,9.869,1404,16.059]],["keywords/223",[]],["title/224",[428,843.27,512,641.789]],["content/224",[33,2.799,44,4.727,63,3.723,86,6.859,176,6.195,182,3.387,185,4.101,205,4.411,222,4.629,240,4.833,262,9.058,265,6.107,273,3.723,417,7.643,424,10.975,428,9.13,438,6.357,512,6.949,536,5.82,718,6.889,785,5.177,921,8.791,937,7.414,963,6.556,991,9.358,994,9.13,1007,8.921,1010,13.724,1011,11.478,1012,11.67]],["keywords/224",[]],["title/225",[16,449.64,33,113.071,182,174.469,417,393.72,662,623.629,663,482.031,952,494.931]],["content/225",[4,1.985,21,11.051,33,3.018,79,10.146,182,3.823,193,7.677,206,6.821,240,4.278,262,12.455,417,10.509,533,10.845,564,8.863,703,7.149,961,10.563,1405,16.768]],["keywords/225",[]],["title/226",[114,346.026,284,422.228,670,667.664,953,885.975]],["content/226",[6,2.338,25,1.021,33,2.622,182,3.062,196,4.777,205,3.988,240,3.427,255,6.256,262,12.114,265,5.522,284,8.053,293,4.297,299,9.546,330,3.69,334,5.845,347,7.061,348,8.688,417,6.911,425,5.522,544,5.727,545,5.616,553,6.875,587,9.791,636,8.391,664,7.68,701,9.546,711,8.604,732,5.37,751,9.433,953,11.425,954,8.067,1025,11.708,1406,12.032,1407,11.708]],["keywords/226",[]],["title/227",[63,296.762,301,308.418,786,579.706]],["content/227",[33,2.66,40,5.992,51,4.923,52,4.325,97,7.223,103,6.994,114,4.563,149,6.511,182,3.132,186,4.639,192,5.277,206,5.587,240,3.505,262,8.376,273,3.442,301,4.689,308,5.081,310,7.105,417,7.067,496,6.342,543,5.813,551,7.143,581,6.661,713,10.148,714,10.447,786,8.814,874,6.959,897,10.293,898,10.791,937,6.855,955,9.052,958,7.26,963,6.062,1028,9.052,1030,7.702,1408,13.736,1409,15.696]],["keywords/227",[]],["title/228",[97,475.083,958,625.942,1410,1184.242]],["content/228",[3,6.908,7,4.688,19,4.502,33,2.584,51,4.782,92,6.403,97,7.015,98,6.433,100,5.561,125,7.907,155,4.476,182,2.996,206,5.346,240,3.353,262,8.014,272,6.403,291,7.19,310,6.797,314,5.327,389,7.722,417,6.762,492,10.154,514,5.383,515,7.416,583,13.142,636,8.209,785,4.58,865,9.848,897,9.848,911,9.579,924,9.579,936,7.464,958,11.073,963,5.8,994,8.077,1029,10.931,1411,13.142,1412,13.886,1413,16.746,1414,15.017]],["keywords/228",[]],["title/229",[16,612.063,25,79.157,262,635.181,952,673.714]],["content/229",[6,1.789,7,5.769,25,1.518,33,2.952,37,3.103,182,3.687,262,13.219,293,5.173,417,8.321,437,7.253,462,7.343,514,6.625,703,6.895,872,9.308,902,10.558,952,10.46,961,10.188,990,14.487]],["keywords/229",[]],["title/230",[7,489.185,182,211.969,288,524.652,514,380.833]],["content/230",[4,1.898,7,8.051,25,1.51,110,8.081,182,3.655,196,5.702,250,9.775,255,7.466,310,8.292,364,9.932,396,5.985,514,6.567,536,6.281,614,7.923,617,9.7,937,8.001,1169,8.381,1415,18.319,1416,16.939]],["keywords/230",[]],["title/231",[152,236.98,217,425.189,414,465.275,544,444.09]],["content/231",[4,2.243,6,2.095,7,6.756,25,1.439,46,5.495,58,6.217,152,4.309,182,3.387,217,7.731,222,4.629,293,4.752,414,8.46,533,9.608,544,6.333,572,6.064,695,8.383,701,10.557,732,5.939,954,8.921,956,10.689,1037,12.106,1187,10.975,1305,11.879,1417,9.279,1418,13.306]],["keywords/231",[]],["title/232",[62,455.105,86,429.278,297,301.381,300,585.638,417,478.346]],["content/232",[25,1.148,33,2.231,86,6.973,96,9.767,97,6.058,125,6.828,182,3.443,196,5.371,262,9.208,293,4.83,297,6.204,300,13.236,304,8.692,396,5.638,401,7.729,417,7.77,525,9.069,532,10.05,548,10.866,630,6.344,703,6.438,912,9.002,937,7.537,961,9.513,1040,11.008,1419,13.163,1420,15.957]],["keywords/232",[]],["title/233",[183,334.613,273,232.977,425,382.183,544,396.364,545,294.262]],["content/233",[6,1.685,18,5.812,25,1.157,33,2.25,44,4.845,155,5.187,183,6.925,262,9.285,273,4.821,276,10.572,284,6.172,330,4.184,399,9.512,425,6.26,462,6.914,544,8.203,545,6.09,613,6.13,712,10.572,722,8.764,732,6.088,858,8.764,914,8.186,1066,9.285,1170,8.885]],["keywords/233",[]],["title/234",[183,334.613,273,232.977,514,380.833,981,606.904,982,566.919]],["content/234",[23,4.155,25,1.304,32,4.149,63,4.3,116,6.028,155,4.351,164,6.157,166,7.914,182,2.912,183,4.597,262,7.789,273,4.3,512,5.975,514,5.232,543,5.405,544,5.446,545,4.043,718,5.923,804,7.074,910,5.873,918,8.262,921,7.559,963,5.638,974,9.311,975,7.85,976,12.773,977,12.233,978,12.233,979,11.801,980,12.233,981,8.338,982,10.462,983,8.677,1046,11.801,1047,10.625,1421,12.773]],["keywords/234",[]],["title/235",[152,269.421,183,426.225,737,454.965]],["content/235",[23,3.265,25,1.111,92,7.121,152,4.265,155,4.979,164,5.245,183,6.747,196,6.667,262,8.913,284,5.925,291,7.997,297,4.738,330,5.15,438,6.255,544,6.232,545,4.626,613,5.884,659,7.683,737,7.95,910,6.721,920,8.845,972,10.953,1041,13.093,1422,11.688,1423,14.617,1424,14.617,1425,13.998]],["keywords/235",[]],["title/236",[5,292.154,152,269.421,742,612.527]],["content/236",[5,3.494,6,2.032,25,1.076,33,2.093,37,3.911,63,3.549,103,7.212,152,3.222,186,4.784,202,4.978,262,8.636,293,4.53,334,4.666,392,7.528,401,7.249,467,5.721,498,10.065,512,8.591,536,5.549,551,7.364,579,10.464,581,6.868,718,8.517,742,9.5,785,4.935,907,9.946,944,9.078,963,6.251,984,9.946,1224,9.425,1426,12.345,1427,8.636]],["keywords/236",[]],["title/237",[281,461.561,297,337.67,379,544.573,614,514.812]],["content/237",[6,2.325,18,5.764,25,1.148,46,5.586,51,4.129,65,5.656,69,5.387,70,4.208,87,5.997,155,5.144,202,5.308,225,6.186,252,6.691,281,9.31,297,4.895,379,7.895,385,6.32,396,5.638,438,6.462,536,5.917,553,7.729,613,7.704,614,7.463,985,8.026,1428,15.957]],["keywords/237",[]],["title/238",[184,230.384,220,375.547,288,524.652,394,538.737,982,566.919]],["content/238",[4,1.849,25,1.187,180,8.21,184,3.87,194,10.394,220,8.62,239,9.113,240,3.985,255,7.274,310,8.078,394,9.051,395,9.393,553,7.994,554,8.545,560,9.451,613,6.287,622,7.243,639,8.495,982,9.524,1054,12.489,1055,8.871,1065,10.5,1151,11.54]],["keywords/238",[]],["title/239",[37,178.358,125,420.379,400,478.346,639,505.648,743,743.425]],["content/239",[3,7.622,4,1.717,25,1.417,33,2.143,37,2.782,51,3.965,58,6.069,65,6.985,88,5.681,97,5.817,99,5.837,125,6.557,182,3.306,195,8.774,200,6.182,262,8.842,264,4.804,293,4.638,396,5.414,400,7.461,438,6.205,462,6.584,639,7.887,743,14.913,875,8.774,937,7.237,991,9.134,1043,12.062,1051,12.989,1052,13.397,1065,9.748,1151,10.714]],["keywords/239",[]],["title/240",[3,488.703,278,285.979,330,255.425,426,660.735,765,348.193]],["content/240",[3,7.746,5,3.635,6,2.085,25,1.12,69,5.256,155,5.019,176,7.857,205,4.375,255,6.862,278,5.796,293,4.713,330,5.177,426,10.472,438,6.306,466,8.784,541,8.211,545,4.664,550,9.53,617,8.916,765,8.199,1118,10.887,1164,13.232,1429,16.838,1430,13.613,1431,16.838]],["keywords/240",[]],["title/241",[191,471.331,879,610.406]],["content/241",[4,1.343,6,2.015,7,4.046,19,3.885,25,1.575,33,1.676,37,3.035,49,6.098,63,2.842,87,4.504,105,9.8,125,5.129,171,3.385,181,3.454,182,3.606,186,3.831,190,6.063,191,3.896,196,4.034,202,3.987,262,12.015,297,3.677,428,6.971,437,5.087,462,5.15,512,5.306,523,6.971,560,6.864,561,6.098,562,7.475,613,4.566,617,6.864,622,5.26,642,5.806,688,7.875,732,4.535,853,10.326,866,7.625,872,6.528,879,5.046,882,7.966,883,7.027,884,7.549,886,6.457,887,7.549,937,5.661,963,5.006,994,6.971,996,5.867,1000,6.971,1056,8.162,1057,10.479,1187,8.38,1418,10.16,1432,11.986,1433,11.343]],["keywords/241",[]],["title/242",[1434,1195.939,1435,1167.014]],["content/242",[]],["keywords/242",[]],["title/243",[1436,1372.068,1437,1267.615]],["content/243",[33,1.42,37,3.73,58,4.022,114,3.192,180,5.051,185,2.652,367,14.05,670,6.159,958,5.079,1438,21.919,1439,10.98,1440,10.98,1441,13.455,1442,20.086,1443,22.215,1444,10.512,1445,10.154,1446,10.154,1447,16.055,1448,10.98,1449,10.154,1450,10.98,1451,10.154,1452,10.154,1453,14.846,1454,9.609,1455,10.154,1456,8.877,1457,10.98,1458,10.98,1459,10.154,1460,10.98,1461,10.98,1462,19.308,1463,16.055,1464,14.846,1465,20.88,1466,16.171,1467,18.979,1468,10.154,1469,10.98,1470,10.98,1471,10.154,1472,10.98,1473,16.055,1474,10.98]],["keywords/243",[]],["title/244",[1436,1630.706]],["content/244",[37,1.406,51,2.004,58,8.28,99,2.951,107,3.213,114,2.435,185,3.16,200,4.88,206,2.981,264,2.428,301,1.909,367,15.919,414,3.274,480,3.013,670,10.204,1259,6.772,1441,13.489,1442,19.912,1445,22.386,1446,7.745,1449,7.745,1451,7.745,1452,7.745,1453,14.883,1454,14.085,1456,6.772,1459,12.096,1462,14.883,1464,12.096,1468,18.247,1471,14.883,1475,13.081,1476,12.096,1477,13.081,1478,8.376,1479,7.337,1480,13.081,1481,8.376,1482,8.376,1483,8.376,1484,16.095,1485,8.376,1486,13.081,1487,8.376,1488,13.081,1489,16.095,1490,8.376,1491,8.376,1492,16.095,1493,8.376,1494,8.376,1495,7.745,1496,8.376,1497,8.376,1498,8.376,1499,7.745,1500,8.376,1501,4.785,1502,8.376,1503,8.376,1504,8.376,1505,8.376,1506,8.376,1507,13.081,1508,8.376,1509,8.376,1510,13.081,1511,9.522,1512,8.376,1513,13.081,1514,8.376,1515,8.376,1516,7.745,1517,7.33,1518,7.745,1519,8.376,1520,8.376,1521,8.376,1522,7.745,1523,8.376,1524,8.376,1525,8.376,1526,4.578,1527,8.376,1528,8.376,1529,8.376,1530,8.376,1531,8.376,1532,8.376,1533,8.376]],["keywords/244",[]],["title/245",[516,806.215,1436,1372.068]],["content/245",[5,4.336,52,5.534,107,4.933,308,6.501,315,6.542,650,11.583,1441,16.832,1534,20.085,1535,20.085,1536,14.055,1537,20.085,1538,20.085,1539,20.085]],["keywords/245",[]],["title/246",[25,70.65,179,528.056,208,580.745,220,375.547,315,346.025]],["content/246",[]],["keywords/246",[]],["title/247",[25,70.65,179,528.056,186,314.016,208,580.745,555,660.735]],["content/247",[25,1.336,96,11.368,190,9.395,201,7.757,208,10.979,237,13.171,556,7.174,643,14.324,1110,11.474,1304,16.832,1305,14.055,1540,12.491,1541,15.744]],["keywords/247",[]],["title/248",[107,292.374,181,317.157,582,667.664,1300,547.547]],["content/248",[5,3.665,6,1.644,25,1.129,51,4.062,58,6.217,99,5.98,151,5.237,161,5.363,176,6.195,181,4.523,182,4.318,184,3.681,185,5.228,192,5.707,205,4.411,243,7.809,330,4.081,373,4.378,388,9.522,454,10.975,496,6.859,504,7.526,506,9.203,582,9.522,613,5.98,622,6.889,639,8.079,652,8.128,914,7.986,1189,10.557]],["keywords/248",[]],["title/249",[4,123.338,108,620.948,220,420.766,1302,1041.648]],["content/249",[6,1.944,25,1.006,33,1.956,37,2.539,45,4.291,114,4.397,184,3.28,205,3.93,206,5.384,208,8.269,220,5.347,235,12.488,236,10.399,237,9.919,239,7.724,240,4.483,241,7.463,242,8.338,260,7.834,307,8.724,308,4.896,315,4.927,330,3.637,334,4.361,372,9.78,387,8.809,397,9.649,423,9.296,504,6.706,559,9.649,668,7.834,732,5.292,914,7.116,934,9.296,985,7.036,1019,9.525,1082,10.068,1169,6.92,1542,13.237,1543,15.126,1544,15.126,1545,15.126,1546,12.677]],["keywords/249",[]],["title/250",[225,426.689,226,607.783,563,509.904,1308,673.714]],["content/250",[6,2.002,25,1.052,40,6.037,69,6.454,70,5.042,88,5.423,155,4.714,176,5.772,208,8.645,225,7.412,226,10.558,227,8.132,229,8.871,230,4.996,231,11.279,241,5.879,271,5.61,319,7.048,322,5.814,395,6.65,409,10.088,426,9.836,545,4.381,650,9.121,891,8.718,894,6.061,972,10.371,985,7.356,1310,12.042,1311,13.254,1547,10.527,1548,10.088,1549,15.815,1550,15.815,1551,12.786]],["keywords/250",[]],["title/251",[207,656.155,718,483.032,1313,707.558,1314,848.901]],["content/251",[4,1.759,6,1.644,18,5.67,25,1.439,154,6.24,179,8.437,185,5.228,208,11.831,264,4.921,273,4.746,315,5.529,373,4.378,392,7.896,661,10.828,674,8.727,718,6.889,918,9.608,1199,13.306,1314,12.106,1315,10.689,1384,11.67,1552,11.67,1553,16.975,1554,11.879,1555,16.975,1556,15.697]],["keywords/251",[]],["title/252",[202,366.157,273,261.029,703,444.09,1320,640.194]],["content/252",[5,3.521,6,1.579,25,1.085,49,7.673,60,7.87,185,3.94,192,5.484,273,5.127,284,5.786,301,3.717,322,5.996,373,4.206,414,6.376,537,5.346,538,8.107,543,6.04,563,6.987,590,6.954,622,6.619,631,9.499,703,7.87,865,10.696,876,10.144,1183,8.991,1326,10.024,1327,8.704,1329,8.271,1501,9.318,1557,14.274,1558,10.024,1559,16.311,1560,11.213,1561,16.311]],["keywords/252",[]],["title/253",[124,397.855,181,283.072,297,301.381,757,686.894,886,379.495]],["content/253",[6,1.713,25,1.177,70,4.316,107,4.347,176,6.458,181,5.921,192,5.949,208,9.673,230,5.59,264,6.442,305,11.006,334,5.102,361,9.926,388,12.464,531,9.673,561,8.325,786,9.519,993,8.524,1168,11.605,1170,9.036,1562,12.882,1563,14.831,1564,11.288]],["keywords/253",[]],["title/254",[7,331.64,8,562.569,195,562.569,738,686.894,1333,790.76]],["content/254",[1,6.284,3,6.487,4,1.461,5,3.045,6,1.365,7,4.402,21,8.133,25,0.938,37,3.216,43,11.054,51,4.584,52,3.886,58,7.016,97,4.951,99,6.748,125,5.58,182,3.822,185,3.407,199,9.171,200,5.261,264,5.553,265,5.073,297,4.001,304,7.103,310,6.383,330,3.391,373,3.637,400,6.35,504,8.492,506,10.386,519,7.585,524,9.248,664,7.056,709,8.667,952,7.982,1030,6.92,1049,8.667,1065,8.296,1084,12.341,1335,11.054,1565,13.04,1566,12.341,1567,11.054,1568,14.102,1569,14.102,1570,14.102,1571,9.535,1572,14.102]],["keywords/254",[]],["title/255",[46,438.039,315,440.762,622,549.155]],["content/255",[1,3.017,4,0.701,6,0.655,19,2.029,22,3.667,23,4.208,24,3.81,25,0.929,32,2.957,34,4.358,35,1.941,37,1.137,40,2.584,45,1.92,114,3.208,116,2.796,124,5.232,125,2.679,151,2.089,152,2.782,161,5.091,162,2.393,164,3.466,166,5.984,167,6.072,179,3.365,184,3.03,185,1.635,191,2.035,208,6.033,220,3.901,224,2.053,225,2.427,239,3.457,241,4.102,242,3.732,243,5.077,265,2.435,271,2.401,275,2.254,301,2.515,307,9.294,308,2.191,315,3.595,330,2.653,335,4.828,347,3.114,355,4.349,356,3.149,366,3.261,381,2.185,398,2.535,438,2.535,440,3.131,454,4.377,462,2.69,466,3.532,490,2.69,520,4.996,537,3.617,541,3.301,545,1.875,572,2.418,630,5.924,639,3.222,706,3.457,735,3.048,740,3.149,758,2.928,764,3.701,765,3.617,767,6.305,770,3.343,771,4.422,772,2.808,773,4.349,774,3.701,775,3.241,776,5.253,777,3.017,778,5.039,780,3.585,806,5.316,845,4.439,876,4.21,882,4.16,886,2.418,901,2.584,912,3.532,981,3.867,1024,5.192,1151,4.377,1157,8.305,1173,4.024,1176,3.867,1189,4.21,1256,3.832,1309,6.573,1329,3.433,1338,6.26,1339,4.943,1342,7.462,1343,4.024,1345,4.21,1346,5.164,1347,4.21,1350,5.164,1351,5.039,1353,5.674,1354,4.113,1444,3.203,1573,6.77,1574,6.26,1575,5.924,1576,6.77,1577,11.037,1578,6.77,1579,5.473,1580,5.039,1581,6.26]],["keywords/255",[]],["title/256",[25,70.65,179,528.056,208,580.745,886,379.495,1074,580.745]],["content/256",[]],["keywords/256",[]],["title/257",[25,104.266,29,650.349]],["content/257",[25,1.463,28,9.512,29,9.123,722,11.077]],["keywords/257",[]],["title/258",[33,202.738,198,418.827]],["content/258",[22,6.024,23,4.135,24,7.923,32,3.946,34,4.269,35,5.347,37,3.13,275,6.209,355,7.348,764,10.193,776,10.925,777,8.309,845,12.228]],["keywords/258",[]],["title/259",[224,475.386,590,668.484]],["content/259",[23,4.251,34,3.855,271,5.973,572,6.015,630,8.726,631,9.806,758,7.282,765,7.057,767,9.619,770,8.315,771,8.627,772,6.984,773,8.485,774,9.204,775,8.062,780,8.916,1356,13.734]],["keywords/259",[]],["title/260",[315,606.931]],["content/260",[4,1.745,14,8.094,15,9.806,25,1.432,33,2.177,45,4.777,60,6.282,92,7.179,162,5.952,184,4.669,185,4.067,207,9.282,208,13.676,220,8.391,241,6.259,273,3.692,314,5.973,476,10.23,563,7.213,571,11.042,637,9.619,732,5.891,1042,10.887,1169,9.851]],["keywords/260",[]],["title/261",[19,318.465,184,230.384,886,379.495,1360,660.735,1361,571.393]],["content/261",[4,1.55,6,1.737,19,2.992,22,2.619,23,4.017,25,0.995,32,2.112,34,2.285,44,4.165,88,5.129,112,6.545,162,3.528,164,3.134,171,2.606,184,3.244,185,2.411,191,3,205,3.887,224,3.026,240,4.45,252,3.87,285,6.862,297,2.831,314,3.54,315,6.954,334,2.878,347,6.882,380,7.265,385,3.656,425,3.59,467,5.288,477,11.608,478,9.304,496,4.033,504,4.425,515,4.929,564,4.617,661,6.367,712,6.064,716,5.401,735,4.494,826,5.502,882,6.134,1024,7.038,1055,4.961,1326,6.134,1343,5.933,1346,7.613,1360,9.304,1361,9.651,1362,11.726,1363,11.726,1365,13.062,1367,8.069,1368,8.365,1369,8.734,1370,8.365,1371,8.734,1372,8.365,1373,8.365,1374,8.734,1376,9.229,1377,4.669,1582,7.429,1583,7.824,1584,12.095,1585,9.229,1586,11.726,1587,9.229,1588,7.824,1589,7.429,1590,7.613]],["keywords/261",[]],["title/262",[25,89.993,190,633.003,696,841.635]],["content/262",[6,1.329,14,7.071,21,7.919,25,1.251,33,1.775,44,5.237,60,5.123,107,4.62,181,5.717,184,2.978,185,4.544,190,6.423,208,10.282,230,4.338,236,12.931,237,9.004,240,3.066,264,3.981,273,5.061,315,6.126,322,5.047,330,3.301,373,3.541,400,6.182,413,7.111,500,9.608,563,5.882,590,5.854,607,7.444,622,5.572,668,7.111,674,7.858,732,4.804,862,8.646,865,9.004,886,4.905,961,7.569,1189,8.539,1211,10.763,1315,8.646,1556,12.697,1557,12.016,1591,13.73,1592,13.73,1593,12.016,1594,13.73]],["keywords/262",[]],["title/263",[191,471.331,879,610.406]],["content/263",[6,1.773,25,1.51,33,1.708,107,4.498,155,3.937,179,6.565,181,3.519,184,2.864,185,4.424,190,6.178,208,7.22,220,4.669,222,3.602,225,6.565,226,6.744,265,4.752,273,2.896,297,3.747,301,3.01,315,5.965,398,4.946,400,5.947,410,8.54,437,5.184,523,7.104,536,4.529,537,4.329,541,6.441,553,5.916,641,9.243,648,8.317,674,4.838,718,5.36,853,7.545,872,6.653,881,9.615,883,7.161,884,7.692,893,5.554,971,7.851,993,6.362,994,7.104,996,5.978,1034,10.679,1168,8.662,1187,8.54,1302,11.559,1314,9.42,1321,11.069,1326,8.117,1327,7.048,1562,9.615,1595,8.215,1596,12.214,1597,11.559,1598,9.615,1599,13.208,1600,13.208,1601,13.208]],["keywords/263",[]],["title/264",[2,294.246,25,53.425,33,103.882,182,160.29,301,183.096,414,314.027,537,263.302,1056,505.879]],["content/264",[]],["keywords/264",[]],["title/265",[63,296.762,401,606.144,1427,722.133]],["content/265",[2,7.745,4,1.169,5,2.435,6,2.047,12,3.932,22,2.96,25,1.406,33,3.125,37,1.893,63,2.473,70,2.75,86,4.557,87,5.689,96,6.383,103,7.295,114,3.278,182,3.266,186,3.333,196,3.51,230,3.563,246,3.563,301,3.731,306,8.043,386,11.917,393,6.066,405,5.799,414,4.408,419,6.852,438,4.223,496,4.557,498,13.151,537,5.365,540,8.394,542,7.194,556,4.028,560,5.972,561,5.305,587,7.194,636,6.165,674,4.131,694,5.605,708,7.101,712,9.946,740,5.246,785,4.992,893,4.742,910,4.538,912,5.883,918,6.383,922,8.602,931,6.704,937,4.925,943,5.927,961,6.217,991,10.623,1042,7.292,1171,7.753,1207,6.504,1552,7.753,1602,6.852,1603,8.602,1604,7.292,1605,9.451,1606,7.753,1607,10.428,1608,8.84]],["keywords/265",[]],["title/266",[10,620.401,467,554.237]],["content/266",[1,8.208,2,8.636,4,1.909,6,1.783,10,8.06,21,6.016,22,4.057,23,3.472,24,5.336,25,1.028,32,2.207,34,2.388,35,2.991,37,3.825,44,2.904,51,3.699,52,2.874,63,2.287,79,5.523,85,7.446,87,3.625,100,3.863,114,3.032,149,4.327,181,2.779,182,3.675,184,2.262,185,2.52,186,3.083,192,3.507,196,4.812,198,2.786,230,3.295,273,2.287,289,4.852,293,2.92,298,5.118,301,2.377,334,3.007,355,4.11,370,9.735,371,5.441,378,6.267,399,5.702,401,4.672,408,5.115,427,3.834,438,3.906,512,4.27,536,5.301,551,4.746,637,5.959,676,7.593,732,3.649,777,4.648,785,3.181,786,4.468,874,4.624,875,5.523,1058,5.402,1109,5.402,1110,5.959,1169,4.772,1427,5.566,1558,6.41,1609,8.433,1610,6.487,1611,7.764,1612,11.507,1613,5.799,1614,5.326,1615,9.645]],["keywords/266",[]],["title/267",[4,140.222,25,89.993,67,544.489]],["content/267",[2,5.69,4,1.298,6,1.213,10,3.138,21,4.573,25,0.833,33,1.025,37,1.331,63,2.748,67,5.042,69,3.912,70,3.789,97,5.454,113,3.688,152,3.827,155,3.735,182,3.835,186,5.682,191,2.384,196,3.9,205,2.06,265,4.508,271,2.813,278,3.373,293,4.941,301,5.61,304,3.994,306,12.589,322,2.915,330,3.013,356,3.688,386,5.772,395,3.334,396,2.591,414,3.099,428,6.739,462,3.151,467,2.803,498,4.932,519,4.265,531,4.334,533,4.488,537,8.068,542,7.993,554,3.796,560,6.635,562,4.573,565,9.991,613,5.473,617,4.199,622,7.163,632,7.371,639,3.774,712,4.817,717,3.796,785,2.418,892,4.873,893,3.334,899,5.772,910,5.042,923,5.2,937,3.463,961,4.371,988,5.655,1006,4.817,1038,4.932,1050,5.655,1056,4.993,1065,4.665,1070,6.939,1115,5.772,1118,5.127,1158,10.848,1159,6.645,1174,4.817,1180,4.764,1194,5.772,1207,4.573,1228,5.655,1232,6.411,1427,6.687,1605,6.645,1616,6.939,1617,8.104,1618,11.587,1619,6.939,1620,12.56,1621,6.939,1622,6.645,1623,5.361,1624,6.939]],["keywords/267",[]],["title/268",[25,63.794,33,124.043,37,161.05,264,278.105,875,507.977,877,533.369]],["content/268",[]],["keywords/268",[]],["title/269",[264,392.317,875,716.592,877,752.413]],["content/269",[4,1.59,7,4.791,23,2.339,58,7.426,70,3.743,108,8.007,175,9.546,176,5.601,182,3.062,195,10.736,196,6.31,200,9.009,248,10.992,264,6.581,293,4.297,401,6.875,554,7.349,567,10.066,580,7.061,614,6.639,637,8.768,738,9.924,799,10.552,875,8.128,877,11.272,892,9.433,893,6.454,963,5.928,985,7.139,1014,13.432,1625,12.41,1626,14.193,1627,15.349,1628,9.03,1629,12.032]],["keywords/269",[]],["title/270",[5,229.359,6,102.858,264,307.993,273,232.977,877,590.69]],["content/270",[5,4.697,6,2.106,44,4.765,70,5.306,113,7.961,176,6.246,181,4.56,182,3.415,252,6.636,264,6.307,273,3.753,293,4.791,375,8.928,382,8.8,705,9.967,785,5.219,875,9.063,894,6.558,910,6.886,920,9.063,924,10.917,963,6.61,1016,12.739,1191,10.917,1403,12.206,1630,14.977,1631,9.687]],["keywords/270",[]],["title/271",[25,58.151,33,113.071,205,227.2,206,311.265,264,253.505,877,486.189,1066,466.623]],["content/271",[6,1.604,25,1.417,33,2.143,44,4.614,63,3.634,105,8.984,182,3.306,186,4.898,202,6.556,205,5.537,206,7.586,252,6.425,264,6.178,334,4.778,414,6.477,437,6.503,462,6.584,474,9.556,531,9.058,536,5.681,555,10.306,556,5.919,875,8.774,877,9.213,902,9.466,903,13.397,952,9.379,990,12.989,1150,12.989,1194,12.062]],["keywords/271",[]],["title/272",[25,89.993,886,483.395,1074,739.744]],["content/272",[]],["keywords/272",[]],["title/273",[25,123.921]],["content/273",[5,3.725,6,1.671,9,7.895,12,6.017,25,1.454,33,2.231,107,4.239,122,7.574,151,5.324,155,5.144,176,6.297,181,4.598,185,4.169,192,5.802,264,5.003,314,6.121,392,8.026,414,6.745,710,14.462,718,7.003,732,6.037,785,5.262,910,6.943,914,8.118,1077,9.767,1185,13.952,1403,12.307,1632,12.075,1633,9.858]],["keywords/273",[]],["title/274",[107,332.397,185,326.9,732,473.461]],["content/274",[5,3.549,6,2.272,25,1.41,70,4.009,87,5.713,107,4.038,151,5.072,155,4.9,181,4.38,182,3.28,185,5.122,264,4.766,278,4.425,288,8.118,293,4.602,314,7.521,330,3.952,385,6.021,396,5.371,553,7.363,613,5.791,704,8.64,707,11.115,732,5.752,875,8.705,1004,13.777,1118,10.629,1148,11.504,1187,10.629,1634,11.724,1635,15.201]],["keywords/274",[]],["title/275",[183,493.826,273,343.83]],["content/275",[6,1.657,33,2.813,40,6.533,70,5.306,183,6.852,198,4.572,202,5.265,219,6.361,246,5.407,273,3.753,276,10.398,291,8.194,301,3.901,315,5.574,330,4.115,348,9.687,396,5.592,537,5.609,545,4.74,622,8.829,740,7.961,920,11.521,1078,13.837,1080,13.416,1632,11.976,1636,11.976]],["keywords/275",[]],["title/276",[273,296.762,414,528.967,1329,686.235]],["content/276",[6,2.166,23,3.79,32,3.155,33,1.928,34,3.414,63,3.27,216,13.787,273,4.907,334,4.299,385,5.461,414,7.773,462,5.924,474,8.599,532,8.683,622,6.05,639,7.096,695,7.363,804,7.226,805,9.777,865,9.777,899,10.853,926,7.613,931,8.863,945,11.687,991,8.219,1021,8.019,1056,9.389,1257,6.821,1325,9.64,1329,10.085,1444,7.055,1604,9.64,1632,13.916,1637,12.495,1638,11.687,1639,13.787,1640,14.91,1641,10.853]],["keywords/276",[]],["title/277",[63,261.029,183,374.904,555,740.294,981,679.981]],["content/277",[6,1.644,12,5.919,25,1.129,63,3.723,70,4.14,154,6.24,183,5.347,264,4.921,276,10.313,279,10.091,293,4.752,330,5.204,381,5.478,513,10.091,514,6.085,525,8.921,544,6.333,581,7.204,890,12.106,893,7.137,963,6.556,981,12.364,994,9.13,1031,12.357,1066,9.058,1325,10.975,1632,11.879,1642,16.975,1643,13.724,1644,15.697]],["keywords/277",[]],["title/278",[33,89.358,62,296.033,86,279.233,100,255.91,182,137.88,205,179.552,206,245.987,414,270.123,952,391.135,1021,371.675]],["content/278",[25,1.462,33,2.25,79,9.214,96,9.849,100,6.444,182,3.472,196,5.416,205,4.521,206,6.194,264,5.045,272,7.419,389,8.947,414,8.594,437,6.829,467,6.151,556,6.216,696,10.822,875,9.214,877,9.675,902,9.94,903,14.068,952,9.849,991,9.592,999,12.666,1110,9.94,1399,13.64,1645,16.09]],["keywords/278",[]],["title/279",[114,346.026,152,236.98,184,258.124,552,625.565]],["content/279",[6,2.305,12,5.162,25,0.984,33,2.559,37,2.485,100,5.482,114,4.304,152,4.439,155,4.413,176,5.402,184,4.292,205,3.846,219,5.503,240,3.305,310,6.701,322,5.442,385,5.422,414,5.787,560,7.839,613,6.972,732,5.179,862,9.322,906,8.026,914,6.964,931,8.8,954,7.78,968,11.604,973,7.962,985,6.886,986,10.177,1021,7.962,1025,11.292,1113,10.776,1172,10.558,1418,11.604,1632,10.359,1646,9.853,1647,14.804,1648,10.359,1649,11.604,1650,8.8,1651,8.538]],["keywords/279",[]],["title/280",[181,417.762,265,564.031]],["content/280",[6,1.881,25,1.292,70,4.737,107,3.536,151,5.992,155,4.291,176,5.253,181,5.175,182,2.872,185,3.477,192,6.53,202,4.428,205,3.74,206,5.124,240,3.214,246,4.547,264,5.631,265,5.178,278,3.875,297,4.084,314,6.89,385,5.272,392,6.695,414,5.627,438,5.391,542,9.182,553,6.448,554,6.892,561,6.772,582,8.074,590,6.137,613,5.071,704,7.565,707,9.733,732,5.036,875,7.622,877,8.003,893,6.052,914,6.772,961,7.935,1031,10.478,1165,9.44,1238,10.073,1403,10.266,1652,12.597,1653,12.597]],["keywords/280",[]],["title/281",[62,509.904,297,337.67,300,656.155,414,465.275]],["content/281",[6,1.475,7,4.756,21,8.787,25,1.342,33,2.609,86,6.157,100,5.643,125,6.029,186,4.504,196,6.28,255,6.21,300,11.122,301,3.473,414,7.886,417,6.861,512,6.237,525,8.008,533,11.419,536,5.224,543,5.643,548,9.595,552,8.008,590,6.496,598,10.302,630,8.315,639,7.252,673,7.949,695,7.525,705,8.874,718,6.183,893,6.407,966,12.77,991,8.399,1025,11.622,1040,9.719,1654,15.237,1655,14.09,1656,10.142]],["keywords/281",[]],["title/282",[152,211.512,414,415.272,435,486.049,552,558.336,765,348.193]],["content/282",[6,1.464,25,1.006,33,2.914,44,4.212,86,6.112,96,8.561,100,5.602,113,7.036,152,3.012,182,3.018,186,4.471,196,4.708,222,4.125,252,5.865,272,6.449,301,3.447,322,5.56,330,4.827,385,5.54,414,7.848,435,6.92,552,7.95,639,7.199,695,9.916,765,6.581,860,9.19,931,8.992,1016,11.259,1021,8.136,1108,10.227,1112,8.992,1164,9.296,1197,10.585,1264,11.259,1547,10.068,1616,13.237,1632,10.585,1651,8.724,1657,15.126,1658,15.126,1659,13.237]],["keywords/282",[]],["title/283",[63,343.83,555,975.122]],["content/283",[6,2.143,25,0.971,37,2.451,60,5.446,63,4.3,70,3.56,149,6.054,155,4.351,192,4.907,217,5.214,265,5.251,273,3.201,301,4.468,330,4.714,356,6.789,393,7.85,438,5.466,525,7.671,537,4.784,540,10.864,545,4.043,550,8.262,553,6.538,556,5.214,563,6.253,579,9.437,622,7.956,660,8.187,680,12.773,688,8.868,742,6.607,892,8.97,893,6.137,910,5.873,921,7.559,926,7.453,961,8.046,963,5.638,981,8.338,986,10.035,1045,11.134,1049,8.97,1053,11.442,1118,9.437,1660,14.596,1661,14.596]],["keywords/283",[]],["title/284",[4,110.083,25,70.65,264,307.993,875,562.569,877,590.69]],["content/284",[4,1.849,6,1.728,7,5.571,25,1.187,37,2.996,96,10.102,171,4.661,191,6.716,250,9.524,252,6.921,255,7.274,264,5.174,311,7.646,329,7.953,467,6.309,548,11.239,622,7.243,872,8.989,875,9.451,877,9.923,888,9.311,902,10.196,963,6.893,1610,11.1,1662,13.99]],["keywords/284",[]],["title/285",[25,104.266,1663,871.749]],["content/285",[6,1.543,12,7.245,21,9.191,25,1.629,28,6.892,29,6.61,33,2.061,44,4.437,49,7.497,110,7.03,113,7.412,190,7.454,251,8.861,252,6.18,264,4.62,265,5.733,323,8.785,427,5.858,529,9.02,617,8.439,875,8.439,877,8.861,879,6.204,883,8.64,886,7.423,887,9.281,894,6.107,992,11.365,998,11.365,1074,8.711,1075,11.862,1632,11.152,1663,8.861,1664,15.936,1665,14.736]],["keywords/285",[]],["title/286",[4,99.401,25,63.794,99,337.935,250,511.905,257,429.683,258,731.722]],["content/286",[3,7.22,6,1.52,7,4.9,25,1.368,83,11.426,97,5.51,99,5.529,155,4.679,196,4.885,202,4.828,250,10.979,252,6.086,255,6.397,257,7.031,258,11.973,264,4.55,265,5.647,291,7.515,304,7.906,394,10.433,396,5.128,401,7.031,410,10.148,438,5.878,462,6.237,536,5.382,553,7.031,554,7.515,622,6.37,749,13.154,875,8.312,877,8.727,937,6.855,965,9.762,1065,9.234,1080,12.304,1151,10.148,1666,14.514,1667,13.154]],["keywords/286",[]],["title/287",[25,79.157,65,390.118,400,535.943,408,393.825]],["content/287",[2,5.253,4,1.486,6,2.208,10,3.735,25,0.954,33,1.22,37,3.684,51,3.432,52,2.601,58,3.457,63,2.07,67,3.797,85,4.546,87,3.28,97,5.035,98,4.043,100,6.424,114,2.744,171,2.465,175,5.87,176,3.444,182,2.862,191,2.837,199,4.519,227,4.853,232,5.61,241,3.508,252,3.66,256,4.44,264,2.736,275,4.775,278,2.541,291,4.519,293,4.015,297,2.677,334,4.135,381,3.046,395,3.968,400,7.81,408,8.12,421,4.888,437,3.704,438,3.535,467,5.07,474,5.443,519,7.714,527,4.853,531,5.159,532,5.497,536,5.948,539,4.39,543,3.495,559,9.148,560,4.998,561,4.44,564,4.366,567,6.189,639,4.492,676,6.87,703,3.521,705,5.497,736,3.535,740,4.39,785,2.878,872,4.754,874,4.184,875,4.998,877,5.248,898,6.489,902,5.392,925,7.91,937,4.122,942,5.671,963,3.645,1030,4.631,1034,7.631,1038,5.87,1050,6.731,1109,4.888,1150,7.398,1295,7.398,1406,7.398,1632,6.605,1662,7.398,1668,7.398,1669,9.438,1670,8.259,1671,7.631,1672,7.631,1673,9.438,1674,9.438,1675,9.438]],["keywords/287",[]],["title/288",[6,92.877,25,63.794,184,208.027,205,249.247,219,356.567,240,214.197]],["content/288",[6,2.289,21,9.633,25,1.111,155,6.385,176,6.095,182,3.333,184,4.645,191,5.021,195,8.845,196,5.199,205,5.566,219,7.962,228,7.295,240,4.783,256,7.858,293,4.676,315,5.44,554,7.997,617,8.845,901,6.376,914,7.858,963,6.451,985,7.769,987,10.799,996,7.56,1174,10.148,1676,15.445]],["keywords/288",[]],["title/289",[25,89.993,184,293.46,982,722.133]],["content/289",[6,2.304,25,1.233,33,1.528,44,2.052,66,5.364,69,2.3,70,1.797,87,2.561,97,2.587,155,3.523,176,5.401,182,2.953,184,5.315,192,2.477,205,3.845,207,6.515,208,9.257,219,6.294,225,2.641,226,3.762,228,3.218,235,4.583,239,9.466,240,3.781,252,2.857,255,4.817,264,2.136,265,2.651,278,1.983,288,3.639,293,2.063,297,2.09,301,1.679,310,3.335,314,5.25,319,3.283,322,2.709,330,1.772,348,4.171,385,2.699,392,6.884,396,2.407,413,3.816,414,4.62,426,4.583,427,2.709,432,6.212,438,2.759,462,5.88,466,3.844,473,5.484,477,6.884,478,4.583,496,4.776,533,4.171,536,2.526,537,2.415,543,2.729,545,3.274,553,3.3,564,5.467,565,6.69,613,6.531,622,6.872,640,5.255,663,4.062,703,2.749,705,4.291,716,2.66,732,2.578,894,2.824,901,2.813,906,6.408,910,2.965,936,3.662,961,4.062,963,2.846,982,7.897,985,3.427,987,4.764,996,3.335,1030,3.616,1046,5.957,1047,5.364,1056,4.64,1066,3.932,1079,5.62,1087,6.448,1117,5.957,1118,4.764,1164,4.528,1165,4.832,1177,4.528,1195,6.448,1227,4.832,1297,10.006,1304,6.175,1360,7.351,1361,7.96,1399,5.776,1557,6.448,1583,5.776,1590,5.62,1624,6.448,1677,6.448,1678,6.814,1679,6.814,1680,7.368,1681,6.814,1682,7.368,1683,6.814,1684,6.175,1685,6.448]],["keywords/289",[]],["title/290",[25,70.65,37,178.358,179,528.056,877,590.69,932,483.439]],["content/290",[6,2.186,25,1.502,37,3.049,179,9.026,182,3.623,293,5.083,389,9.337,401,8.134,437,7.127,462,7.215,515,8.968,560,9.616,863,10.473,877,10.096,902,10.374,903,14.681,932,10.276,991,10.01,1194,13.218,1686,13.218,1687,14.681]],["keywords/290",[]],["title/291",[25,79.157,45,337.67,176,434.385,480,428.201]],["content/291",[5,3.151,6,2.143,9,6.678,25,1.304,33,1.887,45,4.141,103,6.504,155,4.351,176,7.155,182,2.912,192,4.907,200,5.446,222,3.98,291,6.989,308,4.725,373,3.764,385,5.346,400,6.572,480,7.964,487,9.191,536,5.005,556,5.214,569,7.163,659,6.714,863,8.418,897,9.572,906,10.63,914,6.867,924,9.311,931,8.677,932,8.922,933,11.442,934,8.97,1121,12.676,1140,10.864,1262,8.97,1384,10.035,1402,10.625,1632,10.214,1688,13.497,1689,14.596,1690,10.41,1691,12.773]],["keywords/291",[]],["title/292",[46,507.514,181,417.762]],["content/292",[5,3.389,6,1.992,25,1.044,70,5.018,87,5.454,151,6.347,155,4.679,181,5.482,182,3.132,185,3.792,192,6.917,202,4.828,264,4.55,265,5.647,314,5.568,361,8.804,385,5.749,396,5.128,438,5.878,447,10.012,480,5.647,553,7.031,704,8.249,706,8.015,717,7.515,785,4.787,892,9.646,893,6.6,910,6.315,914,7.384,932,9.362,961,8.652,1004,13.154,1123,11.683,1632,10.984,1652,13.736]],["keywords/292",[]],["title/293",[184,258.124,220,420.766,421,616.449,1663,661.815]],["content/293",[6,2.358,12,5.473,25,1.368,33,2.03,155,6.133,182,3.132,184,4.462,185,3.792,191,4.719,196,4.885,205,4.078,206,5.587,219,7.647,220,7.273,240,3.505,255,6.397,265,5.647,323,8.652,427,5.77,478,9.762,480,5.647,525,8.249,529,8.884,556,5.607,613,5.529,914,7.384,932,7.143,956,9.884,973,8.442,985,7.301,1080,12.304,1142,11.426,1174,9.536,1663,8.727]],["keywords/293",[]],["title/294",[5,229.359,6,102.858,205,276.033,206,378.168,742,480.872]],["content/294",[5,3.665,6,2.307,9,7.766,25,1.129,37,2.85,63,3.723,155,5.06,176,6.195,181,4.523,192,5.707,264,6.274,265,6.107,334,4.894,512,6.949,515,8.383,536,5.82,718,6.889,742,10.785,910,6.83,914,7.986,932,7.725,963,8.359,984,10.432,1050,12.106,1403,12.106,1606,11.67]],["keywords/294",[]],["title/295",[437,531.112,950,900.729,1314,965.11]],["content/295",[6,1.543,25,1.538,37,2.675,44,4.437,70,3.886,86,6.439,186,4.71,196,4.96,201,6.155,202,6.392,222,4.345,252,6.18,271,5.653,293,4.461,385,5.837,401,7.138,437,6.255,467,5.633,515,7.87,536,5.464,541,7.771,607,8.64,932,11.15,950,10.607,1019,10.035,1070,13.946,1314,11.365,1433,13.946,1622,13.356,1692,14.736,1693,15.936,1694,11.152,1695,13.946,1696,15.936]],["keywords/295",[]],["title/296",[191,471.331,879,610.406]],["content/296",[19,6.139,25,1.722,398,9.098,877,11.387,1158,12.586,1697,11.591,1698,20.48,1699,20.48]],["keywords/296",[]],["title/297",[37,178.358,52,292.723,703,396.364,958,491.403,1466,773.343]],["content/297",[]],["keywords/297",[]],["title/298",[37,227.19,52,372.867,703,504.882]],["content/298",[4,1.651,37,2.675,44,4.436,51,4.514,54,4.722,66,11.598,70,4.601,113,5.054,114,3.159,171,2.837,175,6.758,176,3.965,199,5.202,200,4.054,222,2.963,252,4.213,287,5.401,310,4.918,348,9.018,396,5.205,433,7.91,486,6.459,498,11.732,514,3.895,524,7.125,581,4.611,607,5.891,636,5.94,660,6.095,664,5.436,694,5.401,703,4.054,732,3.802,870,8.517,894,4.164,943,5.711,944,8.937,956,6.842,994,5.844,1058,5.627,1081,9.791,1148,7.604,1298,6.529,1320,5.844,1687,8.785,1700,10.866,1701,10.866,1702,10.866,1703,7.91,1704,11.879,1705,8.785,1706,10.448,1707,11.363,1708,10.953,1709,14.733,1710,8.288,1711,7.125,1712,11.149,1713,5.891,1714,10.048,1715,10.866,1716,7.749,1717,10.866,1718,7.91,1719,8.517,1720,9.509,1721,9.106,1722,7.91,1723,13.352,1724,7.025,1725,10.866,1726,5.844,1727,9.509,1728,8.088,1729,8.288,1730,10.048,1731,9.106,1732,9.509,1733,9.509]],["keywords/298",[]],["title/299",[51,284.834,52,327.97,92,507.5,703,444.09]],["content/299",[4,0.748,6,1.125,37,1.951,51,3.492,52,4.021,65,3.809,66,5.252,68,3.792,70,2.834,76,4.289,86,2.915,88,2.474,106,4.96,108,3.764,113,3.356,114,2.097,134,4.084,175,12.82,176,4.241,189,5.934,191,2.169,195,3.821,196,2.246,199,3.455,219,2.682,222,3.979,256,3.394,271,6.506,275,3.87,287,5.776,330,1.735,334,2.08,359,5.252,371,3.764,396,2.357,402,4.161,427,2.652,432,3.792,493,11.408,498,4.487,524,10.971,567,4.732,581,3.062,586,5.37,607,7.911,636,3.944,639,3.434,650,4.161,668,3.737,688,4.384,692,5.934,703,6.843,732,5.105,775,3.455,786,3.091,860,4.384,870,5.656,879,2.809,898,4.96,918,6.578,939,5.833,943,3.792,944,8.185,955,4.161,956,4.543,958,3.337,1090,5.504,1128,5.252,1178,4.878,1192,4.487,1199,5.656,1254,4.878,1294,6.047,1300,5.346,1320,6.251,1323,5.656,1631,6.578,1651,4.161,1663,4.012,1703,13.352,1704,4.543,1706,7.621,1707,10.407,1708,11.502,1713,6.301,1718,5.252,1721,9.74,1722,12.178,1723,14.021,1724,7.514,1727,6.314,1728,5.37,1729,5.504,1734,6.672,1735,6.672,1736,7.215,1737,6.314,1738,6.672,1739,7.215,1740,7.215,1741,12.229,1742,7.215,1743,5.504,1744,16.961,1745,6.672,1746,5.656,1747,4.878,1748,6.672,1749,5.504,1750,7.215,1751,5.146,1752,6.672,1753,7.215,1754,7.215,1755,5.504,1756,11.622,1757,6.314,1758,7.215,1759,7.215,1760,7.215,1761,6.672,1762,6.672,1763,6.314,1764,7.215,1765,4.603,1766,4.802]],["keywords/299",[]],["title/300",[52,327.97,581,505.129,993,573.347,1268,616.449]],["content/300",[3,5.548,4,2.074,6,1.168,10,6.798,23,3.05,32,4.235,34,2.761,37,3.87,51,4.111,68,6.339,70,2.941,176,4.402,228,5.268,246,3.81,256,5.674,264,4.981,278,3.247,287,5.995,293,3.376,298,5.918,308,3.904,310,5.459,373,3.11,402,6.956,425,4.339,551,5.488,692,6.159,703,4.5,711,8.493,868,10.108,896,10.108,901,4.604,944,12.233,1032,8.292,1298,7.247,1393,9.751,1540,7.501,1656,8.028,1703,8.78,1710,13.105,1719,9.454,1752,11.153,1767,10.108,1768,15.887,1769,10.108,1770,17.181,1771,10.555,1772,17.181,1773,12.061,1774,17.181,1775,12.061,1776,17.181,1777,12.061,1778,12.061,1779,8.292,1780,12.061,1781,12.061,1782,8.602]],["keywords/300",[]],["title/301",[20,533.158,52,327.97,1703,866.461,1733,1041.648]],["content/301",[3,5.646,6,1.684,20,7.792,37,3.69,64,8.299,65,4.023,85,5.912,106,8.438,148,7.079,152,2.444,171,3.205,191,3.69,196,3.82,197,8.754,203,6.224,230,3.878,264,3.558,278,3.304,301,2.797,304,8.762,373,3.165,402,7.079,537,5.701,539,5.709,543,4.545,581,7.382,692,8.882,693,5.498,703,6.49,708,7.729,718,4.981,740,5.709,787,5.948,792,7.079,858,6.182,861,8.091,891,6.766,894,4.704,924,7.83,944,6.885,972,8.049,1035,7.457,1165,8.049,1166,8.049,1264,9.136,1377,5.741,1466,8.935,1610,7.634,1620,9.924,1703,12.663,1706,8.049,1707,8.754,1726,6.602,1727,10.741,1771,10.741,1783,8.438,1784,10.741,1785,11.35,1786,13.636,1787,9.621,1788,12.274,1789,12.274,1790,12.274,1791,12.274,1792,8.438,1793,10.741]],["keywords/301",[]],["title/302",[278,320.414,457,804.809,703,444.09,1377,556.783]],["content/302",[5,3.184,6,1.911,23,4.033,32,3.121,34,3.377,35,2.808,40,3.738,49,4.607,51,2.343,52,2.698,70,3.597,116,6.09,121,5.884,152,1.95,176,3.574,181,2.609,230,5.604,264,4.276,278,3.97,395,4.118,398,3.667,402,5.648,463,6.984,467,3.462,468,6.747,493,6.091,494,7.47,499,5.147,515,4.836,544,3.654,607,7.996,636,5.353,700,7.289,711,4.156,718,3.974,727,6.853,732,3.426,745,5.353,785,2.986,907,6.018,944,8.272,955,5.648,1156,7.47,1194,7.129,1238,6.853,1356,6.247,1377,10.41,1628,5.761,1656,6.518,1697,8.347,1703,12.913,1719,7.676,1722,10.736,1765,6.247,1779,6.733,1782,6.984,1793,8.57,1794,9.056,1795,9.793,1796,5.95,1797,13.638,1798,8.207,1799,8.57,1800,9.793,1801,9.793,1802,9.793,1803,7.289,1804,9.056,1805,9.793,1806,9.793,1807,9.793,1808,9.793,1809,9.793,1810,9.793,1811,7.129,1812,9.793,1813,9.793,1814,6.167,1815,9.793,1816,9.793,1817,9.793,1818,9.793]],["keywords/302",[]],["title/303",[37,178.358,703,396.364,958,491.403,1794,982.391,1819,982.391]],["content/303",[4,1.395,5,3.557,6,2.056,19,2.605,23,4.033,25,0.578,32,2.849,35,2.492,37,1.459,44,3.748,69,2.713,87,3.02,110,3.833,152,2.68,171,2.269,181,2.315,192,2.922,217,3.104,222,2.37,264,2.519,287,6.691,297,2.465,308,2.813,319,3.872,322,3.195,356,4.042,396,2.839,413,8.533,433,6.326,468,3.976,493,5.405,533,4.919,551,3.954,556,4.809,563,3.723,572,3.104,614,3.758,636,4.75,683,9.42,693,3.892,703,3.242,736,5.041,737,2.922,742,9.087,757,8.704,864,5.699,901,3.317,950,5.784,996,3.933,1000,4.674,1042,5.619,1066,4.637,1147,4.79,1160,4.407,1183,4.79,1300,6.192,1384,5.974,1392,7.026,1558,5.341,1562,6.326,1819,8.036,1820,8.69,1821,5.784,1822,6.468,1823,6.812,1824,8.69,1825,7.026,1826,6.629,1827,4.874,1828,8.036,1829,7.605,1830,12.448,1831,7.283,1832,12.448,1833,8.036,1834,12.448,1835,12.448,1836,12.448,1837,12.448,1838,8.036,1839,8.036,1840,8.036,1841,12.448,1842,12.448,1843,5.543,1844,7.605,1845,7.283,1846,6.326,1847,6.468,1848,6.812,1849,8.69,1850,6.198,1851,8.69,1852,7.283,1853,8.036,1854,8.69,1855,8.69,1856,6.326,1857,8.69,1858,6.812]],["keywords/303",[]],["title/304",[52,292.723,572,379.495,736,397.855,958,491.403,1466,773.343]],["content/304",[2,8.167,5,3.196,7,4.621,20,6.631,37,2.485,51,4.736,52,5.453,144,9.098,198,3.955,230,4.677,246,4.677,364,8.026,398,5.544,409,9.443,458,6.886,463,10.558,498,9.207,572,7.965,693,9.987,736,5.544,855,8.8,861,6.886,865,9.708,870,11.604,893,6.224,968,11.604,984,9.098,1147,8.161,1179,12.955,1322,11.969,1407,11.292,1703,14.407,1826,11.292,1848,11.604,1856,10.776,1859,12.955,1860,11.292,1861,13.689,1862,12.955,1863,11.604,1864,14.804]],["keywords/304",[]],["title/305",[5,229.359,6,102.858,52,292.723,301,242.127,703,396.364]],["content/305",[6,2.341,10,5.433,37,2.305,44,3.823,52,3.783,70,4.587,134,7.771,181,3.658,185,3.317,272,5.854,278,3.696,287,6.825,301,3.129,329,6.118,373,3.541,452,6.351,453,12.016,468,8.605,484,7.702,561,6.459,567,9.004,636,7.506,664,6.87,683,9.608,693,6.15,703,5.123,711,5.827,809,6.781,876,8.539,914,6.459,943,7.216,944,7.702,1030,6.738,1109,9.741,1165,9.004,1656,9.139,1704,8.646,1708,12.931,1728,10.22,1751,9.792,1757,12.016,1826,10.473,1858,10.763,1865,12.697,1866,13.73,1867,13.73,1868,12.697,1869,10.22,1870,12.697,1871,11.101,1872,7.385,1873,13.73,1874,11.101]],["keywords/305",[]],["title/306",[191,471.331,879,610.406]],["content/306",[3,7.387,5,3.467,6,1.555,25,1.068,37,2.696,44,4.472,52,5.754,181,4.279,203,8.144,222,4.379,225,5.757,226,8.2,252,6.227,278,4.323,310,7.269,432,8.44,523,8.637,529,9.089,581,6.815,693,7.193,703,5.991,742,7.269,806,7.735,857,8.258,869,10.531,872,8.089,882,9.869,883,8.707,894,6.154,958,7.428,993,7.735,996,7.269,1326,9.869,1377,7.512,1466,11.69,1703,11.69,1875,14.053,1876,14.85]],["keywords/306",[]],["title/307",[23,122.44,25,53.425,37,134.874,185,194.068,315,261.663,480,289.005,742,363.633,877,446.678]],["content/307",[]],["keywords/307",[]],["title/308",[25,89.993,37,227.19,877,752.413]],["content/308",[]],["keywords/308",[]],["title/309",[37,178.358,181,283.072,414,415.272,1168,696.684,1300,488.703]],["content/309",[5,3.549,6,1.592,25,1.41,44,4.577,125,6.505,151,5.072,176,5.999,181,4.38,182,3.28,185,3.971,199,7.871,220,5.811,256,7.734,264,4.766,314,5.831,330,3.952,334,4.74,373,4.24,385,6.021,391,8.28,392,9.862,425,5.914,532,9.574,539,7.646,553,7.363,613,5.791,704,8.64,706,8.394,877,9.14,924,10.486,1079,12.539,1179,14.386,1332,8.842,1384,11.302]],["keywords/309",[]],["title/310",[108,705.951,462,537.688,480,486.819]],["content/310",[6,2.379,25,1.389,37,2.696,45,4.556,70,3.916,87,5.581,113,7.47,171,4.193,176,7.621,192,5.399,201,6.203,255,6.545,278,4.323,307,9.262,467,5.677,480,8.349,614,6.946,698,10.383,727,11.238,737,5.399,863,9.262,877,8.929,906,8.707,932,9.503,933,12.588,1190,12.588,1877,16.059,1878,16.059,1879,16.059,1880,16.059,1881,16.059]],["keywords/310",[]],["title/311",[6,115.243,614,514.812,742,538.773,1308,673.714]],["content/311",[2,6.427,5,3.788,6,1.699,63,3.848,136,10.12,152,3.493,176,8.066,202,5.398,315,5.715,391,8.838,392,8.162,393,9.438,498,10.913,512,7.183,556,6.268,622,7.121,693,7.86,718,7.121,742,7.942,918,9.932,921,9.087,958,8.116,984,10.784,1398,11.049,1784,15.356,1882,17.547,1883,17.547]],["keywords/311",[]],["title/312",[23,133.27,225,313.459,278,235.386,301,199.292,315,284.809,537,286.593,1313,519.794]],["content/312",[9,7.521,25,1.41,70,5.171,151,5.072,181,4.38,184,3.565,208,8.986,220,5.811,225,5.893,239,8.394,241,6.11,242,9.062,264,4.766,278,4.425,297,4.664,301,3.747,307,9.481,315,5.354,466,8.576,467,5.811,515,8.118,537,5.388,545,4.553,563,7.042,582,9.221,632,9.671,877,9.14,893,6.912,955,9.481,1006,9.988,1782,11.724,1884,16.439,1885,13.777,1886,15.201]],["keywords/312",[]],["title/313",[421,616.449,1187,769.603,1320,640.194,1747,804.809]],["content/313",[4,1.882,25,1.208,37,3.049,97,6.375,107,4.46,111,6.852,181,4.838,202,5.586,220,6.419,250,9.69,255,7.401,257,8.134,373,4.683,393,9.767,414,7.098,480,6.532,553,8.134,563,7.779,571,11.908,732,6.353,877,12.555,921,9.404,1747,12.278]],["keywords/313",[]],["title/314",[25,63.794,37,161.05,40,366.18,275,319.419,886,342.668,1378,596.617]],["content/314",[3,4.283,4,0.965,20,4.171,22,3.725,23,4.151,24,4.9,25,1.28,28,4.027,29,5.888,32,1.971,33,1.204,34,3.25,35,2.67,37,3.23,44,4.79,45,2.642,58,3.41,62,3.989,63,3.113,68,9.041,85,4.485,88,3.193,100,3.448,124,3.487,151,2.873,161,2.942,167,4.047,171,2.431,176,3.398,193,3.731,199,4.458,264,2.699,271,3.303,275,4.727,276,5.657,281,3.611,323,5.133,330,2.239,334,2.685,355,5.594,379,4.26,397,5.94,399,5.09,433,6.778,440,4.307,480,3.35,536,3.193,568,8.351,571,6.106,572,3.326,581,3.952,630,7.073,668,4.822,693,4.171,722,4.69,758,4.027,763,4.755,764,5.09,765,4.652,767,5.319,770,4.598,771,6.892,772,3.862,773,5.594,776,8.188,777,4.149,778,6.931,780,4.931,786,3.989,877,5.177,914,4.381,1168,6.106,1191,5.94,1219,4.485,1256,5.27,1257,4.26,1400,5.223,1887,9.312,1888,9.312,1889,5.863,1890,7.299,1891,6.516,1892,9.312,1893,6.402]],["keywords/314",[]],["title/315",[19,469.995,480,564.031]],["content/315",[4,1.005,5,2.095,6,1.418,19,2.908,22,4.629,23,4.187,24,5.055,25,0.645,32,3.099,34,3.353,35,2.782,37,2.459,45,5.004,111,3.661,149,4.024,151,2.993,152,1.932,161,3.065,167,4.217,185,2.344,200,3.62,223,4.989,271,5.195,275,3.23,329,4.323,334,2.797,355,5.771,425,3.49,438,3.633,480,8.282,490,3.855,496,3.92,572,3.466,581,4.117,607,7.94,630,6.484,631,10.273,737,4.923,758,4.196,763,4.954,764,5.303,765,4.8,767,5.542,770,4.791,771,7.068,772,4.024,773,5.771,776,6.97,777,4.323,780,5.137,932,4.415,1121,12.704,1262,10.841,1400,5.442,1479,5.442,1540,6.034,1690,6.919,1894,11.17,1895,7.4,1896,9.702,1897,11.84,1898,9.702,1899,9.702,1900,10.9,1901,9.702]],["keywords/315",[]],["title/316",[19,469.995,742,709.677]],["content/316",[5,2.747,6,1.232,23,4.151,25,1.187,34,2.913,35,3.649,37,2.136,124,6.682,152,2.533,184,2.759,202,3.914,271,4.514,298,6.244,301,2.9,392,5.918,438,6.682,536,4.363,556,4.545,572,4.545,630,8.211,718,5.163,737,4.278,742,8.076,758,5.503,765,6.754,767,7.269,770,6.284,771,7.149,772,5.278,773,8.12,780,6.738,918,7.202,921,6.59,958,5.885,1129,10.287,1147,7.014,1174,7.73,1220,7.269,1224,7.41,1617,6.638,1825,10.287,1827,7.137,1902,10.966,1903,13.281,1904,12.724,1905,11.766]],["keywords/316",[]],["title/317",[25,70.65,37,178.358,467,375.547,670,595.91,877,590.69]],["content/317",[5,3.665,6,1.644,37,2.85,58,6.217,110,7.488,114,4.935,142,9.986,152,3.38,202,5.222,265,6.107,278,4.569,285,11.67,322,6.24,398,8.105,414,6.635,527,8.729,556,7.731,557,6.745,563,7.272,588,12.948,694,8.437,698,10.975,742,7.684,877,9.438,892,10.432,1032,11.67,1906,16.975,1907,16.975,1908,16.975,1909,16.975]],["keywords/317",[]],["title/318",[191,471.331,879,610.406]],["content/318",[6,1.728,20,5.699,25,1.621,37,3.459,63,3.913,70,3.103,100,6.608,107,4.383,176,4.643,181,4.754,185,4.31,191,3.825,196,5.553,199,6.092,203,6.452,220,4.498,222,3.47,234,5.885,240,2.841,275,4.237,293,3.562,297,3.61,301,2.9,315,5.812,398,4.765,437,4.994,462,5.056,467,4.498,480,6.419,514,4.561,537,4.17,614,5.503,735,5.729,742,8.076,763,9.111,785,3.88,857,6.543,872,6.409,877,9.921,883,6.899,886,4.545,887,7.41,932,5.79,934,7.82,996,5.759,1007,6.687,1153,11.135,1158,7.82,1168,8.344,1433,11.135,1643,10.287,1910,12.724,1911,12.724,1912,12.724]],["keywords/318",[]],["title/319",[25,79.157,33,153.915,182,237.492,1913,723.164]],["content/319",[]],["keywords/319",[]],["title/320",[182,270.003,200,504.882,1913,822.159]],["content/320",[4,1.614,6,1.508,22,4.088,33,2.014,44,4.338,116,6.433,151,4.806,154,5.727,181,4.151,182,3.108,185,3.763,190,7.287,201,6.017,205,4.048,206,5.545,252,6.041,278,5.511,293,4.361,297,4.419,308,5.043,437,6.114,440,7.206,541,7.597,544,5.812,546,12.595,664,7.794,699,10.073,706,7.955,717,7.459,860,9.465,912,8.127,996,7.051,1015,11.883,1038,9.689,1187,10.073,1419,11.883,1604,10.073,1913,12.438,1914,11.11,1915,14.406,1916,14.406]],["keywords/320",[]],["title/321",[22,312.383,33,153.915,182,237.492,1913,723.164]],["content/321",[4,1.423,5,2.964,6,2.341,25,0.913,37,2.305,44,3.823,51,3.286,67,5.525,70,3.349,107,3.373,181,5.012,182,2.74,185,3.317,205,4.887,206,4.888,219,5.104,222,3.744,240,4.2,243,6.316,252,5.324,256,6.459,265,4.939,275,4.572,301,3.129,322,6.914,385,5.029,437,5.389,478,8.539,481,7.569,536,4.708,537,4.5,564,6.351,613,4.837,664,6.87,693,6.15,695,6.781,721,12.016,887,7.997,898,9.439,908,11.101,910,5.525,912,7.163,926,7.011,1009,12.016,1167,9.439,1322,11.101,1378,8.539,1589,10.22,1913,8.342,1917,13.73,1918,13.73,1919,13.73,1920,12.697]],["keywords/321",[]],["title/322",[25,79.157,33,153.915,437,467.161,1066,635.181]],["content/322",[5,3.695,6,1.657,25,1.447,33,2.213,51,4.095,52,4.716,152,3.407,185,4.134,234,7.916,240,3.821,256,8.051,273,3.753,278,4.607,284,7.717,293,4.791,301,3.901,314,6.071,330,4.115,537,5.609,539,7.961,613,6.029,614,7.402,652,8.194,704,8.995,722,8.62,732,5.988,937,7.475,1166,11.223,1170,8.739]],["keywords/322",[]],["title/323",[202,482.305,556,560.063]],["content/323",[6,2.18,25,1.202,69,4.046,70,3.161,72,6.169,107,3.184,125,5.129,176,4.73,182,3.606,184,2.811,192,4.358,257,5.806,273,3.964,278,3.489,281,8.07,284,4.598,297,3.677,301,2.954,311,5.552,314,4.598,315,4.222,322,4.765,330,4.346,379,8.269,381,4.183,392,6.029,396,4.235,425,4.663,438,4.854,442,9.435,490,5.15,537,4.248,538,6.443,545,3.59,584,8.764,611,8.162,613,6.367,697,8.268,718,5.26,732,4.535,734,6.528,740,8.407,921,6.713,1006,7.875,1071,11.986,1072,9.07,1073,11.986,1170,6.618,1176,7.405,1393,10.479,1751,9.244,1913,7.875,1914,9.244,1921,12.962,1922,11.986,1923,12.962,1924,11.986,1925,12.962]],["keywords/323",[]],["title/324",[25,89.993,886,483.395,1074,739.744]],["content/324",[]],["keywords/324",[]],["title/325",[25,123.921]],["content/325",[4,1.788,5,3.725,6,1.671,21,9.952,25,1.148,33,2.231,51,4.129,67,6.943,181,4.598,182,3.443,186,5.101,205,4.484,206,6.143,240,3.853,281,6.691,284,6.121,301,3.933,310,7.811,330,4.149,379,7.895,414,6.745,427,6.344,504,7.651,533,9.767,537,5.656,564,7.982,613,6.079,1067,11.668,1068,10.258,1172,12.307]],["keywords/325",[]],["title/326",[6,131.019,278,364.276,284,480.028]],["content/326",[4,1.773,6,2.106,44,4.765,116,7.068,182,3.415,183,5.39,330,5.751,425,6.157,438,6.409,451,10.518,538,8.507,544,6.385,545,6.026,622,6.945,638,9.87,668,8.863,745,9.356,751,10.518,858,8.62,1035,10.398,1085,14.343,1167,11.766,1847,12.739,1913,10.398,1914,12.206,1926,11.976,1927,12.458]],["keywords/326",[]],["title/327",[107,332.397,181,360.573,732,473.461]],["content/327",[6,1.671,9,7.895,25,1.148,107,4.239,151,5.324,155,5.144,181,4.598,182,3.443,192,5.802,240,3.853,246,5.451,310,7.811,314,7.758,392,8.026,427,6.344,477,10.05,545,6.058,613,6.079,622,7.003,706,8.811,707,11.668,762,12.844,812,12.307,985,8.026,1913,10.484,1928,15.957,1929,17.256,1930,17.256]],["keywords/327",[]],["title/328",[6,151.799,184,340.004]],["content/328",[6,2.074,25,1.111,51,3.997,65,5.474,69,7.382,70,4.073,155,4.979,176,6.095,184,4.645,186,4.937,192,5.616,205,4.34,220,5.904,225,5.987,226,8.529,227,8.589,281,6.477,297,4.738,301,3.807,315,5.44,330,4.016,410,10.799,438,6.255,537,5.474,622,6.778,740,7.769,985,7.769,1115,12.159,1141,10.953,1147,9.207]],["keywords/328",[]],["title/329",[183,493.826,273,343.83]],["content/329",[6,1.728,25,1.486,125,7.062,162,6.309,166,9.677,171,4.661,183,5.621,273,5.347,291,8.545,293,4.996,330,4.291,381,5.759,538,8.871,543,6.609,544,6.659,545,4.944,611,11.239,734,8.989,1006,10.843,1040,11.385,1170,9.113,1913,10.843,1931,11.239]],["keywords/329",[]],["title/330",[281,524.746,297,383.895,379,619.122]],["content/330",[25,1.24,69,5.821,70,4.547,219,6.931,264,5.406,281,8.901,301,4.25,330,4.483,373,4.809,385,6.83,397,11.894,425,6.708,537,6.111,545,5.165,613,6.569,741,11.329,1178,12.608,1422,13.048,1913,11.329,1932,18.646]],["keywords/330",[]],["title/331",[25,70.65,33,137.374,467,375.547,670,595.91,1913,645.446]],["content/331",[4,1.677,5,3.494,6,1.567,25,1.076,33,2.093,41,10.943,52,4.459,116,6.683,181,4.312,196,5.037,225,5.801,226,8.264,265,5.822,275,5.389,284,5.741,293,4.53,315,5.271,322,5.949,334,4.666,398,6.061,437,8.238,439,11.325,536,5.549,614,7,634,11.542,659,7.445,692,8.264,698,10.464,732,5.662,911,10.323,1167,11.126,1721,13.563,1783,11.126,1913,9.832,1933,12.686,1934,14.965,1935,12.686]],["keywords/331",[]],["title/332",[4,123.338,25,79.157,182,237.492,1913,723.164]],["content/332",[]],["keywords/332",[]],["title/333",[25,104.266,29,650.349]],["content/333",[4,1.731,12,5.824,22,4.383,25,1.659,28,9.264,29,8.885,87,5.804,97,5.864,113,7.769,144,10.265,171,4.362,190,7.813,191,5.021,319,9.545,328,13.504,452,7.726,490,6.637,722,10.789,1083,14.617,1180,10.036,1261,10.655,1263,11.912,1936,13.998,1937,13.998,1938,15.445,1939,16.703,1940,13.504]],["keywords/333",[]],["title/334",[33,174.985,198,361.493,323,745.978]],["content/334",[4,1.15,5,2.396,19,3.327,22,4.246,23,4.25,24,5.585,25,1.076,32,2.348,34,3.704,35,4.64,37,1.863,116,4.583,124,6.059,151,3.424,154,4.079,161,3.506,167,4.823,198,2.964,224,3.365,271,3.936,275,3.695,278,2.987,281,4.303,297,3.148,355,7.525,379,5.077,427,4.079,467,3.923,476,6.742,480,3.992,514,3.978,568,6.528,572,5.78,630,7.714,758,4.8,765,5.303,767,6.34,768,9.243,770,5.48,771,6.483,772,4.603,773,6.376,776,7.701,777,4.945,779,7.386,780,5.876,786,4.754,921,5.747,981,6.34,1058,5.747,1219,5.345,1256,6.281,1400,9.076,1540,6.902,1941,9.3,1942,8.699]],["keywords/334",[]],["title/335",[545,374.827,1913,822.159,1914,965.11]],["content/335",[4,1.632,6,1.525,19,4.722,23,4.207,25,0.711,32,3.956,34,3.606,35,3.068,125,4.233,151,3.301,152,2.13,162,5.568,164,5.871,166,5.8,167,4.65,183,3.37,188,8.835,224,3.244,273,2.346,284,3.795,301,2.438,330,2.572,355,4.216,425,3.849,427,3.933,476,9.57,490,4.251,538,5.318,569,7.729,642,4.792,716,3.862,732,3.743,768,13.58,771,4.286,812,7.63,824,7.486,983,6.359,1098,8.386,1526,5.848,1604,6.917,1656,7.121,1913,11.358,1914,11.234,1941,8.966,1943,10.698,1944,10.698,1945,10.698,1946,8.65,1947,10.698,1948,10.698,1949,9.893,1950,10.698,1951,10.698,1952,10.698,1953,15.752,1954,10.698,1955,15.752,1956,10.698,1957,10.698,1958,10.698]],["keywords/335",[]],["title/336",[25,79.157,65,390.118,400,535.943,408,393.825]],["content/336",[2,5.096,4,2.238,5,3.004,6,1.347,20,6.232,25,0.925,37,3.187,51,4.542,52,5.23,62,5.96,63,3.051,69,4.343,87,4.835,98,5.96,100,5.153,114,4.045,171,3.633,220,4.918,222,3.794,232,8.271,246,4.396,256,6.546,275,6.32,297,5.385,308,4.504,319,6.2,395,5.85,400,6.265,408,8.293,421,7.206,492,9.408,529,7.875,548,8.762,564,6.436,581,5.905,636,7.606,866,8.185,1030,6.828,1670,12.176,1871,11.249,1959,13.914,1960,13.914,1961,8.271,1962,12.866,1963,11.661,1964,12.866,1965,9.737]],["keywords/336",[]],["title/337",[6,92.877,25,63.794,205,249.247,219,356.567,240,214.197,613,337.935]],["content/337",[]],["keywords/337",[]],["title/338",[107,332.397,181,360.573,732,473.461]],["content/338",[5,4.026,6,1.805,25,1.24,70,4.547,107,4.58,161,5.891,181,6.116,182,3.72,185,4.504,192,6.269,240,4.164,273,4.089,314,6.614,315,6.073,396,6.092,622,7.567,706,9.521,717,8.928,732,6.524,1913,11.329]],["keywords/338",[]],["title/339",[225,562.039,226,800.578]],["content/339",[6,1.774,25,1.218,69,5.718,88,6.281,152,3.647,155,5.46,205,4.76,225,8.139,227,9.42,255,7.466,278,4.931,330,4.404,395,7.702,426,11.393,536,6.281,545,5.074,632,10.777,740,8.521,1116,9.105,1177,11.258,1310,10.669,1966,12.819]],["keywords/339",[]],["title/340",[613,552.327,1117,1267.615]],["content/340",[6,2.222,25,1.24,70,4.547,155,5.558,191,5.605,205,5.964,240,5.125,281,7.231,298,9.15,299,11.597,301,4.25,330,4.483,537,6.111,613,6.569,861,8.673,894,7.145,985,8.673,1174,11.329]],["keywords/340",[]],["title/341",[25,79.157,202,366.157,563,509.904,1119,686.479]],["content/341",[]],["keywords/341",[]],["title/342",[60,504.882,63,296.762,514,485.1]],["content/342",[6,1.822,60,8.612,63,4.126,171,4.913,191,5.656,198,5.026,273,5.062,301,4.288,512,7.702,544,7.02,693,8.428,737,6.326,740,8.751,905,11.184,1330,14.748,1427,10.04,1913,11.431,1967,14.748]],["keywords/342",[]],["title/343",[6,131.019,185,326.9,480,486.819]],["content/343",[5,4.336,6,1.945,25,1.336,51,4.806,70,4.898,182,4.007,278,5.407,297,5.698,480,7.225,863,11.583,906,10.889,924,12.812,932,9.14]],["keywords/343",[]],["title/344",[116,491.54,278,320.414,330,286.181,356,553.65]],["content/344",[4,1.967,6,2.247,33,2.455,224,5.757,241,7.057,330,5.58,356,8.831,537,6.223,545,5.259,659,8.734,668,9.833,751,11.668,1125,13.286,1126,14.132,1128,13.821,1170,9.695,1968,18.986]],["keywords/344",[]],["title/345",[217,483.395,556,483.395,742,612.527]],["content/345",[5,4.214,6,1.89,35,5.598,63,4.281,152,3.886,217,6.973,556,6.973,693,8.743,737,6.563,742,8.835,866,11.484,921,10.109,954,10.259,958,9.029,1784,17.082,1969,15.301]],["keywords/345",[]],["title/346",[4,99.401,25,63.794,85,462.071,182,191.399,855,570.235,1913,582.811]],["content/346",[2,4.222,5,2.489,6,2.068,18,3.851,20,7.45,25,1.106,33,1.491,44,4.631,60,4.301,63,2.528,64,7.794,70,2.811,111,4.35,121,6.926,144,7.084,155,4.958,166,9.017,171,3.01,181,3.071,183,3.631,191,3.465,198,5.212,210,7.673,246,3.642,264,3.342,273,3.647,284,4.089,304,5.806,314,4.089,323,6.354,360,9.501,381,3.72,385,4.222,392,5.362,427,4.237,439,8.066,468,5.274,478,7.169,514,4.132,538,8.267,545,3.193,622,4.678,664,5.767,693,5.163,736,4.317,786,4.938,858,5.806,893,4.847,905,6.852,906,6.25,914,5.423,1058,5.97,1108,7.794,1124,7.453,1143,7.453,1151,7.453,1176,6.585,1234,9.661,1671,9.32,1786,9.036,1792,7.925,1872,6.2,1913,7.003,1914,8.221,1927,8.391,1970,8.221,1971,11.527,1972,11.527,1973,11.527,1974,10.659,1975,10.088,1976,11.527,1977,10.659,1978,11.527,1979,11.527,1980,9.661,1981,7.673]],["keywords/346",[]],["title/347",[191,471.331,879,610.406]],["content/347",[4,1.413,19,5.613,25,1.657,33,1.764,51,3.264,85,6.57,87,4.74,105,10.152,125,5.397,152,2.716,171,3.562,189,6.965,190,6.381,191,4.101,192,4.586,196,4.246,202,4.196,222,3.719,265,4.907,293,3.818,366,6.57,398,5.108,523,10.071,536,4.677,853,10.697,855,8.108,857,7.014,861,6.345,872,6.87,879,7.29,882,11.508,883,10.152,884,7.944,886,4.873,887,7.944,937,5.957,993,6.57,994,7.336,995,9.728,996,6.174,997,9.929,998,9.728,1127,8.589,1154,10.692,1192,8.484,1913,8.287,1936,11.432,1982,11.028,1983,9.929,1984,8.701]],["keywords/347",[]],["title/348",[25,53.425,33,103.882,114,233.543,196,250.045,217,286.973,264,232.903,414,314.027,973,432.085]],["content/348",[]],["keywords/348",[]],["title/349",[33,137.374,114,308.839,217,379.495,414,415.272,636,580.745]],["content/349",[]],["keywords/349",[]],["title/350",[152,269.421,377,1060.767,701,841.635]],["content/350",[5,4.464,6,2.002,25,1.052,152,4.116,182,3.155,194,9.211,196,4.922,203,8.02,217,7.386,239,8.075,255,6.446,260,8.191,278,4.257,414,6.182,437,6.207,512,6.474,551,7.197,572,5.649,662,11.279,663,8.718,716,5.71,765,5.183,921,8.191,926,8.075,954,8.312,1183,8.718,1204,8.132,1430,12.786,1479,8.871,1651,9.121,1856,11.512,1933,12.397,1985,13.84,1986,10.226,1987,12.063,1988,12.786,1989,11.772]],["keywords/350",[]],["title/351",[639,644.087,765,443.523,1546,1134.114]],["content/351",[6,1.508,9,7.127,33,2.014,73,7.955,111,7.725,162,7.237,196,4.849,217,5.565,222,4.248,329,6.942,330,3.746,348,8.818,396,5.09,414,6.09,417,7.014,435,9.367,437,6.114,587,9.937,662,11.11,663,8.588,695,7.693,737,6.883,765,6.71,991,8.588,1407,11.883,1547,10.369,1623,10.533,1651,8.985,1659,13.633,1990,11.596,1991,12.212,1992,12.595,1993,10.533,1994,15.579,1995,15.579,1996,15.579,1997,13.633,1998,14.406]],["keywords/351",[]],["title/352",[70,290.285,860,723.164,920,630.307,956,749.53]],["content/352",[5,3.389,6,1.992,30,7.384,63,3.442,99,5.529,152,3.125,196,4.885,217,5.607,222,4.28,223,8.071,249,8.884,250,8.376,256,7.384,257,7.031,301,3.577,322,5.77,330,3.774,427,5.77,496,8.313,544,5.856,552,8.249,572,5.607,642,7.031,695,7.751,732,5.492,905,9.33,1021,8.442,1025,11.973,1326,9.646,1604,10.148,1614,8.015,1651,9.052,1666,14.514,1986,13.302,1999,15.696,2000,11.683,2001,15.696,2002,8.442,2003,15.696]],["keywords/352",[]],["title/353",[62,579.706,414,528.967,417,609.31]],["content/353",[5,2.619,6,1.175,33,1.569,44,3.378,70,2.959,107,2.98,114,3.527,122,5.325,152,4.353,171,3.168,182,4.006,196,3.776,201,4.685,217,7.171,222,3.308,234,5.611,255,4.944,278,3.266,301,2.765,306,8.652,322,4.46,377,9.509,379,5.55,414,4.742,417,5.462,421,6.283,452,5.611,466,6.329,501,6.238,503,6.424,537,3.976,552,6.376,560,6.424,563,5.197,639,5.774,640,8.652,663,6.687,693,5.434,718,4.923,732,4.244,860,7.37,876,7.545,914,5.707,943,6.376,1001,10.167,1007,6.376,1021,6.525,1037,8.652,1158,7.455,1173,7.211,1194,8.831,1220,6.93,1234,10.167,1356,7.738,1547,11.483,1560,8.34,1604,7.844,1651,6.996,1681,11.218,1729,9.253,1902,7.455,1986,7.844,1997,10.616,2004,9.253,2005,11.218,2006,12.131,2007,10.616,2008,12.131,2009,12.131,2010,9.808,2011,11.218,2012,11.218,2013,12.131]],["keywords/353",[]],["title/354",[381,384.109,417,535.943,965,740.294,2014,1190.303]],["content/354",[6,1.698,9,3.587,33,1.994,44,2.183,69,2.447,70,1.912,114,3.61,124,2.936,136,4.521,152,2.472,182,1.564,201,6.774,217,5.508,222,4.205,255,5.061,264,2.273,273,3.382,278,3.343,291,3.754,297,2.224,306,5.591,322,5.668,329,3.494,330,1.885,371,4.09,373,2.022,379,3.587,391,3.949,395,6.484,401,3.512,414,7.472,417,9.593,437,6.052,452,3.626,462,3.115,474,4.521,501,6.386,503,4.151,512,3.209,533,7.029,541,3.823,544,2.925,551,3.567,556,2.8,560,4.151,563,6.606,564,3.626,614,3.391,639,3.731,640,5.591,659,3.606,663,4.322,667,9.472,668,4.06,695,3.872,701,4.876,718,3.181,732,4.345,736,2.936,751,4.818,765,5.054,772,3.252,785,2.391,860,4.763,862,4.937,865,12.536,876,4.876,905,7.382,914,3.688,952,4.437,954,4.12,961,4.322,963,3.028,965,4.876,973,4.217,1021,10.282,1030,3.847,1161,6.145,1166,5.141,1169,3.587,1190,6.145,1195,6.861,1297,5.301,1315,4.937,1326,7.632,1329,3.976,1389,6.338,1395,5.835,1418,6.145,1547,5.218,1558,4.818,1560,5.39,1582,5.835,1623,5.301,1636,5.486,1645,7.249,1697,4.437,1728,5.835,1729,5.98,1846,5.707,1847,5.835,1986,5.069,1997,6.861,2004,9.472,2015,7.84,2016,7.84,2017,6.861,2018,6.145,2019,7.249,2020,7.84,2021,6.57,2022,6.57,2023,3.823,2024,7.84,2025,6.338,2026,7.84,2027,7.84,2028,7.84,2029,7.249,2030,6.861,2031,5.591,2032,6.338]],["keywords/354",[]],["title/355",[5,229.359,33,137.374,217,379.495,417,478.346,991,585.638]],["content/355",[]],["keywords/355",[]],["title/356",[217,425.189,372,769.603,1990,885.975,2033,962.349]],["content/356",[5,3.48,6,1.843,23,2.901,35,4.622,53,4.663,60,4.118,85,5.317,92,4.706,190,5.163,196,3.436,198,4.305,203,8.173,217,8.304,223,5.676,273,2.421,291,5.285,297,3.131,298,5.417,310,4.996,325,7.724,372,10.421,417,7.257,438,4.134,479,6.632,536,3.785,556,3.943,557,4.386,630,4.058,631,6.429,633,8.925,639,7.671,642,4.944,656,6.562,721,9.66,732,3.862,735,4.97,737,6.4,765,3.618,771,4.423,787,7.811,869,12.484,875,5.845,1066,5.89,1081,6.784,1310,6.429,1329,5.598,1402,8.035,1417,6.034,1427,5.89,1610,6.865,1616,9.66,1623,7.464,1651,6.366,1668,8.653,1856,8.035,1933,8.653,1986,10.421,1990,14.17,2033,8.925,2034,17.603,2035,9.251,2036,8.653,2037,10.207,2038,11.038,2039,11.038,2040,11.038,2041,11.038,2042,11.038,2043,8.035,2044,9.66,2045,9.251,2046,11.038]],["keywords/356",[]],["title/357",[5,292.154,100,501.136,217,483.395]],["content/357",[4,1.36,5,4.523,6,1.271,25,0.873,37,2.203,44,3.655,49,6.175,51,3.141,63,2.878,88,4.5,100,9.118,110,5.79,113,6.105,152,2.613,155,3.912,202,4.037,217,8.087,240,2.931,273,2.878,297,3.723,319,5.849,329,5.849,334,3.784,373,3.385,396,4.288,437,5.151,452,6.071,491,9.554,492,8.874,503,6.95,515,6.482,545,3.635,631,10.619,636,7.175,650,7.569,664,6.567,737,4.413,750,11.486,765,4.302,947,12.535,1015,10.011,1029,9.554,1261,8.372,1546,11,1763,11.486,1990,9.769,2047,13.125,2048,16.86,2049,8.486,2050,13.125,2051,11,2052,10.011,2053,13.125,2054,13.125,2055,11]],["keywords/357",[]],["title/358",[33,103.882,72,382.369,98,344.149,217,452.238,510,407.391,631,467.879,670,450.625]],["content/358",[2,6.827,5,2.298,6,1.519,12,3.711,30,5.007,37,1.787,44,4.369,60,5.855,69,3.323,88,3.649,98,9.396,113,4.951,155,3.173,156,9.87,182,2.124,185,2.571,192,3.578,196,3.313,217,7.348,230,6.499,255,4.338,278,2.865,334,3.069,391,5.361,409,10.01,438,3.986,440,4.923,483,5.725,496,4.301,498,6.62,501,5.473,545,2.948,556,3.802,581,4.517,631,6.199,636,5.818,642,4.767,650,10.75,674,3.898,693,7.029,732,3.724,736,5.877,739,10.146,887,6.199,912,5.553,1000,5.725,1007,5.594,1042,12.051,1114,5.435,1160,5.397,1171,7.317,1173,6.327,1297,7.197,1325,6.882,1356,6.789,1694,7.448,1697,6.024,1799,9.314,1965,7.448,2049,6.882,2056,10.644,2057,10.788,2058,6.789,2059,10.644,2060,8.119,2061,10.644,2062,7.084,2063,8.92,2064,10.644,2065,12.687,2066,10.644,2067,10.644,2068,10.644,2069,10.644,2070,8.605,2071,9.842,2072,9.314,2073,9.842]],["keywords/358",[]],["title/359",[7,299.457,25,63.794,33,124.043,217,342.668,264,278.105,625,731.722]],["content/359",[25,1.24,33,2.411,107,4.58,152,3.712,181,4.968,199,8.928,201,7.202,205,4.845,206,6.637,217,6.661,240,4.164,264,5.406,414,7.289,504,8.267,614,8.065,785,5.686,1172,13.298,1720,16.318,2074,18.646,2075,14.223,2076,16.318]],["keywords/359",[]],["title/360",[556,560.063,960,1267.615]],["content/360",[4,1.15,5,3.493,6,1.566,18,3.707,25,1.27,33,1.435,37,1.863,45,3.148,60,4.14,107,2.726,114,4.704,152,3.221,162,3.923,181,4.311,184,2.407,185,4.613,191,3.336,217,8.32,230,3.506,240,2.478,250,5.922,264,3.217,273,4.187,278,2.987,284,3.936,314,3.936,315,6.219,322,5.948,330,3.89,381,3.581,396,3.626,417,4.997,425,3.992,452,5.133,458,5.162,466,5.789,467,3.923,490,4.409,538,5.516,539,5.162,543,4.11,544,4.14,545,4.482,553,4.971,590,4.731,614,4.8,630,4.079,639,5.282,652,7.747,662,7.914,663,6.117,712,6.742,716,4.006,737,3.731,765,5.303,858,5.589,891,6.117,942,6.668,953,8.26,985,5.162,1147,6.117,1183,6.117,1651,6.4,1726,5.969,1846,8.078,1856,8.078,1927,8.078,1981,7.386,1991,8.699,2023,5.411,2049,7.175,2052,8.465,2077,9.3,2078,9.711]],["keywords/360",[]],["title/361",[25,79.157,202,366.157,217,425.189,563,509.904]],["content/361",[6,1.464,19,3.036,23,4.127,32,3.2,35,4.337,37,1.7,45,2.873,65,3.319,70,2.47,152,3.603,171,2.644,217,7.171,334,2.92,393,5.446,414,3.958,425,5.44,467,3.58,498,6.298,556,6.465,581,4.297,590,4.317,630,3.722,693,4.536,695,5.001,718,6.137,719,6.962,737,6.085,742,9.087,757,9.778,765,4.956,861,4.71,944,5.68,945,7.938,1065,5.957,1161,7.938,1162,9.364,1169,4.633,1183,5.582,1300,6.957,1567,7.938,1583,7.938,1755,7.724,1811,7.371,1825,8.187,1827,5.68,1828,9.364,1829,8.862,1830,13.984,1831,8.487,1832,13.984,1833,9.364,1834,13.984,1835,13.984,1836,13.984,1837,13.984,1838,9.364,1839,9.364,1840,9.364,1841,13.984,1842,13.984,1967,7.938,2079,5.785,2080,9.364,2081,10.126,2082,8.862,2083,9.364,2084,10.126,2085,9.364,2086,10.126]],["keywords/361",[]],["title/362",[191,471.331,879,610.406]],["content/362",[4,0.812,5,2.681,6,1.202,7,2.447,19,3.723,25,1.469,33,1.994,46,2.538,51,1.876,60,2.925,70,1.912,85,3.776,87,2.724,97,2.752,98,3.358,105,6.733,107,3.05,114,2.279,125,3.102,152,3.07,156,4.151,171,2.047,181,3.309,182,1.564,184,1.7,185,1.894,186,2.317,189,4.003,190,5.809,191,2.357,192,4.175,196,3.865,201,3.028,202,3.82,217,7.264,222,4.205,230,2.477,265,2.82,273,2.723,284,2.781,293,3.476,296,5.835,304,3.949,348,4.437,366,3.776,385,2.871,398,2.936,401,3.512,414,3.064,417,5.591,452,3.626,467,2.771,514,2.81,523,6.679,533,4.437,536,2.688,541,3.823,544,2.925,551,3.567,556,2.8,563,3.358,631,4.566,639,5.911,650,4.521,701,4.876,732,2.743,736,2.936,737,4.175,739,5.069,742,3.549,765,4.07,853,7.094,855,4.66,856,5.069,857,4.031,860,4.763,861,3.647,865,5.141,872,3.949,875,4.151,879,4.835,882,7.632,883,6.733,884,4.566,886,2.8,887,4.566,888,4.09,947,5.39,956,4.937,961,4.322,986,5.39,993,3.776,994,4.217,995,5.591,996,3.549,997,5.707,998,5.591,1021,6.679,1077,4.437,1127,4.937,1154,6.145,1192,4.876,1197,5.486,1233,6.57,1311,6.57,1315,4.937,1418,6.145,1659,6.861,1668,6.145,1913,4.763,1936,6.57,1982,6.338,1983,5.707,1984,5.001,1986,5.069,1990,9.243,2034,7.249,2048,7.249,2087,7.84,2088,5.591,2089,5.141,2090,7.84,2091,7.84,2092,7.84,2093,7.84,2094,5.835,2095,5.486,2096,7.84,2097,7.84,2098,4.937,2099,6.57,2100,7.84,2101,7.84,2102,6.338]],["keywords/362",[]],["title/363",[7,371.572,25,79.157,33,153.915,217,425.189]],["content/363",[]],["keywords/363",[]],["title/364",[33,174.985,217,483.395,1110,773.065]],["content/364",[4,1.744,5,4.252,6,2.422,7,5.255,12,4.087,33,1.516,58,4.293,65,3.842,86,4.736,152,3.351,155,3.494,195,6.207,196,5.239,200,4.373,217,8.734,222,3.196,251,6.517,256,5.514,297,3.325,304,5.904,322,4.309,381,3.783,382,6.027,394,8.536,395,4.929,396,3.83,416,11.204,417,5.278,421,6.071,486,6.968,519,6.304,553,5.25,558,9.188,597,9.188,598,7.925,639,5.579,674,4.293,695,5.789,701,7.29,938,9.188,956,7.381,973,6.304,1021,6.304,1036,9.824,1037,8.36,1038,7.29,1068,10.006,1157,6.968,1224,9.804,1305,8.203,1650,6.968,1651,9.708,1668,9.188,1986,10.884,2007,10.258,2023,5.716,2049,7.579,2103,11.722,2104,9.824,2105,11.722,2106,6.76,2107,10.839]],["keywords/364",[]],["title/365",[37,178.358,87,369.18,152,211.512,217,379.495,467,375.547]],["content/365",[2,6.796,4,0.9,5,2.906,6,2.366,10,6.52,12,4.694,19,2.605,25,1.096,33,2.746,37,3.944,51,2.079,52,2.394,53,3.671,58,3.183,69,4.202,84,4.637,87,5.726,99,3.061,114,2.526,152,1.73,155,2.59,176,3.171,182,4.79,185,3.252,186,3.979,198,2.321,201,3.356,206,3.093,217,3.104,219,3.23,222,2.37,230,2.745,232,9.795,240,4.741,249,4.919,252,3.37,260,4.501,264,3.903,265,3.126,297,2.465,314,3.083,334,4.751,408,2.875,432,4.567,467,4.759,478,5.405,479,5.221,504,5.968,519,4.674,525,4.567,531,4.75,535,6.812,536,2.98,539,4.042,554,4.161,560,4.602,562,5.012,564,4.02,613,4.742,652,6.445,674,3.183,678,5.472,697,5.543,740,4.042,785,2.65,856,5.619,932,3.954,936,4.319,962,6.468,965,5.405,987,5.619,1000,4.674,1030,4.264,1053,6.812,1081,5.341,1268,4.501,1295,10.552,1427,4.637,1611,6.468,1751,11.751,2108,8.69,2109,12.448,2110,8.69,2111,5.784,2112,5.699]],["keywords/365",[]],["title/366",[37,199.834,152,236.98,217,425.189,742,538.773]],["content/366",[4,1.432,6,2.084,25,0.919,30,6.502,37,3.614,45,3.921,53,7.981,63,3.031,96,7.823,152,4.286,155,4.12,182,2.758,186,4.085,202,4.252,217,6.749,252,5.36,255,5.633,273,4.721,288,6.826,298,6.782,308,4.474,334,3.985,401,6.191,438,5.176,455,6.618,466,7.21,480,4.972,514,4.955,556,4.937,560,7.319,581,5.865,617,7.319,622,5.609,703,5.157,718,5.609,737,4.647,742,10.968,843,6.256,914,6.502,944,7.753,963,7.298,999,10.061,2113,12.781,2114,9.064,2115,11.583]],["keywords/366",[]],["title/367",[6,92.877,330,230.639,435,438.882,765,475.882,2023,467.785]],["content/367",[4,1.01,5,3.173,6,1.907,19,2.922,23,4.03,25,1.31,32,2.063,33,1.9,35,4.214,45,4.169,53,4.117,69,3.043,72,4.639,152,2.926,155,2.905,171,2.545,176,3.557,177,5.012,182,1.945,201,3.765,205,2.533,217,3.482,227,5.012,240,2.176,248,5.285,271,3.458,293,2.728,297,2.765,301,2.221,330,2.343,334,2.81,373,2.514,381,3.145,382,5.012,398,3.65,435,8.093,545,2.7,556,5.25,572,3.482,590,4.156,600,7.904,630,7.769,736,3.65,758,4.216,765,5.798,770,4.814,771,7.088,772,4.043,773,6.971,774,9.67,775,7.036,860,5.922,985,4.534,987,6.302,1019,6.138,1144,8.53,1174,5.922,1211,7.641,1224,8.559,1345,6.062,1417,8.033,1444,6.954,1548,6.218,1625,7.881,1889,9.254,2023,8.626,2116,14.825,2117,6.392,2118,6.59,2119,9.747,2120,9.013,2121,5.99]],["keywords/367",[]],["title/368",[5,229.359,25,70.65,51,254.223,182,211.969,217,379.495]],["content/368",[2,5.837,3,7.331,25,1.538,37,3.882,45,4.521,46,5.158,51,5.533,52,4.391,69,6.487,113,7.412,114,4.633,182,3.18,183,6.545,198,4.257,220,5.633,273,4.557,275,5.306,281,6.18,293,4.461,297,4.521,301,3.632,437,6.255,519,8.571,536,5.464,537,5.223,545,4.414,553,7.138,554,7.63,613,5.614,962,11.862,1653,13.946]],["keywords/368",[]],["title/369",[25,79.157,33,153.915,63,261.029,217,425.189]],["content/369",[6,2.306,8,4.471,25,1.215,33,1.702,37,2.716,44,3.665,46,4.261,60,3.15,63,4.007,70,2.059,85,4.067,87,5.622,92,3.6,114,2.455,122,3.706,125,3.341,152,1.681,182,3.228,183,2.659,186,2.496,192,2.839,205,2.194,217,7.075,219,3.138,240,1.885,273,4.007,278,2.273,291,4.043,293,2.364,310,3.822,322,3.104,330,2.03,385,3.093,389,4.342,395,3.55,396,4.301,398,3.162,400,5.927,405,6.769,408,2.794,428,7.08,438,3.162,476,5.13,514,6.549,520,3.822,533,4.779,544,3.15,545,3.646,550,4.779,557,3.355,613,2.974,622,6.565,674,3.093,675,6.123,693,3.782,695,4.17,716,3.048,718,5.342,740,3.927,785,2.575,860,5.13,898,5.805,902,4.823,903,6.826,907,5.189,910,5.297,914,3.972,918,4.779,921,4.373,922,6.44,925,7.076,926,4.311,931,5.019,963,5.084,968,6.619,981,4.823,982,4.506,985,3.927,986,5.805,1007,4.437,1016,6.285,1030,4.143,1045,6.44,1050,6.022,1065,7.744,1123,6.285,1147,4.654,1151,8.511,1329,4.282,1419,6.44,1427,4.506,1571,5.709,1580,6.285,1606,9.05,1667,7.076,1668,6.619,1782,6.022,1984,5.386,1986,5.459,2122,8.444,2123,6.619,2124,7.389,2125,6.826,2126,5.62,2127,7.389,2128,8.444,2129,7.808,2130,5.537]],["keywords/369",[]],["title/370",[25,104.266,504,695.115]],["content/370",[6,1.644,25,1.129,63,3.723,182,3.387,196,6.736,202,5.222,206,7.704,217,6.064,222,4.629,240,4.833,252,6.582,255,6.918,265,6.107,355,6.689,401,7.603,414,6.635,462,6.745,504,9.595,622,8.783,639,8.079,674,6.217,899,12.357,907,10.432,963,6.556,992,12.106,2131,10.199,2132,15.697]],["keywords/370",[]],["title/371",[5,207.102,25,63.794,58,351.353,99,337.935,152,190.987,217,342.668]],["content/371",[6,2.022,7,5.013,25,1.068,46,6.76,58,8.5,97,5.638,99,7.357,152,3.197,175,9.988,182,3.204,186,4.747,196,4.998,199,7.689,217,7.46,222,4.379,252,6.227,264,6.054,278,4.323,291,7.689,394,8.144,437,6.303,536,5.506,542,10.244,560,8.504,567,10.531,622,6.517,643,11.453,674,5.882,701,9.988,1065,9.447,1151,10.383,2133,16.059]],["keywords/371",[]],["title/372",[4,123.338,33,153.915,100,440.795,217,425.189]],["content/372",[4,1.731,6,2.289,14,6.279,25,1.111,33,2.16,37,3.596,46,5.407,67,6.721,96,9.454,100,7.932,152,3.325,217,8.447,220,5.904,293,4.676,298,8.196,322,6.14,323,9.207,395,7.023,401,7.482,437,6.555,639,7.95,732,5.844,875,8.845,931,9.929,1021,8.983,2004,12.741,2104,13.998,2134,13.998]],["keywords/372",[]],["title/373",[191,471.331,879,610.406]],["content/373",[4,1.335,6,2.008,7,4.021,19,3.861,25,1.571,33,1.666,37,3.021,63,2.825,87,4.476,105,9.758,125,5.097,171,4.699,181,3.432,182,3.591,190,6.025,191,3.872,196,4.009,202,3.963,217,6.429,262,9.604,265,4.634,297,3.654,428,6.928,437,7.063,523,6.928,525,6.77,541,6.281,561,6.06,573,8.856,613,4.538,622,5.227,642,5.77,688,7.826,853,10.281,872,6.488,879,5.015,882,7.916,883,6.984,884,7.502,886,6.429,887,7.502,937,5.626,947,8.856,963,4.975,983,7.657,994,6.928,996,5.831,1000,6.928,1034,10.415,1056,8.111,1172,9.187,1432,11.912,2113,11.912,2135,11.912,2136,9.014,2137,12.881]],["keywords/373",[]],["title/374",[7,250.785,25,53.425,33,163.706,85,386.968,182,160.29,185,305.83]],["content/374",[]],["keywords/374",[]],["title/375",[4,123.338,33,153.915,67,478.927,185,287.538]],["content/375",[6,1.815,33,2.673,44,2.994,58,3.939,68,5.652,69,3.357,70,4.573,107,2.641,151,3.318,176,3.924,181,4.996,182,3.155,185,5.321,192,3.615,195,5.694,200,4.012,201,4.153,202,3.308,219,3.997,240,2.401,255,4.383,256,5.059,264,5.993,278,2.895,301,2.451,304,7.964,306,7.669,314,5.609,315,5.15,329,4.792,330,2.585,334,3.101,385,3.939,395,4.522,438,4.027,490,4.273,515,5.311,532,6.263,536,3.687,537,3.524,539,5.002,545,2.979,551,7.195,565,6.087,569,5.277,584,7.271,613,3.788,615,9.012,632,9.302,652,5.149,675,5.002,704,5.652,706,8.073,708,6.771,717,5.149,718,4.364,888,5.61,893,4.522,904,7.828,907,6.609,910,4.327,914,5.059,923,7.052,985,5.002,1011,7.271,1012,7.393,1030,5.277,1152,7.158,1158,6.609,1238,7.525,1394,9.012,1419,8.203,1590,8.203,1620,8.694,1634,7.669,1782,7.669,2138,9.411,2139,10.754,2140,10.754,2141,6.86]],["keywords/375",[]],["title/376",[63,343.83,514,562.039]],["content/376",[2,4.777,4,1.351,5,2.816,6,1.758,22,3.423,33,2.7,60,6.773,63,2.86,69,4.071,87,4.532,113,6.067,155,3.888,171,3.406,176,6.625,182,3.622,185,4.385,191,3.921,192,4.385,199,6.245,230,5.735,237,8.553,273,3.981,278,3.511,373,3.364,392,6.067,393,9.764,401,5.842,455,6.245,462,5.182,496,5.27,498,8.112,500,9.127,501,6.707,514,4.675,545,3.613,561,6.136,693,5.842,697,8.32,712,7.924,718,5.293,736,4.884,785,3.977,890,9.302,905,10.791,921,6.755,943,6.855,1112,7.753,1119,7.522,1148,9.127,1417,7.13,1427,6.96,1430,10.545,2025,10.545,2035,10.931,2142,12.061,2143,12.061,2144,13.043,2145,13.043]],["keywords/376",[]],["title/377",[480,564.031,932,713.465]],["content/377",[5,3.389,6,1.992,33,2.03,37,2.635,40,5.992,45,4.453,70,5.018,87,5.454,176,7.508,185,3.792,196,4.885,201,6.062,297,4.453,305,9.762,467,5.548,474,9.052,480,7.401,515,7.751,551,7.143,659,7.22,688,9.536,863,9.052,906,8.51,932,10.444,934,9.646,1066,8.376,1299,11.426,1410,13.736,1687,12.69,1981,10.447,2057,10.791,2146,11.426,2147,15.696,2148,15.696,2149,15.696,2150,15.696]],["keywords/377",[]],["title/378",[7,371.572,25,79.157,182,237.492,514,426.689]],["content/378",[6,1.685,7,5.432,25,1.462,33,2.843,44,4.845,107,4.274,181,5.858,182,3.472,256,8.186,278,4.684,284,7.799,301,3.966,310,7.876,414,6.802,428,9.359,537,5.703,539,8.094,564,8.049,573,11.963,614,7.526,675,8.094,692,8.885,907,10.694,961,9.592,1622,14.583]],["keywords/378",[]],["title/379",[284,480.028,301,308.418,537,443.523]],["content/379",[6,1.657,25,1.138,182,3.415,224,5.189,284,6.071,330,5.231,334,4.935,396,5.592,427,6.291,466,8.928,538,8.507,544,6.385,545,4.74,752,14.977,812,12.206,858,8.62,893,7.196,910,6.886,957,10.398,1031,12.458,1068,10.173,1077,9.687,1158,10.518,1175,10.777,1176,9.777,1617,8.928,1856,12.458,1926,11.976,2151,17.115,2152,13.055]],["keywords/379",[]],["title/380",[107,332.397,181,360.573,297,383.895]],["content/380",[3,7.275,6,1.531,25,1.052,46,5.119,70,3.857,107,3.885,176,5.772,181,5.509,192,5.317,203,8.02,220,5.591,230,4.996,264,4.585,290,12.063,304,7.966,310,7.159,314,7.334,330,3.802,423,9.72,425,5.689,438,5.923,490,6.284,553,7.084,562,9.121,564,7.315,613,5.571,622,6.418,674,5.793,704,8.312,705,9.211,706,8.075,707,10.693,732,5.533,737,5.317,1190,12.397,1417,8.645,2065,12.786,2153,15.815,2154,14.624]],["keywords/380",[]],["title/381",[6,131.019,184,293.46,639,644.087]],["content/381",[25,1.457,45,4.055,97,5.019,152,2.846,155,4.261,184,5.089,196,4.449,202,4.398,217,5.107,220,6.834,227,7.351,236,9.828,237,9.375,239,9.872,240,3.192,241,5.314,242,7.881,243,6.576,248,7.751,255,5.826,293,4.002,297,4.055,308,4.627,319,6.37,385,5.236,394,7.249,421,7.404,517,7.751,551,6.505,586,10.641,613,5.036,638,8.245,639,6.804,660,8.019,671,11.981,736,5.354,952,8.091,987,9.243,996,6.471,1078,11.558,1542,12.51,1662,11.206,1961,8.498,2075,10.904,2155,14.296,2156,13.219,2157,14.296,2158,14.296]],["keywords/381",[]],["title/382",[271,480.028,765,443.523,2023,659.894]],["content/382",[6,2.358,25,1.044,33,2.03,152,3.125,182,3.132,217,5.607,271,5.568,304,7.906,330,3.774,334,4.526,435,7.181,551,7.143,590,6.692,614,6.789,622,6.37,664,7.853,695,7.751,732,5.492,737,5.277,765,7.522,860,9.536,865,10.293,921,8.129,937,6.855,954,8.249,985,7.301,1039,11.973,1147,8.652,1224,9.141,1547,10.447,1606,10.791,1799,13.736,1993,10.613,2057,10.791,2159,15.696,2160,13.736,2161,11.973]],["keywords/382",[]],["title/383",[45,383.895,989,965.11,1305,946.964]],["content/383",[1,6.2,4,1.442,6,1.347,25,0.925,37,2.336,44,5.285,51,3.33,52,3.834,58,5.096,63,3.051,99,4.902,100,5.153,111,5.25,121,8.36,151,4.293,182,3.787,202,4.28,241,5.172,246,4.396,255,5.671,265,5.005,273,3.051,307,8.024,312,12.866,334,4.012,385,5.096,393,7.483,396,4.546,398,5.211,399,7.606,400,6.265,462,5.528,480,6.828,563,5.96,622,5.646,631,11.054,638,8.024,639,6.622,668,7.206,799,9.566,876,8.654,932,6.332,969,9.408,1047,10.128,1327,10.129,1329,7.056,1378,8.654,1389,11.249,1551,11.249,1580,10.356,2162,13.914,2163,13.914,2164,13.914,2165,9.408]],["keywords/383",[]],["title/384",[195,716.592,379,619.122,394,686.235]],["content/384",[1,6.79,3,7.009,6,1.475,25,1.013,51,3.646,52,4.198,58,5.581,69,4.756,100,5.643,181,4.06,182,3.04,195,10.684,196,4.742,198,4.07,199,7.295,200,5.685,206,5.424,240,3.402,264,5.849,265,5.481,297,4.322,321,9.364,466,7.949,524,9.992,562,8.787,588,11.622,668,7.891,715,11.341,738,9.852,743,10.662,937,6.655,952,8.624,954,8.008,962,11.341,983,9.057,985,7.087,1034,12.319,1043,11.091,1056,9.595,2094,11.341,2141,9.719,2166,15.237,2167,15.237,2168,15.237]],["keywords/384",[]],["title/385",[63,343.83,514,562.039]],["content/385",[6,1.531,25,1.375,37,2.655,60,5.9,63,3.468,70,3.857,121,9.503,149,6.56,155,4.714,166,8.575,182,3.155,192,5.317,284,5.61,301,3.604,498,9.836,512,6.474,542,10.088,663,8.718,693,7.084,701,9.836,785,4.823,892,9.72,893,6.65,910,6.363,914,7.44,921,8.191,936,7.861,937,6.907,950,10.527,963,6.108,983,9.401,1007,8.312,1047,11.512,1147,8.718,1207,9.121,1329,8.02,1378,9.836,1427,8.439,1605,13.254,2169,13.84]],["keywords/385",[]],["title/386",[253,1372.068,705,913.126]],["content/386",[3,7.445,4,1.677,6,1.567,20,7.249,25,1.076,67,6.512,70,3.947,152,3.222,155,4.824,182,3.229,184,3.51,202,4.978,203,8.207,225,5.801,230,5.113,252,6.276,255,6.596,278,4.356,293,4.53,297,4.591,311,6.933,366,7.795,437,6.352,447,10.323,512,6.625,527,8.322,541,7.892,545,4.483,550,9.16,693,7.249,736,6.061,739,10.464,996,7.325,1007,8.505,1116,8.044,1317,11.325,1729,12.345,2170,14.163]],["keywords/386",[]],["title/387",[196,421.191,202,416.281,938,1060.767]],["content/387",[7,4.937,25,1.375,45,4.487,106,10.873,110,6.976,152,3.149,186,4.675,196,6.435,198,4.225,234,7.315,297,4.487,308,5.119,401,7.084,447,10.088,466,8.25,529,8.951,536,5.423,549,8.312,560,8.375,614,6.84,869,10.371,884,9.211,958,7.315,986,10.873,996,7.159,1014,13.84,1077,8.951,1196,10.371,1233,13.254,1237,11.512,1305,11.067,1420,14.624,2094,11.772,2171,15.815,2172,10.693,2173,15.815,2174,15.815,2175,11.772,2176,12.397]],["keywords/387",[]],["title/388",[191,471.331,879,610.406]],["content/388",[25,1.552,33,2.477,37,2.368,44,3.927,68,7.411,70,3.439,85,6.793,97,6.725,105,7.646,106,9.695,107,3.464,181,3.758,182,2.814,185,4.627,190,6.597,193,5.65,195,7.468,198,3.767,222,3.845,264,4.088,278,3.796,284,5.002,301,3.214,334,4.066,437,5.535,474,8.133,481,7.774,531,7.709,537,4.622,541,6.877,565,7.982,639,6.712,648,8.88,861,6.559,883,7.646,886,5.037,888,7.357,952,7.982,1015,10.757,1030,6.92,1056,8.88,1065,8.296,1151,9.118,1153,12.341,1168,9.248,1418,11.054,1643,11.402,1697,7.982,2177,14.102,2178,9.868,2179,10.757]],["keywords/388",[]],["title/389",[7,299.457,25,63.794,33,124.043,185,231.733,1501,548.009,2180,887.06]],["content/389",[]],["keywords/389",[]],["title/390",[33,202.738,1501,895.677]],["content/390",[1,3.429,4,1.268,5,1.661,6,1.834,9,3.521,19,2.307,25,0.512,33,2.924,45,2.183,46,2.491,65,2.522,67,3.096,69,2.402,86,3.109,97,4.296,98,3.296,106,5.29,113,3.579,114,5.507,151,2.374,152,2.436,161,2.431,182,1.535,189,10.3,192,2.587,198,2.056,246,2.431,273,4.424,278,2.071,293,2.154,310,3.483,378,4.623,381,3.948,395,3.235,396,2.514,432,4.044,503,10.031,514,2.758,536,2.638,539,3.579,543,2.85,551,3.502,554,3.684,557,3.057,559,7.805,573,5.29,580,3.54,630,4.498,631,8.871,639,3.662,642,3.447,715,5.728,716,2.778,737,2.587,745,4.206,856,4.975,857,3.957,907,4.729,936,3.825,942,7.352,950,5.122,954,8.005,963,2.972,991,4.242,1082,5.122,1111,5.29,1147,4.242,1171,5.29,1183,6.745,1196,5.046,1207,4.438,1219,3.707,1294,6.449,1327,8.128,1356,7.805,1365,5.601,1479,4.316,1501,13.753,1589,5.728,1663,4.278,1749,5.87,1822,9.107,1823,6.032,1989,5.728,2025,6.221,2075,5.87,2104,6.449,2142,7.116,2165,10.299,2181,6.734,2182,10.708,2183,5.601,2184,6.449,2185,7.695,2186,7.116,2187,7.116,2188,7.116,2189,7.116,2190,7.116,2191,12.236,2192,6.221,2193,7.695,2194,6.221,2195,7.695,2196,7.116,2197,6.032,2198,7.116,2199,7.695,2200,7.695,2201,7.695,2202,7.695,2203,5.046,2204,7.695,2205,7.695,2206,5.728,2207,7.116,2208,7.695,2209,7.116,2210,7.116]],["keywords/390",[]],["title/391",[51,284.834,185,287.538,503,630.307,1631,673.714]],["content/391",[4,1.092,5,2.275,6,1.02,12,3.674,22,2.765,23,3.78,32,3.921,33,1.362,34,3.566,40,4.022,44,2.934,51,2.521,65,3.453,68,5.537,97,3.699,105,5.712,107,3.826,124,3.946,151,5.716,161,4.92,167,4.579,176,3.845,185,3.762,198,2.814,223,5.418,271,3.737,330,2.533,373,4.017,389,5.418,394,5.343,396,3.442,424,6.812,492,7.124,496,4.257,503,11.567,631,9.071,660,5.91,688,6.401,697,6.721,716,3.804,811,7.842,857,8.009,888,5.496,954,11.48,1183,5.808,1219,5.075,1479,5.91,1501,8.897,1540,6.553,1649,8.259,1746,8.259,1989,7.842,2180,9.743,2183,11.337,2184,13.053,2196,9.743,2211,9.22,2212,10.536,2213,14.402,2214,13.63,2215,13.053,2216,6.812,2217,10.536,2218,15.575,2219,10.536,2220,9.22,2221,10.536,2222,8.518,2223,10.536,2224,10.536,2225,10.536,2226,8.259,2227,9.22]],["keywords/391",[]],["title/392",[5,292.154,25,89.993,503,716.592]],["content/392",[4,1.306,5,3.69,6,0.947,7,1.012,9,1.483,12,5.137,14,1.218,19,1.753,20,1.452,22,2.566,23,4.157,24,2.018,25,0.65,32,4.083,33,1.033,34,4.417,35,0.929,36,1.691,37,1.341,44,2.224,45,0.919,46,1.049,49,1.525,51,1.912,63,1.752,65,1.062,69,1.012,107,0.796,108,1.691,111,1.223,113,1.508,121,1.947,151,1,152,3.108,154,1.191,155,1.743,158,2.041,161,1.024,162,2.824,164,4.626,167,4.25,171,1.527,173,1.927,185,0.783,190,1.516,191,2.402,196,1.009,198,1.562,201,1.252,222,0.884,224,3.426,230,1.024,246,3.089,264,1.695,271,2.074,275,2.66,281,1.257,289,3.716,291,1.552,293,0.907,301,0.739,308,1.049,311,1.388,334,2.303,355,1.277,362,2.191,364,1.757,371,1.691,373,3.251,381,1.046,396,2.61,405,1.667,408,1.072,414,1.267,419,3.553,425,1.166,503,11.512,512,1.327,513,5.813,531,3.196,539,1.508,543,1.2,551,1.475,563,1.388,572,2.089,590,1.382,596,2.268,630,5.05,631,5.695,639,1.543,668,1.679,695,1.601,711,1.375,716,2.111,718,1.315,737,1.966,758,4.887,765,3.205,770,2.888,771,7.102,772,2.426,773,4.453,774,3.196,776,2.783,777,1.444,780,3.096,806,3.848,857,1.667,886,1.158,888,4.168,907,1.992,910,1.304,936,1.611,942,1.947,954,1.703,958,2.705,963,1.252,994,1.743,1028,4.607,1077,5.535,1125,6.843,1141,3.835,1157,1.927,1164,1.992,1173,1.927,1183,1.787,1191,2.068,1193,2.472,1219,1.561,1220,1.852,1242,2.541,1309,4.601,1313,1.927,1320,1.743,1339,2.619,1354,3.553,1356,8.764,1359,2.472,1399,2.541,1403,2.312,1479,3.28,1501,5.587,1526,4.367,1614,1.655,1617,1.691,1631,5.535,1663,1.802,1713,6.126,1726,1.743,1783,2.228,1852,2.716,2037,2.997,2072,2.836,2079,1.852,2183,4.257,2203,3.835,2216,8.15,2228,4.46,2229,3.241,2230,3.241,2231,3.241,2232,3.241,2233,3.241,2234,3.241,2235,3.241,2236,2.716,2237,7.989,2238,3.241,2239,2.359,2240,2.997,2241,2.472,2242,2.541,2243,2.716,2244,5.407,2245,4.46,2246,2.997,2247,3.241,2248,3.241,2249,2.541,2250,4.584,2251,2.997,2252,3.553,2253,6.501,2254,4.522,2255,2.312,2256,3.241,2257,3.241,2258,3.241,2259,2.836,2260,3.241,2261,3.241,2262,3.241,2263,3.241,2264,2.997,2265,3.241,2266,2.997,2267,5.847,2268,5.847,2269,3.241,2270,3.241,2271,5.847,2272,3.241,2273,3.241,2274,3.241,2275,3.241,2276,3.241,2277,3.241,2278,3.241,2279,3.241,2280,5.847,2281,3.892,2282,3.241,2283,3.241,2284,2.716,2285,5.847,2286,2.62,2287,2.997]],["keywords/392",[]],["title/393",[86,480.967,1501,679.981,2288,804.809,2289,885.975]],["content/393",[4,1.103,5,2.298,16,5.473,22,2.793,23,3.135,25,1.044,32,2.252,33,1.376,63,2.334,65,3.488,69,3.323,86,7.532,92,4.538,105,5.771,106,7.317,122,4.672,151,3.284,161,3.362,182,2.124,186,3.146,189,9.517,191,3.2,204,8.82,219,5.833,222,2.902,232,6.327,264,3.086,273,3.441,293,2.979,341,6.327,398,3.986,407,5.19,421,5.512,426,6.62,503,9.87,514,3.815,539,4.951,543,3.942,551,4.843,554,5.096,562,6.138,592,6.467,630,3.913,642,4.767,648,6.702,716,6.729,736,3.986,901,8.373,936,7.8,942,6.395,982,5.68,1033,7.748,1074,5.818,1110,6.08,1219,5.127,1327,5.68,1501,13.11,1697,6.024,1705,8.605,1981,7.084,2288,7.197,2289,16.327,2290,18.639,2291,10.644,2292,10.644,2293,10.644,2294,10.644,2295,9.314,2296,9.314,2297,10.644,2298,10.644,2299,10.644,2300,10.644]],["keywords/393",[]],["title/394",[33,124.043,49,451.293,1327,511.905,1501,548.009,1651,553.247,2060,731.722]],["content/394",[5,2.789,12,4.505,19,2.471,20,3.692,22,3.39,23,3.674,32,4.144,34,2.958,46,2.668,49,3.878,68,6.789,70,2.01,86,3.331,107,3.173,114,4.631,151,2.543,152,4.324,155,2.457,156,4.365,161,2.604,162,2.914,164,2.589,173,4.9,186,2.436,189,9.208,191,2.478,193,3.303,219,3.064,234,3.813,273,3.494,301,1.879,341,9.47,371,4.3,373,3.332,388,4.624,398,3.087,405,6.643,481,4.544,503,11.001,520,5.847,533,4.666,543,3.053,592,7.849,597,6.461,631,7.524,642,5.787,673,4.3,689,7.062,754,6.461,764,4.506,806,3.971,861,3.834,888,4.3,898,5.667,901,3.147,902,4.709,911,5.258,926,4.209,982,4.399,1007,6.789,1058,4.269,1164,5.066,1219,3.971,1327,4.399,1333,6.136,1391,6.664,1399,6.461,1501,4.709,1602,5.008,1606,5.667,1737,7.214,1931,5.191,2060,6.288,2063,6.908,2126,5.487,2250,6.461,2288,8.735,2289,11.858,2295,7.214,2296,7.214,2301,5.258,2302,7.214,2303,4.433,2304,6,2305,8.243,2306,8.243,2307,8.243,2308,5.191,2309,8.243,2310,8.243,2311,7.622,2312,8.243,2313,8.243,2314,8.243,2315,8.243,2316,8.243,2317,8.243,2318,8.243,2319,8.243,2320,8.243,2321,10.032,2322,7.214,2323,7.622,2324,8.243,2325,7.622,2326,8.243,2327,8.243,2328,8.243,2329,7.622]],["keywords/394",[]],["title/395",[60,444.09,62,509.904,63,261.029,503,630.307]],["content/395",[5,3.173,6,1.423,33,1.901,37,2.468,44,4.093,60,8.289,61,7.906,121,8.832,152,3.922,186,4.345,188,8.245,222,5.371,246,4.644,273,4.32,322,5.404,341,8.738,381,4.743,396,6.436,409,9.376,428,7.906,440,6.799,503,10.431,520,6.653,557,5.84,558,11.522,693,6.584,695,7.259,714,9.784,736,5.505,737,4.942,894,5.633,926,7.506,931,8.738,963,5.677,990,11.522,991,8.103,1219,7.08,1220,8.397,1235,11.884,1501,8.397,2330,11.884,2331,11.884,2332,14.699,2333,14.699]],["keywords/395",[]],["title/396",[60,504.882,901,516.562,1501,773.065]],["content/396",[4,1.758,5,3.203,6,1.148,7,2.308,16,6.095,19,2.217,20,3.312,33,0.956,46,2.394,52,2.037,54,3.214,60,8.327,63,2.599,65,2.424,69,2.308,76,4.396,85,3.562,88,4.064,94,7.372,97,4.161,107,1.816,154,2.718,171,1.931,182,1.475,185,3.583,189,8.664,201,2.856,219,2.749,222,2.016,227,3.802,273,1.622,293,2.07,310,3.347,314,2.623,349,4.781,375,6.183,391,3.724,396,3.873,398,4.439,400,5.337,405,3.802,466,3.858,472,12.982,482,6.479,503,8.985,512,4.852,514,2.651,519,3.977,527,6.095,531,4.042,551,3.365,554,3.54,557,4.71,627,5.796,656,4.396,693,3.312,695,3.652,716,2.67,718,3.001,761,5.383,771,2.963,785,3.615,792,4.265,863,6.836,894,4.542,895,6.197,901,4.525,907,4.544,943,3.886,944,4.148,954,3.886,963,5.73,1030,5.816,1164,4.544,1166,4.849,1169,3.383,1207,4.265,1219,5.709,1320,7.979,1327,7.916,1341,15.015,1356,9.463,1378,4.599,1435,5.504,1501,9.693,1558,4.544,1571,5,1610,7.372,1646,4.922,1688,6.838,1737,10.373,1975,10.373,1989,5.504,2007,6.471,2181,6.471,2192,5.978,2209,10.96,2210,10.96,2288,5,2289,14.752,2330,5.978,2334,11.628,2335,11.853,2336,5.978,2337,7.395,2338,7.395,2339,6.838,2340,7.395,2341,7.395,2342,11.853,2343,7.395,2344,5.978,2345,7.395,2346,7.395,2347,7.395,2348,7.395,2349,7.395,2350,7.395,2351,6.838]],["keywords/396",[]],["title/397",[5,256.976,25,79.157,60,444.09,503,630.307]],["content/397",[5,3.057,19,2.07,22,1.812,23,4.201,25,0.459,32,4.284,33,0.893,34,3.733,60,8.134,88,2.367,152,1.375,155,3.343,162,2.441,164,4.447,167,3.001,171,1.803,201,2.667,219,2.566,252,2.677,291,3.306,298,3.388,341,4.104,503,10.173,514,2.475,557,5.627,580,3.176,630,2.538,716,2.493,737,6.029,758,2.986,765,4.642,771,2.766,773,5.581,774,3.774,775,3.306,806,3.326,829,10.37,894,2.646,901,2.636,1033,5.026,1111,4.747,1114,3.525,1140,5.139,1147,3.806,1148,4.831,1219,3.326,1276,3.656,1280,11.101,1309,5.276,1320,3.713,1341,9.067,1501,6.407,1526,6.131,1711,4.528,1970,4.924,2118,4.668,2216,4.464,2236,5.786,2244,6.384,2246,6.384,2249,5.412,2288,9.575,2289,12.136,2295,6.042,2296,6.042,2330,5.582,2352,6.042,2353,4.924,2354,5.786,2355,6.904,2356,5.582,2357,19.21,2358,5.582,2359,5.582,2360,13.182,2361,5.786,2362,5.582,2363,5.786,2364,5.786,2365,11.215,2366,6.384,2367,6.384,2368,6.384,2369,14.162,2370,14.162,2371,14.162,2372,14.162,2373,14.162,2374,6.042,2375,6.904,2376,5.139,2377,5.026,2378,6.042,2379,6.904,2380,6.904,2381,5.026,2382,6.384,2383,9.399,2384,6.904,2385,6.904,2386,6.384,2387,6.904,2388,6.904]],["keywords/397",[]],["title/398",[33,137.374,60,396.364,936,528.056,1327,566.919,1501,606.904]],["content/398",[4,0.486,5,1.752,6,0.455,9,2.148,23,4.222,32,4.655,33,0.607,34,3.299,37,0.788,40,1.792,49,2.209,60,6.67,61,2.525,63,2.35,65,1.539,67,1.889,69,1.466,79,2.486,103,2.092,107,1.993,108,2.449,122,2.061,134,2.657,151,2.503,155,1.399,161,4.031,162,4.51,164,5.876,167,3.526,171,2.119,173,2.791,185,1.134,189,4.143,193,1.881,201,1.813,204,2.221,219,1.745,222,1.28,228,2.05,246,1.483,273,2.798,291,2.248,298,5.258,341,9.374,389,2.414,396,1.534,398,1.758,405,2.414,407,2.289,452,2.172,458,2.184,490,1.865,503,9.908,514,1.683,519,7.75,520,3.672,543,5.336,557,3.224,590,2.002,600,4.364,660,2.633,674,3.924,694,5.326,703,3.997,716,1.695,758,2.031,775,2.248,804,5.192,805,7.026,806,5.161,818,6.039,894,1.799,901,5.5,926,2.397,937,2.05,950,3.125,963,1.813,1219,5.161,1224,2.734,1327,7.689,1501,7.289,1526,4.435,1631,2.657,1651,2.708,1931,2.956,1961,4.823,1969,3.68,1993,3.174,2060,3.581,2079,2.682,2161,3.581,2288,3.174,2289,11.737,2311,7.503,2352,9.376,2383,13.215,2389,3.935,2390,4.108,2391,4.695,2392,11.799,2393,8.114,2394,10.714,2395,8.114,2396,6.8,2397,10.714,2398,8.114,2399,12.759,2400,4.695,2401,4.695,2402,10.714,2403,12.759,2404,4.341,2405,4.695,2406,10.714,2407,4.695,2408,8.114,2409,8.114,2410,8.114,2411,8.114,2412,8.114,2413,8.114,2414,14.409,2415,11.799,2416,4.695,2417,4.695,2418,4.341,2419,4.695,2420,4.341,2421,3.494,2422,3.796,2423,4.695,2424,3.796,2425,4.695,2426,4.108]],["keywords/398",[]],["title/399",[63,343.83,2427,1195.939]],["content/399",[4,1.369,12,4.605,20,5.916,30,6.214,33,1.708,63,4.978,65,4.329,70,4.466,97,4.637,107,4.498,152,2.63,185,4.424,186,3.904,187,8.117,206,4.702,222,4.994,240,4.089,264,5.309,373,3.406,375,6.89,419,8.025,462,5.248,474,7.617,512,5.407,569,6.481,663,11.588,785,4.028,864,8.662,888,6.89,902,7.545,912,6.89,1007,6.942,1081,8.117,1109,6.84,1164,8.117,1207,10.562,1238,9.243,1595,8.215,1634,13.061,1872,7.104,1977,12.214,2045,11.069,2102,10.679,2178,9.243,2284,15.348,2427,10.075,2428,15.348,2429,9.42,2430,11.069,2431,10.075,2432,13.208,2433,13.208]],["keywords/399",[]],["title/400",[63,296.762,273,296.762,901,516.562]],["content/400",[4,1.73,23,2.983,25,0.771,33,1.499,44,4.65,52,3.194,60,8.469,61,6.234,62,4.965,63,3.662,67,4.664,86,6.747,103,5.165,149,4.808,189,8.526,192,3.897,206,4.126,240,2.588,272,4.942,273,4.978,278,3.12,297,3.288,301,3.806,341,11.635,381,3.74,402,6.685,420,7.042,482,6.336,519,8.981,520,5.247,543,6.184,551,5.275,674,4.245,699,7.494,704,6.092,713,7.494,785,3.535,792,6.685,806,5.583,888,6.047,901,7.472,918,6.561,963,4.477,1030,8.194,1081,7.124,1134,6.561,1501,6.622,1602,10.145,2060,8.842,2321,7.299,2323,15.441,2383,9.714,2404,10.719,2434,11.591,2435,11.591,2436,10.144,2437,11.591,2438,11.591,2439,16.699,2440,11.591,2441,10.719,2442,11.591,2443,9.086]],["keywords/400",[]],["title/401",[63,343.83,954,824]],["content/401",[4,1.024,12,3.447,35,2.835,63,3.257,67,3.978,114,5.767,125,3.912,188,5.545,219,3.675,222,2.696,301,4.066,322,3.634,334,2.85,424,6.392,503,11.827,527,5.083,531,5.404,540,7.358,554,4.733,693,7.991,696,6.148,736,3.702,888,5.157,898,10.211,902,5.648,918,5.596,954,12.526,958,8.252,1000,5.317,1110,5.648,1134,5.596,1183,5.45,1501,8.485,1511,7.196,1713,5.36,2114,6.483,2184,8.285,2211,8.651,2214,8.651,2215,17.82,2222,7.993,2288,6.684,2325,9.142,2421,7.358,2427,7.541,2444,6.006,2445,8.651,2446,9.886,2447,9.886,2448,14.853,2449,9.142,2450,9.886,2451,9.886,2452,9.886,2453,9.886,2454,9.886,2455,9.886,2456,19.836,2457,9.886,2458,17.841,2459,7.993,2460,9.886,2461,17.841,2462,9.886,2463,9.886,2464,9.886,2465,9.886,2466,9.886,2467,8.285,2468,14.853,2469,9.886,2470,17.841,2471,14.853,2472,9.886,2473,9.886,2474,9.886,2475,9.886,2476,9.886,2477,9.886,2478,9.886]],["keywords/401",[]],["title/402",[63,296.762,514,485.1,866,796.106]],["content/402",[4,2.043,5,2.109,6,0.946,9,6.735,12,2.036,16,3.003,19,3.775,25,0.65,33,0.755,35,1.675,37,2.75,45,3.572,49,2.747,52,1.609,60,4.698,62,4.185,63,4.324,65,4.127,69,1.823,86,5.088,92,2.49,103,7.3,105,3.166,106,4.015,107,1.434,118,4.894,136,5.634,152,2.507,171,2.551,185,1.411,186,2.887,187,3.589,201,2.256,206,2.079,222,3.434,246,1.845,256,2.747,273,3.884,341,3.471,378,3.509,382,3.003,391,2.941,397,3.725,398,3.658,407,2.848,408,3.232,439,4.087,442,7.111,460,4.454,493,3.632,503,10.85,512,8.387,514,5.277,516,3.003,520,6.663,540,4.347,543,6.066,557,6.509,568,3.436,577,3.632,643,4.165,673,3.046,674,3.578,694,2.903,703,2.179,718,2.37,775,2.796,785,2.979,857,3.003,874,2.589,890,4.165,894,3.743,912,3.046,921,3.024,926,2.982,936,2.903,942,3.509,944,5.479,954,9.883,955,10.216,1029,7.111,1086,3.776,1119,3.368,1169,2.672,1219,6.066,1254,6.605,1300,2.686,1314,4.165,1320,3.141,1325,3.776,1327,10.035,1398,3.677,1501,9.358,1526,3.192,1571,6.605,1651,3.368,1663,3.247,1697,3.305,1713,3.166,1765,3.725,1825,10.181,1843,3.725,1869,4.347,2161,4.454,2181,5.11,2183,4.251,2184,4.894,2187,9.033,2188,9.033,2189,5.4,2190,5.4,2211,5.11,2213,5.4,2214,5.11,2215,4.894,2226,4.578,2253,2.763,2288,6.605,2289,7.271,2303,3.141,2321,3.677,2352,12.882,2392,5.4,2415,5.4,2418,5.4,2426,5.11,2479,5.84,2480,5.4,2481,5.84,2482,4.894,2483,4.578,2484,5.84,2485,5.84,2486,5.4,2487,9.769,2488,4.251,2489,7.111,2490,5.84,2491,9.769,2492,3.548]],["keywords/402",[]],["title/403",[6,115.243,330,286.181,435,544.573,2493,1190.303]],["content/403",[4,1.086,5,3.35,6,1.502,23,4.211,25,1.032,32,3.284,34,3.553,45,2.974,60,5.789,70,2.557,125,4.148,161,3.312,162,5.485,164,3.292,174,6.231,176,3.826,192,3.524,198,2.8,227,5.39,249,5.933,264,3.039,271,6.553,330,3.731,366,5.049,373,2.704,435,9.342,503,10.813,536,3.594,545,5.117,557,4.165,590,4.47,600,5.638,673,8.095,745,5.73,765,7.144,886,3.745,954,5.509,1111,7.207,1204,5.39,1280,8.217,1300,8.498,1309,7.3,1501,5.989,2062,6.978,2227,9.174,2358,8.475,2359,8.475,2362,8.475,2381,7.631,2382,9.694,2383,13.004,2386,9.694,2494,15.517,2495,6.601,2496,7.631,2497,10.483,2498,10.483,2499,10.483]],["keywords/403",[]],["title/404",[33,113.071,107,214.787,185,211.234,329,389.66,331,565.374,512,357.937,1501,499.534]],["content/404",[16,6.027,19,3.514,33,1.516,46,3.794,51,2.805,65,5.517,69,3.659,71,9.824,86,4.736,103,7.501,105,6.355,188,6.575,192,3.941,196,3.648,198,3.131,215,6.16,222,3.196,246,3.703,255,4.777,273,5,288,5.789,297,4.775,311,5.021,330,2.818,331,7.579,368,10.6,382,6.027,387,6.827,407,5.716,452,5.422,482,6.408,486,6.968,503,8.914,543,4.341,582,6.575,592,10.227,631,6.827,645,6.896,672,7.29,736,4.39,866,9.903,869,7.687,888,6.115,912,6.115,940,7.121,954,11.314,993,5.646,1000,6.304,1086,7.579,1109,6.071,1152,7.802,1268,6.071,1435,8.725,1501,6.696,1706,7.687,1722,8.533,1822,8.725,2222,13.61,2321,7.381,2500,18.214,2501,11.722,2502,5.826,2503,11.722,2504,16.833,2505,16.833,2506,11.722,2507,9.477,2508,9.477]],["keywords/404",[]],["title/405",[191,471.331,879,610.406]],["content/405",[4,1.967,23,2.894,25,1.667,125,7.513,366,9.145,398,7.11,523,10.212,596,13.286,885,13.821,1435,14.132,2509,18.986,2510,16.615,2511,18.986,2512,15.912,2513,18.986,2514,16.615,2515,14.132]],["keywords/405",[]],["title/406",[107,260.952,185,256.637,331,686.894,703,396.364,1228,757.671]],["content/406",[]],["keywords/406",[]],["title/407",[107,332.397,185,326.9,1237,985.073]],["content/407",[5,2.176,6,2.178,18,3.366,33,1.303,46,4.877,69,3.146,70,5.228,107,4.919,113,4.687,136,5.812,155,3.004,156,5.336,161,3.184,171,2.631,176,6.586,181,4.015,185,5.434,186,2.979,205,2.618,222,4.109,230,3.184,240,3.364,264,4.368,265,3.625,272,4.297,279,5.99,298,4.945,314,5.345,315,4.908,318,8.445,321,6.193,392,7.009,438,3.774,455,4.825,512,4.125,542,6.428,548,6.346,556,3.6,562,5.812,565,8.529,652,4.825,674,3.691,676,7.336,703,3.76,704,5.296,716,3.638,732,3.526,735,4.537,740,4.687,785,3.073,893,4.237,910,4.055,923,6.608,932,4.586,943,5.296,971,8.957,985,4.687,1022,11.811,1023,11.215,1067,6.814,1109,5.219,1142,7.336,1228,12.871,1233,8.445,1311,8.445,1339,4.514,1417,5.509,1419,7.687,1564,6.428,1595,6.267,1604,6.516,1719,7.899,1860,7.687,1961,5.99,2126,6.708,2179,7.687,2431,7.687,2516,7.501,2517,8.819,2518,10.077,2519,10.077,2520,9.319,2521,9.319]],["keywords/407",[]],["title/408",[107,292.374,185,287.538,1541,933.04,2522,1190.303]],["content/408",[0,1.65,2,1.114,4,1.12,5,1.637,6,1.605,7,2.367,9,1.392,10,3,19,0.912,25,0.202,33,1.205,37,2.664,46,0.985,51,4.257,52,2.978,53,1.285,58,3.414,60,1.135,62,1.303,63,3.115,69,1.724,70,1.849,82,3.864,84,1.624,86,1.229,87,1.919,88,1.043,97,1.068,98,5.18,103,1.356,107,4.37,109,1.967,114,1.605,121,3.318,122,1.335,124,1.139,147,1.941,149,1.262,152,1.509,154,2.787,162,3.295,175,1.892,176,2.015,181,1.471,182,0.607,185,4.298,186,1.632,191,1.66,192,3.133,196,0.947,199,2.644,200,5.3,201,2.133,202,0.936,204,1.44,205,4.123,206,1.966,217,1.087,222,2.067,227,1.564,228,1.329,230,0.961,240,1.233,246,2.944,248,2.994,252,1.18,256,2.598,264,3.133,265,1.986,269,2.55,271,1.079,272,1.297,273,1.211,275,1.013,278,1.486,287,3.768,288,1.502,289,1.415,291,1.457,293,1.546,297,0.863,301,0.693,304,2.781,308,3.498,315,0.991,322,1.118,329,2.461,331,1.967,347,1.4,356,1.415,359,2.215,371,3.955,373,1.955,381,0.982,385,2.777,387,1.772,389,3.899,392,1.415,393,1.636,395,3.188,396,3.045,398,1.139,402,1.755,404,2.321,405,2.839,407,1.484,413,2.86,416,2.025,424,3.57,427,1.118,438,2.068,442,4.02,443,6.635,447,1.941,452,2.554,465,4.11,467,1.075,482,1.663,484,3.097,489,2.265,490,1.209,491,2.215,492,5.126,493,1.892,496,3.766,498,3.434,510,1.543,512,1.245,514,1.091,524,3.621,531,1.663,537,0.997,539,2.568,541,1.484,543,1.127,551,1.384,556,1.973,561,2.598,563,2.366,579,6.026,589,2.129,607,1.65,613,1.072,636,1.663,638,1.755,645,1.79,659,1.4,660,3.097,672,5.796,673,1.587,674,1.114,675,4.335,685,4.02,692,1.553,693,3.396,694,1.512,695,2.727,696,1.892,699,1.967,703,5.627,704,1.599,708,4.774,711,2.343,716,1.994,717,2.644,718,1.235,719,5.212,727,2.129,740,1.415,761,2.215,775,1.457,785,0.928,792,1.755,827,1.87,855,1.808,861,1.415,864,4.972,870,4.329,873,1.828,874,4.791,886,1.087,887,1.772,888,1.587,892,1.87,893,2.322,912,2.881,918,1.722,920,1.611,921,1.576,931,1.808,932,1.384,940,1.848,941,2.265,943,1.599,944,1.707,958,1.407,982,1.624,1000,1.636,1006,1.848,1011,6.302,1012,6.407,1027,2.55,1030,1.493,1049,1.87,1057,2.46,1066,1.624,1119,1.755,1157,1.808,1160,1.543,1166,1.995,1167,2.092,1183,1.677,1193,2.321,1220,1.738,1227,1.995,1315,3.477,1320,2.97,1322,2.46,1323,2.385,1327,4.046,1329,2.8,1339,2.473,1384,2.092,1411,2.662,1413,2.55,1422,2.129,1427,4.046,1501,1.738,1526,1.663,1562,2.215,1602,3.355,1605,2.55,1608,4.329,1614,1.553,1617,1.587,1630,2.662,1703,4.02,1706,1.995,1707,3.938,1708,2.092,1713,5.053,1716,2.17,1721,2.55,1722,2.215,1726,1.636,1741,2.55,1744,2.813,1755,4.212,1766,2.025,1823,2.385,1843,1.941,1869,2.265,1933,2.385,1935,2.385,1969,2.385,2005,2.813,2022,2.55,2070,2.46,2118,2.057,2125,2.46,2126,2.025,2146,4.02,2172,3.734,2243,2.55,2253,2.613,2254,1.722,2281,2.025,2286,2.46,2321,1.916,2329,5.106,2331,2.46,2431,2.321,2444,1.848,2467,2.55,2483,2.385,2489,4.02,2500,2.813,2502,1.512,2523,3.042,2524,2.662,2525,4.832,2526,3.042,2527,2.813,2528,3.042,2529,5.522,2530,2.813,2531,4.832,2532,4.628,2533,2.662,2534,4.628,2535,2.813,2536,3.042,2537,2.813,2538,5.522,2539,2.55,2540,3.042,2541,2.321,2542,2.215,2543,3.042,2544,2.662,2545,3.042,2546,2.662,2547,3.042,2548,2.813,2549,3.042,2550,5.106,2551,2.813,2552,2.46,2553,3.042,2554,2.813,2555,2.662,2556,3.042,2557,3.042,2558,3.042,2559,3.042,2560,3.621,2561,3.042,2562,3.042,2563,3.042,2564,3.042,2565,3.042,2566,3.042,2567,4.628,2568,2.129,2569,3.042,2570,3.042,2571,3.042,2572,2.46,2573,3.042,2574,2.662,2575,3.042,2576,3.042,2577,2.662,2578,3.042,2579,3.042]],["keywords/408",[]],["title/409",[107,292.374,185,287.538,264,345.078,2301,759.279]],["content/409",[4,1.773,70,4.174,107,4.204,185,4.134,186,5.059,196,5.327,202,5.265,222,5.932,264,6.307,279,10.173,287,8.507,329,7.627,334,4.935,727,11.976,886,6.114,894,6.558,963,6.61,984,10.518,994,9.205,1192,10.644,1237,12.458,2301,10.917,2580,17.115,2581,17.115,2582,17.115,2583,13.416,2584,17.115,2585,17.115,2586,14.343]],["keywords/409",[]],["title/410",[70,330.023,401,606.144,893,568.994]],["content/410",[4,0.665,5,2.28,6,2.056,9,2.935,14,2.412,18,2.143,22,1.684,33,1.366,37,1.077,40,4.031,44,4.344,46,2.077,51,1.535,54,4.59,61,3.45,63,1.407,70,4.525,87,2.229,107,3.832,147,4.092,149,2.661,152,1.277,155,3.148,162,2.268,176,3.854,177,3.299,180,4.858,181,2.814,182,1.28,183,2.021,184,1.391,185,5.413,191,1.929,192,3.551,199,3.072,205,3.497,206,3.759,207,3.536,220,2.268,240,4.143,243,2.951,256,3.018,264,5.941,272,2.735,273,1.407,281,2.488,285,7.26,293,1.796,299,3.99,301,2.407,314,3.746,315,4.384,321,3.943,322,2.358,329,2.859,330,3.751,347,2.951,373,1.654,381,2.07,385,2.35,388,3.598,392,2.984,395,2.697,401,2.874,402,3.7,410,4.148,439,4.489,452,4.885,455,3.072,480,3.799,490,2.549,512,2.626,520,2.904,537,3.461,539,2.984,543,2.376,544,2.393,545,3.728,550,3.631,559,4.092,632,6.213,636,3.507,638,3.7,645,3.774,652,5.057,663,3.536,675,4.912,692,3.276,696,3.99,701,3.99,703,2.393,704,5.55,706,3.276,708,4.04,709,3.943,710,5.376,713,4.148,717,3.072,718,2.603,735,2.889,751,3.943,762,4.775,785,1.956,863,3.7,892,3.943,906,3.478,910,4.249,920,3.397,957,6.416,971,6.278,991,3.536,1011,4.338,1012,4.41,1023,4.775,1055,3.189,1058,3.322,1176,3.665,1177,3.943,1322,5.187,1330,5.029,1419,4.893,1476,5.932,1564,4.092,1603,4.893,1624,5.614,1652,5.614,1798,5.376,1846,4.67,2057,4.41,2062,4.27,2070,5.187,2126,4.27,2152,4.893,2172,4.338,2179,4.893,2301,6.737,2302,5.614,2583,5.029,2587,9.766,2588,4.67,2589,3.943,2590,5.614,2591,6.415,2592,5.932,2593,6.415,2594,6.415,2595,6.415,2596,5.932,2597,6.415,2598,4.893,2599,6.415,2600,5.932,2601,6.415,2602,5.614,2603,5.614,2604,6.415,2605,5.932,2606,5.614,2607,6.415]],["keywords/410",[]],["title/411",[196,421.191,401,606.144,893,568.994]],["content/411",[0,1.65,2,1.114,4,0.966,5,1.192,6,1.94,9,1.392,15,1.772,18,5.537,19,1.655,25,0.202,33,1.837,37,0.511,44,2.111,46,1.787,49,2.598,51,0.728,52,0.838,53,1.285,54,2.4,61,1.636,62,2.366,69,2.367,70,3.678,79,1.611,83,2.215,86,1.229,87,1.057,88,3.196,92,1.297,96,3.125,97,1.939,107,3.705,110,1.342,111,1.148,116,1.256,122,1.335,125,1.204,144,1.87,149,3.145,152,0.606,154,1.118,166,2.994,171,0.794,176,4.413,177,1.564,181,2.879,183,1.739,184,0.66,185,4.65,186,1.632,189,1.553,191,0.915,192,1.023,196,2.901,197,2.17,198,1.475,200,1.135,201,2.928,202,0.936,203,1.543,205,2.422,207,1.677,215,2.902,218,2.321,220,3.295,222,3.297,230,0.961,240,3.172,241,2.818,243,4.287,246,3.414,250,1.624,252,3.614,262,1.624,264,4.118,265,1.094,272,1.297,273,3.48,278,2.041,281,6.153,284,2.689,287,1.512,293,0.852,296,2.265,301,2.463,304,1.532,307,1.755,308,0.985,310,2.499,311,3.248,314,1.079,315,5.168,319,2.461,322,1.118,330,4.278,334,0.877,351,2.385,355,3.673,360,1.738,364,1.65,366,3.652,373,1.955,378,1.828,379,3.469,381,2.447,385,2.023,391,1.532,395,3.188,396,0.994,400,1.37,401,1.363,402,1.755,405,2.839,409,1.941,413,1.576,425,2.727,432,2.902,452,1.407,454,4.902,466,2.881,473,4.11,477,3.216,478,3.434,490,2.194,496,2.231,508,1.916,512,1.245,513,1.808,514,1.091,527,3.899,533,1.722,537,1.81,538,2.745,542,1.941,543,3.451,544,4.032,545,3.349,552,1.599,559,1.941,563,1.303,564,2.554,565,1.722,568,3.249,569,2.71,573,2.092,579,1.967,584,2.057,589,2.129,591,2.813,592,1.848,607,2.994,611,1.916,613,1.945,625,2.321,630,1.118,632,1.79,636,1.663,638,3.185,645,1.79,652,2.644,660,1.707,664,1.522,667,2.321,668,1.576,669,2.662,674,1.114,675,1.415,693,1.363,697,1.941,706,1.553,711,2.343,716,4.771,718,4.907,732,1.932,735,1.37,736,2.839,740,1.415,762,2.265,785,1.684,786,1.303,792,1.755,809,1.502,858,1.532,861,1.415,862,1.916,866,1.79,876,3.434,878,1.995,888,1.587,891,1.677,892,1.87,893,1.279,905,1.808,908,2.46,909,2.385,910,1.224,912,1.587,918,1.722,947,2.092,955,3.185,956,1.916,963,1.175,971,1.808,973,2.97,981,1.738,982,1.624,984,1.87,985,1.415,991,1.677,1007,5.679,1011,2.057,1012,2.092,1017,2.265,1030,1.493,1042,3.57,1058,1.576,1064,2.129,1066,2.947,1072,2.129,1075,2.265,1081,1.87,1108,2.057,1112,1.808,1115,2.215,1127,1.916,1142,2.215,1156,2.321,1157,1.808,1168,1.995,1169,1.392,1170,1.553,1174,1.848,1175,1.916,1199,2.385,1204,2.839,1219,1.465,1220,1.738,1237,2.215,1268,1.576,1272,2.215,1310,3.216,1339,1.363,1360,3.434,1395,2.265,1398,1.916,1444,1.44,1522,2.813,1562,2.215,1579,2.46,1595,1.892,1603,2.321,1606,2.092,1644,2.813,1710,2.321,1755,2.321,1779,2.092,1798,2.55,1821,2.025,1826,2.321,1850,2.17,1858,4.329,1860,2.321,1872,1.636,1902,1.87,1927,2.215,1934,2.813,1967,2.385,1970,2.17,1984,1.941,1985,2.662,2018,2.385,2060,2.321,2109,2.813,2138,2.662,2152,2.321,2281,2.025,2516,2.265,2517,2.662,2533,2.662,2552,2.46,2560,1.995,2572,2.46,2606,2.662,2608,5.106,2609,3.042,2610,2.662,2611,3.042,2612,2.17,2613,3.042,2614,3.042,2615,3.042,2616,2.662,2617,4.329,2618,3.042,2619,3.042,2620,3.042,2621,3.042,2622,3.042,2623,3.042,2624,2.321,2625,2.321,2626,2.662,2627,3.042,2628,2.321,2629,3.042,2630,3.042,2631,2.662,2632,3.042,2633,3.042,2634,3.042,2635,3.042,2636,3.042,2637,3.042,2638,2.321,2639,2.55,2640,3.042,2641,3.042,2642,2.46,2643,3.042,2644,3.042,2645,2.662,2646,3.042]],["keywords/411",[]],["title/412",[107,292.374,185,287.538,703,444.09,1164,731.52]],["content/412",[2,0.898,4,1.535,5,0.979,6,2.01,7,0.399,9,2.074,10,0.506,11,0.839,12,0.446,14,0.922,18,0.819,19,2.57,20,1.099,22,0.928,23,2.837,25,0.163,30,1.154,32,0.271,33,1.551,37,1.321,40,2.719,44,4.028,46,1.144,49,2.568,51,1.704,52,0.974,60,0.915,61,1.319,62,0.548,63,1.197,64,0.865,65,1.158,67,1.422,69,1.103,70,3.528,71,1.072,78,1.072,79,0.677,84,0.683,85,0.616,87,0.852,88,1.872,92,0.545,94,0.795,97,0.449,100,0.908,105,0.693,107,3.872,108,0.667,110,3.142,111,1.711,113,0.595,114,1.027,121,1.474,124,0.479,125,0.506,136,2.038,148,0.738,149,0.531,151,0.757,152,1.418,155,1.053,156,1.299,158,0.805,161,1.116,162,0.452,164,0.77,167,1.066,171,0.641,173,0.76,176,3.129,177,1.261,179,1.219,181,2.624,182,0.255,184,1.707,185,4.496,186,1.34,188,1.376,189,0.653,191,1.363,192,2.882,193,0.512,194,0.745,196,2.45,197,0.912,198,0.944,199,1.174,200,0.915,201,2.109,202,0.393,204,3.37,205,4.314,206,3.506,207,3.484,208,1.341,215,1.289,220,1.93,222,1.723,224,0.388,225,5.055,226,2.315,227,2.331,228,0.559,229,1.376,230,2.25,231,2.521,234,1.135,236,2.43,237,2.318,239,0.653,240,3.52,241,2.349,242,0.705,243,1.626,246,1.997,248,1.33,252,0.951,255,1,256,0.602,262,1.309,263,1.034,264,4.655,265,0.46,271,1.254,273,1.88,277,2.038,278,2.308,285,0.879,289,0.595,292,1.003,293,0.687,297,1.003,298,1.734,301,1.244,304,3.587,306,0.912,311,0.548,315,5.036,319,2.02,322,3.393,325,0.895,329,2.02,330,1.892,334,2.054,347,1.128,351,1.003,355,2.807,357,0.912,359,3.3,360,0.731,366,0.616,372,0.827,373,1.169,377,1.923,379,0.585,381,1.14,382,0.658,385,0.468,386,0.931,387,2.058,388,1.376,390,0.952,391,1.235,393,0.688,395,2.995,396,0.801,398,1.324,400,1.104,401,1.099,402,1.415,404,0.976,405,2.331,409,2.254,410,0.827,413,1.27,414,0.959,417,1.104,421,2.827,423,1.508,426,1.526,427,2.007,433,0.931,435,3.258,437,2.143,440,1.135,452,1.635,454,1.586,455,1.174,458,1.141,462,0.508,466,0.667,468,0.585,475,1.183,476,0.777,478,0.795,480,0.46,481,0.705,482,0.699,484,0.717,486,0.76,493,0.795,498,1.526,500,0.895,501,0.658,503,0.677,514,0.458,515,0.632,516,0.658,520,0.579,524,0.839,527,0.658,531,3.455,533,1.388,535,1.003,537,0.419,541,1.196,544,1.319,545,0.979,546,1.034,552,0.672,553,0.573,556,0.457,559,0.816,561,0.602,563,0.548,564,1.135,565,1.388,571,0.839,573,0.879,576,1.072,577,0.795,579,1.586,581,1.041,582,0.717,587,0.816,589,0.895,593,1.003,606,1.003,607,0.693,613,0.864,621,0.912,625,0.976,628,3.09,629,1.034,630,0.47,631,1.429,632,3.212,636,1.932,638,0.738,639,0.609,640,0.912,642,0.573,648,0.805,650,1.415,652,0.612,656,0.76,660,0.717,661,0.816,663,1.948,664,1.227,668,3.273,669,1.119,673,1.844,677,1.003,683,0.895,692,1.253,693,0.573,697,2.892,698,0.827,701,0.795,703,1.319,705,0.745,716,0.886,720,0.976,726,0.931,727,2.473,732,2.492,736,2.367,737,0.43,740,1.644,745,3.455,765,1.158,772,1.017,773,0.504,775,0.612,786,1.942,787,0.62,789,1.072,808,1.072,855,1.458,856,0.827,858,1.235,860,0.777,861,1.141,864,0.839,865,0.839,876,2.198,880,0.976,886,0.457,888,1.28,889,0.865,891,0.705,893,0.538,894,0.49,896,1.072,902,0.731,907,2.172,910,0.515,911,1.565,912,2.365,914,0.602,915,0.952,921,0.662,922,0.976,931,0.76,932,1.116,935,1.034,940,0.777,941,0.952,943,0.672,944,0.717,946,1.183,952,0.724,954,1.857,957,1.49,958,2.525,963,0.494,969,1.659,970,0.976,971,2.101,972,0.839,985,3.313,989,0.912,993,0.616,999,0.931,1000,1.319,1006,0.777,1010,1.034,1021,2.936,1024,1.663,1026,0.976,1027,1.072,1030,1.204,1031,0.931,1033,0.931,1039,0.976,1065,0.752,1066,0.683,1072,2.473,1074,0.699,1081,0.786,1085,1.072,1086,0.827,1102,0.952,1103,0.895,1108,0.865,1109,0.662,1112,0.76,1113,0.931,1116,1.757,1118,0.827,1123,0.952,1126,0.952,1127,0.805,1150,1.003,1151,0.827,1155,0.865,1156,0.976,1157,0.76,1160,1.244,1164,3.884,1166,1.609,1169,1.617,1174,1.49,1180,0.768,1189,1.526,1207,0.738,1220,0.731,1227,2.318,1235,1.034,1238,1.717,1261,1.565,1262,1.508,1298,0.768,1301,1.119,1304,1.072,1305,0.895,1309,1.154,1310,4.993,1315,2.225,1326,3.355,1329,2.299,1332,0.688,1333,0.952,1399,1.003,1400,0.717,1403,0.912,1408,1.119,1411,1.119,1422,0.895,1427,0.683,1438,1.034,1444,0.605,1501,0.731,1516,1.183,1536,0.895,1541,1.003,1542,1.119,1547,0.851,1551,1.983,1558,1.508,1560,1.686,1562,1.786,1563,1.072,1571,0.865,1582,1.826,1595,0.795,1606,0.879,1609,1.034,1611,0.952,1619,2.147,1623,0.865,1631,0.724,1633,1.401,1651,0.738,1656,0.851,1671,1.034,1686,1.786,1690,0.912,1695,1.119,1704,0.805,1708,0.879,1711,0.839,1713,3.427,1747,0.865,1749,0.976,1757,2.147,1779,2.43,1792,0.879,1811,0.931,1826,0.976,1827,0.717,1846,0.931,1847,1.826,1848,1.003,1850,0.912,1856,0.931,1858,1.003,1860,3.458,1863,1.003,1869,1.826,1872,1.319,1874,1.034,1890,1.923,1931,0.805,1936,1.072,1940,1.983,1965,2.473,1966,1.717,1988,1.983,1993,1.659,2000,0.952,2012,1.183,2030,1.119,2031,0.912,2043,0.931,2044,1.119,2045,1.072,2057,1.686,2065,1.034,2089,0.839,2111,1.633,2127,1.119,2130,0.839,2131,1.474,2172,0.865,2175,0.952,2176,1.003,2220,3.093,2250,1.003,2281,1.633,2284,1.072,2303,0.688,2304,0.931,2331,2.857,2334,1.003,2421,1.826,2422,1.983,2426,2.147,2431,0.976,2483,1.003,2512,1.072,2516,1.826,2525,1.119,2534,2.056,2539,1.072,2550,2.268,2560,2.973,2567,1.072,2598,1.871,2603,1.119,2608,1.183,2617,1.003,2626,1.119,2628,0.976,2647,1.279,2648,1.279,2649,1.183,2650,1.279,2651,0.931,2652,2.268,2653,1.119,2654,1.279,2655,1.279,2656,2.268,2657,1.279,2658,2.453,2659,1.279,2660,1.183,2661,1.279,2662,1.279,2663,1.279,2664,1.279,2665,1.279,2666,1.279,2667,2.056,2668,1.279,2669,0.865,2670,1.279,2671,0.839,2672,1.279,2673,2.147,2674,1.279,2675,1.183,2676,1.119,2677,0.895,2678,1.279,2679,1.279,2680,1.279,2681,1.279,2682,1.279,2683,1.119,2684,1.279,2685,1.279,2686,1.279,2687,2.268,2688,1.183,2689,1.279,2690,2.147,2691,1.183,2692,1.717,2693,0.912,2694,1.183,2695,1.183,2696,1.279,2697,2.453,2698,2.268,2699,1.279,2700,2.453,2701,1.279,2702,2.268,2703,2.453,2704,1.279,2705,1.072,2706,1.279,2707,0.976,2708,1.003,2709,1.072,2710,1.279,2711,1.279,2712,1.279,2713,1.183,2714,1.686,2715,1.183,2716,1.279,2717,0.976,2718,1.183,2719,1.072,2720,0.805,2721,2.268,2722,1.279,2723,2.268,2724,0.952,2725,1.279,2726,1.279,2727,1.279,2728,0.976,2729,1.183,2730,1.279,2731,0.976,2732,1.279,2733,0.912,2734,1.279,2735,1.279,2736,1.119,2737,1.279,2738,1.183,2739,1.183,2740,1.072,2741,1.871,2742,1.279,2743,1.279,2744,1.119,2745,1.279,2746,1.279,2747,1.183,2748,1.279,2749,1.279,2750,1.279,2751,1.003,2752,1.183,2753,1.183,2754,1.279,2755,1.279,2756,1.279,2757,1.183,2758,1.279,2759,1.279,2760,1.183,2761,1.279,2762,1.279,2763,1.279,2764,1.279,2765,1.279,2766,0.976,2767,2.268,2768,0.895,2769,0.976,2770,1.183,2771,0.976,2772,1.183,2773,1.119,2774,1.279,2775,1.183,2776,1.279,2777,1.279]],["keywords/412",[]],["title/413",[107,332.249,185,211.234,388,490.486,670,490.486,732,305.938,991,482.031]],["content/413",[86,8.116,107,4.933,177,10.328,185,4.852,407,9.794,496,8.116,586,14.95,891,11.072,1456,16.238,2651,14.62,2778,14.324,2779,12.343,2780,18.572]],["keywords/413",[]],["title/414",[181,360.573,314,480.028,581,574.278]],["content/414",[5,4.314,6,1.454,70,3.662,107,4.908,114,4.366,136,8.661,151,4.633,162,5.308,176,5.48,185,4.827,192,5.049,207,8.278,240,4.462,246,4.744,264,5.793,314,7.088,315,4.891,385,5.5,388,8.423,392,9.294,440,6.946,465,11.178,490,5.967,520,6.797,521,12.141,561,7.065,636,8.209,664,7.513,674,5.5,710,12.585,856,9.71,891,8.278,1564,9.579,1582,11.178,1617,11.715,2044,13.142,2781,11.178,2782,15.017,2783,9.124]],["keywords/414",[]],["title/415",[63,343.83,675,729.273]],["content/415",[6,1.444,18,4.98,70,3.636,107,4.885,149,6.184,176,5.441,185,3.602,240,3.329,315,4.856,321,9.163,334,4.299,385,5.461,391,7.51,392,9.25,455,7.139,484,8.363,494,11.373,544,5.563,545,4.13,569,7.316,630,5.481,674,5.461,675,6.935,708,9.389,717,9.522,785,4.547,861,6.935,866,8.771,876,9.273,893,6.269,910,5.999,923,9.777,1011,10.081,1012,10.25,1035,9.058,1079,11.373,1158,9.163,1175,9.389,1339,6.678,1617,7.778,2126,13.237,2304,10.853,2331,12.054,2624,11.373,2784,14.91]],["keywords/415",[]],["title/416",[225,485.1,226,690.985,322,497.46]],["content/416",[4,1.534,5,3.196,6,1.916,11,9.708,61,7.962,69,4.621,70,3.61,88,5.076,107,4.862,176,5.402,181,3.944,185,4.781,205,5.143,225,5.307,240,4.979,252,5.74,264,4.292,278,3.985,314,5.251,322,5.442,427,5.442,478,9.207,490,5.882,496,5.982,521,11.969,561,6.964,616,10.359,736,5.544,739,9.572,912,7.723,914,6.964,943,7.78,1236,11.604,1301,12.955,1617,10.325,1870,13.689,2539,12.407,2708,11.604,2785,13.689,2786,14.804,2787,14.804,2788,14.804,2789,14.804]],["keywords/416",[]],["title/417",[6,115.243,37,199.834,703,444.09,1022,933.04]],["content/417",[5,3.389,6,2.358,37,2.635,70,5.018,87,5.454,107,5.054,122,6.889,171,4.099,176,5.728,185,3.792,207,8.652,222,4.28,252,6.086,293,4.394,423,9.646,425,5.647,484,8.804,577,9.762,641,10.984,693,7.031,862,9.884,934,9.646,971,9.33,1007,8.249,1164,9.646,1378,9.762,1985,13.736,2111,13.694,2134,13.154,2331,12.69,2516,11.683,2673,13.736,2728,11.973,2790,15.696,2791,15.696,2792,15.696]],["keywords/417",[]],["title/418",[1110,1064.513]],["content/418",[3,5.273,4,1.188,6,1.11,21,6.611,44,3.192,67,4.613,70,4.04,107,4.778,144,10.181,181,5.183,185,4.699,195,6.07,207,6.319,222,3.126,256,5.393,264,5.639,265,4.124,301,2.613,304,5.774,306,8.176,314,4.066,388,6.43,395,4.82,401,5.135,423,10.181,452,5.303,457,7.751,478,10.303,521,9.268,532,6.676,533,6.488,536,3.931,537,3.757,541,5.59,545,3.175,551,7.538,561,7.793,564,5.303,565,6.488,615,9.607,645,6.744,650,6.611,664,5.736,692,5.854,693,5.135,732,4.011,737,3.854,785,3.496,875,6.07,894,4.393,901,4.376,910,4.613,921,5.937,937,5.007,941,8.533,957,10.064,971,6.814,985,5.332,1007,6.025,1147,6.319,1158,7.045,1227,7.518,1427,6.117,1560,7.881,1595,7.13,1623,7.751,1848,8.986,2089,7.518,2117,7.518,2179,8.744,2236,9.607,2617,8.986,2793,11.464,2794,11.464,2795,10.601,2796,11.464]],["keywords/418",[]],["title/419",[107,384.917,181,283.072,185,256.637,670,595.91]],["content/419",[0,4.172,4,1.268,5,1.661,6,1.68,30,3.62,46,2.491,63,1.687,70,1.877,87,2.674,107,5.392,114,2.237,121,4.623,151,2.374,152,1.532,176,5.559,181,5.636,182,1.535,185,4.873,191,2.313,196,2.395,198,2.056,200,2.871,201,2.972,202,2.367,205,1.999,222,2.098,225,2.758,226,3.929,241,2.86,264,3.547,265,2.768,269,6.449,272,3.281,276,7.434,284,2.73,287,3.825,297,3.471,301,2.789,304,6.163,314,4.34,315,2.506,326,6.032,371,6.383,377,6.032,385,2.818,388,4.316,392,5.691,401,3.447,425,2.768,452,3.559,480,2.768,490,3.057,497,6.734,516,3.957,537,2.522,548,4.845,553,3.447,569,3.776,573,5.29,613,2.711,615,6.449,636,4.206,645,4.527,667,5.87,676,5.601,688,4.675,697,4.909,704,4.044,706,3.929,707,5.203,718,3.123,740,3.579,785,2.347,786,3.296,860,4.675,861,3.579,884,4.482,922,5.87,943,4.044,996,3.483,1019,4.845,1022,6.032,1023,5.728,1067,5.203,1077,4.355,1112,4.574,1185,6.221,1228,5.488,1417,4.206,1441,16.905,1454,6.734,1456,12.315,1499,7.116,1614,3.929,1747,5.203,1755,5.87,2077,6.449,2146,5.601,2161,5.87,2179,5.87,2308,4.845,2521,7.116,2577,6.734,2586,10.254,2596,7.116,2720,4.845,2724,9.107,2773,6.734,2797,7.116,2798,12.236,2799,7.695,2800,7.695,2801,7.695,2802,7.695,2803,7.695,2804,7.116,2805,7.695,2806,7.695,2807,7.695,2808,7.695,2809,7.116,2810,7.695,2811,7.695,2812,7.695,2813,6.734,2814,7.695,2815,7.116,2816,7.695,2817,7.695,2818,7.695,2819,6.734,2820,7.695,2821,7.116,2822,7.695,2823,6.221,2824,7.695,2825,7.695,2826,7.695]],["keywords/419",[]],["title/420",[4,99.401,107,235.629,185,231.733,661,611.918,2308,604.061,2827,959.288]],["content/420",[0,4.523,4,1.881,14,3.136,25,1.068,28,3.608,33,1.686,37,1.401,45,3.699,46,2.7,63,1.829,65,2.734,67,5.247,70,2.034,79,4.417,99,2.939,103,3.717,107,4.838,110,8.007,151,2.574,162,2.949,181,4.278,185,5.453,190,3.902,192,4.384,196,4.997,201,3.222,202,2.566,222,2.275,225,2.99,246,4.119,247,7.714,264,4.654,273,1.829,278,2.246,293,2.335,298,4.094,301,2.972,304,9.142,311,3.574,315,4.247,321,5.127,329,3.717,330,3.135,331,5.394,366,4.018,397,5.321,402,4.811,433,6.072,452,3.859,512,3.415,519,4.487,536,2.86,537,2.734,544,3.112,548,5.253,551,3.796,554,3.994,568,4.908,573,8.965,613,2.939,627,6.539,674,3.055,676,6.072,689,4.56,716,3.012,732,2.919,763,4.26,827,5.127,857,4.29,861,3.88,931,4.959,944,4.679,991,7.188,1109,4.32,1112,4.959,1147,4.599,1187,5.394,1219,4.018,1384,5.735,1434,6.363,1456,6.744,1541,6.539,1563,6.991,1620,6.744,1621,7.3,1872,4.487,1891,5.838,1969,6.539,1984,5.321,2179,6.363,2308,5.253,2444,5.068,2567,6.991,2577,7.3,2624,6.363,2714,13.54,2780,7.714,2828,8.342,2829,8.342,2830,12.058,2831,8.342,2832,8.342,2833,8.342,2834,8.342,2835,7.714,2836,7.3,2837,11.412,2838,6.991,2839,13.04,2840,8.342,2841,8.342,2842,6.991,2843,8.342,2844,8.342]],["keywords/420",[]],["title/421",[107,332.397,185,326.9,331,874.956]],["content/421",[6,1.374,14,3.5,46,4.595,54,4.047,70,4.692,88,3.193,105,5.049,107,3.487,147,9.055,149,5.888,156,7.517,162,3.292,181,3.782,185,4.156,196,2.898,200,3.474,201,3.596,202,2.864,222,2.539,223,4.788,230,2.942,240,2.079,264,4.987,301,3.921,315,3.033,321,5.723,329,4.149,349,6.02,371,4.858,391,7.15,392,4.331,407,4.541,452,4.307,455,4.458,468,4.26,493,5.791,499,4.894,520,4.215,537,4.652,539,6.603,545,2.579,569,4.569,584,6.296,614,4.027,696,5.791,712,5.657,713,9.178,717,4.458,727,6.516,735,4.193,736,3.487,740,4.331,750,8.149,858,4.69,861,8.002,886,3.326,891,5.133,893,5.969,894,3.568,910,3.747,912,7.405,914,4.381,919,6.516,957,5.657,1006,5.657,1040,5.94,1058,8.909,1128,6.778,1161,7.299,1170,4.755,1191,5.94,1384,6.402,1422,9.933,1606,6.402,1755,7.103,1863,7.299,1869,12.804,1927,6.778,1984,5.94,2062,6.198,2301,10.973,2351,8.61,2429,6.641,2624,10.828,2625,7.103,2709,7.804,2845,7.528,2846,9.312,2847,7.804,2848,7.804,2849,9.312,2850,9.312,2851,9.312,2852,9.312,2853,9.312,2854,9.312,2855,9.312,2856,9.312,2857,9.312,2858,9.312,2859,9.312]],["keywords/421",[]],["title/422",[861,866.742]],["content/422",[4,2.132,25,1.368,33,2.03,35,4.501,97,5.51,107,6.496,181,4.182,182,3.132,185,5.884,188,8.804,240,3.505,248,11.155,297,4.453,318,13.154,432,8.249,1228,11.194,1326,9.646,1365,11.426,1434,11.973,1598,11.426,2194,12.69,2308,9.884,2507,12.69,2860,15.696,2861,12.304,2862,15.696,2863,15.696,2864,15.696,2865,15.696,2866,15.696]],["keywords/422",[]],["title/423",[4,99.401,182,191.399,256,451.293,275,319.419,621,684.146,884,558.686]],["content/423",[]],["keywords/423",[]],["title/424",[275,522.063,308,507.514]],["content/424",[5,4.213,6,2.136,10,5.735,18,4.842,30,6.819,37,2.433,51,4.67,70,4.759,176,5.29,192,4.873,196,6.074,200,7.281,202,4.459,206,5.16,240,3.236,275,4.826,293,4.057,308,6.317,385,5.309,396,4.736,438,5.428,439,10.143,440,9.026,466,7.561,527,7.453,539,6.742,556,5.178,557,5.759,614,6.269,630,5.328,643,10.337,664,7.252,694,7.205,697,9.246,773,5.712,785,4.42,894,5.555,895,12.148,914,6.819,965,9.015,1058,7.507,1219,6.982,1726,7.796,1975,12.685]],["keywords/424",[]],["title/425",[19,287.561,37,161.05,185,231.733,855,570.235,872,483.169,901,366.18]],["content/425",[4,2.31,5,3.196,6,2.305,19,4.438,23,3.781,32,3.133,62,6.342,113,6.886,125,7.832,275,4.929,308,4.792,462,5.882,468,6.773,479,8.895,486,8.8,536,5.076,717,7.088,879,5.763,881,10.776,897,9.708,901,5.651,902,8.457,926,7.559,937,6.465,1000,7.962,1656,13.174,1769,12.407,2867,18.302,2868,17.32,2869,18.302,2870,13.689,2871,14.804,2872,14.804,2873,13.689,2874,14.804,2875,14.804]],["keywords/425",[]],["title/426",[5,207.102,6,92.877,7,299.457,217,342.668,322,352.639,2036,751.955]],["content/426",[5,4.729,6,1.872,19,4.285,23,3.851,32,4.091,35,4.1,37,2.4,70,5.342,152,2.846,217,5.107,222,3.898,275,4.76,278,3.848,297,4.055,440,6.612,556,5.107,557,5.68,572,7.825,660,8.019,695,7.06,926,9.872,936,7.106,961,7.881,975,7.689,1033,10.406,1259,11.558,1262,8.786,1351,10.641,1479,8.019,2017,12.51,2036,11.206,2049,9.243,2095,10.004,2489,10.406,2768,10.004,2876,12.51,2877,14.296,2878,14.296,2879,14.296,2880,14.296,2881,14.296]],["keywords/426",[]],["title/427",[37,199.834,185,287.538,486,707.558,703,444.09]],["content/427",[3,3.948,5,3.529,6,2.135,9,3.927,12,2.993,20,3.844,33,1.11,37,2.238,51,3.19,60,4.974,63,4.377,70,2.093,76,5.102,92,3.659,98,3.677,114,2.495,136,4.95,167,5.794,171,2.241,182,2.66,183,2.703,186,3.941,191,2.58,196,2.671,204,4.061,217,3.066,219,3.19,222,2.34,246,5.164,252,3.328,265,3.088,272,3.659,275,7.794,279,5.102,281,5.17,289,3.992,298,4.212,308,4.316,311,3.677,322,4.901,334,2.475,371,4.477,379,3.927,389,4.413,390,6.388,391,4.323,393,7.171,440,3.97,446,6.388,458,3.992,499,9.687,516,6.856,556,3.066,557,3.41,563,3.677,636,4.692,643,6.121,664,4.294,685,6.248,695,6.584,698,5.549,703,7.447,713,5.549,716,3.099,720,6.547,751,5.275,785,5.621,787,4.159,866,7.843,910,3.453,911,5.475,926,4.382,939,6.939,940,5.214,945,6.728,955,4.95,963,3.315,994,4.616,1027,7.193,1066,4.58,1082,5.713,1164,5.275,1178,5.803,1236,6.728,1262,5.275,1320,4.616,1327,4.58,1526,4.692,2004,6.547,2049,5.549,2254,4.858,2281,5.713,2882,8.583,2883,8.583,2884,7.193,2885,8.583,2886,5.9,2887,7.936,2888,8.583,2889,8.583,2890,8.583,2891,8.583,2892,7.193,2893,7.936,2894,8.583,2895,8.583,2896,7.936]],["keywords/427",[]],["title/428",[4,123.338,79,630.307,275,396.341,452,550.572]],["content/428",[]],["keywords/428",[]],["title/429",[275,522.063,391,789.701]],["content/429",[4,1.413,5,2.945,6,1.813,7,4.258,19,4.089,25,0.907,37,3.59,51,3.264,52,5.159,53,5.762,63,2.991,86,5.512,87,4.74,152,2.716,179,6.78,252,5.289,255,5.559,275,8.031,278,3.672,308,4.415,334,3.933,393,7.336,413,7.064,437,5.354,440,6.309,467,4.822,514,4.89,527,7.014,529,7.721,556,6.689,557,7.44,564,6.309,626,10.405,699,8.819,874,6.047,914,6.417,921,7.064,961,7.519,963,5.268,1030,6.694,1114,6.965,1142,9.929,1378,8.484,1961,8.108,2095,9.545,2206,10.153,2488,9.929,2541,10.405,2897,13.641,2898,11.937,2899,12.613,2900,9.079]],["keywords/429",[]],["title/430",[4,162.462,275,522.063]],["content/430",[2,5.748,4,1.626,5,3.388,6,2.358,10,6.209,37,1.787,62,4.56,63,4.088,67,4.283,92,4.538,114,3.094,125,4.212,151,3.284,152,3.124,162,5.547,171,2.779,179,5.29,182,3.719,217,5.605,222,4.279,230,3.362,232,6.327,265,3.829,273,3.441,275,6.85,278,2.865,279,9.328,293,2.979,322,3.913,334,3.069,385,3.898,386,7.748,391,5.361,428,5.725,437,6.159,467,3.762,531,5.818,536,6.391,541,5.19,643,7.591,664,5.325,674,3.898,693,4.767,694,5.29,695,5.256,714,7.084,785,4.785,868,8.92,879,4.144,905,6.327,907,6.541,911,6.789,926,5.435,958,4.923,963,4.111,1000,10.025,1148,7.448,1395,7.922,1426,8.119,1427,5.68,1614,5.435,1672,8.605,1716,7.591,1751,7.591,1767,8.92,1787,8.343,2063,8.92,2551,9.842,2731,8.119,2887,9.842,2901,10.644,2902,10.644,2903,10.644,2904,10.644,2905,10.644]],["keywords/430",[]],["title/431",[4,110.083,7,331.64,275,353.746,308,343.888,381,342.83]],["content/431",[]],["keywords/431",[]],["title/432",[52,372.867,275,450.597,670,759.062]],["content/432",[4,1.451,5,3.023,6,1.356,23,2.593,25,0.608,33,1.183,37,3.201,44,2.547,49,4.304,52,6.822,60,3.413,61,4.92,62,3.919,63,3.071,67,5.635,68,4.808,73,4.671,86,3.696,110,6.178,116,7.027,152,1.821,164,2.873,179,4.547,182,1.825,183,5.359,186,2.704,202,5.234,217,3.268,222,2.494,231,6.524,256,4.304,265,3.291,273,4.181,275,7.217,278,3.77,293,2.561,297,2.595,310,4.141,322,6.255,329,4.076,330,2.199,334,2.638,370,5.76,371,4.772,381,2.952,391,4.608,405,7.201,437,3.59,462,3.635,474,5.276,519,4.92,525,4.808,527,4.704,531,7.655,537,2.998,551,4.163,556,6.078,557,6.761,569,4.489,584,6.185,660,5.131,670,5.131,698,5.915,703,3.413,705,5.328,741,5.558,872,4.608,898,6.289,907,5.622,918,5.178,931,5.438,935,7.396,963,3.533,987,5.915,992,6.524,1082,6.089,1164,5.622,1180,5.497,1197,6.402,1320,4.92,1405,8.006,1422,6.402,1597,8.006,1713,4.96,1965,6.402,1993,6.185,2095,6.402,2444,5.558,2527,8.459,2612,6.524,2713,8.459,2906,9.148,2907,8.459]],["keywords/432",[]],["title/433",[98,509.904,308,385.295,395,500.481,874,527.718]],["content/433",[4,1.404,33,1.752,41,9.163,46,4.387,63,4.088,84,7.232,87,7.405,97,4.758,98,5.805,110,5.978,114,3.94,230,4.281,234,6.268,265,4.875,287,6.736,291,6.488,293,3.793,308,7.789,322,4.982,370,8.534,385,4.964,395,5.698,396,4.428,401,6.07,408,4.484,413,7.018,462,5.385,467,4.79,514,4.858,531,7.408,536,6.392,581,7.911,621,9.665,622,5.499,874,11.025,930,12.531,973,7.289,992,9.665,1000,7.289,1028,7.816,1106,11.357,1171,9.317,1191,8.645,1747,9.163,1961,11.081,1970,9.665,2908,13.552,2909,12.531]],["keywords/433",[]],["title/434",[275,450.597,670,759.062,1766,900.729]],["content/434",[5,3.414,6,2.23,37,3.471,63,3.468,73,8.075,86,6.39,113,7.356,131,8.02,182,3.155,196,4.922,200,7.714,205,4.109,206,5.63,256,7.44,275,5.266,301,3.604,308,5.119,392,7.356,398,5.923,490,6.284,540,11.772,543,5.857,699,10.226,703,5.9,775,7.572,901,6.037,940,9.608,1236,12.397,1417,8.645,1766,15.333,2910,15.815,2911,15.815,2912,9.836,2913,11.772,2914,15.815]],["keywords/434",[]],["title/435",[75,874.956,275,450.597,670,759.062]],["content/435",[6,2.022,37,2.696,51,3.843,52,5.754,75,13.502,77,12.984,114,4.668,121,9.649,179,7.982,182,3.204,186,4.747,205,4.173,206,5.716,248,8.707,256,7.555,301,3.66,308,5.198,371,8.378,398,6.014,417,7.231,536,5.506,541,7.831,560,8.504,698,10.383,720,12.249,920,8.504,926,8.2,940,9.757,959,14.053,963,6.203,1408,14.053,1526,8.779,1604,10.383,1623,10.858,2915,16.059,2916,14.85]],["keywords/435",[]],["title/436",[275,450.597,670,759.062,2917,1184.242]],["content/436",[4,1.703,6,2.272,10,6.505,21,9.481,22,4.314,37,2.76,44,4.577,51,3.934,67,6.614,68,8.64,196,5.117,281,6.375,293,4.602,437,6.452,531,8.986,550,9.305,564,7.604,703,6.133,707,11.115,856,10.629,1047,11.967,1058,8.514,1156,12.539,1295,12.886,1751,15.121,1963,13.777,2062,10.942,2134,13.777,2917,18.554,2918,14.386,2919,16.439,2920,15.201]],["keywords/436",[]],["title/437",[58,495.646,99,476.718,104,914.982]],["content/437",[6,1.743,7,5.62,8,9.533,10,7.123,58,8.226,76,10.701,99,7.912,104,15.186,179,8.948,182,3.592,196,5.603,275,7.478,286,11.063,297,6.371,308,5.827,387,10.484,437,7.065,536,6.172,617,9.533,2921,16.646]],["keywords/437",[]],["title/438",[94,841.635,275,450.597,504,599.958]],["content/438",[3,7.622,6,1.604,7,5.173,8,11.285,28,7.167,37,2.782,58,6.069,94,13.254,114,4.817,155,4.939,184,3.593,251,11.849,265,5.961,275,8.281,291,7.934,308,5.364,394,8.403,504,10.444,590,7.065,985,7.707,1377,7.751,1636,11.595,1671,13.397,1935,12.989,2922,16.57,2923,13.887,2924,16.57]],["keywords/438",[]],["title/439",[51,323.825,275,450.597,947,930.333]],["content/439",[4,2.094,5,2.65,6,1.956,23,3.35,32,2.598,34,3.983,37,3.896,46,3.973,51,5.26,70,4.242,73,6.267,161,3.878,167,5.335,184,2.662,192,4.127,201,4.741,210,8.17,217,4.384,219,4.562,275,5.792,293,3.436,297,3.482,308,7.511,315,3.998,381,5.614,425,4.416,427,4.512,510,6.224,543,4.545,549,6.451,564,5.677,572,4.384,587,7.83,773,4.837,785,3.743,947,15.112,1021,6.602,1300,8.002,1656,11.579,1706,11.408,1707,8.754,1902,7.543,1982,9.924,2845,9.924,2925,12.274,2926,12.274,2927,7.729,2928,17.396,2929,12.274,2930,12.274]],["keywords/439",[]],["title/440",[275,450.597,2931,1007.258,2932,1251.356]],["content/440",[4,2.352,5,4.377,6,1.963,7,7.087,8,8.128,10,6.074,25,1.021,33,1.985,46,6.563,50,8.461,69,4.791,185,4.897,275,8.041,297,5.751,308,6.563,373,5.228,381,4.953,496,6.202,642,6.875,901,5.859,941,11.425,1254,10.378,1377,7.18,1697,8.688,2923,12.864,2931,11.425,2932,20.992,2933,15.349,2934,15.349]],["keywords/440",[]],["title/441",[37,178.358,437,416.956,696,660.735,988,757.671,1110,606.904]],["content/441",[6,1.773,25,0.878,37,3.529,44,3.678,52,3.639,92,5.631,110,5.826,179,6.565,182,3.654,186,5.413,195,6.994,196,6.543,200,4.928,202,4.063,222,3.602,256,6.214,273,2.896,275,4.398,304,6.653,308,4.275,322,6.732,370,8.317,428,7.104,437,5.184,467,4.669,486,7.851,515,6.523,527,6.792,535,10.353,536,4.529,541,6.441,554,6.324,556,4.718,557,5.248,560,6.994,563,5.658,564,6.109,626,10.075,695,6.523,703,4.928,785,4.028,799,9.08,894,5.061,899,9.615,906,7.161,961,7.281,963,5.101,1050,9.42,1180,7.936,1207,7.617,1427,7.048,1606,9.08,1610,8.215,1623,8.931,1665,12.214,1767,11.069,1980,11.069,2206,9.831,2628,10.075]],["keywords/441",[]],["title/442",[191,471.331,879,610.406]],["content/442",[5,4.336,6,1.945,25,1.597,52,5.534,63,4.404,273,4.404,391,10.116,689,10.979,857,10.328,1711,13.171,2935,20.085,2936,20.085]],["keywords/442",[]],["title/443",[25,63.794,33,187.752,182,191.399,199,695.195]],["content/443",[]],["keywords/443",[]],["title/444",[33,174.985,199,647.923,486,804.418]],["content/444",[3,5.362,4,1.208,5,2.516,6,2.079,33,3.156,35,3.343,37,1.957,44,3.246,67,4.69,69,3.639,87,4.051,100,4.317,103,5.194,113,5.422,114,4.874,151,5.172,176,7.165,180,5.362,181,5.232,182,2.326,185,4.05,194,6.788,199,10.281,207,9.242,219,4.333,240,2.603,252,4.52,265,4.193,278,3.138,293,3.263,298,5.72,310,5.276,314,4.135,334,3.361,392,5.422,395,4.901,401,5.221,438,4.365,474,6.722,496,4.71,514,4.178,536,3.997,539,5.422,551,5.304,554,5.581,566,8.013,613,5.906,630,4.285,637,6.659,652,5.581,664,5.832,697,7.435,703,4.349,716,4.208,732,4.078,799,8.013,875,6.172,926,5.952,994,6.269,1228,8.313,1294,9.769,1611,8.676,1679,10.778,2075,8.891,2645,10.2,2937,10.778,2938,10.778]],["keywords/444",[]],["title/445",[25,58.151,33,113.071,199,418.671,437,343.191,1066,466.623,1237,636.528,2539,732.835]],["content/445",[4,0.641,5,1.336,6,1.955,7,3.199,12,2.157,25,1.473,30,2.911,33,2.357,40,2.362,44,1.723,46,2.003,58,2.266,65,2.028,70,3.2,87,2.15,96,5.801,97,3.598,99,3.611,107,2.518,116,2.555,125,4.056,134,3.502,142,3.64,151,1.909,155,3.055,175,3.848,176,3.74,181,3.496,182,3.045,183,1.949,185,1.495,186,3.029,192,2.08,195,8.08,196,6.72,199,7.306,200,2.308,202,1.903,222,1.687,230,1.954,234,2.862,240,1.381,246,1.954,248,3.354,250,8.143,255,4.177,264,4.424,265,2.226,276,3.759,278,1.665,284,5.999,286,3.802,288,3.055,291,2.962,293,1.732,297,1.755,298,3.036,300,3.41,301,3.855,304,3.116,314,4.654,315,2.015,330,3.155,334,1.784,356,4.767,373,1.596,385,2.266,392,2.878,394,3.137,396,3.349,401,2.771,421,3.204,425,2.226,428,3.327,437,4.023,438,3.838,462,4.072,466,3.227,490,2.458,525,5.387,537,5.001,541,3.017,542,3.946,545,1.714,548,6.454,553,4.591,560,3.276,565,5.801,566,4.253,567,4.057,573,4.253,588,4.719,613,5.376,614,2.676,617,5.427,712,3.759,722,5.162,732,2.165,735,2.786,738,6.627,745,3.382,875,8.08,892,3.802,893,5.517,909,4.85,910,2.489,936,3.075,937,5.731,947,4.253,961,3.41,962,4.605,963,2.389,973,3.327,985,4.767,992,4.412,1004,5.185,1006,3.759,1026,4.719,1043,4.503,1067,4.183,1068,7.8,1118,4,1126,4.605,1141,4.057,1169,2.83,1171,4.253,1172,4.412,1211,4.85,1237,7.461,1296,5.002,1305,4.329,1393,5.002,1422,4.329,1634,4.412,1635,5.721,1686,4.503,1872,3.327,2117,4.057,2172,4.183,2939,6.187,2940,6.187,2941,6.187,2942,4.85,2943,6.187,2944,6.187]],["keywords/445",[]],["title/446",[4,99.401,25,63.794,67,385.977,196,298.574,264,278.105,875,507.977]],["content/446",[6,1.951,25,1.417,46,4.386,58,3.21,63,1.922,68,4.605,69,2.736,70,4.04,88,3.005,97,3.076,99,3.087,107,2.152,142,5.155,151,2.704,155,4.937,175,5.45,176,3.198,181,4.414,182,4.579,186,2.59,192,2.946,195,9.87,196,4.217,198,2.341,232,5.209,250,7.23,252,3.398,264,4.802,265,4.874,278,3.647,288,4.328,291,4.196,293,2.453,298,4.3,301,4.593,304,6.824,306,6.25,314,3.109,322,3.221,330,2.107,334,2.527,373,2.26,401,3.925,405,4.506,425,3.152,428,4.713,438,3.282,490,3.482,531,7.406,537,6.109,542,5.59,545,2.427,548,5.518,551,3.988,553,3.925,560,4.64,562,5.054,565,9.375,567,5.747,588,6.684,613,4.773,616,6.132,617,4.64,622,3.556,632,5.155,664,4.384,693,3.925,695,4.328,699,5.666,704,4.605,706,4.475,718,3.556,738,8.76,861,4.076,875,4.64,888,4.572,893,3.685,918,4.96,936,4.356,989,6.25,1001,7.344,1026,6.684,1031,6.379,1043,6.379,1065,7.971,1115,6.379,1118,5.666,1123,6.523,1157,5.209,1177,5.386,1232,7.085,1315,5.518,1395,6.523,1397,10.954,1541,6.869,1617,4.572,1619,7.669,2945,8.763,2946,8.763,2947,8.763]],["keywords/446",[]],["title/447",[988,1328.96]],["content/447",[4,1.335,6,1.742,25,1.493,33,2.327,49,6.06,58,4.718,63,2.825,70,3.141,97,4.522,99,4.538,107,3.164,142,7.578,151,3.974,181,3.432,182,4.139,195,6.821,196,6.456,199,10.752,250,6.874,252,4.995,255,5.25,264,6.013,284,4.569,301,2.936,428,6.928,437,7.063,462,7.151,536,4.417,537,4.222,541,6.281,613,4.538,617,6.821,732,4.507,738,8.329,866,7.578,875,9.53,892,7.916,893,5.416,910,5.183,937,5.626,962,9.588,1000,6.928,1015,9.826,1056,8.111,1057,10.415,1062,9.588,1063,10.796,1064,9.014,1068,7.657,1171,8.856,1172,9.187,1194,9.377,1597,11.273,2948,12.881]],["keywords/447",[]],["title/448",[52,190.408,100,255.91,275,230.102,670,915.022,672,429.789,874,306.375,1766,459.966]],["content/448",[]],["keywords/448",[]],["title/449",[37,178.358,51,254.223,256,499.793,308,343.888,539,494.15]],["content/449",[4,2.143,65,6.779,67,8.322,107,5.08,308,6.695,878,13.563,891,11.401,2845,16.722,2949,20.683,2950,18.1]],["keywords/449",[]],["title/450",[1766,1240.307]],["content/450",[2,4.577,4,1.295,5,4.405,6,1.706,9,5.717,16,6.425,22,3.279,61,6.72,63,3.863,86,5.049,87,4.342,107,3.069,114,3.632,131,6.336,171,3.263,192,4.201,200,4.662,201,4.826,202,3.844,205,3.247,219,4.644,240,2.79,252,4.845,271,4.432,286,7.679,288,6.171,301,2.848,308,4.045,432,9.258,452,8.148,479,10.585,514,4.479,527,6.425,551,5.686,556,4.463,557,7,645,7.351,711,5.303,735,5.626,901,4.77,932,5.686,943,6.567,972,8.194,1066,6.668,1152,8.317,1402,9.096,1444,5.912,1649,9.795,1718,9.096,1751,8.911,1766,16.93,1844,10.935,2589,7.679,2612,8.911,2724,9.3,2838,10.472,2951,12.495,2952,12.495,2953,8.194,2954,10.472,2955,12.495]],["keywords/450",[]],["title/451",[275,620.473]],["content/451",[5,4.696,6,2.106,7,3.743,9,5.486,10,6.77,12,4.181,19,3.595,37,2.013,44,4.764,51,4.094,53,5.065,65,3.93,92,5.113,107,2.945,148,6.916,200,4.474,232,7.128,275,7.243,281,4.65,286,7.37,293,3.357,308,7.041,322,4.408,329,5.344,350,10.494,373,3.093,375,6.256,440,5.547,499,8.992,527,6.166,544,4.474,556,7.126,557,6.798,582,6.726,694,5.96,703,4.474,773,4.726,785,3.657,870,9.4,901,4.577,983,7.128,1160,6.081,1178,8.108,1183,6.61,1251,8.729,1315,7.551,1351,8.926,1633,6.85,1656,13.278,1726,6.45,1751,8.552,1865,11.089,1983,8.729,2095,8.391,2530,11.089,2653,10.494,2867,11.089,2868,10.494,2869,11.089,2917,14.973,2956,11.992]],["keywords/451",[]],["title/452",[52,513.439]],["content/452",[4,1.803,5,2.65,6,1.188,22,3.221,33,2.249,46,3.973,52,6.394,60,6.49,63,2.692,107,3.015,110,5.414,114,5.057,152,2.444,154,4.512,186,5.142,201,4.741,202,3.776,217,6.214,222,4.743,254,7.296,256,5.774,271,6.171,272,5.233,273,2.692,286,7.543,297,3.482,308,5.631,322,4.512,325,8.589,396,4.01,400,5.527,431,11.35,512,8.271,515,6.062,520,5.556,549,6.451,569,6.023,580,5.646,582,6.885,635,10.741,659,5.646,692,6.267,693,5.498,694,6.101,695,6.062,698,7.936,785,3.743,792,7.079,901,4.685,936,6.101,1066,9.283,1262,7.543,1763,10.741,2172,8.299,2502,6.101,2531,10.741,2886,8.438,2957,12.274,2958,12.274,2959,11.35,2960,11.35,2961,12.274,2962,11.35]],["keywords/452",[]],["title/453",[874,826.145]],["content/453",[4,1.78,5,4.32,6,2.112,12,4.205,14,6.458,25,0.802,37,2.025,51,2.886,60,4.5,84,6.436,87,4.191,97,6.032,98,9.343,103,5.375,110,5.32,114,4.994,125,4.772,162,4.264,182,3.993,186,3.565,187,7.412,196,3.754,200,4.5,204,5.707,217,4.308,230,3.81,273,3.768,286,10.559,287,5.995,288,5.956,289,5.61,308,3.904,310,5.459,322,4.434,395,7.224,396,3.941,479,7.247,496,6.942,510,6.116,674,4.418,693,5.402,873,7.247,874,10.22,896,10.108,901,4.604,963,4.658,1028,6.956,1082,8.028,1140,8.977,1397,9.751,1786,9.454,1821,11.435,1822,8.977,1872,6.487,2488,8.78,2963,12.061,2964,9.454,2965,12.061,2966,10.555]],["keywords/453",[]],["title/454",[100,580.619,672,975.122]],["content/454",[1,4.743,4,1.103,6,1.519,7,3.323,10,4.212,33,1.376,37,1.787,51,5.492,53,6.628,58,6.827,61,5.725,63,2.334,70,2.596,86,6.341,87,5.453,98,4.56,100,6.903,103,4.743,107,2.614,110,4.695,125,7.375,149,4.415,154,3.913,186,3.146,187,6.541,200,3.971,201,4.111,205,2.765,246,3.362,264,3.086,272,4.538,278,2.865,289,4.951,299,6.62,308,6.033,311,4.56,334,3.069,357,7.591,373,4.807,381,3.435,395,4.475,396,3.478,452,4.923,489,7.922,491,13.568,492,10.61,496,4.301,519,5.725,569,5.223,672,13.642,864,6.98,886,3.802,940,6.467,958,4.923,1038,6.62,1049,6.541,1058,5.512,1207,6.138,1224,6.199,1444,5.036,1526,5.818,1631,6.024,1663,5.918,1821,7.084,2049,6.882,2098,6.702,2172,7.197,2254,6.024,2308,6.702,2714,7.317,2733,7.591,2770,9.842,2967,9.842,2968,9.842,2969,7.197,2970,9.314,2971,10.644,2972,9.842,2973,9.842]],["keywords/454",[]],["title/455",[75,1204.817]],["content/455",[4,2.191,5,2.435,6,1.092,9,5.16,16,5.799,20,5.051,33,2.117,37,1.893,40,4.305,51,5.373,69,3.52,75,15.144,79,5.972,92,8.217,100,7.83,111,4.255,114,4.759,125,4.462,171,2.945,186,3.333,189,5.758,192,3.792,196,3.51,200,4.208,205,4.253,206,6.86,240,2.518,254,6.704,271,6.836,273,2.473,297,3.199,308,5.299,329,8.588,334,3.252,350,9.869,361,6.326,366,5.432,373,2.908,375,5.883,382,5.799,385,4.131,396,3.685,417,7.371,442,8.209,468,5.16,545,3.124,736,4.223,879,4.391,894,4.322,1066,6.018,1170,5.758,1268,5.841,1434,8.602,1595,7.014,1694,7.892,1707,8.043,1718,8.209,1765,7.194,1989,8.394,2118,7.625,2974,11.278,2975,11.278,2976,9.869,2977,11.278,2978,9.869,2979,7.625]],["keywords/455",[]],["title/456",[202,482.305,689,857.071]],["content/456",[4,1.985,22,5.029,25,1.274,37,3.217,51,4.585,86,7.742,92,8.17,114,5.57,177,9.853,202,5.894,276,11.641,308,6.202,407,9.344,420,11.641,481,10.563,891,10.563,1631,10.845,2308,12.066]],["keywords/456",[]],["title/457",[5,256.976,152,236.98,217,425.189,322,437.561]],["content/457",[4,1.36,5,5.136,6,1.765,14,4.934,33,1.697,46,4.248,52,3.616,60,4.897,63,2.878,72,6.247,100,4.86,152,2.613,182,2.619,186,3.879,192,4.413,200,4.897,201,5.069,206,4.672,217,8.497,240,2.931,271,4.656,273,3.998,297,3.723,301,2.991,308,5.902,322,6.703,357,9.36,373,5.403,382,6.749,482,7.175,557,5.215,572,6.513,631,7.644,672,8.163,736,4.915,773,8.256,880,10.011,1183,7.235,1351,13.571,1548,8.372,1821,8.736,1990,9.769,2488,9.554,2953,8.607,2980,10.288,2981,13.125,2982,12.137,2983,12.137,2984,11.486,2985,11.486]],["keywords/457",[]],["title/458",[281,524.746,297,383.895,379,619.122]],["content/458",[2,3.307,4,2.234,6,0.874,7,2.819,12,3.148,18,3.016,23,2.572,25,0.6,37,3.179,51,4.531,52,3.82,53,3.814,58,3.307,65,2.959,69,2.819,70,4.116,72,4.297,86,3.648,88,3.096,97,3.17,99,3.181,107,2.218,116,8.436,164,2.835,177,4.643,183,5.316,200,3.369,201,3.487,202,2.777,204,4.272,215,4.745,219,6.273,230,5.982,246,2.852,264,4.019,275,4.617,281,8.362,297,2.561,301,2.058,308,6.613,311,3.868,330,4.912,364,4.895,373,2.329,375,4.71,402,5.207,425,4.988,432,8.87,437,5.441,444,6.318,467,3.192,487,5.686,506,4.895,538,4.488,556,3.225,716,3.26,736,3.381,741,5.486,853,5.158,894,5.313,897,5.921,906,4.895,1081,5.549,1112,5.367,1128,6.573,1169,4.131,1170,4.61,1339,6.21,1617,7.233,1706,5.921,1726,4.856,2242,7.078,2253,4.272,2429,6.439,2492,8.423,2502,4.488,2542,10.092,2560,5.921,2572,7.3,2606,7.901,2653,7.901,2733,6.439,2907,8.349,2986,9.029,2987,9.029,2988,7.3,2989,9.029,2990,9.029,2991,9.029]],["keywords/458",[]],["title/459",[60,584.959,297,444.782]],["content/459",[5,3.289,6,1.763,14,3.844,19,3.065,23,3.874,32,4.786,33,1.97,34,2.341,37,1.717,52,5.016,60,8.741,63,2.242,65,3.351,97,3.59,98,4.381,100,3.787,116,6.291,152,2.036,162,3.615,164,5.717,188,5.736,203,5.185,215,5.374,219,5.662,230,3.23,234,4.73,248,5.544,272,4.36,273,2.242,275,3.405,297,2.901,373,2.637,382,5.258,396,3.341,398,3.829,418,8.016,501,5.258,510,5.185,519,5.5,520,4.629,543,3.787,557,4.063,634,7.293,642,4.58,672,6.36,703,3.815,711,4.339,773,4.03,785,3.118,792,5.897,859,7.8,874,4.534,987,6.612,1030,5.018,1183,5.637,1219,7.338,1224,5.955,1345,9.474,1526,5.59,1692,9.456,1724,9.849,2197,8.016,2303,5.5,2502,5.083,2542,7.444,2992,9.456,2993,10.226,2994,10.226,2995,8.016,2996,10.226,2997,10.226,2998,10.226,2999,10.226,3000,9.456,3001,9.456,3002,10.226,3003,10.226,3004,10.226,3005,10.226]],["keywords/459",[]],["title/460",[297,444.782,1028,904.237]],["content/460",[4,2.327,6,1.454,7,6.237,12,6.966,14,5.644,25,0.667,37,1.684,45,2.845,46,3.246,51,3.593,53,6.342,67,4.035,87,3.485,98,4.296,144,6.163,155,2.989,156,7.95,161,3.168,167,4.359,173,5.961,200,3.742,210,6.675,264,2.907,271,3.557,275,4.999,289,10.444,308,5.825,310,4.539,321,6.163,373,4.641,375,7.832,439,7.018,499,7.89,645,5.9,740,4.665,773,3.952,785,4.578,865,6.577,874,4.446,901,3.828,910,4.035,932,4.564,996,4.539,1028,13.425,1030,7.367,1112,5.961,1141,9.846,1236,7.861,1242,11.769,1251,7.3,1315,6.315,1339,4.492,1388,9.577,1558,6.163,1633,5.729,1766,6.675,1852,8.405,1914,7.152,1961,5.961,2252,6.093,2253,7.104,2254,12.709,2492,10.933,2964,7.861,3006,9.274,3007,8.405,3008,9.274,3009,10.029,3010,10.029,3011,9.274]],["keywords/460",[]],["title/461",[37,227.19,703,504.882,958,625.942]],["content/461",[4,0.841,5,2.755,6,1.235,7,2.533,20,7.064,34,1.858,37,3.263,40,3.098,49,6.003,51,4.278,52,4.926,70,3.112,79,4.297,88,2.782,92,3.46,114,2.359,122,6.922,131,6.471,148,4.68,154,2.983,176,2.961,191,5.375,192,2.728,193,7.163,200,3.027,219,3.016,237,5.321,240,2.849,271,2.878,275,5.251,287,4.033,361,4.552,398,4.779,457,5.487,476,4.93,490,3.224,498,5.047,507,7.936,519,4.364,539,5.935,545,2.248,636,6.975,693,3.635,697,5.176,703,8.956,711,6.692,737,2.728,858,4.087,874,3.598,944,8.846,958,9.986,1109,4.202,1143,8.25,1180,4.876,1313,10.628,1320,6.863,1339,3.635,1365,5.907,1377,3.796,1435,6.04,1466,5.907,1526,6.975,1631,4.593,1697,4.593,1705,10.317,1710,6.19,1711,5.321,1712,5.678,1713,9.693,1718,5.907,1723,16.29,1741,6.801,1766,13.737,1768,7.504,1771,7.101,1783,5.579,1993,5.487,2502,6.343,2534,6.801,2612,5.787,2718,7.504,2912,7.936,2972,11.8,3012,7.504,3013,8.115,3014,7.504,3015,8.115,3016,8.115,3017,8.115,3018,8.115,3019,6.801,3020,7.101]],["keywords/461",[]],["title/462",[63,343.83,689,857.071]],["content/462",[4,1.208,5,3.62,20,10.19,37,2.815,60,4.349,63,4.989,64,7.881,65,3.82,67,4.69,86,6.775,92,4.97,122,5.116,152,2.321,182,2.326,186,3.445,187,7.163,189,5.952,197,8.313,202,3.586,217,4.164,248,6.32,271,4.135,275,3.881,297,3.307,301,2.657,334,3.361,373,4.324,392,5.422,407,5.684,440,5.392,519,6.269,523,6.269,543,4.317,572,4.164,625,8.891,675,7.798,689,6.372,704,6.126,716,4.208,771,4.67,785,5.113,786,4.993,792,6.722,853,6.659,874,5.168,881,8.485,900,10.778,901,4.449,902,6.659,1146,10.778,1426,8.891,1427,6.22,1706,7.644,1707,8.313,1708,8.013,1766,7.758,1984,7.435,2131,7.004,2183,8.485,2197,9.137,2502,5.794,2554,10.778,2714,8.013,2884,9.769,3021,11.656,3022,11.656,3023,10.778,3024,11.656,3025,11.656,3026,16.766,3027,11.656,3028,11.656,3029,11.656]],["keywords/462",[]],["title/463",[301,357.335,786,671.65]],["content/463",[2,4.899,4,1.386,5,4.317,6,2.049,10,3.41,12,6.441,22,2.262,33,2.119,44,3.724,52,5.09,53,3.64,98,7.914,100,6.841,103,3.84,107,2.117,111,3.252,148,4.97,155,2.569,162,3.046,173,5.123,193,6.567,198,3.573,201,3.329,222,2.35,248,4.673,264,2.498,275,2.87,289,6.221,301,3.736,308,4.329,311,5.73,325,9.359,334,3.856,393,4.635,395,3.624,438,3.227,458,4.009,482,4.711,489,6.415,492,5.827,496,3.482,515,6.605,561,4.054,672,12.437,673,4.496,675,6.221,736,5.009,786,5.73,864,5.652,874,8.866,886,4.778,888,8.551,921,4.463,1028,7.714,1030,4.229,1058,4.463,1109,4.463,1204,4.432,1242,6.755,1251,6.273,1309,4.054,1313,5.123,1339,5.991,1602,9.958,1651,7.714,1663,7.437,1732,7.542,1766,5.736,1981,5.736,2049,5.572,2062,5.736,2253,4.078,2254,7.57,2449,7.969,2502,4.284,2714,11.268,2837,7.542,2898,7.542,2954,7.223,2973,7.969,3030,6.968,3031,8.618,3032,8.618,3033,8.618,3034,8.618,3035,8.618,3036,8.618,3037,7.969,3038,8.618,3039,7.969,3040,8.618]],["keywords/463",[]],["title/464",[230,427.504,527,695.85,675,629.441]],["content/464",[2,3.265,4,0.924,5,1.924,6,2.077,10,5.432,12,3.108,20,6.149,22,2.339,52,4.613,63,1.955,86,3.602,98,8.7,100,6.2,103,3.972,107,2.189,116,3.681,152,3.744,156,4.72,193,3.571,198,2.381,201,3.443,206,3.173,217,3.184,230,6.777,246,4.337,248,4.833,272,3.8,275,4.571,278,2.399,289,4.146,298,4.374,301,3.129,319,3.972,325,6.237,330,3.3,334,2.57,356,4.146,375,4.65,381,2.876,389,4.583,391,4.489,393,4.794,455,6.573,482,4.872,527,7.059,648,5.613,672,10.412,675,6.385,706,4.551,716,4.956,736,3.338,785,2.718,861,4.146,864,5.845,874,8.338,888,7.161,891,7.567,918,5.045,929,8.242,940,8.34,1028,7.917,1055,4.43,1300,4.1,1308,5.045,1339,3.992,1526,4.872,1602,11.426,1713,11.631,1946,7.206,1984,5.686,2036,6.987,2254,5.045,2502,4.43,2773,7.8,2964,6.987,3041,7.206,3042,8.242,3043,7.8,3044,8.913,3045,7.47,3046,8.913,3047,13.728,3048,13.728,3049,8.913,3050,8.913,3051,8.913,3052,7.8,3053,8.913,3054,8.913,3055,8.913,3056,8.913,3057,8.913,3058,6.799]],["keywords/464",[]],["title/465",[527,695.85,674,495.646,675,629.441]],["content/465",[2,5.272,5,3.108,15,11.312,52,5.352,63,3.157,100,7.193,152,3.867,189,7.35,193,5.767,230,4.547,248,10.531,275,6.467,289,6.695,301,3.281,407,7.019,482,7.869,672,12.08,674,8.052,675,6.695,736,5.391,771,5.767,864,9.44,874,8.611,888,7.509,891,7.935,1028,8.302,1030,7.064,1109,7.455,1427,7.681,1602,8.745,1713,7.804,1981,9.581,2254,8.147,2502,7.155,3045,12.064,3059,14.395,3060,19.423,3061,14.395,3062,14.395,3063,14.395,3064,14.395,3065,14.395,3066,14.395]],["keywords/465",[]],["title/466",[215,711.201,230,427.504,792,780.453]],["content/466",[2,4.869,6,1.781,52,5.068,62,5.694,63,2.915,86,5.371,100,7.811,103,8.197,105,7.207,152,3.662,193,5.326,215,6.986,230,4.199,248,7.207,275,4.426,289,6.183,301,3.029,308,4.303,319,5.923,373,3.428,381,4.289,482,7.266,490,8.381,648,8.37,672,13.118,675,6.183,736,4.978,785,5.609,792,10.608,859,10.139,864,8.717,874,9.351,891,7.327,1028,10.608,1339,8.239,1444,6.29,1713,7.207,2254,7.524,2502,6.607,3045,11.14,3067,11.632,3068,13.292,3069,13.292,3070,13.292,3071,13.292,3072,13.292,3073,13.292,3074,13.292,3075,12.292,3076,13.292]],["keywords/466",[]],["title/467",[215,711.201,674,495.646,792,780.453]],["content/467",[2,6.293,6,1.168,12,4.205,51,2.886,52,4.734,86,4.874,88,4.135,98,5.167,100,8.076,152,3.984,193,4.832,201,4.658,219,4.483,230,5.428,248,6.539,275,4.016,281,4.677,289,7.991,301,2.749,381,3.892,385,4.418,407,5.881,420,7.328,482,6.593,496,4.874,512,4.937,561,8.083,597,9.454,642,5.402,672,12.446,674,7.988,675,5.61,688,7.328,711,5.118,740,5.61,775,8.226,792,6.956,864,7.909,874,8.872,888,6.292,891,6.649,940,7.328,1028,9.908,1030,8.431,1602,7.328,2062,8.028,2254,9.724,2502,5.995,2898,10.555,3045,10.108,3075,11.153,3077,12.061,3078,12.061,3079,12.061,3080,12.061,3081,12.061,3082,12.061,3083,12.061,3084,12.061,3085,12.061,3086,11.153]],["keywords/467",[]],["title/468",[63,343.83,988,1118.181]],["content/468",[4,2.465,6,1.271,7,4.097,12,4.576,15,7.644,44,3.655,49,6.175,51,3.141,60,4.897,72,6.247,86,5.303,103,5.849,114,3.815,173,7.802,191,5.481,200,4.897,201,7.042,215,6.898,264,5.286,273,2.878,275,4.37,281,5.089,289,8.481,301,4.156,311,5.622,329,5.849,375,6.847,484,7.362,490,5.215,496,5.303,499,6.898,519,7.059,556,4.688,557,5.215,577,8.163,672,8.163,786,5.622,792,7.569,874,5.819,886,6.513,888,6.847,894,5.03,901,5.01,963,5.069,1028,7.569,1030,8.947,1109,6.797,1726,7.059,1821,8.736,1931,8.265,2206,9.769,2714,9.023,2837,11.486,2964,10.288,3058,10.011,3087,13.125,3088,13.125]],["keywords/468",[]],["title/469",[329,698.67,512,641.789]],["content/469",[2,5.289,4,1.496,5,4.202,6,1.398,19,4.329,25,1.294,33,1.867,37,2.424,40,3.636,45,2.702,46,3.083,52,3.979,53,4.023,60,3.553,62,4.08,63,5.017,69,5.445,70,2.323,98,6.186,152,3.473,156,5.044,176,3.476,188,5.342,191,5.244,193,5.786,219,5.368,223,4.898,230,3.009,241,3.54,246,3.009,248,5.164,249,5.391,273,3.167,275,4.809,288,4.704,301,3.291,319,4.244,329,4.244,381,3.074,382,4.898,391,4.797,432,5.006,452,4.406,458,4.43,490,3.784,496,3.849,512,9.013,514,5.177,519,5.123,537,3.122,554,4.56,564,4.406,637,5.441,689,5.206,736,3.567,785,2.904,786,6.186,861,4.43,874,4.223,894,3.65,915,7.089,936,4.734,1028,8.329,1038,5.924,1193,7.265,1205,7.466,1427,5.083,1444,4.507,1595,5.924,1610,5.924,1614,7.374,1713,5.164,1843,9.212,2253,4.507,2488,6.933,2531,8.335,2823,7.7,2900,6.34,3089,13.354,3090,9.524,3091,9.524,3092,7.089,3093,9.524,3094,8.335,3095,9.524,3096,9.524]],["keywords/469",[]],["title/470",[331,1013.728,512,641.789]],["content/470",[6,1.907,10,5.816,12,5.125,16,10.129,33,1.901,37,3.307,51,4.714,53,6.209,62,6.297,63,3.224,85,7.08,87,5.108,100,5.443,103,6.55,189,7.506,200,5.484,219,5.464,289,6.837,297,4.17,330,3.534,331,12.736,373,3.791,391,7.404,396,4.803,452,6.799,492,9.939,496,5.94,512,8.063,525,7.725,606,11.522,674,5.384,785,4.483,894,5.633,1028,8.477,1032,10.105,1268,7.613,1435,10.941,1706,9.639,1852,12.319,2254,8.32,2336,11.884,3097,12.864,3098,14.699,3099,14.699,3100,14.699]],["keywords/470",[]],["title/471",[191,471.331,879,610.406]],["content/471",[4,1.985,23,2.92,25,1.674,398,7.176,432,10.07,523,12.553,596,13.408,885,13.948,2427,14.616,2510,16.768,2514,16.768,2515,14.262,2715,17.718,3101,19.161,3102,19.161]],["keywords/471",[]],["title/472",[23,133.27,25,58.151,33,113.071,181,232.993,315,284.809,480,314.57,1643,706.971]],["content/472",[]],["keywords/472",[]],["title/473",[33,174.985,181,360.573,1110,773.065]],["content/473",[5,3.853,6,1.728,62,7.646,69,5.571,70,4.353,103,7.953,107,5.487,176,6.513,181,4.756,182,3.561,185,4.311,186,5.275,205,4.637,222,4.867,227,9.177,278,4.804,392,8.302,496,7.212,564,8.255,581,7.574,938,13.99,1228,12.729,1734,16.504,2520,16.504,2920,16.504]],["keywords/473",[]],["title/474",[149,493.733,709,731.52,713,769.603,1300,547.547]],["content/474",[33,2.195,70,4.14,147,10.828,149,7.041,154,6.24,181,4.523,182,3.387,222,4.629,230,5.363,240,4.833,402,9.79,446,12.635,455,8.128,543,6.286,652,8.128,674,6.217,708,10.689,711,7.204,713,10.975,785,5.177,893,7.137,909,13.306,910,6.83,923,11.132,1134,9.608,1152,11.299,2588,12.357,2656,15.697,3103,16.975,3104,16.975,3105,15.697]],["keywords/474",[]],["title/475",[108,620.948,281,461.561,379,544.573,985,553.65]],["content/475",[6,2.106,33,2.213,51,4.095,69,5.343,70,4.174,72,8.146,88,5.868,181,4.56,185,4.134,201,6.61,246,5.407,281,9.76,316,12.458,322,6.291,330,4.115,379,7.83,432,8.995,444,11.976,468,7.83,545,4.74,611,10.777,613,6.029,641,11.976,1006,10.398,1178,11.572,1356,10.917,3106,17.115]],["keywords/475",[]],["title/476",[6,102.858,301,242.127,537,348.193,1308,601.311,2625,810.359]],["content/476",[6,1.567,33,2.093,78,13.563,107,3.975,111,6.107,181,4.312,184,3.51,185,5.07,240,4.687,264,4.692,301,4.784,330,3.891,347,7.445,395,6.805,402,9.334,437,6.352,490,6.43,537,6.879,544,6.038,545,4.483,607,8.774,614,7,664,8.097,732,5.662,735,7.287,907,9.946,1055,8.044,1141,10.613,1167,11.126,1339,7.249,1582,12.046,2705,13.563,3107,16.184,3108,14.965]],["keywords/476",[]],["title/477",[149,493.733,240,265.779,718,483.032,1313,707.558]],["content/477",[6,1.592,70,4.009,107,4.038,181,4.38,184,3.565,185,3.971,191,4.942,205,4.271,220,5.811,222,4.483,230,5.193,240,4.734,264,4.766,490,6.532,581,8.998,674,6.021,694,8.171,711,6.976,717,7.871,751,10.103,887,9.574,963,6.349,991,9.062,994,8.842,1007,11.143,1606,14.576,1663,9.14,3109,13.777,3110,13.777,3111,16.439,3112,16.439,3113,16.439]],["keywords/477",[]],["title/478",[18,268.36,110,354.378,196,250.045,243,369.555,627,629.736,1197,562.176,1320,432.085,1384,552.302]],["content/478",[6,1.63,18,7.192,33,2.177,110,7.427,156,8.916,181,4.486,184,3.651,185,4.067,205,5.594,206,5.994,243,7.746,252,6.529,264,4.881,278,4.533,299,10.472,307,9.711,329,7.503,334,4.855,355,6.635,366,8.11,563,7.213,636,9.204,715,12.533,736,6.306,912,8.784,1017,12.533,1187,10.887,2127,14.735,2617,13.199,3114,12.257,3115,16.838]],["keywords/478",[]],["title/479",[23,133.27,25,58.151,33,113.071,181,232.993,437,343.191,462,347.44,1066,466.623]],["content/479",[3,9.062,6,1.423,7,6.149,25,1.478,33,2.873,50,8.103,51,3.517,52,4.05,99,5.178,107,3.611,181,5.249,184,3.188,205,3.819,264,4.261,273,3.224,284,5.214,373,3.791,414,5.746,480,5.288,514,5.269,537,4.818,541,7.168,544,5.484,545,4.071,554,7.038,659,6.762,735,6.618,863,8.477,875,7.784,877,8.173,934,9.034,1042,9.504,1049,9.034,1180,8.832,1264,10.941,2052,11.212,3116,14.699,3117,14.699,3118,14.699,3119,14.699,3120,14.699,3121,14.699,3122,14.699,3123,14.699]],["keywords/479",[]],["title/480",[19,405.656,1378,841.635,1663,752.413]],["content/480",[5,1.984,6,0.89,22,3.688,23,4.242,24,4.85,25,0.611,32,1.944,33,1.817,34,3.217,35,2.635,37,1.543,49,4.323,111,5.302,151,2.835,161,4.439,164,2.885,167,3.993,171,2.399,181,3.744,183,5.374,184,1.993,185,2.22,198,3.754,202,2.826,220,3.248,222,2.505,224,5.173,225,3.294,226,4.692,271,3.259,273,2.015,275,3.059,301,2.094,315,2.993,330,3.378,355,5.537,407,4.481,438,3.441,480,5.055,537,3.011,543,3.403,563,3.936,572,3.282,630,7.024,642,4.116,734,4.628,737,3.089,758,3.974,764,5.023,765,4.605,767,8.027,770,4.538,771,5.63,772,3.811,773,5.537,776,6.688,777,4.094,778,6.839,780,4.866,804,4.453,936,4.567,1157,11.359,1166,6.025,1168,6.025,1170,4.692,1257,4.204,1345,5.715,1346,7.009,1391,7.429,1406,7.202,1444,6.649,1540,5.715,1558,5.647,2125,7.429,3124,9.188,3125,9.188,3126,8.497,3127,9.188,3128,9.188]],["keywords/480",[]],["title/481",[25,79.157,46,385.295,181,317.157,315,387.69]],["content/481",[4,1.162,6,1.086,22,2.944,23,4.034,25,1.084,45,4.626,69,3.502,70,2.735,97,3.938,116,4.632,124,4.201,136,6.469,155,3.343,156,5.94,176,4.093,181,2.989,184,2.432,185,4.641,202,3.45,220,3.965,224,3.401,225,4.021,228,4.899,230,3.543,239,5.727,240,4.709,278,4.389,315,6.87,330,2.697,347,7.501,396,3.665,477,9.497,490,4.457,520,5.077,545,4.517,554,5.371,573,7.711,586,8.349,616,7.849,632,6.599,652,5.371,735,5.05,740,5.217,745,6.132,901,4.282,952,6.349,1024,7.671,1157,6.668,1169,5.132,1173,6.668,1177,6.893,1329,5.688,1339,5.024,1342,11.025,1343,6.668,1346,8.556,1347,6.976,1361,6.033,1571,7.584,1924,10.372,2102,9.069,3129,11.217,3130,11.217,3131,11.217,3132,11.217,3133,11.217,3134,11.217]],["keywords/481",[]],["title/482",[33,153.915,181,317.157,480,428.201,932,541.649]],["content/482",[6,1.365,19,2.767,22,4.49,23,4.202,24,4.867,25,0.614,32,2.984,33,1.823,34,3.228,35,2.647,37,2.872,45,2.618,70,2.251,87,3.207,92,3.935,98,3.954,151,2.847,152,1.837,155,2.751,161,2.916,167,4.011,176,3.368,181,2.459,185,2.229,192,3.103,198,2.465,224,2.798,271,3.274,275,3.073,307,8.131,334,2.661,355,5.556,385,3.38,480,8.14,536,3.164,564,4.269,572,3.297,590,3.935,630,6.289,726,6.718,737,5.752,740,4.293,758,3.992,764,5.045,765,3.025,767,5.272,770,4.558,771,6.855,772,3.828,773,5.556,776,6.711,777,4.113,780,4.887,863,8.131,914,4.342,932,4.2,1103,6.458,1121,9.116,1262,8.665,1400,9.596,1402,6.718,1628,5.429,1894,10.754,1895,7.04,1897,11.399,2052,7.04,2057,6.345,2079,5.272,2220,8.076,3135,9.229,3136,9.229,3137,9.229,3138,9.229,3139,17.108,3140,8.534]],["keywords/482",[]],["title/483",[191,471.331,879,610.406]],["content/483",[6,1.389,25,1.386,33,2.243,37,1.585,44,2.628,63,2.07,70,3.498,97,3.313,100,3.495,107,4.261,114,2.744,122,4.143,124,3.535,149,5.949,152,1.879,156,4.998,181,6.076,184,2.047,185,4.19,199,4.519,200,3.521,202,2.903,222,5.283,225,3.383,240,3.202,255,3.847,264,2.736,273,2.07,278,3.861,281,3.66,301,3.269,311,4.043,314,3.348,315,3.074,379,4.318,409,6.02,425,3.395,480,3.395,486,5.61,512,3.863,514,3.383,515,4.661,523,5.076,536,3.236,537,4.7,544,3.521,545,3.972,554,4.519,563,4.043,617,4.998,638,5.443,656,5.61,705,5.497,706,4.819,708,5.943,713,6.102,717,4.519,718,5.82,732,5.018,742,4.272,763,4.819,857,7.375,863,5.443,872,4.754,892,5.8,893,6.03,923,6.189,932,6.526,985,4.39,1007,4.96,1057,7.631,1110,5.392,1121,6.102,1158,5.8,1183,5.203,1187,6.102,1207,5.443,1326,5.8,1427,5.036,1541,7.398,1562,6.87,1847,7.025,1890,7.398,2123,7.398,2176,7.398,2588,6.87,2705,7.91,3141,9.438,3142,8.727,3143,9.438,3144,9.438,3145,9.438,3146,9.438,3147,9.438,3148,9.438,3149,9.438,3150,9.438,3151,9.438]],["keywords/483",[]],["title/484",[25,79.157,97,417.878,544,444.09,618,731.52]],["content/484",[]],["keywords/484",[]],["title/485",[401,606.144,544,504.882,618,831.659]],["content/485",[63,4.126,70,4.588,79,9.963,96,10.649,235,11.702,399,10.285,428,10.119,512,7.702,536,6.451,544,7.02,556,6.721,618,14.185,732,6.583,893,7.911,986,12.935,1019,11.848,1227,12.338,1540,11.702,3152,18.815]],["keywords/485",[]],["title/486",[62,455.105,70,259.088,544,396.364,618,652.904,893,446.695]],["content/486",[70,5.093,107,3.945,149,6.661,181,5.564,182,3.204,192,5.399,240,3.586,264,4.656,265,5.777,278,4.323,315,5.231,330,3.861,391,8.089,392,9.714,425,5.777,490,6.381,539,7.47,544,5.991,618,9.869,661,10.244,675,7.47,706,8.2,708,10.112,709,9.869,713,10.383,717,7.689,785,4.897,923,10.531,1127,10.112,1161,12.588,1332,8.637,2095,11.238,2126,10.689,3153,13.459,3154,16.059,3155,16.059]],["keywords/486",[]],["title/487",[40,454.363,62,509.904,552,625.565,1007,625.565]],["content/487",[70,4.873,131,7.615,149,6.229,152,2.99,184,3.257,185,3.628,225,7.163,240,5.014,243,9.192,278,5.379,315,6.508,321,9.229,330,3.611,334,4.33,381,4.846,385,5.5,513,11.878,545,4.16,550,8.5,553,6.726,622,6.094,627,11.771,711,8.48,717,7.19,718,6.094,736,5.624,858,7.564,1011,10.154,1050,10.71,1116,7.464,1141,13.104,1239,12.585,1339,6.726,1377,7.025,1779,10.324,1803,11.178,3156,15.017,3157,15.017]],["keywords/487",[]],["title/488",[25,70.65,97,372.969,264,307.993,544,396.364,618,652.904]],["content/488",[25,1.403,97,7.408,177,10.851,246,6.666,407,10.29,544,7.873,618,12.969,891,11.632]],["keywords/488",[]],["title/489",[33,137.374,185,256.637,544,396.364,618,652.904,1676,982.391]],["content/489",[3,5.392,5,2.531,6,1.63,8,6.207,18,3.916,21,6.76,25,1.31,33,2.177,37,2.826,52,3.23,63,2.571,69,3.659,70,4.105,85,5.646,100,4.341,107,2.879,114,3.408,122,5.145,155,3.494,181,3.123,182,2.339,185,5.507,186,3.465,192,3.941,198,3.131,220,4.144,230,5.318,240,2.617,241,4.357,252,4.545,264,3.398,301,2.671,314,4.158,315,3.818,330,4.047,385,4.293,388,6.575,398,4.39,425,4.217,467,4.144,468,5.363,483,6.304,490,4.657,496,4.736,544,6.28,545,4.663,617,6.207,618,7.204,704,6.16,706,5.985,785,3.575,861,5.452,910,4.716,915,8.725,923,11.039,957,7.121,993,5.646,1110,6.696,1127,7.381,1173,6.968,1329,5.944,1330,9.188,1430,9.477,1603,8.941,1677,10.258,1989,8.725,2624,8.941,3158,9.477,3159,10.258,3160,11.722,3161,10.839,3162,10.839]],["keywords/489",[]],["title/490",[301,242.127,330,255.425,537,348.193,544,396.364,545,294.262]],["content/490",[4,1.272,6,1.188,18,4.1,25,1.462,33,1.587,44,4.844,51,2.937,63,2.692,69,3.832,88,4.209,99,4.324,116,7.184,152,2.444,166,6.655,183,3.866,184,2.662,185,2.965,230,3.878,240,2.741,246,3.878,273,4.431,281,7.835,301,2.797,311,5.258,329,5.47,330,4.858,360,7.012,371,6.403,373,3.165,381,3.961,393,6.602,400,5.527,425,6.258,500,8.589,537,4.023,543,4.545,544,6.49,545,4.818,593,9.621,614,5.309,622,4.981,683,8.589,688,7.457,718,7.059,740,5.709,762,9.136,858,6.182,921,6.357,982,9.283,1006,7.457,1065,7.221,1077,6.947,1081,7.543,1118,7.936,1176,7.012,1927,8.935,1969,9.621,2152,9.362,2288,8.299,2322,10.741,2736,10.741,3108,11.35,3163,12.274]],["keywords/490",[]],["title/491",[184,340.004,240,350.087]],["content/491",[4,0.769,5,1.602,6,1.44,25,1.237,33,0.96,37,1.246,44,3.31,69,3.711,70,1.81,88,4.076,107,2.92,116,4.909,131,6.028,152,1.477,161,2.344,181,4.53,182,1.481,184,2.578,185,4.494,186,2.193,205,4.418,222,4.055,225,6.669,226,6.07,230,2.344,240,4.432,255,3.024,278,4.003,301,3.389,314,4.217,315,3.872,321,7.305,330,4.773,347,5.468,348,4.2,356,3.452,361,4.162,387,4.322,391,3.738,392,5.529,395,3.12,398,4.452,425,4.276,440,5.498,455,3.553,457,5.018,462,2.949,489,5.524,499,3.9,520,3.359,529,4.2,536,2.544,537,4.873,539,3.452,543,2.748,544,4.435,545,4.119,556,2.651,564,3.432,565,4.2,613,2.614,617,3.93,618,7.305,622,3.011,632,4.366,634,5.292,637,4.239,652,3.553,663,4.091,696,4.615,706,3.789,717,3.553,732,2.596,745,6.498,786,3.179,856,9.614,857,6.112,861,3.452,884,6.923,892,4.561,893,3.12,923,4.866,961,4.091,993,3.574,996,3.359,1006,4.509,1035,4.509,1053,5.817,1055,7.391,1116,5.908,1155,5.018,1158,4.561,1173,4.411,1176,6.791,1189,9.248,1540,4.615,1562,5.402,1618,6.862,1620,6,1643,6,1782,5.292,1905,6.862,1984,4.734,2023,3.619,2589,7.305,2624,5.66,2671,4.866,3164,7.421,3165,7.421,3166,7.421,3167,11.342,3168,9.962,3169,9.318,3170,5.66,3171,7.421,3172,7.421]],["keywords/491",[]],["title/492",[250,635.181,544,444.09,554,569.907,618,731.52]],["content/492",[]],["keywords/492",[]],["title/493",[19,469.995,257,702.281]],["content/493",[23,3.423,46,4.861,152,4.766,167,8.684,183,4.73,188,8.423,224,4.553,330,3.611,496,6.068,538,9.932,545,4.16,611,9.456,622,6.094,716,5.422,734,10.064,735,6.762,748,12.141,806,7.233,811,11.178,820,10.324,821,12.141,824,10.509,825,10.154,974,9.579,1006,9.124,1093,12.141,1099,13.886,1170,7.668,1356,9.579,1430,12.141,1479,8.423,1769,12.585,3173,13.886,3174,10.154,3175,15.017,3176,19.982,3177,13.886,3178,15.017,3179,15.017]],["keywords/493",[]],["title/494",[19,469.995,99,552.327]],["content/494",[4,1.36,6,1.765,18,4.384,22,3.444,23,3.985,25,1.213,32,2.778,54,5.704,99,7.975,151,4.049,154,4.825,158,8.265,161,4.146,162,4.64,164,4.122,166,7.116,224,3.98,252,5.089,273,2.878,293,3.674,304,6.611,330,3.156,427,4.825,517,7.116,545,5.05,557,5.215,642,5.879,734,6.611,819,9.184,820,9.023,825,8.874,826,12.48,936,6.524,947,9.023,974,8.372,983,7.802,1006,7.974,1024,6.175,1061,8.163,1124,8.486,1170,9.31,1177,8.066,3174,8.874,3180,18.233,3181,13.125,3182,13.125,3183,13.125,3184,13.125,3185,13.125]],["keywords/494",[]],["title/495",[264,345.078,544,444.09,577,740.294,618,731.52]],["content/495",[4,1.188,5,3.576,6,1.604,18,3.829,25,0.762,37,3.266,52,3.159,69,3.579,70,4.744,88,3.931,161,3.621,176,4.184,181,3.055,184,2.486,205,4.304,206,4.081,225,6.973,226,5.854,240,4.758,265,4.124,271,4.066,277,9.554,278,3.086,315,3.734,326,12.985,330,2.756,394,5.813,395,4.82,398,4.293,427,4.214,544,6.181,618,10.181,622,4.652,632,6.744,663,6.319,689,6.267,693,5.135,695,5.661,703,6.181,718,4.652,732,4.011,745,6.267,806,5.522,855,6.814,861,7.705,865,7.518,869,7.518,958,5.303,993,5.522,1035,6.965,1128,8.345,1147,6.319,1173,9.847,1232,9.268,1310,6.676,1330,8.986,1656,7.63,1738,10.601,1779,7.881,1846,8.345,1889,7.219,1965,8.022,2023,5.59,2051,9.607,2588,8.345,2624,8.744,2779,7.045,3092,8.533,3110,9.607,3168,9.607,3186,9.268,3187,11.464]],["keywords/495",[]],["title/496",[225,485.1,226,690.985,227,695.85]],["content/496",[4,1.188,6,1.604,14,4.309,16,5.895,25,0.762,44,3.192,54,7.2,70,2.796,107,2.816,114,3.333,152,2.282,193,4.593,205,2.979,206,4.081,222,3.126,225,5.938,229,9.292,230,5.233,231,11.814,240,4.343,264,3.323,271,5.876,277,9.554,329,5.108,330,2.756,347,7.62,457,7.751,516,5.895,545,3.175,562,6.611,565,6.488,590,4.888,593,8.986,622,4.652,632,6.744,637,6.549,732,4.011,737,3.854,739,7.412,751,7.045,857,5.895,876,7.13,901,4.376,972,7.518,1042,7.412,1046,9.268,1108,7.751,1110,9.463,1116,5.698,1177,10.181,1219,5.522,1238,8.022,1310,9.648,1552,7.881,1558,7.045,1722,8.345,1731,9.607,1871,9.268,1889,7.219,1987,8.744,1989,8.533,2058,7.313,2152,8.744,2243,9.607,2259,10.032,2429,8.176,2779,7.045,2969,7.751,3188,10.601,3189,10.601,3190,10.601,3191,11.464,3192,11.464,3193,11.464,3194,11.464,3195,11.464,3196,8.986]],["keywords/496",[]],["title/497",[4,140.222,544,504.882,618,831.659]],["content/497",[4,1.78,19,3.615,44,3.358,70,2.941,107,2.963,181,3.214,222,3.289,230,3.81,240,3.836,264,3.497,278,3.247,301,2.749,314,4.278,322,7.357,334,3.478,484,6.765,501,8.834,531,6.593,537,3.953,544,4.5,545,3.341,618,10.559,650,6.956,664,6.034,692,6.159,693,5.402,697,7.694,717,5.775,732,6.011,785,5.239,875,6.387,905,7.17,957,10.438,1000,9.24,1035,7.328,1108,8.155,1127,10.819,1149,15.035,1158,7.412,1207,9.908,1238,8.44,1315,7.595,1394,10.108,1748,11.153,1767,10.108,1779,8.292,1782,8.602,1787,9.454,2023,8.378,2057,8.292,2301,7.694,2588,8.78,2625,9.2,3168,10.108,3196,13.467,3197,12.061,3198,12.061,3199,11.153,3200,12.061,3201,12.061,3202,9.751,3203,12.061,3204,12.061,3205,12.061,3206,12.061,3207,12.061,3208,12.061]],["keywords/497",[]],["title/498",[191,471.331,879,610.406]],["content/498",[25,1.606,29,5.121,46,3.997,70,4.944,97,4.335,105,6.694,107,4.291,125,4.886,162,4.365,171,3.224,181,3.29,190,5.775,191,3.712,193,4.947,265,4.442,297,3.503,301,2.814,315,4.021,392,5.743,398,4.624,462,4.906,523,9.395,537,4.047,544,6.517,545,3.42,618,12.458,622,5.01,637,7.053,648,7.775,660,6.926,708,7.775,717,5.912,735,5.559,740,5.743,853,7.053,861,5.743,872,6.219,883,9.471,884,7.191,885,12.716,886,6.24,892,7.588,893,5.191,923,8.097,993,5.947,1005,9.418,1067,8.348,1151,7.983,1165,8.097,1168,8.097,1330,9.678,1391,14.123,1595,7.679,2089,8.097,2532,10.348,2815,11.417,3209,12.347,3210,12.347,3211,12.347,3212,10.805,3213,12.347,3214,12.347]],["keywords/498",[]],["title/499",[25,63.794,33,124.043,200,357.9,264,278.105,1152,638.508,2141,611.918]],["content/499",[]],["keywords/499",[]],["title/500",[200,504.882,264,392.317,1152,900.729]],["content/500",[1,5.375,5,2.604,29,7.126,70,4.19,85,5.81,87,4.191,96,6.827,122,5.294,149,7.126,151,3.721,155,3.595,176,6.27,181,4.578,182,2.406,186,3.565,192,4.055,195,6.387,196,3.754,199,5.775,200,7.466,256,5.674,264,6.323,298,5.918,301,2.749,314,4.278,331,7.798,392,5.61,423,7.412,462,4.792,524,7.909,536,4.135,545,3.341,550,6.827,553,7.695,554,5.775,560,6.387,561,5.674,637,6.89,697,7.694,712,7.328,718,4.894,862,7.595,875,6.387,893,5.071,962,8.977,985,5.61,992,8.602,1030,5.918,1046,9.751,1069,10.108,1082,8.028,1152,8.028,1191,7.694,1427,6.436,1546,10.108,1610,7.501,1651,6.956,1872,6.487,2032,9.751,2124,10.555,2141,13.912,2240,11.153,2253,5.707,2430,10.108,3215,12.061,3216,12.061,3217,12.061,3218,12.061]],["keywords/500",[]],["title/501",[25,63.794,33,124.043,205,249.247,206,341.47,1066,511.905,2141,611.918]],["content/501",[6,1.963,25,1.51,33,1.985,70,3.743,105,8.322,107,3.77,162,5.426,182,3.062,185,3.708,200,5.727,205,3.988,206,5.464,227,7.893,249,8.688,252,5.952,255,6.256,265,5.522,301,3.498,414,6,438,5.748,536,5.263,537,5.031,553,6.875,565,8.688,613,5.407,659,7.061,705,8.939,717,7.349,866,9.03,963,5.928,1183,8.461,1435,11.425,1604,9.924,1677,13.432,1678,14.193,2141,12.932,2546,13.432,3219,15.349,3220,15.349,3221,15.349,3222,15.349]],["keywords/501",[]],["title/502",[25,89.993,886,483.395,1074,739.744]],["content/502",[6,2.151,23,3.498,25,1.102,33,1.133,34,2.006,37,1.471,65,2.872,70,4.04,87,3.045,88,3.005,107,3.328,114,2.547,151,2.704,155,2.612,161,2.768,164,4.255,171,2.288,181,2.335,182,2.703,183,5.217,185,3.273,192,2.946,202,2.696,205,3.52,206,4.823,219,3.257,225,3.141,256,4.123,265,3.152,273,4.419,281,6.423,284,3.109,297,2.486,301,3.775,314,3.109,330,3.258,348,7.669,379,6.199,392,4.076,396,2.863,414,3.425,490,3.482,537,4.441,543,5.017,545,2.427,553,6.069,554,4.196,564,4.053,613,4.773,617,4.64,622,5.498,707,5.925,716,3.164,717,4.196,732,4.74,734,4.414,735,3.946,740,4.076,758,3.79,765,2.872,804,4.247,910,3.526,914,4.123,919,6.132,920,4.64,921,4.538,937,3.827,956,5.518,985,4.076,1005,10.335,1056,5.518,1178,5.925,1180,5.265,1211,6.869,1237,6.379,1329,4.444,1603,6.684,1604,5.666,1623,5.925,1625,7.085,1636,6.132,1686,6.379,1747,5.925,1785,8.103,1935,6.869,1983,6.379,2032,7.085,2076,7.669,2117,5.747,2141,12.855,2160,7.669,3223,6.523,3224,8.103,3225,8.763,3226,7.085,3227,6.869,3228,7.669,3229,8.103,3230,8.763,3231,8.103]],["keywords/502",[]],["title/503",[4,110.083,25,70.65,200,396.364,264,307.993,1152,707.127]],["content/503",[6,1.758,12,6.332,25,1.502,29,7.532,99,6.397,196,5.652,200,6.775,248,9.845,251,10.096,252,7.041,255,7.401,264,5.264,291,8.694,323,10.01,529,10.278,541,8.855,714,12.087,1152,12.087,1159,15.218,1167,12.484,1297,12.278,2141,11.583,3232,18.159]],["keywords/503",[]],["title/504",[65,390.118,400,535.943,408,393.825,872,599.526]],["content/504",[2,3.183,5,1.876,6,2.403,10,3.439,25,1.522,33,1.124,37,1.459,44,3.748,51,2.079,52,2.394,65,2.848,107,2.135,114,2.526,155,2.59,176,3.171,181,2.315,184,4.963,191,2.612,196,2.705,197,6.198,205,5.216,207,4.79,208,7.359,219,7.462,235,5.405,239,8.413,240,4.482,255,3.542,265,3.126,275,4.482,297,2.465,301,1.981,308,2.813,319,3.872,334,2.506,385,3.183,395,3.654,400,3.913,408,6.642,414,3.397,427,3.195,438,3.254,467,3.072,473,6.468,474,5.012,477,7.84,514,3.115,519,4.674,536,2.98,537,2.848,554,4.161,562,5.012,564,4.02,613,7.48,617,7.128,639,4.136,660,4.874,703,3.242,705,5.061,732,3.04,920,4.602,937,5.879,963,5.199,982,7.183,985,4.042,987,10.653,1031,6.326,1056,5.472,1066,4.637,1174,5.28,1227,5.699,1295,6.812,1360,8.372,1361,4.674,1583,6.812,1653,7.605,1662,6.812,1671,7.026,1961,5.166,2117,5.699,2135,8.036,2141,11.836,3233,8.69,3234,8.69,3235,8.69,3236,6.812,3237,8.69]],["keywords/504",[]],["title/505",[25,79.157,202,366.157,563,509.904,1119,686.479]],["content/505",[]],["keywords/505",[]],["title/506",[6,131.019,185,326.9,480,486.819]],["content/506",[6,2.389,25,1.218,70,4.467,182,3.655,185,4.425,202,5.635,278,4.931,480,6.59,501,9.42,525,9.627,542,11.685,863,10.565,906,9.932,932,8.336,933,14.359,1056,11.535,1401,13.064,1687,14.81,2141,11.685,3202,14.81,3238,16.939]],["keywords/506",[]],["title/507",[60,504.882,63,296.762,514,485.1]],["content/507",[6,1.822,25,1.251,60,7.02,63,4.126,70,4.588,234,8.703,467,6.651,514,6.745,536,6.451,543,6.968,910,7.57,920,9.963,926,9.607,990,14.748,1142,13.696,2141,12.002,3239,18.815,3240,17.398,3241,18.815,3242,18.815]],["keywords/507",[]],["title/508",[217,483.395,556,483.395,742,612.527]],["content/508",[6,1.789,25,1.229,37,3.103,202,5.685,217,6.602,334,5.329,514,6.625,525,9.713,532,10.763,556,6.602,718,7.5,742,8.365,904,13.453,931,10.986,936,9.186,963,7.138,984,11.358,994,9.94,1050,13.18,1066,9.862,1672,14.942,2141,11.789]],["keywords/508",[]],["title/509",[116,491.54,278,320.414,330,286.181,356,553.65]],["content/509",[6,1.822,25,1.251,70,4.588,99,6.628,265,6.768,301,4.288,330,5.549,348,10.649,356,8.751,438,7.046,537,6.167,545,5.211,717,9.008,920,9.963,1005,14.352,1056,11.848,1066,10.04,2141,12.002,2160,16.465]],["keywords/509",[]],["title/510",[988,1328.96]],["content/510",[6,1.217,25,1.477,70,4.992,107,3.088,155,3.747,181,3.349,182,2.508,183,3.959,184,2.726,185,3.037,196,6.915,198,3.358,200,6.6,202,3.867,255,5.123,264,3.644,265,6.364,273,2.757,304,6.331,347,5.783,371,6.558,480,4.522,525,6.606,536,4.31,550,7.115,553,5.631,563,5.385,617,6.657,640,8.965,706,9.033,732,4.398,860,7.637,893,7.439,910,5.058,914,8.323,1005,9.588,1056,7.916,1152,8.367,1163,10.535,1167,8.642,1172,8.965,1610,7.818,1623,8.499,1683,11.624,1684,10.535,1686,9.15,1998,16.359,2118,8.499,2141,14.171,2302,11.001,3238,11.624,3243,10.535,3244,12.57,3245,11.624,3246,12.57,3247,12.57,3248,12.57,3249,12.57]],["keywords/510",[]],["title/511",[191,471.331,879,610.406]],["content/511",[4,1.556,19,4.502,25,1.658,33,1.942,51,3.594,87,5.219,105,10.834,125,5.942,152,2.99,171,3.921,191,4.514,196,4.674,200,5.603,222,4.095,257,6.726,264,4.354,265,5.402,293,5.593,366,7.233,398,5.624,523,10.747,853,11.415,872,7.564,879,7.779,882,9.229,883,10.834,884,8.746,886,5.364,887,8.746,937,6.559,993,7.233,994,8.077,995,10.71,996,6.797,997,10.931,998,10.71,1152,9.996,1154,11.771]],["keywords/511",[]],["title/512",[25,79.157,33,153.915,99,419.316,182,237.492]],["content/512",[]],["keywords/512",[]],["title/513",[7,371.572,25,79.157,33,153.915,1066,635.181]],["content/513",[6,2.281,7,5.173,25,1.417,33,2.756,52,4.566,99,5.837,107,4.07,113,7.707,181,4.415,182,3.306,184,3.593,202,5.097,234,7.664,252,8.264,265,5.961,278,4.46,284,7.559,437,6.503,462,6.584,514,5.94,541,8.08,614,7.167,637,9.466,1067,11.204,1068,9.85,1077,9.379,2118,11.204,3250,16.57,3251,16.57]],["keywords/513",[]],["title/514",[25,123.921]],["content/514",[6,2.012,7,4.975,25,1.06,33,3.168,63,3.495,70,3.886,183,5.019,196,4.96,198,4.257,205,4.141,240,3.558,252,6.18,255,6.495,284,8.202,308,5.158,311,6.827,330,3.831,348,9.02,366,7.676,371,8.313,396,5.207,399,8.711,536,5.464,553,7.138,613,5.614,621,11.365,622,6.467,785,4.86,920,8.439,1068,9.473,1127,10.035,1166,10.451,1336,13.946,2076,13.946]],["keywords/514",[]],["title/515",[6,131.019,278,364.276,284,480.028]],["content/515",[6,2.358,25,1.044,33,2.03,44,4.371,99,5.529,125,8.141,202,4.828,246,4.959,278,4.225,279,9.33,284,7.298,297,4.453,322,5.77,330,3.774,334,4.526,425,5.647,520,7.105,525,8.249,538,7.802,545,4.348,593,12.304,622,6.37,712,9.536,732,5.492,858,7.906,910,6.315,973,8.442,991,8.652,1035,9.536,1061,9.762,1078,12.69,1170,8.015,1239,13.154,1377,7.342,1407,11.973,1604,10.148,3252,15.696]],["keywords/515",[]],["title/516",[107,332.397,185,326.9,732,473.461]],["content/516",[5,3.494,6,2.032,25,1.549,33,2.093,70,3.947,107,3.975,151,4.993,155,4.824,176,5.906,181,4.312,182,4.188,185,5.627,186,4.784,192,5.441,314,7.445,330,3.891,438,6.061,466,8.443,490,6.43,545,4.483,553,7.249,564,7.486,613,5.701,652,7.749,704,8.505,717,7.749,985,7.528,1003,13.084,1172,11.542,1296,13.084,3253,16.184]],["keywords/516",[]],["title/517",[6,151.799,184,340.004]],["content/517",[6,2.032,25,1.076,33,2.093,65,5.304,69,5.052,70,3.947,155,4.824,182,3.229,184,4.552,205,5.453,219,7.802,240,3.614,246,5.113,256,7.614,288,7.992,293,4.53,301,3.688,330,3.891,334,4.666,427,5.949,537,5.304,541,7.892,550,9.16,588,12.345,613,7.394,893,6.805,987,10.464,1081,9.946,1118,10.464,3224,14.965,3254,16.184,3255,13.563,3256,16.184]],["keywords/517",[]],["title/518",[183,493.826,273,343.83]],["content/518",[6,2.042,18,4.44,23,3.937,25,0.884,33,1.719,34,3.043,44,3.701,161,4.199,164,5.776,171,3.471,183,7.527,196,4.137,202,4.089,252,5.154,273,5.241,276,8.076,301,3.029,330,5.473,396,4.343,425,4.782,438,4.978,543,7.811,545,5.095,712,8.076,716,4.799,734,6.695,751,8.169,758,5.749,804,6.442,856,8.594,858,6.695,910,5.348,973,7.149,1035,8.076,1066,7.093,1170,6.787,1747,8.987,1931,8.37,3226,10.747,3227,10.419,3228,11.632,3229,12.292]],["keywords/518",[]],["title/519",[281,524.746,297,383.895,379,619.122]],["content/519",[6,2.063,25,1.102,51,3.965,65,5.431,69,5.173,70,4.041,155,4.939,182,4.252,200,6.182,246,5.235,281,9.976,288,8.183,293,4.638,297,4.701,330,3.984,379,7.581,466,8.644,536,5.681,564,7.664,614,7.167,617,8.774,717,7.934,785,5.053,893,6.967,963,6.4,985,7.707,1118,10.714,1178,11.204,1668,12.989]],["keywords/519",[]],["title/520",[25,70.65,33,137.374,99,374.253,467,375.547,670,595.91]],["content/520",[1,6.597,4,1.534,6,1.916,18,4.945,25,1.483,33,3.078,37,3.323,52,4.079,92,6.312,99,5.215,110,6.53,182,2.954,200,5.523,202,4.554,252,5.74,255,6.033,265,5.326,278,3.985,284,5.251,293,5.54,310,6.701,398,5.544,437,8.751,467,5.233,474,8.538,481,8.161,536,5.076,540,11.019,551,6.736,563,6.342,637,8.457,699,9.572,991,8.161,1000,7.962,1017,11.019,1032,10.177,1068,8.8,1082,9.853,1589,11.019,2616,12.955]],["keywords/520",[]],["title/521",[25,79.157,52,327.97,96,673.714,99,419.316]],["content/521",[4,1.94,6,1.321,25,1.245,40,5.207,41,9.223,52,6.341,61,7.336,63,2.991,99,6.596,114,3.965,182,2.722,196,4.246,222,5.106,252,5.289,255,5.559,256,6.417,275,4.542,279,8.108,284,4.839,293,3.818,308,4.415,322,6.883,334,3.933,393,7.336,408,6.195,487,8.589,496,5.512,536,4.677,549,7.169,559,8.701,587,8.701,659,6.275,692,6.965,699,8.819,700,10.153,712,8.287,732,4.772,858,6.87,893,5.735,956,8.589,986,9.378,1037,9.728,1068,8.108,1164,8.383,1234,11.432,1581,12.613,1984,8.701,2486,12.613,2909,12.613,2962,12.613,3257,12.613,3258,13.641,3259,13.641]],["keywords/521",[]],["title/522",[4,123.338,25,79.157,99,419.316,182,237.492]],["content/522",[12,4.181,22,5.235,23,4.082,24,5.906,25,1.53,29,8.274,32,2.538,34,2.746,35,4.907,37,2.013,54,7.436,99,6.027,124,7.47,125,4.745,182,2.393,241,4.457,255,4.887,275,3.993,291,5.741,355,4.726,408,3.968,467,7.689,481,6.61,529,6.787,600,12.863,776,8.144,777,5.344,779,7.982,786,5.137,879,4.669,981,9.774,1061,7.458,1075,8.926,1256,9.684,1257,5.486,1400,9.597,1663,6.667,1704,7.551,1769,10.05,1814,7.551,1942,9.4,3260,11.992,3261,11.992,3262,11.089,3263,10.05]],["keywords/522",[]],["title/523",[4,123.338,25,79.157,99,419.316,517,645.355]],["content/523",[6,1.677,19,3.658,23,4.094,25,0.811,32,4.262,60,4.553,99,4.299,149,5.061,161,5.473,164,5.44,171,3.186,183,3.843,224,5.253,251,6.785,252,4.732,273,3.799,284,4.328,291,5.842,293,3.416,330,2.934,425,4.39,517,11.887,543,4.519,545,3.38,581,5.178,622,4.952,854,9.565,879,4.751,937,5.329,973,6.563,1035,7.413,1061,10.774,1320,6.563,2354,10.226,3264,10.678,3265,10.678,3266,12.202,3267,12.202,3268,17.323,3269,12.202,3270,17.323,3271,11.284,3272,12.202,3273,12.202,3274,10.226,3275,12.202,3276,12.202,3277,12.202,3278,12.202,3279,12.202,3280,9.865,3281,12.202,3282,12.202,3283,12.202,3284,12.202]],["keywords/523",[]],["title/524",[25,79.157,65,390.118,400,535.943,408,393.825]],["content/524",[2,3.939,4,2.282,5,3.414,6,1.815,20,4.817,21,6.202,25,1.051,33,2.425,37,3.698,51,4.947,52,2.963,54,4.674,58,3.939,65,3.524,69,3.357,70,2.623,85,7.616,86,4.345,98,6.773,99,6.606,100,8.157,113,5.002,114,3.126,125,4.255,149,4.461,196,4.921,222,2.932,232,6.392,234,4.974,246,3.397,248,5.83,256,5.059,264,3.118,275,5.265,293,3.01,308,3.481,334,3.101,395,4.522,399,5.878,400,8.443,408,7.288,420,6.533,437,4.22,467,3.801,491,11.51,492,7.271,506,5.83,514,3.855,536,3.687,539,5.002,614,4.651,672,6.688,716,3.882,785,3.279,874,7.01,963,4.153,983,6.392,1019,6.771,1110,6.143,1173,6.392,1181,9.411,1185,8.694,1413,9.012,1434,8.203,1670,9.411,2731,8.203,3285,10.754,3286,10.754]],["keywords/524",[]],["title/525",[6,92.877,25,63.794,205,249.247,219,356.567,240,214.197,613,337.935]],["content/525",[3,6,6,1.758,25,1.207,45,5.924,65,4.275,107,3.204,114,3.792,155,3.888,181,4.837,184,4.528,192,4.385,196,4.059,204,6.171,205,5.425,219,4.848,225,4.675,226,6.66,227,6.707,240,4.663,241,4.848,246,4.12,288,6.441,297,3.7,310,5.904,314,6.44,330,3.136,334,3.761,427,4.795,490,5.182,519,7.015,536,4.472,550,7.382,551,5.935,554,6.245,613,7.953,622,5.293,732,4.563,785,3.977,894,6.957,914,6.136,931,7.753,985,6.067,987,8.433,1019,8.213,1067,8.819,1118,8.433,1148,9.127,1296,10.545,1630,11.414,2055,10.931,2117,8.553,2136,9.127,3287,13.043]],["keywords/525",[]],["title/526",[25,79.157,202,366.157,563,509.904,1119,686.479]],["content/526",[5,3.757,6,2.452,25,1.157,70,4.244,87,6.047,155,5.187,181,4.636,185,5.311,202,5.353,278,4.684,297,4.936,480,7.909,532,10.134,564,8.049,863,12.68,899,12.666,906,9.434,914,8.186,931,10.343,932,7.918,934,10.694,1190,13.64,1299,12.666]],["keywords/526",[]],["title/527",[60,504.882,63,296.762,514,485.1]],["content/527",[6,1.789,25,1.229,33,2.39,60,8.517,63,4.053,92,7.88,273,4.053,293,5.173,393,9.94,419,11.228,424,11.949,514,6.625,525,9.713,550,10.46,590,7.88,718,7.5,737,6.213,926,9.437,963,7.138,1238,12.933,1427,9.862]],["keywords/527",[]],["title/528",[217,483.395,556,483.395,742,612.527]],["content/528",[2,6.891,25,1.251,33,2.433,37,3.159,63,4.126,182,3.754,186,5.561,217,6.721,232,11.184,512,7.702,556,6.721,703,7.02,718,7.635,742,8.516,921,9.744,944,10.554,994,10.119,1045,14.352,1119,10.851,1129,15.212]],["keywords/528",[]],["title/529",[116,491.54,278,320.414,330,286.181,356,553.65]],["content/529",[6,1.728,25,1.187,40,6.813,116,9.225,151,5.506,196,5.555,202,5.49,278,4.804,293,4.996,301,4.068,330,5.371,356,8.302,438,6.684,537,5.85,538,8.871,545,4.944,551,8.122,734,8.989,735,8.036,987,11.54,1035,10.843,1128,12.992,1170,9.113,2968,16.504]],["keywords/529",[]],["title/530",[988,1328.96]],["content/530",[6,2.042,25,1.514,33,1.719,70,3.242,99,8.019,107,3.265,113,6.183,181,3.542,182,4.208,196,6.565,198,3.551,200,4.959,202,4.089,252,5.154,255,7.497,265,4.782,278,3.578,284,6.525,297,3.771,301,3.029,348,7.524,428,7.149,437,5.217,462,5.281,537,4.357,541,6.482,553,5.954,566,9.138,613,4.683,617,7.039,640,9.48,706,6.787,860,8.076,892,8.169,893,5.589,910,5.348,914,6.253,961,7.327,963,5.134,992,9.48,999,9.676,1005,10.139,1067,8.987,1068,7.901,1159,11.14,1163,11.14,1187,8.594,1684,11.14,1686,9.676,3288,13.292,3289,13.292,3290,13.292]],["keywords/530",[]],["title/531",[191,471.331,879,610.406]],["content/531",[4,1.579,19,4.567,25,1.666,33,1.97,51,3.646,87,5.295,99,5.368,105,10.939,125,6.029,152,3.034,171,3.979,191,4.58,196,4.742,222,4.155,265,5.481,293,5.648,366,7.339,398,5.706,523,12.166,853,11.526,872,7.674,879,7.855,882,9.364,883,10.939,884,8.874,886,5.443,887,8.874,937,6.655,993,7.339,994,8.195,995,10.867,996,6.897,997,11.091,998,10.867,1154,11.944]],["keywords/531",[]],["title/532",[25,63.794,33,124.043,52,264.317,99,337.935,264,278.105,462,381.156]],["content/532",[]],["keywords/532",[]],["title/533",[52,513.439]],["content/533",[5,4.601,6,2.063,33,2.143,37,3.578,51,3.965,52,4.566,181,4.415,182,3.306,186,4.898,200,6.182,222,4.518,232,9.85,286,10.183,293,4.638,297,4.701,308,5.364,322,7.834,395,6.967,501,8.52,556,5.919,557,6.584,563,7.098,572,5.919,630,6.091,659,7.622,692,8.461,694,8.236,695,8.183,911,10.57,1329,8.403,2095,11.595]],["keywords/533",[]],["title/534",[4,140.222,52,372.867,99,476.718]],["content/534",[4,1.857,5,2.764,6,2.282,9,5.857,12,4.464,23,1.951,40,6.84,44,3.565,52,4.937,63,2.807,69,3.996,70,4.37,79,6.779,97,4.494,99,4.51,107,4.402,149,7.433,151,3.95,181,3.411,182,3.575,184,2.776,185,5.41,192,4.304,193,5.129,205,4.656,206,4.557,240,4.001,243,5.889,272,5.458,273,2.807,298,6.282,334,3.691,373,3.302,385,4.689,490,5.087,520,5.795,525,6.728,559,8.166,675,5.955,704,6.728,709,7.868,713,8.277,716,4.622,718,5.195,719,8.801,893,5.383,914,6.023,924,8.166,1000,6.886,1062,9.529,1064,8.959,1197,8.959,1398,8.062,3291,11.838,3292,11.838,3293,11.838]],["keywords/534",[]],["title/535",[4,140.222,52,372.867,510,686.235]],["content/535",[4,0.965,5,2.01,6,0.902,14,3.5,16,4.788,25,1.28,37,1.563,51,2.228,52,6.447,58,5.199,63,2.042,88,3.193,92,3.97,99,3.28,110,6.262,114,2.707,125,5.617,142,5.478,152,2.826,155,2.776,182,1.858,183,6.06,186,2.752,195,4.931,196,5.354,202,4.367,222,3.871,246,2.942,252,3.611,256,4.381,264,2.699,265,3.35,273,4.542,278,2.507,281,6.671,286,5.723,293,2.607,297,4.88,300,5.133,308,6.705,310,4.215,319,4.149,322,3.423,330,2.239,364,5.049,389,4.788,390,6.931,398,3.487,425,3.35,438,3.487,462,3.7,479,5.595,480,3.35,485,7.299,506,5.049,510,4.722,536,4.867,539,4.331,543,3.448,545,2.579,549,4.894,553,4.171,559,5.94,563,6.081,587,5.94,614,4.027,630,3.423,634,6.641,659,4.283,692,4.755,700,10.566,703,3.474,727,6.516,728,8.149,738,6.02,742,4.215,943,4.894,951,8.149,963,3.596,996,4.215,1072,6.516,1164,5.723,1169,4.26,1335,7.299,1547,6.198,1697,5.27,1720,8.149,2114,6.106,2731,7.103,3294,8.61,3295,8.61,3296,9.312,3297,9.312,3298,8.61,3299,9.312,3300,8.61,3301,8.61]],["keywords/535",[]],["title/536",[25,79.157,99,419.316,171,310.82,191,357.826]],["content/536",[25,1.336,41,13.58,52,5.534,99,7.075,111,7.579,171,5.245,191,6.038,202,6.178,272,8.563,322,7.383,400,9.043,462,7.98,529,11.368]],["keywords/536",[]],["title/537",[25,104.266,29,650.349]],["content/537",[25,1.625,28,10.568,29,10.136,30,9.73,107,5.08,722,12.308]],["keywords/537",[]],["title/538",[33,174.985,198,361.493,224,410.309]],["content/538",[4,1.06,19,3.065,22,3.998,23,4.213,24,5.258,25,1.013,32,3.224,33,2.354,34,3.488,35,5.785,37,3.387,52,2.818,63,2.242,99,3.602,103,4.557,111,3.859,114,5.292,171,2.67,191,3.074,198,2.732,204,4.839,224,3.1,264,4.416,271,3.627,275,6.062,289,4.756,293,2.862,334,2.948,355,4.03,440,4.73,462,4.063,467,3.615,510,5.185,536,3.506,572,3.653,590,4.36,607,5.544,630,7.416,723,6.914,758,4.423,763,5.221,764,5.59,765,5.967,766,12.316,767,5.842,768,10.4,769,7.444,770,5.05,771,7.294,772,4.242,773,7.174,774,5.59,775,4.896,776,7.25,777,4.557,779,6.806,780,5.415,1540,6.36,3302,9.456]],["keywords/538",[]],["title/539",[784,1141.31,785,478.129]],["content/539",[23,4.255,32,4.464,33,1.45,34,5.659,35,6.704,63,2.46,171,2.929,462,8.38,490,4.457,545,3.107,642,5.024,659,5.16,682,13.184,768,6.408,784,8.165,785,3.421,786,4.805,787,7.903,788,9.4,789,13.666,790,9.816,791,9.816,792,6.469,793,9.816,794,14.27,795,9.816,796,9.816,797,14.27,798,9.816,799,11.21,800,7.849,801,9.4,802,9.816,803,16.813,804,9.311,805,12.599,806,7.855,807,9.069,808,9.4,809,5.539,810,9.816]],["keywords/539",[]],["title/540",[273,261.029,284,422.228,545,329.694,735,535.943]],["content/540",[4,1.865,6,1.743,25,1.494,99,6.342,182,3.592,183,5.67,204,8.518,265,6.476,273,3.948,284,6.386,289,8.373,293,5.039,301,4.103,419,10.937,517,9.76,537,5.9,562,10.382,722,9.067,732,6.298,735,8.106,826,9.924,936,8.948,961,9.924,3303,13.731]],["keywords/540",[]],["title/541",[99,419.316,183,374.904,517,645.355,722,599.526]],["content/541",[6,1.604,19,3.436,22,3.009,23,4.177,25,0.762,32,4.116,51,2.743,97,4.025,99,5.836,151,3.537,161,5.233,164,6.691,183,5.218,192,3.854,198,3.062,224,5.023,255,4.672,273,3.633,281,4.445,284,4.066,330,3.983,360,6.549,396,3.745,399,6.267,425,4.124,538,8.234,544,4.277,545,4.588,553,5.135,722,5.774,735,5.162,768,6.549,819,8.022,820,7.881,824,8.022,825,7.751,1033,8.345,1061,12.098,1170,5.854,3304,13.883,3305,13.883,3306,9.607,3307,10.601,3308,9.268,3309,10.601,3310,10.601,3311,10.601,3312,9.607,3313,10.032,3314,10.032,3315,10.032,3316,10.601,3317,11.464,3318,9.607,3319,9.607,3320,8.986]],["keywords/541",[]],["title/542",[826,864.293,3303,1195.939]],["content/542",[4,1.103,6,1.031,22,4.892,23,4.113,24,5.417,25,1.24,28,4.603,29,6.509,30,5.007,32,3.321,33,1.376,34,2.437,35,3.052,37,1.787,44,2.964,99,3.75,107,2.614,151,3.284,161,3.362,164,3.342,171,2.779,182,2.124,191,3.2,224,3.227,251,5.918,252,4.127,255,4.338,256,5.007,273,2.334,275,3.544,284,7.297,293,2.979,297,3.019,330,2.559,360,6.08,385,3.898,407,5.19,425,3.829,496,4.301,536,3.649,545,2.948,714,7.084,732,3.724,764,5.818,768,6.08,776,7.469,777,4.743,819,7.448,820,7.317,825,7.197,826,12.092,845,6.98,847,8.605,848,8.343,849,8.343,858,5.361,954,5.594,969,7.197,970,8.119,1077,6.024,1170,5.435,3303,15.691,3306,8.92,3308,8.605,3315,9.314,3321,10.644,3322,14.511,3323,8.92,3324,9.842,3325,10.644]],["keywords/542",[]],["title/543",[19,356.811,25,79.157,52,327.97,99,419.316]],["content/543",[4,2.34,19,5.443,25,1.634,67,7.306,85,8.747,99,6.397,182,4.505,255,7.401,291,8.694,349,11.741,523,9.767,554,8.694,580,8.353,621,12.951,853,12.9,854,14.234,855,10.794,1341,14.681,3212,15.891]],["keywords/543",[]],["title/544",[25,89.993,202,416.281,563,579.706]],["content/544",[4,1.567,6,2.419,25,1.499,33,1.956,37,3.371,184,3.28,185,3.654,201,5.842,202,4.653,222,4.125,265,5.442,278,4.072,330,3.637,425,5.442,435,9.186,480,5.442,481,8.338,514,5.422,536,5.186,553,6.775,556,5.403,563,6.48,613,5.329,614,6.542,652,7.242,742,9.088,765,4.958,856,9.78,857,7.778,861,7.036,869,9.919,872,7.619,932,6.883,1747,10.227,1782,10.788,3326,15.126,3327,15.126,3328,15.126]],["keywords/544",[]],["title/545",[52,432.005,703,584.959]],["content/545",[5,3.886,6,1.743,37,3.022,51,5.374,52,6.188,61,9.682,63,3.948,222,4.909,391,11.312,462,7.153,674,6.593,683,12.597,703,9.564,861,8.373,945,14.111,1025,13.731,1165,11.805,1558,11.063,3329,16.646]],["keywords/545",[]],["title/546",[52,432.005,179,779.313]],["content/546",[25,1.549,37,3.524,58,5.928,62,6.933,63,4.603,98,6.933,99,5.701,100,5.993,122,7.103,142,9.521,179,8.044,182,3.229,222,4.413,287,8.044,297,4.591,308,5.239,334,4.666,395,6.805,437,6.352,533,9.16,536,7.197,562,9.334,827,9.946,871,13.084,872,8.151,873,9.724,874,10.327,877,8.998,1000,8.704,1019,10.191,3330,14.965]],["keywords/546",[]],["title/547",[37,199.834,51,284.834,63,261.029,689,650.672]],["content/547",[25,1.389,37,3.507,40,7.974,51,4.999,63,4.581,114,6.073,193,8.37,554,10.002,878,13.699]],["keywords/547",[]],["title/548",[191,471.331,879,610.406]],["content/548",[4,2.051,23,2.256,25,1.65,52,5.453,99,5.215,181,3.944,182,2.954,196,4.608,198,3.955,200,5.523,202,4.554,234,6.847,256,6.964,265,5.326,273,3.246,281,5.74,284,5.251,304,7.456,322,5.442,385,5.422,398,5.544,462,5.882,496,5.982,523,7.962,563,6.342,617,7.839,642,6.631,659,6.81,692,7.559,738,9.572,853,8.457,857,7.612,883,8.026,884,8.622,885,10.776,910,5.956,912,7.723,931,8.8,937,6.465,996,6.701,1171,10.177,1583,11.604,2515,11.019,3331,13.689]],["keywords/548",[]],["title/549",[58,389.113,99,374.253,480,563.738,3332,1062.382]],["content/549",[]],["keywords/549",[]],["title/550",[23,206.245,480,486.819,2089,887.426]],["content/550",[6,2.23,70,3.857,87,5.496,155,4.714,176,5.772,182,3.155,192,5.317,228,6.907,385,5.793,480,8.789,551,7.197,556,5.649,674,5.793,718,6.418,855,9.401,863,9.121,869,10.371,906,11.21,914,7.44,1088,14.624,1103,11.067,1140,11.772,1147,8.718,1299,11.512,1401,11.279,1402,11.512,2057,10.873,2146,11.512,2592,14.624,3202,12.786,3324,14.624,3333,12.786,3334,15.815,3335,15.815,3336,15.815]],["keywords/550",[]],["title/551",[58,435.966,99,419.316,480,428.201,878,780.572]],["content/551",[4,1.451,5,3.024,6,2.099,25,0.932,33,2.466,37,3.201,44,3.9,45,3.974,58,7.94,69,4.373,98,6.001,99,7.637,100,5.187,110,8.411,185,3.384,200,5.226,222,3.82,241,5.207,255,5.709,265,5.039,297,3.974,308,4.534,400,6.307,458,6.515,480,9.035,551,6.374,556,5.004,557,5.566,614,6.058,894,5.368,932,8.677,969,9.471,970,10.685,971,8.326,1121,12.328,1262,8.608,1900,10.426,3337,14.007,3338,14.007,3339,11.325,3340,12.953,3341,14.007]],["keywords/551",[]],["title/552",[25,63.794,58,351.353,99,337.935,171,250.496,191,288.379,480,345.096]],["content/552",[]],["keywords/552",[]],["title/553",[25,70.65,29,440.672,45,301.381,334,306.314,1300,488.703]],["content/553",[25,1.588,28,10.326,29,10.612,44,5.539,45,5.643,480,7.156,1121,12.862,1262,12.225,3342,19.893,3343,18.395]],["keywords/553",[]],["title/554",[25,63.794,33,124.043,108,500.434,171,250.496,191,288.379,480,345.096]],["content/554",[1,3.507,2,5.662,4,2.111,6,0.762,10,4.929,19,3.734,20,5.579,22,4.057,23,4.195,24,4.299,25,1.169,32,2.636,33,1.018,34,2.852,35,2.257,37,3.715,45,5.778,58,2.882,62,3.371,63,1.726,100,4.612,114,3.621,151,2.428,161,2.486,167,3.42,171,2.055,186,2.326,191,2.366,198,3.327,200,2.936,203,7.839,204,3.724,223,4.046,224,2.386,271,2.791,308,2.547,334,2.269,355,4.908,378,4.728,381,2.539,402,4.538,437,3.089,480,5.561,481,4.338,529,4.454,536,2.698,537,2.579,564,3.64,572,2.811,590,3.355,607,4.267,630,6.461,758,3.404,763,4.018,765,5.066,767,4.496,770,3.886,771,6.193,772,3.264,773,6.092,774,4.302,775,3.768,777,3.507,780,4.167,932,5.668,936,3.911,1089,4.538,1121,9.995,1262,4.836,1400,4.414,1540,4.894,1612,9.271,1628,4.629,1894,9.501,1895,6.003,2913,5.857,3343,11.518,3344,7.869,3345,7.277,3346,12.455,3347,7.869,3348,7.277,3349,7.277,3350,7.869,3351,10.9,3352,10.9]],["keywords/554",[]],["title/555",[6,102.858,273,232.977,480,382.183,787,514.862,1308,601.311]],["content/555",[4,1.092,5,4,6,2.351,23,4.023,32,3.921,33,2.014,34,4.687,44,2.934,68,5.537,164,3.309,167,4.579,171,2.751,191,3.167,234,7.204,273,4.79,355,4.152,425,3.79,458,4.901,480,8.737,490,4.186,496,4.257,516,8.009,527,5.418,545,4.314,556,5.564,732,3.686,737,7.687,765,3.453,771,4.221,787,5.106,804,5.106,806,5.075,863,6.076,1112,6.263,1321,8.83,1417,8.514,1690,7.514,1900,13.791,2079,6.019,2717,8.037,2927,9.807,3345,9.743,3351,13.63,3352,13.63,3353,10.536,3354,10.536,3355,10.536,3356,9.743,3357,9.22,3358,10.536,3359,10.536,3360,10.536,3361,9.743]],["keywords/555",[]],["title/556",[58,389.113,85,511.73,99,374.253,480,382.183,855,631.517]],["content/556",[4,1.696,5,3.534,6,1.742,8,3.68,14,2.613,19,2.083,22,2.959,23,3.683,25,0.462,32,3.011,33,0.899,34,3.748,37,1.893,44,1.935,45,4.036,46,2.25,58,6.591,63,3.12,79,3.68,98,6.094,99,5.766,103,3.097,121,4.176,131,3.525,151,2.144,152,1.384,155,4.241,161,2.196,162,2.457,167,3.021,176,2.536,184,1.507,196,3.509,200,2.593,203,3.525,215,3.653,219,2.583,220,2.457,240,1.552,243,3.197,264,2.015,273,1.524,278,1.871,297,1.972,308,2.25,381,2.243,392,3.233,398,2.603,425,2.5,437,2.728,454,4.494,480,7.861,514,2.492,520,5.104,613,2.448,622,4.576,630,2.555,631,4.048,682,5.619,737,2.337,740,3.233,763,3.549,764,3.799,765,2.278,771,2.785,804,3.368,806,3.348,926,3.549,932,8.769,934,4.271,937,3.036,985,3.233,996,5.104,1000,7.652,1121,4.494,1147,3.831,1151,4.494,1191,4.434,1211,5.448,1220,6.441,1238,4.864,1298,6.775,1400,10.093,1401,8.041,1407,5.302,1580,5.173,1663,3.864,1690,4.957,1796,4.223,1822,5.173,1850,4.957,2023,5.498,2728,5.302,2927,4.377,3340,16.639,3349,6.427,3351,6.082,3356,6.427,3357,6.082,3362,6.95,3363,6.95,3364,6.95,3365,6.95,3366,6.95,3367,9.282,3368,6.082,3369,6.427,3370,6.95,3371,6.95,3372,9.45,3373,6.95,3374,11.276,3375,4.626,3376,6.95,3377,14.226,3378,16.368,3379,6.95,3380,9.867,3381,11.276]],["keywords/556",[]],["title/557",[191,471.331,879,610.406]],["content/557",[4,2.27,6,1.384,16,7.351,19,4.285,23,2.179,25,1.68,33,1.849,45,5.484,58,8.023,63,3.135,70,3.486,85,6.886,97,5.019,99,7.717,182,2.852,222,3.898,398,7.24,462,5.68,480,6.955,523,7.689,541,6.971,622,5.801,642,6.403,740,6.649,853,8.167,855,8.498,857,9.941,879,5.566,883,7.751,884,8.326,885,10.406,894,5.478,932,6.505,937,6.244,993,6.886,1039,10.904,2515,10.641,3382,14.296,3383,13.219,3384,14.296]],["keywords/557",[]],["title/558",[23,113.237,25,49.41,37,124.737,181,197.97,264,215.398,275,247.396,481,409.573,563,318.282,3385,540.846]],["content/558",[]],["keywords/558",[]],["title/559",[5,207.102,6,92.877,275,319.419,1160,486.458,1300,441.279,3385,698.297]],["content/559",[4,0.844,5,2.763,6,2.001,22,2.138,23,3.863,30,6.022,32,2.709,40,3.11,44,2.268,51,3.063,54,3.54,60,3.039,63,1.786,67,3.278,69,2.543,70,3.122,88,2.793,99,4.509,107,2.001,151,2.513,158,5.13,161,4.044,164,5.626,171,3.342,181,3.41,230,2.574,264,2.362,273,1.786,275,7.199,278,2.193,281,3.159,289,3.789,308,2.637,315,2.653,334,2.349,421,4.219,499,4.281,527,6.582,529,4.611,556,4.572,557,3.237,563,5.483,572,2.91,577,5.067,581,3.457,613,2.87,614,3.523,643,5.81,650,4.698,668,4.219,674,2.984,693,3.649,694,4.049,695,4.023,703,3.039,736,3.051,739,8.276,858,4.103,887,7.455,921,4.219,936,4.049,942,4.895,961,4.491,965,7.961,1325,5.267,1327,4.347,1384,5.6,1558,5.006,1604,5.267,1606,5.6,1719,6.386,1751,5.81,2019,7.533,2035,6.827,2052,6.214,2060,6.214,2095,5.701,2099,6.827,2254,4.611,2778,5.81,2870,7.533,2873,7.533,2884,6.827,3058,6.214,3304,10.727,3305,10.727,3312,6.827,3319,6.827,3385,5.93,3386,8.146,3387,12.8,3388,12.8,3389,8.146,3390,8.146,3391,8.146,3392,8.146,3393,8.146,3394,8.146,3395,8.146,3396,8.146,3397,8.146,3398,8.146,3399,8.146,3400,8.146,3401,8.146,3402,8.146,3403,8.146,3404,8.146,3405,8.146,3406,8.146,3407,8.146,3408,8.146,3409,8.146,3410,8.146,3411,8.146,3412,8.146,3413,8.146,3414,8.146]],["keywords/559",[]],["title/560",[52,292.723,108,554.215,275,353.746,670,595.91,1160,538.737]],["content/560",[4,1.303,5,3.819,6,1.713,16,6.464,37,2.11,44,3.5,51,3.008,52,4.875,60,6.6,69,3.924,70,3.066,87,4.368,114,3.654,171,3.282,217,6.32,222,5.582,265,4.522,273,2.757,275,5.891,284,4.459,286,7.725,293,3.519,308,4.069,400,5.66,440,8.183,480,4.522,496,5.079,527,6.464,541,6.13,556,6.32,557,7.029,563,5.385,569,6.168,572,4.49,581,5.335,613,4.428,659,5.783,692,6.419,693,5.631,694,8.793,703,4.69,773,4.954,861,5.847,898,8.642,973,6.761,1037,8.965,1327,6.708,1847,9.357,1861,11.624,1965,8.796,2035,10.535,2052,9.588,2070,10.163,2544,11.001,3385,12.878,3415,12.57,3416,12.57,3417,12.57,3418,12.57,3419,12.57,3420,12.57,3421,12.57]],["keywords/560",[]],["title/561",[25,53.425,37,134.874,481,442.858,856,519.427,1160,407.391,1308,454.709,1388,512.459,3385,584.799]],["content/561",[5,3.886,6,1.743,14,6.767,37,3.022,52,4.96,114,5.233,152,4.472,171,4.701,179,8.948,181,4.797,220,6.364,284,6.386,315,5.863,414,7.037,536,6.172,732,6.298,920,9.533,1183,9.924,1965,12.597,1986,11.639,3385,13.104,3422,16.646,3423,18.002,3424,18.002]],["keywords/561",[]],["title/562",[19,356.811,25,79.157,183,374.904,1378,740.294]],["content/562",[4,0.708,6,1.362,22,3.692,23,4.246,24,3.84,25,0.455,32,4.047,34,3.711,35,4.648,37,1.148,51,1.636,54,2.971,99,6.285,107,1.679,151,3.432,158,4.305,161,3.514,164,5.09,167,2.971,177,3.515,181,1.822,183,2.153,185,1.651,191,2.055,224,3.373,264,3.225,271,2.425,273,4.42,275,2.276,281,2.651,284,3.946,315,3.623,319,3.046,330,3.382,334,1.971,348,3.869,355,2.694,360,3.905,413,3.541,425,4.002,462,5.589,490,2.716,538,5.53,544,5.248,545,3.081,572,2.442,611,4.305,630,5.959,642,3.062,652,3.273,722,3.443,734,3.443,740,3.18,758,2.957,765,3.646,766,8.994,767,3.905,768,8.036,770,3.376,771,6.494,772,4.615,773,5.543,776,5.295,777,3.046,780,3.62,787,3.313,788,5.729,801,5.729,806,5.359,819,4.784,820,4.7,823,5.359,824,4.784,825,4.622,891,6.133,1061,6.919,1080,5.359,1143,4.42,1170,3.491,1256,3.869,1257,3.128,1300,3.145,1567,5.359,1987,5.215,2124,5.983,2130,4.483,3304,9.324,3305,9.324,3306,9.324,3307,6.322,3308,5.527,3309,6.322,3310,6.322,3315,5.983,3316,6.322,3318,5.729,3425,6.836,3426,6.836,3427,6.836,3428,11.125,3429,6.836,3430,6.836,3431,6.322]],["keywords/562",[]],["title/563",[4,90.608,183,275.416,381,282.178,826,482.031,1160,443.427,1313,519.794,3303,666.996]],["content/563",[1,4.648,4,1.081,22,4.834,23,4.047,24,5.336,25,1.028,32,3.898,34,2.388,35,2.991,37,1.751,45,2.959,78,8.741,99,3.674,111,3.936,114,4.494,125,4.127,151,3.218,167,4.533,183,5.802,196,4.812,198,2.786,222,2.844,224,3.163,271,3.7,273,2.287,275,3.473,284,7.226,297,2.959,319,6.889,355,4.11,360,5.959,381,4.989,407,5.086,452,4.825,529,5.904,563,4.468,581,6.56,636,5.702,642,4.672,664,5.219,722,7.786,732,3.649,764,5.702,776,7.358,777,4.648,826,12.998,827,6.41,850,13.529,943,5.482,965,9.615,969,7.052,970,7.956,1098,8.176,1124,6.744,1187,6.744,1196,6.84,1636,7.299,2075,7.956,3303,15.538,3308,8.433,3322,14.295,3323,8.741,3385,7.593,3432,10.431,3433,10.431]],["keywords/563",[]],["title/564",[25,70.65,37,178.358,480,382.183,1160,538.737,1320,571.393]],["content/564",[5,3.195,6,1.722,14,3.699,22,4.669,23,4.207,24,5.109,25,0.984,32,3.132,34,3.389,35,2.822,37,3.322,45,2.791,70,3.609,151,3.036,152,1.959,167,4.276,182,1.963,222,2.683,271,3.49,275,3.276,293,4.143,307,8.536,334,2.837,355,3.877,425,3.54,480,8.321,541,4.798,563,4.215,572,3.515,630,6.54,737,4.976,758,4.256,765,4.851,767,5.621,770,4.859,771,7.128,772,4.081,773,5.832,776,7.044,777,4.385,780,5.21,863,5.675,873,5.912,924,6.276,1121,6.362,1262,6.047,1400,8.302,1401,7.017,1402,7.162,1617,5.133,1894,11.289,1895,7.505,1897,11.966,1900,11.016,2304,7.162,2669,6.653,3385,10.774,3434,9.839,3435,9.839,3436,9.839,3437,9.839,3438,14.8]],["keywords/564",[]],["title/565",[181,417.762,315,510.669]],["content/565",[6,1.685,25,1.157,33,2.25,44,4.845,45,4.936,70,4.244,131,8.824,176,6.35,181,4.636,184,3.773,185,4.203,208,9.512,239,8.885,242,9.592,243,8.004,293,4.871,314,6.172,330,4.184,379,10.059,425,6.26,454,11.25,554,8.331,613,6.13,652,8.331,704,9.145,707,11.765,1170,8.885,1310,10.134]],["keywords/565",[]],["title/566",[25,63.794,52,264.317,275,319.419,670,814.443,878,629.078]],["content/566",[4,0.841,5,3.405,6,1.998,37,2.142,40,4.871,44,2.259,45,3.62,52,3.516,58,5.776,60,5.884,62,3.476,69,3.983,73,4.143,88,2.782,107,1.993,114,3.71,116,3.351,131,4.115,152,1.616,154,2.983,166,6.918,171,2.119,181,3.4,183,4.019,184,1.76,185,1.96,217,6.386,222,2.213,225,2.909,226,4.143,230,2.563,239,4.143,242,4.473,243,3.733,265,2.919,273,3.921,275,2.702,278,2.184,281,4.948,284,4.526,286,4.987,297,4.474,301,1.849,307,4.68,308,2.627,311,3.476,315,2.643,319,3.616,322,2.983,355,3.198,379,3.712,398,3.039,414,3.172,416,5.401,427,2.983,454,5.247,458,3.774,467,4.511,480,6.432,481,4.473,499,4.265,520,3.673,527,4.173,537,2.66,539,3.774,544,3.027,545,2.248,555,5.047,556,4.558,557,3.224,572,2.899,581,6.692,613,2.859,614,6.821,634,5.787,652,3.885,659,7.254,668,4.202,683,5.678,692,4.143,693,8.008,694,4.033,698,5.247,737,2.728,739,10.196,765,2.66,773,3.198,826,4.473,858,9.005,921,4.202,954,4.265,960,6.561,993,3.909,1007,4.265,1115,5.907,1207,4.68,1327,4.33,1329,4.115,1582,6.04,1980,6.801,2049,5.247,2058,5.176,2070,6.561,2082,7.101,2197,6.361,2736,7.101,2848,6.801,2979,5.487,3303,6.19,3439,8.115,3440,8.115,3441,8.115,3442,15.646,3443,7.504]],["keywords/566",[]],["title/567",[191,471.331,879,610.406]],["content/567",[1,4.113,4,0.956,6,1.656,14,3.469,19,5.129,25,1.372,37,3.215,44,2.57,45,2.618,49,4.342,70,3.438,73,4.712,85,4.445,96,5.224,99,6.027,105,9.276,106,6.345,107,3.463,113,4.293,114,4.099,125,5.579,152,1.837,171,2.41,181,4.559,182,1.841,191,4.238,193,3.698,198,2.465,200,3.443,202,2.839,217,3.297,224,2.798,225,3.308,227,4.746,255,5.746,264,2.676,265,3.32,275,3.073,278,2.484,284,3.274,301,2.103,308,2.987,311,3.954,315,3.006,334,2.661,366,4.445,398,3.456,409,5.887,438,3.456,440,4.269,474,5.323,480,6.155,481,5.088,523,4.964,527,4.746,537,3.025,541,4.5,556,3.297,557,3.667,563,3.954,590,3.935,613,3.251,637,5.272,732,3.229,737,3.103,765,3.025,826,9.431,853,5.272,855,5.486,857,4.746,861,4.293,869,6.052,872,4.648,879,3.593,881,6.718,882,5.672,883,5.004,884,5.375,888,4.815,934,5.672,965,5.74,991,5.088,993,4.445,994,4.964,996,4.177,1065,5.429,1167,6.345,1365,6.718,1565,8.534,1567,7.234,1622,11.816,1636,6.458,1733,8.076,1927,6.718,1982,7.462,2052,7.04,2123,7.234,2286,7.462,2444,5.607,3303,10.754,3385,12.454,3444,9.229,3445,8.534,3446,8.534]],["keywords/567",[]],["title/568",[33,202.738,180,721.234]],["content/568",[]],["keywords/568",[]],["title/569",[180,856.66,424,874.956]],["content/569",[6,0.841,7,2.713,9,6.159,12,5.745,33,2.131,44,2.42,51,2.079,70,2.119,92,5.739,97,3.051,116,3.589,155,2.59,176,3.171,180,9.768,182,1.734,192,2.922,196,4.19,200,3.242,211,10.883,252,3.37,254,5.166,265,3.126,291,4.161,301,5.471,329,3.872,361,9.242,373,2.241,375,4.533,395,8.928,416,5.784,424,13.729,504,3.853,537,6.959,551,3.954,614,3.758,630,3.195,663,4.79,664,4.348,675,4.042,692,4.437,741,5.28,745,4.75,785,5.659,910,7.466,924,5.543,925,7.283,928,7.605,943,4.567,957,5.28,967,6.326,971,8.002,1000,4.674,1064,6.081,1068,8.002,1086,5.619,1127,5.472,1157,8.002,1558,5.341,1602,8.178,1610,5.405,1629,6.812,1687,7.026,1966,6.081,1988,7.026,2055,7.283,2075,6.629,2117,10.805,2126,5.784,2192,7.026,2308,5.472,2321,5.472,2482,7.283,2488,6.326,2507,7.026,2560,5.699,2600,8.036,2610,7.605,2649,8.036,2709,7.283,3447,8.036,3448,7.026,3449,8.036,3450,8.69,3451,8.69,3452,8.69,3453,8.69,3454,8.036,3455,8.036,3456,8.036,3457,8.69,3458,13.461,3459,8.69,3460,7.605,3461,8.69,3462,8.69,3463,8.69,3464,8.69]],["keywords/569",[]],["title/570",[33,137.374,180,488.703,184,230.384,301,242.127,537,348.193]],["content/570",[4,1.243,6,1.931,9,9.126,25,1.138,33,3.092,44,3.339,45,3.402,88,4.112,92,5.113,111,4.525,131,6.081,176,4.376,180,10.58,184,4.326,189,6.123,194,9.965,203,6.081,205,5.652,208,6.555,210,7.982,211,9.695,212,10.494,219,6.36,240,2.678,291,5.741,314,7.076,330,4.114,356,5.578,363,11.089,381,3.87,385,4.392,427,4.408,468,5.486,482,6.555,484,6.726,545,4.739,613,4.224,636,6.555,711,5.089,735,5.399,858,6.04,892,7.37,905,7.128,1006,7.285,1035,7.285,1055,5.96,1166,7.864,1175,7.551,1176,9.774,1196,7.864,1422,8.391,1442,10.05,1444,5.674,1602,7.285,1926,8.391,2308,7.551,2507,9.695]],["keywords/570",[]],["title/571",[180,856.66,182,270.003]],["content/571",[6,1.795,12,4.121,18,2.461,19,2.209,23,3.89,25,0.984,32,1.559,33,1.528,34,1.687,51,1.763,70,3.609,97,2.587,114,2.142,116,3.043,155,2.196,161,2.328,162,5.231,164,5.318,171,3.086,173,4.38,176,2.689,180,7.79,182,3.379,183,2.321,184,1.598,186,2.178,188,4.133,192,3.974,202,2.267,205,3.071,206,2.623,210,4.904,211,5.957,212,6.448,218,5.62,222,2.009,240,1.645,252,2.857,260,3.816,273,3.714,281,2.857,291,3.528,301,2.694,330,4.071,347,3.389,361,4.133,366,3.549,381,2.378,385,2.699,389,3.789,413,6.121,421,3.816,424,4.764,469,5.776,490,2.928,496,4.776,520,3.335,536,2.526,538,5.875,543,6.865,545,3.274,562,6.817,580,3.389,587,4.7,592,7.181,611,4.64,683,5.156,686,6.814,708,4.64,716,2.66,717,3.528,734,3.711,737,2.477,758,3.187,785,3.604,804,3.571,824,5.156,876,4.583,910,4.756,928,10.343,936,3.662,957,4.477,981,4.209,982,3.932,1024,3.466,1108,4.982,1126,5.484,1127,4.64,1170,6.035,1196,4.832,1232,5.957,1300,3.389,1329,3.737,1423,6.448,1424,6.448,1425,6.175,1442,6.175,1602,7.181,1603,5.62,1626,10.929,1711,4.832,1743,5.62,1914,5.255,1927,5.364,1949,6.814,2029,6.814,2033,5.957,2126,4.904,2131,4.427,2378,6.448,2502,3.662,2555,6.448,2588,5.364,3153,6.175,3161,6.814,3177,6.814,3226,5.957,3227,5.776,3228,6.448,3456,6.814,3465,6.448,3466,11.819,3467,7.368,3468,7.368,3469,6.448,3470,7.368,3471,7.368]],["keywords/571",[]],["title/572",[191,471.331,879,610.406]],["content/572",[25,1.722,180,9.421,222,5.584,315,6.67,881,14.908,1158,12.586,3472,20.48,3473,20.48,3474,20.48]],["keywords/572",[]],["title/573",[25,79.157,33,153.915,182,237.492,2002,640.194]],["content/573",[]],["keywords/573",[]],["title/574",[33,153.915,44,331.436,182,237.492,2002,640.194]],["content/574",[5,3.548,6,2.052,18,3.788,25,0.754,33,2.125,37,1.904,44,3.157,46,3.67,49,5.334,51,3.933,63,2.487,70,2.765,103,5.053,107,2.785,114,3.296,154,4.168,181,4.379,182,3.279,185,3.97,192,3.812,202,3.488,240,3.67,252,6.373,256,5.334,265,4.079,273,2.487,278,3.052,284,6.857,301,2.584,314,4.022,315,3.693,319,5.053,322,6.042,330,2.726,334,3.269,371,5.915,385,4.153,395,4.768,396,3.705,405,5.831,437,4.45,535,8.888,544,4.23,545,3.141,553,5.079,613,3.994,638,6.539,639,5.397,693,5.079,696,7.052,704,5.959,706,5.79,718,4.601,740,5.274,937,4.952,990,8.888,1011,7.667,1012,7.795,1035,6.889,1061,7.052,1065,6.671,1077,6.418,1419,8.649,1589,8.44,1623,7.667,1655,10.485,1915,10.485,1961,6.74,2002,8.839,2095,7.935,3475,11.339,3476,10.485,3477,11.339,3478,11.339,3479,11.339,3480,11.339,3481,11.339,3482,9.923]],["keywords/574",[]],["title/575",[25,79.157,33,153.915,437,467.161,1066,635.181]],["content/575",[3,5.962,5,2.798,6,2.015,25,0.862,33,2.337,51,3.102,53,5.475,69,4.046,107,3.184,152,2.581,171,3.385,176,6.596,184,2.811,185,3.131,199,6.206,205,3.368,206,4.614,224,3.93,240,4.036,265,4.663,273,3.964,281,8.07,284,7.382,293,3.628,297,3.677,301,2.954,311,5.552,314,4.598,315,4.222,330,4.346,373,3.343,388,7.27,414,5.067,425,6.502,504,5.746,537,4.248,538,6.443,543,4.8,545,3.59,553,5.806,613,4.566,614,5.606,637,7.405,697,8.268,732,4.535,740,6.029,1061,8.061,1067,8.764,1068,7.705,1080,10.16,1118,8.38,1166,8.5,1170,6.618,1922,11.986,1927,9.435,3483,12.962,3484,12.962,3485,12.962]],["keywords/575",[]],["title/576",[25,70.65,33,137.374,467,375.547,670,595.91,2002,571.393]],["content/576",[6,2.198,10,6.074,18,5.127,25,1.348,33,1.985,37,2.577,52,4.229,86,6.202,111,5.792,181,4.09,182,3.062,184,3.329,185,3.708,202,4.722,225,5.502,226,7.837,252,5.952,255,6.256,256,7.221,278,4.132,284,5.445,288,7.58,293,4.297,299,9.546,304,7.731,400,6.911,437,6.024,462,6.099,555,9.546,582,8.61,635,13.432,732,5.37,973,8.255,991,8.461,1150,12.032,1397,12.41,1636,10.741,1933,12.032,1935,12.032,2002,8.255,3486,15.349,3487,14.193]],["keywords/576",[]],["title/577",[25,89.993,886,483.395,1074,739.744]],["content/577",[4,2.165,25,1.389,136,12.048,182,4.168,291,10.002,902,11.934,907,12.838,1694,14.618,2002,11.236]],["keywords/577",[]],["title/578",[29,772.941]],["content/578",[25,1.616,28,10.507,29,10.077,122,8.989,319,9.126,722,12.236,1083,17.922]],["keywords/578",[]],["title/579",[33,174.985,198,361.493,323,745.978]],["content/579",[4,1.06,19,4.566,22,3.998,23,4.225,24,5.258,25,1.211,32,2.164,34,3.488,35,4.368,37,2.557,45,4.321,98,4.381,116,4.223,124,5.705,144,6.284,151,3.155,158,6.439,161,3.23,167,4.444,171,2.67,182,2.04,190,4.783,191,3.074,198,2.732,271,3.627,275,5.072,278,2.753,281,3.965,291,4.896,293,2.862,297,2.901,355,6.003,379,4.678,427,5.6,432,5.374,467,3.615,480,3.679,514,3.666,572,3.653,630,7.416,758,4.423,765,4.993,767,5.842,768,8.702,770,5.05,771,6.103,772,6.319,773,6.003,776,7.25,777,4.557,779,6.806,780,5.415,981,5.842,1219,4.926,1256,5.788,1329,5.185,1400,8.545,1540,6.36,1589,7.611,1941,8.57,1942,8.016,2002,9.791,3227,8.016,3488,10.226]],["keywords/579",[]],["title/580",[25,79.157,183,374.904,284,422.228,2002,640.194]],["content/580",[4,1.06,5,2.208,6,0.99,19,3.065,22,3.998,23,4.267,25,1.013,32,2.164,34,2.341,35,2.932,161,3.23,164,5.717,183,4.798,241,3.801,273,3.992,284,3.627,308,3.31,330,3.662,341,6.079,355,7.174,425,3.679,538,7.572,543,5.641,545,2.832,572,3.653,622,4.15,642,4.58,722,5.15,734,5.15,758,4.423,768,5.842,804,4.956,818,7.611,819,7.156,820,7.03,823,8.016,824,7.156,825,6.914,858,5.15,1061,6.36,1098,8.016,1170,5.221,1308,5.788,1941,12.767,2002,11.602,3227,8.016,3489,10.226,3490,8.016,3491,10.226,3492,9.456,3493,10.226,3494,11.089,3495,9.456,3496,9.456,3497,10.226,3498,10.226,3499,9.456,3500,9.456,3501,9.456,3502,8.949,3503,7.611,3504,8.949,3505,9.456,3506,8.949,3507,10.226,3508,10.226,3509,8.949]],["keywords/580",[]],["title/581",[25,79.157,65,390.118,400,535.943,408,393.825]],["content/581",[2,4.689,4,1.857,5,2.764,6,1.735,10,7.091,20,5.734,25,0.851,37,3.471,51,4.947,52,3.527,58,6.563,63,2.807,69,3.996,85,6.167,86,5.173,87,4.449,98,5.484,100,4.741,103,5.705,154,4.706,192,4.304,195,6.779,220,4.526,256,6.023,275,5.967,297,3.632,308,5.8,329,5.705,334,3.691,373,3.302,394,6.492,395,5.383,408,7.799,467,4.526,491,9.319,492,8.656,562,7.383,581,5.433,636,6.998,639,6.093,874,5.676,898,8.801,956,8.062,958,5.922,1019,8.062,1110,7.314,1181,11.203,1261,8.166,1595,7.962,1871,10.351,1961,7.61,1962,11.838,1964,11.838,2002,6.886,3510,12.802,3511,12.802,3512,12.802,3513,12.802]],["keywords/581",[]],["title/582",[6,92.877,25,63.794,205,249.247,219,356.567,240,214.197,613,337.935]],["content/582",[6,1.21,25,1.357,45,3.545,70,4.296,88,4.284,107,3.069,136,7.206,149,5.183,152,2.488,155,5.251,181,3.329,184,2.71,185,4.929,192,4.201,204,5.912,205,3.247,222,3.407,225,6.315,226,6.38,240,4.556,243,5.748,264,3.622,278,3.364,293,3.498,301,2.848,314,4.432,330,4.906,347,5.748,379,5.717,385,4.577,517,6.775,537,4.095,545,3.461,564,5.78,584,8.448,613,6.206,622,5.071,638,7.206,652,8.435,704,6.567,706,6.38,707,8.448,711,5.303,714,8.317,718,5.071,732,4.372,892,7.679,893,5.254,910,5.027,914,5.878,1006,7.591,1024,5.878,1113,9.096,1115,9.096,1116,8.756,2002,6.72,2639,10.472,3514,12.495,3515,10.472,3516,12.495,3517,12.495,3518,12.495]],["keywords/582",[]],["title/583",[25,79.157,202,366.157,563,509.904,1119,686.479]],["content/583",[]],["keywords/583",[]],["title/584",[107,332.397,181,360.573,732,473.461]],["content/584",[6,1.713,33,2.288,37,2.971,151,5.46,181,4.715,182,3.531,185,4.275,200,6.602,240,3.951,264,5.13,265,6.366,314,6.277,347,8.14,392,8.231,532,10.306,553,7.926,564,8.185,622,7.181,707,11.965,904,12.882,937,7.729,1152,11.779,1155,11.965,2002,9.518,2141,11.288,3519,17.696,3520,17.696]],["keywords/584",[]],["title/585",[183,374.904,273,261.029,330,286.181,356,553.65]],["content/585",[6,1.699,18,5.861,25,1.167,152,3.493,161,5.543,183,5.527,252,6.804,273,3.848,299,10.913,301,3.999,330,4.219,374,14.187,385,6.427,399,9.592,496,7.09,515,8.666,537,5.751,545,4.86,727,12.279,732,6.139,734,8.838,856,11.345,858,8.838,919,12.279,973,9.438,1061,10.913,1967,13.755,2002,9.438]],["keywords/585",[]],["title/586",[6,131.019,185,326.9,480,486.819]],["content/586",[5,4.214,6,2.285,25,1.298,51,4.671,87,6.783,182,3.895,185,4.715,278,5.255,297,5.538,480,7.022,863,11.258,906,10.583,932,8.883,934,11.996,1299,14.209]],["keywords/586",[]],["title/587",[60,504.882,63,296.762,514,485.1]],["content/587",[60,7.149,63,4.202,191,5.76,273,4.202,405,9.853,581,8.131,590,8.17,718,7.776,737,6.442,868,16.058,898,13.173,905,11.39,924,12.223,984,11.776,994,10.306,1327,10.225,1427,10.225,2000,14.262]],["keywords/587",[]],["title/588",[217,483.395,556,483.395,742,612.527]],["content/588",[5,4.214,35,5.598,37,3.277,63,4.281,152,3.886,217,6.973,512,7.99,514,6.997,718,7.921,737,6.563,785,5.953,866,11.484,944,10.949,1426,14.889,1825,15.782,2590,17.082]],["keywords/588",[]],["title/589",[281,524.746,297,383.895,379,619.122]],["content/589",[6,1.758,25,1.208,69,5.669,70,5.507,155,5.413,182,3.623,198,4.851,246,5.737,281,8.756,288,8.968,301,4.139,311,7.779,330,4.366,427,6.675,537,5.952,588,13.851,611,11.435,613,6.397,893,7.635,957,11.032,1081,11.16,2002,9.767]],["keywords/589",[]],["title/590",[4,110.083,25,70.65,85,511.73,855,631.517,2002,571.393]],["content/590",[4,1.717,5,3.576,6,1.883,25,1.102,33,2.142,44,4.613,45,3.252,46,3.711,60,6.181,70,2.796,73,5.854,98,4.911,144,7.045,155,3.417,181,4.414,186,3.388,190,5.362,191,4.98,193,4.593,225,4.109,226,5.854,246,3.621,252,6.424,264,3.323,273,3.633,308,5.362,323,6.319,330,2.756,360,12.911,379,5.245,392,5.332,398,4.293,427,4.214,478,7.13,517,6.215,545,3.175,564,5.303,590,4.888,668,5.937,739,7.412,782,6.744,786,4.911,965,7.13,1061,7.13,1089,6.611,1092,8.744,1134,6.488,1143,7.412,1188,9.268,1298,9.953,1310,6.676,1427,6.117,1428,10.601,1589,8.533,1786,8.986,1966,8.022,2002,6.166,2301,7.313,3257,10.601,3482,14.497,3487,10.601,3490,12.985,3494,8.345,3521,11.464,3522,11.464,3523,11.464,3524,11.464,3525,10.601,3526,11.464,3527,11.464,3528,11.464]],["keywords/590",[]],["title/591",[191,471.331,879,610.406]],["content/591",[4,1.264,19,6.572,25,1.645,33,1.578,51,2.92,85,5.878,87,4.24,105,9.392,125,4.828,152,2.429,171,3.186,183,3.843,190,5.708,191,3.668,192,4.102,196,3.798,222,4.724,255,4.973,265,4.39,284,4.328,291,5.842,293,3.416,366,5.878,398,4.57,496,4.931,523,10.833,536,4.184,853,9.896,855,7.253,857,6.275,861,5.676,872,8.725,879,6.744,882,12.378,883,9.392,884,7.107,886,4.359,887,7.107,937,5.329,973,6.563,993,5.878,994,6.563,995,8.702,996,5.523,997,8.882,998,8.702,1127,7.684,1154,9.565,1192,7.589,1982,9.865,2002,12.937,3494,8.882,3529,10.678,3530,12.202,3531,12.202,3532,12.202]],["keywords/591",[]],["title/592",[25,63.794,33,124.043,52,264.317,264,278.105,462,381.156,2002,515.945]],["content/592",[]],["keywords/592",[]],["title/593",[52,513.439]],["content/593",[5,4.601,6,2.063,33,2.143,37,3.578,51,3.965,52,4.566,181,4.415,182,3.306,186,4.898,200,6.182,222,4.518,232,9.85,286,10.183,293,4.638,297,4.701,308,5.364,322,7.834,395,6.967,501,8.52,556,5.919,557,6.584,563,7.098,572,5.919,630,6.091,659,7.622,692,8.461,694,8.236,695,8.183,911,10.57,1329,8.403,2095,11.595]],["keywords/593",[]],["title/594",[4,140.222,52,372.867,2002,727.832]],["content/594",[4,1.857,5,2.764,6,2.282,9,5.857,12,4.464,23,1.951,40,6.84,44,3.565,52,4.937,63,2.807,69,3.996,70,4.37,79,6.779,97,4.494,107,4.402,149,7.433,151,3.95,181,3.411,182,3.575,184,2.776,185,5.41,192,4.304,193,5.129,205,4.656,206,4.557,240,4.001,243,5.889,272,5.458,273,2.807,298,6.282,334,3.691,373,3.302,385,4.689,490,5.087,520,5.795,525,6.728,559,8.166,675,5.955,704,6.728,709,7.868,713,8.277,716,4.622,718,5.195,719,8.801,893,5.383,914,6.023,924,8.166,1000,6.886,1062,9.529,1064,8.959,1197,8.959,1398,8.062,2002,6.886,3291,11.838,3292,11.838,3293,11.838]],["keywords/594",[]],["title/595",[4,140.222,52,372.867,510,686.235]],["content/595",[3,4.172,5,1.958,6,1.638,14,3.409,16,4.663,25,1.262,37,1.522,51,2.17,52,6.394,58,3.321,63,1.989,88,3.109,92,3.866,110,6.136,114,2.636,125,5.504,155,2.703,182,1.809,183,5.977,186,4.112,195,4.802,196,5.267,199,4.342,202,4.279,222,3.793,246,2.865,252,3.516,254,5.391,256,4.266,264,4.033,265,3.262,273,4.737,278,2.441,281,6.562,286,5.573,287,4.507,293,2.538,297,4.801,300,4.999,301,2.067,308,6.626,310,4.105,319,4.041,322,3.334,330,2.18,364,4.917,371,4.731,389,4.663,390,6.75,398,3.396,400,4.083,425,5.004,438,3.396,462,3.603,466,4.731,479,5.449,480,3.262,485,7.108,510,4.599,524,5.947,536,4.77,537,2.972,539,4.218,545,3.853,549,4.766,553,4.062,559,5.785,563,5.959,614,3.922,634,6.467,659,4.172,692,4.63,700,10.354,703,3.383,728,7.936,738,5.863,742,4.105,743,6.346,765,2.972,943,4.766,951,7.936,963,3.502,996,4.105,1072,6.346,1164,5.573,1335,7.108,1697,5.133,2002,4.877,2114,5.947,2731,6.917,3294,8.386,3295,8.386,3298,8.386,3300,8.386,3301,8.386,3533,9.068,3534,9.068,3535,9.068]],["keywords/595",[]],["title/596",[25,79.157,171,310.82,191,357.826,2002,640.194]],["content/596",[25,1.336,41,13.58,52,5.534,111,7.579,171,5.245,191,6.038,202,6.178,272,8.563,322,7.383,400,9.043,462,7.98,529,11.368,2002,10.802]],["keywords/596",[]],["title/597",[25,104.266,29,650.349]],["content/597",[25,1.625,28,10.568,29,10.136,30,9.73,107,5.08,722,12.308]],["keywords/597",[]],["title/598",[33,174.985,198,361.493,224,410.309]],["content/598",[4,1.024,19,2.963,22,3.898,23,4.222,24,5.127,25,1.186,32,3.143,33,1.921,34,3.401,35,5.688,37,3.33,52,2.724,63,2.168,103,4.405,111,3.73,114,5.186,151,3.05,158,6.225,161,3.123,167,4.297,171,2.582,191,2.972,204,4.678,224,2.997,264,4.306,271,3.507,275,5.941,289,4.598,293,2.767,334,2.85,355,5.853,440,4.573,462,3.928,467,3.495,510,5.013,536,3.39,572,3.531,590,4.215,607,5.36,630,7.292,723,6.684,758,4.276,763,5.048,765,5.847,766,12.009,767,5.648,768,10.192,769,7.196,770,4.882,771,7.148,772,4.101,773,7.031,774,5.404,775,4.733,776,7.069,777,4.405,778,7.358,779,6.58,780,5.235,1540,6.148,2002,5.317,3302,9.142,3536,9.886]],["keywords/598",[]],["title/599",[784,1141.31,785,478.129]],["content/599",[23,4.241,32,4.397,33,1.405,34,5.61,35,6.63,63,2.383,108,5.668,171,2.837,462,8.255,490,4.317,545,3.01,642,4.867,659,4.998,682,12.881,768,6.207,771,7.558,784,7.91,785,3.314,786,4.655,787,7.721,788,9.106,789,13.352,790,9.509,791,9.509,792,6.267,793,9.509,794,13.943,795,9.509,796,9.509,797,13.943,798,9.509,799,10.953,800,7.604,801,9.106,802,9.509,803,16.508,804,9.142,805,12.371,806,5.234,807,8.785,808,9.106,809,5.366,1300,4.998,1308,6.15,3537,10.866,3538,10.866]],["keywords/599",[]],["title/600",[273,261.029,284,422.228,545,329.694,735,535.943]],["content/600",[6,2.21,25,1.229,51,4.422,182,3.687,192,6.213,265,6.648,273,4.053,281,7.166,284,6.556,293,5.173,301,4.212,330,4.443,399,10.103,425,6.648,537,6.057,538,9.186,545,5.119,562,10.659,961,10.188,1061,11.494,2002,9.94]],["keywords/600",[]],["title/601",[4,90.608,183,275.416,308,283.049,722,440.43,1308,494.931,2002,470.306,3490,685.44]],["content/601",[6,1.623,19,3.494,22,4.4,23,4.167,32,4.155,34,2.669,51,2.789,164,5.265,183,3.671,198,3.114,273,4.306,281,4.52,330,4.031,355,6.607,399,6.372,425,4.193,538,9.759,544,4.349,545,4.644,735,5.248,768,6.659,778,12.479,819,8.157,820,8.013,823,9.137,824,8.157,825,7.881,1033,8.485,1061,10.427,1170,5.952,1663,6.481,2002,9.017,3226,9.424,3312,9.769,3313,10.2,3314,10.2,3318,9.769,3319,9.769,3320,9.137,3492,10.778,3494,8.485,3495,10.778,3496,10.778,3499,10.778,3500,10.778,3501,10.778,3502,10.2,3503,8.676,3504,10.2,3505,10.778,3506,10.2,3509,10.2,3539,10.778,3540,10.778,3541,11.656,3542,11.656,3543,11.656]],["keywords/601",[]],["title/602",[4,140.222,826,745.978,2002,727.832]],["content/602",[6,1.304,23,3.659,25,0.895,32,2.849,45,3.82,164,4.228,183,4.241,191,4.048,228,5.88,241,5.005,273,2.953,284,7.533,334,3.882,381,4.345,396,4.399,446,10.022,496,5.441,536,4.617,543,4.986,600,7.242,674,6.797,734,6.782,763,6.875,819,9.422,820,9.256,823,10.554,824,9.422,825,9.104,826,10.23,828,10.27,850,16.24,872,6.782,991,7.422,1093,10.886,1151,8.705,1174,8.18,1183,7.422,1264,10.022,2002,7.242,3226,10.886,3312,11.284,3313,11.783,3314,11.783,3318,11.284,3319,11.284,3482,11.783,3502,11.783,3503,10.022,3504,11.783,3506,11.783,3509,11.783,3539,12.45,3540,12.45,3544,13.464,3545,13.464]],["keywords/602",[]],["title/603",[19,356.811,25,79.157,52,327.97,2002,640.194]],["content/603",[4,2.34,19,5.443,25,1.634,67,7.306,85,8.747,182,4.505,255,7.401,291,8.694,349,11.741,523,9.767,554,8.694,580,8.353,621,12.951,853,12.9,854,14.234,855,10.794,1341,14.681,2002,9.767,3212,15.891]],["keywords/603",[]],["title/604",[25,89.993,202,416.281,563,579.706]],["content/604",[4,1.664,6,2.467,25,1.389,33,2.077,37,3.506,184,3.483,185,3.879,201,6.203,202,4.94,265,5.777,278,4.323,330,3.861,425,5.777,435,9.554,480,7.513,481,8.853,514,5.757,536,5.506,553,7.193,556,5.736,563,6.879,613,5.657,614,6.946,652,7.689,742,9.453,765,5.263,856,10.383,932,7.308,1747,10.858,1782,11.453]],["keywords/604",[]],["title/605",[52,432.005,703,584.959]],["content/605",[5,3.886,6,1.743,37,3.022,51,5.374,52,6.188,61,9.682,63,3.948,222,4.909,391,11.312,462,7.153,674,6.593,683,12.597,703,9.564,861,8.373,945,14.111,1025,13.731,1165,11.805,1558,11.063,3329,16.646]],["keywords/605",[]],["title/606",[52,432.005,179,779.313]],["content/606",[25,1.555,37,3.542,58,5.974,62,6.987,63,4.626,98,6.987,100,6.04,122,7.159,142,9.595,179,8.107,222,4.448,250,8.704,287,8.107,297,4.627,308,5.28,334,4.703,395,6.858,437,6.401,533,9.232,536,7.233,562,9.407,827,10.024,871,13.187,872,8.215,873,9.8,874,10.366,875,8.637,1000,8.772,1019,10.271,3330,15.082]],["keywords/606",[]],["title/607",[37,199.834,51,284.834,63,261.029,689,650.672]],["content/607",[25,1.389,37,3.507,40,7.974,51,4.999,63,4.581,114,6.073,193,8.37,554,10.002,878,13.699]],["keywords/607",[]],["title/608",[191,471.331,879,610.406]],["content/608",[4,2.051,23,2.256,25,1.65,52,5.453,181,3.944,182,2.954,196,4.608,198,3.955,200,5.523,202,4.554,234,6.847,256,6.964,265,5.326,273,3.246,281,5.74,284,5.251,304,7.456,322,5.442,385,5.422,398,5.544,462,5.882,496,5.982,523,7.962,563,6.342,617,7.839,642,6.631,659,6.81,692,7.559,738,9.572,853,8.457,857,7.612,883,8.026,884,8.622,885,10.776,910,5.956,912,7.723,931,8.8,937,6.465,996,6.701,1171,10.177,1583,11.604,2002,7.962,2515,11.019,3331,13.689]],["keywords/608",[]],["title/609",[116,250.367,240,135.375,670,845.279,1055,301.353,1109,313.99,1176,346.35,1361,326.085,2589,372.601,3546,451.274]],["content/609",[]],["keywords/609",[]],["title/610",[1109,811.993,1176,895.677]],["content/610",[4,0.847,6,1.738,7,2.553,12,2.852,23,3.825,40,3.122,51,1.957,69,2.553,107,2.009,116,3.377,125,3.236,131,4.147,148,4.717,149,3.392,151,2.523,155,2.438,162,6.347,164,4.977,181,2.179,205,5.992,206,2.911,220,2.891,222,2.23,223,6.602,240,4.623,248,4.434,272,3.487,301,1.864,311,3.503,314,5.622,347,3.762,392,3.804,396,2.672,398,3.063,420,4.969,438,3.063,440,3.783,452,3.783,456,7.157,457,5.53,490,3.25,537,2.68,539,3.804,545,3.556,616,5.723,711,7.62,718,3.319,741,4.969,786,5.5,901,4.901,906,4.434,908,6.612,910,5.166,914,3.847,955,4.717,957,9.63,963,3.159,991,4.508,996,5.811,1047,5.953,1055,4.065,1066,4.364,1082,5.444,1109,10.724,1119,4.717,1165,5.363,1175,8.085,1176,12.81,1199,6.411,1268,4.235,1297,8.681,1339,3.663,1359,6.238,1377,6.006,1564,5.217,1617,4.266,1726,4.399,2126,8.546,2436,7.157,2775,7.563,3109,6.854,3547,8.178,3548,8.178,3549,8.178,3550,7.563,3551,6.612,3552,8.178,3553,15.85,3554,8.178,3555,7.563,3556,8.178,3557,8.178,3558,8.178,3559,8.178,3560,5.953,3561,6.238,3562,8.178,3563,5.622,3564,5.833]],["keywords/610",[]],["title/611",[1055,926.214]],["content/611",[4,1.446,6,1.643,7,2.843,23,3.631,32,1.927,49,4.285,51,2.179,67,3.665,110,4.018,111,3.437,131,7.078,155,2.715,162,3.22,166,4.938,182,1.817,186,2.692,192,3.062,195,4.823,198,2.433,203,4.619,205,3.626,219,3.385,234,4.213,240,4.58,248,4.938,272,5.951,278,2.452,293,3.907,298,4.469,301,2.076,308,2.948,311,3.902,314,7.275,322,5.131,334,4.024,378,5.472,385,3.336,393,4.899,396,2.976,420,5.534,421,4.717,438,3.411,452,4.213,460,6.947,481,5.021,484,5.109,490,3.619,494,6.947,537,2.985,545,2.523,562,5.253,563,3.902,564,4.213,579,5.889,584,6.158,675,4.236,692,4.651,711,3.865,735,6.284,736,3.411,745,4.979,910,3.665,911,5.81,943,4.787,987,5.889,991,5.021,996,4.123,1055,10.194,1103,6.374,1109,7.228,1111,6.262,1158,5.597,1176,5.203,1207,5.253,1297,9.437,1339,6.252,1590,6.947,1617,4.751,1634,6.496,1646,6.062,1726,4.899,2088,6.496,2308,5.735,2421,6.779,2638,6.947,3041,7.364,3202,7.364,3565,8.422,3566,9.108,3567,12.214,3568,9.108,3569,8.422,3570,13.957,3571,9.108,3572,9.108,3573,8.422,3574,9.108,3575,7.971,3576,9.108,3577,9.108,3578,9.108,3579,8.422,3580,8.422]],["keywords/611",[]],["title/612",[116,558.828,240,302.163,2589,831.659]],["content/612",[6,1.566,7,1.783,22,1.499,23,4.033,32,3.939,35,1.638,44,1.59,51,1.367,65,1.872,92,2.435,108,2.98,113,2.657,116,9.469,131,4.862,162,4.381,164,5.5,166,3.097,171,3.236,173,3.395,186,1.688,191,3.725,198,1.526,205,4.203,206,5.167,219,2.123,220,2.019,222,1.557,240,4.536,243,2.627,246,1.804,249,3.233,264,2.78,272,2.435,278,1.538,293,1.599,301,3.308,308,1.849,310,2.585,311,2.447,314,6.213,347,2.627,356,5.764,373,1.473,381,1.843,385,2.092,396,1.866,425,2.055,427,3.525,440,2.642,467,2.019,490,2.269,496,2.308,504,2.532,529,3.233,537,1.872,545,2.656,561,4.511,562,3.294,564,2.642,616,3.997,630,4.556,695,2.821,711,2.424,716,3.462,735,2.572,736,3.591,737,1.92,740,4.46,771,2.288,786,2.447,894,3.675,971,3.395,979,4.618,996,4.34,1033,6.98,1055,4.766,1082,3.802,1125,3.997,1143,3.693,1175,3.597,1191,6.117,1224,3.326,1264,7.137,1309,2.687,1339,7.246,1350,4.357,1566,8.391,1617,10.19,1631,7.014,1638,4.477,1726,3.072,1787,4.477,1803,4.251,1928,5.282,2079,3.263,2118,3.862,2161,4.357,2175,4.251,2304,4.158,2589,5.893,2625,4.357,2912,3.552,3167,12.34,3367,2.751,3448,4.618,3575,4.998,3581,5.712,3582,5.282,3583,5.282,3584,5.712,3585,9.714,3586,3.294,3587,5.712,3588,5.712,3589,5.712,3590,8.867,3591,5.712,3592,10.804,3593,3.802,3594,5.712,3595,5.282,3596,5.712,3597,4.998,3598,5.282,3599,5.282,3600,5.712,3601,4.787,3602,5.712,3603,5.712,3604,5.712,3605,5.712,3606,5.282,3607,5.712,3608,5.712,3609,5.712,3610,5.712,3611,5.282,3612,5.712,3613,5.712,3614,5.712,3615,5.712,3616,5.712]],["keywords/612",[]],["title/613",[308,507.514,3546,1167.014]],["content/613",[3,4.921,4,1.937,6,1.81,22,2.808,46,5.099,51,2.56,58,3.918,63,2.346,65,3.506,66,7.788,68,5.623,69,3.34,97,3.756,110,4.719,182,2.135,186,3.162,192,5.296,195,8.341,200,3.991,205,2.78,219,3.977,234,4.948,240,2.389,265,3.849,272,4.561,297,5.303,298,5.25,301,2.438,304,5.388,308,5.099,310,4.842,322,3.933,334,3.085,356,7.327,392,4.976,396,3.495,398,4.006,407,5.217,419,6.5,438,4.006,462,4.251,484,6.001,496,4.323,504,4.743,531,5.848,537,3.506,551,7.168,558,8.386,565,6.055,579,6.917,584,7.234,606,8.386,671,8.966,675,4.976,692,5.463,703,3.991,705,6.231,735,4.817,912,5.581,937,4.672,963,4.132,996,4.842,1019,6.737,1038,9.796,1079,8.16,1187,6.917,1189,6.654,1207,6.17,1268,5.541,1339,4.792,1634,7.63,1685,9.362,1708,7.355,2308,6.737,2321,6.737,2560,7.016,2589,6.575,3546,17.694,3617,8.65,3618,10.698,3619,15.752,3620,10.698,3621,9.893,3622,10.698]],["keywords/613",[]],["title/614",[1361,1002.228]],["content/614",[4,1.967,6,1.063,29,4.555,44,4.47,45,3.115,46,5.197,51,3.842,67,4.418,72,5.226,182,2.191,186,3.246,187,6.748,190,5.136,199,5.257,200,5.99,205,5.425,219,5.968,240,4.662,248,5.953,265,3.95,272,4.682,288,5.423,291,5.257,297,3.115,301,3.659,308,3.554,310,4.97,311,4.704,314,5.695,322,4.036,345,8.376,356,5.107,366,5.289,373,2.832,385,4.022,438,4.112,467,3.881,477,11.053,496,4.437,515,5.423,537,5.262,571,7.201,645,6.46,660,6.159,717,5.257,732,3.842,826,6.053,879,4.275,936,5.458,937,4.796,996,8.591,1054,7.684,1055,5.458,1189,6.829,1227,7.201,1297,7.424,1332,5.906,1361,12.48,1590,8.376,1786,8.607,1823,8.607,2118,7.424,2182,9.609,2913,8.173,2918,9.609,2978,9.609,3167,8.376,3449,10.154,3546,8.173,3623,8.376,3624,10.154,3625,10.98,3626,10.98,3627,10.154]],["keywords/614",[]],["title/615",[248,850.067,703,584.959]],["content/615",[]],["keywords/615",[]],["title/616",[6,115.243,298,584.092,1339,533.158,1961,707.558]],["content/616",[4,1.578,6,2.382,19,3.065,25,0.68,53,4.319,54,4.444,58,5.579,72,4.867,73,5.221,88,3.506,110,6.72,111,3.859,112,6.706,116,4.223,131,10.23,151,3.155,174,6.079,192,3.438,205,3.958,240,4.817,241,3.801,272,4.36,297,2.901,298,5.018,308,4.931,314,6.458,329,4.557,334,2.948,335,10.864,345,7.8,381,6.51,385,3.745,396,4.977,403,8.267,418,8.016,496,4.132,515,9.962,522,9.456,561,4.811,711,8.561,786,4.381,855,6.079,932,4.653,1000,5.5,1055,5.083,1109,9.428,1169,4.678,1175,6.439,1176,10.4,1339,10.784,1350,11.62,1401,7.293,1633,5.842,1711,6.706,1902,6.284,1961,6.079,1974,9.456,2072,8.949,2589,6.284,2733,7.293,2912,6.36,3546,7.611,3585,14.27,3586,5.897,3628,10.226,3629,7.444]],["keywords/616",[]],["title/617",[703,396.364,711,450.843,757,686.894,1713,575.999,2612,757.671]],["content/617",[4,2.172,6,0.658,10,2.687,23,1.035,25,0.736,28,2.937,51,4.81,54,4.809,67,2.733,69,4.371,70,3.415,72,3.233,88,2.329,92,2.896,97,2.384,108,3.543,121,4.081,131,3.444,171,1.774,182,2.208,184,1.473,186,2.008,187,4.174,191,2.042,192,3.72,201,2.623,204,3.214,205,4.195,215,3.569,219,4.113,222,1.852,240,4.488,246,3.496,251,6.153,256,3.195,264,3.208,278,1.828,281,7.392,301,1.548,308,2.198,311,7.616,314,8.826,323,3.744,334,1.958,356,6.513,373,1.752,381,2.192,385,2.488,396,2.219,409,4.332,413,3.517,418,5.324,432,7.359,444,7.744,447,4.332,466,5.773,489,5.055,490,2.699,512,2.78,584,4.592,590,2.896,630,2.497,660,3.81,661,4.332,673,3.543,694,6.96,703,7.5,714,4.521,716,2.452,736,6.047,739,4.391,775,3.252,890,7.892,901,2.593,910,2.733,996,3.074,1058,3.517,1115,8.055,1160,3.444,1219,6.745,1298,4.081,1495,6.28,1595,4.224,1617,3.543,1633,3.88,1704,4.277,1707,4.844,1713,7.592,1718,4.944,1746,5.324,2089,4.454,2252,6.723,2303,3.653,2542,4.944,2612,7.892,2638,5.181,2669,4.592,2720,4.277,2731,5.181,3012,10.233,3169,5.324,3231,6.28,3585,5.324,3617,5.491,3629,10.194,3630,14.003,3631,6.792,3632,6.792,3633,5.944,3634,6.792,3635,6.792,3636,6.792,3637,6.792,3638,6.792,3639,6.792,3640,6.792,3641,6.28,3642,5.692,3643,6.792,3644,6.792,3645,6.28,3646,5.692,3647,6.792,3648,6.792,3649,6.792,3650,6.28,3651,6.28]],["keywords/617",[]],["title/618",[199,508.659,264,307.993,311,455.105,314,376.852,3515,890.35]],["content/618",[4,1.31,6,1.72,10,5.004,44,3.521,63,2.773,76,7.518,162,4.471,175,7.866,182,4.098,196,3.936,199,9.834,205,3.286,210,8.418,227,6.503,240,3.967,252,4.904,310,5.724,311,8.798,314,7.285,321,7.772,347,8.173,373,3.262,385,4.632,395,7.47,396,4.132,425,4.55,466,6.597,514,4.534,543,4.683,545,3.503,551,5.755,567,8.293,664,6.328,705,7.365,785,6.263,901,4.828,911,8.067,950,8.418,963,4.885,994,6.802,1055,6.286,1081,7.772,1127,7.964,1128,12.933,1160,6.413,1164,7.772,1339,5.665,1388,8.067,1405,11.067,1422,8.85,1558,7.772,1722,9.206,1726,6.802,1858,9.913,2744,11.067,3652,12.647,3653,12.647,3654,12.647,3655,12.647]],["keywords/618",[]],["title/619",[3623,1195.939,3629,1141.31]],["content/619",[3,7.387,4,2.164,25,1.068,40,6.13,70,3.916,116,6.632,131,10.59,201,8.066,240,4.663,254,9.546,255,6.545,293,4.495,314,5.697,375,8.378,420,9.757,467,5.677,499,8.44,510,8.144,516,8.258,552,8.44,711,6.815,894,6.154,1055,7.982,1109,8.317,1176,9.174,1227,10.531,1625,12.984,1729,15.929,2589,9.869,3623,12.249,3629,11.69,3656,13.459,3657,16.059,3658,16.059]],["keywords/619",[]],["title/620",[63,343.83,689,857.071]],["content/620",[4,1.295,16,6.425,20,7.891,40,4.77,63,4.859,68,6.567,86,8.245,107,3.069,114,3.632,116,5.16,149,5.183,162,6.227,193,5.006,222,3.407,240,4.556,248,6.775,301,2.848,331,8.079,349,8.079,387,7.277,428,9.475,462,4.965,496,5.049,514,6.315,551,5.686,554,5.983,556,4.463,596,8.744,606,9.795,675,8.194,683,8.744,689,6.83,861,5.812,891,9.711,955,7.206,1016,9.3,1055,8.756,1109,6.471,1165,8.194,1176,7.138,1189,7.771,1219,6.019,1361,6.72,1608,13.809,1617,6.518,1933,9.795,2304,9.096,2444,7.591,2589,7.679,3058,9.531,3167,9.531,3546,16.492,3563,8.59,3617,10.102,3621,11.554,3659,10.472,3660,12.495,3661,10.472]],["keywords/620",[]],["title/621",[675,866.742]],["content/621",[6,1.643,10,4.691,12,4.134,49,5.577,58,4.342,67,4.77,116,7.008,131,8.606,162,5.999,182,2.365,186,3.504,189,6.053,205,4.409,222,3.233,240,4.426,272,5.055,293,3.319,301,3.868,311,5.079,314,7.031,385,4.342,401,5.31,452,5.484,515,5.855,536,5.819,537,5.562,545,3.284,549,6.23,562,6.837,569,5.817,664,5.931,675,10.651,692,8.665,699,7.665,716,4.28,736,4.44,761,8.63,918,6.71,937,5.178,955,6.837,957,7.203,963,6.555,971,7.047,996,7.681,1035,7.203,1048,9.585,1055,8.435,1173,7.047,1176,6.772,1189,7.373,1297,8.016,1339,7.601,1590,9.043,1617,6.184,2589,7.286,2899,10.963,3052,10.375,3565,10.963,3617,9.585,3645,10.963,3662,11.855,3663,11.855,3664,11.855,3665,11.855]],["keywords/621",[]],["title/622",[1608,1460.68]],["content/622",[6,1.271,10,5.193,12,4.576,69,4.097,116,5.42,201,5.069,205,5.444,222,3.579,240,4.678,265,6.559,279,7.802,291,6.284,297,3.723,298,6.44,311,5.622,314,7.432,334,3.784,356,8.481,393,9.807,536,4.5,564,6.071,699,11.789,736,4.915,761,9.554,866,7.721,890,9.36,905,7.802,955,7.569,963,5.069,1030,6.44,1055,10.414,1117,10.611,1176,7.498,1207,10.516,1339,5.879,1608,18.647,1617,6.847,1631,7.429,1716,9.36,1726,7.059,2301,8.372,2441,12.137,2574,11.486,2589,8.066,3169,10.288,3666,13.125,3667,13.125,3668,18.233,3669,13.125,3670,13.125]],["keywords/622",[]],["title/623",[149,561.321,240,302.163,428,727.832]],["content/623",[4,1.865,86,5.205,116,5.319,131,6.532,149,8.604,182,2.57,186,3.807,201,4.975,205,3.347,222,3.512,232,7.657,240,5.014,278,3.468,310,5.831,314,7.966,334,3.714,356,5.992,373,3.322,385,4.718,393,6.928,401,5.77,428,12.078,466,6.72,482,7.042,494,9.826,545,4.985,564,5.958,673,6.72,693,5.77,699,8.329,711,5.466,718,5.227,866,10.587,905,7.657,918,7.291,955,7.429,963,4.975,1055,11.162,1171,8.856,1176,7.359,1185,10.415,1189,8.011,1207,7.429,1219,6.205,1297,8.71,1631,7.291,2114,8.447,2488,9.377,2589,7.916,3167,9.826,3671,12.881,3672,12.881,3673,12.881,3674,12.881]],["keywords/623",[]],["title/624",[4,123.338,67,478.927,73,607.783,232,707.558]],["content/624",[3,3.916,4,1.685,6,0.824,40,3.249,51,2.037,63,1.867,67,5.33,72,4.052,88,2.919,96,4.818,113,3.959,116,5.471,131,4.317,162,4.683,182,3.661,186,3.916,200,3.176,201,3.288,204,4.028,205,3.442,232,5.06,240,4.44,248,4.615,250,7.069,255,3.469,297,5.641,298,4.177,314,3.02,331,5.504,334,2.454,356,3.959,393,4.578,394,4.317,407,4.151,467,4.683,490,3.382,494,6.493,504,5.873,529,4.818,542,5.43,545,3.669,549,4.474,551,3.874,560,7.015,562,4.909,564,3.937,633,6.882,685,6.197,688,5.172,693,3.813,698,8.565,699,8.565,703,4.942,705,4.958,706,4.347,711,3.612,716,3.073,717,4.076,720,6.493,735,5.965,862,5.36,866,5.008,894,3.262,897,5.582,905,5.06,908,6.882,911,5.43,937,3.718,957,5.172,961,4.693,991,4.693,996,5.996,1038,5.294,1048,6.882,1055,6.585,1079,6.493,1109,4.409,1112,5.06,1119,4.909,1158,5.231,1164,5.231,1176,4.863,1180,5.115,1187,5.504,1189,8.239,1207,4.909,1297,5.756,1317,5.957,1623,5.756,1631,4.818,1634,6.071,1684,7.134,1686,6.197,1708,5.852,1730,7.872,1853,7.872,2063,7.134,2102,6.882,2429,6.071,2541,6.493,2572,6.882,2586,7.134,2589,5.231,2590,7.449,2625,6.493,2639,7.134,2916,7.872,3167,10.105,3546,9.86,3560,6.197,3582,7.872,3617,10.71,3623,6.493,3675,8.513,3676,8.513,3677,7.134,3678,7.872,3679,8.513,3680,6.493,3681,7.449,3682,8.513]],["keywords/624",[]],["title/625",[72,746.242,134,887.422]],["content/625",[72,9.844,97,7.261,134,11.707,180,9.514,234,9.567,248,11.214,356,9.62,740,9.62,2098,13.024,2741,15.776]],["keywords/625",[]],["title/626",[116,438.714,205,276.033,398,397.855,616,743.425,741,645.446]],["content/626",[4,1.875,6,0.98,18,3.383,19,3.036,25,0.673,40,3.865,49,4.764,116,9.306,131,5.135,148,8.722,155,3.018,180,4.658,181,2.698,183,3.189,184,2.196,204,4.792,205,6.376,206,3.605,220,7.097,223,5.207,228,4.423,240,4.041,246,3.199,272,4.317,288,5.001,301,2.308,314,3.592,315,6.997,345,7.724,356,9.338,381,3.268,397,9.647,398,7.518,403,8.187,455,4.848,543,3.75,545,4.189,616,7.086,650,5.84,668,5.244,711,4.297,716,5.46,735,4.559,740,4.71,741,12.197,785,3.088,901,3.865,1007,5.322,1170,5.171,1188,8.187,1191,6.459,1204,5.207,1329,5.135,1332,8.134,1339,4.536,1377,4.737,1711,6.641,1872,10.797,1931,6.376,2131,6.084,2165,6.847,2708,11.854,2886,12.443,3058,7.724,3563,6.962,3677,8.487,3678,9.364,3683,9.364,3684,9.086,3685,10.126]],["keywords/626",[]],["title/627",[72,566.533,351,933.04,1548,759.279,3623,907.934]],["content/627",[4,1.788,20,7.729,40,6.587,46,5.586,72,8.213,107,4.239,134,9.767,180,7.938,186,5.101,201,6.665,248,11.857,264,5.003,351,13.527,356,8.026,364,9.356,398,6.462,499,9.069,551,7.853,711,7.323,910,6.943,1089,9.952,1170,8.811,1227,14.342,1694,12.075,3109,14.462,3623,13.163,3629,12.561,3686,17.256]],["keywords/627",[]],["title/628",[191,471.331,879,610.406]],["content/628",[4,2.29,23,2.674,25,1.689,33,2.269,116,7.246,184,3.805,205,4.559,206,6.246,240,3.918,398,8.277,523,9.438,596,12.279,885,12.773,993,8.452,2194,14.187,2510,15.356,2514,15.356,2515,13.061,2589,10.784,3687,17.547,3688,17.547,3689,17.547,3690,17.547]],["keywords/628",[]],["title/629",[23,105.321,25,45.956,107,169.742,185,166.935,264,200.341,315,225.08,480,248.599,675,321.43,709,424.695,742,312.793]],["content/629",[]],["keywords/629",[]],["title/630",[107,260.952,185,256.637,675,494.15,709,652.904,732,371.696]],["content/630",[3,4.847,5,2.275,6,1.794,40,4.022,51,2.521,70,5.576,87,3.661,107,3.826,147,6.721,149,4.37,166,5.712,184,2.285,185,4.476,192,3.542,199,5.045,220,3.724,230,4.92,240,4.137,264,3.054,273,2.311,299,6.553,314,3.737,316,7.67,330,3.745,347,4.847,379,4.82,381,5.026,388,5.91,392,4.901,393,5.667,400,7.013,425,3.79,447,6.721,454,6.812,455,5.045,466,5.496,490,4.186,514,3.777,524,6.909,527,5.418,544,3.931,545,4.314,561,7.327,587,6.721,613,3.712,637,6.019,638,6.076,674,5.705,675,4.901,705,6.136,706,5.38,709,6.475,711,6.61,712,6.401,716,3.804,718,4.276,720,8.037,751,6.475,785,3.213,858,5.307,887,6.136,910,6.267,923,6.909,954,5.537,991,5.808,1011,7.124,1012,7.243,1024,4.957,1118,6.812,1127,11.667,1183,5.808,1403,7.514,1554,7.373,1967,8.259,2126,10.367,2241,8.037,3153,8.83,3691,10.536,3692,10.536,3693,10.536,3694,10.536,3695,10.536,3696,10.536]],["keywords/630",[]],["title/631",[25,58.151,107,214.787,185,211.234,264,253.505,556,312.357,675,406.728,709,537.397]],["content/631",[3,6.668,6,2.136,7,4.525,25,0.964,33,1.874,51,3.469,52,3.994,58,5.309,99,5.106,107,3.56,114,5.673,152,2.886,181,3.862,184,3.143,185,3.501,199,6.94,273,3.179,284,5.142,297,4.112,301,3.303,310,6.561,315,4.721,371,7.561,392,6.742,393,7.796,414,7.628,504,6.426,506,7.859,519,7.796,537,4.751,541,7.068,544,5.408,545,4.015,564,6.705,613,5.106,614,6.269,639,6.899,718,5.882,751,8.908,874,6.426,877,8.059,932,6.596,1329,7.35,1406,11.362,1662,11.362,3142,13.403,3697,14.495,3698,14.495,3699,14.495]],["keywords/631",[]],["title/632",[107,260.952,181,283.072,301,242.127,315,346.025,537,348.193]],["content/632",[4,0.523,6,0.836,19,2.588,22,2.97,23,4.119,24,2.981,25,0.336,32,1.068,33,0.653,34,1.977,35,1.447,37,1.45,44,2.404,45,2.45,46,1.634,65,1.654,69,2.696,88,1.731,114,3.29,124,1.89,131,2.56,136,2.911,151,2.664,152,2.667,155,3.373,161,2.728,162,3.052,164,3.553,167,5.822,181,2.301,183,1.59,184,4.187,185,4.237,191,1.517,192,1.697,196,1.571,198,2.307,201,1.949,205,2.94,206,4.028,208,2.759,219,1.876,220,3.052,222,2.355,224,2.618,230,1.595,239,2.577,240,4.129,241,1.876,242,2.782,246,1.595,255,2.057,264,1.463,271,1.79,273,1.894,275,2.875,278,2.324,284,1.79,299,3.139,307,2.911,314,3.063,315,2.812,323,2.782,330,3.946,334,1.455,335,3.6,347,5.205,355,3.403,356,2.348,371,2.633,392,4.016,395,2.122,425,4.071,427,1.855,455,2.417,466,2.633,467,1.784,477,5.029,480,1.816,490,3.431,545,4.17,550,2.857,553,2.261,559,3.22,572,1.803,581,2.142,590,3.682,611,3.178,622,3.504,630,4.924,632,2.969,639,2.402,642,2.261,652,4.134,668,5.86,674,1.849,675,2.348,706,2.577,708,3.178,709,3.102,718,2.048,719,3.47,722,2.542,732,1.766,735,3.888,752,4.417,758,2.183,764,2.759,765,2.83,767,4.933,770,2.493,771,3.46,772,2.094,773,3.403,774,2.759,775,2.417,776,4.11,777,2.249,780,2.673,806,2.431,858,2.542,861,2.348,882,3.102,891,2.782,910,2.031,914,2.375,917,4.23,926,2.577,1003,4.081,1024,5.323,1042,3.263,1126,3.757,1144,4.417,1157,8.949,1169,2.309,1176,2.883,1187,3.263,1188,4.081,1227,3.31,1309,4.062,1310,5.029,1336,4.417,1342,5.838,1343,3,1345,3.139,1346,8.631,1347,3.139,1353,7.237,1354,3.067,1361,2.715,1377,2.361,1400,2.831,1444,2.388,1540,3.139,1663,4.801,1782,3.6,1803,3.757,2126,3.36,2241,3.85,3551,4.081,3684,3.033,3700,5.047,3701,5.047,3702,5.047,3703,5.047,3704,5.047,3705,5.047,3706,5.047,3707,5.047,3708,5.047,3709,4.23,3710,5.047]],["keywords/632",[]],["title/633",[177,806.215,482,857.071]],["content/633",[]],["keywords/633",[]],["title/634",[6,102.858,185,256.637,330,255.425,544,396.364,618,652.904]],["content/634",[12,4.548,18,4.357,19,3.91,25,0.867,44,3.632,46,4.222,51,3.121,63,2.86,69,4.071,70,5.092,107,3.204,124,4.884,147,8.32,152,2.597,162,4.611,166,7.071,184,2.828,185,3.151,192,4.385,205,3.389,220,4.611,222,3.556,225,6.508,230,4.12,240,4.053,278,3.511,281,5.058,297,3.7,330,4.365,499,6.855,544,7.791,545,5.028,568,7.673,611,8.213,618,8.016,622,5.293,668,6.755,701,8.112,711,5.535,713,8.433,732,4.563,740,6.067,812,9.302,920,6.907,943,6.855,957,7.924,963,5.038,983,7.753,1006,7.924,1035,7.924,1111,8.967,1113,9.494,1127,8.213,1157,7.753,1220,7.451,1323,10.224,1444,6.171,1926,9.127,1984,8.32,2178,9.127,3168,10.931]],["keywords/634",[]],["title/635",[225,562.039,278,422.052]],["content/635",[4,1.492,5,3.108,6,1.394,25,1.292,54,6.256,69,4.493,70,3.51,88,4.936,107,3.536,152,3.867,176,5.253,181,3.835,185,3.477,196,4.48,205,3.74,225,7.88,226,7.35,229,8.074,230,4.547,231,10.266,241,5.35,277,11.202,278,3.875,293,4.029,395,6.052,426,8.953,632,8.468,650,8.302,732,5.036,737,4.839,740,6.695,745,7.869,950,9.581,954,7.565,969,9.733,970,10.98,971,8.557,972,9.44,985,6.695,1042,9.307,1140,10.714,1309,6.772,1310,11.312,1686,10.478,1722,10.478,1731,12.064,2845,11.638,3460,12.597]],["keywords/635",[]],["title/636",[435,717.317,765,513.868]],["content/636",[6,1.944,25,1.335,60,5.643,155,4.509,162,5.347,185,4.85,227,7.778,246,4.779,264,5.821,271,5.366,272,6.449,301,3.447,330,3.637,396,4.942,413,7.834,425,5.442,427,5.56,435,9.186,490,6.01,590,6.449,630,5.56,695,7.47,697,9.649,737,6.75,765,6.581,772,6.274,786,6.48,860,9.19,956,9.525,1020,12.677,1043,11.011,1177,9.296,1183,8.338,1192,9.408,1224,8.809,1406,11.857,1890,11.857,1992,12.229,2671,9.919,3711,13.987]],["keywords/636",[]],["title/637",[202,482.305,563,671.65]],["content/637",[]],["keywords/637",[]],["title/638",[480,564.031,1663,871.749]],["content/638",[5,2.371,6,1.554,19,3.292,22,2.882,23,4.153,24,3.79,25,0.73,32,3.398,34,3.676,35,3.149,37,2.695,70,2.678,155,3.273,176,4.007,185,2.652,271,3.895,278,2.956,297,3.115,334,3.166,355,4.327,385,4.022,480,7.511,498,6.829,572,3.922,590,6.845,630,6.977,737,6.381,758,4.749,765,6.22,767,6.273,770,5.423,771,7.604,772,4.555,773,6.327,774,6.002,775,5.257,776,5.226,780,5.814,863,6.333,869,7.201,906,8.705,934,6.748,1121,7.099,1262,6.748,1400,9.006,1402,7.993,1894,12.246,1895,8.376,1897,12.98,1900,11.95,2203,7.201,2669,7.424,3140,10.154,3202,8.877,3352,14.05,3712,10.98,3713,10.98,3714,10.98,3715,7.099]],["keywords/638",[]],["title/639",[742,709.677,1663,871.749]],["content/639",[6,1.239,23,4.127,34,2.931,35,5.139,37,2.149,124,6.711,152,2.549,184,2.776,185,3.093,191,3.849,202,3.938,224,3.882,271,4.541,438,4.794,556,6.401,569,6.282,571,8.395,572,4.573,581,5.433,622,5.195,630,8.233,693,5.734,737,4.304,742,5.795,758,5.537,765,6.776,767,7.314,770,6.322,771,7.18,772,5.31,773,7.062,774,6.998,775,6.13,780,6.779,887,7.456,943,6.728,1130,11.838,1199,10.035,1219,6.167,1398,8.062,1427,6.832,1617,6.679,1889,8.062,1902,11.013,1903,13.338,2082,11.203,2125,10.351,3339,10.351]],["keywords/639",[]],["title/640",[8,562.569,25,70.65,37,178.358,65,348.193,122,466.294]],["content/640",[1,8.536,2,5.165,3,8.812,6,1.365,8,7.468,20,6.317,37,3.216,45,4.001,51,4.584,52,3.886,58,5.165,62,6.041,98,6.041,107,3.464,113,6.559,175,8.771,185,3.407,199,9.171,200,5.261,210,9.387,232,8.383,240,3.149,256,6.634,287,7.01,297,4.001,310,6.383,319,6.284,395,5.93,400,8.625,504,6.252,514,5.055,524,9.248,536,4.835,560,7.468,567,9.248,622,5.723,675,6.559,709,8.667,716,5.091,763,7.201,866,8.296,873,8.473,1110,8.056,1112,8.383,1335,11.054,1427,7.525,1571,9.535,1871,11.402,3716,14.102,3717,14.102,3718,14.102]],["keywords/640",[]],["title/641",[63,343.83,1410,1372.068]],["content/641",[6,1.508,25,1.036,37,3.839,45,4.419,51,4.899,52,4.292,58,5.706,63,5.015,65,5.106,100,5.769,185,3.763,199,7.459,256,7.329,297,4.419,399,8.516,427,5.727,512,6.377,524,10.216,533,8.818,536,5.342,636,8.516,675,9.523,708,9.81,709,9.574,763,7.955,785,4.751,874,6.907,878,10.216,892,9.574,893,6.55,918,8.818,924,9.937,1236,12.212,1427,8.313,1608,16.048,1638,12.212]],["keywords/641",[]],["title/642",[46,385.295,289,553.65,2254,673.714,3719,1100.681]],["content/642",[3,7.683,4,1.731,6,1.617,12,5.824,33,2.16,45,4.738,51,3.997,70,4.073,155,4.979,200,6.232,230,5.277,273,3.663,289,7.769,322,6.14,408,5.526,544,6.232,693,7.482,732,5.844,740,7.769,785,6.532,891,9.207,910,6.721,914,7.858,920,8.845,1031,12.159,1134,9.454,1315,10.518,1388,10.655,1548,10.655,2253,10.136,2254,9.454,3720,16.703]],["keywords/642",[]],["title/643",[2,435.966,37,199.834,1614,607.783,1843,759.279]],["content/643",[2,6.118,6,1.617,37,2.804,44,4.651,63,3.663,69,5.214,70,4.073,224,5.064,278,4.496,322,6.14,356,7.769,385,6.118,405,8.589,563,7.155,564,7.726,581,7.088,675,7.769,688,10.148,693,7.482,709,10.265,739,10.799,893,7.023,937,7.295,1007,8.778,1029,12.159,1119,9.633,1123,12.432,1207,9.633,1614,8.529,1843,10.655,1969,13.093,2043,12.159,2717,12.741,3721,16.703]],["keywords/643",[]],["title/644",[191,471.331,879,610.406]],["content/644",[6,1.698,25,1.352,45,3.524,49,5.843,63,2.724,70,4.278,97,4.36,98,5.321,107,4.309,171,4.581,181,3.309,184,2.693,185,4.238,191,3.734,195,6.577,196,5.46,208,6.79,215,6.528,225,4.452,228,5.425,239,6.342,255,5.062,256,5.843,265,4.468,278,3.343,307,7.163,315,4.045,322,4.566,331,8.031,379,5.683,385,4.549,393,6.68,398,4.651,409,7.923,419,7.546,426,7.725,432,6.528,437,4.875,523,6.68,539,5.777,563,5.321,586,9.245,638,7.163,675,8.159,693,5.563,709,10.781,717,5.947,857,6.387,881,9.041,883,6.734,892,7.633,893,5.222,921,6.433,932,5.652,996,5.622,1228,8.858,1551,10.042,1598,9.041,1602,7.546,1621,10.869,2094,9.245,2243,10.409,3105,11.485,3722,11.485,3723,12.421,3724,12.421,3725,12.421]],["keywords/644",[]],["title/645",[23,206.245,45,383.895,2111,900.729]],["content/645",[]],["keywords/645",[]],["title/646",[29,772.941]],["content/646",[22,6.375,23,4.083,25,1.362,3726,13.064,3727,20.48,3728,20.48,3729,20.48]],["keywords/646",[]],["title/647",[246,427.504,301,308.418,2111,900.729]],["content/647",[5,3.024,23,4.042,30,6.59,32,4.588,33,1.811,34,4.366,69,4.373,84,7.475,89,12.007,124,7.141,154,7.009,229,10.695,230,4.425,246,4.425,249,7.928,272,5.972,301,4.346,373,3.612,483,7.534,490,5.566,706,7.152,735,6.307,886,5.004,1257,8.724,1332,10.255,2111,14.429,3030,11.325,3367,9.185,3684,11.457,3730,12.258,3731,12.258,3732,16.686,3733,12.953,3734,14.007,3735,14.007]],["keywords/647",[]],["title/648",[735,705.949,2111,1043.588]],["content/648",[12,5.432,23,3.947,32,4.333,34,4.687,89,9.81,124,9.096,171,5.346,230,6.468,330,4.922,452,9.47,688,9.465,735,10.296,786,6.674,1317,14.326,2111,16.792,3030,16.552,3367,7.504,3730,13.633,3731,13.633,3732,13.633,3733,14.406]],["keywords/648",[]],["title/649",[3736,1723.121]],["content/649",[23,4.19,32,4.804,89,9.665,98,8.685,124,5.748,164,6.367,183,4.834,360,8.768,483,8.255,593,12.032,735,6.911,809,7.58,1125,10.741,1257,9.275,2106,8.852,2111,15.11,2927,9.665,3030,12.41,3367,7.393,3730,13.432,3731,13.432,3732,13.432,3736,14.193,3737,15.349,3738,15.349,3739,12.864,3740,15.349,3741,15.349]],["keywords/649",[]],["title/650",[703,695.225]],["content/650",[22,5.375,44,5.702,151,6.318,186,6.053,329,9.126,483,11.015,711,8.691,1024,9.635,1268,10.606,2111,13.631,3742,16.558]],["keywords/650",[]],["title/651",[23,238.957,1814,987.288]],["content/651",[]],["keywords/651",[]],["title/652",[29,772.941]],["content/652",[22,6.375,23,4.083,25,1.362,3726,13.064,3743,18.938,3744,18.938,3745,18.938]],["keywords/652",[]],["title/653",[33,153.915,198,317.966,467,420.766,1814,749.53]],["content/653",[4,1.306,12,2.786,22,4.097,23,4.314,24,4.351,25,1.038,32,1.691,34,2.886,35,2.291,37,1.341,54,3.473,67,3.215,92,3.407,124,6.638,136,4.608,149,3.314,152,2.51,155,4.654,162,2.824,171,3.292,173,7.493,184,3.386,198,2.134,222,2.179,246,3.982,275,2.661,301,1.821,355,3.149,373,4.026,391,4.024,427,4.634,458,3.716,468,3.656,694,3.971,776,6,777,3.561,779,5.318,786,5.4,809,6.225,843,3.617,886,5.577,1058,4.138,1109,4.138,1157,4.75,1169,3.656,1204,4.109,1256,4.522,1268,4.138,1276,4.231,1320,6.78,1444,3.781,1511,11.365,1602,7.659,1704,5.031,1743,14.717,1814,13.515,1872,4.297,2088,5.698,2286,10.192,2966,11.032,3039,7.389,3263,6.696,3746,6.696,3747,10.192,3748,6.263,3749,7.99,3750,7.389,3751,7.389,3752,7.99,3753,7.99,3754,12.606,3755,7.99,3756,10.192,3757,7.99,3758,4.969,3759,6.263]],["keywords/653",[]],["title/654",[154,497.46,858,681.596,1814,852.135]],["content/654",[23,4.241,34,5.198,152,3.056,154,5.642,171,5.294,224,4.654,301,3.498,373,5.228,709,9.433,809,10.012,858,10.211,1602,9.325,1713,8.322,1814,12.766,1983,11.173,2058,9.791,2089,10.066,3263,12.864,3748,12.032,3750,20.992,3760,15.349,3761,15.349,3762,15.349,3763,14.193]],["keywords/654",[]],["title/655",[4,110.083,45,301.381,224,322.118,1814,668.979,3764,773.343]],["content/655",[4,1.651,7,4.975,14,5.991,23,3.167,34,4.758,45,4.521,62,6.827,73,8.137,152,5.188,154,5.858,183,5.019,224,6.3,467,5.633,809,12.101,858,8.027,894,6.107,1086,10.304,1125,11.152,1814,10.035,2783,9.682,3748,18.124,3763,14.736,3764,11.6,3765,15.936,3766,15.936,3767,11.6,3768,15.936]],["keywords/655",[]],["title/656",[3769,1421.376]],["content/656",[4,1.651,19,4.777,33,2.687,54,6.926,63,3.495,107,3.914,136,9.191,149,6.61,155,4.75,173,9.473,224,4.832,301,3.632,308,5.158,373,5.963,391,8.027,413,8.253,444,11.152,512,6.523,514,5.713,550,9.02,717,7.63,782,9.375,786,6.827,1058,8.253,1082,10.607,1398,10.035,1743,12.156,1814,15.429,2088,14.819,3715,10.304,3770,11.862,3771,14.736,3772,14.736]],["keywords/656",[]],["title/657",[25,70.65,33,137.374,100,393.423,142,624.992,1081,652.904]],["content/657",[]],["keywords/657",[]],["title/658",[33,174.985,142,796.106,437,531.112]],["content/658",[]],["keywords/658",[]],["title/659",[308,507.514,965,975.122]],["content/659",[4,1.109,5,4.036,6,1.997,10,4.233,16,5.501,22,4.134,23,3.959,28,6.813,29,6.534,32,2.264,34,4.722,44,2.979,51,2.56,58,5.769,60,3.991,70,2.609,87,3.718,99,3.769,104,7.234,107,2.628,142,6.294,154,3.933,161,3.38,164,3.36,171,2.794,184,2.32,186,3.162,189,5.463,202,3.291,222,2.917,230,3.38,232,6.359,265,3.849,273,3.454,275,3.562,286,6.575,297,3.035,308,6.675,322,3.933,334,3.085,389,5.501,440,7.286,527,5.501,535,8.386,549,5.623,556,7.852,557,6.259,674,3.918,694,5.318,809,5.283,965,13.671,2098,6.737,2502,5.318,2861,8.386,3773,9.893,3774,15.752,3775,10.698,3776,10.698,3777,10.698,3778,11.233,3779,10.698,3780,10.698,3781,6.824,3782,10.698]],["keywords/659",[]],["title/660",[3783,1863.425]],["content/660",[4,1.579,5,4.356,6,2.19,10,6.029,11,9.992,37,3.387,44,4.243,51,4.828,52,4.198,54,6.622,75,9.852,76,9.057,142,11.869,175,9.476,176,5.56,182,3.04,191,4.58,200,7.527,264,4.417,275,5.073,301,3.473,308,4.932,373,3.929,375,7.949,467,5.386,539,7.087,567,9.992,664,10.094,692,7.78,775,7.295,915,11.341,944,8.547,1109,7.891,1143,9.852,1444,7.21,1860,11.622,2301,9.719,3784,13.334]],["keywords/660",[]],["title/661",[100,690.067]],["content/661",[4,2.01,5,1.745,6,1.232,14,4.782,16,4.156,19,2.423,22,4.128,23,3.894,28,3.496,29,5.277,30,3.803,32,2.692,33,2.509,34,1.851,37,2.641,53,3.414,73,4.127,82,5.656,85,3.893,98,3.463,100,8.271,107,1.985,114,3.698,140,6.336,142,12.682,152,1.609,162,2.857,171,2.111,175,5.027,180,5.852,182,3.139,183,2.546,184,1.753,186,2.389,198,3.398,201,3.122,202,3.913,205,3.305,215,4.248,217,2.887,240,1.805,264,3.688,271,2.867,273,2.79,274,5.226,311,3.463,314,2.867,315,2.633,322,2.971,329,3.602,366,3.893,368,5.09,372,5.226,389,4.156,407,3.942,416,5.38,417,5.728,437,3.172,467,2.857,480,2.908,483,6.842,516,4.156,544,3.016,577,5.027,607,4.382,698,5.226,737,2.718,785,2.465,879,3.147,897,5.301,1021,4.347,1255,6.535,1631,4.575,1650,4.805,1713,4.382,1872,4.347,2467,6.774,2560,5.301,2753,7.475,2966,7.074,2995,6.336,3223,6.016,3785,6.774,3786,15.612,3787,12.722,3788,8.083,3789,8.083,3790,5.656,3791,7.074,3792,7.074,3793,7.074,3794,7.074,3795,7.074,3796,7.074,3797,12.722,3798,7.074,3799,8.083,3800,8.083,3801,8.083,3802,8.083,3803,8.083,3804,8.083,3805,7.074,3806,8.083,3807,8.083,3808,7.475,3809,7.475]],["keywords/661",[]],["title/662",[25,123.921]],["content/662",[4,1.646,5,2.613,6,1.172,7,2.913,8,2.928,10,2.188,12,1.928,18,1.847,20,2.477,22,4.52,23,4.145,24,3.221,25,1.379,28,2.392,29,3.87,32,3.009,33,2.054,34,3.636,35,4.939,37,2.032,44,1.54,45,2.647,51,1.323,52,2.571,61,2.974,63,1.213,73,4.765,83,4.025,84,4.979,86,2.234,100,7.678,103,2.464,107,1.358,108,2.885,111,3.521,114,1.608,122,2.427,142,12.197,152,1.858,155,1.648,162,1.955,164,1.736,171,1.444,175,3.439,176,2.018,180,4.292,182,2.837,183,1.742,185,1.336,186,1.634,191,1.662,192,1.859,196,1.721,198,3.798,200,2.063,224,3.67,251,3.075,264,4.122,271,1.962,273,3.118,275,1.841,284,1.962,288,2.731,319,2.464,330,1.33,334,1.594,359,4.025,373,1.426,387,3.221,400,2.49,408,5.699,414,2.162,421,2.864,534,3.944,538,2.749,539,2.572,543,3.455,544,2.063,555,3.439,572,1.975,630,5.227,660,3.102,722,2.785,736,2.071,737,1.859,757,3.575,758,2.392,763,7.26,764,3.023,765,1.812,770,2.731,771,4.85,772,2.294,773,3.677,774,3.023,775,2.648,777,2.464,787,2.68,804,4.522,805,3.626,875,2.928,894,2.119,975,2.974,1077,5.281,1143,3.575,1160,2.804,1219,2.664,1300,2.544,1308,3.13,1313,3.287,1320,2.974,1333,4.116,1613,3.075,1891,3.87,2106,3.189,3778,3.323,3781,7.721,3786,10.593,3790,3.87,3791,4.839,3792,4.839,3793,4.839,3794,4.839,3795,4.839,3796,4.839,3798,4.839,3805,4.839,3810,4.839,3811,8.166,3812,4.839,3813,3.36,3814,3.626,3815,4.839,3816,4.839,3817,4.839,3818,8.166,3819,4.839]],["keywords/662",[]],["title/663",[191,471.331,879,610.406]],["content/663",[25,1.336,33,2.597,179,9.983,188,11.266,205,5.219,206,7.149,857,10.328,883,10.889,886,7.174,1444,9.504,3186,16.238,3820,18.572,3821,17.576]],["keywords/663",[]],["title/664",[6,151.799,435,717.317]],["content/664",[6,2.085,152,4.288,193,8.63,435,9.854,1058,11.155,1388,13.739]],["keywords/664",[]],["title/665",[3255,1561.679]],["content/665",[]],["keywords/665",[]],["title/666",[334,537.276]],["content/666",[2,5.749,18,5.243,20,10.281,25,1.044,28,8.898,29,6.511,37,3.454,46,5.081,65,5.144,81,11.194,94,9.762,107,3.855,122,6.889,186,4.639,196,4.885,222,4.28,271,5.568,373,5.306,398,5.878,458,7.301,642,7.031,853,8.967,879,6.111,886,5.607,1089,11.866,1264,11.683,1697,8.884,2667,13.154,3280,12.69,3822,15.696,3823,12.304,3824,15.696,3825,15.696,3826,15.696,3827,15.696,3828,12.304]],["keywords/666",[]],["title/667",[20,702.281,569,769.371]],["content/667",[14,7.27,20,11.32,89,12.178,98,8.284,198,6.27,202,5.949,458,8.995,886,6.908,1114,9.875,2892,19.671,2976,16.924,3829,19.339,3830,14.394]],["keywords/667",[]],["title/668",[186,463.43,3831,1313.99]],["content/668",[20,10.243,28,6.738,46,6.627,97,5.469,98,6.674,111,5.878,155,6.816,156,10.841,186,4.605,198,4.162,202,4.792,255,6.349,330,3.746,368,9.81,373,5.28,409,9.937,441,15.616,516,8.011,711,6.611,879,6.065,1024,7.329,1108,10.533,1310,9.073,1648,14.326,2098,9.81,2099,13.056,2194,12.595,2301,9.937,2976,13.633,3832,15.579,3833,15.579,3834,15.579,3835,14.406,3836,15.579]],["keywords/668",[]],["title/669",[1074,857.071,1147,864.293]],["content/669",[44,6.06,1147,11.997,1598,15.842,1749,16.601,3255,18.239]],["keywords/669",[]],["title/670",[387,1085.252]],["content/670",[20,8.541,28,8.247,29,5.81,44,3.9,67,7.672,71,15.98,72,6.667,89,8.82,109,9.057,114,4.072,152,2.789,185,3.384,186,4.14,190,6.552,301,3.192,311,6.001,361,7.857,366,6.747,373,6.001,387,8.158,466,11.309,510,7.103,596,9.802,674,5.13,769,10.196,806,10.442,1147,10.511,1339,6.274,1716,9.99,2308,8.82,2344,11.325,2642,11.325,2707,10.685,2892,11.739,3255,11.739,3280,11.325,3830,16.136,3831,11.739,3837,12.953,3838,14.007,3839,12.953,3840,14.007,3841,14.007,3842,14.007]],["keywords/670",[]],["title/671",[1792,1077.888,1872,843.27]],["content/671",[]],["keywords/671",[]],["title/672",[504,695.115,581,665.361]],["content/672",[23,4.293,24,6.214,32,3.81,34,4.122,50,9.924,151,5.554,164,5.653,167,7.824,355,7.094,1260,15.087,3843,18.002,3844,18.002,3845,15.754,3846,15.754,3847,15.754]],["keywords/672",[]],["title/673",[257,702.281,581,665.361]],["content/673",[22,4.567,23,4.312,24,6.006,32,3.682,34,3.984,50,9.592,151,5.368,164,5.464,167,7.562,355,6.857,834,15.227,1260,14.583,3845,15.227,3846,15.227,3847,15.227,3848,21.986]],["keywords/673",[]],["title/674",[581,665.361,1263,1118.181]],["content/674",[8,7.176,23,4.356,24,4.678,32,2.868,34,3.103,45,3.844,50,7.47,87,4.709,125,5.362,144,8.328,151,4.181,162,4.79,164,4.256,167,5.89,171,3.539,196,5.802,203,6.872,355,5.34,366,6.528,1220,7.742,1254,9.163,1260,11.357,1872,11.461,2942,10.623,3845,11.859,3846,11.859,3847,11.859,3849,11.859,3850,12.531,3851,11.859,3852,13.552,3853,13.552,3854,13.552,3855,11.859]],["keywords/674",[]],["title/675",[1090,907.934,1792,818.312,1872,640.194,3375,792.272]],["content/675",[4,1.882,22,4.766,23,3.442,151,5.602,154,6.675,203,9.208,438,6.8,1090,13.851,1617,9.473,1792,15.524,1872,13.218,3375,12.087,3856,16.792,3857,18.159,3858,13.851,3859,13.516,3860,24.577,3861,18.159]],["keywords/675",[]],["title/676",[972,887.426,1845,1134.114,3375,900.729]],["content/676",[4,2.231,14,6.33,22,4.419,23,3.282,25,1.432,33,2.177,45,4.777,51,4.029,87,5.851,111,6.354,154,6.19,198,4.498,458,7.832,763,8.598,950,11.207,972,14.12,1026,12.844,1792,11.576,1845,18.045,1872,9.056,1914,12.008,2813,14.735,3375,11.207,3862,15.57,3863,19.893,3864,14.111]],["keywords/676",[]],["title/677",[25,89.993,45,383.895,628,765.941]],["content/677",[]],["keywords/677",[]],["title/678",[25,89.993,628,765.941,785,412.676]],["content/678",[4,1.556,19,4.502,23,4.1,25,1.493,32,3.178,45,4.26,110,6.624,124,7.483,171,5.218,177,7.722,260,7.777,373,3.873,414,5.87,476,12.14,545,6.22,590,6.403,628,11.31,737,6.718,785,7.602,1114,10.203,1300,9.192,2671,9.848,3865,13.142,3866,15.017,3867,11.455]],["keywords/678",[]],["title/679",[785,568.257]],["content/679",[4,1.818,40,6.698,44,4.886,64,11.864,152,3.493,186,5.187,246,5.543,260,9.087,301,3.999,329,7.819,398,6.571,476,10.661,515,8.666,545,4.86,711,7.446,716,6.335,785,7.745,879,6.831,993,8.452,1024,8.255,1155,11.864,1991,13.755,2165,11.864,3865,15.356,3868,17.547]],["keywords/679",[]],["title/680",[29,772.941]],["content/680",[4,1.622,5,2.73,22,5.073,23,4.253,24,4.364,25,1.181,32,3.312,33,1.037,34,4.067,35,2.3,36,4.184,37,1.347,44,2.233,45,5.039,70,1.956,111,5.906,152,1.597,171,2.094,198,3.378,224,2.432,225,2.875,241,2.981,246,3.994,271,2.845,275,2.671,319,5.635,334,2.313,373,2.069,467,5.533,476,11.744,572,2.865,590,3.42,628,13.971,630,5.754,737,5.262,758,6.769,765,5.13,770,3.961,771,6.271,772,3.327,773,3.161,774,4.385,775,6.054,776,6.018,777,3.574,779,5.339,780,4.247,785,4.773,787,3.887,879,3.123,1160,4.067,1219,3.864,1300,3.69,1309,3.773,1712,5.613,1931,5.051,2121,7.771,2671,5.26,2768,5.613,3726,5.116,3747,6.485,3867,6.118,3869,8.021,3870,8.021,3871,8.021,3872,12.644,3873,8.021,3874,8.021,3875,8.021,3876,6.485,3877,8.021,3878,7.019,3879,6.485]],["keywords/680",[]],["title/681",[628,765.941,785,412.676,1165,887.426]],["content/681",[4,1.664,14,4.128,18,5.363,19,3.292,23,4.108,34,2.514,54,4.772,62,4.704,65,3.599,67,6.46,97,3.855,107,2.697,152,3.196,171,2.867,201,4.241,222,2.994,301,2.503,334,3.166,373,5.984,381,3.543,476,11.531,557,4.363,600,5.906,611,6.914,628,11.818,656,6.527,667,8.376,668,5.687,716,3.964,737,3.692,775,9.087,785,7.493,804,11.246,942,11.403,955,6.333,975,5.906,1041,8.607,1165,10.529,1192,6.829,1268,5.687,1300,5.051,1712,7.684,2079,6.273,3659,9.202,3867,12.246,3878,9.609,3879,15.344,3880,9.202,3881,14.846]],["keywords/681",[]],["title/682",[69,371.572,373,306.972,490,472.946,785,362.986]],["content/682",[4,1.181,23,4.404,33,1.474,34,2.61,53,4.816,54,4.955,67,4.587,69,3.559,152,3.285,172,6.575,186,3.37,187,7.007,222,3.109,230,6.126,246,3.602,322,4.191,396,3.725,490,4.53,628,9.339,668,5.904,736,6.179,785,5.032,804,10.3,901,4.352,1192,7.091,1479,6.395,1646,7.589,2031,8.131,2508,9.218,3878,9.977,3879,17.183,3882,11.401]],["keywords/682",[]],["title/683",[628,887.422,787,759.84]],["content/683",[4,1.556,23,4.203,34,4.12,45,2.845,69,3.131,88,3.439,152,4.471,154,5.519,171,4.699,184,2.175,186,2.964,205,2.606,225,3.595,273,2.199,373,2.586,425,3.608,427,3.687,438,3.756,458,4.665,476,12.998,556,3.582,628,10.185,668,5.194,716,3.621,771,8.005,785,6.524,787,10.368,804,4.86,993,4.831,1165,6.577,1169,10.273,1204,5.157,1257,4.588,1300,9.841,1417,5.482,1614,5.121,1686,7.3,2058,6.397,2130,6.577,2131,6.026,2321,6.315,2671,6.577,2677,7.018,2779,6.163,3778,10.812,3867,7.65,3879,12.138,3881,9.274,3883,8.776,3884,9.274,3885,15.014,3886,15.014]],["keywords/683",[]],["title/684",[152,312.153,809,774.288]],["content/684",[23,4.082,34,5.087,88,6.068,124,8.321,152,3.523,154,6.505,171,5.802,447,11.288,628,12.577,785,5.396,809,8.739,810,15.486,2130,11.605,3879,14.307,3887,15.276,3888,15.486,3889,17.696]],["keywords/684",[]],["title/685",[184,340.004,628,887.422]],["content/685",[5,4.098,6,2.092,19,4.171,25,1.262,53,5.877,152,5.199,184,5.267,186,4.113,192,4.678,220,4.918,223,9.76,230,4.396,239,7.105,241,7.055,334,4.012,368,8.762,427,5.115,543,5.153,545,5.257,569,6.828,628,13.747,737,6.381,772,7.873,785,7.407,942,8.36,1111,9.566,1792,9.566,1862,12.176,1872,7.483,2075,10.613,2861,10.907]],["keywords/685",[]],["title/686",[629,1267.615,3890,1567.878]],["content/686",[4,2.521,6,2.068,25,1.298,33,2.151,40,4.4,45,4.718,70,2.811,88,3.952,92,4.915,110,5.085,152,2.295,162,4.075,177,5.927,184,2.5,186,3.407,202,3.546,217,4.118,220,6.897,222,4.535,230,3.642,233,10.088,241,4.285,246,3.642,273,2.528,274,7.453,288,5.693,310,5.218,381,6.893,387,6.713,398,4.317,414,7.627,421,5.97,435,5.274,452,5.332,515,5.693,551,5.245,607,6.25,628,13.357,629,13.447,668,5.97,732,4.033,765,3.778,785,5.072,857,5.927,894,4.417,1000,6.2,1169,5.274,1204,10.033,1224,6.713,1227,7.559,1595,7.169,1604,7.453,1821,7.673,2023,5.621,2165,7.794,2628,8.793,2683,14.555,3333,9.32,3891,11.527]],["keywords/686",[]],["title/687",[4,162.462,628,887.422]],["content/687",[4,2.469,18,5.67,67,6.83,70,4.14,152,4.744,217,6.064,225,6.085,230,5.363,319,7.564,330,4.081,334,4.894,396,7.071,516,8.729,628,14.203,667,12.948,668,8.791,717,8.128,754,13.306,772,7.041,785,5.177,1040,10.828,1134,9.608,1310,9.886,1646,11.299]],["keywords/687",[]],["title/688",[179,779.313,628,887.422]],["content/688",[4,1.62,6,1.514,7,3.306,18,5.222,19,3.174,21,6.107,25,1.04,45,3.004,46,5.06,70,2.583,79,5.608,85,5.101,86,4.279,114,4.545,118,8.875,125,4.19,152,3.7,171,2.765,177,5.445,179,5.264,192,3.56,222,2.888,225,8.494,227,5.445,228,4.625,229,5.94,230,3.345,231,7.552,252,4.106,271,3.756,278,2.851,322,3.893,330,2.546,381,5.997,395,4.453,425,3.81,440,4.898,483,5.696,486,6.295,496,4.279,510,7.928,536,3.631,545,2.933,552,8.216,590,6.665,614,4.58,622,4.297,628,12.965,630,3.893,639,5.04,645,6.23,668,5.484,715,7.882,717,5.07,732,5.47,737,3.56,739,6.847,785,3.229,894,5.991,1082,7.048,1116,7.771,1197,7.41,1309,8.743,1310,9.105,1558,6.508,1596,9.792,1728,7.882,1889,6.668,1966,7.41,2032,8.562,2304,7.709,2612,7.552,3892,10.59,3893,10.59,3894,10.59,3895,10.59]],["keywords/688",[]],["title/689",[577,975.122,628,887.422]],["content/689",[4,1.481,6,1.384,44,3.981,64,9.666,67,5.752,111,5.394,217,5.107,225,6.93,254,8.498,271,5.071,296,10.641,297,4.055,322,7.107,330,3.437,334,4.122,389,7.351,425,5.143,440,6.612,462,5.68,486,8.498,545,3.96,598,9.666,607,7.751,628,13.283,639,6.804,761,10.406,785,5.896,952,8.091,1047,10.406,1108,9.666,1310,12.758,1501,8.167,2106,8.245,2186,13.219,2301,9.119,2421,10.641,2422,11.558,3592,10.641,3896,14.296,3897,14.296,3898,12.51,3899,14.296,3900,14.296,3901,14.296,3902,14.296,3903,14.296,3904,14.296]],["keywords/689",[]],["title/690",[225,485.1,1110,773.065,1309,636.63]],["content/690",[4,1.906,6,1.781,14,6.915,25,0.884,49,6.253,63,2.915,70,3.242,92,5.667,107,3.265,113,6.183,114,5.347,179,6.607,181,3.542,184,2.883,225,6.594,226,6.787,230,4.199,264,3.854,272,7.843,298,6.523,395,5.589,425,6.617,515,6.564,529,7.524,573,9.138,628,11.939,639,6.327,715,9.894,858,6.695,901,5.074,905,7.901,921,6.884,954,6.986,965,8.267,971,10.934,1220,7.593,1239,11.14,1309,8.653,1310,13.257,1479,7.456,1646,8.847,1728,9.894,2078,11.632,2677,9.302,2804,12.292,3767,9.676,3905,13.292,3906,12.292,3907,13.292,3908,13.292,3909,13.292,3910,13.292]],["keywords/690",[]],["title/691",[19,240.822,65,263.302,225,287.985,381,259.246,628,454.709,737,270.095,1309,377.942,1310,467.879]],["content/691",[6,1.247,11,8.447,19,5.395,23,3.969,32,2.726,35,5.161,65,5.898,70,3.141,79,6.821,88,6.171,113,5.992,152,3.583,161,4.069,164,5.651,204,8.516,225,4.618,241,4.788,246,4.069,271,4.569,298,8.831,301,2.936,310,5.831,330,4.327,545,5.745,552,6.77,592,7.826,628,7.291,632,7.578,668,6.671,737,4.331,772,5.343,785,3.928,1116,6.403,1309,6.06,1310,10.481,2552,10.415,2690,11.273,2692,9.014,3170,9.826,3583,16.642,3911,12.881,3912,12.881,3913,12.881,3914,12.881,3915,12.881,3916,12.881,3917,12.881,3918,12.881,3919,9.377,3920,11.912]],["keywords/691",[]],["title/692",[45,444.782,506,850.067]],["content/692",[]],["keywords/692",[]],["title/693",[23,161.915,408,351.501,506,575.999,3921,832.767,3922,890.35]],["content/693",[2,5.421,4,1.534,5,2.124,6,0.953,12,7.774,23,4.194,24,3.396,25,1.183,32,4.491,34,2.253,35,2.822,37,3.743,45,4.199,68,5.171,73,5.024,151,4.566,167,4.276,189,5.024,198,3.954,273,2.158,289,9.87,293,2.754,355,3.877,373,2.538,408,6.547,438,3.685,490,5.881,506,10.729,556,5.287,643,7.017,652,4.711,716,3.552,843,6.699,894,3.771,983,11.763,996,4.454,1612,13.242,1628,5.788,1716,7.017,2253,4.656,3921,7.713,3922,8.246,3923,7.324,3924,16.451,3925,16.451,3926,9.839,3927,9.098,3928,14.8,3929,14.8,3930,9.839,3931,9.839,3932,9.839,3933,9.839]],["keywords/693",[]],["title/694",[1021,1002.228]],["content/694",[33,2.874,506,12.051,689,12.151]],["keywords/694",[]],["title/695",[23,146.203,107,356.649,181,255.603,185,231.733,577,596.617]],["content/695",[]],["keywords/695",[]],["title/696",[46,438.039,405,695.85,527,695.85]],["content/696",[4,1.526,5,4.475,6,2.007,9,3.347,14,4.418,15,4.261,16,3.762,18,2.444,19,2.193,37,1.228,40,2.793,44,3.272,46,2.368,49,3.442,51,4.72,52,4.058,61,9.071,70,4.113,72,5.594,75,7.599,77,5.915,107,1.797,111,2.761,122,3.211,124,2.74,131,3.71,147,4.667,149,6.11,162,2.586,171,1.911,176,4.289,181,1.95,182,1.46,186,4.354,191,5.553,204,3.462,205,3.827,215,3.845,220,2.586,222,3.205,230,2.311,240,3.289,254,4.349,271,2.595,275,3.913,287,3.637,304,3.685,315,2.383,330,1.759,382,3.762,391,3.685,392,3.403,396,3.84,405,3.762,413,6.087,418,5.735,457,4.947,458,3.403,467,2.586,490,2.907,498,4.55,507,7.309,515,3.613,521,5.915,539,5.467,545,2.027,576,6.132,581,3.105,673,3.817,674,2.68,694,3.637,703,6.292,711,3.105,716,2.641,736,2.74,773,2.883,812,8.382,827,4.497,855,4.349,864,4.798,866,4.304,878,4.798,884,4.261,894,4.504,944,8.262,958,5.436,967,5.326,1109,3.789,1158,4.497,1160,3.71,1174,4.445,1317,5.12,1327,3.904,1389,5.915,1413,6.132,1444,3.462,1526,4,1617,6.131,1705,5.915,1706,4.798,1707,8.382,1708,5.03,1710,8.965,1712,5.12,1713,3.967,1722,5.326,1724,4.731,1743,5.581,1745,6.766,1766,7.823,1902,4.497,2242,5.735,2431,5.581,2533,10.285,2534,6.132,2537,6.766,2671,4.798,2714,10.126,2720,4.607,2861,5.735,3094,6.403,3097,6.403,3274,6.132,3934,7.317,3935,7.317,3936,7.317,3937,6.766,3938,6.766,3939,6.766]],["keywords/696",[]],["title/697",[10,470.996,15,693.228,37,199.834,51,284.834]],["content/697",[4,1.471,5,5.052,6,2.368,18,4.743,19,4.256,37,2.384,46,4.596,51,5.224,52,3.912,53,8.129,70,4.693,156,7.519,184,3.079,185,3.43,191,4.268,205,3.689,220,6.803,229,7.964,246,6.079,278,3.822,308,4.596,357,10.126,364,7.698,410,9.18,444,9.936,487,8.941,663,7.827,668,7.353,809,9.503,873,8.531,894,7.374,932,6.461,1112,8.44,1143,9.18,1332,7.636,1333,10.568,2720,8.941,2724,10.568,2728,10.83,2729,13.129,3940,14.198]],["keywords/697",[]],["title/698",[225,667.984]],["content/698",[4,1.228,5,1.966,6,0.52,12,1.873,18,4.662,22,1.41,23,2.127,33,1.805,37,0.902,40,5.327,44,2.536,46,1.739,54,2.335,62,2.302,67,3.664,70,3.809,72,2.557,86,2.171,88,5.356,107,2.237,110,2.37,114,1.562,116,6.45,125,3.603,148,3.099,152,4.743,154,5.13,161,1.697,162,5.998,181,2.426,183,1.692,184,3.026,198,2.433,201,2.075,203,2.725,204,4.309,205,4.698,206,1.913,217,1.919,220,3.219,224,1.629,225,8.329,226,9.233,227,7.176,228,2.347,230,2.877,231,9.953,240,3.116,242,2.962,246,2.877,252,2.083,271,5.541,273,1.178,277,3.099,278,1.446,279,3.194,282,6.946,288,2.653,296,3.999,298,4.469,301,1.225,310,2.432,322,4.357,325,3.76,330,4.348,366,2.588,381,2.939,387,3.129,388,3.014,407,2.62,419,3.264,437,2.109,455,4.36,481,2.962,482,2.937,483,2.89,490,2.135,520,2.432,544,2.005,552,2.824,580,4.189,597,4.212,607,2.913,622,2.18,628,6.708,630,1.975,631,3.129,632,3.161,664,2.688,673,4.751,689,2.937,716,5.639,734,2.706,736,3.41,771,4.749,775,4.36,858,2.706,894,3.49,906,2.913,1009,4.702,1072,8.294,1074,2.937,1081,3.302,1086,5.888,1114,4.65,1116,2.671,1125,3.76,1160,2.725,1166,3.523,1169,2.458,1173,3.194,1192,3.342,1268,6.138,1272,3.911,1332,2.89,1398,3.383,1444,2.542,1560,3.694,1571,3.633,1611,10.388,1724,5.888,1822,3.999,1946,4.344,1966,3.76,1970,3.832,2129,4.968,2178,6.373,2334,4.212,2444,5.533,2541,4.098,2552,4.344,2589,5.597,2598,4.098,2605,4.968,2677,6.373,2683,4.702,2708,4.212,2979,3.633,3067,7.969,3515,4.503,3563,3.694,3715,3.474,3919,3.911,3941,9.107,3942,5.373,3943,5.373,3944,5.373,3945,11.852,3946,5.373]],["keywords/698",[]],["title/699",[180,721.234,3947,1449.827]],["content/699",[7,5.234,12,4.064,18,3.894,22,3.059,33,2.168,70,2.843,88,3.997,107,2.863,148,6.722,156,6.172,180,10.465,181,3.106,184,2.528,185,2.816,192,3.919,194,6.788,196,3.628,205,5.102,206,6.989,211,9.424,219,6.232,220,5.927,222,3.178,246,5.296,264,3.379,273,2.556,301,3.821,321,7.163,330,4.031,361,6.538,373,5.538,424,10.84,490,4.631,496,4.71,499,6.126,570,10.778,650,6.722,675,5.422,704,6.126,716,4.208,736,4.365,740,5.422,769,8.485,865,7.644,888,6.081,910,4.69,1066,6.22,1251,8.485,1554,8.157,1610,7.249,1634,8.313,2098,10.557,2114,7.644,2117,7.644,2183,12.204,2192,9.424,2281,7.758,2421,8.676,2482,9.769,2586,9.769,2741,8.891,2813,10.2,3454,10.778,3677,9.769,3948,11.656,3949,11.656,3950,11.656]],["keywords/699",[]],["title/700",[985,729.273,1860,1195.939]],["content/700",[4,1.71,6,1.104,16,5.862,18,7.099,22,2.992,70,5.183,72,5.426,107,4.053,114,3.314,124,4.27,152,3.285,181,5.663,184,5.098,185,2.754,198,3.046,205,5.038,220,5.833,246,3.602,264,5.622,278,3.069,301,2.598,366,7.948,373,2.94,374,9.218,388,9.255,402,6.575,433,8.299,464,8.486,476,6.927,482,6.232,487,7.179,501,5.862,544,6.156,545,3.158,579,7.371,582,6.395,648,7.179,716,5.957,736,4.27,740,5.303,812,8.131,886,4.073,894,4.369,1155,7.709,1204,5.862,1332,6.132,1564,7.273,1695,9.977,1991,8.937,2430,9.555,2517,9.977,2617,12.934,2642,9.218,2783,6.927,3919,8.299,3937,10.543,3938,10.543,3951,7.978,3952,9.218,3953,11.401,3954,11.401,3955,11.401,3956,11.401,3957,11.401,3958,11.401]],["keywords/700",[]],["title/701",[305,975.122,359,1141.31]],["content/701",[5,2.371,6,1.554,14,6.035,15,9.35,18,3.668,19,3.292,25,0.73,33,2.454,40,4.191,44,3.057,65,3.599,70,5.659,72,5.226,88,3.765,92,4.682,107,2.697,144,6.748,152,4.423,171,2.867,181,2.926,184,5.032,186,3.246,192,3.692,198,4.289,201,4.241,219,4.081,220,6.709,222,2.994,228,4.796,239,5.607,241,4.081,242,6.053,243,5.051,246,5.072,264,3.183,273,2.408,278,4.322,305,6.829,316,7.993,322,4.036,334,3.166,359,11.687,368,6.914,396,6.822,421,8.315,426,6.829,534,7.831,716,6.852,736,6.013,737,3.692,747,7.831,856,7.099,894,4.208,906,5.953,912,5.728,1160,5.568,1173,6.527,1564,7.004,1863,12.585,1926,11.235,1966,7.684,1970,7.831,3469,9.609,3919,7.993,3959,10.98]],["keywords/701",[]],["title/702",[33,174.985,205,351.607,435,619.122]],["content/702",[5,2.666,6,1.195,14,6.567,33,2.85,70,3.011,88,4.234,107,3.033,111,4.659,125,4.886,147,7.876,148,7.121,152,4.036,156,6.538,162,7.166,181,3.29,182,3.485,185,2.983,186,3.649,192,4.151,196,3.843,201,4.769,205,4.539,220,4.365,222,3.367,223,6.349,227,6.349,254,7.339,264,3.579,293,3.456,301,2.814,330,4.2,398,4.624,435,10.64,444,8.64,487,7.775,545,5.615,568,7.264,737,4.151,765,5.725,864,8.097,995,8.806,1204,6.349,1224,7.191,1332,6.641,1564,7.876,1629,9.678,2111,8.218,2443,9.678,2532,10.348,2707,9.418,2752,11.417,2783,7.501,2830,11.417,3680,9.418,3960,10.805,3961,10.805,3962,12.347,3963,9.418,3964,12.347,3965,12.347]],["keywords/702",[]],["title/703",[58,574.258,63,343.83]],["content/703",[1,3.778,4,1.681,5,3.502,6,1.921,7,4.122,9,3.879,12,4.604,15,4.937,19,2.541,25,0.878,30,3.988,33,1.096,37,2.217,40,5.041,41,8.929,44,3.677,51,4.382,52,3.639,62,3.632,63,3.557,67,6.526,70,3.22,84,8.656,86,5.336,97,2.976,107,3.244,114,4.715,124,3.175,125,3.355,151,2.616,152,1.688,154,7.295,173,7.85,181,3.519,186,2.506,187,5.21,198,2.265,200,3.163,201,5.1,219,4.908,234,3.921,240,1.893,246,2.678,264,3.828,278,2.282,293,2.373,308,2.744,357,6.046,364,4.597,373,3.406,395,3.565,399,7.219,400,8.245,408,2.805,458,3.943,469,6.646,496,3.426,501,6.79,544,4.927,545,2.348,642,3.797,648,5.338,660,4.755,683,5.933,689,4.634,703,3.163,785,2.585,787,4.109,886,3.028,889,5.732,902,4.843,940,8.023,983,5.04,1030,6.48,1602,5.151,1713,7.16,1827,4.755,1874,6.854,2023,4.134,2065,10.676,2130,8.66,2175,6.31,2427,6.467,2443,6.646,2555,7.419,2567,7.105,2610,7.419,2738,7.84,2739,7.84,2740,7.105,3158,6.854,3159,7.419,3448,6.854,3564,6.046,3966,8.478,3967,8.478,3968,8.478,3969,8.478,3970,8.478,3971,8.478,3972,8.478,3973,8.478,3974,8.478,3975,8.478]],["keywords/703",[]],["title/704",[967,1141.31,3963,1195.939]],["content/704",[6,1.384,14,5.374,33,1.849,37,2.4,46,4.627,62,6.124,63,3.135,65,6.336,107,3.511,156,7.57,176,7.994,177,7.351,181,3.809,189,7.3,192,6.5,205,5.023,220,5.053,264,5.605,272,6.095,273,3.135,306,10.195,321,8.786,372,9.243,373,5.649,391,7.2,407,6.971,482,7.815,543,5.294,555,8.891,703,5.334,723,9.666,888,10.086,967,14.073,1109,7.404,1315,9.002,1339,6.403,1602,8.685,1650,8.498,2131,8.59,2281,9.515,2308,9.002,2560,9.375,3067,12.51,3564,10.195,3976,14.296]],["keywords/704",[]],["title/705",[6,151.799,1021,843.27]],["content/705",[4,0.982,6,1.684,7,2.96,14,3.564,25,0.957,33,2.7,40,6.64,44,2.64,46,5.63,62,6.165,63,2.079,65,3.107,69,2.96,72,4.513,100,3.511,107,5.129,114,5.057,152,2.865,156,5.021,181,5.563,184,4.767,186,2.802,189,4.841,192,4.838,198,3.844,201,3.662,205,3.739,220,3.352,222,3.924,234,6.657,246,4.546,272,4.042,273,3.814,315,3.088,329,4.225,362,6.411,372,6.13,382,4.875,385,3.473,392,4.41,398,3.551,414,6.799,417,7.832,421,4.91,442,6.902,443,8.297,451,5.827,452,4.385,466,4.946,476,5.76,499,4.983,501,4.875,537,3.107,541,4.623,556,3.387,569,4.652,650,5.468,674,3.473,705,8.381,886,3.387,894,3.633,1021,9.355,1189,5.897,1251,6.902,1326,8.844,1329,4.808,1579,7.665,1650,8.555,1651,8.3,1694,6.635,2021,7.946,2031,6.762,2136,6.635,2175,7.057,2194,7.665,2308,5.97,2617,7.432,2771,10.977,2781,7.057,3919,6.902,3977,8.297,3978,9.481]],["keywords/705",[]],["title/706",[2,294.246,25,53.425,33,103.882,37,134.874,65,263.302,84,428.702,100,297.505,506,435.568]],["content/706",[]],["keywords/706",[]],["title/707",[33,202.738,506,850.067]],["content/707",[4,1.602,6,1.497,7,6.36,8,10.788,12,8.444,14,5.813,22,4.058,33,1.999,51,3.7,67,6.222,69,4.827,70,3.771,122,6.787,204,7.317,246,4.885,373,5.254,385,5.664,486,9.192,504,6.856,506,8.384,544,5.769,696,9.617,716,5.583,740,7.192,920,8.188,983,9.192,985,7.192,1110,8.834,1160,7.841,1329,7.841,1646,10.292,1706,10.14,3469,13.532,3979,12.959,3980,15.463,3981,15.463,3982,15.463,3983,15.463]],["keywords/707",[]],["title/708",[33,153.915,206,423.703,240,265.779,1051,933.04]],["content/708",[4,2.032,12,6.836,33,3.06,53,6.166,176,5.327,182,2.912,240,3.259,260,7.559,289,6.789,311,6.253,329,6.504,372,9.437,373,5.056,381,4.71,387,8.501,418,11.442,424,9.437,506,12.832,524,9.572,855,8.677,886,5.214,894,7.513,983,8.677,1112,8.677,1124,9.437,1261,9.311,1403,10.41,1716,10.41,1821,13.05,1847,10.864,2033,11.801,2541,11.134,2969,13.256,3448,11.801,3593,13.05,3715,12.676,3984,14.596,3985,14.596]],["keywords/708",[]],["title/709",[23,192.952,52,221.356,75,519.427,100,297.505,179,399.314,275,267.502,506,435.568]],["content/709",[2,3.395,4,2.142,5,3.054,6,1.37,12,7.208,18,3.097,33,1.829,37,2.375,41,9.565,51,4.594,52,5.289,63,3.762,69,2.894,73,4.733,75,9.147,79,4.909,84,4.947,87,3.221,171,3.694,177,7.275,182,1.85,191,2.787,192,3.117,200,6.401,219,3.446,222,2.528,228,4.049,230,4.469,246,5.42,252,3.595,254,5.51,264,2.687,273,2.033,275,4.711,281,5.486,289,4.312,292,7.267,297,2.63,301,2.113,308,5.553,330,2.229,373,2.391,378,5.57,379,4.241,381,2.991,386,6.748,387,8.239,389,4.767,391,4.669,400,6.37,403,7.495,408,4.681,413,4.801,419,5.632,421,4.801,440,4.288,482,7.733,504,4.11,506,7.67,527,4.767,544,3.459,660,7.935,674,3.395,716,3.347,740,4.312,785,2.827,856,5.994,894,5.421,912,7.38,932,6.438,940,5.632,983,11.411,1081,5.697,1089,5.346,1112,8.409,1114,4.733,1166,6.079,1564,5.913,1631,5.247,1706,6.079,1926,6.487,1931,5.837,2429,6.611,2560,6.079,2652,8.572,3979,7.769,3986,9.27,3987,8.112]],["keywords/709",[]],["title/710",[25,123.921]],["content/710",[2,3.801,4,2.183,5,1.356,6,0.608,7,3.239,12,5.37,14,3.901,18,2.098,19,3.111,20,2.813,22,3.48,23,3.994,24,3.582,25,1.443,28,2.716,29,4.304,32,2.806,33,2.205,34,3.904,35,4.416,37,1.742,45,2.944,51,1.503,52,3.654,53,2.653,62,2.69,63,2.276,69,1.96,72,2.989,73,6.771,84,5.537,85,3.025,100,4.911,107,1.543,114,1.826,122,2.756,152,2.066,164,1.972,171,1.64,180,2.889,182,2.07,183,1.978,190,2.938,191,1.888,198,3.542,201,4.008,202,3.192,203,5.262,219,2.334,220,2.22,222,1.712,224,3.146,228,2.743,246,1.984,264,1.821,273,2.908,275,4.415,281,4.024,285,4.317,289,4.827,315,3.38,319,2.798,355,2.475,373,2.676,382,3.229,385,3.801,389,3.229,397,4.006,398,3.886,400,2.828,408,6.97,414,2.455,467,3.668,480,2.259,499,3.3,504,2.784,506,9.245,508,3.954,510,3.185,538,3.121,543,3.843,544,3.872,568,3.694,639,2.989,722,3.163,736,2.352,737,2.111,742,2.843,763,3.207,776,4.939,777,2.798,785,1.915,787,3.043,804,5.029,805,4.118,857,3.229,886,2.243,983,9.155,993,3.025,1160,3.185,1329,3.185,1613,3.492,1697,3.554,1891,4.395,1963,5.263,2106,3.622,2170,5.496,3169,4.923,3778,3.773,3781,8.459,3810,5.496,3816,5.496,3817,5.496,3818,9.081,3819,5.496,3921,4.923,3922,5.263,3988,6.28,3989,15.4,3990,4.674]],["keywords/710",[]],["title/711",[25,79.157,100,440.795,385,435.966,1051,933.04]],["content/711",[4,1.626,5,2.297,6,1.907,7,2.021,12,7.429,14,4,16,3.33,23,3.617,28,2.801,29,6.508,32,2.867,33,1.752,34,1.483,35,1.857,44,1.803,50,5.866,53,2.735,58,2.372,70,2.595,73,5.434,82,4.531,100,7.89,114,3.094,116,2.674,125,2.562,152,1.289,154,2.38,161,2.046,162,3.762,163,5.235,164,4.927,167,2.814,171,1.691,182,2.123,183,2.039,184,2.308,185,1.564,186,1.914,189,3.306,191,3.199,196,2.015,198,2.843,201,2.501,202,1.992,204,3.064,205,1.682,217,2.313,219,2.407,222,1.766,230,2.046,232,3.849,240,2.376,251,5.917,271,2.297,273,4.087,274,4.187,278,1.743,289,8.063,300,3.569,315,2.109,322,2.38,329,4.742,355,2.552,368,4.077,372,4.187,398,2.425,407,5.189,416,7.083,417,7.805,437,2.541,457,4.378,480,2.329,483,5.724,500,4.531,503,3.429,504,2.871,506,5.77,520,2.931,543,2.398,544,2.416,557,2.573,577,4.027,630,2.38,674,2.372,698,4.187,737,2.177,742,2.931,785,4.131,787,3.138,886,2.313,894,2.481,897,4.246,901,2.472,926,3.306,966,5.427,983,9.327,996,2.931,1021,3.483,1068,3.849,1170,3.306,1173,3.849,1268,3.353,1339,2.9,1554,4.531,1588,5.076,1617,3.378,1631,3.665,1650,8.053,1651,6.137,1710,4.939,3223,4.82,3633,5.666,3778,3.891,3781,4.13,3921,8.342,3923,4.82,3991,6.475,3992,10.334,3993,10.642,3994,12.528,3995,6.475,3996,6.475,3997,5.988,3998,6.475,3999,6.475,4000,6.475,4001,6.475,4002,6.475,4003,6.475,4004,6.475,4005,6.475,4006,6.475,4007,6.475,4008,6.475,4009,6.475,4010,6.475,4011,6.475,4012,6.475]],["keywords/711",[]],["title/712",[191,471.331,879,610.406]],["content/712",[4,2.392,25,1.535,33,2.985,179,9.352,188,10.554,205,4.889,206,6.697,398,7.046,506,13.538,857,9.675,883,10.201,1697,10.649,3383,17.398,3821,16.465,4013,18.815]],["keywords/712",[]],["title/713",[23,161.915,25,70.65,37,178.358,185,256.637,480,382.183]],["content/713",[]],["keywords/713",[]],["title/714",[6,131.019,273,296.762,480,486.819]],["content/714",[2,6.043,4,1.71,6,2.183,9,8.872,25,1.29,37,1.914,44,3.175,46,5.341,52,3.141,63,3.618,67,4.587,87,3.962,100,4.222,107,2.8,114,4.797,125,4.511,152,4.231,182,2.275,184,2.472,186,3.37,223,8.485,273,5.156,278,3.069,389,5.862,396,3.725,408,5.459,425,4.101,480,9.243,516,5.862,703,4.254,737,7.145,762,8.486,772,4.729,785,3.477,855,6.777,874,5.055,894,4.369,926,5.821,963,4.403,1122,9.555,1124,7.371,1191,10.525,1278,5.63,1325,7.371,1327,6.084,1558,7.007,1614,5.821,1690,13.829,1827,6.395,1961,6.777,2131,6.85,3361,10.543,4014,11.401,4015,11.401]],["keywords/714",[]],["title/715",[278,422.052,1400,879.453]],["content/715",[5,3.665,25,1.129,33,2.195,70,4.14,87,5.899,220,6.001,252,6.582,264,6.274,293,6.058,334,4.894,480,7.786,590,7.238,639,8.079,782,9.986,787,8.227,886,7.731,926,11.051,1134,9.608,1400,14.865,1749,12.948,4016,16.975,4017,16.975]],["keywords/715",[]],["title/716",[480,564.031,4018,1449.827]],["content/716",[4,2.121,5,4.42,6,1.982,25,1.036,44,4.338,45,5.808,63,3.416,73,7.955,85,7.504,264,4.516,364,12.398,480,9.496,556,7.313,674,5.706,873,9.36,886,5.565,1400,14.151,1690,14.601,2117,10.216,2861,12.212,4018,21.146,4019,15.579,4020,15.579]],["keywords/716",[]],["title/717",[4,123.338,25,79.157,45,337.67,480,428.201]],["content/717",[4,1.614,22,4.087,23,4.099,24,4.338,25,0.836,28,3.443,32,3.296,33,1.625,34,2.878,35,2.283,36,4.152,37,2.97,45,5.807,50,4.388,51,1.905,58,2.915,86,3.216,97,2.794,103,5.601,108,4.152,111,3.003,114,3.654,122,3.494,152,1.585,171,2.078,186,2.353,188,4.465,198,4.725,200,4.689,204,3.766,222,2.17,223,4.093,271,2.823,275,2.65,308,4.068,334,2.295,355,3.137,370,5.012,371,4.152,381,2.569,408,4.158,480,8.591,572,2.843,590,3.394,607,4.316,630,5.725,645,4.683,737,4.225,758,3.443,764,4.351,765,5.104,770,3.931,771,6.24,772,5.213,773,4.953,774,4.351,775,3.811,776,5.982,777,3.547,780,4.215,787,3.857,843,3.603,932,3.622,958,3.682,982,4.247,1029,5.794,1121,13.234,1224,4.636,1261,5.077,1262,10.871,1268,4.122,1276,4.215,1300,3.661,1308,4.505,1400,8.736,1628,9.162,1691,6.966,1894,9.587,1895,6.071,1897,10.161,1900,9.355,3348,7.36,3876,6.435,4021,7.96,4022,7.96,4023,7.36]],["keywords/717",[]],["title/718",[4,123.338,200,444.09,308,385.295,1121,769.603]],["content/718",[22,4.604,23,4.237,24,4.287,25,1.167,32,4.304,33,1.606,34,2.844,35,3.562,36,6.479,37,3.414,45,4.976,52,3.422,103,5.535,198,3.318,200,6.545,222,3.387,223,6.387,355,4.895,480,6.311,763,6.342,932,5.652,982,9.361,1121,11.342,1400,9.84,1628,7.307,1691,19.339,4024,10.409,4025,16.221,4026,12.421,4027,11.485,4028,10.32,4029,6.479,4030,17.542,4031,17.542,4032,10.869,4033,17.542,4034,12.421,4035,12.421,4036,12.421]],["keywords/718",[]],["title/719",[330,376.96,1400,879.453]],["content/719",[4,1.567,18,5.053,33,3.231,37,2.539,45,4.291,65,6.581,70,3.689,92,6.449,152,3.012,162,5.347,171,3.95,185,3.654,198,5.364,311,6.48,329,6.74,330,4.827,398,5.665,435,9.186,458,7.036,480,5.442,557,6.01,661,12.808,674,5.54,843,6.847,1169,6.92,1377,7.076,1400,14.7,1796,9.19,2900,13.364,3043,13.237,4037,15.126]],["keywords/719",[]],["title/720",[480,564.031,3367,755.218]],["content/720",[5,3.521,6,2.042,23,4.23,32,3.452,124,8.756,171,4.259,271,5.786,355,6.428,480,8.893,572,5.826,630,5.996,758,7.054,765,5.346,772,8.75,1400,9.149,2121,10.024,3367,11.908]],["keywords/720",[]],["title/721",[480,564.031,2253,741.882]],["content/721",[4,2.121,24,5.377,37,2.615,44,4.338,53,8.648,73,7.955,79,8.249,154,5.727,171,5.346,172,8.985,289,10.637,373,4.018,408,6.774,425,5.604,439,10.902,462,6.19,480,8.227,484,8.738,531,8.516,888,8.127,1397,12.595,1400,11.484,1827,8.738,1885,13.056,2253,11.938,2254,11.588,2281,13.627,2492,9.465]],["keywords/721",[]],["title/722",[1327,836.666,4038,1167.014]],["content/722",[]],["keywords/722",[]],["title/723",[4,110.083,185,256.637,401,475.86,1327,566.919,4038,790.76]],["content/723",[2,3.536,3,2.649,4,1.292,5,2.085,6,1.413,9,4.417,10,3.821,12,2.008,18,1.924,25,0.642,33,1.249,37,0.967,44,3.471,45,4.611,46,1.864,51,2.31,60,8.258,63,3.564,67,2.317,69,1.798,70,3.558,92,2.455,107,3.062,110,2.54,113,2.679,114,2.807,134,3.26,151,1.777,152,2.482,155,5.57,181,3.888,182,2.487,185,3.012,186,1.702,191,1.731,192,3.246,202,1.772,222,1.57,224,2.928,228,2.515,240,1.286,246,1.819,255,2.347,264,3.614,273,3.857,278,1.55,281,4.834,284,2.043,291,4.623,293,1.612,297,3.537,298,2.826,301,3.326,310,2.607,314,2.043,322,4.583,330,1.385,334,1.661,341,3.423,364,3.122,379,4.417,382,2.961,385,4.566,387,3.354,393,3.097,396,1.882,405,4.965,438,2.157,440,2.664,480,3.473,483,3.097,514,2.064,536,1.975,537,4.086,543,3.576,545,4.042,553,2.58,563,2.467,569,2.826,582,3.23,611,3.626,622,2.337,636,3.148,640,4.107,650,3.321,652,2.757,660,3.23,675,4.491,676,4.192,693,2.58,701,3.582,704,3.027,705,5.623,709,3.539,718,2.337,732,2.015,737,1.936,762,4.287,785,4.45,856,3.724,858,2.901,886,2.057,887,5.623,893,2.422,904,4.192,914,2.709,922,4.393,924,3.674,936,2.863,942,7.491,943,3.027,963,4.815,985,2.679,1023,4.287,1030,2.826,1042,3.724,1049,5.934,1155,3.894,1171,3.959,1174,3.499,1237,4.192,1268,2.983,1276,5.113,1327,12.926,1329,2.92,1378,3.582,1385,4.827,1394,4.827,1427,3.073,1437,4.656,1563,4.827,1633,3.29,1690,4.107,1931,6.08,2130,3.777,2671,8.176,2741,4.393,2797,5.325,3110,4.827,3561,4.393,3758,3.582,3906,5.325,4038,10.861,4039,8.45,4040,3.833,4041,12.467,4042,5.759,4043,5.04,4044,5.759]],["keywords/723",[]],["title/724",[4,123.338,25,79.157,1327,635.181,4038,885.975]],["content/724",[2,2.661,4,1.211,5,1.569,6,0.703,22,4.408,23,4.262,25,1.224,28,3.142,32,3.103,34,3.357,54,3.158,60,6.267,69,2.268,105,7.948,107,2.871,108,3.79,109,7.556,111,2.742,114,2.112,151,2.242,152,3.665,161,2.295,164,3.67,173,4.319,174,4.319,192,2.443,198,1.941,224,4.445,234,3.361,251,6.498,273,2.563,366,3.5,373,1.874,427,2.671,467,6.951,474,4.19,490,2.887,496,2.936,580,3.342,642,3.254,694,3.611,703,2.711,706,3.71,736,2.721,737,2.443,763,5.967,764,3.972,772,3.014,773,4.605,785,2.216,786,6.28,806,5.629,861,3.379,923,9.614,1183,6.442,1204,3.736,1219,3.5,1300,3.342,1308,4.112,1327,10.493,1354,4.414,1444,3.438,1526,3.972,1639,10.807,1891,5.084,2169,6.358,2203,7.664,2303,3.908,2676,10.227,3092,5.408,3726,4.635,4038,5.408,4039,10.227,4045,11.687,4046,11.687,4047,7.266,4048,7.266,4049,14.66,4050,7.266,4051,4.765,4052,7.266,4053,7.266,4054,10.807,4055,7.266,4056,7.266,4057,6.719,4058,7.266,4059,11.687,4060,7.266,4061,7.266,4062,7.266,4063,6.719,4064,11.687,4065,7.266]],["keywords/724",[]],["title/725",[25,104.266,29,650.349]],["content/725",[]],["keywords/725",[]],["title/726",[28,805.94]],["content/726",[25,1.616,28,8.858,29,8.495,30,11.429,122,8.989,373,5.282,1133,17.163,1177,12.586,3828,16.053]],["keywords/726",[]],["title/727",[122,688.164,477,913.126]],["content/727",[28,8.945,29,10.136,30,9.73,44,5.759,122,9.078,458,9.62,477,12.046,722,12.308]],["keywords/727",[]],["title/728",[112,1221.989]],["content/728",[4,1.882,9,8.308,19,5.443,22,5.926,25,1.208,28,7.854,29,7.532,30,8.543,44,5.056,51,4.345,112,16.117,125,8.935,297,5.151,493,11.294,4066,18.159,4067,16.792,4068,18.159,4069,16.792,4070,22.581]],["keywords/728",[]],["title/729",[112,887.426,144,831.659,1254,914.982]],["content/729",[4,1.677,8,8.57,23,3.988,25,1.396,51,3.873,92,6.9,111,6.107,114,4.705,122,7.103,144,12.899,193,6.484,250,8.636,257,7.249,280,10.323,504,7.175,569,7.942,590,6.9,598,10.943,1178,15.75,1254,10.943,1263,11.542,1377,7.57,1937,13.563,2720,10.191,2923,13.563,4071,16.184,4072,14.965,4073,14.965,4074,14.163]],["keywords/729",[]],["title/730",[190,633.003,323,745.978,1663,752.413]],["content/730",[4,1.849,19,5.35,20,7.994,65,5.85,67,7.181,89,14.067,98,7.646,114,5.188,190,8.349,250,9.524,251,9.923,271,6.331,297,5.063,300,9.839,323,9.839,642,7.994,1124,11.54,1263,12.729,1586,13.99,1938,16.504,3656,14.958,3828,13.99,3837,16.504,4075,17.848,4076,17.848]],["keywords/730",[]],["title/731",[25,79.157,29,493.733,97,417.878,1177,731.52]],["content/731",[18,6.285,23,3.518,25,1.251,44,5.239,97,6.605,111,7.1,122,8.258,196,5.856,441,14.352,571,12.338,1177,14.185,2334,14.748,2667,15.768,3828,14.748,4077,17.398,4078,17.398,4079,18.815,4080,18.815]],["keywords/731",[]],["title/732",[22,489.037]],["content/732",[7,5.927,22,6.579,23,4.082,24,6.554,25,1.667,54,8.252,98,8.133,111,7.164,580,8.734,1077,10.746,1261,12.111]],["keywords/732",[]],["title/733",[556,560.063,742,709.677]],["content/733",[]],["keywords/733",[]],["title/734",[438,506.782,556,483.395,742,612.527]],["content/734",[22,4.996,23,4.259,24,5.563,32,4.029,34,3.69,35,3.165,36,5.758,37,2.706,45,4.572,108,5.758,124,6.036,171,4.209,198,4.305,271,3.916,275,3.676,355,4.35,370,6.951,371,5.758,408,5.333,438,4.134,556,6.8,572,3.943,600,5.937,630,5.925,742,9.475,758,4.774,764,6.034,765,3.618,770,5.451,771,6.458,772,4.579,773,4.35,774,8.81,775,5.285,776,7.671,777,4.919,780,5.845,806,5.317,843,4.996,1276,5.845,1300,5.078,1308,6.248,1417,6.034,1628,6.494,1903,11.996,2121,9.905,4081,14.904,4082,10.207,4083,16.117]],["keywords/734",[]],["title/735",[3758,975.122,4040,1043.588]],["content/735",[]],["keywords/735",[]],["title/736",[4,140.222,19,405.656,67,544.489]],["content/736",[4,1.481,6,1.872,51,3.421,97,5.019,173,8.498,176,5.217,205,3.714,228,6.244,240,4.317,281,5.543,301,3.258,308,6.258,311,10.053,314,5.071,407,6.971,444,13.529,462,5.68,554,6.845,735,6.437,812,13.788,894,5.478,994,7.689,1055,9.609,1219,6.886,1268,11.345,1320,10.398,1339,8.66,1421,12.51,1526,7.815,1713,7.751,1869,10.641,2286,11.558,2552,11.558,3641,13.219,3790,10.004,3835,17.877,4084,17.877,4085,13.219,4086,14.296,4087,14.296]],["keywords/736",[]],["title/737",[437,731.343]],["content/737",[4,1.471,6,1.375,25,0.944,40,5.42,51,3.398,87,4.934,148,8.189,162,5.019,186,4.197,201,5.484,219,5.278,225,5.09,228,8.405,246,7.393,252,7.462,281,9.074,311,6.082,395,5.97,398,5.317,407,6.924,410,9.18,437,5.572,482,7.761,581,6.025,652,6.798,886,5.072,897,9.311,982,7.577,1072,9.936,1089,8.189,1421,12.425,1617,7.407,1726,10.35,1765,9.057,2089,9.311,2130,12.62,3758,15.684,4040,12.809,4088,14.198,4089,14.198]],["keywords/737",[]],["title/738",[45,337.67,111,449.151,3758,740.294,4040,792.272]],["content/738",[22,6.091,23,3.98,25,1.263,45,5.386,111,7.164,438,7.11,3726,12.111,3758,14.435,4040,16.686,4090,18.986,4091,17.557,4092,18.986]],["keywords/738",[]],["title/739",[19,469.995,125,620.401]],["content/739",[19,3.701,22,3.24,23,4.179,24,4.262,30,5.809,32,3.697,34,4.641,35,3.541,37,2.073,124,4.624,162,4.365,164,5.486,173,7.339,186,3.649,193,4.947,224,3.744,275,4.111,281,4.788,301,2.814,311,5.289,355,6.884,373,3.184,421,6.394,600,6.641,735,5.559,765,4.047,776,8.314,777,5.502,780,6.538,886,4.41,912,9.113,1024,8.218,1155,8.348,1256,6.988,1400,6.926,1511,8.988,1526,6.749,1942,9.678,2121,7.588,2535,11.417,3758,10.864,4084,16.153,4093,12.347,4094,12.347,4095,12.347,4096,12.347,4097,12.347,4098,17.469,4099,12.347,4100,12.347,4101,12.347,4102,10.348]],["keywords/739",[]],["title/740",[278,364.276,2239,985.073,3758,841.635]],["content/740",[7,4.23,12,4.725,15,7.893,22,3.557,23,3.955,32,2.868,51,3.243,67,5.453,72,6.45,79,7.176,87,4.709,88,4.647,116,5.596,164,5.854,167,5.89,171,3.539,184,2.939,220,4.79,222,3.695,246,4.281,278,3.648,281,5.255,296,10.087,298,6.65,301,3.089,345,10.337,455,8.925,499,7.122,582,7.601,745,7.408,775,6.488,1058,7.018,1109,7.018,1309,6.375,2062,9.02,2239,15.511,2281,9.02,3758,14.966,4040,12.408,4091,12.531,4103,13.552,4104,13.552,4105,13.552,4106,13.552,4107,13.552,4108,13.552,4109,11.859]],["keywords/740",[]],["title/741",[19,469.995,735,705.949]],["content/741",[19,6.524,23,3.317,2669,14.715,3758,13.535,4110,20.125]],["keywords/741",[]],["title/742",[398,587.16,1697,887.422]],["content/742",[19,6.2,234,9.567,257,9.264,279,12.295,281,8.02,373,5.334,696,12.863,2669,13.985,4110,19.126,4111,20.683]],["keywords/742",[]],["title/743",[2502,926.214]],["content/743",[7,5.432,8,9.214,12,7.666,40,6.642,50,9.592,51,4.164,65,7.206,69,6.863,81,12.41,88,8.264,184,3.773,219,8.172,281,6.747,319,7.754,373,4.487,427,6.396,2183,12.666,2638,13.273,3169,13.64,3758,13.674,4040,14.634]],["keywords/743",[]],["title/744",[25,89.993,45,383.895,4112,1094.088]],["content/744",[]],["keywords/744",[]],["title/745",[4,140.222,45,383.895,4112,1094.088]],["content/745",[22,5.004,23,4.125,24,4.835,25,1.268,32,4.035,33,2.466,34,3.207,35,4.017,36,7.307,37,4.217,52,3.86,198,5.791,224,4.247,355,5.52,370,8.82,371,7.307,408,4.635,425,5.039,454,9.057,455,6.707,490,5.566,1628,14.322,1902,8.608,4028,11.217,4029,7.307,4112,15.416,4113,16.686,4114,14.007,4115,16.686]],["keywords/745",[]],["title/746",[1902,963.564,2079,895.677]],["content/746",[4,1.773,23,4.007,32,2.538,37,2.873,45,3.402,54,8.67,124,10.104,154,4.408,171,5.209,184,2.6,273,2.63,293,3.357,301,3.9,371,6.256,373,3.093,427,4.408,468,5.486,572,4.284,716,4.329,773,4.726,785,6.083,871,9.695,955,6.916,1257,5.486,1552,8.244,1726,6.45,1814,7.551,1902,14.697,2079,6.85,2900,7.982,3601,16.718,4028,7.055,4113,14.973,4115,10.494,4116,11.992,4117,11.992,4118,11.992,4119,11.992,4120,11.992,4121,11.089,4122,11.992,4123,11.992,4124,11.992]],["keywords/746",[]],["title/747",[4,123.338,151,367.227,241,442.435,1902,731.52]],["content/747",[23,3.282,32,3.563,37,2.827,45,4.777,151,5.195,164,7.454,241,6.259,373,4.342,785,5.135,1377,7.876,1902,10.348,4028,9.906,4112,13.613,4113,14.735,4115,14.735,4125,16.838,4126,23.736,4127,23.736,4128,20.772,4129,23.736,4130,16.838,4131,16.838]],["keywords/747",[]],["title/748",[25,89.993,1377,633.003,1617,705.951]],["content/748",[]],["keywords/748",[]],["title/749",[25,89.993,1377,633.003,1617,705.951]],["content/749",[1,1.096,4,1.513,5,0.531,6,0.558,7,0.526,8,0.893,12,0.303,14,0.634,18,0.563,20,1.102,22,0.443,23,0.592,24,1.102,25,0.421,30,0.408,33,0.889,34,0.386,35,2.998,37,1.064,42,0.702,44,1.082,45,1.103,46,1.033,51,0.208,53,0.712,54,0.733,58,0.318,60,3.9,61,0.467,63,0.37,64,0.587,65,1.046,69,0.271,72,0.803,76,0.516,87,0.302,88,1.333,89,1.062,97,0.592,99,0.306,100,0.911,107,0.414,112,0.569,113,0.404,124,0.921,125,10.014,131,0.44,134,1.392,151,1.199,152,2.155,154,1.901,155,0.503,161,0.533,167,0.377,171,2.629,172,0.5,174,0.516,177,0.446,179,0.431,183,1.432,184,1.374,185,0.771,186,0.256,190,0.406,196,0.27,198,0.853,203,0.44,205,0.829,210,0.578,215,0.886,217,1.14,222,0.871,224,2.673,225,1.144,228,0.737,230,0.777,234,1.798,239,0.861,241,0.323,242,0.93,246,0.274,258,0.662,260,0.449,271,2.248,273,1.73,274,1.09,277,0.5,280,0.554,281,0.654,284,0.308,293,0.472,297,0.246,298,0.426,301,0.198,311,0.722,319,0.387,329,0.387,330,0.405,334,1.311,341,2.31,347,1.132,349,0.561,355,0.665,356,0.404,361,0.946,366,0.418,373,1.488,378,0.521,379,0.397,382,0.446,385,0.901,391,0.437,394,0.44,396,2.416,407,0.423,408,0.287,413,1.653,425,0.312,427,1.671,435,2.08,438,0.632,447,1.076,455,2.176,458,0.404,467,0.307,468,0.772,469,0.68,474,0.5,477,0.505,480,1.398,487,0.546,490,0.345,508,0.546,510,0.855,516,1.999,517,1.731,537,0.284,539,0.404,543,0.911,545,0.884,556,2.642,557,2.055,566,0.597,569,1.207,572,2.818,580,3.164,582,0.487,584,0.587,590,2.459,600,0.467,628,2.2,630,2.329,637,0.496,642,0.755,652,0.415,656,2.31,659,2.379,663,1.356,664,0.434,674,0.318,694,0.431,695,0.429,703,1.45,711,0.368,735,0.391,737,4.393,741,2.361,742,0.763,763,0.443,765,4.787,770,2.554,771,0.348,772,1.886,773,3.968,774,2.125,782,0.992,785,0.514,786,0.722,787,0.421,800,1.18,804,0.421,809,0.833,827,0.533,828,0.662,843,1.759,847,0.702,848,0.68,849,0.68,861,2.947,869,1.613,871,0.702,874,0.385,886,1.14,901,1.484,941,2.376,942,2.731,996,0.393,1021,0.467,1024,1.502,1040,2.036,1061,0.54,1089,0.5,1114,1.256,1116,0.838,1158,15.54,1160,0.44,1169,2.899,1174,0.527,1183,0.478,1204,3.537,1219,1.872,1220,0.496,1256,0.491,1276,2.058,1278,0.429,1295,1.322,1299,0.632,1300,1.469,1309,2.139,1327,13.505,1345,0.54,1354,0.527,1356,1.076,1361,0.467,1377,2.964,1400,2.18,1417,5.917,1444,0.411,1479,4.691,1536,0.607,1548,0.554,1552,1.691,1628,0.51,1648,0.607,1650,0.516,1697,0.491,1712,1.18,1726,0.467,1779,0.597,1786,0.68,1792,1.691,1827,0.487,1872,1.717,1891,0.607,1903,0.646,1961,0.516,1986,0.561,1987,1.286,2023,3.09,2062,1.638,2079,1.405,2080,0.802,2114,0.569,2131,0.521,2136,0.607,2165,0.587,2239,0.632,2252,0.527,2253,1.164,2301,0.554,2303,3.978,2308,0.546,2321,1.062,2353,0.619,2376,1.255,2396,2.062,2429,0.619,2496,1.791,2502,0.838,2508,0.702,2568,2.234,2707,0.662,2779,0.533,2781,0.646,2823,1.363,2847,0.727,2884,0.727,2913,0.646,2942,1.322,2953,2.094,3114,0.632,3170,2.435,3367,1.538,3442,0.759,3494,3.765,3586,0.5,3629,0.632,3633,1.476,3646,1.413,3715,0.561,3742,1.363,3747,1.363,3764,1.791,3823,0.68,3830,0.646,3883,0.759,3888,0.759,3977,2.794,3994,0.802,4057,2.275,4121,0.802,4132,0.868,4133,25.286,4134,25.286,4135,0.868,4136,0.868,4137,2.46,4138,0.868,4139,0.868,4140,0.868,4141,0.868,4142,0.868,4143,0.868,4144,0.868,4145,0.868,4146,0.802,4147,0.802,4148,0.868,4149,0.868,4150,0.868,4151,0.868,4152,0.868,4153,0.868,4154,0.802,4155,0.868,4156,0.868,4157,0.868,4158,0.868,4159,0.868,4160,0.868,4161,0.868,4162,1.686,4163,0.868,4164,0.868,4165,1.18,4166,0.802,4167,0.868,4168,0.868,4169,0.868,4170,0.802,4171,0.868,4172,0.868,4173,1.559,4174,0.759,4175,0.868,4176,0.727,4177,0.868,4178,1.476,4179,0.868,4180,0.868,4181,0.868,4182,0.868,4183,0.868,4184,0.868,4185,3.81,4186,0.868,4187,0.868,4188,0.868,4189,0.868,4190,0.868,4191,0.868,4192,0.868,4193,0.868,4194,0.868,4195,0.759,4196,0.868,4197,0.759,4198,4.203,4199,2.153,4200,0.868,4201,0.868,4202,0.868,4203,0.868,4204,0.868,4205,0.868,4206,0.868,4207,0.868,4208,0.868,4209,0.868,4210,1.686,4211,0.868,4212,0.759,4213,0.868,4214,0.759,4215,0.868,4216,0.868,4217,0.868,4218,0.868,4219,0.868,4220,0.868,4221,0.868,4222,4.182,4223,3.193,4224,0.868,4225,0.868,4226,0.868,4227,0.868,4228,0.868,4229,0.868,4230,0.868,4231,0.868,4232,0.868,4233,0.802,4234,0.868,4235,0.868,4236,0.868,4237,0.868,4238,0.868,4239,0.759,4240,0.868,4241,0.868,4242,0.868,4243,0.868,4244,0.868,4245,0.868,4246,0.868,4247,0.868,4248,0.868,4249,0.868,4250,0.868,4251,0.868,4252,0.759,4253,0.802,4254,0.868,4255,0.868,4256,0.868,4257,3.193,4258,1.686,4259,0.868,4260,0.868,4261,0.868,4262,0.868,4263,2.46,4264,0.868,4265,0.868,4266,0.868,4267,3.193,4268,0.868,4269,0.868,4270,0.868,4271,0.868,4272,0.868,4273,1.559,4274,0.868,4275,0.868,4276,0.868,4277,0.868,4278,0.868,4279,1.559,4280,0.868,4281,0.868,4282,0.868,4283,0.868,4284,0.868,4285,0.868,4286,0.868,4287,0.868,4288,0.868,4289,0.868,4290,0.868,4291,0.868,4292,0.868,4293,0.868,4294,0.868,4295,0.868,4296,0.868,4297,0.868,4298,0.868,4299,0.868,4300,0.868,4301,0.868,4302,0.868,4303,0.868,4304,0.802,4305,0.868,4306,0.868,4307,0.868,4308,0.868,4309,1.686,4310,0.868,4311,0.868,4312,0.868,4313,0.868,4314,0.868,4315,0.868,4316,0.868,4317,0.868,4318,0.868,4319,0.868,4320,1.559,4321,0.868,4322,0.868,4323,0.868,4324,0.868,4325,0.868,4326,1.989,4327,0.868,4328,1.686,4329,0.868,4330,0.868,4331,0.868,4332,0.802,4333,0.868,4334,0.802,4335,0.759,4336,0.868,4337,0.868,4338,0.868,4339,3.401,4340,2.46,4341,0.868,4342,0.868,4343,0.868,4344,0.868,4345,0.868,4346,0.868,4347,0.868,4348,0.868,4349,1.203,4350,0.868,4351,0.868,4352,0.868,4353,0.868,4354,0.868,4355,13.344,4356,0.868,4357,0.868,4358,0.868,4359,0.868,4360,0.868,4361,0.868,4362,0.868,4363,0.868,4364,0.868,4365,0.759,4366,0.868,4367,0.868,4368,0.868,4369,0.868,4370,0.868,4371,0.868,4372,0.868,4373,0.868,4374,0.868,4375,0.868,4376,0.868,4377,0.868,4378,0.868,4379,0.868,4380,0.868,4381,0.868,4382,0.868,4383,0.868,4384,0.868,4385,0.868,4386,0.868,4387,0.868,4388,0.868,4389,0.868,4390,0.868,4391,0.868,4392,0.868,4393,0.868,4394,0.868,4395,0.868,4396,0.868,4397,0.868,4398,0.802,4399,0.868,4400,0.868,4401,0.868,4402,0.868,4403,0.868,4404,1.686,4405,0.868,4406,0.868,4407,0.868,4408,0.868,4409,0.868,4410,0.868,4411,0.868,4412,0.868,4413,0.868,4414,0.868,4415,0.868,4416,0.868,4417,0.868,4418,0.868,4419,0.802,4420,0.868,4421,0.702,4422,0.868,4423,0.868,4424,0.868,4425,0.868,4426,2.062,4427,0.868,4428,0.759,4429,0.868,4430,0.727,4431,0.868,4432,0.727,4433,0.868,4434,0.868,4435,0.868,4436,0.759,4437,0.868,4438,0.868,4439,0.868,4440,0.868]],["keywords/749",[]],["title/750",[6,102.858,33,137.374,330,255.425,435,486.049,765,348.193]],["content/750",[]],["keywords/750",[]],["title/751",[227,806.215,293,438.887]],["content/751",[4,0.73,6,1.877,9,6.569,23,4.231,32,2.412,108,9.452,111,2.658,151,3.517,152,3.86,161,7.124,162,7.215,164,2.212,174,4.187,224,3.456,227,5.861,240,1.573,271,7.788,286,4.329,293,1.972,334,2.031,381,2.273,435,5.215,468,5.215,493,4.381,549,3.702,572,2.516,590,3.003,600,3.789,737,2.368,758,6.21,765,5.938,772,2.922,773,6.501,782,4.144,910,4.586,1074,3.851,1116,3.501,1183,9.095,1219,3.393,1300,9.776,1325,4.555,1359,5.373,1392,5.695,1406,5.522,1617,8.607,1765,4.494,2206,5.243,2495,9.041,2496,14.114,2583,5.522,2967,6.514,2984,6.165,3555,6.514,3560,5.128,4441,7.044,4442,7.37,4443,13.276,4444,15.856,4445,14.357,4446,14.357,4447,12.564,4448,15.856,4449,7.044,4450,7.044,4451,7.044,4452,7.044,4453,7.044,4454,7.044,4455,6.165,4456,7.044,4457,7.044]],["keywords/751",[]],["title/752",[4458,1561.679]],["content/752",[4,0.871,6,0.814,14,3.161,18,6.09,23,4.223,32,3.858,34,3.695,44,3.654,54,3.655,62,3.602,70,3.2,149,3.488,152,1.674,154,3.091,161,5.098,164,5.067,167,3.655,183,2.649,198,2.246,201,3.248,224,2.55,278,3.532,292,6.592,301,1.917,373,4.702,402,7.568,425,3.025,435,10.357,455,4.026,464,6.259,484,4.717,513,4.999,600,4.523,641,5.885,648,5.295,694,6.522,734,4.236,758,6.979,765,2.756,775,4.026,782,4.947,806,6.321,886,5.764,888,6.845,897,5.515,917,7.048,958,3.89,993,4.051,1108,5.686,1109,6.796,1257,6.004,1300,3.868,1377,7.548,1444,3.979,1526,4.597,1552,5.781,1617,4.387,1709,7.776,1710,6.414,1724,5.437,2098,5.295,2252,5.109,2444,5.109,2495,5.295,2496,9.552,3781,5.364,4032,7.359,4198,7.776,4443,7.776,4444,7.359,4448,7.359,4458,7.048,4459,8.409,4460,8.409,4461,8.409,4462,8.409,4463,7.359,4464,8.409,4465,8.409,4466,8.409,4467,8.409,4468,7.359,4469,8.409,4470,13.122,4471,8.409,4472,8.409]],["keywords/752",[]],["title/753",[4463,1630.706]],["content/753",[4,1.69,14,6.131,18,7.81,23,4.122,32,3.452,33,2.109,70,3.978,111,6.155,149,6.766,161,5.153,164,6.624,183,5.137,224,6.396,348,9.232,402,9.407,435,10.697,734,8.215,4473,16.311,4474,16.311,4475,16.311,4476,16.311,4477,16.311,4478,16.311,4479,16.311]],["keywords/753",[]],["title/754",[435,717.317,3367,755.218]],["content/754",[5,2.681,6,1.698,22,3.26,23,4.16,25,0.826,32,2.629,34,2.844,108,6.479,152,2.473,161,6.425,162,6.201,167,8.839,171,3.243,224,3.766,246,3.924,271,4.406,330,4.218,368,7.821,373,3.203,435,8.026,451,7.633,468,5.683,545,3.44,569,6.095,572,4.437,631,7.234,736,4.651,737,4.176,740,5.777,772,5.152,809,6.134,1169,5.683,1220,7.095,1300,5.714,1308,7.03,2496,9.041,3367,8.45,3368,15.351,3764,9.041,3963,9.474,4444,17.798,4448,17.798,4480,9.245,4481,17.542,4482,14.702,4483,12.421,4484,12.421]],["keywords/754",[]],["title/755",[51,284.834,281,461.561,379,544.573,435,544.573]],["content/755",[3,8.814,4,1.985,25,1.274,51,5.585,116,7.913,155,5.711,219,7.122,224,5.81,246,6.053,281,9.051,373,4.942,435,8.766,734,9.651,1256,10.845,2130,12.565,4463,16.768]],["keywords/755",[]],["title/756",[184,340.004,435,717.317]],["content/756",[4,1.69,18,5.448,25,1.085,37,2.738,45,4.627,88,5.593,152,3.247,166,8.843,184,5.07,205,4.238,220,5.766,240,3.642,271,5.786,373,6.03,394,8.271,435,11.713,493,10.144,1024,9.924,1444,7.718,1827,9.149,2165,11.028,2502,8.107,2720,10.271,3684,12.675,4043,14.274,4339,14.274,4485,13.187]],["keywords/756",[]],["title/757",[33,153.915,373,306.972,427,437.561,435,544.573]],["content/757",[19,5.35,33,3.153,53,9.436,69,5.571,177,9.177,184,3.87,198,4.768,227,9.177,271,6.331,373,4.603,427,9.394,435,10.22,545,4.944,765,7.322,886,6.375,2253,10.57,2492,10.843]],["keywords/757",[]],["title/758",[37,263.223,435,717.317]],["content/758",[]],["keywords/758",[]],["title/759",[581,790.783]],["content/759",[4,0.916,6,1.612,12,3.081,14,3.322,22,4.37,23,4.066,24,3.05,25,0.907,32,1.87,33,2.976,34,3.122,35,4.775,37,2.796,52,3.758,54,3.841,65,2.896,68,4.645,70,4.061,124,3.31,154,3.249,162,7.151,164,2.775,198,2.361,224,6.482,275,4.541,301,2.014,334,2.548,335,11.876,355,5.374,396,2.887,408,5.51,435,10.194,458,4.111,483,4.753,513,8.107,590,5.815,592,5.369,600,4.753,674,3.237,727,6.184,741,5.369,776,6.491,843,4,891,4.872,958,4.088,1110,5.049,1169,4.043,1256,5.002,1257,7.619,1354,5.369,1558,5.431,1765,10.622,2036,6.927,2136,6.184,2252,8.285,3114,6.433,3880,7.406,4028,8.023,4029,4.61,4430,7.406,4486,17.312,4487,8.172,4488,8.172,4489,8.838,4490,8.172,4491,8.172,4492,8.172,4493,8.172,4494,8.172,4495,8.172,4496,8.172,4497,8.838,4498,8.838]],["keywords/759",[]],["title/760",[25,70.65,271,376.852,435,486.049,2172,718.317,2779,652.904]],["content/760",[4,1.175,12,3.954,22,5.073,23,4.271,25,1.41,29,4.703,33,2.741,34,2.596,35,4.713,37,3.245,65,3.716,162,4.008,164,3.561,271,5.83,275,3.776,293,3.174,334,3.269,355,4.468,373,2.924,408,3.752,435,9.699,513,9.77,592,6.889,600,6.099,776,7.822,958,5.245,1257,5.188,1354,6.889,1765,14.355,2172,7.667,2252,6.889,2779,6.968,3828,8.888,4077,10.485,4430,9.503,4486,15.198,4487,10.485,4488,10.485,4490,10.485,4491,10.485,4492,10.485,4493,10.485,4494,10.485,4495,10.485,4499,11.339,4500,11.339,4501,11.339]],["keywords/760",[]],["title/761",[23,146.203,25,63.794,271,340.282,763,489.824,993,462.071,3375,638.508]],["content/761",[4,1.825,18,4.174,22,5.815,23,4.04,25,1.72,33,1.616,69,3.901,72,5.947,151,3.855,155,3.724,271,7.238,368,7.868,373,3.222,435,5.717,487,7.868,745,6.83,763,12.988,827,7.679,993,8.486,1077,7.072,1220,7.138,1377,5.845,1694,8.744,1796,7.591,1970,8.911,3375,8.317,3859,9.3,4502,12.495,4503,24.909,4504,12.495,4505,12.495,4506,12.495,4507,12.495,4508,12.495,4509,17.616,4510,12.495,4511,12.495]],["keywords/761",[]],["title/762",[4512,1561.679]],["content/762",[]],["keywords/762",[]],["title/763",[188,1045.231]],["content/763",[25,1.447,297,6.174,517,11.8,879,8.473,4513,21.763]],["keywords/763",[]],["title/764",[517,850.067,2023,764.557]],["content/764",[4,1.818,6,1.699,9,8.028,33,2.269,65,5.751,152,5.057,171,4.582,249,9.932,330,5.314,373,5.7,375,9.154,483,9.438,517,9.514,557,6.972,659,8.072,737,7.431,1278,8.666,2023,11.799,4514,17.547,4515,10.913]],["keywords/764",[]],["title/765",[4,162.462,67,630.847]],["content/765",[4,1.898,121,11.007,122,8.04,125,7.249,167,7.961,193,7.34,241,6.809,322,6.734,499,9.627,668,9.487,954,9.627,1127,11.535,1157,10.889,1434,13.973,1558,11.258,1986,11.844,2031,13.064,4512,15.352,4516,18.319,4517,18.319,4518,18.319,4519,18.319,4520,18.319]],["keywords/765",[]],["title/766",[581,790.783]],["content/766",[6,2.198,14,6.886,83,13.335,107,5.577,151,5.652,173,10.889,174,14.667,330,4.404,427,8.346,510,9.289,517,13.377,1114,9.354,1276,9.7,1278,9.047,2953,12.013,4521,16.939]],["keywords/766",[]],["title/767",[787,903.071]],["content/767",[6,1.104,23,4.132,30,5.364,124,6.179,152,3.285,161,5.213,162,7.513,163,13.34,164,5.181,167,7.171,171,2.977,458,5.303,483,6.132,517,6.181,572,4.073,734,5.742,775,7.9,785,3.477,787,7.996,843,5.16,975,6.132,1092,8.696,1175,7.179,1257,10.318,1276,6.037,1278,9.576,1724,10.668,1796,6.927,2023,5.56,2252,12.912,2783,6.927,3883,9.977,4521,10.543,4522,11.401,4523,18.599,4524,11.401,4525,11.401,4526,11.401,4527,11.401,4528,11.401,4529,9.977,4530,21.253,4531,11.401,4532,14.439,4533,9.977,4534,10.543,4535,19.391]],["keywords/767",[]],["title/768",[30,876.641]],["content/768",[23,4.135,30,10.024,124,6.204,152,3.298,161,5.233,162,6.876,163,13.393,164,5.202,167,7.2,458,5.332,483,6.166,517,6.215,734,5.774,775,7.932,785,3.496,843,5.189,1092,8.744,1114,5.854,1175,7.219,1257,10.34,1276,6.07,1278,11.994,1796,6.965,2252,12.945,2783,6.965,4273,10.601,4523,18.646,4529,10.032,4532,14.497,4533,10.032,4536,11.464,4537,11.464,4538,11.464,4539,11.464,4540,11.464,4541,11.464,4542,21.307,4543,11.464,4544,11.464,4545,11.464,4546,11.464,4547,19.451]],["keywords/768",[]],["title/769",[468,852.533]],["content/769",[23,4.112,124,6.408,152,3.406,161,5.405,162,7.052,163,13.833,164,5.373,167,7.436,468,9.126,483,6.45,517,6.502,734,6.04,775,8.192,785,3.657,843,5.428,1092,9.147,1175,7.551,1257,10.523,1276,6.35,1278,12.156,1796,7.285,2252,13.216,2783,7.285,3888,10.494,4523,19.036,4529,10.494,4532,14.973,4533,10.494,4548,11.992,4549,11.992,4550,11.992,4551,11.992,4552,11.992,4553,11.992,4554,21.752,4555,11.992,4556,19.948]],["keywords/769",[]],["title/770",[4239,1630.706]],["content/770",[4,1.967,23,3.82,32,2.945,34,3.186,68,7.312,76,8.271,111,8.757,152,4.301,154,5.115,164,4.369,186,4.113,198,3.717,224,5.755,241,5.172,286,8.551,373,3.588,427,5.115,458,6.472,517,12.582,561,6.546,639,6.622,717,6.662,806,6.702,894,5.332,1089,8.024,1114,7.105,1170,7.105,1204,7.155,1278,10.669,2079,7.949,2842,11.661,2927,11.952,4239,18.905,4557,13.914,4558,13.914,4559,13.914,4560,12.866,4561,12.866,4562,13.914]],["keywords/770",[]],["title/771",[33,202.738,504,695.115]],["content/771",[]],["keywords/771",[]],["title/772",[10,620.401,33,202.738]],["content/772",[1,4.601,2,2.286,4,1.368,5,2.851,6,1.486,10,2.47,14,2.347,22,5.516,23,4.04,24,6.69,25,1.348,32,3.597,33,1.984,34,3.891,35,4.4,37,3.403,40,2.383,46,3.342,53,4.362,60,2.329,62,2.674,63,1.369,65,2.046,69,1.949,70,1.522,73,3.187,84,5.51,98,4.423,100,6.781,103,2.782,111,4.983,149,2.589,154,2.295,156,3.306,162,2.207,171,3.448,179,3.103,191,3.969,193,2.501,202,1.92,203,3.165,217,2.23,222,1.702,224,1.893,228,2.726,234,2.887,240,1.394,273,2.264,293,1.747,295,6.346,301,1.423,314,3.663,334,1.8,355,2.46,364,3.384,368,3.931,373,1.61,395,2.625,408,5.077,413,3.233,414,2.44,426,3.882,440,2.887,467,2.207,496,2.522,504,2.768,510,3.165,527,3.21,534,4.452,537,2.046,543,2.312,555,3.882,556,2.23,557,2.48,577,3.882,607,3.384,673,3.256,674,2.286,689,3.412,695,3.083,765,2.046,777,4.601,780,3.306,804,3.025,805,4.094,890,4.452,1007,5.427,1193,4.761,1205,4.893,1248,9.036,1329,5.236,1613,3.471,1893,7.099,2010,5.047,2098,3.931,2112,12.709,2121,3.836,2488,4.544,2927,3.931,3563,4.291,3813,6.273,3814,4.094,3951,4.368,3992,11.704,4029,3.256,4085,5.772,4563,11.704,4564,9.036,4565,5.231,4566,5.772,4567,5.463,4568,5.463,4569,6.242,4570,6.242,4571,5.231,4572,5.463,4573,10.325,4574,5.772,4575,10.325,4576,6.242,4577,5.772,4578,6.242]],["keywords/772",[]],["title/773",[2,435.966,25,79.157,33,153.915,504,527.718]],["content/773",[2,8.563,4,2.185,5,2.422,6,1.86,7,3.502,10,4.438,11,7.356,12,5.686,14,4.217,15,6.533,20,5.024,22,4.279,23,3.677,24,5.629,25,1.278,32,2.374,34,2.568,35,4.676,37,1.883,54,4.875,81,8,94,6.976,156,5.94,186,3.315,191,3.372,230,3.543,246,3.543,271,3.979,330,2.697,355,4.42,357,8,404,8.556,405,5.768,408,3.711,425,4.035,459,8.556,467,3.965,496,4.532,504,9.351,673,8.507,674,4.108,703,7.168,777,4.998,827,6.893,894,4.298,944,9.147,958,5.188,1030,5.504,1143,7.252,1272,8.165,1466,11.87,1612,12.137,1613,6.237,1648,7.849,1765,10.402,2502,5.575,2821,10.372,2979,7.584,3990,8.349,4579,11.217,4580,11.217,4581,11.217,4582,11.217]],["keywords/773",[]],["title/774",[2,389.113,10,420.379,37,178.358,315,346.025,875,562.569]],["content/774",[2,8.822,4,1.985,6,1.854,10,8.847,11,7.316,12,3.89,14,4.194,18,3.727,19,3.344,22,5.027,23,3.897,24,5.607,25,1.08,32,2.361,33,2.72,34,2.554,35,3.199,37,3.754,63,3.562,107,2.74,149,4.628,204,5.279,219,4.147,230,6.646,321,9.982,334,3.217,355,4.397,400,5.023,408,3.691,504,4.946,555,6.939,568,6.563,577,6.939,703,4.162,732,3.903,777,4.972,782,6.563,879,4.344,958,5.161,1169,5.104,1595,6.939,1613,6.203,1614,8.294,2112,10.652,2172,7.543,4029,5.82,4564,14.214,4565,9.35,4566,10.317,4567,9.763,4568,9.763,4583,12.39,4584,11.157]],["keywords/774",[]],["title/775",[25,70.65,33,137.374,219,394.886,432,558.336,4585,858.926]],["content/775",[4,1.857,5,2.764,6,1.239,12,4.464,14,4.813,18,4.276,25,0.851,33,3.159,37,2.149,46,4.144,49,6.023,62,7.676,65,4.196,148,7.383,154,4.706,161,4.044,171,3.343,184,4.483,185,3.093,204,6.058,230,4.044,240,2.859,246,4.044,249,7.246,272,5.458,273,2.807,289,5.955,293,3.584,314,4.541,373,4.621,401,5.734,405,9.214,408,5.929,413,9.28,427,6.587,432,9.418,503,6.779,504,7.945,543,4.741,555,7.962,652,9.899,716,6.469,735,5.764,785,3.904,901,4.887,1007,6.728,1086,8.277,1317,8.959,2516,13.338,3979,10.729,4585,14.488]],["keywords/775",[]],["title/776",[191,406.809,879,526.845,2132,1251.356]],["content/776",[4,2.175,7,5.052,14,6.084,25,1.549,33,3.187,81,11.542,182,3.229,188,9.078,198,4.323,234,7.486,260,10.87,301,3.688,314,5.741,373,4.174,398,7.86,408,5.355,503,8.57,504,7.175,537,5.304,857,8.322,883,8.774,886,5.781,993,7.795,1147,8.921,1444,7.658,1571,10.943,3186,13.084,4586,16.184,4587,16.184,4588,16.184]],["keywords/776",[]],["title/777",[23,161.915,107,384.917,181,283.072,185,256.637]],["content/777",[]],["keywords/777",[]],["title/778",[62,455.105,149,440.672,385,389.113,713,686.894,2587,982.391]],["content/778",[6,1.384,9,6.54,18,4.775,30,6.725,34,3.273,37,2.4,40,5.457,70,5.342,107,3.511,149,9.087,162,5.053,181,3.809,182,2.852,185,3.453,192,4.806,200,5.334,220,6.834,223,7.351,240,4.317,264,4.144,301,3.258,330,3.437,334,4.122,387,8.326,455,6.845,496,5.777,520,6.471,544,5.334,652,6.845,675,6.649,711,6.067,713,12.5,714,9.515,716,5.161,717,9.257,785,4.36,809,7.06,1006,8.685,1204,7.351,1554,10.004,1646,9.515,1926,10.004,2356,11.558,2424,11.558,2444,8.685,3158,11.558,4589,14.296]],["keywords/778",[]],["title/779",[46,385.295,281,461.561,379,544.573,581,505.129]],["content/779",[5,3.266,6,1.944,18,7.529,25,1.006,33,1.956,52,4.168,53,6.389,69,4.722,70,3.689,88,5.186,107,4.932,181,5.35,182,3.018,192,5.085,201,5.842,215,7.95,219,5.622,228,6.606,246,6.343,278,4.072,281,9.96,287,7.518,311,6.48,330,3.637,333,13.987,379,6.92,432,7.95,444,14.05,581,6.419,586,11.259,754,11.857,1762,13.987,2130,9.919,2645,13.237,4590,15.126]],["keywords/779",[]],["title/780",[22,312.383,222,324.571,675,553.65,719,818.312]],["content/780",[6,1.263,18,4.357,61,7.015,103,5.812,107,3.204,149,5.41,171,3.406,181,3.475,182,3.622,185,3.151,191,3.921,205,3.389,220,4.611,222,5.694,228,5.696,240,4.053,254,7.753,272,5.561,273,2.86,301,2.973,373,3.364,401,5.842,421,6.755,442,9.494,465,9.708,490,5.182,512,5.339,514,4.675,579,8.433,590,5.561,673,6.804,675,10.502,703,6.773,708,8.213,709,8.016,718,5.293,719,15.522,772,5.41,786,5.587,889,8.819,944,7.316,1134,7.382,1339,8.131,1427,6.96,1444,6.171,2146,9.494,2178,9.127,2289,9.708,2431,13.847,2546,11.414,2548,12.061,3443,12.061,3785,10.931,4591,12.061,4592,13.043,4593,13.043]],["keywords/780",[]],["title/781",[180,622.502,389,695.85,607,733.699]],["content/781",[6,2.128,9,5.616,25,0.816,33,1.587,44,3.418,46,3.973,70,4.242,97,4.309,107,4.273,149,5.091,152,2.444,180,8.002,181,4.635,182,2.449,184,2.662,186,3.628,192,4.127,198,3.279,205,5.25,220,7.77,228,5.361,240,3.884,272,5.233,273,2.692,276,7.457,282,9.362,293,3.436,301,2.797,311,7.452,330,2.951,347,5.646,356,5.709,360,7.012,421,6.357,444,12.173,487,7.729,496,4.96,538,6.101,543,4.545,544,6.49,545,6.427,736,4.597,737,4.127,812,12.406,1055,8.647,1058,6.357,1111,8.438,1170,6.267,1204,6.312,1268,6.357,1765,7.83,1869,9.136,1876,11.35,2954,10.287,3947,16.086,3951,8.589]],["keywords/781",[]],["title/782",[6,92.877,70,233.946,694,476.813,717,459.299,958,443.717,1007,504.155]],["content/782",[6,1.972,69,4.827,70,5.906,107,3.798,149,6.414,181,4.12,182,4.546,191,6.124,201,5.972,205,4.018,220,7.202,222,5.555,223,7.951,240,4.549,293,4.328,314,5.485,334,4.458,381,4.99,385,5.664,490,6.144,543,5.726,579,9.998,673,8.067,694,10.126,711,6.562,716,5.583,717,10.909,994,8.317,1007,10.707,1127,9.737]],["keywords/782",[]],["title/783",[8,630.307,256,559.973,264,345.078,1134,673.714]],["content/783",[4,2.186,8,7.039,18,4.44,22,4.827,63,2.915,70,4.486,107,4.518,149,9.442,181,3.542,182,4.208,186,3.929,200,4.959,205,4.779,222,3.625,249,7.524,264,5.333,272,5.667,288,9.084,301,5.446,311,7.88,330,3.196,401,5.954,444,9.302,465,9.894,490,5.281,717,6.364,736,4.978,786,7.88,875,7.039,894,5.094,1058,9.526,1109,6.884,1127,11.583,1158,8.169,1166,8.717,1332,7.149,1427,7.093,1726,7.149,1931,8.37,2141,8.479,2489,9.676,2532,11.14,2724,9.894,3659,11.14,3661,11.14]],["keywords/783",[]],["title/784",[44,436.57,307,904.237]],["content/784",[5,2.681,6,1.969,18,5.86,33,1.606,40,7.763,46,5.678,61,6.68,65,4.071,87,4.316,103,5.535,107,3.051,125,4.915,149,5.152,180,5.714,181,3.309,182,3.5,184,4.41,186,5.185,198,3.318,200,4.634,205,5.742,206,6.244,220,4.391,222,4.783,223,6.387,240,2.773,246,3.924,249,7.03,264,5.086,273,2.724,307,7.163,322,4.566,330,2.986,357,8.858,371,6.479,373,3.203,425,4.468,440,8.114,466,6.479,490,4.935,520,5.622,534,8.858,589,15.464,590,5.296,694,6.174,711,5.271,716,4.484,717,5.947,729,10.869,894,4.76,912,6.479,1309,5.843,1339,5.563,1649,9.736,2120,11.485,3089,11.485,3919,9.041]],["keywords/784",[]],["title/785",[44,436.57,1017,1167.014]],["content/785",[4,1.343,5,2.798,6,2.18,18,6.952,33,2.337,53,5.475,70,4.408,88,6.198,99,4.566,107,3.184,110,5.718,125,5.129,144,11.108,149,5.376,176,4.73,181,3.454,182,2.586,185,3.131,186,5.343,201,5.006,220,4.582,230,5.71,240,2.894,252,7.009,254,7.705,264,5.24,281,5.026,301,2.954,322,4.765,330,3.116,371,6.762,398,4.854,413,9.361,451,7.966,455,6.206,482,9.881,520,5.867,544,7.765,717,6.206,736,4.854,889,8.764,943,6.812,1017,9.648,1065,7.625,1112,7.705,1204,6.665,1251,9.435,1628,7.625,1970,9.244,2616,11.343,3158,10.479,4594,12.962,4595,10.863]],["keywords/785",[]],["title/786",[191,471.331,879,610.406]],["content/786",[5,4.062,6,1.822,25,1.535,107,5.67,181,5.013,185,5.576,191,5.656,271,6.674,273,4.126,331,12.165,703,7.02,857,9.675,879,7.325,1761,17.398,4596,18.815,4597,18.815,4598,18.815]],["keywords/786",[]],["title/787",[6,115.243,572,425.189,1021,640.194,1614,607.783]],["content/787",[]],["keywords/787",[]],["title/788",[1040,1188.656]],["content/788",[154,7.918,224,7.587,590,9.183,1038,13.395,1040,13.739]],["keywords/788",[]],["title/789",[111,510.637,224,410.309,1040,863.219]],["content/789",[4,1.413,23,4.235,32,3.963,34,4.287,35,3.912,111,5.147,151,7.441,161,5.915,172,7.867,198,3.644,224,5.677,572,6.689,580,6.275,765,6.137,768,13.778,1040,14.68,1116,6.78,1437,11.028,1614,6.965,2121,11.508,2495,11.791,4599,11.432,4600,16.386,4601,13.641,4602,12.613,4603,11.937,4604,13.641]],["keywords/789",[]],["title/790",[427,576.359,901,598.491]],["content/790",[154,7.757,224,7.497,427,7.757,590,8.997,901,8.055,1038,13.124,1278,10.421]],["keywords/790",[]],["title/791",[111,449.151,224,360.904,427,437.561,901,454.363]],["content/791",[4,1.377,23,4.316,32,4.817,34,5.471,35,3.812,151,5.675,161,5.811,193,5.326,765,6.029,768,13.003,806,8.86,901,7.021,1437,10.747,2121,11.304,2495,11.583,4599,11.14,4600,16.097,4602,12.292,4603,11.632,4605,17.009,4606,13.292,4607,13.292,4608,18.394,4609,13.292]],["keywords/791",[]],["title/792",[901,598.491,3367,755.218]],["content/792",[6,1.444,23,4.17,32,4.735,34,5.123,151,4.6,154,5.481,161,4.71,224,6.03,590,6.357,630,5.481,765,4.887,768,11.361,771,5.974,806,7.182,901,5.691,1038,9.273,1278,7.363,2121,9.163,2495,9.389,3367,10.778,3369,13.787,3372,12.495,4480,11.098,4599,12.495,4600,17.403,4605,13.787,4610,13.048,4611,13.787,4612,14.91,4613,14.91]],["keywords/792",[]],["title/793",[25,104.266,152,312.153]],["content/793",[2,4.404,23,3.754,25,0.8,29,3.123,33,0.973,37,2.52,45,3.411,46,2.437,51,3.592,52,4.136,58,2.757,63,3.292,84,4.017,94,4.682,99,4.236,100,4.453,131,3.818,142,7.074,152,2.394,184,5.191,185,1.819,198,2.011,202,2.316,208,4.115,225,2.699,239,3.844,240,1.681,241,2.798,242,4.15,255,3.068,260,6.227,273,2.637,275,4.999,277,4.342,284,2.67,294,6.086,300,4.15,315,2.452,355,2.967,362,5.09,370,4.74,391,3.792,406,6.588,408,6.61,414,2.943,435,5.501,480,2.708,501,3.871,504,5.331,506,6.519,508,4.74,514,4.31,556,2.689,561,3.542,563,3.225,628,4.261,652,3.604,670,9.616,672,4.682,742,3.407,765,3.941,843,3.407,874,5.331,878,7.885,883,4.082,886,2.689,1007,3.956,1054,5.268,1055,3.742,1074,4.115,1077,4.261,1102,5.603,1103,5.268,1133,6.309,1276,3.986,1278,3.718,1327,4.017,1329,3.818,1360,4.682,1361,4.049,1377,3.521,1501,4.301,1598,5.48,1614,3.844,1766,5.011,1792,5.175,1814,4.74,1843,4.802,1872,4.049,1875,6.588,2018,5.901,2023,3.671,2111,5.011,2112,4.937,2253,3.562,2376,5.603,2377,5.48,2492,4.574,2900,5.011,3367,3.626,3656,6.309,3758,4.682,4038,5.603,4040,5.011,4112,6.086,4165,5.268,4279,6.961,4512,6.309,4614,6.961,4615,6.588,4616,5.48,4617,9.706,4618,5.369,4619,5.268,4620,5.742,4621,7.528,4622,7.528,4623,7.528,4624,7.528,4625,7.528,4626,7.528,4627,7.528,4628,7.528,4629,7.528,4630,7.528,4631,7.528]],["keywords/793",[]],["title/794",[25,70.65,33,137.374,63,232.977,414,415.272,1875,929.703]],["content/794",[]],["keywords/794",[]],["title/795",[4,140.222,785,412.676,792,780.453]],["content/795",[4,1.818,23,3.99,34,5.06,69,5.478,152,4.4,186,5.187,230,5.543,373,4.525,381,5.662,487,11.049,696,10.913,736,6.571,785,7.379,792,10.12,1089,10.12,2381,12.773,4632,16.226,4633,17.547,4634,17.547,4635,17.547]],["keywords/795",[]],["title/796",[60,277.201,62,318.282,273,162.935,519,399.61,569,364.591,685,540.846,785,226.576,1147,409.573,4636,650.198]],["content/796",[4,0.753,19,2.178,23,4.318,25,0.483,32,3.103,33,0.939,60,7.336,62,7.196,63,1.593,65,2.381,70,3.575,111,6.338,152,1.447,155,2.166,164,4.604,171,1.897,177,3.736,193,2.911,272,3.098,273,4.714,301,4.195,322,4.296,373,1.874,514,2.604,515,3.588,519,3.908,543,2.691,569,7.194,600,7.885,630,4.296,685,15.649,703,5.47,737,6.611,785,6.556,804,7.105,861,3.379,865,4.765,886,2.595,890,5.182,891,6.442,917,14.077,942,4.365,944,9.422,1029,5.289,1075,5.408,1152,7.779,1444,6.937,1571,4.913,2568,10.259,2720,4.575,2927,4.575,3770,8.699,3778,7.022,3951,5.084,4637,7.266,4638,13.557,4639,6.719,4640,11.687,4641,7.266,4642,7.266,4643,5.695,4644,11.687,4645,7.266,4646,6.719]],["keywords/796",[]],["title/797",[60,504.882,92,576.973,171,353.369]],["content/797",[4,1.639,14,5.945,22,4.151,23,4.179,32,3.347,33,2.045,60,9.458,63,3.468,85,7.618,273,4.534,329,7.048,364,8.575,484,8.871,804,7.665,974,10.088,1086,10.226,1571,10.693,1983,15.051,2079,11.812,2303,8.506,3097,13.84,4636,13.84,4647,15.815,4648,15.815,4649,15.815]],["keywords/797",[]],["title/798",[60,396.364,65,348.193,737,357.175,1697,601.311,2321,668.979]],["content/798",[4,1.59,6,1.773,19,3.096,20,4.626,22,4.027,23,4.008,25,0.687,32,2.185,45,2.93,60,8.769,62,4.424,63,4.016,65,3.385,70,2.519,85,4.974,88,3.541,103,4.602,114,3.002,122,4.533,134,5.845,152,2.056,164,3.243,177,5.31,186,3.052,187,6.347,196,3.214,203,5.237,224,3.131,273,4.445,373,3.958,381,3.333,398,3.867,425,3.715,426,9.544,484,8.608,512,4.227,514,5.501,537,3.385,581,4.383,642,4.626,737,6.156,800,7.227,804,5.005,975,12.986,1540,6.423,1547,6.874,1610,6.423,1641,7.517,1667,8.655,1697,5.845,1724,6.677,1981,6.874,2228,7.877,2321,9.663,2502,5.133,3174,6.983,4650,9.037,4651,21.734,4652,10.738,4653,9.55,4654,9.55,4655,9.037]],["keywords/798",[]],["title/799",[149,440.672,186,314.016,273,232.977,718,431.12,4212,929.703]],["content/799",[4,1.723,14,4.333,19,3.455,23,4.114,25,1.106,32,4.129,34,3.808,44,4.631,88,3.952,155,3.436,164,5.223,166,9.017,171,3.01,186,4.916,191,5,222,3.143,273,5.175,301,2.627,373,2.973,381,3.72,382,5.927,453,10.088,487,7.259,490,4.58,504,5.111,538,5.73,543,8.388,589,8.066,600,6.2,696,7.169,711,4.892,805,7.559,974,10.609,981,6.585,982,6.151,1155,7.794,1174,10.105,1204,5.927,1268,5.97,1332,6.2,3515,9.661,3597,14.555,3680,8.793,4212,10.088,4656,16.632,4657,11.527,4658,11.527,4659,16.632,4660,16.632,4661,11.527,4662,9.661]],["keywords/799",[]],["title/800",[5,229.359,6,102.858,152,211.512,1160,538.737,3367,511.73]],["content/800",[2,4.022,4,1.138,6,1.554,7,5.012,15,6.395,23,3.82,25,1.262,32,3.398,33,1.42,34,3.676,49,5.166,62,4.704,63,2.408,69,3.428,82,7.684,83,7.993,86,4.437,149,4.555,152,4.772,154,4.036,186,3.246,187,6.748,215,5.771,217,5.735,228,7.012,249,6.215,264,3.183,273,3.521,278,2.956,279,6.527,301,3.659,322,5.902,364,5.953,378,6.597,381,5.181,382,5.646,484,9.006,496,4.437,507,6.829,520,4.97,561,5.166,577,6.829,630,4.036,650,9.259,673,5.728,695,5.423,716,3.964,737,3.692,771,4.399,918,6.215,1030,5.388,1388,7.004,1749,8.376,1983,7.993,2049,13.5,2239,7.993,2459,8.877,2876,9.609,3367,9.142,3876,8.877,4663,8.877,4664,10.154,4665,10.98,4666,10.98,4667,13.455]],["keywords/800",[]],["title/801",[12,593.444,273,261.029,2253,563.222]],["content/801",[4,1.696,6,1.866,7,3.52,9,5.16,12,6.72,25,1.089,33,2.492,37,1.893,45,3.199,51,2.699,60,4.208,63,3.59,70,4.7,136,6.504,182,3.266,189,5.758,200,4.208,222,3.075,256,5.305,265,4.057,273,3.59,278,3.036,279,6.704,289,8.964,322,4.146,379,5.16,385,4.131,391,5.68,396,3.685,414,4.408,439,7.892,499,5.927,512,4.616,514,4.043,525,5.927,540,8.394,544,6.108,545,3.124,607,6.114,717,5.4,732,3.946,785,5.877,893,4.742,909,8.84,910,6.587,914,5.305,918,6.383,920,5.972,937,4.925,943,5.927,950,7.506,983,6.704,984,6.931,1008,10.428,1028,11.114,1049,6.931,1141,7.396,1157,6.704,1220,6.442,1315,7.101,1388,10.443,2126,7.506,2252,6.852,2253,5.336,2254,12.71,2492,6.852,3240,10.428,3719,10.428]],["keywords/801",[]],["title/802",[4,123.338,45,337.67,517,645.355,955,686.479]],["content/802",[4,1.188,6,1.11,12,5.776,25,0.762,33,2.515,45,5.518,62,4.911,63,3.633,76,6.814,103,5.108,125,4.536,136,6.611,149,4.755,151,3.537,182,2.287,189,5.854,222,4.517,241,4.261,278,3.086,279,9.847,293,3.209,301,4.433,322,4.214,391,5.774,393,6.166,395,6.965,400,5.162,414,4.481,424,7.412,481,6.319,501,5.895,515,8.181,517,10.546,537,3.757,545,3.175,551,5.217,627,8.986,673,5.98,716,7.022,718,4.652,732,4.011,785,6.498,787,5.556,809,5.661,866,6.744,899,8.345,907,7.045,910,4.613,921,5.937,936,5.698,943,6.025,947,7.881,963,6.398,984,7.045,986,7.881,993,5.522,1010,9.268,1045,8.744,1049,10.181,1066,6.117,1190,8.986,1207,6.611,1238,8.022,1384,11.389,1547,7.63,4668,11.464,4669,11.464,4670,11.464,4671,11.464]],["keywords/802",[]],["title/803",[45,444.782,198,418.827]],["content/803",[]],["keywords/803",[]],["title/804",[25,123.921]],["content/804",[25,1.635,45,6.973,124,7.823,228,9.124,557,8.3,772,8.665,826,11.516]],["keywords/804",[]],["title/805",[534,1328.96]],["content/805",[14,6.826,151,6.967,174,10.794,188,10.186,193,7.276,534,18.338,539,8.446,572,6.487,580,8.353,622,7.369,716,8.152,772,7.532,861,8.446,1074,9.926,1114,9.272,1604,11.741,1827,10.186,2356,14.681,3767,13.218]],["keywords/805",[]],["title/806",[2058,1188.656]],["content/806",[4,1.31,6,1.224,14,4.754,23,3.952,25,0.841,32,2.676,45,5.04,53,5.342,125,5.004,151,3.902,154,6.531,171,3.302,172,7.294,174,7.518,188,9.966,193,7.118,224,3.835,301,2.882,334,3.646,467,8.295,515,6.246,517,12.077,534,9.019,569,6.206,572,4.518,622,5.132,642,5.665,716,4.566,765,4.145,843,5.724,861,5.882,901,4.828,1040,8.067,1086,8.177,1108,8.551,1169,5.786,1272,9.206,1276,6.697,1747,8.551,1783,8.694,2058,14.209,2098,7.964,2121,7.772,2339,11.695,2356,10.225,2495,7.964,3767,9.206,3778,10.675,3781,8.067,4672,12.647,4673,12.647]],["keywords/806",[]],["title/807",[2376,1386.998]],["content/807",[]],["keywords/807",[]],["title/808",[765,513.868,3494,1141.31]],["content/808",[4,1.201,23,4.246,32,3.534,35,6.142,158,10.515,201,4.477,224,5.063,228,5.062,246,3.662,271,5.923,557,6.635,572,4.141,630,8.692,723,7.837,737,3.897,758,7.222,767,6.622,770,8.246,772,8.119,773,9.317,1021,6.234,1196,10.95,1278,5.724,1356,7.394,1417,6.336,1437,9.371,1479,9.367,2004,8.842,2021,9.714,2106,13.091,2512,9.714,2602,10.144,3494,15.59,4674,11.591,4675,10.144,4676,11.591,4677,11.591]],["keywords/808",[]],["title/809",[2376,1386.998]],["content/809",[]],["keywords/809",[]],["title/810",[319,698.67,901,598.491]],["content/810",[4,1.614,23,3.702,32,4.333,34,5.561,35,5.871,152,3.102,161,4.921,164,4.892,349,10.073,549,8.187,656,9.261,737,5.238,806,7.504,888,8.127,901,5.947,1116,7.743,1196,10.216,1278,7.693,2021,13.056,2376,11.596,2768,14.326,2769,11.883,2953,10.216,4442,10.073,4675,20.012,4678,18.932,4679,13.633,4680,14.406,4681,15.579,4682,14.406,4683,14.406]],["keywords/810",[]],["title/811",[319,698.67,4684,1267.615]],["content/811",[23,3.845,32,4.333,34,5.561,35,5.871,46,5.043,111,5.878,164,4.892,375,8.127,557,6.19,806,7.504,1278,7.693,1961,9.261,1986,10.073,2376,11.596,2396,13.056,2502,7.743,2768,14.326,2769,11.883,4199,13.633,4222,12.595,4675,20.012,4678,18.932,4679,13.633,4680,14.406,4682,14.406,4683,14.406,4684,12.595,4685,13.633,4686,15.579,4687,15.579]],["keywords/811",[]],["title/812",[19,405.656,1196,887.426,1986,874.956]],["content/812",[23,4.303,32,4.249,34,4.597,35,4.338,164,4.75,271,5.366,572,7.172,630,8.826,758,6.542,765,4.958,772,8.328,773,7.912,1278,7.47,2106,11.58,2495,9.525,3174,10.227,3494,11.011,4688,15.126,4689,20.078,4690,15.126,4691,15.126]],["keywords/812",[]],["title/813",[19,469.995,1479,879.453]],["content/813",[23,4.279,32,4.509,34,5.255,35,5.346,164,4.256,193,5.43,271,4.807,572,4.841,630,8.437,758,5.861,765,4.442,772,5.621,773,7.346,787,6.568,806,6.528,1356,8.645,1479,7.601,2106,12.289,2495,8.534,2602,18.647,2768,9.483,2769,10.337,3174,9.163,3494,9.865,4663,10.957,4679,11.859,4692,13.552,4693,13.552,4694,13.552,4695,13.552,4696,13.552]],["keywords/813",[]],["title/814",[4697,1723.121]],["content/814",[]],["keywords/814",[]],["title/815",[561,636.63,571,887.426,1704,852.135]],["content/815",[2,6.217,4,1.759,16,8.729,25,1.129,33,2.195,40,6.48,54,7.378,67,6.83,122,7.451,151,5.237,186,5.017,187,10.432,191,6.506,198,4.535,241,6.31,246,5.363,273,4.746,373,4.378,561,10.182,571,11.132,590,9.228,1656,11.299,1704,13.628,1783,11.67,2443,13.306,3770,12.635,3784,14.855]],["keywords/815",[]],["title/816",[54,681.416,1704,987.288]],["content/816",[4,1.639,6,1.531,54,6.873,61,11.121,122,6.942,152,3.149,191,4.754,228,6.907,273,5.703,301,3.604,360,9.035,361,11.598,385,5.793,493,9.836,538,7.861,561,7.44,580,7.275,775,7.572,886,5.649,955,9.121,965,12.859,1049,9.72,1134,8.951,1143,10.226,1259,12.786,1697,8.951,1704,9.959,4698,20.159,4699,15.815,4700,15.815,4701,15.815]],["keywords/816",[]],["title/817",[273,343.83,1196,1028.176]],["content/817",[4,1.759,7,5.299,46,5.495,70,4.14,72,8.079,88,5.82,125,6.717,198,4.535,204,8.032,246,5.363,273,4.746,329,7.564,361,9.522,375,8.855,381,5.478,382,8.729,427,6.24,452,10.011,455,8.128,543,8.015,1196,11.132,1254,11.478,1332,9.13,1552,11.67,4165,15.145,4698,18.94,4702,16.975]],["keywords/817",[]],["title/818",[4,140.222,241,503.001,1704,852.135]],["content/818",[7,4.493,23,4.011,32,3.046,34,3.296,54,6.256,107,3.536,111,5.432,151,6.782,173,8.557,174,8.557,198,3.845,223,7.402,224,4.364,241,7.22,246,4.547,272,6.137,427,5.292,561,9.138,571,9.44,630,5.292,765,4.718,1074,7.869,1192,8.953,1276,10.285,1638,11.283,1704,13.843,2106,8.302,2121,8.846,2444,8.745,2495,9.064,2886,9.896,2953,9.44,3880,12.064,4165,10.073,4697,13.311,4698,12.597,4703,14.395,4704,14.395,4705,17.961]],["keywords/818",[]],["title/819",[273,343.83,514,562.039]],["content/819",[]],["keywords/819",[]],["title/820",[581,790.783]],["content/820",[4,1.997,6,1.092,8,5.972,19,3.381,20,5.051,22,4.296,23,4.351,25,1.089,32,2.387,34,2.582,37,2.748,52,3.107,69,3.52,88,3.867,152,2.245,164,5.141,193,4.518,273,4.924,301,2.57,408,3.731,514,5.868,765,3.696,771,6.559,804,7.934,975,8.805,984,6.931,1398,7.101,1526,8.949,1614,5.758,1641,8.209,4028,9.631,4515,7.014,4706,16.37,4707,11.278,4708,10.428,4709,11.278,4710,11.278,4711,16.37,4712,11.278,4713,11.278,4714,11.278]],["keywords/820",[]],["title/821",[22,411.473,869,1028.176]],["content/821",[4,2.422,5,3.52,6,1.086,7,3.502,8,5.94,19,4.888,20,5.024,22,2.944,51,2.684,60,8.36,62,4.805,63,2.46,65,3.676,70,3.977,85,9.254,97,5.725,122,7.157,152,2.233,171,4.258,182,2.238,186,5.679,187,11.807,203,9.743,222,4.446,273,4.213,279,6.668,301,5.107,304,5.65,373,5.439,408,5.395,426,10.142,484,6.292,504,4.973,514,7.561,543,6.039,642,7.304,694,5.575,737,3.771,761,8.165,911,7.155,975,10.333,1219,5.403,1220,9.315,1395,12.137,1981,7.466,2088,8,2131,6.74,2136,7.849,2344,9.069,4715,11.217,4716,11.217]],["keywords/821",[]],["title/822",[1,331.087,23,113.237,183,234.015,241,276.168,284,263.555,381,239.762,722,374.225,826,409.573,4717,742.988]],["content/822",[]],["keywords/822",[]],["title/823",[25,104.266,883,850.067]],["content/823",[]],["keywords/823",[]],["title/824",[105,850.067,648,987.288]],["content/824",[3,6.487,4,1.461,8,7.468,19,4.227,23,2.149,25,1.274,40,5.383,45,4.001,49,9.012,58,5.165,99,4.968,113,6.559,152,3.814,188,7.91,196,4.389,203,7.151,250,7.525,251,7.841,257,6.317,297,4.001,398,5.281,407,6.877,515,6.964,523,7.585,674,7.016,706,9.781,763,7.201,853,8.056,881,10.265,883,7.646,884,8.213,885,10.265,886,5.037,888,7.357,936,7.01,993,6.793,996,6.383,1062,10.497,1081,8.667,1158,8.667,1168,9.248,1326,8.667,1598,10.265,2123,11.054,2444,8.568,3742,15.487,3823,11.054,4718,14.102,4719,14.102,4720,14.102,4721,14.102]],["keywords/824",[]],["title/825",[284,480.028,569,664.05,828,1032.224]],["content/825",[4,1.849,19,4.452,22,6.08,23,4.15,24,5.127,25,1.186,32,2.092,33,1.278,34,2.263,35,2.835,37,1.66,99,3.483,108,5.157,111,3.73,124,3.702,154,3.634,158,6.225,164,3.104,171,3.879,188,5.545,241,3.675,257,10.676,264,2.866,273,2.168,284,7.036,349,6.392,454,6.392,467,3.495,572,3.531,776,4.705,804,4.791,815,12.998,819,6.918,820,6.796,821,7.993,824,6.918,825,6.684,826,10.935,828,11.33,834,12.998,844,16.498,845,6.483,846,9.142,873,5.94,1061,11.096,1093,7.993,1300,4.548,1308,5.596,2002,5.317,2995,7.749,3323,8.285,3651,9.142,3767,7.196,3987,8.651,4722,9.886,4723,9.886,4724,14.853,4725,9.886,4726,9.886,4727,9.886,4728,9.886,4729,9.886,4730,9.886,4731,9.886,4732,9.886,4733,9.886]],["keywords/825",[]],["title/826",[87,413.633,241,442.435,284,422.228,572,425.189]],["content/826",[6,0.953,18,4.944,19,2.949,23,4.148,25,0.984,32,5.037,88,3.374,92,4.195,116,4.063,152,4.225,171,3.865,183,4.662,185,2.377,186,2.908,193,3.942,241,5.501,249,8.377,272,7.585,273,3.246,284,5.25,301,4.055,381,3.175,427,3.617,543,5.481,572,5.287,736,3.685,737,5.981,809,4.859,826,14.491,847,7.955,848,11.602,849,11.602,1276,5.21,1278,4.859,1646,15.396,2669,10.007,2927,9.32,3308,7.955,3564,7.017,4165,6.885,4734,9.839,4735,9.839,4736,9.839,4737,9.839,4738,9.098,4739,9.839,4740,9.839,4741,7.505,4742,9.839,4743,9.839]],["keywords/826",[]],["title/827",[99,656.442]],["content/827",[]],["keywords/827",[]],["title/828",[276,952.558,1631,887.422]],["content/828",[4,1.481,18,6.458,25,1.457,58,5.236,63,3.135,76,8.498,79,7.57,99,8.267,121,8.59,171,3.733,183,4.503,186,4.226,204,6.764,250,7.629,255,7.879,284,6.858,319,6.37,323,7.881,330,3.437,360,8.167,381,4.613,421,7.404,517,11.877,527,7.351,664,7.153,722,7.2,734,7.2,740,6.649,954,7.513,960,11.558,967,10.406,983,11.492,1061,12.024,1124,9.243,1161,11.206,1167,9.828,1316,13.219,1407,10.904,1636,10.004,1827,8.019,2979,9.666,3859,10.641,4744,13.219]],["keywords/828",[]],["title/829",[581,790.783]],["content/829",[4,0.994,6,0.694,18,1.36,21,2.348,22,4.373,23,4.241,24,2.473,25,1.042,28,1.761,29,3.98,32,4.135,33,2.527,34,2.197,35,2.752,37,1.203,45,1.155,50,2.244,54,1.769,58,1.491,67,2.883,87,2.49,88,1.396,99,6.883,108,2.124,113,1.894,149,6.024,151,1.256,152,1.426,158,2.563,161,5.774,164,4.561,166,5.203,167,3.114,168,8.873,171,1.063,182,2.306,184,1.554,186,1.203,191,2.154,193,1.631,198,3.087,206,1.449,210,2.71,224,4.403,240,0.909,255,1.659,264,2.077,273,4.155,275,1.356,278,1.096,280,2.597,284,1.444,293,3.687,319,1.814,323,2.244,330,2.307,334,2.066,341,4.259,355,3.781,360,2.326,361,2.283,364,3.885,368,2.563,399,2.225,425,4.157,427,2.634,468,1.862,490,2.847,496,1.645,516,2.093,517,8.497,533,2.304,538,2.023,539,3.333,543,4.877,545,2.658,557,1.618,572,1.454,582,2.283,735,3.226,747,2.903,751,2.502,757,2.632,765,2.348,768,6.602,769,2.963,776,3.41,777,1.814,778,5.333,780,2.156,782,4.215,786,3.069,804,3.472,818,5.333,819,2.849,820,2.799,825,2.753,886,1.454,894,1.56,910,2.883,912,2.124,915,5.333,983,8.633,1040,2.597,1049,4.403,1061,10.898,1114,2.079,1141,4.698,1143,2.632,1160,2.064,1170,2.079,1220,2.326,1251,2.963,1268,2.108,1300,1.873,1308,2.304,1313,2.42,1320,2.19,1444,1.926,1716,2.903,1914,2.903,1965,5.014,1991,3.191,1993,2.753,2136,2.849,2913,3.03,2950,3.563,3264,3.563,3265,6.27,3271,3.764,3304,6.005,3305,6.005,3306,3.412,3323,9.685,3525,3.764,3726,2.597,4436,6.27,4442,2.632,4512,3.412,4745,4.071,4746,4.071,4747,4.071,4748,4.071,4749,4.071,4750,4.071,4751,4.071,4752,4.071,4753,4.071,4754,4.071,4755,4.071,4756,4.071,4757,4.071,4758,7.165,4759,4.071,4760,4.071,4761,6.625,4762,4.071,4763,4.071,4764,4.071,4765,4.071]],["keywords/829",[]],["title/830",[58,495.646,99,476.718,394,686.235]],["content/830",[4,1.717,33,2.756,37,2.782,45,4.701,46,5.364,51,3.965,58,7.805,64,11.204,65,5.431,88,5.681,92,9.086,99,8.761,195,8.774,198,4.426,255,8.685,293,4.638,308,5.364,490,6.584,517,8.984,636,9.058,664,8.29,723,11.204,782,9.748,894,6.35,1058,8.581,1160,8.403,1663,9.213,4766,14.501]],["keywords/830",[]],["title/831",[826,1027.214]],["content/831",[4,1.492,25,1.292,46,4.659,65,4.718,99,7.744,114,4.185,152,2.866,179,7.155,183,4.534,186,4.255,193,5.767,222,3.925,241,5.35,250,7.681,255,7.916,265,5.178,284,8.982,297,4.084,323,10.707,329,6.414,381,4.645,395,8.167,420,8.745,515,7.109,517,7.804,551,6.55,557,5.719,563,6.166,622,7.882,722,7.25,723,9.733,732,5.036,826,10.707,861,6.695,869,9.44,954,7.565,1058,7.455,1077,8.147,1124,9.307,3041,11.638,4767,12.597]],["keywords/831",[]],["title/832",[191,471.331,879,610.406]],["content/832",[3,7.331,6,1.543,19,6.229,25,1.06,33,2.061,37,2.675,49,7.497,58,5.837,65,5.223,87,5.538,88,5.464,92,6.795,99,8.145,113,9.665,182,3.18,195,8.439,199,7.63,255,6.495,276,9.682,319,7.101,402,9.191,539,7.412,581,6.763,723,10.775,747,11.365,782,9.375,854,12.492,1058,8.253,1192,9.911,1663,8.861,1984,10.166,2356,12.884,3264,13.946,3265,13.946,4436,13.946,4761,14.736]],["keywords/832",[]],["title/833",[33,174.985,58,495.646,99,476.718]],["content/833",[]],["keywords/833",[]],["title/834",[33,153.915,58,435.966,99,419.316,437,467.161]],["content/834",[4,2.64,25,1.31,33,2.548,58,7.217,67,7.928,69,6.151,73,10.061,99,6.942,179,9.794,437,7.734,452,9.114,857,10.132,1147,10.862]],["keywords/834",[]],["title/835",[104,1259.934]],["content/835",[4,1.132,5,3.453,6,1.548,7,3.41,12,3.809,23,3.379,32,2.312,34,4.332,37,1.834,44,3.041,46,3.536,51,2.614,58,5.858,65,3.58,70,3.9,73,5.577,77,8.831,87,5.558,99,5.634,104,15.661,113,5.081,114,5.501,154,4.015,156,5.784,171,2.852,186,3.229,189,5.577,202,3.36,215,8.405,222,2.978,230,3.451,232,6.493,251,6.073,265,3.929,267,9.154,273,3.507,275,3.637,287,5.429,297,3.099,308,3.536,311,4.679,322,4.015,334,3.149,364,5.922,366,5.261,373,2.817,381,5.161,401,4.892,437,4.287,440,5.052,447,6.967,466,5.698,499,8.405,527,5.617,549,8.405,556,5.713,557,4.34,674,4.001,694,5.429,785,3.331,920,5.784,969,7.385,996,7.239,1109,5.657,1548,6.967,2094,8.13,2098,6.878,2861,8.562,2868,9.559,3773,10.1,4768,10.923,4769,10.923,4770,10.923,4771,10.923]],["keywords/835",[]],["title/836",[100,690.067]],["content/836",[4,1.758,5,1.344,6,2.033,9,2.847,12,2.17,14,3.872,16,3.2,20,2.788,22,2.703,23,2.334,28,2.692,29,4.272,32,1.317,33,1.704,37,1.729,40,2.376,44,1.733,45,1.766,46,2.015,50,3.431,53,2.629,58,7.69,63,1.365,65,2.04,69,1.943,73,3.178,82,4.355,84,3.321,87,2.163,98,2.666,99,7.132,100,8.822,107,3.237,110,5.812,113,2.895,114,4.452,125,2.463,152,1.239,176,3.759,181,1.658,182,2.055,183,3.244,184,2.234,185,1.503,190,7.164,198,2.751,202,4.053,205,1.617,220,2.2,222,2.809,241,3.828,252,3.994,264,2.986,273,3.359,274,4.024,278,1.675,284,2.208,293,1.742,301,2.347,304,3.135,310,2.817,311,4.412,314,4.674,315,3.355,319,2.773,322,3.786,330,1.496,334,4.416,355,2.453,364,3.374,372,4.024,373,1.605,375,3.247,379,4.712,381,2.008,386,4.53,387,3.625,389,3.2,393,3.347,398,3.857,400,2.802,409,3.97,416,4.142,417,5.933,435,4.712,437,5.171,479,3.739,483,5.54,484,3.491,496,4.162,515,5.087,529,5.83,533,3.523,536,2.134,537,3.376,544,5.714,545,2.853,548,3.919,563,2.666,577,3.871,613,2.192,614,2.692,634,4.439,660,3.491,693,2.788,695,3.074,698,4.024,705,3.625,716,2.247,729,5.446,737,2.092,765,2.04,785,3.141,860,3.781,879,2.423,894,2.385,905,3.7,910,2.504,943,3.271,984,3.825,989,4.439,1021,3.347,1066,3.321,1378,8.195,1631,3.523,1636,4.355,1650,3.7,1697,3.523,1874,5.032,1940,5.032,2467,5.216,2502,3.093,3223,4.632,3808,5.755,3809,5.755,4772,6.224,4773,5.755,4774,6.224,4775,6.224,4776,6.224,4777,6.224,4778,6.224]],["keywords/836",[]],["title/837",[0,1010.306]],["content/837",[0,13.708,1,10.267,4,2.006,5,3.092,7,2.192,14,2.639,15,4.089,18,2.345,19,2.105,22,5.349,23,2.509,28,3.036,29,4.715,32,2.406,33,1.852,37,1.179,45,1.992,54,3.051,58,8.602,63,1.54,72,3.342,73,3.585,75,7.35,79,3.718,99,8.117,100,7.169,104,7.686,107,1.724,114,2.041,122,3.081,127,6.492,128,6.492,131,3.56,152,3.278,158,4.421,162,2.482,182,1.401,184,3.922,191,2.111,198,1.875,202,2.16,204,5.379,205,1.824,206,2.499,215,3.69,239,9.236,240,2.538,241,2.61,243,3.23,272,4.847,273,2.493,301,2.591,308,2.273,319,3.129,329,3.129,334,2.024,355,2.767,376,6.492,386,5.111,390,5.226,395,2.952,411,6.144,414,2.744,427,2.581,448,5.676,466,5.93,467,2.482,487,4.421,499,3.69,507,4.366,520,3.178,537,2.301,542,4.478,543,2.6,557,2.79,582,3.938,620,6.492,637,4.011,645,6.688,862,4.421,879,2.733,894,2.69,944,3.938,1077,6.434,1134,3.974,1378,8.909,1548,4.478,1631,3.974,1711,4.604,1783,4.827,2172,4.747,2344,5.676,3223,5.226,3333,9.191,3563,4.827,3748,5.503,3767,5.111,3830,5.226,4779,7.021,4780,7.021,4781,11.368,4782,7.021,4783,7.021,4784,7.021,4785,7.021,4786,7.021,4787,7.021,4788,7.021]],["keywords/837",[]],["title/838",[25,123.921]],["content/838",[2,3.82,4,1.984,5,2.251,6,1.497,7,2.456,9,2.073,14,2.958,18,2.628,19,1.358,22,3.268,23,3.938,24,2.716,25,1.471,28,1.96,29,3.264,32,2.207,33,1.61,34,3.228,35,4.76,37,1.751,44,1.262,45,2.958,46,1.467,53,1.914,58,6.746,61,2.437,63,1.726,69,1.415,73,2.314,85,2.183,89,2.853,97,1.591,99,6.488,100,6.82,107,3.059,108,2.364,111,1.71,113,2.108,114,2.287,122,1.989,152,1.567,155,1.351,164,1.423,171,2.055,176,1.654,180,3.62,181,1.207,182,2.081,183,2.478,184,1.706,185,1.095,186,3.082,190,2.12,191,1.362,192,2.645,196,1.41,198,2.102,199,2.17,201,1.75,202,1.394,204,2.144,222,1.236,224,2.386,239,2.314,242,2.498,264,1.314,271,1.607,273,3.39,284,2.791,293,1.268,297,2.958,301,1.033,311,1.941,315,3.397,319,3.506,323,2.498,330,2.507,334,1.307,373,1.169,381,1.462,385,1.66,388,2.542,394,2.298,396,1.481,398,2.947,399,2.477,401,2.03,408,4.664,414,1.771,420,2.753,421,4.075,425,1.63,440,2.096,480,2.831,514,1.624,536,1.554,537,1.485,538,2.252,541,2.21,543,2.914,544,2.936,545,1.255,553,2.03,555,2.818,556,1.619,568,2.666,571,2.972,572,1.619,600,2.437,614,1.96,630,4.578,656,2.694,659,2.084,689,2.477,693,2.03,694,2.252,722,2.282,732,1.585,736,1.697,737,2.645,742,3.562,757,2.93,758,1.96,763,5.325,765,2.579,770,2.238,771,4.178,772,1.88,773,3.101,774,2.477,775,2.17,777,2.019,787,2.196,804,3.813,805,2.972,857,2.33,894,3.015,910,1.823,932,2.062,954,2.381,975,2.437,993,2.183,1015,3.456,1030,2.224,1077,2.565,1147,2.498,1160,2.298,1197,3.171,1219,2.183,1256,2.565,1257,3.6,1268,2.347,1300,2.084,1305,3.171,1308,2.565,1313,2.694,1320,2.437,1378,6.486,1566,3.965,1613,2.519,1697,2.565,1755,3.456,1811,3.299,1821,3.016,1891,3.171,1893,3.115,2098,2.853,2106,2.613,2178,3.171,3367,2.183,3563,3.115,3778,2.723,3781,6.652,3790,3.171,3810,3.965,3811,3.965,3812,3.965,3813,2.753,3814,2.972,3816,3.965,3817,3.965,3818,6.886,3819,3.965,3990,3.373,4185,3.798,4620,3.456,4789,4.531,4790,4.531,4791,4.19,4792,4.531,4793,4.531,4794,4.19]],["keywords/838",[]],["title/839",[566,1281.072]],["content/839",[4,1.432,6,1.63,14,5.195,16,7.106,33,2.177,44,3.848,49,4.229,63,1.971,70,2.192,107,2.208,114,2.613,121,5.402,134,5.088,162,3.178,181,2.395,185,2.172,190,4.205,196,2.798,199,4.304,201,3.472,202,5.811,205,2.336,207,10.414,236,6.181,237,11.038,241,3.342,255,3.664,260,10.559,272,3.833,273,1.971,287,4.469,301,2.049,308,2.91,311,3.851,315,6.641,330,2.161,331,5.813,366,4.33,407,6.738,413,4.656,421,4.656,423,5.525,433,10.059,435,4.113,437,5.423,439,6.291,440,4.158,481,4.956,485,7.047,532,5.236,541,4.384,548,5.661,563,5.92,566,15.413,572,3.211,576,7.534,577,8.594,581,3.815,633,7.268,639,4.279,642,4.027,664,4.498,668,4.656,676,6.544,693,4.027,703,3.354,732,3.145,907,5.525,914,4.229,938,10.832,996,4.069,1000,4.835,1022,7.047,1030,4.412,1065,5.289,1109,4.656,1142,6.544,1224,5.236,1305,6.291,1395,6.692,1558,5.525,1582,6.692,1610,5.591,1863,7.047,1885,7.534,1980,7.534,1988,7.268,2114,5.895,2123,7.047,2660,12.778,2778,6.412,3020,7.867,3041,7.268,4795,8.313,4796,8.99,4797,15.565,4798,8.99,4799,8.99,4800,8.99,4801,8.99,4802,8.99,4803,8.99]],["keywords/839",[]],["title/840",[23,206.245,194,788.126,208,739.744]],["content/840",[4,1.94,5,2.945,6,1.321,33,1.764,46,4.415,58,6.858,72,6.492,73,6.965,99,6.596,107,3.351,114,3.965,176,4.978,181,5.697,182,2.722,183,4.296,184,4.061,190,6.381,194,10.905,197,9.728,198,3.644,201,5.268,202,5.76,205,4.865,207,10.322,208,11.688,220,4.822,235,8.484,236,9.378,237,8.945,238,9.223,241,5.07,248,7.396,289,6.345,297,3.87,305,13.298,311,5.843,329,6.078,366,6.57,373,3.518,423,8.383,516,7.014,641,9.545,645,11.016,698,8.819,886,6.689,1134,7.721]],["keywords/840",[]],["title/841",[935,1506.563]],["content/841",[0,3.806,5,3.555,6,1.387,16,5.845,25,0.467,37,1.179,44,3.989,54,3.051,60,2.619,63,1.54,67,2.825,70,1.712,98,3.008,100,2.6,104,4.747,107,1.724,114,5.628,131,3.56,152,1.398,166,3.806,171,2.968,181,4.819,183,2.211,184,1.522,185,3.978,197,8.107,199,3.361,207,7.896,217,5.117,220,4.018,236,4.827,237,7.455,239,7.314,242,3.87,260,7.418,272,2.993,273,4.654,277,4.049,278,1.89,284,5.841,301,3.265,315,6.305,328,5.676,330,1.688,348,3.974,355,2.767,378,4.218,393,3.776,394,3.56,414,5.599,416,4.673,417,6.45,435,5.201,454,4.539,467,4.018,481,7.896,503,3.718,527,5.845,537,3.726,544,2.619,545,1.945,556,2.508,557,2.79,561,3.303,563,4.87,566,12.435,572,5.117,581,2.979,614,6.195,630,4.179,636,3.838,650,6.556,659,3.23,674,2.571,693,3.145,695,3.467,703,4.241,742,5.145,765,6.345,806,8.712,954,3.69,960,5.676,969,4.747,993,3.382,1030,5.578,1315,4.421,1329,3.56,1536,4.913,1631,3.974,1636,4.913,1705,5.676,1728,5.226,1961,4.173,2022,5.884,2073,6.492,2083,6.492,2118,4.747,2156,6.492,2625,5.355,2848,5.884,2942,5.503,3199,6.492,3442,14.409,3746,5.884,3858,5.355,3898,6.144,3997,6.492,4154,6.492,4795,6.492,4804,6.144,4805,7.021,4806,7.021,4807,5.503,4808,7.021,4809,7.021,4810,7.021,4811,7.021,4812,7.021,4813,7.021,4814,7.021,4815,7.021]],["keywords/841",[]],["title/842",[191,471.331,879,610.406]],["content/842",[4,2.243,16,8.729,19,5.089,25,1.585,33,2.799,46,5.495,58,8.727,99,8.394,179,8.437,188,9.522,205,4.411,206,6.042,398,6.357,857,11.129,883,9.203,886,6.064,894,6.505,993,8.177,1444,8.032,3186,13.724,3820,15.697,3821,14.855,4816,16.975]],["keywords/842",[]],["title/843",[184,340.004,239,800.578]],["content/843",[]],["keywords/843",[]],["title/844",[2778,1328.96]],["content/844",[5,5.011,103,8.461,152,3.78,184,4.117,205,4.933,225,8.32,271,6.735,277,10.95,278,6.248,408,6.282,786,8.133,1220,10.846,4817,18.986,4818,18.986,4819,18.986,4820,17.557]],["keywords/844",[]],["title/845",[2651,1356.449]],["content/845",[45,5.643,184,5.548,224,6.032,239,10.158,246,6.284,297,5.643,674,7.286,703,7.422,757,12.862,2252,12.086,2542,14.481,4821,19.893]],["keywords/845",[]],["title/846",[581,790.783]],["content/846",[4,1.598,5,1.693,12,2.734,18,2.619,22,2.057,23,4.325,25,0.521,32,1.659,109,5.069,111,2.958,116,3.237,124,4.651,131,3.976,151,2.419,152,3.07,154,2.882,161,2.477,164,3.9,184,4.146,185,1.894,201,3.028,224,2.377,239,9.761,241,5.732,243,5.712,246,3.923,282,5.98,293,2.195,301,2.83,305,4.876,319,3.494,330,1.885,334,2.26,347,3.606,348,4.437,373,2.022,398,2.936,451,7.632,458,5.776,467,7.189,490,3.115,520,6.98,538,3.897,598,5.301,694,3.897,711,3.327,735,5.591,886,2.8,901,4.74,1024,5.842,1109,4.06,1114,8.956,1176,4.479,1257,3.587,1339,3.512,1343,4.66,1347,4.876,1354,7.545,1401,5.591,1580,5.835,1602,4.763,1743,9.472,1747,5.301,2381,9.04,3579,11.483,3586,7.162,3756,6.338,4051,5.141,4326,14.181,4822,4.66,4823,6.57,4824,7.249,4825,7.84,4826,7.84,4827,7.84,4828,7.84,4829,7.84,4830,7.84,4831,7.84,4832,5.591]],["keywords/846",[]],["title/847",[225,562.039,278,422.052]],["content/847",[4,2.042,45,5.59,184,5.148,193,7.895,222,5.373,225,8.51,278,5.304,674,7.217,1220,11.257,1276,10.434,2131,11.839,3560,14.344,4421,15.931]],["keywords/847",[]],["title/848",[19,469.995,1536,1097.157]],["content/848",[22,2.225,23,4.236,32,3.875,44,2.361,111,7.488,131,4.299,151,5.004,154,3.117,155,2.527,161,2.678,162,2.997,164,2.662,171,2.214,184,3.517,193,5.291,198,2.265,224,4.004,239,8.282,241,7.376,272,3.615,287,4.214,301,1.932,305,5.273,330,2.038,347,6.075,373,2.186,419,5.151,451,5.21,467,6.473,481,4.673,520,10.555,530,7.84,592,5.151,711,3.598,716,3.061,726,6.171,737,2.85,772,3.517,891,4.673,901,6.192,1024,6.212,1169,3.879,1309,3.988,1343,5.04,1347,8.213,1942,6.646,2303,4.56,2912,11.388,3223,6.31,3339,13.114,3586,10.56,3823,6.646,3923,6.31,4051,8.66,4326,13.114,4822,7.85,4823,11.067,4824,7.84,4833,13.594,4834,13.205,4835,13.205,4836,8.478,4837,8.478,4838,8.478,4839,8.478,4840,8.478,4841,8.478,4842,13.205,4843,8.478]],["keywords/848",[]],["title/849",[703,695.225]],["content/849",[4,2.263,23,3.12,33,1.362,51,5.227,65,3.453,69,3.289,72,5.015,171,4.067,193,4.221,219,3.916,235,9.687,239,10.452,240,2.353,246,3.328,281,4.086,314,6.573,323,5.808,355,6.138,396,3.442,437,4.135,438,3.946,447,9.935,458,4.901,479,6.331,493,6.553,613,6.527,659,7.165,660,5.91,662,7.514,688,6.401,703,8.149,711,6.61,716,3.804,736,3.946,737,3.542,757,10.07,861,4.901,943,5.537,955,6.076,1109,5.457,1176,6.019,1298,9.358,1300,4.847,1339,4.719,1389,8.518,1438,8.518,1466,7.67,1694,7.373,1713,8.444,1844,9.22,2018,8.259,2360,8.518,2612,7.514,3629,11.337,3681,9.22,3790,7.373,4844,10.536,4845,10.536,4846,10.536,4847,10.536,4848,10.536,4849,15.575,4850,15.575,4851,10.536,4852,10.536,4853,10.536,4854,10.536,4855,18.529,4856,10.536,4857,10.536,4858,10.536]],["keywords/849",[]],["title/850",[72,746.242,134,887.422]],["content/850",[]],["keywords/850",[]],["title/851",[33,202.738,741,952.558]],["content/851",[0,8.707,23,3.98,32,3.399,33,3.178,34,3.677,35,4.605,45,4.556,198,6.199,239,11.85,240,4.663,373,4.142,425,5.777,520,7.269,587,10.244,711,6.815,741,9.757,901,6.13,2106,12.044,2197,12.588,2733,14.894,3586,9.262,4859,20.884,4860,16.059]],["keywords/851",[]],["title/852",[58,574.258,99,552.327]],["content/852",[22,5.593,23,4.013,32,3.507,58,6.069,99,5.837,144,10.183,184,3.593,224,5.024,239,8.461,251,9.213,347,7.622,520,11.645,738,13.779,901,8.135,1024,7.795,1347,10.306,3586,9.556,4051,10.866,4326,13.397,4822,9.85,4823,13.887,4861,21.311]],["keywords/852",[]],["title/853",[184,293.46,194,788.126,208,739.744]],["content/853",[]],["keywords/853",[]],["title/854",[581,790.783]],["content/854",[4,1.602,22,3.269,23,4.266,28,3.404,29,5.166,32,4.053,33,1.611,35,2.257,54,3.42,60,2.936,70,1.919,108,4.105,124,2.947,152,1.567,154,2.893,171,2.055,183,2.479,184,4.417,190,3.681,192,2.646,194,9.003,208,10.469,224,5.807,230,2.486,240,1.757,241,2.925,246,2.486,251,4.375,264,2.281,293,2.203,301,2.839,319,3.507,329,3.507,330,1.892,334,3.591,347,5.73,381,2.539,398,4.664,438,2.947,467,4.403,520,3.562,572,2.811,580,3.62,590,3.355,630,2.893,664,3.937,674,4.562,716,2.841,735,5.608,737,2.646,771,3.153,786,3.371,886,4.449,901,3.004,1024,5.86,1160,3.991,1276,4.167,1300,3.62,1308,4.454,1325,5.088,1347,4.894,1377,3.681,1438,6.362,1827,4.414,1889,4.955,2502,3.911,3756,6.362,3880,6.595,4051,5.161,4332,11.518,4349,8.883,4804,10.9,4822,7.404,4862,7.869,4863,7.869,4864,7.277,4865,16.253,4866,7.869,4867,7.277,4868,7.869,4869,7.869,4870,11.518,4871,7.869,4872,11.518,4873,7.869,4874,7.869,4875,10.9,4876,6.887,4877,7.869,4878,6.595]],["keywords/854",[]],["title/855",[278,422.052,809,774.288]],["content/855",[18,7.383,25,1.167,44,4.886,65,5.751,152,4.817,171,5.771,184,4.793,208,9.592,315,5.715,330,4.219,334,5.059,361,9.842,427,6.45,446,13.061,467,6.203,582,9.842,737,5.899,809,11.949,1345,10.913,3887,12.063,4879,13.061]],["keywords/855",[]],["title/856",[171,409.414,4880,1449.827]],["content/856",[5,4.137,6,1.855,18,6.401,25,1.552,44,5.335,52,5.28,152,3.815,184,4.155,185,5.638,202,5.894,208,12.759,364,10.389,561,9.014,1204,9.853,4880,17.718]],["keywords/856",[]],["title/857",[4,90.608,18,292.098,33,113.071,184,189.626,208,478.003,1169,400.06,1204,449.64]],["content/857",[4,2.041,22,3.858,23,3.883,25,1.31,32,3.111,33,1.901,34,3.366,53,6.209,73,7.506,152,3.922,155,4.382,164,4.616,171,3.838,182,2.933,208,10.768,230,4.644,273,3.224,315,4.788,458,6.837,516,7.558,737,6.623,740,6.837,751,9.034,807,11.884,858,7.404,1169,6.725,1204,7.558,1257,9.012,2502,7.306,3887,13.543,4864,13.593,4875,20.771,4881,14.699,4882,14.699,4883,14.699,4884,14.699]],["keywords/857",[]],["title/858",[184,340.004,1325,1013.728]],["content/858",[4,1.958,23,4.223,32,2.925,33,1.787,44,3.849,124,5.176,164,6.761,184,2.997,208,10.329,224,6.528,225,4.955,347,6.358,419,8.397,467,4.886,600,10.162,740,6.429,785,4.215,1024,6.502,1325,12.217,1356,8.817,1548,8.817,2321,8.703,2717,10.543,2741,10.543,4051,9.064,4804,12.095,4822,8.216,4865,12.781,4870,12.781,4872,12.781,4875,12.095,4885,13.822,4886,18.895,4887,13.822,4888,12.781,4889,13.822,4890,13.822]],["keywords/858",[]],["title/859",[25,89.993,184,293.46,4618,965.11]],["content/859",[]],["keywords/859",[]],["title/860",[4,140.222,25,89.993,4618,965.11]],["content/860",[6,1.365,23,1.407,25,1.372,33,1.823,37,2.367,45,2.618,69,2.881,70,3.438,82,6.458,87,3.207,97,4.95,107,4.202,114,2.683,149,3.828,151,2.847,161,2.916,176,3.368,180,4.245,181,3.757,182,1.841,184,3.057,185,3.406,186,4.167,192,3.103,202,2.839,203,4.68,204,4.367,205,5.651,206,5.019,207,5.088,220,6.048,225,5.054,226,4.712,227,4.746,240,2.061,246,2.916,252,3.579,262,4.925,264,2.676,265,3.32,278,5.156,284,3.274,285,9.693,293,2.583,301,3.899,305,5.74,308,2.987,311,3.954,314,3.274,315,3.006,330,2.219,360,5.272,366,4.445,392,4.293,401,4.134,425,3.32,428,4.964,479,5.545,536,5.866,537,5.607,545,2.556,554,4.419,565,5.224,582,5.177,613,3.251,614,3.992,626,7.04,632,5.429,637,8.054,638,5.323,639,4.393,735,4.155,739,5.967,740,4.293,862,5.812,894,3.537,914,4.342,932,6.416,971,5.486,973,4.964,989,6.582,1007,7.41,1041,7.234,1060,8.534,1116,4.587,1157,5.486,1197,6.458,1393,7.462,1567,11.052,1603,7.04,2692,6.458,3990,6.869,4618,12.201,4891,14.099]],["keywords/860",[]],["title/861",[240,302.163,1732,1184.242,4618,965.11]],["content/861",[4,1.773,6,0.612,14,2.375,18,3.484,20,2.83,23,3.104,25,1.225,29,6.412,33,1.722,35,2.991,44,3.708,45,1.792,53,2.669,58,2.314,73,3.226,87,2.196,94,3.929,98,4.468,106,7.17,108,5.44,111,3.935,124,2.366,125,2.5,136,3.644,152,4.055,155,1.883,164,3.275,171,4.809,177,3.249,181,1.683,184,2.262,185,2.519,186,1.867,189,3.226,190,4.878,191,4.647,198,4.92,205,2.71,207,7.341,224,6.176,235,8.282,238,9.004,240,2.974,243,2.906,254,3.756,271,2.241,278,1.701,334,1.822,359,11.252,373,3.434,378,3.796,396,3.407,420,3.838,427,2.323,438,2.366,446,4.703,468,2.891,497,5.529,545,1.75,552,3.32,568,3.717,580,2.906,590,4.446,652,3.025,659,2.906,674,2.314,677,4.953,737,4.477,765,3.418,809,9.622,858,3.182,886,3.725,894,2.421,971,3.756,1050,7.438,1089,3.644,1174,3.838,1264,7.762,1300,4.797,1308,5.903,1313,3.756,1320,3.398,1345,3.929,1444,2.99,1638,4.953,1823,4.953,1966,4.421,1986,6.743,2502,3.14,2669,4.272,2781,13.709,2783,6.336,2953,11.219,3455,5.842,3503,4.703,3858,7.955,3887,4.344,4074,5.529,4618,17.639,4879,7.762,4892,6.318,4893,19.034,4894,5.842,4895,6.318,4896,6.318,4897,6.318,4898,6.318,4899,5.529,4900,6.318,4901,5.529]],["keywords/861",[]],["title/862",[25,70.65,171,277.416,184,230.384,191,319.37,4618,757.671]],["content/862",[18,4.04,22,4.935,23,4.231,24,4.174,25,1.251,28,3.28,29,5.016,32,3.98,33,0.981,34,2.769,35,4.326,37,1.273,108,3.956,125,3.001,151,2.339,161,2.396,162,2.681,171,3.939,184,4.078,191,3.636,198,2.026,205,5.207,206,2.699,207,4.18,223,3.899,224,4.574,235,4.716,238,5.127,240,1.693,271,2.69,275,2.525,323,4.18,334,2.186,347,3.488,355,2.988,373,1.956,387,4.416,396,2.478,407,3.698,467,2.681,482,4.145,572,2.709,630,5.545,677,9.48,735,3.414,737,2.549,757,4.903,758,3.28,764,4.145,765,3.964,767,4.332,770,3.745,771,6.044,772,3.145,773,4.766,774,4.145,775,3.631,776,5.756,777,3.379,780,4.015,809,5.972,845,4.973,886,2.709,1024,3.567,1276,4.015,1300,3.488,1308,4.292,1313,4.508,1320,4.078,1343,4.508,1347,4.716,1354,7.348,1526,6.611,1646,5.047,2106,4.373,2121,7.432,3709,6.355,3726,4.837,4618,16.457,4822,4.508,4832,5.408,4879,5.644,4902,15.085,4903,6.355,4904,7.583,4905,7.583,4906,7.583,4907,7.583,4908,7.583,4909,7.583,4910,7.583]],["keywords/862",[]],["title/863",[45,337.67,184,258.124,703,444.09,4618,848.901]],["content/863",[4,1.208,20,5.221,25,1.115,46,3.773,51,2.789,69,3.639,70,2.843,72,5.548,88,3.997,131,5.911,152,3.909,154,6.163,184,2.528,205,3.029,224,3.534,225,4.178,230,3.682,246,3.682,278,3.138,279,9.966,288,5.756,297,3.307,319,5.194,329,5.194,347,5.362,360,6.659,373,3.006,378,7.004,381,3.761,394,5.911,396,6.415,501,5.994,556,5.989,632,6.857,674,4.269,677,9.137,711,4.947,758,5.041,785,3.555,787,5.649,792,9.669,886,4.164,1417,9.165,1466,8.485,1575,10.2,1713,6.32,2004,12.788,2057,8.013,2058,7.435,2252,7.082,2353,8.313,2354,9.769,2396,9.769,2572,13.555,2766,12.788,2953,12.876,4199,14.672,4618,15.313,4643,9.137,4911,11.656,4912,11.656,4913,11.656,4914,11.656,4915,11.656,4916,11.656,4917,9.424,4918,11.656,4919,11.656,4920,11.656]],["keywords/863",[]],["title/864",[184,340.004,1054,1097.157]],["content/864",[]],["keywords/864",[]],["title/865",[4921,1863.425]],["content/865",[4,1.773,5,3.695,6,1.657,25,1.138,35,4.908,184,3.711,217,6.114,240,3.821,243,7.873,373,4.414,394,8.679,438,6.409,695,8.452,882,10.518,886,6.114,894,6.558,1054,16.737,1262,10.518,1617,8.928,1822,12.739,3990,12.739,4563,13.055,4893,19.039,4894,15.826,4922,17.115,4923,17.115,4924,17.115,4925,17.115]],["keywords/865",[]],["title/866",[581,790.783]],["content/866",[5,2.435,19,3.381,22,4.296,23,4.125,25,0.75,28,4.878,29,6.79,30,5.305,32,2.387,35,3.234,44,3.14,45,3.199,69,3.52,108,5.883,124,4.223,152,3.259,154,4.146,162,3.987,184,5.368,224,5.843,240,2.518,251,6.27,314,4,347,5.188,356,7.614,373,2.908,716,5.91,735,5.078,771,4.518,886,6.884,901,4.305,1024,5.305,1054,16.39,1259,13.235,1276,8.669,1300,5.188,1343,6.704,1347,7.014,1354,9.946,1713,6.114,2178,7.892,2768,7.892,2927,7.101,3601,9.451,4051,7.396,4822,6.704,4926,19.272,4927,11.278,4928,14.326,4929,11.278,4930,11.278,4931,11.278]],["keywords/866",[]],["title/867",[278,422.052,809,774.288]],["content/867",[18,7.383,25,1.167,44,4.886,65,5.751,152,4.817,171,5.771,184,4.793,315,5.715,330,4.219,334,5.059,361,9.842,427,6.45,446,13.061,467,6.203,582,9.842,737,5.899,809,11.949,1054,12.279,1345,10.913,3887,12.063,4879,13.061]],["keywords/867",[]],["title/868",[25,58.151,45,248.063,184,293.328,1360,543.842,1361,470.306,1992,706.971]],["content/868",[25,1.349,45,5.753,152,4.038,162,7.169,184,5.238,193,8.126,1058,10.503,1360,12.613,1361,10.908,1388,12.936,1992,16.396]],["keywords/868",[]],["title/869",[25,49.41,45,210.774,107,182.5,181,197.97,184,161.122,260,384.788,301,169.334,315,241.997,537,243.512]],["content/869",[]],["keywords/869",[]],["title/870",[202,482.305,556,560.063]],["content/870",[25,1.454,107,4.239,166,9.356,171,4.506,184,3.742,204,8.165,219,6.414,226,8.811,235,10.732,238,11.668,260,11.326,278,4.645,297,6.204,315,5.621,319,7.69,330,4.149,425,6.208,545,4.78,894,6.613,1843,11.008,2671,11.316,4563,13.163,4932,15.957,4933,17.256,4934,17.256,4935,17.256,4936,15.101]],["keywords/870",[]],["title/871",[638,904.237,878,1028.176]],["content/871",[3,5.332,4,1.201,25,1.11,45,4.737,51,2.774,68,6.092,82,8.111,131,8.468,171,3.027,182,2.313,184,3.621,199,5.55,205,6.48,206,5.944,219,4.308,220,4.097,243,5.332,260,12.916,264,3.36,272,4.942,291,5.55,297,3.288,299,7.209,314,8.052,330,2.787,334,3.342,347,5.332,356,5.391,373,2.989,374,9.371,423,7.124,462,4.606,504,5.139,514,4.155,545,4.625,613,4.083,638,6.685,659,5.332,735,5.219,785,3.535,876,7.209,879,4.513,1055,5.761,1124,7.494,1173,6.89,1189,7.209,1663,6.445,1716,8.267,1843,7.394,1961,6.89,2692,8.111,2918,10.144,3262,10.719,3785,9.714,4563,8.842,4617,15.287,4936,10.144,4937,11.591,4938,11.591,4939,10.719]],["keywords/871",[]],["title/872",[171,250.496,191,288.379,205,249.247,260,496.808,315,312.447,4617,620.238]],["content/872",[1,1.67,2,2.44,4,1.129,7,1.17,10,1.483,18,1.252,19,1.124,22,4.417,23,4.177,24,3.759,25,1.256,28,1.621,29,4.518,30,1.764,32,3.378,33,1.935,34,3.426,35,2.578,37,1.829,44,1.855,68,1.97,87,1.303,88,1.285,105,3.611,107,0.921,108,1.956,110,1.654,111,1.415,122,1.645,124,3.366,151,1.157,152,1.326,161,1.184,162,1.325,164,3.918,171,1.739,176,1.368,183,2.098,184,3.245,185,1.609,186,1.108,190,1.753,191,1.127,198,3.691,201,1.448,203,1.901,204,1.774,205,3.242,206,2.371,207,2.066,219,1.393,223,1.928,224,6.306,234,1.734,240,4.451,243,5.01,260,10.968,271,2.363,282,5.081,314,3.188,315,2.928,334,2.592,347,3.064,355,3.542,373,2.809,381,1.21,396,1.225,407,4.383,427,1.378,438,2.494,476,2.277,482,2.049,504,1.662,511,2.673,572,2.379,574,6.159,630,5.867,735,2.999,757,2.424,758,2.881,765,2.946,770,3.289,772,2.763,773,5.897,774,3.641,775,3.189,777,2.968,780,3.527,785,1.143,809,3.289,843,3.015,845,2.458,876,2.331,886,4.457,894,1.437,1024,3.134,1084,3.28,1089,2.162,1242,2.938,1255,3.031,1300,1.724,1308,2.122,1313,2.228,1320,2.016,1333,2.79,1343,2.228,1347,4.143,1354,6.617,1377,1.753,1444,1.774,1612,4.958,1633,2.141,1724,7.042,2023,1.828,2106,7.195,2165,2.535,2502,1.863,3586,2.162,3592,2.79,3593,2.495,3726,2.391,3739,3.142,3856,3.466,4432,3.142,4515,6.774,4617,8.933,4822,3.959,4832,2.673,4893,3.28,4899,3.28,4903,7.533,4936,3.28,4939,3.466,4940,3.749,4941,3.749,4942,3.749,4943,3.749,4944,3.749,4945,6.661,4946,9.531,4947,6.159,4948,3.749,4949,3.466,4950,3.749,4951,3.749,4952,6.661,4953,3.749,4954,3.749,4955,11.579,4956,7.928,4957,8.988,4958,3.749,4959,5.582,4960,3.142,4961,6.159,4962,3.466,4963,3.142,4964,3.28,4965,2.859,4966,3.749,4967,3.749,4968,3.749,4969,3.28,4970,5.221,4971,5.582,4972,3.466,4973,6.661]],["keywords/872",[]],["title/873",[191,471.331,879,610.406]],["content/873",[19,5.59,23,2.842,25,1.527,66,13.573,144,11.459,185,4.504,260,9.657,264,5.406,308,6.036,398,6.983,428,10.029,1598,13.573,1697,10.554,2176,14.616,2588,13.573,4974,18.646,4975,18.646,4976,18.646,4977,18.646,4978,18.646]],["keywords/873",[]],["title/874",[25,63.794,131,486.458,184,208.027,205,249.247,240,214.197,241,356.567]],["content/874",[]],["keywords/874",[]],["title/875",[1663,1036.075]],["content/875",[4,1.424,6,0.508,12,1.829,14,0.745,18,1.752,22,3.056,23,4.248,25,0.593,32,4.345,33,0.256,34,3.146,40,4.445,44,1.034,45,1.054,46,0.641,49,1.748,53,0.837,63,0.434,67,0.797,68,1.952,86,1.501,88,0.679,92,0.845,97,0.695,99,0.698,106,2.554,107,0.913,108,1.033,111,2.953,114,0.576,116,5.674,122,0.869,124,1.391,131,3.969,148,1.142,151,1.146,152,3.162,154,1.366,155,0.59,161,2.472,162,4.116,164,5.816,166,2.844,167,1.615,171,1.725,177,1.019,180,0.911,183,2.811,184,3.34,186,0.585,191,1.117,193,1.488,198,0.992,204,0.937,205,3.868,206,1.322,220,1.313,222,1.013,223,1.019,224,0.601,225,3.555,230,3.133,234,0.916,240,3.829,243,4.562,260,4.622,264,1.077,265,0.713,314,2.344,315,0.645,322,0.728,330,2.146,335,1.413,347,4.105,356,4.613,360,1.132,373,1.353,380,1.442,381,1.199,382,1.019,385,0.725,390,1.474,397,1.263,398,0.742,425,0.713,427,0.728,440,0.916,452,0.916,455,0.948,460,1.511,467,0.7,474,1.142,483,1.065,496,0.8,501,1.91,504,0.878,513,1.177,516,1.019,520,2.991,557,0.787,561,1.748,568,1.165,580,1.709,589,2.6,592,1.203,616,1.386,626,2.834,630,2.877,661,1.263,689,1.083,711,1.577,716,1.894,722,2.642,734,3.942,736,0.742,737,1.249,740,0.921,741,2.257,745,2.868,757,1.281,758,2.858,764,2.031,771,5.744,773,0.781,785,1.6,880,1.511,886,2.796,894,0.759,901,1.418,906,2.014,910,0.797,919,2.6,971,1.177,993,0.954,1024,5.834,1055,0.985,1069,1.66,1074,1.083,1109,1.026,1112,2.208,1118,1.281,1125,1.386,1160,1.004,1169,0.906,1175,1.247,1176,1.132,1180,1.19,1191,2.37,1224,2.164,1227,1.299,1276,1.049,1300,2.413,1308,1.121,1309,4.198,1313,1.177,1317,3.671,1320,1.065,1332,1.065,1333,1.474,1339,1.664,1342,6.705,1343,1.177,1347,1.232,1350,1.511,1354,2.257,1359,1.511,1395,1.474,1479,3.706,1540,4.11,1614,1.011,1641,1.442,1650,3.928,1741,1.66,1811,1.442,1872,2.822,1889,1.247,1970,1.413,1993,1.339,2000,1.474,2131,1.19,2178,1.386,2303,1.998,2390,1.733,2443,1.553,2482,1.66,2502,0.985,2589,2.283,2693,8.305,2740,1.66,2751,5.18,2757,1.832,2795,3.435,2823,1.601,2886,3.607,2912,1.232,2913,1.474,2979,4.468,3167,1.511,3280,4.241,3311,1.832,3551,1.601,3564,1.413,3585,6.135,3586,2.143,3590,1.832,3592,5.825,3593,1.318,3597,4.591,3598,1.832,3599,1.832,3611,1.832,3684,6.997,3715,2.402,3771,1.832,3951,1.386,4051,1.299,4442,1.281,4447,1.733,4485,3.004,4632,1.832,4643,1.553,4667,5.538,4767,1.733,4822,4.652,4928,7.809,4946,5.782,4947,3.435,4949,1.832,4969,7.809,4979,1.981,4980,1.981,4981,1.981,4982,1.981,4983,1.981,4984,1.981,4985,1.981,4986,1.981,4987,1.981,4988,1.981,4989,3.435,4990,1.981,4991,1.981,4992,1.981,4993,1.981,4994,7.826,4995,1.981,4996,1.981,4997,1.981,4998,1.981,4999,3.715,5000,1.981,5001,1.981,5002,1.981,5003,3.715,5004,1.981,5005,1.832,5006,1.981,5007,3.715,5008,1.981,5009,1.981,5010,1.981,5011,1.981,5012,1.981,5013,3.715,5014,1.733,5015,9.068,5016,5.342,5017,3.715,5018,1.981,5019,5.246,5020,1.981,5021,4.851,5022,1.981,5023,5.246,5024,3.715,5025,1.981,5026,1.981,5027,1.981,5028,1.981,5029,1.981,5030,1.981,5031,1.981,5032,1.981,5033,1.981,5034,1.981,5035,1.981,5036,1.981,5037,1.832,5038,1.981,5039,1.981,5040,3.715,5041,1.832,5042,1.981,5043,1.981,5044,1.981,5045,1.981,5046,1.981,5047,1.981,5048,3.715,5049,3.715,5050,3.715,5051,3.715,5052,1.981,5053,1.981,5054,1.981,5055,1.981,5056,1.981,5057,3.715,5058,1.981,5059,3.715,5060,1.981,5061,1.981]],["keywords/875",[]],["title/876",[40,516.562,741,822.159,869,887.426]],["content/876",[14,5.526,25,0.978,40,5.611,106,10.105,111,5.547,116,6.07,125,5.816,131,9.989,184,3.188,205,6.43,219,5.464,240,4.398,243,10.22,271,7.881,305,13.818,330,3.534,481,8.103,512,6.017,545,5.456,734,7.404,879,5.723,894,5.633,1016,10.941,1339,6.584,1548,9.376,1633,8.397,1765,9.376,1890,11.522,2429,10.483,2912,9.142,2979,9.939,3020,17.239,3586,8.477,5016,11.884,5062,14.699,5063,14.699,5064,13.593]],["keywords/876",[]],["title/877",[25,89.993,184,293.46,240,302.163]],["content/877",[]],["keywords/877",[]],["title/878",[581,790.783]],["content/878",[22,5.05,23,4.053,25,1.28,28,6.141,32,3.005,34,3.251,45,4.028,124,5.317,154,5.219,184,4.734,224,6.619,240,5.461,243,8.852,251,7.894,271,5.036,347,6.531,663,7.827,726,10.335,735,6.393,765,4.653,886,5.072,1024,6.68,1347,8.83,2303,7.636,2912,8.83,3586,12.59,4822,8.44,4833,11.899,4971,18.295,4972,13.129,5065,13.129,5066,14.198,5067,13.129]],["keywords/878",[]],["title/879",[5068,1723.121]],["content/879",[14,5.337,23,2.933,51,3.398,65,4.653,116,7.947,154,5.219,162,5.019,164,4.459,182,4.669,183,4.472,184,3.079,191,4.268,205,6.08,240,4.297,243,8.852,271,7.743,373,4.963,375,7.407,394,7.2,435,6.496,452,6.567,545,6.046,663,10.608,734,7.151,765,7.155,1058,7.353,1134,8.036,1219,6.839,1697,8.036,1765,9.057,2062,9.451,2429,10.126,3586,8.189,3951,13.466,4109,12.425,5068,13.129,5069,14.198]],["keywords/879",[]],["title/880",[1299,1356.449]],["content/880",[6,1.592,23,3.577,164,5.162,183,5.178,205,6.098,240,3.671,545,5.873,711,8.998,726,11.967,734,8.28,879,6.4,906,8.913,1111,11.302,1134,12.001,1299,11.967,1332,8.842,1536,14.837,1993,14.336,2023,10.339,2301,10.486,2912,13.187,4833,13.777,5067,15.201,5070,16.439,5071,15.201]],["keywords/880",[]],["title/881",[5072,1723.121]],["content/881",[18,5.579,23,3.265,64,14.483,67,6.721,152,3.325,164,5.245,183,5.261,184,4.645,205,5.566,240,4.783,314,5.925,330,4.016,396,6.999,425,6.009,487,13.488,516,8.589,545,4.626,557,6.637,734,8.413,1633,9.542,2598,12.741,2783,10.148,3380,14.617,3859,12.432,5072,15.445,5073,16.703,5074,16.703]],["keywords/881",[]],["title/882",[40,516.562,241,503.001,3585,1060.767]],["content/882",[4,1.59,6,1.486,23,4.069,28,6.639,32,3.248,34,3.514,40,5.859,44,4.274,46,4.968,51,3.673,58,7.426,116,6.338,171,4.008,184,3.329,198,4.1,240,4.527,251,11.272,297,4.354,308,6.563,334,4.426,381,4.953,711,6.514,1339,9.081,1536,10.741,2049,9.924,2912,9.546,3585,18.929,4822,9.124,4971,12.864,5075,15.349]],["keywords/882",[]],["title/883",[184,340.004,242,864.293]],["content/883",[]],["keywords/883",[]],["title/884",[581,790.783]],["content/884",[4,2.122,25,1.362,46,6.629,184,5.268,186,6.053,242,11.289,458,9.526,857,10.531,1089,11.811,1321,17.163]],["keywords/884",[]],["title/885",[198,317.966,240,265.779,242,656.155,394,603.606]],["content/885",[4,1.214,6,0.512,18,3.003,19,3.513,23,4.212,25,0.352,32,3.998,35,2.578,44,2.503,86,2.138,107,1.3,116,2.185,124,3.366,152,4.18,154,1.945,161,7.408,162,1.87,164,5.636,173,3.145,184,1.147,188,6.573,190,2.475,198,1.413,205,1.375,206,1.883,225,3.222,229,5.042,230,2.84,240,1.181,242,4.955,243,2.434,246,1.671,272,2.256,273,1.16,305,3.291,341,3.145,347,2.434,356,2.461,360,6.695,451,3.252,455,2.533,513,3.145,545,1.466,592,10.225,600,6.303,630,5.691,645,3.113,703,3.354,758,3.888,771,7.569,773,6.632,809,4.439,827,5.524,891,4.955,1055,2.63,1116,4.468,1169,2.421,1257,4.112,1300,7.121,1317,3.703,1339,2.37,1345,5.59,1548,3.375,1650,3.145,2106,6.759,2131,3.179,2303,2.846,2444,3.215,2692,3.703,2693,12.003,2779,3.252,2912,7.288,3656,4.434,3684,11.35,3764,3.852,4128,4.63,4485,4.278,4515,5.59,5014,4.63,5076,5.291,5077,5.291,5078,5.291,5079,5.291,5080,11.719,5081,11.719,5082,4.893,5083,4.893,5084,7.866,5085,5.291,5086,5.291,5087,4.893,5088,5.291,5089,5.291,5090,8.312,5091,5.291,5092,8.989,5093,8.989,5094,5.291,5095,13.817,5096,5.291,5097,5.291,5098,5.291,5099,11.719,5100,11.719,5101,8.989,5102,8.989,5103,5.291,5104,5.291,5105,11.719,5106,5.291,5107,8.989,5108,5.291,5109,5.291,5110,4.893,5111,5.291,5112,8.989,5113,4.893,5114,5.291]],["keywords/885",[]],["title/886",[25,104.266,205,407.374]],["content/886",[4,1.164,6,0.562,22,0.844,23,4.296,25,0.528,32,3.456,35,2.276,44,2.21,54,1.398,65,1.054,68,3.052,87,1.118,88,1.991,107,1.95,113,2.701,116,1.328,124,2.973,131,4.93,151,0.992,152,3.095,161,4.32,164,3.529,172,1.855,174,4.719,180,2.671,184,3.541,186,0.951,191,0.967,193,1.289,198,2.12,220,3.437,222,0.877,224,2.407,229,1.804,230,1.016,237,2.109,240,2.509,242,8.57,243,5.169,246,1.016,273,3.581,278,0.866,280,2.052,293,1.625,305,2,314,1.141,329,1.433,330,1.396,347,6.29,356,3.692,360,3.317,398,1.204,425,1.157,451,1.977,458,2.701,467,4.433,543,1.191,549,1.69,557,1.278,568,1.892,572,2.836,580,1.479,581,1.365,592,4.823,600,1.73,645,1.892,652,1.54,656,1.912,694,2.886,703,5.102,711,3.369,714,2.141,726,7.077,735,1.448,736,1.204,758,1.391,765,1.054,771,5.025,775,2.78,786,1.378,806,4.683,809,5.55,876,2,886,1.149,901,1.228,910,2.336,955,1.855,975,4.269,1024,8.579,1055,4.832,1074,3.174,1089,1.855,1114,5.738,1116,1.599,1175,2.025,1192,2,1194,2.341,1254,7.598,1257,1.471,1298,1.932,1317,4.063,1320,3.123,1339,4.355,1343,1.912,1354,7.619,1511,2.341,1526,1.758,1554,2.251,1650,3.452,1663,3.229,1724,2.079,1783,2.211,1827,1.804,2000,2.394,2079,1.837,2098,2.025,2589,1.977,2693,8.944,2720,2.025,2842,2.695,2912,10.985,3114,2.341,3564,4.141,3586,8.459,3684,9.341,3709,2.695,3759,2.521,4051,5.206,4339,2.815,4442,2.079,4822,4.719,4832,2.294,4833,6.653,4879,4.322,5082,2.974,5083,2.974,5084,2.815,5090,5.37,5115,8.99,5116,5.082,5117,3.216,5118,3.216,5119,5.807,5120,13.605,5121,7.86,5122,7.938,5123,3.216,5124,3.216,5125,2.974,5126,7.938,5127,3.216,5128,2.974,5129,7.938,5130,3.216,5131,3.216,5132,5.807,5133,3.216,5134,7.938,5135,3.216,5136,3.216,5137,5.082,5138,3.216,5139,3.216,5140,3.216,5141,3.216,5142,3.216,5143,3.216,5144,3.216,5145,3.216,5146,5.807,5147,5.807,5148,3.216,5149,3.216]],["keywords/886",[]],["title/887",[280,677.68,467,375.547,737,357.175,1183,585.638,4442,686.894]],["content/887",[6,1.154,23,4.31,25,0.793,32,2.523,161,3.767,164,5.351,171,3.113,191,3.584,224,3.615,242,9.393,280,12.684,334,3.438,347,5.485,375,6.22,397,7.606,398,4.465,467,7.029,468,5.455,516,8.762,557,6.771,580,5.485,737,4.009,765,3.908,772,4.946,806,8.208,809,5.888,1024,8.016,1114,6.088,1169,7.796,1183,6.573,1783,8.197,2912,7.415,3503,12.683,3586,6.876,4051,7.819,4442,14.028,4822,7.087,5115,11.025,5120,10.434,5121,9.64,5150,10.434,5151,11.923,5152,11.923]],["keywords/887",[]],["title/888",[5153,1723.121]],["content/888",[4,1.02,12,3.431,19,4.437,22,2.582,23,4.318,25,0.984,32,3.132,35,2.822,151,3.036,152,3.94,161,7.043,167,4.276,220,3.478,224,2.983,240,2.197,242,8.159,243,8.184,249,5.569,265,3.54,287,4.891,347,4.526,356,4.577,381,3.175,458,4.577,510,4.99,580,4.526,758,4.256,806,7.129,910,5.955,1024,4.629,1114,5.024,1309,4.629,1339,4.407,1479,8.302,1560,10.175,2023,4.798,2165,6.653,2420,9.098,2693,7.017,2912,6.119,3586,5.675,3684,12.75,4051,6.452,4595,12.404,4822,5.849,5005,9.098,5016,7.955,5121,7.955,5150,8.611,5153,9.098,5154,13.686,5155,16.451,5156,17.79,5157,9.839,5158,9.839,5159,9.839]],["keywords/888",[]],["title/889",[5160,1863.425]],["content/889",[4,1.632,19,5.604,22,2.808,23,4.285,25,0.711,32,2.264,151,5.768,152,2.13,161,5.906,167,4.65,222,2.917,224,3.244,225,7.392,240,2.389,242,5.897,293,2.995,329,4.767,347,7.246,451,9.68,531,5.848,572,3.822,580,4.921,597,8.386,630,6.872,765,3.506,806,5.153,857,5.501,906,5.8,910,6.338,1024,5.033,1114,5.463,1309,5.033,1560,7.355,1631,6.055,2106,6.17,2912,6.654,3586,6.17,3742,8.65,3923,11.724,4051,7.016,4078,9.893,4822,6.359,4876,9.362,5084,9.362,5087,9.893,5121,8.65,5150,9.362,5154,9.893,5155,9.893,5161,18.695,5162,10.698,5163,10.698,5164,10.698,5165,10.698,5166,10.698,5167,10.698,5168,10.698,5169,10.698]],["keywords/889",[]],["title/890",[5170,1723.121]],["content/890",[4,1.69,6,1.086,9,5.132,19,3.362,23,3.953,25,0.746,49,5.277,54,4.875,65,3.676,68,5.895,88,5.591,92,4.782,113,7.585,116,4.632,151,5.031,154,4.123,161,3.543,171,2.929,172,9.404,174,6.668,184,3.536,191,3.372,205,2.914,220,3.965,222,3.059,224,3.401,240,3.641,242,8.989,250,5.986,262,5.986,287,8.105,319,4.998,330,2.697,371,5.851,373,2.893,398,4.201,399,6.132,432,5.895,467,3.965,496,4.532,520,7.381,538,5.575,539,5.217,598,7.584,711,4.76,726,8.165,861,5.217,901,4.282,906,6.081,993,5.403,1062,8.349,1339,5.024,1401,13.702,1704,7.063,1713,6.081,1747,7.584,1751,8,1766,12.788,2612,8,2912,6.976,3593,7.466,4051,7.356,4832,8,5071,10.372,5121,13.184,5170,10.372,5171,11.217,5172,11.217,5173,11.217,5174,10.372]],["keywords/890",[]],["title/891",[184,340.004,1055,779.313]],["content/891",[]],["keywords/891",[]],["title/892",[240,302.163,886,483.395,1055,672.63]],["content/892",[22,5.373,23,4.227,24,7.067,25,1.036,32,4.333,33,2.014,34,5.236,36,10.68,198,4.162,223,8.011,240,4.571,656,9.261,843,7.051,886,5.565,1055,10.176,1343,9.261,2783,9.465,3567,13.633,3593,10.369,5175,20.473,5176,14.406,5177,15.579,5178,15.579]],["keywords/892",[]],["title/893",[240,302.163,314,480.028,1055,672.63]],["content/893",[14,5.728,22,3.999,23,4.185,32,3.225,34,4.619,35,5.786,46,4.932,184,5.432,186,4.504,205,3.959,224,7.3,240,3.402,490,6.054,716,5.501,886,7.207,1055,7.573,1343,9.057,2131,9.155,2783,9.257,3586,8.787,4051,9.992,4822,9.057,5179,20.176,5180,15.237,5181,15.237]],["keywords/893",[]],["title/894",[241,692.634]],["content/894",[4,2.46,22,5.171,28,8.522,63,4.321,110,8.692,171,5.145,293,5.516,323,10.862,467,8.392,512,8.066,943,10.356,1575,17.244,5137,17.244]],["keywords/894",[]],["title/895",[25,49.41,45,210.774,107,182.5,181,197.97,184,161.122,301,169.334,315,241.997,362,502.363,537,243.512]],["content/895",[]],["keywords/895",[]],["title/896",[25,70.65,45,301.381,202,326.806,362,718.317,556,379.495]],["content/896",[25,1.403,51,3.903,107,4.006,176,5.952,180,7.503,184,3.537,205,4.238,207,8.991,219,6.063,220,5.766,226,8.328,235,10.144,238,11.028,240,3.642,278,4.391,315,6.871,319,7.268,334,4.703,362,15.809,496,6.591,504,7.231,545,4.518,894,6.25,1262,10.024,1651,9.407,2241,12.441,2671,10.696,4932,15.082,5182,16.311,5183,16.311,5184,16.311,5185,16.311,5186,15.082]],["keywords/896",[]],["title/897",[638,904.237,878,1028.176]],["content/897",[4,2.471,6,1.279,45,3.747,51,3.161,68,6.942,82,9.243,152,2.63,162,4.669,180,6.076,184,3.971,191,3.971,199,6.324,205,6.41,240,2.949,264,3.829,272,7.808,314,4.685,330,3.176,362,15.349,410,8.54,423,8.117,496,5.337,556,6.542,618,8.117,653,12.214,659,6.076,735,5.947,739,8.54,771,5.292,882,8.117,932,6.01,934,8.117,1024,6.214,1039,10.075,1064,9.243,1114,6.744,1124,8.54,1174,8.025,1262,8.117,1650,7.851,1704,8.317,2677,9.243,2692,9.243,2728,10.075,3684,7.936,5187,12.214,5188,13.208,5189,13.208,5190,13.208,5191,13.208,5192,11.559,5193,12.214]],["keywords/897",[]],["title/898",[23,146.203,25,63.794,171,250.496,191,288.379,315,312.447,362,648.611]],["content/898",[2,1.356,4,1.282,5,1.422,10,1.465,18,1.237,19,1.11,20,1.658,22,2.832,23,4.006,24,2.274,25,0.912,28,1.601,29,2.732,32,1.883,33,0.852,34,2.037,35,2.552,37,1.494,44,1.031,45,1.869,51,1.576,52,1.02,54,3.868,65,1.213,88,1.269,107,0.909,108,1.931,111,4.073,113,1.722,121,2.224,122,1.625,124,1.386,147,2.361,151,2.032,155,1.103,158,4.148,161,3.41,162,1.309,164,3.885,180,1.703,183,2.075,184,2.34,185,0.894,186,1.094,190,3.081,193,1.483,196,1.152,198,4.235,203,1.877,205,4.545,223,3.387,224,3.272,228,1.617,229,2.077,230,1.169,234,1.712,240,1.471,241,1.376,254,2.201,264,1.073,271,1.313,273,1.951,275,2.193,280,2.361,285,4.529,301,1.501,314,1.313,315,1.206,322,1.361,330,0.89,334,1.067,347,3.03,355,1.459,361,2.077,362,12.705,373,1.699,381,1.195,388,2.077,396,1.21,407,1.805,423,2.275,425,1.332,440,1.712,452,1.712,458,4.139,467,4.847,482,2.024,520,1.676,538,1.84,545,1.825,556,4.898,557,1.471,572,1.322,590,1.578,630,5.828,631,6.286,659,1.703,716,1.337,735,1.667,736,1.386,737,4.16,741,2.249,743,2.591,749,3.103,751,2.275,757,2.394,758,1.601,764,2.024,765,4.055,770,1.828,772,1.536,773,4.253,774,2.024,775,1.772,776,3.135,777,1.65,780,1.96,806,4.286,809,7.829,845,2.428,886,2.353,894,1.419,934,2.275,942,2.224,947,4.529,954,3.462,975,3.543,1024,5.077,1049,2.275,1064,2.591,1114,4.544,1126,2.755,1169,1.694,1219,1.783,1257,1.694,1262,4.048,1300,1.703,1308,2.095,1313,2.201,1320,1.991,1325,4.259,1326,2.275,1343,2.201,1345,5.535,1347,2.302,1354,4.002,1377,3.081,1417,5.9,1422,2.591,1588,2.902,1614,5.511,1650,7.355,1651,9.646,1724,4.259,1731,3.103,1827,2.077,1829,3.24,1831,3.103,1889,5.604,1965,2.591,1990,6.624,2071,3.423,2106,5.132,2152,2.824,2198,6.091,2321,2.331,2480,3.423,2544,3.24,2669,2.503,2676,3.24,2728,2.824,2835,3.423,2848,3.103,2921,3.423,2969,2.503,2979,2.503,2980,2.902,3186,2.993,3422,3.423,3684,2.224,3711,3.423,3887,4.529,4442,8.865,4515,4.097,4744,3.423,4832,2.64,4879,2.755,4901,3.24,4903,3.103,4955,7.458,4956,4.795,5120,3.24,5186,6.091,5187,3.423,5192,3.24,5193,3.423,5194,3.702,5195,3.702,5196,3.702,5197,3.702,5198,3.702,5199,6.587,5200,3.702,5201,3.702,5202,3.423,5203,3.702,5204,8.899,5205,3.702,5206,3.702,5207,3.702,5208,3.702,5209,3.702,5210,3.702,5211,3.702,5212,3.702,5213,3.702,5214,6.587,5215,3.702,5216,3.702,5217,8.899,5218,3.702,5219,8.899,5220,6.587,5221,3.702,5222,3.702,5223,3.702,5224,3.702,5225,3.702,5226,3.702,5227,3.702,5228,3.423,5229,3.702]],["keywords/898",[]],["title/899",[191,471.331,879,610.406]],["content/899",[23,3.955,107,3.855,184,3.404,185,3.792,225,5.627,227,8.071,276,9.536,308,5.081,324,13.736,362,10.613,517,8.51,561,7.384,659,9.464,857,8.071,884,9.141,907,9.646,932,7.143,996,7.105,1077,8.884,1092,11.973,1158,9.646,1196,10.293,1326,9.646,1598,11.426,1650,9.33,1792,10.791,1803,11.683,2176,12.304,2588,11.426,5192,13.736,5230,15.696,5231,15.696,5232,15.696,5233,15.696,5234,15.696,5235,15.696]],["keywords/899",[]],["title/900",[6,66.906,7,215.722,25,45.956,51,165.365,176,252.189,184,149.858,219,256.862,315,225.08,1360,429.789,1361,371.675]],["content/900",[]],["keywords/900",[]],["title/901",[1361,1002.228]],["content/901",[4,1.264,6,1.677,46,3.95,51,2.92,58,4.469,86,4.931,109,7.89,200,4.553,205,3.17,210,8.122,219,4.536,240,3.868,264,3.538,265,4.39,299,7.589,301,2.781,311,5.227,314,7.144,438,4.57,466,6.366,473,9.083,477,13.485,478,7.589,480,4.39,496,4.931,536,4.184,537,3.999,562,7.037,582,6.845,621,8.702,660,6.845,663,9.55,674,4.469,675,5.676,701,7.589,717,5.842,718,4.952,786,5.227,878,8.002,932,5.553,996,5.523,1032,8.389,1054,8.539,1055,8.611,1087,10.678,1119,7.037,1207,7.037,1297,13.618,1361,11.792,1590,9.308,1593,10.678,1823,9.565,1961,10.298,1967,9.565,2118,8.25,2123,9.565,2182,10.678,2444,7.413,3546,12.894,3623,9.308,3624,11.284,5236,12.202,5237,12.202]],["keywords/901",[]],["title/902",[86,324.619,205,208.735,240,179.382,315,261.663,401,359.844,638,463.325,1360,499.645,1361,432.085]],["content/902",[4,1.156,5,2.409,6,2.037,30,5.249,67,4.489,88,3.825,107,2.74,121,6.703,151,3.442,162,3.944,176,4.071,184,2.419,185,3.924,205,2.899,235,6.939,240,4.992,246,3.525,264,3.234,285,7.67,291,5.342,301,2.543,310,5.05,314,5.762,315,3.634,334,3.217,385,4.086,392,5.189,393,6.001,410,7.213,413,5.778,452,5.161,477,6.498,478,11.912,496,4.508,500,7.807,512,4.567,532,6.498,533,6.315,564,5.161,656,6.632,673,5.82,675,5.189,718,6.591,719,11.167,785,3.402,826,6.15,914,5.249,921,5.778,956,7.025,1011,7.543,1012,7.67,1022,8.745,1102,8.304,1103,7.807,1207,9.368,1219,5.374,1227,7.316,1303,9.763,1326,6.857,1360,6.939,1455,10.317,1685,9.763,1719,8.745,1848,8.745,2057,7.67,2143,10.317,2639,9.35,2720,7.025,3109,9.35,3114,8.121,3898,9.763,5238,11.157,5239,11.157,5240,11.157,5241,11.157,5242,11.157,5243,11.157,5244,11.157,5245,11.157,5246,11.157,5247,11.157,5248,11.157]],["keywords/902",[]],["title/903",[7,250.785,25,53.425,33,103.882,184,174.216,477,737.328,1360,499.645,1361,432.085]],["content/903",[5,2.681,6,2.14,25,1.167,33,2.268,51,2.972,122,5.452,152,2.473,171,3.243,176,4.533,184,4.41,185,3,191,3.734,205,4.558,235,7.725,240,4.934,252,4.816,276,7.546,278,3.343,299,7.725,301,2.831,314,4.406,315,4.045,319,5.535,322,4.566,330,2.986,334,3.581,380,9.041,383,11.485,396,4.058,414,4.855,426,7.725,468,5.683,473,9.245,477,10.217,478,7.725,496,5.019,529,7.03,537,4.071,541,6.057,545,3.44,552,6.528,582,6.967,587,7.923,613,4.375,638,7.163,716,6.333,732,4.346,735,5.592,786,5.321,826,6.847,1189,10.91,1323,9.736,1360,10.91,1361,9.435,1567,9.736,5249,12.421,5250,12.421,5251,12.421,5252,12.421,5253,12.421,5254,11.485]],["keywords/903",[]],["title/904",[4,110.083,25,70.65,45,301.381,184,230.384,1361,571.393]],["content/904",[4,1.831,5,0.989,6,0.444,7,1.43,8,2.426,14,1.722,18,1.53,19,2.381,22,3.293,23,4.106,24,2.742,25,0.944,28,1.981,32,1.681,33,1.36,34,2.873,35,2.278,37,1.765,40,1.749,44,2.928,45,2.983,46,1.483,51,1.096,53,1.935,54,3.452,65,2.603,67,1.843,70,2.565,88,1.571,97,2.789,108,2.39,110,5.535,114,1.332,125,1.813,151,1.413,152,0.912,154,1.684,155,2.368,161,1.447,162,1.619,164,1.439,171,1.196,183,3.312,184,4.545,186,1.354,193,4.213,198,4.46,203,2.323,205,2.064,219,1.703,224,4.303,240,2.348,241,1.703,264,3.049,271,1.625,275,3.502,293,2.224,301,1.044,308,3.404,314,5.035,323,2.525,334,1.321,347,2.107,348,2.593,355,1.805,366,2.207,381,2.563,388,2.57,389,2.356,392,2.131,398,2.975,440,5.804,458,2.131,467,1.619,474,2.642,477,7.308,486,2.723,504,5.563,519,2.464,572,1.636,580,4.837,582,2.57,630,5.218,642,2.052,674,1.678,716,1.654,736,2.975,758,1.981,764,2.504,765,2.603,767,7.168,770,2.262,771,5.027,772,1.9,773,4.945,774,2.504,775,2.193,776,3.781,777,2.041,780,2.426,787,2.22,826,2.525,853,2.617,857,2.356,866,2.695,883,2.484,886,4.482,901,1.749,920,2.426,1024,2.155,1038,2.849,1055,3.948,1089,2.642,1157,2.723,1174,2.783,1224,2.668,1257,3.634,1300,3.654,1308,2.593,1309,5.903,1313,2.723,1320,2.464,1343,2.723,1345,2.849,1360,7.804,1361,8.365,1362,8.243,1363,8.243,1365,11.322,1367,3.704,1368,3.839,1369,4.009,1370,6.657,1371,4.009,1372,3.839,1373,3.839,1374,4.009,1377,5.869,1391,3.704,1444,4.976,1584,8.502,1585,4.236,1587,4.236,1588,3.591,1697,2.593,1713,2.484,1746,6.227,1902,2.815,2203,3.004,2502,2.277,2783,4.826,2969,3.098,3563,3.15,3586,2.642,3601,3.839,3851,4.009,3987,12.421,4832,3.267,5255,4.581,5256,4.581,5257,4.581,5258,4.581,5259,4.581,5260,4.581,5261,4.236,5262,4.581,5263,4.581]],["keywords/904",[]],["title/905",[184,340.004,735,705.949]],["content/905",[45,5.29,162,6.591,171,4.869,184,4.978,228,10.025,246,5.891,301,4.25,314,6.614,315,6.073,329,8.309,375,9.727,467,6.591,477,10.86,735,10.335,1257,8.531,1326,11.459,1361,10.029,1746,14.616]],["keywords/905",[]],["title/906",[240,350.087,826,864.293]],["content/906",[4,2.132,14,4.001,19,4.704,21,6.138,22,2.793,23,3.343,25,1.044,32,2.252,34,2.437,40,4.063,44,2.964,45,3.019,46,3.445,54,6.82,125,4.212,181,2.836,184,3.403,193,4.265,198,4.192,203,7.958,222,4.279,228,4.649,240,5.552,241,3.956,246,3.362,288,5.256,293,2.979,301,2.426,305,6.62,314,6.612,322,3.913,334,3.069,366,5.127,381,3.435,440,4.923,477,9.139,481,5.867,515,5.256,529,6.024,541,5.19,600,5.725,668,8.127,705,6.199,716,3.843,826,13.427,854,8.343,993,5.127,996,4.818,1019,6.702,1055,5.29,1147,5.867,1297,7.197,1309,7.382,1343,6.327,1360,6.62,1361,8.44,1363,8.343,1378,6.62,2603,9.314,2913,7.922,2969,7.197,3529,9.314,3580,9.842,3593,10.445,4963,8.92,5176,9.842,5261,9.842,5264,15.692]],["keywords/906",[]],["title/907",[477,913.126,2023,764.557]],["content/907",[23,4.25,32,3.178,34,3.438,54,6.527,124,7.483,151,4.633,161,6.313,164,4.716,167,6.527,172,8.661,184,4.87,240,3.353,241,5.582,347,6.908,477,14.517,826,8.278,1024,7.065,1257,6.87,1298,9.023,1362,11.771,1584,12.141,2023,7.323,3951,10.509,4185,16.746,5265,19.982]],["keywords/907",[]],["title/908",[184,258.124,225,426.689,745,650.672,1361,640.194]],["content/908",[6,1.508,7,4.863,25,1.036,33,2.014,46,5.043,69,4.863,88,5.342,151,4.806,152,3.102,171,4.068,184,3.378,191,4.683,193,6.242,205,4.048,222,4.248,225,9.283,230,4.921,241,5.791,278,5.511,334,4.492,373,4.018,395,6.55,398,5.834,473,11.596,510,7.9,622,6.322,642,6.978,716,5.624,739,10.073,745,8.516,1113,11.34,1114,7.955,1116,10.176,1309,9.631,1859,13.633]],["keywords/908",[]],["title/909",[72,746.242,134,887.422]],["content/909",[]],["keywords/909",[]],["title/910",[334,390.178,4334,1251.356,4335,1184.242]],["content/910",[4,2.091,12,7.035,23,4.237,32,3.225,45,4.322,51,3.646,110,6.721,111,5.75,112,14.833,162,5.386,164,6.336,251,8.472,257,6.825,440,7.048,477,8.874,858,7.674,901,5.816,1254,10.302,1263,10.867,4128,13.334,4335,13.334,5266,20.176,5267,15.237,5268,15.237,5269,15.237,5270,15.237,5271,15.237,5272,15.237]],["keywords/910",[]],["title/911",[112,696.684,308,343.888,504,471.004,1055,528.056,1361,571.393]],["content/911",[3,5.58,4,1.788,22,4.528,23,4.146,25,1.147,28,5.247,29,7.156,30,5.707,32,2.567,34,2.778,51,2.903,73,6.194,94,12.486,112,11.313,113,5.643,251,9.592,256,5.707,297,4.894,308,5.584,319,5.406,347,5.58,375,6.329,389,6.238,394,6.152,458,5.643,467,4.288,504,5.378,741,7.37,1024,5.707,1055,11.483,1361,11.761,1362,9.509,1363,9.509,1367,9.808,1368,10.167,1370,10.167,1372,10.167,1373,10.167,1377,5.675,1584,9.808,1796,7.37,2079,6.93,5137,15.097,5273,12.131,5274,17.252,5275,17.252,5276,12.131]],["keywords/911",[]],["title/912",[5,207.102,6,92.877,176,350.079,184,208.027,205,249.247,480,345.096]],["content/912",[4,1.295,5,3.803,6,2.262,25,1.172,45,6.286,70,4.976,87,4.342,105,6.775,155,3.724,176,7.446,184,4.425,185,3.018,192,4.201,193,5.006,205,3.247,222,3.407,255,5.093,272,5.327,293,3.498,385,4.577,437,4.904,458,5.812,480,8.72,531,6.83,532,7.277,541,6.093,553,5.597,556,4.463,564,5.78,674,4.577,732,4.372,863,7.206,906,6.775,914,5.878,932,8.016,933,9.795,934,7.679,971,7.428,1023,9.3,1035,7.591,1056,7.868,1063,10.472,1163,10.472,1191,7.97,1299,9.096,1361,6.72,1400,7.009,1631,7.072,1633,7.138,2118,8.448,5277,12.495,5278,12.495,5279,12.495,5280,12.495,5281,12.495]],["keywords/912",[]],["title/913",[191,471.331,879,610.406]],["content/913",[14,6.131,19,4.889,25,1.644,46,5.28,107,5.182,171,4.259,181,4.346,191,4.903,202,5.017,225,5.847,241,6.063,278,4.391,315,5.312,398,6.108,432,8.572,523,11.346,563,6.987,861,9.812,883,11.437,893,6.858,993,7.856,996,7.383,1360,13.12,1361,8.772,1598,11.873,2176,12.785,3722,15.082,5282,16.311,5283,16.311]],["keywords/913",[]],["title/914",[3367,897.578]],["content/914",[]],["keywords/914",[]],["title/915",[45,383.895,111,510.637,3367,651.834]],["content/915",[22,6.195,23,4.018,25,1.298,45,5.538,111,7.366,438,7.31,3367,11.37,3726,12.452,5284,19.52,5285,18.05,5286,19.52]],["keywords/915",[]],["title/916",[438,506.782,765,443.523,3367,651.834]],["content/916",[4,1.534,6,1.433,23,4.306,32,4.189,34,3.389,124,7.412,155,4.413,171,3.866,271,5.251,355,5.834,458,6.886,480,7.12,572,7.07,630,5.442,758,6.403,765,6.487,772,6.141,1276,7.839,1400,8.304,2106,8.538,2121,12.164,2495,9.322,3174,10.009,3367,11.465]],["keywords/916",[]],["title/917",[5287,1723.121]],["content/917",[4,2.216,6,2.07,22,3.58,23,4.019,25,0.907,32,2.887,34,3.123,35,3.912,58,6.858,111,5.147,112,8.945,161,4.309,162,4.822,186,4.032,198,3.644,297,5.312,308,4.415,549,7.169,630,6.883,771,5.465,773,7.379,1089,7.867,1090,10.405,1278,6.736,3367,12.002,3368,11.937,3372,15.693,4147,12.613,4480,10.153,4610,11.937,4664,12.613,4917,11.028,5288,13.641,5289,13.641,5290,13.641,5291,15.693,5292,13.641,5293,12.613,5294,12.613]],["keywords/917",[]],["title/918",[5293,1723.121]],["content/918",[6,1.789,23,3.479,32,3.911,34,4.231,88,6.337,381,5.964,510,9.372,630,6.794,771,7.405,773,7.283,1313,10.986,1993,12.496,2353,13.18,3007,15.488,3367,8.902,3372,15.488,4610,16.173,5287,17.09,5291,15.488,5295,18.481,5296,17.09]],["keywords/918",[]],["title/919",[5297,1863.425]],["content/919",[23,3.121,32,4.334,161,7.674,771,8.205,1169,9.37,3367,11.702,4442,13.241,4480,15.244,5298,16.558]],["keywords/919",[]],["title/920",[5299,1723.121]],["content/920",[23,3.216,32,4.466,161,6.666,1278,10.421,1479,11.836,3367,11.91,5300,21.102]],["keywords/920",[]],["title/921",[5299,1723.121]],["content/921",[23,3.919,32,3.843,152,3.615,164,5.702,166,9.845,183,5.719,301,4.139,356,8.446,468,8.308,569,8.911,716,6.556,734,11.374,1074,12.344,1278,8.968,3367,12.385,5301,18.159]],["keywords/921",[]],["title/922",[4480,1386.998]],["content/922",[25,1.418,630,7.837,879,8.299,1646,14.189,3367,10.268,4480,15.867,5302,21.318]],["keywords/922",[]],["title/923",[806,897.578]],["content/923",[1278,10.977,2206,16.545,3367,10.707]],["keywords/923",[]],["title/924",[771,746.606]],["content/924",[771,8.906,773,8.759,3367,10.707]],["keywords/924",[]],["title/925",[630,685.004]],["content/925",[630,8.171,773,8.759,3367,10.707]],["keywords/925",[]],["title/926",[2353,1328.96]],["content/926",[6,2.129,1219,10.594,2353,15.685,3367,10.594]],["keywords/926",[]],["title/927",[5303,1561.679]],["content/927",[6,2.273,25,1.286,68,10.164,330,5.643,381,6.241,408,6.398,773,7.621,2117,12.682,2288,15.87,2334,15.159,3367,11.306,5303,19.671]],["keywords/927",[]],["title/928",[5304,1863.425]],["content/928",[277,12.684,1219,12.199,3367,10.594]],["keywords/928",[]],["title/929",[468,852.533]],["content/929",[23,3.091,32,4.292,34,4.643,161,6.407,468,9.278,549,10.658,1116,10.08,1444,9.596,3367,11.634,5298,16.396,5305,20.28]],["keywords/929",[]],["title/930",[5306,1863.425]],["content/930",[6,1.855,23,3.836,32,4.939,34,4.387,161,6.053,167,8.328,549,10.07,1116,9.524,3367,9.229,5291,21.095,5298,15.491,5307,16.768,5308,19.161]],["keywords/930",[]],["title/931",[5294,1723.121]],["content/931",[6,1.872,23,3.852,32,4.967,34,4.428,161,6.109,549,10.164,1116,9.612,3367,9.315,5296,17.883,5298,15.635,5307,16.924,5309,19.339,5310,19.339,5311,19.339]],["keywords/931",[]],["title/932",[5312,1863.425]],["content/932",[4,0.932,5,3.634,6,1.63,22,3.627,23,4.223,24,3.103,25,0.598,32,4.315,34,3.854,35,2.578,36,4.69,37,2.826,45,2.55,51,2.151,52,2.477,72,4.279,161,2.84,171,2.348,176,3.281,186,2.657,187,5.525,193,3.602,198,3.691,201,3.472,224,2.726,230,2.84,271,3.189,297,2.55,308,4.473,330,2.161,355,3.543,356,4.182,373,2.318,375,4.69,407,4.384,408,2.974,455,4.304,458,4.182,507,5.591,549,4.725,572,3.211,600,4.835,630,3.305,659,4.135,674,3.293,742,11.158,758,3.888,765,2.946,772,3.729,773,3.543,827,5.525,944,5.043,1116,4.469,1628,5.289,1793,7.867,1827,5.043,1872,7.432,1965,6.291,2079,5.136,2085,8.313,2121,5.525,3367,11.432,4028,8.129,4029,4.69,4032,7.867,4611,8.313,5285,8.313,5298,7.268,5307,7.867,5313,8.99,5314,13.819,5315,13.819,5316,13.819,5317,8.313]],["keywords/932",[]],["title/933",[1276,986.75]],["content/933",[]],["keywords/933",[]],["title/934",[198,418.827,224,475.386]],["content/934",[4,1.683,23,4.253,32,2.361,34,2.554,35,3.199,44,4.523,45,3.165,69,3.483,124,4.178,151,6.898,152,2.221,174,6.632,198,4.339,222,3.042,224,6.779,225,3.999,241,7.119,246,3.525,467,9.038,490,4.433,556,3.985,561,5.249,571,7.316,572,3.985,765,3.657,843,5.05,901,6.2,1040,7.117,1309,5.249,1704,7.025,1916,10.317,2023,5.44,2106,6.434,2121,6.857,2495,7.025,2496,8.121,2953,7.316,3174,7.543,3367,7.824,3739,9.35,3756,9.02,4421,9.02,4458,9.35,4620,14.61,4705,10.317,4876,9.763,5318,9.02]],["keywords/934",[]],["title/935",[35,534.362]],["content/935",[4,1.882,33,2.92,35,7.048,65,5.952,88,7.743,204,8.592,224,7.796,361,10.186,474,10.473,879,7.07,942,10.911,2203,11.908,2568,12.707,3446,16.792,4643,14.234,5319,18.159,5320,16.792]],["keywords/935",[]],["title/936",[765,610.733]],["content/936",[4,1.985,25,1.552,152,3.815,189,9.784,193,7.677,217,6.845,222,5.225,224,5.81,590,8.17,674,7.018,695,9.463,765,8.586,1224,13.593]],["keywords/936",[]],["title/937",[151,483.714,4620,1195.939]],["content/937",[151,6.137,174,11.825,224,6.032,572,7.106,590,8.482,716,7.182,861,9.253,901,7.594,1040,12.689,1192,12.372,2512,16.672,3367,9.582,4620,15.174,5321,19.893]],["keywords/937",[]],["title/938",[435,852.533]],["content/938",[65,6.647,174,12.055,219,7.538,271,7.194,435,11.05,765,6.647,861,9.433,1444,9.596,2079,11.585,2496,14.763,4458,16.996]],["keywords/938",[]],["title/939",[33,202.738,224,475.386]],["content/939",[23,4.105,32,4.58,33,2.799,34,3.887,35,4.868,124,6.357,154,6.24,164,5.331,198,4.535,224,7.608,496,6.859,765,5.564,768,9.697,780,8.989,1098,13.306,1169,7.766,1337,14.226,2121,10.432,5322,21.643,5323,16.975]],["keywords/939",[]],["title/940",[151,574.895]],["content/940",[]],["keywords/940",[]],["title/941",[23,238.957,183,493.826]],["content/941",[6,1.699,23,2.674,116,7.246,154,6.45,161,5.543,164,7.976,183,6.961,224,5.32,330,4.219,356,8.162,468,8.028,545,4.86,630,6.45,722,8.838,736,6.571,787,8.504,5324,17.547,5325,23.487,5326,17.547,5327,17.547,5328,17.547]],["keywords/941",[]],["title/942",[787,903.071]],["content/942",[4,1.865,23,3.423,32,3.81,33,2.328,34,4.122,35,5.162,152,3.584,161,5.687,162,7.939,224,5.458,425,6.476,480,8.08,737,6.052,765,5.9,787,8.724,806,8.671,1278,8.89,2023,8.778,3778,10.816,3781,11.483,4515,11.196,4663,14.554]],["keywords/942",[]],["title/943",[5329,1723.121]],["content/943",[4,1.614,23,3.12,32,3.297,34,3.567,35,4.467,88,5.342,152,4.553,155,4.644,161,4.921,162,5.507,224,4.724,225,5.585,278,4.194,382,8.011,385,5.706,458,7.246,474,8.985,556,5.565,569,7.645,787,9.922,806,7.504,858,7.847,901,5.947,993,7.504,1169,10.462,1204,8.011,1278,7.693,1337,13.056,1417,8.516,1856,11.34,1859,13.633,2779,9.574,3778,9.36,3781,9.937,4515,9.689,5329,14.406,5330,15.579]],["keywords/943",[]],["title/944",[4252,1630.706]],["content/944",[4,1.343,23,4.068,32,2.743,34,2.968,35,5.183,61,6.971,68,6.812,69,4.046,103,5.776,152,4.143,154,6.644,161,6.575,164,4.07,201,5.006,225,4.646,301,2.954,381,4.183,490,5.15,543,4.8,545,3.59,572,6.457,736,4.854,772,5.376,787,10.912,792,7.475,1149,11.343,1278,8.926,1377,11.472,1479,7.27,1779,8.911,1796,7.875,2023,6.321,2301,8.268,3196,14.168,4252,15.818,4515,11.242,5331,12.962,5332,12.962,5333,12.962,5334,11.986,5335,10.863]],["keywords/944",[]],["title/945",[5336,1863.425]],["content/945",[4,1.976,14,5.266,23,4.21,32,4.035,34,4.366,62,6.001,63,3.072,125,5.543,152,3.796,161,4.425,164,4.399,177,7.203,201,5.41,293,3.921,381,4.52,427,5.149,468,9.918,490,5.566,543,7.061,572,5.004,771,5.612,792,8.078,1155,9.471,1204,7.203,1278,10.706,1377,8.919,1479,7.857,3196,14.947,5337,19.068,5338,14.007,5339,14.007,5340,14.007,5341,14.007]],["keywords/945",[]],["title/946",[5342,1630.706]],["content/946",[23,3.498,32,3.946,34,4.269,35,5.347,152,3.712,161,5.891,162,6.591,224,5.654,291,8.928,787,9.037,806,8.982,1169,8.531,1278,9.208,2000,13.879,2058,11.894,3778,11.204,4515,11.597,5335,15.627,5343,17.243,5344,18.646]],["keywords/946",[]],["title/947",[4253,1723.121]],["content/947",[23,4.269,32,3.178,34,3.438,35,5.73,63,3.293,69,4.688,86,6.068,88,5.149,152,2.99,154,5.52,161,4.744,201,5.8,272,6.403,373,5.153,512,6.147,806,7.233,1278,9.868,1377,9.347,1479,8.423,3196,15.663,3778,9.023,3781,9.579,4515,12.428,5334,13.886,5335,12.585,5342,17.487,5345,15.017]],["keywords/947",[]],["title/948",[5346,1723.121]],["content/948",[9,6.081,23,3.862,32,2.813,34,3.043,35,3.812,46,4.303,76,7.901,88,6.307,147,8.479,148,7.666,152,3.662,164,5.776,189,6.787,201,5.134,225,4.765,229,7.456,373,5.87,452,6.148,464,9.894,484,7.456,545,3.682,630,4.886,785,6.432,1166,8.717,1278,6.564,1298,7.987,1377,8.604,1417,7.266,1697,7.524,1796,8.076,2252,8.076,2381,9.676,2671,8.717,2769,10.139,2779,8.169,4419,12.292,4515,8.267,5342,20.913,5347,12.292,5348,11.14,5349,13.292,5350,18.394,5351,22.762]],["keywords/948",[]],["title/949",[642,834.662]],["content/949",[4,1.915,23,3.775,32,3.911,34,4.231,152,3.679,224,5.604,493,11.494,642,11.096,805,12.119,861,8.596,901,7.055,1049,11.358,3174,12.496,4652,12.933,5352,17.09,5353,18.481,5354,18.481,5355,18.481]],["keywords/949",[]],["title/950",[800,1303.973]],["content/950",[4,1.614,23,3.702,35,4.467,151,4.806,152,5.023,161,4.921,164,6.429,172,8.985,222,4.248,224,4.724,273,3.416,481,8.588,557,6.19,642,10.243,736,7.667,804,7.55,861,7.246,862,9.81,901,5.947,1417,11.191,3564,11.11,3778,9.36,4766,13.633,5352,14.406,5356,15.579,5357,15.579,5358,20.473,5359,18.932,5360,15.579]],["keywords/950",[]],["title/951",[4176,1561.679]],["content/951",[23,3.986,32,4.035,34,3.207,53,5.917,62,6.001,63,3.072,68,7.362,69,4.373,88,4.803,152,4.633,161,7.352,172,8.078,188,7.857,201,5.41,215,7.362,373,3.612,556,5.004,557,5.566,642,8.541,771,8.686,800,9.802,804,6.788,809,6.917,894,5.368,1085,11.739,1169,6.409,1417,10.423,1614,11.882,2117,9.186,2321,8.82,2768,9.802,2769,10.685,4176,11.739,5361,14.007,5362,14.007,5363,14.007,5364,14.007]],["keywords/951",[]],["title/952",[5365,1561.679]],["content/952",[4,2.254,22,5.71,23,3.836,25,1.138,45,4.855,111,6.458,151,5.28,152,3.407,158,10.777,164,5.374,198,4.572,217,7.771,224,5.189,458,7.961,3726,10.917,5365,14.343,5366,14.343,5367,18.233,5368,15.826,5369,15.826,5370,15.826,5371,17.115,5372,15.826,5373,14.977]],["keywords/952",[]],["title/953",[5366,1561.679]],["content/953",[4,1.95,22,6.553,23,2.868,33,2.433,68,9.888,116,7.77,151,5.805,152,3.746,164,5.908,169,16.465,217,6.721,224,5.705,716,6.793,787,9.118,4468,16.465,5367,19.344,5374,18.815]],["keywords/953",[]],["title/954",[468,852.533]],["content/954",[6,1.838,23,2.894,34,4.347,134,10.746,152,3.78,166,10.294,198,5.072,224,7.037,271,6.735,407,9.258,468,11.469,493,11.808,765,6.223,2779,11.668,5375,18.986,5376,18.986]],["keywords/954",[]],["title/955",[1726,1002.228]],["content/955",[2,6.593,6,2.175,34,4.122,183,5.67,184,3.904,191,5.412,198,4.809,224,7.422,427,6.618,452,8.327,468,8.236,569,8.834,572,6.43,607,9.76,809,8.89,843,8.148,1332,9.682,1337,15.087,2783,10.937,3320,14.111,5377,18.002,5378,18.002]],["keywords/955",[]],["title/956",[23,206.245,5379,1353.247,5380,1353.247]],["content/956",[34,5.034,46,5.632,51,4.164,64,11.765,69,5.432,111,6.566,151,5.368,164,6.904,182,3.472,192,5.85,224,6.666,281,8.525,373,4.487,413,9.012,468,11.027,745,9.512,1111,11.963,1726,11.825,5381,17.4,5382,21.986,5383,17.4]],["keywords/956",[]],["title/957",[5384,1863.425]],["content/957",[23,3.121,32,4.334,124,7.669,161,7.674,427,7.528,572,7.316,1257,9.37,1276,10.845,2303,11.015,5385,20.48]],["keywords/957",[]],["title/958",[3769,1421.376]],["content/958",[4,1.369,6,1.279,7,5.717,10,5.226,22,3.466,23,2.791,25,1.218,33,2.935,45,3.747,51,3.161,149,5.479,151,4.075,154,6.732,198,6.064,224,6.374,271,4.685,301,4.174,311,5.658,366,6.362,425,6.588,427,6.732,452,6.109,458,6.144,468,8.378,469,14.355,572,4.718,694,6.565,703,7.843,716,6.612,763,6.744,843,5.978,901,5.042,1058,6.84,1169,6.043,1178,8.931,1276,11.132,1891,9.243,2062,12.189,2252,8.025,3863,17.618,3864,11.069,5318,10.679]],["keywords/958",[]],["title/959",[843,843.452]],["content/959",[]],["keywords/959",[]],["title/960",[782,1096.24]],["content/960",[22,4.723,23,4.182,24,7.16,25,0.857,32,2.726,33,1.666,34,2.949,35,5.161,37,2.163,50,7.101,54,7.822,124,7.768,151,3.974,174,10.698,198,3.441,241,4.788,275,4.289,286,7.916,355,5.076,408,4.262,467,8.352,600,13.165,764,7.042,776,8.566,777,5.74,779,8.574,879,5.015,981,10.281,1077,7.291,1256,10.186,1257,5.893,1400,10.095,1704,8.111,1814,8.111,1942,10.097,3263,10.796]],["keywords/960",[]],["title/961",[35,534.362]],["content/961",[1,7.819,4,2.29,6,2.14,33,2.858,35,6.338,37,2.946,84,9.364,88,7.578,89,11.049,116,7.246,122,7.702,204,8.303,219,6.522,408,5.806,432,9.222,474,10.12,590,7.481,716,6.335,773,6.915,843,7.942,2131,10.543,2203,11.507,2720,11.049]],["keywords/961",[]],["title/962",[37,312.842]],["content/962",[3,5.132,4,2.558,5,2.409,6,1.08,7,3.483,8,5.908,19,3.344,22,4.263,23,3.948,24,5.607,25,0.742,32,3.437,33,1.443,34,3.719,35,4.658,36,8.473,37,3.216,40,7.311,41,7.543,46,3.611,51,3.887,63,3.562,65,6.277,67,4.489,122,7.129,152,2.221,188,6.258,201,4.309,234,5.161,260,9.919,275,5.408,278,3.003,297,3.165,314,3.958,334,3.217,355,4.397,396,3.645,399,6.099,408,7.721,504,7.201,661,7.117,776,7.731,777,7.238,920,8.601,958,5.161,1261,7.117,2389,9.35,5386,10.317,5387,15.02,5388,11.157,5389,10.317]],["keywords/962",[]],["title/963",[1400,1045.231]],["content/963",[4,2.004,14,7.27,33,2.501,171,5.05,193,7.748,222,5.273,224,5.864,480,8.444,674,7.083,737,6.502,773,7.621,1400,13.166,2354,16.207,4455,16.924,5390,19.339]],["keywords/963",[]],["title/964",[1256,1054.703]],["content/964",[7,4.463,8,7.57,12,4.985,19,4.285,33,1.849,51,3.421,58,5.236,69,4.463,70,3.486,88,6.629,99,6.811,116,7.984,124,5.354,140,11.206,171,5.048,198,3.819,204,6.764,219,7.186,222,3.898,246,4.516,264,6.351,298,7.015,301,3.258,311,6.124,427,8.627,432,10.161,438,5.354,504,6.338,506,7.751,736,8.788,1178,14.811,1205,11.206,1256,8.091,1257,6.54,1392,11.558,1398,9.002,1444,6.764,5391,14.296,5392,14.296]],["keywords/964",[]],["title/965",[981,1064.513]],["content/965",[4,1.677,25,1.396,33,2.714,44,4.506,54,7.034,62,6.933,63,4.603,124,6.061,171,4.226,177,8.322,180,7.445,183,6.611,215,11.031,228,7.068,246,5.113,271,5.741,273,4.603,382,8.322,401,7.249,514,7.524,543,5.993,545,4.483,648,10.191,706,8.264,981,11.99,982,8.636,1444,7.658,2172,10.943,5393,14.965,5394,16.184]],["keywords/965",[]],["title/966",[4214,1630.706]],["content/966",[1,5.602,14,4.725,20,5.631,23,3.568,24,6.107,25,0.836,32,3.744,33,1.625,34,4.051,35,5.87,37,2.97,63,2.757,67,5.058,69,5.523,88,7.019,124,8.32,154,4.621,171,5.345,198,4.726,203,6.375,296,9.357,382,6.464,396,5.78,427,6.503,484,7.051,487,7.916,531,6.872,776,8.42,779,11.775,843,5.69,1112,7.472,1298,7.553,1377,5.88,1398,7.916,1444,5.948,1648,8.796,1792,8.642,1796,10.748,1872,6.761,1983,9.15,2560,8.243,2950,11.001,4195,11.001,4197,11.001,4214,20.49,5395,12.57,5396,11.624]],["keywords/966",[]],["title/967",[5397,1723.121]],["content/967",[23,3.972,24,7.172,32,4.397,34,4.758,35,5.959,37,3.489,88,5.464,124,7.782,154,5.858,198,4.257,407,7.771,427,5.858,637,9.104,776,9.89,779,13.831,843,7.213,1726,12.436,4195,20.234,4197,13.946,5393,14.736,5397,19.215,5398,15.936]],["keywords/967",[]],["title/968",[5399,1723.121]],["content/968",[4,1.303,6,1.217,7,5.523,8,6.657,9,5.751,19,3.768,22,3.299,23,4,24,4.339,25,0.836,32,2.66,34,2.878,44,3.5,51,3.008,54,5.463,65,4.12,87,4.368,131,6.375,151,7.224,161,5.589,280,8.019,293,3.519,297,3.566,308,4.069,355,4.954,373,4.562,381,4.056,396,4.107,510,6.375,549,6.606,592,7.637,674,6.48,772,5.214,773,8.067,1074,6.872,1116,6.248,1377,5.88,1617,6.558,2334,18.353,3862,11.624,4146,11.624,5303,10.535,5399,11.624,5400,12.57,5401,12.57,5402,12.57,5403,12.57,5404,12.57,5405,12.57,5406,12.57,5407,12.57,5408,11.624]],["keywords/968",[]],["title/969",[901,711.307]],["content/969",[]],["keywords/969",[]],["title/970",[23,238.957,183,493.826]],["content/970",[116,8.457,154,7.528,161,6.47,164,6.431,183,6.45,230,6.47,356,9.526,722,10.315,843,9.27,5325,18.938,5409,20.48]],["keywords/970",[]],["title/971",[5365,1561.679]],["content/971",[4,2.142,6,2.002,22,5.426,23,3.723,25,1.052,33,2.045,45,4.487,111,5.968,124,5.923,151,4.879,152,3.149,158,9.959,164,4.966,172,9.121,174,9.401,198,4.225,217,7.386,224,4.795,458,7.356,480,5.689,737,5.317,1649,12.397,1690,11.279,3726,10.088,5365,13.254,5366,13.254,5367,17.328,5368,14.624,5369,14.624,5370,14.624,5372,14.624,5373,13.84,5410,15.815]],["keywords/971",[]],["title/972",[5366,1561.679]],["content/972",[4,2.081,22,6.302,23,3.061,33,3.105,151,6.196,164,6.307,217,7.174,4468,17.576,5367,20.125,5411,20.085]],["keywords/972",[]],["title/973",[2111,1240.307]],["content/973",[18,7.049,33,2.729,84,11.261,222,5.754,230,6.666,674,7.729,1268,10.929,1317,14.767]],["keywords/973",[]],["title/974",[3759,1460.68]],["content/974",[161,6.735,549,11.204,843,9.649,912,11.121,1116,10.596,3758,13.258,4040,14.189]],["keywords/974",[]],["title/975",[5412,1723.121]],["content/975",[4,1.523,22,5.17,23,4.082,33,3.069,46,4.758,161,4.644,164,6.186,172,8.477,189,7.506,301,3.35,373,5.08,381,4.743,456,17.239,549,7.725,972,9.639,1116,7.306,1155,13.319,1157,11.71,1427,7.844,1637,12.319,1814,9.256,2114,9.639,2281,9.784,2445,12.864,3770,14.662,3772,13.593,3963,15.026,5413,14.699,5414,14.699,5415,19.699,5416,14.699]],["keywords/975",[]],["title/976",[1726,1002.228]],["content/976",[2,6.427,6,2.14,24,6.057,33,3.385,34,4.018,161,5.543,183,5.527,184,3.805,191,5.275,198,4.687,427,6.45,452,8.116,468,8.028,549,9.222,572,6.268,607,9.514,1116,8.722,1332,9.438,1726,13.014,2783,10.661,5417,16.226]],["keywords/976",[]],["title/977",[468,852.533]],["content/977",[4,2.27,5,3.086,6,2.121,14,5.374,18,4.775,22,3.752,23,3.339,25,0.951,33,2.833,34,3.273,37,3.246,70,3.486,107,3.511,152,2.846,191,4.298,198,3.819,275,4.76,385,7.081,407,6.971,427,8.053,435,6.54,468,10.022,507,8.891,561,6.725,607,7.751,843,8.751,944,8.019,1656,12.868,1992,11.558,2502,7.106,2723,13.219,2779,8.786,5418,14.296,5419,14.296,5420,21.906,5421,13.219,5422,13.219]],["keywords/977",[]],["title/978",[5423,1723.121]],["content/978",[22,5.123,23,3.867,25,1.298,32,4.131,124,7.31,161,7.457,427,7.176,572,6.973,843,8.835,1257,8.931,2303,10.499,5423,18.05,5424,19.52]],["keywords/978",[]],["title/979",[224,564.997]],["content/979",[7,5.013,23,4.052,32,3.399,34,3.677,51,3.843,116,9.584,164,6.558,281,6.227,427,7.677,468,7.347,569,7.88,734,12.378,765,5.263,768,9.174,843,7.269,1170,8.2,1276,11.059,1987,12.249,2121,9.869,2495,10.112,2502,7.982,3431,14.85,3767,11.69,5425,16.059,5426,16.059]],["keywords/979",[]],["title/980",[107,214.787,180,402.245,185,211.234,264,253.505,315,284.809,622,354.85,1329,443.427]],["content/980",[]],["keywords/980",[]],["title/981",[310,538.773,315,387.69,1329,603.606,2628,907.934]],["content/981",[4,1.347,6,1.754,12,2.897,19,2.491,25,1.307,33,1.074,37,1.395,40,3.172,46,4.208,51,3.832,52,2.289,53,3.51,69,2.594,70,2.026,88,4.457,103,7.135,107,3.193,154,3.054,176,4.744,181,4.267,182,1.658,184,2.819,186,4.733,196,2.586,198,2.22,205,5.108,206,5.7,220,7.368,225,4.66,230,2.625,240,1.855,243,3.822,246,2.625,260,4.303,264,2.409,278,3.499,280,5.3,281,5.041,290,6.338,297,4.543,301,1.894,310,3.761,311,3.559,314,2.947,315,5.899,322,4.779,330,1.998,364,4.505,372,5.372,373,3.352,382,4.272,385,3.043,388,4.661,394,6.592,397,5.3,421,6.732,440,6.013,484,4.661,486,9.518,490,5.165,513,4.939,514,2.978,520,3.761,545,3.601,552,4.367,553,3.722,579,5.372,582,4.661,587,5.3,706,4.243,718,3.372,742,3.761,792,4.792,874,3.684,894,3.184,994,4.469,1053,6.513,1160,8.12,1189,9.959,1296,6.718,1329,8.12,1422,5.814,1564,5.3,1650,4.939,1713,4.505,1850,5.926,2025,6.718,2057,5.712,2089,5.449,2098,5.232,2130,5.449,2161,6.338,2303,4.469,2741,6.338,2876,7.271,3023,7.683,3190,7.683,3785,6.963,5427,8.309,5428,8.309,5429,8.309,5430,8.309,5431,8.309,5432,8.309,5433,8.309]],["keywords/981",[]],["title/982",[152,236.98,315,387.69,659,547.547,1329,603.606]],["content/982",[18,8.603,23,2.651,46,3.973,65,4.023,82,8.589,134,6.947,162,7.77,171,3.205,184,2.662,205,6.579,225,4.4,230,3.878,246,3.878,330,5.285,347,8.002,380,18.039,458,5.709,580,5.646,659,5.646,1024,5.774,1116,6.101,1177,14.261,1278,6.062,1310,7.148,1339,5.498,2131,7.375,2667,10.287,2692,16.238,2720,7.729,3642,18.422,5434,16.086,5435,18.685,5436,12.274,5437,12.274,5438,12.274,5439,12.274]],["keywords/982",[]],["title/983",[315,387.69,579,769.603,659,547.547,1329,603.606]],["content/983",[4,1.005,18,4.892,23,4.345,40,3.703,62,4.156,63,2.128,65,3.18,152,4.199,154,3.566,161,6.663,164,4.599,183,3.056,184,3.176,204,4.591,205,4.583,206,3.453,225,5.25,229,5.442,230,6.207,240,3.27,373,2.502,380,12.84,394,4.92,483,7.876,513,10.486,579,6.273,580,4.463,592,8.897,600,5.218,716,3.503,734,4.887,879,3.777,901,5.59,1074,5.303,1177,9,1309,4.564,1339,4.346,1479,8.214,1872,5.218,2303,5.218,3684,11.806,3764,7.062,4442,6.273,4485,7.844,5015,8.131,5440,12.815,5441,9.702,5442,9.702,5443,9.702,5444,8.971]],["keywords/983",[]],["title/984",[2886,1077.888,3684,942.051]],["content/984",[4,1.976,18,4.679,19,4.199,107,3.441,114,4.072,116,5.784,152,4.633,161,4.425,183,4.412,184,4.135,191,4.211,204,6.628,205,3.639,220,7.663,229,10.695,240,3.128,319,6.242,388,7.857,389,7.203,397,8.935,425,5.039,457,9.471,483,7.534,580,6.444,737,6.411,771,5.612,786,6.001,827,8.608,919,9.802,1024,6.59,1332,7.534,1339,6.274,1479,7.857,1811,10.196,1872,7.534,2303,7.534,2693,9.99,2717,10.685,2886,13.109,3684,15.441,3764,10.196,5440,12.258]],["keywords/984",[]],["title/985",[116,647.46,183,493.826]],["content/985",[10,5.433,25,0.913,49,6.459,79,7.271,116,9.983,181,3.658,183,4.325,184,2.978,205,6.281,220,8.158,240,3.066,293,3.843,301,3.129,314,4.871,315,4.472,319,9.561,330,3.301,373,3.541,375,7.163,381,4.431,388,7.702,398,5.142,455,6.574,580,6.316,616,9.608,716,4.957,734,9.474,741,8.342,912,7.163,1024,6.459,1332,7.385,1564,8.758,1872,7.385,2098,8.646,2424,11.101,2751,14.744,2886,12.931,3684,12.891,3951,9.608,5015,19.341]],["keywords/985",[]],["title/986",[6,131.019,240,302.163,3961,1184.242]],["content/986",[4,1.94,6,1.32,9,4.043,18,2.952,19,2.649,23,3.797,25,0.588,32,1.87,33,1.143,44,2.461,54,3.841,65,4.47,88,3.03,107,2.171,124,3.31,152,4.887,155,4.964,162,3.124,171,3.561,173,5.253,174,5.253,184,4.06,192,2.971,204,4.182,220,3.124,228,3.86,229,9.341,230,5.915,243,6.273,301,3.108,319,3.938,330,2.125,341,9.899,347,4.065,361,4.957,381,4.401,425,3.179,427,5.013,467,3.124,520,6.173,557,3.511,580,4.065,652,7.973,711,3.75,737,6.802,770,4.364,809,10.558,827,5.431,953,6.578,967,6.433,1024,4.158,1074,4.831,1114,4.513,1160,4.482,1169,4.043,1175,5.565,1177,5.431,1183,4.872,1257,4.043,1280,6.927,1283,7.406,1309,4.158,1339,3.958,1614,4.513,1831,7.406,1889,5.565,2146,6.433,2321,5.565,2330,11.026,2381,6.433,2444,5.369,2669,9.221,2677,9.543,2693,6.303,3684,8.194,3887,9.376,4063,8.172,4879,6.578,5202,8.172,5440,7.734,5445,8.838,5446,8.838,5447,8.838,5448,8.838,5449,8.838]],["keywords/986",[]],["title/987",[225,562.039,278,422.052]],["content/987",[4,1.039,18,8.326,23,3.422,54,4.359,67,4.035,69,3.131,88,5.148,152,3.583,154,6.615,155,2.989,162,3.545,171,2.619,181,4,184,2.175,198,4.011,205,5.191,225,8.049,228,4.38,230,3.168,240,2.239,241,5.581,267,8.405,301,3.422,330,2.411,380,16.345,387,5.841,388,5.625,455,4.802,483,5.394,484,5.625,661,9.577,772,4.16,857,5.157,1109,5.194,1113,7.3,1114,5.121,1116,4.985,1173,5.961,1220,5.729,1276,5.311,1309,9.399,1332,5.394,1339,4.492,1388,6.397,1438,12.138,2058,6.397,2079,5.729,2308,6.315,2598,7.65,3014,9.274,3564,7.152,3642,15.081,3859,7.465,3951,7.018,4421,8.108,5318,8.108,5434,13.883,5435,13.883,5444,9.274,5450,22.454,5451,17.995,5452,17.995,5453,10.029]],["keywords/987",[]],["title/988",[1342,1259.934]],["content/988",[4,1.263,5,0.578,6,0.817,14,1.848,18,2.82,19,0.803,22,1.29,23,4.329,25,0.738,32,2.785,34,2.256,44,1.897,46,0.867,51,1.176,54,3.669,65,0.878,69,2.127,73,1.368,116,4.07,122,1.176,124,4.929,147,3.136,148,3.929,151,0.826,152,3.545,154,3.623,161,3.113,162,2.408,164,3.484,167,2.137,171,2.574,172,1.545,173,1.592,180,2.261,181,1.31,183,1.548,184,4.054,185,2.039,192,0.901,193,1.97,198,0.716,201,1.035,205,1.77,206,1.75,220,3.484,222,0.73,224,0.812,225,1.762,228,1.17,229,1.502,230,0.846,240,2.477,241,2.532,246,0.846,264,0.777,281,1.906,293,0.75,301,1.924,307,3.929,311,1.147,315,1.601,319,1.194,330,1.182,335,1.91,347,5.607,356,4.584,364,1.452,373,1.268,381,2.199,387,1.56,388,1.502,397,3.136,398,1.841,400,1.206,425,1.769,427,1.807,452,1.239,455,1.282,458,2.287,467,4.653,490,1.953,513,2.922,516,1.377,520,1.212,557,2.707,580,4.534,590,1.142,600,1.441,616,1.874,630,0.985,645,2.892,648,1.687,652,6.302,711,1.137,734,2.476,735,2.213,736,1.003,737,2.838,741,1.627,745,1.464,758,2.126,771,3.382,772,1.111,806,1.29,809,6.019,861,1.246,879,1.043,886,2.434,894,1.026,901,1.022,910,2.741,950,3.272,958,1.239,1024,5.219,1055,1.331,1109,1.387,1114,6.223,1173,1.592,1176,1.53,1191,1.709,1220,1.53,1256,1.516,1257,4.509,1268,1.387,1276,1.418,1309,4.636,1317,1.874,1320,3.664,1332,2.644,1339,3.052,1342,4.607,1343,1.592,1345,4.237,1347,3.057,1350,2.043,1351,1.994,1353,5.71,1354,5.129,1359,2.043,1377,1.253,1479,2.757,1511,1.95,1526,1.464,1540,1.666,1564,3.136,1580,1.994,1602,1.627,1614,1.368,1726,1.441,1779,1.841,1803,1.994,1827,1.502,1872,3.664,1889,1.687,1993,1.811,2062,1.783,2203,1.757,2241,2.043,2303,2.644,2444,1.627,2502,2.444,2589,1.646,2669,1.811,2693,4.859,2720,1.687,2733,1.91,2751,2.1,2886,1.841,2912,1.666,2927,3.096,2979,1.811,3114,3.579,3560,1.95,3567,4.302,3569,2.477,3573,2.477,3575,2.344,3586,1.545,3642,7.075,3684,5.922,3709,2.245,3756,2.166,3758,3.057,3759,5.341,3764,1.95,3887,5.804,4051,1.757,4222,3.975,4349,1.91,4442,1.732,4638,4.546,4667,4.12,4822,1.592,4879,1.994,4989,2.477,5015,2.245,5037,2.477,5041,2.477,5128,2.477,5454,2.679,5455,2.679,5456,2.679,5457,2.679,5458,2.679,5459,2.477,5460,2.679,5461,2.679,5462,2.679,5463,2.679,5464,2.679,5465,2.679,5466,2.679,5467,4.916,5468,4.916,5469,2.477,5470,2.679,5471,2.679,5472,2.679,5473,2.679,5474,2.679,5475,2.679,5476,4.916,5477,4.916,5478,2.679,5479,2.679,5480,2.679,5481,2.679,5482,2.679,5483,2.679,5484,2.679,5485,2.679]],["keywords/988",[]],["title/989",[281,524.746,297,383.895,379,619.122]],["content/989",[4,2.101,12,5.352,22,4.028,25,1.348,33,1.985,44,4.274,45,4.354,51,4.851,62,6.575,63,3.366,69,4.791,171,5.928,177,7.893,184,4.923,201,5.928,246,4.849,281,8.803,373,5.855,379,7.022,427,8.345,504,6.805,716,5.541,782,9.03,1169,7.022,1256,8.688,1257,9.275,1547,10.216,2088,10.947,3758,9.546,3759,12.032,4040,10.216]],["keywords/989",[]],["title/990",[278,422.052,1377,733.4]],["content/990",[4,2.012,6,1.684,12,3.306,19,2.842,23,3.481,25,0.631,67,3.815,79,5.021,86,3.831,111,3.578,122,4.161,125,3.752,152,3.866,164,4.519,166,5.14,184,3.121,205,3.739,222,2.585,229,5.318,230,6.135,240,2.117,278,4.682,287,4.713,301,2.161,310,4.291,334,2.734,347,4.361,356,4.41,427,5.29,446,7.057,455,4.539,457,6.411,463,6.762,474,5.468,476,5.76,568,5.578,572,3.387,580,8.001,652,8.328,734,4.775,737,6.529,745,5.183,771,3.799,919,6.635,1024,4.46,1048,7.665,1058,7.453,1113,6.902,1204,4.875,1220,8.221,1332,7.74,1339,7.791,1377,11.007,1547,6.311,1779,9.894,1889,5.97,1890,7.432,1988,7.665,2062,9.579,2175,7.057,2179,7.232,2239,12.662,2429,10.264,2502,4.713,2767,8.767,2978,8.297,3280,11.635,3746,7.946,4109,8.297,4917,11.635,5064,13.308,5486,9.481,5487,9.481,5488,9.481,5489,8.767,5490,9.481,5491,9.481,5492,9.481,5493,9.481]],["keywords/990",[]],["title/991",[932,847.955]],["content/991",[4,1.967,184,4.117,205,6.514,206,6.758,220,8.205,330,4.565,361,10.65,413,9.833,737,6.383,939,15.35,1175,11.956,1889,11.956,2058,12.111,2693,13.541,2728,14.482,2771,14.482]],["keywords/991",[]],["title/992",[4832,1328.96]],["content/992",[4,2.187,151,6.51,161,6.666,183,6.646,184,4.576,252,8.183,1342,14.268,4832,15.05]],["keywords/992",[]],["title/993",[183,586.914]],["content/993",[23,3.745,124,7.274,152,3.867,164,7.717,183,6.118,184,4.767,285,9.896,347,6.622,373,5.009,455,6.892,652,9.3,716,7.012,734,12.377,772,5.971,1024,6.772,1175,9.064,1257,8.886,1309,6.772,1339,6.448,1377,6.733,2088,10.266,4349,10.266,4832,10.266,5359,17.961,5494,14.395,5495,14.395,5496,14.395,5497,14.395,5498,14.395,5499,19.423,5500,14.395]],["keywords/993",[]],["title/994",[4878,1561.679]],["content/994",[34,5.17,49,8.543,107,4.46,161,5.737,184,5.576,301,4.139,361,10.186,458,8.446,464,13.516,549,9.543,786,9.673,1116,9.026,1444,10.685,2088,12.951,3196,14.234,4349,12.951,4878,15.218,5501,18.159]],["keywords/994",[]],["title/995",[5502,1723.121]],["content/995",[4,1.799,5,1.661,6,0.745,14,4.6,18,2.57,19,2.307,23,3.817,25,0.512,32,1.628,34,5.026,54,3.344,124,6.5,125,3.045,148,10.01,149,5.075,152,1.532,155,2.294,161,2.431,164,4.783,176,2.808,181,2.05,182,2.441,183,3.854,184,4.587,185,2.956,196,2.395,205,1.999,229,8.544,264,5.032,281,7.345,301,3.956,315,6.889,361,4.316,373,3.928,381,2.483,402,4.438,413,6.337,427,2.829,499,8.005,545,2.131,549,6.431,557,3.057,581,5.193,713,7.911,716,2.778,758,3.328,886,5.441,1090,9.333,1112,4.574,1116,9.416,1134,4.355,1169,3.521,1204,6.292,1256,6.926,1444,3.641,1511,5.601,1726,6.581,1743,9.333,1803,5.728,1811,5.601,2088,5.488,2251,7.116,2707,5.87,2979,10.299,3751,11.315,3759,9.591,4878,15.875,5396,7.116,5502,14.085,5503,7.695,5504,7.695,5505,7.695,5506,7.695,5507,7.695,5508,7.695,5509,7.695,5510,7.695,5511,7.695,5512,12.236,5513,7.695,5514,7.695,5515,12.236,5516,7.695,5517,7.695,5518,7.695,5519,7.695,5520,7.695,5521,7.695]],["keywords/995",[]],["title/996",[2751,1460.68]],["content/996",[4,1.556,20,6.726,23,3.045,40,5.732,116,6.201,148,8.661,164,4.716,173,8.927,177,7.722,184,3.257,205,6.22,220,7.064,240,3.353,265,5.402,301,3.423,315,4.891,330,4.804,373,3.873,425,5.402,520,6.797,716,5.422,751,12.28,1140,11.178,1339,6.726,1511,10.931,1526,10.923,1564,9.579,1648,10.509,2088,10.71,2560,9.848,2751,17.603,2886,10.324,3551,12.141,3606,13.886,3684,9.023,5016,12.141,5522,19.982]],["keywords/996",[]],["title/997",[4349,1328.96]],["content/997",[34,4.735,156,10.952,161,6.534,184,4.485,191,6.218,549,10.87,1116,10.28,1143,13.373,4349,14.751,5523,20.683]],["keywords/997",[]],["title/998",[3952,1506.563]],["content/998",[23,3.061,34,5.498,184,5.207,373,5.18,568,11.816,2241,15.32,3561,15.32,3952,16.238,5524,20.085,5525,20.085,5526,20.085]],["keywords/998",[]],["title/999",[468,852.533]],["content/999",[4,1.915,18,6.173,34,4.231,152,3.679,154,6.794,184,5.764,224,5.604,468,8.455,809,12.233,3092,16.992,3561,14.097,4349,13.18,5527,18.481,5528,18.481,5529,18.481]],["keywords/999",[]],["title/1000",[5530,1863.425]],["content/1000",[23,3.061,124,7.522,161,6.345,184,5.571,464,14.95,516,10.328,735,9.043,2783,12.202,4349,14.324,5531,20.085,5532,18.572]],["keywords/1000",[]],["title/1001",[5533,1863.425]],["content/1001",[23,3.249,124,7.983,161,6.735,184,4.623,3952,17.235,5532,19.713,5534,21.318]],["keywords/1001",[]],["title/1002",[171,353.369,241,503.001,5535,1251.356]],["content/1002",[5,2.144,23,4.224,25,0.661,32,3.786,34,3.413,37,1.668,44,2.766,54,4.317,88,3.406,152,3.562,164,3.119,171,3.892,184,4.852,193,3.98,220,3.511,224,5.425,229,5.572,230,3.138,240,2.218,241,6.651,246,3.138,301,2.264,347,9.801,381,3.205,652,7.137,827,10.996,886,6.391,1024,8.417,1075,7.394,1177,6.105,1309,7.013,1342,10.079,1347,9.271,1444,4.7,1961,5.905,2303,5.342,2502,4.937,3037,13.784,3174,10.079,3684,13.942,3951,6.951,4822,8.861,5535,13.784,5536,9.933,5537,19.884,5538,9.933,5539,9.933,5540,17.892,5541,9.933,5542,9.933]],["keywords/1002",[]],["title/1003",[5543,1723.121]],["content/1003",[23,3.836,30,7.275,32,3.272,51,3.7,121,9.291,124,5.791,152,3.079,155,4.609,184,4.941,281,8.835,373,3.988,425,5.563,427,5.684,706,7.896,912,12.634,1147,8.524,1332,8.317,1342,10.455,1787,12.121,2241,11.795,2705,12.959,2744,13.532,3758,12.671,3952,12.502,4040,10.292,4822,9.192,5543,14.299,5544,18.839,5545,15.463,5546,15.463,5547,15.463]],["keywords/1003",[]],["title/1004",[184,340.004,3367,755.218]],["content/1004",[6,2.393,18,4.44,25,0.884,45,3.771,49,6.253,88,4.558,152,4.532,162,4.699,184,4.574,220,6.502,224,4.03,230,4.199,297,5.218,315,4.329,347,9.703,364,7.207,398,4.978,438,4.978,516,6.835,545,3.682,569,9.026,572,4.748,580,9.703,771,5.326,809,6.564,886,4.748,1024,6.253,1111,9.138,1329,6.741,1966,9.302,2353,9.48,2900,8.847,3367,12.442,4480,9.894,4482,11.14,5303,11.14,5343,12.292,5548,13.292,5549,13.292,5550,13.292,5551,13.292,5552,13.292]],["keywords/1004",[]],["title/1005",[184,340.004,1024,737.602]],["content/1005",[5,4.099,6,1.838,25,1.263,40,7.247,63,4.164,184,5.033,205,4.933,220,6.712,240,4.239,329,8.461,347,8.734,356,8.831,514,6.806,1024,11.794,1189,11.808,3092,14.132]],["keywords/1005",[]],["title/1006",[25,89.993,315,440.762,650,780.453]],["content/1006",[4,1.759,5,3.665,14,6.381,97,5.959,107,4.17,181,5.767,185,5.228,240,3.79,263,13.724,310,7.684,315,5.529,405,8.729,452,7.852,568,9.986,632,9.986,1042,10.975,1151,10.975,1173,10.091,1610,13.461,1614,8.668,1634,15.435,1848,13.306,1961,10.091,2125,13.724,3173,15.697,3243,14.226,5553,16.975,5554,14.855]],["keywords/1006",[]],["title/1007",[69,331.64,184,230.384,224,322.118,246,335.617,1434,810.359]],["content/1007",[5,1.462,6,1.069,18,2.261,23,4.2,25,0.929,32,4.028,33,0.875,34,3.199,44,1.885,107,1.663,148,3.904,151,4.311,152,1.348,154,4.057,155,2.018,161,2.139,162,2.393,164,3.466,166,5.984,167,4.797,171,1.768,181,2.941,184,4.353,185,2.666,191,2.035,198,1.808,206,2.41,224,3.346,240,1.512,243,3.114,246,2.139,278,1.822,288,3.343,314,2.401,315,2.205,330,2.653,335,4.828,347,5.077,348,3.832,381,2.185,392,3.149,499,3.558,520,4.996,539,3.149,590,2.886,630,2.489,632,3.983,703,2.526,708,4.263,716,5.044,736,2.535,737,2.276,771,2.712,809,3.343,876,6.864,886,3.942,914,3.185,957,4.113,1024,5.192,1039,5.164,1134,3.832,1141,4.439,1170,3.457,1173,4.024,1268,3.506,1325,4.377,1342,4.577,1347,4.21,1366,9.658,1388,4.318,1392,5.473,1589,5.039,1610,4.21,1634,4.828,1646,4.506,1663,3.764,1697,3.832,1798,5.674,1850,15.44,1920,6.26,1931,4.263,2515,5.039,2714,4.654,2783,4.113,2809,6.26,3243,13.506,3790,7.723,4822,8.305,4899,5.924,5554,12.227,5555,11.037,5556,6.77,5557,13.972,5558,6.77,5559,11.037,5560,6.77,5561,6.77,5562,11.037,5563,11.037,5564,6.77,5565,6.77,5566,6.77,5567,16.115,5568,11.037,5569,6.77,5570,6.77,5571,6.77,5572,6.77,5573,6.77,5574,11.037,5575,6.77,5576,6.77,5577,6.77,5578,6.77,5579,6.77,5580,6.77]],["keywords/1007",[]],["title/1008",[315,387.69,1850,848.901,5581,1190.303,5582,1190.303]],["content/1008",[18,7.267,33,2.213,44,4.765,65,5.609,161,5.407,166,9.279,177,8.8,184,4.718,185,4.134,301,3.901,310,7.747,379,7.83,385,6.268,401,7.666,474,9.87,520,7.747,569,8.398,648,10.777,716,6.179,1042,11.066,1204,8.8,1366,14.977,1850,15.516,2714,11.766,3243,14.343,3684,10.283,5583,17.115,5584,17.115]],["keywords/1008",[]],["title/1009",[107,235.629,182,191.399,185,231.733,315,312.447,650,553.247,667,731.722]],["content/1009",[6,1.025,18,5.222,19,3.174,37,1.778,44,4.353,65,3.471,70,5.004,88,3.631,92,6.665,107,2.601,114,4.545,134,5.994,162,5.526,164,3.325,171,2.765,181,2.822,184,4.968,185,3.777,186,3.13,190,7.313,191,4.7,198,2.829,203,5.37,246,3.345,264,4.532,272,4.515,278,2.851,315,3.449,348,5.994,392,4.926,393,5.696,396,3.46,397,6.755,452,4.898,484,5.94,564,4.898,575,9.792,581,4.494,693,7.002,716,5.644,718,4.297,719,7.28,740,4.926,861,4.926,886,3.783,893,4.453,923,6.944,971,6.295,1037,7.552,1119,6.107,1134,5.994,1143,6.847,1156,11.925,1160,5.37,1192,6.586,1268,5.484,1325,6.847,1595,6.586,1610,6.586,1729,8.077,1765,6.755,1846,7.709,1850,7.552,1856,7.709,1926,7.41,1984,6.755,2018,8.301,2134,8.875,2138,9.267,2525,9.267,2588,7.709,2708,8.301,2717,8.077,2783,6.434,3162,9.792,3274,8.875,4349,7.552,4595,8.875,5228,9.792,5554,9.267,5585,9.792,5586,10.59,5587,10.59,5588,10.59,5589,10.59,5590,10.59]],["keywords/1009",[]],["title/1010",[3769,1421.376]],["content/1010",[79,9.371,111,6.677,131,8.974,164,5.557,166,9.594,184,4.819,301,4.033,373,4.564,463,12.621,598,16.423,711,7.51,1024,8.325,1309,10.453,1377,8.278,1588,13.871,1902,10.875,2344,14.307,3274,18.622,5591,22.22,5592,17.696,5593,17.696]],["keywords/1010",[]],["title/1011",[152,312.153,185,378.748]],["content/1011",[]],["keywords/1011",[]],["title/1012",[45,337.67,111,449.151,152,236.98,185,287.538]],["content/1012",[22,6.091,23,3.98,25,1.263,45,5.386,111,7.164,152,4.991,185,5.607,438,7.11,3726,12.111,5594,18.986,5595,18.986,5596,18.986]],["keywords/1012",[]],["title/1013",[45,337.67,447,759.279,843,538.773,1276,630.307]],["content/1013",[5,4.796,14,6.65,23,3.882,24,4.339,32,2.66,33,2.647,34,2.878,35,3.605,36,9.229,37,2.97,45,3.566,62,5.385,63,2.757,68,6.606,124,8.32,136,7.25,152,4.835,171,4.62,185,5.867,198,4.726,224,5.364,381,4.056,391,6.331,427,4.621,447,13.058,600,9.515,765,4.12,776,5.983,782,7.395,786,5.385,843,9.266,1276,6.657,1617,6.558,2495,7.916,4320,20.543,5597,12.57]],["keywords/1013",[]],["title/1014",[5598,1863.425]],["content/1014",[4,1.512,6,1.898,23,4.211,32,4.149,33,2.535,34,4.489,88,5.005,152,4.408,161,4.611,162,5.16,185,5.348,198,3.899,224,4.426,549,7.671,771,8.87,1116,7.255,1169,6.678,1204,7.506,1796,8.868,2927,12.346,3778,11.78,3781,12.506,4741,11.134,5599,16.431,5600,14.596,5601,14.596]],["keywords/1014",[]],["title/1015",[5602,1863.425]],["content/1015",[6,1.713,23,4.082,32,3.745,33,2.288,34,4.052,152,3.523,161,5.59,185,4.275,198,4.727,224,5.366,549,9.3,771,7.09,1116,8.796,1169,10.166,2058,11.288,2927,11.143,3778,10.633,3781,11.288,4741,13.498,5599,14.831,5603,17.696]],["keywords/1015",[]],["title/1016",[5604,1630.706]],["content/1016",[23,3.032,32,4.21,34,4.555,161,6.284,549,10.455,642,8.91,771,7.97,1116,9.888,1169,9.101,4442,12.862,4741,18.212,5599,16.672,5605,18.395]],["keywords/1016",[]],["title/1017",[5604,1630.706]],["content/1017",[23,3.98,32,4.018,152,3.78,161,5.998,164,7.289,183,5.98,360,10.846,734,9.563,1169,8.686,4442,15.007,4741,14.482,5604,16.615,5606,18.986,5607,18.986]],["keywords/1017",[]],["title/1018",[4741,1421.376]],["content/1018",[6,2.198,23,4.271,32,4.804,34,4.641,46,6.562,64,6.983,68,5.427,87,6.363,152,3.646,164,3.243,177,5.31,183,3.253,185,2.495,223,5.31,272,4.403,280,6.588,300,8.459,319,4.602,330,2.483,468,4.725,581,4.383,630,5.641,737,3.472,765,3.385,771,4.138,773,7.216,1278,5.1,2927,6.503,2942,8.095,3042,9.55,3629,7.517,3778,14.122,3781,11.681,4741,7.877,5335,8.655,5599,12.861,5605,9.55,5608,15.345,5609,15.345,5610,10.327,5611,10.327,5612,10.327,5613,15.345,5614,8.655,5615,10.327,5616,10.327,5617,10.327]],["keywords/1018",[]],["title/1019",[2377,1356.449]],["content/1019",[]],["keywords/1019",[]],["title/1020",[198,418.827,2377,1141.31]],["content/1020",[4,1.898,6,1.279,7,4.123,12,7.33,18,6.117,23,4.082,32,3.876,34,4.193,65,6.002,151,4.075,152,2.63,164,4.148,167,5.74,193,5.292,198,3.528,224,5.553,230,5.785,234,6.109,366,8.821,413,6.84,510,6.698,771,5.292,806,10.126,1276,9.698,1309,8.615,2203,13.786,2207,12.214,2216,15.416,2245,16.035,2249,10.353,3684,7.936,5618,13.208,5619,13.208,5620,13.208,5621,13.208]],["keywords/1020",[]],["title/1021",[4,140.222,67,544.489,2377,985.073]],["content/1021",[4,2.081,6,2.325,45,5.698,65,6.583,97,7.051,185,4.852,202,6.178,499,10.556,1560,13.808,1963,16.832,2377,14.62,5622,20.085]],["keywords/1021",[]],["title/1022",[6,92.877,60,357.9,166,520.104,184,208.027,389,493.273,5623,839.484]],["content/1022",[14,5.944,19,3.224,23,4.037,32,3.968,34,4.733,44,2.994,60,5.899,62,4.607,67,4.327,69,3.357,111,4.058,152,3.733,162,3.801,164,4.965,167,4.674,171,2.808,184,3.429,185,3.82,191,3.233,224,3.261,230,3.397,272,4.585,273,3.467,278,2.895,373,2.773,374,8.694,468,4.92,773,6.231,805,7.052,806,9.032,894,4.121,963,4.153,1086,6.953,1141,7.052,1175,14.504,1309,5.059,1402,7.828,1479,8.869,1614,10.556,2031,7.669,2043,7.828,2203,7.052,2216,6.953,2245,8.203,2249,8.429,2303,5.784,2377,7.828,2489,15.049,2779,6.609,5624,9.411,5625,10.754,5626,10.754,5627,9.944,5628,9.944,5629,10.754,5630,10.754,5631,9.944,5632,9.944,5633,10.754,5634,9.944,5635,10.754,5636,10.754]],["keywords/1022",[]],["title/1023",[1327,722.133,4038,1007.258,5623,1184.242]],["content/1023",[6,1.21,23,4.186,32,4.689,34,5.073,45,3.545,60,4.662,111,4.715,162,4.417,164,5.532,167,5.43,273,2.74,373,3.222,468,5.717,580,5.748,631,7.277,806,9.828,936,6.211,963,6.804,1309,5.878,1327,9.401,1614,8.995,2192,16.497,2203,8.194,2216,11.39,2245,9.531,2249,9.795,2303,6.72,2489,12.824,2779,7.679,4038,13.112,5624,10.935,5627,11.554,5628,11.554,5631,11.554,5632,11.554,5634,11.554,5637,12.495,5638,12.495,5639,12.495,5640,12.495,5641,12.495,5642,12.495,5643,12.495,5644,12.495]],["keywords/1023",[]],["title/1024",[6,92.877,114,278.869,152,190.987,366,462.071,2714,659.493,5623,839.484]],["content/1024",[4,1.481,6,2.272,23,4.103,32,4.966,34,5.373,152,4.361,155,4.261,164,4.489,167,6.213,224,4.335,240,3.192,520,6.471,716,5.161,741,8.685,771,5.728,806,10.552,910,5.752,1309,6.725,1359,10.904,2203,9.375,2216,12.5,2245,10.904,2249,15.155,2714,13.291,5624,12.51,5645,14.296,5646,14.296,5647,19.333,5648,14.296]],["keywords/1024",[]],["title/1025",[901,598.491,2377,1141.31]],["content/1025",[]],["keywords/1025",[]],["title/1026",[5649,1723.121]],["content/1026",[12,7.003,34,5.881,152,3.999,373,5.18,448,16.238,549,10.556,1116,9.983,2216,15.526,3770,14.95,5650,20.085]],["keywords/1026",[]],["title/1027",[1726,1002.228]],["content/1027",[34,4.599,154,7.383,425,7.225,843,9.091,1134,11.368,1251,14.62,1276,10.636,1633,11.474,1726,10.802,2216,15.526,2783,12.202,5651,20.085]],["keywords/1027",[]],["title/1028",[468,852.533]],["content/1028",[5,4.295,12,6.936,34,4.555,152,3.961,366,9.582,468,9.101,886,7.106,1272,14.481,2216,15.437,2227,17.408,3092,14.807,4043,17.408,5652,19.893]],["keywords/1028",[]],["title/1029",[4,140.222,754,1060.767,2377,985.073]],["content/1029",[]],["keywords/1029",[]],["title/1030",[1309,636.63,2216,874.956,5653,1251.356]],["content/1030",[7,5.669,9,8.308,12,6.332,51,4.345,70,4.428,88,6.226,151,5.602,191,5.459,281,7.041,301,4.139,373,4.683,452,8.399,459,13.851,543,6.725,592,11.032,650,10.473,663,10.01,886,6.487,1309,8.543,1332,9.767,1726,9.767,2216,11.741,3715,11.741,5653,16.792]],["keywords/1030",[]],["title/1031",[1309,636.63,1796,822.159,2216,874.956]],["content/1031",[53,7.539,125,7.062,278,4.804,361,12.53,373,4.603,455,8.545,584,12.068,785,5.443,1134,10.102,1309,11.472,1377,8.349,1548,11.385,1628,10.5,1697,10.102,1796,13.572,1803,13.285,1811,12.992,2197,13.99,2216,14.444,2893,16.504,5654,17.848]],["keywords/1031",[]],["title/1032",[131,538.737,711,450.843,889,718.317,1309,499.793,1633,606.904]],["content/1032",[53,7.738,107,4.5,131,9.289,148,10.565,181,6.05,182,3.655,205,4.76,224,6.884,230,5.787,373,4.724,375,9.556,464,13.635,499,11.932,674,8.316,711,7.774,1134,10.368,1309,10.681,2245,13.973]],["keywords/1032",[]],["title/1033",[230,303.048,499,504.155,674,351.353,1385,803.95,2216,620.238,5655,959.288]],["content/1033",[4,1.029,6,1.443,9,4.545,12,3.464,19,2.978,23,4.185,32,3.155,34,4.553,53,6.296,69,3.101,72,4.728,88,3.406,89,11.267,98,9.127,122,4.36,147,6.336,154,3.651,164,4.681,167,6.478,183,3.129,219,3.692,224,4.52,230,4.709,246,3.138,273,2.178,299,6.178,315,3.235,361,8.361,373,2.562,499,9.403,650,5.729,656,5.905,674,6.553,716,5.382,717,4.756,806,4.785,1000,5.342,1035,6.035,1298,5.968,1309,8.417,1552,6.829,1961,5.905,2117,6.514,2203,9.775,2216,15.003,2245,13.648,2692,6.951,5649,13.784,5656,9.933,5657,9.933,5658,17.892,5659,9.933,5660,9.933,5661,9.933,5662,9.933,5663,9.933,5664,9.933,5665,9.933,5666,9.933,5667,9.933,5668,9.933]],["keywords/1033",[]],["title/1034",[1278,920.243]],["content/1034",[]],["keywords/1034",[]],["title/1035",[787,903.071]],["content/1035",[23,3.032,34,4.555,35,5.705,151,6.137,152,3.961,154,7.313,224,6.032,787,11.571,3320,15.593,3778,11.953,3781,12.689,4515,12.372,4663,16.083]],["keywords/1035",[]],["title/1036",[642,834.662]],["content/1036",[23,3.557,32,4.055,34,4.387,151,5.911,152,4.647,154,7.044,224,5.81,600,10.306,642,11.274,806,9.229,861,8.912,3320,15.02,4165,13.408,5669,19.161]],["keywords/1036",[]],["title/1037",[151,574.895]],["content/1037",[]],["keywords/1037",[]],["title/1038",[]],["content/1038",[23,3.955,32,4.858,35,7.132,152,3.712,161,7.252,425,6.708,458,8.673,480,6.708,736,6.983,737,7.717,1690,13.298,5670,17.243,5671,16.318]],["keywords/1038",[]],["title/1039",[]],["content/1039",[23,4.111,34,3.489,35,4.369,151,4.701,152,3.034,161,4.813,164,6.336,183,4.799,301,3.473,330,3.663,407,7.43,545,4.22,557,8.987,656,11.993,716,5.501,734,7.674,735,6.861,1268,7.891,1425,16.909,2303,8.195,3855,13.334,5671,13.334,5672,24.078,5673,15.237,5674,20.176,5675,15.237,5676,20.176,5677,15.237]],["keywords/1039",[]],["title/1040",[3629,1356.449]],["content/1040",[4,1.602,23,4.123,34,3.54,35,6.534,87,5.373,151,4.771,164,7.155,183,4.87,381,4.99,496,6.248,557,8.095,584,10.455,772,6.414,1278,7.636,1423,13.532,1424,13.532,1425,12.959,1986,9.998,2206,11.51,3855,17.829,4684,12.502,4766,13.532,5670,14.299,5671,13.532,5678,15.463,5679,15.463,5680,15.463,5681,15.463,5682,18.839]],["keywords/1040",[]],["title/1041",[545,516.138]],["content/1041",[22,5.219,23,4.246,25,0.992,34,3.414,45,4.23,110,6.577,111,5.626,114,5.781,152,2.968,171,5.193,274,9.64,458,6.935,545,6.198,673,7.778,975,10.696,1300,9.148,1444,7.055,2927,12.523,3726,9.511,3865,13.048,3867,11.373,4956,14.476,5683,14.91,5684,13.787,5685,13.787,5686,13.787,5687,14.91]],["keywords/1041",[]],["title/1042",[1114,951.488]],["content/1042",[6,2.085,23,4.097,32,3.563,34,3.855,114,4.895,151,5.195,152,3.352,161,6.802,162,5.952,164,5.288,451,10.348,545,4.664,557,6.69,1268,8.72,1300,7.746,5688,16.838,5689,21.531,5690,21.531,5691,16.838,5692,21.531,5693,16.838,5694,15.57]],["keywords/1042",[]],["title/1043",[744,1386.998]],["content/1043",[6,1.805,23,3.79,34,4.269,35,5.347,152,3.712,171,4.869,272,7.95,280,14.642,468,8.531,975,10.029,2058,11.894,2303,10.029,2953,15.053,5682,21.226,5694,17.243,5695,18.646]],["keywords/1043",[]],["title/1044",[225,426.689,901,454.363,1298,715.187,2671,780.572]],["content/1044",[4,1.889,18,4.384,23,4.17,25,0.873,34,5.183,152,2.613,161,4.146,164,4.122,186,5.389,223,6.749,225,4.705,271,4.656,277,7.569,279,7.802,330,4.384,381,4.235,468,6.005,501,6.749,516,6.749,545,3.635,673,6.847,744,9.769,775,8.73,901,5.01,975,12.176,993,6.322,1114,6.702,1177,8.066,1268,6.797,1278,6.482,1300,9.638,1377,6.139,2089,8.607,2381,9.554,2671,8.607,3867,10.011,5348,11,5696,13.125,5697,13.125,5698,15.956,5699,12.137,5700,13.125]],["keywords/1044",[]],["title/1045",[5701,1863.425]],["content/1045",[18,5.861,23,4.074,32,5.12,34,5.06,124,6.571,134,9.932,161,5.543,164,5.51,975,9.438,1177,10.784,1278,8.666,1526,9.592,3876,14.187,5699,16.226,5702,17.547,5703,17.547,5704,22.102,5705,17.547,5706,17.547]],["keywords/1045",[]],["title/1046",[23,238.957,183,493.826]],["content/1046",[18,6.645,23,3.032,154,7.313,161,6.284,164,6.247,183,6.266,722,10.02,1268,10.302,1278,9.824,3876,16.083,4820,18.395,5707,19.893,5708,19.893,5709,19.893]],["keywords/1046",[]],["title/1047",[468,852.533]],["content/1047",[4,1.967,5,4.099,45,5.386,152,4.991,161,5.998,171,4.958,224,5.757,273,4.164,468,8.686,582,10.65,1134,10.746,1814,11.956,2502,9.437,3748,18.194,5710,18.986,5711,16.615]],["keywords/1047",[]],["title/1048",[468,486.049,545,294.262,736,397.855,785,323.976,2031,757.671]],["content/1048",[4,1.932,6,1.312,14,7.007,19,5.588,23,4.013,34,4.268,88,6.392,124,6.981,152,4.242,155,4.039,161,4.281,162,4.79,164,4.256,171,5.993,184,2.939,330,3.258,455,6.488,468,9.749,545,3.754,557,5.385,737,4.556,785,6.498,807,10.957,809,6.692,1086,8.762,1114,9.518,1300,6.234,1889,11.738,1993,9.163,2031,9.665,3887,12.815,4102,11.357,5459,17.238,5712,13.552,5713,13.552,5714,13.552]],["keywords/1048",[]],["title/1049",[809,920.243]],["content/1049",[18,6.119,23,3.931,34,4.194,122,8.04,124,6.86,164,5.752,557,7.279,734,9.227,809,9.047,1065,10.777,1257,8.381,1278,9.047,1345,11.393,4442,11.844,5711,16.031,5715,22.704,5716,18.319,5717,22.704]],["keywords/1049",[]],["title/1050",[809,920.243]],["content/1050",[23,3.681,34,4.643,124,7.595,557,8.058,809,10.015,1257,9.278,1268,10.503,4684,16.396,5711,17.747,5718,24.152]],["keywords/1050",[]],["title/1051",[5614,1561.679]],["content/1051",[4,1.395,6,1.304,23,4.131,32,3.927,124,5.042,161,5.863,171,3.516,217,7.586,277,7.765,381,4.345,510,6.828,515,6.649,572,6.629,737,4.527,809,6.649,975,7.242,1114,6.875,1257,6.16,1300,6.194,2378,11.783,2560,8.829,2900,8.962,2979,9.104,3367,6.485,3887,9.256,4365,11.783,4482,11.284,4515,11.542,4955,15.553,4956,13.509,5373,16.24,5719,11.783,5720,12.45,5721,13.464,5722,18.558,5723,18.558,5724,18.558,5725,13.464,5726,13.464,5727,13.464,5728,13.464]],["keywords/1051",[]],["title/1052",[5720,1723.121]],["content/1052",[4,1.626,9,7.181,23,3.498,32,3.322,63,3.442,88,5.382,152,4.096,161,6.5,217,5.607,425,5.647,427,7.563,451,12.644,482,8.58,500,10.984,572,5.607,714,10.447,880,15.693,901,8.761,1272,11.426,1278,10.16,1444,7.427,2719,17.243,2768,10.984,3058,11.973,3823,16.127,5614,13.154,5729,15.696,5730,15.696,5731,15.696,5732,15.696]],["keywords/1052",[]],["title/1053",[5733,1863.425]],["content/1053",[23,3.121,32,4.334,124,7.669,161,7.674,427,7.528,572,7.316,1257,9.37,1278,10.114,2303,11.015,5734,20.48]],["keywords/1053",[]],["title/1054",[4165,1303.973]],["content/1054",[]],["keywords/1054",[]],["title/1055",[642,834.662]],["content/1055",[23,4.105,32,3.592,152,3.38,154,6.24,164,5.331,171,4.433,198,4.535,223,8.729,224,5.147,273,4.746,481,9.358,493,10.557,543,6.286,642,10.673,787,8.227,804,10.489,975,9.13,1479,9.522,3174,11.478,4165,11.879,4652,15.145]],["keywords/1055",[]],["title/1056",[800,1303.973]],["content/1056",[23,4.228,32,4.752,35,4.306,152,2.99,171,3.921,246,6.313,273,5.25,341,8.927,543,5.561,556,5.364,642,10.059,736,5.624,800,15.715,804,9.684,818,11.178,975,8.077,1278,7.416,1417,8.209,2768,13.983,3174,13.511,4442,9.71,5735,15.017,5736,15.017]],["keywords/1056",[]],["title/1057",[805,1221.989]],["content/1057",[23,3.938,32,4.966,34,5.016,152,3.849,154,5.255,155,4.261,161,4.516,164,4.489,171,3.733,186,4.226,228,6.244,273,4.804,278,5.204,300,7.881,349,9.243,543,7.159,549,7.513,552,7.513,630,7.107,800,10.004,806,6.886,974,9.119,1116,7.106,1169,6.54,1278,9.548,1796,8.685,3357,16.919,4442,9.243,4561,13.219,4662,11.981,5737,12.51,5738,14.296,5739,19.333,5740,14.296,5741,14.296]],["keywords/1057",[]],["title/1058",[23,238.957,183,493.826]],["content/1058",[4,1.404,18,4.527,23,4.19,32,3.945,33,1.752,34,3.103,88,4.647,154,4.982,162,4.79,164,6.691,171,3.539,228,8.141,246,4.281,273,4.088,360,7.742,368,8.534,402,7.816,483,7.289,538,6.736,543,8.911,544,5.056,557,5.385,734,6.826,757,8.762,787,6.568,974,8.645,977,11.357,978,11.357,979,10.957,980,11.357,1147,7.47,1268,7.018,1320,7.289,1332,7.289,1579,10.957,1826,10.337,2783,8.233,4663,10.957,5742,13.552,5743,13.552,5744,13.552]],["keywords/1058",[]],["title/1059",[545,516.138]],["content/1059",[4,1.579,22,3.999,23,4.237,32,3.225,34,3.489,44,4.243,45,4.322,111,5.75,152,3.034,164,4.785,273,4.424,349,9.852,373,3.929,543,5.643,545,6.265,673,7.949,804,7.384,901,5.816,974,9.719,975,12.166,1278,7.525,1300,9.281,3867,11.622,4652,10.662,5684,14.09,5685,14.09,5686,14.09,5745,15.237]],["keywords/1059",[]],["title/1060",[23,206.245,744,1007.258,5746,1251.356]],["content/1060",[23,4.176,32,3.682,34,3.984,151,5.368,164,5.464,171,4.544,273,4.821,349,11.25,373,4.487,543,6.444,804,8.433,974,11.1,975,12.963,1278,8.593,4455,19.24,4652,12.176,5747,17.4,5748,17.4]],["keywords/1060",[]],["title/1061",[23,206.245,1114,690.985,5749,1251.356]],["content/1061",[23,4.23,32,3.452,34,3.734,151,5.032,152,3.247,161,5.153,164,6.624,273,4.626,349,10.546,373,4.206,543,6.04,673,8.509,804,7.905,974,10.404,975,11.346,1278,8.055,1300,9.704,2381,11.873,4652,11.414,5698,18.461,5750,16.311,5751,16.311]],["keywords/1061",[]],["title/1062",[23,206.245,468,619.122,5752,1353.247]],["content/1062",[23,4.178,32,4.51,34,3.794,152,4.951,161,5.235,224,5.024,273,3.634,349,10.714,468,7.581,549,8.708,600,8.912,804,8.03,809,10.524,955,9.556,974,10.57,975,11.462,1116,8.236,4652,14.913,5753,16.57,5754,16.57]],["keywords/1062",[]],["title/1063",[5755,1863.425]],["content/1063",[6,1.52,23,4.254,32,3.322,124,7.705,152,3.125,161,4.959,164,7.65,273,3.442,771,6.289,804,9.971,942,9.431,974,13.124,975,12.344,1257,7.181,2228,11.973,2303,8.442,2927,9.884,4652,10.984,5756,15.696,5757,15.696,5758,20.574]],["keywords/1063",[]],["title/1064",[45,383.895,273,296.762,5116,1184.242]],["content/1064",[4,2.396,22,5.453,23,4.102,25,1.06,32,4.397,34,3.649,45,5.895,111,6.013,273,5.573,407,7.771,543,5.902,901,7.932,2508,16.8,3726,10.166,4662,13.356,5116,20.234,5759,15.936,5760,15.936,5761,15.936,5762,14.736]],["keywords/1064",[]],["title/1065",[19,469.995,273,343.83]],["content/1065",[4,1.852,19,4.868,23,4.206,25,1.08,33,1.442,35,5.788,46,2.22,60,2.559,63,1.504,67,2.76,76,4.077,122,3.01,152,2.807,155,2.044,161,3.524,164,5.612,170,6.002,172,3.956,174,8.38,193,2.748,228,4.872,229,3.847,230,2.167,273,4.613,274,4.435,280,4.375,328,5.545,341,9.654,385,4.086,396,2.241,417,3.088,427,4.101,451,4.215,454,4.435,467,3.943,479,4.121,496,2.771,514,2.459,556,3.985,572,2.45,587,4.375,642,6.315,674,2.512,773,2.703,787,5.406,804,7.871,806,6.791,857,7.249,942,6.702,974,10.36,981,3.918,982,3.66,993,3.304,1030,3.366,1169,5.103,1257,3.138,1327,5.953,1351,5.105,1417,6.098,1548,4.375,1641,8.12,1646,4.565,1946,9.019,2049,4.435,2301,4.375,2321,10.227,2502,3.409,2508,9.019,2568,11.365,2677,7.806,2979,4.638,3490,5.376,3778,13.069,3920,6.342,4173,13.037,4174,6.002,4639,6.342,4807,5.376,5763,6.859,5764,17.87,5765,17.87,5766,6.859,5767,6.859,5768,6.859,5769,6.859,5770,6.342,5771,6.859]],["keywords/1065",[]],["title/1066",[60,504.882,92,576.973,171,353.369]],["content/1066",[4,2.087,23,4.124,32,2.582,54,5.303,60,8.638,63,3.799,134,6.907,152,2.429,156,6.462,164,3.832,177,8.908,186,3.607,187,7.499,196,3.798,246,3.855,273,5.425,373,3.147,381,3.938,408,4.037,512,7.091,514,4.374,539,5.676,800,8.539,804,5.914,975,12.453,1086,7.89,1540,7.589,1547,8.122,1571,8.25,1641,8.882,1667,10.226,1724,7.89,2079,6.971,2178,8.539,2228,9.308,2589,7.499,3174,8.25,4636,15.16,4651,20.273,4652,12.122,4653,11.284,4654,11.284,4655,10.678]],["keywords/1066",[]],["title/1067",[1552,1281.072]],["content/1067",[4,1.653,6,1.545,14,2.095,23,4.272,24,1.924,32,4.09,33,1.574,34,2.788,35,1.598,36,2.908,37,0.936,40,2.128,44,2.616,49,2.622,60,6.453,62,4.024,63,3.499,65,3.079,68,2.93,86,4.92,88,1.911,92,4.005,122,2.447,124,3.518,152,3.664,164,5.432,171,3.732,183,2.959,198,1.489,223,7.349,273,5.211,329,2.484,334,1.607,364,3.022,373,4.461,375,2.908,381,1.799,396,3.069,398,2.087,401,2.497,408,1.844,490,3.733,516,4.831,519,5.053,520,6.469,543,4.509,561,2.622,582,6.829,590,2.377,694,4.669,703,2.08,765,3.079,785,3.713,804,8.918,805,3.655,811,4.149,858,4.732,879,3.657,942,5.644,974,5.992,975,9.303,1219,2.685,1377,4.394,1526,3.047,1552,15.653,1796,5.707,2079,3.184,2228,4.252,2353,3.975,2389,4.672,2568,10,2927,7.667,3114,4.058,3126,5.154,3919,4.058,4170,5.154,4652,3.901,4662,4.672,5772,12.175,5773,5.574,5774,5.574,5775,9.394,5776,5.574,5777,5.574,5778,5.574,5779,5.574,5780,5.574,5781,5.574,5782,4.878,5783,5.154]],["keywords/1067",[]],["title/1068",[5782,1630.706]],["content/1068",[5,3.29,6,1.475,14,7.584,25,1.013,30,7.168,33,1.97,37,2.558,44,4.243,60,5.685,63,3.341,67,6.131,73,7.78,124,5.706,152,4.503,171,3.979,198,4.07,219,5.664,228,6.655,273,3.341,289,7.087,373,5.203,378,9.155,381,4.917,382,7.835,385,5.581,396,4.978,408,5.041,516,7.835,543,5.643,561,7.168,582,8.547,652,7.295,1028,8.787,1339,6.825,1552,15.551,1633,8.704,2079,8.704,2253,7.21,2254,8.624,5782,13.334]],["keywords/1068",[]],["title/1069",[5719,1372.068,5784,1449.827]],["content/1069",[9,5.786,19,3.791,23,3.809,25,0.841,32,4.714,33,1.635,34,4.068,35,3.627,63,2.773,151,3.902,152,3.537,161,3.995,162,6.28,198,4.746,246,3.995,272,5.392,273,2.773,284,4.486,287,6.286,301,2.882,330,5.356,341,10.561,373,3.262,381,4.081,407,6.167,543,8.69,572,7.336,737,4.252,740,5.882,1114,6.458,1272,9.206,1315,7.964,2741,9.647,2779,7.772,4165,15.588,4233,11.695,5719,11.067,5737,15.548,5762,11.695,5784,16.429,5785,12.647,5786,17.767,5787,12.647,5788,12.647,5789,12.647]],["keywords/1069",[]],["title/1070",[5790,1863.425]],["content/1070",[23,3.121,32,4.334,124,7.669,161,7.674,427,7.528,572,7.316,1257,9.37,2303,11.015,4165,14.331,5791,20.48]],["keywords/1070",[]],["title/1071",[310,709.677,2628,1195.939]],["content/1071",[4,2.022,25,0.964,33,1.874,46,4.692,60,5.408,62,6.209,63,3.179,85,6.982,86,5.857,114,4.214,125,5.735,183,4.565,189,7.401,217,5.178,260,7.507,273,5.686,274,12.617,300,7.99,373,3.738,385,5.309,414,5.666,417,8.786,421,7.507,433,10.551,484,8.13,512,5.933,514,5.196,561,6.819,921,7.507,963,5.598,981,8.28,982,7.735,1030,7.113,1081,8.908,1183,7.99,1326,8.908,2781,10.789,4655,12.685,4807,17.293,5792,14.495,5793,14.495,5794,14.495]],["keywords/1071",[]],["title/1072",[3769,1421.376]],["content/1072",[2,2.009,3,4.264,4,0.568,5,2.598,6,1.661,7,2.893,12,1.913,19,1.645,23,3.607,25,1.507,30,2.581,32,2.547,33,1.199,34,1.256,35,2.658,37,2.02,44,3.939,49,2.581,52,1.512,58,2.009,60,2.047,63,3.467,65,1.798,67,7.349,69,2.893,88,4.126,92,2.339,96,3.105,125,6.256,152,3.636,156,2.905,161,2.928,182,1.849,192,1.844,202,1.688,204,2.596,205,3.127,206,4.284,217,1.96,219,2.039,220,1.939,224,4.289,228,2.396,273,4.879,291,2.627,293,2.595,297,4.866,310,2.483,322,2.017,373,2.39,375,4.835,381,2.991,385,2.009,398,2.055,405,2.821,438,2.055,452,4.287,455,2.627,467,1.939,496,2.217,501,2.821,512,2.246,515,2.709,520,4.195,536,3.178,537,1.798,543,4.457,554,2.627,559,7.677,561,2.581,569,2.692,577,3.412,614,6.118,630,2.017,631,3.195,633,4.435,637,3.134,639,2.611,650,3.164,664,2.745,670,3.077,693,2.457,703,3.458,714,3.652,732,1.919,737,6.14,738,7.781,762,4.083,804,4.492,864,3.598,901,3.538,911,3.5,918,3.105,926,2.801,937,2.396,940,3.333,943,2.883,963,3.58,974,5.912,1000,2.951,1042,7.781,1049,3.372,1112,3.261,1113,3.994,1141,3.598,1325,3.547,1327,9.154,1329,6.103,1558,3.372,1560,8.274,1631,3.105,1632,3.839,1633,5.295,1641,3.994,1735,5.073,1931,3.455,2032,4.435,2079,3.134,2112,3.598,2239,3.994,2288,3.709,2459,4.435,2542,3.994,2568,9.899,2900,6.169,3550,5.073,3592,4.083,5770,16.889,5795,5.486,5796,5.486,5797,9.269,5798,5.486,5799,14.145,5800,14.145,5801,9.269,5802,5.486]],["keywords/1072",[]],["title/1073",[4614,1723.121]],["content/1073",[]],["keywords/1073",[]],["title/1074",[19,558.59]],["content/1074",[4,0.854,5,2.789,9,5.91,19,2.471,23,4.172,35,3.705,60,3.075,124,5.966,171,3.373,219,3.064,224,2.499,271,2.924,334,4.593,440,3.813,474,4.754,480,4.647,556,2.945,569,4.045,572,2.945,580,3.792,590,3.515,600,4.433,642,3.692,736,3.087,737,6.063,758,6.89,765,4.234,768,4.709,770,4.071,772,3.419,773,3.248,774,4.506,775,6.185,879,3.209,1219,6.223,1258,7.214,1283,15.113,1285,11.946,1320,6.948,1416,11.946,1417,4.506,1479,4.624,1518,7.622,1712,5.768,1713,4.469,1900,6.136,1991,6.461,2358,6.664,2359,6.664,2360,19.122,2361,10.827,2362,10.445,2363,15.113,2364,6.908,2366,7.622,2367,7.622,2368,14.731,2374,7.214,2953,8.472,3170,6.288,3227,6.461,3367,3.971,5803,8.243,5804,7.622,5805,8.243,5806,8.243,5807,8.243,5808,8.243,5809,8.243,5810,8.243,5811,8.243,5812,8.243,5813,8.243,5814,8.243,5815,8.243,5816,8.243,5817,8.243,5818,8.243,5819,12.919,5820,12.919,5821,12.919,5822,8.243,5823,8.243,5824,8.243,5825,8.243,5826,8.243,5827,8.243,5828,8.243,5829,12.919,5830,8.243]],["keywords/1074",[]],["title/1075",[198,361.493,224,410.309,765,443.523]],["content/1075",[23,4.083,34,4.689,765,6.712,768,13.878,2495,12.896,5831,20.48,5832,20.48]],["keywords/1075",[]],["title/1076",[271,661.001]],["content/1076",[198,5.365,224,6.09,271,8.518,293,5.622,737,6.753,758,10.386,765,6.583,886,7.174,1219,9.674,2496,14.62,2583,15.744]],["keywords/1076",[]],["title/1077",[770,920.243]],["content/1077",[4,1.985,152,3.815,224,5.81,249,10.845,334,5.525,474,11.051,556,8.337,557,7.613,580,8.814,737,6.442,770,9.463,772,7.948,773,7.551,1417,12.759,3170,14.616,4222,15.491]],["keywords/1077",[]],["title/1078",[556,483.395,1417,739.744,3490,1060.767]],["content/1078",[4,1.778,5,2.001,6,0.898,23,4.236,25,0.616,32,3.631,34,2.122,69,2.894,124,5.298,152,2.817,171,4.48,198,3.779,271,3.288,334,2.673,438,3.472,556,6.857,557,3.683,572,3.311,590,3.952,600,7.609,630,7.057,642,6.337,737,5.768,758,4.009,765,3.038,767,5.296,770,6.986,771,8.73,772,5.868,773,7.565,774,7.733,775,4.438,787,4.493,1074,5.067,1141,9.277,1160,4.701,1417,11.3,1783,6.373,1903,10.53,1931,5.837,2106,5.346,2121,5.697,2781,12.769,3490,16.204,3778,8.5,3781,9.024,3884,8.572,4515,12.857,4738,8.572,4956,15.048,5833,9.27,5834,9.27,5835,9.27]],["keywords/1078",[]],["title/1079",[60,695.225]],["content/1079",[4,1.442,25,1.437,40,5.311,44,3.874,59,12.866,60,9.352,68,7.312,111,5.25,122,6.107,155,4.147,171,3.633,177,7.155,224,4.219,228,6.077,241,5.172,273,3.051,297,3.947,334,4.012,341,8.271,396,6.201,408,6.28,479,8.36,543,5.153,590,5.932,630,6.977,659,6.4,737,7.802,765,4.56,770,9.374,773,7.48,774,7.606,1219,6.702,1345,8.654,1712,9.737,1946,11.249,2104,11.661,2321,8.762,2353,9.923,2677,9.737,2900,9.261,2953,9.124,2980,10.907,3223,10.356,3747,11.249]],["keywords/1079",[]],["title/1080",[19,469.995,60,584.959]],["content/1080",[4,2.084,14,3.28,23,4.255,25,0.58,32,1.847,60,8.275,124,3.268,171,4.314,191,2.623,198,3.608,204,4.129,206,3.106,222,2.38,240,1.949,271,3.095,273,1.914,334,3.894,440,4.036,447,11.863,556,3.117,572,4.824,600,10.818,630,8.835,674,3.196,737,6.762,758,5.841,765,2.86,767,4.985,770,4.31,771,6.619,772,5.602,773,7.926,774,10.166,775,6.466,1219,7.958,1345,8.399,1356,5.567,1417,4.77,1427,4.657,1479,4.895,1611,6.495,1712,9.45,1827,4.895,1903,6.495,2106,5.033,3747,10.919,4398,12.488,4515,5.427,4650,7.637,4956,13.537,5836,8.726,5837,8.726,5838,8.726,5839,8.726,5840,8.726,5841,8.726,5842,12.488]],["keywords/1080",[]],["title/1081",[3367,897.578]],["content/1081",[4,2.165,111,7.883,224,6.334,765,6.847,861,9.717,2953,13.699,3367,11.84,4480,15.549]],["keywords/1081",[]],["title/1082",[54,809.864]],["content/1082",[4,1.395,23,4.208,32,2.849,54,9.947,107,3.307,152,2.681,171,3.516,271,4.776,334,3.882,556,4.81,557,7.374,572,4.81,590,5.741,600,9.981,630,8.825,659,6.194,737,6.239,758,5.823,770,6.649,771,8.509,772,5.585,773,8.369,774,10.145,775,6.447,787,6.525,975,7.242,1170,6.875,1417,7.36,1783,9.256,2228,10.27,2980,10.554,4515,8.374,4956,9.801,5843,13.464,5844,13.464]],["keywords/1082",[]],["title/1083",[3170,1421.376]],["content/1083",[23,4.143,32,2.66,63,2.757,96,7.115,124,4.708,155,3.747,171,4.62,183,3.959,186,3.716,228,5.49,246,3.971,271,4.459,330,3.022,334,5.101,438,4.708,512,5.146,556,4.49,568,7.395,572,4.49,600,6.761,630,8.607,737,7.469,758,5.437,770,6.208,771,8.202,772,5.214,773,8.067,774,9.671,775,6.019,975,6.761,981,7.181,982,6.708,1089,7.25,1114,9.033,1417,6.872,1444,5.948,2980,9.854,3170,17.86,3859,9.357,4515,7.818,4956,9.15,5845,12.57,5846,12.57]],["keywords/1083",[]],["title/1084",[396,442.138,516,695.85,772,561.321]],["content/1084",[4,2.164,19,3.292,23,2.447,25,0.73,33,1.42,87,3.816,171,2.867,172,6.333,183,3.458,217,3.922,228,4.796,234,5.079,375,5.728,458,5.107,482,6.002,483,5.906,572,3.922,659,5.051,736,4.112,737,3.692,765,6.22,772,6.66,879,4.275,942,6.597,1006,6.671,1108,7.424,1257,5.024,1278,7.929,1377,5.136,1614,5.607,1796,6.671,1885,9.202,1886,10.154,1903,8.173,2023,7.829,2376,8.173,2568,7.684,3767,7.993,4185,9.202,4222,12.98,4643,8.607,4684,8.877,4901,14.05,5174,10.154,5320,14.846,5847,10.98,5848,18.979,5849,10.98,5850,10.98,5851,10.154,5852,10.98,5853,10.98,5854,10.98,5855,10.98,5856,10.98,5857,10.98,5858,10.98,5859,10.98,5860,10.98,5861,10.98,5862,10.98,5863,10.98,5864,10.98,5865,10.98,5866,10.98,5867,10.98,5868,10.98,5869,10.98,5870,10.98,5871,10.98,5872,10.98,5873,10.98,5874,10.98,5875,10.98,5876,10.98,5877,10.98,5878,10.98,5879,10.98,5880,10.98,5881,10.98,5882,10.98,5883,10.98,5884,10.98,5885,10.98,5886,10.98]],["keywords/1084",[]],["title/1085",[3769,1421.376]],["content/1085",[2,1.739,4,0.849,5,3.88,6,1.647,7,1.482,8,2.514,9,4.944,19,1.423,23,3.234,25,1.251,30,6.049,33,0.614,35,4.161,37,0.797,53,3.461,60,3.057,63,1.797,65,1.556,70,1.158,72,2.26,76,2.823,79,2.514,97,1.667,105,2.574,107,1.166,111,1.792,121,4.923,134,2.688,151,1.465,152,3.159,155,1.415,162,5.61,171,2.14,177,4.213,186,1.403,192,1.596,193,1.902,196,2.55,198,3.876,203,2.408,217,2.927,224,5.157,225,2.937,227,2.442,234,8.698,241,1.765,246,2.588,254,4.87,271,1.684,273,1.041,279,2.823,293,1.329,300,4.517,301,2.93,310,3.709,311,2.034,330,4.089,334,1.369,355,1.871,373,1.225,401,2.127,407,2.315,408,1.571,413,2.459,425,2.947,427,3.012,440,2.196,458,3.811,479,2.853,482,2.596,496,1.919,510,2.408,512,1.944,514,1.702,531,2.596,536,1.628,560,2.514,563,2.034,569,2.33,572,2.927,590,4.608,598,5.54,614,3.544,630,4.727,659,8.65,673,2.477,695,2.345,716,1.714,737,5.718,758,2.054,765,7.102,772,6.582,773,3.229,775,2.273,779,3.161,782,4.82,785,1.448,843,2.149,876,2.953,879,1.849,894,1.82,901,4.908,912,2.477,941,3.534,942,4.923,950,3.161,973,2.554,1086,3.07,1114,2.425,1148,3.323,1174,9.641,1183,2.618,1224,2.765,1257,3.749,1278,4.046,1280,8.471,1298,2.853,1377,5.055,1548,5.226,1562,3.456,1574,4.391,1593,4.155,1796,2.885,1811,3.456,1827,2.663,1872,4.407,1889,2.99,1987,3.622,2022,3.979,2023,2.315,2330,3.839,2358,3.839,2359,3.839,2360,10.395,2361,9.057,2362,3.839,2363,6.867,2364,3.979,2374,4.155,2424,8.737,2496,3.456,2626,4.155,2847,6.867,2953,3.114,3189,4.391,3460,7.17,3561,3.622,3767,5.964,3830,3.534,3859,6.099,3960,4.155,4102,3.979,4174,4.155,4620,6.25,4685,4.155,5318,3.839,5421,4.391,5422,4.391,5614,3.979,5851,7.576,5887,4.748,5888,4.748,5889,4.748,5890,4.748,5891,4.748,5892,4.748,5893,4.748,5894,4.748,5895,4.748,5896,4.748,5897,4.748,5898,4.748,5899,4.748,5900,4.748,5901,4.748,5902,4.748,5903,4.748,5904,4.748,5905,4.748]],["keywords/1085",[]],["title/1086",[1007,824,4617,1013.728]],["content/1086",[]],["keywords/1086",[]],["title/1087",[1007,824,4571,1313.99]],["content/1087",[105,10.02,107,4.539,222,6.225,240,5.097,290,14.097,301,4.212,398,6.921,424,11.949,462,7.343,736,6.921,936,9.186,1007,13.019,1625,14.942,1966,12.933,4571,19.132,5906,18.481,5907,18.481]],["keywords/1087",[]],["title/1088",[7,371.572,12,415.037,69,371.572,373,306.972]],["content/1088",[4,1.343,6,1.255,7,4.046,12,7.257,24,4.474,25,1.202,46,4.196,51,3.102,54,5.633,69,6.497,70,3.161,87,4.504,88,7.136,97,4.55,105,7.027,107,3.184,116,5.353,124,4.854,149,5.376,154,4.765,171,3.385,186,3.831,205,3.368,206,4.614,222,3.534,240,4.647,243,5.962,281,5.026,297,3.677,311,5.552,330,3.116,364,7.027,373,3.343,424,8.38,425,4.663,426,8.061,427,4.765,462,5.15,490,5.15,504,5.746,581,5.501,660,7.27,662,9.244,716,4.679,843,5.867,901,4.948,936,6.443,996,5.867,1007,6.812,1204,6.665,1242,10.16,1256,10.23,1611,9.648,2098,8.162,2252,7.875,2733,9.244,2988,10.479,3681,11.343,4166,11.986,4571,10.863]],["keywords/1088",[]],["title/1089",[4,110.083,149,440.672,191,319.37,2043,773.343,2253,502.693]],["content/1089",[4,1.865,7,5.62,12,6.277,37,3.022,69,5.62,86,7.274,149,7.467,171,4.701,191,5.412,222,4.909,240,4.02,278,4.846,413,9.323,552,9.461,673,9.391,711,7.639,894,6.899,1193,13.731,1611,13.399,2253,8.518,2254,12.712,2733,12.839,3680,13.731,3979,15.087]],["keywords/1089",[]],["title/1090",[2,351.353,4,99.401,37,161.05,70,233.946,659,441.279,2102,775.576]],["content/1090",[2,8.692,4,1.523,10,8.362,11,6.392,22,5.169,23,4.03,24,3.364,25,0.977,32,3.11,33,2.287,34,4.05,35,2.795,37,3.73,63,2.138,67,3.922,70,2.377,84,5.201,85,4.695,89,6.138,94,6.062,97,3.422,111,3.678,124,3.65,171,3.837,184,2.114,222,2.658,230,5.588,234,4.509,240,2.176,246,3.079,296,7.255,334,2.81,381,3.145,400,7.965,413,5.048,455,4.667,463,6.952,468,4.459,496,3.939,663,5.373,674,3.57,711,6.237,777,4.344,785,2.972,845,6.392,894,3.735,993,4.695,1180,8.83,1342,6.59,1343,5.794,1612,7.255,1614,9.033,2057,6.701,2431,7.435,2495,6.138,2502,4.845,2574,8.53,3593,6.488,3813,8.928,4023,9.013,4029,7.666,4583,11.21,5908,12.861,5909,9.013,5910,9.013,5911,7.881,5912,9.013,5913,7.881,5914,7.881]],["keywords/1090",[]],["title/1091",[1007,824,2010,1267.615]],["content/1091",[4,2.042,25,1.31,65,6.458,67,7.928,122,8.649,240,4.4,437,7.734,736,7.379,1007,10.356,1648,13.789,2146,14.344,2165,13.323,2284,16.514,2628,15.03,3564,14.053]],["keywords/1091",[]],["title/1092",[69,371.572,316,866.461,649,962.349,736,445.761]],["content/1092",[4,1.958,6,1.829,10,5.469,25,0.919,69,5.898,70,3.371,111,5.215,182,2.758,184,4.097,191,5.68,192,4.647,218,14.412,222,3.769,228,6.037,240,5.167,243,6.358,289,6.429,316,15.671,329,6.159,373,3.564,378,8.305,385,5.062,400,6.223,457,9.345,496,5.585,515,6.826,569,6.782,580,6.358,649,18.71,663,7.619,674,6.92,711,5.865,894,5.297,1007,7.264,1112,8.216,1315,8.703,1606,9.502,1623,9.345,2043,10.061,2115,11.583,3236,10.834,5915,12.781,5916,12.781,5917,13.822,5918,13.822]],["keywords/1092",[]],["title/1093",[66,985.073,649,1094.088,1388,863.219]],["content/1093",[4,1.545,22,3.913,25,0.992,46,6.437,63,3.27,70,4.85,88,6.819,181,3.973,184,4.313,186,4.407,187,9.163,192,5.013,218,11.373,230,4.71,240,4.44,288,7.363,316,10.853,321,9.163,373,5.129,381,4.811,385,5.461,391,7.51,499,10.452,501,7.667,649,12.054,650,8.599,663,8.219,674,5.461,675,6.935,708,9.389,716,5.383,894,5.714,982,7.956,1141,9.777,1220,8.517,1388,9.511,1398,9.389,2146,14.476,3790,10.433,5916,13.787,5919,14.91]],["keywords/1093",[]],["title/1094",[33,174.985,184,293.46,4585,1094.088]],["content/1094",[4,1.534,25,0.984,33,2.559,63,3.246,97,6.948,171,3.866,180,6.81,182,2.954,184,4.292,191,4.45,219,5.503,222,5.397,230,4.677,240,4.419,249,8.379,278,3.985,289,6.886,315,4.822,385,5.422,395,6.224,424,9.572,482,8.092,504,6.563,515,7.311,638,8.538,674,5.422,711,6.282,973,7.962,1007,7.78,1388,9.443,1398,9.322,1444,7.005,1902,9.098,2010,11.969,2111,9.853,2115,12.407,2838,12.407,4585,20.638,5915,18.302]],["keywords/1094",[]],["title/1095",[4,123.338,238,804.809,408,393.825,1007,625.565]],["content/1095",[12,5.778,19,4.967,25,1.417,37,2.782,46,5.364,88,5.681,111,6.253,149,6.873,179,8.236,191,6.406,222,5.811,228,7.237,234,7.664,240,5.26,260,8.581,314,5.878,364,8.984,397,10.57,408,5.482,504,7.346,569,8.131,673,8.644,711,7.032,1007,11.2,1827,9.294,2112,10.866,2115,13.887,4563,16.255]],["keywords/1095",[]],["title/1096",[25,104.266,240,350.087]],["content/1096",[]],["keywords/1096",[]],["title/1097",[886,560.063,4617,1013.728]],["content/1097",[1,8.75,4,1.208,22,5.153,23,4.062,25,1.513,28,5.041,29,8.144,30,5.484,32,2.467,33,1.507,34,3.839,111,4.398,131,5.911,151,3.596,154,4.285,186,3.445,193,4.67,198,4.479,240,5.289,243,9.032,246,3.682,251,6.481,271,4.135,389,5.994,569,8.227,661,7.435,843,5.276,861,7.798,886,5.989,1077,6.597,1089,6.722,1540,7.249,2303,6.269,3592,14.615,3593,7.758,3715,7.536,3813,7.082,4432,9.769,4617,7.536,4959,16.455,4960,9.769,4961,15.503,4962,10.778,5911,9.424,5913,9.424,5920,14.672,5921,11.656,5922,11.656]],["keywords/1097",[]],["title/1098",[4,140.222,4617,874.956,5923,1251.356]],["content/1098",[1,10.153,4,1.602,22,5.347,23,4.016,25,1.515,32,3.272,33,1.999,34,4.665,62,6.624,63,3.391,222,4.216,256,7.275,381,4.99,420,9.395,763,7.896,1631,8.752,3592,11.51,3593,10.292,3813,9.395,4617,9.998,4959,17.074,4960,12.959,5911,12.502,5913,12.502,5920,13.532,5923,21.069,5924,20.373,5925,14.299]],["keywords/1098",[]],["title/1099",[4,140.222,4617,874.956,5926,1251.356]],["content/1099",[1,10.19,4,1.614,22,5.373,23,4.023,25,1.521,32,3.297,33,2.014,34,4.687,62,6.674,63,3.416,86,6.295,381,5.027,420,9.465,763,7.955,3592,15.239,3593,10.369,3813,9.465,4617,10.073,4959,17.158,4960,13.056,5911,12.595,5913,12.595,5920,13.633,5925,14.406,5926,21.146,5927,20.473]],["keywords/1099",[]],["title/1100",[243,721.234,4617,1013.728]],["content/1100",[6,1.141,14,4.431,23,3.011,32,2.495,35,5.666,40,4.5,44,3.282,65,5.54,111,6.378,154,4.333,164,3.702,184,2.556,204,5.578,205,4.392,206,6.016,222,3.214,224,5.991,228,5.148,234,5.453,240,4.819,243,11.907,246,3.724,271,7.009,307,6.798,314,4.181,330,2.834,331,7.622,334,3.399,407,5.748,435,5.393,543,4.365,569,8.294,590,5.026,592,7.162,630,4.333,637,6.734,716,4.256,736,4.415,765,7.074,773,4.645,901,4.5,1081,7.245,1180,7.083,1276,6.242,2130,7.73,2131,7.083,2303,6.34,2502,5.859,3586,9.748,4617,7.622,4965,8.992,5928,11.788,5929,15.629,5930,11.788,5931,9.24,5932,11.788]],["keywords/1100",[]],["title/1101",[184,340.004,243,721.234]],["content/1101",[4,1.335,6,1.247,23,3.906,25,0.857,32,3.809,34,2.949,35,3.694,45,3.654,53,5.441,92,5.492,152,2.565,164,5.651,184,5.308,205,5.389,206,4.585,224,6.809,240,5.275,243,11.26,293,3.606,314,6.384,315,4.196,319,5.74,334,3.714,347,5.926,396,4.209,569,6.321,886,4.601,901,4.917,1024,6.06,1329,6.532,1347,8.011,3586,7.429,4822,7.657,4946,11.273,4965,9.826,4969,11.273,4971,10.796,5065,11.912,5929,11.912,5931,10.097,5933,12.881,5934,12.881]],["keywords/1101",[]],["title/1102",[243,721.234,307,904.237]],["content/1102",[4,1.39,6,1.299,7,2.701,22,2.271,23,4.112,25,0.892,30,4.071,32,4.24,34,4.239,35,2.482,45,2.455,65,2.836,69,5.13,87,4.663,131,6.804,152,3.272,183,2.726,198,2.312,205,4.27,224,2.624,230,2.734,240,1.932,243,9.751,264,2.509,273,2.943,293,2.422,304,6.758,307,12.225,314,3.07,319,5.979,335,14.289,414,3.383,416,5.76,467,3.059,510,6.804,516,4.45,520,7.438,543,4.969,554,4.143,556,3.091,630,4.933,656,5.144,711,5.694,717,4.143,785,2.639,804,6.503,809,4.274,879,3.369,901,5.122,910,5.399,1068,7.976,1102,6.441,1103,6.056,1124,8.676,1191,5.52,1339,3.876,1350,6.601,1351,6.441,1417,7.335,1993,5.851,2912,8.345,3465,7.573,4617,8.676,4667,11.245,5931,6.784,5935,8.654,5936,8.654,5937,13.418,5938,8.654,5939,8.654,5940,8.654,5941,8.654,5942,8.654,5943,8.654,5944,8.654,5945,8.654,5946,8.654]],["keywords/1102",[]],["title/1103",[4964,1630.706]],["content/1103",[23,3.854,32,4.354,33,2.03,34,4.711,35,4.501,54,6.822,198,4.193,224,4.759,228,6.855,240,4.594,243,11.206,396,5.128,569,7.702,711,6.661,773,6.185,2058,10.012,2079,8.967,3593,10.447,3813,9.536,4964,22.132,4965,11.973,5911,12.69,5912,14.514,5913,12.69,5931,12.304,5947,15.696,5948,20.574]],["keywords/1103",[]],["title/1104",[1309,737.602,1536,1097.157]],["content/1104",[4,2.128,5,2.73,6,2.42,19,3.791,23,2.708,70,5.432,92,5.392,161,5.613,186,3.738,200,4.718,205,4.616,217,4.518,240,2.824,293,3.54,305,12.773,539,5.882,568,7.44,572,4.518,580,8.173,592,7.684,661,8.067,711,5.367,726,9.206,737,6.905,771,5.067,1074,6.913,1134,7.158,1188,10.225,1224,7.365,1272,9.206,1309,5.95,1536,14.372,1602,7.684,1889,7.964,2023,6.167,2049,11.487,2203,8.293,2303,6.802,2912,12.773,3339,10.225,4447,11.067,5949,17.767,5950,15.548,5951,15.548,5952,17.767,5953,12.647]],["keywords/1104",[]],["title/1105",[273,343.83,1114,800.578]],["content/1105",[4,2.245,5,2.23,6,2.097,7,3.224,19,3.096,23,3.582,32,2.185,34,2.364,35,2.961,44,2.876,63,2.265,65,6.002,67,4.155,68,5.427,79,5.469,87,3.589,88,5.262,151,4.734,152,3.646,161,6.404,167,6.669,171,2.697,172,5.956,174,6.139,184,2.239,201,3.989,205,3.987,224,3.131,240,4.089,243,9.325,273,5.41,373,3.958,396,3.374,414,5.998,520,4.674,549,5.427,568,6.075,592,6.274,661,6.588,685,11.17,716,3.728,1074,5.645,1114,10.35,1536,12.814,1641,7.517,1827,8.608,1970,7.365,2178,7.227,4617,6.677,4888,14.19,4965,7.877,5931,8.095,5950,16.025,5954,10.327,5955,10.327,5956,10.327,5957,10.327,5958,10.327,5959,10.327,5960,10.327,5961,10.327]],["keywords/1105",[]],["title/1106",[330,376.96,2023,764.557]],["content/1106",[4,1.873,5,2.798,6,1.255,7,4.046,19,5.418,23,3.912,32,2.743,34,2.968,35,3.717,92,5.526,124,4.854,151,5.576,152,4.483,161,6.575,205,5.407,224,3.93,230,6.575,240,2.894,243,8.315,330,5.693,396,5.906,458,6.029,499,6.812,545,3.59,580,5.962,685,15.15,737,4.358,772,5.376,787,6.282,993,6.243,1257,8.269,1444,6.133,1633,7.405,2023,8.814,4485,10.479,4965,9.887,5931,10.16,5951,11.343,5962,12.962,5963,12.962,5964,11.986]],["keywords/1106",[]],["title/1107",[60,584.959,240,350.087]],["content/1107",[4,2.231,23,3.94,25,1.119,44,4.687,60,8.032,63,2.571,68,6.16,111,4.423,152,3.351,171,4.396,184,2.542,186,3.465,205,3.046,206,4.172,223,6.027,240,2.617,273,3.692,334,3.38,378,7.043,385,4.293,389,6.027,425,4.217,514,4.202,515,5.789,557,4.657,737,6.622,758,5.07,765,5.517,775,8.06,879,4.563,1010,9.477,1089,6.76,1276,6.207,1280,15.44,1283,14.108,1327,6.255,2089,7.687,2358,9.477,2359,9.477,2360,15.925,2361,9.824,2362,9.477,2363,14.108,2364,14.108,3859,8.725,3887,13.541,4165,8.203,5016,9.477,5842,15.566,5950,10.258,5965,11.722,5966,11.722,5967,11.722]],["keywords/1107",[]],["title/1108",[240,350.087,737,527.124]],["content/1108",[4,2.238,6,1.347,23,3.292,32,2.945,34,3.186,35,3.99,44,3.874,63,3.051,65,4.56,68,7.312,79,7.368,152,2.77,171,4.956,193,5.575,198,3.717,205,5.613,224,4.219,230,4.396,234,6.436,240,5.182,243,9.938,246,4.396,500,9.737,590,8.093,659,6.4,737,7.802,765,6.221,861,6.472,880,10.613,1169,6.366,1900,10.356,2000,10.356,2502,6.916,3823,10.907,4965,10.613,5968,24.288,5969,13.914,5970,13.914]],["keywords/1108",[]],["title/1109",[737,527.124,2995,1229.009]],["content/1109",[23,3.931,32,3.877,86,7.402,155,5.46,162,6.476,205,4.76,240,4.09,330,4.404,557,7.279,737,7.633,1114,9.354,1796,11.129,2995,14.359,5951,16.031,5964,16.939,5971,18.319,5972,18.319,5973,18.319,5974,18.319]],["keywords/1109",[]],["title/1110",[273,296.762,396,442.138,2568,946.964]],["content/1110",[240,4.712,273,4.628,373,5.442,396,6.895,1298,12.679,2568,14.767,3380,18.467,5975,21.102]],["keywords/1110",[]],["title/1111",[225,562.039,278,422.052]],["content/1111",[4,2.187,225,8.863,243,9.707,278,5.68,745,11.535,1276,11.174,1309,9.927]],["keywords/1111",[]],["title/1112",[3769,1421.376]],["content/1112",[4,1.523,14,5.526,25,0.978,28,6.358,29,6.097,45,5.588,63,3.224,65,7.282,79,7.784,110,6.484,111,5.547,122,6.452,154,5.404,189,7.506,201,7.608,205,3.819,206,5.232,207,8.103,236,10.105,240,4.398,243,9.062,251,8.173,297,4.17,348,11.15,396,4.803,523,10.595,569,7.213,589,10.286,596,10.286,602,13.593,684,18.216,693,6.584,853,8.397,932,6.689,941,10.941,1134,8.32,1298,8.832,4617,9.504,4797,13.593,5976,14.699,5977,14.699,5978,14.699]],["keywords/1112",[]],["title/1113",[10,420.379,18,354.881,25,70.65,284,376.852,4619,743.425]],["content/1113",[]],["keywords/1113",[]],["title/1114",[198,418.827,4619,1097.157]],["content/1114",[4,1.717,10,4.536,18,7.118,22,5.592,23,4.05,24,5.718,25,1.294,32,4.116,33,2.142,34,4.454,35,3.287,37,2.781,45,3.252,69,3.579,107,4.069,111,6.251,154,6.09,171,2.993,191,3.446,198,6.037,234,5.303,275,3.817,301,2.613,425,5.959,427,7.15,572,4.095,736,4.293,776,7.885,777,5.108,779,7.63,843,7.498,901,4.376,2239,8.345,2303,6.166,2459,9.268,3726,10.567,4619,13.612,5979,16.566,5980,16.566,5981,11.464,5982,11.464,5983,10.032,5984,10.032,5985,10.601,5986,11.464,5987,11.464]],["keywords/1114",[]],["title/1115",[6,131.019,10,535.472,230,427.504]],["content/1115",[4,1.696,6,1.092,7,5.11,18,5.468,19,3.381,23,3.223,34,4.841,51,2.699,76,9.731,88,3.867,151,5.051,154,6.018,155,4.88,161,3.563,162,3.987,164,6.052,167,4.901,171,4.275,225,4.043,230,5.172,246,5.172,281,4.373,301,2.57,330,2.711,373,2.908,375,5.883,381,3.639,440,5.216,451,6.931,455,7.838,545,3.124,557,9.602,566,7.753,592,6.852,661,7.194,673,10.053,709,6.931,758,4.878,786,4.831,889,7.625,1028,6.504,1074,6.165,1114,11.466,1155,7.625,1268,8.478,1300,5.188,1332,6.066,1961,6.704,2206,8.394,2677,7.892,3503,15.739,3715,10.585,4560,10.428,5988,19.272,5989,16.37]],["keywords/1115",[]],["title/1116",[6,151.799,18,523.738]],["content/1116",[5,2.798,6,2.015,18,6.038,23,4.068,32,5.326,53,5.475,87,4.504,215,6.812,217,4.63,246,4.095,249,7.336,427,4.765,455,6.206,496,5.237,520,8.181,572,6.457,580,5.962,650,7.475,736,7.794,737,4.358,772,9.34,901,4.948,1479,7.27,1863,10.16,1986,13.456,3236,10.16,4619,9.07,5990,12.962,5991,25.167,5992,12.962,5993,12.962,5994,11.343,5995,12.962,5996,12.962,5997,12.962,5998,12.962]],["keywords/1116",[]],["title/1117",[183,586.914]],["content/1117",[4,1.512,7,4.556,18,6.549,23,3.875,32,4.149,46,4.725,51,3.493,69,4.556,87,5.072,164,4.584,183,8.007,198,3.899,234,6.751,241,5.425,281,5.66,284,5.178,360,8.338,381,4.71,490,5.8,517,7.914,520,6.607,538,7.255,544,5.446,545,4.043,566,10.035,659,6.714,722,9.875,772,6.054,826,8.046,848,11.442,849,11.442,901,5.572,1028,8.418,1309,6.867,4685,12.773,5994,17.157,5999,14.596,6000,14.596]],["keywords/1117",[]],["title/1118",[517,733.699,826,745.978,4619,946.964]],["content/1118",[4,2.08,7,3.787,19,3.637,22,4.528,23,4.169,24,5.955,32,4.889,33,2.231,34,3.95,35,3.479,37,2.037,86,4.902,87,5.995,107,2.98,111,4.578,122,5.325,161,3.832,241,4.509,250,6.474,257,5.434,284,7.122,427,4.46,517,6.577,552,6.376,722,6.11,764,6.631,776,5.774,826,11.067,828,9.253,830,11.218,831,11.218,835,11.218,836,11.218,840,15.953,845,7.955,847,9.808,848,9.509,849,9.509,4619,8.489,5983,10.616,5984,10.616,5994,10.616,6001,17.252,6002,12.131,6003,12.131,6004,12.131,6005,17.252,6006,12.131]],["keywords/1118",[]],["title/1119",[785,412.676,1814,852.135,4619,946.964]],["content/1119",[18,7.667,22,5.399,23,3.713,25,1.044,45,4.453,103,6.994,111,5.923,188,8.804,198,4.193,201,6.062,230,4.959,301,3.577,330,3.774,425,5.647,458,7.301,483,11.066,507,9.762,736,5.878,782,9.234,785,7.712,786,6.724,843,7.105,1310,9.141,1656,10.447,1765,10.012,1814,9.884,2126,10.447,3726,10.012,3743,14.514,3744,14.514,3745,14.514]],["keywords/1119",[]],["title/1120",[63,296.762,272,576.973,3715,874.956]],["content/1120",[2,6.507,4,1.841,6,1.224,10,7.03,18,6.861,25,0.841,37,3.448,51,3.026,63,4.885,65,4.145,69,5.546,72,6.019,86,7.179,110,9.06,155,3.77,186,3.738,222,4.845,225,6.369,230,7.037,254,7.518,278,4.783,281,4.904,385,4.632,427,6.531,452,5.85,455,6.055,496,7.179,507,7.866,512,5.177,514,4.534,519,6.802,555,7.866,674,6.507,688,7.684,889,8.551,1427,6.749,1548,8.067,2043,9.206,2838,10.599,2892,10.599,3715,8.177,3830,9.413,4619,16.421,4917,10.225,5985,11.695,6007,12.647,6008,11.695]],["keywords/1120",[]],["title/1121",[184,340.004,4619,1097.157]],["content/1121",[4,1.318,5,2.747,6,1.728,18,5.96,19,3.814,22,3.339,23,4.054,24,4.392,25,0.846,32,4.361,33,1.645,34,4.718,35,3.649,37,2.136,53,5.375,70,5.025,88,4.363,176,4.643,184,4.844,219,6.632,224,5.41,315,5.812,347,5.853,425,4.577,496,5.141,776,6.056,779,8.469,785,3.88,862,8.012,886,4.545,1024,5.986,1276,6.738,1343,7.564,1360,7.914,1361,9.597,1362,13.986,1363,13.986,1365,9.262,1367,10.287,1584,10.287,1746,9.974,1827,7.137,4619,8.904,5983,11.135,5984,11.135,6009,12.724]],["keywords/1121",[]],["title/1122",[5,188.782,25,58.151,33,113.071,234,404.467,556,312.357,557,347.44,2931,650.864]],["content/1122",[]],["keywords/1122",[]],["title/1123",[4616,1356.449]],["content/1123",[4,1.25,18,4.029,25,0.802,37,3.36,60,4.5,66,8.78,70,2.941,97,4.234,107,2.963,144,7.412,176,4.402,180,5.548,181,3.214,182,3.428,184,3.726,186,3.565,202,3.71,205,3.134,220,4.264,234,7.947,240,2.693,273,2.645,297,3.422,319,5.375,322,4.434,371,6.292,405,6.202,421,6.246,427,6.316,432,9.029,480,4.339,481,6.649,556,6.137,557,6.826,663,6.649,674,4.418,675,7.991,692,6.159,711,5.118,716,4.354,741,7.328,742,5.459,784,8.78,785,3.678,886,4.308,921,6.246,985,5.61,1133,10.108,1180,7.247,1610,7.501,1629,15.687,1783,8.292,1935,9.454,2011,11.153,2117,7.909,2931,16.233,3086,15.887,4616,15.876,6010,17.181,6011,17.181,6012,12.061]],["keywords/1123",[]],["title/1124",[4,162.462,67,630.847]],["content/1124",[2,2.471,4,1.969,5,3.472,6,1.35,18,2.254,19,3.3,25,1.479,33,1.423,37,2.7,40,2.576,45,3.955,63,2.414,67,2.715,97,3.864,111,2.546,116,4.546,122,2.962,125,4.356,144,4.147,152,1.343,179,3.354,180,6.413,182,2.196,183,4.391,184,4.122,185,3.368,186,1.994,189,3.446,191,2.029,192,2.269,196,2.1,201,4.251,205,2.86,206,3.918,207,3.72,208,3.689,219,5.182,220,3.891,228,2.947,234,5.091,235,4.197,236,4.639,237,4.425,238,4.562,239,3.446,240,3.113,242,3.72,246,2.132,249,3.819,254,4.011,263,5.456,273,2.414,284,2.394,297,3.123,298,3.311,301,1.538,308,2.184,315,2.198,316,4.912,330,2.646,373,3.595,381,5.19,396,4.555,398,2.527,399,3.689,400,3.038,401,3.022,405,3.47,408,2.233,427,5.913,432,5.785,435,3.087,439,4.722,440,3.121,504,2.992,510,5.582,512,2.762,519,8.651,556,2.41,557,2.681,638,3.892,711,2.864,718,4.467,736,2.527,743,7.703,771,2.704,785,3.357,843,4.982,862,4.249,894,2.586,910,2.715,918,3.819,955,3.892,1038,6.846,1054,4.722,1055,3.354,1089,3.892,1160,3.422,1174,4.1,1176,3.855,1204,3.47,1314,4.812,1329,3.422,1335,5.289,1361,3.629,1388,4.304,1398,4.249,1554,7.703,1579,5.456,1580,8.193,1629,5.289,1650,6.543,1827,3.785,1966,9.755,2033,5.456,2089,4.425,2095,4.722,2112,7.218,2702,6.24,2931,10.377,2988,5.456,3563,4.639,4616,16.188,6013,10.179,6014,6.748,6015,6.748]],["keywords/1124",[]],["title/1125",[4,140.222,408,447.737,4616,985.073]],["content/1125",[4,2.028,20,5.192,22,5.137,23,4.217,24,6.756,25,1.302,32,2.453,34,2.654,35,3.324,37,2.803,45,3.288,54,5.038,63,2.542,65,3.799,107,2.847,151,3.576,154,4.261,171,3.027,198,3.096,222,3.161,224,3.515,234,5.362,373,4.306,408,3.835,467,6.919,512,4.745,513,9.926,546,13.501,656,6.89,659,5.332,777,5.165,785,5.092,843,5.247,857,5.96,879,4.513,883,6.285,958,5.362,985,5.391,1219,5.583,1354,7.042,1613,6.445,1860,8.842,2927,7.299,3813,7.042,3977,10.144,4616,12.155,5125,10.719,6016,18.1,6017,11.591,6018,11.591,6019,11.591,6020,11.591]],["keywords/1125",[]],["title/1126",[4,110.083,37,178.358,516,546.285,2931,790.76,4616,773.343]],["content/1126",[4,1.973,5,2.383,6,1.069,12,3.849,23,4.112,24,5.563,32,3.411,33,2.462,34,3.69,35,4.622,37,3.514,53,4.663,54,4.797,76,6.562,114,4.685,116,7.861,124,7.129,155,3.29,171,4.209,186,3.263,191,3.318,198,2.949,219,4.103,246,3.487,264,3.2,279,6.562,345,8.42,355,6.351,373,2.847,427,7.695,432,8.47,487,6.951,516,5.676,734,5.56,1089,6.366,1256,12.601,1257,8.709,1629,8.653,1713,5.985,2638,8.42,2823,8.925,2931,14.17,2988,8.925,3114,8.035,3169,8.653,4616,13.857,5908,9.66,6013,10.207,6016,10.207,6021,16.117]],["keywords/1126",[]],["title/1127",[84,722.133,94,841.635,408,447.737]],["content/1127",[]],["keywords/1127",[]],["title/1128",[2778,1328.96]],["content/1128",[86,8.887,552,11.558,1663,12.228,6022,21.993]],["keywords/1128",[]],["title/1129",[2651,1356.449]],["content/1129",[23,3.283,25,1.432,45,6.11,763,10.998,1160,10.922,1891,15.072]],["keywords/1129",[]],["title/1130",[581,790.783]],["content/1130",[4,1.602,22,5.347,23,4.266,24,7.032,25,1.355,32,3.272,33,1.999,34,3.54,35,4.434,37,2.596,45,4.387,84,8.252,89,9.737,94,9.617,171,4.038,368,9.737,408,5.116,1028,8.918,1257,7.074,1613,8.598,3813,9.395,4029,8.067,5908,17.829,5909,14.299,5910,14.299,6023,15.463,6024,15.463]],["keywords/1130",[]],["title/1131",[25,79.157,33,153.915,234,550.572,2112,780.572]],["content/1131",[]],["keywords/1131",[]],["title/1132",[202,482.305,6025,1567.878]],["content/1132",[4,1.712,6,2.405,19,2.616,25,1.338,33,1.746,37,2.774,44,2.43,60,6.164,63,1.914,86,3.526,87,3.032,92,3.721,103,3.889,114,3.926,152,3.702,155,4.026,183,2.749,186,2.579,192,2.934,201,3.37,202,2.684,222,2.38,234,4.036,252,3.384,273,4.664,285,5.999,291,4.178,293,2.443,297,3.831,301,1.989,308,2.825,322,3.208,329,3.889,334,2.516,348,4.939,395,5.678,396,5.398,400,3.929,401,3.909,405,4.487,414,5.279,510,6.848,514,3.128,525,4.586,536,2.992,537,2.86,545,2.417,556,3.117,557,3.467,563,3.738,590,3.721,613,3.074,617,4.621,622,3.541,693,6.049,695,6.669,717,4.178,718,3.541,732,3.053,736,3.268,742,6.113,910,3.511,926,6.896,936,4.337,943,4.586,950,5.808,954,7.098,962,6.495,963,5.216,985,4.059,1030,4.282,1045,6.656,1048,7.055,1050,6.224,1119,5.033,1150,6.84,1171,5.999,1235,7.055,1314,6.224,1595,5.427,1604,5.642,1821,8.989,1822,6.495,2004,6.656,2017,7.637,2023,4.255,2078,7.637,2112,10.834,2116,7.313,2236,7.313,2568,6.107,3367,6.505,4650,7.637,6026,8.726,6027,8.726,6028,8.726,6029,8.726,6030,8.726,6031,8.726,6032,8.726]],["keywords/1132",[]],["title/1133",[29,772.941]],["content/1133",[4,2.405,28,9.343,29,9.626,44,5.285,46,4.504,50,7.67,83,10.128,94,11.805,192,4.678,205,4.932,240,3.107,271,6.733,319,6.2,324,12.176,373,3.588,394,7.056,466,7.258,493,8.654,876,8.654,996,6.298,1268,7.206,1310,8.103,1517,12.176,1846,13.817,2079,7.949,2094,10.356,2112,16.823,3830,10.356,3831,11.661,4565,11.661,6033,13.914,6034,13.914,6035,13.914,6036,13.914,6037,13.914,6038,13.914,6039,13.914,6040,12.866,6041,18.981]],["keywords/1133",[]],["title/1134",[581,790.783]],["content/1134",[4,1.215,22,4.418,23,4.285,24,5.81,25,0.78,32,2.481,33,1.516,34,2.684,35,3.361,37,1.968,54,5.094,63,2.571,87,4.073,98,5.021,122,5.145,152,2.334,171,3.061,271,6.987,308,5.449,330,2.818,355,4.619,394,5.944,467,5.951,512,4.798,513,6.968,519,6.304,520,5.306,656,6.968,694,5.826,711,4.974,777,5.223,859,8.941,1038,7.29,1354,7.121,1517,14.731,1613,6.517,1724,7.579,1984,7.477,2079,6.696,2112,14.117,2515,8.725,3764,8.533,3790,8.203,4563,12.84,4564,14.731,4565,9.824,4567,10.258,4568,10.258,6042,16.833,6043,10.839]],["keywords/1134",[]],["title/1135",[379,717.317,427,576.359]],["content/1135",[4,2.231,12,5.871,19,5.047,25,1.12,33,2.177,44,4.688,69,5.256,88,8.139,186,4.977,191,5.062,198,4.498,202,5.18,222,4.591,240,3.76,246,5.319,282,16.423,301,3.838,329,7.503,504,7.465,536,5.773,711,7.145,1024,7.921,2112,14.12,2542,12.257,2560,11.042,4563,16.423,5585,15.57]],["keywords/1135",[]],["title/1136",[52,432.005,408,518.75]],["content/1136",[]],["keywords/1136",[]],["title/1137",[52,372.867,63,296.762,689,739.744]],["content/1137",[2,6.32,37,4.031,52,4.755,63,4.796,86,6.973,97,6.058,100,6.39,103,7.69,193,6.914,215,9.069,230,5.451,272,7.357,273,3.784,405,8.873,516,8.873,672,10.732,689,13.125,861,8.026,874,9.696,958,7.982,1058,8.937,1427,9.208,2322,15.101,6044,17.256]],["keywords/1137",[]],["title/1138",[4,140.222,52,372.867,408,447.737]],["content/1138",[4,1.923,22,5.573,23,4.208,24,6.406,25,1.412,28,5.823,32,2.849,34,3.083,35,3.861,37,3.116,50,7.422,52,5.113,62,5.768,63,4.07,92,5.741,198,3.597,273,4.657,301,3.069,330,4.462,355,5.306,373,3.472,513,8.004,514,4.827,557,5.35,763,6.875,843,6.094,1354,11.275,1613,7.486,1633,7.692,1981,8.962,4028,12.493,4029,7.024,4428,11.783,6045,10.554,6046,13.464]],["keywords/1138",[]],["title/1139",[52,372.867,58,495.646,6047,1251.356]],["content/1139",[4,1.404,19,4.062,20,6.07,22,4.892,23,4.013,24,6.434,25,1.24,28,5.861,29,5.621,30,6.375,32,4.509,34,3.103,35,3.886,37,2.275,50,7.47,52,7.019,112,8.887,151,4.181,164,4.256,172,7.816,308,4.387,355,5.34,373,4.807,408,4.484,452,6.268,504,8.264,1613,7.535,1648,9.483,4028,12.536,4029,7.07,6048,17.238,6049,17.238,6050,17.238,6051,17.238,6052,12.531,6053,11.357]],["keywords/1139",[]],["title/1140",[37,263.223,2336,1267.615]],["content/1140",[4,1.766,5,2.574,6,1.65,22,4.472,23,4.043,24,5.882,25,1.322,32,3.606,34,3.901,35,3.419,37,3.642,52,5.978,65,3.908,70,2.908,88,4.088,151,3.678,154,4.383,161,3.767,164,3.744,185,2.88,222,3.251,252,4.623,287,5.926,293,4.77,308,3.859,355,4.699,381,3.848,396,3.896,510,6.046,572,4.259,674,4.367,736,4.465,809,5.888,894,4.569,1192,7.415,1235,9.64,1613,6.629,1869,12.683,2025,9.64,2336,16.077,2953,7.819,3041,9.64,4028,10.025,4029,6.22,6053,9.992,6054,11.923,6055,11.923,6056,11.025,6057,11.923,6058,11.923,6059,11.923,6060,11.923,6061,11.923,6062,11.923]],["keywords/1140",[]],["title/1141",[52,372.867,408,447.737,703,504.882]],["content/1141",[4,1.865,23,2.744,25,1.197,37,4.11,44,5.013,45,5.107,46,7.27,51,4.308,52,6.188,63,3.948,275,5.994,297,5.107,334,5.19,704,9.461,763,9.192,872,9.067,889,12.172,1160,9.129,1891,12.597,2215,15.087,6063,18.002]],["keywords/1141",[]],["title/1142",[408,518.75,508,987.288]],["content/1142",[]],["keywords/1142",[]],["title/1143",[37,199.834,52,327.97,508,749.53,670,667.664]],["content/1143",[4,2.208,5,2.926,6,1.312,23,2.065,37,2.275,52,5.136,60,6.955,62,5.805,63,2.972,86,5.476,97,4.758,100,5.019,103,8.307,186,4.006,189,6.92,190,6.339,191,4.074,203,6.872,230,4.281,241,5.037,273,2.972,297,5.288,308,4.387,329,6.039,334,3.907,373,3.495,381,4.373,397,8.645,408,6.168,508,8.534,512,5.547,513,8.056,516,6.968,607,7.347,674,4.964,718,7.565,763,6.92,894,5.193,940,8.233,944,7.601,958,6.268,1821,9.02,1872,7.289,2336,10.957,3007,11.357,3367,6.528,4024,11.357,6045,10.623,6064,13.552,6065,13.552,6066,13.552,6067,13.552,6068,13.552,6069,13.552,6070,13.552]],["keywords/1143",[]],["title/1144",[4,123.338,25,79.157,37,199.834,508,749.53]],["content/1144",[22,6.35,23,4.074,24,7.629,32,3.713,33,2.269,34,4.018,35,5.032,37,3.711,108,9.154,198,4.687,355,6.915,511,15.763,764,9.592,777,7.819,1300,8.072,1613,9.756,4970,17.325]],["keywords/1144",[]],["title/1145",[2,351.353,52,264.317,58,351.353,271,340.282,308,310.517,6047,887.06]],["content/1145",[4,1.413,19,4.089,20,6.11,22,4.914,23,4.019,24,6.463,28,5.9,29,5.658,30,6.417,32,4.525,34,3.123,35,3.912,37,2.29,50,7.519,52,6.646,112,8.945,151,4.208,164,4.283,172,7.867,308,4.415,355,5.375,373,4.829,408,4.513,452,6.309,504,8.302,511,13.354,764,7.457,777,6.078,1613,7.584,1648,9.545,4970,16.76,6048,17.315,6049,17.315,6050,17.315,6051,17.315,6052,12.613,6053,11.432]],["keywords/1145",[]],["title/1146",[4,140.222,511,965.11,6071,1184.242]],["content/1146",[4,2.208,23,4.082,24,5.72,32,3.507,34,3.794,35,4.752,37,2.782,45,7.055,67,6.667,88,5.681,151,5.112,172,9.556,184,3.593,201,6.4,355,6.53,395,6.967,408,5.482,480,5.961,508,14.834,1613,9.213,4970,16.705,6071,14.501]],["keywords/1146",[]],["title/1147",[25,79.157,220,420.766,315,387.69,508,749.53]],["content/1147",[1,6.327,4,1.471,6,1.863,14,5.337,21,8.189,25,0.944,44,3.953,49,6.68,58,5.2,85,6.839,184,4.173,185,3.43,193,5.689,202,4.368,204,6.718,207,12.034,220,7.717,225,6.898,252,5.506,272,6.054,278,3.822,293,3.974,299,8.83,315,4.625,334,4.094,382,7.301,408,4.698,419,8.626,437,5.572,508,8.941,511,13.724,536,4.868,556,5.072,622,5.762,652,6.798,664,7.104,732,6.733,886,5.072,887,8.269,891,7.827,971,8.44,1065,8.353,1110,8.111,1378,8.83,1663,7.894,2154,13.129,6072,14.198]],["keywords/1147",[]],["title/1148",[4,123.338,207,656.155,315,387.69,511,848.901]],["content/1148",[22,5.121,23,4.017,24,5.002,25,0.964,28,4.138,29,6.011,32,3.067,33,1.874,34,3.318,35,2.744,37,2.433,45,2.714,52,2.636,70,3.534,108,4.991,114,4.213,124,3.583,154,3.517,162,3.382,167,4.158,185,2.311,198,4.673,206,3.406,207,13.009,225,3.43,226,8.931,240,2.136,252,5.619,293,2.678,305,5.951,315,4.72,355,3.771,398,3.583,401,4.286,408,3.166,425,5.213,427,3.517,437,3.755,467,3.382,511,17.566,536,3.281,613,3.371,614,4.138,634,6.824,668,4.955,740,4.45,764,5.23,777,4.264,845,6.275,882,5.88,901,3.652,1064,6.696,1170,4.886,1300,4.401,1308,5.416,1313,5.688,1417,5.23,1536,6.696,1868,8.848,2094,7.122,2675,8.848,4867,8.848,4970,11.359,6071,17.074,6073,9.568,6074,9.568,6075,14.491,6076,9.568,6077,9.568,6078,9.568,6079,9.568,6080,9.568]],["keywords/1148",[]],["title/1149",[4,123.338,25,79.157,184,258.124,2692,832.941]],["content/1149",[4,1.668,6,0.811,14,3.148,19,2.511,22,4.774,23,4.11,24,4.515,25,1.07,32,2.768,33,1.083,34,2.995,35,4.615,37,2.196,40,3.197,45,5.598,49,3.94,97,2.94,108,4.369,111,3.16,184,5.038,198,2.237,201,3.235,220,5.69,224,5.516,225,3.002,226,4.277,227,4.307,239,11.863,240,1.87,241,3.113,242,4.617,243,6.017,246,2.646,271,2.971,272,3.571,273,1.837,307,7.544,308,2.711,315,4.261,334,2.415,355,3.301,462,3.328,511,11.479,572,2.992,622,5.308,630,6.687,639,3.986,758,3.622,764,4.578,765,4.287,770,4.136,771,6.449,772,3.474,773,5.155,774,4.578,775,4.01,777,3.732,780,4.435,845,5.493,936,4.163,975,4.505,996,3.791,1219,4.034,1300,3.853,1308,4.741,1309,3.94,1313,4.979,1343,4.979,1347,5.209,1540,5.209,2106,4.83,3586,7.544,4326,10.576,4822,4.979,4823,7.019,4903,7.019,4970,10.254,6081,8.376,6082,8.376,6083,8.376,6084,8.376]],["keywords/1149",[]],["title/1150",[180,622.502,273,296.762,2631,1184.242]],["content/1150",[6,1.773,9,6.043,19,3.959,23,3.46,25,1.398,33,1.708,44,3.678,45,3.747,63,2.896,99,4.653,154,4.855,155,3.937,162,4.669,164,4.148,183,4.16,198,3.528,202,4.063,224,4.005,273,4.978,284,4.685,293,3.697,301,3.01,315,4.302,319,5.886,330,5.054,334,3.808,385,4.838,396,4.315,399,7.22,410,8.54,425,6.588,438,4.946,490,5.248,508,8.317,511,9.42,536,4.529,537,4.329,538,6.565,543,6.782,544,4.928,545,3.658,636,7.22,660,7.409,734,6.653,735,5.947,858,6.653,888,6.89,889,8.931,1125,9.243,1176,7.545,1384,9.08,2631,11.559,6085,13.208,6086,13.208]],["keywords/1150",[]],["title/1151",[516,546.285,763,542.465,1902,652.904,3375,707.127,3858,810.359]],["content/1151",[3,5.613,4,2.087,14,6.512,22,3.202,23,3.07,25,1.339,37,2.908,40,4.658,45,3.462,70,2.976,87,4.24,103,5.438,114,3.547,151,3.765,154,4.486,155,3.637,203,6.188,291,5.842,297,3.462,334,3.518,385,4.469,408,5.732,437,4.789,466,6.366,467,4.313,468,5.583,486,10.298,508,10.909,512,4.995,514,4.374,539,5.676,557,4.848,607,6.616,642,5.466,763,11.195,872,6.146,906,6.616,994,6.563,996,5.523,1122,10.226,1147,6.727,1180,7.332,1204,6.275,1617,10.507,1672,9.865,1902,10.646,1940,9.865,2077,10.226,2502,6.065,2642,9.865,2836,10.678,3375,8.122,3858,9.308,3863,16.88,3864,10.226,4024,10.226,6087,11.284,6088,11.284,6089,11.284,6090,11.284,6091,11.284]],["keywords/1151",[]],["title/1152",[45,337.67,63,261.029,408,393.825,689,650.672]],["content/1152",[4,2.101,16,10.428,37,3.405,62,8.688,63,5.296,67,8.16,408,6.71,508,12.77,894,7.772,2443,15.897,3661,16.996]],["keywords/1152",[]],["title/1153",[275,396.341,408,393.825,514,426.689,2900,792.272]],["content/1153",[]],["keywords/1153",[]],["title/1154",[581,790.783]],["content/1154",[4,1.818,22,4.604,23,4.221,24,4.287,25,1.352,32,3.712,33,1.606,34,2.844,35,3.562,36,6.479,37,3.414,52,4.833,107,3.051,114,3.611,193,4.976,198,4.686,275,5.841,287,6.174,329,5.535,371,6.479,381,4.008,408,7.712,425,4.468,427,6.449,514,7.29,571,8.145,745,6.79,843,5.622,1074,6.79,1628,11.965,1827,6.967,2900,11.676,4028,10.32,4029,9.151,6092,15.351,6093,17.542]],["keywords/1154",[]],["title/1155",[275,522.063,408,518.75]],["content/1155",[]],["keywords/1155",[]],["title/1156",[401,702.281,556,560.063]],["content/1156",[6,1.685,15,10.134,22,5.77,24,6.006,45,4.936,122,7.637,171,4.544,172,10.035,230,5.497,275,7.321,323,9.592,405,8.947,420,10.572,527,11.305,614,7.526,626,13.273,674,6.373,776,8.282,1030,8.539,1204,8.947,1385,14.583,1663,9.675,1847,12.952,6094,17.4,6095,17.4,6096,17.4]],["keywords/1156",[]],["title/1157",[703,695.225]],["content/1157",[4,1.481,6,1.872,10,5.657,37,2.4,44,3.981,51,4.626,54,6.213,63,3.135,67,5.752,87,4.968,190,6.687,275,7.814,289,6.649,371,7.458,386,10.406,389,7.351,467,5.053,499,7.513,527,7.351,534,10.195,555,8.891,694,7.106,703,8.756,720,10.904,785,4.36,865,9.375,886,5.107,894,7.409,914,6.725,969,9.666,1029,10.406,1193,10.904,1320,7.689,1548,9.119,1713,7.751,1723,11.981,1846,10.406,1965,10.004,2165,9.666,2254,8.091,2612,10.195,3188,13.219,3990,10.641,6097,14.296,6098,14.296,6099,14.296]],["keywords/1157",[]],["title/1158",[4,123.338,25,79.157,275,396.341,408,393.825]],["content/1158",[22,4.981,23,4.257,24,5.542,25,0.73,32,3.398,33,1.42,34,4.781,35,3.149,37,2.695,108,5.728,111,4.143,152,3.196,198,2.933,224,3.329,271,3.895,273,2.408,275,3.656,334,3.166,355,4.327,572,3.922,630,7.676,758,4.749,764,6.002,765,5.262,767,11.928,770,5.423,771,8.366,772,4.555,773,6.327,776,7.642,777,4.893,780,5.814,787,5.321,804,5.321,805,7.201,886,3.922,1157,11.282,1257,5.024,1300,5.051,1308,6.215,1313,6.527,1320,5.906,1345,6.829,1444,8.98,1613,6.105,1641,7.993,6100,10.98,6101,10.98,6102,10.98,6103,10.98]],["keywords/1158",[]],["title/1159",[20,475.86,275,353.746,308,343.888,332,929.703,504,471.004]],["content/1159",[4,2.121,20,9.17,21,8.985,22,5.373,23,4.023,24,7.067,25,1.036,32,3.297,34,3.567,35,4.467,37,3.437,51,3.728,114,4.529,275,8.087,308,5.043,332,13.633,355,6.139,389,8.011,504,6.907,764,8.516,776,9.744,777,6.942,1169,7.127,1613,8.662,1648,10.902,2731,11.883,6104,20.473]],["keywords/1159",[]],["title/1160",[2,495.646,315,440.762,408,447.737]],["content/1160",[]],["keywords/1160",[]],["title/1161",[2778,1328.96]],["content/1161",[2,6.537,4,1.849,6,1.728,10,7.062,33,2.308,34,4.086,37,2.996,63,3.914,107,4.384,149,9.266,192,6,301,4.068,373,4.603,512,7.306,711,7.574,736,6.684,745,9.756,782,10.5,785,5.443,786,7.646,792,10.293,1058,9.243,1426,13.614,1554,12.489,6105,16.504]],["keywords/1161",[]],["title/1162",[2651,1356.449]],["content/1162",[2,9.095,4,1.62,5,3.375,6,1.799,7,4.88,10,4.19,12,5.451,13,9.267,23,1.614,25,1.365,34,2.425,37,3.12,45,3.004,50,5.838,51,3.741,54,4.602,61,8.408,62,6.697,72,7.441,149,4.393,152,2.108,184,4.03,217,3.783,223,5.445,230,3.345,271,5.546,297,4.435,301,2.413,315,6.684,323,5.838,364,5.741,381,5.045,399,5.789,408,5.172,435,4.845,455,5.07,461,8.875,462,4.208,463,7.552,468,7.152,469,12.254,510,5.37,552,5.565,673,5.524,763,5.407,786,6.697,827,6.508,952,5.994,955,6.107,1000,5.696,1058,5.484,1160,7.928,1204,5.445,1298,6.363,1614,5.407,2250,8.301,2421,7.882,2422,8.562,2428,8.875,2724,7.882,5914,8.562,6106,10.59,6107,9.267,6108,15.575,6109,10.59,6110,9.792,6111,9.792,6112,10.59]],["keywords/1162",[]],["title/1163",[581,790.783]],["content/1163",[2,6.889,4,1.949,10,7.443,22,4.936,23,4.271,24,4.739,25,1.251,32,4.54,34,3.144,35,3.937,36,7.163,37,4.059,52,5.183,193,5.501,198,3.668,246,4.338,315,6.126,355,5.411,408,7.099,843,6.215,1628,8.078,4028,11.065,4029,9.812,6113,16.46,6114,15.764]],["keywords/1163",[]],["title/1164",[467,658.712]],["content/1164",[2,6.605,4,0.854,7,2.573,10,5.112,11,5.406,12,4.505,22,3.39,23,4.263,25,0.548,32,1.744,34,1.887,37,3.775,44,2.295,51,1.973,54,3.583,60,4.82,63,1.808,69,2.573,76,7.679,88,2.826,103,3.673,124,7.334,136,4.754,148,4.754,149,3.419,152,1.641,155,3.851,161,4.081,164,2.589,167,3.583,171,4.16,184,3.455,192,2.771,198,2.202,201,3.184,219,3.064,222,2.248,230,6.187,246,2.604,273,1.808,293,2.307,345,6.288,373,3.332,380,6,385,3.019,391,4.152,427,3.03,458,3.834,459,6.288,467,6.375,513,4.9,557,3.275,590,3.515,736,3.087,765,2.702,785,3.94,843,3.731,901,3.147,969,5.573,983,4.9,1058,4.269,1089,4.754,1116,6.421,1169,3.771,1354,5.008,1377,3.856,1551,6.664,1633,4.709,1724,5.33,2131,4.953,2281,5.487,3375,5.487,3551,6.664,3770,6.136,5412,14.731,5783,7.622,5914,6.664,6043,7.622,6108,10.827,6113,7.214,6114,10.827,6115,14.731,6116,8.243]],["keywords/1164",[]],["title/1165",[2,389.113,37,178.358,184,230.384,315,346.025,435,486.049]],["content/1165",[2,6.629,4,1.875,19,3.036,23,4.233,24,5.22,32,4.546,33,2.596,34,4.596,35,4.337,37,3.921,52,2.79,65,3.319,88,5.185,124,3.792,155,3.018,184,4.353,198,5.363,224,3.07,230,3.199,234,4.684,273,2.221,297,2.873,315,5.895,364,5.49,373,3.9,381,4.88,399,5.535,435,8.281,458,4.71,843,4.584,1204,5.207,1255,14.633,1342,6.847,2131,6.084,4028,5.957,6108,15.169,6113,8.862,6114,15.169,6115,9.364,6117,15.123,6118,10.126,6119,15.123,6120,10.126,6121,10.126,6122,10.126,6123,10.126,6124,10.126]],["keywords/1165",[]],["title/1166",[2,574.258,408,518.75]],["content/1166",[]],["keywords/1166",[]],["title/1167",[2778,1328.96]],["content/1167",[4,2.187,15,12.29,97,7.408,958,9.761,1030,10.355,1327,11.261,1821,14.046,6125,21.102]],["keywords/1167",[]],["title/1168",[2651,1356.449]],["content/1168",[2,6.769,10,7.313,22,5.991,23,4.126,24,7.88,25,1.229,32,3.911,34,4.231,35,5.3,37,3.103,355,7.283,777,8.235,1612,16.992,1613,10.276]],["keywords/1168",[]],["title/1169",[295,963.564,408,518.75]],["content/1169",[]],["keywords/1169",[]],["title/1170",[2778,1328.96]],["content/1170",[5,3.788,6,2.343,12,6.118,40,6.698,52,4.835,61,11.887,103,9.849,124,6.571,149,10.036,273,3.848,301,5.037,373,4.525,405,9.023,408,5.806,527,9.023,711,7.446,736,6.571,761,12.773,786,9.468,6126,17.547]],["keywords/1170",[]],["title/1171",[2651,1356.449]],["content/1171",[4,1.703,5,3.549,6,2.053,7,5.132,11,10.78,12,5.732,15,9.574,33,2.126,34,3.764,51,3.934,53,6.944,61,8.842,124,6.156,215,8.64,217,5.872,297,4.664,301,4.832,461,13.777,462,6.532,463,11.724,773,6.478,952,9.305,1256,9.305,2049,10.629,2428,13.777,3758,10.224,4040,10.942,4791,15.201,6107,14.386,6127,16.439,6128,16.439,6129,21.202,6130,16.439]],["keywords/1171",[]],["title/1172",[581,790.783]],["content/1172",[1,10.399,4,1.461,6,1.365,10,7.58,14,5.301,22,5.027,23,4.19,24,6.612,25,1.274,32,4.054,34,3.229,35,4.044,37,2.368,51,3.375,52,5.994,54,6.129,114,4.1,162,4.985,171,3.682,295,11.772,355,5.557,467,4.985,777,6.284,1140,10.497,1248,16.763,1571,9.535,1613,7.841,2303,7.585,6131,19.155,6132,14.102,6133,12.341,6134,12.341]],["keywords/1172",[]],["title/1173",[1,830.371]],["content/1173",[1,11.353,5,3.82,6,1.713,10,7.002,52,4.876,58,6.481,81,12.621,84,9.443,99,6.234,114,5.144,167,7.691,222,4.825,295,14.928,302,14.307,329,7.886,642,7.926,806,8.524,1196,11.605,2178,12.383,6135,17.696,6136,17.696,6137,16.364]],["keywords/1173",[]],["title/1174",[281,524.746,297,383.895,379,619.122]],["content/1174",[2,4.66,4,1.849,6,1.995,10,5.035,11,8.344,12,4.437,18,4.25,25,0.846,33,2.664,45,3.61,50,7.014,51,3.045,69,5.57,72,6.056,79,6.738,97,4.467,149,5.278,154,4.677,162,4.498,171,3.323,198,4.766,219,4.73,264,3.689,273,3.913,279,12.249,281,9.908,295,13.727,311,7.644,373,3.281,381,4.106,427,4.677,455,6.092,507,7.914,510,6.452,716,4.594,792,7.338,843,5.759,926,6.497,1256,7.202,1257,5.821,1339,5.699,1554,8.904,1711,8.344,1726,6.844,2058,8.117,3375,8.469,3650,11.766,3758,7.914,3784,11.135,4040,11.876,6138,12.724]],["keywords/1174",[]],["title/1175",[6133,1372.068,6134,1372.068]],["content/1175",[1,5.776,4,1.343,10,9.958,18,7.521,22,3.402,25,1.202,33,3.062,62,5.552,63,2.842,69,4.046,88,4.444,124,4.854,147,8.268,148,7.475,149,9.34,154,6.644,155,5.388,171,3.385,177,6.665,186,3.831,222,3.534,224,3.93,228,5.661,230,4.095,295,11.108,373,5.367,381,4.183,467,4.582,510,6.573,668,6.713,716,6.525,782,10.633,1089,7.475,1157,7.705,1309,8.503,1444,6.133,1564,8.268,2114,8.5,2252,7.875,3770,9.648,6133,11.343,6134,15.818,6139,11.986,6140,12.962]],["keywords/1175",[]],["title/1176",[72,746.242,134,887.422]],["content/1176",[4,1.395,23,4.338,45,3.82,46,4.358,50,10.23,51,4.441,171,3.516,257,6.031,295,11.405,328,10.886,494,10.27,499,7.076,642,6.031,737,4.527,879,5.242,1116,9.224,1257,8.49,1261,8.589,1263,15.145,1377,6.298,1586,10.554,1711,12.17,3828,10.554,3849,16.24,3951,9.422,4577,17.161,6141,18.558,6142,13.464,6143,13.464]],["keywords/1176",[]],["title/1177",[4,123.338,33,153.915,295,731.52,1827,667.664]],["content/1177",[4,1.471,23,3.931,25,1.28,30,6.68,32,4.072,33,1.836,34,4.406,87,4.934,162,5.019,230,4.485,241,5.278,290,10.83,295,8.726,308,4.596,319,6.327,330,3.414,355,5.595,394,7.2,419,8.626,556,5.072,557,5.641,751,8.726,785,4.33,858,7.151,894,5.441,1257,6.496,1300,6.531,1827,10.794,2707,10.83,2785,13.129,3778,8.531,3781,9.057,3887,9.761,4102,11.899,4365,12.425,4482,11.899,6137,13.129,6144,14.198,6145,14.198,6146,14.198,6147,14.198,6148,14.198,6149,14.198,6150,14.198,6151,14.198,6152,14.198]],["keywords/1177",[]],["title/1178",[516,546.285,763,542.465,1902,652.904,3375,707.127,3858,810.359]],["content/1178",[3,5.613,4,2.087,14,6.512,22,3.202,23,3.07,25,1.339,37,2.908,40,4.658,45,3.462,70,2.976,87,4.24,103,5.438,114,3.547,151,3.765,154,4.486,155,3.637,203,6.188,291,5.842,295,7.499,297,3.462,334,3.518,385,4.469,408,5.732,437,4.789,466,6.366,467,4.313,468,5.583,486,10.298,512,4.995,514,4.374,539,5.676,557,4.848,607,6.616,642,5.466,763,11.195,872,6.146,906,6.616,994,6.563,996,5.523,1122,10.226,1147,6.727,1180,7.332,1204,6.275,1617,10.507,1672,9.865,1902,10.646,1940,9.865,2077,10.226,2502,6.065,2642,9.865,2836,10.678,3375,8.122,3858,9.308,3863,16.88,3864,10.226,4024,10.226,6087,11.284,6088,11.284,6089,11.284,6090,11.284,6091,11.284,6153,12.202]],["keywords/1178",[]],["title/1179",[2,495.646,408,447.737,1614,690.985]],["content/1179",[]],["keywords/1179",[]],["title/1180",[2778,1328.96]],["content/1180",[2,7.687,4,1.677,5,3.494,6,2.032,10,6.404,18,5.406,33,2.093,34,3.705,63,3.549,107,3.975,149,8.706,192,5.441,273,3.549,301,3.688,373,5.413,452,7.486,480,7.551,507,10.065,512,6.625,516,8.322,645,9.521,711,6.868,736,6.061,745,8.847,782,9.521,785,4.935,786,6.933,792,9.334,1058,8.381,1426,12.345,1554,11.325,6105,14.965,6154,16.184]],["keywords/1180",[]],["title/1181",[2651,1356.449]],["content/1181",[2,9.077,4,1.272,5,4.362,6,2.247,7,5.43,10,4.857,12,6.066,13,10.741,23,1.871,25,1.157,34,2.81,37,3.69,50,6.766,51,4.163,54,5.335,61,9.356,72,8.28,149,7.216,152,2.444,215,6.451,217,4.384,223,6.312,230,3.878,297,3.482,301,2.797,455,5.877,461,10.287,462,4.877,463,8.754,510,6.224,673,6.403,763,6.267,786,7.452,952,6.947,955,7.079,1058,6.357,1077,6.947,1160,8.821,1204,6.312,1298,7.375,1614,8.882,2250,9.621,2428,10.287,2724,9.136,3367,8.379,5914,9.924,6107,10.741,6108,14.579,6110,11.35,6111,11.35,6155,12.274,6156,12.274]],["keywords/1181",[]],["title/1182",[2,435.966,4,123.338,408,393.825,1614,607.783]],["content/1182",[2,6.889,4,1.949,10,7.443,22,4.936,23,4.271,24,4.739,25,1.251,32,4.54,34,3.144,35,3.937,36,7.163,37,4.191,52,5.183,193,5.501,198,3.668,355,5.411,408,7.099,843,6.215,1614,9.604,1628,8.078,4028,11.065,4029,9.812,4583,14.347,6114,15.764]],["keywords/1182",[]],["title/1183",[281,524.746,297,383.895,379,619.122]],["content/1183",[2,8.167,4,2.466,7,6.178,12,7.774,33,1.914,37,3.996,45,4.2,46,4.792,51,5.336,53,6.253,58,5.422,69,6.96,88,5.076,99,5.215,182,2.954,264,5.738,281,7.675,289,6.886,311,8.479,329,6.597,373,3.818,490,5.882,736,5.544,743,10.359,889,10.009,1072,10.359,1614,11.385,2130,9.708,2492,12.025]],["keywords/1183",[]],["title/1184",[6,131.019,10,535.472,480,486.819]],["content/1184",[2,8.009,4,1.788,5,2.619,6,1.175,10,4.8,18,4.052,22,5.269,23,4.12,24,4.187,25,1.454,32,3.651,34,2.778,35,3.479,36,6.329,37,4.146,52,3.343,152,2.415,186,3.586,200,4.526,223,6.238,249,6.866,265,4.364,273,3.783,355,4.781,370,7.639,371,9,373,4.449,408,4.014,480,7.866,507,7.545,645,7.137,737,4.079,1089,6.996,1121,7.844,1614,10.251,4025,15.953,4027,11.218,4028,10.149,4029,9,4583,13.159]],["keywords/1184",[]],["title/1185",[10,535.472,34,309.835,230,427.504]],["content/1185",[2,7.886,10,8.52,14,6.33,18,5.625,23,3.282,32,3.563,37,3.985,54,7.318,124,8.063,155,5.019,161,5.319,171,4.397,230,5.319,321,10.348,330,4.048,373,5.553,496,6.804,785,7.238,1086,10.887,1614,8.598,4028,9.906,4583,12.844,5914,17.408]],["keywords/1185",[]],["title/1186",[499,711.201,703,504.882,958,625.942]],["content/1186",[2,6.021,5,3.549,23,3.231,32,3.479,37,3.94,54,7.145,62,7.042,63,3.605,149,6.819,152,3.273,201,8.189,215,8.64,230,5.193,499,12.334,527,8.453,590,7.009,736,7.94,786,7.042,1220,9.391,1310,9.574,1511,11.967,1614,8.394,1712,11.504,1814,10.352,2436,14.386,4028,9.671,4583,12.539,6157,21.202]],["keywords/1186",[]],["title/1187",[260,811.993,408,518.75]],["content/1187",[]],["keywords/1187",[]],["title/1188",[260,700.837,408,447.737,703,504.882]],["content/1188",[4,1.639,25,1.625,33,2.674,37,2.655,63,3.468,69,4.937,76,9.401,88,5.423,230,7.277,240,3.531,260,11.93,273,3.468,279,9.401,280,10.088,297,4.487,301,3.604,326,12.397,334,4.56,389,8.132,504,7.012,516,10.632,545,4.381,674,5.793,747,11.279,843,7.159,1268,10.708,1633,9.035,2301,10.088,3092,11.772,6158,15.815,6159,15.815]],["keywords/1188",[]],["title/1189",[4,140.222,260,700.837,408,447.737]],["content/1189",[4,1.949,22,5.631,23,4.111,24,6.492,25,0.913,28,5.938,29,7.802,30,6.459,32,2.906,34,3.144,35,3.937,37,3.158,108,7.163,109,8.878,174,8.162,198,3.668,251,7.634,260,12.93,314,8.186,408,4.543,580,6.316,727,9.608,773,8.455,777,6.118,843,6.215,901,5.241,1300,6.316,1613,7.634,1663,7.634,3813,8.342,5387,19.839,5389,12.697,6160,13.73]],["keywords/1189",[]],["title/1190",[23,161.915,25,70.65,37,178.358,2427,810.359,3529,929.703]],["content/1190",[]],["keywords/1190",[]],["title/1191",[63,296.762,408,447.737,689,739.744]],["content/1191",[4,2.022,5,4.213,6,1.889,7,4.525,8,10.333,19,4.345,25,1.298,33,1.874,37,3.276,40,5.533,46,4.692,51,3.469,52,3.994,58,5.309,63,5.176,65,8.315,84,7.735,99,5.106,100,5.368,122,8.565,193,5.808,206,5.16,215,7.618,240,3.236,329,8.696,375,7.561,381,4.677,391,7.301,408,4.796,520,6.561,641,10.143,703,5.408,769,10.551,861,6.742,874,6.426,1981,9.648,2719,12.148]],["keywords/1191",[]],["title/1192",[10,620.079,37,178.358,670,595.91,1637,890.35]],["content/1192",[2,8.137,4,1.833,5,2.714,6,1.982,9,8.094,10,8.791,16,6.464,18,4.199,25,0.836,30,5.914,37,3.73,63,3.88,73,6.419,107,3.088,149,7.338,152,3.522,177,6.464,215,6.606,228,5.49,230,3.971,246,3.971,273,2.757,373,3.242,375,6.558,405,6.464,410,11.438,459,9.588,483,6.761,484,7.051,490,4.995,496,5.079,507,12.732,527,6.464,587,8.019,694,6.248,716,4.538,888,6.558,952,7.115,955,7.25,1030,6.168,1058,6.51,1089,7.25,1134,7.115,1205,16.046,1426,9.588,1444,5.948,1614,6.419,1631,7.115,1637,14.826,2055,10.535,2488,9.15,3963,9.588,6161,12.57]],["keywords/1192",[]],["title/1193",[63,343.83,689,857.071]],["content/1193",[4,2.353,15,10.669,25,1.51,63,4.979,67,7.371,171,4.783,203,9.289,329,8.163,527,9.42,581,7.774,642,8.205,689,10.014,785,5.586,879,7.132,1931,11.535,1981,15.112,1984,11.685,2131,11.007,2502,9.105]],["keywords/1193",[]],["title/1194",[1981,1240.307]],["content/1194",[5,4.313,33,1.941,37,1.684,86,6.067,107,4.42,148,5.784,152,5.251,154,6.615,186,2.964,187,6.163,193,8.997,198,2.679,201,3.873,224,3.041,230,3.168,246,4.743,249,5.676,273,3.292,301,4.101,334,2.892,373,4.641,381,3.236,490,3.985,520,9.043,552,5.271,642,8.06,716,5.42,736,8.012,761,7.3,771,6.015,775,8.616,782,5.9,787,10.368,792,10.378,879,3.904,1219,4.831,1313,8.925,1552,10.322,1713,5.437,1724,9.707,1981,11.978,2036,14.106,2169,8.776,2252,6.093,3661,8.405,4176,12.582,4430,8.405,5347,9.274,6162,10.029,6163,10.029,6164,10.029,6165,10.029,6166,10.029,6167,10.029,6168,8.776,6169,10.029]],["keywords/1194",[]],["title/1195",[37,178.358,51,254.223,63,232.977,114,308.839,689,580.745]],["content/1195",[2,6.651,4,1.882,20,8.134,37,4.126,51,4.345,52,5.003,63,4.952,67,7.306,73,9.272,114,5.279,246,5.737,378,10.911,397,11.583,413,9.404,484,10.186,568,10.683,874,8.051,886,6.487,1614,9.272,1662,14.234,1984,11.583]],["keywords/1195",[]],["title/1196",[37,178.358,63,232.977,114,308.839,689,580.745,6170,1062.382]],["content/1196",[4,2.379,37,3.13,58,8.407,73,9.521,99,6.569,100,6.905,142,10.97,182,4.58,205,5.964,206,8.171,240,4.164,260,9.657,381,6.017,408,6.169,506,10.11,516,9.588]],["keywords/1196",[]],["title/1197",[0,850.067,408,518.75]],["content/1197",[]],["keywords/1197",[]],["title/1198",[0,733.699,77,1094.088,408,447.737]],["content/1198",[0,13.187,1,3.017,4,2.08,5,2.383,16,3.481,19,3.308,25,1.48,33,1.807,34,1.55,37,2.346,45,3.964,46,3.572,49,3.185,51,1.62,52,1.865,63,2.42,67,4.441,70,2.692,72,5.253,92,2.886,111,4.165,125,2.679,136,3.904,152,3.208,161,2.139,164,2.126,179,3.365,182,1.351,184,3.495,191,2.035,192,3.711,196,3.435,198,1.808,201,6.855,202,3.395,203,3.433,205,2.868,206,3.929,218,5.164,232,4.024,239,8.229,240,3.12,246,2.139,249,3.832,254,4.024,271,3.915,272,4.706,273,3.534,277,6.365,278,1.822,301,2.515,315,2.205,329,4.918,330,2.653,353,5.924,356,3.149,359,4.928,361,3.797,370,4.263,371,3.532,378,4.068,387,3.943,391,3.41,395,2.846,396,5.265,398,4.133,399,3.701,400,3.048,406,5.924,408,7.163,409,8.913,410,4.377,413,5.716,435,3.097,442,4.928,466,3.532,467,2.393,468,3.097,482,3.701,487,4.263,493,4.21,545,1.875,552,3.558,555,4.21,560,3.585,598,4.577,607,5.984,648,4.263,673,3.532,688,4.113,714,4.506,744,8.215,747,4.828,785,2.064,886,2.418,952,3.832,958,3.131,1066,3.613,1072,4.737,1077,3.832,1086,4.377,1116,3.365,1268,3.506,1325,4.377,1329,7.085,1332,3.641,1398,4.263,1580,5.039,1656,4.506,1711,7.238,1726,3.641,2112,4.439,2172,4.577,2242,5.307,2542,4.928,3333,5.473,3748,5.307,4591,6.26,4595,5.674,6171,6.77,6172,6.77,6173,6.77,6174,6.77,6175,6.77,6176,6.77]],["keywords/1198",[]],["title/1199",[2778,1328.96]],["content/1199",[1,9.217,5,4.465,184,4.485,239,10.561,253,18.1,1305,14.473,2170,18.1,6177,20.683,6178,20.683,6179,20.683]],["keywords/1199",[]],["title/1200",[2651,1356.449]],["content/1200",[63,4.675,215,11.204,277,12.295,278,5.738,393,11.466,1261,13.598,6180,21.318]],["keywords/1200",[]],["title/1201",[581,790.783]],["content/1201",[0,8.843,1,7.268,22,5.536,23,4.277,24,7.281,25,1.085,26,17.679,27,13.669,31,11.213,32,3.452,34,3.734,35,4.677,37,2.738,55,19.507,92,6.954,109,10.546,126,15.082,355,6.428,467,5.766,1613,9.069,6181,16.311]],["keywords/1201",[]],["title/1202",[112,887.426,144,831.659,1254,914.982]],["content/1202",[0,8.707,4,1.664,8,8.504,23,3.98,25,1.068,51,3.843,81,11.453,92,6.847,111,6.06,114,4.668,144,12.834,193,6.434,250,8.57,257,7.193,280,10.244,569,7.88,598,10.858,1178,15.692,1254,10.858,1263,11.453,1377,7.512,1937,13.459,2720,10.112,2923,13.459,4072,14.85,4073,14.85,4074,14.053,6182,16.059,6183,16.059,6184,16.059,6185,16.059]],["keywords/1202",[]],["title/1203",[1,830.371]],["content/1203",[0,11.8,1,9.698,7,6.794,8,11.524,201,8.406]],["keywords/1203",[]],["title/1204",[0,645.355,4,123.338,33,153.915,1827,667.664]],["content/1204",[0,9.677,4,1.849,22,4.684,23,3.716,25,1.486,27,14.958,32,3.777,33,2.308,87,6.202,170,15.619,241,6.634,290,13.614,308,5.777,319,7.953,330,4.291,394,9.051,419,10.843,785,5.443,894,6.839,1827,10.011,2707,13.614,6186,17.848,6187,17.848]],["keywords/1204",[]],["title/1205",[25,49.41,33,96.074,98,318.282,287,369.302,395,312.401,408,245.826,873,446.421,874,527.51]],["content/1205",[]],["keywords/1205",[]],["title/1206",[874,826.145]],["content/1206",[4,1.318,37,2.996,51,3.045,52,4.916,53,5.375,58,4.66,63,2.79,84,6.79,86,5.141,87,4.422,92,5.425,96,7.202,98,10.075,103,5.67,182,4.111,192,4.278,200,4.747,202,3.914,205,3.306,206,4.529,222,4.865,252,4.934,275,4.237,287,8.869,293,3.562,308,4.119,334,3.669,356,5.918,395,5.35,396,4.157,438,4.765,489,9.471,512,5.208,514,4.561,525,6.687,536,4.363,557,5.056,562,7.338,659,5.853,692,6.497,785,5.441,873,10.721,874,9.136,932,5.79,963,4.914,971,7.564,994,6.844,1023,9.471,1041,9.974,1082,8.469,1106,10.664,1207,7.338,1427,6.79,1604,8.227,2970,15.614,6188,12.724,6189,12.724,6190,11.766]],["keywords/1206",[]],["title/1207",[703,584.959,874,695.115]],["content/1207",[4,1.335,5,2.781,6,2.008,22,3.381,51,4.307,53,5.441,63,2.825,66,9.377,70,3.141,87,4.476,98,5.518,177,6.624,182,2.57,192,4.331,222,4.907,230,4.069,256,6.06,278,3.468,287,6.403,289,8.371,297,5.884,308,6.714,361,7.225,395,5.416,402,7.429,476,7.826,483,6.928,539,5.992,590,5.492,613,6.34,674,4.718,703,4.806,704,6.77,872,6.488,873,7.74,874,7.979,901,7.918,958,5.958,1028,7.429,1075,9.588,1124,8.329,1377,6.025,1595,8.011,1617,6.72,1706,8.447,1707,9.187,1708,8.856,1797,11.912,1845,10.796,1862,11.273,2253,6.095,2254,10.186,2492,7.826,2964,10.097,3939,11.912,5489,11.912,6191,12.881]],["keywords/1207",[]],["title/1208",[46,438.039,308,438.039,874,599.958]],["content/1208",[4,1.765,6,1.154,10,2.947,23,4.135,25,0.495,32,4.735,34,5.122,35,2.136,46,2.411,67,2.997,84,3.974,87,2.588,98,10.225,107,1.829,124,4.464,162,7.028,186,2.201,198,5.311,222,2.031,228,3.253,230,5.382,286,4.577,298,3.654,308,4.825,311,3.19,326,5.838,329,3.319,330,1.791,349,4.815,375,3.885,395,3.131,465,5.543,498,4.632,510,3.777,529,4.215,572,2.66,580,3.426,613,5.251,662,5.311,663,4.105,674,4.366,758,3.221,769,5.421,773,4.698,869,4.884,873,4.475,874,5.285,901,2.843,955,4.295,958,3.445,1081,4.577,1170,3.803,1183,4.105,1332,4.006,1444,3.524,1526,4.071,1718,5.421,1726,4.006,2502,5.925,2669,5.035,2896,6.887,2970,6.517,3011,6.887,3030,9.638,3236,11.684,3445,6.887,3563,5.12,6192,7.447,6193,7.447,6194,7.447,6195,7.447,6196,7.447,6197,6.887,6198,7.447,6199,7.447,6200,7.447,6201,7.447,6202,7.447,6203,7.447,6204,11.921,6205,7.447,6206,7.447,6207,11.921,6208,7.447,6209,7.447,6210,11.921,6211,7.447,6212,7.447,6213,11.921,6214,7.447,6215,7.447,6216,7.447,6217,7.447,6218,7.447,6219,7.447,6220,7.447,6221,7.447,6222,7.447,6223,7.447,6224,7.447]],["keywords/1208",[]],["title/1209",[63,343.83,874,695.115]],["content/1209",[16,7.301,20,6.36,25,0.944,37,3.231,52,5.302,61,7.636,63,4.22,86,7.776,87,4.934,98,9.351,103,10.428,162,5.019,191,5.785,192,6.47,193,5.689,198,3.793,230,4.485,273,3.114,275,4.728,287,7.057,293,3.974,301,3.236,308,4.596,322,5.219,395,5.97,402,8.189,510,7.2,537,4.653,543,5.258,554,6.798,564,6.567,659,6.531,674,7.048,689,7.761,692,7.25,716,5.126,787,6.881,873,8.531,874,6.295,1610,8.83,1638,11.13,1821,9.451,6190,13.129,6225,14.198]],["keywords/1209",[]],["title/1210",[4,123.338,25,79.157,408,393.825,874,527.718]],["content/1210",[4,1.327,14,4.813,22,4.703,23,4.2,24,6.185,25,1.489,32,2.709,33,1.655,34,2.931,35,3.671,36,6.679,37,2.149,45,3.632,53,5.408,89,8.062,98,7.676,107,3.145,364,6.941,373,3.302,375,6.679,389,6.583,408,6.84,476,7.778,747,9.13,763,9.15,874,7.945,1028,7.383,1040,8.166,1160,6.492,1180,7.692,1891,8.959,2253,8.479,2502,6.363,2516,9.529,2969,8.656,3680,9.765,4029,6.679,6226,11.838,6227,12.802,6228,13.669,6229,12.802,6230,11.838,6231,9.319,6232,11.203,6233,12.802]],["keywords/1210",[]],["title/1211",[4,99.401,289,446.197,381,309.561,874,425.298,2253,453.912,2254,542.959]],["content/1211",[4,2.2,22,4.87,23,3.782,24,6.406,25,1.412,32,2.849,33,1.741,34,3.083,35,3.861,36,7.024,37,2.26,53,5.687,84,9.903,87,4.679,151,4.154,230,4.253,289,9.878,297,5.265,308,4.358,375,7.024,382,6.923,401,6.031,489,10.022,539,6.263,674,4.931,675,6.263,718,5.464,738,8.705,874,8.228,894,5.16,901,5.14,940,8.18,1028,7.765,1636,9.422,1708,9.256,2253,6.371,2254,12.02,2502,6.692,2964,10.554,3019,11.284,4029,7.024,6234,11.783,6235,19.637,6236,13.464]],["keywords/1211",[]],["title/1212",[97,475.083,241,503.001,2255,965.11]],["content/1212",[14,5.77,22,5.321,23,4.009,25,1.348,32,3.248,37,4.054,45,5.751,53,8.564,97,5.389,98,8.685,154,5.642,184,3.329,189,7.837,370,9.665,373,3.958,515,7.58,723,10.378,874,6.805,2253,11.426,2255,14.459,4029,10.576,6234,17.742,6237,17.795]],["keywords/1212",[]],["title/1213",[4,99.401,53,405.208,171,250.496,843,434.208,2253,453.912,4178,839.484]],["content/1213",[4,2.394,6,1.175,14,4.56,19,3.637,22,3.184,23,3.521,25,0.807,32,2.567,37,2.037,53,9.236,86,4.902,98,5.197,103,5.406,117,11.218,124,6.461,171,4.505,184,2.631,186,3.586,187,7.455,198,3.241,217,4.333,240,2.709,280,7.738,289,8.024,322,4.46,401,5.434,425,4.364,438,4.543,452,5.611,543,4.492,549,6.376,572,4.333,579,7.844,674,6.319,772,5.032,773,7.912,785,3.699,843,9.087,874,7.648,894,4.649,1377,5.675,1388,7.738,1646,8.075,1827,6.805,2253,10.347,2254,9.764,2255,8.652,2353,8.652,4029,6.329,4178,15.097,4432,10.167,5408,11.218,6228,9.253,6234,15.097,6238,12.131]],["keywords/1213",[]],["title/1214",[58,389.113,99,374.253,506,575.999,874,471.004,1052,858.926]],["content/1214",[4,2.352,6,1.617,7,5.213,25,1.11,33,2.531,37,2.803,51,5.432,53,4.896,58,6.116,73,5.919,84,10.445,87,6.802,94,7.209,98,4.965,99,5.883,100,6.184,101,14.613,202,3.566,204,5.485,210,15.109,230,3.662,264,3.36,287,5.761,289,5.391,294,9.371,297,3.288,308,7.348,323,6.39,381,3.74,389,5.96,395,4.874,408,3.835,421,6.003,496,4.684,504,8.678,506,9.054,552,6.092,579,7.494,582,6.502,785,3.535,873,6.965,874,8.678,886,4.141,901,4.425,1052,9.371,1124,7.494,1718,8.438,1931,7.299,3563,7.969,3921,9.086,3924,10.719,3925,10.719,3927,10.719,6239,11.591]],["keywords/1214",[]],["title/1215",[65,211.691,87,224.451,98,454.945,219,240.08,287,321.043,308,209.074,395,446.538,873,388.084,874,286.357]],["content/1215",[4,1.386,6,1.295,65,4.385,70,5.161,84,9.859,87,7.932,98,11.386,176,4.882,196,4.164,219,4.972,230,4.226,246,4.226,287,6.649,293,3.745,308,6.851,326,10.486,375,6.979,395,10.877,396,4.371,420,8.128,447,11.785,482,7.313,723,9.045,785,4.08,872,6.738,873,11.101,874,9.383,1106,11.211,1160,6.784,1987,10.204,2118,9.045,2136,12.929,3236,10.486,5544,12.37,6197,12.37,6240,13.378]],["keywords/1215",[]],["title/1216",[222,369.003,857,695.85,874,599.958]],["content/1216",[20,9.173,98,10.407,287,10.179,304,10.315,308,6.629,395,8.611,873,12.305,6241,20.48,6242,20.48,6243,20.48]],["keywords/1216",[]],["title/1217",[408,518.75,652,750.686]],["content/1217",[]],["keywords/1217",[]],["title/1218",[581,790.783]],["content/1218",[22,5.186,23,4.226,24,4.069,32,3.577,34,2.699,37,3.992,40,4.5,151,6.096,161,3.724,162,5.975,164,3.702,183,3.713,205,3.063,206,6.016,272,5.026,275,3.925,298,5.784,572,4.211,652,10.94,771,4.723,776,8.045,777,8.805,845,7.73,996,5.336,1339,8.85,1617,11.259,1726,9.09,1872,6.34,2203,7.73,2638,8.992,4928,14.791,6244,16.902,6245,11.788,6246,16.902,6247,11.788,6248,16.902,6249,16.902]],["keywords/1218",[]],["title/1219",[240,302.163,581,574.278,1055,672.63]],["content/1219",[2,4.153,4,1.175,18,3.788,22,5.073,23,4.151,24,3.914,32,4.091,33,2.5,34,4.426,37,3.559,45,3.217,49,5.334,87,3.94,114,4.778,151,3.498,184,2.459,198,5.164,240,4.316,246,3.582,272,4.834,382,5.831,385,4.153,408,3.752,413,5.872,423,6.968,504,5.027,580,5.216,652,10.15,777,8.614,843,5.132,845,7.436,1055,9.609,1582,8.44,1595,7.052,1612,12.233,3586,6.539,3593,10.939,3813,6.889,3923,8.44,4585,9.167,4963,13.774,6250,11.339,6251,17.876,6252,10.485,6253,11.339,6254,11.339,6255,15.198,6256,10.485]],["keywords/1219",[]],["title/1220",[241,503.001,1339,606.144,1617,705.951]],["content/1220",[4,1.404,23,4.164,32,4.509,33,1.752,34,4.268,37,3.13,154,4.982,161,5.889,164,4.256,167,5.89,193,5.43,205,3.521,217,4.841,241,5.037,246,4.281,427,6.853,572,4.841,590,5.778,652,10.202,901,5.173,1339,6.07,1617,7.07,2175,13.875,3586,7.816,3593,9.02,3778,12.803,3781,13.592,3813,8.233,4963,11.357,6251,12.531,6252,12.531,6255,12.531,6256,12.531,6257,13.552,6258,13.552,6259,13.552,6260,13.552,6261,13.552]],["keywords/1220",[]],["title/1221",[408,518.75,1843,1000.13]],["content/1221",[]],["keywords/1221",[]],["title/1222",[4,140.222,45,383.895,1843,863.219]],["content/1222",[4,1.642,5,1.766,6,1.535,16,4.205,18,2.732,19,2.452,20,3.663,22,4.16,23,4.316,24,2.823,25,0.544,32,3.354,33,2.523,34,1.872,35,2.345,36,4.266,37,2.156,52,4.367,63,1.793,65,2.68,67,3.291,69,4.008,87,2.842,107,2.009,111,3.086,122,3.59,193,3.277,198,3.43,224,5.444,273,1.793,275,4.275,287,4.065,329,5.721,330,3.087,334,2.358,381,2.639,408,7.164,427,3.006,435,3.742,460,6.238,467,4.539,514,4.602,557,6.298,659,3.762,694,6.382,765,2.68,776,6.111,777,3.644,843,3.702,886,2.921,940,4.969,958,3.783,1169,3.742,1204,4.205,1526,7.018,1628,7.553,1713,6.961,1843,15.597,1872,6.905,1984,5.217,2121,5.026,4029,4.266,6262,11.872,6263,12.839]],["keywords/1222",[]],["title/1223",[408,518.75,2492,952.558]],["content/1223",[]],["keywords/1223",[]],["title/1224",[581,790.783]],["content/1224",[]],["keywords/1224",[]],["title/1225",[12,546.69,2492,952.558]],["content/1225",[4,1.626,7,4.9,12,5.473,22,5.399,23,4.205,25,1.368,37,2.635,40,5.992,52,4.325,98,6.724,193,6.289,287,7.802,408,7.594,432,8.249,920,8.312,1628,12.104,2253,10.86,4028,13.502,4029,8.188,4708,14.514,6237,16.127,6264,13.736]],["keywords/1225",[]],["title/1226",[12,546.69,289,729.273]],["content/1226",[4,1.327,14,4.813,22,5.426,23,4.31,24,6.185,25,1.192,32,2.709,33,1.655,34,2.931,35,3.671,36,6.679,37,2.149,50,7.057,52,3.527,98,5.484,109,8.277,174,7.61,193,5.129,432,6.728,467,6.334,557,5.087,580,5.889,630,4.706,656,7.61,777,5.705,1094,11.203,1401,9.13,2253,8.479,2255,12.78,2492,7.778,2733,9.13,4028,7.531,4029,6.679,6231,9.319,6265,16.57,6266,11.838,6267,11.838,6268,12.802,6269,12.802,6270,11.838,6271,11.838]],["keywords/1226",[]],["title/1227",[97,475.083,2226,1060.767,2253,640.323]],["content/1227",[4,2.06,7,5.319,22,4.472,23,4.108,24,5.882,25,1.443,29,4.946,32,2.523,33,1.542,34,2.73,35,3.419,36,6.22,37,2.002,45,3.382,89,7.508,98,9.294,122,5.233,186,3.524,198,3.185,223,6.131,238,8.062,298,5.851,432,6.266,552,6.266,580,7.839,642,5.341,656,10.129,763,6.088,843,5.397,1168,7.819,1180,7.164,1261,10.87,2023,5.814,2226,9.346,2253,9.409,2255,14.181,2492,7.244,2516,12.683,2969,8.062,3680,12.998,3790,8.343,4029,6.22,6231,8.679,6232,14.912,6265,15.757,6272,15.757,6273,11.025,6274,11.923]],["keywords/1227",[]],["title/1228",[97,475.083,241,503.001,2253,640.323]],["content/1228",[4,1.865,37,3.022,97,6.32,98,9.621,152,3.584,241,6.691,243,8.281,373,4.643,398,6.742,432,9.461,745,9.841,993,8.671,1124,11.639,1263,12.839,1586,14.111,1617,9.391,1989,13.399,2253,12.129,2255,12.839,3715,11.639,6237,14.111]],["keywords/1228",[]],["title/1229",[172,780.453,427,497.46,2492,822.159]],["content/1229",[4,1.898,22,4.808,37,3.075,46,5.93,98,7.847,151,5.652,154,6.734,161,5.787,162,6.476,171,4.783,241,6.809,348,10.368,378,11.007,381,5.911,427,6.734,2079,10.465,2131,11.007,2253,10.743,2492,11.129,3586,10.565,6231,16.527]],["keywords/1229",[]],["title/1230",[171,353.369,1256,765.941,1257,619.122]],["content/1230",[7,5.256,14,6.33,37,2.827,53,9.095,63,3.692,88,7.383,116,6.953,171,5.622,177,8.658,198,5.752,289,7.832,330,4.048,413,8.72,432,11.316,490,8.555,512,6.892,566,14.802,843,9.746,1256,9.53,1257,7.703,1298,10.117,1339,7.542,2253,10.188,2254,9.53]],["keywords/1230",[]],["title/1231",[184,340.004,2492,952.558]],["content/1231",[4,1.086,22,5.359,23,4.237,24,5.356,25,1.229,32,3.91,33,1.356,34,3.553,35,3.006,36,5.469,37,2.605,52,2.888,53,6.554,63,3.403,73,5.353,85,5.049,107,2.575,184,4.727,198,2.8,223,5.39,242,5.779,289,7.217,298,5.144,311,4.491,361,5.88,373,4.002,381,3.383,408,5.134,413,5.429,432,5.509,452,4.849,467,3.706,747,7.476,780,5.551,843,7.024,886,6.599,1124,6.778,1142,7.631,1276,5.551,1343,6.231,2106,6.046,2253,8.741,2254,8.783,2492,6.369,3726,6.687,4028,9.128,4029,8.095,4822,6.231,6237,12.163,6264,9.174,6275,10.483,6276,10.483,6277,18.474,6278,10.483]],["keywords/1231",[]],["title/1232",[703,695.225]],["content/1232",[51,5.208,199,10.42,308,7.045,539,10.123,2492,13.222]],["keywords/1232",[]],["title/1233",[3769,1421.376]],["content/1233",[4,2.577,25,1.24,45,5.29,53,7.876,87,6.48,88,6.393,408,6.169,423,14.107,427,6.855,432,9.8,747,13.298,843,8.44,1074,10.193,2253,11.768,3006,21.226]],["keywords/1233",[]],["title/1234",[408,616.535]],["content/1234",[]],["keywords/1234",[]],["title/1235",[73,800.578,1378,975.122]],["content/1235",[4,2.583,23,3.423,37,3.77,51,3.594,52,4.138,87,7.804,97,7.015,100,8.316,101,13.142,103,6.692,142,8.834,275,6.654,325,10.509,404,11.455,405,7.722,408,7.921,440,6.946,506,8.142,508,9.456,527,7.722,607,8.142,763,11.467,958,6.946,1029,10.931,1663,8.35,2000,11.178,4426,12.585,6279,15.017,6280,15.017]],["keywords/1235",[]],["title/1236",[19,469.995,323,864.293]],["content/1236",[19,6.139,25,1.362,171,5.348,193,8.205,222,5.584,322,7.528,323,11.289,400,9.221,408,6.776,484,11.487,639,9.747]],["keywords/1236",[]],["title/1237",[5,229.359,6,102.858,51,254.223,61,571.393,932,483.439]],["content/1237",[4,2.016,5,3.576,6,2.063,22,5.592,23,4.05,24,3.957,25,0.762,32,2.426,34,2.625,36,5.98,37,3.794,44,3.192,51,2.743,52,4.564,53,4.842,97,4.025,155,3.417,193,4.593,215,6.025,222,3.126,234,5.303,264,3.323,329,5.108,480,6.998,580,5.273,637,6.549,659,5.273,673,5.98,694,5.698,718,4.652,742,9.644,765,6.375,891,6.319,932,7.538,958,5.303,963,4.428,993,5.522,1121,7.412,1262,7.045,1377,5.362,1894,12.636,1895,8.744,2023,5.59,2107,10.601,4028,9.746,4029,5.98,4081,15.318,4082,10.601,6281,11.464,6282,11.464,6283,15.318,6284,8.986,6285,8.744]],["keywords/1237",[]],["title/1238",[149,561.321,273,296.762,1207,780.453]],["content/1238",[4,1.717,6,1.11,7,3.579,12,3.997,15,6.676,22,5.592,23,4.05,24,3.957,25,1.417,32,2.426,33,1.482,34,2.625,36,5.98,37,4.077,52,3.159,136,6.611,149,4.755,193,4.593,198,3.062,273,3.633,275,5.516,301,2.613,322,4.214,368,7.219,373,4.272,381,3.699,391,5.774,396,3.745,512,4.693,514,6.973,637,6.549,736,4.293,786,8.333,936,5.698,1030,5.625,1058,5.937,1843,10.567,2252,6.965,2253,9.204,2900,11.026,4028,9.746,4029,11.115,6092,14.497,6228,12.636,6231,8.345,6262,15.318,6286,11.464,6287,10.032]],["keywords/1238",[]],["title/1239",[230,335.617,440,491.403,674,389.113,675,494.15,692,542.465]],["content/1239",[2,7.967,4,2.067,5,2.589,6,2.106,10,4.745,22,5.235,23,3.96,24,4.139,25,1.327,32,2.538,34,2.746,36,6.256,37,4.015,149,4.974,193,4.805,198,3.203,215,6.302,230,3.788,275,3.993,289,7.958,323,6.61,440,5.547,507,7.458,514,6.133,520,7.745,673,6.256,674,4.392,675,9.279,692,6.123,786,5.137,859,9.147,874,5.316,890,8.552,1339,5.371,1614,8.737,1850,8.552,2253,9.439,2254,9.684,2900,7.982,4029,10.406,4583,13.051,6092,14.973,6235,15.822]],["keywords/1239",[]],["title/1240",[40,516.562,188,759.062,408,447.737]],["content/1240",[]],["keywords/1240",[]],["title/1241",[2,682.507]],["content/1241",[2,7.286,3,9.151,4,2.061,5,4.295,6,2.312,7,6.21,12,6.936,15,11.586,37,3.34,222,5.424,510,10.088,674,7.286,1030,9.762]],["keywords/1241",[]],["title/1242",[275,620.473]],["content/1242",[5,3.99,6,1.789,25,1.229,37,3.103,51,4.422,53,7.806,114,5.373,162,6.533,171,4.826,191,5.556,222,5.039,275,7.601,308,5.982,408,6.115,527,9.503,674,6.769,886,6.602,958,8.548,1261,11.789,3990,13.756,5386,17.09]],["keywords/1242",[]],["title/1243",[23,238.957,52,432.005]],["content/1243",[4,2.061,37,3.34,52,6.579,63,4.362,67,8.004,85,9.582,114,5.783,222,5.424,368,12.526,408,6.582,510,10.088,674,7.286,874,8.819]],["keywords/1243",[]],["title/1244",[23,238.957,874,695.115]],["content/1244",[2,7.018,4,1.985,25,1.274,37,3.217,51,4.585,53,8.094,63,4.202,85,9.229,87,6.658,98,8.208,114,5.57,222,5.225,308,6.202,395,8.057,408,6.34,516,9.853,674,7.018,874,8.495]],["keywords/1244",[]],["title/1245",[23,206.245,84,722.133,94,841.635]],["content/1245",[4,2.101,12,7.071,21,11.696,25,1.349,37,3.405,84,10.822,85,9.769,94,12.613,222,5.53,504,8.991,674,7.428,1051,15.897]],["keywords/1245",[]],["title/1246",[37,227.19,45,383.895,370,852.135]],["content/1246",[2,5.96,4,2.183,5,3.051,6,1.083,7,2.148,10,2.723,12,7.344,23,2.728,25,0.94,33,1.446,37,3.393,40,2.627,44,1.916,45,4.008,51,3.381,52,1.896,63,3.569,65,2.255,69,2.148,73,3.514,79,3.644,149,5.861,152,2.227,182,2.232,192,2.314,198,3.775,222,5.512,223,3.539,224,3.391,230,2.174,235,4.28,272,2.934,273,1.509,275,4.705,285,4.731,286,4.229,287,3.42,288,3.398,289,7.569,301,1.568,370,12.078,371,8.489,373,3.644,378,4.135,382,3.539,396,3.654,399,3.762,408,7.975,413,3.564,427,4.112,452,3.183,504,3.051,506,8.823,507,4.28,510,3.49,512,6.661,514,5.065,556,2.458,557,2.734,652,8.571,674,7.403,785,2.099,786,2.948,843,3.115,888,5.835,983,6.649,996,3.115,1028,3.969,1058,3.564,1160,3.49,1388,7.135,1444,3.256,1614,5.711,1615,6.363,1617,3.59,1628,4.048,1633,6.389,1716,4.908,1827,3.86,1843,10.38,2183,5.009,2253,8.47,2254,3.895,2281,7.445,2483,5.394,2492,6.795,2638,5.249,2900,7.445,3092,5.122,3153,9.374,3921,5.394,3922,5.767,6288,11.185,6289,6.882]],["keywords/1246",[]],["title/1247",[37,199.834,114,346.026,1102,885.975,1103,832.941]],["content/1247",[4,2.242,5,2.559,23,1.807,25,1.439,33,1.533,37,3.844,52,3.266,58,4.342,63,4.745,99,4.176,100,6.285,110,5.229,114,6.291,140,9.293,142,6.974,206,6.041,222,6.244,240,3.789,260,10.265,293,5.549,370,7.465,382,10.192,408,6.558,414,4.634,428,9.128,504,5.256,506,6.428,508,12.482,548,7.465,555,7.373,556,4.235,557,4.71,674,8.387,894,7.596,932,9.02,2112,11.129,2709,9.935,2931,12.632,4616,12.353,6290,11.855]],["keywords/1247",[]],["title/1248",[25,104.266,2389,1313.99]],["content/1248",[]],["keywords/1248",[]],["title/1249",[274,1013.728,417,705.949]],["content/1249",[4,1.395,14,5.061,16,6.923,23,4.056,25,0.895,32,2.849,33,2.746,51,3.222,100,4.986,114,5.395,152,2.681,164,4.228,186,3.98,187,8.275,196,4.191,205,3.498,206,4.793,217,4.81,230,4.253,273,5.265,274,8.705,341,8.004,381,4.345,416,8.962,417,9.562,437,5.284,467,4.76,554,6.447,785,4.106,804,6.525,818,10.022,857,6.923,975,9.981,1526,7.36,1749,10.27,2175,10.022,2308,8.478,2560,8.829,3447,12.45,3476,12.45,3778,8.09,4515,8.374,4807,14.547,6291,13.464]],["keywords/1249",[]],["title/1250",[33,153.915,240,265.779,288,587.825,417,535.943]],["content/1250",[4,1.512,25,0.971,30,6.867,33,3.06,53,8.282,63,4.3,65,4.784,154,5.366,155,4.351,182,4.722,205,3.792,206,6.979,240,4.943,273,3.201,288,7.208,334,4.209,364,7.914,373,6.104,417,8.828,499,7.671,543,8.198,659,6.714,773,5.752,785,5.979,1173,8.677,1339,8.782,1554,10.214,2136,10.214,2288,13.256,6292,14.596,6293,14.596,6294,14.596]],["keywords/1250",[]],["title/1251",[297,444.782,300,864.293]],["content/1251",[4,2.197,33,2.126,44,4.577,114,4.779,125,8.39,155,6.32,177,8.453,273,5.147,274,10.629,300,9.062,301,4.832,304,8.28,373,4.24,375,8.576,381,6.842,417,7.402,483,8.842,491,11.967,515,8.118,737,5.527,771,6.587,773,6.478,1169,7.521,1633,9.391,2023,10.339,3715,10.629,4807,12.886,6295,16.439]],["keywords/1251",[]],["title/1252",[273,343.83,2781,1167.014]],["content/1252",[4,1.59,7,4.791,14,5.77,19,4.601,23,3.931,69,4.791,70,3.743,72,7.306,111,7.65,114,4.462,192,5.16,217,5.483,273,5.296,322,5.642,382,7.893,385,5.622,417,6.911,421,7.949,486,9.124,510,7.784,773,6.049,804,9.825,1165,13.295,1310,8.939,2049,9.924,2303,8.255,2781,11.425,2927,12.766,4807,12.032,6296,15.349,6297,20.274,6298,15.349]],["keywords/1252",[]],["title/1253",[114,393.395,152,269.421,414,528.967]],["content/1253",[6,1.908,25,1.31,33,2.548,152,4.726,224,5.975,276,11.972,381,6.359,414,7.702,659,9.064,737,6.625,785,6.009,1650,11.713,1651,11.364,1990,14.667]],["keywords/1253",[]],["title/1254",[7,371.572,46,385.295,288,587.825,572,425.189]],["content/1254",[]],["keywords/1254",[]],["title/1255",[561,876.641]],["content/1255",[]],["keywords/1255",[]],["title/1256",[981,1064.513]],["content/1256",[]],["keywords/1256",[]],["title/1257",[4,140.222,300,745.978,552,711.201]],["content/1257",[114,5.519,152,3.78,161,5.998,171,4.958,177,9.763,272,8.095,273,5.09,300,10.466,322,6.979,417,8.549,630,6.979,732,6.643,910,7.639,1219,9.145,1650,11.286,2098,11.956,2165,12.837,2842,15.912]],["keywords/1257",[]],["title/1258",[501,958.188]],["content/1258",[25,1.31,46,8.247,152,3.923,181,5.25,225,7.064,277,11.364,278,5.304,379,9.015,381,6.359,501,10.132,659,9.064,6299,19.705,6300,19.705]],["keywords/1258",[]],["title/1259",[1021,1002.228]],["content/1259",[46,7.195,184,4.82,421,11.512]],["keywords/1259",[]],["title/1260",[334,452.062,765,513.868]],["content/1260",[6,2.107,205,5.655,435,9.957,2116,18.239,6301,21.763]],["keywords/1260",[]],["title/1261",[]],["content/1261",[]],["keywords/1261",[]],["title/1262",[408,518.75,2253,741.882]],["content/1262",[]],["keywords/1262",[]],["title/1263",[12,546.69,2253,741.882]],["content/1263",[4,1.731,22,5.622,23,4.246,25,1.424,37,2.804,40,6.376,52,5.902,193,6.692,408,7.087,920,8.845,1628,9.826,2253,10.136,4028,12.601,4029,11.174,6237,16.791,6264,14.617]],["keywords/1263",[]],["title/1264",[12,546.69,289,729.273]],["content/1264",[4,1.395,14,5.061,22,4.87,23,4.311,24,6.406,25,1.234,32,2.849,33,1.741,34,3.083,35,3.861,36,7.024,37,2.26,50,7.422,98,5.768,109,8.705,174,8.004,193,5.395,467,6.56,557,5.35,580,6.194,630,4.95,656,8.004,1094,11.783,1401,9.602,2253,10.048,2255,9.602,2733,9.602,4029,7.024,6228,14.156,6231,9.801,6266,12.45,6267,12.45,6270,12.45,6271,12.45,6287,11.783,6302,13.464]],["keywords/1264",[]],["title/1265",[97,475.083,2226,1060.767,2253,640.323]],["content/1265",[4,2.08,7,5.385,22,4.528,23,4.12,24,5.955,25,1.454,29,5.032,32,2.567,33,1.569,34,2.778,35,3.479,36,6.329,37,2.037,45,3.441,89,7.639,98,9.367,122,5.325,186,3.586,198,3.241,223,6.238,238,8.202,298,5.953,552,6.376,580,7.936,642,5.434,656,10.255,763,6.194,843,5.491,1168,7.955,1180,7.289,1261,11.005,2023,5.916,2226,9.509,2253,9.5,2255,12.304,2492,7.37,2516,12.841,2969,8.202,3680,13.159,3790,8.489,4029,6.329,6228,13.159,6231,8.831,6232,10.616,6272,11.218,6273,11.218,6303,12.131,6304,12.131]],["keywords/1265",[]],["title/1266",[97,475.083,241,503.001,2253,640.323]],["content/1266",[4,1.792,20,4.208,23,4.29,32,4.401,45,2.665,50,5.179,89,5.916,98,4.025,124,5.352,162,3.321,193,3.764,203,4.765,241,6.43,467,3.321,514,3.368,596,6.575,656,11.491,894,3.6,921,7.402,947,6.459,1028,5.419,1116,4.67,1143,6.075,1216,8.688,1224,5.472,1257,6.539,1261,5.993,1262,5.774,1263,13.786,1380,8.688,1586,11.204,1728,6.993,1872,5.053,2222,11.555,2253,6.763,2255,10.193,2677,6.575,3236,7.365,3849,8.222,3850,8.688,3851,8.222,3990,6.993,4069,8.688,4496,8.688,4646,8.688,4773,8.688,6226,8.688,6230,8.688,6305,9.396,6306,14.293,6307,9.396,6308,14.293,6309,14.293,6310,9.396,6311,14.293,6312,9.396,6313,9.396,6314,14.293,6315,14.293,6316,9.396,6317,14.293,6318,14.293,6319,9.396,6320,9.396,6321,9.396,6322,9.396,6323,9.396]],["keywords/1266",[]],["title/1267",[33,153.915,246,376.028,1713,645.355,2253,563.222]],["content/1267",[4,1.825,5,2.698,7,3.901,12,4.357,23,3.877,24,6.081,32,4.318,33,3.021,34,4.033,35,5.052,37,3.426,65,4.095,88,4.284,149,5.183,154,6.476,198,3.338,204,5.912,222,4.804,246,7,298,6.131,427,6.476,490,4.965,716,6.36,743,12.327,785,3.81,786,5.353,843,7.974,940,7.591,1058,6.471,1254,8.448,1398,7.868,2130,8.194,2222,10.102,2253,10.484,6228,16.901,6231,9.096,6287,10.935,6324,20.404,6325,12.495,6326,12.495]],["keywords/1267",[]],["title/1268",[172,780.453,427,497.46,2253,640.323]],["content/1268",[3,6.076,19,3.959,22,5.517,23,4.04,25,1.218,32,2.795,37,3.075,52,3.639,97,6.429,98,5.658,151,4.075,154,4.855,161,4.173,162,7.431,164,6.601,171,3.449,198,3.528,241,4.909,257,5.916,348,7.476,381,4.262,427,4.855,580,6.076,1147,7.281,1937,11.069,2079,7.545,2253,10.741,2264,12.214,2266,12.214,3586,7.617,4028,10.774,4029,9.554,6228,13.969,6231,15.302,6237,14.355,6327,13.208,6328,18.313,6329,13.208,6330,13.208]],["keywords/1268",[]],["title/1269",[100,580.619,408,518.75]],["content/1269",[]],["keywords/1269",[]],["title/1270",[37,227.19,63,296.762,689,739.744]],["content/1270",[6,1.433,7,4.621,12,5.162,29,6.141,37,3.996,53,6.253,84,7.9,85,7.131,86,5.982,100,9.453,114,4.304,175,9.207,264,5.738,271,5.251,325,13.85,368,9.322,389,7.612,393,7.962,421,7.667,437,5.81,467,5.233,504,6.563,506,10.731,524,9.708,567,9.708,673,7.723,675,6.886,859,11.292,875,7.839,937,6.465,940,8.994,1204,7.612,1261,9.443,1339,6.631,1628,8.709,1874,11.969,2430,12.407,2541,11.292,2969,10.009]],["keywords/1270",[]],["title/1271",[4,140.222,100,501.136,408,447.737]],["content/1271",[1,5.617,2,2.926,4,2.224,5,1.725,14,3.004,18,2.669,19,3.779,20,3.579,21,4.608,22,4.652,23,3.848,24,2.758,25,1.427,32,2.668,33,1.033,34,1.829,35,2.291,37,4.192,46,2.586,49,8.339,50,8.606,58,4.617,60,2.981,63,1.752,65,2.619,81,5.698,88,2.74,99,2.815,100,9.002,111,3.015,122,3.507,149,3.314,152,1.591,172,4.608,176,2.916,193,3.201,198,4.171,203,6.393,204,3.781,249,4.522,251,7.009,271,7.273,273,2.764,288,3.946,297,4.429,373,2.061,389,4.109,396,2.611,398,2.992,420,4.854,452,3.696,496,3.229,506,4.332,514,2.864,520,3.617,534,5.698,539,3.716,580,7.182,703,2.981,763,9.051,777,3.561,843,3.617,861,3.716,879,4.908,1077,4.522,1112,4.75,1168,5.24,1613,4.443,1697,4.522,1893,5.493,2969,5.402,3367,3.849,3659,6.696,3715,5.166,3811,11.032,3813,4.854,3814,10.238,4426,16.17,4428,6.992,6331,6.992,6332,7.389,6333,6.696,6334,7.389]],["keywords/1271",[]],["title/1272",[3814,1221.989]],["content/1272",[4,1.556,19,4.502,25,1.329,28,6.495,33,1.942,37,2.521,40,7.628,46,4.861,65,6.549,87,5.219,100,8.865,110,10.56,125,5.942,154,5.52,198,5.338,246,6.313,308,4.861,366,7.233,375,7.834,440,6.946,496,6.068,519,8.077,554,7.19,920,7.952,993,7.233,1038,9.34,1169,6.87,1444,7.106,2969,10.154,3563,10.324,3814,9.848,3992,11.455,4572,13.142,6331,13.142,6333,12.585,6335,15.017,6336,15.017]],["keywords/1272",[]],["title/1273",[4,99.401,65,314.404,100,537.699,110,423.155,408,317.391]],["content/1273",[]],["keywords/1273",[]],["title/1274",[28,514.812,251,661.815,581,505.129,3992,907.934]],["content/1274",[4,1.343,8,6.864,19,3.885,22,5.462,23,4.258,24,6.239,25,1.202,28,5.606,32,2.743,33,1.676,34,2.968,35,3.717,37,2.176,44,3.609,50,7.145,65,5.924,100,9.082,109,8.38,142,7.625,265,4.663,308,4.196,481,7.145,504,8.013,549,6.812,572,4.63,700,9.648,785,3.953,920,6.864,1613,7.207,1633,7.405,1893,12.426,3813,7.875,3814,8.5,3923,9.648,3992,13.787,4029,6.762,4572,11.343,4574,11.986,6337,12.962]],["keywords/1274",[]],["title/1275",[251,752.413,581,574.278,6333,1134.114]],["content/1275",[4,1.626,22,6.023,23,4.135,24,7.102,25,1.368,32,3.322,34,3.594,35,4.501,37,2.635,50,8.652,100,7.619,271,5.568,389,8.071,504,9.122,827,9.646,1613,8.727,1893,14.144,2969,10.613,2985,13.736,3813,9.536,3814,10.293,4029,8.188,6331,13.736,6332,14.514,6333,13.154,6334,14.514,6338,15.696]],["keywords/1275",[]],["title/1276",[51,323.825,492,914.982,581,574.278]],["content/1276",[4,1.937,6,1.036,10,4.233,22,5.412,23,4.065,24,5.437,25,1.048,28,4.627,32,3.956,33,1.383,34,3.606,35,3.068,37,2.644,50,8.683,51,4.474,52,4.34,63,2.346,86,4.323,100,9.62,109,6.917,110,4.719,251,5.948,289,4.976,319,4.767,373,2.759,391,5.388,396,3.495,491,7.788,492,12.64,580,4.921,672,6.654,689,5.848,859,8.16,874,6.983,940,6.5,1339,4.792,1613,5.948,1631,6.055,1893,10.829,2254,6.055,2444,6.5,2502,5.318,3813,6.5,3814,7.016,3992,8.16,4029,5.581,6339,21.981,6340,10.698,6341,10.698,6342,15.752,6343,10.698,6344,10.698,6345,10.698,6346,10.698,6347,10.698]],["keywords/1276",[]],["title/1277",[58,495.646,99,476.718,581,574.278]],["content/1277",[4,1.991,22,5.88,23,4.096,24,5.629,25,1.403,28,4.851,29,4.653,32,3.451,33,1.45,34,2.568,35,3.217,37,2.738,45,3.182,46,3.631,58,8.563,99,8.236,100,9.332,108,8.507,110,4.948,171,2.929,179,5.575,198,4.356,311,4.805,381,3.62,600,6.033,843,5.077,1256,9.229,1257,7.46,1378,11.949,1613,6.237,1893,14.5,3813,6.815,3814,10.693,4029,8.507,4794,10.372,6348,11.217,6349,16.306,6350,11.217,6351,11.217]],["keywords/1277",[]],["title/1278",[100,501.136,294,1094.088,581,574.278]],["content/1278",[4,2.292,22,6.067,23,4.126,24,7.171,25,1.382,32,3.372,34,3.648,35,4.569,37,2.675,46,3.517,100,8.561,167,4.722,175,6.758,271,7.37,294,18.691,308,3.517,493,9.909,516,5.587,545,3.01,567,7.125,677,14.787,827,6.678,901,4.148,1177,6.678,1256,9.018,1257,7.289,1613,8.858,1724,10.301,1893,14.283,2502,5.401,3742,8.785,3813,9.68,3814,10.448,4029,8.311,6352,15.932,6353,10.866,6354,10.866,6355,10.866,6356,10.866]],["keywords/1278",[]],["title/1279",[100,501.136,142,796.106,581,574.278]],["content/1279",[4,1.109,8,5.665,19,3.207,22,5.769,23,4.276,24,5.437,25,1.048,28,4.627,29,4.438,32,3.333,33,1.383,34,2.449,35,3.068,37,1.796,44,2.979,45,3.035,65,5.163,100,9.033,142,14.35,151,3.301,162,3.782,175,6.654,265,3.849,308,3.463,370,6.737,481,5.897,504,4.743,549,5.623,572,3.822,700,7.963,785,3.262,920,5.665,1586,8.386,1613,5.948,1633,6.112,1893,10.829,3786,9.362,3790,7.486,3791,9.362,3792,9.362,3793,9.362,3794,9.362,3795,9.362,3796,9.362,3798,9.362,3805,9.362,3812,13.784,3813,6.5,3814,7.016,3815,9.362,3923,7.963,4029,5.581,6357,10.698]],["keywords/1279",[]],["title/1280",[100,501.136,581,574.278,4615,1184.242]],["content/1280",[22,5.709,23,3.924,24,6.612,25,0.938,32,2.984,33,1.824,34,3.229,35,4.044,37,2.368,45,5.434,53,5.957,100,8.642,111,8.209,151,4.351,202,4.338,370,8.88,373,3.637,417,9.795,777,6.284,1089,8.133,1329,7.151,1613,7.841,1893,13.169,3813,8.568,3814,9.248,3839,13.04,3992,10.757,4615,21.354,6358,14.102,6359,14.102,6360,14.102,6361,19.155,6362,14.102,6363,14.102]],["keywords/1280",[]],["title/1281",[33,202.738,314,556.163]],["content/1281",[4,1.898,22,4.808,23,3.76,25,1.218,33,2.369,44,5.101,79,9.7,87,6.366,100,6.784,314,6.498,773,7.219,879,7.132,1255,14.81,3814,12.013,4029,9.556,6364,24.674,6365,18.319,6366,18.319,6367,18.319]],["keywords/1281",[]],["title/1282",[7,331.64,72,505.648,100,393.423,134,601.311,264,307.993]],["content/1282",[4,1.897,5,3.313,6,1.486,7,3.224,8,5.469,14,3.882,23,3.301,32,3.247,33,1.335,37,2.576,46,5.927,54,4.488,100,8.406,110,4.555,124,3.867,125,4.086,142,9.028,151,5.649,154,3.796,171,4.007,172,8.85,186,3.052,192,3.472,198,2.759,217,3.689,271,6.496,297,2.93,304,5.201,308,3.343,381,3.333,382,5.31,385,5.62,408,3.417,417,4.65,467,3.651,551,4.699,580,4.751,598,6.983,673,5.387,773,4.07,785,3.149,827,6.347,901,3.942,958,4.777,1257,7.021,1300,4.751,1377,7.178,1651,8.85,1765,6.588,1821,6.874,1893,13.936,1902,11.254,2979,6.983,2982,9.55,2983,9.55,2984,9.037,2985,9.037,3007,8.655,3367,7.392,3375,6.874,3814,10.063,3815,13.429,4426,8.655,5291,8.655,6368,15.345,6369,10.327,6370,15.345,6371,10.327,6372,10.327,6373,10.327,6374,10.327,6375,15.345]],["keywords/1282",[]],["title/1283",[1021,1002.228]],["content/1283",[33,2.874,58,8.141,99,7.83]],["keywords/1283",[]],["title/1284",[45,383.895,1102,1007.258,1103,946.964]],["content/1284",[1,8.778,4,2.041,25,1.578,45,4.17,49,6.915,54,6.388,58,5.384,99,6.939,167,8.561,171,3.838,184,4.272,202,4.522,232,8.738,255,5.991,295,12.106,362,9.939,408,4.863,438,7.377,440,6.799,515,7.259,517,10.68,557,5.84,622,5.965,631,8.561,915,10.941,936,7.306,954,7.725,1102,10.941,1103,10.286,1196,9.639,1327,7.844,1889,9.256,4039,12.864,6376,14.699,6377,14.699,6378,14.699,6379,14.699,6380,14.699,6381,14.699,6382,14.699]],["keywords/1284",[]],["title/1285",[765,513.868,2023,764.557]],["content/1285",[]],["keywords/1285",[]],["title/1286",[2023,764.557,6285,1195.939]],["content/1286",[4,1.523,22,5.17,23,4.082,24,5.074,32,4.169,34,3.366,35,4.215,37,3.73,50,8.103,62,6.297,97,5.16,103,6.55,246,4.644,275,4.894,289,6.837,325,10.286,355,5.793,371,7.668,404,11.212,408,4.863,765,4.818,776,9.376,777,6.55,958,6.799,1628,8.647,2023,11.574,2116,12.319,2118,9.939,3333,11.884,6283,18.216,6284,11.522,6285,15.026,6383,12.864]],["keywords/1286",[]],["title/1287",[765,443.523,2023,659.894,2766,1032.224]],["content/1287",[4,2.238,14,5.23,22,4.981,23,4.036,24,4.803,32,4.017,34,3.186,35,3.99,37,3.627,63,3.051,217,4.97,246,4.396,275,4.633,289,6.472,298,6.828,355,5.483,371,7.258,396,4.546,408,4.604,559,8.875,765,6.221,776,9.034,777,6.2,932,6.332,1191,8.875,1628,8.185,1704,8.762,2023,11.844,2766,14.478,6284,10.907,6285,10.613,6383,12.176,6384,21.603,6385,13.914,6386,18.981]],["keywords/1287",[]],["title/1288",[217,483.395,2023,908.117]],["content/1288",[4,1.502,22,5.121,23,4.07,24,5.003,32,4.13,34,3.319,35,4.157,37,3.704,45,4.112,148,8.359,217,8.43,275,4.826,289,6.742,297,4.112,355,5.712,371,7.561,408,4.796,765,4.751,776,9.288,777,6.459,1090,11.056,1134,8.204,1628,8.527,1711,9.505,2023,12.854,3830,10.789,6284,11.362,6383,12.685,6387,19.514]],["keywords/1288",[]],["title/1289",[241,582.779,1224,913.126]],["content/1289",[33,2.572,111,9.009,198,5.314,241,7.394,293,5.568,458,9.253,765,6.52,901,7.594,1224,14.899,2023,9.701,2489,14.481]],["keywords/1289",[]],["title/1290",[241,503.001,1224,788.126,6285,1032.224]],["content/1290",[22,4.684,23,4.151,32,3.777,155,5.32,164,5.605,580,8.21,630,6.561,737,6,773,7.033,2023,8.703,2489,12.992,2819,15.619,3503,13.285,6284,13.99,6285,17.04,6388,22.339,6389,17.848,6390,16.504]],["keywords/1290",[]],["title/1291",[241,442.435,765,390.118,1224,693.228,2766,907.934]],["content/1291",[22,4.85,23,4.126,151,5.702,155,5.509,161,5.838,580,8.501,737,6.213,765,6.057,773,7.283,2489,13.453,2766,14.097,2819,16.173,3503,13.756,6284,14.487,6390,17.09,6391,18.481,6392,18.481]],["keywords/1291",[]],["title/1292",[63,296.762,689,739.744,2023,659.894]],["content/1292",[2,7.468,4,1.432,5,1.941,6,0.87,7,2.806,10,5.468,12,3.135,20,4.027,23,1.37,25,0.919,37,3.423,45,2.55,51,2.151,52,5.205,54,3.907,63,1.971,97,5.909,107,3.394,110,3.966,113,4.182,114,2.613,136,5.185,156,4.761,204,4.254,230,2.84,271,3.189,301,3.149,308,2.91,321,5.525,467,3.178,507,5.591,568,5.289,673,4.69,674,3.293,765,5.517,787,9.156,958,8.738,1030,4.412,1033,6.544,1077,5.088,1261,5.735,1412,8.313,1614,4.59,1694,6.291,1706,5.895,1826,6.857,2023,9.212,2094,6.692,2183,10.059,2281,5.984,2287,8.313,2427,6.857,2445,21.89,2692,15.064,2766,12.839,3595,12.778,4652,6.291,5317,8.313,6285,12.839,6393,8.99,6394,8.99,6395,8.99,6396,8.99,6397,8.99,6398,8.99,6399,8.99,6400,8.99,6401,8.99,6402,8.99,6403,13.819,6404,8.99,6405,8.99,6406,8.99,6407,8.99,6408,8.99,6409,8.99,6410,8.99,6411,8.99,6412,8.99,6413,8.99,6414,8.99,6415,8.99,6416,8.99,6417,8.99,6418,8.99,6419,8.99,6420,8.99,6421,8.99,6422,8.99]],["keywords/1292",[]],["title/1293",[4,123.338,52,327.97,381,384.109,391,599.526]],["content/1293",[]],["keywords/1293",[]],["title/1294",[513,932.002,6045,1229.009]],["content/1294",[4,1.094,5,2.906,6,0.621,14,2.412,20,2.874,22,1.684,23,4.228,25,0.427,32,4.151,34,1.469,40,2.449,44,4.344,52,3.709,60,6.435,63,2.952,70,1.565,103,2.859,107,1.576,124,3.955,134,3.631,148,3.7,152,2.68,154,3.882,161,2.027,162,3.733,164,4.227,166,3.478,171,1.675,179,3.189,198,2.821,229,5.924,273,2.316,319,2.859,334,1.85,373,1.654,398,2.402,402,3.7,408,2.123,457,4.338,474,3.7,496,2.592,512,5.51,513,11.66,519,3.45,531,3.507,543,6.388,557,2.549,580,2.951,648,4.04,663,3.536,674,2.35,706,5.393,737,3.551,758,2.775,771,5.393,891,3.536,894,2.458,901,4.031,926,3.276,936,3.189,958,4.885,975,9.979,1030,3.148,1066,3.423,1110,3.665,1207,3.7,1257,6.158,1354,3.898,1417,3.507,1444,6.369,1588,5.029,1595,3.99,1765,4.092,1804,5.932,2259,5.614,2303,3.45,2483,5.029,2583,5.029,2779,3.943,2959,5.932,2960,14.427,2995,5.029,3000,5.932,3001,5.932,3646,8.851,3684,6.346,5110,14.427,5113,5.932,5737,5.614,6045,12.23,6053,5.376,6168,9.242,6423,6.415,6424,6.415,6425,5.932,6426,10.561,6427,6.415,6428,6.415,6429,6.415,6430,6.415,6431,6.415,6432,5.932,6433,6.415,6434,6.415,6435,6.415,6436,6.415,6437,6.415,6438,6.415,6439,6.415,6440,6.415,6441,6.415,6442,6.415,6443,6.415,6444,6.415,6445,6.415,6446,6.415,6447,6.415]],["keywords/1294",[]],["title/1295",[52,432.005,1843,1000.13]],["content/1295",[4,1.721,5,4.608,6,0.852,20,3.942,25,0.585,33,2.148,45,2.496,51,2.106,52,3.745,60,3.283,61,4.733,63,2.981,65,2.884,69,4.243,103,6.057,149,6.889,152,3.719,154,3.235,192,2.959,205,2.287,206,4.839,215,4.625,219,5.053,223,4.525,228,3.843,230,2.78,240,4.171,246,4.294,249,4.981,272,7.965,273,3.642,301,2.006,334,2.537,357,6.276,373,4.283,381,2.84,385,3.223,393,4.733,401,3.942,405,6.99,420,8.258,428,4.733,452,4.071,512,3.602,513,8.08,543,6.15,577,5.473,638,5.075,673,8.664,674,3.223,703,3.283,716,3.177,736,5.091,771,3.526,785,2.684,786,5.823,894,3.372,901,3.359,921,4.558,940,5.347,1026,6.713,1074,7.431,1119,5.075,1444,7.859,1526,4.811,1548,5.614,1602,5.347,1843,15.877,2010,10.99,2043,9.895,2146,6.406,2250,6.898,2252,5.347,2483,6.898,2721,12.57,2886,6.05,3019,7.375,3094,7.701,4643,6.898,6045,6.898,6448,13.593,6449,8.8,6450,8.8,6451,8.8,6452,8.8,6453,8.8,6454,8.8,6455,8.8]],["keywords/1295",[]],["title/1296",[60,584.959,241,582.779]],["content/1296",[4,1.881,6,1.107,19,2.119,23,4.08,25,0.47,32,3.045,37,1.187,44,1.968,52,3.965,60,9.592,63,3.156,70,1.724,111,2.667,118,5.924,122,3.102,124,4.281,134,6.47,152,2.865,198,1.888,204,3.345,215,3.715,223,7.4,228,3.087,229,6.411,230,2.233,241,8.391,272,7.048,273,2.507,298,3.468,349,4.57,373,3.711,375,3.687,381,4.644,401,3.166,407,3.447,408,2.339,413,3.661,420,4.294,512,5.89,513,8.554,519,6.148,520,3.199,556,2.525,557,4.542,569,3.468,580,3.251,637,4.038,688,4.294,716,2.552,736,4.281,737,5.558,771,6.623,773,5.671,774,3.864,787,3.426,911,4.509,975,9.762,1219,3.405,1257,5.229,1327,3.772,1345,4.396,1417,3.864,1444,3.345,1526,3.864,1633,4.038,1931,4.451,2228,5.392,2583,5.541,2717,5.392,2783,4.294,2886,9.893,2992,13.307,3223,8.508,3646,12.06,3684,4.247,3923,5.261,5698,6.186,6045,11.28,6168,12.593,6425,10.57,6432,10.57,6456,7.068,6457,14.39,6458,7.068,6459,7.068,6460,7.068,6461,7.068,6462,7.068]],["keywords/1296",[]],["title/1297",[1609,1267.615,2524,1372.068]],["content/1297",[4,1.481,51,3.421,52,3.939,61,7.689,63,4.804,70,3.486,85,6.886,114,4.156,171,3.733,193,5.728,198,3.819,201,5.521,330,3.437,373,4.986,385,5.236,395,6.011,396,4.671,401,6.403,404,10.904,420,8.685,441,10.904,483,7.689,501,12.606,512,8.967,527,7.351,785,4.36,932,6.505,955,11.15,1000,7.689,1609,17.711,1718,10.406,1872,10.398,1926,10.004,1981,9.515,2524,16.919,3019,11.981,3110,11.981,3683,13.219,6040,13.219,6056,13.219,6463,14.296]],["keywords/1297",[]],["title/1298",[441,1032.224,501,695.85,1407,1032.224]],["content/1298",[20,7.363,23,3.577,51,5.074,63,3.605,107,4.038,147,10.486,154,6.043,183,5.178,311,7.042,381,5.305,402,9.481,413,8.514,419,9.988,441,18.913,501,10.902,512,8.679,539,7.646,901,6.275,921,8.514,993,7.918,1119,9.481,1169,7.521,1726,8.842,1983,15.434,2390,14.386,6464,21.202]],["keywords/1298",[]],["title/1299",[2,495.646,52,372.867,234,625.942]],["content/1299",[2,8.167,4,2.051,6,1.433,10,5.858,18,4.945,33,2.559,44,4.122,52,6.558,63,3.246,72,7.046,84,10.562,103,6.597,110,6.53,149,8.21,193,5.931,230,7.044,278,3.985,295,9.098,301,3.374,381,4.777,455,7.088,501,10.177,564,6.847,672,9.207,674,5.422,736,5.544,786,6.342,1035,8.994,1058,7.667,1204,7.612,1298,8.895,1711,9.708,2783,8.994,6465,14.804,6466,14.804,6467,14.804,6468,14.804,6469,14.804]],["keywords/1299",[]],["title/1300",[2,574.258,10,620.401]],["content/1300",[1,4.792,2,3.939,4,1.114,5,2.322,6,1.531,7,4.936,10,9.666,11,7.052,12,5.513,18,6.906,19,4.74,25,0.715,30,5.059,33,1.391,37,1.805,46,3.481,51,2.573,52,5.167,116,6.529,136,6.202,155,3.205,162,6.628,169,9.411,173,6.392,186,3.179,230,5.924,246,4.995,249,6.087,273,2.358,295,9.717,301,4.712,329,4.792,330,2.585,352,9.411,373,4.078,381,3.47,382,5.53,385,3.939,413,5.569,420,6.533,424,6.953,455,7.57,459,8.203,462,4.273,463,7.669,476,11.392,479,6.461,483,5.784,496,4.345,507,9.834,577,6.688,705,6.263,741,6.533,879,4.187,1030,5.277,1155,7.271,1169,7.234,1178,7.271,1298,6.461,1787,8.429,2051,9.012,2671,7.052,2720,6.771,3560,7.828,3715,6.953,3770,8.004,6008,9.944,6470,10.754,6471,15.811,6472,10.754]],["keywords/1300",[]],["title/1301",[2,435.966,281,461.561,297,337.67,379,544.573]],["content/1301",[2,3.279,4,1.739,6,1.625,7,4.299,11,5.87,12,6.572,16,4.603,18,2.99,33,2.171,46,4.458,51,4.869,65,2.934,69,5.24,70,2.183,72,6.555,88,3.069,112,5.87,149,3.713,155,2.668,181,2.385,182,1.786,184,2.987,198,2.391,200,3.34,201,3.457,205,3.579,210,5.958,215,4.704,219,7.006,220,3.164,223,4.603,228,3.91,230,2.828,240,1.999,246,4.351,264,3.993,281,8.96,297,2.539,301,3.826,308,4.458,311,3.835,361,5.021,373,2.309,375,4.67,381,4.444,382,4.603,432,4.704,455,4.286,460,6.828,499,4.704,507,5.567,562,5.163,567,5.87,569,4.393,582,5.021,664,4.479,711,3.799,716,3.232,786,3.835,888,4.67,894,5.278,996,4.052,1028,5.163,1058,4.636,1072,6.264,1134,5.067,1173,5.321,1187,5.788,1192,5.567,1204,4.603,1602,5.438,1694,6.264,1706,5.87,1708,9.469,1858,7.017,2058,5.71,2062,5.958,2089,5.87,2253,4.236,2492,13.056,2598,6.828,2988,7.237,3008,8.277,3561,6.828,3758,12.656,4040,13.545,6473,8.951,6474,8.951,6475,8.951,6476,8.951,6477,8.951]],["keywords/1301",[]],["title/1302",[674,574.258,688,952.558]],["content/1302",[33,2.524,52,5.378,107,4.795,181,5.201,191,5.868,200,7.283,495,17.082,674,7.15,1435,14.529,2141,12.452,6478,19.52,6479,19.52,6480,19.52,6481,19.52,6482,19.52,6483,19.52]],["keywords/1302",[]],["title/1303",[225,485.1,277,780.453,501,695.85]],["content/1303",[]],["keywords/1303",[]],["title/1304",[25,104.266,501,806.215]],["content/1304",[4,0.841,6,1.731,9,3.712,18,2.711,25,1.189,33,2.312,40,4.871,46,2.627,63,1.78,65,2.66,69,3.983,70,1.979,107,1.993,122,3.562,147,5.176,152,1.616,154,2.983,155,2.419,162,2.868,176,4.657,181,4.764,184,3.42,186,2.398,192,2.728,193,3.251,205,5.05,219,3.016,220,2.868,222,2.213,230,5.648,240,4.608,246,4.031,249,4.593,278,2.184,297,4.474,301,1.849,314,2.878,329,3.616,330,1.951,334,2.34,373,4.067,382,4.173,385,2.972,387,7.432,388,8.846,392,3.774,394,4.115,401,3.635,413,4.202,421,4.202,451,4.987,452,3.753,455,3.885,464,6.04,482,4.436,483,4.364,485,6.361,499,4.265,501,12.727,507,5.047,641,5.678,642,3.635,645,7.507,661,5.176,674,2.972,694,4.033,716,4.607,736,4.779,740,3.774,772,3.366,785,4.809,894,3.11,912,4.233,972,5.321,985,3.774,996,3.673,1032,5.579,1160,4.115,1169,3.712,1173,4.824,1268,4.202,1314,5.787,1332,4.364,1377,3.796,1609,6.561,1610,5.047,1633,4.636,1694,5.678,1843,5.176,1926,5.678,2030,15.646,2031,9.101,2043,5.907,2045,6.801,2117,8.368,2161,6.19,2507,6.561,2771,6.19,3043,7.101,6484,12.761,6485,8.115,6486,8.115,6487,7.504,6488,8.115,6489,8.115,6490,8.115]],["keywords/1304",[]],["title/1305",[277,1074.687]],["content/1305",[5,4.036,6,1.81,18,3.574,25,1.243,33,2.842,46,5.099,65,3.506,67,4.305,69,3.34,72,5.092,76,6.359,88,3.668,152,3.722,155,3.189,162,3.782,189,5.463,205,2.78,206,3.808,225,3.835,227,5.501,228,4.672,229,6.001,230,6.515,231,7.63,254,6.359,271,3.795,277,14.36,279,9.363,280,6.824,301,2.438,368,6.737,381,3.452,382,5.501,385,3.918,400,4.817,427,3.933,437,4.199,501,5.501,580,4.921,598,7.234,610,9.893,664,7.881,673,5.581,716,5.687,773,6.207,785,6.703,886,3.822,942,6.428,967,7.788,971,6.359,985,4.976,1219,5.153,1268,8.158,1300,7.246,1377,5.004,1633,6.112,1796,6.5,2444,6.5,2541,8.16,2771,8.16,2779,11.489,2847,8.966,3339,8.65,5348,8.966,5804,9.893,6491,10.698,6492,10.698,6493,10.698]],["keywords/1305",[]],["title/1306",[225,667.984]],["content/1306",[25,1.403,184,4.576,185,5.098,204,9.985,225,9.402,630,7.757]],["keywords/1306",[]],["title/1307",[185,378.748,225,562.039]],["content/1307",[4,1.257,5,2.619,18,5.763,25,0.807,33,2.231,51,2.903,65,3.976,67,4.881,69,5.385,88,4.16,122,5.325,125,4.8,151,3.743,152,4.353,154,4.46,155,3.616,166,6.577,182,3.442,184,3.741,185,4.85,225,8.606,230,7.298,240,2.709,278,5.404,281,6.69,381,3.915,451,7.455,455,10.469,490,4.82,552,6.376,614,5.247,652,5.808,668,6.283,736,4.543,785,6.122,894,4.649,1074,6.631,1115,8.831,1160,6.152,1192,7.545,1268,6.283,1377,8.07,1796,7.37,2671,7.955,2720,7.639,2779,7.455,3560,12.558,4917,9.808,5346,11.218,5348,10.167,5746,11.218,5749,11.218]],["keywords/1307",[]],["title/1308",[184,340.004,225,562.039]],["content/1308",[18,7.267,25,0.938,69,4.402,86,7.74,88,4.835,152,5.011,162,4.985,184,5.458,185,3.407,193,5.65,198,3.767,205,5.652,206,5.02,220,8.249,222,3.845,225,8.365,230,4.455,240,4.277,242,7.774,277,8.133,347,6.487,490,5.603,661,8.996,674,5.165,745,10.471,772,5.85,919,9.868,1116,9.521,1332,7.585,1339,6.317,2720,8.88,3560,10.265,4767,12.341]],["keywords/1308",[]],["title/1309",[225,485.1,241,503.001,1309,636.63]],["content/1309",[4,1.685,7,2.657,14,3.2,18,5.432,22,2.234,23,4.219,25,0.881,32,2.803,34,1.949,54,7.068,62,3.647,63,1.867,151,2.626,152,3.238,158,5.36,161,5.138,198,3.539,201,3.288,204,6.268,224,2.581,225,8.852,228,3.718,230,2.689,241,6.821,246,2.689,267,7.134,277,4.909,301,3.706,347,6.094,373,2.195,380,6.197,381,4.275,500,5.957,556,3.041,572,3.041,652,4.076,745,10.869,765,2.79,772,6.746,785,2.596,857,4.377,880,6.493,891,4.693,993,4.1,1024,4.005,1169,3.895,1309,10.341,1310,4.958,2058,5.43,2079,4.863,2106,4.909,2121,5.231,2131,5.115,2281,5.666,2444,5.172,2495,5.36,2598,6.493,2687,12.25,2688,7.872,2690,7.449,2691,7.872,2692,9.27,2693,6.071,2694,7.872,2695,7.872,2698,7.872,3174,5.756,3739,7.134,4421,10.71,5014,7.449,5021,7.872,5318,6.882,6494,8.513,6495,8.513,6496,8.513,6497,8.513]],["keywords/1309",[]],["title/1310",[4,140.222,25,89.993,300,745.978]],["content/1310",[]],["keywords/1310",[]],["title/1311",[4,162.462,630,576.359]],["content/1311",[4,1.696,6,0.673,23,4.327,32,4.295,33,1.458,34,4.12,35,1.993,36,5.882,37,1.167,87,2.415,111,2.623,124,2.603,151,2.144,152,2.245,161,3.562,167,4.9,191,2.089,198,1.857,224,4.963,271,2.465,334,2.004,407,3.389,517,3.768,572,2.483,630,7.084,645,4.089,694,3.455,723,4.699,758,3.006,765,3.696,766,9.116,767,3.971,768,6.441,769,5.059,770,3.432,772,4.677,773,6.45,776,3.308,787,3.368,806,3.348,845,4.558,901,5.431,975,6.064,1040,7.193,1143,4.494,1156,5.302,1219,3.348,1257,3.18,1278,3.432,1320,3.738,1903,5.173,2106,6.503,2381,5.059,2495,4.377,2719,5.825,2942,5.448,2980,5.448,4054,6.427,4515,8.848,4534,6.427,4599,9.45,4603,6.082,4620,8.601,4955,13.718,4956,10.356,5417,6.427,6498,6.95,6499,6.95,6500,14.226,6501,11.276,6502,14.226,6503,6.95,6504,6.95,6505,14.226,6506,6.95,6507,11.276,6508,6.95,6509,6.95,6510,6.95,6511,6.95,6512,6.95,6513,6.95,6514,6.95,6515,6.95,6516,6.95,6517,6.95,6518,6.95,6519,6.95,6520,6.95,6521,6.95,6522,6.95]],["keywords/1311",[]],["title/1312",[44,331.436,182,237.492,414,465.275,544,444.09]],["content/1312",[]],["keywords/1312",[]],["title/1313",[46,385.295,501,612.063,2106,686.479,2304,866.461]],["content/1313",[4,2.312,25,0.738,33,2.092,40,4.236,46,6.181,53,4.688,69,3.464,70,3.946,97,3.896,105,6.017,114,4.704,152,2.209,155,5.692,156,8.568,182,2.214,184,2.407,186,3.28,206,5.759,219,4.125,225,3.978,227,5.706,238,7.503,239,5.666,240,3.613,246,3.506,277,6.4,278,2.987,301,2.529,311,4.754,321,6.82,330,3.89,373,4.173,395,8.029,414,4.338,448,8.972,467,3.923,499,5.832,501,11.472,533,6.281,537,3.637,544,4.14,580,5.105,632,9.518,668,8.379,711,4.709,716,4.006,888,8.441,919,7.766,967,11.778,1109,9.889,1134,10.808,1157,6.597,1170,5.666,1648,7.766,1872,5.969,2098,6.988,2106,9.331,2252,6.742,2301,7.079,2304,8.078,3158,8.972,3159,9.711,3919,8.078,3963,8.465,6139,10.262,6523,11.097]],["keywords/1313",[]],["title/1314",[46,385.295,107,292.374,181,317.157,501,612.063]],["content/1314",[4,1.432,6,1.338,11,9.064,14,5.196,18,4.617,23,2.88,33,2.443,70,3.371,97,4.852,107,3.395,152,2.752,171,3.609,176,5.044,181,3.683,182,2.758,184,2.997,192,4.647,205,5.594,220,4.886,230,5.969,240,4.219,273,3.031,314,6.702,329,6.159,330,3.323,373,3.564,388,7.753,427,5.081,452,6.393,501,9.716,545,5.234,674,5.062,806,6.658,1258,16.535,1332,7.434,1403,9.857,1547,9.2,1564,8.817,1650,8.216,2117,9.064,2720,8.703,3245,12.781,3561,10.543,6524,21.529,6525,18.895,6526,18.895]],["keywords/1314",[]],["title/1315",[273,296.762,414,528.967,1021,727.832]],["content/1315",[4,1.466,6,0.898,7,2.894,14,5.318,15,5.399,23,3.151,32,2.994,33,2.673,34,3.239,40,3.539,53,3.916,63,2.033,65,4.637,69,2.894,88,4.851,103,4.131,152,1.846,155,2.763,156,4.909,161,2.929,166,5.026,171,2.421,183,2.92,185,3.417,204,8.118,219,3.446,230,4.469,240,2.07,241,8.099,246,2.929,271,3.288,272,3.952,273,4.97,289,4.312,330,4.615,373,5.619,401,4.152,405,4.767,414,6.706,417,9.811,455,8.214,501,4.767,543,6.353,652,4.438,716,5.107,736,3.472,771,3.714,858,4.669,886,3.311,897,6.079,902,5.296,926,4.733,1021,4.986,1074,5.067,1326,5.697,1560,6.373,1651,11.922,2114,6.079,2136,6.487,2242,7.267,2308,8.908,2542,6.748,2937,8.572,3448,7.495,3715,5.994,6527,9.27,6528,19.197,6529,9.27,6530,14.147,6531,9.27,6532,9.27,6533,9.27,6534,9.27,6535,9.27,6536,9.27,6537,9.27]],["keywords/1315",[]],["title/1316",[184,340.004,705,913.126]],["content/1316",[4,1.106,6,1.232,14,4.014,18,3.567,23,1.627,33,2.307,40,1.784,44,1.301,46,4.651,58,1.712,65,3.5,69,1.459,70,3.504,72,2.224,88,5.784,99,1.646,100,1.731,104,3.16,107,1.985,114,1.359,152,2.126,154,1.718,156,2.475,162,3.775,166,2.534,171,2.11,181,3.389,184,5.044,185,1.952,188,2.622,191,2.43,192,1.571,201,6.515,205,5.803,206,1.664,209,4.09,219,3.004,220,1.652,222,1.274,223,2.403,229,2.622,230,1.476,234,2.162,240,2.384,246,2.553,249,4.574,254,2.778,264,2.343,273,4.817,279,2.778,283,6.773,288,2.308,301,3.275,315,1.522,330,3.455,334,2.33,357,3.333,364,2.534,373,4.816,381,4.105,382,2.403,387,4.707,388,4.533,389,4.156,391,2.354,398,1.75,400,2.104,407,3.941,414,1.827,417,5.727,421,2.42,451,4.967,455,3.87,458,2.174,460,3.565,465,3.479,479,2.808,501,4.156,545,2.239,555,5.027,619,7.474,660,2.622,663,4.455,664,2.338,668,2.42,674,1.712,704,2.456,705,6.219,716,4.592,718,1.897,723,3.16,736,1.75,740,2.174,754,3.664,758,3.496,771,1.873,786,2.002,875,2.475,888,2.438,891,2.576,894,1.791,912,2.438,915,3.479,969,3.16,1021,2.514,1030,2.293,1049,2.872,1109,4.186,1114,2.386,1165,5.3,1173,6.347,1189,5.027,1219,2.251,1257,2.138,1268,2.42,1300,2.15,1315,2.943,1332,2.514,1356,2.981,1427,2.494,1526,2.555,1564,2.981,1631,4.574,1650,7.561,1711,3.065,1714,4.322,1889,8.01,1926,3.271,2018,3.664,2089,3.065,2114,3.065,2165,3.16,2321,6.724,2424,6.534,2444,2.84,2669,3.16,2677,5.656,2708,3.664,2714,7.341,2724,3.479,2760,4.322,2768,8.901,2769,6.165,2771,9.703,2779,2.872,2845,3.779,2913,6.016,3058,3.565,3560,3.402,3564,3.333,3627,4.322,3677,3.917,3919,3.402,5469,4.322,6487,7.474,6538,4.674,6539,4.674,6540,4.674,6541,4.674,6542,4.674,6543,4.674,6544,4.674,6545,8.082,6546,4.674,6547,4.674,6548,4.674,6549,4.674,6550,4.674,6551,4.674,6552,4.674,6553,4.674,6554,4.674,6555,4.674,6556,4.674,6557,4.674,6558,4.674,6559,4.674,6560,4.674,6561,4.674,6562,4.674,6563,4.674,6564,4.674]],["keywords/1316",[]],["title/1317",[206,481.704,240,302.163,2023,659.894]],["content/1317",[33,1.676,44,3.609,70,4.408,107,3.184,152,4.143,155,3.864,191,3.896,205,4.696,206,4.614,240,4.647,246,4.095,254,7.705,263,10.479,273,5.378,274,8.38,322,4.765,330,5.414,373,3.343,396,5.906,414,5.067,417,8.138,440,5.995,451,7.966,592,7.875,736,4.854,894,4.967,993,10.025,1039,9.887,1114,6.618,1170,6.618,1192,8.061,1313,7.705,1326,7.966,1339,5.806,1633,7.405,1650,12.371,2023,10.98,2049,8.38,2099,10.863,2114,8.5,2242,10.16,2747,11.986,3746,10.863,6565,12.962,6566,12.962,6567,12.962,6568,12.962]],["keywords/1317",[]],["title/1318",[116,647.46,514,562.039]],["content/1318",[6,0.99,12,3.566,14,3.844,15,5.955,19,3.065,25,0.68,33,1.322,46,4.931,49,4.811,69,3.192,70,2.494,88,3.506,111,3.859,114,2.973,116,8.908,152,3.033,156,5.415,162,7.625,166,5.544,171,2.67,177,7.833,183,3.221,186,3.022,189,5.221,192,3.438,205,2.657,228,6.653,229,5.736,230,3.23,241,7.498,246,4.812,249,5.788,273,5.396,278,2.753,321,6.284,330,3.662,373,4.695,381,4.916,388,5.736,389,5.258,407,7.428,414,5.954,421,5.296,455,4.896,514,7.231,543,8.676,545,4.219,569,5.018,630,3.759,703,3.815,716,3.692,785,3.118,981,5.842,982,5.457,1021,5.5,1332,8.193,1526,5.59,1651,11.634,2114,9.99,2130,6.706,2152,7.8,2288,10.3,2444,6.213,2779,6.284,3114,11.089,6569,10.226]],["keywords/1318",[]],["title/1319",[385,495.646,435,619.122,1021,727.832]],["content/1319",[5,3.024,6,2.253,22,3.676,53,5.917,107,3.441,151,4.322,152,3.796,162,4.952,182,3.804,192,4.709,205,4.954,206,4.986,215,7.362,238,12.892,271,6.764,301,3.192,330,4.584,414,5.475,435,11.138,545,3.88,568,8.24,580,8.771,706,7.152,736,5.246,765,6.249,931,8.326,954,7.362,1021,10.255,1183,7.722,1649,10.98,1650,8.326,1651,10.997,1726,7.534,1765,8.935,1931,8.82,2673,12.258,3960,12.258,3961,12.258,3963,10.685,5254,12.953,6570,14.007]],["keywords/1319",[]],["title/1320",[156,716.592,414,528.967,6571,1353.247]],["content/1320",[4,2.266,5,2.619,9,5.55,14,6.485,33,2.231,43,9.509,46,3.927,65,3.976,97,6.057,100,6.389,107,2.98,114,3.527,151,3.743,152,4.6,156,6.424,180,5.58,181,3.232,184,4.354,186,5.934,192,5.8,220,7.73,229,6.805,230,3.832,234,10.114,248,6.577,262,10.713,273,2.66,301,2.765,308,3.927,315,3.951,341,7.211,372,7.844,394,8.748,400,7.768,414,4.742,417,7.768,468,5.55,472,10.616,482,6.631,545,3.36,556,4.333,557,4.82,614,5.247,642,5.434,1112,7.211,1180,7.289,1228,8.652,1329,6.152,1779,8.34,2112,7.955,3052,10.616,6572,12.131,6573,12.131,6574,12.131]],["keywords/1320",[]],["title/1321",[273,296.762,543,501.136,561,636.63]],["content/1321",[2,8.051,5,3.401,14,4.022,15,6.231,23,1.631,33,1.383,61,5.754,65,3.506,69,3.34,88,6.41,114,3.11,122,4.696,124,4.006,152,4.106,161,3.38,171,2.794,176,3.904,177,8.1,180,4.921,182,2.135,186,4.656,188,6.001,189,5.463,201,4.132,205,2.78,206,3.808,222,4.295,224,5.668,227,5.501,228,4.672,246,3.38,273,5.552,361,6.001,373,4.062,403,8.65,414,4.182,417,4.817,476,6.5,484,6.001,490,6.259,543,8.514,544,3.991,561,10.341,572,3.822,607,5.8,703,3.991,716,5.687,736,4.006,740,4.976,765,3.506,773,4.216,943,5.623,958,4.948,1007,5.623,1030,5.25,1219,5.153,1479,6.001,1564,6.824,1607,9.893,1650,6.359,1712,7.486,2089,7.016,2098,6.737,2136,7.486,2239,7.788,2444,6.5,2459,8.65,3320,8.386]],["keywords/1321",[]],["title/1322",[297,444.782,300,864.293]],["content/1322",[14,5.605,97,6.982,114,4.334,151,4.6,152,4.455,161,4.71,177,7.667,200,5.563,224,6.03,228,6.512,230,4.71,256,7.014,264,4.322,273,4.907,300,8.219,301,3.398,395,6.269,417,6.713,421,7.722,543,7.364,580,6.859,630,9.141,716,7.18,765,4.887,858,7.51,897,9.777,942,8.958,1377,6.974,1560,10.25,1595,9.273,1631,8.439,2051,12.495,2114,9.777,2303,8.019,2560,9.777,3465,13.048,4067,13.787]],["keywords/1322",[]],["title/1323",[414,612.864,2065,1267.615]],["content/1323",[44,5.239,53,7.947,114,5.47,152,4.595,184,4.08,225,6.745,273,4.126,373,4.852,451,11.563,736,8.644,895,15.768,1021,10.119,1116,9.352,1651,10.851,1713,10.201,6575,23.082,6576,18.815]],["keywords/1323",[]],["title/1324",[33,202.738,6577,1567.878]],["content/1324",[4,1.69,5,3.52,6,1.579,7,3.502,10,4.438,23,2.485,25,0.746,33,2.484,37,1.883,40,4.282,51,3.902,63,2.46,65,3.676,75,10.543,98,4.805,100,7.115,109,7.252,114,3.261,152,2.233,156,5.94,184,5.07,186,4.82,205,4.992,206,3.993,222,3.059,225,4.021,240,2.505,260,5.809,276,6.815,277,6.469,283,9.4,298,5.504,301,2.556,372,7.252,373,4.955,385,4.108,398,4.201,407,5.47,417,8.65,454,7.252,465,8.349,476,6.815,488,13.666,501,8.385,674,4.108,688,6.815,735,5.05,736,4.201,1021,8.77,1356,7.155,1365,8.165,1614,5.727,1961,6.668,2031,8,2421,8.349,2422,9.069,2740,9.4,2771,8.556,2772,10.372,2938,10.372,2954,9.4,3831,9.4,4304,10.372,6578,11.217,6579,11.217,6580,11.217,6581,11.217,6582,11.217,6583,11.217,6584,11.217]],["keywords/1324",[]]],"invertedIndex":[["",{"_index":23,"title":{"307":{"position":[[56,1]]},"312":{"position":[[18,1]]},"472":{"position":[[5,1]]},"479":{"position":[[17,1]]},"550":{"position":[[0,2]]},"558":{"position":[[16,1]]},"629":{"position":[[40,1]]},"645":{"position":[[0,2]]},"651":{"position":[[0,2]]},"693":{"position":[[31,1]]},"695":{"position":[[25,1]]},"709":{"position":[[13,1],[25,1]]},"713":{"position":[[0,2]]},"761":{"position":[[38,3]]},"777":{"position":[[12,1]]},"822":{"position":[[8,1]]},"840":{"position":[[9,1]]},"898":{"position":[[16,1]]},"941":{"position":[[8,2]]},"956":{"position":[[8,1]]},"970":{"position":[[13,2]]},"1046":{"position":[[8,2]]},"1058":{"position":[[8,2]]},"1060":{"position":[[8,1]]},"1061":{"position":[[9,1]]},"1062":{"position":[[9,1]]},"1190":{"position":[[0,2]]},"1243":{"position":[[0,2]]},"1244":{"position":[[0,2]]},"1245":{"position":[[0,2]]}},"content":{"1":{"position":[[326,1],[345,1],[366,1],[386,1],[417,2],[528,1],[612,3]]},"2":{"position":[[98,2],[128,2],[226,2],[294,1],[331,1],[414,2],[443,3]]},"3":{"position":[[106,2],[211,1],[292,3]]},"4":{"position":[[272,2],[389,1],[476,3]]},"5":{"position":[[188,2],[299,1],[383,3]]},"6":{"position":[[255,2],[287,2],[385,2],[455,1],[494,1],[579,2],[608,3],[612,2],[673,1],[777,2],[806,3]]},"7":{"position":[[210,2],[331,1],[415,2],[443,3],[447,2],[508,1],[611,2],[639,3]]},"8":{"position":[[498,1],[515,1],[550,1],[564,1],[574,1],[594,1],[608,1],[618,1],[620,2],[674,1],[732,1],[751,1],[773,1],[809,1],[974,1],[1100,1],[1197,2],[1225,3]]},"9":{"position":[[122,2],[245,1],[340,2],[368,3]]},"10":{"position":[[51,2],[159,2],[236,1],[283,1],[375,2],[404,3],[417,1],[428,1]]},"11":{"position":[[89,2],[201,3],[205,1],[300,1],[319,1],[419,1],[508,2],[576,1],[607,1],[650,2],[659,1],[668,3],[672,3],[676,1],[708,2],[809,1],[902,2],[951,1],[953,2],[1069,1],[1071,1],[1073,3],[1077,1]]},"19":{"position":[[610,2],[651,1],[776,3],[780,2],[823,1],[869,1],[951,3]]},"50":{"position":[[201,3],[205,1],[274,1],[357,1],[475,2]]},"51":{"position":[[186,1],[205,1],[233,2],[272,1],[274,1],[401,1],[407,1],[440,2],[449,1],[466,2],[476,1],[493,1],[495,2],[523,2],[557,1],[584,1],[659,1],[661,2],[691,1],[736,2],[800,3],[804,2],[857,1],[878,1],[880,3],[895,1]]},"52":{"position":[[74,2],[159,3],[163,2],[207,1],[247,2],[250,1],[295,1],[297,3],[301,2],[334,1],[381,1],[419,1],[438,1],[451,2],[471,1],[509,1],[524,1],[562,1],[592,1],[594,3],[598,2],[618,1],[656,1],[671,1]]},"54":{"position":[[108,1],[123,1],[167,3],[177,2],[192,2],[195,5],[201,1],[255,1],[273,2],[286,2]]},"55":{"position":[[184,1],[206,1],[241,1],[271,1],[302,1],[313,1],[456,1],[465,1],[509,1],[559,1],[604,2],[607,2],[610,1],[612,2],[615,1],[675,1],[694,1],[729,1],[756,1],[807,1],[826,1],[865,1],[997,3],[1029,4],[1096,1],[1194,2],[1207,2]]},"61":{"position":[[237,1]]},"77":{"position":[[210,1],[242,1],[249,1],[259,1],[261,1],[263,3],[282,1],[316,1],[344,1],[346,1],[365,3]]},"103":{"position":[[250,1],[282,1],[289,1],[299,1],[301,1],[303,3],[322,1],[356,1],[384,1],[386,1],[405,3]]},"130":{"position":[[438,1],[440,1],[455,1],[481,2],[503,2],[522,3],[532,2],[547,2],[550,2],[553,3],[557,1],[600,1]]},"143":{"position":[[398,2],[462,3],[472,2],[487,2],[490,2],[517,1],[526,1],[559,1],[572,3],[576,2],[599,1],[643,3],[653,2],[668,2],[671,2],[698,1],[711,1],[744,1],[772,2],[775,2]]},"188":{"position":[[645,1],[664,1],[686,1],[705,1],[750,1],[807,1],[838,2],[926,1],[928,2],[962,1],[989,2],[1145,3],[1170,3],[1208,1],[1218,1],[1278,1],[1284,1],[1317,2],[1326,1],[1359,2],[1369,1],[1401,1],[1403,2],[1459,1],[1461,1],[1463,3],[1478,1],[1480,2],[1603,2],[2265,1],[2567,2],[2647,1],[2722,2],[2766,1],[2802,2],[2843,1],[3006,3],[3010,2],[3063,1],[3100,2],[3192,1],[3194,3],[3198,2],[3249,1],[3263,1],[3275,1],[3286,3],[3290,3]]},"209":{"position":[[8,1],[27,1],[62,1],[89,1],[140,1],[164,1],[223,1],[234,1],[354,3],[391,1],[401,1],[483,1],[489,1],[522,2],[532,1],[549,2],[562,1],[580,1],[582,1],[584,1],[586,1],[588,3],[592,2],[717,1],[747,1],[749,2],[797,1],[845,1],[900,2],[903,3],[933,2],[972,1],[974,2],[983,1],[1034,1],[1036,2],[1095,1],[1213,2],[1246,1],[1248,2],[1262,3],[1277,1]]},"210":{"position":[[153,1],[203,1],[262,1],[533,2],[536,3],[582,1],[620,3]]},"211":{"position":[[70,1],[89,1],[124,1],[151,1],[204,1],[286,3],[352,1],[362,1],[445,1],[451,1],[484,2],[496,1],[513,1],[515,1],[517,1],[519,1],[521,3]]},"234":{"position":[[310,1],[342,1],[349,1],[359,1],[361,1],[363,3],[382,1],[416,1],[444,1],[446,1],[465,3]]},"235":{"position":[[342,1],[344,1]]},"255":{"position":[[355,1],[374,1],[409,1],[436,1],[487,1],[511,1],[570,1],[581,1],[698,3],[735,1],[745,1],[827,1],[833,1],[866,2],[876,1],[893,2],[902,1],[920,1],[922,1],[924,1],[926,1],[928,3],[932,2],[1069,1],[1104,1],[1106,2],[1151,1],[1191,1],[1248,2],[1251,3],[1255,2],[1307,1],[1309,2],[1318,1],[1369,1],[1371,2],[1414,1],[1548,1],[1550,2],[1564,2],[1593,3],[1608,1]]},"258":{"position":[[8,1],[27,1],[62,1],[89,1],[142,1],[219,3]]},"259":{"position":[[34,1],[44,1],[127,1],[133,1],[166,2],[175,1],[192,1],[194,1],[196,1],[198,1],[200,3]]},"261":{"position":[[221,1],[271,1],[335,1],[405,2],[522,2],[626,2],[774,3],[784,3],[788,2],[818,2],[821,2],[845,3],[849,2],[943,1],[984,3]]},"266":{"position":[[547,1],[566,1],[588,1],[609,1],[656,1],[732,3]]},"269":{"position":[[20,1]]},"276":{"position":[[397,1],[439,1],[447,1],[460,1],[462,1]]},"300":{"position":[[229,1],[284,1],[315,1]]},"302":{"position":[[421,1],[683,1],[694,1],[751,1],[834,1],[850,1],[867,3],[893,1],[976,2],[1027,2],[1052,2],[1083,1],[1090,1],[1092,2],[1163,1],[1165,1]]},"303":{"position":[[444,2],[535,1],[537,1],[657,1],[659,1],[717,2],[720,1],[778,1],[780,1],[782,2],[802,1],[804,1],[896,1],[898,1],[941,2],[944,1],[987,1],[989,1],[991,2]]},"314":{"position":[[307,1],[326,1],[361,1],[388,1],[456,1],[467,1],[571,2],[610,2],[663,3],[700,1],[710,1],[793,1],[799,1],[816,2],[828,1],[845,2],[859,1],[876,1],[878,2],[898,1],[900,1],[902,3],[917,1]]},"315":{"position":[[169,1],[207,1],[258,1],[285,1],[336,1],[355,1],[416,1],[441,1],[517,3],[530,1],[636,3],[675,1],[685,1],[769,1],[775,1],[792,2],[801,1],[818,1],[820,2],[841,2],[915,1],[917,1],[919,3],[934,1]]},"316":{"position":[[142,1],[152,1],[210,2],[278,1],[284,1],[301,2],[313,1],[330,2],[344,1],[382,1],[384,1],[386,1],[388,1],[390,3]]},"334":{"position":[[172,1],[191,1],[213,1],[240,1],[314,1],[325,1],[431,2],[484,2],[523,2],[551,3],[587,1],[597,1],[679,1],[685,1],[702,2],[711,1],[728,2],[739,1],[756,1],[758,1],[760,1],[762,1],[764,3],[779,1]]},"335":{"position":[[104,2],[180,2],[183,1],[194,1],[218,2],[271,2],[274,2],[318,1],[320,2],[362,2],[421,1],[537,3],[541,3],[545,3],[549,2],[616,2],[625,1],[642,1],[683,1],[808,3],[812,3],[816,3]]},"356":{"position":[[337,1],[387,2],[657,1]]},"361":{"position":[[452,2],[532,1],[534,1],[654,1],[656,1],[714,2],[717,1],[775,1],[777,1],[779,2],[799,1],[801,1],[893,1],[895,1],[938,2],[941,1],[984,1],[986,1],[988,2]]},"367":{"position":[[671,2],[709,1],[711,1],[743,2],[822,1],[828,1],[861,2],[910,2],[919,1],[952,2],[961,1],[979,2],[993,1],[1031,1],[1033,2],[1082,1]]},"391":{"position":[[431,1],[442,1],[501,1],[604,1],[617,1],[651,1],[670,1],[716,3],[752,1]]},"392":{"position":[[214,1],[233,1],[255,1],[282,1],[335,1],[418,3],[559,1],[569,1],[629,1],[635,1],[667,2],[676,1],[693,1],[695,2],[723,1],[725,1],[727,3],[753,1],[931,1],[986,1],[1035,1],[1079,1],[1121,2],[1525,1],[1535,1],[1595,1],[1601,1],[1633,2],[1647,1],[1671,1],[1688,1],[1690,1],[1692,2],[1725,1],[1727,1],[1729,3],[1756,1],[2627,1],[2777,1],[2823,1],[2841,1],[2937,3],[2941,4],[2946,1],[2948,3],[3484,2],[3504,1],[3524,1],[3556,1],[3574,1],[3592,1],[3671,3],[3675,2],[3808,2],[3855,1],[4001,1],[4017,1],[4111,1],[4124,1],[4163,1],[4178,1],[4190,1],[4217,1],[4228,1],[4241,1],[4243,3],[4292,1],[4309,1],[4327,1],[4344,3],[4352,1],[4427,1],[4429,2],[4508,3],[4512,3],[4516,1],[4533,1],[4682,2],[4730,1],[4780,1],[4798,1],[4845,2],[4848,3],[4852,2],[4855,3],[4859,1],[4861,3]]},"393":{"position":[[923,1],[943,1],[988,1],[1056,2]]},"394":{"position":[[474,1],[494,1],[531,1],[560,1],[604,1],[643,1],[701,1],[760,1],[787,2],[851,4],[874,1]]},"397":{"position":[[484,1],[486,1],[518,2],[534,1],[536,1],[664,1],[682,1],[749,2],[775,1],[833,1],[872,1],[874,2],[877,2],[1047,2],[1072,1],[1202,2],[1226,1],[1317,1],[1319,1],[1626,1],[1646,1],[1708,1],[1710,3],[1732,4],[1752,1],[1818,1],[1864,1],[1882,1],[1928,1],[1930,1],[1959,2],[1962,2],[2078,1],[2097,1],[2163,1],[2170,1],[2201,3],[2245,4],[2250,1],[2252,3]]},"398":{"position":[[749,1],[774,1],[798,1],[892,1],[916,1],[1002,1],[1058,1],[1067,1],[1073,1],[1113,1],[1115,2],[1124,2],[1134,1],[1147,3],[1220,1],[1229,1],[1235,1],[1275,1],[1277,2],[1286,2],[1296,1],[1308,3],[1346,3],[1435,2],[1438,2],[1464,1],[1503,1],[1520,1],[1589,1],[1605,2],[1608,3],[1625,1],[1707,1],[1747,2],[1750,1],[1990,1],[2040,1],[2066,1],[2110,1],[2178,1],[2202,1],[2270,1],[2288,1],[2316,1],[2358,1],[2367,1],[2373,1],[2459,1],[2468,1],[2470,2],[2479,2],[2489,1],[2501,3],[2562,1],[2573,1],[2588,2],[2591,2],[2617,1],[2656,1],[2673,1],[2742,1],[2758,2],[2761,3],[2778,1],[2860,1],[2900,2],[2903,2],[3249,1],[3253,1]]},"400":{"position":[[288,2],[298,1],[311,3]]},"403":{"position":[[485,1],[487,1],[513,2],[615,1],[617,2],[620,3],[624,2],[627,2],[630,2],[633,3],[637,2],[640,2],[762,1],[803,1],[843,1],[919,1],[935,1],[942,1],[996,3],[1016,2],[1019,1],[1021,1],[1023,3]]},"405":{"position":[[187,1]]},"412":{"position":[[4440,1],[4452,1],[4512,1],[4514,1],[4516,3],[4520,1],[4571,1],[4625,2],[4642,1],[4644,3],[4648,1],[4706,1],[4749,1],[4784,1],[4807,1],[4845,1],[4894,1],[4963,1],[4989,2],[5016,2],[5019,3],[5023,1],[5068,1],[5121,1],[5154,2],[5174,1],[5176,3],[5180,1],[5248,1],[5321,1],[5323,1],[5392,1],[5464,1],[5543,2],[5572,1],[5574,2],[12048,2]]},"425":{"position":[[246,2],[322,2],[376,1],[412,2],[483,2]]},"426":{"position":[[304,1],[306,1],[359,2],[362,2],[439,2],[498,1]]},"432":{"position":[[778,2],[838,2],[930,4]]},"439":{"position":[[634,2],[718,3],[735,1],[807,2]]},"458":{"position":[[709,2],[769,2],[872,4]]},"459":{"position":[[521,2],[588,1],[635,1],[695,1],[746,1],[795,1],[834,1],[871,1],[891,1],[949,1],[977,3]]},"471":{"position":[[172,1]]},"480":{"position":[[165,1],[184,1],[219,1],[246,1],[314,1],[316,2],[360,1],[444,3],[448,2],[500,1],[510,1],[593,1],[599,1],[616,2],[626,1],[643,2],[652,1],[670,1],[672,1],[674,1],[676,1],[678,3],[682,2],[741,1],[755,1],[757,2],[760,2],[763,2],[860,1],[915,3],[930,1]]},"481":{"position":[[350,1],[583,1],[607,1],[731,1],[733,2],[762,2],[765,2],[774,1],[776,2],[807,2],[810,2],[824,2],[856,3]]},"482":{"position":[[166,1],[185,1],[220,1],[247,1],[298,1],[336,1],[410,1],[412,2],[481,1],[557,3],[561,2],[605,1],[716,3],[720,2],[793,1],[803,1],[893,1],[899,1],[916,2],[931,1],[948,1],[950,2],[997,2],[1027,1],[1029,1],[1031,3],[1046,1]]},"493":{"position":[[197,1],[270,2],[282,2]]},"494":{"position":[[200,2],[203,1],[205,2],[289,1],[322,1],[357,1],[404,3],[420,2],[423,1]]},"502":{"position":[[948,1],[964,1],[973,1],[975,1],[977,2],[980,2],[983,2],[990,1]]},"518":{"position":[[415,1],[431,1],[440,1],[442,1],[444,2],[447,2],[450,2],[457,1]]},"522":{"position":[[285,1],[304,1],[326,1],[353,1],[406,1],[451,2],[502,2],[545,2],[595,2],[663,2],[726,2],[729,2],[771,3]]},"523":{"position":[[344,1],[389,1],[452,1],[510,1],[512,1],[532,1],[571,3],[591,1],[614,1],[623,1],[688,1],[744,3],[856,2]]},"534":{"position":[[186,1]]},"538":{"position":[[266,1],[285,1],[320,1],[347,1],[391,2],[421,1],[466,2],[530,3],[534,2],[573,1],[575,1],[702,1],[708,1],[741,2],[750,1],[767,2],[777,1],[794,1],[796,2],[824,2],[827,2],[880,1],[901,1],[903,3]]},"539":{"position":[[74,2],[159,3],[163,2],[207,1],[247,2],[250,1],[295,1],[297,3],[301,2],[334,1],[381,1],[419,1],[438,1],[451,2],[471,1],[509,1],[524,1],[562,1],[592,1],[594,3],[598,2],[618,1],[656,1],[671,1]]},"541":{"position":[[179,1],[201,1],[248,2],[251,1],[279,1],[314,1],[316,2],[358,1],[398,1],[434,1],[458,3],[469,2],[506,2],[531,1],[610,1],[705,3],[734,2],[737,1]]},"542":{"position":[[295,1],[330,1],[386,1],[405,1],[440,1],[467,1],[526,1],[649,3],[738,5],[776,2],[779,1],[794,1],[825,1],[861,1],[910,3],[926,2],[929,1]]},"548":{"position":[[128,1]]},"554":{"position":[[482,1],[501,1],[523,1],[561,1],[605,2],[608,1],[661,1],[736,2],[746,1],[767,1],[844,1],[846,2],[929,1],[999,3],[1003,2],[1044,1],[1157,2],[1200,3],[1204,2],[1285,1],[1295,1],[1384,1],[1390,1],[1423,2],[1439,1],[1456,2],[1472,1],[1489,1],[1491,2],[1541,1],[1543,1],[1545,3],[1560,1]]},"555":{"position":[[179,2],[188,1],[199,1],[232,2],[267,1],[378,3],[382,2],[466,1],[508,1],[532,1],[586,2],[615,2],[690,3],[694,5]]},"556":{"position":[[206,2],[292,1],[373,1],[393,1],[449,1],[480,1],[533,1],[751,1],[764,1],[802,1],[850,1],[874,1],[908,1],[1034,3]]},"557":{"position":[[259,1]]},"559":{"position":[[199,1],[221,1],[268,1],[300,1],[320,1],[334,1],[383,1],[403,1],[405,3],[409,3],[432,1],[494,2],[517,1],[775,2],[778,1]]},"562":{"position":[[8,1],[27,1],[49,1],[76,1],[148,1],[159,1],[260,3],[281,1],[283,1],[365,1],[371,1],[388,2],[397,1],[414,2],[424,1],[441,1],[443,2],[471,2],[508,1],[529,1],[531,3],[535,2],[623,3],[627,2],[662,1],[716,2],[731,5],[818,1],[1050,1],[1072,1],[1119,2],[1122,1],[1150,1],[1185,1],[1199,1],[1220,2],[1296,1],[1332,1],[1356,3],[1367,2],[1395,2],[1420,2],[1445,1],[1481,1],[1554,3],[1570,2],[1573,1]]},"563":{"position":[[205,1],[224,1],[259,1],[286,1],[337,1],[372,1],[460,1],[471,1],[604,3],[608,2],[686,1],[718,1],[742,2],[761,2],[839,5]]},"564":{"position":[[193,1],[212,1],[234,1],[272,1],[323,1],[350,1],[424,1],[449,1],[525,3],[529,2],[575,1],[689,3],[728,1],[738,1],[822,1],[828,1],[845,2],[860,1],[877,1],[879,2],[926,2],[946,1],[948,1],[950,3],[954,5]]},"571":{"position":[[889,1],[905,1],[914,1],[916,1],[918,2],[921,2],[924,2],[931,1],[1036,1],[1038,2],[1119,1],[1160,1],[1171,1],[1234,1],[1248,3],[1252,2],[1377,1],[1379,1]]},"579":{"position":[[158,2],[174,1],[193,1],[215,1],[242,1],[323,1],[334,1],[440,2],[493,2],[532,2],[559,3],[595,1],[605,1],[687,1],[693,1],[710,2],[719,1],[736,2],[753,1],[770,1],[772,1],[774,1],[776,1],[778,3],[793,1]]},"580":{"position":[[38,5],[262,2],[306,1],[323,1],[344,1],[359,1],[387,1],[422,2],[431,1],[436,1],[460,2],[516,1],[532,1],[541,1],[543,2],[552,2],[567,2],[570,2],[573,2],[576,2],[587,1],[680,1],[695,1],[708,3],[712,3],[829,2],[842,2],[851,2],[872,2]]},"594":{"position":[[184,1]]},"598":{"position":[[258,2],[274,1],[293,1],[315,1],[342,1],[417,1],[428,1],[473,2],[537,3],[541,2],[580,1],[582,1],[709,1],[715,1],[748,2],[757,1],[774,2],[784,1],[801,1],[803,2],[831,2],[834,2],[887,1],[908,1],[910,3],[925,1]]},"599":{"position":[[74,2],[168,3],[172,2],[216,1],[265,2],[268,1],[322,1],[324,3],[328,2],[361,1],[408,1],[446,1],[465,1],[478,2],[498,1],[536,1],[551,1],[589,1],[619,1],[621,3],[625,2],[649,1],[687,1],[702,1]]},"601":{"position":[[264,2],[278,2],[384,1],[401,1],[422,1],[431,1],[459,1],[499,2],[508,1],[519,1],[537,2],[579,1],[599,2],[668,1],[683,1],[696,3],[700,3]]},"602":{"position":[[238,1],[261,2],[264,2],[651,2],[665,2]]},"608":{"position":[[128,1]]},"610":{"position":[[865,2],[924,1],[1014,1],[1075,2],[1127,2],[1149,1],[1151,3],[1155,1],[1203,1],[1268,1],[1326,2],[1358,3],[1362,1],[1376,2]]},"611":{"position":[[591,2],[640,1],[691,1],[709,1],[750,2],[815,2],[835,1],[853,1],[904,2]]},"612":{"position":[[1088,2],[1150,1],[1209,2],[1264,1],[1278,1],[1306,1],[1308,1],[1323,2],[1789,1],[1813,1],[1832,2],[1877,1],[1898,1],[1994,3],[2014,1],[2029,1],[2031,2],[2081,1],[2103,1],[2168,2],[2171,2],[2221,1],[2244,1],[2260,1],[2262,1],[2332,2],[2355,2],[2365,2],[2423,2],[2432,1],[2472,3],[2476,3],[2497,2]]},"617":{"position":[[55,2]]},"628":{"position":[[274,1]]},"632":{"position":[[1046,1],[1065,1],[1100,1],[1127,1],[1204,1],[1206,2],[1280,1],[1367,2],[1414,3],[1418,2],[1485,1],[1495,1],[1577,1],[1583,1],[1616,2],[1626,1],[1643,2],[1652,1],[1670,1],[1672,1],[1674,1],[1676,1],[1678,3],[1682,2],[1768,2],[1771,2],[1827,1],[1874,3],[1889,1],[2115,1],[2139,1],[2208,1],[2293,2],[2363,1],[2414,1],[2416,2],[2488,2],[2491,2],[2500,1],[2530,1],[2532,2],[2577,2],[2580,2],[2595,2],[2638,2],[2675,3],[2679,1]]},"638":{"position":[[228,1],[266,1],[333,1],[409,3],[422,1],[527,3],[566,1],[576,1],[661,1],[667,1],[700,2],[716,1],[733,1],[735,2],[783,2],[817,1],[819,1],[821,3]]},"639":{"position":[[326,1],[336,1],[439,1],[445,1],[478,2],[490,1],[507,2],[521,1],[538,1],[540,1],[542,1],[544,1],[546,3]]},"646":{"position":[[8,1],[22,1],[44,1],[63,1]]},"647":{"position":[[171,1],[173,1],[175,2],[235,2],[314,2],[375,1],[395,1],[471,2],[536,1]]},"648":{"position":[[113,1],[115,1],[117,2],[224,1],[244,1],[280,2]]},"649":{"position":[[112,1],[114,1],[180,1],[200,1],[255,1],[335,2],[343,1],[400,1],[443,2],[461,1],[463,2]]},"652":{"position":[[8,1],[22,1],[44,1],[64,1]]},"653":{"position":[[124,1],[143,1],[165,1],[192,1],[245,1],[342,1],[344,3],[348,1],[396,1],[440,1],[465,1],[487,2],[515,1],[520,1],[525,1],[530,1],[536,2],[550,3],[554,1],[624,1],[685,1],[751,1],[774,2],[804,1],[810,2],[824,3],[828,1],[865,1],[921,1],[943,2],[960,1],[965,1],[970,2],[983,3],[987,1],[1005,1],[1048,1],[1091,1],[1141,1],[1193,1],[1210,2],[1244,3],[1248,1],[1290,1],[1338,1],[1399,1],[1443,1],[1460,2],[1487,1],[1489,3]]},"654":{"position":[[84,3],[88,1],[124,1],[169,2],[204,3],[208,1],[243,1],[293,2],[332,3],[336,1],[369,1],[402,1],[443,2]]},"655":{"position":[[391,2],[453,2]]},"659":{"position":[[437,1],[451,1],[484,2],[544,3],[548,2],[562,1],[570,1],[572,1],[609,3],[613,2],[627,2],[675,3]]},"661":{"position":[[629,1],[652,1],[683,1],[756,1],[758,1],[760,1],[841,1],[853,1],[886,1],[1048,1],[1099,1],[1175,1],[1262,2],[1269,1],[1276,1],[1278,1]]},"662":{"position":[[1026,2],[1397,1],[1420,1],[1451,1],[1524,1],[1526,1],[1528,1],[1632,1],[1651,1],[1686,1],[1722,1],[1767,1],[1779,1],[1818,1],[1916,2],[1926,1],[1978,1],[2077,2],[2080,2],[2118,1],[2257,2],[2260,3],[2284,2],[2324,1],[2370,1],[2380,1],[2440,1],[2446,1],[2479,2],[2488,1],[2505,2],[2513,1],[2530,1],[2532,2],[2560,1],[2562,1],[2564,3],[2676,1],[2720,1],[2734,1],[2808,1],[2822,1],[2852,3],[2856,3],[2860,5]]},"672":{"position":[[27,1],[54,3],[82,1],[179,2],[182,1],[193,1],[213,2],[216,3],[220,2],[223,2],[226,1]]},"673":{"position":[[8,1],[20,1],[70,1],[185,2],[188,1],[199,1],[219,2],[222,3],[226,2],[229,2],[232,2],[235,3],[239,1]]},"674":{"position":[[43,1],[45,1],[72,2],[75,3],[79,2],[91,1],[93,2],[226,2],[229,1],[231,2],[234,3],[238,2],[241,2],[298,1],[341,1],[352,3],[371,1],[468,2],[471,1],[482,1],[502,2],[505,3],[509,2],[512,2],[515,2],[518,3],[522,1]]},"675":{"position":[[226,1],[244,1]]},"676":{"position":[[300,1],[317,1]]},"678":{"position":[[250,1],[252,1],[254,2],[296,1],[308,2],[311,2],[351,1],[368,1],[370,2]]},"680":{"position":[[292,2],[349,1],[385,1],[413,2],[451,1],[465,1],[509,2],[537,1],[556,1],[578,1],[605,1],[666,1],[747,3],[751,2],[807,1],[809,1],[869,1],[875,1],[908,2],[919,1],[962,2],[992,2],[1039,2],[1076,1],[1078,2],[1109,1],[1111,1],[1113,2],[1166,1],[1185,1],[1187,3],[1191,2],[1229,1],[1280,2],[1379,1],[1387,1],[1399,1],[1401,1],[1403,3]]},"681":{"position":[[644,2],[718,1],[725,1],[736,1],[738,2],[741,2],[800,1],[808,1],[820,1],[822,2],[825,2],[916,1],[918,2],[921,3],[925,1],[927,3]]},"682":{"position":[[346,1],[358,1],[360,3],[364,3],[368,3],[372,2],[384,1],[386,3],[390,3],[394,3],[398,1],[400,2],[403,1],[415,1],[417,3],[421,3],[425,3],[429,2],[441,1],[443,3],[447,3],[451,3],[455,1],[457,2],[460,1],[472,1],[474,3],[478,3],[482,3],[486,2],[498,1],[500,3],[504,3],[508,3],[512,1],[514,2],[517,1],[529,1],[531,3],[535,3],[539,3],[543,2],[555,1],[557,3],[561,3],[565,3],[569,1],[571,1],[573,3]]},"683":{"position":[[131,2],[214,3],[218,2],[305,1],[313,1],[335,1],[337,1],[339,3],[768,1],[770,2],[824,1],[841,1],[843,2],[855,1],[857,2],[907,1],[929,1],[931,2],[946,1],[948,2],[1013,1],[1025,1],[1027,1],[1029,3]]},"684":{"position":[[190,1],[198,1],[215,1],[217,1],[219,3],[223,2]]},"691":{"position":[[235,1],[237,1],[279,3],[325,1],[334,1],[396,2],[502,2],[505,1],[507,2]]},"693":{"position":[[702,2],[719,1],[744,1],[746,1],[788,1],[809,1],[811,1],[884,2],[887,1],[992,3],[996,3],[1001,2],[1022,1],[1048,1],[1050,1],[1092,1],[1113,1],[1115,1],[1166,1],[1289,2],[1292,3],[1296,2],[1299,3],[1303,2]]},"698":{"position":[[2722,2],[2825,2],[2893,2],[2960,2]]},"710":{"position":[[856,2],[1547,1],[1566,1],[1588,1],[1615,1],[1659,2],[1687,1],[1769,3],[1773,2],[1813,1],[1859,1],[1861,2],[1864,3],[1868,2],[1871,1],[1873,3],[1877,2],[1955,2],[1983,1],[2027,1],[2041,1],[2054,2],[2115,1],[2129,1],[2159,3],[2163,3],[2167,5]]},"711":{"position":[[1116,1],[1147,1],[1200,2],[1257,1],[1354,3],[1385,3],[1543,1],[1574,1],[1611,1],[1624,3],[1628,3],[1632,3],[1735,1],[1787,1]]},"717":{"position":[[149,2],[556,1],[594,1],[645,1],[672,1],[716,2],[793,1],[869,3],[1059,1],[1078,1],[1106,2],[1147,1],[1245,3],[1416,1],[1418,1],[1478,1],[1484,1],[1517,2],[1528,1],[1545,2],[1548,2],[1590,2],[1632,1],[1641,1],[1643,2]]},"718":{"position":[[101,1],[156,1],[216,1],[240,1],[289,2],[375,1],[449,3],[476,1],[478,1],[480,2],[517,1],[529,1],[606,2],[609,2],[650,1],[760,3],[764,2],[767,3],[771,2]]},"720":{"position":[[133,1],[135,1],[177,1],[179,2],[182,3],[186,2],[189,2],[205,1],[223,2],[294,1],[296,2]]},"724":{"position":[[49,2],[179,1],[202,1],[251,1],[265,1],[442,1],[462,1],[521,1],[549,2],[662,2],[757,3],[761,1],[822,1],[895,1],[961,1],[987,1],[989,1],[991,1],[993,1],[1008,2],[1049,3],[1053,1],[1066,1],[1106,1],[1147,2],[1169,3],[1173,1],[1186,1],[1261,1],[1347,1],[1368,2],[1398,3],[1402,1],[1415,1],[1479,2],[1496,3],[1500,3],[1538,2],[1628,1],[1663,3],[1667,1],[1721,1],[1786,2],[1810,1],[1844,1],[1856,3]]},"729":{"position":[[354,1],[388,1],[390,1],[397,1],[416,2],[419,2]]},"731":{"position":[[128,1],[214,1]]},"732":{"position":[[116,1],[136,2],[139,3],[143,2],[146,1]]},"734":{"position":[[132,1],[163,1],[209,1],[236,1],[312,1],[381,3],[416,1],[435,1],[472,1],[554,3],[609,1],[611,1],[635,2],[743,1],[749,1],[782,2],[831,1],[833,2],[836,3],[840,2],[843,1],[845,2],[880,1],[899,1],[901,3]]},"738":{"position":[[84,1],[98,1],[120,1],[147,1]]},"739":{"position":[[196,1],[223,1],[276,1],[403,3],[446,1],[465,1],[467,3],[509,1],[548,2],[603,2],[612,1],[625,1],[739,3],[743,2],[751,1],[758,3]]},"740":{"position":[[423,1],[460,1],[519,1],[601,1],[609,2],[618,1],[620,2],[691,1]]},"741":{"position":[[53,1]]},"745":{"position":[[203,1],[226,1],[271,1],[295,1],[344,2],[399,1],[459,3],[463,2],[521,1],[592,3],[596,2]]},"746":{"position":[[287,1],[358,1],[360,2],[431,3],[435,1],[472,2],[475,2],[562,2],[667,2],[859,1],[861,3]]},"747":{"position":[[104,1],[349,3]]},"749":{"position":[[382,3],[389,3],[4417,1],[4455,1],[4484,2]]},"751":{"position":[[503,1],[551,1],[553,2],[647,1],[682,2],[715,1],[717,1],[719,1],[721,3],[807,1],[855,1],[890,1],[925,2],[958,2],[961,3],[965,1],[1025,1],[1092,2],[1116,2],[1204,2],[1290,1],[1411,1],[1428,1],[1468,1],[1495,3],[1499,1],[1501,1],[1503,1],[1505,3],[1605,1],[1653,1],[1655,2],[1749,1],[1784,2],[1817,2],[1820,3],[1824,1],[1875,1],[1920,2],[2009,1],[2011,1],[2013,1],[2015,3]]},"752":{"position":[[362,1],[408,1],[455,2],[520,1],[549,3],[583,3],[602,1],[604,1],[606,1],[608,3],[612,2],[657,1],[705,3],[716,1],[726,1],[728,2],[782,2],[863,1],[897,2],[1041,2],[1070,3],[1074,2],[1112,1],[1132,2],[1151,1],[1160,1],[1177,1],[1190,2],[1248,2],[1285,2],[1307,1],[1309,1],[1421,1]]},"753":{"position":[[256,1],[334,1],[375,1],[410,1],[412,1],[445,2],[448,3],[452,3]]},"754":{"position":[[201,1],[214,1],[255,1],[257,1],[286,2],[402,2],[432,2],[541,1],[543,3],[562,1],[591,2],[691,1],[766,2],[784,1],[786,1]]},"759":{"position":[[94,1],[111,1],[159,1],[183,1],[239,1],[266,1],[314,2],[352,1],[452,3],[500,3],[504,1],[532,1],[580,1],[617,2],[698,2],[747,2],[778,2],[950,1],[1003,1],[1005,3]]},"760":{"position":[[104,1],[132,1],[186,1],[188,1],[253,2],[256,3],[260,2],[270,1],[287,1],[335,1],[362,1],[410,2],[496,3],[500,1],[528,1],[576,1],[613,2],[694,2],[743,2],[838,1],[891,1],[893,3],[897,2],[900,3],[904,2]]},"761":{"position":[[105,2],[422,2],[459,1],[481,1],[546,2],[567,2],[585,1],[607,1],[689,2],[707,1],[729,1]]},"767":{"position":[[316,2],[370,2],[415,1],[421,2],[432,2],[488,2],[498,2],[603,2],[614,2],[712,2],[737,2],[804,2],[815,2],[884,2],[894,2],[1012,2]]},"768":{"position":[[273,2],[337,2],[389,1],[403,2],[414,2],[480,2],[490,2],[605,2],[616,2],[722,2],[745,2],[810,2],[821,2],[888,2],[898,2],[1014,2]]},"769":{"position":[[290,2],[356,2],[367,2],[435,2],[445,2],[562,2],[573,2],[683,2],[708,2],[775,2],[786,2],[855,2],[865,2],[983,2]]},"770":{"position":[[411,1],[418,2],[437,3],[441,3],[455,1],[520,2]]},"772":{"position":[[641,1],[660,1],[682,1],[709,1],[762,1],[897,2],[900,3],[904,2],[957,1],[976,1],[978,3],[982,2],[1010,1],[1044,1],[1061,1],[1428,1],[1447,1],[1469,1],[1511,1],[1607,1],[1748,2],[1751,3],[2136,1],[2155,1],[2200,1],[2262,1],[2281,1],[2369,1],[2504,2],[2507,3]]},"773":{"position":[[443,1],[462,1],[484,1],[505,1],[552,1],[628,3],[821,1]]},"774":{"position":[[446,1],[465,1],[487,1],[514,1],[565,1],[592,1],[654,1],[825,2],[828,2],[831,3]]},"789":{"position":[[158,1],[202,1],[231,1],[270,1],[272,1],[274,1],[276,3],[310,2],[405,1],[449,1],[478,1],[518,1],[520,1],[522,1],[524,3],[558,2]]},"791":{"position":[[14,1],[58,1],[87,1],[126,1],[128,1],[130,1],[132,3],[146,1],[206,2],[273,1],[317,1],[346,1],[381,1],[383,1],[395,1],[397,5],[403,1],[405,1],[407,1],[409,3],[452,3],[466,1],[526,2]]},"792":{"position":[[141,1],[185,1],[218,1],[257,1],[259,1],[261,1],[263,3],[277,1],[327,1],[416,3],[454,2]]},"793":{"position":[[149,2],[213,2],[242,2],[278,2],[462,2],[499,2],[525,2],[552,2],[564,2],[595,2],[607,2],[622,2],[1175,2],[1210,2]]},"795":{"position":[[128,2],[137,1],[205,1],[207,2],[216,2]]},"796":{"position":[[297,3],[301,1],[350,1],[413,2],[430,1],[432,1],[444,1],[451,1],[453,1],[461,1],[473,2],[476,2],[479,1],[487,1],[499,2],[508,1],[524,1],[526,2],[529,1],[537,1],[550,1],[552,2],[586,1],[588,1],[590,3],[594,1],[646,1],[709,1],[771,1],[835,2],[855,1],[857,1],[869,1],[877,1],[903,2],[929,1],[960,2],[994,1],[996,1],[998,1],[1000,3],[1004,1],[1066,1],[1129,2],[1148,1],[1150,1],[1162,1],[1164,3],[1168,1],[1254,1],[1333,2],[1344,1],[1351,1],[1376,2],[1391,2],[1435,1],[1437,1],[1439,1]]},"797":{"position":[[249,1],[281,1],[283,2],[286,3],[290,2],[293,2],[296,2],[331,1],[352,1],[354,3]]},"798":{"position":[[540,1],[576,1],[583,1],[593,2],[604,1],[615,1],[617,2],[620,3],[624,1],[692,1],[725,1],[811,1],[908,2],[936,3]]},"799":{"position":[[509,2],[518,1],[554,1],[569,1],[599,3],[650,3],[654,2],[663,2],[678,1],[702,3],[706,5],[731,2],[786,1],[801,1],[857,3]]},"800":{"position":[[806,1],[838,3],[842,5],[865,1],[899,1],[960,3],[964,5],[1016,1],[1018,2]]},"806":{"position":[[575,1],[610,1],[639,1],[641,2],[702,1],[704,1],[706,2],[709,2],[791,2]]},"808":{"position":[[133,1],[135,1],[220,1],[228,1],[245,2],[260,1],[276,2],[321,2],[410,1],[412,1],[414,2],[528,1],[530,1],[592,1],[600,1],[617,2],[629,1],[667,1],[684,1],[686,1],[688,1],[690,2]]},"810":{"position":[[256,3],[325,3],[339,1],[404,1]]},"811":{"position":[[236,3],[305,3],[319,1],[384,1],[409,2]]},"812":{"position":[[20,1],[63,1],[73,1],[115,1],[123,1],[140,2],[151,1],[181,1],[191,1],[222,1],[224,1],[226,1],[228,1],[230,1],[232,1],[234,3],[251,1]]},"813":{"position":[[20,1],[63,1],[73,1],[115,1],[123,1],[140,2],[152,1],[190,1],[207,1],[209,1],[211,1],[213,1],[215,1],[217,3],[302,1],[327,1],[329,3],[343,1],[407,1]]},"818":{"position":[[485,1],[529,1],[585,2],[588,3],[592,2],[595,1],[597,1],[599,3]]},"820":{"position":[[8,1],[24,1],[78,1],[102,1],[161,1],[209,3],[213,1],[263,1],[312,2],[349,3],[353,1],[406,1],[445,2],[457,1],[459,3],[463,1],[502,1],[542,2],[559,1],[571,1],[578,1],[588,1],[590,2],[593,2],[611,1],[623,1],[630,1],[640,2],[653,1],[671,1],[673,2],[676,1],[678,2],[691,4],[720,4],[725,3]]},"824":{"position":[[552,2]]},"825":{"position":[[100,1],[126,1],[175,1],[196,1],[333,1],[465,3],[469,2],[549,1],[569,1],[600,1],[615,1],[648,1],[660,1],[778,1],[882,2],[885,2],[920,1],[940,1],[961,2],[1013,1],[1050,1]]},"826":{"position":[[65,1],[254,2],[359,2],[373,2],[444,1],[476,2],[506,1],[531,2],[599,1],[618,2],[695,1],[722,2],[733,2],[807,1],[831,2],[905,1],[933,2],[952,2],[1026,1],[1050,2],[1110,1]]},"829":{"position":[[466,1],[498,1],[520,1],[547,1],[620,1],[631,1],[717,3],[755,1],[776,1],[778,3],[782,3],[786,1],[808,1],[837,1],[864,2],[878,1],[1255,1],[1277,1],[1300,1],[1321,1],[1357,1],[1371,1],[1402,1],[1404,2],[1413,1],[1445,1],[1478,1],[1493,1],[1501,2],[1510,1],[1521,1],[1561,2],[1574,2],[1577,4],[1595,2],[1604,1],[1731,1],[1740,1],[1789,3],[1810,3],[1842,2],[1845,2],[1900,1],[1918,1],[1964,1],[2324,1],[2337,1],[2378,1],[2380,1],[2411,1],[2423,3],[2433,2],[2448,2],[2451,1],[2453,2],[2472,1],[2474,2],[2483,1],[2491,1],[2510,1],[2512,1],[2546,1],[2592,1],[2658,2],[3236,1],[3253,1],[3294,1],[3296,1],[3327,1],[3339,3],[3349,2],[3364,2],[3367,1],[3369,2],[3387,1],[3389,2],[3398,1],[3406,1],[3425,1],[3427,1],[3465,1],[3511,1],[3520,1],[3557,1],[3608,3],[3624,2],[3627,2]]},"835":{"position":[[368,3],[372,1],[403,1],[447,2],[497,1]]},"836":{"position":[[681,1],[939,1],[946,1],[948,1]]},"837":{"position":[[1855,1],[2103,1],[2128,1],[2161,3]]},"838":{"position":[[1514,2],[1949,1],[1968,1],[1990,1],[1997,1],[2056,2],[2066,1],[2118,1],[2196,1],[2223,2],[2252,2],[2357,2],[2493,2],[2496,3],[2538,1],[2584,1],[2594,1],[2654,1],[2660,1],[2693,2],[2702,1],[2719,2],[2727,1],[2744,1],[2746,2],[2774,1],[2776,1],[2778,3],[2890,1],[2934,1],[2948,1],[3022,1],[3036,1],[3066,3],[3070,3],[3074,5]]},"846":{"position":[[55,1],[74,1],[140,1],[160,1],[239,2],[318,3],[322,1],[351,1],[387,1],[404,2],[419,3],[423,1],[465,1],[505,1],[538,1],[575,1],[595,1],[608,2],[645,1],[647,3],[651,1],[707,1],[720,2],[738,3],[742,1],[787,1],[818,1],[831,2],[858,3],[862,3],[866,4],[871,3],[875,1],[908,1],[952,1],[1025,1],[1053,2],[1073,2],[1082,1],[1084,3],[1088,1],[1133,1],[1146,2],[1164,3],[1168,1],[1206,1],[1253,1],[1266,2],[1293,3],[1297,3],[1301,3],[1305,1],[1307,1],[1309,2]]},"848":{"position":[[198,1],[221,1],[223,2],[301,1],[331,2],[398,1],[424,1],[426,3],[430,1],[432,2],[532,2],[628,2],[631,2],[657,1],[677,1],[793,3],[797,1],[835,2],[866,3],[876,2],[879,1],[881,2],[1028,1],[1173,1],[1226,1],[1292,1],[1312,1],[1428,3],[1432,1],[1470,2],[1548,3],[1558,2],[1561,1],[1563,2]]},"849":{"position":[[870,1],[895,1],[1136,1],[1138,1]]},"851":{"position":[[233,2],[310,1],[360,1],[382,1],[398,1],[400,2]]},"852":{"position":[[175,1],[195,1],[336,3],[346,2],[349,1],[351,2]]},"854":{"position":[[99,1],[141,1],[168,1],[213,1],[242,1],[321,1],[334,2],[337,3],[341,2],[344,3],[372,1],[419,1],[598,1],[732,1],[806,2],[809,3],[813,1],[877,1],[920,1],[960,1],[981,2],[990,3],[1000,3],[1004,3],[1008,1],[1053,1],[1070,2],[1085,3],[1089,1],[1142,1],[1144,1],[1190,1],[1243,1],[1299,1],[1342,1],[1402,1],[1434,1],[1484,1],[1535,1],[1575,1],[1605,2],[1648,3]]},"857":{"position":[[212,1],[246,1],[295,1],[372,1],[439,2],[442,3]]},"858":{"position":[[180,1],[202,1],[243,1],[317,2],[326,1],[336,1],[355,5],[369,1],[371,2],[380,1],[420,3],[429,1],[431,1],[433,2],[506,3]]},"860":{"position":[[486,1]]},"861":{"position":[[566,1],[619,1],[684,1],[719,1],[866,1],[893,1],[2115,1],[2138,1]]},"862":{"position":[[225,1],[245,1],[296,1],[342,1],[377,1],[404,1],[455,1],[464,1],[531,1],[608,3],[627,1],[629,1],[709,1],[715,1],[748,2],[757,1],[774,1],[776,2],[804,2],[841,1],[860,1],[862,3],[883,1],[969,1],[1132,1],[1323,2],[1387,1],[1404,2],[1413,1],[1429,2],[1432,2],[1435,1],[1437,3],[1441,1],[1501,1],[1530,1],[1532,3],[1536,2],[1539,3]]},"866":{"position":[[351,1],[367,1],[430,1],[535,2],[611,3],[615,1],[685,1],[728,1],[767,2],[807,1],[835,2],[856,1],[872,2],[881,1],[897,1],[899,3]]},"872":{"position":[[852,1],[866,1],[902,1],[993,1],[1080,1],[1112,1],[1128,1],[1130,3],[1547,1],[1579,1],[1601,1],[1622,1],[1660,2],[1705,1],[1780,3],[1784,2],[1848,1],[1858,1],[1926,1],[1940,1],[1973,2],[1987,1],[2004,2],[2017,1],[2034,1],[2036,2],[2089,1],[2091,1],[2093,3],[2287,1],[2306,1],[2372,1],[2402,1],[2506,2],[2584,1],[2600,2],[2609,1],[2625,2],[2639,3],[3107,1],[3124,1],[3168,1],[3193,1],[3252,1],[3342,3],[3346,3],[3365,1],[3437,3],[3524,2],[3782,1],[3801,1],[3823,1],[3843,1],[3887,1],[3905,1],[3963,1],[4040,3],[4078,1],[4088,1],[4156,1],[4170,1],[4203,2],[4217,1],[4234,2],[4247,1],[4264,1],[4266,2],[4319,1],[4321,1],[4323,3],[4327,2],[4396,2],[4458,1],[4600,1],[4616,2],[4625,1],[4641,1],[4643,3]]},"873":{"position":[[108,1]]},"875":{"position":[[309,2],[334,1],[358,1],[416,1],[528,1],[530,2],[557,2],[560,2],[569,1],[571,2],[598,2],[601,1],[603,3],[780,2],[805,1],[819,1],[886,1],[957,1],[1008,1],[1066,1],[1120,1],[1158,2],[1161,3],[1187,2],[1205,2],[1214,1],[1264,3],[2003,2],[2028,1],[2042,1],[2104,1],[2115,1],[2147,1],[2198,1],[2234,1],[2236,3],[2240,1],[2304,1],[2370,1],[2444,2],[2447,1],[2459,1],[2476,1],[2478,2],[2481,1],[2493,1],[2510,1],[2516,1],[2526,1],[2528,1],[2530,1],[2532,2],[2636,1],[2655,3],[2661,1],[2663,1],[2679,1],[2681,1],[2683,1],[2760,2],[2876,4],[2881,3],[3051,2],[3092,1],[3124,2],[3127,3],[3131,2],[3140,1],[3202,1],[3221,1],[3250,1],[3264,1],[3283,1],[3305,1],[3307,3],[3326,1],[3425,2],[3439,1],[3471,1],[3528,2],[3531,1],[3533,1],[3535,2],[3538,3],[3542,2],[3545,3],[4249,2],[4274,1],[4288,1],[4323,1],[4333,1],[4348,2],[4398,1],[4421,1],[4472,1],[4491,1],[4519,1],[4521,3],[4537,1],[4539,1],[4571,3],[4592,2],[4653,1],[4778,2],[4781,1],[4850,2],[4853,1],[4940,1],[5026,2],[5055,3],[5098,1],[5100,1],[5102,1],[5104,2],[5159,1],[5166,1],[5168,2],[5299,2],[5369,1],[5371,1],[5456,2],[5459,1],[5461,1],[5525,1],[5614,3],[6095,2],[6136,1],[6168,2],[6171,3],[6175,2],[6184,1],[6231,1],[6271,1],[6298,1],[6365,2],[6401,3],[6426,1],[6477,1],[6479,1],[6481,2],[6484,3],[6488,2],[6491,3],[7203,2],[7261,1],[7282,1],[7377,3],[7400,1],[7436,1],[7455,1],[7457,1],[7481,1],[7492,3],[7512,2],[7550,3],[8021,2],[8046,1],[8056,1],[8091,1],[8126,1],[8176,1],[8200,1],[8202,2],[8227,1],[8241,1],[8259,1],[8371,3],[8375,2],[8401,1],[8433,2],[8436,3],[8440,2],[8449,1],[8451,2],[8454,3],[8458,2],[8499,1],[8501,2],[8504,3],[8508,2],[8511,3],[8941,2],[8979,1],[8981,2],[9440,2],[9465,1],[9475,1],[9510,1],[9545,1],[9595,1],[9619,1],[9621,2],[9646,1],[9648,2],[9710,1],[9748,1],[9788,1],[9790,3]]},"878":{"position":[[187,1],[205,1],[277,1],[416,2],[495,1],[534,2],[543,3],[553,3],[568,3]]},"879":{"position":[[664,1],[685,3]]},"880":{"position":[[377,1],[446,3],[450,3]]},"881":{"position":[[387,1],[430,3]]},"882":{"position":[[394,1],[420,2],[423,3],[427,2],[468,2],[471,3],[475,2],[478,3]]},"885":{"position":[[536,1],[618,1],[631,1],[713,1],[732,1],[765,1],[786,1],[831,1],[844,1],[909,1],[935,1],[1052,1],[1068,1],[1070,1],[1104,1],[1215,1],[1217,1],[1270,1],[1303,1],[1326,1],[1346,1],[1394,1],[1476,1],[1478,1],[1502,1],[1516,1],[1534,1],[1555,1],[1557,3],[1580,1],[1598,1],[1626,1],[1631,2],[1703,1],[1733,1],[1840,3],[1857,1],[1935,1],[1937,3],[1941,2],[2029,1],[2064,1],[2185,3],[2203,1],[2205,2],[2300,1],[2302,3],[2306,2],[2367,1],[2418,2],[2476,1],[2535,1],[2537,1],[2584,1],[2593,1],[2645,1],[2663,1],[2665,1]]},"886":{"position":[[386,1],[414,1],[416,3],[420,1],[464,1],[497,2],[517,1],[530,1],[532,1],[538,3],[555,2],[558,1],[572,1],[635,1],[687,1],[699,1],[731,1],[744,1],[759,1],[761,1],[763,3],[774,1],[822,1],[842,1],[844,2],[847,2],[923,1],[942,1],[1008,1],[1028,1],[1058,2],[1096,1],[1133,2],[1142,1],[1176,2],[1232,2],[1329,2],[1454,3],[1458,1],[1522,1],[1582,1],[1642,1],[1669,1],[1734,1],[1750,2],[1767,2],[1770,2],[1846,1],[1881,2],[1884,3],[1888,1],[1946,2],[1996,1],[2003,1],[2026,1],[2044,1],[2052,1],[2054,2],[2294,1],[2307,1],[2321,1],[2323,1],[2378,1],[2413,1],[2445,1],[2447,1],[2449,2],[2468,1],[2470,1],[2488,2],[2498,1],[2545,2],[2548,2],[2640,1],[2660,1],[2690,2],[2728,1],[2765,2],[2774,1],[2808,2],[2839,3],[2843,1],[2866,1],[2942,2],[2959,3],[2963,1],[2985,1],[3063,1],[3104,2],[3131,2],[3143,1],[3178,2],[3187,1],[3189,2],[3192,3],[3196,2],[3199,2],[3202,2],[3205,3],[3209,2],[3212,1],[3214,2],[3489,1],[3507,1],[3521,1],[3565,1],[3597,1],[3609,1],[3645,2],[3659,1],[3674,1],[3676,1],[3678,3],[3689,1],[3709,1],[3719,1],[3721,2],[3724,2],[3827,1],[3847,1],[3877,2],[3915,1],[3990,2],[4041,2],[4050,1],[4099,2],[4111,1],[4146,2],[4155,1],[4274,2],[4332,2],[4418,2],[4551,2],[4645,2],[4765,2],[4874,1],[4895,1],[4897,2],[4924,1],[4926,2]]},"887":{"position":[[293,1],[313,1],[348,3],[352,3],[356,4],[370,3],[374,3],[378,4],[389,3],[393,3],[397,4],[408,1],[463,1],[465,2],[521,2],[623,1],[631,3],[641,1],[658,1],[660,3],[676,2],[679,2],[682,2],[685,3],[689,2],[692,1],[694,2]]},"888":{"position":[[350,1],[352,1],[434,1],[454,1],[489,3],[493,3],[497,4],[511,3],[515,3],[519,4],[530,3],[534,3],[538,4],[549,1],[600,2],[664,2],[791,2],[892,1],[894,1],[896,3],[900,1],[971,1],[1018,2],[1032,1],[1056,1],[1099,3],[1105,1],[1125,1],[1127,1],[1198,1],[1200,2],[1203,1],[1205,2],[1208,2],[1211,3],[1215,2],[1218,1],[1220,2]]},"889":{"position":[[154,1],[222,1],[238,1],[240,1],[380,1],[390,2],[483,1],[503,1],[538,3],[542,3],[546,4],[560,3],[564,3],[568,4],[579,1],[630,1],[632,3],[636,1],[716,2],[751,2],[754,2],[763,3],[767,3],[771,4],[776,2],[779,3],[783,2],[786,1],[788,2]]},"890":{"position":[[356,5],[362,3],[803,1],[833,2],[836,3],[840,2],[867,2],[870,3],[874,2],[877,1],[879,2]]},"892":{"position":[[8,1],[27,1],[49,1],[72,1],[117,2],[169,1],[198,3],[202,5],[208,2],[254,1],[335,3],[339,2]]},"893":{"position":[[96,1],[127,1],[172,2],[220,1],[259,3],[263,1],[295,1],[338,1],[371,2],[436,3],[440,2]]},"898":{"position":[[943,1],[1207,2],[2155,2],[2172,1],[2191,1],[2226,1],[2253,1],[2313,1],[2390,3],[2428,1],[2438,1],[2506,1],[2520,1],[2553,2],[2567,1],[2584,2],[2597,1],[2614,2],[2622,1],[2639,1],[2641,2],[2694,1],[2696,1],[2698,3],[2981,1],[2996,1],[3050,1],[3116,2],[3238,1],[3258,1],[3320,1],[3464,1],[3481,2],[3536,1],[3538,2],[3606,1],[3608,2],[3676,2],[3685,2],[3694,1],[3696,2],[3754,2],[3865,2],[3868,2],[3877,1],[3893,2],[3896,2],[3947,2],[3978,2],[4006,3],[4010,2],[4397,1]]},"899":{"position":[[72,1],[148,1],[207,1],[274,1],[349,1],[439,1]]},"904":{"position":[[572,1],[591,1],[626,1],[653,1],[706,1],[787,3],[824,1],[834,1],[916,1],[922,1],[955,2],[965,1],[982,2],[991,1],[1025,2],[1037,1],[1075,1],[1077,2],[1114,1],[1116,1],[1118,3],[1122,2],[1261,3],[1312,1],[1362,1],[1803,1],[1828,1],[1830,2],[1901,2],[1969,2],[2034,2],[2110,2],[2191,2],[2274,3],[2278,1],[2351,1],[2431,1],[2507,1],[2530,2],[2592,2],[2625,2],[2681,2],[2792,2],[2837,2],[2933,2],[2983,2],[3084,3],[3094,3],[3104,2],[3107,1],[3109,2]]},"906":{"position":[[893,1],[926,1],[986,1],[1038,2],[1052,3]]},"907":{"position":[[279,1],[304,1],[306,2],[309,3],[313,2],[348,1],[363,1],[371,3],[381,2],[384,2],[387,3],[391,2],[394,1],[396,2]]},"910":{"position":[[225,1],[227,1],[229,2],[232,3],[236,2],[295,2],[298,2],[301,3],[305,2],[308,2],[393,1],[395,1],[461,2]]},"911":{"position":[[577,1],[589,1],[624,1],[649,1],[651,2],[654,3],[658,2],[829,3],[839,3],[849,2],[852,2],[855,3],[859,2],[862,1],[864,2]]},"915":{"position":[[76,1],[90,1],[112,1],[136,1]]},"916":{"position":[[140,1],[142,1],[184,1],[186,2],[189,1],[191,2],[194,1],[196,2],[199,1],[201,2],[217,1],[235,2],[306,1],[308,2],[330,1],[374,1],[393,1],[395,3]]},"917":{"position":[[88,1],[101,1],[133,1],[167,1],[184,2],[263,2],[322,2],[380,1],[382,2]]},"918":{"position":[[96,1],[193,3]]},"919":{"position":[[103,1]]},"920":{"position":[[75,1]]},"921":{"position":[[166,1],[168,3],[232,1],[246,2]]},"929":{"position":[[86,1]]},"930":{"position":[[91,1],[141,1],[171,2]]},"931":{"position":[[91,1],[151,1],[187,2]]},"932":{"position":[[85,1],[141,1],[177,2],[685,1],[724,1],[778,1],[802,1],[851,2],[948,1],[1022,3],[1035,1],[1125,3],[1129,2],[1192,1],[1194,1],[1236,1],[1238,2],[1241,1],[1243,2],[1246,1],[1248,2],[1251,1],[1253,2],[1269,1],[1294,2],[1364,1],[1366,2],[1369,2],[1372,3],[1440,2]]},"934":{"position":[[223,1],[259,2],[266,1],[291,1],[320,3],[324,2],[381,3],[385,2],[440,3],[444,2],[497,3],[501,2],[584,3],[588,2],[621,2],[688,2],[764,2],[816,2],[819,2],[875,1],[877,2],[880,3],[884,1],[886,3]]},"939":{"position":[[102,2],[148,1],[184,1],[203,1],[205,3],[227,1],[271,3]]},"941":{"position":[[171,2]]},"942":{"position":[[180,1],[239,3]]},"943":{"position":[[377,1],[447,3]]},"944":{"position":[[190,1],[256,2],[259,1],[292,4],[297,2],[305,1],[307,2],[345,2],[355,2],[358,2],[361,1]]},"945":{"position":[[131,1],[188,3],[192,2],[200,1],[202,2],[240,2],[250,2],[253,2],[256,1],[452,1],[516,2],[519,3],[523,2],[526,3]]},"946":{"position":[[152,1],[212,3]]},"947":{"position":[[164,1],[198,1],[230,2],[233,1],[265,1],[267,3],[271,3],[275,1],[277,1],[279,1],[315,1],[324,3],[328,1],[330,1],[332,2]]},"948":{"position":[[388,1],[390,1],[405,2],[434,2],[497,2],[684,2],[766,2]]},"949":{"position":[[77,2],[133,1],[193,2]]},"950":{"position":[[223,2],[289,1],[303,1],[349,2]]},"951":{"position":[[328,1],[330,1],[348,2],[351,3],[355,2],[358,2],[375,1],[434,2]]},"952":{"position":[[179,1],[193,1],[215,1],[236,1]]},"953":{"position":[[67,2]]},"954":{"position":[[166,2]]},"957":{"position":[[98,1]]},"958":{"position":[[755,1],[772,1]]},"960":{"position":[[140,1],[159,1],[194,1],[221,1],[274,1],[319,2],[370,2],[389,2],[413,2],[440,2],[490,2],[558,2],[621,2],[624,2],[666,3]]},"962":{"position":[[601,2],[665,1],[692,1],[745,1],[828,3],[832,2],[886,1],[908,1],[961,1],[1111,2],[1114,3]]},"966":{"position":[[529,1],[633,3],[647,1],[751,2],[818,3]]},"967":{"position":[[114,1],[218,3],[232,1],[336,2],[371,3],[375,2]]},"968":{"position":[[318,2],[380,1],[389,1],[447,1],[488,1],[499,1],[558,2],[561,3],[565,2],[568,3]]},"971":{"position":[[291,1],[305,1],[327,1],[348,1]]},"972":{"position":[[66,2]]},"975":{"position":[[317,1],[319,2],[424,3],[428,2],[479,2],[511,1],[513,2],[580,2],[647,3]]},"977":{"position":[[99,2],[546,1],[565,1]]},"978":{"position":[[94,1],[109,1],[133,1]]},"979":{"position":[[228,1],[276,1],[298,3],[344,1],[363,1],[365,3],[369,2]]},"982":{"position":[[240,1],[242,1]]},"983":{"position":[[836,1],[845,1],[847,1],[856,1],[858,1],[860,1],[876,1],[878,1],[880,1],[882,1],[909,1],[911,1],[913,1],[915,1],[917,1],[919,1],[921,1],[923,1],[925,1],[927,1],[929,1],[938,1],[954,1],[963,1],[965,1],[967,1],[994,1],[996,1],[998,1],[1000,1],[1002,1],[1004,1],[1006,1],[1008,1],[1022,1],[1024,1],[1026,1],[1028,1],[1059,1],[1061,1],[1063,1],[1072,1],[1074,1],[1083,1]]},"986":{"position":[[738,1],[740,1],[857,3],[861,1],[897,1],[951,1],[1001,2],[1039,3],[1043,1],[1087,1],[1125,2],[1156,1]]},"987":{"position":[[207,1],[209,1],[704,1],[706,1],[708,1],[710,1]]},"988":{"position":[[122,1],[146,1],[188,1],[202,1],[240,1],[300,3],[304,1],[347,1],[415,1],[485,1],[530,2],[611,3],[615,1],[672,1],[750,1],[814,1],[845,2],[860,3],[864,1],[923,1],[944,1],[1015,1],[1038,1],[1074,2],[1090,1],[1098,3],[1102,1],[1181,1],[1255,1],[1338,1],[1424,1],[1441,2],[1469,3],[1473,1],[1500,1],[1547,1],[1606,1],[1636,2],[1656,3],[1660,1],[1731,1],[1768,1],[1854,1],[1939,1],[1979,1],[1981,1],[2057,1],[2152,1],[2154,1],[2235,1],[2237,1],[2260,2],[2288,3],[2292,1],[2304,1],[2383,2],[2392,1],[2394,3],[2398,1],[2413,2],[2436,1],[2438,3],[2442,1],[2494,2],[2515,1],[2566,1],[2593,1],[2660,2],[2691,2],[2694,3],[2698,3],[2702,1],[2773,1],[2826,2],[2844,1],[2889,2],[2892,3],[2896,1],[2919,1],[2991,2],[3008,3],[3012,1],[3080,1],[3161,1],[3254,1],[3351,1],[3364,2],[3387,2],[3390,3],[3394,1],[3406,1],[3482,2],[3491,1],[3493,3],[3497,1],[3512,2],[3556,1],[3577,1],[3594,1],[3621,1],[3626,3],[3630,1],[3687,2],[3705,1],[3804,2],[3833,1],[3865,1],[3867,3],[3871,1],[3920,1],[3977,1],[4044,1],[4122,2],[4157,3],[4161,1],[4210,1],[4250,1],[4303,2],[4345,3],[4351,1],[4368,1],[4370,1],[4467,1],[4469,2],[4472,2],[4490,3],[4494,1],[4547,1],[4583,1],[4680,1],[4693,2],[4717,3],[4721,1],[4762,1],[4775,1],[4829,2],[4868,2],[4871,3],[4875,3],[4879,1],[4932,1],[5019,1],[5062,2],[5083,1],[5165,1],[5198,1],[5213,1],[5267,3],[5271,1],[5333,1],[5361,1],[5363,1],[5396,1],[5398,1],[5400,1],[5413,1],[5415,1],[5417,1],[5419,1],[5435,1],[5454,1],[5472,1],[5474,1],[5476,1],[5478,2],[5481,1],[5495,1],[5497,1],[5513,1],[5531,1],[5533,1],[5535,1],[5537,1],[5539,2],[5559,1],[5603,3],[5607,1],[5664,2],[5682,1],[5684,2],[5725,1],[5727,2],[5766,1],[5768,2],[5777,1],[5793,1],[5805,1],[5814,1],[5821,1],[5823,3],[5827,1],[5879,1],[5942,1],[6001,1],[6064,1],[6128,2],[6159,1],[6161,1],[6163,1]]},"990":{"position":[[1225,1],[1336,3],[1344,1],[1346,1],[1348,2],[1417,1],[1419,3]]},"993":{"position":[[85,2],[212,2],[329,2],[476,2],[613,2]]},"995":{"position":[[1442,2],[1550,1],[1572,2],[1650,1],[1739,1],[1758,2],[1761,2],[1764,2],[1767,2],[1855,1],[1862,1],[1867,1],[1872,1],[2002,1],[2004,2]]},"996":{"position":[[497,2],[587,1]]},"998":{"position":[[174,2]]},"1000":{"position":[[157,2]]},"1001":{"position":[[74,2]]},"1002":{"position":[[257,2],[406,1],[421,2],[537,1],[658,2],[661,3],[665,2],[674,1],[685,2],[688,3],[692,3],[735,1],[737,3],[931,2],[1006,1],[1074,2],[1191,1],[1312,2],[1315,3],[1319,2],[1328,1],[1339,2],[1342,3],[1346,3],[1390,1],[1392,3]]},"1003":{"position":[[383,1],[440,2],[443,3],[447,2],[450,3]]},"1007":{"position":[[1180,1],[1182,3],[1186,2],[1260,1],[1323,1],[1339,1],[1341,1],[1375,1],[1468,1],[1503,1],[1515,1],[1608,2],[1611,2],[1614,3],[1618,2],[1621,1],[1623,2],[1632,1],[1661,1],[1673,1],[1727,2],[1730,3],[1734,2],[1737,1],[1739,1],[1741,3],[1773,1],[1793,1],[1834,1],[1846,1],[1892,1],[1944,1],[1946,1],[1948,2],[1998,2],[2098,1],[2202,1],[2244,1],[2273,1],[2275,3],[2279,1]]},"1012":{"position":[[84,1],[98,1],[120,1],[147,1]]},"1013":{"position":[[229,2],[290,1],[395,2],[459,3],[501,1],[547,2],[613,1],[615,3]]},"1014":{"position":[[192,1],[236,2],[242,1],[244,2],[263,1],[265,2],[268,2],[333,1],[375,2],[381,1],[383,2],[402,1],[404,2]]},"1015":{"position":[[168,1],[212,2],[218,1],[220,2],[239,1],[241,2]]},"1016":{"position":[[127,1]]},"1017":{"position":[[110,1],[176,1],[207,2],[239,3]]},"1018":{"position":[[69,1],[110,2],[135,1],[158,2],[225,2],[284,1],[286,2],[289,2],[292,2],[295,3],[299,2],[473,1],[489,2],[512,1],[535,2],[558,1],[567,2],[613,2],[756,1],[758,1],[772,1],[789,1],[860,2],[866,1],[868,2],[887,1],[889,2],[892,2],[955,1]]},"1020":{"position":[[348,1],[482,1],[484,3],[488,1],[538,1],[568,2],[595,1],[676,3],[680,1],[682,1],[684,3]]},"1022":{"position":[[444,1],[585,1],[611,1],[613,2],[711,2],[747,1],[826,2],[870,3],[874,2],[877,1],[879,1],[881,1],[883,3],[1001,1]]},"1023":{"position":[[103,1],[241,1],[267,1],[269,2],[362,2],[398,1],[412,1],[431,3],[495,2],[531,3],[535,2],[538,1],[540,1],[542,1],[544,3],[665,1]]},"1024":{"position":[[197,1],[327,1],[353,1],[370,1],[411,1],[444,1],[539,3],[543,1],[545,1],[547,3]]},"1033":{"position":[[405,2],[430,2],[451,1],[491,1],[603,1],[619,1],[650,2],[663,2],[666,3],[670,2],[673,1],[675,3],[679,2],[700,1],[821,2],[830,1],[861,2],[864,1],[879,2],[882,3],[886,2],[889,1],[891,3]]},"1035":{"position":[[153,3]]},"1036":{"position":[[113,1],[149,2]]},"1038":{"position":[[139,1],[165,2],[185,2],[202,1]]},"1039":{"position":[[143,2],[245,1],[254,1],[265,3],[344,2],[371,2],[419,1],[428,1],[439,3]]},"1040":{"position":[[134,2],[183,1],[202,2],[249,1],[284,2],[385,1],[387,1],[400,2],[482,2]]},"1041":{"position":[[86,3],[90,1],[147,2],[157,1],[171,1],[193,1],[212,1],[305,1],[314,2],[336,2],[345,1],[367,2],[395,1],[397,3]]},"1042":{"position":[[126,1],[144,1],[158,1],[172,1],[190,1],[223,1],[296,2]]},"1043":{"position":[[114,2],[166,3],[200,2]]},"1044":{"position":[[267,2],[320,1],[329,2],[351,1],[353,3],[357,2],[416,1],[430,1],[444,1],[465,3],[469,2],[523,3],[527,2],[583,3]]},"1045":{"position":[[69,1],[135,1],[181,3],[201,1],[252,3],[268,2]]},"1046":{"position":[[96,2]]},"1048":{"position":[[408,2],[458,1],[508,1],[510,3],[514,2],[567,1],[578,1],[597,1],[618,3]]},"1049":{"position":[[94,1],[154,1],[188,2],[248,2]]},"1050":{"position":[[82,2],[151,2]]},"1051":{"position":[[169,1],[211,2],[214,1],[295,3],[299,2],[435,1],[481,2],[484,1],[588,1],[590,3],[594,2],[627,2]]},"1052":{"position":[[187,1],[232,1],[243,2]]},"1053":{"position":[[96,1]]},"1055":{"position":[[141,2],[188,1],[221,1],[228,1],[238,1],[240,1],[242,3]]},"1056":{"position":[[70,2],[96,1],[132,1],[148,1],[150,3],[155,2],[192,1],[228,3],[238,1],[253,1],[255,3],[260,2],[312,1]]},"1057":{"position":[[80,1],[117,1],[161,2],[327,2],[446,1],[485,2],[598,1]]},"1058":{"position":[[214,1],[252,1],[286,1],[314,1],[316,1],[335,3],[339,2],[364,2],[435,3],[439,5],[445,2],[459,2],[484,2],[539,2]]},"1059":{"position":[[59,2],[132,1],[151,1],[224,1],[256,1],[263,1],[273,1],[275,1],[277,3],[308,1],[317,2],[363,1],[365,3]]},"1060":{"position":[[92,1],[124,1],[131,1],[141,1],[143,1],[145,3],[177,2],[213,3]]},"1061":{"position":[[93,1],[125,1],[132,1],[142,1],[144,1],[146,3],[185,1],[199,1],[213,1],[218,2],[280,3]]},"1062":{"position":[[90,2],[149,1],[181,1],[188,1],[198,1],[200,1],[202,3],[206,2],[268,1]]},"1063":{"position":[[80,1],[82,1],[106,2],[139,1],[146,1],[156,1],[158,1],[200,2],[243,1],[250,1],[260,1],[262,1],[304,2]]},"1064":{"position":[[75,2],[114,1],[128,1],[150,1],[175,1],[249,2],[302,1],[358,1]]},"1065":{"position":[[178,2],[239,1],[247,1],[260,1],[262,1],[264,2],[321,2],[324,1],[371,1],[448,1],[560,1],[653,1],[748,1],[778,2],[811,1],[819,1],[839,1],[841,1],[843,2],[900,2],[944,2],[1065,1],[1072,1],[1074,1],[1082,1],[1095,1],[1097,2],[1100,1],[1108,1],[1125,1],[1127,2],[1130,1],[1132,2],[1189,2],[1221,2],[1309,1],[1317,1],[1350,1],[1352,1],[1354,2],[1411,2]]},"1066":{"position":[[346,1],[382,1],[389,1],[399,2],[410,1],[421,1],[423,2],[426,3],[430,1],[498,1],[531,1],[617,1],[714,2],[742,3]]},"1067":{"position":[[288,1],[321,1],[328,1],[338,1],[340,1],[342,2],[399,3],[403,2],[453,1],[475,2],[490,2],[543,1],[572,1],[574,1],[583,1],[585,1],[600,3],[1119,3],[1123,1],[1167,1],[1228,1],[1267,2],[1282,1],[1315,1],[1322,1],[1341,1],[1343,1],[1345,3],[1349,3],[1353,1],[1397,1],[1458,1],[1509,1],[1534,2],[1549,1],[1582,1],[1589,1],[1599,2],[1615,1],[1625,1],[1627,1],[1629,3],[1913,2],[1956,1],[1994,1],[2001,1],[2020,1],[2022,1],[2047,1],[2067,2],[2106,1],[2138,1],[2145,1],[2164,1],[2166,1],[2211,2],[2214,3],[2218,1],[2262,1],[2321,1],[2351,2],[2369,1],[2438,2],[2474,2],[2477,3],[2481,2],[2484,3]]},"1069":{"position":[[466,1],[509,2],[611,1],[661,2],[726,1],[768,1],[822,2]]},"1070":{"position":[[93,1]]},"1072":{"position":[[2348,1],[2350,1],[2396,2],[2410,2],[2462,1],[2494,1],[2511,1],[2529,1],[2531,1],[2533,3],[2640,1],[2672,1],[2680,1],[2718,1],[2720,2],[2746,1],[2748,3]]},"1074":{"position":[[676,1],[912,1],[932,1],[999,2],[1048,2],[1070,1],[1109,2],[1138,1],[1227,2],[1250,1],[1289,2],[1315,1],[1433,2],[1456,1],[1570,1],[1634,1],[1654,1],[1693,2],[1716,1],[1755,1],[1757,1],[1759,1],[1761,1],[1763,2],[1788,1],[1826,2],[1899,1],[1929,1],[1931,1]]},"1075":{"position":[[43,1],[66,1],[68,3],[109,2]]},"1078":{"position":[[123,1],[125,1],[149,2],[269,1],[271,2],[328,2],[391,1],[417,2],[420,2],[487,3],[491,2],[522,1],[528,1],[561,2],[610,2],[624,1],[641,2],[654,1],[671,1],[673,2],[686,1],[718,1],[720,2],[819,2],[885,2],[977,3],[981,2],[1019,1],[1104,3],[1127,1]]},"1080":{"position":[[25,1],[27,1],[145,1],[151,1],[184,2],[233,2],[247,1],[280,2],[355,2],[368,1],[385,2],[396,1],[414,2],[429,1],[446,2],[458,1],[476,2],[612,2],[628,1],[652,1],[682,1],[689,1],[706,1],[708,1],[710,1],[712,1],[714,2],[727,1],[744,2],[813,2],[825,1],[840,2],[932,2],[1005,1],[1007,2]]},"1082":{"position":[[168,1],[170,1],[230,1],[236,1],[269,2],[318,2],[332,1],[349,2],[362,1],[379,2],[387,1],[418,2],[448,1],[450,2],[470,2]]},"1083":{"position":[[368,1],[370,1],[430,1],[436,1],[469,2],[518,2],[532,1],[549,2],[562,1],[579,2],[587,1],[618,1],[620,2],[640,2]]},"1084":{"position":[[669,1],[1541,1]]},"1085":{"position":[[388,1],[470,1],[1213,1],[1341,1],[1359,1],[1426,2],[1456,1],[1495,2],[1531,2],[1563,1],[1565,2],[1607,1],[3792,1]]},"1090":{"position":[[452,1],[473,1],[518,1],[542,1],[584,1],[613,1],[675,1],[702,1],[774,1],[942,2],[945,2],[948,3],[988,3],[992,5],[1013,1],[1071,3]]},"1097":{"position":[[338,1],[355,1],[392,3],[396,1],[468,1],[531,1],[601,2],[611,1],[636,1],[697,1],[789,3],[793,2],[827,2]]},"1098":{"position":[[30,2],[178,1],[195,1],[239,1],[264,1],[333,1],[425,3]]},"1099":{"position":[[30,2],[160,1],[177,1],[221,1],[242,1],[307,1],[395,3]]},"1100":{"position":[[648,1],[734,3],[770,2]]},"1101":{"position":[[427,2],[460,1],[546,3],[609,2],[650,1],[801,3],[811,2],[814,3]]},"1102":{"position":[[334,1],[419,3],[424,2],[471,1],[508,1],[527,1],[539,1],[566,1],[633,2],[669,2],[672,2],[675,3],[694,1],[818,2],[856,1],[875,1],[930,1],[972,1],[992,3],[1004,5],[1025,1],[1058,2],[1061,3]]},"1103":{"position":[[148,1],[193,1],[278,3],[297,1],[417,3]]},"1104":{"position":[[355,1],[363,3]]},"1105":{"position":[[635,1],[659,1],[661,1],[689,2],[706,1],[723,1],[847,3]]},"1106":{"position":[[572,1],[604,1],[620,1],[627,1],[642,1],[644,1],[661,1],[789,3]]},"1107":{"position":[[538,1],[666,1],[684,1],[751,2],[772,1],[839,1],[841,2],[873,1],[910,1],[912,1]]},"1108":{"position":[[391,1],[469,2],[563,3]]},"1109":{"position":[[189,1],[262,3],[358,1],[360,1]]},"1114":{"position":[[439,1],[471,1],[493,1],[520,1],[564,2],[611,1],[629,1],[703,1],[785,3],[789,2],[830,1],[859,2],[931,1]]},"1115":{"position":[[282,2],[354,2],[418,1],[424,2]]},"1116":{"position":[[310,2],[343,1],[360,2],[393,1],[429,1],[448,2],[481,1],[528,1],[558,2],[597,1],[648,1]]},"1117":{"position":[[326,1],[370,1],[390,2],[471,1],[473,2],[490,3]]},"1118":{"position":[[347,1],[387,1],[422,1],[433,1],[537,1],[539,1],[575,1],[598,1],[613,3],[617,1],[619,2],[637,1],[745,3],[763,1],[807,1],[850,1]]},"1119":{"position":[[366,1],[380,1],[402,1],[422,1]]},"1121":{"position":[[336,1],[386,1],[443,1],[525,3],[543,1],[594,1],[619,1],[757,3],[767,2],[770,1],[772,2]]},"1125":{"position":[[160,1],[179,1],[201,1],[222,1],[279,1],[355,3],[359,1],[410,1],[440,2],[471,3],[475,1],[554,1],[578,2],[605,3],[609,1],[651,1],[712,1],[737,2],[758,2],[761,3]]},"1126":{"position":[[325,2],[359,1],[441,3],[445,1],[506,1],[548,1],[607,2],[630,3],[634,2],[672,1],[762,3],[766,1],[826,1],[890,1],[906,2],[930,3]]},"1129":{"position":[[32,2]]},"1130":{"position":[[8,1],[27,1],[49,1],[78,1],[152,1],[290,3],[294,1],[340,1],[378,2],[397,2],[400,3],[404,2],[407,3],[411,2]]},"1134":{"position":[[8,1],[27,1],[49,1],[76,1],[129,1],[211,3],[215,1],[266,1],[338,1],[380,1],[410,2],[430,3],[434,1],[475,1],[488,1],[549,2],[589,3],[593,1],[648,1],[706,1],[739,1],[752,1],[767,2],[784,2],[787,3]]},"1138":{"position":[[66,2],[150,1],[169,1],[191,1],[215,1],[273,1],[352,3],[356,1],[417,1],[475,1],[499,1],[585,1],[601,2],[619,2],[622,3]]},"1139":{"position":[[248,1],[267,1],[289,1],[313,1],[423,1],[474,1],[528,1],[662,2],[665,3]]},"1140":{"position":[[464,1],[483,1],[505,1],[529,1],[587,1],[697,1],[721,1],[766,1],[768,1],[826,2],[841,2],[844,3]]},"1141":{"position":[[32,2]]},"1143":{"position":[[124,2]]},"1144":{"position":[[36,1],[55,1],[90,1],[110,1],[177,1],[252,3]]},"1145":{"position":[[240,1],[259,1],[294,1],[314,1],[412,1],[463,1],[517,1],[647,2],[650,3]]},"1146":{"position":[[222,1],[305,1],[307,2],[332,2],[335,1],[337,2],[340,3]]},"1148":{"position":[[526,1],[545,1],[580,1],[600,1],[751,1],[795,2],[798,1],[851,1],[881,2],[933,1],[1058,2],[1070,3],[1074,1],[1076,3],[1116,1],[1165,3]]},"1149":{"position":[[670,1],[689,1],[739,1],[759,1],[803,1],[822,1],[909,1],[979,3],[1037,1],[1047,1],[1107,1],[1113,1],[1146,2],[1155,1],[1172,2],[1180,1],[1197,1],[1199,2],[1227,1],[1229,1],[1231,3],[1303,1],[1396,2],[1468,3]]},"1150":{"position":[[466,1],[468,5],[474,2],[477,3]]},"1151":{"position":[[240,2],[877,1],[894,1]]},"1154":{"position":[[205,1],[245,1],[319,1],[343,1],[392,3],[396,1],[452,2],[480,1],[522,3],[526,1],[565,1],[623,2],[659,3],[663,3],[667,1],[719,2],[737,1],[812,3]]},"1158":{"position":[[30,1],[49,1],[84,1],[111,1],[185,1],[267,3],[324,1],[334,1],[417,1],[423,1],[440,2],[450,1],[467,2],[476,1],[494,1],[496,2],[533,1],[535,1],[537,3],[632,3],[674,1],[708,1],[716,1],[729,1],[731,1]]},"1159":{"position":[[216,1],[235,1],[270,1],[318,1],[371,1],[489,2],[492,3]]},"1162":{"position":[[906,3]]},"1163":{"position":[[9,1],[33,1],[89,1],[116,1],[169,3],[173,1],[235,1],[275,2],[298,1],[325,2],[398,1],[450,3],[454,2],[531,1],[586,3],[590,3],[594,3],[598,3]]},"1164":{"position":[[82,1],[103,1],[132,1],[185,3],[189,1],[217,1],[253,1],[268,1],[270,1],[283,2],[301,3],[305,1],[394,1],[478,1],[550,1],[638,1],[729,1],[778,1],[780,1],[793,2],[823,3],[827,1],[896,1],[956,1],[1028,1],[1082,1],[1098,2],[1130,3],[1134,1],[1204,1],[1250,1],[1252,1],[1323,1],[1403,1],[1483,1],[1485,1],[1498,2],[1520,2],[1551,3]]},"1165":{"position":[[308,1],[361,1],[440,3],[463,1],[475,3],[479,1],[537,1],[581,1],[653,1],[697,2],[721,1],[791,3],[834,3],[838,4],[908,2],[911,3],[915,2],[918,3],[922,3],[926,1],[998,1],[1035,2],[1059,1],[1135,3],[1178,3],[1182,4]]},"1168":{"position":[[24,1],[43,1],[65,1],[86,1],[133,1],[209,3]]},"1172":{"position":[[8,1],[27,1],[49,1],[68,1],[106,2],[234,1],[298,1],[420,2],[423,1],[491,1],[551,2],[554,2],[557,3]]},"1176":{"position":[[310,2],[339,1],[341,2],[344,3],[348,2],[360,1],[372,1],[384,1],[386,1],[388,2],[391,3],[395,2],[398,1],[400,2],[471,2],[540,1],[542,2],[545,3],[549,2],[573,1],[597,1],[599,2],[602,3],[606,2],[609,1]]},"1177":{"position":[[250,1],[301,1],[435,3],[490,1],[518,1],[520,3],[524,2]]},"1178":{"position":[[239,2],[874,1],[891,1]]},"1181":{"position":[[858,3]]},"1182":{"position":[[9,1],[33,1],[89,1],[116,1],[169,3],[173,1],[235,1],[275,2],[298,1],[325,2],[402,1],[454,3],[458,2],[535,1],[590,3],[594,3],[598,3],[602,3]]},"1184":{"position":[[375,1],[399,1],[455,1],[482,1],[542,1],[581,1],[648,1],[758,2],[761,3],[774,1],[829,3],[833,3],[837,3],[841,3]]},"1185":{"position":[[308,1],[399,3]]},"1186":{"position":[[266,1],[350,3]]},"1189":{"position":[[275,1],[294,1],[316,1],[338,1],[396,1],[473,3],[477,1],[505,1],[578,2],[653,2],[656,3]]},"1201":{"position":[[8,1],[27,1],[49,1],[85,1],[173,1],[254,1],[256,3],[260,1],[293,1],[346,2],[349,1],[351,1],[353,3]]},"1202":{"position":[[393,1],[427,1],[429,1],[436,1],[455,2],[458,2]]},"1204":{"position":[[235,1],[262,1],[305,1]]},"1208":{"position":[[636,2],[713,1],[755,2],[802,1],[847,1],[863,3],[867,2],[926,1],[978,1],[994,3],[998,2],[1069,1],[1114,2],[1163,1],[1226,1],[1261,2],[1321,1],[1365,1],[1397,1],[1405,3],[1431,1],[1471,2],[1536,1],[1601,1],[1616,3],[1620,2],[1683,2],[1731,1],[1763,2],[1819,2]]},"1210":{"position":[[184,3],[248,2],[290,1],[309,1],[331,1],[352,1],[413,1],[489,1],[491,3],[495,1],[551,1],[606,1],[634,2],[706,1],[708,1],[710,3]]},"1211":{"position":[[539,1],[558,1],[580,1],[609,1],[668,1],[753,3]]},"1212":{"position":[[263,2],[302,1],[321,1],[372,1],[396,1],[456,1],[510,3]]},"1213":{"position":[[560,2],[599,1],[618,1],[676,1],[726,3]]},"1218":{"position":[[268,2],[292,1],[313,1],[365,1],[449,2],[512,1],[514,2],[540,1],[542,2],[545,3],[560,1],[595,3],[599,2],[623,1],[650,1],[701,1],[725,1],[861,2],[883,1],[885,3]]},"1219":{"position":[[250,2],[270,1],[291,1],[336,1],[374,1],[422,2],[508,1],[589,3],[593,2],[671,1],[759,3],[764,2],[784,1],[814,1],[873,1],[968,2],[971,3]]},"1220":{"position":[[187,1],[302,2],[363,1],[376,2],[379,1],[381,3],[470,1],[531,3],[548,1],[591,3],[616,2],[624,1],[637,1]]},"1222":{"position":[[8,1],[31,1],[86,1],[113,1],[157,3],[161,1],[226,2],[252,1],[277,3],[281,1],[323,1],[381,2],[420,3],[424,3],[428,1],[471,1],[527,2],[545,1],[547,1],[549,2],[552,3],[556,2],[569,1],[571,3],[575,1],[618,1],[705,1],[753,1],[796,1],[798,1],[894,1],[932,2],[947,3],[951,1],[968,1],[1021,1],[1108,1],[1211,1],[1274,2],[1296,1],[1298,2],[1301,3],[1305,2],[1308,1],[1310,3],[1314,1],[1366,2],[1384,1],[1457,3]]},"1225":{"position":[[108,2],[135,1],[159,1],[212,1],[236,1],[301,3],[305,1],[366,1],[383,1],[422,2],[458,3]]},"1226":{"position":[[8,1],[27,1],[49,1],[76,1],[129,1],[153,1],[209,1],[291,1],[293,3],[297,1],[348,1],[395,1],[472,1],[474,1],[561,2],[605,3],[609,1],[630,1],[648,2],[666,1],[704,1],[706,1],[708,1],[710,3]]},"1227":{"position":[[312,2],[558,1],[577,1],[599,1],[626,1],[687,1],[769,1],[771,3],[775,1],[851,1],[886,2],[932,1],[934,1],[936,3]]},"1231":{"position":[[421,2],[448,1],[472,1],[525,1],[549,1],[605,1],[637,1],[659,1],[690,1],[794,1],[821,2],[911,3],[915,3],[919,1],[971,1],[1000,2],[1018,1],[1086,3],[1124,3],[1128,3],[1132,3],[1136,3],[1163,1],[1191,3],[1195,5]]},"1235":{"position":[[184,2],[319,2],[430,2]]},"1237":{"position":[[504,1],[532,1],[575,1],[606,1],[652,1],[690,1],[741,1],[765,1],[831,1],[1015,2],[1018,2],[1021,2],[1024,3]]},"1238":{"position":[[450,1],[473,1],[528,1],[549,1],[602,1],[626,1],[682,1],[722,1],[806,1],[1011,2],[1014,2],[1017,2],[1020,3]]},"1239":{"position":[[483,1],[523,1],[597,1],[624,1],[684,1],[713,1],[776,1],[926,2],[929,2],[932,3]]},"1246":{"position":[[1,2],[339,2],[956,2],[1218,2],[1592,2]]},"1247":{"position":[[1,2]]},"1249":{"position":[[450,2],[479,1],[481,1],[493,1],[500,1],[510,2],[529,2],[538,2],[552,2],[555,2]]},"1252":{"position":[[309,1],[404,1],[406,1],[414,1],[449,1],[451,2]]},"1263":{"position":[[1,2],[21,1],[45,1],[98,1],[122,1],[195,3],[199,1],[260,1],[277,1],[316,2],[352,3]]},"1264":{"position":[[8,1],[27,1],[49,1],[70,1],[131,1],[207,1],[209,3],[213,1],[264,1],[305,1],[375,1],[377,1],[448,2],[485,3],[489,1],[510,1],[528,2],[546,1],[584,1],[586,1],[588,1],[590,3]]},"1265":{"position":[[305,2],[552,1],[571,1],[593,1],[614,1],[675,1],[751,1],[753,3],[757,1],[825,1],[860,2],[899,1],[901,1],[903,3]]},"1266":{"position":[[144,2],[176,1],[214,1],[272,1],[299,8],[308,2],[367,2],[388,1],[457,1],[478,2],[508,1],[510,1],[540,1],[570,1],[595,2],[606,1],[696,2],[699,2],[730,1],[739,1],[741,1],[792,1],[839,1],[841,1],[843,2],[846,2],[858,1],[911,2],[928,1],[1020,1],[1030,1],[1049,2],[1052,2],[1079,4],[1084,1],[1086,2]]},"1267":{"position":[[425,2],[487,1],[543,3],[547,2],[609,1],[681,3],[703,1],[775,3]]},"1268":{"position":[[158,2],[199,2],[432,1],[468,2],[537,3],[576,1],[600,1],[653,1],[677,1],[783,3]]},"1271":{"position":[[562,2],[793,2],[1079,2],[1082,2],[1124,1],[1177,1],[1215,2],[1287,2],[1368,1],[1383,1],[1419,1],[1501,3],[1505,2],[1562,1],[1625,3]]},"1274":{"position":[[8,1],[27,1],[49,1],[91,1],[137,3],[141,1],[182,1],[214,1],[260,2],[313,1],[389,3],[393,1],[451,1],[500,1],[546,1],[610,1],[631,2],[677,2],[680,3]]},"1275":{"position":[[126,1],[145,1],[167,1],[215,1],[268,1],[283,1],[324,1],[454,2],[457,3]]},"1276":{"position":[[398,1],[417,1],[439,1],[481,1],[527,3],[531,1],[576,1],[644,1],[670,1],[718,2],[839,1],[881,1],[926,1],[1045,2],[1048,3]]},"1277":{"position":[[149,1],[168,1],[190,1],[239,1],[292,1],[299,1],[335,2],[373,1],[441,2],[586,2],[589,3],[724,1],[768,1],[872,1],[952,3]]},"1278":{"position":[[252,1],[271,1],[293,1],[346,1],[399,1],[450,1],[619,2],[622,3],[704,1],[723,1],[745,1],[793,1],[846,1],[861,1],[902,1],[1054,2],[1057,3]]},"1279":{"position":[[96,1],[119,1],[150,1],[223,1],[225,1],[227,1],[317,1],[336,1],[358,1],[405,1],[451,3],[455,1],[498,2],[508,1],[544,1],[589,1],[601,1],[640,1],[700,1],[776,3],[780,1],[838,1],[887,1],[933,1],[997,1],[1018,2],[1079,2],[1082,3]]},"1280":{"position":[[248,1],[267,1],[289,1],[332,1],[435,1],[555,2],[558,3]]},"1281":{"position":[[114,1],[138,1],[300,2]]},"1282":{"position":[[765,1],[847,2],[899,3],[1136,1],[1238,3]]},"1286":{"position":[[198,1],[226,1],[269,1],[296,1],[340,2],[403,1],[469,3],[482,1],[546,3]]},"1287":{"position":[[235,1],[267,1],[315,1],[342,1],[386,2],[449,1],[519,3],[532,1],[596,3]]},"1288":{"position":[[181,1],[219,1],[275,1],[302,1],[346,2],[409,1],[485,3],[498,1],[562,3]]},"1290":{"position":[[8,1],[17,1],[63,1],[98,1],[150,2],[185,1],[194,3]]},"1291":{"position":[[8,1],[23,1],[122,1],[148,2],[183,1],[192,3]]},"1292":{"position":[[864,1]]},"1294":{"position":[[574,1],[588,1],[590,2],[778,1],[795,1],[797,3],[826,1],[903,1],[944,1],[994,1],[1003,3],[1007,1],[1064,1],[1102,2],[1117,3],[1128,1],[1165,1],[1179,1],[1200,3],[1204,1],[1252,1],[1303,2],[1306,1],[1316,1],[1330,1],[1351,1],[1364,1],[1377,2],[1380,1],[1389,1],[1430,2],[1445,2],[1472,1],[1532,1],[1582,1],[1592,1],[1626,1],[1653,1],[1700,3],[1707,1],[1714,1],[1722,1],[1729,1],[1738,1],[1766,1],[1775,2],[1778,3],[1782,1]]},"1296":{"position":[[742,2],[814,1],[820,2],[886,1],[900,1],[935,1],[937,3],[961,2],[964,3],[969,2],[1034,1],[1048,1],[1050,2],[1053,2],[1125,1],[1146,1],[1148,2],[1315,2],[1356,1],[1382,4],[1421,2],[1424,2],[1465,1],[1486,2],[1531,1],[1558,1],[1560,3],[1586,2]]},"1298":{"position":[[216,2],[316,1],[339,1]]},"1309":{"position":[[227,1],[443,1],[455,1],[550,1],[552,1],[568,1],[570,3],[574,1],[632,1],[675,1],[710,1],[733,1],[818,1],[880,1],[906,2],[933,2],[947,1],[949,3],[953,1],[996,1],[1052,1],[1054,1],[1124,1],[1183,2],[1212,1],[1214,2],[1386,1],[1422,2],[1429,1],[1454,1],[1515,1],[1517,3]]},"1311":{"position":[[60,3],[64,1],[98,2],[130,1],[236,3],[290,1],[292,1],[445,1],[459,1],[476,2],[490,1],[507,2],[520,1],[537,2],[545,1],[563,1],[565,2],[618,2],[658,1],[660,1],[713,1],[737,1],[739,1],[750,1],[752,1],[774,1],[776,2],[830,1],[832,1],[890,1],[906,1],[957,1],[959,2],[1004,1],[1082,1],[1084,3],[1088,2],[1192,2],[1254,2],[1290,2],[1304,1],[1306,1],[1331,1],[1333,1],[1345,1],[1347,1],[1361,1],[1363,1],[1381,2],[1390,2],[1403,2],[1406,3],[1410,1],[1429,2],[1432,2],[1478,1],[1580,3],[1584,2],[1634,2],[1675,2],[1743,1],[1811,3],[1815,1],[1826,2]]},"1314":{"position":[[664,1],[689,1]]},"1315":{"position":[[386,1],[414,1],[463,1],[567,1],[657,1]]},"1316":{"position":[[821,1],[903,1],[952,1]]},"1321":{"position":[[267,2]]},"1324":{"position":[[111,1],[659,1]]}},"keywords":{}}],["0",{"_index":758,"title":{},"content":{"50":{"position":[[467,1]]},"51":{"position":[[307,2]]},"143":{"position":[[528,2],[713,2]]},"188":{"position":[[1229,2]]},"209":{"position":[[434,2]]},"211":{"position":[[396,2]]},"255":{"position":[[778,2]]},"259":{"position":[[78,2]]},"314":{"position":[[744,2]]},"315":{"position":[[720,2]]},"316":{"position":[[185,2]]},"334":{"position":[[630,2]]},"367":{"position":[[722,2]]},"392":{"position":[[580,2],[1546,2],[4003,2],[4019,2],[4180,2]]},"397":{"position":[[559,2]]},"398":{"position":[[2112,2]]},"480":{"position":[[544,2]]},"482":{"position":[[844,2]]},"502":{"position":[[971,1]]},"518":{"position":[[438,1]]},"538":{"position":[[608,2]]},"554":{"position":[[1335,2]]},"562":{"position":[[316,2]]},"564":{"position":[[773,2]]},"571":{"position":[[912,1]]},"579":{"position":[[638,2]]},"580":{"position":[[539,1]]},"598":{"position":[[615,2]]},"632":{"position":[[1528,2]]},"638":{"position":[[612,2]]},"639":{"position":[[368,2]]},"662":{"position":[[2391,2]]},"680":{"position":[[820,2],[960,1],[1275,4]]},"717":{"position":[[1429,2]]},"720":{"position":[[146,2]]},"734":{"position":[[694,2]]},"751":{"position":[[122,2],[599,1],[1701,1]]},"752":{"position":[[1245,2],[1283,1],[1299,2]]},"808":{"position":[[185,2],[541,2]]},"812":{"position":[[84,2]]},"813":{"position":[[84,2]]},"838":{"position":[[2605,2]]},"862":{"position":[[660,2]]},"863":{"position":[[63,1]]},"872":{"position":[[1869,2],[4099,2]]},"875":{"position":[[2659,1],[3252,2],[4400,2],[5494,3]]},"885":{"position":[[1628,2],[1932,2]]},"886":{"position":[[553,1]]},"888":{"position":[[1103,1]]},"898":{"position":[[2449,2]]},"904":{"position":[[867,2]]},"916":{"position":[[153,2]]},"932":{"position":[[1205,2]]},"988":{"position":[[3623,2],[4349,1]]},"995":{"position":[[1558,1]]},"1074":{"position":[[355,1],[743,2],[1199,2]]},"1076":{"position":[[46,2],[82,2]]},"1078":{"position":[[208,2]]},"1080":{"position":[[38,2],[575,2]]},"1082":{"position":[[181,2]]},"1083":{"position":[[381,2]]},"1085":{"position":[[1236,2]]},"1107":{"position":[[561,2]]},"1115":{"position":[[350,3]]},"1149":{"position":[[1058,2]]},"1158":{"position":[[368,2]]},"1208":{"position":[[1403,1]]},"1294":{"position":[[1704,2]]},"1311":{"position":[[366,2]]},"1316":{"position":[[954,1],[1124,1]]}},"keywords":{}}],["0.00000001",{"_index":6434,"title":{},"content":{"1294":{"position":[[1391,11]]}},"keywords":{}}],["0.003",{"_index":2418,"title":{},"content":{"398":{"position":[[2042,6]]},"402":{"position":[[1191,6]]}},"keywords":{}}],["0.0052",{"_index":3060,"title":{},"content":{"465":{"position":[[169,6],[374,6]]}},"keywords":{}}],["0.01",{"_index":5839,"title":{},"content":{"1080":{"position":[[607,4]]}},"keywords":{}}],["0.017",{"_index":3047,"title":{},"content":{"464":{"position":[[308,5],[513,5]]}},"keywords":{}}],["0.058",{"_index":3046,"title":{},"content":{"464":{"position":[[289,5]]}},"keywords":{}}],["0.1",{"_index":3061,"title":{},"content":{"465":{"position":[[186,3]]}},"keywords":{}}],["0.12",{"_index":2188,"title":{},"content":{"390":{"position":[[565,5]]},"402":{"position":[[290,5],[331,6]]}},"keywords":{}}],["0.132",{"_index":3059,"title":{},"content":{"465":{"position":[[150,5]]}},"keywords":{}}],["0.17",{"_index":3048,"title":{},"content":{"464":{"position":[[324,4],[392,4]]}},"keywords":{}}],["0.2",{"_index":1414,"title":{},"content":{"228":{"position":[[451,3]]}},"keywords":{}}],["0.34",{"_index":2189,"title":{},"content":{"390":{"position":[[572,5]]},"402":{"position":[[297,5]]}},"keywords":{}}],["0.39",{"_index":3078,"title":{},"content":{"467":{"position":[[106,4]]}},"keywords":{}}],["0.45",{"_index":3064,"title":{},"content":{"465":{"position":[[253,4]]}},"keywords":{}}],["0.56",{"_index":2187,"title":{},"content":{"390":{"position":[[558,6]]},"402":{"position":[[283,6],[324,6]]}},"keywords":{}}],["0.78",{"_index":2481,"title":{},"content":{"402":{"position":[[303,5]]}},"keywords":{}}],["0.8",{"_index":1412,"title":{},"content":{"228":{"position":[[419,3]]},"1292":{"position":[[705,3]]}},"keywords":{}}],["0.9",{"_index":6413,"title":{},"content":{"1292":{"position":[[740,3]]}},"keywords":{}}],["0.90",{"_index":2190,"title":{},"content":{"390":{"position":[[579,6]]},"402":{"position":[[310,5]]}},"keywords":{}}],["0000",{"_index":6555,"title":{},"content":{"1316":{"position":[[2268,4]]}},"keywords":{}}],["01",{"_index":6101,"title":{},"content":{"1158":{"position":[[596,4]]}},"keywords":{}}],["02",{"_index":2984,"title":{},"content":{"457":{"position":[[330,2]]},"751":{"position":[[1869,2]]},"1282":{"position":[[405,2]]}},"keywords":{}}],["04t15:29.40.273z",{"_index":6554,"title":{},"content":{"1316":{"position":[[2251,16]]}},"keywords":{}}],["0:42",{"_index":1789,"title":{},"content":{"301":{"position":[[533,4]]}},"keywords":{}}],["0the",{"_index":5803,"title":{},"content":{"1074":{"position":[[118,4]]}},"keywords":{}}],["1",{"_index":1300,"title":{"201":{"position":[[0,2]]},"248":{"position":[[0,2]]},"309":{"position":[[0,2]]},"474":{"position":[[0,2]]},"553":{"position":[[0,2]]},"559":{"position":[[5,2]]}},"content":{"299":{"position":[[598,2],[898,1]]},"303":{"position":[[715,1],[939,1]]},"361":{"position":[[712,1],[936,1]]},"402":{"position":[[1958,1]]},"403":{"position":[[510,2],[549,1],[805,2]]},"439":{"position":[[715,2],[815,2]]},"464":{"position":[[1214,1]]},"562":{"position":[[580,4]]},"571":{"position":[[1604,1]]},"599":{"position":[[113,4]]},"662":{"position":[[1599,1]]},"678":{"position":[[287,2],[306,1]]},"680":{"position":[[1397,1]]},"681":{"position":[[818,1]]},"683":{"position":[[212,1],[333,1],[927,1],[1004,2],[1023,1]]},"717":{"position":[[506,1]]},"724":{"position":[[130,2]]},"734":{"position":[[70,1]]},"749":{"position":[[4436,3],[4450,4],[4472,2],[4482,1]]},"751":{"position":[[556,1],[612,1],[614,2],[857,2],[1010,1],[1658,1],[1714,1],[1716,2]]},"752":{"position":[[522,2]]},"754":{"position":[[259,2]]},"825":{"position":[[83,1]]},"829":{"position":[[1,1]]},"838":{"position":[[1916,1]]},"849":{"position":[[914,3]]},"854":{"position":[[1,1]]},"861":{"position":[[224,1],[294,1]]},"862":{"position":[[118,1]]},"866":{"position":[[1,1]]},"872":{"position":[[1,1]]},"875":{"position":[[1,1],[2552,2],[2559,3]]},"885":{"position":[[1776,2],[1821,2],[1886,2],[1917,2],[2511,3]]},"898":{"position":[[1,1]]},"904":{"position":[[338,1],[1186,3]]},"1041":{"position":[[312,1],[334,1]]},"1042":{"position":[[174,2]]},"1044":{"position":[[327,1],[349,1],[446,2]]},"1048":{"position":[[580,2]]},"1051":{"position":[[603,2]]},"1059":{"position":[[315,1],[361,1]]},"1061":{"position":[[215,2],[262,1]]},"1115":{"position":[[420,3]]},"1144":{"position":[[1,1]]},"1148":{"position":[[425,1]]},"1149":{"position":[[610,1]]},"1158":{"position":[[1,1]]},"1177":{"position":[[445,2]]},"1189":{"position":[[1,1]]},"1282":{"position":[[551,1]]},"1305":{"position":[[549,1],[628,1]]},"1316":{"position":[[1129,2]]}},"keywords":{}}],["1.15",{"_index":6410,"title":{},"content":{"1292":{"position":[[697,4]]}},"keywords":{}}],["1.28",{"_index":3062,"title":{},"content":{"465":{"position":[[207,4]]}},"keywords":{}}],["1.41",{"_index":3063,"title":{},"content":{"465":{"position":[[227,4]]}},"keywords":{}}],["1.46",{"_index":3049,"title":{},"content":{"464":{"position":[[346,4]]}},"keywords":{}}],["1.5",{"_index":3055,"title":{},"content":{"464":{"position":[[767,3]]}},"keywords":{}}],["1.54",{"_index":3050,"title":{},"content":{"464":{"position":[[366,4]]}},"keywords":{}}],["1.6",{"_index":2833,"title":{},"content":{"420":{"position":[[376,3]]}},"keywords":{}}],["10",{"_index":1526,"title":{},"content":{"244":{"position":[[1527,2]]},"335":{"position":[[718,4]]},"392":{"position":[[2526,2],[2745,3],[3060,2]]},"397":{"position":[[230,2],[515,2]]},"398":{"position":[[1733,4],[2886,4]]},"402":{"position":[[737,2]]},"408":{"position":[[1108,4]]},"427":{"position":[[857,2]]},"435":{"position":[[272,2]]},"454":{"position":[[454,3]]},"459":{"position":[[563,2]]},"461":{"position":[[721,2],[833,2]]},"464":{"position":[[569,2]]},"696":{"position":[[1975,3]]},"724":{"position":[[1853,2]]},"736":{"position":[[254,2]]},"739":{"position":[[753,4]]},"752":{"position":[[785,2]]},"820":{"position":[[585,2],[637,2]]},"862":{"position":[[1400,3],[1426,2]]},"886":{"position":[[4891,3]]},"988":{"position":[[4486,3]]},"996":{"position":[[520,2],[584,2]]},"1045":{"position":[[178,2]]},"1067":{"position":[[1622,2]]},"1208":{"position":[[1640,2]]},"1222":{"position":[[755,2],[943,3]]},"1249":{"position":[[507,2]]},"1295":{"position":[[920,2]]},"1296":{"position":[[1696,4]]},"1316":{"position":[[2248,2]]},"1318":{"position":[[420,2]]}},"keywords":{}}],["10)).toarray",{"_index":4998,"title":{},"content":{"875":{"position":[[2600,15]]}},"keywords":{}}],["10.0.0",{"_index":406,"title":{},"content":{"24":{"position":[[609,6]]},"793":{"position":[[1458,6]]},"1198":{"position":[[1156,6]]}},"keywords":{}}],["100",{"_index":775,"title":{},"content":{"51":{"position":[[436,3]]},"188":{"position":[[1313,3],[1355,3]]},"209":{"position":[[518,3]]},"211":{"position":[[480,3]]},"255":{"position":[[862,3]]},"259":{"position":[[162,3]]},"299":{"position":[[320,3]]},"367":{"position":[[857,3],[948,3]]},"397":{"position":[[745,3]]},"398":{"position":[[776,4]]},"402":{"position":[[1513,4]]},"408":{"position":[[3188,3]]},"412":{"position":[[8182,4]]},"434":{"position":[[180,3]]},"467":{"position":[[15,3],[677,3]]},"538":{"position":[[737,3]]},"554":{"position":[[1419,3]]},"598":{"position":[[744,3]]},"617":{"position":[[1525,3]]},"632":{"position":[[1612,3]]},"638":{"position":[[696,3]]},"639":{"position":[[474,3]]},"660":{"position":[[271,4]]},"662":{"position":[[2475,3]]},"680":{"position":[[904,3],[946,4]]},"681":{"position":[[292,4],[377,4],[732,3]]},"698":{"position":[[2820,4],[2849,4]]},"717":{"position":[[1513,3]]},"734":{"position":[[778,3]]},"740":{"position":[[107,4]]},"752":{"position":[[1302,4]]},"767":{"position":[[596,6],[1005,6]]},"768":{"position":[[598,6],[1007,6]]},"769":{"position":[[555,6],[976,6]]},"816":{"position":[[238,3]]},"838":{"position":[[2689,3]]},"862":{"position":[[744,3]]},"872":{"position":[[1969,3],[4199,3]]},"886":{"position":[[4063,4],[4168,4]]},"898":{"position":[[2549,3]]},"904":{"position":[[951,3]]},"1044":{"position":[[519,3],[579,3]]},"1074":{"position":[[995,3],[1223,3]]},"1078":{"position":[[557,3]]},"1080":{"position":[[180,3],[276,3]]},"1082":{"position":[[265,3]]},"1083":{"position":[[465,3]]},"1085":{"position":[[1422,3]]},"1107":{"position":[[747,3],[835,3]]},"1149":{"position":[[1142,3]]},"1194":{"position":[[453,4],[727,4],[952,4]]}},"keywords":{}}],["100,000",{"_index":2553,"title":{},"content":{"408":{"position":[[2940,7]]}},"keywords":{}}],["1000",{"_index":1511,"title":{},"content":{"244":{"position":[[1170,4],[1331,4]]},"401":{"position":[[305,4]]},"653":{"position":[[510,4],[799,4],[955,4]]},"739":{"position":[[746,4]]},"886":{"position":[[1998,4]]},"988":{"position":[[1092,5]]},"995":{"position":[[1857,4]]},"996":{"position":[[589,6]]},"1186":{"position":[[311,5]]}},"keywords":{}}],["10000",{"_index":2436,"title":{},"content":{"400":{"position":[[71,5]]},"610":{"position":[[1350,7]]},"1186":{"position":[[244,6]]}},"keywords":{}}],["100000",{"_index":5838,"title":{},"content":{"1080":{"position":[[587,7]]}},"keywords":{}}],["1000th",{"_index":3976,"title":{},"content":{"704":{"position":[[53,7]]}},"keywords":{}}],["100k",{"_index":2328,"title":{},"content":{"394":{"position":[[1670,4]]}},"keywords":{}}],["100the",{"_index":5806,"title":{},"content":{"1074":{"position":[[361,6]]}},"keywords":{}}],["100x",{"_index":6465,"title":{},"content":{"1299":{"position":[[244,4]]}},"keywords":{}}],["1024",{"_index":2470,"title":{},"content":{"401":{"position":[[501,4],[538,4],[581,4]]}},"keywords":{}}],["104",{"_index":3072,"title":{},"content":{"466":{"position":[[191,3]]}},"keywords":{}}],["106135",{"_index":6419,"title":{},"content":{"1292":{"position":[[976,6]]}},"keywords":{}}],["108",{"_index":6196,"title":{},"content":{"1208":{"position":[[536,4]]}},"keywords":{}}],["10k",{"_index":2250,"title":{},"content":{"392":{"position":[[3118,3],[5150,3]]},"394":{"position":[[1607,3]]},"412":{"position":[[10073,3]]},"1162":{"position":[[706,3]]},"1181":{"position":[[794,3]]},"1295":{"position":[[1231,3]]}},"keywords":{}}],["10mb",{"_index":2527,"title":{},"content":{"408":{"position":[[374,5]]},"432":{"position":[[329,4]]}},"keywords":{}}],["10x",{"_index":4023,"title":{},"content":{"717":{"position":[[304,3]]},"1090":{"position":[[183,4]]}},"keywords":{}}],["11.0.0",{"_index":4628,"title":{},"content":{"793":{"position":[[1451,6]]}},"keywords":{}}],["110",{"_index":1491,"title":{},"content":{"244":{"position":[[453,3]]}},"keywords":{}}],["12",{"_index":4455,"title":{},"content":{"751":{"position":[[1872,2]]},"963":{"position":[[160,2]]},"1060":{"position":[[174,2],[210,2]]}},"keywords":{}}],["12.0.0",{"_index":4627,"title":{},"content":{"793":{"position":[[1444,6]]}},"keywords":{}}],["120",{"_index":2569,"title":{},"content":{"408":{"position":[[4867,3]]}},"keywords":{}}],["123",{"_index":1366,"title":{},"content":{"210":{"position":[[328,5]]},"1007":{"position":[[416,5],[807,3]]},"1008":{"position":[[192,4]]}},"keywords":{}}],["1234",{"_index":4638,"title":{},"content":{"796":{"position":[[468,4],[494,4],[545,4]]},"988":{"position":[[5467,4],[5526,4]]}},"keywords":{}}],["124",{"_index":5562,"title":{},"content":{"1007":{"position":[[891,4],[934,4]]}},"keywords":{}}],["125186",{"_index":6421,"title":{},"content":{"1292":{"position":[[1002,6]]}},"keywords":{}}],["125m",{"_index":3029,"title":{},"content":{"462":{"position":[[668,7]]}},"keywords":{}}],["128.0.6613.137",{"_index":3022,"title":{},"content":{"462":{"position":[[354,16]]}},"keywords":{}}],["1291",{"_index":2460,"title":{},"content":{"401":{"position":[[352,4]]}},"keywords":{}}],["13.0.0",{"_index":4626,"title":{},"content":{"793":{"position":[[1437,6]]}},"keywords":{}}],["13.41",{"_index":3070,"title":{},"content":{"466":{"position":[[149,5]]}},"keywords":{}}],["1300",{"_index":1513,"title":{},"content":{"244":{"position":[[1211,4],[1488,4]]}},"keywords":{}}],["131.0.6778.85",{"_index":6396,"title":{},"content":{"1292":{"position":[[115,14]]}},"keywords":{}}],["1337",{"_index":5177,"title":{},"content":{"892":{"position":[[313,5]]}},"keywords":{}}],["135,900",{"_index":3025,"title":{},"content":{"462":{"position":[[620,7]]}},"keywords":{}}],["13900hx",{"_index":6402,"title":{},"content":{"1292":{"position":[[192,7]]}},"keywords":{}}],["13th",{"_index":6397,"title":{},"content":{"1292":{"position":[[162,4]]}},"keywords":{}}],["14.0.0",{"_index":4625,"title":{},"content":{"793":{"position":[[1430,6]]}},"keywords":{}}],["14.0.0)fork",{"_index":6175,"title":{},"content":{"1198":{"position":[[2198,11]]}},"keywords":{}}],["140",{"_index":1496,"title":{},"content":{"244":{"position":[[677,3]]}},"keywords":{}}],["142",{"_index":6475,"title":{},"content":{"1301":{"position":[[1115,3]]}},"keywords":{}}],["1437",{"_index":2463,"title":{},"content":{"401":{"position":[[399,4]]}},"keywords":{}}],["1486940585",{"_index":4457,"title":{},"content":{"751":{"position":[[1964,11]]}},"keywords":{}}],["15.0.0",{"_index":4624,"title":{},"content":{"793":{"position":[[1423,6]]}},"keywords":{}}],["150",{"_index":6477,"title":{},"content":{"1301":{"position":[[1444,3]]}},"keywords":{}}],["1564483474",{"_index":5448,"title":{},"content":{"986":{"position":[[1027,11]]}},"keywords":{}}],["16",{"_index":469,"title":{},"content":{"28":{"position":[[804,3]]},"571":{"position":[[1581,2]]},"703":{"position":[[1511,2]]},"749":{"position":[[9325,3]]},"958":{"position":[[497,2],[618,3]]},"1162":{"position":[[1010,2],[1059,3]]}},"keywords":{}}],["16.0.0",{"_index":4623,"title":{},"content":{"793":{"position":[[1416,6]]}},"keywords":{}}],["16.66m",{"_index":3470,"title":{},"content":{"571":{"position":[[1641,8]]}},"keywords":{}}],["162",{"_index":2461,"title":{},"content":{"401":{"position":[[361,3],[408,3],[457,3]]}},"keywords":{}}],["1647",{"_index":2437,"title":{},"content":{"400":{"position":[[94,4]]}},"keywords":{}}],["16m",{"_index":3471,"title":{},"content":{"571":{"position":[[1794,5]]}},"keywords":{}}],["17",{"_index":6452,"title":{},"content":{"1295":{"position":[[1053,2]]}},"keywords":{}}],["17.0.0",{"_index":4622,"title":{},"content":{"793":{"position":[[1409,6]]}},"keywords":{}}],["170",{"_index":1471,"title":{},"content":{"243":{"position":[[878,3]]},"244":{"position":[[281,3],[1025,3],[1559,3]]}},"keywords":{}}],["1706579817126",{"_index":5953,"title":{},"content":{"1104":{"position":[[379,15]]}},"keywords":{}}],["173",{"_index":2447,"title":{},"content":{"401":{"position":[[219,3]]}},"keywords":{}}],["1769",{"_index":2464,"title":{},"content":{"401":{"position":[[448,4]]}},"keywords":{}}],["18",{"_index":4652,"title":{},"content":{"798":{"position":[[590,2],[721,3]]},"949":{"position":[[109,2]]},"1055":{"position":[[173,2],[235,2]]},"1059":{"position":[[270,2]]},"1060":{"position":[[138,2]]},"1061":{"position":[[139,2]]},"1062":{"position":[[134,2],[195,2]]},"1063":{"position":[[153,2]]},"1066":{"position":[[396,2],[527,3]]},"1067":{"position":[[335,2]]},"1292":{"position":[[747,2]]}},"keywords":{}}],["19",{"_index":5757,"title":{},"content":{"1063":{"position":[[103,2]]}},"keywords":{}}],["19.1",{"_index":3073,"title":{},"content":{"466":{"position":[[216,4]]}},"keywords":{}}],["1900",{"_index":1518,"title":{},"content":{"244":{"position":[[1370,4]]},"1074":{"position":[[1401,5]]}},"keywords":{}}],["1994",{"_index":2952,"title":{},"content":{"450":{"position":[[46,5]]}},"keywords":{}}],["1add",{"_index":5903,"title":{},"content":{"1085":{"position":[[3324,4]]}},"keywords":{}}],["1gb",{"_index":2537,"title":{},"content":{"408":{"position":[[1181,3]]},"696":{"position":[[1429,3]]}},"keywords":{}}],["2",{"_index":108,"title":{"202":{"position":[[0,2]]},"249":{"position":[[0,2]]},"310":{"position":[[0,2]]},"475":{"position":[[0,2]]},"554":{"position":[[0,2]]},"560":{"position":[[5,2]]}},"content":{"8":{"position":[[225,2],[297,1],[374,1],[880,2]]},"269":{"position":[[18,1]]},"299":{"position":[[423,2]]},"392":{"position":[[3076,1]]},"398":{"position":[[3251,1]]},"412":{"position":[[6997,1]]},"599":{"position":[[222,4]]},"612":{"position":[[2194,1]]},"617":{"position":[[650,1]]},"662":{"position":[[1859,1]]},"717":{"position":[[873,1]]},"724":{"position":[[334,2]]},"734":{"position":[[385,1]]},"751":{"position":[[967,1],[1023,1],[1095,2],[1147,2],[1923,2]]},"754":{"position":[[405,2]]},"825":{"position":[[220,1]]},"829":{"position":[[83,1]]},"838":{"position":[[2156,1]]},"854":{"position":[[54,1]]},"861":{"position":[[401,1],[919,1]]},"862":{"position":[[182,1]]},"866":{"position":[[53,1]]},"872":{"position":[[167,1]]},"875":{"position":[[607,1]]},"898":{"position":[[64,1]]},"904":{"position":[[1265,1]]},"1144":{"position":[[147,1]]},"1148":{"position":[[488,1]]},"1149":{"position":[[850,1]]},"1158":{"position":[[155,1]]},"1189":{"position":[[59,1]]},"1277":{"position":[[697,1],[854,3]]}},"keywords":{}}],["2*n",{"_index":3636,"title":{},"content":{"617":{"position":[[715,3]]}},"keywords":{}}],["2.0",{"_index":2959,"title":{},"content":{"452":{"position":[[451,3]]},"1294":{"position":[[16,4]]}},"keywords":{}}],["2.7",{"_index":6412,"title":{},"content":{"1292":{"position":[[724,3]]}},"keywords":{}}],["2.93",{"_index":3065,"title":{},"content":{"465":{"position":[[282,4]]}},"keywords":{}}],["2.htm",{"_index":759,"title":{},"content":{"50":{"position":[[469,5]]}},"keywords":{}}],["20",{"_index":2228,"title":{},"content":{"392":{"position":[[664,2],[1630,2]]},"798":{"position":[[703,3]]},"1063":{"position":[[257,2]]},"1066":{"position":[[509,3]]},"1067":{"position":[[1596,2]]},"1082":{"position":[[415,2]]},"1296":{"position":[[816,3]]}},"keywords":{}}],["20.6",{"_index":3068,"title":{},"content":{"466":{"position":[[116,4]]}},"keywords":{}}],["200",{"_index":3067,"title":{},"content":{"466":{"position":[[53,3]]},"698":{"position":[[2955,4],[2984,4]]},"704":{"position":[[82,3]]}},"keywords":{}}],["2000",{"_index":3610,"title":{},"content":{"612":{"position":[[2358,6]]}},"keywords":{}}],["2009",{"_index":350,"title":{},"content":{"20":{"position":[[110,4]]},"451":{"position":[[84,5]]},"455":{"position":[[36,4]]}},"keywords":{}}],["200k",{"_index":601,"title":{},"content":{"38":{"position":[[991,5]]}},"keywords":{}}],["200m",{"_index":2558,"title":{},"content":{"408":{"position":[[3192,5]]}},"keywords":{}}],["200mb",{"_index":3936,"title":{},"content":{"696":{"position":[[1489,5]]}},"keywords":{}}],["2012",{"_index":245,"title":{},"content":{"15":{"position":[[17,5]]}},"keywords":{}}],["2014",{"_index":269,"title":{},"content":{"16":{"position":[[15,4]]},"26":{"position":[[332,4]]},"408":{"position":[[4495,5]]},"419":{"position":[[55,6]]}},"keywords":{}}],["2015",{"_index":1763,"title":{},"content":{"299":{"position":[[1421,5]]},"357":{"position":[[117,6]]},"452":{"position":[[71,5]]}},"keywords":{}}],["2016",{"_index":353,"title":{},"content":{"20":{"position":[[144,5]]},"32":{"position":[[296,5]]},"1198":{"position":[[35,5]]}},"keywords":{}}],["2017",{"_index":2967,"title":{},"content":{"454":{"position":[[149,4]]},"751":{"position":[[1864,4]]}},"keywords":{}}],["2018",{"_index":431,"title":{},"content":{"26":{"position":[[347,4]]},"452":{"position":[[427,5]]}},"keywords":{}}],["2019",{"_index":318,"title":{},"content":{"19":{"position":[[16,4]]},"36":{"position":[[242,4]]},"407":{"position":[[1194,4]]},"422":{"position":[[325,4]]}},"keywords":{}}],["2021",{"_index":6553,"title":{},"content":{"1316":{"position":[[2243,4]]}},"keywords":{}}],["2022",{"_index":2983,"title":{},"content":{"457":{"position":[[324,5]]},"1282":{"position":[[399,5]]}},"keywords":{}}],["2023",{"_index":3939,"title":{},"content":{"696":{"position":[[1882,7]]},"1207":{"position":[[23,5]]}},"keywords":{}}],["2024",{"_index":606,"title":{},"content":{"38":{"position":[[1038,6]]},"41":{"position":[[1,5]]},"412":{"position":[[272,4]]},"470":{"position":[[25,5]]},"613":{"position":[[650,6]]},"620":{"position":[[603,5]]}},"keywords":{}}],["2048",{"_index":4408,"title":{},"content":{"749":{"position":[[21557,5]]}},"keywords":{}}],["2050",{"_index":5824,"title":{},"content":{"1074":{"position":[[1428,4]]}},"keywords":{}}],["21",{"_index":976,"title":{},"content":{"77":{"position":[[256,2]]},"103":{"position":[[296,2]]},"234":{"position":[[356,2]]}},"keywords":{}}],["210",{"_index":1484,"title":{},"content":{"244":{"position":[[317,3],[757,3],[929,3]]}},"keywords":{}}],["213",{"_index":6405,"title":{},"content":{"1292":{"position":[[349,3]]}},"keywords":{}}],["216",{"_index":6407,"title":{},"content":{"1292":{"position":[[366,3]]}},"keywords":{}}],["2187",{"_index":2440,"title":{},"content":{"400":{"position":[[118,4]]}},"keywords":{}}],["22",{"_index":2985,"title":{},"content":{"457":{"position":[[333,3]]},"1275":{"position":[[22,2]]},"1282":{"position":[[408,3]]}},"keywords":{}}],["22k",{"_index":2831,"title":{},"content":{"420":{"position":[[187,3]]}},"keywords":{}}],["23",{"_index":2449,"title":{},"content":{"401":{"position":[[227,2]]},"463":{"position":[[698,2]]}},"keywords":{}}],["230",{"_index":6409,"title":{},"content":{"1292":{"position":[[388,3]]}},"keywords":{}}],["24",{"_index":3751,"title":{},"content":{"653":{"position":[[527,2]]},"995":{"position":[[1407,2],[1874,3]]}},"keywords":{}}],["24.04",{"_index":6395,"title":{},"content":{"1292":{"position":[[81,5]]}},"keywords":{}}],["24/7",{"_index":2597,"title":{},"content":{"410":{"position":[[1217,5]]}},"keywords":{}}],["24/7.onlin",{"_index":2793,"title":{},"content":{"418":{"position":[[246,11]]}},"keywords":{}}],["25",{"_index":6168,"title":{},"content":{"1194":{"position":[[907,3]]},"1294":{"position":[[328,2],[780,3]]},"1296":{"position":[[311,3],[1377,4],[1528,2]]}},"keywords":{}}],["25.20443",{"_index":2300,"title":{},"content":{"393":{"position":[[1059,8]]}},"keywords":{}}],["25.61",{"_index":3081,"title":{},"content":{"467":{"position":[[164,5]]}},"keywords":{}}],["2505310082",{"_index":4424,"title":{},"content":{"749":{"position":[[23135,10]]}},"keywords":{}}],["256",{"_index":5401,"title":{},"content":{"968":{"position":[[53,5]]}},"keywords":{}}],["26.8",{"_index":3033,"title":{},"content":{"463":{"position":[[716,4]]}},"keywords":{}}],["260",{"_index":1468,"title":{},"content":{"243":{"position":[[682,3]]},"244":{"position":[[161,3],[418,3],[600,3],[1056,3],[1632,3]]}},"keywords":{}}],["2616",{"_index":3634,"title":{},"content":{"617":{"position":[[441,4]]}},"keywords":{}}],["2624555824",{"_index":4182,"title":{},"content":{"749":{"position":[[3787,10]]}},"keywords":{}}],["279",{"_index":2457,"title":{},"content":{"401":{"position":[[314,3]]}},"keywords":{}}],["28",{"_index":6451,"title":{},"content":{"1295":{"position":[[957,3]]}},"keywords":{}}],["28,400",{"_index":3028,"title":{},"content":{"462":{"position":[[644,6]]}},"keywords":{}}],["280",{"_index":3071,"title":{},"content":{"466":{"position":[[172,3]]}},"keywords":{}}],["2900",{"_index":1529,"title":{},"content":{"244":{"position":[[1595,4]]}},"keywords":{}}],["29857",{"_index":1835,"title":{},"content":{"303":{"position":[[688,6],[916,6]]},"361":{"position":[[685,6],[913,6]]}},"keywords":{}}],["2k",{"_index":6161,"title":{},"content":{"1192":{"position":[[782,2]]}},"keywords":{}}],["2x",{"_index":6225,"title":{},"content":{"1209":{"position":[[201,2]]}},"keywords":{}}],["3",{"_index":1308,"title":{"203":{"position":[[0,2]]},"250":{"position":[[0,2]]},"311":{"position":[[0,2]]},"476":{"position":[[0,2]]},"555":{"position":[[0,2]]},"561":{"position":[[5,2]]},"601":{"position":[[32,1]]}},"content":{"464":{"position":[[709,1]]},"580":{"position":[[242,1]]},"599":{"position":[[274,4]]},"662":{"position":[[2016,1]]},"717":{"position":[[1249,1]]},"724":{"position":[[1510,2]]},"734":{"position":[[558,1]]},"754":{"position":[[564,2]]},"825":{"position":[[500,1]]},"829":{"position":[[880,1]]},"838":{"position":[[2500,1]]},"854":{"position":[[474,1]]},"861":{"position":[[745,1],[1199,1]]},"862":{"position":[[483,1]]},"872":{"position":[[711,1]]},"875":{"position":[[1268,1]]},"898":{"position":[[1537,1]]},"904":{"position":[[1404,1]]},"1148":{"position":[[681,1]]},"1149":{"position":[[983,1]]},"1158":{"position":[[271,1]]}},"keywords":{}}],["3.0",{"_index":2961,"title":{},"content":{"452":{"position":[[641,3]]}},"keywords":{}}],["3.05",{"_index":6411,"title":{},"content":{"1292":{"position":[[716,4]]}},"keywords":{}}],["3.17",{"_index":3051,"title":{},"content":{"464":{"position":[[421,4]]}},"keywords":{}}],["3.38.0",{"_index":2982,"title":{},"content":{"457":{"position":[[317,6]]},"1282":{"position":[[392,6]]}},"keywords":{}}],["3.59",{"_index":3082,"title":{},"content":{"467":{"position":[[191,4]]}},"keywords":{}}],["3.6.19",{"_index":2975,"title":{},"content":{"455":{"position":[[569,7]]}},"keywords":{}}],["3.9",{"_index":2047,"title":{},"content":{"357":{"position":[[113,3]]}},"keywords":{}}],["30",{"_index":1259,"title":{},"content":{"188":{"position":[[1398,2]]},"244":{"position":[[565,2]]},"426":{"position":[[328,3]]},"816":{"position":[[359,2]]},"866":{"position":[[869,2],[894,2]]}},"keywords":{}}],["300",{"_index":4428,"title":{},"content":{"749":{"position":[[23390,3]]},"1138":{"position":[[615,3]]},"1271":{"position":[[426,3]]}},"keywords":{}}],["3000",{"_index":3595,"title":{},"content":{"612":{"position":[[1835,5]]},"1292":{"position":[[316,4],[670,4]]}},"keywords":{}}],["31",{"_index":3039,"title":{},"content":{"463":{"position":[[1290,2]]},"653":{"position":[[532,3]]}},"keywords":{}}],["32",{"_index":2287,"title":{},"content":{"392":{"position":[[5212,2]]},"1292":{"position":[[154,2]]}},"keywords":{}}],["320",{"_index":1510,"title":{},"content":{"244":{"position":[[1090,3],[1121,3]]}},"keywords":{}}],["33",{"_index":5725,"title":{},"content":{"1051":{"position":[[292,2]]}},"keywords":{}}],["33%.it",{"_index":6066,"title":{},"content":{"1143":{"position":[[327,6]]}},"keywords":{}}],["3359",{"_index":2469,"title":{},"content":{"401":{"position":[[496,4]]}},"keywords":{}}],["337",{"_index":2471,"title":{},"content":{"401":{"position":[[506,3],[543,3]]}},"keywords":{}}],["34",{"_index":2452,"title":{},"content":{"401":{"position":[[257,2]]}},"keywords":{}}],["341",{"_index":2451,"title":{},"content":{"401":{"position":[[249,3]]}},"keywords":{}}],["3499",{"_index":2473,"title":{},"content":{"401":{"position":[[533,4]]}},"keywords":{}}],["35",{"_index":3086,"title":{},"content":{"467":{"position":[[703,2]]},"1123":{"position":[[101,2],[234,2]]}},"keywords":{}}],["35m",{"_index":3084,"title":{},"content":{"467":{"position":[[225,5]]}},"keywords":{}}],["36",{"_index":4911,"title":{},"content":{"863":{"position":[[173,2]]}},"keywords":{}}],["36%.it",{"_index":6064,"title":{},"content":{"1143":{"position":[[188,6]]}},"keywords":{}}],["3600",{"_index":1523,"title":{},"content":{"244":{"position":[[1451,4]]}},"keywords":{}}],["37.12",{"_index":3074,"title":{},"content":{"466":{"position":[[245,5]]}},"keywords":{}}],["384",{"_index":2448,"title":{},"content":{"401":{"position":[[223,3],[253,3]]}},"keywords":{}}],["390",{"_index":1459,"title":{},"content":{"243":{"position":[[489,3]]},"244":{"position":[[961,3],[1662,3]]}},"keywords":{}}],["39976",{"_index":6418,"title":{},"content":{"1292":{"position":[[964,5]]}},"keywords":{}}],["3:45",{"_index":1071,"title":{},"content":{"118":{"position":[[379,4]]},"323":{"position":[[637,4]]}},"keywords":{}}],["3x",{"_index":6189,"title":{},"content":{"1206":{"position":[[472,3]]}},"keywords":{}}],["4",{"_index":1313,"title":{"204":{"position":[[0,2]]},"251":{"position":[[0,2]]},"312":{"position":[[0,2]]},"477":{"position":[[0,2]]},"563":{"position":[[5,2]]}},"content":{"392":{"position":[[3078,1]]},"461":{"position":[[30,1],[255,1],[713,1],[857,1]]},"463":{"position":[[972,1]]},"662":{"position":[[2264,1]]},"829":{"position":[[1868,1]]},"838":{"position":[[2782,1]]},"861":{"position":[[1546,1]]},"862":{"position":[[896,1]]},"872":{"position":[[1339,1]]},"875":{"position":[[2885,1]]},"898":{"position":[[2702,1]]},"904":{"position":[[3356,1]]},"918":{"position":[[153,2]]},"1148":{"position":[[1080,1]]},"1149":{"position":[[1235,1]]},"1158":{"position":[[541,1]]},"1194":{"position":[[856,1],[1025,1]]},"1317":{"position":[[774,1]]}},"keywords":{}}],["4).status("eq"",{"_index":339,"title":{},"content":{"19":{"position":[[728,25]]}},"keywords":{}}],["4.99",{"_index":3079,"title":{},"content":{"467":{"position":[[121,4]]}},"keywords":{}}],["409",{"_index":5348,"title":{},"content":{"948":{"position":[[102,3]]},"1044":{"position":[[81,3]]},"1305":{"position":[[1099,3]]},"1307":{"position":[[465,3]]}},"keywords":{}}],["42",{"_index":5989,"title":{},"content":{"1115":{"position":[[446,2],[486,4]]}},"keywords":{}}],["420",{"_index":3040,"title":{},"content":{"463":{"position":[[1396,3]]}},"keywords":{}}],["4215",{"_index":2476,"title":{},"content":{"401":{"position":[[576,4]]}},"keywords":{}}],["4222:4222",{"_index":4924,"title":{},"content":{"865":{"position":[[247,9]]}},"keywords":{}}],["426",{"_index":5064,"title":{},"content":{"876":{"position":[[560,3]]},"990":{"position":[[1098,3],[1340,3]]}},"keywords":{}}],["43",{"_index":6454,"title":{},"content":{"1295":{"position":[[1147,3]]}},"keywords":{}}],["431",{"_index":3015,"title":{},"content":{"461":{"position":[[373,3]]}},"keywords":{}}],["443",{"_index":5913,"title":{},"content":{"1090":{"position":[[1067,3]]},"1097":{"position":[[785,3]]},"1098":{"position":[[421,3]]},"1099":{"position":[[391,3]]},"1103":{"position":[[274,3]]}},"keywords":{}}],["46",{"_index":3032,"title":{},"content":{"463":{"position":[[678,2]]}},"keywords":{}}],["480",{"_index":1515,"title":{},"content":{"244":{"position":[[1249,3]]}},"keywords":{}}],["4:18",{"_index":2801,"title":{},"content":{"419":{"position":[[556,4]]}},"keywords":{}}],["4gb",{"_index":4579,"title":{},"content":{"773":{"position":[[689,3]]}},"keywords":{}}],["4k",{"_index":2556,"title":{},"content":{"408":{"position":[[3046,2]]}},"keywords":{}}],["4x",{"_index":6190,"title":{},"content":{"1206":{"position":[[476,2]]},"1209":{"position":[[439,2]]}},"keywords":{}}],["5",{"_index":1320,"title":{"205":{"position":[[0,2]]},"252":{"position":[[0,2]]},"313":{"position":[[0,2]]},"478":{"position":[[0,2]]},"564":{"position":[[5,2]]}},"content":{"298":{"position":[[629,1]]},"299":{"position":[[442,2],[1319,1]]},"392":{"position":[[5174,1]]},"396":{"position":[[963,1],[1056,1],[1156,1]]},"397":{"position":[[1508,1]]},"402":{"position":[[974,1]]},"408":{"position":[[370,3],[1236,1]]},"427":{"position":[[1520,1]]},"432":{"position":[[327,1]]},"461":{"position":[[809,1],[859,1]]},"523":{"position":[[544,2]]},"653":{"position":[[967,2],[973,1]]},"662":{"position":[[2568,1]]},"736":{"position":[[334,1],[366,1]]},"829":{"position":[[2238,1]]},"838":{"position":[[2862,1]]},"861":{"position":[[2191,1]]},"862":{"position":[[1084,1]]},"872":{"position":[[2097,1]]},"875":{"position":[[3549,1]]},"886":{"position":[[2005,2],[2956,2]]},"898":{"position":[[3119,1]]},"904":{"position":[[3537,1]]},"988":{"position":[[1063,1],[1088,1],[3005,2]]},"1058":{"position":[[361,2]]},"1074":{"position":[[605,1],[1517,2]]},"1157":{"position":[[162,1]]},"1158":{"position":[[636,1]]},"1311":{"position":[[1578,1]]}},"keywords":{}}],["5.79",{"_index":3069,"title":{},"content":{"466":{"position":[[134,4]]}},"keywords":{}}],["5.84",{"_index":3083,"title":{},"content":{"467":{"position":[[220,4]]}},"keywords":{}}],["50",{"_index":1724,"title":{},"content":{"298":{"position":[[647,2]]},"299":{"position":[[502,2],[1290,2]]},"459":{"position":[[570,2],[612,4]]},"696":{"position":[[1385,4]]},"698":{"position":[[2889,3],[2917,3]]},"752":{"position":[[1186,3]]},"767":{"position":[[384,2],[417,3]]},"798":{"position":[[659,3]]},"872":{"position":[[2597,2],[2622,2],[4613,2],[4638,2]]},"886":{"position":[[1764,2]]},"898":{"position":[[3477,3],[3890,2]]},"1066":{"position":[[465,3]]},"1134":{"position":[[781,2]]},"1164":{"position":[[297,3]]},"1194":{"position":[[547,2],[626,2]]},"1278":{"position":[[101,2],[139,2]]}},"keywords":{}}],["500",{"_index":4430,"title":{},"content":{"749":{"position":[[23522,3]]},"759":{"position":[[742,4]]},"760":{"position":[[738,4]]},"1194":{"position":[[360,3]]}},"keywords":{}}],["5000",{"_index":3710,"title":{},"content":{"632":{"position":[[2632,5]]}},"keywords":{}}],["500k",{"_index":604,"title":{},"content":{"38":{"position":[[1020,5]]}},"keywords":{}}],["500m",{"_index":2743,"title":{},"content":{"412":{"position":[[10673,5]]}},"keywords":{}}],["504",{"_index":3034,"title":{},"content":{"463":{"position":[[742,3]]}},"keywords":{}}],["50m",{"_index":2742,"title":{},"content":{"412":{"position":[[10635,4]]}},"keywords":{}}],["50mb",{"_index":2529,"title":{},"content":{"408":{"position":[[606,4],[1238,4]]}},"keywords":{}}],["53409",{"_index":1837,"title":{},"content":{"303":{"position":[[749,6],[962,6]]},"361":{"position":[[746,6],[959,6]]}},"keywords":{}}],["535",{"_index":3035,"title":{},"content":{"463":{"position":[[770,3]]}},"keywords":{}}],["53k",{"_index":2829,"title":{},"content":{"420":{"position":[[123,3]]}},"keywords":{}}],["54.79",{"_index":3080,"title":{},"content":{"467":{"position":[[143,5]]}},"keywords":{}}],["5400",{"_index":1521,"title":{},"content":{"244":{"position":[[1413,4]]}},"keywords":{}}],["562",{"_index":2477,"title":{},"content":{"401":{"position":[[586,3]]}},"keywords":{}}],["590",{"_index":1464,"title":{},"content":{"243":{"position":[[581,3],[781,3]]},"244":{"position":[[832,3],[870,3]]}},"keywords":{}}],["5mb",{"_index":2530,"title":{},"content":{"408":{"position":[[671,3]]},"451":{"position":[[403,3]]}},"keywords":{}}],["6",{"_index":757,"title":{"206":{"position":[[0,2]]},"253":{"position":[[0,2]]},"617":{"position":[[0,1]]}},"content":{"50":{"position":[[465,1]]},"303":{"position":[[776,1],[985,1]]},"361":{"position":[[773,1],[982,1]]},"662":{"position":[[2648,1]]},"829":{"position":[[2958,1]]},"838":{"position":[[2961,1]]},"845":{"position":[[127,1]]},"849":{"position":[[106,1],[576,1]]},"862":{"position":[[1543,1]]},"872":{"position":[[2888,1]]},"875":{"position":[[5963,1]]},"898":{"position":[[4461,1]]},"1058":{"position":[[481,2]]}},"keywords":{}}],["6*5=30",{"_index":4087,"title":{},"content":{"736":{"position":[[395,6]]}},"keywords":{}}],["6.3.x",{"_index":6037,"title":{},"content":{"1133":{"position":[[396,7]]}},"keywords":{}}],["6.34",{"_index":3077,"title":{},"content":{"467":{"position":[[88,4]]}},"keywords":{}}],["60",{"_index":1743,"title":{},"content":{"299":{"position":[[309,2]]},"571":{"position":[[1624,2]]},"653":{"position":[[517,2],[522,2],[806,3],[813,2],[962,2]]},"656":{"position":[[261,2]]},"696":{"position":[[1324,3]]},"846":{"position":[[734,3],[1160,3]]},"995":{"position":[[1864,2],[1869,2]]}},"keywords":{}}],["60000",{"_index":4830,"title":{},"content":{"846":{"position":[[1067,5]]}},"keywords":{}}],["620",{"_index":4566,"title":{},"content":{"772":{"position":[[856,4]]},"774":{"position":[[784,4]]}},"keywords":{}}],["62080c42d471e3d2625e49dcca3b8e3",{"_index":6149,"title":{},"content":{"1177":{"position":[[448,34]]}},"keywords":{}}],["6265",{"_index":3013,"title":{},"content":{"461":{"position":[[50,5]]}},"keywords":{}}],["64",{"_index":115,"title":{},"content":{"8":{"position":[[480,2],[528,3]]}},"keywords":{}}],["67",{"_index":6406,"title":{},"content":{"1292":{"position":[[360,2]]}},"keywords":{}}],["68",{"_index":6404,"title":{},"content":{"1292":{"position":[[343,2]]}},"keywords":{}}],["7",{"_index":1333,"title":{"207":{"position":[[0,2]]},"254":{"position":[[0,2]]}},"content":{"394":{"position":[[1725,1]]},"412":{"position":[[7948,2]]},"662":{"position":[[2747,1]]},"697":{"position":[[193,1]]},"872":{"position":[[3584,1]]},"875":{"position":[[6495,1]]}},"keywords":{}}],["7.1.x",{"_index":6036,"title":{},"content":{"1133":{"position":[[387,5]]}},"keywords":{}}],["70",{"_index":1533,"title":{},"content":{"244":{"position":[[1702,2]]}},"keywords":{}}],["700",{"_index":2327,"title":{},"content":{"394":{"position":[[1634,3]]}},"keywords":{}}],["71",{"_index":6408,"title":{},"content":{"1292":{"position":[[382,2]]}},"keywords":{}}],["720",{"_index":1517,"title":{},"content":{"244":{"position":[[1288,3]]},"1133":{"position":[[582,3]]},"1134":{"position":[[405,4],[425,4]]}},"keywords":{}}],["72773",{"_index":6420,"title":{},"content":{"1292":{"position":[[985,5]]}},"keywords":{}}],["730",{"_index":6041,"title":{},"content":{"1133":{"position":[[612,4],[665,4]]}},"keywords":{}}],["73103",{"_index":6417,"title":{},"content":{"1292":{"position":[[956,5]]}},"keywords":{}}],["765",{"_index":2435,"title":{},"content":{"400":{"position":[[67,3]]}},"keywords":{}}],["768",{"_index":2456,"title":{},"content":{"401":{"position":[[310,3],[357,3],[404,3],[453,3]]}},"keywords":{}}],["8",{"_index":5047,"title":{},"content":{"875":{"position":[[7740,1]]}},"keywords":{}}],["8.0.0",{"_index":4279,"title":{},"content":{"749":{"position":[[10991,5],[11129,5]]},"793":{"position":[[1471,5]]}},"keywords":{}}],["8.1.4",{"_index":3635,"title":{},"content":{"617":{"position":[[456,6]]}},"keywords":{}}],["80",{"_index":1741,"title":{},"content":{"299":{"position":[[260,4],[767,3],[1124,3]]},"408":{"position":[[990,4]]},"461":{"position":[[1187,3]]},"875":{"position":[[1259,4]]}},"keywords":{}}],["8080",{"_index":4963,"title":{},"content":{"872":{"position":[[3330,5]]},"906":{"position":[[1033,4]]},"1219":{"position":[[560,5],[723,5]]},"1220":{"position":[[239,5]]}},"keywords":{}}],["8100",{"_index":1508,"title":{},"content":{"244":{"position":[[993,4]]}},"keywords":{}}],["88",{"_index":2439,"title":{},"content":{"400":{"position":[[115,2],[583,2]]}},"keywords":{}}],["8gb",{"_index":4580,"title":{},"content":{"773":{"position":[[860,3]]}},"keywords":{}}],["9",{"_index":4643,"title":{},"content":{"796":{"position":[[898,4]]},"863":{"position":[[65,2]]},"875":{"position":[[8515,1]]},"935":{"position":[[244,5]]},"1084":{"position":[[369,3]]},"1295":{"position":[[1048,1]]}},"keywords":{}}],["9.0.0",{"_index":4629,"title":{},"content":{"793":{"position":[[1465,5]]}},"keywords":{}}],["90",{"_index":1488,"title":{},"content":{"244":{"position":[[383,2],[639,2]]}},"keywords":{}}],["91882",{"_index":6422,"title":{},"content":{"1292":{"position":[[1011,5]]}},"keywords":{}}],["934",{"_index":2438,"title":{},"content":{"400":{"position":[[99,3]]}},"keywords":{}}],["938.9",{"_index":2971,"title":{},"content":{"454":{"position":[[687,5]]}},"keywords":{}}],["999",{"_index":3789,"title":{},"content":{"661":{"position":[[386,4]]}},"keywords":{}}],["9:47",{"_index":4900,"title":{},"content":{"861":{"position":[[1167,4]]}},"keywords":{}}],["9_]*]?[a",{"_index":5850,"title":{},"content":{"1084":{"position":[[354,8]]}},"keywords":{}}],["9dcca3b8e1a",{"_index":6492,"title":{},"content":{"1305":{"position":[[551,11]]}},"keywords":{}}],["_",{"_index":2396,"title":{},"content":{"398":{"position":[[879,3],[2165,3]]},"749":{"position":[[4933,1],[8287,1],[17589,1]]},"811":{"position":[[114,1]]},"863":{"position":[[83,1]]}},"keywords":{}}],["__dirnam",{"_index":6310,"title":{},"content":{"1266":{"position":[[288,10]]}},"keywords":{}}],["_attach",{"_index":4482,"title":{},"content":{"754":{"position":[[305,12],[439,12]]},"1004":{"position":[[294,12]]},"1051":{"position":[[574,13]]},"1177":{"position":[[421,13]]}},"keywords":{}}],["_delet",{"_index":3887,"title":{},"content":{"684":{"position":[[60,8],[200,9]]},"855":{"position":[[189,8]]},"857":{"position":[[129,8],[387,9]]},"861":{"position":[[1764,8]]},"867":{"position":[[184,8]]},"898":{"position":[[1872,8],[3995,10]]},"986":{"position":[[376,8],[1410,9]]},"988":{"position":[[1818,11],[1908,11],[3143,10],[5437,9]]},"1048":{"position":[[377,8],[493,9]]},"1051":{"position":[[557,9]]},"1107":{"position":[[36,8],[273,8],[454,9]]},"1177":{"position":[[404,9]]}},"keywords":{}}],["_deleted:tru",{"_index":5710,"title":{},"content":{"1047":{"position":[[116,13]]}},"keywords":{}}],["_deleted=fals",{"_index":5966,"title":{},"content":{"1107":{"position":[[128,15]]}},"keywords":{}}],["_id",{"_index":4223,"title":{},"content":{"749":{"position":[[6864,4],[7228,4],[23786,3],[23879,4]]}},"keywords":{}}],["_meta",{"_index":6150,"title":{},"content":{"1177":{"position":[[483,6]]}},"keywords":{}}],["_modifi",{"_index":5204,"title":{},"content":{"898":{"position":[[1229,9],[1921,9],[3965,12]]}},"keywords":{}}],["_modified)y",{"_index":5195,"title":{},"content":{"898":{"position":[[342,13]]}},"keywords":{}}],["_rev",{"_index":4365,"title":{},"content":{"749":{"position":[[17675,6]]},"1051":{"position":[[597,5]]},"1177":{"position":[[439,5]]}},"keywords":{}}],["a.id",{"_index":5101,"title":{},"content":{"885":{"position":[[1862,5],[1892,5]]}},"keywords":{}}],["a.updatedat",{"_index":5099,"title":{},"content":{"885":{"position":[[1738,12],[1782,12],[1827,12]]}},"keywords":{}}],["aaah",{"_index":4600,"title":{},"content":{"789":{"position":[[260,9],[313,8]]},"791":{"position":[[116,9],[209,8]]},"792":{"position":[[247,9],[457,8]]}},"keywords":{}}],["abcd",{"_index":5126,"title":{},"content":{"886":{"position":[[1871,9],[3168,9],[4136,9]]}},"keywords":{}}],["abil",{"_index":542,"title":{},"content":{"34":{"position":[[593,7]]},"173":{"position":[[1214,7]]},"174":{"position":[[2396,7]]},"190":{"position":[[41,7]]},"207":{"position":[[37,7]]},"265":{"position":[[79,7]]},"267":{"position":[[514,7],[1290,7]]},"280":{"position":[[65,7]]},"371":{"position":[[210,7]]},"385":{"position":[[35,7]]},"407":{"position":[[1018,7]]},"411":{"position":[[2781,7]]},"445":{"position":[[469,7]]},"446":{"position":[[1204,7]]},"506":{"position":[[29,7]]},"624":{"position":[[708,7]]},"837":{"position":[[137,7]]}},"keywords":{}}],["abov",{"_index":3564,"title":{},"content":{"610":{"position":[[1490,6]]},"703":{"position":[[897,5]]},"704":{"position":[[421,6]]},"826":{"position":[[487,5]]},"875":{"position":[[6963,5]]},"886":{"position":[[1201,5],[2833,5]]},"950":{"position":[[403,5]]},"987":{"position":[[251,6]]},"1091":{"position":[[26,5]]},"1316":{"position":[[2663,6]]}},"keywords":{}}],["absent",{"_index":2922,"title":{},"content":{"438":{"position":[[32,6]]}},"keywords":{}}],["absolut",{"_index":6099,"title":{},"content":{"1157":{"position":[[508,8]]}},"keywords":{}}],["abstract",{"_index":41,"title":{},"content":{"2":{"position":[[52,8]]},"24":{"position":[[583,10]]},"27":{"position":[[147,8]]},"35":{"position":[[111,9]]},"43":{"position":[[411,11]]},"331":{"position":[[276,11]]},"433":{"position":[[542,11]]},"521":{"position":[[426,9]]},"536":{"position":[[51,9]]},"596":{"position":[[49,9]]},"703":{"position":[[632,13],[817,11]]},"709":{"position":[[746,13],[1109,11]]},"962":{"position":[[89,11]]}},"keywords":{}}],["absurd",{"_index":495,"title":{"31":{"position":[[0,6]]}},"content":{"31":{"position":[[1,6]]},"1302":{"position":[[91,6]]}},"keywords":{}}],["accelar",{"_index":2571,"title":{},"content":{"408":{"position":[[5209,11]]}},"keywords":{}}],["accept",{"_index":1993,"title":{},"content":{"351":{"position":[[156,6]]},"382":{"position":[[197,10]]},"398":{"position":[[323,10]]},"412":{"position":[[2646,9],[6042,10]]},"432":{"position":[[719,11]]},"461":{"position":[[309,6]]},"829":{"position":[[3131,7]]},"875":{"position":[[6300,9]]},"880":{"position":[[89,6],[310,8]]},"918":{"position":[[29,7]]},"988":{"position":[[2595,9]]},"1048":{"position":[[358,6]]},"1102":{"position":[[568,9]]}},"keywords":{}}],["access",{"_index":87,"title":{"88":{"position":[[16,11]]},"97":{"position":[[28,10]]},"215":{"position":[[8,14]]},"365":{"position":[[12,6]]},"826":{"position":[[0,9]]},"1215":{"position":[[31,6]]}},"content":{"6":{"position":[[206,6]]},"11":{"position":[[309,9]]},"46":{"position":[[276,6]]},"65":{"position":[[268,6],[437,7],[532,10],[1168,6],[1907,7]]},"84":{"position":[[187,6]]},"87":{"position":[[92,8]]},"88":{"position":[[48,14],[118,6]]},"97":{"position":[[68,10],[185,14]]},"114":{"position":[[200,6]]},"131":{"position":[[430,6],[506,6]]},"149":{"position":[[200,6]]},"152":{"position":[[90,6]]},"159":{"position":[[337,6]]},"166":{"position":[[227,8]]},"173":{"position":[[697,8],[1379,11],[1431,10],[1536,6],[2730,10],[2939,10]]},"175":{"position":[[193,6]]},"183":{"position":[[293,6]]},"188":{"position":[[1840,6]]},"191":{"position":[[56,8]]},"195":{"position":[[193,7]]},"215":{"position":[[74,14]]},"216":{"position":[[86,8]]},"237":{"position":[[159,6]]},"241":{"position":[[499,14]]},"265":{"position":[[435,6],[811,6]]},"266":{"position":[[209,10]]},"274":{"position":[[212,6]]},"287":{"position":[[1025,6]]},"289":{"position":[[1363,6]]},"292":{"position":[[186,10]]},"303":{"position":[[1478,8]]},"310":{"position":[[175,6]]},"333":{"position":[[226,6]]},"336":{"position":[[275,6]]},"347":{"position":[[200,6]]},"362":{"position":[[1271,6]]},"365":{"position":[[87,6],[1194,13],[1365,13]]},"369":{"position":[[913,6],[1178,7],[1506,6]]},"373":{"position":[[514,14]]},"376":{"position":[[258,8]]},"377":{"position":[[124,7]]},"408":{"position":[[1591,6],[3796,6]]},"410":{"position":[[1417,6]]},"411":{"position":[[459,7]]},"412":{"position":[[12064,6],[12850,6]]},"417":{"position":[[98,7]]},"419":{"position":[[404,7]]},"429":{"position":[[291,9]]},"433":{"position":[[83,6],[199,6],[332,10]]},"444":{"position":[[556,7]]},"445":{"position":[[548,6]]},"450":{"position":[[505,6]]},"453":{"position":[[372,6]]},"454":{"position":[[790,6],[1032,6]]},"460":{"position":[[981,6]]},"470":{"position":[[197,6]]},"482":{"position":[[1210,6]]},"500":{"position":[[655,6]]},"502":{"position":[[475,6]]},"511":{"position":[[200,6]]},"526":{"position":[[191,7]]},"531":{"position":[[200,6]]},"550":{"position":[[73,6]]},"560":{"position":[[394,7]]},"581":{"position":[[281,6]]},"586":{"position":[[167,7]]},"591":{"position":[[200,6]]},"630":{"position":[[1003,10]]},"659":{"position":[[807,6]]},"674":{"position":[[130,8]]},"676":{"position":[[192,6]]},"709":{"position":[[84,6]]},"714":{"position":[[121,6]]},"715":{"position":[[350,6]]},"737":{"position":[[150,7]]},"740":{"position":[[370,6]]},"749":{"position":[[9366,7]]},"784":{"position":[[659,6]]},"829":{"position":[[1870,9],[2203,6]]},"832":{"position":[[187,6]]},"835":{"position":[[130,6],[912,6]]},"836":{"position":[[1634,6]]},"860":{"position":[[961,6]]},"861":{"position":[[2282,6]]},"872":{"position":[[218,6]]},"886":{"position":[[1372,6]]},"912":{"position":[[384,6]]},"968":{"position":[[783,6]]},"1018":{"position":[[113,6],[394,9],[667,6]]},"1040":{"position":[[81,6]]},"1084":{"position":[[658,9]]},"1088":{"position":[[687,10]]},"1102":{"position":[[46,6],[235,6]]},"1105":{"position":[[1242,6]]},"1116":{"position":[[256,9]]},"1117":{"position":[[224,9]]},"1118":{"position":[[42,6],[304,6]]},"1132":{"position":[[831,6]]},"1134":{"position":[[722,6]]},"1151":{"position":[[743,6]]},"1157":{"position":[[216,7]]},"1177":{"position":[[32,6]]},"1178":{"position":[[742,6]]},"1204":{"position":[[32,6]]},"1206":{"position":[[340,7]]},"1207":{"position":[[496,6]]},"1208":{"position":[[639,6]]},"1209":{"position":[[63,6]]},"1211":{"position":[[202,6]]},"1214":{"position":[[58,10],[628,6],[1032,6]]},"1215":{"position":[[76,6],[147,6],[167,6],[686,7]]},"1219":{"position":[[160,6]]},"1222":{"position":[[911,6]]},"1233":{"position":[[211,8]]},"1235":{"position":[[195,6],[330,6],[441,7]]},"1244":{"position":[[48,6]]},"1272":{"position":[[62,6]]},"1281":{"position":[[16,6]]},"1311":{"position":[[1587,6]]}},"keywords":{}}],["access.r",{"_index":3477,"title":{},"content":{"574":{"position":[[263,11]]}},"keywords":{}}],["accesshandl",{"_index":3011,"title":{},"content":{"460":{"position":[[1278,12]]},"1208":{"position":[[1056,12]]}},"keywords":{}}],["accesshandle.clos",{"_index":6224,"title":{},"content":{"1208":{"position":[[1912,21]]}},"keywords":{}}],["accesshandle.flush",{"_index":6223,"title":{},"content":{"1208":{"position":[[1797,21]]}},"keywords":{}}],["accesshandle.gets",{"_index":6222,"title":{},"content":{"1208":{"position":[[1739,23]]}},"keywords":{}}],["accesshandle.read(readbuff",{"_index":6214,"title":{},"content":{"1208":{"position":[[1367,29]]}},"keywords":{}}],["accesshandle.truncate(10",{"_index":6220,"title":{},"content":{"1208":{"position":[[1656,26]]}},"keywords":{}}],["accesshandle.write(writebuff",{"_index":6210,"title":{},"content":{"1208":{"position":[[1228,32],[1569,31]]}},"keywords":{}}],["accident",{"_index":3859,"title":{},"content":{"675":{"position":[[104,12]]},"761":{"position":[[64,12]]},"828":{"position":[[447,10]]},"881":{"position":[[303,12]]},"987":{"position":[[903,12]]},"1083":{"position":[[228,12]]},"1085":{"position":[[2061,10],[2285,12]]},"1107":{"position":[[1026,12]]}},"keywords":{}}],["accommod",{"_index":1668,"title":{},"content":{"287":{"position":[[106,11]]},"356":{"position":[[4,11]]},"362":{"position":[[62,11]]},"364":{"position":[[510,11]]},"369":{"position":[[816,11]]},"519":{"position":[[74,12]]}},"keywords":{}}],["accomplish",{"_index":1702,"title":{},"content":{"298":{"position":[[86,12]]}},"keywords":{}}],["accord",{"_index":1638,"title":{},"content":{"276":{"position":[[330,9]]},"612":{"position":[[1531,9]]},"641":{"position":[[77,9]]},"818":{"position":[[60,9]]},"861":{"position":[[2419,9]]},"1209":{"position":[[144,9]]}},"keywords":{}}],["accordingli",{"_index":1111,"title":{},"content":{"131":{"position":[[1005,12]]},"136":{"position":[[255,12]]},"390":{"position":[[1755,12]]},"397":{"position":[[1387,11]]},"403":{"position":[[376,12]]},"611":{"position":[[1064,12]]},"634":{"position":[[573,12]]},"685":{"position":[[426,12]]},"781":{"position":[[534,12]]},"880":{"position":[[263,11]]},"956":{"position":[[224,12]]},"1004":{"position":[[650,12]]}},"keywords":{}}],["account",{"_index":2708,"title":{},"content":{"412":{"position":[[6237,7]]},"416":{"position":[[282,7]]},"626":{"position":[[357,7],[1089,8]]},"698":{"position":[[2599,10]]},"1009":{"position":[[383,8]]},"1316":{"position":[[2200,8]]}},"keywords":{}}],["accur",{"_index":3108,"title":{},"content":{"476":{"position":[[331,9]]},"490":{"position":[[665,8]]}},"keywords":{}}],["accuraci",{"_index":2423,"title":{},"content":{"398":{"position":[[3168,9]]}},"keywords":{}}],["achiev",{"_index":419,"title":{},"content":{"25":{"position":[[222,7]]},"40":{"position":[[409,7]]},"81":{"position":[[27,8]]},"157":{"position":[[131,8]]},"166":{"position":[[42,7]]},"190":{"position":[[164,9]]},"265":{"position":[[403,7]]},"392":{"position":[[1306,7],[2348,7]]},"399":{"position":[[638,11]]},"527":{"position":[[36,9]]},"540":{"position":[[121,9]]},"613":{"position":[[603,8]]},"644":{"position":[[460,7]]},"698":{"position":[[2281,7]]},"709":{"position":[[221,8]]},"848":{"position":[[100,7]]},"858":{"position":[[100,7]]},"1147":{"position":[[107,7]]},"1177":{"position":[[189,7]]},"1204":{"position":[[190,7]]},"1298":{"position":[[87,9]]}},"keywords":{}}],["acid",{"_index":2030,"title":{},"content":{"354":{"position":[[1285,4]]},"412":{"position":[[13602,4]]},"1304":{"position":[[42,4],[151,4],[441,4],[1209,4]]}},"keywords":{}}],["acquisit",{"_index":4802,"title":{},"content":{"839":{"position":[[1033,12]]}},"keywords":{}}],["act",{"_index":2593,"title":{},"content":{"410":{"position":[[884,4]]}},"keywords":{}}],["action",{"_index":1127,"title":{},"content":{"140":{"position":[[199,8]]},"347":{"position":[[493,6]]},"362":{"position":[[1564,6]]},"411":{"position":[[2912,7]]},"412":{"position":[[8605,7]]},"486":{"position":[[62,7]]},"489":{"position":[[363,6]]},"497":{"position":[[593,6],[773,8]]},"514":{"position":[[202,7]]},"569":{"position":[[812,6]]},"571":{"position":[[377,7]]},"591":{"position":[[648,6]]},"618":{"position":[[721,6]]},"630":{"position":[[42,6],[532,7],[1033,8]]},"634":{"position":[[211,6]]},"765":{"position":[[220,6]]},"782":{"position":[[289,7]]},"783":{"position":[[80,6],[609,7]]}},"keywords":{}}],["action.compar",{"_index":2177,"title":{},"content":{"388":{"position":[[119,14]]}},"keywords":{}}],["action—lead",{"_index":3113,"title":{},"content":{"477":{"position":[[318,14]]}},"keywords":{}}],["activ",{"_index":447,"title":{"1013":{"position":[[0,8]]}},"content":{"27":{"position":[[419,6]]},"28":{"position":[[572,6]]},"88":{"position":[[80,6]]},"292":{"position":[[280,6]]},"386":{"position":[[255,6]]},"387":{"position":[[261,6]]},"408":{"position":[[3327,6]]},"617":{"position":[[799,6]]},"630":{"position":[[385,8]]},"684":{"position":[[146,10]]},"749":{"position":[[14395,10],[22782,10]]},"835":{"position":[[754,8]]},"849":{"position":[[108,6],[578,6]]},"1013":{"position":[[232,8],[404,8],[556,8]]},"1080":{"position":[[388,7],[735,8],[907,10],[996,8]]},"1215":{"position":[[324,8],[652,8]]}},"keywords":{}}],["activerepl",{"_index":5565,"title":{},"content":{"1007":{"position":[[1161,18]]}},"keywords":{}}],["activereplications[chunkid",{"_index":5567,"title":{},"content":{"1007":{"position":[[1265,29],[1745,27],[1854,28],[1915,28]]}},"keywords":{}}],["actual",{"_index":661,"title":{"420":{"position":[[10,8]]}},"content":{"42":{"position":[[263,8]]},"251":{"position":[[178,8]]},"261":{"position":[[1183,6]]},"412":{"position":[[2163,6]]},"486":{"position":[[86,6]]},"617":{"position":[[1481,8]]},"719":{"position":[[431,6],[488,6]]},"875":{"position":[[9265,6]]},"962":{"position":[[160,8]]},"987":{"position":[[374,6],[466,6]]},"1097":{"position":[[308,8]]},"1104":{"position":[[156,6]]},"1105":{"position":[[165,6]]},"1115":{"position":[[895,8]]},"1304":{"position":[[397,8]]},"1308":{"position":[[464,6]]}},"keywords":{}}],["ad",{"_index":569,"title":{"667":{"position":[[0,6]]},"796":{"position":[[26,6]]},"825":{"position":[[0,6]]}},"content":{"36":{"position":[[72,5]]},"144":{"position":[[15,6]]},"291":{"position":[[45,6]]},"335":{"position":[[563,6],[912,5]]},"375":{"position":[[226,6]]},"399":{"position":[[78,6]]},"411":{"position":[[3781,5],[5699,6]]},"415":{"position":[[312,6]]},"419":{"position":[[1099,6]]},"421":{"position":[[234,5]]},"432":{"position":[[998,5]]},"452":{"position":[[476,5]]},"454":{"position":[[106,5]]},"560":{"position":[[668,6]]},"621":{"position":[[777,5]]},"639":{"position":[[238,6]]},"685":{"position":[[518,6]]},"705":{"position":[[1323,6]]},"723":{"position":[[1495,5]]},"729":{"position":[[235,5]]},"749":{"position":[[1443,5],[6634,5],[14593,5]]},"754":{"position":[[85,5]]},"796":{"position":[[303,6],[596,6],[1006,6]]},"806":{"position":[[290,6]]},"921":{"position":[[117,5]]},"943":{"position":[[314,5]]},"955":{"position":[[250,5]]},"979":{"position":[[41,5]]},"1004":{"position":[[221,5],[627,5]]},"1008":{"position":[[4,5]]},"1072":{"position":[[1591,5]]},"1074":{"position":[[630,6]]},"1085":{"position":[[2955,5]]},"1092":{"position":[[564,6]]},"1095":{"position":[[223,6]]},"1097":{"position":[[220,6],[836,6]]},"1100":{"position":[[293,5],[330,5]]},"1101":{"position":[[241,5]]},"1103":{"position":[[27,6]]},"1112":{"position":[[412,5]]},"1202":{"position":[[274,5]]},"1296":{"position":[[615,5]]},"1301":{"position":[[1080,5]]},"1318":{"position":[[456,5]]}},"keywords":{}}],["adapt",{"_index":1,"title":{"0":{"position":[[8,8]]},"822":{"position":[[34,8]]},"1173":{"position":[[0,9]]},"1203":{"position":[[0,9]]}},"content":{"1":{"position":[[44,8],[198,7],[440,7],[494,7]]},"2":{"position":[[28,8],[88,8],[151,7],[206,7],[239,8]]},"3":{"position":[[15,7],[129,7],[180,7]]},"4":{"position":[[37,7],[219,8],[262,8],[295,7],[352,7]]},"5":{"position":[[6,7],[141,7],[211,7],[265,7]]},"6":{"position":[[6,7],[136,9],[151,7],[310,7],[365,7],[398,8]]},"7":{"position":[[6,7],[233,7],[292,7],[435,7],[631,7]]},"8":{"position":[[84,8],[173,7],[249,7],[925,7],[1068,7],[1217,7]]},"9":{"position":[[76,7],[145,7],[205,7],[360,7]]},"10":{"position":[[13,7],[74,7],[139,7],[172,8]]},"11":{"position":[[112,7],[174,7],[992,7]]},"16":{"position":[[298,8]]},"24":{"position":[[95,7],[185,8]]},"28":{"position":[[271,9]]},"32":{"position":[[194,8]]},"39":{"position":[[643,8]]},"40":{"position":[[661,8]]},"42":{"position":[[246,8]]},"47":{"position":[[1292,8]]},"72":{"position":[[118,9]]},"83":{"position":[[92,13]]},"174":{"position":[[2256,5]]},"188":{"position":[[333,7],[1110,8]]},"202":{"position":[[412,5]]},"207":{"position":[[245,6]]},"212":{"position":[[422,5]]},"254":{"position":[[429,8]]},"255":{"position":[[1746,5]]},"266":{"position":[[40,8],[86,8],[390,7]]},"383":{"position":[[315,9]]},"384":{"position":[[244,8]]},"390":{"position":[[1747,7]]},"454":{"position":[[1006,8]]},"500":{"position":[[742,8]]},"520":{"position":[[394,7]]},"554":{"position":[[432,8]]},"563":{"position":[[825,7]]},"567":{"position":[[247,9]]},"640":{"position":[[64,7],[468,5]]},"703":{"position":[[414,7]]},"749":{"position":[[603,7],[4770,7],[5619,7]]},"772":{"position":[[1936,8],[2465,8]]},"837":{"position":[[961,7],[1064,7],[1114,7],[1135,8],[1170,7],[1246,8],[1286,7],[1341,7],[1607,7],[1754,7],[2130,8]]},"872":{"position":[[3291,8]]},"961":{"position":[[249,7]]},"966":{"position":[[89,8]]},"1097":{"position":[[204,8],[417,7],[746,8]]},"1098":{"position":[[33,7],[300,7],[382,8]]},"1099":{"position":[[33,7],[278,7],[356,8]]},"1147":{"position":[[492,12]]},"1172":{"position":[[187,8],[278,10],[372,8],[543,7]]},"1173":{"position":[[20,8],[97,8],[197,8],[282,8]]},"1175":{"position":[[159,8]]},"1198":{"position":[[260,7]]},"1199":{"position":[[117,8]]},"1201":{"position":[[148,7]]},"1203":{"position":[[18,8]]},"1271":{"position":[[842,7],[1353,7]]},"1284":{"position":[[365,7],[386,7]]},"1300":{"position":[[396,7]]}},"keywords":{}}],["adapter.j",{"_index":4578,"title":{},"content":{"772":{"position":[[2241,13]]}},"keywords":{}}],["adapterabsurd",{"_index":6466,"title":{},"content":{"1299":{"position":[[520,13]]}},"keywords":{}}],["adapteror",{"_index":4779,"title":{},"content":{"837":{"position":[[1092,9]]}},"keywords":{}}],["adapterth",{"_index":3968,"title":{},"content":{"703":{"position":[[395,10]]}},"keywords":{}}],["add",{"_index":111,"title":{"738":{"position":[[0,3]]},"789":{"position":[[0,3]]},"791":{"position":[[0,3]]},"915":{"position":[[0,3]]},"1012":{"position":[[0,3]]}},"content":{"8":{"position":[[394,3]]},"33":{"position":[[192,4]]},"51":{"position":[[807,3]]},"155":{"position":[[214,4]]},"188":{"position":[[1873,3]]},"211":{"position":[[290,3]]},"313":{"position":[[168,3]]},"315":{"position":[[23,3]]},"346":{"position":[[807,3]]},"351":{"position":[[104,3],[259,3]]},"383":{"position":[[81,3]]},"392":{"position":[[431,3]]},"411":{"position":[[4338,4]]},"412":{"position":[[4130,4],[9883,3],[11078,3],[13098,4]]},"455":{"position":[[673,3]]},"463":{"position":[[1274,4]]},"476":{"position":[[85,3]]},"480":{"position":[[58,3],[451,3]]},"536":{"position":[[88,4]]},"538":{"position":[[830,3]]},"563":{"position":[[1069,3]]},"570":{"position":[[460,5]]},"576":{"position":[[81,4]]},"596":{"position":[[86,4]]},"598":{"position":[[837,3]]},"611":{"position":[[1175,3]]},"616":{"position":[[1055,4]]},"662":{"position":[[1344,3],[2266,3]]},"668":{"position":[[229,3]]},"676":{"position":[[68,3]]},"680":{"position":[[50,3],[416,3],[1116,3]]},"689":{"position":[[550,3]]},"696":{"position":[[1733,3]]},"702":{"position":[[92,3]]},"717":{"position":[[1352,3]]},"724":{"position":[[133,3]]},"729":{"position":[[291,3]]},"731":{"position":[[51,3]]},"732":{"position":[[17,3]]},"738":{"position":[[44,3]]},"751":{"position":[[149,3]]},"753":{"position":[[137,3]]},"770":{"position":[[142,4],[165,3],[228,3],[614,3]]},"772":{"position":[[306,4],[422,3],[907,3]]},"789":{"position":[[4,3]]},"796":{"position":[[126,3],[561,3],[969,3],[1400,3]]},"811":{"position":[[89,3]]},"818":{"position":[[413,3]]},"825":{"position":[[472,3]]},"838":{"position":[[2502,3]]},"846":{"position":[[470,3]]},"848":{"position":[[41,3],[154,3],[435,3],[799,3],[1434,3]]},"861":{"position":[[1201,3],[1548,3]]},"872":{"position":[[1787,3]]},"875":{"position":[[533,3],[574,3],[1165,3],[2932,3],[6033,3]]},"876":{"position":[[420,3]]},"898":{"position":[[1390,3],[1488,3],[1617,3],[3699,3]]},"910":{"position":[[350,3]]},"915":{"position":[[40,3]]},"917":{"position":[[1,4]]},"952":{"position":[[145,3]]},"956":{"position":[[20,3]]},"971":{"position":[[257,3]]},"990":{"position":[[546,3]]},"1010":{"position":[[230,3]]},"1012":{"position":[[44,3]]},"1022":{"position":[[714,3]]},"1023":{"position":[[365,3]]},"1041":{"position":[[124,3]]},"1059":{"position":[[102,3]]},"1064":{"position":[[78,3]]},"1079":{"position":[[617,3]]},"1081":{"position":[[51,3]]},"1085":{"position":[[2184,3]]},"1090":{"position":[[260,3]]},"1092":{"position":[[528,3]]},"1095":{"position":[[279,3]]},"1097":{"position":[[796,3]]},"1100":{"position":[[32,3],[365,3]]},"1107":{"position":[[392,3]]},"1112":{"position":[[483,3]]},"1114":{"position":[[219,3],[573,3]]},"1118":{"position":[[253,3]]},"1119":{"position":[[303,3]]},"1124":{"position":[[671,3]]},"1149":{"position":[[985,3]]},"1158":{"position":[[273,3]]},"1198":{"position":[[1879,3],[2312,3]]},"1202":{"position":[[330,3]]},"1222":{"position":[[430,3]]},"1252":{"position":[[139,3],[193,3]]},"1271":{"position":[[813,3]]},"1280":{"position":[[1,3],[61,3],[113,3]]},"1289":{"position":[[42,3],[94,3]]},"1296":{"position":[[764,3]]},"1311":{"position":[[1091,3]]},"1318":{"position":[[600,3]]}},"keywords":{}}],["addcollect",{"_index":5318,"title":{},"content":{"934":{"position":[[78,17]]},"958":{"position":[[212,16]]},"987":{"position":[[1070,16]]},"1085":{"position":[[2819,17]]},"1309":{"position":[[1347,17]]}},"keywords":{}}],["addeventlistener("storage"",{"_index":2907,"title":{},"content":{"432":{"position":[[878,37]]},"458":{"position":[[820,37]]}},"keywords":{}}],["addfulltextsearch",{"_index":4049,"title":{},"content":{"724":{"position":[[404,19],[444,17],[529,19]]}},"keywords":{}}],["addherobtn').on('click",{"_index":1952,"title":{},"content":{"335":{"position":[[581,28]]}},"keywords":{}}],["addit",{"_index":515,"title":{},"content":{"33":{"position":[[197,10]]},"43":{"position":[[529,8]]},"99":{"position":[[198,10]]},"131":{"position":[[727,8]]},"148":{"position":[[470,8]]},"173":{"position":[[3043,10]]},"210":{"position":[[4,8]]},"219":{"position":[[237,10]]},"228":{"position":[[440,10]]},"261":{"position":[[4,8]]},"290":{"position":[[244,10]]},"294":{"position":[[4,8]]},"295":{"position":[[4,8]]},"302":{"position":[[174,10]]},"312":{"position":[[4,8]]},"357":{"position":[[80,10]]},"375":{"position":[[835,9]]},"377":{"position":[[255,10]]},"412":{"position":[[4017,10]]},"441":{"position":[[441,10]]},"452":{"position":[[717,8]]},"463":{"position":[[137,10],[1279,10]]},"483":{"position":[[594,10]]},"585":{"position":[[245,10]]},"614":{"position":[[264,10]]},"616":{"position":[[338,10],[460,10],[581,10],[1060,10]]},"621":{"position":[[331,10]]},"679":{"position":[[81,10]]},"686":{"position":[[872,10]]},"690":{"position":[[359,9]]},"696":{"position":[[1478,10]]},"796":{"position":[[130,10]]},"802":{"position":[[123,10],[296,10]]},"806":{"position":[[469,10]]},"824":{"position":[[586,10]]},"831":{"position":[[4,8]]},"836":{"position":[[1512,10],[1977,10]]},"906":{"position":[[688,10]]},"1051":{"position":[[348,10]]},"1072":{"position":[[2229,10]]},"1092":{"position":[[571,10]]},"1094":{"position":[[409,10]]},"1107":{"position":[[399,10]]},"1212":{"position":[[22,10]]},"1251":{"position":[[44,10]]},"1284":{"position":[[260,10]]}},"keywords":{}}],["addition",{"_index":540,"title":{},"content":{"34":{"position":[[524,13]]},"265":{"position":[[506,13]]},"283":{"position":[[143,13]]},"401":{"position":[[690,13]]},"402":{"position":[[2344,12]]},"434":{"position":[[236,13]]},"520":{"position":[[320,13]]},"801":{"position":[[593,13]]}},"keywords":{}}],["additionalproperti",{"_index":5851,"title":{},"content":{"1084":{"position":[[377,20]]},"1085":{"position":[[1642,21],[1711,21]]}},"keywords":{}}],["addon",{"_index":6071,"title":{"1146":{"position":[[12,7]]}},"content":{"1146":{"position":[[297,7]]},"1148":{"position":[[451,6],[482,5],[673,7],[773,7]]}},"keywords":{}}],["addpouchplugin",{"_index":126,"title":{},"content":{"8":{"position":[[775,15]]},"1201":{"position":[[70,14]]}},"keywords":{}}],["addpouchplugin(require('pouchdb",{"_index":31,"title":{},"content":{"1":{"position":[[462,31]]},"2":{"position":[[174,31]]},"3":{"position":[[148,31]]},"4":{"position":[[320,31]]},"5":{"position":[[233,31]]},"6":{"position":[[333,31]]},"7":{"position":[[260,31]]},"8":{"position":[[1036,31]]},"9":{"position":[[173,31]]},"10":{"position":[[107,31]]},"11":{"position":[[142,31]]},"1201":{"position":[[116,31]]}},"keywords":{}}],["addpouchplugin(sqliteadapt",{"_index":130,"title":{},"content":{"8":{"position":[[1005,30]]}},"keywords":{}}],["addreplicationendpoint",{"_index":5933,"title":{},"content":{"1101":{"position":[[270,24]]}},"keywords":{}}],["address",{"_index":990,"title":{},"content":{"83":{"position":[[256,10]]},"229":{"position":[[54,9]]},"271":{"position":[[41,7]]},"395":{"position":[[4,7]]},"507":{"position":[[59,9]]},"574":{"position":[[818,9]]}},"keywords":{}}],["addrxplugin",{"_index":3726,"title":{},"content":{"646":{"position":[[10,11]]},"652":{"position":[[10,11]]},"680":{"position":[[453,11]]},"724":{"position":[[253,11]]},"738":{"position":[[86,11]]},"829":{"position":[[486,11]]},"862":{"position":[[316,12]]},"872":{"position":[[1567,11]]},"915":{"position":[[78,11]]},"952":{"position":[[181,11]]},"971":{"position":[[293,11]]},"1012":{"position":[[86,11]]},"1041":{"position":[[159,11]]},"1064":{"position":[[116,11]]},"1114":{"position":[[239,14],[459,11]]},"1119":{"position":[[368,11]]},"1231":{"position":[[625,11]]}},"keywords":{}}],["addrxplugin(module.rxdbdevmodeplugin",{"_index":3847,"title":{},"content":{"672":{"position":[[141,37]]},"673":{"position":[[147,37]]},"674":{"position":[[430,37]]}},"keywords":{}}],["addrxplugin(rxdbattachmentsplugin",{"_index":5286,"title":{},"content":{"915":{"position":[[171,35]]}},"keywords":{}}],["addrxplugin(rxdbbackupplugin",{"_index":3729,"title":{},"content":{"646":{"position":[[93,30]]}},"keywords":{}}],["addrxplugin(rxdbcleanupplugin",{"_index":3745,"title":{},"content":{"652":{"position":[[95,31]]},"1119":{"position":[[453,31]]}},"keywords":{}}],["addrxplugin(rxdbcrdtplugin",{"_index":3875,"title":{},"content":{"680":{"position":[[480,28]]}},"keywords":{}}],["addrxplugin(rxdbflexsearchplugin",{"_index":4047,"title":{},"content":{"724":{"position":[[293,34]]}},"keywords":{}}],["addrxplugin(rxdbjsondumpplugin",{"_index":5370,"title":{},"content":{"952":{"position":[[269,32]]},"971":{"position":[[381,32]]}},"keywords":{}}],["addrxplugin(rxdbleaderelectionplugin",{"_index":4092,"title":{},"content":{"738":{"position":[[186,38]]}},"keywords":{}}],["addrxplugin(rxdblocaldocumentsplugin",{"_index":5596,"title":{},"content":{"1012":{"position":[[186,38]]}},"keywords":{}}],["addrxplugin(rxdbquerybuilderplugin",{"_index":5761,"title":{},"content":{"1064":{"position":[[212,36]]}},"keywords":{}}],["addrxplugin(rxdbreplicationgraphqlplugin",{"_index":6276,"title":{},"content":{"1231":{"position":[[733,42]]}},"keywords":{}}],["addrxplugin(rxdbstateplugin",{"_index":5982,"title":{},"content":{"1114":{"position":[[658,29]]}},"keywords":{}}],["addrxplugin(rxdbupdateplugin",{"_index":5686,"title":{},"content":{"1041":{"position":[[242,30]]},"1059":{"position":[[181,30]]}},"keywords":{}}],["addrxplugin.add",{"_index":3869,"title":{},"content":{"680":{"position":[[74,15]]}},"keywords":{}}],["addstat",{"_index":5980,"title":{},"content":{"1114":{"position":[[281,10],[333,8]]}},"keywords":{}}],["adequ",{"_index":867,"title":{},"content":{"58":{"position":[[105,8]]}},"keywords":{}}],["adher",{"_index":5280,"title":{},"content":{"912":{"position":[[690,8]]}},"keywords":{}}],["adjust",{"_index":2770,"title":{},"content":{"412":{"position":[[14361,6]]},"454":{"position":[[329,12]]}},"keywords":{}}],["admin",{"_index":2754,"title":{},"content":{"412":{"position":[[12695,5]]}},"keywords":{}}],["adopt",{"_index":1187,"title":{"313":{"position":[[11,5]]}},"content":{"164":{"position":[[28,6]]},"231":{"position":[[6,6]]},"241":{"position":[[356,8]]},"263":{"position":[[257,5]]},"274":{"position":[[26,7]]},"320":{"position":[[103,7]]},"420":{"position":[[877,8]]},"478":{"position":[[128,5]]},"483":{"position":[[1143,8]]},"530":{"position":[[279,8]]},"563":{"position":[[951,6]]},"613":{"position":[[623,9]]},"624":{"position":[[894,8]]},"632":{"position":[[954,8]]},"1301":{"position":[[1025,7]]}},"keywords":{}}],["advanc",{"_index":563,"title":{"57":{"position":[[0,8]]},"137":{"position":[[0,8]]},"166":{"position":[[0,8]]},"193":{"position":[[0,8]]},"203":{"position":[[3,8]]},"250":{"position":[[3,8]]},"341":{"position":[[0,8]]},"361":{"position":[[0,8]]},"505":{"position":[[0,8]]},"526":{"position":[[0,8]]},"544":{"position":[[0,8]]},"558":{"position":[[45,8]]},"583":{"position":[[0,8]]},"604":{"position":[[0,8]]},"637":{"position":[[0,8]]}},"content":{"35":{"position":[[593,8]]},"39":{"position":[[656,8]]},"47":{"position":[[1039,8],[1137,8]]},"64":{"position":[[195,8]]},"137":{"position":[[21,8]]},"161":{"position":[[244,8]]},"170":{"position":[[371,8]]},"193":{"position":[[24,8]]},"198":{"position":[[339,8]]},"252":{"position":[[70,8]]},"260":{"position":[[198,8]]},"262":{"position":[[315,8]]},"283":{"position":[[45,8]]},"303":{"position":[[112,8]]},"312":{"position":[[57,8]]},"313":{"position":[[193,8]]},"317":{"position":[[100,8]]},"353":{"position":[[517,8]]},"354":{"position":[[542,8],[837,8],[1428,8]]},"362":{"position":[[910,8]]},"383":{"position":[[154,8]]},"392":{"position":[[154,8]]},"408":{"position":[[3456,11],[4631,8]]},"411":{"position":[[5259,8]]},"412":{"position":[[3648,8]]},"427":{"position":[[435,8]]},"441":{"position":[[318,8]]},"478":{"position":[[273,8]]},"480":{"position":[[1072,8]]},"483":{"position":[[634,8]]},"510":{"position":[[318,8]]},"520":{"position":[[301,8]]},"533":{"position":[[249,8]]},"535":{"position":[[522,8],[1046,8]]},"544":{"position":[[18,8]]},"548":{"position":[[404,8]]},"559":{"position":[[1163,8],[1499,8]]},"560":{"position":[[727,8]]},"563":{"position":[[181,8]]},"564":{"position":[[10,8]]},"567":{"position":[[576,8]]},"593":{"position":[[249,8]]},"595":{"position":[[542,8],[1123,8]]},"604":{"position":[[18,8]]},"608":{"position":[[402,8]]},"611":{"position":[[385,11]]},"643":{"position":[[41,8]]},"644":{"position":[[172,8]]},"723":{"position":[[2282,8]]},"793":{"position":[[978,8]]},"831":{"position":[[360,8]]},"836":{"position":[[2366,8]]},"839":{"position":[[500,8],[729,8]]},"841":{"position":[[98,8],[475,8]]},"913":{"position":[[85,8]]},"1085":{"position":[[1817,8]]},"1132":{"position":[[634,8]]}},"keywords":{}}],["advantag",{"_index":96,"title":{"521":{"position":[[27,9]]}},"content":{"7":{"position":[[77,10]]},"47":{"position":[[13,11]]},"65":{"position":[[461,9],[1855,11]]},"66":{"position":[[72,11]]},"71":{"position":[[88,11]]},"92":{"position":[[29,9]]},"174":{"position":[[67,10]]},"180":{"position":[[102,11]]},"186":{"position":[[190,10]]},"217":{"position":[[306,12]]},"232":{"position":[[243,12]]},"247":{"position":[[116,10]]},"265":{"position":[[16,10]]},"278":{"position":[[121,10]]},"282":{"position":[[463,9]]},"284":{"position":[[198,9]]},"366":{"position":[[343,10]]},"372":{"position":[[254,12]]},"411":{"position":[[2739,10],[5393,10]]},"445":{"position":[[443,10],[2094,10]]},"485":{"position":[[32,11]]},"500":{"position":[[385,10]]},"567":{"position":[[76,9]]},"624":{"position":[[85,10]]},"1072":{"position":[[889,9]]},"1083":{"position":[[170,11]]},"1206":{"position":[[555,10]]}},"keywords":{}}],["advis",{"_index":2097,"title":{},"content":{"362":{"position":[[619,9]]}},"keywords":{}}],["ae",{"_index":1691,"title":{},"content":{"291":{"position":[[452,3]]},"717":{"position":[[107,3]]},"718":{"position":[[507,4],[519,4],[531,4],[552,4]]}},"keywords":{}}],["aerospac",{"_index":3452,"title":{},"content":{"569":{"position":[[300,10]]}},"keywords":{}}],["aesinvalid",{"_index":1877,"title":{},"content":{"310":{"position":[[156,13]]}},"keywords":{}}],["affect",{"_index":2114,"title":{},"content":{"366":{"position":[[515,6]]},"401":{"position":[[733,7]]},"535":{"position":[[1007,6]]},"595":{"position":[[1084,6]]},"623":{"position":[[117,9]]},"699":{"position":[[501,6]]},"749":{"position":[[21613,6]]},"839":{"position":[[1383,6]]},"975":{"position":[[232,6]]},"1175":{"position":[[419,6]]},"1315":{"position":[[1328,6]]},"1316":{"position":[[3417,8]]},"1317":{"position":[[540,8]]},"1318":{"position":[[47,7],[1019,6]]},"1322":{"position":[[515,6]]}},"keywords":{}}],["afford",{"_index":1693,"title":{},"content":{"295":{"position":[[96,10]]}},"keywords":{}}],["afoul",{"_index":1867,"title":{},"content":{"305":{"position":[[121,5]]}},"keywords":{}}],["aftermigratebatch",{"_index":4493,"title":{},"content":{"759":{"position":[[886,18]]},"760":{"position":[[774,18]]}},"keywords":{}}],["aftermigratebatchhandlerinput",{"_index":4494,"title":{},"content":{"759":{"position":[[913,30]]},"760":{"position":[[801,30]]}},"keywords":{}}],["afterward",{"_index":1272,"title":{},"content":{"188":{"position":[[2373,10]]},"411":{"position":[[179,10]]},"698":{"position":[[2667,10]]},"773":{"position":[[423,11]]},"806":{"position":[[712,10]]},"1028":{"position":[[112,10]]},"1052":{"position":[[71,11]]},"1069":{"position":[[425,11]]},"1104":{"position":[[448,10]]}},"keywords":{}}],["afterwards.do",{"_index":4819,"title":{},"content":{"844":{"position":[[153,15]]}},"keywords":{}}],["ag",{"_index":975,"title":{},"content":{"77":{"position":[[244,4]]},"103":{"position":[[284,4]]},"234":{"position":[[344,4]]},"426":{"position":[[323,4]]},"662":{"position":[[2508,4]]},"681":{"position":[[720,4]]},"767":{"position":[[377,3]]},"798":{"position":[[386,3],[445,6],[474,7],[578,4],[717,3],[774,6],[881,7],[929,6]]},"820":{"position":[[573,4],[625,4]]},"821":{"position":[[733,3],[798,3],[828,3]]},"838":{"position":[[2722,4]]},"886":{"position":[[709,3],[2423,3],[3621,4]]},"898":{"position":[[2617,4],[3554,3]]},"1041":{"position":[[307,4],[327,3]]},"1043":{"position":[[99,4]]},"1044":{"position":[[322,4],[342,3],[514,4],[574,4]]},"1045":{"position":[[173,4]]},"1051":{"position":[[287,4]]},"1055":{"position":[[223,4]]},"1056":{"position":[[240,5]]},"1059":{"position":[[258,4],[310,4],[330,3]]},"1060":{"position":[[126,4],[169,4],[188,3]]},"1061":{"position":[[127,4],[231,3]]},"1062":{"position":[[117,3],[183,4]]},"1063":{"position":[[98,4],[141,4],[245,4]]},"1066":{"position":[[384,4],[523,3],[580,6],[687,7],[735,6]]},"1067":{"position":[[323,4],[1317,4],[1480,6],[1584,4],[1996,4],[2140,4]]},"1082":{"position":[[382,4]]},"1083":{"position":[[582,4]]},"1149":{"position":[[1175,4]]},"1249":{"position":[[495,4],[541,4]]},"1294":{"position":[[311,3],[470,3],[561,4],[576,6],[623,3],[1284,3]]},"1296":{"position":[[294,3],[713,4],[1021,4],[1036,6],[1105,4]]},"1311":{"position":[[540,4],[1573,4]]}},"keywords":{}}],["again",{"_index":1332,"title":{},"content":{"206":{"position":[[346,6]]},"309":{"position":[[275,6]]},"412":{"position":[[8329,7]]},"486":{"position":[[384,6]]},"614":{"position":[[914,5]]},"626":{"position":[[804,6],[1070,6]]},"647":{"position":[[143,6],[479,5]]},"697":{"position":[[446,6]]},"698":{"position":[[103,6]]},"700":{"position":[[923,5]]},"702":{"position":[[858,6]]},"783":{"position":[[105,6]]},"799":{"position":[[473,5]]},"817":{"position":[[275,5]]},"875":{"position":[[8934,6]]},"880":{"position":[[319,6]]},"955":{"position":[[202,5]]},"976":{"position":[[251,5]]},"984":{"position":[[63,6]]},"985":{"position":[[461,6]]},"987":{"position":[[968,6]]},"988":{"position":[[5872,6],[6121,6]]},"990":{"position":[[79,5],[452,6]]},"1003":{"position":[[284,5]]},"1030":{"position":[[197,5]]},"1058":{"position":[[512,5]]},"1115":{"position":[[720,5]]},"1198":{"position":[[2341,6]]},"1208":{"position":[[1899,6]]},"1304":{"position":[[1845,6]]},"1308":{"position":[[628,6]]},"1314":{"position":[[584,5]]},"1316":{"position":[[3241,6]]},"1318":{"position":[[246,6],[685,6]]}},"keywords":{}}],["against",{"_index":1554,"title":{},"content":{"251":{"position":[[81,7]]},"630":{"position":[[572,7]]},"699":{"position":[[702,7]]},"711":{"position":[[835,7]]},"778":{"position":[[344,7]]},"886":{"position":[[1817,7]]},"1124":{"position":[[1552,7],[1814,7]]},"1161":{"position":[[62,7]]},"1174":{"position":[[522,7]]},"1180":{"position":[[62,7]]},"1250":{"position":[[42,7]]}},"keywords":{}}],["age+id",{"_index":6456,"title":{},"content":{"1296":{"position":[[335,6]]}},"keywords":{}}],["ageidcustomindex",{"_index":6457,"title":{},"content":{"1296":{"position":[[589,16],[772,16],[1127,18]]}},"keywords":{}}],["agent",{"_index":6056,"title":{},"content":{"1140":{"position":[[154,5]]},"1297":{"position":[[206,5]]}},"keywords":{}}],["aggreg",{"_index":1560,"title":{},"content":{"252":{"position":[[240,10]]},"353":{"position":[[69,13]]},"354":{"position":[[756,13]]},"412":{"position":[[12709,9],[14148,14]]},"418":{"position":[[343,11]]},"698":{"position":[[2678,9]]},"888":{"position":[[288,9],[921,9]]},"889":{"position":[[657,9]]},"1021":{"position":[[96,9]]},"1072":{"position":[[634,12],[931,11],[1049,11]]},"1315":{"position":[[842,9]]},"1322":{"position":[[490,9]]}},"keywords":{}}],["aggress",{"_index":1756,"title":{},"content":{"299":{"position":[[968,10],[1522,12]]}},"keywords":{}}],["agil",{"_index":2087,"title":{},"content":{"362":{"position":[[224,5]]}},"keywords":{}}],["agnost",{"_index":1546,"title":{"351":{"position":[[17,9]]}},"content":{"249":{"position":[[297,8]]},"357":{"position":[[447,8]]},"500":{"position":[[721,9]]}},"keywords":{}}],["ago",{"_index":443,"title":{},"content":{"27":{"position":[[349,3]]},"408":{"position":[[489,4],[1482,4],[5605,4]]},"705":{"position":[[36,3]]}},"keywords":{}}],["ahead",{"_index":2563,"title":{},"content":{"408":{"position":[[4062,6]]}},"keywords":{}}],["ai",{"_index":2505,"title":{},"content":{"404":{"position":[[462,2],[503,2]]}},"keywords":{}}],["ai/mxbai",{"_index":2466,"title":{},"content":{"401":{"position":[[472,8]]}},"keywords":{}}],["aim",{"_index":2302,"title":{},"content":{"394":{"position":[[192,3]]},"410":{"position":[[166,3]]},"510":{"position":[[532,6]]}},"keywords":{}}],["airbag",{"_index":3458,"title":{},"content":{"569":{"position":[[668,8],[772,7]]}},"keywords":{}}],["ajax",{"_index":1915,"title":{},"content":{"320":{"position":[[72,4]]},"574":{"position":[[658,4]]}},"keywords":{}}],["ajv",{"_index":6285,"title":{"1286":{"position":[[9,4]]},"1290":{"position":[[0,3]]}},"content":{"1237":{"position":[[562,5]]},"1286":{"position":[[72,3],[256,5]]},"1287":{"position":[[36,3]]},"1290":{"position":[[47,5],[59,3]]},"1292":{"position":[[356,3],[712,3],[972,3]]}},"keywords":{}}],["ajv.addformat('email",{"_index":6389,"title":{},"content":{"1290":{"position":[[75,22]]}},"keywords":{}}],["aka",{"_index":1625,"title":{},"content":{"269":{"position":[[7,4]]},"367":{"position":[[655,4]]},"502":{"position":[[643,4]]},"619":{"position":[[79,4]]},"1087":{"position":[[18,3]]}},"keywords":{}}],["aklsdjfhaklsdjhf",{"_index":5728,"title":{},"content":{"1051":{"position":[[606,20]]}},"keywords":{}}],["alert",{"_index":3655,"title":{},"content":{"618":{"position":[[673,5]]}},"keywords":{}}],["algorithm",{"_index":982,"title":{"78":{"position":[[48,10]]},"82":{"position":[[12,9]]},"108":{"position":[[48,10]]},"113":{"position":[[12,9]]},"234":{"position":[[48,10]]},"238":{"position":[[12,9]]},"289":{"position":[[17,10]]}},"content":{"78":{"position":[[20,9]]},"82":{"position":[[20,9]]},"108":{"position":[[30,9],[75,9]]},"113":{"position":[[33,9]]},"174":{"position":[[1550,10],[1595,9],[1640,9],[2898,9],[2954,9]]},"218":{"position":[[186,11]]},"223":{"position":[[251,10]]},"234":{"position":[[54,10],[70,9]]},"238":{"position":[[29,9]]},"289":{"position":[[70,9],[154,9],[340,10]]},"369":{"position":[[1238,9]]},"393":{"position":[[526,9]]},"394":{"position":[[1091,11]]},"408":{"position":[[3648,11]]},"411":{"position":[[3424,10]]},"490":{"position":[[463,10],[517,9]]},"504":{"position":[[730,10],[777,10]]},"571":{"position":[[1748,9]]},"717":{"position":[[111,9]]},"718":{"position":[[483,9],[541,10]]},"737":{"position":[[67,9]]},"799":{"position":[[239,9]]},"965":{"position":[[234,9]]},"1065":{"position":[[1652,10]]},"1071":{"position":[[470,9]]},"1083":{"position":[[291,10]]},"1093":{"position":[[214,9]]},"1318":{"position":[[864,9]]}},"keywords":{}}],["alias",{"_index":1131,"title":{},"content":{"141":{"position":[[153,8]]}},"keywords":{}}],["alic",{"_index":2768,"title":{},"content":{"412":{"position":[[13954,5]]},"426":{"position":[[314,8]]},"680":{"position":[[1258,8]]},"810":{"position":[[227,8],[317,7]]},"811":{"position":[[207,8],[297,7]]},"813":{"position":[[284,8]]},"866":{"position":[[720,7]]},"951":{"position":[[332,8]]},"1052":{"position":[[234,8]]},"1056":{"position":[[78,5],[140,7]]},"1316":{"position":[[754,6],[1007,5],[1177,5],[1251,5]]}},"keywords":{}}],["alice@example.com",{"_index":2877,"title":{},"content":{"426":{"position":[[339,19]]}},"keywords":{}}],["align",{"_index":956,"title":{"352":{"position":[[0,7]]}},"content":{"68":{"position":[[112,5]]},"70":{"position":[[129,5]]},"104":{"position":[[43,5]]},"174":{"position":[[521,8]]},"222":{"position":[[213,5]]},"231":{"position":[[88,6]]},"293":{"position":[[371,7]]},"298":{"position":[[737,6]]},"299":{"position":[[845,7]]},"362":{"position":[[32,5]]},"364":{"position":[[147,6]]},"411":{"position":[[5284,6]]},"502":{"position":[[160,5]]},"521":{"position":[[109,5]]},"581":{"position":[[646,6]]},"636":{"position":[[402,6]]},"902":{"position":[[490,6]]}},"keywords":{}}],["aliv",{"_index":3599,"title":{},"content":{"612":{"position":[[1986,7]]},"875":{"position":[[7341,7]]}},"keywords":{}}],["aliveheroes.map(doc",{"_index":3467,"title":{},"content":{"571":{"position":[[1121,19]]}},"keywords":{}}],["allattach",{"_index":5299,"title":{"920":{"position":[[0,17]]},"921":{"position":[[0,16]]}},"content":{},"keywords":{}}],["alldoc",{"_index":6508,"title":{},"content":{"1311":{"position":[[898,7]]}},"keywords":{}}],["alldocs.length",{"_index":6510,"title":{},"content":{"1311":{"position":[[941,15]]}},"keywords":{}}],["alldocsresult",{"_index":4882,"title":{},"content":{"857":{"position":[[281,13]]}},"keywords":{}}],["alldocsresult.foreach(doc",{"_index":4884,"title":{},"content":{"857":{"position":[[340,25]]}},"keywords":{}}],["allhero",{"_index":3428,"title":{},"content":{"562":{"position":[[652,9],[719,11]]}},"keywords":{}}],["alli",{"_index":3219,"title":{},"content":{"501":{"position":[[86,5]]}},"keywords":{}}],["alloc",{"_index":1770,"title":{},"content":{"300":{"position":[[190,9],[356,9]]}},"keywords":{}}],["allot",{"_index":1795,"title":{},"content":{"302":{"position":[[60,8]]}},"keywords":{}}],["allow",{"_index":396,"title":{"1084":{"position":[[4,7]]},"1110":{"position":[[19,8]]}},"content":{"24":{"position":[[115,6],[626,6]]},"34":{"position":[[139,6],[427,8]]},"38":{"position":[[869,5]]},"39":{"position":[[89,8]]},"40":{"position":[[462,6]]},"45":{"position":[[105,6]]},"65":{"position":[[178,6],[890,6],[1628,6]]},"77":{"position":[[39,6]]},"88":{"position":[[29,6]]},"90":{"position":[[125,6]]},"91":{"position":[[68,8]]},"94":{"position":[[156,6]]},"99":{"position":[[332,8]]},"106":{"position":[[6,6]]},"109":{"position":[[48,8]]},"111":{"position":[[33,6]]},"113":{"position":[[139,6]]},"122":{"position":[[72,6]]},"124":{"position":[[85,6]]},"133":{"position":[[68,6]]},"135":{"position":[[51,8]]},"138":{"position":[[36,6]]},"140":{"position":[[36,5]]},"144":{"position":[[55,5]]},"147":{"position":[[199,5]]},"156":{"position":[[197,6]]},"158":{"position":[[178,5]]},"160":{"position":[[32,8]]},"162":{"position":[[457,6]]},"164":{"position":[[62,8]]},"166":{"position":[[115,6]]},"172":{"position":[[278,6]]},"173":{"position":[[507,6],[1818,6],[2356,6],[2798,8]]},"174":{"position":[[988,6],[1842,8],[3131,6]]},"177":{"position":[[78,6]]},"181":{"position":[[254,6]]},"183":{"position":[[153,6]]},"188":{"position":[[1823,5]]},"194":{"position":[[105,6]]},"202":{"position":[[73,6]]},"215":{"position":[[171,8]]},"230":{"position":[[167,8]]},"232":{"position":[[124,8]]},"237":{"position":[[41,8]]},"239":{"position":[[227,6]]},"267":{"position":[[728,8]]},"274":{"position":[[106,6]]},"275":{"position":[[91,6]]},"286":{"position":[[315,6]]},"289":{"position":[[1695,6]]},"292":{"position":[[77,8]]},"298":{"position":[[506,5],[613,5]]},"299":{"position":[[1644,5]]},"303":{"position":[[88,7]]},"323":{"position":[[82,8]]},"338":{"position":[[31,6]]},"351":{"position":[[193,8]]},"357":{"position":[[13,6]]},"360":{"position":[[828,8]]},"364":{"position":[[558,8]]},"369":{"position":[[245,6],[1332,6]]},"379":{"position":[[46,8]]},"383":{"position":[[65,8]]},"390":{"position":[[422,8]]},"391":{"position":[[177,8]]},"392":{"position":[[1213,6],[2401,6],[4877,6]]},"395":{"position":[[77,6],[214,8]]},"396":{"position":[[409,8],[1764,6]]},"398":{"position":[[2920,5]]},"408":{"position":[[977,6],[1658,6],[3497,6],[4106,5]]},"411":{"position":[[5212,5]]},"412":{"position":[[1847,5],[12527,6]]},"424":{"position":[[193,8]]},"433":{"position":[[554,6]]},"445":{"position":[[508,6],[1821,6]]},"452":{"position":[[299,6]]},"453":{"position":[[68,6]]},"454":{"position":[[46,6]]},"455":{"position":[[46,7]]},"459":{"position":[[125,6]]},"470":{"position":[[117,5]]},"481":{"position":[[514,8]]},"502":{"position":[[457,8]]},"514":{"position":[[319,8]]},"518":{"position":[[96,8]]},"541":{"position":[[51,8]]},"574":{"position":[[206,8]]},"602":{"position":[[143,6]]},"610":{"position":[[639,6]]},"611":{"position":[[422,8]]},"612":{"position":[[999,8]]},"613":{"position":[[302,8]]},"616":{"position":[[34,5],[1167,6]]},"617":{"position":[[22,5]]},"618":{"position":[[656,5]]},"636":{"position":[[84,6]]},"682":{"position":[[276,6]]},"687":{"position":[[47,6],[290,7]]},"696":{"position":[[1292,6],[1372,6]]},"701":{"position":[[172,7],[389,5],[823,7],[1035,7]]},"714":{"position":[[726,6]]},"723":{"position":[[2106,6]]},"749":{"position":[[2638,8],[2863,7],[5293,7],[6095,7],[8476,7],[8563,7],[16770,7],[18359,8],[18426,7],[19057,7],[21062,8]]},"759":{"position":[[1421,6]]},"801":{"position":[[618,5]]},"838":{"position":[[664,8]]},"849":{"position":[[20,6]]},"861":{"position":[[1417,5],[2449,5]]},"862":{"position":[[1663,6]]},"863":{"position":[[28,5],[329,5],[484,5]]},"872":{"position":[[2765,6]]},"881":{"position":[[60,7],[112,7]]},"898":{"position":[[4581,6]]},"903":{"position":[[155,6]]},"962":{"position":[[106,6]]},"966":{"position":[[487,7],[809,5]]},"968":{"position":[[777,5]]},"1009":{"position":[[304,7]]},"1065":{"position":[[593,7]]},"1067":{"position":[[950,7],[2223,5]]},"1068":{"position":[[4,5]]},"1079":{"position":[[105,7],[172,5]]},"1101":{"position":[[26,6]]},"1103":{"position":[[156,6]]},"1105":{"position":[[972,7]]},"1106":{"position":[[98,7],[401,5]]},"1110":{"position":[[24,7]]},"1112":{"position":[[560,5]]},"1124":{"position":[[171,6],[799,5],[1934,6]]},"1132":{"position":[[206,8],[621,8],[1408,8]]},"1140":{"position":[[138,6]]},"1150":{"position":[[103,8]]},"1198":{"position":[[1205,6],[1311,7],[1671,6],[1864,6]]},"1206":{"position":[[76,6]]},"1215":{"position":[[671,5]]},"1238":{"position":[[206,6]]},"1246":{"position":[[80,6],[424,6]]},"1271":{"position":[[165,6]]},"1276":{"position":[[106,6]]},"1287":{"position":[[125,7]]},"1297":{"position":[[25,5]]},"1317":{"position":[[236,7],[592,7]]}},"keywords":{}}],["allowslowcount",{"_index":5782,"title":{"1068":{"position":[[0,15]]}},"content":{"1067":{"position":[[2416,15]]},"1068":{"position":[[80,15]]}},"keywords":{}}],["allowslowcount=tru",{"_index":4170,"title":{},"content":{"749":{"position":[[2725,19]]},"1067":{"position":[[2301,19]]}},"keywords":{}}],["allstates.foreach(migrationst",{"_index":4477,"title":{},"content":{"753":{"position":[[336,32]]}},"keywords":{}}],["allstatesobserv",{"_index":4474,"title":{},"content":{"753":{"position":[[236,19]]}},"keywords":{}}],["allstatesobservable.subscribe(allst",{"_index":4476,"title":{},"content":{"753":{"position":[[288,39]]}},"keywords":{}}],["alltask",{"_index":3707,"title":{},"content":{"632":{"position":[[1863,10]]}},"keywords":{}}],["alon",{"_index":583,"title":{"44":{"position":[[67,5]]}},"content":{"37":{"position":[[352,5]]},"228":{"position":[[394,5]]}},"keywords":{}}],["along",{"_index":5164,"title":{},"content":{"889":{"position":[[298,5]]}},"keywords":{}}],["alongsid",{"_index":2236,"title":{},"content":{"392":{"position":[[1396,9]]},"397":{"position":[[39,9]]},"418":{"position":[[629,9]]},"1132":{"position":[[1484,9]]}},"keywords":{}}],["alphahero",{"_index":3427,"title":{},"content":{"562":{"position":[[591,12]]}},"keywords":{}}],["alreadi",{"_index":1204,"title":{"857":{"position":[[30,7]]}},"content":{"173":{"position":[[1667,7]]},"217":{"position":[[95,7]]},"350":{"position":[[312,7]]},"403":{"position":[[146,7]]},"411":{"position":[[2119,7],[2695,8]]},"463":{"position":[[1351,7]]},"626":{"position":[[533,8]]},"653":{"position":[[1168,7]]},"683":{"position":[[971,8]]},"686":{"position":[[11,7],[344,7],[466,7]]},"700":{"position":[[248,7]]},"702":{"position":[[272,7]]},"724":{"position":[[1313,7]]},"749":{"position":[[1435,7],[5030,7],[5627,7],[8778,8],[9336,7],[10731,7],[12216,7],[12420,7],[14306,7],[14585,7]]},"770":{"position":[[564,7]]},"778":{"position":[[583,7]]},"781":{"position":[[585,7]]},"785":{"position":[[475,7]]},"799":{"position":[[325,8]]},"856":{"position":[[218,8]]},"857":{"position":[[42,7]]},"943":{"position":[[140,7]]},"945":{"position":[[398,7]]},"990":{"position":[[170,7]]},"995":{"position":[[255,7],[900,7]]},"1008":{"position":[[230,7]]},"1014":{"position":[[102,7]]},"1088":{"position":[[162,7]]},"1124":{"position":[[2025,7]]},"1151":{"position":[[722,7]]},"1156":{"position":[[86,7]]},"1162":{"position":[[636,7]]},"1165":{"position":[[679,7]]},"1178":{"position":[[721,7]]},"1181":{"position":[[724,7]]},"1222":{"position":[[861,7]]},"1270":{"position":[[364,7]]},"1299":{"position":[[476,7]]},"1301":{"position":[[408,7]]}},"keywords":{}}],["alter",{"_index":3711,"title":{},"content":{"636":{"position":[[62,7]]},"898":{"position":[[1452,5]]}},"keywords":{}}],["altern",{"_index":179,"title":{"12":{"position":[[0,12]]},"13":{"position":[[0,12]]},"59":{"position":[[0,12]]},"199":{"position":[[38,11]]},"200":{"position":[[52,12]]},"246":{"position":[[21,11]]},"247":{"position":[[34,13]]},"256":{"position":[[41,12]]},"290":{"position":[[11,11]]},"546":{"position":[[0,12]]},"606":{"position":[[0,12]]},"688":{"position":[[5,12]]},"709":{"position":[[37,12]]}},"content":{"13":{"position":[[122,13],[320,12]]},"34":{"position":[[371,11],[691,11]]},"186":{"position":[[90,12]]},"219":{"position":[[31,11]]},"251":{"position":[[258,11]]},"255":{"position":[[1812,11]]},"263":{"position":[[42,11]]},"290":{"position":[[97,11]]},"412":{"position":[[1816,14],[12789,11]]},"429":{"position":[[114,11]]},"430":{"position":[[123,12]]},"432":{"position":[[108,12]]},"435":{"position":[[207,12]]},"437":{"position":[[231,11]]},"441":{"position":[[389,12]]},"546":{"position":[[57,11]]},"561":{"position":[[198,11]]},"606":{"position":[[57,11]]},"663":{"position":[[147,13]]},"688":{"position":[[132,11]]},"690":{"position":[[31,11]]},"712":{"position":[[166,12]]},"749":{"position":[[5845,11]]},"772":{"position":[[1084,11]]},"831":{"position":[[71,11]]},"834":{"position":[[172,13]]},"842":{"position":[[281,12]]},"1095":{"position":[[4,11]]},"1124":{"position":[[590,13]]},"1198":{"position":[[1326,12]]},"1277":{"position":[[649,11]]},"1294":{"position":[[130,11]]}},"keywords":{}}],["alternative"",{"_index":367,"title":{},"content":{"22":{"position":[[59,18]]},"243":{"position":[[247,17],[296,17]]},"244":{"position":[[16,17],[1311,17],[1468,17],[1682,17]]}},"keywords":{}}],["alternatives"",{"_index":1514,"title":{},"content":{"244":{"position":[[1228,18]]}},"keywords":{}}],["although",{"_index":633,"title":{},"content":{"40":{"position":[[143,8]]},"356":{"position":[[590,8]]},"624":{"position":[[1496,8]]},"839":{"position":[[1165,8]]},"1072":{"position":[[2019,8]]}},"keywords":{}}],["altogeth",{"_index":3115,"title":{},"content":{"478":{"position":[[298,11]]}},"keywords":{}}],["alway",{"_index":228,"title":{"97":{"position":[[21,6]]}},"content":{"14":{"position":[[842,6]]},"19":{"position":[[592,6]]},"97":{"position":[[61,6]]},"98":{"position":[[83,6]]},"143":{"position":[[367,6]]},"159":{"position":[[325,6]]},"173":{"position":[[2723,6],[2932,6]]},"182":{"position":[[298,6]]},"288":{"position":[[338,6]]},"289":{"position":[[1351,6]]},"300":{"position":[[752,6]]},"398":{"position":[[269,6]]},"408":{"position":[[2466,6]]},"412":{"position":[[4254,6]]},"481":{"position":[[128,6]]},"550":{"position":[[267,6]]},"602":{"position":[[498,6]]},"626":{"position":[[1149,6]]},"644":{"position":[[693,6]]},"688":{"position":[[1042,6]]},"698":{"position":[[745,6]]},"701":{"position":[[1085,6]]},"709":{"position":[[991,6]]},"710":{"position":[[1292,6]]},"723":{"position":[[1216,6]]},"736":{"position":[[134,6]]},"737":{"position":[[99,6],[294,6]]},"749":{"position":[[17903,6],[18024,6]]},"772":{"position":[[415,6]]},"779":{"position":[[279,6]]},"780":{"position":[[202,6]]},"781":{"position":[[851,6]]},"800":{"position":[[108,6],[344,6]]},"804":{"position":[[80,6]]},"808":{"position":[[340,6]]},"816":{"position":[[216,6]]},"898":{"position":[[223,6]]},"905":{"position":[[27,6],[91,6]]},"906":{"position":[[420,6]]},"965":{"position":[[323,6]]},"986":{"position":[[1177,6]]},"987":{"position":[[778,6]]},"988":{"position":[[1206,6]]},"1057":{"position":[[556,6]]},"1058":{"position":[[28,6],[138,6]]},"1065":{"position":[[1539,6],[1830,6]]},"1068":{"position":[[368,6]]},"1072":{"position":[[425,6]]},"1079":{"position":[[499,6]]},"1083":{"position":[[90,6]]},"1084":{"position":[[401,6]]},"1092":{"position":[[521,6]]},"1095":{"position":[[272,6]]},"1100":{"position":[[81,6]]},"1103":{"position":[[90,6]]},"1124":{"position":[[1131,6]]},"1175":{"position":[[485,6]]},"1192":{"position":[[37,6]]},"1208":{"position":[[1822,6]]},"1295":{"position":[[813,6]]},"1296":{"position":[[403,6]]},"1301":{"position":[[1310,6]]},"1305":{"position":[[365,6]]},"1309":{"position":[[989,6]]},"1318":{"position":[[40,6],[1134,6]]},"1321":{"position":[[623,6]]},"1322":{"position":[[347,6]]}},"keywords":{}}],["amazon",{"_index":2645,"title":{},"content":{"411":{"position":[[5646,7]]},"444":{"position":[[623,6]]},"779":{"position":[[30,7]]}},"keywords":{}}],["ambigu",{"_index":2810,"title":{},"content":{"419":{"position":[[1484,10]]}},"keywords":{}}],["amount",{"_index":694,"title":{"782":{"position":[[36,6]]}},"content":{"45":{"position":[[74,7]]},"58":{"position":[[267,6]]},"63":{"position":[[54,7]]},"66":{"position":[[448,6]]},"143":{"position":[[412,7],[519,6],[552,6],[704,6],[737,6],[764,7]]},"265":{"position":[[694,6]]},"298":{"position":[[434,6]]},"317":{"position":[[75,7]]},"398":{"position":[[3222,6],[3255,7],[3315,6]]},"402":{"position":[[1440,6]]},"408":{"position":[[2279,7]]},"424":{"position":[[103,7]]},"430":{"position":[[502,6]]},"451":{"position":[[327,7]]},"452":{"position":[[125,7]]},"477":{"position":[[280,6]]},"533":{"position":[[54,7]]},"559":{"position":[[1026,7]]},"560":{"position":[[246,7],[313,7]]},"566":{"position":[[694,7]]},"593":{"position":[[54,7]]},"617":{"position":[[1381,6],[1502,7],[1783,6]]},"653":{"position":[[568,6]]},"659":{"position":[[726,6]]},"696":{"position":[[289,6]]},"724":{"position":[[1068,6]]},"749":{"position":[[9262,6]]},"752":{"position":[[1193,6],[1251,6]]},"782":{"position":[[274,6],[332,6]]},"784":{"position":[[753,7]]},"821":{"position":[[648,6]]},"835":{"position":[[831,6]]},"838":{"position":[[1120,7]]},"846":{"position":[[653,6]]},"886":{"position":[[1460,6],[2868,6]]},"958":{"position":[[553,6]]},"1067":{"position":[[24,6],[576,6]]},"1134":{"position":[[595,6]]},"1157":{"position":[[302,7]]},"1192":{"position":[[507,7]]},"1222":{"position":[[577,6],[686,6]]},"1237":{"position":[[60,6]]},"1304":{"position":[[1477,6]]},"1311":{"position":[[1728,7]]}},"keywords":{}}],["amountinstock",{"_index":6548,"title":{},"content":{"1316":{"position":[[1105,13]]}},"keywords":{}}],["amp",{"_index":285,"title":{},"content":{"17":{"position":[[30,5]]},"261":{"position":[[668,5]]},"317":{"position":[[193,5]]},"410":{"position":[[13,5],[498,5]]},"412":{"position":[[8937,5]]},"710":{"position":[[1377,5]]},"860":{"position":[[888,5],[1066,5]]},"898":{"position":[[92,5],[1563,5]]},"902":{"position":[[362,5]]},"993":{"position":[[384,5]]},"1132":{"position":[[873,5]]},"1246":{"position":[[2011,5]]}},"keywords":{}}],["amp;&",{"_index":3280,"title":{},"content":{"523":{"position":[[762,10]]},"666":{"position":[[224,10]]},"670":{"position":[[529,10]]},"875":{"position":[[4737,10],[4799,10],[4839,10]]},"990":{"position":[[1255,10],[1293,10]]}},"keywords":{}}],["amp;limit=${batchs",{"_index":1358,"title":{},"content":{"209":{"position":[[1186,26]]}},"keywords":{}}],["ampl",{"_index":1696,"title":{},"content":{"295":{"position":[[303,5]]}},"keywords":{}}],["amplifi",{"_index":303,"title":{"18":{"position":[[4,8]]}},"content":{"18":{"position":[[7,7],[290,7],[406,7]]},"19":{"position":[[25,7],[265,7]]}},"keywords":{}}],["analyt",{"_index":306,"title":{},"content":{"18":{"position":[[176,10]]},"265":{"position":[[902,10]]},"267":{"position":[[851,9],[940,9],[1017,9],[1540,9]]},"353":{"position":[[526,9]]},"354":{"position":[[690,10]]},"375":{"position":[[494,9]]},"412":{"position":[[12719,11]]},"418":{"position":[[403,9]]},"446":{"position":[[993,9]]},"704":{"position":[[502,10]]}},"keywords":{}}],["analytics.legaci",{"_index":2026,"title":{},"content":{"354":{"position":[[904,16]]}},"keywords":{}}],["analyz",{"_index":6569,"title":{},"content":{"1318":{"position":[[543,7]]}},"keywords":{}}],["android",{"_index":567,"title":{},"content":{"36":{"position":[[44,7]]},"177":{"position":[[154,7]]},"269":{"position":[[291,8]]},"287":{"position":[[1163,7]]},"299":{"position":[[1018,7]]},"305":{"position":[[175,7]]},"371":{"position":[[136,7]]},"445":{"position":[[2260,7]]},"446":{"position":[[1371,8]]},"618":{"position":[[73,7]]},"640":{"position":[[356,8]]},"660":{"position":[[511,8]]},"1270":{"position":[[413,9]]},"1278":{"position":[[43,7]]},"1301":{"position":[[1003,7]]}},"keywords":{}}],["angular",{"_index":257,"title":{"44":{"position":[[28,7]]},"46":{"position":[[21,8]]},"48":{"position":[[15,8]]},"55":{"position":[[5,7]]},"56":{"position":[[0,7]]},"115":{"position":[[25,7]]},"116":{"position":[[0,7]]},"117":{"position":[[27,7]]},"126":{"position":[[15,7]]},"127":{"position":[[17,7]]},"128":{"position":[[22,7]]},"130":{"position":[[8,7]]},"142":{"position":[[33,7]]},"145":{"position":[[4,7]]},"286":{"position":[[33,8]]},"493":{"position":[[0,7]]},"673":{"position":[[11,8]]}},"content":{"15":{"position":[[319,8]]},"49":{"position":[[32,7]]},"50":{"position":[[66,7],[457,7]]},"51":{"position":[[960,7],[1045,7]]},"54":{"position":[[4,8]]},"55":{"position":[[1,7]]},"56":{"position":[[39,7],[151,7]]},"61":{"position":[[397,7]]},"94":{"position":[[100,8]]},"116":{"position":[[1,7],[188,7]]},"117":{"position":[[32,7]]},"118":{"position":[[272,7],[418,7]]},"125":{"position":[[87,7]]},"126":{"position":[[54,7]]},"127":{"position":[[107,7]]},"128":{"position":[[19,7],[238,7]]},"129":{"position":[[1,7],[255,8],[466,7],[563,8],[628,7]]},"130":{"position":[[1,7],[255,7]]},"132":{"position":[[29,7],[219,7]]},"133":{"position":[[75,7]]},"136":{"position":[[173,7]]},"137":{"position":[[84,7]]},"138":{"position":[[284,7]]},"140":{"position":[[316,7]]},"142":{"position":[[34,7]]},"143":{"position":[[189,7]]},"144":{"position":[[72,7]]},"145":{"position":[[103,7]]},"148":{"position":[[42,7],[190,7],[487,7]]},"149":{"position":[[445,7]]},"173":{"position":[[2298,8]]},"222":{"position":[[117,8]]},"286":{"position":[[190,8]]},"313":{"position":[[70,7]]},"323":{"position":[[676,7]]},"352":{"position":[[261,7]]},"511":{"position":[[468,7]]},"729":{"position":[[24,7]]},"742":{"position":[[9,7]]},"824":{"position":[[232,8]]},"825":{"position":[[1,7],[22,7],[37,7],[158,9],[523,7],[977,7],[1090,7],[1134,7]]},"910":{"position":[[315,7]]},"1118":{"position":[[213,7]]},"1176":{"position":[[462,8]]},"1202":{"position":[[24,7]]},"1268":{"position":[[309,7]]}},"keywords":{}}],["angular'",{"_index":748,"title":{},"content":{"50":{"position":[[42,9],[259,9]]},"55":{"position":[[156,9]]},"129":{"position":[[165,9]]},"143":{"position":[[1,9]]},"493":{"position":[[3,9]]}},"keywords":{}}],["angular/common",{"_index":4725,"title":{},"content":{"825":{"position":[[622,18]]}},"keywords":{}}],["angular/cor",{"_index":834,"title":{},"content":{"55":{"position":[[278,16],[833,16]]},"673":{"position":[[27,16]]},"825":{"position":[[203,16],[576,16]]}},"keywords":{}}],["angular/core/rxj",{"_index":835,"title":{},"content":{"55":{"position":[[320,19]]},"1118":{"position":[[440,19]]}},"keywords":{}}],["anim",{"_index":1916,"title":{},"content":{"320":{"position":[[266,11]]},"934":{"position":[[866,8]]}},"keywords":{}}],["announc",{"_index":2510,"title":{},"content":{"405":{"position":[[16,12]]},"471":{"position":[[10,12]]},"628":{"position":[[67,12]]}},"keywords":{}}],["anon",{"_index":5193,"title":{},"content":{"897":{"position":[[536,4]]},"898":{"position":[[2816,4]]}},"keywords":{}}],["anoth",{"_index":413,"title":{},"content":{"25":{"position":[[44,7]]},"262":{"position":[[556,7]]},"289":{"position":[[1060,7]]},"303":{"position":[[1050,7],[1205,7],[1362,7]]},"408":{"position":[[3448,7],[4213,7]]},"411":{"position":[[4541,7]]},"412":{"position":[[1624,7],[4038,7]]},"429":{"position":[[628,7]]},"433":{"position":[[1,7]]},"562":{"position":[[1700,7]]},"571":{"position":[[401,7],[448,7]]},"617":{"position":[[734,7]]},"636":{"position":[[187,8]]},"656":{"position":[[122,7]]},"696":{"position":[[734,7],[1737,7]]},"709":{"position":[[630,7]]},"749":{"position":[[4745,7],[5385,7],[8829,8],[15064,7]]},"772":{"position":[[1076,7]]},"775":{"position":[[95,7],[122,7]]},"785":{"position":[[604,7],[632,7]]},"839":{"position":[[12,7]]},"902":{"position":[[94,8]]},"956":{"position":[[158,7]]},"991":{"position":[[160,7]]},"995":{"position":[[240,7],[885,7]]},"1020":{"position":[[64,7]]},"1085":{"position":[[2837,7]]},"1089":{"position":[[1,7]]},"1090":{"position":[[1,7]]},"1195":{"position":[[223,7]]},"1198":{"position":[[664,7],[2108,7]]},"1219":{"position":[[170,7]]},"1230":{"position":[[272,7]]},"1231":{"position":[[171,7]]},"1246":{"position":[[811,7]]},"1296":{"position":[[1702,7]]},"1298":{"position":[[41,7]]},"1300":{"position":[[483,7]]},"1304":{"position":[[1009,7]]}},"keywords":{}}],["answer",{"_index":2175,"title":{},"content":{"387":{"position":[[312,9]]},"412":{"position":[[10298,6]]},"612":{"position":[[540,6]]},"703":{"position":[[1271,6]]},"705":{"position":[[402,6]]},"990":{"position":[[239,9]]},"1220":{"position":[[347,8],[541,6]]},"1249":{"position":[[75,6]]}},"keywords":{}}],["ant",{"_index":4657,"title":{},"content":{"799":{"position":[[219,3]]}},"keywords":{}}],["anticip",{"_index":1387,"title":{},"content":{"212":{"position":[[392,10]]}},"keywords":{}}],["any>>",{"_index":5475,"title":{},"content":{"988":{"position":[[5136,14]]}},"keywords":{}}],["any).embed",{"_index":2411,"title":{},"content":{"398":{"position":[[1548,15],[2701,15]]}},"keywords":{}}],["any).glob",{"_index":4072,"title":{},"content":{"729":{"position":[[342,11]]},"1202":{"position":[[381,11]]}},"keywords":{}}],["any).process",{"_index":4073,"title":{},"content":{"729":{"position":[[375,12]]},"1202":{"position":[[414,12]]}},"keywords":{}}],["anyfield",{"_index":4543,"title":{},"content":{"768":{"position":[[347,8]]}},"keywords":{}}],["anymor",{"_index":448,"title":{},"content":{"27":{"position":[[434,8]]},"28":{"position":[[579,8],[723,7]]},"837":{"position":[[657,8]]},"1026":{"position":[[184,8]]},"1313":{"position":[[428,7]]}},"keywords":{}}],["anyon",{"_index":6523,"title":{},"content":{"1313":{"position":[[631,6]]}},"keywords":{}}],["anyth",{"_index":2098,"title":{},"content":{"362":{"position":[[633,8]]},"454":{"position":[[1054,8]]},"625":{"position":[[90,8]]},"659":{"position":[[957,8]]},"668":{"position":[[189,9]]},"699":{"position":[[508,8],[587,8]]},"752":{"position":[[553,8]]},"772":{"position":[[1279,8]]},"806":{"position":[[644,8]]},"835":{"position":[[1021,8]]},"838":{"position":[[787,8]]},"886":{"position":[[4436,8]]},"981":{"position":[[756,8]]},"985":{"position":[[312,8]]},"1088":{"position":[[655,9]]},"1257":{"position":[[129,8]]},"1313":{"position":[[559,8]]},"1321":{"position":[[294,9]]}},"keywords":{}}],["anyvalu",{"_index":4545,"title":{},"content":{"768":{"position":[[391,11]]}},"keywords":{}}],["anyway",{"_index":345,"title":{},"content":{"19":{"position":[[1086,7]]},"614":{"position":[[890,6]]},"616":{"position":[[362,7]]},"626":{"position":[[243,7]]},"740":{"position":[[315,8]]},"1126":{"position":[[872,6]]},"1164":{"position":[[444,6]]}},"keywords":{}}],["apach",{"_index":376,"title":{},"content":{"23":{"position":[[3,6]]},"837":{"position":[[70,6]]}},"keywords":{}}],["apart",{"_index":1881,"title":{},"content":{"310":{"position":[[317,5]]}},"keywords":{}}],["api",{"_index":308,"title":{"424":{"position":[[25,5]]},"431":{"position":[[40,3]]},"433":{"position":[[12,3]]},"449":{"position":[[22,4]]},"601":{"position":[[46,4]]},"613":{"position":[[25,5]]},"659":{"position":[[12,4]]},"718":{"position":[[17,4]]},"911":{"position":[[34,3]]},"1145":{"position":[[40,3]]},"1159":{"position":[[25,3]]},"1208":{"position":[[13,3]]},"1215":{"position":[[38,3]]}},"content":{"18":{"position":[[194,4]]},"24":{"position":[[80,4],[807,4]]},"27":{"position":[[207,4]]},"33":{"position":[[76,3]]},"35":{"position":[[103,4]]},"45":{"position":[[37,3],[270,3]]},"47":{"position":[[155,4],[310,4],[445,4],[714,4]]},"100":{"position":[[254,4]]},"120":{"position":[[243,3]]},"126":{"position":[[280,3]]},"128":{"position":[[278,3]]},"131":{"position":[[154,3],[437,3],[499,3],[673,3]]},"139":{"position":[[79,4]]},"155":{"position":[[105,3]]},"181":{"position":[[103,4],[143,3]]},"209":{"position":[[705,5]]},"222":{"position":[[191,4]]},"227":{"position":[[228,4]]},"245":{"position":[[71,3]]},"249":{"position":[[266,3]]},"255":{"position":[[1057,5]]},"291":{"position":[[492,3]]},"300":{"position":[[102,4]]},"303":{"position":[[248,4]]},"320":{"position":[[26,3]]},"336":{"position":[[282,3]]},"366":{"position":[[526,3]]},"381":{"position":[[458,5]]},"387":{"position":[[47,5]]},"392":{"position":[[5069,4]]},"408":{"position":[[1499,4],[1528,3],[1598,4],[3822,4],[4096,4]]},"411":{"position":[[1104,3]]},"424":{"position":[[18,3],[372,3]]},"425":{"position":[[113,3]]},"427":{"position":[[131,4],[218,4]]},"429":{"position":[[58,3]]},"433":{"position":[[52,5],[63,3],[298,3],[532,4],[598,3]]},"434":{"position":[[231,4]]},"435":{"position":[[132,3]]},"437":{"position":[[47,3]]},"438":{"position":[[291,3]]},"439":{"position":[[74,4],[291,3],[375,3],[558,3],[655,3]]},"440":{"position":[[56,3],[245,4]]},"441":{"position":[[493,4]]},"449":{"position":[[51,5]]},"450":{"position":[[808,4]]},"451":{"position":[[18,3],[121,3],[530,3],[736,4]]},"452":{"position":[[103,3],[168,3]]},"453":{"position":[[59,3]]},"454":{"position":[[627,5],[820,3],[946,5]]},"455":{"position":[[18,3],[381,3]]},"456":{"position":[[45,5]]},"457":{"position":[[427,4],[588,3]]},"458":{"position":[[482,4],[636,3],[925,3],[1091,3],[1364,3]]},"460":{"position":[[312,3],[444,3],[1003,5]]},"463":{"position":[[37,4],[230,4]]},"466":{"position":[[353,3]]},"504":{"position":[[150,3]]},"514":{"position":[[174,3]]},"521":{"position":[[91,3]]},"524":{"position":[[924,4]]},"533":{"position":[[26,3]]},"535":{"position":[[48,3],[134,4],[388,4],[709,4],[754,3]]},"546":{"position":[[144,3]]},"551":{"position":[[476,3]]},"554":{"position":[[188,3]]},"556":{"position":[[1157,4]]},"559":{"position":[[36,3]]},"560":{"position":[[220,3]]},"566":{"position":[[304,3]]},"567":{"position":[[920,3]]},"580":{"position":[[256,4]]},"581":{"position":[[288,3],[580,4]]},"590":{"position":[[247,3],[477,3]]},"593":{"position":[[26,3]]},"595":{"position":[[48,3],[134,4],[416,4],[730,4],[775,3]]},"606":{"position":[[144,3]]},"611":{"position":[[942,3]]},"612":{"position":[[932,3]]},"613":{"position":[[32,3],[949,3]]},"614":{"position":[[68,3]]},"616":{"position":[[751,4],[1037,4]]},"617":{"position":[[1667,4]]},"656":{"position":[[427,3]]},"659":{"position":[[43,3],[360,3],[696,3],[936,3]]},"660":{"position":[[45,4]]},"697":{"position":[[66,5]]},"703":{"position":[[267,3]]},"709":{"position":[[114,4],[914,4],[1213,4]]},"717":{"position":[[227,3],[398,3]]},"736":{"position":[[201,3],[500,3]]},"830":{"position":[[143,5]]},"835":{"position":[[98,4]]},"837":{"position":[[59,3]]},"839":{"position":[[356,4]]},"860":{"position":[[150,5]]},"873":{"position":[[129,3]]},"882":{"position":[[99,4],[144,3]]},"899":{"position":[[13,3]]},"904":{"position":[[482,3],[2884,4],[3033,4]]},"911":{"position":[[60,5],[453,3]]},"917":{"position":[[438,3]]},"932":{"position":[[573,4],[630,3]]},"968":{"position":[[137,3]]},"1124":{"position":[[1248,3]]},"1132":{"position":[[100,4]]},"1134":{"position":[[232,3],[367,3]]},"1139":{"position":[[26,4]]},"1140":{"position":[[21,3]]},"1143":{"position":[[638,3]]},"1145":{"position":[[26,4]]},"1149":{"position":[[377,5]]},"1159":{"position":[[24,3]]},"1177":{"position":[[221,4]]},"1204":{"position":[[222,4]]},"1206":{"position":[[67,3]]},"1207":{"position":[[60,3],[320,3],[642,4]]},"1208":{"position":[[10,3],[380,3],[1975,3]]},"1209":{"position":[[40,3]]},"1211":{"position":[[55,3]]},"1214":{"position":[[41,3],[272,3],[361,3],[742,4],[1048,4]]},"1215":{"position":[[83,3],[154,3],[303,4]]},"1216":{"position":[[25,3]]},"1232":{"position":[[18,3]]},"1242":{"position":[[82,4]]},"1244":{"position":[[55,4]]},"1272":{"position":[[43,4]]},"1274":{"position":[[495,4]]},"1278":{"position":[[691,4]]},"1279":{"position":[[882,4]]},"1282":{"position":[[50,3]]},"1292":{"position":[[248,3]]},"1301":{"position":[[917,3],[1163,3]]},"1320":{"position":[[100,5]]}},"keywords":{}}],["api"",{"_index":2958,"title":{},"content":{"452":{"position":[[58,9]]}},"keywords":{}}],["api.avoid",{"_index":1386,"title":{},"content":{"212":{"position":[[359,9]]}},"keywords":{}}],["api.indexeddb",{"_index":1181,"title":{},"content":{"162":{"position":[[219,13]]},"524":{"position":[[277,13]]},"581":{"position":[[186,13]]}},"keywords":{}}],["api/voxels/pull?chunkid=${chunkid}&cp=${checkpoint}&limit=${limit",{"_index":5570,"title":{},"content":{"1007":{"position":[[1530,77]]}},"keywords":{}}],["api/voxels/pull?chunkid=123",{"_index":5560,"title":{},"content":{"1007":{"position":[[554,29]]}},"keywords":{}}],["api/voxels/push?chunkid=123",{"_index":5561,"title":{},"content":{"1007":{"position":[[624,30]]}},"keywords":{}}],["apiduckdb",{"_index":6469,"title":{},"content":{"1299":{"position":[[576,9]]}},"keywords":{}}],["apiin",{"_index":3970,"title":{},"content":{"703":{"position":[[493,5]]}},"keywords":{}}],["apivers",{"_index":4565,"title":{},"content":{"772":{"position":[[844,11]]},"774":{"position":[[772,11]]},"1133":{"position":[[568,10]]},"1134":{"position":[[413,11]]}},"keywords":{}}],["apollo",{"_index":578,"title":{"37":{"position":[[0,7]]}},"content":{"37":{"position":[[5,6]]}},"keywords":{}}],["apolog",{"_index":6090,"title":{},"content":{"1151":{"position":[[333,9]]},"1178":{"position":[[332,9]]}},"keywords":{}}],["app",{"_index":264,"title":{"44":{"position":[[36,5]]},"128":{"position":[[30,4]]},"204":{"position":[[36,5]]},"268":{"position":[[44,4]]},"269":{"position":[[22,6]]},"270":{"position":[[38,4]]},"271":{"position":[[53,5]]},"284":{"position":[[30,4]]},"348":{"position":[[50,3]]},"359":{"position":[[45,5]]},"409":{"position":[[39,4]]},"446":{"position":[[29,3]]},"488":{"position":[[23,4]]},"495":{"position":[[27,5]]},"499":{"position":[[39,4]]},"500":{"position":[[26,4]]},"503":{"position":[[32,4]]},"532":{"position":[[28,4]]},"558":{"position":[[62,4]]},"592":{"position":[[26,4]]},"618":{"position":[[40,5]]},"629":{"position":[[25,4]]},"631":{"position":[[43,5]]},"783":{"position":[[7,4]]},"980":{"position":[[44,4]]},"1282":{"position":[[39,5]]}},"content":{"15":{"position":[[506,3]]},"18":{"position":[[436,3]]},"38":{"position":[[98,5]]},"46":{"position":[[36,3]]},"51":{"position":[[349,5]]},"59":{"position":[[219,3]]},"112":{"position":[[131,4]]},"148":{"position":[[351,5]]},"151":{"position":[[373,4]]},"172":{"position":[[204,4]]},"174":{"position":[[2737,4]]},"178":{"position":[[170,3],[428,4]]},"201":{"position":[[228,3]]},"204":{"position":[[196,3]]},"207":{"position":[[113,3]]},"215":{"position":[[336,4]]},"239":{"position":[[168,4]]},"244":{"position":[[849,3]]},"251":{"position":[[226,5]]},"253":{"position":[[81,3],[168,3]]},"254":{"position":[[103,3],[178,4]]},"262":{"position":[[54,3]]},"269":{"position":[[29,4],[112,3],[319,4]]},"270":{"position":[[88,5],[100,4]]},"271":{"position":[[91,5],[322,5]]},"273":{"position":[[261,3]]},"274":{"position":[[118,3]]},"277":{"position":[[265,3]]},"278":{"position":[[258,3]]},"280":{"position":[[225,3],[468,4]]},"284":{"position":[[43,3]]},"285":{"position":[[363,4]]},"286":{"position":[[174,3]]},"287":{"position":[[1281,5]]},"289":{"position":[[1190,3]]},"292":{"position":[[376,3]]},"294":{"position":[[220,3],[272,3]]},"300":{"position":[[22,3],[808,3]]},"301":{"position":[[703,3]]},"302":{"position":[[44,3],[566,4]]},"303":{"position":[[29,3]]},"309":{"position":[[174,3]]},"312":{"position":[[98,3]]},"314":{"position":[[1111,3]]},"330":{"position":[[21,3]]},"346":{"position":[[579,3]]},"354":{"position":[[817,3]]},"359":{"position":[[106,5]]},"360":{"position":[[529,3]]},"365":{"position":[[125,3],[507,3]]},"371":{"position":[[12,3],[316,5]]},"375":{"position":[[88,4],[179,4],[906,4],[937,3]]},"380":{"position":[[336,5]]},"384":{"position":[[264,3],[321,4]]},"388":{"position":[[440,3]]},"392":{"position":[[2094,3],[2256,3]]},"393":{"position":[[670,4]]},"399":{"position":[[120,4],[385,3]]},"403":{"position":[[244,3]]},"407":{"position":[[402,3],[538,4]]},"408":{"position":[[231,4],[1282,4],[1438,4],[1669,4],[3423,3]]},"409":{"position":[[210,4],[285,3]]},"410":{"position":[[161,4],[662,3],[1031,3],[1186,3],[1319,3],[1352,3],[1472,5],[1602,4]]},"411":{"position":[[845,5],[2093,4],[3094,4],[4049,3],[4483,4],[4829,3],[4915,4],[5511,4]]},"412":{"position":[[1522,4],[4154,3],[4213,5],[6159,3],[6338,4],[7136,3],[8239,3],[8405,3],[8482,4],[8778,4],[8953,3],[8977,3],[9414,3],[9607,3],[10099,4],[10165,3],[11036,3],[11111,4],[11189,4],[11412,3],[11475,3],[11883,3],[12095,5],[14064,3],[14709,3],[15411,4]]},"414":{"position":[[14,4],[269,4]]},"416":{"position":[[428,3]]},"418":{"position":[[123,4],[526,4],[839,3]]},"419":{"position":[[42,4],[239,4]]},"420":{"position":[[106,4],[1376,5],[1434,5]]},"421":{"position":[[314,4],[538,5],[968,4]]},"445":{"position":[[385,3],[1679,3],[1742,3],[2115,3]]},"446":{"position":[[141,4],[955,4],[1121,3]]},"447":{"position":[[205,3],[318,5],[620,3]]},"454":{"position":[[378,4]]},"458":{"position":[[38,3],[121,3]]},"460":{"position":[[135,3]]},"463":{"position":[[170,3]]},"468":{"position":[[597,3],[667,4]]},"476":{"position":[[1,4]]},"477":{"position":[[18,4]]},"478":{"position":[[9,4]]},"479":{"position":[[346,4]]},"483":{"position":[[52,3]]},"486":{"position":[[236,5]]},"489":{"position":[[645,3]]},"496":{"position":[[399,4]]},"497":{"position":[[46,5]]},"500":{"position":[[17,4],[110,3],[239,5],[439,3]]},"503":{"position":[[41,4]]},"510":{"position":[[80,4]]},"511":{"position":[[461,3]]},"524":{"position":[[1027,4]]},"535":{"position":[[331,3]]},"538":{"position":[[253,4],[650,5]]},"556":{"position":[[1613,3]]},"559":{"position":[[1600,3]]},"562":{"position":[[1029,5],[1647,3]]},"567":{"position":[[1027,5]]},"582":{"position":[[81,3]]},"584":{"position":[[237,4]]},"590":{"position":[[846,5]]},"595":{"position":[[344,3],[843,3]]},"598":{"position":[[252,4],[657,5]]},"612":{"position":[[1742,4],[1785,3]]},"617":{"position":[[1816,4],[1907,3]]},"627":{"position":[[227,3]]},"630":{"position":[[661,4]]},"632":{"position":[[2759,3]]},"636":{"position":[[12,4],[342,3]]},"660":{"position":[[17,4]]},"661":{"position":[[622,5],[1488,4]]},"662":{"position":[[82,5],[494,4],[1167,4],[1328,4]]},"690":{"position":[[253,3]]},"699":{"position":[[670,4]]},"700":{"position":[[18,3],[214,4],[829,3]]},"701":{"position":[[21,3]]},"702":{"position":[[23,4]]},"703":{"position":[[43,4],[1300,4]]},"704":{"position":[[196,4],[482,3]]},"709":{"position":[[314,4]]},"710":{"position":[[161,4]]},"715":{"position":[[241,3],[329,3]]},"716":{"position":[[382,3]]},"723":{"position":[[1462,3],[1752,3],[1902,3]]},"778":{"position":[[311,5]]},"783":{"position":[[340,5],[377,5]]},"784":{"position":[[365,5],[849,4]]},"785":{"position":[[213,4],[448,5]]},"800":{"position":[[8,3]]},"825":{"position":[[707,4]]},"829":{"position":[[1398,3],[1863,4]]},"836":{"position":[[1166,5],[1911,3]]},"838":{"position":[[678,3]]},"854":{"position":[[238,3]]},"860":{"position":[[1220,4]]},"871":{"position":[[718,4]]},"873":{"position":[[93,4]]},"875":{"position":[[1116,3],[1237,3]]},"897":{"position":[[464,5]]},"898":{"position":[[2787,4]]},"901":{"position":[[104,4]]},"902":{"position":[[698,4]]},"904":{"position":[[98,3],[2142,4],[2205,4]]},"964":{"position":[[467,4],[482,3],[514,3]]},"981":{"position":[[1303,5]]},"988":{"position":[[403,3]]},"995":{"position":[[597,3],[1050,3],[1177,3],[1360,3]]},"1009":{"position":[[733,4],[923,3]]},"1102":{"position":[[153,4]]},"1126":{"position":[[70,4]]},"1174":{"position":[[48,3]]},"1183":{"position":[[216,3],[480,4]]},"1214":{"position":[[958,3]]},"1237":{"position":[[30,3]]},"1270":{"position":[[267,4],[449,4]]},"1301":{"position":[[61,4],[97,3]]},"1316":{"position":[[21,4],[387,4]]},"1322":{"position":[[12,4]]}},"keywords":{}}],["app"",{"_index":1489,"title":{},"content":{"244":{"position":[[406,9],[1044,9],[1078,9]]}},"keywords":{}}],["app'",{"_index":1632,"title":{},"content":{"273":{"position":[[103,5]]},"275":{"position":[[103,5]]},"276":{"position":[[76,5],[348,5]]},"277":{"position":[[117,5]]},"279":{"position":[[491,5]]},"282":{"position":[[374,5]]},"285":{"position":[[267,5]]},"287":{"position":[[262,5]]},"291":{"position":[[87,5]]},"292":{"position":[[249,5]]},"1072":{"position":[[1159,5]]}},"keywords":{}}],["app.component.t",{"_index":753,"title":{},"content":{"50":{"position":[[184,16]]},"129":{"position":[[681,16]]}},"keywords":{}}],["app.get('/ev",{"_index":3596,"title":{},"content":{"612":{"position":[[1841,18]]}},"keywords":{}}],["app.get('/list",{"_index":4659,"title":{},"content":{"799":{"position":[[520,16],[752,16]]}},"keywords":{}}],["app.get('/pul",{"_index":4990,"title":{},"content":{"875":{"position":[[2070,16]]}},"keywords":{}}],["app.get('/pullstream",{"_index":5042,"title":{},"content":{"875":{"position":[[7221,22]]}},"keywords":{}}],["app.get('/push",{"_index":5018,"title":{},"content":{"875":{"position":[[4438,16]]}},"keywords":{}}],["app.listen(80",{"_index":4986,"title":{},"content":{"875":{"position":[[1190,14]]}},"keywords":{}}],["app.listen(port",{"_index":3614,"title":{},"content":{"612":{"position":[[2480,16]]}},"keywords":{}}],["app.on('readi",{"_index":3930,"title":{},"content":{"693":{"position":[[853,15]]}},"keywords":{}}],["app.th",{"_index":2844,"title":{},"content":{"420":{"position":[[1305,7]]}},"keywords":{}}],["app.use(express.json",{"_index":4985,"title":{},"content":{"875":{"position":[[1133,24]]}},"keywords":{}}],["appa",{"_index":3211,"title":{},"content":{"498":{"position":[[247,4]]}},"keywords":{}}],["appeal",{"_index":1233,"title":{},"content":{"177":{"position":[[302,9]]},"362":{"position":[[135,9]]},"387":{"position":[[421,9]]},"407":{"position":[[801,9]]}},"keywords":{}}],["appear",{"_index":3560,"title":{},"content":{"610":{"position":[[1168,6]]},"624":{"position":[[361,6]]},"751":{"position":[[1891,6]]},"847":{"position":[[16,6]]},"988":{"position":[[2746,8]]},"1300":{"position":[[743,8]]},"1307":{"position":[[338,7],[438,8]]},"1308":{"position":[[24,7]]},"1316":{"position":[[2890,6]]}},"keywords":{}}],["append",{"_index":1946,"title":{},"content":{"335":{"position":[[365,6]]},"464":{"position":[[1052,6]]},"698":{"position":[[2644,6]]},"1065":{"position":[[1546,6],[1837,6]]},"1079":{"position":[[506,6]]}},"keywords":{}}],["appl",{"_index":3940,"title":{},"content":{"697":{"position":[[116,5]]}},"keywords":{}}],["appli",{"_index":1192,"title":{},"content":{"169":{"position":[[86,8]]},"299":{"position":[[1155,8]]},"347":{"position":[[533,5]]},"362":{"position":[[1604,5]]},"409":{"position":[[148,7]]},"591":{"position":[[762,5]]},"636":{"position":[[326,7]]},"681":{"position":[[505,7]]},"682":{"position":[[35,7]]},"698":{"position":[[993,7]]},"818":{"position":[[372,5]]},"832":{"position":[[343,7]]},"886":{"position":[[4428,7]]},"937":{"position":[[93,7]]},"1009":{"position":[[66,7]]},"1140":{"position":[[224,8]]},"1301":{"position":[[1204,5]]},"1307":{"position":[[854,8]]},"1317":{"position":[[283,7]]}},"keywords":{}}],["applic",{"_index":182,"title":{"12":{"position":[[51,12]]},"76":{"position":[[45,13]]},"90":{"position":[[19,12]]},"93":{"position":[[15,11]]},"107":{"position":[[45,13]]},"115":{"position":[[33,11]]},"116":{"position":[[12,13]]},"117":{"position":[[35,13]]},"127":{"position":[[25,12]]},"142":{"position":[[41,13]]},"150":{"position":[[36,12]]},"151":{"position":[[16,12]]},"152":{"position":[[35,13]]},"173":{"position":[[24,13]]},"174":{"position":[[47,13]]},"176":{"position":[[32,11]]},"177":{"position":[[27,13]]},"178":{"position":[[35,13]]},"187":{"position":[[24,12]]},"213":{"position":[[70,12]]},"217":{"position":[[18,11]]},"221":{"position":[[18,12]]},"225":{"position":[[61,12]]},"230":{"position":[[45,13]]},"264":{"position":[[55,12]]},"278":{"position":[[42,12]]},"319":{"position":[[31,11]]},"320":{"position":[[11,13]]},"321":{"position":[[34,13]]},"332":{"position":[[23,12]]},"346":{"position":[[40,13]]},"368":{"position":[[32,13]]},"374":{"position":[[80,12]]},"378":{"position":[[37,13]]},"423":{"position":[[29,13]]},"443":{"position":[[46,12]]},"512":{"position":[[29,12]]},"522":{"position":[[22,12]]},"571":{"position":[[24,13]]},"573":{"position":[[28,11]]},"574":{"position":[[8,12]]},"1009":{"position":[[39,12]]},"1312":{"position":[[7,12]]}},"content":{"14":{"position":[[74,13]]},"15":{"position":[[81,13]]},"17":{"position":[[229,11]]},"18":{"position":[[90,13]]},"25":{"position":[[94,13]]},"26":{"position":[[294,13]]},"34":{"position":[[741,13]]},"37":{"position":[[77,12],[377,11]]},"38":{"position":[[577,11]]},"46":{"position":[[180,11]]},"47":{"position":[[366,11]]},"49":{"position":[[40,11]]},"56":{"position":[[47,11]]},"61":{"position":[[405,13]]},"64":{"position":[[208,13]]},"65":{"position":[[252,11],[631,12],[759,13],[787,13],[902,11],[1218,12],[1281,11],[1405,12],[1445,11],[1568,12],[2066,12]]},"66":{"position":[[530,12]]},"67":{"position":[[112,12]]},"68":{"position":[[156,13]]},"69":{"position":[[114,13]]},"70":{"position":[[157,13]]},"72":{"position":[[139,11]]},"73":{"position":[[152,13]]},"76":{"position":[[56,13]]},"80":{"position":[[5,12]]},"83":{"position":[[182,12],[411,12]]},"87":{"position":[[172,11]]},"88":{"position":[[147,12]]},"89":{"position":[[106,12],[277,13]]},"90":{"position":[[51,12]]},"91":{"position":[[279,12]]},"92":{"position":[[232,12]]},"93":{"position":[[49,11],[136,11]]},"98":{"position":[[127,13]]},"99":{"position":[[345,11]]},"100":{"position":[[55,13],[136,13]]},"101":{"position":[[95,13]]},"102":{"position":[[131,13]]},"105":{"position":[[166,12]]},"107":{"position":[[64,13]]},"109":{"position":[[34,13],[141,12],[202,11]]},"110":{"position":[[206,11]]},"114":{"position":[[555,13],[676,12]]},"116":{"position":[[123,12],[287,13]]},"117":{"position":[[40,12],[205,11]]},"118":{"position":[[280,12]]},"122":{"position":[[92,12],[311,12]]},"123":{"position":[[163,11]]},"125":{"position":[[95,11]]},"126":{"position":[[62,13],[318,12]]},"127":{"position":[[115,12]]},"128":{"position":[[27,12],[246,11]]},"132":{"position":[[37,11],[227,11]]},"133":{"position":[[83,12],[305,12]]},"136":{"position":[[181,12]]},"137":{"position":[[92,12]]},"138":{"position":[[292,12]]},"140":{"position":[[324,12]]},"142":{"position":[[42,12]]},"145":{"position":[[301,12]]},"146":{"position":[[267,11]]},"148":{"position":[[50,13],[198,12],[253,12],[373,13],[406,13]]},"151":{"position":[[94,12],[151,11],[388,12],[461,13]]},"152":{"position":[[8,12],[227,13]]},"153":{"position":[[114,13],[297,12]]},"156":{"position":[[224,12]]},"157":{"position":[[51,12],[313,11]]},"158":{"position":[[184,12]]},"159":{"position":[[312,12]]},"160":{"position":[[41,12]]},"161":{"position":[[44,13],[383,13]]},"164":{"position":[[71,12],[162,12]]},"165":{"position":[[417,13]]},"166":{"position":[[327,13]]},"167":{"position":[[353,13]]},"168":{"position":[[139,12]]},"169":{"position":[[255,12]]},"170":{"position":[[68,13],[156,13],[305,12],[564,12]]},"172":{"position":[[100,12]]},"173":{"position":[[22,13],[109,12],[862,12],[946,12],[1456,11],[1520,11],[1625,11],[1850,11],[2887,11],[3235,12]]},"174":{"position":[[101,13],[1245,13],[1328,13],[1876,11],[2228,12]]},"175":{"position":[[481,13],[711,13]]},"177":{"position":[[129,12],[327,13]]},"178":{"position":[[40,12],[334,11]]},"179":{"position":[[250,13],[436,12]]},"180":{"position":[[53,12]]},"183":{"position":[[78,12]]},"184":{"position":[[63,13]]},"186":{"position":[[47,13],[411,13]]},"187":{"position":[[100,12]]},"188":{"position":[[82,12],[2027,12]]},"189":{"position":[[736,12]]},"192":{"position":[[398,13]]},"198":{"position":[[67,13],[256,13],[408,12],[529,11]]},"201":{"position":[[134,11]]},"203":{"position":[[293,11]]},"204":{"position":[[319,12]]},"206":{"position":[[221,11]]},"207":{"position":[[207,12]]},"215":{"position":[[124,12],[208,11],[316,12]]},"216":{"position":[[109,12],[269,12]]},"217":{"position":[[52,11],[188,12],[323,12]]},"219":{"position":[[168,11],[375,12]]},"220":{"position":[[257,12]]},"221":{"position":[[10,12],[167,12]]},"224":{"position":[[295,12]]},"225":{"position":[[175,13]]},"226":{"position":[[224,12]]},"227":{"position":[[149,13]]},"228":{"position":[[110,12]]},"229":{"position":[[213,13]]},"230":{"position":[[47,13]]},"231":{"position":[[274,13]]},"232":{"position":[[66,13]]},"234":{"position":[[283,13]]},"239":{"position":[[116,12]]},"241":{"position":[[72,13],[473,12]]},"248":{"position":[[35,11],[129,11]]},"254":{"position":[[143,12],[530,11]]},"265":{"position":[[332,12],[866,12]]},"266":{"position":[[196,12],[525,13],[1106,13]]},"267":{"position":[[63,13],[115,12],[271,12],[1219,12],[1481,13]]},"269":{"position":[[154,13]]},"270":{"position":[[58,12]]},"271":{"position":[[231,13]]},"274":{"position":[[71,13]]},"278":{"position":[[76,13]]},"280":{"position":[[45,12]]},"282":{"position":[[43,11]]},"287":{"position":[[830,12],[1131,13]]},"288":{"position":[[82,11]]},"289":{"position":[[356,11],[1318,12],[1483,12]]},"290":{"position":[[56,13]]},"291":{"position":[[358,12]]},"292":{"position":[[91,11]]},"293":{"position":[[52,11]]},"309":{"position":[[52,13]]},"320":{"position":[[287,12]]},"321":{"position":[[28,12]]},"323":{"position":[[187,11],[561,11]]},"325":{"position":[[230,13]]},"326":{"position":[[131,12]]},"327":{"position":[[101,11]]},"338":{"position":[[50,11]]},"343":{"position":[[88,11]]},"350":{"position":[[299,12]]},"353":{"position":[[20,12],[225,12],[602,11]]},"354":{"position":[[117,13]]},"358":{"position":[[257,11]]},"362":{"position":[[182,12]]},"365":{"position":[[45,12],[184,12],[349,11],[558,12],[674,12],[716,11],[808,13],[956,13],[1129,12],[1146,12]]},"366":{"position":[[299,11]]},"367":{"position":[[51,12]]},"368":{"position":[[59,13]]},"369":{"position":[[455,11],[539,11],[790,12]]},"370":{"position":[[101,13]]},"371":{"position":[[151,13]]},"373":{"position":[[72,13],[488,12]]},"375":{"position":[[435,12],[576,12]]},"376":{"position":[[77,12],[535,12]]},"378":{"position":[[110,13]]},"379":{"position":[[226,11]]},"382":{"position":[[230,11]]},"383":{"position":[[248,12],[463,11]]},"384":{"position":[[393,11]]},"385":{"position":[[237,12]]},"386":{"position":[[93,12]]},"388":{"position":[[373,13]]},"390":{"position":[[1191,13]]},"393":{"position":[[425,12]]},"396":{"position":[[1488,13]]},"408":{"position":[[747,11]]},"410":{"position":[[1894,11]]},"412":{"position":[[6021,12]]},"419":{"position":[[833,12]]},"422":{"position":[[433,11]]},"427":{"position":[[337,11],[1054,12]]},"430":{"position":[[196,11],[871,12],[953,11]]},"432":{"position":[[1194,12]]},"434":{"position":[[416,13]]},"435":{"position":[[338,12]]},"437":{"position":[[280,13]]},"441":{"position":[[208,11],[686,13]]},"444":{"position":[[109,13]]},"445":{"position":[[342,13],[522,12],[916,12],[2211,12]]},"446":{"position":[[15,13],[57,12],[174,12],[452,12],[776,13],[861,12],[1100,13],[1236,13]]},"447":{"position":[[83,13],[455,12],[708,13]]},"453":{"position":[[79,12],[172,12],[623,11]]},"457":{"position":[[30,12]]},"462":{"position":[[257,11]]},"473":{"position":[[159,11]]},"474":{"position":[[1,12]]},"486":{"position":[[282,11]]},"489":{"position":[[67,11]]},"491":{"position":[[54,12]]},"500":{"position":[[345,13]]},"501":{"position":[[161,13]]},"502":{"position":[[92,13],[1353,12]]},"506":{"position":[[158,12]]},"510":{"position":[[39,11]]},"513":{"position":[[112,13]]},"516":{"position":[[51,12],[185,11]]},"517":{"position":[[45,12]]},"519":{"position":[[5,12],[324,11]]},"520":{"position":[[46,13]]},"521":{"position":[[562,13]]},"522":{"position":[[46,11]]},"528":{"position":[[170,12]]},"530":{"position":[[23,11],[476,12],[681,13]]},"533":{"position":[[325,13]]},"534":{"position":[[21,13],[231,11]]},"535":{"position":[[94,11]]},"540":{"position":[[74,13]]},"542":{"position":[[86,13]]},"543":{"position":[[54,11],[142,13]]},"546":{"position":[[263,12]]},"548":{"position":[[250,12]]},"550":{"position":[[363,11]]},"557":{"position":[[473,12]]},"564":{"position":[[1141,11]]},"567":{"position":[[414,11]]},"569":{"position":[[238,12]]},"571":{"position":[[40,13],[194,11],[656,13],[1414,11]]},"574":{"position":[[155,12],[712,11]]},"576":{"position":[[437,13]]},"577":{"position":[[61,12]]},"579":{"position":[[859,11]]},"584":{"position":[[5,12]]},"586":{"position":[[5,12]]},"589":{"position":[[46,12]]},"593":{"position":[[325,13]]},"594":{"position":[[19,13],[229,11]]},"595":{"position":[[94,11]]},"600":{"position":[[74,13]]},"603":{"position":[[52,11],[140,13]]},"608":{"position":[[248,12]]},"611":{"position":[[281,12]]},"613":{"position":[[385,12]]},"614":{"position":[[177,12]]},"617":{"position":[[1846,12],[2390,12]]},"618":{"position":[[26,12],[261,12],[683,11]]},"621":{"position":[[134,12]]},"623":{"position":[[143,12]]},"624":{"position":[[491,12],[802,13],[1080,13],[1195,12]]},"660":{"position":[[328,11]]},"661":{"position":[[95,13],[1456,11],[1817,13]]},"662":{"position":[[57,12],[252,12],[313,12],[389,13]]},"696":{"position":[[1860,13]]},"702":{"position":[[250,13],[504,13]]},"708":{"position":[[250,11]]},"709":{"position":[[276,11]]},"710":{"position":[[43,13],[129,12]]},"711":{"position":[[123,12],[1950,13]]},"714":{"position":[[307,11]]},"723":{"position":[[638,13],[2480,12],[2637,12]]},"776":{"position":[[345,11]]},"778":{"position":[[17,13]]},"779":{"position":[[256,13]]},"780":{"position":[[96,12],[517,11]]},"781":{"position":[[567,13]]},"782":{"position":[[11,13],[160,12],[236,12]]},"783":{"position":[[201,12],[272,12],[531,12]]},"784":{"position":[[15,13],[267,11]]},"785":{"position":[[33,12]]},"801":{"position":[[87,12],[784,11]]},"802":{"position":[[898,12]]},"821":{"position":[[144,11]]},"829":{"position":[[215,13],[945,12],[1798,11],[2985,12]]},"832":{"position":[[36,11]]},"836":{"position":[[97,13],[1303,13]]},"837":{"position":[[325,12]]},"838":{"position":[[57,13],[281,12],[342,12]]},"840":{"position":[[319,11]]},"857":{"position":[[495,13]]},"860":{"position":[[375,11]]},"871":{"position":[[332,12]]},"879":{"position":[[216,11],[438,11],[521,12],[545,11]]},"956":{"position":[[201,11]]},"981":{"position":[[1573,11]]},"995":{"position":[[516,12],[617,11]]},"1032":{"position":[[88,11]]},"1072":{"position":[[521,11],[832,11]]},"1092":{"position":[[407,12]]},"1094":{"position":[[9,11]]},"1123":{"position":[[166,11],[753,11]]},"1124":{"position":[[338,11],[889,12]]},"1183":{"position":[[158,12]]},"1196":{"position":[[29,12],[142,12]]},"1198":{"position":[[396,13]]},"1206":{"position":[[87,12],[416,12],[533,12]]},"1207":{"position":[[796,12]]},"1246":{"position":[[315,12],[635,12]]},"1250":{"position":[[281,11],[319,11],[414,12],[521,11]]},"1301":{"position":[[34,11]]},"1307":{"position":[[188,11],[556,11]]},"1313":{"position":[[482,11]]},"1314":{"position":[[41,12]]},"1319":{"position":[[631,13],[698,11]]},"1321":{"position":[[63,12]]}},"keywords":{}}],["application'",{"_index":1019,"title":{},"content":{"96":{"position":[[169,13]]},"131":{"position":[[959,13]]},"134":{"position":[[234,13]]},"147":{"position":[[314,13]]},"173":{"position":[[1787,13]]},"178":{"position":[[272,13]]},"249":{"position":[[354,13]]},"295":{"position":[[332,13]]},"367":{"position":[[262,13]]},"419":{"position":[[416,13]]},"485":{"position":[[203,13]]},"524":{"position":[[150,13]]},"525":{"position":[[701,13]]},"546":{"position":[[19,13]]},"581":{"position":[[667,13]]},"606":{"position":[[19,13]]},"613":{"position":[[1090,13]]},"906":{"position":[[718,13]]}},"keywords":{}}],["application.data",{"_index":1210,"title":{},"content":{"173":{"position":[[2690,16]]}},"keywords":{}}],["application.rxdb",{"_index":3532,"title":{},"content":{"591":{"position":[[668,16]]}},"keywords":{}}],["application.stor",{"_index":1201,"title":{},"content":{"173":{"position":[[1127,17]]}},"keywords":{}}],["application.us",{"_index":1198,"title":{},"content":{"173":{"position":[[595,15]]}},"keywords":{}}],["application/json",{"_index":4667,"title":{},"content":{"800":{"position":[[970,20],[997,18]]},"875":{"position":[[2793,20],[5557,20],[6310,19],[6346,18]]},"988":{"position":[[2605,19],[2641,18]]},"1102":{"position":[[578,19],[614,18]]}},"keywords":{}}],["applications.bett",{"_index":1214,"title":{},"content":{"174":{"position":[[684,19]]}},"keywords":{}}],["applications.compress",{"_index":6030,"title":{},"content":{"1132":{"position":[[1039,25]]}},"keywords":{}}],["applications.memori",{"_index":3285,"title":{},"content":{"524":{"position":[[477,19]]}},"keywords":{}}],["applications.rxdb",{"_index":6376,"title":{},"content":{"1284":{"position":[[75,17]]}},"keywords":{}}],["applications—lead",{"_index":3151,"title":{},"content":{"483":{"position":[[1245,20]]}},"keywords":{}}],["approach",{"_index":732,"title":{"122":{"position":[[14,9]]},"133":{"position":[[14,9]]},"157":{"position":[[14,9]]},"164":{"position":[[14,9]]},"183":{"position":[[14,9]]},"191":{"position":[[14,9]]},"274":{"position":[[12,9]]},"327":{"position":[[14,9]]},"338":{"position":[[14,9]]},"413":{"position":[[41,11]]},"516":{"position":[[12,9]]},"584":{"position":[[14,9]]},"630":{"position":[[36,10]]}},"content":{"47":{"position":[[523,8]]},"51":{"position":[[61,8]]},"55":{"position":[[29,8]]},"64":{"position":[[67,8]]},"68":{"position":[[74,8]]},"91":{"position":[[166,8]]},"96":{"position":[[145,8]]},"99":{"position":[[149,8]]},"103":{"position":[[121,8]]},"116":{"position":[[178,9]]},"122":{"position":[[59,9]]},"126":{"position":[[143,9]]},"133":{"position":[[55,9]]},"156":{"position":[[188,8]]},"157":{"position":[[32,9]]},"161":{"position":[[350,8]]},"164":{"position":[[52,9]]},"170":{"position":[[217,9]]},"172":{"position":[[214,8]]},"173":{"position":[[1030,8]]},"174":{"position":[[358,8],[753,8]]},"183":{"position":[[31,9]]},"186":{"position":[[272,9]]},"191":{"position":[[22,8]]},"198":{"position":[[104,9]]},"203":{"position":[[78,9]]},"205":{"position":[[91,8]]},"219":{"position":[[264,8]]},"226":{"position":[[114,8]]},"231":{"position":[[21,9]]},"233":{"position":[[181,8]]},"241":{"position":[[606,8]]},"249":{"position":[[306,8]]},"260":{"position":[[107,9]]},"262":{"position":[[101,8]]},"266":{"position":[[251,8]]},"273":{"position":[[72,9]]},"274":{"position":[[17,8]]},"279":{"position":[[65,8]]},"280":{"position":[[163,9]]},"289":{"position":[[1637,8]]},"298":{"position":[[303,8]]},"299":{"position":[[346,9],[867,9],[1457,8]]},"302":{"position":[[343,8]]},"313":{"position":[[24,8]]},"322":{"position":[[114,8]]},"323":{"position":[[167,9]]},"331":{"position":[[372,9]]},"335":{"position":[[831,9]]},"338":{"position":[[22,8]]},"352":{"position":[[371,8]]},"353":{"position":[[765,8]]},"354":{"position":[[867,8],[1019,8]]},"356":{"position":[[604,8]]},"358":{"position":[[137,9]]},"362":{"position":[[447,8]]},"372":{"position":[[238,8]]},"380":{"position":[[301,8]]},"382":{"position":[[109,8]]},"407":{"position":[[341,8]]},"411":{"position":[[293,8],[3285,8]]},"412":{"position":[[15,8],[301,10],[831,10],[1953,8],[3458,10],[6594,8],[14940,10]]},"418":{"position":[[549,11]]},"420":{"position":[[636,11]]},"444":{"position":[[832,11]]},"445":{"position":[[416,9]]},"447":{"position":[[126,9]]},"476":{"position":[[42,8]]},"483":{"position":[[33,8],[1172,8]]},"485":{"position":[[171,8]]},"491":{"position":[[1157,9]]},"495":{"position":[[100,9]]},"496":{"position":[[681,8]]},"497":{"position":[[203,8],[727,9]]},"502":{"position":[[231,9],[298,9]]},"504":{"position":[[1431,8]]},"510":{"position":[[260,9]]},"515":{"position":[[351,8]]},"521":{"position":[[611,9]]},"525":{"position":[[19,8]]},"540":{"position":[[107,10]]},"542":{"position":[[937,8]]},"555":{"position":[[883,8]]},"561":{"position":[[123,8]]},"563":{"position":[[106,10]]},"567":{"position":[[881,11]]},"575":{"position":[[331,9]]},"576":{"position":[[25,10]]},"582":{"position":[[33,9]]},"585":{"position":[[132,8]]},"614":{"position":[[708,8]]},"632":{"position":[[608,11]]},"634":{"position":[[15,9]]},"635":{"position":[[238,9]]},"642":{"position":[[118,8]]},"686":{"position":[[847,9]]},"688":{"position":[[144,8],[495,8]]},"723":{"position":[[1679,8]]},"774":{"position":[[847,8]]},"801":{"position":[[712,8]]},"802":{"position":[[704,8]]},"831":{"position":[[308,10]]},"838":{"position":[[997,8]]},"839":{"position":[[255,8]]},"903":{"position":[[241,8]]},"912":{"position":[[506,8]]},"1072":{"position":[[1484,8]]},"1132":{"position":[[459,8]]},"1147":{"position":[[93,10],[382,8]]},"1257":{"position":[[31,9]]}},"keywords":{}}],["approach.custom",{"_index":1383,"title":{},"content":{"212":{"position":[[183,15]]}},"keywords":{}}],["appropri",{"_index":1148,"title":{},"content":{"146":{"position":[[294,11]]},"162":{"position":[[776,11]]},"189":{"position":[[666,11]]},"192":{"position":[[286,11]]},"274":{"position":[[350,13]]},"298":{"position":[[927,14]]},"376":{"position":[[469,11]]},"397":{"position":[[1592,11]]},"430":{"position":[[150,12]]},"525":{"position":[[667,11]]},"1085":{"position":[[3333,11]]}},"keywords":{}}],["approv",{"_index":1748,"title":{},"content":{"299":{"position":[[404,10]]},"497":{"position":[[376,9]]}},"keywords":{}}],["approx",{"_index":1739,"title":{},"content":{"299":{"position":[[219,7]]}},"keywords":{}}],["approxim",{"_index":1737,"title":{},"content":{"299":{"position":[[142,11]]},"394":{"position":[[1711,13]]},"396":{"position":[[220,11],[620,11]]}},"keywords":{}}],["apps"",{"_index":1483,"title":{},"content":{"244":{"position":[[268,10]]}},"keywords":{}}],["apps.offlin",{"_index":4789,"title":{},"content":{"838":{"position":[[564,12]]}},"keywords":{}}],["apps.resili",{"_index":5244,"title":{},"content":{"902":{"position":[[547,15]]}},"keywords":{}}],["apps/plugin",{"_index":6362,"title":{},"content":{"1280":{"position":[[398,11]]}},"keywords":{}}],["appstor",{"_index":3965,"title":{},"content":{"702":{"position":[[816,8]]}},"keywords":{}}],["appsync",{"_index":320,"title":{},"content":{"19":{"position":[[155,7],[480,7]]}},"keywords":{}}],["apps—no",{"_index":3144,"title":{},"content":{"483":{"position":[[396,7]]}},"keywords":{}}],["appwrit",{"_index":4618,"title":{"859":{"position":[[5,8]]},"860":{"position":[[29,10]]},"861":{"position":[[14,8]]},"862":{"position":[[22,8]]},"863":{"position":[[19,8]]}},"content":{"793":{"position":[[840,8]]},"860":{"position":[[1,8],[488,8],[902,8]]},"861":{"position":[[24,8],[56,8],[236,8],[279,8],[827,8],[931,8],[983,8],[1022,8],[1103,8],[1126,8],[1172,8],[1239,8],[1399,8],[1472,9],[1573,8],[1855,8],[2219,8],[2240,8]]},"862":{"position":[[29,8],[132,8],[168,8],[195,8],[278,10],[471,11],[912,8],[929,8],[1181,8],[1360,8]]},"863":{"position":[[1,8],[191,8],[256,8],[779,8]]}},"keywords":{}}],["appwrite/appwrite:1.6.1",{"_index":4898,"title":{},"content":{"861":{"position":[[721,23]]}},"keywords":{}}],["appwrite’",{"_index":4891,"title":{},"content":{"860":{"position":[[579,10],[1132,10]]}},"keywords":{}}],["app’",{"_index":1733,"title":{"301":{"position":[[13,5]]}},"content":{"298":{"position":[[907,5]]},"567":{"position":[[1120,5]]}},"keywords":{}}],["arbitrari",{"_index":1593,"title":{},"content":{"262":{"position":[[447,9]]},"901":{"position":[[138,9]]},"1085":{"position":[[1089,9]]}},"keywords":{}}],["architect",{"_index":2777,"title":{},"content":{"412":{"position":[[15381,12]]}},"keywords":{}}],["architectur",{"_index":638,"title":{"871":{"position":[[0,12]]},"897":{"position":[[0,12]]},"902":{"position":[[59,13]]}},"content":{"40":{"position":[[431,13]]},"96":{"position":[[183,12]]},"113":{"position":[[199,14]]},"153":{"position":[[231,12]]},"181":{"position":[[241,12]]},"326":{"position":[[51,12]]},"381":{"position":[[518,13]]},"383":{"position":[[51,13]]},"408":{"position":[[4333,13]]},"410":{"position":[[1811,13]]},"411":{"position":[[42,13],[1133,12]]},"412":{"position":[[2740,13]]},"483":{"position":[[809,13]]},"574":{"position":[[55,12]]},"582":{"position":[[619,13]]},"630":{"position":[[18,13]]},"644":{"position":[[625,12]]},"860":{"position":[[1104,13]]},"871":{"position":[[37,13]]},"903":{"position":[[743,13]]},"1094":{"position":[[50,12]]},"1124":{"position":[[1992,13]]},"1295":{"position":[[296,13]]}},"keywords":{}}],["archiv",{"_index":2987,"title":{},"content":{"458":{"position":[[978,9]]}},"keywords":{}}],["area",{"_index":1652,"title":{},"content":{"280":{"position":[[130,4]]},"292":{"position":[[69,4]]},"410":{"position":[[1167,6]]}},"keywords":{}}],["aren't",{"_index":951,"title":{"67":{"position":[[30,6]]}},"content":{"535":{"position":[[1105,6]]},"595":{"position":[[1182,6]]}},"keywords":{}}],["arg",{"_index":4128,"title":{},"content":{"747":{"position":[[207,5],[265,5],[325,5]]},"885":{"position":[[1491,4]]},"910":{"position":[[412,8]]}},"keywords":{}}],["args.checkpoint",{"_index":5093,"title":{},"content":{"885":{"position":[[1518,15],[1582,15]]}},"keywords":{}}],["args.checkpoint.id",{"_index":5094,"title":{},"content":{"885":{"position":[[1536,18]]}},"keywords":{}}],["args.checkpoint.updatedat",{"_index":5096,"title":{},"content":{"885":{"position":[[1600,25]]}},"keywords":{}}],["args.limit",{"_index":5109,"title":{},"content":{"885":{"position":[[2405,12]]}},"keywords":{}}],["arguabl",{"_index":2654,"title":{},"content":{"412":{"position":[[552,8]]}},"keywords":{}}],["argument",{"_index":3977,"title":{},"content":{"705":{"position":[[420,9]]},"749":{"position":[[3948,8],[4027,9],[4135,9],[4300,9]]},"1125":{"position":[[509,8]]}},"keywords":{}}],["aris",{"_index":1113,"title":{},"content":{"134":{"position":[[40,5]]},"279":{"position":[[311,5]]},"412":{"position":[[1550,5]]},"582":{"position":[[489,5]]},"634":{"position":[[449,6]]},"908":{"position":[[78,5]]},"987":{"position":[[139,6]]},"990":{"position":[[745,5]]},"1072":{"position":[[1848,6]]}},"keywords":{}}],["around",{"_index":371,"title":{},"content":{"22":{"position":[[198,6]]},"24":{"position":[[540,6]]},"47":{"position":[[131,6]]},"208":{"position":[[115,7]]},"266":{"position":[[790,6]]},"299":{"position":[[1414,6]]},"354":{"position":[[968,6]]},"392":{"position":[[3069,6]]},"394":{"position":[[1627,6]]},"408":{"position":[[1174,6],[2933,6],[4860,6]]},"419":{"position":[[47,7],[1671,6]]},"421":{"position":[[582,6]]},"427":{"position":[[1513,6]]},"432":{"position":[[320,6]]},"435":{"position":[[265,6]]},"490":{"position":[[22,6]]},"510":{"position":[[775,6]]},"514":{"position":[[299,6]]},"574":{"position":[[77,6]]},"595":{"position":[[173,6]]},"631":{"position":[[238,7]]},"632":{"position":[[35,6]]},"717":{"position":[[477,6]]},"734":{"position":[[41,6]]},"745":{"position":[[45,6]]},"746":{"position":[[104,6]]},"784":{"position":[[394,6]]},"785":{"position":[[114,7]]},"890":{"position":[[962,7]]},"1123":{"position":[[347,6]]},"1154":{"position":[[33,6]]},"1157":{"position":[[155,6]]},"1184":{"position":[[286,6],[321,6]]},"1198":{"position":[[170,6]]},"1246":{"position":[[47,6],[391,6],[1278,6],[1680,6]]},"1286":{"position":[[363,6]]},"1287":{"position":[[409,6]]},"1288":{"position":[[369,6]]}},"keywords":{}}],["arr",{"_index":603,"title":{},"content":{"38":{"position":[[1005,5]]}},"keywords":{}}],["array",{"_index":1479,"title":{"813":{"position":[[13,6]]}},"content":{"244":{"position":[[177,5],[225,5]]},"315":{"position":[[863,5]]},"350":{"position":[[75,6]]},"390":{"position":[[535,5]]},"391":{"position":[[873,5]]},"392":{"position":[[1476,5],[1655,8]]},"426":{"position":[[243,7]]},"493":{"position":[[450,5]]},"682":{"position":[[294,5]]},"690":{"position":[[381,5]]},"749":{"position":[[1594,5],[4066,5],[4401,5],[4652,5],[9556,5],[10914,5],[13902,5],[15923,5],[16963,5],[17064,5],[18533,5],[18640,6],[19166,6]]},"808":{"position":[[478,6],[637,8]]},"813":{"position":[[160,8]]},"875":{"position":[[1786,5],[1996,6],[3672,5],[4133,6]]},"888":{"position":[[245,6],[965,5]]},"920":{"position":[[12,5]]},"944":{"position":[[169,6]]},"945":{"position":[[110,6]]},"947":{"position":[[145,6]]},"983":{"position":[[493,5],[599,5]]},"984":{"position":[[578,5]]},"988":{"position":[[2716,5],[2819,6]]},"1022":{"position":[[214,6],[234,6]]},"1055":{"position":[[118,5]]},"1074":{"position":[[515,5]]},"1080":{"position":[[636,8]]},"1116":{"position":[[572,5]]},"1321":{"position":[[307,6]]}},"keywords":{}}],["array<string>",{"_index":4360,"title":{},"content":{"749":{"position":[[17228,19]]}},"keywords":{}}],["array(5).fill(0).map((_",{"_index":2382,"title":{},"content":{"397":{"position":[[2042,24]]},"403":{"position":[[883,24]]}},"keywords":{}}],["array(5).fill(0).map(async",{"_index":2395,"title":{},"content":{"398":{"position":[[852,26],[2138,26]]}},"keywords":{}}],["array(navigator.hardwareconcurr",{"_index":2262,"title":{},"content":{"392":{"position":[[3861,36]]}},"keywords":{}}],["array.<rxdocument>",{"_index":4696,"title":{},"content":{"813":{"position":[[465,24]]}},"keywords":{}}],["array.from(candidates).map(doc",{"_index":2409,"title":{},"content":{"398":{"position":[[1466,30],[2619,30]]}},"keywords":{}}],["array.from(output.data",{"_index":2225,"title":{},"content":{"391":{"position":[[727,24]]}},"keywords":{}}],["array.pullstream",{"_index":5443,"title":{},"content":{"983":{"position":[[715,16]]}},"keywords":{}}],["array.reduc",{"_index":6294,"title":{},"content":{"1250":{"position":[[547,14]]}},"keywords":{}}],["arraybuff",{"_index":6192,"title":{},"content":{"1208":{"position":[[207,11]]}},"keywords":{}}],["arriv",{"_index":752,"title":{},"content":{"50":{"position":[[133,8]]},"379":{"position":[[284,7]]},"632":{"position":[[342,6]]}},"keywords":{}}],["articl",{"_index":1435,"title":{"242":{"position":[[10,8]]}},"content":{"396":{"position":[[1878,8]]},"404":{"position":[[720,7]]},"405":{"position":[[76,7]]},"461":{"position":[[1412,7]]},"470":{"position":[[482,7]]},"501":{"position":[[251,7]]},"1302":{"position":[[158,7]]}},"keywords":{}}],["articleshared/lik",{"_index":3688,"title":{},"content":{"628":{"position":[[45,18]]}},"keywords":{}}],["artifici",{"_index":1791,"title":{},"content":{"301":{"position":[[620,12]]}},"keywords":{}}],["asc",{"_index":818,"title":{},"content":{"54":{"position":[[186,5]]},"130":{"position":[[541,5]]},"143":{"position":[[481,5],[662,5]]},"398":{"position":[[1302,5],[2495,5]]},"580":{"position":[[561,5]]},"829":{"position":[[2442,5],[3358,5]]},"1056":{"position":[[246,6]]},"1249":{"position":[[546,5]]}},"keywords":{}}],["ascend",{"_index":2320,"title":{},"content":{"394":{"position":[[1030,9]]}},"keywords":{}}],["ask",{"_index":1749,"title":{},"content":{"299":{"position":[[482,5]]},"390":{"position":[[611,6]]},"412":{"position":[[12881,4]]},"669":{"position":[[42,3]]},"715":{"position":[[225,3]]},"800":{"position":[[777,5]]},"1249":{"position":[[10,3]]}},"keywords":{}}],["aspect",{"_index":1016,"title":{},"content":{"95":{"position":[[23,6]]},"184":{"position":[[32,6]]},"218":{"position":[[23,6]]},"270":{"position":[[44,6]]},"282":{"position":[[170,7]]},"369":{"position":[[52,7]]},"620":{"position":[[131,7]]},"876":{"position":[[139,7]]}},"keywords":{}}],["assembl",{"_index":3810,"title":{},"content":{"662":{"position":[[1544,8]]},"710":{"position":[[1485,8]]},"838":{"position":[[1861,8]]}},"keywords":{}}],["assess",{"_index":1767,"title":{},"content":{"300":{"position":[[4,6]]},"430":{"position":[[562,6]]},"441":{"position":[[254,6]]},"497":{"position":[[540,9]]}},"keywords":{}}],["asset",{"_index":1266,"title":{},"content":{"188":{"position":[[1887,6],[1933,7]]}},"keywords":{}}],["assign",{"_index":2206,"title":{},"content":{"390":{"position":[[1548,7]]},"429":{"position":[[206,11]]},"441":{"position":[[183,12]]},"468":{"position":[[180,11]]},"751":{"position":[[244,9]]},"923":{"position":[[40,8]]},"1040":{"position":[[36,8]]},"1115":{"position":[[533,10]]}},"keywords":{}}],["associ",{"_index":922,"title":{},"content":{"65":{"position":[[1105,10]]},"223":{"position":[[380,10]]},"265":{"position":[[576,10]]},"369":{"position":[[1157,10]]},"412":{"position":[[409,10]]},"419":{"position":[[1328,9]]},"723":{"position":[[752,10]]}},"keywords":{}}],["assum",{"_index":2720,"title":{},"content":{"412":{"position":[[7342,6]]},"419":{"position":[[176,6]]},"617":{"position":[[1871,6]]},"696":{"position":[[1114,6]]},"697":{"position":[[538,6]]},"729":{"position":[[181,6]]},"756":{"position":[[264,7]]},"796":{"position":[[1180,6]]},"886":{"position":[[1594,6]]},"902":{"position":[[657,9]]},"961":{"position":[[157,7]]},"982":{"position":[[726,8]]},"988":{"position":[[3989,7]]},"1202":{"position":[[220,7]]},"1300":{"position":[[811,6]]},"1307":{"position":[[52,7]]},"1308":{"position":[[239,7]]},"1314":{"position":[[60,7]]}},"keywords":{}}],["assumedmasterst",{"_index":4485,"title":{},"content":{"756":{"position":[[137,18]]},"875":{"position":[[3857,19],[3946,18]]},"885":{"position":[[937,19]]},"983":{"position":[[508,18]]},"1106":{"position":[[460,18]]}},"keywords":{}}],["assumpt",{"_index":3937,"title":{},"content":{"696":{"position":[[1614,11]]},"700":{"position":[[451,11]]}},"keywords":{}}],["assur",{"_index":3161,"title":{},"content":{"489":{"position":[[769,7]]},"571":{"position":[[1822,6]]}},"keywords":{}}],["asymmetr",{"_index":4018,"title":{"716":{"position":[[0,10]]}},"content":{"716":{"position":[[154,10],[199,10],[307,10]]}},"keywords":{}}],["async",{"_index":167,"title":{"54":{"position":[[26,5]]},"130":{"position":[[16,5]]},"143":{"position":[[4,5]]}},"content":{"11":{"position":[[678,5]]},"51":{"position":[[635,5]]},"130":{"position":[[22,5],[181,5],[602,5]]},"143":{"position":[[11,5],[93,5],[385,5]]},"188":{"position":[[888,5]]},"209":{"position":[[199,5],[728,5],[994,5]]},"255":{"position":[[546,5],[1080,5],[1329,5]]},"314":{"position":[[432,5]]},"315":{"position":[[383,5]]},"334":{"position":[[284,5]]},"335":{"position":[[610,5]]},"391":{"position":[[562,5]]},"392":{"position":[[2758,5],[3558,5],[4029,5],[4711,5]]},"397":{"position":[[1799,5]]},"398":{"position":[[679,5],[1925,5]]},"412":{"position":[[5059,5],[5157,5]]},"427":{"position":[[116,5],[203,5]]},"439":{"position":[[385,5]]},"460":{"position":[[1299,5]]},"480":{"position":[[290,5]]},"482":{"position":[[380,5]]},"493":{"position":[[13,5],[199,6]]},"554":{"position":[[805,5]]},"555":{"position":[[172,6]]},"556":{"position":[[336,5]]},"562":{"position":[[120,6]]},"563":{"position":[[421,6]]},"564":{"position":[[394,6]]},"579":{"position":[[293,5]]},"598":{"position":[[393,5]]},"632":{"position":[[1171,5],[2174,5],[2374,5],[2511,5]]},"672":{"position":[[1,5]]},"673":{"position":[[44,5]]},"674":{"position":[[315,5]]},"693":{"position":[[869,5]]},"711":{"position":[[1513,5]]},"740":{"position":[[603,5]]},"749":{"position":[[7788,5]]},"752":{"position":[[525,5]]},"754":{"position":[[262,5],[408,5],[567,5]]},"765":{"position":[[79,5]]},"767":{"position":[[501,5],[897,5]]},"768":{"position":[[493,5],[901,5]]},"769":{"position":[[448,5],[868,5]]},"829":{"position":[[591,5],[1495,5]]},"875":{"position":[[3142,5],[6186,5]]},"888":{"position":[[569,5]]},"889":{"position":[[599,5]]},"907":{"position":[[329,5]]},"930":{"position":[[65,7]]},"988":{"position":[[2416,5],[3515,5]]},"1007":{"position":[[1470,5],[1634,5]]},"1020":{"position":[[463,5]]},"1022":{"position":[[566,5]]},"1023":{"position":[[222,5]]},"1024":{"position":[[308,5]]},"1033":{"position":[[584,5],[815,5]]},"1105":{"position":[[1090,5],[1130,5]]},"1115":{"position":[[794,6]]},"1148":{"position":[[884,5]]},"1164":{"position":[[642,7]]},"1173":{"position":[[266,5]]},"1220":{"position":[[269,5]]},"1278":{"position":[[685,5]]},"1284":{"position":[[349,5],[380,5]]},"1311":{"position":[[853,5],[1397,5]]}},"keywords":{}}],["async">",{"_index":822,"title":{},"content":{"54":{"position":[[257,15]]}},"keywords":{}}],["async(param",{"_index":6058,"title":{},"content":{"1140":{"position":[[677,13]]}},"keywords":{}}],["async.mj",{"_index":6344,"title":{},"content":{"1276":{"position":[[776,11]]}},"keywords":{}}],["async/await",{"_index":2962,"title":{},"content":{"452":{"position":[[784,11]]},"521":{"position":[[154,11]]}},"keywords":{}}],["asynchron",{"_index":286,"title":{},"content":{"17":{"position":[[36,12]]},"129":{"position":[[375,12]]},"437":{"position":[[122,12]]},"445":{"position":[[1360,12]]},"450":{"position":[[783,12]]},"451":{"position":[[541,12]]},"452":{"position":[[228,12]]},"453":{"position":[[293,12],[359,12]]},"533":{"position":[[223,12]]},"535":{"position":[[213,12]]},"560":{"position":[[207,12]]},"566":{"position":[[711,12]]},"593":{"position":[[223,12]]},"595":{"position":[[226,12]]},"659":{"position":[[368,12]]},"751":{"position":[[726,12]]},"770":{"position":[[294,13]]},"960":{"position":[[32,12]]},"1208":{"position":[[475,12]]},"1246":{"position":[[753,12]]}},"keywords":{}}],["asyncpip",{"_index":813,"title":{},"content":{"54":{"position":[[48,10]]}},"keywords":{}}],["asyncstorag",{"_index":104,"title":{"9":{"position":[[0,13]]},"10":{"position":[[0,12]]},"437":{"position":[[0,12]]},"835":{"position":[[0,13]]}},"content":{"8":{"position":[[71,12]]},"9":{"position":[[21,13],[153,12],[213,16],[325,14]]},"10":{"position":[[36,13],[82,12]]},"437":{"position":[[34,12],[200,12]]},"659":{"position":[[172,13]]},"835":{"position":[[1,12],[144,12],[537,12],[733,12],[792,12],[991,12]]},"837":{"position":[[1122,12],[1157,12]]},"841":{"position":[[16,12]]},"1316":{"position":[[3619,13]]}},"keywords":{}}],["asyncstorage.getitem('mykey",{"_index":4771,"title":{},"content":{"835":{"position":[[505,30]]}},"keywords":{}}],["asyncstoragedown",{"_index":137,"title":{},"content":{"10":{"position":[[219,16]]}},"keywords":{}}],["at1",{"_index":4299,"title":{},"content":{"749":{"position":[[12775,3]]}},"keywords":{}}],["atla",{"_index":574,"title":{},"content":{"36":{"position":[[383,5]]},"872":{"position":[[319,5],[456,5]]}},"keywords":{}}],["atom",{"_index":2031,"title":{"1048":{"position":[[30,6]]}},"content":{"354":{"position":[[1321,9]]},"412":{"position":[[14627,6]]},"682":{"position":[[211,6]]},"705":{"position":[[1000,6]]},"765":{"position":[[27,9]]},"1022":{"position":[[33,6]]},"1048":{"position":[[289,6]]},"1304":{"position":[[93,10],[1601,6]]},"1324":{"position":[[848,6]]}},"keywords":{}}],["attach",{"_index":3367,"title":{"720":{"position":[[10,12]]},"754":{"position":[[10,12]]},"792":{"position":[[0,10]]},"800":{"position":[[37,11]]},"914":{"position":[[0,11]]},"915":{"position":[[8,11]]},"916":{"position":[[7,11]]},"1004":{"position":[[0,10]]},"1081":{"position":[[0,12]]}},"content":{"556":{"position":[[544,12],[632,12],[659,11],[897,10],[1250,11],[1290,11]]},"612":{"position":[[865,9]]},"647":{"position":[[326,11],[357,12]]},"648":{"position":[[206,12]]},"649":{"position":[[162,12]]},"720":{"position":[[14,11],[81,11],[192,12],[239,10]]},"749":{"position":[[998,10],[12786,12],[13674,11],[23259,12]]},"754":{"position":[[330,11],[628,10]]},"792":{"position":[[1,10],[205,12],[316,10]]},"793":{"position":[[1031,11]]},"800":{"position":[[638,11],[688,10],[854,10]]},"838":{"position":[[3376,11]]},"915":{"position":[[15,12],[48,11]]},"916":{"position":[[20,12],[61,11],[204,12],[251,10]]},"917":{"position":[[9,10],[68,11],[122,10],[208,10],[292,10],[346,10]]},"918":{"position":[[85,10]]},"919":{"position":[[58,10],[92,10]]},"920":{"position":[[25,11],[63,11]]},"921":{"position":[[48,11],[101,10],[210,11],[234,11]]},"922":{"position":[[5,11]]},"923":{"position":[[26,10]]},"924":{"position":[[25,11]]},"925":{"position":[[27,11]]},"926":{"position":[[31,10]]},"927":{"position":[[17,11],[191,11]]},"928":{"position":[[28,10]]},"929":{"position":[[13,11],[75,10]]},"930":{"position":[[80,10]]},"931":{"position":[[80,10]]},"932":{"position":[[74,10],[188,10],[225,11],[345,11],[404,11],[456,11],[884,10],[1256,12],[1419,11]]},"934":{"position":[[427,12],[476,11]]},"937":{"position":[[42,12]]},"1004":{"position":[[1,10],[196,11],[335,10],[408,10],[431,11],[496,11],[598,11],[764,12]]},"1051":{"position":[[390,11]]},"1074":{"position":[[637,11]]},"1081":{"position":[[8,11],[59,11]]},"1132":{"position":[[1316,11],[1390,11]]},"1143":{"position":[[254,11]]},"1181":{"position":[[21,11],[53,11]]},"1271":{"position":[[386,10]]},"1282":{"position":[[94,11],[194,11]]}},"keywords":{}}],["attachment'",{"_index":5307,"title":{},"content":{"930":{"position":[[38,12]]},"931":{"position":[[38,12]]},"932":{"position":[[38,12]]}},"keywords":{}}],["attachment.getdata",{"_index":5308,"title":{},"content":{"930":{"position":[[149,21]]}},"keywords":{}}],["attachment.getdatabase64",{"_index":5311,"title":{},"content":{"931":{"position":[[159,27]]}},"keywords":{}}],["attachment.getstringdata",{"_index":5313,"title":{},"content":{"932":{"position":[[149,27]]}},"keywords":{}}],["attachment.remov",{"_index":5305,"title":{},"content":{"929":{"position":[[131,20]]}},"keywords":{}}],["attachments.compress",{"_index":4144,"title":{},"content":{"749":{"position":[[956,23]]}},"keywords":{}}],["attachments.data",{"_index":4791,"title":{},"content":{"838":{"position":[[932,16]]},"1171":{"position":[[21,16]]}},"keywords":{}}],["attachments.lik",{"_index":4821,"title":{},"content":{"845":{"position":[[37,16]]}},"keywords":{}}],["attachments.when",{"_index":6106,"title":{},"content":{"1162":{"position":[[21,16]]}},"keywords":{}}],["attachmentsbig",{"_index":6179,"title":{},"content":{"1199":{"position":[[89,14]]}},"keywords":{}}],["attachmentsth",{"_index":5548,"title":{},"content":{"1004":{"position":[[388,14]]}},"keywords":{}}],["attack",{"_index":3380,"title":{},"content":{"556":{"position":[[1888,8],[1975,9]]},"881":{"position":[[320,6]]},"1110":{"position":[[70,8]]}},"keywords":{}}],["attempt",{"_index":1859,"title":{},"content":{"304":{"position":[[133,7]]},"908":{"position":[[141,7]]},"943":{"position":[[32,8]]}},"keywords":{}}],["attent",{"_index":3251,"title":{},"content":{"513":{"position":[[52,9]]}},"keywords":{}}],["attract",{"_index":1070,"title":{},"content":{"118":{"position":[[344,10]]},"267":{"position":[[1404,10]]},"295":{"position":[[169,10]]}},"keywords":{}}],["attribut",{"_index":2953,"title":{},"content":{"450":{"position":[[250,9]]},"457":{"position":[[384,10]]},"749":{"position":[[20204,9],[20370,9],[20638,9],[20895,9]]},"766":{"position":[[179,10]]},"810":{"position":[[95,9]]},"818":{"position":[[433,9]]},"861":{"position":[[1220,11],[1271,10],[1434,11],[1514,10],[1562,10]]},"863":{"position":[[765,10],[848,11],[955,10]]},"934":{"position":[[177,10]]},"1043":{"position":[[22,10],[128,9]]},"1074":{"position":[[494,9],[572,10]]},"1079":{"position":[[268,10]]},"1081":{"position":[[71,9]]},"1085":{"position":[[377,10]]},"1140":{"position":[[445,10]]}},"keywords":{}}],["attributes/method",{"_index":5302,"title":{},"content":{"922":{"position":[[90,19]]}},"keywords":{}}],["audienc",{"_index":2807,"title":{},"content":{"419":{"position":[[1275,9]]}},"keywords":{}}],["audio",{"_index":2182,"title":{},"content":{"390":{"position":[[240,6],[952,5]]},"614":{"position":[[335,6]]},"901":{"position":[[121,6]]}},"keywords":{}}],["augment",{"_index":2713,"title":{},"content":{"412":{"position":[[6614,12]]},"432":{"position":[[1084,7]]}},"keywords":{}}],["auth",{"_index":1536,"title":{"848":{"position":[[0,4]]},"1104":{"position":[[0,4]]}},"content":{"245":{"position":[[114,4]]},"412":{"position":[[13069,4]]},"749":{"position":[[16578,4]]},"841":{"position":[[853,4]]},"880":{"position":[[18,4],[156,4]]},"882":{"position":[[243,4]]},"1104":{"position":[[163,4],[263,4],[331,4]]},"1105":{"position":[[147,4],[497,4],[1229,4]]},"1148":{"position":[[329,6]]}},"keywords":{}}],["auth_token",{"_index":5088,"title":{},"content":{"885":{"position":[[1305,11]]}},"keywords":{}}],["authdata.data.userid",{"_index":5956,"title":{},"content":{"1105":{"position":[[668,20]]}},"keywords":{}}],["authent",{"_index":305,"title":{"701":{"position":[[16,15]]}},"content":{"18":{"position":[[160,15]]},"21":{"position":[[87,15]]},"29":{"position":[[288,15]]},"117":{"position":[[161,15]]},"206":{"position":[[89,14]]},"253":{"position":[[104,15]]},"377":{"position":[[347,14]]},"701":{"position":[[243,14]]},"840":{"position":[[203,15],[368,14],[413,14]]},"846":{"position":[[474,14]]},"848":{"position":[[14,14]]},"860":{"position":[[90,15]]},"876":{"position":[[171,15],[190,12],[252,14]]},"885":{"position":[[1239,12]]},"886":{"position":[[3429,13]]},"906":{"position":[[669,14]]},"1104":{"position":[[4,12],[189,12],[579,14]]},"1148":{"position":[[288,15]]}},"keywords":{}}],["authhandl",{"_index":5949,"title":{},"content":{"1104":{"position":[[87,11],[669,11]]}},"keywords":{}}],["author",{"_index":726,"title":{},"content":{"47":{"position":[[346,7]]},"412":{"position":[[12202,10]]},"482":{"position":[[1187,10]]},"848":{"position":[[1149,14]]},"878":{"position":[[497,14]]},"880":{"position":[[409,14]]},"886":{"position":[[1848,14],[3145,14],[4113,14],[4750,14]]},"890":{"position":[[341,14]]},"1104":{"position":[[695,13]]}},"keywords":{}}],["authorit",{"_index":669,"title":{},"content":{"43":{"position":[[146,13]]},"411":{"position":[[1920,13]]},"412":{"position":[[5704,13]]}},"keywords":{}}],["auto",{"_index":2848,"title":{},"content":{"421":{"position":[[261,4]]},"566":{"position":[[552,4]]},"841":{"position":[[605,4]]},"898":{"position":[[1213,4]]}},"keywords":{}}],["autocomplet",{"_index":6295,"title":{},"content":{"1251":{"position":[[208,12]]}},"keywords":{}}],["autoencod",{"_index":2491,"title":{},"content":{"402":{"position":[[2477,12],[2493,11]]}},"keywords":{}}],["autoload",{"_index":6133,"title":{"1175":{"position":[[13,9]]}},"content":{"1172":{"position":[[468,8]]},"1175":{"position":[[181,8]]}},"keywords":{}}],["autom",{"_index":1868,"title":{},"content":{"305":{"position":[[130,9]]},"1148":{"position":[[377,9]]}},"keywords":{}}],["automat",{"_index":425,"title":{"77":{"position":[[29,13]]},"103":{"position":[[29,13]]},"233":{"position":[[23,9]]}},"content":{"26":{"position":[[156,13]]},"34":{"position":[[635,9]]},"50":{"position":[[80,13]]},"53":{"position":[[84,13]]},"57":{"position":[[198,9]]},"77":{"position":[[75,13]]},"103":{"position":[[61,9]]},"122":{"position":[[181,13]]},"124":{"position":[[127,13]]},"125":{"position":[[149,13]]},"130":{"position":[[126,14]]},"133":{"position":[[175,13]]},"136":{"position":[[109,13]]},"156":{"position":[[126,13]]},"157":{"position":[[345,13]]},"159":{"position":[[195,9]]},"174":{"position":[[287,13]]},"182":{"position":[[144,13]]},"185":{"position":[[75,13]]},"191":{"position":[[146,13]]},"201":{"position":[[373,13]]},"221":{"position":[[235,13]]},"226":{"position":[[302,9]]},"233":{"position":[[88,13]]},"261":{"position":[[1076,13]]},"300":{"position":[[576,13]]},"309":{"position":[[287,13]]},"315":{"position":[[971,13]]},"323":{"position":[[259,13]]},"326":{"position":[[85,13]]},"330":{"position":[[48,13]]},"335":{"position":[[967,14]]},"360":{"position":[[346,13]]},"361":{"position":[[346,13],[1039,13]]},"380":{"position":[[236,13]]},"392":{"position":[[1893,14]]},"411":{"position":[[1490,14],[2963,13],[4378,13]]},"417":{"position":[[337,14]]},"419":{"position":[[496,13]]},"439":{"position":[[445,9]]},"445":{"position":[[676,13]]},"446":{"position":[[358,13]]},"458":{"position":[[504,13],[583,13]]},"483":{"position":[[125,9]]},"486":{"position":[[340,13]]},"489":{"position":[[800,13]]},"490":{"position":[[143,9],[208,13]]},"491":{"position":[[1268,13],[1405,13]]},"515":{"position":[[220,13]]},"518":{"position":[[181,9]]},"523":{"position":[[145,13]]},"535":{"position":[[993,13]]},"541":{"position":[[811,13]]},"542":{"position":[[955,9]]},"544":{"position":[[233,9]]},"555":{"position":[[108,13]]},"556":{"position":[[693,14]]},"562":{"position":[[846,13],[965,13]]},"564":{"position":[[1004,13]]},"565":{"position":[[203,13]]},"575":{"position":[[251,13],[638,13]]},"580":{"position":[[52,13]]},"595":{"position":[[813,13],[1070,13]]},"600":{"position":[[111,13]]},"601":{"position":[[792,13]]},"604":{"position":[[205,9]]},"612":{"position":[[1376,13]]},"618":{"position":[[242,13]]},"630":{"position":[[420,13]]},"632":{"position":[[290,13],[1702,13],[2026,13]]},"636":{"position":[[312,13]]},"683":{"position":[[67,13]]},"688":{"position":[[27,13]]},"689":{"position":[[24,9]]},"690":{"position":[[214,9],[521,10]]},"714":{"position":[[215,13]]},"721":{"position":[[475,14]]},"745":{"position":[[172,13]]},"749":{"position":[[17700,13]]},"752":{"position":[[27,13]]},"773":{"position":[[388,13]]},"784":{"position":[[597,13]]},"798":{"position":[[1009,13]]},"829":{"position":[[2814,13],[3017,13],[3644,13],[3775,13]]},"838":{"position":[[460,9]]},"851":{"position":[[46,13]]},"860":{"position":[[509,13]]},"870":{"position":[[84,9]]},"875":{"position":[[8605,13]]},"881":{"position":[[239,13]]},"886":{"position":[[4849,13]]},"898":{"position":[[1902,14]]},"942":{"position":[[97,13]]},"958":{"position":[[137,13],[409,13]]},"984":{"position":[[643,13]]},"986":{"position":[[1561,13]]},"988":{"position":[[1533,13],[5609,13]]},"996":{"position":[[435,13]]},"1003":{"position":[[233,13]]},"1027":{"position":[[92,13]]},"1038":{"position":[[85,13]]},"1052":{"position":[[391,13]]},"1085":{"position":[[1624,13],[1692,13]]},"1088":{"position":[[437,13]]},"1107":{"position":[[83,13]]},"1114":{"position":[[70,13],[362,13]]},"1119":{"position":[[197,13]]},"1121":{"position":[[262,13]]},"1148":{"position":[[80,9],[191,9]]},"1150":{"position":[[50,13],[537,13]]},"1154":{"position":[[74,13]]},"1213":{"position":[[267,13]]}},"keywords":{}}],["automatically—perhap",{"_index":1855,"title":{},"content":{"303":{"position":[[1409,21]]}},"keywords":{}}],["automerg",{"_index":2683,"title":{},"content":{"412":{"position":[[3819,9]]},"686":{"position":[[113,9],[744,9]]},"698":{"position":[[3091,9]]}},"keywords":{}}],["automerge.j",{"_index":3890,"title":{"686":{"position":[[8,12]]}},"content":{},"keywords":{}}],["automigr",{"_index":4458,"title":{"752":{"position":[[0,12]]}},"content":{"752":{"position":[[435,12]]},"934":{"position":[[602,12]]},"938":{"position":[[45,11]]}},"keywords":{}}],["automot",{"_index":3451,"title":{},"content":{"569":{"position":[[276,10]]}},"keywords":{}}],["autonomi",{"_index":2154,"title":{},"content":{"380":{"position":[[410,8]]},"1147":{"position":[[509,8]]}},"keywords":{}}],["autosav",{"_index":6134,"title":{"1175":{"position":[[0,8]]}},"content":{"1172":{"position":[[481,9]]},"1175":{"position":[[44,8],[340,8]]}},"keywords":{}}],["autostart",{"_index":5128,"title":{},"content":{"886":{"position":[[2034,9]]},"988":{"position":[[1639,10]]}},"keywords":{}}],["avail",{"_index":539,"title":{"449":{"position":[[4,9]]}},"content":{"34":{"position":[[504,9]]},"51":{"position":[[1025,9]]},"56":{"position":[[62,9]]},"90":{"position":[[98,12]]},"122":{"position":[[257,10]]},"126":{"position":[[40,9]]},"131":{"position":[[72,9],[450,9]]},"133":{"position":[[251,10]]},"157":{"position":[[248,10]]},"173":{"position":[[2954,9]]},"183":{"position":[[254,10],[351,13]]},"206":{"position":[[336,9]]},"287":{"position":[[308,9]]},"301":{"position":[[640,9]]},"309":{"position":[[265,9]]},"322":{"position":[[305,10]]},"360":{"position":[[618,10]]},"365":{"position":[[873,10]]},"375":{"position":[[979,10]]},"378":{"position":[[238,13]]},"390":{"position":[[1102,9]]},"392":{"position":[[5018,9]]},"393":{"position":[[134,9]]},"408":{"position":[[2839,9],[3352,9]]},"410":{"position":[[1207,9]]},"421":{"position":[[479,10],[597,13]]},"424":{"position":[[286,9]]},"444":{"position":[[374,10]]},"461":{"position":[[1106,9],[1568,9]]},"486":{"position":[[374,9]]},"491":{"position":[[340,9]]},"524":{"position":[[183,9]]},"535":{"position":[[1147,9]]},"566":{"position":[[1345,10]]},"595":{"position":[[1224,9]]},"610":{"position":[[400,10]]},"644":{"position":[[700,9]]},"660":{"position":[[94,10]]},"662":{"position":[[415,9]]},"696":{"position":[[13,9],[1169,9]]},"749":{"position":[[1119,9]]},"805":{"position":[[242,9]]},"829":{"position":[[1187,9],[2041,10]]},"832":{"position":[[293,9]]},"890":{"position":[[929,9]]},"1007":{"position":[[1143,10]]},"1066":{"position":[[108,9]]},"1104":{"position":[[54,9]]},"1151":{"position":[[188,12]]},"1178":{"position":[[187,12]]},"1207":{"position":[[333,9]]},"1211":{"position":[[67,9]]},"1232":{"position":[[29,9]]},"1271":{"position":[[46,9]]},"1298":{"position":[[236,9]]}},"keywords":{}}],["avenu",{"_index":1680,"title":{},"content":{"289":{"position":[[1068,6]]}},"keywords":{}}],["averag",{"_index":3023,"title":{},"content":{"462":{"position":[[578,7]]},"981":{"position":[[242,7]]}},"keywords":{}}],["avoid",{"_index":121,"title":{},"content":{"8":{"position":[[623,5]]},"46":{"position":[[478,5]]},"143":{"position":[[113,5]]},"302":{"position":[[298,5]]},"346":{"position":[[128,5]]},"383":{"position":[[527,8]]},"385":{"position":[[300,5]]},"392":{"position":[[2135,5]]},"395":{"position":[[90,5]]},"408":{"position":[[1972,5],[2731,8]]},"412":{"position":[[2486,5],[4223,5]]},"419":{"position":[[1700,5]]},"435":{"position":[[119,8]]},"556":{"position":[[26,5]]},"617":{"position":[[878,5]]},"765":{"position":[[53,8]]},"828":{"position":[[440,6]]},"839":{"position":[[1295,5]]},"898":{"position":[[4367,5]]},"902":{"position":[[418,8]]},"1003":{"position":[[80,5]]},"1085":{"position":[[2055,5],[2119,6]]}},"keywords":{}}],["aw",{"_index":302,"title":{"18":{"position":[[0,3]]},"19":{"position":[[0,3]]}},"content":{"18":{"position":[[3,3],[243,3],[402,3],[432,3]]},"19":{"position":[[54,3],[151,3],[476,3],[616,3],[786,3],[1015,3],[1082,3]]},"1173":{"position":[[121,3]]}},"keywords":{}}],["await",{"_index":34,"title":{"1185":{"position":[[0,5]]}},"content":{"1":{"position":[[530,5]]},"2":{"position":[[333,5]]},"3":{"position":[[213,5]]},"4":{"position":[[391,5]]},"5":{"position":[[301,5]]},"6":{"position":[[496,5],[675,5]]},"7":{"position":[[333,5],[510,5]]},"8":{"position":[[1102,5]]},"9":{"position":[[247,5]]},"10":{"position":[[285,5]]},"11":{"position":[[759,5],[811,5]]},"19":{"position":[[653,5],[825,5]]},"51":{"position":[[693,5],[823,5]]},"52":{"position":[[84,5],[178,5],[336,5],[383,5],[473,5],[537,5],[620,5],[684,5]]},"55":{"position":[[867,5]]},"188":{"position":[[964,5],[1174,5],[2649,5],[2845,5]]},"209":{"position":[[236,5],[358,5],[799,5],[914,5],[1097,5],[1223,5]]},"210":{"position":[[264,5]]},"211":{"position":[[206,5],[319,5]]},"255":{"position":[[583,5],[702,5],[1153,5],[1289,5],[1416,5],[1530,5]]},"258":{"position":[[144,5]]},"259":{"position":[[1,5]]},"261":{"position":[[337,5]]},"266":{"position":[[658,5]]},"276":{"position":[[399,5]]},"300":{"position":[[231,5]]},"302":{"position":[[783,5],[819,5]]},"314":{"position":[[469,5],[667,5]]},"315":{"position":[[532,5],[640,5]]},"316":{"position":[[110,5]]},"334":{"position":[[327,5],[555,5]]},"335":{"position":[[196,5],[723,5]]},"391":{"position":[[619,5],[653,5]]},"392":{"position":[[337,5],[526,5],[933,5],[988,5],[1037,5],[1081,5],[1491,5],[2629,5],[2779,5],[2843,5],[2878,5],[3594,5],[4535,5],[4732,5],[4800,5]]},"394":{"position":[[645,5],[703,5]]},"397":{"position":[[1754,5],[1820,5],[1884,5],[2205,5]]},"398":{"position":[[829,5],[1004,5],[1992,5],[2115,5],[2318,5]]},"403":{"position":[[719,5],[845,5]]},"439":{"position":[[669,5],[737,5]]},"459":{"position":[[836,5]]},"461":{"position":[[1278,5]]},"480":{"position":[[362,5],[467,5]]},"482":{"position":[[607,5],[754,5]]},"502":{"position":[[915,5]]},"518":{"position":[[382,5]]},"522":{"position":[[408,5]]},"538":{"position":[[423,5],[846,5]]},"539":{"position":[[84,5],[178,5],[336,5],[383,5],[473,5],[537,5],[620,5],[684,5]]},"542":{"position":[[528,5]]},"554":{"position":[[1046,5],[1247,5]]},"555":{"position":[[201,5],[269,5],[468,5],[630,5]]},"556":{"position":[[395,5],[804,5],[810,5],[910,5]]},"562":{"position":[[161,5],[474,5],[551,5],[664,5]]},"563":{"position":[[473,5]]},"564":{"position":[[577,5],[693,5]]},"571":{"position":[[856,5]]},"579":{"position":[[336,5],[563,5]]},"580":{"position":[[438,5]]},"598":{"position":[[430,5],[853,5]]},"599":{"position":[[84,5],[187,5],[363,5],[410,5],[500,5],[564,5],[651,5],[715,5]]},"601":{"position":[[521,5]]},"632":{"position":[[1282,5],[1452,5]]},"638":{"position":[[424,5],[531,5]]},"639":{"position":[[294,5]]},"647":{"position":[[431,5],[572,5]]},"648":{"position":[[297,5],[374,5]]},"653":{"position":[[247,5],[1017,5]]},"654":{"position":[[172,5],[296,5],[446,5]]},"655":{"position":[[415,5],[484,5]]},"659":{"position":[[419,5],[493,5],[574,5],[637,5]]},"661":{"position":[[1177,5]]},"662":{"position":[[2120,5],[2326,5],[2589,5],[2678,5],[2766,5]]},"672":{"position":[[84,5]]},"673":{"position":[[90,5]]},"674":{"position":[[373,5]]},"680":{"position":[[668,5],[1133,5],[1231,5],[1340,5]]},"681":{"position":[[614,5]]},"682":{"position":[[316,5]]},"683":{"position":[[164,5],[262,5],[724,5]]},"684":{"position":[[158,5],[229,5]]},"693":{"position":[[1168,5]]},"710":{"position":[[1689,5],[1815,5],[1896,5],[1985,5],[2073,5]]},"711":{"position":[[1737,5]]},"717":{"position":[[1149,5],[1593,5]]},"718":{"position":[[652,5]]},"724":{"position":[[523,5],[1630,5],[1812,5]]},"734":{"position":[[474,5],[848,5]]},"739":{"position":[[278,5],[407,5],[627,5]]},"745":{"position":[[523,5]]},"749":{"position":[[14828,5],[14984,5]]},"752":{"position":[[364,5],[659,5],[1454,5]]},"754":{"position":[[693,5]]},"759":{"position":[[354,5],[456,5]]},"760":{"position":[[452,5]]},"770":{"position":[[457,5]]},"772":{"position":[[764,5],[924,5],[1012,5],[1609,5],[2371,5]]},"773":{"position":[[554,5]]},"774":{"position":[[656,5]]},"778":{"position":[[204,5]]},"789":{"position":[[160,5],[407,5]]},"791":{"position":[[16,5],[148,5],[275,5],[413,5],[468,5]]},"792":{"position":[[143,5],[279,5],[329,5]]},"795":{"position":[[169,5],[219,5]]},"799":{"position":[[571,5],[803,5]]},"800":{"position":[[808,5],[867,5]]},"810":{"position":[[189,5],[260,5],[341,5],[406,5]]},"811":{"position":[[169,5],[240,5],[321,5],[386,5]]},"812":{"position":[[22,5],[253,5]]},"813":{"position":[[22,5],[250,5],[345,5],[409,5]]},"818":{"position":[[487,5]]},"820":{"position":[[163,5]]},"825":{"position":[[335,5]]},"829":{"position":[[633,5],[721,5],[1523,5]]},"835":{"position":[[417,7],[450,5],[499,5]]},"838":{"position":[[2198,5],[2540,5],[2803,5],[2892,5],[2980,5]]},"851":{"position":[[322,5]]},"857":{"position":[[297,5]]},"862":{"position":[[533,5],[807,5]]},"872":{"position":[[1026,5],[1707,5],[1814,5],[3254,5],[3562,5],[3965,5],[4044,5]]},"875":{"position":[[418,5],[959,5],[1068,5],[2200,5],[3094,5],[3328,5],[3441,5],[6138,5],[6233,5],[6428,5],[8403,5],[9712,5]]},"878":{"position":[[279,5]]},"882":{"position":[[396,5]]},"892":{"position":[[171,5],[256,5],[358,5]]},"893":{"position":[[222,5],[464,5]]},"898":{"position":[[2315,5],[2394,5],[4152,5]]},"904":{"position":[[708,5],[791,5],[1152,5],[1805,5]]},"906":{"position":[[988,5]]},"907":{"position":[[281,5]]},"911":{"position":[[626,5]]},"916":{"position":[[332,5]]},"917":{"position":[[135,5]]},"918":{"position":[[98,5]]},"929":{"position":[[125,5]]},"930":{"position":[[143,5]]},"931":{"position":[[153,5]]},"932":{"position":[[87,5],[143,5],[1037,5]]},"934":{"position":[[225,5]]},"939":{"position":[[150,5]]},"942":{"position":[[182,5]]},"943":{"position":[[379,5]]},"944":{"position":[[192,5]]},"945":{"position":[[133,5],[454,5]]},"946":{"position":[[154,5]]},"947":{"position":[[166,5]]},"948":{"position":[[719,5]]},"949":{"position":[[135,5]]},"951":{"position":[[377,5]]},"954":{"position":[[137,5]]},"955":{"position":[[294,5]]},"956":{"position":[[238,5],[303,5]]},"960":{"position":[[276,5]]},"962":{"position":[[747,5],[963,5]]},"966":{"position":[[531,5],[649,5]]},"967":{"position":[[116,5],[234,5]]},"968":{"position":[[501,5]]},"976":{"position":[[313,5]]},"977":{"position":[[72,5]]},"979":{"position":[[302,5]]},"988":{"position":[[242,5],[2517,5],[2846,5],[3707,5],[3835,5]]},"994":{"position":[[40,5],[272,5]]},"995":{"position":[[389,5],[657,5],[1503,5],[1652,5],[1692,5],[1814,5],[1878,5],[2007,5]]},"997":{"position":[[96,5]]},"998":{"position":[[102,5],[138,5]]},"999":{"position":[[281,5]]},"1002":{"position":[[1008,5],[1014,6]]},"1007":{"position":[[1517,5],[1675,5],[1848,5]]},"1013":{"position":[[292,5]]},"1014":{"position":[[194,5],[335,5]]},"1015":{"position":[[170,5]]},"1016":{"position":[[129,5]]},"1018":{"position":[[71,5],[202,5],[312,5],[791,5]]},"1020":{"position":[[350,5],[597,5]]},"1022":{"position":[[446,5],[640,5],[749,5],[1003,5]]},"1023":{"position":[[105,5],[296,5],[435,5],[667,5]]},"1024":{"position":[[199,5],[372,5],[446,5],[469,5]]},"1026":{"position":[[9,5],[47,5],[89,5]]},"1027":{"position":[[1,5]]},"1028":{"position":[[1,5]]},"1033":{"position":[[493,5],[621,5],[724,5],[832,5]]},"1035":{"position":[[96,5]]},"1036":{"position":[[115,5]]},"1039":{"position":[[269,5]]},"1040":{"position":[[425,5]]},"1041":{"position":[[273,5]]},"1042":{"position":[[225,5]]},"1043":{"position":[[59,5]]},"1044":{"position":[[277,5],[367,5],[478,5],[537,5]]},"1045":{"position":[[71,5],[137,5]]},"1048":{"position":[[433,5],[539,5]]},"1049":{"position":[[197,5]]},"1050":{"position":[[91,5]]},"1057":{"position":[[119,5],[448,5],[600,5]]},"1058":{"position":[[405,5]]},"1059":{"position":[[281,5]]},"1060":{"position":[[149,5]]},"1061":{"position":[[150,5]]},"1062":{"position":[[270,5]]},"1064":{"position":[[360,5]]},"1067":{"position":[[455,5],[1958,5],[2371,5]]},"1069":{"position":[[613,5],[770,5]]},"1072":{"position":[[2413,5]]},"1075":{"position":[[1,5]]},"1078":{"position":[[855,5]]},"1090":{"position":[[776,5],[952,5],[1015,5]]},"1097":{"position":[[699,5],[875,5]]},"1098":{"position":[[335,5],[429,5]]},"1099":{"position":[[309,5],[399,5]]},"1101":{"position":[[652,5]]},"1102":{"position":[[336,5],[473,5],[696,5],[1027,5]]},"1103":{"position":[[195,5],[299,5]]},"1105":{"position":[[725,5]]},"1106":{"position":[[663,5]]},"1108":{"position":[[393,5]]},"1114":{"position":[[705,5],[832,5],[933,5]]},"1115":{"position":[[313,5],[379,5],[449,5],[813,5]]},"1118":{"position":[[639,5],[765,5]]},"1121":{"position":[[445,5],[545,5],[596,5]]},"1125":{"position":[[281,5]]},"1126":{"position":[[361,5],[674,5]]},"1130":{"position":[[154,5]]},"1134":{"position":[[131,5]]},"1138":{"position":[[275,5]]},"1139":{"position":[[530,5]]},"1140":{"position":[[589,5],[723,5]]},"1144":{"position":[[179,5]]},"1145":{"position":[[519,5]]},"1146":{"position":[[224,5]]},"1148":{"position":[[935,5],[1118,5]]},"1149":{"position":[[911,5],[1003,5]]},"1154":{"position":[[739,5]]},"1158":{"position":[[187,5],[291,5],[562,5],[676,5]]},"1159":{"position":[[373,5]]},"1161":{"position":[[259,5]]},"1162":{"position":[[512,5]]},"1163":{"position":[[533,5]]},"1164":{"position":[[1151,5]]},"1165":{"position":[[723,5],[795,5],[1061,5],[1139,5]]},"1168":{"position":[[135,5]]},"1171":{"position":[[280,5]]},"1172":{"position":[[300,5]]},"1177":{"position":[[303,5],[607,5]]},"1180":{"position":[[259,5]]},"1181":{"position":[[599,5]]},"1182":{"position":[[537,5]]},"1184":{"position":[[776,5]]},"1189":{"position":[[398,5]]},"1198":{"position":[[1888,7]]},"1201":{"position":[[175,5]]},"1208":{"position":[[580,5],[715,5],[804,5],[928,5],[1071,5],[1650,5],[1733,5],[1791,5],[1906,5]]},"1210":{"position":[[415,5]]},"1211":{"position":[[670,5]]},"1218":{"position":[[562,5]]},"1219":{"position":[[510,5],[673,5],[875,5]]},"1220":{"position":[[189,5],[550,5]]},"1222":{"position":[[1386,5]]},"1226":{"position":[[211,5]]},"1227":{"position":[[689,5]]},"1231":{"position":[[1020,5],[1090,5]]},"1237":{"position":[[833,5]]},"1238":{"position":[[808,5]]},"1239":{"position":[[778,5]]},"1264":{"position":[[133,5]]},"1265":{"position":[[677,5]]},"1267":{"position":[[611,5],[705,5]]},"1271":{"position":[[1564,5]]},"1274":{"position":[[315,5]]},"1275":{"position":[[326,5]]},"1276":{"position":[[841,5],[928,5]]},"1277":{"position":[[375,5]]},"1278":{"position":[[452,5],[904,5]]},"1279":{"position":[[702,5]]},"1280":{"position":[[437,5]]},"1286":{"position":[[484,5]]},"1287":{"position":[[534,5]]},"1288":{"position":[[500,5]]},"1294":{"position":[[1130,5]]},"1309":{"position":[[1388,5]]},"1311":{"position":[[132,5],[908,5],[962,5],[1480,5],[1745,5]]},"1315":{"position":[[569,5],[659,5]]}},"keywords":{}}],["awaitcapacitordevicereadi",{"_index":159,"title":{},"content":{"11":{"position":[[527,28],[765,28]]}},"keywords":{}}],["awaitidl",{"_index":5649,"title":{"1026":{"position":[[0,12]]}},"content":{"1033":{"position":[[360,11],[940,11]]}},"keywords":{}}],["awaitinitialrepl",{"_index":4878,"title":{"994":{"position":[[0,26]]}},"content":{"854":{"position":[[1773,26]]},"994":{"position":[[6,25]]},"995":{"position":[[40,25],[440,25],[678,25],[933,25],[1124,25]]}},"keywords":{}}],["awaitinsync",{"_index":5502,"title":{"995":{"position":[[0,14]]}},"content":{"995":{"position":[[288,13],[470,13],[707,13]]}},"keywords":{}}],["awaitreplicationsinsync",{"_index":3757,"title":{},"content":{"653":{"position":[[1213,24]]}},"keywords":{}}],["awaitwritepersist",{"_index":5914,"title":{},"content":{"1090":{"position":[[1319,22]]},"1162":{"position":[[264,21]]},"1164":{"position":[[1101,22]]},"1181":{"position":[[330,21]]},"1185":{"position":[[264,22],[337,22]]}},"keywords":{}}],["awar",{"_index":939,"title":{},"content":{"66":{"position":[[105,5]]},"129":{"position":[[477,5]]},"299":{"position":[[200,5]]},"427":{"position":[[101,5]]},"991":{"position":[[4,5]]}},"keywords":{}}],["away",{"_index":439,"title":{},"content":{"27":{"position":[[156,4]]},"331":{"position":[[288,4]]},"346":{"position":[[500,4]]},"402":{"position":[[240,4]]},"410":{"position":[[2182,5]]},"424":{"position":[[348,4]]},"460":{"position":[[75,4]]},"721":{"position":[[187,4]]},"801":{"position":[[961,4]]},"839":{"position":[[890,4]]},"1124":{"position":[[262,4]]}},"keywords":{}}],["away."",{"_index":2601,"title":{},"content":{"410":{"position":[[1450,11]]}},"keywords":{}}],["awesom",{"_index":450,"title":{},"content":{"28":{"position":[[112,7]]}},"keywords":{}}],["b",{"_index":2692,"title":{"1149":{"position":[[0,2]]}},"content":{"412":{"position":[[4639,2],[5012,3]]},"691":{"position":[[252,2]]},"860":{"position":[[1258,1]]},"871":{"position":[[519,1]]},"885":{"position":[[1724,2]]},"897":{"position":[[26,1]]},"982":{"position":[[206,1],[244,1],[308,1],[446,1],[541,1]]},"1033":{"position":[[691,2]]},"1292":{"position":[[962,1],[970,1],[983,1],[991,1],[1009,1],[1017,1]]},"1309":{"position":[[565,2],[929,3]]}},"keywords":{}}],["b.id",{"_index":5102,"title":{},"content":{"885":{"position":[[1873,5],[1903,5]]}},"keywords":{}}],["b.updatedat",{"_index":5100,"title":{},"content":{"885":{"position":[[1756,12],[1800,12],[1844,12]]}},"keywords":{}}],["b1",{"_index":5450,"title":{},"content":{"987":{"position":[[175,2],[211,2],[323,2],[408,3],[668,2],[712,2]]}},"keywords":{}}],["baar",{"_index":3779,"title":{},"content":{"659":{"position":[[536,7]]}},"keywords":{}}],["babel",{"_index":4069,"title":{},"content":{"728":{"position":[[143,5]]},"1266":{"position":[[802,6]]}},"keywords":{}}],["babel.config",{"_index":6313,"title":{},"content":{"1266":{"position":[[425,17]]}},"keywords":{}}],["babel/polyfil",{"_index":4070,"title":{},"content":{"728":{"position":[[172,15],[265,18]]}},"keywords":{}}],["babelconfig",{"_index":6311,"title":{},"content":{"1266":{"position":[[376,11],[827,11]]}},"keywords":{}}],["back",{"_index":1173,"title":{},"content":{"157":{"position":[[387,4]]},"255":{"position":[[173,4]]},"353":{"position":[[490,4]]},"358":{"position":[[557,5]]},"392":{"position":[[3458,4]]},"481":{"position":[[90,4]]},"489":{"position":[[827,4]]},"491":{"position":[[105,4]]},"495":{"position":[[174,5],[721,4]]},"524":{"position":[[43,6]]},"621":{"position":[[304,4]]},"698":{"position":[[1861,4]]},"701":{"position":[[615,5]]},"711":{"position":[[665,4]]},"871":{"position":[[205,4]]},"987":{"position":[[457,4]]},"988":{"position":[[6086,4]]},"1006":{"position":[[291,4]]},"1007":{"position":[[607,4]]},"1250":{"position":[[233,4]]},"1301":{"position":[[1100,4]]},"1304":{"position":[[969,4]]},"1316":{"position":[[1695,4],[2797,4],[2933,4]]}},"keywords":{}}],["backbon",{"_index":1676,"title":{"489":{"position":[[20,8]]}},"content":{"288":{"position":[[63,8]]}},"keywords":{}}],["backend",{"_index":220,"title":{"82":{"position":[[49,8]]},"113":{"position":[[49,8]]},"199":{"position":[[78,7]]},"238":{"position":[[54,8]]},"246":{"position":[[61,7]]},"249":{"position":[[22,8]]},"293":{"position":[[36,8]]},"1147":{"position":[[24,7]]}},"content":{"14":{"position":[[576,8],[1040,8]]},"15":{"position":[[374,7]]},"16":{"position":[[129,7]]},"18":{"position":[[350,7]]},"19":{"position":[[1025,9]]},"20":{"position":[[18,7],[217,7]]},"21":{"position":[[157,8]]},"27":{"position":[[13,7],[113,7],[235,7]]},"29":{"position":[[189,7]]},"38":{"position":[[132,7]]},"39":{"position":[[413,7]]},"41":{"position":[[362,7]]},"42":{"position":[[186,8],[340,7]]},"43":{"position":[[226,9],[298,9]]},"46":{"position":[[506,7]]},"82":{"position":[[69,7]]},"113":{"position":[[103,7],[191,7]]},"162":{"position":[[290,8]]},"174":{"position":[[2912,7],[3019,7],[3175,7]]},"201":{"position":[[429,8]]},"202":{"position":[[423,7]]},"204":{"position":[[227,7]]},"207":{"position":[[386,7]]},"208":{"position":[[227,7],[312,7]]},"210":{"position":[[36,8]]},"211":{"position":[[605,8]]},"212":{"position":[[433,7]]},"223":{"position":[[53,7],[324,8]]},"238":{"position":[[94,7],[199,8],[268,7]]},"249":{"position":[[289,7]]},"255":{"position":[[339,7],[1759,7]]},"260":{"position":[[51,7],[238,8],[330,8]]},"263":{"position":[[108,8]]},"293":{"position":[[68,7],[276,7]]},"309":{"position":[[332,7]]},"312":{"position":[[138,7]]},"313":{"position":[[158,9]]},"318":{"position":[[133,8]]},"328":{"position":[[57,9]]},"336":{"position":[[32,8]]},"368":{"position":[[130,9]]},"372":{"position":[[50,7]]},"380":{"position":[[273,8]]},"381":{"position":[[109,9],[351,9]]},"410":{"position":[[831,7]]},"411":{"position":[[371,8],[1163,7],[1551,7],[4940,7]]},"412":{"position":[[906,7],[1568,7],[2930,7],[12297,7],[12813,7]]},"477":{"position":[[238,8]]},"480":{"position":[[1023,8]]},"481":{"position":[[260,8]]},"489":{"position":[[180,8]]},"556":{"position":[[1625,7]]},"561":{"position":[[210,8]]},"581":{"position":[[32,8]]},"610":{"position":[[1512,7]]},"612":{"position":[[439,7]]},"626":{"position":[[302,7],[407,7],[445,7],[762,7]]},"630":{"position":[[748,7]]},"632":{"position":[[686,8],[892,8]]},"634":{"position":[[670,7]]},"685":{"position":[[466,7]]},"686":{"position":[[452,7],[611,8],[632,7]]},"696":{"position":[[1764,7]]},"697":{"position":[[424,7],[519,8]]},"698":{"position":[[1616,8],[1698,7]]},"699":{"position":[[53,8],[394,7]]},"700":{"position":[[87,8],[276,7]]},"701":{"position":[[372,7],[593,8],[999,7]]},"702":{"position":[[582,7]]},"704":{"position":[[552,7]]},"705":{"position":[[321,8]]},"710":{"position":[[397,8]]},"715":{"position":[[318,7]]},"740":{"position":[[307,7]]},"756":{"position":[[413,7]]},"778":{"position":[[125,7],[606,8]]},"780":{"position":[[722,7]]},"781":{"position":[[143,7],[301,7],[630,8],[890,7]]},"782":{"position":[[86,7],[182,7]]},"784":{"position":[[170,7]]},"785":{"position":[[621,7]]},"836":{"position":[[1894,8]]},"840":{"position":[[578,8]]},"841":{"position":[[567,7],[1548,8]]},"860":{"position":[[35,7],[66,7],[1026,8]]},"871":{"position":[[656,7]]},"875":{"position":[[7659,7],[9226,7]]},"886":{"position":[[1634,7],[3450,8],[4994,8],[5072,7]]},"888":{"position":[[884,7]]},"890":{"position":[[530,7]]},"896":{"position":[[12,8]]},"981":{"position":[[359,8],[529,7],[567,8],[619,7],[703,8],[1679,7]]},"984":{"position":[[245,7],[276,7],[553,7]]},"985":{"position":[[38,8],[67,7],[142,7],[671,7]]},"986":{"position":[[538,7]]},"988":{"position":[[907,7],[1778,7],[4053,8],[4737,7],[5282,7]]},"991":{"position":[[79,7],[104,7]]},"996":{"position":[[115,8],[310,7]]},"1002":{"position":[[880,7]]},"1004":{"position":[[568,7],[718,7]]},"1005":{"position":[[103,7]]},"1072":{"position":[[1706,8]]},"1123":{"position":[[780,8]]},"1124":{"position":[[1882,9],[1984,7]]},"1147":{"position":[[46,7],[245,7],[327,8]]},"1149":{"position":[[32,7],[481,8],[560,7]]},"1301":{"position":[[439,7]]},"1304":{"position":[[1895,7]]},"1308":{"position":[[137,7],[340,7],[356,7],[434,7]]},"1314":{"position":[[164,8]]},"1316":{"position":[[60,7]]},"1320":{"position":[[92,7],[271,8],[284,7],[496,7]]}},"keywords":{}}],["backend"",{"_index":1516,"title":{},"content":{"244":{"position":[[1272,13]]},"412":{"position":[[2784,13]]}},"keywords":{}}],["backend.learn",{"_index":3690,"title":{},"content":{"628":{"position":[[172,13]]}},"keywords":{}}],["backend.us",{"_index":6073,"title":{},"content":{"1148":{"position":[[275,12]]}},"keywords":{}}],["backend/protocol",{"_index":6015,"title":{},"content":{"1124":{"position":[[2228,17]]}},"keywords":{}}],["backendsencrypt",{"_index":3142,"title":{},"content":{"483":{"position":[[275,18]]},"631":{"position":[[419,18]]}},"keywords":{}}],["backendsfield",{"_index":3118,"title":{},"content":{"479":{"position":[[226,13]]}},"keywords":{}}],["background",{"_index":321,"title":{},"content":{"19":{"position":[[170,11]]},"196":{"position":[[200,10]]},"384":{"position":[[185,10]]},"407":{"position":[[259,11]]},"410":{"position":[[2061,10]]},"415":{"position":[[207,10]]},"420":{"position":[[1596,11]]},"421":{"position":[[832,10]]},"460":{"position":[[219,11]]},"487":{"position":[[415,11]]},"491":{"position":[[229,11],[1087,11]]},"618":{"position":[[283,10]]},"699":{"position":[[910,10]]},"704":{"position":[[339,10]]},"774":{"position":[[309,11],[1087,10]]},"1093":{"position":[[493,10]]},"1185":{"position":[[159,11]]},"1292":{"position":[[614,11]]},"1313":{"position":[[837,10]]},"1318":{"position":[[832,10]]}},"keywords":{}}],["background.on",{"_index":3980,"title":{},"content":{"707":{"position":[[150,14]]}},"keywords":{}}],["backpressur",{"_index":3666,"title":{},"content":{"622":{"position":[[105,12]]}},"keywords":{}}],["backup",{"_index":2111,"title":{"645":{"position":[[3,6]]},"647":{"position":[[9,7]]},"648":{"position":[[5,7]]},"973":{"position":[[0,9]]}},"content":{"365":{"position":[[1498,6]]},"412":{"position":[[8385,7],[8892,6]]},"417":{"position":[[203,7],[329,7]]},"647":{"position":[[199,6],[259,6],[297,6]]},"648":{"position":[[29,6],[74,6],[154,6],[189,6],[315,6]]},"649":{"position":[[77,6],[145,6],[407,6]]},"650":{"position":[[55,7]]},"702":{"position":[[374,7]]},"793":{"position":[[1105,6]]},"1094":{"position":[[443,8]]}},"keywords":{}}],["backup/repl",{"_index":2594,"title":{},"content":{"410":{"position":[[894,18]]}},"keywords":{}}],["backupopt",{"_index":3730,"title":{},"content":{"647":{"position":[[157,13]]},"648":{"position":[[99,13]]},"649":{"position":[[98,13]]}},"keywords":{}}],["backupst",{"_index":3731,"title":{},"content":{"647":{"position":[[383,11]]},"648":{"position":[[232,11]]},"649":{"position":[[188,11]]}},"keywords":{}}],["backupstate.awaitinitialbackup",{"_index":3733,"title":{},"content":{"647":{"position":[[437,33]]},"648":{"position":[[380,33]]}},"keywords":{}}],["backupstate.writeevents$.subscribe(writeev",{"_index":3737,"title":{},"content":{"649":{"position":[[257,45]]}},"keywords":{}}],["backupstate2",{"_index":3734,"title":{},"content":{"647":{"position":[[523,12]]}},"keywords":{}}],["backupstate2.awaitinitialbackup",{"_index":3735,"title":{},"content":{"647":{"position":[[578,34]]}},"keywords":{}}],["backward",{"_index":859,"title":{},"content":{"57":{"position":[[246,8]]},"459":{"position":[[1168,9]]},"466":{"position":[[510,9]]},"1134":{"position":[[284,9]]},"1239":{"position":[[437,9]]},"1270":{"position":[[210,9]]},"1276":{"position":[[316,9]]}},"keywords":{}}],["bad",{"_index":403,"title":{},"content":{"24":{"position":[[477,3]]},"616":{"position":[[840,3]]},"626":{"position":[[429,3]]},"709":{"position":[[388,3]]},"1321":{"position":[[489,3]]}},"keywords":{}}],["balanc",{"_index":1611,"title":{},"content":{"266":{"position":[[427,9]]},"365":{"position":[[741,8]]},"412":{"position":[[6245,7]]},"444":{"position":[[855,7]]},"698":{"position":[[2778,7],[2828,7],[2896,7],[2963,7]]},"1080":{"position":[[449,8]]},"1088":{"position":[[744,8]]},"1089":{"position":[[260,9]]}},"keywords":{}}],["bandwidth",{"_index":719,"title":{"780":{"position":[[31,10]]}},"content":{"46":{"position":[[635,9]]},"57":{"position":[[425,9]]},"204":{"position":[[284,9]]},"361":{"position":[[440,10]]},"408":{"position":[[2124,9],[3017,9],[3362,9]]},"534":{"position":[[667,9]]},"594":{"position":[[665,9]]},"632":{"position":[[227,9]]},"780":{"position":[[24,9],[119,9],[222,9],[629,10]]},"902":{"position":[[839,9],[876,9]]},"1009":{"position":[[843,9]]}},"keywords":{}}],["bank",{"_index":1695,"title":{},"content":{"295":{"position":[[247,5]]},"412":{"position":[[6151,7]]},"700":{"position":[[821,7]]}},"keywords":{}}],["bar",{"_index":3781,"title":{},"content":{"659":{"position":[[621,5]]},"662":{"position":[[2639,8],[2728,5],[2816,5]]},"710":{"position":[[1946,8],[2035,5],[2123,5]]},"711":{"position":[[1376,8]]},"752":{"position":[[339,4]]},"806":{"position":[[794,5]]},"838":{"position":[[2853,8],[2942,5],[3030,5]]},"942":{"position":[[233,5]]},"943":{"position":[[441,5]]},"947":{"position":[[241,6]]},"1014":{"position":[[257,5],[396,5]]},"1015":{"position":[[233,5]]},"1018":{"position":[[560,6],[605,7],[881,5]]},"1035":{"position":[[147,5]]},"1078":{"position":[[971,5],[1098,5]]},"1177":{"position":[[397,6]]},"1220":{"position":[[370,5],[580,4],[631,5]]}},"keywords":{}}],["bar1",{"_index":5333,"title":{},"content":{"944":{"position":[[249,6]]}},"keywords":{}}],["bar2",{"_index":5335,"title":{},"content":{"944":{"position":[[285,6]]},"946":{"position":[[205,6]]},"947":{"position":[[223,6]]},"1018":{"position":[[193,8]]}},"keywords":{}}],["barrier",{"_index":2835,"title":{},"content":{"420":{"position":[[866,7]]},"898":{"position":[[4067,7]]}},"keywords":{}}],["base",{"_index":114,"title":{"68":{"position":[[10,5]]},"99":{"position":[[10,5]]},"150":{"position":[[15,5]]},"152":{"position":[[19,5]]},"153":{"position":[[27,4]]},"161":{"position":[[20,4]]},"226":{"position":[[10,5]]},"279":{"position":[[16,5]]},"348":{"position":[[5,5]]},"349":{"position":[[9,5]]},"1024":{"position":[[23,5]]},"1195":{"position":[[8,5]]},"1196":{"position":[[12,5]]},"1247":{"position":[[12,5]]},"1253":{"position":[[13,5]]}},"content":{"8":{"position":[[475,4],[522,5]]},"19":{"position":[[88,6]]},"26":{"position":[[21,5],[43,5]]},"31":{"position":[[54,5]]},"34":{"position":[[348,5]]},"35":{"position":[[97,5],[445,5]]},"36":{"position":[[362,5]]},"38":{"position":[[471,5]]},"40":{"position":[[15,5]]},"45":{"position":[[152,5],[320,5]]},"47":{"position":[[90,6],[149,5],[217,5]]},"51":{"position":[[96,5]]},"60":{"position":[[55,5]]},"64":{"position":[[87,5]]},"66":{"position":[[189,5]]},"67":{"position":[[106,5]]},"71":{"position":[[41,5]]},"83":{"position":[[73,5]]},"98":{"position":[[121,5]]},"114":{"position":[[670,5]]},"116":{"position":[[172,5]]},"126":{"position":[[274,5]]},"129":{"position":[[116,5]]},"131":{"position":[[795,5]]},"134":{"position":[[220,5]]},"135":{"position":[[257,5]]},"152":{"position":[[150,5],[246,5]]},"153":{"position":[[31,5],[59,4]]},"155":{"position":[[40,4],[172,4]]},"161":{"position":[[23,4],[126,5]]},"167":{"position":[[120,4]]},"169":{"position":[[204,6]]},"170":{"position":[[35,4]]},"174":{"position":[[22,5]]},"179":{"position":[[96,5],[318,5]]},"181":{"position":[[88,5]]},"189":{"position":[[630,5],[694,5]]},"221":{"position":[[55,5]]},"223":{"position":[[409,5]]},"227":{"position":[[143,5]]},"243":{"position":[[957,5]]},"244":{"position":[[884,5]]},"249":{"position":[[260,5]]},"255":{"position":[[253,5],[955,5]]},"265":{"position":[[272,5]]},"266":{"position":[[1100,5]]},"279":{"position":[[59,5]]},"287":{"position":[[362,5]]},"298":{"position":[[480,5]]},"299":{"position":[[1738,5]]},"317":{"position":[[35,5]]},"336":{"position":[[486,5]]},"353":{"position":[[738,5]]},"354":{"position":[[35,5],[1646,5]]},"360":{"position":[[269,5],[722,5]]},"362":{"position":[[6,5]]},"365":{"position":[[1242,5]]},"368":{"position":[[53,5]]},"369":{"position":[[841,5]]},"390":{"position":[[449,5],[809,5],[1348,5],[1435,5],[1575,5]]},"394":{"position":[[439,5],[990,5],[1085,5]]},"401":{"position":[[297,4],[344,4],[391,4],[438,4]]},"408":{"position":[[2037,5],[2575,4]]},"412":{"position":[[4192,5],[5992,5],[12089,5]]},"414":{"position":[[263,5]]},"419":{"position":[[1865,5]]},"427":{"position":[[999,5]]},"430":{"position":[[240,5]]},"433":{"position":[[103,6]]},"435":{"position":[[32,5]]},"438":{"position":[[160,5]]},"444":{"position":[[570,5],[826,5]]},"450":{"position":[[604,4]]},"452":{"position":[[361,4],[737,5]]},"453":{"position":[[486,4],[792,5]]},"455":{"position":[[109,5],[385,5]]},"456":{"position":[[153,5]]},"461":{"position":[[1093,5]]},"468":{"position":[[262,5]]},"483":{"position":[[1083,5]]},"489":{"position":[[189,5]]},"496":{"position":[[201,5]]},"502":{"position":[[36,5]]},"504":{"position":[[489,5]]},"521":{"position":[[85,5]]},"524":{"position":[[1015,5]]},"525":{"position":[[686,5]]},"535":{"position":[[128,5]]},"538":{"position":[[64,5],[105,5],[228,5]]},"547":{"position":[[55,5]]},"554":{"position":[[459,5],[713,5]]},"560":{"position":[[54,5]]},"561":{"position":[[248,5]]},"563":{"position":[[627,5],[1038,5]]},"566":{"position":[[285,5],[366,5]]},"567":{"position":[[408,5],[827,5]]},"571":{"position":[[531,5]]},"574":{"position":[[876,5]]},"595":{"position":[[128,5]]},"598":{"position":[[64,5],[105,5],[229,5]]},"607":{"position":[[55,5]]},"620":{"position":[[537,5]]},"631":{"position":[[22,5],[312,5]]},"632":{"position":[[132,5],[886,5],[1257,5]]},"661":{"position":[[17,5],[1450,5]]},"662":{"position":[[237,5]]},"670":{"position":[[291,5]]},"688":{"position":[[912,5],[1011,5]]},"690":{"position":[[185,5],[387,5]]},"698":{"position":[[1963,5]]},"700":{"position":[[436,5]]},"703":{"position":[[23,5],[1062,5],[1312,5]]},"705":{"position":[[181,5],[477,5],[707,5]]},"710":{"position":[[123,5]]},"711":{"position":[[17,5],[1944,5]]},"714":{"position":[[749,5],[815,5]]},"717":{"position":[[94,5],[196,5]]},"723":{"position":[[2093,5],[2363,5]]},"724":{"position":[[720,5]]},"729":{"position":[[49,5]]},"730":{"position":[[124,4]]},"798":{"position":[[492,5]]},"831":{"position":[[302,5]]},"835":{"position":[[219,6],[396,6],[681,5]]},"836":{"position":[[19,5],[734,5],[1160,5],[1284,5]]},"837":{"position":[[949,5]]},"838":{"position":[[266,5],[991,5]]},"839":{"position":[[240,5]]},"840":{"position":[[24,5]]},"841":{"position":[[177,5],[193,5],[213,5],[245,6],[364,5],[1187,5]]},"860":{"position":[[1098,5]]},"875":{"position":[[1809,5]]},"904":{"position":[[424,5]]},"984":{"position":[[83,5]]},"1009":{"position":[[555,5],[570,5]]},"1041":{"position":[[22,5],[56,5]]},"1042":{"position":[[26,5]]},"1071":{"position":[[115,5]]},"1126":{"position":[[335,5],[648,5]]},"1132":{"position":[[348,5],[389,5]]},"1148":{"position":[[269,5],[698,5]]},"1151":{"position":[[112,5]]},"1154":{"position":[[181,5]]},"1159":{"position":[[79,5]]},"1172":{"position":[[524,5]]},"1173":{"position":[[11,5]]},"1178":{"position":[[111,5]]},"1195":{"position":[[41,5]]},"1202":{"position":[[49,5]]},"1219":{"position":[[458,5],[625,5]]},"1242":{"position":[[18,5]]},"1243":{"position":[[28,5]]},"1244":{"position":[[23,5]]},"1247":{"position":[[165,5],[182,5],[373,5],[546,5]]},"1249":{"position":[[106,5],[410,5]]},"1251":{"position":[[15,5]]},"1252":{"position":[[15,5]]},"1257":{"position":[[25,5]]},"1270":{"position":[[62,5]]},"1292":{"position":[[224,6]]},"1297":{"position":[[10,5]]},"1313":{"position":[[476,5],[1049,5]]},"1316":{"position":[[798,5]]},"1318":{"position":[[1104,5]]},"1320":{"position":[[628,5]]},"1321":{"position":[[693,5]]},"1322":{"position":[[209,5]]},"1323":{"position":[[107,5]]},"1324":{"position":[[582,5]]}},"keywords":{}}],["base64",{"_index":3007,"title":{},"content":{"460":{"position":[[603,6]]},"918":{"position":[[45,6]]},"1143":{"position":[[292,6]]},"1282":{"position":[[214,6]]}},"keywords":{}}],["base64databas",{"_index":5310,"title":{},"content":{"931":{"position":[[136,14]]}},"keywords":{}}],["base64str",{"_index":5309,"title":{},"content":{"931":{"position":[[59,13]]}},"keywords":{}}],["basedir",{"_index":6314,"title":{},"content":{"1266":{"position":[[449,7],[562,7]]}},"keywords":{}}],["basepath",{"_index":5909,"title":{},"content":{"1090":{"position":[[889,9]]},"1130":{"position":[[236,9]]}},"keywords":{}}],["basestorag",{"_index":6277,"title":{},"content":{"1231":{"position":[[782,11],[899,11],[1074,11]]}},"keywords":{}}],["basi",{"_index":895,"title":{},"content":{"63":{"position":[[131,5]]},"396":{"position":[[504,5]]},"424":{"position":[[186,6]]},"1323":{"position":[[216,6]]}},"keywords":{}}],["basic",{"_index":481,"title":{"558":{"position":[[23,5]]},"561":{"position":[[22,5]]}},"content":{"29":{"position":[[345,5]]},"41":{"position":[[141,9]]},"47":{"position":[[509,5]]},"63":{"position":[[213,5]]},"321":{"position":[[343,5]]},"388":{"position":[[90,5]]},"394":{"position":[[118,5]]},"412":{"position":[[5255,9]]},"456":{"position":[[23,5]]},"520":{"position":[[234,5]]},"522":{"position":[[264,5]]},"544":{"position":[[55,5]]},"554":{"position":[[100,5]]},"566":{"position":[[218,5]]},"567":{"position":[[948,7]]},"604":{"position":[[55,5]]},"611":{"position":[[918,6]]},"698":{"position":[[3230,9]]},"802":{"position":[[547,5]]},"839":{"position":[[690,5]]},"841":{"position":[[339,5],[827,5],[1398,5]]},"848":{"position":[[504,7]]},"876":{"position":[[38,6]]},"906":{"position":[[478,5]]},"950":{"position":[[11,9]]},"1055":{"position":[[13,5]]},"1123":{"position":[[515,5]]},"1274":{"position":[[604,5]]},"1279":{"position":[[991,5]]}},"keywords":{}}],["batch",{"_index":513,"title":{"1294":{"position":[[0,7]]}},"content":{"33":{"position":[[137,8]]},"146":{"position":[[71,8]]},"277":{"position":[[174,7]]},"392":{"position":[[2515,7],[3046,5],[3092,6],[4965,5]]},"411":{"position":[[780,8]]},"487":{"position":[[111,5],[208,8]]},"752":{"position":[[795,5]]},"759":{"position":[[750,5],[984,5]]},"760":{"position":[[746,5],[872,5]]},"875":{"position":[[5880,5]]},"885":{"position":[[2343,5]]},"981":{"position":[[865,8]]},"983":{"position":[[56,7],[757,7],[825,8]]},"988":{"position":[[2898,5],[5302,5]]},"1125":{"position":[[642,8],[676,5]]},"1134":{"position":[[632,5]]},"1138":{"position":[[401,7]]},"1143":{"position":[[349,7]]},"1164":{"position":[[246,6]]},"1294":{"position":[[369,7],[698,5],[1017,7],[1854,7],[1928,5],[2041,5],[2122,7]]},"1295":{"position":[[877,7],[1106,7]]},"1296":{"position":[[369,7],[1242,7],[1672,7]]}},"keywords":{}}],["batches.simplifi",{"_index":3696,"title":{},"content":{"630":{"position":[[866,18]]}},"keywords":{}}],["batchsiz",{"_index":1354,"title":{},"content":{"209":{"position":[[1017,10]]},"255":{"position":[[1352,10]]},"392":{"position":[[2734,10],[4640,10]]},"632":{"position":[[2397,10]]},"724":{"position":[[1150,10]]},"749":{"position":[[22514,9]]},"759":{"position":[[731,10]]},"760":{"position":[[727,10]]},"846":{"position":[[723,10],[1149,10]]},"862":{"position":[[1389,10],[1415,10]]},"866":{"position":[[858,10],[883,10]]},"872":{"position":[[2586,10],[2611,10],[4602,10],[4627,10]]},"875":{"position":[[1896,9],[3174,11]]},"886":{"position":[[1559,11],[1753,10],[2845,9],[2945,10],[4052,10],[4157,10]]},"898":{"position":[[3466,10],[3879,10]]},"988":{"position":[[2994,10],[3545,10],[3966,10],[4475,10]]},"1125":{"position":[[740,10]]},"1134":{"position":[[770,10]]},"1138":{"position":[[438,9],[604,10]]},"1164":{"position":[[286,10]]},"1294":{"position":[[1494,11]]}},"keywords":{}}],["batteri",{"_index":2744,"title":{},"content":{"412":{"position":[[10701,7]]},"618":{"position":[[465,7]]},"1003":{"position":[[180,8]]}},"keywords":{}}],["battl",{"_index":2170,"title":{},"content":{"386":{"position":[[9,6]]},"710":{"position":[[322,6]]},"1199":{"position":[[6,6]]}},"keywords":{}}],["be",{"_index":645,"title":{},"content":{"41":{"position":[[22,5]]},"76":{"position":[[1,5]]},"174":{"position":[[1259,5]]},"207":{"position":[[363,5]]},"404":{"position":[[491,5]]},"408":{"position":[[615,5]]},"410":{"position":[[955,5]]},"411":{"position":[[637,5]]},"418":{"position":[[233,5]]},"419":{"position":[[346,5]]},"450":{"position":[[719,5]]},"460":{"position":[[145,5]]},"614":{"position":[[682,5]]},"688":{"position":[[1069,5]]},"717":{"position":[[1323,5]]},"837":{"position":[[284,5],[782,5]]},"840":{"position":[[337,5],[428,5]]},"885":{"position":[[434,5]]},"886":{"position":[[4834,5]]},"988":{"position":[[1592,5],[1753,5]]},"1180":{"position":[[349,5]]},"1184":{"position":[[173,5]]},"1304":{"position":[[1512,5],[1777,5]]},"1311":{"position":[[349,7]]}},"keywords":{}}],["bearer",{"_index":4833,"title":{},"content":{"848":{"position":[[47,6],[439,6],[900,6]]},"878":{"position":[[512,7]]},"880":{"position":[[424,7]]},"886":{"position":[[1863,7],[3160,7],[4128,7]]}},"keywords":{}}],["beat",{"_index":691,"title":{"44":{"position":[[51,5]]}},"content":{},"keywords":{}}],["becam",{"_index":4591,"title":{},"content":{"780":{"position":[[166,6]]},"1198":{"position":[[345,6]]}},"keywords":{}}],["becom",{"_index":912,"title":{},"content":{"65":{"position":[[503,7]]},"89":{"position":[[169,7]]},"90":{"position":[[64,7]]},"97":{"position":[[40,7]]},"122":{"position":[[249,7]]},"133":{"position":[[243,7]]},"152":{"position":[[26,6]]},"173":{"position":[[341,7]]},"174":{"position":[[2154,7]]},"232":{"position":[[16,6]]},"255":{"position":[[1793,7]]},"265":{"position":[[667,6]]},"320":{"position":[[391,7]]},"321":{"position":[[397,6]]},"358":{"position":[[447,7]]},"399":{"position":[[443,7]]},"402":{"position":[[316,7]]},"404":{"position":[[228,6]]},"408":{"position":[[3221,7],[5436,6]]},"411":{"position":[[2027,7]]},"412":{"position":[[5829,6],[7311,6],[10215,6],[12769,7]]},"416":{"position":[[432,7]]},"421":{"position":[[732,6],[1212,6]]},"478":{"position":[[219,7]]},"548":{"position":[[428,7]]},"608":{"position":[[426,7]]},"613":{"position":[[920,6]]},"701":{"position":[[724,7]]},"709":{"position":[[458,7],[801,6]]},"739":{"position":[[168,7],[570,7]]},"784":{"position":[[279,8]]},"829":{"position":[[2033,7]]},"974":{"position":[[54,7]]},"985":{"position":[[647,6]]},"1003":{"position":[[126,7],[202,7],[268,7],[307,7]]},"1085":{"position":[[2472,6]]},"1304":{"position":[[699,7]]},"1316":{"position":[[3796,6]]}},"keywords":{}}],["befor",{"_index":458,"title":{},"content":{"28":{"position":[[350,6]]},"151":{"position":[[1,6]]},"188":{"position":[[1607,6]]},"304":{"position":[[323,6]]},"360":{"position":[[184,6]]},"398":{"position":[[643,6]]},"412":{"position":[[121,6],[15364,6]]},"427":{"position":[[720,6]]},"463":{"position":[[1,6]]},"469":{"position":[[1065,6]]},"551":{"position":[[496,6]]},"555":{"position":[[122,6]]},"566":{"position":[[1311,6]]},"653":{"position":[[427,6]]},"666":{"position":[[1,6]]},"667":{"position":[[1,6]]},"676":{"position":[[262,6]]},"683":{"position":[[812,7]]},"696":{"position":[[361,6]]},"703":{"position":[[1678,6]]},"719":{"position":[[468,6]]},"727":{"position":[[80,7]]},"749":{"position":[[13297,6]]},"759":{"position":[[1532,6]]},"767":{"position":[[387,6]]},"768":{"position":[[356,6]]},"770":{"position":[[635,6]]},"846":{"position":[[789,6],[1208,6]]},"849":{"position":[[143,6]]},"857":{"position":[[27,6]]},"884":{"position":[[1,6]]},"886":{"position":[[1276,6],[3017,6]]},"888":{"position":[[92,6]]},"898":{"position":[[1289,6],[3646,6],[3767,6]]},"904":{"position":[[1,6]]},"911":{"position":[[387,6]]},"912":{"position":[[306,6]]},"916":{"position":[[1,6]]},"932":{"position":[[357,6]]},"943":{"position":[[248,6]]},"952":{"position":[[83,6]]},"958":{"position":[[720,6]]},"971":{"position":[[195,6]]},"982":{"position":[[146,6]]},"988":{"position":[[3037,6],[4553,6]]},"994":{"position":[[227,6]]},"1038":{"position":[[109,6]]},"1041":{"position":[[104,7]]},"1084":{"position":[[49,6]]},"1085":{"position":[[2944,6],[3653,6]]},"1106":{"position":[[303,6]]},"1119":{"position":[[326,6]]},"1164":{"position":[[1206,6]]},"1165":{"position":[[619,6]]},"1289":{"position":[[112,6]]},"1316":{"position":[[1664,6]]}},"keywords":{}}],["before.when",{"_index":6470,"title":{},"content":{"1300":{"position":[[752,11]]}},"keywords":{}}],["beforeunload",{"_index":6471,"title":{},"content":{"1300":{"position":[[785,12],[907,12]]}},"keywords":{}}],["began",{"_index":2852,"title":{},"content":{"421":{"position":[[372,5]]}},"keywords":{}}],["begin",{"_index":1075,"title":{},"content":{"119":{"position":[[4,5]]},"206":{"position":[[198,5]]},"285":{"position":[[155,5]]},"411":{"position":[[3142,10]]},"522":{"position":[[78,5]]},"796":{"position":[[938,9]]},"1002":{"position":[[54,9]]},"1207":{"position":[[10,9]]}},"keywords":{}}],["beginn",{"_index":4892,"title":{},"content":{"861":{"position":[[132,9]]}},"keywords":{}}],["behav",{"_index":64,"title":{},"content":{"4":{"position":[[128,6]]},"14":{"position":[[702,7]]},"301":{"position":[[707,7]]},"346":{"position":[[583,7]]},"412":{"position":[[8219,7]]},"462":{"position":[[562,6]]},"679":{"position":[[300,8]]},"689":{"position":[[355,6]]},"749":{"position":[[16659,7]]},"830":{"position":[[332,7]]},"881":{"position":[[17,7],[412,8]]},"956":{"position":[[217,6]]},"1018":{"position":[[19,7]]}},"keywords":{}}],["behavior",{"_index":76,"title":{},"content":{"5":{"position":[[79,9]]},"16":{"position":[[463,8]]},"38":{"position":[[285,8],[462,8]]},"147":{"position":[[238,8]]},"168":{"position":[[370,10]]},"299":{"position":[[683,8]]},"396":{"position":[[1962,8]]},"427":{"position":[[1274,8]]},"437":{"position":[[88,8]]},"618":{"position":[[379,8]]},"660":{"position":[[129,8]]},"749":{"position":[[5779,8]]},"770":{"position":[[177,8]]},"802":{"position":[[458,10]]},"828":{"position":[[418,8]]},"948":{"position":[[320,8]]},"1065":{"position":[[712,8]]},"1085":{"position":[[2349,9]]},"1115":{"position":[[562,8],[762,9]]},"1126":{"position":[[314,9]]},"1164":{"position":[[63,9],[501,8]]},"1188":{"position":[[338,9]]},"1305":{"position":[[345,8]]}},"keywords":{}}],["behavior.multi",{"_index":5433,"title":{},"content":{"981":{"position":[[1484,14]]}},"keywords":{}}],["behaviorsubject",{"_index":5743,"title":{},"content":{"1058":{"position":[[367,16]]}},"keywords":{}}],["behaviorsubjectse",{"_index":5742,"title":{},"content":{"1058":{"position":[[4,18]]}},"keywords":{}}],["behind",{"_index":1161,"title":{},"content":{"152":{"position":[[126,6]]},"354":{"position":[[1234,6]]},"361":{"position":[[1119,6]]},"421":{"position":[[894,7]]},"486":{"position":[[149,6]]},"828":{"position":[[332,6]]}},"keywords":{}}],["belong",{"_index":2512,"title":{},"content":{"405":{"position":[[60,7]]},"412":{"position":[[10815,6]]},"808":{"position":[[77,7]]},"937":{"position":[[131,6]]}},"keywords":{}}],["below",{"_index":1540,"title":{},"content":{"247":{"position":[[90,5]]},"300":{"position":[[119,5]]},"315":{"position":[[108,5]]},"334":{"position":[[1,5]]},"391":{"position":[[253,5]]},"480":{"position":[[1,5]]},"485":{"position":[[126,5]]},"491":{"position":[[1478,7]]},"538":{"position":[[148,5]]},"554":{"position":[[230,5]]},"579":{"position":[[95,5]]},"598":{"position":[[149,5]]},"632":{"position":[[482,6]]},"798":{"position":[[711,5]]},"875":{"position":[[551,5],[592,5],[1181,5],[4376,5]]},"988":{"position":[[4768,6]]},"1066":{"position":[[517,5]]},"1097":{"position":[[820,6]]},"1149":{"position":[[491,5]]}},"keywords":{}}],["benchmark",{"_index":2427,"title":{"399":{"position":[[12,11]]},"1190":{"position":[[25,10]]}},"content":{"399":{"position":[[533,10]]},"401":{"position":[[602,11]]},"471":{"position":[[49,10]]},"703":{"position":[[952,9]]},"1292":{"position":[[31,10]]}},"keywords":{}}],["benchmarks.eas",{"_index":6095,"title":{},"content":{"1156":{"position":[[232,15]]}},"keywords":{}}],["benefici",{"_index":904,"title":{},"content":{"65":{"position":[[100,10]]},"74":{"position":[[49,10]]},"169":{"position":[[240,10]]},"216":{"position":[[254,10]]},"220":{"position":[[242,10]]},"375":{"position":[[34,10]]},"508":{"position":[[118,10]]},"584":{"position":[[206,10]]},"723":{"position":[[609,10]]}},"keywords":{}}],["benefit",{"_index":401,"title":{"85":{"position":[[10,8]]},"151":{"position":[[38,7]]},"265":{"position":[[22,9]]},"410":{"position":[[16,9]]},"411":{"position":[[21,9]]},"485":{"position":[[0,8]]},"723":{"position":[[0,8]]},"902":{"position":[[0,8]]},"1156":{"position":[[4,9]]}},"content":{"24":{"position":[[257,7]]},"53":{"position":[[7,7]]},"65":{"position":[[2042,8]]},"105":{"position":[[196,8]]},"114":{"position":[[634,9]]},"151":{"position":[[284,7]]},"173":{"position":[[231,8],[2429,10]]},"174":{"position":[[3204,10]]},"175":{"position":[[628,8]]},"232":{"position":[[174,7]]},"236":{"position":[[169,8]]},"266":{"position":[[273,8]]},"269":{"position":[[382,10]]},"286":{"position":[[389,10]]},"290":{"position":[[255,9]]},"295":{"position":[[66,9]]},"354":{"position":[[162,7]]},"362":{"position":[[1040,8]]},"366":{"position":[[311,8]]},"370":{"position":[[29,7]]},"372":{"position":[[153,8]]},"376":{"position":[[25,7]]},"387":{"position":[[245,7]]},"410":{"position":[[993,8]]},"411":{"position":[[5268,8]]},"412":{"position":[[9593,9],[15141,8]]},"418":{"position":[[695,8]]},"419":{"position":[[972,8]]},"433":{"position":[[257,9]]},"444":{"position":[[793,8]]},"445":{"position":[[357,8]]},"446":{"position":[[575,7]]},"621":{"position":[[783,8]]},"623":{"position":[[650,10]]},"775":{"position":[[409,7]]},"780":{"position":[[529,7]]},"783":{"position":[[544,7]]},"835":{"position":[[240,7]]},"838":{"position":[[396,8]]},"860":{"position":[[312,9]]},"965":{"position":[[27,7]]},"1008":{"position":[[10,7]]},"1067":{"position":[[1009,7]]},"1085":{"position":[[1860,9]]},"1124":{"position":[[69,8]]},"1132":{"position":[[51,8]]},"1148":{"position":[[176,8]]},"1211":{"position":[[436,8]]},"1213":{"position":[[119,7]]},"1295":{"position":[[530,7]]},"1296":{"position":[[1714,7]]},"1297":{"position":[[596,7]]},"1304":{"position":[[1639,8]]},"1315":{"position":[[1122,7]]}},"keywords":{}}],["besid",{"_index":2861,"title":{},"content":{"422":{"position":[[102,8]]},"659":{"position":[[791,7]]},"685":{"position":[[54,7]]},"696":{"position":[[698,7]]},"716":{"position":[[356,6]]},"835":{"position":[[896,7]]}},"keywords":{}}],["best",{"_index":85,"title":{"142":{"position":[[0,4]]},"346":{"position":[[0,4]]},"374":{"position":[[45,4]]},"556":{"position":[[0,4]]},"590":{"position":[[0,4]]}},"content":{"6":{"position":[[90,4]]},"56":{"position":[[177,4]]},"67":{"position":[[82,4]]},"98":{"position":[[196,4]]},"118":{"position":[[107,4]]},"131":{"position":[[943,4]]},"142":{"position":[[78,4]]},"266":{"position":[[343,4],[403,4]]},"287":{"position":[[1254,4]]},"301":{"position":[[5,4]]},"314":{"position":[[963,4]]},"347":{"position":[[510,4]]},"356":{"position":[[624,4]]},"362":{"position":[[1581,4]]},"369":{"position":[[1564,5]]},"388":{"position":[[192,4]]},"396":{"position":[[1949,4]]},"412":{"position":[[6938,4]]},"470":{"position":[[356,4]]},"489":{"position":[[318,5]]},"500":{"position":[[82,4]]},"524":{"position":[[133,4],[776,4]]},"543":{"position":[[167,4]]},"557":{"position":[[349,4]]},"567":{"position":[[966,4]]},"581":{"position":[[641,4]]},"591":{"position":[[739,4]]},"603":{"position":[[165,4]]},"661":{"position":[[479,4]]},"688":{"position":[[980,4]]},"710":{"position":[[783,4]]},"716":{"position":[[85,4]]},"797":{"position":[[80,4]]},"798":{"position":[[1032,4]]},"821":{"position":[[58,4],[168,4],[596,4]]},"838":{"position":[[1441,4]]},"1071":{"position":[[390,4]]},"1090":{"position":[[99,4]]},"1147":{"position":[[396,4]]},"1231":{"position":[[115,4]]},"1243":{"position":[[87,4]]},"1244":{"position":[[73,4]]},"1245":{"position":[[32,4]]},"1270":{"position":[[298,4]]},"1297":{"position":[[472,4]]}},"keywords":{}}],["best.if",{"_index":3208,"title":{},"content":{"497":{"position":[[653,7]]}},"keywords":{}}],["bestfriend",{"_index":4675,"title":{},"content":{"808":{"position":[[248,11]]},"810":{"position":[[236,11],[305,11],[393,10]]},"811":{"position":[[216,11],[285,11],[373,10]]}},"keywords":{}}],["bestindex",{"_index":4709,"title":{},"content":{"820":{"position":[[149,11]]}},"keywords":{}}],["better",{"_index":62,"title":{"73":{"position":[[27,6]]},"74":{"position":[[10,6]]},"91":{"position":[[28,7]]},"104":{"position":[[27,6]]},"105":{"position":[[10,6]]},"232":{"position":[[0,6]]},"278":{"position":[[15,6]]},"281":{"position":[[10,6]]},"353":{"position":[[9,8]]},"395":{"position":[[28,6]]},"486":{"position":[[0,6]]},"487":{"position":[[0,6]]},"778":{"position":[[6,6]]},"796":{"position":[[48,6]]}},"content":{"4":{"position":[[101,6]]},"31":{"position":[[228,6]]},"33":{"position":[[69,6]]},"59":{"position":[[130,6]]},"131":{"position":[[687,6]]},"314":{"position":[[136,6]]},"336":{"position":[[290,6]]},"400":{"position":[[502,6]]},"402":{"position":[[1598,6],[1982,7]]},"408":{"position":[[4963,6]]},"411":{"position":[[3718,6],[3936,6]]},"412":{"position":[[4969,6]]},"425":{"position":[[48,6]]},"430":{"position":[[832,6]]},"432":{"position":[[1410,6]]},"466":{"position":[[401,6]]},"469":{"position":[[1374,6]]},"470":{"position":[[134,6]]},"473":{"position":[[203,6]]},"546":{"position":[[163,6]]},"554":{"position":[[196,6]]},"566":{"position":[[677,6]]},"606":{"position":[[163,6]]},"640":{"position":[[241,6]]},"655":{"position":[[270,6]]},"681":{"position":[[143,6]]},"698":{"position":[[968,6]]},"703":{"position":[[1637,6]]},"704":{"position":[[523,6]]},"705":{"position":[[456,6],[508,6]]},"710":{"position":[[2178,6]]},"752":{"position":[[245,6]]},"772":{"position":[[2587,8]]},"775":{"position":[[428,6],[614,6]]},"796":{"position":[[225,6],[363,6],[659,6],[1079,6]]},"798":{"position":[[464,6]]},"800":{"position":[[173,6]]},"802":{"position":[[98,6]]},"821":{"position":[[1010,6]]},"945":{"position":[[355,6]]},"951":{"position":[[65,6]]},"965":{"position":[[292,6]]},"983":{"position":[[81,6]]},"989":{"position":[[5,6]]},"1013":{"position":[[5,6]]},"1022":{"position":[[114,6]]},"1067":{"position":[[140,6],[631,6]]},"1071":{"position":[[168,6]]},"1098":{"position":[[120,6]]},"1099":{"position":[[112,6]]},"1138":{"position":[[362,6]]},"1143":{"position":[[205,6]]},"1152":{"position":[[109,6]]},"1162":{"position":[[1100,6],[1141,6]]},"1175":{"position":[[259,6]]},"1186":{"position":[[105,6]]},"1286":{"position":[[112,6]]},"1309":{"position":[[886,6]]}},"keywords":{}}],["between",{"_index":219,"title":{"132":{"position":[[29,7]]},"163":{"position":[[29,7]]},"190":{"position":[[29,7]]},"288":{"position":[[30,7]]},"337":{"position":[[29,7]]},"525":{"position":[[29,7]]},"582":{"position":[[29,7]]},"775":{"position":[[15,7]]},"900":{"position":[[45,7]]},"1215":{"position":[[11,7]]}},"content":{"14":{"position":[[552,7]]},"26":{"position":[[185,7]]},"37":{"position":[[54,7]]},"82":{"position":[[125,7]]},"123":{"position":[[53,7]]},"132":{"position":[[18,7],[208,7]]},"147":{"position":[[40,7]]},"151":{"position":[[244,7]]},"153":{"position":[[391,7]]},"158":{"position":[[49,7]]},"165":{"position":[[94,7]]},"173":{"position":[[2838,7]]},"181":{"position":[[308,7]]},"184":{"position":[[159,7]]},"190":{"position":[[69,7]]},"192":{"position":[[96,7]]},"208":{"position":[[54,7]]},"223":{"position":[[28,7],[299,7]]},"275":{"position":[[235,7]]},"279":{"position":[[138,7]]},"288":{"position":[[28,7],[282,7]]},"289":{"position":[[120,7],[557,7],[775,7],[1164,7]]},"293":{"position":[[27,7],[234,7]]},"299":{"position":[[703,7]]},"321":{"position":[[148,7]]},"330":{"position":[[83,7]]},"365":{"position":[[708,7]]},"369":{"position":[[1069,7]]},"375":{"position":[[675,7]]},"393":{"position":[[184,7],[855,7]]},"394":{"position":[[367,7]]},"396":{"position":[[477,7]]},"397":{"position":[[1460,7]]},"398":{"position":[[3144,7]]},"401":{"position":[[831,7]]},"427":{"position":[[607,7]]},"439":{"position":[[478,7]]},"444":{"position":[[863,7]]},"450":{"position":[[281,7]]},"458":{"position":[[293,7],[537,7],[616,7]]},"459":{"position":[[20,7],[555,7]]},"461":{"position":[[892,7]]},"467":{"position":[[631,7]]},"469":{"position":[[191,7],[1156,7]]},"470":{"position":[[381,7]]},"502":{"position":[[1321,7]]},"504":{"position":[[559,7],[635,7],[841,7],[965,7],[1372,7]]},"517":{"position":[[87,7],[216,7]]},"525":{"position":[[472,7]]},"556":{"position":[[1601,7]]},"570":{"position":[[695,7],[791,7]]},"611":{"position":[[93,7]]},"612":{"position":[[950,7]]},"613":{"position":[[86,7]]},"614":{"position":[[367,7],[511,7]]},"617":{"position":[[2130,7],[2295,7]]},"632":{"position":[[187,7]]},"699":{"position":[[24,7],[381,7]]},"701":{"position":[[675,7]]},"703":{"position":[[134,7],[973,7]]},"709":{"position":[[497,7]]},"710":{"position":[[1133,7]]},"711":{"position":[[368,7]]},"737":{"position":[[373,7]]},"743":{"position":[[92,7],[257,7]]},"755":{"position":[[186,7]]},"774":{"position":[[1043,7]]},"779":{"position":[[424,7]]},"849":{"position":[[646,7]]},"870":{"position":[[21,7]]},"871":{"position":[[413,7]]},"872":{"position":[[2207,7]]},"876":{"position":[[73,7]]},"896":{"position":[[128,7]]},"901":{"position":[[162,7]]},"904":{"position":[[131,7]]},"938":{"position":[[87,7]]},"961":{"position":[[201,7]]},"964":{"position":[[181,7],[293,7]]},"1033":{"position":[[1006,7]]},"1068":{"position":[[406,7]]},"1072":{"position":[[913,7]]},"1074":{"position":[[347,7]]},"1094":{"position":[[250,7]]},"1121":{"position":[[122,7],[304,7]]},"1124":{"position":[[1047,7],[1268,7],[1614,7]]},"1126":{"position":[[892,7]]},"1164":{"position":[[1030,7]]},"1174":{"position":[[396,7]]},"1215":{"position":[[52,7]]},"1295":{"position":[[329,7],[474,7]]},"1301":{"position":[[20,7],[707,7],[1182,7],[1228,7]]},"1304":{"position":[[294,7]]},"1313":{"position":[[747,8]]},"1315":{"position":[[1641,8]]},"1316":{"position":[[2535,7],[2607,7]]}},"keywords":{}}],["beyond",{"_index":856,"title":{"561":{"position":[[15,6]]}},"content":{"57":{"position":[[1,6]]},"362":{"position":[[642,6]]},"365":{"position":[[330,6]]},"390":{"position":[[909,6]]},"412":{"position":[[7264,6]]},"414":{"position":[[301,7]]},"436":{"position":[[37,6]]},"491":{"position":[[569,6],[1507,7],[1624,6]]},"518":{"position":[[41,6]]},"544":{"position":[[48,6]]},"585":{"position":[[1,6]]},"604":{"position":[[48,6]]},"701":{"position":[[35,6]]},"709":{"position":[[293,6]]},"723":{"position":[[2236,6]]}},"keywords":{}}],["bi",{"_index":2155,"title":{},"content":{"381":{"position":[[35,2]]}},"keywords":{}}],["bidirect",{"_index":1117,"title":{"135":{"position":[[0,13]]},"340":{"position":[[0,13]]}},"content":{"135":{"position":[[15,13]]},"289":{"position":[[745,13]]},"622":{"position":[[631,13]]}},"keywords":{}}],["big",{"_index":215,"title":{"466":{"position":[[0,3]]},"467":{"position":[[0,3]]}},"content":{"14":{"position":[[506,3],[676,3]]},"36":{"position":[[459,3]]},"404":{"position":[[825,3]]},"411":{"position":[[2735,3],[3515,3]]},"412":{"position":[[6470,3],[10419,3]]},"458":{"position":[[3,3]]},"459":{"position":[[5,3]]},"466":{"position":[[28,3]]},"468":{"position":[[145,3]]},"556":{"position":[[1202,3]]},"617":{"position":[[1022,3]]},"644":{"position":[[226,3]]},"661":{"position":[[1796,3]]},"696":{"position":[[1842,3]]},"749":{"position":[[21584,3],[21652,3]]},"779":{"position":[[12,3]]},"800":{"position":[[482,3]]},"835":{"position":[[107,3],[236,3]]},"837":{"position":[[545,3]]},"951":{"position":[[135,3]]},"965":{"position":[[23,3],[73,3]]},"1116":{"position":[[64,3]]},"1137":{"position":[[220,3]]},"1171":{"position":[[420,3]]},"1181":{"position":[[49,3]]},"1186":{"position":[[90,3]]},"1191":{"position":[[3,3]]},"1192":{"position":[[503,3]]},"1200":{"position":[[1,3]]},"1237":{"position":[[56,3]]},"1239":{"position":[[274,3]]},"1295":{"position":[[645,3]]},"1296":{"position":[[1710,3]]},"1301":{"position":[[5,3]]},"1319":{"position":[[160,3]]}},"keywords":{}}],["big.becaus",{"_index":6110,"title":{},"content":{"1162":{"position":[[490,11]]},"1181":{"position":[[577,11]]}},"keywords":{}}],["bigger",{"_index":404,"title":{},"content":{"24":{"position":[[497,6]]},"408":{"position":[[2483,6]]},"412":{"position":[[11940,6]]},"773":{"position":[[733,6]]},"1235":{"position":[[89,6]]},"1286":{"position":[[171,6]]},"1297":{"position":[[570,6]]}},"keywords":{}}],["biggest",{"_index":233,"title":{},"content":{"14":{"position":[[926,7]]},"19":{"position":[[960,7]]},"686":{"position":[[96,7]]}},"keywords":{}}],["bill",{"_index":1319,"title":{},"content":{"204":{"position":[[139,5]]}},"keywords":{}}],["billabl",{"_index":1553,"title":{},"content":{"251":{"position":[[34,8]]}},"keywords":{}}],["binari",{"_index":1821,"title":{},"content":{"303":{"position":[[156,6]]},"411":{"position":[[3519,6]]},"453":{"position":[[213,6],[435,6]]},"454":{"position":[[27,6]]},"457":{"position":[[458,6]]},"468":{"position":[[499,6]]},"686":{"position":[[532,6]]},"708":{"position":[[222,8],[448,8]]},"838":{"position":[[3361,6]]},"1132":{"position":[[1309,6],[1447,6]]},"1143":{"position":[[274,6]]},"1167":{"position":[[19,6]]},"1209":{"position":[[73,6]]},"1282":{"position":[[87,6]]}},"keywords":{}}],["bind",{"_index":83,"title":{},"content":{"6":{"position":[[33,7]]},"50":{"position":[[400,7]]},"130":{"position":[[221,4]]},"286":{"position":[[222,8]]},"411":{"position":[[2274,4]]},"662":{"position":[[917,7]]},"766":{"position":[[248,4]]},"800":{"position":[[248,7]]},"1133":{"position":[[126,8]]}},"keywords":{}}],["bind_ip_al",{"_index":4944,"title":{},"content":{"872":{"position":[[568,11]]}},"keywords":{}}],["birthyear",{"_index":5808,"title":{},"content":{"1074":{"position":[[410,9]]}},"keywords":{}}],["bit",{"_index":325,"title":{},"content":{"19":{"position":[[285,3]]},"42":{"position":[[94,3]]},"356":{"position":[[916,3]]},"412":{"position":[[8529,3]]},"452":{"position":[[177,3]]},"463":{"position":[[609,3],[1380,3]]},"464":{"position":[[893,3]]},"698":{"position":[[1580,3]]},"1235":{"position":[[213,3]]},"1270":{"position":[[25,3],[135,3]]},"1286":{"position":[[100,3]]}},"keywords":{}}],["bite",{"_index":3959,"title":{},"content":{"701":{"position":[[610,4]]}},"keywords":{}}],["blend",{"_index":2796,"title":{},"content":{"418":{"position":[[537,5]]}},"keywords":{}}],["bloat",{"_index":2083,"title":{},"content":{"361":{"position":[[286,5]]},"841":{"position":[[964,5]]}},"keywords":{}}],["blob",{"_index":5291,"title":{},"content":{"917":{"position":[[433,4],[642,6]]},"918":{"position":[[72,5]]},"930":{"position":[[59,5],[136,4],[174,4]]},"1282":{"position":[[114,5]]}},"keywords":{}}],["blob.arraybuff",{"_index":5292,"title":{},"content":{"917":{"position":[[511,18]]}},"keywords":{}}],["block",{"_index":499,"title":{"1033":{"position":[[22,5]]},"1186":{"position":[[0,5]]}},"content":{"31":{"position":[[188,6]]},"302":{"position":[[398,6]]},"421":{"position":[[931,7]]},"427":{"position":[[122,8],[209,8],[296,5],[1107,9]]},"451":{"position":[[575,6],[672,5]]},"460":{"position":[[1319,5],[1398,5]]},"468":{"position":[[73,6]]},"491":{"position":[[995,7]]},"559":{"position":[[1121,5]]},"566":{"position":[[647,10]]},"619":{"position":[[213,5]]},"627":{"position":[[130,5]]},"634":{"position":[[618,8]]},"699":{"position":[[869,7]]},"705":{"position":[[1029,5]]},"710":{"position":[[2415,5]]},"740":{"position":[[168,7]]},"765":{"position":[[69,6]]},"801":{"position":[[220,5]]},"835":{"position":[[166,8],[295,5]]},"837":{"position":[[269,6]]},"995":{"position":[[506,5],[587,5],[1331,5]]},"1007":{"position":[[94,5]]},"1021":{"position":[[36,5]]},"1032":{"position":[[152,7],[256,7]]},"1033":{"position":[[85,8],[200,5],[657,5]]},"1093":{"position":[[438,8],[512,8]]},"1106":{"position":[[508,5]]},"1157":{"position":[[248,5]]},"1176":{"position":[[279,5]]},"1186":{"position":[[71,6],[94,6],[222,6]]},"1250":{"position":[[345,8]]},"1301":{"position":[[1533,7]]},"1304":{"position":[[1728,8]]},"1313":{"position":[[350,5]]}},"keywords":{}}],["blocksizelimit",{"_index":6157,"title":{},"content":{"1186":{"position":[[142,14],[295,15]]}},"keywords":{}}],["blue",{"_index":6525,"title":{},"content":{"1314":{"position":[[476,5],[691,7]]}},"keywords":{}}],["boast",{"_index":964,"title":{},"content":{"74":{"position":[[6,6]]}},"keywords":{}}],["bob",{"_index":2769,"title":{},"content":{"412":{"position":[[13971,3]]},"810":{"position":[[298,6]]},"811":{"position":[[278,6]]},"813":{"position":[[304,6]]},"948":{"position":[[398,6]]},"951":{"position":[[341,6]]},"1316":{"position":[[1059,4],[1198,3]]}},"keywords":{}}],["bob'",{"_index":6549,"title":{},"content":{"1316":{"position":[[1136,5]]}},"keywords":{}}],["bodi",{"_index":1350,"title":{},"content":{"209":{"position":[[863,5]]},"255":{"position":[[1209,5]]},"612":{"position":[[471,4]]},"616":{"position":[[707,4],[1182,4]]},"875":{"position":[[6368,5]]},"988":{"position":[[2663,5]]},"1102":{"position":[[636,5]]}},"keywords":{}}],["boilerpl",{"_index":1934,"title":{},"content":{"331":{"position":[[140,12]]},"411":{"position":[[1527,11]]}},"keywords":{}}],["bolster",{"_index":5278,"title":{},"content":{"912":{"position":[[112,10]]}},"keywords":{}}],["bombard",{"_index":2609,"title":{},"content":{"411":{"position":[[643,9]]}},"keywords":{}}],["book",{"_index":2332,"title":{},"content":{"395":{"position":[[361,5]]}},"keywords":{}}],["boolean",{"_index":1345,"title":{},"content":{"209":{"position":[[570,9]]},"255":{"position":[[910,9]]},"367":{"position":[[969,9]]},"459":{"position":[[1048,7],[1145,7]]},"480":{"position":[[660,9]]},"632":{"position":[[1660,9]]},"749":{"position":[[20733,7]]},"855":{"position":[[181,7]]},"861":{"position":[[2025,7]]},"867":{"position":[[176,7]]},"885":{"position":[[609,8],[704,8]]},"898":{"position":[[363,7],[588,7],[1105,7]]},"904":{"position":[[999,10]]},"988":{"position":[[1688,7],[2024,7],[2144,7]]},"1049":{"position":[[9,7]]},"1079":{"position":[[185,7]]},"1080":{"position":[[404,9],[753,7]]},"1158":{"position":[[484,9]]},"1296":{"position":[[1775,7]]}},"keywords":{}}],["boost",{"_index":1969,"title":{},"content":{"345":{"position":[[128,5]]},"398":{"position":[[159,6]]},"408":{"position":[[4227,5]]},"420":{"position":[[1538,5]]},"490":{"position":[[684,8]]},"643":{"position":[[162,5]]}},"keywords":{}}],["bot",{"_index":6172,"title":{},"content":{"1198":{"position":[[764,3]]}},"keywords":{}}],["both",{"_index":298,"title":{"616":{"position":[[16,4]]}},"content":{"17":{"position":[[513,4]]},"38":{"position":[[379,4]]},"43":{"position":[[236,4]]},"135":{"position":[[73,4]]},"266":{"position":[[351,4]]},"300":{"position":[[147,4]]},"316":{"position":[[509,4]]},"340":{"position":[[30,4]]},"356":{"position":[[632,4]]},"366":{"position":[[325,4]]},"372":{"position":[[165,4]]},"397":{"position":[[151,4]]},"398":{"position":[[495,4],[619,4],[2907,4]]},"407":{"position":[[943,4]]},"412":{"position":[[3141,4],[3183,4],[3474,4]]},"420":{"position":[[1475,4]]},"427":{"position":[[1440,4]]},"444":{"position":[[805,4]]},"445":{"position":[[2247,4]]},"446":{"position":[[1358,4]]},"464":{"position":[[979,4]]},"500":{"position":[[90,4]]},"534":{"position":[[82,4]]},"594":{"position":[[80,4]]},"611":{"position":[[431,4]]},"613":{"position":[[255,4]]},"616":{"position":[[56,4]]},"622":{"position":[[607,4]]},"624":{"position":[[1229,4]]},"690":{"position":[[459,4]]},"691":{"position":[[176,4],[612,4]]},"698":{"position":[[64,4],[466,4]]},"723":{"position":[[1859,4]]},"740":{"position":[[265,4]]},"749":{"position":[[501,5]]},"964":{"position":[[314,4]]},"1124":{"position":[[1414,4]]},"1208":{"position":[[623,4]]},"1218":{"position":[[195,4]]},"1227":{"position":[[506,5]]},"1231":{"position":[[383,4]]},"1265":{"position":[[500,5]]},"1267":{"position":[[575,4]]},"1287":{"position":[[1,4]]},"1296":{"position":[[1497,4]]},"1324":{"position":[[97,5]]}},"keywords":{}}],["bottleneck",{"_index":386,"title":{},"content":{"23":{"position":[[264,10]]},"265":{"position":[[545,11],[676,10]]},"267":{"position":[[1348,12]]},"412":{"position":[[10224,11]]},"430":{"position":[[783,12]]},"709":{"position":[[825,11]]},"836":{"position":[[1698,11]]},"837":{"position":[[706,10]]},"1157":{"position":[[344,11]]}},"keywords":{}}],["bought",{"_index":429,"title":{},"content":{"26":{"position":[[315,6]]},"36":{"position":[[255,6]]}},"keywords":{}}],["bound",{"_index":2719,"title":{},"content":{"412":{"position":[[7242,5]]},"1052":{"position":[[314,5],[405,5]]},"1191":{"position":[[120,5]]},"1311":{"position":[[1213,5]]}},"keywords":{}}],["boundari",{"_index":3245,"title":{},"content":{"510":{"position":[[551,10]]},"1314":{"position":[[279,8]]}},"keywords":{}}],["box",{"_index":634,"title":{},"content":{"40":{"position":[[283,4]]},"125":{"position":[[26,3]]},"331":{"position":[[262,3]]},"459":{"position":[[296,4]]},"491":{"position":[[919,4]]},"535":{"position":[[769,4]]},"566":{"position":[[1096,4]]},"595":{"position":[[790,4]]},"836":{"position":[[1352,4]]},"1148":{"position":[[159,4]]}},"keywords":{}}],["boxrxdb",{"_index":1909,"title":{},"content":{"317":{"position":[[226,7]]}},"keywords":{}}],["branch",{"_index":649,"title":{"1092":{"position":[[31,9]]},"1093":{"position":[[11,8]]}},"content":{"41":{"position":[[61,7]]},"1092":{"position":[[255,9],[269,8],[459,8],[537,8]]},"1093":{"position":[[138,8]]}},"keywords":{}}],["brand",{"_index":2815,"title":{},"content":{"419":{"position":[[1653,8]]},"498":{"position":[[118,5]]}},"keywords":{}}],["breach",{"_index":2592,"title":{},"content":{"410":{"position":[[743,9]]},"550":{"position":[[340,8]]}},"keywords":{}}],["break",{"_index":1694,"title":{},"content":{"295":{"position":[[234,8]]},"358":{"position":[[675,5]]},"455":{"position":[[709,8]]},"577":{"position":[[7,5]]},"627":{"position":[[163,5]]},"705":{"position":[[779,8]]},"761":{"position":[[145,5]]},"849":{"position":[[918,6]]},"1292":{"position":[[842,6]]},"1301":{"position":[[1492,5]]},"1304":{"position":[[876,6]]}},"keywords":{}}],["brick",{"_index":2750,"title":{},"content":{"412":{"position":[[11873,5]]}},"keywords":{}}],["bridg",{"_index":1636,"title":{},"content":{"275":{"position":[[228,6]]},"354":{"position":[[1052,8]]},"438":{"position":[[223,7]]},"502":{"position":[[522,7]]},"563":{"position":[[1073,8]]},"567":{"position":[[872,8]]},"576":{"position":[[328,7]]},"828":{"position":[[198,7]]},"836":{"position":[[1624,6]]},"841":{"position":[[920,8]]},"1211":{"position":[[484,6]]}},"keywords":{}}],["brief",{"_index":2949,"title":{},"content":{"449":{"position":[[19,5]]}},"keywords":{}}],["bring",{"_index":1069,"title":{},"content":{"118":{"position":[[297,6]]},"153":{"position":[[182,6]]},"500":{"position":[[365,5]]},"875":{"position":[[6711,6]]}},"keywords":{}}],["broad",{"_index":2105,"title":{},"content":{"364":{"position":[[354,5]]}},"keywords":{}}],["broadcast",{"_index":3169,"title":{},"content":{"491":{"position":[[712,9],[1726,9]]},"617":{"position":[[2226,9]]},"622":{"position":[[236,12]]},"710":{"position":[[1104,9]]},"743":{"position":[[44,9]]},"1126":{"position":[[488,9]]}},"keywords":{}}],["broadcastchannel",{"_index":2988,"title":{},"content":{"458":{"position":[[1074,16]]},"1088":{"position":[[525,17]]},"1124":{"position":[[1231,16]]},"1126":{"position":[[254,16]]},"1301":{"position":[[1146,16]]}},"keywords":{}}],["broader",{"_index":2802,"title":{},"content":{"419":{"position":[[645,7]]}},"keywords":{}}],["broken",{"_index":2635,"title":{},"content":{"411":{"position":[[4836,7]]}},"keywords":{}}],["brought",{"_index":6557,"title":{},"content":{"1316":{"position":[[2315,7]]}},"keywords":{}}],["brows",{"_index":1982,"title":{},"content":{"347":{"position":[[453,6]]},"362":{"position":[[1524,6]]},"439":{"position":[[242,8]]},"567":{"position":[[499,6]]},"591":{"position":[[695,6]]}},"keywords":{}}],["browser",{"_index":51,"title":{"60":{"position":[[34,7]]},"62":{"position":[[0,7],[41,8]]},"65":{"position":[[22,8]]},"66":{"position":[[0,7]]},"67":{"position":[[56,8]]},"71":{"position":[[26,7]]},"85":{"position":[[22,7]]},"86":{"position":[[40,8]]},"91":{"position":[[0,7]]},"98":{"position":[[57,8]]},"102":{"position":[[31,8]]},"299":{"position":[[0,7]]},"368":{"position":[[24,7]]},"391":{"position":[[35,8]]},"439":{"position":[[16,7]]},"449":{"position":[[39,8]]},"547":{"position":[[34,7]]},"607":{"position":[[34,7]]},"697":{"position":[[0,7]]},"755":{"position":[[26,9]]},"900":{"position":[[53,8]]},"1195":{"position":[[0,7]]},"1237":{"position":[[23,7]]},"1276":{"position":[[30,8]]}},"content":{"2":{"position":[[448,7]]},"3":{"position":[[71,8]]},"16":{"position":[[514,7]]},"17":{"position":[[377,8]]},"28":{"position":[[525,7]]},"30":{"position":[[302,8]]},"32":{"position":[[87,9]]},"35":{"position":[[278,9]]},"38":{"position":[[675,9]]},"45":{"position":[[191,8]]},"47":{"position":[[934,7],[1172,7],[1209,7]]},"53":{"position":[[139,7]]},"58":{"position":[[246,8]]},"59":{"position":[[89,7]]},"60":{"position":[[47,7]]},"63":{"position":[[88,8]]},"64":{"position":[[79,7]]},"65":{"position":[[60,8],[170,7],[474,7],[835,7],[1071,8],[1339,7],[1612,7],[1832,7]]},"66":{"position":[[7,7],[181,7],[412,8]]},"67":{"position":[[98,7]]},"71":{"position":[[33,7]]},"80":{"position":[[103,7]]},"82":{"position":[[137,7]]},"83":{"position":[[65,7],[319,8],[460,7]]},"84":{"position":[[62,7]]},"86":{"position":[[62,8]]},"87":{"position":[[17,7]]},"88":{"position":[[21,7]]},"89":{"position":[[1,7]]},"90":{"position":[[14,7]]},"91":{"position":[[1,7]]},"92":{"position":[[1,7]]},"93":{"position":[[21,7]]},"94":{"position":[[1,7]]},"95":{"position":[[95,7]]},"96":{"position":[[19,7]]},"97":{"position":[[28,8]]},"98":{"position":[[113,7],[213,8]]},"99":{"position":[[266,7]]},"100":{"position":[[128,7],[163,7],[212,7],[246,7]]},"101":{"position":[[87,7],[109,7],[228,7]]},"102":{"position":[[59,7],[123,7]]},"107":{"position":[[175,7]]},"112":{"position":[[166,9]]},"114":{"position":[[62,7],[490,7],[662,7]]},"120":{"position":[[129,7]]},"125":{"position":[[130,7]]},"131":{"position":[[289,7],[474,9],[638,7]]},"149":{"position":[[62,7]]},"160":{"position":[[93,7],[262,7]]},"162":{"position":[[197,8]]},"172":{"position":[[184,7]]},"174":{"position":[[2005,7],[2766,9]]},"181":{"position":[[80,7]]},"201":{"position":[[157,9]]},"207":{"position":[[144,8]]},"227":{"position":[[135,7],[220,7]]},"228":{"position":[[102,7],[266,7]]},"237":{"position":[[108,7]]},"239":{"position":[[212,9]]},"244":{"position":[[358,7]]},"248":{"position":[[47,9]]},"254":{"position":[[114,8],[298,8]]},"266":{"position":[[180,8],[1092,7]]},"287":{"position":[[375,8],[484,7]]},"298":{"position":[[1,8],[203,8],[486,9]]},"299":{"position":[[51,8],[211,7],[1635,8]]},"300":{"position":[[440,8],[563,7]]},"302":{"position":[[81,8]]},"304":{"position":[[202,7],[446,8]]},"321":{"position":[[349,7]]},"322":{"position":[[147,8]]},"325":{"position":[[62,7]]},"328":{"position":[[144,7]]},"336":{"position":[[117,8],[478,7]]},"343":{"position":[[55,8]]},"347":{"position":[[62,7]]},"357":{"position":[[589,7]]},"362":{"position":[[1133,7]]},"365":{"position":[[900,7]]},"368":{"position":[[45,7],[212,7],[336,7]]},"383":{"position":[[387,8]]},"384":{"position":[[94,8]]},"391":{"position":[[227,7]]},"392":{"position":[[122,8],[2108,8],[2170,7]]},"404":{"position":[[198,7]]},"408":{"position":[[173,7],[289,9],[525,9],[636,8],[799,8],[1520,7],[1646,8],[1889,8],[3582,7],[3834,8],[4610,8],[4935,8],[5032,7]]},"410":{"position":[[1527,7]]},"411":{"position":[[4138,9]]},"412":{"position":[[7667,8],[7710,7],[7784,8],[7963,8],[8063,7],[8554,9],[10201,7]]},"424":{"position":[[51,8],[327,7]]},"427":{"position":[[1316,7],[1468,8]]},"429":{"position":[[281,9]]},"435":{"position":[[166,9]]},"436":{"position":[[181,7]]},"439":{"position":[[7,7],[164,7],[314,7],[508,7]]},"451":{"position":[[166,8],[880,7]]},"453":{"position":[[129,8]]},"454":{"position":[[121,8],[224,8],[370,7],[550,7],[831,8],[938,7]]},"455":{"position":[[54,8],[281,8],[515,8],[732,8],[901,7]]},"456":{"position":[[145,7]]},"458":{"position":[[137,7],[1126,7],[1409,7],[1512,7]]},"460":{"position":[[236,7],[881,7]]},"461":{"position":[[180,8],[678,8],[1040,7],[1161,8]]},"467":{"position":[[607,7]]},"468":{"position":[[707,7]]},"470":{"position":[[93,7],[335,7]]},"475":{"position":[[46,7]]},"479":{"position":[[306,8]]},"490":{"position":[[379,7]]},"504":{"position":[[128,8]]},"511":{"position":[[62,7]]},"519":{"position":[[44,7]]},"524":{"position":[[255,8],[657,7],[916,7],[1007,7]]},"531":{"position":[[62,7]]},"533":{"position":[[88,8]]},"535":{"position":[[1221,8]]},"541":{"position":[[875,7]]},"545":{"position":[[167,8],[227,7]]},"547":{"position":[[47,7]]},"559":{"position":[[28,7],[82,8]]},"560":{"position":[[162,8]]},"562":{"position":[[1708,7]]},"569":{"position":[[1316,8]]},"571":{"position":[[409,7]]},"574":{"position":[[588,8],[868,7]]},"575":{"position":[[176,9]]},"581":{"position":[[164,8],[486,8],[572,7]]},"586":{"position":[[126,8]]},"591":{"position":[[62,7]]},"593":{"position":[[88,8]]},"595":{"position":[[1282,7]]},"600":{"position":[[196,7]]},"601":{"position":[[850,7]]},"605":{"position":[[167,8],[227,7]]},"607":{"position":[[47,7]]},"610":{"position":[[108,8]]},"611":{"position":[[148,8]]},"612":{"position":[[718,8]]},"613":{"position":[[764,7]]},"614":{"position":[[157,8],[375,9]]},"617":{"position":[[13,8],[191,7],[1214,7],[1636,8],[1808,7],[1838,7],[1942,7]]},"624":{"position":[[782,7]]},"630":{"position":[[276,9]]},"631":{"position":[[145,8]]},"634":{"position":[[411,7]]},"640":{"position":[[144,8],[200,8]]},"641":{"position":[[275,9],[331,9]]},"642":{"position":[[6,7]]},"659":{"position":[[134,8]]},"660":{"position":[[121,7],[442,9]]},"662":{"position":[[874,8]]},"676":{"position":[[35,8]]},"696":{"position":[[778,8],[1043,7],[1255,7],[1303,7],[1441,7],[1908,8]]},"697":{"position":[[211,8],[330,8],[593,7]]},"703":{"position":[[441,7],[504,8],[1033,7],[1121,8]]},"707":{"position":[[233,7]]},"709":{"position":[[43,7],[516,7],[725,7],[1194,8]]},"710":{"position":[[1141,7]]},"717":{"position":[[389,8]]},"723":{"position":[[820,7],[970,7]]},"728":{"position":[[105,9]]},"729":{"position":[[244,7]]},"736":{"position":[[336,7]]},"737":{"position":[[386,7]]},"740":{"position":[[270,7]]},"743":{"position":[[183,7]]},"749":{"position":[[8845,7]]},"755":{"position":[[56,8],[194,7]]},"793":{"position":[[193,9],[216,9],[245,9]]},"801":{"position":[[865,9]]},"821":{"position":[[516,8]]},"830":{"position":[[126,7]]},"835":{"position":[[76,8]]},"849":{"position":[[154,7],[235,7],[268,8],[374,7],[658,7]]},"863":{"position":[[226,9]]},"871":{"position":[[699,8]]},"879":{"position":[[537,7]]},"882":{"position":[[136,7]]},"896":{"position":[[321,8]]},"897":{"position":[[444,8]]},"898":{"position":[[2044,8],[2799,8]]},"901":{"position":[[84,8]]},"903":{"position":[[410,10]]},"904":{"position":[[491,8]]},"910":{"position":[[8,7]]},"911":{"position":[[18,8]]},"932":{"position":[[667,9]]},"956":{"position":[[122,7]]},"958":{"position":[[19,7]]},"962":{"position":[[515,7],[649,8]]},"964":{"position":[[254,7]]},"968":{"position":[[759,7]]},"979":{"position":[[203,7]]},"981":{"position":[[818,9],[942,8],[1535,7]]},"988":{"position":[[1167,7],[1241,7]]},"989":{"position":[[97,7],[434,7]]},"1003":{"position":[[164,7]]},"1030":{"position":[[80,7]]},"1088":{"position":[[261,7]]},"1115":{"position":[[648,7]]},"1117":{"position":[[553,7]]},"1120":{"position":[[308,7]]},"1141":{"position":[[111,7]]},"1157":{"position":[[118,8],[553,8]]},"1159":{"position":[[43,9]]},"1162":{"position":[[98,7],[414,7]]},"1164":{"position":[[1466,7]]},"1171":{"position":[[115,7]]},"1172":{"position":[[116,8]]},"1174":{"position":[[81,7]]},"1176":{"position":[[186,8],[506,7]]},"1181":{"position":[[164,7],[501,7]]},"1183":{"position":[[150,7],[240,7],[401,7]]},"1191":{"position":[[274,7]]},"1195":{"position":[[33,7]]},"1198":{"position":[[1392,8]]},"1202":{"position":[[283,7]]},"1206":{"position":[[51,7]]},"1207":{"position":[[91,8],[647,8]]},"1214":{"position":[[33,7],[72,9],[191,7],[283,7],[611,7]]},"1232":{"position":[[54,7]]},"1235":{"position":[[8,8]]},"1237":{"position":[[22,7]]},"1242":{"position":[[60,8]]},"1244":{"position":[[156,8]]},"1246":{"position":[[125,9],[477,10],[1969,9]]},"1249":{"position":[[56,9]]},"1276":{"position":[[8,7],[341,8],[540,8]]},"1292":{"position":[[259,9]]},"1295":{"position":[[421,8]]},"1297":{"position":[[16,8]]},"1298":{"position":[[124,7],[253,9]]},"1300":{"position":[[1089,7]]},"1301":{"position":[[113,7],[240,7],[797,7],[942,9],[1612,7]]},"1307":{"position":[[273,7]]},"1324":{"position":[[157,8],[212,8]]}},"keywords":{}}],["browser'",{"_index":1671,"title":{},"content":{"287":{"position":[[695,9]]},"346":{"position":[[653,9]]},"412":{"position":[[9987,9]]},"438":{"position":[[268,9]]},"504":{"position":[[204,9]]}},"keywords":{}}],["browser.fast",{"_index":6094,"title":{},"content":{"1156":{"position":[[109,12]]}},"keywords":{}}],["browser.observ",{"_index":3485,"title":{},"content":{"575":{"position":[[610,18]]}},"keywords":{}}],["browser/phon",{"_index":2734,"title":{},"content":{"412":{"position":[[9326,13]]}},"keywords":{}}],["browsers.memori",{"_index":1962,"title":{},"content":{"336":{"position":[[322,15]]},"581":{"position":[[326,15]]}},"keywords":{}}],["browsers.opf",{"_index":1670,"title":{},"content":{"287":{"position":[[649,13]]},"336":{"position":[[229,13]]},"524":{"position":[[377,13]]}},"keywords":{}}],["browser—no",{"_index":3404,"title":{},"content":{"559":{"position":[[909,10]]}},"keywords":{}}],["browser’",{"_index":1866,"title":{},"content":{"305":{"position":[[79,9]]}},"keywords":{}}],["bucket",{"_index":2336,"title":{"1140":{"position":[[8,8]]}},"content":{"396":{"position":[[201,7]]},"470":{"position":[[563,7]]},"1140":{"position":[[13,7],[190,7],[326,7]]},"1143":{"position":[[630,7]]}},"keywords":{}}],["buckets"",{"_index":6055,"title":{},"content":{"1140":{"position":[[118,14]]}},"keywords":{}}],["buffer",{"_index":6368,"title":{},"content":{"1282":{"position":[[43,6],[310,7]]}},"keywords":{}}],["bug",{"_index":3830,"title":{},"content":{"667":{"position":[[154,4]]},"670":{"position":[[18,4],[282,3],[346,3]]},"749":{"position":[[21956,4]]},"837":{"position":[[613,4]]},"1085":{"position":[[3138,4]]},"1120":{"position":[[368,5]]},"1133":{"position":[[514,3]]},"1288":{"position":[[76,3]]}},"keywords":{}}],["bugfix",{"_index":2976,"title":{},"content":{"455":{"position":[[627,6]]},"667":{"position":[[29,6]]},"668":{"position":[[69,6]]}},"keywords":{}}],["build",{"_index":97,"title":{"44":{"position":[[0,5]]},"69":{"position":[[0,5]]},"90":{"position":[[0,8]]},"100":{"position":[[0,5]]},"221":{"position":[[0,8]]},"228":{"position":[[0,5]]},"484":{"position":[[0,8]]},"488":{"position":[[0,8]]},"731":{"position":[[27,6]]},"1212":{"position":[[0,8]]},"1227":{"position":[[4,5]]},"1228":{"position":[[0,8]]},"1265":{"position":[[4,5]]},"1266":{"position":[[0,8]]}},"content":{"7":{"position":[[124,5]]},"24":{"position":[[534,5]]},"38":{"position":[[48,8]]},"59":{"position":[[191,8]]},"61":{"position":[[351,5]]},"69":{"position":[[54,5]]},"90":{"position":[[32,8]]},"100":{"position":[[92,5],[317,5]]},"105":{"position":[[150,5]]},"116":{"position":[[105,5]]},"122":{"position":[[86,5]]},"124":{"position":[[231,5]]},"148":{"position":[[219,5],[318,8]]},"151":{"position":[[437,8]]},"156":{"position":[[218,5]]},"168":{"position":[[294,8]]},"170":{"position":[[286,8]]},"174":{"position":[[82,8]]},"175":{"position":[[669,8]]},"177":{"position":[[99,5]]},"179":{"position":[[233,8],[402,5]]},"183":{"position":[[61,8]]},"184":{"position":[[42,8]]},"186":{"position":[[368,8]]},"198":{"position":[[375,5]]},"207":{"position":[[98,8]]},"221":{"position":[[152,5]]},"227":{"position":[[66,5],[290,6]]},"228":{"position":[[61,5],[340,5]]},"232":{"position":[[48,8]]},"239":{"position":[[107,8]]},"254":{"position":[[88,8]]},"267":{"position":[[257,8],[1203,5],[1595,8]]},"286":{"position":[[147,8]]},"287":{"position":[[1151,5],[1221,5]]},"289":{"position":[[1454,5]]},"313":{"position":[[187,5]]},"333":{"position":[[102,5]]},"362":{"position":[[975,8]]},"371":{"position":[[127,8]]},"381":{"position":[[384,5]]},"388":{"position":[[82,5],[333,5]]},"390":{"position":[[1643,5],[1897,5]]},"391":{"position":[[23,5]]},"396":{"position":[[583,6],[1467,8]]},"399":{"position":[[362,8]]},"408":{"position":[[2473,5]]},"411":{"position":[[1292,5],[3868,5]]},"412":{"position":[[10862,5]]},"422":{"position":[[413,5]]},"433":{"position":[[481,6]]},"445":{"position":[[2183,5],[2448,8]]},"446":{"position":[[1215,5]]},"447":{"position":[[401,5]]},"453":{"position":[[596,5],[779,5]]},"458":{"position":[[23,8]]},"459":{"position":[[319,5]]},"481":{"position":[[539,8]]},"483":{"position":[[380,5]]},"488":{"position":[[49,5]]},"498":{"position":[[16,8]]},"534":{"position":[[6,8]]},"541":{"position":[[67,5]]},"557":{"position":[[423,5]]},"569":{"position":[[1487,5]]},"571":{"position":[[641,5]]},"594":{"position":[[6,8]]},"613":{"position":[[1022,5]]},"617":{"position":[[1830,5]]},"625":{"position":[[84,5]]},"644":{"position":[[385,8]]},"668":{"position":[[177,5]]},"681":{"position":[[49,5]]},"703":{"position":[[659,5]]},"717":{"position":[[358,5]]},"731":{"position":[[264,5]]},"736":{"position":[[305,6]]},"749":{"position":[[21244,5],[23634,5]]},"781":{"position":[[217,5]]},"821":{"position":[[11,5],[95,5]]},"838":{"position":[[537,5]]},"860":{"position":[[651,5],[1193,5]]},"875":{"position":[[7567,5]]},"904":{"position":[[85,5],[172,5]]},"1006":{"position":[[16,8]]},"1021":{"position":[[27,8]]},"1085":{"position":[[2574,5]]},"1088":{"position":[[170,5]]},"1090":{"position":[[434,5]]},"1094":{"position":[[24,5],[95,5]]},"1123":{"position":[[724,5]]},"1124":{"position":[[874,5],[1955,5]]},"1137":{"position":[[148,5]]},"1143":{"position":[[168,5]]},"1149":{"position":[[417,8]]},"1167":{"position":[[57,5]]},"1174":{"position":[[39,5]]},"1212":{"position":[[112,5]]},"1228":{"position":[[4,5]]},"1235":{"position":[[73,5],[242,5]]},"1237":{"position":[[14,5]]},"1268":{"position":[[260,5],[384,5]]},"1286":{"position":[[178,5]]},"1292":{"position":[[874,5],[901,5],[924,5]]},"1313":{"position":[[465,5]]},"1314":{"position":[[18,5]]},"1320":{"position":[[611,5],[855,5]]},"1322":{"position":[[21,5],[129,5]]}},"keywords":{}}],["builder",{"_index":5116,"title":{"1064":{"position":[[6,7]]}},"content":{"886":{"position":[[297,7],[2143,7]]},"1064":{"position":[[58,7],[92,7],[202,9]]}},"keywords":{}}],["built",{"_index":614,"title":{"80":{"position":[[0,5]]},"109":{"position":[[0,5]]},"237":{"position":[[0,5]]},"311":{"position":[[3,5]]}},"content":{"39":{"position":[[63,5]]},"40":{"position":[[640,5]]},"47":{"position":[[983,5],[1082,5]]},"76":{"position":[[7,5]]},"79":{"position":[[15,5]]},"99":{"position":[[302,5]]},"107":{"position":[[9,5]]},"118":{"position":[[42,5]]},"120":{"position":[[91,5]]},"123":{"position":[[15,5]]},"126":{"position":[[157,5]]},"131":{"position":[[398,5]]},"132":{"position":[[129,5]]},"139":{"position":[[15,5]]},"153":{"position":[[128,5]]},"155":{"position":[[134,5]]},"161":{"position":[[155,5]]},"162":{"position":[[177,5]]},"174":{"position":[[1265,5],[1814,5]]},"181":{"position":[[32,5]]},"186":{"position":[[310,5]]},"206":{"position":[[145,5]]},"212":{"position":[[85,5]]},"230":{"position":[[61,5]]},"237":{"position":[[13,5]]},"269":{"position":[[177,5]]},"303":{"position":[[308,5]]},"310":{"position":[[287,5]]},"318":{"position":[[59,5]]},"322":{"position":[[39,5]]},"331":{"position":[[183,5]]},"354":{"position":[[962,5]]},"359":{"position":[[61,5]]},"360":{"position":[[446,5]]},"378":{"position":[[124,5]]},"382":{"position":[[268,5]]},"387":{"position":[[53,5]]},"421":{"position":[[576,5]]},"424":{"position":[[27,5]]},"445":{"position":[[106,5]]},"476":{"position":[[168,5]]},"490":{"position":[[16,5]]},"513":{"position":[[126,5]]},"519":{"position":[[113,5]]},"524":{"position":[[235,5]]},"535":{"position":[[1112,5]]},"544":{"position":[[313,5]]},"551":{"position":[[98,5]]},"559":{"position":[[19,5]]},"566":{"position":[[528,5],[1000,5],[1130,5]]},"569":{"position":[[1243,5]]},"575":{"position":[[41,5]]},"595":{"position":[[1189,5]]},"604":{"position":[[266,5]]},"631":{"position":[[232,5]]},"688":{"position":[[178,5]]},"836":{"position":[[1787,5]]},"838":{"position":[[593,5]]},"841":{"position":[[507,5],[575,5],[760,5]]},"860":{"position":[[914,5]]},"1072":{"position":[[1040,5],[1276,5],[1568,5],[2048,5]]},"1085":{"position":[[1944,5],[2101,5]]},"1148":{"position":[[304,5]]},"1156":{"position":[[94,5]]},"1307":{"position":[[815,5]]},"1320":{"position":[[698,5]]}},"keywords":{}}],["bulk",{"_index":792,"title":{"466":{"position":[[4,4]]},"467":{"position":[[4,4]]},"795":{"position":[[4,4]]}},"content":{"52":{"position":[[166,4]]},"301":{"position":[[217,4]]},"396":{"position":[[1652,4]]},"400":{"position":[[435,4]]},"408":{"position":[[2526,4]]},"411":{"position":[[270,4]]},"452":{"position":[[597,5]]},"459":{"position":[[478,4]]},"462":{"position":[[163,4]]},"466":{"position":[[32,4],[411,4]]},"467":{"position":[[34,4]]},"468":{"position":[[149,4]]},"539":{"position":[[166,4]]},"599":{"position":[[175,4]]},"795":{"position":[[72,4]]},"863":{"position":[[339,4],[429,4]]},"944":{"position":[[53,4]]},"945":{"position":[[53,4]]},"981":{"position":[[1167,5]]},"1161":{"position":[[157,4]]},"1174":{"position":[[135,4]]},"1180":{"position":[[157,4]]},"1194":{"position":[[345,7],[388,4],[431,7]]}},"keywords":{}}],["bulk.less",{"_index":3156,"title":{},"content":{"487":{"position":[[142,9]]}},"keywords":{}}],["bulki",{"_index":3259,"title":{},"content":{"521":{"position":[[206,5]]}},"keywords":{}}],["bulkinsert",{"_index":4252,"title":{"944":{"position":[[0,13]]}},"content":{"749":{"position":[[9064,13]]},"944":{"position":[[369,10],[507,12]]}},"keywords":{}}],["bulkremov",{"_index":5336,"title":{"945":{"position":[[0,13]]}},"content":{},"keywords":{}}],["bulkupsert",{"_index":4253,"title":{"947":{"position":[[0,13]]}},"content":{"749":{"position":[[9082,13]]}},"keywords":{}}],["bulkwrit",{"_index":4121,"title":{},"content":{"746":{"position":[[681,10]]},"749":{"position":[[1551,11]]}},"keywords":{}}],["bun",{"_index":2932,"title":{"440":{"position":[[25,4]]}},"content":{"440":{"position":[[196,3],[369,4],[464,3]]}},"keywords":{}}],["bun:sqlit",{"_index":2934,"title":{},"content":{"440":{"position":[[392,10]]}},"keywords":{}}],["bundl",{"_index":1261,"title":{},"content":{"188":{"position":[[1659,6],[1760,7]]},"333":{"position":[[191,7]]},"357":{"position":[[377,7]]},"412":{"position":[[862,7],[9192,6]]},"581":{"position":[[541,6]]},"708":{"position":[[560,7]]},"717":{"position":[[413,8]]},"732":{"position":[[72,6]]},"962":{"position":[[293,6]]},"1176":{"position":[[10,6]]},"1200":{"position":[[5,6]]},"1227":{"position":[[100,7],[155,7]]},"1242":{"position":[[131,6]]},"1265":{"position":[[93,7],[148,7]]},"1266":{"position":[[20,6]]},"1270":{"position":[[548,7]]},"1292":{"position":[[815,6]]}},"keywords":{}}],["bundler",{"_index":1937,"title":{},"content":{"333":{"position":[[135,8]]},"729":{"position":[[269,9]]},"1202":{"position":[[308,9]]},"1268":{"position":[[285,8]]}},"keywords":{}}],["burden",{"_index":1010,"title":{},"content":{"91":{"position":[[212,6]]},"224":{"position":[[154,6]]},"412":{"position":[[4335,6]]},"802":{"position":[[739,6]]},"1107":{"position":[[952,7]]}},"keywords":{}}],["busi",{"_index":667,"title":{"1009":{"position":[[30,8]]}},"content":{"43":{"position":[[93,8]]},"354":{"position":[[617,8],[1488,8]]},"411":{"position":[[1597,8]]},"419":{"position":[[1430,10]]},"681":{"position":[[170,8]]},"687":{"position":[[32,8]]}},"keywords":{}}],["button",{"_index":3159,"title":{},"content":{"489":{"position":[[387,6]]},"703":{"position":[[1426,6]]},"1313":{"position":[[600,6]]}},"keywords":{}}],["buy",{"_index":2808,"title":{},"content":{"419":{"position":[[1411,6]]}},"keywords":{}}],["bwvvdw",{"_index":5296,"title":{},"content":{"918":{"position":[[162,11]]},"931":{"position":[[190,10]]}},"keywords":{}}],["bypass",{"_index":1087,"title":{},"content":{"129":{"position":[[158,6]]},"289":{"position":[[1751,9]]},"901":{"position":[[177,9]]}},"keywords":{}}],["byte",{"_index":2970,"title":{},"content":{"454":{"position":[[647,4]]},"1206":{"position":[[327,4],[335,4]]},"1208":{"position":[[1643,6]]}},"keywords":{}}],["c",{"_index":82,"title":{},"content":{"6":{"position":[[29,3]]},"19":{"position":[[681,1],[695,1]]},"408":{"position":[[3546,3],[3550,4]]},"661":{"position":[[54,1]]},"711":{"position":[[58,1]]},"800":{"position":[[244,3]]},"836":{"position":[[56,1]]},"860":{"position":[[1267,1]]},"871":{"position":[[528,1]]},"897":{"position":[[35,1]]},"982":{"position":[[248,1]]}},"keywords":{}}],["c+d.the",{"_index":5437,"title":{},"content":{"982":{"position":[[355,7]]}},"keywords":{}}],["c.or",{"_index":337,"title":{},"content":{"19":{"position":[[689,5]]}},"keywords":{}}],["c.rating("gt"",{"_index":338,"title":{},"content":{"19":{"position":[[703,24]]}},"keywords":{}}],["c1",{"_index":5451,"title":{},"content":{"987":{"position":[[180,2],[397,2],[673,2]]}},"keywords":{}}],["c1.rxdb",{"_index":5453,"title":{},"content":{"987":{"position":[[486,7]]}},"keywords":{}}],["c2",{"_index":5452,"title":{},"content":{"987":{"position":[[216,2],[329,2],[717,2]]}},"keywords":{}}],["cabl",{"_index":4592,"title":{},"content":{"780":{"position":[[251,6]]}},"keywords":{}}],["cach",{"_index":561,"title":{"87":{"position":[[21,8]]},"216":{"position":[[0,8]]},"815":{"position":[[0,5]]},"1255":{"position":[[0,8]]},"1321":{"position":[[0,7]]}},"content":{"35":{"position":[[538,7]]},"37":{"position":[[253,7],[344,7]]},"39":{"position":[[336,6]]},"65":{"position":[[141,8],[192,5]]},"87":{"position":[[64,8],[197,7]]},"117":{"position":[[177,7]]},"157":{"position":[[148,7]]},"164":{"position":[[140,7]]},"173":{"position":[[628,8],[678,7],[717,7]]},"189":{"position":[[624,5]]},"206":{"position":[[36,8]]},"215":{"position":[[141,5]]},"216":{"position":[[44,7],[230,7]]},"241":{"position":[[514,8]]},"253":{"position":[[35,8]]},"265":{"position":[[950,8]]},"280":{"position":[[181,6]]},"287":{"position":[[944,5]]},"305":{"position":[[202,6]]},"373":{"position":[[529,8]]},"376":{"position":[[230,8]]},"408":{"position":[[735,5],[1291,5]]},"412":{"position":[[8664,5]]},"414":{"position":[[316,8]]},"416":{"position":[[124,6]]},"418":{"position":[[603,9],[867,6]]},"463":{"position":[[1339,7]]},"467":{"position":[[239,6],[507,6]]},"500":{"position":[[613,7]]},"612":{"position":[[1937,6],[1958,7]]},"616":{"position":[[927,7]]},"630":{"position":[[885,8],[930,8]]},"770":{"position":[[583,6]]},"793":{"position":[[948,5]]},"800":{"position":[[406,6]]},"815":{"position":[[43,5],[98,6]]},"816":{"position":[[88,5]]},"818":{"position":[[3,5],[208,6]]},"841":{"position":[[841,8]]},"856":{"position":[[62,6]]},"875":{"position":[[7349,6],[7370,6]]},"899":{"position":[[106,8]]},"934":{"position":[[709,5]]},"977":{"position":[[503,5]]},"1067":{"position":[[1109,8]]},"1068":{"position":[[267,6]]},"1071":{"position":[[519,6]]},"1072":{"position":[[185,6]]},"1321":{"position":[[208,5],[392,7],[975,5],[1001,6],[1086,5]]}},"keywords":{}}],["cache.it",{"_index":4700,"title":{},"content":{"816":{"position":[[279,8]]}},"keywords":{}}],["cachereplacementpolici",{"_index":4705,"title":{},"content":{"818":{"position":[[443,23],[549,23]]},"934":{"position":[[650,23]]}},"keywords":{}}],["calcul",{"_index":2288,"title":{"393":{"position":[[21,11]]}},"content":{"393":{"position":[[822,9]]},"394":{"position":[[271,11],[342,11]]},"396":{"position":[[1126,9]]},"397":{"position":[[1437,9],[1529,10],[1965,9]]},"398":{"position":[[535,9]]},"401":{"position":[[38,9]]},"402":{"position":[[428,11],[1812,11]]},"490":{"position":[[595,10]]},"927":{"position":[[69,10],[103,10]]},"1072":{"position":[[1129,12]]},"1250":{"position":[[198,9],[567,10]]},"1318":{"position":[[879,10],[1078,9]]}},"keywords":{}}],["call",{"_index":154,"title":{"654":{"position":[[0,7]]}},"content":{"11":{"position":[[371,6]]},"27":{"position":[[187,5]]},"38":{"position":[[258,6],[356,7]]},"212":{"position":[[339,4]]},"251":{"position":[[128,5]]},"277":{"position":[[27,6]]},"320":{"position":[[77,6]]},"334":{"position":[[86,4]]},"392":{"position":[[1971,7]]},"396":{"position":[[1629,6]]},"408":{"position":[[2764,5],[3314,5],[4047,6]]},"411":{"position":[[2838,6]]},"452":{"position":[[743,5]]},"454":{"position":[[973,6]]},"461":{"position":[[1270,7]]},"474":{"position":[[19,4]]},"494":{"position":[[463,4]]},"566":{"position":[[670,6]]},"574":{"position":[[663,6]]},"581":{"position":[[43,6]]},"647":{"position":[[55,6],[474,4]]},"654":{"position":[[50,7]]},"655":{"position":[[120,4]]},"659":{"position":[[335,5]]},"675":{"position":[[181,4]]},"676":{"position":[[240,4]]},"683":{"position":[[134,7],[241,7]]},"684":{"position":[[78,7]]},"698":{"position":[[342,6],[2499,6],[2567,4],[3010,6]]},"703":{"position":[[253,4],[306,5],[366,5],[422,5],[561,5]]},"711":{"position":[[1675,4]]},"721":{"position":[[369,7]]},"746":{"position":[[233,7]]},"749":{"position":[[1573,6],[2022,6],[2750,7],[4282,6],[11026,6],[11165,6],[22269,7]]},"752":{"position":[[81,7]]},"759":{"position":[[1079,4]]},"770":{"position":[[14,6]]},"772":{"position":[[607,7]]},"775":{"position":[[788,7]]},"788":{"position":[[48,6]]},"790":{"position":[[59,6]]},"792":{"position":[[61,6]]},"800":{"position":[[236,5]]},"806":{"position":[[317,6],[378,5]]},"825":{"position":[[292,7]]},"835":{"position":[[429,4]]},"846":{"position":[[1322,4]]},"848":{"position":[[535,4]]},"854":{"position":[[524,7]]},"863":{"position":[[532,5],[743,5]]},"866":{"position":[[163,4]]},"875":{"position":[[1750,7],[5875,4]]},"878":{"position":[[152,7]]},"879":{"position":[[316,4]]},"885":{"position":[[498,6]]},"890":{"position":[[10,4]]},"904":{"position":[[1470,4]]},"939":{"position":[[50,4]]},"941":{"position":[[1,7]]},"944":{"position":[[91,7],[499,4]]},"947":{"position":[[107,6]]},"958":{"position":[[203,4],[685,4]]},"966":{"position":[[766,4]]},"967":{"position":[[351,4]]},"970":{"position":[[1,7]]},"981":{"position":[[1053,7]]},"983":{"position":[[419,6]]},"987":{"position":[[335,7],[543,4],[1062,7]]},"988":{"position":[[59,7],[1598,7],[3288,6],[4224,4],[4617,6]]},"999":{"position":[[146,7]]},"1007":{"position":[[43,6],[1951,6]]},"1027":{"position":[[106,6]]},"1033":{"position":[[935,4]]},"1035":{"position":[[53,4]]},"1036":{"position":[[48,4]]},"1046":{"position":[[1,7]]},"1055":{"position":[[28,4]]},"1057":{"position":[[238,4]]},"1058":{"position":[[505,6]]},"1088":{"position":[[598,7]]},"1097":{"position":[[273,4]]},"1100":{"position":[[353,7]]},"1112":{"position":[[457,7]]},"1114":{"position":[[272,4],[325,7]]},"1115":{"position":[[42,6],[823,4]]},"1125":{"position":[[126,7]]},"1140":{"position":[[97,6]]},"1148":{"position":[[873,7]]},"1150":{"position":[[27,6]]},"1151":{"position":[[814,4]]},"1174":{"position":[[562,4]]},"1175":{"position":[[673,5],[755,6]]},"1178":{"position":[[811,4]]},"1194":{"position":[[670,4],[865,5],[1003,5]]},"1212":{"position":[[187,7]]},"1220":{"position":[[422,4]]},"1229":{"position":[[121,7]]},"1250":{"position":[[562,4]]},"1267":{"position":[[6,4],[428,4]]},"1268":{"position":[[115,7]]},"1272":{"position":[[188,6]]},"1282":{"position":[[1091,7]]},"1294":{"position":[[400,5],[746,4]]},"1295":{"position":[[204,6]]},"1298":{"position":[[166,4]]},"1304":{"position":[[1852,6]]},"1307":{"position":[[489,7]]},"1316":{"position":[[747,6]]}},"keywords":{}}],["call.find",{"_index":6167,"title":{},"content":{"1194":{"position":[[777,9]]}},"keywords":{}}],["call.insert",{"_index":6164,"title":{},"content":{"1194":{"position":[[508,11]]}},"keywords":{}}],["callback",{"_index":700,"title":{},"content":{"45":{"position":[[311,8]]},"47":{"position":[[81,8],[140,8]]},"302":{"position":[[437,10]]},"521":{"position":[[76,8]]},"535":{"position":[[119,8],[167,9]]},"595":{"position":[[119,8],[180,9]]},"1274":{"position":[[486,8]]},"1279":{"position":[[873,8]]}},"keywords":{}}],["calledpreinsert",{"_index":4522,"title":{},"content":{"767":{"position":[[98,15]]}},"keywords":{}}],["calledpreremov",{"_index":4548,"title":{},"content":{"769":{"position":[[90,15]]}},"keywords":{}}],["calledpresav",{"_index":4536,"title":{},"content":{"768":{"position":[[83,13]]}},"keywords":{}}],["came",{"_index":4595,"title":{},"content":{"785":{"position":[[586,4]]},"888":{"position":[[701,4],[747,4]]},"1009":{"position":[[1027,4]]},"1198":{"position":[[307,4]]}},"keywords":{}}],["can't",{"_index":941,"title":{},"content":{"66":{"position":[[213,5]]},"408":{"position":[[2544,5]]},"412":{"position":[[1458,5]]},"418":{"position":[[219,5]]},"440":{"position":[[309,5]]},"749":{"position":[[4365,5],[4616,5],[10613,5],[13664,5]]},"1085":{"position":[[2684,5]]},"1112":{"position":[[393,5]]}},"keywords":{}}],["cancel",{"_index":4349,"title":{"997":{"position":[[0,9]]}},"content":{"749":{"position":[[16430,8],[16696,9]]},"854":{"position":[[1667,6],[1760,8]]},"988":{"position":[[799,6]]},"993":{"position":[[515,9]]},"994":{"position":[[204,6]]},"997":{"position":[[1,7]]},"999":{"position":[[1,7]]},"1000":{"position":[[116,9]]},"1009":{"position":[[782,10]]}},"keywords":{}}],["candid",{"_index":2311,"title":{},"content":{"394":{"position":[[690,10]]},"398":{"position":[[787,10],[2055,10]]}},"keywords":{}}],["candidates.add(d",{"_index":2406,"title":{},"content":{"398":{"position":[[1373,19],[1415,19],[2533,19]]}},"keywords":{}}],["candidates.map(doc",{"_index":2314,"title":{},"content":{"394":{"position":[[762,18]]}},"keywords":{}}],["can’t",{"_index":2019,"title":{},"content":{"354":{"position":[[321,5]]},"559":{"position":[[1466,5]]}},"keywords":{}}],["cap",{"_index":870,"title":{},"content":{"58":{"position":[[259,3]]},"298":{"position":[[699,5]]},"299":{"position":[[290,3]]},"304":{"position":[[22,3]]},"408":{"position":[[651,6],[2160,7]]},"451":{"position":[[415,4]]}},"keywords":{}}],["capabilities.sqlit",{"_index":1292,"title":{},"content":{"189":{"position":[[266,19]]}},"keywords":{}}],["capabl",{"_index":265,"title":{"280":{"position":[[8,8]]}},"content":{"15":{"position":[[524,8]]},"27":{"position":[[295,13]]},"34":{"position":[[565,13]]},"39":{"position":[[221,13]]},"40":{"position":[[801,12]]},"61":{"position":[[389,7]]},"83":{"position":[[116,13]]},"84":{"position":[[45,12]]},"89":{"position":[[211,10]]},"95":{"position":[[135,10]]},"96":{"position":[[225,12]]},"114":{"position":[[45,12]]},"122":{"position":[[273,10]]},"126":{"position":[[182,13]]},"133":{"position":[[267,10]]},"136":{"position":[[283,10]]},"148":{"position":[[111,13],[398,7]]},"149":{"position":[[45,12]]},"151":{"position":[[129,13]]},"153":{"position":[[350,7]]},"161":{"position":[[227,12]]},"165":{"position":[[395,12]]},"166":{"position":[[92,13]]},"168":{"position":[[256,10]]},"173":{"position":[[2390,12]]},"174":{"position":[[1368,12],[2203,12],[3245,13]]},"175":{"position":[[42,12]]},"184":{"position":[[110,12]]},"189":{"position":[[378,13]]},"198":{"position":[[173,13]]},"224":{"position":[[118,12]]},"226":{"position":[[379,12]]},"254":{"position":[[276,13]]},"255":{"position":[[1865,13]]},"263":{"position":[[145,13]]},"267":{"position":[[8,12],[212,12]]},"280":{"position":[[397,10]]},"283":{"position":[[63,13]]},"285":{"position":[[141,13]]},"286":{"position":[[437,13]]},"289":{"position":[[36,12]]},"292":{"position":[[321,10]]},"293":{"position":[[309,10]]},"294":{"position":[[37,13]]},"317":{"position":[[269,12]]},"321":{"position":[[580,13]]},"331":{"position":[[364,7]]},"347":{"position":[[45,12]]},"362":{"position":[[1116,12]]},"365":{"position":[[1505,12]]},"370":{"position":[[49,13]]},"373":{"position":[[434,12]]},"383":{"position":[[231,12]]},"384":{"position":[[305,7]]},"407":{"position":[[472,11]]},"408":{"position":[[67,12],[1374,12]]},"411":{"position":[[5503,7]]},"412":{"position":[[1514,7]]},"418":{"position":[[590,12]]},"419":{"position":[[30,7]]},"427":{"position":[[912,13]]},"430":{"position":[[322,13]]},"432":{"position":[[1004,13]]},"433":{"position":[[400,13]]},"438":{"position":[[375,13]]},"444":{"position":[[527,12]]},"445":{"position":[[284,12]]},"446":{"position":[[300,12],[624,12]]},"486":{"position":[[175,11]]},"495":{"position":[[549,7]]},"498":{"position":[[499,12]]},"501":{"position":[[232,13]]},"502":{"position":[[700,13]]},"504":{"position":[[108,12]]},"509":{"position":[[91,10]]},"510":{"position":[[211,13],[394,8]]},"511":{"position":[[45,12]]},"513":{"position":[[309,13]]},"520":{"position":[[143,13]]},"530":{"position":[[262,13]]},"531":{"position":[[45,12]]},"535":{"position":[[415,12]]},"540":{"position":[[40,13]]},"544":{"position":[[333,13]]},"548":{"position":[[236,7]]},"551":{"position":[[118,13]]},"560":{"position":[[736,12]]},"566":{"position":[[205,12]]},"567":{"position":[[121,13]]},"569":{"position":[[1550,7]]},"574":{"position":[[192,13]]},"575":{"position":[[92,12]]},"584":{"position":[[179,10]]},"591":{"position":[[45,12]]},"595":{"position":[[443,12]]},"600":{"position":[[40,13]]},"604":{"position":[[286,13]]},"608":{"position":[[236,7]]},"613":{"position":[[194,13]]},"614":{"position":[[124,12]]},"622":{"position":[[13,7],[180,7]]},"644":{"position":[[507,13]]},"659":{"position":[[778,12]]},"801":{"position":[[842,12]]},"831":{"position":[[369,10]]},"835":{"position":[[883,12]]},"860":{"position":[[227,12]]},"875":{"position":[[9241,7]]},"888":{"position":[[160,7]]},"901":{"position":[[502,13]]},"996":{"position":[[325,7]]},"1184":{"position":[[22,7]]},"1274":{"position":[[583,7]]},"1279":{"position":[[970,7]]}},"keywords":{}}],["capac",{"_index":1193,"title":{},"content":{"169":{"position":[[315,11]]},"392":{"position":[[4916,8]]},"408":{"position":[[960,9]]},"469":{"position":[[1244,8]]},"772":{"position":[[483,9]]},"1089":{"position":[[37,8]]},"1157":{"position":[[108,9]]}},"keywords":{}}],["capacitor",{"_index":142,"title":{"657":{"position":[[0,9]]},"658":{"position":[[23,10]]},"1279":{"position":[[18,10]]}},"content":{"10":{"position":[[430,9]]},"11":{"position":[[77,10]]},"59":{"position":[[235,9]]},"317":{"position":[[25,9]]},"445":{"position":[[1791,10]]},"446":{"position":[[1158,9]]},"447":{"position":[[254,10]]},"535":{"position":[[1312,10]]},"546":{"position":[[279,9]]},"606":{"position":[[278,10]]},"659":{"position":[[1,9]]},"660":{"position":[[7,9],[493,9]]},"661":{"position":[[228,10],[269,10],[432,10],[552,10],[843,9],[1055,11],[1478,9]]},"662":{"position":[[348,10],[484,9],[944,10],[1157,9],[1204,9],[1290,10],[1376,9],[1729,11],[1769,9],[2246,10]]},"793":{"position":[[226,10],[298,11]]},"1196":{"position":[[67,11]]},"1235":{"position":[[382,10]]},"1247":{"position":[[119,10]]},"1274":{"position":[[511,9]]},"1279":{"position":[[20,9],[78,9],[283,9],[480,9],[551,11],[591,9],[898,9],[1068,10]]},"1282":{"position":[[835,11],[1206,11]]}},"keywords":{}}],["capacitor)n",{"_index":3120,"title":{},"content":{"479":{"position":[[359,16]]}},"keywords":{}}],["capacitor.j",{"_index":1052,"title":{"1214":{"position":[[34,13]]}},"content":{"112":{"position":[[143,14]]},"174":{"position":[[2747,14]]},"239":{"position":[[179,13]]},"1214":{"position":[[1008,12]]}},"keywords":{}}],["capacitor/cor",{"_index":3795,"title":{},"content":{"661":{"position":[[860,18]]},"662":{"position":[[1786,18]]},"1279":{"position":[[608,18]]}},"keywords":{}}],["capacitor/cordova",{"_index":146,"title":{},"content":{"11":{"position":[[210,17]]}},"keywords":{}}],["capacitor/prefer",{"_index":3774,"title":{},"content":{"659":{"position":[[248,22],[458,25]]}},"keywords":{}}],["capacitors.j",{"_index":2110,"title":{},"content":{"365":{"position":[[1070,13]]}},"keywords":{}}],["capacitorsqlit",{"_index":3796,"title":{},"content":{"661":{"position":[[888,16]]},"662":{"position":[[1688,16]]},"1279":{"position":[[510,16]]}},"keywords":{}}],["capechoresult",{"_index":3802,"title":{},"content":{"661":{"position":[[992,14]]}},"keywords":{}}],["capncdatabasepathresult",{"_index":3804,"title":{},"content":{"661":{"position":[[1024,23]]}},"keywords":{}}],["capsqlitechang",{"_index":3800,"title":{},"content":{"661":{"position":[[957,17]]}},"keywords":{}}],["capsqliteresult",{"_index":3803,"title":{},"content":{"661":{"position":[[1007,16]]}},"keywords":{}}],["capsqliteset",{"_index":3799,"title":{},"content":{"661":{"position":[[943,13]]}},"keywords":{}}],["capsqlitevalu",{"_index":3801,"title":{},"content":{"661":{"position":[[975,16]]}},"keywords":{}}],["captiv",{"_index":3225,"title":{},"content":{"502":{"position":[[875,9]]}},"keywords":{}}],["captur",{"_index":3287,"title":{},"content":{"525":{"position":[[165,8]]}},"keywords":{}}],["car",{"_index":3457,"title":{},"content":{"569":{"position":[[664,3]]}},"keywords":{}}],["card",{"_index":2576,"title":{},"content":{"408":{"position":[[5378,5]]}},"keywords":{}}],["care",{"_index":889,"title":{"1032":{"position":[[3,7]]}},"content":{"61":{"position":[[430,4]]},"143":{"position":[[203,4]]},"164":{"position":[[318,4]]},"412":{"position":[[11802,7]]},"703":{"position":[[1201,4]]},"780":{"position":[[692,4]]},"785":{"position":[[563,4]]},"1115":{"position":[[857,4]]},"1120":{"position":[[273,6]]},"1141":{"position":[[142,4]]},"1150":{"position":[[503,4]]},"1183":{"position":[[504,4]]}},"keywords":{}}],["carefulli",{"_index":1980,"title":{},"content":{"346":{"position":[[823,9]]},"441":{"position":[[281,10]]},"566":{"position":[[958,9]]},"839":{"position":[[1343,9]]}},"keywords":{}}],["cargo",{"_index":6359,"title":{},"content":{"1280":{"position":[[107,5]]}},"keywords":{}}],["carol",{"_index":4679,"title":{},"content":{"810":{"position":[[248,7]]},"811":{"position":[[228,7]]},"813":{"position":[[311,8]]}},"keywords":{}}],["carolina",{"_index":5723,"title":{},"content":{"1051":{"position":[[255,11],[525,11]]}},"keywords":{}}],["carri",{"_index":3513,"title":{},"content":{"581":{"position":[[524,7]]}},"keywords":{}}],["case",{"_index":67,"title":{"267":{"position":[[4,5]]},"375":{"position":[[4,5]]},"446":{"position":[[4,5]]},"624":{"position":[[24,4]]},"736":{"position":[[4,4]]},"765":{"position":[[4,6]]},"1021":{"position":[[4,5]]},"1124":{"position":[[4,6]]}},"content":{"4":{"position":[[158,6]]},"13":{"position":[[300,6]]},"14":{"position":[[915,5]]},"36":{"position":[[485,6]]},"58":{"position":[[41,6],[127,6]]},"162":{"position":[[818,5]]},"267":{"position":[[94,5],[1456,6]]},"287":{"position":[[130,6]]},"321":{"position":[[444,6]]},"325":{"position":[[281,6]]},"372":{"position":[[9,6]]},"386":{"position":[[64,5]]},"390":{"position":[[1723,6]]},"398":{"position":[[360,6]]},"400":{"position":[[522,4]]},"401":{"position":[[934,5]]},"412":{"position":[[6390,4],[11830,5],[15335,5]]},"418":{"position":[[202,4]]},"420":{"position":[[1228,5],[1458,5]]},"430":{"position":[[77,5]]},"432":{"position":[[770,6],[1355,4]]},"436":{"position":[[387,6]]},"444":{"position":[[421,6]]},"449":{"position":[[79,4]]},"460":{"position":[[461,4]]},"462":{"position":[[244,4]]},"543":{"position":[[238,6]]},"559":{"position":[[1554,6]]},"603":{"position":[[236,6]]},"611":{"position":[[1364,5]]},"614":{"position":[[748,5]]},"617":{"position":[[1130,6]]},"621":{"position":[[653,5]]},"624":{"position":[[104,4],[1330,6]]},"653":{"position":[[82,6]]},"670":{"position":[[57,4],[362,5]]},"681":{"position":[[95,6],[196,6]]},"682":{"position":[[245,6]]},"687":{"position":[[127,5]]},"689":{"position":[[471,6]]},"698":{"position":[[959,6],[2081,6]]},"703":{"position":[[690,5],[1260,6],[1623,6]]},"707":{"position":[[428,4]]},"714":{"position":[[977,6]]},"723":{"position":[[2295,5]]},"730":{"position":[[89,6]]},"740":{"position":[[202,5]]},"815":{"position":[[288,5]]},"829":{"position":[[2138,5],[2915,5]]},"834":{"position":[[124,6]]},"841":{"position":[[1326,5]]},"875":{"position":[[8545,4]]},"881":{"position":[[38,5]]},"902":{"position":[[942,6]]},"904":{"position":[[2012,5]]},"962":{"position":[[213,4]]},"966":{"position":[[239,5]]},"987":{"position":[[246,4]]},"990":{"position":[[389,5]]},"1022":{"position":[[343,4]]},"1065":{"position":[[1197,4]]},"1068":{"position":[[454,4]]},"1072":{"position":[[1635,4],[1766,4],[1999,4],[2069,4],[2187,4],[2588,4],[2723,4]]},"1090":{"position":[[1241,5]]},"1091":{"position":[[139,5]]},"1105":{"position":[[398,5]]},"1124":{"position":[[100,5]]},"1146":{"position":[[95,6]]},"1152":{"position":[[71,5]]},"1157":{"position":[[483,5]]},"1193":{"position":[[193,5]]},"1195":{"position":[[130,5]]},"1198":{"position":[[62,4],[1481,5]]},"1208":{"position":[[628,6]]},"1222":{"position":[[1032,5]]},"1243":{"position":[[67,6]]},"1305":{"position":[[244,6]]},"1307":{"position":[[621,5]]}},"keywords":{}}],["cases.discord",{"_index":2862,"title":{},"content":{"422":{"position":[[163,14]]}},"keywords":{}}],["cases.web",{"_index":3344,"title":{},"content":{"554":{"position":[[110,9]]}},"keywords":{}}],["cassandra",{"_index":6582,"title":{},"content":{"1324":{"position":[[921,10]]}},"keywords":{}}],["cat.txt",{"_index":4610,"title":{},"content":{"792":{"position":[[359,10]]},"917":{"position":[[173,10]]},"918":{"position":[[134,10]]}},"keywords":{}}],["catch",{"_index":1811,"title":{},"content":{"302":{"position":[[836,5]]},"361":{"position":[[150,8]]},"412":{"position":[[6068,5]]},"838":{"position":[[1017,5]]},"875":{"position":[[8854,5]]},"984":{"position":[[110,5]]},"995":{"position":[[1560,11]]},"1031":{"position":[[150,5]]},"1085":{"position":[[2662,5]]}},"keywords":{}}],["catch(error",{"_index":3559,"title":{},"content":{"610":{"position":[[1130,12]]}},"keywords":{}}],["categori",{"_index":2207,"title":{},"content":{"390":{"position":[[1556,10]]},"1020":{"position":[[653,9]]}},"keywords":{}}],["cater",{"_index":1653,"title":{},"content":{"280":{"position":[[473,8]]},"368":{"position":[[189,8]]},"504":{"position":[[6,6]]}},"keywords":{}}],["caught",{"_index":1574,"title":{},"content":{"255":{"position":[[220,6]]},"1085":{"position":[[2548,6]]}},"keywords":{}}],["caus",{"_index":1548,"title":{"627":{"position":[[22,5]]}},"content":{"250":{"position":[[79,5]]},"367":{"position":[[68,5]]},"457":{"position":[[681,5]]},"642":{"position":[[283,5]]},"749":{"position":[[21941,6]]},"835":{"position":[[337,5]]},"837":{"position":[[726,6]]},"858":{"position":[[566,5]]},"876":{"position":[[349,6]]},"885":{"position":[[1127,6]]},"1031":{"position":[[92,5]]},"1065":{"position":[[696,5]]},"1085":{"position":[[258,5],[3124,5]]},"1120":{"position":[[331,5]]},"1157":{"position":[[326,5]]},"1295":{"position":[[1478,5]]}},"keywords":{}}],["caveat",{"_index":1738,"title":{},"content":{"299":{"position":[[178,7]]},"495":{"position":[[50,8]]}},"keywords":{}}],["cbc",{"_index":4034,"title":{},"content":{"718":{"position":[[524,4]]}},"keywords":{}}],["cd",{"_index":3825,"title":{},"content":{"666":{"position":[[216,2]]}},"keywords":{}}],["ceil",{"_index":2538,"title":{},"content":{"408":{"position":[[1343,8],[4992,7]]}},"keywords":{}}],["center",{"_index":3475,"title":{},"content":{"574":{"position":[[68,8]]}},"keywords":{}}],["central",{"_index":478,"title":{},"content":{"29":{"position":[[177,11]]},"43":{"position":[[81,11],[137,8]]},"201":{"position":[[52,7]]},"210":{"position":[[24,11]]},"212":{"position":[[650,7]]},"261":{"position":[[31,7],[1160,7]]},"289":{"position":[[1776,7]]},"293":{"position":[[388,7]]},"321":{"position":[[174,7]]},"346":{"position":[[1,10]]},"365":{"position":[[1444,11]]},"411":{"position":[[4932,7],[5156,7]]},"412":{"position":[[11978,11]]},"416":{"position":[[343,7]]},"418":{"position":[[311,7],[648,7]]},"590":{"position":[[82,10]]},"901":{"position":[[189,7]]},"902":{"position":[[33,7],[215,7],[591,7]]},"903":{"position":[[58,11]]}},"keywords":{}}],["centric",{"_index":1418,"title":{},"content":{"231":{"position":[[266,7]]},"241":{"position":[[598,7]]},"279":{"position":[[403,7]]},"354":{"position":[[1590,8]]},"362":{"position":[[157,7]]},"388":{"position":[[365,7]]}},"keywords":{}}],["certain",{"_index":1558,"title":{},"content":{"252":{"position":[[40,7]]},"266":{"position":[[517,7]]},"303":{"position":[[1493,7]]},"354":{"position":[[140,7]]},"396":{"position":[[1578,7]]},"412":{"position":[[8594,7],[12899,7]]},"460":{"position":[[991,7]]},"480":{"position":[[1040,7]]},"496":{"position":[[470,7]]},"545":{"position":[[106,7]]},"559":{"position":[[1050,7]]},"569":{"position":[[907,7]]},"605":{"position":[[106,7]]},"618":{"position":[[302,7]]},"688":{"position":[[632,7]]},"714":{"position":[[651,7]]},"759":{"position":[[1460,7]]},"765":{"position":[[212,7]]},"839":{"position":[[749,7]]},"1072":{"position":[[473,7]]}},"keywords":{}}],["certainli",{"_index":2122,"title":{},"content":{"369":{"position":[[1,10]]}},"keywords":{}}],["certif",{"_index":3381,"title":{},"content":{"556":{"position":[[1951,12],[2009,12]]}},"keywords":{}}],["chain",{"_index":2508,"title":{},"content":{"404":{"position":[[842,8]]},"682":{"position":[[119,7]]},"749":{"position":[[3181,7]]},"1064":{"position":[[8,7],[268,7]]},"1065":{"position":[[161,7],[1414,7]]}},"keywords":{}}],["challeng",{"_index":1164,"title":{"412":{"position":[[0,10]]}},"content":{"152":{"position":[[357,11]]},"170":{"position":[[272,10]]},"223":{"position":[[68,12]]},"240":{"position":[[109,12],[140,9]]},"282":{"position":[[97,12]]},"289":{"position":[[2004,11]]},"392":{"position":[[3007,11]]},"394":{"position":[[1398,10]]},"396":{"position":[[1525,10]]},"399":{"position":[[141,9]]},"412":{"position":[[51,11],[334,11],[788,9],[8646,10],[14904,11],[15072,11]]},"417":{"position":[[121,10]]},"427":{"position":[[936,11]]},"432":{"position":[[664,9]]},"521":{"position":[[42,11]]},"535":{"position":[[617,12]]},"595":{"position":[[644,12]]},"618":{"position":[[190,10]]},"624":{"position":[[903,11]]}},"keywords":{}}],["champion",{"_index":3514,"title":{},"content":{"582":{"position":[[6,9]]}},"keywords":{}}],["chanc",{"_index":3097,"title":{},"content":{"470":{"position":[[81,6]]},"696":{"position":[[1540,6]]},"797":{"position":[[58,6]]}},"keywords":{}}],["chang",{"_index":330,"title":{"50":{"position":[[6,6]]},"77":{"position":[[60,8]]},"79":{"position":[[19,8]]},"103":{"position":[[60,8]]},"110":{"position":[[19,8]]},"129":{"position":[[6,6]]},"140":{"position":[[0,6]]},"168":{"position":[[0,6]]},"196":{"position":[[0,6]]},"240":{"position":[[16,7]]},"344":{"position":[[0,6]]},"367":{"position":[[47,8]]},"403":{"position":[[30,8]]},"490":{"position":[[13,7]]},"509":{"position":[[0,6]]},"529":{"position":[[0,6]]},"585":{"position":[[23,6]]},"634":{"position":[[28,8]]},"719":{"position":[[0,8]]},"750":{"position":[[32,7]]},"1106":{"position":[[0,6]]}},"content":{"19":{"position":[[416,6]]},"34":{"position":[[472,8]]},"36":{"position":[[272,7]]},"38":{"position":[[595,7]]},"39":{"position":[[98,7]]},"47":{"position":[[760,8],[801,7],[910,7]]},"50":{"position":[[102,6],[323,6]]},"53":{"position":[[59,7]]},"57":{"position":[[175,8]]},"65":{"position":[[683,8]]},"77":{"position":[[112,8]]},"79":{"position":[[52,8]]},"89":{"position":[[297,7]]},"90":{"position":[[207,7]]},"99":{"position":[[374,7]]},"103":{"position":[[92,7]]},"106":{"position":[[139,7]]},"110":{"position":[[32,8]]},"121":{"position":[[209,7]]},"122":{"position":[[208,7]]},"124":{"position":[[173,8],[281,7]]},"125":{"position":[[219,7]]},"129":{"position":[[14,6],[74,8],[175,6],[218,7],[285,6],[486,7],[636,6]]},"130":{"position":[[326,7]]},"133":{"position":[[202,7]]},"136":{"position":[[80,7]]},"140":{"position":[[14,6],[65,7],[126,6],[261,6]]},"156":{"position":[[159,6],[268,8]]},"159":{"position":[[242,8]]},"160":{"position":[[138,7]]},"168":{"position":[[13,6],[96,7],[123,6],[236,6]]},"170":{"position":[[416,6]]},"173":{"position":[[1016,8]]},"174":{"position":[[335,8],[1114,7],[2048,7],[2115,7]]},"182":{"position":[[192,8]]},"185":{"position":[[121,8]]},"188":{"position":[[1032,6]]},"191":{"position":[[121,7]]},"196":{"position":[[15,6],[63,7],[92,6],[251,8]]},"201":{"position":[[404,7]]},"204":{"position":[[252,8]]},"208":{"position":[[212,7],[288,7]]},"209":{"position":[[763,7],[886,8]]},"210":{"position":[[681,7]]},"221":{"position":[[69,8],[223,7]]},"226":{"position":[[278,7]]},"233":{"position":[[135,7]]},"235":{"position":[[72,7],[206,7]]},"240":{"position":[[94,7],[201,8]]},"248":{"position":[[278,7]]},"249":{"position":[[453,7]]},"254":{"position":[[514,7]]},"255":{"position":[[165,7],[1585,7]]},"262":{"position":[[578,6]]},"267":{"position":[[559,7],[692,7]]},"274":{"position":[[325,7]]},"275":{"position":[[171,7]]},"277":{"position":[[142,7],[188,7]]},"282":{"position":[[8,7],[289,7]]},"283":{"position":[[334,6],[469,7]]},"289":{"position":[[191,8]]},"299":{"position":[[1439,7]]},"309":{"position":[[314,7]]},"314":{"position":[[1164,6]]},"322":{"position":[[241,7]]},"323":{"position":[[73,8],[122,7]]},"325":{"position":[[100,7]]},"326":{"position":[[171,7],[219,7],[277,6]]},"328":{"position":[[291,7]]},"329":{"position":[[96,8]]},"330":{"position":[[75,7]]},"335":{"position":[[878,7]]},"339":{"position":[[171,7]]},"340":{"position":[[17,7]]},"344":{"position":[[5,6],[177,8]]},"351":{"position":[[202,7]]},"352":{"position":[[54,8]]},"354":{"position":[[1707,8]]},"360":{"position":[[378,7],[485,7]]},"367":{"position":[[112,8]]},"369":{"position":[[1293,8]]},"375":{"position":[[261,7]]},"379":{"position":[[75,7],[154,6]]},"380":{"position":[[224,7]]},"382":{"position":[[252,8]]},"391":{"position":[[1067,6]]},"403":{"position":[[10,6],[313,7]]},"404":{"position":[[162,8]]},"410":{"position":[[1087,7],[1761,7],[1963,8],[2226,7]]},"411":{"position":[[170,8],[532,7],[882,8],[958,6],[1466,7],[2353,7],[2810,7],[2879,7],[3188,7],[3256,8],[3466,7],[4405,6],[4530,7]]},"412":{"position":[[717,7],[1125,6],[2097,8],[2627,7],[3200,7],[3443,8],[3746,7],[11056,6]]},"420":{"position":[[698,7],[898,6]]},"432":{"position":[[806,7]]},"445":{"position":[[1005,6],[1096,7],[1492,7]]},"446":{"position":[[333,7]]},"458":{"position":[[285,7],[699,8],[737,7],[1253,8],[1601,8]]},"464":{"position":[[91,7],[1112,7]]},"470":{"position":[[268,7]]},"475":{"position":[[193,7]]},"476":{"position":[[261,8]]},"480":{"position":[[693,7],[823,7]]},"481":{"position":[[43,7]]},"486":{"position":[[317,7]]},"487":{"position":[[177,7]]},"489":{"position":[[421,7],[782,7]]},"490":{"position":[[65,7],[255,8],[393,7]]},"491":{"position":[[300,7],[416,7],[704,7],[1119,7],[1289,7],[1575,7]]},"493":{"position":[[542,8]]},"494":{"position":[[264,7]]},"495":{"position":[[305,7]]},"496":{"position":[[358,8]]},"502":{"position":[[780,7],[1063,7]]},"509":{"position":[[17,6],[64,7]]},"514":{"position":[[365,7]]},"515":{"position":[[269,7]]},"516":{"position":[[317,7]]},"517":{"position":[[279,7]]},"518":{"position":[[53,8],[239,7],[366,8],[530,7]]},"519":{"position":[[162,7]]},"523":{"position":[[187,7]]},"525":{"position":[[140,7]]},"529":{"position":[[41,6],[89,7]]},"535":{"position":[[974,7]]},"541":{"position":[[786,8],[854,8]]},"542":{"position":[[991,8]]},"544":{"position":[[209,7]]},"562":{"position":[[877,8],[1278,7],[1675,7]]},"565":{"position":[[180,7]]},"570":{"position":[[290,7],[783,7]]},"571":{"position":[[181,8],[313,6],[998,8],[1768,7]]},"574":{"position":[[318,7]]},"575":{"position":[[571,7],[717,7]]},"580":{"position":[[94,7],[644,6]]},"582":{"position":[[179,7],[321,6],[399,7]]},"585":{"position":[[81,6]]},"589":{"position":[[128,7]]},"590":{"position":[[883,7]]},"595":{"position":[[1051,7]]},"600":{"position":[[174,7]]},"601":{"position":[[767,8],[835,7]]},"604":{"position":[[181,7]]},"630":{"position":[[402,7],[855,7]]},"632":{"position":[[62,7],[324,7],[1743,7],[1999,7],[2555,7],[2745,8]]},"634":{"position":[[154,7],[530,7]]},"636":{"position":[[38,7]]},"648":{"position":[[59,7],[341,7]]},"662":{"position":[[143,7]]},"668":{"position":[[245,8]]},"687":{"position":[[76,7]]},"688":{"position":[[360,7]]},"689":{"position":[[257,7]]},"691":{"position":[[181,7],[548,6]]},"696":{"position":[[221,7]]},"698":{"position":[[864,7],[1763,6],[2655,7],[2758,6],[2812,7],[2880,7],[2947,7]]},"699":{"position":[[67,6],[95,7]]},"702":{"position":[[56,6],[128,6]]},"709":{"position":[[596,7]]},"719":{"position":[[65,6],[179,6]]},"723":{"position":[[1597,7]]},"749":{"position":[[8948,8],[11401,7]]},"754":{"position":[[76,8],[642,6]]},"764":{"position":[[96,6],[217,7]]},"766":{"position":[[172,6]]},"773":{"position":[[700,6]]},"778":{"position":[[591,7]]},"779":{"position":[[213,6]]},"781":{"position":[[898,8]]},"783":{"position":[[219,7]]},"784":{"position":[[573,7]]},"785":{"position":[[421,8]]},"828":{"position":[[39,7]]},"829":{"position":[[2774,7],[3056,8],[3695,8]]},"836":{"position":[[2065,7]]},"838":{"position":[[172,7],[502,8],[1701,8]]},"839":{"position":[[1108,7]]},"841":{"position":[[537,7]]},"846":{"position":[[1105,7]]},"848":{"position":[[913,7]]},"854":{"position":[[1323,8]]},"855":{"position":[[261,6]]},"860":{"position":[[549,8]]},"867":{"position":[[256,6]]},"870":{"position":[[145,6]]},"871":{"position":[[132,7]]},"875":{"position":[[3681,6],[3802,6],[5951,6],[6647,7],[6757,7],[8660,7]]},"876":{"position":[[360,7]]},"881":{"position":[[78,8]]},"886":{"position":[[1619,7],[2162,7]]},"890":{"position":[[244,7]]},"897":{"position":[[283,7]]},"898":{"position":[[1444,7]]},"903":{"position":[[545,7]]},"927":{"position":[[175,6],[208,8]]},"932":{"position":[[547,6]]},"941":{"position":[[65,6]]},"981":{"position":[[1335,7]]},"982":{"position":[[347,7],[383,7],[644,7],[677,6]]},"985":{"position":[[333,7]]},"986":{"position":[[1249,7]]},"987":{"position":[[940,7]]},"988":{"position":[[2351,7],[3454,7]]},"991":{"position":[[196,6]]},"996":{"position":[[247,7],[462,7]]},"1007":{"position":[[599,7],[1989,8]]},"1018":{"position":[[161,6]]},"1039":{"position":[[133,8]]},"1044":{"position":[[17,6],[170,6]]},"1048":{"position":[[23,6]]},"1069":{"position":[[102,6],[272,8],[346,7],[413,6]]},"1083":{"position":[[161,7]]},"1085":{"position":[[228,8],[2690,6],[2738,7],[3000,6],[3206,7],[3238,6],[3456,6]]},"1088":{"position":[[648,6]]},"1100":{"position":[[924,6]]},"1106":{"position":[[5,6],[177,6],[282,6],[441,6],[564,7]]},"1109":{"position":[[210,8]]},"1115":{"position":[[888,6]]},"1119":{"position":[[20,7]]},"1124":{"position":[[1012,7],[1179,7]]},"1134":{"position":[[658,6]]},"1138":{"position":[[427,6],[517,6]]},"1150":{"position":[[94,8],[134,7],[525,7]]},"1177":{"position":[[108,7]]},"1185":{"position":[[144,7]]},"1198":{"position":[[1639,8],[1919,6]]},"1204":{"position":[[109,7]]},"1208":{"position":[[1774,7]]},"1222":{"position":[[473,8],[811,8]]},"1230":{"position":[[148,6]]},"1297":{"position":[[300,7]]},"1300":{"position":[[989,8]]},"1304":{"position":[[978,7]]},"1313":{"position":[[643,6],[736,7]]},"1314":{"position":[[458,7]]},"1315":{"position":[[1212,6],[1452,7],[1605,7],[1622,6]]},"1316":{"position":[[1164,7],[2878,7],[3204,8],[3302,7],[3332,7]]},"1317":{"position":[[108,7],[158,7],[291,7],[603,6]]},"1318":{"position":[[920,8],[993,6]]},"1319":{"position":[[21,6],[493,8]]}},"keywords":{}}],["change.assumedmasterstate.myreadonlyfield",{"_index":5973,"title":{},"content":{"1109":{"position":[[266,43]]}},"keywords":{}}],["change.pass",{"_index":3178,"title":{},"content":{"493":{"position":[[424,13]]}},"keywords":{}}],["change.w",{"_index":6560,"title":{},"content":{"1316":{"position":[[2839,9]]}},"keywords":{}}],["changed"",{"_index":5061,"title":{},"content":{"875":{"position":[[9105,13]]}},"keywords":{}}],["changedth",{"_index":5809,"title":{},"content":{"1074":{"position":[[476,10]]}},"keywords":{}}],["changeev",{"_index":5707,"title":{},"content":{"1046":{"position":[[107,12]]}},"keywords":{}}],["changefunct",{"_index":5688,"title":{},"content":{"1042":{"position":[[111,14]]}},"keywords":{}}],["changepoint",{"_index":4988,"title":{},"content":{"875":{"position":[[1557,11]]}},"keywords":{}}],["changer",{"_index":1635,"title":{},"content":{"274":{"position":[[52,7]]},"445":{"position":[[64,7]]}},"keywords":{}}],["changerow",{"_index":5019,"title":{},"content":{"875":{"position":[[4480,10],[4605,9],[4618,12]]}},"keywords":{}}],["changerow.assumedmasterst",{"_index":5024,"title":{},"content":{"875":{"position":[[4748,29],[4810,28]]}},"keywords":{}}],["changerow.assumedmasterstate.updatedat",{"_index":5026,"title":{},"content":{"875":{"position":[[5059,38]]}},"keywords":{}}],["changerow.newdocumentst",{"_index":5029,"title":{},"content":{"875":{"position":[[5272,26]]}},"keywords":{}}],["changerow.newdocumentstate.id",{"_index":5023,"title":{},"content":{"875":{"position":[[4684,32],[5240,31],[5377,30]]}},"keywords":{}}],["changerow.newdocumentstate.updatedat",{"_index":5032,"title":{},"content":{"875":{"position":[[5419,36]]}},"keywords":{}}],["changes.handl",{"_index":1972,"title":{},"content":{"346":{"position":[[317,14]]}},"keywords":{}}],["changes.multi",{"_index":1925,"title":{},"content":{"323":{"position":[[506,13]]}},"keywords":{}}],["changes.multiinst",{"_index":5392,"title":{},"content":{"964":{"position":[[345,21]]}},"keywords":{}}],["changes.no",{"_index":2059,"title":{},"content":{"358":{"position":[[326,10]]}},"keywords":{}}],["changes.offlin",{"_index":3483,"title":{},"content":{"575":{"position":[[309,15]]}},"keywords":{}}],["changes.y",{"_index":6542,"title":{},"content":{"1316":{"position":[[560,11]]}},"keywords":{}}],["changesschema",{"_index":3697,"title":{},"content":{"631":{"position":[[298,13]]}},"keywords":{}}],["changestream",{"_index":282,"title":{},"content":{"16":{"position":[[567,13]]},"23":{"position":[[433,12]]},"698":{"position":[[1021,12],[1055,12]]},"781":{"position":[[692,12]]},"846":{"position":[[938,13]]},"872":{"position":[[409,12],[1176,13]]},"1135":{"position":[[39,13],[315,12]]}},"keywords":{}}],["changestreampreandpostimag",{"_index":4952,"title":{},"content":{"872":{"position":[[1082,29],[1190,28]]}},"keywords":{}}],["changes—perfect",{"_index":3430,"title":{},"content":{"562":{"position":[[987,15]]}},"keywords":{}}],["changevalid",{"_index":5951,"title":{},"content":{"1104":{"position":[[242,16],[484,16]]},"1106":{"position":[[754,16]]},"1109":{"position":[[146,16]]}},"keywords":{}}],["changevalidatormust",{"_index":5959,"title":{},"content":{"1105":{"position":[[1063,19]]}},"keywords":{}}],["channel",{"_index":2638,"title":{},"content":{"411":{"position":[[5107,8]]},"611":{"position":[[48,7]]},"617":{"position":[[2236,7]]},"743":{"position":[[54,7]]},"1126":{"position":[[498,7]]},"1218":{"position":[[48,7]]},"1246":{"position":[[774,8]]}},"keywords":{}}],["channels.th",{"_index":5252,"title":{},"content":{"903":{"position":[[468,12]]}},"keywords":{}}],["channelsconflict",{"_index":5184,"title":{},"content":{"896":{"position":[[253,16]]}},"keywords":{}}],["char",{"_index":4138,"title":{},"content":{"749":{"position":[[377,4]]}},"keywords":{}}],["charact",{"_index":2354,"title":{},"content":{"397":{"position":[[233,11]]},"523":{"position":[[462,11]]},"863":{"position":[[42,10]]},"963":{"position":[[163,11]]}},"keywords":{}}],["character={charact",{"_index":3278,"title":{},"content":{"523":{"position":[[704,21]]}},"keywords":{}}],["characterist",{"_index":960,"title":{"360":{"position":[[4,16]]}},"content":{"70":{"position":[[105,15]]},"566":{"position":[[1,14]]},"828":{"position":[[495,15]]},"841":{"position":[[1,14]]}},"keywords":{}}],["characteristics.anomali",{"_index":2202,"title":{},"content":{"390":{"position":[[1451,23]]}},"keywords":{}}],["characters.map((charact",{"_index":3276,"title":{},"content":{"523":{"position":[[647,27]]}},"keywords":{}}],["characters.th",{"_index":4912,"title":{},"content":{"863":{"position":[[176,14]]}},"keywords":{}}],["charg",{"_index":1555,"title":{},"content":{"251":{"position":[[143,8]]}},"keywords":{}}],["chart",{"_index":4085,"title":{},"content":{"736":{"position":[[102,7]]},"772":{"position":[[2545,5]]}},"keywords":{}}],["chat",{"_index":1158,"title":{},"content":{"151":{"position":[[383,4]]},"267":{"position":[[110,4],[266,4],[458,4],[1476,4]]},"296":{"position":[[80,4]]},"318":{"position":[[549,4]]},"353":{"position":[[703,4]]},"375":{"position":[[596,4]]},"379":{"position":[[221,4]]},"415":{"position":[[120,5]]},"418":{"position":[[118,4]]},"483":{"position":[[945,4]]},"491":{"position":[[1805,6]]},"497":{"position":[[41,4]]},"572":{"position":[[109,4]]},"611":{"position":[[304,5]]},"624":{"position":[[797,4]]},"696":{"position":[[416,4]]},"749":{"position":[[86,4],[433,4],[560,4],[651,4],[804,4],[941,4],[1076,4],[1300,4],[1388,4],[1537,4],[1640,4],[1737,4],[1854,4],[1980,4],[2083,4],[2189,4],[2283,4],[2376,4],[2461,4],[2578,4],[2819,4],[2932,4],[3165,4],[3285,4],[3641,4],[3838,4],[3925,4],[3997,4],[4112,4],[4228,4],[4350,4],[4527,4],[4601,4],[4708,4],[4843,4],[4975,4],[5127,4],[5229,4],[5341,4],[5548,4],[6056,4],[6192,4],[6328,4],[6447,4],[6589,4],[6701,4],[6816,4],[6940,4],[7048,4],[7167,4],[7291,4],[7474,4],[7554,4],[7631,4],[7730,4],[7834,4],[7929,4],[8029,4],[8123,4],[8221,4],[8329,4],[8424,4],[8524,4],[8646,4],[8723,4],[8897,4],[9047,4],[9205,4],[9496,4],[9641,4],[9725,4],[9813,4],[9920,4],[10034,4],[10152,4],[10261,4],[10366,4],[10454,4],[10577,4],[10681,4],[10787,4],[10878,4],[10960,4],[11098,4],[11239,4],[11350,4],[11449,4],[11525,4],[11670,4],[11767,4],[11876,4],[12177,4],[12268,4],[12395,4],[12476,4],[12549,4],[12764,4],[12873,4],[12950,4],[13059,4],[13176,4],[13250,4],[13370,4],[13499,4],[13622,4],[13745,4],[13843,4],[13987,4],[14070,4],[14164,4],[14276,4],[14361,4],[14557,4],[14639,4],[14754,4],[14910,4],[15121,4],[15280,4],[15455,4],[15587,4],[15721,4],[15853,4],[15988,4],[16090,4],[16238,4],[16357,4],[16479,4],[16628,4],[16821,4],[16910,4],[17016,4],[17139,4],[17288,4],[17397,4],[17513,4],[17631,4],[17754,4],[17863,4],[17984,4],[18106,4],[18203,4],[18303,4],[18485,4],[18579,4],[18698,4],[18802,4],[18908,4],[19011,4],[19105,4],[19307,4],[19435,4],[19561,4],[19676,4],[19777,4],[19869,4],[19993,4],[20111,4],[20268,4],[20434,4],[20535,4],[20702,4],[20839,4],[21012,4],[21296,4],[21450,4],[21713,4],[22015,4],[22135,4],[22219,4],[22337,4],[22444,4],[22564,4],[22704,4],[22833,4],[22993,4],[23186,4],[23312,4],[23444,4],[23577,4],[23768,4],[23950,4],[24070,4],[24231,4],[24361,4],[24441,4]]},"783":{"position":[[335,4]]},"824":{"position":[[394,5]]},"899":{"position":[[441,4]]}},"keywords":{}}],["cheaper",{"_index":2582,"title":{},"content":{"409":{"position":[[45,7]]}},"keywords":{}}],["check",{"_index":993,"title":{"300":{"position":[[0,8]]},"761":{"position":[[16,5]]}},"content":{"84":{"position":[[79,5]]},"114":{"position":[[92,5]]},"149":{"position":[[92,5]]},"188":{"position":[[2499,5]]},"253":{"position":[[72,5]]},"263":{"position":[[380,5]]},"306":{"position":[[15,8]]},"347":{"position":[[92,5]]},"362":{"position":[[1163,5]]},"404":{"position":[[251,5]]},"412":{"position":[[4896,5]]},"489":{"position":[[213,5]]},"491":{"position":[[1928,5]]},"495":{"position":[[650,5]]},"498":{"position":[[228,5]]},"511":{"position":[[92,5]]},"531":{"position":[[92,5]]},"557":{"position":[[138,5]]},"566":{"position":[[521,6]]},"567":{"position":[[845,5]]},"591":{"position":[[92,5]]},"628":{"position":[[1,5]]},"679":{"position":[[309,5]]},"683":{"position":[[607,5]]},"710":{"position":[[2510,5]]},"752":{"position":[[615,5]]},"761":{"position":[[20,5],[336,5]]},"776":{"position":[[1,5]]},"802":{"position":[[329,6]]},"824":{"position":[[266,5]]},"838":{"position":[[3238,5]]},"841":{"position":[[1221,7]]},"842":{"position":[[65,5]]},"875":{"position":[[4989,5]]},"890":{"position":[[970,5]]},"906":{"position":[[1119,5]]},"913":{"position":[[1,5]]},"943":{"position":[[221,5]]},"1044":{"position":[[127,6]]},"1065":{"position":[[960,6]]},"1090":{"position":[[1104,5]]},"1106":{"position":[[428,5]]},"1228":{"position":[[35,5]]},"1237":{"position":[[188,7]]},"1272":{"position":[[364,5]]},"1298":{"position":[[272,5]]},"1309":{"position":[[820,5]]},"1317":{"position":[[214,5],[514,5],[623,5]]}},"keywords":{}}],["check'",{"_index":5902,"title":{},"content":{"1085":{"position":[[3179,7]]}},"keywords":{}}],["check.j",{"_index":4509,"title":{},"content":{"761":{"position":[[655,10],[778,10]]}},"keywords":{}}],["checkout",{"_index":3194,"title":{},"content":{"496":{"position":[[522,10]]}},"keywords":{}}],["checkpoint",{"_index":3684,"title":{"984":{"position":[[0,10]]}},"content":{"626":{"position":[[684,10],[1016,10]]},"632":{"position":[[121,10]]},"647":{"position":[[109,10],[506,10]]},"756":{"position":[[375,10],[450,11]]},"875":{"position":[[1457,11],[1473,10],[1828,10],[1849,11],[2850,11],[3500,11],[4575,11],[8338,11],[9286,10]]},"885":{"position":[[89,10],[237,11],[721,10],[808,11],[820,10],[868,11],[2451,10],[2619,11]]},"886":{"position":[[131,10],[388,12],[453,10],[503,13],[519,10],[659,12],[733,10],[824,11],[3648,10]]},"888":{"position":[[189,11],[302,10],[852,10],[935,10],[1075,11]]},"897":{"position":[[159,10]]},"898":{"position":[[3774,10]]},"983":{"position":[[214,10],[306,11],[335,10],[801,10]]},"984":{"position":[[72,10],[144,10],[219,10],[366,11],[471,11],[493,10],[531,11]]},"985":{"position":[[240,11],[398,10],[687,10]]},"986":{"position":[[323,11],[1312,10]]},"988":{"position":[[4172,10],[4257,10],[4306,11],[5483,11],[6008,11]]},"996":{"position":[[57,10]]},"1002":{"position":[[244,11],[277,10],[408,12],[645,12],[860,10],[952,10],[1299,12]]},"1008":{"position":[[60,14]]},"1020":{"position":[[217,10]]},"1294":{"position":[[669,10],[1240,11]]},"1296":{"position":[[1257,11]]}},"keywords":{}}],["checkpoint')).json",{"_index":5542,"title":{},"content":{"1002":{"position":[[1052,21]]}},"keywords":{}}],["checkpointinput",{"_index":5118,"title":{},"content":{"886":{"position":[[604,16]]}},"keywords":{}}],["checkpointornul",{"_index":5007,"title":{},"content":{"875":{"position":[[3204,16],[3266,16]]}},"keywords":{}}],["checkpointornull.id",{"_index":5009,"title":{},"content":{"875":{"position":[[3285,19]]}},"keywords":{}}],["checkpointornull.updatedat",{"_index":5008,"title":{},"content":{"875":{"position":[[3223,26]]}},"keywords":{}}],["childpath",{"_index":4270,"title":{},"content":{"749":{"position":[[10500,9]]}},"keywords":{}}],["chip",{"_index":3464,"title":{},"content":{"569":{"position":[[885,4]]}},"keywords":{}}],["choic",{"_index":560,"title":{},"content":{"35":{"position":[[511,6]]},"64":{"position":[[179,6]]},"67":{"position":[[87,6]]},"71":{"position":[[22,6]]},"83":{"position":[[212,6]]},"98":{"position":[[102,6]]},"102":{"position":[[33,6]]},"118":{"position":[[355,6]]},"161":{"position":[[85,7]]},"174":{"position":[[154,7],[1469,6]]},"175":{"position":[[658,6]]},"179":{"position":[[222,6]]},"186":{"position":[[357,6]]},"207":{"position":[[271,7]]},"238":{"position":[[291,7]]},"241":{"position":[[654,6]]},"265":{"position":[[855,6]]},"267":{"position":[[246,6],[1415,6]]},"279":{"position":[[103,6]]},"287":{"position":[[745,6]]},"290":{"position":[[194,6]]},"353":{"position":[[463,6]]},"354":{"position":[[1573,7]]},"365":{"position":[[1274,7]]},"366":{"position":[[410,6]]},"371":{"position":[[264,6]]},"387":{"position":[[431,6]]},"435":{"position":[[327,6]]},"441":{"position":[[156,6]]},"445":{"position":[[905,6]]},"446":{"position":[[46,6]]},"500":{"position":[[327,6]]},"624":{"position":[[480,6],[771,6]]},"640":{"position":[[106,7]]},"1085":{"position":[[1838,6]]},"1198":{"position":[[1512,6]]}},"keywords":{}}],["choos",{"_index":1110,"title":{"364":{"position":[[4,6]]},"418":{"position":[[8,6]]},"441":{"position":[[12,8]]},"473":{"position":[[4,6]]},"690":{"position":[[8,6]]}},"content":{"131":{"position":[[913,6]]},"146":{"position":[[283,6]]},"162":{"position":[[760,6]]},"174":{"position":[[3152,6]]},"178":{"position":[[292,8]]},"189":{"position":[[653,8]]},"202":{"position":[[87,6]]},"247":{"position":[[139,8]]},"266":{"position":[[379,6]]},"278":{"position":[[18,8]]},"393":{"position":[[384,6]]},"401":{"position":[[896,8]]},"483":{"position":[[190,8]]},"489":{"position":[[151,6]]},"496":{"position":[[325,8],[594,6]]},"524":{"position":[[103,6]]},"581":{"position":[[610,6]]},"640":{"position":[[425,8]]},"707":{"position":[[380,8]]},"759":{"position":[[1495,8]]},"1147":{"position":[[371,6]]},"1294":{"position":[[1912,8]]}},"keywords":{}}],["chosen",{"_index":1667,"title":{},"content":{"286":{"position":[[366,6]]},"369":{"position":[[1425,6]]},"798":{"position":[[874,6]]},"1066":{"position":[[680,6]]}},"keywords":{}}],["chrome",{"_index":1706,"title":{},"content":{"298":{"position":[[155,7],[459,6]]},"299":{"position":[[1026,6],[1052,6]]},"301":{"position":[[448,6]]},"404":{"position":[[273,6]]},"408":{"position":[[970,6]]},"439":{"position":[[30,6],[662,6]]},"458":{"position":[[933,7]]},"462":{"position":[[338,6]]},"470":{"position":[[571,7]]},"696":{"position":[[1285,6]]},"707":{"position":[[226,6]]},"709":{"position":[[32,6]]},"1207":{"position":[[113,7]]},"1292":{"position":[[100,6]]},"1301":{"position":[[1011,7]]}},"keywords":{}}],["chrome.storage.local.get('foobar",{"_index":2929,"title":{},"content":{"439":{"position":[[743,35]]}},"keywords":{}}],["chrome.storage.local.set",{"_index":2926,"title":{},"content":{"439":{"position":[[675,26]]}},"keywords":{}}],["chrome/chromium/edg",{"_index":3016,"title":{},"content":{"461":{"position":[[787,21]]}},"keywords":{}}],["chrome://gpu",{"_index":2501,"title":{},"content":{"404":{"position":[[307,14]]}},"keywords":{}}],["chrome’",{"_index":1727,"title":{},"content":{"298":{"position":[[757,8]]},"299":{"position":[[758,8]]},"301":{"position":[[668,8]]}},"keywords":{}}],["chromium",{"_index":1718,"title":{},"content":{"298":{"position":[[471,8]]},"299":{"position":[[858,8]]},"450":{"position":[[767,8]]},"455":{"position":[[940,9]]},"461":{"position":[[1152,8]]},"617":{"position":[[1750,8]]},"1208":{"position":[[527,8]]},"1214":{"position":[[199,10]]},"1297":{"position":[[1,8]]}},"keywords":{}}],["chunk",{"_index":1850,"title":{"1008":{"position":[[29,6]]}},"content":{"303":{"position":[[1213,5]]},"411":{"position":[[81,6]]},"412":{"position":[[7177,5]]},"556":{"position":[[1206,6]]},"981":{"position":[[1024,5]]},"1007":{"position":[[313,5],[399,5],[410,5],[464,6],[801,5],[885,5],[928,5],[1333,5],[2047,7]]},"1008":{"position":[[186,5],[318,6]]},"1009":{"position":[[549,5]]},"1239":{"position":[[278,6]]}},"keywords":{}}],["chunk'",{"_index":5559,"title":{},"content":{"1007":{"position":[[528,7],[763,7]]}},"keywords":{}}],["chunkid",{"_index":5557,"title":{},"content":{"1007":{"position":[[143,8],[1189,7],[1343,8]]}},"keywords":{}}],["ci",{"_index":3837,"title":{},"content":{"670":{"position":[[79,2]]},"730":{"position":[[37,2]]}},"keywords":{}}],["ciphertext",{"_index":3360,"title":{},"content":{"555":{"position":[[846,10]]}},"keywords":{}}],["circular",{"_index":5667,"title":{},"content":{"1033":{"position":[[984,8]]}},"keywords":{}}],["circumst",{"_index":6538,"title":{},"content":{"1316":{"position":[[365,13]]}},"keywords":{}}],["circumv",{"_index":1853,"title":{},"content":{"303":{"position":[[1288,10]]},"624":{"position":[[277,13]]}},"keywords":{}}],["cite",{"_index":1742,"title":{},"content":{"299":{"position":[[300,5]]}},"keywords":{}}],["citi",{"_index":6528,"title":{},"content":{"1315":{"position":[[215,6],[233,4],[393,4],[1413,4]]}},"keywords":{}}],["citizen",{"_index":3910,"title":{},"content":{"690":{"position":[[488,8]]}},"keywords":{}}],["city.id",{"_index":6533,"title":{},"content":{"1315":{"position":[[465,8]]}},"keywords":{}}],["city.nam",{"_index":6531,"title":{},"content":{"1315":{"position":[[404,9]]}},"keywords":{}}],["city_id",{"_index":6529,"title":{},"content":{"1315":{"position":[[272,8]]}},"keywords":{}}],["citydocu",{"_index":6534,"title":{},"content":{"1315":{"position":[[554,12]]}},"keywords":{}}],["cj",{"_index":4510,"title":{},"content":{"761":{"position":[[696,3]]}},"keywords":{}}],["claim",{"_index":102,"title":{},"content":{"8":{"position":[[37,6]]},"38":{"position":[[107,6]]}},"keywords":{}}],["clariti",{"_index":2078,"title":{},"content":{"360":{"position":[[739,8]]},"690":{"position":[[589,8]]},"1132":{"position":[[528,7]]}},"keywords":{}}],["clash",{"_index":1886,"title":{},"content":{"312":{"position":[[301,8]]},"1084":{"position":[[620,5]]}},"keywords":{}}],["class",{"_index":3767,"title":{},"content":{"655":{"position":[[192,5]]},"690":{"position":[[482,5]]},"805":{"position":[[173,5]]},"806":{"position":[[46,5]]},"825":{"position":[[895,5]]},"837":{"position":[[1463,5]]},"979":{"position":[[165,6]]},"1084":{"position":[[535,5]]},"1085":{"position":[[1906,5],[1953,5]]}},"keywords":{}}],["claus",{"_index":6576,"title":{},"content":{"1323":{"position":[[124,7]]}},"keywords":{}}],["clean",{"_index":1143,"title":{},"content":{"145":{"position":[[56,5]]},"346":{"position":[[465,5]]},"461":{"position":[[503,5],[585,7]]},"562":{"position":[[1398,5]]},"590":{"position":[[506,5]]},"612":{"position":[[2368,5]]},"660":{"position":[[144,5]]},"662":{"position":[[733,7]]},"697":{"position":[[239,5]]},"773":{"position":[[402,6]]},"816":{"position":[[27,8]]},"829":{"position":[[3764,7]]},"997":{"position":[[83,7]]},"1009":{"position":[[1054,5]]},"1266":{"position":[[631,6]]},"1311":{"position":[[1817,5]]}},"keywords":{}}],["cleanup",{"_index":1814,"title":{"651":{"position":[[3,7]]},"653":{"position":[[23,7]]},"654":{"position":[[8,7]]},"655":{"position":[[10,7]]},"1119":{"position":[[0,7]]}},"content":{"302":{"position":[[935,7]]},"522":{"position":[[745,7]]},"653":{"position":[[24,7],[456,8],[723,7],[848,7],[873,7],[1282,7],[1434,8]]},"654":{"position":[[24,7],[107,7]]},"655":{"position":[[343,7]]},"656":{"position":[[15,7],[31,7],[227,7],[468,7]]},"746":{"position":[[818,8]]},"793":{"position":[[1097,7]]},"960":{"position":[[640,7]]},"975":{"position":[[206,8]]},"1047":{"position":[[215,7]]},"1119":{"position":[[311,7]]},"1186":{"position":[[8,8]]}},"keywords":{}}],["cleanuppolici",{"_index":3263,"title":{},"content":{"522":{"position":[[711,14]]},"653":{"position":[[327,14]]},"654":{"position":[[154,14]]},"960":{"position":[[606,14]]}},"keywords":{}}],["clear",{"_index":1656,"title":{},"content":{"281":{"position":[[257,5]]},"300":{"position":[[590,8]]},"302":{"position":[[504,5]]},"305":{"position":[[69,5]]},"335":{"position":[[323,5]]},"412":{"position":[[8051,5]]},"425":{"position":[[201,6],[486,8]]},"439":{"position":[[177,5],[230,5]]},"451":{"position":[[227,5],[825,8],[863,7]]},"495":{"position":[[441,5]]},"815":{"position":[[84,6]]},"977":{"position":[[146,5],[493,5]]},"1119":{"position":[[266,5]]},"1198":{"position":[[352,5]]}},"keywords":{}}],["clearer",{"_index":2811,"title":{},"content":{"419":{"position":[[1505,7]]}},"keywords":{}}],["clearinterval(intervalid",{"_index":3612,"title":{},"content":{"612":{"position":[[2434,26]]}},"keywords":{}}],["clearli",{"_index":6281,"title":{},"content":{"1237":{"position":[[327,7]]}},"keywords":{}}],["clever",{"_index":6563,"title":{},"content":{"1316":{"position":[[3481,6]]}},"keywords":{}}],["cli",{"_index":324,"title":{},"content":{"19":{"position":[[273,3]]},"899":{"position":[[345,3]]},"1133":{"position":[[33,3]]}},"keywords":{}}],["click",{"_index":3158,"title":{},"content":{"489":{"position":[[376,8]]},"703":{"position":[[1411,5]]},"778":{"position":[[530,7]]},"785":{"position":[[105,8]]},"1313":{"position":[[584,6]]}},"keywords":{}}],["client",{"_index":205,"title":{"132":{"position":[[37,7]]},"163":{"position":[[37,7]]},"190":{"position":[[37,7]]},"271":{"position":[[22,6]]},"278":{"position":[[30,6]]},"288":{"position":[[38,7]]},"294":{"position":[[15,6]]},"337":{"position":[[37,7]]},"501":{"position":[[22,6]]},"525":{"position":[[37,7]]},"582":{"position":[[37,7]]},"626":{"position":[[2,6]]},"702":{"position":[[24,6]]},"872":{"position":[[15,6]]},"874":{"position":[[46,7]]},"886":{"position":[[5,7]]},"902":{"position":[[45,6]]},"912":{"position":[[37,6]]}},"content":{"14":{"position":[[146,6],[560,7]]},"16":{"position":[[70,6]]},"19":{"position":[[95,6]]},"20":{"position":[[72,6],[170,6],[232,6]]},"21":{"position":[[16,6]]},"22":{"position":[[319,6]]},"37":{"position":[[153,7]]},"38":{"position":[[17,6],[301,6]]},"41":{"position":[[228,7],[322,6]]},"42":{"position":[[139,6]]},"43":{"position":[[469,6],[577,6]]},"45":{"position":[[45,6]]},"46":{"position":[[461,6],[678,6]]},"99":{"position":[[95,6],[109,6]]},"110":{"position":[[78,6]]},"120":{"position":[[11,6]]},"123":{"position":[[61,7],[284,8]]},"134":{"position":[[60,7]]},"135":{"position":[[82,6],[192,7]]},"136":{"position":[[151,7]]},"139":{"position":[[146,6]]},"147":{"position":[[48,7]]},"151":{"position":[[252,7]]},"153":{"position":[[42,6],[399,7]]},"157":{"position":[[176,6]]},"158":{"position":[[57,7],[237,8],[301,6]]},"164":{"position":[[398,8]]},"165":{"position":[[102,7]]},"172":{"position":[[34,6],[150,6],[320,6]]},"173":{"position":[[1349,6],[1981,6],[2581,6]]},"174":{"position":[[2072,6],[2139,6]]},"181":{"position":[[11,6],[325,7]]},"184":{"position":[[177,7]]},"190":{"position":[[86,7]]},"192":{"position":[[104,7]]},"201":{"position":[[127,6]]},"203":{"position":[[343,7]]},"208":{"position":[[67,6]]},"210":{"position":[[635,6],[741,6]]},"212":{"position":[[489,6]]},"224":{"position":[[134,6]]},"226":{"position":[[88,6]]},"240":{"position":[[62,6]]},"248":{"position":[[28,6]]},"249":{"position":[[368,6]]},"261":{"position":[[153,7],[408,7]]},"267":{"position":[[400,7]]},"271":{"position":[[110,6],[219,6]]},"278":{"position":[[64,6]]},"279":{"position":[[146,7]]},"280":{"position":[[33,6]]},"288":{"position":[[36,7],[290,7]]},"289":{"position":[[128,7],[565,7],[801,6]]},"293":{"position":[[40,6]]},"320":{"position":[[218,6]]},"321":{"position":[[156,7],[509,6]]},"325":{"position":[[11,6]]},"328":{"position":[[117,7]]},"339":{"position":[[17,7]]},"340":{"position":[[46,6],[82,7]]},"359":{"position":[[71,6]]},"367":{"position":[[193,6]]},"369":{"position":[[1077,7]]},"407":{"position":[[69,6]]},"408":{"position":[[107,6],[449,6],[775,7],[2750,6],[2816,7],[3733,7],[4371,6],[4451,6],[5171,8],[5300,6]]},"410":{"position":[[680,6],[1389,6],[1772,8]]},"411":{"position":[[484,6],[1229,6],[1408,6],[4021,7]]},"412":{"position":[[940,6],[1079,6],[2139,6],[2301,7],[4349,6],[4390,6],[6729,7],[6831,7],[8919,6],[9013,6],[9311,7],[10392,6],[10516,6],[10992,7],[11000,6],[11366,7],[11433,7],[11860,6],[12171,6],[12874,6],[13144,6],[13444,6],[13817,7],[13893,7],[14262,6],[14420,6],[14742,7],[14992,6]]},"416":{"position":[[92,7],[391,7]]},"419":{"position":[[826,6]]},"434":{"position":[[35,6]]},"435":{"position":[[52,6]]},"450":{"position":[[352,6]]},"454":{"position":[[306,6]]},"455":{"position":[[88,6],[205,6]]},"473":{"position":[[67,6]]},"477":{"position":[[170,6]]},"478":{"position":[[61,6],[198,7]]},"479":{"position":[[85,6]]},"491":{"position":[[451,7],[739,8],[1344,7],[1603,7]]},"495":{"position":[[767,6],[820,6]]},"496":{"position":[[846,6]]},"501":{"position":[[97,6]]},"502":{"position":[[80,6],[375,6]]},"504":{"position":[[571,7],[647,7],[849,7],[973,7],[1380,7]]},"514":{"position":[[240,7]]},"517":{"position":[[104,7],[299,6]]},"525":{"position":[[91,6],[311,6],[480,7]]},"534":{"position":[[473,6],[636,6]]},"570":{"position":[[346,7],[444,6],[509,7],[818,8]]},"571":{"position":[[28,6],[495,7]]},"575":{"position":[[152,6]]},"582":{"position":[[502,7]]},"594":{"position":[[471,6],[634,6]]},"610":{"position":[[64,6],[242,6],[477,7],[570,6],[897,6],[1247,6],[1439,6],[1569,6],[1635,6]]},"611":{"position":[[105,6],[620,6]]},"612":{"position":[[79,6],[187,7],[291,6],[613,7],[701,6]]},"613":{"position":[[98,7]]},"614":{"position":[[563,6],[570,6],[629,6],[695,7]]},"616":{"position":[[117,6],[431,6]]},"617":{"position":[[109,6],[613,6],[1090,6],[2314,8]]},"618":{"position":[[628,8]]},"621":{"position":[[249,6],[584,6]]},"622":{"position":[[128,6],[266,7],[380,6]]},"623":{"position":[[266,7]]},"624":{"position":[[28,6],[533,6]]},"626":{"position":[[8,6],[139,7],[485,6],[582,6],[786,6],[916,6],[943,6],[1052,6],[1137,7]]},"628":{"position":[[136,6]]},"632":{"position":[[199,6],[534,7],[2733,6]]},"634":{"position":[[120,7]]},"635":{"position":[[64,7]]},"661":{"position":[[1716,7],[1778,7]]},"663":{"position":[[126,6]]},"683":{"position":[[391,6]]},"696":{"position":[[94,7],[634,6],[1790,7]]},"697":{"position":[[439,6]]},"698":{"position":[[116,7],[720,7],[1555,7],[1659,7],[1751,6],[1873,8],[2713,7]]},"699":{"position":[[36,7],[411,7],[769,6]]},"700":{"position":[[111,7],[139,6],[298,8]]},"702":{"position":[[663,6],[752,7]]},"704":{"position":[[160,6],[593,7]]},"705":{"position":[[792,7],[1409,7]]},"711":{"position":[[2158,6]]},"712":{"position":[[145,6]]},"736":{"position":[[463,7]]},"749":{"position":[[16389,7],[16519,7],[16652,6],[16728,6]]},"756":{"position":[[333,8]]},"780":{"position":[[588,6]]},"781":{"position":[[316,7],[346,6],[431,6]]},"782":{"position":[[385,7]]},"783":{"position":[[352,8],[656,6]]},"784":{"position":[[194,6],[485,7],[643,7],[778,6]]},"836":{"position":[[2423,6]]},"837":{"position":[[300,6]]},"839":{"position":[[1276,7]]},"840":{"position":[[70,7],[294,7]]},"842":{"position":[[260,6]]},"844":{"position":[[217,7]]},"860":{"position":[[249,6],[703,7],[1042,6],[1242,6],[1251,6],[1260,6]]},"861":{"position":[[1746,8],[2460,7]]},"862":{"position":[[63,6],[457,6],[921,7],[962,6],[975,9],[1204,7]]},"863":{"position":[[631,7]]},"871":{"position":[[51,7],[166,7],[185,6],[231,6],[421,8],[486,6],[512,6],[521,6]]},"872":{"position":[[15,6],[3056,6],[3593,6],[3626,6],[4002,8]]},"875":{"position":[[37,7],[772,7],[2922,6],[3588,6],[6087,7],[6787,6],[7021,7],[7138,7],[7786,6],[7918,7],[7930,6],[8554,6],[9066,6],[9132,6]]},"876":{"position":[[86,7],[207,6],[337,6],[576,7],[615,6]]},"879":{"position":[[162,7],[300,6],[422,6],[500,6]]},"880":{"position":[[10,7],[118,6],[140,6]]},"881":{"position":[[10,6],[287,6]]},"885":{"position":[[402,6]]},"890":{"position":[[1045,6]]},"893":{"position":[[301,6]]},"896":{"position":[[53,6]]},"897":{"position":[[1,6],[19,6],[28,6],[40,7],[99,7],[548,7]]},"898":{"position":[[483,7],[634,7],[712,6],[2158,6],[2724,7],[2755,6],[2917,8],[2967,6],[3224,6],[3363,7]]},"901":{"position":[[677,6]]},"902":{"position":[[84,6]]},"903":{"position":[[190,8],[720,6]]},"904":{"position":[[139,8],[1941,7]]},"908":{"position":[[98,7]]},"912":{"position":[[38,6]]},"981":{"position":[[799,6],[923,6],[1096,6],[1248,6],[1667,6]]},"982":{"position":[[278,6],[330,6],[363,6],[460,6],[556,7],[572,6],[719,6],[785,7]]},"983":{"position":[[433,6],[448,6],[931,6]]},"984":{"position":[[43,6]]},"985":{"position":[[11,6],[125,7],[430,6],[605,6],[636,6]]},"987":{"position":[[15,7],[262,6],[524,6],[849,7]]},"988":{"position":[[4999,6],[5838,6],[6046,6]]},"990":{"position":[[1046,6],[1351,6]]},"991":{"position":[[15,6],[72,6],[212,7]]},"995":{"position":[[1337,7]]},"996":{"position":[[88,6],[205,6],[358,6],[423,6]]},"1005":{"position":[[135,7]]},"1032":{"position":[[204,6]]},"1072":{"position":[[140,6],[685,6],[1234,6]]},"1088":{"position":[[214,7]]},"1100":{"position":[[878,6],[1012,8]]},"1101":{"position":[[33,7],[184,6],[600,7]]},"1102":{"position":[[737,6],[831,6],[923,6]]},"1104":{"position":[[206,6],[621,6]]},"1105":{"position":[[88,6],[1003,7]]},"1106":{"position":[[122,7],[161,7],[365,7]]},"1107":{"position":[[1071,6]]},"1108":{"position":[[126,8],[135,7],[366,8]]},"1109":{"position":[[81,7]]},"1112":{"position":[[242,6]]},"1123":{"position":[[620,6]]},"1124":{"position":[[1293,6],[1360,6]]},"1133":{"position":[[26,6],[256,6]]},"1196":{"position":[[10,6],[130,6]]},"1198":{"position":[[98,6],[1691,7]]},"1206":{"position":[[521,6]]},"1218":{"position":[[278,6]]},"1220":{"position":[[393,6]]},"1249":{"position":[[299,6]]},"1250":{"position":[[369,6]]},"1260":{"position":[[22,7]]},"1295":{"position":[[486,6]]},"1301":{"position":[[353,6],[515,6]]},"1304":{"position":[[1058,7],[1293,8],[1312,6],[1384,7],[1688,7]]},"1305":{"position":[[125,6]]},"1308":{"position":[[46,7],[295,6],[498,6]]},"1314":{"position":[[316,7],[391,6],[565,6]]},"1316":{"position":[[193,6],[288,7],[1074,7],[1142,6],[1928,7],[1936,6],[2016,6],[2139,6],[2181,7],[2359,6],[2640,8],[2670,7],[2771,6],[2859,7],[3040,6],[3140,6]]},"1317":{"position":[[19,6],[141,6]]},"1318":{"position":[[140,7]]},"1319":{"position":[[619,6],[677,6]]},"1321":{"position":[[51,6]]},"1324":{"position":[[56,6],[545,7],[754,8]]}},"keywords":{}}],["client'",{"_index":1403,"title":{},"content":{"220":{"position":[[72,8]]},"270":{"position":[[275,8]]},"273":{"position":[[155,8]]},"280":{"position":[[195,8]]},"294":{"position":[[125,8]]},"392":{"position":[[4932,8]]},"412":{"position":[[11250,8]]},"630":{"position":[[255,8]]},"708":{"position":[[289,8]]},"1314":{"position":[[226,8]]}},"keywords":{}}],["client.delet",{"_index":5550,"title":{},"content":{"1004":{"position":[[481,14]]}},"keywords":{}}],["client.j",{"_index":6254,"title":{},"content":{"1219":{"position":[[767,9]]}},"keywords":{}}],["client.queri",{"_index":5942,"title":{},"content":{"1102":{"position":[[1033,14]]}},"keywords":{}}],["client.setendpoint('https://cloud.appwrite.io/v1",{"_index":4904,"title":{},"content":{"862":{"position":[[985,51]]}},"keywords":{}}],["client.setproject('your_appwrite_project_id",{"_index":4905,"title":{},"content":{"862":{"position":[[1037,46]]}},"keywords":{}}],["client.subscrib",{"_index":1328,"title":{},"content":{"205":{"position":[[249,16]]}},"keywords":{}}],["client.t",{"_index":4969,"title":{},"content":{"872":{"position":[[3765,9]]},"875":{"position":[[317,9],[3059,9],[6103,9],[8029,9],[8949,9],[9448,9]]},"1101":{"position":[[617,9]]}},"keywords":{}}],["clientopt",{"_index":5141,"title":{},"content":{"886":{"position":[[4465,13]]}},"keywords":{}}],["clients.improv",{"_index":3478,"title":{},"content":{"574":{"position":[[381,16]]}},"keywords":{}}],["clock",{"_index":2771,"title":{},"content":{"412":{"position":[[14634,5]]},"705":{"position":[[1007,5],[1439,6]]},"991":{"position":[[27,6]]},"1304":{"position":[[1151,5]]},"1305":{"position":[[465,7]]},"1316":{"position":[[1899,5],[1948,6],[2036,5],[2120,5]]},"1324":{"position":[[855,6]]}},"keywords":{}}],["clojur",{"_index":624,"title":{},"content":{"39":{"position":[[448,8]]}},"keywords":{}}],["clone",{"_index":3823,"title":{},"content":{"666":{"position":[[151,5]]},"749":{"position":[[11937,7]]},"824":{"position":[[154,5]]},"848":{"position":[[231,5]]},"1052":{"position":[[37,6],[102,7]]},"1108":{"position":[[693,5]]}},"keywords":{}}],["close",{"_index":1726,"title":{"955":{"position":[[0,8]]},"976":{"position":[[0,8]]},"1027":{"position":[[0,8]]}},"content":{"298":{"position":[[744,7]]},"301":{"position":[[383,5]]},"360":{"position":[[65,7]]},"392":{"position":[[2322,6]]},"408":{"position":[[5135,7]]},"424":{"position":[[316,6]]},"451":{"position":[[905,7]]},"458":{"position":[[111,5]]},"468":{"position":[[692,6]]},"610":{"position":[[507,7]]},"611":{"position":[[1247,7]]},"612":{"position":[[2400,6]]},"618":{"position":[[344,7]]},"622":{"position":[[495,7]]},"737":{"position":[[226,7],[272,7]]},"746":{"position":[[833,6]]},"749":{"position":[[8760,6]]},"783":{"position":[[96,5]]},"956":{"position":[[71,6],[292,10]]},"967":{"position":[[19,6],[361,5],[389,7]]},"976":{"position":[[1,6],[159,7],[167,7]]},"988":{"position":[[5647,5]]},"995":{"position":[[342,6],[999,6]]},"1027":{"position":[[168,7]]},"1030":{"position":[[71,6]]},"1174":{"position":[[634,7]]},"1198":{"position":[[744,6]]},"1208":{"position":[[1829,5]]},"1218":{"position":[[212,7],[234,6]]},"1298":{"position":[[205,5]]},"1319":{"position":[[688,5]]}},"keywords":{}}],["closedupl",{"_index":5397,"title":{"967":{"position":[[0,16]]}},"content":{"967":{"position":[[196,16],[314,16]]}},"keywords":{}}],["closest",{"_index":2199,"title":{},"content":{"390":{"position":[[1235,7]]}},"keywords":{}}],["cloud",{"_index":207,"title":{"202":{"position":[[32,6]]},"204":{"position":[[9,5]]},"251":{"position":[[11,5]]},"1148":{"position":[[13,5]]}},"content":{"14":{"position":[[199,5],[597,5],[1027,5]]},"18":{"position":[[247,6]]},"19":{"position":[[1019,5]]},"26":{"position":[[15,5],[125,5],[408,6]]},"36":{"position":[[389,5],[440,5]]},"260":{"position":[[222,5]]},"289":{"position":[[1024,5],[1210,5]]},"410":{"position":[[1596,5]]},"411":{"position":[[5370,5]]},"412":{"position":[[2875,5],[4186,5],[8767,5],[8812,5],[11099,5],[12083,5]]},"414":{"position":[[257,5]]},"417":{"position":[[276,5]]},"418":{"position":[[758,5]]},"444":{"position":[[564,5],[820,5]]},"504":{"position":[[1145,5]]},"839":{"position":[[389,5],[455,6],[910,5],[1301,5]]},"840":{"position":[[18,5],[122,5]]},"841":{"position":[[252,5],[650,7],[811,5]]},"860":{"position":[[1143,5]]},"861":{"position":[[33,5],[101,5],[288,5]]},"862":{"position":[[938,5]]},"872":{"position":[[325,6]]},"896":{"position":[[1,5]]},"1112":{"position":[[305,5]]},"1124":{"position":[[1774,5]]},"1147":{"position":[[162,5],[239,5],[471,5]]},"1148":{"position":[[7,5],[213,5],[263,5],[445,5],[476,5],[512,6],[667,5],[723,5]]}},"keywords":{}}],["cloud.integr",{"_index":1306,"title":{},"content":{"202":{"position":[[175,15]]}},"keywords":{}}],["cloudant",{"_index":422,"title":{"26":{"position":[[0,9]]}},"content":{"26":{"position":[[1,8],[356,8]]}},"keywords":{}}],["cluster",{"_index":4563,"title":{},"content":{"772":{"position":[[240,7],[459,7],[1268,7],[1845,8]]},"865":{"position":[[39,7]]},"870":{"position":[[269,8]]},"871":{"position":[[874,8]]},"1095":{"position":[[189,7],[336,7]]},"1134":{"position":[[256,9],[461,7]]},"1135":{"position":[[88,7],[239,8]]}},"keywords":{}}],["cluster.instal",{"_index":6033,"title":{},"content":{"1133":{"position":[[88,15]]}},"keywords":{}}],["cluster.privaci",{"_index":5242,"title":{},"content":{"902":{"position":[[346,15]]}},"keywords":{}}],["clusterfil",{"_index":4567,"title":{},"content":{"772":{"position":[[861,12]]},"774":{"position":[[789,12]]},"1134":{"position":[[552,12]]}},"keywords":{}}],["co",{"_index":4717,"title":{"822":{"position":[[10,3]]}},"content":{},"keywords":{}}],["coal",{"_index":2585,"title":{},"content":{"409":{"position":[[139,5]]}},"keywords":{}}],["cockroach",{"_index":6580,"title":{},"content":{"1324":{"position":[[817,9]]}},"keywords":{}}],["code",{"_index":125,"title":{"209":{"position":[[7,5]]},"239":{"position":[[27,4]]},"739":{"position":[[0,4]]}},"content":{"8":{"position":[[718,5]]},"27":{"position":[[121,5]]},"29":{"position":[[417,4]]},"35":{"position":[[225,4]]},"38":{"position":[[805,4]]},"47":{"position":[[1330,4]]},"74":{"position":[[102,4]]},"84":{"position":[[205,5]]},"112":{"position":[[48,4]]},"114":{"position":[[218,5]]},"149":{"position":[[218,5]]},"174":{"position":[[2845,4]]},"175":{"position":[[211,5]]},"188":{"position":[[1641,5],[2429,4]]},"198":{"position":[[496,4]]},"207":{"position":[[302,4]]},"228":{"position":[[129,4],[478,4]]},"232":{"position":[[196,4]]},"239":{"position":[[53,4]]},"241":{"position":[[313,5]]},"254":{"position":[[542,5]]},"255":{"position":[[301,4]]},"281":{"position":[[443,4]]},"309":{"position":[[351,4]]},"323":{"position":[[430,4]]},"329":{"position":[[193,4]]},"335":{"position":[[932,4]]},"347":{"position":[[218,5]]},"362":{"position":[[1289,5]]},"369":{"position":[[1483,5]]},"373":{"position":[[313,5]]},"401":{"position":[[443,4]]},"403":{"position":[[283,4]]},"405":{"position":[[50,4]]},"411":{"position":[[1539,4]]},"412":{"position":[[9252,5]]},"425":{"position":[[31,4],[231,4]]},"430":{"position":[[385,4]]},"445":{"position":[[1472,4],[1598,4]]},"453":{"position":[[582,4]]},"454":{"position":[[70,4],[347,4],[652,4]]},"455":{"position":[[456,4]]},"498":{"position":[[342,4]]},"511":{"position":[[218,5]]},"515":{"position":[[199,5],[371,4]]},"522":{"position":[[237,4]]},"524":{"position":[[848,4]]},"531":{"position":[[218,5]]},"535":{"position":[[226,4],[1290,4]]},"563":{"position":[[1082,4]]},"567":{"position":[[476,5],[863,4]]},"591":{"position":[[218,5]]},"595":{"position":[[239,4],[1364,4]]},"610":{"position":[[1485,4]]},"674":{"position":[[260,5]]},"688":{"position":[[484,5]]},"698":{"position":[[1467,4],[1933,5]]},"702":{"position":[[790,4]]},"703":{"position":[[158,4]]},"711":{"position":[[1044,4]]},"714":{"position":[[319,5]]},"728":{"position":[[9,5],[251,5]]},"749":{"position":[[3,5],[91,5],[438,5],[565,5],[656,5],[809,5],[946,5],[1081,5],[1305,5],[1393,5],[1542,5],[1645,5],[1742,5],[1859,5],[1985,5],[2088,5],[2194,5],[2288,5],[2381,5],[2466,5],[2583,5],[2824,5],[2937,5],[3170,5],[3290,5],[3646,5],[3843,5],[3930,5],[4002,5],[4117,5],[4233,5],[4355,5],[4532,5],[4606,5],[4713,5],[4848,5],[4980,5],[5132,5],[5234,5],[5346,5],[5553,5],[5980,4],[6061,5],[6197,5],[6333,5],[6452,5],[6594,5],[6706,5],[6821,5],[6945,5],[7053,5],[7172,5],[7296,5],[7479,5],[7559,5],[7636,5],[7735,5],[7839,5],[7934,5],[8034,5],[8128,5],[8226,5],[8334,5],[8429,5],[8529,5],[8651,5],[8728,5],[8902,5],[9052,5],[9210,5],[9501,5],[9646,5],[9730,5],[9818,5],[9925,5],[10039,5],[10157,5],[10266,5],[10371,5],[10459,5],[10582,5],[10686,5],[10792,5],[10883,5],[10965,5],[11103,5],[11244,5],[11355,5],[11454,5],[11530,5],[11675,5],[11772,5],[11881,5],[12182,5],[12273,5],[12400,5],[12481,5],[12554,5],[12769,5],[12878,5],[12955,5],[13064,5],[13181,5],[13255,5],[13375,5],[13504,5],[13627,5],[13750,5],[13848,5],[13992,5],[14075,5],[14169,5],[14281,5],[14366,5],[14562,5],[14644,5],[14759,5],[14915,5],[15126,5],[15285,5],[15460,5],[15592,5],[15726,5],[15858,5],[15993,5],[16095,5],[16243,5],[16362,5],[16484,5],[16633,5],[16826,5],[16915,5],[17021,5],[17144,5],[17293,5],[17402,5],[17518,5],[17636,5],[17759,5],[17868,5],[17989,5],[18111,5],[18208,5],[18308,5],[18490,5],[18584,5],[18703,5],[18807,5],[18913,5],[19016,5],[19110,5],[19312,5],[19440,5],[19566,5],[19681,5],[19782,5],[19874,5],[19998,5],[20116,5],[20273,5],[20439,5],[20540,5],[20707,5],[20844,5],[21017,5],[21301,5],[21455,5],[21718,5],[22020,5],[22140,5],[22224,5],[22342,5],[22449,5],[22569,5],[22709,5],[22838,5],[22998,5],[23191,5],[23317,5],[23449,5],[23582,5],[23773,5],[23955,5],[24075,5],[24236,5],[24366,5]]},"765":{"position":[[85,5]]},"784":{"position":[[201,4]]},"785":{"position":[[349,4]]},"802":{"position":[[307,4]]},"806":{"position":[[338,4]]},"817":{"position":[[155,4]]},"836":{"position":[[552,4]]},"861":{"position":[[1084,4]]},"862":{"position":[[75,4]]},"876":{"position":[[555,4]]},"904":{"position":[[2501,5]]},"906":{"position":[[1136,4]]},"945":{"position":[[382,4]]},"990":{"position":[[1125,4]]},"995":{"position":[[1436,5]]},"1031":{"position":[[134,4]]},"1071":{"position":[[269,4]]},"1072":{"position":[[533,4],[844,5],[976,4],[1165,5],[1388,4]]},"1124":{"position":[[1311,5],[1392,4]]},"1198":{"position":[[811,4]]},"1251":{"position":[[104,4],[221,4]]},"1272":{"position":[[381,4]]},"1282":{"position":[[545,5]]},"1307":{"position":[[497,4]]}},"keywords":{}}],["code"",{"_index":2620,"title":{},"content":{"411":{"position":[[2476,10]]}},"keywords":{}}],["code.for",{"_index":4719,"title":{},"content":{"824":{"position":[[194,8]]}},"keywords":{}}],["codebas",{"_index":1043,"title":{},"content":{"107":{"position":[[128,9]]},"145":{"position":[[62,9]]},"177":{"position":[[187,9]]},"219":{"position":[[288,9]]},"239":{"position":[[256,8]]},"384":{"position":[[341,9]]},"445":{"position":[[2467,8]]},"446":{"position":[[1325,8]]},"636":{"position":[[426,9]]}},"keywords":{}}],["codesearch",{"_index":4133,"title":{},"content":{"749":{"position":[[56,10],[403,10],[530,10],[621,10],[774,10],[911,10],[1046,10],[1270,10],[1358,10],[1507,10],[1610,10],[1707,10],[1824,10],[1950,10],[2053,10],[2159,10],[2253,10],[2346,10],[2431,10],[2548,10],[2789,10],[2902,10],[3135,10],[3255,10],[3611,10],[3808,10],[3895,10],[3967,10],[4082,10],[4198,10],[4320,10],[4497,10],[4571,10],[4678,10],[4813,10],[4945,10],[5097,10],[5199,10],[5311,10],[5518,10],[6026,10],[6162,10],[6298,10],[6417,10],[6559,10],[6671,10],[6786,10],[6910,10],[7018,10],[7137,10],[7261,10],[7444,10],[7524,10],[7601,10],[7700,10],[7804,10],[7899,10],[7999,10],[8093,10],[8191,10],[8299,10],[8394,10],[8494,10],[8616,10],[8693,10],[8867,10],[9017,10],[9175,10],[9466,10],[9611,10],[9695,10],[9783,10],[9890,10],[10004,10],[10122,10],[10231,10],[10336,10],[10424,10],[10547,10],[10651,10],[10757,10],[10848,10],[10930,10],[11068,10],[11209,10],[11320,10],[11419,10],[11495,10],[11640,10],[11737,10],[11846,10],[12147,10],[12238,10],[12365,10],[12446,10],[12519,10],[12734,10],[12843,10],[12920,10],[13029,10],[13146,10],[13220,10],[13340,10],[13469,10],[13592,10],[13715,10],[13813,10],[13957,10],[14040,10],[14134,10],[14246,10],[14331,10],[14527,10],[14609,10],[14724,10],[14880,10],[15091,10],[15250,10],[15425,10],[15557,10],[15691,10],[15823,10],[15958,10],[16060,10],[16208,10],[16327,10],[16449,10],[16598,10],[16791,10],[16880,10],[16986,10],[17109,10],[17258,10],[17367,10],[17483,10],[17601,10],[17724,10],[17833,10],[17954,10],[18076,10],[18173,10],[18273,10],[18455,10],[18549,10],[18668,10],[18772,10],[18878,10],[18981,10],[19075,10],[19277,10],[19405,10],[19531,10],[19646,10],[19747,10],[19839,10],[19963,10],[20081,10],[20238,10],[20404,10],[20505,10],[20672,10],[20809,10],[20982,10],[21266,10],[21420,10],[21683,10],[21985,10],[22105,10],[22189,10],[22307,10],[22414,10],[22534,10],[22674,10],[22803,10],[22963,10],[23156,10],[23282,10],[23414,10],[23547,10],[23738,10],[23920,10],[24040,10],[24201,10],[24331,10],[24411,10]]}},"keywords":{}}],["code—rxdb",{"_index":2084,"title":{},"content":{"361":{"position":[[1029,9]]}},"keywords":{}}],["cohes",{"_index":3256,"title":{},"content":{"517":{"position":[[359,8]]}},"keywords":{}}],["col",{"_index":5969,"title":{},"content":{"1108":{"position":[[464,4]]}},"keywords":{}}],["col1",{"_index":4219,"title":{},"content":{"749":{"position":[[6712,4]]}},"keywords":{}}],["col10",{"_index":4238,"title":{},"content":{"749":{"position":[[7741,5]]}},"keywords":{}}],["col11",{"_index":4240,"title":{},"content":{"749":{"position":[[7845,5]]}},"keywords":{}}],["col12",{"_index":4241,"title":{},"content":{"749":{"position":[[7940,5]]}},"keywords":{}}],["col13",{"_index":4242,"title":{},"content":{"749":{"position":[[8040,5]]}},"keywords":{}}],["col14",{"_index":4243,"title":{},"content":{"749":{"position":[[8134,5]]}},"keywords":{}}],["col15",{"_index":4244,"title":{},"content":{"749":{"position":[[8232,5]]}},"keywords":{}}],["col16",{"_index":4245,"title":{},"content":{"749":{"position":[[8340,5]]}},"keywords":{}}],["col17",{"_index":4246,"title":{},"content":{"749":{"position":[[8435,5]]}},"keywords":{}}],["col18",{"_index":4248,"title":{},"content":{"749":{"position":[[8535,5]]}},"keywords":{}}],["col2",{"_index":4221,"title":{},"content":{"749":{"position":[[6827,4]]}},"keywords":{}}],["col20",{"_index":4249,"title":{},"content":{"749":{"position":[[8657,5]]}},"keywords":{}}],["col21",{"_index":4250,"title":{},"content":{"749":{"position":[[8734,5]]}},"keywords":{}}],["col22",{"_index":4251,"title":{},"content":{"749":{"position":[[9058,5]]}},"keywords":{}}],["col23",{"_index":4254,"title":{},"content":{"749":{"position":[[9216,5]]}},"keywords":{}}],["col3",{"_index":4224,"title":{},"content":{"749":{"position":[[6951,4]]}},"keywords":{}}],["col4",{"_index":4226,"title":{},"content":{"749":{"position":[[7059,4]]}},"keywords":{}}],["col5",{"_index":4228,"title":{},"content":{"749":{"position":[[7178,4]]}},"keywords":{}}],["col6",{"_index":4231,"title":{},"content":{"749":{"position":[[7302,4]]}},"keywords":{}}],["col7",{"_index":4234,"title":{},"content":{"749":{"position":[[7485,4]]}},"keywords":{}}],["col8",{"_index":4235,"title":{},"content":{"749":{"position":[[7565,4]]}},"keywords":{}}],["col9",{"_index":4236,"title":{},"content":{"749":{"position":[[7642,4]]}},"keywords":{}}],["collabor",{"_index":565,"title":{},"content":{"35":{"position":[[647,13]]},"38":{"position":[[67,14]]},"39":{"position":[[511,14]]},"40":{"position":[[96,13]]},"89":{"position":[[263,13]]},"109":{"position":[[227,13]]},"136":{"position":[[302,13]]},"148":{"position":[[337,13]]},"151":{"position":[[318,13]]},"158":{"position":[[255,13]]},"168":{"position":[[313,13]]},"174":{"position":[[1951,13]]},"212":{"position":[[526,14]]},"267":{"position":[[475,13],[599,13],[751,13],[1495,13]]},"289":{"position":[[949,13],[1958,13]]},"375":{"position":[[612,13]]},"388":{"position":[[459,13]]},"407":{"position":[[948,13],[1046,11]]},"411":{"position":[[5120,14]]},"412":{"position":[[3774,14],[6494,13]]},"418":{"position":[[783,13]]},"445":{"position":[[942,13],[1178,13]]},"446":{"position":[[437,14],[488,14],[534,13]]},"491":{"position":[[1812,13]]},"496":{"position":[[385,13]]},"501":{"position":[[317,12]]},"613":{"position":[[483,13]]},"860":{"position":[[657,13]]}},"keywords":{}}],["collaboration.memori",{"_index":1184,"title":{},"content":{"162":{"position":[[512,20]]}},"keywords":{}}],["collect",{"_index":224,"title":{"51":{"position":[[22,12]]},"259":{"position":[[7,13]]},"538":{"position":[[22,12]]},"598":{"position":[[22,12]]},"655":{"position":[[36,11]]},"789":{"position":[[17,11]]},"791":{"position":[[26,11]]},"934":{"position":[[11,11]]},"939":{"position":[[6,10]]},"979":{"position":[[0,13]]},"1007":{"position":[[10,11]]},"1075":{"position":[[9,10]]}},"content":{"14":{"position":[[780,12]]},"16":{"position":[[218,11]]},"18":{"position":[[20,10]]},"22":{"position":[[86,10]]},"47":{"position":[[814,10]]},"51":{"position":[[811,11]]},"130":{"position":[[484,10]]},"140":{"position":[[90,10]]},"168":{"position":[[175,11]]},"188":{"position":[[2731,10],[2755,10]]},"209":{"position":[[646,11]]},"210":{"position":[[288,11]]},"211":{"position":[[296,10]]},"255":{"position":[[997,11]]},"261":{"position":[[361,11]]},"334":{"position":[[66,11]]},"335":{"position":[[867,10]]},"344":{"position":[[72,10]]},"379":{"position":[[96,11]]},"392":{"position":[[443,10],[888,10],[1147,10],[2071,11],[2599,11]]},"412":{"position":[[1096,12]]},"480":{"position":[[64,11],[455,11],[947,10]]},"481":{"position":[[666,11]]},"482":{"position":[[743,10]]},"493":{"position":[[413,10]]},"494":{"position":[[575,10]]},"523":{"position":[[314,11],[333,10]]},"538":{"position":[[834,11]]},"541":{"position":[[237,10],[509,14]]},"542":{"position":[[765,10]]},"554":{"position":[[1236,10]]},"562":{"position":[[1108,10],[1423,14]]},"563":{"position":[[675,10]]},"567":{"position":[[671,12]]},"575":{"position":[[706,10]]},"598":{"position":[[841,11]]},"632":{"position":[[1440,11],[2234,11]]},"639":{"position":[[274,10]]},"643":{"position":[[75,11]]},"654":{"position":[[36,10]]},"655":{"position":[[17,10],[205,10]]},"656":{"position":[[293,10]]},"662":{"position":[[2272,11],[2294,11],[2312,11]]},"680":{"position":[[1122,10]]},"698":{"position":[[1484,10]]},"710":{"position":[[1783,11],[1801,11]]},"723":{"position":[[465,12],[1519,11]]},"724":{"position":[[384,10],[676,10],[729,11]]},"739":{"position":[[102,11]]},"745":{"position":[[606,11]]},"749":{"position":[[101,10],[4887,10],[5019,10],[5273,10],[5415,10],[6502,10],[8541,10],[9272,11],[10194,10],[13285,11],[15197,11],[19497,10],[22251,11],[24272,10]]},"751":{"position":[[20,11],[1909,10]]},"752":{"position":[[58,10]]},"753":{"position":[[91,10],[141,11]]},"754":{"position":[[367,10]]},"755":{"position":[[129,11]]},"759":{"position":[[817,11],[1020,11],[1157,11],[1307,11],[1468,11],[1510,11]]},"770":{"position":[[125,11],[663,11]]},"772":{"position":[[913,10]]},"788":{"position":[[21,10],[62,11]]},"789":{"position":[[69,11],[379,11]]},"790":{"position":[[30,10],[92,11]]},"792":{"position":[[32,10],[115,11]]},"798":{"position":[[367,10]]},"806":{"position":[[564,10]]},"808":{"position":[[50,10],[289,10]]},"818":{"position":[[474,10]]},"829":{"position":[[1880,12],[1953,10],[2014,10],[2217,10],[2382,11],[3298,11]]},"838":{"position":[[2508,11],[2526,11]]},"845":{"position":[[129,11]]},"846":{"position":[[211,11]]},"848":{"position":[[728,11],[1363,11]]},"852":{"position":[[246,11]]},"854":{"position":[[157,10],[455,10],[693,11],[774,11],[1549,11]]},"858":{"position":[[51,11],[204,11],[285,11]]},"861":{"position":[[953,11],[1046,11],[1248,11],[1864,10],[1990,11],[2228,11],[2296,10],[2347,10]]},"862":{"position":[[510,11],[872,10],[1369,11]]},"863":{"position":[[788,11]]},"866":{"position":[[180,10],[448,11],[520,10]]},"872":{"position":[[743,11],[816,11],[1067,12],[1291,10],[1368,11],[1417,11],[1796,10],[2108,10],[2224,10],[2251,11],[2424,12],[2509,11],[2942,10],[3415,11],[3678,10],[4520,11]]},"875":{"position":[[448,11]]},"878":{"position":[[121,10],[303,11],[449,10]]},"886":{"position":[[1030,11],[2662,11],[3849,11]]},"887":{"position":[[315,11]]},"888":{"position":[[456,11]]},"889":{"position":[[505,11]]},"890":{"position":[[805,11]]},"893":{"position":[[49,10],[308,10],[354,10],[374,11]]},"898":{"position":[[1569,11],[1623,10],[3158,10],[3381,11]]},"904":{"position":[[364,11],[1498,11],[1868,10],[1879,11],[2291,10]]},"932":{"position":[[1388,11]]},"934":{"position":[[23,11],[110,10],[129,10],[361,10],[846,11]]},"935":{"position":[[34,10],[78,10],[120,11],[183,10]]},"936":{"position":[[45,10]]},"937":{"position":[[146,11]]},"939":{"position":[[20,10],[59,10],[119,10],[136,11]]},"941":{"position":[[88,11]]},"942":{"position":[[57,10]]},"943":{"position":[[75,10]]},"946":{"position":[[54,11]]},"949":{"position":[[27,11]]},"950":{"position":[[173,11]]},"952":{"position":[[70,11]]},"953":{"position":[[35,11]]},"954":{"position":[[31,10],[169,10]]},"955":{"position":[[153,11],[191,10],[256,10]]},"956":{"position":[[56,10],[182,10]]},"958":{"position":[[43,11],[116,11],[500,12]]},"963":{"position":[[54,11]]},"971":{"position":[[77,10]]},"988":{"position":[[272,11]]},"999":{"position":[[249,10]]},"1002":{"position":[[293,10],[563,11],[1217,11]]},"1004":{"position":[[153,10]]},"1007":{"position":[[32,10],[1401,11]]},"1013":{"position":[[99,10],[602,10]]},"1014":{"position":[[46,11]]},"1015":{"position":[[46,10]]},"1020":{"position":[[313,10],[556,11]]},"1022":{"position":[[416,11]]},"1024":{"position":[[52,10]]},"1032":{"position":[[133,10],[237,10]]},"1033":{"position":[[70,10],[319,12]]},"1035":{"position":[[29,11]]},"1036":{"position":[[24,11]]},"1047":{"position":[[36,11]]},"1055":{"position":[[46,10]]},"1062":{"position":[[239,10]]},"1072":{"position":[[596,11],[1204,10],[1291,10],[1544,10]]},"1074":{"position":[[41,10]]},"1076":{"position":[[141,10]]},"1077":{"position":[[108,11]]},"1079":{"position":[[78,11]]},"1081":{"position":[[27,11]]},"1085":{"position":[[755,10],[841,10],[2713,10],[2765,11],[2867,10],[2933,10],[3101,11]]},"1100":{"position":[[167,11],[597,11],[703,11]]},"1101":{"position":[[326,10],[414,11],[515,11],[676,11]]},"1102":{"position":[[388,11]]},"1103":{"position":[[358,11]]},"1105":{"position":[[784,11]]},"1106":{"position":[[722,11]]},"1108":{"position":[[452,11]]},"1121":{"position":[[247,10],[621,11]]},"1125":{"position":[[818,11]]},"1149":{"position":[[534,10],[991,11],[1246,10],[1373,11]]},"1150":{"position":[[323,11]]},"1158":{"position":[[279,11]]},"1165":{"position":[[867,11]]},"1175":{"position":[[616,10]]},"1194":{"position":[[174,12]]},"1222":{"position":[[994,10],[1053,12],[1090,10],[1283,12]]},"1246":{"position":[[1759,10],[1924,12]]},"1253":{"position":[[130,12]]},"1309":{"position":[[1331,10]]},"1311":{"position":[[86,11],[1199,10],[1349,11],[1711,10]]},"1321":{"position":[[607,11],[853,11],[1107,10]]},"1322":{"position":[[262,10],[331,10]]}},"keywords":{}}],["collection'",{"_index":3320,"title":{},"content":{"541":{"position":[[773,12]]},"601":{"position":[[754,12]]},"955":{"position":[[13,12]]},"1035":{"position":[[62,12]]},"1036":{"position":[[57,12]]},"1321":{"position":[[706,12]]}},"keywords":{}}],["collection(firestoredatabas",{"_index":4871,"title":{},"content":{"854":{"position":[[421,29]]}},"keywords":{}}],["collection.find",{"_index":3308,"title":{},"content":{"541":{"position":[[360,18]]},"542":{"position":[[796,21]]},"562":{"position":[[1201,18]]},"563":{"position":[[720,21]]},"826":{"position":[[809,21]]}},"keywords":{}}],["collection.find().$.subscribe(result",{"_index":6086,"title":{},"content":{"1150":{"position":[[422,37]]}},"keywords":{}}],["collection.find().where('affiliation').equals('jedi",{"_index":3267,"title":{},"content":{"523":{"position":[[391,54]]}},"keywords":{}}],["collection.findon",{"_index":4740,"title":{},"content":{"826":{"position":[[907,24]]}},"keywords":{}}],["collection.html?console=limit#faq",{"_index":4255,"title":{},"content":{"749":{"position":[[9422,33]]}},"keywords":{}}],["collection.insert",{"_index":1279,"title":{},"content":{"188":{"position":[[2851,19]]}},"keywords":{}}],["collection.options.foo",{"_index":4673,"title":{},"content":{"806":{"position":[[765,25]]}},"keywords":{}}],["collection2",{"_index":5322,"title":{},"content":{"939":{"position":[[215,11],[275,13]]}},"keywords":{}}],["collectionid",{"_index":4908,"title":{},"content":{"862":{"position":[[1253,13]]}},"keywords":{}}],["collectionnam",{"_index":3739,"title":{},"content":{"649":{"position":[[345,15]]},"872":{"position":[[2404,15]]},"934":{"position":[[268,14]]},"1309":{"position":[[1431,14]]}},"keywords":{}}],["collections.humans.find",{"_index":3818,"title":{},"content":{"662":{"position":[[2684,25],[2772,25]]},"710":{"position":[[1991,25],[2079,25]]},"838":{"position":[[2898,25],[2986,25]]}},"keywords":{}}],["collections.humans.insert({id",{"_index":3817,"title":{},"content":{"662":{"position":[[2595,30]]},"710":{"position":[[1902,30]]},"838":{"position":[[2809,30]]}},"keywords":{}}],["collections/sync",{"_index":4723,"title":{},"content":{"825":{"position":[[476,16]]}},"keywords":{}}],["collectionsofflin",{"_index":4932,"title":{},"content":{"870":{"position":[[46,18]]},"896":{"position":[[161,18]]}},"keywords":{}}],["collis",{"_index":3460,"title":{},"content":{"569":{"position":[[692,9]]},"635":{"position":[[159,10]]},"1085":{"position":[[1879,10],[2079,10]]}},"keywords":{}}],["color",{"_index":1258,"title":{},"content":{"188":{"position":[[1362,6],[1450,8]]},"1074":{"position":[[265,5]]},"1314":{"position":[[438,6],[469,6]]}},"keywords":{}}],["colorcontroller.text",{"_index":1286,"title":{},"content":{"188":{"position":[[2985,20]]}},"keywords":{}}],["column",{"_index":1990,"title":{"356":{"position":[[5,7]]}},"content":{"351":{"position":[[38,6]]},"356":{"position":[[125,8],[221,7],[777,8]]},"357":{"position":[[57,8]]},"362":{"position":[[363,8],[498,7]]},"457":{"position":[[296,6]]},"898":{"position":[[1709,6],[3926,6],[4263,8]]},"1253":{"position":[[105,8]]}},"keywords":{}}],["combin",{"_index":637,"title":{},"content":{"40":{"position":[[354,7]]},"61":{"position":[[276,9]]},"118":{"position":[[94,8]]},"179":{"position":[[269,8]]},"260":{"position":[[171,7]]},"266":{"position":[[260,8]]},"269":{"position":[[34,7]]},"444":{"position":[[781,7]]},"469":{"position":[[964,11]]},"491":{"position":[[782,9]]},"496":{"position":[[305,9]]},"498":{"position":[[459,9]]},"500":{"position":[[68,9]]},"513":{"position":[[171,8]]},"520":{"position":[[94,11]]},"567":{"position":[[800,7]]},"575":{"position":[[67,9]]},"630":{"position":[[830,7]]},"749":{"position":[[5665,11]]},"837":{"position":[[1474,8]]},"860":{"position":[[277,9],[1118,8]]},"967":{"position":[[90,12]]},"1072":{"position":[[1397,7]]},"1100":{"position":[[541,11]]},"1237":{"position":[[116,11]]},"1238":{"position":[[23,11]]},"1296":{"position":[[1489,7]]}},"keywords":{}}],["come",{"_index":389,"title":{"781":{"position":[[9,5]]},"1022":{"position":[[28,5]]}},"content":{"23":{"position":[[338,5]]},"46":{"position":[[283,5]]},"157":{"position":[[382,4]]},"186":{"position":[[78,4]]},"228":{"position":[[37,4]]},"278":{"position":[[9,5]]},"290":{"position":[[9,5]]},"369":{"position":[[76,5]]},"391":{"position":[[167,5]]},"398":{"position":[[182,5]]},"408":{"position":[[2016,5],[3153,5],[4081,4]]},"427":{"position":[[44,4]]},"464":{"position":[[910,5]]},"535":{"position":[[52,5]]},"571":{"position":[[343,4]]},"595":{"position":[[52,5]]},"659":{"position":[[11,5]]},"661":{"position":[[377,5]]},"689":{"position":[[71,4]]},"709":{"position":[[353,4]]},"710":{"position":[[83,4]]},"714":{"position":[[455,5]]},"836":{"position":[[1251,5]]},"904":{"position":[[1756,5]]},"911":{"position":[[348,4]]},"984":{"position":[[50,5]]},"1097":{"position":[[447,5]]},"1107":{"position":[[928,4]]},"1157":{"position":[[63,4]]},"1159":{"position":[[127,5]]},"1188":{"position":[[216,4]]},"1210":{"position":[[152,5]]},"1214":{"position":[[574,5]]},"1270":{"position":[[358,5]]},"1271":{"position":[[91,5]]},"1275":{"position":[[90,5]]},"1316":{"position":[[1641,5],[2791,5]]},"1318":{"position":[[233,5]]}},"keywords":{}}],["comfort",{"_index":1666,"title":{},"content":{"286":{"position":[[345,7]]},"352":{"position":[[284,11]]}},"keywords":{}}],["command",{"_index":1084,"title":{},"content":{"128":{"position":[[157,8]]},"254":{"position":[[188,7]]},"872":{"position":[[536,8]]}},"keywords":{}}],["comment",{"_index":4496,"title":{},"content":{"759":{"position":[[1188,11]]},"1266":{"position":[[1032,9]]}},"keywords":{}}],["commerc",{"_index":3193,"title":{},"content":{"496":{"position":[[513,8]]}},"keywords":{}}],["commerci",{"_index":599,"title":{},"content":{"38":{"position":[[943,10]]},"43":{"position":[[642,10]]}},"keywords":{}}],["commit",{"_index":441,"title":{"1298":{"position":[[21,8]]}},"content":{"27":{"position":[[318,6]]},"32":{"position":[[274,6]]},"668":{"position":[[84,9],[170,6]]},"731":{"position":[[270,7]]},"1297":{"position":[[263,9]]},"1298":{"position":[[15,10],[135,6],[175,8],[219,9]]}},"keywords":{}}],["commithash",{"_index":4080,"title":{},"content":{"731":{"position":[[225,10]]}},"keywords":{}}],["common",{"_index":1112,"title":{},"content":{"132":{"position":[[67,6]]},"282":{"position":[[22,6]]},"376":{"position":[[199,6]]},"411":{"position":[[4463,6]]},"412":{"position":[[991,6]]},"419":{"position":[[66,6]]},"420":{"position":[[472,6]]},"458":{"position":[[1279,6]]},"460":{"position":[[437,6]]},"555":{"position":[[876,6]]},"624":{"position":[[1359,6]]},"640":{"position":[[99,6]]},"697":{"position":[[361,6]]},"708":{"position":[[98,6]]},"709":{"position":[[25,6],[95,6]]},"785":{"position":[[250,6]]},"875":{"position":[[1704,6],[7084,6]]},"966":{"position":[[167,6]]},"995":{"position":[[531,6]]},"1072":{"position":[[2108,6]]},"1092":{"position":[[10,6]]},"1271":{"position":[[1027,6]]},"1320":{"position":[[180,6]]}},"keywords":{}}],["commonli",{"_index":6336,"title":{},"content":{"1272":{"position":[[304,8]]}},"keywords":{}}],["commonmodul",{"_index":4724,"title":{},"content":{"825":{"position":[[602,12],[752,15]]}},"keywords":{}}],["commonplac",{"_index":2854,"title":{},"content":{"421":{"position":[[739,11]]}},"keywords":{}}],["commun",{"_index":996,"title":{},"content":{"84":{"position":[[230,9]]},"114":{"position":[[243,9]]},"149":{"position":[[243,9]]},"175":{"position":[[236,9]]},"188":{"position":[[203,12],[554,11],[1523,11]]},"204":{"position":[[205,12]]},"210":{"position":[[668,12]]},"241":{"position":[[333,9]]},"263":{"position":[[434,10]]},"288":{"position":[[268,13]]},"289":{"position":[[1713,11]]},"303":{"position":[[1087,14]]},"306":{"position":[[269,9]]},"318":{"position":[[527,9]]},"320":{"position":[[145,9]]},"347":{"position":[[243,9]]},"362":{"position":[[1314,9]]},"373":{"position":[[333,9]]},"381":{"position":[[257,9]]},"386":{"position":[[274,9]]},"387":{"position":[[226,9]]},"419":{"position":[[1367,9]]},"460":{"position":[[622,12]]},"491":{"position":[[1536,13]]},"511":{"position":[[243,9]]},"531":{"position":[[243,9]]},"535":{"position":[[870,14]]},"548":{"position":[[376,14]]},"556":{"position":[[1544,14],[1587,13]]},"567":{"position":[[506,9]]},"591":{"position":[[243,9]]},"595":{"position":[[945,14]]},"608":{"position":[[374,14]]},"610":{"position":[[163,14],[777,13]]},"611":{"position":[[34,13]]},"612":{"position":[[158,13],[1028,14]]},"613":{"position":[[72,13]]},"614":{"position":[[23,14],[104,13],[636,13]]},"617":{"position":[[1097,13]]},"621":{"position":[[62,13],[256,13]]},"624":{"position":[[35,13],[687,14]]},"644":{"position":[[289,9]]},"693":{"position":[[575,12]]},"711":{"position":[[340,11]]},"749":{"position":[[23599,11]]},"824":{"position":[[369,9]]},"835":{"position":[[671,9],[715,9]]},"839":{"position":[[1144,9]]},"899":{"position":[[388,10]]},"901":{"position":[[33,14]]},"906":{"position":[[573,14]]},"913":{"position":[[249,9]]},"1088":{"position":[[451,11]]},"1133":{"position":[[54,11]]},"1149":{"position":[[451,12]]},"1151":{"position":[[36,10]]},"1178":{"position":[[36,10]]},"1218":{"position":[[20,12]]},"1246":{"position":[[725,11]]},"1301":{"position":[[1170,11]]},"1304":{"position":[[747,11]]}},"keywords":{}}],["communication.long",{"_index":3669,"title":{},"content":{"622":{"position":[[387,18]]}},"keywords":{}}],["community/sqlit",{"_index":3786,"title":{},"content":{"661":{"position":[[280,16],[443,16],[563,16],[1067,18]]},"662":{"position":[[955,16],[1301,17],[1741,18]]},"1279":{"position":[[563,18]]}},"keywords":{}}],["communityhav",{"_index":3147,"title":{},"content":{"483":{"position":[[880,13]]}},"keywords":{}}],["compani",{"_index":351,"title":{"627":{"position":[[0,7]]}},"content":{"20":{"position":[[123,7]]},"38":{"position":[[971,9]]},"411":{"position":[[5623,9]]},"412":{"position":[[1435,7]]},"627":{"position":[[36,7]]}},"keywords":{}}],["companion",{"_index":3290,"title":{},"content":{"530":{"position":[[633,9]]}},"keywords":{}}],["compar",{"_index":86,"title":{"74":{"position":[[36,8]]},"105":{"position":[[36,8]]},"232":{"position":[[26,8]]},"278":{"position":[[55,8]]},"393":{"position":[[0,9]]},"902":{"position":[[33,8]]}},"content":{"6":{"position":[[107,8]]},"13":{"position":[[244,8]]},"16":{"position":[[355,8]]},"25":{"position":[[163,8]]},"33":{"position":[[292,8]]},"37":{"position":[[289,8]]},"39":{"position":[[594,8]]},"40":{"position":[[603,8]]},"47":{"position":[[182,8]]},"66":{"position":[[151,8]]},"89":{"position":[[119,8]]},"131":{"position":[[586,8]]},"161":{"position":[[279,8]]},"173":{"position":[[270,8],[454,8]]},"174":{"position":[[723,8]]},"212":{"position":[[126,8]]},"224":{"position":[[47,8]]},"232":{"position":[[261,8]]},"265":{"position":[[243,8]]},"281":{"position":[[339,8]]},"282":{"position":[[478,8]]},"295":{"position":[[107,8]]},"299":{"position":[[1587,9]]},"364":{"position":[[636,8]]},"390":{"position":[[769,8]]},"393":{"position":[[77,7],[490,7],[719,7]]},"394":{"position":[[1506,7]]},"400":{"position":[[195,8],[729,8]]},"402":{"position":[[654,7],[1366,8],[2600,7]]},"404":{"position":[[387,8]]},"408":{"position":[[4006,8]]},"411":{"position":[[965,8]]},"413":{"position":[[73,7]]},"429":{"position":[[102,8]]},"432":{"position":[[1294,7]]},"434":{"position":[[202,8]]},"450":{"position":[[524,8]]},"454":{"position":[[414,8],[594,7]]},"456":{"position":[[56,7]]},"458":{"position":[[42,8]]},"462":{"position":[[308,7],[990,7]]},"464":{"position":[[585,8]]},"466":{"position":[[427,8]]},"467":{"position":[[345,8]]},"468":{"position":[[383,7]]},"524":{"position":[[1032,8]]},"576":{"position":[[1,8]]},"581":{"position":[[553,8]]},"620":{"position":[[1,9],[463,11],[744,7]]},"623":{"position":[[756,8]]},"662":{"position":[[806,8]]},"688":{"position":[[601,7]]},"698":{"position":[[595,9]]},"703":{"position":[[1041,8],[1107,7]]},"717":{"position":[[315,8]]},"800":{"position":[[284,8]]},"875":{"position":[[2265,7],[4912,7]]},"885":{"position":[[2231,7]]},"901":{"position":[[538,9]]},"947":{"position":[[73,8]]},"990":{"position":[[509,7]]},"1067":{"position":[[187,8],[842,7],[1017,8]]},"1071":{"position":[[191,8]]},"1089":{"position":[[201,8]]},"1099":{"position":[[131,8]]},"1109":{"position":[[112,9]]},"1118":{"position":[[124,8]]},"1120":{"position":[[60,8],[718,10]]},"1128":{"position":[[14,8]]},"1132":{"position":[[60,7]]},"1137":{"position":[[58,8]]},"1143":{"position":[[409,8]]},"1194":{"position":[[113,7],[1082,8]]},"1206":{"position":[[486,8]]},"1209":{"position":[[105,8],[449,8]]},"1213":{"position":[[203,8]]},"1270":{"position":[[36,8]]},"1276":{"position":[[212,8]]},"1308":{"position":[[388,9],[509,7]]}},"keywords":{}}],["comparison",{"_index":689,"title":{"60":{"position":[[12,10]]},"456":{"position":[[8,11]]},"462":{"position":[[12,11]]},"547":{"position":[[12,10]]},"607":{"position":[[12,10]]},"620":{"position":[[12,11]]},"1137":{"position":[[22,11]]},"1152":{"position":[[12,10]]},"1191":{"position":[[22,11]]},"1193":{"position":[[12,11]]},"1195":{"position":[[35,11]]},"1196":{"position":[[39,11]]},"1270":{"position":[[12,10]]},"1292":{"position":[[12,10]]}},"content":{"43":{"position":[[754,10]]},"394":{"position":[[78,10],[996,12]]},"420":{"position":[[269,11]]},"442":{"position":[[128,10]]},"462":{"position":[[90,12]]},"469":{"position":[[1309,10]]},"495":{"position":[[900,12]]},"620":{"position":[[279,10]]},"694":{"position":[[1,10]]},"698":{"position":[[687,10]]},"703":{"position":[[962,10]]},"772":{"position":[[2534,10]]},"838":{"position":[[3158,11]]},"875":{"position":[[5014,11]]},"1137":{"position":[[26,10],[250,10],[272,10]]},"1193":{"position":[[65,12]]},"1209":{"position":[[307,10]]},"1276":{"position":[[378,11]]}},"keywords":{}}],["comparisons.hierarch",{"_index":2337,"title":{},"content":{"396":{"position":[[311,24]]}},"keywords":{}}],["comparisonspeed",{"_index":6478,"title":{},"content":{"1302":{"position":[[24,18]]}},"keywords":{}}],["compat",{"_index":394,"title":{"82":{"position":[[26,13]]},"113":{"position":[[26,13]]},"238":{"position":[[34,10]]},"384":{"position":[[15,14]]},"830":{"position":[[13,14]]},"885":{"position":[[11,10]]}},"content":{"24":{"position":[[44,10],[314,10],[358,14],[779,10]]},"57":{"position":[[255,13]]},"76":{"position":[[137,13]]},"82":{"position":[[42,13]]},"110":{"position":[[185,13]]},"113":{"position":[[79,10],[125,13]]},"173":{"position":[[2342,13]]},"174":{"position":[[2594,14],[2796,13],[2920,14],[2995,10]]},"188":{"position":[[442,10]]},"238":{"position":[[70,10]]},"286":{"position":[[73,13],[301,13]]},"364":{"position":[[203,14],[333,13]]},"371":{"position":[[172,13]]},"381":{"position":[[212,10]]},"391":{"position":[[1030,10]]},"438":{"position":[[351,10]]},"445":{"position":[[1807,13]]},"495":{"position":[[515,14]]},"581":{"position":[[737,14]]},"624":{"position":[[991,13]]},"749":{"position":[[159,10]]},"756":{"position":[[429,10]]},"838":{"position":[[771,10]]},"841":{"position":[[744,10]]},"863":{"position":[[864,13]]},"865":{"position":[[150,10]]},"879":{"position":[[251,10]]},"911":{"position":[[226,10]]},"981":{"position":[[518,10],[676,10]]},"983":{"position":[[155,10]]},"1133":{"position":[[216,10]]},"1134":{"position":[[294,10]]},"1177":{"position":[[129,10]]},"1204":{"position":[[130,10]]},"1304":{"position":[[1884,10]]},"1320":{"position":[[71,10],[129,10]]}},"keywords":{}}],["compel",{"_index":999,"title":{},"content":{"86":{"position":[[11,10]]},"174":{"position":[[143,10]]},"175":{"position":[[647,10]]},"186":{"position":[[346,10]]},"215":{"position":[[5,10]]},"278":{"position":[[110,10]]},"366":{"position":[[399,10]]},"412":{"position":[[15195,10]]},"530":{"position":[[158,10]]}},"keywords":{}}],["compet",{"_index":686,"title":{},"content":{"43":{"position":[[662,8]]},"571":{"position":[[1395,9]]}},"keywords":{}}],["compil",{"_index":491,"title":{},"content":{"30":{"position":[[215,9]]},"188":{"position":[[35,8]]},"357":{"position":[[313,8]]},"408":{"position":[[3518,7]]},"454":{"position":[[241,7],[506,8],[638,8]]},"524":{"position":[[712,8],[797,8]]},"581":{"position":[[454,8]]},"1251":{"position":[[334,7]]},"1276":{"position":[[646,8]]}},"keywords":{}}],["complet",{"_index":641,"title":{"201":{"position":[[3,8]]}},"content":{"40":{"position":[[722,8]]},"201":{"position":[[238,10]]},"209":{"position":[[552,9]]},"263":{"position":[[324,8]]},"417":{"position":[[27,8]]},"475":{"position":[[167,10]]},"752":{"position":[[1031,9]]},"840":{"position":[[255,8]]},"1191":{"position":[[456,10]]},"1304":{"position":[[903,8]]}},"keywords":{}}],["complex",{"_index":322,"title":{"416":{"position":[[0,10]]},"426":{"position":[[8,7]]},"457":{"position":[[8,7]]}},"content":{"19":{"position":[[227,7],[339,7]]},"33":{"position":[[336,7]]},"34":{"position":[[721,7]]},"35":{"position":[[664,7]]},"45":{"position":[[285,7]]},"47":{"position":[[450,7]]},"61":{"position":[[454,13]]},"64":{"position":[[141,7]]},"66":{"position":[[365,7]]},"89":{"position":[[131,7]]},"126":{"position":[[335,7]]},"173":{"position":[[466,7]]},"178":{"position":[[187,7]]},"212":{"position":[[202,7],[296,7]]},"217":{"position":[[359,7]]},"219":{"position":[[306,11]]},"223":{"position":[[110,7],[346,10],[396,7]]},"250":{"position":[[145,7]]},"252":{"position":[[195,7]]},"262":{"position":[[376,7]]},"267":{"position":[[1009,7]]},"279":{"position":[[291,10]]},"282":{"position":[[426,7]]},"289":{"position":[[433,13]]},"303":{"position":[[1350,11]]},"317":{"position":[[125,7]]},"321":{"position":[[241,7],[432,7]]},"323":{"position":[[435,10]]},"331":{"position":[[312,12]]},"352":{"position":[[181,7]]},"353":{"position":[[61,7]]},"354":{"position":[[197,7],[609,7],[1480,7]]},"360":{"position":[[137,7],[241,7]]},"364":{"position":[[522,7]]},"369":{"position":[[378,7]]},"372":{"position":[[285,7]]},"395":{"position":[[513,7]]},"401":{"position":[[845,10]]},"408":{"position":[[404,7]]},"410":{"position":[[1790,8]]},"411":{"position":[[1964,7]]},"412":{"position":[[3931,7],[4135,10],[8911,7],[8998,7],[9640,11],[13103,11],[13422,7],[13578,7],[13911,7],[14120,7]]},"416":{"position":[[26,10]]},"427":{"position":[[557,7],[1080,7]]},"430":{"position":[[336,7]]},"432":{"position":[[159,7],[637,7],[1124,7]]},"433":{"position":[[309,8]]},"441":{"position":[[220,10],[337,7]]},"446":{"position":[[904,7]]},"451":{"position":[[428,7]]},"452":{"position":[[274,7]]},"453":{"position":[[653,8]]},"457":{"position":[[72,7],[608,7]]},"475":{"position":[[252,7]]},"497":{"position":[[283,7],[428,7],[682,7]]},"515":{"position":[[175,7]]},"521":{"position":[[216,7],[442,13]]},"533":{"position":[[173,7],[313,7]]},"535":{"position":[[466,7]]},"536":{"position":[[71,12]]},"548":{"position":[[298,12]]},"566":{"position":[[262,7]]},"574":{"position":[[559,7],[774,7]]},"593":{"position":[[173,7],[313,7]]},"595":{"position":[[494,7]]},"596":{"position":[[69,12]]},"608":{"position":[[296,12]]},"611":{"position":[[988,7],[1260,10]]},"613":{"position":[[961,7]]},"614":{"position":[[211,7]]},"642":{"position":[[231,7]]},"643":{"position":[[276,7]]},"644":{"position":[[243,7]]},"659":{"position":[[828,7]]},"661":{"position":[[1800,7]]},"682":{"position":[[105,7]]},"688":{"position":[[899,7]]},"689":{"position":[[112,11],[566,11]]},"698":{"position":[[1402,7],[2110,7],[3249,10]]},"701":{"position":[[742,7]]},"711":{"position":[[2245,7]]},"723":{"position":[[276,7],[2055,7],[2211,7]]},"765":{"position":[[119,7]]},"784":{"position":[[254,7]]},"785":{"position":[[233,10]]},"796":{"position":[[10,7],[908,7]]},"800":{"position":[[503,7],[582,7]]},"801":{"position":[[286,7]]},"802":{"position":[[514,10]]},"835":{"position":[[933,7]]},"836":{"position":[[1760,7],[2295,7]]},"875":{"position":[[4981,7]]},"898":{"position":[[694,10]]},"903":{"position":[[712,7]]},"906":{"position":[[1096,7]]},"981":{"position":[[372,7],[588,7]]},"1072":{"position":[[1597,11]]},"1123":{"position":[[562,7]]},"1132":{"position":[[598,7]]},"1209":{"position":[[482,7]]},"1213":{"position":[[215,7]]},"1236":{"position":[[95,7]]},"1238":{"position":[[93,7]]},"1252":{"position":[[268,7]]},"1257":{"position":[[176,7]]},"1317":{"position":[[414,7]]}},"keywords":{}}],["complex—larg",{"_index":3423,"title":{},"content":{"561":{"position":[[22,13]]}},"keywords":{}}],["complex—need",{"_index":3411,"title":{},"content":{"559":{"position":[[1610,15]]}},"keywords":{}}],["compli",{"_index":4304,"title":{},"content":{"749":{"position":[[13010,8]]},"1324":{"position":[[374,8]]}},"keywords":{}}],["complianc",{"_index":3444,"title":{},"content":{"567":{"position":[[717,10]]}},"keywords":{}}],["compliant",{"_index":3333,"title":{},"content":{"550":{"position":[[382,9]]},"686":{"position":[[681,9]]},"837":{"position":[[190,9],[788,9]]},"1198":{"position":[[451,9]]},"1286":{"position":[[119,9]]}},"keywords":{}}],["complic",{"_index":1847,"title":{},"content":{"303":{"position":[[1075,11]]},"326":{"position":[[265,11]]},"354":{"position":[[880,10]]},"412":{"position":[[11561,11],[14768,10]]},"483":{"position":[[455,11]]},"560":{"position":[[543,11]]},"708":{"position":[[485,11]]},"1156":{"position":[[16,11]]}},"keywords":{}}],["compon",{"_index":1061,"title":{},"content":{"116":{"position":[[162,9]]},"124":{"position":[[249,10]]},"494":{"position":[[651,9]]},"515":{"position":[[417,11]]},"522":{"position":[[211,11]]},"523":{"position":[[91,11],[166,10]]},"541":{"position":[[82,11],[123,9],[745,9]]},"562":{"position":[[767,10],[892,10]]},"574":{"position":[[123,11]]},"575":{"position":[[284,10]]},"580":{"position":[[73,10]]},"585":{"position":[[226,10]]},"590":{"position":[[534,10]]},"600":{"position":[[142,10]]},"601":{"position":[[28,9],[726,9]]},"749":{"position":[[24138,9]]},"825":{"position":[[531,10],[551,10],[684,12]]},"828":{"position":[[144,9],[408,9]]},"829":{"position":[[349,10],[1200,10],[2110,10],[2281,10],[2692,9],[2718,9],[3634,9],[3739,9],[3798,9]]}},"keywords":{}}],["components.rxdb",{"_index":3531,"title":{},"content":{"591":{"position":[[562,15]]}},"keywords":{}}],["compos",{"_index":2781,"title":{"1252":{"position":[[0,11]]}},"content":{"414":{"position":[[112,7]]},"705":{"position":[[571,11]]},"749":{"position":[[11278,8]]},"861":{"position":[[329,7],[390,7],[515,7],[857,8],[880,7],[908,7]]},"1071":{"position":[[233,10]]},"1078":{"position":[[51,8],[291,8],[370,8]]},"1252":{"position":[[50,7]]}},"keywords":{}}],["composit",{"_index":3490,"title":{"601":{"position":[[34,11]]},"1078":{"position":[[0,9]]}},"content":{"580":{"position":[[244,11]]},"590":{"position":[[235,11],[465,11]]},"1065":{"position":[[916,9]]},"1078":{"position":[[18,9],[237,9],[795,9],[837,9],[992,9]]}},"keywords":{}}],["compound",{"_index":4650,"title":{},"content":{"798":{"position":[[30,8]]},"1080":{"position":[[960,8]]},"1132":{"position":[[303,8]]}},"keywords":{}}],["compoundindex",{"_index":4387,"title":{},"content":{"749":{"position":[[19336,15]]}},"keywords":{}}],["comprehens",{"_index":621,"title":{"423":{"position":[[45,13]]}},"content":{"39":{"position":[[280,13]]},"56":{"position":[[3,13]]},"116":{"position":[[207,13]]},"412":{"position":[[355,13]]},"433":{"position":[[490,13]]},"514":{"position":[[160,13]]},"543":{"position":[[3,13]]},"603":{"position":[[3,13]]},"901":{"position":[[606,13]]}},"keywords":{}}],["compress",{"_index":742,"title":{"81":{"position":[[18,11]]},"111":{"position":[[18,11]]},"141":{"position":[[9,12]]},"169":{"position":[[9,12]]},"197":{"position":[[9,12]]},"236":{"position":[[18,11]]},"294":{"position":[[0,11]]},"307":{"position":[[44,11]]},"311":{"position":[[17,12]]},"316":{"position":[[0,11]]},"345":{"position":[[9,12]]},"366":{"position":[[0,11]]},"508":{"position":[[9,12]]},"528":{"position":[[9,12]]},"588":{"position":[[9,12]]},"629":{"position":[[63,11]]},"639":{"position":[[6,12]]},"733":{"position":[[4,11]]},"734":{"position":[[11,12]]}},"content":{"47":{"position":[[1115,12]]},"57":{"position":[[393,12],[451,12],[487,12]]},"81":{"position":[[53,12]]},"111":{"position":[[44,11],[78,10]]},"141":{"position":[[81,12],[103,12]]},"169":{"position":[[70,12],[95,11]]},"170":{"position":[[445,12]]},"174":{"position":[[2368,11],[2428,10]]},"197":{"position":[[81,12]]},"236":{"position":[[50,10],[143,10]]},"283":{"position":[[170,11]]},"294":{"position":[[73,12],[156,11],[242,11]]},"303":{"position":[[203,11],[228,11],[321,11],[464,11],[791,10]]},"306":{"position":[[181,11]]},"311":{"position":[[94,11]]},"316":{"position":[[54,11],[220,11]]},"317":{"position":[[203,11]]},"318":{"position":[[94,12],[639,10]]},"345":{"position":[[66,11]]},"361":{"position":[[242,12],[327,11],[472,11],[788,10]]},"362":{"position":[[945,12]]},"366":{"position":[[1,11],[75,11],[141,10],[242,10],[457,11]]},"483":{"position":[[619,11]]},"508":{"position":[[26,12]]},"528":{"position":[[23,11]]},"535":{"position":[[1093,11]]},"544":{"position":[[406,12],[428,11]]},"595":{"position":[[1170,11]]},"604":{"position":[[300,12],[340,12]]},"639":{"position":[[97,11]]},"710":{"position":[[273,11]]},"711":{"position":[[2302,11]]},"734":{"position":[[9,11],[105,11],[188,13],[569,10]]},"749":{"position":[[721,11],[1009,11]]},"793":{"position":[[443,11]]},"838":{"position":[[916,11],[3329,12]]},"841":{"position":[[1015,11],[1229,11]]},"932":{"position":[[199,11],[332,8],[416,11],[443,8],[582,11],[610,11],[757,13],[895,12],[1140,11],[1271,12],[1315,11]]},"981":{"position":[[913,9]]},"1123":{"position":[[605,11]]},"1132":{"position":[[1083,11],[1262,8]]},"1237":{"position":[[168,12],[427,11],[461,10],[631,13]]}},"keywords":{}}],["compromis",{"_index":1123,"title":{},"content":{"139":{"position":[[272,12]]},"167":{"position":[[233,12]]},"218":{"position":[[238,12]]},"292":{"position":[[23,10]]},"369":{"position":[[715,12]]},"412":{"position":[[13205,11]]},"446":{"position":[[258,12]]},"643":{"position":[[308,12]]}},"keywords":{}}],["comput",{"_index":424,"title":{"569":{"position":[[24,10]]}},"content":{"26":{"position":[[131,9]]},"224":{"position":[[104,13]]},"391":{"position":[[70,7]]},"401":{"position":[[796,7]]},"408":{"position":[[153,10],[1801,9]]},"527":{"position":[[178,13]]},"569":{"position":[[96,9],[123,9],[146,8],[651,9],[1109,10],[1504,9]]},"571":{"position":[[1870,9]]},"699":{"position":[[206,10],[1026,10]]},"708":{"position":[[36,9]]},"802":{"position":[[725,13]]},"1087":{"position":[[132,8]]},"1088":{"position":[[17,7]]},"1094":{"position":[[456,7]]},"1300":{"position":[[1163,8]]}},"keywords":{}}],["computation",{"_index":1396,"title":{},"content":{"216":{"position":[[326,15]]}},"keywords":{}}],["computing"",{"_index":214,"title":{},"content":{"14":{"position":[[441,16]]}},"keywords":{}}],["con",{"_index":2651,"title":{"845":{"position":[[0,5]]},"1129":{"position":[[0,5]]},"1162":{"position":[[0,5]]},"1168":{"position":[[0,5]]},"1171":{"position":[[0,5]]},"1181":{"position":[[0,5]]},"1200":{"position":[[0,5]]}},"content":{"412":{"position":[[377,5]]},"413":{"position":[[35,4]]}},"keywords":{}}],["concat",{"_index":5833,"title":{},"content":{"1078":{"position":[[450,6]]}},"keywords":{}}],["concaten",{"_index":4053,"title":{},"content":{"724":{"position":[[908,13]]}},"keywords":{}}],["concept",{"_index":276,"title":{"828":{"position":[[8,8]]}},"content":{"16":{"position":[[390,7]]},"119":{"position":[[58,8]]},"121":{"position":[[28,7]]},"159":{"position":[[21,7]]},"182":{"position":[[106,7]]},"185":{"position":[[21,7]]},"233":{"position":[[21,7]]},"275":{"position":[[83,7]]},"277":{"position":[[19,7]]},"314":{"position":[[23,7]]},"419":{"position":[[653,7],[1089,9]]},"445":{"position":[[994,7]]},"456":{"position":[[29,8]]},"518":{"position":[[18,7]]},"781":{"position":[[681,7]]},"832":{"position":[[334,8]]},"899":{"position":[[43,8]]},"903":{"position":[[357,7]]},"1253":{"position":[[77,7]]},"1324":{"position":[[309,7]]}},"keywords":{}}],["conceptu",{"_index":3896,"title":{},"content":{"689":{"position":[[101,10]]}},"keywords":{}}],["concern",{"_index":1142,"title":{},"content":{"145":{"position":[[32,8]]},"169":{"position":[[38,8]]},"293":{"position":[[85,7]]},"407":{"position":[[824,8]]},"411":{"position":[[1632,8]]},"429":{"position":[[13,8]]},"507":{"position":[[74,7]]},"839":{"position":[[1005,9]]},"1231":{"position":[[254,9]]}},"keywords":{}}],["concis",{"_index":2941,"title":{},"content":{"445":{"position":[[1451,8]]}},"keywords":{}}],["conclus",{"_index":988,"title":{"148":{"position":[[0,11]]},"170":{"position":[[0,11]]},"198":{"position":[[0,11]]},"441":{"position":[[0,11]]},"447":{"position":[[0,11]]},"468":{"position":[[12,12]]},"510":{"position":[[0,11]]},"530":{"position":[[0,11]]}},"content":{"83":{"position":[[4,11]]},"267":{"position":[[1112,11]]}},"keywords":{}}],["concret",{"_index":6191,"title":{},"content":{"1207":{"position":[[602,8]]}},"keywords":{}}],["concurr",{"_index":739,"title":{},"content":{"47":{"position":[[894,10]]},"203":{"position":[[232,10]]},"358":{"position":[[219,12],[897,12]]},"362":{"position":[[682,12]]},"386":{"position":[[204,10]]},"416":{"position":[[375,12]]},"496":{"position":[[259,10]]},"559":{"position":[[1297,11],[1415,11]]},"566":{"position":[[818,11],[940,11],[983,11]]},"590":{"position":[[872,10]]},"617":{"position":[[1529,10]]},"643":{"position":[[28,12]]},"688":{"position":[[47,10]]},"860":{"position":[[828,10]]},"897":{"position":[[252,11]]},"908":{"position":[[173,13]]}},"keywords":{}}],["condit",{"_index":1165,"title":{"681":{"position":[[0,11]]}},"content":{"152":{"position":[[377,11]]},"280":{"position":[[510,11]]},"289":{"position":[[2024,11]]},"301":{"position":[[68,10]]},"305":{"position":[[529,11]]},"498":{"position":[[661,11]]},"545":{"position":[[114,11]]},"605":{"position":[[114,11]]},"610":{"position":[[1185,10]]},"620":{"position":[[211,11]]},"681":{"position":[[203,11],[388,11]]},"683":{"position":[[558,11]]},"1252":{"position":[[147,9],[201,9]]},"1316":{"position":[[809,10],[1295,9]]}},"keywords":{}}],["confidenti",{"_index":933,"title":{},"content":{"65":{"position":[[1771,12]]},"95":{"position":[[196,15]]},"291":{"position":[[398,12]]},"310":{"position":[[238,13]]},"506":{"position":[[232,12]]},"912":{"position":[[582,12]]}},"keywords":{}}],["config",{"_index":1586,"title":{},"content":{"261":{"position":[[805,6],[838,6]]},"730":{"position":[[109,7]]},"1176":{"position":[[301,7]]},"1228":{"position":[[57,6]]},"1266":{"position":[[92,6],[329,6]]},"1279":{"position":[[88,6]]}},"keywords":{}}],["configur",{"_index":323,"title":{"334":{"position":[[13,11]]},"579":{"position":[[13,11]]},"730":{"position":[[18,14]]},"1236":{"position":[[0,13]]}},"content":{"19":{"position":[[243,13]]},"27":{"position":[[161,13]]},"131":{"position":[[990,9]]},"192":{"position":[[270,11]]},"285":{"position":[[221,9]]},"293":{"position":[[203,9]]},"314":{"position":[[1175,14]]},"346":{"position":[[42,9]]},"372":{"position":[[107,10]]},"503":{"position":[[114,11]]},"590":{"position":[[127,9]]},"617":{"position":[[1557,15]]},"632":{"position":[[2059,12]]},"730":{"position":[[129,13]]},"828":{"position":[[339,13]]},"829":{"position":[[404,11]]},"831":{"position":[[155,10],[531,11]]},"838":{"position":[[1723,14]]},"849":{"position":[[682,9]]},"862":{"position":[[898,9]]},"894":{"position":[[56,13]]},"904":{"position":[[310,9]]},"1156":{"position":[[28,14]]},"1162":{"position":[[1176,10]]},"1214":{"position":[[472,10]]},"1236":{"position":[[80,9]]},"1239":{"position":[[26,13]]}},"keywords":{}}],["confirm",{"_index":3168,"title":{},"content":{"491":{"position":[[694,9],[1565,9]]},"495":{"position":[[335,9]]},"497":{"position":[[838,13]]},"634":{"position":[[247,13]]}},"keywords":{}}],["conflict",{"_index":225,"title":{"134":{"position":[[0,8]]},"203":{"position":[[12,8]]},"250":{"position":[[12,8]]},"312":{"position":[[20,8]]},"339":{"position":[[0,8]]},"416":{"position":[[15,8]]},"496":{"position":[[0,8]]},"635":{"position":[[0,8]]},"690":{"position":[[15,8]]},"691":{"position":[[39,8]]},"698":{"position":[[13,10]]},"847":{"position":[[0,8]]},"908":{"position":[[0,8]]},"987":{"position":[[0,8]]},"1044":{"position":[[8,9]]},"1111":{"position":[[0,8]]},"1303":{"position":[[14,9]]},"1306":{"position":[[0,10]]},"1307":{"position":[[6,10]]},"1308":{"position":[[12,10]]},"1309":{"position":[[7,8]]}},"content":{"14":{"position":[[797,8]]},"16":{"position":[[414,8]]},"35":{"position":[[414,8]]},"39":{"position":[[574,8],[665,8]]},"40":{"position":[[21,9],[219,8],[744,8]]},"43":{"position":[[112,8]]},"123":{"position":[[202,8]]},"134":{"position":[[26,9],[117,8],[189,8],[303,9]]},"135":{"position":[[229,9],[278,8]]},"147":{"position":[[111,8]]},"162":{"position":[[478,8]]},"165":{"position":[[229,8]]},"192":{"position":[[235,8]]},"203":{"position":[[151,8],[198,8]]},"209":{"position":[[943,11]]},"237":{"position":[[251,9]]},"250":{"position":[[38,8],[193,8]]},"255":{"position":[[1265,9]]},"263":{"position":[[191,8],[621,8]]},"289":{"position":[[200,8]]},"306":{"position":[[197,8]]},"312":{"position":[[253,9]]},"328":{"position":[[200,8]]},"331":{"position":[[200,8]]},"339":{"position":[[63,8],[119,9]]},"386":{"position":[[185,10]]},"412":{"position":[[1143,8],[2118,10],[2170,8],[2228,8],[2971,8],[3070,10],[3240,8],[3601,9],[3681,9],[4120,9],[4614,10],[4678,9],[4797,9],[4862,8],[5037,9],[5135,8],[5340,8],[13538,8],[14045,10],[14857,8]]},"416":{"position":[[67,10]]},"419":{"position":[[1163,8]]},"420":{"position":[[830,10]]},"480":{"position":[[1095,8]]},"481":{"position":[[476,8]]},"483":{"position":[[643,8]]},"487":{"position":[[326,9],[398,9]]},"491":{"position":[[494,9],[1029,9],[1131,10],[1391,9],[1468,9]]},"495":{"position":[[60,8],[180,9],[264,10]]},"496":{"position":[[571,9],[808,8]]},"502":{"position":[[1388,10]]},"525":{"position":[[620,8]]},"566":{"position":[[1009,8]]},"567":{"position":[[289,10]]},"576":{"position":[[277,8]]},"582":{"position":[[224,9],[475,9]]},"590":{"position":[[810,8]]},"634":{"position":[[440,8],[489,8]]},"635":{"position":[[24,9],[293,8],[447,8]]},"644":{"position":[[181,8]]},"680":{"position":[[240,8]]},"683":{"position":[[431,8]]},"687":{"position":[[187,11]]},"688":{"position":[[110,9],[187,8],[222,8],[258,8],[329,10],[692,10],[704,8]]},"689":{"position":[[34,8],[498,9]]},"690":{"position":[[5,8],[561,8]]},"691":{"position":[[149,8]]},"698":{"position":[[188,11],[349,8],[436,8],[471,11],[894,9],[1214,11],[1257,9],[1410,8],[1532,8],[1798,9],[1919,8],[2159,8],[2221,9],[3017,8],[3134,8],[3276,8]]},"737":{"position":[[436,9]]},"749":{"position":[[8908,8],[8933,9],[15938,9],[22923,8]]},"793":{"position":[[922,9]]},"844":{"position":[[78,8],[104,9]]},"847":{"position":[[6,9],[148,8]]},"858":{"position":[[574,8]]},"860":{"position":[[728,8],[768,8]]},"863":{"position":[[607,9]]},"875":{"position":[[3729,11],[3881,8],[4124,8],[4509,9],[4880,9],[5117,8],[5174,8]]},"885":{"position":[[1094,9],[1136,9]]},"889":{"position":[[117,11],[156,10],[288,9],[671,11]]},"899":{"position":[[128,8]]},"908":{"position":[[8,8],[59,9],[196,8],[270,8],[345,8],[392,8]]},"913":{"position":[[115,8]]},"934":{"position":[[787,8]]},"943":{"position":[[277,10]]},"944":{"position":[[404,9]]},"948":{"position":[[106,8]]},"981":{"position":[[411,8],[1223,8]]},"982":{"position":[[745,8]]},"983":{"position":[[653,10],[680,10]]},"987":{"position":[[130,8],[507,9],[552,8],[756,8],[1000,8],[1117,8]]},"988":{"position":[[2731,9],[2792,10]]},"1044":{"position":[[85,8]]},"1085":{"position":[[2126,9],[2298,8]]},"1111":{"position":[[22,10],[37,8]]},"1115":{"position":[[679,10]]},"1120":{"position":[[155,9],[286,9]]},"1147":{"position":[[257,8],[351,8]]},"1148":{"position":[[128,8]]},"1149":{"position":[[43,8]]},"1258":{"position":[[68,8]]},"1305":{"position":[[1103,8]]},"1306":{"position":[[24,9],[53,8],[82,9]]},"1307":{"position":[[9,8],[429,8],[469,8],[602,10],[838,9],[893,11]]},"1308":{"position":[[15,8],[252,9],[375,8],[675,9]]},"1309":{"position":[[3,8],[119,9],[142,8],[176,8],[314,8],[373,8],[604,9],[723,9],[786,8],[967,8],[1071,8],[1243,8]]},"1313":{"position":[[1071,9]]},"1323":{"position":[[188,9]]},"1324":{"position":[[876,9]]}},"keywords":{}}],["conflicthandl",{"_index":4421,"title":{},"content":{"749":{"position":[[22882,15]]},"847":{"position":[[47,15]]},"934":{"position":[[734,16]]},"987":{"position":[[1041,15]]},"1309":{"position":[[1290,15],[1474,16]]}},"keywords":{}}],["conflictmessag",{"_index":5162,"title":{},"content":{"889":{"position":[[175,17]]}},"keywords":{}}],["conflicts"",{"_index":2685,"title":{},"content":{"412":{"position":[[3877,16]]}},"keywords":{}}],["conflicts.push(realmasterst",{"_index":5027,"title":{},"content":{"875":{"position":[[5126,32]]}},"keywords":{}}],["conflictsarray",{"_index":5040,"title":{},"content":{"875":{"position":[[6411,14],[6461,15]]}},"keywords":{}}],["confus",{"_index":326,"title":{},"content":{"19":{"position":[[289,9]]},"419":{"position":[[1248,9]]},"495":{"position":[[280,10],[497,10]]},"1188":{"position":[[293,7]]},"1208":{"position":[[557,10]]},"1215":{"position":[[22,8]]}},"keywords":{}}],["congest",{"_index":3665,"title":{},"content":{"621":{"position":[[862,10]]}},"keywords":{}}],["congestion."",{"_index":3639,"title":{},"content":{"617":{"position":[[884,17]]}},"keywords":{}}],["connect",{"_index":314,"title":{"414":{"position":[[0,12]]},"618":{"position":[[0,11]]},"893":{"position":[[0,7]]},"1281":{"position":[[9,11]]}},"content":{"18":{"position":[[418,7]]},"46":{"position":[[86,13],[228,10]]},"65":{"position":[[723,10]]},"69":{"position":[[221,12]]},"88":{"position":[[96,11]]},"122":{"position":[[353,12]]},"123":{"position":[[274,9]]},"133":{"position":[[346,12]]},"135":{"position":[[182,9]]},"136":{"position":[[141,9]]},"157":{"position":[[114,13],[234,10]]},"164":{"position":[[241,11],[262,10]]},"183":{"position":[[138,11],[240,10]]},"184":{"position":[[334,9]]},"188":{"position":[[2438,7],[2603,7]]},"191":{"position":[[109,11],[196,10]]},"201":{"position":[[322,12]]},"206":{"position":[[74,10],[260,13]]},"211":{"position":[[577,7]]},"212":{"position":[[66,11]]},"215":{"position":[[242,10],[370,13]]},"228":{"position":[[487,11]]},"260":{"position":[[29,7]]},"261":{"position":[[884,9]]},"273":{"position":[[216,13]]},"274":{"position":[[165,11],[239,12]]},"280":{"position":[[281,11],[296,12]]},"289":{"position":[[233,12],[1153,10],[1849,12]]},"292":{"position":[[296,11]]},"309":{"position":[[235,11]]},"322":{"position":[[291,10]]},"323":{"position":[[291,12]]},"327":{"position":[[190,11],[207,12]]},"338":{"position":[[146,12]]},"346":{"position":[[609,11]]},"360":{"position":[[604,10]]},"365":{"position":[[1112,9]]},"375":{"position":[[147,11],[750,12]]},"380":{"position":[[110,13],[188,10]]},"396":{"position":[[723,9]]},"407":{"position":[[657,12],[844,12]]},"410":{"position":[[1062,14],[1266,12]]},"411":{"position":[[5608,14]]},"414":{"position":[[154,11],[387,10]]},"416":{"position":[[452,12]]},"418":{"position":[[164,12]]},"419":{"position":[[223,12],[529,12]]},"444":{"position":[[275,13]]},"445":{"position":[[628,10],[730,10],[1111,9]]},"446":{"position":[[242,12]]},"483":{"position":[[917,7]]},"489":{"position":[[704,11]]},"491":{"position":[[729,9],[1227,12]]},"497":{"position":[[235,12]]},"500":{"position":[[505,13]]},"502":{"position":[[576,12]]},"516":{"position":[[237,13],[260,10]]},"525":{"position":[[208,12],[368,9]]},"565":{"position":[[258,12]]},"570":{"position":[[336,9],[526,9],[753,10]]},"574":{"position":[[371,9]]},"575":{"position":[[399,12]]},"582":{"position":[[129,12]]},"584":{"position":[[275,13]]},"610":{"position":[[339,10],[493,10],[1205,10]]},"611":{"position":[[82,10],[480,10],[1030,10],[1103,10],[1229,10]]},"612":{"position":[[507,10],[633,10],[1091,10],[1403,10],[1966,13],[2386,10]]},"614":{"position":[[309,11],[500,10]]},"616":{"position":[[143,11],[304,10],[522,11]]},"617":{"position":[[32,11],[157,11],[287,10],[411,13],[497,11],[549,11],[652,11],[719,11],[1048,11],[1246,10],[1327,11],[1400,12],[1490,11],[1588,10],[1793,11],[2018,10],[2105,10]]},"618":{"position":[[107,12],[361,12],[778,11]]},"619":{"position":[[228,12]]},"621":{"position":[[102,11],[430,11],[632,11]]},"622":{"position":[[62,11],[503,12],[669,11]]},"623":{"position":[[53,11],[290,10],[530,10],[698,11]]},"624":{"position":[[1483,12]]},"626":{"position":[[18,11]]},"630":{"position":[[365,8]]},"632":{"position":[[665,7],[1977,12]]},"661":{"position":[[793,10]]},"723":{"position":[[2721,13]]},"736":{"position":[[543,12]]},"772":{"position":[[38,10],[213,8]]},"775":{"position":[[653,7]]},"776":{"position":[[316,10]]},"782":{"position":[[458,10]]},"836":{"position":[[611,11],[834,11],[893,10]]},"849":{"position":[[131,11],[836,10],[1102,10]]},"860":{"position":[[455,12]]},"866":{"position":[[795,11]]},"871":{"position":[[59,7],[94,8],[156,9],[682,11],[835,10]]},"872":{"position":[[620,10],[2437,11],[3074,8]]},"875":{"position":[[725,10],[7321,13],[7937,8],[8572,11]]},"881":{"position":[[149,10]]},"886":{"position":[[4297,10]]},"897":{"position":[[48,7]]},"898":{"position":[[3140,7]]},"901":{"position":[[222,10],[308,12],[735,11]]},"902":{"position":[[295,11],[626,11]]},"903":{"position":[[430,7]]},"904":{"position":[[1555,10],[2183,7],[2338,12],[2465,10],[3320,9]]},"905":{"position":[[139,10]]},"906":{"position":[[169,12],[264,10],[827,10]]},"962":{"position":[[1039,11]]},"981":{"position":[[1404,10]]},"985":{"position":[[21,9]]},"1007":{"position":[[1129,10]]},"1095":{"position":[[316,7]]},"1100":{"position":[[88,9]]},"1101":{"position":[[46,7],[199,7]]},"1102":{"position":[[145,7]]},"1189":{"position":[[207,10],[249,10],[487,10],[581,11]]},"1281":{"position":[[36,10]]},"1304":{"position":[[858,11]]},"1314":{"position":[[146,10],[369,11]]}},"keywords":{}}],["connection.perform",{"_index":3291,"title":{},"content":{"534":{"position":[[287,23]]},"594":{"position":[[285,23]]}},"keywords":{}}],["connectionhandlercr",{"_index":1367,"title":{},"content":{"210":{"position":[[334,25]]},"261":{"position":[[463,25]]},"904":{"position":[[2533,25]]},"911":{"position":[[661,25]]},"1121":{"position":[[689,25]]}},"keywords":{}}],["connectionparam",{"_index":5146,"title":{},"content":{"886":{"position":[[4669,16],[4795,16]]}},"keywords":{}}],["connectivity.fast",{"_index":1203,"title":{},"content":{"173":{"position":[[1597,19]]}},"keywords":{}}],["connectivity.reduc",{"_index":3694,"title":{},"content":{"630":{"position":[[727,20]]}},"keywords":{}}],["connector",{"_index":1246,"title":{},"content":{"188":{"position":[[514,10],[1493,9]]}},"keywords":{}}],["connectsocket",{"_index":5477,"title":{},"content":{"988":{"position":[[5182,15],[5693,16]]}},"keywords":{}}],["consensu",{"_index":6486,"title":{},"content":{"1304":{"position":[[785,9]]}},"keywords":{}}],["consequ",{"_index":2148,"title":{},"content":{"377":{"position":[[132,13]]}},"keywords":{}}],["conserv",{"_index":3654,"title":{},"content":{"618":{"position":[[456,8]]}},"keywords":{}}],["consid",{"_index":1000,"title":{},"content":{"86":{"position":[[33,8]]},"142":{"position":[[55,8]]},"146":{"position":[[210,8]]},"147":{"position":[[87,8]]},"161":{"position":[[6,11]]},"186":{"position":[[6,11]]},"241":{"position":[[86,8]]},"303":{"position":[[194,8]]},"358":{"position":[[17,8]]},"365":{"position":[[105,9]]},"373":{"position":[[86,8]]},"401":{"position":[[880,10]]},"404":{"position":[[91,8]]},"408":{"position":[[4422,8]]},"412":{"position":[[9455,8],[11277,9]]},"425":{"position":[[208,8]]},"430":{"position":[[83,8],[614,8],[1019,8]]},"433":{"position":[[414,8]]},"447":{"position":[[597,11]]},"497":{"position":[[555,8],[709,8]]},"520":{"position":[[7,11]]},"534":{"position":[[145,8]]},"546":{"position":[[90,9]]},"556":{"position":[[612,8],[1088,8],[1826,8]]},"569":{"position":[[620,8]]},"594":{"position":[[143,8]]},"606":{"position":[[90,9]]},"616":{"position":[[827,10]]},"686":{"position":[[59,10]]},"839":{"position":[[1334,8]]},"1033":{"position":[[918,9]]},"1072":{"position":[[541,8]]},"1162":{"position":[[1071,8]]},"1297":{"position":[[216,8]]}},"keywords":{}}],["consider",{"_index":1410,"title":{"228":{"position":[[11,15]]},"641":{"position":[[12,15]]}},"content":{"377":{"position":[[57,15]]}},"keywords":{}}],["consist",{"_index":985,"title":{"475":{"position":[[13,12]]},"700":{"position":[[9,12]]}},"content":{"80":{"position":[[74,11]]},"109":{"position":[[175,10]]},"112":{"position":[[237,10]]},"123":{"position":[[252,10]]},"134":{"position":[[335,10]]},"135":{"position":[[160,10]]},"158":{"position":[[210,10]]},"160":{"position":[[218,10]]},"164":{"position":[[375,11]]},"173":{"position":[[3212,11]]},"174":{"position":[[2303,10]]},"184":{"position":[[311,11]]},"191":{"position":[[243,11]]},"203":{"position":[[313,10]]},"207":{"position":[[284,11]]},"237":{"position":[[143,10]]},"249":{"position":[[401,11]]},"250":{"position":[[338,11]]},"269":{"position":[[334,10]]},"279":{"position":[[510,10]]},"288":{"position":[[134,10]]},"289":{"position":[[386,11]]},"293":{"position":[[15,11]]},"327":{"position":[[300,11]]},"328":{"position":[[250,10]]},"340":{"position":[[156,11]]},"360":{"position":[[804,11]]},"367":{"position":[[371,11]]},"369":{"position":[[636,11]]},"375":{"position":[[127,10]]},"382":{"position":[[132,11]]},"384":{"position":[[457,10]]},"407":{"position":[[317,10]]},"411":{"position":[[3970,12]]},"412":{"position":[[5587,11],[5663,10],[5836,10],[6304,12],[6365,12],[6410,11],[14649,11]]},"418":{"position":[[469,11]]},"438":{"position":[[336,10]]},"445":{"position":[[777,12],[2493,10]]},"483":{"position":[[112,12]]},"500":{"position":[[258,10]]},"502":{"position":[[1215,11]]},"504":{"position":[[1016,11]]},"516":{"position":[[368,11]]},"519":{"position":[[245,11]]},"525":{"position":[[283,10]]},"556":{"position":[[1801,11]]},"635":{"position":[[488,10]]},"707":{"position":[[213,7]]},"723":{"position":[[2752,10]]},"1123":{"position":[[22,10]]},"1125":{"position":[[361,11]]},"1132":{"position":[[512,11]]},"1304":{"position":[[104,12]]},"1305":{"position":[[567,8]]}},"keywords":{}}],["consistency.conflict",{"_index":3516,"title":{},"content":{"582":{"position":[[417,20]]}},"keywords":{}}],["consistency.lack",{"_index":3298,"title":{},"content":{"535":{"position":[[678,16]]},"595":{"position":[[699,16]]}},"keywords":{}}],["consistency.perform",{"_index":4792,"title":{},"content":{"838":{"position":[[1054,24]]}},"keywords":{}}],["consistencylevel",{"_index":6018,"title":{},"content":{"1125":{"position":[[443,17]]}},"keywords":{}}],["consistent"",{"_index":3954,"title":{},"content":{"700":{"position":[[765,17]]}},"keywords":{}}],["consol",{"_index":3858,"title":{"1151":{"position":[[26,7]]},"1178":{"position":[[26,7]]}},"content":{"675":{"position":[[77,7]]},"841":{"position":[[1305,7]]},"861":{"position":[[1135,7],[2336,7]]},"1151":{"position":[[67,7]]},"1178":{"position":[[67,7]]}},"keywords":{}}],["console.dir(alivehero",{"_index":3229,"title":{},"content":{"502":{"position":[[1100,26]]},"518":{"position":[[567,26]]}},"keywords":{}}],["console.dir(answ",{"_index":6261,"title":{},"content":{"1220":{"position":[[595,20]]}},"keywords":{}}],["console.dir(bestfriend",{"_index":4682,"title":{},"content":{"810":{"position":[[440,24]]},"811":{"position":[[435,24]]}},"keywords":{}}],["console.dir(bool",{"_index":5499,"title":{},"content":{"993":{"position":[[593,19],[730,19]]}},"keywords":{}}],["console.dir(changeev",{"_index":5325,"title":{},"content":{"941":{"position":[[144,26],[292,26],[368,26],[444,26]]},"970":{"position":[[131,26]]}},"keywords":{}}],["console.dir(currentrxdocu",{"_index":5709,"title":{},"content":{"1046":{"position":[[168,32]]}},"keywords":{}}],["console.dir(doc",{"_index":5359,"title":{},"content":{"950":{"position":[[330,18],[466,18]]},"993":{"position":[[193,18],[310,18]]}},"keywords":{}}],["console.dir(docsmap",{"_index":5363,"title":{},"content":{"951":{"position":[[412,21]]}},"keywords":{}}],["console.dir(docu",{"_index":5765,"title":{},"content":{"1065":{"position":[[296,24],[875,24],[1164,24],[1386,24],[1503,24]]}},"keywords":{}}],["console.dir(documentornul",{"_index":5607,"title":{},"content":{"1017":{"position":[[178,28]]}},"keywords":{}}],["console.dir(error",{"_index":5497,"title":{},"content":{"993":{"position":[[455,20]]}},"keywords":{}}],["console.dir(ev",{"_index":5426,"title":{},"content":{"979":{"position":[[278,19]]}},"keywords":{}}],["console.dir(friend",{"_index":4695,"title":{},"content":{"813":{"position":[[436,21]]}},"keywords":{}}],["console.dir(isnam",{"_index":5677,"title":{},"content":{"1039":{"position":[[323,20]]}},"keywords":{}}],["console.dir(json",{"_index":5373,"title":{},"content":{"952":{"position":[[346,19]]},"971":{"position":[[456,19]]},"1051":{"position":[[192,18],[462,18]]}},"keywords":{}}],["console.dir(moth",{"_index":4691,"title":{},"content":{"812":{"position":[[286,20]]}},"keywords":{}}],["console.dir(mydatabase.heroes.nam",{"_index":5832,"title":{},"content":{"1075":{"position":[[72,36]]}},"keywords":{}}],["console.dir(queryresult",{"_index":2319,"title":{},"content":{"394":{"position":[[945,25]]}},"keywords":{}}],["console.dir(result",{"_index":5737,"title":{},"content":{"1057":{"position":[[139,21]]},"1069":{"position":[[639,21],[800,21]]},"1294":{"position":[[1784,20]]}},"keywords":{}}],["console.dir(st",{"_index":4466,"title":{},"content":{"752":{"position":[[970,19]]}},"keywords":{}}],["console.dir(writeev",{"_index":3738,"title":{},"content":{"649":{"position":[[309,25]]}},"keywords":{}}],["console.error('[repl",{"_index":5225,"title":{},"content":{"898":{"position":[[4114,30]]}},"keywords":{}}],["console.error('indexeddb",{"_index":1818,"title":{},"content":{"302":{"position":[[1115,24]]}},"keywords":{}}],["console.error('p2p",{"_index":1376,"title":{},"content":{"210":{"position":[[584,18]]},"261":{"position":[[945,18]]}},"keywords":{}}],["console.error('webrtc",{"_index":5262,"title":{},"content":{"904":{"position":[[3499,21]]}},"keywords":{}}],["console.error(error",{"_index":4467,"title":{},"content":{"752":{"position":[[1009,21]]}},"keywords":{}}],["console.log",{"_index":4478,"title":{},"content":{"753":{"position":[[377,12]]}},"keywords":{}}],["console.log("receiv",{"_index":3557,"title":{},"content":{"610":{"position":[[1016,26]]}},"keywords":{}}],["console.log('al",{"_index":3706,"title":{},"content":{"632":{"position":[[1829,16]]}},"keywords":{}}],["console.log('approx",{"_index":1776,"title":{},"content":{"300":{"position":[[330,19],[388,19]]}},"keywords":{}}],["console.log('cli",{"_index":5074,"title":{},"content":{"881":{"position":[[389,19]]}},"keywords":{}}],["console.log('connect",{"_index":3571,"title":{},"content":{"611":{"position":[[711,23]]}},"keywords":{}}],["console.log('curr",{"_index":3126,"title":{},"content":{"480":{"position":[[862,22]]},"1067":{"position":[[545,22]]}},"keywords":{}}],["console.log('don",{"_index":4468,"title":{},"content":{"752":{"position":[[1050,19]]},"953":{"position":[[147,21]]},"972":{"position":[[147,21]]}},"keywords":{}}],["console.log('error",{"_index":5593,"title":{},"content":{"1010":{"position":[[323,21]]}},"keywords":{}}],["console.log('got",{"_index":979,"title":{},"content":{"77":{"position":[[318,16]]},"103":{"position":[[358,16]]},"234":{"position":[[418,16]]},"612":{"position":[[1280,16]]},"1058":{"position":[[288,16]]}},"keywords":{}}],["console.log('hero",{"_index":3429,"title":{},"content":{"562":{"position":[[695,20]]}},"keywords":{}}],["console.log('i",{"_index":5382,"title":{},"content":{"956":{"position":[[274,14],[340,14]]}},"keywords":{}}],["console.log('insert",{"_index":6514,"title":{},"content":{"1311":{"position":[[1308,19]]}},"keywords":{}}],["console.log('long",{"_index":4095,"title":{},"content":{"739":{"position":[[511,17]]}},"keywords":{}}],["console.log('messag",{"_index":3574,"title":{},"content":{"611":{"position":[[855,20]]}},"keywords":{}}],["console.log('nam",{"_index":1424,"title":{},"content":{"235":{"position":[[320,17]]},"571":{"position":[[1355,17]]},"1040":{"position":[[363,17]]}},"keywords":{}}],["console.log('repl",{"_index":4966,"title":{},"content":{"872":{"position":[[3441,24]]}},"keywords":{}}],["console.log('storag",{"_index":4495,"title":{},"content":{"759":{"position":[[952,20]]},"760":{"position":[[840,20]]}},"keywords":{}}],["console.log(`exampl",{"_index":4987,"title":{},"content":{"875":{"position":[[1216,20]]}},"keywords":{}}],["console.log(`serv",{"_index":3615,"title":{},"content":{"612":{"position":[[2506,19]]}},"keywords":{}}],["console.log(amount",{"_index":6522,"title":{},"content":{"1311":{"position":[[1790,20]]}},"keywords":{}}],["console.log(attachment.scream",{"_index":4613,"title":{},"content":{"792":{"position":[[420,33]]}},"keywords":{}}],["console.log(collections.hero",{"_index":5323,"title":{},"content":{"939":{"position":[[240,30]]}},"keywords":{}}],["console.log(dist",{"_index":2299,"title":{},"content":{"393":{"position":[[1033,22]]}},"keywords":{}}],["console.log(doc.myfield",{"_index":4562,"title":{},"content":{"770":{"position":[[494,25]]}},"keywords":{}}],["console.log(doc.scream",{"_index":4606,"title":{},"content":{"791":{"position":[[179,26]]}},"keywords":{}}],["console.log(doc.whoami",{"_index":4609,"title":{},"content":{"791":{"position":[[499,26]]}},"keywords":{}}],["console.log(docafteredit",{"_index":5706,"title":{},"content":{"1045":{"position":[[227,24]]}},"keywords":{}}],["console.log(fetcheddoc.secretfield",{"_index":3358,"title":{},"content":{"555":{"position":[[549,36]]}},"keywords":{}}],["console.log(hero.firstnam",{"_index":6519,"title":{},"content":{"1311":{"position":[[1605,28]]}},"keywords":{}}],["console.log(heroes.scream",{"_index":4601,"title":{},"content":{"789":{"position":[[280,29]]}},"keywords":{}}],["console.log(heroes.whoami",{"_index":4604,"title":{},"content":{"789":{"position":[[528,29]]}},"keywords":{}}],["console.log(lastst",{"_index":5717,"title":{},"content":{"1049":{"position":[[164,23],[224,23]]}},"keywords":{}}],["console.log(mydocument.delet",{"_index":5718,"title":{},"content":{"1050":{"position":[[49,32],[118,32]]}},"keywords":{}}],["console.log(mydocument.nam",{"_index":5694,"title":{},"content":{"1042":{"position":[[266,29]]},"1043":{"position":[[170,29]]}},"keywords":{}}],["console.log(myendpoint.urlpath",{"_index":5932,"title":{},"content":{"1100":{"position":[[738,31]]}},"keywords":{}}],["console.log(result.foobar",{"_index":2930,"title":{},"content":{"439":{"position":[[779,27]]}},"keywords":{}}],["console.log.bind(consol",{"_index":6372,"title":{},"content":{"1282":{"position":[[873,25]]}},"keywords":{}}],["console.tim",{"_index":4118,"title":{},"content":{"746":{"position":[[512,14]]}},"keywords":{}}],["console.time()/console.timeend",{"_index":4116,"title":{},"content":{"746":{"position":[[71,32]]}},"keywords":{}}],["console.timeend",{"_index":4119,"title":{},"content":{"746":{"position":[[531,17]]}},"keywords":{}}],["console.warn",{"_index":3857,"title":{},"content":{"675":{"position":[[47,14]]}},"keywords":{}}],["console.warn('indexeddb",{"_index":1813,"title":{},"content":{"302":{"position":[[895,23]]}},"keywords":{}}],["consolid",{"_index":2666,"title":{},"content":{"412":{"position":[[1691,11]]}},"keywords":{}}],["const",{"_index":32,"title":{},"content":{"1":{"position":[[513,5]]},"2":{"position":[[280,5],[316,5]]},"3":{"position":[[196,5]]},"4":{"position":[[374,5]]},"5":{"position":[[284,5]]},"6":{"position":[[439,5],[479,5],[658,5]]},"7":{"position":[[316,5],[493,5]]},"8":{"position":[[954,5],[1085,5]]},"9":{"position":[[230,5]]},"10":{"position":[[213,5],[268,5]]},"11":{"position":[[794,5]]},"19":{"position":[[639,5],[811,5]]},"51":{"position":[[255,5],[682,5]]},"52":{"position":[[321,5],[367,5],[461,5],[608,5]]},"55":{"position":[[850,5],[1077,5]]},"77":{"position":[[198,5],[267,5]]},"103":{"position":[[238,5],[307,5]]},"188":{"position":[[953,5]]},"209":{"position":[[225,5],[786,5],[1080,5]]},"210":{"position":[[245,5]]},"211":{"position":[[195,5]]},"234":{"position":[[298,5],[367,5]]},"255":{"position":[[572,5],[1141,5],[1404,5]]},"258":{"position":[[133,5]]},"261":{"position":[[313,5]]},"266":{"position":[[647,5]]},"276":{"position":[[376,5]]},"300":{"position":[[217,5],[267,5],[299,5]]},"302":{"position":[[685,5],[739,5]]},"303":{"position":[[516,5],[785,5]]},"314":{"position":[[458,5]]},"315":{"position":[[418,5],[521,5]]},"334":{"position":[[316,5]]},"335":{"position":[[185,5],[627,5],[666,5]]},"361":{"position":[[513,5],[782,5]]},"367":{"position":[[694,5]]},"391":{"position":[[483,5],[606,5],[638,5]]},"392":{"position":[[326,5],[731,5],[916,5],[971,5],[1023,5],[1060,5],[1733,5],[2612,5],[2825,5],[3576,5],[3841,5],[4219,5],[4294,5],[4518,5],[4782,5]]},"393":{"position":[[973,5]]},"394":{"position":[[588,5],[625,5],[684,5],[741,5],[856,5]]},"397":{"position":[[466,5],[521,5],[1676,5],[1737,5],[1866,5],[1914,5],[2080,5]]},"398":{"position":[[751,5],[781,5],[894,5],[972,5],[1441,5],[1505,5],[1612,5],[2020,5],[2049,5],[2180,5],[2258,5],[2305,5],[2594,5],[2658,5],[2765,5]]},"403":{"position":[[470,5],[827,5]]},"412":{"position":[[4488,5]]},"425":{"position":[[355,5]]},"426":{"position":[[293,5],[481,5]]},"439":{"position":[[722,5]]},"459":{"position":[[573,5],[617,5],[677,5],[734,5],[781,5],[821,5]]},"480":{"position":[[351,5]]},"482":{"position":[[458,5],[596,5]]},"494":{"position":[[272,5]]},"522":{"position":[[397,5]]},"523":{"position":[[327,5],[377,5],[446,5]]},"538":{"position":[[412,5],[556,5]]},"539":{"position":[[321,5],[367,5],[461,5],[608,5]]},"541":{"position":[[253,5],[346,5],[379,5]]},"542":{"position":[[511,5],[781,5]]},"554":{"position":[[900,5],[1035,5]]},"555":{"position":[[190,5],[257,5],[449,5]]},"556":{"position":[[375,5],[792,5],[891,5]]},"559":{"position":[[270,5],[322,5]]},"562":{"position":[[150,5],[264,5],[646,5],[1124,5],[1187,5],[1286,5]]},"563":{"position":[[462,5],[669,5],[699,5]]},"564":{"position":[[426,5],[566,5]]},"571":{"position":[[1102,5]]},"579":{"position":[[325,5]]},"580":{"position":[[374,5]]},"598":{"position":[[419,5],[563,5]]},"599":{"position":[[348,5],[394,5],[488,5],[635,5]]},"601":{"position":[[446,5],[510,5],[567,5]]},"602":{"position":[[219,5]]},"611":{"position":[[627,5]]},"612":{"position":[[1134,5],[1779,5],[1802,5],[1998,5],[2083,5],[2204,5],[2246,5]]},"632":{"position":[[1271,5]]},"638":{"position":[[310,5],[413,5]]},"647":{"position":[[151,5],[377,5],[517,5]]},"648":{"position":[[93,5],[226,5]]},"649":{"position":[[92,5],[182,5],[236,5]]},"653":{"position":[[236,5]]},"659":{"position":[[556,5]]},"661":{"position":[[1086,5],[1140,5]]},"662":{"position":[[1805,5],[2099,5],[2306,5],[2663,5]]},"672":{"position":[[184,5]]},"673":{"position":[[190,5]]},"674":{"position":[[473,5]]},"678":{"position":[[228,5]]},"680":{"position":[[649,5],[792,5],[1212,5]]},"691":{"position":[[210,5]]},"693":{"position":[[713,5],[782,5],[1016,5],[1086,5],[1157,5]]},"710":{"position":[[1678,5],[1795,5],[1970,5]]},"711":{"position":[[1102,5],[1138,5],[1724,5]]},"717":{"position":[[770,5],[1138,5],[1403,5]]},"718":{"position":[[343,5],[453,5],[641,5]]},"720":{"position":[[118,5]]},"724":{"position":[[504,5],[1607,5],[1789,5]]},"734":{"position":[[280,5],[463,5],[594,5]]},"739":{"position":[[267,5],[614,5]]},"740":{"position":[[499,5]]},"745":{"position":[[378,5],[512,5]]},"746":{"position":[[266,5]]},"747":{"position":[[83,5]]},"751":{"position":[[1272,5],[1413,5]]},"752":{"position":[[345,5],[644,5],[842,5],[1398,5]]},"753":{"position":[[230,5]]},"754":{"position":[[229,5]]},"759":{"position":[[343,5]]},"770":{"position":[[445,5]]},"772":{"position":[[753,5],[997,5],[1588,5],[2170,5],[2350,5]]},"773":{"position":[[543,5]]},"774":{"position":[[645,5]]},"789":{"position":[[145,5],[392,5]]},"791":{"position":[[1,5],[136,5],[260,5],[456,5]]},"792":{"position":[[128,5],[267,5],[310,5]]},"796":{"position":[[416,5],[838,5],[1132,5]]},"797":{"position":[[235,5]]},"798":{"position":[[528,5]]},"799":{"position":[[556,5],[666,5],[788,5]]},"800":{"position":[[789,5],[848,5]]},"806":{"position":[[558,5]]},"808":{"position":[[118,5],[493,5]]},"810":{"position":[[329,5],[387,5]]},"811":{"position":[[309,5],[367,5]]},"812":{"position":[[1,5],[238,5]]},"813":{"position":[[1,5],[333,5],[393,5]]},"818":{"position":[[468,5]]},"820":{"position":[[143,5]]},"825":{"position":[[318,5]]},"826":{"position":[[431,5],[493,5],[586,5],[682,5],[794,5],[892,5],[1013,5],[1097,5]]},"829":{"position":[[622,5],[1392,5],[1415,5],[1480,5],[1512,5],[1947,5],[2366,5],[2456,5],[2485,5],[3282,5],[3372,5],[3400,5]]},"835":{"position":[[485,5]]},"836":{"position":[[672,5]]},"837":{"position":[[1835,5],[2094,5]]},"838":{"position":[[2177,5],[2520,5],[2877,5]]},"846":{"position":[[117,5]]},"848":{"position":[[178,5],[279,5],[634,5],[1269,5]]},"851":{"position":[[285,5]]},"852":{"position":[[152,5]]},"854":{"position":[[197,5],[232,5],[348,5],[393,5],[575,5]]},"857":{"position":[[275,5]]},"858":{"position":[[157,5]]},"862":{"position":[[522,5],[612,5],[866,5],[956,5],[1109,5]]},"866":{"position":[[407,5]]},"872":{"position":[[884,5],[973,5],[1696,5],[2349,5],[3239,5],[3350,5],[3954,5],[4435,5]]},"875":{"position":[[393,5],[868,5],[935,5],[988,5],[1044,5],[1110,5],[2106,5],[2131,5],[2182,5],[2616,5],[3069,5],[3186,5],[3255,5],[3311,5],[3428,5],[4403,5],[4474,5],[4503,5],[4525,5],[4631,5],[6113,5],[6213,5],[6405,5],[7381,5],[8071,5],[8108,5],[8243,5],[8378,5],[9490,5],[9527,5],[9687,5]]},"878":{"position":[[254,5]]},"882":{"position":[[371,5]]},"885":{"position":[[1460,5],[1504,5],[1561,5],[1681,5],[1996,5],[2349,5],[2462,5],[2515,5]]},"886":{"position":[[363,5],[560,5],[985,5],[2271,5],[2309,5],[2452,5],[2617,5],[3460,5],[3509,5],[3804,5]]},"887":{"position":[[226,5]]},"888":{"position":[[367,5],[1021,5]]},"889":{"position":[[416,5]]},"892":{"position":[[152,5],[236,5]]},"893":{"position":[[197,5]]},"898":{"position":[[2304,5],[3035,5],[3302,5]]},"904":{"position":[[697,5],[1781,5]]},"906":{"position":[[968,5]]},"907":{"position":[[257,5]]},"910":{"position":[[211,5]]},"911":{"position":[[602,5]]},"916":{"position":[[125,5],[311,5]]},"917":{"position":[[116,5]]},"918":{"position":[[79,5]]},"919":{"position":[[86,5]]},"920":{"position":[[57,5]]},"921":{"position":[[156,5]]},"929":{"position":[[69,5]]},"930":{"position":[[74,5],[130,5]]},"931":{"position":[[74,5],[130,5]]},"932":{"position":[[68,5],[130,5],[908,5],[1026,5],[1177,5]]},"934":{"position":[[203,5]]},"939":{"position":[[130,5],[209,5]]},"942":{"position":[[170,5]]},"943":{"position":[[367,5]]},"944":{"position":[[177,5]]},"945":{"position":[[118,5],[439,5]]},"946":{"position":[[142,5]]},"947":{"position":[[153,5]]},"948":{"position":[[374,5]]},"949":{"position":[[112,5]]},"951":{"position":[[318,5],[361,5]]},"957":{"position":[[89,5]]},"960":{"position":[[265,5]]},"962":{"position":[[736,5],[947,5]]},"966":{"position":[[519,5],[637,5]]},"967":{"position":[[104,5],[222,5]]},"968":{"position":[[490,5]]},"978":{"position":[[124,5]]},"979":{"position":[[218,5]]},"986":{"position":[[724,5]]},"988":{"position":[[217,5],[2497,5],[2829,5],[3558,5],[3690,5],[3807,5],[5065,5],[5200,5]]},"995":{"position":[[1842,5]]},"1002":{"position":[[514,5],[979,5],[1168,5]]},"1003":{"position":[[360,5]]},"1007":{"position":[[1155,5],[1303,5],[1352,5],[1505,5],[1663,5],[1836,5]]},"1013":{"position":[[273,5]]},"1014":{"position":[[177,5],[318,5]]},"1015":{"position":[[153,5]]},"1016":{"position":[[112,5]]},"1017":{"position":[[91,5]]},"1018":{"position":[[54,5],[125,5],[463,5],[502,5],[774,5],[937,5]]},"1020":{"position":[[333,5],[575,6]]},"1022":{"position":[[429,5],[591,6],[987,5]]},"1023":{"position":[[88,5],[247,6],[400,5],[651,5]]},"1024":{"position":[[182,5],[333,6],[355,5],[427,5]]},"1033":{"position":[[475,5],[605,5]]},"1036":{"position":[[102,5]]},"1038":{"position":[[128,5],[191,5]]},"1042":{"position":[[105,5]]},"1045":{"position":[[52,5],[116,5],[185,5]]},"1051":{"position":[[158,5],[424,5]]},"1052":{"position":[[176,5]]},"1053":{"position":[[87,5]]},"1055":{"position":[[176,5]]},"1056":{"position":[[84,5],[180,5],[300,5]]},"1057":{"position":[[68,5],[103,5],[425,5],[588,5]]},"1058":{"position":[[202,5],[237,5]]},"1059":{"position":[[212,5]]},"1060":{"position":[[80,5]]},"1061":{"position":[[81,5]]},"1062":{"position":[[137,5],[250,5]]},"1063":{"position":[[61,5]]},"1064":{"position":[[290,5],[345,5]]},"1066":{"position":[[334,5]]},"1067":{"position":[[276,5],[432,5],[1270,5],[1537,5],[1940,5],[2035,5],[2093,5],[2354,5]]},"1069":{"position":[[448,5],[597,5],[704,5],[754,5]]},"1070":{"position":[[84,5]]},"1072":{"position":[[2333,5],[2450,5],[2628,5]]},"1078":{"position":[[108,5],[1010,5],[1108,5]]},"1080":{"position":[[1,5]]},"1082":{"position":[[141,5]]},"1083":{"position":[[343,5]]},"1090":{"position":[[755,5],[998,5]]},"1097":{"position":[[682,5]]},"1098":{"position":[[318,5]]},"1099":{"position":[[292,5]]},"1100":{"position":[[631,5]]},"1101":{"position":[[445,5],[627,5]]},"1102":{"position":[[319,5],[457,5],[679,5],[917,5],[1010,5]]},"1103":{"position":[[178,5],[282,5]]},"1105":{"position":[[708,5]]},"1106":{"position":[[646,5]]},"1108":{"position":[[376,5]]},"1109":{"position":[[165,5]]},"1114":{"position":[[688,5],[816,5],[912,5]]},"1116":{"position":[[333,5],[383,5],[419,5],[471,5],[518,5],[587,5],[638,5]]},"1117":{"position":[[309,5],[353,5]]},"1118":{"position":[[470,5],[622,5],[749,5],[792,5],[835,5]]},"1121":{"position":[[428,5],[529,5],[572,5]]},"1125":{"position":[[260,5]]},"1126":{"position":[[350,5],[663,5]]},"1130":{"position":[[133,5]]},"1134":{"position":[[120,5]]},"1138":{"position":[[264,5]]},"1139":{"position":[[403,5],[452,5],[519,5]]},"1140":{"position":[[578,5],[699,5]]},"1144":{"position":[[168,5]]},"1145":{"position":[[392,5],[441,5],[508,5]]},"1146":{"position":[[213,5]]},"1148":{"position":[[737,5],[1107,5]]},"1149":{"position":[[900,5],[1280,5]]},"1154":{"position":[[455,5],[722,5]]},"1158":{"position":[[176,5],[655,5]]},"1159":{"position":[[362,5]]},"1163":{"position":[[278,5],[384,5],[522,5]]},"1164":{"position":[[118,5]]},"1165":{"position":[[288,5],[335,5],[444,5],[700,5],[1038,5]]},"1168":{"position":[[124,5]]},"1172":{"position":[[196,5],[289,5]]},"1177":{"position":[[228,5],[284,5]]},"1182":{"position":[[278,5],[388,5],[526,5]]},"1184":{"position":[[634,5],[765,5]]},"1185":{"position":[[294,5]]},"1186":{"position":[[252,5]]},"1189":{"position":[[377,5]]},"1201":{"position":[[164,5]]},"1204":{"position":[[293,5]]},"1208":{"position":[[702,5],[781,5],[909,5],[1050,5],[1210,5],[1304,5],[1350,5],[1409,5],[1716,5]]},"1210":{"position":[[398,5]]},"1211":{"position":[[653,5]]},"1212":{"position":[[442,5]]},"1213":{"position":[[662,5]]},"1218":{"position":[[351,5],[549,5]]},"1219":{"position":[[480,5],[651,5],[862,5]]},"1220":{"position":[[159,5],[456,5],[535,5]]},"1222":{"position":[[229,5],[530,5],[1369,5]]},"1226":{"position":[[194,5]]},"1227":{"position":[[672,5]]},"1231":{"position":[[776,5],[1003,5],[1140,5]]},"1237":{"position":[[814,5]]},"1238":{"position":[[789,5]]},"1239":{"position":[[759,5]]},"1249":{"position":[[467,5]]},"1264":{"position":[[116,5]]},"1265":{"position":[[660,5]]},"1266":{"position":[[165,5],[195,5],[250,5],[370,5],[443,5]]},"1267":{"position":[[467,5],[591,5],[685,5]]},"1268":{"position":[[418,5]]},"1271":{"position":[[1405,5],[1543,5]]},"1274":{"position":[[294,5]]},"1275":{"position":[[305,5]]},"1276":{"position":[[820,5],[867,5],[907,5]]},"1277":{"position":[[354,5],[858,5]]},"1278":{"position":[[431,5],[883,5]]},"1279":{"position":[[627,5],[681,5]]},"1280":{"position":[[416,5]]},"1282":{"position":[[751,5],[1122,5]]},"1286":{"position":[[389,5],[473,5]]},"1287":{"position":[[435,5],[523,5]]},"1288":{"position":[[395,5],[489,5]]},"1290":{"position":[[53,5]]},"1294":{"position":[[765,5],[801,5],[891,5],[932,5],[1167,5],[1448,5],[1594,5]]},"1296":{"position":[[796,5],[1344,5],[1453,5]]},"1309":{"position":[[491,5],[1366,5]]},"1311":{"position":[[101,5],[240,5],[621,5],[779,5],[892,5],[1453,5],[1722,5]]},"1315":{"position":[[548,5],[633,5]]}},"keywords":{}}],["constant",{"_index":710,"title":{},"content":{"46":{"position":[[335,8]]},"273":{"position":[[199,8]]},"410":{"position":[[1560,8]]},"414":{"position":[[378,8]]}},"keywords":{}}],["constantli",{"_index":1924,"title":{},"content":{"323":{"position":[[483,10]]},"481":{"position":[[845,10]]}},"keywords":{}}],["constel",{"_index":384,"title":{},"content":{"23":{"position":[[216,13]]}},"keywords":{}}],["constrain",{"_index":2545,"title":{},"content":{"408":{"position":[[2354,11]]}},"keywords":{}}],["constraint",{"_index":865,"title":{},"content":{"58":{"position":[[67,12]]},"228":{"position":[[251,11]]},"252":{"position":[[48,11]]},"262":{"position":[[351,11]]},"276":{"position":[[100,11]]},"304":{"position":[[217,11]]},"354":{"position":[[447,12],[484,11],[525,12],[1101,11],[1464,12]]},"362":{"position":[[294,12]]},"382":{"position":[[157,11]]},"412":{"position":[[9664,11]]},"460":{"position":[[810,12]]},"495":{"position":[[846,11]]},"699":{"position":[[1003,10]]},"796":{"position":[[809,10]]},"1157":{"position":[[78,12]]}},"keywords":{}}],["construct",{"_index":2842,"title":{},"content":{"420":{"position":[[1269,13]]},"770":{"position":[[46,12]]},"886":{"position":[[308,9]]},"1257":{"position":[[184,10]]}},"keywords":{}}],["constructor",{"_index":1094,"title":{},"content":{"130":{"position":[[363,12]]},"1226":{"position":[[370,11]]},"1264":{"position":[[280,11]]}},"keywords":{}}],["constructor(priv",{"_index":814,"title":{},"content":{"54":{"position":[[60,19]]}},"keywords":{}}],["consult",{"_index":3656,"title":{},"content":{"619":{"position":[[6,10]]},"730":{"position":[[209,7]]},"793":{"position":[[1485,10]]},"885":{"position":[[2706,7]]}},"keywords":{}}],["consum",{"_index":1716,"title":{},"content":{"298":{"position":[[408,9]]},"408":{"position":[[2994,7]]},"430":{"position":[[480,7]]},"622":{"position":[[522,8]]},"670":{"position":[[218,9]]},"693":{"position":[[199,7]]},"708":{"position":[[353,8]]},"829":{"position":[[447,7]]},"871":{"position":[[349,8]]},"1246":{"position":[[2225,7]]}},"keywords":{}}],["consumpt",{"_index":2584,"title":{},"content":{"409":{"position":[[109,12]]}},"keywords":{}}],["contact",{"_index":4630,"title":{},"content":{"793":{"position":[[1477,7]]}},"keywords":{}}],["contain",{"_index":580,"title":{},"content":{"37":{"position":[[117,8]]},"269":{"position":[[235,9]]},"390":{"position":[[1291,7]]},"397":{"position":[[411,8]]},"452":{"position":[[670,8]]},"543":{"position":[[126,8]]},"571":{"position":[[601,8]]},"603":{"position":[[124,8]]},"698":{"position":[[1136,8],[1339,8]]},"724":{"position":[[1579,8]]},"732":{"position":[[84,8]]},"749":{"position":[[359,7],[826,8],[3674,7],[6524,8],[11707,7],[11804,7],[13081,8],[18621,7],[18746,7],[23382,7]]},"789":{"position":[[92,8]]},"805":{"position":[[25,8]]},"816":{"position":[[126,8]]},"854":{"position":[[1409,8]]},"861":{"position":[[480,10]]},"875":{"position":[[3813,8],[7993,7]]},"886":{"position":[[1540,8]]},"887":{"position":[[125,8]]},"888":{"position":[[839,8]]},"889":{"position":[[275,8]]},"904":{"position":[[2865,7],[3011,7],[3281,8]]},"982":{"position":[[80,8]]},"983":{"position":[[610,8]]},"984":{"position":[[408,7]]},"985":{"position":[[212,8]]},"986":{"position":[[863,8]]},"988":{"position":[[2009,8],[2704,8],[3325,7],[3873,8],[4654,7]]},"990":{"position":[[796,7],[843,8],[882,7]]},"1004":{"position":[[283,7],[320,9],[688,7]]},"1023":{"position":[[611,7]]},"1074":{"position":[[540,7]]},"1077":{"position":[[22,8]]},"1092":{"position":[[176,8]]},"1104":{"position":[[414,7],[522,8]]},"1106":{"position":[[448,8]]},"1116":{"position":[[92,8]]},"1189":{"position":[[228,8]]},"1208":{"position":[[237,8]]},"1219":{"position":[[27,8]]},"1226":{"position":[[299,8]]},"1227":{"position":[[37,10],[69,8]]},"1237":{"position":[[355,7]]},"1264":{"position":[[215,8]]},"1265":{"position":[[30,10],[62,8]]},"1268":{"position":[[366,8]]},"1271":{"position":[[133,8],[579,8],[633,8]]},"1276":{"position":[[616,8]]},"1282":{"position":[[33,7]]},"1290":{"position":[[173,7]]},"1291":{"position":[[171,7]]},"1294":{"position":[[485,8]]},"1296":{"position":[[667,8]]},"1305":{"position":[[760,7]]},"1313":{"position":[[82,9]]},"1319":{"position":[[219,10],[389,10]]},"1322":{"position":[[472,7]]}},"keywords":{}}],["contemporari",{"_index":2914,"title":{},"content":{"434":{"position":[[399,12]]}},"keywords":{}}],["content",{"_index":1191,"title":{},"content":{"167":{"position":[[125,9]]},"211":{"position":[[487,8]]},"270":{"position":[[157,8]]},"314":{"position":[[819,8]]},"392":{"position":[[516,8]]},"421":{"position":[[88,8]]},"433":{"position":[[213,8]]},"500":{"position":[[662,7]]},"556":{"position":[[989,9]]},"612":{"position":[[1466,7],[1900,8]]},"626":{"position":[[225,7]]},"714":{"position":[[772,8],[828,8]]},"875":{"position":[[6330,8],[7284,8]]},"912":{"position":[[571,7]]},"988":{"position":[[2625,8]]},"1102":{"position":[[598,8]]},"1287":{"position":[[136,7]]}},"keywords":{}}],["contentasstr",{"_index":6215,"title":{},"content":{"1208":{"position":[[1415,15]]}},"keywords":{}}],["contention.effici",{"_index":2145,"title":{},"content":{"376":{"position":[[432,20]]}},"keywords":{}}],["context",{"_index":210,"title":{},"content":{"14":{"position":[[352,8]]},"173":{"position":[[8,7]]},"346":{"position":[[392,8]]},"439":{"position":[[119,7]]},"460":{"position":[[859,7]]},"570":{"position":[[210,7]]},"571":{"position":[[8,7]]},"618":{"position":[[8,7]]},"640":{"position":[[556,8]]},"749":{"position":[[24111,8]]},"829":{"position":[[1003,8]]},"901":{"position":[[691,9]]},"1214":{"position":[[177,9],[210,7],[234,8],[291,8],[619,8]]},"1301":{"position":[[724,9]]}},"keywords":{}}],["contextu",{"_index":3906,"title":{},"content":{"690":{"position":[[112,10]]},"723":{"position":[[2172,10]]}},"keywords":{}}],["continu",{"_index":706,"title":{},"content":{"46":{"position":[[161,8]]},"61":{"position":[[1,8]]},"65":{"position":[[610,8]]},"157":{"position":[[287,8]]},"164":{"position":[[179,8]]},"170":{"position":[[577,8]]},"173":{"position":[[1490,8]]},"208":{"position":[[265,12]]},"215":{"position":[[189,8]]},"255":{"position":[[280,10]]},"292":{"position":[[380,9]]},"309":{"position":[[215,10]]},"320":{"position":[[178,8]]},"327":{"position":[[113,9]]},"338":{"position":[[105,8]]},"375":{"position":[[217,8],[650,10]]},"380":{"position":[[144,8]]},"410":{"position":[[1012,8]]},"411":{"position":[[443,10]]},"419":{"position":[[249,8]]},"446":{"position":[[215,8]]},"464":{"position":[[1360,8]]},"483":{"position":[[528,8]]},"486":{"position":[[252,8]]},"489":{"position":[[649,9]]},"491":{"position":[[274,12]]},"510":{"position":[[85,8],[462,9]]},"530":{"position":[[587,9]]},"574":{"position":[[224,8]]},"582":{"position":[[657,10]]},"624":{"position":[[727,10]]},"630":{"position":[[670,8]]},"632":{"position":[[2598,12]]},"647":{"position":[[86,8]]},"724":{"position":[[598,8]]},"824":{"position":[[324,8],[503,9]]},"965":{"position":[[194,13]]},"981":{"position":[[1319,8]]},"1003":{"position":[[21,9]]},"1294":{"position":[[714,8],[1265,8]]},"1319":{"position":[[756,9]]}},"keywords":{}}],["contrari",{"_index":2897,"title":{},"content":{"429":{"position":[[1,8]]}},"keywords":{}}],["contrast",{"_index":587,"title":{},"content":{"38":{"position":[[151,8]]},"99":{"position":[[256,9]]},"100":{"position":[[153,9]]},"226":{"position":[[205,9]]},"265":{"position":[[719,9]]},"351":{"position":[[130,9]]},"412":{"position":[[8786,8]]},"439":{"position":[[337,8]]},"521":{"position":[[349,9]]},"535":{"position":[[1233,9]]},"571":{"position":[[509,8]]},"630":{"position":[[203,9]]},"851":{"position":[[4,8]]},"903":{"position":[[115,9]]},"981":{"position":[[4,8]]},"1065":{"position":[[1932,8]]},"1192":{"position":[[235,9]]}},"keywords":{}}],["contribut",{"_index":3255,"title":{"665":{"position":[[0,12]]}},"content":{"517":{"position":[[341,12]]},"669":{"position":[[28,13]]},"670":{"position":[[606,13]]}},"keywords":{}}],["contributor",{"_index":2174,"title":{},"content":{"387":{"position":[[281,12]]}},"keywords":{}}],["control",{"_index":971,"title":{},"content":{"75":{"position":[[86,7]]},"97":{"position":[[121,7]]},"263":{"position":[[333,7]]},"407":{"position":[[758,7],[1160,7]]},"410":{"position":[[490,7],[629,7]]},"411":{"position":[[5327,7]]},"412":{"position":[[12071,8],[12857,8],[15178,7]]},"417":{"position":[[80,7]]},"418":{"position":[[319,7]]},"551":{"position":[[406,8]]},"569":{"position":[[267,8],[873,11]]},"612":{"position":[[1944,9]]},"621":{"position":[[873,8]]},"635":{"position":[[338,7]]},"690":{"position":[[62,7],[615,8]]},"860":{"position":[[968,9]]},"861":{"position":[[2269,7]]},"875":{"position":[[7356,9]]},"912":{"position":[[656,7]]},"1009":{"position":[[830,7]]},"1147":{"position":[[309,7]]},"1206":{"position":[[289,7]]},"1305":{"position":[[422,8]]}},"keywords":{}}],["conveni",{"_index":643,"title":{},"content":{"40":{"position":[[833,11]]},"130":{"position":[[45,10]]},"247":{"position":[[14,10]]},"371":{"position":[[68,10]]},"402":{"position":[[2041,10]]},"424":{"position":[[387,10]]},"427":{"position":[[13,12]]},"430":{"position":[[27,12]]},"559":{"position":[[1005,10]]},"693":{"position":[[254,10]]}},"keywords":{}}],["converg",{"_index":2517,"title":{},"content":{"407":{"position":[[303,8]]},"411":{"position":[[4750,9]]},"700":{"position":[[362,9]]}},"keywords":{}}],["convers",{"_index":3474,"title":{},"content":{"572":{"position":[[88,12]]}},"keywords":{}}],["convert",{"_index":829,"title":{},"content":{"55":{"position":[[114,7]]},"397":{"position":[[181,7],[1554,9]]}},"keywords":{}}],["cooki",{"_index":1766,"title":{"434":{"position":[[16,8]]},"448":{"position":[[31,7]]},"450":{"position":[[9,8]]}},"content":{"299":{"position":[[1731,6]]},"408":{"position":[[330,7]]},"434":{"position":[[1,8],[250,7],[342,7]]},"450":{"position":[[1,7],[52,7],[173,7],[273,7],[310,7],[454,6],[498,6],[574,7]]},"460":{"position":[[1040,8]]},"461":{"position":[[1,7],[75,7],[189,6],[268,7],[516,7],[573,7]]},"462":{"position":[[893,9]]},"463":{"position":[[255,7]]},"696":{"position":[[822,8],[876,7]]},"793":{"position":[[1367,7]]},"890":{"position":[[375,8],[483,7],[625,7]]}},"keywords":{}}],["cookiescannot",{"_index":3009,"title":{},"content":{"460":{"position":[[724,13]]}},"keywords":{}}],["cookiestor",{"_index":2955,"title":{},"content":{"450":{"position":[[796,11]]}},"keywords":{}}],["coordin",{"_index":1392,"title":{},"content":{"212":{"position":[[658,12]]},"303":{"position":[[1267,11]]},"751":{"position":[[1278,11]]},"964":{"position":[[574,12]]},"1007":{"position":[[152,12]]}},"keywords":{}}],["copi",{"_index":2516,"title":{},"content":{"407":{"position":[[38,4]]},"411":{"position":[[4117,4]]},"412":{"position":[[4291,4],[5718,4]]},"417":{"position":[[36,4]]},"775":{"position":[[306,6],[497,4]]},"1210":{"position":[[577,4]]},"1227":{"position":[[342,4],[795,6]]},"1265":{"position":[[335,4],[777,6]]}},"keywords":{}}],["cor",{"_index":4964,"title":{"1103":{"position":[[0,5]]}},"content":{"872":{"position":[[3336,5]]},"1103":{"position":[[63,4],[85,4],[114,5],[241,5],[390,5]]}},"keywords":{}}],["cordova",{"_index":140,"title":{"11":{"position":[[0,7]]}},"content":{"10":{"position":[[409,7]]},"11":{"position":[[65,7],[120,7],[182,7],[884,8],[977,7]]},"661":{"position":[[308,7]]},"964":{"position":[[474,7]]},"1247":{"position":[[108,7]]}},"keywords":{}}],["cordova'",{"_index":143,"title":{},"content":{"11":{"position":[[6,9]]}},"keywords":{}}],["cordova.sqliteplugin",{"_index":145,"title":{},"content":{"11":{"position":[[23,21]]}},"keywords":{}}],["core",{"_index":1077,"title":{},"content":{"121":{"position":[[8,4]]},"180":{"position":[[84,4]]},"187":{"position":[[28,4]]},"207":{"position":[[15,4]]},"273":{"position":[[8,5]]},"362":{"position":[[1035,4]]},"379":{"position":[[8,4]]},"387":{"position":[[349,4]]},"392":{"position":[[3722,4],[3836,4],[4697,4],[5219,6]]},"419":{"position":[[430,4]]},"490":{"position":[[8,4]]},"513":{"position":[[249,4]]},"542":{"position":[[230,4]]},"574":{"position":[[37,4]]},"662":{"position":[[1898,4],[2059,4]]},"732":{"position":[[102,5]]},"761":{"position":[[96,4]]},"793":{"position":[[83,4]]},"831":{"position":[[125,4]]},"837":{"position":[[106,4],[1569,6]]},"838":{"position":[[2038,4]]},"899":{"position":[[38,4]]},"960":{"position":[[81,4]]},"1097":{"position":[[463,4]]},"1181":{"position":[[897,4]]},"1198":{"position":[[2336,4]]},"1271":{"position":[[124,5]]},"1292":{"position":[[157,4]]}},"keywords":{}}],["core(tm",{"_index":6400,"title":{},"content":{"1292":{"position":[[180,8]]}},"keywords":{}}],["corner",{"_index":4111,"title":{},"content":{"742":{"position":[[87,7]]}},"keywords":{}}],["cornerston",{"_index":3224,"title":{},"content":{"502":{"position":[[246,11]]},"517":{"position":[[23,11]]}},"keywords":{}}],["corpor",{"_index":1730,"title":{},"content":{"298":{"position":[[807,9]]},"624":{"position":[[291,9]]}},"keywords":{}}],["correct",{"_index":3715,"title":{"1120":{"position":[[0,11]]}},"content":{"638":{"position":[[923,7]]},"656":{"position":[[446,7]]},"698":{"position":[[271,7]]},"708":{"position":[[198,7],[440,7]]},"749":{"position":[[16570,7]]},"875":{"position":[[3005,7],[3968,7]]},"1030":{"position":[[254,7]]},"1097":{"position":[[514,7]]},"1115":{"position":[[554,7],[754,7]]},"1120":{"position":[[26,12]]},"1228":{"position":[[237,7]]},"1251":{"position":[[293,11]]},"1271":{"position":[[821,7]]},"1300":{"position":[[529,7]]},"1315":{"position":[[1483,7]]}},"keywords":{}}],["correctli",{"_index":754,"title":{"1029":{"position":[[17,10]]}},"content":{"50":{"position":[[346,10]]},"394":{"position":[[48,9]]},"687":{"position":[[171,9]]},"779":{"position":[[94,10]]},"1316":{"position":[[1861,10]]}},"keywords":{}}],["correctly.link",{"_index":1091,"title":{},"content":{"129":{"position":[[659,14]]}},"keywords":{}}],["correspond",{"_index":2356,"title":{},"content":{"397":{"position":[[437,13]]},"778":{"position":[[94,10]]},"805":{"position":[[159,13]]},"806":{"position":[[364,13]]},"832":{"position":[[250,13]]}},"keywords":{}}],["corrupt",{"_index":1799,"title":{},"content":{"302":{"position":[[320,11]]},"358":{"position":[[637,9]]},"382":{"position":[[385,10]]}},"keywords":{}}],["cosin",{"_index":2292,"title":{},"content":{"393":{"position":[[253,6]]}},"keywords":{}}],["cost",{"_index":1314,"title":{"204":{"position":[[15,5]]},"251":{"position":[[17,6]]},"295":{"position":[[0,4]]}},"content":{"251":{"position":[[295,6]]},"263":{"position":[[305,6]]},"295":{"position":[[51,4]]},"402":{"position":[[1064,4]]},"1124":{"position":[[1780,5]]},"1132":{"position":[[1189,4]]},"1304":{"position":[[1452,4]]}},"keywords":{}}],["costli",{"_index":4812,"title":{},"content":{"841":{"position":[[1107,6]]}},"keywords":{}}],["couch",{"_index":2156,"title":{},"content":{"381":{"position":[[206,5]]},"841":{"position":[[555,5]]}},"keywords":{}}],["couchbas",{"_index":411,"title":{"25":{"position":[[0,10]]}},"content":{"25":{"position":[[1,9],[247,9]]},"837":{"position":[[911,9]]}},"keywords":{}}],["couchdb",{"_index":239,"title":{"23":{"position":[[0,8]]},"843":{"position":[[17,7]]}},"content":{"14":{"position":[[1121,7]]},"23":{"position":[[10,7],[177,7],[419,7]]},"24":{"position":[[72,7],[306,7],[350,7],[799,7]]},"26":{"position":[[52,7]]},"27":{"position":[[220,7]]},"113":{"position":[[245,8]]},"174":{"position":[[3077,8]]},"238":{"position":[[160,8]]},"249":{"position":[[183,8]]},"255":{"position":[[1699,8]]},"289":{"position":[[448,7],[493,7],[586,8],[706,7],[814,7]]},"312":{"position":[[146,9]]},"350":{"position":[[160,8]]},"381":{"position":[[129,8],[146,7]]},"412":{"position":[[12519,7]]},"481":{"position":[[294,7]]},"504":{"position":[[870,7],[915,8],[985,7]]},"565":{"position":[[134,8]]},"566":{"position":[[1187,8]]},"632":{"position":[[757,8]]},"644":{"position":[[131,8]]},"685":{"position":[[157,7]]},"701":{"position":[[488,8]]},"749":{"position":[[175,7],[273,7]]},"793":{"position":[[717,7]]},"837":{"position":[[77,7],[182,7],[433,8],[801,8],[900,7]]},"838":{"position":[[627,8]]},"841":{"position":[[736,7],[790,8],[1428,7]]},"845":{"position":[[58,7]]},"846":{"position":[[107,9],[189,7],[253,7],[1235,7],[1562,7]]},"848":{"position":[[706,7],[1259,9],[1341,7]]},"849":{"position":[[7,7],[551,7],[670,7],[760,8]]},"851":{"position":[[75,7],[102,7],[254,7]]},"852":{"position":[[224,7]]},"1124":{"position":[[2271,8]]},"1149":{"position":[[130,7],[175,7],[552,7],[581,7],[647,7],[722,9],[1264,7],[1351,7],[1415,7]]},"1198":{"position":[[276,7],[464,8],[1573,7],[1708,7]]},"1199":{"position":[[57,7]]},"1313":{"position":[[1028,7]]}},"keywords":{}}],["couchdb.build",{"_index":1307,"title":{},"content":{"202":{"position":[[264,13]]}},"keywords":{}}],["couchdb/pouchdb",{"_index":2679,"title":{},"content":{"412":{"position":[[3385,18]]}},"keywords":{}}],["count",{"_index":1552,"title":{"1067":{"position":[[0,6]]}},"content":{"251":{"position":[[25,5]]},"265":{"position":[[369,7]]},"496":{"position":[[165,6]]},"746":{"position":[[736,6]]},"749":{"position":[[2604,7],[2660,7],[2839,5]]},"752":{"position":[[1170,6]]},"817":{"position":[[40,5]]},"1033":{"position":[[773,7]]},"1067":{"position":[[124,5],[384,5],[414,5],[610,5],[785,7],[1173,5],[1403,5],[1649,5],[1826,5],[1920,5],[2041,5],[2078,5],[2099,6],[2247,5]]},"1068":{"position":[[28,5],[187,8],[483,5]]},"1194":{"position":[[945,6],[995,7]]}},"keywords":{}}],["countalldocu",{"_index":6506,"title":{},"content":{"1311":{"position":[[834,18]]}},"keywords":{}}],["counter",{"_index":5776,"title":{},"content":{"1067":{"position":[[1756,8]]}},"keywords":{}}],["countri",{"_index":4450,"title":{},"content":{"751":{"position":[[1226,7]]}},"keywords":{}}],["coupl",{"_index":576,"title":{},"content":{"36":{"position":[[416,8]]},"412":{"position":[[925,7]]},"696":{"position":[[1137,6]]},"839":{"position":[[428,7]]}},"keywords":{}}],["cours",{"_index":357,"title":{},"content":{"20":{"position":[[248,6]]},"412":{"position":[[2805,6]]},"454":{"position":[[139,6]]},"457":{"position":[[474,6]]},"697":{"position":[[456,7]]},"703":{"position":[[1595,6]]},"773":{"position":[[229,6]]},"784":{"position":[[731,6]]},"1295":{"position":[[442,6]]},"1316":{"position":[[3356,7]]}},"keywords":{}}],["cover",{"_index":3020,"title":{},"content":{"461":{"position":[[1468,6]]},"839":{"position":[[678,6]]},"876":{"position":[[26,7],[119,5]]}},"keywords":{}}],["cpu",{"_index":2281,"title":{},"content":{"392":{"position":[[4693,3],[5215,3]]},"408":{"position":[[4749,4]]},"411":{"position":[[3611,3]]},"412":{"position":[[4830,3],[9294,3]]},"427":{"position":[[1236,3]]},"699":{"position":[[841,3]]},"704":{"position":[[364,5]]},"721":{"position":[[158,3],[192,3]]},"740":{"position":[[97,3]]},"975":{"position":[[162,4]]},"1164":{"position":[[1311,3]]},"1246":{"position":[[194,3],[514,3]]},"1292":{"position":[[200,4]]},"1309":{"position":[[756,3]]}},"keywords":{}}],["craft",{"_index":3223,"title":{},"content":{"502":{"position":[[57,7]]},"661":{"position":[[65,7]]},"711":{"position":[[90,7]]},"836":{"position":[[67,7]]},"837":{"position":[[1440,5]]},"848":{"position":[[116,8]]},"1079":{"position":[[424,5]]},"1296":{"position":[[840,5],[1202,7]]}},"keywords":{}}],["crash",{"_index":463,"title":{},"content":{"28":{"position":[[533,8]]},"302":{"position":[[304,7]]},"304":{"position":[[459,5]]},"990":{"position":[[328,5]]},"1010":{"position":[[204,9]]},"1090":{"position":[[1197,7]]},"1162":{"position":[[106,7]]},"1171":{"position":[[123,7]]},"1181":{"position":[[172,7]]},"1300":{"position":[[1130,7]]}},"keywords":{}}],["crdt",{"_index":628,"title":{"677":{"position":[[5,4]]},"678":{"position":[[5,4]]},"681":{"position":[[12,4]]},"683":{"position":[[0,5]]},"685":{"position":[[0,5]]},"687":{"position":[[16,6]]},"688":{"position":[[0,4]]},"689":{"position":[[13,6]]},"691":{"position":[[68,5]]}},"content":{"39":{"position":[[687,6]]},"40":{"position":[[10,4]]},"412":{"position":[[2406,5],[3675,5],[3846,5],[3917,5],[9239,4]]},"678":{"position":[[12,4],[204,4]]},"680":{"position":[[8,5],[58,4],[145,4],[192,4],[330,4],[424,4],[779,4],[965,6],[1023,4],[1070,5],[1081,4],[1101,7],[1289,4]]},"681":{"position":[[17,5],[215,5],[400,5],[497,4]]},"682":{"position":[[17,4],[163,5]]},"683":{"position":[[6,5],[91,4],[467,5]]},"684":{"position":[[34,4],[136,5]]},"685":{"position":[[1,4],[213,4],[410,4],[527,4],[660,4]]},"686":{"position":[[19,4],[224,4],[547,6],[703,4],[797,4],[842,4]]},"687":{"position":[[1,4],[231,5],[258,5],[308,4]]},"688":{"position":[[11,4],[156,4],[251,5],[371,4],[797,4],[963,6]]},"689":{"position":[[1,5],[124,5],[415,4],[540,5]]},"690":{"position":[[26,4],[237,5],[506,5]]},"691":{"position":[[703,4]]},"698":{"position":[[3059,5],[3073,4],[3220,5]]},"749":{"position":[[22581,4],[22624,4],[22772,5],[22857,5],[22918,4]]},"793":{"position":[[1139,4]]}},"keywords":{}}],["crdt1",{"_index":4417,"title":{},"content":{"749":{"position":[[22575,5]]}},"keywords":{}}],["crdt2",{"_index":4418,"title":{},"content":{"749":{"position":[[22715,5]]}},"keywords":{}}],["crdt3",{"_index":4420,"title":{},"content":{"749":{"position":[[22844,5]]}},"keywords":{}}],["creat",{"_index":198,"title":{"51":{"position":[[0,6]]},"258":{"position":[[0,6]]},"334":{"position":[[0,8]]},"538":{"position":[[0,6]]},"579":{"position":[[0,8]]},"598":{"position":[[0,6]]},"653":{"position":[[0,6]]},"803":{"position":[[0,8]]},"885":{"position":[[0,8]]},"934":{"position":[[0,8]]},"1020":{"position":[[0,8]]},"1075":{"position":[[0,6]]},"1114":{"position":[[0,8]]}},"content":{"14":{"position":[[50,8],[1055,7]]},"26":{"position":[[274,6]]},"30":{"position":[[204,7]]},"37":{"position":[[200,6]]},"45":{"position":[[119,6]]},"50":{"position":[[6,7],[223,7]]},"51":{"position":[[664,6]]},"55":{"position":[[641,8]]},"65":{"position":[[954,8],[2055,6]]},"83":{"position":[[359,6]]},"116":{"position":[[251,8]]},"124":{"position":[[99,6]]},"128":{"position":[[285,6]]},"129":{"position":[[527,7]]},"138":{"position":[[225,8]]},"145":{"position":[[93,6]]},"153":{"position":[[290,6]]},"170":{"position":[[107,6]]},"174":{"position":[[267,6]]},"177":{"position":[[55,7],[286,6]]},"181":{"position":[[178,8]]},"188":{"position":[[433,6],[474,7],[931,6],[3013,6],[3103,6]]},"194":{"position":[[63,8]]},"208":{"position":[[158,7]]},"211":{"position":[[38,6]]},"266":{"position":[[830,7]]},"275":{"position":[[219,6]]},"304":{"position":[[470,8]]},"334":{"position":[[38,6]]},"342":{"position":[[1,6]]},"346":{"position":[[137,8],[354,6],[444,6]]},"356":{"position":[[315,6],[694,6]]},"365":{"position":[[468,6]]},"368":{"position":[[273,6]]},"384":{"position":[[290,6]]},"387":{"position":[[294,8]]},"388":{"position":[[402,8]]},"390":{"position":[[247,7]]},"391":{"position":[[769,7]]},"392":{"position":[[43,6],[3811,6]]},"403":{"position":[[86,6]]},"404":{"position":[[171,8]]},"411":{"position":[[1246,8],[1667,8]]},"412":{"position":[[10910,6],[10971,8],[12534,8]]},"419":{"position":[[1644,8]]},"446":{"position":[[1308,6]]},"463":{"position":[[71,8],[1167,8]]},"464":{"position":[[1007,6]]},"480":{"position":[[33,6],[319,6]]},"482":{"position":[[564,6]]},"489":{"position":[[732,7]]},"510":{"position":[[367,6]]},"514":{"position":[[377,6]]},"530":{"position":[[647,8]]},"538":{"position":[[394,6]]},"541":{"position":[[319,6]]},"548":{"position":[[202,6]]},"554":{"position":[[1006,6],[1227,6]]},"563":{"position":[[611,6]]},"567":{"position":[[385,6]]},"579":{"position":[[802,8]]},"589":{"position":[[189,8]]},"601":{"position":[[540,6]]},"608":{"position":[[202,6]]},"611":{"position":[[1056,7]]},"612":{"position":[[622,8]]},"632":{"position":[[820,6],[1209,6]]},"653":{"position":[[60,8]]},"661":{"position":[[775,6],[1789,6]]},"662":{"position":[[1571,6],[2018,6],[2083,6],[2287,6]]},"667":{"position":[[18,8],[61,6]]},"668":{"position":[[254,6]]},"676":{"position":[[269,8]]},"680":{"position":[[512,6],[754,6]]},"693":{"position":[[169,6],[549,6]]},"698":{"position":[[1312,6],[2725,6]]},"700":{"position":[[783,6]]},"701":{"position":[[331,6],[418,8]]},"703":{"position":[[10,6]]},"705":{"position":[[11,8],[1241,8]]},"710":{"position":[[1512,6],[1662,6],[1776,6]]},"711":{"position":[[1082,6],[1203,6]]},"717":{"position":[[875,6],[958,8],[1109,6],[1251,6]]},"718":{"position":[[612,6]]},"719":{"position":[[316,7],[475,8]]},"724":{"position":[[337,6]]},"734":{"position":[[387,6],[560,6]]},"745":{"position":[[105,6],[466,6],[599,6]]},"749":{"position":[[3362,6],[5402,7],[13274,6],[22244,6]]},"752":{"position":[[72,8]]},"757":{"position":[[130,7]]},"759":{"position":[[317,6]]},"770":{"position":[[572,7]]},"776":{"position":[[128,7]]},"781":{"position":[[252,6]]},"784":{"position":[[182,6]]},"789":{"position":[[57,6]]},"793":{"position":[[954,8]]},"815":{"position":[[200,7]]},"817":{"position":[[251,8]]},"818":{"position":[[302,6]]},"829":{"position":[[175,7],[392,8],[1074,7],[3722,7]]},"830":{"position":[[301,8]]},"836":{"position":[[593,6],[825,6]]},"837":{"position":[[2021,6]]},"838":{"position":[[1888,6],[2158,6]]},"840":{"position":[[487,7]]},"848":{"position":[[1121,6]]},"851":{"position":[[60,6],[159,6],[236,6]]},"861":{"position":[[499,6],[921,6],[971,8],[1012,6],[1260,6],[2512,8]]},"862":{"position":[[485,6]]},"872":{"position":[[713,6],[792,6],[1341,6],[1387,6],[1663,6],[3641,6]]},"875":{"position":[[4156,7],[7826,6]]},"882":{"position":[[344,8]]},"885":{"position":[[143,6]]},"886":{"position":[[3235,6],[3278,6],[4960,6]]},"892":{"position":[[120,6]]},"898":{"position":[[66,6],[131,6],[830,6],[892,6],[1249,6],[1539,6],[1581,6],[2704,6]]},"904":{"position":[[273,6],[340,6],[384,6],[1028,8],[1227,8],[2324,6],[2449,6]]},"906":{"position":[[467,8],[626,6]]},"917":{"position":[[635,6]]},"932":{"position":[[854,6],[1376,6]]},"934":{"position":[[4,6],[830,6]]},"939":{"position":[[111,7]]},"952":{"position":[[22,6]]},"954":{"position":[[209,7]]},"955":{"position":[[180,6]]},"958":{"position":[[250,6],[282,6],[458,6],[727,8]]},"960":{"position":[[17,7]]},"964":{"position":[[25,6]]},"966":{"position":[[24,6],[759,6]]},"967":{"position":[[344,6]]},"971":{"position":[[22,6]]},"976":{"position":[[231,6]]},"977":{"position":[[386,8]]},"981":{"position":[[507,8]]},"987":{"position":[[593,6],[1101,6]]},"988":{"position":[[4881,8]]},"1007":{"position":[[269,6]]},"1009":{"position":[[768,8]]},"1013":{"position":[[60,6],[118,8]]},"1014":{"position":[[1,7]]},"1015":{"position":[[1,7]]},"1020":{"position":[[15,7]]},"1055":{"position":[[4,6]]},"1067":{"position":[[2328,8]]},"1068":{"position":[[106,8]]},"1069":{"position":[[392,6],[512,7]]},"1076":{"position":[[132,6]]},"1078":{"position":[[359,6],[784,6]]},"1080":{"position":[[859,6],[951,6]]},"1085":{"position":[[802,6],[2854,7],[2923,7],[3660,8],[3744,6]]},"1097":{"position":[[4,6],[162,6]]},"1102":{"position":[[278,8]]},"1103":{"position":[[6,8]]},"1108":{"position":[[22,7]]},"1114":{"position":[[23,7],[257,6],[399,6],[792,6],[875,6]]},"1117":{"position":[[175,7]]},"1119":{"position":[[333,8]]},"1125":{"position":[[806,6]]},"1126":{"position":[[119,8]]},"1135":{"position":[[278,6]]},"1138":{"position":[[117,8]]},"1144":{"position":[[149,6]]},"1148":{"position":[[683,6],[842,8],[1082,6]]},"1149":{"position":[[852,6]]},"1150":{"position":[[297,7]]},"1154":{"position":[[135,8],[669,6]]},"1158":{"position":[[157,6]]},"1163":{"position":[[457,6]]},"1164":{"position":[[346,7]]},"1165":{"position":[[254,8],[481,6],[611,7],[928,6]]},"1174":{"position":[[479,8],[773,8]]},"1182":{"position":[[461,6]]},"1189":{"position":[[178,8]]},"1194":{"position":[[151,6]]},"1198":{"position":[[144,7]]},"1208":{"position":[[96,6],[758,6],[849,7],[870,6],[980,7],[1001,6]]},"1209":{"position":[[253,7]]},"1213":{"position":[[767,6]]},"1219":{"position":[[56,6],[440,6],[607,6]]},"1222":{"position":[[1165,6],[1316,6]]},"1227":{"position":[[435,6]]},"1230":{"position":[[34,6],[245,6]]},"1231":{"position":[[926,6]]},"1238":{"position":[[50,6]]},"1239":{"position":[[9,6]]},"1246":{"position":[[1318,7],[1903,6],[2195,6]]},"1265":{"position":[[428,6]]},"1267":{"position":[[40,6]]},"1268":{"position":[[327,6]]},"1271":{"position":[[938,8],[1218,6],[1508,6]]},"1272":{"position":[[51,6],[324,8]]},"1277":{"position":[[120,6],[338,6]]},"1282":{"position":[[935,7]]},"1289":{"position":[[123,6]]},"1294":{"position":[[173,7],[460,6]]},"1296":{"position":[[325,6]]},"1297":{"position":[[65,8]]},"1301":{"position":[[744,6]]},"1308":{"position":[[556,6]]},"1309":{"position":[[414,6],[1320,8]]},"1311":{"position":[[66,6]]}},"keywords":{}}],["createblob",{"_index":3368,"title":{},"content":{"556":{"position":[[753,10]]},"754":{"position":[[203,10],[699,11]]},"917":{"position":[[90,10]]}},"keywords":{}}],["createblob('meowmeow",{"_index":5288,"title":{},"content":{"917":{"position":[[225,22]]}},"keywords":{}}],["createblob('sensit",{"_index":3371,"title":{},"content":{"556":{"position":[[967,21]]}},"keywords":{}}],["createblob(json.stringifi",{"_index":4666,"title":{},"content":{"800":{"position":[[930,29]]}},"keywords":{}}],["createcli",{"_index":5214,"title":{},"content":{"898":{"position":[[2983,12],[3052,13]]}},"keywords":{}}],["created.leverag",{"_index":3521,"title":{},"content":{"590":{"position":[[212,16]]}},"keywords":{}}],["createdat",{"_index":1904,"title":{},"content":{"316":{"position":[[333,10]]}},"keywords":{}}],["createdb",{"_index":1260,"title":{},"content":{"188":{"position":[[1594,8]]},"672":{"position":[[16,10]]},"673":{"position":[[59,10]]},"674":{"position":[[330,10]]}},"keywords":{}}],["createdb(databasenam",{"_index":1252,"title":{},"content":{"188":{"position":[[903,22]]}},"keywords":{}}],["createpassword",{"_index":4026,"title":{},"content":{"718":{"position":[[141,14]]}},"keywords":{}}],["createreactivityfactori",{"_index":4722,"title":{},"content":{"825":{"position":[[102,23]]}},"keywords":{}}],["createreactivityfactory(inject(injector",{"_index":846,"title":{},"content":{"55":{"position":[[955,41]]},"825":{"position":[[423,41]]}},"keywords":{}}],["createreactivityfactory(injector",{"_index":837,"title":{},"content":{"55":{"position":[[366,33]]}},"keywords":{}}],["createrestcli",{"_index":5939,"title":{},"content":{"1102":{"position":[[858,16]]}},"keywords":{}}],["createrestclient('http://localhost:80",{"_index":5941,"title":{},"content":{"1102":{"position":[[932,39]]}},"keywords":{}}],["createrxdatabas",{"_index":24,"title":{},"content":{"1":{"position":[[328,16],[536,18]]},"2":{"position":[[339,18]]},"3":{"position":[[219,18]]},"4":{"position":[[397,18]]},"5":{"position":[[307,18]]},"6":{"position":[[502,18],[681,18]]},"7":{"position":[[339,18],[516,18]]},"8":{"position":[[734,16],[1108,18]]},"9":{"position":[[253,18]]},"10":{"position":[[291,18]]},"11":{"position":[[817,18]]},"51":{"position":[[188,16],[699,18]]},"55":{"position":[[677,16],[873,18]]},"188":{"position":[[647,16],[970,18]]},"209":{"position":[[10,16],[242,18]]},"211":{"position":[[72,16],[212,18]]},"255":{"position":[[357,16],[589,18]]},"258":{"position":[[10,16],[150,18]]},"266":{"position":[[549,16],[664,18]]},"314":{"position":[[309,16],[475,18]]},"315":{"position":[[338,16],[538,18]]},"334":{"position":[[174,16],[333,18]]},"392":{"position":[[216,16],[343,18]]},"480":{"position":[[167,16],[368,18]]},"482":{"position":[[168,16],[613,18]]},"522":{"position":[[287,16],[414,18]]},"538":{"position":[[268,16],[429,18]]},"542":{"position":[[388,16],[534,18]]},"554":{"position":[[484,16],[1052,18]]},"562":{"position":[[10,16],[167,18]]},"563":{"position":[[207,16],[479,18]]},"564":{"position":[[195,16],[583,18]]},"579":{"position":[[176,16],[342,18]]},"598":{"position":[[276,16],[436,18]]},"632":{"position":[[1048,16],[1288,18]]},"638":{"position":[[430,18]]},"653":{"position":[[126,16],[253,18]]},"662":{"position":[[1634,16],[2126,18]]},"672":{"position":[[195,17]]},"673":{"position":[[201,17]]},"674":{"position":[[484,17]]},"680":{"position":[[539,16],[674,18]]},"693":{"position":[[1174,18]]},"710":{"position":[[1549,16],[1695,18]]},"717":{"position":[[1061,16],[1155,18]]},"718":{"position":[[658,18]]},"721":{"position":[[377,16]]},"732":{"position":[[118,17]]},"734":{"position":[[418,16],[480,18]]},"739":{"position":[[284,18]]},"745":{"position":[[529,18]]},"749":{"position":[[2762,16],[5563,19],[6208,19],[6463,19]]},"759":{"position":[[360,18]]},"772":{"position":[[615,17],[643,16],[770,18],[1430,16],[1615,18],[2138,16],[2377,18]]},"773":{"position":[[445,16],[560,18]]},"774":{"position":[[448,16],[662,18]]},"825":{"position":[[300,17],[341,18]]},"829":{"position":[[468,17],[639,18]]},"838":{"position":[[1951,16],[2204,18]]},"862":{"position":[[298,17],[539,18]]},"872":{"position":[[1549,17],[1713,18],[3784,16],[3971,18]]},"892":{"position":[[10,16],[177,20]]},"898":{"position":[[2174,16],[2321,18]]},"904":{"position":[[574,16],[714,18]]},"932":{"position":[[1043,18]]},"960":{"position":[[45,19],[142,16],[282,18]]},"962":{"position":[[753,18],[969,18]]},"966":{"position":[[537,18],[655,18]]},"967":{"position":[[122,18],[240,18]]},"968":{"position":[[507,18]]},"976":{"position":[[262,19]]},"1013":{"position":[[298,18]]},"1067":{"position":[[2377,18]]},"1088":{"position":[[606,19]]},"1090":{"position":[[782,18]]},"1114":{"position":[[441,17],[711,18]]},"1118":{"position":[[370,16],[645,18]]},"1121":{"position":[[451,18]]},"1125":{"position":[[134,16],[162,16],[287,18]]},"1126":{"position":[[367,18],[680,18]]},"1130":{"position":[[10,16],[160,18]]},"1134":{"position":[[10,16],[137,18]]},"1138":{"position":[[152,16],[281,18]]},"1139":{"position":[[250,16],[536,18]]},"1140":{"position":[[466,16],[595,18]]},"1144":{"position":[[38,16],[185,18]]},"1145":{"position":[[242,16],[525,18]]},"1146":{"position":[[230,18]]},"1148":{"position":[[528,16],[1124,18]]},"1149":{"position":[[805,16],[917,18]]},"1154":{"position":[[745,18]]},"1156":{"position":[[334,19]]},"1158":{"position":[[32,16],[193,18]]},"1159":{"position":[[218,16],[379,18]]},"1163":{"position":[[539,18]]},"1165":{"position":[[729,18],[1067,18]]},"1168":{"position":[[26,16],[141,18]]},"1172":{"position":[[10,16],[306,18]]},"1182":{"position":[[543,18]]},"1184":{"position":[[782,18]]},"1189":{"position":[[277,16],[404,18]]},"1201":{"position":[[10,16],[181,18]]},"1210":{"position":[[292,16],[421,18]]},"1211":{"position":[[541,16],[676,18]]},"1218":{"position":[[568,18]]},"1219":{"position":[[881,18]]},"1222":{"position":[[1392,18]]},"1226":{"position":[[10,16],[217,18]]},"1227":{"position":[[560,16],[695,18]]},"1231":{"position":[[607,17],[1026,18]]},"1237":{"position":[[839,18]]},"1238":{"position":[[814,18]]},"1239":{"position":[[784,18]]},"1264":{"position":[[10,16],[139,18]]},"1265":{"position":[[554,16],[683,18]]},"1267":{"position":[[617,18],[711,18]]},"1271":{"position":[[1570,18]]},"1274":{"position":[[10,16],[321,18]]},"1275":{"position":[[128,16],[332,18]]},"1276":{"position":[[400,16],[934,18]]},"1277":{"position":[[151,16],[381,18]]},"1278":{"position":[[254,16],[458,18],[706,16],[910,18]]},"1279":{"position":[[319,16],[708,18]]},"1280":{"position":[[250,16],[443,18]]},"1286":{"position":[[490,18]]},"1287":{"position":[[540,18]]},"1288":{"position":[[506,18]]}},"keywords":{}}],["createrxdatabase<mydatabasecollections>",{"_index":6498,"title":{},"content":{"1311":{"position":[[138,47]]}},"keywords":{}}],["createrxserv",{"_index":4959,"title":{},"content":{"872":{"position":[[3109,14],[3260,16]]},"1097":{"position":[[132,16],[340,14],[705,16]]},"1098":{"position":[[180,14],[341,16]]},"1099":{"position":[[162,14],[315,16]]}},"keywords":{}}],["createsyncaccesshandl",{"_index":2964,"title":{},"content":{"453":{"position":[[388,24]]},"460":{"position":[[1137,22]]},"464":{"position":[[1172,24]]},"468":{"position":[[351,24]]},"1207":{"position":[[449,24]]},"1211":{"position":[[5,22]]}},"keywords":{}}],["createwrit",{"_index":6236,"title":{},"content":{"1211":{"position":[[336,14]]}},"keywords":{}}],["creation",{"_index":782,"title":{"145":{"position":[[34,9]]},"960":{"position":[[0,9]]}},"content":{"51":{"position":[[939,8]]},"56":{"position":[[128,9]]},"145":{"position":[[205,9]]},"188":{"position":[[857,8]]},"590":{"position":[[102,9]]},"656":{"position":[[279,8]]},"715":{"position":[[137,8]]},"749":{"position":[[6652,8],[14433,9]]},"751":{"position":[[6,8]]},"752":{"position":[[490,8]]},"774":{"position":[[150,8]]},"829":{"position":[[94,9],[113,8]]},"830":{"position":[[218,9]]},"832":{"position":[[122,8]]},"989":{"position":[[288,8]]},"1013":{"position":[[815,9]]},"1085":{"position":[[897,8],[1004,9]]},"1119":{"position":[[184,9]]},"1161":{"position":[[269,8]]},"1175":{"position":[[234,9],[627,8]]},"1180":{"position":[[269,8]]},"1194":{"position":[[273,8]]}},"keywords":{}}],["creativ",{"_index":949,"title":{},"content":{"66":{"position":[[611,8]]}},"keywords":{}}],["credenti",{"_index":1401,"title":{},"content":{"218":{"position":[[132,11]]},"506":{"position":[[185,12]]},"550":{"position":[[204,12]]},"556":{"position":[[381,11],[435,13]]},"564":{"position":[[1071,12]]},"616":{"position":[[874,11]]},"846":{"position":[[492,12]]},"890":{"position":[[446,11],[593,10],[843,12]]},"1226":{"position":[[684,12]]},"1264":{"position":[[564,12]]}},"keywords":{}}],["credentials.password",{"_index":3365,"title":{},"content":{"556":{"position":[[458,21]]}},"keywords":{}}],["creditcard",{"_index":5840,"title":{},"content":{"1080":{"position":[[615,12]]}},"keywords":{}}],["criteria",{"_index":2887,"title":{},"content":{"427":{"position":[[1017,9]]},"430":{"position":[[258,9]]}},"keywords":{}}],["critic",{"_index":1238,"title":{},"content":{"184":{"position":[[23,8]]},"280":{"position":[[442,8]]},"302":{"position":[[617,8]]},"375":{"position":[[410,8]]},"399":{"position":[[453,8]]},"412":{"position":[[278,7],[383,11]]},"496":{"position":[[134,8]]},"497":{"position":[[793,8]]},"527":{"position":[[23,8]]},"556":{"position":[[1078,9]]},"802":{"position":[[863,8]]}},"keywords":{}}],["critical.serv",{"_index":3662,"title":{},"content":{"621":{"position":[[180,15]]}},"keywords":{}}],["crm",{"_index":2138,"title":{},"content":{"375":{"position":[[201,5]]},"411":{"position":[[901,3]]},"1009":{"position":[[328,4]]}},"keywords":{}}],["cross",{"_index":738,"title":{"254":{"position":[[3,5]]}},"content":{"47":{"position":[[858,5]]},"174":{"position":[[2579,5],[2781,5]]},"207":{"position":[[319,5]]},"269":{"position":[[139,5]]},"384":{"position":[[27,5]]},"445":{"position":[[2132,5],[2189,5]]},"446":{"position":[[1085,5],[1221,5]]},"447":{"position":[[440,5]]},"535":{"position":[[894,5]]},"548":{"position":[[366,5]]},"595":{"position":[[969,5]]},"608":{"position":[[364,5]]},"852":{"position":[[92,5],[137,6]]},"1072":{"position":[[1198,5],[1285,5],[1538,5]]},"1211":{"position":[[467,5]]}},"keywords":{}}],["crossfetch",{"_index":4861,"title":{},"content":{"852":{"position":[[121,10],[318,11]]}},"keywords":{}}],["crown",{"_index":4110,"title":{},"content":{"741":{"position":[[47,5]]},"742":{"position":[[64,5]]}},"keywords":{}}],["crucial",{"_index":924,"title":{},"content":{"65":{"position":[[1206,7]]},"68":{"position":[[220,8]]},"95":{"position":[[15,7]]},"218":{"position":[[15,7]]},"228":{"position":[[155,8]]},"270":{"position":[[294,8]]},"291":{"position":[[346,7]]},"301":{"position":[[516,7]]},"309":{"position":[[26,7]]},"343":{"position":[[72,7]]},"534":{"position":[[56,7]]},"564":{"position":[[1045,7]]},"569":{"position":[[227,7]]},"587":{"position":[[120,7]]},"594":{"position":[[54,7]]},"641":{"position":[[38,7]]},"723":{"position":[[2625,7]]}},"keywords":{}}],["crud",{"_index":784,"title":{"52":{"position":[[0,4]]},"539":{"position":[[0,4]]},"599":{"position":[[0,4]]}},"content":{"52":{"position":[[56,4]]},"57":{"position":[[15,4]]},"181":{"position":[[162,4]]},"539":{"position":[[56,4]]},"599":{"position":[[56,4]]},"1123":{"position":[[521,4]]}},"keywords":{}}],["crypto",{"_index":1121,"title":{"718":{"position":[[10,6]]}},"content":{"139":{"position":[[72,6]]},"291":{"position":[[459,6],[485,6]]},"315":{"position":[[31,6],[93,6],[143,6],[239,6]]},"482":{"position":[[368,6],[437,6]]},"483":{"position":[[1076,6]]},"551":{"position":[[448,6],[469,6]]},"553":{"position":[[108,6]]},"554":{"position":[[120,6],[181,6],[593,6]]},"556":{"position":[[1119,6]]},"564":{"position":[[304,6]]},"638":{"position":[[298,6]]},"717":{"position":[[69,6],[128,6],[174,6],[220,6],[327,6],[626,6]]},"718":{"position":[[36,8],[200,8]]},"1184":{"position":[[625,8]]},"1237":{"position":[[722,6]]}},"keywords":{}}],["crypto.subtl",{"_index":5402,"title":{},"content":{"968":{"position":[[123,13]]}},"keywords":{}}],["crypto.subtle.digest",{"_index":4146,"title":{},"content":{"749":{"position":[[1091,20]]},"968":{"position":[[793,21]]}},"keywords":{}}],["crypto.subtle.digest('sha",{"_index":5400,"title":{},"content":{"968":{"position":[[27,25]]}},"keywords":{}}],["cryptoj",{"_index":3343,"title":{},"content":{"553":{"position":[[61,8]]},"554":{"position":[[38,8],[287,8]]}},"keywords":{}}],["css",{"_index":1627,"title":{},"content":{"269":{"position":[[83,4]]}},"keywords":{}}],["ctr",{"_index":4033,"title":{},"content":{"718":{"position":[[512,4],[557,5]]}},"keywords":{}}],["cumbersom",{"_index":729,"title":{},"content":{"47":{"position":[[481,10]]},"784":{"position":[[410,10]]},"836":{"position":[[2192,11]]}},"keywords":{}}],["cumbersome.complex",{"_index":3295,"title":{},"content":{"535":{"position":[[236,22]]},"595":{"position":[[249,22]]}},"keywords":{}}],["cumul",{"_index":4669,"title":{},"content":{"802":{"position":[[221,12]]}},"keywords":{}}],["curb",{"_index":1700,"title":{},"content":{"298":{"position":[[24,4]]}},"keywords":{}}],["current",{"_index":1268,"title":{"300":{"position":[[14,7]]}},"content":{"188":{"position":[[2109,9]]},"365":{"position":[[341,7]]},"404":{"position":[[265,7]]},"411":{"position":[[4895,7]]},"455":{"position":[[297,7]]},"470":{"position":[[159,9]]},"610":{"position":[[1645,9]]},"613":{"position":[[561,9]]},"650":{"position":[[7,9]]},"653":{"position":[[1301,7]]},"681":{"position":[[59,7]]},"698":{"position":[[2396,7],[2474,7],[2692,7]]},"711":{"position":[[847,9]]},"717":{"position":[[6,9]]},"723":{"position":[[1255,7]]},"736":{"position":[[46,7],[228,7],[295,9]]},"781":{"position":[[392,9]]},"799":{"position":[[296,7]]},"829":{"position":[[3182,7]]},"838":{"position":[[130,7]]},"973":{"position":[[12,7]]},"988":{"position":[[1310,7]]},"1007":{"position":[[346,9]]},"1009":{"position":[[414,9]]},"1039":{"position":[[67,7]]},"1042":{"position":[[63,7]]},"1044":{"position":[[211,7]]},"1046":{"position":[[55,7]]},"1050":{"position":[[21,7]]},"1058":{"position":[[43,7]]},"1115":{"position":[[108,7],[266,7]]},"1133":{"position":[[297,9]]},"1188":{"position":[[61,9],[102,9]]},"1198":{"position":[[2033,9]]},"1304":{"position":[[205,7]]},"1305":{"position":[[907,9],[1038,9]]},"1307":{"position":[[110,9]]},"1316":{"position":[[3161,7]]}},"keywords":{}}],["cursor",{"_index":6045,"title":{"1294":{"position":[[8,7]]}},"content":{"1138":{"position":[[409,7]]},"1143":{"position":[[357,6]]},"1294":{"position":[[377,6],[1025,6],[1862,6],[2130,7]]},"1295":{"position":[[885,6]]},"1296":{"position":[[377,6],[1250,6],[1680,6]]}},"keywords":{}}],["custom",{"_index":241,"title":{"144":{"position":[[4,6]]},"209":{"position":[[30,6]]},"747":{"position":[[6,6]]},"818":{"position":[[8,6]]},"822":{"position":[[16,6]]},"826":{"position":[[10,6]]},"874":{"position":[[24,6]]},"882":{"position":[[0,6]]},"894":{"position":[[0,10]]},"1002":{"position":[[10,6]]},"1212":{"position":[[11,6]]},"1220":{"position":[[8,6]]},"1228":{"position":[[11,6]]},"1266":{"position":[[11,6]]},"1289":{"position":[[0,6]]},"1290":{"position":[[4,6]]},"1291":{"position":[[9,6]]},"1296":{"position":[[0,6]]},"1309":{"position":[[0,6]]}},"content":{"14":{"position":[[1139,6]]},"18":{"position":[[343,6]]},"39":{"position":[[537,13]]},"43":{"position":[[219,6]]},"55":{"position":[[79,6]]},"144":{"position":[[22,6]]},"147":{"position":[[212,9]]},"168":{"position":[[212,6]]},"188":{"position":[[318,6]]},"196":{"position":[[133,6]]},"202":{"position":[[278,6]]},"205":{"position":[[136,6]]},"209":{"position":[[603,6],[691,7]]},"249":{"position":[[208,6],[237,6]]},"250":{"position":[[186,6]]},"255":{"position":[[332,6],[943,6]]},"260":{"position":[[44,6]]},"287":{"position":[[180,14]]},"312":{"position":[[179,6]]},"344":{"position":[[146,6]]},"381":{"position":[[390,6]]},"383":{"position":[[425,6]]},"411":{"position":[[942,8],[1000,8],[1097,6]]},"412":{"position":[[1772,6],[2378,6],[2423,6],[4855,6],[5333,6],[12954,6]]},"419":{"position":[[1128,6]]},"469":{"position":[[241,6]]},"489":{"position":[[288,7]]},"522":{"position":[[738,6]]},"525":{"position":[[613,6]]},"551":{"position":[[359,6]]},"580":{"position":[[197,6]]},"602":{"position":[[78,6]]},"616":{"position":[[1098,6]]},"632":{"position":[[829,6]]},"635":{"position":[[286,6]]},"680":{"position":[[233,6]]},"685":{"position":[[189,6],[459,6]]},"686":{"position":[[445,6]]},"691":{"position":[[142,6]]},"701":{"position":[[1123,6]]},"747":{"position":[[41,6]]},"749":{"position":[[6608,6]]},"765":{"position":[[246,6]]},"770":{"position":[[232,6]]},"793":{"position":[[1055,6]]},"802":{"position":[[451,6]]},"815":{"position":[[307,6]]},"818":{"position":[[314,6],[380,6]]},"825":{"position":[[56,6]]},"826":{"position":[[173,6],[302,6]]},"831":{"position":[[506,6]]},"836":{"position":[[1999,6],[2090,6]]},"837":{"position":[[1448,6]]},"839":{"position":[[622,6]]},"840":{"position":[[559,6]]},"846":{"position":[[427,6],[744,6],[1170,6]]},"848":{"position":[[127,6],[577,6],[807,6],[950,6],[1442,6]]},"854":{"position":[[1376,6]]},"898":{"position":[[3621,9]]},"904":{"position":[[2458,6]]},"906":{"position":[[1061,6]]},"907":{"position":[[158,6]]},"908":{"position":[[189,6]]},"913":{"position":[[108,6]]},"934":{"position":[[515,6],[702,6],[780,6]]},"960":{"position":[[633,6]]},"987":{"position":[[993,6],[1110,6]]},"988":{"position":[[1662,6],[1988,6],[3108,6]]},"1002":{"position":[[134,6],[616,6],[1270,6]]},"1079":{"position":[[430,6]]},"1085":{"position":[[2188,6]]},"1117":{"position":[[100,6]]},"1118":{"position":[[49,6]]},"1143":{"position":[[367,6]]},"1149":{"position":[[277,6]]},"1177":{"position":[[5,6]]},"1204":{"position":[[5,6]]},"1220":{"position":[[45,6]]},"1228":{"position":[[12,6]]},"1229":{"position":[[165,6]]},"1266":{"position":[[29,6],[546,6],[576,6]]},"1268":{"position":[[377,6]]},"1289":{"position":[[46,6]]},"1296":{"position":[[499,6],[551,6],[848,6],[1056,6],[1116,8],[1195,6],[1440,6],[1610,6],[1731,6],[1862,6]]},"1309":{"position":[[423,6],[779,6],[1064,6],[1283,6]]},"1315":{"position":[[201,9],[257,8],[303,8],[434,8],[887,9],[1432,8]]},"1318":{"position":[[378,9],[423,10],[444,8],[612,8]]}},"keywords":{}}],["custom.work",{"_index":6330,"title":{},"content":{"1268":{"position":[[502,15]]}},"keywords":{}}],["custom.worker.t",{"_index":6328,"title":{},"content":{"1268":{"position":[[339,16],[552,16]]}},"keywords":{}}],["customer.city_id",{"_index":6532,"title":{},"content":{"1315":{"position":[[446,16]]}},"keywords":{}}],["customerdocu",{"_index":6536,"title":{},"content":{"1315":{"position":[[639,17]]}},"keywords":{}}],["customiz",{"_index":1596,"title":{},"content":{"263":{"position":[[178,12]]},"688":{"position":[[819,13]]}},"keywords":{}}],["customrequest",{"_index":6259,"title":{},"content":{"1220":{"position":[[431,15]]}},"keywords":{}}],["customrequesthandl",{"_index":6257,"title":{},"content":{"1220":{"position":[[131,20]]}},"keywords":{}}],["customrequesthandler(msg",{"_index":6258,"title":{},"content":{"1220":{"position":[[275,26]]}},"keywords":{}}],["cut",{"_index":1685,"title":{},"content":{"289":{"position":[[1624,7]]},"613":{"position":[[19,7]]},"902":{"position":[[860,3]]}},"keywords":{}}],["cvc",{"_index":5841,"title":{},"content":{"1080":{"position":[[684,4]]}},"keywords":{}}],["cycl",{"_index":2088,"title":{},"content":{"362":{"position":[[242,6]]},"611":{"position":[[232,7]]},"653":{"position":[[1076,5]]},"656":{"position":[[39,6],[476,6]]},"821":{"position":[[913,6]]},"989":{"position":[[223,7]]},"993":{"position":[[646,5]]},"994":{"position":[[107,5]]},"995":{"position":[[138,5]]},"996":{"position":[[19,5]]}},"keywords":{}}],["d",{"_index":3642,"title":{},"content":{"617":{"position":[[988,1]]},"982":{"position":[[218,1],[252,1],[473,1],[585,1]]},"987":{"position":[[621,1],[682,1],[722,1]]},"988":{"position":[[3377,1],[3385,1],[4706,1],[4714,2]]}},"keywords":{}}],["d.get('tim",{"_index":5520,"title":{},"content":{"995":{"position":[[1960,13]]}},"keywords":{}}],["d.point",{"_index":1137,"title":{},"content":{"143":{"position":[[561,10],[746,10]]}},"keywords":{}}],["damag",{"_index":5810,"title":{},"content":{"1074":{"position":[[565,6]]}},"keywords":{}}],["danger",{"_index":2707,"title":{},"content":{"412":{"position":[[6220,9]]},"670":{"position":[[232,10]]},"702":{"position":[[302,10]]},"749":{"position":[[3115,9]]},"995":{"position":[[776,9]]},"1177":{"position":[[77,9]]},"1204":{"position":[[78,9]]}},"keywords":{}}],["daniel",{"_index":2650,"title":{},"content":{"412":{"position":[[263,8]]}},"keywords":{}}],["dart",{"_index":1244,"title":{},"content":{"188":{"position":[[233,4],[2071,4],[2155,4],[2424,4]]}},"keywords":{}}],["dashboard",{"_index":1620,"title":{},"content":{"267":{"position":[[861,11],[950,11],[1550,11]]},"301":{"position":[[291,10]]},"375":{"position":[[479,11]]},"420":{"position":[[1424,9]]},"491":{"position":[[1846,11]]}},"keywords":{}}],["data",{"_index":6,"title":{"65":{"position":[[10,4]]},"86":{"position":[[28,4]]},"88":{"position":[[0,4]]},"90":{"position":[[53,5]]},"95":{"position":[[12,4]]},"97":{"position":[[0,4]]},"121":{"position":[[9,4]]},"123":{"position":[[0,4]]},"132":{"position":[[14,4]]},"139":{"position":[[20,5]]},"146":{"position":[[10,4]]},"147":{"position":[[0,4]]},"150":{"position":[[10,4],[63,4]]},"152":{"position":[[14,4]]},"153":{"position":[[22,4]]},"156":{"position":[[9,4]]},"158":{"position":[[0,4]]},"161":{"position":[[15,4]]},"163":{"position":[[14,4]]},"167":{"position":[[20,5]]},"182":{"position":[[9,4]]},"184":{"position":[[0,4]]},"190":{"position":[[14,4]]},"195":{"position":[[20,5]]},"213":{"position":[[45,4]]},"214":{"position":[[28,4]]},"218":{"position":[[30,5]]},"221":{"position":[[42,5]]},"270":{"position":[[21,4]]},"288":{"position":[[15,4]]},"294":{"position":[[34,5]]},"305":{"position":[[26,4]]},"311":{"position":[[12,4]]},"326":{"position":[[9,4]]},"328":{"position":[[0,4]]},"337":{"position":[[14,4]]},"343":{"position":[[20,5]]},"367":{"position":[[22,4]]},"381":{"position":[[9,4]]},"403":{"position":[[10,4]]},"417":{"position":[[0,4]]},"426":{"position":[[16,4]]},"476":{"position":[[13,4]]},"506":{"position":[[20,5]]},"515":{"position":[[9,4]]},"517":{"position":[[0,4]]},"525":{"position":[[14,4]]},"555":{"position":[[36,5]]},"559":{"position":[[16,4]]},"582":{"position":[[14,4]]},"586":{"position":[[20,5]]},"616":{"position":[[8,4]]},"634":{"position":[[23,4]]},"664":{"position":[[0,4]]},"705":{"position":[[23,5]]},"714":{"position":[[19,5]]},"750":{"position":[[17,4]]},"782":{"position":[[12,4]]},"787":{"position":[[7,4]]},"800":{"position":[[29,4]]},"900":{"position":[[40,4]]},"912":{"position":[[19,4]]},"986":{"position":[[0,4]]},"1022":{"position":[[18,4]]},"1024":{"position":[[18,4]]},"1115":{"position":[[8,4]]},"1116":{"position":[[10,5]]},"1184":{"position":[[29,5]]},"1237":{"position":[[13,4]]}},"content":{"1":{"position":[[67,4],[146,4]]},"3":{"position":[[34,4]]},"5":{"position":[[25,4]]},"6":{"position":[[55,4],[653,4]]},"7":{"position":[[49,4],[488,4]]},"11":{"position":[[1032,5]]},"14":{"position":[[496,4],[752,4]]},"16":{"position":[[190,4]]},"17":{"position":[[254,5],[453,5]]},"19":{"position":[[142,4],[1071,4]]},"20":{"position":[[60,4],[203,4]]},"24":{"position":[[292,4]]},"26":{"position":[[147,4]]},"28":{"position":[[158,5],[419,4]]},"29":{"position":[[147,4]]},"30":{"position":[[146,4]]},"31":{"position":[[112,4],[180,4]]},"34":{"position":[[199,4]]},"35":{"position":[[327,4]]},"37":{"position":[[49,4]]},"38":{"position":[[490,5],[507,4]]},"39":{"position":[[37,4],[318,4]]},"40":{"position":[[47,4],[172,4],[765,4]]},"41":{"position":[[186,4]]},"45":{"position":[[96,5],[158,4]]},"46":{"position":[[205,4],[271,4],[449,4],[570,4]]},"47":{"position":[[755,4],[905,4],[1146,4]]},"50":{"position":[[128,4]]},"54":{"position":[[34,4]]},"57":{"position":[[30,4],[89,4],[150,4],[285,4],[358,4]]},"58":{"position":[[277,4]]},"63":{"position":[[65,4],[219,4]]},"64":{"position":[[93,4]]},"65":{"position":[[48,4],[158,4],[285,4],[498,4],[808,4],[885,4],[1178,5],[1250,4],[1329,4],[1542,4],[1606,5],[1723,4],[1820,4]]},"66":{"position":[[301,4],[458,4],[558,4],[640,4]]},"68":{"position":[[47,4]]},"73":{"position":[[140,4]]},"75":{"position":[[99,4]]},"77":{"position":[[107,4]]},"78":{"position":[[48,4]]},"80":{"position":[[69,4],[130,4]]},"81":{"position":[[11,4]]},"82":{"position":[[104,4]]},"86":{"position":[[50,4]]},"87":{"position":[[101,4]]},"88":{"position":[[9,4]]},"89":{"position":[[164,4]]},"90":{"position":[[120,4],[145,4],[233,5]]},"92":{"position":[[195,4]]},"93":{"position":[[9,4],[96,4]]},"95":{"position":[[33,4],[161,4],[245,5]]},"97":{"position":[[6,4],[152,5],[168,4]]},"99":{"position":[[122,4],[239,4],[369,4]]},"103":{"position":[[87,4],[161,4]]},"106":{"position":[[134,4]]},"108":{"position":[[119,4]]},"109":{"position":[[57,4],[186,4]]},"110":{"position":[[51,4],[166,4]]},"111":{"position":[[197,4]]},"112":{"position":[[248,4]]},"113":{"position":[[155,4]]},"114":{"position":[[528,4]]},"117":{"position":[[128,5],[185,5]]},"120":{"position":[[191,4],[260,4],[290,4]]},"121":{"position":[[48,4],[143,4],[204,4]]},"122":{"position":[[164,4]]},"123":{"position":[[36,4],[113,4],[239,4]]},"124":{"position":[[168,4],[276,4]]},"125":{"position":[[173,4]]},"126":{"position":[[343,4]]},"129":{"position":[[69,4],[99,4]]},"130":{"position":[[321,4]]},"131":{"position":[[54,5],[580,5],[887,4]]},"132":{"position":[[1,4],[150,4],[203,4]]},"133":{"position":[[158,4]]},"134":{"position":[[84,4]]},"135":{"position":[[29,4],[147,4]]},"136":{"position":[[100,4]]},"138":{"position":[[127,4]]},"139":{"position":[[53,4],[127,4],[200,5]]},"140":{"position":[[60,4],[159,4]]},"141":{"position":[[294,5]]},"146":{"position":[[48,4],[232,4]]},"147":{"position":[[19,4]]},"148":{"position":[[82,4],[138,4]]},"151":{"position":[[187,4]]},"152":{"position":[[145,4],[204,4],[241,4],[269,4]]},"153":{"position":[[26,4],[54,4],[247,4],[370,4]]},"155":{"position":[[35,4],[122,5],[167,4],[268,4]]},"156":{"position":[[54,4],[116,4],[263,4]]},"157":{"position":[[156,4],[340,4]]},"158":{"position":[[32,4],[145,4],[205,4]]},"159":{"position":[[102,5],[170,4],[237,4],[358,5]]},"160":{"position":[[133,4]]},"161":{"position":[[18,4],[213,4],[371,4]]},"162":{"position":[[613,4]]},"164":{"position":[[148,4],[344,4]]},"165":{"position":[[89,4],[270,4]]},"166":{"position":[[136,4]]},"167":{"position":[[20,4],[91,5],[115,4]]},"168":{"position":[[91,4]]},"169":{"position":[[199,4]]},"170":{"position":[[30,4],[188,4],[323,4]]},"173":{"position":[[75,4],[144,5],[380,4],[706,5],[828,4],[896,5],[922,4],[1011,4],[1151,4],[1237,4],[1418,4],[1549,4],[1659,4],[1720,4],[2780,4],[2878,4],[2924,4],[3207,4]]},"174":{"position":[[330,4],[509,4],[1109,4],[1913,4],[2274,4]]},"175":{"position":[[541,4]]},"178":{"position":[[136,5],[195,4],[286,5]]},"181":{"position":[[287,4]]},"182":{"position":[[50,4],[187,4]]},"183":{"position":[[160,4],[324,4]]},"184":{"position":[[1,4],[154,4],[280,4]]},"185":{"position":[[116,4],[212,5]]},"186":{"position":[[291,4],[319,4]]},"188":{"position":[[256,4],[401,5]]},"189":{"position":[[75,4],[250,4],[443,4],[526,4],[636,4]]},"190":{"position":[[64,4]]},"191":{"position":[[44,4],[238,4]]},"192":{"position":[[75,4],[360,4]]},"194":{"position":[[201,4]]},"195":{"position":[[11,4],[72,5],[96,4]]},"196":{"position":[[58,4],[246,4]]},"198":{"position":[[124,4],[159,4],[396,4]]},"201":{"position":[[86,5],[279,4]]},"202":{"position":[[139,4]]},"203":{"position":[[46,4],[367,4]]},"204":{"position":[[353,5]]},"205":{"position":[[103,4],[279,4]]},"206":{"position":[[121,5]]},"208":{"position":[[44,4]]},"210":{"position":[[130,4]]},"212":{"position":[[674,4]]},"215":{"position":[[32,4],[157,4]]},"216":{"position":[[95,4],[310,4]]},"217":{"position":[[9,4],[87,4],[153,4],[367,4]]},"218":{"position":[[33,4],[113,5],[255,4]]},"219":{"position":[[354,4]]},"220":{"position":[[313,4]]},"221":{"position":[[64,4],[89,4],[218,4]]},"223":{"position":[[278,4]]},"226":{"position":[[76,4],[188,4],[260,4],[289,4]]},"229":{"position":[[143,4]]},"231":{"position":[[67,4],[248,4]]},"233":{"position":[[161,5]]},"236":{"position":[[219,4],[339,4]]},"237":{"position":[[50,4],[154,4],[264,4]]},"240":{"position":[[35,4],[288,4]]},"241":{"position":[[443,4],[558,4],[716,4]]},"248":{"position":[[97,4]]},"249":{"position":[[91,4],[380,4]]},"250":{"position":[[137,4],[316,4]]},"251":{"position":[[173,4]]},"252":{"position":[[123,4]]},"253":{"position":[[182,4]]},"254":{"position":[[313,4]]},"255":{"position":[[1770,4]]},"261":{"position":[[174,4],[1101,4],[1190,4]]},"262":{"position":[[384,5]]},"263":{"position":[[94,4],[349,4]]},"265":{"position":[[160,4],[430,4],[704,4],[929,4]]},"266":{"position":[[160,4],[312,4],[487,4]]},"267":{"position":[[532,4],[992,4]]},"270":{"position":[[22,4],[263,4]]},"271":{"position":[[53,4]]},"273":{"position":[[109,4]]},"274":{"position":[[93,4],[228,5],[301,5]]},"275":{"position":[[166,4]]},"276":{"position":[[82,5],[249,5],[325,4]]},"277":{"position":[[137,4]]},"279":{"position":[[77,4],[121,4],[213,5],[497,4]]},"280":{"position":[[173,4],[335,4]]},"281":{"position":[[237,4]]},"282":{"position":[[380,4]]},"283":{"position":[[94,4],[246,4],[464,4]]},"284":{"position":[[95,4]]},"285":{"position":[[326,4]]},"286":{"position":[[421,4]]},"287":{"position":[[223,4],[537,4],[775,4],[868,4],[955,4],[978,4],[1020,4]]},"288":{"position":[[11,4],[121,4],[330,4]]},"289":{"position":[[99,4],[186,4],[296,4],[381,4],[552,4],[670,4],[864,4],[967,4],[1079,4],[1279,4],[1649,4],[1934,4]]},"290":{"position":[[37,4],[223,4]]},"291":{"position":[[93,5],[115,4],[327,4]]},"292":{"position":[[173,4],[350,4]]},"293":{"position":[[10,4],[213,4],[343,4],[416,4]]},"294":{"position":[[68,4],[106,4],[318,4]]},"295":{"position":[[359,4]]},"299":{"position":[[990,4],[1512,4]]},"300":{"position":[[604,4]]},"301":{"position":[[89,4],[188,4]]},"302":{"position":[[185,5],[315,4],[555,5],[1003,4]]},"303":{"position":[[163,4],[273,5],[1004,4],[1138,5],[1172,4],[1397,4]]},"305":{"position":[[11,4],[89,4],[402,5],[510,4],[602,5]]},"306":{"position":[[171,4]]},"309":{"position":[[147,4]]},"310":{"position":[[20,4],[131,4],[170,4],[233,4]]},"311":{"position":[[21,4]]},"315":{"position":[[17,5],[1064,4]]},"316":{"position":[[521,4]]},"317":{"position":[[86,4]]},"318":{"position":[[89,4],[656,5]]},"320":{"position":[[364,4]]},"321":{"position":[[9,4],[76,4],[143,4],[249,4],[497,4]]},"322":{"position":[[135,4]]},"323":{"position":[[10,4],[68,4],[251,4],[602,4]]},"325":{"position":[[50,4]]},"326":{"position":[[70,4],[214,4]]},"327":{"position":[[156,4]]},"328":{"position":[[25,4],[245,4]]},"329":{"position":[[71,4]]},"331":{"position":[[85,5]]},"335":{"position":[[49,4],[850,4]]},"336":{"position":[[356,4]]},"338":{"position":[[81,4]]},"339":{"position":[[190,4]]},"340":{"position":[[12,4],[179,5]]},"342":{"position":[[80,4]]},"343":{"position":[[36,4]]},"344":{"position":[[34,4],[172,4]]},"345":{"position":[[9,4]]},"346":{"position":[[229,5],[312,4],[771,4],[793,4]]},"350":{"position":[[11,4],[327,5]]},"351":{"position":[[176,4]]},"352":{"position":[[63,5],[210,5]]},"353":{"position":[[284,4]]},"354":{"position":[[100,4],[228,4],[589,4],[1618,5]]},"356":{"position":[[40,5],[419,4],[762,4]]},"357":{"position":[[33,5]]},"358":{"position":[[601,4],[829,5]]},"360":{"position":[[373,4],[799,4]]},"361":{"position":[[115,4],[1066,4]]},"362":{"position":[[91,4],[483,4]]},"364":{"position":[[104,4],[190,4],[305,4],[472,5],[541,4],[587,4],[671,4],[820,4]]},"365":{"position":[[210,4],[242,4],[308,4],[403,4],[581,4],[613,4],[760,4],[1169,4],[1282,4],[1330,4],[1456,4]]},"366":{"position":[[161,5],[215,4],[435,4]]},"367":{"position":[[107,4],[165,4],[366,4],[525,4]]},"369":{"position":[[103,5],[190,5],[293,4],[702,4],[860,4],[908,4],[983,5],[1064,4],[1173,4],[1288,4]]},"370":{"position":[[187,4]]},"371":{"position":[[106,5],[275,4]]},"372":{"position":[[89,5],[293,4],[352,4]]},"373":{"position":[[455,4],[575,4],[744,4]]},"375":{"position":[[245,5],[474,4],[661,4]]},"376":{"position":[[267,4],[566,4]]},"377":{"position":[[9,4],[381,4]]},"378":{"position":[[171,4]]},"379":{"position":[[91,4]]},"380":{"position":[[173,5]]},"382":{"position":[[33,4],[127,4],[208,4],[380,4]]},"383":{"position":[[135,4]]},"384":{"position":[[468,4]]},"385":{"position":[[22,4]]},"386":{"position":[[235,4]]},"390":{"position":[[80,4],[209,5],[444,4],[904,4],[1570,4]]},"391":{"position":[[1131,5]]},"392":{"position":[[110,4],[909,5],[1248,4],[2973,4]]},"395":{"position":[[304,4]]},"396":{"position":[[141,4],[986,4]]},"398":{"position":[[3530,5]]},"402":{"position":[[1561,4],[2520,4]]},"403":{"position":[[133,4],[413,5]]},"407":{"position":[[51,4],[187,4],[500,4],[646,5],[775,5],[1171,5]]},"408":{"position":[[412,5],[934,5],[1909,4],[2117,5],[2290,4],[2531,5],[2801,4],[3133,4],[3405,4],[3856,4],[5527,4]]},"410":{"position":[[354,4],[521,4],[648,5],[738,4],[800,4],[863,4],[1369,4],[1499,4],[2116,4]]},"411":{"position":[[91,4],[454,4],[804,5],[863,4],[932,4],[1040,4],[1366,4],[1429,5],[2761,4],[2805,4],[2874,4],[3251,4],[3733,4],[4129,5],[4343,4],[4651,4],[5005,4],[5052,5]]},"412":{"position":[[506,4],[528,4],[676,4],[1712,4],[2726,4],[3039,5],[3707,4],[4028,4],[5730,4],[5924,4],[6007,5],[6058,4],[6651,4],[6665,4],[6712,4],[6952,4],[7044,4],[7073,4],[7186,4],[7382,4],[7466,4],[7515,4],[7604,4],[7698,4],[7803,4],[7907,4],[8017,5],[8167,4],[8280,4],[8430,4],[8630,5],[8670,4],[8800,4],[10180,4],[11063,4],[11573,4],[11724,4],[12111,4],[12192,4],[12276,4],[12355,4],[12364,4],[12738,4],[13125,4],[13379,4],[13413,4],[13796,4],[14089,4],[14373,4],[14973,4],[15173,4]]},"414":{"position":[[421,5]]},"415":{"position":[[22,4]]},"416":{"position":[[50,4],[366,4]]},"417":{"position":[[44,4],[137,4],[264,4],[432,5]]},"418":{"position":[[338,4]]},"419":{"position":[[478,4],[806,4],[1004,4],[1907,4]]},"421":{"position":[[449,4],[644,4]]},"424":{"position":[[114,4],[256,4],[273,4]]},"425":{"position":[[257,4],[336,4],[424,4],[499,4]]},"426":{"position":[[98,4],[221,4]]},"427":{"position":[[407,4],[565,4],[615,4],[668,4],[715,4],[994,4],[1088,4]]},"429":{"position":[[328,4],[403,4]]},"430":{"position":[[164,4],[235,4],[344,4],[585,4],[906,4],[997,4],[1044,4],[1144,5]]},"432":{"position":[[70,4],[1371,4]]},"434":{"position":[[47,4],[159,5],[374,4]]},"435":{"position":[[64,4],[373,4]]},"436":{"position":[[20,4],[142,4],[278,4]]},"437":{"position":[[247,4]]},"438":{"position":[[362,4]]},"439":{"position":[[154,5],[187,4],[473,4]]},"440":{"position":[[155,4],[353,4]]},"441":{"position":[[96,4],[345,4]]},"442":{"position":[[30,4]]},"444":{"position":[[70,4],[551,4],[685,5],[897,4]]},"445":{"position":[[311,4],[555,4],[700,4],[772,4],[800,4],[860,4],[1384,4],[1503,5]]},"446":{"position":[[679,4],[761,4],[846,4],[912,4],[962,4]]},"447":{"position":[[146,4],[303,4]]},"450":{"position":[[92,4],[444,4]]},"451":{"position":[[338,4],[436,4],[781,4],[855,4]]},"452":{"position":[[152,5]]},"453":{"position":[[157,4],[220,4],[442,4],[754,4]]},"454":{"position":[[860,4],[1027,4]]},"455":{"position":[[183,4]]},"457":{"position":[[16,4],[465,5]]},"458":{"position":[[333,4]]},"459":{"position":[[51,4],[103,4],[1195,5]]},"460":{"position":[[20,4],[667,4]]},"461":{"position":[[38,4],[1351,4]]},"463":{"position":[[26,5],[616,4],[917,4],[1014,4],[1109,4],[1256,4]]},"464":{"position":[[86,4],[161,4],[622,4],[802,4],[862,4],[971,4]]},"466":{"position":[[298,4],[493,4]]},"467":{"position":[[592,5]]},"468":{"position":[[290,5]]},"469":{"position":[[925,4],[1060,4]]},"470":{"position":[[141,4],[376,4]]},"473":{"position":[[46,4]]},"475":{"position":[[25,4],[145,4]]},"476":{"position":[[68,4]]},"477":{"position":[[158,4]]},"478":{"position":[[110,4]]},"479":{"position":[[278,4]]},"480":{"position":[[976,4]]},"481":{"position":[[120,4]]},"482":{"position":[[7,4],[828,6]]},"483":{"position":[[107,4],[441,5]]},"489":{"position":[[615,4],[751,4]]},"490":{"position":[[250,4]]},"491":{"position":[[182,4],[475,5],[804,4]]},"494":{"position":[[259,4],[620,5]]},"495":{"position":[[155,5],[755,4]]},"496":{"position":[[115,5],[143,4]]},"501":{"position":[[37,4],[194,4]]},"502":{"position":[[120,4],[338,4],[500,4],[542,4],[775,4],[1210,4],[1383,4]]},"503":{"position":[[221,4]]},"504":{"position":[[238,4],[372,4],[408,4],[476,4],[544,4],[614,4],[820,4],[948,4],[1011,4],[1105,4],[1213,4],[1351,4]]},"506":{"position":[[54,5],[70,4],[245,5]]},"507":{"position":[[125,4]]},"508":{"position":[[163,4]]},"509":{"position":[[59,4]]},"510":{"position":[[407,4]]},"513":{"position":[[98,4],[280,4],[334,4]]},"514":{"position":[[228,4],[360,4]]},"515":{"position":[[61,4],[136,4],[264,4],[318,4]]},"516":{"position":[[125,4],[363,4]]},"517":{"position":[[1,4],[146,4]]},"518":{"position":[[48,4],[234,4],[375,5]]},"519":{"position":[[157,4],[240,4]]},"520":{"position":[[240,4],[492,5]]},"521":{"position":[[537,4]]},"523":{"position":[[68,4],[182,4]]},"524":{"position":[[354,4],[515,4],[612,4]]},"525":{"position":[[270,4],[451,4]]},"526":{"position":[[21,4],[77,5],[97,4],[265,4]]},"527":{"position":[[204,4]]},"529":{"position":[[84,4]]},"530":{"position":[[58,4],[365,4],[535,4]]},"533":{"position":[[76,4],[258,4]]},"534":{"position":[[212,4],[323,4],[375,4],[461,4],[584,4]]},"535":{"position":[[1023,4]]},"540":{"position":[[35,4]]},"541":{"position":[[157,4],[849,4]]},"542":{"position":[[986,4]]},"544":{"position":[[61,4],[112,4],[243,4],[265,4],[303,4]]},"545":{"position":[[202,4]]},"550":{"position":[[109,5],[191,4],[335,4]]},"551":{"position":[[53,5],[244,4],[491,4]]},"554":{"position":[[1312,4]]},"555":{"position":[[50,4],[252,4],[372,5],[401,4],[609,5],[625,4],[684,5],[992,4]]},"556":{"position":[[961,5],[1216,4],[1666,4],[1695,4],[1796,4]]},"557":{"position":[[508,4]]},"559":{"position":[[178,5],[1037,5],[1146,4],[1381,5],[1637,5],[1649,4]]},"560":{"position":[[262,4],[324,4]]},"561":{"position":[[6,4]]},"562":{"position":[[872,4],[1273,4],[1670,4]]},"564":{"position":[[72,4],[965,4],[1120,4]]},"565":{"position":[[40,4]]},"566":{"position":[[454,4],[605,4],[642,4],[705,5],[764,5],[1297,4]]},"567":{"position":[[700,4],[1001,4],[1195,4]]},"569":{"position":[[729,5]]},"570":{"position":[[285,4],[477,4],[690,4]]},"571":{"position":[[158,4],[176,4],[246,4],[327,4],[1534,4]]},"574":{"position":[[300,4],[479,4],[504,4],[618,4]]},"575":{"position":[[304,4],[348,4],[461,4]]},"576":{"position":[[134,4],[371,4],[418,4]]},"580":{"position":[[89,4]]},"581":{"position":[[111,4],[360,4]]},"582":{"position":[[43,4]]},"584":{"position":[[144,4]]},"585":{"position":[[25,5]]},"586":{"position":[[84,5],[95,4]]},"589":{"position":[[72,4]]},"590":{"position":[[329,4],[625,4],[902,4]]},"593":{"position":[[76,4],[258,4]]},"594":{"position":[[210,4],[321,4],[373,4],[459,4],[582,4]]},"595":{"position":[[392,4],[1100,4],[1353,4]]},"600":{"position":[[35,4],[169,4]]},"601":{"position":[[62,4],[830,4]]},"602":{"position":[[166,4]]},"604":{"position":[[61,4],[112,4],[151,4],[215,4],[256,4]]},"605":{"position":[[202,4]]},"610":{"position":[[269,4],[392,4],[665,4],[1056,6]]},"611":{"position":[[181,4],[263,4],[452,4]]},"612":{"position":[[347,4],[1605,4],[2016,6],[2074,6],[2105,6]]},"613":{"position":[[180,4],[224,4],[311,4]]},"614":{"position":[[353,4]]},"616":{"position":[[48,4],[103,4],[124,4],[271,4],[408,4],[592,4],[690,4],[784,4],[1187,4]]},"617":{"position":[[1305,4]]},"618":{"position":[[607,4],[702,5]]},"621":{"position":[[163,4],[451,4]]},"622":{"position":[[150,4]]},"624":{"position":[[1258,4]]},"626":{"position":[[770,5]]},"630":{"position":[[243,4],[697,5],[967,4]]},"631":{"position":[[293,4],[358,4],[449,4]]},"632":{"position":[[276,5],[497,4]]},"635":{"position":[[483,4]]},"636":{"position":[[155,4],[252,4]]},"638":{"position":[[14,4],[884,4]]},"639":{"position":[[7,4]]},"640":{"position":[[415,5]]},"641":{"position":[[18,4]]},"642":{"position":[[147,4]]},"643":{"position":[[194,4]]},"644":{"position":[[230,4],[528,4]]},"659":{"position":[[113,5],[313,5],[736,4],[991,4]]},"660":{"position":[[314,4],[365,4],[404,4]]},"661":{"position":[[1704,4],[1750,4]]},"662":{"position":[[474,4],[575,4],[669,4]]},"664":{"position":[[0,4]]},"685":{"position":[[119,4],[275,4],[594,4]]},"686":{"position":[[380,4],[431,4],[539,4],[930,4]]},"688":{"position":[[324,4],[944,4]]},"689":{"position":[[486,4]]},"690":{"position":[[92,4],[332,4]]},"691":{"position":[[195,4]]},"693":{"position":[[644,5]]},"696":{"position":[[8,4],[299,5],[622,4],[769,5],[981,4],[1574,4],[1936,5]]},"697":{"position":[[6,4],[146,4],[259,5],[345,5],[577,4]]},"698":{"position":[[3042,4]]},"700":{"position":[[717,4]]},"701":{"position":[[581,4],[626,4]]},"702":{"position":[[67,4]]},"703":{"position":[[65,4],[587,4],[739,4],[925,5],[1484,4]]},"704":{"position":[[497,4]]},"705":{"position":[[483,5],[682,4],[958,5]]},"707":{"position":[[496,5]]},"709":{"position":[[209,4],[790,4]]},"710":{"position":[[547,4]]},"711":{"position":[[147,4],[352,4],[590,5],[678,5],[1705,4],[2064,4],[2146,4]]},"714":{"position":[[47,4],[204,5],[242,4],[707,4],[894,4]]},"716":{"position":[[127,5],[373,5]]},"720":{"position":[[26,4],[250,4]]},"723":{"position":[[356,4],[437,4],[1276,4],[1814,4]]},"724":{"position":[[787,4]]},"736":{"position":[[158,5],[390,4]]},"737":{"position":[[145,4]]},"749":{"position":[[3324,5],[11908,4],[11985,4],[12091,4],[13325,4],[16583,4],[16750,4],[21898,4]]},"751":{"position":[[316,4],[378,5],[581,4],[992,4],[1087,4],[1683,4]]},"752":{"position":[[183,4]]},"754":{"position":[[605,4],[653,5]]},"759":{"position":[[1117,4],[1281,4],[1377,4]]},"764":{"position":[[51,4]]},"766":{"position":[[26,4],[154,4]]},"767":{"position":[[29,4]]},"772":{"position":[[59,4],[1144,4],[1333,4],[1965,4]]},"773":{"position":[[114,4],[217,4],[240,4]]},"774":{"position":[[93,5],[176,4],[235,4]]},"775":{"position":[[85,4]]},"778":{"position":[[88,5]]},"779":{"position":[[311,4],[379,4]]},"780":{"position":[[653,4]]},"781":{"position":[[78,5],[113,4],[708,4],[878,4]]},"782":{"position":[[342,5],[358,4]]},"784":{"position":[[74,4],[223,4],[764,4]]},"785":{"position":[[1,4],[378,4],[581,4],[716,4]]},"786":{"position":[[30,4]]},"792":{"position":[[370,5]]},"798":{"position":[[253,4],[288,4],[521,5]]},"800":{"position":[[699,4],[924,5]]},"801":{"position":[[294,4],[387,4],[637,4]]},"802":{"position":[[829,4]]},"806":{"position":[[528,4]]},"816":{"position":[[116,4]]},"820":{"position":[[696,4]]},"821":{"position":[[626,4]]},"826":{"position":[[16,4]]},"829":{"position":[[2180,5],[2800,4]]},"832":{"position":[[182,4]]},"835":{"position":[[841,4],[1069,5]]},"836":{"position":[[759,4],[1479,4],[1576,4],[1768,4],[1855,4],[1937,4],[2124,4],[2276,4],[2430,4]]},"838":{"position":[[497,4],[830,4],[1031,4],[1131,4],[1251,4],[3368,4]]},"839":{"position":[[277,4],[960,4],[1264,4]]},"840":{"position":[[62,4]]},"841":{"position":[[949,4],[1375,5],[1480,4]]},"856":{"position":[[205,4]]},"860":{"position":[[261,4],[353,4]]},"861":{"position":[[2277,4]]},"865":{"position":[[97,4]]},"875":{"position":[[1804,4],[3434,4],[7110,4]]},"880":{"position":[[23,4]]},"882":{"position":[[248,5]]},"885":{"position":[[333,4]]},"886":{"position":[[1440,4],[2264,5]]},"887":{"position":[[188,4]]},"890":{"position":[[503,4]]},"897":{"position":[[483,4]]},"901":{"position":[[148,4],[777,4]]},"902":{"position":[[53,4],[380,4],[449,4],[723,4]]},"903":{"position":[[26,4],[162,4],[224,4],[463,4]]},"904":{"position":[[450,4]]},"908":{"position":[[168,4]]},"912":{"position":[[20,4],[123,4],[417,4],[595,4],[679,4]]},"916":{"position":[[262,4]]},"917":{"position":[[219,5],[280,4],[357,4]]},"918":{"position":[[156,5]]},"926":{"position":[[19,4]]},"927":{"position":[[29,4],[203,4]]},"930":{"position":[[51,4]]},"931":{"position":[[51,4]]},"932":{"position":[[51,4],[136,4],[468,4]]},"941":{"position":[[75,4]]},"954":{"position":[[19,4]]},"955":{"position":[[165,5],[287,5]]},"958":{"position":[[396,4]]},"961":{"position":[[145,4],[319,5]]},"962":{"position":[[637,4]]},"968":{"position":[[59,5]]},"971":{"position":[[63,4],[164,4]]},"976":{"position":[[216,5],[286,4]]},"977":{"position":[[260,4],[349,4],[460,4]]},"981":{"position":[[973,4],[1033,4],[1159,4],[1454,4]]},"986":{"position":[[622,4],[1169,4]]},"988":{"position":[[1721,4],[1955,4],[1967,4],[4987,4]]},"990":{"position":[[347,4],[447,4],[659,5]]},"995":{"position":[[88,4]]},"1004":{"position":[[208,4],[250,5],[351,4],[419,4],[558,5],[705,5]]},"1005":{"position":[[81,4]]},"1007":{"position":[[771,5],[986,4]]},"1009":{"position":[[104,4]]},"1014":{"position":[[247,4],[386,4]]},"1015":{"position":[[223,4]]},"1018":{"position":[[120,4],[168,4],[236,4],[418,4],[687,4],[871,4]]},"1020":{"position":[[294,4]]},"1021":{"position":[[106,4],[132,5]]},"1023":{"position":[[51,4]]},"1024":{"position":[[24,4],[138,4],[257,6],[522,5]]},"1033":{"position":[[157,5],[1047,4]]},"1042":{"position":[[21,4],[71,4]]},"1043":{"position":[[52,5]]},"1048":{"position":[[612,5]]},"1051":{"position":[[24,4]]},"1063":{"position":[[36,4]]},"1067":{"position":[[97,4],[722,4],[863,5],[1100,4],[1864,4]]},"1068":{"position":[[401,4]]},"1072":{"position":[[335,5],[577,4],[729,4],[1000,5],[2134,4],[2288,4]]},"1078":{"position":[[101,5]]},"1085":{"position":[[65,4],[489,4],[713,5],[1081,4],[1526,4],[2970,4],[3378,4]]},"1088":{"position":[[500,4]]},"1092":{"position":[[199,4],[302,4]]},"1100":{"position":[[145,4]]},"1101":{"position":[[73,4]]},"1102":{"position":[[57,4],[242,4]]},"1104":{"position":[[49,4],[168,4],[336,4],[357,5],[399,4],[426,4],[795,4]]},"1105":{"position":[[152,4],[502,4],[1136,4],[1177,4],[1234,4]]},"1106":{"position":[[298,4]]},"1108":{"position":[[712,4]]},"1115":{"position":[[9,4]]},"1116":{"position":[[105,5],[204,4],[328,4]]},"1120":{"position":[[121,4]]},"1121":{"position":[[19,4],[117,4]]},"1124":{"position":[[492,4],[2043,4],[2140,4]]},"1126":{"position":[[864,4]]},"1132":{"position":[[238,4],[354,4],[395,4],[497,5],[643,4],[717,4],[1018,4],[1078,4],[1248,5],[1290,5],[1454,4],[1505,4]]},"1140":{"position":[[77,4],[263,4]]},"1143":{"position":[[266,4]]},"1147":{"position":[[19,4],[336,4]]},"1149":{"position":[[222,4]]},"1150":{"position":[[89,4],[625,4]]},"1156":{"position":[[176,4]]},"1157":{"position":[[313,4],[541,4]]},"1161":{"position":[[140,4]]},"1162":{"position":[[320,4],[473,4],[628,4]]},"1170":{"position":[[36,4],[124,4],[215,4]]},"1171":{"position":[[172,4],[356,4]]},"1172":{"position":[[144,4]]},"1173":{"position":[[70,5]]},"1174":{"position":[[127,4],[299,4],[604,5]]},"1180":{"position":[[140,4],[324,4]]},"1181":{"position":[[65,4],[407,4],[560,4],[616,4],[716,4]]},"1184":{"position":[[143,4]]},"1191":{"position":[[249,5],[311,4]]},"1192":{"position":[[299,4],[443,4],[575,4]]},"1207":{"position":[[611,4],[682,4],[713,4]]},"1208":{"position":[[250,5],[1288,4]]},"1213":{"position":[[333,4]]},"1214":{"position":[[412,4],[806,5]]},"1215":{"position":[[681,4]]},"1222":{"position":[[511,4],[638,4],[926,5]]},"1237":{"position":[[70,4],[241,4],[384,5],[472,4]]},"1238":{"position":[[116,4]]},"1239":{"position":[[161,4],[288,4],[320,4],[396,4]]},"1241":{"position":[[27,4],[44,4]]},"1242":{"position":[[43,4]]},"1246":{"position":[[1424,4],[1560,4]]},"1253":{"position":[[43,4]]},"1260":{"position":[[14,4]]},"1270":{"position":[[163,4]]},"1276":{"position":[[278,4]]},"1282":{"position":[[106,4],[206,4]]},"1292":{"position":[[570,4]]},"1294":{"position":[[221,4]]},"1295":{"position":[[1486,4]]},"1296":{"position":[[89,4],[215,4]]},"1299":{"position":[[129,4]]},"1300":{"position":[[60,4],[175,4]]},"1301":{"position":[[300,5],[397,4],[839,4]]},"1304":{"position":[[183,4],[389,4],[1715,4],[1766,4]]},"1305":{"position":[[735,4],[785,5],[822,4]]},"1311":{"position":[[1267,4]]},"1314":{"position":[[106,5]]},"1315":{"position":[[856,4]]},"1316":{"position":[[31,4],[3297,4],[3340,4],[3830,4]]},"1318":{"position":[[985,5]]},"1319":{"position":[[47,5],[239,5],[367,5],[413,4]]},"1324":{"position":[[280,4],[1009,4]]}},"keywords":{}}],["data"",{"_index":2727,"title":{},"content":{"412":{"position":[[8133,12]]}},"keywords":{}}],["data'",{"_index":2294,"title":{},"content":{"393":{"position":[[563,6]]}},"keywords":{}}],["data._delet",{"_index":5714,"title":{},"content":{"1048":{"position":[[583,13]]}},"keywords":{}}],["data.ag",{"_index":5713,"title":{},"content":{"1048":{"position":[[569,8]]}},"keywords":{}}],["data.attach",{"_index":6031,"title":{},"content":{"1132":{"position":[[1328,17]]}},"keywords":{}}],["data.bas",{"_index":3296,"title":{},"content":{"535":{"position":[[371,10]]}},"keywords":{}}],["data.checkpoint",{"_index":5012,"title":{},"content":{"875":{"position":[[3512,15]]}},"keywords":{}}],["data.docu",{"_index":5011,"title":{},"content":{"875":{"position":[[3484,15]]}},"keywords":{}}],["data.high",{"_index":2066,"title":{},"content":{"358":{"position":[[714,9]]}},"keywords":{}}],["data.nosql",{"_index":1213,"title":{},"content":{"174":{"position":[[430,10]]}},"keywords":{}}],["data.optim",{"_index":3526,"title":{},"content":{"590":{"position":[[575,13]]}},"keywords":{}}],["data.p",{"_index":1390,"title":{},"content":{"212":{"position":[[508,9]]}},"keywords":{}}],["data.sqlit",{"_index":1964,"title":{},"content":{"336":{"position":[[401,11]]},"581":{"position":[[405,11]]}},"keywords":{}}],["data.when",{"_index":5845,"title":{},"content":{"1083":{"position":[[254,9]]}},"keywords":{}}],["data:"",{"_index":3558,"title":{},"content":{"610":{"position":[[1043,12]]}},"keywords":{}}],["dataar",{"_index":4633,"title":{},"content":{"795":{"position":[[160,8]]}},"keywords":{}}],["databas",{"_index":33,"title":{"51":{"position":[[9,8]]},"62":{"position":[[28,8]]},"67":{"position":[[8,9]]},"69":{"position":[[26,10]]},"85":{"position":[[30,9]]},"87":{"position":[[8,8]]},"89":{"position":[[37,8]]},"91":{"position":[[8,9]]},"96":{"position":[[14,8]]},"98":{"position":[[8,9]]},"100":{"position":[[26,10]]},"115":{"position":[[10,8]]},"117":{"position":[[14,9]]},"118":{"position":[[22,8]]},"126":{"position":[[23,8]]},"145":{"position":[[25,8]]},"171":{"position":[[26,8]]},"172":{"position":[[20,10]]},"173":{"position":[[9,8]]},"174":{"position":[[24,8]]},"176":{"position":[[10,8]]},"178":{"position":[[14,9]]},"179":{"position":[[22,8]]},"186":{"position":[[23,8]]},"199":{"position":[[29,8]]},"200":{"position":[[43,8]]},"213":{"position":[[25,9]]},"219":{"position":[[6,8]]},"223":{"position":[[26,8]]},"225":{"position":[[8,9]]},"258":{"position":[[9,10]]},"264":{"position":[[24,9]]},"268":{"position":[[24,8]]},"271":{"position":[[34,8]]},"278":{"position":[[78,9]]},"319":{"position":[[10,8]]},"321":{"position":[[14,9]]},"322":{"position":[[22,8]]},"331":{"position":[[22,8]]},"334":{"position":[[27,9]]},"348":{"position":[[11,10]]},"349":{"position":[[15,9]]},"355":{"position":[[32,10]]},"358":{"position":[[9,8]]},"359":{"position":[[21,8]]},"363":{"position":[[12,8]]},"364":{"position":[[18,10]]},"369":{"position":[[10,8]]},"372":{"position":[[23,9]]},"374":{"position":[[16,8],[56,8]]},"375":{"position":[[19,10]]},"389":{"position":[[13,8]]},"390":{"position":[[17,10]]},"394":{"position":[[21,8]]},"398":{"position":[[21,8]]},"404":{"position":[[51,10]]},"443":{"position":[[7,8],[26,8]]},"444":{"position":[[21,10]]},"445":{"position":[[45,8]]},"472":{"position":[[28,8]]},"473":{"position":[[22,10]]},"479":{"position":[[38,8]]},"482":{"position":[[22,8]]},"489":{"position":[[6,9]]},"499":{"position":[[10,8]]},"501":{"position":[[34,8]]},"512":{"position":[[10,8]]},"513":{"position":[[33,9]]},"520":{"position":[[21,8]]},"532":{"position":[[10,8]]},"538":{"position":[[9,8]]},"554":{"position":[[20,8]]},"568":{"position":[[19,9]]},"570":{"position":[[10,8]]},"573":{"position":[[10,8]]},"574":{"position":[[28,9]]},"575":{"position":[[22,8]]},"576":{"position":[[19,8]]},"579":{"position":[[30,9]]},"592":{"position":[[10,8]]},"598":{"position":[[9,8]]},"653":{"position":[[9,8]]},"657":{"position":[[10,8]]},"658":{"position":[[0,8]]},"702":{"position":[[31,9]]},"706":{"position":[[9,8]]},"707":{"position":[[0,9]]},"708":{"position":[[12,9]]},"750":{"position":[[8,8]]},"757":{"position":[[31,8]]},"771":{"position":[[8,8]]},"772":{"position":[[11,9]]},"773":{"position":[[26,9]]},"775":{"position":[[6,8]]},"794":{"position":[[42,9]]},"833":{"position":[[13,8]]},"834":{"position":[[0,8]]},"851":{"position":[[0,8]]},"857":{"position":[[57,8]]},"903":{"position":[[63,9]]},"939":{"position":[[26,9]]},"1094":{"position":[[10,9]]},"1122":{"position":[[5,8]]},"1131":{"position":[[5,8]]},"1177":{"position":[[26,9]]},"1204":{"position":[[27,9]]},"1205":{"position":[[34,8]]},"1250":{"position":[[16,8]]},"1267":{"position":[[15,9]]},"1281":{"position":[[0,8]]},"1324":{"position":[[13,8]]}},"content":{"1":{"position":[[519,8]]},"2":{"position":[[322,8]]},"3":{"position":[[202,8]]},"4":{"position":[[380,8]]},"5":{"position":[[290,8]]},"6":{"position":[[485,8],[664,8]]},"7":{"position":[[193,8],[322,8],[499,8]]},"8":{"position":[[1091,8]]},"9":{"position":[[236,8]]},"10":{"position":[[274,8]]},"11":{"position":[[800,8]]},"13":{"position":[[61,9],[149,8]]},"14":{"position":[[158,10],[182,8],[237,9],[270,8],[293,8],[480,8],[662,9],[731,8]]},"15":{"position":[[171,8],[417,8]]},"17":{"position":[[60,9],[315,9],[425,8]]},"19":{"position":[[107,8]]},"20":{"position":[[26,8],[182,9]]},"22":{"position":[[218,9]]},"23":{"position":[[54,8]]},"24":{"position":[[27,8]]},"25":{"position":[[67,8],[272,9]]},"28":{"position":[[46,9]]},"29":{"position":[[27,9]]},"30":{"position":[[76,8]]},"32":{"position":[[45,8],[237,8]]},"33":{"position":[[560,8]]},"34":{"position":[[30,8],[354,9],[463,8]]},"36":{"position":[[31,8],[229,9]]},"38":{"position":[[226,9]]},"39":{"position":[[354,8]]},"40":{"position":[[321,9]]},"41":{"position":[[173,9]]},"42":{"position":[[64,8]]},"43":{"position":[[351,8],[745,8]]},"51":{"position":[[673,8],[755,8],[930,8]]},"52":{"position":[[11,8]]},"55":{"position":[[856,8]]},"56":{"position":[[119,8]]},"57":{"position":[[108,9]]},"66":{"position":[[170,10],[263,10]]},"67":{"position":[[5,9]]},"68":{"position":[[5,9]]},"69":{"position":[[13,9]]},"70":{"position":[[5,9]]},"79":{"position":[[73,8]]},"83":{"position":[[302,9]]},"87":{"position":[[25,9]]},"89":{"position":[[9,9],[47,8]]},"90":{"position":[[22,9]]},"91":{"position":[[9,9]]},"92":{"position":[[9,9]]},"93":{"position":[[171,9]]},"94":{"position":[[9,10],[201,8]]},"95":{"position":[[103,10]]},"96":{"position":[[27,8]]},"98":{"position":[[11,10],[171,9]]},"99":{"position":[[5,9],[274,9]]},"100":{"position":[[13,10],[171,9]]},"101":{"position":[[56,9],[117,10]]},"102":{"position":[[67,8]]},"105":{"position":[[67,10]]},"114":{"position":[[70,8],[498,10]]},"117":{"position":[[1,9],[233,8]]},"118":{"position":[[26,8],[130,9],[215,8]]},"120":{"position":[[23,8],[137,9]]},"126":{"position":[[23,8],[219,10]]},"128":{"position":[[303,10]]},"131":{"position":[[297,8]]},"139":{"position":[[158,9]]},"140":{"position":[[78,8]]},"144":{"position":[[99,8]]},"145":{"position":[[153,8],[196,8],[276,8]]},"148":{"position":[[20,8]]},"149":{"position":[[70,8]]},"172":{"position":[[13,8],[46,8],[258,8],[289,8]]},"173":{"position":[[48,8],[261,8],[303,9],[326,8],[445,8],[547,8],[615,8],[649,8],[1182,10],[1408,9],[1925,10],[2210,10],[2454,8],[2535,9],[2763,9],[2990,8],[3113,8]]},"174":{"position":[[37,8],[3236,8]]},"175":{"position":[[70,9],[466,8]]},"178":{"position":[[1,9],[214,8],[311,8]]},"179":{"position":[[26,8],[154,8],[324,8]]},"181":{"position":[[23,8],[94,8]]},"182":{"position":[[322,9]]},"186":{"position":[[18,8],[141,9]]},"188":{"position":[[359,8],[591,8],[848,8],[2618,8],[2638,8]]},"189":{"position":[[154,8],[342,8]]},"197":{"position":[[144,9]]},"198":{"position":[[37,8]]},"201":{"position":[[26,9]]},"202":{"position":[[25,8],[207,9]]},"203":{"position":[[19,8]]},"204":{"position":[[36,9]]},"211":{"position":[[53,8]]},"215":{"position":[[114,9]]},"216":{"position":[[10,9]]},"218":{"position":[[64,9]]},"219":{"position":[[10,9],[126,9]]},"220":{"position":[[10,9],[150,8]]},"221":{"position":[[127,9],[197,8]]},"222":{"position":[[10,10],[162,9],[338,8]]},"223":{"position":[[13,8],[140,10],[202,8]]},"224":{"position":[[10,9],[75,10]]},"225":{"position":[[11,9],[132,9]]},"226":{"position":[[5,9],[340,10]]},"227":{"position":[[5,9],[172,10]]},"228":{"position":[[17,9],[173,10]]},"229":{"position":[[40,8],[87,9]]},"232":{"position":[[277,10]]},"233":{"position":[[292,8]]},"236":{"position":[[121,8]]},"239":{"position":[[302,8]]},"241":{"position":[[387,9]]},"243":{"position":[[238,8]]},"249":{"position":[[156,9]]},"260":{"position":[[71,9]]},"262":{"position":[[92,8]]},"263":{"position":[[511,8]]},"265":{"position":[[63,8],[128,8],[185,8],[278,10],[604,10],[630,10],[742,8]]},"267":{"position":[[1166,8]]},"271":{"position":[[122,8]]},"273":{"position":[[30,8]]},"275":{"position":[[190,9],[248,8]]},"276":{"position":[[146,10]]},"278":{"position":[[37,8]]},"279":{"position":[[7,10],[367,8]]},"281":{"position":[[122,9],[367,9]]},"282":{"position":[[116,10],[203,9],[271,10]]},"285":{"position":[[236,8]]},"287":{"position":[[1111,8]]},"289":{"position":[[620,9],[1043,9]]},"291":{"position":[[143,8]]},"293":{"position":[[396,9]]},"314":{"position":[[290,8]]},"320":{"position":[[330,8]]},"322":{"position":[[26,9]]},"325":{"position":[[29,8]]},"331":{"position":[[303,8]]},"344":{"position":[[60,8]]},"346":{"position":[[17,9]]},"347":{"position":[[70,8]]},"351":{"position":[[368,8]]},"353":{"position":[[437,9]]},"354":{"position":[[643,9],[721,9],[1510,8]]},"359":{"position":[[12,9]]},"360":{"position":[[675,9]]},"362":{"position":[[12,9],[1070,9],[1141,8]]},"364":{"position":[[138,8]]},"365":{"position":[[129,8],[488,9],[511,8],[1103,8],[1248,8],[1588,8]]},"367":{"position":[[36,8],[547,9]]},"369":{"position":[[1021,9],[1474,8]]},"372":{"position":[[183,8]]},"373":{"position":[[384,8]]},"375":{"position":[[7,9],[351,9],[716,9],[851,9]]},"376":{"position":[[44,8],[352,8],[633,9]]},"377":{"position":[[157,9]]},"378":{"position":[[16,9],[53,8]]},"382":{"position":[[336,8]]},"388":{"position":[[156,8],[269,8]]},"390":{"position":[[10,8],[36,8],[314,9],[382,9],[760,8],[869,9],[1140,9],[1658,8],[1832,8]]},"391":{"position":[[50,8]]},"392":{"position":[[59,8],[1203,9],[1800,9]]},"393":{"position":[[47,9]]},"395":{"position":[[161,10]]},"396":{"position":[[1113,9]]},"397":{"position":[[344,9]]},"398":{"position":[[3482,8]]},"399":{"position":[[16,10]]},"400":{"position":[[793,8]]},"402":{"position":[[85,9]]},"404":{"position":[[20,8]]},"407":{"position":[[203,8]]},"408":{"position":[[1856,8],[3623,8],[3667,10],[4648,9]]},"410":{"position":[[229,8],[1929,8]]},"411":{"position":[[1901,8],[2178,9],[2286,8],[2421,9],[2954,8],[3651,9],[3766,9],[4161,9]]},"412":{"position":[[7215,9],[9212,8],[9497,8],[9732,8],[10883,8],[11007,8],[11162,9],[11265,8],[12447,8],[12547,8],[12821,8],[13270,9],[13464,9],[13659,8],[14209,8]]},"420":{"position":[[672,8],[1555,9]]},"422":{"position":[[75,9]]},"427":{"position":[[444,10]]},"432":{"position":[[1227,8]]},"433":{"position":[[504,8]]},"440":{"position":[[450,8]]},"444":{"position":[[8,9],[129,9],[364,9],[434,10],[576,10],[610,8],[748,10]]},"445":{"position":[[32,9],[95,10],[667,8],[1056,8],[2052,8],[2327,8]]},"447":{"position":[[8,9],[573,8]]},"452":{"position":[[49,8],[413,9]]},"454":{"position":[[527,8]]},"455":{"position":[[74,9],[241,10]]},"457":{"position":[[191,9]]},"459":{"position":[[30,8],[83,8]]},"463":{"position":[[80,10],[348,8],[833,8]]},"469":{"position":[[208,8],[409,8]]},"470":{"position":[[320,9]]},"474":{"position":[[107,9]]},"475":{"position":[[74,9]]},"476":{"position":[[289,8]]},"478":{"position":[[145,9]]},"479":{"position":[[16,9],[48,8],[526,9]]},"480":{"position":[[48,9],[342,8]]},"482":{"position":[[571,8],[1079,8]]},"483":{"position":[[24,8],[686,9],[1163,8]]},"489":{"position":[[9,8],[468,9]]},"490":{"position":[[353,8]]},"491":{"position":[[1212,9]]},"501":{"position":[[115,9]]},"502":{"position":[[48,8]]},"504":{"position":[[1164,9]]},"511":{"position":[[70,8]]},"513":{"position":[[29,9],[224,8]]},"514":{"position":[[26,9],[65,8],[127,8],[193,8]]},"515":{"position":[[88,9]]},"516":{"position":[[341,9]]},"517":{"position":[[251,9]]},"518":{"position":[[142,8]]},"520":{"position":[[19,8],[134,8],[278,8],[406,8]]},"524":{"position":[[630,9],[694,8],[985,8]]},"527":{"position":[[54,8]]},"528":{"position":[[137,9]]},"530":{"position":[[253,8]]},"531":{"position":[[70,8]]},"533":{"position":[[125,8]]},"538":{"position":[[196,8],[403,8],[485,8]]},"539":{"position":[[11,8]]},"542":{"position":[[517,8]]},"544":{"position":[[129,9]]},"551":{"position":[[83,9],[519,8]]},"554":{"position":[[1026,8]]},"555":{"position":[[24,8],[864,9]]},"556":{"position":[[175,8]]},"557":{"position":[[105,8]]},"565":{"position":[[231,8]]},"569":{"position":[[1009,10],[1277,9],[1514,9]]},"570":{"position":[[29,10],[170,8],[243,9],[489,9],[548,8],[703,10]]},"571":{"position":[[537,9],[592,8]]},"574":{"position":[[762,8],[882,8]]},"575":{"position":[[27,8],[83,8]]},"576":{"position":[[235,9]]},"584":{"position":[[77,8]]},"590":{"position":[[93,8],[191,8]]},"591":{"position":[[70,8]]},"593":{"position":[[125,8]]},"598":{"position":[[197,8],[492,8]]},"599":{"position":[[11,8]]},"604":{"position":[[129,9]]},"628":{"position":[[153,8]]},"631":{"position":[[34,8]]},"632":{"position":[[1028,9]]},"642":{"position":[[40,8]]},"647":{"position":[[17,8]]},"656":{"position":[[81,8],[130,8]]},"661":{"position":[[34,8],[784,8],[823,9],[1146,9],[1421,8]]},"662":{"position":[[33,8],[1350,8],[1580,8],[2027,8],[2090,8]]},"663":{"position":[[138,8]]},"676":{"position":[[282,9]]},"680":{"position":[[521,8]]},"682":{"position":[[71,8]]},"686":{"position":[[761,9],[824,8]]},"694":{"position":[[24,9]]},"698":{"position":[[407,9],[1041,9],[1116,9],[2320,8]]},"699":{"position":[[720,9],[781,9]]},"701":{"position":[[342,8],[437,9],[708,10]]},"702":{"position":[[181,8],[365,8],[590,9],[670,9]]},"703":{"position":[[1068,9]]},"704":{"position":[[23,8]]},"705":{"position":[[122,9],[212,9],[279,8],[383,10],[1287,8]]},"707":{"position":[[399,8]]},"708":{"position":[[124,8],[206,8],[332,8],[539,8]]},"709":{"position":[[481,8],[545,8]]},"710":{"position":[[19,8],[1118,8],[1521,8],[1669,8],[2388,8]]},"711":{"position":[[34,8],[1091,9],[1918,8]]},"712":{"position":[[26,8],[157,8]]},"715":{"position":[[128,8]]},"717":{"position":[[971,9],[1129,8]]},"718":{"position":[[632,8]]},"719":{"position":[[21,8],[90,9],[120,8],[264,8],[495,9]]},"723":{"position":[[579,9],[775,8]]},"745":{"position":[[117,8],[478,8]]},"749":{"position":[[117,8],[183,10],[281,8],[311,8],[5737,8],[6643,8],[10212,8],[12576,8],[12641,8],[24099,8]]},"753":{"position":[[109,9]]},"757":{"position":[[22,8],[140,8],[223,8]]},"759":{"position":[[479,9],[522,9],[586,8],[722,8],[1054,8],[1144,8],[1213,8],[1340,8]]},"760":{"position":[[475,9],[518,9],[582,8],[718,8]]},"761":{"position":[[156,8]]},"764":{"position":[[340,9]]},"772":{"position":[[29,8],[114,8],[511,8],[1178,9]]},"774":{"position":[[53,8],[141,8],[868,8],[949,8]]},"775":{"position":[[25,8],[158,8],[328,8],[688,9],[750,8],[796,9]]},"776":{"position":[[166,9],[209,8],[307,8],[385,8]]},"779":{"position":[[347,9]]},"781":{"position":[[658,9]]},"784":{"position":[[701,8]]},"785":{"position":[[534,9],[697,8]]},"793":{"position":[[1185,8]]},"796":{"position":[[43,10]]},"797":{"position":[[35,8]]},"800":{"position":[[12,9]]},"801":{"position":[[8,8],[131,10],[147,8]]},"802":{"position":[[60,8],[244,8],[553,8]]},"815":{"position":[[216,8]]},"825":{"position":[[324,8]]},"829":{"position":[[85,8],[104,8],[420,9],[896,9],[962,8],[1055,8],[1178,8],[1378,13],[1421,10],[1585,9],[1704,11],[3047,8]]},"830":{"position":[[209,8],[289,8]]},"832":{"position":[[113,8]]},"834":{"position":[[20,8]]},"836":{"position":[[36,8],[602,8],[740,8]]},"837":{"position":[[33,8],[92,9],[2038,8]]},"838":{"position":[[33,8],[1897,8],[2167,9],[2298,8]]},"839":{"position":[[20,8],[246,8],[1231,9]]},"840":{"position":[[30,8]]},"842":{"position":[[32,8],[272,8]]},"849":{"position":[[436,8]]},"851":{"position":[[83,10],[133,8],[213,8],[262,8]]},"854":{"position":[[82,9],[745,9]]},"857":{"position":[[90,9]]},"858":{"position":[[256,9]]},"860":{"position":[[115,8],[175,8]]},"861":{"position":[[940,8],[1031,8],[1181,8]]},"862":{"position":[[494,8]]},"872":{"position":[[730,8],[801,8],[1014,11],[1355,8],[1402,8],[2496,9],[3277,9]]},"875":{"position":[[4045,9]]},"892":{"position":[[285,9]]},"898":{"position":[[1554,8],[1602,9]]},"903":{"position":[[592,8],[734,8]]},"904":{"position":[[284,8],[351,8],[393,8]]},"908":{"position":[[125,8]]},"935":{"position":[[96,9],[144,8]]},"939":{"position":[[40,9],[91,9]]},"942":{"position":[[43,9]]},"953":{"position":[[93,8]]},"958":{"position":[[71,9],[165,8],[262,9],[738,9]]},"960":{"position":[[5,8]]},"961":{"position":[[5,8],[61,9]]},"962":{"position":[[145,9]]},"963":{"position":[[71,9]]},"964":{"position":[[67,8]]},"965":{"position":[[56,8],[124,8]]},"966":{"position":[[453,9]]},"971":{"position":[[96,9]]},"972":{"position":[[36,9],[92,8]]},"973":{"position":[[33,8]]},"975":{"position":[[43,8],[138,8],[354,8],[548,8]]},"976":{"position":[[12,9],[147,8],[177,8],[206,9],[242,8]]},"977":{"position":[[102,8],[154,8],[306,9]]},"981":{"position":[[36,8]]},"986":{"position":[[477,8]]},"989":{"position":[[279,8]]},"1007":{"position":[[1104,8]]},"1008":{"position":[[207,8]]},"1013":{"position":[[87,8],[450,8],[806,8]]},"1014":{"position":[[34,8],[309,8]]},"1015":{"position":[[34,8]]},"1058":{"position":[[191,9]]},"1065":{"position":[[1955,9],[2074,9]]},"1067":{"position":[[1878,8],[2341,9],[2360,8]]},"1068":{"position":[[119,9]]},"1069":{"position":[[28,9]]},"1071":{"position":[[23,10]]},"1072":{"position":[[152,8],[1246,8]]},"1084":{"position":[[82,9]]},"1085":{"position":[[3727,8]]},"1090":{"position":[[350,8],[924,8],[1037,9]]},"1094":{"position":[[131,8],[167,8]]},"1097":{"position":[[722,9]]},"1098":{"position":[[358,9]]},"1099":{"position":[[332,9]]},"1103":{"position":[[217,9]]},"1114":{"position":[[306,8],[694,8]]},"1118":{"position":[[286,8],[628,8]]},"1121":{"position":[[434,8]]},"1124":{"position":[[225,9],[1027,8]]},"1126":{"position":[[132,9],[341,8],[654,8]]},"1130":{"position":[[271,8]]},"1132":{"position":[[539,8],[1521,9]]},"1134":{"position":[[713,8]]},"1135":{"position":[[207,9]]},"1144":{"position":[[158,9]]},"1148":{"position":[[821,8],[1097,9]]},"1149":{"position":[[867,8]]},"1150":{"position":[[310,8]]},"1154":{"position":[[728,8]]},"1158":{"position":[[166,9]]},"1161":{"position":[[194,8]]},"1165":{"position":[[497,8],[594,8],[644,8],[958,8]]},"1171":{"position":[[385,8]]},"1174":{"position":[[467,8],[540,9],[683,8]]},"1175":{"position":[[106,8],[225,8],[286,8],[507,8],[604,8]]},"1177":{"position":[[59,9]]},"1180":{"position":[[194,8]]},"1183":{"position":[[197,9]]},"1188":{"position":[[49,8],[162,8]]},"1191":{"position":[[102,9]]},"1194":{"position":[[160,8],[264,8]]},"1198":{"position":[[110,8],[612,8],[1116,8]]},"1204":{"position":[[60,9]]},"1210":{"position":[[404,8]]},"1211":{"position":[[659,8]]},"1214":{"position":[[840,8],[923,8],[986,8]]},"1219":{"position":[[187,8],[233,8],[566,9]]},"1220":{"position":[[245,9]]},"1222":{"position":[[878,8],[1011,9],[1202,8],[1240,10],[1375,8]]},"1226":{"position":[[200,8]]},"1227":{"position":[[678,8]]},"1231":{"position":[[1009,8]]},"1238":{"position":[[59,8]]},"1246":{"position":[[1105,8],[1910,9]]},"1247":{"position":[[408,8]]},"1249":{"position":[[27,8],[255,8],[311,11]]},"1250":{"position":[[52,8],[130,8],[381,8],[502,8]]},"1251":{"position":[[95,8]]},"1253":{"position":[[18,10]]},"1264":{"position":[[122,8]]},"1265":{"position":[[666,8]]},"1267":{"position":[[128,8],[403,8],[580,10],[642,9],[736,9]]},"1271":{"position":[[1517,8]]},"1272":{"position":[[80,9]]},"1274":{"position":[[173,8]]},"1276":{"position":[[567,8]]},"1277":{"position":[[345,8]]},"1279":{"position":[[52,8]]},"1280":{"position":[[80,8]]},"1281":{"position":[[27,8]]},"1282":{"position":[[256,8]]},"1283":{"position":[[14,9]]},"1289":{"position":[[135,9]]},"1295":{"position":[[55,10],[76,8],[857,9]]},"1299":{"position":[[107,9],[435,9]]},"1300":{"position":[[636,8]]},"1301":{"position":[[166,8],[755,8],[872,9]]},"1302":{"position":[[15,8]]},"1304":{"position":[[226,9],[264,8],[483,8],[648,8]]},"1305":{"position":[[82,8],[137,9],[684,8],[931,9],[1062,9]]},"1307":{"position":[[134,9],[696,8]]},"1311":{"position":[[73,8],[1420,8]]},"1313":{"position":[[110,8],[1005,9]]},"1314":{"position":[[187,8],[235,8]]},"1315":{"position":[[41,9],[809,8],[938,9],[1283,8],[1592,8]]},"1316":{"position":[[260,8],[631,8],[715,8],[995,8],[1231,8],[2905,8],[2974,8],[3725,8]]},"1317":{"position":[[85,9]]},"1318":{"position":[[12,10]]},"1320":{"position":[[25,8],[746,8]]},"1321":{"position":[[183,8]]},"1324":{"position":[[20,9],[518,9],[694,9]]}},"keywords":{}}],["database"",{"_index":1442,"title":{},"content":{"243":{"position":[[45,14],[124,14],[167,14],[382,14],[414,14],[963,14],[995,14]]},"244":{"position":[[300,14],[366,14],[548,14],[660,14],[815,14],[853,14],[890,14],[944,14],[1008,14],[1542,14]]},"570":{"position":[[861,15]]},"571":{"position":[[1880,14]]}},"keywords":{}}],["database'",{"_index":1020,"title":{},"content":{"96":{"position":[[214,10]]},"205":{"position":[[33,10]]},"212":{"position":[[156,10]]},"636":{"position":[[381,10]]}},"keywords":{}}],["database'?"",{"_index":2193,"title":{},"content":{"390":{"position":[[652,18]]}},"keywords":{}}],["database(",{"_index":2670,"title":{},"content":{"412":{"position":[[2555,12]]}},"keywords":{}}],["database.addcollect",{"_index":5377,"title":{},"content":{"955":{"position":[[213,26]]}},"keywords":{}}],["database.addst",{"_index":5984,"title":{},"content":{"1114":{"position":[[838,20]]},"1118":{"position":[[771,20]]},"1121":{"position":[[551,20]]}},"keywords":{}}],["database.addstate('mynamepsac",{"_index":5987,"title":{},"content":{"1114":{"position":[[939,33]]}},"keywords":{}}],["database.explor",{"_index":3722,"title":{},"content":{"644":{"position":[[62,16]]},"913":{"position":[[68,16]]}},"keywords":{}}],["database.getcollection('hero",{"_index":1277,"title":{},"content":{"188":{"position":[[2768,33]]}},"keywords":{}}],["database.heroes.find",{"_index":851,"title":{},"content":{"55":{"position":[[1098,26]]}},"keywords":{}}],["database.nam",{"_index":1253,"title":{},"content":{"188":{"position":[[996,13]]}},"keywords":{}}],["database.query('select",{"_index":3807,"title":{},"content":{"661":{"position":[[1280,22]]}},"keywords":{}}],["database.stor",{"_index":4037,"title":{},"content":{"719":{"position":[[290,14]]}},"keywords":{}}],["database/storag",{"_index":3332,"title":{"549":{"position":[[38,16]]}},"content":{},"keywords":{}}],["database={database}>",{"_index":4754,"title":{},"content":{"829":{"position":[[1765,23]]}},"keywords":{}}],["databaseid",{"_index":4906,"title":{},"content":{"862":{"position":[[1212,11]]}},"keywords":{}}],["databasenam",{"_index":1255,"title":{},"content":{"188":{"position":[[1068,13],[2707,14]]},"661":{"position":[[1213,13]]},"872":{"position":[[2478,13]]},"1165":{"position":[[450,12],[754,13],[1092,13]]},"1281":{"position":[[279,13]]}},"keywords":{}}],["databaseon",{"_index":6325,"title":{},"content":{"1267":{"position":[[597,11]]}},"keywords":{}}],["databasepostinsert",{"_index":4527,"title":{},"content":{"767":{"position":[[199,18]]}},"keywords":{}}],["databasepostremov",{"_index":4551,"title":{},"content":{"769":{"position":[[173,18]]}},"keywords":{}}],["databasepostsav",{"_index":4539,"title":{},"content":{"768":{"position":[[162,16]]}},"keywords":{}}],["databaseservic",{"_index":783,"title":{},"content":{"51":{"position":[[990,16]]},"54":{"position":[[91,16]]},"130":{"position":[[395,16]]}},"keywords":{}}],["databasesus",{"_index":3337,"title":{},"content":{"551":{"position":[[70,12]]}},"keywords":{}}],["databasesync",{"_index":6332,"title":{},"content":{"1271":{"position":[[1370,12]]},"1275":{"position":[[270,12]]}},"keywords":{}}],["databases—rel",{"_index":2068,"title":{},"content":{"358":{"position":[[836,20]]}},"keywords":{}}],["databasetwo",{"_index":6326,"title":{},"content":{"1267":{"position":[[691,11]]}},"keywords":{}}],["databaseurl",{"_index":4867,"title":{},"content":{"854":{"position":[[280,12]]},"1148":{"position":[[973,12]]}},"keywords":{}}],["databuilt",{"_index":3403,"title":{},"content":{"559":{"position":[[889,9]]}},"keywords":{}}],["datacent",{"_index":5919,"title":{},"content":{"1093":{"position":[[154,10]]}},"keywords":{}}],["datachannel",{"_index":5274,"title":{},"content":{"911":{"position":[[302,11],[415,11]]}},"keywords":{}}],["datachannel/polyfil",{"_index":1372,"title":{},"content":{"210":{"position":[[463,23]]},"261":{"position":[[704,23]]},"904":{"position":[[2909,23]]},"911":{"position":[[547,22]]}},"keywords":{}}],["datalearn",{"_index":1911,"title":{},"content":{"318":{"position":[[441,9]]}},"keywords":{}}],["datalog",{"_index":623,"title":{},"content":{"39":{"position":[[396,8]]}},"keywords":{}}],["datapath",{"_index":5123,"title":{},"content":{"886":{"position":[[1308,9]]}},"keywords":{}}],["datarxdb",{"_index":3966,"title":{},"content":{"703":{"position":[[297,8]]}},"keywords":{}}],["dataset",{"_index":405,"title":{"696":{"position":[[25,9]]}},"content":{"24":{"position":[[504,9]]},"58":{"position":[[183,9]]},"64":{"position":[[128,8]]},"66":{"position":[[353,8]]},"138":{"position":[[198,9]]},"141":{"position":[[262,8]]},"169":{"position":[[287,8]]},"173":{"position":[[2121,8]]},"217":{"position":[[347,8]]},"265":{"position":[[778,7]]},"369":{"position":[[508,9],[571,7]]},"392":{"position":[[814,7]]},"394":{"position":[[1596,7],[1785,9]]},"396":{"position":[[1986,8]]},"398":{"position":[[3370,7]]},"408":{"position":[[759,8],[1308,8]]},"411":{"position":[[256,8],[3927,8]]},"412":{"position":[[6745,7],[7251,7],[7592,8],[12459,7]]},"432":{"position":[[388,9],[1448,9]]},"446":{"position":[[892,8]]},"574":{"position":[[547,8]]},"587":{"position":[[139,8]]},"643":{"position":[[11,8]]},"696":{"position":[[136,7]]},"723":{"position":[[194,9],[1653,8]]},"773":{"position":[[740,8]]},"775":{"position":[[509,8],[573,7]]},"1006":{"position":[[173,7]]},"1072":{"position":[[2912,9]]},"1123":{"position":[[540,8]]},"1124":{"position":[[1663,7]]},"1132":{"position":[[267,9]]},"1137":{"position":[[224,9]]},"1156":{"position":[[132,9]]},"1170":{"position":[[197,9]]},"1192":{"position":[[747,7]]},"1235":{"position":[[96,9]]},"1295":{"position":[[907,7],[1095,7]]},"1315":{"position":[[1499,7]]}},"keywords":{}}],["datasets.flex",{"_index":1225,"title":{},"content":{"174":{"position":[[2543,17]]}},"keywords":{}}],["datasets.indexeddb",{"_index":1669,"title":{},"content":{"287":{"position":[[432,18]]}},"keywords":{}}],["datasets.mani",{"_index":2903,"title":{},"content":{"430":{"position":[[670,13]]}},"keywords":{}}],["datasets.dist",{"_index":2343,"title":{},"content":{"396":{"position":[[777,18]]}},"keywords":{}}],["datastor",{"_index":316,"title":{"19":{"position":[[4,10]]},"1092":{"position":[[7,9]]}},"content":{"19":{"position":[[58,9],[620,9],[790,9]]},"475":{"position":[[114,10]]},"630":{"position":[[588,10]]},"701":{"position":[[982,9]]},"1092":{"position":[[166,9],[323,9],[499,9]]},"1093":{"position":[[94,10]]},"1124":{"position":[[724,10]]}},"keywords":{}}],["datastore.query(post",{"_index":336,"title":{},"content":{"19":{"position":[[659,21],[831,21]]}},"keywords":{}}],["data—rath",{"_index":3112,"title":{},"content":{"477":{"position":[[290,11]]}},"keywords":{}}],["date",{"_index":1174,"title":{},"content":{"158":{"position":[[327,4]]},"185":{"position":[[191,4]]},"267":{"position":[[811,4]]},"288":{"position":[[155,4]]},"293":{"position":[[362,4]]},"316":{"position":[[370,5]]},"340":{"position":[[174,4]]},"367":{"position":[[1019,5]]},"411":{"position":[[4286,4]]},"412":{"position":[[4286,4],[6264,4]]},"504":{"position":[[1208,4]]},"602":{"position":[[511,4]]},"696":{"position":[[384,4]]},"723":{"position":[[1229,5]]},"749":{"position":[[12006,6]]},"799":{"position":[[32,4],[206,4]]},"861":{"position":[[377,5]]},"897":{"position":[[347,5]]},"904":{"position":[[1063,5]]},"1085":{"position":[[19,5],[126,6],[196,6],[315,4],[527,4],[585,4]]},"1124":{"position":[[1144,5]]}},"keywords":{}}],["date().gettim",{"_index":4102,"title":{},"content":{"739":{"position":[[722,16]]},"1048":{"position":[[475,17]]},"1085":{"position":[[3798,16]]},"1177":{"position":[[501,16]]}},"keywords":{}}],["date().toisostr",{"_index":5258,"title":{},"content":{"904":{"position":[[1240,20]]}},"keywords":{}}],["date().tojson",{"_index":3945,"title":{},"content":{"698":{"position":[[2795,16],[2863,16],[2930,16]]}},"keywords":{}}],["date().totimestr",{"_index":3607,"title":{},"content":{"612":{"position":[[2274,22]]}},"keywords":{}}],["date(olddoc.time).gettim",{"_index":4446,"title":{},"content":{"751":{"position":[[653,28],[896,28],[1755,28]]}},"keywords":{}}],["date.now",{"_index":5512,"title":{},"content":{"995":{"position":[[1747,10],[1979,11]]}},"keywords":{}}],["date.now().tostr",{"_index":1958,"title":{},"content":{"335":{"position":[[750,22]]}},"keywords":{}}],["date.toisostr",{"_index":5890,"title":{},"content":{"1085":{"position":[[553,19]]}},"keywords":{}}],["datetime.now()}"",{"_index":1282,"title":{},"content":{"188":{"position":[[2902,24]]}},"keywords":{}}],["dave",{"_index":4692,"title":{},"content":{"813":{"position":[[320,6]]}},"keywords":{}}],["day",{"_index":2724,"title":{},"content":{"412":{"position":[[7951,5]]},"419":{"position":[[14,4],[1048,4]]},"450":{"position":[[690,4]]},"697":{"position":[[195,5]]},"783":{"position":[[330,4]]},"1162":{"position":[[444,4]]},"1181":{"position":[[531,4]]},"1316":{"position":[[540,4]]}},"keywords":{}}],["db",{"_index":355,"title":{},"content":{"20":{"position":[[158,2]]},"41":{"position":[[214,2]]},"51":{"position":[[688,2],[891,3]]},"188":{"position":[[959,2],[1474,3]]},"209":{"position":[[231,2],[1273,3]]},"211":{"position":[[201,2]]},"255":{"position":[[578,2],[1604,3]]},"258":{"position":[[139,2]]},"266":{"position":[[653,2]]},"314":{"position":[[464,2],[913,3]]},"315":{"position":[[527,2],[930,3]]},"334":{"position":[[139,2],[322,2],[775,3]]},"335":{"position":[[191,2]]},"370":{"position":[[157,2]]},"392":{"position":[[332,2]]},"411":{"position":[[2024,2],[2548,2],[2652,2],[4433,2]]},"412":{"position":[[9775,2],[9951,2],[10528,3],[11223,2],[11990,2],[12603,2],[12765,3]]},"478":{"position":[[216,2]]},"480":{"position":[[357,2],[926,3]]},"482":{"position":[[602,2],[1042,3]]},"522":{"position":[[403,2]]},"538":{"position":[[418,2]]},"554":{"position":[[1041,2],[1556,3]]},"555":{"position":[[196,2]]},"562":{"position":[[156,2]]},"563":{"position":[[468,2]]},"564":{"position":[[572,2]]},"566":{"position":[[920,3]]},"579":{"position":[[331,2],[789,3]]},"580":{"position":[[366,7],[402,3],[433,2]]},"598":{"position":[[425,2],[921,3]]},"601":{"position":[[438,7],[516,2]]},"632":{"position":[[1277,2],[1885,3]]},"638":{"position":[[419,2]]},"653":{"position":[[242,2]]},"672":{"position":[[190,2]]},"673":{"position":[[196,2]]},"674":{"position":[[479,2]]},"693":{"position":[[1163,2]]},"710":{"position":[[1684,2]]},"711":{"position":[[1144,2]]},"717":{"position":[[1144,2]]},"718":{"position":[[647,2]]},"720":{"position":[[282,2]]},"734":{"position":[[469,2]]},"739":{"position":[[273,2],[567,2]]},"745":{"position":[[518,2]]},"749":{"position":[[6236,2],[6491,2]]},"759":{"position":[[349,2],[489,2]]},"760":{"position":[[485,2]]},"772":{"position":[[759,2]]},"773":{"position":[[549,2]]},"774":{"position":[[651,2]]},"793":{"position":[[1261,2]]},"829":{"position":[[628,2],[874,3],[1518,2]]},"836":{"position":[[678,2]]},"837":{"position":[[2100,2]]},"841":{"position":[[1498,3]]},"849":{"position":[[891,3],[905,8]]},"862":{"position":[[528,2]]},"872":{"position":[[1702,2],[3287,3],[3960,2]]},"898":{"position":[[2310,2]]},"904":{"position":[[703,2]]},"916":{"position":[[294,2]]},"932":{"position":[[1032,2]]},"960":{"position":[[271,2]]},"962":{"position":[[742,2]]},"968":{"position":[[496,2]]},"1085":{"position":[[3540,2]]},"1126":{"position":[[356,2],[669,2]]},"1134":{"position":[[126,2]]},"1138":{"position":[[270,2]]},"1139":{"position":[[525,2]]},"1140":{"position":[[584,2]]},"1144":{"position":[[174,2]]},"1145":{"position":[[514,2]]},"1146":{"position":[[219,2]]},"1148":{"position":[[1113,2]]},"1149":{"position":[[906,2]]},"1158":{"position":[[182,2]]},"1159":{"position":[[368,2]]},"1163":{"position":[[528,2]]},"1168":{"position":[[130,2]]},"1172":{"position":[[295,2]]},"1177":{"position":[[603,3]]},"1182":{"position":[[532,2]]},"1184":{"position":[[771,2]]},"1201":{"position":[[170,2]]},"1286":{"position":[[479,2]]},"1287":{"position":[[529,2]]},"1288":{"position":[[495,2]]}},"keywords":{}}],["db.addcollect",{"_index":780,"title":{},"content":{"51":{"position":[[829,19]]},"188":{"position":[[1180,19]]},"209":{"position":[[364,19]]},"211":{"position":[[325,19]]},"255":{"position":[[708,19]]},"259":{"position":[[7,19]]},"314":{"position":[[673,19]]},"315":{"position":[[646,19]]},"316":{"position":[[116,19]]},"334":{"position":[[561,19]]},"392":{"position":[[532,19],[1497,19]]},"480":{"position":[[473,19]]},"482":{"position":[[760,19]]},"538":{"position":[[852,19]]},"554":{"position":[[1253,19]]},"562":{"position":[[480,19]]},"564":{"position":[[699,19]]},"579":{"position":[[569,19]]},"598":{"position":[[859,19]]},"632":{"position":[[1458,19]]},"638":{"position":[[537,19]]},"639":{"position":[[300,19]]},"680":{"position":[[1139,19]]},"717":{"position":[[1599,19]]},"734":{"position":[[854,19]]},"739":{"position":[[413,19]]},"772":{"position":[[930,19]]},"829":{"position":[[727,19]]},"862":{"position":[[813,19]]},"872":{"position":[[1820,19],[4050,19]]},"898":{"position":[[2400,19]]},"904":{"position":[[797,19]]},"939":{"position":[[156,19]]},"1149":{"position":[[1009,19]]},"1158":{"position":[[297,19]]},"1231":{"position":[[1096,19]]}},"keywords":{}}],["db.all(sqlqueri",{"_index":4007,"title":{},"content":{"711":{"position":[[1576,16]]}},"keywords":{}}],["db.cities.findone().where('name').equals('tokyo').exec",{"_index":6535,"title":{},"content":{"1315":{"position":[[575,57]]}},"keywords":{}}],["db.customers.find().where('city_id').equals(citydocument.id).exec",{"_index":6537,"title":{},"content":{"1315":{"position":[[665,68]]}},"keywords":{}}],["db.execute('select",{"_index":4774,"title":{},"content":{"836":{"position":[[950,18]]}},"keywords":{}}],["db.file",{"_index":5661,"title":{},"content":{"1033":{"position":[[565,9]]}},"keywords":{}}],["db.files.addpipelin",{"_index":5660,"title":{},"content":{"1033":{"position":[[499,22]]}},"keywords":{}}],["db.folder",{"_index":5664,"title":{},"content":{"1033":{"position":[[794,11]]}},"keywords":{}}],["db.folders.addpipelin",{"_index":5663,"title":{},"content":{"1033":{"position":[[730,24]]}},"keywords":{}}],["db.hero",{"_index":1098,"title":{},"content":{"130":{"position":[[472,8]]},"143":{"position":[[435,8],[616,8]]},"335":{"position":[[255,7]]},"563":{"position":[[688,10]]},"580":{"position":[[490,7]]},"939":{"position":[[229,10]]}},"keywords":{}}],["db.hero.insert",{"_index":1957,"title":{},"content":{"335":{"position":[[729,16]]}},"keywords":{}}],["db.heroes.bulkinsert",{"_index":793,"title":{},"content":{"52":{"position":[[184,22]]},"539":{"position":[[184,22]]},"599":{"position":[[193,22]]}},"keywords":{}}],["db.heroes.find",{"_index":3226,"title":{},"content":{"502":{"position":[[921,16]]},"518":{"position":[[388,16]]},"571":{"position":[[862,16]]},"601":{"position":[[581,17]]},"602":{"position":[[240,20]]}},"keywords":{}}],["db.heroes.find().exec",{"_index":801,"title":{},"content":{"52":{"position":[[342,24]]},"539":{"position":[[342,24]]},"562":{"position":[[670,24]]},"599":{"position":[[369,24]]}},"keywords":{}}],["db.heroes.findon",{"_index":803,"title":{},"content":{"52":{"position":[[389,19],[479,19],[626,19]]},"539":{"position":[[389,19],[479,19],[626,19]]},"599":{"position":[[416,19],[506,19],[657,19]]}},"keywords":{}}],["db.heroes.insert",{"_index":788,"title":{},"content":{"52":{"position":[[90,18]]},"539":{"position":[[90,18]]},"562":{"position":[[557,18]]},"599":{"position":[[90,18]]}},"keywords":{}}],["db.human",{"_index":4903,"title":{},"content":{"862":{"position":[[885,10]]},"872":{"position":[[2521,10],[3427,9],[4532,10]]},"898":{"position":[[3393,10]]},"1149":{"position":[[1385,10]]}},"keywords":{}}],["db.humans.syncgraphql",{"_index":6278,"title":{},"content":{"1231":{"position":[[1165,25]]}},"keywords":{}}],["db.item",{"_index":2230,"title":{},"content":{"392":{"position":[[755,9]]}},"keywords":{}}],["db.j",{"_index":3488,"title":{},"content":{"579":{"position":[[161,5]]}},"keywords":{}}],["db.run("cr",{"_index":4002,"title":{},"content":{"711":{"position":[[1259,19]]}},"keywords":{}}],["db.run("insert",{"_index":4004,"title":{},"content":{"711":{"position":[[1316,19]]}},"keywords":{}}],["db.securedata.findon",{"_index":3356,"title":{},"content":{"555":{"position":[[474,23]]},"556":{"position":[[816,23]]}},"keywords":{}}],["db.securedata.insert",{"_index":3353,"title":{},"content":{"555":{"position":[[275,22]]}},"keywords":{}}],["db.serial",{"_index":4001,"title":{},"content":{"711":{"position":[[1235,15]]}},"keywords":{}}],["db.servic",{"_index":4726,"title":{},"content":{"825":{"position":[[667,16]]}},"keywords":{}}],["db.t",{"_index":3536,"title":{},"content":{"598":{"position":[[261,5]]}},"keywords":{}}],["db.task",{"_index":1346,"title":{},"content":{"209":{"position":[[658,9]]},"210":{"position":[[300,9]]},"255":{"position":[[1009,9]]},"261":{"position":[[373,9]]},"480":{"position":[[714,8]]},"481":{"position":[[678,9]]},"632":{"position":[[1751,8],[1926,8],[2246,9]]}},"keywords":{}}],["db.tasks.find",{"_index":6103,"title":{},"content":{"1158":{"position":[[682,15]]}},"keywords":{}}],["db.tasks.insert",{"_index":6100,"title":{},"content":{"1158":{"position":[[568,17]]}},"keywords":{}}],["db.temperature.insert",{"_index":4100,"title":{},"content":{"739":{"position":[[673,23]]}},"keywords":{}}],["db.todo",{"_index":5260,"title":{},"content":{"904":{"position":[[1891,9]]}},"keywords":{}}],["db.todos.insert",{"_index":5257,"title":{},"content":{"904":{"position":[[1158,17]]}},"keywords":{}}],["db.transaction('largestor",{"_index":1805,"title":{},"content":{"302":{"position":[[696,28]]}},"keywords":{}}],["db.transaction('product",{"_index":2994,"title":{},"content":{"459":{"position":[[637,26]]}},"keywords":{}}],["db.transaction([storenam",{"_index":6428,"title":{},"content":{"1294":{"position":[[828,27]]}},"keywords":{}}],["db.users.find",{"_index":4569,"title":{},"content":{"772":{"position":[[1018,15]]}},"keywords":{}}],["db.users.insert({id",{"_index":3877,"title":{},"content":{"680":{"position":[[1237,20]]}},"keywords":{}}],["db.vector",{"_index":2238,"title":{},"content":{"392":{"position":[[1758,10]]}},"keywords":{}}],["db.voxel",{"_index":5555,"title":{},"content":{"1007":{"position":[[50,10],[1413,10]]}},"keywords":{}}],["db.waitforleadership",{"_index":4094,"title":{},"content":{"739":{"position":[[471,22]]}},"keywords":{}}],["db1",{"_index":4195,"title":{},"content":{"749":{"position":[[4719,3]]},"966":{"position":[[525,3]]},"967":{"position":[[110,3],[367,3],[378,3]]}},"keywords":{}}],["db11",{"_index":4215,"title":{},"content":{"749":{"position":[[6203,4]]}},"keywords":{}}],["db12",{"_index":4216,"title":{},"content":{"749":{"position":[[6339,4]]}},"keywords":{}}],["db13",{"_index":4217,"title":{},"content":{"749":{"position":[[6458,4]]}},"keywords":{}}],["db14",{"_index":4218,"title":{},"content":{"749":{"position":[[6600,4]]}},"keywords":{}}],["db2",{"_index":4197,"title":{},"content":{"749":{"position":[[4854,3]]},"966":{"position":[[643,3]]},"967":{"position":[[228,3]]}},"keywords":{}}],["db3",{"_index":4200,"title":{},"content":{"749":{"position":[[4986,3]]}},"keywords":{}}],["db4",{"_index":4202,"title":{},"content":{"749":{"position":[[5138,3]]}},"keywords":{}}],["db5",{"_index":4203,"title":{},"content":{"749":{"position":[[5240,3]]}},"keywords":{}}],["db6",{"_index":4204,"title":{},"content":{"749":{"position":[[5352,3]]}},"keywords":{}}],["db8",{"_index":4207,"title":{},"content":{"749":{"position":[[5559,3]]}},"keywords":{}}],["db9",{"_index":4213,"title":{},"content":{"749":{"position":[[6067,3]]}},"keywords":{}}],["dblocat",{"_index":4489,"title":{},"content":{"759":{"position":[[385,11]]}},"keywords":{}}],["dbmongo",{"_index":5388,"title":{},"content":{"962":{"position":[[953,7]]}},"keywords":{}}],["dbservic",{"_index":815,"title":{},"content":{"54":{"position":[[80,10]]},"130":{"position":[[384,10]]},"825":{"position":[[650,9],[930,9]]}},"keywords":{}}],["de",{"_index":2459,"title":{},"content":{"401":{"position":[[349,2]]},"800":{"position":[[386,2]]},"1072":{"position":[[196,2]]},"1114":{"position":[[376,2]]},"1321":{"position":[[872,2]]}},"keywords":{}}],["de/flexsearch#index",{"_index":4060,"title":{},"content":{"724":{"position":[[1451,19]]}},"keywords":{}}],["de/flexsearch#search",{"_index":4065,"title":{},"content":{"724":{"position":[[1757,20]]}},"keywords":{}}],["deadlin",{"_index":3454,"title":{},"content":{"569":{"position":[[442,10]]},"699":{"position":[[970,8]]}},"keywords":{}}],["deadlock",{"_index":5658,"title":{},"content":{"1033":{"position":[[421,8],[870,8],[907,10]]}},"keywords":{}}],["deal",{"_index":931,"title":{},"content":{"65":{"position":[[1586,4]]},"169":{"position":[[268,7]]},"173":{"position":[[2102,7]]},"174":{"position":[[2524,7]]},"223":{"position":[[97,7]]},"265":{"position":[[879,7]]},"276":{"position":[[204,7]]},"279":{"position":[[322,7]]},"282":{"position":[[72,7]]},"291":{"position":[[376,4]]},"369":{"position":[[489,7]]},"372":{"position":[[272,7]]},"395":{"position":[[410,7]]},"408":{"position":[[1780,4]]},"412":{"position":[[15047,4]]},"420":{"position":[[775,4]]},"432":{"position":[[141,7]]},"508":{"position":[[138,7]]},"525":{"position":[[78,7]]},"526":{"position":[[242,7]]},"548":{"position":[[271,7]]},"608":{"position":[[269,7]]},"1319":{"position":[[164,4]]}},"keywords":{}}],["debounc",{"_index":1145,"title":{},"content":{"146":{"position":[[89,11]]}},"keywords":{}}],["debug",{"_index":598,"title":{},"content":{"38":{"position":[[893,5]]},"281":{"position":[[414,9]]},"364":{"position":[[806,9]]},"689":{"position":[[326,10]]},"729":{"position":[[399,6]]},"846":{"position":[[1431,9]]},"890":{"position":[[127,9]]},"1010":{"position":[[49,6],[218,5],[265,5]]},"1085":{"position":[[297,6],[3164,6]]},"1198":{"position":[[1137,6]]},"1202":{"position":[[438,6]]},"1282":{"position":[[618,5]]},"1305":{"position":[[309,6]]}},"keywords":{}}],["decad",{"_index":2528,"title":{},"content":{"408":{"position":[[482,6]]}},"keywords":{}}],["decemb",{"_index":317,"title":{},"content":{"19":{"position":[[7,8]]}},"keywords":{}}],["decentr",{"_index":473,"title":{},"content":{"29":{"position":[[69,13]]},"91":{"position":[[152,13]]},"289":{"position":[[656,13]]},"411":{"position":[[4866,17],[5224,13]]},"504":{"position":[[1417,13]]},"901":{"position":[[763,13]]},"903":{"position":[[268,14]]},"908":{"position":[[111,13]]}},"keywords":{}}],["decid",{"_index":1966,"title":{},"content":{"339":{"position":[[97,6]]},"412":{"position":[[128,8],[2320,7]]},"569":{"position":[[751,6]]},"590":{"position":[[852,6]]},"688":{"position":[[415,6]]},"698":{"position":[[2026,6]]},"701":{"position":[[877,6]]},"861":{"position":[[192,6]]},"1004":{"position":[[580,6]]},"1087":{"position":[[192,6]]},"1124":{"position":[[247,6],[411,6],[658,6]]}},"keywords":{}}],["decim",{"_index":2355,"title":{},"content":{"397":{"position":[[301,8]]}},"keywords":{}}],["decis",{"_index":2628,"title":{"981":{"position":[[7,9]]},"1071":{"position":[[7,10]]}},"content":{"411":{"position":[[3526,8]]},"412":{"position":[[5982,9]]},"441":{"position":[[631,9]]},"686":{"position":[[136,8]]},"1091":{"position":[[105,8]]}},"keywords":{}}],["decisions.y",{"_index":3907,"title":{},"content":{"690":{"position":[[140,13]]}},"keywords":{}}],["declar",{"_index":2942,"title":{},"content":{"445":{"position":[[1460,11]]},"674":{"position":[[267,7]]},"749":{"position":[[17924,7],[18046,7]]},"841":{"position":[[1241,11]]},"1018":{"position":[[723,7]]},"1311":{"position":[[18,7]]}},"keywords":{}}],["decod",{"_index":117,"title":{},"content":{"8":{"position":[[500,7],[610,7]]},"1213":{"position":[[281,6]]}},"keywords":{}}],["decompress",{"_index":2085,"title":{},"content":{"361":{"position":[[1053,12]]},"932":{"position":[[486,10]]}},"keywords":{}}],["decreas",{"_index":1398,"title":{"217":{"position":[[0,9]]}},"content":{"217":{"position":[[30,9]]},"311":{"position":[[114,9]]},"402":{"position":[[1638,10]]},"411":{"position":[[314,9]]},"534":{"position":[[649,10]]},"594":{"position":[[647,10]]},"639":{"position":[[167,10]]},"656":{"position":[[171,9]]},"698":{"position":[[2904,9]]},"820":{"position":[[414,9]]},"964":{"position":[[528,8]]},"966":{"position":[[387,8]]},"1093":{"position":[[414,8]]},"1094":{"position":[[604,10]]},"1124":{"position":[[1431,9]]},"1198":{"position":[[918,9]]},"1267":{"position":[[346,8]]}},"keywords":{}}],["decrypt",{"_index":1690,"title":{},"content":{"291":{"position":[[297,10]]},"315":{"position":[[1120,8]]},"412":{"position":[[13343,10]]},"555":{"position":[[147,9]]},"556":{"position":[[1315,9]]},"714":{"position":[[33,10],[229,8],[882,7]]},"716":{"position":[[400,7],[454,9]]},"723":{"position":[[2033,9]]},"971":{"position":[[142,7]]},"1038":{"position":[[99,9]]}},"keywords":{}}],["decryption.if",{"_index":3373,"title":{},"content":{"556":{"position":[[1188,13]]}},"keywords":{}}],["dedic",{"_index":1589,"title":{},"content":{"261":{"position":[[1150,9]]},"321":{"position":[[465,9]]},"390":{"position":[[1815,9]]},"520":{"position":[[268,9]]},"574":{"position":[[847,10]]},"579":{"position":[[63,9]]},"590":{"position":[[147,9]]},"1007":{"position":[[446,9]]}},"keywords":{}}],["deep",{"_index":880,"title":{},"content":{"61":{"position":[[15,4]]},"412":{"position":[[4772,4]]},"457":{"position":[[350,4]]},"875":{"position":[[5003,4]]},"1052":{"position":[[32,4],[97,4]]},"1108":{"position":[[688,4]]},"1309":{"position":[[698,4]]}},"keywords":{}}],["deepequ",{"_index":2687,"title":{},"content":{"412":{"position":[[4442,9],[4817,9]]},"1309":{"position":[[445,9],[743,9]]}},"keywords":{}}],["deepequal(a",{"_index":2694,"title":{},"content":{"412":{"position":[[4999,12]]},"1309":{"position":[[916,12]]}},"keywords":{}}],["deeper",{"_index":2123,"title":{},"content":{"369":{"position":[[24,6]]},"483":{"position":[[769,6]]},"567":{"position":[[27,6]]},"824":{"position":[[27,6]]},"839":{"position":[[167,6]]},"901":{"position":[[523,6]]}},"keywords":{}}],["deepli",{"_index":1999,"title":{},"content":{"352":{"position":[[37,6]]}},"keywords":{}}],["default",{"_index":54,"title":{"816":{"position":[[4,7]]},"1082":{"position":[[0,8]]}},"content":{"3":{"position":[[96,8]]},"298":{"position":[[855,7]]},"396":{"position":[[1954,7]]},"410":{"position":[[475,8],[1866,7]]},"411":{"position":[[4596,7],[5819,8]]},"421":{"position":[[1050,7]]},"494":{"position":[[432,7]]},"496":{"position":[[656,9],[673,7]]},"522":{"position":[[629,8],[695,8]]},"524":{"position":[[306,7]]},"559":{"position":[[787,7]]},"562":{"position":[[1582,7]]},"616":{"position":[[715,7]]},"617":{"position":[[1514,7],[1971,7]]},"635":{"position":[[201,8]]},"653":{"position":[[93,8]]},"656":{"position":[[214,8]]},"660":{"position":[[113,7]]},"681":{"position":[[4,8]]},"682":{"position":[[4,8]]},"698":{"position":[[377,7]]},"724":{"position":[[1349,8]]},"732":{"position":[[64,7]]},"746":{"position":[[4,8],[399,10],[440,8]]},"749":{"position":[[17425,7],[22910,7]]},"752":{"position":[[4,8]]},"759":{"position":[[848,9]]},"773":{"position":[[654,7]]},"815":{"position":[[238,7]]},"816":{"position":[[5,7]]},"818":{"position":[[359,8]]},"829":{"position":[[1855,7]]},"837":{"position":[[1897,7]]},"841":{"position":[[728,7]]},"854":{"position":[[1133,8]]},"886":{"position":[[488,8]]},"890":{"position":[[462,8]]},"898":{"position":[[330,8],[1113,7],[1184,7]]},"904":{"position":[[1010,8],[1645,7]]},"906":{"position":[[201,7],[1148,7]]},"907":{"position":[[4,7]]},"960":{"position":[[524,8],[590,8]]},"965":{"position":[[375,7]]},"968":{"position":[[4,8]]},"986":{"position":[[1388,8]]},"987":{"position":[[748,7]]},"988":{"position":[[620,7],[828,7],[1052,7],[1620,7]]},"995":{"position":[[871,9]]},"1002":{"position":[[4,8]]},"1066":{"position":[[4,8]]},"1082":{"position":[[1,7],[124,7],[406,8],[427,7]]},"1088":{"position":[[546,7]]},"1103":{"position":[[124,7]]},"1125":{"position":[[567,10]]},"1126":{"position":[[568,8]]},"1134":{"position":[[531,7]]},"1157":{"position":[[431,7]]},"1162":{"position":[[932,7]]},"1164":{"position":[[310,8]]},"1172":{"position":[[515,8]]},"1181":{"position":[[884,7]]},"1185":{"position":[[52,7]]},"1186":{"position":[[233,7]]},"1282":{"position":[[907,8]]},"1284":{"position":[[314,7]]},"1292":{"position":[[500,8]]},"1309":{"position":[[365,7],[959,7],[1235,7]]}},"keywords":{}}],["default).opf",{"_index":3716,"title":{},"content":{"640":{"position":[[153,14]]}},"keywords":{}}],["default:tru",{"_index":5547,"title":{},"content":{"1003":{"position":[[346,12]]}},"keywords":{}}],["default='_delet",{"_index":5460,"title":{},"content":{"988":{"position":[[2239,20]]}},"keywords":{}}],["default='servertimestamp",{"_index":4877,"title":{},"content":{"854":{"position":[[1577,27]]}},"keywords":{}}],["default='strong",{"_index":6017,"title":{},"content":{"1125":{"position":[[423,16]]}},"keywords":{}}],["default=100",{"_index":5125,"title":{},"content":{"886":{"position":[[1736,13]]},"1125":{"position":[[725,11]]}},"keywords":{}}],["default=300",{"_index":6046,"title":{},"content":{"1138":{"position":[[587,13]]}},"keywords":{}}],["default=5",{"_index":3755,"title":{},"content":{"653":{"position":[[923,10]]}},"keywords":{}}],["default=50",{"_index":6043,"title":{},"content":{"1134":{"position":[[754,12]]},"1164":{"position":[[255,12]]}},"keywords":{}}],["default=60",{"_index":3752,"title":{},"content":{"653":{"position":[[753,11]]}},"keywords":{}}],["default=60000",{"_index":4829,"title":{},"content":{"846":{"position":[[1038,14]]}},"keywords":{}}],["default=dis",{"_index":4874,"title":{},"content":{"854":{"position":[[962,18]]}},"keywords":{}}],["default=fals",{"_index":5783,"title":{},"content":{"1067":{"position":[[2458,15]]},"1164":{"position":[[1084,13]]}},"keywords":{}}],["default=on",{"_index":3749,"title":{},"content":{"653":{"position":[[467,12]]}},"keywords":{}}],["default=tru",{"_index":3756,"title":{},"content":{"653":{"position":[[1195,14],[1445,14]]},"846":{"position":[[389,14]]},"854":{"position":[[1055,14]]},"934":{"position":[[635,14]]},"988":{"position":[[1426,14]]}},"keywords":{}}],["defaultconflicthandl",{"_index":6495,"title":{},"content":{"1309":{"position":[[497,23]]}},"keywords":{}}],["defaultsasynchron",{"_index":4518,"title":{},"content":{"765":{"position":[[178,20]]}},"keywords":{}}],["defeat",{"_index":3627,"title":{},"content":{"614":{"position":[[967,7]]},"1316":{"position":[[3664,7]]}},"keywords":{}}],["defin",{"_index":590,"title":{"259":{"position":[[0,6]]}},"content":{"38":{"position":[[438,6]]},"51":{"position":[[236,6]]},"134":{"position":[[182,6]]},"135":{"position":[[270,7]]},"138":{"position":[[50,6]]},"166":{"position":[[196,8]]},"182":{"position":[[227,6]]},"194":{"position":[[126,6]]},"205":{"position":[[129,6]]},"212":{"position":[[263,6]]},"222":{"position":[[183,7]]},"252":{"position":[[159,6]]},"262":{"position":[[409,6]]},"280":{"position":[[12,8]]},"281":{"position":[[229,7]]},"360":{"position":[[708,6]]},"361":{"position":[[51,6]]},"367":{"position":[[752,6]]},"382":{"position":[[76,6]]},"392":{"position":[[1331,6]]},"398":{"position":[[1785,7]]},"403":{"position":[[451,6]]},"438":{"position":[[133,7]]},"482":{"position":[[723,6]]},"496":{"position":[[726,6]]},"527":{"position":[[104,6]]},"538":{"position":[[537,6]]},"554":{"position":[[1207,6]]},"567":{"position":[[257,8]]},"587":{"position":[[4,8]]},"590":{"position":[[644,6]]},"598":{"position":[[544,6]]},"617":{"position":[[376,7]]},"632":{"position":[[1421,6],[2296,6]]},"636":{"position":[[275,6]]},"638":{"position":[[212,7],[786,6]]},"678":{"position":[[30,7]]},"680":{"position":[[118,7]]},"688":{"position":[[392,6],[841,6]]},"715":{"position":[[15,6]]},"717":{"position":[[1305,6]]},"729":{"position":[[130,8]]},"749":{"position":[[1918,7],[2971,7],[12806,6],[17336,7],[17452,7],[17667,7],[18850,7],[19614,7]]},"751":{"position":[[1153,7]]},"759":{"position":[[1227,7],[1525,6]]},"780":{"position":[[351,7]]},"784":{"position":[[113,6]]},"788":{"position":[[13,7]]},"790":{"position":[[22,7]]},"792":{"position":[[24,7]]},"815":{"position":[[71,7],[298,8]]},"854":{"position":[[1388,7]]},"861":{"position":[[1313,6],[1899,6]]},"898":{"position":[[2028,6]]},"936":{"position":[[12,7]]},"937":{"position":[[63,6]]},"961":{"position":[[282,6]]},"988":{"position":[[2921,7]]},"1007":{"position":[[11,6]]},"1067":{"position":[[1511,7]]},"1074":{"position":[[27,6]]},"1078":{"position":[[9,6]]},"1079":{"position":[[43,7]]},"1082":{"position":[[28,7]]},"1085":{"position":[[341,6],[1136,6],[2146,7]]},"1100":{"position":[[482,6]]},"1108":{"position":[[66,7],[504,7]]},"1132":{"position":[[285,6]]},"1164":{"position":[[191,7]]},"1186":{"position":[[157,7]]},"1207":{"position":[[627,7]]},"1220":{"position":[[122,6]]}},"keywords":{}}],["defined</span>",{"_index":6185,"title":{},"content":{"1202":{"position":[[174,20]]}},"keywords":{}}],["definit",{"_index":1991,"title":{},"content":{"351":{"position":[[45,11]]},"360":{"position":[[281,12]]},"679":{"position":[[268,10]]},"700":{"position":[[158,10]]},"829":{"position":[[298,12]]},"1074":{"position":[[227,10]]}},"keywords":{}}],["deflat",{"_index":5316,"title":{},"content":{"932":{"position":[[1284,9],[1344,11]]}},"keywords":{}}],["degrad",{"_index":868,"title":{},"content":{"58":{"position":[[160,7]]},"300":{"position":[[815,7]]},"430":{"position":[[523,7]]},"587":{"position":[[182,8]]}},"keywords":{}}],["degre",{"_index":4101,"title":{},"content":{"739":{"position":[[697,8]]}},"keywords":{}}],["delay",{"_index":2126,"title":{},"content":{"369":{"position":[[1144,6]]},"394":{"position":[[1691,5]]},"407":{"position":[[428,5]]},"408":{"position":[[2344,6]]},"410":{"position":[[122,5]]},"415":{"position":[[226,8],[452,6]]},"486":{"position":[[101,6]]},"569":{"position":[[506,7]]},"571":{"position":[[290,6]]},"610":{"position":[[767,6],[1319,6]]},"630":{"position":[[157,5],[340,7]]},"632":{"position":[[1965,6]]},"801":{"position":[[527,6]]},"1119":{"position":[[160,5]]}},"keywords":{}}],["delet",{"_index":809,"title":{"684":{"position":[[0,8]]},"855":{"position":[[9,8]]},"867":{"position":[[9,8]]},"1049":{"position":[[0,9]]},"1050":{"position":[[4,8]]}},"content":{"52":{"position":[[601,6]]},"181":{"position":[[201,7]]},"305":{"position":[[587,8]]},"411":{"position":[[1269,7]]},"539":{"position":[[601,6]]},"599":{"position":[[628,6]]},"649":{"position":[[446,8]]},"653":{"position":[[419,7],[1123,7]]},"654":{"position":[[348,7],[394,7]]},"655":{"position":[[305,6],[371,7],[394,6],[466,7]]},"659":{"position":[[630,6]]},"684":{"position":[[9,6]]},"697":{"position":[[134,7],[318,7]]},"749":{"position":[[10624,7],[10739,7]]},"754":{"position":[[474,6]]},"778":{"position":[[79,8]]},"802":{"position":[[389,10]]},"826":{"position":[[652,7]]},"855":{"position":[[34,6],[95,8],[237,8]]},"861":{"position":[[1554,7],[1598,7],[1658,7],[1702,8],[2045,7],[2143,7],[2538,8]]},"862":{"position":[[1312,10],[1348,8]]},"867":{"position":[[34,6],[95,8],[232,8]]},"872":{"position":[[1159,9],[1325,7]]},"885":{"position":[[600,8],[695,8]]},"886":{"position":[[723,7],[1963,10],[2437,7],[3637,7],[4914,9]]},"887":{"position":[[643,6]]},"898":{"position":[[450,6],[506,8],[550,8],[580,7],[612,8],[661,9],[3578,6],[4442,8]]},"951":{"position":[[268,8]]},"955":{"position":[[142,6]]},"986":{"position":[[355,8],[434,8],[577,7],[1067,8],[1091,7],[1475,7]]},"988":{"position":[[1669,7],[1759,8],[1995,7],[2043,7],[2156,7],[2277,10],[3115,7]]},"999":{"position":[[29,7],[174,6],[219,6]]},"1004":{"position":[[618,8]]},"1007":{"position":[[1908,6]]},"1048":{"position":[[247,8]]},"1049":{"position":[[63,7]]},"1050":{"position":[[38,9]]},"1051":{"position":[[409,7]]},"1062":{"position":[[1,7],[70,7]]},"1102":{"position":[[1351,6]]},"1140":{"position":[[183,6]]}},"keywords":{}}],["deletedat",{"_index":5459,"title":{},"content":{"988":{"position":[[2204,11]]},"1048":{"position":[[164,9],[460,10]]}},"keywords":{}}],["deletedfield",{"_index":4879,"title":{},"content":{"855":{"position":[[296,12]]},"861":{"position":[[1908,12],[2117,15]]},"862":{"position":[[1298,13]]},"867":{"position":[[291,12]]},"886":{"position":[[1949,13],[4900,13]]},"898":{"position":[[3981,13]]},"986":{"position":[[1510,12]]},"988":{"position":[[2263,13]]}},"keywords":{}}],["deliv",{"_index":892,"title":{},"content":{"61":{"position":[[489,10]]},"267":{"position":[[357,9]]},"269":{"position":[[131,7]]},"283":{"position":[[416,10]]},"292":{"position":[[393,7]]},"317":{"position":[[248,10]]},"385":{"position":[[86,8]]},"408":{"position":[[5292,7]]},"410":{"position":[[458,8]]},"411":{"position":[[1798,10]]},"445":{"position":[[2480,10]]},"447":{"position":[[473,7]]},"483":{"position":[[56,8]]},"491":{"position":[[855,8]]},"498":{"position":[[561,7]]},"530":{"position":[[88,10]]},"570":{"position":[[319,9]]},"582":{"position":[[717,7]]},"641":{"position":[[385,8]]},"644":{"position":[[673,10]]}},"keywords":{}}],["delta",{"_index":591,"title":{},"content":{"38":{"position":[[456,5]]},"411":{"position":[[163,6]]}},"keywords":{}}],["delta"",{"_index":3943,"title":{},"content":{"698":{"position":[[2532,11]]}},"keywords":{}}],["delv",{"_index":903,"title":{},"content":{"65":{"position":[[75,5]]},"271":{"position":[[251,5]]},"278":{"position":[[176,5]]},"290":{"position":[[156,5]]},"369":{"position":[[18,5]]}},"keywords":{}}],["demand",{"_index":1623,"title":{},"content":{"267":{"position":[[1655,7]]},"351":{"position":[[61,6]]},"354":{"position":[[233,7]]},"356":{"position":[[20,6]]},"412":{"position":[[6395,7]]},"418":{"position":[[294,6]]},"435":{"position":[[356,6]]},"441":{"position":[[311,6]]},"502":{"position":[[194,7]]},"510":{"position":[[432,6]]},"574":{"position":[[724,7]]},"624":{"position":[[660,9]]},"1092":{"position":[[669,7]]}},"keywords":{}}],["demo",{"_index":1391,"title":{},"content":{"212":{"position":[[564,5]]},"394":{"position":[[1311,4]]},"480":{"position":[[18,4]]},"498":{"position":[[242,4],[273,4]]},"904":{"position":[[1202,4]]}},"keywords":{}}],["demo</h2>",{"_index":3393,"title":{},"content":{"559":{"position":[[562,15]]}},"keywords":{}}],["demonstr",{"_index":854,"title":{},"content":{"56":{"position":[[106,12]]},"523":{"position":[[224,12]]},"543":{"position":[[186,13]]},"603":{"position":[[184,13]]},"832":{"position":[[53,12]]},"906":{"position":[[308,13]]}},"keywords":{}}],["deni",{"_index":1778,"title":{},"content":{"300":{"position":[[671,4]]}},"keywords":{}}],["deno",{"_index":2931,"title":{"440":{"position":[[16,4]]},"1122":{"position":[[24,4]]},"1126":{"position":[[29,5]]}},"content":{"440":{"position":[[5,4]]},"1123":{"position":[[126,4],[161,4],[181,4],[775,4]]},"1124":{"position":[[286,4],[1226,4],[1762,4]]},"1126":{"position":[[65,4],[183,4],[483,4]]},"1247":{"position":[[452,5],[559,4]]}},"keywords":{}}],["deno.openkv(settings.openkvpath",{"_index":6019,"title":{},"content":{"1125":{"position":[[521,32]]}},"keywords":{}}],["denodeploy",{"_index":6013,"title":{},"content":{"1124":{"position":[[272,10],[1055,10]]},"1126":{"position":[[527,10]]}},"keywords":{}}],["denokv",{"_index":4616,"title":{"1123":{"position":[[8,7]]},"1125":{"position":[[10,6]]},"1126":{"position":[[10,6]]}},"content":{"793":{"position":[[373,6]]},"1123":{"position":[[1,6],[365,6],[450,6],[681,6]]},"1124":{"position":[[12,6],[36,7],[504,6],[689,6],[1004,7],[1488,6],[1571,7],[1624,6],[1826,7],[2152,6]]},"1125":{"position":[[12,6],[251,8]]},"1126":{"position":[[38,6],[328,6],[641,6]]},"1247":{"position":[[428,7],[462,6]]}},"keywords":{}}],["denokvdatabas",{"_index":6021,"title":{},"content":{"1126":{"position":[[392,17],[705,17]]}},"keywords":{}}],["denomin",{"_index":6572,"title":{},"content":{"1320":{"position":[[187,12]]}},"keywords":{}}],["depend",{"_index":122,"title":{"640":{"position":[[24,9]]},"727":{"position":[[5,11]]}},"content":{"8":{"position":[[640,9]]},"59":{"position":[[1,9]]},"128":{"position":[[79,13]]},"188":{"position":[[2097,11],[2290,13]]},"273":{"position":[[185,10]]},"353":{"position":[[4,7]]},"369":{"position":[[1489,9]]},"393":{"position":[[545,9]]},"398":{"position":[[3337,9]]},"408":{"position":[[940,9]]},"411":{"position":[[5348,10]]},"417":{"position":[[375,6]]},"461":{"position":[[661,9],[1025,7],[1553,7]]},"462":{"position":[[773,9]]},"483":{"position":[[173,13]]},"489":{"position":[[546,10]]},"500":{"position":[[483,10]]},"546":{"position":[[1,9]]},"578":{"position":[[42,7]]},"606":{"position":[[1,9]]},"662":{"position":[[1238,12]]},"666":{"position":[[203,12]]},"696":{"position":[[1013,7]]},"707":{"position":[[408,7]]},"710":{"position":[[1432,12]]},"717":{"position":[[1008,7]]},"726":{"position":[[47,12]]},"727":{"position":[[35,10]]},"729":{"position":[[160,12]]},"731":{"position":[[65,10]]},"765":{"position":[[146,9]]},"798":{"position":[[413,7]]},"815":{"position":[[170,9]]},"816":{"position":[[47,9]]},"821":{"position":[[358,9],[615,7]]},"837":{"position":[[1304,12]]},"838":{"position":[[1769,12]]},"872":{"position":[[22,13]]},"875":{"position":[[7643,7]]},"898":{"position":[[11,13]]},"903":{"position":[[47,7]]},"961":{"position":[[221,9]]},"962":{"position":[[191,9],[387,9]]},"988":{"position":[[2076,7]]},"990":{"position":[[367,9]]},"1033":{"position":[[993,12]]},"1049":{"position":[[24,9]]},"1065":{"position":[[1739,6]]},"1067":{"position":[[222,9]]},"1079":{"position":[[211,9]]},"1091":{"position":[[114,7]]},"1112":{"position":[[169,12]]},"1118":{"position":[[142,9]]},"1124":{"position":[[78,9]]},"1134":{"position":[[693,9]]},"1156":{"position":[[55,12]]},"1191":{"position":[[170,9],[477,9]]},"1222":{"position":[[620,9]]},"1227":{"position":[[82,12]]},"1265":{"position":[[75,12]]},"1271":{"position":[[850,9]]},"1296":{"position":[[1220,9]]},"1304":{"position":[[188,9]]},"1307":{"position":[[539,9]]},"1321":{"position":[[351,7]]}},"keywords":{}}],["dependency:npm",{"_index":3260,"title":{},"content":{"522":{"position":[[108,14]]}},"keywords":{}}],["deploy",{"_index":1629,"title":{},"content":{"269":{"position":[[251,8]]},"569":{"position":[[761,6]]},"702":{"position":[[382,6]]},"1123":{"position":[[131,7],[186,7],[266,10]]},"1124":{"position":[[1767,6]]},"1126":{"position":[[188,6]]}},"keywords":{}}],["deprec",{"_index":77,"title":{"1198":{"position":[[29,12]]}},"content":{"5":{"position":[[99,11]]},"435":{"position":[[83,10]]},"696":{"position":[[923,11]]},"835":{"position":[[609,10]]}},"keywords":{}}],["desc",{"_index":2404,"title":{},"content":{"398":{"position":[[1140,6]]},"400":{"position":[[304,6]]}},"keywords":{}}],["descend",{"_index":2323,"title":{},"content":{"394":{"position":[[1128,10]]},"400":{"position":[[243,10],[335,10]]}},"keywords":{}}],["describ",{"_index":723,"title":{},"content":{"47":{"position":[[273,9]]},"51":{"position":[[323,10]]},"538":{"position":[[624,10]]},"598":{"position":[[631,10]]},"704":{"position":[[411,9]]},"808":{"position":[[31,9]]},"830":{"position":[[25,9]]},"831":{"position":[[424,9]]},"832":{"position":[[79,9]]},"1212":{"position":[[222,9]]},"1215":{"position":[[456,9]]},"1311":{"position":[[330,10]]},"1316":{"position":[[1482,8]]}},"keywords":{}}],["described.learn",{"_index":2866,"title":{},"content":{"422":{"position":[[390,15]]}},"keywords":{}}],["descript",{"_index":769,"title":{},"content":{"51":{"position":[[310,12]]},"538":{"position":[[611,12]]},"598":{"position":[[618,12]]},"670":{"position":[[311,12]]},"699":{"position":[[347,12]]},"829":{"position":[[3147,11]]},"1191":{"position":[[585,12]]},"1208":{"position":[[1951,11]]},"1311":{"position":[[317,12]]}},"keywords":{}}],["deseri",{"_index":3056,"title":{},"content":{"464":{"position":[[953,13]]}},"keywords":{}}],["deserv",{"_index":3214,"title":{},"content":{"498":{"position":[[731,8]]}},"keywords":{}}],["design",{"_index":310,"title":{"981":{"position":[[0,6]]},"1071":{"position":[[0,6]]}},"content":{"18":{"position":[[301,8]]},"26":{"position":[[112,8]]},"34":{"position":[[76,8]]},"39":{"position":[[14,8],[253,6]]},"47":{"position":[[122,8]]},"100":{"position":[[24,8]]},"101":{"position":[[151,8]]},"153":{"position":[[73,8]]},"172":{"position":[[119,8]]},"179":{"position":[[52,8]]},"201":{"position":[[210,6]]},"212":{"position":[[108,6]]},"222":{"position":[[41,8]]},"227":{"position":[[15,8]]},"228":{"position":[[220,8]]},"230":{"position":[[9,8]]},"238":{"position":[[42,8]]},"254":{"position":[[9,8]]},"279":{"position":[[96,6]]},"289":{"position":[[80,8]]},"298":{"position":[[343,8]]},"300":{"position":[[796,6]]},"306":{"position":[[72,7]]},"325":{"position":[[145,6]]},"327":{"position":[[70,7]]},"356":{"position":[[891,7]]},"369":{"position":[[433,8]]},"378":{"position":[[62,8]]},"380":{"position":[[16,6]]},"390":{"position":[[1667,8]]},"396":{"position":[[374,8]]},"411":{"position":[[1171,7],[5783,6]]},"432":{"position":[[194,8]]},"444":{"position":[[51,8]]},"453":{"position":[[144,8]]},"460":{"position":[[790,6]]},"520":{"position":[[470,8]]},"525":{"position":[[65,7]]},"535":{"position":[[153,8]]},"595":{"position":[[164,8]]},"612":{"position":[[125,8]]},"613":{"position":[[36,8]]},"614":{"position":[[395,8]]},"618":{"position":[[230,8]]},"623":{"position":[[618,8]]},"631":{"position":[[43,8]]},"640":{"position":[[504,6]]},"686":{"position":[[210,9]]},"691":{"position":[[682,9]]},"698":{"position":[[2297,9]]},"723":{"position":[[2452,8]]},"836":{"position":[[1834,8]]},"902":{"position":[[483,6]]},"981":{"position":[[93,8]]},"990":{"position":[[284,8]]},"1006":{"position":[[232,6]]},"1008":{"position":[[50,6]]},"1072":{"position":[[1864,6]]},"1085":{"position":[[722,7],[1831,6]]}},"keywords":{}}],["desir",{"_index":3880,"title":{},"content":{"681":{"position":[[162,7]]},"759":{"position":[[1483,8]]},"818":{"position":[[250,7]]},"854":{"position":[[951,8]]}},"keywords":{}}],["desk",{"_index":3957,"title":{},"content":{"700":{"position":[[901,4]]}},"keywords":{}}],["desktop",{"_index":524,"title":{},"content":{"33":{"position":[[518,8]]},"207":{"position":[[165,7]]},"254":{"position":[[135,7]]},"298":{"position":[[656,8]]},"299":{"position":[[429,9],[512,8],[1044,7],[1306,7]]},"384":{"position":[[313,7]]},"408":{"position":[[1042,9],[5163,7]]},"412":{"position":[[10654,7]]},"500":{"position":[[776,8]]},"595":{"position":[[1382,7]]},"630":{"position":[[294,9]]},"640":{"position":[[281,7]]},"641":{"position":[[426,8]]},"708":{"position":[[28,7]]},"1270":{"position":[[432,7]]}},"keywords":{}}],["despit",{"_index":720,"title":{},"content":{"47":{"position":[[1,7]]},"412":{"position":[[15058,7]]},"427":{"position":[[1,7]]},"435":{"position":[[9,7]]},"624":{"position":[[865,7]]},"630":{"position":[[100,7]]},"1157":{"position":[[375,7]]}},"keywords":{}}],["destin",{"_index":2245,"title":{},"content":{"392":{"position":[[2703,12],[4609,12]]},"1020":{"position":[[88,12],[416,12],[544,11]]},"1022":{"position":[[517,12]]},"1023":{"position":[[178,12]]},"1024":{"position":[[264,12]]},"1032":{"position":[[121,11]]},"1033":{"position":[[58,11],[552,12],[781,12]]}},"keywords":{}}],["destroy",{"_index":3766,"title":{},"content":{"655":{"position":[[169,7]]}},"keywords":{}}],["detail",{"_index":869,"title":{"821":{"position":[[10,8]]},"876":{"position":[[23,8]]}},"content":{"58":{"position":[[198,7]]},"306":{"position":[[59,6]]},"356":{"position":[[373,7],[452,8],[816,7]]},"387":{"position":[[154,8]]},"404":{"position":[[676,8]]},"495":{"position":[[688,7]]},"544":{"position":[[419,8]]},"550":{"position":[[252,7]]},"567":{"position":[[209,8]]},"638":{"position":[[128,8]]},"749":{"position":[[15539,7],[15673,7],[15805,7]]},"831":{"position":[[449,7]]},"1208":{"position":[[1942,8]]}},"keywords":{}}],["detect",{"_index":745,"title":{"50":{"position":[[13,9]]},"129":{"position":[[13,9]]},"908":{"position":[[9,9]]}},"content":{"50":{"position":[[109,9],[330,9]]},"129":{"position":[[21,9],[34,6],[182,9],[243,8],[292,9],[643,9]]},"134":{"position":[[296,6]]},"302":{"position":[[455,6]]},"326":{"position":[[284,9]]},"390":{"position":[[1475,10]]},"403":{"position":[[305,7]]},"412":{"position":[[1132,10],[2218,7],[4543,6],[4607,6],[4671,6],[4694,6]]},"445":{"position":[[1023,6]]},"481":{"position":[[485,9]]},"491":{"position":[[486,7],[1419,8]]},"495":{"position":[[240,6]]},"569":{"position":[[685,6]]},"611":{"position":[[1088,9]]},"635":{"position":[[152,6]]},"740":{"position":[[640,8]]},"761":{"position":[[305,9]]},"875":{"position":[[3890,10],[3932,6],[4873,6]]},"908":{"position":[[35,9]]},"956":{"position":[[146,6]]},"988":{"position":[[1006,8]]},"990":{"position":[[622,6]]},"1111":{"position":[[4,6]]},"1154":{"position":[[88,6]]},"1161":{"position":[[179,7]]},"1180":{"position":[[179,7]]},"1228":{"position":[[199,7]]},"1308":{"position":[[266,8],[364,8]]},"1309":{"position":[[65,6],[185,10],[290,6],[597,6],[620,6]]}},"keywords":{}}],["determin",{"_index":2178,"title":{},"content":{"388":{"position":[[178,9]]},"399":{"position":[[172,10]]},"634":{"position":[[513,10]]},"698":{"position":[[253,9],[581,10]]},"780":{"position":[[61,11]]},"838":{"position":[[2284,9]]},"866":{"position":[[636,10]]},"875":{"position":[[1498,10]]},"1066":{"position":[[81,9]]},"1105":{"position":[[921,9]]},"1173":{"position":[[34,9]]}},"keywords":{}}],["determinism.limit",{"_index":3897,"title":{},"content":{"689":{"position":[[203,19]]}},"keywords":{}}],["determinist",{"_index":2677,"title":{},"content":{"412":{"position":[[3318,13]]},"683":{"position":[[504,13]]},"690":{"position":[[532,13]]},"698":{"position":[[422,13],[701,14]]},"897":{"position":[[189,13]]},"986":{"position":[[70,13],[118,13]]},"1065":{"position":[[1700,13],[1796,13]]},"1079":{"position":[[555,13]]},"1115":{"position":[[736,13]]},"1266":{"position":[[941,16]]},"1316":{"position":[[1445,13],[2330,13]]}},"keywords":{}}],["deterministically.your",{"_index":3908,"title":{},"content":{"690":{"position":[[309,22]]}},"keywords":{}}],["dev",{"_index":1792,"title":{"671":{"position":[[0,3]]},"675":{"position":[[12,3]]}},"content":{"301":{"position":[[677,3]]},"346":{"position":[[663,3]]},"412":{"position":[[13236,3]]},"675":{"position":[[10,3],[125,3]]},"676":{"position":[[48,3]]},"685":{"position":[[546,3]]},"749":{"position":[[6106,3],[20929,3],[21734,3]]},"793":{"position":[[63,3]]},"899":{"position":[[323,3]]},"966":{"position":[[508,3]]}},"keywords":{}}],["develop",{"_index":196,"title":{"348":{"position":[[54,11]]},"387":{"position":[[0,9]]},"411":{"position":[[0,9]]},"446":{"position":[[33,12]]},"478":{"position":[[11,12]]}},"content":{"14":{"position":[[26,9]]},"18":{"position":[[57,7]]},"19":{"position":[[444,11]]},"27":{"position":[[77,11]]},"34":{"position":[[436,10]]},"40":{"position":[[692,10]]},"47":{"position":[[378,10]]},"65":{"position":[[128,11],[2001,10]]},"74":{"position":[[64,10]]},"75":{"position":[[14,10]]},"76":{"position":[[106,11]]},"77":{"position":[[184,12]]},"83":{"position":[[234,11],[328,10]]},"89":{"position":[[234,11]]},"94":{"position":[[163,10],[321,12]]},"104":{"position":[[67,11]]},"105":{"position":[[48,12]]},"112":{"position":[[205,11]]},"114":{"position":[[79,12],[456,10]]},"116":{"position":[[44,9],[91,10]]},"118":{"position":[[366,11]]},"148":{"position":[[495,11]]},"149":{"position":[[79,12]]},"153":{"position":[[275,10]]},"156":{"position":[[204,10]]},"159":{"position":[[133,10]]},"161":{"position":[[58,10]]},"162":{"position":[[575,12],[746,10]]},"165":{"position":[[327,10]]},"166":{"position":[[244,10]]},"167":{"position":[[135,10]]},"168":{"position":[[68,10]]},"169":{"position":[[132,10]]},"170":{"position":[[93,10],[458,10]]},"173":{"position":[[1054,11],[2363,10]]},"174":{"position":[[253,10],[576,12],[881,11],[995,10],[2821,11],[3138,10]]},"175":{"position":[[495,10]]},"177":{"position":[[39,11],[85,10],[272,10]]},"179":{"position":[[388,10]]},"182":{"position":[[212,10]]},"185":{"position":[[257,10]]},"186":{"position":[[61,10]]},"189":{"position":[[749,10]]},"192":{"position":[[318,10]]},"194":{"position":[[112,10]]},"195":{"position":[[123,10]]},"196":{"position":[[108,10]]},"198":{"position":[[207,11]]},"207":{"position":[[334,11]]},"218":{"position":[[74,10]]},"219":{"position":[[136,10]]},"221":{"position":[[137,10]]},"222":{"position":[[280,10],[370,11]]},"226":{"position":[[454,12]]},"230":{"position":[[176,10]]},"232":{"position":[[133,10]]},"235":{"position":[[52,10],[148,10]]},"241":{"position":[[674,10]]},"265":{"position":[[388,10]]},"266":{"position":[[138,10],[364,10]]},"267":{"position":[[317,10],[1189,10]]},"269":{"position":[[116,11],[436,12]]},"278":{"position":[[262,12]]},"281":{"position":[[94,9],[322,11]]},"282":{"position":[[55,12]]},"286":{"position":[[107,11]]},"288":{"position":[[94,12]]},"293":{"position":[[97,11]]},"295":{"position":[[191,10]]},"299":{"position":[[1346,10]]},"301":{"position":[[429,9]]},"318":{"position":[[219,11],[593,10]]},"331":{"position":[[22,10]]},"347":{"position":[[79,12]]},"350":{"position":[[374,9]]},"351":{"position":[[245,9]]},"352":{"position":[[69,10]]},"353":{"position":[[809,12]]},"356":{"position":[[187,10]]},"358":{"position":[[6,10]]},"362":{"position":[[230,11],[1150,12]]},"364":{"position":[[67,12],[567,10]]},"370":{"position":[[9,10],[304,12]]},"371":{"position":[[16,10]]},"373":{"position":[[696,10]]},"377":{"position":[[230,10]]},"381":{"position":[[276,10]]},"384":{"position":[[42,12]]},"387":{"position":[[5,11],[393,12]]},"392":{"position":[[5190,9]]},"404":{"position":[[580,12]]},"408":{"position":[[3504,10]]},"409":{"position":[[299,10]]},"411":{"position":[[1574,10],[1820,9],[3857,10],[5413,10]]},"412":{"position":[[437,11],[593,12],[1220,10],[2458,11],[9436,10],[9611,9],[10335,10],[15013,10]]},"419":{"position":[[158,10]]},"420":{"position":[[576,10],[733,10],[1120,10]]},"421":{"position":[[1099,10]]},"424":{"position":[[77,10],[202,10]]},"427":{"position":[[80,10]]},"434":{"position":[[100,11]]},"436":{"position":[[70,10]]},"437":{"position":[[18,11]]},"441":{"position":[[28,12],[238,10],[602,10]]},"445":{"position":[[389,11],[1328,11],[1430,10],[1746,11],[1828,10],[2007,10],[2119,12],[2169,10],[2384,11],[2424,10]]},"446":{"position":[[1293,10],[1403,11]]},"447":{"position":[[209,11],[387,10],[624,12]]},"453":{"position":[[514,11]]},"455":{"position":[[147,10]]},"500":{"position":[[44,12]]},"503":{"position":[[170,10]]},"504":{"position":[[453,10]]},"510":{"position":[[51,12],[353,10],[521,10],[642,10]]},"511":{"position":[[79,12]]},"514":{"position":[[328,10]]},"518":{"position":[[105,10]]},"521":{"position":[[244,11]]},"524":{"position":[[88,10],[566,11]]},"525":{"position":[[641,10]]},"529":{"position":[[14,10]]},"530":{"position":[[35,12],[300,10],[575,11]]},"531":{"position":[[79,12]]},"535":{"position":[[106,11],[304,10],[335,10]]},"548":{"position":[[469,12]]},"556":{"position":[[1381,12],[1474,12]]},"563":{"position":[[71,10],[906,10]]},"569":{"position":[[25,10],[1042,11]]},"591":{"position":[[79,12]]},"595":{"position":[[106,11],[317,10],[348,10]]},"608":{"position":[[467,12]]},"618":{"position":[[512,10]]},"632":{"position":[[809,10]]},"635":{"position":[[252,10]]},"644":{"position":[[374,10],[755,9]]},"662":{"position":[[296,7]]},"666":{"position":[[22,11]]},"674":{"position":[[300,14],[356,14]]},"699":{"position":[[579,7]]},"702":{"position":[[7,10]]},"711":{"position":[[2330,9]]},"731":{"position":[[24,11]]},"749":{"position":[[20950,10]]},"798":{"position":[[638,9]]},"824":{"position":[[513,12]]},"838":{"position":[[325,7]]},"839":{"position":[[708,10]]},"898":{"position":[[2948,11]]},"981":{"position":[[250,10]]},"995":{"position":[[568,10]]},"1066":{"position":[[444,9]]},"1085":{"position":[[2169,10],[3427,11]]},"1124":{"position":[[1441,11]]},"1198":{"position":[[16,10],[2003,11]]},"1215":{"position":[[7,10]]},"1249":{"position":[[177,10]]}},"keywords":{}}],["developers.optim",{"_index":1218,"title":{},"content":{"174":{"position":[[1491,20]]}},"keywords":{}}],["development"",{"_index":1499,"title":{},"content":{"244":{"position":[[737,17]]},"419":{"position":[[1574,17]]}},"keywords":{}}],["development.electron",{"_index":2168,"title":{},"content":{"384":{"position":[[268,21]]}},"keywords":{}}],["devic",{"_index":176,"title":{"291":{"position":[[8,6]]},"900":{"position":[[66,7]]},"912":{"position":[[44,7]]}},"content":{"11":{"position":[[964,8]]},"28":{"position":[[498,6]]},"65":{"position":[[1752,7]]},"89":{"position":[[78,7]]},"91":{"position":[[59,8]]},"110":{"position":[[85,8]]},"123":{"position":[[134,7]]},"172":{"position":[[327,7]]},"173":{"position":[[1988,6],[2588,7],[2846,7]]},"174":{"position":[[2079,8],[2146,7]]},"184":{"position":[[344,8]]},"191":{"position":[[266,8]]},"195":{"position":[[115,7]]},"210":{"position":[[113,7]]},"218":{"position":[[228,6]]},"220":{"position":[[81,7]]},"224":{"position":[[141,8]]},"240":{"position":[[69,8],[267,8]]},"248":{"position":[[194,6]]},"250":{"position":[[113,7]]},"253":{"position":[[199,6]]},"269":{"position":[[368,7]]},"270":{"position":[[284,6]]},"273":{"position":[[164,7]]},"279":{"position":[[528,8]]},"280":{"position":[[204,7]]},"287":{"position":[[1179,8]]},"288":{"position":[[175,7]]},"289":{"position":[[405,7],[1702,7],[1913,7]]},"291":{"position":[[19,6],[196,6]]},"294":{"position":[[134,6]]},"298":{"position":[[723,8]]},"299":{"position":[[653,7],[1106,8]]},"300":{"position":[[623,6]]},"302":{"position":[[17,6]]},"309":{"position":[[84,7]]},"310":{"position":[[13,6],[264,6]]},"311":{"position":[[54,7],[152,7]]},"314":{"position":[[990,8]]},"318":{"position":[[334,8]]},"323":{"position":[[347,6]]},"328":{"position":[[169,7]]},"365":{"position":[[642,6]]},"367":{"position":[[200,7]]},"375":{"position":[[701,8]]},"376":{"position":[[140,7],[689,8]]},"377":{"position":[[22,7],[289,6]]},"380":{"position":[[88,6]]},"391":{"position":[[112,7]]},"403":{"position":[[175,8]]},"407":{"position":[[226,7],[284,7],[1074,8]]},"408":{"position":[[114,7],[953,6]]},"410":{"position":[[394,7],[1544,7]]},"411":{"position":[[3963,6],[4092,8],[4702,8],[4732,6],[5032,6],[5058,7]]},"412":{"position":[[632,6],[3132,8],[5774,6],[7844,9],[9368,7],[9703,7],[10607,8],[10763,7],[13221,6]]},"414":{"position":[[64,7]]},"415":{"position":[[52,7]]},"416":{"position":[[250,8]]},"417":{"position":[[62,7]]},"419":{"position":[[183,7],[1023,7],[1900,6]]},"424":{"position":[[144,7]]},"444":{"position":[[233,6],[501,7],[732,8]]},"445":{"position":[[1121,8],[2268,8]]},"446":{"position":[[392,6]]},"461":{"position":[[1141,7]]},"469":{"position":[[1267,7]]},"473":{"position":[[74,7]]},"481":{"position":[[199,6]]},"482":{"position":[[1058,6]]},"495":{"position":[[127,7]]},"500":{"position":[[714,6],[762,8]]},"504":{"position":[[1055,8]]},"516":{"position":[[387,8]]},"550":{"position":[[88,6]]},"556":{"position":[[1921,6]]},"565":{"position":[[19,6]]},"569":{"position":[[1207,8]]},"570":{"position":[[357,7]]},"571":{"position":[[456,6]]},"575":{"position":[[205,8],[501,8]]},"635":{"position":[[53,7]]},"638":{"position":[[154,6]]},"660":{"position":[[226,6]]},"662":{"position":[[605,7]]},"696":{"position":[[102,7],[1098,7]]},"704":{"position":[[167,6],[270,8],[294,7]]},"708":{"position":[[298,6]]},"736":{"position":[[471,7]]},"785":{"position":[[640,6]]},"836":{"position":[[1876,7],[1930,6]]},"838":{"position":[[1146,8]]},"840":{"position":[[78,7]]},"860":{"position":[[870,8]]},"872":{"position":[[3063,7]]},"896":{"position":[[60,7]]},"902":{"position":[[409,8]]},"903":{"position":[[421,8]]},"912":{"position":[[45,7],[398,6],[621,8]]},"932":{"position":[[281,6]]},"981":{"position":[[806,7],[930,7]]},"995":{"position":[[1088,6]]},"1121":{"position":[[139,7]]},"1123":{"position":[[339,7]]},"1215":{"position":[[194,6]]},"1271":{"position":[[195,7]]},"1304":{"position":[[1135,7],[1166,7]]},"1314":{"position":[[126,6]]},"1321":{"position":[[119,6]]}},"keywords":{}}],["device.data",{"_index":1202,"title":{},"content":{"173":{"position":[[1356,11]]}},"keywords":{}}],["device.memori",{"_index":1293,"title":{},"content":{"189":{"position":[[455,13]]}},"keywords":{}}],["devicereadi",{"_index":153,"title":{},"content":{"11":{"position":[[356,11],[732,11]]}},"keywords":{}}],["devices.in",{"_index":1572,"title":{},"content":{"254":{"position":[[456,10]]}},"keywords":{}}],["devices.stor",{"_index":1223,"title":{},"content":{"174":{"position":[[2342,15]]}},"keywords":{}}],["devices.they",{"_index":6539,"title":{},"content":{"1316":{"position":[[417,12]]}},"keywords":{}}],["devmod",{"_index":3374,"title":{},"content":{"556":{"position":[[1370,7],[1401,7]]}},"keywords":{}}],["devtool",{"_index":1790,"title":{},"content":{"301":{"position":[[570,8]]}},"keywords":{}}],["dexi",{"_index":511,"title":{"1146":{"position":[[6,5]]},"1148":{"position":[[7,5]]}},"content":{"33":{"position":[[102,5],[606,5]]},"872":{"position":[[3872,7]]},"1144":{"position":[[14,5],[139,7]]},"1145":{"position":[[48,5],[343,7]]},"1147":{"position":[[156,5],[465,5]]},"1148":{"position":[[1,5],[58,5],[207,5],[439,5],[470,5],[506,5],[629,7],[660,6],[692,5],[815,5]]},"1149":{"position":[[633,5],[788,7],[885,5]]},"1150":{"position":[[276,6]]}},"keywords":{}}],["dexie.j",{"_index":508,"title":{"33":{"position":[[0,9]]},"1142":{"position":[[10,8]]},"1143":{"position":[[0,8]]},"1144":{"position":[[11,8]]},"1147":{"position":[[5,8]]}},"content":{"33":{"position":[[1,8],[310,8],[457,8],[548,8]]},"411":{"position":[[3818,8]]},"710":{"position":[[676,8]]},"749":{"position":[[23061,8]]},"793":{"position":[[356,8]]},"1143":{"position":[[7,8]]},"1146":{"position":[[1,8],[111,8],[315,8]]},"1147":{"position":[[135,8]]},"1150":{"position":[[1,8]]},"1151":{"position":[[103,8],[770,8]]},"1152":{"position":[[24,8]]},"1235":{"position":[[121,8]]},"1247":{"position":[[141,9],[156,8],[195,8]]}},"keywords":{}}],["dexie.js.it",{"_index":6068,"title":{},"content":{"1143":{"position":[[505,11]]}},"keywords":{}}],["dexie/sqlit",{"_index":4810,"title":{},"content":{"841":{"position":[[999,12]]}},"keywords":{}}],["dexiecloud",{"_index":6075,"title":{},"content":{"1148":{"position":[[644,10],[781,13]]}},"keywords":{}}],["dexiedatabase.cloud.configur",{"_index":6078,"title":{},"content":{"1148":{"position":[[941,31]]}},"keywords":{}}],["dexiedatabasenam",{"_index":6077,"title":{},"content":{"1148":{"position":[[914,18]]}},"keywords":{}}],["di",{"_index":4089,"title":{},"content":{"737":{"position":[[489,7]]}},"keywords":{}}],["diagram",{"_index":4938,"title":{},"content":{"871":{"position":[[373,7]]}},"keywords":{}}],["dialect",{"_index":6573,"title":{},"content":{"1320":{"position":[[378,7]]}},"keywords":{}}],["dialog",{"_index":1095,"title":{},"content":{"130":{"position":[[420,7]]}},"keywords":{}}],["diarydirectori",{"_index":6199,"title":{},"content":{"1208":{"position":[[787,14]]}},"keywords":{}}],["diarydirectory.getfilehandle('example.txt",{"_index":6203,"title":{},"content":{"1208":{"position":[[934,43]]}},"keywords":{}}],["dictat",{"_index":6574,"title":{},"content":{"1320":{"position":[[455,7]]}},"keywords":{}}],["didn't",{"_index":2626,"title":{},"content":{"411":{"position":[[3307,6]]},"412":{"position":[[15032,6]]},"1085":{"position":[[2396,6]]}},"keywords":{}}],["diff",{"_index":2608,"title":{},"content":{"411":{"position":[[157,5],[282,4]]},"412":{"position":[[3633,4]]}},"keywords":{}}],["differ",{"_index":65,"title":{"131":{"position":[[0,9]]},"162":{"position":[[0,9]]},"189":{"position":[[0,9]]},"287":{"position":[[0,9]]},"336":{"position":[[0,9]]},"504":{"position":[[10,9]]},"524":{"position":[[0,9]]},"581":{"position":[[0,9]]},"640":{"position":[[0,9]]},"691":{"position":[[17,9]]},"706":{"position":[[30,9]]},"798":{"position":[[4,9]]},"1215":{"position":[[0,10]]},"1273":{"position":[[32,9]]}},"content":{"4":{"position":[[135,9]]},"5":{"position":[[57,9]]},"14":{"position":[[680,10],[934,10]]},"16":{"position":[[280,9]]},"19":{"position":[[191,10],[968,10]]},"24":{"position":[[640,9]]},"35":{"position":[[126,9]]},"37":{"position":[[164,9],[243,9]]},"47":{"position":[[1338,9]]},"72":{"position":[[73,9]]},"80":{"position":[[93,9]]},"109":{"position":[[101,9]]},"112":{"position":[[66,9]]},"113":{"position":[[181,9]]},"160":{"position":[[252,9]]},"162":{"position":[[87,9],[716,9]]},"174":{"position":[[2332,9],[2863,9]]},"184":{"position":[[167,9]]},"237":{"position":[[228,9]]},"239":{"position":[[71,9],[318,9]]},"299":{"position":[[23,6],[696,6]]},"301":{"position":[[102,9]]},"328":{"position":[[47,9]]},"361":{"position":[[1009,10]]},"364":{"position":[[250,9]]},"390":{"position":[[1511,6]]},"391":{"position":[[976,9]]},"392":{"position":[[3252,9]]},"393":{"position":[[173,10]]},"396":{"position":[[822,9]]},"398":{"position":[[3056,6]]},"399":{"position":[[601,9]]},"402":{"position":[[946,9],[2638,9],[2671,9]]},"404":{"position":[[940,9],[961,9]]},"412":{"position":[[10576,9],[10597,9],[11510,9]]},"420":{"position":[[755,9]]},"445":{"position":[[2356,9]]},"449":{"position":[[41,9]]},"451":{"position":[[749,10]]},"458":{"position":[[7,10]]},"459":{"position":[[9,10]]},"462":{"position":[[287,7]]},"502":{"position":[[1234,9]]},"504":{"position":[[1225,9]]},"517":{"position":[[224,9]]},"519":{"position":[[343,9]]},"524":{"position":[[55,9]]},"525":{"position":[[301,9]]},"612":{"position":[[1330,10]]},"613":{"position":[[853,9]]},"632":{"position":[[676,9]]},"641":{"position":[[129,11]]},"666":{"position":[[444,9]]},"681":{"position":[[876,9]]},"691":{"position":[[37,9],[555,9]]},"701":{"position":[[136,9]]},"704":{"position":[[260,9],[307,9]]},"705":{"position":[[690,9]]},"719":{"position":[[136,9],[343,9]]},"730":{"position":[[60,9]]},"743":{"position":[[100,9],[265,9]]},"749":{"position":[[4784,9],[5433,9],[13442,9],[23645,9]]},"759":{"position":[[601,9]]},"760":{"position":[[597,9]]},"764":{"position":[[1,9]]},"772":{"position":[[2558,9]]},"775":{"position":[[213,9]]},"784":{"position":[[38,9]]},"796":{"position":[[273,9]]},"798":{"position":[[128,9]]},"821":{"position":[[248,9]]},"830":{"position":[[236,9]]},"831":{"position":[[198,9]]},"832":{"position":[[426,10]]},"835":{"position":[[111,10]]},"836":{"position":[[317,9]]},"849":{"position":[[313,9]]},"855":{"position":[[286,9]]},"867":{"position":[[281,9]]},"879":{"position":[[82,9]]},"886":{"position":[[4026,9]]},"890":{"position":[[661,9]]},"898":{"position":[[3939,7]]},"904":{"position":[[2039,9],[3127,10]]},"935":{"position":[[110,9]]},"938":{"position":[[95,9]]},"962":{"position":[[124,9],[234,9],[257,9]]},"968":{"position":[[92,9]]},"982":{"position":[[687,9]]},"983":{"position":[[1115,9]]},"986":{"position":[[553,9],[1451,9]]},"988":{"position":[[1793,9]]},"1008":{"position":[[263,11]]},"1009":{"position":[[462,9]]},"1020":{"position":[[169,9],[196,9]]},"1021":{"position":[[46,9]]},"1067":{"position":[[176,10],[214,7]]},"1072":{"position":[[902,10]]},"1085":{"position":[[2885,9]]},"1091":{"position":[[75,9]]},"1100":{"position":[[36,9],[440,9]]},"1102":{"position":[[181,9]]},"1105":{"position":[[297,9],[360,9],[384,9]]},"1108":{"position":[[299,9]]},"1112":{"position":[[33,9],[116,9],[263,9]]},"1120":{"position":[[576,9]]},"1125":{"position":[[666,9]]},"1140":{"position":[[308,9]]},"1165":{"position":[[265,9]]},"1191":{"position":[[7,10],[74,10],[206,9],[467,9],[609,9],[662,10]]},"1215":{"position":[[40,11]]},"1222":{"position":[[697,7]]},"1246":{"position":[[851,9]]},"1250":{"position":[[451,10]]},"1267":{"position":[[49,9]]},"1271":{"position":[[1330,9]]},"1272":{"position":[[1,9],[33,9]]},"1274":{"position":[[395,9],[419,9]]},"1279":{"position":[[782,9],[806,9]]},"1295":{"position":[[1365,9]]},"1301":{"position":[[9,10]]},"1304":{"position":[[1125,9]]},"1305":{"position":[[1002,9]]},"1307":{"position":[[62,9]]},"1315":{"position":[[751,12],[967,11]]},"1316":{"position":[[1221,9],[1980,9],[3123,10]]},"1320":{"position":[[364,9]]},"1321":{"position":[[823,9]]},"1324":{"position":[[780,9]]}},"keywords":{}}],["differenti",{"_index":2643,"title":{},"content":{"411":{"position":[[5528,13]]}},"keywords":{}}],["diffi",{"_index":5581,"title":{"1008":{"position":[[0,5]]}},"content":{},"keywords":{}}],["difficult",{"_index":485,"title":{},"content":{"29":{"position":[[445,9]]},"47":{"position":[[230,9],[950,9]]},"535":{"position":[[934,10]]},"595":{"position":[[1009,10]]},"839":{"position":[[923,9]]},"1304":{"position":[[716,10]]}},"keywords":{}}],["difficulti",{"_index":2775,"title":{},"content":{"412":{"position":[[15263,13]]},"610":{"position":[[1542,12]]}},"keywords":{}}],["digest",{"_index":5303,"title":{"927":{"position":[[0,7]]}},"content":{"927":{"position":[[55,6],[163,6]]},"968":{"position":[[658,9]]},"1004":{"position":[[369,7]]}},"keywords":{}}],["digit",{"_index":1683,"title":{},"content":{"289":{"position":[[1530,7]]},"510":{"position":[[702,7]]}},"keywords":{}}],["dimens",{"_index":2333,"title":{},"content":{"395":{"position":[[551,10]]}},"keywords":{}}],["dimension",{"_index":2181,"title":{},"content":{"390":{"position":[[105,11]]},"396":{"position":[[266,11]]},"402":{"position":[[2444,14]]}},"keywords":{}}],["direct",{"_index":1961,"title":{"616":{"position":[[21,11]]}},"content":{"336":{"position":[[185,6]]},"381":{"position":[[38,11]]},"398":{"position":[[500,11],[624,10]]},"407":{"position":[[493,6]]},"429":{"position":[[257,6]]},"433":{"position":[[76,6],[629,6]]},"460":{"position":[[974,6]]},"504":{"position":[[1344,6]]},"574":{"position":[[651,6]]},"581":{"position":[[211,6]]},"616":{"position":[[61,10]]},"714":{"position":[[733,6]]},"749":{"position":[[460,9]]},"811":{"position":[[52,6]]},"841":{"position":[[519,6]]},"871":{"position":[[675,6]]},"901":{"position":[[377,6],[715,6]]},"1002":{"position":[[777,9]]},"1006":{"position":[[89,10]]},"1033":{"position":[[1035,11]]},"1115":{"position":[[526,6]]},"1324":{"position":[[175,6]]}},"keywords":{}}],["directli",{"_index":496,"title":{},"content":{"31":{"position":[[95,8]]},"47":{"position":[[25,8],[736,8]]},"130":{"position":[[238,8]]},"131":{"position":[[216,8]]},"162":{"position":[[255,8]]},"172":{"position":[[81,8]]},"210":{"position":[[135,9]]},"212":{"position":[[633,8]]},"219":{"position":[[186,8]]},"227":{"position":[[202,8]]},"248":{"position":[[11,8]]},"261":{"position":[[179,8]]},"265":{"position":[[165,8]]},"289":{"position":[[1725,8],[1939,9]]},"315":{"position":[[1039,8]]},"352":{"position":[[118,9],[340,8]]},"358":{"position":[[95,8]]},"376":{"position":[[117,8]]},"391":{"position":[[89,8]]},"408":{"position":[[1873,8],[3375,8],[3787,8],[4154,9]]},"411":{"position":[[2265,8],[5077,8]]},"413":{"position":[[64,8]]},"416":{"position":[[498,8]]},"440":{"position":[[421,8]]},"444":{"position":[[478,8]]},"453":{"position":[[113,8],[544,8]]},"454":{"position":[[781,8]]},"463":{"position":[[304,8]]},"467":{"position":[[558,8]]},"468":{"position":[[403,8]]},"469":{"position":[[930,8]]},"470":{"position":[[188,8]]},"473":{"position":[[51,8]]},"489":{"position":[[441,8]]},"493":{"position":[[118,8]]},"521":{"position":[[17,8]]},"542":{"position":[[682,8]]},"548":{"position":[[324,9]]},"555":{"position":[[726,8]]},"560":{"position":[[562,8]]},"571":{"position":[[211,8],[780,8]]},"585":{"position":[[203,8]]},"591":{"position":[[497,8]]},"602":{"position":[[348,8]]},"608":{"position":[[322,9]]},"612":{"position":[[890,8]]},"613":{"position":[[1075,8]]},"614":{"position":[[137,8]]},"616":{"position":[[413,8]]},"620":{"position":[[98,8]]},"688":{"position":[[547,8]]},"699":{"position":[[86,8]]},"703":{"position":[[70,8]]},"724":{"position":[[1272,8]]},"772":{"position":[[1303,8]]},"773":{"position":[[119,8]]},"778":{"position":[[335,8]]},"781":{"position":[[754,8]]},"800":{"position":[[227,8]]},"829":{"position":[[3906,9]]},"836":{"position":[[774,8],[1269,8]]},"875":{"position":[[6799,8]]},"890":{"position":[[733,8]]},"896":{"position":[[68,8]]},"897":{"position":[[56,8]]},"901":{"position":[[153,8]]},"902":{"position":[[66,8]]},"903":{"position":[[175,8]]},"939":{"position":[[75,8]]},"1040":{"position":[[72,8]]},"1065":{"position":[[181,8]]},"1072":{"position":[[1142,8]]},"1085":{"position":[[142,9]]},"1090":{"position":[[202,8]]},"1092":{"position":[[439,8]]},"1116":{"position":[[276,8]]},"1120":{"position":[[103,8],[662,8]]},"1121":{"position":[[318,9]]},"1185":{"position":[[68,8]]},"1192":{"position":[[86,8]]},"1214":{"position":[[791,8]]},"1271":{"position":[[97,8]]},"1272":{"position":[[224,8]]},"1294":{"position":[[2068,8]]},"1300":{"position":[[21,8]]}},"keywords":{}}],["directori",{"_index":3030,"title":{},"content":{"463":{"position":[[527,10]]},"647":{"position":[[281,10]]},"648":{"position":[[81,10],[173,10]]},"649":{"position":[[129,10]]},"1208":{"position":[[113,11],[655,9]]}},"keywords":{}}],["disabl",{"_index":3375,"title":{"675":{"position":[[0,7]]},"676":{"position":[[0,7]]},"761":{"position":[[0,7]]},"1151":{"position":[[0,9]]},"1178":{"position":[[0,9]]}},"content":{"556":{"position":[[1487,7]]},"675":{"position":[[152,7]]},"676":{"position":[[211,7]]},"761":{"position":[[323,7]]},"1151":{"position":[[852,7]]},"1164":{"position":[[488,7]]},"1174":{"position":[[723,7]]},"1178":{"position":[[849,7]]},"1282":{"position":[[1044,7]]}},"keywords":{}}],["disableversioncheck",{"_index":4503,"title":{},"content":{"761":{"position":[[371,21],[461,19],[523,22],[587,19],[666,22],[709,19],[789,22]]}},"keywords":{}}],["disablewarn",{"_index":3860,"title":{},"content":{"675":{"position":[[190,17],[228,15],[276,18]]}},"keywords":{}}],["disadvantag",{"_index":6476,"title":{},"content":{"1301":{"position":[[1347,12]]}},"keywords":{}}],["disallow",{"_index":5900,"title":{},"content":{"1085":{"position":[[2589,11]]}},"keywords":{}}],["disc",{"_index":507,"title":{},"content":{"32":{"position":[[259,5]]},"461":{"position":[[1116,4],[1578,4]]},"696":{"position":[[1072,4],[1341,4]]},"800":{"position":[[742,5]]},"837":{"position":[[521,4]]},"932":{"position":[[263,4]]},"977":{"position":[[59,4]]},"1119":{"position":[[83,5]]},"1120":{"position":[[260,4]]},"1174":{"position":[[196,5]]},"1180":{"position":[[332,4]]},"1184":{"position":[[161,5]]},"1192":{"position":[[106,4],[138,4],[342,4]]},"1239":{"position":[[340,4]]},"1246":{"position":[[1575,5]]},"1292":{"position":[[606,4]]},"1300":{"position":[[291,5],[439,4]]},"1301":{"position":[[225,5]]},"1304":{"position":[[421,5]]}},"keywords":{}}],["disconnect",{"_index":1188,"title":{},"content":{"164":{"position":[[110,12]]},"590":{"position":[[772,14]]},"626":{"position":[[950,11]]},"632":{"position":[[2660,14]]},"1104":{"position":[[637,13]]}},"keywords":{}}],["discord",{"_index":1598,"title":{},"content":{"263":{"position":[[426,7]]},"422":{"position":[[187,7]]},"644":{"position":[[313,7]]},"669":{"position":[[49,8]]},"793":{"position":[[1496,7]]},"824":{"position":[[386,7]]},"873":{"position":[[173,7]]},"899":{"position":[[431,7]]},"913":{"position":[[272,7]]}},"keywords":{}}],["discourag",{"_index":3682,"title":{},"content":{"624":{"position":[[1608,11]]}},"keywords":{}}],["discov",{"_index":3529,"title":{"1190":{"position":[[3,8]]}},"content":{"591":{"position":[[463,8]]},"906":{"position":[[135,8]]}},"keywords":{}}],["discoveri",{"_index":5250,"title":{},"content":{"903":{"position":[[329,10]]}},"keywords":{}}],["discret",{"_index":1647,"title":{},"content":{"279":{"position":[[195,8]]}},"keywords":{}}],["discuss",{"_index":2194,"title":{},"content":{"390":{"position":[[707,7]]},"422":{"position":[[7,7]]},"628":{"position":[[26,10]]},"668":{"position":[[273,7]]},"705":{"position":[[1180,10]]}},"keywords":{}}],["disk",{"_index":498,"title":{},"content":{"31":{"position":[[164,4]]},"162":{"position":[[653,5]]},"236":{"position":[[194,4]]},"265":{"position":[[267,4],[536,4],[641,4],[806,4]]},"267":{"position":[[1339,4]]},"298":{"position":[[37,4],[243,4],[555,4]]},"299":{"position":[[273,5]]},"304":{"position":[[114,4]]},"311":{"position":[[204,4]]},"358":{"position":[[109,4]]},"361":{"position":[[425,4]]},"376":{"position":[[288,4]]},"385":{"position":[[157,4]]},"408":{"position":[[1003,4],[1116,4]]},"412":{"position":[[7778,5],[10021,5]]},"461":{"position":[[1200,4]]},"638":{"position":[[906,4]]},"696":{"position":[[1992,4]]},"1208":{"position":[[1785,5]]}},"keywords":{}}],["display",{"_index":812,"title":{},"content":{"54":{"position":[[21,7]]},"73":{"position":[[132,7]]},"327":{"position":[[136,8]]},"335":{"position":[[116,10]]},"379":{"position":[[242,7]]},"634":{"position":[[639,10]]},"696":{"position":[[408,7],[565,8]]},"700":{"position":[[1087,7]]},"736":{"position":[[33,8],[141,7]]},"781":{"position":[[64,7],[101,7]]}},"keywords":{}}],["displaystoragefulldialog",{"_index":1817,"title":{},"content":{"302":{"position":[[1055,27]]}},"keywords":{}}],["disrupt",{"_index":3692,"title":{},"content":{"630":{"position":[[177,7]]}},"keywords":{}}],["dist",{"_index":3833,"title":{},"content":{"668":{"position":[[206,4]]}},"keywords":{}}],["dist/work",{"_index":6315,"title":{},"content":{"1266":{"position":[[459,18],[681,14]]}},"keywords":{}}],["distanc",{"_index":2289,"title":{"393":{"position":[[37,9]]}},"content":{"393":{"position":[[223,9],[243,9],[478,8],[846,8],[979,8]]},"394":{"position":[[358,8],[795,9],[981,8]]},"396":{"position":[[880,8],[1140,8],[1273,9],[1376,8],[1849,8],[1897,8]]},"397":{"position":[[1406,8],[1451,8],[1540,9],[1979,8]]},"398":{"position":[[549,8],[1511,8],[1591,9],[1793,9],[2664,8],[2744,9]]},"402":{"position":[[440,9],[1147,8]]},"780":{"position":[[437,8]]}},"keywords":{}}],["distancetoindex",{"_index":2397,"title":{},"content":{"398":{"position":[[900,15],[2186,15],[2272,15]]}},"keywords":{}}],["distinct",{"_index":3675,"title":{},"content":{"624":{"position":[[76,8]]}},"keywords":{}}],["distingu",{"_index":4735,"title":{},"content":{"826":{"position":[[199,13]]}},"keywords":{}}],["distinguish",{"_index":1928,"title":{},"content":{"327":{"position":[[15,14]]},"612":{"position":[[936,13]]}},"keywords":{}}],["distribut",{"_index":426,"title":{"240":{"position":[[27,11]]}},"content":{"26":{"position":[[173,11]]},"91":{"position":[[19,10]]},"134":{"position":[[6,11]]},"184":{"position":[[51,11]]},"240":{"position":[[4,11]]},"250":{"position":[[357,11]]},"289":{"position":[[640,11]]},"339":{"position":[[212,11]]},"393":{"position":[[570,12]]},"412":{"position":[[801,11],[14961,11]]},"635":{"position":[[471,11]]},"644":{"position":[[576,11]]},"701":{"position":[[663,11]]},"772":{"position":[[271,11]]},"798":{"position":[[268,12],[505,12]]},"821":{"position":[[631,12],[861,12]]},"903":{"position":[[92,10]]},"1088":{"position":[[483,10]]}},"keywords":{}}],["dive",{"_index":881,"title":{},"content":{"61":{"position":[[20,4]]},"151":{"position":[[8,6]]},"263":{"position":[[371,4]]},"425":{"position":[[7,4]]},"462":{"position":[[68,4]]},"567":{"position":[[22,4]]},"572":{"position":[[1,4]]},"644":{"position":[[1,4]]},"824":{"position":[[22,4]]}},"keywords":{}}],["diverg",{"_index":2657,"title":{},"content":{"412":{"position":[[692,9]]}},"keywords":{}}],["divers",{"_index":1662,"title":{},"content":{"284":{"position":[[215,7]]},"287":{"position":[[118,7]]},"381":{"position":[[510,7]]},"504":{"position":[[16,7]]},"631":{"position":[[411,7]]},"1195":{"position":[[65,8]]}},"keywords":{}}],["divid",{"_index":3469,"title":{},"content":{"571":{"position":[[1613,7]]},"701":{"position":[[285,6]]},"707":{"position":[[28,7]]}},"keywords":{}}],["dm1",{"_index":4292,"title":{},"content":{"749":{"position":[[12188,3]]}},"keywords":{}}],["dm2",{"_index":4293,"title":{},"content":{"749":{"position":[[12279,3]]}},"keywords":{}}],["dm3",{"_index":4294,"title":{},"content":{"749":{"position":[[12406,3]]}},"keywords":{}}],["dm4",{"_index":4295,"title":{},"content":{"749":{"position":[[12487,3]]}},"keywords":{}}],["dm5",{"_index":4296,"title":{},"content":{"749":{"position":[[12560,3]]}},"keywords":{}}],["do",{"_index":1633,"title":{"1032":{"position":[[16,5]]}},"content":{"273":{"position":[[233,5]]},"412":{"position":[[9343,5],[10369,5]]},"451":{"position":[[612,5]]},"460":{"position":[[494,5]]},"616":{"position":[[384,5]]},"617":{"position":[[990,3]]},"723":{"position":[[903,5]]},"872":{"position":[[2859,5]]},"876":{"position":[[48,5]]},"881":{"position":[[316,3]]},"912":{"position":[[337,5]]},"1027":{"position":[[71,5]]},"1068":{"position":[[129,5]]},"1072":{"position":[[921,5],[955,5]]},"1106":{"position":[[378,5]]},"1138":{"position":[[553,5]]},"1164":{"position":[[1379,5]]},"1188":{"position":[[267,5]]},"1246":{"position":[[171,5],[491,5]]},"1251":{"position":[[279,5]]},"1274":{"position":[[594,5]]},"1279":{"position":[[981,5]]},"1296":{"position":[[473,5]]},"1304":{"position":[[1322,5]]},"1305":{"position":[[67,5]]},"1317":{"position":[[489,3]]}},"keywords":{}}],["doabl",{"_index":2747,"title":{},"content":{"412":{"position":[[11732,6]]},"1317":{"position":[[749,7]]}},"keywords":{}}],["doc",{"_index":806,"title":{"923":{"position":[[0,4]]}},"content":{"52":{"position":[[467,3],[614,3]]},"209":{"position":[[734,6],[895,4]]},"255":{"position":[[1114,4],[1232,5]]},"306":{"position":[[47,5]]},"392":{"position":[[2764,6],[4717,6],[4765,5]]},"394":{"position":[[790,4]]},"397":{"position":[[1805,6]]},"398":{"position":[[1601,3],[2311,4],[2754,3]]},"400":{"position":[[35,4]]},"493":{"position":[[248,3]]},"495":{"position":[[679,4]]},"539":{"position":[[467,3],[614,3]]},"555":{"position":[[263,3]]},"556":{"position":[[798,3]]},"562":{"position":[[547,3],[636,4]]},"599":{"position":[[494,3]]},"632":{"position":[[2517,6]]},"670":{"position":[[413,4],[461,4],[490,4]]},"724":{"position":[[963,3],[1024,3]]},"734":{"position":[[874,5]]},"752":{"position":[[816,4],[1269,4]]},"770":{"position":[[451,3]]},"791":{"position":[[142,3],[462,3]]},"792":{"position":[[273,3]]},"810":{"position":[[335,3]]},"811":{"position":[[315,3]]},"813":{"position":[[339,3]]},"841":{"position":[[157,3],[189,3],[241,3],[1183,3],[1404,3]]},"886":{"position":[[1217,3],[1227,4],[3117,3],[3127,3]]},"887":{"position":[[452,4],[671,4]]},"888":{"position":[[1027,4],[1069,5]]},"889":{"position":[[129,5]]},"898":{"position":[[3509,4],[3524,5],[3601,4]]},"942":{"position":[[176,3]]},"943":{"position":[[373,3]]},"946":{"position":[[148,3]]},"947":{"position":[[159,4]]},"988":{"position":[[2686,4]]},"1020":{"position":[[469,6],[582,3],[589,5]]},"1022":{"position":[[572,6],[598,3],[605,5]]},"1023":{"position":[[228,6],[254,3],[261,5]]},"1024":{"position":[[314,6],[340,3],[347,5]]},"1033":{"position":[[590,6]]},"1036":{"position":[[108,4]]},"1057":{"position":[[594,3]]},"1065":{"position":[[75,5],[93,4],[137,4]]},"1173":{"position":[[220,5]]},"1311":{"position":[[1272,4]]},"1314":{"position":[[644,4]]}},"keywords":{}}],["doc._delet",{"_index":5211,"title":{},"content":{"898":{"position":[[1889,12]]}},"keywords":{}}],["doc.ag",{"_index":5220,"title":{},"content":{"898":{"position":[[3567,10],[3585,8]]}},"keywords":{}}],["doc.bestfriend_",{"_index":4686,"title":{},"content":{"811":{"position":[[392,16]]}},"keywords":{}}],["doc.categori",{"_index":5621,"title":{},"content":{"1020":{"position":[[663,12]]}},"keywords":{}}],["doc.embed",{"_index":2316,"title":{},"content":{"394":{"position":[[836,14]]}},"keywords":{}}],["doc.firstnam",{"_index":4054,"title":{},"content":{"724":{"position":[[973,13],[1034,14]]},"1311":{"position":[[1365,15]]}},"keywords":{}}],["doc.id",{"_index":5106,"title":{},"content":{"885":{"position":[[2248,7]]}},"keywords":{}}],["doc.lastnam",{"_index":4055,"title":{},"content":{"724":{"position":[[995,12]]}},"keywords":{}}],["doc.modify(data",{"_index":5712,"title":{},"content":{"1048":{"position":[[545,15]]}},"keywords":{}}],["doc.nam",{"_index":3177,"title":{},"content":{"493":{"position":[[273,8]]},"571":{"position":[[1162,8]]}},"keywords":{}}],["doc.populate('bestfriend",{"_index":4681,"title":{},"content":{"810":{"position":[[412,27]]}},"keywords":{}}],["doc.primari",{"_index":2249,"title":{},"content":{"392":{"position":[[2914,12]]},"397":{"position":[[1936,12]]},"1020":{"position":[[640,12]]},"1022":{"position":[[838,12]]},"1023":{"position":[[507,12]]},"1024":{"position":[[413,13],[509,12]]}},"keywords":{}}],["doc.primary}).remov",{"_index":5627,"title":{},"content":{"1022":{"position":[[687,23]]},"1023":{"position":[[338,23]]}},"keywords":{}}],["doc.putattach",{"_index":3369,"title":{},"content":{"556":{"position":[[916,19]]},"792":{"position":[[335,19]]}},"keywords":{}}],["doc.putattachmentbase64",{"_index":5295,"title":{},"content":{"918":{"position":[[104,25]]}},"keywords":{}}],["doc.receivers.map(receiv",{"_index":5630,"title":{},"content":{"1022":{"position":[[793,26]]}},"keywords":{}}],["doc.remov",{"_index":810,"title":{},"content":{"52":{"position":[[690,13]]},"539":{"position":[[690,13]]},"684":{"position":[[235,13]]}},"keywords":{}}],["doc.text.split",{"_index":5639,"title":{},"content":{"1023":{"position":[[414,16]]}},"keywords":{}}],["doc.upd",{"_index":807,"title":{},"content":{"52":{"position":[[543,12]]},"539":{"position":[[543,12]]},"599":{"position":[[570,12]]},"857":{"position":[[374,12]]},"1048":{"position":[[439,12]]}},"keywords":{}}],["doc.updatecrdt",{"_index":3889,"title":{},"content":{"684":{"position":[[164,16]]}},"keywords":{}}],["doc.updatedat",{"_index":5105,"title":{},"content":{"885":{"position":[[2069,14],[2120,14],[2170,14]]}},"keywords":{}}],["doc1",{"_index":4256,"title":{},"content":{"749":{"position":[[9507,4]]}},"keywords":{}}],["doc10",{"_index":4269,"title":{},"content":{"749":{"position":[[10465,5]]}},"keywords":{}}],["doc11",{"_index":4272,"title":{},"content":{"749":{"position":[[10588,5]]}},"keywords":{}}],["doc13",{"_index":4274,"title":{},"content":{"749":{"position":[[10692,5]]}},"keywords":{}}],["doc14",{"_index":4275,"title":{},"content":{"749":{"position":[[10798,5]]}},"keywords":{}}],["doc15",{"_index":4277,"title":{},"content":{"749":{"position":[[10889,5]]}},"keywords":{}}],["doc16",{"_index":4278,"title":{},"content":{"749":{"position":[[10971,5]]}},"keywords":{}}],["doc17",{"_index":4280,"title":{},"content":{"749":{"position":[[11109,5]]}},"keywords":{}}],["doc18",{"_index":4281,"title":{},"content":{"749":{"position":[[11250,5]]}},"keywords":{}}],["doc19",{"_index":4282,"title":{},"content":{"749":{"position":[[11361,5]]}},"keywords":{}}],["doc2",{"_index":4259,"title":{},"content":{"749":{"position":[[9652,4]]}},"keywords":{}}],["doc20",{"_index":4284,"title":{},"content":{"749":{"position":[[11460,5]]}},"keywords":{}}],["doc21",{"_index":4285,"title":{},"content":{"749":{"position":[[11536,5]]}},"keywords":{}}],["doc22",{"_index":4288,"title":{},"content":{"749":{"position":[[11681,5]]}},"keywords":{}}],["doc23",{"_index":4290,"title":{},"content":{"749":{"position":[[11778,5]]}},"keywords":{}}],["doc24",{"_index":4291,"title":{},"content":{"749":{"position":[[11887,5]]}},"keywords":{}}],["doc3",{"_index":4260,"title":{},"content":{"749":{"position":[[9736,4]]}},"keywords":{}}],["doc4",{"_index":4261,"title":{},"content":{"749":{"position":[[9824,4]]}},"keywords":{}}],["doc5",{"_index":4262,"title":{},"content":{"749":{"position":[[9931,4]]}},"keywords":{}}],["doc6",{"_index":4264,"title":{},"content":{"749":{"position":[[10045,4]]}},"keywords":{}}],["doc7",{"_index":4265,"title":{},"content":{"749":{"position":[[10163,4]]}},"keywords":{}}],["doc8",{"_index":4266,"title":{},"content":{"749":{"position":[[10272,4]]}},"keywords":{}}],["doc9",{"_index":4268,"title":{},"content":{"749":{"position":[[10377,4]]}},"keywords":{}}],["doc[k",{"_index":5152,"title":{},"content":{"887":{"position":[[650,7]]}},"keywords":{}}],["docafteredit",{"_index":5703,"title":{},"content":{"1045":{"position":[[122,12]]}},"keywords":{}}],["docdata",{"_index":2381,"title":{},"content":{"397":{"position":[[1920,7]]},"403":{"position":[[1007,8]]},"795":{"position":[[149,7]]},"846":{"position":[[844,7],[1279,7]]},"948":{"position":[[380,7]]},"986":{"position":[[730,7]]},"1044":{"position":[[456,8]]},"1061":{"position":[[271,8]]},"1311":{"position":[[1232,8]]}},"keywords":{}}],["docdata.ag",{"_index":5698,"title":{},"content":{"1044":{"position":[[418,11],[432,11]]},"1061":{"position":[[187,11],[201,11]]},"1296":{"position":[[888,11]]}},"keywords":{}}],["docdata.ageidcustomindex",{"_index":6459,"title":{},"content":{"1296":{"position":[[861,24]]}},"keywords":{}}],["docdata.id.padstart(idmaxlength",{"_index":6460,"title":{},"content":{"1296":{"position":[[902,32]]}},"keywords":{}}],["docdata['idx",{"_index":2386,"title":{},"content":{"397":{"position":[[2149,13]]},"403":{"position":[[921,13]]}},"keywords":{}}],["docker",{"_index":4893,"title":{},"content":{"861":{"position":[[296,7],[311,6],[322,6],[383,6],[473,6],[508,6],[546,6],[850,6],[873,6],[901,6]]},"865":{"position":[[196,6],[211,6]]},"872":{"position":[[441,6]]}},"keywords":{}}],["docorundefin",{"_index":5739,"title":{},"content":{"1057":{"position":[[330,14],[431,14]]}},"keywords":{}}],["docread",{"_index":2414,"title":{},"content":{"398":{"position":[[1738,8],[2101,8],[2553,8],[2564,8],[2891,8]]}},"keywords":{}}],["docs">",{"_index":3176,"title":{},"content":{"493":{"position":[[209,14],[255,14]]}},"keywords":{}}],["docs.color",{"_index":6526,"title":{},"content":{"1314":{"position":[[653,10],[678,10]]}},"keywords":{}}],["docs.foreach(d",{"_index":1136,"title":{},"content":{"143":{"position":[[531,14],[716,14]]}},"keywords":{}}],["docs.length",{"_index":2420,"title":{},"content":{"398":{"position":[[2575,12]]},"888":{"position":[[1087,11]]}},"keywords":{}}],["docs.map((doc",{"_index":3182,"title":{},"content":{"494":{"position":[[335,15]]}},"keywords":{}}],["docs.map(d",{"_index":2419,"title":{},"content":{"398":{"position":[[2516,10]]}},"keywords":{}}],["docs.rend",{"_index":3179,"title":{},"content":{"493":{"position":[[474,12]]}},"keywords":{}}],["docs/api/database/changes.html",{"_index":4828,"title":{},"content":{"846":{"position":[[994,30]]}},"keywords":{}}],["docs:instal",{"_index":3840,"title":{},"content":{"670":{"position":[[516,12]]}},"keywords":{}}],["docs:serv",{"_index":3841,"title":{},"content":{"670":{"position":[[548,10]]}},"keywords":{}}],["docsaft",{"_index":2401,"title":{},"content":{"398":{"position":[[991,10]]}},"keywords":{}}],["docsafter.map(d",{"_index":2407,"title":{},"content":{"398":{"position":[[1393,15]]}},"keywords":{}}],["docsbefor",{"_index":2400,"title":{},"content":{"398":{"position":[[978,12]]}},"keywords":{}}],["docsbefore.map(d",{"_index":2405,"title":{},"content":{"398":{"position":[[1350,16]]}},"keywords":{}}],["docsmap",{"_index":5361,"title":{},"content":{"951":{"position":[[367,7]]}},"keywords":{}}],["docsperindexsid",{"_index":2392,"title":{},"content":{"398":{"position":[[757,16],[1158,16],[1319,16],[3232,16]]},"402":{"position":[[1493,16]]}},"keywords":{}}],["docssign",{"_index":3181,"title":{},"content":{"494":{"position":[[278,10]]}},"keywords":{}}],["docssignal.valu",{"_index":3184,"title":{},"content":{"494":{"position":[[468,16]]}},"keywords":{}}],["docswithdist",{"_index":2408,"title":{},"content":{"398":{"position":[[1447,16],[2600,16]]}},"keywords":{}}],["docswithdistance.sort(sortbyobjectnumberproperty('distance')).revers",{"_index":2412,"title":{},"content":{"398":{"position":[[1627,72],[2780,72]]}},"keywords":{}}],["doctostr",{"_index":4056,"title":{},"content":{"724":{"position":[[1011,12]]}},"keywords":{}}],["document",{"_index":152,"title":{"73":{"position":[[11,9]]},"75":{"position":[[11,8]]},"81":{"position":[[8,9]]},"104":{"position":[[11,9]]},"106":{"position":[[11,8]]},"111":{"position":[[8,9]]},"231":{"position":[[13,9]]},"235":{"position":[[11,8]]},"236":{"position":[[8,9]]},"279":{"position":[[7,8]]},"282":{"position":[[35,10]]},"350":{"position":[[0,8]]},"365":{"position":[[36,10]]},"366":{"position":[[29,10]]},"371":{"position":[[19,9]]},"457":{"position":[[21,10]]},"684":{"position":[[9,10]]},"793":{"position":[[5,13]]},"800":{"position":[[20,8]]},"982":{"position":[[23,8]]},"1011":{"position":[[6,9]]},"1012":{"position":[[14,9]]},"1024":{"position":[[39,10]]},"1253":{"position":[[4,8]]}},"content":{"11":{"position":[[347,8]]},"14":{"position":[[760,9]]},"16":{"position":[[198,9]]},"19":{"position":[[79,8]]},"23":{"position":[[36,8]]},"24":{"position":[[442,9],[748,8]]},"25":{"position":[[58,8]]},"32":{"position":[[103,8]]},"33":{"position":[[405,8]]},"41":{"position":[[164,8]]},"47":{"position":[[617,8],[842,8]]},"73":{"position":[[12,10]]},"75":{"position":[[47,8]]},"81":{"position":[[44,8]]},"84":{"position":[[211,14]]},"104":{"position":[[26,10],[164,9]]},"106":{"position":[[34,8]]},"111":{"position":[[59,10],[89,9]]},"114":{"position":[[224,14]]},"138":{"position":[[92,10]]},"149":{"position":[[224,14]]},"151":{"position":[[332,8]]},"168":{"position":[[190,9]]},"174":{"position":[[446,9],[492,9],[646,9],[966,8],[1042,10],[2358,9],[2413,9]]},"175":{"position":[[217,14]]},"179":{"position":[[309,8]]},"181":{"position":[[212,10]]},"188":{"position":[[2814,8],[2834,8],[3182,9],[3265,9]]},"194":{"position":[[144,8]]},"204":{"position":[[243,8]]},"208":{"position":[[166,9]]},"209":{"position":[[955,9]]},"231":{"position":[[42,9],[194,10]]},"235":{"position":[[26,8],[107,10]]},"236":{"position":[[35,9]]},"255":{"position":[[122,9],[1086,11],[1238,9]]},"267":{"position":[[489,8],[613,8],[672,9],[831,9],[1509,8]]},"279":{"position":[[50,8],[172,9],[394,8]]},"282":{"position":[[184,9]]},"301":{"position":[[229,9]]},"302":{"position":[[626,9]]},"303":{"position":[[366,10],[495,9]]},"311":{"position":[[124,8]]},"315":{"position":[[1095,8]]},"316":{"position":[[483,8]]},"317":{"position":[[151,8]]},"322":{"position":[[181,9]]},"335":{"position":[[245,9]]},"339":{"position":[[41,9]]},"345":{"position":[[98,8]]},"347":{"position":[[224,14]]},"350":{"position":[[50,8],[213,9]]},"352":{"position":[[360,10]]},"353":{"position":[[208,9],[414,10],[661,9],[747,8]]},"354":{"position":[[41,8],[358,10]]},"357":{"position":[[471,8]]},"359":{"position":[[147,9]]},"360":{"position":[[55,9],[666,8]]},"361":{"position":[[169,9],[394,9],[503,9]]},"362":{"position":[[210,9],[1061,8],[1295,14]]},"364":{"position":[[496,9],[698,8]]},"365":{"position":[[25,9]]},"366":{"position":[[30,9],[152,8],[253,9]]},"367":{"position":[[14,9],[784,9]]},"369":{"position":[[322,10]]},"371":{"position":[[236,9]]},"372":{"position":[[208,8]]},"381":{"position":[[306,9]]},"382":{"position":[[83,8]]},"386":{"position":[[310,13]]},"387":{"position":[[139,14]]},"390":{"position":[[630,8],[697,9]]},"392":{"position":[[470,9],[1292,10],[1411,9],[1783,9],[1858,9],[1955,8],[2281,9],[2529,10],[3122,9]]},"394":{"position":[[204,9],[331,10],[1210,9],[1277,8],[1457,9],[1611,9],[1675,10]]},"395":{"position":[[185,9],[274,10]]},"397":{"position":[[402,8]]},"399":{"position":[[420,10]]},"402":{"position":[[754,9],[1237,8],[1450,9]]},"408":{"position":[[2973,9],[4529,10],[4847,9]]},"410":{"position":[[1673,10]]},"411":{"position":[[3457,8]]},"412":{"position":[[2274,10],[3160,8],[4557,9],[4708,8],[4758,9],[10483,9],[14395,8]]},"419":{"position":[[1600,13]]},"426":{"position":[[282,9]]},"429":{"position":[[608,9]]},"430":{"position":[[420,10],[450,9]]},"432":{"position":[[251,10]]},"452":{"position":[[611,10]]},"457":{"position":[[85,9]]},"459":{"position":[[486,9]]},"462":{"position":[[844,9]]},"464":{"position":[[816,8],[1031,8],[1309,8],[1388,9]]},"465":{"position":[[30,10],[87,9]]},"466":{"position":[[57,9],[576,9]]},"467":{"position":[[19,9],[487,9],[681,9]]},"469":{"position":[[300,9],[719,9],[812,9]]},"482":{"position":[[105,8]]},"483":{"position":[[749,13]]},"487":{"position":[[311,8]]},"490":{"position":[[178,8]]},"491":{"position":[[1366,9]]},"493":{"position":[[99,10],[396,9],[459,9],[492,8]]},"496":{"position":[[349,8]]},"511":{"position":[[224,14]]},"531":{"position":[[224,14]]},"535":{"position":[[664,8],[844,8]]},"556":{"position":[[1273,8]]},"561":{"position":[[51,10],[162,9]]},"564":{"position":[[124,9]]},"566":{"position":[[163,9]]},"567":{"position":[[187,13]]},"575":{"position":[[680,9]]},"582":{"position":[[526,8]]},"585":{"position":[[106,10]]},"588":{"position":[[55,10]]},"591":{"position":[[224,14]]},"631":{"position":[[324,9]]},"632":{"position":[[172,9],[556,8],[2322,9],[2347,9]]},"634":{"position":[[301,8]]},"635":{"position":[[86,8],[122,8]]},"639":{"position":[[53,9]]},"653":{"position":[[400,8],[1131,9]]},"654":{"position":[[356,9]]},"655":{"position":[[33,9],[83,10],[316,9],[379,10],[405,9],[474,9]]},"661":{"position":[[1546,8]]},"662":{"position":[[206,9],[2579,9]]},"664":{"position":[[20,13]]},"670":{"position":[[437,13]]},"679":{"position":[[331,13]]},"680":{"position":[[1203,8]]},"681":{"position":[[67,8],[520,8]]},"682":{"position":[[50,8],[218,8]]},"683":{"position":[[358,8],[645,9],[713,9],[789,8],[867,8],[954,8]]},"684":{"position":[[18,8]]},"685":{"position":[[76,8],[110,8],[266,8],[311,8],[371,9],[484,9],[585,8],[609,8]]},"686":{"position":[[652,8]]},"687":{"position":[[67,8],[199,8],[327,8]]},"688":{"position":[[58,8],[428,8],[770,8]]},"691":{"position":[[66,8],[594,8]]},"698":{"position":[[48,9],[147,8],[221,9],[299,8],[499,8],[559,9],[623,8],[653,8],[855,8],[1175,8],[1299,8],[1325,8],[1498,10],[1840,8],[1969,9],[2344,9],[2422,9],[2740,8]]},"700":{"position":[[427,8],[1125,8]]},"701":{"position":[[153,9],[296,10],[801,9],[890,9],[1043,8]]},"702":{"position":[[115,9],[225,10],[473,10]]},"703":{"position":[[230,8]]},"705":{"position":[[203,8],[468,8]]},"710":{"position":[[240,10],[1887,8]]},"711":{"position":[[2005,8]]},"714":{"position":[[150,8],[606,9],[805,9],[1061,9]]},"717":{"position":[[277,8]]},"719":{"position":[[386,9]]},"723":{"position":[[1080,8],[1481,9],[2320,9]]},"724":{"position":[[696,9],[778,8],[886,8],[1078,9],[1550,9]]},"749":{"position":[[6767,8],[8917,8],[8959,8],[9124,9],[10632,8],[10719,8],[11189,9],[11256,8],[11899,8],[12082,8],[12296,8],[12318,8],[13695,9],[14226,9],[14297,8],[14472,9],[22499,9],[23394,9],[23817,9]]},"751":{"position":[[307,8],[369,8],[418,8],[1078,8],[1536,9],[1843,9]]},"752":{"position":[[1203,9]]},"754":{"position":[[49,9]]},"756":{"position":[[156,9]]},"764":{"position":[[42,8],[108,9],[246,9],[313,8]]},"767":{"position":[[52,9],[176,8]]},"768":{"position":[[26,8],[139,8]]},"769":{"position":[[29,8],[150,8]]},"770":{"position":[[195,9],[256,10],[590,10]]},"781":{"position":[[810,10]]},"793":{"position":[[5,13],[1087,9]]},"795":{"position":[[43,10],[106,8]]},"796":{"position":[[1300,9]]},"798":{"position":[[670,9]]},"800":{"position":[[89,9],[125,8],[367,9],[416,8],[486,9],[560,9],[718,8]]},"810":{"position":[[157,8]]},"816":{"position":[[107,8]]},"820":{"position":[[709,10]]},"821":{"position":[[673,10]]},"824":{"position":[[69,13],[345,14]]},"826":{"position":[[149,8],[407,8],[567,8],[673,8],[998,8]]},"829":{"position":[[3831,9],[3865,9]]},"831":{"position":[[562,14]]},"836":{"position":[[1423,8]]},"837":{"position":[[370,9],[488,9],[766,9],[2082,10]]},"838":{"position":[[235,9],[2793,9]]},"841":{"position":[[449,8]]},"844":{"position":[[191,8]]},"846":{"position":[[663,9],[777,9],[1196,9]]},"854":{"position":[[1233,9]]},"855":{"position":[[41,10],[115,8],[211,9]]},"856":{"position":[[69,8]]},"857":{"position":[[55,9],[193,10]]},"861":{"position":[[1210,9],[1290,10],[1345,8],[1606,10],[1666,9],[1790,8],[1943,9],[2101,8]]},"863":{"position":[[406,9],[568,9],[653,8]]},"866":{"position":[[655,9],[703,8]]},"867":{"position":[[41,10],[115,8],[206,9]]},"868":{"position":[[79,13]]},"872":{"position":[[1150,8],[1311,9]]},"875":{"position":[[1412,9],[1604,8],[1795,8],[1952,9],[2188,9],[2360,9],[2839,10],[3040,10],[3473,10],[3741,9],[4023,8],[4560,10],[5199,8],[5812,8],[8306,10],[9272,9]]},"881":{"position":[[87,9]]},"885":{"position":[[191,8],[341,9],[375,8],[409,8],[788,10],[1112,8],[1956,9],[1987,8],[2326,9],[2434,8],[2595,10]]},"886":{"position":[[689,9],[1266,9],[1470,9],[1571,10],[2170,8],[2878,8],[3007,9],[3094,9],[3599,9]]},"888":{"position":[[236,8],[331,10],[955,9],[1058,10]]},"889":{"position":[[683,9]]},"897":{"position":[[126,9]]},"903":{"position":[[536,8]]},"904":{"position":[[1143,8]]},"908":{"position":[[313,8]]},"921":{"position":[[69,9]]},"934":{"position":[[417,9]]},"936":{"position":[[28,9]]},"942":{"position":[[24,9]]},"943":{"position":[[57,8],[96,8],[356,9]]},"944":{"position":[[30,9],[462,9],[550,8]]},"945":{"position":[[30,9],[284,8]]},"946":{"position":[[13,8]]},"947":{"position":[[41,10]]},"948":{"position":[[174,9],[552,8]]},"949":{"position":[[9,9]]},"950":{"position":[[68,9],[124,8],[155,9],[230,8],[356,8]]},"951":{"position":[[11,9],[197,8],[223,9],[233,9]]},"952":{"position":[[54,8]]},"953":{"position":[[225,9]]},"954":{"position":[[86,10]]},"962":{"position":[[180,10]]},"971":{"position":[[184,9]]},"977":{"position":[[11,9]]},"983":{"position":[[6,8],[67,9],[257,9],[556,8],[630,8]]},"984":{"position":[[200,9],[317,9],[398,9],[611,10]]},"986":{"position":[[56,9],[155,9],[335,9],[454,8],[585,10],[697,9],[906,9],[1076,10],[1099,8],[1373,10],[1483,10]]},"987":{"position":[[55,8],[303,8],[606,8]]},"988":{"position":[[1712,8],[1741,8],[1882,9],[2066,9],[2459,9],[2938,9],[3027,9],[3201,8],[3893,9],[4034,9],[4125,10],[4199,10],[4509,9],[4745,8],[5402,10]]},"990":{"position":[[16,8],[144,8],[438,8],[581,9]]},"993":{"position":[[99,8],[226,8]]},"995":{"position":[[1255,8]]},"999":{"position":[[230,9]]},"1002":{"position":[[85,9],[460,9],[1113,9]]},"1003":{"position":[[48,8]]},"1004":{"position":[[268,9],[537,9],[674,8],[736,8]]},"1007":{"position":[[72,8]]},"1012":{"position":[[21,10],[58,9],[174,11]]},"1013":{"position":[[35,8],[201,9],[247,9],[433,9],[585,9],[652,9]]},"1014":{"position":[[17,8],[76,8],[294,9]]},"1015":{"position":[[17,8]]},"1017":{"position":[[58,8]]},"1018":{"position":[[361,8],[408,9],[699,8]]},"1020":{"position":[[515,9]]},"1022":{"position":[[40,9],[100,9],[163,9]]},"1024":{"position":[[38,8],[117,9],[161,8]]},"1026":{"position":[[155,9]]},"1028":{"position":[[156,9]]},"1035":{"position":[[13,8]]},"1036":{"position":[[9,9],[167,9]]},"1038":{"position":[[37,9]]},"1039":{"position":[[124,8]]},"1041":{"position":[[13,8]]},"1042":{"position":[[11,9]]},"1043":{"position":[[42,9]]},"1044":{"position":[[182,9]]},"1047":{"position":[[18,8],[84,8],[197,9]]},"1048":{"position":[[32,9],[260,8],[349,8]]},"1052":{"position":[[259,8],[418,9]]},"1055":{"position":[[129,10]]},"1056":{"position":[[272,8]]},"1057":{"position":[[270,8],[527,8]]},"1059":{"position":[[349,8]]},"1061":{"position":[[250,8]]},"1062":{"position":[[19,10],[78,10],[97,9],[220,9]]},"1063":{"position":[[27,8]]},"1065":{"position":[[1026,8],[1773,10],[2012,9]]},"1066":{"position":[[476,9]]},"1067":{"position":[[34,9],[88,8],[587,12],[713,8],[854,8],[1091,8],[1855,8]]},"1068":{"position":[[230,8],[258,8],[392,8]]},"1069":{"position":[[671,9],[832,9]]},"1072":{"position":[[21,8],[102,8],[217,9],[445,10],[1094,9],[2254,9],[2339,8]]},"1077":{"position":[[156,8]]},"1078":{"position":[[92,8],[744,8]]},"1082":{"position":[[82,8]]},"1085":{"position":[[82,9],[949,8],[1929,9],[2440,8],[2961,8],[3077,9]]},"1101":{"position":[[389,9]]},"1102":{"position":[[1260,9],[1318,9],[1367,9]]},"1105":{"position":[[76,9],[551,9],[960,8]]},"1106":{"position":[[78,8],[193,8],[226,8],[289,8]]},"1107":{"position":[[113,9],[244,9]]},"1108":{"position":[[703,8]]},"1124":{"position":[[1191,9]]},"1132":{"position":[[879,10],[920,9],[1281,8],[1474,9]]},"1134":{"position":[[605,9]]},"1158":{"position":[[552,9],[644,10]]},"1162":{"position":[[464,8]]},"1164":{"position":[[208,8]]},"1181":{"position":[[551,8]]},"1184":{"position":[[134,8]]},"1186":{"position":[[189,9]]},"1192":{"position":[[518,10],[785,11]]},"1194":{"position":[[305,8],[335,9],[364,9],[415,9],[472,9],[520,9],[550,10],[587,9],[629,9],[693,9],[746,9],[787,9],[839,9],[934,10],[971,9]]},"1198":{"position":[[516,9],[571,8],[1072,9],[1290,9]]},"1228":{"position":[[78,14]]},"1246":{"position":[[1081,9],[1770,10]]},"1249":{"position":[[381,8]]},"1253":{"position":[[51,8],[143,9]]},"1257":{"position":[[16,8]]},"1258":{"position":[[89,8]]},"1271":{"position":[[430,9]]},"1294":{"position":[[288,9],[1228,8],[2087,9]]},"1295":{"position":[[137,9],[176,9],[570,9],[1235,9]]},"1296":{"position":[[271,9],[629,8],[748,8]]},"1304":{"position":[[1580,8]]},"1305":{"position":[[479,8],[776,8],[813,8]]},"1307":{"position":[[81,8],[235,9],[356,8],[905,8]]},"1308":{"position":[[72,9],[100,9],[316,8],[471,8],[537,8],[579,8]]},"1309":{"position":[[79,8],[634,8],[684,9]]},"1311":{"position":[[1257,9],[1444,8]]},"1313":{"position":[[654,8]]},"1314":{"position":[[546,9]]},"1315":{"position":[[1418,9]]},"1316":{"position":[[3169,9],[3195,8],[3218,8]]},"1317":{"position":[[116,8],[166,8],[263,8]]},"1318":{"position":[[67,9],[209,9]]},"1319":{"position":[[189,9],[276,8]]},"1320":{"position":[[562,9],[592,10],[619,8],[832,8],[887,9]]},"1321":{"position":[[682,10],[809,9],[890,10],[942,9]]},"1322":{"position":[[200,8],[248,8],[371,8]]},"1323":{"position":[[97,9],[207,8]]},"1324":{"position":[[573,8]]}},"keywords":{}}],["document'",{"_index":2378,"title":{},"content":{"397":{"position":[[1472,10]]},"571":{"position":[[1290,10]]},"1051":{"position":[[13,10]]}},"keywords":{}}],["document(",{"_index":5124,"title":{},"content":{"886":{"position":[[1383,12]]}},"keywords":{}}],["document).ready(async",{"_index":1943,"title":{},"content":{"335":{"position":[[147,23]]}},"keywords":{}}],["document.addeventlistener('devicereadi",{"_index":165,"title":{},"content":{"11":{"position":[[609,40]]}},"keywords":{}}],["document.find",{"_index":6166,"title":{},"content":{"1194":{"position":[[679,13]]}},"keywords":{}}],["document.getelementbyid('#mylist').innerhtml",{"_index":3468,"title":{},"content":{"571":{"position":[[1189,44]]}},"keywords":{}}],["document.if",{"_index":5438,"title":{},"content":{"982":{"position":[[482,11]]}},"keywords":{}}],["document.pushhandl",{"_index":5441,"title":{},"content":{"983":{"position":[[377,20]]}},"keywords":{}}],["document.rxdb",{"_index":3891,"title":{},"content":{"686":{"position":[[390,13]]}},"keywords":{}}],["document.th",{"_index":5804,"title":{},"content":{"1074":{"position":[[252,12]]},"1305":{"position":[[671,12]]}},"keywords":{}}],["documentationjoin",{"_index":4977,"title":{},"content":{"873":{"position":[[151,17]]}},"keywords":{}}],["documentdata",{"_index":5756,"title":{},"content":{"1063":{"position":[[67,12]]}},"keywords":{}}],["documentid",{"_index":3740,"title":{},"content":{"649":{"position":[[371,11]]}},"keywords":{}}],["documents+checkpoint",{"_index":5479,"title":{},"content":{"988":{"position":[[5311,21]]}},"keywords":{}}],["documents.count",{"_index":6169,"title":{},"content":{"1194":{"position":[[918,15]]}},"keywords":{}}],["documents.cross",{"_index":3535,"title":{},"content":{"595":{"position":[[925,15]]}},"keywords":{}}],["documents.length",{"_index":5000,"title":{},"content":{"875":{"position":[[2638,16]]}},"keywords":{}}],["documents.sort((a",{"_index":5098,"title":{},"content":{"885":{"position":[[1705,18]]}},"keywords":{}}],["documents.th",{"_index":6111,"title":{},"content":{"1162":{"position":[[710,13]]},"1181":{"position":[[798,13]]}},"keywords":{}}],["documents/field",{"_index":2756,"title":{},"content":{"412":{"position":[[12907,17]]}},"keywords":{}}],["documentsasynchron",{"_index":4517,"title":{},"content":{"765":{"position":[[156,21]]}},"keywords":{}}],["documentscr",{"_index":4845,"title":{},"content":{"849":{"position":[[511,15]]}},"keywords":{}}],["documentsfromremot",{"_index":5467,"title":{},"content":{"988":{"position":[[3813,19],[4136,20]]}},"keywords":{}}],["documentsfromremote.length",{"_index":5468,"title":{},"content":{"988":{"position":[[3934,26],[4318,26]]}},"keywords":{}}],["documentsno",{"_index":6403,"title":{},"content":{"1292":{"position":[[321,11],[675,11]]}},"keywords":{}}],["documents—particularli",{"_index":2101,"title":{},"content":{"362":{"position":[[792,22]]}},"keywords":{}}],["documentth",{"_index":5805,"title":{},"content":{"1074":{"position":[[299,11]]}},"keywords":{}}],["doe",{"_index":5800,"title":{},"content":{"1072":{"position":[[2364,5],[2391,4],[2524,4],[2697,6]]}},"keywords":{}}],["doesdocumentdatamatch",{"_index":5755,"title":{"1063":{"position":[[0,24]]}},"content":{},"keywords":{}}],["doesdocumentdatamatch(documentdata",{"_index":5758,"title":{},"content":{"1063":{"position":[[160,39],[264,39]]}},"keywords":{}}],["doesn't",{"_index":559,"title":{},"content":{"35":{"position":[[366,7]]},"42":{"position":[[101,7]]},"65":{"position":[[314,7]]},"249":{"position":[[24,7]]},"287":{"position":[[6,7],[1036,7]]},"390":{"position":[[1283,7],[1797,7]]},"410":{"position":[[1323,7]]},"411":{"position":[[4502,7]]},"412":{"position":[[8732,7]]},"521":{"position":[[101,7]]},"534":{"position":[[380,7]]},"535":{"position":[[724,7]]},"594":{"position":[[378,7]]},"595":{"position":[[745,7]]},"632":{"position":[[938,7]]},"1072":{"position":[[613,7],[1024,7],[1614,7]]},"1287":{"position":[[209,7]]}},"keywords":{}}],["doesn’t",{"_index":3409,"title":{},"content":{"559":{"position":[[1400,7]]}},"keywords":{}}],["dollar",{"_index":848,"title":{},"content":{"55":{"position":[[1017,6]]},"542":{"position":[[726,6]]},"749":{"position":[[6537,6]]},"826":{"position":[[53,6],[241,6]]},"1117":{"position":[[273,6]]},"1118":{"position":[[17,6]]}},"keywords":{}}],["dom",{"_index":1914,"title":{"335":{"position":[[13,3]]}},"content":{"320":{"position":[[34,3]]},"323":{"position":[[137,3]]},"326":{"position":[[190,3]]},"335":{"position":[[98,4],[389,3]]},"346":{"position":[[517,3]]},"460":{"position":[[1018,4]]},"571":{"position":[[805,3]]},"676":{"position":[[97,4]]},"829":{"position":[[79,3]]}},"keywords":{}}],["dom.indexeddb.warningquota",{"_index":1759,"title":{},"content":{"299":{"position":[[1252,27]]}},"keywords":{}}],["domain",{"_index":2612,"title":{"617":{"position":[[15,6]]}},"content":{"411":{"position":[[1616,6]]},"432":{"position":[[338,7]]},"450":{"position":[[243,6]]},"461":{"position":[[868,6]]},"617":{"position":[[48,6],[1261,6]]},"688":{"position":[[566,6]]},"849":{"position":[[255,6]]},"890":{"position":[[567,6]]},"1157":{"position":[[171,7]]}},"keywords":{}}],["domainfirefox",{"_index":3017,"title":{},"content":{"461":{"position":[[818,14]]}},"keywords":{}}],["domainsafari",{"_index":3018,"title":{},"content":{"461":{"position":[[843,13]]}},"keywords":{}}],["don't",{"_index":1108,"title":{},"content":{"131":{"position":[[866,5]]},"282":{"position":[[213,5]]},"346":{"position":[[412,5]]},"411":{"position":[[2195,5]]},"412":{"position":[[10062,5]]},"496":{"position":[[414,5]]},"497":{"position":[[159,5]]},"571":{"position":[[1666,5]]},"668":{"position":[[312,5]]},"689":{"position":[[349,5]]},"752":{"position":[[1319,5]]},"806":{"position":[[207,5]]},"1084":{"position":[[426,5]]}},"keywords":{}}],["done",{"_index":1444,"title":{},"content":{"243":{"position":[[66,5],[145,5],[271,5],[320,5],[361,5]]},"255":{"position":[[896,5]]},"276":{"position":[[441,5]]},"367":{"position":[[955,5],[1061,7]]},"411":{"position":[[3169,4]]},"412":{"position":[[12147,4]]},"450":{"position":[[670,4]]},"454":{"position":[[960,4]]},"466":{"position":[[539,4]]},"469":{"position":[[479,4]]},"480":{"position":[[646,5],[743,5]]},"570":{"position":[[900,4]]},"632":{"position":[[1646,5]]},"634":{"position":[[313,5]]},"653":{"position":[[859,5]]},"660":{"position":[[434,4]]},"663":{"position":[[16,4]]},"696":{"position":[[509,4]]},"698":{"position":[[1637,4]]},"724":{"position":[[836,4]]},"749":{"position":[[17695,4]]},"752":{"position":[[1153,6]]},"756":{"position":[[197,5]]},"776":{"position":[[50,4]]},"780":{"position":[[602,4]]},"796":{"position":[[1246,7],[1315,6],[1384,6]]},"829":{"position":[[1020,4]]},"842":{"position":[[147,4]]},"861":{"position":[[785,5]]},"872":{"position":[[266,4]]},"904":{"position":[[985,5],[1106,7],[1214,5]]},"929":{"position":[[62,5]]},"938":{"position":[[131,5]]},"964":{"position":[[597,5]]},"965":{"position":[[110,4]]},"966":{"position":[[129,4]]},"994":{"position":[[78,4],[265,5]]},"995":{"position":[[804,4]]},"1002":{"position":[[758,4]]},"1041":{"position":[[99,4]]},"1052":{"position":[[154,4]]},"1083":{"position":[[336,5]]},"1094":{"position":[[505,4]]},"1106":{"position":[[112,4]]},"1158":{"position":[[470,5],[525,7],[710,5]]},"1175":{"position":[[596,4]]},"1192":{"position":[[214,4]]},"1208":{"position":[[1865,5]]},"1246":{"position":[[1060,4]]},"1272":{"position":[[175,4]]},"1294":{"position":[[989,4],[1111,5],[1709,4]]},"1295":{"position":[[276,4],[823,4],[1446,5]]},"1296":{"position":[[1815,4]]}},"keywords":{}}],["done.insert",{"_index":6162,"title":{},"content":{"1194":{"position":[[323,11]]}},"keywords":{}}],["done.when",{"_index":6155,"title":{},"content":{"1181":{"position":[[94,9]]}},"keywords":{}}],["don’t",{"_index":2071,"title":{},"content":{"358":{"position":[[1007,5]]},"898":{"position":[[1805,5]]}},"keywords":{}}],["door",{"_index":2636,"title":{},"content":{"411":{"position":[[4984,4]]}},"keywords":{}}],["dot",{"_index":3497,"title":{},"content":{"580":{"position":[[583,3]]}},"keywords":{}}],["doubl",{"_index":847,"title":{},"content":{"55":{"position":[[1010,6]]},"542":{"position":[[719,6]]},"749":{"position":[[11814,6]]},"826":{"position":[[234,6]]},"1118":{"position":[[10,6]]}},"keywords":{}}],["doubt",{"_index":6042,"title":{},"content":{"1134":{"position":[[388,6],[496,6]]}},"keywords":{}}],["down",{"_index":136,"title":{"10":{"position":[[13,5]]}},"content":{"10":{"position":[[95,4],[260,7]]},"20":{"position":[[136,4]]},"28":{"position":[[513,4]]},"311":{"position":[[49,4]]},"354":{"position":[[899,4]]},"402":{"position":[[2147,4],[2255,4]]},"407":{"position":[[600,5]]},"412":{"position":[[6717,4],[10013,4],[12340,4]]},"414":{"position":[[357,5]]},"427":{"position":[[832,4]]},"481":{"position":[[95,5]]},"577":{"position":[[13,4]]},"582":{"position":[[387,4]]},"632":{"position":[[50,4]]},"653":{"position":[[708,4]]},"656":{"position":[[366,5]]},"801":{"position":[[234,4]]},"802":{"position":[[239,4]]},"861":{"position":[[888,4]]},"1013":{"position":[[789,4]]},"1164":{"position":[[1440,4]]},"1198":{"position":[[538,4]]},"1238":{"position":[[338,4]]},"1292":{"position":[[849,4]]},"1300":{"position":[[279,4]]}},"keywords":{}}],["downgrad",{"_index":6571,"title":{"1320":{"position":[[18,10]]}},"content":{},"keywords":{}}],["download",{"_index":2714,"title":{"1024":{"position":[[9,8]]}},"content":{"412":{"position":[[6802,8],[7154,8]]},"420":{"position":[[19,8],[127,9],[198,10],[255,10],[359,10]]},"454":{"position":[[710,10]]},"462":{"position":[[609,10]]},"463":{"position":[[125,11],[404,8],[455,8]]},"468":{"position":[[481,8]]},"696":{"position":[[204,8],[268,8],[597,11]]},"1007":{"position":[[966,9]]},"1008":{"position":[[298,8]]},"1024":{"position":[[143,10],[247,9]]},"1316":{"position":[[3047,9],[3147,9],[3230,10]]}},"keywords":{}}],["downsid",{"_index":577,"title":{"495":{"position":[[0,9]]},"689":{"position":[[0,9]]},"695":{"position":[[0,9]]}},"content":{"36":{"position":[[463,8]]},"402":{"position":[[504,8]]},"412":{"position":[[1289,8]]},"417":{"position":[[359,9]]},"468":{"position":[[59,10]]},"559":{"position":[[958,9]]},"661":{"position":[[1336,8]]},"711":{"position":[[1813,8]]},"772":{"position":[[1368,8]]},"774":{"position":[[933,10]]},"800":{"position":[[455,8]]},"836":{"position":[[1128,9]]},"839":{"position":[[362,10],[587,8]]},"1072":{"position":[[2791,9]]},"1295":{"position":[[1213,9]]},"1300":{"position":[[5,8]]}},"keywords":{}}],["downtim",{"_index":2789,"title":{},"content":{"416":{"position":[[489,8]]}},"keywords":{}}],["dozen",{"_index":2614,"title":{},"content":{"411":{"position":[[1692,6]]}},"keywords":{}}],["draft",{"_index":3619,"title":{},"content":{"613":{"position":[[581,5],[686,5]]}},"keywords":{}}],["dramat",{"_index":2531,"title":{},"content":{"408":{"position":[[813,12],[4354,8]]},"452":{"position":[[570,12]]},"469":{"position":[[454,12]]}},"keywords":{}}],["drastic",{"_index":1967,"title":{},"content":{"342":{"position":[[104,11]]},"361":{"position":[[1099,11]]},"411":{"position":[[302,11]]},"585":{"position":[[145,11]]},"630":{"position":[[304,11]]},"901":{"position":[[416,11]]}},"keywords":{}}],["drawback",{"_index":390,"title":{},"content":{"23":{"position":[[353,8]]},"47":{"position":[[69,10]]},"412":{"position":[[96,9]]},"427":{"position":[[152,8]]},"535":{"position":[[71,9]]},"595":{"position":[[71,9]]},"837":{"position":[[254,9]]},"875":{"position":[[9430,9]]}},"keywords":{}}],["drift",{"_index":6552,"title":{},"content":{"1316":{"position":[[1955,6]]}},"keywords":{}}],["drive",{"_index":1745,"title":{},"content":{"299":{"position":[[327,6]]},"696":{"position":[[1750,5]]}},"keywords":{}}],["driven",{"_index":1167,"title":{},"content":{"153":{"position":[[224,6]]},"174":{"position":[[677,6]]},"198":{"position":[[401,6]]},"321":{"position":[[14,6]]},"326":{"position":[[44,6]]},"331":{"position":[[348,7]]},"408":{"position":[[29,6]]},"476":{"position":[[35,6]]},"503":{"position":[[46,6]]},"510":{"position":[[412,6]]},"567":{"position":[[516,6]]},"828":{"position":[[113,6]]}},"keywords":{}}],["driver",{"_index":4939,"title":{},"content":{"871":{"position":[[822,6]]},"872":{"position":[[115,7]]}},"keywords":{}}],["drizzl",{"_index":6374,"title":{},"content":{"1282":{"position":[[988,7]]}},"keywords":{}}],["drop",{"_index":2598,"title":{},"content":{"410":{"position":[[1289,5]]},"412":{"position":[[3427,4],[5201,4]]},"698":{"position":[[877,8]]},"881":{"position":[[140,4]]},"987":{"position":[[785,4]]},"1301":{"position":[[959,7]]},"1309":{"position":[[998,4]]}},"keywords":{}}],["due",{"_index":699,"title":{},"content":{"45":{"position":[[300,3]]},"67":{"position":[[125,3]]},"71":{"position":[[55,3]]},"161":{"position":[[193,3]]},"320":{"position":[[111,3]]},"400":{"position":[[223,3]]},"408":{"position":[[259,3]]},"429":{"position":[[231,3]]},"434":{"position":[[112,3]]},"446":{"position":[[1191,3]]},"520":{"position":[[76,3]]},"521":{"position":[[54,3]]},"621":{"position":[[39,3]]},"622":{"position":[[40,3],[449,3]]},"623":{"position":[[480,3]]},"624":{"position":[[1401,3],[1620,3]]}},"keywords":{}}],["dump",{"_index":5367,"title":{},"content":{"952":{"position":[[158,4],[262,6]]},"953":{"position":[[20,4],[81,4]]},"971":{"position":[[270,4],[374,6]]},"972":{"position":[[20,5],[80,4]]}},"keywords":{}}],["duplex",{"_index":3565,"title":{},"content":{"611":{"position":[[27,6]]},"621":{"position":[[55,6]]}},"keywords":{}}],["duplic",{"_index":2239,"title":{"740":{"position":[[7,9]]}},"content":{"392":{"position":[[2141,9]]},"740":{"position":[[246,9],[338,9],[623,9]]},"749":{"position":[[5727,9]]},"800":{"position":[[389,9]]},"990":{"position":[[337,9],[428,9],[629,10]]},"1072":{"position":[[199,10]]},"1114":{"position":[[379,10]]},"1321":{"position":[[875,10]]}},"keywords":{}}],["durabl",{"_index":1609,"title":{"1297":{"position":[[8,11]]}},"content":{"266":{"position":[[317,11]]},"412":{"position":[[7755,7]]},"1297":{"position":[[38,10],[144,10],[418,10]]},"1304":{"position":[[131,11]]}},"keywords":{}}],["durat",{"_index":2919,"title":{},"content":{"436":{"position":[[160,8]]}},"keywords":{}}],["dure",{"_index":1220,"title":{},"content":{"174":{"position":[[1687,6]]},"188":{"position":[[1857,6]]},"217":{"position":[[172,6]]},"316":{"position":[[548,6]]},"353":{"position":[[802,6]]},"392":{"position":[[1942,6]]},"395":{"position":[[130,6]]},"408":{"position":[[3320,6]]},"411":{"position":[[108,6]]},"412":{"position":[[2191,6]]},"556":{"position":[[1350,6],[1467,6]]},"634":{"position":[[462,6]]},"674":{"position":[[139,6]]},"690":{"position":[[438,6]]},"749":{"position":[[21237,6]]},"754":{"position":[[499,6]]},"761":{"position":[[194,6]]},"801":{"position":[[270,6]]},"821":{"position":[[88,6],[181,6]]},"829":{"position":[[2052,6]]},"844":{"position":[[126,6]]},"847":{"position":[[23,6]]},"987":{"position":[[146,6]]},"988":{"position":[[2755,6]]},"990":{"position":[[751,6],[959,6]]},"1093":{"position":[[535,6]]},"1186":{"position":[[1,6]]}},"keywords":{}}],["dvm1",{"_index":4409,"title":{},"content":{"749":{"position":[[21724,4]]}},"keywords":{}}],["dxe1",{"_index":4422,"title":{},"content":{"749":{"position":[[23004,4]]}},"keywords":{}}],["dynam",{"_index":348,"title":{},"content":{"20":{"position":[[47,7]]},"34":{"position":[[733,7]]},"47":{"position":[[461,7]]},"90":{"position":[[160,7]]},"116":{"position":[[260,7]]},"124":{"position":[[106,7]]},"226":{"position":[[427,7]]},"275":{"position":[[130,11]]},"289":{"position":[[1460,7]]},"298":{"position":[[295,7],[866,7]]},"351":{"position":[[168,7]]},"362":{"position":[[984,8]]},"491":{"position":[[1838,7]]},"502":{"position":[[186,7],[692,7]]},"509":{"position":[[111,7]]},"514":{"position":[[384,7]]},"530":{"position":[[667,7]]},"562":{"position":[[1007,7]]},"753":{"position":[[153,11]]},"841":{"position":[[1472,7]]},"846":{"position":[[526,11]]},"904":{"position":[[3574,11]]},"1007":{"position":[[2001,11]]},"1009":{"position":[[756,11]]},"1112":{"position":[[418,12],[566,7]]},"1132":{"position":[[995,7]]},"1229":{"position":[[188,11]]},"1268":{"position":[[266,11]]}},"keywords":{}}],["dynamodb",{"_index":2938,"title":{},"content":{"444":{"position":[[630,9]]},"1324":{"position":[[939,9]]}},"keywords":{}}],["e",{"_index":2259,"title":{},"content":{"392":{"position":[[3564,3]]},"496":{"position":[[511,1]]},"1294":{"position":[[1584,1]]}},"keywords":{}}],["e.data.id",{"_index":2261,"title":{},"content":{"392":{"position":[[3650,10]]}},"keywords":{}}],["e.g",{"_index":876,"title":{},"content":{"59":{"position":[[223,6]]},"112":{"position":[[136,6]]},"252":{"position":[[60,6]]},"255":{"position":[[1683,6]]},"305":{"position":[[158,6]]},"353":{"position":[[671,6]]},"354":{"position":[[282,6]]},"383":{"position":[[363,6]]},"411":{"position":[[101,6],[5597,5]]},"412":{"position":[[2237,6],[3585,6],[6422,6]]},"415":{"position":[[94,6]]},"496":{"position":[[488,6]]},"571":{"position":[[547,6]]},"871":{"position":[[609,6]]},"872":{"position":[[4399,4]]},"886":{"position":[[4744,5]]},"1007":{"position":[[543,6],[612,6]]},"1085":{"position":[[1967,6]]},"1133":{"position":[[381,5]]}},"keywords":{}}],["e.target.result",{"_index":6443,"title":{},"content":{"1294":{"position":[[1628,16]]}},"keywords":{}}],["e5",{"_index":2475,"title":{},"content":{"401":{"position":[[567,2]]}},"keywords":{}}],["each",{"_index":716,"title":{},"content":{"46":{"position":[[528,4]]},"158":{"position":[[296,4]]},"162":{"position":[[659,4]]},"204":{"position":[[46,4]]},"220":{"position":[[134,4]]},"261":{"position":[[451,4],[1111,4]]},"289":{"position":[[1739,4]]},"335":{"position":[[372,4]]},"350":{"position":[[35,4]]},"360":{"position":[[33,4]]},"369":{"position":[[1436,4]]},"390":{"position":[[849,4]]},"391":{"position":[[1046,4]]},"392":{"position":[[1406,4],[3409,4]]},"393":{"position":[[102,4],[343,4],[741,4]]},"396":{"position":[[1077,4]]},"397":{"position":[[397,4]]},"398":{"position":[[516,4]]},"407":{"position":[[125,4]]},"408":{"position":[[2600,4],[3163,4]]},"411":{"position":[[430,4],[1224,4],[1391,4],[3374,4],[4101,4],[4727,4],[5027,4]]},"412":{"position":[[11361,4],[12427,4]]},"420":{"position":[[137,4]]},"427":{"position":[[1530,4]]},"444":{"position":[[385,4]]},"458":{"position":[[301,4]]},"462":{"position":[[41,4]]},"464":{"position":[[128,4],[1304,4]]},"493":{"position":[[487,4]]},"502":{"position":[[1025,4]]},"518":{"position":[[492,4]]},"524":{"position":[[38,4]]},"534":{"position":[[543,4]]},"571":{"position":[[1063,4]]},"594":{"position":[[541,4]]},"612":{"position":[[572,4],[1518,4]]},"617":{"position":[[308,4]]},"621":{"position":[[446,4]]},"624":{"position":[[63,4]]},"626":{"position":[[233,4],[480,4]]},"630":{"position":[[32,4]]},"640":{"position":[[76,4]]},"679":{"position":[[286,4]]},"681":{"position":[[483,4]]},"683":{"position":[[488,4]]},"693":{"position":[[478,4]]},"696":{"position":[[1473,4]]},"698":{"position":[[1083,4],[1239,4],[1479,4],[1746,4],[2753,4]]},"699":{"position":[[62,4]]},"700":{"position":[[128,4],[1120,4]]},"701":{"position":[[120,4],[355,4],[1061,4]]},"707":{"position":[[277,4]]},"709":{"position":[[511,4]]},"746":{"position":[[111,4]]},"775":{"position":[[443,4],[584,4]]},"778":{"position":[[157,4]]},"782":{"position":[[25,4]]},"784":{"position":[[61,4]]},"800":{"position":[[704,4]]},"802":{"position":[[118,4],[341,4],[749,4]]},"805":{"position":[[49,4],[112,4]]},"806":{"position":[[324,4]]},"836":{"position":[[1562,4]]},"848":{"position":[[78,4]]},"849":{"position":[[499,4]]},"854":{"position":[[926,4]]},"866":{"position":[[330,4],[547,4]]},"875":{"position":[[3797,4],[3980,4],[5946,4]]},"893":{"position":[[44,4]]},"898":{"position":[[1324,4]]},"903":{"position":[[367,4],[441,4]]},"904":{"position":[[1992,4]]},"906":{"position":[[144,4]]},"908":{"position":[[297,4]]},"921":{"position":[[88,4]]},"937":{"position":[[104,4]]},"953":{"position":[[211,4]]},"958":{"position":[[236,4],[444,4]]},"961":{"position":[[209,4]]},"983":{"position":[[551,4]]},"985":{"position":[[591,4]]},"989":{"position":[[189,4]]},"993":{"position":[[94,4],[221,4]]},"995":{"position":[[1470,4]]},"996":{"position":[[515,4]]},"1007":{"position":[[67,4],[308,4],[721,4]]},"1008":{"position":[[75,4]]},"1009":{"position":[[128,4],[208,4]]},"1024":{"position":[[33,4]]},"1033":{"position":[[206,4],[343,4]]},"1039":{"position":[[110,4]]},"1085":{"position":[[3761,4]]},"1088":{"position":[[468,4]]},"1093":{"position":[[447,4]]},"1100":{"position":[[427,4]]},"1105":{"position":[[325,4]]},"1123":{"position":[[222,4]]},"1174":{"position":[[284,4]]},"1175":{"position":[[127,4],[721,4]]},"1192":{"position":[[67,4]]},"1194":{"position":[[571,4],[893,4]]},"1209":{"position":[[264,4]]},"1267":{"position":[[1,4],[123,4]]},"1295":{"position":[[222,4]]},"1296":{"position":[[624,4]]},"1301":{"position":[[269,4]]},"1304":{"position":[[764,4],[1737,4]]},"1305":{"position":[[474,4],[652,4]]},"1313":{"position":[[202,4]]},"1315":{"position":[[228,4],[252,4]]},"1316":{"position":[[2354,4],[2766,4],[3035,4],[3183,4]]},"1318":{"position":[[23,4]]},"1321":{"position":[[460,4],[990,4]]},"1322":{"position":[[243,4],[438,4]]}},"keywords":{}}],["eachus",{"_index":4846,"title":{},"content":{"849":{"position":[[616,7]]}},"keywords":{}}],["earli",{"_index":1755,"title":{},"content":{"299":{"position":[[929,5]]},"361":{"position":[[179,5]]},"408":{"position":[[299,5],[4571,5]]},"411":{"position":[[3279,5]]},"419":{"position":[[8,5]]},"421":{"position":[[1,5]]},"838":{"position":[[1036,5]]}},"keywords":{}}],["earlier",{"_index":1186,"title":{},"content":{"164":{"position":[[14,8]]}},"keywords":{}}],["eas",{"_index":1015,"title":{},"content":{"94":{"position":[[313,4]]},"179":{"position":[[454,5]]},"320":{"position":[[122,4]]},"357":{"position":[[456,4]]},"388":{"position":[[529,4]]},"447":{"position":[[538,4]]},"838":{"position":[[962,4]]}},"keywords":{}}],["easi",{"_index":421,"title":{"293":{"position":[[0,4]]},"313":{"position":[[3,4]]}},"content":{"25":{"position":[[316,5]]},"34":{"position":[[99,4]]},"63":{"position":[[155,4]]},"167":{"position":[[310,4]]},"287":{"position":[[398,4]]},"336":{"position":[[149,4]]},"353":{"position":[[372,4]]},"364":{"position":[[765,4]]},"381":{"position":[[180,4]]},"393":{"position":[[376,4]]},"412":{"position":[[12638,5],[13533,4],[14018,4],[14516,4],[14875,5]]},"445":{"position":[[1650,4]]},"559":{"position":[[851,4]]},"571":{"position":[[633,4]]},"611":{"position":[[950,4]]},"662":{"position":[[288,4]]},"686":{"position":[[563,4]]},"701":{"position":[[311,4],[530,5]]},"705":{"position":[[650,5]]},"709":{"position":[[168,4]]},"739":{"position":[[12,5]]},"780":{"position":[[339,5]]},"781":{"position":[[835,4]]},"828":{"position":[[511,4]]},"838":{"position":[[317,4],[737,4]]},"839":{"position":[[272,4]]},"981":{"position":[[129,4],[216,4]]},"1071":{"position":[[248,4]]},"1123":{"position":[[716,4]]},"1214":{"position":[[464,4]]},"1252":{"position":[[42,4]]},"1259":{"position":[[20,4]]},"1270":{"position":[[496,4]]},"1304":{"position":[[1926,4]]},"1316":{"position":[[2435,4]]},"1318":{"position":[[91,4]]},"1322":{"position":[[192,4]]}},"keywords":{}}],["easier",{"_index":552,"title":{"89":{"position":[[0,6]]},"90":{"position":[[35,6]]},"94":{"position":[[0,6]]},"222":{"position":[[0,6]]},"279":{"position":[[0,6]]},"282":{"position":[[0,6]]},"487":{"position":[[19,6]]},"1257":{"position":[[0,6]]}},"content":{"35":{"position":[[209,6]]},"46":{"position":[[399,6]]},"89":{"position":[[177,6]]},"105":{"position":[[140,6]]},"173":{"position":[[349,7],[878,6]]},"281":{"position":[[315,6]]},"282":{"position":[[352,6]]},"352":{"position":[[88,6]]},"353":{"position":[[185,6]]},"411":{"position":[[1768,6]]},"412":{"position":[[8882,6]]},"619":{"position":[[293,6]]},"688":{"position":[[507,6],[728,6]]},"691":{"position":[[654,6]]},"698":{"position":[[1584,6]]},"861":{"position":[[160,6]]},"903":{"position":[[684,6]]},"981":{"position":[[903,6]]},"1057":{"position":[[318,7]]},"1089":{"position":[[184,6]]},"1118":{"position":[[110,6]]},"1128":{"position":[[1,6]]},"1162":{"position":[[1166,6]]},"1194":{"position":[[1072,6]]},"1198":{"position":[[1938,6]]},"1214":{"position":[[865,6]]},"1227":{"position":[[119,6]]},"1265":{"position":[[112,6]]},"1307":{"position":[[633,6]]}},"keywords":{}}],["easiest",{"_index":3990,"title":{},"content":{"710":{"position":[[811,7]]},"773":{"position":[[12,7]]},"838":{"position":[[1469,7]]},"860":{"position":[[1178,7]]},"865":{"position":[[127,7]]},"1157":{"position":[[27,7]]},"1242":{"position":[[97,7]]},"1266":{"position":[[5,7]]}},"keywords":{}}],["easili",{"_index":862,"title":{},"content":{"57":{"position":[[333,6]]},"121":{"position":[[184,6]]},"165":{"position":[[342,6]]},"173":{"position":[[963,6]]},"192":{"position":[[333,6]]},"221":{"position":[[185,7]]},"262":{"position":[[501,6]]},"279":{"position":[[227,6]]},"354":{"position":[[327,6]]},"411":{"position":[[760,6]]},"417":{"position":[[294,7]]},"500":{"position":[[134,6]]},"624":{"position":[[399,6]]},"837":{"position":[[457,6]]},"860":{"position":[[989,6]]},"950":{"position":[[138,7]]},"1121":{"position":[[77,6]]},"1124":{"position":[[1948,6]]}},"keywords":{}}],["easily.bas",{"_index":3533,"title":{},"content":{"595":{"position":[[397,12]]}},"keywords":{}}],["easy.compat",{"_index":5429,"title":{},"content":{"981":{"position":[[542,15]]}},"keywords":{}}],["ecosystem",{"_index":1305,"title":{"383":{"position":[[12,10]]}},"content":{"202":{"position":[[57,10]]},"231":{"position":[[120,10]]},"247":{"position":[[79,10]]},"364":{"position":[[411,10]]},"387":{"position":[[268,9]]},"412":{"position":[[1041,10]]},"445":{"position":[[1864,9]]},"838":{"position":[[902,9]]},"839":{"position":[[561,10]]},"1199":{"position":[[104,9]]}},"keywords":{}}],["ecosystemd",{"_index":3145,"title":{},"content":{"483":{"position":[[575,13]]}},"keywords":{}}],["ed",{"_index":3776,"title":{},"content":{"659":{"position":[[425,3]]}},"keywords":{}}],["edg",{"_index":66,"title":{"1093":{"position":[[28,6]]}},"content":{"4":{"position":[[153,4]]},"289":{"position":[[1632,4]]},"298":{"position":[[180,5],[732,4]]},"299":{"position":[[742,4]]},"613":{"position":[[27,4]]},"873":{"position":[[88,4]]},"1123":{"position":[[261,4]]},"1207":{"position":[[121,4]]}},"keywords":{}}],["edit",{"_index":632,"title":{},"content":{"40":{"position":[[134,8]]},"151":{"position":[[341,7]]},"203":{"position":[[243,5]]},"267":{"position":[[622,8],[665,4]]},"312":{"position":[[315,6]]},"339":{"position":[[155,4]]},"375":{"position":[[237,7],[626,7]]},"410":{"position":[[1664,6],[1976,5]]},"411":{"position":[[1442,6]]},"412":{"position":[[2256,5],[3014,5],[3146,4],[4261,7],[6508,7]]},"446":{"position":[[548,7]]},"481":{"position":[[184,5]]},"491":{"position":[[1352,4]]},"495":{"position":[[141,4]]},"496":{"position":[[270,6]]},"632":{"position":[[542,4]]},"635":{"position":[[72,4]]},"691":{"position":[[32,4]]},"698":{"position":[[1953,4]]},"860":{"position":[[839,5]]},"863":{"position":[[639,4]]},"1006":{"position":[[254,4]]},"1007":{"position":[[1051,5]]},"1313":{"position":[[595,4],[684,4]]}},"keywords":{}}],["editor",{"_index":1618,"title":{},"content":{"267":{"position":[[498,8],[1518,8]]},"491":{"position":[[1826,8]]}},"keywords":{}}],["edits.fin",{"_index":1550,"title":{},"content":{"250":{"position":[[291,10]]}},"keywords":{}}],["eede1195b7d94dd5",{"_index":6556,"title":{},"content":{"1316":{"position":[[2273,17]]}},"keywords":{}}],["effect",{"_index":950,"title":{"295":{"position":[[5,9]]}},"content":{"66":{"position":[[645,12]]},"295":{"position":[[56,9]]},"303":{"position":[[1370,9]]},"385":{"position":[[189,12]]},"390":{"position":[[1161,9]]},"398":{"position":[[445,9]]},"618":{"position":[[332,11]]},"635":{"position":[[185,12]]},"676":{"position":[[128,13]]},"801":{"position":[[362,11]]},"988":{"position":[[3342,8],[4671,8]]},"1085":{"position":[[2460,11]]},"1132":{"position":[[1194,9]]}},"keywords":{}}],["effici",{"_index":963,"title":{"146":{"position":[[0,9]]},"213":{"position":[[35,9]]}},"content":{"73":{"position":[[101,9]]},"78":{"position":[[38,9]]},"81":{"position":[[1,9]]},"83":{"position":[[366,10]]},"91":{"position":[[254,9]]},"96":{"position":[[273,12]]},"101":{"position":[[195,9]]},"106":{"position":[[103,9]]},"108":{"position":[[152,9]]},"114":{"position":[[518,9]]},"117":{"position":[[83,9]]},"118":{"position":[[205,9]]},"120":{"position":[[331,9]]},"121":{"position":[[253,9]]},"146":{"position":[[38,9]]},"152":{"position":[[259,9]]},"159":{"position":[[81,11]]},"162":{"position":[[468,9]]},"166":{"position":[[126,9]]},"173":{"position":[[125,11],[518,9]]},"174":{"position":[[1078,9]]},"175":{"position":[[531,9]]},"178":{"position":[[232,11]]},"181":{"position":[[265,9]]},"189":{"position":[[230,9],[797,11]]},"194":{"position":[[175,10]]},"197":{"position":[[172,9]]},"216":{"position":[[34,9]]},"224":{"position":[[322,12]]},"227":{"position":[[121,9]]},"228":{"position":[[297,9]]},"234":{"position":[[161,12]]},"236":{"position":[[320,9]]},"241":{"position":[[693,9]]},"269":{"position":[[402,10]]},"270":{"position":[[239,9]]},"277":{"position":[[220,9]]},"283":{"position":[[236,9]]},"284":{"position":[[85,9]]},"287":{"position":[[788,12]]},"288":{"position":[[1,9]]},"289":{"position":[[286,9]]},"294":{"position":[[144,11],[299,10]]},"354":{"position":[[796,12]]},"366":{"position":[[120,9],[440,12]]},"369":{"position":[[110,9],[163,9]]},"370":{"position":[[163,11]]},"373":{"position":[[721,9]]},"385":{"position":[[54,9]]},"390":{"position":[[1001,9]]},"392":{"position":[[2203,9]]},"395":{"position":[[223,9]]},"396":{"position":[[67,10],[387,9],[757,10]]},"398":{"position":[[88,11]]},"400":{"position":[[400,11]]},"409":{"position":[[61,9]]},"411":{"position":[[555,12]]},"412":{"position":[[9523,11]]},"427":{"position":[[959,9]]},"429":{"position":[[218,12]]},"430":{"position":[[1119,10]]},"432":{"position":[[448,9]]},"435":{"position":[[363,9]]},"441":{"position":[[663,9]]},"445":{"position":[[1953,10]]},"453":{"position":[[759,12]]},"468":{"position":[[224,11]]},"477":{"position":[[341,9]]},"501":{"position":[[27,9]]},"504":{"position":[[228,9],[797,9]]},"508":{"position":[[195,10]]},"519":{"position":[[190,11]]},"524":{"position":[[344,9]]},"527":{"position":[[1,9]]},"530":{"position":[[48,9]]},"535":{"position":[[446,11]]},"595":{"position":[[474,11]]},"610":{"position":[[803,9]]},"613":{"position":[[49,10]]},"618":{"position":[[569,9]]},"621":{"position":[[485,9],[835,9]]},"622":{"position":[[222,9]]},"623":{"position":[[675,10]]},"634":{"position":[[603,9]]},"714":{"position":[[946,9]]},"723":{"position":[[1,9],[107,11],[1369,11]]},"802":{"position":[[674,12],[811,9]]},"1022":{"position":[[906,11]]},"1023":{"position":[[60,9],[567,11]]},"1071":{"position":[[335,9]]},"1072":{"position":[[1906,10],[2845,12]]},"1132":{"position":[[228,9],[1162,11]]},"1206":{"position":[[592,9]]},"1237":{"position":[[485,10]]}},"keywords":{}}],["efficiently.ther",{"_index":3093,"title":{},"content":{"469":{"position":[[852,17]]}},"keywords":{}}],["effort",{"_index":1026,"title":{},"content":{"99":{"position":[[209,6]]},"112":{"position":[[217,7]]},"412":{"position":[[2470,7]]},"445":{"position":[[2405,7]]},"446":{"position":[[1424,7]]},"676":{"position":[[155,7]]},"1295":{"position":[[1323,6]]}},"keywords":{}}],["effort.observ",{"_index":1923,"title":{},"content":{"323":{"position":[[396,17]]}},"keywords":{}}],["effortless",{"_index":2113,"title":{},"content":{"366":{"position":[[48,10]]},"373":{"position":[[564,10]]}},"keywords":{}}],["effortlessli",{"_index":1080,"title":{},"content":{"123":{"position":[[175,13]]},"275":{"position":[[298,13]]},"286":{"position":[[282,13]]},"293":{"position":[[190,12]]},"562":{"position":[[1766,13]]},"575":{"position":[[442,12]]}},"keywords":{}}],["eg",{"_index":4639,"title":{},"content":{"796":{"position":[[489,4]]},"1065":{"position":[[936,3]]}},"keywords":{}}],["eini",{"_index":6483,"title":{},"content":{"1302":{"position":[[174,4]]}},"keywords":{}}],["elect",{"_index":4040,"title":{"735":{"position":[[7,8]]},"738":{"position":[[15,8]]}},"content":{"723":{"position":[[868,9]]},"737":{"position":[[58,8],[182,7]]},"738":{"position":[[22,9],[59,8],[175,10]]},"740":{"position":[[63,8],[488,10]]},"743":{"position":[[12,8],[84,7]]},"793":{"position":[[1119,8]]},"974":{"position":[[62,7]]},"989":{"position":[[361,8]]},"1003":{"position":[[114,7]]},"1171":{"position":[[297,8]]},"1174":{"position":[[436,7],[658,7]]},"1301":{"position":[[1219,8],[1253,8],[1379,8],[1479,8],[1639,8]]}},"keywords":{}}],["elector",{"_index":4104,"title":{},"content":{"740":{"position":[[388,7]]}},"keywords":{}}],["electr",{"_index":647,"title":{},"content":{"41":{"position":[[47,8]]}},"keywords":{}}],["electricsql",{"_index":644,"title":{"41":{"position":[[0,12]]}},"content":{"41":{"position":[[7,11],[350,11]]}},"keywords":{}}],["electron",{"_index":506,"title":{"692":{"position":[[0,8]]},"693":{"position":[[10,8]]},"706":{"position":[[0,8]]},"707":{"position":[[14,9]]},"709":{"position":[[63,9]]},"1214":{"position":[[8,9]]}},"content":{"32":{"position":[[74,8]]},"47":{"position":[[1262,9]]},"201":{"position":[[176,9]]},"207":{"position":[[156,8]]},"248":{"position":[[66,9]]},"254":{"position":[[126,8],[467,9]]},"458":{"position":[[54,8]]},"524":{"position":[[468,8]]},"535":{"position":[[1326,9]]},"631":{"position":[[205,9]]},"693":{"position":[[16,9],[145,8],[279,8],[691,9]]},"694":{"position":[[15,8]]},"707":{"position":[[4,8]]},"708":{"position":[[9,8],[241,8],[365,9],[586,9]]},"709":{"position":[[9,8],[1251,8]]},"710":{"position":[[152,8],[499,9],[924,9],[1356,8],[2482,9]]},"711":{"position":[[261,8],[867,8]]},"712":{"position":[[38,8],[95,8],[208,9]]},"793":{"position":[[337,9],[598,8]]},"964":{"position":[[505,8]]},"1196":{"position":[[57,9]]},"1214":{"position":[[149,8],[589,8]]},"1235":{"position":[[256,8]]},"1246":{"position":[[931,8],[1990,8],[2042,9],[2171,8]]},"1247":{"position":[[84,9]]},"1270":{"position":[[440,8],[539,8]]},"1271":{"position":[[245,9]]}},"keywords":{}}],["electron"",{"_index":1493,"title":{},"content":{"244":{"position":[[470,14]]}},"keywords":{}}],["electron)node.jsserv",{"_index":3122,"title":{},"content":{"479":{"position":[[419,24]]}},"keywords":{}}],["electron.in",{"_index":3718,"title":{},"content":{"640":{"position":[[373,11]]}},"keywords":{}}],["electron.ipcmain",{"_index":3931,"title":{},"content":{"693":{"position":[[975,16]]}},"keywords":{}}],["electron.ipcrender",{"_index":3933,"title":{},"content":{"693":{"position":[[1268,20]]}},"keywords":{}}],["electron.j",{"_index":1051,"title":{"708":{"position":[[25,12]]},"711":{"position":[[10,11]]}},"content":{"112":{"position":[[97,12]]},"174":{"position":[[2703,12]]},"239":{"position":[[134,12]]},"1245":{"position":[[91,12]]}},"keywords":{}}],["electron/rebuild",{"_index":3993,"title":{},"content":{"711":{"position":[[780,17],[924,18]]}},"keywords":{}}],["electron/remot",{"_index":3991,"title":{},"content":{"711":{"position":[[438,16]]}},"keywords":{}}],["eleg",{"_index":2939,"title":{},"content":{"445":{"position":[[240,7]]}},"keywords":{}}],["element",{"_index":1085,"title":{},"content":{"129":{"position":[[55,8]]},"326":{"position":[[194,8]]},"412":{"position":[[5096,7]]},"951":{"position":[[508,8]]}},"keywords":{}}],["elements.offlin",{"_index":1976,"title":{},"content":{"346":{"position":[[521,16]]}},"keywords":{}}],["elements.stringif",{"_index":2883,"title":{},"content":{"427":{"position":[[620,24]]}},"keywords":{}}],["elev",{"_index":3222,"title":{},"content":{"501":{"position":[[390,9]]}},"keywords":{}}],["elimin",{"_index":712,"title":{},"content":{"46":{"position":[[364,11]]},"92":{"position":[[93,11]]},"96":{"position":[[57,10]]},"103":{"position":[[130,10]]},"159":{"position":[[256,10]]},"172":{"position":[[223,10]]},"217":{"position":[[123,11]]},"219":{"position":[[212,11]]},"233":{"position":[[190,10]]},"261":{"position":[[1123,11]]},"265":{"position":[[525,10],[794,11]]},"267":{"position":[[1329,9]]},"360":{"position":[[126,10]]},"376":{"position":[[148,11]]},"421":{"position":[[1113,9]]},"445":{"position":[[2294,10]]},"500":{"position":[[415,9]]},"515":{"position":[[284,11]]},"518":{"position":[[302,11]]},"521":{"position":[[621,11]]},"630":{"position":[[449,11]]}},"keywords":{}}],["elixir",{"_index":655,"title":{},"content":{"41":{"position":[[264,7],[384,7]]}},"keywords":{}}],["else.perform",{"_index":5431,"title":{},"content":{"981":{"position":[[765,16]]}},"keywords":{}}],["email",{"_index":2489,"title":{},"content":{"402":{"position":[[2321,5],[2403,6]]},"408":{"position":[[4445,5],[4841,5]]},"426":{"position":[[332,6]]},"783":{"position":[[346,5]]},"1022":{"position":[[157,5],[300,6],[499,5],[938,6]]},"1023":{"position":[[153,6],[599,6]]},"1289":{"position":[[68,5]]},"1290":{"position":[[160,5]]},"1291":{"position":[[158,5]]}},"keywords":{}}],["emailbyreceivercollect",{"_index":5625,"title":{},"content":{"1022":{"position":[[530,26]]}},"keywords":{}}],["emailbyreceivercollection.bulkinsert",{"_index":5629,"title":{},"content":{"1022":{"position":[[755,37]]}},"keywords":{}}],["emailbyreceivercollection.find",{"_index":5635,"title":{},"content":{"1022":{"position":[[1009,32]]}},"keywords":{}}],["emailbyreceivercollection.find({emailid",{"_index":5626,"title":{},"content":{"1022":{"position":[[646,40]]}},"keywords":{}}],["emailbyreceivercollection.find({word",{"_index":5643,"title":{},"content":{"1023":{"position":[[673,37]]}},"keywords":{}}],["emailcollection.addpipelin",{"_index":5624,"title":{},"content":{"1022":{"position":[[452,29]]},"1023":{"position":[[111,29]]},"1024":{"position":[[205,29]]}},"keywords":{}}],["emailid",{"_index":5631,"title":{},"content":{"1022":{"position":[[829,8]]},"1023":{"position":[[498,8]]}},"keywords":{}}],["emb",{"_index":2467,"title":{},"content":{"401":{"position":[[481,5]]},"408":{"position":[[1843,5]]},"661":{"position":[[79,5]]},"836":{"position":[[81,5]]}},"keywords":{}}],["embed",{"_index":503,"title":{"171":{"position":[[17,8]]},"172":{"position":[[11,8]]},"173":{"position":[[0,8]]},"174":{"position":[[15,8]]},"391":{"position":[[11,10]]},"392":{"position":[[12,10]]},"395":{"position":[[13,10]]},"397":{"position":[[16,10]]}},"content":{"32":{"position":[[12,8]]},"172":{"position":[[4,8]]},"173":{"position":[[39,8],[252,8],[436,8],[491,8],[640,8],[1173,8],[1399,8],[1916,8],[2201,8],[2445,8],[2526,8],[2754,8],[3104,8]]},"174":{"position":[[28,8],[3227,8]]},"175":{"position":[[61,8],[457,8]]},"189":{"position":[[333,8]]},"201":{"position":[[106,8]]},"353":{"position":[[714,8]]},"354":{"position":[[337,8]]},"357":{"position":[[532,8]]},"390":{"position":[[147,11],[165,10],[506,10],[778,10],[986,10]]},"391":{"position":[[78,10],[372,9],[780,9],[960,10],[1111,10]]},"392":{"position":[[14,11],[803,10],[1174,11],[1273,11],[1370,10],[1466,9],[1636,10],[1712,12],[1837,10],[2022,10],[2470,11],[2550,11],[2681,10],[2831,9],[2927,9],[3385,9],[3448,9],[3582,9],[3661,9],[4587,10],[4788,9],[5154,10]]},"393":{"position":[[29,10],[867,10],[1100,10]]},"394":{"position":[[20,10],[287,9],[381,10],[406,10],[1514,10],[1571,10]]},"395":{"position":[[52,10],[388,10]]},"396":{"position":[[937,11],[1003,10],[1082,9],[1771,10]]},"397":{"position":[[49,10],[423,9],[1483,9],[1872,9],[1949,9],[2137,11]]},"398":{"position":[[10,10],[572,9],[605,10],[1841,10],[1913,10],[2953,10],[3075,10],[3207,9],[3325,11]]},"401":{"position":[[57,9],[150,9],[330,10],[377,10],[424,10],[804,11]]},"402":{"position":[[104,11],[145,10],[202,10],[372,9],[590,10],[992,11],[1137,9],[1802,9],[2627,10]]},"403":{"position":[[97,11],[689,10],[833,9],[984,11]]},"404":{"position":[[180,10],[971,10]]},"412":{"position":[[10921,10]]},"711":{"position":[[104,8]]},"775":{"position":[[16,8]]},"776":{"position":[[146,8]]},"841":{"position":[[115,8]]}},"keywords":{}}],["embedd",{"_index":449,"title":{},"content":{"28":{"position":[[24,11]]}},"keywords":{}}],["embedding2",{"_index":2298,"title":{},"content":{"393":{"position":[[1020,12]]}},"keywords":{}}],["embrac",{"_index":1172,"title":{},"content":{"157":{"position":[[6,8]]},"170":{"position":[[361,9]]},"279":{"position":[[40,7]]},"325":{"position":[[152,8]]},"359":{"position":[[161,8]]},"373":{"position":[[356,9]]},"445":{"position":[[1258,8]]},"447":{"position":[[637,7]]},"510":{"position":[[626,9]]},"516":{"position":[[6,8]]}},"keywords":{}}],["emerg",{"_index":1686,"title":{},"content":{"290":{"position":[[75,7]]},"412":{"position":[[847,8],[15227,8]]},"445":{"position":[[46,7]]},"502":{"position":[[6,7]]},"510":{"position":[[129,7]]},"530":{"position":[[145,7]]},"624":{"position":[[147,6]]},"635":{"position":[[34,6]]},"683":{"position":[[445,6]]}},"keywords":{}}],["emiss",{"_index":3134,"title":{},"content":{"481":{"position":[[504,9]]}},"keywords":{}}],["emit",{"_index":734,"title":{},"content":{"47":{"position":[[745,4]]},"130":{"position":[[334,7]]},"174":{"position":[[1672,7]]},"196":{"position":[[37,4]]},"323":{"position":[[30,5]]},"329":{"position":[[113,5]]},"480":{"position":[[793,5]]},"493":{"position":[[368,5],[442,7]]},"494":{"position":[[606,5]]},"502":{"position":[[1019,5]]},"518":{"position":[[486,5]]},"529":{"position":[[63,4]]},"562":{"position":[[1258,5]]},"571":{"position":[[960,5]]},"580":{"position":[[611,5]]},"585":{"position":[[44,4]]},"602":{"position":[[161,4]]},"698":{"position":[[1068,5]]},"752":{"position":[[1081,7]]},"753":{"position":[[57,5]]},"755":{"position":[[178,7]]},"767":{"position":[[264,7]]},"768":{"position":[[223,7]]},"769":{"position":[[238,7]]},"828":{"position":[[33,5]]},"875":{"position":[[4181,7],[6907,4],[7864,5],[8782,8],[9252,8]]},"876":{"position":[[548,4]]},"879":{"position":[[403,5]]},"880":{"position":[[220,4]]},"881":{"position":[[191,4]]},"921":{"position":[[26,5],[82,5]]},"979":{"position":[[1,5],[115,5],[184,4],[378,5]]},"983":{"position":[[751,5]]},"985":{"position":[[273,4],[571,4]]},"988":{"position":[[5335,4],[5958,4]]},"990":{"position":[[714,5]]},"993":{"position":[[88,5],[215,5],[332,5],[479,5],[616,5]]},"1017":{"position":[[48,5]]},"1039":{"position":[[102,7]]},"1049":{"position":[[1,5]]},"1058":{"position":[[384,4]]},"1126":{"position":[[508,5]]},"1150":{"position":[[551,8]]}},"keywords":{}}],["emitted.al",{"_index":5503,"title":{},"content":{"995":{"position":[[70,11]]}},"keywords":{}}],["emphas",{"_index":2804,"title":{},"content":{"419":{"position":[[719,11]]},"690":{"position":[[579,9]]}},"keywords":{}}],["emphasi",{"_index":1930,"title":{},"content":{"327":{"position":[[44,8]]}},"keywords":{}}],["employ",{"_index":1045,"title":{},"content":{"108":{"position":[[6,7]]},"208":{"position":[[6,7]]},"283":{"position":[[182,8]]},"369":{"position":[[199,7]]},"528":{"position":[[6,7]]},"802":{"position":[[607,9]]},"1132":{"position":[[1070,7]]}},"keywords":{}}],["empow",{"_index":1056,"title":{"150":{"position":[[21,10]]},"264":{"position":[[34,10]]}},"content":{"114":{"position":[[447,8]]},"170":{"position":[[82,10]]},"241":{"position":[[460,7]]},"267":{"position":[[1180,8]]},"276":{"position":[[27,8]]},"289":{"position":[[1438,8]]},"373":{"position":[[474,8]]},"384":{"position":[[369,8]]},"388":{"position":[[317,8]]},"447":{"position":[[378,8]]},"502":{"position":[[308,10]]},"504":{"position":[[444,8]]},"506":{"position":[[6,8]]},"509":{"position":[[102,8]]},"510":{"position":[[344,8]]},"912":{"position":[[636,8]]}},"keywords":{}}],["empscripten",{"_index":6468,"title":{},"content":{"1299":{"position":[[553,11]]}},"keywords":{}}],["empti",{"_index":3764,"title":{"655":{"position":[[28,5]]}},"content":{"655":{"position":[[59,5]]},"749":{"position":[[40,5],[1588,5],[2212,5]]},"754":{"position":[[458,5]]},"885":{"position":[[1156,5]]},"983":{"position":[[709,5]]},"984":{"position":[[572,5]]},"988":{"position":[[2813,5]]},"1134":{"position":[[514,5]]}},"keywords":{}}],["emptydatabase.importjson(json",{"_index":5411,"title":{},"content":{"972":{"position":[[101,30]]}},"keywords":{}}],["emul",{"_index":3548,"title":{},"content":{"610":{"position":[[142,8]]}},"keywords":{}}],["en1",{"_index":4300,"title":{},"content":{"749":{"position":[[12884,3]]}},"keywords":{}}],["en2",{"_index":4301,"title":{},"content":{"749":{"position":[[12961,3]]}},"keywords":{}}],["en3",{"_index":4305,"title":{},"content":{"749":{"position":[[13070,3]]}},"keywords":{}}],["en4",{"_index":4306,"title":{},"content":{"749":{"position":[[13187,3]]}},"keywords":{}}],["enabl",{"_index":438,"title":{"734":{"position":[[0,6]]},"916":{"position":[[0,6]]}},"content":{"27":{"position":[[35,7],[274,6]]},"40":{"position":[[77,8]]},"75":{"position":[[6,7]]},"87":{"position":[[114,7]]},"89":{"position":[[222,7]]},"103":{"position":[[52,8]]},"106":{"position":[[95,7]]},"112":{"position":[[39,8]]},"114":{"position":[[509,8]]},"116":{"position":[[83,7]]},"121":{"position":[[114,6]]},"136":{"position":[[294,7]]},"138":{"position":[[112,7]]},"140":{"position":[[276,6]]},"152":{"position":[[252,6]]},"155":{"position":[[251,6]]},"157":{"position":[[42,8]]},"158":{"position":[[246,8]]},"160":{"position":[[207,8]]},"162":{"position":[[737,8]]},"165":{"position":[[137,6]]},"168":{"position":[[59,8]]},"173":{"position":[[101,7],[2773,6]]},"174":{"position":[[244,8],[846,7],[1070,7],[1943,7],[2837,7]]},"177":{"position":[[265,6]]},"179":{"position":[[379,8]]},"184":{"position":[[128,6]]},"210":{"position":[[104,8]]},"215":{"position":[[59,6]]},"220":{"position":[[20,6]]},"222":{"position":[[271,8]]},"224":{"position":[[286,8]]},"235":{"position":[[43,8]]},"237":{"position":[[187,8]]},"239":{"position":[[45,7]]},"240":{"position":[[307,8]]},"255":{"position":[[85,8]]},"265":{"position":[[460,8]]},"266":{"position":[[131,6]]},"280":{"position":[[212,8]]},"283":{"position":[[227,8]]},"286":{"position":[[246,6]]},"287":{"position":[[195,8]]},"289":{"position":[[1949,8]]},"292":{"position":[[213,8]]},"315":{"position":[[953,8]]},"316":{"position":[[83,6],[213,6]]},"323":{"position":[[334,6]]},"326":{"position":[[27,7]]},"328":{"position":[[70,8]]},"356":{"position":[[178,8]]},"358":{"position":[[910,8]]},"366":{"position":[[108,7]]},"369":{"position":[[648,8]]},"375":{"position":[[361,6]]},"380":{"position":[[129,7]]},"407":{"position":[[935,7]]},"408":{"position":[[1603,7],[5085,6]]},"424":{"position":[[65,7]]},"444":{"position":[[691,8]]},"445":{"position":[[1161,7],[2161,7]]},"446":{"position":[[637,6]]},"463":{"position":[[1331,7]]},"480":{"position":[[125,6]]},"501":{"position":[[354,8]]},"504":{"position":[[788,8]]},"509":{"position":[[33,8]]},"516":{"position":[[42,8]]},"518":{"position":[[173,7]]},"529":{"position":[[6,7]]},"535":{"position":[[794,8]]},"567":{"position":[[304,8]]},"595":{"position":[[881,8]]},"610":{"position":[[48,6]]},"611":{"position":[[140,7]]},"613":{"position":[[160,6]]},"614":{"position":[[86,7]]},"639":{"position":[[225,6]]},"675":{"position":[[22,8]]},"683":{"position":[[16,7]]},"693":{"position":[[680,7]]},"723":{"position":[[2268,8]]},"734":{"position":[[659,6]]},"738":{"position":[[4,6]]},"749":{"position":[[983,7],[21746,8]]},"849":{"position":[[799,6]]},"854":{"position":[[826,6]]},"861":{"position":[[2493,6]]},"865":{"position":[[57,7]]},"872":{"position":[[1114,8],[1227,8]]},"901":{"position":[[76,7]]},"915":{"position":[[4,6]]},"964":{"position":[[156,6]]},"1004":{"position":[[174,7]]},"1012":{"position":[[4,6]]},"1072":{"position":[[2180,6]]},"1078":{"position":[[173,6]]},"1083":{"position":[[268,6]]},"1150":{"position":[[248,6]]},"1206":{"position":[[318,8]]},"1213":{"position":[[498,6]]},"1284":{"position":[[162,7],[215,7]]}},"keywords":{}}],["enableindexeddbpersist",{"_index":4880,"title":{"856":{"position":[[11,29]]}},"content":{"856":{"position":[[19,28]]}},"keywords":{}}],["encapsul",{"_index":781,"title":{},"content":{"51":{"position":[[918,11]]}},"keywords":{}}],["encod",{"_index":118,"title":{},"content":{"8":{"position":[[508,6],[566,7]]},"402":{"position":[[2505,7]]},"688":{"position":[[351,8]]},"1296":{"position":[[1768,6]]}},"keywords":{}}],["encount",{"_index":1179,"title":{},"content":{"161":{"position":[[75,9]]},"304":{"position":[[278,9]]},"309":{"position":[[92,9]]}},"keywords":{}}],["encourag",{"_index":2077,"title":{},"content":{"360":{"position":[[690,10]]},"419":{"position":[[1401,9]]},"1151":{"position":[[544,9]]},"1178":{"position":[[543,9]]}},"keywords":{}}],["encrypt",{"_index":480,"title":{"95":{"position":[[22,11]]},"139":{"position":[[0,10]]},"167":{"position":[[0,10]]},"195":{"position":[[0,10]]},"218":{"position":[[9,10]]},"291":{"position":[[15,10]]},"307":{"position":[[32,11]]},"310":{"position":[[12,11]]},"315":{"position":[[0,10]]},"343":{"position":[[0,10]]},"377":{"position":[[13,11]]},"472":{"position":[[51,10]]},"482":{"position":[[36,11]]},"506":{"position":[[0,10]]},"549":{"position":[[13,10],[28,9]]},"550":{"position":[[7,10]]},"551":{"position":[[13,10]]},"552":{"position":[[11,10]]},"554":{"position":[[34,11]]},"555":{"position":[[26,9]]},"556":{"position":[[32,11]]},"564":{"position":[[8,10]]},"586":{"position":[[0,10]]},"629":{"position":[[48,10]]},"638":{"position":[[6,11]]},"713":{"position":[[3,9]]},"714":{"position":[[9,9]]},"716":{"position":[[11,11]]},"717":{"position":[[15,10]]},"720":{"position":[[0,9]]},"721":{"position":[[0,10]]},"912":{"position":[[24,9]]},"1184":{"position":[[0,10]]}},"content":{"29":{"position":[[273,10]]},"47":{"position":[[1103,11]]},"57":{"position":[[321,11],[340,7],[381,11]]},"65":{"position":[[1552,11],[1652,10]]},"95":{"position":[[171,11]]},"139":{"position":[[36,10],[89,11],[187,8]]},"167":{"position":[[74,10],[100,10],[278,10],[339,10]]},"170":{"position":[[404,11]]},"173":{"position":[[1161,11],[1247,11]]},"195":{"position":[[52,10],[81,10]]},"218":{"position":[[89,7],[175,10]]},"244":{"position":[[1144,9]]},"291":{"position":[[26,10],[159,10],[424,10]]},"292":{"position":[[163,9]]},"293":{"position":[[333,9]]},"310":{"position":[[89,10],[123,7],[296,10]]},"313":{"position":[[172,11]]},"314":{"position":[[631,11]]},"315":{"position":[[41,10],[884,10],[895,10],[942,10],[985,9],[1014,9],[1072,11]]},"318":{"position":[[68,11],[414,10]]},"334":{"position":[[443,10]]},"343":{"position":[[15,10]]},"366":{"position":[[565,9]]},"377":{"position":[[175,10],[302,11]]},"383":{"position":[[111,11],[163,10]]},"410":{"position":[[692,11],[790,9]]},"412":{"position":[[13256,7]]},"419":{"position":[[1186,11]]},"479":{"position":[[246,10]]},"480":{"position":[[132,10],[1032,7]]},"482":{"position":[[69,10],[138,10],[447,10],[733,9],[812,10],[971,10],[1009,9]]},"483":{"position":[[1089,10]]},"506":{"position":[[40,7]]},"510":{"position":[[327,11]]},"526":{"position":[[1,10],[102,11]]},"535":{"position":[[1079,10]]},"544":{"position":[[322,10]]},"550":{"position":[[1,10],[160,10],[277,10],[295,10]]},"551":{"position":[[60,9],[107,10],[152,10],[187,10],[340,9],[483,7]]},"553":{"position":[[22,10]]},"554":{"position":[[17,10],[882,10],[1016,9]]},"555":{"position":[[38,11],[98,9],[242,9],[391,9],[432,9],[742,9],[776,9],[1000,9]]},"556":{"position":[[56,10],[144,9],[536,7],[621,10],[683,9],[1173,10],[1225,10],[1450,10],[1708,9]]},"557":{"position":[[309,10],[395,10]]},"560":{"position":[[754,11]]},"564":{"position":[[109,7],[166,10],[555,10],[900,10],[938,7],[984,9],[1018,9]]},"566":{"position":[[1226,10],[1289,7],[1326,10],[1377,10]]},"567":{"position":[[599,11],[616,10],[648,7]]},"579":{"position":[[452,10]]},"586":{"position":[[64,10]]},"595":{"position":[[1156,10]]},"604":{"position":[[232,11],[275,10]]},"632":{"position":[[1393,10]]},"638":{"position":[[161,10],[756,10],[809,7],[846,9]]},"661":{"position":[[1227,10]]},"710":{"position":[[258,10]]},"711":{"position":[[2290,11]]},"714":{"position":[[18,10],[340,10],[473,9],[491,9],[626,9],[697,9],[762,9],[840,9],[1051,9],[1082,9]]},"715":{"position":[[59,10],[193,10]]},"716":{"position":[[5,10],[45,10],[165,10],[210,10],[268,9],[337,9],[485,10]]},"717":{"position":[[36,11],[58,10],[446,10],[537,11],[752,10],[1025,10],[1119,9],[1282,9],[1329,10],[1366,9],[1568,10]]},"718":{"position":[[325,10],[622,9]]},"719":{"position":[[396,7]]},"720":{"position":[[31,10],[58,10],[207,10],[263,9]]},"721":{"position":[[66,11],[102,10],[135,10]]},"723":{"position":[[1928,9],[2010,9]]},"749":{"position":[[835,9],[859,10],[13090,9],[18153,9],[19590,9]]},"793":{"position":[[428,10]]},"838":{"position":[[871,10],[3315,10]]},"901":{"position":[[491,10]]},"912":{"position":[[25,9],[68,10],[221,10],[273,10],[471,10],[752,10]]},"916":{"position":[[219,10],[275,9]]},"942":{"position":[[111,7],[123,9]]},"963":{"position":[[30,9],[192,10]]},"971":{"position":[[154,9]]},"1038":{"position":[[63,10]]},"1074":{"position":[[391,9],[664,9]]},"1123":{"position":[[593,11]]},"1146":{"position":[[58,11]]},"1180":{"position":[[314,9],[386,9]]},"1184":{"position":[[52,9],[148,9],[210,9],[259,10]]},"1237":{"position":[[144,12],[394,10],[447,10]]}},"keywords":{}}],["encrypted/compress",{"_index":6282,"title":{},"content":{"1237":{"position":[[363,20]]}},"keywords":{}}],["encryptedfile.txt",{"_index":3370,"title":{},"content":{"556":{"position":[[940,20]]}},"keywords":{}}],["encryptedindexeddbstorag",{"_index":4030,"title":{},"content":{"718":{"position":[[349,25],[706,26]]}},"keywords":{}}],["encryptedmemorystorag",{"_index":3346,"title":{},"content":{"554":{"position":[[906,22],[1109,23]]}},"keywords":{}}],["encryptedstorag",{"_index":1897,"title":{},"content":{"315":{"position":[[424,16],[589,17]]},"482":{"position":[[464,16],[666,17]]},"564":{"position":[[432,16],[639,17]]},"638":{"position":[[316,16],[476,17]]},"717":{"position":[[776,16],[1203,17]]}},"keywords":{}}],["encryption"",{"_index":1446,"title":{},"content":{"243":{"position":[[94,16]]},"244":{"position":[[620,16]]}},"keywords":{}}],["encryptioncompress",{"_index":3328,"title":{},"content":{"544":{"position":[[356,22]]}},"keywords":{}}],["encryptionif",{"_index":3341,"title":{},"content":{"551":{"position":[[366,12]]}},"keywords":{}}],["end",{"_index":663,"title":{"225":{"position":[[51,3]]}},"content":{"42":{"position":[[299,3]]},"43":{"position":[[347,3]]},"167":{"position":[[328,3],[335,3]]},"218":{"position":[[60,3]]},"289":{"position":[[892,3]]},"350":{"position":[[295,3]]},"351":{"position":[[241,3]]},"353":{"position":[[495,5]]},"354":{"position":[[686,3]]},"360":{"position":[[92,3]]},"385":{"position":[[344,3]]},"399":{"position":[[190,3],[259,3],[555,3]]},"410":{"position":[[606,3]]},"412":{"position":[[9364,3],[10650,3],[10688,3]]},"491":{"position":[[110,4]]},"495":{"position":[[726,4]]},"569":{"position":[[1197,3]]},"697":{"position":[[276,3]]},"749":{"position":[[6275,6],[11608,3],[16142,3]]},"878":{"position":[[482,3]]},"879":{"position":[[68,3],[152,4]]},"901":{"position":[[480,3],[487,3]]},"1030":{"position":[[240,3]]},"1090":{"position":[[44,3]]},"1092":{"position":[[360,3]]},"1093":{"position":[[174,3]]},"1123":{"position":[[329,3]]},"1208":{"position":[[1507,3]]},"1294":{"position":[[1073,3]]},"1316":{"position":[[233,3],[1207,3]]}},"keywords":{}}],["endlessli",{"_index":1973,"title":{},"content":{"346":{"position":[[431,9]]}},"keywords":{}}],["endpoint",{"_index":243,"title":{"209":{"position":[[37,9]]},"478":{"position":[[30,10]]},"1100":{"position":[[9,10]]},"1101":{"position":[[12,9]]},"1102":{"position":[[5,9]]}},"content":{"14":{"position":[[1154,10]]},"18":{"position":[[453,9]]},"24":{"position":[[325,9]]},"37":{"position":[[103,10],[215,10]]},"46":{"position":[[514,9]]},"202":{"position":[[285,9]]},"248":{"position":[[302,9]]},"255":{"position":[[1132,8],[1395,8]]},"321":{"position":[[330,9]]},"381":{"position":[[238,10]]},"410":{"position":[[913,9]]},"411":{"position":[[1108,10],[1319,8],[1346,9],[1718,10]]},"412":{"position":[[1805,10],[1891,9],[2430,9]]},"478":{"position":[[36,9]]},"487":{"position":[[14,10],[456,8]]},"534":{"position":[[529,9]]},"556":{"position":[[1778,9]]},"565":{"position":[[108,9]]},"566":{"position":[[1161,9]]},"582":{"position":[[364,8]]},"594":{"position":[[527,9]]},"612":{"position":[[1712,8]]},"701":{"position":[[1142,8]]},"837":{"position":[[200,9]]},"846":{"position":[[261,8],[1243,9]]},"861":{"position":[[245,8]]},"865":{"position":[[21,8]]},"871":{"position":[[275,8]]},"872":{"position":[[3356,8],[3466,11],[3732,8],[4364,8]]},"875":{"position":[[1289,9],[1313,9],[1738,8],[3570,9],[6007,8],[6523,9],[7813,8]]},"876":{"position":[[446,8],[500,9],[531,9]]},"878":{"position":[[136,8],[419,8]]},"879":{"position":[[271,9],[330,8]]},"885":{"position":[[41,8]]},"886":{"position":[[352,9],[1081,9],[2713,9],[3053,9],[3900,9]]},"888":{"position":[[83,8],[144,8],[1008,9]]},"981":{"position":[[306,9]]},"986":{"position":[[1337,8],[1435,8]]},"1007":{"position":[[500,9]]},"1088":{"position":[[715,9]]},"1092":{"position":[[238,8]]},"1097":{"position":[[231,9],[800,9],[847,10]]},"1100":{"position":[[55,10],[69,8],[207,9],[246,8],[268,9],[318,8],[369,8],[503,8],[522,8],[692,10]]},"1101":{"position":[[17,8],[214,9],[229,8],[345,8],[451,8],[504,10]]},"1102":{"position":[[10,8],[294,8],[325,8],[377,10],[807,9],[1075,8]]},"1103":{"position":[[34,10],[76,8],[288,8],[347,10]]},"1105":{"position":[[330,8],[370,9],[714,8],[773,10]]},"1106":{"position":[[652,8],[711,10]]},"1108":{"position":[[5,9],[382,8],[441,10]]},"1111":{"position":[[63,9]]},"1112":{"position":[[399,9],[487,10]]},"1149":{"position":[[244,9],[1423,8]]},"1228":{"position":[[255,10]]}},"keywords":{}}],["endpoint.urlpath",{"_index":5937,"title":{},"content":{"1102":{"position":[[510,16],[974,17]]}},"keywords":{}}],["endpoint/0",{"_index":5929,"title":{},"content":{"1100":{"position":[[618,11],[782,11]]},"1101":{"position":[[782,12]]}},"keywords":{}}],["endpoints.impl",{"_index":1545,"title":{},"content":{"249":{"position":[[215,19]]}},"keywords":{}}],["endpointsrest",{"_index":3132,"title":{},"content":{"481":{"position":[[336,13]]}},"keywords":{}}],["endpointsupport",{"_index":6178,"title":{},"content":{"1199":{"position":[[65,15]]}},"keywords":{}}],["enforc",{"_index":1547,"title":{},"content":{"250":{"position":[[11,8]]},"282":{"position":[[219,7]]},"351":{"position":[[24,7]]},"353":{"position":[[83,8],[548,8]]},"354":{"position":[[474,9]]},"382":{"position":[[147,9]]},"412":{"position":[[12101,9]]},"535":{"position":[[656,7]]},"798":{"position":[[745,7]]},"802":{"position":[[315,7]]},"989":{"position":[[176,7]]},"990":{"position":[[1376,7]]},"1066":{"position":[[551,7]]},"1314":{"position":[[255,9]]}},"keywords":{}}],["engag",{"_index":1005,"title":{},"content":{"88":{"position":[[205,11]]},"173":{"position":[[1834,6]]},"498":{"position":[[629,7]]},"502":{"position":[[819,8],[905,8]]},"509":{"position":[[178,11]]},"510":{"position":[[611,11]]},"530":{"position":[[114,8]]}},"keywords":{}}],["engin",{"_index":1329,"title":{"276":{"position":[[12,7]]},"980":{"position":[[21,6]]},"981":{"position":[[29,7]]},"982":{"position":[[9,6]]},"983":{"position":[[9,6]]}},"content":{"205":{"position":[[322,7]]},"208":{"position":[[27,6]]},"252":{"position":[[19,6]]},"255":{"position":[[45,7]]},"276":{"position":[[20,6],[276,7]]},"354":{"position":[[1391,7]]},"356":{"position":[[58,7]]},"369":{"position":[[138,10]]},"383":{"position":[[432,7]]},"385":{"position":[[72,8]]},"408":{"position":[[1865,7],[3632,8]]},"412":{"position":[[2001,7],[2962,7],[9109,7],[9975,7]]},"481":{"position":[[18,6]]},"489":{"position":[[257,7]]},"502":{"position":[[675,6]]},"533":{"position":[[213,6]]},"566":{"position":[[114,6]]},"571":{"position":[[1429,10]]},"579":{"position":[[149,7]]},"593":{"position":[[213,6]]},"626":{"position":[[616,6]]},"631":{"position":[[383,7]]},"705":{"position":[[936,6]]},"707":{"position":[[241,6]]},"710":{"position":[[341,6]]},"723":{"position":[[215,6]]},"772":{"position":[[293,7],[327,7]]},"793":{"position":[[630,6]]},"841":{"position":[[128,6]]},"981":{"position":[[82,6],[158,6],[398,7]]},"1004":{"position":[[54,6]]},"1072":{"position":[[1691,7],[1733,7],[1880,8]]},"1101":{"position":[[112,7]]},"1124":{"position":[[1906,6]]},"1198":{"position":[[248,7],[1253,6],[1746,7]]},"1280":{"position":[[89,6]]},"1320":{"position":[[868,6]]}},"keywords":{}}],["engine"",{"_index":1532,"title":{},"content":{"244":{"position":[[1647,12]]}},"keywords":{}}],["engineatla",{"_index":4935,"title":{},"content":{"870":{"position":[[204,11]]}},"keywords":{}}],["enginefirestor",{"_index":1599,"title":{},"content":{"263":{"position":[[580,15]]}},"keywords":{}}],["enginejoin",{"_index":3473,"title":{},"content":{"572":{"position":[[73,10]]}},"keywords":{}}],["enginework",{"_index":5185,"title":{},"content":{"896":{"position":[[306,11]]}},"keywords":{}}],["enhanc",{"_index":525,"title":{},"content":{"33":{"position":[[583,8]]},"65":{"position":[[857,8],[1919,8]]},"77":{"position":[[137,8]]},"81":{"position":[[106,9]]},"87":{"position":[[253,9]]},"94":{"position":[[286,9]]},"97":{"position":[[158,9]]},"109":{"position":[[218,8]]},"114":{"position":[[573,8]]},"136":{"position":[[329,8]]},"137":{"position":[[71,7]]},"166":{"position":[[273,7]]},"170":{"position":[[495,7]]},"173":{"position":[[184,7],[735,8],[1092,8],[2062,8]]},"174":{"position":[[872,8],[1159,9],[1724,8]]},"175":{"position":[[581,8]]},"193":{"position":[[62,7]]},"232":{"position":[[187,8]]},"277":{"position":[[256,8]]},"281":{"position":[[85,8]]},"283":{"position":[[387,8]]},"293":{"position":[[406,9]]},"365":{"position":[[1476,8]]},"373":{"position":[[538,8]]},"432":{"position":[[1159,9]]},"445":{"position":[[1196,8],[1589,8]]},"470":{"position":[[105,8]]},"506":{"position":[[60,9]]},"508":{"position":[[177,9]]},"510":{"position":[[195,9]]},"515":{"position":[[380,8]]},"527":{"position":[[139,9]]},"534":{"position":[[72,9]]},"594":{"position":[[70,9]]},"801":{"position":[[730,8]]},"1132":{"position":[[1141,7]]},"1206":{"position":[[624,8]]}},"keywords":{}}],["enough",{"_index":2443,"title":{},"content":{"400":{"position":[[610,6]]},"702":{"position":[[285,6]]},"703":{"position":[[1176,7]]},"815":{"position":[[268,6]]},"875":{"position":[[151,6]]},"1152":{"position":[[51,6]]}},"keywords":{}}],["enough"",{"_index":3975,"title":{},"content":{"703":{"position":[[1456,12]]}},"keywords":{}}],["enough?"",{"_index":2739,"title":{},"content":{"412":{"position":[[10273,14]]},"703":{"position":[[1232,14]]}},"keywords":{}}],["ensur",{"_index":155,"title":{},"content":{"11":{"position":[[384,7]]},"50":{"position":[[316,6]]},"65":{"position":[[587,7],[1702,7]]},"78":{"position":[[30,7]]},"82":{"position":[[86,8]]},"88":{"position":[[160,8]]},"92":{"position":[[179,8]]},"95":{"position":[[183,8]]},"97":{"position":[[97,7]]},"101":{"position":[[249,8]]},"103":{"position":[[186,7]]},"107":{"position":[[83,7]]},"109":{"position":[[167,7]]},"110":{"position":[[157,8]]},"112":{"position":[[229,7]]},"117":{"position":[[268,8]]},"123":{"position":[[226,7]]},"125":{"position":[[206,7]]},"129":{"position":[[206,6],[617,6]]},"130":{"position":[[278,7]]},"135":{"position":[[134,7]]},"139":{"position":[[206,8]]},"143":{"position":[[239,8]]},"145":{"position":[[4,6]]},"152":{"position":[[315,8]]},"156":{"position":[[277,8]]},"157":{"position":[[264,7]]},"158":{"position":[[282,8]]},"159":{"position":[[299,7]]},"160":{"position":[[120,7]]},"164":{"position":[[366,8]]},"165":{"position":[[263,6]]},"167":{"position":[[150,6]]},"173":{"position":[[1264,7],[2911,7],[3199,7]]},"174":{"position":[[393,7],[906,8],[2216,6]]},"182":{"position":[[274,8]]},"183":{"position":[[270,7]]},"184":{"position":[[302,8]]},"191":{"position":[[31,7],[230,7]]},"195":{"position":[[4,6]]},"202":{"position":[[357,7]]},"218":{"position":[[203,7]]},"228":{"position":[[288,8]]},"233":{"position":[[236,7]]},"234":{"position":[[123,7]]},"235":{"position":[[214,8]]},"237":{"position":[[135,7]]},"240":{"position":[[213,7]]},"250":{"position":[[331,6]]},"263":{"position":[[278,6]]},"267":{"position":[[332,6],[769,8]]},"273":{"position":[[248,7]]},"274":{"position":[[307,8]]},"279":{"position":[[473,7]]},"280":{"position":[[408,7]]},"283":{"position":[[113,6]]},"286":{"position":[[64,8]]},"288":{"position":[[107,8],[311,8]]},"289":{"position":[[851,7],[1331,8]]},"291":{"position":[[170,8]]},"292":{"position":[[332,7]]},"293":{"position":[[1,8],[320,7]]},"294":{"position":[[254,7]]},"327":{"position":[[291,8]]},"328":{"position":[[96,6]]},"339":{"position":[[181,8]]},"340":{"position":[[121,7]]},"346":{"position":[[401,6],[696,6]]},"357":{"position":[[299,6]]},"358":{"position":[[967,8]]},"364":{"position":[[325,7]]},"365":{"position":[[258,8]]},"366":{"position":[[280,8]]},"367":{"position":[[357,8]]},"376":{"position":[[615,6]]},"381":{"position":[[482,7]]},"385":{"position":[[207,7]]},"386":{"position":[[227,7]]},"392":{"position":[[1821,6],[2196,6]]},"394":{"position":[[133,6]]},"397":{"position":[[118,6],[314,7]]},"398":{"position":[[2997,8]]},"407":{"position":[[271,8]]},"410":{"position":[[1307,7],[2088,6]]},"412":{"position":[[702,8],[8699,8],[12317,6]]},"438":{"position":[[327,8]]},"445":{"position":[[569,8],[1509,8]]},"446":{"position":[[192,7],[321,6],[700,8]]},"460":{"position":[[118,7]]},"463":{"position":[[158,6]]},"481":{"position":[[106,7]]},"482":{"position":[[1174,7]]},"489":{"position":[[104,8]]},"500":{"position":[[638,6]]},"502":{"position":[[402,7]]},"504":{"position":[[1002,8]]},"510":{"position":[[653,6]]},"516":{"position":[[144,7]]},"517":{"position":[[266,7]]},"519":{"position":[[144,7]]},"525":{"position":[[127,7]]},"526":{"position":[[114,8]]},"535":{"position":[[566,8]]},"550":{"position":[[12,7]]},"556":{"position":[[708,8],[1684,6],[1909,7]]},"569":{"position":[[364,6]]},"571":{"position":[[1653,6]]},"582":{"position":[[160,7],[410,6]]},"589":{"position":[[64,7]]},"590":{"position":[[173,8]]},"595":{"position":[[593,8]]},"610":{"position":[[1558,6]]},"611":{"position":[[1208,6]]},"626":{"position":[[1124,7]]},"632":{"position":[[261,8],[489,7],[901,8]]},"636":{"position":[[362,8]]},"638":{"position":[[876,7]]},"642":{"position":[[184,8]]},"653":{"position":[[631,7],[1098,7],[1345,7]]},"656":{"position":[[307,6]]},"662":{"position":[[692,7]]},"668":{"position":[[29,6],[126,7],[393,6]]},"723":{"position":[[124,7],[671,7],[840,7],[1184,7],[1416,8],[1728,7],[2555,8]]},"749":{"position":[[20910,6],[24127,6]]},"755":{"position":[[73,6]]},"761":{"position":[[40,7]]},"796":{"position":[[166,6]]},"799":{"position":[[162,7]]},"838":{"position":[[1046,7]]},"848":{"position":[[334,6]]},"857":{"position":[[599,6]]},"861":{"position":[[304,6]]},"875":{"position":[[5768,6]]},"898":{"position":[[151,6]]},"904":{"position":[[2150,6],[3377,6]]},"912":{"position":[[350,7]]},"916":{"position":[[45,6]]},"943":{"position":[[174,8]]},"986":{"position":[[42,6],[251,7],[1212,7]]},"987":{"position":[[836,7]]},"995":{"position":[[1575,6]]},"1003":{"position":[[1,7]]},"1007":{"position":[[944,7]]},"1024":{"position":[[106,6]]},"1048":{"position":[[208,6]]},"1057":{"position":[[258,6]]},"1065":{"position":[[1787,6]]},"1079":{"position":[[546,6]]},"1083":{"position":[[209,6]]},"1085":{"position":[[1771,6]]},"1109":{"position":[[97,6]]},"1115":{"position":[[547,6],[729,6]]},"1120":{"position":[[141,7]]},"1126":{"position":[[210,7]]},"1132":{"position":[[503,8],[938,7]]},"1150":{"position":[[574,8]]},"1151":{"position":[[455,6]]},"1164":{"position":[[963,7],[1295,6]]},"1165":{"position":[[658,6]]},"1175":{"position":[[366,6],[646,7]]},"1178":{"position":[[454,6]]},"1185":{"position":[[199,6]]},"1237":{"position":[[302,6]]},"1250":{"position":[[302,7]]},"1251":{"position":[[70,6],[323,7]]},"1290":{"position":[[153,6]]},"1291":{"position":[[151,6]]},"1300":{"position":[[236,6]]},"1301":{"position":[[1262,7]]},"1304":{"position":[[242,7]]},"1305":{"position":[[329,6]]},"1307":{"position":[[643,6]]},"1313":{"position":[[126,7],[312,7],[718,6]]},"1315":{"position":[[1297,6]]},"1317":{"position":[[458,6]]}},"keywords":{}}],["enter",{"_index":1920,"title":{},"content":{"321":{"position":[[451,5]]},"1007":{"position":[[379,6]]}},"keywords":{}}],["enterpris",{"_index":1729,"title":{},"content":{"298":{"position":[[793,10]]},"299":{"position":[[814,10]]},"353":{"position":[[479,10]]},"354":{"position":[[939,10]]},"386":{"position":[[121,10]]},"619":{"position":[[55,10],[307,10]]},"1009":{"position":[[77,10]]}},"keywords":{}}],["entir",{"_index":1042,"title":{},"content":{"107":{"position":[[15,8]]},"174":{"position":[[1271,8]]},"220":{"position":[[56,8]]},"260":{"position":[[291,8]]},"265":{"position":[[771,6]]},"303":{"position":[[359,6]]},"358":{"position":[[509,6],[685,6],[742,6]]},"411":{"position":[[3338,6],[3920,6]]},"479":{"position":[[68,8]]},"496":{"position":[[438,6]]},"632":{"position":[[966,8]]},"635":{"position":[[511,6]]},"723":{"position":[[1646,6]]},"1006":{"position":[[112,6]]},"1008":{"position":[[311,6]]},"1072":{"position":[[210,6],[323,6],[669,8]]}},"keywords":{}}],["entiti",{"_index":2018,"title":{},"content":{"354":{"position":[[273,8]]},"411":{"position":[[1396,7]]},"793":{"position":[[88,8]]},"849":{"position":[[453,8]]},"1009":{"position":[[963,8]]},"1316":{"position":[[676,9]]}},"keywords":{}}],["entri",{"_index":3851,"title":{},"content":{"674":{"position":[[47,6]]},"904":{"position":[[123,7]]},"1266":{"position":[[533,6]]}},"keywords":{}}],["entrypoint="install"",{"_index":4897,"title":{},"content":{"861":{"position":[[688,30]]}},"keywords":{}}],["enum",{"_index":4644,"title":{},"content":{"796":{"position":[[1054,4],[1212,4]]}},"keywords":{}}],["enumqueri",{"_index":4645,"title":{},"content":{"796":{"position":[[1138,9]]}},"keywords":{}}],["env",{"_index":4074,"title":{},"content":{"729":{"position":[[392,4]]},"861":{"position":[[535,4]]},"1202":{"position":[[431,4]]}},"keywords":{}}],["environ",{"_index":3,"title":{"240":{"position":[[39,13]]}},"content":{"1":{"position":[[8,12]]},"3":{"position":[[80,12]]},"47":{"position":[[1228,12]]},"67":{"position":[[53,13]]},"70":{"position":[[40,13]]},"94":{"position":[[244,11]]},"100":{"position":[[220,12]]},"101":{"position":[[236,12]]},"107":{"position":[[183,12]]},"122":{"position":[[388,13]]},"133":{"position":[[381,13]]},"164":{"position":[[123,13]]},"172":{"position":[[157,12]]},"202":{"position":[[106,12]]},"207":{"position":[[70,12]]},"222":{"position":[[382,12]]},"228":{"position":[[274,13]]},"239":{"position":[[328,13]]},"240":{"position":[[16,12]]},"254":{"position":[[32,11]]},"286":{"position":[[119,12]]},"300":{"position":[[738,13]]},"301":{"position":[[112,13]]},"306":{"position":[[368,13]]},"314":{"position":[[42,11]]},"368":{"position":[[220,13]]},"380":{"position":[[61,13]]},"384":{"position":[[79,13]]},"386":{"position":[[37,13]]},"418":{"position":[[177,13]]},"427":{"position":[[1132,12]]},"438":{"position":[[314,12]]},"444":{"position":[[191,13]]},"479":{"position":[[92,12],[406,12]]},"489":{"position":[[306,11]]},"525":{"position":[[378,12]]},"575":{"position":[[164,11]]},"595":{"position":[[1390,13]]},"613":{"position":[[877,13]]},"619":{"position":[[66,12]]},"624":{"position":[[1535,12]]},"630":{"position":[[264,11]]},"631":{"position":[[130,12]]},"640":{"position":[[81,12],[289,12]]},"642":{"position":[[14,12]]},"723":{"position":[[2675,12]]},"755":{"position":[[36,12]]},"824":{"position":[[463,11]]},"832":{"position":[[363,12]]},"871":{"position":[[596,12]]},"911":{"position":[[172,12]]},"962":{"position":[[415,11]]},"1072":{"position":[[812,11],[1466,12]]},"1151":{"position":[[654,13]]},"1178":{"position":[[653,13]]},"1241":{"position":[[125,13]]},"1268":{"position":[[227,12]]}},"keywords":{}}],["environments.repl",{"_index":1226,"title":{},"content":{"174":{"position":[[2873,24]]}},"keywords":{}}],["ephemer",{"_index":1871,"title":{},"content":{"305":{"position":[[309,9]]},"336":{"position":[[391,9]]},"496":{"position":[[175,9]]},"581":{"position":[[395,9]]},"640":{"position":[[405,9]]}},"keywords":{}}],["ephemeral/incognito",{"_index":1750,"title":{},"content":{"299":{"position":[[521,19]]}},"keywords":{}}],["eq",{"_index":1641,"title":{},"content":{"276":{"position":[[449,4]]},"798":{"position":[[606,4]]},"820":{"position":[[655,4]]},"875":{"position":[[2495,4]]},"1065":{"position":[[249,4],[1084,4]]},"1066":{"position":[[412,4]]},"1072":{"position":[[2513,4]]},"1105":{"position":[[663,4]]},"1158":{"position":[[718,4]]}},"keywords":{}}],["equal",{"_index":2131,"title":{},"content":{"370":{"position":[[272,7]]},"412":{"position":[[4573,6],[4777,6]]},"462":{"position":[[411,5]]},"571":{"position":[[1634,6]]},"626":{"position":[[1174,5]]},"683":{"position":[[232,5]]},"704":{"position":[[288,5]]},"714":{"position":[[642,6]]},"749":{"position":[[11561,5]]},"821":{"position":[[853,7]]},"847":{"position":[[92,5]]},"875":{"position":[[5008,5]]},"885":{"position":[[2224,6]]},"893":{"position":[[332,5]]},"961":{"position":[[168,5]]},"982":{"position":[[514,5]]},"1100":{"position":[[865,5]]},"1164":{"position":[[702,5]]},"1165":{"position":[[938,5]]},"1193":{"position":[[264,5]]},"1229":{"position":[[222,5]]},"1309":{"position":[[703,6]]}},"keywords":{}}],["equalsolv",{"_index":6494,"title":{},"content":{"1309":{"position":[[99,10]]}},"keywords":{}}],["equip",{"_index":2840,"title":{},"content":{"420":{"position":[[1250,10]]}},"keywords":{}}],["equival",{"_index":3920,"title":{},"content":{"691":{"position":[[692,10]]},"1065":{"position":[[344,10]]}},"keywords":{}}],["eras",{"_index":3944,"title":{},"content":{"698":{"position":[[2632,7]]}},"keywords":{}}],["err",{"_index":1588,"title":{},"content":{"261":{"position":[[978,5]]},"711":{"position":[[1593,5]]},"898":{"position":[[4145,6]]},"904":{"position":[[3530,6]]},"1010":{"position":[[345,6]]},"1294":{"position":[[1534,3]]}},"keywords":{}}],["error",{"_index":1377,"title":{"302":{"position":[[9,6]]},"748":{"position":[[5,5]]},"749":{"position":[[9,5]]},"990":{"position":[[0,5]]}},"content":{"210":{"position":[[603,8],[612,7]]},"261":{"position":[[969,8]]},"301":{"position":[[248,5]]},"302":{"position":[[244,5],[470,6],[842,7],[1108,6],[1146,8],[1155,7]]},"306":{"position":[[80,5]]},"438":{"position":[[91,5]]},"440":{"position":[[282,5]]},"461":{"position":[[367,5]]},"487":{"position":[[271,5]]},"515":{"position":[[187,5]]},"610":{"position":[[1157,6],[1273,6]]},"626":{"position":[[973,6]]},"632":{"position":[[2650,6]]},"719":{"position":[[169,6]]},"729":{"position":[[85,5]]},"747":{"position":[[331,6]]},"749":{"position":[[8677,5],[12501,7],[15510,5],[15522,7],[15644,5],[15656,7],[15776,5],[15788,7],[16044,5]]},"752":{"position":[[990,6],[997,5],[1162,7]]},"761":{"position":[[282,5]]},"793":{"position":[[971,6]]},"854":{"position":[[1752,7]]},"872":{"position":[[2849,6]]},"898":{"position":[[4032,6],[4380,7]]},"904":{"position":[[3366,7],[3405,7],[3425,6],[3521,8]]},"911":{"position":[[114,5]]},"944":{"position":[[163,5],[348,6],[559,6],[588,7],[623,5],[636,6]]},"945":{"position":[[104,5],[243,6]]},"947":{"position":[[125,5],[317,6]]},"948":{"position":[[115,6],[265,7]]},"966":{"position":[[202,5]]},"968":{"position":[[588,5]]},"988":{"position":[[5657,6]]},"990":{"position":[[132,7],[484,5],[694,7],[789,6],[865,6],[942,5],[1017,7],[1119,5]]},"993":{"position":[[342,6]]},"1010":{"position":[[247,6]]},"1031":{"position":[[98,7]]},"1044":{"position":[[94,5]]},"1067":{"position":[[1153,5],[1383,5]]},"1084":{"position":[[468,5]]},"1085":{"position":[[2668,6],[2802,5],[3228,6]]},"1164":{"position":[[683,6]]},"1176":{"position":[[67,5]]},"1202":{"position":[[85,6]]},"1207":{"position":[[825,5]]},"1213":{"position":[[835,5]]},"1237":{"position":[[316,6]]},"1282":{"position":[[495,5],[506,7]]},"1304":{"position":[[1000,5]]},"1305":{"position":[[1112,6]]},"1307":{"position":[[478,6],[523,5]]},"1322":{"position":[[140,6]]}},"keywords":{}}],["error('myreadonlyfield",{"_index":5974,"title":{},"content":{"1109":{"position":[[320,22]]}},"keywords":{}}],["error('no",{"_index":3366,"title":{},"content":{"556":{"position":[[492,9]]}},"keywords":{}}],["error('stop",{"_index":4533,"title":{},"content":{"767":{"position":[[697,14]]},"768":{"position":[[707,14]]},"769":{"position":[[668,14]]}},"keywords":{}}],["error.nam",{"_index":1812,"title":{},"content":{"302":{"position":[[855,11]]}},"keywords":{}}],["error.parameters.error",{"_index":5491,"title":{},"content":{"990":{"position":[[1231,23]]}},"keywords":{}}],["error.parameters.errors[0",{"_index":5492,"title":{},"content":{"990":{"position":[[1266,26]]}},"keywords":{}}],["error.parameters.errors[0].cod",{"_index":5493,"title":{},"content":{"990":{"position":[[1304,31]]}},"keywords":{}}],["errors.observ",{"_index":1215,"title":{},"content":{"174":{"position":[[948,17]]}},"keywords":{}}],["es5",{"_index":4068,"title":{},"content":{"728":{"position":[[42,4]]}},"keywords":{}}],["es8",{"_index":4066,"title":{},"content":{"728":{"position":[[20,3]]}},"keywords":{}}],["esm",{"_index":4507,"title":{},"content":{"761":{"position":[[574,3]]}},"keywords":{}}],["especi",{"_index":943,"title":{},"content":{"66":{"position":[[332,10]]},"95":{"position":[[47,10]]},"111":{"position":[[162,10]]},"138":{"position":[[163,10]]},"174":{"position":[[2508,10]]},"217":{"position":[[295,10]]},"223":{"position":[[81,10]]},"265":{"position":[[297,10]]},"298":{"position":[[705,10]]},"299":{"position":[[1083,10]]},"305":{"position":[[541,10]]},"353":{"position":[[501,10]]},"376":{"position":[[510,10]]},"396":{"position":[[1536,10]]},"407":{"position":[[790,10]]},"408":{"position":[[4540,10]]},"412":{"position":[[7822,11]]},"416":{"position":[[259,10]]},"419":{"position":[[1305,11]]},"450":{"position":[[555,10]]},"535":{"position":[[630,10]]},"563":{"position":[[958,10]]},"569":{"position":[[1020,10]]},"595":{"position":[[657,10]]},"611":{"position":[[1077,10]]},"634":{"position":[[25,10]]},"639":{"position":[[32,10]]},"723":{"position":[[598,10]]},"785":{"position":[[15,10]]},"801":{"position":[[259,10]]},"802":{"position":[[852,10]]},"836":{"position":[[1736,10]]},"849":{"position":[[277,10]]},"894":{"position":[[94,10]]},"1072":{"position":[[2891,10]]},"1132":{"position":[[1216,10]]},"1321":{"position":[[31,10]]}},"keywords":{}}],["essenti",{"_index":907,"title":{},"content":{"65":{"position":[[275,9],[1319,9],[1480,9]]},"117":{"position":[[254,9]]},"215":{"position":[[147,9]]},"236":{"position":[[298,9]]},"302":{"position":[[285,9]]},"369":{"position":[[776,9]]},"370":{"position":[[249,9]]},"375":{"position":[[74,9]]},"378":{"position":[[272,10]]},"390":{"position":[[520,11]]},"392":{"position":[[2122,9]]},"396":{"position":[[1723,9]]},"412":{"position":[[6317,12],[8337,12],[9033,11]]},"430":{"position":[[549,9]]},"432":{"position":[[87,9]]},"476":{"position":[[189,11]]},"577":{"position":[[22,10]]},"802":{"position":[[617,9]]},"839":{"position":[[527,11]]},"899":{"position":[[170,11]]}},"keywords":{}}],["essential.hybrid",{"_index":2794,"title":{},"content":{"418":{"position":[[484,17]]}},"keywords":{}}],["establish",{"_index":1297,"title":{},"content":{"192":{"position":[[340,9]]},"289":{"position":[[602,11],[735,9],[1141,9]]},"354":{"position":[[1246,11]]},"358":{"position":[[941,12]]},"503":{"position":[[181,9]]},"610":{"position":[[325,11],[1090,9]]},"611":{"position":[[494,12],[735,14]]},"614":{"position":[[488,9]]},"621":{"position":[[408,12]]},"623":{"position":[[541,14]]},"624":{"position":[[1461,12]]},"901":{"position":[[236,12],[321,14],[367,9]]},"906":{"position":[[159,9]]}},"keywords":{}}],["estim",{"_index":1768,"title":{},"content":{"300":{"position":[[91,10],[138,8]]},"461":{"position":[[1227,10]]}},"keywords":{}}],["etc",{"_index":454,"title":{},"content":{"28":{"position":[[232,5]]},"32":{"position":[[217,4]]},"33":{"position":[[657,4]]},"248":{"position":[[90,6]]},"255":{"position":[[1731,6]]},"411":{"position":[[1277,6],[2013,6],[5654,5]]},"412":{"position":[[9258,6],[13785,5]]},"556":{"position":[[605,6]]},"565":{"position":[[154,6]]},"566":{"position":[[1196,5]]},"630":{"position":[[559,5]]},"745":{"position":[[618,6]]},"825":{"position":[[493,6]]},"841":{"position":[[799,5]]},"1065":{"position":[[1272,6]]},"1324":{"position":[[681,4]]}},"keywords":{}}],["etc.).us",{"_index":1544,"title":{},"content":{"249":{"position":[[137,9]]}},"keywords":{}}],["etho",{"_index":2640,"title":{},"content":{"411":{"position":[[5300,5]]}},"keywords":{}}],["euclidean",{"_index":2290,"title":{},"content":{"393":{"position":[[213,9],[468,9],[836,9]]}},"keywords":{}}],["euclideandist",{"_index":2295,"title":{},"content":{"393":{"position":[[925,17]]},"394":{"position":[[476,17]]},"397":{"position":[[1628,17]]}},"keywords":{}}],["euclideandistance((doc",{"_index":2410,"title":{},"content":{"398":{"position":[[1522,22],[2675,22]]}},"keywords":{}}],["euclideandistance(embedding1",{"_index":2297,"title":{},"content":{"393":{"position":[[990,29]]}},"keywords":{}}],["euclideandistance(mysamplevectors[idx",{"_index":2499,"title":{},"content":{"403":{"position":[[944,39]]}},"keywords":{}}],["euclideandistance(queryvector",{"_index":2315,"title":{},"content":{"394":{"position":[[805,30]]}},"keywords":{}}],["euclideandistance(samplevectors[i",{"_index":2398,"title":{},"content":{"398":{"position":[[918,35],[2204,35]]}},"keywords":{}}],["euclideandistance(samplevectors[idx",{"_index":2385,"title":{},"content":{"397":{"position":[[2099,37]]}},"keywords":{}}],["ev",{"_index":2274,"title":{},"content":{"392":{"position":[[4311,4]]}},"keywords":{}}],["ev.data.id",{"_index":2275,"title":{},"content":{"392":{"position":[[4332,11]]}},"keywords":{}}],["eval",{"_index":6384,"title":{},"content":{"1287":{"position":[[44,6],[112,5],[221,5]]}},"keywords":{}}],["evalu",{"_index":3659,"title":{},"content":{"620":{"position":[[116,10]]},"681":{"position":[[568,8]]},"783":{"position":[[168,10]]},"1271":{"position":[[513,10]]}},"keywords":{}}],["even",{"_index":192,"title":{},"content":{"13":{"position":[[259,4]]},"14":{"position":[[1173,4]]},"18":{"position":[[254,4]]},"23":{"position":[[292,4]]},"47":{"position":[[828,4]]},"53":{"position":[[127,4]]},"65":{"position":[[543,4],[1715,4]]},"110":{"position":[[41,4]]},"133":{"position":[[119,4]]},"139":{"position":[[238,4]]},"152":{"position":[[349,4]]},"157":{"position":[[83,4]]},"164":{"position":[[216,4]]},"167":{"position":[[199,4]]},"173":{"position":[[1317,4],[1442,4]]},"183":{"position":[[113,4]]},"191":{"position":[[78,4]]},"203":{"position":[[324,4]]},"212":{"position":[[291,4]]},"215":{"position":[[220,4]]},"218":{"position":[[216,4]]},"227":{"position":[[378,4]]},"248":{"position":[[166,4]]},"252":{"position":[[270,4]]},"253":{"position":[[187,4]]},"266":{"position":[[220,4]]},"273":{"position":[[300,4]]},"280":{"position":[[85,4],[256,4]]},"283":{"position":[[456,4]]},"289":{"position":[[1996,4]]},"291":{"position":[[184,4]]},"292":{"position":[[125,4],[264,4]]},"294":{"position":[[310,4]]},"303":{"position":[[1,4]]},"310":{"position":[[252,4]]},"323":{"position":[[206,4]]},"327":{"position":[[161,4]]},"328":{"position":[[261,4]]},"338":{"position":[[127,4]]},"347":{"position":[[561,4]]},"358":{"position":[[789,4]]},"362":{"position":[[753,4],[1632,4]]},"369":{"position":[[479,4]]},"375":{"position":[[990,4]]},"376":{"position":[[657,4]]},"380":{"position":[[75,4]]},"385":{"position":[[220,4]]},"390":{"position":[[1263,4]]},"400":{"position":[[674,4]]},"403":{"position":[[40,4]]},"404":{"position":[[375,4]]},"408":{"position":[[418,4],[1132,4],[5092,4],[5182,4]]},"410":{"position":[[757,4],[1223,4]]},"411":{"position":[[4078,4]]},"412":{"position":[[1556,4],[3984,4],[5080,4],[5972,4],[7108,4],[8568,4],[9691,4],[13832,4],[14611,4]]},"414":{"position":[[107,4]]},"420":{"position":[[244,4],[1286,4]]},"424":{"position":[[296,4]]},"439":{"position":[[565,4]]},"445":{"position":[[606,4]]},"446":{"position":[[232,4]]},"450":{"position":[[679,4]]},"455":{"position":[[833,4]]},"457":{"position":[[341,4]]},"461":{"position":[[457,4]]},"482":{"position":[[1235,4]]},"486":{"position":[[294,4]]},"489":{"position":[[679,4]]},"500":{"position":[[670,4]]},"502":{"position":[[438,4]]},"516":{"position":[[87,4]]},"525":{"position":[[329,4]]},"534":{"position":[[262,4]]},"541":{"position":[[863,4]]},"550":{"position":[[26,4]]},"569":{"position":[[1226,4]]},"571":{"position":[[425,4],[1263,4]]},"574":{"position":[[241,4]]},"581":{"position":[[296,4]]},"582":{"position":[[101,4]]},"591":{"position":[[702,4]]},"594":{"position":[[260,4]]},"600":{"position":[[184,4]]},"611":{"position":[[1374,4]]},"613":{"position":[[297,4],[892,4]]},"616":{"position":[[653,4]]},"617":{"position":[[172,4],[371,4]]},"630":{"position":[[703,4]]},"632":{"position":[[698,4]]},"634":{"position":[[384,4]]},"662":{"position":[[181,4]]},"685":{"position":[[180,4]]},"688":{"position":[[651,4]]},"699":{"position":[[676,4]]},"701":{"position":[[732,4]]},"702":{"position":[[524,4]]},"704":{"position":[[283,4],[439,4]]},"705":{"position":[[539,4],[1388,4]]},"709":{"position":[[865,4]]},"723":{"position":[[178,4],[2381,4]]},"724":{"position":[[900,4]]},"778":{"position":[[456,4]]},"779":{"position":[[7,4]]},"781":{"position":[[749,4]]},"838":{"position":[[210,4],[3350,4]]},"854":{"position":[[1245,4]]},"860":{"position":[[412,4]]},"912":{"position":[[363,4]]},"956":{"position":[[101,4]]},"986":{"position":[[143,4]]},"988":{"position":[[1398,4]]},"1072":{"position":[[252,4]]},"1085":{"position":[[663,4]]},"1092":{"position":[[559,4]]},"1093":{"position":[[254,4]]},"1124":{"position":[[1680,4]]},"1132":{"position":[[253,4]]},"1133":{"position":[[586,4]]},"1161":{"position":[[174,4]]},"1164":{"position":[[991,4]]},"1180":{"position":[[174,4]]},"1198":{"position":[[940,4],[1404,4]]},"1206":{"position":[[368,4]]},"1207":{"position":[[419,4]]},"1209":{"position":[[286,4],[472,4]]},"1246":{"position":[[841,4]]},"1252":{"position":[[322,4]]},"1282":{"position":[[288,4]]},"1295":{"position":[[1142,4]]},"1304":{"position":[[1351,4]]},"1314":{"position":[[112,4]]},"1316":{"position":[[1999,4]]},"1318":{"position":[[759,4]]},"1319":{"position":[[653,4]]},"1320":{"position":[[327,4],[758,4]]}},"keywords":{}}],["event",{"_index":116,"title":{"140":{"position":[[19,5]]},"168":{"position":[[19,5]]},"196":{"position":[[19,5]]},"344":{"position":[[19,5]]},"509":{"position":[[19,5]]},"529":{"position":[[19,5]]},"609":{"position":[[26,6]]},"612":{"position":[[21,8]]},"626":{"position":[[22,6]]},"985":{"position":[[0,5]]},"1318":{"position":[[0,5]]}},"content":{"8":{"position":[[483,6]]},"11":{"position":[[744,5]]},"134":{"position":[[286,6]]},"140":{"position":[[293,5]]},"153":{"position":[[218,5]]},"168":{"position":[[32,5]]},"174":{"position":[[1680,6]]},"196":{"position":[[42,6],[140,5]]},"234":{"position":[[112,6]]},"255":{"position":[[247,5]]},"302":{"position":[[250,6],[431,5]]},"320":{"position":[[52,5]]},"326":{"position":[[38,5]]},"331":{"position":[[342,5]]},"334":{"position":[[536,5]]},"411":{"position":[[4440,8]]},"432":{"position":[[624,6],[831,6],[916,7]]},"445":{"position":[[1373,6]]},"458":{"position":[[530,6],[609,6],[664,5],[762,6],[858,7]]},"459":{"position":[[893,7],[951,7]]},"464":{"position":[[220,6]]},"481":{"position":[[498,5]]},"490":{"position":[[450,5],[504,5]]},"491":{"position":[[641,6],[1680,6]]},"529":{"position":[[68,6],[145,5]]},"566":{"position":[[499,8]]},"569":{"position":[[219,7]]},"571":{"position":[[148,6]]},"579":{"position":[[544,5]]},"610":{"position":[[1589,6]]},"612":{"position":[[13,6],[397,6],[585,5],[658,6],[824,7],[875,5],[974,6],[991,7],[1121,5],[1237,6],[1266,5],[1592,5],[1645,5],[2182,5]]},"616":{"position":[[547,6]]},"619":{"position":[[273,6]]},"620":{"position":[[54,6]]},"621":{"position":[[201,7],[569,5]]},"622":{"position":[[214,7]]},"623":{"position":[[184,7]]},"624":{"position":[[134,6],[593,5]]},"626":{"position":[[71,6],[163,6],[380,7],[498,6],[833,5],[1113,6]]},"628":{"position":[[114,6]]},"698":{"position":[[1077,5],[1130,5],[1244,5],[2450,6],[2575,5]]},"711":{"position":[[1519,7]]},"740":{"position":[[355,6]]},"755":{"position":[[167,6]]},"826":{"position":[[91,6]]},"846":{"position":[[1419,7]]},"875":{"position":[[4167,5],[4531,5],[6682,5],[6916,7],[6990,6],[7053,6],[7726,5],[7874,6],[7981,6],[8229,5],[8772,6],[9340,6]]},"876":{"position":[[302,6]]},"879":{"position":[[477,5],[604,6]]},"882":{"position":[[21,7]]},"885":{"position":[[467,7]]},"886":{"position":[[5056,6]]},"890":{"position":[[115,7]]},"941":{"position":[[202,5]]},"953":{"position":[[200,6]]},"961":{"position":[[194,6]]},"964":{"position":[[167,5],[271,6]]},"970":{"position":[[69,6]]},"979":{"position":[[7,6],[189,6],[388,5]]},"984":{"position":[[671,5]]},"985":{"position":[[51,6],[225,6],[285,6],[525,7],[585,5]]},"988":{"position":[[4096,6],[5054,7],[5561,5],[5906,6],[6096,6]]},"996":{"position":[[344,6]]},"1088":{"position":[[509,6]]},"1124":{"position":[[830,7],[1261,6]]},"1126":{"position":[[223,6],[514,5],[819,6]]},"1230":{"position":[[155,6]]},"1300":{"position":[[798,5],[1055,5]]},"1318":{"position":[[34,5],[126,6],[292,6],[555,5],[1117,6]]}},"keywords":{}}],["event.checkpoint",{"_index":5031,"title":{},"content":{"875":{"position":[[5352,16]]}},"keywords":{}}],["event.data",{"_index":3575,"title":{},"content":{"611":{"position":[[891,12]]},"612":{"position":[[1310,12]]},"988":{"position":[[5365,10]]}},"keywords":{}}],["event.documents.push(changerow.newdocumentst",{"_index":5030,"title":{},"content":{"875":{"position":[[5302,49]]}},"keywords":{}}],["eventdata",{"_index":5052,"title":{},"content":{"875":{"position":[[8249,9]]}},"keywords":{}}],["eventdata.checkpoint",{"_index":5056,"title":{},"content":{"875":{"position":[[8350,20]]}},"keywords":{}}],["eventdata.docu",{"_index":5055,"title":{},"content":{"875":{"position":[[8317,20]]}},"keywords":{}}],["eventreduc",{"_index":981,"title":{"78":{"position":[[36,11]]},"108":{"position":[[36,11]]},"234":{"position":[[36,11]]},"277":{"position":[[31,12]]},"965":{"position":[[0,12]]},"1256":{"position":[[0,12]]}},"content":{"78":{"position":[[8,11]]},"108":{"position":[[18,11]]},"174":{"position":[[1538,11],[1583,11]]},"209":{"position":[[336,12]]},"234":{"position":[[42,11]]},"255":{"position":[[680,12]]},"277":{"position":[[34,12],[150,11]]},"283":{"position":[[357,11]]},"334":{"position":[[505,12]]},"369":{"position":[[1226,11]]},"411":{"position":[[3412,11]]},"522":{"position":[[644,12],[672,11]]},"571":{"position":[[1736,11]]},"579":{"position":[[514,12]]},"799":{"position":[[227,11]]},"960":{"position":[[539,12],[567,11]]},"965":{"position":[[222,11],[334,12]]},"1065":{"position":[[1640,11]]},"1071":{"position":[[458,11]]},"1083":{"position":[[279,11]]},"1318":{"position":[[852,11]]}},"keywords":{}}],["events.get",{"_index":5944,"title":{},"content":{"1102":{"position":[[1226,10]]}},"keywords":{}}],["eventsnotif",{"_index":4520,"title":{},"content":{"765":{"position":[[253,19]]}},"keywords":{}}],["eventsourc",{"_index":3585,"title":{"882":{"position":[[7,11]]}},"content":{"612":{"position":[[745,11],[906,11],[1359,11]]},"616":{"position":[[739,11],[982,11],[1025,11]]},"617":{"position":[[1677,12]]},"875":{"position":[[8114,11],[8132,12],[8588,11],[9533,11],[9551,12]]},"882":{"position":[[33,11],[87,11],[262,11],[430,12]]}},"keywords":{}}],["eventsource("https://example.com/events"",{"_index":3588,"title":{},"content":{"612":{"position":[[1156,52]]}},"keywords":{}}],["eventsource.onerror",{"_index":5058,"title":{},"content":{"875":{"position":[[8959,19]]}},"keywords":{}}],["eventsource.onmessag",{"_index":5051,"title":{},"content":{"875":{"position":[[8205,21],[9624,21]]}},"keywords":{}}],["eventu",{"_index":1860,"title":{"700":{"position":[[0,8]]}},"content":{"304":{"position":[[187,10]]},"407":{"position":[[292,10]]},"411":{"position":[[4739,10]]},"412":{"position":[[5578,8],[5652,10],[5847,11],[6356,8]]},"660":{"position":[[383,11]]},"1125":{"position":[[399,10]]}},"keywords":{}}],["everyday",{"_index":3294,"title":{},"content":{"535":{"position":[[85,8]]},"595":{"position":[[85,8]]}},"keywords":{}}],["everyon",{"_index":1619,"title":{},"content":{"267":{"position":[[783,8]]},"412":{"position":[[4242,8],[11658,8]]},"446":{"position":[[714,8]]}},"keywords":{}}],["everyth",{"_index":156,"title":{"1320":{"position":[[0,10]]}},"content":{"11":{"position":[[397,10]]},"18":{"position":[[137,10],[218,10]]},"28":{"position":[[68,10]]},"188":{"position":[[1768,10]]},"358":{"position":[[34,10],[410,11],[1018,10]]},"362":{"position":[[560,10]]},"394":{"position":[[140,10]]},"407":{"position":[[679,10]]},"412":{"position":[[6811,10],[8745,10]]},"421":{"position":[[185,10],[845,10]]},"460":{"position":[[1050,10],[1404,11]]},"464":{"position":[[1059,10]]},"469":{"position":[[367,10]]},"478":{"position":[[180,10]]},"481":{"position":[[460,10]]},"483":{"position":[[485,10]]},"668":{"position":[[134,10],[400,10]]},"697":{"position":[[404,10]]},"699":{"position":[[423,10]]},"702":{"position":[[719,10]]},"704":{"position":[[534,10]]},"705":{"position":[[601,10]]},"772":{"position":[[2003,10]]},"773":{"position":[[412,10]]},"835":{"position":[[197,10]]},"997":{"position":[[63,10]]},"1066":{"position":[[174,10]]},"1072":{"position":[[1438,10]]},"1292":{"position":[[419,10]]},"1313":{"position":[[284,10],[356,10]]},"1315":{"position":[[1669,11]]},"1316":{"position":[[1017,10]]},"1318":{"position":[[268,10]]},"1320":{"position":[[650,10]]},"1324":{"position":[[465,10]]}},"keywords":{}}],["everything.no",{"_index":3408,"title":{},"content":{"559":{"position":[[1283,13]]}},"keywords":{}}],["everywher",{"_index":1334,"title":{"207":{"position":[[9,10]]}},"content":{},"keywords":{}}],["evict",{"_index":1757,"title":{},"content":{"299":{"position":[[995,8]]},"305":{"position":[[140,8]]},"412":{"position":[[7797,5],[7987,8]]}},"keywords":{}}],["evid",{"_index":2478,"title":{},"content":{"401":{"position":[[619,7]]}},"keywords":{}}],["evolut",{"_index":1431,"title":{},"content":{"240":{"position":[[332,10]]}},"keywords":{}}],["evolv",{"_index":860,"title":{"352":{"position":[[13,8]]}},"content":{"57":{"position":[[273,6]]},"110":{"position":[[218,8]]},"170":{"position":[[589,7]]},"174":{"position":[[2265,8]]},"202":{"position":[[456,8]]},"282":{"position":[[362,6]]},"299":{"position":[[1197,8]]},"320":{"position":[[300,7]]},"353":{"position":[[275,8]]},"354":{"position":[[1604,8]]},"362":{"position":[[74,9]]},"367":{"position":[[283,8]]},"369":{"position":[[851,8]]},"382":{"position":[[324,6]]},"412":{"position":[[11040,8]]},"419":{"position":[[628,7]]},"510":{"position":[[13,8]]},"530":{"position":[[600,7]]},"636":{"position":[[17,6]]},"836":{"position":[[2139,7]]}},"keywords":{}}],["evtsourc",{"_index":3587,"title":{},"content":{"612":{"position":[[1140,9]]}},"keywords":{}}],["evtsource.onmessag",{"_index":3589,"title":{},"content":{"612":{"position":[[1244,19]]}},"keywords":{}}],["ex",{"_index":4847,"title":{},"content":{"849":{"position":[[632,4]]}},"keywords":{}}],["exact",{"_index":2165,"title":{},"content":{"383":{"position":[[514,5]]},"390":{"position":[[339,5],[478,5],[1303,5]]},"626":{"position":[[1168,5]]},"679":{"position":[[262,5]]},"686":{"position":[[585,5]]},"749":{"position":[[1468,5]]},"756":{"position":[[289,5]]},"872":{"position":[[3652,5]]},"888":{"position":[[607,5]]},"1091":{"position":[[129,5]]},"1157":{"position":[[186,5]]},"1257":{"position":[[65,5]]},"1316":{"position":[[249,5]]}},"keywords":{}}],["exactli",{"_index":2130,"title":{},"content":{"369":{"position":[[1536,7]]},"412":{"position":[[961,7]]},"562":{"position":[[1657,7]]},"683":{"position":[[224,7]]},"684":{"position":[[114,7]]},"703":{"position":[[669,7],[838,7]]},"723":{"position":[[883,7]]},"737":{"position":[[106,7],[301,7]]},"755":{"position":[[85,7]]},"779":{"position":[[286,7]]},"981":{"position":[[1602,7]]},"1100":{"position":[[101,7]]},"1183":{"position":[[361,7]]},"1267":{"position":[[454,7]]},"1318":{"position":[[55,7]]}},"keywords":{}}],["examin",{"_index":2647,"title":{},"content":{"412":{"position":[[172,7]]}},"keywords":{}}],["exampl",{"_index":19,"title":{"56":{"position":[[18,7]]},"261":{"position":[[0,8]]},"315":{"position":[[11,8]]},"316":{"position":[[12,8]]},"425":{"position":[[45,8]]},"480":{"position":[[12,8]]},"493":{"position":[[8,8]]},"494":{"position":[[6,8]]},"543":{"position":[[16,7]]},"562":{"position":[[11,7]]},"603":{"position":[[14,7]]},"691":{"position":[[0,8]]},"736":{"position":[[9,8]]},"739":{"position":[[5,8]]},"741":{"position":[[5,8]]},"812":{"position":[[0,7]]},"813":{"position":[[0,7]]},"848":{"position":[[5,8]]},"1065":{"position":[[6,9]]},"1074":{"position":[[0,8]]},"1080":{"position":[[6,8]]},"1236":{"position":[[14,9]]}},"content":{"1":{"position":[[291,7]]},"51":{"position":[[1014,7],[1053,8]]},"56":{"position":[[17,7]]},"149":{"position":[[453,7]]},"188":{"position":[[1701,7]]},"198":{"position":[[508,7]]},"228":{"position":[[358,7]]},"241":{"position":[[319,9]]},"255":{"position":[[306,8]]},"261":{"position":[[994,7]]},"296":{"position":[[24,7]]},"303":{"position":[[447,8]]},"315":{"position":[[120,7]]},"334":{"position":[[20,7]]},"335":{"position":[[107,8],[552,7]]},"347":{"position":[[443,9],[469,8]]},"361":{"position":[[455,8]]},"362":{"position":[[1514,9],[1540,8]]},"365":{"position":[[887,8]]},"367":{"position":[[686,7]]},"373":{"position":[[319,9]]},"390":{"position":[[591,8]]},"392":{"position":[[773,7],[2489,8]]},"394":{"position":[[1551,8]]},"396":{"position":[[1304,7]]},"397":{"position":[[376,7]]},"402":{"position":[[275,7],[838,8],[2307,7]]},"404":{"position":[[597,7]]},"408":{"position":[[539,8]]},"411":{"position":[[3809,8],[4308,8]]},"412":{"position":[[998,7],[3085,8],[4373,7],[5190,7],[6843,8],[9902,8],[10847,7],[12510,8],[13861,7]]},"425":{"position":[[36,8]]},"426":{"position":[[261,7]]},"429":{"position":[[471,7]]},"451":{"position":[[495,7]]},"459":{"position":[[454,8]]},"469":{"position":[[163,7],[593,7]]},"482":{"position":[[149,8]]},"497":{"position":[[391,8]]},"511":{"position":[[476,7]]},"523":{"position":[[216,7]]},"531":{"position":[[451,7]]},"538":{"position":[[160,7]]},"541":{"position":[[104,7]]},"543":{"position":[[17,7]]},"554":{"position":[[242,7],[309,7]]},"556":{"position":[[209,8]]},"557":{"position":[[170,7]]},"567":{"position":[[523,8],[775,9],[855,7]]},"571":{"position":[[674,7]]},"579":{"position":[[107,7],[876,8]]},"580":{"position":[[225,7]]},"591":{"position":[[582,7],[625,7],[685,9],[721,8]]},"598":{"position":[[161,7]]},"601":{"position":[[11,7]]},"603":{"position":[[17,7]]},"616":{"position":[[965,7]]},"626":{"position":[[627,7]]},"632":{"position":[[1003,7],[2073,7]]},"634":{"position":[[265,8]]},"638":{"position":[[195,8]]},"656":{"position":[[202,8]]},"661":{"position":[[1497,7]]},"678":{"position":[[218,8]]},"681":{"position":[[239,7]]},"685":{"position":[[443,7]]},"688":{"position":[[584,8]]},"691":{"position":[[5,8],[519,8]]},"696":{"position":[[1946,7]]},"697":{"position":[[126,7]]},"701":{"position":[[480,7]]},"703":{"position":[[342,7]]},"710":{"position":[[170,8],[2525,7]]},"728":{"position":[[119,7]]},"730":{"position":[[8,8]]},"739":{"position":[[29,7]]},"741":{"position":[[9,7]]},"742":{"position":[[17,7]]},"757":{"position":[[46,8]]},"774":{"position":[[338,7]]},"796":{"position":[[260,8]]},"798":{"position":[[327,7]]},"799":{"position":[[339,7]]},"820":{"position":[[223,7]]},"821":{"position":[[413,7],[688,7]]},"824":{"position":[[288,7]]},"825":{"position":[[1055,7],[1142,7]]},"826":{"position":[[280,7]]},"832":{"position":[[28,7],[277,7]]},"837":{"position":[[342,7]]},"838":{"position":[[3253,7]]},"842":{"position":[[97,7]]},"866":{"position":[[691,7]]},"872":{"position":[[1437,7]]},"873":{"position":[[34,7]]},"885":{"position":[[122,7],[2672,8],[2726,7]]},"888":{"position":[[128,7],[910,7]]},"889":{"position":[[67,7],[646,7],[1100,8]]},"890":{"position":[[989,7]]},"898":{"position":[[791,7]]},"904":{"position":[[178,7],[1135,7]]},"906":{"position":[[534,7],[756,7]]},"913":{"position":[[169,7]]},"962":{"position":[[461,7]]},"964":{"position":[[212,7]]},"968":{"position":[[321,7]]},"981":{"position":[[990,7]]},"984":{"position":[[382,7]]},"986":{"position":[[681,7]]},"988":{"position":[[3640,7]]},"990":{"position":[[1029,7]]},"995":{"position":[[1308,7]]},"1009":{"position":[[38,8]]},"1022":{"position":[[135,7]]},"1033":{"position":[[408,7]]},"1048":{"position":[[94,7],[397,8]]},"1065":{"position":[[11,8],[378,7],[952,7],[1229,7]]},"1069":{"position":[[438,8]]},"1072":{"position":[[2619,8]]},"1074":{"position":[[9,7]]},"1084":{"position":[[294,8]]},"1085":{"position":[[1204,8]]},"1095":{"position":[[124,7]]},"1104":{"position":[[656,7]]},"1105":{"position":[[429,7]]},"1106":{"position":[[134,7],[345,7]]},"1115":{"position":[[173,7]]},"1118":{"position":[[202,7]]},"1121":{"position":[[170,7]]},"1124":{"position":[[396,7],[2010,7]]},"1132":{"position":[[741,7]]},"1135":{"position":[[153,7]]},"1139":{"position":[[84,7]]},"1145":{"position":[[80,7]]},"1149":{"position":[[503,7]]},"1150":{"position":[[410,7]]},"1165":{"position":[[143,7]]},"1191":{"position":[[259,7]]},"1198":{"position":[[1020,7],[1357,7]]},"1213":{"position":[[434,7]]},"1222":{"position":[[1114,7]]},"1236":{"position":[[61,8]]},"1252":{"position":[[91,7]]},"1268":{"position":[[298,7]]},"1271":{"position":[[997,8],[1652,8]]},"1272":{"position":[[422,7]]},"1274":{"position":[[457,7]]},"1279":{"position":[[844,7]]},"1296":{"position":[[241,7]]},"1300":{"position":[[358,7],[556,7]]},"1318":{"position":[[152,7]]}},"keywords":{}}],["example.if",{"_index":4586,"title":{},"content":{"776":{"position":[[27,10]]}},"keywords":{}}],["example.txt",{"_index":6201,"title":{},"content":{"1208":{"position":[[894,14]]}},"keywords":{}}],["exampledb",{"_index":1613,"title":{},"content":{"266":{"position":[[689,12]]},"662":{"position":[[2151,12]]},"710":{"position":[[1720,12]]},"772":{"position":[[795,12]]},"773":{"position":[[585,12]]},"774":{"position":[[687,12]]},"838":{"position":[[2322,12]]},"1125":{"position":[[312,12]]},"1130":{"position":[[185,12]]},"1134":{"position":[[162,12]]},"1138":{"position":[[306,12]]},"1139":{"position":[[561,12]]},"1140":{"position":[[620,12]]},"1144":{"position":[[210,12]]},"1145":{"position":[[550,12]]},"1146":{"position":[[255,12]]},"1158":{"position":[[218,12]]},"1159":{"position":[[404,12]]},"1168":{"position":[[166,12]]},"1172":{"position":[[331,12]]},"1189":{"position":[[429,12]]},"1201":{"position":[[206,12]]},"1271":{"position":[[1595,12]]},"1274":{"position":[[346,12]]},"1275":{"position":[[357,12]]},"1276":{"position":[[959,12]]},"1277":{"position":[[406,12]]},"1278":{"position":[[483,12],[935,12]]},"1279":{"position":[[733,12]]},"1280":{"position":[[468,12]]}},"keywords":{}}],["examples"",{"_index":1500,"title":{},"content":{"244":{"position":[[781,14]]}},"keywords":{}}],["examplether",{"_index":4013,"title":{},"content":{"712":{"position":[[104,12]]}},"keywords":{}}],["exce",{"_index":1794,"title":{"303":{"position":[[10,6]]}},"content":{"302":{"position":[[48,7]]}},"keywords":{}}],["exceed",{"_index":1793,"title":{},"content":{"301":{"position":[[731,9]]},"302":{"position":[[925,9]]},"932":{"position":[[291,9]]}},"keywords":{}}],["excel",{"_index":961,"title":{"200":{"position":[[15,9]]}},"content":{"71":{"position":[[12,9]]},"98":{"position":[[38,5]]},"102":{"position":[[23,9]]},"105":{"position":[[100,9]]},"110":{"position":[[6,6]]},"174":{"position":[[771,9]]},"179":{"position":[[212,9]]},"225":{"position":[[21,5]]},"229":{"position":[[186,9]]},"232":{"position":[[94,9]]},"262":{"position":[[128,5]]},"265":{"position":[[845,9]]},"267":{"position":[[236,9]]},"280":{"position":[[115,6]]},"283":{"position":[[8,9]]},"289":{"position":[[630,6]]},"292":{"position":[[54,6]]},"354":{"position":[[464,6]]},"362":{"position":[[673,5]]},"378":{"position":[[191,6]]},"426":{"position":[[23,6]]},"429":{"position":[[171,6]]},"441":{"position":[[146,9]]},"445":{"position":[[895,9]]},"491":{"position":[[1780,6]]},"530":{"position":[[493,5]]},"540":{"position":[[6,6]]},"559":{"position":[[1577,10]]},"600":{"position":[[6,6]]},"624":{"position":[[641,5]]}},"keywords":{}}],["except",{"_index":1194,"title":{},"content":{"170":{"position":[[18,11]]},"198":{"position":[[437,11]]},"267":{"position":[[1237,11]]},"271":{"position":[[143,11]]},"290":{"position":[[182,11]]},"302":{"position":[[142,10]]},"353":{"position":[[45,11]]},"447":{"position":[[484,11]]},"886":{"position":[[4554,6]]}},"keywords":{}}],["excess",{"_index":2551,"title":{},"content":{"408":{"position":[[2740,9]]},"430":{"position":[[707,9]]}},"keywords":{}}],["exchang",{"_index":1590,"title":{},"content":{"261":{"position":[[1195,9]]},"289":{"position":[[1925,8]]},"375":{"position":[[666,8]]},"611":{"position":[[172,8]]},"614":{"position":[[358,8]]},"621":{"position":[[168,8]]},"901":{"position":[[112,8]]}},"keywords":{}}],["excit",{"_index":2641,"title":{},"content":{"411":{"position":[[5428,7]]}},"keywords":{}}],["exclam",{"_index":6217,"title":{},"content":{"1208":{"position":[[1483,11]]}},"keywords":{}}],["exclud",{"_index":4646,"title":{},"content":{"796":{"position":[[1288,7]]},"1266":{"position":[[760,8]]}},"keywords":{}}],["exclus",{"_index":3581,"title":{},"content":{"612":{"position":[[134,11]]}},"keywords":{}}],["exec",{"_index":805,"title":{"1057":{"position":[[0,7]]}},"content":{"52":{"position":[[440,10],[526,10],[673,10]]},"276":{"position":[[464,10]]},"398":{"position":[[1175,10],[1336,9],[2505,10]]},"539":{"position":[[440,10],[526,10],[673,10]]},"599":{"position":[[467,10],[553,10],[704,10]]},"662":{"position":[[2736,10]]},"710":{"position":[[2043,10]]},"772":{"position":[[1063,10]]},"799":{"position":[[603,12]]},"838":{"position":[[2950,10]]},"949":{"position":[[184,8]]},"1022":{"position":[[1073,10]]},"1067":{"position":[[2024,10]]},"1158":{"position":[[733,10]]}},"keywords":{}}],["exec().then(doc",{"_index":5358,"title":{},"content":{"950":{"position":[[305,18],[443,16]]}},"keywords":{}}],["exec().then(docu",{"_index":5764,"title":{},"content":{"1065":{"position":[[267,22],[846,22],[1135,22],[1357,22],[1474,22]]}},"keywords":{}}],["exec(tru",{"_index":3357,"title":{},"content":{"555":{"position":[[534,14]]},"556":{"position":[[876,14]]},"1057":{"position":[[243,11],[493,12]]}},"keywords":{}}],["execut",{"_index":1049,"title":{},"content":{"108":{"position":[[168,9]]},"138":{"position":[[152,10]]},"166":{"position":[[168,10]]},"173":{"position":[[2557,8]]},"174":{"position":[[1700,10]]},"220":{"position":[[159,8]]},"254":{"position":[[53,7]]},"283":{"position":[[132,10]]},"408":{"position":[[3565,9]]},"454":{"position":[[75,9]]},"479":{"position":[[481,9]]},"723":{"position":[[504,7],[703,8]]},"801":{"position":[[171,8]]},"802":{"position":[[288,7],[529,9]]},"816":{"position":[[331,8]]},"829":{"position":[[2674,8],[2760,9]]},"898":{"position":[[1333,7]]},"949":{"position":[[196,7]]},"1072":{"position":[[1344,7]]},"1316":{"position":[[1753,7]]}},"keywords":{}}],["exhibit",{"_index":1758,"title":{},"content":{"299":{"position":[[1063,7]]}},"keywords":{}}],["exist",{"_index":1169,"title":{"857":{"position":[[38,8]]}},"content":{"155":{"position":[[150,8]]},"230":{"position":[[205,8]]},"249":{"position":[[147,8]]},"260":{"position":[[62,8],[149,6]]},"266":{"position":[[770,6]]},"354":{"position":[[975,8]]},"361":{"position":[[71,6]]},"396":{"position":[[17,5]]},"402":{"position":[[1976,5]]},"411":{"position":[[3482,8]]},"412":{"position":[[1426,8],[1916,8],[2546,8]]},"445":{"position":[[1855,8]]},"458":{"position":[[249,5]]},"481":{"position":[[236,5]]},"535":{"position":[[1202,6]]},"616":{"position":[[282,8]]},"632":{"position":[[872,8]]},"653":{"position":[[615,8]]},"683":{"position":[[630,9],[663,7],[806,5],[826,8],[884,6],[963,7]]},"686":{"position":[[474,8]]},"698":{"position":[[2335,8]]},"719":{"position":[[111,8]]},"749":{"position":[[5038,7],[5635,7],[6758,8],[9293,5],[9866,7],[9980,7],[10832,5],[14314,6],[22072,6]]},"754":{"position":[[485,8]]},"759":{"position":[[1037,5]]},"774":{"position":[[1036,6]]},"806":{"position":[[234,8]]},"848":{"position":[[362,6]]},"857":{"position":[[184,8]]},"875":{"position":[[7164,5]]},"885":{"position":[[32,5]]},"887":{"position":[[22,8],[499,8]]},"898":{"position":[[854,6]]},"919":{"position":[[78,6]]},"939":{"position":[[11,8]]},"943":{"position":[[148,6],[231,8],[347,8]]},"946":{"position":[[37,5]]},"951":{"position":[[255,5]]},"958":{"position":[[586,5]]},"986":{"position":[[463,6]]},"989":{"position":[[418,5]]},"995":{"position":[[1587,6]]},"1014":{"position":[[110,7]]},"1015":{"position":[[64,7],[90,7]]},"1016":{"position":[[103,7]]},"1017":{"position":[[82,7]]},"1057":{"position":[[279,6]]},"1065":{"position":[[1010,8],[1110,8]]},"1108":{"position":[[94,5]]},"1159":{"position":[[33,6]]},"1164":{"position":[[711,8]]},"1222":{"position":[[869,8]]},"1251":{"position":[[252,5]]},"1272":{"position":[[393,8]]},"1298":{"position":[[284,7]]},"1300":{"position":[[129,6],[1097,6]]},"1304":{"position":[[1967,8]]},"1309":{"position":[[110,8]]}},"keywords":{}}],["exit",{"_index":459,"title":{},"content":{"28":{"position":[[380,6],[452,5]]},"30":{"position":[[187,6]]},"773":{"position":[[303,6]]},"1030":{"position":[[34,4]]},"1164":{"position":[[1022,5]]},"1192":{"position":[[367,6]]},"1300":{"position":[[849,6]]}},"keywords":{}}],["expand",{"_index":2125,"title":{},"content":{"369":{"position":[[579,8]]},"408":{"position":[[2204,8]]},"480":{"position":[[105,6]]},"639":{"position":[[16,6]]},"1006":{"position":[[73,6]]}},"keywords":{}}],["expect",{"_index":2301,"title":{"409":{"position":[[13,6]]}},"content":{"394":{"position":[[164,9]]},"409":{"position":[[319,6]]},"410":{"position":[[415,6],[1492,6]]},"421":{"position":[[40,8],[1031,6],[1243,12]]},"497":{"position":[[137,8]]},"590":{"position":[[741,8]]},"622":{"position":[[567,8]]},"660":{"position":[[349,6]]},"668":{"position":[[420,8]]},"689":{"position":[[365,9]]},"749":{"position":[[4145,8]]},"880":{"position":[[229,7]]},"944":{"position":[[429,6]]},"1065":{"position":[[1668,7]]},"1188":{"position":[[194,7]]},"1313":{"position":[[611,7]]}},"keywords":{}}],["expected.do",{"_index":3832,"title":{},"content":{"668":{"position":[[154,11]]}},"keywords":{}}],["expedit",{"_index":3240,"title":{},"content":{"507":{"position":[[116,8]]},"801":{"position":[[664,8]]}},"keywords":{}}],["expens",{"_index":500,"title":{},"content":{"31":{"position":[[282,9]]},"204":{"position":[[306,8]]},"262":{"position":[[217,10]]},"376":{"position":[[305,9]]},"412":{"position":[[4834,10]]},"490":{"position":[[571,9]]},"711":{"position":[[2176,9]]},"902":{"position":[[886,9]]},"1052":{"position":[[125,9]]},"1108":{"position":[[730,10]]},"1309":{"position":[[760,10]]}},"keywords":{}}],["experi",{"_index":893,"title":{"201":{"position":[[26,11]]},"410":{"position":[[5,10]]},"411":{"position":[[10,10]]},"486":{"position":[[12,10]]}},"content":{"61":{"position":[[513,10]]},"65":{"position":[[417,11],[1933,12]]},"66":{"position":[[283,10]]},"69":{"position":[[165,11]]},"77":{"position":[[155,10]]},"87":{"position":[[241,11]]},"90":{"position":[[327,11]]},"101":{"position":[[272,11]]},"109":{"position":[[255,12]]},"114":{"position":[[587,12]]},"117":{"position":[[306,11]]},"125":{"position":[[306,11]]},"136":{"position":[[355,11]]},"148":{"position":[[291,11]]},"152":{"position":[[338,10]]},"156":{"position":[[326,11]]},"160":{"position":[[234,10]]},"174":{"position":[[893,12],[2314,10]]},"175":{"position":[[595,12]]},"178":{"position":[[410,10]]},"191":{"position":[[301,11]]},"198":{"position":[[454,11]]},"205":{"position":[[423,11]]},"216":{"position":[[217,12]]},"217":{"position":[[275,11]]},"221":{"position":[[305,11]]},"263":{"position":[[449,10]]},"265":{"position":[[492,12]]},"267":{"position":[[463,11]]},"269":{"position":[[350,10]]},"277":{"position":[[230,11]]},"280":{"position":[[430,11]]},"281":{"position":[[104,11]]},"283":{"position":[[445,10]]},"292":{"position":[[432,11]]},"304":{"position":[[421,10]]},"312":{"position":[[222,11]]},"346":{"position":[[712,10]]},"375":{"position":[[951,10]]},"379":{"position":[[328,11]]},"385":{"position":[[353,11]]},"407":{"position":[[717,10]]},"408":{"position":[[2086,10],[5187,12]]},"411":{"position":[[1830,11]]},"412":{"position":[[15158,10]]},"415":{"position":[[441,10]]},"421":{"position":[[720,11],[1170,10]]},"445":{"position":[[1210,11],[1543,11],[2509,10]]},"446":{"position":[[1073,11]]},"447":{"position":[[501,11]]},"474":{"position":[[305,11]]},"483":{"position":[[836,10],[1291,11]]},"485":{"position":[[68,10]]},"491":{"position":[[954,10]]},"498":{"position":[[715,10]]},"500":{"position":[[274,10]]},"510":{"position":[[111,12],[754,11]]},"517":{"position":[[385,11]]},"519":{"position":[[282,10]]},"521":{"position":[[522,10]]},"530":{"position":[[128,11]]},"534":{"position":[[108,11]]},"582":{"position":[[748,11]]},"589":{"position":[[213,11]]},"594":{"position":[[106,11]]},"641":{"position":[[65,11]]},"643":{"position":[[346,11]]},"644":{"position":[[715,10]]},"723":{"position":[[2783,10]]},"801":{"position":[[581,11]]},"913":{"position":[[335,12]]},"1009":{"position":[[705,10]]}},"keywords":{}}],["experience.limit",{"_index":2882,"title":{},"content":{"427":{"position":[[388,18]]}},"keywords":{}}],["experiences.synchron",{"_index":1917,"title":{},"content":{"321":{"position":[[119,23]]}},"keywords":{}}],["experiment",{"_index":2572,"title":{},"content":{"408":{"position":[[5266,12]]},"411":{"position":[[5183,12]]},"458":{"position":[[892,12]]},"624":{"position":[[1139,12]]},"863":{"position":[[822,12],[929,12]]}},"keywords":{}}],["expir",{"_index":1854,"title":{},"content":{"303":{"position":[[1402,6]]}},"keywords":{}}],["explain",{"_index":6527,"title":{},"content":{"1315":{"position":[[156,8]]}},"keywords":{}}],["explicit",{"_index":1407,"title":{"1298":{"position":[[0,8]]}},"content":{"226":{"position":[[166,8]]},"304":{"position":[[13,8]]},"351":{"position":[[68,8]]},"515":{"position":[[309,8]]},"556":{"position":[[1328,8]]},"828":{"position":[[381,8]]}},"keywords":{}}],["explicitli",{"_index":1983,"title":{},"content":{"347":{"position":[[582,10]]},"362":{"position":[[1653,10]]},"451":{"position":[[814,10]]},"502":{"position":[[65,10]]},"654":{"position":[[259,10]]},"797":{"position":[[189,10],[299,10]]},"800":{"position":[[766,10]]},"966":{"position":[[798,10]]},"1298":{"position":[[4,10],[194,10]]}},"keywords":{}}],["explor",{"_index":872,"title":{"425":{"position":[[0,9]]},"504":{"position":[[0,9]]}},"content":{"59":{"position":[[36,8]]},"61":{"position":[[195,7]]},"65":{"position":[[16,8]]},"84":{"position":[[4,7]]},"114":{"position":[[4,7]]},"127":{"position":[[71,7]]},"132":{"position":[[178,7]]},"149":{"position":[[4,7]]},"173":{"position":[[211,7]]},"174":{"position":[[121,7]]},"175":{"position":[[12,7]]},"180":{"position":[[72,7]]},"187":{"position":[[57,7]]},"190":{"position":[[124,7]]},"193":{"position":[[111,7]]},"229":{"position":[[163,7]]},"241":{"position":[[12,7]]},"263":{"position":[[238,10]]},"284":{"position":[[118,7]]},"287":{"position":[[288,7]]},"306":{"position":[[218,7]]},"318":{"position":[[366,7]]},"347":{"position":[[4,7]]},"362":{"position":[[1084,7]]},"373":{"position":[[12,7]]},"432":{"position":[[100,7]]},"483":{"position":[[558,7]]},"498":{"position":[[330,7]]},"511":{"position":[[4,7]]},"531":{"position":[[4,7]]},"544":{"position":[[347,8]]},"546":{"position":[[328,8]]},"567":{"position":[[201,7]]},"591":{"position":[[4,7],[601,7]]},"602":{"position":[[11,9]]},"606":{"position":[[318,8]]},"1141":{"position":[[297,9]]},"1151":{"position":[[561,7]]},"1178":{"position":[[560,7]]},"1207":{"position":[[153,8]]},"1215":{"position":[[246,8]]}},"keywords":{}}],["expo",{"_index":294,"title":{"1278":{"position":[[11,4]]}},"content":{"17":{"position":[[342,4]]},"793":{"position":[[324,5]]},"1214":{"position":[[714,5]]},"1278":{"position":[[13,4],[84,4],[177,4],[416,5],[636,4],[868,5]]}},"keywords":{}}],["expo/react",{"_index":4147,"title":{},"content":{"749":{"position":[[1150,10]]},"917":{"position":[[394,10]]}},"keywords":{}}],["export",{"_index":158,"title":{},"content":{"11":{"position":[[511,6]]},"51":{"position":[[628,6]]},"55":{"position":[[350,6]]},"392":{"position":[[4022,6]]},"412":{"position":[[4481,6]]},"494":{"position":[[425,6]]},"559":{"position":[[780,6]]},"562":{"position":[[1575,6]]},"579":{"position":[[286,6]]},"598":{"position":[[386,6]]},"808":{"position":[[111,6],[486,6]]},"825":{"position":[[888,6]]},"829":{"position":[[1848,6]]},"837":{"position":[[1890,6]]},"898":{"position":[[2297,6],[3028,6]]},"952":{"position":[[36,6]]},"971":{"position":[[36,6]]},"1309":{"position":[[484,6]]}},"keywords":{}}],["exportjson",{"_index":5365,"title":{"952":{"position":[[0,13]]},"971":{"position":[[0,13]]}},"content":{"952":{"position":[[90,12]]},"971":{"position":[[202,12]]}},"keywords":{}}],["expos",{"_index":1124,"title":{},"content":{"140":{"position":[[6,7]]},"346":{"position":[[71,6]]},"494":{"position":[[118,7]]},"563":{"position":[[16,7]]},"708":{"position":[[310,7]]},"714":{"position":[[686,6]]},"730":{"position":[[199,8]]},"828":{"position":[[226,8]]},"831":{"position":[[169,6]]},"871":{"position":[[253,7]]},"897":{"position":[[376,7]]},"1102":{"position":[[19,7],[1084,7]]},"1207":{"position":[[537,7]]},"1214":{"position":[[500,6]]},"1228":{"position":[[225,7]]},"1231":{"position":[[830,6]]}},"keywords":{}}],["exposeipcmainrxstorag",{"_index":3924,"title":{},"content":{"693":{"position":[[325,22],[721,22],[889,24]]},"1214":{"position":[[544,24]]}},"keywords":{}}],["exposerxstorageremot",{"_index":6249,"title":{},"content":{"1218":{"position":[[703,21],[763,23]]}},"keywords":{}}],["exposeworkerrxstorag",{"_index":6237,"title":{},"content":{"1212":{"position":[[195,21],[374,21],[478,23]]},"1225":{"position":[[137,21],[277,23]]},"1228":{"position":[[177,21]]},"1231":{"position":[[450,21],[866,23]]},"1263":{"position":[[23,21],[171,23]]},"1268":{"position":[[578,21],[726,23]]}},"keywords":{}}],["express",{"_index":3592,"title":{},"content":{"612":{"position":[[1734,7],[1755,7],[1768,10],[1791,10]]},"689":{"position":[[249,7]]},"872":{"position":[[3229,9]]},"875":{"position":[[638,7],[691,7],[844,7],[857,10],[1122,10]]},"1072":{"position":[[2564,11]]},"1097":{"position":[[409,7],[489,7],[672,9]]},"1098":{"position":[[85,8]]},"1099":{"position":[[81,8],[143,8]]}},"keywords":{}}],["extend",{"_index":1747,"title":{"313":{"position":[[21,7]]}},"content":{"299":{"position":[[390,8]]},"313":{"position":[[132,6]]},"412":{"position":[[658,8]]},"419":{"position":[[1053,8]]},"433":{"position":[[389,6]]},"502":{"position":[[1153,7]]},"518":{"position":[[6,7]]},"544":{"position":[[41,6]]},"604":{"position":[[41,6]]},"806":{"position":[[260,6]]},"846":{"position":[[1464,7]]},"890":{"position":[[160,7]]}},"keywords":{}}],["extens",{"_index":947,"title":{"439":{"position":[[24,11]]}},"content":{"66":{"position":[[548,9]]},"357":{"position":[[144,10],[160,9]]},"362":{"position":[[411,10]]},"373":{"position":[[424,9]]},"411":{"position":[[1198,9]]},"439":{"position":[[15,10],[136,9],[273,9],[322,11]]},"445":{"position":[[195,10]]},"494":{"position":[[103,9]]},"802":{"position":[[271,10]]},"898":{"position":[[837,9],[880,11]]},"1266":{"position":[[860,11]]}},"keywords":{}}],["extensions.moddatetime('_modifi",{"_index":5207,"title":{},"content":{"898":{"position":[[1350,36]]}},"keywords":{}}],["extern",{"_index":1385,"title":{"1033":{"position":[[28,8]]}},"content":{"212":{"position":[[350,8]]},"723":{"position":[[560,8]]},"1156":{"position":[[46,8]]}},"keywords":{}}],["extra",{"_index":1384,"title":{"478":{"position":[[44,5]]}},"content":{"212":{"position":[[333,5]]},"251":{"position":[[137,5]]},"291":{"position":[[55,5]]},"303":{"position":[[1344,5]]},"309":{"position":[[345,5]]},"408":{"position":[[3978,5]]},"420":{"position":[[846,5]]},"421":{"position":[[1129,5]]},"559":{"position":[[920,5]]},"802":{"position":[[160,5],[323,5]]},"1150":{"position":[[648,5]]}},"keywords":{}}],["extract",{"_index":2220,"title":{},"content":{"391":{"position":[[521,12]]},"412":{"position":[[13182,10],[13291,10],[13384,10]]},"482":{"position":[[1096,10]]}},"keywords":{}}],["extractcom",{"_index":6323,"title":{},"content":{"1266":{"position":[[1055,16]]}},"keywords":{}}],["extrem",{"_index":1826,"title":{},"content":{"303":{"position":[[389,9]]},"304":{"position":[[154,9]]},"305":{"position":[[521,7]]},"411":{"position":[[5808,7]]},"412":{"position":[[14573,9]]},"1058":{"position":[[80,9]]},"1292":{"position":[[444,9]]}},"keywords":{}}],["ey",{"_index":2150,"title":{},"content":{"377":{"position":[[398,5]]}},"keywords":{}}],["eyjhbgcioi",{"_index":5216,"title":{},"content":{"898":{"position":[[3100,15]]}},"keywords":{}}],["f",{"_index":3996,"title":{},"content":{"711":{"position":[[1014,1]]}},"keywords":{}}],["f5",{"_index":2606,"title":{},"content":{"410":{"position":[[2203,2]]},"411":{"position":[[4807,2]]},"458":{"position":[[407,2]]}},"keywords":{}}],["face",{"_index":2102,"title":{"1090":{"position":[[37,6]]}},"content":{"362":{"position":[[998,6]]},"399":{"position":[[125,4]]},"481":{"position":[[558,6]]},"624":{"position":[[888,5]]}},"keywords":{}}],["facil",{"_index":2748,"title":{},"content":{"412":{"position":[[11773,12]]}},"keywords":{}}],["facilit",{"_index":987,"title":{},"content":{"82":{"position":[[30,11]]},"173":{"position":[[150,10]]},"174":{"position":[[1126,11]]},"223":{"position":[[267,10]]},"288":{"position":[[248,10]]},"289":{"position":[[936,12]]},"365":{"position":[[1317,12]]},"367":{"position":[[330,10]]},"381":{"position":[[167,12]]},"432":{"position":[[436,11]]},"459":{"position":[[167,10]]},"504":{"position":[[594,10],[929,11],[1331,12]]},"517":{"position":[[179,10]]},"525":{"position":[[440,10]]},"529":{"position":[[123,11]]},"611":{"position":[[240,12]]}},"keywords":{}}],["fact",{"_index":2610,"title":{},"content":{"411":{"position":[[823,4]]},"569":{"position":[[1149,5]]},"703":{"position":[[107,4]]}},"keywords":{}}],["factor",{"_index":2431,"title":{},"content":{"399":{"position":[[462,6]]},"407":{"position":[[865,8]]},"408":{"position":[[4294,6]]},"412":{"position":[[10568,7]]},"696":{"position":[[1028,8]]},"780":{"position":[[51,6],[186,7]]},"1090":{"position":[[173,6]]}},"keywords":{}}],["factori",{"_index":828,"title":{"825":{"position":[[20,8]]}},"content":{"55":{"position":[[97,8],[628,7]]},"144":{"position":[[40,9]]},"602":{"position":[[96,9]]},"749":{"position":[[6626,7]]},"825":{"position":[[241,8],[258,7]]},"1118":{"position":[[270,7]]}},"keywords":{}}],["fail",{"_index":1779,"title":{},"content":{"300":{"position":[[712,4]]},"302":{"position":[[230,5]]},"411":{"position":[[5592,4]]},"412":{"position":[[7425,4],[8859,5],[11838,6]]},"487":{"position":[[300,5]]},"495":{"position":[[394,6]]},"497":{"position":[[606,5]]},"749":{"position":[[12305,6]]},"944":{"position":[[389,4]]},"988":{"position":[[900,6]]},"990":{"position":[[39,5],[249,6]]},"1320":{"position":[[409,5]]}},"keywords":{}}],["fail).app",{"_index":3200,"title":{},"content":{"497":{"position":[[165,10]]}},"keywords":{}}],["failur",{"_index":1149,"title":{},"content":{"147":{"position":[[152,9]]},"497":{"position":[[314,7],[670,8]]},"944":{"position":[[444,7]]}},"keywords":{}}],["fairli",{"_index":3441,"title":{},"content":{"566":{"position":[[311,6]]}},"keywords":{}}],["fake",{"_index":6048,"title":{},"content":{"1139":{"position":[[165,4],[381,4]]},"1145":{"position":[[161,4],[370,4]]}},"keywords":{}}],["fakeidbkeyrang",{"_index":6051,"title":{},"content":{"1139":{"position":[[458,15],[646,15]]},"1145":{"position":[[447,15],[631,15]]}},"keywords":{}}],["fakeindexeddb",{"_index":6049,"title":{},"content":{"1139":{"position":[[409,13],[618,14]]},"1145":{"position":[[398,13],[603,14]]}},"keywords":{}}],["fall",{"_index":1688,"title":{},"content":{"291":{"position":[[203,5]]},"396":{"position":[[182,4]]}},"keywords":{}}],["fallback",{"_index":494,"title":{},"content":{"30":{"position":[[333,9]]},"302":{"position":[[583,8]]},"415":{"position":[[379,8]]},"611":{"position":[[1388,9]]},"623":{"position":[[585,8]]},"624":{"position":[[1523,8]]},"1176":{"position":[[362,9]]}},"keywords":{}}],["fallen",{"_index":2910,"title":{},"content":{"434":{"position":[[66,6]]}},"keywords":{}}],["fals",{"_index":1257,"title":{"1230":{"position":[[19,6]]}},"content":{"188":{"position":[[1164,5]]},"276":{"position":[[454,5]]},"314":{"position":[[565,5]]},"480":{"position":[[749,5]]},"522":{"position":[[704,6]]},"562":{"position":[[254,5]]},"647":{"position":[[181,6],[228,6]]},"649":{"position":[[122,6],[455,5]]},"683":{"position":[[835,5]]},"746":{"position":[[568,6]]},"752":{"position":[[448,6],[709,6]]},"759":{"position":[[446,5],[771,6],[842,5]]},"760":{"position":[[767,6]]},"767":{"position":[[424,7],[606,7],[715,7],[807,7],[1015,7]]},"768":{"position":[[406,7],[608,7],[725,7],[813,7],[1017,7]]},"769":{"position":[[359,7],[565,7],[686,7],[778,7],[986,7]]},"838":{"position":[[2350,6],[2378,5]]},"846":{"position":[[353,5]]},"857":{"position":[[147,5],[397,6]]},"885":{"position":[[2110,6],[2293,6]]},"886":{"position":[[4267,6]]},"898":{"position":[[1121,5]]},"904":{"position":[[1019,5],[1220,6]]},"905":{"position":[[191,5]]},"907":{"position":[[232,5]]},"957":{"position":[[74,5]]},"960":{"position":[[599,6]]},"964":{"position":[[384,5]]},"978":{"position":[[72,5]]},"986":{"position":[[1150,5]]},"988":{"position":[[692,5],[1364,6],[1493,6],[5447,6],[5807,6]]},"989":{"position":[[162,5],[312,5]]},"993":{"position":[[525,5],[664,5]]},"1049":{"position":[[191,5]]},"1050":{"position":[[85,5]]},"1051":{"position":[[567,6]]},"1053":{"position":[[72,5]]},"1063":{"position":[[312,5]]},"1065":{"position":[[1119,5]]},"1070":{"position":[[69,5]]},"1084":{"position":[[415,6]]},"1085":{"position":[[1664,5],[1733,5]]},"1106":{"position":[[499,5],[613,6]]},"1126":{"position":[[108,5],[787,5],[924,5]]},"1130":{"position":[[391,5]]},"1158":{"position":[[723,5]]},"1174":{"position":[[762,5]]},"1176":{"position":[[378,5],[591,5]]},"1177":{"position":[[414,6]]},"1230":{"position":[[123,5]]},"1266":{"position":[[1042,6],[1072,6]]},"1277":{"position":[[434,6],[471,5]]},"1278":{"position":[[511,6],[963,6]]},"1282":{"position":[[1080,5],[1232,5]]},"1294":{"position":[[996,6],[1121,6],[1439,5]]},"1296":{"position":[[1415,5],[1580,5]]},"1311":{"position":[[1384,5]]},"1316":{"position":[[905,5]]}},"keywords":{}}],["famili",{"_index":4688,"title":{},"content":{"812":{"position":[[143,7]]}},"keywords":{}}],["familiar",{"_index":1014,"title":{},"content":{"94":{"position":[[235,8]]},"269":{"position":[[417,11]]},"387":{"position":[[69,8]]}},"keywords":{}}],["familynam",{"_index":5837,"title":{},"content":{"1080":{"position":[[417,11]]}},"keywords":{}}],["faq",{"_index":3769,"title":{"656":{"position":[[0,4]]},"958":{"position":[[0,4]]},"1010":{"position":[[0,4]]},"1072":{"position":[[0,4]]},"1085":{"position":[[0,4]]},"1112":{"position":[[0,4]]},"1233":{"position":[[0,4]]}},"content":{},"keywords":{}}],["far",{"_index":1323,"title":{},"content":{"205":{"position":[[75,3]]},"207":{"position":[[346,3]]},"299":{"position":[[1650,3]]},"408":{"position":[[3125,3]]},"634":{"position":[[594,3]]},"903":{"position":[[680,3]]}},"keywords":{}}],["farm",{"_index":2839,"title":{},"content":{"420":{"position":[[1242,7],[1300,4]]}},"keywords":{}}],["fast",{"_index":1030,"title":{},"content":{"101":{"position":[[171,4]]},"189":{"position":[[221,4]]},"227":{"position":[[357,5]]},"254":{"position":[[485,4]]},"287":{"position":[[417,4]]},"289":{"position":[[1519,4]]},"305":{"position":[[579,4]]},"336":{"position":[[140,4]]},"354":{"position":[[1599,4]]},"365":{"position":[[267,4]]},"369":{"position":[[266,4]]},"375":{"position":[[970,4]]},"388":{"position":[[339,5]]},"396":{"position":[[615,4],[1701,5]]},"400":{"position":[[605,4],[653,4]]},"408":{"position":[[1718,5]]},"411":{"position":[[5489,5]]},"412":{"position":[[9715,5],[10268,4]]},"429":{"position":[[92,4]]},"459":{"position":[[178,4]]},"460":{"position":[[166,4],[1107,4]]},"463":{"position":[[181,5]]},"465":{"position":[[359,4]]},"467":{"position":[[340,4],[413,5]]},"468":{"position":[[24,4],[450,4]]},"500":{"position":[[534,4]]},"622":{"position":[[158,4]]},"703":{"position":[[1171,4],[1227,4]]},"723":{"position":[[1877,4]]},"773":{"position":[[194,4]]},"800":{"position":[[279,4]]},"838":{"position":[[3118,5]]},"839":{"position":[[227,5]]},"841":{"position":[[1034,4],[1049,4]]},"1065":{"position":[[23,4]]},"1071":{"position":[[326,4]]},"1132":{"position":[[219,4]]},"1156":{"position":[[209,4]]},"1167":{"position":[[8,5]]},"1192":{"position":[[398,4]]},"1238":{"position":[[128,5]]},"1241":{"position":[[97,4]]},"1292":{"position":[[454,4]]},"1294":{"position":[[364,4]]},"1300":{"position":[[329,4]]},"1316":{"position":[[3587,4]]},"1321":{"position":[[157,4]]}},"keywords":{}}],["fast.wasm",{"_index":3076,"title":{},"content":{"466":{"position":[[375,9]]}},"keywords":{}}],["faster",{"_index":103,"title":{"93":{"position":[[0,6]]}},"content":{"8":{"position":[[55,6]]},"65":{"position":[[742,6],[925,6],[1266,6]]},"87":{"position":[[216,6]]},"92":{"position":[[188,6]]},"93":{"position":[[194,6]]},"138":{"position":[[120,6]]},"166":{"position":[[155,6]]},"173":{"position":[[821,6]]},"205":{"position":[[155,6]]},"216":{"position":[[185,6]]},"220":{"position":[[198,6]]},"227":{"position":[[301,6]]},"236":{"position":[[212,6]]},"265":{"position":[[121,6],[236,6]]},"291":{"position":[[505,6]]},"398":{"position":[[416,6]]},"400":{"position":[[722,6]]},"402":{"position":[[390,6],[453,6],[1272,6],[1708,6],[1876,7]]},"404":{"position":[[235,7],[426,6]]},"408":{"position":[[5097,6]]},"420":{"position":[[1333,7]]},"444":{"position":[[544,6]]},"453":{"position":[[351,7]]},"454":{"position":[[407,6]]},"463":{"position":[[1384,6]]},"464":{"position":[[1144,6]]},"466":{"position":[[341,6],[523,6]]},"468":{"position":[[308,6]]},"470":{"position":[[123,6]]},"473":{"position":[[171,7]]},"538":{"position":[[129,6]]},"556":{"position":[[1166,6]]},"574":{"position":[[472,6]]},"581":{"position":[[301,6]]},"598":{"position":[[129,6]]},"662":{"position":[[799,6]]},"717":{"position":[[246,6],[308,6]]},"718":{"position":[[69,6]]},"772":{"position":[[1210,6]]},"780":{"position":[[612,6]]},"784":{"position":[[859,7]]},"798":{"position":[[188,7]]},"802":{"position":[[778,6]]},"844":{"position":[[1,6]]},"944":{"position":[[79,6]]},"981":{"position":[[880,6],[978,7],[1041,6]]},"1119":{"position":[[5,6]]},"1132":{"position":[[1208,7]]},"1137":{"position":[[197,6]]},"1143":{"position":[[149,6],[565,6]]},"1151":{"position":[[204,6]]},"1164":{"position":[[376,6]]},"1170":{"position":[[17,6],[78,6]]},"1178":{"position":[[203,6]]},"1206":{"position":[[479,6]]},"1209":{"position":[[98,6],[210,6],[291,7],[442,6]]},"1213":{"position":[[196,6]]},"1235":{"position":[[217,6]]},"1286":{"position":[[104,7]]},"1294":{"position":[[123,6]]},"1295":{"position":[[961,6],[1151,6]]},"1299":{"position":[[249,7]]},"1315":{"position":[[790,6]]}},"keywords":{}}],["faster.offlin",{"_index":5432,"title":{},"content":{"981":{"position":[[1176,14]]}},"keywords":{}}],["fastest",{"_index":6044,"title":{},"content":{"1137":{"position":[[163,7]]}},"keywords":{}}],["fastifi",{"_index":5923,"title":{"1098":{"position":[[20,8]]}},"content":{"1098":{"position":[[66,7],[94,7],[308,9]]}},"keywords":{}}],["fault",{"_index":6290,"title":{},"content":{"1247":{"position":[[701,5]]}},"keywords":{}}],["favor",{"_index":2911,"title":{},"content":{"434":{"position":[[80,5]]}},"keywords":{}}],["fe",{"_index":5766,"title":{},"content":{"1065":{"position":[[391,3]]}},"keywords":{}}],["feasibl",{"_index":2525,"title":{},"content":{"408":{"position":[[250,8],[1831,8]]},"412":{"position":[[6790,8]]},"1009":{"position":[[897,9]]}},"keywords":{}}],["featur",{"_index":202,"title":{"57":{"position":[[14,9]]},"137":{"position":[[14,8]]},"166":{"position":[[14,8]]},"193":{"position":[[14,8]]},"252":{"position":[[22,9]]},"323":{"position":[[4,9]]},"341":{"position":[[14,8]]},"361":{"position":[[14,8]]},"387":{"position":[[19,9]]},"456":{"position":[[0,7]]},"505":{"position":[[14,8]]},"526":{"position":[[14,8]]},"544":{"position":[[14,9]]},"583":{"position":[[14,8]]},"604":{"position":[[14,9]]},"637":{"position":[[9,9]]},"870":{"position":[[4,9]]},"896":{"position":[[4,8]]},"1132":{"position":[[0,8]]}},"content":{"14":{"position":[[106,8]]},"22":{"position":[[152,9],[354,7]]},"23":{"position":[[117,8]]},"26":{"position":[[84,9]]},"29":{"position":[[55,9],[227,8]]},"30":{"position":[[272,8]]},"33":{"position":[[222,8],[622,8]]},"34":{"position":[[483,7],[663,8]]},"37":{"position":[[261,8]]},"40":{"position":[[497,9]]},"47":{"position":[[1048,8],[1162,9]]},"61":{"position":[[333,9]]},"65":{"position":[[579,7]]},"71":{"position":[[75,8]]},"83":{"position":[[39,7]]},"90":{"position":[[249,8]]},"106":{"position":[[87,7]]},"109":{"position":[[159,7]]},"114":{"position":[[621,8]]},"116":{"position":[[238,8]]},"118":{"position":[[112,8],[319,8]]},"119":{"position":[[71,9]]},"120":{"position":[[276,8]]},"122":{"position":[[21,8]]},"127":{"position":[[55,9]]},"136":{"position":[[316,8]]},"137":{"position":[[30,8]]},"148":{"position":[[427,8]]},"155":{"position":[[239,8]]},"156":{"position":[[21,8]]},"158":{"position":[[269,8]]},"160":{"position":[[112,7]]},"161":{"position":[[269,9]]},"168":{"position":[[327,9]]},"169":{"position":[[216,7]]},"170":{"position":[[380,8]]},"173":{"position":[[1079,8]]},"174":{"position":[[1935,7]]},"175":{"position":[[615,8]]},"179":{"position":[[187,8]]},"180":{"position":[[89,8]]},"185":{"position":[[135,7]]},"186":{"position":[[377,7]]},"187":{"position":[[33,8]]},"193":{"position":[[33,8],[134,9]]},"197":{"position":[[99,7]]},"198":{"position":[[222,7],[348,8]]},"215":{"position":[[274,7]]},"236":{"position":[[308,7]]},"237":{"position":[[127,7]]},"241":{"position":[[628,8]]},"271":{"position":[[171,8],[270,8]]},"275":{"position":[[24,8]]},"280":{"position":[[21,8]]},"286":{"position":[[273,8]]},"292":{"position":[[255,8]]},"295":{"position":[[29,9],[309,8]]},"311":{"position":[[106,7]]},"313":{"position":[[216,8]]},"316":{"position":[[66,8]]},"317":{"position":[[109,8]]},"347":{"position":[[593,9]]},"357":{"position":[[91,8]]},"362":{"position":[[1005,8],[1664,9]]},"366":{"position":[[100,7]]},"370":{"position":[[259,8]]},"373":{"position":[[639,7]]},"375":{"position":[[399,7]]},"381":{"position":[[12,7]]},"383":{"position":[[576,9]]},"386":{"position":[[337,7]]},"408":{"position":[[5040,8]]},"409":{"position":[[228,9]]},"411":{"position":[[3795,9]]},"412":{"position":[[1244,8]]},"419":{"position":[[435,8]]},"420":{"position":[[1153,9]]},"421":{"position":[[250,8]]},"424":{"position":[[36,7]]},"432":{"position":[[573,7],[846,7],[1107,8]]},"441":{"position":[[452,8]]},"445":{"position":[[956,8]]},"450":{"position":[[609,7]]},"452":{"position":[[770,8]]},"456":{"position":[[78,8]]},"458":{"position":[[777,7]]},"462":{"position":[[29,8]]},"480":{"position":[[1081,8]]},"481":{"position":[[565,9]]},"483":{"position":[[605,8]]},"502":{"position":[[1282,7]]},"506":{"position":[[129,7]]},"508":{"position":[[41,7]]},"510":{"position":[[230,8]]},"513":{"position":[[254,8]]},"515":{"position":[[24,8]]},"518":{"position":[[165,7]]},"520":{"position":[[310,9]]},"526":{"position":[[204,7]]},"529":{"position":[[204,8]]},"530":{"position":[[336,9]]},"535":{"position":[[1055,9],[1065,8]]},"536":{"position":[[113,8]]},"544":{"position":[[27,8]]},"548":{"position":[[413,9]]},"567":{"position":[[585,8]]},"571":{"position":[[610,8]]},"574":{"position":[[739,8]]},"576":{"position":[[250,8]]},"595":{"position":[[1132,9],[1142,8]]},"596":{"position":[[111,8]]},"604":{"position":[[27,8]]},"608":{"position":[[411,9]]},"639":{"position":[[109,7]]},"659":{"position":[[853,8]]},"661":{"position":[[1382,8],[1601,8]]},"667":{"position":[[41,8]]},"668":{"position":[[58,7]]},"686":{"position":[[883,8]]},"710":{"position":[[69,8],[285,8]]},"711":{"position":[[1879,8]]},"723":{"position":[[1851,7]]},"772":{"position":[[353,8]]},"793":{"position":[[987,8]]},"835":{"position":[[952,8]]},"836":{"position":[[1967,9],[2313,8],[2474,7]]},"837":{"position":[[111,7]]},"838":{"position":[[3301,8]]},"839":{"position":[[509,9],[656,9],[771,8],[1123,8]]},"840":{"position":[[171,8],[228,7]]},"856":{"position":[[48,7]]},"860":{"position":[[671,8]]},"913":{"position":[[94,8]]},"1021":{"position":[[56,8]]},"1072":{"position":[[1985,8]]},"1123":{"position":[[570,8]]},"1132":{"position":[[930,7]]},"1135":{"position":[[377,8]]},"1147":{"position":[[63,7]]},"1150":{"position":[[19,7]]},"1198":{"position":[[224,8],[1896,8]]},"1206":{"position":[[654,9]]},"1214":{"position":[[831,8]]},"1280":{"position":[[136,8]]},"1284":{"position":[[271,8]]}},"keywords":{}}],["feature.rich",{"_index":2173,"title":{},"content":{"387":{"position":[[213,12]]}},"keywords":{}}],["features.custom",{"_index":6083,"title":{},"content":{"1149":{"position":[[339,15]]}},"keywords":{}}],["features.rxdb",{"_index":1432,"title":{},"content":{"241":{"position":[[223,13]]},"373":{"position":[[223,13]]}},"keywords":{}}],["features.typescript",{"_index":3297,"title":{},"content":{"535":{"position":[[537,19]]}},"keywords":{}}],["features—lik",{"_index":3149,"title":{},"content":{"483":{"position":[[1025,13]]}},"keywords":{}}],["features—y",{"_index":3412,"title":{},"content":{"559":{"position":[[1677,12]]}},"keywords":{}}],["feature—without",{"_index":1996,"title":{},"content":{"351":{"position":[[310,15]]}},"keywords":{}}],["feed",{"_index":2625,"title":{"476":{"position":[[18,6]]}},"content":{"411":{"position":[[3196,4]]},"421":{"position":[[275,6]]},"497":{"position":[[59,6]]},"612":{"position":[[242,6]]},"624":{"position":[[562,6]]},"841":{"position":[[545,4]]}},"keywords":{}}],["feedback",{"_index":2588,"title":{},"content":{"410":{"position":[[432,9]]},"474":{"position":[[181,9]]},"483":{"position":[[907,9]]},"495":{"position":[[454,8]]},"497":{"position":[[469,8]]},"571":{"position":[[1449,8]]},"873":{"position":[[205,8]]},"899":{"position":[[412,9]]},"1009":{"position":[[696,8]]}},"keywords":{}}],["feedback.data",{"_index":2140,"title":{},"content":{"375":{"position":[[533,13]]}},"keywords":{}}],["feel",{"_index":2624,"title":{},"content":{"411":{"position":[[3099,4]]},"415":{"position":[[126,5]]},"420":{"position":[[716,4]]},"421":{"position":[[381,4],[875,4]]},"489":{"position":[[518,4]]},"491":{"position":[[990,4]]},"495":{"position":[[22,4]]}},"keywords":{}}],["fetch",{"_index":520,"title":{},"content":{"33":{"position":[[448,8]]},"65":{"position":[[341,5]]},"93":{"position":[[107,7]]},"173":{"position":[[1725,8]]},"209":{"position":[[1039,5],[1103,6]]},"217":{"position":[[147,5]]},"255":{"position":[[101,5],[1374,5]]},"369":{"position":[[348,8]]},"394":{"position":[[318,8],[1496,5]]},"395":{"position":[[96,8]]},"398":{"position":[[586,5],[2964,7]]},"400":{"position":[[741,8]]},"402":{"position":[[694,5],[1117,8],[1423,8],[1550,5]]},"410":{"position":[[2209,5]]},"412":{"position":[[2618,8]]},"414":{"position":[[401,5]]},"421":{"position":[[652,8]]},"452":{"position":[[588,8]]},"459":{"position":[[470,5]]},"481":{"position":[[736,5]]},"491":{"position":[[354,7]]},"515":{"position":[[141,8]]},"534":{"position":[[399,7]]},"556":{"position":[[165,5],[1337,8]]},"566":{"position":[[448,5]]},"571":{"position":[[709,5]]},"594":{"position":[[397,7]]},"698":{"position":[[1271,5]]},"711":{"position":[[1699,5]]},"778":{"position":[[59,9]]},"784":{"position":[[217,5]]},"785":{"position":[[710,5]]},"800":{"position":[[678,5]]},"837":{"position":[[760,5]]},"846":{"position":[[434,7],[611,6],[679,7]]},"848":{"position":[[134,7],[553,5],[600,6],[814,5],[838,6],[957,5],[1130,5],[1449,5],[1473,6]]},"851":{"position":[[328,6]]},"852":{"position":[[37,5],[70,5],[98,5],[144,7],[311,6]]},"854":{"position":[[1317,5]]},"875":{"position":[[1402,5],[3028,7],[3334,6],[6972,5]]},"890":{"position":[[400,5],[891,5]]},"898":{"position":[[3653,8]]},"981":{"position":[[852,7]]},"986":{"position":[[967,7],[1235,7]]},"988":{"position":[[3713,6]]},"996":{"position":[[449,5]]},"1007":{"position":[[247,5],[1523,6]]},"1008":{"position":[[251,7]]},"1024":{"position":[[18,5]]},"1067":{"position":[[698,5],[832,5],[1083,7],[1845,5]]},"1072":{"position":[[313,5],[987,8]]},"1102":{"position":[[451,5],[1128,5],[1245,5]]},"1105":{"position":[[99,5]]},"1116":{"position":[[119,5],[195,8]]},"1117":{"position":[[12,8]]},"1134":{"position":[[621,7]]},"1191":{"position":[[243,5]]},"1194":{"position":[[447,5],[721,5],[815,5],[898,8]]},"1239":{"position":[[145,5],[265,8]]},"1271":{"position":[[444,7]]},"1296":{"position":[[76,8]]}},"keywords":{}}],["fetch('./files/items.json",{"_index":2233,"title":{},"content":{"392":{"position":[[994,28]]}},"keywords":{}}],["fetch('http://example.com/pol",{"_index":3554,"title":{},"content":{"610":{"position":[[926,32]]}},"keywords":{}}],["fetch('http://example.com/pul",{"_index":5541,"title":{},"content":{"1002":{"position":[[1021,30]]}},"keywords":{}}],["fetch('http://localhost:80",{"_index":5936,"title":{},"content":{"1102":{"position":[[479,28]]}},"keywords":{}}],["fetch('http://myserver.com/api/countrybycoordinates/'+coordin",{"_index":4453,"title":{},"content":{"751":{"position":[[1319,70]]}},"keywords":{}}],["fetch('https://example.com/api/sync/push",{"_index":5462,"title":{},"content":{"988":{"position":[[2523,42]]}},"keywords":{}}],["fetch('https://example.com/api/temp",{"_index":4099,"title":{},"content":{"739":{"position":[[633,39]]}},"keywords":{}}],["fetch('https://example.com/doc",{"_index":5646,"title":{},"content":{"1024":{"position":[[378,32]]}},"keywords":{}}],["fetch('https://localhost/push",{"_index":5038,"title":{},"content":{"875":{"position":[[6239,31]]}},"keywords":{}}],["fetch('https://myapi.com/push",{"_index":1576,"title":{},"content":{"255":{"position":[[1159,31]]}},"keywords":{}}],["fetch('https://yourapi.com/tasks/push",{"_index":1349,"title":{},"content":{"209":{"position":[[805,39]]}},"keywords":{}}],["fetch(`/api/voxels/push?chunkid=${chunkid",{"_index":5572,"title":{},"content":{"1007":{"position":[[1681,45]]}},"keywords":{}}],["fetch(`https://myapi.com/pull?checkpoint=${json.stringify(lastcheckpoint)}&limit=${batchs",{"_index":1578,"title":{},"content":{"255":{"position":[[1422,100]]}},"keywords":{}}],["fetcheddoc",{"_index":3355,"title":{},"content":{"555":{"position":[[455,10]]}},"keywords":{}}],["fetcheddoc.patch",{"_index":3359,"title":{},"content":{"555":{"position":[[636,18]]}},"keywords":{}}],["fetchmor",{"_index":3269,"title":{},"content":{"523":{"position":[[486,10]]}},"keywords":{}}],["few",{"_index":864,"title":{},"content":{"58":{"position":[[63,3]]},"193":{"position":[[121,3]]},"303":{"position":[[108,3]]},"399":{"position":[[416,3]]},"408":{"position":[[41,3],[1472,3],[5595,3]]},"412":{"position":[[10121,3]]},"454":{"position":[[325,3]]},"463":{"position":[[796,3]]},"464":{"position":[[448,3]]},"465":{"position":[[309,3]]},"466":{"position":[[273,3]]},"467":{"position":[[268,3]]},"696":{"position":[[521,3]]},"702":{"position":[[893,3]]},"1072":{"position":[[276,3]]}},"keywords":{}}],["fewer",{"_index":627,"title":{"478":{"position":[[24,5]]}},"content":{"39":{"position":[[531,5]]},"396":{"position":[[711,6]]},"420":{"position":[[249,5]]},"487":{"position":[[1,5]]},"802":{"position":[[11,5]]}},"keywords":{}}],["fiber",{"_index":2547,"title":{},"content":{"408":{"position":[[2422,6]]}},"keywords":{}}],["fiddl",{"_index":518,"title":{},"content":{"33":{"position":[[389,8]]}},"keywords":{}}],["field",{"_index":737,"title":{"75":{"position":[[20,7]]},"106":{"position":[[20,7]]},"235":{"position":[[20,7]]},"691":{"position":[[27,6]]},"798":{"position":[[32,7]]},"887":{"position":[[43,7]]},"1108":{"position":[[12,7]]},"1109":{"position":[[9,7]]}},"content":{"47":{"position":[[851,6]]},"75":{"position":[[56,7]]},"106":{"position":[[43,7]]},"138":{"position":[[77,6]]},"166":{"position":[[236,7]]},"174":{"position":[[975,7],[1028,6]]},"194":{"position":[[92,7],[153,7]]},"235":{"position":[[35,7],[140,7],[199,6]]},"303":{"position":[[344,5]]},"310":{"position":[[136,6]]},"315":{"position":[[848,6],[1024,6]]},"316":{"position":[[436,5]]},"342":{"position":[[38,6]]},"345":{"position":[[44,5]]},"351":{"position":[[120,6],[269,5]]},"356":{"position":[[306,7],[673,8],[844,6]]},"357":{"position":[[215,7]]},"360":{"position":[[870,7]]},"361":{"position":[[64,6],[270,5],[369,5]]},"362":{"position":[[385,7],[524,6]]},"366":{"position":[[575,6]]},"380":{"position":[[342,5]]},"382":{"position":[[186,6]]},"390":{"position":[[367,7]]},"392":{"position":[[494,5],[1441,6]]},"395":{"position":[[207,6]]},"397":{"position":[[457,7],[886,6],[1346,7],[1610,7],[2031,6]]},"412":{"position":[[11086,7]]},"418":{"position":[[145,5]]},"461":{"position":[[394,6]]},"480":{"position":[[1048,7]]},"482":{"position":[[114,6],[1000,5],[1227,7]]},"496":{"position":[[315,6]]},"527":{"position":[[131,7]]},"555":{"position":[[58,6],[442,6],[752,6],[786,6],[921,6],[1010,7]]},"556":{"position":[[1282,7]]},"564":{"position":[[929,5],[994,6]]},"566":{"position":[[1365,5]]},"567":{"position":[[656,6]]},"571":{"position":[[1301,7]]},"587":{"position":[[44,7]]},"588":{"position":[[28,5]]},"612":{"position":[[1633,6]]},"635":{"position":[[369,7]]},"636":{"position":[[30,7],[46,5]]},"638":{"position":[[183,7],[799,6],[836,6]]},"639":{"position":[[134,5]]},"661":{"position":[[1555,7]]},"662":{"position":[[195,5]]},"678":{"position":[[278,5],[331,5]]},"680":{"position":[[92,5],[1004,5],[1094,6]]},"681":{"position":[[261,5]]},"685":{"position":[[48,5],[85,7]]},"688":{"position":[[640,7]]},"691":{"position":[[47,6]]},"701":{"position":[[929,6]]},"702":{"position":[[105,6]]},"710":{"position":[[230,6]]},"711":{"position":[[2014,6]]},"714":{"position":[[483,7],[501,6],[636,5],[850,7]]},"717":{"position":[[1314,5],[1376,6]]},"723":{"position":[[239,5]]},"724":{"position":[[948,6]]},"749":{"position":[[845,6],[1808,5],[2489,5],[3682,6],[4465,6],[9562,6],[9747,6],[9874,5],[9988,5],[10388,6],[13908,6],[16969,6],[17553,6],[19143,6],[19389,5],[19600,6],[19906,5],[20127,6],[20284,6],[20452,5],[20551,6],[20718,6],[21033,6],[21211,6],[21495,6],[23028,6]]},"751":{"position":[[1189,5]]},"754":{"position":[[610,5]]},"764":{"position":[[74,5],[225,6]]},"781":{"position":[[800,6]]},"796":{"position":[[406,6],[702,6],[737,6],[1059,6],[1122,6],[1198,5]]},"798":{"position":[[18,6],[158,6],[403,6]]},"800":{"position":[[570,6]]},"808":{"position":[[65,5]]},"810":{"position":[[81,5]]},"821":{"position":[[737,6]]},"826":{"position":[[158,6],[416,5],[1091,5]]},"836":{"position":[[1432,7]]},"838":{"position":[[224,5],[859,5]]},"848":{"position":[[169,6]]},"849":{"position":[[489,5]]},"854":{"position":[[1396,5]]},"855":{"position":[[198,5]]},"857":{"position":[[138,5],[532,6]]},"861":{"position":[[1328,6],[1841,5],[2033,5]]},"862":{"position":[[1326,5]]},"867":{"position":[[193,5]]},"875":{"position":[[2298,5],[2327,5]]},"887":{"position":[[508,5]]},"898":{"position":[[270,5],[371,5],[1736,6],[3558,5],[4306,6]]},"942":{"position":[[133,7]]},"963":{"position":[[40,6]]},"971":{"position":[[169,6]]},"984":{"position":[[174,6],[439,6]]},"986":{"position":[[385,5],[563,5],[1401,5],[1461,5],[1583,5]]},"988":{"position":[[1677,6],[1933,5],[2003,5],[3154,6]]},"990":{"position":[[568,5],[596,5],[832,5],[914,5]]},"991":{"position":[[168,6]]},"1007":{"position":[[127,6]]},"1018":{"position":[[423,6]]},"1038":{"position":[[24,5],[54,5]]},"1048":{"position":[[386,6]]},"1051":{"position":[[364,6]]},"1069":{"position":[[360,6]]},"1072":{"position":[[30,6],[280,7],[357,6],[481,7],[2149,5],[2240,5],[2404,5]]},"1074":{"position":[[271,5],[324,5],[375,5],[420,5]]},"1076":{"position":[[13,5]]},"1077":{"position":[[16,5]]},"1078":{"position":[[331,6],[383,7],[461,6]]},"1079":{"position":[[116,5],[193,6],[228,5],[398,6]]},"1080":{"position":[[296,6],[486,6],[761,6],[901,5],[989,6]]},"1082":{"position":[[52,7],[97,6]]},"1083":{"position":[[14,5],[79,6],[113,6],[194,6]]},"1084":{"position":[[594,6]]},"1085":{"position":[[357,5],[653,5],[868,6],[937,6],[1116,7],[1797,6],[2428,7]]},"1104":{"position":[[404,5],[516,5],[800,5]]},"1106":{"position":[[202,6]]},"1107":{"position":[[45,5],[410,5],[496,5]]},"1108":{"position":[[79,6],[161,6],[481,5],[613,6]]},"1109":{"position":[[15,6],[126,6]]},"1116":{"position":[[270,5]]},"1176":{"position":[[514,5]]},"1184":{"position":[[62,7]]},"1251":{"position":[[242,6]]},"1253":{"position":[[157,7]]},"1290":{"position":[[166,6]]},"1291":{"position":[[164,6]]},"1294":{"position":[[517,6],[627,5]]},"1296":{"position":[[454,6],[583,5],[692,5],[789,6]]}},"keywords":{}}],["fielda",{"_index":4648,"title":{},"content":{"797":{"position":[[333,9]]}},"keywords":{}}],["fieldb",{"_index":4649,"title":{},"content":{"797":{"position":[[343,8]]}},"keywords":{}}],["fieldnam",{"_index":4222,"title":{},"content":{"749":{"position":[[6854,9],[8579,9],[16836,10],[17044,9],[17167,9],[18342,9],[19040,9]]},"811":{"position":[[123,10]]},"988":{"position":[[1803,9],[1838,9]]},"1077":{"position":[[35,9]]},"1084":{"position":[[152,11],[303,10]]}},"keywords":{}}],["fields.cross",{"_index":3299,"title":{},"content":{"535":{"position":[[853,12]]}},"keywords":{}}],["fieldsasynchron",{"_index":3419,"title":{},"content":{"560":{"position":[[494,18]]}},"keywords":{}}],["fieldsreact",{"_index":3143,"title":{},"content":{"483":{"position":[[307,14]]}},"keywords":{}}],["fifoo",{"_index":5767,"title":{},"content":{"1065":{"position":[[416,7]]}},"keywords":{}}],["fifoofa",{"_index":5769,"title":{},"content":{"1065":{"position":[[438,9]]}},"keywords":{}}],["file",{"_index":98,"title":{"358":{"position":[[42,4]]},"433":{"position":[[0,4]]},"1205":{"position":[[15,4]]},"1215":{"position":[[19,4],[61,4]]}},"content":{"7":{"position":[[202,6]]},"30":{"position":[[85,4]]},"34":{"position":[[219,5],[343,4]]},"59":{"position":[[61,4]]},"131":{"position":[[418,4],[533,4]]},"162":{"position":[[403,4],[421,4]]},"188":{"position":[[464,4],[1687,5],[1813,5],[1852,4],[2527,5]]},"228":{"position":[[389,4]]},"287":{"position":[[705,4]]},"336":{"position":[[263,4]]},"358":{"position":[[62,5],[299,5],[516,5],[697,5],[749,4]]},"362":{"position":[[604,4]]},"390":{"position":[[958,6]]},"408":{"position":[[1547,4],[1579,4],[1623,4],[1684,4],[1922,5],[2101,4]]},"427":{"position":[[1304,4]]},"433":{"position":[[39,5]]},"453":{"position":[[20,4],[107,5],[240,4],[707,5]]},"454":{"position":[[993,4]]},"459":{"position":[[67,5]]},"460":{"position":[[594,4]]},"463":{"position":[[420,4],[483,4],[515,4],[1036,4]]},"464":{"position":[[829,5],[1022,4],[1082,5],[1151,4],[1379,4]]},"467":{"position":[[294,5]]},"469":{"position":[[291,4],[390,4]]},"482":{"position":[[1088,4]]},"524":{"position":[[423,4],[818,4]]},"546":{"position":[[116,4]]},"551":{"position":[[531,5]]},"556":{"position":[[578,5],[598,6],[722,5]]},"579":{"position":[[73,4]]},"581":{"position":[[269,4]]},"590":{"position":[[157,4]]},"606":{"position":[[116,4]]},"640":{"position":[[184,4]]},"644":{"position":[[340,4]]},"649":{"position":[[84,6],[393,6]]},"661":{"position":[[1635,6]]},"667":{"position":[[191,5]]},"668":{"position":[[183,5]]},"730":{"position":[[143,5]]},"732":{"position":[[45,4]]},"772":{"position":[[82,4],[1989,4]]},"836":{"position":[[729,4]]},"841":{"position":[[146,4]]},"861":{"position":[[523,4],[540,5]]},"1033":{"position":[[445,5],[453,5],[534,5],[694,5],[767,5]]},"1134":{"position":[[469,5]]},"1206":{"position":[[20,4],[110,5],[301,4],[348,4],[456,4]]},"1207":{"position":[[48,4]]},"1208":{"position":[[103,5],[198,5],[332,5],[689,4],[883,4],[1044,5],[1141,5],[1269,4],[1518,5],[1632,4],[1710,5],[1894,4]]},"1209":{"position":[[28,4],[80,6],[245,4]]},"1210":{"position":[[142,4],[502,4]]},"1212":{"position":[[137,5],[290,4]]},"1213":{"position":[[587,4]]},"1214":{"position":[[16,4]]},"1215":{"position":[[64,4],[110,4],[135,4],[181,5],[201,4],[241,4],[291,4],[344,5],[383,4],[423,4]]},"1216":{"position":[[13,4],[49,4]]},"1225":{"position":[[34,5]]},"1226":{"position":[[458,4]]},"1227":{"position":[[59,4],[170,5],[489,4],[802,4]]},"1228":{"position":[[29,5],[104,4]]},"1229":{"position":[[179,4]]},"1244":{"position":[[36,4]]},"1264":{"position":[[361,4]]},"1265":{"position":[[52,4],[163,5],[483,4],[784,4]]},"1266":{"position":[[46,4]]},"1268":{"position":[[356,4]]},"1324":{"position":[[1037,4]]}},"keywords":{}}],["filebas",{"_index":4570,"title":{},"content":{"772":{"position":[[1168,9]]}},"keywords":{}}],["filehandl",{"_index":6202,"title":{},"content":{"1208":{"position":[[915,10]]}},"keywords":{}}],["filehandle.createsyncaccesshandl",{"_index":6205,"title":{},"content":{"1208":{"position":[[1077,36]]}},"keywords":{}}],["filenam",{"_index":4773,"title":{},"content":{"836":{"position":[[868,9]]},"1266":{"position":[[608,9]]}},"keywords":{}}],["filepicker.origin",{"_index":6240,"title":{},"content":{"1215":{"position":[[357,17]]}},"keywords":{}}],["files",{"_index":6221,"title":{},"content":{"1208":{"position":[[1722,8]]}},"keywords":{}}],["filesystem",{"_index":84,"title":{"706":{"position":[[60,10]]},"1127":{"position":[[0,10]]},"1245":{"position":[[3,10]]}},"content":{"6":{"position":[[67,11],[125,10],[222,10]]},"7":{"position":[[61,11]]},"24":{"position":[[226,10]]},"28":{"position":[[221,10]]},"188":{"position":[[2215,10]]},"365":{"position":[[982,10]]},"408":{"position":[[1941,11]]},"412":{"position":[[8503,10]]},"433":{"position":[[120,10]]},"453":{"position":[[491,10]]},"647":{"position":[[33,10]]},"662":{"position":[[587,10],[681,10]]},"703":{"position":[[92,11],[171,10],[599,10]]},"709":{"position":[[1372,10]]},"710":{"position":[[706,10],[2339,10]]},"772":{"position":[[1352,11],[1925,10]]},"793":{"position":[[262,10]]},"836":{"position":[[790,10]]},"961":{"position":[[293,10]]},"973":{"position":[[55,11]]},"1090":{"position":[[650,10]]},"1130":{"position":[[115,10]]},"1173":{"position":[[140,10]]},"1191":{"position":[[357,10]]},"1206":{"position":[[165,11]]},"1208":{"position":[[71,11]]},"1211":{"position":[[44,10],[221,10]]},"1214":{"position":[[350,10],[516,10],[777,10]]},"1215":{"position":[[497,10],[579,11]]},"1245":{"position":[[5,10]]},"1270":{"position":[[86,10]]},"1299":{"position":[[414,11],[565,10]]}},"keywords":{}}],["filesystemaccessapirespons",{"_index":6481,"title":{},"content":{"1302":{"position":[[122,27]]}},"keywords":{}}],["filesystemsyncaccesshandl",{"_index":6204,"title":{},"content":{"1208":{"position":[[1010,26],[1835,26]]}},"keywords":{}}],["filesystemsyncaccesshandlehav",{"_index":6195,"title":{},"content":{"1208":{"position":[[439,30]]}},"keywords":{}}],["fill",{"_index":1783,"title":{},"content":{"301":{"position":[[134,4]]},"331":{"position":[[226,5]]},"392":{"position":[[870,4]]},"461":{"position":[[238,4]]},"806":{"position":[[512,6]]},"815":{"position":[[17,4]]},"837":{"position":[[513,4]]},"886":{"position":[[472,4]]},"887":{"position":[[9,5]]},"1078":{"position":[[928,6]]},"1082":{"position":[[112,6]]},"1123":{"position":[[688,5]]}},"keywords":{}}],["fill(0",{"_index":2263,"title":{},"content":{"392":{"position":[[3898,8]]}},"keywords":{}}],["filter",{"_index":1325,"title":{"858":{"position":[[0,8]]}},"content":{"205":{"position":[[198,8]]},"276":{"position":[[302,7]]},"277":{"position":[[162,7]]},"358":{"position":[[357,9]]},"402":{"position":[[2208,6]]},"559":{"position":[[1246,9]]},"714":{"position":[[784,6]]},"751":{"position":[[1523,6]]},"854":{"position":[[913,6]]},"858":{"position":[[328,7],[382,7]]},"898":{"position":[[3703,8],[3785,9]]},"1007":{"position":[[741,8]]},"1009":{"position":[[358,8]]},"1072":{"position":[[497,6]]},"1198":{"position":[[1910,8]]}},"keywords":{}}],["filter(d",{"_index":5519,"title":{},"content":{"995":{"position":[[1945,8]]}},"keywords":{}}],["filterforminupdatedatandid",{"_index":5103,"title":{},"content":{"885":{"position":[[2002,26]]}},"keywords":{}}],["filterforminupdatedatandid.slice(0",{"_index":5108,"title":{},"content":{"885":{"position":[[2369,35]]}},"keywords":{}}],["final",{"_index":3170,"title":{"1083":{"position":[[0,6]]}},"content":{"491":{"position":[[1042,5]]},"691":{"position":[[581,5]]},"749":{"position":[[9741,5],[10382,5],[12312,5],[12342,5]]},"1074":{"position":[[429,5]]},"1077":{"position":[[191,5]]},"1083":{"position":[[23,6],[73,5],[107,5],[188,5],[606,6]]}},"keywords":{}}],["financi",{"_index":3202,"title":{},"content":{"497":{"position":[[400,9]]},"506":{"position":[[198,9]]},"550":{"position":[[242,9]]},"611":{"position":[[321,9]]},"638":{"position":[[118,9]]}},"keywords":{}}],["find",{"_index":642,"title":{"949":{"position":[[0,7]]},"1036":{"position":[[0,5]]},"1055":{"position":[[0,7]]}},"content":{"40":{"position":[[818,4]]},"52":{"position":[[304,4]]},"130":{"position":[[495,7]]},"143":{"position":[[444,7],[625,7]]},"198":{"position":[[480,4]]},"241":{"position":[[304,4]]},"335":{"position":[[263,7]]},"352":{"position":[[80,4]]},"356":{"position":[[906,4]]},"358":{"position":[[346,7]]},"373":{"position":[[304,4]]},"390":{"position":[[1225,5]]},"393":{"position":[[637,4]]},"394":{"position":[[4,4],[199,4]]},"412":{"position":[[14194,4]]},"440":{"position":[[315,4]]},"459":{"position":[[524,4]]},"467":{"position":[[665,7]]},"480":{"position":[[723,7]]},"494":{"position":[[208,10]]},"539":{"position":[[304,4]]},"548":{"position":[[137,4]]},"557":{"position":[[268,4]]},"562":{"position":[[933,7]]},"563":{"position":[[917,4]]},"580":{"position":[[498,7]]},"599":{"position":[[331,4]]},"608":{"position":[[137,4]]},"632":{"position":[[1760,7]]},"666":{"position":[[404,4]]},"703":{"position":[[945,4]]},"724":{"position":[[1541,4]]},"730":{"position":[[32,4]]},"749":{"position":[[22381,4],[24094,4]]},"798":{"position":[[1023,4]]},"806":{"position":[[392,4]]},"821":{"position":[[49,4],[584,7]]},"839":{"position":[[719,4]]},"904":{"position":[[159,4]]},"908":{"position":[[367,4]]},"949":{"position":[[4,4],[80,4],[154,7]]},"950":{"position":[[26,6],[110,4],[150,4]]},"951":{"position":[[1,4],[121,6]]},"1016":{"position":[[1,4]]},"1036":{"position":[[4,4],[70,7],[158,4]]},"1055":{"position":[[33,7],[144,4],[203,7]]},"1056":{"position":[[73,4],[158,4],[263,4]]},"1065":{"position":[[88,4],[326,4],[903,4]]},"1074":{"position":[[238,4]]},"1078":{"position":[[737,4],[984,4]]},"1151":{"position":[[489,4]]},"1173":{"position":[[168,4]]},"1176":{"position":[[80,4]]},"1178":{"position":[[488,4]]},"1193":{"position":[[26,4]]},"1194":{"position":[[621,4],[770,6],[858,6]]},"1227":{"position":[[207,4]]},"1265":{"position":[[200,4]]},"1304":{"position":[[778,4]]},"1320":{"position":[[164,4]]}},"keywords":{}}],["findbestindex",{"_index":4706,"title":{},"content":{"820":{"position":[[10,13],[169,15]]}},"keywords":{}}],["findbyid",{"_index":4176,"title":{"951":{"position":[[0,12]]}},"content":{"749":{"position":[[3215,11]]},"951":{"position":[[470,9]]},"1194":{"position":[[496,11],[658,11]]}},"keywords":{}}],["finddocumentsbyid",{"_index":4122,"title":{},"content":{"746":{"position":[[698,18]]}},"keywords":{}}],["findon",{"_index":800,"title":{"950":{"position":[[0,10]]},"1056":{"position":[[0,10]]}},"content":{"52":{"position":[[313,7]]},"539":{"position":[[313,7]]},"599":{"position":[[340,7]]},"749":{"position":[[2032,10],[2133,7]]},"798":{"position":[[555,10]]},"951":{"position":[[106,9]]},"1056":{"position":[[3,7],[111,10],[207,10]]},"1057":{"position":[[210,10]]},"1066":{"position":[[361,10]]}},"keywords":{}}],["findone(_id",{"_index":4230,"title":{},"content":{"749":{"position":[[7237,13]]}},"keywords":{}}],["fine",{"_index":969,"title":{},"content":{"75":{"position":[[73,4]]},"106":{"position":[[151,4]]},"383":{"position":[[491,4]]},"412":{"position":[[10052,4],[12837,4]]},"542":{"position":[[131,4]]},"551":{"position":[[393,4]]},"563":{"position":[[973,4]]},"635":{"position":[[325,4]]},"835":{"position":[[808,4]]},"841":{"position":[[877,4]]},"1157":{"position":[[287,4]]},"1164":{"position":[[33,4]]},"1316":{"position":[[1031,5]]}},"keywords":{}}],["finish",{"_index":464,"title":{},"content":{"28":{"position":[[599,8]]},"700":{"position":[[697,9]]},"752":{"position":[[153,9]]},"948":{"position":[[710,8]]},"994":{"position":[[128,8]]},"1000":{"position":[[86,8]]},"1032":{"position":[[184,9]]},"1304":{"position":[[349,9]]}},"keywords":{}}],["fire",{"_index":169,"title":{},"content":{"11":{"position":[[753,5]]},"953":{"position":[[195,4]]},"1300":{"position":[[775,5]]}},"keywords":{}}],["firebas",{"_index":194,"title":{"14":{"position":[[0,9]]},"199":{"position":[[11,8]]},"200":{"position":[[25,8]]},"840":{"position":[[0,8]]},"853":{"position":[[32,8]]}},"content":{"14":{"position":[[3,8],[88,8],[217,8],[252,8],[462,8],[586,8],[961,8],[1018,8]]},"18":{"position":[[115,9]]},"22":{"position":[[50,8],[143,8]]},"113":{"position":[[235,9]]},"174":{"position":[[3067,9]]},"201":{"position":[[8,8]]},"202":{"position":[[7,8]]},"203":{"position":[[1,8]]},"204":{"position":[[18,8]]},"205":{"position":[[15,8]]},"206":{"position":[[7,8]]},"212":{"position":[[138,8]]},"238":{"position":[[150,9]]},"350":{"position":[[169,9]]},"412":{"position":[[1032,8]]},"444":{"position":[[592,8]]},"570":{"position":[[152,8],[225,8]]},"699":{"position":[[281,8]]},"840":{"position":[[113,8],[677,8]]},"854":{"position":[[15,8],[45,8],[104,8]]}},"keywords":{}}],["firebase"",{"_index":1512,"title":{},"content":{"244":{"position":[[1194,14]]}},"keywords":{}}],["firebase.initializeapp",{"_index":4866,"title":{},"content":{"854":{"position":[[244,24]]}},"keywords":{}}],["firebase/app",{"_index":4862,"title":{},"content":{"854":{"position":[[118,15]]}},"keywords":{}}],["firebase/firestor",{"_index":4864,"title":{},"content":{"854":{"position":[[175,21]]},"857":{"position":[[253,21]]}},"keywords":{}}],["firefox",{"_index":1707,"title":{},"content":{"298":{"position":[[163,8],[575,7]]},"299":{"position":[[415,7],[1226,7],[1427,7]]},"301":{"position":[[458,7]]},"408":{"position":[[554,7],[1052,7]]},"439":{"position":[[41,7]]},"455":{"position":[[746,7]]},"462":{"position":[[371,7]]},"617":{"position":[[1763,8]]},"696":{"position":[[1364,7],[1954,7]]},"1207":{"position":[[130,8]]}},"keywords":{}}],["firestor",{"_index":208,"title":{"246":{"position":[[11,9]]},"247":{"position":[[24,9]]},"256":{"position":[[31,9]]},"840":{"position":[[11,10]]},"853":{"position":[[17,9]]},"857":{"position":[[47,9]]}},"content":{"14":{"position":[[205,10],[305,10],[603,10],[619,9],[829,9],[1188,9],[1215,9]]},"247":{"position":[[1,9]]},"249":{"position":[[8,10]]},"250":{"position":[[1,9]]},"251":{"position":[[1,9],[248,9]]},"253":{"position":[[7,9]]},"255":{"position":[[1708,9],[1827,9]]},"260":{"position":[[88,9],[122,9],[228,9],[281,9]]},"262":{"position":[[183,9],[524,9]]},"263":{"position":[[32,9]]},"289":{"position":[[981,9],[1004,10],[1110,9],[1416,9]]},"312":{"position":[[156,10]]},"412":{"position":[[1009,9],[3303,11]]},"504":{"position":[[1064,9],[1122,10]]},"565":{"position":[[143,10]]},"570":{"position":[[188,11]]},"632":{"position":[[766,10]]},"644":{"position":[[140,10]]},"793":{"position":[[760,9]]},"840":{"position":[[3,9],[477,9],[608,9]]},"854":{"position":[[72,9],[721,10],[864,9],[1149,9],[1452,9]]},"855":{"position":[[148,9]]},"856":{"position":[[1,9],[150,9]]},"857":{"position":[[80,9],[577,9]]},"858":{"position":[[81,10],[232,10]]},"1124":{"position":[[2288,9]]}},"keywords":{}}],["firestore'",{"_index":1557,"title":{},"content":{"252":{"position":[[1,11]]},"262":{"position":[[333,11]]},"289":{"position":[[1198,11]]}},"keywords":{}}],["firestorecollect",{"_index":4870,"title":{},"content":{"854":{"position":[[399,19],[786,19]]},"858":{"position":[[297,19]]}},"keywords":{}}],["firestoredatabas",{"_index":4804,"title":{},"content":{"841":{"position":[[55,17]]},"854":{"position":[[354,17],[755,18]]},"858":{"position":[[266,18]]}},"keywords":{}}],["firestoregraphql",{"_index":3131,"title":{},"content":{"481":{"position":[[319,16]]}},"keywords":{}}],["firewal",{"_index":3623,"title":{"619":{"position":[[12,10]]},"627":{"position":[[8,9]]}},"content":{"614":{"position":[[429,10]]},"619":{"position":[[203,9]]},"624":{"position":[[301,8]]},"627":{"position":[[117,8]]},"901":{"position":[[353,9]]}},"keywords":{}}],["first",{"_index":107,"title":{"12":{"position":[[34,5]]},"44":{"position":[[22,5]]},"122":{"position":[[8,5]]},"133":{"position":[[8,5]]},"157":{"position":[[8,5]]},"164":{"position":[[8,5]]},"183":{"position":[[8,5]]},"191":{"position":[[8,5]]},"201":{"position":[[20,5]]},"248":{"position":[[17,6]]},"274":{"position":[[6,5]]},"327":{"position":[[8,5]]},"338":{"position":[[8,5]]},"380":{"position":[[8,5]]},"404":{"position":[[38,5]]},"406":{"position":[[10,5]]},"407":{"position":[[18,5]]},"408":{"position":[[10,5]]},"409":{"position":[[33,5]]},"412":{"position":[[36,6]]},"413":{"position":[[6,5],[35,5]]},"419":{"position":[[8,5],[24,6]]},"420":{"position":[[29,5]]},"421":{"position":[[10,5]]},"516":{"position":[[6,5]]},"584":{"position":[[8,5]]},"629":{"position":[[19,5]]},"630":{"position":[[30,5]]},"631":{"position":[[37,5]]},"632":{"position":[[27,6]]},"695":{"position":[[19,5],[35,5]]},"777":{"position":[[6,5],[22,5]]},"869":{"position":[[57,5]]},"895":{"position":[[58,5]]},"980":{"position":[[38,5]]},"1009":{"position":[[24,5]]},"1314":{"position":[[38,6]]}},"content":{"8":{"position":[[151,5]]},"11":{"position":[[711,5]]},"13":{"position":[[43,6]]},"14":{"position":[[287,5]]},"15":{"position":[[518,5]]},"19":{"position":[[562,5]]},"22":{"position":[[391,6]]},"27":{"position":[[51,5],[289,5]]},"35":{"position":[[610,5]]},"37":{"position":[[330,5]]},"38":{"position":[[88,5],[175,5]]},"39":{"position":[[247,5]]},"40":{"position":[[425,5],[795,5]]},"43":{"position":[[61,5],[739,5]]},"46":{"position":[[21,6]]},"65":{"position":[[1512,5]]},"122":{"position":[[53,5]]},"126":{"position":[[137,5]]},"128":{"position":[[43,5]]},"133":{"position":[[49,5]]},"148":{"position":[[105,5]]},"157":{"position":[[26,5]]},"164":{"position":[[46,5]]},"170":{"position":[[211,5]]},"179":{"position":[[430,5]]},"183":{"position":[[25,5]]},"186":{"position":[[266,5]]},"188":{"position":[[2040,5]]},"191":{"position":[[16,5]]},"198":{"position":[[98,5]]},"212":{"position":[[102,5]]},"244":{"position":[[400,5],[731,5]]},"245":{"position":[[13,5]]},"253":{"position":[[142,6]]},"262":{"position":[[18,6],[48,5]]},"263":{"position":[[139,5],[494,6]]},"273":{"position":[[66,5]]},"274":{"position":[[11,5]]},"280":{"position":[[157,5]]},"313":{"position":[[210,5]]},"318":{"position":[[41,5],[620,6]]},"321":{"position":[[574,5]]},"323":{"position":[[161,5]]},"327":{"position":[[64,5]]},"338":{"position":[[16,5]]},"353":{"position":[[218,6]]},"359":{"position":[[181,5]]},"360":{"position":[[434,5]]},"362":{"position":[[176,5],[773,5]]},"375":{"position":[[195,5]]},"378":{"position":[[40,6]]},"380":{"position":[[295,5]]},"388":{"position":[[422,5]]},"391":{"position":[[9,5],[37,5]]},"392":{"position":[[26,5]]},"394":{"position":[[1056,7],[1154,7]]},"396":{"position":[[1482,5]]},"398":{"position":[[3182,5],[3469,5]]},"399":{"position":[[114,5],[379,5]]},"402":{"position":[[648,5]]},"407":{"position":[[10,5],[532,5],[881,5],[993,5]]},"408":{"position":[[20,5],[147,5],[221,5],[1428,5],[1795,5],[2671,5],[3268,5],[3417,5],[4189,5],[4271,5],[4327,5],[4439,5],[5426,5]]},"409":{"position":[[169,5]]},"410":{"position":[[155,5],[452,5],[1301,5],[1805,5]]},"411":{"position":[[36,5],[275,6],[1127,5],[2087,5],[2581,5],[4565,6],[4909,5],[5448,6],[5777,5]]},"412":{"position":[[159,6],[295,5],[431,5],[587,5],[3219,5],[4206,6],[4317,5],[5636,5],[6145,5],[6588,5],[6689,5],[6926,5],[7122,5],[7407,5],[7560,5],[8233,5],[8971,5],[11105,5],[11183,5],[12232,5],[14756,5],[14796,6],[14934,5],[15094,5],[15405,5]]},"413":{"position":[[52,6]]},"414":{"position":[[7,6],[243,6]]},"415":{"position":[[7,6],[251,6]]},"416":{"position":[[7,6],[327,6]]},"417":{"position":[[7,6],[245,6]]},"418":{"position":[[7,6],[258,6],[833,5]]},"419":{"position":[[577,6],[676,5],[860,5],[919,5],[1083,5],[1532,5],[1568,5],[1684,5]]},"420":{"position":[[100,5],[221,5],[432,5],[544,5],[1147,5]]},"421":{"position":[[532,5],[714,5]]},"422":{"position":[[45,5],[138,5],[153,5],[314,5],[356,5],[375,5],[427,5]]},"445":{"position":[[278,5],[410,5]]},"446":{"position":[[9,5]]},"447":{"position":[[120,5]]},"449":{"position":[[1,5]]},"450":{"position":[[14,5]]},"451":{"position":[[26,5]]},"452":{"position":[[15,5]]},"454":{"position":[[752,5]]},"458":{"position":[[1047,5]]},"463":{"position":[[603,5]]},"464":{"position":[[882,5]]},"473":{"position":[[9,5],[24,5]]},"476":{"position":[[147,5]]},"477":{"position":[[135,5]]},"479":{"position":[[134,5]]},"483":{"position":[[224,5],[743,5],[803,5]]},"486":{"position":[[230,5]]},"489":{"position":[[600,6]]},"491":{"position":[[798,5],[1151,5]]},"496":{"position":[[704,5]]},"497":{"position":[[197,5]]},"498":{"position":[[213,5],[493,5]]},"501":{"position":[[369,5]]},"502":{"position":[[225,5],[292,5]]},"504":{"position":[[296,5]]},"510":{"position":[[254,5]]},"513":{"position":[[303,5]]},"516":{"position":[[23,5]]},"525":{"position":[[13,5]]},"530":{"position":[[388,5]]},"534":{"position":[[180,5],[194,6]]},"537":{"position":[[1,6]]},"542":{"position":[[163,6]]},"559":{"position":[[1671,5]]},"562":{"position":[[1023,5]]},"566":{"position":[[1214,5]]},"567":{"position":[[104,6],[397,5]]},"574":{"position":[[756,5]]},"575":{"position":[[325,5]]},"582":{"position":[[27,5]]},"594":{"position":[[178,5],[192,6]]},"597":{"position":[[1,6]]},"610":{"position":[[22,5]]},"620":{"position":[[224,5]]},"627":{"position":[[272,5]]},"630":{"position":[[221,5],[945,5]]},"631":{"position":[[64,5]]},"634":{"position":[[9,5]]},"635":{"position":[[10,5]]},"640":{"position":[[498,5]]},"644":{"position":[[56,5],[619,5]]},"656":{"position":[[255,5]]},"659":{"position":[[202,5]]},"661":{"position":[[527,5]]},"662":{"position":[[20,6]]},"666":{"position":[[288,6]]},"681":{"position":[[536,5]]},"690":{"position":[[476,5]]},"696":{"position":[[151,5]]},"698":{"position":[[401,5],[2260,5]]},"699":{"position":[[232,5]]},"700":{"position":[[12,5],[1030,5]]},"701":{"position":[[15,5]]},"702":{"position":[[498,5]]},"703":{"position":[[37,5],[1294,5]]},"704":{"position":[[190,5]]},"705":{"position":[[116,5],[377,5],[1132,5],[1218,5],[1281,5]]},"710":{"position":[[1401,6]]},"714":{"position":[[876,5]]},"723":{"position":[[632,5],[2414,5],[2474,5]]},"724":{"position":[[1241,5],[1334,5]]},"749":{"position":[[12656,6],[17541,5]]},"766":{"position":[[34,5],[197,5]]},"774":{"position":[[219,5]]},"778":{"position":[[305,5]]},"779":{"position":[[250,5],[341,5]]},"780":{"position":[[511,5]]},"781":{"position":[[561,5],[652,5]]},"782":{"position":[[230,5]]},"783":{"position":[[126,5],[525,5]]},"784":{"position":[[359,5]]},"785":{"position":[[442,5]]},"786":{"position":[[144,5],[166,5]]},"818":{"position":[[136,5]]},"836":{"position":[[248,5],[432,5],[1961,5]]},"837":{"position":[[1256,5]]},"838":{"position":[[20,6],[577,5],[1637,6],[1739,5]]},"839":{"position":[[765,5]]},"840":{"position":[[272,5]]},"841":{"position":[[1453,5]]},"860":{"position":[[221,5],[331,6],[1205,5]]},"870":{"position":[[65,5]]},"872":{"position":[[197,5]]},"875":{"position":[[1302,5],[3918,5]]},"885":{"position":[[1654,5]]},"886":{"position":[[50,5],[426,5],[1411,5]]},"896":{"position":[[180,5]]},"898":{"position":[[4056,5]]},"899":{"position":[[93,5]]},"902":{"position":[[513,5]]},"913":{"position":[[57,5],[144,5]]},"977":{"position":[[408,6]]},"981":{"position":[[1191,5],[1297,5]]},"984":{"position":[[4,5]]},"986":{"position":[[28,5]]},"994":{"position":[[145,5]]},"1006":{"position":[[226,5]]},"1007":{"position":[[704,5]]},"1009":{"position":[[727,5]]},"1032":{"position":[[82,5]]},"1082":{"position":[[40,5]]},"1085":{"position":[[506,5]]},"1087":{"position":[[172,5]]},"1088":{"position":[[51,5]]},"1114":{"position":[[174,5],[567,5]]},"1118":{"position":[[247,5]]},"1123":{"position":[[747,5]]},"1125":{"position":[[503,5]]},"1154":{"position":[[398,5]]},"1161":{"position":[[219,5]]},"1180":{"position":[[219,5]]},"1192":{"position":[[467,5]]},"1194":{"position":[[51,5],[218,5],[292,5]]},"1208":{"position":[[48,5]]},"1210":{"position":[[571,5]]},"1222":{"position":[[163,5]]},"1231":{"position":[[824,5]]},"1292":{"position":[[296,5],[650,5]]},"1294":{"position":[[446,5]]},"1298":{"position":[[266,5]]},"1302":{"position":[[9,5]]},"1304":{"position":[[1542,6]]},"1314":{"position":[[35,5]]},"1316":{"position":[[15,5],[960,6]]},"1317":{"position":[[364,5]]},"1319":{"position":[[558,5]]},"1320":{"position":[[19,5]]}},"keywords":{}}],["first"",{"_index":1456,"title":{},"content":{"243":{"position":[[449,11]]},"244":{"position":[[1513,11]]},"413":{"position":[[114,11]]},"419":{"position":[[98,12],[1229,11],[1350,11]]},"420":{"position":[[624,11]]}},"keywords":{}}],["first.creat",{"_index":6489,"title":{},"content":{"1304":{"position":[[1867,14]]}},"keywords":{}}],["first/loc",{"_index":702,"title":{},"content":{"46":{"position":[[9,11]]}},"keywords":{}}],["firstdo",{"_index":6299,"title":{},"content":{"1258":{"position":[[28,9]]}},"keywords":{}}],["firsti",{"_index":4597,"title":{},"content":{"786":{"position":[[88,6]]}},"keywords":{}}],["firstnam",{"_index":4956,"title":{},"content":{"872":{"position":[[1976,10],[2064,12],[4206,10],[4294,12]]},"898":{"position":[[2556,10],[2669,12]]},"1041":{"position":[[347,10],[375,9]]},"1051":{"position":[[244,10],[514,10]]},"1078":{"position":[[393,12],[613,10],[694,12],[943,10],[1070,10]]},"1080":{"position":[[236,10],[827,12],[889,11],[918,13]]},"1082":{"position":[[321,10]]},"1083":{"position":[[521,10]]},"1311":{"position":[[479,10],[593,12],[1533,10]]}},"keywords":{}}],["firstopen",{"_index":5476,"title":{},"content":{"988":{"position":[[5155,9],[5795,9]]}},"keywords":{}}],["firstread",{"_index":3146,"title":{},"content":{"483":{"position":[[721,9]]}},"keywords":{}}],["firstsupabas",{"_index":5231,"title":{},"content":{"899":{"position":[[156,13]]}},"keywords":{}}],["firstsyncencrypt",{"_index":1908,"title":{},"content":{"317":{"position":[[173,19]]}},"keywords":{}}],["firstvaluefrom",{"_index":5516,"title":{},"content":{"995":{"position":[[1884,15]]}},"keywords":{}}],["fit",{"_index":952,"title":{"67":{"position":[[44,3]]},"71":{"position":[[19,3]]},"73":{"position":[[34,3]]},"98":{"position":[[45,3]]},"102":{"position":[[19,3]]},"104":{"position":[[34,3]]},"225":{"position":[[33,3]]},"229":{"position":[[19,3]]},"278":{"position":[[22,3]]}},"content":{"98":{"position":[[201,3]]},"102":{"position":[[115,3]]},"174":{"position":[[666,3]]},"229":{"position":[[196,3]]},"254":{"position":[[257,3]]},"271":{"position":[[308,3]]},"278":{"position":[[232,3]]},"354":{"position":[[75,3]]},"381":{"position":[[500,4]]},"384":{"position":[[19,3]]},"388":{"position":[[197,3]]},"412":{"position":[[6638,4]]},"481":{"position":[[426,4]]},"689":{"position":[[270,3]]},"1162":{"position":[[325,4]]},"1171":{"position":[[182,3]]},"1181":{"position":[[412,4]]},"1192":{"position":[[580,4]]},"1198":{"position":[[134,7]]}},"keywords":{}}],["fix",{"_index":1711,"title":{},"content":{"298":{"position":[[278,5]]},"397":{"position":[[214,5]]},"412":{"position":[[2924,5]]},"442":{"position":[[100,3]]},"461":{"position":[[945,5]]},"571":{"position":[[1829,5]]},"616":{"position":[[938,3]]},"626":{"position":[[388,6]]},"837":{"position":[[651,5]]},"1174":{"position":[[358,5]]},"1176":{"position":[[203,3],[484,3]]},"1198":{"position":[[728,6],[987,3]]},"1288":{"position":[[83,6]]},"1299":{"position":[[40,3]]},"1316":{"position":[[1390,3]]}},"keywords":{}}],["fix"",{"_index":3649,"title":{},"content":{"617":{"position":[[1737,9]]}},"keywords":{}}],["flag",{"_index":2979,"title":{},"content":{"455":{"position":[[909,5]]},"566":{"position":[[1418,5]]},"698":{"position":[[1195,4]]},"773":{"position":[[814,5]]},"828":{"position":[[353,6]]},"875":{"position":[[8536,5],[8800,4],[9046,4],[9361,5]]},"876":{"position":[[434,4]]},"898":{"position":[[1881,4]]},"988":{"position":[[3123,4]]},"995":{"position":[[1465,4],[1582,4],[1782,4]]},"1051":{"position":[[417,5]]},"1065":{"position":[[553,6]]},"1282":{"position":[[966,5]]}},"keywords":{}}],["flag.th",{"_index":6156,"title":{},"content":{"1181":{"position":[[352,8]]}},"keywords":{}}],["flag.thi",{"_index":6109,"title":{},"content":{"1162":{"position":[[286,9]]}},"keywords":{}}],["flags)str",{"_index":3416,"title":{},"content":{"560":{"position":[[352,12]]}},"keywords":{}}],["flaki",{"_index":2596,"title":{},"content":{"410":{"position":[[1056,5]]},"419":{"position":[[217,5]]}},"keywords":{}}],["flat",{"_index":530,"title":{},"content":{"34":{"position":[[209,4]]},"848":{"position":[[226,4]]}},"keywords":{}}],["fledg",{"_index":635,"title":{},"content":{"40":{"position":[[313,7]]},"452":{"position":[[405,7]]},"576":{"position":[[227,7]]}},"keywords":{}}],["flexibl",{"_index":639,"title":{"72":{"position":[[0,8]]},"112":{"position":[[0,8]]},"239":{"position":[[0,8]]},"351":{"position":[[0,9]]},"381":{"position":[[0,8]]}},"content":{"40":{"position":[[450,11]]},"42":{"position":[[161,11]]},"72":{"position":[[15,8]]},"112":{"position":[[15,8],[181,11]]},"174":{"position":[[805,11],[2625,8],[3119,11]]},"198":{"position":[[28,8]]},"202":{"position":[[345,11]]},"238":{"position":[[57,8]]},"239":{"position":[[17,8]]},"248":{"position":[[224,8]]},"255":{"position":[[1803,8]]},"267":{"position":[[1256,12]]},"276":{"position":[[162,11]]},"281":{"position":[[157,9]]},"282":{"position":[[331,11]]},"287":{"position":[[164,11]]},"299":{"position":[[1670,8]]},"353":{"position":[[255,8]]},"354":{"position":[[83,9]]},"356":{"position":[[31,8],[659,8]]},"360":{"position":[[850,11]]},"362":{"position":[[201,8],[515,8]]},"364":{"position":[[478,12]]},"370":{"position":[[219,12]]},"372":{"position":[[332,11]]},"381":{"position":[[470,11]]},"383":{"position":[[284,8]]},"388":{"position":[[538,12]]},"390":{"position":[[1773,11]]},"392":{"position":[[1239,8]]},"412":{"position":[[13506,11]]},"504":{"position":[[432,11]]},"574":{"position":[[46,8]]},"581":{"position":[[92,11]]},"631":{"position":[[338,8]]},"632":{"position":[[628,8]]},"688":{"position":[[301,8]]},"689":{"position":[[223,12]]},"690":{"position":[[598,12]]},"710":{"position":[[422,8]]},"715":{"position":[[163,11]]},"770":{"position":[[149,8]]},"839":{"position":[[801,8]]},"860":{"position":[[759,8]]},"1072":{"position":[[1921,11]]},"1149":{"position":[[10,11]]},"1236":{"position":[[37,9]]}},"keywords":{}}],["flexsearch",{"_index":4039,"title":{},"content":{"723":{"position":[[56,10],[2082,10]]},"724":{"position":[[5,10],[510,10]]},"1284":{"position":[[93,10]]}},"keywords":{}}],["flexsearch.find('foobar",{"_index":4064,"title":{},"content":{"724":{"position":[[1636,26],[1818,25]]}},"keywords":{}}],["flexsearch.rxdb",{"_index":6377,"title":{},"content":{"1284":{"position":[[140,15]]}},"keywords":{}}],["fli",{"_index":1994,"title":{},"content":{"351":{"position":[[217,4]]}},"keywords":{}}],["flight",{"_index":1978,"title":{},"content":{"346":{"position":[[681,6]]}},"keywords":{}}],["flip",{"_index":2648,"title":{},"content":{"412":{"position":[[184,4]]}},"keywords":{}}],["float",{"_index":5080,"title":{},"content":{"885":{"position":[[592,7],[687,7],[758,6]]}},"keywords":{}}],["flood",{"_index":3695,"title":{},"content":{"630":{"position":[[773,8]]}},"keywords":{}}],["flourish",{"_index":2046,"title":{},"content":{"356":{"position":[[865,8]]}},"keywords":{}}],["flow",{"_index":299,"title":{},"content":{"17":{"position":[[518,4]]},"47":{"position":[[223,6]]},"90":{"position":[[150,5]]},"208":{"position":[[49,4]]},"219":{"position":[[359,4]]},"226":{"position":[[265,6]]},"340":{"position":[[25,4]]},"410":{"position":[[2121,5]]},"454":{"position":[[868,4]]},"478":{"position":[[115,5]]},"576":{"position":[[139,5]]},"585":{"position":[[198,4]]},"630":{"position":[[194,5]]},"632":{"position":[[182,4]]},"871":{"position":[[397,4]]},"901":{"position":[[782,6]]},"903":{"position":[[170,4]]},"1033":{"position":[[1052,5]]},"1147":{"position":[[341,5]]}},"keywords":{}}],["fluctuat",{"_index":1679,"title":{},"content":{"289":{"position":[[246,13]]},"444":{"position":[[251,12]]}},"keywords":{}}],["fluid",{"_index":3105,"title":{},"content":{"474":{"position":[[299,5]]},"644":{"position":[[686,6]]}},"keywords":{}}],["flutter",{"_index":678,"title":{"176":{"position":[[24,7]]},"177":{"position":[[12,7]]},"178":{"position":[[27,7]]},"186":{"position":[[15,7]]},"187":{"position":[[16,7]]},"188":{"position":[[20,8]]}},"content":{"43":{"position":[[499,8]]},"177":{"position":[[1,7]]},"178":{"position":[[32,7],[326,7]]},"179":{"position":[[122,8],[242,7]]},"180":{"position":[[45,7]]},"183":{"position":[[70,7]]},"186":{"position":[[39,7],[245,8],[403,7]]},"187":{"position":[[92,7]]},"188":{"position":[[74,7],[225,7],[543,7],[1049,7],[1511,7],[1829,7],[1924,8],[2007,7],[2089,7]]},"192":{"position":[[390,7]]},"198":{"position":[[59,7],[248,7],[300,7],[521,7]]},"365":{"position":[[1061,8]]}},"keywords":{}}],["flutter'",{"_index":1230,"title":{},"content":{"177":{"position":[[197,9]]}},"keywords":{}}],["flutter_qj",{"_index":1241,"title":{},"content":{"188":{"position":[[99,11]]}},"keywords":{}}],["fn",{"_index":5270,"title":{},"content":{"910":{"position":[[407,4]]}},"keywords":{}}],["fn(...arg",{"_index":5272,"title":{},"content":{"910":{"position":[[447,13]]}},"keywords":{}}],["focu",{"_index":573,"title":{},"content":{"36":{"position":[[293,6]]},"61":{"position":[[480,5]]},"373":{"position":[[604,5]]},"378":{"position":[[137,5]]},"390":{"position":[[392,5]]},"411":{"position":[[1588,5]]},"412":{"position":[[1235,5]]},"419":{"position":[[603,5]]},"420":{"position":[[332,5],[1324,5]]},"445":{"position":[[2439,5]]},"481":{"position":[[530,5]]},"690":{"position":[[512,5]]}},"keywords":{}}],["focus",{"_index":625,"title":{"359":{"position":[[13,7]]}},"content":{"39":{"position":[[470,7]]},"40":{"position":[[66,7]]},"41":{"position":[[75,7]]},"411":{"position":[[705,7]]},"412":{"position":[[2057,8]]},"462":{"position":[[103,8]]}},"keywords":{}}],["folder",{"_index":89,"title":{},"content":{"6":{"position":[[233,7],[633,6]]},"7":{"position":[[468,6]]},"647":{"position":[[242,6],[304,9]]},"648":{"position":[[196,9]]},"649":{"position":[[152,9]]},"667":{"position":[[119,7]]},"670":{"position":[[470,7]]},"730":{"position":[[17,6],[117,6]]},"749":{"position":[[337,7],[6245,6]]},"838":{"position":[[2269,6]]},"961":{"position":[[304,6]]},"1033":{"position":[[466,8],[611,7],[702,7]]},"1090":{"position":[[933,8]]},"1130":{"position":[[280,9]]},"1210":{"position":[[626,7]]},"1227":{"position":[[224,6]]},"1265":{"position":[[217,6]]},"1266":{"position":[[348,6]]}},"keywords":{}}],["folder)befor",{"_index":3834,"title":{},"content":{"668":{"position":[[211,13]]}},"keywords":{}}],["folder/foobar/document.json",{"_index":3741,"title":{},"content":{"649":{"position":[[414,28]]}},"keywords":{}}],["folders.find().exec",{"_index":5662,"title":{},"content":{"1033":{"position":[[627,22]]}},"keywords":{}}],["follow",{"_index":879,"title":{"61":{"position":[[0,6]]},"84":{"position":[[0,6]]},"114":{"position":[[0,6]]},"149":{"position":[[0,6]]},"175":{"position":[[0,6]]},"241":{"position":[[0,6]]},"263":{"position":[[0,6]]},"296":{"position":[[0,6]]},"306":{"position":[[0,6]]},"318":{"position":[[0,6]]},"347":{"position":[[0,6]]},"362":{"position":[[0,6]]},"373":{"position":[[0,6]]},"388":{"position":[[0,6]]},"405":{"position":[[0,6]]},"442":{"position":[[0,6]]},"471":{"position":[[0,6]]},"483":{"position":[[0,6]]},"498":{"position":[[0,6]]},"511":{"position":[[0,6]]},"531":{"position":[[0,6]]},"548":{"position":[[0,6]]},"557":{"position":[[0,6]]},"567":{"position":[[0,6]]},"572":{"position":[[0,6]]},"591":{"position":[[0,6]]},"608":{"position":[[0,6]]},"628":{"position":[[0,6]]},"644":{"position":[[0,6]]},"663":{"position":[[0,6]]},"712":{"position":[[0,6]]},"776":{"position":[[0,6]]},"786":{"position":[[0,6]]},"832":{"position":[[0,6]]},"842":{"position":[[0,6]]},"873":{"position":[[0,6]]},"899":{"position":[[0,6]]},"913":{"position":[[0,6]]}},"content":{"84":{"position":[[93,9],[298,9]]},"114":{"position":[[106,9],[311,9]]},"120":{"position":[[37,7]]},"128":{"position":[[147,9]]},"142":{"position":[[68,9]]},"149":{"position":[[106,9],[311,9]]},"175":{"position":[[84,9],[304,9]]},"183":{"position":[[6,7]]},"241":{"position":[[99,9]]},"285":{"position":[[392,6]]},"299":{"position":[[115,9]]},"347":{"position":[[106,9],[311,9]]},"362":{"position":[[1177,9],[1382,9]]},"373":{"position":[[99,9]]},"425":{"position":[[221,9]]},"430":{"position":[[96,9]]},"455":{"position":[[796,9]]},"511":{"position":[[106,9],[311,9]]},"522":{"position":[[227,9]]},"523":{"position":[[206,9]]},"531":{"position":[[106,9],[311,9]]},"557":{"position":[[333,9]]},"567":{"position":[[1045,6]]},"591":{"position":[[106,9],[311,9]]},"614":{"position":[[774,9]]},"661":{"position":[[179,7]]},"666":{"position":[[41,10]]},"668":{"position":[[40,10]]},"679":{"position":[[141,9]]},"680":{"position":[[38,10]]},"763":{"position":[[19,9]]},"774":{"position":[[328,9]]},"786":{"position":[[103,6]]},"836":{"position":[[181,7]]},"837":{"position":[[47,7]]},"871":{"position":[[363,9]]},"876":{"position":[[129,9]]},"880":{"position":[[283,9]]},"922":{"position":[[80,9]]},"935":{"position":[[215,9]]},"960":{"position":[[110,9]]},"983":{"position":[[131,9]]},"988":{"position":[[103,10]]},"1067":{"position":[[1129,9],[1359,9]]},"1074":{"position":[[61,9]]},"1084":{"position":[[525,9]]},"1085":{"position":[[3283,9]]},"1102":{"position":[[1096,9]]},"1107":{"position":[[525,10]]},"1125":{"position":[[850,6]]},"1176":{"position":[[269,9]]},"1193":{"position":[[8,9]]},"1194":{"position":[[10,9]]},"1271":{"position":[[970,9],[1637,10]]},"1281":{"position":[[195,9]]},"1300":{"position":[[604,9]]}},"keywords":{}}],["followup",{"_index":3821,"title":{},"content":{"663":{"position":[[103,8]]},"712":{"position":[[122,8]]},"842":{"position":[[237,8]]}},"keywords":{}}],["foo",{"_index":3778,"title":{},"content":{"659":{"position":[[522,6],[603,5],[669,5]]},"662":{"position":[[2626,6]]},"683":{"position":[[198,5],[319,5],[913,5]]},"710":{"position":[[1933,6]]},"711":{"position":[[1368,7]]},"796":{"position":[[755,5],[954,5]]},"806":{"position":[[605,4],[684,4]]},"838":{"position":[[2840,6]]},"942":{"position":[[216,6]]},"943":{"position":[[424,6]]},"946":{"position":[[188,6]]},"947":{"position":[[206,6]]},"950":{"position":[[297,5]]},"1014":{"position":[[252,4],[391,4]]},"1015":{"position":[[228,4]]},"1018":{"position":[[131,3],[469,3],[508,3],[760,4],[876,4],[921,3],[943,4]]},"1035":{"position":[[130,6]]},"1065":{"position":[[254,5],[401,5],[829,9],[988,3],[1089,5],[1248,5],[1257,5],[1266,5],[1327,8]]},"1078":{"position":[[954,6],[1081,6]]},"1177":{"position":[[383,6]]},"1220":{"position":[[365,4],[585,5],[626,4]]},"1249":{"position":[[523,5]]}},"keywords":{}}],["foo(.*)0",{"_index":4642,"title":{},"content":{"796":{"position":[[887,10]]}},"keywords":{}}],["foo1",{"_index":5332,"title":{},"content":{"944":{"position":[[231,7]]}},"keywords":{}}],["foo2",{"_index":5334,"title":{},"content":{"944":{"position":[[267,7]]},"947":{"position":[[258,6]]}},"keywords":{}}],["foobar",{"_index":2927,"title":{},"content":{"439":{"position":[[702,7]]},"555":{"position":[[329,9],[523,8]]},"556":{"position":[[865,8]]},"649":{"position":[[383,9]]},"770":{"position":[[427,9],[523,8]]},"772":{"position":[[1052,8]]},"796":{"position":[[515,8]]},"826":{"position":[[422,8],[1084,6]]},"866":{"position":[[785,9]]},"988":{"position":[[5425,9],[5503,9]]},"1014":{"position":[[226,9],[365,9]]},"1015":{"position":[[202,9]]},"1018":{"position":[[850,9]]},"1041":{"position":[[358,8],[388,6]]},"1063":{"position":[[88,9]]},"1067":{"position":[[1332,8],[2011,8],[2155,8]]},"1125":{"position":[[593,11]]},"1252":{"position":[[170,9],[311,9]]}},"keywords":{}}],["foobar'}).exec",{"_index":5644,"title":{},"content":{"1023":{"position":[[711,18]]}},"keywords":{}}],["foobar.alic",{"_index":4929,"title":{},"content":{"866":{"position":[[752,14]]}},"keywords":{}}],["foobar2",{"_index":5676,"title":{},"content":{"1039":{"position":[[310,12],[361,9]]}},"keywords":{}}],["foobar@example.com",{"_index":5636,"title":{},"content":{"1022":{"position":[[1052,20]]}},"keywords":{}}],["foofa",{"_index":5768,"title":{},"content":{"1065":{"position":[[427,7]]}},"keywords":{}}],["foooobarnew",{"_index":5692,"title":{},"content":{"1042":{"position":[[192,14],[299,13]]}},"keywords":{}}],["footprint",{"_index":1129,"title":{},"content":{"141":{"position":[[23,9]]},"169":{"position":[[180,9]]},"174":{"position":[[2472,9]]},"316":{"position":[[25,10]]},"528":{"position":[[120,9]]}},"keywords":{}}],["for(const",{"_index":4632,"title":{},"content":{"795":{"position":[[139,9]]},"875":{"position":[[4595,9]]}},"keywords":{}}],["for="hero",{"_index":3504,"title":{},"content":{"580":{"position":[[769,14]]},"601":{"position":[[157,14]]},"602":{"position":[[532,14]]}},"keywords":{}}],["forbid",{"_index":5895,"title":{},"content":{"1085":{"position":[[2011,10]]}},"keywords":{}}],["forbidden",{"_index":5072,"title":{"881":{"position":[[0,11]]}},"content":{"881":{"position":[[203,10]]}},"keywords":{}}],["forc",{"_index":1988,"title":{},"content":{"350":{"position":[[106,6]]},"412":{"position":[[1677,6],[11904,5]]},"569":{"position":[[702,6]]},"839":{"position":[[374,6]]},"990":{"position":[[1155,5]]}},"keywords":{}}],["forefront",{"_index":3247,"title":{},"content":{"510":{"position":[[685,9]]}},"keywords":{}}],["foreign",{"_index":2021,"title":{},"content":{"354":{"position":[[504,7]]},"705":{"position":[[809,7]]},"808":{"position":[[390,7]]},"810":{"position":[[149,7]]}},"keywords":{}}],["forev",{"_index":2729,"title":{},"content":{"412":{"position":[[8203,8]]},"697":{"position":[[107,8]]}},"keywords":{}}],["forget",{"_index":4432,"title":{},"content":{"749":{"position":[[23677,6]]},"872":{"position":[[3534,6]]},"1097":{"position":[[263,6]]},"1213":{"position":[[738,6]]}},"keywords":{}}],["forgiv",{"_index":1658,"title":{},"content":{"282":{"position":[[152,9]]}},"keywords":{}}],["fork",{"_index":267,"title":{},"content":{"16":{"position":[[1,6]]},"835":{"position":[[725,4]]},"987":{"position":[[794,4]]},"1309":{"position":[[1007,4]]}},"keywords":{}}],["fork/client",{"_index":5434,"title":{},"content":{"982":{"position":[[68,11],[254,11]]},"987":{"position":[[219,11],[724,11]]}},"keywords":{}}],["form",{"_index":1989,"title":{},"content":{"350":{"position":[[243,5]]},"390":{"position":[[92,4]]},"391":{"position":[[862,4]]},"396":{"position":[[492,7]]},"455":{"position":[[430,4]]},"489":{"position":[[410,6]]},"496":{"position":[[504,6]]},"1228":{"position":[[109,4]]}},"keywords":{}}],["formal",{"_index":4813,"title":{},"content":{"841":{"position":[[1168,6]]}},"keywords":{}}],["format",{"_index":1224,"title":{"1289":{"position":[[7,8]]},"1290":{"position":[[11,7]]},"1291":{"position":[[16,7]]}},"content":{"174":{"position":[[2439,7]]},"236":{"position":[[61,7]]},"316":{"position":[[362,7]]},"364":{"position":[[195,7],[318,6]]},"367":{"position":[[93,6],[1011,7]]},"382":{"position":[[213,8]]},"398":{"position":[[46,7]]},"454":{"position":[[34,6]]},"459":{"position":[[113,6]]},"612":{"position":[[1511,6]]},"636":{"position":[[257,8]]},"686":{"position":[[229,6]]},"702":{"position":[[139,6]]},"717":{"position":[[985,6]]},"839":{"position":[[965,6]]},"875":{"position":[[1484,6],[1716,7]]},"904":{"position":[[1055,7]]},"936":{"position":[[91,7],[155,6]]},"1085":{"position":[[370,6]]},"1104":{"position":[[348,6]]},"1266":{"position":[[1022,7]]},"1289":{"position":[[53,7],[74,7],[104,7]]}},"keywords":{}}],["formatteddata",{"_index":3602,"title":{},"content":{"612":{"position":[[2089,13]]}},"keywords":{}}],["forum",{"_index":4978,"title":{},"content":{"873":{"position":[[181,5]]}},"keywords":{}}],["forward",{"_index":4856,"title":{},"content":{"849":{"position":[[1048,9]]}},"keywords":{}}],["found",{"_index":349,"title":{},"content":{"20":{"position":[[99,7]]},"396":{"position":[[855,5]]},"421":{"position":[[160,5]]},"543":{"position":[[73,5]]},"603":{"position":[[71,5]]},"620":{"position":[[297,5]]},"749":{"position":[[22045,6]]},"810":{"position":[[181,6]]},"825":{"position":[[1116,5]]},"1057":{"position":[[546,5]]},"1059":{"position":[[343,5]]},"1060":{"position":[[201,5]]},"1061":{"position":[[244,5]]},"1062":{"position":[[13,5]]},"1208":{"position":[[1986,5]]},"1296":{"position":[[229,6]]}},"keywords":{}}],["foundat",{"_index":1159,"title":{},"content":{"151":{"position":[[422,10]]},"267":{"position":[[1580,10]]},"503":{"position":[[199,10]]},"530":{"position":[[449,12]]}},"keywords":{}}],["foundationdb",{"_index":2112,"title":{"1131":{"position":[[24,12]]}},"content":{"365":{"position":[[1551,12]]},"772":{"position":[[192,12],[227,12],[446,12],[553,12],[738,14],[1222,12],[1832,12]]},"774":{"position":[[350,12],[543,14]]},"793":{"position":[[380,12]]},"1072":{"position":[[1818,13]]},"1095":{"position":[[136,12]]},"1124":{"position":[[454,12],[541,12]]},"1132":{"position":[[22,13],[87,12],[130,12]]},"1133":{"position":[[13,12],[75,12],[108,12],[162,13],[232,12],[325,12],[526,13]]},"1134":{"position":[[105,14],[243,12],[268,12],[448,12]]},"1135":{"position":[[9,12],[302,12]]},"1198":{"position":[[1413,12]]},"1247":{"position":[[592,13],[643,12]]},"1320":{"position":[[807,13]]}},"keywords":{}}],["foundationdb.observ",{"_index":6029,"title":{},"content":{"1132":{"position":[[841,23]]}},"keywords":{}}],["foundationdb@1.1.4",{"_index":6038,"title":{},"content":{"1133":{"position":[[431,18]]}},"keywords":{}}],["founddocu",{"_index":1639,"title":{},"content":{"276":{"position":[[382,14]]},"724":{"position":[[1613,14],[1795,14]]}},"keywords":{}}],["four",{"_index":5255,"title":{},"content":{"904":{"position":[[264,4]]}},"keywords":{}}],["fraction",{"_index":2067,"title":{},"content":{"358":{"position":[[813,8]]}},"keywords":{}}],["frame",{"_index":2555,"title":{},"content":{"408":{"position":[[3034,6]]},"571":{"position":[[1627,6]]},"703":{"position":[[1577,6]]}},"keywords":{}}],["framework",{"_index":250,"title":{"94":{"position":[[35,11]]},"222":{"position":[[35,11]]},"286":{"position":[[14,10]]},"492":{"position":[[25,11]]}},"content":{"15":{"position":[[131,9],[303,10]]},"17":{"position":[[162,11]]},"38":{"position":[[34,9]]},"94":{"position":[[81,10],[275,10]]},"116":{"position":[[34,9]]},"173":{"position":[[2189,11],[2282,10],[2412,10]]},"174":{"position":[[1423,10]]},"177":{"position":[[207,9]]},"179":{"position":[[102,11]]},"201":{"position":[[363,9]]},"222":{"position":[[98,10],[259,11]]},"230":{"position":[[141,10]]},"284":{"position":[[177,11]]},"286":{"position":[[52,11],[373,9]]},"313":{"position":[[87,10]]},"352":{"position":[[230,10]]},"360":{"position":[[96,10]]},"411":{"position":[[5196,10]]},"445":{"position":[[1683,11],[1758,10],[1893,11],[1995,11]]},"446":{"position":[[1125,10],[1281,11]]},"447":{"position":[[221,10]]},"606":{"position":[[264,10]]},"624":{"position":[[447,11],[952,10]]},"729":{"position":[[55,11]]},"730":{"position":[[70,10]]},"824":{"position":[[203,10]]},"828":{"position":[[120,10]]},"831":{"position":[[337,11]]},"890":{"position":[[406,9]]},"1118":{"position":[[172,9]]},"1202":{"position":[[55,11]]}},"keywords":{}}],["free",{"_index":607,"title":{"781":{"position":[[19,5]]}},"content":{"38":{"position":[[1064,4]]},"40":{"position":[[31,4]]},"51":{"position":[[45,4]]},"262":{"position":[[249,4]]},"295":{"position":[[273,4]]},"298":{"position":[[550,4]]},"299":{"position":[[268,4],[774,4],[1128,4]]},"302":{"position":[[639,4],[961,4]]},"315":{"position":[[59,5],[138,4]]},"408":{"position":[[998,4]]},"411":{"position":[[568,7],[1568,5]]},"412":{"position":[[3691,4]]},"476":{"position":[[228,6]]},"538":{"position":[[46,4]]},"554":{"position":[[57,4]]},"598":{"position":[[46,4]]},"661":{"position":[[346,4]]},"686":{"position":[[896,4]]},"689":{"position":[[43,4]]},"698":{"position":[[3026,4]]},"717":{"position":[[53,4]]},"772":{"position":[[1792,4]]},"801":{"position":[[467,4]]},"955":{"position":[[74,4]]},"976":{"position":[[50,4]]},"977":{"position":[[51,4]]},"1143":{"position":[[42,5]]},"1151":{"position":[[98,4]]},"1178":{"position":[[98,4]]},"1198":{"position":[[316,5],[1995,4]]},"1235":{"position":[[138,6]]},"1321":{"position":[[106,4]]}},"keywords":{}}],["freedom",{"_index":1302,"title":{"202":{"position":[[3,7]]},"249":{"position":[[3,7]]}},"content":{"263":{"position":[[73,7]]}},"keywords":{}}],["freeli",{"_index":1932,"title":{},"content":{"330":{"position":[[113,6]]}},"keywords":{}}],["frequenc",{"_index":3566,"title":{},"content":{"611":{"position":[[571,9]]}},"keywords":{}}],["frequent",{"_index":905,"title":{},"content":{"65":{"position":[[198,10]]},"87":{"position":[[81,10]]},"141":{"position":[[274,10]]},"166":{"position":[[216,10]]},"173":{"position":[[686,10]]},"204":{"position":[[337,10]]},"216":{"position":[[75,10]]},"220":{"position":[[304,8]]},"342":{"position":[[19,10]]},"346":{"position":[[784,8]]},"352":{"position":[[15,10]]},"354":{"position":[[821,10],[1691,8]]},"376":{"position":[[247,10],[579,8]]},"411":{"position":[[658,8]]},"430":{"position":[[897,8]]},"497":{"position":[[661,8]]},"570":{"position":[[638,8]]},"587":{"position":[[24,10]]},"622":{"position":[[472,10]]},"623":{"position":[[521,8]]},"624":{"position":[[514,8]]},"690":{"position":[[266,8]]},"836":{"position":[[2147,11]]}},"keywords":{}}],["fresh",{"_index":3129,"title":{},"content":{"481":{"position":[[135,5]]}},"keywords":{}}],["friction",{"_index":1997,"title":{},"content":{"351":{"position":[[330,8]]},"353":{"position":[[793,8]]},"354":{"position":[[1679,8]]}},"keywords":{}}],["friend",{"_index":2602,"title":{},"content":{"410":{"position":[[1657,6]]},"808":{"position":[[620,8]]},"813":{"position":[[143,8],[293,8],[399,7]]}},"keywords":{}}],["friendli",{"_index":938,"title":{"387":{"position":[[10,8]]}},"content":{"65":{"position":[[2113,9]]},"83":{"position":[[398,8]]},"364":{"position":[[12,13]]},"473":{"position":[[189,9]]},"839":{"position":[[347,8],[1154,9]]}},"keywords":{}}],["fromobservable(ob",{"_index":6003,"title":{},"content":{"1118":{"position":[[541,19]]}},"keywords":{}}],["fromobservable(observ",{"_index":839,"title":{},"content":{"55":{"position":[[467,27]]}},"keywords":{}}],["front",{"_index":662,"title":{"225":{"position":[[45,5]]}},"content":{"42":{"position":[[293,5]]},"43":{"position":[[341,5]]},"218":{"position":[[54,5]]},"350":{"position":[[289,5]]},"351":{"position":[[235,5]]},"360":{"position":[[86,5]]},"849":{"position":[[746,5]]},"1088":{"position":[[767,5]]},"1208":{"position":[[589,5]]}},"keywords":{}}],["frontend",{"_index":262,"title":{"213":{"position":[[16,8],[61,8]]},"214":{"position":[[40,9]]},"229":{"position":[[31,9]]}},"content":{"15":{"position":[[433,9]]},"18":{"position":[[81,8]]},"26":{"position":[[244,8]]},"27":{"position":[[68,8],[262,8]]},"38":{"position":[[568,8],[648,8]]},"215":{"position":[[44,8],[105,8]]},"216":{"position":[[1,8]]},"217":{"position":[[21,8]]},"219":{"position":[[1,8],[202,9]]},"220":{"position":[[1,8]]},"221":{"position":[[118,8]]},"222":{"position":[[1,8],[329,8]]},"223":{"position":[[40,8],[131,8],[311,8]]},"224":{"position":[[1,8]]},"225":{"position":[[92,9],[166,8]]},"226":{"position":[[215,8],[331,8],[445,8]]},"227":{"position":[[163,8]]},"228":{"position":[[164,8]]},"229":{"position":[[20,8],[134,8],[204,8]]},"232":{"position":[[57,8]]},"233":{"position":[[253,8]]},"234":{"position":[[274,8]]},"235":{"position":[[253,8]]},"236":{"position":[[330,8]]},"239":{"position":[[293,8]]},"241":{"position":[[63,8],[378,8],[434,8],[665,8]]},"373":{"position":[[63,8],[687,8]]},"411":{"position":[[1873,9]]},"412":{"position":[[9138,9],[9183,8]]},"860":{"position":[[192,8]]},"890":{"position":[[542,8]]},"1320":{"position":[[41,9],[228,8],[446,8]]}},"keywords":{}}],["frontend+backend",{"_index":2659,"title":{},"content":{"412":{"position":[[870,16]]}},"keywords":{}}],["frustratingli",{"_index":2855,"title":{},"content":{"421":{"position":[[880,13]]}},"keywords":{}}],["fs",{"_index":4577,"title":{},"content":{"772":{"position":[[2227,2]]},"1176":{"position":[[250,2],[374,3]]}},"keywords":{}}],["fuel",{"_index":2565,"title":{},"content":{"408":{"position":[[4301,7]]}},"keywords":{}}],["fulfil",{"_index":2622,"title":{},"content":{"411":{"position":[[2655,8]]}},"keywords":{}}],["full",{"_index":49,"title":{"394":{"position":[[37,4]]}},"content":{"2":{"position":[[421,4]]},"6":{"position":[[586,4],[784,4]]},"10":{"position":[[382,4]]},"36":{"position":[[220,4]]},"39":{"position":[[349,4]]},"40":{"position":[[308,4]]},"51":{"position":[[1009,4]]},"83":{"position":[[442,4]]},"205":{"position":[[217,4]]},"222":{"position":[[307,4]]},"241":{"position":[[416,4]]},"252":{"position":[[216,4]]},"285":{"position":[[374,4]]},"302":{"position":[[31,4]]},"357":{"position":[[466,4]]},"392":{"position":[[4902,4]]},"394":{"position":[[1358,4]]},"398":{"position":[[115,4]]},"402":{"position":[[1380,4]]},"411":{"position":[[4112,4],[5047,4]]},"412":{"position":[[10451,4],[11912,4],[13650,4],[13712,4],[14644,4]]},"432":{"position":[[969,4]]},"447":{"position":[[678,4]]},"461":{"position":[[250,4],[1407,4]]},"468":{"position":[[494,4]]},"480":{"position":[[146,4]]},"567":{"position":[[71,4]]},"574":{"position":[[734,4]]},"611":{"position":[[22,4]]},"621":{"position":[[50,4]]},"626":{"position":[[220,4]]},"644":{"position":[[494,4]]},"690":{"position":[[57,4]]},"696":{"position":[[131,4]]},"775":{"position":[[568,4]]},"800":{"position":[[362,4]]},"824":{"position":[[64,4],[99,4]]},"832":{"position":[[17,4]]},"839":{"position":[[487,4]]},"875":{"position":[[1991,4],[5714,4]]},"890":{"position":[[984,4]]},"985":{"position":[[190,4]]},"994":{"position":[[90,4]]},"1004":{"position":[[403,4]]},"1067":{"position":[[708,4]]},"1072":{"position":[[440,4]]},"1147":{"position":[[304,4]]},"1149":{"position":[[5,4]]},"1198":{"position":[[820,4]]},"1219":{"position":[[228,4]]},"1271":{"position":[[293,4],[592,4],[644,4],[687,4]]},"1284":{"position":[[108,4]]},"1318":{"position":[[1160,4]]}},"keywords":{}}],["fulli",{"_index":582,"title":{"248":{"position":[[3,5]]}},"content":{"37":{"position":[[316,5],[392,5]]},"201":{"position":[[100,5]]},"248":{"position":[[149,5]]},"280":{"position":[[239,5]]},"312":{"position":[[28,5]]},"404":{"position":[[131,5]]},"412":{"position":[[200,5]]},"451":{"position":[[569,5]]},"452":{"position":[[399,5]]},"576":{"position":[[221,5]]},"700":{"position":[[482,5]]},"723":{"position":[[2004,5]]},"740":{"position":[[162,5]]},"749":{"position":[[2695,5]]},"829":{"position":[[3845,5]]},"837":{"position":[[476,5]]},"855":{"position":[[28,5]]},"860":{"position":[[395,5]]},"867":{"position":[[28,5]]},"901":{"position":[[757,5]]},"903":{"position":[[262,5]]},"904":{"position":[[166,5]]},"981":{"position":[[1274,5]]},"1047":{"position":[[183,5]]},"1067":{"position":[[904,5],[1812,5],[2233,5]]},"1068":{"position":[[14,5]]},"1214":{"position":[[825,5]]},"1301":{"position":[[1527,5]]}},"keywords":{}}],["fulltext",{"_index":4038,"title":{"722":{"position":[[0,8]]},"723":{"position":[[26,8]]},"724":{"position":[[15,8]]},"1023":{"position":[[9,8]]}},"content":{"723":{"position":[[512,8],[1143,8],[1344,8],[2506,8]]},"724":{"position":[[1219,8]]},"793":{"position":[[1159,8]]},"1023":{"position":[[70,8],[160,8]]}},"keywords":{}}],["fun",{"_index":3964,"title":{},"content":{"702":{"position":[[534,4]]}},"keywords":{}}],["function",{"_index":151,"title":{"747":{"position":[[21,10]]},"937":{"position":[[4,10]]},"940":{"position":[[0,10]]},"1037":{"position":[[0,10]]}},"content":{"11":{"position":[[326,8],[518,8],[684,8]]},"19":{"position":[[328,10]]},"21":{"position":[[72,9]]},"46":{"position":[[49,8]]},"51":{"position":[[641,8]]},"55":{"position":[[357,8]]},"122":{"position":[[337,8]]},"133":{"position":[[99,8]]},"151":{"position":[[209,14]]},"160":{"position":[[57,8]]},"164":{"position":[[87,8]]},"183":{"position":[[104,8]]},"188":{"position":[[894,8]]},"193":{"position":[[74,13]]},"201":{"position":[[249,10]]},"209":{"position":[[205,8]]},"248":{"position":[[155,10]]},"255":{"position":[[552,8]]},"273":{"position":[[288,11]]},"274":{"position":[[125,8]]},"280":{"position":[[76,8],[245,10]]},"292":{"position":[[34,14],[201,11]]},"309":{"position":[[9,13]]},"312":{"position":[[16,11]]},"314":{"position":[[438,8]]},"315":{"position":[[389,8]]},"320":{"position":[[230,14]]},"327":{"position":[[126,9]]},"334":{"position":[[290,8]]},"335":{"position":[[171,8]]},"375":{"position":[[59,14]]},"383":{"position":[[85,13]]},"390":{"position":[[1875,9]]},"391":{"position":[[308,9],[568,8],[760,8]]},"392":{"position":[[4035,8]]},"393":{"position":[[329,9]]},"394":{"position":[[151,9]]},"398":{"position":[[685,8],[1931,8]]},"412":{"position":[[2391,9],[4408,9]]},"414":{"position":[[289,11]]},"419":{"position":[[450,9]]},"420":{"position":[[1210,13]]},"430":{"position":[[969,8]]},"444":{"position":[[314,14],[879,13]]},"445":{"position":[[592,13]]},"446":{"position":[[99,14]]},"447":{"position":[[59,13]]},"480":{"position":[[296,8]]},"482":{"position":[[386,8]]},"494":{"position":[[164,8]]},"500":{"position":[[178,8]]},"502":{"position":[[427,10]]},"516":{"position":[[67,8]]},"529":{"position":[[109,13]]},"534":{"position":[[251,10]]},"541":{"position":[[217,8]]},"542":{"position":[[745,8]]},"554":{"position":[[811,8]]},"556":{"position":[[342,8]]},"559":{"position":[[237,8]]},"562":{"position":[[127,8],[1088,8]]},"563":{"position":[[428,8]]},"564":{"position":[[401,8]]},"579":{"position":[[299,8]]},"584":{"position":[[33,8]]},"594":{"position":[[249,10]]},"598":{"position":[[399,8]]},"610":{"position":[[904,8]]},"616":{"position":[[1071,13]]},"632":{"position":[[1177,8],[2180,8]]},"650":{"position":[[80,14]]},"672":{"position":[[7,8]]},"673":{"position":[[50,8]]},"674":{"position":[[321,8]]},"675":{"position":[[208,9]]},"693":{"position":[[315,9],[875,8]]},"703":{"position":[[858,9]]},"723":{"position":[[2663,8]]},"724":{"position":[[424,9]]},"747":{"position":[[52,9]]},"749":{"position":[[7505,8],[8074,8],[8375,8],[12025,9],[14194,8]]},"751":{"position":[[207,8],[279,8]]},"761":{"position":[[393,8]]},"766":{"position":[[224,9]]},"789":{"position":[[15,10],[101,10],[128,8],[241,11],[488,11]]},"791":{"position":[[97,11],[356,11]]},"792":{"position":[[228,11]]},"802":{"position":[[432,15]]},"805":{"position":[[36,8],[117,8]]},"806":{"position":[[16,9]]},"815":{"position":[[139,8]]},"818":{"position":[[51,8],[421,8],[573,11]]},"829":{"position":[[597,8]]},"846":{"position":[[1450,10]]},"848":{"position":[[559,8],[820,8],[1455,8]]},"860":{"position":[[401,10]]},"862":{"position":[[1685,13]]},"872":{"position":[[2787,13]]},"875":{"position":[[236,8],[5724,8]]},"886":{"position":[[91,8]]},"888":{"position":[[575,9]]},"889":{"position":[[605,8],[799,10],[836,9]]},"890":{"position":[[146,10],[774,9]]},"898":{"position":[[1341,8],[4603,13]]},"902":{"position":[[669,11]]},"904":{"position":[[1574,8]]},"907":{"position":[[179,8]]},"908":{"position":[[256,9]]},"934":{"position":[[342,9],[403,9],[462,9],[674,13],[751,12]]},"937":{"position":[[74,9]]},"950":{"position":[[377,12]]},"952":{"position":[[10,8]]},"953":{"position":[[56,9]]},"956":{"position":[[26,8]]},"958":{"position":[[711,8]]},"960":{"position":[[65,8]]},"968":{"position":[[107,8],[214,8],[239,8],[334,8],[405,8]]},"971":{"position":[[10,8]]},"972":{"position":[[55,9]]},"988":{"position":[[5173,8]]},"992":{"position":[[5,8]]},"1007":{"position":[[1220,8],[1795,8],[2055,8]]},"1020":{"position":[[254,8]]},"1030":{"position":[[114,8]]},"1035":{"position":[[85,9]]},"1036":{"position":[[78,9]]},"1039":{"position":[[6,8]]},"1040":{"position":[[122,9]]},"1042":{"position":[[37,8]]},"1060":{"position":[[29,8]]},"1061":{"position":[[30,8]]},"1069":{"position":[[299,8]]},"1085":{"position":[[2158,10]]},"1097":{"position":[[149,8]]},"1105":{"position":[[36,8],[593,8]]},"1106":{"position":[[38,8],[527,8]]},"1115":{"position":[[85,8],[839,8]]},"1125":{"position":[[74,8]]},"1139":{"position":[[230,9]]},"1140":{"position":[[381,8]]},"1145":{"position":[[222,9]]},"1146":{"position":[[202,9]]},"1151":{"position":[[840,8]]},"1178":{"position":[[837,8]]},"1211":{"position":[[351,8]]},"1218":{"position":[[105,8],[183,8],[220,8]]},"1219":{"position":[[43,9]]},"1229":{"position":[[66,8]]},"1268":{"position":[[66,8]]},"1279":{"position":[[238,8]]},"1280":{"position":[[198,8]]},"1282":{"position":[[522,9],[663,8],[859,8]]},"1291":{"position":[[101,8]]},"1307":{"position":[[876,9]]},"1309":{"position":[[53,10]]},"1311":{"position":[[1143,8]]},"1319":{"position":[[300,8]]},"1320":{"position":[[673,14]]},"1322":{"position":[[500,9]]}},"keywords":{}}],["function"",{"_index":2681,"title":{},"content":{"412":{"position":[[3539,14]]}},"keywords":{}}],["function(authdata",{"_index":5971,"title":{},"content":{"1109":{"position":[[191,18]]}},"keywords":{}}],["function(docdata",{"_index":2497,"title":{},"content":{"403":{"position":[[808,18]]}},"keywords":{}}],["function(ev",{"_index":3570,"title":{},"content":{"611":{"position":[[693,15],[837,15]]}},"keywords":{}}],["function(olddoc",{"_index":4444,"title":{},"content":{"751":{"position":[[617,17],[860,17],[1098,17],[1719,17],[1926,17]]},"752":{"position":[[531,17]]},"754":{"position":[[268,17],[414,17],[573,17]]}},"keywords":{}}],["function(thi",{"_index":6501,"title":{},"content":{"1311":{"position":[[670,14],[859,14]]}},"keywords":{}}],["functionality.run",{"_index":1209,"title":{},"content":{"173":{"position":[[2463,21]]}},"keywords":{}}],["fund",{"_index":605,"title":{},"content":{"38":{"position":[[1029,8]]}},"keywords":{}}],["fundament",{"_index":1630,"title":{},"content":{"270":{"position":[[32,11]]},"408":{"position":[[2702,11]]},"525":{"position":[[33,11]]}},"keywords":{}}],["funnel",{"_index":2618,"title":{},"content":{"411":{"position":[[2402,6]]}},"keywords":{}}],["further",{"_index":688,"title":{"1302":{"position":[[0,7]]}},"content":{"43":{"position":[[722,7]]},"137":{"position":[[63,7]]},"175":{"position":[[4,7]]},"241":{"position":[[4,7]]},"283":{"position":[[379,7]]},"299":{"position":[[674,8]]},"373":{"position":[[4,7]]},"377":{"position":[[365,7]]},"391":{"position":[[920,7]]},"419":{"position":[[1818,7]]},"467":{"position":[[419,7]]},"490":{"position":[[676,7]]},"624":{"position":[[1051,7]]},"643":{"position":[[154,7]]},"648":{"position":[[333,7]]},"849":{"position":[[183,7]]},"1120":{"position":[[498,7]]},"1198":{"position":[[945,8]]},"1296":{"position":[[1627,7]]},"1324":{"position":[[803,7]]}},"keywords":{}}],["furthermor",{"_index":2240,"title":{},"content":{"392":{"position":[[2231,12]]},"500":{"position":[[692,12]]}},"keywords":{}}],["futur",{"_index":331,"title":{"404":{"position":[[9,6]]},"406":{"position":[[32,6]]},"421":{"position":[[23,7]]},"470":{"position":[[0,6]]}},"content":{"19":{"position":[[430,7]]},"404":{"position":[[108,7]]},"408":{"position":[[4089,6]]},"420":{"position":[[912,6]]},"470":{"position":[[283,7],[458,7]]},"500":{"position":[[30,6]]},"620":{"position":[[583,6]]},"624":{"position":[[1188,6]]},"644":{"position":[[645,6]]},"786":{"position":[[179,6]]},"839":{"position":[[1083,6]]},"1100":{"position":[[306,7]]}},"keywords":{}}],["gain",{"_index":1541,"title":{"408":{"position":[[19,7]]}},"content":{"247":{"position":[[131,4]]},"412":{"position":[[9587,5]]},"420":{"position":[[1096,5]]},"446":{"position":[[1173,6]]},"483":{"position":[[209,5]]}},"keywords":{}}],["game",{"_index":1634,"title":{},"content":{"274":{"position":[[47,4]]},"375":{"position":[[456,6]]},"399":{"position":[[263,6],[559,6]]},"445":{"position":[[59,4]]},"611":{"position":[[310,7]]},"613":{"position":[[455,7]]},"624":{"position":[[790,6]]},"699":{"position":[[646,4]]},"1006":{"position":[[48,4],[263,4]]},"1007":{"position":[[956,4]]}},"keywords":{}}],["gap",{"_index":1935,"title":{},"content":{"331":{"position":[[238,4]]},"408":{"position":[[5147,3]]},"438":{"position":[[235,4]]},"502":{"position":[[534,4]]},"576":{"position":[[340,3]]},"1123":{"position":[[699,3]]}},"keywords":{}}],["garner",{"_index":3250,"title":{},"content":{"513":{"position":[[43,8]]}},"keywords":{}}],["gather",{"_index":5960,"title":{},"content":{"1105":{"position":[[1165,6]]}},"keywords":{}}],["gb",{"_index":1744,"title":{},"content":{"299":{"position":[[312,2],[324,2],[426,2],[601,2],[900,3]]},"408":{"position":[[1034,2]]}},"keywords":{}}],["gcm",{"_index":4035,"title":{},"content":{"718":{"position":[[536,4]]}},"keywords":{}}],["gdpr",{"_index":3335,"title":{},"content":{"550":{"position":[[414,4]]}},"keywords":{}}],["gen",{"_index":6398,"title":{},"content":{"1292":{"position":[[167,3]]}},"keywords":{}}],["gender",{"_index":4651,"title":{},"content":{"798":{"position":[[396,6],[434,10],[482,9],[596,7],[763,10],[889,9],[918,10]]},"1066":{"position":[[402,7],[569,10],[695,9],[724,10]]}},"keywords":{}}],["gener",{"_index":1631,"title":{"391":{"position":[[0,10]]},"828":{"position":[[0,7]]}},"content":{"270":{"position":[[147,9]]},"299":{"position":[[835,9],[1145,9]]},"392":{"position":[[1872,9],[2009,8],[2540,9],[3395,10]]},"398":{"position":[[313,9]]},"412":{"position":[[9744,9]]},"454":{"position":[[387,9]]},"456":{"position":[[171,8]]},"461":{"position":[[691,9]]},"612":{"position":[[810,9],[958,7],[1221,7]]},"622":{"position":[[415,9]]},"623":{"position":[[508,9]]},"624":{"position":[[1598,9]]},"661":{"position":[[169,9]]},"709":{"position":[[922,9]]},"711":{"position":[[1843,8]]},"836":{"position":[[171,9]]},"837":{"position":[[698,7]]},"841":{"position":[[904,9]]},"889":{"position":[[994,8]]},"912":{"position":[[561,9]]},"1072":{"position":[[1741,9]]},"1098":{"position":[[146,7]]},"1192":{"position":[[619,7]]},"1276":{"position":[[171,7]]},"1316":{"position":[[2146,9],[3647,7]]},"1322":{"position":[[280,9]]}},"keywords":{}}],["geniu",{"_index":790,"title":{},"content":{"52":{"position":[[134,7]]},"539":{"position":[[134,7]]},"599":{"position":[[143,7]]}},"keywords":{}}],["genuin",{"_index":2518,"title":{},"content":{"407":{"position":[[456,7]]}},"keywords":{}}],["geoloc",{"_index":2822,"title":{},"content":{"419":{"position":[[1785,11]]}},"keywords":{}}],["german",{"_index":3024,"title":{},"content":{"462":{"position":[[586,6]]}},"keywords":{}}],["get",{"_index":1074,"title":{"119":{"position":[[0,7]]},"154":{"position":[[0,7]]},"180":{"position":[[0,7]]},"256":{"position":[[0,7]]},"272":{"position":[[0,7]]},"324":{"position":[[0,7]]},"502":{"position":[[0,7]]},"577":{"position":[[0,7]]},"669":{"position":[[0,7]]}},"content":{"285":{"position":[[1,7]]},"393":{"position":[[753,4]]},"412":{"position":[[12183,4]]},"698":{"position":[[872,4]]},"751":{"position":[[294,4]]},"793":{"position":[[19,7]]},"805":{"position":[[126,4]]},"818":{"position":[[111,4]]},"875":{"position":[[3664,4]]},"886":{"position":[[105,4],[3358,4]]},"921":{"position":[[1,4],[112,4]]},"968":{"position":[[248,4]]},"983":{"position":[[485,4]]},"986":{"position":[[1108,4]]},"1078":{"position":[[46,4]]},"1104":{"position":[[276,4]]},"1105":{"position":[[138,4]]},"1115":{"position":[[99,4]]},"1154":{"position":[[20,4]]},"1233":{"position":[[206,4]]},"1295":{"position":[[1070,7],[1223,7]]},"1307":{"position":[[365,4]]},"1315":{"position":[[1447,4]]}},"keywords":{}}],["get/put",{"_index":731,"title":{},"content":{"47":{"position":[[515,7]]}},"keywords":{}}],["get/set",{"_index":3440,"title":{},"content":{"566":{"position":[[224,7]]}},"keywords":{}}],["getajv",{"_index":6388,"title":{},"content":{"1290":{"position":[[10,6],[65,9]]}},"keywords":{}}],["getal",{"_index":2960,"title":{},"content":{"452":{"position":[[527,8]]},"1294":{"position":[[104,8],[409,8],[754,9],[2101,9]]}},"keywords":{}}],["getallkey",{"_index":6424,"title":{},"content":{"1294":{"position":[[429,13]]}},"keywords":{}}],["getattach",{"_index":5297,"title":{"919":{"position":[[0,16]]}},"content":{},"keywords":{}}],["getattachmentdata",{"_index":4123,"title":{},"content":{"746":{"position":[[761,18]]}},"keywords":{}}],["getchangeddocumentssinc",{"_index":4124,"title":{},"content":{"746":{"position":[[786,25]]}},"keywords":{}}],["getconnectionhandlersimplep",{"_index":1363,"title":{},"content":{"210":{"position":[[172,30],[360,32]]},"261":{"position":[[240,30],[489,32]]},"904":{"position":[[1331,30],[1679,30],[2559,32]]},"906":{"position":[[851,33]]},"911":{"position":[[687,32]]},"1121":{"position":[[355,30],[715,35]]}},"keywords":{}}],["getcrdtschemapart",{"_index":3872,"title":{},"content":{"680":{"position":[[351,18],[972,19]]}},"keywords":{}}],["getcrdtschemapart()set",{"_index":3870,"title":{},"content":{"680":{"position":[[165,22]]}},"keywords":{}}],["getdata",{"_index":5306,"title":{"930":{"position":[[0,10]]}},"content":{},"keywords":{}}],["getdatabas",{"_index":168,"title":{},"content":{"11":{"position":[[693,14]]},"829":{"position":[[606,13],[1359,11],[1529,14]]}},"keywords":{}}],["getdatabase64",{"_index":5294,"title":{"931":{"position":[[0,16]]}},"content":{"917":{"position":[[592,15]]}},"keywords":{}}],["getdatabaseconnect",{"_index":6364,"title":{},"content":{"1281":{"position":[[74,21],[116,21],[217,22]]}},"keywords":{}}],["getdatabasepassword",{"_index":3363,"title":{},"content":{"556":{"position":[[351,21]]}},"keywords":{}}],["getdoc",{"_index":4881,"title":{},"content":{"857":{"position":[[214,8]]}},"keywords":{}}],["getdocs(query(firestorecollect",{"_index":4883,"title":{},"content":{"857":{"position":[[303,36]]}},"keywords":{}}],["getembedding(doc.text",{"_index":2380,"title":{},"content":{"397":{"position":[[1890,23]]}},"keywords":{}}],["getembedding(docdata.bodi",{"_index":2498,"title":{},"content":{"403":{"position":[[851,27]]}},"keywords":{}}],["getembeddingfromtext",{"_index":2212,"title":{},"content":{"391":{"position":[[285,22]]}},"keywords":{}}],["getembeddingfromtext(text",{"_index":2221,"title":{},"content":{"391":{"position":[[577,26]]}},"keywords":{}}],["getembeddingfromtext(userinput",{"_index":2310,"title":{},"content":{"394":{"position":[[651,32]]}},"keywords":{}}],["getfetchwithcouchdbauthor",{"_index":4842,"title":{},"content":{"848":{"position":[[1083,34],[1193,32]]}},"keywords":{}}],["getfetchwithcouchdbauthorization('myusernam",{"_index":4843,"title":{},"content":{"848":{"position":[[1480,46]]}},"keywords":{}}],["getfirestor",{"_index":4863,"title":{},"content":{"854":{"position":[[143,13]]}},"keywords":{}}],["getfirestore(app",{"_index":4869,"title":{},"content":{"854":{"position":[[374,18]]}},"keywords":{}}],["getitem",{"_index":2868,"title":{},"content":{"425":{"position":[[176,8],[347,7]]},"451":{"position":[[203,8]]},"835":{"position":[[437,9]]}},"keywords":{}}],["getitem())rxdb",{"_index":3421,"title":{},"content":{"560":{"position":[[595,16]]}},"keywords":{}}],["getitem/setitem",{"_index":4805,"title":{},"content":{"841":{"position":[[280,15]]}},"keywords":{}}],["getlatest",{"_index":5701,"title":{"1045":{"position":[[0,12]]}},"content":{},"keywords":{}}],["getleaderelectorbybroadcastchannel",{"_index":4105,"title":{},"content":{"740":{"position":[[425,34]]}},"keywords":{}}],["getleaderelectorbybroadcastchannel(broadcastchannel",{"_index":4107,"title":{},"content":{"740":{"position":[[521,53]]}},"keywords":{}}],["getloc",{"_index":5604,"title":{"1016":{"position":[[0,11]]},"1017":{"position":[[0,12]]}},"content":{"1017":{"position":[[6,10]]}},"keywords":{}}],["getlocalstoragemetaoptimizerrxstorag",{"_index":6092,"title":{},"content":{"1154":{"position":[[207,37],[482,39]]},"1238":{"position":[[684,37],[842,39]]},"1239":{"position":[[485,37],[812,39]]}},"keywords":{}}],["getlocalstoragemock",{"_index":6104,"title":{},"content":{"1159":{"position":[[298,19],[467,21]]}},"keywords":{}}],["getlokijsadapterflutt",{"_index":1249,"title":{},"content":{"188":{"position":[[783,23],[1119,25]]}},"keywords":{}}],["getmemorymappedrxstorag",{"_index":4583,"title":{},"content":{"774":{"position":[[567,24],[709,26]]},"1090":{"position":[[677,24],[824,26]]},"1182":{"position":[[91,24],[404,26]]},"1184":{"position":[[457,24],[650,26]]},"1185":{"position":[[310,26]]},"1186":{"position":[[268,26]]},"1239":{"position":[[599,24],[861,26]]}},"keywords":{}}],["getmemorysyncedrxstorag",{"_index":6113,"title":{},"content":{"1163":{"position":[[91,24],[400,26]]},"1164":{"position":[[134,26]]},"1165":{"position":[[363,26]]}},"keywords":{}}],["getpouchdbofrxcollect",{"_index":6186,"title":{},"content":{"1204":{"position":[[237,24]]}},"keywords":{}}],["getpouchdbofrxcollection(myrxcollect",{"_index":6187,"title":{},"content":{"1204":{"position":[[307,41]]}},"keywords":{}}],["getrxdatabase("javascript/dist/index.js"",{"_index":1275,"title":{},"content":{"188":{"position":[[2655,51]]}},"keywords":{}}],["getrxstoragedenokv",{"_index":6016,"title":{},"content":{"1125":{"position":[[55,18],[203,18],[334,20]]},"1126":{"position":[[419,21]]}},"keywords":{}}],["getrxstoragedexi",{"_index":4970,"title":{},"content":{"872":{"position":[[3825,17],[4020,19]]},"1144":{"position":[[92,17],[232,19]]},"1145":{"position":[[202,19],[296,17],[572,19]]},"1146":{"position":[[182,19],[277,19]]},"1148":{"position":[[582,17],[753,19]]},"1149":{"position":[[741,17],[959,19]]}},"keywords":{}}],["getrxstoragefilesystemnod",{"_index":5908,"title":{},"content":{"1090":{"position":[[586,26],[860,28]]},"1126":{"position":[[732,29]]},"1130":{"position":[[51,26],[207,28]]}},"keywords":{}}],["getrxstoragefoundationdb",{"_index":4564,"title":{},"content":{"772":{"position":[[684,24],[817,26]]},"774":{"position":[[489,24],[745,26]]},"1134":{"position":[[51,24],[184,26]]}},"keywords":{}}],["getrxstorageindexeddb",{"_index":4028,"title":{},"content":{"718":{"position":[[218,21],[425,23]]},"745":{"position":[[273,21],[433,25]]},"746":{"position":[[321,26]]},"747":{"position":[[138,26]]},"759":{"position":[[161,21],[406,24]]},"820":{"position":[[80,21],[324,24]]},"932":{"position":[[780,21],[998,23]]},"1138":{"position":[[88,23],[193,21],[328,23]]},"1139":{"position":[[206,23],[291,21],[583,23]]},"1140":{"position":[[507,21],[642,23]]},"1154":{"position":[[321,21],[635,23]]},"1163":{"position":[[11,21],[300,24]]},"1165":{"position":[[310,24]]},"1182":{"position":[[11,21],[300,24]]},"1184":{"position":[[377,21],[734,23]]},"1185":{"position":[[375,23]]},"1186":{"position":[[326,23]]},"1225":{"position":[[82,24],[214,21],[434,23]]},"1226":{"position":[[131,21]]},"1231":{"position":[[527,21],[796,24]]},"1237":{"position":[[743,21],[991,23]]},"1238":{"position":[[604,21],[987,23]]},"1263":{"position":[[100,21],[328,23]]},"1268":{"position":[[655,21],[759,23]]}},"keywords":{}}],["getrxstorageipcrender",{"_index":3925,"title":{},"content":{"693":{"position":[[352,24],[1024,23],[1208,25]]},"1214":{"position":[[661,25]]}},"keywords":{}}],["getrxstoragelocalstorag",{"_index":776,"title":{},"content":{"51":{"position":[[559,24],[773,26]]},"55":{"position":[[731,24],[915,27]]},"209":{"position":[[64,24],[287,27]]},"211":{"position":[[126,24],[259,26]]},"255":{"position":[[411,24],[631,27]]},"258":{"position":[[64,24],[192,26]]},"314":{"position":[[363,24],[522,27],[1051,26]]},"315":{"position":[[260,24],[490,26]]},"334":{"position":[[215,24],[379,27]]},"392":{"position":[[257,24],[391,26]]},"480":{"position":[[221,24],[417,26]]},"482":{"position":[[222,24],[530,26]]},"522":{"position":[[328,24],[474,27]]},"538":{"position":[[322,24],[503,26]]},"542":{"position":[[442,24],[576,27]]},"562":{"position":[[51,24],[211,27]]},"563":{"position":[[261,24],[531,27]]},"564":{"position":[[325,24],[498,26]]},"579":{"position":[[217,24],[388,27]]},"598":{"position":[[317,24],[510,26]]},"632":{"position":[[1102,24],[1339,27]]},"638":{"position":[[382,26]]},"653":{"position":[[167,24],[299,27]]},"680":{"position":[[580,24],[720,26]]},"710":{"position":[[1590,24],[1742,26]]},"717":{"position":[[647,24],[842,26]]},"734":{"position":[[211,24],[354,26]]},"739":{"position":[[198,24],[331,27]]},"759":{"position":[[241,24],[670,27]]},"760":{"position":[[337,24],[666,27]]},"825":{"position":[[383,27]]},"829":{"position":[[522,24],[690,26]]},"862":{"position":[[379,24],[581,26]]},"898":{"position":[[2228,24],[2363,26]]},"904":{"position":[[628,24],[760,26]]},"960":{"position":[[196,24],[342,27]]},"962":{"position":[[667,24],[801,26]]},"966":{"position":[[583,27],[701,27]]},"967":{"position":[[168,27],[286,27]]},"1013":{"position":[[346,27]]},"1114":{"position":[[495,24],[757,27]]},"1118":{"position":[[687,27]]},"1121":{"position":[[497,27]]},"1156":{"position":[[302,26]]},"1158":{"position":[[86,24],[240,26]]},"1159":{"position":[[272,25],[426,26]]},"1218":{"position":[[625,24],[796,27]]},"1222":{"position":[[88,24],[393,26]]},"1286":{"position":[[271,24],[442,26]]},"1287":{"position":[[317,24],[492,26]]},"1288":{"position":[[277,24],[458,26]]},"1311":{"position":[[209,26]]}},"keywords":{}}],["getrxstorageloki",{"_index":1248,"title":{},"content":{"188":{"position":[[688,16],[1091,18]]},"772":{"position":[[2264,16],[2446,18]]},"1172":{"position":[[51,16],[353,18]]}},"keywords":{}}],["getrxstoragememori",{"_index":1612,"title":{},"content":{"266":{"position":[[590,18],[711,20]]},"554":{"position":[[748,18],[978,20]]},"693":{"position":[[790,18],[944,21],[1094,18]]},"773":{"position":[[486,18],[607,20]]},"872":{"position":[[1603,18],[1759,20]]},"1090":{"position":[[454,18]]},"1168":{"position":[[67,18],[188,20]]},"1219":{"position":[[272,18],[738,20]]}},"keywords":{}}],["getrxstoragemongodb",{"_index":5387,"title":{},"content":{"962":{"position":[[888,19],[1017,21]]},"1189":{"position":[[133,19],[318,19],[451,21]]}},"keywords":{}}],["getrxstorageopf",{"_index":6234,"title":{},"content":{"1211":{"position":[[125,18]]},"1212":{"position":[[304,16],[458,19]]},"1213":{"position":[[601,16],[678,18]]}},"keywords":{}}],["getrxstorageopfsmainthread",{"_index":6235,"title":{},"content":{"1211":{"position":[[271,28],[582,26],[724,28]]},"1239":{"position":[[686,26],[897,28]]}},"keywords":{}}],["getrxstoragepouch",{"_index":26,"title":{},"content":{"1":{"position":[[368,17]]},"8":{"position":[[791,17]]},"11":{"position":[[865,18]]},"1201":{"position":[[51,18],[228,18]]}},"keywords":{}}],["getrxstoragepouch('idb",{"_index":56,"title":{},"content":{"3":{"position":[[267,24]]}},"keywords":{}}],["getrxstoragepouch('indexeddb",{"_index":74,"title":{},"content":{"4":{"position":[[445,30]]}},"keywords":{}}],["getrxstoragepouch('memori",{"_index":38,"title":{},"content":{"1":{"position":[[584,27]]}},"keywords":{}}],["getrxstoragepouch('nod",{"_index":135,"title":{},"content":{"9":{"position":[[301,23]]}},"keywords":{}}],["getrxstoragepouch('react",{"_index":132,"title":{},"content":{"8":{"position":[[1156,24]]}},"keywords":{}}],["getrxstoragepouch('websql",{"_index":80,"title":{},"content":{"5":{"position":[[355,27]]},"7":{"position":[[387,27],[583,27]]}},"keywords":{}}],["getrxstoragepouch(asyncstoragedown",{"_index":139,"title":{},"content":{"10":{"position":[[339,35]]}},"keywords":{}}],["getrxstoragepouch(leveldown",{"_index":91,"title":{},"content":{"6":{"position":[[550,28],[748,28]]}},"keywords":{}}],["getrxstoragepouch(memdown",{"_index":48,"title":{},"content":{"2":{"position":[[387,26]]}},"keywords":{}}],["getrxstorageremot",{"_index":6246,"title":{},"content":{"1218":{"position":[[294,18],[367,20]]}},"keywords":{}}],["getrxstorageremotewebsocket",{"_index":6255,"title":{},"content":{"1219":{"position":[[786,27],[909,29]]},"1220":{"position":[[472,29]]}},"keywords":{}}],["getrxstorageshard",{"_index":6262,"title":{},"content":{"1222":{"position":[[10,20],[254,22]]},"1238":{"position":[[452,20],[891,22]]}},"keywords":{}}],["getrxstoragesharedwork",{"_index":6265,"title":{},"content":{"1226":{"position":[[51,24],[265,25]]},"1227":{"position":[[601,24],[743,25]]}},"keywords":{}}],["getrxstoragesqlit",{"_index":1893,"title":{},"content":{"314":{"position":[[1083,20]]},"772":{"position":[[1471,19],[1684,20]]},"838":{"position":[[2425,20]]},"1271":{"position":[[752,18]]},"1274":{"position":[[51,19],[368,20]]},"1275":{"position":[[169,19],[379,20]]},"1276":{"position":[[441,19],[981,20]]},"1277":{"position":[[192,19],[518,20],[726,19],[874,20]]},"1278":{"position":[[295,19],[527,20],[747,19],[979,20]]},"1279":{"position":[[360,19],[755,20]]},"1280":{"position":[[291,19],[490,20]]},"1282":{"position":[[675,20],[767,20],[1099,21],[1138,20]]}},"keywords":{}}],["getrxstoragesqlitetri",{"_index":3811,"title":{},"content":{"662":{"position":[[1928,24],[2173,25]]},"838":{"position":[[2068,24]]},"1271":{"position":[[1126,24],[1421,25]]}},"keywords":{}}],["getrxstoragework",{"_index":6228,"title":{},"content":{"1210":{"position":[[333,18],[469,19]]},"1213":{"position":[[241,20]]},"1238":{"position":[[530,18],[923,20]]},"1264":{"position":[[51,18],[187,19]]},"1265":{"position":[[595,18],[731,19]]},"1267":{"position":[[14,20],[269,20],[433,20],[489,20]]},"1268":{"position":[[124,20],[434,20]]}},"keywords":{}}],["getsqlitebasicscapacitor",{"_index":3812,"title":{},"content":{"662":{"position":[[1953,24]]},"838":{"position":[[2093,24]]},"1279":{"position":[[247,24],[380,24]]}},"keywords":{}}],["getsqlitebasicscapacitor(sqlit",{"_index":3815,"title":{},"content":{"662":{"position":[[2213,32]]},"1279":{"position":[[1035,32]]},"1282":{"position":[[802,32],[1173,32]]}},"keywords":{}}],["getsqlitebasicsexposqlit",{"_index":6354,"title":{},"content":{"1278":{"position":[[767,25]]}},"keywords":{}}],["getsqlitebasicsexposqlite(opendatabas",{"_index":6356,"title":{},"content":{"1278":{"position":[[1014,39]]}},"keywords":{}}],["getsqlitebasicsexposqliteasync",{"_index":6352,"title":{},"content":{"1278":{"position":[[203,32],[315,30]]}},"keywords":{}}],["getsqlitebasicsexposqliteasync(sqlite.opendatabaseasync",{"_index":6353,"title":{},"content":{"1278":{"position":[[562,56]]}},"keywords":{}}],["getsqlitebasicsnod",{"_index":4572,"title":{},"content":{"772":{"position":[[1491,19]]},"1272":{"position":[[470,21]]},"1274":{"position":[[71,19]]}},"keywords":{}}],["getsqlitebasicsnode(sqlite3",{"_index":4574,"title":{},"content":{"772":{"position":[[1719,28]]},"1274":{"position":[[648,28]]}},"keywords":{}}],["getsqlitebasicsnoden",{"_index":6331,"title":{},"content":{"1271":{"position":[[1151,25]]},"1272":{"position":[[536,27]]},"1275":{"position":[[189,25]]}},"keywords":{}}],["getsqlitebasicsnodenative(databasesync",{"_index":6334,"title":{},"content":{"1271":{"position":[[1461,39]]},"1275":{"position":[[414,39]]}},"keywords":{}}],["getsqlitebasicsquicksqlit",{"_index":6349,"title":{},"content":{"1277":{"position":[[56,26],[212,26]]}},"keywords":{}}],["getsqlitebasicsquicksqlite(open",{"_index":4794,"title":{},"content":{"838":{"position":[[2460,32]]},"1277":{"position":[[553,32]]}},"keywords":{}}],["getsqlitebasicstauri",{"_index":6361,"title":{},"content":{"1280":{"position":[[177,20],[311,20]]}},"keywords":{}}],["getsqlitebasicstauri(sqlite3",{"_index":6363,"title":{},"content":{"1280":{"position":[[525,29]]}},"keywords":{}}],["getsqlitebasicswasm",{"_index":6340,"title":{},"content":{"1276":{"position":[[461,19]]}},"keywords":{}}],["getsqlitebasicswasm(sqlite3",{"_index":6347,"title":{},"content":{"1276":{"position":[[1016,28]]}},"keywords":{}}],["getsqlitebasicswebsql",{"_index":6350,"title":{},"content":{"1277":{"position":[[746,21]]}},"keywords":{}}],["getsqlitebasicswebsql(sqlite.opendatabas",{"_index":6351,"title":{},"content":{"1277":{"position":[[909,42]]}},"keywords":{}}],["getstringdata",{"_index":5312,"title":{"932":{"position":[[0,16]]}},"content":{},"keywords":{}}],["getter",{"_index":4684,"title":{"811":{"position":[[4,7]]}},"content":{"811":{"position":[[59,7]]},"1040":{"position":[[48,7]]},"1050":{"position":[[3,6]]},"1084":{"position":[[113,7]]}},"keywords":{}}],["getter/sett",{"_index":4557,"title":{},"content":{"770":{"position":[[239,13]]}},"keywords":{}}],["getvectorfromtext",{"_index":2256,"title":{},"content":{"392":{"position":[[3506,17]]}},"keywords":{}}],["getvectorfromtext(doc.text",{"_index":2247,"title":{},"content":{"392":{"position":[[2849,28]]}},"keywords":{}}],["getvectorfromtext(e.data.text",{"_index":2260,"title":{},"content":{"392":{"position":[[3600,31]]}},"keywords":{}}],["getvectorfromtextwithworker(doc.bodi",{"_index":2283,"title":{},"content":{"392":{"position":[[4806,38]]}},"keywords":{}}],["getvectorfromtextwithworker(text",{"_index":2269,"title":{},"content":{"392":{"position":[[4044,33]]}},"keywords":{}}],["gibson",{"_index":5724,"title":{},"content":{"1051":{"position":[[277,9],[547,9]]}},"keywords":{}}],["gigabyt",{"_index":2534,"title":{},"content":{"408":{"position":[[921,9],[1089,9]]},"412":{"position":[[6761,12],[6999,11]]},"461":{"position":[[1338,9]]},"696":{"position":[[1228,9]]}},"keywords":{}}],["git",{"_index":2667,"title":{},"content":{"412":{"position":[[1987,3],[3597,3]]},"666":{"position":[[147,3]]},"731":{"position":[[61,3]]},"982":{"position":[[53,4]]}},"keywords":{}}],["github",{"_index":523,"title":{},"content":{"33":{"position":[[511,6]]},"38":{"position":[[848,6]]},"56":{"position":[[84,6]]},"61":{"position":[[94,6],[187,7],[259,6]]},"84":{"position":[[120,6],[158,6]]},"114":{"position":[[133,6],[171,6]]},"149":{"position":[[133,6],[171,6],[464,6]]},"175":{"position":[[126,6],[164,6]]},"198":{"position":[[548,6]]},"241":{"position":[[237,6]]},"263":{"position":[[645,6]]},"306":{"position":[[282,6]]},"347":{"position":[[133,6],[171,6]]},"362":{"position":[[1204,6],[1242,6]]},"373":{"position":[[237,6]]},"405":{"position":[[158,6]]},"462":{"position":[[502,6]]},"471":{"position":[[67,6],[143,6]]},"483":{"position":[[970,7]]},"498":{"position":[[377,6],[436,6]]},"511":{"position":[[133,6],[171,6]]},"531":{"position":[[133,6],[171,6],[462,6]]},"543":{"position":[[91,6]]},"548":{"position":[[93,6]]},"557":{"position":[[224,6]]},"567":{"position":[[443,6]]},"591":{"position":[[133,6],[171,6],[593,7]]},"603":{"position":[[89,6]]},"608":{"position":[[93,6]]},"628":{"position":[[245,6]]},"644":{"position":[[302,6]]},"824":{"position":[[413,6]]},"913":{"position":[[196,6],[262,6]]},"1112":{"position":[[43,6],[126,6]]}},"keywords":{}}],["githublearn",{"_index":2513,"title":{},"content":{"405":{"position":[[87,11]]}},"keywords":{}}],["give",{"_index":1595,"title":{},"content":{"263":{"position":[[59,5]]},"399":{"position":[[572,4]]},"407":{"position":[[747,5]]},"411":{"position":[[5309,6]]},"412":{"position":[[12422,4]]},"418":{"position":[[561,6]]},"455":{"position":[[142,4]]},"469":{"position":[[1366,5]]},"498":{"position":[[695,4]]},"581":{"position":[[81,6]]},"617":{"position":[[1350,5]]},"686":{"position":[[862,5]]},"774":{"position":[[856,5]]},"1009":{"position":[[663,5]]},"1132":{"position":[[36,5]]},"1207":{"position":[[486,5]]},"1219":{"position":[[138,4]]},"1294":{"position":[[1873,4]]},"1322":{"position":[[120,4]]}},"keywords":{}}],["given",{"_index":2303,"title":{},"content":{"394":{"position":[[227,5]]},"402":{"position":[[1434,5]]},"412":{"position":[[5877,5]]},"459":{"position":[[501,5]]},"617":{"position":[[585,5]]},"724":{"position":[[797,5]]},"749":{"position":[[13,5],[575,5],[1315,5],[2330,5],[2392,5],[8140,5],[8346,5],[11893,5],[13130,5],[18831,5],[18937,5]]},"797":{"position":[[107,5]]},"848":{"position":[[241,5]]},"875":{"position":[[1451,5],[1822,5]]},"878":{"position":[[115,5]]},"885":{"position":[[231,5]]},"957":{"position":[[21,5]]},"978":{"position":[[21,5]]},"981":{"position":[[1642,5]]},"983":{"position":[[300,5]]},"984":{"position":[[360,5]]},"988":{"position":[[2956,5],[3053,5]]},"1002":{"position":[[238,5]]},"1022":{"position":[[312,5]]},"1023":{"position":[[621,5]]},"1039":{"position":[[44,5]]},"1043":{"position":[[16,5]]},"1053":{"position":[[21,5]]},"1063":{"position":[[21,5]]},"1070":{"position":[[21,5]]},"1097":{"position":[[183,5]]},"1100":{"position":[[560,5]]},"1104":{"position":[[285,5]]},"1114":{"position":[[896,5]]},"1172":{"position":[[537,5]]},"1252":{"position":[[115,5]]},"1294":{"position":[[1990,5]]},"1322":{"position":[[365,5]]}},"keywords":{}}],["global",{"_index":144,"title":{"729":{"position":[[13,6]]},"1202":{"position":[[13,6]]}},"content":{"11":{"position":[[16,6]]},"304":{"position":[[236,6]]},"333":{"position":[[241,8]]},"346":{"position":[[116,8]]},"411":{"position":[[2103,6]]},"418":{"position":[[462,6],[801,6]]},"460":{"position":[[852,6]]},"579":{"position":[[918,6]]},"590":{"position":[[256,6]]},"674":{"position":[[102,6]]},"701":{"position":[[85,6]]},"729":{"position":[[116,6],[207,6]]},"785":{"position":[[193,6],[459,6]]},"852":{"position":[[30,6]]},"873":{"position":[[71,7]]},"1123":{"position":[[52,8]]},"1124":{"position":[[1564,6]]},"1202":{"position":[[160,6],[246,6]]}},"keywords":{}}],["global.atob",{"_index":120,"title":{},"content":{"8":{"position":[[579,14],[596,11]]}},"keywords":{}}],["global.btoa",{"_index":119,"title":{},"content":{"8":{"position":[[535,14],[552,11]]}},"keywords":{}}],["go",{"_index":387,"title":{"670":{"position":[[3,3]]}},"content":{"23":{"position":[[301,2]]},"29":{"position":[[477,5]]},"249":{"position":[[125,3]]},"404":{"position":[[54,3]]},"408":{"position":[[3928,2]]},"412":{"position":[[140,2],[9936,2],[13995,2]]},"437":{"position":[[58,2]]},"491":{"position":[[1621,2]]},"620":{"position":[[352,2]]},"662":{"position":[[861,2]]},"670":{"position":[[274,2]]},"686":{"position":[[183,2]]},"698":{"position":[[93,2]]},"708":{"position":[[416,2]]},"709":{"position":[[704,2],[1168,2]]},"723":{"position":[[2233,2]]},"778":{"position":[[332,2]]},"836":{"position":[[1596,2]]},"862":{"position":[[53,2]]},"987":{"position":[[958,2]]},"988":{"position":[[6083,2]]},"1198":{"position":[[1096,2]]},"1304":{"position":[[1075,2],[1178,2]]},"1316":{"position":[[470,2],[3495,2]]}},"keywords":{}}],["goal",{"_index":290,"title":{},"content":{"17":{"position":[[183,4]]},"27":{"position":[[136,4]]},"380":{"position":[[23,4]]},"981":{"position":[[113,5]]},"1087":{"position":[[53,4]]},"1177":{"position":[[202,5]]},"1204":{"position":[[203,5]]}},"keywords":{}}],["god",{"_index":795,"title":{},"content":{"52":{"position":[[230,4]]},"539":{"position":[[230,4]]},"599":{"position":[[248,4]]}},"keywords":{}}],["goe",{"_index":1564,"title":{},"content":{"253":{"position":[[212,4]]},"407":{"position":[[595,4]]},"410":{"position":[[1445,4]]},"414":{"position":[[352,4]]},"610":{"position":[[1254,4]]},"700":{"position":[[953,4]]},"701":{"position":[[30,4]]},"702":{"position":[[435,4]]},"709":{"position":[[288,4]]},"981":{"position":[[1083,4]]},"985":{"position":[[437,4]]},"988":{"position":[[5860,4],[5996,4]]},"996":{"position":[[47,4]]},"1175":{"position":[[173,4]]},"1314":{"position":[[572,4]]},"1316":{"position":[[3835,4]]},"1321":{"position":[[376,4]]}},"keywords":{}}],["gone",{"_index":5419,"title":{},"content":{"977":{"position":[[127,4]]}},"keywords":{}}],["good",{"_index":16,"title":{"67":{"position":[[39,4]]},"71":{"position":[[14,4]]},"98":{"position":[[40,4]]},"102":{"position":[[14,4]]},"225":{"position":[[28,4]]},"229":{"position":[[14,4]]}},"content":{"1":{"position":[[237,4]]},"5":{"position":[[174,4]]},"127":{"position":[[20,4]]},"131":{"position":[[318,4]]},"393":{"position":[[1118,4]]},"396":{"position":[[919,4],[1232,4]]},"402":{"position":[[1077,4]]},"404":{"position":[[46,4]]},"450":{"position":[[493,4]]},"455":{"position":[[324,4]]},"470":{"position":[[76,4],[477,4]]},"496":{"position":[[121,4]]},"535":{"position":[[575,4]]},"557":{"position":[[76,4]]},"560":{"position":[[298,4]]},"595":{"position":[[602,4]]},"620":{"position":[[262,4]]},"659":{"position":[[703,4]]},"661":{"position":[[1662,4]]},"696":{"position":[[587,4]]},"700":{"position":[[552,4]]},"711":{"position":[[2104,4]]},"815":{"position":[[263,4]]},"836":{"position":[[2230,4]]},"839":{"position":[[311,4],[1189,4]]},"841":{"position":[[914,5],[1064,4]]},"842":{"position":[[3,4]]},"1152":{"position":[[46,4]]},"1192":{"position":[[163,4]]},"1198":{"position":[[1507,4]]},"1209":{"position":[[302,4]]},"1222":{"position":[[770,4]]},"1249":{"position":[[342,4]]},"1301":{"position":[[1581,4]]}},"keywords":{}}],["googl",{"_index":197,"title":{},"content":{"14":{"position":[[39,6]]},"116":{"position":[[72,7]]},"177":{"position":[[66,6]]},"301":{"position":[[661,6]]},"411":{"position":[[5638,7]]},"412":{"position":[[14680,6]]},"462":{"position":[[331,6]]},"504":{"position":[[1115,6]]},"840":{"position":[[151,7]]},"841":{"position":[[261,6],[1541,6]]}},"keywords":{}}],["google'",{"_index":1304,"title":{},"content":{"202":{"position":[[48,8]]},"247":{"position":[[70,8]]},"289":{"position":[[1015,8]]},"412":{"position":[[1058,8]]}},"keywords":{}}],["goto",{"_index":1675,"title":{},"content":{"287":{"position":[[1106,4]]}},"keywords":{}}],["gpu",{"_index":2570,"title":{},"content":{"408":{"position":[[5205,3]]}},"keywords":{}}],["gql1",{"_index":4415,"title":{},"content":{"749":{"position":[[22348,4]]}},"keywords":{}}],["gql3",{"_index":4416,"title":{},"content":{"749":{"position":[[22455,4]]}},"keywords":{}}],["gracefulli",{"_index":1782,"title":{},"content":{"300":{"position":[[781,10]]},"302":{"position":[[271,10]]},"312":{"position":[[263,10]]},"369":{"position":[[600,11]]},"375":{"position":[[763,11]]},"491":{"position":[[1448,10]]},"497":{"position":[[248,11]]},"544":{"position":[[217,10]]},"604":{"position":[[189,10]]},"632":{"position":[[509,10]]}},"keywords":{}}],["gracefully.scal",{"_index":3517,"title":{},"content":{"582":{"position":[[599,19]]}},"keywords":{}}],["grain",{"_index":970,"title":{},"content":{"75":{"position":[[78,7]]},"106":{"position":[[156,7]]},"412":{"position":[[12842,7]]},"542":{"position":[[136,7]]},"551":{"position":[[398,7]]},"563":{"position":[[978,7]]},"635":{"position":[[330,7]]}},"keywords":{}}],["grant",{"_index":4016,"title":{},"content":{"715":{"position":[[152,6]]}},"keywords":{}}],["granular",{"_index":1041,"title":{},"content":{"106":{"position":[[61,8]]},"174":{"position":[[1058,11]]},"235":{"position":[[85,8]]},"681":{"position":[[107,8]]},"860":{"position":[[952,8]]},"1206":{"position":[[280,8]]}},"keywords":{}}],["graph",{"_index":472,"title":{},"content":{"29":{"position":[[21,5]]},"396":{"position":[[358,5],[441,5],[605,5]]},"1320":{"position":[[740,5]]}},"keywords":{}}],["graphic",{"_index":2575,"title":{},"content":{"408":{"position":[[5369,8]]}},"keywords":{}}],["graphql",{"_index":242,"title":{"883":{"position":[[17,7]]},"885":{"position":[[22,7]]}},"content":{"14":{"position":[[1146,7]]},"18":{"position":[[445,7]]},"37":{"position":[[12,7],[95,7],[145,7],[207,7]]},"202":{"position":[[307,8]]},"249":{"position":[[244,7]]},"255":{"position":[[1690,8]]},"312":{"position":[[167,8]]},"381":{"position":[[328,7]]},"412":{"position":[[12997,7]]},"565":{"position":[[125,8]]},"566":{"position":[[1178,8]]},"632":{"position":[[777,8]]},"698":{"position":[[1726,7]]},"701":{"position":[[1179,7]]},"749":{"position":[[22353,7],[22460,7]]},"793":{"position":[[675,7]]},"838":{"position":[[643,7]]},"841":{"position":[[781,8]]},"884":{"position":[[20,7]]},"885":{"position":[[1402,7],[2718,7]]},"886":{"position":[[192,7],[344,7],[975,9],[1073,7],[2242,7],[2705,7],[3045,7],[3892,7],[4454,7]]},"887":{"position":[[1,7],[548,7]]},"888":{"position":[[75,7],[1000,7]]},"889":{"position":[[1092,7]]},"890":{"position":[[201,7],[1009,7]]},"1124":{"position":[[2251,8]]},"1149":{"position":[[236,7]]},"1231":{"position":[[723,9]]},"1308":{"position":[[182,7]]}},"keywords":{}}],["graphql'",{"_index":6082,"title":{},"content":{"1149":{"position":[[314,9]]}},"keywords":{}}],["graphql.check",{"_index":3723,"title":{},"content":{"644":{"position":[[154,13]]}},"keywords":{}}],["graphqlschemafromrxschema",{"_index":5166,"title":{},"content":{"889":{"position":[[846,28]]}},"keywords":{}}],["great",{"_index":555,"title":{"247":{"position":[[18,5]]},"277":{"position":[[0,5]]},"283":{"position":[[0,5]]}},"content":{"35":{"position":[[309,5]]},"61":{"position":[[502,5]]},"271":{"position":[[302,5]]},"566":{"position":[[1402,5]]},"576":{"position":[[180,5]]},"662":{"position":[[224,5]]},"704":{"position":[[106,6]]},"772":{"position":[[2049,5]]},"774":{"position":[[882,5]]},"775":{"position":[[51,5]]},"838":{"position":[[253,5]]},"1120":{"position":[[420,5]]},"1157":{"position":[[425,5]]},"1198":{"position":[[198,5]]},"1247":{"position":[[36,5]]},"1316":{"position":[[2510,5],[2582,5]]}},"keywords":{}}],["greater",{"_index":2583,"title":{},"content":{"409":{"position":[[93,7]]},"410":{"position":[[621,7]]},"751":{"position":[[109,7]]},"1076":{"position":[[69,7]]},"1294":{"position":[[315,7]]},"1296":{"position":[[298,7]]}},"keywords":{}}],["greatest",{"_index":2162,"title":{},"content":{"383":{"position":[[15,8]]}},"keywords":{}}],["greatli",{"_index":1001,"title":{},"content":{"87":{"position":[[156,7]]},"151":{"position":[[276,7]]},"353":{"position":[[778,7]]},"446":{"position":[[567,7]]}},"keywords":{}}],["grind",{"_index":2599,"title":{},"content":{"410":{"position":[[1331,5]]}},"keywords":{}}],["group",{"_index":2025,"title":{},"content":{"354":{"position":[[770,10]]},"376":{"position":[[343,8]]},"390":{"position":[[1327,6]]},"981":{"position":[[831,8]]},"1140":{"position":[[87,9]]}},"keywords":{}}],["group"",{"_index":5587,"title":{},"content":{"1009":{"position":[[230,11]]}},"keywords":{}}],["grow",{"_index":1606,"title":{},"content":{"265":{"position":[[709,6]]},"294":{"position":[[331,5]]},"369":{"position":[[551,5],[828,7]]},"382":{"position":[[242,5]]},"394":{"position":[[1525,5]]},"411":{"position":[[3738,6]]},"412":{"position":[[15121,7]]},"421":{"position":[[1079,7]]},"441":{"position":[[231,6]]},"477":{"position":[[120,6],[265,5]]},"559":{"position":[[1604,5]]},"1092":{"position":[[643,4]]}},"keywords":{}}],["grown",{"_index":2543,"title":{},"content":{"408":{"position":[[2138,6]]}},"keywords":{}}],["gt",{"_index":164,"title":{},"content":{"11":{"position":[[601,5],[653,5]]},"19":{"position":[[683,5],[697,5],[879,5]]},"50":{"position":[[177,6]]},"55":{"position":[[531,5]]},"77":{"position":[[251,4],[310,5]]},"103":{"position":[[291,4],[350,5]]},"129":{"position":[[674,6]]},"143":{"position":[[511,5],[546,5],[692,5],[731,5]]},"209":{"position":[[741,5],[1028,5]]},"210":{"position":[[576,5]]},"234":{"position":[[351,4],[410,5]]},"235":{"position":[[314,5]]},"255":{"position":[[1098,5],[1363,5]]},"261":{"position":[[937,5]]},"335":{"position":[[312,5],[415,5],[619,5]]},"392":{"position":[[2771,5],[2817,5],[3568,5],[3915,5],[4286,5],[4321,5],[4724,5],[4774,5]]},"394":{"position":[[781,5]]},"397":{"position":[[1812,5],[1858,5],[2072,5]]},"398":{"position":[[886,5],[1237,4],[1367,5],[1409,5],[1497,5],[2172,5],[2375,4],[2527,5],[2650,5]]},"403":{"position":[[913,5]]},"412":{"position":[[9825,4],[9841,4]]},"432":{"position":[[924,5]]},"458":{"position":[[866,5]]},"459":{"position":[[865,5],[901,5],[959,5]]},"480":{"position":[[854,5]]},"494":{"position":[[351,5]]},"502":{"position":[[966,4],[1094,5]]},"518":{"position":[[433,4],[561,5]]},"523":{"position":[[682,5],[738,5]]},"541":{"position":[[308,5],[428,5],[472,5],[604,5]]},"542":{"position":[[855,5]]},"555":{"position":[[182,5]]},"559":{"position":[[314,5],[426,5],[639,5],[718,5]]},"562":{"position":[[1179,5],[1326,5],[1370,5],[1475,5]]},"571":{"position":[[907,4],[1030,5],[1141,5],[1349,5]]},"580":{"position":[[425,5],[534,4],[674,5]]},"601":{"position":[[502,5],[662,5]]},"602":{"position":[[518,4]]},"610":{"position":[[974,5],[1008,5],[1143,5]]},"612":{"position":[[1272,5],[1871,5],[2023,5],[2238,5],[2426,5],[2500,5]]},"632":{"position":[[1821,5],[2408,5],[2524,5]]},"649":{"position":[[303,5],[338,4]]},"659":{"position":[[616,4]]},"662":{"position":[[2846,5]]},"672":{"position":[[135,5]]},"673":{"position":[[141,5]]},"674":{"position":[[424,5]]},"691":{"position":[[255,5],[319,5]]},"710":{"position":[[2153,5]]},"711":{"position":[[1251,5],[1537,5],[1568,5],[1605,5]]},"724":{"position":[[967,5],[1028,5]]},"739":{"position":[[503,5],[606,5]]},"740":{"position":[[612,5],[650,4]]},"747":{"position":[[213,5],[271,5],[338,5]]},"751":{"position":[[1405,5]]},"752":{"position":[[964,5],[1003,5],[1044,5]]},"753":{"position":[[328,5],[369,5]]},"759":{"position":[[944,5]]},"760":{"position":[[832,5]]},"767":{"position":[[574,5],[983,5]]},"768":{"position":[[576,5],[985,5]]},"769":{"position":[[533,5],[954,5]]},"770":{"position":[[421,5]]},"796":{"position":[[463,4],[510,4],[1379,4]]},"798":{"position":[[585,4]]},"799":{"position":[[548,5],[780,5]]},"810":{"position":[[465,6]]},"811":{"position":[[460,6]]},"812":{"position":[[307,6]]},"813":{"position":[[458,6]]},"820":{"position":[[580,4],[632,4]]},"825":{"position":[[841,6]]},"829":{"position":[[1407,5],[1472,5],[1504,5],[2477,5],[3392,5],[3551,5]]},"838":{"position":[[3060,5]]},"846":{"position":[[852,5],[1287,5]]},"848":{"position":[[215,5]]},"857":{"position":[[366,5]]},"858":{"position":[[397,5],[518,5],[527,6]]},"861":{"position":[[2359,4],[2374,4]]},"872":{"position":[[828,6],[1523,6],[2263,6],[3083,6],[3758,6]]},"875":{"position":[[312,4],[783,4],[1208,5],[2006,4],[2098,5],[2461,4],[2518,4],[3054,4],[4252,4],[4466,5],[5184,4],[5489,4],[6098,4],[7206,4],[7255,5],[7430,5],[7515,5],[8024,4],[8235,5],[8944,4],[8984,5],[9443,4],[9651,5]]},"879":{"position":[[658,5]]},"880":{"position":[[371,5]]},"881":{"position":[[381,5]]},"885":{"position":[[1496,5],[1727,5],[1751,4],[1868,4],[2058,5],[2135,4],[2256,4]]},"886":{"position":[[408,5],[1221,5],[2301,5],[3121,5],[3501,5]]},"887":{"position":[[457,5],[617,5]]},"898":{"position":[[2960,6],[3217,6],[3530,5],[3688,5],[4108,5]]},"904":{"position":[[3493,5]]},"907":{"position":[[342,5]]},"910":{"position":[[421,5],[441,5]]},"921":{"position":[[222,5]]},"939":{"position":[[289,6]]},"941":{"position":[[138,5],[286,5],[362,5],[438,5]]},"944":{"position":[[300,4]]},"945":{"position":[[195,4]]},"948":{"position":[[501,4],[770,4]]},"950":{"position":[[324,5],[460,5]]},"952":{"position":[[340,5]]},"953":{"position":[[141,5]]},"956":{"position":[[268,5],[334,5]]},"970":{"position":[[125,5]]},"971":{"position":[[450,5]]},"972":{"position":[[141,5]]},"975":{"position":[[311,5],[505,5]]},"979":{"position":[[270,5],[373,4]]},"983":{"position":[[904,4],[989,4]]},"988":{"position":[[3379,5],[4708,5],[5567,5],[5687,5],[5730,5],[5771,5]]},"990":{"position":[[1219,5],[1371,4]]},"993":{"position":[[187,5],[304,5],[449,5],[587,5],[724,5]]},"995":{"position":[[1644,5],[1954,5],[1974,4]]},"996":{"position":[[547,5]]},"1002":{"position":[[380,5]]},"1007":{"position":[[1198,4],[2196,5]]},"1009":{"position":[[1100,4]]},"1010":{"position":[[317,5]]},"1017":{"position":[[170,5],[210,4]]},"1018":{"position":[[278,5]]},"1020":{"position":[[476,5]]},"1022":{"position":[[579,5],[820,5]]},"1023":{"position":[[235,5],[489,5]]},"1024":{"position":[[321,5]]},"1033":{"position":[[597,5],[824,5]]},"1039":{"position":[[239,5],[413,5]]},"1040":{"position":[[357,5],[403,4],[485,4]]},"1042":{"position":[[138,5]]},"1044":{"position":[[410,5]]},"1045":{"position":[[271,4]]},"1046":{"position":[[162,5]]},"1048":{"position":[[561,5]]},"1049":{"position":[[138,5]]},"1055":{"position":[[230,4]]},"1057":{"position":[[164,4]]},"1058":{"position":[[280,5],[342,4],[462,4]]},"1059":{"position":[[265,4]]},"1060":{"position":[[133,4]]},"1061":{"position":[[134,4],[179,5]]},"1063":{"position":[[148,4],[203,4],[252,4],[307,4]]},"1065":{"position":[[290,5],[869,5],[1158,5],[1380,5],[1497,5]]},"1066":{"position":[[391,4]]},"1067":{"position":[[330,4],[478,4],[537,5],[1591,4],[1617,4],[2190,5]]},"1100":{"position":[[773,4]]},"1101":{"position":[[430,4],[612,4]]},"1115":{"position":[[344,5],[410,5],[480,5]]},"1117":{"position":[[465,5]]},"1139":{"position":[[362,6]]},"1140":{"position":[[691,5]]},"1145":{"position":[[351,6]]},"1150":{"position":[[460,5]]},"1164":{"position":[[1523,5]]},"1198":{"position":[[1041,3]]},"1218":{"position":[[452,5]]},"1220":{"position":[[619,4]]},"1249":{"position":[[502,4]]},"1268":{"position":[[161,5],[471,5],[542,6]]},"1290":{"position":[[128,5]]},"1294":{"position":[[1159,5],[1538,5],[1586,5]]}},"keywords":{}}],["gt(18",{"_index":5355,"title":{},"content":{"949":{"position":[[176,7]]}},"keywords":{}}],["gt;'bar",{"_index":4672,"title":{},"content":{"806":{"position":[[689,12]]}},"keywords":{}}],["gt;=0",{"_index":4367,"title":{},"content":{"749":{"position":[[17805,6]]}},"keywords":{}}],["gt;onlin",{"_index":5455,"title":{},"content":{"988":{"position":[[985,10]]}},"keywords":{}}],["gt;reproduc",{"_index":3101,"title":{},"content":{"471":{"position":[[31,13]]}},"keywords":{}}],["gt;storag",{"_index":2562,"title":{},"content":{"408":{"position":[[4035,11]]}},"keywords":{}}],["gt;valu",{"_index":3773,"title":{},"content":{"659":{"position":[[81,9]]},"835":{"position":[[23,9]]}},"keywords":{}}],["gte",{"_index":4640,"title":{},"content":{"796":{"position":[[539,5],[948,5]]}},"keywords":{}}],["guarante",{"_index":2117,"title":{},"content":{"367":{"position":[[496,12]]},"418":{"position":[[441,10]]},"445":{"position":[[759,12]]},"502":{"position":[[1197,12]]},"504":{"position":[[1191,10]]},"525":{"position":[[254,10]]},"569":{"position":[[171,10],[895,9],[1449,9]]},"699":{"position":[[949,9]]},"716":{"position":[[75,9]]},"927":{"position":[[141,9]]},"951":{"position":[[487,10]]},"1033":{"position":[[99,10]]},"1123":{"position":[[277,10]]},"1304":{"position":[[65,9],[365,10]]},"1314":{"position":[[501,9]]}},"keywords":{}}],["guarantee.onlin",{"_index":2792,"title":{},"content":{"417":{"position":[[228,16]]}},"keywords":{}}],["guards.stream",{"_index":5190,"title":{},"content":{"897":{"position":[[264,14]]}},"keywords":{}}],["guess",{"_index":4258,"title":{},"content":{"749":{"position":[[9593,7],[13939,7]]}},"keywords":{}}],["guid",{"_index":884,"title":{"423":{"position":[[59,5]]}},"content":{"61":{"position":[[60,6]]},"84":{"position":[[332,6]]},"114":{"position":[[345,6]]},"149":{"position":[[345,6]]},"175":{"position":[[338,6]]},"241":{"position":[[153,5]]},"263":{"position":[[410,6]]},"347":{"position":[[345,6]]},"362":{"position":[[1416,6]]},"373":{"position":[[153,5]]},"387":{"position":[[163,7]]},"419":{"position":[[300,7]]},"491":{"position":[[757,5],[1943,6]]},"498":{"position":[[152,5]]},"511":{"position":[[345,6]]},"531":{"position":[[345,6]]},"548":{"position":[[54,6]]},"557":{"position":[[54,6]]},"567":{"position":[[218,6]]},"591":{"position":[[345,6]]},"608":{"position":[[54,6]]},"696":{"position":[[2059,5]]},"824":{"position":[[137,5]]},"899":{"position":[[99,6]]}},"keywords":{}}],["guidecheck",{"_index":1910,"title":{},"content":{"318":{"position":[[394,10]]}},"keywords":{}}],["guidelin",{"_index":3638,"title":{},"content":{"617":{"position":[[819,10]]}},"keywords":{}}],["guild.dev/graphql/ws/docs/interfaces/client.clientopt",{"_index":5143,"title":{},"content":{"886":{"position":[[4493,57]]}},"keywords":{}}],["gun",{"_index":471,"title":{},"content":{"29":{"position":[[1,3],[205,3],[367,3]]}},"keywords":{}}],["gundb",{"_index":470,"title":{"29":{"position":[[0,6]]}},"content":{},"keywords":{}}],["guy",{"_index":3978,"title":{},"content":{"705":{"position":[[1107,3]]}},"keywords":{}}],["gzip",{"_index":5317,"title":{},"content":{"932":{"position":[[1356,7]]},"1292":{"position":[[866,6]]}},"keywords":{}}],["h1rg9ugdd30o",{"_index":5722,"title":{},"content":{"1051":{"position":[[228,15],[498,15]]}},"keywords":{}}],["hack",{"_index":3089,"title":{},"content":{"469":{"position":[[64,5],[147,5]]},"784":{"position":[[389,4]]}},"keywords":{}}],["hackernew",{"_index":3687,"title":{},"content":{"628":{"position":[[15,10]]}},"keywords":{}}],["hackernewsloc",{"_index":2860,"title":{},"content":{"422":{"position":[[29,15]]}},"keywords":{}}],["half",{"_index":2837,"title":{},"content":{"420":{"position":[[1170,4],[1319,4]]},"463":{"position":[[1203,4]]},"468":{"position":[[540,4]]}},"keywords":{}}],["halt",{"_index":2600,"title":{},"content":{"410":{"position":[[1342,5]]},"569":{"position":[[1353,6]]}},"keywords":{}}],["hand",{"_index":897,"title":{},"content":{"64":{"position":[[25,5]]},"101":{"position":[[141,5]]},"203":{"position":[[107,5]]},"227":{"position":[[196,5]]},"228":{"position":[[197,5]]},"291":{"position":[[224,6]]},"425":{"position":[[22,5]]},"458":{"position":[[395,4]]},"624":{"position":[[624,5]]},"661":{"position":[[1400,7]]},"711":{"position":[[1897,7]]},"737":{"position":[[400,4]]},"752":{"position":[[279,5]]},"1315":{"position":[[1006,4]]},"1322":{"position":[[452,4]]}},"keywords":{}}],["handi",{"_index":1963,"title":{},"content":{"336":{"position":[[372,5]]},"436":{"position":[[249,5]]},"710":{"position":[[91,5]]},"1021":{"position":[[21,5]]}},"keywords":{}}],["handl",{"_index":278,"title":{"79":{"position":[[0,8]]},"110":{"position":[[0,8]]},"121":{"position":[[14,9]]},"140":{"position":[[25,9]]},"146":{"position":[[15,9]]},"150":{"position":[[68,8]]},"156":{"position":[[14,9]]},"168":{"position":[[25,9]]},"182":{"position":[[14,9]]},"196":{"position":[[25,9]]},"203":{"position":[[21,9]]},"240":{"position":[[0,8]]},"302":{"position":[[0,8]]},"312":{"position":[[29,9]]},"326":{"position":[[14,9]]},"344":{"position":[[25,9]]},"509":{"position":[[25,9]]},"515":{"position":[[14,9]]},"529":{"position":[[25,9]]},"635":{"position":[[9,9]]},"715":{"position":[[9,9]]},"740":{"position":[[0,6]]},"847":{"position":[[9,9]]},"855":{"position":[[0,8]]},"867":{"position":[[0,8]]},"987":{"position":[[9,9]]},"990":{"position":[[6,9]]},"1111":{"position":[[9,9]]}},"content":{"16":{"position":[[423,9]]},"24":{"position":[[412,8]]},"28":{"position":[[82,7]]},"35":{"position":[[423,9]]},"39":{"position":[[674,8]]},"40":{"position":[[159,6],[531,6]]},"46":{"position":[[654,8]]},"47":{"position":[[885,8]]},"64":{"position":[[114,6]]},"78":{"position":[[53,8]]},"79":{"position":[[36,8]]},"80":{"position":[[61,7]]},"95":{"position":[[63,8]]},"96":{"position":[[241,6]]},"100":{"position":[[36,6]]},"104":{"position":[[114,8]]},"110":{"position":[[16,8],[120,6]]},"117":{"position":[[147,8]]},"120":{"position":[[196,9],[347,9]]},"121":{"position":[[53,9]]},"123":{"position":[[194,7]]},"129":{"position":[[104,8]]},"130":{"position":[[92,6]]},"134":{"position":[[151,6]]},"135":{"position":[[221,7]]},"140":{"position":[[299,8]]},"143":{"position":[[45,8]]},"145":{"position":[[189,6]]},"146":{"position":[[53,9],[237,8]]},"147":{"position":[[135,8]]},"148":{"position":[[87,9]]},"155":{"position":[[113,8]]},"156":{"position":[[59,9]]},"158":{"position":[[115,6]]},"161":{"position":[[218,8]]},"165":{"position":[[222,6]]},"168":{"position":[[38,8]]},"170":{"position":[[193,9]]},"174":{"position":[[2099,8]]},"181":{"position":[[275,8]]},"182":{"position":[[55,9]]},"186":{"position":[[296,9]]},"196":{"position":[[146,8]]},"198":{"position":[[164,8]]},"206":{"position":[[154,6]]},"212":{"position":[[284,6]]},"240":{"position":[[78,8],[185,8]]},"267":{"position":[[525,6],[969,6]]},"274":{"position":[[270,7]]},"280":{"position":[[327,7]]},"287":{"position":[[761,6]]},"289":{"position":[[178,7]]},"300":{"position":[[759,6]]},"301":{"position":[[17,6]]},"302":{"position":[[257,8],[1095,6]]},"305":{"position":[[439,6]]},"306":{"position":[[86,9]]},"310":{"position":[[43,8]]},"312":{"position":[[245,7]]},"317":{"position":[[62,6]]},"320":{"position":[[58,9],[209,8]]},"322":{"position":[[126,8]]},"323":{"position":[[15,9]]},"334":{"position":[[542,8]]},"339":{"position":[[72,8]]},"343":{"position":[[100,7]]},"350":{"position":[[320,6]]},"353":{"position":[[137,9]]},"354":{"position":[[735,6],[1145,9]]},"358":{"position":[[888,8]]},"360":{"position":[[107,6]]},"369":{"position":[[664,6]]},"371":{"position":[[92,8]]},"375":{"position":[[730,6]]},"376":{"position":[[553,6]]},"378":{"position":[[176,9]]},"386":{"position":[[51,8]]},"388":{"position":[[492,6]]},"390":{"position":[[879,6]]},"400":{"position":[[412,6]]},"408":{"position":[[1689,7],[5512,6]]},"411":{"position":[[218,6],[592,6],[1359,6]]},"412":{"position":[[976,6],[4111,8],[7481,6],[11578,8],[11620,6],[12629,8],[13547,9],[14030,8],[14866,8]]},"416":{"position":[[58,8]]},"420":{"position":[[814,6]]},"426":{"position":[[33,8]]},"429":{"position":[[181,8]]},"430":{"position":[[649,8]]},"432":{"position":[[360,6],[1379,7]]},"444":{"position":[[63,6]]},"445":{"position":[[1351,8]]},"446":{"position":[[879,6],[1022,6]]},"454":{"position":[[1020,6]]},"464":{"position":[[1156,6]]},"473":{"position":[[213,8]]},"478":{"position":[[103,6]]},"481":{"position":[[245,6],[452,7]]},"483":{"position":[[475,9],[652,8]]},"486":{"position":[[141,7]]},"487":{"position":[[168,8],[277,9]]},"491":{"position":[[809,8],[1072,7],[1102,8]]},"495":{"position":[[251,6]]},"497":{"position":[[215,6]]},"506":{"position":[[171,8]]},"513":{"position":[[285,9]]},"515":{"position":[[66,9]]},"520":{"position":[[483,8]]},"526":{"position":[[53,8]]},"529":{"position":[[151,8]]},"530":{"position":[[370,9]]},"535":{"position":[[950,7]]},"544":{"position":[[195,6]]},"556":{"position":[[17,8]]},"559":{"position":[[1408,6]]},"566":{"position":[[933,6]]},"567":{"position":[[280,8]]},"574":{"position":[[509,9]]},"576":{"position":[[376,8]]},"579":{"position":[[550,8]]},"582":{"position":[[574,6]]},"586":{"position":[[18,8]]},"595":{"position":[[1025,7]]},"604":{"position":[[167,6]]},"611":{"position":[[1346,7]]},"612":{"position":[[1212,8]]},"617":{"position":[[1076,6]]},"623":{"position":[[689,8]]},"632":{"position":[[436,6],[468,8]]},"634":{"position":[[498,8]]},"635":{"position":[[456,8]]},"638":{"position":[[36,6]]},"643":{"position":[[269,6]]},"644":{"position":[[190,8]]},"688":{"position":[[196,8]]},"697":{"position":[[375,6]]},"698":{"position":[[2214,6]]},"700":{"position":[[564,6]]},"701":{"position":[[273,8],[521,8]]},"703":{"position":[[467,8]]},"711":{"position":[[1476,8]]},"714":{"position":[[6,7]]},"723":{"position":[[226,6]]},"740":{"position":[[327,6]]},"752":{"position":[[1236,8],[1261,7]]},"779":{"position":[[71,6]]},"800":{"position":[[153,8]]},"801":{"position":[[475,6]]},"802":{"position":[[834,8]]},"829":{"position":[[2126,6]]},"836":{"position":[[2049,8]]},"841":{"position":[[1121,8]]},"844":{"position":[[87,8],[118,7]]},"847":{"position":[[157,8]]},"860":{"position":[[266,9],[737,9],[821,6],[923,6]]},"861":{"position":[[1633,8]]},"863":{"position":[[598,8]]},"870":{"position":[[179,7]]},"886":{"position":[[1292,7]]},"896":{"position":[[281,7]]},"903":{"position":[[512,7]]},"908":{"position":[[17,8],[401,8]]},"913":{"position":[[124,8]]},"943":{"position":[[268,8]]},"962":{"position":[[169,6]]},"981":{"position":[[420,8],[1232,8]]},"990":{"position":[[296,6],[490,8],[1010,6]]},"1007":{"position":[[660,7]]},"1009":{"position":[[424,9]]},"1022":{"position":[[331,6]]},"1031":{"position":[[177,6]]},"1057":{"position":[[309,8],[401,7]]},"1089":{"position":[[148,6]]},"1094":{"position":[[366,6]]},"1111":{"position":[[15,6]]},"1120":{"position":[[169,7],[213,7]]},"1147":{"position":[[360,9]]},"1198":{"position":[[1972,9]]},"1200":{"position":[[53,8]]},"1207":{"position":[[781,7]]},"1258":{"position":[[77,8]]},"1299":{"position":[[24,8]]},"1304":{"position":[[690,8]]},"1307":{"position":[[512,6],[587,8],[831,6]]},"1313":{"position":[[1084,6]]},"1318":{"position":[[171,8]]}},"keywords":{}}],["handler",{"_index":1309,"title":{"690":{"position":[[24,9]]},"691":{"position":[[48,8]]},"1030":{"position":[[9,8]]},"1031":{"position":[[9,8]]},"1032":{"position":[[43,8]]},"1104":{"position":[[5,8]]},"1309":{"position":[[16,8]]}},"content":{"203":{"position":[[207,9]]},"209":{"position":[[719,8],[985,8]]},"255":{"position":[[1071,8],[1320,8],[1631,7]]},"392":{"position":[[1924,7],[2749,8],[3031,7],[4702,8]]},"397":{"position":[[1379,7],[1790,8]]},"403":{"position":[[460,8],[661,7]]},"412":{"position":[[4871,7],[5349,7]]},"463":{"position":[[1041,8]]},"612":{"position":[[881,8]]},"632":{"position":[[2365,8],[2502,8]]},"635":{"position":[[302,8]]},"680":{"position":[[249,8]]},"688":{"position":[[231,8],[267,8],[713,8]]},"690":{"position":[[14,8],[570,8]]},"691":{"position":[[158,7]]},"740":{"position":[[406,8]]},"749":{"position":[[733,7],[870,7],[15493,7],[15759,7],[15897,7],[22932,7]]},"784":{"position":[[155,7]]},"848":{"position":[[1136,7]]},"875":{"position":[[1353,8],[2906,8],[2985,7],[5984,8],[6555,7],[7768,8]]},"888":{"position":[[674,9]]},"889":{"position":[[1003,8]]},"904":{"position":[[1566,7],[2302,7],[2381,7],[2476,8]]},"906":{"position":[[275,8],[838,7]]},"908":{"position":[[205,7],[279,7]]},"934":{"position":[[796,7]]},"983":{"position":[[43,8]]},"986":{"position":[[644,8]]},"987":{"position":[[561,7],[765,7],[1009,7],[1126,8]]},"988":{"position":[[2405,7],[2974,7],[3071,8],[3504,7],[4241,8]]},"993":{"position":[[395,9]]},"1002":{"position":[[676,8],[1330,8]]},"1010":{"position":[[193,7],[254,7]]},"1020":{"position":[[263,7],[454,8]]},"1022":{"position":[[557,8]]},"1023":{"position":[[213,8]]},"1024":{"position":[[299,8]]},"1030":{"position":[[106,7]]},"1031":{"position":[[10,8],[73,7],[201,7]]},"1032":{"position":[[43,8],[170,8]]},"1033":{"position":[[395,8],[575,8],[806,8]]},"1104":{"position":[[268,7]]},"1111":{"position":[[46,7]]},"1117":{"position":[[118,8]]},"1149":{"position":[[438,7]]},"1175":{"position":[[402,7],[554,8]]},"1309":{"position":[[12,7],[151,7],[382,7],[795,7],[976,7],[1080,7],[1252,8]]}},"keywords":{}}],["handler'",{"_index":5654,"title":{},"content":{"1031":{"position":[[124,9]]}},"keywords":{}}],["handler(changeddoc",{"_index":5571,"title":{},"content":{"1007":{"position":[[1640,20]]}},"keywords":{}}],["handler(changerow",{"_index":5036,"title":{},"content":{"875":{"position":[[6192,20]]}},"keywords":{}}],["handler(checkpoint",{"_index":5569,"title":{},"content":{"1007":{"position":[[1476,19]]}},"keywords":{}}],["handler(checkpointornul",{"_index":5006,"title":{},"content":{"875":{"position":[[3148,25]]}},"keywords":{}}],["handler(doc",{"_index":5461,"title":{},"content":{"988":{"position":[[2422,13]]}},"keywords":{}}],["handler(lastcheckpoint",{"_index":5463,"title":{},"content":{"988":{"position":[[3521,23]]}},"keywords":{}}],["handler.avoid",{"_index":5666,"title":{},"content":{"1033":{"position":[[970,13]]}},"keywords":{}}],["happen",{"_index":455,"title":{},"content":{"28":{"position":[[297,7]]},"129":{"position":[[494,9]]},"201":{"position":[[301,6]]},"205":{"position":[[356,6]]},"366":{"position":[[469,7]]},"376":{"position":[[110,6]]},"407":{"position":[[244,7]]},"410":{"position":[[372,6]]},"412":{"position":[[3020,6],[7493,7]]},"415":{"position":[[38,6]]},"421":{"position":[[511,9]]},"464":{"position":[[104,6],[210,9]]},"474":{"position":[[143,6]]},"491":{"position":[[424,6]]},"626":{"position":[[83,8]]},"630":{"position":[[565,6]]},"632":{"position":[[1935,6]]},"698":{"position":[[1101,7],[2246,6]]},"740":{"position":[[27,6],[81,6]]},"745":{"position":[[186,7]]},"749":{"position":[[3342,7],[5916,7],[11950,7],[12050,7],[16713,7],[24394,6]]},"752":{"position":[[41,7]]},"778":{"position":[[376,7]]},"785":{"position":[[68,6]]},"817":{"position":[[90,6]]},"875":{"position":[[1434,8]]},"885":{"position":[[212,8]]},"932":{"position":[[515,7]]},"985":{"position":[[477,6]]},"987":{"position":[[116,6]]},"988":{"position":[[5918,8]]},"990":{"position":[[116,7]]},"993":{"position":[[354,6]]},"1031":{"position":[[289,7]]},"1048":{"position":[[269,7]]},"1072":{"position":[[782,6]]},"1090":{"position":[[1154,7]]},"1115":{"position":[[27,6],[904,9]]},"1116":{"position":[[220,6]]},"1120":{"position":[[655,6]]},"1162":{"position":[[161,6]]},"1174":{"position":[[241,6]]},"1181":{"position":[[227,6]]},"1299":{"position":[[212,6]]},"1300":{"position":[[214,10],[1070,6]]},"1301":{"position":[[1570,8]]},"1304":{"position":[[284,6]]},"1307":{"position":[[22,6],[153,6],[254,6],[667,7]]},"1315":{"position":[[1244,8],[1371,6],[1629,8]]},"1316":{"position":[[171,8],[1655,8]]},"1318":{"position":[[817,7]]}},"keywords":{}}],["happen.conflict",{"_index":3165,"title":{},"content":{"491":{"position":[[385,15]]}},"keywords":{}}],["happier",{"_index":1644,"title":{},"content":{"277":{"position":[[320,7]]},"411":{"position":[[5463,7]]}},"keywords":{}}],["haproxi",{"_index":4848,"title":{},"content":{"849":{"position":[[637,8]]}},"keywords":{}}],["har",{"_index":992,"title":{},"content":{"83":{"position":[[343,7]]},"87":{"position":[[43,7]]},"175":{"position":[[510,7]]},"285":{"position":[[126,10]]},"370":{"position":[[123,7]]},"432":{"position":[[957,7]]},"433":{"position":[[568,7]]},"445":{"position":[[2022,7]]},"500":{"position":[[557,10]]},"530":{"position":[[315,7]]}},"keywords":{}}],["hard",{"_index":254,"title":{},"content":{"15":{"position":[[253,4]]},"19":{"position":[[459,4]]},"29":{"position":[[333,4]]},"452":{"position":[[181,4]]},"455":{"position":[[464,4]]},"569":{"position":[[403,4]]},"595":{"position":[[805,4]]},"619":{"position":[[117,4]]},"689":{"position":[[385,4]]},"696":{"position":[[1745,4]]},"702":{"position":[[280,4]]},"709":{"position":[[466,4]]},"780":{"position":[[484,4]]},"785":{"position":[[9,5]]},"861":{"position":[[1593,4]]},"898":{"position":[[445,4]]},"1085":{"position":[[289,4],[3156,4]]},"1120":{"position":[[350,4]]},"1124":{"position":[[852,4]]},"1198":{"position":[[1129,4]]},"1305":{"position":[[301,4]]},"1316":{"position":[[345,4]]},"1317":{"position":[[794,5]]}},"keywords":{}}],["hardcod",{"_index":3349,"title":{},"content":{"554":{"position":[[1177,8]]},"556":{"position":[[32,10]]}},"keywords":{}}],["harder",{"_index":2673,"title":{},"content":{"412":{"position":[[2812,6],[13742,6]]},"417":{"position":[[218,6]]},"1319":{"position":[[658,6]]}},"keywords":{}}],["hardest",{"_index":2655,"title":{},"content":{"412":{"position":[[565,7]]}},"keywords":{}}],["hardi",{"_index":6028,"title":{},"content":{"1132":{"position":[[791,5]]}},"keywords":{}}],["hardwar",{"_index":2284,"title":{},"content":{"392":{"position":[[4907,8]]},"399":{"position":[[66,8],[160,8]]},"412":{"position":[[9788,9]]},"1091":{"position":[[50,8]]}},"keywords":{}}],["hardwhi",{"_index":6301,"title":{},"content":{"1260":{"position":[[33,7]]}},"keywords":{}}],["harmoni",{"_index":3221,"title":{},"content":{"501":{"position":[[330,12]]}},"keywords":{}}],["hash",{"_index":2334,"title":{},"content":{"396":{"position":[[115,7],[134,6],[1838,7]]},"412":{"position":[[3341,7]]},"698":{"position":[[609,6]]},"731":{"position":[[245,4]]},"927":{"position":[[5,4]]},"968":{"position":[[69,8],[102,4],[209,4],[234,4],[329,4]]}},"keywords":{}}],["hashfunct",{"_index":5399,"title":{"968":{"position":[[0,13]]}},"content":{"968":{"position":[[526,13]]}},"keywords":{}}],["hasn't",{"_index":2703,"title":{},"content":{"412":{"position":[[5936,6],[7924,6]]}},"keywords":{}}],["hassl",{"_index":3218,"title":{},"content":{"500":{"position":[[429,6]]}},"keywords":{}}],["have",{"_index":382,"title":{},"content":{"23":{"position":[[137,6],[238,6],[365,6]]},"27":{"position":[[97,6]]},"29":{"position":[[43,6]]},"65":{"position":[[801,6]]},"270":{"position":[[217,6]]},"364":{"position":[[718,6]]},"367":{"position":[[132,6]]},"402":{"position":[[2580,6]]},"404":{"position":[[749,6]]},"412":{"position":[[12731,6]]},"455":{"position":[[371,6]]},"457":{"position":[[557,6]]},"459":{"position":[[1030,6]]},"469":{"position":[[801,6]]},"696":{"position":[[368,6]]},"705":{"position":[[520,6]]},"710":{"position":[[1155,6]]},"723":{"position":[[938,6]]},"749":{"position":[[21575,6]]},"799":{"position":[[1,6]]},"800":{"position":[[351,6]]},"817":{"position":[[305,6]]},"875":{"position":[[9177,6]]},"943":{"position":[[202,6]]},"965":{"position":[[38,6]]},"966":{"position":[[415,6]]},"981":{"position":[[1467,6]]},"1068":{"position":[[219,6]]},"1147":{"position":[[1,6]]},"1211":{"position":[[457,6]]},"1219":{"position":[[204,6]]},"1246":{"position":[[1549,6]]},"1247":{"position":[[324,6],[497,6],[684,6]]},"1252":{"position":[[235,6]]},"1282":{"position":[[301,6]]},"1300":{"position":[[144,6]]},"1301":{"position":[[855,6]]},"1304":{"position":[[1655,6]]},"1305":{"position":[[39,6]]},"1316":{"position":[[3693,6]]}},"keywords":{}}],["haven't",{"_index":3186,"title":{},"content":{"495":{"position":[[318,7]]},"663":{"position":[[8,7]]},"776":{"position":[[42,7]]},"842":{"position":[[139,7]]},"898":{"position":[[523,7]]}},"keywords":{}}],["haven’t",{"_index":1857,"title":{},"content":{"303":{"position":[[1465,7]]}},"keywords":{}}],["hbase",{"_index":6583,"title":{},"content":{"1324":{"position":[[932,6]]}},"keywords":{}}],["headach",{"_index":2658,"title":{},"content":{"412":{"position":[[767,9],[11947,8]]}},"keywords":{}}],["header",{"_index":2912,"title":{},"content":{"434":{"position":[[283,7]]},"461":{"position":[[325,7],[387,6]]},"612":{"position":[[1479,6]]},"616":{"position":[[1110,8]]},"848":{"position":[[68,6],[162,6],[345,7],[455,7]]},"875":{"position":[[6289,8]]},"876":{"position":[[267,7]]},"878":{"position":[[486,8]]},"880":{"position":[[161,7],[255,7]]},"882":{"position":[[173,7]]},"885":{"position":[[1219,7],[1295,7],[1369,9]]},"886":{"position":[[1773,7],[1837,8],[3134,8],[3367,7],[3491,9],[3556,8],[3587,9],[3711,7],[4102,8],[4286,7],[4736,7],[4821,7]]},"887":{"position":[[361,8]]},"888":{"position":[[502,8]]},"889":{"position":[[551,8]]},"890":{"position":[[256,7]]},"988":{"position":[[2584,8]]},"1102":{"position":[[557,8],[996,7]]},"1104":{"position":[[132,7],[291,7],[709,6]]}},"keywords":{}}],["healthpoint",{"_index":3227,"title":{},"content":{"502":{"position":[[950,13]]},"518":{"position":[[417,13]]},"571":{"position":[[891,13]]},"579":{"position":[[739,13]]},"580":{"position":[[518,13]]},"1074":{"position":[[311,12]]}},"keywords":{}}],["hear",{"_index":3447,"title":{},"content":{"569":{"position":[[36,4]]},"1249":{"position":[[84,4]]}},"keywords":{}}],["heart",{"_index":1677,"title":{},"content":{"289":{"position":[[8,5]]},"489":{"position":[[25,5]]},"501":{"position":[[8,5]]}},"keywords":{}}],["heartbeat",{"_index":3579,"title":{},"content":{"611":{"position":[[1195,9]]},"846":{"position":[[877,9],[1056,10]]}},"keywords":{}}],["heatmap",{"_index":4086,"title":{},"content":{"736":{"position":[[121,9]]}},"keywords":{}}],["heavi",{"_index":1315,"title":{"204":{"position":[[30,5]]}},"content":{"251":{"position":[[220,5]]},"262":{"position":[[163,6]]},"354":{"position":[[111,5]]},"362":{"position":[[266,5]]},"408":{"position":[[135,5],[3700,5]]},"412":{"position":[[10174,5],[10791,5],[14072,5]]},"446":{"position":[[1033,5]]},"451":{"position":[[643,5]]},"460":{"position":[[14,5]]},"497":{"position":[[348,5]]},"642":{"position":[[141,5]]},"704":{"position":[[491,5]]},"801":{"position":[[277,5]]},"841":{"position":[[1074,5]]},"1069":{"position":[[48,5]]},"1092":{"position":[[401,5]]},"1316":{"position":[[2747,5]]}},"keywords":{}}],["heavier",{"_index":6098,"title":{},"content":{"1157":{"position":[[361,7]]}},"keywords":{}}],["heavili",{"_index":1395,"title":{},"content":{"216":{"position":[[287,7]]},"354":{"position":[[1078,7]]},"411":{"position":[[5667,7]]},"430":{"position":[[215,7]]},"446":{"position":[[75,7]]},"821":{"position":[[350,7],[607,7]]},"839":{"position":[[857,7]]},"875":{"position":[[7635,7]]}},"keywords":{}}],["height",{"_index":6493,"title":{},"content":{"1305":{"position":[[594,7]]}},"keywords":{}}],["heighten",{"_index":3242,"title":{},"content":{"507":{"position":[[184,10]]}},"keywords":{}}],["hello",{"_index":3608,"title":{},"content":{"612":{"position":[[2306,6]]}},"keywords":{}}],["help",{"_index":1147,"title":{"669":{"position":[[8,5]]},"796":{"position":[[0,4]]}},"content":{"146":{"position":[[149,4]]},"175":{"position":[[111,8]]},"178":{"position":[[223,5]]},"303":{"position":[[399,7]]},"304":{"position":[[379,7]]},"316":{"position":[[503,5]]},"328":{"position":[[231,4]]},"360":{"position":[[784,5]]},"369":{"position":[[1126,4]]},"382":{"position":[[315,4]]},"385":{"position":[[294,5]]},"390":{"position":[[1888,4]]},"397":{"position":[[266,5]]},"418":{"position":[[27,7]]},"420":{"position":[[1012,4]]},"495":{"position":[[485,4]]},"550":{"position":[[353,4]]},"556":{"position":[[1420,4]]},"669":{"position":[[13,4]]},"670":{"position":[[147,4],[402,4]]},"776":{"position":[[190,4]]},"834":{"position":[[143,7]]},"838":{"position":[[1011,5]]},"906":{"position":[[123,5]]},"1003":{"position":[[74,5]]},"1058":{"position":[[90,7]]},"1151":{"position":[[447,4]]},"1178":{"position":[[446,4]]},"1268":{"position":[[215,7]]}},"keywords":{}}],["helper",{"_index":3923,"title":{},"content":{"693":{"position":[[308,6]]},"711":{"position":[[2340,7]]},"848":{"position":[[1069,6]]},"889":{"position":[[792,6],[829,6]]},"1219":{"position":[[36,6]]},"1274":{"position":[[561,6]]},"1279":{"position":[[948,6]]},"1296":{"position":[[576,6]]}},"keywords":{}}],["henc",{"_index":3463,"title":{},"content":{"569":{"position":[[862,6]]}},"keywords":{}}],["here",{"_index":193,"title":{},"content":{"13":{"position":[[307,4]]},"60":{"position":[[1,4]]},"98":{"position":[[141,4]]},"188":{"position":[[1749,4]]},"210":{"position":[[625,5]]},"225":{"position":[[102,4]]},"314":{"position":[[658,4]]},"388":{"position":[[23,4]]},"394":{"position":[[1339,5]]},"398":{"position":[[432,4]]},"412":{"position":[[4362,4]]},"461":{"position":[[203,5],[781,5],[1379,5],[1614,5]]},"463":{"position":[[539,4],[775,4],[988,4]]},"464":{"position":[[427,4]]},"465":{"position":[[288,4]]},"466":{"position":[[252,4]]},"467":{"position":[[247,4]]},"469":{"position":[[153,5],[1276,4]]},"496":{"position":[[873,5]]},"498":{"position":[[59,4]]},"534":{"position":[[120,4]]},"547":{"position":[[1,4]]},"567":{"position":[[135,4]]},"590":{"position":[[1,4]]},"594":{"position":[[118,4]]},"607":{"position":[[1,4]]},"620":{"position":[[383,4]]},"664":{"position":[[57,4]]},"729":{"position":[[324,5]]},"739":{"position":[[18,4]]},"765":{"position":[[91,4]]},"772":{"position":[[2512,4]]},"791":{"position":[[219,4]]},"796":{"position":[[1170,4]]},"805":{"position":[[263,4]]},"806":{"position":[[179,5],[417,5]]},"813":{"position":[[244,5]]},"820":{"position":[[504,4]]},"826":{"position":[[266,4]]},"829":{"position":[[803,4]]},"831":{"position":[[434,5]]},"847":{"position":[[166,5]]},"848":{"position":[[829,5],[1464,5]]},"849":{"position":[[334,6]]},"868":{"position":[[116,4]]},"875":{"position":[[1621,4],[7029,4]]},"886":{"position":[[2133,5]]},"898":{"position":[[780,4]]},"904":{"position":[[77,4],[376,4],[2353,4]]},"906":{"position":[[740,4]]},"908":{"position":[[410,4]]},"912":{"position":[[771,5]]},"932":{"position":[[1332,5]]},"936":{"position":[[162,5]]},"963":{"position":[[203,5]]},"988":{"position":[[1848,5],[4934,4]]},"1002":{"position":[[836,4]]},"1020":{"position":[[490,4]]},"1065":{"position":[[1,4]]},"1085":{"position":[[1498,4]]},"1097":{"position":[[810,4]]},"1108":{"position":[[472,4]]},"1137":{"position":[[1,4]]},"1147":{"position":[[80,4]]},"1154":{"position":[[528,4]]},"1163":{"position":[[175,4]]},"1182":{"position":[[175,4]]},"1191":{"position":[[534,4]]},"1194":{"position":[[1,4],[439,4],[613,4],[713,4],[807,4],[1009,4]]},"1202":{"position":[[363,5]]},"1209":{"position":[[404,4]]},"1220":{"position":[[305,4]]},"1222":{"position":[[283,4]]},"1225":{"position":[[385,4]]},"1226":{"position":[[466,5]]},"1236":{"position":[[47,4]]},"1237":{"position":[[98,4]]},"1238":{"position":[[134,4]]},"1239":{"position":[[1,4]]},"1263":{"position":[[279,4]]},"1264":{"position":[[369,5]]},"1266":{"position":[[72,4]]},"1271":{"position":[[1243,4]]},"1297":{"position":[[394,5]]},"1299":{"position":[[186,4]]},"1304":{"position":[[1227,5]]},"1308":{"position":[[685,5]]}},"keywords":{}}],["here'",{"_index":1033,"title":{},"content":{"102":{"position":[[86,6]]},"393":{"position":[[808,6]]},"397":{"position":[[355,6]]},"412":{"position":[[346,6]]},"426":{"position":[[251,6]]},"541":{"position":[[94,6]]},"601":{"position":[[1,6]]},"612":{"position":[[1043,6],[1673,6]]},"1292":{"position":[[828,6]]}},"keywords":{}}],["here.ther",{"_index":4718,"title":{},"content":{"824":{"position":[[83,10]]}},"keywords":{}}],["hero",{"_index":768,"title":{},"content":{"51":{"position":[[283,5],[336,4],[849,7]]},"52":{"position":[[327,6]]},"54":{"position":[[239,4],[247,7]]},"55":{"position":[[1161,4]]},"130":{"position":[[584,4],[592,7]]},"188":{"position":[[1200,7]]},"334":{"position":[[581,5],[606,5]]},"335":{"position":[[127,6],[240,4],[377,4],[576,4],[862,4],[904,4],[960,6]]},"538":{"position":[[584,5],[637,4],[872,7]]},"539":{"position":[[327,6]]},"541":{"position":[[259,8]]},"542":{"position":[[787,6]]},"562":{"position":[[292,5],[500,7],[1130,8]]},"579":{"position":[[589,5],[614,5]]},"580":{"position":[[380,6]]},"598":{"position":[[591,5],[644,4],[879,7]]},"599":{"position":[[354,6]]},"601":{"position":[[452,6]]},"789":{"position":[[151,6],[194,7],[398,6],[441,7],[561,8]]},"791":{"position":[[7,6],[50,7],[266,6],[309,7]]},"792":{"position":[[134,6],[177,7]]},"829":{"position":[[747,7],[2394,9],[2619,7],[3310,9]]},"939":{"position":[[176,7]]},"979":{"position":[[336,7]]},"1074":{"position":[[36,4]]},"1075":{"position":[[35,7],[112,6]]},"1311":{"position":[[996,7],[1459,5]]}},"keywords":{}}],["hero"",{"_index":5817,"title":{},"content":{"1074":{"position":[[796,11]]}},"keywords":{}}],["hero.allow",{"_index":5811,"title":{},"content":{"1074":{"position":[[618,11]]}},"keywords":{}}],["hero.healthpoint",{"_index":3508,"title":{},"content":{"580":{"position":[[854,17]]}},"keywords":{}}],["hero.nam",{"_index":823,"title":{},"content":{"54":{"position":[[276,9]]},"55":{"position":[[1197,9]]},"562":{"position":[[1508,11]]},"580":{"position":[[832,9]]},"601":{"position":[[234,9]]},"602":{"position":[[621,9]]}},"keywords":{}}],["hero.point",{"_index":1951,"title":{},"content":{"335":{"position":[[510,14]]}},"keywords":{}}],["hero.pow",{"_index":3318,"title":{},"content":{"541":{"position":[[680,12]]},"562":{"position":[[1529,12]]},"601":{"position":[[267,10]]},"602":{"position":[[654,10]]}},"keywords":{}}],["hero.scream('aah",{"_index":6520,"title":{},"content":{"1311":{"position":[[1654,20]]}},"keywords":{}}],["herocollect",{"_index":6507,"title":{},"content":{"1311":{"position":[[874,15],[1176,15]]}},"keywords":{}}],["herocollectionmethod",{"_index":6505,"title":{},"content":{"1311":{"position":[[785,22],[808,21],[1060,21]]}},"keywords":{}}],["herocount",{"_index":4757,"title":{},"content":{"829":{"position":[[2462,9]]}},"keywords":{}}],["herodb",{"_index":3426,"title":{},"content":{"562":{"position":[[192,9]]}},"keywords":{}}],["herodb_sign",{"_index":3433,"title":{},"content":{"563":{"position":[[504,17]]}},"keywords":{}}],["herodocmethod",{"_index":6500,"title":{},"content":{"1311":{"position":[[627,15],[643,14],[1035,15]]}},"keywords":{}}],["herodoctyp",{"_index":6513,"title":{},"content":{"1311":{"position":[[1241,12]]}},"keywords":{}}],["herodocu",{"_index":6502,"title":{},"content":{"1311":{"position":[[685,13],[1277,12],[1465,12]]}},"keywords":{}}],["heroes"",{"_index":3505,"title":{},"content":{"580":{"position":[[787,12]]},"601":{"position":[[175,12]]}},"keywords":{}}],["heroes.findone().exec",{"_index":4605,"title":{},"content":{"791":{"position":[[154,24],[474,24]]},"792":{"position":[[285,24]]}},"keywords":{}}],["heroes.foreach((hero",{"_index":1947,"title":{},"content":{"335":{"position":[[393,21]]}},"keywords":{}}],["heroes.insert",{"_index":4607,"title":{},"content":{"791":{"position":[[419,15]]}},"keywords":{}}],["heroes.map(hero",{"_index":3315,"title":{},"content":{"541":{"position":[[587,16]]},"542":{"position":[[838,16]]},"562":{"position":[[1458,16]]}},"keywords":{}}],["heroes.valu",{"_index":3499,"title":{},"content":{"580":{"position":[[682,12]]},"601":{"position":[[670,12]]}},"keywords":{}}],["heroes;">",{"_index":1100,"title":{},"content":{"130":{"position":[[611,17]]}},"keywords":{}}],["heroesdb",{"_index":779,"title":{},"content":{"51":{"position":[[724,11]]},"334":{"position":[[358,11]]},"522":{"position":[[439,11]]},"538":{"position":[[454,11]]},"579":{"position":[[367,11]]},"598":{"position":[[461,11]]},"653":{"position":[[278,11]]},"680":{"position":[[699,11]]},"960":{"position":[[307,11]]},"966":{"position":[[562,11],[680,11]]},"967":{"position":[[147,11],[265,11]]},"1085":{"position":[[3781,10]]},"1114":{"position":[[736,11]]},"1121":{"position":[[476,11]]}},"keywords":{}}],["heroesreactdb",{"_index":4745,"title":{},"content":{"829":{"position":[[664,16]]}},"keywords":{}}],["heroessign",{"_index":850,"title":{},"content":{"55":{"position":[[1083,12]]},"563":{"position":[[705,12],[786,14]]},"602":{"position":[[225,12],[367,14]]}},"keywords":{}}],["heroessignal()">",{"_index":852,"title":{},"content":{"55":{"position":[[1169,24]]}},"keywords":{}}],["heroessignal.valu",{"_index":3544,"title":{},"content":{"602":{"position":[[470,18]]}},"keywords":{}}],["heroessignal.value"",{"_index":3545,"title":{},"content":{"602":{"position":[[550,24]]}},"keywords":{}}],["heroinputpushrowt0assumedmasterstatet0",{"_index":5085,"title":{},"content":{"885":{"position":[[957,38]]}},"keywords":{}}],["heroinputpushrowt0newdocumentstatet0",{"_index":5086,"title":{},"content":{"885":{"position":[[1014,37]]}},"keywords":{}}],["herolist",{"_index":3306,"title":{},"content":{"541":{"position":[[226,10]]},"542":{"position":[[754,10]]},"562":{"position":[[1097,10],[1590,9]]},"829":{"position":[[3378,8]]}},"keywords":{}}],["herolist').append",{"_index":1948,"title":{},"content":{"335":{"position":[[423,23]]}},"keywords":{}}],["herolist').empti",{"_index":1945,"title":{},"content":{"335":{"position":[[338,23]]}},"keywords":{}}],["herolist.vu",{"_index":3491,"title":{},"content":{"580":{"position":[[265,12]]}},"keywords":{}}],["heronam",{"_index":1953,"title":{},"content":{"335":{"position":[[633,8],[779,9]]}},"keywords":{}}],["heroname').v",{"_index":1954,"title":{},"content":{"335":{"position":[[644,21]]}},"keywords":{}}],["heropoint",{"_index":1955,"title":{},"content":{"335":{"position":[[672,10],[797,10]]}},"keywords":{}}],["heroschema",{"_index":766,"title":{},"content":{"51":{"position":[[261,10],[867,10]]},"538":{"position":[[562,10],[890,10]]},"562":{"position":[[270,10],[518,10]]},"598":{"position":[[569,10],[897,10]]},"1311":{"position":[[246,11],[1014,11]]}},"keywords":{}}],["hibern",{"_index":5545,"title":{},"content":{"1003":{"position":[[146,10]]}},"keywords":{}}],["hidden",{"_index":5546,"title":{},"content":{"1003":{"position":[[210,7]]}},"keywords":{}}],["hide",{"_index":4744,"title":{},"content":{"828":{"position":[[314,6]]},"898":{"position":[[685,4]]}},"keywords":{}}],["hideloadingspinn",{"_index":5521,"title":{},"content":{"995":{"position":[[2013,21]]}},"keywords":{}}],["hierarch",{"_index":2007,"title":{},"content":{"353":{"position":[[304,12]]},"364":{"position":[[616,12]]},"396":{"position":[[592,12]]}},"keywords":{}}],["high",{"_index":1207,"title":{"1238":{"position":[[0,4]]}},"content":{"173":{"position":[[2133,4]]},"177":{"position":[[105,4]]},"265":{"position":[[913,4]]},"267":{"position":[[976,4]]},"385":{"position":[[95,4]]},"390":{"position":[[100,4]]},"396":{"position":[[261,4]]},"399":{"position":[[254,4],[550,4]]},"412":{"position":[[10645,4]]},"441":{"position":[[365,4]]},"454":{"position":[[53,4]]},"483":{"position":[[1008,4]]},"497":{"position":[[100,4],[309,4]]},"566":{"position":[[335,4]]},"611":{"position":[[566,4]]},"613":{"position":[[408,4]]},"622":{"position":[[24,4],[587,4]]},"623":{"position":[[491,4]]},"624":{"position":[[1433,4]]},"643":{"position":[[23,4]]},"802":{"position":[[875,4]]},"901":{"position":[[462,4]]},"902":{"position":[[834,4],[912,4]]},"1206":{"position":[[439,4]]},"1294":{"position":[[1923,4]]}},"keywords":{}}],["higher",{"_index":761,"title":{},"content":{"51":{"position":[[115,6]]},"396":{"position":[[687,6]]},"408":{"position":[[2224,6]]},"621":{"position":[[377,6]]},"622":{"position":[[333,6]]},"689":{"position":[[94,6]]},"821":{"position":[[878,6]]},"1170":{"position":[[265,6]]},"1194":{"position":[[1050,6]]}},"keywords":{}}],["highli",{"_index":1171,"title":{},"content":{"156":{"position":[[288,6]]},"265":{"position":[[469,6]]},"358":{"position":[[572,6]]},"390":{"position":[[1154,6]]},"433":{"position":[[140,6]]},"445":{"position":[[1520,6]]},"447":{"position":[[407,6]]},"548":{"position":[[209,6]]},"608":{"position":[[209,6]]},"623":{"position":[[633,6]]},"723":{"position":[[324,6]]},"1132":{"position":[[427,6]]}},"keywords":{}}],["highlight",{"_index":2577,"title":{},"content":{"408":{"position":[[5406,9]]},"419":{"position":[[925,10]]},"420":{"position":[[1464,10]]}},"keywords":{}}],["hinder",{"_index":2888,"title":{},"content":{"427":{"position":[[1047,6]]}},"keywords":{}}],["hint",{"_index":1815,"title":{},"content":{"302":{"position":[[1021,5]]}},"keywords":{}}],["hipaa",{"_index":3336,"title":{},"content":{"550":{"position":[[422,6]]}},"keywords":{}}],["histor",{"_index":1721,"title":{},"content":{"298":{"position":[[583,12]]},"299":{"position":[[626,12],[1165,13]]},"331":{"position":[[1,13]]},"408":{"position":[[1144,13]]}},"keywords":{}}],["histori",{"_index":2845,"title":{},"content":{"421":{"position":[[14,7]]},"439":{"position":[[251,8]]},"449":{"position":[[88,8]]},"635":{"position":[[394,10]]},"1316":{"position":[[3083,8]]}},"keywords":{}}],["hit",{"_index":1322,"title":{},"content":{"205":{"position":[[11,3]]},"304":{"position":[[198,3]]},"321":{"position":[[284,7]]},"408":{"position":[[1333,7]]},"410":{"position":[[2199,3]]}},"keywords":{}}],["hnsw",{"_index":2342,"title":{},"content":{"396":{"position":[[570,7],[578,4]]}},"keywords":{}}],["hnsw'",{"_index":2340,"title":{},"content":{"396":{"position":[[514,6]]}},"keywords":{}}],["hold",{"_index":1985,"title":{},"content":{"350":{"position":[[63,4]]},"411":{"position":[[1910,5]]},"417":{"position":[[20,4]]}},"keywords":{}}],["home",{"_index":3215,"title":{},"content":{"500":{"position":[[165,4]]}},"keywords":{}}],["hood",{"_index":2736,"title":{},"content":{"412":{"position":[[9872,5]]},"490":{"position":[[484,5]]},"566":{"position":[[813,4]]}},"keywords":{}}],["hood.i",{"_index":445,"title":{},"content":{"27":{"position":[[369,9]]}},"keywords":{}}],["hoodi",{"_index":436,"title":{"27":{"position":[[0,7]]}},"content":{"27":{"position":[[1,6],[200,6],[329,6]]}},"keywords":{}}],["hook",{"_index":517,"title":{"523":{"position":[[17,6]]},"541":{"position":[[32,6]]},"764":{"position":[[25,6]]},"802":{"position":[[21,6]]},"1118":{"position":[[25,6]]}},"content":{"33":{"position":[[285,6]]},"134":{"position":[[276,5]]},"147":{"position":[[188,5]]},"381":{"position":[[375,5]]},"494":{"position":[[494,4]]},"523":{"position":[[10,5],[48,5],[109,5],[285,5]]},"540":{"position":[[189,5]]},"582":{"position":[[565,5]]},"590":{"position":[[451,5]]},"749":{"position":[[7490,4],[7570,5],[7670,4],[7772,5]]},"763":{"position":[[29,6]]},"764":{"position":[[300,5]]},"766":{"position":[[5,5],[166,5],[219,4]]},"767":{"position":[[11,4]]},"768":{"position":[[8,4]]},"769":{"position":[[11,4]]},"770":{"position":[[6,4],[278,5],[543,4],[629,5]]},"802":{"position":[[17,5],[134,4],[627,5]]},"806":{"position":[[186,5],[297,5],[358,5],[411,5]]},"828":{"position":[[164,6],[250,5],[390,6]]},"829":{"position":[[280,6],[1997,4],[2149,4],[2311,5],[2850,4],[3116,5],[3126,4]]},"830":{"position":[[5,5]]},"831":{"position":[[26,5]]},"899":{"position":[[66,5]]},"1117":{"position":[[143,6]]},"1118":{"position":[[93,6]]},"1284":{"position":[[25,5],[40,5]]},"1311":{"position":[[1108,4]]}},"keywords":{}}],["hooksdelet",{"_index":4550,"title":{},"content":{"769":{"position":[[137,12]]}},"keywords":{}}],["hooksev",{"_index":4529,"title":{},"content":{"767":{"position":[[250,10]]},"768":{"position":[[209,10]]},"769":{"position":[[224,10]]}},"keywords":{}}],["hookspostinsert",{"_index":4528,"title":{},"content":{"767":{"position":[[225,15]]}},"keywords":{}}],["hookspostremov",{"_index":4552,"title":{},"content":{"769":{"position":[[199,15]]}},"keywords":{}}],["hookspostsav",{"_index":4540,"title":{},"content":{"768":{"position":[[186,13]]}},"keywords":{}}],["hookspreinsert",{"_index":4524,"title":{},"content":{"767":{"position":[[121,14]]}},"keywords":{}}],["hookspreremov",{"_index":4549,"title":{},"content":{"769":{"position":[[113,14]]}},"keywords":{}}],["hookspresav",{"_index":4537,"title":{},"content":{"768":{"position":[[104,12]]}},"keywords":{}}],["hooksschema",{"_index":4525,"title":{},"content":{"767":{"position":[[145,11]]}},"keywords":{}}],["hooksupd",{"_index":4538,"title":{},"content":{"768":{"position":[[126,12]]}},"keywords":{}}],["hop",{"_index":2143,"title":{},"content":{"376":{"position":[[193,5]]},"902":{"position":[[48,4]]}},"keywords":{}}],["hope",{"_index":3962,"title":{},"content":{"702":{"position":[[417,4]]}},"keywords":{}}],["hopefulli",{"_index":3938,"title":{},"content":{"696":{"position":[[1635,9]]},"700":{"position":[[238,9]]}},"keywords":{}}],["horizon",{"_index":358,"title":{"21":{"position":[[0,8]]}},"content":{"21":{"position":[[1,7],[199,8]]}},"keywords":{}}],["horizont",{"_index":2010,"title":{"1091":{"position":[[0,10]]}},"content":{"353":{"position":[[377,10]]},"772":{"position":[[386,12]]},"1094":{"position":[[140,12]]},"1295":{"position":[[100,13],[580,12]]}},"keywords":{}}],["host",{"_index":235,"title":{},"content":{"14":{"position":[[1033,6],[1114,6]]},"18":{"position":[[229,6]]},"174":{"position":[[3051,6]]},"202":{"position":[[98,7],[129,4]]},"204":{"position":[[298,7]]},"249":{"position":[[54,7],[81,4]]},"289":{"position":[[1030,6]]},"485":{"position":[[24,4]]},"504":{"position":[[1151,6]]},"840":{"position":[[571,6]]},"849":{"position":[[1017,4],[1022,6]]},"861":{"position":[[47,4],[207,4],[272,6]]},"862":{"position":[[949,6]]},"870":{"position":[[225,6]]},"896":{"position":[[29,6]]},"902":{"position":[[864,7]]},"903":{"position":[[377,5]]},"1124":{"position":[[2065,6]]},"1246":{"position":[[861,4]]}},"keywords":{}}],["hosting.miss",{"_index":4799,"title":{},"content":{"839":{"position":[[629,15]]}},"keywords":{}}],["hot",{"_index":4212,"title":{"799":{"position":[[13,5]]}},"content":{"749":{"position":[[5952,3]]},"799":{"position":[[748,3]]}},"keywords":{}}],["hour",{"_index":2251,"title":{},"content":{"392":{"position":[[3152,5]]},"995":{"position":[[1410,6]]}},"keywords":{}}],["hp",{"_index":3507,"title":{},"content":{"580":{"position":[[847,3]]}},"keywords":{}}],["href="https://rxdb.info/react.html">rxdb</a>",{"_index":4751,"title":{},"content":{"829":{"position":[[1640,63]]}},"keywords":{}}],["hsw",{"_index":2338,"title":{},"content":{"396":{"position":[[349,3]]}},"keywords":{}}],["html",{"_index":1626,"title":{},"content":{"269":{"position":[[76,6]]},"571":{"position":[[800,4],[1053,4]]}},"keywords":{}}],["http",{"_index":131,"title":{"874":{"position":[[0,4]]},"1032":{"position":[[22,4]]}},"content":{"8":{"position":[[1076,8]]},"16":{"position":[[154,5]]},"165":{"position":[[212,5]]},"434":{"position":[[278,4]]},"450":{"position":[[384,4]]},"461":{"position":[[117,4],[362,4]]},"487":{"position":[[55,4]]},"491":{"position":[[583,4],[1638,4]]},"556":{"position":[[1563,5]]},"565":{"position":[[118,6]]},"566":{"position":[[1171,6]]},"570":{"position":[[647,4]]},"610":{"position":[[122,5]]},"611":{"position":[[210,4],[414,4]]},"612":{"position":[[91,5],[416,4]]},"616":{"position":[[349,4],[471,4],[702,4],[1105,4]]},"617":{"position":[[854,4]]},"619":{"position":[[223,4],[365,4]]},"621":{"position":[[342,4],[425,4]]},"623":{"position":[[361,4]]},"624":{"position":[[1478,4]]},"626":{"position":[[723,4]]},"632":{"position":[[836,4]]},"696":{"position":[[525,4]]},"749":{"position":[[21180,4]]},"793":{"position":[[637,4]]},"837":{"position":[[1615,6]]},"841":{"position":[[774,6]]},"846":{"position":[[694,4]]},"848":{"position":[[63,4]]},"863":{"position":[[376,4]]},"871":{"position":[[302,5],[781,4]]},"875":{"position":[[75,4],[169,4],[503,4],[751,4],[1308,4]]},"876":{"position":[[56,4],[284,4]]},"886":{"position":[[1098,5],[1803,4],[2730,5],[3917,5]]},"968":{"position":[[735,5]]},"1010":{"position":[[126,4]]},"1032":{"position":[[14,4]]},"1097":{"position":[[317,4]]},"1102":{"position":[[110,4],[433,4]]}},"keywords":{}}],["http.encrypt",{"_index":4790,"title":{},"content":{"838":{"position":[[810,15]]}},"keywords":{}}],["http/",{"_index":3676,"title":{},"content":{"624":{"position":[[223,6]]}},"keywords":{}}],["http/1.1",{"_index":3632,"title":{},"content":{"617":{"position":[[351,8]]}},"keywords":{}}],["http/2",{"_index":3644,"title":{},"content":{"617":{"position":[[1182,6]]}},"keywords":{}}],["http/3",{"_index":3617,"title":{},"content":{"613":{"position":[[136,6]]},"617":{"position":[[1192,6]]},"620":{"position":[[559,6]]},"621":{"position":[[810,6]]},"624":{"position":[[1044,6],[1152,6]]}},"keywords":{}}],["http/3'",{"_index":3674,"title":{},"content":{"623":{"position":[[666,8]]}},"keywords":{}}],["http/websocket",{"_index":5191,"title":{},"content":{"897":{"position":[[398,15]]}},"keywords":{}}],["http1.1",{"_index":4844,"title":{},"content":{"849":{"position":[[51,7]]}},"keywords":{}}],["http2",{"_index":4850,"title":{},"content":{"849":{"position":[[806,5],[872,5]]}},"keywords":{}}],["http2.0",{"_index":4849,"title":{},"content":{"849":{"position":[[702,8],[717,7]]}},"keywords":{}}],["http://172.0.0.1:5984",{"_index":4852,"title":{},"content":{"849":{"position":[[936,22]]}},"keywords":{}}],["http://example.com",{"_index":5948,"title":{},"content":{"1103":{"position":[[247,20],[396,20]]}},"keywords":{}}],["http://example.com/db",{"_index":4860,"title":{},"content":{"851":{"position":[[335,24]]}},"keywords":{}}],["http://example.com/db/human",{"_index":4823,"title":{},"content":{"846":{"position":[[286,31]]},"848":{"position":[[761,31],[1396,31]]},"852":{"position":[[279,31]]},"1149":{"position":[[1437,30]]}},"keywords":{}}],["http://example.com/graphql",{"_index":5122,"title":{},"content":{"886":{"position":[[1104,28],[2736,28],[3923,29]]}},"keywords":{}}],["http://localhost/pullstream",{"_index":5049,"title":{},"content":{"875":{"position":[[8145,30],[9564,30]]}},"keywords":{}}],["http://localhost:${port",{"_index":3616,"title":{},"content":{"612":{"position":[[2537,28]]}},"keywords":{}}],["http://localhost:3000/repl",{"_index":1460,"title":{},"content":{"243":{"position":[[493,33]]}},"keywords":{}}],["http://localhost:4000",{"_index":3842,"title":{},"content":{"670":{"position":[[568,22]]}},"keywords":{}}],["http://localhost:80/mi",{"_index":5934,"title":{},"content":{"1101":{"position":[[758,23]]}},"keywords":{}}],["http://localhost:80/users/0",{"_index":5066,"title":{},"content":{"878":{"position":[[385,30]]}},"keywords":{}}],["http://localhost:8080/${endpoint.urlpath",{"_index":4967,"title":{},"content":{"872":{"position":[[3478,45]]}},"keywords":{}}],["http://localhost:8080/humans/0",{"_index":4973,"title":{},"content":{"872":{"position":[[4404,30],[4548,33]]}},"keywords":{}}],["http://localhost:8080?n",{"_index":4868,"title":{},"content":{"854":{"position":[[293,27]]}},"keywords":{}}],["httppouch",{"_index":4780,"title":{},"content":{"837":{"position":[[1583,9]]}},"keywords":{}}],["https://cordova.apache.org/docs/de/latest/cordova/events/events.deviceready.html",{"_index":157,"title":{},"content":{"11":{"position":[[427,80]]}},"keywords":{}}],["https://developer.mozilla.org/en",{"_index":6267,"title":{},"content":{"1226":{"position":[[482,32]]},"1264":{"position":[[385,32]]}},"keywords":{}}],["https://discord.com/channels/969553741705539624/1341392686267109458/1343639513850843217",{"_index":4148,"title":{},"content":{"749":{"position":[[1172,87]]}},"keywords":{}}],["https://docs.couchdb.org/en/3.2.2",{"_index":4827,"title":{},"content":{"846":{"position":[[960,33]]}},"keywords":{}}],["https://example.com/api/sync",{"_index":5454,"title":{},"content":{"988":{"position":[[580,30]]}},"keywords":{}}],["https://example.com/api/sync/?minupdatedat=${mintimestamp}&limit=${batchs",{"_index":5466,"title":{},"content":{"988":{"position":[[3720,83]]}},"keywords":{}}],["https://example.com/mydatabas",{"_index":4346,"title":{},"content":{"749":{"position":[[16164,33]]}},"keywords":{}}],["https://firestore.googleapis.com/${projectid",{"_index":4873,"title":{},"content":{"854":{"position":[[644,48]]}},"keywords":{}}],["https://github.com/nextapp",{"_index":4059,"title":{},"content":{"724":{"position":[[1423,27],[1729,27]]}},"keywords":{}}],["https://github.com/pubkey/rxdb",{"_index":5921,"title":{},"content":{"1097":{"position":[[538,30]]}},"keywords":{}}],["https://github.com/pubkey/rxdb.gitinstal",{"_index":3824,"title":{},"content":{"666":{"position":[[157,41]]}},"keywords":{}}],["https://github.com/pubkey/rxdb/issues/6792#issuecom",{"_index":4181,"title":{},"content":{"749":{"position":[[3731,55]]}},"keywords":{}}],["https://github.com/pubkey/rxdb/pull/6643#issuecom",{"_index":4423,"title":{},"content":{"749":{"position":[[23081,53]]}},"keywords":{}}],["https://localhost/pull?updatedat=${updatedat}&id=${id}&limit=${batchs",{"_index":5010,"title":{},"content":{"875":{"position":[[3341,83]]}},"keywords":{}}],["https://neighbourhood.ie/blog/2020/10/13/everyth",{"_index":4136,"title":{},"content":{"749":{"position":[[198,51]]}},"keywords":{}}],["https://pouchdb.com/api.html#create_databas",{"_index":6181,"title":{},"content":{"1201":{"position":[[301,44]]}},"keywords":{}}],["https://rxdb.info/articles/indexeddb",{"_index":1465,"title":{},"content":{"243":{"position":[[585,36],[686,36],[785,36],[882,36]]}},"keywords":{}}],["https://rxdb.info/migr",{"_index":4297,"title":{},"content":{"749":{"position":[[12667,27]]}},"keywords":{}}],["https://rxdb.info/repl",{"_index":4336,"title":{},"content":{"749":{"position":[[15358,29]]}},"keywords":{}}],["https://rxdb.info/rx",{"_index":4057,"title":{},"content":{"724":{"position":[[1112,20]]},"749":{"position":[[3466,20],[9401,20],[18372,20]]}},"keywords":{}}],["https://spacetelescope.github.io/understand",{"_index":4384,"title":{},"content":{"749":{"position":[[19177,46]]}},"keywords":{}}],["https://supabase.com/docs/guides/auth/row",{"_index":5232,"title":{},"content":{"899":{"position":[[209,41]]}},"keywords":{}}],["https://supabase.com/docs/guides/cli",{"_index":5235,"title":{},"content":{"899":{"position":[[351,36]]}},"keywords":{}}],["https://supabase.com/docs/guides/realtimeloc",{"_index":5234,"title":{},"content":{"899":{"position":[[276,46]]}},"keywords":{}}],["https://the",{"_index":5142,"title":{},"content":{"886":{"position":[[4481,11]]}},"keywords":{}}],["https://www.bennadel.com/blog/3448",{"_index":755,"title":{},"content":{"50":{"position":[[365,34]]}},"keywords":{}}],["https://www.mongodb.com/docs/manual/reference/connect",{"_index":6160,"title":{},"content":{"1189":{"position":[[513,56]]}},"keywords":{}}],["https://www.npmjs.com/package/sqlite3",{"_index":6337,"title":{},"content":{"1274":{"position":[[222,37]]}},"keywords":{}}],["https://www.npmjs.com/package/wa",{"_index":6341,"title":{},"content":{"1276":{"position":[[678,32]]}},"keywords":{}}],["https://xyzcompany.supabase.co",{"_index":5215,"title":{},"content":{"898":{"position":[[3066,33]]}},"keywords":{}}],["https://yourapi.com/tasks/pull?checkpoint=${json.stringifi",{"_index":1357,"title":{},"content":{"209":{"position":[[1110,60]]}},"keywords":{}}],["httpwebsocket",{"_index":3133,"title":{},"content":{"481":{"position":[[352,13]]}},"keywords":{}}],["huge",{"_index":2483,"title":{},"content":{"402":{"position":[[905,4]]},"408":{"position":[[1775,4]]},"412":{"position":[[6756,4]]},"1246":{"position":[[1024,4]]},"1294":{"position":[[1880,4]]},"1295":{"position":[[1496,4]]}},"keywords":{}}],["huggingfac",{"_index":2211,"title":{},"content":{"391":{"position":[[155,11]]},"401":{"position":[[98,11]]},"402":{"position":[[2017,11]]}},"keywords":{}}],["hulk",{"_index":797,"title":{},"content":{"52":{"position":[[258,7],[517,6]]},"539":{"position":[[258,7],[517,6]]},"599":{"position":[[285,7],[544,6]]}},"keywords":{}}],["human",{"_index":2106,"title":{"1313":{"position":[[30,6]]}},"content":{"364":{"position":[[741,5]]},"649":{"position":[[361,9]]},"662":{"position":[[2362,7]]},"689":{"position":[[517,5]]},"710":{"position":[[1851,7]]},"808":{"position":[[144,6],[168,7],[267,8],[300,5],[651,8]]},"812":{"position":[[56,6],[214,7]]},"813":{"position":[[56,6],[174,8],[237,6]]},"818":{"position":[[521,7]]},"838":{"position":[[2576,7]]},"851":{"position":[[245,8],[312,9]]},"862":{"position":[[833,7]]},"872":{"position":[[1840,7],[2555,7],[3405,9],[4070,7],[4501,7]]},"885":{"position":[[625,5],[799,8],[1207,7]]},"889":{"position":[[167,7]]},"898":{"position":[[2420,7],[3353,9],[3427,7]]},"916":{"position":[[366,7]]},"934":{"position":[[283,7]]},"1078":{"position":[[218,6]]},"1080":{"position":[[48,6]]},"1149":{"position":[[1029,7]]},"1231":{"position":[[1116,7]]},"1309":{"position":[[1446,7]]},"1311":{"position":[[301,6],[343,5]]},"1313":{"position":[[517,6],[910,5]]}},"keywords":{}}],["humaninput",{"_index":5079,"title":{},"content":{"885":{"position":[[525,10]]}},"keywords":{}}],["humaninputpushrow",{"_index":5084,"title":{},"content":{"885":{"position":[[917,17],[1184,22]]},"886":{"position":[[2356,21]]},"889":{"position":[[343,22]]}},"keywords":{}}],["humanpullbulk",{"_index":5081,"title":{},"content":{"885":{"position":[[772,13],[894,14],[1379,14]]}},"keywords":{}}],["humanscollection.findone('alice').exec",{"_index":4693,"title":{},"content":{"813":{"position":[[351,41]]}},"keywords":{}}],["humanscollection.findone('bob').exec",{"_index":4680,"title":{},"content":{"810":{"position":[[347,39]]},"811":{"position":[[327,39]]}},"keywords":{}}],["humanscollection.insert",{"_index":4678,"title":{},"content":{"810":{"position":[[195,25],[266,25]]},"811":{"position":[[175,25],[246,25]]}},"keywords":{}}],["hundr",{"_index":2533,"title":{},"content":{"408":{"position":[[887,8]]},"411":{"position":[[399,8]]},"696":{"position":[[1147,7],[1216,8]]}},"keywords":{}}],["hunt",{"_index":3838,"title":{},"content":{"670":{"position":[[286,4]]}},"keywords":{}}],["hybrid",{"_index":875,"title":{"268":{"position":[[37,6]]},"269":{"position":[[15,6]]},"284":{"position":[[23,6]]},"446":{"position":[[22,6]]},"774":{"position":[[0,6]]}},"content":{"59":{"position":[[212,6]]},"112":{"position":[[124,6]]},"174":{"position":[[2730,6]]},"239":{"position":[[161,6]]},"266":{"position":[[244,6]]},"269":{"position":[[22,6]]},"270":{"position":[[81,6]]},"271":{"position":[[84,6]]},"274":{"position":[[64,6]]},"278":{"position":[[251,6]]},"280":{"position":[[461,6]]},"284":{"position":[[36,6]]},"285":{"position":[[356,6]]},"286":{"position":[[167,6]]},"287":{"position":[[1274,6]]},"356":{"position":[[884,6]]},"362":{"position":[[440,6]]},"372":{"position":[[231,6]]},"418":{"position":[[670,6]]},"444":{"position":[[741,6]]},"445":{"position":[[378,6],[1672,6],[1735,6],[2108,6]]},"446":{"position":[[1114,6]]},"447":{"position":[[198,6],[613,6]]},"479":{"position":[[339,6]]},"497":{"position":[[720,6]]},"500":{"position":[[232,6]]},"606":{"position":[[257,6]]},"662":{"position":[[75,6]]},"783":{"position":[[370,6]]},"1270":{"position":[[260,6]]},"1316":{"position":[[2105,6]]}},"keywords":{}}],["i'v",{"_index":1073,"title":{},"content":{"118":{"position":[[406,4]]},"323":{"position":[[664,4]]}},"keywords":{}}],["i.",{"_index":2544,"title":{},"content":{"408":{"position":[[2326,6]]},"560":{"position":[[571,6]]},"898":{"position":[[4325,6]]}},"keywords":{}}],["i.assumedmasterst",{"_index":2699,"title":{},"content":{"412":{"position":[[5420,20]]}},"keywords":{}}],["i.newdocumentst",{"_index":2700,"title":{},"content":{"412":{"position":[[5445,18],[5476,18]]}},"keywords":{}}],["i.realmasterst",{"_index":2698,"title":{},"content":{"412":{"position":[[5401,18],[5553,18]]},"1309":{"position":[[1193,18]]}},"keywords":{}}],["i/o",{"_index":1605,"title":{},"content":{"265":{"position":[[541,3]]},"267":{"position":[[1344,3]]},"385":{"position":[[162,3]]},"408":{"position":[[1628,3]]}},"keywords":{}}],["i9",{"_index":6401,"title":{},"content":{"1292":{"position":[[189,2]]}},"keywords":{}}],["ibm",{"_index":430,"title":{},"content":{"26":{"position":[[325,3],[404,3]]}},"keywords":{}}],["ic",{"_index":3624,"title":{},"content":{"614":{"position":[[465,4]]},"901":{"position":[[291,3]]}},"keywords":{}}],["icon",{"_index":2820,"title":{},"content":{"419":{"position":[[1762,4]]}},"keywords":{}}],["id",{"_index":771,"title":{"924":{"position":[[0,3]]}},"content":{"51":{"position":[[367,5],[403,3],[508,6]]},"188":{"position":[[1244,5],[1280,3],[1435,6]]},"209":{"position":[[465,5],[485,3]]},"211":{"position":[[411,5],[447,3]]},"255":{"position":[[809,5],[829,3]]},"259":{"position":[[93,5],[129,3]]},"314":{"position":[[775,5],[795,3],[891,6]]},"315":{"position":[[751,5],[771,3],[833,7]]},"316":{"position":[[260,5],[280,3]]},"334":{"position":[[645,5],[681,3]]},"335":{"position":[[746,3]]},"356":{"position":[[339,2]]},"367":{"position":[[737,5],[824,3],[1046,6]]},"392":{"position":[[595,5],[631,3],[708,6],[1455,2],[1561,5],[1597,3],[1705,6],[2910,3],[3646,3],[4225,2],[4348,3],[4499,3]]},"396":{"position":[[1626,2]]},"397":{"position":[[1932,3]]},"462":{"position":[[857,2]]},"465":{"position":[[106,3]]},"480":{"position":[[575,5],[595,3]]},"482":{"position":[[875,5],[895,3],[963,7]]},"538":{"position":[[668,5],[704,3],[809,6]]},"554":{"position":[[1366,5],[1386,3],[1504,6]]},"555":{"position":[[298,3]]},"556":{"position":[[936,3]]},"562":{"position":[[347,5],[367,3],[456,6],[576,3]]},"564":{"position":[[804,5],[824,3],[892,7]]},"579":{"position":[[653,5],[689,3]]},"598":{"position":[[675,5],[711,3],[816,6]]},"599":{"position":[[109,3],[218,3],[270,3]]},"612":{"position":[[1651,2]]},"632":{"position":[[1559,5],[1579,3]]},"638":{"position":[[643,5],[663,3],[748,7]]},"639":{"position":[[421,5],[441,3]]},"662":{"position":[[2422,5],[2442,3],[2545,6]]},"680":{"position":[[835,5],[871,3],[1052,6]]},"683":{"position":[[194,3],[315,3],[820,3],[909,3]]},"698":{"position":[[2786,4],[2854,4],[2921,4]]},"717":{"position":[[1444,5],[1480,3],[1561,6]]},"734":{"position":[[709,5],[745,3]]},"749":{"position":[[14102,2]]},"792":{"position":[[355,3]]},"800":{"position":[[901,3]]},"820":{"position":[[498,3],[538,3]]},"838":{"position":[[2636,5],[2656,3],[2759,6]]},"854":{"position":[[227,4]]},"862":{"position":[[675,5],[711,3],[789,6]]},"866":{"position":[[717,2]]},"875":{"position":[[1683,2],[2112,2],[2295,2],[2440,3],[2512,3],[2523,2],[2555,3],[2665,3],[2685,3],[3261,2],[4541,3],[5235,4],[5373,3]]},"885":{"position":[[538,3],[542,4],[633,3],[637,4],[734,3],[1668,2],[2242,2],[2539,3]]},"886":{"position":[[534,3],[701,2],[746,2],[2415,2],[3611,3],[3661,2]]},"897":{"position":[[181,3]]},"904":{"position":[[898,5],[918,3],[1090,6],[1176,3]]},"917":{"position":[[169,3]]},"918":{"position":[[130,3]]},"919":{"position":[[32,3]]},"924":{"position":[[5,2]]},"945":{"position":[[293,4]]},"951":{"position":[[30,2],[324,3],[550,3]]},"984":{"position":[[419,2]]},"988":{"position":[[309,2],[4372,3],[5421,3],[5499,3]]},"990":{"position":[[565,2]]},"1004":{"position":[[356,4]]},"1007":{"position":[[139,3]]},"1014":{"position":[[99,2],[239,2],[378,2]]},"1015":{"position":[[215,2]]},"1016":{"position":[[31,3]]},"1018":{"position":[[863,2]]},"1020":{"position":[[636,3]]},"1024":{"position":[[505,3]]},"1063":{"position":[[84,3]]},"1078":{"position":[[322,5],[524,3],[688,5],[888,3],[913,3],[1016,2]]},"1080":{"position":[[111,5],[147,3],[729,5]]},"1082":{"position":[[196,5],[232,3],[463,6]]},"1083":{"position":[[396,5],[432,3],[633,6]]},"1104":{"position":[[785,2]]},"1124":{"position":[[783,3]]},"1149":{"position":[[1089,5],[1109,3],[1212,6]]},"1158":{"position":[[383,5],[419,3],[509,6],[586,3]]},"1194":{"position":[[428,2],[600,2]]},"1218":{"position":[[404,4]]},"1251":{"position":[[55,3]]},"1294":{"position":[[506,2],[583,4],[1292,2]]},"1295":{"position":[[1254,2]]},"1296":{"position":[[431,4],[729,2],[1043,4],[1296,2]]},"1315":{"position":[[245,2]]},"1316":{"position":[[2156,2]]}},"keywords":{}}],["idb",{"_index":55,"title":{},"content":{"3":{"position":[[137,3],[188,7]]},"1201":{"position":[[156,7],[247,6]]}},"keywords":{}}],["idbkeyrang",{"_index":6053,"title":{},"content":{"1139":{"position":[[633,12]]},"1140":{"position":[[829,11]]},"1145":{"position":[[618,12]]},"1294":{"position":[[1996,11]]}},"keywords":{}}],["idbkeyrange.bound",{"_index":6432,"title":{},"content":{"1294":{"position":[[1181,18]]},"1296":{"position":[[1358,18],[1467,18]]}},"keywords":{}}],["idbkeyrange.bound(10",{"_index":2993,"title":{},"content":{"459":{"position":[[590,21]]}},"keywords":{}}],["idbobjectstor",{"_index":6450,"title":{},"content":{"1295":{"position":[[831,14]]}},"keywords":{}}],["idbtransact",{"_index":6427,"title":{},"content":{"1294":{"position":[[811,14]]}},"keywords":{}}],["idea",{"_index":1434,"title":{"242":{"position":[[0,5]]},"1007":{"position":[[0,5]]}},"content":{"420":{"position":[[565,5]]},"422":{"position":[[232,5]]},"455":{"position":[[130,4]]},"524":{"position":[[781,5]]},"765":{"position":[[111,6]]}},"keywords":{}}],["ideal",{"_index":562,"title":{},"content":{"35":{"position":[[583,5]]},"83":{"position":[[206,5]]},"183":{"position":[[51,5]]},"241":{"position":[[648,5]]},"267":{"position":[[589,5]]},"365":{"position":[[162,5]]},"380":{"position":[[313,5]]},"384":{"position":[[150,5]]},"393":{"position":[[520,5]]},"407":{"position":[[999,6]]},"446":{"position":[[40,5]]},"496":{"position":[[375,5]]},"504":{"position":[[388,5]]},"540":{"position":[[54,5]]},"546":{"position":[[247,5]]},"571":{"position":[[1478,7],[1523,8]]},"581":{"position":[[376,5]]},"600":{"position":[[54,5]]},"606":{"position":[[247,5]]},"611":{"position":[[517,5]]},"612":{"position":[[207,5]]},"621":{"position":[[114,5]]},"624":{"position":[[474,5]]},"901":{"position":[[747,5]]},"1206":{"position":[[406,5]]},"1301":{"position":[[539,5]]}},"keywords":{}}],["idempot",{"_index":5653,"title":{"1030":{"position":[[26,11]]}},"content":{"1030":{"position":[[131,11]]}},"keywords":{}}],["ident",{"_index":4766,"title":{},"content":{"830":{"position":[[340,12]]},"950":{"position":[[390,9]]},"1040":{"position":[[137,9]]}},"keywords":{}}],["identifi",{"_index":2203,"title":{},"content":{"390":{"position":[[1486,10]]},"392":{"position":[[2665,11],[4571,11]]},"638":{"position":[[89,12]]},"724":{"position":[[559,11],[637,11]]},"904":{"position":[[2122,10]]},"935":{"position":[[19,10]]},"961":{"position":[[46,10]]},"988":{"position":[[335,8]]},"1020":{"position":[[104,10],[126,8],[389,11]]},"1022":{"position":[[482,11]]},"1023":{"position":[[141,11]]},"1024":{"position":[[235,11]]},"1033":{"position":[[522,11],[755,11]]},"1104":{"position":[[748,8]]},"1218":{"position":[[388,11]]}},"keywords":{}}],["identifier,"",{"_index":5584,"title":{},"content":{"1008":{"position":[[129,17]]}},"keywords":{}}],["idl",{"_index":3770,"title":{},"content":{"656":{"position":[[93,4]]},"796":{"position":[[1222,8],[1353,7]]},"815":{"position":[[228,5]]},"975":{"position":[[58,5],[121,4]]},"1026":{"position":[[19,8]]},"1164":{"position":[[1318,4]]},"1175":{"position":[[519,4]]},"1300":{"position":[[648,4]]}},"keywords":{}}],["idmaxlength",{"_index":6458,"title":{},"content":{"1296":{"position":[[802,11]]}},"keywords":{}}],["idx",{"_index":2383,"title":{},"content":{"397":{"position":[[2067,4],[2165,4]]},"398":{"position":[[1060,6],[1127,6],[1222,6],[1289,6],[2360,6],[2482,6]]},"400":{"position":[[291,6]]},"403":{"position":[[908,4],[937,4]]}},"keywords":{}}],["if"",{"_index":4916,"title":{},"content":{"863":{"position":[[523,8]]}},"keywords":{}}],["if(!doc.delet",{"_index":5628,"title":{},"content":{"1022":{"position":[[730,16]]},"1023":{"position":[[381,16]]}},"keywords":{}}],["if(!optionswithauth.head",{"_index":4837,"title":{},"content":{"848":{"position":[[369,28]]}},"keywords":{}}],["if(!work",{"_index":2272,"title":{},"content":{"392":{"position":[[4151,11]]}},"keywords":{}}],["if(change.assumedmasterst",{"_index":5963,"title":{},"content":{"1106":{"position":[[574,29]]}},"keywords":{}}],["if(change.newdocumentstate.myreadonlyfield",{"_index":5972,"title":{},"content":{"1109":{"position":[[219,42]]}},"keywords":{}}],["if(event.documents.length",{"_index":5033,"title":{},"content":{"875":{"position":[[5463,25]]}},"keywords":{}}],["if(firstopen",{"_index":5484,"title":{},"content":{"988":{"position":[[5779,13]]}},"keywords":{}}],["if(need",{"_index":4461,"title":{},"content":{"752":{"position":[[695,9]]}},"keywords":{}}],["if(olddoc.tim",{"_index":4456,"title":{},"content":{"751":{"position":[[1944,14]]}},"keywords":{}}],["ifiabl",{"_index":2925,"title":{},"content":{"439":{"position":[[591,7]]}},"keywords":{}}],["ifmatch",{"_index":3879,"title":{},"content":{"680":{"position":[[1370,8]]},"681":{"position":[[456,7],[681,7],[791,8]]},"682":{"position":[[375,8],[432,8],[489,8],[546,8]]},"683":{"position":[[296,8],[846,8]]},"684":{"position":[[181,8]]}},"keywords":{}}],["ifnotmatch",{"_index":3881,"title":{},"content":{"681":{"position":[[468,11],[904,11]]},"683":{"position":[[934,11]]}},"keywords":{}}],["ifram",{"_index":1845,"title":{"676":{"position":[[21,7]]}},"content":{"303":{"position":[[1039,7]]},"676":{"position":[[83,6],[224,7]]},"1207":{"position":[[409,6]]}},"keywords":{}}],["ignor",{"_index":2978,"title":{},"content":{"455":{"position":[[819,6]]},"614":{"position":[[799,7]]},"990":{"position":[[644,6]]}},"keywords":{}}],["ignoredupl",{"_index":4214,"title":{"966":{"position":[[0,16]]}},"content":{"749":{"position":[[6071,15]]},"966":{"position":[[305,15],[346,16],[463,15],[611,16],[729,16]]}},"keywords":{}}],["illustr",{"_index":3262,"title":{},"content":{"522":{"position":[[250,11]]},"871":{"position":[[381,11]]}},"keywords":{}}],["imag",{"_index":1822,"title":{},"content":{"303":{"position":[[176,6]]},"390":{"position":[[229,7],[932,7]]},"404":{"position":[[628,5]]},"453":{"position":[[718,7]]},"556":{"position":[[584,8]]},"698":{"position":[[1982,7]]},"865":{"position":[[203,6]]},"1132":{"position":[[1464,6]]}},"keywords":{}}],["image/jpeg",{"_index":5290,"title":{},"content":{"917":{"position":[[367,12]]}},"keywords":{}}],["imagin",{"_index":2552,"title":{},"content":{"408":{"position":[[2911,8]]},"411":{"position":[[891,7]]},"691":{"position":[[14,7]]},"698":{"position":[[1,7]]},"736":{"position":[[1,7]]}},"keywords":{}}],["immedi",{"_index":957,"title":{},"content":{"68":{"position":[[176,9]]},"125":{"position":[[247,11]]},"160":{"position":[[161,11]]},"206":{"position":[[233,12]]},"217":{"position":[[253,9]]},"221":{"position":[[37,9]]},"379":{"position":[[120,9]]},"410":{"position":[[379,11],[2018,11]]},"412":{"position":[[6294,9],[11479,12]]},"418":{"position":[[77,9],[452,9]]},"421":{"position":[[1184,9]]},"489":{"position":[[483,9]]},"497":{"position":[[459,9],[821,9]]},"569":{"position":[[739,11]]},"571":{"position":[[89,9]]},"589":{"position":[[156,11]]},"610":{"position":[[515,11],[655,9],[1078,11]]},"621":{"position":[[153,9]]},"624":{"position":[[1070,9]]},"634":{"position":[[346,11]]},"1007":{"position":[[1016,9]]}},"keywords":{}}],["immers",{"_index":3249,"title":{},"content":{"510":{"position":[[744,9]]}},"keywords":{}}],["immut",{"_index":5719,"title":{"1069":{"position":[[14,10]]}},"content":{"1051":{"position":[[71,9]]},"1069":{"position":[[164,10]]}},"keywords":{}}],["impact",{"_index":1236,"title":{},"content":{"178":{"position":[[364,6]]},"416":{"position":[[507,7]]},"427":{"position":[[1183,6]]},"434":{"position":[[301,6]]},"460":{"position":[[937,6]]},"641":{"position":[[182,6]]}},"keywords":{}}],["impact.it",{"_index":4405,"title":{},"content":{"749":{"position":[[21152,9]]}},"keywords":{}}],["imper",{"_index":3461,"title":{},"content":{"569":{"position":[[822,10]]}},"keywords":{}}],["implement",{"_index":40,"title":{"89":{"position":[[7,14]]},"314":{"position":[[13,12]]},"487":{"position":[[29,10]]},"876":{"position":[[8,14]]},"882":{"position":[[19,15]]},"1240":{"position":[[14,15]]}},"content":{"2":{"position":[[42,9]]},"24":{"position":[[660,16]]},"31":{"position":[[30,10]]},"38":{"position":[[339,12],[414,9]]},"41":{"position":[[298,12]]},"43":{"position":[[42,12]]},"46":{"position":[[409,10],[484,12]]},"47":{"position":[[243,10]]},"60":{"position":[[69,14]]},"65":{"position":[[1642,9]]},"90":{"position":[[276,12]]},"99":{"position":[[219,9]]},"102":{"position":[[44,12]]},"147":{"position":[[251,9]]},"165":{"position":[[349,9]]},"167":{"position":[[318,9]]},"173":{"position":[[357,12]]},"196":{"position":[[123,9]]},"203":{"position":[[122,9]]},"227":{"position":[[396,9]]},"250":{"position":[[176,9]]},"255":{"position":[[1639,15]]},"275":{"position":[[40,14]]},"302":{"position":[[571,9]]},"377":{"position":[[245,9]]},"391":{"position":[[265,14]]},"398":{"position":[[3433,15]]},"410":{"position":[[670,9],[1698,9]]},"412":{"position":[[1860,9],[3517,9],[3836,9],[5265,10],[9997,15],[13056,12],[14525,12]]},"445":{"position":[[2336,15]]},"455":{"position":[[412,14]]},"461":{"position":[[1048,15]]},"469":{"position":[[1344,15]]},"521":{"position":[[224,15]]},"529":{"position":[[191,12]]},"534":{"position":[[429,15],[507,12]]},"547":{"position":[[69,14]]},"559":{"position":[[859,9]]},"566":{"position":[[489,9],[1109,11]]},"594":{"position":[[427,15],[505,12]]},"607":{"position":[[69,15]]},"610":{"position":[[1406,12]]},"619":{"position":[[125,9]]},"620":{"position":[[367,15]]},"624":{"position":[[192,10]]},"626":{"position":[[565,11]]},"627":{"position":[[206,9]]},"630":{"position":[[905,12]]},"679":{"position":[[47,11]]},"686":{"position":[[571,9]]},"696":{"position":[[1263,15]]},"698":{"position":[[1385,9],[2100,9],[3207,12],[3263,12]]},"701":{"position":[[1108,9]]},"703":{"position":[[526,11],[1703,15]]},"705":{"position":[[912,9],[1111,12],[1197,12]]},"737":{"position":[[341,12]]},"743":{"position":[[24,11]]},"772":{"position":[[149,15]]},"778":{"position":[[474,9]]},"784":{"position":[[137,9],[334,10],[814,12]]},"815":{"position":[[122,11]]},"824":{"position":[[104,14]]},"836":{"position":[[1456,12]]},"875":{"position":[[1270,9],[1334,9],[2887,9],[3551,9],[3633,9],[5965,9],[6497,9],[6872,9],[7742,9]]},"876":{"position":[[154,15]]},"882":{"position":[[324,14]]},"904":{"position":[[1588,10]]},"906":{"position":[[764,14]]},"962":{"position":[[25,14],[354,15],[583,15]]},"981":{"position":[[461,11]]},"983":{"position":[[117,9]]},"996":{"position":[[181,11]]},"1005":{"position":[[148,10]]},"1067":{"position":[[251,14]]},"1079":{"position":[[466,16]]},"1100":{"position":[[217,12]]},"1124":{"position":[[519,11]]},"1149":{"position":[[383,9]]},"1151":{"position":[[128,15]]},"1170":{"position":[[296,16]]},"1178":{"position":[[127,15]]},"1191":{"position":[[35,15]]},"1218":{"position":[[69,9]]},"1225":{"position":[[324,14]]},"1246":{"position":[[988,15]]},"1263":{"position":[[218,14]]},"1272":{"position":[[492,15],[564,14]]},"1294":{"position":[[352,9]]},"1304":{"position":[[431,9],[1404,12]]},"1313":{"position":[[958,11]]},"1315":{"position":[[1065,14]]},"1316":{"position":[[297,12]]},"1324":{"position":[[237,15]]}},"keywords":{}}],["implementations.also",{"_index":4720,"title":{},"content":{"824":{"position":[[296,20]]}},"keywords":{}}],["impli",{"_index":2821,"title":{},"content":{"419":{"position":[[1777,7]]},"773":{"position":[[91,8]]}},"keywords":{}}],["implicit",{"_index":2159,"title":{},"content":{"382":{"position":[[24,8]]}},"keywords":{}}],["import",{"_index":22,"title":{"117":{"position":[[0,10]]},"152":{"position":[[0,10]]},"178":{"position":[[0,10]]},"321":{"position":[[0,10]]},"732":{"position":[[0,7]]},"780":{"position":[[16,9]]},"821":{"position":[[0,9]]}},"content":{"1":{"position":[[319,6],[359,6]]},"8":{"position":[[491,6],[725,6],[766,6],[840,6],[883,6]]},"50":{"position":[[207,10],[291,6],[478,6]]},"51":{"position":[[179,6],[550,6]]},"55":{"position":[[177,6],[234,6],[295,6],[668,6],[722,6],[800,6]]},"66":{"position":[[89,9]]},"128":{"position":[[216,6]]},"129":{"position":[[592,6],[698,6]]},"147":{"position":[[74,9]]},"188":{"position":[[638,6],[679,6],[743,6],[2392,6],[2534,6]]},"209":{"position":[[1,6],[55,6],[133,6]]},"210":{"position":[[146,6]]},"211":{"position":[[63,6],[117,6]]},"255":{"position":[[348,6],[402,6],[480,6]]},"258":{"position":[[1,6],[55,6]]},"261":{"position":[[214,6]]},"265":{"position":[[308,9]]},"266":{"position":[[540,6],[581,6]]},"314":{"position":[[300,6],[354,6]]},"315":{"position":[[162,6],[251,6],[329,6]]},"320":{"position":[[412,10]]},"333":{"position":[[257,6]]},"334":{"position":[[165,6],[206,6]]},"376":{"position":[[521,9]]},"391":{"position":[[424,6]]},"392":{"position":[[207,6],[248,6],[922,8],[3497,6]]},"393":{"position":[[916,6]]},"394":{"position":[[467,6],[524,6]]},"397":{"position":[[1619,6]]},"410":{"position":[[1137,9]]},"412":{"position":[[68,9],[4433,6],[8756,10]]},"436":{"position":[[304,9]]},"450":{"position":[[594,9]]},"452":{"position":[[703,9]]},"456":{"position":[[109,9]]},"463":{"position":[[214,10]]},"464":{"position":[[53,9]]},"480":{"position":[[158,6],[212,6]]},"481":{"position":[[576,6]]},"482":{"position":[[159,6],[213,6],[291,6]]},"494":{"position":[[137,6]]},"522":{"position":[[168,8],[278,6],[319,6]]},"538":{"position":[[259,6],[313,6]]},"541":{"position":[[172,6]]},"542":{"position":[[288,6],[379,6],[433,6]]},"554":{"position":[[475,6],[516,6],[739,6]]},"556":{"position":[[285,6],[744,6]]},"559":{"position":[[185,6]]},"562":{"position":[[1,6],[42,6],[1036,6]]},"563":{"position":[[198,6],[252,6],[330,6]]},"564":{"position":[[186,6],[227,6],[316,6]]},"579":{"position":[[167,6],[208,6]]},"580":{"position":[[299,6],[337,6]]},"598":{"position":[[267,6],[308,6]]},"601":{"position":[[377,6],[415,6]]},"612":{"position":[[1748,6]]},"613":{"position":[[522,9]]},"632":{"position":[[1039,6],[1093,6],[2108,6]]},"638":{"position":[[221,6]]},"646":{"position":[[1,6],[37,6]]},"650":{"position":[[33,6]]},"652":{"position":[[1,6],[37,6]]},"653":{"position":[[117,6],[158,6],[675,9]]},"659":{"position":[[288,6],[430,6]]},"661":{"position":[[834,6],[879,6],[1623,6]]},"662":{"position":[[1601,6],[1625,6],[1679,6],[1760,6],[1861,6],[1919,6]]},"673":{"position":[[1,6]]},"675":{"position":[[219,6]]},"676":{"position":[[293,6]]},"680":{"position":[[295,6],[342,6],[444,6],[530,6],[571,6]]},"698":{"position":[[829,9]]},"699":{"position":[[616,10]]},"700":{"position":[[734,9]]},"707":{"position":[[348,9]]},"710":{"position":[[303,9],[1540,6],[1581,6]]},"717":{"position":[[549,6],[638,6],[1052,6]]},"718":{"position":[[94,6],[209,6]]},"724":{"position":[[80,8],[172,6],[244,6],[435,6]]},"728":{"position":[[231,6],[258,6]]},"732":{"position":[[4,6],[53,6],[109,6]]},"734":{"position":[[125,6],[202,6],[409,6]]},"738":{"position":[[77,6],[113,6]]},"739":{"position":[[189,6]]},"740":{"position":[[416,6]]},"745":{"position":[[196,6],[264,6]]},"749":{"position":[[13312,6],[13416,8]]},"754":{"position":[[194,6]]},"759":{"position":[[87,6],[152,6],[232,6]]},"760":{"position":[[263,6],[328,6],[419,6]]},"761":{"position":[[345,9],[452,6],[578,6],[700,6]]},"772":{"position":[[542,6],[634,6],[675,6],[1421,6],[1462,6],[1557,6],[2129,6],[2255,6],[2319,6]]},"773":{"position":[[436,6],[477,6]]},"774":{"position":[[439,6],[480,6],[558,6]]},"783":{"position":[[146,9],[476,9]]},"797":{"position":[[160,10]]},"798":{"position":[[53,9],[216,9]]},"820":{"position":[[1,6],[71,6]]},"821":{"position":[[536,9]]},"825":{"position":[[85,7],[93,6],[168,6],[542,6],[593,6],[641,6],[743,8]]},"829":{"position":[[459,6],[513,6],[1241,6],[1293,6],[1350,6],[1893,6],[2317,6],[3229,6]]},"836":{"position":[[570,6],[624,6]]},"837":{"position":[[1499,6],[1540,6],[1576,6],[1622,6],[1669,6],[1712,6],[1784,6]]},"838":{"position":[[1918,6],[1942,6],[1983,6],[2059,6]]},"846":{"position":[[48,6]]},"848":{"position":[[1166,6]]},"852":{"position":[[63,6],[114,6]]},"854":{"position":[[92,6],[134,6]]},"857":{"position":[[205,6]]},"862":{"position":[[184,6],[218,6],[289,6],[370,6],[448,6]]},"866":{"position":[[104,6],[344,6]]},"872":{"position":[[845,6],[1540,6],[1594,6],[2280,6],[3100,6],[3161,6],[3775,6],[3816,6],[3880,6]]},"875":{"position":[[203,6],[327,6],[798,6],[837,6],[2021,6],[4267,6],[4316,6],[8039,6],[9458,6]]},"878":{"position":[[34,8],[180,6]]},"886":{"position":[[916,6]]},"888":{"position":[[343,6]]},"889":{"position":[[383,6]]},"892":{"position":[[1,6],[42,6]]},"893":{"position":[[89,6]]},"894":{"position":[[105,9]]},"898":{"position":[[2165,6],[2219,6],[2974,6],[3231,6]]},"904":{"position":[[565,6],[619,6],[1267,6],[1305,6]]},"906":{"position":[[886,6]]},"911":{"position":[[505,6],[570,6]]},"915":{"position":[[69,6],[105,6]]},"917":{"position":[[81,6]]},"932":{"position":[[678,6],[771,6]]},"952":{"position":[[172,6],[208,6]]},"953":{"position":[[4,6],[70,6],[180,9]]},"958":{"position":[[748,6]]},"960":{"position":[[133,6],[187,6]]},"962":{"position":[[658,6],[879,6]]},"968":{"position":[[373,6]]},"971":{"position":[[284,6],[320,6]]},"972":{"position":[[4,6],[69,6]]},"975":{"position":[[185,9],[252,9]]},"977":{"position":[[539,6]]},"978":{"position":[[87,6]]},"988":{"position":[[115,6],[181,6]]},"989":{"position":[[343,6]]},"1012":{"position":[[77,6],[113,6]]},"1041":{"position":[[150,6],[186,6]]},"1059":{"position":[[125,6]]},"1064":{"position":[[107,6],[143,6]]},"1090":{"position":[[445,6],[511,6],[577,6],[668,6]]},"1093":{"position":[[370,9]]},"1097":{"position":[[121,6],[331,6],[604,6]]},"1098":{"position":[[171,6],[232,6]]},"1099":{"position":[[153,6],[214,6]]},"1102":{"position":[[849,6]]},"1114":{"position":[[188,6],[432,6],[486,6],[604,6]]},"1118":{"position":[[340,6],[415,6]]},"1119":{"position":[[359,6],[395,6]]},"1121":{"position":[[329,6]]},"1125":{"position":[[44,6],[153,6],[194,6]]},"1130":{"position":[[1,6],[42,6]]},"1134":{"position":[[1,6],[42,6]]},"1138":{"position":[[34,6],[143,6],[184,6]]},"1139":{"position":[[241,6],[282,6]]},"1140":{"position":[[457,6],[498,6]]},"1144":{"position":[[3,6],[29,6],[83,6]]},"1145":{"position":[[233,6],[287,6]]},"1148":{"position":[[490,6],[519,6],[573,6],[637,6]]},"1149":{"position":[[612,6],[663,6],[732,6],[796,6]]},"1151":{"position":[[870,6]]},"1154":{"position":[[198,6],[312,6]]},"1156":{"position":[[263,6],[282,6]]},"1158":{"position":[[3,6],[23,6],[77,6]]},"1159":{"position":[[209,6],[263,6]]},"1163":{"position":[[2,6],[82,6]]},"1164":{"position":[[75,6],[1344,9]]},"1168":{"position":[[17,6],[58,6]]},"1172":{"position":[[1,6],[42,6]]},"1175":{"position":[[450,9]]},"1178":{"position":[[867,6]]},"1182":{"position":[[2,6],[82,6]]},"1184":{"position":[[368,6],[448,6],[535,6]]},"1189":{"position":[[122,6],[268,6],[309,6]]},"1201":{"position":[[1,6],[42,6]]},"1204":{"position":[[228,6]]},"1207":{"position":[[221,9]]},"1210":{"position":[[283,6],[324,6]]},"1211":{"position":[[532,6],[573,6]]},"1212":{"position":[[295,6],[365,6]]},"1213":{"position":[[592,6]]},"1218":{"position":[[285,6],[616,6],[694,6]]},"1219":{"position":[[263,6],[329,6],[777,6]]},"1222":{"position":[[1,6],[79,6],[800,10]]},"1225":{"position":[[128,6],[205,6]]},"1226":{"position":[[1,6],[42,6],[122,6]]},"1227":{"position":[[551,6],[592,6]]},"1229":{"position":[[200,6]]},"1231":{"position":[[441,6],[518,6],[598,6],[652,6]]},"1237":{"position":[[497,6],[568,6],[645,6],[734,6]]},"1238":{"position":[[443,6],[521,6],[595,6],[675,6]]},"1239":{"position":[[476,6],[590,6],[677,6]]},"1263":{"position":[[14,6],[91,6]]},"1264":{"position":[[1,6],[42,6]]},"1265":{"position":[[545,6],[586,6]]},"1268":{"position":[[406,6],[569,6],[646,6]]},"1271":{"position":[[745,6],[1085,6],[1117,6],[1361,6]]},"1274":{"position":[[1,6],[42,6],[263,6]]},"1275":{"position":[[119,6],[160,6],[261,6]]},"1276":{"position":[[391,6],[432,6],[721,6],[788,6]]},"1277":{"position":[[142,6],[183,6],[285,6],[717,6],[814,6]]},"1278":{"position":[[245,6],[286,6],[392,6],[697,6],[738,6],[839,6]]},"1279":{"position":[[310,6],[351,6],[457,6],[501,6],[582,6]]},"1280":{"position":[[241,6],[282,6],[370,6]]},"1281":{"position":[[107,6]]},"1286":{"position":[[191,6],[262,6]]},"1287":{"position":[[228,6],[308,6]]},"1288":{"position":[[174,6],[268,6]]},"1290":{"position":[[1,6]]},"1291":{"position":[[1,6]]},"1294":{"position":[[1942,10]]},"1309":{"position":[[436,6]]},"1319":{"position":[[525,9]]}},"keywords":{}}],["import('rxdb/plugins/dev",{"_index":3845,"title":{},"content":{"672":{"position":[[90,24]]},"673":{"position":[[96,24]]},"674":{"position":[[379,24]]}},"keywords":{}}],["import.meta.url",{"_index":2266,"title":{},"content":{"392":{"position":[[3963,19]]},"1268":{"position":[[518,18]]}},"keywords":{}}],["importjson",{"_index":5366,"title":{"953":{"position":[[0,13]]},"972":{"position":[[0,13]]}},"content":{"952":{"position":[[107,12]]},"971":{"position":[[219,12]]}},"keywords":{}}],["impos",{"_index":945,"title":{},"content":{"66":{"position":[[421,6]]},"276":{"position":[[112,7]]},"361":{"position":[[189,8]]},"427":{"position":[[1487,6]]},"545":{"position":[[176,6]]},"605":{"position":[[176,6]]}},"keywords":{}}],["imposs",{"_index":263,"title":{},"content":{"15":{"position":[[478,10]]},"412":{"position":[[6908,11]]},"1006":{"position":[[150,10]]},"1124":{"position":[[860,10]]},"1317":{"position":[[347,11]]}},"keywords":{}}],["impract",{"_index":1411,"title":{},"content":{"228":{"position":[[86,11]]},"408":{"position":[[720,11]]},"412":{"position":[[7318,12]]}},"keywords":{}}],["impress",{"_index":930,"title":{},"content":{"65":{"position":[[1518,11]]},"433":{"position":[[234,10]]}},"keywords":{}}],["improv",{"_index":512,"title":{"224":{"position":[[0,8]]},"404":{"position":[[16,12]]},"469":{"position":[[9,13]]},"470":{"position":[[7,13]]}},"content":{"33":{"position":[[113,8]]},"65":{"position":[[1877,8]]},"78":{"position":[[77,9]]},"87":{"position":[[164,7]]},"91":{"position":[[175,8]]},"92":{"position":[[151,8]]},"93":{"position":[[220,8]]},"108":{"position":[[182,8]]},"111":{"position":[[132,8]]},"138":{"position":[[4,7]]},"141":{"position":[[37,7]]},"173":{"position":[[2631,8]]},"174":{"position":[[2486,8]]},"194":{"position":[[161,9]]},"197":{"position":[[194,8]]},"224":{"position":[[26,8]]},"234":{"position":[[231,8]]},"236":{"position":[[103,9],[251,8]]},"241":{"position":[[523,8]]},"266":{"position":[[1018,7]]},"281":{"position":[[290,8]]},"294":{"position":[[202,9]]},"311":{"position":[[160,9]]},"342":{"position":[[116,7]]},"350":{"position":[[364,9]]},"354":{"position":[[1187,8]]},"385":{"position":[[330,9]]},"386":{"position":[[345,13]]},"392":{"position":[[3161,7]]},"396":{"position":[[53,7],[740,9]]},"399":{"position":[[46,8]]},"402":{"position":[[40,7],[163,8],[767,7],[922,12],[1023,8],[1656,7],[1746,7],[2553,7],[2711,7]]},"407":{"position":[[1094,9]]},"408":{"position":[[4249,12]]},"410":{"position":[[1256,9]]},"411":{"position":[[5737,8]]},"420":{"position":[[930,9]]},"452":{"position":[[493,13],[549,8],[684,13]]},"467":{"position":[[520,8]]},"469":{"position":[[35,12],[433,8],[755,8],[1001,7],[1089,7],[1201,7]]},"470":{"position":[[442,8],[597,7]]},"483":{"position":[[823,7]]},"485":{"position":[[49,9]]},"528":{"position":[[63,7]]},"588":{"position":[[113,9]]},"617":{"position":[[846,7]]},"641":{"position":[[297,8]]},"656":{"position":[[434,7]]},"780":{"position":[[133,8]]},"798":{"position":[[790,7]]},"801":{"position":[[60,7]]},"876":{"position":[[371,7]]},"894":{"position":[[118,7]]},"902":{"position":[[135,9]]},"947":{"position":[[52,8]]},"1066":{"position":[[240,7],[596,7]]},"1071":{"position":[[483,7]]},"1072":{"position":[[388,7]]},"1083":{"position":[[319,12]]},"1085":{"position":[[2359,8]]},"1120":{"position":[[506,7]]},"1124":{"position":[[1715,8]]},"1125":{"position":[[691,7]]},"1134":{"position":[[673,7]]},"1143":{"position":[[583,8]]},"1151":{"position":[[378,9]]},"1161":{"position":[[1,8]]},"1178":{"position":[[377,9]]},"1180":{"position":[[1,8]]},"1206":{"position":[[571,8]]},"1230":{"position":[[194,7]]},"1238":{"position":[[413,7]]},"1246":{"position":[[273,7],[593,7],[1041,11],[1505,7]]},"1294":{"position":[[74,7],[187,8],[1885,12]]},"1295":{"position":[[661,11]]},"1296":{"position":[[9,7],[522,7],[1635,7]]},"1297":{"position":[[171,7],[438,7],[489,11]]},"1298":{"position":[[68,11],[346,11]]}},"keywords":{}}],["inaccess",{"_index":1689,"title":{},"content":{"291":{"position":[[265,12]]}},"keywords":{}}],["inact",{"_index":3652,"title":{},"content":{"618":{"position":[[320,11]]}},"keywords":{}}],["inadvert",{"_index":4671,"title":{},"content":{"802":{"position":[[487,13]]}},"keywords":{}}],["inc",{"_index":3867,"title":{},"content":{"678":{"position":[[290,5]]},"680":{"position":[[1381,5]]},"681":{"position":[[328,4],[802,5]]},"683":{"position":[[1007,5]]},"1041":{"position":[[299,5]]},"1044":{"position":[[314,5]]},"1059":{"position":[[302,5]]}},"keywords":{}}],["includ",{"_index":113,"title":{},"content":{"8":{"position":[[436,8]]},"19":{"position":[[41,8]]},"34":{"position":[[579,9]]},"65":{"position":[[1867,9]]},"94":{"position":[[20,9]]},"105":{"position":[[78,9]]},"112":{"position":[[87,9]]},"129":{"position":[[400,9]]},"131":{"position":[[98,8]]},"162":{"position":[[143,8]]},"173":{"position":[[2221,9]]},"174":{"position":[[2693,9]]},"189":{"position":[[103,8]]},"201":{"position":[[146,10]]},"222":{"position":[[21,9]]},"267":{"position":[[100,8]]},"270":{"position":[[71,9]]},"282":{"position":[[127,9]]},"285":{"position":[[60,9]]},"298":{"position":[[785,7]]},"299":{"position":[[1243,8]]},"310":{"position":[[80,8]]},"333":{"position":[[204,9]]},"357":{"position":[[124,9]]},"358":{"position":[[206,8]]},"368":{"position":[[140,9]]},"376":{"position":[[220,8]]},"390":{"position":[[922,9]]},"392":{"position":[[1432,8]]},"407":{"position":[[1006,7]]},"412":{"position":[[9199,10]]},"425":{"position":[[157,9]]},"434":{"position":[[262,8]]},"444":{"position":[[217,7]]},"513":{"position":[[263,7]]},"524":{"position":[[201,8]]},"530":{"position":[[346,9]]},"567":{"position":[[956,9]]},"612":{"position":[[1572,8]]},"624":{"position":[[963,9]]},"640":{"position":[[114,8]]},"690":{"position":[[103,8]]},"691":{"position":[[603,8]]},"723":{"position":[[2147,9]]},"749":{"position":[[2515,8]]},"824":{"position":[[577,8]]},"829":{"position":[[229,9]]},"832":{"position":[[6,8],[103,9]]},"835":{"position":[[565,8]]},"836":{"position":[[262,7]]},"838":{"position":[[413,8]]},"886":{"position":[[4277,8],[4840,8]]},"890":{"position":[[617,7],[856,10]]},"898":{"position":[[1997,7]]},"911":{"position":[[484,8]]},"1292":{"position":[[754,9]]}},"keywords":{}}],["includewshead",{"_index":5140,"title":{},"content":{"886":{"position":[[4249,17]]}},"keywords":{}}],["inclus",{"_index":6032,"title":{},"content":{"1132":{"position":[[1434,9]]}},"keywords":{}}],["incognito",{"_index":1873,"title":{},"content":{"305":{"position":[[328,9]]}},"keywords":{}}],["incom",{"_index":2152,"title":{},"content":{"379":{"position":[[250,8]]},"410":{"position":[[1992,8]]},"411":{"position":[[3448,8]]},"490":{"position":[[104,8]]},"496":{"position":[[757,8]]},"898":{"position":[[3500,8]]},"1318":{"position":[[911,8]]}},"keywords":{}}],["inconsist",{"_index":1428,"title":{},"content":{"237":{"position":[[269,16]]},"590":{"position":[[907,16]]}},"keywords":{}}],["inconveni",{"_index":6088,"title":{},"content":{"1151":{"position":[[301,14]]},"1178":{"position":[[300,14]]}},"keywords":{}}],["incorpor",{"_index":1053,"title":{},"content":{"113":{"position":[[6,12]]},"174":{"position":[[1566,12]]},"283":{"position":[[291,13]]},"365":{"position":[[6,13]]},"491":{"position":[[605,11]]},"981":{"position":[[1209,13]]}},"keywords":{}}],["incorrectli",{"_index":5656,"title":{},"content":{"1033":{"position":[[234,12]]}},"keywords":{}}],["increas",{"_index":673,"title":{},"content":{"43":{"position":[[423,9]]},"69":{"position":[[76,8]]},"281":{"position":[[433,9]]},"394":{"position":[[1467,10]]},"402":{"position":[[1518,10]]},"403":{"position":[[419,8],[522,8]]},"408":{"position":[[826,9]]},"412":{"position":[[8943,9],[9157,8],[9273,9]]},"463":{"position":[[1089,9]]},"617":{"position":[[1619,9]]},"623":{"position":[[83,8]]},"696":{"position":[[1698,8]]},"698":{"position":[[2836,9],[2971,9]]},"772":{"position":[[470,8]]},"773":{"position":[[767,8],[823,8]]},"780":{"position":[[209,8]]},"782":{"position":[[107,8]]},"800":{"position":[[525,8]]},"802":{"position":[[501,8]]},"902":{"position":[[257,9]]},"1041":{"position":[[317,9]]},"1044":{"position":[[332,9]]},"1059":{"position":[[320,9]]},"1061":{"position":[[221,9]]},"1085":{"position":[[3300,8]]},"1089":{"position":[[16,9]]},"1095":{"position":[[206,8]]},"1115":{"position":[[184,8],[252,9],[357,8]]},"1162":{"position":[[609,8]]},"1181":{"position":[[697,8]]},"1198":{"position":[[644,8]]},"1237":{"position":[[201,8]]},"1239":{"position":[[453,8]]},"1270":{"position":[[220,9]]},"1282":{"position":[[242,9]]},"1292":{"position":[[789,9]]},"1295":{"position":[[369,9],[714,10],[1025,9]]},"1305":{"position":[[637,9]]}},"keywords":{}}],["increasingli",{"_index":1419,"title":{},"content":{"232":{"position":[[23,12]]},"320":{"position":[[399,12]]},"369":{"position":[[671,12]]},"375":{"position":[[865,12]]},"407":{"position":[[353,12]]},"410":{"position":[[1124,12]]},"574":{"position":[[528,12]]}},"keywords":{}}],["increment",{"_index":2671,"title":{"1044":{"position":[[27,11]]}},"content":{"412":{"position":[[2604,13]]},"491":{"position":[[242,11]]},"636":{"position":[[91,11]]},"678":{"position":[[257,9]]},"680":{"position":[[1309,10]]},"683":{"position":[[980,9]]},"696":{"position":[[1495,10]]},"723":{"position":[[1544,13],[1667,11],[1967,11]]},"870":{"position":[[94,11]]},"896":{"position":[[202,11]]},"948":{"position":[[285,11]]},"1044":{"position":[[245,11]]},"1300":{"position":[[374,11]]},"1307":{"position":[[684,11]]}},"keywords":{}}],["incrementalmodifi",{"_index":5749,"title":{"1061":{"position":[[11,20]]}},"content":{"1307":{"position":[[721,20]]}},"keywords":{}}],["incrementalpatch",{"_index":5746,"title":{"1060":{"position":[[10,19]]}},"content":{"1307":{"position":[[742,18]]}},"keywords":{}}],["incrementalremov",{"_index":5752,"title":{"1062":{"position":[[11,20]]}},"content":{},"keywords":{}}],["incrementalupsert",{"_index":5346,"title":{"948":{"position":[[0,20]]}},"content":{"1307":{"position":[[764,20]]}},"keywords":{}}],["incur",{"_index":2899,"title":{},"content":{"429":{"position":[[333,5]]},"621":{"position":[[370,6]]}},"keywords":{}}],["indefinit",{"_index":1865,"title":{},"content":{"305":{"position":[[27,12]]},"451":{"position":[[795,12]]}},"keywords":{}}],["independ",{"_index":3041,"title":{},"content":{"464":{"position":[[111,11]]},"611":{"position":[[457,13]]},"831":{"position":[[387,11]]},"839":{"position":[[102,11]]},"1140":{"position":[[198,13]]}},"keywords":{}}],["index",{"_index":60,"title":{"138":{"position":[[0,8]]},"194":{"position":[[0,8]]},"342":{"position":[[0,8]]},"395":{"position":[[0,8]]},"396":{"position":[[7,8]]},"397":{"position":[[8,7]]},"398":{"position":[[54,8]]},"459":{"position":[[0,8]]},"507":{"position":[[0,8]]},"527":{"position":[[0,8]]},"587":{"position":[[0,8]]},"796":{"position":[[68,5]]},"797":{"position":[[15,6]]},"798":{"position":[[26,5]]},"1022":{"position":[[12,5]]},"1066":{"position":[[19,6]]},"1079":{"position":[[0,8]]},"1080":{"position":[[0,5]]},"1107":{"position":[[12,8]]},"1296":{"position":[[7,8]]}},"content":{"4":{"position":[[73,8]]},"33":{"position":[[434,5]]},"40":{"position":[[538,9]]},"45":{"position":[[236,8]]},"47":{"position":[[544,8]]},"138":{"position":[[57,7],[103,8],[234,8]]},"166":{"position":[[1,8],[83,8],[106,8],[205,7]]},"170":{"position":[[394,9]]},"188":{"position":[[1406,8]]},"194":{"position":[[1,8],[72,7],[133,7]]},"205":{"position":[[143,7]]},"212":{"position":[[270,9]]},"252":{"position":[[94,10],[170,7]]},"260":{"position":[[185,8]]},"262":{"position":[[425,8]]},"283":{"position":[[54,8]]},"342":{"position":[[8,7],[91,8]]},"346":{"position":[[811,7]]},"356":{"position":[[242,5]]},"358":{"position":[[337,8],[954,8]]},"360":{"position":[[748,9]]},"362":{"position":[[695,9]]},"369":{"position":[[224,8]]},"376":{"position":[[453,9],[481,7]]},"385":{"position":[[181,7]]},"395":{"position":[[201,5],[288,5],[499,8]]},"396":{"position":[[27,8],[832,8],[931,5],[1058,5],[1158,5],[1200,5],[1448,5],[1684,5],[1743,8]]},"397":{"position":[[26,5],[134,5],[451,5],[880,5],[1340,5],[1510,5],[1604,5],[1718,5],[2025,5]]},"398":{"position":[[38,7],[143,8],[404,7],[475,5],[521,5],[1766,5],[1886,5],[3266,9]]},"400":{"position":[[77,5],[103,5],[138,5],[427,7],[469,5]]},"402":{"position":[[976,7],[1015,7],[1464,5]]},"403":{"position":[[21,5],[704,5]]},"408":{"position":[[5104,8]]},"412":{"position":[[9506,10],[10461,8]]},"427":{"position":[[874,9],[903,8]]},"432":{"position":[[427,8]]},"452":{"position":[[216,7],[326,7]]},"453":{"position":[[827,8]]},"457":{"position":[[398,8]]},"459":{"position":[[156,7],[276,8],[325,7],[507,5],[740,5],[1037,7],[1077,5]]},"462":{"position":[[941,7]]},"468":{"position":[[256,5]]},"469":{"position":[[248,5]]},"507":{"position":[[94,8]]},"523":{"position":[[675,6]]},"527":{"position":[[11,8],[111,7]]},"559":{"position":[[1452,9]]},"560":{"position":[[272,9],[476,5]]},"566":{"position":[[144,7],[279,5],[390,8]]},"587":{"position":[[13,7]]},"590":{"position":[[601,8],[651,7]]},"636":{"position":[[70,8]]},"659":{"position":[[867,7]]},"723":{"position":[[22,8],[361,8],[662,8],[921,8],[995,8],[1123,7],[1159,5],[1330,8],[1360,5],[1434,5],[1535,5],[1950,5]]},"724":{"position":[[607,8],[1091,5],[1228,5],[1304,5]]},"749":{"position":[[2398,5],[2712,5],[17910,6],[17938,5],[18060,5],[18514,7],[18608,7],[18837,5],[19381,7],[19464,7],[20169,6],[20334,6],[20489,5],[20593,6],[20761,6],[21354,7],[21487,7],[23022,5]]},"772":{"position":[[335,7]]},"796":{"position":[[78,5],[203,5],[381,5],[677,5],[828,6],[1097,5]]},"797":{"position":[[85,5],[113,8],[214,5],[318,5],[324,6]]},"798":{"position":[[39,5],[96,5],[152,5],[428,5],[781,5],[911,6],[1037,8]]},"801":{"position":[[697,9]]},"821":{"position":[[63,7],[173,7],[501,7],[601,5],[1017,5]]},"841":{"position":[[395,7]]},"854":{"position":[[1285,7]]},"1022":{"position":[[121,9],[251,8]]},"1023":{"position":[[40,5]]},"1065":{"position":[[1909,8]]},"1066":{"position":[[118,7],[230,6],[289,5],[587,5],[717,6]]},"1067":{"position":[[919,5],[1216,5],[1446,5],[1503,5],[1818,7],[2239,7]]},"1068":{"position":[[20,7]]},"1071":{"position":[[395,7]]},"1072":{"position":[[2837,7]]},"1074":{"position":[[181,8]]},"1079":{"position":[[25,7],[91,5],[203,6],[437,7],[535,7],[643,6]]},"1080":{"position":[[67,9],[323,6],[513,6],[788,6],[816,8],[875,5],[969,5]]},"1085":{"position":[[681,6],[998,5]]},"1107":{"position":[[20,7],[438,7],[920,7],[984,7]]},"1123":{"position":[[553,8]]},"1132":{"position":[[106,8],[158,7],[312,7]]},"1143":{"position":[[374,7],[470,7]]},"1164":{"position":[[362,7],[396,7]]},"1271":{"position":[[370,8]]},"1294":{"position":[[474,5],[566,7],[938,5],[963,8],[1084,5]]},"1295":{"position":[[1132,6]]},"1296":{"position":[[1,7],[172,5],[342,6],[393,6],[448,5],[506,5],[558,5],[652,5],[855,5],[979,5],[1026,7],[1063,5],[1110,5],[1173,6],[1338,5],[1447,5],[1617,5],[1738,8],[1842,8],[1869,7]]}},"keywords":{}}],["index.getall(keyrang",{"_index":2999,"title":{},"content":{"459":{"position":[[797,23]]}},"keywords":{}}],["index.getall(rang",{"_index":6437,"title":{},"content":{"1294":{"position":[[1474,19]]}},"keywords":{}}],["index.j",{"_index":4582,"title":{},"content":{"773":{"position":[[895,8]]}},"keywords":{}}],["indexdb",{"_index":2906,"title":{},"content":{"432":{"position":[[398,7]]}},"keywords":{}}],["indexdist",{"_index":2415,"title":{},"content":{"398":{"position":[[1810,13],[2026,13],[2290,14],[3395,14]]},"402":{"position":[[1168,13]]}},"keywords":{}}],["indexeddb",{"_index":52,"title":{"3":{"position":[[0,10]]},"4":{"position":[[0,10]]},"44":{"position":[[57,9]]},"45":{"position":[[8,11]]},"46":{"position":[[8,9]]},"47":{"position":[[16,9]]},"56":{"position":[[8,9]]},"58":{"position":[[15,10]]},"59":{"position":[[16,10]]},"64":{"position":[[0,10]]},"297":{"position":[[0,9]]},"298":{"position":[[4,9]]},"299":{"position":[[17,9]]},"300":{"position":[[22,9]]},"301":{"position":[[19,9]]},"304":{"position":[[0,9]]},"305":{"position":[[41,11]]},"432":{"position":[[16,10]]},"448":{"position":[[17,9]]},"452":{"position":[[8,10]]},"521":{"position":[[0,9]]},"532":{"position":[[0,9]]},"533":{"position":[[8,11]]},"534":{"position":[[8,9]]},"535":{"position":[[21,10]]},"543":{"position":[[6,9]]},"545":{"position":[[15,10]]},"546":{"position":[[16,10]]},"560":{"position":[[25,10]]},"566":{"position":[[26,9]]},"592":{"position":[[0,9]]},"593":{"position":[[8,11]]},"594":{"position":[[8,9]]},"595":{"position":[[21,10]]},"603":{"position":[[4,9]]},"605":{"position":[[15,10]]},"606":{"position":[[16,10]]},"709":{"position":[[15,9]]},"1136":{"position":[[0,9]]},"1137":{"position":[[0,9]]},"1138":{"position":[[10,9]]},"1139":{"position":[[30,10]]},"1141":{"position":[[19,9]]},"1143":{"position":[[12,9]]},"1145":{"position":[[30,9]]},"1243":{"position":[[3,10]]},"1293":{"position":[[4,9]]},"1295":{"position":[[0,9]]},"1299":{"position":[[20,10]]}},"content":{"3":{"position":[[5,9],[49,9]]},"4":{"position":[[27,9],[303,9],[360,13]]},"16":{"position":[[311,10]]},"24":{"position":[[203,10]]},"28":{"position":[[209,11]]},"31":{"position":[[44,9],[126,10],[147,9],[292,9]]},"32":{"position":[[207,9]]},"33":{"position":[[40,10],[91,10],[212,9],[592,9]]},"35":{"position":[[163,10]]},"45":{"position":[[1,9],[200,9]]},"46":{"position":[[100,9]]},"47":{"position":[[47,9],[97,9],[254,9],[719,9],[963,10],[1066,9],[1186,9]]},"51":{"position":[[159,9],[540,9]]},"58":{"position":[[7,9],[134,9],[219,10],[299,10],[353,10]]},"64":{"position":[[1,10]]},"65":{"position":[[1963,9]]},"66":{"position":[[49,10]]},"100":{"position":[[264,10]]},"120":{"position":[[107,10]]},"131":{"position":[[234,9],[264,9],[652,11]]},"155":{"position":[[199,10]]},"161":{"position":[[98,10],[171,10]]},"162":{"position":[[273,9]]},"181":{"position":[[48,10]]},"207":{"position":[[127,9]]},"227":{"position":[[238,10]]},"245":{"position":[[61,9]]},"254":{"position":[[321,9]]},"266":{"position":[[103,10]]},"287":{"position":[[501,9]]},"299":{"position":[[1,9],[1597,9],[1692,9]]},"302":{"position":[[213,9]]},"304":{"position":[[73,9],[330,9]]},"305":{"position":[[1,9]]},"306":{"position":[[28,9],[321,9]]},"322":{"position":[[55,9]]},"331":{"position":[[63,9]]},"336":{"position":[[192,9],[519,9]]},"365":{"position":[[921,9]]},"368":{"position":[[150,10]]},"383":{"position":[[370,9]]},"384":{"position":[[103,12]]},"396":{"position":[[1567,10]]},"400":{"position":[[381,9]]},"402":{"position":[[2744,9]]},"408":{"position":[[423,10],[658,9],[857,9],[2027,9],[3954,9]]},"411":{"position":[[4190,9]]},"412":{"position":[[7723,9],[7897,9],[9830,9]]},"429":{"position":[[149,9],[649,10]]},"432":{"position":[[126,9],[181,9],[346,9],[531,9],[679,10],[731,9],[868,9],[983,9],[1092,9],[1302,9],[1329,9]]},"435":{"position":[[225,10],[293,10]]},"441":{"position":[[407,10]]},"442":{"position":[[71,9]]},"452":{"position":[[1,9],[78,9],[194,9],[433,9],[623,9]]},"457":{"position":[[207,9]]},"458":{"position":[[799,9],[905,9]]},"459":{"position":[[238,9],[440,9],[994,9]]},"461":{"position":[[910,9],[1015,9],[1453,9],[1532,10]]},"463":{"position":[[319,9],[758,11],[823,9],[1233,9]]},"464":{"position":[[314,9],[409,11],[681,9]]},"465":{"position":[[176,9],[270,11]]},"466":{"position":[[139,9],[233,11]]},"467":{"position":[[111,9],[208,11]]},"469":{"position":[[103,9],[739,10]]},"479":{"position":[[315,11]]},"489":{"position":[[265,11]]},"495":{"position":[[801,9]]},"504":{"position":[[214,9]]},"513":{"position":[[146,9]]},"520":{"position":[[194,9]]},"521":{"position":[[7,9],[279,9],[374,9],[675,10]]},"524":{"position":[[934,9]]},"533":{"position":[[1,9]]},"534":{"position":[[35,9],[160,10]]},"535":{"position":[[7,9],[139,9],[259,9],[604,9],[714,9],[921,9],[1123,10],[1192,9]]},"536":{"position":[[61,9]]},"538":{"position":[[95,9]]},"545":{"position":[[7,9],[78,9]]},"548":{"position":[[183,10],[314,9]]},"560":{"position":[[429,10],[638,9]]},"561":{"position":[[185,9]]},"566":{"position":[[29,9],[775,9]]},"576":{"position":[[47,9]]},"581":{"position":[[590,9]]},"593":{"position":[[1,9]]},"594":{"position":[[33,9],[158,10]]},"595":{"position":[[7,9],[139,9],[272,9],[631,9],[735,9],[996,9],[1200,10],[1269,9]]},"596":{"position":[[59,9]]},"598":{"position":[[95,9]]},"605":{"position":[[7,9],[78,9]]},"608":{"position":[[183,10],[312,9]]},"631":{"position":[[154,10]]},"640":{"position":[[124,9]]},"641":{"position":[[227,9]]},"660":{"position":[[55,10]]},"662":{"position":[[649,11],[818,10]]},"696":{"position":[[856,10],[948,10],[1003,9]]},"697":{"position":[[28,9]]},"703":{"position":[[483,9],[513,9]]},"709":{"position":[[138,9],[660,9],[1203,9],[1238,9]]},"710":{"position":[[627,9],[1243,9],[2246,9]]},"714":{"position":[[389,10]]},"718":{"position":[[277,11]]},"745":{"position":[[332,11]]},"759":{"position":[[65,9],[220,11]]},"779":{"position":[[394,9]]},"793":{"position":[[203,9],[1326,9],[1353,9]]},"820":{"position":[[242,9]]},"856":{"position":[[96,10]]},"898":{"position":[[2099,10]]},"932":{"position":[[839,11]]},"981":{"position":[[1121,9]]},"1072":{"position":[[1805,9]]},"1137":{"position":[[121,9]]},"1138":{"position":[[12,9],[252,11]]},"1139":{"position":[[16,9],[48,9],[170,9],[350,11],[386,9],[439,12],[607,10]]},"1140":{"position":[[348,9],[435,9],[566,11],[666,10]]},"1141":{"position":[[215,9],[254,9]]},"1143":{"position":[[104,9],[425,9]]},"1145":{"position":[[16,9],[166,9],[375,9],[428,12],[592,10]]},"1148":{"position":[[236,9]]},"1154":{"position":[[380,11],[544,9]]},"1163":{"position":[[70,11],[191,9]]},"1165":{"position":[[180,9]]},"1170":{"position":[[134,9]]},"1172":{"position":[[152,10],[177,9],[268,9]]},"1173":{"position":[[110,10]]},"1182":{"position":[[70,11],[191,9]]},"1184":{"position":[[436,11]]},"1191":{"position":[[326,9]]},"1195":{"position":[[78,9]]},"1198":{"position":[[1369,9]]},"1206":{"position":[[184,9],[498,10]]},"1209":{"position":[[117,9],[461,10]]},"1222":{"position":[[1131,9],[1192,9],[1230,9]]},"1225":{"position":[[401,9]]},"1226":{"position":[[182,11]]},"1231":{"position":[[586,11]]},"1235":{"position":[[152,9]]},"1237":{"position":[[157,10],[802,11]]},"1238":{"position":[[663,11]]},"1243":{"position":[[5,9],[43,10]]},"1246":{"position":[[1010,11]]},"1247":{"position":[[204,9]]},"1263":{"position":[[159,11],[295,9]]},"1268":{"position":[[714,11]]},"1276":{"position":[[137,9],[244,9]]},"1292":{"position":[[206,9],[238,9],[270,9],[912,11]]},"1294":{"position":[[6,9],[235,9],[2145,9]]},"1295":{"position":[[406,9],[607,9]]},"1296":{"position":[[42,9],[1832,9],[1884,9]]},"1297":{"position":[[77,9]]},"1299":{"position":[[92,9],[331,9],[391,9],[510,9]]},"1300":{"position":[[36,10],[164,10],[386,9]]},"1302":{"position":[[46,9]]}},"keywords":{}}],["indexeddb"",{"_index":1449,"title":{},"content":{"243":{"position":[[195,15]]},"244":{"position":[[507,15]]}},"keywords":{}}],["indexeddb'",{"_index":730,"title":{},"content":{"47":{"position":[[497,11],[665,11]]},"61":{"position":[[286,11]]}},"keywords":{}}],["indexeddb.opf",{"_index":3512,"title":{},"content":{"581":{"position":[[234,14]]}},"keywords":{}}],["indexeddb.shar",{"_index":6274,"title":{},"content":{"1227":{"position":[[902,18]]}},"keywords":{}}],["indexeddb.worker.j",{"_index":6304,"title":{},"content":{"1265":{"position":[[876,22]]}},"keywords":{}}],["indexeddb/lib/fdbkeyrang",{"_index":6052,"title":{},"content":{"1139":{"position":[[490,28]]},"1145":{"position":[[479,28]]}},"keywords":{}}],["indexeddbstorag",{"_index":3329,"title":{},"content":{"545":{"position":[[142,16]]},"605":{"position":[[142,16]]}},"keywords":{}}],["indexeddbth",{"_index":3969,"title":{},"content":{"703":{"position":[[428,12]]}},"keywords":{}}],["indexeddb—a",{"_index":3415,"title":{},"content":{"560":{"position":[[184,11]]}},"keywords":{}}],["indexes.array",{"_index":4377,"title":{},"content":{"749":{"position":[[18727,13]]}},"keywords":{}}],["indexing.typescript",{"_index":3534,"title":{},"content":{"595":{"position":[[564,19]]}},"keywords":{}}],["indexkey",{"_index":4380,"title":{},"content":{"749":{"position":[[18943,8]]}},"keywords":{}}],["indexnrtostring(distancetoindex",{"_index":2403,"title":{},"content":{"398":{"position":[[1080,32],[1242,32],[2380,31],[2427,31]]}},"keywords":{}}],["indexnrtostring(indexvalu",{"_index":2387,"title":{},"content":{"397":{"position":[[2172,28]]}},"keywords":{}}],["indexopt",{"_index":4061,"title":{},"content":{"724":{"position":[[1482,13]]}},"keywords":{}}],["indexschema",{"_index":2357,"title":{},"content":{"397":{"position":[[472,11],[911,12],[942,12],[973,12],[1004,12],[1035,11]]}},"keywords":{}}],["indexvalu",{"_index":2384,"title":{},"content":{"397":{"position":[[2086,10]]}},"keywords":{}}],["indic",{"_index":446,"title":{},"content":{"27":{"position":[[396,9]]},"427":{"position":[[1407,10]]},"474":{"position":[[225,10]]},"602":{"position":[[267,9]]},"855":{"position":[[224,8]]},"861":{"position":[[1773,9]]},"867":{"position":[[219,8]]},"990":{"position":[[925,9]]}},"keywords":{}}],["indirect",{"_index":2561,"title":{},"content":{"408":{"position":[[3984,11]]}},"keywords":{}}],["indispens",{"_index":3238,"title":{},"content":{"506":{"position":[[140,13]]},"510":{"position":[[498,13]]}},"keywords":{}}],["individu",{"_index":968,"title":{},"content":{"75":{"position":[[36,10]]},"106":{"position":[[23,10]]},"174":{"position":[[1017,10]]},"279":{"position":[[246,10]]},"304":{"position":[[42,10]]},"369":{"position":[[357,10]]}},"keywords":{}}],["industri",{"_index":3450,"title":{},"content":{"569":{"position":[[256,10]]}},"keywords":{}}],["ineffici",{"_index":2063,"title":{},"content":{"358":{"position":[[579,11]]},"394":{"position":[[1762,11]]},"430":{"position":[[373,11]]},"624":{"position":[[1412,12]]}},"keywords":{}}],["inequ",{"_index":4890,"title":{},"content":{"858":{"position":[[471,10]]}},"keywords":{}}],["inevit",{"_index":2656,"title":{},"content":{"412":{"position":[[681,10],[3049,10]]},"474":{"position":[[57,10]]}},"keywords":{}}],["infin",{"_index":3646,"title":{},"content":{"617":{"position":[[1372,8]]},"749":{"position":[[21388,8],[21401,8]]},"1294":{"position":[[1333,9],[1367,9]]},"1296":{"position":[[1387,10],[1398,10],[1564,9]]}},"keywords":{}}],["infinit",{"_index":3274,"title":{},"content":{"523":{"position":[[559,11]]},"696":{"position":[[280,8]]},"1009":{"position":[[872,8]]},"1010":{"position":[[8,8],[70,8]]}},"keywords":{}}],["influenc",{"_index":1754,"title":{},"content":{"299":{"position":[[792,10]]}},"keywords":{}}],["info",{"_index":871,"title":{},"content":{"58":{"position":[[319,5]]},"546":{"position":[[216,5]]},"606":{"position":[[216,5]]},"746":{"position":[[749,5]]},"749":{"position":[[297,5]]}},"keywords":{}}],["inform",{"_index":906,"title":{},"content":{"65":{"position":[[214,12],[661,12],[1684,12]]},"95":{"position":[[82,12]]},"152":{"position":[[100,11]]},"158":{"position":[[332,12]]},"167":{"position":[[172,11]]},"173":{"position":[[1287,11]]},"195":{"position":[[156,11]]},"218":{"position":[[156,12]]},"279":{"position":[[267,11]]},"289":{"position":[[1384,12],[1976,11]]},"291":{"position":[[245,11],[411,12]]},"310":{"position":[[62,12]]},"343":{"position":[[123,12]]},"346":{"position":[[296,6]]},"377":{"position":[[217,12]]},"410":{"position":[[563,11]]},"441":{"position":[[622,8]]},"458":{"position":[[1229,6]]},"506":{"position":[[111,12]]},"526":{"position":[[143,11]]},"550":{"position":[[136,11],[226,12]]},"586":{"position":[[37,12]]},"610":{"position":[[435,12]]},"638":{"position":[[58,11],[102,12]]},"698":{"position":[[1145,11]]},"701":{"position":[[771,11]]},"875":{"position":[[8737,8],[9157,11]]},"880":{"position":[[129,6]]},"889":{"position":[[315,11]]},"890":{"position":[[911,11]]},"912":{"position":[[294,11]]},"1151":{"position":[[167,6]]},"1178":{"position":[[166,6]]}},"keywords":{}}],["infrastructur",{"_index":1227,"title":{},"content":{"174":{"position":[[3183,14]]},"201":{"position":[[60,14]]},"289":{"position":[[1216,15]]},"408":{"position":[[2177,14]]},"412":{"position":[[1443,14],[1925,15],[4167,15]]},"418":{"position":[[764,14]]},"485":{"position":[[110,15]]},"504":{"position":[[1480,14]]},"614":{"position":[[226,14]]},"619":{"position":[[163,14]]},"627":{"position":[[44,14],[242,15]]},"632":{"position":[[986,15]]},"686":{"position":[[483,15]]},"875":{"position":[[7671,15]]},"902":{"position":[[223,15]]}},"keywords":{}}],["infrastructure.optim",{"_index":6490,"title":{},"content":{"1304":{"position":[[1976,28]]}},"keywords":{}}],["inher",{"_index":1025,"title":{},"content":{"99":{"position":[[165,10]]},"226":{"position":[[130,10]]},"279":{"position":[[29,10]]},"281":{"position":[[146,10]]},"352":{"position":[[273,10]]},"545":{"position":[[42,8]]},"605":{"position":[[42,8]]}},"keywords":{}}],["inherit",{"_index":5127,"title":{},"content":{"886":{"position":[[1913,9]]}},"keywords":{}}],["init",{"_index":3037,"title":{},"content":{"463":{"position":[[1022,4]]},"1002":{"position":[[640,4],[1294,4]]}},"keywords":{}}],["initdatabas",{"_index":1941,"title":{},"content":{"334":{"position":[[299,14]]},"335":{"position":[[202,15]]},"579":{"position":[[308,14]]},"580":{"position":[[346,12],[444,15]]}},"keywords":{}}],["initdb",{"_index":778,"title":{},"content":{"51":{"position":[[650,8]]},"209":{"position":[[214,8]]},"255":{"position":[[561,8]]},"314":{"position":[[447,8]]},"480":{"position":[[305,8]]},"598":{"position":[[408,8]]},"601":{"position":[[424,6],[527,9]]},"829":{"position":[[1486,6],[1564,9]]}},"keywords":{}}],["initencrypteddatabas",{"_index":3345,"title":{},"content":{"554":{"position":[[820,23]]},"555":{"position":[[207,24]]}},"keywords":{}}],["initencrypteddb",{"_index":1896,"title":{},"content":{"315":{"position":[[398,17]]}},"keywords":{}}],["initi",{"_index":786,"title":{"70":{"position":[[0,14]]},"93":{"position":[[7,7]]},"101":{"position":[[0,14]]},"206":{"position":[[16,15]]},"217":{"position":[[10,7]]},"227":{"position":[[0,14]]},"463":{"position":[[0,14]]}},"content":{"52":{"position":[[23,12]]},"65":{"position":[[1273,7],[1375,7]]},"69":{"position":[[89,7]]},"70":{"position":[[64,14]]},"93":{"position":[[41,7],[201,14]]},"101":{"position":[[5,14],[176,14]]},"145":{"position":[[215,15]]},"173":{"position":[[1617,7],[1712,7]]},"206":{"position":[[66,7]]},"217":{"position":[[44,7]]},"227":{"position":[[82,14],[308,14]]},"253":{"position":[[85,14],[224,10]]},"266":{"position":[[1026,7]]},"299":{"position":[[448,7]]},"314":{"position":[[275,10]]},"334":{"position":[[111,12]]},"346":{"position":[[27,10]]},"411":{"position":[[118,7]]},"412":{"position":[[6177,8],[6643,7],[7194,10],[7281,7]]},"419":{"position":[[1461,12]]},"462":{"position":[[115,14]]},"463":{"position":[[191,14],[492,10]]},"468":{"position":[[471,9]]},"469":{"position":[[663,7],[768,7]]},"491":{"position":[[1182,9]]},"522":{"position":[[181,11]]},"539":{"position":[[23,12]]},"590":{"position":[[112,10]]},"599":{"position":[[23,12]]},"610":{"position":[[577,9],[1379,8]]},"612":{"position":[[731,10]]},"616":{"position":[[632,7]]},"636":{"position":[[346,15]]},"648":{"position":[[307,7]]},"653":{"position":[[651,7],[840,7]]},"656":{"position":[[318,7]]},"724":{"position":[[1194,10],[1281,10],[1371,15]]},"749":{"position":[[14834,7],[14990,7]]},"780":{"position":[[567,7]]},"783":{"position":[[495,7],[635,7]]},"829":{"position":[[1228,12],[2063,7]]},"844":{"position":[[8,7]]},"854":{"position":[[56,10]]},"886":{"position":[[4390,10]]},"901":{"position":[[214,7]]},"903":{"position":[[321,7]]},"984":{"position":[[10,7]]},"994":{"position":[[50,7],[238,7]]},"1013":{"position":[[798,7]]},"1115":{"position":[[285,9]]},"1119":{"position":[[170,7]]},"1161":{"position":[[102,7]]},"1162":{"position":[[521,7],[582,7]]},"1170":{"position":[[85,7],[240,7]]},"1180":{"position":[[102,7]]},"1181":{"position":[[608,7],[670,7]]},"1186":{"position":[[112,7]]},"1238":{"position":[[314,14],[347,7],[421,14]]},"1239":{"position":[[301,14]]},"1246":{"position":[[1801,7]]},"1267":{"position":[[359,7]]},"1295":{"position":[[725,7],[1005,14]]},"1299":{"position":[[167,7]]},"1301":{"position":[[1419,7]]},"1316":{"position":[[3531,9]]}},"keywords":{}}],["initialcheckpoint",{"_index":5535,"title":{"1002":{"position":[[17,18]]}},"content":{"1002":{"position":[[696,18],[1350,18]]}},"keywords":{}}],["initialis",{"_index":6129,"title":{},"content":{"1171":{"position":[[207,14],[319,14]]}},"keywords":{}}],["initialvalu",{"_index":840,"title":{},"content":{"55":{"position":[[495,13],[561,13]]},"1118":{"position":[[561,13],[600,12]]}},"keywords":{}}],["initsecuredb",{"_index":3135,"title":{},"content":{"482":{"position":[[395,14]]}},"keywords":{}}],["initzerolocaldb",{"_index":3703,"title":{},"content":{"632":{"position":[[1186,17]]}},"keywords":{}}],["inject",{"_index":844,"title":{},"content":{"55":{"position":[[809,7]]},"825":{"position":[[177,11],[189,6],[562,6]]}},"keywords":{}}],["inject(dbservic",{"_index":4731,"title":{},"content":{"825":{"position":[[942,18]]}},"keywords":{}}],["injector",{"_index":833,"title":{},"content":{"55":{"position":[[262,8],[400,10],[575,9],[817,8]]}},"keywords":{}}],["ink&switch",{"_index":2521,"title":{},"content":{"407":{"position":[[1177,16]]},"419":{"position":[[703,15]]}},"keywords":{}}],["inner",{"_index":2767,"title":{},"content":{"412":{"position":[[13943,5],[13960,5]]},"990":{"position":[[807,5]]}},"keywords":{}}],["innov",{"_index":3246,"title":{},"content":{"510":{"position":[[565,10]]}},"keywords":{}}],["input",{"_index":592,"title":{},"content":{"38":{"position":[[484,5]]},"393":{"position":[[773,5]]},"394":{"position":[[238,5],[306,5]]},"404":{"position":[[774,5],[922,5]]},"411":{"position":[[2367,6]]},"571":{"position":[[163,7],[1694,5]]},"691":{"position":[[311,7]]},"759":{"position":[[905,7]]},"760":{"position":[[793,7]]},"848":{"position":[[273,5]]},"875":{"position":[[3696,5]]},"885":{"position":[[111,6],[519,5],[715,5],[911,5],[1289,5],[1981,5]]},"886":{"position":[[157,5],[2182,5],[3404,6]]},"968":{"position":[[265,5]]},"983":{"position":[[238,6],[574,6]]},"1030":{"position":[[217,6]]},"1100":{"position":[[465,5]]},"1104":{"position":[[309,5]]},"1105":{"position":[[187,5]]},"1115":{"position":[[125,5]]},"1317":{"position":[[31,6]]}},"keywords":{}}],["input.newdocumentstate.nam",{"_index":3915,"title":{},"content":{"691":{"position":[[368,27]]}},"keywords":{}}],["input.realmasterst",{"_index":3914,"title":{},"content":{"691":{"position":[[336,25]]}},"keywords":{}}],["input.realmasterstate.nam",{"_index":3916,"title":{},"content":{"691":{"position":[[399,27]]}},"keywords":{}}],["input.realmasterstate.scor",{"_index":3918,"title":{},"content":{"691":{"position":[[473,28]]}},"keywords":{}}],["insensit",{"_index":5770,"title":{},"content":{"1065":{"position":[[1202,11]]},"1072":{"position":[[1640,11],[1771,11],[2004,14],[2074,11],[2192,11],[2593,11],[2728,11]]}},"keywords":{}}],["insert",{"_index":787,"title":{"555":{"position":[[3,9]]},"683":{"position":[[9,8]]},"767":{"position":[[0,7]]},"942":{"position":[[0,9]]},"1035":{"position":[[0,7]]}},"content":{"52":{"position":[[77,6],[171,6]]},"188":{"position":[[2805,6]]},"301":{"position":[[222,6]]},"356":{"position":[[393,6],[424,6]]},"412":{"position":[[9911,9]]},"427":{"position":[[1357,7]]},"539":{"position":[[77,6],[171,6]]},"555":{"position":[[235,6]]},"562":{"position":[[538,6]]},"599":{"position":[[77,6],[180,6]]},"662":{"position":[[2570,6]]},"680":{"position":[[1194,6]]},"683":{"position":[[45,6],[370,8],[460,6],[570,6],[891,6]]},"703":{"position":[[221,6]]},"710":{"position":[[1880,6]]},"711":{"position":[[1222,6]]},"715":{"position":[[254,6]]},"717":{"position":[[286,7]]},"749":{"position":[[6748,6]]},"767":{"position":[[4,6],[626,6]]},"802":{"position":[[365,11]]},"813":{"position":[[221,9]]},"838":{"position":[[2784,6]]},"863":{"position":[[701,7]]},"904":{"position":[[1125,6]]},"941":{"position":[[219,7]]},"942":{"position":[[13,6]]},"943":{"position":[[44,6],[255,9]]},"944":{"position":[[18,6],[58,7],[99,9],[480,9]]},"946":{"position":[[1,7]]},"953":{"position":[[216,8]]},"1035":{"position":[[4,6],[75,9]]},"1055":{"position":[[61,6]]},"1058":{"position":[[448,6]]},"1065":{"position":[[1753,6],[2058,8]]},"1078":{"position":[[822,9]]},"1082":{"position":[[73,6]]},"1106":{"position":[[384,7]]},"1158":{"position":[[543,6]]},"1194":{"position":[[57,7],[224,6],[353,6],[393,6],[540,6]]},"1209":{"position":[[226,7]]},"1292":{"position":[[302,6],[309,6],[656,6],[663,6]]},"1296":{"position":[[757,6]]},"1311":{"position":[[1435,6]]}},"keywords":{}}],["insert/upd",{"_index":4953,"title":{},"content":{"872":{"position":[[1272,13]]}},"keywords":{}}],["insert/update/delet",{"_index":6568,"title":{},"content":{"1317":{"position":[[697,20]]}},"keywords":{}}],["insertcrdt",{"_index":3885,"title":{},"content":{"683":{"position":[[249,12],[537,12]]}},"keywords":{}}],["insertifnotexist",{"_index":5329,"title":{"943":{"position":[[0,20]]}},"content":{"943":{"position":[[5,19]]}},"keywords":{}}],["insertloc",{"_index":5598,"title":{"1014":{"position":[[0,14]]}},"content":{},"keywords":{}}],["insertresult",{"_index":2234,"title":{},"content":{"392":{"position":[[1066,12]]}},"keywords":{}}],["inserts/upd",{"_index":5189,"title":{},"content":{"897":{"position":[[219,15]]}},"keywords":{}}],["insid",{"_index":53,"title":{"1213":{"position":[[62,6]]}},"content":{"3":{"position":[[39,6]]},"5":{"position":[[30,6]]},"8":{"position":[[703,6]]},"14":{"position":[[770,6]]},"16":{"position":[[208,6]]},"188":{"position":[[368,6],[1894,6],[2226,6],[2267,6]]},"356":{"position":[[829,6]]},"365":{"position":[[652,6]]},"366":{"position":[[477,6],[606,6]]},"367":{"position":[[24,6]]},"408":{"position":[[4913,6]]},"411":{"position":[[2158,6]]},"429":{"position":[[618,6]]},"451":{"position":[[150,6]]},"454":{"position":[[212,6],[536,6]]},"458":{"position":[[1486,6]]},"460":{"position":[[407,6],[1083,6]]},"463":{"position":[[369,6]]},"469":{"position":[[729,6]]},"470":{"position":[[230,6]]},"575":{"position":[[140,6]]},"616":{"position":[[789,6]]},"661":{"position":[[85,6]]},"682":{"position":[[192,6]]},"685":{"position":[[28,6]]},"697":{"position":[[21,6],[582,6]]},"708":{"position":[[576,6]]},"710":{"position":[[552,6]]},"711":{"position":[[113,6]]},"721":{"position":[[113,6],[317,6]]},"749":{"position":[[3395,6],[3580,6]]},"757":{"position":[[86,6],[158,6]]},"772":{"position":[[1149,6],[1338,6]]},"779":{"position":[[384,6]]},"785":{"position":[[514,6]]},"806":{"position":[[34,6]]},"836":{"position":[[87,6]]},"838":{"position":[[1256,6]]},"857":{"position":[[65,6]]},"861":{"position":[[461,6]]},"875":{"position":[[5733,6]]},"904":{"position":[[455,6]]},"951":{"position":[[289,6]]},"981":{"position":[[473,6]]},"1031":{"position":[[59,6]]},"1032":{"position":[[28,6]]},"1033":{"position":[[377,6],[952,6]]},"1085":{"position":[[70,6],[3087,6]]},"1101":{"position":[[399,6]]},"1116":{"position":[[18,6]]},"1121":{"position":[[34,6]]},"1126":{"position":[[53,6]]},"1171":{"position":[[371,6]]},"1183":{"position":[[336,6]]},"1206":{"position":[[509,6]]},"1207":{"position":[[343,6]]},"1210":{"position":[[36,6]]},"1211":{"position":[[77,6]]},"1212":{"position":[[78,6],[266,6]]},"1213":{"position":[[23,6],[393,6],[563,6],[795,6]]},"1214":{"position":[[932,6]]},"1230":{"position":[[57,6],[331,6]]},"1231":{"position":[[81,6],[190,6]]},"1233":{"position":[[126,6]]},"1237":{"position":[[413,6]]},"1242":{"position":[[48,6]]},"1244":{"position":[[144,6]]},"1250":{"position":[[400,6],[488,6]]},"1270":{"position":[[525,6]]},"1280":{"position":[[152,6]]},"1313":{"position":[[65,6]]},"1315":{"position":[[1173,6]]},"1319":{"position":[[461,6]]},"1323":{"position":[[50,6]]}},"keywords":{}}],["insight",{"_index":1621,"title":{},"content":{"267":{"position":[[1070,8]]},"420":{"position":[[1102,8]]},"644":{"position":[[330,9]]}},"keywords":{}}],["inspect",{"_index":597,"title":{},"content":{"38":{"position":[[882,7]]},"364":{"position":[[825,10]]},"394":{"position":[[1169,7]]},"467":{"position":[[427,10]]},"698":{"position":[[2147,7]]},"889":{"position":[[1080,7]]}},"keywords":{}}],["instal",{"_index":29,"title":{"49":{"position":[[0,10]]},"128":{"position":[[0,10]]},"257":{"position":[[0,7]]},"333":{"position":[[0,10]]},"537":{"position":[[0,10]]},"553":{"position":[[3,7]]},"578":{"position":[[0,13]]},"597":{"position":[[0,10]]},"646":{"position":[[0,13]]},"652":{"position":[[0,13]]},"680":{"position":[[0,13]]},"725":{"position":[[0,7]]},"731":{"position":[[0,10]]},"1133":{"position":[[0,13]]}},"content":{"1":{"position":[[424,7]]},"2":{"position":[[105,7],[135,7]]},"3":{"position":[[113,7]]},"4":{"position":[[279,7]]},"5":{"position":[[195,7]]},"6":{"position":[[262,7],[294,7]]},"7":{"position":[[217,7]]},"8":{"position":[[157,7],[233,7],[467,7]]},"9":{"position":[[129,7]]},"10":{"position":[[58,7]]},"11":{"position":[[96,7]]},"38":{"position":[[754,9]]},"49":{"position":[[9,7],[66,7]]},"128":{"position":[[57,7],[101,7],[171,7],[197,10]]},"188":{"position":[[1986,7],[2189,7],[2250,13]]},"211":{"position":[[1,7],[19,7]]},"257":{"position":[[5,7]]},"285":{"position":[[164,10]]},"314":{"position":[[238,7],[256,7]]},"333":{"position":[[1,7],[47,7]]},"498":{"position":[[180,12]]},"500":{"position":[[141,9],[449,13]]},"503":{"position":[[135,10]]},"522":{"position":[[87,10],[123,7],[145,10]]},"537":{"position":[[8,7],[45,7]]},"542":{"position":[[170,7],[206,7]]},"553":{"position":[[1,7],[83,7],[100,7]]},"578":{"position":[[9,7],[76,7]]},"597":{"position":[[8,7],[47,7]]},"614":{"position":[[248,12]]},"659":{"position":[[216,7],[240,7]]},"661":{"position":[[516,7],[537,7]]},"662":{"position":[[1226,7],[1259,7]]},"666":{"position":[[72,9]]},"670":{"position":[[175,10]]},"710":{"position":[[1420,7],[1453,7]]},"711":{"position":[[688,7],[857,9],[886,7],[908,7]]},"726":{"position":[[4,7]]},"727":{"position":[[18,7],[67,9]]},"728":{"position":[[70,7]]},"760":{"position":[[60,7]]},"793":{"position":[[55,7]]},"829":{"position":[[3,13],[17,7],[54,7]]},"836":{"position":[[450,7],[509,7]]},"837":{"position":[[1274,7],[1325,7]]},"838":{"position":[[1757,7],[1790,7]]},"854":{"position":[[3,7],[37,7]]},"861":{"position":[[340,9],[411,12],[436,12],[769,12]]},"862":{"position":[[120,7],[160,7]]},"866":{"position":[[3,7],[33,7]]},"872":{"position":[[3,7],[64,7],[127,7],[474,9]]},"898":{"position":[[3,7],[29,7]]},"911":{"position":[[377,9],[402,7]]},"1097":{"position":[[36,7],[77,7],[497,9]]},"1112":{"position":[[206,7]]},"1133":{"position":[[1,7],[154,7],[186,7],[423,7]]},"1139":{"position":[[373,7]]},"1145":{"position":[[362,7]]},"1148":{"position":[[427,7],[462,7]]},"1189":{"position":[[3,7],[36,7]]},"1227":{"position":[[285,9]]},"1265":{"position":[[278,9]]},"1270":{"position":[[372,9]]},"1277":{"position":[[1,7]]},"1279":{"position":[[1,7]]}},"keywords":{}}],["installmak",{"_index":3826,"title":{},"content":{"666":{"position":[[239,11]]}},"keywords":{}}],["instanc",{"_index":427,"title":{"757":{"position":[[40,10]]},"790":{"position":[[0,8]]},"791":{"position":[[4,8]]},"1135":{"position":[[6,9]]},"1229":{"position":[[26,9]]},"1268":{"position":[[20,9]]}},"content":{"26":{"position":[[261,9]]},"89":{"position":[[89,9]]},"109":{"position":[[119,9]]},"123":{"position":[[145,9]]},"145":{"position":[[162,9]]},"173":{"position":[[578,9]]},"174":{"position":[[1860,9]]},"266":{"position":[[916,8]]},"285":{"position":[[245,8]]},"289":{"position":[[1300,9]]},"293":{"position":[[258,8]]},"299":{"position":[[1210,9]]},"325":{"position":[[119,9]]},"327":{"position":[[323,10]]},"334":{"position":[[53,8]]},"335":{"position":[[25,9]]},"346":{"position":[[82,8]]},"352":{"position":[[220,9]]},"379":{"position":[[209,9]]},"408":{"position":[[4412,9]]},"412":{"position":[[3793,10],[4046,8],[6124,9],[7858,9],[10441,9]]},"416":{"position":[[114,9]]},"439":{"position":[[490,9]]},"494":{"position":[[74,9]]},"495":{"position":[[605,9]]},"504":{"position":[[1235,9]]},"517":{"position":[[234,9]]},"525":{"position":[[318,10]]},"566":{"position":[[974,8]]},"570":{"position":[[557,8]]},"579":{"position":[[49,8],[820,9]]},"589":{"position":[[104,9]]},"590":{"position":[[200,8]]},"612":{"position":[[757,8],[918,9]]},"632":{"position":[[1229,8]]},"636":{"position":[[211,9]]},"641":{"position":[[217,9]]},"653":{"position":[[1309,8],[1410,8]]},"683":{"position":[[398,9]]},"685":{"position":[[340,9]]},"724":{"position":[[363,8]]},"743":{"position":[[286,10]]},"746":{"position":[[604,9]]},"749":{"position":[[3006,9],[3235,9],[4753,8],[5393,8],[15072,8],[23842,8]]},"757":{"position":[[31,9],[149,8],[232,10],[247,9]]},"766":{"position":[[98,8],[273,9]]},"770":{"position":[[109,8]]},"775":{"position":[[184,10],[350,9]]},"790":{"position":[[1,8]]},"817":{"position":[[324,9]]},"818":{"position":[[223,9]]},"826":{"position":[[347,10]]},"829":{"position":[[971,8],[2228,9]]},"837":{"position":[[2047,8]]},"855":{"position":[[133,10]]},"861":{"position":[[836,8]]},"867":{"position":[[133,10]]},"872":{"position":[[1687,8]]},"875":{"position":[[6836,10]]},"945":{"position":[[330,10]]},"955":{"position":[[33,8]]},"957":{"position":[[40,8]]},"958":{"position":[[100,8],[311,8]]},"964":{"position":[[46,8],[197,10],[411,9],[565,8]]},"966":{"position":[[51,9],[431,9]]},"967":{"position":[[48,9]]},"976":{"position":[[29,9]]},"977":{"position":[[111,8],[184,8],[527,10]]},"978":{"position":[[40,8]]},"979":{"position":[[65,8],[136,8]]},"986":{"position":[[519,10],[991,9]]},"988":{"position":[[1318,8],[2373,9]]},"989":{"position":[[58,8],[250,8],[408,9]]},"990":{"position":[[197,8],[267,8]]},"995":{"position":[[1293,10]]},"1003":{"position":[[298,8]]},"1013":{"position":[[218,9]]},"1052":{"position":[[327,8],[428,9]]},"1053":{"position":[[40,8]]},"1065":{"position":[[577,8],[662,9]]},"1070":{"position":[[40,8]]},"1085":{"position":[[133,8],[2845,8]]},"1088":{"position":[[422,9]]},"1114":{"position":[[11,8],[315,9],[807,8]]},"1116":{"position":[[38,8]]},"1118":{"position":[[67,9]]},"1120":{"position":[[557,9],[637,10]]},"1123":{"position":[[210,8],[426,10]]},"1124":{"position":[[1066,9],[1166,8],[1276,10],[2170,9]]},"1126":{"position":[[195,9],[278,9],[538,9],[835,9]]},"1148":{"position":[[830,8]]},"1154":{"position":[[123,8],[187,9]]},"1164":{"position":[[611,9]]},"1174":{"position":[[264,9]]},"1220":{"position":[[84,9],[400,8]]},"1222":{"position":[[608,9]]},"1229":{"position":[[107,8]]},"1233":{"position":[[245,9]]},"1246":{"position":[[1114,10],[1404,8]]},"1267":{"position":[[66,8],[203,8]]},"1268":{"position":[[101,8]]},"1305":{"position":[[693,8]]},"1314":{"position":[[301,9]]}},"keywords":{}}],["instanceadd",{"_index":5905,"title":{},"content":{"1085":{"position":[[3686,11]]}},"keywords":{}}],["instanceof",{"_index":4188,"title":{},"content":{"749":{"position":[[4154,10]]}},"keywords":{}}],["instances.multi",{"_index":3484,"title":{},"content":{"575":{"position":[[520,15]]}},"keywords":{}}],["instand",{"_index":2128,"title":{},"content":{"369":{"position":[[1266,7]]}},"keywords":{}}],["instant",{"_index":923,"title":{},"content":{"65":{"position":[[1160,7]]},"152":{"position":[[82,7]]},"267":{"position":[[1062,7]]},"375":{"position":[[525,7]]},"407":{"position":[[394,7]]},"415":{"position":[[73,7]]},"474":{"position":[[173,7]]},"483":{"position":[[70,7]]},"486":{"position":[[73,8]]},"489":{"position":[[126,7],[325,7]]},"491":{"position":[[678,8]]},"498":{"position":[[582,7]]},"630":{"position":[[495,7]]},"724":{"position":[[1263,8],[1358,9],[1387,10]]},"1009":{"position":[[688,7]]}},"keywords":{}}],["instantan",{"_index":1603,"title":{},"content":{"265":{"position":[[416,13]]},"410":{"position":[[72,13]]},"411":{"position":[[3693,13]]},"489":{"position":[[560,13]]},"502":{"position":[[848,13]]},"571":{"position":[[107,13]]},"860":{"position":[[711,16]]}},"keywords":{}}],["instantdb",{"_index":612,"title":{"39":{"position":[[0,10]]}},"content":{"39":{"position":[[1,9],[457,9]]}},"keywords":{}}],["instantli",{"_index":1006,"title":{},"content":{"90":{"position":[[189,9]]},"156":{"position":[[250,9]]},"205":{"position":[[388,10]]},"267":{"position":[[704,9]]},"312":{"position":[[106,9]]},"323":{"position":[[98,9]]},"329":{"position":[[202,9]]},"408":{"position":[[2829,9]]},"412":{"position":[[6561,11]]},"421":{"position":[[986,9]]},"445":{"position":[[1069,9]]},"475":{"position":[[201,9]]},"490":{"position":[[412,9]]},"491":{"position":[[1583,9]]},"493":{"position":[[517,9]]},"494":{"position":[[661,10]]},"570":{"position":[[588,10]]},"582":{"position":[[335,9]]},"634":{"position":[[136,9]]},"778":{"position":[[391,10]]},"1084":{"position":[[449,9]]}},"keywords":{}}],["instead",{"_index":381,"title":{"144":{"position":[[38,7]]},"354":{"position":[[19,7]]},"431":{"position":[[12,7]]},"563":{"position":[[29,7]]},"691":{"position":[[57,7]]},"822":{"position":[[43,7]]},"1211":{"position":[[30,7]]},"1293":{"position":[[38,7]]}},"content":{"23":{"position":[[126,7]]},"31":{"position":[[84,7]]},"38":{"position":[[236,7],[328,7]]},"40":{"position":[[331,8]]},"55":{"position":[[1050,7]]},"91":{"position":[[100,7]]},"93":{"position":[[73,7]]},"143":{"position":[[308,7]]},"144":{"position":[[108,7]]},"173":{"position":[[1995,7],[3021,7]]},"188":{"position":[[2169,7]]},"220":{"position":[[89,7]]},"255":{"position":[[269,7]]},"277":{"position":[[88,7]]},"287":{"position":[[54,8]]},"323":{"position":[[472,7]]},"329":{"position":[[1,7]]},"346":{"position":[[187,7]]},"360":{"position":[[230,7]]},"364":{"position":[[707,7]]},"367":{"position":[[121,7]]},"390":{"position":[[600,7],[1072,7]]},"392":{"position":[[3760,7]]},"395":{"position":[[446,8]]},"400":{"position":[[546,8]]},"408":{"position":[[3843,8]]},"410":{"position":[[238,7]]},"411":{"position":[[626,7],[1179,7],[3615,7]]},"412":{"position":[[2938,7],[5749,7],[10960,7]]},"432":{"position":[[1236,7]]},"439":{"position":[[261,7],[607,7]]},"440":{"position":[[410,7]]},"454":{"position":[[840,7]]},"464":{"position":[[1044,7]]},"466":{"position":[[556,7]]},"467":{"position":[[719,8]]},"469":{"position":[[345,7]]},"487":{"position":[[25,7]]},"490":{"position":[[549,7]]},"554":{"position":[[727,8]]},"556":{"position":[[1262,7]]},"563":{"position":[[639,7],[877,7]]},"570":{"position":[[714,7]]},"571":{"position":[[739,7]]},"602":{"position":[[182,7]]},"612":{"position":[[489,7]]},"616":{"position":[[373,7],[756,7],[1003,7],[1214,7]]},"617":{"position":[[2074,7]]},"626":{"position":[[542,7]]},"630":{"position":[[762,7],[894,7]]},"681":{"position":[[896,7]]},"686":{"position":[[175,7],[290,7],[521,7],[720,7]]},"688":{"position":[[240,7],[340,7],[786,7]]},"698":{"position":[[1509,7],[2373,7]]},"708":{"position":[[514,7]]},"709":{"position":[[1221,7]]},"717":{"position":[[402,7]]},"751":{"position":[[443,7]]},"782":{"position":[[301,7]]},"795":{"position":[[88,7]]},"798":{"position":[[899,8]]},"799":{"position":[[439,7]]},"800":{"position":[[99,8],[748,7]]},"817":{"position":[[334,7]]},"826":{"position":[[257,8]]},"828":{"position":[[303,7]]},"831":{"position":[[219,7]]},"835":{"position":[[189,7],[695,8]]},"836":{"position":[[1091,7]]},"838":{"position":[[2226,7]]},"854":{"position":[[1347,7]]},"863":{"position":[[578,7]]},"872":{"position":[[1514,8]]},"875":{"position":[[1518,7],[5908,7]]},"882":{"position":[[65,7]]},"888":{"position":[[205,7]]},"898":{"position":[[565,8]]},"904":{"position":[[2733,8],[3221,7]]},"906":{"position":[[457,8]]},"918":{"position":[[59,7]]},"927":{"position":[[89,7]]},"944":{"position":[[596,7]]},"945":{"position":[[259,7]]},"968":{"position":[[223,8]]},"975":{"position":[[147,7]]},"985":{"position":[[260,7]]},"986":{"position":[[364,7],[1045,7]]},"988":{"position":[[2121,7],[2226,8],[3128,7]]},"995":{"position":[[1197,7]]},"1002":{"position":[[888,7]]},"1007":{"position":[[195,7]]},"1013":{"position":[[127,7]]},"1040":{"position":[[95,7]]},"1044":{"position":[[134,7]]},"1051":{"position":[[148,8]]},"1066":{"position":[[705,8]]},"1067":{"position":[[1708,7]]},"1068":{"position":[[496,7]]},"1069":{"position":[[281,7]]},"1072":{"position":[[1070,8],[1327,8]]},"1090":{"position":[[191,7]]},"1093":{"position":[[1,7]]},"1098":{"position":[[74,7]]},"1099":{"position":[[70,7]]},"1115":{"position":[[513,7]]},"1117":{"position":[[1,7]]},"1124":{"position":[[19,7],[354,7],[1518,7],[1852,8]]},"1140":{"position":[[390,7]]},"1143":{"position":[[281,7]]},"1154":{"position":[[614,8]]},"1162":{"position":[[797,7],[1063,7]]},"1165":{"position":[[78,7],[243,7]]},"1174":{"position":[[554,7]]},"1175":{"position":[[467,7]]},"1191":{"position":[[344,7]]},"1194":{"position":[[187,7]]},"1196":{"position":[[194,8]]},"1214":{"position":[[323,7]]},"1222":{"position":[[372,8]]},"1229":{"position":[[1,7]]},"1231":{"position":[[334,8]]},"1238":{"position":[[255,7]]},"1249":{"position":[[358,7]]},"1251":{"position":[[148,8],[347,7]]},"1253":{"position":[[114,7]]},"1258":{"position":[[108,7]]},"1268":{"position":[[1,7]]},"1277":{"position":[[707,8]]},"1282":{"position":[[228,8]]},"1295":{"position":[[114,7]]},"1296":{"position":[[65,7],[462,7],[698,7]]},"1298":{"position":[[97,7]]},"1299":{"position":[[117,7]]},"1300":{"position":[[444,7]]},"1301":{"position":[[844,7],[1120,8]]},"1305":{"position":[[317,8]]},"1307":{"position":[[576,7]]},"1309":{"position":[[1043,8],[1174,8]]},"1316":{"position":[[1536,7],[2057,7],[3248,7],[3599,7]]},"1318":{"position":[[160,7],[650,7]]}},"keywords":{}}],["instead.th",{"_index":6063,"title":{},"content":{"1141":{"position":[[203,11]]}},"keywords":{}}],["instock=fals",{"_index":6544,"title":{},"content":{"1316":{"position":[[854,13]]}},"keywords":{}}],["instruct",{"_index":998,"title":{},"content":{"84":{"position":[[367,12]]},"114":{"position":[[380,12]]},"149":{"position":[[380,12]]},"175":{"position":[[371,12]]},"285":{"position":[[379,12]]},"347":{"position":[[378,12]]},"362":{"position":[[1449,12]]},"511":{"position":[[380,12]]},"531":{"position":[[380,12]]},"591":{"position":[[378,12]]}},"keywords":{}}],["insuffici",{"_index":2791,"title":{},"content":{"417":{"position":[[186,13]]}},"keywords":{}}],["int",{"_index":5083,"title":{},"content":{"885":{"position":[[887,6]]},"886":{"position":[[629,5]]}},"keywords":{}}],["intact",{"_index":4042,"title":{},"content":{"723":{"position":[[1448,6]]}},"keywords":{}}],["integ",{"_index":2980,"title":{},"content":{"457":{"position":[[143,8]]},"898":{"position":[[1075,8]]},"1079":{"position":[[136,7]]},"1082":{"position":[[395,10]]},"1083":{"position":[[595,10]]},"1311":{"position":[[553,9]]}},"keywords":{}}],["integr",{"_index":255,"title":{"94":{"position":[[7,11]]},"222":{"position":[[7,11]]}},"content":{"15":{"position":[[261,9]]},"56":{"position":[[159,11]]},"72":{"position":[[58,9]]},"76":{"position":[[86,10]]},"94":{"position":[[47,9],[144,11]]},"107":{"position":[[100,11]]},"110":{"position":[[171,9]]},"118":{"position":[[255,11]]},"127":{"position":[[86,9]]},"148":{"position":[[163,11]]},"152":{"position":[[36,8]]},"165":{"position":[[275,10]]},"167":{"position":[[251,10]]},"172":{"position":[[70,10]]},"173":{"position":[[2161,11],[2237,9]]},"174":{"position":[[1385,10]]},"186":{"position":[[228,11]]},"187":{"position":[[72,9]]},"198":{"position":[[273,11]]},"222":{"position":[[53,9]]},"226":{"position":[[408,9]]},"230":{"position":[[113,11]]},"238":{"position":[[231,10]]},"240":{"position":[[293,9]]},"281":{"position":[[206,12]]},"284":{"position":[[8,11]]},"286":{"position":[[17,10]]},"289":{"position":[[476,11],[1237,11]]},"293":{"position":[[421,9]]},"310":{"position":[[371,10]]},"313":{"position":[[37,10]]},"339":{"position":[[195,9]]},"350":{"position":[[260,10]]},"353":{"position":[[569,9]]},"354":{"position":[[433,9],[921,12]]},"358":{"position":[[990,9]]},"366":{"position":[[220,10]]},"370":{"position":[[66,11]]},"375":{"position":[[878,8]]},"381":{"position":[[185,11]]},"383":{"position":[[200,9]]},"386":{"position":[[240,10]]},"404":{"position":[[537,9]]},"412":{"position":[[2515,9],[13774,10]]},"429":{"position":[[264,11]]},"445":{"position":[[1655,11],[1711,10]]},"447":{"position":[[181,11]]},"483":{"position":[[1,11]]},"491":{"position":[[1905,11]]},"501":{"position":[[141,10]]},"503":{"position":[[1,11]]},"504":{"position":[[1179,11]]},"510":{"position":[[169,11]]},"514":{"position":[[90,10]]},"520":{"position":[[437,10]]},"521":{"position":[[456,11]]},"522":{"position":[[16,11]]},"530":{"position":[[190,11],[540,10]]},"541":{"position":[[6,10]]},"542":{"position":[[64,10]]},"543":{"position":[[207,9]]},"551":{"position":[[423,9]]},"567":{"position":[[537,9],[763,11]]},"576":{"position":[[360,10]]},"591":{"position":[[536,11]]},"603":{"position":[[205,9]]},"619":{"position":[[318,12]]},"624":{"position":[[406,10]]},"632":{"position":[[921,11]]},"644":{"position":[[422,11]]},"668":{"position":[[354,11]]},"723":{"position":[[1016,10]]},"793":{"position":[[1233,12]]},"828":{"position":[[186,11],[364,11]]},"829":{"position":[[147,11]]},"830":{"position":[[93,11],[320,11]]},"831":{"position":[[275,9],[412,11]]},"832":{"position":[[322,11]]},"839":{"position":[[174,11]]},"912":{"position":[[196,10]]},"1284":{"position":[[49,9]]}},"keywords":{}}],["integrated.commun",{"_index":4801,"title":{},"content":{"839":{"position":[[984,20]]}},"keywords":{}}],["intel(r",{"_index":6399,"title":{},"content":{"1292":{"position":[[171,8]]}},"keywords":{}}],["intellect",{"_index":791,"title":{},"content":{"52":{"position":[[148,10]]},"539":{"position":[[148,10]]},"599":{"position":[[157,10]]}},"keywords":{}}],["intellig",{"_index":1046,"title":{},"content":{"108":{"position":[[85,13]]},"234":{"position":[[80,13]]},"289":{"position":[[164,13]]},"496":{"position":[[288,13]]},"500":{"position":[[601,11]]}},"keywords":{}}],["intend",{"_index":2731,"title":{},"content":{"412":{"position":[[8440,8]]},"430":{"position":[[594,6]]},"524":{"position":[[541,8]]},"535":{"position":[[283,8]]},"595":{"position":[[296,8]]},"617":{"position":[[834,8]]},"1159":{"position":[[152,8]]}},"keywords":{}}],["intens",{"_index":1397,"title":{},"content":{"216":{"position":[[342,9]]},"446":{"position":[[766,9],[851,9]]},"453":{"position":[[162,9]]},"576":{"position":[[423,9]]},"721":{"position":[[162,9]]}},"keywords":{}}],["intent",{"_index":2950,"title":{},"content":{"449":{"position":[[63,11]]},"829":{"position":[[330,12]]},"966":{"position":[[282,11]]}},"keywords":{}}],["intention",{"_index":2725,"title":{},"content":{"412":{"position":[[8079,14]]}},"keywords":{}}],["interact",{"_index":717,"title":{"782":{"position":[[51,12]]}},"content":{"46":{"position":[[538,12]]},"65":{"position":[[940,13]]},"70":{"position":[[241,13]]},"88":{"position":[[129,8]]},"90":{"position":[[310,11]]},"145":{"position":[[255,11]]},"156":{"position":[[295,11]]},"173":{"position":[[1502,8]]},"183":{"position":[[304,8]]},"217":{"position":[[263,11]]},"267":{"position":[[1619,11]]},"292":{"position":[[231,8]]},"320":{"position":[[248,13]]},"338":{"position":[[114,12]]},"375":{"position":[[423,11]]},"408":{"position":[[2773,11],[3248,13]]},"410":{"position":[[86,13]]},"415":{"position":[[81,12],[263,12]]},"421":{"position":[[939,12]]},"425":{"position":[[144,12]]},"477":{"position":[[29,11]]},"483":{"position":[[78,13]]},"486":{"position":[[264,8]]},"487":{"position":[[90,12]]},"491":{"position":[[971,12]]},"497":{"position":[[23,12]]},"498":{"position":[[595,12]]},"501":{"position":[[405,12]]},"502":{"position":[[486,8]]},"509":{"position":[[160,13]]},"516":{"position":[[167,8]]},"519":{"position":[[303,11]]},"571":{"position":[[275,11]]},"614":{"position":[[577,13]]},"624":{"position":[[738,11]]},"644":{"position":[[480,13]]},"656":{"position":[[139,11]]},"687":{"position":[[144,11]]},"688":{"position":[[669,11]]},"770":{"position":[[642,11]]},"778":{"position":[[41,12],[171,12]]},"782":{"position":[[35,11],[141,8],[417,12]]},"783":{"position":[[458,12]]},"784":{"position":[[79,12]]},"785":{"position":[[175,8]]},"801":{"position":[[487,12]]},"901":{"position":[[295,12]]},"1033":{"position":[[225,8]]},"1102":{"position":[[780,12]]},"1132":{"position":[[1023,12]]}},"keywords":{}}],["interaction.scal",{"_index":3293,"title":{},"content":{"534":{"position":[[553,24]]},"594":{"position":[[551,24]]}},"keywords":{}}],["interactions.complex",{"_index":6027,"title":{},"content":{"1132":{"position":[[548,20]]}},"keywords":{}}],["interactions.join",{"_index":3724,"title":{},"content":{"644":{"position":[[262,17]]}},"keywords":{}}],["intercept",{"_index":1088,"title":{},"content":{"129":{"position":[[353,10]]},"550":{"position":[[98,10]]}},"keywords":{}}],["interest",{"_index":2954,"title":{},"content":{"450":{"position":[[477,11]]},"463":{"position":[[1061,11]]},"781":{"position":[[441,10]]},"1324":{"position":[[1059,11]]}},"keywords":{}}],["interestingli",{"_index":6447,"title":{},"content":{"1294":{"position":[[1898,13]]}},"keywords":{}}],["interfac",{"_index":920,"title":{"352":{"position":[[27,11]]}},"content":{"65":{"position":[[999,10]]},"68":{"position":[[206,9]]},"73":{"position":[[62,11]]},"77":{"position":[[55,9]]},"90":{"position":[[173,10]]},"103":{"position":[[226,10]]},"136":{"position":[[245,9]]},"162":{"position":[[73,10]]},"173":{"position":[[986,9]]},"174":{"position":[[317,9]]},"185":{"position":[[327,9]]},"235":{"position":[[262,10]]},"270":{"position":[[194,11]]},"275":{"position":[[114,9],[266,10]]},"408":{"position":[[4120,9]]},"410":{"position":[[2166,9]]},"435":{"position":[[38,9]]},"502":{"position":[[833,9]]},"504":{"position":[[267,11]]},"507":{"position":[[170,9]]},"509":{"position":[[139,10]]},"514":{"position":[[397,11]]},"561":{"position":[[254,10]]},"634":{"position":[[169,9]]},"642":{"position":[[312,10]]},"707":{"position":[[266,10]]},"801":{"position":[[248,10]]},"835":{"position":[[356,10]]},"904":{"position":[[1631,10]]},"962":{"position":[[57,10],[73,9]]},"1225":{"position":[[356,9]]},"1263":{"position":[[250,9]]},"1272":{"position":[[208,10]]},"1274":{"position":[[429,10]]},"1279":{"position":[[816,10]]}},"keywords":{}}],["interfer",{"_index":6139,"title":{},"content":{"1175":{"position":[[706,9]]},"1313":{"position":[[187,9]]}},"keywords":{}}],["intermediari",{"_index":3237,"title":{},"content":{"504":{"position":[[1396,15]]}},"keywords":{}}],["intermitt",{"_index":1394,"title":{},"content":{"215":{"position":[[357,12]]},"375":{"position":[[737,12]]},"497":{"position":[[222,12]]},"723":{"position":[[2693,12]]}},"keywords":{}}],["intern",{"_index":1827,"title":{"1177":{"position":[[10,8]]},"1204":{"position":[[10,8]]}},"content":{"303":{"position":[[505,10]]},"316":{"position":[[448,11]]},"361":{"position":[[404,11]]},"412":{"position":[[4593,10]]},"703":{"position":[[458,8]]},"714":{"position":[[52,11]]},"721":{"position":[[435,10]]},"749":{"position":[[6392,8]]},"756":{"position":[[81,8]]},"805":{"position":[[64,8]]},"828":{"position":[[9,10]]},"854":{"position":[[1196,10]]},"886":{"position":[[4630,8]]},"898":{"position":[[1832,10]]},"932":{"position":[[523,10]]},"988":{"position":[[1892,10]]},"1080":{"position":[[1116,8]]},"1085":{"position":[[1024,8]]},"1095":{"position":[[108,11]]},"1105":{"position":[[256,10],[907,10]]},"1121":{"position":[[47,8]]},"1124":{"position":[[1201,10]]},"1154":{"position":[[106,8]]},"1177":{"position":[[43,8],[589,8]]},"1204":{"position":[[43,8]]},"1213":{"position":[[51,10]]},"1246":{"position":[[887,10]]}},"keywords":{}}],["internalindex",{"_index":5842,"title":{},"content":{"1080":{"position":[[1011,15],[1088,15]]},"1107":{"position":[[480,15],[1047,15]]}},"keywords":{}}],["internet",{"_index":704,"title":{},"content":{"46":{"position":[[77,8]]},"65":{"position":[[714,8]]},"69":{"position":[[212,8]]},"88":{"position":[[87,8]]},"157":{"position":[[105,8]]},"164":{"position":[[232,8]]},"173":{"position":[[1588,8]]},"183":{"position":[[129,8]]},"191":{"position":[[100,8]]},"212":{"position":[[57,8]]},"215":{"position":[[233,8]]},"274":{"position":[[156,8]]},"280":{"position":[[272,8]]},"292":{"position":[[287,8]]},"309":{"position":[[226,8]]},"322":{"position":[[282,8]]},"375":{"position":[[138,8]]},"380":{"position":[[101,8]]},"400":{"position":[[811,9]]},"407":{"position":[[586,8]]},"408":{"position":[[2168,8]]},"410":{"position":[[1043,8],[1436,8]]},"419":{"position":[[395,8]]},"446":{"position":[[417,9]]},"462":{"position":[[593,8]]},"489":{"position":[[695,8]]},"516":{"position":[[228,8]]},"534":{"position":[[278,8]]},"565":{"position":[[249,8]]},"574":{"position":[[254,8]]},"582":{"position":[[114,9]]},"594":{"position":[[276,8]]},"699":{"position":[[372,8]]},"723":{"position":[[2712,8]]},"1141":{"position":[[288,8]]},"1207":{"position":[[144,8]]},"1316":{"position":[[446,8]]}},"keywords":{}}],["internetexplor",{"_index":6473,"title":{},"content":{"1301":{"position":[[983,16]]}},"keywords":{}}],["interop",{"_index":836,"title":{},"content":{"55":{"position":[[340,9]]},"1118":{"position":[[460,9]]}},"keywords":{}}],["interrupt",{"_index":2072,"title":{},"content":{"358":{"position":[[1047,11]]},"392":{"position":[[2332,12]]},"616":{"position":[[492,12]]}},"keywords":{}}],["interv",{"_index":3551,"title":{},"content":{"610":{"position":[[301,10]]},"632":{"position":[[426,9]]},"875":{"position":[[9208,9]]},"996":{"position":[[402,8]]},"1164":{"position":[[1072,9]]}},"keywords":{}}],["intervalid",{"_index":3605,"title":{},"content":{"612":{"position":[[2210,10]]}},"keywords":{}}],["intervent",{"_index":1239,"title":{},"content":{"185":{"position":[[352,13]]},"487":{"position":[[480,13]]},"515":{"position":[[119,12]]},"690":{"position":[[425,12]]}},"keywords":{}}],["intric",{"_index":2017,"title":{},"content":{"354":{"position":[[241,9]]},"426":{"position":[[88,9]]},"1132":{"position":[[707,9]]}},"keywords":{}}],["intricaci",{"_index":2909,"title":{},"content":{"433":{"position":[[614,11]]},"521":{"position":[[181,9]]}},"keywords":{}}],["intrigu",{"_index":2908,"title":{},"content":{"433":{"position":[[9,10]]}},"keywords":{}}],["intrins",{"_index":6085,"title":{},"content":{"1150":{"position":[[178,13]]}},"keywords":{}}],["introduc",{"_index":1066,"title":{"118":{"position":[[0,11]]},"153":{"position":[[0,11]]},"179":{"position":[[0,11]]},"271":{"position":[[0,11]]},"322":{"position":[[0,11]]},"445":{"position":[[0,11]]},"479":{"position":[[0,11]]},"501":{"position":[[0,11]]},"513":{"position":[[0,11]]},"575":{"position":[[0,11]]}},"content":{"159":{"position":[[6,10]]},"185":{"position":[[6,10]]},"233":{"position":[[6,10]]},"277":{"position":[[6,10]]},"289":{"position":[[1611,10]]},"303":{"position":[[1333,10]]},"356":{"position":[[97,10]]},"377":{"position":[[30,10]]},"408":{"position":[[464,10]]},"411":{"position":[[3397,10],[3827,10]]},"412":{"position":[[14951,9]]},"427":{"position":[[779,10]]},"450":{"position":[[20,10]]},"452":{"position":[[21,10],[459,11]]},"455":{"position":[[22,10]]},"504":{"position":[[746,10]]},"508":{"position":[[6,10]]},"509":{"position":[[6,10]]},"518":{"position":[[65,10]]},"610":{"position":[[757,9]]},"699":{"position":[[267,10]]},"802":{"position":[[149,10]]},"836":{"position":[[1676,9]]},"1198":{"position":[[1168,10]]},"1294":{"position":[[38,10]]}},"keywords":{}}],["introduction.a",{"_index":3382,"title":{},"content":{"557":{"position":[[61,14]]}},"keywords":{}}],["introduction.check",{"_index":3331,"title":{},"content":{"548":{"position":[[61,18]]},"608":{"position":[[61,18]]}},"keywords":{}}],["intuit",{"_index":1037,"title":{},"content":{"104":{"position":[[179,10]]},"120":{"position":[[233,9]]},"181":{"position":[[133,9]]},"223":{"position":[[229,9]]},"231":{"position":[[238,9]]},"353":{"position":[[171,9]]},"364":{"position":[[602,9]]},"521":{"position":[[601,9]]},"560":{"position":[[682,9]]},"1009":{"position":[[28,9]]}},"keywords":{}}],["invalid",{"_index":4185,"title":{},"content":{"749":{"position":[[3940,7],[4012,7],[4127,7],[4542,7],[6228,7],[6483,7]]},"838":{"position":[[1023,7]]},"907":{"position":[[114,7],[241,7]]},"1084":{"position":[[491,7]]}},"keywords":{}}],["invalu",{"_index":1583,"title":{},"content":{"261":{"position":[[122,10]]},"289":{"position":[[1811,10]]},"361":{"position":[[135,10]]},"504":{"position":[[1443,10]]},"548":{"position":[[439,10]]},"608":{"position":[[437,10]]}},"keywords":{}}],["inventori",{"_index":2710,"title":{},"content":{"412":{"position":[[6429,9]]}},"keywords":{}}],["invest",{"_index":2646,"title":{},"content":{"411":{"position":[[5660,6]]}},"keywords":{}}],["invok",{"_index":4498,"title":{},"content":{"759":{"position":[[1539,8]]}},"keywords":{}}],["involv",{"_index":2304,"title":{"1313":{"position":[[37,9]]}},"content":{"394":{"position":[[262,8]]},"412":{"position":[[3667,7]]},"415":{"position":[[276,7]]},"564":{"position":[[80,8]]},"612":{"position":[[856,8]]},"620":{"position":[[107,8]]},"688":{"position":[[656,7]]},"1313":{"position":[[919,9]]}},"keywords":{}}],["inwork",{"_index":6024,"title":{},"content":{"1130":{"position":[[381,9]]}},"keywords":{}}],["inworker=tru",{"_index":6023,"title":{},"content":{"1130":{"position":[[300,13]]}},"keywords":{}}],["io",{"_index":175,"title":{},"content":{"11":{"position":[[960,3]]},"36":{"position":[[56,4]]},"177":{"position":[[146,3]]},"269":{"position":[[286,4]]},"287":{"position":[[1175,3]]},"298":{"position":[[719,3]]},"299":{"position":[[592,5],[649,3],[711,3],[877,3],[925,3],[935,3],[1544,3]]},"371":{"position":[[147,3]]},"408":{"position":[[1199,4]]},"445":{"position":[[2252,3]]},"446":{"position":[[1363,3]]},"618":{"position":[[85,4]]},"640":{"position":[[365,4]]},"660":{"position":[[503,3]]},"661":{"position":[[618,3]]},"662":{"position":[[1324,3]]},"1270":{"position":[[404,4]]},"1278":{"position":[[68,4]]},"1279":{"position":[[48,3]]}},"keywords":{}}],["ionic",{"_index":877,"title":{"268":{"position":[[0,5]]},"269":{"position":[[9,5]]},"270":{"position":[[32,5]]},"271":{"position":[[47,5]]},"284":{"position":[[17,5]]},"290":{"position":[[27,5]]},"307":{"position":[[13,5]]},"308":{"position":[[13,5]]},"317":{"position":[[15,5]]}},"content":{"59":{"position":[[248,7]]},"269":{"position":[[1,5],[12,5]]},"271":{"position":[[78,5]]},"278":{"position":[[245,5]]},"280":{"position":[[455,5]]},"284":{"position":[[30,5]]},"285":{"position":[[350,5]]},"286":{"position":[[161,5]]},"287":{"position":[[1292,6]]},"290":{"position":[[50,5]]},"296":{"position":[[18,5]]},"309":{"position":[[168,5]]},"310":{"position":[[339,5]]},"312":{"position":[[92,5]]},"313":{"position":[[64,5],[117,6]]},"314":{"position":[[57,6]]},"317":{"position":[[1,5]]},"318":{"position":[[5,5],[587,5]]},"479":{"position":[[351,7]]},"546":{"position":[[292,6]]},"631":{"position":[[182,7]]}},"keywords":{}}],["ionicsecur",{"_index":3788,"title":{},"content":{"661":{"position":[[351,11]]}},"keywords":{}}],["iosdatabaseloc",{"_index":178,"title":{},"content":{"11":{"position":[[1038,20]]}},"keywords":{}}],["iot",{"_index":5248,"title":{},"content":{"902":{"position":[[928,3]]}},"keywords":{}}],["ipado",{"_index":1753,"title":{},"content":{"299":{"position":[[734,7]]}},"keywords":{}}],["ipc",{"_index":6289,"title":{},"content":{"1246":{"position":[[940,4]]}},"keywords":{}}],["ipchandl",{"_index":4009,"title":{},"content":{"711":{"position":[[1684,10]]}},"keywords":{}}],["ipcmain",{"_index":3922,"title":{"693":{"position":[[33,8]]}},"content":{"693":{"position":[[966,8]]},"710":{"position":[[1383,7]]},"1246":{"position":[[2017,8]]}},"keywords":{}}],["ipcmain.handle('db",{"_index":4005,"title":{},"content":{"711":{"position":[[1486,18]]}},"keywords":{}}],["ipcrender",{"_index":3921,"title":{"693":{"position":[[19,11]]}},"content":{"693":{"position":[[1255,12]]},"710":{"position":[[1365,11]]},"711":{"position":[[480,11],[1418,11]]},"1214":{"position":[[426,12]]},"1246":{"position":[[1999,11]]}},"keywords":{}}],["ipcrenderer.invoke('db",{"_index":4010,"title":{},"content":{"711":{"position":[[1743,22]]}},"keywords":{}}],["iron",{"_index":789,"title":{},"content":{"52":{"position":[[115,5],[427,5]]},"412":{"position":[[10423,4]]},"539":{"position":[[115,5],[427,5]]},"599":{"position":[[124,5],[454,5]]}},"keywords":{}}],["ironman",{"_index":802,"title":{},"content":{"52":{"position":[[373,7]]},"539":{"position":[[373,7]]},"599":{"position":[[400,7]]}},"keywords":{}}],["irrespect",{"_index":916,"title":{},"content":{"65":{"position":[[692,12]]},"173":{"position":[[1566,12]]}},"keywords":{}}],["isdevmod",{"_index":3848,"title":{},"content":{"673":{"position":[[10,9],[75,14]]}},"keywords":{}}],["isequ",{"_index":2690,"title":{},"content":{"412":{"position":[[4522,9],[4650,9]]},"691":{"position":[[239,8]]},"1309":{"position":[[576,9]]}},"keywords":{}}],["isequal(a",{"_index":2691,"title":{},"content":{"412":{"position":[[4628,10]]},"1309":{"position":[[554,10]]}},"keywords":{}}],["isexhaust",{"_index":3270,"title":{},"content":{"523":{"position":[[497,12],[748,13]]}},"keywords":{}}],["isfetch",{"_index":3268,"title":{},"content":{"523":{"position":[[474,11],[578,12]]}},"keywords":{}}],["isn't",{"_index":1936,"title":{},"content":{"333":{"position":[[82,5]]},"347":{"position":[[576,5]]},"362":{"position":[[1647,5]]},"412":{"position":[[7520,5]]}},"keywords":{}}],["isnam",{"_index":5672,"title":{},"content":{"1039":{"position":[[188,7],[247,6],[347,6],[421,6]]}},"keywords":{}}],["isn’t",{"_index":1734,"title":{},"content":{"299":{"position":[[87,5]]},"473":{"position":[[96,5]]}},"keywords":{}}],["isol",{"_index":6484,"title":{},"content":{"1304":{"position":[[117,9],[602,10]]}},"keywords":{}}],["ispaus",{"_index":5533,"title":{"1001":{"position":[[0,11]]}},"content":{},"keywords":{}}],["ispeervalid",{"_index":5265,"title":{},"content":{"907":{"position":[[165,13],[316,12]]}},"keywords":{}}],["isrxcollect",{"_index":5384,"title":{"957":{"position":[[0,15]]}},"content":{},"keywords":{}}],["isrxcollection(myobj",{"_index":5385,"title":{},"content":{"957":{"position":[[100,22]]}},"keywords":{}}],["isrxdatabas",{"_index":5423,"title":{"978":{"position":[[0,13]]}},"content":{"978":{"position":[[96,12]]}},"keywords":{}}],["isrxdatabase(myobj",{"_index":5424,"title":{},"content":{"978":{"position":[[135,20]]}},"keywords":{}}],["isrxdocu",{"_index":5733,"title":{"1053":{"position":[[0,13]]}},"content":{},"keywords":{}}],["isrxdocument(myobj",{"_index":5734,"title":{},"content":{"1053":{"position":[[98,20]]}},"keywords":{}}],["isrxqueri",{"_index":5790,"title":{"1070":{"position":[[0,10]]}},"content":{},"keywords":{}}],["isrxquery(myobj",{"_index":5791,"title":{},"content":{"1070":{"position":[[95,17]]}},"keywords":{}}],["isstop",{"_index":5530,"title":{"1000":{"position":[[0,12]]}},"content":{},"keywords":{}}],["issu",{"_index":409,"title":{},"content":{"24":{"position":[[706,6]]},"28":{"position":[[748,7]]},"61":{"position":[[220,7]]},"76":{"position":[[151,7]]},"250":{"position":[[85,6]]},"304":{"position":[[302,6]]},"358":{"position":[[199,6],[878,6]]},"395":{"position":[[28,6]]},"411":{"position":[[4470,5]]},"412":{"position":[[1540,5],[6474,6],[14978,6]]},"483":{"position":[[961,5]]},"567":{"position":[[487,7]]},"617":{"position":[[1698,6]]},"644":{"position":[[345,7]]},"668":{"position":[[264,5]]},"836":{"position":[[1728,7]]},"1198":{"position":[[694,6],[758,5],[876,6]]}},"keywords":{}}],["issuessearch",{"_index":4134,"title":{},"content":{"749":{"position":[[70,12],[417,12],[544,12],[635,12],[788,12],[925,12],[1060,12],[1284,12],[1372,12],[1521,12],[1624,12],[1721,12],[1838,12],[1964,12],[2067,12],[2173,12],[2267,12],[2360,12],[2445,12],[2562,12],[2803,12],[2916,12],[3149,12],[3269,12],[3625,12],[3822,12],[3909,12],[3981,12],[4096,12],[4212,12],[4334,12],[4511,12],[4585,12],[4692,12],[4827,12],[4959,12],[5111,12],[5213,12],[5325,12],[5532,12],[6040,12],[6176,12],[6312,12],[6431,12],[6573,12],[6685,12],[6800,12],[6924,12],[7032,12],[7151,12],[7275,12],[7458,12],[7538,12],[7615,12],[7714,12],[7818,12],[7913,12],[8013,12],[8107,12],[8205,12],[8313,12],[8408,12],[8508,12],[8630,12],[8707,12],[8881,12],[9031,12],[9189,12],[9480,12],[9625,12],[9709,12],[9797,12],[9904,12],[10018,12],[10136,12],[10245,12],[10350,12],[10438,12],[10561,12],[10665,12],[10771,12],[10862,12],[10944,12],[11082,12],[11223,12],[11334,12],[11433,12],[11509,12],[11654,12],[11751,12],[11860,12],[12161,12],[12252,12],[12379,12],[12460,12],[12533,12],[12748,12],[12857,12],[12934,12],[13043,12],[13160,12],[13234,12],[13354,12],[13483,12],[13606,12],[13729,12],[13827,12],[13971,12],[14054,12],[14148,12],[14260,12],[14345,12],[14541,12],[14623,12],[14738,12],[14894,12],[15105,12],[15264,12],[15439,12],[15571,12],[15705,12],[15837,12],[15972,12],[16074,12],[16222,12],[16341,12],[16463,12],[16612,12],[16805,12],[16894,12],[17000,12],[17123,12],[17272,12],[17381,12],[17497,12],[17615,12],[17738,12],[17847,12],[17968,12],[18090,12],[18187,12],[18287,12],[18469,12],[18563,12],[18682,12],[18786,12],[18892,12],[18995,12],[19089,12],[19291,12],[19419,12],[19545,12],[19660,12],[19761,12],[19853,12],[19977,12],[20095,12],[20252,12],[20418,12],[20519,12],[20686,12],[20823,12],[20996,12],[21280,12],[21434,12],[21697,12],[21999,12],[22119,12],[22203,12],[22321,12],[22428,12],[22548,12],[22688,12],[22817,12],[22977,12],[23170,12],[23296,12],[23428,12],[23561,12],[23752,12],[23934,12],[24054,12],[24215,12],[24345,12],[24425,12]]}},"keywords":{}}],["it'",{"_index":531,"title":{},"content":{"34":{"position":[[248,4]]},"47":{"position":[[315,4]]},"51":{"position":[[898,4]]},"66":{"position":[[84,4]]},"117":{"position":[[142,4]]},"147":{"position":[[69,4]]},"151":{"position":[[311,4]]},"178":{"position":[[150,4]]},"253":{"position":[[235,4]]},"267":{"position":[[1471,4]]},"271":{"position":[[97,4]]},"287":{"position":[[801,4]]},"365":{"position":[[1406,4]]},"388":{"position":[[280,4]]},"392":{"position":[[2117,4],[2317,4]]},"396":{"position":[[1718,4]]},"401":{"position":[[614,4]]},"408":{"position":[[2824,4]]},"412":{"position":[[63,4],[6102,4],[6774,4],[8711,4],[8821,4],[12197,4]]},"430":{"position":[[544,4]]},"432":{"position":[[82,4],[508,4]]},"433":{"position":[[322,4]]},"436":{"position":[[299,4]]},"446":{"position":[[122,4],[937,4]]},"497":{"position":[[615,4]]},"613":{"position":[[517,4]]},"721":{"position":[[78,4]]},"889":{"position":[[1,4]]},"912":{"position":[[313,4]]},"966":{"position":[[98,4]]},"1085":{"position":[[1542,4]]},"1294":{"position":[[1279,4]]}},"keywords":{}}],["it.serv",{"_index":3667,"title":{},"content":{"622":{"position":[[199,9]]}},"keywords":{}}],["item",{"_index":1356,"title":{},"content":{"209":{"position":[[1057,5]]},"259":{"position":[[27,6],[53,6]]},"302":{"position":[[518,5]]},"353":{"position":[[723,7]]},"358":{"position":[[367,5]]},"390":{"position":[[1342,5],[1429,5]]},"392":{"position":[[437,5],[552,6],[882,5],[1029,5],[1115,5],[1664,6],[2447,5]]},"396":{"position":[[162,5],[908,5],[972,5]]},"475":{"position":[[186,6]]},"493":{"position":[[511,5]]},"749":{"position":[[16943,6],[17074,5]]},"808":{"position":[[660,6]]},"813":{"position":[[183,6]]},"858":{"position":[[390,6]]},"1080":{"position":[[645,6]]},"1316":{"position":[[832,5]]},"1324":{"position":[[1014,4]]}},"keywords":{}}],["item.syncen",{"_index":4889,"title":{},"content":{"858":{"position":[[403,16]]}},"keywords":{}}],["itemscollect",{"_index":2229,"title":{},"content":{"392":{"position":[[737,15]]}},"keywords":{}}],["itemscollection.addpipelin",{"_index":2244,"title":{},"content":{"392":{"position":[[2635,29],[4541,29]]},"397":{"position":[[1760,29]]}},"keywords":{}}],["itemscollection.bulkinsert",{"_index":2235,"title":{},"content":{"392":{"position":[[1087,27]]}},"keywords":{}}],["itemscollection.count().exec",{"_index":2232,"title":{},"content":{"392":{"position":[[939,31]]}},"keywords":{}}],["items—id",{"_index":3386,"title":{},"content":{"559":{"position":[[127,11]]}},"keywords":{}}],["iter",{"_index":2886,"title":{"984":{"position":[[11,10]]}},"content":{"427":{"position":[[981,7]]},"452":{"position":[[309,7]]},"626":{"position":[[695,9],[749,7],[1027,9]]},"818":{"position":[[190,8]]},"875":{"position":[[1589,7],[6598,9],[8883,9]]},"984":{"position":[[89,9],[504,9]]},"985":{"position":[[409,10],[698,9]]},"988":{"position":[[6020,10]]},"996":{"position":[[68,9]]},"1295":{"position":[[1114,9]]},"1296":{"position":[[155,7],[187,9],[1156,7]]}},"keywords":{}}],["itrxstorag",{"_index":2936,"title":{},"content":{"442":{"position":[[104,11]]}},"keywords":{}}],["itself",{"_index":364,"title":{},"content":{"22":{"position":[[19,6]]},"40":{"position":[[292,6]]},"188":{"position":[[171,6]]},"230":{"position":[[84,7]]},"304":{"position":[[340,6]]},"392":{"position":[[1482,7]]},"411":{"position":[[868,6]]},"458":{"position":[[640,6]]},"535":{"position":[[17,6]]},"595":{"position":[[17,6]]},"627":{"position":[[305,6]]},"697":{"position":[[289,6]]},"703":{"position":[[762,7]]},"716":{"position":[[23,6],[179,7],[291,6]]},"723":{"position":[[1956,6]]},"772":{"position":[[254,6]]},"797":{"position":[[44,6]]},"800":{"position":[[328,7]]},"829":{"position":[[159,7],[1064,6]]},"835":{"position":[[590,7]]},"836":{"position":[[289,6]]},"856":{"position":[[183,6]]},"981":{"position":[[488,7]]},"988":{"position":[[806,7]]},"1004":{"position":[[61,7]]},"1067":{"position":[[102,7]]},"1088":{"position":[[152,6]]},"1095":{"position":[[246,7]]},"1162":{"position":[[746,6]]},"1165":{"position":[[27,6]]},"1210":{"position":[[20,6]]},"1250":{"position":[[331,6]]},"1316":{"position":[[3345,7]]}},"keywords":{}}],["it’",{"_index":2052,"title":{},"content":{"357":{"position":[[491,4]]},"360":{"position":[[659,4]]},"479":{"position":[[105,4]]},"482":{"position":[[29,4]]},"559":{"position":[[91,4]]},"560":{"position":[[31,4]]},"567":{"position":[[1148,4]]}},"keywords":{}}],["jaccard",{"_index":2293,"title":{},"content":{"393":{"position":[[276,7]]}},"keywords":{}}],["jan",{"_index":268,"title":{},"content":{"16":{"position":[[11,3]]}},"keywords":{}}],["javascript",{"_index":7,"title":{"12":{"position":[[40,10]]},"76":{"position":[[8,11],[34,10]]},"94":{"position":[[24,10]]},"107":{"position":[[8,11],[34,10]]},"207":{"position":[[20,10]]},"213":{"position":[[5,10]]},"222":{"position":[[24,10]]},"230":{"position":[[8,11],[34,10]]},"254":{"position":[[23,10]]},"359":{"position":[[34,10]]},"363":{"position":[[25,10]]},"374":{"position":[[69,10]]},"378":{"position":[[26,10]]},"389":{"position":[[55,10]]},"426":{"position":[[24,10]]},"431":{"position":[[47,11]]},"513":{"position":[[22,10]]},"900":{"position":[[77,10]]},"903":{"position":[[52,10]]},"1088":{"position":[[13,10]]},"1254":{"position":[[0,10]]},"1282":{"position":[[28,10]]}},"content":{"1":{"position":[[79,10]]},"13":{"position":[[50,10],[161,10]]},"15":{"position":[[61,10],[292,10]]},"16":{"position":[[94,10]]},"17":{"position":[[49,10],[151,10]]},"24":{"position":[[16,10]]},"27":{"position":[[57,10]]},"28":{"position":[[13,10],[361,10],[433,10]]},"29":{"position":[[10,10]]},"30":{"position":[[13,10],[168,10],[322,10]]},"34":{"position":[[168,10]]},"35":{"position":[[26,10]]},"36":{"position":[[129,11]]},"42":{"position":[[53,10]]},"45":{"position":[[26,10]]},"76":{"position":[[16,10],[45,10]]},"83":{"position":[[171,10]]},"94":{"position":[[70,10]]},"104":{"position":[[82,11]]},"105":{"position":[[37,10]]},"107":{"position":[[27,11],[53,10],[117,10]]},"116":{"position":[[23,10]]},"155":{"position":[[24,10]]},"173":{"position":[[2178,10],[2271,10]]},"174":{"position":[[11,10],[1208,11],[1234,10],[1283,11],[1317,10],[1412,10],[1480,10]]},"179":{"position":[[85,10]]},"188":{"position":[[47,11],[146,10],[453,10],[575,10],[1544,10],[1630,10],[2453,10],[2580,10]]},"207":{"position":[[59,10]]},"222":{"position":[[87,10]]},"228":{"position":[[467,10]]},"229":{"position":[[29,10]]},"230":{"position":[[36,10],[73,10],[130,10],[214,10]]},"231":{"position":[[109,10],[134,10]]},"241":{"position":[[587,10]]},"254":{"position":[[61,11]]},"269":{"position":[[88,11]]},"281":{"position":[[35,11]]},"284":{"position":[[166,10]]},"286":{"position":[[41,10]]},"304":{"position":[[312,10]]},"362":{"position":[[819,10]]},"364":{"position":[[1,10],[26,11]]},"371":{"position":[[191,10]]},"373":{"position":[[613,10]]},"378":{"position":[[99,10]]},"387":{"position":[[78,10]]},"392":{"position":[[3262,10]]},"396":{"position":[[1550,11]]},"408":{"position":[[3887,10],[4024,10],[4893,11]]},"412":{"position":[[9679,11]]},"429":{"position":[[65,10]]},"437":{"position":[[158,10]]},"438":{"position":[[54,10]]},"440":{"position":[[10,10],[234,10],[439,10]]},"445":{"position":[[152,11],[210,12]]},"451":{"position":[[587,10]]},"454":{"position":[[426,11]]},"458":{"position":[[200,10]]},"460":{"position":[[89,10],[525,10],[583,10],[1329,10]]},"461":{"position":[[476,10]]},"468":{"position":[[89,10]]},"479":{"position":[[37,10],[470,10]]},"513":{"position":[[18,10]]},"514":{"position":[[54,10]]},"569":{"position":[[1305,10]]},"610":{"position":[[886,10]]},"611":{"position":[[609,10]]},"612":{"position":[[1075,11]]},"631":{"position":[[11,10]]},"655":{"position":[[181,10]]},"662":{"position":[[46,10],[624,10]]},"688":{"position":[[473,10]]},"699":{"position":[[798,10],[813,10]]},"703":{"position":[[147,10],[1142,10]]},"705":{"position":[[439,10]]},"707":{"position":[[101,10],[455,10]]},"710":{"position":[[32,10],[566,10]]},"711":{"position":[[1033,10]]},"732":{"position":[[34,10]]},"740":{"position":[[140,10]]},"743":{"position":[[132,10]]},"749":{"position":[[1479,10],[8804,10]]},"773":{"position":[[153,10]]},"776":{"position":[[155,10]]},"800":{"position":[[216,10],[317,10]]},"801":{"position":[[192,10]]},"817":{"position":[[6,11]]},"818":{"position":[[40,10]]},"821":{"position":[[389,10]]},"835":{"position":[[306,10]]},"837":{"position":[[16,10]]},"838":{"position":[[46,10],[1270,10]]},"872":{"position":[[44,10]]},"904":{"position":[[544,10]]},"908":{"position":[[245,10]]},"958":{"position":[[89,10],[293,10]]},"962":{"position":[[404,10]]},"964":{"position":[[88,10]]},"968":{"position":[[166,10],[362,10]]},"979":{"position":[[125,10]]},"1020":{"position":[[243,10]]},"1030":{"position":[[11,10]]},"1072":{"position":[[801,10],[1377,10]]},"1085":{"position":[[111,10]]},"1088":{"position":[[364,10]]},"1089":{"position":[[228,10]]},"1102":{"position":[[218,10]]},"1105":{"position":[[25,10]]},"1106":{"position":[[27,10]]},"1115":{"position":[[74,10],[582,10]]},"1117":{"position":[[530,10]]},"1118":{"position":[[161,10]]},"1162":{"position":[[42,10],[353,10]]},"1164":{"position":[[1003,10]]},"1171":{"position":[[59,10]]},"1181":{"position":[[108,10],[440,10]]},"1183":{"position":[[102,10],[437,10]]},"1191":{"position":[[147,10]]},"1203":{"position":[[35,10]]},"1214":{"position":[[88,10],[166,10]]},"1225":{"position":[[23,10]]},"1227":{"position":[[48,10],[478,10]]},"1230":{"position":[[169,10]]},"1238":{"position":[[275,10]]},"1241":{"position":[[70,10]]},"1246":{"position":[[819,10]]},"1252":{"position":[[75,11]]},"1265":{"position":[[41,10],[472,10]]},"1267":{"position":[[155,10]]},"1270":{"position":[[177,10]]},"1282":{"position":[[6,10]]},"1292":{"position":[[804,10]]},"1300":{"position":[[110,10],[827,10]]},"1301":{"position":[[651,10],[1505,10]]},"1309":{"position":[[42,10]]},"1315":{"position":[[1054,10]]},"1324":{"position":[[386,11]]}},"keywords":{}}],["javascript"",{"_index":1528,"title":{},"content":{"244":{"position":[[1576,16]]}},"keywords":{}}],["javascript'",{"_index":1036,"title":{},"content":{"104":{"position":[[94,12]]},"174":{"position":[[589,12],[1355,12]]},"179":{"position":[[296,12]]},"364":{"position":[[170,12]]}},"keywords":{}}],["javascript/dist/index.j",{"_index":1265,"title":{},"content":{"188":{"position":[[1788,24],[1943,24]]}},"keywords":{}}],["jd1",{"_index":4307,"title":{},"content":{"749":{"position":[[13261,3]]}},"keywords":{}}],["jd2",{"_index":4308,"title":{},"content":{"749":{"position":[[13381,3]]}},"keywords":{}}],["jd3",{"_index":4310,"title":{},"content":{"749":{"position":[[13510,3]]}},"keywords":{}}],["jetstream",{"_index":4922,"title":{},"content":{"865":{"position":[[65,9]]}},"keywords":{}}],["jevon",{"_index":2580,"title":{},"content":{"409":{"position":[[1,7]]}},"keywords":{}}],["jinaai/jina",{"_index":2458,"title":{},"content":{"401":{"position":[[318,11],[365,11],[412,11]]}},"keywords":{}}],["john",{"_index":5799,"title":{},"content":{"1072":{"position":[[2358,5],[2385,5],[2518,5],[2690,6]]}},"keywords":{}}],["john_do",{"_index":2871,"title":{},"content":{"425":{"position":[[309,12]]}},"keywords":{}}],["join",{"_index":1326,"title":{},"content":{"205":{"position":[[207,6]]},"210":{"position":[[647,5]]},"252":{"position":[[79,6]]},"261":{"position":[[1053,7]]},"263":{"position":[[417,4]]},"306":{"position":[[260,4]]},"352":{"position":[[189,5]]},"354":{"position":[[251,5],[785,5]]},"412":{"position":[[13586,4],[13949,4],[13966,4],[14169,4],[14449,5]]},"422":{"position":[[178,4]]},"483":{"position":[[871,4]]},"705":{"position":[[530,5],[733,6]]},"824":{"position":[[360,4]]},"898":{"position":[[3712,6]]},"899":{"position":[[422,4]]},"902":{"position":[[188,4]]},"905":{"position":[[130,4]]},"1071":{"position":[[282,7]]},"1315":{"position":[[429,4]]},"1317":{"position":[[781,4]]}},"keywords":{}}],["joins.requir",{"_index":2009,"title":{},"content":{"353":{"position":[[358,13]]}},"keywords":{}}],["journey",{"_index":1076,"title":{},"content":{"119":{"position":[[14,7]]}},"keywords":{}}],["journeyapp",{"_index":687,"title":{},"content":{"43":{"position":[[694,11]]}},"keywords":{}}],["jqueri",{"_index":1913,"title":{"319":{"position":[[24,6]]},"320":{"position":[[0,6]]},"321":{"position":[[27,6]]},"331":{"position":[[15,6]]},"332":{"position":[[16,6]]},"335":{"position":[[22,7]]},"346":{"position":[[33,6]]}},"content":{"320":{"position":[[1,6],[198,6]]},"321":{"position":[[21,6]]},"323":{"position":[[554,6]]},"326":{"position":[[124,6]]},"327":{"position":[[94,6]]},"329":{"position":[[186,6]]},"330":{"position":[[14,6]]},"331":{"position":[[15,6]]},"335":{"position":[[73,6],[140,6],[925,6]]},"338":{"position":[[43,6]]},"342":{"position":[[150,6]]},"346":{"position":[[572,6]]},"347":{"position":[[569,6]]},"362":{"position":[[1640,6]]}},"keywords":{}}],["jquery.offlin",{"_index":1921,"title":{},"content":{"323":{"position":[[146,14]]}},"keywords":{}}],["js",{"_index":1262,"title":{},"content":{"188":{"position":[[1683,3]]},"291":{"position":[[466,2]]},"315":{"position":[[38,2],[150,2],[246,4]]},"412":{"position":[[9729,2],[9820,3]]},"426":{"position":[[7,2]]},"427":{"position":[[169,2]]},"452":{"position":[[767,2]]},"482":{"position":[[375,4],[444,2]]},"551":{"position":[[455,2]]},"553":{"position":[[115,2]]},"554":{"position":[[600,4]]},"564":{"position":[[311,4]]},"638":{"position":[[305,4]]},"717":{"position":[[76,2],[135,2],[334,2],[633,4]]},"865":{"position":[[270,2]]},"896":{"position":[[366,2]]},"897":{"position":[[96,2]]},"898":{"position":[[61,2],[3023,4]]},"1237":{"position":[[729,4]]},"1266":{"position":[[888,6]]}},"keywords":{}}],["js/typescript",{"_index":681,"title":{},"content":{"43":{"position":[[541,14]]}},"keywords":{}}],["jsfiddl",{"_index":1864,"title":{},"content":{"304":{"position":[[412,8]]}},"keywords":{}}],["json",{"_index":217,"title":{"73":{"position":[[6,4]]},"104":{"position":[[6,4]]},"141":{"position":[[0,4]]},"169":{"position":[[0,4]]},"197":{"position":[[0,4]]},"231":{"position":[[6,6]]},"345":{"position":[[0,4]]},"348":{"position":[[0,4]]},"349":{"position":[[4,4]]},"355":{"position":[[8,4]]},"356":{"position":[[0,4]]},"357":{"position":[[8,4]]},"358":{"position":[[0,4],[32,4]]},"359":{"position":[[8,4]]},"361":{"position":[[9,4]]},"363":{"position":[[7,4]]},"364":{"position":[[13,4]]},"365":{"position":[[31,4]]},"366":{"position":[[24,4]]},"368":{"position":[[6,4]]},"369":{"position":[[5,4]]},"371":{"position":[[14,4]]},"372":{"position":[[18,4]]},"426":{"position":[[40,4]]},"457":{"position":[[16,4]]},"508":{"position":[[0,4]]},"528":{"position":[[0,4]]},"588":{"position":[[0,4]]},"1288":{"position":[[15,4]]}},"content":{"14":{"position":[[523,4]]},"20":{"position":[[55,4]]},"34":{"position":[[25,4],[214,4]]},"73":{"position":[[7,4]]},"104":{"position":[[21,4],[126,4]]},"141":{"position":[[72,4]]},"169":{"position":[[61,4],[121,4]]},"170":{"position":[[436,4]]},"174":{"position":[[441,4],[485,6],[621,4],[833,4]]},"197":{"position":[[72,4]]},"231":{"position":[[37,4],[165,4]]},"283":{"position":[[161,4]]},"303":{"position":[[268,4]]},"345":{"position":[[57,4]]},"350":{"position":[[29,5],[238,4]]},"351":{"position":[[280,4]]},"352":{"position":[[308,4]]},"353":{"position":[[327,4],[656,4],[733,4]]},"354":{"position":[[30,4],[1613,4],[1641,4]]},"356":{"position":[[120,4],[156,4],[211,4],[274,4],[414,4],[668,4]]},"357":{"position":[[28,4],[180,4],[210,4],[264,4]]},"358":{"position":[[57,4],[294,4],[382,4],[692,4]]},"359":{"position":[[142,4]]},"360":{"position":[[7,4],[50,4],[171,4],[264,4],[639,4],[717,4]]},"361":{"position":[[1,4],[30,4],[233,4],[389,4]]},"362":{"position":[[1,4],[380,4],[493,4],[594,4],[787,4],[893,4]]},"364":{"position":[[95,4],[133,4],[218,4],[313,4],[467,4],[491,4],[757,4]]},"365":{"position":[[20,4]]},"366":{"position":[[25,4],[430,4]]},"367":{"position":[[9,4]]},"369":{"position":[[98,4],[185,4],[317,4],[566,4],[978,4]]},"370":{"position":[[152,4]]},"371":{"position":[[101,4],[231,4]]},"372":{"position":[[84,4],[203,4],[347,4]]},"373":{"position":[[379,4],[450,4]]},"381":{"position":[[301,4]]},"382":{"position":[[61,4]]},"408":{"position":[[2968,4]]},"426":{"position":[[119,4]]},"427":{"position":[[663,4]]},"430":{"position":[[415,4],[445,4]]},"432":{"position":[[246,4]]},"439":{"position":[[586,4]]},"452":{"position":[[147,4],[606,4]]},"453":{"position":[[749,4]]},"457":{"position":[[80,4],[228,4],[281,4],[503,4],[568,4]]},"462":{"position":[[720,4]]},"464":{"position":[[797,4]]},"508":{"position":[[17,4]]},"528":{"position":[[14,4]]},"560":{"position":[[257,4],[454,4]]},"566":{"position":[[96,4],[158,4],[187,4],[361,4]]},"567":{"position":[[266,4]]},"588":{"position":[[50,4]]},"661":{"position":[[1630,4]]},"686":{"position":[[375,4]]},"687":{"position":[[95,4]]},"689":{"position":[[288,4]]},"698":{"position":[[43,4]]},"711":{"position":[[673,4]]},"749":{"position":[[3057,4],[11980,4],[13425,4],[19224,4]]},"772":{"position":[[1979,4]]},"800":{"position":[[79,4],[134,4]]},"841":{"position":[[199,6],[359,4],[1202,4]]},"865":{"position":[[116,5]]},"936":{"position":[[110,4]]},"952":{"position":[[31,4],[153,4]]},"953":{"position":[[15,4]]},"971":{"position":[[31,4],[265,4]]},"972":{"position":[[15,4]]},"1051":{"position":[[38,4],[164,4],[430,4]]},"1052":{"position":[[182,4]]},"1071":{"position":[[110,4]]},"1072":{"position":[[330,4]]},"1084":{"position":[[273,4]]},"1085":{"position":[[60,4],[1521,4]]},"1104":{"position":[[730,4]]},"1116":{"position":[[75,4]]},"1162":{"position":[[459,4]]},"1171":{"position":[[424,4]]},"1181":{"position":[[546,4]]},"1213":{"position":[[223,4]]},"1220":{"position":[[329,4]]},"1249":{"position":[[405,4]]},"1252":{"position":[[10,4]]},"1282":{"position":[[449,4]]},"1287":{"position":[[12,4]]},"1288":{"position":[[20,4],[110,4],[139,4],[255,4]]}},"keywords":{}}],["json.firstnam",{"_index":5730,"title":{},"content":{"1052":{"position":[[217,14]]}},"keywords":{}}],["json.pars",{"_index":2876,"title":{},"content":{"426":{"position":[[171,11]]},"800":{"position":[[200,12]]},"981":{"position":[[1006,12]]}},"keywords":{}}],["json.parse(event.data",{"_index":5053,"title":{},"content":{"875":{"position":[[8261,23]]}},"keywords":{}}],["json.parse(localstorage.getitem('us",{"_index":2881,"title":{},"content":{"426":{"position":[[500,41]]}},"keywords":{}}],["json.parse(sav",{"_index":3390,"title":{},"content":{"559":{"position":[[385,17]]}},"keywords":{}}],["json.passwordhash",{"_index":4311,"title":{},"content":{"749":{"position":[[13541,17]]}},"keywords":{}}],["json.stringifi",{"_index":1351,"title":{},"content":{"209":{"position":[[869,16]]},"255":{"position":[[1215,16]]},"426":{"position":[[152,14]]},"451":{"position":[[508,17]]},"457":{"position":[[532,16],[649,16]]},"988":{"position":[[2669,16]]},"1065":{"position":[[622,16]]},"1102":{"position":[[642,16]]}},"keywords":{}}],["json.stringify("production"",{"_index":3854,"title":{},"content":{"674":{"position":[[187,38]]}},"keywords":{}}],["json.stringify(a",{"_index":3912,"title":{},"content":{"691":{"position":[[261,17]]}},"keywords":{}}],["json.stringify(b",{"_index":3913,"title":{},"content":{"691":{"position":[[283,18]]}},"keywords":{}}],["json.stringify(changerow",{"_index":5039,"title":{},"content":{"875":{"position":[[6374,26]]}},"keywords":{}}],["json.stringify(data)}\\n\\n",{"_index":3603,"title":{},"content":{"612":{"position":[[2112,29]]}},"keywords":{}}],["json.stringify(ev",{"_index":5045,"title":{},"content":{"875":{"position":[[7459,21]]}},"keywords":{}}],["json.stringify(us",{"_index":2879,"title":{},"content":{"426":{"position":[[416,22]]}},"keywords":{}}],["json.stringify(usernam",{"_index":3391,"title":{},"content":{"559":{"position":[[467,26]]}},"keywords":{}}],["json/nosql",{"_index":2014,"title":{"354":{"position":[[30,11]]}},"content":{},"keywords":{}}],["json1",{"_index":2048,"title":{},"content":{"357":{"position":[[138,5],[334,5]]},"362":{"position":[[405,5]]}},"keywords":{}}],["json_extract",{"_index":6370,"title":{},"content":{"1282":{"position":[[467,13],[532,12]]}},"keywords":{}}],["jsonb",{"_index":2034,"title":{},"content":{"356":{"position":[[165,5],[381,5],[838,5]]},"362":{"position":[[357,5]]}},"keywords":{}}],["jsonschema",{"_index":2116,"title":{},"content":{"367":{"position":[[411,10],[465,10],[571,10]]},"1132":{"position":[[378,10]]},"1260":{"position":[[41,10]]},"1286":{"position":[[136,10]]}},"keywords":{}}],["json—wheth",{"_index":2090,"title":{},"content":{"362":{"position":[[328,12]]}},"keywords":{}}],["jsx",{"_index":5732,"title":{},"content":{"1052":{"position":[[531,4]]}},"keywords":{}}],["jump",{"_index":2339,"title":{},"content":{"396":{"position":[[424,5]]},"806":{"position":[[343,5]]}},"keywords":{}}],["jwt",{"_index":1538,"title":{},"content":{"245":{"position":[[160,3]]}},"keywords":{}}],["karma",{"_index":4076,"title":{},"content":{"730":{"position":[[177,6]]}},"keywords":{}}],["kb",{"_index":2972,"title":{},"content":{"454":{"position":[[693,2]]},"461":{"position":[[32,2],[257,2]]}},"keywords":{}}],["kbit/",{"_index":3026,"title":{},"content":{"462":{"position":[[628,7],[651,7]]}},"keywords":{}}],["keep",{"_index":740,"title":{},"content":{"47":{"position":[[1015,5]]},"125":{"position":[[163,5]]},"158":{"position":[[200,4]]},"162":{"position":[[607,5]]},"185":{"position":[[170,7]]},"255":{"position":[[1567,4]]},"265":{"position":[[761,5]]},"275":{"position":[[277,7]]},"287":{"position":[[972,5]]},"301":{"position":[[306,4]]},"323":{"position":[[177,4],[596,5]]},"328":{"position":[[236,4]]},"339":{"position":[[136,7]]},"342":{"position":[[137,7]]},"365":{"position":[[236,5]]},"369":{"position":[[445,4]]},"407":{"position":[[616,4]]},"408":{"position":[[5013,4]]},"411":{"position":[[2490,4]]},"412":{"position":[[3469,4],[8795,4],[15346,4]]},"419":{"position":[[984,7]]},"421":{"position":[[786,4]]},"460":{"position":[[139,5]]},"467":{"position":[[477,5]]},"481":{"position":[[827,4]]},"482":{"position":[[91,4]]},"490":{"position":[[646,4]]},"498":{"position":[[613,4]]},"502":{"position":[[895,4]]},"556":{"position":[[1791,4]]},"557":{"position":[[491,4]]},"562":{"position":[[1742,7]]},"574":{"position":[[289,7]]},"575":{"position":[[455,5]]},"612":{"position":[[497,5],[1980,5]]},"625":{"position":[[115,4]]},"626":{"position":[[907,4]]},"634":{"position":[[541,5]]},"635":{"position":[[465,5]]},"642":{"position":[[136,4]]},"699":{"position":[[552,4]]},"700":{"position":[[860,4]]},"707":{"position":[[487,4]]},"709":{"position":[[608,4]]},"754":{"position":[[321,4]]},"828":{"position":[[477,5]]},"857":{"position":[[521,4]]},"858":{"position":[[437,4]]},"860":{"position":[[343,5]]},"875":{"position":[[7335,5]]},"1009":{"position":[[596,5]]},"1069":{"position":[[367,4]]},"1148":{"position":[[219,5]]},"1304":{"position":[[499,4]]},"1316":{"position":[[3061,5]]},"1321":{"position":[[424,4]]}},"keywords":{}}],["keep.first",{"_index":3195,"title":{},"content":{"496":{"position":[[618,10]]}},"keywords":{}}],["keepindexesonpar",{"_index":6115,"title":{},"content":{"1164":{"position":[[521,19],[749,19],[796,20]]},"1165":{"position":[[414,20]]}},"keywords":{}}],["kelso",{"_index":5349,"title":{},"content":{"948":{"position":[[426,7]]}},"keywords":{}}],["kept",{"_index":3515,"title":{"618":{"position":[[20,4]]}},"content":{"582":{"position":[[51,4]]},"698":{"position":[[512,4]]},"799":{"position":[[195,4]]}},"keywords":{}}],["key",{"_index":556,"title":{"141":{"position":[[5,3]]},"169":{"position":[[5,3]]},"197":{"position":[[5,3]]},"323":{"position":[[0,3]]},"345":{"position":[[5,3]]},"360":{"position":[[0,3]]},"508":{"position":[[5,3]]},"528":{"position":[[5,3]]},"588":{"position":[[5,3]]},"631":{"position":[[11,3]]},"733":{"position":[[0,3]]},"734":{"position":[[7,3]]},"870":{"position":[[0,3]]},"896":{"position":[[0,3]]},"1078":{"position":[[18,4]]},"1122":{"position":[[29,3]]},"1156":{"position":[[0,3]]}},"content":{"35":{"position":[[345,3]]},"45":{"position":[[126,3]]},"53":{"position":[[3,3]]},"57":{"position":[[447,3],[483,3]]},"63":{"position":[[121,3]]},"119":{"position":[[54,3]]},"133":{"position":[[12,3]]},"141":{"position":[[77,3],[99,3],[135,4]]},"169":{"position":[[66,3],[126,5]]},"170":{"position":[[441,3]]},"182":{"position":[[12,3]]},"190":{"position":[[12,3]]},"197":{"position":[[77,3],[127,4]]},"247":{"position":[[112,3]]},"265":{"position":[[12,3]]},"271":{"position":[[266,3]]},"278":{"position":[[191,3]]},"283":{"position":[[166,3]]},"291":{"position":[[308,4]]},"293":{"position":[[81,3]]},"303":{"position":[[317,3],[460,3]]},"311":{"position":[[90,3]]},"316":{"position":[[50,3]]},"317":{"position":[[41,3],[199,3]]},"345":{"position":[[62,3]]},"354":{"position":[[512,5]]},"356":{"position":[[357,4]]},"358":{"position":[[195,3]]},"361":{"position":[[238,3],[323,3],[468,3]]},"362":{"position":[[941,3]]},"366":{"position":[[71,3]]},"367":{"position":[[771,3],[882,3]]},"407":{"position":[[861,3]]},"408":{"position":[[45,3],[3752,3]]},"412":{"position":[[10240,3]]},"424":{"position":[[176,3]]},"426":{"position":[[49,3]]},"427":{"position":[[491,3]]},"429":{"position":[[196,3],[554,3]]},"432":{"position":[[221,3],[1254,3],[1438,3]]},"441":{"position":[[173,3]]},"450":{"position":[[82,3]]},"451":{"position":[[134,3],[262,3],[745,3]]},"458":{"position":[[410,3]]},"468":{"position":[[170,3]]},"485":{"position":[[141,3]]},"491":{"position":[[24,3]]},"508":{"position":[[22,3]]},"528":{"position":[[19,3]]},"533":{"position":[[156,3]]},"544":{"position":[[402,3]]},"550":{"position":[[171,4]]},"551":{"position":[[234,3]]},"555":{"position":[[421,3],[770,5]]},"559":{"position":[[52,3],[1228,4]]},"560":{"position":[[60,3],[384,3]]},"566":{"position":[[54,3],[235,4]]},"567":{"position":[[991,3]]},"593":{"position":[[156,3]]},"604":{"position":[[336,3]]},"620":{"position":[[127,3]]},"639":{"position":[[75,3],[93,3]]},"659":{"position":[[77,3],[517,4],[598,4],[664,4],[803,3]]},"683":{"position":[[702,3]]},"693":{"position":[[914,4],[1234,4]]},"705":{"position":[[817,4]]},"716":{"position":[[318,4],[438,3]]},"734":{"position":[[5,3],[101,3],[803,3]]},"749":{"position":[[717,3],[1907,3],[7390,4],[9161,3],[10303,3],[11295,3],[19720,3],[20035,3],[20867,3],[21474,3],[22400,3]]},"772":{"position":[[283,3]]},"793":{"position":[[439,3]]},"835":{"position":[[19,3],[908,3]]},"838":{"position":[[392,3]]},"841":{"position":[[78,3]]},"863":{"position":[[18,4],[149,3]]},"897":{"position":[[541,3],[577,3]]},"898":{"position":[[176,3],[213,4],[981,4],[1688,3],[2821,3],[4455,5]]},"912":{"position":[[482,3]]},"934":{"position":[[262,3]]},"943":{"position":[[127,3]]},"951":{"position":[[186,3]]},"1056":{"position":[[296,3]]},"1065":{"position":[[1565,3],[1856,3]]},"1074":{"position":[[1020,3]]},"1077":{"position":[[90,3],[145,3]]},"1078":{"position":[[36,3],[317,4],[379,3],[582,3]]},"1080":{"position":[[205,3]]},"1082":{"position":[[290,3]]},"1083":{"position":[[490,3]]},"1102":{"position":[[1394,4]]},"1123":{"position":[[33,3],[479,3]]},"1124":{"position":[[967,3]]},"1132":{"position":[[821,3]]},"1147":{"position":[[59,3]]},"1177":{"position":[[378,4]]},"1246":{"position":[[1865,3]]},"1247":{"position":[[564,3]]},"1296":{"position":[[427,3]]},"1309":{"position":[[1425,3]]},"1320":{"position":[[775,3]]}},"keywords":{}}],["key(",{"_index":4283,"title":{},"content":{"749":{"position":[[11384,6]]}},"keywords":{}}],["key.set",{"_index":5945,"title":{},"content":{"1102":{"position":[[1287,7]]}},"keywords":{}}],["key="hero.id">",{"_index":3506,"title":{},"content":{"580":{"position":[[800,28]]},"601":{"position":[[188,28]]},"602":{"position":[[575,28]]}},"keywords":{}}],["key={doc.id}>{doc.name}</li>",{"_index":3183,"title":{},"content":{"494":{"position":[[366,37]]}},"keywords":{}}],["key={hero.id}>",{"_index":3316,"title":{},"content":{"541":{"position":[[619,17]]},"562":{"position":[[1490,17]]}},"keywords":{}}],["key={hero.id}>{hero.name}</li>",{"_index":3325,"title":{},"content":{"542":{"position":[[870,39]]}},"keywords":{}}],["key={hero.name}>{hero.name}</li>",{"_index":4764,"title":{},"content":{"829":{"position":[[3566,41]]}},"keywords":{}}],["key={index",{"_index":3279,"title":{},"content":{"523":{"position":[[726,11]]}},"keywords":{}}],["keychain",{"_index":3340,"title":{},"content":{"551":{"position":[[315,8]]},"556":{"position":[[119,8],[237,8],[297,8],[325,10],[521,11]]}},"keywords":{}}],["keychain.getgenericpassword",{"_index":3364,"title":{},"content":{"556":{"position":[[401,30]]}},"keywords":{}}],["keycompress",{"_index":1903,"title":{},"content":{"316":{"position":[[188,15],[400,15]]},"639":{"position":[[245,15],[371,15]]},"734":{"position":[[613,15],[670,14]]},"749":{"position":[[666,14]]},"1078":{"position":[[127,15],[184,14]]},"1080":{"position":[[77,15]]},"1084":{"position":[[164,14]]},"1311":{"position":[[369,15]]}},"keywords":{}}],["keyrang",{"_index":2992,"title":{},"content":{"459":{"position":[[579,8]]},"1296":{"position":[[1210,9],[1318,8],[1427,8]]}},"keywords":{}}],["keys.us",{"_index":3362,"title":{},"content":{"556":{"position":[[67,8]]}},"keywords":{}}],["keys/valu",{"_index":4809,"title":{},"content":{"841":{"position":[[892,11]]}},"keywords":{}}],["keystrok",{"_index":2712,"title":{},"content":{"412":{"position":[[6528,9]]}},"keywords":{}}],["keyword",{"_index":1437,"title":{"243":{"position":[[4,10]]}},"content":{"723":{"position":[[2250,7]]},"789":{"position":[[349,7]]},"791":{"position":[[250,8]]},"808":{"position":[[9,7]]}},"keywords":{}}],["keywords.y",{"_index":6565,"title":{},"content":{"1317":{"position":[[437,12]]}},"keywords":{}}],["key—but",{"_index":5212,"title":{},"content":{"898":{"position":[[2890,7]]}},"keywords":{}}],["kill",{"_index":6107,"title":{},"content":{"1162":{"position":[[64,6]]},"1171":{"position":[[81,6]]},"1181":{"position":[[130,6]]}},"keywords":{}}],["kind",{"_index":3919,"title":{},"content":{"691":{"position":[[631,4]]},"698":{"position":[[779,4]]},"700":{"position":[[1046,5]]},"701":{"position":[[235,4]]},"705":{"position":[[195,4]]},"784":{"position":[[66,4]]},"1067":{"position":[[1661,5]]},"1313":{"position":[[934,4]]},"1316":{"position":[[2484,4]]}},"keywords":{}}],["king",{"_index":4096,"title":{},"content":{"739":{"position":[[539,8]]}},"keywords":{}}],["kit",{"_index":1229,"title":{},"content":{"177":{"position":[[51,3]]}},"keywords":{}}],["kitti",{"_index":4612,"title":{},"content":{"792":{"position":[[389,7]]}},"keywords":{}}],["know",{"_index":177,"title":{"633":{"position":[[23,4]]}},"content":{"11":{"position":[[1009,4]]},"367":{"position":[[613,4]]},"410":{"position":[[848,4]]},"411":{"position":[[4510,4]]},"412":{"position":[[239,4],[955,5]]},"413":{"position":[[17,4]]},"456":{"position":[[14,4]]},"458":{"position":[[1590,4]]},"488":{"position":[[13,4]]},"562":{"position":[[1651,5]]},"678":{"position":[[82,4]]},"686":{"position":[[352,4]]},"688":{"position":[[1049,4]]},"704":{"position":[[235,4]]},"709":{"position":[[584,4],[958,4]]},"749":{"position":[[262,4]]},"757":{"position":[[262,4]]},"796":{"position":[[714,4]]},"798":{"position":[[648,5]]},"861":{"position":[[1374,5]]},"875":{"position":[[1919,5]]},"945":{"position":[[387,5]]},"965":{"position":[[133,5]]},"989":{"position":[[394,4]]},"996":{"position":[[217,5]]},"1008":{"position":[[216,5]]},"1018":{"position":[[911,4]]},"1066":{"position":[[169,4],[454,5]]},"1079":{"position":[[347,4]]},"1085":{"position":[[922,4],[2403,4]]},"1175":{"position":[[253,5]]},"1192":{"position":[[724,4]]},"1207":{"position":[[234,4]]},"1230":{"position":[[10,4]]},"1251":{"position":[[230,5]]},"1257":{"position":[[56,4]]},"1318":{"position":[[491,4],[573,4]]},"1321":{"position":[[92,4],[630,4]]},"1322":{"position":[[74,4]]}},"keywords":{}}],["knowledg",{"_index":1415,"title":{},"content":{"230":{"position":[[225,9]]}},"keywords":{}}],["known",{"_index":134,"title":{"625":{"position":[[0,5]]},"850":{"position":[[0,5]]},"909":{"position":[[0,5]]},"1176":{"position":[[0,5]]},"1282":{"position":[[0,5]]}},"content":{"9":{"position":[[51,5]]},"23":{"position":[[78,5]]},"25":{"position":[[23,5]]},"162":{"position":[[39,5]]},"189":{"position":[[39,5]]},"299":{"position":[[953,5]]},"305":{"position":[[562,5]]},"398":{"position":[[3201,5]]},"445":{"position":[[14,5]]},"625":{"position":[[59,5]]},"627":{"position":[[16,5]]},"723":{"position":[[76,5]]},"749":{"position":[[1691,5],[7585,5],[7684,5]]},"798":{"position":[[831,5]]},"839":{"position":[[301,5]]},"954":{"position":[[13,5]]},"982":{"position":[[427,5]]},"1009":{"position":[[742,5]]},"1045":{"position":[[20,5]]},"1066":{"position":[[637,5]]},"1085":{"position":[[1808,5]]},"1294":{"position":[[1962,5]]},"1296":{"position":[[831,5],[1307,6]]}},"keywords":{}}],["koa",{"_index":5926,"title":{"1099":{"position":[[20,4]]}},"content":{"1099":{"position":[[66,3],[90,3],[286,5]]}},"keywords":{}}],["kopieren",{"_index":1381,"title":{},"content":{"211":{"position":[[310,8]]}},"keywords":{}}],["kotlin",{"_index":679,"title":{},"content":{"43":{"position":[[508,7]]}},"keywords":{}}],["l6",{"_index":2214,"title":{},"content":{"391":{"position":[[410,2],[553,2]]},"401":{"position":[[213,2]]},"402":{"position":[[1912,2]]}},"keywords":{}}],["lab",{"_index":6581,"title":{},"content":{"1324":{"position":[[827,5]]}},"keywords":{}}],["label",{"_index":363,"title":{},"content":{"22":{"position":[[12,6]]},"570":{"position":[[835,7]]}},"keywords":{}}],["lack",{"_index":698,"title":{},"content":{"45":{"position":[[249,5]]},"47":{"position":[[1076,5]]},"310":{"position":[[366,4]]},"317":{"position":[[95,4]]},"331":{"position":[[153,4]]},"412":{"position":[[14279,4]]},"427":{"position":[[897,5]]},"432":{"position":[[541,5]]},"435":{"position":[[183,5]]},"452":{"position":[[256,5]]},"566":{"position":[[327,5]]},"624":{"position":[[985,5],[1548,7]]},"661":{"position":[[1369,7]]},"711":{"position":[[1866,7]]},"836":{"position":[[1318,4]]},"840":{"position":[[236,7]]}},"keywords":{}}],["lag",{"_index":2029,"title":{},"content":{"354":{"position":[[1230,3]]},"571":{"position":[[1685,3]]}},"keywords":{}}],["laggi",{"_index":4768,"title":{},"content":{"835":{"position":[[345,5]]}},"keywords":{}}],["lamport",{"_index":6491,"title":{},"content":{"1305":{"position":[[457,7]]}},"keywords":{}}],["lan",{"_index":2637,"title":{},"content":{"411":{"position":[[5090,3]]}},"keywords":{}}],["lan.cost",{"_index":5247,"title":{},"content":{"902":{"position":[[788,8]]}},"keywords":{}}],["land",{"_index":2564,"title":{},"content":{"408":{"position":[[4177,5]]}},"keywords":{}}],["landscap",{"_index":1684,"title":{},"content":{"289":{"position":[[1538,10]]},"510":{"position":[[22,9]]},"530":{"position":[[558,9]]},"624":{"position":[[8,9]]}},"keywords":{}}],["lang",{"_index":3660,"title":{},"content":{"620":{"position":[[355,4]]}},"keywords":{}}],["lang="ts">",{"_index":3541,"title":{},"content":{"601":{"position":[[353,23]]}},"keywords":{}}],["languag",{"_index":416,"title":{},"content":{"25":{"position":[[131,8],[193,10]]},"36":{"position":[[96,9]]},"37":{"position":[[174,9]]},"39":{"position":[[379,8]]},"364":{"position":[[50,8],[272,9]]},"408":{"position":[[3536,9]]},"566":{"position":[[352,8]]},"569":{"position":[[1176,8]]},"661":{"position":[[149,8]]},"711":{"position":[[72,8],[201,8]]},"836":{"position":[[151,8]]},"841":{"position":[[376,9]]},"1102":{"position":[[203,9]]},"1249":{"position":[[158,8]]}},"keywords":{}}],["laptop",{"_index":2037,"title":{},"content":{"356":{"position":[[468,10]]},"392":{"position":[[5200,6]]}},"keywords":{}}],["laravel",{"_index":6379,"title":{},"content":{"1284":{"position":[[187,7]]}},"keywords":{}}],["larg",{"_index":693,"title":{},"content":{"45":{"position":[[68,5]]},"58":{"position":[[177,5]]},"66":{"position":[[347,5]]},"100":{"position":[[43,5]]},"111":{"position":[[191,5]]},"138":{"position":[[192,5]]},"141":{"position":[[256,5]]},"169":{"position":[[281,5]]},"173":{"position":[[2115,5]]},"174":{"position":[[2537,5]]},"217":{"position":[[341,5]]},"301":{"position":[[83,5]]},"303":{"position":[[420,5]]},"304":{"position":[[33,5],[164,5],[364,5]]},"305":{"position":[[196,5]]},"306":{"position":[[157,5]]},"311":{"position":[[1,5]]},"314":{"position":[[1129,7]]},"321":{"position":[[232,5]]},"342":{"position":[[74,5]]},"345":{"position":[[24,5]]},"346":{"position":[[765,5]]},"353":{"position":[[400,5]]},"358":{"position":[[376,5],[595,5]]},"361":{"position":[[255,6]]},"369":{"position":[[502,5]]},"376":{"position":[[560,5]]},"385":{"position":[[225,5]]},"386":{"position":[[109,5]]},"395":{"position":[[463,5]]},"396":{"position":[[771,5]]},"401":{"position":[[487,5],[524,5],[570,5]]},"408":{"position":[[741,5],[1302,5],[2273,5]]},"411":{"position":[[75,5]]},"412":{"position":[[7394,6]]},"417":{"position":[[156,6]]},"418":{"position":[[391,5]]},"430":{"position":[[439,5]]},"446":{"position":[[886,5]]},"452":{"position":[[119,5]]},"453":{"position":[[101,5]]},"461":{"position":[[405,6]]},"495":{"position":[[880,7]]},"497":{"position":[[276,6]]},"559":{"position":[[1643,5]]},"560":{"position":[[448,5]]},"566":{"position":[[599,5],[636,5],[688,5],[758,5]]},"574":{"position":[[541,5]]},"623":{"position":[[27,5]]},"624":{"position":[[1384,7]]},"639":{"position":[[47,5]]},"642":{"position":[[250,5]]},"643":{"position":[[5,5]]},"644":{"position":[[567,5]]},"723":{"position":[[188,5]]},"836":{"position":[[1751,5]]},"838":{"position":[[1114,5]]},"839":{"position":[[1102,5]]},"841":{"position":[[1463,5]]},"1009":{"position":[[118,5],[890,6]]},"1072":{"position":[[2906,5]]},"1112":{"position":[[299,5]]},"1132":{"position":[[261,5],[1231,5]]}},"keywords":{}}],["large.no",{"_index":3407,"title":{},"content":{"559":{"position":[[1154,8]]}},"keywords":{}}],["larger",{"_index":898,"title":{},"content":{"64":{"position":[[121,6]]},"227":{"position":[[59,6]]},"287":{"position":[[768,6]]},"299":{"position":[[1654,6]]},"321":{"position":[[417,6]]},"369":{"position":[[684,6]]},"394":{"position":[[1778,6]]},"401":{"position":[[644,6],[759,6]]},"432":{"position":[[381,6]]},"560":{"position":[[239,6]]},"581":{"position":[[534,6]]},"587":{"position":[[132,6]]}},"keywords":{}}],["larger.webtransport",{"_index":3664,"title":{},"content":{"621":{"position":[[694,20]]}},"keywords":{}}],["largest",{"_index":2324,"title":{},"content":{"394":{"position":[[1145,8]]}},"keywords":{}}],["lasagna",{"_index":4594,"title":{},"content":{"785":{"position":[[341,7]]}},"keywords":{}}],["last",{"_index":229,"title":{},"content":{"14":{"position":[[849,4]]},"27":{"position":[[313,4]]},"32":{"position":[[269,4]]},"203":{"position":[[65,4]]},"250":{"position":[[22,4]]},"412":{"position":[[2359,4],[3287,4]]},"496":{"position":[[1,4],[91,4]]},"635":{"position":[[222,4]]},"647":{"position":[[104,4],[501,4]]},"688":{"position":[[880,4]]},"697":{"position":[[188,4]]},"885":{"position":[[84,4],[2429,4]]},"886":{"position":[[114,4]]},"898":{"position":[[293,4]]},"948":{"position":[[698,4]]},"983":{"position":[[209,4]]},"984":{"position":[[188,4],[526,4]]},"986":{"position":[[102,4],[179,4],[876,4]]},"988":{"position":[[4167,4]]},"990":{"position":[[521,4]]},"995":{"position":[[1226,4],[1402,4],[1452,4]]},"1002":{"position":[[942,4]]},"1065":{"position":[[1863,4]]},"1294":{"position":[[512,4],[684,4]]},"1296":{"position":[[443,4],[1237,4]]},"1305":{"position":[[157,4]]},"1316":{"position":[[1675,4]]},"1318":{"position":[[287,4]]},"1320":{"position":[[911,4]]}},"keywords":{}}],["lastcheckpoint",{"_index":1353,"title":{},"content":{"209":{"position":[[1000,16],[1171,14]]},"255":{"position":[[1335,16]]},"632":{"position":[[2380,16],[2473,14]]},"988":{"position":[[3579,14],[4286,16],[4353,14]]}},"keywords":{}}],["lastcheckpoint.updatedat",{"_index":5465,"title":{},"content":{"988":{"position":[[3596,24]]}},"keywords":{}}],["lastdoc",{"_index":5110,"title":{},"content":{"885":{"position":[[2468,7]]},"1294":{"position":[[976,8],[1308,7],[1343,7],[1645,7]]}},"keywords":{}}],["lastdoc.ag",{"_index":6433,"title":{},"content":{"1294":{"position":[[1318,11]]}},"keywords":{}}],["lastdoc.id",{"_index":5113,"title":{},"content":{"885":{"position":[[2543,11]]},"1294":{"position":[[1353,10]]}},"keywords":{}}],["lastdoc.updatedat",{"_index":5114,"title":{},"content":{"885":{"position":[[2566,17]]}},"keywords":{}}],["lasteventid",{"_index":5017,"title":{},"content":{"875":{"position":[[4386,11],[4545,14]]}},"keywords":{}}],["lastid",{"_index":2268,"title":{},"content":{"392":{"position":[[4010,6],[4230,10]]}},"keywords":{}}],["lastlocalcheckpoint",{"_index":5537,"title":{},"content":{"1002":{"position":[[308,20],[386,19],[494,19],[715,19]]}},"keywords":{}}],["lastnam",{"_index":4515,"title":{},"content":{"764":{"position":[[150,8]]},"820":{"position":[[643,9]]},"872":{"position":[[2007,9],[2077,11],[4237,9],[4307,11]]},"885":{"position":[[562,9],[657,9]]},"898":{"position":[[2587,9],[2682,11]]},"942":{"position":[[223,9]]},"943":{"position":[[431,9]]},"944":{"position":[[239,9],[275,9]]},"946":{"position":[[195,9]]},"947":{"position":[[213,9],[248,9]]},"948":{"position":[[416,9]]},"1035":{"position":[[137,9]]},"1051":{"position":[[267,9],[537,9]]},"1078":{"position":[[406,10],[644,9],[707,10],[961,9],[1088,9]]},"1080":{"position":[[358,9]]},"1082":{"position":[[352,9]]},"1083":{"position":[[552,9]]},"1249":{"position":[[513,9]]},"1311":{"position":[[510,9],[606,11],[1553,9]]}},"keywords":{}}],["lastname)"",{"_index":4003,"title":{},"content":{"711":{"position":[[1298,17]]}},"keywords":{}}],["lastofarray",{"_index":4989,"title":{},"content":{"875":{"position":[[2030,11],[4276,11]]},"988":{"position":[[190,11]]}},"keywords":{}}],["lastofarray(docs).nam",{"_index":5158,"title":{},"content":{"888":{"position":[[1135,23]]}},"keywords":{}}],["lastofarray(docs).updatedat",{"_index":5159,"title":{},"content":{"888":{"position":[[1170,27]]}},"keywords":{}}],["lastofarray(documents).id",{"_index":5001,"title":{},"content":{"875":{"position":[[2689,26]]}},"keywords":{}}],["lastofarray(documents).updatedat",{"_index":5002,"title":{},"content":{"875":{"position":[[2727,32]]}},"keywords":{}}],["lastofarray(documentsfromremote).id",{"_index":5470,"title":{},"content":{"988":{"position":[[4376,36]]}},"keywords":{}}],["lastofarray(documentsfromremote).updatedat",{"_index":5471,"title":{},"content":{"988":{"position":[[4424,42]]}},"keywords":{}}],["lastofarray(subresult",{"_index":6444,"title":{},"content":{"1294":{"position":[[1655,23]]}},"keywords":{}}],["lastremotecheckpoint",{"_index":5540,"title":{},"content":{"1002":{"position":[[985,20],[1147,20],[1369,20]]}},"keywords":{}}],["laststat",{"_index":5715,"title":{},"content":{"1049":{"position":[[84,9],[144,9]]}},"keywords":{}}],["lastworkerid",{"_index":2267,"title":{},"content":{"392":{"position":[[3988,12],[4165,12]]}},"keywords":{}}],["late",{"_index":3100,"title":{},"content":{"470":{"position":[[532,6]]}},"keywords":{}}],["latenc",{"_index":675,"title":{"92":{"position":[[32,8]]},"220":{"position":[[4,7]]},"415":{"position":[[0,7]]},"464":{"position":[[0,7]]},"465":{"position":[[0,7]]},"621":{"position":[[0,8]]},"629":{"position":[[5,7]]},"630":{"position":[[9,7]]},"631":{"position":[[23,7]]},"780":{"position":[[0,7]]},"1239":{"position":[[4,7]]}},"content":{"43":{"position":[[448,8]]},"46":{"position":[[304,8]]},"65":{"position":[[1014,7],[1097,7]]},"92":{"position":[[84,8]]},"173":{"position":[[2050,7],[2509,8],[2617,8]]},"216":{"position":[[163,8]]},"220":{"position":[[31,7]]},"369":{"position":[[880,8],[952,7]]},"375":{"position":[[293,8]]},"378":{"position":[[221,8]]},"408":{"position":[[2149,7],[2318,7],[2714,7],[3198,7]]},"410":{"position":[[60,7],[191,7]]},"411":{"position":[[5687,7]]},"415":{"position":[[327,7]]},"462":{"position":[[148,10],[659,8]]},"463":{"position":[[889,7],[1081,7]]},"464":{"position":[[20,7],[495,7]]},"465":{"position":[[474,8]]},"466":{"position":[[456,8]]},"467":{"position":[[533,7]]},"486":{"position":[[32,8]]},"534":{"position":[[339,7]]},"569":{"position":[[394,8]]},"594":{"position":[[337,7]]},"611":{"position":[[554,7]]},"613":{"position":[[64,7]]},"620":{"position":[[147,8],[756,8]]},"621":{"position":[[31,7],[227,7],[384,7],[663,7],[737,7]]},"630":{"position":[[143,9]]},"632":{"position":[[247,8]]},"640":{"position":[[484,7]]},"641":{"position":[[57,7],[204,8]]},"643":{"position":[[333,7]]},"644":{"position":[[399,7],[605,7]]},"699":{"position":[[480,7]]},"723":{"position":[[734,7],[2804,8]]},"778":{"position":[[222,7]]},"780":{"position":[[158,7],[321,7],[707,7],[767,7]]},"901":{"position":[[436,7]]},"902":{"position":[[9,7]]},"1093":{"position":[[350,7]]},"1123":{"position":[[80,7],[296,7]]},"1211":{"position":[[502,7]]},"1239":{"position":[[72,7],[253,7],[466,8]]},"1270":{"position":[[234,8]]}},"keywords":{}}],["latency"",{"_index":5243,"title":{},"content":{"902":{"position":[[533,13]]}},"keywords":{}}],["later",{"_index":568,"title":{},"content":{"36":{"position":[[61,5]]},"212":{"position":[[441,6]]},"314":{"position":[[117,6],[937,6]]},"334":{"position":[[153,5]]},"402":{"position":[[688,5]]},"411":{"position":[[287,5],[3385,6]]},"420":{"position":[[706,5]]},"634":{"position":[[456,5]]},"702":{"position":[[38,5]]},"710":{"position":[[2226,5]]},"774":{"position":[[256,5]]},"838":{"position":[[1644,5]]},"861":{"position":[[186,5]]},"875":{"position":[[4217,5]]},"886":{"position":[[326,5]]},"990":{"position":[[90,5]]},"998":{"position":[[51,5]]},"1006":{"position":[[310,6]]},"1083":{"position":[[66,6]]},"1104":{"position":[[810,5]]},"1105":{"position":[[1252,6]]},"1195":{"position":[[171,5]]},"1292":{"position":[[588,5]]},"1319":{"position":[[11,5]]}},"keywords":{}}],["latest",{"_index":1177,"title":{"731":{"position":[[15,6]]}},"content":{"159":{"position":[[351,6]]},"185":{"position":[[205,6]]},"289":{"position":[[1377,6]]},"339":{"position":[[148,6]]},"410":{"position":[[2219,6]]},"446":{"position":[[732,6]]},"481":{"position":[[169,6]]},"494":{"position":[[528,6]]},"496":{"position":[[338,6],[737,6]]},"636":{"position":[[419,6]]},"726":{"position":[[16,6]]},"731":{"position":[[17,6],[257,6]]},"982":{"position":[[295,6],[420,6],[527,6],[601,6],[663,6]]},"983":{"position":[[353,6],[794,6]]},"986":{"position":[[1292,6]]},"1002":{"position":[[270,6]]},"1044":{"position":[[35,6]]},"1045":{"position":[[13,6]]},"1278":{"position":[[170,6]]}},"keywords":{}}],["latestdoc",{"_index":5704,"title":{},"content":{"1045":{"position":[[191,9],[256,11]]}},"keywords":{}}],["launch",{"_index":1563,"title":{},"content":{"253":{"position":[[157,6]]},"412":{"position":[[11401,6]]},"420":{"position":[[1390,6]]},"723":{"position":[[1756,8]]}},"keywords":{}}],["lay",{"_index":3955,"title":{},"content":{"700":{"position":[[880,6]]}},"keywords":{}}],["layer",{"_index":400,"title":{"72":{"position":[[17,5]]},"112":{"position":[[17,5]]},"131":{"position":[[20,6]]},"162":{"position":[[20,6]]},"189":{"position":[[20,6]]},"239":{"position":[[17,5]]},"287":{"position":[[20,6]]},"336":{"position":[[20,6]]},"504":{"position":[[30,7]]},"524":{"position":[[20,6]]},"581":{"position":[[20,6]]}},"content":{"24":{"position":[[163,6],[573,5]]},"40":{"position":[[399,6]]},"46":{"position":[[144,6]]},"72":{"position":[[32,5]]},"112":{"position":[[32,6]]},"131":{"position":[[32,6],[257,6],[809,6],[932,5]]},"155":{"position":[[221,5]]},"162":{"position":[[31,7],[136,6],[249,5],[446,5],[601,5],[674,5]]},"174":{"position":[[2569,5],[2642,5]]},"189":{"position":[[58,7],[193,5],[426,5],[688,5]]},"239":{"position":[[34,5]]},"254":{"position":[[235,5]]},"262":{"position":[[601,6]]},"263":{"position":[[354,6]]},"287":{"position":[[96,6],[151,6],[1212,5]]},"291":{"position":[[61,5]]},"336":{"position":[[52,8]]},"369":{"position":[[1312,6],[1367,6]]},"383":{"position":[[357,5]]},"396":{"position":[[674,6],[694,6]]},"411":{"position":[[2230,6]]},"412":{"position":[[2697,7],[9813,6]]},"452":{"position":[[366,5]]},"490":{"position":[[239,5]]},"504":{"position":[[60,7]]},"524":{"position":[[30,7],[122,5],[327,6]]},"536":{"position":[[95,5]]},"551":{"position":[[163,6]]},"560":{"position":[[692,5]]},"576":{"position":[[107,5]]},"595":{"position":[[1358,5]]},"596":{"position":[[93,5]]},"630":{"position":[[924,5],[972,5]]},"640":{"position":[[16,5],[453,6]]},"662":{"position":[[894,7]]},"703":{"position":[[127,6],[621,6],[756,5],[891,5]]},"709":{"position":[[715,6],[1121,6]]},"710":{"position":[[439,5]]},"774":{"position":[[431,6]]},"802":{"position":[[166,6]]},"836":{"position":[[1523,6]]},"988":{"position":[[1972,6]]},"1090":{"position":[[249,6],[277,5],[1176,5]]},"1092":{"position":[[582,6]]},"1124":{"position":[[159,5]]},"1132":{"position":[[151,6]]},"1198":{"position":[[1193,5]]},"1236":{"position":[[15,5]]},"1305":{"position":[[740,5]]},"1316":{"position":[[3864,6]]},"1320":{"position":[[634,5],[841,5]]}},"keywords":{}}],["layers"",{"_index":3511,"title":{},"content":{"581":{"position":[[66,12]]}},"keywords":{}}],["layout",{"_index":3961,"title":{"986":{"position":[[5,6]]}},"content":{"702":{"position":[[72,7]]},"1319":{"position":[[32,6]]}},"keywords":{}}],["lazi",{"_index":2169,"title":{},"content":{"385":{"position":[[6,4]]},"724":{"position":[[1188,5]]},"1194":{"position":[[83,5]]}},"keywords":{}}],["lazili",{"_index":6007,"title":{},"content":{"1120":{"position":[[242,6]]}},"keywords":{}}],["ld1",{"_index":4312,"title":{},"content":{"749":{"position":[[13633,3]]}},"keywords":{}}],["ld2",{"_index":4314,"title":{},"content":{"749":{"position":[[13756,3]]}},"keywords":{}}],["ld3",{"_index":4316,"title":{},"content":{"749":{"position":[[13854,3]]}},"keywords":{}}],["ld4",{"_index":4317,"title":{},"content":{"749":{"position":[[13998,3]]}},"keywords":{}}],["ld5",{"_index":4318,"title":{},"content":{"749":{"position":[[14081,3]]}},"keywords":{}}],["ld6",{"_index":4319,"title":{},"content":{"749":{"position":[[14175,3]]}},"keywords":{}}],["ld7",{"_index":4321,"title":{},"content":{"749":{"position":[[14287,3]]}},"keywords":{}}],["ld8",{"_index":4322,"title":{},"content":{"749":{"position":[[14372,3]]}},"keywords":{}}],["lead",{"_index":279,"title":{},"content":{"16":{"position":[[445,4]]},"277":{"position":[[247,5]]},"407":{"position":[[385,5]]},"409":{"position":[[84,5]]},"427":{"position":[[319,7]]},"430":{"position":[[365,4],[763,4]]},"515":{"position":[[164,7]]},"521":{"position":[[197,5]]},"622":{"position":[[310,7]]},"698":{"position":[[2462,4]]},"742":{"position":[[35,7]]},"800":{"position":[[661,4]]},"801":{"position":[[534,7]]},"802":{"position":[[81,4],[767,7]]},"821":{"position":[[999,5]]},"863":{"position":[[111,7],[548,4]]},"1044":{"position":[[71,4]]},"1085":{"position":[[2327,7]]},"1126":{"position":[[300,4]]},"1174":{"position":[[421,7],[571,7],[619,7]]},"1188":{"position":[[320,4]]},"1305":{"position":[[30,5],[266,5]]},"1316":{"position":[[3286,5]]}},"keywords":{}}],["leader",{"_index":3758,"title":{"735":{"position":[[0,6]]},"738":{"position":[[8,6]]},"740":{"position":[[17,8]]}},"content":{"653":{"position":[[1330,7]]},"723":{"position":[[861,6]]},"737":{"position":[[51,6],[190,6],[207,6],[313,7],[422,7],[465,6]]},"738":{"position":[[15,6],[52,6]]},"739":{"position":[[180,7],[578,6]]},"740":{"position":[[53,6],[256,8],[348,6],[381,6],[633,6]]},"741":{"position":[[21,6]]},"743":{"position":[[5,6],[74,6]]},"793":{"position":[[1112,6]]},"974":{"position":[[70,7]]},"988":{"position":[[1330,7],[1416,7]]},"989":{"position":[[354,6]]},"1003":{"position":[[107,6],[315,8]]},"1171":{"position":[[290,6]]},"1174":{"position":[[648,6]]},"1301":{"position":[[1212,6],[1246,6],[1332,7],[1372,6],[1472,6]]}},"keywords":{}}],["leaderelect",{"_index":3650,"title":{},"content":{"617":{"position":[[2202,14]]},"1174":{"position":[[373,14]]}},"keywords":{}}],["leaderelector",{"_index":4106,"title":{},"content":{"740":{"position":[[505,13]]}},"keywords":{}}],["leaderelector.ondupl",{"_index":4108,"title":{},"content":{"740":{"position":[[575,25]]}},"keywords":{}}],["leak",{"_index":1974,"title":{},"content":{"346":{"position":[[458,6]]},"616":{"position":[[892,4]]}},"keywords":{}}],["lean",{"_index":5589,"title":{},"content":{"1009":{"position":[[621,5]]}},"keywords":{}}],["leaner",{"_index":1409,"title":{},"content":{"227":{"position":[[283,6]]}},"keywords":{}}],["leap",{"_index":2566,"title":{},"content":{"408":{"position":[[4363,4]]}},"keywords":{}}],["learn",{"_index":857,"title":{"1216":{"position":[[0,5]]}},"content":{"57":{"position":[[118,5],[464,5]]},"306":{"position":[[1,5]]},"318":{"position":[[353,5]]},"347":{"position":[[504,5]]},"362":{"position":[[1575,5]]},"390":{"position":[[266,8]]},"391":{"position":[[204,8],[994,8]]},"392":{"position":[[1991,8]]},"402":{"position":[[1777,8]]},"420":{"position":[[749,5]]},"442":{"position":[[1,5]]},"483":{"position":[[542,8],[696,5]]},"491":{"position":[[766,5],[1862,5]]},"496":{"position":[[859,5]]},"544":{"position":[[151,5]]},"548":{"position":[[1,5]]},"557":{"position":[[1,5],[88,5]]},"567":{"position":[[635,5]]},"591":{"position":[[733,5]]},"608":{"position":[[1,5]]},"644":{"position":[[357,5]]},"663":{"position":[[43,8]]},"686":{"position":[[267,5]]},"710":{"position":[[2449,5]]},"712":{"position":[[1,5]]},"776":{"position":[[77,8]]},"786":{"position":[[1,5]]},"834":{"position":[[154,5]]},"838":{"position":[[3173,5]]},"842":{"position":[[15,5],[177,8]]},"884":{"position":[[58,7]]},"889":{"position":[[1050,5]]},"899":{"position":[[28,5]]},"904":{"position":[[2436,5]]},"987":{"position":[[1088,5]]},"1065":{"position":[[28,5],[100,5],[144,5]]},"1125":{"position":[[875,5]]},"1249":{"position":[[192,7]]},"1309":{"position":[[401,5]]}},"keywords":{}}],["leav",{"_index":2515,"title":{},"content":{"405":{"position":[[174,5]]},"471":{"position":[[159,5]]},"548":{"position":[[115,5]]},"557":{"position":[[246,5]]},"608":{"position":[[115,5]]},"628":{"position":[[261,5]]},"1007":{"position":[[794,6]]},"1134":{"position":[[503,5]]}},"keywords":{}}],["led",{"_index":3902,"title":{},"content":{"689":{"position":[[436,3]]}},"keywords":{}}],["left",{"_index":2242,"title":{},"content":{"392":{"position":[[2305,4]]},"458":{"position":[[390,4]]},"696":{"position":[[1086,4]]},"1198":{"position":[[1487,4]]},"1315":{"position":[[424,4]]},"1317":{"position":[[776,4]]}},"keywords":{}}],["legitim",{"_index":3643,"title":{},"content":{"617":{"position":[[1115,10]]}},"keywords":{}}],["lend",{"_index":2604,"title":{},"content":{"410":{"position":[[1835,4]]}},"keywords":{}}],["length",{"_index":2353,"title":{"926":{"position":[[0,7]]}},"content":{"397":{"position":[[220,6]]},"749":{"position":[[12987,6]]},"863":{"position":[[163,6]]},"918":{"position":[[145,7]]},"926":{"position":[[5,6]]},"1004":{"position":[[361,7]]},"1067":{"position":[[1728,6]]},"1079":{"position":[[386,6]]},"1213":{"position":[[928,11]]}},"keywords":{}}],["less",{"_index":955,"title":{"802":{"position":[[4,4]]}},"content":{"68":{"position":[[86,4]]},"227":{"position":[[116,4]]},"299":{"position":[[911,4]]},"302":{"position":[[612,4]]},"312":{"position":[[284,4]]},"402":{"position":[[486,4],[1010,4],[1072,4],[1232,4],[1346,4],[2608,4]]},"411":{"position":[[1083,4],[1956,4]]},"427":{"position":[[367,4]]},"610":{"position":[[798,4]]},"620":{"position":[[694,4]]},"621":{"position":[[480,4]]},"622":{"position":[[279,4]]},"623":{"position":[[285,4]]},"681":{"position":[[367,4]]},"746":{"position":[[177,4]]},"816":{"position":[[228,4]]},"849":{"position":[[606,5]]},"886":{"position":[[1549,4]]},"1062":{"position":[[124,4]]},"1124":{"position":[[1794,4]]},"1162":{"position":[[696,4]]},"1181":{"position":[[784,4]]},"1192":{"position":[[771,5]]},"1208":{"position":[[552,4]]},"1297":{"position":[[132,4],[564,5]]}},"keywords":{}}],["less"",{"_index":5893,"title":{},"content":{"1085":{"position":[[830,10]]}},"keywords":{}}],["let",{"_index":891,"title":{},"content":{"61":{"position":[[468,7]]},"203":{"position":[[113,4]]},"212":{"position":[[224,4]]},"250":{"position":[[165,4]]},"301":{"position":[[363,7]]},"360":{"position":[[330,7]]},"411":{"position":[[3849,7]]},"412":{"position":[[6168,4]]},"413":{"position":[[59,4]]},"414":{"position":[[72,7]]},"421":{"position":[[772,7]]},"449":{"position":[[7,4]]},"456":{"position":[[51,4]]},"464":{"position":[[6,4],[658,7]]},"465":{"position":[[41,4]]},"466":{"position":[[15,4]]},"467":{"position":[[5,4]]},"488":{"position":[[44,4]]},"562":{"position":[[830,7],[950,7]]},"620":{"position":[[230,4],[734,4]]},"632":{"position":[[656,4]]},"642":{"position":[[127,4]]},"759":{"position":[[1,4]]},"796":{"position":[[246,4],[1175,4]]},"848":{"position":[[1,4]]},"885":{"position":[[130,4],[316,4]]},"1147":{"position":[[215,7]]},"1237":{"position":[[1,4]]},"1294":{"position":[[253,4]]},"1309":{"position":[[341,4]]},"1316":{"position":[[691,4]]}},"keywords":{}}],["let'",{"_index":902,"title":{},"content":{"65":{"position":[[69,5]]},"119":{"position":[[33,5]]},"127":{"position":[[65,5]]},"132":{"position":[[172,5]]},"151":{"position":[[43,5]]},"173":{"position":[[205,5]]},"174":{"position":[[115,5]]},"180":{"position":[[66,5]]},"187":{"position":[[51,5]]},"190":{"position":[[118,5]]},"193":{"position":[[105,5]]},"229":{"position":[[157,5]]},"271":{"position":[[245,5]]},"278":{"position":[[170,5]]},"284":{"position":[[112,5]]},"287":{"position":[[282,5]]},"290":{"position":[[150,5]]},"369":{"position":[[12,5]]},"394":{"position":[[106,5]]},"399":{"position":[[511,5]]},"401":{"position":[[1,5]]},"412":{"position":[[166,5]]},"425":{"position":[[1,5]]},"462":{"position":[[62,5]]},"577":{"position":[[1,5]]},"703":{"position":[[207,5]]},"1315":{"position":[[166,5]]}},"keywords":{}}],["level",{"_index":659,"title":{"982":{"position":[[32,6]]},"983":{"position":[[32,6]]},"1090":{"position":[[44,6]]}},"content":{"42":{"position":[[124,5]]},"45":{"position":[[20,5]]},"52":{"position":[[142,5]]},"61":{"position":[[448,5]]},"114":{"position":[[701,5]]},"131":{"position":[[283,5]]},"140":{"position":[[101,6]]},"181":{"position":[[74,5]]},"235":{"position":[[94,5]]},"291":{"position":[[318,5]]},"331":{"position":[[297,5]]},"344":{"position":[[83,6]]},"354":{"position":[[1519,6]]},"377":{"position":[[296,5]]},"408":{"position":[[3530,5]]},"452":{"position":[[97,5]]},"479":{"position":[[240,5]]},"501":{"position":[[433,6]]},"521":{"position":[[69,6]]},"533":{"position":[[20,5]]},"535":{"position":[[276,6]]},"539":{"position":[[142,5]]},"548":{"position":[[292,5]]},"560":{"position":[[200,6]]},"566":{"position":[[89,6],[340,5],[1371,5]]},"593":{"position":[[20,5]]},"595":{"position":[[289,6]]},"599":{"position":[[151,5]]},"608":{"position":[[290,5]]},"749":{"position":[[2483,5],[17351,5],[17467,5],[17547,5],[18336,5],[19515,5],[21817,6]]},"764":{"position":[[80,5]]},"838":{"position":[[865,5]]},"841":{"position":[[410,5]]},"849":{"position":[[226,5],[382,5]]},"861":{"position":[[2307,6]]},"871":{"position":[[829,5]]},"897":{"position":[[497,5]]},"898":{"position":[[1757,5]]},"899":{"position":[[186,5],[251,5]]},"932":{"position":[[1171,5]]},"982":{"position":[[19,6]]},"1079":{"position":[[65,5]]},"1082":{"position":[[46,5]]},"1084":{"position":[[588,5]]},"1085":{"position":[[862,5],[969,5],[1681,5],[1750,5],[1791,5],[2001,6],[2034,5],[2230,5],[2422,5]]},"1108":{"position":[[607,5]]},"1117":{"position":[[242,5]]},"1125":{"position":[[373,6]]},"1206":{"position":[[377,5]]},"1209":{"position":[[57,5]]},"1222":{"position":[[1101,6]]},"1237":{"position":[[293,5]]},"1250":{"position":[[533,5]]},"1253":{"position":[[60,6]]},"1258":{"position":[[98,5]]}},"keywords":{}}],["level"",{"_index":725,"title":{},"content":{"47":{"position":[[298,11]]}},"keywords":{}}],["leveldb",{"_index":43,"title":{},"content":{"2":{"position":[[159,7],[214,11],[257,7]]},"6":{"position":[[21,7],[318,7],[373,11],[416,7]]},"7":{"position":[[116,7]]},"10":{"position":[[147,11],[190,7]]},"254":{"position":[[355,7]]},"1320":{"position":[[796,7]]}},"keywords":{}}],["leveldown",{"_index":42,"title":{"6":{"position":[[0,10]]}},"content":{"2":{"position":[[61,9],[229,9],[426,9]]},"6":{"position":[[270,9],[388,9],[445,9],[591,9],[789,9]]},"10":{"position":[[3,9],[162,9],[387,9]]},"749":{"position":[[581,9]]}},"keywords":{}}],["leverag",{"_index":937,"title":{},"content":{"65":{"position":[[2027,8]]},"83":{"position":[[429,8]]},"84":{"position":[[32,8]]},"87":{"position":[[4,10]]},"93":{"position":[[152,8]]},"94":{"position":[[177,8]]},"96":{"position":[[199,10]]},"100":{"position":[[237,8]]},"105":{"position":[[183,8]]},"114":{"position":[[32,8],[603,10]]},"120":{"position":[[151,9]]},"121":{"position":[[68,9]]},"124":{"position":[[185,10]]},"136":{"position":[[36,10]]},"146":{"position":[[117,10]]},"149":{"position":[[32,8]]},"151":{"position":[[116,8]]},"155":{"position":[[50,9]]},"165":{"position":[[289,10]]},"173":{"position":[[905,10],[2377,8]]},"174":{"position":[[195,9],[1345,9]]},"175":{"position":[[29,8]]},"182":{"position":[[68,9]]},"196":{"position":[[81,10]]},"198":{"position":[[326,8]]},"215":{"position":[[92,10]]},"222":{"position":[[294,8]]},"224":{"position":[[89,10]]},"227":{"position":[[211,8]]},"230":{"position":[[190,8]]},"232":{"position":[[147,8]]},"239":{"position":[[269,8]]},"241":{"position":[[208,10]]},"265":{"position":[[90,8]]},"267":{"position":[[1301,8]]},"286":{"position":[[260,8]]},"287":{"position":[[462,10]]},"322":{"position":[[69,9]]},"347":{"position":[[32,8]]},"373":{"position":[[208,10]]},"382":{"position":[[51,9]]},"384":{"position":[[219,8]]},"385":{"position":[[170,10]]},"398":{"position":[[395,8]]},"418":{"position":[[747,10]]},"425":{"position":[[73,8]]},"445":{"position":[[827,9],[1401,10],[1842,8]]},"447":{"position":[[327,10]]},"502":{"position":[[717,10]]},"504":{"position":[[93,10],[891,10]]},"511":{"position":[[32,8]]},"523":{"position":[[115,8]]},"531":{"position":[[32,8]]},"548":{"position":[[157,10]]},"556":{"position":[[1140,9]]},"557":{"position":[[368,10]]},"574":{"position":[[443,10]]},"584":{"position":[[53,10]]},"591":{"position":[[32,8]]},"608":{"position":[[157,10]]},"613":{"position":[[122,9]]},"614":{"position":[[608,9]]},"621":{"position":[[795,10]]},"624":{"position":[[203,10]]},"643":{"position":[[115,10]]},"801":{"position":[[811,10]]},"1072":{"position":[[2828,8]]},"1270":{"position":[[325,8]]}},"keywords":{}}],["li",{"_index":1678,"title":{},"content":{"289":{"position":[[49,4]]},"501":{"position":[[22,4]]}},"keywords":{}}],["lib/main.dart",{"_index":1273,"title":{},"content":{"188":{"position":[[2513,13]]}},"keywords":{}}],["librari",{"_index":110,"title":{"478":{"position":[[56,8]]},"1273":{"position":[[49,10]]}},"content":{"8":{"position":[[326,8]]},"11":{"position":[[1059,9]]},"13":{"position":[[178,8]]},"15":{"position":[[111,7]]},"18":{"position":[[44,9]]},"19":{"position":[[33,7]]},"21":{"position":[[28,7]]},"30":{"position":[[24,7]]},"34":{"position":[[61,8]]},"35":{"position":[[37,7]]},"37":{"position":[[187,9]]},"40":{"position":[[58,7]]},"47":{"position":[[338,7]]},"96":{"position":[[110,9]]},"120":{"position":[[170,7]]},"129":{"position":[[340,7]]},"167":{"position":[[289,10]]},"173":{"position":[[3071,9]]},"174":{"position":[[1438,10]]},"188":{"position":[[111,7],[2408,7]]},"219":{"position":[[75,9],[248,10]]},"230":{"position":[[156,10]]},"285":{"position":[[79,7]]},"303":{"position":[[281,7]]},"317":{"position":[[295,8]]},"357":{"position":[[364,7]]},"387":{"position":[[354,10]]},"411":{"position":[[1989,9]]},"412":{"position":[[1086,9],[2146,7],[3804,9],[9221,8],[9954,8],[11745,9],[14432,9]]},"420":{"position":[[80,9],[167,7],[291,7],[438,10]]},"432":{"position":[[1032,9],[1074,9]]},"433":{"position":[[439,7]]},"441":{"position":[[426,9]]},"452":{"position":[[382,9]]},"453":{"position":[[506,7]]},"454":{"position":[[256,9]]},"478":{"position":[[288,9]]},"520":{"position":[[357,9]]},"535":{"position":[[296,7],[491,9]]},"551":{"position":[[287,9],[433,9]]},"595":{"position":[[309,7],[511,9]]},"611":{"position":[[1296,7]]},"613":{"position":[[1028,9]]},"616":{"position":[[1047,7],[1138,7]]},"678":{"position":[[192,8]]},"686":{"position":[[24,9]]},"698":{"position":[[3078,7]]},"723":{"position":[[67,8]]},"785":{"position":[[281,9]]},"836":{"position":[[281,7],[462,7],[581,7]]},"872":{"position":[[81,9]]},"894":{"position":[[19,8]]},"904":{"position":[[1744,7],[2422,8],[2829,7],[2975,7]]},"910":{"position":[[332,9]]},"1041":{"position":[[75,8]]},"1112":{"position":[[543,9]]},"1120":{"position":[[84,10],[199,9],[744,10]]},"1247":{"position":[[222,8]]},"1272":{"position":[[18,9],[104,7],[285,9],[450,7]]},"1276":{"position":[[636,7]]},"1277":{"position":[[699,7]]},"1282":{"position":[[355,9]]},"1292":{"position":[[776,7]]},"1299":{"position":[[461,9]]}},"keywords":{}}],["libraries.bridg",{"_index":4776,"title":{},"content":{"836":{"position":[[1533,18]]}},"keywords":{}}],["librariesfor",{"_index":3338,"title":{},"content":{"551":{"position":[[221,12]]}},"keywords":{}}],["library"",{"_index":1494,"title":{},"content":{"244":{"position":[[584,13]]}},"keywords":{}}],["libraryth",{"_index":4021,"title":{},"content":{"717":{"position":[[138,10]]}},"keywords":{}}],["libspersist",{"_index":3405,"title":{},"content":{"559":{"position":[[926,14]]}},"keywords":{}}],["licens",{"_index":684,"title":{},"content":{"43":{"position":[[619,7]]},"1112":{"position":[[273,7],[379,8]]}},"keywords":{}}],["lie",{"_index":3947,"title":{"699":{"position":[[14,4]]}},"content":{"781":{"position":[[15,3],[47,3]]}},"keywords":{}}],["lifecycl",{"_index":1092,"title":{},"content":{"130":{"position":[[116,9]]},"143":{"position":[[228,10]]},"590":{"position":[[441,9]]},"767":{"position":[[63,10]]},"768":{"position":[[52,10]]},"769":{"position":[[57,10]]},"899":{"position":[[56,9]]}},"keywords":{}}],["lift",{"_index":2947,"title":{},"content":{"446":{"position":[[1039,7]]}},"keywords":{}}],["light",{"_index":2546,"title":{},"content":{"408":{"position":[[2382,5]]},"501":{"position":[[265,5]]},"780":{"position":[[423,5]]}},"keywords":{}}],["lighten",{"_index":3518,"title":{},"content":{"582":{"position":[[693,7]]}},"keywords":{}}],["lightn",{"_index":2124,"title":{},"content":{"369":{"position":[[256,9]]},"500":{"position":[[208,9]]},"562":{"position":[[611,11]]}},"keywords":{}}],["lightweight",{"_index":535,"title":{},"content":{"34":{"position":[[330,12]]},"365":{"position":[[172,11]]},"412":{"position":[[1974,12]]},"441":{"position":[[84,11]]},"574":{"position":[[25,11]]},"659":{"position":[[101,11]]}},"keywords":{}}],["like"",{"_index":3190,"title":{},"content":{"496":{"position":[[153,11]]},"981":{"position":[[193,10]]}},"keywords":{}}],["likeerror",{"_index":5901,"title":{},"content":{"1085":{"position":[[2808,10]]}},"keywords":{}}],["likelihood",{"_index":3207,"title":{},"content":{"497":{"position":[[568,10]]}},"keywords":{}}],["likes."",{"_index":3198,"title":{},"content":{"497":{"position":[[69,13]]}},"keywords":{}}],["liketestdata",{"_index":4715,"title":{},"content":{"821":{"position":[[570,13]]}},"keywords":{}}],["likewis",{"_index":1764,"title":{},"content":{"299":{"position":[[1481,9]]}},"keywords":{}}],["limit",{"_index":703,"title":{"58":{"position":[[0,11]]},"66":{"position":[[16,12]]},"252":{"position":[[6,6]]},"297":{"position":[[27,5]]},"298":{"position":[[28,6]]},"299":{"position":[[27,7]]},"302":{"position":[[21,6]]},"303":{"position":[[34,11]]},"305":{"position":[[16,5]]},"406":{"position":[[56,11]]},"412":{"position":[[15,11]]},"417":{"position":[[27,7]]},"427":{"position":[[18,11]]},"461":{"position":[[13,7]]},"545":{"position":[[0,11]]},"605":{"position":[[0,11]]},"615":{"position":[[0,11]]},"617":{"position":[[22,6]]},"650":{"position":[[0,12]]},"849":{"position":[[0,12]]},"863":{"position":[[0,11]]},"1141":{"position":[[0,11]]},"1157":{"position":[[0,12]]},"1186":{"position":[[11,6]]},"1188":{"position":[[0,11]]},"1207":{"position":[[5,12]]},"1232":{"position":[[0,12]]}},"content":{"46":{"position":[[63,7]]},"47":{"position":[[536,7]]},"58":{"position":[[238,7],[343,6]]},"63":{"position":[[181,12]]},"66":{"position":[[118,12],[399,12],[496,10]]},"83":{"position":[[271,11]]},"169":{"position":[[299,7]]},"205":{"position":[[53,7]]},"215":{"position":[[346,7]]},"225":{"position":[[63,11]]},"229":{"position":[[68,11]]},"232":{"position":[[305,7]]},"252":{"position":[[29,7],[86,7]]},"287":{"position":[[14,5]]},"289":{"position":[[1865,7]]},"298":{"position":[[874,6]]},"299":{"position":[[154,6],[227,5],[661,5],[1185,6],[1506,5]]},"300":{"position":[[59,7]]},"301":{"position":[[408,5],[479,7]]},"303":{"position":[[1313,12]]},"305":{"position":[[297,7]]},"306":{"position":[[348,5]]},"366":{"position":[[546,10]]},"398":{"position":[[1151,6],[1312,6],[2933,5]]},"402":{"position":[[2377,6]]},"407":{"position":[[836,7]]},"408":{"position":[[189,7],[274,11],[363,6],[705,6],[842,7],[2407,11],[2633,6],[2722,5],[3756,10]]},"410":{"position":[[538,5]]},"412":{"position":[[6675,7],[7034,5],[7676,13]]},"427":{"position":[[63,11],[471,7],[1032,10],[1461,6],[1504,5]]},"432":{"position":[[311,5]]},"434":{"position":[[125,12]]},"436":{"position":[[345,7]]},"441":{"position":[[562,11]]},"444":{"position":[[225,7]]},"451":{"position":[[390,7]]},"459":{"position":[[1012,10]]},"461":{"position":[[13,7],[136,10],[196,6],[638,10],[775,5],[956,10],[1074,5],[1261,5],[1443,6],[1518,10],[1547,5]]},"495":{"position":[[739,7],[793,7]]},"504":{"position":[[1498,8]]},"528":{"position":[[188,7]]},"535":{"position":[[428,5]]},"545":{"position":[[51,12],[159,7],[183,6],[243,6]]},"559":{"position":[[1058,12]]},"560":{"position":[[36,7]]},"595":{"position":[[456,5]]},"605":{"position":[[51,12],[159,7],[183,6],[243,7]]},"613":{"position":[[825,6]]},"617":{"position":[[64,6],[139,10],[325,10],[516,5],[1155,10],[1470,6],[1599,5]]},"624":{"position":[[1059,6],[1651,12]]},"696":{"position":[[328,5],[742,5],[963,5],[1808,6]]},"703":{"position":[[1672,5]]},"704":{"position":[[464,6]]},"714":{"position":[[436,10]]},"724":{"position":[[1846,6]]},"749":{"position":[[2886,5],[9314,7],[9394,6],[23371,7],[23503,7]]},"773":{"position":[[669,5],[780,5],[851,5]]},"774":{"position":[[966,7]]},"780":{"position":[[42,8],[177,8]]},"786":{"position":[[203,11]]},"796":{"position":[[370,6],[666,6],[1086,6]]},"839":{"position":[[648,7]]},"841":{"position":[[467,7],[1098,8]]},"845":{"position":[[104,7]]},"849":{"position":[[92,10],[205,10],[323,6],[353,10],[847,5]]},"885":{"position":[[880,6],[2654,8]]},"886":{"position":[[148,5],[401,6],[621,7],[672,6],[679,7],[836,5],[1701,5]]},"958":{"position":[[488,5],[607,7],[637,6]]},"1007":{"position":[[1496,6]]},"1067":{"position":[[345,7]]},"1072":{"position":[[166,7],[1837,10]]},"1157":{"position":[[92,7],[133,5],[192,6],[389,12]]},"1191":{"position":[[133,6]]},"1207":{"position":[[621,5]]},"1271":{"position":[[409,7]]},"1295":{"position":[[1437,5]]},"1318":{"position":[[774,5]]},"1321":{"position":[[11,7]]}},"keywords":{}}],["limit"",{"_index":1463,"title":{},"content":{"243":{"position":[[567,11],[668,11]]}},"keywords":{}}],["limit(parseint(req.query.batchs",{"_index":4997,"title":{},"content":{"875":{"position":[[2563,36]]}},"keywords":{}}],["limit.html",{"_index":1472,"title":{},"content":{"243":{"position":[[931,10]]}},"keywords":{}}],["limit.htmlx",{"_index":1467,"title":{},"content":{"243":{"position":[[634,11],[735,11],[834,11]]}},"keywords":{}}],["limiteddoc",{"_index":5107,"title":{},"content":{"885":{"position":[[2355,11],[2606,12]]}},"keywords":{}}],["limiteddocs[limiteddocs.length",{"_index":5111,"title":{},"content":{"885":{"position":[[2478,30]]}},"keywords":{}}],["limits"",{"_index":1470,"title":{},"content":{"243":{"position":[[863,12]]}},"keywords":{}}],["line",{"_index":1566,"title":{},"content":{"254":{"position":[[196,4]]},"612":{"position":[[567,4],[2046,5]]},"838":{"position":[[1714,5]]}},"keywords":{}}],["linearli",{"_index":5241,"title":{},"content":{"902":{"position":[[267,8]]}},"keywords":{}}],["linebreak",{"_index":4289,"title":{},"content":{"749":{"position":[[11717,9]]}},"keywords":{}}],["link",{"_index":109,"title":{},"content":{"8":{"position":[[317,4],[349,4]]},"11":{"position":[[421,5]]},"50":{"position":[[359,5]]},"212":{"position":[[617,4]]},"408":{"position":[[2439,6]]},"670":{"position":[[121,4]]},"724":{"position":[[1417,5],[1723,5]]},"846":{"position":[[954,5]]},"901":{"position":[[384,6]]},"1189":{"position":[[507,5]]},"1201":{"position":[[295,5]]},"1226":{"position":[[476,5]]},"1264":{"position":[[379,5]]},"1274":{"position":[[216,5]]},"1276":{"position":[[672,5]]},"1324":{"position":[[1071,5]]}},"keywords":{}}],["linkedin",{"_index":4631,"title":{},"content":{"793":{"position":[[1504,8]]}},"keywords":{}}],["lirst",{"_index":658,"title":{},"content":{"42":{"position":[[47,5]]}},"keywords":{}}],["list",{"_index":188,"title":{"763":{"position":[[0,5]]},"1240":{"position":[[30,5]]}},"content":{"13":{"position":[[97,4],[203,4]]},"188":{"position":[[3110,4]]},"335":{"position":[[333,4],[952,4]]},"395":{"position":[[469,5]]},"401":{"position":[[123,5]]},"404":{"position":[[795,4]]},"412":{"position":[[369,4],[14896,4]]},"422":{"position":[[67,4]]},"459":{"position":[[212,4]]},"469":{"position":[[127,4]]},"493":{"position":[[506,4]]},"571":{"position":[[1058,4]]},"663":{"position":[[112,4]]},"712":{"position":[[131,4]]},"717":{"position":[[1383,4]]},"776":{"position":[[138,4]]},"805":{"position":[[230,4]]},"806":{"position":[[153,4],[399,4]]},"824":{"position":[[280,4]]},"825":{"position":[[718,6]]},"842":{"position":[[246,4]]},"885":{"position":[[183,4],[1082,4],[1162,5]]},"951":{"position":[[542,4]]},"962":{"position":[[565,4]]},"1119":{"position":[[61,4]]},"1316":{"position":[[1598,4]]},"1321":{"position":[[674,4]]}},"keywords":{}}],["list</h2>",{"_index":3314,"title":{},"content":{"541":{"position":[[560,15]]},"601":{"position":[[121,15]]},"602":{"position":[[427,15]]}},"keywords":{}}],["list<rxdocument<rxherodoctype>>",{"_index":1289,"title":{},"content":{"188":{"position":[[3138,43]]}},"keywords":{}}],["listen",{"_index":1125,"title":{},"content":{"140":{"position":[[49,6]]},"168":{"position":[[156,6]]},"204":{"position":[[60,8]]},"344":{"position":[[23,6]]},"392":{"position":[[3344,7],[4300,8],[4416,10],[4467,10]]},"612":{"position":[[833,9]]},"649":{"position":[[9,6]]},"655":{"position":[[229,9]]},"698":{"position":[[1004,9]]},"875":{"position":[[1241,9]]},"1150":{"position":[[511,9]]}},"keywords":{}}],["live",{"_index":735,"title":{"53":{"position":[[21,4]]},"540":{"position":[[21,4]]},"600":{"position":[[21,4]]},"648":{"position":[[0,4]]},"741":{"position":[[0,4]]},"905":{"position":[[0,4]]}},"content":{"47":{"position":[[750,4]]},"152":{"position":[[57,6]]},"209":{"position":[[1251,5]]},"255":{"position":[[1553,5]]},"261":{"position":[[1012,4]]},"318":{"position":[[111,4]]},"356":{"position":[[824,4]]},"407":{"position":[[56,5]]},"410":{"position":[[1912,5]]},"411":{"position":[[3114,4]]},"421":{"position":[[282,4]]},"445":{"position":[[968,4]]},"450":{"position":[[231,4]]},"476":{"position":[[322,4]]},"479":{"position":[[62,5]]},"481":{"position":[[813,5]]},"493":{"position":[[374,4]]},"498":{"position":[[252,4]]},"502":{"position":[[648,4]]},"529":{"position":[[239,4]]},"540":{"position":[[131,4]]},"541":{"position":[[152,4]]},"570":{"position":[[767,4]]},"601":{"position":[[57,4]]},"611":{"position":[[76,5],[299,4]]},"612":{"position":[[232,4]]},"613":{"position":[[463,4]]},"624":{"position":[[588,4],[820,4]]},"626":{"position":[[261,4]]},"632":{"position":[[271,4],[2583,5]]},"647":{"position":[[222,5]]},"648":{"position":[[6,5],[124,5],[161,5]]},"649":{"position":[[116,5]]},"736":{"position":[[153,4]]},"739":{"position":[[529,5]]},"749":{"position":[[14859,5]]},"775":{"position":[[360,4]]},"829":{"position":[[2927,4],[2960,4]]},"846":{"position":[[333,4],[407,5]]},"854":{"position":[[1022,4],[1073,5]]},"860":{"position":[[625,4]]},"862":{"position":[[1508,6]]},"866":{"position":[[838,5]]},"871":{"position":[[457,4]]},"872":{"position":[[2628,5],[4582,5]]},"878":{"position":[[557,5]]},"886":{"position":[[1974,5]]},"897":{"position":[[318,4]]},"898":{"position":[[3446,5]]},"903":{"position":[[253,4]]},"905":{"position":[[34,4],[185,5]]},"988":{"position":[[686,5],[848,5]]},"1000":{"position":[[66,4]]},"1039":{"position":[[154,4]]},"1150":{"position":[[255,4]]},"1324":{"position":[[833,6]]}},"keywords":{}}],["live=tru",{"_index":5472,"title":{},"content":{"988":{"position":[[4819,9]]}},"keywords":{}}],["livequeri",{"_index":2631,"title":{"1150":{"position":[[0,9]]}},"content":{"411":{"position":[[3838,10]]},"1150":{"position":[[34,9]]}},"keywords":{}}],["load",{"_index":149,"title":{"474":{"position":[[8,7]]},"477":{"position":[[18,5]]},"623":{"position":[[23,5]]},"778":{"position":[[21,7]]},"799":{"position":[[29,5]]},"1089":{"position":[[30,5]]},"1238":{"position":[[11,5]]}},"content":{"11":{"position":[[267,6],[411,7]]},"46":{"position":[[381,7],[601,4]]},"65":{"position":[[1383,4]]},"69":{"position":[[97,4]]},"227":{"position":[[408,7]]},"266":{"position":[[1039,4]]},"283":{"position":[[272,7]]},"315":{"position":[[1107,7]]},"385":{"position":[[11,7]]},"400":{"position":[[694,7]]},"408":{"position":[[5532,5]]},"410":{"position":[[328,7]]},"411":{"position":[[16,5],[814,5],[1035,4]]},"412":{"position":[[6656,4]]},"415":{"position":[[361,7]]},"421":{"position":[[618,7],[1135,7]]},"454":{"position":[[763,5]]},"474":{"position":[[73,7]]},"483":{"position":[[409,7],[865,5]]},"486":{"position":[[4,7]]},"487":{"position":[[159,5]]},"500":{"position":[[200,4],[539,7]]},"523":{"position":[[600,13]]},"524":{"position":[[868,6]]},"534":{"position":[[354,7],[604,4]]},"582":{"position":[[708,4]]},"594":{"position":[[352,7],[602,4]]},"610":{"position":[[729,5]]},"620":{"position":[[175,5]]},"623":{"position":[[99,5],[503,4],[751,4]]},"630":{"position":[[756,5]]},"653":{"position":[[664,5]]},"656":{"position":[[331,4]]},"696":{"position":[[48,6],[122,4],[187,4]]},"752":{"position":[[331,7]]},"753":{"position":[[184,7]]},"772":{"position":[[1998,4]]},"774":{"position":[[167,4]]},"778":{"position":[[277,7],[426,7],[486,7]]},"780":{"position":[[77,7]]},"781":{"position":[[127,6]]},"782":{"position":[[120,5]]},"783":{"position":[[132,4],[503,7],[588,7],[623,7]]},"784":{"position":[[789,4]]},"785":{"position":[[131,6]]},"800":{"position":[[730,6]]},"802":{"position":[[880,4]]},"829":{"position":[[1626,7],[2502,7],[2536,9],[3214,7],[3417,7],[3455,9]]},"860":{"position":[[941,5]]},"958":{"position":[[151,4]]},"995":{"position":[[732,7],[1798,7]]},"1088":{"position":[[739,4]]},"1089":{"position":[[255,4]]},"1095":{"position":[[215,4]]},"1161":{"position":[[115,4],[131,4]]},"1162":{"position":[[595,4]]},"1164":{"position":[[388,5]]},"1170":{"position":[[93,4],[114,5],[248,4]]},"1174":{"position":[[121,5]]},"1175":{"position":[[196,5],[313,4],[565,4],[668,4]]},"1180":{"position":[[115,4],[131,4]]},"1181":{"position":[[621,7],[683,4]]},"1186":{"position":[[120,4]]},"1192":{"position":[[431,7],[478,4]]},"1238":{"position":[[360,5]]},"1239":{"position":[[328,6]]},"1246":{"position":[[198,4],[518,4],[1814,4]]},"1267":{"position":[[372,5]]},"1271":{"position":[[649,4]]},"1295":{"position":[[324,4],[469,4],[1491,4]]},"1299":{"position":[[137,6],[180,5]]},"1301":{"position":[[1432,4]]}},"keywords":{}}],["loader",{"_index":6318,"title":{},"content":{"1266":{"position":[[794,7],[809,8]]}},"keywords":{}}],["local",{"_index":185,"title":{"90":{"position":[[47,5]]},"92":{"position":[[16,7]]},"95":{"position":[[6,5]]},"96":{"position":[[8,5]]},"139":{"position":[[14,5]]},"167":{"position":[[14,5]]},"195":{"position":[[14,5]]},"205":{"position":[[12,5]]},"218":{"position":[[24,5]]},"219":{"position":[[0,5]]},"220":{"position":[[12,5]]},"221":{"position":[[36,5]]},"274":{"position":[[0,5]]},"307":{"position":[[7,5]]},"343":{"position":[[14,5]]},"374":{"position":[[10,5],[50,5]]},"375":{"position":[[13,5]]},"389":{"position":[[0,5]]},"391":{"position":[[22,7]]},"404":{"position":[[32,5]]},"406":{"position":[[4,5]]},"407":{"position":[[12,5]]},"408":{"position":[[4,5]]},"409":{"position":[[27,5]]},"412":{"position":[[30,5]]},"413":{"position":[[0,5]]},"419":{"position":[[18,5]]},"420":{"position":[[23,5]]},"421":{"position":[[4,5]]},"425":{"position":[[10,5]]},"427":{"position":[[33,5]]},"489":{"position":[[0,5]]},"506":{"position":[[14,5]]},"516":{"position":[[0,5]]},"586":{"position":[[14,5]]},"629":{"position":[[13,5]]},"630":{"position":[[24,5]]},"631":{"position":[[31,5]]},"634":{"position":[[17,5]]},"695":{"position":[[13,5]]},"713":{"position":[[13,5]]},"723":{"position":[[20,5]]},"777":{"position":[[0,5]]},"980":{"position":[[32,5]]},"1009":{"position":[[18,5]]},"1011":{"position":[[0,5]]},"1012":{"position":[[8,5]]},"1307":{"position":[[0,5]]}},"content":{"13":{"position":[[37,5]]},"19":{"position":[[438,5]]},"34":{"position":[[19,5]]},"35":{"position":[[332,7]]},"38":{"position":[[82,5],[169,5],[220,5]]},"39":{"position":[[119,7]]},"40":{"position":[[419,5]]},"41":{"position":[[222,5]]},"42":{"position":[[41,5]]},"43":{"position":[[55,5]]},"46":{"position":[[130,5],[265,5],[564,5]]},"47":{"position":[[414,5]]},"57":{"position":[[24,5],[83,5]]},"58":{"position":[[329,5]]},"59":{"position":[[275,8]]},"61":{"position":[[298,5]]},"65":{"position":[[820,7],[879,5],[1052,7],[1536,5]]},"66":{"position":[[482,8]]},"87":{"position":[[106,7]]},"90":{"position":[[8,5],[114,5]]},"91":{"position":[[92,7]]},"92":{"position":[[58,8]]},"93":{"position":[[165,5]]},"95":{"position":[[155,5]]},"96":{"position":[[13,5]]},"122":{"position":[[169,7]]},"133":{"position":[[163,7]]},"139":{"position":[[47,5]]},"157":{"position":[[161,7]]},"164":{"position":[[153,8]]},"167":{"position":[[85,5]]},"172":{"position":[[305,7]]},"173":{"position":[[69,5],[890,5],[916,5],[1145,5],[1231,5],[1334,7],[1682,8],[1901,5],[1966,7],[2493,7],[2566,7],[2984,5],[3138,5]]},"183":{"position":[[178,7]]},"188":{"position":[[2209,5]]},"189":{"position":[[80,8]]},"195":{"position":[[66,5]]},"201":{"position":[[308,8],[398,5]]},"204":{"position":[[182,8]]},"205":{"position":[[162,5],[363,8]]},"206":{"position":[[115,5]]},"208":{"position":[[206,5]]},"209":{"position":[[757,5]]},"211":{"position":[[47,5]]},"212":{"position":[[254,8],[320,7]]},"215":{"position":[[162,8]]},"216":{"position":[[100,8]]},"217":{"position":[[111,8]]},"218":{"position":[[107,5]]},"219":{"position":[[120,5]]},"220":{"position":[[176,8]]},"221":{"position":[[94,7]]},"224":{"position":[[230,8]]},"243":{"position":[[443,5]]},"244":{"position":[[46,5],[1507,5]]},"248":{"position":[[112,8],[272,5]]},"251":{"position":[[73,7],[94,5]]},"252":{"position":[[138,8]]},"254":{"position":[[490,5]]},"255":{"position":[[159,5]]},"260":{"position":[[179,5]]},"261":{"position":[[1095,5]]},"262":{"position":[[86,5],[258,6]]},"263":{"position":[[285,5],[488,5]]},"266":{"position":[[165,7]]},"273":{"position":[[60,5]]},"274":{"position":[[5,5],[98,7]]},"280":{"position":[[151,5]]},"292":{"position":[[148,7]]},"293":{"position":[[247,5]]},"305":{"position":[[596,5]]},"309":{"position":[[152,7]]},"315":{"position":[[11,5]]},"318":{"position":[[213,5],[650,5]]},"320":{"position":[[369,7]]},"321":{"position":[[81,7]]},"322":{"position":[[191,8]]},"338":{"position":[[86,8]]},"358":{"position":[[117,5]]},"360":{"position":[[1,5],[386,7],[564,8]]},"362":{"position":[[767,5]]},"365":{"position":[[116,5],[498,5]]},"375":{"position":[[1,5],[345,5],[710,5],[791,7],[845,5]]},"376":{"position":[[38,5],[627,5]]},"377":{"position":[[151,5]]},"388":{"position":[[150,5],[504,5]]},"391":{"position":[[31,5],[938,8]]},"392":{"position":[[2978,7]]},"396":{"position":[[96,8],[1476,5],[1819,8]]},"398":{"position":[[3463,5]]},"399":{"position":[[108,5],[373,5]]},"402":{"position":[[72,5]]},"407":{"position":[[4,5],[197,5],[526,5],[640,5],[875,5],[987,5]]},"408":{"position":[[14,5],[141,5],[215,5],[1317,7],[1422,5],[1789,5],[2665,5],[3262,5],[4183,5],[4265,5],[4321,5],[4433,5],[5420,5]]},"409":{"position":[[163,5]]},"410":{"position":[[36,5],[149,5],[223,5],[446,5],[526,7],[1295,5],[1374,7],[1799,5],[1923,5],[1982,6],[2136,5]]},"411":{"position":[[30,5],[1121,5],[1423,5],[1895,5],[2172,5],[2542,5],[2575,5],[2766,7],[2948,5],[3760,5],[4291,5],[4427,5],[4559,5],[4903,5],[5442,5],[5771,5]]},"412":{"position":[[153,5],[289,5],[425,5],[581,5],[2656,5],[3213,5],[4311,5],[5210,5],[5630,5],[6582,5],[6683,5],[6920,5],[7209,5],[7359,5],[7401,5],[7534,9],[7554,5],[8161,5],[8227,5],[8274,5],[8424,5],[8624,5],[8965,5],[9491,5],[9723,5],[10870,5],[11177,5],[11259,5],[11718,5],[12226,5],[13264,5],[14203,5],[14750,5],[14790,5],[14928,5],[15088,5],[15399,5]]},"413":{"position":[[46,5]]},"414":{"position":[[1,5],[48,7]]},"415":{"position":[[1,5]]},"416":{"position":[[1,5],[144,7]]},"417":{"position":[[1,5]]},"418":{"position":[[1,5],[707,5],[827,5]]},"419":{"position":[[483,8],[811,7],[913,5],[1455,5],[1678,5],[1809,8]]},"420":{"position":[[94,5],[215,5],[341,5],[426,5],[538,5],[666,5],[1141,5],[1549,5]]},"421":{"position":[[526,5],[708,5],[1194,5]]},"422":{"position":[[147,5],[308,5],[350,5],[421,5]]},"440":{"position":[[140,7],[358,7]]},"444":{"position":[[428,5],[810,5]]},"445":{"position":[[560,8]]},"473":{"position":[[18,5]]},"475":{"position":[[108,5]]},"476":{"position":[[141,5],[275,5]]},"477":{"position":[[198,5]]},"478":{"position":[[210,5]]},"480":{"position":[[328,5]]},"481":{"position":[[37,5],[114,5],[784,5]]},"482":{"position":[[1,5]]},"483":{"position":[[230,5],[499,6],[797,5]]},"487":{"position":[[185,7]]},"489":{"position":[[3,5],[95,8],[457,5],[493,5],[631,8]]},"490":{"position":[[88,5]]},"491":{"position":[[7,5],[176,5],[294,5],[792,5],[1206,5]]},"501":{"position":[[363,5]]},"502":{"position":[[219,5],[286,5]]},"506":{"position":[[48,5]]},"510":{"position":[[248,5]]},"516":{"position":[[17,5],[130,8],[311,5]]},"526":{"position":[[15,5],[128,7]]},"534":{"position":[[188,5],[217,8],[317,5],[578,5]]},"544":{"position":[[106,5]]},"551":{"position":[[47,5]]},"562":{"position":[[1683,7]]},"565":{"position":[[166,5]]},"566":{"position":[[1073,6]]},"574":{"position":[[349,7],[454,5]]},"575":{"position":[[353,7]]},"576":{"position":[[60,5]]},"582":{"position":[[56,7],[173,5],[315,5]]},"584":{"position":[[71,5]]},"586":{"position":[[78,5]]},"594":{"position":[[186,5],[215,8],[315,5],[576,5]]},"604":{"position":[[106,5]]},"630":{"position":[[215,5],[582,5],[939,5]]},"631":{"position":[[483,5]]},"632":{"position":[[85,5],[1022,5],[1218,5],[1727,5],[1942,7],[2341,5],[2549,5]]},"634":{"position":[[3,5]]},"635":{"position":[[4,5]]},"636":{"position":[[149,5],[375,5]]},"638":{"position":[[19,8]]},"639":{"position":[[1,5]]},"640":{"position":[[492,5]]},"641":{"position":[[12,5]]},"644":{"position":[[50,5],[613,5]]},"662":{"position":[[14,5]]},"670":{"position":[[495,8]]},"697":{"position":[[339,5]]},"699":{"position":[[714,5]]},"700":{"position":[[223,5]]},"702":{"position":[[576,5]]},"711":{"position":[[152,8]]},"719":{"position":[[380,5]]},"723":{"position":[[350,5],[431,5],[656,5]]},"749":{"position":[[13689,5],[14220,5],[14291,5],[14466,5]]},"775":{"position":[[9,6]]},"778":{"position":[[356,5]]},"780":{"position":[[783,8]]},"785":{"position":[[528,5]]},"786":{"position":[[138,5],[160,5]]},"793":{"position":[[1081,5]]},"826":{"position":[[992,5]]},"836":{"position":[[2265,5]]},"838":{"position":[[14,5]]},"839":{"position":[[1225,5]]},"841":{"position":[[140,5],[618,5],[1358,5],[1485,5]]},"846":{"position":[[1099,5]]},"856":{"position":[[85,7],[210,7]]},"860":{"position":[[358,8],[1199,5]]},"861":{"position":[[1810,7],[2179,5]]},"872":{"position":[[298,7],[492,8]]},"873":{"position":[[62,5]]},"898":{"position":[[2942,5]]},"899":{"position":[[150,5]]},"902":{"position":[[507,5],[734,5]]},"903":{"position":[[391,5]]},"912":{"position":[[325,8]]},"988":{"position":[[738,5],[2345,5],[2453,5],[3469,5]]},"995":{"position":[[82,5],[1249,5]]},"1006":{"position":[[123,7],[220,5]]},"1007":{"position":[[593,5],[1098,5]]},"1008":{"position":[[201,5]]},"1009":{"position":[[607,5],[721,5]]},"1012":{"position":[[15,5],[52,5]]},"1013":{"position":[[29,5],[195,5],[241,5],[427,5],[579,5],[646,5]]},"1014":{"position":[[11,5],[70,5],[288,5]]},"1015":{"position":[[11,5]]},"1018":{"position":[[355,5]]},"1021":{"position":[[126,5]]},"1022":{"position":[[68,7],[260,7]]},"1124":{"position":[[1500,5],[1648,7],[1844,7]]},"1140":{"position":[[62,7]]},"1147":{"position":[[13,5]]},"1148":{"position":[[230,5]]},"1306":{"position":[[47,5]]},"1307":{"position":[[3,5],[423,5],[596,5]]},"1308":{"position":[[531,5]]},"1315":{"position":[[932,5],[1103,8]]},"1316":{"position":[[989,5],[3764,8]]}},"keywords":{}}],["localdb",{"_index":1344,"title":{},"content":{"209":{"position":[[267,10]]}},"keywords":{}}],["localdoc",{"_index":5599,"title":{},"content":{"1014":{"position":[[183,8],[324,8]]},"1015":{"position":[[159,8]]},"1016":{"position":[[118,8]]},"1018":{"position":[[60,8],[780,8]]}},"keywords":{}}],["localdoc.foo",{"_index":5613,"title":{},"content":{"1018":{"position":[[475,13],[545,12]]}},"keywords":{}}],["localdoc.get$('foo').subscribe(valu",{"_index":5611,"title":{},"content":{"1018":{"position":[[241,36]]}},"keywords":{}}],["localdoc.get('foo",{"_index":5608,"title":{},"content":{"1018":{"position":[[137,20],[514,20]]}},"keywords":{}}],["localdoc.remov",{"_index":5612,"title":{},"content":{"1018":{"position":[[318,18]]}},"keywords":{}}],["localdoc.sav",{"_index":5610,"title":{},"content":{"1018":{"position":[[208,16]]}},"keywords":{}}],["localdoc.set('foo",{"_index":5609,"title":{},"content":{"1018":{"position":[[173,19],[585,19]]}},"keywords":{}}],["localdoc.tojson().foo",{"_index":5617,"title":{},"content":{"1018":{"position":[[957,22]]}},"keywords":{}}],["localdocu",{"_index":4320,"title":{},"content":{"749":{"position":[[14179,14],[14376,14]]},"1013":{"position":[[151,15],[374,15],[526,15],[724,15]]}},"keywords":{}}],["localdocuments=tru",{"_index":4323,"title":{},"content":{"749":{"position":[[14410,19]]}},"keywords":{}}],["localforag",{"_index":547,"title":{"35":{"position":[[0,12]]}},"content":{"35":{"position":[[1,11],[294,11],[490,11]]}},"keywords":{}}],["localhost",{"_index":3862,"title":{},"content":{"676":{"position":[[14,9]]},"968":{"position":[[718,9]]}},"keywords":{}}],["localhost:4222",{"_index":4931,"title":{},"content":{"866":{"position":[[818,16]]}},"keywords":{}}],["locally.background",{"_index":3700,"title":{},"content":{"632":{"position":[[349,18]]}},"keywords":{}}],["locally.y",{"_index":1594,"title":{},"content":{"262":{"position":[[465,11]]}},"keywords":{}}],["locally—provid",{"_index":3103,"title":{},"content":{"474":{"position":[[150,17]]}},"keywords":{}}],["localst",{"_index":6146,"title":{},"content":{"1177":{"position":[[290,10]]}},"keywords":{}}],["localstate.collection.insert",{"_index":6148,"title":{},"content":{"1177":{"position":[[347,30]]}},"keywords":{}}],["localstate.databasestate.savequeue.addwrit",{"_index":6152,"title":{},"content":{"1177":{"position":[[613,46]]}},"keywords":{}}],["localstorag",{"_index":275,"title":{"63":{"position":[[0,13]]},"314":{"position":[[36,12]]},"423":{"position":[[6,12]]},"424":{"position":[[12,12]]},"428":{"position":[[21,13]]},"429":{"position":[[3,12]]},"430":{"position":[[16,13]]},"431":{"position":[[27,12]]},"432":{"position":[[0,12]]},"434":{"position":[[0,12]]},"435":{"position":[[0,12]]},"436":{"position":[[0,12]]},"438":{"position":[[5,12]]},"439":{"position":[[0,12]]},"440":{"position":[[0,12]]},"448":{"position":[[0,12]]},"451":{"position":[[8,13]]},"558":{"position":[[29,12]]},"559":{"position":[[37,13]]},"560":{"position":[[8,12]]},"566":{"position":[[10,12]]},"709":{"position":[[0,12]]},"1153":{"position":[[10,12]]},"1155":{"position":[[10,12]]},"1158":{"position":[[15,12]]},"1159":{"position":[[12,12]]},"1242":{"position":[[0,13]]}},"content":{"16":{"position":[[330,12]]},"35":{"position":[[185,13]]},"51":{"position":[[83,12],[527,12],[613,14]]},"55":{"position":[[785,14]]},"63":{"position":[[1,12]]},"65":{"position":[[1946,12]]},"66":{"position":[[32,12]]},"131":{"position":[[108,12],[141,12]]},"162":{"position":[[153,12],[206,12]]},"209":{"position":[[118,14]]},"211":{"position":[[180,14]]},"255":{"position":[[465,14]]},"258":{"position":[[118,14]]},"287":{"position":[[338,12],[384,13]]},"299":{"position":[[1610,13],[1715,12]]},"314":{"position":[[76,12],[417,14]]},"315":{"position":[[314,14]]},"318":{"position":[[196,12]]},"321":{"position":[[371,13]]},"331":{"position":[[43,12]]},"334":{"position":[[269,14]]},"336":{"position":[[126,13],[503,12]]},"368":{"position":[[161,12]]},"392":{"position":[[77,12],[131,13],[311,14]]},"408":{"position":[[341,12]]},"424":{"position":[[5,12]]},"425":{"position":[[95,13]]},"426":{"position":[[10,12]]},"427":{"position":[[26,12],[172,12],[267,12],[455,12],[676,12],[884,12],[1155,12],[1344,12],[1544,13]]},"429":{"position":[[45,12],[315,12],[429,12],[489,12],[509,12]]},"430":{"position":[[7,12],[268,12],[463,12],[746,12]]},"432":{"position":[[7,12],[269,13],[591,12],[781,12],[1315,13],[1393,12]]},"434":{"position":[[218,12]]},"437":{"position":[[100,12],[186,13]]},"438":{"position":[[16,12],[113,12],[198,12],[278,12]]},"439":{"position":[[61,12],[349,13]]},"440":{"position":[[43,12],[221,12],[264,12],[330,13]]},"441":{"position":[[41,12]]},"451":{"position":[[5,12],[90,12],[279,12],[768,12]]},"458":{"position":[[557,12],[712,12]]},"459":{"position":[[360,12]]},"460":{"position":[[707,12],[1023,13]]},"461":{"position":[[606,12],[757,12],[972,13]]},"462":{"position":[[912,13]]},"463":{"position":[[238,12]]},"464":{"position":[[295,12],[461,12]]},"465":{"position":[[156,12],[322,12]]},"466":{"position":[[121,12]]},"467":{"position":[[93,12]]},"468":{"position":[[1,12]]},"469":{"position":[[622,12],[683,12]]},"480":{"position":[[275,14]]},"482":{"position":[[276,14]]},"504":{"position":[[69,12],[137,12]]},"521":{"position":[[402,12]]},"522":{"position":[[382,14]]},"524":{"position":[[211,12],[264,12]]},"538":{"position":[[51,12],[215,12],[376,14]]},"542":{"position":[[496,14]]},"559":{"position":[[1,12],[549,12],[825,12],[989,12],[1104,12],[1387,12],[1561,12]]},"560":{"position":[[7,12],[283,13]]},"562":{"position":[[105,14]]},"563":{"position":[[315,14]]},"564":{"position":[[379,14]]},"566":{"position":[[16,12]]},"567":{"position":[[935,12]]},"579":{"position":[[121,12],[271,14]]},"581":{"position":[[131,12],[173,12]]},"598":{"position":[[51,12],[216,12],[371,14]]},"632":{"position":[[1156,14],[1244,12]]},"653":{"position":[[221,14]]},"659":{"position":[[143,12]]},"660":{"position":[[66,12]]},"662":{"position":[[1099,12]]},"680":{"position":[[634,14]]},"696":{"position":[[831,13],[888,12]]},"709":{"position":[[124,13],[837,12]]},"710":{"position":[[650,12],[1030,12],[1644,14]]},"717":{"position":[[701,14]]},"734":{"position":[[265,14]]},"739":{"position":[[252,14]]},"759":{"position":[[35,12],[299,14]]},"760":{"position":[[395,14]]},"793":{"position":[[180,12],[567,12],[1336,12]]},"829":{"position":[[576,14]]},"835":{"position":[[85,12]]},"862":{"position":[[433,14]]},"898":{"position":[[2083,12],[2282,14]]},"904":{"position":[[411,12],[469,12],[682,14]]},"960":{"position":[[250,14]]},"962":{"position":[[485,12],[721,14]]},"977":{"position":[[615,16]]},"1114":{"position":[[549,14]]},"1141":{"position":[[182,12]]},"1154":{"position":[[168,12],[282,12]]},"1156":{"position":[[70,12],[186,12]]},"1157":{"position":[[7,12],[139,12],[224,12],[402,12]]},"1158":{"position":[[140,14]]},"1159":{"position":[[11,12],[66,12],[347,14],[453,13]]},"1206":{"position":[[198,13]]},"1209":{"position":[[130,13]]},"1218":{"position":[[679,14]]},"1222":{"position":[[142,14],[299,12]]},"1235":{"position":[[25,12],[467,12]]},"1238":{"position":[[382,12],[759,12]]},"1239":{"position":[[560,12]]},"1242":{"position":[[69,12],[194,12]]},"1246":{"position":[[1595,12],[1639,12],[1833,12]]},"1286":{"position":[[325,14]]},"1287":{"position":[[371,14]]},"1288":{"position":[[331,14]]}},"keywords":{}}],["localstorage"",{"_index":1477,"title":{},"content":{"244":{"position":[[78,18],[186,19]]}},"keywords":{}}],["localstorage.clear",{"_index":2875,"title":{},"content":{"425":{"position":[[504,21]]}},"keywords":{}}],["localstorage.getitem('usernam",{"_index":2873,"title":{},"content":{"425":{"position":[[378,33]]},"559":{"position":[[336,33]]}},"keywords":{}}],["localstorage.j",{"_index":1959,"title":{},"content":{"336":{"position":[[81,15]]}},"keywords":{}}],["localstorage.removeitem('usernam",{"_index":2874,"title":{},"content":{"425":{"position":[[446,36]]}},"keywords":{}}],["localstorage.send",{"_index":3054,"title":{},"content":{"464":{"position":[[597,20]]}},"keywords":{}}],["localstorage.setitem",{"_index":2933,"title":{},"content":{"440":{"position":[[71,22]]}},"keywords":{}}],["localstorage.setitem('us",{"_index":2878,"title":{},"content":{"426":{"position":[[387,28]]}},"keywords":{}}],["localstorage.setitem('usernam",{"_index":2870,"title":{},"content":{"425":{"position":[[276,32]]},"559":{"position":[[434,32]]}},"keywords":{}}],["localstorage/indexeddb/websql",{"_index":3783,"title":{"660":{"position":[[0,30]]}},"content":{},"keywords":{}}],["localstorageexampl",{"_index":3387,"title":{},"content":{"559":{"position":[[246,21],[795,20]]}},"keywords":{}}],["localstoragewhil",{"_index":3406,"title":{},"content":{"559":{"position":[[971,17]]}},"keywords":{}}],["localstorage’",{"_index":3414,"title":{},"content":{"559":{"position":[[1712,14]]}},"keywords":{}}],["localstroag",{"_index":5386,"title":{},"content":{"962":{"position":[[612,12]]},"1242":{"position":[[5,12]]}},"keywords":{}}],["locat",{"_index":3790,"title":{},"content":{"661":{"position":[[605,8]]},"662":{"position":[[1359,8]]},"736":{"position":[[82,8]]},"838":{"position":[[2307,8]]},"849":{"position":[[882,8]]},"1007":{"position":[[1026,9],[1980,8]]},"1093":{"position":[[78,8]]},"1134":{"position":[[539,9]]},"1227":{"position":[[357,8]]},"1265":{"position":[[350,8]]},"1279":{"position":[[61,8]]}},"keywords":{}}],["location.reload",{"_index":4109,"title":{},"content":{"740":{"position":[[672,18]]},"879":{"position":[[666,18]]},"990":{"position":[[1398,18]]}},"keywords":{}}],["lock",{"_index":237,"title":{},"content":{"14":{"position":[[1072,4]]},"202":{"position":[[376,6]]},"212":{"position":[[376,4]]},"247":{"position":[[56,4]]},"249":{"position":[[340,4]]},"262":{"position":[[492,4]]},"376":{"position":[[427,4]]},"381":{"position":[[540,7]]},"412":{"position":[[1301,4],[1532,4],[2499,4]]},"461":{"position":[[542,6]]},"839":{"position":[[539,6],[836,4],[1314,4]]},"840":{"position":[[504,4]]},"841":{"position":[[1502,6],[1581,4]]},"886":{"position":[[4619,6]]},"1124":{"position":[[121,4]]}},"keywords":{}}],["lodash",{"_index":528,"title":{},"content":{"34":{"position":[[54,6]]}},"keywords":{}}],["log",{"_index":1902,"title":{"746":{"position":[[19,7]]},"747":{"position":[[13,7]]},"1151":{"position":[[34,4]]},"1178":{"position":[[34,4]]}},"content":{"316":{"position":[[136,5],[161,5]]},"353":{"position":[[708,5]]},"411":{"position":[[4327,4]]},"439":{"position":[[533,6]]},"616":{"position":[[909,5]]},"639":{"position":[[320,5],[345,4]]},"696":{"position":[[581,5]]},"745":{"position":[[159,7]]},"746":{"position":[[29,3],[151,3],[168,4],[386,3],[495,3],[587,3]]},"747":{"position":[[48,3]]},"904":{"position":[[3387,3]]},"1010":{"position":[[236,3]]},"1094":{"position":[[432,7]]},"1151":{"position":[[801,4],[864,4]]},"1178":{"position":[[798,4],[861,4]]},"1282":{"position":[[659,3],[855,3],[868,4]]}},"keywords":{}}],["logger",{"_index":4112,"title":{"744":{"position":[[5,6]]},"745":{"position":[[10,6]]}},"content":{"745":{"position":[[5,6],[371,6]]},"747":{"position":[[10,6]]},"793":{"position":[[455,6]]}},"keywords":{}}],["loggingstorag",{"_index":4115,"title":{},"content":{"745":{"position":[[384,14],[577,14]]},"746":{"position":[[272,14]]},"747":{"position":[[89,14]]}},"keywords":{}}],["logic",{"_index":668,"title":{},"content":{"43":{"position":[[102,5]]},"51":{"position":[[948,5]]},"168":{"position":[[219,5]]},"196":{"position":[[155,6]]},"203":{"position":[[171,6]]},"249":{"position":[[435,5]]},"262":{"position":[[434,5]]},"299":{"position":[[1139,5]]},"314":{"position":[[1115,5]]},"326":{"position":[[294,6]]},"344":{"position":[[153,5]]},"354":{"position":[[626,5]]},"383":{"position":[[475,6]]},"384":{"position":[[405,5]]},"392":{"position":[[4999,7]]},"411":{"position":[[1606,5]]},"412":{"position":[[1278,6],[4158,5],[8931,5],[9122,6],[11342,5],[13837,9]]},"559":{"position":[[1320,6]]},"566":{"position":[[952,5]]},"590":{"position":[[726,5]]},"626":{"position":[[594,6]]},"632":{"position":[[20,5],[2419,5],[2535,5]]},"634":{"position":[[507,5]]},"681":{"position":[[179,6]]},"682":{"position":[[113,5]]},"683":{"position":[[597,6]]},"686":{"position":[[596,5]]},"687":{"position":[[41,5]]},"688":{"position":[[573,6]]},"691":{"position":[[639,5]]},"697":{"position":[[230,5]]},"765":{"position":[[43,5]]},"839":{"position":[[950,5]]},"906":{"position":[[699,5],[1104,6]]},"1148":{"position":[[398,5]]},"1175":{"position":[[349,6]]},"1307":{"position":[[568,6]]},"1313":{"position":[[59,5],[942,5]]},"1316":{"position":[[2112,7]]}},"keywords":{}}],["logic.async",{"_index":3524,"title":{},"content":{"590":{"position":[[395,11]]}},"keywords":{}}],["logic.compat",{"_index":3894,"title":{},"content":{"688":{"position":[[918,16]]}},"keywords":{}}],["logic.your",{"_index":3905,"title":{},"content":{"690":{"position":[[81,10]]}},"keywords":{}}],["logid",{"_index":4127,"title":{},"content":{"747":{"position":[[200,6],[258,6],[318,6]]}},"keywords":{}}],["login",{"_index":333,"title":{},"content":{"19":{"position":[[583,5]]},"779":{"position":[[166,5]]}},"keywords":{}}],["logo",{"_index":2816,"title":{},"content":{"419":{"position":[[1665,5]]}},"keywords":{}}],["loki",{"_index":6137,"title":{},"content":{"1173":{"position":[[261,4]]},"1177":{"position":[[598,4]]}},"keywords":{}}],["loki.j",{"_index":6153,"title":{},"content":{"1178":{"position":[[103,7]]}},"keywords":{}}],["lokifsstructuredadapt",{"_index":4575,"title":{},"content":{"772":{"position":[[2176,23],[2478,25]]}},"keywords":{}}],["lokiincrementalindexeddbadapt",{"_index":6131,"title":{},"content":{"1172":{"position":[[202,31],[385,34]]}},"keywords":{}}],["lokij",{"_index":295,"title":{"28":{"position":[[0,7]]},"1169":{"position":[[10,6]]},"1177":{"position":[[19,6]]}},"content":{"17":{"position":[[408,6]]},"28":{"position":[[1,6],[101,6],[662,6],[698,6]]},"32":{"position":[[168,6]]},"186":{"position":[[121,7]]},"188":{"position":[[277,6],[734,8]]},"189":{"position":[[113,6],[131,6]]},"772":{"position":[[1890,6],[2310,8]]},"1172":{"position":[[97,8],[436,6]]},"1173":{"position":[[1,6],[80,6],[213,6]]},"1174":{"position":[[20,7],[114,6],[257,6],[327,6]]},"1175":{"position":[[18,7],[86,6]]},"1176":{"position":[[21,6],[124,6]]},"1177":{"position":[[52,6]]},"1178":{"position":[[769,6]]},"1284":{"position":[[398,7],[429,6]]},"1299":{"position":[[494,6]]},"1300":{"position":[[347,6],[573,6]]}},"keywords":{}}],["long",{"_index":1109,"title":{"609":{"position":[[36,4]]},"610":{"position":[[8,4]]}},"content":{"131":{"position":[[877,4]]},"141":{"position":[[130,4]]},"212":{"position":[[1,4]]},"266":{"position":[[477,4]]},"287":{"position":[[1052,4]]},"305":{"position":[[43,4],[233,4]]},"399":{"position":[[596,4]]},"404":{"position":[[440,4]]},"407":{"position":[[1127,4]]},"412":{"position":[[14891,4]]},"420":{"position":[[1035,4]]},"461":{"position":[[320,4]]},"463":{"position":[[579,4]]},"465":{"position":[[58,4]]},"468":{"position":[[644,4]]},"610":{"position":[[1,4],[312,4],[868,4],[1106,4],[1392,4],[1419,4]]},"611":{"position":[[71,4],[1401,4]]},"616":{"position":[[193,4],[291,4],[509,4]]},"619":{"position":[[336,4]]},"620":{"position":[[68,4]]},"624":{"position":[[1338,4]]},"653":{"position":[[391,4]]},"660":{"position":[[209,4]]},"696":{"position":[[338,4]]},"704":{"position":[[205,4]]},"740":{"position":[[182,4]]},"752":{"position":[[222,4],[578,4]]},"783":{"position":[[414,4]]},"835":{"position":[[256,4]]},"839":{"position":[[1395,4]]},"846":{"position":[[918,4]]},"849":{"position":[[59,4]]},"875":{"position":[[7189,4]]},"987":{"position":[[885,4]]},"988":{"position":[[5026,4]]},"1313":{"position":[[380,4],[554,4],[817,4]]},"1316":{"position":[[2699,4],[2810,4]]}},"keywords":{}}],["longer",{"_index":1134,"title":{"783":{"position":[[17,6]]}},"content":{"143":{"position":[[293,6]]},"400":{"position":[[188,6]]},"401":{"position":[[671,6]]},"474":{"position":[[200,6]]},"590":{"position":[[559,6]]},"642":{"position":[[276,6]]},"687":{"position":[[283,6]]},"715":{"position":[[363,6]]},"780":{"position":[[677,6]]},"816":{"position":[[427,6]]},"837":{"position":[[1184,6]]},"840":{"position":[[448,6]]},"879":{"position":[[241,6]]},"880":{"position":[[48,6],[82,6]]},"995":{"position":[[1061,6]]},"1007":{"position":[[818,6]]},"1009":{"position":[[1085,6]]},"1027":{"position":[[64,6]]},"1031":{"position":[[252,6]]},"1032":{"position":[[59,6]]},"1047":{"position":[[152,6]]},"1104":{"position":[[600,6]]},"1112":{"position":[[476,6]]},"1192":{"position":[[492,6]]},"1288":{"position":[[48,6]]},"1301":{"position":[[1547,6]]},"1313":{"position":[[277,6],[535,6],[882,6]]}},"keywords":{}}],["longpol",{"_index":3553,"title":{},"content":{"610":{"position":[[913,10],[1063,11],[1364,11]]}},"keywords":{}}],["longth",{"_index":3036,"title":{},"content":{"463":{"position":[[881,7]]}},"keywords":{}}],["look",{"_index":2444,"title":{},"content":{"401":{"position":[[12,4]]},"408":{"position":[[4054,7]]},"420":{"position":[[7,4]]},"432":{"position":[[946,7]]},"567":{"position":[[11,7]]},"620":{"position":[[235,4]]},"698":{"position":[[315,4],[2065,5]]},"752":{"position":[[1096,4]]},"778":{"position":[[264,7]]},"818":{"position":[[347,4]]},"824":{"position":[[540,4]]},"885":{"position":[[1448,4]]},"901":{"position":[[530,4]]},"986":{"position":[[707,4]]},"988":{"position":[[5381,4]]},"1276":{"position":[[357,4]]},"1305":{"position":[[538,5]]},"1309":{"position":[[353,4]]},"1316":{"position":[[2233,4]]},"1318":{"position":[[522,4]]},"1321":{"position":[[655,4]]}},"keywords":{}}],["lookup",{"_index":2035,"title":{},"content":{"356":{"position":[[288,7]]},"376":{"position":[[588,8]]},"559":{"position":[[1488,7]]},"560":{"position":[[70,7]]}},"keywords":{}}],["lookups.perform",{"_index":1324,"title":{},"content":{"205":{"position":[[168,15]]}},"keywords":{}}],["lookups.test",{"_index":3527,"title":{},"content":{"590":{"position":[[671,12]]}},"keywords":{}}],["loop",{"_index":5591,"title":{},"content":{"1010":{"position":[[17,5],[79,5]]}},"keywords":{}}],["loos",{"_index":460,"title":{},"content":{"28":{"position":[[413,5]]},"402":{"position":[[525,5]]},"611":{"position":[[1024,5]]},"875":{"position":[[8561,6]]},"1222":{"position":[[905,5]]},"1301":{"position":[[294,5]]},"1316":{"position":[[1474,7]]}},"keywords":{}}],["lose",{"_index":2065,"title":{"1323":{"position":[[9,4]]}},"content":{"358":{"position":[[703,6],[1013,4]]},"380":{"position":[[95,5]]},"412":{"position":[[8740,4]]},"703":{"position":[[703,4],[783,4]]}},"keywords":{}}],["loss",{"_index":2161,"title":{},"content":{"382":{"position":[[399,5]]},"398":{"position":[[214,4]]},"402":{"position":[[2538,4]]},"419":{"position":[[907,5]]},"612":{"position":[[1414,5]]},"981":{"position":[[1459,4]]},"1304":{"position":[[1499,4]]}},"keywords":{}}],["lost",{"_index":11,"title":{},"content":{"1":{"position":[[154,4]]},"30":{"position":[[154,4]]},"412":{"position":[[8288,5]]},"416":{"position":[[468,5]]},"660":{"position":[[378,4]]},"691":{"position":[[203,5]]},"773":{"position":[[274,4]]},"774":{"position":[[1006,4]]},"1090":{"position":[[1277,5]]},"1164":{"position":[[986,4]]},"1171":{"position":[[45,4]]},"1174":{"position":[[307,5]]},"1300":{"position":[[187,5]]},"1301":{"position":[[392,4]]},"1314":{"position":[[137,4]]}},"keywords":{}}],["lot",{"_index":292,"title":{},"content":{"17":{"position":[[246,4]]},"24":{"position":[[393,3]]},"33":{"position":[[382,3]]},"412":{"position":[[15250,3]]},"709":{"position":[[783,3]]},"752":{"position":[[175,4]]}},"keywords":{}}],["low",{"_index":692,"title":{"92":{"position":[[28,3]]},"220":{"position":[[0,3]]},"1239":{"position":[[0,3]]}},"content":{"45":{"position":[[16,3]]},"65":{"position":[[1010,3]]},"92":{"position":[[80,3]]},"122":{"position":[[349,3]]},"131":{"position":[[279,3]]},"133":{"position":[[342,3]]},"173":{"position":[[2505,3]]},"181":{"position":[[70,3]]},"220":{"position":[[27,3]]},"299":{"position":[[1007,3],[1094,3]]},"300":{"position":[[635,3]]},"301":{"position":[[56,3],[547,3]]},"331":{"position":[[293,3]]},"378":{"position":[[217,3]]},"408":{"position":[[3526,3]]},"410":{"position":[[56,3]]},"412":{"position":[[9360,3],[10684,3]]},"418":{"position":[[160,3]]},"452":{"position":[[93,3]]},"497":{"position":[[625,4]]},"521":{"position":[[65,3]]},"533":{"position":[[16,3]]},"535":{"position":[[272,3]]},"548":{"position":[[288,3]]},"560":{"position":[[196,3]]},"566":{"position":[[85,3]]},"569":{"position":[[390,3]]},"593":{"position":[[16,3]]},"595":{"position":[[285,3]]},"608":{"position":[[286,3]]},"611":{"position":[[550,3]]},"613":{"position":[[60,3]]},"621":{"position":[[223,3],[733,3]]},"660":{"position":[[236,3]]},"1123":{"position":[[76,3]]},"1206":{"position":[[373,3]]},"1209":{"position":[[53,3]]},"1239":{"position":[[68,3]]}},"keywords":{}}],["lowdb",{"_index":526,"title":{"34":{"position":[[0,6]]}},"content":{"34":{"position":[[1,5],[133,5],[386,6],[517,6],[706,5]]}},"keywords":{}}],["lower",{"_index":890,"title":{"204":{"position":[[3,5]]}},"content":{"61":{"position":[[442,5]]},"277":{"position":[[282,5]]},"376":{"position":[[665,5]]},"402":{"position":[[1206,5]]},"617":{"position":[[386,5],[1773,5]]},"622":{"position":[[432,5]]},"772":{"position":[[2577,6]]},"796":{"position":[[803,5]]},"1239":{"position":[[247,5]]}},"keywords":{}}],["lowercas",{"_index":5797,"title":{},"content":{"1072":{"position":[[2159,9],[2322,10]]}},"keywords":{}}],["lowest",{"_index":3052,"title":{},"content":{"464":{"position":[[482,6]]},"621":{"position":[[24,6]]},"1320":{"position":[[173,6]]}},"keywords":{}}],["lsh",{"_index":2335,"title":{},"content":{"396":{"position":[[123,6],[130,3]]}},"keywords":{}}],["lt",{"_index":600,"title":{},"content":{"38":{"position":[[986,4],[1015,4]]},"367":{"position":[[746,4],[864,4]]},"398":{"position":[[1075,4],[2422,4]]},"403":{"position":[[516,4]]},"522":{"position":[[454,4],[505,4],[548,4],[598,4],[666,4],[732,4]]},"602":{"position":[[454,5]]},"681":{"position":[[727,4]]},"734":{"position":[[785,4]]},"739":{"position":[[551,4]]},"749":{"position":[[21551,5]]},"751":{"position":[[1959,4]]},"752":{"position":[[458,4]]},"759":{"position":[[781,4]]},"760":{"position":[[413,4]]},"796":{"position":[[555,4],[963,4],[1394,4]]},"799":{"position":[[734,4]]},"838":{"position":[[2360,4]]},"858":{"position":[[492,6],[499,6]]},"885":{"position":[[1795,4],[1898,4],[2084,4]]},"886":{"position":[[3993,4]]},"906":{"position":[[1041,4]]},"932":{"position":[[1297,4]]},"960":{"position":[[322,4],[373,4],[443,4],[493,4],[561,4],[627,4]]},"983":{"position":[[1030,4]]},"988":{"position":[[3961,4]]},"1013":{"position":[[398,4],[550,4]]},"1036":{"position":[[152,4]]},"1062":{"position":[[190,4]]},"1074":{"position":[[1002,4]]},"1078":{"position":[[564,4],[892,4]]},"1080":{"position":[[187,4],[283,4],[747,4],[843,4],[935,4]]},"1082":{"position":[[272,4],[421,4]]},"1083":{"position":[[472,4]]},"1277":{"position":[[444,4]]}},"keywords":{}}],["lt;/characterlist>",{"_index":3284,"title":{},"content":{"523":{"position":[[833,22]]}},"keywords":{}}],["lt;/div>",{"_index":3319,"title":{},"content":{"541":{"position":[[721,12]]},"559":{"position":[[762,12]]},"601":{"position":[[305,12]]},"602":{"position":[[692,12]]}},"keywords":{}}],["lt;/li>",{"_index":824,"title":{},"content":{"54":{"position":[[289,11]]},"55":{"position":[[1210,11]]},"335":{"position":[[525,11]]},"493":{"position":[[285,11]]},"541":{"position":[[693,11]]},"562":{"position":[[1542,11]]},"571":{"position":[[1173,15]]},"580":{"position":[[875,11]]},"601":{"position":[[281,11]]},"602":{"position":[[668,11]]},"825":{"position":[[856,13]]}},"keywords":{}}],["lt;/rxdatabaseprovider>",{"_index":4755,"title":{},"content":{"829":{"position":[[1814,27]]}},"keywords":{}}],["lt;/script>",{"_index":3501,"title":{},"content":{"580":{"position":[[716,15]]},"601":{"position":[[704,15]]}},"keywords":{}}],["lt;/span>",{"_index":4752,"title":{},"content":{"829":{"position":[[1716,14]]}},"keywords":{}}],["lt;/strong>",{"_index":3540,"title":{},"content":{"601":{"position":[[244,17]]},"602":{"position":[[631,17]]}},"keywords":{}}],["lt;/template>",{"_index":3509,"title":{},"content":{"580":{"position":[[899,17]]},"601":{"position":[[318,17]]},"602":{"position":[[705,17]]}},"keywords":{}}],["lt;/ul>",{"_index":825,"title":{},"content":{"54":{"position":[[301,11]]},"55":{"position":[[1222,11]]},"130":{"position":[[664,11]]},"493":{"position":[[297,11]]},"494":{"position":[[408,11]]},"541":{"position":[[709,11]]},"542":{"position":[[914,11]]},"562":{"position":[[1558,11]]},"580":{"position":[[887,11]]},"601":{"position":[[293,11]]},"602":{"position":[[680,11]]},"825":{"position":[[870,11]]},"829":{"position":[[3612,11]]}},"keywords":{}}],["lt;a",{"_index":4750,"title":{},"content":{"829":{"position":[[1634,5]]}},"keywords":{}}],["lt;button",{"_index":3281,"title":{},"content":{"523":{"position":[[773,10]]}},"keywords":{}}],["lt;charact",{"_index":3277,"title":{},"content":{"523":{"position":[[690,13]]}},"keywords":{}}],["lt;characterlist>",{"_index":3275,"title":{},"content":{"523":{"position":[[625,21]]}},"keywords":{}}],["lt;div>",{"_index":3312,"title":{},"content":{"541":{"position":[[533,11]]},"559":{"position":[[519,11]]},"601":{"position":[[94,11]]},"602":{"position":[[400,11]]}},"keywords":{}}],["lt;h2>hero",{"_index":3313,"title":{},"content":{"541":{"position":[[545,14]]},"601":{"position":[[106,14]]},"602":{"position":[[412,14]]}},"keywords":{}}],["lt;h2>reactj",{"_index":3392,"title":{},"content":{"559":{"position":[[531,17]]}},"keywords":{}}],["lt;input",{"_index":3394,"title":{},"content":{"559":{"position":[[578,9]]}},"keywords":{}}],["lt;li",{"_index":820,"title":{},"content":{"54":{"position":[[215,6]]},"55":{"position":[[1137,6]]},"493":{"position":[[224,6]]},"494":{"position":[[359,6]]},"541":{"position":[[612,6]]},"542":{"position":[[863,6]]},"562":{"position":[[1483,6]]},"580":{"position":[[760,6]]},"601":{"position":[[148,6]]},"602":{"position":[[523,6]]},"825":{"position":[[791,6]]},"829":{"position":[[3559,6]]}},"keywords":{}}],["lt;li>",{"_index":1949,"title":{},"content":{"335":{"position":[[447,10]]},"571":{"position":[[1147,12]]}},"keywords":{}}],["lt;li>{{hero.name}}</li>",{"_index":1101,"title":{},"content":{"130":{"position":[[629,34]]}},"keywords":{}}],["lt;p>store",{"_index":3401,"title":{},"content":{"559":{"position":[[724,16]]}},"keywords":{}}],["lt;rxdatabaseprovid",{"_index":4753,"title":{},"content":{"829":{"position":[[1742,22]]}},"keywords":{}}],["lt;rxdatabaseprovider>",{"_index":4438,"title":{},"content":{"749":{"position":[[24164,26]]}},"keywords":{}}],["lt;script",{"_index":3492,"title":{},"content":{"580":{"position":[[278,10]]},"601":{"position":[[336,10]]}},"keywords":{}}],["lt;span",{"_index":6182,"title":{},"content":{"1202":{"position":[[93,8]]}},"keywords":{}}],["lt;span>",{"_index":4749,"title":{},"content":{"829":{"position":[[1613,12]]}},"keywords":{}}],["lt;span>loading...</span>",{"_index":4758,"title":{},"content":{"829":{"position":[[2555,36],[3474,36]]}},"keywords":{}}],["lt;span>tot",{"_index":4759,"title":{},"content":{"829":{"position":[[2601,17]]}},"keywords":{}}],["lt;strong>",{"_index":3539,"title":{},"content":{"601":{"position":[[217,16]]},"602":{"position":[[604,16]]}},"keywords":{}}],["lt;strong>${hero.name}</strong>",{"_index":1950,"title":{},"content":{"335":{"position":[[458,41]]}},"keywords":{}}],["lt;strong>{hero.name}</strong>",{"_index":3317,"title":{},"content":{"541":{"position":[[637,40]]}},"keywords":{}}],["lt;template>",{"_index":3502,"title":{},"content":{"580":{"position":[[732,16]]},"601":{"position":[[77,16]]},"602":{"position":[[383,16]]}},"keywords":{}}],["lt;ul",{"_index":1099,"title":{},"content":{"130":{"position":[[560,6]]},"493":{"position":[[155,6]]}},"keywords":{}}],["lt;ul>",{"_index":819,"title":{},"content":{"54":{"position":[[204,10]]},"55":{"position":[[1126,10]]},"494":{"position":[[324,10]]},"541":{"position":[[576,10]]},"542":{"position":[[827,10]]},"562":{"position":[[1447,10]]},"580":{"position":[[749,10]]},"601":{"position":[[137,10]]},"602":{"position":[[443,10]]},"825":{"position":[[780,10]]},"829":{"position":[[3522,10]]}},"keywords":{}}],["luck",{"_index":3934,"title":{},"content":{"696":{"position":[[592,4]]}},"keywords":{}}],["lwt",{"_index":6151,"title":{},"content":{"1177":{"position":[[492,4]]}},"keywords":{}}],["m",{"_index":4653,"title":{},"content":{"798":{"position":[[611,3]]},"1066":{"position":[[417,3]]}},"keywords":{}}],["machin",{"_index":2183,"title":{},"content":{"390":{"position":[[258,7]]},"391":{"position":[[196,7],[986,7]]},"392":{"position":[[1983,7],[4941,8]]},"402":{"position":[[1769,7]]},"462":{"position":[[484,7]]},"699":{"position":[[448,7],[530,9]]},"743":{"position":[[232,8]]},"1246":{"position":[[866,8]]},"1292":{"position":[[87,7],[142,7]]}},"keywords":{}}],["made",{"_index":288,"title":{"76":{"position":[[0,4]]},"107":{"position":[[0,4]]},"230":{"position":[[0,4]]},"238":{"position":[[29,4]]},"1250":{"position":[[7,4]]},"1254":{"position":[[14,4]]}},"content":{"17":{"position":[[87,4]]},"21":{"position":[[188,4]]},"25":{"position":[[76,4]]},"36":{"position":[[313,4]]},"37":{"position":[[32,4]]},"113":{"position":[[74,4]]},"125":{"position":[[227,4]]},"129":{"position":[[226,4]]},"136":{"position":[[88,4]]},"174":{"position":[[2990,4]]},"191":{"position":[[129,4]]},"274":{"position":[[333,4]]},"289":{"position":[[877,4]]},"366":{"position":[[43,4]]},"404":{"position":[[497,5]]},"408":{"position":[[712,4]]},"445":{"position":[[1044,4]]},"446":{"position":[[341,4]]},"450":{"position":[[725,4]]},"453":{"position":[[473,4]]},"469":{"position":[[120,4]]},"517":{"position":[[287,4]]},"519":{"position":[[170,4]]},"525":{"position":[[148,4]]},"576":{"position":[[401,4]]},"589":{"position":[[136,4]]},"614":{"position":[[543,4]]},"626":{"position":[[313,4]]},"662":{"position":[[376,4]]},"686":{"position":[[149,4]]},"698":{"position":[[1573,4]]},"783":{"position":[[117,4],[401,4]]},"863":{"position":[[397,4]]},"906":{"position":[[299,4]]},"1007":{"position":[[1057,4]]},"1093":{"position":[[227,4]]},"1246":{"position":[[692,4]]},"1250":{"position":[[8,4]]},"1271":{"position":[[333,4]]},"1316":{"position":[[3541,4]]}},"keywords":{}}],["made.nest",{"_index":4920,"title":{},"content":{"863":{"position":[[753,11]]}},"keywords":{}}],["magic",{"_index":3946,"title":{},"content":{"698":{"position":[[3106,9]]}},"keywords":{}}],["mailbywordcollect",{"_index":5637,"title":{},"content":{"1023":{"position":[[191,21]]}},"keywords":{}}],["mailbywordcollection.bulkinsert",{"_index":5640,"title":{},"content":{"1023":{"position":[[441,32]]}},"keywords":{}}],["mailbywordcollection.find({emailid",{"_index":5638,"title":{},"content":{"1023":{"position":[[302,35]]}},"keywords":{}}],["mailid",{"_index":5634,"title":{},"content":{"1022":{"position":[[993,7]]},"1023":{"position":[[657,7]]}},"keywords":{}}],["main",{"_index":289,"title":{"642":{"position":[[25,4]]},"1211":{"position":[[18,4]]},"1226":{"position":[[7,4]]},"1264":{"position":[[7,4]]}},"content":{"17":{"position":[[178,4]]},"19":{"position":[[186,4]]},"24":{"position":[[252,4]]},"27":{"position":[[131,4]]},"29":{"position":[[102,4]]},"266":{"position":[[988,4]]},"392":{"position":[[3470,4],[3686,4],[3794,4]]},"408":{"position":[[3906,4]]},"412":{"position":[[826,4]]},"427":{"position":[[306,4]]},"453":{"position":[[313,4]]},"454":{"position":[[890,4]]},"460":{"position":[[100,4],[644,4],[876,4],[948,4],[1214,4],[1382,4]]},"463":{"position":[[686,4],[931,4]]},"464":{"position":[[334,4]]},"465":{"position":[[195,4]]},"466":{"position":[[160,4]]},"467":{"position":[[131,4],[368,4]]},"468":{"position":[[84,4],[419,4]]},"470":{"position":[[393,4]]},"538":{"position":[[19,4]]},"540":{"position":[[102,4]]},"559":{"position":[[1131,4]]},"598":{"position":[[19,4]]},"642":{"position":[[171,4]]},"693":{"position":[[72,4],[453,4],[612,4],[919,5],[1239,5]]},"708":{"position":[[610,4]]},"709":{"position":[[1067,4]]},"710":{"position":[[1324,4],[2367,4]]},"711":{"position":[[323,4],[381,4],[538,4],[628,4],[1057,4]]},"721":{"position":[[211,4],[236,4],[403,4]]},"775":{"position":[[745,4]]},"801":{"position":[[187,4],[447,4],[975,4]]},"840":{"position":[[223,4]]},"1068":{"position":[[433,4]]},"1092":{"position":[[494,4]]},"1094":{"position":[[282,4]]},"1157":{"position":[[258,4]]},"1183":{"position":[[570,4]]},"1207":{"position":[[393,4],[552,4]]},"1211":{"position":[[151,4],[241,4],[415,4]]},"1213":{"position":[[176,4],[309,4]]},"1214":{"position":[[639,4]]},"1230":{"position":[[372,4]]},"1231":{"position":[[322,4],[392,4]]},"1239":{"position":[[225,4],[410,4]]},"1246":{"position":[[212,4],[532,4],[1475,4],[2098,4]]},"1276":{"position":[[292,4]]},"1286":{"position":[[374,4]]},"1287":{"position":[[420,4]]},"1288":{"position":[[380,4]]},"1315":{"position":[[1117,4]]}},"keywords":{}}],["main.j",{"_index":3927,"title":{},"content":{"693":{"position":[[705,7]]},"1214":{"position":[[491,8]]}},"keywords":{}}],["mainli",{"_index":2838,"title":{},"content":{"420":{"position":[[1190,6]]},"450":{"position":[[106,6]]},"1094":{"position":[[495,6]]},"1120":{"position":[[221,6]]}},"keywords":{}}],["maintain",{"_index":466,"title":{},"content":{"28":{"position":[[712,10]]},"47":{"position":[[573,11]]},"116":{"position":[[58,10]]},"145":{"position":[[45,8]]},"173":{"position":[[2860,11]]},"240":{"position":[[276,11]]},"255":{"position":[[1843,11]]},"289":{"position":[[372,8]]},"312":{"position":[[193,11]]},"353":{"position":[[195,8]]},"360":{"position":[[790,8]]},"366":{"position":[[203,11]]},"379":{"position":[[292,11]]},"384":{"position":[[443,11]]},"387":{"position":[[337,11]]},"396":{"position":[[453,11]]},"411":{"position":[[1680,11],[1788,9]]},"412":{"position":[[13749,12]]},"424":{"position":[[405,8]]},"445":{"position":[[1603,16]]},"516":{"position":[[351,11]]},"519":{"position":[[228,11]]},"595":{"position":[[683,8]]},"617":{"position":[[571,8],[631,8]]},"618":{"position":[[90,11]]},"623":{"position":[[13,11]]},"630":{"position":[[233,9]]},"632":{"position":[[109,9]]},"670":{"position":[[156,10],[252,10],[375,10]]},"705":{"position":[[56,11]]},"784":{"position":[[321,8]]},"835":{"position":[[763,10]]},"837":{"position":[[592,10],[1191,11]]},"901":{"position":[[450,11]]},"1133":{"position":[[307,10]]},"1151":{"position":[[362,11]]},"1178":{"position":[[361,11]]},"1198":{"position":[[2236,8]]}},"keywords":{}}],["mainten",{"_index":2753,"title":{},"content":{"412":{"position":[[12030,11]]},"661":{"position":[[484,11]]}},"keywords":{}}],["major",{"_index":2172,"title":{"760":{"position":[[29,5]]}},"content":{"387":{"position":[[207,5]]},"408":{"position":[[4221,5],[4288,5]]},"410":{"position":[[987,5]]},"412":{"position":[[782,5]]},"445":{"position":[[437,5]]},"452":{"position":[[487,5]]},"454":{"position":[[115,5]]},"760":{"position":[[33,5]]},"774":{"position":[[927,5]]},"837":{"position":[[607,5]]},"965":{"position":[[395,5]]},"1198":{"position":[[2169,5]]}},"keywords":{}}],["make",{"_index":186,"title":{"247":{"position":[[5,5]]},"668":{"position":[[0,6]]},"799":{"position":[[0,4]]}},"content":{"13":{"position":[[77,5],[275,5]]},"15":{"position":[[492,4]]},"34":{"position":[[672,4]]},"35":{"position":[[199,6],[484,5]]},"41":{"position":[[132,5]]},"64":{"position":[[158,6]]},"65":{"position":[[678,4],[1494,6]]},"72":{"position":[[94,6]]},"83":{"position":[[195,4]]},"104":{"position":[[139,5]]},"105":{"position":[[130,6]]},"118":{"position":[[333,4]]},"126":{"position":[[284,4]]},"129":{"position":[[451,4]]},"142":{"position":[[4,4]]},"148":{"position":[[451,4]]},"164":{"position":[[203,4]]},"167":{"position":[[300,6]]},"174":{"position":[[634,5],[1449,6]]},"175":{"position":[[637,4]]},"179":{"position":[[201,4]]},"183":{"position":[[41,6]]},"186":{"position":[[336,4]]},"206":{"position":[[301,4]]},"207":{"position":[[296,5]]},"227":{"position":[[104,6]]},"236":{"position":[[285,6]]},"241":{"position":[[637,4]]},"265":{"position":[[833,5]]},"266":{"position":[[189,6]]},"267":{"position":[[21,4],[225,4],[580,5],[902,4],[1393,4]]},"271":{"position":[[292,4]]},"281":{"position":[[167,6]]},"282":{"position":[[343,5]]},"295":{"position":[[156,6]]},"325":{"position":[[194,6]]},"328":{"position":[[286,4]]},"362":{"position":[[124,5]]},"365":{"position":[[370,6],[776,6]]},"366":{"position":[[385,6]]},"369":{"position":[[1031,6]]},"371":{"position":[[246,4]]},"387":{"position":[[406,6]]},"393":{"position":[[366,6]]},"394":{"position":[[1736,6]]},"395":{"position":[[493,5]]},"399":{"position":[[200,6]]},"402":{"position":[[601,5],[2029,5]]},"407":{"position":[[702,5]]},"408":{"position":[[1822,5],[2242,6]]},"409":{"position":[[27,6]]},"411":{"position":[[3089,4],[3666,5]]},"412":{"position":[[5977,4],[12612,5],[14498,5],[14835,5]]},"427":{"position":[[525,5],[926,6]]},"432":{"position":[[468,6]]},"435":{"position":[[304,6]]},"441":{"position":[[135,4],[617,4]]},"445":{"position":[[882,6],[1905,6]]},"446":{"position":[[825,4]]},"452":{"position":[[340,5],[754,5]]},"453":{"position":[[678,4]]},"454":{"position":[[574,5]]},"455":{"position":[[477,4]]},"457":{"position":[[596,4]]},"462":{"position":[[972,5]]},"473":{"position":[[148,5]]},"489":{"position":[[505,5]]},"491":{"position":[[508,5]]},"500":{"position":[[303,6]]},"516":{"position":[[201,4]]},"528":{"position":[[147,6]]},"533":{"position":[[270,6]]},"535":{"position":[[206,6]]},"554":{"position":[[1160,4]]},"571":{"position":[[625,4]]},"590":{"position":[[703,4]]},"593":{"position":[[270,6]]},"595":{"position":[[219,6],[795,6]]},"611":{"position":[[507,6]]},"612":{"position":[[195,6]]},"613":{"position":[[346,5]]},"614":{"position":[[722,5]]},"617":{"position":[[921,5]]},"621":{"position":[[470,6]]},"623":{"position":[[556,6]]},"624":{"position":[[459,6],[750,5]]},"627":{"position":[[258,4]]},"650":{"position":[[102,4]]},"659":{"position":[[914,5]]},"661":{"position":[[1647,5]]},"662":{"position":[[279,5]]},"666":{"position":[[53,4]]},"668":{"position":[[8,4]]},"670":{"position":[[35,4]]},"679":{"position":[[109,4]]},"682":{"position":[[136,4]]},"683":{"position":[[553,4]]},"685":{"position":[[350,5]]},"686":{"position":[[554,5]]},"696":{"position":[[1,6],[548,4],[1609,4]]},"701":{"position":[[504,5]]},"702":{"position":[[358,4]]},"703":{"position":[[1089,5]]},"705":{"position":[[632,5]]},"711":{"position":[[2089,5]]},"714":{"position":[[277,6]]},"717":{"position":[[237,5]]},"723":{"position":[[1833,6]]},"737":{"position":[[83,5]]},"739":{"position":[[4,4]]},"749":{"position":[[5643,4]]},"770":{"position":[[601,4]]},"773":{"position":[[178,5]]},"781":{"position":[[826,5]]},"783":{"position":[[434,5]]},"784":{"position":[[33,4],[808,5]]},"785":{"position":[[390,4],[678,4]]},"795":{"position":[[54,4]]},"798":{"position":[[730,5]]},"799":{"position":[[92,4],[740,4]]},"800":{"position":[[45,4]]},"815":{"position":[[328,4]]},"821":{"position":[[201,5],[424,5],[747,5]]},"826":{"position":[[168,4]]},"828":{"position":[[402,5]]},"829":{"position":[[1167,6]]},"831":{"position":[[254,5]]},"835":{"position":[[985,5]]},"838":{"position":[[308,5],[511,6],[745,4]]},"860":{"position":[[800,6],[1158,5]]},"861":{"position":[[2314,4]]},"872":{"position":[[779,4]]},"875":{"position":[[9378,4]]},"884":{"position":[[41,4]]},"886":{"position":[[4701,4]]},"893":{"position":[[268,4]]},"898":{"position":[[2732,4]]},"904":{"position":[[29,4]]},"917":{"position":[[452,4]]},"932":{"position":[[318,4]]},"981":{"position":[[501,5],[657,5],[1328,6]]},"1009":{"position":[[863,4]]},"1044":{"position":[[1,6],[163,4]]},"1057":{"position":[[293,4]]},"1066":{"position":[[536,5]]},"1083":{"position":[[34,4]]},"1085":{"position":[[2733,4]]},"1088":{"position":[[668,4]]},"1093":{"position":[[114,5]]},"1097":{"position":[[470,4]]},"1104":{"position":[[30,4]]},"1107":{"position":[[1005,4]]},"1120":{"position":[[687,5]]},"1123":{"position":[[707,5]]},"1124":{"position":[[843,5]]},"1126":{"position":[[75,4]]},"1132":{"position":[[1174,6]]},"1135":{"position":[[340,4]]},"1143":{"position":[[388,5]]},"1175":{"position":[[71,4]]},"1184":{"position":[[237,4]]},"1194":{"position":[[95,5]]},"1208":{"position":[[544,4]]},"1213":{"position":[[419,4]]},"1227":{"position":[[111,4]]},"1249":{"position":[[130,5]]},"1265":{"position":[[104,4]]},"1282":{"position":[[274,5]]},"1300":{"position":[[310,4]]},"1304":{"position":[[1252,4]]},"1313":{"position":[[397,4]]},"1318":{"position":[[82,5]]},"1320":{"position":[[63,4],[106,6],[512,4]]},"1321":{"position":[[583,4],[1075,5]]},"1324":{"position":[[775,4],[1019,4]]}},"keywords":{}}],["male",{"_index":4654,"title":{},"content":{"798":{"position":[[684,7]]},"1066":{"position":[[490,7]]}},"keywords":{}}],["malform",{"_index":2080,"title":{},"content":{"361":{"position":[[159,9]]},"749":{"position":[[3301,9]]}},"keywords":{}}],["malici",{"_index":1714,"title":{},"content":{"298":{"position":[[363,9]]},"1316":{"position":[[2006,9]]}},"keywords":{}}],["man",{"_index":682,"title":{},"content":{"43":{"position":[[573,3]]},"52":{"position":[[121,5],[433,4]]},"539":{"position":[[121,5],[433,4]]},"556":{"position":[[1870,3]]},"599":{"position":[[130,5],[460,4]]}},"keywords":{}}],["manag",{"_index":252,"title":{"96":{"position":[[33,11]]},"219":{"position":[[25,11]]}},"content":{"15":{"position":[[162,8],[180,10]]},"21":{"position":[[114,10]]},"47":{"position":[[1151,10]]},"57":{"position":[[239,6]]},"66":{"position":[[633,6]]},"79":{"position":[[82,10]]},"96":{"position":[[46,10],[99,10]]},"112":{"position":[[253,10]]},"114":{"position":[[533,11]]},"117":{"position":[[121,6]]},"120":{"position":[[251,8]]},"128":{"position":[[296,6]]},"145":{"position":[[135,8]]},"151":{"position":[[362,10]]},"152":{"position":[[191,8]]},"153":{"position":[[252,11]]},"161":{"position":[[362,8]]},"173":{"position":[[137,6],[3009,11],[3060,10],[3150,11],[3184,10]]},"175":{"position":[[546,11]]},"178":{"position":[[244,8]]},"189":{"position":[[255,10]]},"208":{"position":[[37,6]]},"212":{"position":[[496,7]]},"219":{"position":[[64,10],[161,6]]},"237":{"position":[[81,10]]},"261":{"position":[[872,7]]},"270":{"position":[[256,6]]},"271":{"position":[[58,10]]},"282":{"position":[[318,7]]},"284":{"position":[[100,11]]},"285":{"position":[[331,10]]},"286":{"position":[[426,10]]},"287":{"position":[[228,10]]},"289":{"position":[[92,6]]},"295":{"position":[[364,10]]},"298":{"position":[[113,10]]},"306":{"position":[[150,6]]},"320":{"position":[[357,6]]},"321":{"position":[[489,7]]},"365":{"position":[[1461,10]]},"366":{"position":[[421,8]]},"370":{"position":[[175,6]]},"371":{"position":[[280,10]]},"386":{"position":[[196,7]]},"397":{"position":[[275,8]]},"408":{"position":[[1677,6]]},"411":{"position":[[1415,7],[1859,10],[1978,10],[2684,10]]},"412":{"position":[[1109,6],[9628,6]]},"416":{"position":[[358,7]]},"417":{"position":[[322,6]]},"427":{"position":[[584,8]]},"429":{"position":[[540,6]]},"444":{"position":[[87,10]]},"446":{"position":[[153,8]]},"447":{"position":[[294,8]]},"450":{"position":[[130,11]]},"478":{"position":[[79,7]]},"489":{"position":[[623,7]]},"494":{"position":[[52,10]]},"501":{"position":[[42,11]]},"503":{"position":[[226,10]]},"513":{"position":[[89,8],[233,11]]},"514":{"position":[[353,6]]},"518":{"position":[[288,10]]},"520":{"position":[[346,10]]},"521":{"position":[[542,10]]},"523":{"position":[[73,10]]},"530":{"position":[[63,10]]},"535":{"position":[[885,8]]},"542":{"position":[[1019,6]]},"569":{"position":[[1390,7]]},"571":{"position":[[1761,6]]},"574":{"position":[[99,10],[519,8]]},"576":{"position":[[196,11]]},"585":{"position":[[172,11]]},"590":{"position":[[322,6],[484,6]]},"595":{"position":[[960,8]]},"618":{"position":[[433,10]]},"688":{"position":[[317,6]]},"698":{"position":[[2172,6]]},"709":{"position":[[474,6]]},"715":{"position":[[186,6]]},"737":{"position":[[125,8],[162,8]]},"785":{"position":[[221,6],[270,10]]},"836":{"position":[[2037,11],[2159,8]]},"860":{"position":[[124,11]]},"903":{"position":[[81,6]]},"992":{"position":[[87,6]]},"1132":{"position":[[1376,10]]},"1140":{"position":[[172,6]]},"1147":{"position":[[179,7]]},"1148":{"position":[[112,11],[318,10]]},"1206":{"position":[[103,6]]}},"keywords":{}}],["mango",{"_index":4807,"title":{},"content":{"841":{"position":[[345,5]]},"1065":{"position":[[117,5]]},"1071":{"position":[[48,5],[121,5],[149,5]]},"1249":{"position":[[416,5],[455,5]]},"1251":{"position":[[129,5]]},"1252":{"position":[[21,5]]}},"keywords":{}}],["manhattan",{"_index":2291,"title":{},"content":{"393":{"position":[[233,9]]}},"keywords":{}}],["mani",{"_index":201,"title":{},"content":{"14":{"position":[[101,4]]},"22":{"position":[[138,4]]},"24":{"position":[[180,4]]},"28":{"position":[[743,4]]},"29":{"position":[[50,4]]},"58":{"position":[[32,4]]},"66":{"position":[[67,4]]},"247":{"position":[[29,4]]},"295":{"position":[[257,4]]},"310":{"position":[[328,4]]},"320":{"position":[[164,4]]},"353":{"position":[[474,4]]},"354":{"position":[[289,4],[297,4],[934,4],[1161,4]]},"359":{"position":[[1,4]]},"362":{"position":[[149,4]]},"365":{"position":[[1024,4]]},"367":{"position":[[188,4]]},"375":{"position":[[564,4]]},"377":{"position":[[146,4]]},"392":{"position":[[3306,4]]},"396":{"position":[[1603,4]]},"397":{"position":[[296,4]]},"398":{"position":[[3070,4]]},"402":{"position":[[1733,4]]},"408":{"position":[[520,4],[4524,4]]},"411":{"position":[[2209,4],[3755,4],[4148,4]]},"412":{"position":[[1383,4],[6016,4],[9808,4],[11739,5],[12754,4]]},"419":{"position":[[1293,4]]},"420":{"position":[[571,4]]},"421":{"position":[[1154,4]]},"439":{"position":[[195,4]]},"450":{"position":[[629,4]]},"452":{"position":[[679,4]]},"454":{"position":[[479,4]]},"457":{"position":[[666,4]]},"458":{"position":[[232,4]]},"463":{"position":[[32,4]]},"464":{"position":[[75,4]]},"467":{"position":[[289,4]]},"468":{"position":[[702,4],[720,4]]},"475":{"position":[[1,4]]},"544":{"position":[[13,4]]},"604":{"position":[[13,4]]},"617":{"position":[[2158,4]]},"619":{"position":[[17,4],[186,4]]},"622":{"position":[[261,4]]},"623":{"position":[[161,4]]},"624":{"position":[[1102,4]]},"627":{"position":[[11,4]]},"632":{"position":[[804,4]]},"661":{"position":[[1377,4]]},"681":{"position":[[90,4]]},"698":{"position":[[388,4]]},"701":{"position":[[432,4]]},"702":{"position":[[468,4]]},"703":{"position":[[122,4],[985,4]]},"705":{"position":[[25,4]]},"710":{"position":[[64,4],[464,4]]},"711":{"position":[[1874,4]]},"737":{"position":[[248,4]]},"752":{"position":[[811,4]]},"779":{"position":[[1,5]]},"782":{"position":[[412,4]]},"785":{"position":[[52,4]]},"808":{"position":[[445,4]]},"838":{"position":[[3290,4]]},"839":{"position":[[685,4]]},"840":{"position":[[166,4]]},"846":{"position":[[1094,4]]},"872":{"position":[[2654,4]]},"932":{"position":[[220,4]]},"944":{"position":[[25,4]]},"945":{"position":[[25,4]]},"947":{"position":[[93,4]]},"948":{"position":[[14,4]]},"951":{"position":[[6,4]]},"962":{"position":[[339,4]]},"988":{"position":[[2933,4]]},"989":{"position":[[403,4]]},"1105":{"position":[[895,4]]},"1112":{"position":[[164,4],[514,4]]},"1119":{"position":[[124,4]]},"1124":{"position":[[1373,4],[2194,4]]},"1132":{"position":[[46,4]]},"1146":{"position":[[41,4]]},"1149":{"position":[[99,4]]},"1164":{"position":[[203,4]]},"1186":{"position":[[54,4],[184,4]]},"1194":{"position":[[65,4]]},"1198":{"position":[[391,4],[689,4],[899,4],[1472,4],[1883,4]]},"1203":{"position":[[13,4]]},"1297":{"position":[[524,4]]},"1301":{"position":[[1290,4]]},"1309":{"position":[[208,4]]},"1316":{"position":[[581,4],[626,4],[2635,4],[2738,4],[2854,4],[2873,4],[2938,4]]},"1321":{"position":[[1058,4]]}},"keywords":{}}],["manipul",{"_index":1604,"title":{},"content":{"265":{"position":[[446,13]]},"276":{"position":[[314,10]]},"320":{"position":[[38,13]]},"335":{"position":[[83,10]]},"352":{"position":[[26,10]]},"353":{"position":[[643,12]]},"407":{"position":[[176,10]]},"435":{"position":[[378,12]]},"501":{"position":[[219,12]]},"502":{"position":[[355,12]]},"515":{"position":[[323,13]]},"559":{"position":[[1361,10]]},"686":{"position":[[360,10]]},"805":{"position":[[100,11]]},"1132":{"position":[[648,12]]},"1206":{"position":[[383,14]]}},"keywords":{}}],["manipulation.lack",{"_index":2904,"title":{},"content":{"430":{"position":[[911,17]]}},"keywords":{}}],["manner",{"_index":558,"title":{},"content":{"35":{"position":[[355,7]]},"121":{"position":[[263,7]]},"134":{"position":[[346,7]]},"364":{"position":[[629,6]]},"395":{"position":[[335,7]]},"613":{"position":[[284,8]]}},"keywords":{}}],["manual",{"_index":858,"title":{"654":{"position":[[16,9]]}},"content":{"57":{"position":[[211,6]]},"103":{"position":[[154,6]]},"143":{"position":[[131,8],[319,8]]},"159":{"position":[[280,6]]},"185":{"position":[[345,6]]},"233":{"position":[[214,6]]},"301":{"position":[[152,8]]},"326":{"position":[[247,6]]},"346":{"position":[[209,8]]},"360":{"position":[[164,6]]},"379":{"position":[[166,6]]},"411":{"position":[[3047,6]]},"412":{"position":[[3567,6],[5144,9]]},"421":{"position":[[419,6]]},"461":{"position":[[596,9]]},"487":{"position":[[468,6]]},"490":{"position":[[283,8]]},"515":{"position":[[112,6]]},"518":{"position":[[326,8]]},"521":{"position":[[645,6]]},"542":{"position":[[1040,9]]},"559":{"position":[[1265,8]]},"566":{"position":[[240,6],[511,6],[1121,8],[1302,8]]},"570":{"position":[[620,6]]},"580":{"position":[[109,8]]},"585":{"position":[[256,6]]},"630":{"position":[[461,6]]},"632":{"position":[[380,6]]},"654":{"position":[[9,8],[90,8]]},"655":{"position":[[296,8]]},"690":{"position":[[418,6]]},"698":{"position":[[1458,8]]},"723":{"position":[[1299,6]]},"857":{"position":[[112,8]]},"861":{"position":[[799,8]]},"910":{"position":[[367,9]]},"943":{"position":[[212,8]]},"1067":{"position":[[1926,8],[2084,8]]},"1150":{"position":[[665,6]]},"1177":{"position":[[527,8]]},"1315":{"position":[[537,9]]},"1322":{"position":[[407,8]]}},"keywords":{}}],["map",{"_index":1614,"title":{"643":{"position":[[19,6]]},"787":{"position":[[23,7]]},"1179":{"position":[[7,6]]},"1182":{"position":[[17,6]]}},"content":{"266":{"position":[[753,6]]},"352":{"position":[[331,3]]},"392":{"position":[[3907,7]]},"408":{"position":[[4769,6]]},"419":{"position":[[1729,4]]},"430":{"position":[[1069,5]]},"469":{"position":[[884,6],[920,4]]},"643":{"position":[[135,6]]},"683":{"position":[[81,6]]},"714":{"position":[[1017,6]]},"774":{"position":[[122,6],[636,8]]},"789":{"position":[[112,6]]},"793":{"position":[[535,6]]},"820":{"position":[[480,6]]},"875":{"position":[[9332,3]]},"898":{"position":[[1854,4],[3541,3],[4221,6],[4388,3]]},"951":{"position":[[164,3],[209,6],[312,4],[454,3]]},"986":{"position":[[1575,3]]},"988":{"position":[[1946,4]]},"1006":{"position":[[119,3]]},"1022":{"position":[[392,7],[494,4],[632,7],[722,7]]},"1023":{"position":[[288,7],[373,7]]},"1084":{"position":[[109,3]]},"1090":{"position":[[404,6],[746,8],[1361,6]]},"1162":{"position":[[1114,6]]},"1181":{"position":[[368,6],[819,6]]},"1182":{"position":[[160,8],[372,6]]},"1183":{"position":[[19,6],[316,6],[548,6]]},"1184":{"position":[[98,6],[339,6],[526,8]]},"1185":{"position":[[34,6]]},"1186":{"position":[[28,6]]},"1192":{"position":[[282,6]]},"1195":{"position":[[259,7]]},"1239":{"position":[[127,6],[668,8]]},"1246":{"position":[[1228,7],[1248,6]]},"1292":{"position":[[541,6]]},"1324":{"position":[[182,7]]}},"keywords":{}}],["map(2",{"_index":5364,"title":{},"content":{"951":{"position":[[437,6]]}},"keywords":{}}],["map(doc",{"_index":1139,"title":{},"content":{"143":{"position":[[683,8]]}},"keywords":{}}],["map(result",{"_index":5780,"title":{},"content":{"1067":{"position":[[2179,10]]}},"keywords":{}}],["map/reduc",{"_index":4806,"title":{},"content":{"841":{"position":[[325,10]]}},"keywords":{}}],["mapreduc",{"_index":4781,"title":{},"content":{"837":{"position":[[1676,9],[1700,11]]}},"keywords":{}}],["march",{"_index":3621,"title":{},"content":{"613":{"position":[[643,6]]},"620":{"position":[[597,5]]}},"keywords":{}}],["mark",{"_index":2669,"title":{},"content":{"412":{"position":[[2110,7]]},"564":{"position":[[977,6]]},"617":{"position":[[1715,6]]},"638":{"position":[[831,4]]},"741":{"position":[[31,6]]},"742":{"position":[[50,6]]},"826":{"position":[[32,6],[222,6]]},"861":{"position":[[1938,4]]},"898":{"position":[[599,4]]},"986":{"position":[[572,4],[1470,4]]},"988":{"position":[[1733,5]]},"1208":{"position":[[1495,4]]},"1316":{"position":[[823,4]]}},"keywords":{}}],["markedli",{"_index":4668,"title":{},"content":{"802":{"position":[[89,8]]}},"keywords":{}}],["market",{"_index":2813,"title":{},"content":{"419":{"position":[[1618,9]]},"676":{"position":[[145,9]]},"699":{"position":[[313,9]]}},"keywords":{}}],["mass",{"_index":2591,"title":{},"content":{"410":{"position":[[733,4]]}},"keywords":{}}],["massag",{"_index":6335,"title":{},"content":{"1272":{"position":[[120,8]]}},"keywords":{}}],["massiv",{"_index":1848,"title":{},"content":{"303":{"position":[[1122,7]]},"304":{"position":[[479,7]]},"412":{"position":[[7584,7]]},"418":{"position":[[330,7]]},"902":{"position":[[331,7]]},"1006":{"position":[[190,8]]}},"keywords":{}}],["master",{"_index":380,"title":{},"content":{"23":{"position":[[98,6],[146,6],[247,6]]},"261":{"position":[[198,6]]},"875":{"position":[[4104,6]]},"903":{"position":[[344,6]]},"982":{"position":[[398,6],[433,6],[498,6],[534,6],[608,6],[628,6],[670,6]]},"983":{"position":[[474,7],[623,6],[772,6]]},"987":{"position":[[284,6],[381,6],[416,6],[473,6],[655,7],[817,6]]},"1164":{"position":[[1234,6]]},"1309":{"position":[[1030,6]]}},"keywords":{}}],["master.th",{"_index":5436,"title":{},"content":{"982":{"position":[[319,10]]}},"keywords":{}}],["master/serv",{"_index":5435,"title":{},"content":{"982":{"position":[[132,13],[186,14],[220,13]]},"987":{"position":[[187,13],[684,13]]}},"keywords":{}}],["match",{"_index":942,"title":{},"content":{"66":{"position":[[219,5]]},"287":{"position":[[251,5]]},"360":{"position":[[73,8]]},"390":{"position":[[345,7],[1243,7]]},"392":{"position":[[4979,5]]},"393":{"position":[[1128,5]]},"402":{"position":[[745,8]]},"559":{"position":[[1508,9]]},"681":{"position":[[668,8],[783,7],[853,6]]},"685":{"position":[[636,5]]},"723":{"position":[[262,9],[2258,9],[2395,9]]},"749":{"position":[[137,5],[2701,7],[12336,5],[13568,5],[16854,5],[22166,5]]},"796":{"position":[[728,8]]},"898":{"position":[[1697,5]]},"935":{"position":[[205,5]]},"1063":{"position":[[41,7]]},"1065":{"position":[[395,5],[1242,5]]},"1067":{"position":[[49,5],[910,5]]},"1084":{"position":[[319,5]]},"1085":{"position":[[3061,5],[3403,5]]},"1305":{"position":[[878,7]]},"1322":{"position":[[171,6]]}},"keywords":{}}],["matcher",{"_index":5777,"title":{},"content":{"1067":{"position":[[1903,8]]}},"keywords":{}}],["matchingamount",{"_index":5773,"title":{},"content":{"1067":{"position":[[438,14]]}},"keywords":{}}],["matdialog",{"_index":1096,"title":{},"content":{"130":{"position":[[428,9]]}},"keywords":{}}],["materi",{"_index":2814,"title":{},"content":{"419":{"position":[[1628,10]]}},"keywords":{}}],["math.max(input.newdocumentstate.scor",{"_index":3917,"title":{},"content":{"691":{"position":[[434,38]]}},"keywords":{}}],["mathemat",{"_index":2682,"title":{},"content":{"412":{"position":[[3725,14]]}},"keywords":{}}],["matter",{"_index":2089,"title":{"550":{"position":[[18,8]]}},"content":{"362":{"position":[[249,6]]},"412":{"position":[[4091,6]]},"418":{"position":[[102,7]]},"498":{"position":[[642,6]]},"617":{"position":[[2147,6]]},"654":{"position":[[371,6]]},"737":{"position":[[237,6]]},"981":{"position":[[715,6]]},"1044":{"position":[[195,6]]},"1107":{"position":[[291,7]]},"1124":{"position":[[1153,6]]},"1301":{"position":[[1279,6]]},"1316":{"position":[[159,6]]},"1321":{"position":[[1047,6]]}},"keywords":{}}],["matur",{"_index":620,"title":{},"content":{"39":{"position":[[270,6]]},"837":{"position":[[234,7]]}},"keywords":{}}],["max",{"_index":1466,"title":{"297":{"position":[[10,3]]},"304":{"position":[[10,3]]}},"content":{"243":{"position":[[622,3],[723,3],[764,3],[822,3],[919,3]]},"301":{"position":[[404,3]]},"306":{"position":[[331,3]]},"461":{"position":[[1434,3]]},"773":{"position":[[795,3],[871,3]]},"849":{"position":[[569,3]]},"863":{"position":[[159,3]]}},"keywords":{}}],["maxag",{"_index":6426,"title":{},"content":{"1294":{"position":[[771,6],[1382,6]]}},"keywords":{}}],["maxim",{"_index":1044,"title":{},"content":{"107":{"position":[[142,9]]}},"keywords":{}}],["maximum",{"_index":1712,"title":{},"content":{"298":{"position":[[284,7],[691,7]]},"461":{"position":[[990,7]]},"680":{"position":[[937,8]]},"681":{"position":[[281,7]]},"696":{"position":[[1193,7]]},"749":{"position":[[20630,7],[21321,7]]},"1074":{"position":[[594,7]]},"1079":{"position":[[356,7]]},"1080":{"position":[[543,7],[578,8]]},"1186":{"position":[[169,7]]},"1321":{"position":[[1092,7]]}},"keywords":{}}],["maxlenght",{"_index":1382,"title":{},"content":{"211":{"position":[[469,10]]}},"keywords":{}}],["maxlength",{"_index":774,"title":{},"content":{"51":{"position":[[425,10]]},"188":{"position":[[1302,10],[1344,10],[1387,10]]},"209":{"position":[[507,10]]},"255":{"position":[[851,10]]},"259":{"position":[[151,10]]},"367":{"position":[[846,10],[900,9],[937,10]]},"392":{"position":[[653,10],[1619,10]]},"397":{"position":[[504,10]]},"538":{"position":[[726,10]]},"554":{"position":[[1408,10]]},"598":{"position":[[733,10]]},"632":{"position":[[1601,10]]},"638":{"position":[[685,10]]},"639":{"position":[[463,10]]},"662":{"position":[[2464,10]]},"680":{"position":[[893,10]]},"717":{"position":[[1502,10]]},"734":{"position":[[767,10],[821,9]]},"749":{"position":[[20194,9],[20885,9],[21333,9],[21533,9],[21588,9]]},"838":{"position":[[2678,10]]},"862":{"position":[[733,10]]},"872":{"position":[[1958,10],[4188,10]]},"898":{"position":[[2538,10]]},"904":{"position":[[940,10]]},"1074":{"position":[[1038,9]]},"1078":{"position":[[546,10],[600,9]]},"1079":{"position":[[284,9]]},"1080":{"position":[[169,10],[223,9],[265,10],[344,10]]},"1082":{"position":[[254,10],[308,9]]},"1083":{"position":[[454,10],[508,9]]},"1149":{"position":[[1131,10]]},"1296":{"position":[[1283,9]]}},"keywords":{}}],["mayb",{"_index":2702,"title":{},"content":{"412":{"position":[[5786,5],[10113,5]]},"1124":{"position":[[1674,5]]}},"keywords":{}}],["mb",{"_index":1723,"title":{},"content":{"298":{"position":[[631,2],[650,2]]},"299":{"position":[[445,2],[505,2],[1293,2],[1321,2]]},"461":{"position":[[715,2],[724,2],[811,2],[836,2],[861,2]]},"1157":{"position":[[164,2]]}},"keywords":{}}],["mb)xenova/al",{"_index":2446,"title":{},"content":{"401":{"position":[[191,14]]}},"keywords":{}}],["mdn",{"_index":3445,"title":{},"content":{"567":{"position":[[893,4]]},"1208":{"position":[[1995,4]]}},"keywords":{}}],["mean",{"_index":9,"title":{},"content":{"1":{"position":[[111,5]]},"14":{"position":[[382,5]]},"28":{"position":[[397,5]]},"37":{"position":[[367,4]]},"40":{"position":[[516,5]]},"50":{"position":[[58,7]]},"65":{"position":[[232,5]]},"123":{"position":[[87,5]]},"125":{"position":[[68,5]]},"201":{"position":[[217,5]]},"273":{"position":[[87,5]]},"291":{"position":[[104,5]]},"294":{"position":[[91,5]]},"312":{"position":[[276,7]]},"327":{"position":[[83,5]]},"351":{"position":[[227,5]]},"354":{"position":[[1034,4]]},"390":{"position":[[458,7]]},"392":{"position":[[3099,7]]},"398":{"position":[[233,7]]},"402":{"position":[[1218,5],[1326,5],[1540,5],[1870,5]]},"408":{"position":[[3617,5]]},"410":{"position":[[50,5]]},"411":{"position":[[4252,5]]},"412":{"position":[[5864,5],[8151,5],[11308,5],[12938,5]]},"427":{"position":[[228,5]]},"450":{"position":[[417,5]]},"451":{"position":[[560,5]]},"455":{"position":[[583,5]]},"534":{"position":[[328,5]]},"569":{"position":[[1079,4],[1125,4]]},"570":{"position":[[110,4],[274,5],[424,5]]},"594":{"position":[[326,5]]},"696":{"position":[[31,5]]},"703":{"position":[[1469,5]]},"714":{"position":[[69,5],[330,5],[553,5]]},"723":{"position":[[483,5],[1580,7]]},"728":{"position":[[52,5]]},"751":{"position":[[558,6],[969,6],[1660,6]]},"764":{"position":[[123,5]]},"778":{"position":[[146,5]]},"781":{"position":[[329,5]]},"801":{"position":[[437,5]]},"836":{"position":[[1445,5]]},"838":{"position":[[92,5]]},"890":{"position":[[476,6]]},"948":{"position":[[127,5]]},"968":{"position":[[680,5]]},"986":{"position":[[132,5]]},"1030":{"position":[[148,5]]},"1033":{"position":[[175,5]]},"1052":{"position":[[443,5]]},"1069":{"position":[[180,6]]},"1074":{"position":[[161,5],[441,5]]},"1085":{"position":[[785,5],[2489,5],[2908,5]]},"1150":{"position":[[486,5]]},"1192":{"position":[[61,5],[155,5]]},"1304":{"position":[[37,4]]},"1320":{"position":[[146,5]]}},"keywords":{}}],["meaningless",{"_index":6564,"title":{},"content":{"1316":{"position":[[3803,11]]}},"keywords":{}}],["meant",{"_index":570,"title":{},"content":{"36":{"position":[[148,5]]},"699":{"position":[[302,5]]}},"keywords":{}}],["meantim",{"_index":3771,"title":{},"content":{"656":{"position":[[188,9]]},"875":{"position":[[8701,9]]}},"keywords":{}}],["meanwhil",{"_index":5564,"title":{},"content":{"1007":{"position":[[1036,10]]}},"keywords":{}}],["measur",{"_index":1981,"title":{"1194":{"position":[[0,13]]}},"content":{"346":{"position":[[833,7]]},"360":{"position":[[839,7]]},"377":{"position":[[275,8]]},"393":{"position":[[147,7]]},"463":{"position":[[557,12]]},"465":{"position":[[46,7]]},"798":{"position":[[169,7]]},"821":{"position":[[980,12]]},"1138":{"position":[[571,13]]},"1191":{"position":[[568,12]]},"1193":{"position":[[48,12],[222,12]]},"1194":{"position":[[32,9],[198,7],[1017,7]]},"1297":{"position":[[510,8]]}},"keywords":{}}],["mechan",{"_index":550,"title":{"208":{"position":[[19,9]]}},"content":{"35":{"position":[[144,10]]},"59":{"position":[[105,9]]},"99":{"position":[[45,10],[320,11]]},"110":{"position":[[106,10]]},"124":{"position":[[33,9]]},"129":{"position":[[192,10],[302,9]]},"134":{"position":[[137,10]]},"146":{"position":[[23,10]]},"168":{"position":[[47,11]]},"173":{"position":[[725,9]]},"192":{"position":[[255,11]]},"216":{"position":[[52,11]]},"223":{"position":[[175,10]]},"240":{"position":[[170,10]]},"283":{"position":[[369,9]]},"369":{"position":[[920,10]]},"386":{"position":[[166,9]]},"410":{"position":[[2077,10]]},"436":{"position":[[124,9]]},"487":{"position":[[355,9]]},"500":{"position":[[621,11]]},"510":{"position":[[302,11]]},"517":{"position":[[163,10]]},"525":{"position":[[244,9]]},"527":{"position":[[90,10]]},"632":{"position":[[138,10]]},"656":{"position":[[385,10]]}},"keywords":{}}],["mechanism.webtransport",{"_index":3673,"title":{},"content":{"623":{"position":[[594,23]]}},"keywords":{}}],["media",{"_index":2946,"title":{},"content":{"446":{"position":[[944,5]]}},"keywords":{}}],["medium",{"_index":3443,"title":{},"content":{"566":{"position":[[748,6]]},"780":{"position":[[402,7]]}},"keywords":{}}],["meet",{"_index":1622,"title":{},"content":{"267":{"position":[[1645,5]]},"295":{"position":[[321,4]]},"378":{"position":[[74,4]]},"567":{"position":[[709,7],[1110,4]]}},"keywords":{}}],["megabyt",{"_index":1413,"title":{},"content":{"228":{"position":[[423,8],[455,8]]},"408":{"position":[[899,9]]},"524":{"position":[[836,8]]},"696":{"position":[[1155,9]]}},"keywords":{}}],["membas",{"_index":412,"title":{},"content":{"25":{"position":[[32,8]]}},"keywords":{}}],["memdown",{"_index":39,"title":{"2":{"position":[[0,8]]}},"content":{"2":{"position":[[80,7],[113,7],[286,7]]}},"keywords":{}}],["memori",{"_index":2,"title":{"1":{"position":[[0,7]]},"264":{"position":[[11,6]]},"643":{"position":[[12,6]]},"706":{"position":[[78,6]]},"773":{"position":[[19,6]]},"774":{"position":[[10,6]]},"1090":{"position":[[10,6]]},"1145":{"position":[[55,6]]},"1160":{"position":[[0,6]]},"1165":{"position":[[35,6]]},"1166":{"position":[[0,6]]},"1179":{"position":[[0,6]]},"1182":{"position":[[10,6]]},"1241":{"position":[[0,7]]},"1299":{"position":[[3,6]]},"1300":{"position":[[3,7]]},"1301":{"position":[[3,7]]}},"content":{"1":{"position":[[37,6],[98,7],[448,6],[502,10]]},"16":{"position":[[86,7]]},"17":{"position":[[418,6]]},"28":{"position":[[39,6],[93,7]]},"30":{"position":[[100,6]]},"32":{"position":[[38,6]]},"42":{"position":[[34,6]]},"131":{"position":[[788,6]]},"161":{"position":[[119,6]]},"162":{"position":[[621,6]]},"189":{"position":[[147,6],[243,6],[502,6],[534,7]]},"265":{"position":[[50,6],[102,6],[177,7],[735,6]]},"266":{"position":[[25,6],[288,6],[453,6],[638,8],[746,6],[844,6],[909,6]]},"267":{"position":[[163,6],[1153,6],[1313,6]]},"287":{"position":[[899,6],[986,7]]},"304":{"position":[[210,6],[295,6],[490,6]]},"311":{"position":[[75,7]]},"336":{"position":[[364,7]]},"346":{"position":[[451,6]]},"358":{"position":[[535,7],[724,6],[781,7]]},"365":{"position":[[146,6],[250,7],[432,6],[481,6]]},"368":{"position":[[181,7]]},"376":{"position":[[275,6]]},"408":{"position":[[4762,6]]},"411":{"position":[[2217,6]]},"412":{"position":[[9283,6],[14458,7]]},"430":{"position":[[512,6],[1037,6]]},"450":{"position":[[746,6]]},"458":{"position":[[374,6]]},"463":{"position":[[733,8],[1413,9]]},"464":{"position":[[383,8]]},"465":{"position":[[244,8]]},"466":{"position":[[207,8]]},"467":{"position":[[182,8],[500,6]]},"469":{"position":[[877,6],[942,7]]},"504":{"position":[[380,7]]},"524":{"position":[[523,7]]},"528":{"position":[[113,6]]},"554":{"position":[[329,6],[637,6],[796,8]]},"581":{"position":[[368,7]]},"640":{"position":[[385,6]]},"643":{"position":[[128,6]]},"666":{"position":[[352,6]]},"693":{"position":[[843,9],[1147,9]]},"709":{"position":[[1403,6]]},"710":{"position":[[514,6],[577,6]]},"714":{"position":[[1010,6],[1095,6]]},"723":{"position":[[100,6],[2046,7]]},"724":{"position":[[1212,6]]},"772":{"position":[[2019,6]]},"773":{"position":[[61,6],[131,6],[323,6],[534,8],[662,6],[844,6]]},"774":{"position":[[46,6],[115,6],[190,6],[245,6],[629,6],[981,6],[1066,6]]},"793":{"position":[[255,6],[528,6]]},"800":{"position":[[399,6]]},"815":{"position":[[33,7]]},"838":{"position":[[1218,6],[1281,6],[1622,6]]},"872":{"position":[[1449,6],[1651,8]]},"898":{"position":[[2139,6]]},"955":{"position":[[82,6]]},"976":{"position":[[58,6]]},"1072":{"position":[[174,7]]},"1085":{"position":[[3517,6]]},"1090":{"position":[[71,6],[270,6],[343,6],[397,6],[502,8],[739,6],[1169,6],[1354,6]]},"1120":{"position":[[231,6],[674,6]]},"1124":{"position":[[1691,6]]},"1137":{"position":[[78,6]]},"1161":{"position":[[77,6]]},"1162":{"position":[[178,6],[339,6],[431,6],[574,7],[724,6],[861,6],[958,6],[1017,6],[1107,6]]},"1163":{"position":[[153,6],[365,6]]},"1164":{"position":[[462,6],[650,6],[927,6],[1038,6]]},"1165":{"position":[[5,6],[630,6],[944,6]]},"1168":{"position":[[115,8]]},"1174":{"position":[[180,6]]},"1180":{"position":[[77,6],[399,6]]},"1181":{"position":[[73,6],[244,6],[361,6],[426,6],[518,6],[662,7],[812,6]]},"1182":{"position":[[153,6],[365,6]]},"1183":{"position":[[12,6],[309,6],[541,6]]},"1184":{"position":[[91,6],[223,6],[332,6],[519,6]]},"1185":{"position":[[27,6],[114,6]]},"1186":{"position":[[21,6]]},"1192":{"position":[[275,6],[307,6],[453,6],[594,6]]},"1195":{"position":[[252,6]]},"1219":{"position":[[320,8]]},"1239":{"position":[[120,6],[169,7],[350,7],[661,6]]},"1241":{"position":[[56,6]]},"1244":{"position":[[110,6]]},"1246":{"position":[[1221,6],[1241,6],[1332,6],[1397,6]]},"1271":{"position":[[494,7]]},"1292":{"position":[[396,6],[433,6],[534,6],[578,6],[627,6]]},"1299":{"position":[[153,6],[222,6],[300,6]]},"1300":{"position":[[255,6]]},"1301":{"position":[[184,6]]},"1321":{"position":[[1,6],[443,7],[565,7],[773,7],[1026,6]]}},"keywords":{}}],["memory)no",{"_index":6416,"title":{},"content":{"1292":{"position":[[935,10]]}},"keywords":{}}],["memory.it",{"_index":6126,"title":{},"content":{"1170":{"position":[[57,9]]}},"keywords":{}}],["memory.slow",{"_index":6128,"title":{},"content":{"1171":{"position":[[195,11]]}},"keywords":{}}],["memory.watermelondb",{"_index":6578,"title":{},"content":{"1324":{"position":[[489,19]]}},"keywords":{}}],["memorydatabas",{"_index":6123,"title":{},"content":{"1165":{"position":[[1044,14]]}},"keywords":{}}],["memorydatabase.addcollect",{"_index":6124,"title":{},"content":{"1165":{"position":[[1145,32]]}},"keywords":{}}],["memorysyncedstorag",{"_index":6117,"title":{},"content":{"1165":{"position":[[341,19],[1115,19]]}},"keywords":{}}],["mention",{"_index":209,"title":{},"content":{"14":{"position":[[329,9]]},"164":{"position":[[4,9]]},"1316":{"position":[[2653,9]]}},"keywords":{}}],["meow",{"_index":4611,"title":{},"content":{"792":{"position":[[376,5]]},"932":{"position":[[180,6]]}},"keywords":{}}],["merg",{"_index":1310,"title":{"691":{"position":[[9,7]]}},"content":{"203":{"position":[[226,5]]},"250":{"position":[[241,7],[321,6]]},"339":{"position":[[163,7]]},"356":{"position":[[613,6]]},"411":{"position":[[1435,6],[3441,6]]},"412":{"position":[[2335,5],[2385,5],[3064,5],[3492,5],[3574,5],[3740,5],[4081,6],[4402,5],[5375,5]]},"495":{"position":[[209,7]]},"496":{"position":[[207,7],[277,5]]},"565":{"position":[[197,5]]},"590":{"position":[[866,5]]},"632":{"position":[[502,6],[2710,6]]},"635":{"position":[[174,5],[353,7]]},"668":{"position":[[297,6]]},"687":{"position":[[181,5]]},"688":{"position":[[41,5],[852,5]]},"689":{"position":[[48,8],[197,5],[342,6]]},"690":{"position":[[75,5],[224,7],[302,6],[546,8]]},"691":{"position":[[170,5],[587,6]]},"982":{"position":[[116,6]]},"1119":{"position":[[211,5]]},"1133":{"position":[[633,7]]},"1186":{"position":[[48,5]]},"1252":{"position":[[327,7]]},"1309":{"position":[[1107,5]]}},"keywords":{}}],["mergefieldshandl",{"_index":3911,"title":{},"content":{"691":{"position":[[216,18]]}},"keywords":{}}],["mergemap(async",{"_index":5509,"title":{},"content":{"995":{"position":[[1627,16]]}},"keywords":{}}],["merit",{"_index":1240,"title":{},"content":{"186":{"position":[[162,7]]}},"keywords":{}}],["messag",{"_index":1617,"title":{"748":{"position":[[11,8]]},"749":{"position":[[15,9]]},"1220":{"position":[[15,9]]}},"content":{"267":{"position":[[142,10],[298,9],[344,8]]},"316":{"position":[[304,8]]},"379":{"position":[[259,8]]},"392":{"position":[[3356,8]]},"408":{"position":[[4482,9]]},"414":{"position":[[39,8],[94,8],[183,8]]},"415":{"position":[[156,8]]},"416":{"position":[[135,8],[170,8]]},"446":{"position":[[511,9]]},"458":{"position":[[1110,8],[1547,8]]},"564":{"position":[[1092,9]]},"610":{"position":[[71,9]]},"611":{"position":[[763,7]]},"612":{"position":[[847,8],[966,7],[1229,7],[1297,8],[1523,7],[2038,7],[2252,7],[2297,8]]},"617":{"position":[[116,9]]},"620":{"position":[[332,8]]},"621":{"position":[[295,8]]},"622":{"position":[[249,8]]},"639":{"position":[[481,8]]},"675":{"position":[[62,7]]},"696":{"position":[[421,8],[473,8]]},"711":{"position":[[1438,7]]},"737":{"position":[[356,9]]},"751":{"position":[[493,9],[797,9],[1241,7],[1595,9]]},"752":{"position":[[398,9]]},"865":{"position":[[89,7]]},"968":{"position":[[594,7]]},"1013":{"position":[[491,9]]},"1151":{"position":[[75,7],[149,7],[532,8]]},"1178":{"position":[[75,7],[148,7],[531,8]]},"1207":{"position":[[831,7]]},"1218":{"position":[[40,7],[149,9],[476,10],[824,10]]},"1220":{"position":[[52,8]]},"1228":{"position":[[245,9]]},"1246":{"position":[[766,7]]}},"keywords":{}}],["messagechannelcr",{"_index":6244,"title":{},"content":{"1218":{"position":[[83,21],[426,22]]}},"keywords":{}}],["messagecol",{"_index":4459,"title":{},"content":{"752":{"position":[[351,10]]}},"keywords":{}}],["messagecol.getmigrationst",{"_index":4464,"title":{},"content":{"752":{"position":[[865,31]]}},"keywords":{}}],["messagecol.migratepromise(10",{"_index":4472,"title":{},"content":{"752":{"position":[[1423,30]]}},"keywords":{}}],["messagecol.migrationneed",{"_index":4460,"title":{},"content":{"752":{"position":[[665,29]]}},"keywords":{}}],["messagecol.startmigration(10",{"_index":4462,"title":{},"content":{"752":{"position":[[751,30]]}},"keywords":{}}],["messageoruncaught",{"_index":6238,"title":{},"content":{"1213":{"position":[[841,17]]}},"keywords":{}}],["messageschema",{"_index":5597,"title":{},"content":{"1013":{"position":[[511,14]]}},"keywords":{}}],["messageschemav1",{"_index":4443,"title":{},"content":{"751":{"position":[[513,16],[817,16],[1615,16]]},"752":{"position":[[418,16]]}},"keywords":{}}],["met",{"_index":6550,"title":{},"content":{"1316":{"position":[[1313,4]]}},"keywords":{}}],["meta",{"_index":2900,"title":{"1153":{"position":[[23,4]]}},"content":{"429":{"position":[[522,4]]},"469":{"position":[[635,4]]},"719":{"position":[[324,4],[408,4]]},"746":{"position":[[591,4]]},"793":{"position":[[580,4]]},"1004":{"position":[[346,4]]},"1051":{"position":[[359,4]]},"1072":{"position":[[2144,4],[2399,4]]},"1079":{"position":[[263,4]]},"1154":{"position":[[5,4],[295,4]]},"1238":{"position":[[395,4],[772,4]]},"1239":{"position":[[573,4]]},"1246":{"position":[[1608,4],[1652,4]]}},"keywords":{}}],["metadata",{"_index":3092,"title":{},"content":{"469":{"position":[[671,8]]},"495":{"position":[[591,8]]},"724":{"position":[[585,8]]},"999":{"position":[[41,8],[197,9]]},"1005":{"position":[[224,8]]},"1028":{"position":[[58,8]]},"1188":{"position":[[257,9]]},"1246":{"position":[[1875,8]]}},"keywords":{}}],["metastorageinst",{"_index":4120,"title":{},"content":{"746":{"position":[[639,21]]}},"keywords":{}}],["meteor",{"_index":244,"title":{"15":{"position":[[0,7]]}},"content":{"15":{"position":[[3,6],[95,6],[347,6],[499,6]]}},"keywords":{}}],["meteorjss",{"_index":270,"title":{},"content":{"16":{"position":[[25,10]]}},"keywords":{}}],["method",{"_index":901,"title":{"396":{"position":[[16,8]]},"400":{"position":[[25,8]]},"425":{"position":[[24,8]]},"790":{"position":[[9,8]]},"791":{"position":[[13,7]]},"792":{"position":[[11,8]]},"810":{"position":[[4,7]]},"969":{"position":[[0,8]]},"1025":{"position":[[11,8]]},"1044":{"position":[[39,8]]}},"content":{"65":{"position":[[29,7]]},"145":{"position":[[243,7]]},"188":{"position":[[880,7]]},"209":{"position":[[847,7]]},"255":{"position":[[1193,7]]},"288":{"position":[[235,7]]},"289":{"position":[[1797,6]]},"300":{"position":[[510,6]]},"303":{"position":[[1380,6]]},"393":{"position":[[122,7],[357,8],[409,6],[654,6],[746,6]]},"394":{"position":[[1368,6]]},"396":{"position":[[9,7],[1752,6]]},"397":{"position":[[1426,7]]},"398":{"position":[[152,6],[455,8],[2912,7],[3188,6],[3287,6]]},"400":{"position":[[7,6],[161,6],[481,6]]},"418":{"position":[[677,6]]},"425":{"position":[[132,7]]},"434":{"position":[[25,6]]},"440":{"position":[[108,8]]},"450":{"position":[[546,8]]},"451":{"position":[[186,7]]},"452":{"position":[[536,6]]},"453":{"position":[[413,7]]},"460":{"position":[[1160,6]]},"462":{"position":[[54,7]]},"468":{"position":[[376,6]]},"481":{"position":[[284,8]]},"496":{"position":[[48,7]]},"610":{"position":[[81,6],[632,6]]},"617":{"position":[[126,8]]},"618":{"position":[[592,6]]},"626":{"position":[[1082,6]]},"682":{"position":[[269,6]]},"690":{"position":[[464,7]]},"711":{"position":[[2049,6]]},"749":{"position":[[4243,6],[8153,6],[8245,6],[8359,6],[8552,6]]},"775":{"position":[[223,8]]},"790":{"position":[[10,7]]},"791":{"position":[[78,8],[337,8]]},"792":{"position":[[12,7]]},"806":{"position":[[248,7]]},"810":{"position":[[60,7]]},"846":{"position":[[442,6],[1508,6]]},"848":{"position":[[142,6],[963,6],[1076,6]]},"851":{"position":[[384,7]]},"852":{"position":[[43,7],[76,6]]},"854":{"position":[[1713,7]]},"866":{"position":[[131,6]]},"875":{"position":[[6273,7],[7152,6]]},"886":{"position":[[5025,6]]},"890":{"position":[[218,8]]},"904":{"position":[[1710,6]]},"910":{"position":[[76,7]]},"934":{"position":[[96,7],[372,8]]},"937":{"position":[[30,7]]},"943":{"position":[[25,6]]},"949":{"position":[[48,7]]},"950":{"position":[[194,7]]},"958":{"position":[[229,6]]},"983":{"position":[[141,7],[400,6]]},"988":{"position":[[2568,7]]},"1044":{"position":[[257,8]]},"1052":{"position":[[288,7],[351,6],[381,6]]},"1059":{"position":[[82,7]]},"1064":{"position":[[22,8],[282,7]]},"1072":{"position":[[1061,8],[2766,6]]},"1085":{"position":[[1959,7],[2110,8],[2199,7],[2314,6]]},"1088":{"position":[[292,6]]},"1100":{"position":[[378,6]]},"1101":{"position":[[295,7]]},"1102":{"position":[[35,7],[541,7]]},"1114":{"position":[[292,6]]},"1116":{"position":[[243,6]]},"1117":{"position":[[211,6]]},"1148":{"position":[[858,6]]},"1164":{"position":[[1188,6]]},"1189":{"position":[[153,6]]},"1207":{"position":[[276,7],[474,6],[522,7]]},"1208":{"position":[[428,7]]},"1211":{"position":[[28,6]]},"1214":{"position":[[687,7]]},"1220":{"position":[[447,7]]},"1278":{"position":[[236,7]]},"1282":{"position":[[454,7]]},"1289":{"position":[[31,7]]},"1294":{"position":[[25,7],[113,7]]},"1295":{"position":[[1465,6]]},"1298":{"position":[[184,6]]},"1311":{"position":[[1026,8],[1647,6],[1695,6]]}},"keywords":{}}],["methodolog",{"_index":3253,"title":{},"content":{"516":{"position":[[29,12]]}},"keywords":{}}],["metric",{"_index":3661,"title":{},"content":{"620":{"position":[[711,6]]},"783":{"position":[[156,6]]},"1152":{"position":[[128,8]]},"1194":{"position":[[20,7]]}},"keywords":{}}],["mg1",{"_index":4433,"title":{},"content":{"749":{"position":[[23779,3]]}},"keywords":{}}],["mib",{"_index":2895,"title":{},"content":{"427":{"position":[[1522,3]]}},"keywords":{}}],["microsecond",{"_index":3456,"title":{},"content":{"569":{"position":[[605,13]]},"571":{"position":[[1509,13]]}},"keywords":{}}],["microservic",{"_index":4585,"title":{"775":{"position":[[23,13]]},"1094":{"position":[[24,14]]}},"content":{"775":{"position":[[456,12],[589,13]]},"1094":{"position":[[37,12],[72,13],[185,13],[262,13],[517,13],[582,13]]},"1219":{"position":[[147,12]]}},"keywords":{}}],["microsoft",{"_index":522,"title":{},"content":{"33":{"position":[[491,9]]},"616":{"position":[[1151,9]]}},"keywords":{}}],["mid",{"_index":2073,"title":{},"content":{"358":{"position":[[1059,3]]},"841":{"position":[[945,3]]}},"keywords":{}}],["middl",{"_index":3379,"title":{},"content":{"556":{"position":[[1881,6]]}},"keywords":{}}],["middlewar",{"_index":4512,"title":{"762":{"position":[[0,10]]}},"content":{"765":{"position":[[1,10]]},"793":{"position":[[1128,10]]},"829":{"position":[[826,10]]}},"keywords":{}}],["midnight",{"_index":2752,"title":{},"content":{"412":{"position":[[11996,8]]},"702":{"position":[[328,9]]}},"keywords":{}}],["migrat",{"_index":435,"title":{"282":{"position":[[14,9]]},"367":{"position":[[27,9]]},"403":{"position":[[0,9]]},"636":{"position":[[7,11]]},"664":{"position":[[5,9]]},"702":{"position":[[12,7]]},"750":{"position":[[0,7]]},"754":{"position":[[0,9]]},"755":{"position":[[0,9]]},"756":{"position":[[0,9]]},"757":{"position":[[0,9]]},"758":{"position":[[8,9]]},"760":{"position":[[0,7]]},"938":{"position":[[0,10]]},"1165":{"position":[[16,9]]},"1319":{"position":[[0,9]]}},"content":{"26":{"position":[[392,8]]},"57":{"position":[[155,9],[225,10],[310,10]]},"110":{"position":[[134,10]]},"174":{"position":[[2193,9]]},"282":{"position":[[434,9]]},"351":{"position":[[84,10],[356,9]]},"367":{"position":[[178,9],[241,10],[306,9]]},"382":{"position":[[299,9]]},"403":{"position":[[121,7],[207,9],[357,9],[651,9]]},"412":{"position":[[11016,11],[11138,9],[11332,9],[11699,9],[11763,9],[11845,9],[11966,9]]},"544":{"position":[[184,10],[248,11]]},"604":{"position":[[156,10],[220,11]]},"636":{"position":[[110,10],[287,9]]},"664":{"position":[[5,9]]},"686":{"position":[[935,10]]},"702":{"position":[[206,7],[563,7],[627,9],[711,7],[769,7]]},"719":{"position":[[232,9],[252,7]]},"749":{"position":[[12192,9],[12202,9],[12283,9],[12410,9],[12491,9],[12628,7]]},"751":{"position":[[454,9],[1556,9]]},"752":{"position":[[17,9],[139,9],[265,9],[298,9],[464,9],[624,9],[741,9],[1227,8]]},"753":{"position":[[67,9],[205,10],[390,10]]},"754":{"position":[[120,10],[510,10]]},"755":{"position":[[114,9]]},"756":{"position":[[50,9],[125,7],[184,9],[300,9],[398,9]]},"757":{"position":[[188,9],[277,9]]},"759":{"position":[[22,7],[552,9],[805,7],[868,7],[973,10],[1122,9],[1447,7]]},"760":{"position":[[4,7],[212,9],[548,9],[861,10]]},"761":{"position":[[201,10]]},"793":{"position":[[1003,9],[1021,9]]},"836":{"position":[[2097,9],[2174,10]]},"839":{"position":[[880,9]]},"841":{"position":[[1147,10],[1261,9]]},"879":{"position":[[53,10]]},"938":{"position":[[77,9],[141,10]]},"977":{"position":[[252,7]]},"1100":{"position":[[976,9]]},"1124":{"position":[[418,7]]},"1162":{"position":[[786,10]]},"1165":{"position":[[67,10],[570,10],[665,9]]},"1198":{"position":[[2097,7]]},"1222":{"position":[[516,10]]},"1260":{"position":[[1,9]]},"1319":{"position":[[96,7],[426,9],[550,7],[591,9],[730,9]]}},"keywords":{}}],["migrated.ani",{"_index":4497,"title":{},"content":{"759":{"position":[[1294,12]]}},"keywords":{}}],["migratepromis",{"_index":4470,"title":{},"content":{"752":{"position":[[1378,18],[1460,15]]}},"keywords":{}}],["migratestorag",{"_index":4486,"title":{},"content":{"759":{"position":[[96,14],[462,16],[1084,16],[1548,17]]},"760":{"position":[[272,14],[458,16]]}},"keywords":{}}],["migrationencrypt",{"_index":3327,"title":{},"content":{"544":{"position":[[270,20]]}},"keywords":{}}],["migrationpromis",{"_index":4471,"title":{},"content":{"752":{"position":[[1404,16]]}},"keywords":{}}],["migrationst",{"_index":4463,"title":{"753":{"position":[[0,18]]}},"content":{"752":{"position":[[848,14]]},"755":{"position":[[150,16]]}},"keywords":{}}],["migrationstate.$.subscrib",{"_index":4465,"title":{},"content":{"752":{"position":[[923,28]]}},"keywords":{}}],["migrationstate.collection.nam",{"_index":4479,"title":{},"content":{"753":{"position":[[414,30]]}},"keywords":{}}],["migrationstrategi",{"_index":2496,"title":{},"content":{"403":{"position":[[782,20]]},"749":{"position":[[7851,19],[7948,17],[8046,17]]},"751":{"position":[[52,19],[170,19],[256,17],[530,20],[834,20],[1632,20]]},"752":{"position":[[195,19],[499,20]]},"754":{"position":[[235,19]]},"934":{"position":[[563,20]]},"938":{"position":[[21,19]]},"1076":{"position":[[109,19]]},"1085":{"position":[[3345,19]]}},"keywords":{}}],["mild",{"_index":2081,"title":{},"content":{"361":{"position":[[198,4]]}},"keywords":{}}],["million",{"_index":2567,"title":{},"content":{"408":{"position":[[4474,7],[4824,7]]},"412":{"position":[[10475,7]]},"420":{"position":[[380,7]]},"703":{"position":[[1351,7]]}},"keywords":{}}],["millisecond",{"_index":1602,"title":{},"content":{"265":{"position":[[357,11]]},"394":{"position":[[1638,13]]},"400":{"position":[[22,12],[586,12]]},"408":{"position":[[3091,13],[4871,12]]},"463":{"position":[[974,13],[1293,13],[1400,12]]},"464":{"position":[[519,12],[711,12],[771,12],[1216,11]]},"465":{"position":[[381,12]]},"467":{"position":[[706,12]]},"569":{"position":[[577,13],[787,13]]},"570":{"position":[[405,13]]},"571":{"position":[[1493,12],[1584,12]]},"644":{"position":[[468,11]]},"653":{"position":[[370,12],[908,12]]},"654":{"position":[[279,13]]},"703":{"position":[[1514,12]]},"704":{"position":[[86,13]]},"846":{"position":[[895,12]]},"988":{"position":[[874,12]]},"1104":{"position":[[553,12]]},"1295":{"position":[[1056,13]]},"1301":{"position":[[1448,14]]}},"keywords":{}}],["millisecondscooki",{"_index":3045,"title":{},"content":{"464":{"position":[[269,19]]},"465":{"position":[[130,19]]},"466":{"position":[[96,19]]},"467":{"position":[[68,19]]}},"keywords":{}}],["millisecondsindexeddb",{"_index":3031,"title":{},"content":{"463":{"position":[[656,21]]}},"keywords":{}}],["mimic",{"_index":369,"title":{},"content":{"22":{"position":[[132,5]]}},"keywords":{}}],["min",{"_index":4303,"title":{},"content":{"749":{"position":[[12983,3]]}},"keywords":{}}],["min$max$inc$set$unset$push$addtoset$pop$pullall$renam",{"_index":3868,"title":{},"content":{"679":{"position":[[197,55]]}},"keywords":{}}],["mind",{"_index":2741,"title":{},"content":{"412":{"position":[[10354,7],[15359,4]]},"625":{"position":[[129,5]]},"699":{"position":[[565,4]]},"723":{"position":[[2496,5]]},"858":{"position":[[445,4]]},"981":{"position":[[122,5]]},"1069":{"position":[[380,4]]}},"keywords":{}}],["mine",{"_index":2841,"title":{},"content":{"420":{"position":[[1261,7]]}},"keywords":{}}],["minecraft",{"_index":5553,"title":{},"content":{"1006":{"position":[[27,9]]}},"keywords":{}}],["mingo",{"_index":3865,"title":{},"content":{"678":{"position":[[186,5]]},"679":{"position":[[62,6]]},"1041":{"position":[[69,5]]}},"keywords":{}}],["minid",{"_index":5092,"title":{},"content":{"885":{"position":[[1510,5],[2261,6]]}},"keywords":{}}],["minifi",{"_index":6414,"title":{},"content":{"1292":{"position":[[854,9]]}},"keywords":{}}],["minified+gzip",{"_index":6415,"title":{},"content":{"1292":{"position":[[885,15]]}},"keywords":{}}],["minilm",{"_index":2184,"title":{},"content":{"390":{"position":[[287,7]]},"391":{"position":[[403,6],[546,6]]},"401":{"position":[[206,6]]},"402":{"position":[[1905,6]]}},"keywords":{}}],["minim",{"_index":921,"title":{},"content":{"65":{"position":[[1084,8]]},"76":{"position":[[126,10]]},"173":{"position":[[2609,7]]},"197":{"position":[[4,8]]},"216":{"position":[[126,8]]},"224":{"position":[[239,10]]},"234":{"position":[[177,10]]},"283":{"position":[[199,9]]},"311":{"position":[[67,7]]},"313":{"position":[[230,7]]},"316":{"position":[[4,8]]},"323":{"position":[[388,7]]},"334":{"position":[[12,7]]},"345":{"position":[[82,8]]},"350":{"position":[[333,10]]},"369":{"position":[[1131,8]]},"376":{"position":[[296,8]]},"382":{"position":[[360,10]]},"385":{"position":[[146,10]]},"402":{"position":[[2530,7]]},"408":{"position":[[3292,10]]},"412":{"position":[[754,7]]},"418":{"position":[[360,7]]},"429":{"position":[[339,7]]},"463":{"position":[[1006,7]]},"490":{"position":[[530,8]]},"502":{"position":[[1372,10]]},"528":{"position":[[99,9]]},"559":{"position":[[881,7]]},"566":{"position":[[830,8]]},"644":{"position":[[546,7]]},"690":{"position":[[410,7]]},"802":{"position":[[577,10]]},"902":{"position":[[103,10]]},"1071":{"position":[[357,7]]},"1123":{"position":[[288,7]]},"1266":{"position":[[958,9],[974,10]]},"1295":{"position":[[1035,7]]},"1298":{"position":[[379,8]]}},"keywords":{}}],["minimalist",{"_index":509,"title":{},"content":{"33":{"position":[[15,12]]}},"keywords":{}}],["minimongo",{"_index":261,"title":{"16":{"position":[[0,10]]}},"content":{"15":{"position":[[407,9]]},"16":{"position":[[36,9],[55,9],[266,9],[373,9],[528,9]]}},"keywords":{}}],["minimum",{"_index":3747,"title":{},"content":{"653":{"position":[[354,7],[560,7]]},"680":{"position":[[951,8]]},"749":{"position":[[20618,7],[21312,8]]},"1079":{"position":[[297,8]]},"1080":{"position":[[534,8],[566,8]]}},"keywords":{}}],["minimumcollectionag",{"_index":3753,"title":{},"content":{"653":{"position":[[777,21]]}},"keywords":{}}],["minimumdeletedtim",{"_index":3750,"title":{},"content":{"653":{"position":[[490,19]]},"654":{"position":[[126,18],[224,18],[415,18]]}},"keywords":{}}],["minor",{"_index":6087,"title":{},"content":{"1151":{"position":[[295,5]]},"1178":{"position":[[294,5]]}},"keywords":{}}],["mintimestamp",{"_index":5464,"title":{},"content":{"988":{"position":[[3564,12]]}},"keywords":{}}],["minupdatedat",{"_index":5095,"title":{},"content":{"885":{"position":[[1567,12],[2089,13],[2140,13],[2189,13]]}},"keywords":{}}],["minut",{"_index":2286,"title":{},"content":{"392":{"position":[[5176,7]]},"408":{"position":[[4597,7]]},"567":{"position":[[429,8]]},"653":{"position":[[934,8],[975,7]]},"736":{"position":[[412,7]]}},"keywords":{}}],["mirror",{"_index":2921,"title":{},"content":{"437":{"position":[[74,9]]},"898":{"position":[[1647,7]]}},"keywords":{}}],["mishandl",{"_index":3106,"title":{},"content":{"475":{"position":[[15,9]]}},"keywords":{}}],["mislead",{"_index":3204,"title":{},"content":{"497":{"position":[[484,7]]}},"keywords":{}}],["mismatch",{"_index":4502,"title":{},"content":{"761":{"position":[[296,8]]}},"keywords":{}}],["miss",{"_index":741,"title":{"626":{"position":[[13,4]]},"851":{"position":[[9,8]]},"876":{"position":[[0,7]]}},"content":{"47":{"position":[[1057,8]]},"330":{"position":[[143,7]]},"432":{"position":[[857,7]]},"458":{"position":[[788,7]]},"569":{"position":[[437,4]]},"610":{"position":[[1609,4]]},"626":{"position":[[62,4],[152,6],[369,6],[1102,6]]},"749":{"position":[[5181,7],[7969,7],[11302,7],[11477,7],[19705,7]]},"759":{"position":[[1319,7]]},"851":{"position":[[67,7]]},"875":{"position":[[8683,6],[8765,6]]},"898":{"position":[[497,4]]},"911":{"position":[[74,7]]},"985":{"position":[[509,6]]},"988":{"position":[[5895,6]]},"1024":{"position":[[173,7]]},"1123":{"position":[[651,8]]},"1300":{"position":[[1047,7]]}},"keywords":{}}],["mistak",{"_index":5396,"title":{},"content":{"966":{"position":[[174,8]]},"995":{"position":[[538,7]]}},"keywords":{}}],["mitig",{"_index":2550,"title":{},"content":{"408":{"position":[[2688,8],[3274,9]]},"412":{"position":[[13366,8],[15239,8]]}},"keywords":{}}],["mix",{"_index":2823,"title":{},"content":{"419":{"position":[[1826,6]]},"469":{"position":[[521,3]]},"749":{"position":[[4371,3],[4622,3]]},"875":{"position":[[5801,3]]},"1126":{"position":[[238,5]]}},"keywords":{}}],["mixedbread",{"_index":2465,"title":{},"content":{"401":{"position":[[461,10]]}},"keywords":{}}],["mj",{"_index":6319,"title":{},"content":{"1266":{"position":[[895,7]]}},"keywords":{}}],["mobil",{"_index":199,"title":{"152":{"position":[[28,6]]},"177":{"position":[[20,6]]},"443":{"position":[[0,6],[39,6]]},"444":{"position":[[14,6]]},"445":{"position":[[38,6]]},"618":{"position":[[33,6]]}},"content":{"14":{"position":[[59,6]]},"18":{"position":[[74,6]]},"36":{"position":[[24,6]]},"59":{"position":[[202,6]]},"152":{"position":[[1,6]]},"153":{"position":[[107,6]]},"170":{"position":[[61,6],[557,6]]},"172":{"position":[[197,6]]},"177":{"position":[[122,6]]},"207":{"position":[[200,6]]},"215":{"position":[[309,6]]},"254":{"position":[[171,6],[449,6]]},"287":{"position":[[1124,6]]},"298":{"position":[[637,6]]},"299":{"position":[[460,6]]},"309":{"position":[[45,6]]},"314":{"position":[[983,6]]},"318":{"position":[[327,6]]},"359":{"position":[[99,6]]},"371":{"position":[[5,6]]},"376":{"position":[[682,6]]},"384":{"position":[[257,6]]},"408":{"position":[[629,6],[4949,6]]},"410":{"position":[[1235,6]]},"412":{"position":[[7837,6],[8475,6]]},"444":{"position":[[1,6],[102,6],[184,6],[357,6]]},"445":{"position":[[88,6],[335,6],[515,6],[2204,6]]},"447":{"position":[[1,6],[76,6],[311,6],[701,6]]},"483":{"position":[[1058,6]]},"500":{"position":[[103,6]]},"575":{"position":[[198,6]]},"595":{"position":[[1372,6]]},"614":{"position":[[170,6]]},"618":{"position":[[19,6],[201,6],[537,6]]},"630":{"position":[[286,7]]},"631":{"position":[[175,6]]},"640":{"position":[[271,6],[533,7]]},"641":{"position":[[416,6]]},"832":{"position":[[356,6]]},"838":{"position":[[1139,6]]},"839":{"position":[[74,6]]},"841":{"position":[[1057,6]]},"871":{"position":[[711,6]]},"897":{"position":[[457,6]]},"1232":{"position":[[47,6]]}},"keywords":{}}],["mobile.join",{"_index":1912,"title":{},"content":{"318":{"position":[[511,11]]}},"keywords":{}}],["mobile—mani",{"_index":1760,"title":{},"content":{"299":{"position":[[1334,11]]}},"keywords":{}}],["mobx",{"_index":2616,"title":{},"content":{"411":{"position":[[2007,5]]},"520":{"position":[[382,4]]},"785":{"position":[[305,5]]}},"keywords":{}}],["mocha",{"_index":4075,"title":{},"content":{"730":{"position":[[170,6]]}},"keywords":{}}],["mock",{"_index":332,"title":{"1159":{"position":[[0,7]]}},"content":{"19":{"position":[[488,4]]},"1159":{"position":[[117,4]]}},"keywords":{}}],["modal",{"_index":2504,"title":{},"content":{"404":{"position":[[456,5],[556,10]]}},"keywords":{}}],["moddatetim",{"_index":5198,"title":{},"content":{"898":{"position":[[861,11]]}},"keywords":{}}],["mode",{"_index":1872,"title":{"671":{"position":[[4,4]]},"675":{"position":[[16,4]]}},"content":{"305":{"position":[[319,5]]},"346":{"position":[[688,4]]},"399":{"position":[[340,5]]},"411":{"position":[[5714,5]]},"412":{"position":[[10716,5],[12042,5]]},"420":{"position":[[1503,4]]},"445":{"position":[[499,5]]},"453":{"position":[[278,6]]},"500":{"position":[[686,5]]},"626":{"position":[[644,5],[705,4],[851,4],[1037,4]]},"653":{"position":[[1393,5]]},"661":{"position":[[1238,5]]},"674":{"position":[[181,5],[279,5],[346,5]]},"675":{"position":[[14,4],[129,4],[269,6]]},"676":{"position":[[52,4]]},"685":{"position":[[550,4]]},"749":{"position":[[2626,4],[6110,4],[20933,4],[21738,4]]},"793":{"position":[[67,4]]},"875":{"position":[[6608,5],[6700,5],[8893,4]]},"932":{"position":[[1152,4],[1327,4]]},"966":{"position":[[512,5]]},"983":{"position":[[1125,6]]},"984":{"position":[[689,5]]},"985":{"position":[[708,5]]},"988":{"position":[[4116,5],[6031,4],[6116,4]]},"1085":{"position":[[3270,5],[3439,5]]},"1143":{"position":[[536,4]]},"1218":{"position":[[409,5]]},"1222":{"position":[[962,5],[1277,5]]},"1266":{"position":[[702,5]]},"1297":{"position":[[155,5],[429,4]]},"1313":{"position":[[689,5]]}},"keywords":{}}],["mode').then",{"_index":3846,"title":{},"content":{"672":{"position":[[115,12]]},"673":{"position":[[121,12]]},"674":{"position":[[404,12]]}},"keywords":{}}],["mode.wasm",{"_index":3085,"title":{},"content":{"467":{"position":[[380,9]]}},"keywords":{}}],["model",{"_index":954,"title":{"401":{"position":[[19,7]]}},"content":{"68":{"position":[[37,5]]},"126":{"position":[[122,6]]},"174":{"position":[[514,6]]},"179":{"position":[[333,5]]},"210":{"position":[[755,6]]},"226":{"position":[[45,6]]},"231":{"position":[[253,5]]},"279":{"position":[[423,5]]},"345":{"position":[[14,5]]},"350":{"position":[[254,5]]},"354":{"position":[[1274,7]]},"382":{"position":[[38,7]]},"384":{"position":[[473,6]]},"390":{"position":[[275,6],[1050,5],[1124,7]]},"391":{"position":[[213,6],[416,6],[832,5],[1003,6],[1079,6]]},"392":{"position":[[2000,5]]},"396":{"position":[[1034,6]]},"401":{"position":[[82,6],[130,5],[180,5],[632,6],[708,5],[766,6],[839,5],[915,5]]},"402":{"position":[[1715,7],[1786,7],[1847,7],[1888,5],[2002,6],[2092,5],[2118,5]]},"403":{"position":[[62,5]]},"404":{"position":[[465,7],[506,6],[851,6],[950,5]]},"412":{"position":[[11068,6],[13728,5],[14378,5]]},"542":{"position":[[155,6]]},"566":{"position":[[48,5]]},"630":{"position":[[227,5]]},"635":{"position":[[16,7]]},"690":{"position":[[97,5]]},"765":{"position":[[37,5]]},"828":{"position":[[216,6]]},"831":{"position":[[94,6]]},"838":{"position":[[949,8]]},"841":{"position":[[274,5]]},"898":{"position":[[1819,5],[4294,5]]},"1132":{"position":[[359,6],[400,6]]},"1284":{"position":[[294,7]]},"1319":{"position":[[203,7]]}},"keywords":{}}],["model.histor",{"_index":4796,"title":{},"content":{"839":{"position":[[282,18]]}},"keywords":{}}],["model/index",{"_index":2493,"title":{"403":{"position":[[18,11]]}},"content":{},"keywords":{}}],["modelofflin",{"_index":1907,"title":{},"content":{"317":{"position":[[160,12]]}},"keywords":{}}],["models.r",{"_index":2006,"title":{},"content":{"353":{"position":[[289,11]]}},"keywords":{}}],["modelsadvanc",{"_index":3698,"title":{},"content":{"631":{"position":[[363,14]]}},"keywords":{}}],["moder",{"_index":4814,"title":{},"content":{"841":{"position":[[1381,8]]}},"keywords":{}}],["modern",{"_index":256,"title":{"423":{"position":[[22,6]]},"449":{"position":[[32,6]]},"783":{"position":[[0,6]]}},"content":{"15":{"position":[[285,6]]},"47":{"position":[[194,6]]},"83":{"position":[[223,6]]},"105":{"position":[[30,6]]},"131":{"position":[[467,6]]},"174":{"position":[[566,6]]},"175":{"position":[[678,7]]},"287":{"position":[[642,6]]},"288":{"position":[[75,6]]},"299":{"position":[[1628,6]]},"300":{"position":[[454,6]]},"309":{"position":[[38,6]]},"321":{"position":[[1,7]]},"322":{"position":[[97,7]]},"336":{"position":[[222,6]]},"352":{"position":[[4,6]]},"364":{"position":[[392,6]]},"375":{"position":[[569,6]]},"378":{"position":[[92,6]]},"402":{"position":[[1995,6]]},"408":{"position":[[792,6],[1271,6]]},"410":{"position":[[402,6]]},"412":{"position":[[15210,6]]},"418":{"position":[[519,6]]},"432":{"position":[[1187,6]]},"434":{"position":[[89,6]]},"435":{"position":[[159,6]]},"441":{"position":[[17,6]]},"452":{"position":[[760,6]]},"500":{"position":[[338,6]]},"502":{"position":[[205,6]]},"517":{"position":[[38,6]]},"521":{"position":[[127,6]]},"524":{"position":[[370,6]]},"535":{"position":[[189,6]]},"542":{"position":[[123,7]]},"548":{"position":[[458,6]]},"574":{"position":[[144,6]]},"576":{"position":[[410,7]]},"581":{"position":[[319,6]]},"595":{"position":[[202,6]]},"608":{"position":[[456,6]]},"617":{"position":[[6,6]]},"640":{"position":[[137,6]]},"641":{"position":[[268,6]]},"644":{"position":[[655,6]]},"801":{"position":[[858,6]]},"911":{"position":[[11,6]]},"1098":{"position":[[162,7]]},"1207":{"position":[[84,6]]},"1322":{"position":[[1,6]]}},"keywords":{}}],["modif",{"_index":1126,"title":{},"content":{"140":{"position":[[164,13]]},"206":{"position":[[282,13]]},"344":{"position":[[39,13]]},"412":{"position":[[2662,13]]},"445":{"position":[[1030,13]]},"571":{"position":[[1539,12]]},"632":{"position":[[91,14]]},"898":{"position":[[298,12]]}},"keywords":{}}],["modifi",{"_index":1114,"title":{"1042":{"position":[[0,9]]},"1061":{"position":[[0,8]]},"1105":{"position":[[6,9]]}},"content":{"134":{"position":[[68,6]]},"191":{"position":[[69,8]]},"203":{"position":[[351,6]]},"358":{"position":[[522,6]]},"397":{"position":[[1357,6]]},"429":{"position":[[305,9]]},"667":{"position":[[167,6]]},"678":{"position":[[322,8],[353,9]]},"698":{"position":[[27,6],[138,8]]},"709":{"position":[[534,6]]},"749":{"position":[[10317,8],[10405,8],[14115,8]]},"766":{"position":[[143,6]]},"768":{"position":[[340,6]]},"770":{"position":[[85,6]]},"805":{"position":[[205,6]]},"829":{"position":[[3886,8]]},"846":{"position":[[751,8],[834,9],[1177,8],[1269,9]]},"886":{"position":[[1207,9],[1246,8],[2965,8],[2987,8],[3107,9]]},"887":{"position":[[442,9]]},"888":{"position":[[40,6]]},"889":{"position":[[23,6]]},"897":{"position":[[170,10]]},"898":{"position":[[261,8],[3514,9],[3744,9]]},"908":{"position":[[152,6]]},"986":{"position":[[665,10]]},"987":{"position":[[39,6]]},"988":{"position":[[3014,8],[3175,8],[3272,8],[3367,9],[4496,8],[4601,8],[4696,9]]},"1044":{"position":[[360,6]]},"1048":{"position":[[323,9],[517,8]]},"1051":{"position":[[118,9]]},"1069":{"position":[[551,6]]},"1083":{"position":[[57,8],[241,8]]},"1085":{"position":[[3391,8]]},"1105":{"position":[[11,8],[217,8],[313,8],[459,8]]},"1109":{"position":[[42,8]]},"1115":{"position":[[49,9],[152,8],[238,8],[496,8],[694,8]]},"1316":{"position":[[2023,8]]},"1317":{"position":[[247,6]]}},"keywords":{}}],["modifiedfield",{"_index":5223,"title":{},"content":{"898":{"position":[[3950,14]]}},"keywords":{}}],["modul",{"_index":50,"title":{},"content":{"2":{"position":[[436,6]]},"6":{"position":[[601,6],[799,6]]},"8":{"position":[[650,7]]},"10":{"position":[[397,6]]},"440":{"position":[[403,6]]},"479":{"position":[[376,7]]},"672":{"position":[[128,6]]},"673":{"position":[[134,6]]},"674":{"position":[[417,6]]},"711":{"position":[[754,7],[828,6]]},"717":{"position":[[429,7]]},"743":{"position":[[62,7]]},"829":{"position":[[1122,7]]},"836":{"position":[[1659,7]]},"960":{"position":[[91,7]]},"1133":{"position":[[139,6]]},"1138":{"position":[[73,6]]},"1139":{"position":[[180,6]]},"1145":{"position":[[176,6]]},"1162":{"position":[[945,7]]},"1174":{"position":[[388,7]]},"1176":{"position":[[85,6],[253,6]]},"1181":{"position":[[902,7]]},"1226":{"position":[[674,9]]},"1264":{"position":[[554,9]]},"1266":{"position":[[722,7]]},"1271":{"position":[[876,6],[1280,6],[1303,7]]},"1274":{"position":[[206,7]]},"1275":{"position":[[78,6]]},"1276":{"position":[[94,6],[603,7]]},"1286":{"position":[[14,6]]}},"keywords":{}}],["modular",{"_index":1060,"title":{},"content":{"116":{"position":[[150,7]]},"860":{"position":[[1072,11]]}},"keywords":{}}],["module.export",{"_index":3850,"title":{},"content":{"674":{"position":[[28,14]]},"1266":{"position":[[493,14]]}},"keywords":{}}],["moduleadd",{"_index":6357,"title":{},"content":{"1279":{"position":[[34,9]]}},"keywords":{}}],["moduleid",{"_index":6321,"title":{},"content":{"1266":{"position":[[930,10]]}},"keywords":{}}],["moduleimport",{"_index":6348,"title":{},"content":{"1277":{"position":[[43,12]]}},"keywords":{}}],["moment",{"_index":1155,"title":{},"content":{"151":{"position":[[56,6]]},"412":{"position":[[5883,7]]},"491":{"position":[[1748,6]]},"584":{"position":[[99,6]]},"679":{"position":[[8,7]]},"700":{"position":[[186,6]]},"723":{"position":[[1891,6]]},"739":{"position":[[140,6]]},"799":{"position":[[276,6]]},"945":{"position":[[413,6]]},"975":{"position":[[343,6],[537,6]]},"1115":{"position":[[872,6]]},"1300":{"position":[[860,6]]}},"keywords":{}}],["monet",{"_index":2674,"title":{},"content":{"412":{"position":[[2822,8]]}},"keywords":{}}],["money",{"_index":2706,"title":{},"content":{"412":{"position":[[6188,5]]}},"keywords":{}}],["mongo",{"_index":5683,"title":{},"content":{"1041":{"position":[[35,5]]}},"keywords":{}}],["mongocli",{"_index":4947,"title":{},"content":{"872":{"position":[[854,11],[890,11]]},"875":{"position":[[807,11],[874,11]]}},"keywords":{}}],["mongoclient('mongodb://localhost:27017",{"_index":4979,"title":{},"content":{"875":{"position":[[892,42]]}},"keywords":{}}],["mongoclient('mongodb://localhost:27017/?directconnection=tru",{"_index":4948,"title":{},"content":{"872":{"position":[[908,64]]}},"keywords":{}}],["mongoclient.connect",{"_index":4981,"title":{},"content":{"875":{"position":[[965,22]]}},"keywords":{}}],["mongoclient.db('mi",{"_index":4950,"title":{},"content":{"872":{"position":[[995,18]]}},"keywords":{}}],["mongocollect",{"_index":4983,"title":{},"content":{"875":{"position":[[1050,15]]}},"keywords":{}}],["mongocollection.find",{"_index":4993,"title":{},"content":{"875":{"position":[[2206,22]]}},"keywords":{}}],["mongocollection.findone({id",{"_index":5022,"title":{},"content":{"875":{"position":[[4655,28]]}},"keywords":{}}],["mongocollection.updateon",{"_index":5028,"title":{},"content":{"875":{"position":[[5208,26]]}},"keywords":{}}],["mongoconnect",{"_index":4980,"title":{},"content":{"875":{"position":[[941,15]]}},"keywords":{}}],["mongoconnection.db('mydatabas",{"_index":4982,"title":{},"content":{"875":{"position":[[1010,33]]}},"keywords":{}}],["mongod",{"_index":4941,"title":{},"content":{"872":{"position":[[545,6]]}},"keywords":{}}],["mongodatabas",{"_index":4949,"title":{},"content":{"872":{"position":[[979,13]]},"875":{"position":[[994,13]]}},"keywords":{}}],["mongodatabase.collection('mydoc",{"_index":4984,"title":{},"content":{"875":{"position":[[1074,35]]}},"keywords":{}}],["mongodatabase.createcollection('mi",{"_index":4951,"title":{},"content":{"872":{"position":[[1032,34]]}},"keywords":{}}],["mongodb",{"_index":260,"title":{"36":{"position":[[0,7]]},"869":{"position":[[0,7]]},"872":{"position":[[31,7]]},"1187":{"position":[[0,7]]},"1188":{"position":[[19,7]]},"1189":{"position":[[10,7]]}},"content":{"15":{"position":[[359,7]]},"16":{"position":[[116,7],[171,8]]},"23":{"position":[[476,8]]},"32":{"position":[[154,8]]},"33":{"position":[[344,8],[636,7]]},"36":{"position":[[247,7],[343,7],[375,7],[432,7]]},"43":{"position":[[182,9]]},"249":{"position":[[195,7]]},"350":{"position":[[151,8]]},"365":{"position":[[1568,7]]},"571":{"position":[[563,7]]},"678":{"position":[[97,7]]},"679":{"position":[[323,7]]},"708":{"position":[[159,8]]},"749":{"position":[[23834,7]]},"776":{"position":[[263,7],[291,7]]},"793":{"position":[[365,7],[782,7]]},"839":{"position":[[145,8],[191,7],[381,7],[441,7],[1025,7]]},"841":{"position":[[219,8],[435,7],[1512,7]]},"870":{"position":[[29,7],[137,7]]},"871":{"position":[[106,8],[145,7],[213,8],[444,7],[504,7],[544,7],[726,7],[760,7]]},"872":{"position":[[99,7],[152,7],[178,7],[238,7],[401,7],[448,7],[484,7],[663,7],[722,7],[763,7],[873,10],[2128,7],[2243,7],[2339,9],[2393,8],[2563,7],[2977,8]]},"873":{"position":[[26,7]]},"875":{"position":[[650,8],[717,7],[826,10],[5745,7],[5900,7],[7718,7]]},"962":{"position":[[534,7],[849,7],[937,9]]},"981":{"position":[[745,7]]},"1071":{"position":[[78,7]]},"1095":{"position":[[160,7]]},"1188":{"position":[[41,7],[154,7],[388,7]]},"1189":{"position":[[15,7],[44,7],[72,7],[241,7],[367,9],[479,7]]},"1196":{"position":[[178,7]]},"1247":{"position":[[242,8],[288,7],[394,7]]},"1324":{"position":[[912,8]]}},"keywords":{}}],["mongodb'",{"_index":4797,"title":{},"content":{"839":{"position":[[551,9],[900,9],[1357,9]]},"1112":{"position":[[369,9]]}},"keywords":{}}],["mongodb://localhost:27017",{"_index":4945,"title":{},"content":{"872":{"position":[[683,27],[2449,28]]}},"keywords":{}}],["mongodb://localhost:27017,localhost:27018,localhost:27019",{"_index":5389,"title":{},"content":{"962":{"position":[[1051,59]]},"1189":{"position":[[593,59]]}},"keywords":{}}],["mongodbrepl",{"_index":4975,"title":{},"content":{"873":{"position":[[110,18]]}},"keywords":{}}],["mongoos",{"_index":4514,"title":{},"content":{"764":{"position":[[14,9]]}},"keywords":{}}],["monitor",{"_index":1785,"title":{},"content":{"301":{"position":[[279,8]]},"502":{"position":[[752,7]]}},"keywords":{}}],["monkey",{"_index":6173,"title":{},"content":{"1198":{"position":[[844,6]]}},"keywords":{}}],["monolith",{"_index":2096,"title":{},"content":{"362":{"position":[[583,10]]}},"keywords":{}}],["monopol",{"_index":2891,"title":{},"content":{"427":{"position":[[1223,12]]}},"keywords":{}}],["month",{"_index":2966,"title":{},"content":{"453":{"position":[[872,7]]},"653":{"position":[[480,6],[543,6]]},"661":{"position":[[395,6]]}},"keywords":{}}],["monthli",{"_index":1318,"title":{},"content":{"204":{"position":[[131,7]]}},"keywords":{}}],["more",{"_index":222,"title":{"780":{"position":[[11,4]]},"1216":{"position":[[6,4]]}},"content":{"14":{"position":[[710,4]]},"25":{"position":[[149,4]]},"28":{"position":[[594,4]]},"34":{"position":[[716,4]]},"36":{"position":[[187,4]]},"39":{"position":[[326,4],[478,4]]},"40":{"position":[[717,4],[828,4]]},"47":{"position":[[320,4]]},"57":{"position":[[124,4],[470,4]]},"58":{"position":[[193,4],[314,4]]},"64":{"position":[[40,4],[190,4]]},"65":{"position":[[290,4],[396,4],[965,4],[1457,4],[2088,4]]},"84":{"position":[[12,4]]},"89":{"position":[[188,4]]},"90":{"position":[[72,4]]},"91":{"position":[[249,4]]},"92":{"position":[[216,4]]},"104":{"position":[[174,4]]},"114":{"position":[[12,4]]},"144":{"position":[[142,5]]},"149":{"position":[[12,4]]},"161":{"position":[[320,4]]},"173":{"position":[[1862,4]]},"174":{"position":[[3108,5]]},"197":{"position":[[167,4]]},"203":{"position":[[132,4]]},"205":{"position":[[79,4]]},"216":{"position":[[196,4]]},"219":{"position":[[333,4]]},"221":{"position":[[180,4]]},"224":{"position":[[317,4]]},"231":{"position":[[221,4]]},"263":{"position":[[553,4]]},"282":{"position":[[147,4]]},"291":{"position":[[516,4]]},"295":{"position":[[91,4]]},"298":{"position":[[619,4]]},"299":{"position":[[963,4],[1517,4],[1665,4]]},"303":{"position":[[44,4]]},"306":{"position":[[7,4]]},"318":{"position":[[359,5]]},"321":{"position":[[427,4]]},"336":{"position":[[548,4]]},"347":{"position":[[12,4]]},"351":{"position":[[163,4]]},"352":{"position":[[335,4]]},"353":{"position":[[166,4]]},"354":{"position":[[170,4],[669,4],[791,4]]},"362":{"position":[[256,4],[510,4],[1092,4]]},"364":{"position":[[597,4]]},"365":{"position":[[1029,4]]},"370":{"position":[[322,4]]},"371":{"position":[[327,4]]},"388":{"position":[[252,4]]},"392":{"position":[[149,4]]},"393":{"position":[[300,6]]},"395":{"position":[[508,4],[537,4]]},"396":{"position":[[718,4]]},"398":{"position":[[83,4]]},"399":{"position":[[85,4],[404,4]]},"401":{"position":[[783,4]]},"402":{"position":[[607,4],[1556,4],[1990,4]]},"404":{"position":[[671,4]]},"407":{"position":[[488,4],[728,4]]},"408":{"position":[[596,4],[2295,4],[3209,5]]},"409":{"position":[[56,4],[223,4]]},"411":{"position":[[550,4],[599,4],[755,4],[3109,4],[5254,4],[5322,4]]},"412":{"position":[[2453,4],[3643,4],[8533,4],[8993,4],[9349,4],[14390,4]]},"417":{"position":[[289,4]]},"418":{"position":[[850,4]]},"419":{"position":[[1145,4]]},"420":{"position":[[494,4]]},"421":{"position":[[223,4]]},"426":{"position":[[83,4]]},"427":{"position":[[430,4]]},"430":{"position":[[145,4],[623,4]]},"432":{"position":[[154,4]]},"441":{"position":[[504,4]]},"445":{"position":[[1948,4]]},"452":{"position":[[349,4],[796,4]]},"463":{"position":[[1104,4]]},"473":{"position":[[179,4]]},"474":{"position":[[294,4]]},"477":{"position":[[336,4]]},"480":{"position":[[1067,4]]},"483":{"position":[[404,4],[430,4],[450,4],[702,4]]},"491":{"position":[[772,5],[1459,5],[1868,4]]},"496":{"position":[[865,4]]},"497":{"position":[[788,4]]},"511":{"position":[[12,4]]},"521":{"position":[[505,4],[596,4]]},"524":{"position":[[972,4]]},"531":{"position":[[12,4]]},"533":{"position":[[194,5]]},"535":{"position":[[231,4],[517,4]]},"544":{"position":[[157,5]]},"545":{"position":[[131,5]]},"546":{"position":[[211,4]]},"551":{"position":[[388,4]]},"557":{"position":[[289,4]]},"560":{"position":[[127,4],[525,4],[677,4]]},"563":{"position":[[927,4]]},"564":{"position":[[5,4]]},"566":{"position":[[257,4]]},"571":{"position":[[1776,4]]},"572":{"position":[[39,4]]},"582":{"position":[[727,4]]},"591":{"position":[[12,4],[707,4]]},"593":{"position":[[194,5]]},"595":{"position":[[244,4],[537,4]]},"605":{"position":[[131,5]]},"606":{"position":[[211,4]]},"610":{"position":[[650,4]]},"612":{"position":[[1012,4]]},"617":{"position":[[640,4]]},"620":{"position":[[624,4]]},"621":{"position":[[830,4]]},"622":{"position":[[531,4]]},"623":{"position":[[192,4]]},"632":{"position":[[798,5],[1435,4]]},"634":{"position":[[598,4]]},"653":{"position":[[670,4]]},"659":{"position":[[966,4]]},"666":{"position":[[409,4]]},"681":{"position":[[102,4]]},"682":{"position":[[100,4]]},"686":{"position":[[192,4],[819,4]]},"688":{"position":[[296,4]]},"696":{"position":[[1241,5],[1931,4]]},"699":{"position":[[297,4]]},"701":{"position":[[737,4]]},"702":{"position":[[529,4]]},"705":{"position":[[566,4],[1303,4]]},"709":{"position":[[423,4]]},"710":{"position":[[2455,4]]},"711":{"position":[[2240,4]]},"717":{"position":[[257,4]]},"718":{"position":[[80,4]]},"723":{"position":[[2277,4]]},"740":{"position":[[39,4]]},"749":{"position":[[15534,4],[15668,4],[15800,4],[22494,4]]},"772":{"position":[[426,4]]},"780":{"position":[[246,4],[269,4],[624,4]]},"782":{"position":[[130,4],[177,4]]},"783":{"position":[[471,4]]},"784":{"position":[[249,4],[292,4]]},"799":{"position":[[58,4]]},"801":{"position":[[560,4]]},"802":{"position":[[669,4],[806,4]]},"821":{"position":[[903,4],[946,4]]},"831":{"position":[[444,4]]},"835":{"position":[[1030,4]]},"836":{"position":[[2361,4],[2469,4]]},"838":{"position":[[3179,4]]},"847":{"position":[[137,4]]},"875":{"position":[[1943,4],[4976,4]]},"886":{"position":[[1614,4]]},"889":{"position":[[98,4]]},"890":{"position":[[906,4]]},"906":{"position":[[635,4],[1091,4]]},"908":{"position":[[376,4]]},"912":{"position":[[737,4]]},"934":{"position":[[18,4]]},"936":{"position":[[128,4]]},"950":{"position":[[133,4]]},"963":{"position":[[181,4]]},"964":{"position":[[32,4]]},"973":{"position":[[72,4]]},"988":{"position":[[4015,4]]},"990":{"position":[[469,4]]},"1080":{"position":[[1139,4]]},"1087":{"position":[[65,4],[112,4]]},"1088":{"position":[[12,4]]},"1089":{"position":[[155,4]]},"1090":{"position":[[22,4]]},"1092":{"position":[[532,4]]},"1094":{"position":[[568,4],[577,4]]},"1095":{"position":[[230,4],[283,4]]},"1098":{"position":[[157,4]]},"1100":{"position":[[946,4]]},"1120":{"position":[[468,4],[544,4]]},"1125":{"position":[[881,4]]},"1132":{"position":[[1184,4]]},"1135":{"position":[[101,4]]},"1140":{"position":[[295,4]]},"1164":{"position":[[1339,4]]},"1173":{"position":[[173,4]]},"1175":{"position":[[445,4]]},"1206":{"position":[[275,4],[587,4]]},"1207":{"position":[[677,4],[708,4]]},"1208":{"position":[[1937,4]]},"1236":{"position":[[90,4]]},"1237":{"position":[[480,4]]},"1241":{"position":[[144,4]]},"1242":{"position":[[223,4]]},"1243":{"position":[[141,4]]},"1244":{"position":[[170,4]]},"1245":{"position":[[109,4]]},"1246":{"position":[[333,4],[653,4],[950,4],[1212,4],[1586,4],[1984,4],[2268,4]]},"1247":{"position":[[135,4],[236,4],[422,4],[586,4],[745,4]]},"1267":{"position":[[97,4],[215,4]]},"1304":{"position":[[711,4]]},"1308":{"position":[[648,4]]},"1316":{"position":[[3642,4]]},"1321":{"position":[[505,4],[531,4]]},"1324":{"position":[[1054,4]]}},"keywords":{}}],["more</button>",{"_index":3283,"title":{},"content":{"523":{"position":[[812,20]]}},"keywords":{}}],["more.loki",{"_index":6382,"title":{},"content":{"1284":{"position":[[339,9]]}},"keywords":{}}],["moreov",{"_index":2916,"title":{},"content":{"435":{"position":[[236,9]]},"624":{"position":[[1018,9]]}},"keywords":{}}],["morn",{"_index":3958,"title":{},"content":{"700":{"position":[[941,8]]}},"keywords":{}}],["mostli",{"_index":378,"title":{},"content":{"23":{"position":[[71,6]]},"26":{"position":[[68,6]]},"31":{"position":[[248,6]]},"266":{"position":[[1075,6]]},"390":{"position":[[1021,6]]},"402":{"position":[[1863,6]]},"411":{"position":[[3162,6]]},"554":{"position":[[441,6]]},"611":{"position":[[1158,6]]},"709":{"position":[[679,6]]},"749":{"position":[[16706,6]]},"800":{"position":[[599,6]]},"841":{"position":[[1313,6]]},"861":{"position":[[2002,6]]},"863":{"position":[[445,6]]},"1068":{"position":[[143,6]]},"1092":{"position":[[379,6]]},"1107":{"position":[[299,6]]},"1195":{"position":[[115,6]]},"1198":{"position":[[410,6]]},"1229":{"position":[[137,6]]},"1246":{"position":[[875,6]]}},"keywords":{}}],["mother",{"_index":4689,"title":{},"content":{"812":{"position":[[183,7],[244,6]]}},"keywords":{}}],["mount",{"_index":4765,"title":{},"content":{"829":{"position":[[3749,6]]}},"keywords":{}}],["mous",{"_index":3044,"title":{},"content":{"464":{"position":[[232,5]]}},"keywords":{}}],["move",{"_index":1388,"title":{"561":{"position":[[8,6]]},"1093":{"position":[[0,6]]}},"content":{"212":{"position":[[414,4]]},"460":{"position":[[55,4],[389,4]]},"618":{"position":[[256,4]]},"642":{"position":[[35,4]]},"664":{"position":[[48,5]]},"800":{"position":[[625,4]]},"801":{"position":[[1,6],[935,4]]},"868":{"position":[[107,5]]},"987":{"position":[[294,4]]},"1007":{"position":[[876,5]]},"1093":{"position":[[129,4]]},"1094":{"position":[[156,6]]},"1124":{"position":[[257,4]]},"1213":{"position":[[459,4]]},"1246":{"position":[[229,4],[549,4]]}},"keywords":{}}],["movement",{"_index":2773,"title":{},"content":{"412":{"position":[[15100,8]]},"419":{"position":[[1386,9]]},"464":{"position":[[238,10]]}},"keywords":{}}],["mpnet",{"_index":2455,"title":{},"content":{"401":{"position":[[291,5]]}},"keywords":{}}],["mq1",{"_index":4183,"title":{},"content":{"749":{"position":[[3849,3]]}},"keywords":{}}],["mq2",{"_index":4184,"title":{},"content":{"749":{"position":[[3936,3]]}},"keywords":{}}],["mq3",{"_index":4186,"title":{},"content":{"749":{"position":[[4008,3]]}},"keywords":{}}],["mq4",{"_index":4187,"title":{},"content":{"749":{"position":[[4123,3]]}},"keywords":{}}],["mq5",{"_index":4190,"title":{},"content":{"749":{"position":[[4239,3]]}},"keywords":{}}],["mq6",{"_index":4191,"title":{},"content":{"749":{"position":[[4361,3]]}},"keywords":{}}],["mq7",{"_index":4193,"title":{},"content":{"749":{"position":[[4538,3]]}},"keywords":{}}],["mq8",{"_index":4194,"title":{},"content":{"749":{"position":[[4612,3]]}},"keywords":{}}],["mqueri",{"_index":4189,"title":{},"content":{"749":{"position":[[4165,6]]}},"keywords":{}}],["ms",{"_index":2445,"title":{},"content":{"401":{"position":[[163,4]]},"975":{"position":[[490,2]]},"1292":{"position":[[346,2],[353,2],[363,2],[370,2],[385,2],[392,2],[702,2],[709,2],[721,2],[728,2],[744,2],[750,2]]}},"keywords":{}}],["mt",{"_index":6320,"title":{},"content":{"1266":{"position":[[903,7]]}},"keywords":{}}],["much",{"_index":61,"title":{"1237":{"position":[[8,4]]}},"content":{"4":{"position":[[96,4]]},"8":{"position":[[50,4]]},"23":{"position":[[396,4]]},"31":{"position":[[223,4]]},"395":{"position":[[343,4]]},"398":{"position":[[78,4]]},"400":{"position":[[497,4]]},"410":{"position":[[548,4]]},"411":{"position":[[3104,4]]},"412":{"position":[[11935,4],[13737,4]]},"416":{"position":[[14,4]]},"432":{"position":[[1366,4]]},"450":{"position":[[439,4]]},"454":{"position":[[402,4]]},"521":{"position":[[633,4]]},"545":{"position":[[197,4]]},"605":{"position":[[197,4]]},"662":{"position":[[794,4]]},"696":{"position":[[976,4],[1067,4],[1569,4],[2029,4]]},"749":{"position":[[7984,4]]},"780":{"position":[[607,4]]},"784":{"position":[[854,4]]},"816":{"position":[[64,4],[102,4]]},"838":{"position":[[521,4]]},"944":{"position":[[74,4]]},"1162":{"position":[[426,4],[623,4]]},"1170":{"position":[[73,4],[210,4]]},"1171":{"position":[[351,4]]},"1181":{"position":[[513,4],[711,4]]},"1209":{"position":[[93,4]]},"1295":{"position":[[1318,4]]},"1297":{"position":[[609,5]]},"1321":{"position":[[101,4]]}},"keywords":{}}],["multi",{"_index":379,"title":{"80":{"position":[[9,5]]},"109":{"position":[[9,5]]},"125":{"position":[[0,5]]},"160":{"position":[[0,5]]},"237":{"position":[[9,5]]},"330":{"position":[[0,5]]},"384":{"position":[[0,5]]},"458":{"position":[[0,5]]},"475":{"position":[[3,5]]},"519":{"position":[[0,5]]},"589":{"position":[[0,5]]},"755":{"position":[[13,5]]},"779":{"position":[[0,5]]},"989":{"position":[[0,5]]},"1135":{"position":[[0,5]]},"1174":{"position":[[0,5]]},"1183":{"position":[[0,5]]},"1301":{"position":[[11,5]]}},"content":{"23":{"position":[[92,5]]},"33":{"position":[[258,5]]},"35":{"position":[[636,5]]},"42":{"position":[[133,5]]},"47":{"position":[[992,5]]},"80":{"position":[[28,5]]},"109":{"position":[[24,5]]},"120":{"position":[[308,5]]},"125":{"position":[[42,5]]},"160":{"position":[[13,5]]},"174":{"position":[[1781,5],[1823,5]]},"237":{"position":[[22,5]]},"314":{"position":[[594,5]]},"323":{"position":[[341,5],[357,5]]},"325":{"position":[[267,5]]},"334":{"position":[[487,5]]},"353":{"position":[[346,5]]},"354":{"position":[[1305,5]]},"411":{"position":[[3943,5],[3957,5],[4572,5]]},"412":{"position":[[14163,5]]},"427":{"position":[[1122,5]]},"475":{"position":[[260,5]]},"483":{"position":[[97,5]]},"502":{"position":[[1128,5],[1176,5]]},"519":{"position":[[122,5]]},"565":{"position":[[13,5],[29,5]]},"566":{"position":[[968,5]]},"579":{"position":[[496,5]]},"582":{"position":[[453,5]]},"590":{"position":[[835,5]]},"630":{"position":[[918,5]]},"644":{"position":[[251,5]]},"709":{"position":[[392,5]]},"723":{"position":[[233,5],[2157,5]]},"749":{"position":[[5769,5]]},"779":{"position":[[78,5]]},"801":{"position":[[826,5]]},"836":{"position":[[1924,5],[2417,5]]},"989":{"position":[[244,5]]},"1008":{"position":[[26,5]]},"1258":{"position":[[52,5]]}},"keywords":{}}],["multiinst",{"_index":1256,"title":{"964":{"position":[[0,14]]},"1230":{"position":[[4,14]]}},"content":{"188":{"position":[[1149,14]]},"209":{"position":[[315,14]]},"255":{"position":[[659,14]]},"314":{"position":[[550,14]]},"334":{"position":[[463,14]]},"522":{"position":[[574,14],[604,13]]},"562":{"position":[[239,14]]},"579":{"position":[[472,14]]},"653":{"position":[[1379,13]]},"739":{"position":[[383,14]]},"749":{"position":[[15013,13]]},"755":{"position":[[22,13]]},"759":{"position":[[431,14]]},"838":{"position":[[2335,14]]},"960":{"position":[[469,14],[499,13]]},"964":{"position":[[123,13]]},"988":{"position":[[1109,13]]},"989":{"position":[[297,14]]},"995":{"position":[[188,14],[823,14]]},"1088":{"position":[[187,13],[558,13]]},"1126":{"position":[[93,14],[451,14],[610,14],[772,14],[909,14]]},"1171":{"position":[[242,14]]},"1174":{"position":[[747,14]]},"1230":{"position":[[108,14]]},"1277":{"position":[[419,14],[454,13]]},"1278":{"position":[[496,14],[948,14]]}},"keywords":{}}],["multilingu",{"_index":2454,"title":{},"content":{"401":{"position":[[278,12]]}},"keywords":{}}],["multipl",{"_index":69,"title":{"682":{"position":[[8,9]]},"1007":{"position":[[22,8]]},"1088":{"position":[[4,8]]},"1092":{"position":[[22,8]]}},"content":{"4":{"position":[[171,8]]},"6":{"position":[[180,8]]},"7":{"position":[[154,8]]},"16":{"position":[[505,8]]},"19":{"position":[[360,8]]},"47":{"position":[[925,8]]},"51":{"position":[[15,8]]},"89":{"position":[[69,8]]},"110":{"position":[[69,8]]},"112":{"position":[[271,8]]},"123":{"position":[[125,8]]},"125":{"position":[[121,8]]},"131":{"position":[[15,8]]},"134":{"position":[[51,8]]},"158":{"position":[[228,8]]},"160":{"position":[[84,8]]},"173":{"position":[[569,8]]},"174":{"position":[[1851,8],[1996,8],[2063,8],[2130,8]]},"181":{"position":[[316,8]]},"189":{"position":[[13,8]]},"190":{"position":[[77,8]]},"203":{"position":[[261,8],[334,8]]},"237":{"position":[[99,8]]},"240":{"position":[[53,8]]},"250":{"position":[[95,8],[277,8]]},"267":{"position":[[391,8],[631,8]]},"289":{"position":[[1291,8]]},"303":{"position":[[1016,8]]},"323":{"position":[[576,8]]},"328":{"position":[[108,8],[135,8],[271,8]]},"330":{"position":[[28,8]]},"336":{"position":[[15,8]]},"339":{"position":[[8,8]]},"354":{"position":[[264,8]]},"358":{"position":[[235,8]]},"365":{"position":[[1213,8],[1386,8]]},"367":{"position":[[456,8]]},"368":{"position":[[74,8],[327,8]]},"375":{"position":[[683,8]]},"376":{"position":[[176,8]]},"384":{"position":[[418,8]]},"390":{"position":[[886,8]]},"392":{"position":[[2161,8]]},"393":{"position":[[1091,8]]},"396":{"position":[[665,8]]},"398":{"position":[[378,8]]},"402":{"position":[[11,8]]},"404":{"position":[[547,8]]},"407":{"position":[[1065,8]]},"408":{"position":[[912,8],[4719,8]]},"411":{"position":[[4061,8],[4083,8],[4693,8]]},"412":{"position":[[2997,8],[11627,8],[13627,8]]},"416":{"position":[[301,8]]},"440":{"position":[[180,8]]},"444":{"position":[[723,8]]},"446":{"position":[[644,8]]},"455":{"position":[[315,8]]},"458":{"position":[[128,8]]},"469":{"position":[[199,8],[561,8],[1164,8]]},"473":{"position":[[222,8]]},"475":{"position":[[37,8]]},"481":{"position":[[219,8]]},"489":{"position":[[163,8]]},"490":{"position":[[370,8]]},"491":{"position":[[442,8],[1335,8]]},"495":{"position":[[110,8]]},"517":{"position":[[95,8]]},"519":{"position":[[35,8]]},"524":{"position":[[13,8]]},"534":{"position":[[520,8]]},"551":{"position":[[23,8]]},"559":{"position":[[1330,8]]},"560":{"position":[[485,8]]},"566":{"position":[[853,8],[888,8]]},"575":{"position":[[486,8]]},"581":{"position":[[15,8]]},"589":{"position":[[20,8]]},"594":{"position":[[518,8]]},"610":{"position":[[1533,8]]},"613":{"position":[[234,8]]},"617":{"position":[[238,8],[1039,8],[1933,8]]},"622":{"position":[[729,8]]},"632":{"position":[[525,8],[575,8]]},"634":{"position":[[402,8]]},"635":{"position":[[44,8]]},"643":{"position":[[94,8]]},"647":{"position":[[62,8]]},"682":{"position":[[154,8]]},"683":{"position":[[382,8]]},"705":{"position":[[1048,8]]},"707":{"position":[[168,8]]},"709":{"position":[[329,8]]},"710":{"position":[[1162,8]]},"723":{"position":[[811,8]]},"724":{"position":[[939,8]]},"743":{"position":[[157,8],[194,8]]},"749":{"position":[[9115,8]]},"757":{"position":[[13,8]]},"761":{"position":[[227,8]]},"772":{"position":[[132,8]]},"779":{"position":[[121,8]]},"782":{"position":[[61,8]]},"795":{"position":[[34,8]]},"800":{"position":[[432,8]]},"820":{"position":[[355,8]]},"834":{"position":[[11,8]]},"836":{"position":[[1867,8]]},"838":{"position":[[1166,8]]},"849":{"position":[[527,8]]},"860":{"position":[[852,8]]},"863":{"position":[[622,8]]},"866":{"position":[[273,8]]},"908":{"position":[[89,8]]},"934":{"position":[[837,8]]},"944":{"position":[[109,8]]},"947":{"position":[[32,8]]},"951":{"position":[[97,8]]},"956":{"position":[[113,8]]},"964":{"position":[[245,8]]},"966":{"position":[[31,8],[422,8]]},"981":{"position":[[1547,8]]},"987":{"position":[[6,8]]},"988":{"position":[[1158,8],[3295,8],[4624,8]]},"989":{"position":[[88,8]]},"1022":{"position":[[183,8]]},"1033":{"position":[[268,8]]},"1072":{"position":[[234,8],[1352,8]]},"1078":{"position":[[65,8]]},"1088":{"position":[[115,8],[252,8],[355,8]]},"1089":{"position":[[219,8]]},"1092":{"position":[[28,8],[131,8]]},"1102":{"position":[[1251,8],[1309,8],[1358,8]]},"1114":{"position":[[342,8]]},"1117":{"position":[[521,8]]},"1120":{"position":[[299,8],[620,8]]},"1135":{"position":[[180,8]]},"1164":{"position":[[591,8]]},"1174":{"position":[[72,8],[217,8]]},"1175":{"position":[[659,8]]},"1183":{"position":[[93,8],[188,8],[231,8]]},"1188":{"position":[[1,8]]},"1222":{"position":[[1172,8],[1221,8]]},"1246":{"position":[[1096,8]]},"1252":{"position":[[352,8]]},"1295":{"position":[[337,8],[598,8]]},"1301":{"position":[[104,8],[231,8],[715,8]]},"1304":{"position":[[660,8],[1049,8]]},"1305":{"position":[[73,8]]},"1307":{"position":[[165,8],[294,8]]},"1308":{"position":[[37,8]]},"1313":{"position":[[139,8]]},"1315":{"position":[[74,8]]},"1316":{"position":[[2543,8]]},"1318":{"position":[[180,8]]},"1321":{"position":[[909,8]]}},"keywords":{}}],["multiplay",{"_index":3949,"title":{},"content":{"699":{"position":[[634,11]]}},"keywords":{}}],["multipleof",{"_index":4398,"title":{},"content":{"749":{"position":[[20359,10]]},"1080":{"position":[[555,10],[595,11]]}},"keywords":{}}],["multiplex",{"_index":3645,"title":{},"content":{"617":{"position":[[1281,12]]},"621":{"position":[[845,12]]}},"keywords":{}}],["multithread",{"_index":6286,"title":{},"content":{"1238":{"position":[[240,14]]}},"keywords":{}}],["muscl",{"_index":2986,"title":{},"content":{"458":{"position":[[367,6]]}},"keywords":{}}],["mutabl",{"_index":4174,"title":{},"content":{"749":{"position":[[3092,7]]},"1065":{"position":[[676,7]]},"1085":{"position":[[208,7]]}},"keywords":{}}],["mutat",{"_index":451,"title":{},"content":{"28":{"position":[[137,8]]},"38":{"position":[[265,8],[424,8]]},"326":{"position":[[75,9]]},"705":{"position":[[674,7]]},"754":{"position":[[150,8]]},"785":{"position":[[366,8]]},"846":{"position":[[763,6],[1189,6]]},"848":{"position":[[262,6]]},"885":{"position":[[1059,8]]},"886":{"position":[[2325,8]]},"889":{"position":[[53,9],[229,8]]},"1042":{"position":[[51,7]]},"1052":{"position":[[63,7],[275,7]]},"1065":{"position":[[740,7]]},"1115":{"position":[[782,8]]},"1304":{"position":[[176,6]]},"1307":{"position":[[867,8]]},"1316":{"position":[[779,7],[1428,9]]},"1317":{"position":[[636,8]]},"1323":{"position":[[90,6]]}},"keywords":{}}],["mutationpushhuman",{"_index":5077,"title":{},"content":{"885":{"position":[[292,17]]}},"keywords":{}}],["mutex",{"_index":2990,"title":{},"content":{"458":{"position":[[1394,7]]}},"keywords":{}}],["mychangevalid",{"_index":5964,"title":{},"content":{"1106":{"position":[[771,17]]},"1109":{"position":[[171,17]]}},"keywords":{}}],["mychangevalidator(authdata",{"_index":5962,"title":{},"content":{"1106":{"position":[[536,27]]}},"keywords":{}}],["mychildst",{"_index":5986,"title":{},"content":{"1114":{"position":[[918,12]]}},"keywords":{}}],["mycollect",{"_index":3174,"title":{},"content":{"493":{"position":[[83,12]]},"494":{"position":[[187,12]]},"798":{"position":[[542,12]]},"812":{"position":[[7,12]]},"813":{"position":[[7,12]]},"916":{"position":[[317,12]]},"934":{"position":[[209,13]]},"949":{"position":[[141,12]]},"1002":{"position":[[575,13],[1229,13]]},"1055":{"position":[[190,12]]},"1056":{"position":[[98,12],[194,12]]},"1066":{"position":[[348,12]]},"1309":{"position":[[1372,13]]}},"keywords":{}}],["mycollection.$.subscribe(changeev",{"_index":5324,"title":{},"content":{"941":{"position":[[101,36]]}},"keywords":{}}],["mycollection.bulkinsert",{"_index":5331,"title":{},"content":{"944":{"position":[[198,26]]}},"keywords":{}}],["mycollection.bulkinsert(dataar",{"_index":4635,"title":{},"content":{"795":{"position":[[225,32]]}},"keywords":{}}],["mycollection.bulkremov",{"_index":5337,"title":{},"content":{"945":{"position":[[139,25],[460,25]]}},"keywords":{}}],["mycollection.bulkupsert",{"_index":5345,"title":{},"content":{"947":{"position":[[172,25]]}},"keywords":{}}],["mycollection.checkpoint$.subscribe(checkpoint",{"_index":5538,"title":{},"content":{"1002":{"position":[[334,45]]}},"keywords":{}}],["mycollection.clos",{"_index":5378,"title":{},"content":{"955":{"position":[[300,21]]}},"keywords":{}}],["mycollection.count",{"_index":5772,"title":{},"content":{"1067":{"position":[[290,20],[1284,20],[1551,20]]}},"keywords":{}}],["mycollection.customcleanupfunct",{"_index":5415,"title":{},"content":{"975":{"position":[[386,37],[609,37]]}},"keywords":{}}],["mycollection.exportjson",{"_index":5371,"title":{},"content":{"952":{"position":[[303,25]]}},"keywords":{}}],["mycollection.find",{"_index":974,"title":{},"content":{"77":{"position":[[212,19]]},"103":{"position":[[252,19]]},"234":{"position":[[312,19]]},"493":{"position":[[339,22]]},"494":{"position":[[291,23]]},"797":{"position":[[251,19]]},"799":{"position":[[577,21],[680,21]]},"1057":{"position":[[82,20]]},"1058":{"position":[[216,20]]},"1059":{"position":[[226,19]]},"1060":{"position":[[94,19]]},"1061":{"position":[[95,19]]},"1062":{"position":[[151,19]]},"1063":{"position":[[109,19],[213,19]]},"1065":{"position":[[209,19],[781,19],[1035,19],[1279,19]]},"1067":{"position":[[1964,19],[2108,19]]},"1072":{"position":[[2464,19],[2642,19]]}},"keywords":{}}],["mycollection.find().exec",{"_index":5669,"title":{},"content":{"1036":{"position":[[121,27]]}},"keywords":{}}],["mycollection.find().where('age').gt(18",{"_index":5762,"title":{},"content":{"1064":{"position":[[304,40]]},"1069":{"position":[[468,40]]}},"keywords":{}}],["mycollection.find().where('name').eq('foo",{"_index":5771,"title":{},"content":{"1065":{"position":[[1430,43]]}},"keywords":{}}],["mycollection.findbyids(id",{"_index":5362,"title":{},"content":{"951":{"position":[[383,28]]}},"keywords":{}}],["mycollection.findon",{"_index":5357,"title":{},"content":{"950":{"position":[[256,22]]}},"keywords":{}}],["mycollection.findone('foo",{"_index":5360,"title":{},"content":{"950":{"position":[[415,27]]}},"keywords":{}}],["mycollection.findone('foobar",{"_index":5736,"title":{},"content":{"1056":{"position":[[314,31]]}},"keywords":{}}],["mycollection.findone('foobar').exec",{"_index":5702,"title":{},"content":{"1045":{"position":[[77,38]]}},"keywords":{}}],["mycollection.findone().exec",{"_index":4561,"title":{},"content":{"770":{"position":[[463,30]]},"1057":{"position":[[454,30]]}},"keywords":{}}],["mycollection.findone().exec(tru",{"_index":5741,"title":{},"content":{"1057":{"position":[[606,34]]}},"keywords":{}}],["mycollection.getlocal$('foobar').subscribe(documentornul",{"_index":5606,"title":{},"content":{"1017":{"position":[[112,57]]}},"keywords":{}}],["mycollection.getlocal$('last",{"_index":5517,"title":{},"content":{"995":{"position":[[1900,28]]}},"keywords":{}}],["mycollection.getlocal('foobar",{"_index":5605,"title":{},"content":{"1016":{"position":[[135,32]]},"1018":{"position":[[77,32]]}},"keywords":{}}],["mycollection.importjson(json",{"_index":5374,"title":{},"content":{"953":{"position":[[102,29]]}},"keywords":{}}],["mycollection.incrementalupsert(docdata",{"_index":5351,"title":{},"content":{"948":{"position":[[561,40],[602,40],[643,40],[725,40]]}},"keywords":{}}],["mycollection.insert",{"_index":4663,"title":{},"content":{"800":{"position":[[814,23]]},"813":{"position":[[256,21]]},"942":{"position":[[188,21]]},"1035":{"position":[[102,21]]},"1058":{"position":[[411,23]]}},"keywords":{}}],["mycollection.insert$.subscribe(changeev",{"_index":5326,"title":{},"content":{"941":{"position":[[243,42]]}},"keywords":{}}],["mycollection.insert(docdata",{"_index":4634,"title":{},"content":{"795":{"position":[[175,29]]}},"keywords":{}}],["mycollection.insert(docu",{"_index":5802,"title":{},"content":{"1072":{"position":[[2419,30]]}},"keywords":{}}],["mycollection.insertifnotexist",{"_index":5330,"title":{},"content":{"943":{"position":[[385,32]]}},"keywords":{}}],["mycollection.insertloc",{"_index":5600,"title":{},"content":{"1014":{"position":[[200,25]]}},"keywords":{}}],["mycollection.insertlocal('last",{"_index":5507,"title":{},"content":{"995":{"position":[[1509,30]]}},"keywords":{}}],["mycollection.onclos",{"_index":5381,"title":{},"content":{"956":{"position":[[244,23]]}},"keywords":{}}],["mycollection.onremov",{"_index":5383,"title":{},"content":{"956":{"position":[[309,24]]}},"keywords":{}}],["mycollection.postcreate(function(plaindata",{"_index":4558,"title":{},"content":{"770":{"position":[[309,43]]}},"keywords":{}}],["mycollection.postinsert(function(plaindata",{"_index":4535,"title":{},"content":{"767":{"position":[[747,43],[827,43],[903,43]]}},"keywords":{}}],["mycollection.postremove(function(plaindata",{"_index":4556,"title":{},"content":{"769":{"position":[[718,43],[798,43],[874,43]]}},"keywords":{}}],["mycollection.postsave(function(plaindata",{"_index":4547,"title":{},"content":{"768":{"position":[[755,41],[833,41],[907,41]]}},"keywords":{}}],["mycollection.preinsert(function(plaindata",{"_index":4530,"title":{},"content":{"767":{"position":[[326,43],[444,43],[507,43],[643,43]]}},"keywords":{}}],["mycollection.preremove(function(plaindata",{"_index":4554,"title":{},"content":{"769":{"position":[[300,42],[379,42],[454,42],[602,42]]}},"keywords":{}}],["mycollection.presave(function(plaindata",{"_index":4542,"title":{},"content":{"768":{"position":[[283,40],[426,40],[499,40],[643,40]]}},"keywords":{}}],["mycollection.remov",{"_index":5376,"title":{},"content":{"954":{"position":[[143,22]]}},"keywords":{}}],["mycollection.remove$.subscribe(changeev",{"_index":5328,"title":{},"content":{"941":{"position":[[395,42]]}},"keywords":{}}],["mycollection.syncgraphql",{"_index":5171,"title":{},"content":{"890":{"position":[[15,26]]}},"keywords":{}}],["mycollection.update$.subscribe(changeev",{"_index":5327,"title":{},"content":{"941":{"position":[[319,42]]}},"keywords":{}}],["mycollection.upsert",{"_index":5344,"title":{},"content":{"946":{"position":[[160,21]]}},"keywords":{}}],["mycollection.upsert(docdata",{"_index":5350,"title":{},"content":{"948":{"position":[[437,29],[467,29]]}},"keywords":{}}],["mycollection.upsertloc",{"_index":5603,"title":{},"content":{"1015":{"position":[[176,25]]}},"keywords":{}}],["mycollection.upsertlocal<mylocaldocumenttype>",{"_index":5616,"title":{},"content":{"1018":{"position":[[797,52]]}},"keywords":{}}],["mycollection.upsertlocal('last",{"_index":5511,"title":{},"content":{"995":{"position":[[1698,30]]}},"keywords":{}}],["mycompon",{"_index":3180,"title":{},"content":{"494":{"position":[[173,13],[440,12]]}},"keywords":{}}],["myconflicthandl",{"_index":2689,"title":{},"content":{"412":{"position":[[4494,17]]}},"keywords":{}}],["mycrdtoper",{"_index":3866,"title":{},"content":{"678":{"position":[[234,15]]}},"keywords":{}}],["mycustomconflicthandl",{"_index":6497,"title":{},"content":{"1309":{"position":[[1491,23]]}},"keywords":{}}],["mycustomfetch",{"_index":4834,"title":{},"content":{"848":{"position":[[184,13],[845,14]]}},"keywords":{}}],["mycustomfetchmethod",{"_index":4826,"title":{},"content":{"846":{"position":[[618,20]]}},"keywords":{}}],["mydata",{"_index":6118,"title":{},"content":{"1165":{"position":[[465,9]]}},"keywords":{}}],["mydatabas",{"_index":36,"title":{},"content":{"1":{"position":[[561,13]]},"2":{"position":[[364,13]]},"3":{"position":[[244,13]]},"4":{"position":[[422,13]]},"5":{"position":[[332,13]]},"6":{"position":[[527,13]]},"7":{"position":[[364,13]]},"8":{"position":[[1133,13]]},"9":{"position":[[278,13]]},"10":{"position":[[316,13]]},"11":{"position":[[842,13]]},"392":{"position":[[368,13]]},"680":{"position":[[655,10]]},"717":{"position":[[1180,13]]},"718":{"position":[[683,13]]},"734":{"position":[[505,13]]},"745":{"position":[[554,13]]},"892":{"position":[[158,10],[295,11]]},"932":{"position":[[1068,13]]},"962":{"position":[[778,13],[994,13]]},"1013":{"position":[[279,10],[323,13]]},"1067":{"position":[[2402,13]]},"1154":{"position":[[770,13]]},"1163":{"position":[[564,12]]},"1182":{"position":[[568,12]]},"1184":{"position":[[807,12]]},"1210":{"position":[[446,13]]},"1211":{"position":[[701,13]]},"1222":{"position":[[1417,13]]},"1226":{"position":[[242,13]]},"1227":{"position":[[720,13]]},"1231":{"position":[[1051,13]]},"1237":{"position":[[820,10]]},"1238":{"position":[[795,10]]},"1239":{"position":[[765,10]]},"1264":{"position":[[164,13]]},"1265":{"position":[[708,13]]},"1311":{"position":[[107,11],[119,10]]}},"keywords":{}}],["mydatabase.addcollect",{"_index":2495,"title":{},"content":{"403":{"position":[[725,27]]},"751":{"position":[[465,27],[769,27],[1567,27]]},"752":{"position":[[370,27]]},"789":{"position":[[166,27],[413,27]]},"791":{"position":[[22,27],[281,27]]},"792":{"position":[[149,27]]},"806":{"position":[[577,27]]},"812":{"position":[[28,27]]},"813":{"position":[[28,27]]},"818":{"position":[[493,27]]},"916":{"position":[[338,27]]},"934":{"position":[[231,27]]},"979":{"position":[[308,27]]},"1013":{"position":[[463,27]]},"1075":{"position":[[7,27]]},"1090":{"position":[[958,29]]},"1309":{"position":[[1394,27]]},"1311":{"position":[[968,27]]}},"keywords":{}}],["mydatabase.backup(backupopt",{"_index":3732,"title":{},"content":{"647":{"position":[[397,33],[538,33]]},"648":{"position":[[246,33]]},"649":{"position":[[202,33]]}},"keywords":{}}],["mydatabase.clos",{"_index":5417,"title":{},"content":{"976":{"position":[[319,19]]},"1311":{"position":[[1829,19]]}},"keywords":{}}],["mydatabase.collections$.subscribe(ev",{"_index":5425,"title":{},"content":{"979":{"position":[[230,39]]}},"keywords":{}}],["mydatabase.exportjson",{"_index":5410,"title":{},"content":{"971":{"position":[[415,23]]}},"keywords":{}}],["mydatabase.heroes.countalldocu",{"_index":6521,"title":{},"content":{"1311":{"position":[[1751,38]]}},"keywords":{}}],["mydatabase.heroes.insert",{"_index":6515,"title":{},"content":{"1311":{"position":[[1486,26]]}},"keywords":{}}],["mydatabase.heroes.postinsert",{"_index":6511,"title":{},"content":{"1311":{"position":[[1113,29]]}},"keywords":{}}],["mydatabase.insertloc",{"_index":5601,"title":{},"content":{"1014":{"position":[[341,23]]}},"keywords":{}}],["mydatabase.migrationst",{"_index":4475,"title":{},"content":{"753":{"position":[[258,29]]}},"keywords":{}}],["mydatabase.remov",{"_index":5418,"title":{},"content":{"977":{"position":[[78,20]]}},"keywords":{}}],["mydatabase.requestidlepromise().then",{"_index":5414,"title":{},"content":{"975":{"position":[[271,39]]}},"keywords":{}}],["mydatabase.requestidlepromise(1000",{"_index":5416,"title":{},"content":{"975":{"position":[[444,34]]}},"keywords":{}}],["mydatabase.todos.find",{"_index":1640,"title":{},"content":{"276":{"position":[[405,23]]}},"keywords":{}}],["mydatabase[collectionnam",{"_index":4201,"title":{},"content":{"749":{"position":[[5050,26]]}},"keywords":{}}],["mydb",{"_index":845,"title":{},"content":{"55":{"position":[[898,7]]},"255":{"position":[[614,7]]},"258":{"position":[[175,7]]},"542":{"position":[[559,7]]},"825":{"position":[[366,7]]},"862":{"position":[[564,7]]},"872":{"position":[[3996,5]]},"898":{"position":[[2346,7]]},"1090":{"position":[[807,7]]},"1118":{"position":[[670,7]]},"1148":{"position":[[1149,7]]},"1149":{"position":[[942,7]]},"1218":{"position":[[555,4]]},"1219":{"position":[[868,4]]},"1311":{"position":[[192,7]]}},"keywords":{}}],["mydb.$.subscribe(changeev",{"_index":5409,"title":{},"content":{"970":{"position":[[96,28]]}},"keywords":{}}],["mydestinationcollect",{"_index":5619,"title":{},"content":{"1020":{"position":[[429,24]]}},"keywords":{}}],["mydestinationcollection.insert",{"_index":5620,"title":{},"content":{"1020":{"position":[[603,32]]}},"keywords":{}}],["mydocu",{"_index":3876,"title":{},"content":{"680":{"position":[[1218,10]]},"717":{"position":[[1619,12]]},"800":{"position":[[795,10]]},"1045":{"position":[[58,10]]},"1046":{"position":[[120,12]]}},"keywords":{}}],["mydocument.allattach",{"_index":5300,"title":{},"content":{"920":{"position":[[77,28]]}},"keywords":{}}],["mydocument.allattachments$.subscrib",{"_index":5301,"title":{},"content":{"921":{"position":[[172,37]]}},"keywords":{}}],["mydocument.deleted$.subscribe(st",{"_index":5716,"title":{},"content":{"1049":{"position":[[102,35]]}},"keywords":{}}],["mydocument.family.mother_",{"_index":4690,"title":{},"content":{"812":{"position":[[259,26]]}},"keywords":{}}],["mydocument.firstname$.subscribe(newnam",{"_index":1423,"title":{},"content":{"235":{"position":[[274,39]]},"571":{"position":[[1309,39]]},"1040":{"position":[[317,39]]}},"keywords":{}}],["mydocument.friends_",{"_index":4694,"title":{},"content":{"813":{"position":[[415,20]]}},"keywords":{}}],["mydocument.get$('nam",{"_index":5673,"title":{},"content":{"1039":{"position":[[196,23]]}},"keywords":{}}],["mydocument.get('nam",{"_index":5670,"title":{},"content":{"1038":{"position":[[141,23]]},"1040":{"position":[[150,23]]}},"keywords":{}}],["mydocument.getattachment('cat.jpg",{"_index":5298,"title":{},"content":{"919":{"position":[[105,36]]},"929":{"position":[[88,36]]},"930":{"position":[[93,36]]},"931":{"position":[[93,36]]},"932":{"position":[[93,36]]}},"keywords":{}}],["mydocument.getlatest",{"_index":5705,"title":{},"content":{"1045":{"position":[[203,23]]}},"keywords":{}}],["mydocument.incrementalmodify(docdata",{"_index":5697,"title":{},"content":{"1044":{"position":[[373,36]]}},"keywords":{}}],["mydocument.incrementalpatch",{"_index":5699,"title":{},"content":{"1044":{"position":[[484,29]]},"1045":{"position":[[143,29]]}},"keywords":{}}],["mydocument.incrementalpatch({firstnam",{"_index":5681,"title":{},"content":{"1040":{"position":[[431,39]]}},"keywords":{}}],["mydocument.incrementalpatch({nam",{"_index":5675,"title":{},"content":{"1039":{"position":[[275,34]]}},"keywords":{}}],["mydocument.incrementalremov",{"_index":5700,"title":{},"content":{"1044":{"position":[[543,30]]}},"keywords":{}}],["mydocument.incrementalupd",{"_index":5696,"title":{},"content":{"1044":{"position":[[283,30]]}},"keywords":{}}],["mydocument.modify(changefunct",{"_index":5693,"title":{},"content":{"1042":{"position":[[231,34]]}},"keywords":{}}],["mydocument.nam",{"_index":5671,"title":{},"content":{"1038":{"position":[[204,16]]},"1039":{"position":[[377,16]]},"1040":{"position":[[185,16]]}},"keywords":{}}],["mydocument.patch",{"_index":5695,"title":{},"content":{"1043":{"position":[[65,18]]}},"keywords":{}}],["mydocument.putattach",{"_index":4664,"title":{},"content":{"800":{"position":[[873,25]]},"917":{"position":[[141,25]]}},"keywords":{}}],["mydocument.remov",{"_index":5711,"title":{},"content":{"1047":{"position":[[232,20]]},"1049":{"position":[[203,20]]},"1050":{"position":[[97,20]]}},"keywords":{}}],["mydocument.tojosn",{"_index":5899,"title":{},"content":{"1085":{"position":[[2514,19]]}},"keywords":{}}],["mydocument.tojson",{"_index":5721,"title":{},"content":{"1051":{"position":[[171,20]]}},"keywords":{}}],["mydocument.tojson(tru",{"_index":5727,"title":{},"content":{"1051":{"position":[[437,24]]}},"keywords":{}}],["mydocument.tomutablejson",{"_index":5729,"title":{},"content":{"1052":{"position":[[189,27]]}},"keywords":{}}],["mydocument.upd",{"_index":5687,"title":{},"content":{"1041":{"position":[[279,19]]}},"keywords":{}}],["mydocument.updatecrdt",{"_index":3878,"title":{},"content":{"680":{"position":[[1346,23]]},"681":{"position":[[620,23]]},"682":{"position":[[322,23]]}},"keywords":{}}],["mydocument.whatever.nestedfield",{"_index":5679,"title":{},"content":{"1040":{"position":[[251,32]]}},"keywords":{}}],["myencrypteddatabas",{"_index":3347,"title":{},"content":{"554":{"position":[[1077,22]]}},"keywords":{}}],["myencryptionpassword",{"_index":3714,"title":{},"content":{"638":{"position":[[504,22]]}},"keywords":{}}],["myendpoint",{"_index":5930,"title":{},"content":{"1100":{"position":[[637,10]]}},"keywords":{}}],["myeventsourceconstructor",{"_index":5075,"title":{},"content":{"882":{"position":[[443,24]]}},"keywords":{}}],["myfield",{"_index":4560,"title":{},"content":{"770":{"position":[[400,10]]},"1115":{"position":[[206,7]]}},"keywords":{}}],["myfirstqueri",{"_index":4711,"title":{},"content":{"820":{"position":[[516,12],[545,13]]}},"keywords":{}}],["myheroschema",{"_index":5831,"title":{},"content":{"1075":{"position":[[53,12]]}},"keywords":{}}],["myid",{"_index":6516,"title":{},"content":{"1311":{"position":[[1525,7]]}},"keywords":{}}],["myindexeddbobjectstore.createindex",{"_index":6425,"title":{},"content":{"1294":{"position":[[525,35]]},"1296":{"position":[[985,35],[1069,35]]}},"keywords":{}}],["myionicdb",{"_index":1888,"title":{},"content":{"314":{"position":[[500,12]]}},"keywords":{}}],["mylocaldb",{"_index":1379,"title":{},"content":{"211":{"position":[[237,12]]}},"keywords":{}}],["mylocaldocumenttyp",{"_index":5615,"title":{},"content":{"1018":{"position":[[736,19]]}},"keywords":{}}],["mymethod.bind(mydocu",{"_index":5731,"title":{},"content":{"1052":{"position":[[484,25]]}},"keywords":{}}],["myofflinedb",{"_index":3124,"title":{},"content":{"480":{"position":[[393,14]]}},"keywords":{}}],["myolddatabasenam",{"_index":4491,"title":{},"content":{"759":{"position":[[637,20]]},"760":{"position":[[633,20]]}},"keywords":{}}],["myownhashfunct",{"_index":5407,"title":{},"content":{"968":{"position":[[540,17]]}},"keywords":{}}],["myownhashfunction(input",{"_index":5405,"title":{},"content":{"968":{"position":[[414,24]]}},"keywords":{}}],["mypassword",{"_index":1942,"title":{},"content":{"334":{"position":[[417,13]]},"522":{"position":[[531,13]]},"579":{"position":[[426,13]]},"739":{"position":[[369,13]]},"848":{"position":[[1527,14]]},"960":{"position":[[426,13]]}},"keywords":{}}],["mypasswordobject",{"_index":4031,"title":{},"content":{"718":{"position":[[459,16],[743,16]]}},"keywords":{}}],["mypostinserthook",{"_index":6512,"title":{},"content":{"1311":{"position":[[1152,17]]}},"keywords":{}}],["mypullstream",{"_index":5048,"title":{},"content":{"875":{"position":[[8077,13],[9496,13]]}},"keywords":{}}],["mypullstream$.asobserv",{"_index":5057,"title":{},"content":{"875":{"position":[[8470,28],[9759,28]]}},"keywords":{}}],["mypullstream$.next",{"_index":5054,"title":{},"content":{"875":{"position":[[8285,20]]}},"keywords":{}}],["mypullstream$.next('resync",{"_index":5059,"title":{},"content":{"875":{"position":[[8990,29],[9657,29]]}},"keywords":{}}],["mypullstream$.next(ev",{"_index":5034,"title":{},"content":{"875":{"position":[[5498,26]]}},"keywords":{}}],["myqueri",{"_index":4647,"title":{},"content":{"797":{"position":[[241,7]]}},"keywords":{}}],["myquerymodifi",{"_index":5957,"title":{},"content":{"1105":{"position":[[831,15]]}},"keywords":{}}],["myquerymodifier(authdata",{"_index":5954,"title":{},"content":{"1105":{"position":[[602,25]]}},"keywords":{}}],["myrandompasswordwithmin8length",{"_index":4036,"title":{},"content":{"718":{"position":[[573,32]]}},"keywords":{}}],["myreplicationstate.active$.pip",{"_index":5508,"title":{},"content":{"995":{"position":[[1594,32]]}},"keywords":{}}],["myreplicationstate.awaitinsync",{"_index":5510,"title":{},"content":{"995":{"position":[[1658,33]]}},"keywords":{}}],["myrxcollect",{"_index":4051,"title":{},"content":{"724":{"position":[[741,15]]},"846":{"position":[[223,15]]},"848":{"position":[[740,15],[1375,15]]},"852":{"position":[[258,15]]},"854":{"position":[[705,15]]},"858":{"position":[[216,15]]},"866":{"position":[[460,15]]},"875":{"position":[[460,15]]},"886":{"position":[[1042,15],[2674,15],[3861,15]]},"887":{"position":[[327,15]]},"888":{"position":[[468,15]]},"889":{"position":[[517,15]]},"890":{"position":[[817,15]]},"893":{"position":[[386,15]]},"988":{"position":[[284,15]]}},"keywords":{}}],["myrxcollection.cleanup",{"_index":3761,"title":{},"content":{"654":{"position":[[178,25]]}},"keywords":{}}],["myrxcollection.cleanup(0",{"_index":3763,"title":{},"content":{"654":{"position":[[452,26]]},"655":{"position":[[490,26]]}},"keywords":{}}],["myrxcollection.cleanup(1000",{"_index":3762,"title":{},"content":{"654":{"position":[[302,29]]}},"keywords":{}}],["myrxcollection.find().remov",{"_index":3768,"title":{},"content":{"655":{"position":[[421,31]]}},"keywords":{}}],["myrxcollection.findone(id).exec",{"_index":5835,"title":{},"content":{"1078":{"position":[[1129,34]]}},"keywords":{}}],["myrxcollection.insert",{"_index":3884,"title":{},"content":{"683":{"position":[[170,23]]},"1078":{"position":[[861,23]]}},"keywords":{}}],["myrxcollection.insertcrdt",{"_index":3886,"title":{},"content":{"683":{"position":[[268,27],[730,27]]}},"keywords":{}}],["myrxcollection.remov",{"_index":3765,"title":{},"content":{"655":{"position":[[125,24]]}},"keywords":{}}],["myrxcollection.schema.getprimaryofdocumentdata",{"_index":5834,"title":{},"content":{"1078":{"position":[[1021,48]]}},"keywords":{}}],["myrxcollection.storageinst",{"_index":6145,"title":{},"content":{"1177":{"position":[[252,31]]}},"keywords":{}}],["myrxdatabas",{"_index":3813,"title":{},"content":{"662":{"position":[[2105,12]]},"772":{"position":[[1594,12],[2356,12]]},"838":{"position":[[2183,12]]},"1090":{"position":[[761,12],[1047,13]]},"1097":{"position":[[732,13]]},"1098":{"position":[[368,13]]},"1099":{"position":[[342,13]]},"1103":{"position":[[227,13]]},"1125":{"position":[[266,12]]},"1130":{"position":[[139,12]]},"1189":{"position":[[383,12]]},"1219":{"position":[[576,12]]},"1220":{"position":[[255,13]]},"1271":{"position":[[1549,12]]},"1274":{"position":[[300,12]]},"1275":{"position":[[311,12]]},"1276":{"position":[[913,12]]},"1277":{"position":[[360,12]]},"1278":{"position":[[437,12],[889,12]]},"1279":{"position":[[687,12]]},"1280":{"position":[[422,12]]}},"keywords":{}}],["myrxdatabase.addcollect",{"_index":3816,"title":{},"content":{"662":{"position":[[2332,29]]},"710":{"position":[[1821,29]]},"838":{"position":[[2546,29]]}},"keywords":{}}],["myrxdocu",{"_index":4738,"title":{},"content":{"826":{"position":[[601,16]]},"1078":{"position":[[1114,12]]}},"keywords":{}}],["myrxdocument.delet",{"_index":4739,"title":{},"content":{"826":{"position":[[697,23]]}},"keywords":{}}],["myrxdocument.foobar",{"_index":4737,"title":{},"content":{"826":{"position":[[508,22]]}},"keywords":{}}],["myrxdocument.get$$('foobar",{"_index":4736,"title":{},"content":{"826":{"position":[[446,29]]}},"keywords":{}}],["myrxdocument1",{"_index":5340,"title":{},"content":{"945":{"position":[[486,14]]}},"keywords":{}}],["myrxdocument2",{"_index":5341,"title":{},"content":{"945":{"position":[[501,14]]}},"keywords":{}}],["myrxjsonschema",{"_index":4710,"title":{},"content":{"820":{"position":[[193,15]]}},"keywords":{}}],["myrxlocaldocu",{"_index":4742,"title":{},"content":{"826":{"position":[[1028,21]]}},"keywords":{}}],["myrxlocaldocument.get$$('foobar",{"_index":4743,"title":{},"content":{"826":{"position":[[1112,34]]}},"keywords":{}}],["myrxpipeline.awaitidl",{"_index":5650,"title":{},"content":{"1026":{"position":[[53,25]]}},"keywords":{}}],["myrxpipeline.clos",{"_index":5651,"title":{},"content":{"1027":{"position":[[7,20]]}},"keywords":{}}],["myrxpipeline.remov",{"_index":5652,"title":{},"content":{"1028":{"position":[[7,21]]}},"keywords":{}}],["myrxreplicationstate.active$.subscribe(bool",{"_index":5500,"title":{},"content":{"993":{"position":[[680,43]]}},"keywords":{}}],["myrxreplicationstate.awaitinitialrepl",{"_index":5501,"title":{},"content":{"994":{"position":[[278,47]]}},"keywords":{}}],["myrxreplicationstate.awaitinsync",{"_index":5505,"title":{},"content":{"995":{"position":[[395,35]]}},"keywords":{}}],["myrxreplicationstate.cancel",{"_index":5523,"title":{},"content":{"997":{"position":[[102,30]]}},"keywords":{}}],["myrxreplicationstate.canceled$.subscribe(bool",{"_index":5498,"title":{},"content":{"993":{"position":[[541,45]]}},"keywords":{}}],["myrxreplicationstate.error$.subscribe(err",{"_index":5592,"title":{},"content":{"1010":{"position":[[275,41]]}},"keywords":{}}],["myrxreplicationstate.error$.subscribe(error",{"_index":5496,"title":{},"content":{"993":{"position":[[405,43]]}},"keywords":{}}],["myrxreplicationstate.paus",{"_index":5525,"title":{},"content":{"998":{"position":[[108,29]]}},"keywords":{}}],["myrxreplicationstate.received$.subscribe(doc",{"_index":5494,"title":{},"content":{"993":{"position":[[142,44]]}},"keywords":{}}],["myrxreplicationstate.remov",{"_index":5529,"title":{},"content":{"999":{"position":[[287,30]]}},"keywords":{}}],["myrxreplicationstate.resync",{"_index":5522,"title":{},"content":{"996":{"position":[[270,30],[553,30]]}},"keywords":{}}],["myrxreplicationstate.sent$.subscribe(doc",{"_index":5495,"title":{},"content":{"993":{"position":[[263,40]]}},"keywords":{}}],["myrxreplicationstate.start",{"_index":5526,"title":{},"content":{"998":{"position":[[144,29]]}},"keywords":{}}],["myrxschema",{"_index":4746,"title":{},"content":{"829":{"position":[[765,10]]}},"keywords":{}}],["myrxserver.addreplicationendpoint",{"_index":5928,"title":{},"content":{"1100":{"position":[[390,36]]}},"keywords":{}}],["myrxstate.myfield",{"_index":5990,"title":{},"content":{"1116":{"position":[[290,18]]}},"keywords":{}}],["mys3cretp4ssw0rd",{"_index":1899,"title":{},"content":{"315":{"position":[[617,18]]}},"keywords":{}}],["myschema",{"_index":2121,"title":{},"content":{"367":{"position":[[700,8]]},"680":{"position":[[798,8],[1176,8]]},"720":{"position":[[124,8]]},"734":{"position":[[600,8],[890,8]]},"739":{"position":[[456,8]]},"772":{"position":[[967,8]]},"789":{"position":[[212,9],[459,9]]},"791":{"position":[[68,9],[327,9]]},"792":{"position":[[195,9]]},"806":{"position":[[620,9]]},"818":{"position":[[539,9]]},"862":{"position":[[618,8],[851,8]]},"916":{"position":[[131,8],[384,8]]},"932":{"position":[[1183,8]]},"934":{"position":[[301,9]]},"939":{"position":[[194,8]]},"979":{"position":[[354,8]]},"1078":{"position":[[114,8]]},"1222":{"position":[[536,8]]},"1309":{"position":[[1464,9]]}},"keywords":{}}],["mysecondqueri",{"_index":4712,"title":{},"content":{"820":{"position":[[596,14]]}},"keywords":{}}],["mysecretid",{"_index":3354,"title":{},"content":{"555":{"position":[[302,13]]}},"keywords":{}}],["myserv",{"_index":5911,"title":{},"content":{"1090":{"position":[[1004,8]]},"1097":{"position":[[688,8]]},"1098":{"position":[[324,8]]},"1099":{"position":[[298,8]]},"1103":{"position":[[184,8]]}},"keywords":{}}],["myserver.start",{"_index":5920,"title":{},"content":{"1097":{"position":[[278,16],[881,17]]},"1098":{"position":[[435,17]]},"1099":{"position":[[405,17]]}},"keywords":{}}],["myservercollect",{"_index":5931,"title":{},"content":{"1100":{"position":[[715,18]]},"1101":{"position":[[527,18]]},"1102":{"position":[[400,18]]},"1103":{"position":[[370,19]]},"1105":{"position":[[796,19]]},"1106":{"position":[[734,19]]}},"keywords":{}}],["mysign",{"_index":6005,"title":{},"content":{"1118":{"position":[[798,8],[841,8]]}},"keywords":{}}],["mysourcecollection.addpipelin",{"_index":5618,"title":{},"content":{"1020":{"position":[[356,32]]}},"keywords":{}}],["mysql",{"_index":2033,"title":{"356":{"position":[[30,6]]}},"content":{"356":{"position":[[90,6]]},"571":{"position":[[554,5]]},"708":{"position":[[138,6]]},"1124":{"position":[[2072,5]]}},"keywords":{}}],["mysql’",{"_index":2092,"title":{},"content":{"362":{"position":[[372,7]]}},"keywords":{}}],["mystat",{"_index":5983,"title":{},"content":{"1114":{"position":[[822,7]]},"1118":{"position":[[755,7]]},"1121":{"position":[[535,7]]}},"keywords":{}}],["mystate.collect",{"_index":6009,"title":{},"content":{"1121":{"position":[[633,19]]}},"keywords":{}}],["mystate.get",{"_index":5992,"title":{},"content":{"1116":{"position":[[345,14]]}},"keywords":{}}],["mystate.get$$('myfield",{"_index":6006,"title":{},"content":{"1118":{"position":[[809,25]]}},"keywords":{}}],["mystate.get$('myfield",{"_index":5999,"title":{},"content":{"1117":{"position":[[328,24]]}},"keywords":{}}],["mystate.get('myarrayfield[0].foobar",{"_index":5997,"title":{},"content":{"1116":{"position":[[599,38]]}},"keywords":{}}],["mystate.get('myfield",{"_index":5993,"title":{},"content":{"1116":{"position":[[395,23]]}},"keywords":{}}],["mystate.get('myfield.childfield",{"_index":5995,"title":{},"content":{"1116":{"position":[[483,34]]}},"keywords":{}}],["mystate.myarrayfield[0].foobar",{"_index":5998,"title":{},"content":{"1116":{"position":[[650,31]]}},"keywords":{}}],["mystate.myfield",{"_index":5994,"title":{},"content":{"1116":{"position":[[431,16]]},"1117":{"position":[[290,17],[372,17]]},"1118":{"position":[[852,18]]}},"keywords":{}}],["mystate.myfield.childfield",{"_index":5996,"title":{},"content":{"1116":{"position":[[530,27]]}},"keywords":{}}],["mystate.set('myfield",{"_index":5988,"title":{},"content":{"1115":{"position":[[319,22],[385,22],[455,22]]}},"keywords":{}}],["mystoragebucket",{"_index":6059,"title":{},"content":{"1140":{"position":[[705,15]]}},"keywords":{}}],["mystoragebucket.indexeddb",{"_index":6062,"title":{},"content":{"1140":{"position":[[799,26]]}},"keywords":{}}],["mystrongpassword123",{"_index":3437,"title":{},"content":{"564":{"position":[[667,21]]}},"keywords":{}}],["mytododb",{"_index":5256,"title":{},"content":{"904":{"position":[[739,11]]}},"keywords":{}}],["mytopsecretpassword",{"_index":3137,"title":{},"content":{"482":{"position":[[694,21]]}},"keywords":{}}],["myvalu",{"_index":4770,"title":{},"content":{"835":{"position":[[473,11]]}},"keywords":{}}],["myzerolocaldb",{"_index":3704,"title":{},"content":{"632":{"position":[[1313,16]]}},"keywords":{}}],["n",{"_index":3637,"title":{},"content":{"617":{"position":[[765,1]]}},"keywords":{}}],["n1ql",{"_index":415,"title":{},"content":{"25":{"position":[[120,4]]}},"keywords":{}}],["n\\n",{"_index":5046,"title":{},"content":{"875":{"position":[[7483,8]]}},"keywords":{}}],["nakamoto",{"_index":4713,"title":{},"content":{"820":{"position":[[660,10]]}},"keywords":{}}],["name",{"_index":35,"title":{"935":{"position":[[0,5]]},"961":{"position":[[0,5]]}},"content":{"1":{"position":[[555,5]]},"2":{"position":[[358,5]]},"3":{"position":[[238,5]]},"4":{"position":[[416,5]]},"5":{"position":[[326,5]]},"6":{"position":[[521,5],[700,5]]},"7":{"position":[[358,5],[422,4],[535,5],[618,4]]},"8":{"position":[[1127,5],[1204,4]]},"9":{"position":[[272,5],[347,4]]},"10":{"position":[[310,5]]},"11":{"position":[[836,5]]},"51":{"position":[[443,5],[515,7],[718,5],[743,4]]},"52":{"position":[[109,5],[209,5],[252,5],[421,5],[511,5],[658,5]]},"54":{"position":[[180,5]]},"55":{"position":[[892,5]]},"130":{"position":[[535,5]]},"143":{"position":[[475,5],[656,5]]},"188":{"position":[[1062,5],[1320,5],[1415,9],[1442,7]]},"189":{"position":[[487,4]]},"209":{"position":[[261,5]]},"211":{"position":[[231,5]]},"255":{"position":[[608,5]]},"258":{"position":[[169,5]]},"266":{"position":[[683,5]]},"302":{"position":[[136,5]]},"303":{"position":[[350,5]]},"314":{"position":[[494,5]]},"315":{"position":[[557,5]]},"316":{"position":[[442,5]]},"334":{"position":[[352,5],[705,5]]},"335":{"position":[[773,5]]},"345":{"position":[[50,6]]},"356":{"position":[[362,4],[445,6]]},"361":{"position":[[276,5],[375,5]]},"367":{"position":[[913,5],[1053,7]]},"392":{"position":[[362,5]]},"401":{"position":[[136,4]]},"402":{"position":[[2098,4]]},"422":{"position":[[340,6]]},"426":{"position":[[308,5]]},"444":{"position":[[766,4]]},"480":{"position":[[387,5]]},"482":{"position":[[632,5]]},"522":{"position":[[433,5],[460,4]]},"538":{"position":[[448,5],[473,4],[744,5],[816,7]]},"539":{"position":[[109,5],[209,5],[252,5],[421,5],[511,5],[658,5]]},"542":{"position":[[553,5]]},"554":{"position":[[1071,5]]},"562":{"position":[[186,5],[391,5],[463,7],[585,5]]},"563":{"position":[[498,5]]},"564":{"position":[[602,5]]},"579":{"position":[[361,5],[713,5]]},"580":{"position":[[555,5]]},"588":{"position":[[34,5]]},"598":{"position":[[455,5],[480,4],[751,5],[823,7]]},"599":{"position":[[118,5],[227,5],[279,5],[448,5],[538,5],[689,5]]},"612":{"position":[[985,5]]},"632":{"position":[[1307,5]]},"638":{"position":[[449,5]]},"639":{"position":[[79,6],[140,5]]},"653":{"position":[[272,5]]},"662":{"position":[[2145,5],[2482,5],[2552,7],[2633,5],[2722,5],[2810,5]]},"680":{"position":[[693,5]]},"691":{"position":[[107,5],[362,5]]},"693":{"position":[[1193,5]]},"710":{"position":[[1714,5],[1940,5],[2029,5],[2117,5]]},"711":{"position":[[1291,6]]},"717":{"position":[[1174,5]]},"718":{"position":[[677,5]]},"734":{"position":[[499,5]]},"739":{"position":[[303,5]]},"745":{"position":[[548,5]]},"749":{"position":[[19,4],[126,5],[290,6],[320,4],[349,4],[1426,4],[4898,5],[5284,4],[5610,4],[6239,5],[6494,4],[6513,5],[6519,4],[7675,4],[8160,4],[8252,5],[8467,4],[16938,4]]},"759":{"position":[[379,5],[506,4],[611,5]]},"760":{"position":[[502,4],[607,5]]},"772":{"position":[[789,5],[1046,5],[1634,5],[2396,5]]},"773":{"position":[[86,4],[579,5]]},"774":{"position":[[681,5]]},"789":{"position":[[137,6]]},"791":{"position":[[435,5]]},"808":{"position":[[200,7],[222,5],[556,7],[594,5]]},"810":{"position":[[221,5],[292,5]]},"811":{"position":[[201,5],[272,5]]},"812":{"position":[[117,5]]},"813":{"position":[[117,5],[278,5]]},"825":{"position":[[360,5]]},"829":{"position":[[658,5],[2436,5],[3352,5]]},"838":{"position":[[2246,5],[2316,5],[2696,5],[2766,7],[2847,5],[2936,5],[3024,5]]},"851":{"position":[[222,4]]},"854":{"position":[[466,7]]},"861":{"position":[[1930,4],[2039,5]]},"862":{"position":[[558,5],[751,5],[796,7]]},"865":{"position":[[229,4]]},"866":{"position":[[566,4]]},"872":{"position":[[1732,5],[3399,5],[3990,5]]},"885":{"position":[[547,5],[642,5]]},"886":{"position":[[704,4],[2418,4],[3615,5]]},"888":{"position":[[1129,5]]},"893":{"position":[[319,4],[365,5]]},"898":{"position":[[1716,4],[2340,5],[3933,5]]},"904":{"position":[[733,5],[1930,6]]},"917":{"position":[[196,4]]},"932":{"position":[[1062,5]]},"934":{"position":[[140,4]]},"935":{"position":[[5,4],[177,5],[194,5]]},"939":{"position":[[70,4]]},"942":{"position":[[210,5]]},"943":{"position":[[418,5]]},"944":{"position":[[225,5],[261,5]]},"946":{"position":[[182,5]]},"947":{"position":[[200,5],[235,5]]},"948":{"position":[[392,5]]},"950":{"position":[[291,5]]},"960":{"position":[[301,5],[328,4]]},"961":{"position":[[14,4],[106,4]]},"962":{"position":[[772,5],[988,5]]},"966":{"position":[[75,4],[556,5],[674,5]]},"967":{"position":[[141,5],[259,5]]},"1013":{"position":[[317,5]]},"1035":{"position":[[124,5]]},"1038":{"position":[[134,4],[180,4],[197,4]]},"1039":{"position":[[177,6]]},"1040":{"position":[[178,4],[408,5],[490,5]]},"1043":{"position":[[84,5]]},"1056":{"position":[[134,5]]},"1065":{"position":[[241,5],[813,5],[973,4],[998,4],[1076,5],[1102,5],[1311,5]]},"1067":{"position":[[2396,5]]},"1069":{"position":[[699,4]]},"1072":{"position":[[2352,5],[2674,5]]},"1074":{"position":[[123,4],[552,4]]},"1085":{"position":[[2072,6],[2274,4],[2321,5],[3736,4],[3775,5]]},"1090":{"position":[[801,5]]},"1100":{"position":[[450,4],[566,4],[682,5]]},"1101":{"position":[[494,5]]},"1102":{"position":[[367,5]]},"1103":{"position":[[337,5]]},"1105":{"position":[[763,5]]},"1106":{"position":[[701,5]]},"1108":{"position":[[431,5]]},"1114":{"position":[[730,5]]},"1118":{"position":[[664,5]]},"1121":{"position":[[470,5]]},"1125":{"position":[[306,5]]},"1126":{"position":[[386,5],[699,5]]},"1130":{"position":[[179,5]]},"1134":{"position":[[156,5]]},"1138":{"position":[[300,5]]},"1139":{"position":[[555,5]]},"1140":{"position":[[614,5]]},"1144":{"position":[[204,5]]},"1145":{"position":[[544,5]]},"1146":{"position":[[249,5]]},"1148":{"position":[[1143,5]]},"1149":{"position":[[936,5],[1149,5],[1219,7]]},"1154":{"position":[[764,5]]},"1158":{"position":[[212,5]]},"1159":{"position":[[398,5]]},"1163":{"position":[[558,5]]},"1165":{"position":[[748,5],[1086,5]]},"1168":{"position":[[160,5]]},"1172":{"position":[[325,5]]},"1182":{"position":[[562,5]]},"1184":{"position":[[801,5]]},"1189":{"position":[[423,5]]},"1201":{"position":[[200,5]]},"1208":{"position":[[888,5]]},"1210":{"position":[[440,5]]},"1211":{"position":[[695,5]]},"1222":{"position":[[1411,5]]},"1226":{"position":[[236,5]]},"1227":{"position":[[714,5]]},"1231":{"position":[[1045,5]]},"1264":{"position":[[158,5]]},"1265":{"position":[[702,5]]},"1267":{"position":[[636,5],[730,5]]},"1271":{"position":[[1589,5]]},"1274":{"position":[[340,5]]},"1275":{"position":[[351,5]]},"1276":{"position":[[953,5]]},"1277":{"position":[[400,5]]},"1278":{"position":[[477,5],[929,5]]},"1279":{"position":[[727,5]]},"1280":{"position":[[462,5]]},"1286":{"position":[[509,5]]},"1287":{"position":[[559,5]]},"1288":{"position":[[525,5]]},"1311":{"position":[[186,5]]}},"keywords":{}}],["name+collect",{"_index":6119,"title":{},"content":{"1165":{"position":[[520,16],[981,16]]}},"keywords":{}}],["name:foobar",{"_index":5356,"title":{},"content":{"950":{"position":[[244,11]]}},"keywords":{}}],["name].j",{"_index":6316,"title":{},"content":{"1266":{"position":[[618,12]]}},"keywords":{}}],["namecontroller.text",{"_index":1284,"title":{},"content":{"188":{"position":[[2945,20]]}},"keywords":{}}],["namelowercas",{"_index":5801,"title":{},"content":{"1072":{"position":[[2370,14],[2496,14]]}},"keywords":{}}],["namespac",{"_index":5985,"title":{},"content":{"1114":{"position":[[902,9]]},"1120":{"position":[[586,10]]}},"keywords":{}}],["narrow",{"_index":2487,"title":{},"content":{"402":{"position":[[2140,6],[2248,6]]}},"keywords":{}}],["narrowli",{"_index":2615,"title":{},"content":{"411":{"position":[[1702,8]]}},"keywords":{}}],["nat",{"_index":1054,"title":{"864":{"position":[[17,4]]}},"content":{"113":{"position":[[254,4]]},"174":{"position":[[3086,5]]},"238":{"position":[[169,5]]},"614":{"position":[[420,4]]},"793":{"position":[[823,4]]},"865":{"position":[[34,4],[161,4],[239,4]]},"866":{"position":[[15,4],[41,4],[400,6],[503,4],[541,5],[679,5]]},"867":{"position":[[148,4]]},"901":{"position":[[261,3]]},"1124":{"position":[[2302,5]]}},"keywords":{}}],["nativ",{"_index":58,"title":{"8":{"position":[[6,6]]},"371":{"position":[[38,7]]},"437":{"position":[[23,7]]},"549":{"position":[[6,6]]},"551":{"position":[[6,6]]},"552":{"position":[[40,7]]},"556":{"position":[[25,6]]},"703":{"position":[[19,7]]},"830":{"position":[[6,6]]},"833":{"position":[[6,6]]},"834":{"position":[[29,7]]},"852":{"position":[[6,7]]},"1139":{"position":[[23,6]]},"1145":{"position":[[23,6]]},"1214":{"position":[[24,6]]},"1277":{"position":[[17,7]]}},"content":{"4":{"position":[[56,6]]},"7":{"position":[[650,6]]},"8":{"position":[[187,6],[211,6],[263,6],[283,6],[342,6],[360,6],[454,7],[866,6],[939,6],[1181,6]]},"17":{"position":[[112,7],[269,7]]},"34":{"position":[[161,6],[495,8]]},"38":{"position":[[722,7]]},"47":{"position":[[1252,6]]},"66":{"position":[[163,6],[244,6]]},"80":{"position":[[52,8]]},"104":{"position":[[107,6]]},"109":{"position":[[6,8]]},"112":{"position":[[116,7]]},"120":{"position":[[122,6]]},"174":{"position":[[602,6],[2722,7]]},"201":{"position":[[196,8]]},"207":{"position":[[193,6]]},"231":{"position":[[145,8]]},"239":{"position":[[153,7]]},"243":{"position":[[87,6]]},"244":{"position":[[109,6],[434,6],[535,6],[1137,6],[1265,6],[1304,6],[1348,6],[1430,6]]},"248":{"position":[[82,7]]},"254":{"position":[[164,6],[400,7]]},"269":{"position":[[105,6],[228,6]]},"287":{"position":[[477,6]]},"314":{"position":[[143,6]]},"317":{"position":[[7,6]]},"364":{"position":[[183,6]]},"365":{"position":[[1053,7]]},"371":{"position":[[46,7],[309,6],[349,7]]},"375":{"position":[[930,6]]},"383":{"position":[[412,7]]},"384":{"position":[[211,7]]},"408":{"position":[[1616,6],[2073,6],[3598,6],[5156,6]]},"437":{"position":[[11,6],[273,6]]},"438":{"position":[[9,6]]},"445":{"position":[[1780,6]]},"446":{"position":[[1147,6]]},"447":{"position":[[243,6]]},"454":{"position":[[249,6],[470,7],[620,6]]},"458":{"position":[[72,7]]},"524":{"position":[[909,6]]},"535":{"position":[[41,6],[1304,7]]},"546":{"position":[[308,6]]},"551":{"position":[[7,6],[308,6],[333,6]]},"554":{"position":[[170,6]]},"556":{"position":[[112,6],[137,6],[230,6],[318,6],[1150,6]]},"557":{"position":[[125,6],[163,6],[466,6]]},"566":{"position":[[474,9],[1251,8],[1274,9]]},"581":{"position":[[227,6],[565,6]]},"595":{"position":[[41,6]]},"606":{"position":[[298,6]]},"613":{"position":[[793,6]]},"616":{"position":[[732,6],[1018,6]]},"621":{"position":[[281,8]]},"631":{"position":[[196,8]]},"640":{"position":[[335,6]]},"641":{"position":[[399,6]]},"659":{"position":[[24,6],[165,6]]},"711":{"position":[[739,6]]},"717":{"position":[[209,6]]},"749":{"position":[[1161,6]]},"793":{"position":[[316,7]]},"824":{"position":[[247,6]]},"828":{"position":[[85,7]]},"829":{"position":[[938,6]]},"830":{"position":[[75,7],[193,6]]},"832":{"position":[[270,6]]},"834":{"position":[[67,7]]},"835":{"position":[[583,6],[633,6]]},"836":{"position":[[236,7],[402,6],[486,6],[523,6],[650,6],[1061,6],[1296,6],[1617,6],[1645,6]]},"837":{"position":[[318,6],[855,7],[1032,7],[1078,6],[1232,6],[1355,6],[1375,6],[1401,6],[1513,6],[1768,6],[1813,6],[2146,6]]},"838":{"position":[[383,7],[1201,7],[1347,6],[1588,7],[1827,6],[2011,6],[2409,6],[3212,7],[3419,7]]},"840":{"position":[[627,7],[670,6]]},"842":{"position":[[52,6],[90,6],[321,7]]},"852":{"position":[[7,6]]},"861":{"position":[[1582,10]]},"882":{"position":[[80,6],[129,6]]},"901":{"position":[[97,6]]},"917":{"position":[[405,6],[442,9]]},"964":{"position":[[460,6]]},"1072":{"position":[[1790,9]]},"1147":{"position":[[528,6]]},"1173":{"position":[[236,6]]},"1183":{"position":[[473,6]]},"1191":{"position":[[383,6]]},"1196":{"position":[[22,6],[49,7]]},"1206":{"position":[[44,6]]},"1214":{"position":[[110,6],[702,6]]},"1247":{"position":[[100,7]]},"1271":{"position":[[235,6],[1266,6]]},"1277":{"position":[[19,6],[313,6],[502,6],[603,6],[683,6],[840,6]]},"1283":{"position":[[7,6]]},"1284":{"position":[[457,7]]},"1316":{"position":[[3556,6]]}},"keywords":{}}],["native"",{"_index":1520,"title":{},"content":{"244":{"position":[[1398,12]]}},"keywords":{}}],["native'",{"_index":133,"title":{},"content":{"9":{"position":[[12,8]]}},"keywords":{}}],["native)desktop",{"_index":3121,"title":{},"content":{"479":{"position":[[391,14]]}},"keywords":{}}],["natively.with",{"_index":2981,"title":{},"content":{"457":{"position":[[241,13]]}},"keywords":{}}],["nativescript",{"_index":6136,"title":{},"content":{"1173":{"position":[[154,13]]}},"keywords":{}}],["nats:2.9.17",{"_index":4925,"title":{},"content":{"865":{"position":[[257,11]]}},"keywords":{}}],["natur",{"_index":701,"title":{"350":{"position":[[21,7]]}},"content":{"45":{"position":[[326,7]]},"68":{"position":[[142,6]]},"73":{"position":[[89,7]]},"104":{"position":[[49,9]]},"173":{"position":[[500,6]]},"174":{"position":[[658,7],[1461,7]]},"226":{"position":[[435,6]]},"231":{"position":[[226,7]]},"354":{"position":[[67,7]]},"362":{"position":[[22,9]]},"364":{"position":[[80,9]]},"371":{"position":[[256,7]]},"385":{"position":[[282,6]]},"410":{"position":[[1825,9]]},"412":{"position":[[5677,7]]},"634":{"position":[[47,9]]},"723":{"position":[[1059,7]]},"901":{"position":[[409,6]]}},"keywords":{}}],["navig",{"_index":1975,"title":{},"content":{"346":{"position":[[489,10]]},"396":{"position":[[397,11],[547,9]]},"424":{"position":[[338,9]]}},"keywords":{}}],["navigator.hardwareconcurr",{"_index":2280,"title":{},"content":{"392":{"position":[[4651,30],[5039,29]]}},"keywords":{}}],["navigator.onlin",{"_index":5456,"title":{},"content":{"988":{"position":[[1021,16]]}},"keywords":{}}],["navigator.storage.estim",{"_index":1771,"title":{},"content":{"300":{"position":[[237,29]]},"301":{"position":[[325,28]]},"461":{"position":[[1284,29]]}},"keywords":{}}],["navigator.storage.getdirectori",{"_index":6197,"title":{},"content":{"1208":{"position":[[721,33]]},"1215":{"position":[[518,33]]}},"keywords":{}}],["navigator.storage.persist",{"_index":1777,"title":{},"content":{"300":{"position":[[482,27]]}},"keywords":{}}],["navigator.storagebuckets.open('myapp",{"_index":6060,"title":{},"content":{"1140":{"position":[[729,36]]}},"keywords":{}}],["near",{"_index":708,"title":{},"content":{"46":{"position":[[294,4]]},"65":{"position":[[1155,4]]},"265":{"position":[[411,4]]},"301":{"position":[[720,7]]},"375":{"position":[[520,4]]},"408":{"position":[[1611,4],[2068,4],[3593,4]]},"410":{"position":[[181,4]]},"415":{"position":[[68,4]]},"474":{"position":[[168,4]]},"483":{"position":[[65,4]]},"486":{"position":[[22,4]]},"498":{"position":[[577,4]]},"571":{"position":[[102,4]]},"632":{"position":[[1955,4]]},"641":{"position":[[394,4]]},"780":{"position":[[757,4]]},"1007":{"position":[[356,5]]},"1093":{"position":[[165,4]]}},"keywords":{}}],["nearbi",{"_index":2809,"title":{},"content":{"419":{"position":[[1423,6]]},"1007":{"position":[[2040,6]]}},"keywords":{}}],["nearest",{"_index":2209,"title":{},"content":{"390":{"position":[[1597,7]]},"396":{"position":[[232,7],[632,7]]}},"keywords":{}}],["nearli",{"_index":2127,"title":{},"content":{"369":{"position":[[1259,6]]},"412":{"position":[[2715,6]]},"478":{"position":[[173,6]]}},"keywords":{}}],["neatli",{"_index":3257,"title":{},"content":{"521":{"position":[[115,6]]},"590":{"position":[[315,6]]}},"keywords":{}}],["necessari",{"_index":714,"title":{},"content":{"46":{"position":[[439,9]]},"128":{"position":[[69,9]]},"227":{"position":[[383,9]]},"395":{"position":[[264,9]]},"430":{"position":[[303,9]]},"503":{"position":[[150,9]]},"542":{"position":[[182,9]]},"582":{"position":[[237,10]]},"617":{"position":[[2056,9]]},"778":{"position":[[461,9]]},"886":{"position":[[4726,9]]},"1052":{"position":[[164,10]]},"1072":{"position":[[567,9]]},"1198":{"position":[[1809,9]]}},"keywords":{}}],["necessary.vers",{"_index":4778,"title":{},"content":{"836":{"position":[[2019,17]]}},"keywords":{}}],["necessit",{"_index":948,"title":{},"content":{"66":{"position":[[597,13]]}},"keywords":{}}],["nedb",{"_index":502,"title":{"32":{"position":[[0,5]]}},"content":{"32":{"position":[[1,4],[284,4]]}},"keywords":{}}],["need",{"_index":44,"title":{"574":{"position":[[21,4]]},"784":{"position":[[14,4]]},"785":{"position":[[14,4]]},"1312":{"position":[[20,4]]}},"content":{"2":{"position":[[248,4]]},"6":{"position":[[407,4]]},"7":{"position":[[109,4]]},"8":{"position":[[423,4]]},"10":{"position":[[181,4]]},"11":{"position":[[1000,5]]},"18":{"position":[[148,6]]},"34":{"position":[[323,4]]},"35":{"position":[[568,6]]},"40":{"position":[[592,4]]},"46":{"position":[[40,5],[326,4]]},"47":{"position":[[400,4]]},"59":{"position":[[19,6]]},"65":{"position":[[322,4]]},"70":{"position":[[144,5]]},"72":{"position":[[151,6]]},"92":{"position":[[109,4]]},"96":{"position":[[72,4]]},"103":{"position":[[145,4]]},"122":{"position":[[329,4]]},"128":{"position":[[49,4]]},"129":{"position":[[267,4]]},"131":{"position":[[872,4]]},"133":{"position":[[323,4]]},"143":{"position":[[123,4],[300,7]]},"147":{"position":[[328,6]]},"159":{"position":[[271,4]]},"172":{"position":[[238,4]]},"173":{"position":[[772,4],[1703,4]]},"183":{"position":[[96,4]]},"188":{"position":[[1978,4]]},"212":{"position":[[33,4],[403,7],[553,4]]},"217":{"position":[[139,4]]},"219":{"position":[[228,4]]},"224":{"position":[[254,4]]},"233":{"position":[[205,4]]},"261":{"position":[[161,4],[1139,4]]},"262":{"position":[[32,4],[310,4]]},"266":{"position":[[420,6]]},"270":{"position":[[111,4]]},"271":{"position":[[69,5]]},"282":{"position":[[417,4]]},"285":{"position":[[273,6]]},"289":{"position":[[1765,4]]},"295":{"position":[[375,6]]},"298":{"position":[[10,4],[921,5]]},"303":{"position":[[39,4],[1111,4]]},"305":{"position":[[259,8]]},"306":{"position":[[120,4]]},"309":{"position":[[205,7]]},"314":{"position":[[131,4],[626,4],[954,4]]},"320":{"position":[[312,4]]},"321":{"position":[[47,4]]},"326":{"position":[[238,4]]},"346":{"position":[[97,6],[880,7]]},"353":{"position":[[582,7]]},"354":{"position":[[576,5]]},"357":{"position":[[541,5]]},"358":{"position":[[758,4],[806,4]]},"369":{"position":[[808,4],[865,6]]},"375":{"position":[[515,4]]},"378":{"position":[[83,5]]},"383":{"position":[[102,7],[520,6]]},"388":{"position":[[518,5]]},"391":{"position":[[62,4]]},"392":{"position":[[1133,4],[1323,4],[1813,4]]},"395":{"position":[[38,4]]},"400":{"position":[[234,4],[679,4]]},"410":{"position":[[319,4],[1195,5],[1690,4],[2191,4]]},"411":{"position":[[1088,4],[2201,4],[2614,4]]},"412":{"position":[[2587,5],[3233,4],[4012,4],[6288,5],[6609,4],[7146,4],[7305,5],[7440,4],[7508,6],[8243,5],[9447,4],[10068,4],[10108,4],[10774,7],[11318,4],[11612,4],[12258,4],[12660,4],[14353,4],[14616,7],[14719,5]]},"418":{"position":[[376,6]]},"432":{"position":[[75,6]]},"436":{"position":[[283,6]]},"441":{"position":[[275,5]]},"444":{"position":[[297,4]]},"445":{"position":[[2309,4]]},"451":{"position":[[250,4],[348,4]]},"463":{"position":[[395,5],[446,5]]},"468":{"position":[[245,4]]},"483":{"position":[[1003,4]]},"490":{"position":[[275,4],[636,6]]},"491":{"position":[[78,4],[894,5]]},"496":{"position":[[541,4]]},"497":{"position":[[181,4]]},"504":{"position":[[24,5],[509,5]]},"515":{"position":[[300,4]]},"518":{"position":[[318,4]]},"534":{"position":[[388,4]]},"542":{"position":[[1008,7]]},"551":{"position":[[383,4]]},"553":{"position":[[47,5]]},"555":{"position":[[933,4]]},"556":{"position":[[564,4]]},"559":{"position":[[1353,4]]},"560":{"position":[[155,6]]},"565":{"position":[[8,4]]},"566":{"position":[[1040,6]]},"567":{"position":[[1133,6]]},"569":{"position":[[1534,4]]},"570":{"position":[[611,4]]},"574":{"position":[[834,5]]},"590":{"position":[[566,4],[634,5]]},"594":{"position":[[386,4]]},"612":{"position":[[298,5]]},"614":{"position":[[202,4],[866,4]]},"618":{"position":[[751,4]]},"632":{"position":[[395,7],[1407,6]]},"634":{"position":[[223,4]]},"643":{"position":[[244,7]]},"650":{"position":[[70,4]]},"659":{"position":[[741,5]]},"660":{"position":[[340,5]]},"662":{"position":[[340,4]]},"669":{"position":[[8,4]]},"670":{"position":[[27,4]]},"679":{"position":[[76,4]]},"680":{"position":[[29,4]]},"689":{"position":[[511,5]]},"696":{"position":[[114,4],[196,4]]},"698":{"position":[[239,4],[2624,4]]},"701":{"position":[[225,4]]},"703":{"position":[[877,6],[1333,4]]},"705":{"position":[[968,4]]},"711":{"position":[[771,4]]},"714":{"position":[[868,4]]},"716":{"position":[[194,4]]},"721":{"position":[[276,4]]},"723":{"position":[[548,4],[1790,4],[2655,4]]},"727":{"position":[[10,4]]},"728":{"position":[[203,4]]},"731":{"position":[[8,4]]},"749":{"position":[[254,4],[7330,5],[17790,5],[19352,5],[19472,5]]},"752":{"position":[[637,6],[650,6]]},"781":{"position":[[353,5]]},"799":{"position":[[51,6],[287,4]]},"835":{"position":[[846,5]]},"836":{"position":[[2349,7]]},"838":{"position":[[369,4]]},"839":{"position":[[603,4],[696,6]]},"841":{"position":[[858,6],[1158,6],[1271,6]]},"848":{"position":[[33,4]]},"855":{"position":[[60,6]]},"856":{"position":[[119,6]]},"858":{"position":[[11,4]]},"861":{"position":[[215,7],[1647,5],[1826,4]]},"866":{"position":[[559,4]]},"867":{"position":[[60,6]]},"872":{"position":[[213,4],[347,4]]},"875":{"position":[[1326,4],[6622,4]]},"882":{"position":[[107,4]]},"885":{"position":[[285,4],[478,4]]},"886":{"position":[[56,4],[2112,4],[3270,4]]},"898":{"position":[[1811,4]]},"904":{"position":[[2284,4],[2815,4],[2956,4]]},"906":{"position":[[732,6]]},"934":{"position":[[39,4],[121,5]]},"965":{"position":[[187,6]]},"968":{"position":[[85,4]]},"986":{"position":[[415,6]]},"988":{"position":[[2311,6],[3413,6],[4786,4]]},"989":{"position":[[335,4]]},"1002":{"position":[[844,4]]},"1007":{"position":[[825,5]]},"1008":{"position":[[287,4]]},"1009":{"position":[[143,5],[1092,5]]},"1022":{"position":[[272,4]]},"1059":{"position":[[94,4]]},"1067":{"position":[[15,4],[79,4]]},"1068":{"position":[[474,4]]},"1072":{"position":[[269,4],[468,4],[1108,4],[1422,7]]},"1079":{"position":[[414,6]]},"1100":{"position":[[432,5]]},"1105":{"position":[[1125,4]]},"1107":{"position":[[226,4],[996,4]]},"1108":{"position":[[284,4]]},"1132":{"position":[[697,5]]},"1133":{"position":[[352,4],[549,4]]},"1135":{"position":[[367,4]]},"1141":{"position":[[78,4]]},"1147":{"position":[[412,5]]},"1150":{"position":[[240,4]]},"1157":{"position":[[499,4]]},"1164":{"position":[[412,6]]},"1237":{"position":[[39,5]]},"1246":{"position":[[1894,5]]},"1251":{"position":[[39,4]]},"1274":{"position":[[554,4]]},"1279":{"position":[[941,4]]},"1281":{"position":[[8,4]]},"1294":{"position":[[394,5],[452,4],[655,4],[2012,7]]},"1296":{"position":[[410,4]]},"1299":{"position":[[73,4]]},"1316":{"position":[[1823,4]]},"1317":{"position":[[370,4]]},"1323":{"position":[[160,4]]}},"keywords":{}}],["need.perform",{"_index":1559,"title":{},"content":{"252":{"position":[[182,12]]}},"keywords":{}}],["needs—especi",{"_index":3434,"title":{},"content":{"564":{"position":[[35,16]]}},"keywords":{}}],["neg",{"_index":4404,"title":{},"content":{"749":{"position":[[21131,8],[21602,10]]}},"keywords":{}}],["neighbor",{"_index":2210,"title":{},"content":{"390":{"position":[[1605,10]]},"396":{"position":[[240,8],[640,8]]}},"keywords":{}}],["neighboringchunkids.foreach(startchunkrepl",{"_index":5577,"title":{},"content":{"1007":{"position":[[2100,51]]}},"keywords":{}}],["neighboringchunkids.includes(cid",{"_index":5579,"title":{},"content":{"1007":{"position":[[2207,36]]}},"keywords":{}}],["ness",{"_index":5413,"title":{},"content":{"975":{"position":[[126,4]]}},"keywords":{}}],["nest",{"_index":1986,"title":{"812":{"position":[[13,6]]}},"content":{"350":{"position":[[68,6]]},"352":{"position":[[44,6],[301,6]]},"353":{"position":[[320,6]]},"354":{"position":[[93,6]]},"356":{"position":[[299,6],[809,6]]},"362":{"position":[[84,6]]},"364":{"position":[[534,6],[664,6]]},"369":{"position":[[386,6]]},"561":{"position":[[44,6]]},"749":{"position":[[15232,7]]},"765":{"position":[[62,6]]},"811":{"position":[[153,6]]},"861":{"position":[[1427,6],[1507,6]]},"1040":{"position":[[218,6]]},"1116":{"position":[[182,6],[455,6],[565,6]]}},"keywords":{}}],["nestedvalu",{"_index":5678,"title":{},"content":{"1040":{"position":[[237,11]]}},"keywords":{}}],["netscap",{"_index":2951,"title":{},"content":{"450":{"position":[[34,8]]}},"keywords":{}}],["network",{"_index":392,"title":{},"content":{"23":{"position":[[401,7]]},"40":{"position":[[388,10]]},"65":{"position":[[1121,7]]},"122":{"position":[[241,7],[380,7]]},"133":{"position":[[235,7],[373,7]]},"147":{"position":[[144,7]]},"152":{"position":[[369,7]]},"173":{"position":[[790,7]]},"183":{"position":[[343,7]]},"206":{"position":[[325,7]]},"216":{"position":[[135,7]]},"236":{"position":[[260,7]]},"251":{"position":[[120,7]]},"273":{"position":[[208,7]]},"280":{"position":[[502,7]]},"289":{"position":[[225,7],[1841,7],[2016,7]]},"309":{"position":[[121,9],[254,7]]},"311":{"position":[[245,7]]},"316":{"position":[[530,7]]},"323":{"position":[[227,7]]},"327":{"position":[[182,7]]},"346":{"position":[[601,7]]},"376":{"position":[[185,7]]},"407":{"position":[[153,8],[420,7]]},"408":{"position":[[2891,7]]},"410":{"position":[[1242,8]]},"414":{"position":[[146,7],[334,7]]},"415":{"position":[[319,7],[400,7]]},"419":{"position":[[287,8],[899,7]]},"421":{"position":[[589,7]]},"434":{"position":[[308,7]]},"444":{"position":[[267,7]]},"445":{"position":[[620,7]]},"462":{"position":[[551,7]]},"473":{"position":[[123,7]]},"486":{"position":[[93,7],[363,7]]},"491":{"position":[[329,7],[1011,9]]},"498":{"position":[[653,7]]},"500":{"position":[[497,7]]},"502":{"position":[[568,7]]},"556":{"position":[[1579,7]]},"584":{"position":[[110,7]]},"590":{"position":[[764,7]]},"610":{"position":[[702,7]]},"613":{"position":[[425,11]]},"630":{"position":[[108,7]]},"631":{"position":[[493,7]]},"632":{"position":[[716,9],[2812,7]]},"696":{"position":[[710,7]]},"705":{"position":[[1335,7]]},"860":{"position":[[426,7]]},"902":{"position":[[740,8]]},"904":{"position":[[3347,8]]},"1007":{"position":[[1121,7]]},"1009":{"position":[[635,7]]},"1304":{"position":[[850,7]]}},"keywords":{}}],["network.easi",{"_index":3292,"title":{},"content":{"534":{"position":[[414,14]]},"594":{"position":[[412,14]]}},"keywords":{}}],["never",{"_index":361,"title":{},"content":{"21":{"position":[[182,5]]},"253":{"position":[[206,5]]},"292":{"position":[[17,5]]},"455":{"position":[[754,5]]},"461":{"position":[[232,5]]},"491":{"position":[[984,5]]},"569":{"position":[[431,5],[1073,5],[1432,5]]},"571":{"position":[[1816,5]]},"670":{"position":[[268,5]]},"699":{"position":[[943,5]]},"749":{"position":[[6124,5],[24388,5]]},"816":{"position":[[144,5],[325,5]]},"817":{"position":[[197,5]]},"829":{"position":[[367,5]]},"855":{"position":[[22,5]]},"867":{"position":[[22,5]]},"898":{"position":[[2898,5]]},"935":{"position":[[157,5]]},"986":{"position":[[349,5]]},"991":{"position":[[38,5]]},"994":{"position":[[183,5]]},"995":{"position":[[1155,5]]},"1031":{"position":[[24,5],[283,5]]},"1033":{"position":[[123,5],[929,5]]},"1198":{"position":[[717,5]]},"1207":{"position":[[195,5]]},"1231":{"position":[[358,5]]},"1301":{"position":[[1019,5]]},"1321":{"position":[[86,5]]}},"keywords":{}}],["new",{"_index":162,"title":{},"content":{"11":{"position":[[585,3]]},"38":{"position":[[1099,3]]},"41":{"position":[[43,3]]},"50":{"position":[[124,3]]},"255":{"position":[[107,3]]},"260":{"position":[[326,3]]},"261":{"position":[[1043,3]]},"329":{"position":[[123,3]]},"335":{"position":[[572,3],[900,3]]},"351":{"position":[[265,3],[306,3]]},"360":{"position":[[866,3]]},"392":{"position":[[3857,3],[3921,3],[4254,3]]},"394":{"position":[[606,4]]},"397":{"position":[[2038,3]]},"398":{"position":[[800,3],[848,3],[2068,3],[2134,3]]},"403":{"position":[[685,3],[879,3]]},"408":{"position":[[49,3],[1400,3],[1487,3],[1516,3]]},"410":{"position":[[2100,3]]},"412":{"position":[[11082,3]]},"414":{"position":[[120,3]]},"420":{"position":[[561,3]]},"421":{"position":[[84,3]]},"430":{"position":[[1065,3],[1078,3]]},"453":{"position":[[55,3]]},"459":{"position":[[842,3]]},"463":{"position":[[819,3]]},"494":{"position":[[616,3]]},"498":{"position":[[124,3]]},"501":{"position":[[429,3]]},"556":{"position":[[488,3]]},"571":{"position":[[242,3],[839,3],[1083,3]]},"610":{"position":[[388,3],[431,3],[589,3],[1102,3]]},"611":{"position":[[642,3]]},"612":{"position":[[237,4],[1152,3],[2270,3]]},"618":{"position":[[698,3]]},"620":{"position":[[522,3],[555,3]]},"621":{"position":[[421,3],[628,3]]},"624":{"position":[[557,4],[1474,3]]},"632":{"position":[[157,3],[975,3]]},"634":{"position":[[368,3]]},"636":{"position":[[26,3]]},"653":{"position":[[869,3]]},"661":{"position":[[1101,3]]},"662":{"position":[[1820,3]]},"674":{"position":[[154,3]]},"686":{"position":[[275,3]]},"696":{"position":[[217,3]]},"698":{"position":[[279,3],[1321,3],[2736,3],[2791,3],[2859,3],[2926,3]]},"702":{"position":[[101,3],[393,3],[786,3]]},"711":{"position":[[1149,3],[1552,3]]},"719":{"position":[[286,3]]},"737":{"position":[[461,3]]},"739":{"position":[[718,3]]},"751":{"position":[[352,4],[649,3],[892,3],[1074,3],[1126,3],[1751,3],[1905,3]]},"754":{"position":[[363,3],[715,3]]},"759":{"position":[[328,3],[582,3],[1050,3],[1209,3],[1336,3]]},"760":{"position":[[578,3]]},"767":{"position":[[48,3],[558,3],[693,3],[967,3]]},"768":{"position":[[560,3],[703,3],[969,3]]},"769":{"position":[[517,3],[664,3],[938,3]]},"772":{"position":[[2474,3]]},"778":{"position":[[560,3]]},"837":{"position":[[2105,3]]},"839":{"position":[[1119,3]]},"848":{"position":[[946,3]]},"862":{"position":[[971,3]]},"866":{"position":[[310,3]]},"868":{"position":[[75,3]]},"872":{"position":[[904,3]]},"875":{"position":[[888,3],[1845,3],[1948,3],[4019,3],[4423,3],[8093,3],[8128,3],[9512,3],[9547,3]]},"879":{"position":[[119,3]]},"885":{"position":[[398,3]]},"897":{"position":[[279,3]]},"898":{"position":[[140,3]]},"902":{"position":[[174,3]]},"904":{"position":[[1236,3]]},"905":{"position":[[115,3]]},"910":{"position":[[239,3]]},"917":{"position":[[64,3]]},"942":{"position":[[20,3],[153,3]]},"943":{"position":[[53,3]]},"946":{"position":[[110,3]]},"982":{"position":[[93,3],[169,3],[456,3],[568,3]]},"986":{"position":[[1243,5]]},"987":{"position":[[602,3]]},"988":{"position":[[5085,3],[5215,3],[5298,3]]},"1004":{"position":[[732,3]]},"1007":{"position":[[908,3]]},"1009":{"position":[[188,3],[532,3]]},"1014":{"position":[[155,3]]},"1022":{"position":[[718,3]]},"1023":{"position":[[369,3]]},"1042":{"position":[[92,3]]},"1048":{"position":[[471,3]]},"1058":{"position":[[527,3]]},"1069":{"position":[[318,3],[522,3]]},"1085":{"position":[[122,3],[3041,3],[3413,3],[3671,3],[3753,3],[3794,3]]},"1109":{"position":[[316,3]]},"1115":{"position":[[147,4]]},"1148":{"position":[[811,3]]},"1150":{"position":[[560,3]]},"1172":{"position":[[381,3]]},"1174":{"position":[[644,3]]},"1177":{"position":[[497,3]]},"1208":{"position":[[879,3],[1165,3],[1323,3],[1433,3],[1538,3],[1694,3]]},"1209":{"position":[[241,3]]},"1218":{"position":[[487,3],[835,3]]},"1229":{"position":[[90,3]]},"1242":{"position":[[155,3]]},"1266":{"position":[[985,4]]},"1268":{"position":[[90,3],[167,3],[477,3]]},"1279":{"position":[[642,3]]},"1294":{"position":[[21,3],[1136,3]]},"1300":{"position":[[421,3],[732,3],[985,3]]},"1304":{"position":[[385,3]]},"1305":{"position":[[772,3]]},"1308":{"position":[[565,4]]},"1316":{"position":[[1631,3],[1730,3],[3136,3]]},"1318":{"position":[[440,3],[504,3],[608,3],[890,3],[1092,3]]},"1319":{"position":[[337,3]]}},"keywords":{}}],["new/upd",{"_index":1355,"title":{},"content":{"209":{"position":[[1045,11]]}},"keywords":{}}],["newcheckpoint",{"_index":4999,"title":{},"content":{"875":{"position":[[2622,13],[2862,13]]}},"keywords":{}}],["newcont",{"_index":3466,"title":{},"content":{"571":{"position":[[1108,10],[1236,11]]}},"keywords":{}}],["newcustomfetchmethod",{"_index":4841,"title":{},"content":{"848":{"position":[[1030,21]]}},"keywords":{}}],["newdocumentst",{"_index":5014,"title":{},"content":{"875":{"position":[[3824,16]]},"885":{"position":[[996,17]]},"1309":{"position":[[1157,16]]}},"keywords":{}}],["newer",{"_index":827,"title":{},"content":{"55":{"position":[[23,5]]},"59":{"position":[[83,5]]},"408":{"position":[[5026,5]]},"420":{"position":[[161,5]]},"546":{"position":[[138,5]]},"563":{"position":[[89,5]]},"606":{"position":[[138,5]]},"696":{"position":[[1890,5]]},"749":{"position":[[12596,5]]},"761":{"position":[[445,6]]},"773":{"position":[[710,5]]},"885":{"position":[[64,5],[1966,5]]},"932":{"position":[[661,5]]},"984":{"position":[[605,5]]},"986":{"position":[[1367,5]]},"1002":{"position":[[223,5],[479,5],[1132,5]]},"1162":{"position":[[1090,5]]},"1275":{"position":[[29,6]]},"1278":{"position":[[145,5]]},"1282":{"position":[[415,6]]}},"keywords":{}}],["newest",{"_index":4820,"title":{},"content":{"844":{"position":[[241,6]]},"1046":{"position":[[63,6]]}},"keywords":{}}],["newfetchmethod",{"_index":4825,"title":{},"content":{"846":{"position":[[577,17]]}},"keywords":{}}],["newforkst",{"_index":5442,"title":{},"content":{"983":{"position":[[535,12]]}},"keywords":{}}],["newhero",{"_index":3500,"title":{},"content":{"580":{"position":[[697,10]]},"601":{"position":[[685,10]]}},"keywords":{}}],["newli",{"_index":1337,"title":{},"content":{"208":{"position":[[152,5]]},"939":{"position":[[105,5]]},"943":{"position":[[308,5]]},"955":{"position":[[244,5]]}},"keywords":{}}],["newnam",{"_index":1425,"title":{},"content":{"235":{"position":[[346,10]]},"571":{"position":[[1381,10]]},"1039":{"position":[[256,8],[430,8]]},"1040":{"position":[[389,10]]}},"keywords":{}}],["next",{"_index":648,"title":{"824":{"position":[[0,4]]}},"content":{"41":{"position":[[56,4]]},"114":{"position":[[696,4]]},"263":{"position":[[538,4]]},"388":{"position":[[37,4]]},"393":{"position":[[61,4]]},"412":{"position":[[11386,4]]},"464":{"position":[[1,4]]},"466":{"position":[[4,4]]},"498":{"position":[[73,4]]},"700":{"position":[[936,4]]},"703":{"position":[[1572,4]]},"752":{"position":[[952,5]]},"965":{"position":[[390,4]]},"988":{"position":[[4219,4]]},"1008":{"position":[[154,4]]},"1198":{"position":[[2164,4]]},"1294":{"position":[[741,4]]}},"keywords":{}}],["next.j",{"_index":2924,"title":{},"content":{"438":{"position":[[180,8]]}},"keywords":{}}],["nextjs/vercel",{"_index":595,"title":{},"content":{"38":{"position":[[698,13]]}},"keywords":{}}],["nexttick",{"_index":5269,"title":{},"content":{"910":{"position":[[397,9]]}},"keywords":{}}],["ngfor="let",{"_index":821,"title":{},"content":{"54":{"position":[[222,16]]},"55":{"position":[[1144,16]]},"130":{"position":[[567,16]]},"493":{"position":[[231,16]]},"825":{"position":[[798,16]]}},"keywords":{}}],["ngif="(mycollection.find",{"_index":3175,"title":{},"content":{"493":{"position":[[162,34]]}},"keywords":{}}],["nginx",{"_index":3681,"title":{},"content":{"624":{"position":[[1123,5]]},"849":{"position":[[737,5]]},"1088":{"position":[[758,5]]}},"keywords":{}}],["ngrx",{"_index":1018,"title":{},"content":{"96":{"position":[[134,5]]},"173":{"position":[[3095,5]]},"219":{"position":[[99,5]]}},"keywords":{}}],["ngzone",{"_index":756,"title":{},"content":{"50":{"position":[[447,6]]}},"keywords":{}}],["nich",{"_index":3626,"title":{},"content":{"614":{"position":[[738,5]]}},"keywords":{}}],["night",{"_index":3956,"title":{},"content":{"700":{"position":[[895,5]]}},"keywords":{}}],["nobodi",{"_index":2846,"title":{},"content":{"421":{"position":[[153,6]]}},"keywords":{}}],["node",{"_index":94,"title":{"7":{"position":[[0,4]]},"438":{"position":[[0,4]]},"1127":{"position":[[11,4]]},"1245":{"position":[[14,5]]}},"content":{"7":{"position":[[23,4],[241,4],[300,4]]},"8":{"position":[[635,4]]},"396":{"position":[[485,6],[733,6]]},"412":{"position":[[14668,5]]},"438":{"position":[[155,4],[193,4]]},"666":{"position":[[370,5]]},"773":{"position":[[864,4]]},"793":{"position":[[273,4]]},"861":{"position":[[1098,4]]},"911":{"position":[[297,4],[410,4],[541,5]]},"1090":{"position":[[661,6]]},"1130":{"position":[[126,6]]},"1133":{"position":[[121,4],[521,4]]},"1214":{"position":[[511,4]]},"1245":{"position":[[16,4]]}},"keywords":{}}],["node.j",{"_index":504,"title":{"370":{"position":[[8,8]]},"438":{"position":[[22,8]]},"672":{"position":[[11,8]]},"771":{"position":[[0,7]]},"773":{"position":[[8,7]]},"911":{"position":[[41,8]]},"1159":{"position":[[44,8]]}},"content":{"32":{"position":[[58,8]]},"201":{"position":[[167,8]]},"248":{"position":[[57,8]]},"249":{"position":[[115,9]]},"254":{"position":[[211,8],[342,8]]},"261":{"position":[[629,7]]},"325":{"position":[[74,8]]},"359":{"position":[[115,8]]},"365":{"position":[[666,7],[974,7]]},"370":{"position":[[1,7],[93,7]]},"438":{"position":[[46,7],[144,7],[306,7]]},"569":{"position":[[1328,8]]},"575":{"position":[[186,8]]},"612":{"position":[[1726,7]]},"613":{"position":[[811,8]]},"624":{"position":[[422,7],[973,7]]},"631":{"position":[[215,7]]},"640":{"position":[[568,8]]},"707":{"position":[[93,7]]},"709":{"position":[[1355,7]]},"710":{"position":[[698,7]]},"711":{"position":[[746,7]]},"729":{"position":[[190,7]]},"772":{"position":[[178,8]]},"773":{"position":[[39,7],[145,7],[678,7],[836,7]]},"774":{"position":[[1020,7]]},"775":{"position":[[37,7],[103,7]]},"776":{"position":[[337,7]]},"793":{"position":[[281,9],[347,8]]},"799":{"position":[[368,7]]},"821":{"position":[[466,7]]},"871":{"position":[[588,7]]},"872":{"position":[[107,7]]},"875":{"position":[[617,7]]},"896":{"position":[[334,7]]},"904":{"position":[[2803,8],[2848,7],[2944,8],[2994,7]]},"911":{"position":[[85,7]]},"962":{"position":[[555,8],[870,8]]},"964":{"position":[[435,7]]},"989":{"position":[[113,7]]},"1088":{"position":[[332,8]]},"1094":{"position":[[104,8]]},"1095":{"position":[[288,7]]},"1124":{"position":[[429,8]]},"1135":{"position":[[115,7]]},"1139":{"position":[[1,7],[71,8]]},"1145":{"position":[[1,7],[67,8]]},"1159":{"position":[[96,7]]},"1188":{"position":[[10,7]]},"1214":{"position":[[120,8],[226,7],[368,7]]},"1219":{"position":[[127,7]]},"1245":{"position":[[67,7]]},"1246":{"position":[[158,9]]},"1247":{"position":[[75,8]]},"1270":{"position":[[54,7]]},"1274":{"position":[[146,8],[468,7]]},"1275":{"position":[[6,7],[109,8]]},"1279":{"position":[[855,7]]}},"keywords":{}}],["node.js.appwrit",{"_index":4913,"title":{},"content":{"863":{"position":[[303,16]]}},"keywords":{}}],["node/n",{"_index":6170,"title":{"1196":{"position":[[0,11]]}},"content":{},"keywords":{}}],["node:sqlit",{"_index":6333,"title":{"1275":{"position":[[15,11]]}},"content":{"1271":{"position":[[1390,14]]},"1272":{"position":[[512,11]]},"1275":{"position":[[290,14]]}},"keywords":{}}],["node_modul",{"_index":6230,"title":{},"content":{"1210":{"position":[[613,12]]},"1266":{"position":[[769,17]]}},"keywords":{}}],["node_modules/.bin/electron",{"_index":3995,"title":{},"content":{"711":{"position":[[976,28]]}},"keywords":{}}],["node_modules/rxdb",{"_index":6232,"title":{},"content":{"1210":{"position":[[650,18]]},"1227":{"position":[[231,17],[812,17]]},"1265":{"position":[[224,17]]}},"keywords":{}}],["node_modules/rxdb/dist/work",{"_index":6303,"title":{},"content":{"1265":{"position":[[794,30]]}},"keywords":{}}],["nodedatachannelpolyfil",{"_index":5275,"title":{},"content":{"911":{"position":[[512,23],[772,24]]}},"keywords":{}}],["nodeintegr",{"_index":3926,"title":{},"content":{"693":{"position":[[656,15]]}},"keywords":{}}],["nodej",{"_index":81,"title":{},"content":{"5":{"position":[[388,6]]},"6":{"position":[[189,6]]},"7":{"position":[[163,6]]},"666":{"position":[[82,6]]},"743":{"position":[[203,6]]},"773":{"position":[[288,6]]},"776":{"position":[[20,6]]},"1173":{"position":[[133,6]]},"1202":{"position":[[230,6]]},"1271":{"position":[[1259,6]]}},"keywords":{}}],["noisi",{"_index":4117,"title":{},"content":{"746":{"position":[[182,6]]}},"keywords":{}}],["non",{"_index":516,"title":{"245":{"position":[[0,3]]},"1084":{"position":[[0,3]]},"1126":{"position":[[6,3]]},"1151":{"position":[[14,3]]},"1178":{"position":[[14,3]]}},"content":{"33":{"position":[[208,3]]},"38":{"position":[[939,3]]},"402":{"position":[[876,3]]},"412":{"position":[[1413,3]]},"419":{"position":[[1261,3]]},"427":{"position":[[112,3],[199,3]]},"496":{"position":[[130,3]]},"555":{"position":[[428,3],[738,3]]},"619":{"position":[[219,3]]},"661":{"position":[[342,3]]},"668":{"position":[[233,3]]},"687":{"position":[[304,3]]},"714":{"position":[[1078,3]]},"749":{"position":[[9862,3],[9976,3],[11175,3],[11970,3],[23009,3]]},"829":{"position":[[205,3]]},"840":{"position":[[251,3]]},"857":{"position":[[486,3]]},"875":{"position":[[1987,3]]},"881":{"position":[[56,3]]},"887":{"position":[[18,3],[495,3]]},"988":{"position":[[2020,3]]},"1000":{"position":[[62,3]]},"1004":{"position":[[384,3]]},"1044":{"position":[[31,3]]},"1067":{"position":[[1808,3],[2229,3]]},"1068":{"position":[[10,3]]},"1102":{"position":[[85,3]]},"1126":{"position":[[637,3]]},"1137":{"position":[[74,3]]},"1143":{"position":[[457,3]]},"1180":{"position":[[382,3]]},"1188":{"position":[[131,3],[273,3]]},"1196":{"position":[[126,3]]},"1244":{"position":[[103,3]]},"1278":{"position":[[681,3]]}},"keywords":{}}],["nondonetask",{"_index":6102,"title":{},"content":{"1158":{"position":[[661,12]]}},"keywords":{}}],["none",{"_index":3442,"title":{},"content":{"566":{"position":[[434,5],[469,4],[1060,5],[1080,4]]},"749":{"position":[[515,4]]},"841":{"position":[[502,4],[715,4],[720,4],[1130,4]]}},"keywords":{}}],["norm.classif",{"_index":2205,"title":{},"content":{"390":{"position":[[1527,20]]}},"keywords":{}}],["normal",{"_index":223,"title":{},"content":{"14":{"position":[[722,8]]},"315":{"position":[[1136,6]]},"352":{"position":[[198,11]]},"356":{"position":[[770,6]]},"391":{"position":[[699,10]]},"421":{"position":[[129,6]]},"469":{"position":[[402,6]]},"554":{"position":[[858,6]]},"610":{"position":[[183,6],[1178,6]]},"626":{"position":[[716,6]]},"685":{"position":[[67,8],[300,8]]},"702":{"position":[[241,8]]},"714":{"position":[[184,7],[1135,7]]},"717":{"position":[[728,6]]},"718":{"position":[[301,6]]},"778":{"position":[[4,8]]},"782":{"position":[[4,6]]},"784":{"position":[[4,6]]},"818":{"position":[[33,6]]},"862":{"position":[[1706,6]]},"872":{"position":[[2808,6]]},"875":{"position":[[6543,6]]},"892":{"position":[[145,6]]},"898":{"position":[[1590,6],[4624,6]]},"1018":{"position":[[34,6]]},"1044":{"position":[[10,6]]},"1055":{"position":[[97,6]]},"1067":{"position":[[201,6],[655,6],[1029,6],[1695,6]]},"1107":{"position":[[1,6]]},"1162":{"position":[[381,8]]},"1181":{"position":[[468,8]]},"1184":{"position":[[1,8]]},"1227":{"position":[[516,6]]},"1231":{"position":[[935,6]]},"1246":{"position":[[1752,6]]},"1265":{"position":[[510,6]]},"1295":{"position":[[26,8]]},"1296":{"position":[[972,6],[1331,6],[1825,6]]},"1301":{"position":[[52,8]]},"1316":{"position":[[2070,6]]}},"keywords":{}}],["normalfield",{"_index":3351,"title":{},"content":{"554":{"position":[[1426,12],[1511,14]]},"555":{"position":[[316,12],[510,12]]},"556":{"position":[[852,12]]}},"keywords":{}}],["nosql",{"_index":414,"title":{"73":{"position":[[0,5]]},"74":{"position":[[0,5]]},"104":{"position":[[0,5]]},"105":{"position":[[0,5]]},"231":{"position":[[0,5]]},"264":{"position":[[18,5]]},"276":{"position":[[0,5]]},"278":{"position":[[4,5]]},"281":{"position":[[0,5]]},"282":{"position":[[29,5]]},"309":{"position":[[17,5]]},"348":{"position":[[26,5]]},"349":{"position":[[39,6]]},"353":{"position":[[3,5]]},"794":{"position":[[36,5]]},"1253":{"position":[[19,8]]},"1312":{"position":[[25,5]]},"1315":{"position":[[22,6]]},"1320":{"position":[[32,6]]},"1323":{"position":[[19,6]]}},"content":{"25":{"position":[[52,5],[181,5]]},"41":{"position":[[153,5]]},"73":{"position":[[1,5]]},"104":{"position":[[15,5],[158,5]]},"105":{"position":[[61,5]]},"118":{"position":[[124,5]]},"126":{"position":[[237,5]]},"174":{"position":[[479,5],[640,5],[747,5]]},"179":{"position":[[20,5]]},"202":{"position":[[242,5]]},"231":{"position":[[15,5],[188,5]]},"244":{"position":[[542,5]]},"252":{"position":[[117,5]]},"265":{"position":[[57,5]]},"267":{"position":[[1160,5]]},"271":{"position":[[104,5]]},"273":{"position":[[24,5]]},"276":{"position":[[8,5],[264,5]]},"278":{"position":[[90,5],[207,5]]},"279":{"position":[[1,5]]},"280":{"position":[[104,5]]},"281":{"position":[[116,5],[272,5]]},"282":{"position":[[110,5],[197,5]]},"289":{"position":[[614,5],[1037,5]]},"313":{"position":[[18,5]]},"317":{"position":[[145,5]]},"325":{"position":[[23,5]]},"350":{"position":[[127,5]]},"351":{"position":[[140,5]]},"353":{"position":[[151,5]]},"354":{"position":[[1,5],[861,5],[1013,5],[1166,5],[1632,5]]},"359":{"position":[[6,5]]},"361":{"position":[[218,5]]},"362":{"position":[[43,5]]},"370":{"position":[[146,5]]},"378":{"position":[[47,5]]},"392":{"position":[[1197,5]]},"412":{"position":[[14481,5],[14818,5]]},"479":{"position":[[31,5]]},"501":{"position":[[109,5]]},"502":{"position":[[42,5]]},"504":{"position":[[1158,5]]},"561":{"position":[[242,5]]},"566":{"position":[[152,5]]},"575":{"position":[[77,5]]},"631":{"position":[[28,5],[318,5]]},"662":{"position":[[27,5]]},"678":{"position":[[43,5]]},"686":{"position":[[197,5],[310,5],[505,5]]},"705":{"position":[[233,6],[548,5],[615,5]]},"710":{"position":[[13,5]]},"772":{"position":[[315,5]]},"793":{"position":[[1298,5]]},"801":{"position":[[125,5]]},"802":{"position":[[54,5]]},"837":{"position":[[27,5]]},"838":{"position":[[27,5]]},"841":{"position":[[151,5],[183,5],[235,5]]},"903":{"position":[[586,5]]},"1071":{"position":[[17,5]]},"1102":{"position":[[1151,5]]},"1105":{"position":[[172,5],[226,5]]},"1132":{"position":[[606,5],[1275,5]]},"1247":{"position":[[402,5]]},"1253":{"position":[[12,5]]},"1313":{"position":[[999,5]]},"1315":{"position":[[139,6],[480,5],[1383,6]]},"1316":{"position":[[3098,6]]},"1317":{"position":[[79,5]]},"1318":{"position":[[6,5],[741,5]]},"1319":{"position":[[134,5]]},"1320":{"position":[[541,6]]},"1321":{"position":[[601,5]]}},"keywords":{}}],["nosql/docu",{"_index":2763,"title":{},"content":{"412":{"position":[[13478,14]]}},"keywords":{}}],["nosql—solv",{"_index":2069,"title":{},"content":{"358":{"position":[[860,11]]}},"keywords":{}}],["nosql’",{"_index":2003,"title":{},"content":{"352":{"position":[[352,7]]}},"keywords":{}}],["not"",{"_index":4919,"title":{},"content":{"863":{"position":[[733,9]]}},"keywords":{}}],["notabl",{"_index":1616,"title":{},"content":{"267":{"position":[[82,7]]},"282":{"position":[[455,7]]},"356":{"position":[[66,8]]}},"keywords":{}}],["note",{"_index":68,"title":{},"content":{"4":{"position":[[166,4]]},"9":{"position":[[36,4]]},"198":{"position":[[467,4]]},"211":{"position":[[345,6],[371,6]]},"299":{"position":[[169,5]]},"300":{"position":[[649,4]]},"314":{"position":[[613,5],[693,6],[719,6]]},"375":{"position":[[167,4]]},"388":{"position":[[428,4]]},"391":{"position":[[948,4]]},"394":{"position":[[972,4],[1301,4]]},"432":{"position":[[519,6]]},"436":{"position":[[317,4]]},"446":{"position":[[129,4]]},"555":{"position":[[701,5]]},"613":{"position":[[535,4]]},"620":{"position":[[478,4]]},"693":{"position":[[651,4]]},"759":{"position":[[1010,4]]},"770":{"position":[[533,4]]},"871":{"position":[[535,4]]},"872":{"position":[[1134,4]]},"875":{"position":[[5618,4],[7554,4]]},"886":{"position":[[4648,5],[4930,4]]},"890":{"position":[[949,4]]},"897":{"position":[[354,4]]},"927":{"position":[[46,4]]},"944":{"position":[[364,4]]},"951":{"position":[[445,4]]},"953":{"position":[[170,4]]},"1013":{"position":[[620,4]]},"1018":{"position":[[338,4]]},"1067":{"position":[[605,4]]},"1079":{"position":[[484,4]]},"1105":{"position":[[1012,4]]},"1107":{"position":[[915,4]]},"1108":{"position":[[568,4]]}},"keywords":{}}],["noteschrome/chromium",{"_index":1740,"title":{},"content":{"299":{"position":[[233,20]]}},"keywords":{}}],["noth",{"_index":3963,"title":{"704":{"position":[[0,7]]}},"content":{"702":{"position":[[427,7]]},"754":{"position":[[292,7]]},"975":{"position":[[367,7],[561,7]]},"1192":{"position":[[196,7]]},"1313":{"position":[[725,7]]},"1319":{"position":[[373,7]]}},"keywords":{}}],["notic",{"_index":2502,"title":{"743":{"position":[[0,7]]}},"content":{"404":{"position":[[322,6]]},"408":{"position":[[3229,10]]},"452":{"position":[[512,10]]},"458":{"position":[[1325,6]]},"459":{"position":[[982,6]]},"461":{"position":[[209,6],[1385,6]]},"462":{"position":[[181,6]]},"463":{"position":[[787,6]]},"464":{"position":[[439,6]]},"465":{"position":[[300,6]]},"466":{"position":[[264,6]]},"467":{"position":[[259,6]]},"571":{"position":[[297,6]]},"659":{"position":[[319,6]]},"749":{"position":[[7361,6],[21563,6]]},"756":{"position":[[342,6]]},"773":{"position":[[638,6]]},"798":{"position":[[941,6]]},"811":{"position":[[412,6]]},"836":{"position":[[705,6]]},"854":{"position":[[1486,6]]},"857":{"position":[[452,6]]},"861":{"position":[[1387,6]]},"872":{"position":[[332,6]]},"875":{"position":[[2242,6]]},"904":{"position":[[3112,6]]},"977":{"position":[[415,6]]},"979":{"position":[[93,6]]},"988":{"position":[[3256,6],[4585,6]]},"990":{"position":[[771,6]]},"1002":{"position":[[824,6]]},"1047":{"position":[[48,6]]},"1065":{"position":[[450,6]]},"1090":{"position":[[1080,6]]},"1100":{"position":[[795,6]]},"1108":{"position":[[231,6]]},"1151":{"position":[[58,6]]},"1178":{"position":[[58,6]]},"1193":{"position":[[78,6]]},"1208":{"position":[[134,6],[404,6]]},"1210":{"position":[[189,6]]},"1211":{"position":[[310,6]]},"1276":{"position":[[156,6]]},"1278":{"position":[[1,6]]}},"keywords":{}}],["notif",{"_index":1128,"title":{},"content":{"140":{"position":[[246,14]]},"168":{"position":[[337,14]]},"299":{"position":[[1375,13]]},"344":{"position":[[128,14]]},"421":{"position":[[287,14]]},"458":{"position":[[1199,12]]},"495":{"position":[[471,13]]},"529":{"position":[[221,13]]},"618":{"position":[[549,13],[642,13]]}},"keywords":{}}],["notifi",{"_index":593,"title":{},"content":{"38":{"position":[[556,6]]},"412":{"position":[[2288,8]]},"490":{"position":[[222,8]]},"496":{"position":[[549,6]]},"515":{"position":[[234,8]]},"649":{"position":[[54,8]]}},"keywords":{}}],["notion",{"_index":2798,"title":{},"content":{"419":{"position":[[146,6],[1840,6]]}},"keywords":{}}],["notori",{"_index":2722,"title":{},"content":{"412":{"position":[[7875,11]]}},"keywords":{}}],["now",{"_index":407,"title":{},"content":{"24":{"position":[[622,3]]},"36":{"position":[[300,3]]},"65":{"position":[[1,3]]},"127":{"position":[[1,3]]},"187":{"position":[[1,3]]},"393":{"position":[[1,3]]},"398":{"position":[[3452,3]]},"402":{"position":[[353,3]]},"404":{"position":[[5,3]]},"408":{"position":[[1060,3]]},"413":{"position":[[4,3]]},"421":{"position":[[550,4]]},"456":{"position":[[1,3]]},"462":{"position":[[1,3]]},"465":{"position":[[1,3]]},"467":{"position":[[1,3]]},"480":{"position":[[933,3]]},"488":{"position":[[1,3]]},"542":{"position":[[654,4]]},"563":{"position":[[764,3]]},"613":{"position":[[639,3]]},"624":{"position":[[1380,3]]},"661":{"position":[[763,3]]},"698":{"position":[[171,3]]},"704":{"position":[[120,3]]},"711":{"position":[[1078,3],[1671,3]]},"736":{"position":[[319,3]]},"737":{"position":[[331,3]]},"749":{"position":[[2634,3]]},"824":{"position":[[9,3]]},"839":{"position":[[132,3],[416,3]]},"862":{"position":[[1,3]]},"872":{"position":[[1380,3],[2144,3],[2908,3]]},"898":{"position":[[1192,5]]},"932":{"position":[[543,3]]},"954":{"position":[[183,3]]},"967":{"position":[[385,3]]},"977":{"position":[[123,3]]},"1039":{"position":[[357,3]]},"1064":{"position":[[252,3]]},"1069":{"position":[[846,3]]},"1085":{"position":[[2991,3]]},"1100":{"position":[[184,3]]},"1296":{"position":[[658,3]]},"1311":{"position":[[1,3]]},"1316":{"position":[[687,3],[1132,3]]},"1318":{"position":[[434,3],[565,3]]},"1324":{"position":[[437,4]]}},"keywords":{}}],["nowaday",{"_index":2630,"title":{},"content":{"411":{"position":[[3745,9]]}},"keywords":{}}],["npm",{"_index":28,"title":{"726":{"position":[[0,4]]},"1274":{"position":[[23,3]]}},"content":{"1":{"position":[[420,3]]},"2":{"position":[[101,3],[131,3]]},"3":{"position":[[109,3]]},"4":{"position":[[275,3]]},"5":{"position":[[191,3]]},"6":{"position":[[258,3],[290,3]]},"7":{"position":[[213,3]]},"8":{"position":[[229,3],[463,3]]},"9":{"position":[[125,3]]},"10":{"position":[[54,3]]},"11":{"position":[[92,3]]},"38":{"position":[[778,4]]},"49":{"position":[[56,4],[62,3]]},"128":{"position":[[120,3],[167,3]]},"188":{"position":[[1738,3],[2246,3]]},"211":{"position":[[15,3]]},"257":{"position":[[1,3]]},"285":{"position":[[201,3]]},"314":{"position":[[252,3]]},"333":{"position":[[29,3],[43,3]]},"420":{"position":[[15,3]]},"438":{"position":[[211,3]]},"537":{"position":[[35,4],[41,3]]},"542":{"position":[[202,3]]},"553":{"position":[[79,3],[96,3]]},"578":{"position":[[58,3],[72,3]]},"597":{"position":[[37,4],[43,3]]},"617":{"position":[[2244,3]]},"659":{"position":[[232,3],[236,3]]},"661":{"position":[[533,3]]},"662":{"position":[[1255,3]]},"666":{"position":[[235,3],[311,3]]},"668":{"position":[[376,3]]},"670":{"position":[[508,3],[540,3]]},"710":{"position":[[1449,3]]},"711":{"position":[[904,3]]},"717":{"position":[[425,3]]},"724":{"position":[[111,3]]},"726":{"position":[[100,3]]},"727":{"position":[[89,3]]},"728":{"position":[[166,3]]},"829":{"position":[[50,3]]},"836":{"position":[[505,3]]},"837":{"position":[[1321,3]]},"838":{"position":[[1786,3]]},"854":{"position":[[33,3]]},"862":{"position":[[156,3]]},"866":{"position":[[29,3]]},"872":{"position":[[123,3]]},"878":{"position":[[64,3]]},"882":{"position":[[45,3]]},"894":{"position":[[15,3]]},"898":{"position":[[25,3]]},"904":{"position":[[2418,3]]},"911":{"position":[[398,3]]},"1097":{"position":[[73,3]]},"1112":{"position":[[59,3]]},"1133":{"position":[[135,3],[150,3],[419,3]]},"1138":{"position":[[69,3]]},"1139":{"position":[[369,3]]},"1145":{"position":[[358,3]]},"1148":{"position":[[458,3]]},"1189":{"position":[[32,3]]},"1272":{"position":[[446,3]]},"1274":{"position":[[202,3]]},"1276":{"position":[[599,3]]},"1277":{"position":[[39,3]]},"1279":{"position":[[30,3]]}},"keywords":{}}],["nr",{"_index":2928,"title":{},"content":{"439":{"position":[[710,4],[810,4]]}},"keywords":{}}],["nuanc",{"_index":2806,"title":{},"content":{"419":{"position":[[1150,7]]}},"keywords":{}}],["null",{"_index":4442,"title":{"887":{"position":[[13,4]]}},"content":{"751":{"position":[[408,5],[1983,5]]},"810":{"position":[[169,4]]},"829":{"position":[[1598,5]]},"875":{"position":[[4587,4]]},"886":{"position":[[3075,4]]},"887":{"position":[[52,4],[207,4],[540,4],[635,5]]},"898":{"position":[[1017,5],[1053,5],[1131,5],[1202,4],[4245,4],[4392,4]]},"919":{"position":[[44,4]]},"983":{"position":[[229,5]]},"988":{"position":[[3191,5]]},"1016":{"position":[[91,4]]},"1017":{"position":[[70,4],[234,4]]},"1049":{"position":[[96,5]]},"1056":{"position":[[49,4]]},"1057":{"position":[[375,4]]}},"keywords":{}}],["nullabl",{"_index":5219,"title":{},"content":{"898":{"position":[[3545,8],[4197,8],[4254,8]]}},"keywords":{}}],["number",{"_index":1219,"title":{},"content":{"174":{"position":[[1662,6]]},"314":{"position":[[867,8]]},"334":{"position":[[747,8]]},"390":{"position":[[544,8]]},"391":{"position":[[882,8]]},"392":{"position":[[4989,6]]},"393":{"position":[[800,7]]},"394":{"position":[[1440,6]]},"395":{"position":[[478,8]]},"396":{"position":[[301,6],[1187,6]]},"397":{"position":[[1697,10]]},"398":{"position":[[739,9],[1980,9],[2943,6]]},"402":{"position":[[245,7],[491,8],[2613,7]]},"411":{"position":[[334,6]]},"420":{"position":[[408,7]]},"424":{"position":[[230,8]]},"459":{"position":[[1095,8],[1156,7]]},"496":{"position":[[228,7]]},"579":{"position":[[761,8]]},"617":{"position":[[392,6],[526,6],[774,6]]},"620":{"position":[[251,8]]},"623":{"position":[[33,6]]},"639":{"position":[[529,8]]},"662":{"position":[[2521,8]]},"680":{"position":[[927,9]]},"724":{"position":[[1161,7]]},"736":{"position":[[110,7]]},"749":{"position":[[7425,8],[17798,6],[20566,6],[21375,8],[23903,6]]},"751":{"position":[[99,6]]},"821":{"position":[[783,6]]},"838":{"position":[[2735,8]]},"879":{"position":[[138,6]]},"898":{"position":[[2630,8]]},"902":{"position":[[285,6]]},"926":{"position":[[45,7]]},"928":{"position":[[14,6],[42,7]]},"1067":{"position":[[483,6]]},"1074":{"position":[[94,6],[340,6]]},"1076":{"position":[[24,7]]},"1079":{"position":[[148,7]]},"1080":{"position":[[466,9],[479,6],[697,8]]},"1125":{"position":[[751,6]]},"1149":{"position":[[1188,8]]},"1194":{"position":[[1057,6]]},"1257":{"position":[[145,6]]},"1296":{"position":[[718,6]]},"1305":{"position":[[604,6]]},"1311":{"position":[[1736,6]]},"1316":{"position":[[2167,6]]},"1321":{"position":[[316,7]]}},"keywords":{}}],["number/integ",{"_index":4397,"title":{},"content":{"749":{"position":[[20299,14]]}},"keywords":{}}],["numer",{"_index":715,"title":{},"content":{"46":{"position":[[497,8]]},"71":{"position":[[66,8]]},"174":{"position":[[58,8]]},"384":{"position":[[70,8]]},"390":{"position":[[180,9]]},"478":{"position":[[22,8]]},"688":{"position":[[996,7]]},"690":{"position":[[369,8]]}},"keywords":{}}],["nvmrcclone",{"_index":3822,"title":{},"content":{"666":{"position":[[120,11]]}},"keywords":{}}],["nw.j",{"_index":505,"title":{},"content":{"32":{"position":[[67,6]]}},"keywords":{}}],["object",{"_index":572,"title":{"304":{"position":[[31,7]]},"787":{"position":[[0,6]]},"826":{"position":[[28,8]]},"1254":{"position":[[32,8]]}},"content":{"36":{"position":[[200,6]]},"45":{"position":[[139,6]]},"47":{"position":[[685,6]]},"51":{"position":[[379,9]]},"104":{"position":[[131,7]]},"174":{"position":[[626,7],[838,7]]},"188":{"position":[[1256,9]]},"209":{"position":[[443,9]]},"211":{"position":[[423,9]]},"231":{"position":[[170,8]]},"255":{"position":[[787,9]]},"259":{"position":[[105,9]]},"303":{"position":[[434,8]]},"304":{"position":[[53,6],[170,7],[497,8]]},"314":{"position":[[753,9]]},"315":{"position":[[729,9]]},"316":{"position":[[238,9]]},"334":{"position":[[142,6],[657,9]]},"350":{"position":[[90,7]]},"352":{"position":[[110,7]]},"367":{"position":[[800,9]]},"392":{"position":[[607,9],[1573,9]]},"426":{"position":[[231,7],[380,6],[474,6]]},"439":{"position":[[599,7]]},"457":{"position":[[233,7],[508,6]]},"462":{"position":[[725,6]]},"480":{"position":[[553,9]]},"482":{"position":[[853,9]]},"533":{"position":[[181,8]]},"538":{"position":[[680,9]]},"554":{"position":[[1344,9]]},"559":{"position":[[1208,7]]},"560":{"position":[[459,8]]},"562":{"position":[[325,9]]},"564":{"position":[[782,9]]},"566":{"position":[[126,6]]},"579":{"position":[[665,9]]},"580":{"position":[[167,8]]},"593":{"position":[[181,8]]},"598":{"position":[[687,9]]},"632":{"position":[[1537,9]]},"638":{"position":[[621,9]]},"639":{"position":[[399,9]]},"662":{"position":[[2400,9]]},"680":{"position":[[847,9]]},"717":{"position":[[1456,9]]},"720":{"position":[[155,9]]},"734":{"position":[[721,9]]},"746":{"position":[[221,6]]},"749":{"position":[[1490,6],[3039,7],[3878,6],[4055,7],[4181,6],[4410,6],[4661,6],[7882,6],[12013,6],[12129,7],[19713,6],[22150,6]]},"751":{"position":[[156,6]]},"754":{"position":[[464,6]]},"767":{"position":[[34,6]]},"789":{"position":[[41,6],[85,6]]},"805":{"position":[[145,6]]},"806":{"position":[[131,7]]},"808":{"position":[[570,9]]},"812":{"position":[[93,9],[159,9]]},"813":{"position":[[93,9]]},"825":{"position":[[74,8]]},"826":{"position":[[191,7],[320,7]]},"829":{"position":[[3159,6]]},"838":{"position":[[2614,9]]},"839":{"position":[[233,6]]},"841":{"position":[[206,6],[403,6],[1491,6]]},"854":{"position":[[892,6]]},"862":{"position":[[687,9]]},"872":{"position":[[1904,9],[4134,9]]},"886":{"position":[[178,6],[264,8],[1357,6]]},"889":{"position":[[709,6]]},"898":{"position":[[2484,9]]},"904":{"position":[[876,9]]},"916":{"position":[[73,6],[162,9]]},"932":{"position":[[1214,9]]},"934":{"position":[[57,6]]},"937":{"position":[[118,7]]},"944":{"position":[[136,6],[668,7]]},"945":{"position":[[77,6]]},"955":{"position":[[26,6]]},"957":{"position":[[27,6]]},"958":{"position":[[304,6]]},"976":{"position":[[22,6]]},"978":{"position":[[27,6]]},"990":{"position":[[732,7]]},"1004":{"position":[[307,6]]},"1051":{"position":[[43,7],[81,7]]},"1052":{"position":[[44,6]]},"1053":{"position":[[27,6]]},"1065":{"position":[[202,6]]},"1069":{"position":[[258,6],[330,6],[534,7]]},"1070":{"position":[[27,6]]},"1074":{"position":[[526,7]]},"1078":{"position":[[500,9]]},"1080":{"position":[[123,9],[660,9]]},"1082":{"position":[[208,9]]},"1083":{"position":[[408,9]]},"1084":{"position":[[41,7]]},"1085":{"position":[[532,6],[1555,7]]},"1104":{"position":[[299,6]]},"1114":{"position":[[423,7]]},"1116":{"position":[[80,6],[135,6]]},"1140":{"position":[[409,6]]},"1149":{"position":[[1067,9]]},"1158":{"position":[[395,9]]},"1208":{"position":[[315,7]]},"1213":{"position":[[228,8]]},"1218":{"position":[[131,6]]},"1220":{"position":[[334,6]]},"1274":{"position":[[568,6]]},"1279":{"position":[[955,6]]},"1309":{"position":[[26,6]]},"1311":{"position":[[423,9]]},"1321":{"position":[[1033,7]]}},"keywords":{}}],["object.assign",{"_index":4836,"title":{},"content":{"848":{"position":[[303,17]]}},"keywords":{}}],["object.defineproperty(rxdocu",{"_index":4559,"title":{},"content":{"770":{"position":[[366,33]]}},"keywords":{}}],["object.entries(doc).foreach(([k",{"_index":5151,"title":{},"content":{"887":{"position":[[580,32]]}},"keywords":{}}],["object.keys(activereplications).foreach(cid",{"_index":5578,"title":{},"content":{"1007":{"position":[[2152,43]]}},"keywords":{}}],["object/key",{"_index":6188,"title":{},"content":{"1206":{"position":[[235,10]]}},"keywords":{}}],["objectid",{"_index":4434,"title":{},"content":{"749":{"position":[[23891,8]]}},"keywords":{}}],["objects"",{"_index":1481,"title":{},"content":{"244":{"position":[[234,13]]}},"keywords":{}}],["objects.avoid",{"_index":2008,"title":{},"content":{"353":{"position":[[332,13]]}},"keywords":{}}],["objectstor",{"_index":2996,"title":{},"content":{"459":{"position":[[683,11]]}},"keywords":{}}],["objectstore.index('priceindex",{"_index":2998,"title":{},"content":{"459":{"position":[[748,32]]}},"keywords":{}}],["object—perhap",{"_index":1995,"title":{},"content":{"351":{"position":[[285,14]]}},"keywords":{}}],["objpath",{"_index":4315,"title":{},"content":{"749":{"position":[[13778,7]]}},"keywords":{}}],["observ",{"_index":183,"title":{"54":{"position":[[10,11]]},"75":{"position":[[0,10]]},"77":{"position":[[0,10]]},"78":{"position":[[10,8]]},"103":{"position":[[0,10]]},"106":{"position":[[0,10]]},"108":{"position":[[10,8]]},"124":{"position":[[0,10]]},"130":{"position":[[30,7]]},"144":{"position":[[54,12]]},"159":{"position":[[0,10]]},"185":{"position":[[0,10]]},"233":{"position":[[0,10]]},"234":{"position":[[10,8]]},"235":{"position":[[0,10]]},"275":{"position":[[0,10]]},"277":{"position":[[6,7]]},"329":{"position":[[0,10]]},"518":{"position":[[0,10]]},"541":{"position":[[10,11]]},"562":{"position":[[19,14]]},"563":{"position":[[40,12]]},"580":{"position":[[24,12]]},"585":{"position":[[0,10]]},"601":{"position":[[11,11]]},"822":{"position":[[59,11]]},"941":{"position":[[0,7]]},"970":{"position":[[0,7]]},"985":{"position":[[6,12]]},"993":{"position":[[0,11]]},"1046":{"position":[[0,7]]},"1058":{"position":[[0,7]]},"1117":{"position":[[0,14]]}},"content":{"13":{"position":[[12,11]]},"16":{"position":[[545,10]]},"33":{"position":[[236,10]]},"38":{"position":[[499,7]]},"47":{"position":[[703,10]]},"50":{"position":[[19,11],[236,11],[413,10]]},"55":{"position":[[127,11],[1064,11]]},"75":{"position":[[28,7]]},"77":{"position":[[20,10]]},"103":{"position":[[15,10]]},"106":{"position":[[13,9]]},"108":{"position":[[52,8]]},"121":{"position":[[78,11]]},"124":{"position":[[60,10],[203,10]]},"126":{"position":[[262,11]]},"129":{"position":[[125,12],[410,12],[540,11]]},"130":{"position":[[76,11],[195,7]]},"143":{"position":[[54,11],[176,12],[343,12]]},"144":{"position":[[124,12]]},"153":{"position":[[202,11]]},"156":{"position":[[81,11]]},"159":{"position":[[32,10],[113,10]]},"174":{"position":[[163,10],[218,11],[1009,7],[1512,8],[1617,8]]},"182":{"position":[[91,12]]},"185":{"position":[[32,10],[239,10]]},"221":{"position":[[210,7]]},"233":{"position":[[32,10],[69,10]]},"234":{"position":[[16,8]]},"235":{"position":[[15,10],[121,9]]},"275":{"position":[[58,10],[207,11]]},"277":{"position":[[67,11]]},"326":{"position":[[15,11]]},"329":{"position":[[42,10]]},"335":{"position":[[281,10]]},"346":{"position":[[174,12]]},"368":{"position":[[234,10],[280,10]]},"369":{"position":[[1186,8]]},"410":{"position":[[1950,8]]},"411":{"position":[[2704,10],[2845,10]]},"427":{"position":[[1390,7]]},"432":{"position":[[547,14],[798,7],[1144,14]]},"445":{"position":[[1417,12]]},"458":{"position":[[691,7],[729,7],[915,9]]},"480":{"position":[[80,7],[685,7],[777,10]]},"490":{"position":[[29,11]]},"493":{"position":[[51,12]]},"502":{"position":[[603,10],[624,10],[1003,10]]},"510":{"position":[[270,10]]},"514":{"position":[[306,12]]},"518":{"position":[[29,11],[76,10],[119,7],[254,10],[470,10]]},"523":{"position":[[304,7]]},"535":{"position":[[698,10],[743,10],[810,7],[1014,8]]},"540":{"position":[[166,11]]},"541":{"position":[[38,12],[329,10]]},"562":{"position":[[1242,10]]},"563":{"position":[[44,12],[656,12],[888,12]]},"566":{"position":[[420,13],[569,11]]},"571":{"position":[[944,10]]},"580":{"position":[[26,11],[595,10]]},"585":{"position":[[49,11]]},"591":{"position":[[481,11]]},"595":{"position":[[719,10],[764,10],[897,7],[1091,8]]},"601":{"position":[[550,10]]},"602":{"position":[[205,12]]},"626":{"position":[[839,11]]},"632":{"position":[[1790,10]]},"649":{"position":[[36,10]]},"655":{"position":[[243,12]]},"661":{"position":[[1527,7]]},"662":{"position":[[2749,7]]},"698":{"position":[[3194,7]]},"710":{"position":[[2057,7]]},"711":{"position":[[1986,7]]},"749":{"position":[[9539,10],[9664,7],[9764,8],[9852,7],[13885,10],[14009,7]]},"752":{"position":[[912,10]]},"753":{"position":[[41,10]]},"826":{"position":[[5,10],[132,10]]},"828":{"position":[[56,12]]},"831":{"position":[[235,12]]},"836":{"position":[[1326,14],[1404,7]]},"838":{"position":[[423,13],[2963,7]]},"840":{"position":[[185,13]]},"841":{"position":[[488,13]]},"854":{"position":[[1655,7]]},"872":{"position":[[1142,7],[2839,9]]},"875":{"position":[[6688,11],[6947,10],[7589,10],[7706,7],[7800,7],[7848,10]]},"879":{"position":[[392,10]]},"880":{"position":[[204,10]]},"881":{"position":[[214,11]]},"898":{"position":[[744,11],[4024,7]]},"904":{"position":[[3358,7],[3413,7],[3432,10]]},"921":{"position":[[9,10]]},"941":{"position":[[34,10],[187,7]]},"955":{"position":[[102,9]]},"965":{"position":[[150,8],[256,8]]},"970":{"position":[[34,10]]},"976":{"position":[[78,9]]},"983":{"position":[[735,10]]},"984":{"position":[[677,11]]},"985":{"position":[[79,8]]},"988":{"position":[[4103,12],[6103,12]]},"992":{"position":[[98,7]]},"993":{"position":[[4,7],[61,10]]},"995":{"position":[[1268,7],[1770,7]]},"1017":{"position":[[32,10]]},"1018":{"position":[[228,7]]},"1033":{"position":[[129,7]]},"1039":{"position":[[26,10]]},"1040":{"position":[[304,12]]},"1046":{"position":[[34,10]]},"1067":{"position":[[493,7],[2070,7]]},"1071":{"position":[[506,8]]},"1083":{"position":[[130,8]]},"1084":{"position":[[124,7]]},"1102":{"position":[[1184,7]]},"1117":{"position":[[50,7],[85,11],[156,11],[315,10],[359,10],[424,10]]},"1124":{"position":[[753,11],[808,7],[1088,7]]},"1132":{"position":[[897,10]]},"1150":{"position":[[375,8]]},"1218":{"position":[[159,10]]},"1298":{"position":[[392,10]]},"1315":{"position":[[1580,7]]},"1318":{"position":[[333,10]]}},"keywords":{}}],["observable.subscribe(newvalu",{"_index":6000,"title":{},"content":{"1117":{"position":[[435,29]]}},"keywords":{}}],["observables.excel",{"_index":2171,"title":{},"content":{"387":{"position":[[117,21]]}},"keywords":{}}],["obstacl",{"_index":2652,"title":{},"content":{"412":{"position":[[399,9],[494,10]]},"709":{"position":[[338,9]]}},"keywords":{}}],["obtain",{"_index":3324,"title":{},"content":{"542":{"position":[[667,6]]},"550":{"position":[[56,7]]}},"keywords":{}}],["obvious",{"_index":2595,"title":{},"content":{"410":{"position":[[944,10]]}},"keywords":{}}],["occas",{"_index":4103,"title":{},"content":{"740":{"position":[[9,10]]}},"keywords":{}}],["occasion",{"_index":2055,"title":{},"content":{"357":{"position":[[569,12]]},"525":{"position":[[355,12]]},"569":{"position":[[495,10]]},"1192":{"position":[[347,12]]}},"keywords":{}}],["occur",{"_index":1035,"title":{},"content":{"103":{"position":[[100,6]]},"156":{"position":[[166,7]]},"168":{"position":[[243,7]]},"196":{"position":[[71,6]]},"301":{"position":[[254,7]]},"326":{"position":[[227,5]]},"415":{"position":[[193,6]]},"491":{"position":[[1760,6]]},"495":{"position":[[190,5]]},"497":{"position":[[702,6]]},"515":{"position":[[277,6]]},"518":{"position":[[247,6]]},"523":{"position":[[195,6]]},"529":{"position":[[97,6]]},"570":{"position":[[381,6]]},"574":{"position":[[334,6]]},"621":{"position":[[530,5]]},"634":{"position":[[107,5]]},"912":{"position":[[405,7]]},"1033":{"position":[[257,5]]},"1299":{"position":[[286,9]]}},"keywords":{}}],["occurr",{"_index":1657,"title":{},"content":{"282":{"position":[[29,10]]}},"keywords":{}}],["off",{"_index":2422,"title":{},"content":{"398":{"position":[[3139,4]]},"412":{"position":[[116,4],[3961,4]]},"689":{"position":[[87,5]]},"1162":{"position":[[1154,4]]},"1324":{"position":[[796,5]]}},"keywords":{}}],["offer",{"_index":536,"title":{},"content":{"34":{"position":[[398,6]]},"39":{"position":[[173,6]]},"40":{"position":[[634,5]]},"42":{"position":[[109,5]]},"43":{"position":[[492,6],[566,6]]},"47":{"position":[[1277,6]]},"59":{"position":[[124,5]]},"64":{"position":[[31,6]]},"65":{"position":[[1840,6]]},"66":{"position":[[60,6]]},"70":{"position":[[186,5]]},"72":{"position":[[6,6]]},"75":{"position":[[64,8]]},"92":{"position":[[19,5]]},"95":{"position":[[125,5]]},"105":{"position":[[94,5]]},"112":{"position":[[6,6]]},"118":{"position":[[239,6]]},"120":{"position":[[269,6]]},"124":{"position":[[6,6]]},"131":{"position":[[311,6]]},"134":{"position":[[110,6]]},"137":{"position":[[6,6]]},"148":{"position":[[64,8]]},"151":{"position":[[406,6]]},"160":{"position":[[6,6]]},"161":{"position":[[311,6]]},"166":{"position":[[76,6]]},"168":{"position":[[6,6]]},"173":{"position":[[1204,5]]},"174":{"position":[[51,6],[2385,6]]},"175":{"position":[[351,6]]},"179":{"position":[[167,6]]},"186":{"position":[[175,6]]},"189":{"position":[[6,6],[356,6]]},"192":{"position":[[139,5]]},"193":{"position":[[6,6]]},"197":{"position":[[65,6]]},"198":{"position":[[6,6]]},"205":{"position":[[66,6]]},"206":{"position":[[16,6]]},"222":{"position":[[172,5]]},"223":{"position":[[223,5]]},"224":{"position":[[20,5]]},"230":{"position":[[97,6]]},"236":{"position":[[162,6]]},"237":{"position":[[6,6]]},"263":{"position":[[117,6]]},"266":{"position":[[12,6],[57,6]]},"271":{"position":[[136,6]]},"281":{"position":[[283,6]]},"286":{"position":[[215,6]]},"287":{"position":[[158,5],[521,6],[1243,6]]},"289":{"position":[[1053,6]]},"291":{"position":[[6,6]]},"294":{"position":[[61,6]]},"295":{"position":[[44,6]]},"314":{"position":[[200,7]]},"316":{"position":[[41,6]]},"321":{"position":[[527,8]]},"331":{"position":[[174,5]]},"339":{"position":[[56,6]]},"347":{"position":[[358,6]]},"356":{"position":[[145,6]]},"362":{"position":[[1429,6]]},"365":{"position":[[687,8]]},"368":{"position":[[6,6]]},"371":{"position":[[59,6]]},"375":{"position":[[919,8]]},"387":{"position":[[22,7]]},"390":{"position":[[1860,6]]},"403":{"position":[[189,6]]},"418":{"position":[[684,6]]},"420":{"position":[[1512,5]]},"425":{"position":[[117,6]]},"430":{"position":[[20,6],[826,5],[1103,5]]},"433":{"position":[[177,6],[227,6]]},"435":{"position":[[17,8]]},"437":{"position":[[213,6]]},"441":{"position":[[498,5]]},"444":{"position":[[844,8]]},"447":{"position":[[265,6]]},"482":{"position":[[62,6]]},"483":{"position":[[1128,10]]},"485":{"position":[[16,5]]},"491":{"position":[[120,6]]},"500":{"position":[[250,5]]},"501":{"position":[[175,8]]},"504":{"position":[[673,6]]},"507":{"position":[[85,8]]},"510":{"position":[[722,8]]},"514":{"position":[[151,6]]},"519":{"position":[[104,8]]},"520":{"position":[[259,6]]},"521":{"position":[[587,6]]},"524":{"position":[[6,6]]},"525":{"position":[[397,6]]},"535":{"position":[[511,5],[1248,6]]},"538":{"position":[[120,8]]},"542":{"position":[[115,5]]},"544":{"position":[[6,6]]},"546":{"position":[[157,5],[299,8]]},"554":{"position":[[6,6]]},"561":{"position":[[223,6]]},"571":{"position":[[1443,5]]},"591":{"position":[[358,6]]},"595":{"position":[[531,5],[1301,6]]},"598":{"position":[[120,8]]},"602":{"position":[[71,6]]},"604":{"position":[[6,6]]},"606":{"position":[[157,5],[289,8]]},"621":{"position":[[13,6],[727,5]]},"622":{"position":[[425,6]]},"640":{"position":[[326,8]]},"641":{"position":[[290,6]]},"688":{"position":[[276,5]]},"723":{"position":[[2735,8]]},"836":{"position":[[1373,5]]},"838":{"position":[[975,6]]},"860":{"position":[[206,6],[752,6],[1149,8]]},"901":{"position":[[708,6]]},"1072":{"position":[[1493,6],[2042,5]]},"1085":{"position":[[1845,6]]},"1132":{"position":[[418,6]]},"1135":{"position":[[31,5]]},"1147":{"position":[[297,6]]},"1148":{"position":[[73,6]]},"1150":{"position":[[10,6]]},"1206":{"position":[[546,8]]}},"keywords":{}}],["offici",{"_index":882,"title":{},"content":{"61":{"position":[[40,8]]},"84":{"position":[[149,8]]},"114":{"position":[[162,8]]},"149":{"position":[[162,8]]},"175":{"position":[[155,8]]},"241":{"position":[[260,8]]},"255":{"position":[[1667,8]]},"261":{"position":[[545,8]]},"306":{"position":[[38,8]]},"347":{"position":[[162,8],[460,8]]},"362":{"position":[[1233,8],[1531,8]]},"373":{"position":[[260,8]]},"511":{"position":[[162,8]]},"531":{"position":[[162,8]]},"567":{"position":[[178,8]]},"591":{"position":[[162,8],[612,8],[712,8]]},"632":{"position":[[736,8]]},"865":{"position":[[187,8]]},"897":{"position":[[87,8]]},"1148":{"position":[[19,8]]}},"keywords":{}}],["offlin",{"_index":181,"title":{"12":{"position":[[26,7]]},"44":{"position":[[14,7]]},"88":{"position":[[8,7]]},"122":{"position":[[0,7]]},"133":{"position":[[0,7]]},"157":{"position":[[0,7]]},"164":{"position":[[0,7]]},"183":{"position":[[0,7]]},"191":{"position":[[0,7]]},"201":{"position":[[12,7]]},"206":{"position":[[8,7]]},"215":{"position":[[0,7]]},"248":{"position":[[9,7]]},"253":{"position":[[8,7]]},"280":{"position":[[0,7]]},"292":{"position":[[6,8]]},"309":{"position":[[3,7]]},"327":{"position":[[0,7]]},"338":{"position":[[0,7]]},"380":{"position":[[0,7]]},"414":{"position":[[17,7]]},"419":{"position":[[0,7]]},"472":{"position":[[20,7]]},"473":{"position":[[14,7]]},"479":{"position":[[30,7]]},"481":{"position":[[4,7]]},"482":{"position":[[14,7]]},"558":{"position":[[54,7]]},"565":{"position":[[0,7]]},"584":{"position":[[0,7]]},"632":{"position":[[19,7]]},"695":{"position":[[27,7]]},"777":{"position":[[14,7]]},"869":{"position":[[49,7]]},"895":{"position":[[50,7]]},"1314":{"position":[[30,7]]}},"content":{"15":{"position":[[510,7]]},"19":{"position":[[554,7]]},"20":{"position":[[275,8]]},"21":{"position":[[166,7]]},"22":{"position":[[383,7]]},"27":{"position":[[43,7],[281,7],[382,7]]},"35":{"position":[[49,7],[602,7]]},"37":{"position":[[274,7],[322,7],[422,8]]},"39":{"position":[[72,7],[239,7],[310,7]]},"40":{"position":[[787,7]]},"43":{"position":[[731,7]]},"46":{"position":[[1,7],[192,8]]},"61":{"position":[[381,7]]},"65":{"position":[[429,7],[565,8],[1899,7]]},"88":{"position":[[40,7]]},"122":{"position":[[45,7],[133,7]]},"126":{"position":[[129,7]]},"133":{"position":[[41,7],[127,7]]},"148":{"position":[[97,7],[390,7]]},"151":{"position":[[201,7]]},"153":{"position":[[331,7]]},"157":{"position":[[18,7]]},"164":{"position":[[38,7]]},"170":{"position":[[124,7],[203,7]]},"173":{"position":[[1371,7],[1471,8]]},"179":{"position":[[422,7]]},"183":{"position":[[17,7]]},"186":{"position":[[258,7]]},"191":{"position":[[8,7],[134,7]]},"198":{"position":[[90,7]]},"201":{"position":[[260,8]]},"206":{"position":[[28,7],[164,7]]},"212":{"position":[[6,7],[94,7],[175,7]]},"215":{"position":[[66,7]]},"241":{"position":[[491,7]]},"248":{"position":[[176,8]]},"253":{"position":[[27,7],[134,7]]},"262":{"position":[[10,7],[40,7],[70,8]]},"263":{"position":[[131,7]]},"266":{"position":[[230,8]]},"270":{"position":[[127,8]]},"273":{"position":[[310,8]]},"274":{"position":[[338,7]]},"280":{"position":[[95,8],[389,7]]},"292":{"position":[[135,8],[313,7]]},"294":{"position":[[29,7]]},"302":{"position":[[547,7]]},"303":{"position":[[1130,7]]},"305":{"position":[[394,7]]},"306":{"position":[[163,7]]},"309":{"position":[[1,7]]},"312":{"position":[[34,8]]},"313":{"position":[[202,7]]},"318":{"position":[[33,7],[612,7]]},"320":{"position":[[382,8]]},"321":{"position":[[196,7],[566,7]]},"325":{"position":[[244,7]]},"327":{"position":[[56,7]]},"331":{"position":[[356,7]]},"338":{"position":[[8,7],[132,8]]},"346":{"position":[[630,7]]},"359":{"position":[[173,7]]},"360":{"position":[[426,7],[536,8]]},"362":{"position":[[168,7],[845,7]]},"373":{"position":[[506,7]]},"375":{"position":[[51,7],[187,7],[1000,8]]},"378":{"position":[[32,7],[230,7]]},"380":{"position":[[53,7],[287,7]]},"384":{"position":[[297,7]]},"388":{"position":[[414,7]]},"407":{"position":[[464,7],[1034,7]]},"408":{"position":[[4640,7],[5491,8]]},"410":{"position":[[924,7],[974,7]]},"411":{"position":[[470,7],[2079,7],[4153,7],[5495,7],[5706,7]]},"412":{"position":[[646,7],[1506,7],[2248,7],[3006,7],[3169,8],[6137,7],[6203,7],[8009,7],[8675,7],[11448,7],[13885,7]]},"416":{"position":[[179,8]]},"418":{"position":[[55,7],[368,7],[582,7]]},"419":{"position":[[22,7],[201,7],[569,7],[612,7],[740,7],[852,7],[1075,7]]},"420":{"position":[[785,7],[1202,7],[1495,7]]},"421":{"position":[[804,8],[1014,8]]},"422":{"position":[[130,7]]},"444":{"position":[[306,7],[519,7],[871,7]]},"445":{"position":[[270,7],[402,7],[491,7]]},"446":{"position":[[1,7],[91,7],[346,7]]},"447":{"position":[[112,7]]},"473":{"position":[[1,7]]},"474":{"position":[[99,7]]},"475":{"position":[[66,7]]},"476":{"position":[[281,7]]},"477":{"position":[[127,7]]},"478":{"position":[[137,7]]},"479":{"position":[[126,7],[518,7]]},"480":{"position":[[334,7],[981,8]]},"481":{"position":[[176,7]]},"482":{"position":[[1243,7]]},"483":{"position":[[16,7],[216,7],[467,7],[678,7],[713,7],[735,7],[1155,7]]},"486":{"position":[[222,7],[304,8]]},"489":{"position":[[592,7]]},"491":{"position":[[431,7],[1111,7],[1143,7],[1382,8]]},"495":{"position":[[119,7]]},"497":{"position":[[189,7]]},"498":{"position":[[485,7]]},"500":{"position":[[187,8],[678,7]]},"502":{"position":[[448,8]]},"504":{"position":[[288,7]]},"510":{"position":[[386,7]]},"513":{"position":[[295,7]]},"516":{"position":[[95,7]]},"525":{"position":[[5,7],[153,7]]},"526":{"position":[[273,7]]},"530":{"position":[[380,7]]},"533":{"position":[[293,7]]},"534":{"position":[[172,7]]},"548":{"position":[[228,7]]},"559":{"position":[[1312,7],[1663,7]]},"561":{"position":[[74,7]]},"562":{"position":[[1015,7]]},"565":{"position":[[172,7]]},"566":{"position":[[1047,7],[1206,7]]},"567":{"position":[[96,7],[313,7],[1187,7]]},"574":{"position":[[184,7],[748,7]]},"576":{"position":[[302,7]]},"582":{"position":[[19,7]]},"584":{"position":[[42,7]]},"590":{"position":[[684,7],[718,7]]},"593":{"position":[[293,7]]},"594":{"position":[[170,7]]},"608":{"position":[[228,7]]},"610":{"position":[[1259,8]]},"626":{"position":[[46,8]]},"631":{"position":[[56,7]]},"632":{"position":[[565,8],[1897,8]]},"635":{"position":[[101,8]]},"644":{"position":[[499,7]]},"690":{"position":[[275,7]]},"696":{"position":[[23,7]]},"698":{"position":[[73,8],[393,7]]},"699":{"position":[[224,7]]},"700":{"position":[[4,7],[541,8],[847,8],[1022,7]]},"701":{"position":[[7,7]]},"702":{"position":[[490,7]]},"703":{"position":[[29,7],[1286,7]]},"704":{"position":[[182,7]]},"705":{"position":[[108,7],[369,7],[1124,7],[1210,7],[1273,7]]},"723":{"position":[[624,7],[2406,7],[2466,7],[2608,8]]},"778":{"position":[[297,7]]},"779":{"position":[[242,7],[333,7]]},"780":{"position":[[503,7]]},"781":{"position":[[553,7],[644,7]]},"782":{"position":[[222,7]]},"783":{"position":[[517,7]]},"784":{"position":[[351,7]]},"785":{"position":[[434,7]]},"786":{"position":[[80,7]]},"836":{"position":[[1953,7]]},"838":{"position":[[690,7]]},"839":{"position":[[757,7]]},"840":{"position":[[264,7],[343,7],[434,7]]},"841":{"position":[[687,7],[695,7],[833,7],[1445,7],[1565,8]]},"860":{"position":[[213,7],[323,7]]},"861":{"position":[[1625,7]]},"906":{"position":[[376,7]]},"913":{"position":[[136,7]]},"981":{"position":[[432,7],[1289,7],[1349,8]]},"985":{"position":[[442,7]]},"987":{"position":[[99,9],[866,7]]},"988":{"position":[[977,7],[5848,7]]},"995":{"position":[[1098,7]]},"1006":{"position":[[135,7],[274,7]]},"1007":{"position":[[696,7],[1062,7]]},"1009":{"position":[[679,8]]},"1032":{"position":[[74,7],[214,8]]},"1093":{"position":[[269,7]]},"1123":{"position":[[739,7]]},"1258":{"position":[[20,7]]},"1301":{"position":[[525,8]]},"1302":{"position":[[1,7]]},"1304":{"position":[[1097,8],[1534,7],[1783,7],[1859,7]]},"1314":{"position":[[27,7]]},"1316":{"position":[[7,7],[473,7],[518,7],[2685,7]]},"1320":{"position":[[11,7]]}},"keywords":{}}],["offline"",{"_index":1478,"title":{},"content":{"244":{"position":[[145,13]]}},"keywords":{}}],["offline/first",{"_index":4598,"title":{},"content":{"786":{"position":[[124,13]]}},"keywords":{}}],["offload",{"_index":3719,"title":{"642":{"position":[[0,10]]}},"content":{"801":{"position":[[314,10]]}},"keywords":{}}],["ohash",{"_index":5404,"title":{},"content":{"968":{"position":[[396,8]]}},"keywords":{}}],["ok",{"_index":3746,"title":{},"content":{"653":{"position":[[112,3]]},"841":{"position":[[938,2]]},"990":{"position":[[407,2]]},"1317":{"position":[[303,3]]}},"keywords":{}}],["old",{"_index":1765,"title":{},"content":{"299":{"position":[[1711,3]]},"302":{"position":[[514,3]]},"402":{"position":[[1965,4]]},"455":{"position":[[924,3]]},"737":{"position":[[481,3]]},"751":{"position":[[303,3]]},"759":{"position":[[518,3],[718,3],[1140,3]]},"760":{"position":[[72,5],[239,3],[435,3],[514,3],[714,3]]},"773":{"position":[[799,3],[875,3]]},"781":{"position":[[109,3]]},"876":{"position":[[527,3]]},"879":{"position":[[196,3]]},"1009":{"position":[[494,3]]},"1119":{"position":[[276,3]]},"1282":{"position":[[592,3]]},"1294":{"position":[[149,3]]},"1319":{"position":[[257,3]]}},"keywords":{}}],["old"",{"_index":4500,"title":{},"content":{"760":{"position":[[145,10]]}},"keywords":{}}],["old/dist/es/shared/vers",{"_index":4508,"title":{},"content":{"761":{"position":[[628,26]]}},"keywords":{}}],["old/dist/lib/shared/vers",{"_index":4511,"title":{},"content":{"761":{"position":[[750,27]]}},"keywords":{}}],["old/plugins/shar",{"_index":4505,"title":{},"content":{"761":{"position":[[502,20]]}},"keywords":{}}],["old/plugins/storag",{"_index":4488,"title":{},"content":{"759":{"position":[[279,19]]},"760":{"position":[[375,19]]}},"keywords":{}}],["olddata",{"_index":5689,"title":{},"content":{"1042":{"position":[[128,9],[214,8]]}},"keywords":{}}],["olddata.ag",{"_index":5690,"title":{},"content":{"1042":{"position":[[146,11],[160,11]]}},"keywords":{}}],["olddata.nam",{"_index":5691,"title":{},"content":{"1042":{"position":[[177,12]]}},"keywords":{}}],["olddatabasenam",{"_index":4490,"title":{},"content":{"759":{"position":[[620,16]]},"760":{"position":[[616,16]]}},"keywords":{}}],["olddoc",{"_index":4448,"title":{},"content":{"751":{"position":[[707,7],[950,7],[1487,7],[1809,7],[2001,7]]},"752":{"position":[[594,7]]},"754":{"position":[[394,7],[554,7],[776,7]]}},"keywords":{}}],["olddoc._attach",{"_index":4481,"title":{},"content":{"754":{"position":[[163,19],[521,19]]}},"keywords":{}}],["olddoc._attachments.myfile.content_typ",{"_index":4484,"title":{},"content":{"754":{"position":[[726,39]]}},"keywords":{}}],["olddoc._attachments.myfile.data",{"_index":4483,"title":{},"content":{"754":{"position":[[659,31]]}},"keywords":{}}],["olddoc.coordin",{"_index":4452,"title":{},"content":{"751":{"position":[[1292,19]]}},"keywords":{}}],["olddoc.sendercountri",{"_index":4454,"title":{},"content":{"751":{"position":[[1447,20]]}},"keywords":{}}],["olddoc.tim",{"_index":4445,"title":{},"content":{"751":{"position":[[635,11],[878,11],[1737,11]]}},"keywords":{}}],["older",{"_index":493,"title":{},"content":{"30":{"position":[[296,5]]},"299":{"position":[[467,5],[919,5],[1220,5],[1538,5],[1563,5]]},"302":{"position":[[997,5]]},"303":{"position":[[1431,5]]},"402":{"position":[[2423,5]]},"408":{"position":[[548,5]]},"412":{"position":[[9379,5]]},"421":{"position":[[336,5]]},"728":{"position":[[99,5]]},"751":{"position":[[1853,5]]},"756":{"position":[[465,5]]},"816":{"position":[[348,5]]},"849":{"position":[[288,5]]},"949":{"position":[[98,5]]},"954":{"position":[[114,5]]},"1055":{"position":[[162,5]]},"1133":{"position":[[367,5]]},"1198":{"position":[[2192,5]]},"1278":{"position":[[107,6],[630,5]]}},"keywords":{}}],["olderdocu",{"_index":5353,"title":{},"content":{"949":{"position":[[118,14]]}},"keywords":{}}],["oldest",{"_index":247,"title":{},"content":{"15":{"position":[[37,6]]},"420":{"position":[[73,6]]}},"keywords":{}}],["oldstorag",{"_index":4492,"title":{},"content":{"759":{"position":[[658,11]]},"760":{"position":[[654,11]]}},"keywords":{}}],["omit",{"_index":6271,"title":{},"content":{"1226":{"position":[[697,6]]},"1264":{"position":[[577,6]]}},"keywords":{}}],["on",{"_index":246,"title":{"647":{"position":[[0,3]]},"1007":{"position":[[6,3]]},"1267":{"position":[[0,3]]}},"content":{"15":{"position":[[26,3]]},"17":{"position":[[475,3]]},"27":{"position":[[340,3]]},"28":{"position":[[243,3]]},"65":{"position":[[445,3]]},"122":{"position":[[1,3]]},"125":{"position":[[235,3]]},"133":{"position":[[1,3]]},"156":{"position":[[1,3]]},"160":{"position":[[149,3]]},"182":{"position":[[1,3]]},"190":{"position":[[1,3]]},"192":{"position":[[189,3]]},"207":{"position":[[1,3]]},"211":{"position":[[543,3]]},"215":{"position":[[1,3]]},"265":{"position":[[1,3]]},"275":{"position":[[1,3]]},"280":{"position":[[1,3]]},"300":{"position":[[461,5]]},"304":{"position":[[150,3]]},"327":{"position":[[1,3]]},"336":{"position":[[74,5]]},"346":{"position":[[60,3]]},"383":{"position":[[1,3]]},"390":{"position":[[1084,3]]},"392":{"position":[[3707,3],[3818,3],[4685,3],[5086,3]]},"395":{"position":[[547,3]]},"398":{"position":[[291,4]]},"402":{"position":[[2434,3]]},"404":{"position":[[908,3]]},"408":{"position":[[2660,4],[4470,3],[4740,4],[4820,3]]},"411":{"position":[[2724,3],[4351,3],[4494,3],[4634,3],[5366,3]]},"412":{"position":[[3432,3],[5766,3],[5792,3],[5932,3],[12396,3],[12543,3]]},"414":{"position":[[124,4]]},"420":{"position":[[62,3],[519,3]]},"427":{"position":[[136,3],[1145,3],[1368,3]]},"445":{"position":[[426,3]]},"454":{"position":[[927,3]]},"458":{"position":[[196,3]]},"464":{"position":[[812,3],[1375,3]]},"469":{"position":[[287,3]]},"475":{"position":[[153,3]]},"488":{"position":[[55,3]]},"490":{"position":[[404,3]]},"515":{"position":[[1,3]]},"517":{"position":[[295,3]]},"519":{"position":[[178,3]]},"524":{"position":[[832,3]]},"525":{"position":[[567,3]]},"535":{"position":[[985,3]]},"589":{"position":[[144,3]]},"590":{"position":[[187,3]]},"595":{"position":[[1062,3]]},"612":{"position":[[150,3]]},"617":{"position":[[2000,3],[2269,3]]},"626":{"position":[[673,3]]},"632":{"position":[[1428,3]]},"636":{"position":[[165,3]]},"647":{"position":[[190,3]]},"653":{"position":[[539,3],[1406,3]]},"679":{"position":[[92,5]]},"680":{"position":[[286,4],[1336,3]]},"682":{"position":[[13,3]]},"686":{"position":[[104,4]]},"691":{"position":[[93,3]]},"697":{"position":[[41,3],[309,3]]},"698":{"position":[[844,3],[2732,3]]},"699":{"position":[[77,3],[444,3]]},"700":{"position":[[96,3]]},"701":{"position":[[338,3],[413,4]]},"703":{"position":[[682,3]]},"705":{"position":[[171,5],[301,3]]},"707":{"position":[[310,3]]},"709":{"position":[[371,3],[433,3],[1003,3]]},"710":{"position":[[956,3]]},"723":{"position":[[891,3]]},"737":{"position":[[114,3],[309,3],[415,3],[485,3]]},"740":{"position":[[49,3]]},"749":{"position":[[21777,3]]},"754":{"position":[[494,4]]},"755":{"position":[[93,3]]},"773":{"position":[[1,3]]},"775":{"position":[[232,3]]},"779":{"position":[[175,3],[294,3]]},"784":{"position":[[584,3]]},"808":{"position":[[438,3]]},"815":{"position":[[314,4]]},"817":{"position":[[345,4]]},"818":{"position":[[258,4]]},"845":{"position":[[92,3]]},"846":{"position":[[365,3],[690,3]]},"849":{"position":[[294,5]]},"854":{"position":[[1032,3]]},"860":{"position":[[1167,3]]},"863":{"position":[[372,3]]},"885":{"position":[[2339,3]]},"886":{"position":[[1509,3]]},"902":{"position":[[80,3]]},"905":{"position":[[66,3]]},"906":{"position":[[1156,4]]},"934":{"position":[[11,3]]},"964":{"position":[[42,3]]},"965":{"position":[[19,3]]},"981":{"position":[[1610,3]]},"982":{"position":[[706,3]]},"988":{"position":[[1225,3]]},"989":{"position":[[54,3]]},"1002":{"position":[[903,3]]},"1007":{"position":[[217,3]]},"1009":{"position":[[520,3]]},"1033":{"position":[[1031,3]]},"1056":{"position":[[176,3],[268,3]]},"1058":{"position":[[455,3]]},"1066":{"position":[[97,3]]},"1069":{"position":[[567,3]]},"1083":{"position":[[224,3]]},"1085":{"position":[[3484,3],[3757,3]]},"1090":{"position":[[377,4]]},"1097":{"position":[[438,3]]},"1100":{"position":[[109,3]]},"1108":{"position":[[195,3]]},"1115":{"position":[[217,4],[375,3]]},"1116":{"position":[[189,5]]},"1124":{"position":[[1705,4]]},"1126":{"position":[[167,3]]},"1135":{"position":[[111,3]]},"1149":{"position":[[85,3]]},"1163":{"position":[[379,4]]},"1164":{"position":[[627,3]]},"1192":{"position":[[709,5]]},"1194":{"position":[[561,3],[654,3]]},"1195":{"position":[[166,4]]},"1198":{"position":[[778,4]]},"1215":{"position":[[223,4]]},"1219":{"position":[[143,3]]},"1220":{"position":[[95,3]]},"1267":{"position":[[107,3],[225,3],[318,4],[652,5]]},"1272":{"position":[[342,3],[402,4]]},"1286":{"position":[[59,3]]},"1287":{"position":[[168,3]]},"1295":{"position":[[150,3],[246,3]]},"1300":{"position":[[1,3],[297,3]]},"1301":{"position":[[1,3],[1317,3]]},"1304":{"position":[[886,3],[1308,3]]},"1309":{"position":[[430,4]]},"1313":{"position":[[325,3]]},"1315":{"position":[[1222,3]]},"1316":{"position":[[728,3],[1268,3]]},"1317":{"position":[[259,3]]},"1318":{"position":[[63,3],[1003,3]]},"1321":{"position":[[739,5]]}},"keywords":{}}],["onc",{"_index":490,"title":{"682":{"position":[[32,5]]}},"content":{"30":{"position":[[159,4]]},"35":{"position":[[230,4]]},"46":{"position":[[468,5]]},"52":{"position":[[1,4]]},"128":{"position":[[192,4]]},"164":{"position":[[253,4]]},"191":{"position":[[189,4]]},"206":{"position":[[316,4]]},"255":{"position":[[208,4]]},"315":{"position":[[1088,4]]},"323":{"position":[[286,4]]},"333":{"position":[[199,4]]},"335":{"position":[[1,4]]},"360":{"position":[[597,4]]},"375":{"position":[[269,4]]},"380":{"position":[[179,4]]},"398":{"position":[[1,4]]},"408":{"position":[[2796,4]]},"410":{"position":[[1103,4]]},"411":{"position":[[96,4],[4711,4]]},"414":{"position":[[166,4]]},"416":{"position":[[188,4]]},"419":{"position":[[524,4]]},"434":{"position":[[10,4]]},"445":{"position":[[721,4]]},"446":{"position":[[383,4]]},"461":{"position":[[412,4]]},"466":{"position":[[70,5],[551,4],[567,4]]},"468":{"position":[[615,4]]},"469":{"position":[[583,5]]},"476":{"position":[[235,4]]},"477":{"position":[[177,5]]},"481":{"position":[[190,4]]},"486":{"position":[[354,4]]},"489":{"position":[[814,4]]},"502":{"position":[[563,4]]},"516":{"position":[[251,4]]},"525":{"position":[[203,4]]},"534":{"position":[[480,4]]},"539":{"position":[[1,4]]},"555":{"position":[[1,4]]},"562":{"position":[[641,4]]},"571":{"position":[[729,5]]},"594":{"position":[[478,4]]},"599":{"position":[[1,4]]},"610":{"position":[[411,4]]},"611":{"position":[[471,4]]},"612":{"position":[[479,5]]},"617":{"position":[[1920,5]]},"624":{"position":[[1352,4]]},"630":{"position":[[348,4]]},"632":{"position":[[332,4],[1972,4]]},"636":{"position":[[266,4]]},"647":{"position":[[44,5]]},"682":{"position":[[187,4]]},"693":{"position":[[441,4],[470,4]]},"696":{"position":[[1780,4]]},"698":{"position":[[1541,4]]},"699":{"position":[[471,4]]},"724":{"position":[[1100,5]]},"745":{"position":[[67,4]]},"749":{"position":[[5706,4]]},"780":{"position":[[644,4]]},"782":{"position":[[348,4]]},"783":{"position":[[296,4]]},"784":{"position":[[527,5]]},"799":{"position":[[68,5]]},"829":{"position":[[1211,4],[2025,4]]},"830":{"position":[[280,4]]},"846":{"position":[[1127,5]]},"893":{"position":[[35,4]]},"934":{"position":[[861,4]]},"944":{"position":[[43,5]]},"945":{"position":[[43,5]]},"981":{"position":[[1064,4],[1397,4]]},"988":{"position":[[723,4],[2985,5]]},"1067":{"position":[[427,4],[1935,4]]},"1088":{"position":[[277,5]]},"1117":{"position":[[31,5]]},"1150":{"position":[[283,4]]},"1183":{"position":[[369,4]]},"1192":{"position":[[610,5]]},"1194":{"position":[[1035,4]]},"1230":{"position":[[326,4],[360,4]]},"1267":{"position":[[462,4]]},"1307":{"position":[[317,4]]},"1308":{"position":[[85,4]]},"1321":{"position":[[451,4],[981,4]]}},"keywords":{}}],["once.delet",{"_index":5946,"title":{},"content":{"1102":{"position":[[1331,11]]}},"keywords":{}}],["onchange={",{"_index":3397,"title":{},"content":{"559":{"position":[[627,11]]}},"keywords":{}}],["onclick={fetchmore}>load",{"_index":3282,"title":{},"content":{"523":{"position":[[784,27]]}},"keywords":{}}],["onclos",{"_index":5379,"title":{"956":{"position":[[0,7]]}},"content":{},"keywords":{}}],["oncreate(dexiedatabas",{"_index":6076,"title":{},"content":{"1148":{"position":[[890,23]]}},"keywords":{}}],["one?"",{"_index":2195,"title":{},"content":{"390":{"position":[[738,10]]}},"keywords":{}}],["oneday",{"_index":5515,"title":{},"content":{"995":{"position":[[1848,6],[1993,8]]}},"keywords":{}}],["oneof",{"_index":4032,"title":{},"content":{"718":{"position":[[500,6]]},"752":{"position":[[1135,5]]},"932":{"position":[[1338,5]]}},"keywords":{}}],["onerror",{"_index":1802,"title":{},"content":{"302":{"position":[[423,7]]}},"keywords":{}}],["ongo",{"_index":1317,"title":{},"content":{"204":{"position":[[88,7]]},"386":{"position":[[293,7]]},"624":{"position":[[670,8]]},"648":{"position":[[51,7],[146,7]]},"696":{"position":[[179,7]]},"775":{"position":[[380,7]]},"875":{"position":[[6639,7],[6982,7],[8005,7]]},"885":{"position":[[459,7]]},"886":{"position":[[3310,7],[5048,7]]},"973":{"position":[[24,8]]},"988":{"position":[[642,7]]}},"keywords":{}}],["onlin",{"_index":388,"title":{"413":{"position":[[28,6]]}},"content":{"23":{"position":[[313,6]]},"61":{"position":[[524,6]]},"157":{"position":[[392,7]]},"248":{"position":[[209,7]]},"253":{"position":[[65,6],[217,6]]},"394":{"position":[[1332,6]]},"410":{"position":[[1108,7]]},"412":{"position":[[4198,7],[13998,7]]},"414":{"position":[[171,7]]},"418":{"position":[[239,6]]},"419":{"position":[[352,6]]},"489":{"position":[[832,7]]},"575":{"position":[[392,6]]},"630":{"position":[[394,7]]},"698":{"position":[[96,6]]},"700":{"position":[[814,6],[958,6]]},"838":{"position":[[723,7]]},"898":{"position":[[536,6]]},"904":{"position":[[255,7]]},"981":{"position":[[440,6]]},"984":{"position":[[56,6]]},"985":{"position":[[454,6]]},"987":{"position":[[961,6]]},"988":{"position":[[5865,6]]},"1304":{"position":[[1087,6],[1396,7],[1838,6]]},"1314":{"position":[[577,6]]},"1316":{"position":[[186,6],[484,6]]},"1318":{"position":[[239,6]]}},"keywords":{}}],["only"",{"_index":2851,"title":{},"content":{"421":{"position":[[355,10]]}},"keywords":{}}],["onlyb",{"_index":3010,"title":{},"content":{"460":{"position":[[1171,6]]}},"keywords":{}}],["onmessag",{"_index":2258,"title":{},"content":{"392":{"position":[[3546,9]]}},"keywords":{}}],["onmount",{"_index":3495,"title":{},"content":{"580":{"position":[[313,9]]},"601":{"position":[[391,9]]}},"keywords":{}}],["onmounted(async",{"_index":3496,"title":{},"content":{"580":{"position":[[406,15]]},"601":{"position":[[483,15]]}},"keywords":{}}],["onoperationend",{"_index":4130,"title":{},"content":{"747":{"position":[[225,15]]}},"keywords":{}}],["onoperationerror",{"_index":4131,"title":{},"content":{"747":{"position":[[283,17]]}},"keywords":{}}],["onoperationstart",{"_index":4125,"title":{},"content":{"747":{"position":[[165,17]]}},"keywords":{}}],["onplayermove(neighboringchunkid",{"_index":5576,"title":{},"content":{"1007":{"position":[[2064,33]]}},"keywords":{}}],["onremov",{"_index":5380,"title":{"956":{"position":[[10,11]]}},"content":{},"keywords":{}}],["onstream($head",{"_index":5135,"title":{},"content":{"886":{"position":[[3537,18]]}},"keywords":{}}],["onsuccess",{"_index":1801,"title":{},"content":{"302":{"position":[[411,9]]}},"keywords":{}}],["onto",{"_index":5552,"title":{},"content":{"1004":{"position":[[587,4]]}},"keywords":{}}],["op",{"_index":4154,"title":{},"content":{"749":{"position":[[1684,2]]},"841":{"position":[[484,3]]}},"keywords":{}}],["open",{"_index":311,"title":{"618":{"position":[[25,4]]}},"content":{"18":{"position":[[316,4]]},"22":{"position":[[38,4],[100,4]]},"29":{"position":[[374,4]]},"38":{"position":[[817,4]]},"61":{"position":[[215,4]]},"113":{"position":[[51,4]]},"155":{"position":[[12,4]]},"160":{"position":[[196,4]]},"168":{"position":[[267,5]]},"174":{"position":[[2967,4]]},"177":{"position":[[15,4]]},"284":{"position":[[47,5]]},"323":{"position":[[543,5]]},"386":{"position":[[262,4]]},"392":{"position":[[2187,4]]},"404":{"position":[[299,7]]},"411":{"position":[[991,4],[4053,4],[4974,5]]},"412":{"position":[[2952,4]]},"420":{"position":[[963,4]]},"427":{"position":[[1286,7]]},"454":{"position":[[160,6]]},"458":{"position":[[102,4]]},"463":{"position":[[341,4],[809,7]]},"468":{"position":[[681,6]]},"483":{"position":[[953,4]]},"490":{"position":[[362,4]]},"514":{"position":[[42,4]]},"566":{"position":[[906,4]]},"567":{"position":[[482,4]]},"575":{"position":[[586,4]]},"589":{"position":[[15,4]]},"610":{"position":[[377,4]]},"611":{"position":[[1224,4]]},"612":{"position":[[518,4]]},"614":{"position":[[44,4]]},"617":{"position":[[216,4],[1232,4],[1995,4],[2086,4],[2172,5]]},"618":{"position":[[102,4],[356,4],[773,4]]},"621":{"position":[[618,7]]},"622":{"position":[[483,7]]},"661":{"position":[[503,4]]},"670":{"position":[[563,4]]},"708":{"position":[[461,7]]},"719":{"position":[[100,7]]},"736":{"position":[[176,5],[323,4],[361,4],[525,7]]},"737":{"position":[[262,6]]},"739":{"position":[[157,6]]},"749":{"position":[[9229,4],[12571,4]]},"779":{"position":[[150,4]]},"781":{"position":[[172,6],[402,6]]},"783":{"position":[[58,4],[289,6]]},"835":{"position":[[778,4]]},"836":{"position":[[631,6],[888,4]]},"838":{"position":[[1992,4]]},"839":{"position":[[1071,4]]},"840":{"position":[[686,4]]},"860":{"position":[[23,4]]},"901":{"position":[[57,4]]},"958":{"position":[[520,4]]},"964":{"position":[[238,6]]},"981":{"position":[[1589,7]]},"988":{"position":[[1236,4]]},"1085":{"position":[[1550,4]]},"1088":{"position":[[245,6]]},"1174":{"position":[[207,6],[408,4]]},"1183":{"position":[[85,4],[183,4]]},"1208":{"position":[[1885,4]]},"1231":{"position":[[163,7]]},"1277":{"position":[[294,4]]},"1298":{"position":[[145,4]]},"1301":{"position":[[1304,5]]},"1313":{"position":[[806,4]]}},"keywords":{}}],["open('mydb.sqlit",{"_index":4772,"title":{},"content":{"836":{"position":[[683,20]]}},"keywords":{}}],["openapi",{"_index":2119,"title":{},"content":{"367":{"position":[[647,7]]}},"keywords":{}}],["opencursor",{"_index":6423,"title":{},"content":{"1294":{"position":[[153,12]]}},"keywords":{}}],["opencursorrequest",{"_index":6436,"title":{},"content":{"1294":{"position":[[1454,17]]}},"keywords":{}}],["opencursorrequest.onerror",{"_index":6438,"title":{},"content":{"1294":{"position":[[1506,25]]}},"keywords":{}}],["opencursorrequest.onsuccess",{"_index":6440,"title":{},"content":{"1294":{"position":[[1554,27]]}},"keywords":{}}],["opendatabas",{"_index":6355,"title":{},"content":{"1278":{"position":[[848,12]]}},"keywords":{}}],["openkvpath",{"_index":6020,"title":{},"content":{"1125":{"position":[[581,11]]}},"keywords":{}}],["oper",{"_index":785,"title":{"52":{"position":[[5,11]]},"208":{"position":[[29,9]]},"539":{"position":[[5,11]]},"599":{"position":[[5,11]]},"678":{"position":[[10,11]]},"679":{"position":[[0,10]]},"681":{"position":[[17,11]]},"682":{"position":[[18,10]]},"795":{"position":[[9,11]]},"796":{"position":[[33,9]]},"1048":{"position":[[37,10]]},"1119":{"position":[[16,11]]}},"content":{"52":{"position":[[61,11]]},"63":{"position":[[100,8]]},"66":{"position":[[373,11]]},"96":{"position":[[262,10]]},"104":{"position":[[213,11]]},"129":{"position":[[388,11]]},"133":{"position":[[331,7]]},"162":{"position":[[375,12]]},"164":{"position":[[191,7]]},"172":{"position":[[131,7]]},"181":{"position":[[167,10]]},"205":{"position":[[345,10]]},"216":{"position":[[352,11]]},"224":{"position":[[205,10]]},"228":{"position":[[232,7]]},"236":{"position":[[235,11]]},"265":{"position":[[137,11],[194,10]]},"266":{"position":[[892,11]]},"267":{"position":[[1027,10]]},"270":{"position":[[119,7]]},"273":{"position":[[44,8]]},"287":{"position":[[674,9]]},"292":{"position":[[106,7]]},"302":{"position":[[374,10]]},"318":{"position":[[47,11]]},"354":{"position":[[1311,9]]},"359":{"position":[[22,7]]},"365":{"position":[[287,11]]},"369":{"position":[[1115,10]]},"376":{"position":[[361,10]]},"385":{"position":[[106,10]]},"396":{"position":[[1586,11],[1657,11]]},"399":{"position":[[611,10]]},"400":{"position":[[440,11]]},"402":{"position":[[2215,9],[2363,8]]},"407":{"position":[[443,12]]},"408":{"position":[[5123,11]]},"410":{"position":[[137,11]]},"411":{"position":[[730,11],[1236,9]]},"415":{"position":[[27,10]]},"418":{"position":[[63,9]]},"419":{"position":[[748,9]]},"424":{"position":[[155,8]]},"427":{"position":[[185,8],[243,10],[837,10],[1168,10]]},"430":{"position":[[695,11],[732,10]]},"439":{"position":[[399,10]]},"441":{"position":[[377,11]]},"451":{"position":[[649,10]]},"452":{"position":[[241,11]]},"459":{"position":[[140,10]]},"460":{"position":[[25,11],[1251,10]]},"462":{"position":[[168,11],[955,10]]},"464":{"position":[[745,10]]},"466":{"position":[[37,10],[416,10]]},"469":{"position":[[86,11]]},"470":{"position":[[146,11]]},"474":{"position":[[132,10]]},"486":{"position":[[123,10]]},"489":{"position":[[662,7]]},"497":{"position":[[122,10],[802,10]]},"514":{"position":[[136,11]]},"519":{"position":[[24,7]]},"524":{"position":[[411,11]]},"525":{"position":[[339,9]]},"539":{"position":[[61,11]]},"569":{"position":[[336,9],[939,7],[1367,9],[1558,9]]},"571":{"position":[[388,9],[433,9]]},"588":{"position":[[150,11]]},"599":{"position":[[61,11]]},"618":{"position":[[50,9],[208,9],[405,9]]},"626":{"position":[[653,9]]},"630":{"position":[[650,10]]},"641":{"position":[[23,10]]},"642":{"position":[[49,10],[262,10]]},"661":{"position":[[109,10]]},"678":{"position":[[17,9],[56,10],[112,10],[161,10],[209,8]]},"679":{"position":[[33,9],[151,9],[291,8],[355,10]]},"680":{"position":[[150,10],[1028,10],[1294,9]]},"681":{"position":[[23,10],[116,10],[333,10],[441,9],[583,10],[689,9],[747,9],[886,9]]},"682":{"position":[[22,9],[303,11]]},"683":{"position":[[52,10],[96,9],[120,9],[577,10],[677,9]]},"684":{"position":[[39,9]]},"685":{"position":[[6,10],[218,10],[415,10],[532,10],[665,11]]},"686":{"position":[[322,10],[511,9]]},"687":{"position":[[100,10]]},"688":{"position":[[376,11]]},"689":{"position":[[155,9],[420,10]]},"691":{"position":[[708,11]]},"703":{"position":[[189,9]]},"709":{"position":[[1149,10]]},"710":{"position":[[2397,10]]},"711":{"position":[[161,10],[357,10],[2253,10]]},"714":{"position":[[526,9]]},"723":{"position":[[144,10],[291,11],[399,10],[2580,10]]},"724":{"position":[[1526,10]]},"746":{"position":[[37,10],[116,10],[670,10]]},"747":{"position":[[70,11]]},"749":{"position":[[22586,10],[23526,10]]},"767":{"position":[[633,9]]},"768":{"position":[[633,9]]},"769":{"position":[[592,9]]},"775":{"position":[[730,10]]},"778":{"position":[[321,10]]},"795":{"position":[[20,10],[77,10],[115,11]]},"796":{"position":[[153,9],[324,8],[577,8],[617,8],[985,8],[1027,8],[1275,8],[1416,8]]},"801":{"position":[[156,10],[299,11],[331,10]]},"802":{"position":[[253,11],[346,10],[562,11],[661,7]]},"835":{"position":[[175,9]]},"836":{"position":[[111,10],[1581,9]]},"858":{"position":[[482,9]]},"863":{"position":[[350,10]]},"871":{"position":[[12,8]]},"872":{"position":[[2876,11]]},"875":{"position":[[5886,10],[5931,10],[9191,10]]},"902":{"position":[[645,11]]},"948":{"position":[[26,10],[210,9],[304,11]]},"1031":{"position":[[48,10]]},"1048":{"position":[[79,10],[296,10],[333,10]]},"1067":{"position":[[1179,9],[1249,8],[1409,9]]},"1085":{"position":[[634,10]]},"1090":{"position":[[1257,9]]},"1102":{"position":[[115,11]]},"1119":{"position":[[69,10],[129,10],[227,10],[252,9],[280,11]]},"1121":{"position":[[293,10]]},"1123":{"position":[[526,10]]},"1124":{"position":[[1541,10],[1799,10]]},"1125":{"position":[[616,10],[838,11]]},"1157":{"position":[[237,10]]},"1161":{"position":[[47,10]]},"1164":{"position":[[855,10],[1354,9]]},"1177":{"position":[[12,11]]},"1180":{"position":[[47,10]]},"1185":{"position":[[9,10],[86,9],[212,10]]},"1193":{"position":[[134,11]]},"1198":{"position":[[1045,9]]},"1204":{"position":[[12,11]]},"1206":{"position":[[306,11],[461,10]]},"1213":{"position":[[87,9]]},"1214":{"position":[[995,11]]},"1215":{"position":[[262,9]]},"1246":{"position":[[1380,11]]},"1249":{"position":[[369,8]]},"1250":{"position":[[31,10],[175,10]]},"1253":{"position":[[34,8]]},"1267":{"position":[[412,11]]},"1274":{"position":[[619,11]]},"1279":{"position":[[1006,11]]},"1282":{"position":[[632,11]]},"1295":{"position":[[692,10]]},"1297":{"position":[[333,9]]},"1304":{"position":[[273,10],[1336,10],[1565,9]]},"1305":{"position":[[91,10],[191,11],[713,9],[951,9],[1076,9]]},"1307":{"position":[[42,9],[705,10],[797,10]]},"1309":{"position":[[245,10]]},"1318":{"position":[[789,10]]}},"keywords":{}}],["operation'",{"_index":3205,"title":{},"content":{"497":{"position":[[507,11]]}},"keywords":{}}],["operation.find",{"_index":6163,"title":{},"content":{"1194":{"position":[[400,14]]}},"keywords":{}}],["operationnam",{"_index":5119,"title":{},"content":{"886":{"position":[[783,14],[2507,14]]}},"keywords":{}}],["operations.batch",{"_index":2144,"title":{},"content":{"376":{"position":[[315,19]]}},"keywords":{}}],["operations.fulli",{"_index":3893,"title":{},"content":{"688":{"position":[[802,16]]}},"keywords":{}}],["operations.no",{"_index":4777,"title":{},"content":{"836":{"position":[[1773,13]]}},"keywords":{}}],["operations.nosql",{"_index":5794,"title":{},"content":{"1071":{"position":[[407,16]]}},"keywords":{}}],["operations.onli",{"_index":3087,"title":{},"content":{"468":{"position":[[154,15]]}},"keywords":{}}],["operations.scal",{"_index":3479,"title":{},"content":{"574":{"position":[[484,19]]}},"keywords":{}}],["operations.smal",{"_index":6125,"title":{},"content":{"1167":{"position":[[40,16]]}},"keywords":{}}],["operationsnam",{"_index":4126,"title":{},"content":{"747":{"position":[[183,16],[241,16],[301,16]]}},"keywords":{}}],["operators.difficult",{"_index":3899,"title":{},"content":{"689":{"position":[[306,19]]}},"keywords":{}}],["opf",{"_index":874,"title":{"433":{"position":[[16,7]]},"448":{"position":[[43,4]]},"453":{"position":[[8,5]]},"1205":{"position":[[27,6],[57,4]]},"1206":{"position":[[8,5]]},"1207":{"position":[[0,4]]},"1208":{"position":[[8,4]]},"1209":{"position":[[0,4]]},"1210":{"position":[[6,4]]},"1211":{"position":[[6,4]]},"1214":{"position":[[0,4]]},"1215":{"position":[[73,7]]},"1216":{"position":[[17,6]]},"1244":{"position":[[3,5]]}},"content":{"59":{"position":[[73,7],[164,4]]},"100":{"position":[[275,5]]},"131":{"position":[[371,4],[668,4]]},"161":{"position":[[109,5]]},"162":{"position":[[370,4]]},"227":{"position":[[249,5]]},"266":{"position":[[126,4]]},"287":{"position":[[718,4]]},"402":{"position":[[2769,4]]},"408":{"position":[[1504,7],[1559,7],[1958,5],[3967,5],[4685,4]]},"429":{"position":[[162,5]]},"433":{"position":[[34,4],[222,4],[293,4],[459,4],[527,4],[593,4]]},"453":{"position":[[32,6],[254,4],[465,4],[569,4],[787,4]]},"459":{"position":[[376,4]]},"460":{"position":[[1123,4]]},"461":{"position":[[1487,4]]},"462":{"position":[[903,4]]},"463":{"position":[[441,4],[681,4],[701,4],[958,4],[1031,4]]},"464":{"position":[[329,4],[351,4],[740,4],[1017,4]]},"465":{"position":[[190,4],[212,4]]},"466":{"position":[[155,4],[176,4],[348,4]]},"467":{"position":[[126,4],[149,4],[307,4]]},"468":{"position":[[296,4]]},"469":{"position":[[498,4]]},"524":{"position":[[435,6],[948,4]]},"546":{"position":[[128,7],[197,4],[227,4]]},"581":{"position":[[603,5]]},"606":{"position":[[128,7],[197,4],[227,4]]},"631":{"position":[[168,6]]},"641":{"position":[[285,4]]},"714":{"position":[[400,4]]},"749":{"position":[[3371,4]]},"793":{"position":[[237,4],[1379,4]]},"981":{"position":[[1134,4]]},"1137":{"position":[[99,4],[189,4]]},"1191":{"position":[[339,4]]},"1195":{"position":[[244,4]]},"1206":{"position":[[32,6],[261,4],[398,4]]},"1207":{"position":[[315,4],[444,4]]},"1208":{"position":[[5,4],[1970,4]]},"1209":{"position":[[187,4]]},"1210":{"position":[[5,4],[205,4]]},"1211":{"position":[[401,4],[646,6]]},"1212":{"position":[[358,6]]},"1213":{"position":[[18,4],[655,6]]},"1214":{"position":[[267,4],[737,4],[1043,4]]},"1215":{"position":[[122,7],[395,6],[552,4]]},"1239":{"position":[[197,4]]},"1243":{"position":[[122,4]]},"1244":{"position":[[5,4]]},"1276":{"position":[[150,5],[257,4]]}},"keywords":{}}],["opfs)mobil",{"_index":3119,"title":{},"content":{"479":{"position":[[327,11]]}},"keywords":{}}],["opfs.html?console=opfs#set",{"_index":4179,"title":{},"content":{"749":{"position":[[3495,30]]}},"keywords":{}}],["opfs.in",{"_index":1569,"title":{},"content":{"254":{"position":[[334,7]]}},"keywords":{}}],["opfs.worker.j",{"_index":6227,"title":{},"content":{"1210":{"position":[[127,14]]}},"keywords":{}}],["opportun",{"_index":2968,"title":{},"content":{"454":{"position":[[183,13]]},"529":{"position":[[173,13]]}},"keywords":{}}],["opt",{"_index":1575,"title":{},"content":{"255":{"position":[[239,3]]},"863":{"position":[[909,6]]},"894":{"position":[[141,6]]}},"keywords":{}}],["optim",{"_index":514,"title":{"76":{"position":[[20,9]]},"78":{"position":[[0,9]]},"107":{"position":[[20,9]]},"108":{"position":[[0,9]]},"138":{"position":[[25,13]]},"194":{"position":[[25,13]]},"230":{"position":[[20,9]]},"234":{"position":[[0,9]]},"342":{"position":[[25,13]]},"376":{"position":[[12,13]]},"378":{"position":[[12,9]]},"385":{"position":[[12,13]]},"402":{"position":[[22,14]]},"507":{"position":[[25,13]]},"527":{"position":[[25,13]]},"587":{"position":[[25,13]]},"819":{"position":[[6,9]]},"1153":{"position":[[28,9]]},"1318":{"position":[[6,13]]}},"content":{"33":{"position":[[169,14]]},"70":{"position":[[19,9]]},"76":{"position":[[31,9]]},"83":{"position":[[154,12]]},"98":{"position":[[94,7]]},"100":{"position":[[198,9]]},"106":{"position":[[176,10]]},"107":{"position":[[39,9]]},"108":{"position":[[43,8]]},"111":{"position":[[4,8]]},"117":{"position":[[277,7]]},"138":{"position":[[251,8]]},"141":{"position":[[202,12]]},"146":{"position":[[154,8]]},"166":{"position":[[26,12],[50,7]]},"170":{"position":[[473,8]]},"174":{"position":[[1220,9],[1303,9],[1608,8]]},"189":{"position":[[764,8]]},"194":{"position":[[33,8]]},"197":{"position":[[38,8]]},"228":{"position":[[139,12]]},"229":{"position":[[113,7]]},"230":{"position":[[22,9]]},"234":{"position":[[6,9]]},"277":{"position":[[53,9]]},"298":{"position":[[383,9]]},"318":{"position":[[293,7]]},"334":{"position":[[526,9]]},"346":{"position":[[860,8]]},"362":{"position":[[919,13]]},"366":{"position":[[358,7]]},"369":{"position":[[214,9],[1105,9],[1207,9],[1398,7]]},"376":{"position":[[206,13]]},"390":{"position":[[45,9]]},"393":{"position":[[646,7]]},"396":{"position":[[209,10]]},"397":{"position":[[5,7]]},"398":{"position":[[283,7]]},"402":{"position":[[793,8],[880,7],[1351,7],[2281,8]]},"408":{"position":[[5065,13]]},"411":{"position":[[767,9]]},"412":{"position":[[9425,10]]},"429":{"position":[[527,9]]},"433":{"position":[[147,9]]},"444":{"position":[[143,9]]},"450":{"position":[[646,13]]},"469":{"position":[[548,8],[640,9]]},"479":{"position":[[110,9]]},"483":{"position":[[664,8]]},"504":{"position":[[467,8]]},"507":{"position":[[13,12]]},"508":{"position":[[89,12]]},"513":{"position":[[68,7]]},"524":{"position":[[977,7]]},"527":{"position":[[46,7]]},"544":{"position":[[379,8]]},"556":{"position":[[1039,8]]},"579":{"position":[[535,8]]},"588":{"position":[[6,12]]},"604":{"position":[[313,8]]},"618":{"position":[[477,8]]},"620":{"position":[[641,14],[677,9]]},"630":{"position":[[116,14]]},"640":{"position":[[56,7]]},"656":{"position":[[50,9]]},"723":{"position":[[1697,9]]},"780":{"position":[[492,9]]},"793":{"position":[[585,9],[1200,9]]},"796":{"position":[[70,7]]},"798":{"position":[[85,10],[972,9]]},"801":{"position":[[766,9]]},"820":{"position":[[59,11],[379,9]]},"821":{"position":[[228,12],[337,9],[450,12],[491,9]]},"838":{"position":[[1079,9]]},"871":{"position":[[574,9]]},"965":{"position":[[89,13],[247,8]]},"981":{"position":[[785,9]]},"1005":{"position":[[176,13]]},"1065":{"position":[[1616,14]]},"1066":{"position":[[222,7]]},"1071":{"position":[[439,9]]},"1085":{"position":[[1033,14]]},"1107":{"position":[[193,7]]},"1120":{"position":[[12,9]]},"1132":{"position":[[178,8]]},"1138":{"position":[[451,8]]},"1151":{"position":[[608,9]]},"1154":{"position":[[10,9],[300,11],[441,10]]},"1178":{"position":[[607,9]]},"1206":{"position":[[222,9]]},"1222":{"position":[[672,7],[732,8]]},"1238":{"position":[[76,9],[400,9],[777,11]]},"1239":{"position":[[48,9],[578,11]]},"1246":{"position":[[1613,10],[1657,9],[1788,8]]},"1266":{"position":[[914,13]]},"1271":{"position":[[669,13]]},"1318":{"position":[[99,8],[324,8],[707,13],[936,13]]}},"keywords":{}}],["optimis",{"_index":5785,"title":{},"content":{"1069":{"position":[[66,12]]}},"keywords":{}}],["optimist",{"_index":618,"title":{"484":{"position":[[12,10]]},"485":{"position":[[15,10]]},"486":{"position":[[28,10]]},"488":{"position":[[9,10]]},"489":{"position":[[35,10]]},"492":{"position":[[0,10]]},"495":{"position":[[13,10]]},"497":{"position":[[27,10]]},"634":{"position":[[0,10]]}},"content":{"39":{"position":[[189,10]]},"485":{"position":[[1,10],[160,10]]},"486":{"position":[[187,10]]},"488":{"position":[[26,10]]},"489":{"position":[[37,10]]},"491":{"position":[[34,10],[880,10]]},"495":{"position":[[7,10],[89,10]]},"497":{"position":[[630,10],[745,10]]},"498":{"position":[[34,10],[288,10],[538,10]]},"634":{"position":[[69,10]]},"897":{"position":[[241,10]]}},"keywords":{}}],["optimization.hierarch",{"_index":2341,"title":{},"content":{"396":{"position":[[521,25]]}},"keywords":{}}],["optimizedrxstorag",{"_index":6093,"title":{},"content":{"1154":{"position":[[461,18],[793,18]]}},"keywords":{}}],["option",{"_index":467,"title":{"126":{"position":[[32,8]]},"161":{"position":[[25,8]]},"186":{"position":[[32,8]]},"266":{"position":[[12,8]]},"317":{"position":[[29,8]]},"331":{"position":[[31,8]]},"365":{"position":[[19,7]]},"520":{"position":[[30,8]]},"576":{"position":[[28,8]]},"653":{"position":[[31,8]]},"887":{"position":[[34,8]]},"1164":{"position":[[0,8]]}},"content":{"28":{"position":[[769,6]]},"39":{"position":[[551,7]]},"51":{"position":[[32,8]]},"126":{"position":[[32,7]]},"131":{"position":[[90,7],[623,7],[758,8]]},"161":{"position":[[28,7],[297,8]]},"162":{"position":[[788,6]]},"167":{"position":[[62,7]]},"186":{"position":[[27,7]]},"189":{"position":[[30,8],[95,7],[553,6]]},"202":{"position":[[248,7]]},"236":{"position":[[19,6]]},"261":{"position":[[791,8],[824,8]]},"267":{"position":[[1385,7]]},"278":{"position":[[149,7]]},"284":{"position":[[231,8]]},"287":{"position":[[328,8],[568,6]]},"295":{"position":[[180,6]]},"302":{"position":[[979,10]]},"310":{"position":[[353,7]]},"312":{"position":[[78,8]]},"318":{"position":[[80,8]]},"334":{"position":[[434,8]]},"360":{"position":[[630,8]]},"361":{"position":[[314,8]]},"362":{"position":[[884,8]]},"365":{"position":[[94,7],[229,6]]},"377":{"position":[[186,7]]},"408":{"position":[[317,7]]},"429":{"position":[[459,7]]},"430":{"position":[[1095,7]]},"433":{"position":[[20,6]]},"441":{"position":[[593,8]]},"458":{"position":[[1053,6]]},"489":{"position":[[236,7]]},"504":{"position":[[703,8]]},"507":{"position":[[103,7]]},"520":{"position":[[28,7]]},"522":{"position":[[563,10],[618,10],[684,10],[760,10]]},"524":{"position":[[193,7]]},"538":{"position":[[32,8]]},"566":{"position":[[178,8],[381,8]]},"579":{"position":[[443,8]]},"581":{"position":[[629,6]]},"598":{"position":[[32,8]]},"612":{"position":[[1624,8]]},"614":{"position":[[813,7]]},"619":{"position":[[395,7]]},"624":{"position":[[182,6],[1310,6]]},"632":{"position":[[1370,9]]},"655":{"position":[[277,6]]},"660":{"position":[[478,7]]},"661":{"position":[[255,8]]},"680":{"position":[[197,7],[784,7],[1086,7]]},"696":{"position":[[801,7]]},"710":{"position":[[469,7],[973,8]]},"724":{"position":[[1055,10],[1175,10],[1404,10],[1471,7],[1693,7],[1778,7]]},"749":{"position":[[22629,7]]},"772":{"position":[[1872,6]]},"773":{"position":[[330,6]]},"806":{"position":[[424,7],[480,7],[630,8],[676,7],[741,7]]},"825":{"position":[[280,6]]},"837":{"position":[[1003,7]]},"841":{"position":[[386,8],[1193,8]]},"846":{"position":[[597,10],[709,10],[820,10],[1027,10],[1135,10],[1255,10]]},"848":{"position":[[206,8],[247,7],[321,9],[584,8]]},"854":{"position":[[904,8],[1091,10]]},"855":{"position":[[321,8]]},"858":{"position":[[147,8]]},"862":{"position":[[1465,7]]},"867":{"position":[[316,8]]},"875":{"position":[[3848,8]]},"886":{"position":[[1235,10],[1332,10],[1890,7],[2855,10],[2974,10],[4345,7]]},"887":{"position":[[31,8],[134,8],[486,8]]},"890":{"position":[[939,8]]},"894":{"position":[[47,8],[159,8]]},"898":{"position":[[1934,8],[3484,9],[3611,9],[3899,8],[4013,10],[4316,8]]},"904":{"position":[[1513,7]]},"905":{"position":[[197,6]]},"911":{"position":[[157,6]]},"934":{"position":[[192,9],[327,10],[388,10],[447,10],[488,8],[504,10],[591,10],[624,10],[691,10],[767,10]]},"960":{"position":[[392,8],[458,10],[513,10],[579,10],[655,10]]},"986":{"position":[[1542,7]]},"988":{"position":[[816,11],[1040,11],[1608,11],[2294,9],[2910,8],[3353,10],[3396,9],[4682,10]]},"1065":{"position":[[530,8],[1336,9]]},"1072":{"position":[[2704,9]]},"1102":{"position":[[838,10]]},"1125":{"position":[[412,10],[556,10],[714,10]]},"1134":{"position":[[477,10],[741,10]]},"1148":{"position":[[1061,8]]},"1151":{"position":[[589,8]]},"1157":{"position":[[439,6]]},"1164":{"position":[[6,7],[272,10],[782,10],[1487,10]]},"1172":{"position":[[455,7]]},"1175":{"position":[[53,6]]},"1178":{"position":[[588,8]]},"1198":{"position":[[2087,8]]},"1201":{"position":[[285,7]]},"1222":{"position":[[447,7],[488,7]]},"1226":{"position":[[611,10],[622,7]]},"1231":{"position":[[120,6]]},"1249":{"position":[[347,6]]},"1264":{"position":[[491,10],[502,7]]},"1266":{"position":[[818,8]]},"1270":{"position":[[303,6]]},"1282":{"position":[[1028,7]]},"1292":{"position":[[60,7]]},"1313":{"position":[[766,6]]}},"keywords":{}}],["option.opf",{"_index":1182,"title":{},"content":{"162":{"position":[[347,11]]}},"keywords":{}}],["option.send",{"_index":3098,"title":{},"content":{"470":{"position":[[361,14]]}},"keywords":{}}],["optional)if",{"_index":5390,"title":{},"content":{"963":{"position":[[1,12]]}},"keywords":{}}],["optional."",{"_index":2800,"title":{},"content":{"419":{"position":[[362,15]]}},"keywords":{}}],["optional=fals",{"_index":5393,"title":{},"content":{"965":{"position":[[1,16]]},"967":{"position":[[1,16]]}},"keywords":{}}],["optional=false)if",{"_index":5395,"title":{},"content":{"966":{"position":[[1,18]]}},"keywords":{}}],["optional=true)when",{"_index":5391,"title":{},"content":{"964":{"position":[[1,19]]}},"keywords":{}}],["options.storag",{"_index":2164,"title":{},"content":{"383":{"position":[[299,15]]}},"keywords":{}}],["optionswithauth",{"_index":4835,"title":{},"content":{"848":{"position":[[285,15],[612,15]]}},"keywords":{}}],["optionswithauth.head",{"_index":4838,"title":{},"content":{"848":{"position":[[400,23]]}},"keywords":{}}],["optionswithauth.headers['author",{"_index":4839,"title":{},"content":{"848":{"position":[[463,40]]}},"keywords":{}}],["opts.wrtc",{"_index":5273,"title":{},"content":{"911":{"position":[[147,9]]}},"keywords":{}}],["or/and",{"_index":327,"title":{},"content":{"19":{"position":[[369,6]]}},"keywords":{}}],["orchestr",{"_index":5254,"title":{},"content":{"903":{"position":[[696,13]]},"1319":{"position":[[575,11]]}},"keywords":{}}],["order",{"_index":2321,"title":{"798":{"position":[[14,8]]}},"content":{"394":{"position":[[1040,5],[1139,5],[1233,7]]},"400":{"position":[[259,6]]},"402":{"position":[[786,6]]},"404":{"position":[[787,7]]},"408":{"position":[[1080,5]]},"569":{"position":[[568,5]]},"613":{"position":[[334,6]]},"683":{"position":[[518,6]]},"749":{"position":[[9577,5],[13923,5]]},"798":{"position":[[5,5],[138,6]]},"858":{"position":[[588,8]]},"898":{"position":[[3799,8]]},"951":{"position":[[529,5]]},"986":{"position":[[225,6]]},"1065":{"position":[[1719,5],[1760,5],[1810,9],[2029,5]]},"1079":{"position":[[574,5]]},"1316":{"position":[[1850,5],[2344,5],[2409,6]]}},"keywords":{}}],["ordering.push",{"_index":5188,"title":{},"content":{"897":{"position":[[203,15]]}},"keywords":{}}],["oren",{"_index":6482,"title":{},"content":{"1302":{"position":[[169,4]]}},"keywords":{}}],["organ",{"_index":1235,"title":{},"content":{"178":{"position":[[257,10]]},"395":{"position":[[294,9]]},"412":{"position":[[1388,14]]},"1132":{"position":[[471,10]]},"1140":{"position":[[53,8]]}},"keywords":{}}],["orient",{"_index":377,"title":{"350":{"position":[[9,8]]}},"content":{"23":{"position":[[45,8]]},"32":{"position":[[112,8]]},"353":{"position":[[756,8]]},"412":{"position":[[13493,8],[14404,8]]},"419":{"position":[[1377,8]]}},"keywords":{}}],["origin",{"_index":287,"title":{"1205":{"position":[[0,6]]},"1215":{"position":[[46,6]]}},"content":{"17":{"position":[[76,10]]},"24":{"position":[[523,10]]},"25":{"position":[[11,11]]},"26":{"position":[[101,10]]},"36":{"position":[[1,10]]},"47":{"position":[[111,10]]},"59":{"position":[[46,6]]},"298":{"position":[[316,7]]},"299":{"position":[[283,6],[608,6]]},"300":{"position":[[208,7]]},"303":{"position":[[71,6],[1306,6]]},"305":{"position":[[101,6]]},"408":{"position":[[1018,6],[1189,6],[1532,6]]},"409":{"position":[[122,10]]},"411":{"position":[[4239,7]]},"419":{"position":[[1066,8]]},"433":{"position":[[96,6]]},"453":{"position":[[5,6]]},"461":{"position":[[731,7]]},"546":{"position":[[101,6]]},"595":{"position":[[153,10]]},"606":{"position":[[101,6]]},"640":{"position":[[168,7]]},"696":{"position":[[1356,7]]},"779":{"position":[[453,7]]},"835":{"position":[[554,10]]},"839":{"position":[[88,10]]},"848":{"position":[[544,8]]},"888":{"position":[[656,7]]},"890":{"position":[[428,6],[671,7]]},"990":{"position":[[856,8]]},"1069":{"position":[[241,8]]},"1140":{"position":[[282,7]]},"1154":{"position":[[413,8]]},"1206":{"position":[[5,6],[141,6]]},"1207":{"position":[[33,6]]},"1209":{"position":[[13,6]]},"1214":{"position":[[1,6]]},"1215":{"position":[[95,6]]},"1216":{"position":[[34,6]]},"1222":{"position":[[178,8]]},"1225":{"position":[[58,8]]},"1246":{"position":[[1729,8]]}},"keywords":{}}],["origin'",{"_index":2896,"title":{},"content":{"427":{"position":[[1535,8]]},"1208":{"position":[[672,8]]}},"keywords":{}}],["origin==='handl",{"_index":5157,"title":{},"content":{"888":{"position":[[797,19]]}},"keywords":{}}],["orion",{"_index":6378,"title":{},"content":{"1284":{"position":[[156,5]]}},"keywords":{}}],["orion.rxdb",{"_index":6380,"title":{},"content":{"1284":{"position":[[195,10]]}},"keywords":{}}],["orm",{"_index":4620,"title":{"937":{"position":[[0,3]]}},"content":{"793":{"position":[[1155,3]]},"838":{"position":[[3406,3]]},"934":{"position":[[338,3],[399,3],[458,3]]},"937":{"position":[[70,3]]},"1085":{"position":[[2154,3],[2195,3]]},"1311":{"position":[[1643,3],[1691,3]]}},"keywords":{}}],["orm/drm",{"_index":5321,"title":{},"content":{"937":{"position":[[162,8]]}},"keywords":{}}],["orqueri",{"_index":4637,"title":{},"content":{"796":{"position":[[422,7]]}},"keywords":{}}],["orwait",{"_index":5657,"title":{},"content":{"1033":{"position":[[332,6]]}},"keywords":{}}],["os",{"_index":1874,"title":{},"content":{"305":{"position":[[483,2]]},"412":{"position":[[8602,2]]},"703":{"position":[[571,2]]},"836":{"position":[[808,3]]},"1270":{"position":[[401,2]]}},"keywords":{}}],["other",{"_index":1081,"title":{"657":{"position":[[38,6]]}},"content":{"125":{"position":[[272,7]]},"298":{"position":[[190,7],[261,6]]},"356":{"position":[[899,6]]},"365":{"position":[[1088,7]]},"399":{"position":[[281,6]]},"400":{"position":[[207,7]]},"411":{"position":[[5585,6]]},"412":{"position":[[6554,6]]},"458":{"position":[[813,6]]},"490":{"position":[[439,7]]},"517":{"position":[[333,7]]},"589":{"position":[[181,7]]},"618":{"position":[[162,7]]},"698":{"position":[[2554,6]]},"709":{"position":[[570,6]]},"824":{"position":[[258,7]]},"1071":{"position":[[90,7]]},"1100":{"position":[[278,6]]},"1208":{"position":[[1874,6]]}},"keywords":{}}],["other.cli",{"_index":6488,"title":{},"content":{"1304":{"position":[[1742,13]]}},"keywords":{}}],["other.find",{"_index":6165,"title":{},"content":{"1194":{"position":[[576,10]]}},"keywords":{}}],["othernumb",{"_index":5775,"title":{},"content":{"1067":{"position":[[1487,15],[1602,12]]}},"keywords":{}}],["others.miss",{"_index":3300,"title":{},"content":{"535":{"position":[[1031,14]]},"595":{"position":[[1108,14]]}},"keywords":{}}],["otherstuff.json",{"_index":4665,"title":{},"content":{"800":{"position":[[905,18]]}},"keywords":{}}],["otherwis",{"_index":2000,"title":{},"content":{"352":{"position":[[151,9]]},"412":{"position":[[1761,10]]},"587":{"position":[[172,9]]},"875":{"position":[[4055,9]]},"886":{"position":[[1396,10]]},"946":{"position":[[66,9]]},"1108":{"position":[[653,9]]},"1235":{"position":[[449,9]]}},"keywords":{}}],["out",{"_index":398,"title":{"626":{"position":[[18,3]]},"742":{"position":[[7,4]]}},"content":{"24":{"position":[[136,3],[594,3]]},"40":{"position":[[272,3]]},"84":{"position":[[85,3]]},"102":{"position":[[13,3]]},"114":{"position":[[98,3]]},"125":{"position":[[15,3]]},"126":{"position":[[88,3]]},"144":{"position":[[88,3]]},"149":{"position":[[98,3]]},"161":{"position":[[189,3]]},"188":{"position":[[2505,3]]},"212":{"position":[[122,3]]},"255":{"position":[[1623,3]]},"263":{"position":[[386,3]]},"296":{"position":[[5,3],[43,3]]},"302":{"position":[[510,3]]},"304":{"position":[[288,3]]},"317":{"position":[[215,3],[241,3]]},"318":{"position":[[405,3]]},"331":{"position":[[251,3]]},"347":{"position":[[98,3]]},"362":{"position":[[1169,3]]},"367":{"position":[[212,3]]},"369":{"position":[[1351,3]]},"383":{"position":[[330,3]]},"393":{"position":[[698,3]]},"394":{"position":[[9,3]]},"396":{"position":[[861,3],[1023,3]]},"398":{"position":[[3300,3]]},"402":{"position":[[405,3],[2084,3]]},"405":{"position":[[145,3]]},"408":{"position":[[2479,3]]},"412":{"position":[[324,3],[6257,3],[7893,3]]},"434":{"position":[[73,3]]},"435":{"position":[[152,3]]},"459":{"position":[[285,3]]},"461":{"position":[[549,3],[1375,3]]},"471":{"position":[[130,3]]},"489":{"position":[[219,3]]},"491":{"position":[[908,3],[1934,3]]},"495":{"position":[[656,3]]},"498":{"position":[[234,3]]},"511":{"position":[[98,3]]},"520":{"position":[[72,3]]},"531":{"position":[[98,3]]},"535":{"position":[[758,3]]},"548":{"position":[[80,3]]},"556":{"position":[[1999,3]]},"557":{"position":[[144,3],[211,3]]},"566":{"position":[[1085,3]]},"567":{"position":[[851,3]]},"590":{"position":[[47,3]]},"591":{"position":[[98,3]]},"595":{"position":[[779,3]]},"608":{"position":[[80,3]]},"610":{"position":[[1614,3]]},"613":{"position":[[327,3]]},"626":{"position":[[67,3],[159,3],[376,3],[1109,3]]},"627":{"position":[[283,3]]},"628":{"position":[[7,3],[232,3]]},"644":{"position":[[168,3]]},"666":{"position":[[302,3]]},"679":{"position":[[315,3]]},"686":{"position":[[34,3]]},"702":{"position":[[680,3]]},"705":{"position":[[132,3]]},"710":{"position":[[910,3],[2516,3]]},"711":{"position":[[2388,3]]},"712":{"position":[[82,3]]},"719":{"position":[[464,3]]},"737":{"position":[[405,3]]},"776":{"position":[[7,3],[255,3]]},"785":{"position":[[721,3]]},"798":{"position":[[124,3]]},"824":{"position":[[272,3]]},"836":{"position":[[335,3],[1341,3]]},"838":{"position":[[1568,3],[3244,3]]},"842":{"position":[[71,3]]},"846":{"position":[[522,3]]},"854":{"position":[[1186,3],[1270,4]]},"873":{"position":[[8,3]]},"875":{"position":[[8690,3]]},"886":{"position":[[5040,3]]},"887":{"position":[[203,3]]},"890":{"position":[[976,3]]},"904":{"position":[[251,3],[3391,3]]},"908":{"position":[[372,3]]},"913":{"position":[[7,3]]},"985":{"position":[[516,3]]},"988":{"position":[[3102,3],[5902,3]]},"1004":{"position":[[519,3]]},"1067":{"position":[[727,3]]},"1072":{"position":[[509,3]]},"1087":{"position":[[76,3]]},"1124":{"position":[[190,3]]},"1148":{"position":[[148,3]]},"1198":{"position":[[119,3],[1226,3]]},"1228":{"position":[[41,3]]},"1271":{"position":[[183,3]]},"1294":{"position":[[331,3]]},"1316":{"position":[[838,3]]},"1324":{"position":[[30,3]]}},"keywords":{}}],["outag",{"_index":2520,"title":{},"content":{"407":{"position":[[557,7]]},"473":{"position":[[131,8]]}},"keywords":{}}],["outcom",{"_index":1781,"title":{},"content":{"300":{"position":[[772,8]]}},"keywords":{}}],["outdat",{"_index":2429,"title":{},"content":{"399":{"position":[[303,8]]},"421":{"position":[[394,9]]},"458":{"position":[[324,8]]},"496":{"position":[[779,8]]},"624":{"position":[[1392,8]]},"709":{"position":[[616,8]]},"749":{"position":[[16380,8]]},"876":{"position":[[567,8]]},"879":{"position":[[347,8]]},"990":{"position":[[1056,9],[1361,8]]}},"keywords":{}}],["outdatedcli",{"_index":5068,"title":{"879":{"position":[[0,16]]}},"content":{"879":{"position":[[376,15]]}},"keywords":{}}],["outer",{"_index":4658,"title":{},"content":{"799":{"position":[[411,5]]}},"keywords":{}}],["outlier",{"_index":2204,"title":{},"content":{"390":{"position":[[1497,8]]}},"keywords":{}}],["outperform",{"_index":2574,"title":{},"content":{"408":{"position":[[5329,11]]},"622":{"position":[[681,13]]},"1090":{"position":[[136,11]]}},"keywords":{}}],["output",{"_index":2222,"title":{},"content":{"391":{"position":[[644,6]]},"401":{"position":[[658,7]]},"404":{"position":[[803,8],[985,8]]},"1266":{"position":[[481,6],[598,7]]},"1267":{"position":[[259,6]]}},"keywords":{}}],["output.multi",{"_index":2506,"title":{},"content":{"404":{"position":[[685,12]]}},"keywords":{}}],["outsid",{"_index":747,"title":{},"content":{"50":{"position":[[31,7],[248,7],[432,7]]},"129":{"position":[[552,7]]},"701":{"position":[[845,10]]},"829":{"position":[[1082,7]]},"832":{"position":[[131,7]]},"1188":{"position":[[413,7]]},"1198":{"position":[[1007,8]]},"1210":{"position":[[595,7]]},"1231":{"position":[[858,7]]},"1233":{"position":[[226,7]]}},"keywords":{}}],["outstand",{"_index":6040,"title":{},"content":{"1133":{"position":[[502,11]]},"1297":{"position":[[288,11]]}},"keywords":{}}],["over",{"_index":272,"title":{"210":{"position":[[27,4]]},"1120":{"position":[[12,4]]}},"content":{"16":{"position":[[149,4]]},"19":{"position":[[323,4]]},"22":{"position":[[267,4]]},"35":{"position":[[121,4]]},"37":{"position":[[90,4]]},"75":{"position":[[94,4]]},"186":{"position":[[201,4]]},"228":{"position":[[414,4]]},"278":{"position":[[132,4]]},"282":{"position":[[395,4]]},"305":{"position":[[226,4]]},"400":{"position":[[802,4]]},"407":{"position":[[144,4]]},"408":{"position":[[475,4]]},"410":{"position":[[637,4]]},"411":{"position":[[3642,4]]},"419":{"position":[[587,4]]},"427":{"position":[[989,4]]},"452":{"position":[[317,4]]},"454":{"position":[[130,4]]},"459":{"position":[[151,4]]},"464":{"position":[[704,4]]},"534":{"position":[[407,4]]},"536":{"position":[[122,4]]},"594":{"position":[[405,4]]},"596":{"position":[[120,4]]},"610":{"position":[[117,4]]},"611":{"position":[[56,4],[397,4]]},"612":{"position":[[86,4]]},"613":{"position":[[229,4]]},"614":{"position":[[924,4]]},"616":{"position":[[129,4]]},"621":{"position":[[76,4]]},"626":{"position":[[757,4]]},"636":{"position":[[1,4]]},"647":{"position":[[138,4]]},"690":{"position":[[70,4],[209,4]]},"704":{"position":[[48,4]]},"705":{"position":[[1043,4]]},"775":{"position":[[313,4]]},"780":{"position":[[142,4]]},"781":{"position":[[489,4]]},"783":{"position":[[315,4]]},"796":{"position":[[188,4]]},"818":{"position":[[199,4]]},"826":{"position":[[576,4],[784,4],[882,4]]},"837":{"position":[[387,4],[532,4]]},"839":{"position":[[208,4]]},"841":{"position":[[970,4]]},"848":{"position":[[921,4]]},"871":{"position":[[284,4]]},"885":{"position":[[1272,4]]},"897":{"position":[[136,4],[393,4]]},"912":{"position":[[664,4]]},"947":{"position":[[27,4]]},"1009":{"position":[[838,4]]},"1018":{"position":[[708,4]]},"1022":{"position":[[50,4]]},"1043":{"position":[[33,4]]},"1069":{"position":[[109,4]]},"1137":{"position":[[215,4]]},"1147":{"position":[[317,4]]},"1149":{"position":[[22,4]]},"1198":{"position":[[326,4],[653,4]]},"1218":{"position":[[33,4]]},"1219":{"position":[[80,4]]},"1246":{"position":[[745,4]]},"1257":{"position":[[152,4]]},"1295":{"position":[[892,4],[984,4],[1124,4],[1286,4]]},"1296":{"position":[[163,4],[384,4],[569,4],[1164,4]]},"1315":{"position":[[69,4]]}},"keywords":{}}],["overal",{"_index":984,"title":{},"content":{"78":{"position":[[87,7]]},"81":{"position":[[116,7]]},"87":{"position":[[263,7]]},"111":{"position":[[141,7]]},"136":{"position":[[342,7]]},"141":{"position":[[175,7]]},"166":{"position":[[285,7]]},"173":{"position":[[2644,7]]},"236":{"position":[[113,7]]},"294":{"position":[[212,7]]},"304":{"position":[[106,7]]},"311":{"position":[[170,7]]},"409":{"position":[[101,7]]},"411":{"position":[[1746,7]]},"508":{"position":[[187,7]]},"587":{"position":[[88,7]]},"801":{"position":[[776,7]]},"802":{"position":[[821,7]]},"820":{"position":[[428,7]]},"836":{"position":[[2205,8]]}},"keywords":{}}],["overcom",{"_index":1876,"title":{},"content":{"306":{"position":[[306,10]]},"781":{"position":[[192,8]]}},"keywords":{}}],["overcompl",{"_index":3725,"title":{},"content":{"644":{"position":[[734,16]]}},"keywords":{}}],["overfetch",{"_index":3973,"title":{},"content":{"703":{"position":[[915,9]]}},"keywords":{}}],["overflow",{"_index":1762,"title":{},"content":{"299":{"position":[[1398,9]]},"779":{"position":[[55,8]]}},"keywords":{}}],["overhead",{"_index":393,"title":{},"content":{"23":{"position":[[409,9]]},"24":{"position":[[400,8]]},"265":{"position":[[818,9]]},"283":{"position":[[217,9]]},"311":{"position":[[253,8]]},"313":{"position":[[238,9]]},"361":{"position":[[1087,8]]},"376":{"position":[[164,8],[414,8]]},"383":{"position":[[552,8]]},"408":{"position":[[2002,8]]},"412":{"position":[[9887,10]]},"427":{"position":[[645,9],[802,9]]},"429":{"position":[[347,9]]},"463":{"position":[[897,8]]},"464":{"position":[[925,8]]},"490":{"position":[[539,9]]},"521":{"position":[[652,8]]},"527":{"position":[[192,8]]},"611":{"position":[[198,8]]},"622":{"position":[[284,8],[460,8]]},"623":{"position":[[301,8]]},"624":{"position":[[1438,8]]},"630":{"position":[[484,9]]},"631":{"position":[[501,8]]},"644":{"position":[[554,8]]},"723":{"position":[[948,8]]},"802":{"position":[[201,9]]},"836":{"position":[[1552,9]]},"841":{"position":[[929,8]]},"902":{"position":[[248,8]]},"1009":{"position":[[643,9]]},"1200":{"position":[[62,8]]},"1270":{"position":[[142,8]]},"1295":{"position":[[1501,9]]}},"keywords":{}}],["overhead.built",{"_index":1221,"title":{},"content":{"174":{"position":[[1763,14]]}},"keywords":{}}],["overhead.y",{"_index":1592,"title":{},"content":{"262":{"position":[[297,12]]}},"keywords":{}}],["overload",{"_index":5240,"title":{},"content":{"902":{"position":[[201,11]]}},"keywords":{}}],["overrid",{"_index":1731,"title":{},"content":{"298":{"position":[[824,10]]},"496":{"position":[[96,9]]},"635":{"position":[[267,8]]},"898":{"position":[[3908,9]]}},"keywords":{}}],["oversel",{"_index":2711,"title":{},"content":{"412":{"position":[[6453,11]]}},"keywords":{}}],["oversight",{"_index":3904,"title":{},"content":{"689":{"position":[[523,10]]}},"keywords":{}}],["overus",{"_index":4670,"title":{},"content":{"802":{"position":[[475,7]]}},"keywords":{}}],["overview",{"_index":878,"title":{"151":{"position":[[0,8]]},"177":{"position":[[0,8]]},"551":{"position":[[24,9]]},"566":{"position":[[0,9]]},"871":{"position":[[13,9]]},"897":{"position":[[13,9]]}},"content":{"60":{"position":[[23,8]]},"411":{"position":[[1009,8]]},"449":{"position":[[25,8]]},"547":{"position":[[23,8]]},"607":{"position":[[23,8]]},"641":{"position":[[119,9]]},"696":{"position":[[2010,8]]},"793":{"position":[[35,8],[171,8]]},"901":{"position":[[620,9]]}},"keywords":{}}],["overwhelm",{"_index":1642,"title":{},"content":{"277":{"position":[[99,12]]}},"keywords":{}}],["overwrit",{"_index":2058,"title":{"806":{"position":[[0,13]]}},"content":{"358":{"position":[[314,11]]},"496":{"position":[[428,9]]},"566":{"position":[[839,10]]},"654":{"position":[[210,9]]},"683":{"position":[[478,9]]},"806":{"position":[[94,9],[118,12],[165,13],[221,9]]},"863":{"position":[[556,11]]},"946":{"position":[[84,9]]},"987":{"position":[[916,9]]},"991":{"position":[[119,9]]},"1015":{"position":[[72,10]]},"1043":{"position":[[1,10]]},"1103":{"position":[[97,9]]},"1174":{"position":[[274,9]]},"1301":{"position":[[259,9]]},"1309":{"position":[[1221,9]]}},"keywords":{}}],["overwrite/polyfil",{"_index":6047,"title":{"1139":{"position":[[0,18]]},"1145":{"position":[[0,18]]}},"content":{},"keywords":{}}],["overwritten",{"_index":5343,"title":{},"content":{"946":{"position":[[117,11]]},"1004":{"position":[[636,12]]}},"keywords":{}}],["own",{"_index":4795,"title":{},"content":{"839":{"position":[[136,5]]},"841":{"position":[[228,6]]}},"keywords":{}}],["owner",{"_index":3640,"title":{},"content":{"617":{"position":[[952,6]]}},"keywords":{}}],["ownership",{"_index":1022,"title":{"417":{"position":[[5,9]]}},"content":{"97":{"position":[[133,9]]},"407":{"position":[[505,9],[966,9]]},"419":{"position":[[936,10]]},"839":{"position":[[1367,9]]},"902":{"position":[[368,9]]}},"keywords":{}}],["p",{"_index":4923,"title":{},"content":{"865":{"position":[[245,1]]}},"keywords":{}}],["p2",{"_index":4151,"title":{},"content":{"749":{"position":[[1548,2]]}},"keywords":{}}],["p2p",{"_index":1360,"title":{"210":{"position":[[11,3]]},"261":{"position":[[24,3]]},"868":{"position":[[28,3]]},"900":{"position":[[0,3]]},"902":{"position":[[12,3]]},"903":{"position":[[13,5]]}},"content":{"210":{"position":[[317,4]]},"261":{"position":[[394,3],[1017,3]]},"289":{"position":[[1582,5],[1679,3]]},"411":{"position":[[4858,3],[5103,3]]},"504":{"position":[[1270,5],[1314,3]]},"793":{"position":[[744,3]]},"868":{"position":[[28,3]]},"902":{"position":[[622,3]]},"903":{"position":[[139,3],[668,3]]},"904":{"position":[[1197,4],[1416,3],[2233,3],[3343,3]]},"906":{"position":[[5,3]]},"913":{"position":[[220,3],[324,3]]},"1121":{"position":[[187,3]]}},"keywords":{}}],["p2p"",{"_index":1458,"title":{},"content":{"243":{"position":[[477,9]]}},"keywords":{}}],["p2pconnectionhandlercr",{"_index":5259,"title":{},"content":{"904":{"position":[[1603,27]]}},"keywords":{}}],["pace",{"_index":1682,"title":{},"content":{"289":{"position":[[1524,5]]}},"keywords":{}}],["packag",{"_index":251,"title":{"1274":{"position":[[27,8]]},"1275":{"position":[[27,8]]}},"content":{"15":{"position":[[154,7]]},"16":{"position":[[46,8]]},"188":{"position":[[2076,7],[2123,7]]},"285":{"position":[[184,7]]},"364":{"position":[[427,8]]},"438":{"position":[[215,7],[245,7]]},"503":{"position":[[160,9]]},"523":{"position":[[16,7]]},"542":{"position":[[192,8]]},"617":{"position":[[2248,7],[2340,7]]},"662":{"position":[[972,8]]},"711":{"position":[[720,7],[798,7]]},"724":{"position":[[41,7],[115,8]]},"730":{"position":[[254,8]]},"824":{"position":[[563,7]]},"835":{"position":[[687,7]]},"852":{"position":[[104,8]]},"854":{"position":[[24,8]]},"866":{"position":[[20,8]]},"878":{"position":[[68,8]]},"882":{"position":[[49,7],[274,7]]},"910":{"position":[[186,7]]},"911":{"position":[[314,7],[468,7]]},"1097":{"position":[[60,7]]},"1112":{"position":[[63,8]]},"1189":{"position":[[23,8]]},"1271":{"position":[[796,7],[1041,9]]},"1276":{"position":[[42,7]]}},"keywords":{}}],["package.json",{"_index":3828,"title":{},"content":{"666":{"position":[[383,12]]},"726":{"position":[[80,13]]},"730":{"position":[[217,12]]},"731":{"position":[[86,13]]},"760":{"position":[[90,12]]},"1176":{"position":[[527,12]]}},"keywords":{}}],["package:rxdb/rxdb.dart",{"_index":1274,"title":{},"content":{"188":{"position":[[2541,25]]}},"keywords":{}}],["packageth",{"_index":3787,"title":{},"content":{"661":{"position":[[297,10],[331,10]]}},"keywords":{}}],["padstart(idmaxlength",{"_index":6462,"title":{},"content":{"1296":{"position":[[1533,24]]}},"keywords":{}}],["page",{"_index":1058,"title":{},"content":{"116":{"position":[[118,4]]},"266":{"position":[[1034,4]]},"298":{"position":[[397,5]]},"334":{"position":[[106,4]]},"346":{"position":[[387,4]]},"394":{"position":[[1316,4]]},"410":{"position":[[1569,4]]},"411":{"position":[[1018,4]]},"421":{"position":[[56,6],[114,5],[309,4]]},"424":{"position":[[362,5]]},"436":{"position":[[210,4]]},"454":{"position":[[758,4]]},"463":{"position":[[1321,4]]},"617":{"position":[[230,4]]},"653":{"position":[[659,4]]},"656":{"position":[[326,4]]},"664":{"position":[[34,4]]},"740":{"position":[[666,5]]},"781":{"position":[[384,4]]},"783":{"position":[[179,4],[267,4]]},"830":{"position":[[43,4]]},"831":{"position":[[46,5]]},"832":{"position":[[97,5]]},"868":{"position":[[93,4]]},"879":{"position":[[591,4]]},"958":{"position":[[177,4]]},"990":{"position":[[1163,4],[1386,4]]},"1137":{"position":[[261,4]]},"1161":{"position":[[110,4]]},"1162":{"position":[[590,4]]},"1164":{"position":[[383,4]]},"1180":{"position":[[110,4]]},"1181":{"position":[[678,4]]},"1192":{"position":[[473,4]]},"1238":{"position":[[355,4]]},"1246":{"position":[[1809,4]]},"1267":{"position":[[367,4]]},"1299":{"position":[[175,4]]},"1301":{"position":[[1427,4]]}},"keywords":{}}],["pageload",{"_index":3094,"title":{},"content":{"469":{"position":[[1009,9]]},"696":{"position":[[157,8]]},"1295":{"position":[[733,8]]}},"keywords":{}}],["pages",{"_index":3272,"title":{},"content":{"523":{"position":[[534,9]]}},"keywords":{}}],["pagin",{"_index":3273,"title":{},"content":{"523":{"position":[[547,11]]}},"keywords":{}}],["pain",{"_index":2755,"title":{},"content":{"412":{"position":[[12779,5]]}},"keywords":{}}],["painless",{"_index":3702,"title":{},"content":{"632":{"position":[[912,8]]}},"keywords":{}}],["pair",{"_index":2095,"title":{},"content":{"362":{"position":[[456,7]]},"426":{"position":[[59,6]]},"429":{"position":[[565,5]]},"432":{"position":[[231,5]]},"451":{"position":[[144,5]]},"486":{"position":[[201,5]]},"533":{"position":[[166,6]]},"559":{"position":[[62,5]]},"574":{"position":[[896,5]]},"593":{"position":[[166,6]]},"1124":{"position":[[977,6]]}},"keywords":{}}],["paper",{"_index":2865,"title":{},"content":{"422":{"position":[[296,5]]}},"keywords":{}}],["paradigm",{"_index":1237,"title":{"407":{"position":[[24,9]]},"445":{"position":[[20,8]]}},"content":{"179":{"position":[[369,9]]},"387":{"position":[[89,9]]},"409":{"position":[[175,8]]},"411":{"position":[[4965,8]]},"445":{"position":[[1243,9],[1580,8]]},"502":{"position":[[393,8]]},"723":{"position":[[2543,8]]}},"keywords":{}}],["paradox",{"_index":2581,"title":{},"content":{"409":{"position":[[9,7]]}},"keywords":{}}],["parallel",{"_index":2252,"title":{},"content":{"392":{"position":[[3192,8],[3322,9]]},"460":{"position":[[203,8]]},"617":{"position":[[1391,8],[1958,9]]},"749":{"position":[[9302,8]]},"752":{"position":[[833,8]]},"759":{"position":[[761,9],[832,9]]},"760":{"position":[[757,9]]},"767":{"position":[[136,8],[241,8],[435,8],[818,8]]},"768":{"position":[[117,8],[200,8],[417,8],[824,8]]},"769":{"position":[[128,8],[215,8],[370,8],[789,8]]},"801":{"position":[[628,8]]},"845":{"position":[[144,9]]},"863":{"position":[[665,9]]},"948":{"position":[[524,8]]},"958":{"position":[[595,8]]},"1088":{"position":[[137,9]]},"1175":{"position":[[693,8]]},"1194":{"position":[[883,9]]},"1238":{"position":[[231,8]]},"1295":{"position":[[939,8]]},"1313":{"position":[[175,8]]}},"keywords":{}}],["param",{"_index":4166,"title":{},"content":{"749":{"position":[[2323,6]]},"1088":{"position":[[572,5]]}},"keywords":{}}],["paramet",{"_index":174,"title":{},"content":{"11":{"position":[[941,9]]},"403":{"position":[[27,9]]},"616":{"position":[[807,10]]},"724":{"position":[[1711,9]]},"749":{"position":[[24283,9]]},"751":{"position":[[326,9]]},"766":{"position":[[40,10],[117,10],[203,10]]},"805":{"position":[[182,9]]},"806":{"position":[[488,10]]},"818":{"position":[[142,9]]},"886":{"position":[[4308,9],[4377,9],[4567,11]]},"890":{"position":[[604,9]]},"934":{"position":[[522,10]]},"937":{"position":[[10,10]]},"938":{"position":[[10,10]]},"960":{"position":[[120,11],[401,11]]},"971":{"position":[[129,9]]},"986":{"position":[[298,9]]},"1065":{"position":[[539,9],[1581,10],[1873,9]]},"1105":{"position":[[193,9]]},"1189":{"position":[[218,9]]},"1226":{"position":[[338,9]]},"1264":{"position":[[254,9]]}},"keywords":{}}],["parameters.direct",{"_index":5488,"title":{},"content":{"990":{"position":[[892,21]]}},"keywords":{}}],["parameters.error",{"_index":5487,"title":{},"content":{"990":{"position":[[813,18]]}},"keywords":{}}],["paramount",{"_index":1190,"title":{},"content":{"167":{"position":[[37,10]]},"310":{"position":[[28,9]]},"354":{"position":[[1335,10]]},"380":{"position":[[423,10]]},"526":{"position":[[38,9]]},"802":{"position":[[932,10]]}},"keywords":{}}],["params.databasenam",{"_index":6061,"title":{},"content":{"1140":{"position":[[770,21]]}},"keywords":{}}],["parent",{"_index":6108,"title":{},"content":{"1162":{"position":[[217,6],[550,6],[842,6]]},"1164":{"position":[[323,6],[572,6]]},"1165":{"position":[[123,6],[490,6],[587,6]]},"1181":{"position":[[283,6],[638,6]]}},"keywords":{}}],["parentdatabas",{"_index":6120,"title":{},"content":{"1165":{"position":[[706,14]]}},"keywords":{}}],["parentdatabase.addcollect",{"_index":6121,"title":{},"content":{"1165":{"position":[[801,32]]}},"keywords":{}}],["parentdatabase.mycollect",{"_index":6122,"title":{},"content":{"1165":{"position":[[879,28]]}},"keywords":{}}],["parentstorag",{"_index":6114,"title":{},"content":{"1163":{"position":[[284,13],[436,13]]},"1164":{"position":[[170,14],[941,14]]},"1165":{"position":[[294,13],[399,14],[777,13]]},"1182":{"position":[[284,13],[440,13]]}},"keywords":{}}],["pars",{"_index":2049,"title":{},"content":{"357":{"position":[[174,5]]},"358":{"position":[[769,6]]},"360":{"position":[[176,7]]},"364":{"position":[[439,6]]},"426":{"position":[[457,7]]},"427":{"position":[[739,7]]},"454":{"position":[[725,6]]},"463":{"position":[[1143,7]]},"566":{"position":[[247,5]]},"800":{"position":[[69,5],[142,6],[266,5],[306,7]]},"882":{"position":[[233,5]]},"1065":{"position":[[770,7]]},"1104":{"position":[[121,6],[720,5]]},"1171":{"position":[[412,5]]},"1252":{"position":[[245,5]]},"1317":{"position":[[384,5]]}},"keywords":{}}],["parsefloat(req.query.updatedat",{"_index":4992,"title":{},"content":{"875":{"position":[[2149,32]]}},"keywords":{}}],["parseint($('#heropoints').v",{"_index":1956,"title":{},"content":{"335":{"position":[[685,32]]}},"keywords":{}}],["part",{"_index":1160,"title":{"559":{"position":[[0,4]]},"560":{"position":[[0,4]]},"561":{"position":[[0,4]]},"563":{"position":[[0,4]]},"564":{"position":[[0,4]]},"800":{"position":[[6,5]]}},"content":{"152":{"position":[[45,4]]},"188":{"position":[[2015,4]]},"303":{"position":[[1160,4]]},"358":{"position":[[244,5]]},"408":{"position":[[1567,4]]},"412":{"position":[[573,4],[1019,5]]},"451":{"position":[[44,4]]},"617":{"position":[[339,4]]},"618":{"position":[[393,4]]},"662":{"position":[[1014,4]]},"680":{"position":[[315,5]]},"696":{"position":[[1846,5]]},"698":{"position":[[2121,5]]},"701":{"position":[[1052,5]]},"707":{"position":[[45,6]]},"710":{"position":[[844,4]]},"749":{"position":[[15185,4]]},"829":{"position":[[129,4]]},"830":{"position":[[177,4]]},"838":{"position":[[1502,4]]},"854":{"position":[[1537,4]]},"875":{"position":[[7607,4]]},"981":{"position":[[329,5],[380,5],[596,5]]},"986":{"position":[[311,4]]},"1009":{"position":[[1067,5]]},"1078":{"position":[[775,5]]},"1124":{"position":[[1378,5]]},"1129":{"position":[[7,4]]},"1141":{"position":[[7,4]]},"1162":{"position":[[885,4],[920,4]]},"1181":{"position":[[837,4],[872,4]]},"1210":{"position":[[223,4]]},"1215":{"position":[[411,4]]},"1246":{"position":[[794,4]]},"1304":{"position":[[916,4]]},"1307":{"position":[[174,5]]}},"keywords":{}}],["parti",{"_index":1103,"title":{"1247":{"position":[[6,5]]},"1284":{"position":[[6,5]]}},"content":{"131":{"position":[[176,5]]},"412":{"position":[[1600,5]]},"482":{"position":[[1198,7]]},"550":{"position":[[50,5]]},"611":{"position":[[436,7]]},"793":{"position":[[1219,5]]},"902":{"position":[[463,5]]},"1102":{"position":[[264,5]]},"1284":{"position":[[6,5]]}},"keywords":{}}],["partial",{"_index":650,"title":{"1006":{"position":[[0,7]]},"1009":{"position":[[0,7]]}},"content":{"41":{"position":[[86,7]]},"212":{"position":[[167,7]]},"245":{"position":[[19,7]]},"250":{"position":[[233,7]]},"299":{"position":[[379,7]]},"357":{"position":[[230,7]]},"358":{"position":[[471,7],[656,7],[919,7]]},"362":{"position":[[709,7]]},"412":{"position":[[7458,7],[13804,7]]},"418":{"position":[[574,7]]},"497":{"position":[[737,7]]},"559":{"position":[[1480,7]]},"626":{"position":[[328,7]]},"635":{"position":[[361,7]]},"699":{"position":[[859,9]]},"705":{"position":[[750,9]]},"723":{"position":[[254,7]]},"800":{"position":[[59,9],[298,7]]},"841":{"position":[[679,7],[1557,7]]},"1030":{"position":[[172,9]]},"1033":{"position":[[137,9]]},"1072":{"position":[[94,7]]},"1093":{"position":[[259,9]]},"1116":{"position":[[145,9]]}},"keywords":{}}],["participants.onlin",{"_index":2782,"title":{},"content":{"414":{"position":[[223,19]]}},"keywords":{}}],["particular",{"_index":5558,"title":{},"content":{"1007":{"position":[[388,10]]}},"keywords":{}}],["particularli",{"_index":532,"title":{},"content":{"34":{"position":[[253,12]]},"40":{"position":[[112,12]]},"65":{"position":[[1193,12]]},"69":{"position":[[177,12]]},"122":{"position":[[287,12]]},"133":{"position":[[281,12]]},"141":{"position":[[218,12]]},"169":{"position":[[227,12]]},"173":{"position":[[2084,12]]},"185":{"position":[[146,12]]},"215":{"position":[[285,12]]},"216":{"position":[[241,12]]},"220":{"position":[[229,12]]},"232":{"position":[[230,12]]},"276":{"position":[[177,12]]},"287":{"position":[[806,12]]},"309":{"position":[[66,12]]},"375":{"position":[[21,12]]},"418":{"position":[[14,12]]},"508":{"position":[[105,12]]},"526":{"position":[[215,12]]},"584":{"position":[[193,12]]},"839":{"position":[[46,12]]},"902":{"position":[[896,12]]},"912":{"position":[[518,12]]}},"keywords":{}}],["partit",{"_index":2721,"title":{},"content":{"412":{"position":[[7624,11],[12266,9]]},"1295":{"position":[[88,11],[553,12]]}},"keywords":{}}],["partli",{"_index":2764,"title":{},"content":{"412":{"position":[[13683,6]]}},"keywords":{}}],["pass",{"_index":172,"title":{"1229":{"position":[[0,7]]},"1268":{"position":[[0,7]]}},"content":{"11":{"position":[[924,6]]},"55":{"position":[[618,4]]},"682":{"position":[[286,4]]},"721":{"position":[[428,6]]},"749":{"position":[[11965,4]]},"789":{"position":[[26,4]]},"806":{"position":[[660,6]]},"886":{"position":[[4365,6]]},"890":{"position":[[584,4],[742,4]]},"907":{"position":[[148,7]]},"950":{"position":[[86,4]]},"951":{"position":[[554,6]]},"971":{"position":[[114,4]]},"975":{"position":[[602,6]]},"988":{"position":[[4276,6]]},"1065":{"position":[[190,4]]},"1084":{"position":[[483,4]]},"1105":{"position":[[290,4]]},"1139":{"position":[[191,4]]},"1145":{"position":[[187,4]]},"1146":{"position":[[162,7]]},"1156":{"position":[[297,4]]},"1271":{"position":[[284,4]]},"1282":{"position":[[652,4],[850,4]]}},"keywords":{}}],["passeng",{"_index":3462,"title":{},"content":{"569":{"position":[[850,11]]}},"keywords":{}}],["passportid",{"_index":4955,"title":{},"content":{"872":{"position":[[1884,13],[1928,11],[2049,14],[4114,13],[4158,11],[4279,14]]},"898":{"position":[[2464,13],[2508,11],[2654,14]]},"1051":{"position":[[216,11],[486,11]]},"1311":{"position":[[403,13],[447,11],[578,14],[1513,11]]}},"keywords":{}}],["password",{"_index":1400,"title":{"218":{"position":[[0,8]]},"715":{"position":[[0,8]]},"719":{"position":[[13,9]]},"963":{"position":[[0,9]]}},"content":{"314":{"position":[[647,10]]},"315":{"position":[[607,9]]},"334":{"position":[[407,9],[454,8]]},"412":{"position":[[13354,8]]},"482":{"position":[[587,8],[684,9],[1159,9]]},"522":{"position":[[521,9],[554,8]]},"554":{"position":[[1133,9]]},"556":{"position":[[8,8],[43,9],[184,8],[276,8],[502,8]]},"564":{"position":[[542,8],[657,9]]},"579":{"position":[[416,9],[463,8]]},"632":{"position":[[1380,8]]},"638":{"position":[[494,9],[931,9]]},"715":{"position":[[70,9],[116,8],[204,10],[265,9],[299,8],[384,10]]},"716":{"position":[[63,8],[282,8],[347,8],[412,8],[464,8]]},"717":{"position":[[944,8],[999,8],[1221,9]]},"718":{"position":[[563,9],[733,9]]},"719":{"position":[[5,8],[76,8],[146,8],[190,8],[329,8],[413,8],[443,8]]},"720":{"position":[[285,8]]},"721":{"position":[[308,8],[343,8]]},"739":{"position":[[359,9]]},"749":{"position":[[4794,8],[12888,8],[12997,8],[13118,8],[13191,8]]},"912":{"position":[[490,10]]},"916":{"position":[[297,8]]},"960":{"position":[[416,9],[449,8]]},"963":{"position":[[99,8],[120,8]]}},"keywords":{}}],["passwordkeep",{"_index":1879,"title":{},"content":{"310":{"position":[[208,12]]}},"keywords":{}}],["past",{"_index":465,"title":{},"content":{"28":{"position":[[635,5]]},"408":{"position":[[204,5],[1262,4]]},"414":{"position":[[89,4]]},"780":{"position":[[8,5]]},"783":{"position":[[8,4]]},"1208":{"position":[[495,5]]},"1316":{"position":[[1610,4]]},"1324":{"position":[[128,4]]}},"keywords":{}}],["patch",{"_index":744,"title":{"50":{"position":[[0,5]]},"129":{"position":[[0,5]]},"1043":{"position":[[0,8]]},"1060":{"position":[[0,7]]}},"content":{"50":{"position":[[151,5],[307,5],[507,5]]},"129":{"position":[[275,5],[426,8],[608,5],[727,5]]},"1044":{"position":[[472,5]]},"1198":{"position":[[851,7],[910,7]]}},"keywords":{}}],["path",{"_index":656,"title":{},"content":{"41":{"position":[[282,4]]},"188":{"position":[[2310,5]]},"356":{"position":[[257,5]]},"396":{"position":[[471,5]]},"412":{"position":[[11709,4]]},"483":{"position":[[551,5]]},"681":{"position":[[594,4]]},"749":{"position":[[3853,4],[6252,5],[9680,4],[10096,4],[14025,4]]},"810":{"position":[[87,4]]},"838":{"position":[[2276,4]]},"886":{"position":[[1364,4]]},"892":{"position":[[319,5]]},"902":{"position":[[691,6]]},"1033":{"position":[[540,4]]},"1039":{"position":[[50,5],[89,4]]},"1102":{"position":[[1106,6]]},"1125":{"position":[[477,4]]},"1134":{"position":[[436,4]]},"1226":{"position":[[429,4]]},"1227":{"position":[[427,4],[777,4]]},"1264":{"position":[[339,4]]},"1265":{"position":[[420,4],[759,4]]},"1266":{"position":[[171,4],[311,4],[488,4],[644,5]]}},"keywords":{}}],["path.join(__dirnam",{"_index":5910,"title":{},"content":{"1090":{"position":[[899,20]]},"1130":{"position":[[246,20]]}},"keywords":{}}],["path.resolv",{"_index":6309,"title":{},"content":{"1266":{"position":[[274,13],[650,13]]}},"keywords":{}}],["path/to/database/file/foobar.db",{"_index":4573,"title":{},"content":{"772":{"position":[[1640,34],[2402,34]]}},"keywords":{}}],["path/to/fdb.clust",{"_index":4568,"title":{},"content":{"772":{"position":[[874,22]]},"774":{"position":[[802,22]]},"1134":{"position":[[565,23]]}},"keywords":{}}],["path/to/shar",{"_index":6269,"title":{},"content":{"1226":{"position":[[577,15]]}},"keywords":{}}],["path/to/worker.j",{"_index":6287,"title":{},"content":{"1238":{"position":[[957,20]]},"1264":{"position":[[464,20]]},"1267":{"position":[[523,19]]}},"keywords":{}}],["path/to/your/node_modules/rxdb/src/plugins/flutter/dart",{"_index":1271,"title":{},"content":{"188":{"position":[[2316,55]]}},"keywords":{}}],["pattern",{"_index":1984,"title":{},"content":{"347":{"position":[[607,8]]},"362":{"position":[[1678,8]]},"369":{"position":[[1513,9]]},"411":{"position":[[3077,7]]},"420":{"position":[[765,9]]},"421":{"position":[[500,7]]},"462":{"position":[[429,9]]},"464":{"position":[[1104,7]]},"491":{"position":[[1772,7]]},"521":{"position":[[166,9]]},"634":{"position":[[83,8]]},"832":{"position":[[70,8]]},"1009":{"position":[[588,7]]},"1134":{"position":[[729,9]]},"1193":{"position":[[246,8]]},"1195":{"position":[[17,8]]},"1222":{"position":[[658,9]]}},"keywords":{}}],["paus",{"_index":3952,"title":{"998":{"position":[[0,8]]}},"content":{"700":{"position":[[687,6]]},"998":{"position":[[1,6]]},"1001":{"position":[[36,7]]},"1003":{"position":[[247,7]]}},"keywords":{}}],["pave",{"_index":1665,"title":{},"content":{"285":{"position":[[299,5]]},"441":{"position":[[646,4]]}},"keywords":{}}],["pay",{"_index":1556,"title":{},"content":{"251":{"position":[[156,3]]},"262":{"position":[[274,3]]}},"keywords":{}}],["payload",{"_index":3591,"title":{},"content":{"612":{"position":[[1610,9]]}},"keywords":{}}],["pc",{"_index":2428,"title":{},"content":{"399":{"position":[[270,4],[566,2]]},"1162":{"position":[[134,2]]},"1171":{"position":[[151,2]]},"1181":{"position":[[200,2]]}},"keywords":{}}],["peer",{"_index":477,"title":{"727":{"position":[[0,4]]},"903":{"position":[[0,4],[8,4]]},"907":{"position":[[0,4]]}},"content":{"29":{"position":[[152,4],[160,4]]},"40":{"position":[[243,4],[251,4]]},"210":{"position":[[59,4],[67,4],[698,6]]},"212":{"position":[[521,4]]},"261":{"position":[[71,4],[79,4],[894,5],[1047,5]]},"289":{"position":[[1569,4],[1577,4]]},"327":{"position":[[284,6]]},"411":{"position":[[4992,4],[5000,4]]},"481":{"position":[[381,4],[389,4]]},"504":{"position":[[1257,4],[1265,4]]},"614":{"position":[[296,4],[304,4],[519,6]]},"632":{"position":[[703,4],[711,4]]},"727":{"position":[[30,4]]},"749":{"position":[[16035,4]]},"901":{"position":[[170,6],[396,4],[404,4],[722,4],[730,4]]},"902":{"position":[[178,5]]},"903":{"position":[[372,4],[560,6]]},"904":{"position":[[1739,4],[2376,4],[2412,5],[3330,5]]},"905":{"position":[[119,5]]},"906":{"position":[[129,5],[259,4]]},"907":{"position":[[54,4],[122,5],[222,5],[249,6],[335,6]]},"910":{"position":[[99,4]]}},"keywords":{}}],["pend",{"_index":2153,"title":{},"content":{"380":{"position":[[216,7]]}},"keywords":{}}],["peopl",{"_index":2308,"title":{"420":{"position":[[3,6]]}},"content":{"394":{"position":[[616,8]]},"419":{"position":[[1298,6]]},"420":{"position":[[1062,6]]},"422":{"position":[[215,6]]},"454":{"position":[[484,6]]},"456":{"position":[[123,6]]},"569":{"position":[[982,6]]},"570":{"position":[[45,6]]},"611":{"position":[[1283,6]]},"613":{"position":[[1015,6]]},"670":{"position":[[193,7]]},"704":{"position":[[248,6]]},"705":{"position":[[246,6]]},"749":{"position":[[21854,6]]},"987":{"position":[[932,7]]},"1249":{"position":[[14,6]]},"1315":{"position":[[11,6],[96,6]]}},"keywords":{}}],["per",{"_index":1713,"title":{"617":{"position":[[11,3]]},"1267":{"position":[[11,3]]}},"content":{"298":{"position":[[312,3]]},"299":{"position":[[279,3],[604,3]]},"392":{"position":[[3088,3],[3718,3],[3832,3],[4689,3],[5097,3]]},"401":{"position":[[146,3]]},"402":{"position":[[1460,3]]},"408":{"position":[[1014,3],[1099,3],[1185,3],[4745,3]]},"412":{"position":[[5770,3],[6961,3],[7636,3],[10132,3],[12281,3],[12556,3]]},"432":{"position":[[334,3]]},"461":{"position":[[727,3],[814,3],[839,3],[864,3]]},"464":{"position":[[532,3],[724,3],[825,3],[1027,3],[1228,3],[1384,3]]},"465":{"position":[[394,3]]},"466":{"position":[[572,3]]},"469":{"position":[[296,3]]},"617":{"position":[[44,3],[1257,3],[2029,3]]},"654":{"position":[[32,3]]},"661":{"position":[[391,3]]},"696":{"position":[[1352,3]]},"703":{"position":[[1003,3],[1372,3]]},"736":{"position":[[408,3]]},"849":{"position":[[243,3],[251,3]]},"863":{"position":[[402,3]]},"866":{"position":[[237,3]]},"890":{"position":[[458,3]]},"904":{"position":[[2062,3]]},"981":{"position":[[1069,3]]},"1074":{"position":[[614,3]]},"1126":{"position":[[179,3]]},"1157":{"position":[[167,3]]},"1194":{"position":[[675,3]]},"1222":{"position":[[594,3],[1188,3]]},"1323":{"position":[[203,3]]}},"keywords":{}}],["perceiv",{"_index":3153,"title":{},"content":{"486":{"position":[[47,8]]},"571":{"position":[[1672,8]]},"630":{"position":[[330,9]]},"1246":{"position":[[285,9],[605,9]]}},"keywords":{}}],["percent",{"_index":4469,"title":{},"content":{"752":{"position":[[1274,8]]}},"keywords":{}}],["percentag",{"_index":1709,"title":{},"content":{"298":{"position":[[218,10],[525,10]]},"752":{"position":[[1288,10]]}},"keywords":{}}],["percept",{"_index":4589,"title":{},"content":{"778":{"position":[[414,11]]}},"keywords":{}}],["perf",{"_index":4811,"title":{},"content":{"841":{"position":[[1080,5]]}},"keywords":{}}],["perfect",{"_index":1034,"title":{},"content":{"102":{"position":[[107,7]]},"263":{"position":[[480,7]]},"287":{"position":[[919,7]]},"373":{"position":[[665,7]]},"384":{"position":[[11,7]]}},"keywords":{}}],["perfectli",{"_index":3155,"title":{},"content":{"486":{"position":[[207,9]]}},"keywords":{}}],["perfekt""how",{"_index":1535,"title":{},"content":{"245":{"position":[[85,22]]}},"keywords":{}}],["perform",{"_index":63,"title":{"60":{"position":[[0,11]]},"70":{"position":[[24,12]]},"101":{"position":[[24,12]]},"138":{"position":[[13,11]]},"194":{"position":[[13,11]]},"227":{"position":[[24,12]]},"265":{"position":[[10,11]]},"277":{"position":[[14,11]]},"283":{"position":[[6,12]]},"342":{"position":[[13,11]]},"369":{"position":[[19,12]]},"376":{"position":[[0,11]]},"385":{"position":[[0,11]]},"395":{"position":[[35,12]]},"399":{"position":[[0,11]]},"400":{"position":[[0,11]]},"401":{"position":[[0,11]]},"402":{"position":[[10,11]]},"415":{"position":[[12,12]]},"462":{"position":[[0,11]]},"468":{"position":[[0,11]]},"507":{"position":[[13,11]]},"527":{"position":[[13,11]]},"547":{"position":[[0,11]]},"587":{"position":[[13,11]]},"607":{"position":[[0,11]]},"620":{"position":[[0,11]]},"641":{"position":[[0,11]]},"703":{"position":[[0,11]]},"794":{"position":[[0,11]]},"1120":{"position":[[17,12]]},"1137":{"position":[[10,11]]},"1152":{"position":[[0,11]]},"1191":{"position":[[10,11]]},"1193":{"position":[[0,11]]},"1195":{"position":[[23,11]]},"1196":{"position":[[27,11]]},"1209":{"position":[[5,12]]},"1270":{"position":[[0,11]]},"1292":{"position":[[0,11]]}},"content":{"4":{"position":[[108,11]]},"5":{"position":[[67,11]]},"6":{"position":[[95,11]]},"17":{"position":[[207,11]]},"24":{"position":[[481,11],[694,11]]},"28":{"position":[[120,11]]},"31":{"position":[[235,12],[270,11]]},"33":{"position":[[122,11]]},"34":{"position":[[153,7]]},"46":{"position":[[252,12]]},"51":{"position":[[122,12]]},"52":{"position":[[44,7]]},"58":{"position":[[144,11]]},"59":{"position":[[137,12]]},"60":{"position":[[11,11]]},"61":{"position":[[357,11]]},"65":{"position":[[866,12],[1886,12]]},"66":{"position":[[139,11],[229,11]]},"70":{"position":[[93,11],[202,11]]},"78":{"position":[[95,11]]},"81":{"position":[[124,12]]},"87":{"position":[[184,12]]},"92":{"position":[[166,12]]},"101":{"position":[[29,11],[205,11]]},"106":{"position":[[187,11]]},"107":{"position":[[152,11]]},"108":{"position":[[191,12]]},"111":{"position":[[149,12]]},"114":{"position":[[710,12]]},"117":{"position":[[285,11]]},"131":{"position":[[323,11]]},"138":{"position":[[18,12],[264,11]]},"140":{"position":[[182,7]]},"141":{"position":[[45,12]]},"146":{"position":[[163,11]]},"166":{"position":[[14,11],[58,12],[293,11]]},"170":{"position":[[482,12]]},"173":{"position":[[192,12],[744,11],[1950,7],[2652,11]]},"174":{"position":[[1169,11],[1739,11],[2495,12]]},"177":{"position":[[110,11]]},"178":{"position":[[375,12]]},"181":{"position":[[151,10]]},"189":{"position":[[773,11]]},"193":{"position":[[92,12]]},"194":{"position":[[48,11]]},"197":{"position":[[47,12],[209,12]]},"204":{"position":[[172,9]]},"212":{"position":[[233,7]]},"216":{"position":[[318,7]]},"224":{"position":[[220,9]]},"234":{"position":[[151,9],[240,11]]},"236":{"position":[[130,12]]},"241":{"position":[[532,12]]},"265":{"position":[[212,9]]},"266":{"position":[[295,11]]},"267":{"position":[[170,11],[1001,7]]},"271":{"position":[[155,11]]},"276":{"position":[[43,7]]},"277":{"position":[[269,12]]},"283":{"position":[[18,11],[403,12]]},"287":{"position":[[1259,11]]},"294":{"position":[[224,12]]},"311":{"position":[[178,11]]},"314":{"position":[[150,12],[968,11]]},"318":{"position":[[301,11],[496,11]]},"336":{"position":[[297,11]]},"342":{"position":[[57,12]]},"345":{"position":[[134,12]]},"346":{"position":[[847,12]]},"352":{"position":[[170,10]]},"357":{"position":[[191,7]]},"366":{"position":[[372,12]]},"369":{"position":[[40,11],[418,11],[616,11],[1406,11]]},"370":{"position":[[232,12]]},"373":{"position":[[547,12]]},"376":{"position":[[13,11]]},"383":{"position":[[540,11]]},"385":{"position":[[257,11]]},"392":{"position":[[2995,11],[3169,12],[3369,11]]},"393":{"position":[[622,11]]},"396":{"position":[[82,12],[1502,11]]},"398":{"position":[[61,7],[166,12],[3152,11]]},"399":{"position":[[27,11],[207,11],[431,11],[521,11]]},"400":{"position":[[353,11],[488,8]]},"401":{"position":[[741,12],[860,11]]},"402":{"position":[[52,11],[910,11],[1043,11],[1670,11],[1754,11],[2290,12],[2565,11],[2723,11]]},"408":{"position":[[1710,7],[1990,11],[3688,11],[4236,12],[4395,12],[4980,11],[5312,11],[5543,11]]},"410":{"position":[[1,11]]},"412":{"position":[[4976,12],[9464,11],[9652,11],[10546,11],[10725,11]]},"419":{"position":[[960,11]]},"420":{"position":[[1526,11]]},"427":{"position":[[254,9],[349,11],[790,11],[951,7],[1194,11]]},"429":{"position":[[28,12]]},"430":{"position":[[531,12],[771,11],[839,11]]},"432":{"position":[[704,11],[1417,11]]},"433":{"position":[[161,11],[245,11]]},"434":{"position":[[316,12]]},"442":{"position":[[116,11]]},"446":{"position":[[797,11]]},"447":{"position":[[43,11]]},"450":{"position":[[512,11],[634,11]]},"452":{"position":[[558,11]]},"454":{"position":[[58,11]]},"457":{"position":[[687,11]]},"459":{"position":[[183,10]]},"462":{"position":[[78,11],[316,11],[417,11],[821,11],[1002,11]]},"464":{"position":[[1092,11]]},"465":{"position":[[426,7]]},"466":{"position":[[392,8]]},"469":{"position":[[52,11],[135,11],[442,11],[1101,11],[1209,11],[1297,11],[1400,12]]},"470":{"position":[[605,12]]},"483":{"position":[[1013,11]]},"485":{"position":[[217,11]]},"489":{"position":[[352,7]]},"490":{"position":[[703,12]]},"507":{"position":[[1,11]]},"514":{"position":[[182,10]]},"521":{"position":[[306,11]]},"527":{"position":[[63,12]]},"528":{"position":[[71,12]]},"534":{"position":[[87,11]]},"535":{"position":[[458,7]]},"538":{"position":[[136,11]]},"539":{"position":[[44,7]]},"545":{"position":[[65,12]]},"546":{"position":[[170,12],[315,12]]},"547":{"position":[[11,11]]},"554":{"position":[[203,11]]},"556":{"position":[[1048,11],[1063,11],[1516,11]]},"557":{"position":[[437,11]]},"559":{"position":[[1472,7]]},"574":{"position":[[398,12]]},"581":{"position":[[698,12]]},"587":{"position":[[154,11]]},"588":{"position":[[123,11]]},"594":{"position":[[85,11]]},"595":{"position":[[486,7]]},"598":{"position":[[136,11]]},"599":{"position":[[44,7]]},"605":{"position":[[65,12]]},"606":{"position":[[170,12],[305,12]]},"607":{"position":[[11,11]]},"613":{"position":[[413,11]]},"618":{"position":[[486,12]]},"620":{"position":[[15,11],[267,11],[408,11],[629,11]]},"624":{"position":[[1639,11]]},"634":{"position":[[199,8]]},"641":{"position":[[1,10],[107,11],[247,8]]},"643":{"position":[[168,12]]},"644":{"position":[[203,11]]},"656":{"position":[[151,11]]},"662":{"position":[[769,11]]},"690":{"position":[[257,8]]},"703":{"position":[[713,11],[793,11],[1660,11]]},"704":{"position":[[392,11]]},"705":{"position":[[493,11]]},"709":{"position":[[647,12],[813,11],[1029,11]]},"710":{"position":[[788,11],[2185,11]]},"714":{"position":[[570,7],[908,7]]},"716":{"position":[[90,11]]},"723":{"position":[[159,9],[414,9],[1707,11],[2203,7],[2598,9]]},"749":{"position":[[21140,11],[21624,12]]},"772":{"position":[[2522,11]]},"774":{"position":[[25,11],[888,11]]},"783":{"position":[[67,7]]},"793":{"position":[[1264,11],[1286,11],[1304,11]]},"796":{"position":[[232,12]]},"797":{"position":[[140,11]]},"798":{"position":[[67,12],[452,11],[798,12]]},"800":{"position":[[180,11]]},"801":{"position":[[68,11],[796,11]]},"802":{"position":[[105,12],[917,11]]},"821":{"position":[[928,9]]},"828":{"position":[[483,11]]},"836":{"position":[[1686,11]]},"837":{"position":[[670,11]]},"838":{"position":[[1446,11],[3146,11]]},"839":{"position":[[316,11]]},"841":{"position":[[865,11]]},"875":{"position":[[9418,11]]},"894":{"position":[[126,11]]},"945":{"position":[[362,11]]},"947":{"position":[[61,11]]},"951":{"position":[[72,11]]},"962":{"position":[[280,12],[431,11]]},"965":{"position":[[77,11],[299,12]]},"966":{"position":[[400,11]]},"983":{"position":[[88,12]]},"989":{"position":[[12,12]]},"1005":{"position":[[164,11]]},"1013":{"position":[[12,12]]},"1052":{"position":[[113,11]]},"1065":{"position":[[1604,11]]},"1066":{"position":[[254,12],[604,12]]},"1067":{"position":[[147,12],[164,11],[638,11],[997,11],[1783,11]]},"1068":{"position":[[512,12]]},"1069":{"position":[[54,11]]},"1071":{"position":[[491,11]]},"1072":{"position":[[396,12],[877,11],[1117,7],[1509,11],[2580,7]]},"1083":{"position":[[307,11]]},"1085":{"position":[[164,11],[978,7]]},"1090":{"position":[[120,12]]},"1093":{"position":[[423,11]]},"1094":{"position":[[619,11]]},"1098":{"position":[[127,11]]},"1099":{"position":[[119,11]]},"1105":{"position":[[1021,11]]},"1107":{"position":[[940,11]]},"1108":{"position":[[577,11]]},"1112":{"position":[[586,11]]},"1120":{"position":[[47,12],[426,10],[520,11],[706,11]]},"1124":{"position":[[577,12],[1730,11]]},"1125":{"position":[[699,12]]},"1132":{"position":[[193,12]]},"1134":{"position":[[681,11]]},"1137":{"position":[[14,11],[238,11]]},"1138":{"position":[[369,12],[559,11]]},"1141":{"position":[[153,12]]},"1143":{"position":[[212,11]]},"1150":{"position":[[360,7]]},"1152":{"position":[[5,11],[116,11]]},"1157":{"position":[[332,11]]},"1161":{"position":[[21,11]]},"1164":{"position":[[47,11]]},"1175":{"position":[[430,11]]},"1180":{"position":[[21,11]]},"1186":{"position":[[125,12]]},"1188":{"position":[[360,7]]},"1191":{"position":[[58,12],[437,11],[556,11],[647,11]]},"1192":{"position":[[176,11],[414,12]]},"1193":{"position":[[36,11],[149,11]]},"1195":{"position":[[5,11],[188,11]]},"1198":{"position":[[432,12],[928,11]]},"1200":{"position":[[21,11]]},"1206":{"position":[[444,11]]},"1207":{"position":[[253,10]]},"1209":{"position":[[169,11],[354,11]]},"1222":{"position":[[712,11]]},"1230":{"position":[[202,12]]},"1231":{"position":[[131,12],[270,12]]},"1243":{"position":[[92,11]]},"1244":{"position":[[78,11]]},"1246":{"position":[[295,11],[615,11],[1029,11],[1525,11]]},"1247":{"position":[[42,11],[354,10],[527,10],[720,10]]},"1250":{"position":[[262,11],[439,11]]},"1271":{"position":[[657,11]]},"1276":{"position":[[366,11]]},"1287":{"position":[[54,7]]},"1292":{"position":[[19,11]]},"1294":{"position":[[82,12],[196,11],[1815,11]]},"1295":{"position":[[649,11],[771,11]]},"1296":{"position":[[27,11],[534,12],[1647,11]]},"1297":{"position":[[183,12],[446,11],[477,11]]},"1298":{"position":[[56,11]]},"1299":{"position":[[48,11]]},"1304":{"position":[[1487,11]]},"1309":{"position":[[893,12]]},"1315":{"position":[[1037,11]]},"1324":{"position":[[976,7]]}},"keywords":{}}],["performance.big",{"_index":2902,"title":{},"content":{"430":{"position":[[399,15]]}},"keywords":{}}],["performance.memori",{"_index":1107,"title":{},"content":{"131":{"position":[[694,18]]}},"keywords":{}}],["performance.sqlit",{"_index":3717,"title":{},"content":{"640":{"position":[[248,18]]}},"keywords":{}}],["performance.tri",{"_index":5282,"title":{},"content":{"913":{"position":[[150,15]]}},"keywords":{}}],["performance.vers",{"_index":5063,"title":{},"content":{"876":{"position":[[379,19]]}},"keywords":{}}],["performancey",{"_index":17,"title":{},"content":{"1":{"position":[[242,14]]}},"keywords":{}}],["perhap",{"_index":2745,"title":{},"content":{"412":{"position":[[11374,7]]}},"keywords":{}}],["period",{"_index":1858,"title":{},"content":{"303":{"position":[[1501,7]]},"305":{"position":[[238,6]]},"411":{"position":[[501,12],[716,8]]},"412":{"position":[[667,8]]},"618":{"position":[[310,6]]},"1301":{"position":[[200,12]]}},"keywords":{}}],["perk",{"_index":2859,"title":{},"content":{"421":{"position":[[1230,5]]}},"keywords":{}}],["perman",{"_index":453,"title":{},"content":{"28":{"position":[[191,9]]},"305":{"position":[[384,9]]},"799":{"position":[[126,11]]}},"keywords":{}}],["permanentlycal",{"_index":5904,"title":{},"content":{"1085":{"position":[[3590,15]]}},"keywords":{}}],["permiss",{"_index":359,"title":{"701":{"position":[[0,11]]}},"content":{"21":{"position":[[103,10]]},"299":{"position":[[488,10]]},"408":{"position":[[688,11]]},"412":{"position":[[12379,10],[12618,10],[13033,12],[13078,11]]},"662":{"position":[[883,10]]},"701":{"position":[[262,10],[510,10]]},"861":{"position":[[2201,10],[2254,11],[2379,11],[2408,10]]},"1198":{"position":[[1961,10]]}},"keywords":{}}],["permissions).conflict",{"_index":6074,"title":{},"content":{"1148":{"position":[[343,21]]}},"keywords":{}}],["permit",{"_index":2536,"title":{},"content":{"408":{"position":[[1166,7]]}},"keywords":{}}],["persist",{"_index":10,"title":{"266":{"position":[[0,11]]},"697":{"position":[[30,11]]},"772":{"position":[[0,10]]},"774":{"position":[[17,11]]},"1113":{"position":[[19,10]]},"1115":{"position":[[17,12]]},"1184":{"position":[[18,10]]},"1185":{"position":[[12,12]]},"1192":{"position":[[0,10],[19,10]]},"1300":{"position":[[11,12]]}},"content":{"1":{"position":[[127,10],[269,10]]},"28":{"position":[[178,7],[285,11]]},"30":{"position":[[129,12]]},"31":{"position":[[60,11]]},"32":{"position":[[21,10],[182,11],[225,7]]},"34":{"position":[[191,7]]},"35":{"position":[[549,10]]},"40":{"position":[[561,11],[770,12]]},"42":{"position":[[234,11],[357,12]]},"117":{"position":[[194,10]]},"131":{"position":[[43,10],[548,12],[604,10],[739,10],[892,12]]},"162":{"position":[[636,10]]},"178":{"position":[[68,10]]},"188":{"position":[[261,11],[346,8]]},"189":{"position":[[435,7],[577,12]]},"266":{"position":[[64,11],[152,7],[492,11],[971,12]]},"267":{"position":[[1373,11]]},"287":{"position":[[542,12]]},"300":{"position":[[528,10],[826,10]]},"305":{"position":[[416,10]]},"365":{"position":[[525,10],[696,11],[850,10]]},"408":{"position":[[1898,10],[3803,10],[4135,10]]},"412":{"position":[[7655,11]]},"424":{"position":[[119,12]]},"430":{"position":[[932,12],[986,10]]},"436":{"position":[[25,11]]},"437":{"position":[[252,11]]},"440":{"position":[[163,9]]},"451":{"position":[[356,7],[786,8]]},"454":{"position":[[801,10]]},"463":{"position":[[1261,12]]},"464":{"position":[[186,7],[669,7]]},"470":{"position":[[206,10]]},"504":{"position":[[302,11]]},"554":{"position":[[413,10],[695,10]]},"576":{"position":[[310,12]]},"581":{"position":[[119,10],[711,12]]},"617":{"position":[[486,10]]},"618":{"position":[[762,10]]},"621":{"position":[[91,10]]},"622":{"position":[[51,10]]},"659":{"position":[[66,10]]},"660":{"position":[[288,11]]},"662":{"position":[[706,10]]},"723":{"position":[[1319,10],[1381,9]]},"772":{"position":[[67,9]]},"773":{"position":[[252,9]]},"774":{"position":[[74,11],[283,10],[419,11],[904,11],[1098,11]]},"872":{"position":[[1495,10]]},"898":{"position":[[2059,10]]},"958":{"position":[[386,9]]},"985":{"position":[[108,9]]},"1090":{"position":[[148,10],[237,11],[366,10],[1115,11],[1222,10]]},"1092":{"position":[[189,9]]},"1114":{"position":[[87,9]]},"1120":{"position":[[112,8],[249,7]]},"1157":{"position":[[533,7]]},"1161":{"position":[[285,10]]},"1162":{"position":[[200,9]]},"1163":{"position":[[214,11],[337,10]]},"1164":{"position":[[908,9],[1060,11]]},"1168":{"position":[[4,11]]},"1172":{"position":[[136,7],[443,11]]},"1173":{"position":[[59,10]]},"1174":{"position":[[164,8]]},"1175":{"position":[[93,8],[147,11],[206,9],[274,7],[390,11],[542,11],[577,9]]},"1180":{"position":[[285,10]]},"1181":{"position":[[266,9]]},"1182":{"position":[[214,11],[337,10]]},"1184":{"position":[[297,10]]},"1185":{"position":[[136,7],[226,10]]},"1192":{"position":[[44,11],[250,10],[660,10],[698,10]]},"1208":{"position":[[1766,7]]},"1239":{"position":[[181,11]]},"1246":{"position":[[1458,12]]},"1276":{"position":[[120,11]]},"1292":{"position":[[485,11],[594,8]]},"1299":{"position":[[316,9]]},"1300":{"position":[[72,10],[151,9],[315,10],[455,10],[511,10],[588,8],[707,7],[882,7]]},"1324":{"position":[[445,10]]}},"keywords":{}}],["persistence.l",{"_index":1340,"title":{},"content":{"208":{"position":[[239,16]]}},"keywords":{}}],["persistence.memori",{"_index":3235,"title":{},"content":{"504":{"position":[[334,18]]}},"keywords":{}}],["persistence.sqlit",{"_index":1674,"title":{},"content":{"287":{"position":[[1062,18]]}},"keywords":{}}],["persistenceth",{"_index":3988,"title":{},"content":{"710":{"position":[[592,14]]}},"keywords":{}}],["persistenceus",{"_index":4793,"title":{},"content":{"838":{"position":[[1296,14]]}},"keywords":{}}],["persistet",{"_index":2108,"title":{},"content":{"365":{"position":[[320,9]]}},"keywords":{}}],["person",{"_index":1402,"title":{},"content":{"218":{"position":[[147,8]]},"291":{"position":[[386,8]]},"356":{"position":[[710,12]]},"450":{"position":[[142,16]]},"482":{"position":[[47,9]]},"550":{"position":[[217,8]]},"564":{"position":[[1111,8]]},"638":{"position":[[79,9]]},"1022":{"position":[[952,6]]}},"keywords":{}}],["phase",{"_index":2915,"title":{},"content":{"435":{"position":[[145,6]]}},"keywords":{}}],["philosophi",{"_index":2076,"title":{},"content":{"359":{"position":[[187,11]]},"502":{"position":[[268,10]]},"514":{"position":[[279,10]]}},"keywords":{}}],["phone",{"_index":2331,"title":{},"content":{"395":{"position":[[355,5]]},"408":{"position":[[4956,6]]},"412":{"position":[[6899,5],[9385,6],[10692,5]]},"415":{"position":[[177,7]]},"417":{"position":[[163,5]]}},"keywords":{}}],["phonegap",{"_index":141,"title":{},"content":{"10":{"position":[[419,8]]}},"keywords":{}}],["phonet",{"_index":4044,"title":{},"content":{"723":{"position":[[2386,8]]}},"keywords":{}}],["phrase",{"_index":2797,"title":{},"content":{"419":{"position":[[73,6]]},"723":{"position":[[2344,8]]}},"keywords":{}}],["physic",{"_index":2146,"title":{},"content":{"377":{"position":[[93,8]]},"408":{"position":[[2398,8],[2624,8]]},"419":{"position":[[1800,8]]},"550":{"position":[[64,8]]},"780":{"position":[[366,8]]},"986":{"position":[[1056,10]]},"1091":{"position":[[41,8]]},"1093":{"position":[[69,8],[297,10]]},"1295":{"position":[[346,8]]}},"keywords":{}}],["pick",{"_index":1571,"title":{},"content":{"254":{"position":[[408,4]]},"369":{"position":[[1531,4]]},"396":{"position":[[953,4]]},"402":{"position":[[850,6],[967,6]]},"412":{"position":[[3352,4]]},"481":{"position":[[405,4]]},"640":{"position":[[47,4]]},"698":{"position":[[752,4]]},"776":{"position":[[202,4]]},"796":{"position":[[61,4]]},"797":{"position":[[68,7]]},"1066":{"position":[[208,4]]},"1172":{"position":[[503,4]]}},"keywords":{}}],["piec",{"_index":1649,"title":{},"content":{"279":{"position":[[257,6]]},"391":{"position":[[332,5]]},"450":{"position":[[72,6]]},"784":{"position":[[672,5]]},"971":{"position":[[54,5]]},"1319":{"position":[[230,5]]}},"keywords":{}}],["pii",{"_index":3712,"title":{},"content":{"638":{"position":[[75,3]]}},"keywords":{}}],["pillar",{"_index":3288,"title":{},"content":{"530":{"position":[[462,7]]}},"keywords":{}}],["pin",{"_index":3378,"title":{},"content":{"556":{"position":[[1817,8],[1839,7],[1901,7],[1944,6]]}},"keywords":{}}],["pin"",{"_index":2818,"title":{},"content":{"419":{"position":[[1734,9]]}},"keywords":{}}],["ping",{"_index":3577,"title":{},"content":{"611":{"position":[[1181,4]]}},"keywords":{}}],["pinia",{"_index":3487,"title":{},"content":{"576":{"position":[[170,5]]},"590":{"position":[[306,5]]}},"keywords":{}}],["piotr",{"_index":6517,"title":{},"content":{"1311":{"position":[[1544,8]]}},"keywords":{}}],["pipe",{"_index":811,"title":{"54":{"position":[[32,6]]},"130":{"position":[[22,4]]},"143":{"position":[[10,4]]}},"content":{"130":{"position":[[28,5],[187,4]]},"143":{"position":[[17,4],[99,5],[391,5],[674,8]]},"391":{"position":[[612,4]]},"493":{"position":[[19,4]]},"1067":{"position":[[2168,10]]}},"keywords":{}}],["pipe(text",{"_index":2223,"title":{},"content":{"391":{"position":[[659,10]]}},"keywords":{}}],["pipelin",{"_index":2216,"title":{"1030":{"position":[[0,8]]},"1031":{"position":[[0,8]]},"1033":{"position":[[0,9]]}},"content":{"391":{"position":[[433,8]]},"392":{"position":[[2378,8],[2500,8],[2618,8],[2692,10],[4524,8],[4598,10]]},"397":{"position":[[1743,8]]},"1020":{"position":[[1,9],[152,8],[179,9],[339,8],[405,10]]},"1022":{"position":[[435,8]]},"1023":{"position":[[21,8],[94,8]]},"1024":{"position":[[94,8],[188,8]]},"1026":{"position":[[33,8],[128,8]]},"1027":{"position":[[38,8],[156,8]]},"1028":{"position":[[41,8],[103,8]]},"1030":{"position":[[97,8]]},"1031":{"position":[[1,8],[222,8]]},"1033":{"position":[[9,8],[186,9],[277,10],[386,8],[433,8],[682,8],[961,8]]}},"keywords":{}}],["pipeline('featur",{"_index":2219,"title":{},"content":{"391":{"position":[[503,17]]}},"keywords":{}}],["pipeline.awaitidl",{"_index":2417,"title":{},"content":{"398":{"position":[[1998,21]]}},"keywords":{}}],["pipeline.html",{"_index":4058,"title":{},"content":{"724":{"position":[[1133,13]]}},"keywords":{}}],["pipelinea",{"_index":5659,"title":{},"content":{"1033":{"position":[[481,9]]}},"keywords":{}}],["pipelinea.awaitidl",{"_index":5665,"title":{},"content":{"1033":{"position":[[838,22]]}},"keywords":{}}],["pipelines.pref",{"_index":5668,"title":{},"content":{"1033":{"position":[[1014,16]]}},"keywords":{}}],["pipepromis",{"_index":2218,"title":{},"content":{"391":{"position":[[489,11],[625,12]]}},"keywords":{}}],["pitfal",{"_index":1404,"title":{},"content":{"223":{"position":[[371,8]]}},"keywords":{}}],["pivot",{"_index":1163,"title":{},"content":{"152":{"position":[[163,7]]},"510":{"position":[[142,7]]},"530":{"position":[[77,7]]},"912":{"position":[[91,7]]}},"keywords":{}}],["pl1",{"_index":4149,"title":{},"content":{"749":{"position":[[1311,3]]}},"keywords":{}}],["pl3",{"_index":4150,"title":{},"content":{"749":{"position":[[1399,3]]}},"keywords":{}}],["place",{"_index":1970,"title":{},"content":{"346":{"position":[[64,6]]},"397":{"position":[[74,5]]},"411":{"position":[[2145,5]]},"433":{"position":[[187,5]]},"698":{"position":[[2266,6]]},"701":{"position":[[650,6]]},"761":{"position":[[29,5]]},"785":{"position":[[501,5]]},"875":{"position":[[6019,6]]},"1105":{"position":[[900,6]]}},"keywords":{}}],["placeholder="ent",{"_index":3399,"title":{},"content":{"559":{"position":[[674,23]]}},"keywords":{}}],["plain",{"_index":510,"title":{"47":{"position":[[10,5]]},"358":{"position":[[26,5]]},"535":{"position":[[15,5]]},"595":{"position":[[15,5]]}},"content":{"33":{"position":[[85,5]]},"51":{"position":[[153,5]]},"408":{"position":[[4018,5]]},"439":{"position":[[618,5]]},"453":{"position":[[701,5]]},"459":{"position":[[61,5]]},"535":{"position":[[915,5]]},"538":{"position":[[89,5]]},"595":{"position":[[990,5]]},"598":{"position":[[89,5]]},"619":{"position":[[359,5]]},"670":{"position":[[305,5]]},"688":{"position":[[467,5],[764,5]]},"710":{"position":[[1237,5]]},"749":{"position":[[4175,5],[11974,5]]},"766":{"position":[[20,5]]},"772":{"position":[[1973,5]]},"888":{"position":[[230,5]]},"908":{"position":[[239,5]]},"918":{"position":[[39,5]]},"968":{"position":[[356,5]]},"1020":{"position":[[237,5]]},"1051":{"position":[[32,5]]},"1085":{"position":[[54,5]]},"1102":{"position":[[104,5],[427,5]]},"1124":{"position":[[30,5],[701,5]]},"1132":{"position":[[81,5],[815,5]]},"1140":{"position":[[403,5]]},"1162":{"position":[[453,5]]},"1174":{"position":[[14,5]]},"1175":{"position":[[12,5]]},"1181":{"position":[[540,5]]},"1208":{"position":[[298,5]]},"1209":{"position":[[220,5]]},"1241":{"position":[[38,5]]},"1243":{"position":[[37,5]]},"1246":{"position":[[1859,5]]},"1252":{"position":[[69,5]]}},"keywords":{}}],["plaindata.ag",{"_index":4531,"title":{},"content":{"767":{"position":[[401,13]]}},"keywords":{}}],["plaindata.anyfield",{"_index":4544,"title":{},"content":{"768":{"position":[[370,18]]}},"keywords":{}}],["plainrespons",{"_index":5155,"title":{},"content":{"888":{"position":[[585,14],[687,13],[1034,14]]},"889":{"position":[[614,15]]}},"keywords":{}}],["plainresponse.conflict",{"_index":5165,"title":{},"content":{"889":{"position":[[726,24]]}},"keywords":{}}],["plan",{"_index":433,"title":{},"content":{"26":{"position":[[372,4]]},"298":{"position":[[897,4]]},"303":{"position":[[13,4]]},"314":{"position":[[589,4]]},"412":{"position":[[14330,4]]},"420":{"position":[[1397,8]]},"700":{"position":[[388,4]]},"839":{"position":[[1248,4],[1405,6]]},"1071":{"position":[[381,4]]}},"keywords":{}}],["planer",{"_index":4655,"title":{},"content":{"798":{"position":[[850,6]]},"1066":{"position":[[656,6]]},"1071":{"position":[[371,6]]}},"keywords":{}}],["planner",{"_index":4636,"title":{"796":{"position":[[15,7]]}},"content":{"797":{"position":[[20,7]]},"1066":{"position":[[68,7],[154,7]]}},"keywords":{}}],["platform",{"_index":195,"title":{"72":{"position":[[35,10]]},"112":{"position":[[35,10]]},"254":{"position":[[9,9]]},"384":{"position":[[6,8]]}},"content":{"14":{"position":[[17,8]]},"36":{"position":[[395,9]]},"37":{"position":[[20,8]]},"43":{"position":[[706,9]]},"47":{"position":[[1348,10]]},"72":{"position":[[83,10]]},"112":{"position":[[76,10],[280,10]]},"174":{"position":[[2585,8],[2682,10],[2787,8]]},"177":{"position":[[162,9]]},"207":{"position":[[325,8]]},"239":{"position":[[81,10]]},"269":{"position":[[145,8],[271,9]]},"288":{"position":[[187,10]]},"299":{"position":[[64,10]]},"364":{"position":[[286,10]]},"375":{"position":[[463,10]]},"384":{"position":[[33,8],[427,9]]},"388":{"position":[[473,9]]},"418":{"position":[[413,9]]},"441":{"position":[[475,8]]},"445":{"position":[[2138,8],[2195,8],[2366,10],[2527,10]]},"446":{"position":[[521,9],[1003,9],[1091,8],[1227,8]]},"447":{"position":[[446,8]]},"500":{"position":[[292,10]]},"535":{"position":[[1174,8]]},"581":{"position":[[728,8]]},"595":{"position":[[1251,8]]},"611":{"position":[[339,10]]},"613":{"position":[[497,10],[863,9]]},"644":{"position":[[116,9]]},"830":{"position":[[159,8]]},"832":{"position":[[390,8]]}},"keywords":{}}],["platforms.onlin",{"_index":2787,"title":{},"content":{"416":{"position":[[310,16]]}},"keywords":{}}],["play",{"_index":1062,"title":{},"content":{"117":{"position":[[11,4]]},"152":{"position":[[156,4]]},"178":{"position":[[11,4]]},"447":{"position":[[18,4]]},"534":{"position":[[49,4]]},"594":{"position":[[47,4]]},"824":{"position":[[180,4]]},"890":{"position":[[957,4]]}},"keywords":{}}],["player",{"_index":3243,"title":{},"content":{"510":{"position":[[150,7]]},"1006":{"position":[[242,7]]},"1007":{"position":[[336,6],[372,6],[787,6],[869,6]]},"1008":{"position":[[168,6]]}},"keywords":{}}],["player'",{"_index":5563,"title":{},"content":{"1007":{"position":[[1007,8],[1971,8]]}},"keywords":{}}],["pleas",{"_index":3742,"title":{},"content":{"650":{"position":[[95,6]]},"749":{"position":[[12799,6],[24120,6]]},"824":{"position":[[317,6],[526,6]]},"889":{"position":[[1073,6]]},"1278":{"position":[[114,6]]}},"keywords":{}}],["plethora",{"_index":3217,"title":{},"content":{"500":{"position":[[373,8]]}},"keywords":{}}],["plu",{"_index":1884,"title":{},"content":{"312":{"position":[[234,5]]}},"keywords":{}}],["pluggabl",{"_index":312,"title":{},"content":{"18":{"position":[[325,9]]},"383":{"position":[[41,9]]}},"keywords":{}}],["plugin",{"_index":45,"title":{"165":{"position":[[17,8]]},"192":{"position":[[17,8]]},"291":{"position":[[26,7]]},"383":{"position":[[5,6]]},"553":{"position":[[29,8]]},"645":{"position":[[10,6]]},"655":{"position":[[18,6]]},"677":{"position":[[10,6]]},"692":{"position":[[9,6]]},"717":{"position":[[26,8]]},"738":{"position":[[24,7]]},"744":{"position":[[12,6]]},"745":{"position":[[17,7]]},"802":{"position":[[9,7]]},"803":{"position":[[9,7]]},"863":{"position":[[40,7]]},"868":{"position":[[9,6]]},"869":{"position":[[20,6]]},"895":{"position":[[21,6]]},"896":{"position":[[34,7]]},"904":{"position":[[39,7]]},"915":{"position":[[20,7]]},"1012":{"position":[[24,7]]},"1013":{"position":[[13,6]]},"1064":{"position":[[14,7]]},"1152":{"position":[[44,8]]},"1222":{"position":[[19,7]]},"1246":{"position":[[16,8]]},"1284":{"position":[[12,7]]}},"content":{"2":{"position":[[265,6]]},"6":{"position":[[424,6]]},"10":{"position":[[198,6]]},"11":{"position":[[255,7]]},"14":{"position":[[1237,7]]},"17":{"position":[[347,6]]},"147":{"position":[[176,7]]},"158":{"position":[[102,7],[170,7]]},"164":{"position":[[305,7]]},"165":{"position":[[38,7],[129,7],[318,8]]},"170":{"position":[[243,8]]},"184":{"position":[[219,8]]},"192":{"position":[[27,7],[131,7],[310,7]]},"211":{"position":[[566,7]]},"249":{"position":[[445,7]]},"255":{"position":[[1676,6]]},"260":{"position":[[19,6]]},"291":{"position":[[37,7]]},"310":{"position":[[100,7]]},"314":{"position":[[228,8]]},"315":{"position":[[52,6],[100,7],[153,7]]},"360":{"position":[[467,7]]},"361":{"position":[[339,6]]},"366":{"position":[[87,7]]},"367":{"position":[[433,8],[487,8]]},"368":{"position":[[91,8]]},"377":{"position":[[329,8]]},"381":{"position":[[267,8]]},"387":{"position":[[303,8]]},"390":{"position":[[1841,7]]},"392":{"position":[[2387,7]]},"402":{"position":[[2653,8],[2694,7],[2798,6]]},"403":{"position":[[217,6]]},"420":{"position":[[999,7],[1084,8]]},"460":{"position":[[378,7]]},"469":{"position":[[899,6]]},"481":{"position":[[228,7],[414,6]]},"482":{"position":[[80,7]]},"525":{"position":[[427,7],[507,7],[679,6]]},"551":{"position":[[198,7]]},"553":{"position":[[70,7]]},"554":{"position":[[28,8],[47,7],[127,7],[145,6],[296,7],[893,6]]},"556":{"position":[[1126,7],[1409,6],[1749,7]]},"557":{"position":[[320,8],[406,8]]},"563":{"position":[[171,6]]},"564":{"position":[[177,7]]},"565":{"position":[[88,7]]},"566":{"position":[[1029,7],[1337,7]]},"567":{"position":[[627,7]]},"570":{"position":[[940,8]]},"579":{"position":[[87,7],[906,6]]},"582":{"position":[[302,8]]},"590":{"position":[[165,7]]},"602":{"position":[[115,7]]},"614":{"position":[[275,8]]},"632":{"position":[[596,7],[745,7]]},"640":{"position":[[318,7]]},"641":{"position":[[371,7]]},"642":{"position":[[105,7]]},"644":{"position":[[91,7]]},"655":{"position":[[351,6]]},"662":{"position":[[435,7],[1037,7]]},"674":{"position":[[82,8]]},"676":{"position":[[57,6]]},"678":{"position":[[142,7]]},"680":{"position":[[63,6],[262,6],[335,6],[429,6]]},"683":{"position":[[33,7]]},"686":{"position":[[708,7],[802,6]]},"688":{"position":[[16,6]]},"693":{"position":[[154,6],[288,6]]},"710":{"position":[[867,7],[1391,8]]},"716":{"position":[[16,6],[496,6]]},"717":{"position":[[24,7],[79,6],[181,6],[457,6],[763,6],[1036,6]]},"718":{"position":[[53,6],[336,6]]},"719":{"position":[[242,6]]},"723":{"position":[[36,6],[380,7],[1009,6],[2099,6],[2522,6]]},"734":{"position":[[21,6],[117,7]]},"738":{"position":[[68,7]]},"746":{"position":[[17,6]]},"747":{"position":[[17,6]]},"749":{"position":[[1021,6],[1321,6],[1340,7],[1405,6],[20938,6]]},"756":{"position":[[37,8]]},"793":{"position":[[963,7],[1225,7]]},"798":{"position":[[982,6]]},"801":{"position":[[925,6]]},"802":{"position":[[27,7],[142,6],[637,8]]},"804":{"position":[[37,6],[55,7]]},"806":{"position":[[549,7],[757,7]]},"824":{"position":[[597,7]]},"829":{"position":[[258,8]]},"830":{"position":[[254,6]]},"836":{"position":[[301,7]]},"837":{"position":[[1489,8]]},"838":{"position":[[895,6],[1367,7],[1525,7]]},"845":{"position":[[78,8]]},"847":{"position":[[123,8]]},"851":{"position":[[30,6]]},"860":{"position":[[1091,6]]},"861":{"position":[[2079,6]]},"866":{"position":[[152,6]]},"868":{"position":[[9,6]]},"871":{"position":[[5,6],[564,6]]},"875":{"position":[[92,6],[134,6]]},"878":{"position":[[24,6]]},"897":{"position":[[111,7]]},"898":{"position":[[1847,6],[1963,6]]},"904":{"position":[[21,7],[1297,7],[3163,8]]},"905":{"position":[[234,8]]},"906":{"position":[[62,7]]},"910":{"position":[[217,7]]},"912":{"position":[[79,6],[178,6],[232,8],[763,7]]},"915":{"position":[[60,7]]},"932":{"position":[[428,6]]},"934":{"position":[[555,7]]},"952":{"position":[[163,7]]},"958":{"position":[[673,7]]},"971":{"position":[[275,7]]},"989":{"position":[[370,6]]},"1004":{"position":[[97,7]]},"1012":{"position":[[68,7]]},"1013":{"position":[[44,6]]},"1021":{"position":[[69,8]]},"1023":{"position":[[30,6]]},"1041":{"position":[[139,7]]},"1047":{"position":[[223,7]]},"1059":{"position":[[117,7]]},"1064":{"position":[[66,7],[100,6]]},"1101":{"position":[[157,6]]},"1102":{"position":[[749,6]]},"1112":{"position":[[20,7],[99,7]]},"1114":{"position":[[589,6]]},"1119":{"position":[[319,6]]},"1124":{"position":[[384,7],[642,7],[2199,7]]},"1125":{"position":[[92,6]]},"1129":{"position":[[35,6]]},"1130":{"position":[[370,7]]},"1141":{"position":[[35,6]]},"1146":{"position":[[22,6],[46,7],[151,7],[324,7]]},"1148":{"position":[[729,7]]},"1149":{"position":[[116,7],[150,7],[209,7],[601,7],[655,7]]},"1150":{"position":[[654,7]]},"1151":{"position":[[251,8]]},"1156":{"position":[[274,7]]},"1162":{"position":[[875,6]]},"1174":{"position":[[334,7]]},"1176":{"position":[[28,6]]},"1178":{"position":[[250,8]]},"1183":{"position":[[290,6]]},"1198":{"position":[[1659,6],[1759,7],[2249,6]]},"1210":{"position":[[251,6]]},"1212":{"position":[[33,7],[254,7]]},"1219":{"position":[[20,6]]},"1227":{"position":[[315,7]]},"1233":{"position":[[16,6]]},"1246":{"position":[[1143,6],[1942,6],[2180,6]]},"1265":{"position":[[308,7]]},"1266":{"position":[[240,9]]},"1277":{"position":[[99,6]]},"1279":{"position":[[490,7]]},"1280":{"position":[[19,6],[123,6]]},"1284":{"position":[[12,7]]},"1288":{"position":[[121,6]]},"1292":{"position":[[548,6]]},"1295":{"position":[[1561,7]]}},"keywords":{}}],["plugin(",{"_index":3342,"title":{},"content":{"553":{"position":[[33,9]]}},"keywords":{}}],["plugin(mapreduc",{"_index":4786,"title":{},"content":{"837":{"position":[[1952,18]]}},"keywords":{}}],["plugin(repl",{"_index":4785,"title":{},"content":{"837":{"position":[[1931,20]]}},"keywords":{}}],["plugin(sqliteadapt",{"_index":4787,"title":{},"content":{"837":{"position":[[1971,23]]}},"keywords":{}}],["plugincustom",{"_index":1600,"title":{},"content":{"263":{"position":[[608,12]]}},"keywords":{}}],["pluginin",{"_index":6239,"title":{},"content":{"1214":{"position":[[598,8]]}},"keywords":{}}],["plugins.ful",{"_index":2163,"title":{},"content":{"383":{"position":[[174,12]]}},"keywords":{}}],["plugins.indexeddb",{"_index":1104,"title":{},"content":{"131":{"position":[[182,17]]}},"keywords":{}}],["plugin—consid",{"_index":3150,"title":{},"content":{"483":{"position":[[1100,15]]}},"keywords":{}}],["point",{"_index":476,"title":{},"content":{"29":{"position":[[122,6]]},"260":{"position":[[307,5]]},"334":{"position":[[731,7]]},"335":{"position":[[502,7],[789,7]]},"369":{"position":[[298,6]]},"412":{"position":[[318,5]]},"461":{"position":[[439,5]]},"678":{"position":[[271,6],[298,7]]},"679":{"position":[[181,5]]},"680":{"position":[[911,7],[1059,10],[1267,7],[1324,8],[1389,7]]},"681":{"position":[[267,6],[351,6],[810,7]]},"683":{"position":[[204,7],[325,7],[919,7],[994,6],[1015,7]]},"700":{"position":[[507,5]]},"705":{"position":[[827,5]]},"872":{"position":[[643,6]]},"990":{"position":[[96,5]]},"1207":{"position":[[695,6]]},"1210":{"position":[[105,5]]},"1300":{"position":[[301,5],[491,5],[537,5]]},"1321":{"position":[[1008,5]]},"1324":{"position":[[339,5]]}},"keywords":{}}],["polici",{"_index":1704,"title":{"815":{"position":[[18,7]]},"816":{"position":[[12,7]]},"818":{"position":[[15,7]]}},"content":{"298":{"position":[[124,9],[330,8],[817,6]]},"299":{"position":[[825,9]]},"305":{"position":[[149,8]]},"412":{"position":[[7996,8]]},"522":{"position":[[753,6]]},"617":{"position":[[914,6]]},"653":{"position":[[32,6]]},"815":{"position":[[61,6],[246,6]]},"816":{"position":[[13,6]]},"818":{"position":[[21,6],[321,7],[387,6]]},"890":{"position":[[435,6]]},"897":{"position":[[518,9]]},"934":{"position":[[727,6]]},"960":{"position":[[648,6]]},"1287":{"position":[[153,9]]}},"keywords":{}}],["poll",{"_index":1176,"title":{"609":{"position":[[41,7]]},"610":{"position":[[13,9]]}},"content":{"159":{"position":[[287,7]]},"255":{"position":[[291,8]]},"323":{"position":[[494,7]]},"346":{"position":[[198,7]]},"379":{"position":[[173,7]]},"410":{"position":[[1723,7]]},"490":{"position":[[292,4]]},"491":{"position":[[588,8],[1643,8]]},"570":{"position":[[627,7],[725,8]]},"610":{"position":[[6,7],[223,8],[317,7],[873,7],[1111,7],[1300,7],[1397,7],[1424,7]]},"611":{"position":[[1406,7]]},"616":{"position":[[198,7],[296,7],[514,7]]},"619":{"position":[[341,7]]},"620":{"position":[[73,7]]},"621":{"position":[[361,8]]},"622":{"position":[[406,8]]},"623":{"position":[[452,8]]},"624":{"position":[[1343,8]]},"632":{"position":[[387,7]]},"846":{"position":[[923,7]]},"849":{"position":[[64,7]]},"875":{"position":[[7194,8]]},"988":{"position":[[5031,7]]},"1124":{"position":[[918,7]]},"1150":{"position":[[672,8]]}},"keywords":{}}],["polyfil",{"_index":112,"title":{"728":{"position":[[0,10]]},"729":{"position":[[0,8]]},"911":{"position":[[0,8]]},"1202":{"position":[[0,8]]}},"content":{"8":{"position":[[403,9]]},"261":{"position":[[648,8]]},"616":{"position":[[994,8]]},"728":{"position":[[78,9],[149,9],[208,10]]},"749":{"position":[[15342,11]]},"910":{"position":[[129,8],[197,8],[358,8]]},"911":{"position":[[207,8],[258,9]]},"917":{"position":[[479,8]]},"1139":{"position":[[123,8]]},"1145":{"position":[[119,8]]},"1301":{"position":[[1055,11]]}},"keywords":{}}],["pong",{"_index":3578,"title":{},"content":{"611":{"position":[[1190,4]]}},"keywords":{}}],["pool",{"_index":1746,"title":{},"content":{"299":{"position":[[341,4]]},"391":{"position":[[672,8]]},"617":{"position":[[298,4]]},"904":{"position":[[2267,6],[3450,5]]},"905":{"position":[[150,5]]},"1121":{"position":[[682,6]]}},"keywords":{}}],["poor",{"_index":2644,"title":{},"content":{"411":{"position":[[5603,4]]}},"keywords":{}}],["poorli",{"_index":1715,"title":{},"content":{"298":{"position":[[376,6]]}},"keywords":{}}],["popul",{"_index":2376,"title":{"807":{"position":[[0,10]]},"809":{"position":[[0,11]]}},"content":{"397":{"position":[[1325,8]]},"749":{"position":[[9965,8],[10079,8]]},"793":{"position":[[1144,10]]},"810":{"position":[[49,10]]},"811":{"position":[[22,9]]},"1084":{"position":[[136,8]]}},"keywords":{}}],["popular",{"_index":548,"title":{},"content":{"35":{"position":[[18,7]]},"94":{"position":[[62,7]]},"155":{"position":[[159,7]]},"173":{"position":[[2263,7]]},"189":{"position":[[309,7]]},"222":{"position":[[79,7]]},"232":{"position":[[36,7]]},"281":{"position":[[15,7]]},"284":{"position":[[158,7]]},"336":{"position":[[66,7]]},"407":{"position":[[366,7]]},"419":{"position":[[130,11]]},"420":{"position":[[283,7]]},"445":{"position":[[122,7],[1727,7]]},"446":{"position":[[1180,10]]},"836":{"position":[[1118,8]]},"839":{"position":[[59,7]]},"1247":{"position":[[386,7]]}},"keywords":{}}],["port",{"_index":3593,"title":{},"content":{"612":{"position":[[1808,4]]},"708":{"position":[[320,4],[469,5]]},"872":{"position":[[3324,5]]},"875":{"position":[[1254,4]]},"890":{"position":[[578,5]]},"892":{"position":[[307,5]]},"906":{"position":[[1027,5],[1047,4]]},"1090":{"position":[[1061,5]]},"1097":{"position":[[779,5]]},"1098":{"position":[[415,5]]},"1099":{"position":[[385,5]]},"1103":{"position":[[268,5]]},"1219":{"position":[[554,5],[717,5]]},"1220":{"position":[[233,5]]}},"keywords":{}}],["portabl",{"_index":913,"title":{"97":{"position":[[8,8]]}},"content":{"65":{"position":[[511,8]]},"97":{"position":[[48,8]]},"173":{"position":[[2710,8],[2785,12]]}},"keywords":{}}],["pose",{"_index":1405,"title":{},"content":{"225":{"position":[[58,4]]},"432":{"position":[[657,4]]},"618":{"position":[[170,5]]}},"keywords":{}}],["posit",{"_index":929,"title":{},"content":{"65":{"position":[[1503,8]]},"464":{"position":[[1291,8]]}},"keywords":{}}],["possibl",{"_index":329,"title":{"404":{"position":[[0,8]]},"469":{"position":[[0,8]]}},"content":{"19":{"position":[[395,8]]},"168":{"position":[[276,13]]},"284":{"position":[[67,13]]},"305":{"position":[[450,11]]},"315":{"position":[[1048,8]]},"351":{"position":[[399,9]]},"354":{"position":[[1554,8]]},"357":{"position":[[395,9]]},"375":{"position":[[821,9]]},"408":{"position":[[1404,13],[2252,8]]},"409":{"position":[[271,9]]},"410":{"position":[[762,8]]},"412":{"position":[[3989,8],[9230,8],[9846,8],[13847,9]]},"420":{"position":[[821,8]]},"421":{"position":[[458,8]]},"432":{"position":[[489,9]]},"451":{"position":[[449,8]]},"455":{"position":[[661,8],[700,8],[853,8]]},"468":{"position":[[196,9]]},"469":{"position":[[26,8]]},"478":{"position":[[50,8]]},"490":{"position":[[619,8]]},"496":{"position":[[39,8]]},"569":{"position":[[1231,8]]},"581":{"position":[[501,9]]},"616":{"position":[[179,8]]},"650":{"position":[[21,8]]},"661":{"position":[[1515,8]]},"679":{"position":[[24,8]]},"705":{"position":[[1396,8]]},"708":{"position":[[80,8]]},"711":{"position":[[277,8],[1974,8]]},"719":{"position":[[53,8]]},"749":{"position":[[23043,8]]},"797":{"position":[[98,8]]},"817":{"position":[[28,8]]},"831":{"position":[[263,8]]},"837":{"position":[[464,8]]},"840":{"position":[[530,8]]},"854":{"position":[[1169,8]]},"863":{"position":[[809,8]]},"886":{"position":[[4948,8]]},"889":{"position":[[11,8]]},"905":{"position":[[98,8]]},"1005":{"position":[[37,8]]},"1067":{"position":[[767,8]]},"1092":{"position":[[618,8]]},"1132":{"position":[[797,8]]},"1135":{"position":[[63,8]]},"1143":{"position":[[491,8]]},"1154":{"position":[[578,8]]},"1173":{"position":[[188,8]]},"1183":{"position":[[51,8]]},"1191":{"position":[[216,13],[293,8]]},"1193":{"position":[[120,8]]},"1198":{"position":[[975,8],[1598,8]]},"1208":{"position":[[266,8]]},"1222":{"position":[[336,8],[847,8]]},"1237":{"position":[[88,9]]},"1300":{"position":[[337,9]]},"1304":{"position":[[1431,9]]},"1314":{"position":[[343,8]]}},"keywords":{}}],["possibleso",{"_index":6171,"title":{},"content":{"1198":{"position":[[597,10]]}},"keywords":{}}],["post",{"_index":335,"title":{},"content":{"19":{"position":[[645,5],[817,5]]},"209":{"position":[[752,4],[855,7]]},"255":{"position":[[1201,7]]},"616":{"position":[[680,4],[1200,4]]},"632":{"position":[[2544,4]]},"759":{"position":[[1179,8],[1245,9],[1275,5]]},"875":{"position":[[6281,7]]},"988":{"position":[[2576,7]]},"1007":{"position":[[619,4]]},"1102":{"position":[[549,7],[1120,7],[1237,7],[1295,7],[1343,7]]}},"keywords":{}}],["postcreat",{"_index":4239,"title":{"770":{"position":[[0,11]]}},"content":{"749":{"position":[[7760,11]]},"770":{"position":[[71,10],[267,10],[618,10]]}},"keywords":{}}],["postgr",{"_index":653,"title":{},"content":{"41":{"position":[[205,8]]},"897":{"position":[[384,8]]}},"keywords":{}}],["postgresql",{"_index":372,"title":{"356":{"position":[[16,10]]}},"content":{"22":{"position":[[207,10]]},"43":{"position":[[167,11]]},"202":{"position":[[222,10]]},"249":{"position":[[171,11]]},"356":{"position":[[75,10],[134,10]]},"412":{"position":[[1648,11]]},"661":{"position":[[191,10]]},"704":{"position":[[12,10]]},"705":{"position":[[1363,11]]},"708":{"position":[[145,10]]},"711":{"position":[[225,10]]},"836":{"position":[[193,10]]},"981":{"position":[[733,11]]},"1320":{"position":[[336,10]]},"1324":{"position":[[670,10]]}},"keywords":{}}],["postgresql’",{"_index":2091,"title":{},"content":{"362":{"position":[[344,12]]}},"keywords":{}}],["postgrest",{"_index":5187,"title":{},"content":{"897":{"position":[[141,9]]},"898":{"position":[[3728,9]]}},"keywords":{}}],["postinsert",{"_index":4534,"title":{},"content":{"767":{"position":[[724,11]]},"1311":{"position":[[1097,10]]}},"keywords":{}}],["postmessag",{"_index":1852,"title":{},"content":{"303":{"position":[[1250,13]]},"392":{"position":[[3632,13]]},"460":{"position":[[677,14]]},"470":{"position":[[500,13]]}},"keywords":{}}],["postremov",{"_index":4555,"title":{},"content":{"769":{"position":[[695,11]]}},"keywords":{}}],["postsav",{"_index":4546,"title":{},"content":{"768":{"position":[[734,9]]}},"keywords":{}}],["poststatus.publish",{"_index":340,"title":{},"content":{"19":{"position":[[754,21]]}},"keywords":{}}],["potenti",{"_index":866,"title":{"402":{"position":[[0,9]]}},"content":{"58":{"position":[[81,11]]},"66":{"position":[[585,11]]},"83":{"position":[[447,9]]},"204":{"position":[[103,11]]},"222":{"position":[[312,9]]},"223":{"position":[[361,9]]},"241":{"position":[[421,9]]},"336":{"position":[[436,12]]},"345":{"position":[[116,11]]},"404":{"position":[[215,9],[829,9]]},"411":{"position":[[4844,9]]},"415":{"position":[[339,11]]},"427":{"position":[[284,11],[812,11]]},"447":{"position":[[683,9]]},"501":{"position":[[293,9]]},"588":{"position":[[101,11]]},"622":{"position":[[321,11]]},"623":{"position":[[105,11],[723,11]]},"624":{"position":[[877,10]]},"640":{"position":[[229,11]]},"696":{"position":[[1204,11]]},"802":{"position":[[191,9]]},"904":{"position":[[3395,9]]}},"keywords":{}}],["potter",{"_index":6518,"title":{},"content":{"1311":{"position":[[1563,9]]}},"keywords":{}}],["pouch",{"_index":170,"title":{},"content":{"11":{"position":[[905,5]]},"1065":{"position":[[82,5]]},"1204":{"position":[[299,5]]}},"keywords":{}}],["pouchdb",{"_index":0,"title":{"0":{"position":[[0,7]]},"24":{"position":[[0,8]]},"837":{"position":[[0,8]]},"1197":{"position":[[10,7]]},"1198":{"position":[[11,7]]},"1204":{"position":[[19,7]]}},"content":{"1":{"position":[[432,7]]},"2":{"position":[[143,7]]},"3":{"position":[[121,7]]},"4":{"position":[[287,7]]},"5":{"position":[[203,7]]},"6":{"position":[[302,7]]},"7":{"position":[[225,7]]},"8":{"position":[[165,7],[241,7],[916,8]]},"9":{"position":[[137,7]]},"10":{"position":[[66,7]]},"11":{"position":[[104,7]]},"24":{"position":[[3,7],[373,7],[547,7],[677,7]]},"25":{"position":[[264,7]]},"26":{"position":[[253,7]]},"27":{"position":[[247,7]]},"408":{"position":[[4577,8]]},"411":{"position":[[3210,8]]},"419":{"position":[[122,7]]},"420":{"position":[[52,7]]},"837":{"position":[[3,7],[122,7],[216,7],[570,7],[685,7],[838,7],[938,7],[1056,7],[1106,7],[1333,7],[1455,7],[1547,7],[1560,8],[1598,8],[1646,8],[1691,8],[1745,8],[2030,7]]},"841":{"position":[[36,7]]},"851":{"position":[[16,8]]},"1198":{"position":[[177,8],[216,7],[363,7],[473,7],[704,7],[793,7],[1344,8],[1530,7],[1612,8],[1830,7],[1856,7],[2053,7],[2214,7],[2280,7],[2316,7]]},"1201":{"position":[[268,7]]},"1202":{"position":[[212,7]]},"1203":{"position":[[1,7]]},"1204":{"position":[[52,7]]}},"keywords":{}}],["pouchdb('mydb.db",{"_index":4788,"title":{},"content":{"837":{"position":[[2109,18]]}},"keywords":{}}],["pouchdb.easi",{"_index":4818,"title":{},"content":{"844":{"position":[[63,14]]}},"keywords":{}}],["pouchdb.plugin(httppouch",{"_index":4784,"title":{},"content":{"837":{"position":[[1905,25]]}},"keywords":{}}],["pouchdb.pouchdb",{"_index":3967,"title":{},"content":{"703":{"position":[[350,15]]}},"keywords":{}}],["pouchdbgoogl",{"_index":3130,"title":{},"content":{"481":{"position":[[305,13]]}},"keywords":{}}],["power",{"_index":462,"title":{"205":{"position":[[3,8]]},"310":{"position":[[3,8]]},"479":{"position":[[21,8]]},"532":{"position":[[39,5]]},"592":{"position":[[37,5]]}},"content":{"28":{"position":[[485,5]]},"34":{"position":[[39,7]]},"40":{"position":[[210,8]]},"51":{"position":[[469,6]]},"52":{"position":[[127,6],[223,6],[266,6],[564,6]]},"61":{"position":[[324,8]]},"67":{"position":[[34,8]]},"83":{"position":[[26,8]]},"87":{"position":[[55,5]]},"94":{"position":[[190,5]]},"103":{"position":[[35,7]]},"114":{"position":[[481,5]]},"116":{"position":[[14,8]]},"118":{"position":[[149,5]]},"124":{"position":[[15,8]]},"143":{"position":[[27,8]]},"148":{"position":[[11,8]]},"152":{"position":[[214,6]]},"153":{"position":[[193,5]]},"159":{"position":[[62,8]]},"161":{"position":[[341,8]]},"166":{"position":[[319,7]]},"170":{"position":[[630,8]]},"174":{"position":[[209,5]]},"175":{"position":[[522,5]]},"179":{"position":[[11,8]]},"182":{"position":[[82,5]]},"198":{"position":[[15,8]]},"229":{"position":[[11,8]]},"233":{"position":[[52,7]]},"239":{"position":[[282,5]]},"241":{"position":[[619,8]]},"255":{"position":[[21,7]]},"267":{"position":[[1141,8]]},"271":{"position":[[20,8]]},"276":{"position":[[51,8]]},"286":{"position":[[412,8]]},"289":{"position":[[524,8],[793,7],[1182,7]]},"290":{"position":[[88,8]]},"318":{"position":[[158,8]]},"354":{"position":[[1540,9]]},"370":{"position":[[135,5]]},"376":{"position":[[671,7]]},"383":{"position":[[210,8]]},"399":{"position":[[327,5]]},"412":{"position":[[14729,5]]},"425":{"position":[[86,5]]},"432":{"position":[[974,5]]},"433":{"position":[[580,5]]},"445":{"position":[[841,5],[2034,5]]},"447":{"position":[[342,5],[649,5]]},"491":{"position":[[129,8]]},"498":{"position":[[476,8]]},"500":{"position":[[572,5]]},"513":{"position":[[9,8]]},"530":{"position":[[327,8]]},"535":{"position":[[27,9]]},"536":{"position":[[104,8]]},"538":{"position":[[770,6]]},"539":{"position":[[127,6],[223,6],[266,6],[564,6]]},"545":{"position":[[20,9]]},"548":{"position":[[395,8]]},"557":{"position":[[386,8]]},"562":{"position":[[417,6],[604,6],[1522,6]]},"576":{"position":[[88,9]]},"595":{"position":[[27,9]]},"596":{"position":[[102,8]]},"598":{"position":[[777,6]]},"599":{"position":[[136,6],[241,6],[293,6],[591,6]]},"605":{"position":[[20,9]]},"608":{"position":[[393,8]]},"613":{"position":[[367,8]]},"620":{"position":[[699,5]]},"689":{"position":[[11,8]]},"721":{"position":[[196,5]]},"736":{"position":[[449,5]]},"871":{"position":[[324,7]]},"1087":{"position":[[70,5]]},"1088":{"position":[[25,5]]},"1149":{"position":[[324,8]]},"1162":{"position":[[121,5]]},"1171":{"position":[[138,5]]},"1181":{"position":[[187,5]]},"1300":{"position":[[1150,5]]}},"keywords":{}}],["powersync",{"_index":665,"title":{"43":{"position":[[0,10]]}},"content":{"43":{"position":[[1,9],[250,9],[312,9],[482,9],[556,9],[598,9],[676,9]]}},"keywords":{}}],["pr",{"_index":3831,"title":{"668":{"position":[[9,3]]}},"content":{"670":{"position":[[42,2]]},"1133":{"position":[[627,2]]},"1324":{"position":[[1026,2]]}},"keywords":{}}],["practic",{"_index":855,"title":{"142":{"position":[[5,9]]},"346":{"position":[[5,9]]},"425":{"position":[[35,9]]},"556":{"position":[[5,9]]},"590":{"position":[[5,9]]}},"content":{"56":{"position":[[182,10]]},"142":{"position":[[83,10]]},"304":{"position":[[261,9]]},"347":{"position":[[515,9]]},"362":{"position":[[1586,9]]},"408":{"position":[[5449,10]]},"412":{"position":[[3901,9],[7014,9]]},"495":{"position":[[778,9]]},"543":{"position":[[172,9]]},"550":{"position":[[306,9]]},"557":{"position":[[354,9]]},"567":{"position":[[971,9]]},"591":{"position":[[744,9]]},"603":{"position":[[170,9]]},"616":{"position":[[844,8]]},"696":{"position":[[308,8]]},"708":{"position":[[378,9]]},"714":{"position":[[959,9]]}},"keywords":{}}],["pragmat",{"_index":2053,"title":{},"content":{"357":{"position":[[498,9]]}},"keywords":{}}],["pre",{"_index":2226,"title":{"1227":{"position":[[0,3]]},"1265":{"position":[[0,3]]}},"content":{"391":{"position":[[820,3]]},"402":{"position":[[623,3]]},"1227":{"position":[[151,3]]},"1265":{"position":[[144,3]]}},"keywords":{}}],["preact",{"_index":3303,"title":{"542":{"position":[[5,6]]},"563":{"position":[[14,6]]}},"content":{"540":{"position":[[208,6]]},"542":{"position":[[20,6],[100,6],[260,6],[362,6]]},"563":{"position":[[122,6],[404,6],[804,6],[846,6]]},"566":{"position":[[584,6]]},"567":{"position":[[556,6],[742,6]]}},"keywords":{}}],["preact/sign",{"_index":3321,"title":{},"content":{"542":{"position":[[214,15]]}},"keywords":{}}],["preactsignalsrxreactivityfactori",{"_index":3322,"title":{},"content":{"542":{"position":[[297,32],[616,32]]},"563":{"position":[[339,32],[571,32]]}},"keywords":{}}],["prebuild",{"_index":6226,"title":{},"content":{"1210":{"position":[[118,8]]},"1266":{"position":[[125,8]]}},"keywords":{}}],["precis",{"_index":2352,"title":{},"content":{"397":{"position":[[169,8]]},"398":{"position":[[222,10],[3019,7],[3103,7]]},"402":{"position":[[531,9],[1295,9],[1605,9],[1693,10]]}},"keywords":{}}],["precondit",{"_index":4921,"title":{"865":{"position":[[0,13]]}},"content":{},"keywords":{}}],["predefin",{"_index":2185,"title":{},"content":{"390":{"position":[[356,10]]}},"keywords":{}}],["predicates.al",{"_index":342,"title":{},"content":{"19":{"position":[[853,15]]}},"keywords":{}}],["predict",{"_index":967,"title":{"704":{"position":[[11,12]]}},"content":{"74":{"position":[[107,14]]},"569":{"position":[[371,14]]},"696":{"position":[[1557,7]]},"704":{"position":[[384,7],[444,7]]},"828":{"position":[[427,12]]},"986":{"position":[[208,11]]},"1305":{"position":[[372,12]]},"1313":{"position":[[265,7],[542,7]]}},"keywords":{}}],["predominantli",{"_index":2013,"title":{},"content":{"353":{"position":[[617,13]]}},"keywords":{}}],["prefer",{"_index":965,"title":{"354":{"position":[[8,6]]},"659":{"position":[[0,11]]}},"content":{"74":{"position":[[79,6]]},"94":{"position":[[265,9]]},"143":{"position":[[374,6]]},"174":{"position":[[3165,9]]},"211":{"position":[[595,9]]},"222":{"position":[[360,9]]},"286":{"position":[[97,9]]},"354":{"position":[[1356,6]]},"365":{"position":[[1264,9]]},"424":{"position":[[435,11]]},"559":{"position":[[151,11],[1538,11]]},"563":{"position":[[82,6],[1026,6]]},"567":{"position":[[1165,11]]},"590":{"position":[[422,6]]},"659":{"position":[[31,11],[348,11],[439,11],[684,11],[924,11]]},"690":{"position":[[154,6]]},"816":{"position":[[288,7],[372,7]]}},"keywords":{}}],["preferences.get",{"_index":3780,"title":{},"content":{"659":{"position":[[580,17]]}},"keywords":{}}],["preferences.remov",{"_index":3782,"title":{},"content":{"659":{"position":[[643,20]]}},"keywords":{}}],["preferences.set",{"_index":3777,"title":{},"content":{"659":{"position":[[499,17]]}},"keywords":{}}],["prefix",{"_index":3601,"title":{},"content":{"612":{"position":[[2060,8]]},"746":{"position":[[375,6],[410,7],[422,8]]},"866":{"position":[[629,6]]},"904":{"position":[[2088,6]]}},"keywords":{}}],["preinsert",{"_index":4521,"title":{},"content":{"766":{"position":[[63,9]]},"767":{"position":[[304,10]]}},"keywords":{}}],["preinsertpostinsertpresavepostsavepreremovepostremovepostcr",{"_index":4513,"title":{},"content":{"763":{"position":[[37,63]]}},"keywords":{}}],["preload",{"_index":927,"title":{},"content":{"65":{"position":[[1308,10]]}},"keywords":{}}],["premis",{"_index":4798,"title":{},"content":{"839":{"position":[[611,7]]}},"keywords":{}}],["premium",{"_index":763,"title":{"761":{"position":[[30,7]]},"1151":{"position":[[18,7]]},"1178":{"position":[[18,7]]}},"content":{"51":{"position":[[145,7]]},"314":{"position":[[220,7]]},"315":{"position":[[81,7]]},"318":{"position":[[266,7],[480,7]]},"420":{"position":[[991,7]]},"483":{"position":[[1120,7]]},"538":{"position":[[81,7]]},"554":{"position":[[137,7]]},"556":{"position":[[1107,7]]},"598":{"position":[[81,7]]},"602":{"position":[[106,8]]},"640":{"position":[[310,7]]},"641":{"position":[[363,7]]},"662":{"position":[[1029,7],[1282,7],[1908,7],[2069,7]]},"676":{"position":[[184,7]]},"710":{"position":[[859,7]]},"718":{"position":[[45,7]]},"724":{"position":[[33,7],[103,7]]},"749":{"position":[[9358,7]]},"761":{"position":[[6,7],[108,7],[412,8],[430,7],[494,7],[554,7],[620,7],[742,7]]},"824":{"position":[[555,7]]},"838":{"position":[[1517,7],[1813,7],[2048,7]]},"958":{"position":[[665,7]]},"1098":{"position":[[22,7]]},"1099":{"position":[[22,7]]},"1129":{"position":[[24,7]]},"1138":{"position":[[58,7]]},"1141":{"position":[[24,7]]},"1143":{"position":[[96,7]]},"1151":{"position":[[243,7],[433,7],[573,7],[735,7]]},"1162":{"position":[[898,7]]},"1178":{"position":[[242,7],[432,7],[572,7],[734,7]]},"1181":{"position":[[850,7]]},"1210":{"position":[[176,7],[240,7]]},"1227":{"position":[[304,7]]},"1235":{"position":[[187,7],[322,7],[433,7]]},"1265":{"position":[[297,7]]},"1271":{"position":[[554,7],[785,7],[1071,7],[1680,7]]}},"keywords":{}}],["premium/dist/work",{"_index":6272,"title":{},"content":{"1227":{"position":[[249,20],[830,20]]},"1265":{"position":[[242,20]]}},"keywords":{}}],["premium/dist/workers/opfs.worker.j",{"_index":6233,"title":{},"content":{"1210":{"position":[[669,36]]}},"keywords":{}}],["premium/plugins/encrypt",{"_index":4027,"title":{},"content":{"718":{"position":[[169,26]]},"1184":{"position":[[594,26]]}},"keywords":{}}],["premium/plugins/flexsearch",{"_index":4046,"title":{},"content":{"724":{"position":[[215,28],[475,28]]}},"keywords":{}}],["premium/plugins/indexeddb",{"_index":4708,"title":{},"content":{"820":{"position":[[115,27]]},"1225":{"position":[[249,27]]}},"keywords":{}}],["premium/plugins/logg",{"_index":4114,"title":{},"content":{"745":{"position":[[239,24]]}},"keywords":{}}],["premium/plugins/queri",{"_index":4707,"title":{},"content":{"820":{"position":[[37,21]]}},"keywords":{}}],["premium/plugins/serv",{"_index":5925,"title":{},"content":{"1098":{"position":[[277,22]]},"1099":{"position":[[255,22]]}},"keywords":{}}],["premium/plugins/shar",{"_index":3864,"title":{},"content":{"676":{"position":[[330,24]]},"958":{"position":[[785,24]]},"1151":{"position":[[907,24]]},"1178":{"position":[[904,24]]}},"keywords":{}}],["premium/plugins/storag",{"_index":4029,"title":{},"content":{"718":{"position":[[253,23]]},"745":{"position":[[308,23]]},"759":{"position":[[196,23]]},"772":{"position":[[1524,23]]},"774":{"position":[[605,23]]},"932":{"position":[[815,23]]},"1090":{"position":[[626,23],[715,23]]},"1130":{"position":[[91,23]]},"1138":{"position":[[228,23]]},"1139":{"position":[[326,23]]},"1140":{"position":[[542,23]]},"1154":{"position":[[258,23],[356,23]]},"1163":{"position":[[46,23],[129,23]]},"1182":{"position":[[46,23],[129,23]]},"1184":{"position":[[412,23],[495,23]]},"1210":{"position":[[365,23]]},"1211":{"position":[[622,23]]},"1212":{"position":[[334,23],[409,23]]},"1213":{"position":[[631,23]]},"1222":{"position":[[44,23]]},"1225":{"position":[[172,23]]},"1226":{"position":[[89,23]]},"1227":{"position":[[639,23]]},"1231":{"position":[[485,23],[562,23]]},"1237":{"position":[[778,23]]},"1238":{"position":[[486,23],[562,23],[639,23],[735,23]]},"1239":{"position":[[536,23],[637,23],[726,23]]},"1263":{"position":[[58,23],[135,23]]},"1264":{"position":[[83,23]]},"1265":{"position":[[627,23]]},"1268":{"position":[[613,23],[690,23]]},"1274":{"position":[[104,23]]},"1275":{"position":[[228,23]]},"1276":{"position":[[494,23]]},"1277":{"position":[[252,23],[781,23]]},"1278":{"position":[[359,23],[806,23]]},"1279":{"position":[[418,23]]},"1281":{"position":[[151,23]]}},"keywords":{}}],["premiumencrypt",{"_index":4022,"title":{},"content":{"717":{"position":[[152,17]]}},"keywords":{}}],["premiumif",{"_index":3148,"title":{},"content":{"483":{"position":[[989,9]]}},"keywords":{}}],["premiumsqlit",{"_index":1892,"title":{},"content":{"314":{"position":[[1017,13]]}},"keywords":{}}],["prepar",{"_index":1732,"title":{"861":{"position":[[0,9]]}},"content":{"298":{"position":[[881,8]]},"463":{"position":[[1359,8]]}},"keywords":{}}],["prepend",{"_index":5965,"title":{},"content":{"1107":{"position":[[51,9]]}},"keywords":{}}],["preprocess",{"_index":5798,"title":{},"content":{"1072":{"position":[[2296,12]]}},"keywords":{}}],["preremov",{"_index":4553,"title":{},"content":{"769":{"position":[[278,10]]}},"keywords":{}}],["presav",{"_index":4541,"title":{},"content":{"768":{"position":[[263,8]]}},"keywords":{}}],["present",{"_index":1399,"title":{},"content":{"217":{"position":[[103,7]]},"278":{"position":[[101,8]]},"289":{"position":[[513,8]]},"392":{"position":[[2986,8]]},"394":{"position":[[1375,8]]},"412":{"position":[[7526,7]]}},"keywords":{}}],["preserv",{"_index":1311,"title":{},"content":{"203":{"position":[[252,8]]},"250":{"position":[[268,8]]},"362":{"position":[[1020,10]]},"407":{"position":[[1137,13]]}},"keywords":{}}],["press",{"_index":2634,"title":{},"content":{"411":{"position":[[4801,5]]}},"keywords":{}}],["pressur",{"_index":2858,"title":{},"content":{"421":{"position":[[1087,8]]}},"keywords":{}}],["pretti",{"_index":3563,"title":{},"content":{"610":{"position":[[1454,6]]},"620":{"position":[[515,6]]},"626":{"position":[[422,6]]},"698":{"position":[[1395,6]]},"772":{"position":[[523,6]]},"837":{"position":[[227,6]]},"838":{"position":[[3111,6]]},"904":{"position":[[2515,6]]},"1124":{"position":[[1916,6]]},"1208":{"position":[[17,6]]},"1214":{"position":[[457,6]]},"1272":{"position":[[349,6]]}},"keywords":{}}],["preval",{"_index":2103,"title":{},"content":{"364":{"position":[[40,9]]}},"keywords":{}}],["prevent",{"_index":1298,"title":{"1044":{"position":[[0,7]]}},"content":{"195":{"position":[[172,7]]},"298":{"position":[[355,7]]},"300":{"position":[[548,10]]},"412":{"position":[[13283,7]]},"556":{"position":[[1862,7],[1964,10]]},"590":{"position":[[361,10],[894,7]]},"617":{"position":[[936,7]]},"849":{"position":[[162,8],[824,7]]},"886":{"position":[[4812,8]]},"907":{"position":[[106,7]]},"948":{"position":[[242,7]]},"966":{"position":[[154,7]]},"1033":{"position":[[899,7]]},"1085":{"position":[[1870,8]]},"1110":{"position":[[56,7]]},"1112":{"position":[[291,7]]},"1162":{"position":[[245,9]]},"1181":{"position":[[311,9]]},"1230":{"position":[[132,7]]},"1299":{"position":[[4,7]]},"1300":{"position":[[196,7]]}},"keywords":{}}],["previou",{"_index":2779,"title":{"760":{"position":[[15,8]]}},"content":{"413":{"position":[[92,8]]},"495":{"position":[[425,8]]},"496":{"position":[[106,8]]},"683":{"position":[[621,8]]},"749":{"position":[[8989,8]]},"760":{"position":[[19,8]]},"885":{"position":[[366,8]]},"943":{"position":[[338,8]]},"948":{"position":[[194,8]]},"954":{"position":[[50,8]]},"977":{"position":[[340,8]]},"1022":{"position":[[623,8]]},"1023":{"position":[[279,8]]},"1069":{"position":[[558,8]]},"1294":{"position":[[1219,8]]},"1305":{"position":[[804,8],[860,8],[981,8]]},"1307":{"position":[[72,8]]},"1316":{"position":[[1704,8]]},"1318":{"position":[[628,8]]}},"keywords":{}}],["previous",{"_index":2523,"title":{},"content":{"408":{"position":[[85,10]]}},"keywords":{}}],["pri",{"_index":2149,"title":{},"content":{"377":{"position":[[391,6]]}},"keywords":{}}],["price",{"_index":1692,"title":{},"content":{"295":{"position":[[84,6]]},"459":{"position":[[549,5]]}},"keywords":{}}],["primari",{"_index":1417,"title":{"1078":{"position":[[10,7]]}},"content":{"231":{"position":[[59,7]]},"356":{"position":[[349,7]]},"367":{"position":[[763,7],[874,7]]},"376":{"position":[[5,7]]},"380":{"position":[[8,7]]},"407":{"position":[[30,7]]},"419":{"position":[[996,7]]},"434":{"position":[[17,7]]},"555":{"position":[[413,7],[762,7]]},"683":{"position":[[694,7]]},"734":{"position":[[795,7]]},"749":{"position":[[1800,7],[7000,7],[7119,7],[7382,7],[9153,7],[9672,7],[10295,7],[11287,7],[11376,7],[14017,7],[17316,7],[17892,7],[18013,7],[18135,7],[18232,7],[19898,7],[20027,7],[20859,7],[21466,7]]},"808":{"position":[[378,8]]},"863":{"position":[[10,7],[141,7]]},"898":{"position":[[168,7],[204,8],[973,7],[1680,7]]},"943":{"position":[[119,7]]},"948":{"position":[[408,7]]},"950":{"position":[[93,7],[368,8]]},"951":{"position":[[33,8],[178,7]]},"1056":{"position":[[288,7]]},"1065":{"position":[[1557,7],[1848,7]]},"1074":{"position":[[1012,7]]},"1077":{"position":[[82,7],[137,7]]},"1078":{"position":[[28,7],[247,9],[574,7],[847,7],[1002,7]]},"1080":{"position":[[197,7]]},"1082":{"position":[[282,7]]},"1083":{"position":[[482,7]]},"1102":{"position":[[1279,7],[1386,7]]},"1148":{"position":[[168,7]]},"1294":{"position":[[498,7]]},"1296":{"position":[[419,7]]}},"keywords":{}}],["primarili",{"_index":1185,"title":{},"content":{"162":{"position":[[544,9]]},"273":{"position":[[138,9]]},"419":{"position":[[869,9]]},"524":{"position":[[531,9]]},"623":{"position":[[225,9]]}},"keywords":{}}],["primary1",{"_index":5338,"title":{},"content":{"945":{"position":[[165,11]]}},"keywords":{}}],["primary2",{"_index":5339,"title":{},"content":{"945":{"position":[[177,10]]}},"keywords":{}}],["primarykey",{"_index":770,"title":{"1077":{"position":[[0,11]]}},"content":{"51":{"position":[[355,11]]},"188":{"position":[[1232,11]]},"209":{"position":[[453,11]]},"211":{"position":[[399,11]]},"255":{"position":[[797,11]]},"259":{"position":[[81,11]]},"314":{"position":[[763,11]]},"315":{"position":[[739,11]]},"316":{"position":[[248,11]]},"334":{"position":[[633,11]]},"367":{"position":[[725,11]]},"392":{"position":[[583,11],[1549,11]]},"480":{"position":[[563,11]]},"482":{"position":[[863,11]]},"538":{"position":[[656,11]]},"554":{"position":[[1354,11]]},"562":{"position":[[335,11]]},"564":{"position":[[792,11]]},"579":{"position":[[641,11]]},"598":{"position":[[663,11]]},"632":{"position":[[1547,11]]},"638":{"position":[[631,11]]},"639":{"position":[[409,11]]},"662":{"position":[[2410,11]]},"680":{"position":[[823,11]]},"717":{"position":[[1432,11]]},"734":{"position":[[697,11]]},"749":{"position":[[6889,10],[11466,10],[11542,10],[11687,10],[11784,10],[19806,10],[23801,11]]},"808":{"position":[[188,11],[544,11]]},"838":{"position":[[2624,11]]},"862":{"position":[[663,11]]},"872":{"position":[[1872,11],[4102,11]]},"898":{"position":[[2452,11]]},"904":{"position":[[886,11]]},"986":{"position":[[272,10]]},"1074":{"position":[[144,11]]},"1077":{"position":[[5,10]]},"1078":{"position":[[257,11],[805,11]]},"1079":{"position":[[517,10],[625,10]]},"1080":{"position":[[99,11]]},"1082":{"position":[[184,11]]},"1083":{"position":[[384,11]]},"1149":{"position":[[1077,11]]},"1158":{"position":[[371,11]]},"1311":{"position":[[391,11]]}},"keywords":{}}],["primarykey.trim",{"_index":4286,"title":{},"content":{"749":{"position":[[11570,18]]}},"keywords":{}}],["prime",{"_index":3679,"title":{},"content":{"624":{"position":[[765,5]]}},"keywords":{}}],["primit",{"_index":4767,"title":{},"content":{"831":{"position":[[208,10]]},"875":{"position":[[123,10]]},"1308":{"position":[[222,11]]}},"keywords":{}}],["principl",{"_index":1067,"title":{},"content":{"118":{"position":[[55,10]]},"120":{"position":[[49,10]]},"136":{"position":[[68,11]]},"153":{"position":[[141,10]]},"325":{"position":[[182,11]]},"407":{"position":[[906,10]]},"419":{"position":[[308,9]]},"445":{"position":[[1271,10]]},"498":{"position":[[521,10]]},"513":{"position":[[184,10]]},"525":{"position":[[45,9]]},"530":{"position":[[223,10]]},"575":{"position":[[54,9]]}},"keywords":{}}],["print",{"_index":3856,"title":{},"content":{"675":{"position":[[39,5]]},"872":{"position":[[4373,7]]}},"keywords":{}}],["priorit",{"_index":2032,"title":{},"content":{"354":{"position":[[1417,10]]},"500":{"position":[[523,10]]},"502":{"position":[[327,10]]},"688":{"position":[[621,10]]},"1072":{"position":[[1895,10]]}},"keywords":{}}],["prioriti",{"_index":3239,"title":{},"content":{"507":{"position":[[35,8]]}},"keywords":{}}],["privaci",{"_index":1023,"title":{},"content":{"97":{"position":[[173,7]]},"195":{"position":[[16,7]]},"407":{"position":[[816,7],[1118,8]]},"410":{"position":[[504,8]]},"419":{"position":[[947,8]]},"723":{"position":[[2432,7]]},"912":{"position":[[146,8]]},"1206":{"position":[[646,7]]}},"keywords":{}}],["privat",{"_index":873,"title":{"1205":{"position":[[7,7]]},"1215":{"position":[[53,7]]}},"content":{"59":{"position":[[53,7]]},"130":{"position":[[376,7],[412,7]]},"131":{"position":[[525,7]]},"202":{"position":[[167,7]]},"408":{"position":[[1539,7]]},"453":{"position":[[12,7]]},"546":{"position":[[108,7]]},"564":{"position":[[1084,7]]},"606":{"position":[[108,7]]},"640":{"position":[[176,7]]},"697":{"position":[[569,7]]},"716":{"position":[[430,7]]},"825":{"position":[[922,7]]},"1206":{"position":[[12,7],[121,8]]},"1207":{"position":[[40,7]]},"1208":{"position":[[681,7]]},"1209":{"position":[[20,7]]},"1214":{"position":[[8,7]]},"1215":{"position":[[102,7],[375,7]]},"1216":{"position":[[41,7]]}},"keywords":{}}],["private/publickey",{"_index":4020,"title":{},"content":{"716":{"position":[[228,18]]}},"keywords":{}}],["pro",{"_index":2778,"title":{"844":{"position":[[0,5]]},"1128":{"position":[[0,5]]},"1161":{"position":[[0,5]]},"1167":{"position":[[0,5]]},"1170":{"position":[[0,5]]},"1180":{"position":[[0,5]]},"1199":{"position":[[0,5]]}},"content":{"413":{"position":[[26,4]]},"559":{"position":[[817,4]]},"839":{"position":[[220,5]]}},"keywords":{}}],["probabl",{"_index":3206,"title":{},"content":{"497":{"position":[[527,12]]}},"keywords":{}}],["problem",{"_index":72,"title":{"47":{"position":[[31,8]]},"358":{"position":[[52,8]]},"625":{"position":[[6,9]]},"627":{"position":[[28,9]]},"850":{"position":[[6,9]]},"909":{"position":[[6,9]]},"1176":{"position":[[6,9]]},"1282":{"position":[[6,8]]}},"content":{"4":{"position":[[200,8]]},"9":{"position":[[57,8]]},"19":{"position":[[1055,7]]},"118":{"position":[[398,7]]},"323":{"position":[[656,7]]},"367":{"position":[[76,7]]},"457":{"position":[[699,9]]},"458":{"position":[[1008,8]]},"468":{"position":[[748,8]]},"475":{"position":[[289,9]]},"614":{"position":[[826,7]]},"616":{"position":[[947,8]]},"617":{"position":[[1026,7]]},"624":{"position":[[343,8]]},"625":{"position":[[65,9]]},"627":{"position":[[22,8]]},"670":{"position":[[102,8]]},"696":{"position":[[448,8],[1511,7]]},"698":{"position":[[3143,9]]},"700":{"position":[[576,7]]},"701":{"position":[[463,7]]},"705":{"position":[[900,8]]},"710":{"position":[[1199,7]]},"740":{"position":[[227,7]]},"749":{"position":[[21845,8],[21965,9]]},"761":{"position":[[186,7]]},"817":{"position":[[208,8]]},"837":{"position":[[549,7]]},"840":{"position":[[457,8]]},"849":{"position":[[853,8]]},"863":{"position":[[689,7]]},"932":{"position":[[246,7]]},"1033":{"position":[[248,8]]},"1085":{"position":[[272,7]]},"1120":{"position":[[337,8]]},"1162":{"position":[[396,7],[673,7]]},"1174":{"position":[[347,7]]},"1181":{"position":[[483,7],[761,7]]},"1198":{"position":[[672,7],[2288,8]]},"1252":{"position":[[378,8]]},"1299":{"position":[[60,9]]},"1301":{"position":[[326,7],[563,8]]},"1305":{"position":[[283,8]]},"1316":{"position":[[2469,9]]}},"keywords":{}}],["problem.appwrit",{"_index":4914,"title":{},"content":{"863":{"position":[[458,16]]}},"keywords":{}}],["problemat",{"_index":946,"title":{},"content":{"66":{"position":[[514,11]]},"412":{"position":[[6107,12]]}},"keywords":{}}],["process",{"_index":12,"title":{"801":{"position":[[0,7],[28,8]]},"1088":{"position":[[24,10]]},"1225":{"position":[[20,8]]},"1226":{"position":[[12,8]]},"1263":{"position":[[14,8]]},"1264":{"position":[[12,8]]}},"content":{"1":{"position":[[168,7]]},"6":{"position":[[196,9]]},"7":{"position":[[170,9]]},"28":{"position":[[372,7],[444,7]]},"30":{"position":[[179,7]]},"46":{"position":[[590,10]]},"66":{"position":[[320,11]]},"70":{"position":[[79,9]]},"132":{"position":[[108,7]]},"158":{"position":[[21,7]]},"165":{"position":[[64,7]]},"184":{"position":[[248,7]]},"188":{"position":[[1555,7],[2464,7],[2591,7]]},"192":{"position":[[53,7]]},"196":{"position":[[211,10]]},"201":{"position":[[78,7]]},"217":{"position":[[382,10]]},"265":{"position":[[934,11]]},"273":{"position":[[128,9]]},"277":{"position":[[79,8]]},"279":{"position":[[461,7]]},"285":{"position":[[48,8],[291,7]]},"293":{"position":[[130,7]]},"333":{"position":[[108,8]]},"358":{"position":[[1036,7]]},"364":{"position":[[459,7]]},"365":{"position":[[1222,10],[1395,10]]},"391":{"position":[[928,9]]},"392":{"position":[[2270,10],[2437,9],[2962,10],[3107,10],[3201,10],[3273,7],[3771,10],[5130,10]]},"394":{"position":[[254,7],[1754,7]]},"399":{"position":[[394,9]]},"401":{"position":[[681,8]]},"402":{"position":[[478,7]]},"412":{"position":[[10185,11]]},"427":{"position":[[771,7]]},"445":{"position":[[1340,7]]},"451":{"position":[[598,7]]},"453":{"position":[[454,10]]},"458":{"position":[[211,7]]},"460":{"position":[[64,10],[181,10],[536,8],[1340,8]]},"463":{"position":[[58,7],[112,9],[285,7],[429,7]]},"464":{"position":[[646,7]]},"467":{"position":[[469,7]]},"468":{"position":[[100,7]]},"470":{"position":[[251,8]]},"503":{"position":[[102,8]]},"522":{"position":[[5,7]]},"534":{"position":[[681,10]]},"569":{"position":[[155,10],[717,7],[1337,8]]},"571":{"position":[[121,10],[1562,9]]},"594":{"position":[[679,10]]},"610":{"position":[[610,7]]},"621":{"position":[[607,7]]},"622":{"position":[[142,7]]},"634":{"position":[[678,9]]},"642":{"position":[[152,10]]},"648":{"position":[[363,10]]},"653":{"position":[[731,7]]},"662":{"position":[[751,8]]},"693":{"position":[[77,7],[120,10],[228,8],[458,7],[492,8],[617,7]]},"698":{"position":[[331,7]]},"699":{"position":[[921,10]]},"703":{"position":[[1341,7],[1492,9]]},"707":{"position":[[74,7],[112,7],[198,9],[291,7]]},"708":{"position":[[274,7],[634,8]]},"709":{"position":[[67,8],[446,8],[1017,7],[1276,8],[1344,7]]},"710":{"position":[[1069,10],[1180,9],[1329,7],[2372,7]]},"711":{"position":[[302,8],[328,8],[404,10],[543,7],[633,7],[1062,7],[1464,7],[1654,8],[2168,7]]},"723":{"position":[[1609,9]]},"740":{"position":[[151,7]]},"743":{"position":[[110,9],[210,9]]},"749":{"position":[[6007,8]]},"759":{"position":[[990,12]]},"760":{"position":[[878,12]]},"773":{"position":[[164,8],[295,7]]},"774":{"position":[[1028,7]]},"775":{"position":[[111,7]]},"801":{"position":[[392,10],[642,11],[950,10]]},"802":{"position":[[176,10],[843,8]]},"835":{"position":[[317,7]]},"836":{"position":[[2107,8]]},"846":{"position":[[1116,7]]},"875":{"position":[[625,7],[5789,7],[5848,10]]},"888":{"position":[[105,9]]},"910":{"position":[[37,7],[267,8]]},"964":{"position":[[443,8]]},"981":{"position":[[960,7]]},"989":{"position":[[121,10]]},"990":{"position":[[213,10]]},"1020":{"position":[[206,10],[282,7],[503,7]]},"1026":{"position":[[141,9]]},"1028":{"position":[[134,10]]},"1030":{"position":[[22,7]]},"1033":{"position":[[147,9]]},"1072":{"position":[[734,10]]},"1088":{"position":[[124,9],[375,9],[677,9]]},"1089":{"position":[[239,9]]},"1095":{"position":[[301,9]]},"1126":{"position":[[171,7]]},"1135":{"position":[[123,7]]},"1162":{"position":[[53,7],[364,8]]},"1164":{"position":[[1014,7],[1474,8]]},"1170":{"position":[[44,9]]},"1171":{"position":[[70,7]]},"1174":{"position":[[696,9]]},"1181":{"position":[[119,7],[451,8]]},"1183":{"position":[[113,10],[448,8],[575,8]]},"1225":{"position":[[15,7]]},"1238":{"position":[[286,8]]},"1241":{"position":[[81,8]]},"1245":{"position":[[75,7]]},"1246":{"position":[[217,7],[255,7],[537,7],[575,7],[830,7],[2103,7],[2146,10],[2254,8]]},"1267":{"position":[[173,8]]},"1270":{"position":[[188,7]]},"1292":{"position":[[560,9]]},"1300":{"position":[[121,7],[838,7]]},"1301":{"position":[[662,7],[1388,7],[1516,7],[1648,8]]},"1318":{"position":[[112,10]]}},"keywords":{}}],["process.brows",{"_index":123,"title":{},"content":{"8":{"position":[[658,15]]}},"keywords":{}}],["process.env.node_env",{"_index":3843,"title":{},"content":{"672":{"position":[[32,21]]}},"keywords":{}}],["process.env.port",{"_index":3594,"title":{},"content":{"612":{"position":[[1815,16]]}},"keywords":{}}],["process.nexttick",{"_index":4335,"title":{"910":{"position":[[28,19]]}},"content":{"749":{"position":[[15323,18]]},"910":{"position":[[57,18]]}},"keywords":{}}],["process.slow",{"_index":6130,"title":{},"content":{"1171":{"position":[[306,12]]}},"keywords":{}}],["process/brows",{"_index":5266,"title":{},"content":{"910":{"position":[[170,15],[276,18]]}},"keywords":{}}],["processed.download",{"_index":3038,"title":{},"content":{"463":{"position":[[1117,21]]}},"keywords":{}}],["processor",{"_index":2285,"title":{},"content":{"392":{"position":[[5007,10],[5101,10]]}},"keywords":{}}],["produc",{"_index":3530,"title":{},"content":{"591":{"position":[[506,7]]}},"keywords":{}}],["product",{"_index":203,"title":{},"content":{"14":{"position":[[119,9],[970,8]]},"38":{"position":[[1112,7]]},"88":{"position":[[183,12]]},"94":{"position":[[296,12]]},"212":{"position":[[578,10]]},"301":{"position":[[417,11]]},"306":{"position":[[357,10]]},"318":{"position":[[316,10]]},"350":{"position":[[384,13]]},"356":{"position":[[328,8],[436,8]]},"380":{"position":[[323,12]]},"386":{"position":[[26,10]]},"411":{"position":[[5547,7]]},"459":{"position":[[533,8]]},"554":{"position":[[376,10],[666,10],[1189,10]]},"556":{"position":[[1501,10]]},"570":{"position":[[131,7]]},"611":{"position":[[999,11]]},"674":{"position":[[285,12]]},"675":{"position":[[137,11]]},"698":{"position":[[3173,10]]},"710":{"position":[[1270,11],[2274,11]]},"749":{"position":[[6141,10]]},"772":{"position":[[2116,11]]},"798":{"position":[[311,11]]},"821":{"position":[[301,11],[559,10],[813,10]]},"824":{"position":[[452,10]]},"860":{"position":[[930,10]]},"872":{"position":[[1468,10]]},"898":{"position":[[2926,10]]},"904":{"position":[[2691,10]]},"906":{"position":[[400,10],[600,11]]},"966":{"position":[[371,10]]},"1009":{"position":[[912,10]]},"1085":{"position":[[3259,10]]},"1143":{"position":[[130,11]]},"1151":{"position":[[643,10]]},"1178":{"position":[[642,10]]},"1193":{"position":[[293,11]]},"1198":{"position":[[1105,10]]},"1266":{"position":[[708,13]]},"1271":{"position":[[342,11],[597,10]]}},"keywords":{}}],["profession",{"_index":4024,"title":{},"content":{"718":{"position":[[5,14]]},"1143":{"position":[[53,12]]},"1151":{"position":[[622,12]]},"1178":{"position":[[621,12]]}},"keywords":{}}],["profil",{"_index":1234,"title":{},"content":{"178":{"position":[[160,9]]},"346":{"position":[[750,10]]},"353":{"position":[[683,9]]},"521":{"position":[[318,7]]}},"keywords":{}}],["program",{"_index":1068,"title":{},"content":{"118":{"position":[[78,12],[167,11]]},"120":{"position":[[72,12]]},"126":{"position":[[110,11]]},"136":{"position":[[56,11]]},"153":{"position":[[164,12]]},"155":{"position":[[69,11]]},"179":{"position":[[357,11]]},"182":{"position":[[128,12]]},"207":{"position":[[173,8]]},"325":{"position":[[170,11]]},"364":{"position":[[260,11],[399,11]]},"379":{"position":[[33,12]]},"445":{"position":[[1231,11],[1294,12],[1568,11]]},"447":{"position":[[360,12]]},"513":{"position":[[207,11]]},"514":{"position":[[110,11]]},"520":{"position":[[118,11]]},"521":{"position":[[477,11]]},"530":{"position":[[211,11]]},"569":{"position":[[1164,11],[1289,8]]},"575":{"position":[[119,12]]},"711":{"position":[[60,11]]},"1102":{"position":[[167,10],[191,11]]}},"keywords":{}}],["progress",{"_index":1152,"title":{"499":{"position":[[23,11]]},"500":{"position":[[10,11]]},"503":{"position":[[16,11]]}},"content":{"148":{"position":[[357,11]]},"375":{"position":[[890,11]]},"404":{"position":[[479,8]]},"450":{"position":[[710,8]]},"474":{"position":[[216,8]]},"500":{"position":[[1,11]]},"503":{"position":[[25,11]]},"510":{"position":[[64,11]]},"511":{"position":[[445,11]]},"584":{"position":[[221,11]]},"796":{"position":[[1235,10],[1365,10]]}},"keywords":{}}],["project",{"_index":190,"title":{"262":{"position":[[23,9]]},"730":{"position":[[0,7]]}},"content":{"13":{"position":[[110,8],[216,8]]},"15":{"position":[[548,8]]},"17":{"position":[[491,8]]},"19":{"position":[[211,8],[235,7]]},"27":{"position":[[426,7]]},"28":{"position":[[552,7]]},"31":{"position":[[17,7]]},"34":{"position":[[288,9]]},"36":{"position":[[284,8]]},"38":{"position":[[954,9]]},"61":{"position":[[243,7]]},"74":{"position":[[131,9]]},"83":{"position":[[246,9]]},"84":{"position":[[418,9]]},"114":{"position":[[431,9]]},"175":{"position":[[422,9]]},"198":{"position":[[308,9]]},"202":{"position":[[448,7]]},"241":{"position":[[190,7]]},"247":{"position":[[34,9]]},"262":{"position":[[147,7]]},"263":{"position":[[543,8]]},"285":{"position":[[95,8]]},"320":{"position":[[169,8]]},"333":{"position":[[74,7]]},"347":{"position":[[551,7]]},"356":{"position":[[856,8]]},"362":{"position":[[830,9],[1622,7]]},"373":{"position":[[190,7]]},"388":{"position":[[96,7]]},"392":{"position":[[163,9]]},"420":{"position":[[1045,8]]},"498":{"position":[[219,8]]},"579":{"position":[[17,8]]},"590":{"position":[[71,9]]},"591":{"position":[[780,9]]},"614":{"position":[[56,7]]},"670":{"position":[[201,8]]},"710":{"position":[[2533,8]]},"730":{"position":[[47,8]]},"749":{"position":[[5938,8]]},"836":{"position":[[327,7],[422,8],[493,7],[1083,7]]},"838":{"position":[[3261,8]]},"839":{"position":[[114,8]]},"840":{"position":[[698,8]]},"854":{"position":[[219,7]]},"861":{"position":[[258,8],[992,7]]},"872":{"position":[[55,8]]},"885":{"position":[[2734,8]]},"898":{"position":[[84,7],[122,8]]},"1009":{"position":[[395,8],[472,8]]},"1143":{"position":[[66,8]]},"1157":{"position":[[458,9]]}},"keywords":{}}],["project.mak",{"_index":6358,"title":{},"content":{"1280":{"position":[[40,12]]}},"keywords":{}}],["projectid",{"_index":4865,"title":{},"content":{"854":{"position":[[203,9],[269,10],[323,10],[734,10]]},"858":{"position":[[245,10]]}},"keywords":{}}],["projectrootpath",{"_index":6308,"title":{},"content":{"1266":{"position":[[256,15],[664,16]]}},"keywords":{}}],["projects.node.j",{"_index":2166,"title":{},"content":{"384":{"position":[[132,17]]}},"keywords":{}}],["projects.rxdb",{"_index":1154,"title":{},"content":{"149":{"position":[[431,13]]},"347":{"position":[[429,13]]},"362":{"position":[[1500,13]]},"511":{"position":[[431,13]]},"531":{"position":[[431,13]]},"591":{"position":[[429,13]]}},"keywords":{}}],["projecttri",{"_index":1698,"title":{},"content":{"296":{"position":[[32,10]]}},"keywords":{}}],["promis",{"_index":549,"title":{},"content":{"35":{"position":[[89,7]]},"47":{"position":[[201,7]]},"387":{"position":[[104,8]]},"439":{"position":[[419,8]]},"452":{"position":[[729,7]]},"521":{"position":[[142,7]]},"535":{"position":[[196,9]]},"595":{"position":[[209,9]]},"621":{"position":[[715,8]]},"624":{"position":[[1174,9]]},"659":{"position":[[398,7]]},"751":{"position":[[1042,7]]},"810":{"position":[[119,7]]},"835":{"position":[[211,7],[388,7]]},"886":{"position":[[230,7]]},"917":{"position":[[47,7]]},"929":{"position":[[35,7]]},"930":{"position":[[11,7]]},"931":{"position":[[11,7]]},"932":{"position":[[11,7]]},"968":{"position":[[285,7]]},"974":{"position":[[11,7]]},"975":{"position":[[11,7]]},"976":{"position":[[116,7]]},"994":{"position":[[170,7]]},"995":{"position":[[11,7],[667,7]]},"997":{"position":[[36,7]]},"1014":{"position":[[128,7]]},"1015":{"position":[[108,7]]},"1016":{"position":[[45,7]]},"1026":{"position":[[97,7]]},"1057":{"position":[[11,7]]},"1062":{"position":[[40,7]]},"1105":{"position":[[1109,8]]},"1213":{"position":[[863,8]]},"1274":{"position":[[536,9]]},"1279":{"position":[[923,9]]}},"keywords":{}}],["promise<number[]>",{"_index":2270,"title":{},"content":{"392":{"position":[[4087,23]]}},"keywords":{}}],["promise<number[]>(r",{"_index":2273,"title":{},"content":{"392":{"position":[[4258,27]]}},"keywords":{}}],["promise<sqlitedatabaseclass>",{"_index":6367,"title":{},"content":{"1281":{"position":[[303,35]]}},"keywords":{}}],["promise<void>",{"_index":160,"title":{},"content":{"11":{"position":[[556,19]]}},"keywords":{}}],["promise((r",{"_index":3000,"title":{},"content":{"459":{"position":[[846,13]]},"1294":{"position":[[1140,13]]}},"keywords":{}}],["promise(r",{"_index":163,"title":{},"content":{"11":{"position":[[589,11]]},"711":{"position":[[1556,11]]},"767":{"position":[[562,11],[971,11]]},"768":{"position":[[564,11],[973,11]]},"769":{"position":[[521,11],[942,11]]}},"keywords":{}}],["promise.al",{"_index":2394,"title":{},"content":{"398":{"position":[[835,12],[1010,13],[2121,12]]}},"keywords":{}}],["promise.all(docs.map(async",{"_index":2282,"title":{},"content":{"392":{"position":[[4738,26]]}},"keywords":{}}],["promise.all(docs.map(async(doc",{"_index":2246,"title":{},"content":{"392":{"position":[[2785,31]]},"397":{"position":[[1826,31]]}},"keywords":{}}],["promise.resolv",{"_index":6247,"title":{},"content":{"1218":{"position":[[458,17]]}},"keywords":{}}],["promise.resolve(sha256(input",{"_index":5406,"title":{},"content":{"968":{"position":[[456,31]]}},"keywords":{}}],["promot",{"_index":2160,"title":{},"content":{"382":{"position":[[118,8]]},"502":{"position":[[1290,8]]},"509":{"position":[[150,9]]}},"keywords":{}}],["prompt",{"_index":1722,"title":{},"content":{"298":{"position":[[596,7]]},"299":{"position":[[372,6],[576,8],[1296,6],[1324,6]]},"302":{"position":[[485,6],[946,6]]},"404":{"position":[[655,6]]},"408":{"position":[[577,6]]},"496":{"position":[[458,8]]},"618":{"position":[[708,9]]},"635":{"position":[[408,9]]},"696":{"position":[[1454,6]]}},"keywords":{}}],["promptli",{"_index":3254,"title":{},"content":{"517":{"position":[[310,8]]}},"keywords":{}}],["prone",{"_index":3252,"title":{},"content":{"515":{"position":[[193,5]]}},"keywords":{}}],["proof",{"_index":1887,"title":{},"content":{"314":{"position":[[14,5]]}},"keywords":{}}],["propag",{"_index":1118,"title":{},"content":{"136":{"position":[[123,10]]},"240":{"position":[[241,9]]},"267":{"position":[[549,9]]},"274":{"position":[[364,11]]},"283":{"position":[[481,10]]},"289":{"position":[[911,10]]},"412":{"position":[[725,9]]},"445":{"position":[[1079,10]]},"446":{"position":[[372,10]]},"490":{"position":[[422,9]]},"517":{"position":[[319,10]]},"519":{"position":[[202,10]]},"525":{"position":[[178,10]]},"575":{"position":[[560,10]]},"630":{"position":[[410,9]]},"875":{"position":[[6812,10]]}},"keywords":{}}],["proper",{"_index":1140,"title":{},"content":{"145":{"position":[[11,6]]},"291":{"position":[[290,6]]},"397":{"position":[[322,6]]},"453":{"position":[[820,6]]},"550":{"position":[[288,6]]},"635":{"position":[[440,6]]},"996":{"position":[[154,6]]},"1172":{"position":[[508,6]]}},"keywords":{}}],["properli",{"_index":4917,"title":{},"content":{"863":{"position":[[589,8]]},"917":{"position":[[493,8]]},"990":{"position":[[308,8],[1001,8]]},"1120":{"position":[[177,9]]},"1307":{"position":[[529,9]]}},"keywords":{}}],["properti",{"_index":772,"title":{"1084":{"position":[[12,11]]}},"content":{"51":{"position":[[389,11]]},"188":{"position":[[1266,11]]},"209":{"position":[[471,11]]},"211":{"position":[[433,11]]},"255":{"position":[[815,11]]},"259":{"position":[[115,11]]},"314":{"position":[[781,11]]},"315":{"position":[[757,11]]},"316":{"position":[[266,11]]},"334":{"position":[[667,11]]},"354":{"position":[[1290,10]]},"367":{"position":[[810,11]]},"392":{"position":[[617,11],[1583,11]]},"412":{"position":[[4907,11],[5381,10]]},"480":{"position":[[581,11]]},"482":{"position":[[881,11]]},"538":{"position":[[690,11]]},"554":{"position":[[1372,11]]},"562":{"position":[[353,11],[820,9]]},"564":{"position":[[810,11]]},"579":{"position":[[675,11],[925,8]]},"598":{"position":[[697,11]]},"632":{"position":[[1565,11]]},"636":{"position":[[230,8]]},"638":{"position":[[649,11]]},"639":{"position":[[427,11]]},"662":{"position":[[2428,11]]},"680":{"position":[[857,11]]},"685":{"position":[[320,9],[618,10]]},"687":{"position":[[336,11]]},"691":{"position":[[565,11]]},"714":{"position":[[132,10]]},"717":{"position":[[1292,9],[1466,11]]},"720":{"position":[[93,8],[165,11]]},"724":{"position":[[870,8]]},"734":{"position":[[731,11]]},"749":{"position":[[3692,10],[11265,8],[13100,10],[18434,10],[19724,12],[20048,8]]},"751":{"position":[[190,8]]},"754":{"position":[[183,9]]},"780":{"position":[[375,10]]},"804":{"position":[[10,8]]},"805":{"position":[[16,8]]},"808":{"position":[[20,10],[208,11],[580,11]]},"812":{"position":[[103,11],[169,11]]},"813":{"position":[[103,11]]},"838":{"position":[[2642,11]]},"848":{"position":[[353,8]]},"862":{"position":[[697,11]]},"872":{"position":[[1914,11],[4144,11]]},"887":{"position":[[143,11]]},"898":{"position":[[2494,11]]},"904":{"position":[[904,11]]},"916":{"position":[[172,11]]},"932":{"position":[[1224,11]]},"944":{"position":[[643,8]]},"968":{"position":[[625,10]]},"987":{"position":[[1032,8]]},"988":{"position":[[1696,8]]},"993":{"position":[[72,11]]},"1040":{"position":[[5,10]]},"1074":{"position":[[128,8]]},"1077":{"position":[[52,8]]},"1078":{"position":[[74,10],[510,11]]},"1080":{"position":[[133,11],[670,11]]},"1082":{"position":[[218,11]]},"1083":{"position":[[418,11]]},"1084":{"position":[[541,10],[646,8]]},"1085":{"position":[[1145,8],[1912,11],[2040,11],[2236,10],[2265,8],[2609,11]]},"1106":{"position":[[479,8]]},"1116":{"position":[[168,10],[374,8],[462,8],[578,8]]},"1117":{"position":[[248,8]]},"1149":{"position":[[1095,11]]},"1158":{"position":[[405,11]]},"1213":{"position":[[895,10]]},"1304":{"position":[[79,10]]},"1308":{"position":[[417,12]]},"1309":{"position":[[831,11],[1113,10],[1306,8]]},"1311":{"position":[[433,11],[1596,8]]}},"keywords":{}}],["proportion",{"_index":2326,"title":{},"content":{"394":{"position":[[1531,15]]}},"keywords":{}}],["propos",{"_index":2653,"title":{},"content":{"412":{"position":[[453,8]]},"451":{"position":[[32,8]]},"458":{"position":[[949,8]]}},"keywords":{}}],["proprietari",{"_index":1542,"title":{},"content":{"249":{"position":[[42,11]]},"381":{"position":[[424,11]]},"412":{"position":[[1339,11]]}},"keywords":{}}],["protect",{"_index":934,"title":{},"content":{"65":{"position":[[1788,10]]},"95":{"position":[[216,10]]},"139":{"position":[[109,7]]},"173":{"position":[[1307,9]]},"195":{"position":[[138,7]]},"218":{"position":[[288,10]]},"249":{"position":[[315,8]]},"291":{"position":[[332,10]]},"318":{"position":[[428,7]]},"377":{"position":[[373,7]]},"417":{"position":[[418,7]]},"479":{"position":[[260,7]]},"526":{"position":[[163,9]]},"556":{"position":[[732,10]]},"567":{"position":[[684,10]]},"586":{"position":[[135,10]]},"638":{"position":[[175,7]]},"897":{"position":[[470,7]]},"898":{"position":[[2830,11]]},"912":{"position":[[430,9]]}},"keywords":{}}],["protocol",{"_index":1189,"title":{},"content":{"165":{"position":[[180,10]]},"202":{"position":[[329,9]]},"248":{"position":[[245,8]]},"255":{"position":[[76,8]]},"262":{"position":[[119,8]]},"412":{"position":[[1327,8],[11597,8]]},"491":{"position":[[664,9],[1713,9],[1885,9]]},"613":{"position":[[148,8]]},"614":{"position":[[450,9]]},"620":{"position":[[566,9]]},"621":{"position":[[817,8]]},"623":{"position":[[394,8]]},"624":{"position":[[230,9],[379,10]]},"705":{"position":[[1343,9]]},"871":{"position":[[798,8]]},"903":{"position":[[498,8],[621,8]]},"981":{"position":[[57,10],[667,8],[1265,8]]},"1005":{"position":[[22,8]]},"1316":{"position":[[333,8],[1363,8]]}},"keywords":{}}],["prototyp",{"_index":534,"title":{"805":{"position":[[0,11]]}},"content":{"34":{"position":[[298,12]]},"662":{"position":[[1140,11]]},"701":{"position":[[44,10]]},"772":{"position":[[2065,10]]},"784":{"position":[[827,10]]},"805":{"position":[[5,10],[73,9],[135,9],[252,10]]},"806":{"position":[[52,9]]},"1157":{"position":[[468,11]]},"1271":{"position":[[528,10]]}},"keywords":{}}],["prove",{"_index":1195,"title":{},"content":{"170":{"position":[[602,6]]},"289":{"position":[[1804,6]]},"354":{"position":[[663,5]]}},"keywords":{}}],["proven",{"_index":253,"title":{"386":{"position":[[0,6]]}},"content":{"15":{"position":[[240,6],[465,6]]},"1199":{"position":[[13,6]]}},"keywords":{}}],["provid",{"_index":293,"title":{"751":{"position":[[0,9]]}},"content":{"17":{"position":[[299,8]]},"18":{"position":[[128,8]]},"21":{"position":[[56,8]]},"22":{"position":[[178,9]]},"28":{"position":[[254,8]]},"33":{"position":[[57,9]]},"34":{"position":[[543,8]]},"35":{"position":[[70,8],[374,7]]},"40":{"position":[[201,8]]},"42":{"position":[[10,8],[205,9]]},"46":{"position":[[110,8]]},"73":{"position":[[79,7]]},"79":{"position":[[6,8]]},"84":{"position":[[312,8],[345,8]]},"87":{"position":[[205,8]]},"90":{"position":[[289,9]]},"99":{"position":[[294,7]]},"101":{"position":[[163,7]]},"103":{"position":[[6,8]]},"106":{"position":[[51,9]]},"110":{"position":[[97,8]]},"114":{"position":[[325,8],[358,8]]},"116":{"position":[[196,8]]},"117":{"position":[[56,9]]},"118":{"position":[[182,7]]},"120":{"position":[[211,8]]},"123":{"position":[[6,8]]},"125":{"position":[[6,8],[280,9]]},"130":{"position":[[9,8]]},"131":{"position":[[487,8],[777,8]]},"132":{"position":[[120,8]]},"134":{"position":[[267,8]]},"136":{"position":[[6,8]]},"139":{"position":[[6,8]]},"145":{"position":[[235,7]]},"146":{"position":[[6,8],[317,8]]},"147":{"position":[[167,8]]},"148":{"position":[[271,7]]},"149":{"position":[[325,8],[358,8]]},"152":{"position":[[64,9]]},"155":{"position":[[85,8]]},"156":{"position":[[96,7]]},"158":{"position":[[81,8]]},"162":{"position":[[6,8],[299,9]]},"165":{"position":[[6,8]]},"167":{"position":[[53,8]]},"169":{"position":[[52,8]]},"170":{"position":[[6,8]]},"174":{"position":[[762,8],[1805,8],[2291,9],[2614,8]]},"175":{"position":[[318,8]]},"177":{"position":[[217,8]]},"178":{"position":[[56,9]]},"181":{"position":[[111,8]]},"184":{"position":[[82,8]]},"189":{"position":[[212,8],[569,7]]},"191":{"position":[[275,9]]},"192":{"position":[[6,8]]},"196":{"position":[[6,8]]},"198":{"position":[[426,7]]},"205":{"position":[[399,9]]},"217":{"position":[[231,7]]},"219":{"position":[[20,7],[322,8]]},"221":{"position":[[264,9]]},"223":{"position":[[160,7]]},"226":{"position":[[362,7]]},"229":{"position":[[101,8]]},"231":{"position":[[210,8]]},"232":{"position":[[85,8]]},"236":{"position":[[6,8]]},"239":{"position":[[6,8]]},"240":{"position":[[153,9]]},"266":{"position":[[329,9]]},"267":{"position":[[422,9],[1052,9],[1365,7],[1567,8]]},"269":{"position":[[324,7]]},"270":{"position":[[170,7]]},"274":{"position":[[177,9]]},"277":{"position":[[199,7]]},"287":{"position":[[66,8],[1044,7]]},"288":{"position":[[203,8]]},"289":{"position":[[1249,8]]},"290":{"position":[[234,9]]},"295":{"position":[[294,8]]},"300":{"position":[[472,7]]},"318":{"position":[[147,8]]},"320":{"position":[[8,8]]},"322":{"position":[[87,7]]},"329":{"position":[[33,8]]},"331":{"position":[[329,9]]},"347":{"position":[[325,8]]},"362":{"position":[[742,7],[1396,8]]},"367":{"position":[[297,8]]},"368":{"position":[[350,9]]},"369":{"position":[[1251,7]]},"372":{"position":[[139,9]]},"381":{"position":[[366,8]]},"386":{"position":[[284,8]]},"390":{"position":[[1805,7]]},"392":{"position":[[2367,8]]},"393":{"position":[[312,8]]},"396":{"position":[[1936,8]]},"408":{"position":[[2056,9],[2216,7]]},"410":{"position":[[173,7]]},"411":{"position":[[5376,9]]},"412":{"position":[[11680,9],[11755,7]]},"417":{"position":[[306,9]]},"420":{"position":[[1569,7]]},"424":{"position":[[376,8]]},"430":{"position":[[291,7]]},"432":{"position":[[1210,9]]},"433":{"position":[[67,8]]},"436":{"position":[[237,9]]},"439":{"position":[[436,8]]},"444":{"position":[[509,9]]},"445":{"position":[[228,8]]},"446":{"position":[[1051,7]]},"451":{"position":[[103,8]]},"494":{"position":[[219,8]]},"511":{"position":[[325,8],[358,8]]},"517":{"position":[[130,8]]},"519":{"position":[[261,9]]},"520":{"position":[[226,7],[425,8]]},"521":{"position":[[493,9]]},"523":{"position":[[24,8]]},"524":{"position":[[334,9]]},"527":{"position":[[81,8]]},"529":{"position":[[164,8]]},"531":{"position":[[325,8],[358,8]]},"533":{"position":[[100,8]]},"535":{"position":[[732,7]]},"538":{"position":[[6,8]]},"540":{"position":[[16,9]]},"542":{"position":[[946,8]]},"560":{"position":[[176,7]]},"564":{"position":[[148,8],[532,7]]},"565":{"position":[[67,8]]},"575":{"position":[[218,9]]},"576":{"position":[[347,9]]},"579":{"position":[[888,9]]},"582":{"position":[[556,8]]},"591":{"position":[[325,8]]},"593":{"position":[[100,8]]},"595":{"position":[[753,7]]},"598":{"position":[[6,8]]},"600":{"position":[[16,9]]},"611":{"position":[[12,7],[1379,8]]},"612":{"position":[[26,7]]},"619":{"position":[[280,8]]},"621":{"position":[[214,8]]},"635":{"position":[[316,8]]},"693":{"position":[[295,8]]},"702":{"position":[[617,7]]},"703":{"position":[[846,7]]},"715":{"position":[[104,7],[370,9]]},"723":{"position":[[303,9]]},"746":{"position":[[202,7]]},"749":{"position":[[23973,7],[24249,8]]},"751":{"position":[[44,7]]},"760":{"position":[[225,9]]},"772":{"position":[[123,8]]},"775":{"position":[[200,8]]},"781":{"position":[[668,7]]},"782":{"position":[[212,8]]},"802":{"position":[[415,7]]},"829":{"position":[[882,9],[988,8],[1134,8],[2194,8],[3088,8]]},"830":{"position":[[15,9]]},"836":{"position":[[858,7]]},"838":{"position":[[3281,8]]},"846":{"position":[[456,8]]},"854":{"position":[[879,9]]},"860":{"position":[[295,8]]},"886":{"position":[[4661,7],[4776,9]]},"889":{"position":[[816,8]]},"894":{"position":[[70,8]]},"904":{"position":[[1533,7],[2651,8]]},"906":{"position":[[525,8]]},"912":{"position":[[241,9]]},"945":{"position":[[270,9]]},"968":{"position":[[194,7]]},"985":{"position":[[180,7]]},"988":{"position":[[2132,9]]},"1072":{"position":[[1032,7],[1268,7]]},"1076":{"position":[[97,7]]},"1085":{"position":[[2636,7]]},"1101":{"position":[[364,8]]},"1102":{"position":[[761,8]]},"1104":{"position":[[107,8]]},"1132":{"position":[[985,9]]},"1140":{"position":[[25,8],[421,9]]},"1147":{"position":[[168,8]]},"1148":{"position":[[42,8]]},"1150":{"position":[[192,8]]},"1164":{"position":[[21,8]]},"1206":{"position":[[266,8]]},"1209":{"position":[[44,8]]},"1215":{"position":[[158,8]]},"1247":{"position":[[306,8],[479,8],[666,8]]},"1289":{"position":[[23,7]]}},"keywords":{}}],["prowess",{"_index":3230,"title":{},"content":{"502":{"position":[[1165,7]]}},"keywords":{}}],["proxi",{"_index":3629,"title":{"619":{"position":[[0,7]]},"1040":{"position":[[0,5]]}},"content":{"616":{"position":[[915,7]]},"617":{"position":[[683,6],[692,5],[752,6]]},"619":{"position":[[191,7]]},"627":{"position":[[105,7]]},"749":{"position":[[12123,5]]},"849":{"position":[[626,5],[812,8]]},"1018":{"position":[[441,5]]}},"keywords":{}}],["proxim",{"_index":2142,"title":{},"content":{"376":{"position":[[60,9]]},"390":{"position":[[1361,9]]}},"keywords":{}}],["proxy_add_x_forward",{"_index":4857,"title":{},"content":{"849":{"position":[[1062,22]]}},"keywords":{}}],["proxy_buff",{"_index":4854,"title":{},"content":{"849":{"position":[[979,15]]}},"keywords":{}}],["proxy_pass",{"_index":4851,"title":{},"content":{"849":{"position":[[925,10]]}},"keywords":{}}],["proxy_redirect",{"_index":4853,"title":{},"content":{"849":{"position":[[959,14]]}},"keywords":{}}],["proxy_set_head",{"_index":4855,"title":{},"content":{"849":{"position":[[1000,16],[1029,16],[1085,16]]}},"keywords":{}}],["pseudo",{"_index":3042,"title":{},"content":{"464":{"position":[[194,6]]},"1018":{"position":[[434,6]]}},"keywords":{}}],["pub.dev",{"_index":1270,"title":{},"content":{"188":{"position":[[2160,8]]}},"keywords":{}}],["public",{"_index":2198,"title":{},"content":{"390":{"position":[[1095,6]]},"898":{"position":[[1409,11],[1458,11]]}},"keywords":{}}],["public.human",{"_index":5206,"title":{},"content":{"898":{"position":[[1306,13]]}},"keywords":{}}],["publish",{"_index":1269,"title":{},"content":{"188":{"position":[[2138,9]]}},"keywords":{}}],["pubspec.yaml",{"_index":1267,"title":{},"content":{"188":{"position":[[1909,13],[2277,12]]}},"keywords":{}}],["pull",{"_index":1024,"title":{"1005":{"position":[[0,4]]}},"content":{"99":{"position":[[116,5]]},"208":{"position":[[124,5]]},"209":{"position":[[977,5]]},"255":{"position":[[95,5],[1312,5]]},"261":{"position":[[778,5],[800,4]]},"412":{"position":[[2635,6],[6704,7],[8305,7]]},"481":{"position":[[69,5],[725,5]]},"494":{"position":[[518,5]]},"571":{"position":[[526,4]]},"582":{"position":[[379,7]]},"630":{"position":[[850,4]]},"632":{"position":[[42,7],[2310,4],[2357,5]]},"650":{"position":[[109,4]]},"668":{"position":[[15,4]]},"679":{"position":[[116,4]]},"739":{"position":[[62,6],[118,7]]},"749":{"position":[[493,4],[15488,4],[15622,4],[22481,4]]},"756":{"position":[[370,4],[445,4]]},"846":{"position":[[639,5],[770,6]]},"848":{"position":[[860,5],[1542,5]]},"852":{"position":[[330,5]]},"854":{"position":[[842,4],[984,5]]},"858":{"position":[[320,5]]},"862":{"position":[[1381,5]]},"866":{"position":[[850,5]]},"872":{"position":[[2578,5],[4594,5]]},"875":{"position":[[563,5],[1284,4],[1348,4],[1733,4],[2901,4],[3134,5],[6550,4],[8443,5],[9304,4],[9742,5]]},"878":{"position":[[547,5]]},"886":{"position":[[1,4],[28,4],[432,4],[897,4],[1136,5],[1259,6],[3181,5],[3218,4],[3287,4],[3304,5],[3346,4],[4149,5],[5035,4]]},"887":{"position":[[181,6],[402,5]]},"888":{"position":[[543,5]]},"889":{"position":[[757,5]]},"897":{"position":[[120,5]]},"898":{"position":[[652,4],[2011,4],[3458,5],[3635,4]]},"904":{"position":[[3088,5]]},"907":{"position":[[365,5]]},"911":{"position":[[833,5]]},"982":{"position":[[285,5]]},"984":{"position":[[193,6]]},"985":{"position":[[377,4]]},"986":{"position":[[1596,4]]},"988":{"position":[[3485,5],[3499,4],[3886,6],[4236,4],[4540,6],[4894,4]]},"990":{"position":[[966,4]]},"993":{"position":[[390,4]]},"1002":{"position":[[947,4],[1108,4],[1322,5]]},"1004":{"position":[[667,6]]},"1005":{"position":[[52,4],[89,6],[236,4]]},"1007":{"position":[[513,4],[1462,5]]},"1010":{"position":[[188,4]]},"1101":{"position":[[805,5]]},"1121":{"position":[[751,5]]},"1135":{"position":[[347,4]]},"1309":{"position":[[222,4]]}},"keywords":{}}],["pull.filt",{"_index":4886,"title":{},"content":{"858":{"position":[[135,11],[537,11]]}},"keywords":{}}],["pull.handl",{"_index":5005,"title":{},"content":{"875":{"position":[[2940,12]]},"888":{"position":[[715,13]]}},"keywords":{}}],["pull.initialcheckpoint",{"_index":5539,"title":{},"content":{"1002":{"position":[[800,23]]}},"keywords":{}}],["pull.modifi",{"_index":5228,"title":{},"content":{"898":{"position":[[4416,13]]},"1009":{"position":[[980,14]]}},"keywords":{}}],["pull.responsemodifi",{"_index":5153,"title":{"888":{"position":[[0,22]]}},"content":{"888":{"position":[[10,21]]}},"keywords":{}}],["pull.stream",{"_index":5016,"title":{},"content":{"875":{"position":[[4235,13],[4363,12],[7835,12],[8814,13]]},"876":{"position":[[316,12]]},"888":{"position":[[761,11]]},"996":{"position":[[161,12]]},"1107":{"position":[[330,12]]}},"keywords":{}}],["pull/push",{"_index":6084,"title":{},"content":{"1149":{"position":[[428,9]]}},"keywords":{}}],["pullhandl",{"_index":5440,"title":{},"content":{"983":{"position":[[189,11],[862,13]]},"984":{"position":[[257,14]]},"986":{"position":[[1261,14]]}},"keywords":{}}],["pullhuman",{"_index":5090,"title":{},"content":{"885":{"position":[[1427,9],[1480,10]]},"886":{"position":[[798,12],[1714,11]]}},"keywords":{}}],["pullhuman($checkpoint",{"_index":5117,"title":{},"content":{"886":{"position":[[581,22]]}},"keywords":{}}],["pullhuman(checkpoint",{"_index":5082,"title":{},"content":{"885":{"position":[[846,21]]},"886":{"position":[[637,21]]}},"keywords":{}}],["pullquerybuild",{"_index":5115,"title":{},"content":{"886":{"position":[[63,17],[369,16],[1158,17],[4187,17]]},"887":{"position":[[424,17]]}},"keywords":{}}],["pullquerybuilderfromrxschema",{"_index":5167,"title":{},"content":{"889":{"position":[[875,31]]}},"keywords":{}}],["pullstream",{"_index":5015,"title":{},"content":{"875":{"position":[[4196,11],[4409,11],[6511,11],[6886,10],[6935,11],[7577,11],[7756,11],[8517,11]]},"983":{"position":[[1010,11]]},"985":{"position":[[92,11],[195,11],[493,11],[547,11]]},"988":{"position":[[5071,11]]}},"keywords":{}}],["pullstream$.asobserv",{"_index":5473,"title":{},"content":{"988":{"position":[[4841,26]]}},"keywords":{}}],["pullstream$.next('resync",{"_index":5485,"title":{},"content":{"988":{"position":[[6131,27]]}},"keywords":{}}],["pullstream$.next(event.data",{"_index":5480,"title":{},"content":{"988":{"position":[[5573,29]]}},"keywords":{}}],["pullstream$.subscribe(ev",{"_index":5043,"title":{},"content":{"875":{"position":[[7402,27]]}},"keywords":{}}],["pullstreambuilderfromrxschema",{"_index":5168,"title":{},"content":{"889":{"position":[[907,31]]}},"keywords":{}}],["pullstreamquerybuild",{"_index":5134,"title":{},"content":{"886":{"position":[[3466,22],[3737,22],[4225,23]]}},"keywords":{}}],["punch",{"_index":5237,"title":{},"content":{"901":{"position":[[339,5]]}},"keywords":{}}],["purchas",{"_index":1891,"title":{},"content":{"314":{"position":[[999,8]]},"420":{"position":[[1069,8]]},"662":{"position":[[1059,10]]},"710":{"position":[[889,10]]},"724":{"position":[[66,9]]},"749":{"position":[[9344,9]]},"838":{"position":[[1547,10]]},"958":{"position":[[652,8]]},"1129":{"position":[[55,10]]},"1141":{"position":[[55,10]]},"1210":{"position":[[271,10]]}},"keywords":{}}],["pure",{"_index":1582,"title":{},"content":{"261":{"position":[[66,4]]},"354":{"position":[[1006,6]]},"412":{"position":[[6575,6],[8417,6]]},"414":{"position":[[250,6]]},"476":{"position":[[21,6]]},"566":{"position":[[1066,6]]},"839":{"position":[[1213,6]]},"1219":{"position":[[636,4]]}},"keywords":{}}],["purg",{"_index":3748,"title":{},"content":{"653":{"position":[[442,6]]},"654":{"position":[[338,5]]},"655":{"position":[[71,7],[361,5],[456,5]]},"837":{"position":[[482,5]]},"1047":{"position":[[74,5],[189,5]]},"1198":{"position":[[557,7]]}},"keywords":{}}],["purpos",{"_index":2913,"title":{},"content":{"434":{"position":[[387,8]]},"554":{"position":[[356,9]]},"614":{"position":[[979,7]]},"749":{"position":[[5749,7]]},"829":{"position":[[3074,8]]},"875":{"position":[[9024,7]]},"906":{"position":[[322,8]]},"1316":{"position":[[2045,8],[3682,7]]}},"keywords":{}}],["purposes.sqlit",{"_index":3286,"title":{},"content":{"524":{"position":[[578,15]]}},"keywords":{}}],["pursuit",{"_index":2137,"title":{},"content":{"373":{"position":[[710,7]]}},"keywords":{}}],["push",{"_index":347,"title":{},"content":{"20":{"position":[[40,6]]},"99":{"position":[[73,6]]},"209":{"position":[[711,5]]},"226":{"position":[[69,6]]},"255":{"position":[[1063,5]]},"261":{"position":[[812,5],[833,4]]},"408":{"position":[[5,4]]},"410":{"position":[[1756,4]]},"412":{"position":[[2676,7],[4727,6]]},"476":{"position":[[110,4]]},"481":{"position":[[30,6],[768,5]]},"491":{"position":[[287,6],[1282,6]]},"496":{"position":[[721,4],[766,4]]},"510":{"position":[[542,4]]},"571":{"position":[[521,4]]},"582":{"position":[[345,6]]},"584":{"position":[[152,6]]},"610":{"position":[[158,4]]},"612":{"position":[[52,4]]},"618":{"position":[[544,4],[637,4]]},"630":{"position":[[842,4]]},"632":{"position":[[74,7],[2336,4],[2494,5]]},"749":{"position":[[485,4],[15754,4],[15892,4]]},"781":{"position":[[476,4]]},"846":{"position":[[1076,5]]},"848":{"position":[[870,5],[1552,5]]},"852":{"position":[[340,5]]},"854":{"position":[[833,4],[994,5]]},"858":{"position":[[374,5]]},"862":{"position":[[1407,5]]},"863":{"position":[[367,4]]},"866":{"position":[[875,5]]},"871":{"position":[[178,6]]},"872":{"position":[[2603,5],[4619,5]]},"875":{"position":[[522,5],[3565,4],[5719,4],[5979,4],[6002,4],[6178,5]]},"878":{"position":[[537,5]]},"885":{"position":[[258,4]]},"886":{"position":[[2058,4],[2085,4],[2598,4],[2768,5],[2900,6],[3000,6],[4044,5]]},"887":{"position":[[383,5]]},"888":{"position":[[524,5]]},"889":{"position":[[48,4],[573,5]]},"898":{"position":[[1983,4],[3871,5]]},"904":{"position":[[3098,5]]},"907":{"position":[[375,5]]},"911":{"position":[[843,5]]},"982":{"position":[[160,4],[370,6]]},"986":{"position":[[1605,4]]},"988":{"position":[[2386,5],[2400,4],[2444,4],[2767,5],[2969,4],[3066,4],[3170,4]]},"990":{"position":[[974,5]]},"993":{"position":[[378,4]]},"1002":{"position":[[17,4],[76,4],[202,4],[455,4],[668,5]]},"1004":{"position":[[234,4],[261,6],[530,6]]},"1005":{"position":[[119,6]]},"1007":{"position":[[588,4],[1626,5]]},"1101":{"position":[[795,5]]},"1121":{"position":[[761,5]]},"1308":{"position":[[607,6]]},"1309":{"position":[[229,4],[653,6]]}},"keywords":{}}],["push.filt",{"_index":4885,"title":{},"content":{"858":{"position":[[119,11]]}},"keywords":{}}],["push.handl",{"_index":5013,"title":{},"content":{"875":{"position":[[3647,13],[6039,12]]}},"keywords":{}}],["push.initialcheckpoint",{"_index":5536,"title":{},"content":{"1002":{"position":[[141,23]]}},"keywords":{}}],["push.responsemodifi",{"_index":5160,"title":{"889":{"position":[[0,22]]}},"content":{},"keywords":{}}],["push/pul",{"_index":953,"title":{"68":{"position":[[0,9]]},"99":{"position":[[0,9]]},"226":{"position":[[0,9]]}},"content":{"68":{"position":[[27,9]]},"99":{"position":[[35,9]]},"226":{"position":[[35,9]]},"360":{"position":[[475,9]]},"986":{"position":[[634,9]]}},"keywords":{}}],["pushes/pul",{"_index":2611,"title":{},"content":{"411":{"position":[[1453,12]]}},"keywords":{}}],["pushhandl",{"_index":5444,"title":{},"content":{"983":{"position":[[940,13]]},"987":{"position":[[343,14]]}},"keywords":{}}],["pushhuman",{"_index":5133,"title":{},"content":{"886":{"position":[[2522,12]]}},"keywords":{}}],["pushhuman($writerow",{"_index":5130,"title":{},"content":{"886":{"position":[[2334,21]]}},"keywords":{}}],["pushhuman(row",{"_index":5087,"title":{},"content":{"885":{"position":[[1168,15]]},"889":{"position":[[327,15]]}},"keywords":{}}],["pushhuman(writerow",{"_index":5131,"title":{},"content":{"886":{"position":[[2380,20]]}},"keywords":{}}],["pushing/pul",{"_index":5253,"title":{},"content":{"903":{"position":[[520,15]]}},"keywords":{}}],["pushquerybuild",{"_index":5129,"title":{},"content":{"886":{"position":[[2277,16],[2790,17],[4082,16]]}},"keywords":{}}],["pushquerybuilderfromrxschema",{"_index":5169,"title":{},"content":{"889":{"position":[[943,30]]}},"keywords":{}}],["pushrespons",{"_index":5161,"title":{},"content":{"889":{"position":[[141,12],[252,12],[366,13]]}},"keywords":{}}],["put",{"_index":2733,"title":{},"content":{"412":{"position":[[9045,7]]},"454":{"position":[[918,3]]},"458":{"position":[[381,4]]},"616":{"position":[[776,3]]},"851":{"position":[[194,3],[392,5]]},"988":{"position":[[477,3]]},"1088":{"position":[[733,3]]},"1089":{"position":[[52,3]]},"1226":{"position":[[421,3]]},"1264":{"position":[[331,3]]}},"keywords":{}}],["putattach",{"_index":5287,"title":{"917":{"position":[[0,16]]}},"content":{"918":{"position":[[9,15]]}},"keywords":{}}],["putattachmentbase64",{"_index":5293,"title":{"918":{"position":[[0,22]]}},"content":{"917":{"position":[[566,21]]}},"keywords":{}}],["pwa",{"_index":2141,"title":{"499":{"position":[[44,5]]},"501":{"position":[[47,5]]}},"content":{"375":{"position":[[911,7]]},"384":{"position":[[128,3]]},"500":{"position":[[245,4],[360,4],[633,4],[705,4]]},"501":{"position":[[17,4],[348,5]]},"502":{"position":[[212,5],[319,4],[415,4],[743,4],[1272,4]]},"503":{"position":[[250,4]]},"504":{"position":[[524,4],[567,3],[643,3],[1252,4]]},"506":{"position":[[15,4]]},"507":{"position":[[48,5]]},"508":{"position":[[133,4]]},"509":{"position":[[42,4]]},"510":{"position":[[186,4],[419,5],[457,4],[666,4]]},"584":{"position":[[242,6]]},"783":{"position":[[361,4]]},"1302":{"position":[[113,3]]}},"keywords":{}}],["python",{"_index":1543,"title":{},"content":{"249":{"position":[[129,7]]}},"keywords":{}}],["qa",{"_index":1788,"title":{},"content":{"301":{"position":[[528,3]]}},"keywords":{}}],["qu1",{"_index":4152,"title":{},"content":{"749":{"position":[[1651,3]]}},"keywords":{}}],["qu10",{"_index":4163,"title":{},"content":{"749":{"position":[[2200,4]]}},"keywords":{}}],["qu11",{"_index":4164,"title":{},"content":{"749":{"position":[[2294,4]]}},"keywords":{}}],["qu12",{"_index":4167,"title":{},"content":{"749":{"position":[[2387,4]]}},"keywords":{}}],["qu13",{"_index":4168,"title":{},"content":{"749":{"position":[[2472,4]]}},"keywords":{}}],["qu14",{"_index":4169,"title":{},"content":{"749":{"position":[[2589,4]]}},"keywords":{}}],["qu15",{"_index":4171,"title":{},"content":{"749":{"position":[[2830,4]]}},"keywords":{}}],["qu16",{"_index":4172,"title":{},"content":{"749":{"position":[[2943,4]]}},"keywords":{}}],["qu17",{"_index":4175,"title":{},"content":{"749":{"position":[[3176,4]]}},"keywords":{}}],["qu18",{"_index":4177,"title":{},"content":{"749":{"position":[[3296,4]]}},"keywords":{}}],["qu19",{"_index":4180,"title":{},"content":{"749":{"position":[[3652,4]]}},"keywords":{}}],["qu4",{"_index":4155,"title":{},"content":{"749":{"position":[[1748,3]]}},"keywords":{}}],["qu5",{"_index":4157,"title":{},"content":{"749":{"position":[[1865,3]]}},"keywords":{}}],["qu6",{"_index":4159,"title":{},"content":{"749":{"position":[[1991,3]]}},"keywords":{}}],["qu9",{"_index":4161,"title":{},"content":{"749":{"position":[[2094,3]]}},"keywords":{}}],["qualiti",{"_index":1420,"title":{},"content":{"232":{"position":[[201,7]]},"387":{"position":[[372,9]]}},"keywords":{}}],["quarter",{"_index":6453,"title":{},"content":{"1295":{"position":[[1080,7]]}},"keywords":{}}],["queri",{"_index":273,"title":{"53":{"position":[[9,7]]},"77":{"position":[[11,7]]},"78":{"position":[[19,7]]},"92":{"position":[[8,7]]},"103":{"position":[[11,7]]},"108":{"position":[[19,7]]},"124":{"position":[[11,8]]},"130":{"position":[[46,6]]},"159":{"position":[[11,8]]},"185":{"position":[[11,8]]},"205":{"position":[[18,8]]},"220":{"position":[[18,8]]},"233":{"position":[[11,7]]},"234":{"position":[[19,7]]},"252":{"position":[[16,5]]},"270":{"position":[[12,8]]},"275":{"position":[[11,8]]},"276":{"position":[[6,5]]},"329":{"position":[[11,8]]},"400":{"position":[[19,5]]},"518":{"position":[[11,8]]},"540":{"position":[[9,7]]},"555":{"position":[[17,8]]},"585":{"position":[[11,7]]},"600":{"position":[[9,7]]},"714":{"position":[[0,8]]},"796":{"position":[[9,5]]},"799":{"position":[[7,5]]},"801":{"position":[[8,7]]},"817":{"position":[[20,8]]},"819":{"position":[[0,5]]},"1064":{"position":[[0,5]]},"1065":{"position":[[0,5]]},"1105":{"position":[[0,5]]},"1110":{"position":[[7,7]]},"1150":{"position":[[21,8]]},"1238":{"position":[[5,5]]},"1252":{"position":[[12,8]]},"1315":{"position":[[11,7]]},"1321":{"position":[[8,5]]}},"content":{"16":{"position":[[252,5],[556,7]]},"17":{"position":[[447,5]]},"19":{"position":[[299,5],[347,7],[633,5],[805,5]]},"22":{"position":[[250,7]]},"23":{"position":[[452,5]]},"25":{"position":[[125,5],[187,5]]},"28":{"position":[[149,8]]},"32":{"position":[[138,5]]},"33":{"position":[[247,7],[359,7],[649,7]]},"34":{"position":[[179,7],[559,5],[617,5]]},"35":{"position":[[405,8],[672,9]]},"39":{"position":[[373,5]]},"40":{"position":[[548,8],[675,5]]},"45":{"position":[[264,5]]},"46":{"position":[[575,7],[663,7]]},"47":{"position":[[439,5],[469,7]]},"56":{"position":[[138,8]]},"64":{"position":[[149,8]]},"65":{"position":[[1022,8],[1044,7]]},"77":{"position":[[31,7],[204,5]]},"91":{"position":[[34,5],[77,7]]},"92":{"position":[[50,7],[160,5]]},"103":{"position":[[26,8],[244,5]]},"108":{"position":[[61,8],[162,5]]},"120":{"position":[[341,5]]},"124":{"position":[[24,8],[71,8],[114,7],[214,8]]},"130":{"position":[[211,5],[354,6],[506,5]]},"138":{"position":[[12,5],[146,5]]},"159":{"position":[[43,8],[93,8],[124,8],[175,7]]},"166":{"position":[[162,5]]},"173":{"position":[[1907,8],[1958,7],[2138,5],[2485,7],[2545,7]]},"174":{"position":[[174,7],[274,7],[1521,7],[1626,8],[1694,5],[1733,5]]},"182":{"position":[[234,7]]},"185":{"position":[[43,8],[62,7],[250,6]]},"188":{"position":[[3022,5],[3057,5],[3124,5],[3216,5]]},"194":{"position":[[42,5],[189,7]]},"197":{"position":[[203,5]]},"204":{"position":[[51,5],[160,7]]},"205":{"position":[[44,8],[316,5]]},"212":{"position":[[210,8],[246,7]]},"220":{"position":[[39,7],[139,6],[168,7]]},"224":{"position":[[193,7]]},"227":{"position":[[340,7]]},"233":{"position":[[43,8],[80,7]]},"234":{"position":[[25,7],[304,5]]},"251":{"position":[[11,7],[61,7]]},"252":{"position":[[13,5],[203,8],[327,5]]},"260":{"position":[[207,7]]},"262":{"position":[[203,5],[324,8],[345,5],[457,7]]},"263":{"position":[[215,8]]},"266":{"position":[[876,5]]},"270":{"position":[[13,8]]},"275":{"position":[[69,8]]},"276":{"position":[[14,5],[60,7],[270,5]]},"283":{"position":[[126,5]]},"322":{"position":[[200,5]]},"323":{"position":[[414,8],[464,7]]},"329":{"position":[[19,8],[53,8],[90,5]]},"335":{"position":[[43,5]]},"338":{"position":[[75,5]]},"342":{"position":[[30,7],[124,5]]},"346":{"position":[[275,7],[841,5]]},"354":{"position":[[701,8],[850,8],[1448,8]]},"356":{"position":[[649,7]]},"357":{"position":[[199,7]]},"360":{"position":[[221,7],[275,5],[315,5]]},"362":{"position":[[283,7],[875,8]]},"366":{"position":[[231,7],[366,5],[615,6]]},"368":{"position":[[245,8],[291,7]]},"369":{"position":[[120,9],[173,8],[412,5],[1195,7]]},"376":{"position":[[90,7],[501,8]]},"383":{"position":[[293,5]]},"390":{"position":[[71,8],[438,5],[679,5],[1011,9],[1256,6],[1277,5]]},"393":{"position":[[608,5],[1145,5]]},"394":{"position":[[124,5],[182,6],[400,5]]},"395":{"position":[[139,6],[233,7]]},"396":{"position":[[61,5]]},"398":{"position":[[423,8],[465,5],[1753,5],[3517,5]]},"400":{"position":[[1,5],[155,5],[274,7],[564,5],[754,5]]},"402":{"position":[[627,5],[1037,5],[1094,7],[1400,7],[1664,5],[2233,6]]},"404":{"position":[[615,5],[703,8],[765,5],[861,7],[912,5]]},"408":{"position":[[5117,5],[5221,7]]},"410":{"position":[[212,8]]},"411":{"position":[[673,7],[2302,7],[2715,8],[2856,8],[3000,5],[3234,7],[3345,5],[3491,5],[3560,5],[3672,5]]},"412":{"position":[[9103,5],[9517,5],[10618,5],[12668,5],[13430,8],[13591,7],[13975,5],[14140,7],[14305,8]]},"420":{"position":[[310,6]]},"430":{"position":[[226,8],[313,8]]},"432":{"position":[[458,9],[481,7],[645,7],[1132,7]]},"441":{"position":[[327,9]]},"442":{"position":[[24,5]]},"452":{"position":[[282,7]]},"453":{"position":[[743,5],[840,8]]},"455":{"position":[[177,5]]},"457":{"position":[[355,7],[629,7]]},"459":{"position":[[194,8]]},"468":{"position":[[274,7]]},"469":{"position":[[841,5],[1023,5]]},"479":{"position":[[154,7]]},"480":{"position":[[90,6]]},"483":{"position":[[322,7]]},"490":{"position":[[169,5],[581,8],[651,5]]},"494":{"position":[[555,6]]},"502":{"position":[[614,8],[635,7],[653,8],[734,8],[1057,5]]},"510":{"position":[[281,8]]},"518":{"position":[[87,8],[151,8],[202,5],[265,7],[524,5]]},"523":{"position":[[294,5],[383,5]]},"527":{"position":[[149,5]]},"534":{"position":[[617,7]]},"535":{"position":[[382,5],[409,5],[474,8],[531,5],[818,5]]},"540":{"position":[[136,7]]},"541":{"position":[[340,5],[352,5]]},"542":{"position":[[701,7]]},"548":{"position":[[348,8]]},"555":{"position":[[162,8],[385,5],[720,5],[811,7],[944,7]]},"556":{"position":[[1357,8]]},"559":{"position":[[1172,8]]},"560":{"position":[[702,8]]},"562":{"position":[[630,5],[747,8],[801,5],[941,8],[1193,5],[1223,7],[1627,8]]},"563":{"position":[[633,5]]},"566":{"position":[[199,5],[291,8],[346,5],[372,8]]},"571":{"position":[[715,5],[770,5],[827,5],[1087,5]]},"574":{"position":[[567,7]]},"575":{"position":[[629,8],[698,7]]},"580":{"position":[[6,7],[484,5],[630,5]]},"585":{"position":[[36,7]]},"587":{"position":[[69,7]]},"590":{"position":[[589,7],[615,5]]},"594":{"position":[[615,7]]},"595":{"position":[[386,5],[410,5],[437,5],[502,8],[551,8],[905,7]]},"600":{"position":[[103,7]]},"601":{"position":[[561,5],[573,5],[619,5]]},"602":{"position":[[150,7]]},"608":{"position":[[346,8]]},"630":{"position":[[540,9]]},"631":{"position":[[256,7]]},"632":{"position":[[282,7],[1694,5]]},"642":{"position":[[239,7]]},"659":{"position":[[772,5],[836,7]]},"661":{"position":[[143,5],[1535,7]]},"662":{"position":[[172,5],[468,5],[2656,6],[2759,6]]},"683":{"position":[[671,5]]},"686":{"position":[[316,5]]},"693":{"position":[[638,5]]},"698":{"position":[[545,5]]},"699":{"position":[[696,5]]},"701":{"position":[[563,5]]},"704":{"position":[[42,5]]},"705":{"position":[[554,7],[663,5],[1035,7]]},"709":{"position":[[772,8]]},"710":{"position":[[206,5],[1964,5],[2067,5]]},"711":{"position":[[195,5],[613,7],[1505,7],[1766,7],[1994,7],[2190,7]]},"714":{"position":[[464,8],[539,8],[578,7],[740,8],[920,6],[1119,5]]},"723":{"position":[[245,8],[528,7],[691,7],[784,8],[2063,5],[2138,8]]},"724":{"position":[[1254,6],[1340,6]]},"746":{"position":[[723,6]]},"749":{"position":[[2141,7],[2317,5],[2502,5],[2612,5],[2668,5],[2845,7],[2955,7],[3189,7],[3311,5],[3657,7],[10895,5],[14673,5]]},"772":{"position":[[321,5],[991,5]]},"775":{"position":[[478,7]]},"780":{"position":[[775,7]]},"781":{"position":[[776,5]]},"784":{"position":[[710,6]]},"786":{"position":[[24,5]]},"793":{"position":[[942,5],[1194,5]]},"796":{"position":[[18,8],[95,8],[177,5],[283,5],[344,5],[640,5],[782,5],[1042,5]]},"797":{"position":[[14,5],[126,7]]},"798":{"position":[[351,5],[534,5],[844,5],[966,5]]},"799":{"position":[[10,5],[101,5],[179,5],[433,5],[467,5],[672,5]]},"800":{"position":[[441,8],[534,5]]},"801":{"position":[[684,8],[944,5]]},"815":{"position":[[105,8],[188,7]]},"816":{"position":[[39,7],[69,7],[158,7],[242,7],[307,7],[391,7]]},"817":{"position":[[226,7],[269,5]]},"820":{"position":[[364,7],[448,8],[465,7],[492,5],[532,5]]},"821":{"position":[[80,7],[331,5],[713,5]]},"825":{"position":[[969,5]]},"826":{"position":[[767,5],[865,5]]},"829":{"position":[[2240,8],[2259,5],[2372,5],[2404,6],[2665,5],[2744,5],[2965,8],[3141,5],[3288,5],[3320,6],[3682,5]]},"835":{"position":[[877,5],[941,7]]},"836":{"position":[[145,5],[925,8],[1412,7],[1567,5]]},"837":{"position":[[629,5],[2076,5]]},"838":{"position":[[120,5],[201,5],[451,8],[1105,8],[2870,6],[2973,6]]},"839":{"position":[[738,7]]},"841":{"position":[[107,7],[268,5],[351,7],[370,5],[416,8],[458,8],[593,8],[1390,7]]},"857":{"position":[[223,6]]},"885":{"position":[[838,5]]},"886":{"position":[[200,5],[291,5],[566,5],[574,6],[776,6],[2250,5],[2315,5],[2500,6],[3515,5],[3691,6]]},"898":{"position":[[3640,5],[3679,5],[3738,5]]},"950":{"position":[[409,5]]},"965":{"position":[[141,5],[278,8]]},"1022":{"position":[[286,5],[918,5]]},"1023":{"position":[[579,5]]},"1033":{"position":[[115,7]]},"1047":{"position":[[171,8]]},"1055":{"position":[[104,7],[182,5]]},"1056":{"position":[[11,5],[90,5],[186,5],[306,5]]},"1057":{"position":[[60,6],[74,5],[221,8]]},"1058":{"position":[[208,5],[561,5]]},"1059":{"position":[[43,5],[218,5]]},"1060":{"position":[[65,5],[86,5]]},"1061":{"position":[[66,5],[87,5]]},"1062":{"position":[[143,5]]},"1063":{"position":[[53,6]]},"1064":{"position":[[16,5],[52,5],[86,5],[276,5],[296,5]]},"1065":{"position":[[47,7],[169,7],[470,8],[760,5],[1422,7],[1680,7],[1890,7],[1973,5]]},"1066":{"position":[[17,5],[62,5],[148,5],[248,5],[326,6],[340,5],[650,5]]},"1067":{"position":[[57,6],[130,5],[208,5],[282,5],[390,8],[616,7],[662,7],[793,5],[880,5],[975,7],[1036,7],[1276,5],[1543,5],[1670,8],[1702,5],[1897,5],[2253,8]]},"1068":{"position":[[34,8]]},"1069":{"position":[[82,5]]},"1071":{"position":[[54,5],[127,5],[155,7],[221,7],[365,5],[424,7],[526,8]]},"1072":{"position":[[61,6],[243,8],[650,8],[1084,5],[1215,8],[1302,7],[1361,7],[1555,7],[1955,7],[2456,5],[2549,6],[2634,5],[2807,7]]},"1079":{"position":[[583,5]]},"1080":{"position":[[1125,8]]},"1085":{"position":[[628,5]]},"1102":{"position":[[529,9],[1114,5]]},"1105":{"position":[[5,5],[178,5],[232,5],[307,5],[453,5],[530,5],[628,6],[699,6],[937,7]]},"1107":{"position":[[234,5],[423,6]]},"1110":{"position":[[8,7]]},"1123":{"position":[[584,8]]},"1124":{"position":[[1098,5],[1724,5]]},"1132":{"position":[[187,5],[569,8],[612,8],[774,7],[865,7],[908,7]]},"1137":{"position":[[207,7]]},"1138":{"position":[[382,7],[464,5],[490,8]]},"1143":{"position":[[394,7]]},"1149":{"position":[[333,5]]},"1150":{"position":[[72,5],[210,8],[260,7],[350,5]]},"1158":{"position":[[638,5]]},"1164":{"position":[[431,7]]},"1165":{"position":[[1026,8]]},"1170":{"position":[[1,7]]},"1174":{"position":[[514,7],[706,8]]},"1180":{"position":[[367,7]]},"1184":{"position":[[41,7],[191,7]]},"1188":{"position":[[373,7]]},"1192":{"position":[[119,7]]},"1194":{"position":[[706,6],[800,6]]},"1198":{"position":[[242,5],[543,8],[1028,7],[1282,7]]},"1209":{"position":[[490,8]]},"1222":{"position":[[652,5]]},"1238":{"position":[[101,7],[220,7]]},"1246":{"position":[[1364,5]]},"1249":{"position":[[152,5],[422,5],[439,9],[461,5],[473,5]]},"1250":{"position":[[475,5]]},"1251":{"position":[[135,5],[193,7],[308,7]]},"1252":{"position":[[27,8],[58,7],[121,5],[361,7]]},"1257":{"position":[[83,5],[110,5]]},"1271":{"position":[[483,7],[692,5]]},"1294":{"position":[[273,5],[2077,5]]},"1295":{"position":[[1200,8],[1400,5],[1421,5]]},"1296":{"position":[[21,5],[252,5]]},"1300":{"position":[[669,5]]},"1314":{"position":[[422,5]]},"1315":{"position":[[61,7],[361,5],[979,8],[1162,5],[1263,5],[1353,6],[1543,9]]},"1316":{"position":[[768,5],[971,5],[1575,8],[1615,8],[1635,5],[1680,6],[1713,8],[1734,6],[1769,7],[1815,7],[2189,5],[2389,7],[3077,5],[3275,5],[3436,6]]},"1317":{"position":[[332,5],[394,5],[474,5],[566,5],[681,7],[763,5]]},"1318":{"position":[[344,5],[368,5],[404,5],[508,5],[679,5],[747,7],[894,5],[1028,5],[1165,5]]},"1320":{"position":[[395,7]]},"1321":{"position":[[214,5],[249,5],[370,5],[465,6],[510,7],[590,5],[833,7],[918,7],[995,5],[1063,7]]},"1322":{"position":[[97,5],[315,7],[443,5]]},"1323":{"position":[[28,7]]}},"keywords":{}}],["queries.cockroach",{"_index":6579,"title":{},"content":{"1324":{"position":[[641,17]]}},"keywords":{}}],["queries.it",{"_index":6562,"title":{},"content":{"1316":{"position":[[3007,10]]}},"keywords":{}}],["queries.strong",{"_index":2020,"title":{},"content":{"354":{"position":[[418,14]]}},"keywords":{}}],["queriesful",{"_index":1906,"title":{},"content":{"317":{"position":[[133,11]]}},"keywords":{}}],["queriesminim",{"_index":1883,"title":{},"content":{"311":{"position":[[227,17]]}},"keywords":{}}],["queriesmqueri",{"_index":5763,"title":{},"content":{"1065":{"position":[[123,13]]}},"keywords":{}}],["query'",{"_index":3465,"title":{},"content":{"571":{"position":[[979,7]]},"1102":{"position":[[1194,7]]},"1322":{"position":[[538,7]]}},"keywords":{}}],["query.$().listen((result",{"_index":1290,"title":{},"content":{"188":{"position":[[3222,26]]}},"keywords":{}}],["query.$.subscribe((newhero",{"_index":3543,"title":{},"content":{"601":{"position":[[625,29]]}},"keywords":{}}],["query.$.subscribe(amount",{"_index":5774,"title":{},"content":{"1067":{"position":[[512,24]]}},"keywords":{}}],["query.$.subscribe(newhero",{"_index":3309,"title":{},"content":{"541":{"position":[[400,27]]},"562":{"position":[[1298,27]]}},"keywords":{}}],["query.$.subscribe(result",{"_index":978,"title":{},"content":{"77":{"position":[[284,25]]},"103":{"position":[[324,25]]},"234":{"position":[[384,25]]},"1058":{"position":[[254,25]]}},"keywords":{}}],["query.eq("status"",{"_index":5221,"title":{},"content":{"898":{"position":[[3815,28]]}},"keywords":{}}],["query.exec",{"_index":4662,"title":{},"content":{"799":{"position":[[809,13]]},"1057":{"position":[[125,13]]},"1064":{"position":[[366,13]]},"1067":{"position":[[461,13]]}},"keywords":{}}],["query.modify((docdata",{"_index":5751,"title":{},"content":{"1061":{"position":[[156,22]]}},"keywords":{}}],["query.patch",{"_index":5748,"title":{},"content":{"1060":{"position":[[155,13]]}},"keywords":{}}],["query.query/observ",{"_index":5943,"title":{},"content":{"1102":{"position":[[1157,19]]}},"keywords":{}}],["query.remov",{"_index":5754,"title":{},"content":{"1062":{"position":[[276,15]]}},"keywords":{}}],["query.selector.us",{"_index":6296,"title":{},"content":{"1252":{"position":[[289,19]]}},"keywords":{}}],["query.selector.userid",{"_index":5955,"title":{},"content":{"1105":{"position":[[637,21]]}},"keywords":{}}],["query.subscrib",{"_index":4661,"title":{},"content":{"799":{"position":[[712,18]]}},"keywords":{}}],["query.upd",{"_index":5745,"title":{},"content":{"1059":{"position":[[287,14]]}},"keywords":{}}],["query/writ",{"_index":1615,"title":{},"content":{"266":{"position":[[1048,11]]},"1246":{"position":[[1513,11]]}},"keywords":{}}],["querya.selector",{"_index":6297,"title":{},"content":{"1252":{"position":[[388,15],[416,16]]}},"keywords":{}}],["queryabl",{"_index":2901,"title":{},"content":{"430":{"position":[[177,10]]}},"keywords":{}}],["queryb.selector",{"_index":6298,"title":{},"content":{"1252":{"position":[[433,15]]}},"keywords":{}}],["querybuild",{"_index":5120,"title":{},"content":{"886":{"position":[[860,13],[1144,13],[1183,12],[2119,13],[2561,13],[2776,13],[2815,12],[4068,13],[4173,13]]},"887":{"position":[[410,13]]},"898":{"position":[[3662,13]]}},"keywords":{}}],["querycach",{"_index":4697,"title":{"814":{"position":[[0,10]]}},"content":{"818":{"position":[[160,10]]}},"keywords":{}}],["querymodifi",{"_index":5950,"title":{},"content":{"1104":{"position":[[224,13],[466,13]]},"1105":{"position":[[816,14],[878,13],[1045,13]]},"1107":{"position":[[367,13]]}},"keywords":{}}],["queryobject",{"_index":4233,"title":{},"content":{"749":{"position":[[7338,11]]},"1069":{"position":[[454,11]]}},"keywords":{}}],["queryobject.exec",{"_index":5787,"title":{},"content":{"1069":{"position":[[619,19]]}},"keywords":{}}],["queryobject.sort('nam",{"_index":5786,"title":{},"content":{"1069":{"position":[[571,25],[728,25]]}},"keywords":{}}],["queryobjectsort",{"_index":5788,"title":{},"content":{"1069":{"position":[[710,15]]}},"keywords":{}}],["queryobjectsort.exec",{"_index":5789,"title":{},"content":{"1069":{"position":[[776,23]]}},"keywords":{}}],["querypullhuman",{"_index":5076,"title":{},"content":{"885":{"position":[[152,14]]}},"keywords":{}}],["queryresult",{"_index":2317,"title":{},"content":{"394":{"position":[[862,11]]}},"keywords":{}}],["querysub",{"_index":977,"title":{},"content":{"77":{"position":[[273,8]]},"103":{"position":[[313,8]]},"234":{"position":[[373,8]]},"1058":{"position":[[243,8]]}},"keywords":{}}],["querysub.unsubscrib",{"_index":5744,"title":{},"content":{"1058":{"position":[[567,22]]}},"keywords":{}}],["queryvector",{"_index":2309,"title":{},"content":{"394":{"position":[[631,11]]}},"keywords":{}}],["question",{"_index":2176,"title":{},"content":{"387":{"position":[[322,10]]},"412":{"position":[[10244,8]]},"483":{"position":[[894,9]]},"873":{"position":[[191,9]]},"899":{"position":[[399,9]]},"913":{"position":[[292,9]]}},"keywords":{}}],["queu",{"_index":615,"title":{},"content":{"39":{"position":[[112,6]]},"375":{"position":[[775,7]]},"418":{"position":[[613,6]]},"419":{"position":[[470,7]]}},"keywords":{}}],["queue",{"_index":2785,"title":{},"content":{"416":{"position":[[156,6]]},"1177":{"position":[[553,5]]}},"keywords":{}}],["quic",{"_index":3618,"title":{},"content":{"613":{"position":[[143,4]]}},"keywords":{}}],["quick",{"_index":1378,"title":{"211":{"position":[[0,5]]},"314":{"position":[[0,5]]},"480":{"position":[[0,5]]},"562":{"position":[[5,5]]},"1235":{"position":[[0,5]]}},"content":{"212":{"position":[[558,5]]},"321":{"position":[[93,5]]},"383":{"position":[[274,5]]},"385":{"position":[[121,5]]},"396":{"position":[[418,5]]},"417":{"position":[[92,5]]},"429":{"position":[[377,5]]},"723":{"position":[[1769,6]]},"836":{"position":[[409,5],[530,5],[657,5]]},"837":{"position":[[1382,5],[1408,5],[1820,5]]},"838":{"position":[[1354,5],[1834,5],[2018,5]]},"906":{"position":[[750,5]]},"1147":{"position":[[201,5]]},"1277":{"position":[[26,5],[320,5],[610,5]]}},"keywords":{}}],["quicker",{"_index":1661,"title":{},"content":{"283":{"position":[[264,7]]}},"keywords":{}}],["quickj",{"_index":1243,"title":{},"content":{"188":{"position":[[138,7]]}},"keywords":{}}],["quickli",{"_index":887,"title":{},"content":{"61":{"position":[[148,7]]},"65":{"position":[[295,7]]},"84":{"position":[[277,7]]},"114":{"position":[[290,7]]},"149":{"position":[[290,7]]},"175":{"position":[[283,7]]},"217":{"position":[[205,7]]},"241":{"position":[[162,7]]},"285":{"position":[[112,7]]},"318":{"position":[[183,7]]},"321":{"position":[[389,7]]},"347":{"position":[[290,7]]},"358":{"position":[[439,7]]},"362":{"position":[[1361,7]]},"373":{"position":[[162,7]]},"408":{"position":[[2300,8]]},"477":{"position":[[101,7]]},"511":{"position":[[290,7]]},"531":{"position":[[290,7]]},"559":{"position":[[869,7],[1696,7]]},"591":{"position":[[290,7]]},"630":{"position":[[995,7]]},"639":{"position":[[23,8]]},"723":{"position":[[169,8],[712,8]]},"1147":{"position":[[452,7]]}},"keywords":{}}],["quickly.improv",{"_index":1206,"title":{},"content":{"173":{"position":[[1867,16]]}},"keywords":{}}],["quickstart",{"_index":883,"title":{"823":{"position":[[5,10]]}},"content":{"61":{"position":[[49,10],[124,11],[170,11]]},"84":{"position":[[253,11],[321,10]]},"114":{"position":[[266,11],[334,10]]},"149":{"position":[[266,11],[334,10]]},"175":{"position":[[259,11],[327,10]]},"241":{"position":[[126,11]]},"263":{"position":[[399,10]]},"285":{"position":[[408,11]]},"306":{"position":[[235,11]]},"318":{"position":[[383,10]]},"347":{"position":[[266,11],[334,10]]},"362":{"position":[[1337,11],[1405,10]]},"373":{"position":[[126,11]]},"388":{"position":[[58,10]]},"498":{"position":[[141,10],[262,10]]},"511":{"position":[[266,11],[334,10]]},"531":{"position":[[266,11],[334,10]]},"548":{"position":[[37,10]]},"557":{"position":[[37,10]]},"567":{"position":[[343,10]]},"591":{"position":[[266,11],[334,10]]},"608":{"position":[[37,10]]},"644":{"position":[[20,10]]},"663":{"position":[[72,10]]},"712":{"position":[[56,10]]},"776":{"position":[[106,10]]},"793":{"position":[[44,10]]},"824":{"position":[[126,10]]},"842":{"position":[[206,10]]},"904":{"position":[[206,10]]},"913":{"position":[[20,10],[185,10]]},"1125":{"position":[[861,10]]}},"keywords":{}}],["quickstartcheck",{"_index":2514,"title":{},"content":{"405":{"position":[[129,15]]},"471":{"position":[[114,15]]},"628":{"position":[[216,15]]}},"keywords":{}}],["quickstartdiscov",{"_index":3472,"title":{},"content":{"572":{"position":[[20,18]]}},"keywords":{}}],["quickstartdownsid",{"_index":4596,"title":{},"content":{"786":{"position":[[57,19]]}},"keywords":{}}],["quickstartif",{"_index":3209,"title":{},"content":{"498":{"position":[[98,12]]}},"keywords":{}}],["quickstartjoin",{"_index":1699,"title":{},"content":{"296":{"position":[[56,14]]}},"keywords":{}}],["quickstartwhi",{"_index":2935,"title":{},"content":{"442":{"position":[[57,13]]}},"keywords":{}}],["quietli",{"_index":3171,"title":{},"content":{"491":{"position":[[1064,7]]}},"keywords":{}}],["quit",{"_index":2051,"title":{},"content":{"357":{"position":[[425,5]]},"495":{"position":[[874,5]]},"1300":{"position":[[1021,5]]},"1322":{"position":[[186,5]]}},"keywords":{}}],["quot",{"_index":3633,"title":{},"content":{"617":{"position":[[426,5]]},"711":{"position":[[1358,9]]},"749":{"position":[[11821,5],[11827,8]]}},"keywords":{}}],["quot;$$"",{"_index":5863,"title":{},"content":{"1084":{"position":[[950,15]]}},"keywords":{}}],["quot;$"",{"_index":5862,"title":{},"content":{"1084":{"position":[[935,14]]}},"keywords":{}}],["quot;$(pwd)"/appwrite:/usr/src/code/appwrite:rw",{"_index":4896,"title":{},"content":{"861":{"position":[[630,53]]}},"keywords":{}}],["quot;@xenova/transformers"",{"_index":2217,"title":{},"content":{"391":{"position":[[449,33]]}},"keywords":{}}],["quot;_data"",{"_index":5853,"title":{},"content":{"1084":{"position":[[695,18]]}},"keywords":{}}],["quot;_deleted"",{"_index":5202,"title":{},"content":{"898":{"position":[[1084,20]]},"986":{"position":[[1128,21]]}},"keywords":{}}],["quot;_modified"",{"_index":5203,"title":{},"content":{"898":{"position":[[1137,21]]}},"keywords":{}}],["quot;_propertycache"",{"_index":5854,"title":{},"content":{"1084":{"position":[[714,27]]}},"keywords":{}}],["quot;_savedata"",{"_index":5882,"title":{},"content":{"1084":{"position":[[1408,22]]}},"keywords":{}}],["quot;active"",{"_index":5222,"title":{},"content":{"898":{"position":[[3844,20]]}},"keywords":{}}],["quot;age"",{"_index":5201,"title":{},"content":{"898":{"position":[[1059,15]]}},"keywords":{}}],["quot;aggregation"",{"_index":5796,"title":{},"content":{"1072":{"position":[[702,23]]}},"keywords":{}}],["quot;al",{"_index":5632,"title":{},"content":{"1022":{"position":[[928,9]]},"1023":{"position":[[589,9]]}},"keywords":{}}],["quot;alice"",{"_index":5445,"title":{},"content":{"986":{"position":[[796,18]]}},"keywords":{}}],["quot;allattachments$"",{"_index":5877,"title":{},"content":{"1084":{"position":[[1279,28]]}},"keywords":{}}],["quot;allattachments"",{"_index":5876,"title":{},"content":{"1084":{"position":[[1251,27]]}},"keywords":{}}],["quot;amount"",{"_index":1836,"title":{},"content":{"303":{"position":[[695,19],[756,19]]},"361":{"position":[[692,19],[753,19]]}},"keywords":{}}],["quot;an",{"_index":365,"title":{},"content":{"22":{"position":[[29,8]]}},"keywords":{}}],["quot;ani",{"_index":2672,"title":{},"content":{"412":{"position":[[2774,9]]}},"keywords":{}}],["quot;app",{"_index":2799,"title":{},"content":{"419":{"position":[[322,10]]}},"keywords":{}}],["quot;array"",{"_index":2366,"title":{},"content":{"397":{"position":[[795,18]]},"1074":{"position":[[1476,18]]}},"keywords":{}}],["quot;at",{"_index":3657,"title":{},"content":{"619":{"position":[[84,8]]}},"keywords":{}}],["quot;attachments"",{"_index":5830,"title":{},"content":{"1074":{"position":[[1874,24]]}},"keywords":{}}],["quot;average"",{"_index":2554,"title":{},"content":{"408":{"position":[[2948,19]]},"462":{"position":[[700,19]]}},"keywords":{}}],["quot;aw",{"_index":309,"title":{},"content":{"18":{"position":[[280,9]]}},"keywords":{}}],["quot;awesom",{"_index":1525,"title":{},"content":{"244":{"position":[[1493,13]]}},"keywords":{}}],["quot;birthyear"",{"_index":5822,"title":{},"content":{"1074":{"position":[[1292,22]]}},"keywords":{}}],["quot;boat"",{"_index":2348,"title":{},"content":{"396":{"position":[[1388,16]]}},"keywords":{}}],["quot;branches"",{"_index":5916,"title":{},"content":{"1092":{"position":[[140,21]]},"1093":{"position":[[24,20]]}},"keywords":{}}],["quot;brand"",{"_index":2038,"title":{},"content":{"356":{"position":[[479,20]]}},"keywords":{}}],["quot;brandx"",{"_index":2039,"title":{},"content":{"356":{"position":[[500,19]]}},"keywords":{}}],["quot;brows",{"_index":3982,"title":{},"content":{"707":{"position":[[314,13]]}},"keywords":{}}],["quot;browser"",{"_index":6143,"title":{},"content":{"1176":{"position":[[552,20]]}},"keywords":{}}],["quot;calculated"",{"_index":2629,"title":{},"content":{"411":{"position":[[3581,22]]}},"keywords":{}}],["quot;capacitorsqlite"",{"_index":3792,"title":{},"content":{"661":{"position":[[654,28]]},"662":{"position":[[1422,28]]},"1279":{"position":[[121,28]]}},"keywords":{}}],["quot;clear",{"_index":2726,"title":{},"content":{"412":{"position":[[8116,11]]}},"keywords":{}}],["quot;client",{"_index":1495,"title":{},"content":{"244":{"position":[[642,12]]},"617":{"position":[[463,13]]}},"keywords":{}}],["quot;close"",{"_index":5885,"title":{},"content":{"1084":{"position":[[1482,18]]}},"keywords":{}}],["quot;closedupl",{"_index":4211,"title":{},"content":{"749":{"position":[[5869,22]]}},"keywords":{}}],["quot;collection"",{"_index":5852,"title":{},"content":{"1084":{"position":[[671,23]]}},"keywords":{}}],["quot;color"",{"_index":1285,"title":{},"content":{"188":{"position":[[2966,18]]},"1074":{"position":[[1051,18],[1808,17]]}},"keywords":{}}],["quot;correct"",{"_index":2686,"title":{},"content":{"412":{"position":[[4061,19]]}},"keywords":{}}],["quot;corrine"",{"_index":1830,"title":{},"content":{"303":{"position":[[562,20],[822,20]]},"361":{"position":[[559,20],[819,20]]}},"keywords":{}}],["quot;damage"",{"_index":5828,"title":{},"content":{"1074":{"position":[[1696,19]]}},"keywords":{}}],["quot;dat",{"_index":5888,"title":{},"content":{"1085":{"position":[[448,10]]}},"keywords":{}}],["quot;databas",{"_index":1506,"title":{},"content":{"244":{"position":[[965,14]]}},"keywords":{}}],["quot;datastore"",{"_index":5915,"title":{},"content":{"1092":{"position":[[105,21]]},"1094":{"position":[[287,21],[321,21]]}},"keywords":{}}],["quot;datastores"",{"_index":5917,"title":{},"content":{"1092":{"position":[[592,22]]}},"keywords":{}}],["quot;deleted$$"",{"_index":5860,"title":{},"content":{"1084":{"position":[[868,22]]}},"keywords":{}}],["quot;deleted$"",{"_index":5859,"title":{},"content":{"1084":{"position":[[846,21]]}},"keywords":{}}],["quot;deleted"",{"_index":4901,"title":{},"content":{"861":{"position":[[1956,19]]},"898":{"position":[[409,20]]},"1084":{"position":[[891,20],[1501,20]]}},"keywords":{}}],["quot;dependencies"",{"_index":4077,"title":{},"content":{"731":{"position":[[102,25]]},"760":{"position":[[106,25]]}},"keywords":{}}],["quot;describ",{"_index":5816,"title":{},"content":{"1074":{"position":[[771,15]]}},"keywords":{}}],["quot;description"",{"_index":5815,"title":{},"content":{"1074":{"position":[[746,24]]}},"keywords":{}}],["quot;dumb,"",{"_index":2668,"title":{},"content":{"412":{"position":[[2039,17]]}},"keywords":{}}],["quot;dump"",{"_index":5430,"title":{},"content":{"981":{"position":[[634,16]]}},"keywords":{}}],["quot;electron",{"_index":1485,"title":{},"content":{"244":{"position":[[321,14]]}},"keywords":{}}],["quot;embedding"",{"_index":2365,"title":{},"content":{"397":{"position":[[752,22],[1090,22]]}},"keywords":{}}],["quot;encrypted"",{"_index":5829,"title":{},"content":{"1074":{"position":[[1829,22],[1901,22]]}},"keywords":{}}],["quot;eventu",{"_index":3953,"title":{},"content":{"700":{"position":[[750,14]]}},"keywords":{}}],["quot;everyth",{"_index":3942,"title":{},"content":{"698":{"position":[[2510,16]]}},"keywords":{}}],["quot;exactli",{"_index":2632,"title":{},"content":{"411":{"position":[[4620,13]]}},"keywords":{}}],["quot;expo",{"_index":1505,"title":{},"content":{"244":{"position":[[933,10]]}},"keywords":{}}],["quot;fast",{"_index":3974,"title":{},"content":{"703":{"position":[[1445,10]]}},"keywords":{}}],["quot;features"",{"_index":2040,"title":{},"content":{"356":{"position":[[520,21]]}},"keywords":{}}],["quot;final"",{"_index":5823,"title":{},"content":{"1074":{"position":[[1355,18]]}},"keywords":{}}],["quot;find",{"_index":4014,"title":{},"content":{"714":{"position":[[591,10]]}},"keywords":{}}],["quot;firebas",{"_index":1450,"title":{},"content":{"243":{"position":[[214,14]]}},"keywords":{}}],["quot;firestor",{"_index":1451,"title":{},"content":{"243":{"position":[[280,15]]},"244":{"position":[[1175,15]]}},"keywords":{}}],["quot;first",{"_index":2696,"title":{},"content":{"412":{"position":[[5278,11]]}},"keywords":{}}],["quot;firstname"",{"_index":1829,"title":{},"content":{"303":{"position":[[539,22]]},"361":{"position":[[536,22]]},"898":{"position":[[986,21]]}},"keywords":{}}],["quot;flag"",{"_index":5590,"title":{},"content":{"1009":{"position":[[942,16]]}},"keywords":{}}],["quot;flutt",{"_index":1519,"title":{},"content":{"244":{"position":[[1375,13]]}},"keywords":{}}],["quot;foobar"",{"_index":4063,"title":{},"content":{"724":{"position":[[1588,18]]},"986":{"position":[[758,19]]}},"keywords":{}}],["quot;format"",{"_index":5887,"title":{},"content":{"1085":{"position":[[428,19]]}},"keywords":{}}],["quot;framework"",{"_index":666,"title":{},"content":{"43":{"position":[[16,21]]}},"keywords":{}}],["quot;from",{"_index":5527,"title":{},"content":{"999":{"position":[[120,10]]}},"keywords":{}}],["quot;fs"",{"_index":6141,"title":{},"content":{"1176":{"position":[[92,15],[575,15]]}},"keywords":{}}],["quot;get$$"",{"_index":5865,"title":{},"content":{"1084":{"position":[[984,18]]}},"keywords":{}}],["quot;get$"",{"_index":5864,"title":{},"content":{"1084":{"position":[[966,17]]}},"keywords":{}}],["quot;get"",{"_index":5867,"title":{},"content":{"1084":{"position":[[1025,16]]}},"keywords":{}}],["quot;getattachment"",{"_index":5875,"title":{},"content":{"1084":{"position":[[1224,26]]}},"keywords":{}}],["quot;getlatest"",{"_index":5861,"title":{},"content":{"1084":{"position":[[912,22]]}},"keywords":{}}],["quot;git",{"_index":5427,"title":{},"content":{"981":{"position":[[183,9]]}},"keywords":{}}],["quot;git+https://git@github.com/pubkey/rxdb.git#commithash"",{"_index":4079,"title":{},"content":{"731":{"position":[[148,65]]}},"keywords":{}}],["quot;glu",{"_index":2619,"title":{},"content":{"411":{"position":[[2465,10]]}},"keywords":{}}],["quot;googl",{"_index":2817,"title":{},"content":{"419":{"position":[[1716,12]]}},"keywords":{}}],["quot;hack"",{"_index":3547,"title":{},"content":{"610":{"position":[[28,16]]}},"keywords":{}}],["quot;healthpoints"",{"_index":5818,"title":{},"content":{"1074":{"position":[[1112,25]]}},"keywords":{}}],["quot;hero",{"_index":5813,"title":{},"content":{"1074":{"position":[[697,10]]}},"keywords":{}}],["quot;hot"",{"_index":4656,"title":{},"content":{"799":{"position":[[107,15],[417,15]]}},"keywords":{}}],["quot;https://<yourdatabase>.dexie.cloud"",{"_index":6079,"title":{},"content":{"1148":{"position":[[986,53]]}},"keywords":{}}],["quot;human"",{"_index":5197,"title":{},"content":{"898":{"position":[[805,17]]}},"keywords":{}}],["quot;i",{"_index":2738,"title":{},"content":{"412":{"position":[[10256,8]]},"703":{"position":[[1215,8]]}},"keywords":{}}],["quot;id"",{"_index":1280,"title":{},"content":{"188":{"position":[[2871,15]]},"397":{"position":[[586,15],[666,15],[1074,15]]},"403":{"position":[[575,15]]},"986":{"position":[[742,15]]},"1085":{"position":[[1263,15],[1343,15],[1590,16]]},"1107":{"position":[[588,15],[668,15],[894,15]]}},"keywords":{}}],["quot;idx0"",{"_index":2369,"title":{},"content":{"397":{"position":[[893,17],[1113,17],[1228,17]]}},"keywords":{}}],["quot;idx1"",{"_index":2370,"title":{},"content":{"397":{"position":[[924,17],[1131,17],[1246,17]]}},"keywords":{}}],["quot;idx2"",{"_index":2371,"title":{},"content":{"397":{"position":[[955,17],[1149,17],[1264,17]]}},"keywords":{}}],["quot;idx3"",{"_index":2372,"title":{},"content":{"397":{"position":[[986,17],[1167,17],[1282,17]]}},"keywords":{}}],["quot;idx4"",{"_index":2373,"title":{},"content":{"397":{"position":[[1017,17],[1185,16],[1300,16]]}},"keywords":{}}],["quot;ignoredupl",{"_index":4209,"title":{},"content":{"749":{"position":[[5807,22]]}},"keywords":{}}],["quot;in",{"_index":1487,"title":{},"content":{"244":{"position":[[349,8]]}},"keywords":{}}],["quot;incrementalmodify"",{"_index":5879,"title":{},"content":{"1084":{"position":[[1328,30]]}},"keywords":{}}],["quot;incrementalpatch"",{"_index":5881,"title":{},"content":{"1084":{"position":[[1378,29]]}},"keywords":{}}],["quot;incrementalremove"",{"_index":5884,"title":{},"content":{"1084":{"position":[[1451,30]]}},"keywords":{}}],["quot;incrementalupdate"",{"_index":5871,"title":{},"content":{"1084":{"position":[[1109,30]]}},"keywords":{}}],["quot;index",{"_index":2957,"title":{},"content":{"452":{"position":[[35,13]]}},"keywords":{}}],["quot;indexeddb",{"_index":1462,"title":{},"content":{"243":{"position":[[543,15],[647,15],[748,15],[847,15]]},"244":{"position":[[568,15],[604,15],[1666,15]]}},"keywords":{}}],["quot;indexes"",{"_index":2375,"title":{},"content":{"397":{"position":[[1205,20]]}},"keywords":{}}],["quot;insert",{"_index":4918,"title":{},"content":{"863":{"position":[[717,12]]}},"keywords":{}}],["quot;internalindexes"",{"_index":5967,"title":{},"content":{"1107":{"position":[[844,28]]}},"keywords":{}}],["quot;ion",{"_index":1452,"title":{},"content":{"243":{"position":[[329,11]]},"244":{"position":[[1216,11]]}},"keywords":{}}],["quot;iosdatabaselocation"",{"_index":3793,"title":{},"content":{"661":{"position":[[685,32]]},"662":{"position":[[1453,32]]},"1279":{"position":[[152,32]]}},"keywords":{}}],["quot;isinstanceofrxdocument"",{"_index":5855,"title":{},"content":{"1084":{"position":[[742,35]]}},"keywords":{}}],["quot;items"",{"_index":2367,"title":{},"content":{"397":{"position":[[814,18]]},"1074":{"position":[[1551,18]]}},"keywords":{}}],["quot;jqueri",{"_index":1448,"title":{},"content":{"243":{"position":[[154,12]]}},"keywords":{}}],["quot;json",{"_index":1473,"title":{},"content":{"243":{"position":[[946,10],[981,10]]}},"keywords":{}}],["quot;keep_alive"",{"_index":4858,"title":{},"content":{"849":{"position":[[1113,22]]}},"keywords":{}}],["quot;last",{"_index":2701,"title":{},"content":{"412":{"position":[[5505,10]]}},"keywords":{}}],["quot;lastname"",{"_index":1831,"title":{},"content":{"303":{"position":[[583,21]]},"361":{"position":[[580,21]]},"898":{"position":[[1023,20]]},"986":{"position":[[815,21]]}},"keywords":{}}],["quot;library/capacitordatabase"",{"_index":3794,"title":{},"content":{"661":{"position":[[718,37]]},"662":{"position":[[1486,37]]},"1279":{"position":[[185,37]]}},"keywords":{}}],["quot;livequery"",{"_index":1504,"title":{},"content":{"244":{"position":[[905,21]]}},"keywords":{}}],["quot;loc",{"_index":1441,"title":{},"content":{"243":{"position":[[33,11],[370,11]]},"244":{"position":[[719,11],[761,11],[796,11]]},"245":{"position":[[1,11]]},"419":{"position":[[664,11],[1217,11],[1338,11],[1520,11],[1556,11],[1850,14]]}},"keywords":{}}],["quot;localstorag",{"_index":1480,"title":{},"content":{"244":{"position":[[206,18],[485,18]]}},"keywords":{}}],["quot;low",{"_index":724,"title":{},"content":{"47":{"position":[[288,9]]}},"keywords":{}}],["quot;mag",{"_index":2684,"title":{},"content":{"412":{"position":[[3855,15]]}},"keywords":{}}],["quot;main"",{"_index":3979,"title":{},"content":{"707":{"position":[[57,16]]},"709":{"position":[[1327,16]]},"775":{"position":[[671,16]]},"1089":{"position":[[101,16]]}},"keywords":{}}],["quot;many"",{"_index":6551,"title":{},"content":{"1316":{"position":[[1495,16]]}},"keywords":{}}],["quot;maximum"",{"_index":5820,"title":{},"content":{"1074":{"position":[[1202,20],[1407,20]]}},"keywords":{}}],["quot;maxitems"",{"_index":5826,"title":{},"content":{"1074":{"position":[[1495,21]]}},"keywords":{}}],["quot;maxlength"",{"_index":2364,"title":{},"content":{"397":{"position":[[722,22]]},"1074":{"position":[[972,22]]},"1085":{"position":[[1399,22]]},"1107":{"position":[[724,22],[812,22]]}},"keywords":{}}],["quot;mean"",{"_index":2224,"title":{},"content":{"391":{"position":[[681,17]]}},"keywords":{}}],["quot;merg",{"_index":2680,"title":{},"content":{"412":{"position":[[3527,11]]}},"keywords":{}}],["quot;minimum"",{"_index":5819,"title":{},"content":{"1074":{"position":[[1178,20],[1380,20]]}},"keywords":{}}],["quot;mobil",{"_index":1502,"title":{},"content":{"244":{"position":[[836,12]]}},"keywords":{}}],["quot;modify"",{"_index":5878,"title":{},"content":{"1084":{"position":[[1308,19]]}},"keywords":{}}],["quot;mydynamicdata"",{"_index":5894,"title":{},"content":{"1085":{"position":[[1429,26]]}},"keywords":{}}],["quot;name"",{"_index":1283,"title":{},"content":{"188":{"position":[[2927,17]]},"986":{"position":[[778,17]]},"1074":{"position":[[832,17],[914,17],[1636,17],[1790,17]]},"1107":{"position":[[754,17],[875,18]]}},"keywords":{}}],["quot;native"",{"_index":6338,"title":{},"content":{"1275":{"position":[[52,18]]}},"keywords":{}}],["quot;new"",{"_index":3628,"title":{},"content":{"616":{"position":[[255,15]]}},"keywords":{}}],["quot;normal"",{"_index":2488,"title":{},"content":{"402":{"position":[[2189,18]]},"429":{"position":[[589,18]]},"453":{"position":[[604,18]]},"457":{"position":[[108,18]]},"469":{"position":[[700,18]]},"569":{"position":[[6,18]]},"623":{"position":[[342,18]]},"772":{"position":[[10,18]]},"1192":{"position":[[5,18]]}},"keywords":{}}],["quot;npm:rxdb@14.17.1"",{"_index":4501,"title":{},"content":{"760":{"position":[[156,29]]}},"keywords":{}}],["quot;number"",{"_index":2368,"title":{},"content":{"397":{"position":[[853,18]]},"1074":{"position":[[1158,19],[1335,19],[1736,18]]}},"keywords":{}}],["quot;object"",{"_index":2361,"title":{},"content":{"397":{"position":[[620,19]]},"1074":{"position":[[868,19],[1590,19]]},"1085":{"position":[[1165,18],[1297,19],[1476,18]]},"1107":{"position":[[622,19]]}},"keywords":{}}],["quot;offlin",{"_index":1454,"title":{},"content":{"243":{"position":[[400,13]]},"244":{"position":[[386,13],[1060,13],[1094,13]]},"419":{"position":[[84,13]]}},"keywords":{}}],["quot;on",{"_index":2825,"title":{},"content":{"419":{"position":[[1891,8]]}},"keywords":{}}],["quot;onlin",{"_index":2780,"title":{},"content":{"413":{"position":[[101,12]]},"420":{"position":[[611,12]]}},"keywords":{}}],["quot;only"",{"_index":6012,"title":{},"content":{"1123":{"position":[[460,16]]}},"keywords":{}}],["quot;optimist",{"_index":1439,"title":{},"content":{"243":{"position":[[4,16]]}},"keywords":{}}],["quot;original"",{"_index":2864,"title":{},"content":{"422":{"position":[[275,20]]}},"keywords":{}}],["quot;p2p",{"_index":1509,"title":{},"content":{"244":{"position":[[998,9]]}},"keywords":{}}],["quot;passportid"",{"_index":5200,"title":{},"content":{"898":{"position":[[945,22]]}},"keywords":{}}],["quot;patch"",{"_index":5880,"title":{},"content":{"1084":{"position":[[1359,18]]}},"keywords":{}}],["quot;permiss",{"_index":5586,"title":{},"content":{"1009":{"position":[[213,16]]}},"keywords":{}}],["quot;pipes"",{"_index":2549,"title":{},"content":{"408":{"position":[[2490,17]]}},"keywords":{}}],["quot;plugins"",{"_index":3791,"title":{},"content":{"661":{"position":[[631,20]]},"662":{"position":[[1399,20]]},"1279":{"position":[[98,20]]}},"keywords":{}}],["quot;populate"",{"_index":5866,"title":{},"content":{"1084":{"position":[[1003,21]]}},"keywords":{}}],["quot;primary"",{"_index":5857,"title":{},"content":{"1084":{"position":[[803,20]]}},"keywords":{}}],["quot;primarykey"",{"_index":2359,"title":{},"content":{"397":{"position":[[562,23]]},"403":{"position":[[551,23]]},"1074":{"position":[[808,23]]},"1085":{"position":[[1239,23]]},"1107":{"position":[[564,23]]}},"keywords":{}}],["quot;primarypath"",{"_index":5856,"title":{},"content":{"1084":{"position":[[778,24]]}},"keywords":{}}],["quot;production"",{"_index":3844,"title":{},"content":{"672":{"position":[[58,23]]}},"keywords":{}}],["quot;productnumber"",{"_index":1834,"title":{},"content":{"303":{"position":[[661,26],[722,26]]},"361":{"position":[[658,26],[719,26]]}},"keywords":{}}],["quot;properties"",{"_index":2362,"title":{},"content":{"397":{"position":[[640,23]]},"403":{"position":[[591,23]]},"1074":{"position":[[888,23],[1610,23]]},"1085":{"position":[[1317,23]]},"1107":{"position":[[642,23]]}},"keywords":{}}],["quot;public"."humans"",{"_index":5199,"title":{},"content":{"898":{"position":[[905,37],[1498,38]]}},"keywords":{}}],["quot;putattachment"",{"_index":5873,"title":{},"content":{"1084":{"position":[[1164,26]]}},"keywords":{}}],["quot;putattachmentbase64"",{"_index":5874,"title":{},"content":{"1084":{"position":[[1191,32]]}},"keywords":{}}],["quot;react",{"_index":1445,"title":{},"content":{"243":{"position":[[75,11]]},"244":{"position":[[66,11],[97,11],[285,14],[422,11],[523,11],[1029,14],[1125,11],[1253,11],[1292,11],[1336,11],[1418,11]]}},"keywords":{}}],["quot;reactj",{"_index":1474,"title":{},"content":{"243":{"position":[[1013,13]]}},"keywords":{}}],["quot;real",{"_index":1482,"title":{},"content":{"244":{"position":[[248,10]]}},"keywords":{}}],["quot;real"",{"_index":2482,"title":{},"content":{"402":{"position":[[704,16]]},"569":{"position":[[1251,16]]},"699":{"position":[[742,16]]},"875":{"position":[[4087,16]]}},"keywords":{}}],["quot;realtim",{"_index":212,"title":{},"content":{"14":{"position":[[388,14],[426,14]]},"570":{"position":[[846,14]]},"571":{"position":[[1855,14]]}},"keywords":{}}],["quot;realtime"",{"_index":211,"title":{},"content":{"14":{"position":[[361,20]]},"569":{"position":[[50,21],[950,21]]},"570":{"position":[[253,20]]},"571":{"position":[[54,20]]},"699":{"position":[[154,20]]}},"keywords":{}}],["quot;redux",{"_index":1524,"title":{},"content":{"244":{"position":[[1456,11]]}},"keywords":{}}],["quot;region,"",{"_index":5588,"title":{},"content":{"1009":{"position":[[245,19]]}},"keywords":{}}],["quot;reload",{"_index":2850,"title":{},"content":{"421":{"position":[[342,12]]}},"keywords":{}}],["quot;remove"",{"_index":5883,"title":{},"content":{"1084":{"position":[[1431,19]]}},"keywords":{}}],["quot;renderer"",{"_index":3981,"title":{},"content":{"707":{"position":[[177,20]]}},"keywords":{}}],["quot;repl",{"_index":5583,"title":{},"content":{"1008":{"position":[[111,17]]}},"keywords":{}}],["quot;required"",{"_index":2374,"title":{},"content":{"397":{"position":[[1050,21]]},"1074":{"position":[[1766,21]]},"1085":{"position":[[1568,21]]}},"keywords":{}}],["quot;revision"",{"_index":5858,"title":{},"content":{"1084":{"position":[[824,21]]}},"keywords":{}}],["quot;revokes"",{"_index":2761,"title":{},"content":{"412":{"position":[[13319,19]]}},"keywords":{}}],["quot;rxdb",{"_index":4499,"title":{},"content":{"760":{"position":[[134,10]]}},"keywords":{}}],["quot;rxdb"",{"_index":4078,"title":{},"content":{"731":{"position":[[130,17]]},"889":{"position":[[398,17]]}},"keywords":{}}],["quot;rxstorag",{"_index":3510,"title":{},"content":{"581":{"position":[[50,15]]}},"keywords":{}}],["quot;scal",{"_index":5906,"title":{},"content":{"1087":{"position":[[22,13]]}},"keywords":{}}],["quot;schema",{"_index":5892,"title":{},"content":{"1085":{"position":[[817,12]]}},"keywords":{}}],["quot;secret"",{"_index":5821,"title":{},"content":{"1074":{"position":[[1230,19],[1852,21]]}},"keywords":{}}],["quot;select",{"_index":4011,"title":{},"content":{"711":{"position":[[1774,12]]}},"keywords":{}}],["quot;server"",{"_index":3984,"title":{},"content":{"708":{"position":[[105,18]]}},"keywords":{}}],["quot;shapes"",{"_index":651,"title":{},"content":{"41":{"position":[[105,20]]}},"keywords":{}}],["quot;shoe"",{"_index":2346,"title":{},"content":{"396":{"position":[[1322,16]]}},"keywords":{}}],["quot;shoppingcartitems"",{"_index":1833,"title":{},"content":{"303":{"position":[[626,30]]},"361":{"position":[[623,30]]}},"keywords":{}}],["quot;shortening"",{"_index":2479,"title":{},"content":{"402":{"position":[[175,22]]}},"keywords":{}}],["quot;skills"",{"_index":5825,"title":{},"content":{"1074":{"position":[[1436,19]]}},"keywords":{}}],["quot;socks"",{"_index":2347,"title":{},"content":{"396":{"position":[[1343,17]]}},"keywords":{}}],["quot;someth",{"_index":5060,"title":{},"content":{"875":{"position":[[9078,15]]}},"keywords":{}}],["quot;sort"",{"_index":4995,"title":{},"content":{"875":{"position":[[2409,16]]}},"keywords":{}}],["quot;sqlit",{"_index":1492,"title":{},"content":{"244":{"position":[[457,12],[1563,12],[1600,12]]}},"keywords":{}}],["quot;ssd"",{"_index":2042,"title":{},"content":{"356":{"position":[[568,20]]}},"keywords":{}}],["quot;stealing"",{"_index":5977,"title":{},"content":{"1112":{"position":[[324,20]]}},"keywords":{}}],["quot;stor",{"_index":1476,"title":{},"content":{"244":{"position":[[34,11],[165,11]]},"410":{"position":[[1356,12]]}},"keywords":{}}],["quot;storag",{"_index":6054,"title":{},"content":{"1140":{"position":[[104,13]]}},"keywords":{}}],["quot;string"",{"_index":2363,"title":{},"content":{"397":{"position":[[702,19]]},"1074":{"position":[[952,19],[1090,18],[1270,18],[1674,18]]},"1085":{"position":[[408,19],[1379,19]]},"1107":{"position":[[704,19],[792,19]]}},"keywords":{}}],["quot;supabas",{"_index":1475,"title":{},"content":{"244":{"position":[[1,14],[130,14]]}},"keywords":{}}],["quot;sync",{"_index":1531,"title":{},"content":{"244":{"position":[[1636,10]]}},"keywords":{}}],["quot;synced"",{"_index":5886,"title":{},"content":{"1084":{"position":[[1522,18]]}},"keywords":{}}],["quot;tauri",{"_index":1527,"title":{},"content":{"244":{"position":[[1530,11]]}},"keywords":{}}],["quot;title"",{"_index":5812,"title":{},"content":{"1074":{"position":[[678,18]]}},"keywords":{}}],["quot;tojson"",{"_index":5868,"title":{},"content":{"1084":{"position":[[1042,19]]}},"keywords":{}}],["quot;tomutablejson"",{"_index":5869,"title":{},"content":{"1084":{"position":[[1062,26]]}},"keywords":{}}],["quot;touchscreen"",{"_index":2041,"title":{},"content":{"356":{"position":[[542,25]]}},"keywords":{}}],["quot;type"",{"_index":2360,"title":{},"content":{"397":{"position":[[602,17],[684,17],[777,17],[835,17]]},"849":{"position":[[472,16]]},"1074":{"position":[[850,17],[934,17],[1072,17],[1140,17],[1252,17],[1317,17],[1458,17],[1572,17],[1656,17],[1718,17]]},"1085":{"position":[[390,17],[1279,17],[1361,17],[1458,17]]},"1107":{"position":[[604,17],[686,17],[774,17]]}},"keywords":{}}],["quot;uniqueitems"",{"_index":5827,"title":{},"content":{"1074":{"position":[[1520,24]]}},"keywords":{}}],["quot;upd",{"_index":4915,"title":{},"content":{"863":{"position":[[510,12]]}},"keywords":{}}],["quot;update"",{"_index":5870,"title":{},"content":{"1084":{"position":[[1089,19]]}},"keywords":{}}],["quot;updatecrdt"",{"_index":5872,"title":{},"content":{"1084":{"position":[[1140,23]]}},"keywords":{}}],["quot;updatedat"",{"_index":5447,"title":{},"content":{"986":{"position":[[1004,22]]}},"keywords":{}}],["quot;version"",{"_index":2358,"title":{},"content":{"397":{"position":[[538,20]]},"403":{"position":[[489,20]]},"1074":{"position":[[722,20]]},"1085":{"position":[[1215,20]]},"1107":{"position":[[540,20]]}},"keywords":{}}],["quot;voxel"",{"_index":5556,"title":{},"content":{"1007":{"position":[[103,17]]}},"keywords":{}}],["quot;vu",{"_index":1447,"title":{},"content":{"243":{"position":[[114,9],[185,9]]}},"keywords":{}}],["quot;web",{"_index":1503,"title":{},"content":{"244":{"position":[[874,9]]}},"keywords":{}}],["quot;webrtc",{"_index":1457,"title":{},"content":{"243":{"position":[[464,12]]}},"keywords":{}}],["quot;webtransport",{"_index":1497,"title":{},"content":{"244":{"position":[[681,18]]}},"keywords":{}}],["quot;which",{"_index":2191,"title":{},"content":{"390":{"position":[[618,11],[685,11]]}},"keywords":{}}],["quot;wilson"",{"_index":5446,"title":{},"content":{"986":{"position":[[837,19]]}},"keywords":{}}],["quot;winner"",{"_index":2678,"title":{},"content":{"412":{"position":[[3359,18]]}},"keywords":{}}],["quot;wins"",{"_index":3892,"title":{},"content":{"688":{"position":[[445,16]]}},"keywords":{}}],["quot;won't",{"_index":3648,"title":{},"content":{"617":{"position":[[1725,11]]}},"keywords":{}}],["quot;you",{"_index":2621,"title":{},"content":{"411":{"position":[[2594,9]]}},"keywords":{}}],["quot;zero",{"_index":1455,"title":{},"content":{"243":{"position":[[432,10]]},"902":{"position":[[522,10]]}},"keywords":{}}],["quot;zflutt",{"_index":1281,"title":{},"content":{"188":{"position":[[2887,14]]}},"keywords":{}}],["quot;ziemann"",{"_index":1832,"title":{},"content":{"303":{"position":[[605,20],[859,20]]},"361":{"position":[[602,20],[856,20]]}},"keywords":{}}],["quot;|b"",{"_index":1842,"title":{},"content":{"303":{"position":[[923,15],[969,15]]},"361":{"position":[[920,15],[966,15]]}},"keywords":{}}],["quot;|e"",{"_index":1838,"title":{},"content":{"303":{"position":[[806,15]]},"361":{"position":[[803,15]]}},"keywords":{}}],["quot;|g"",{"_index":1839,"title":{},"content":{"303":{"position":[[843,15]]},"361":{"position":[[840,15]]}},"keywords":{}}],["quot;|h"",{"_index":1841,"title":{},"content":{"303":{"position":[[900,15],[946,15]]},"361":{"position":[[897,15],[943,15]]}},"keywords":{}}],["quot;|i"",{"_index":1840,"title":{},"content":{"303":{"position":[[880,15]]},"361":{"position":[[877,15]]}},"keywords":{}}],["quota",{"_index":1703,"title":{"301":{"position":[[29,7]]}},"content":{"298":{"position":[[107,5]]},"299":{"position":[[16,6],[356,5],[667,6],[979,6],[1451,5]]},"300":{"position":[[223,5]]},"301":{"position":[[559,5],[745,6]]},"302":{"position":[[69,6],[464,5],[919,5]]},"304":{"position":[[119,6],[251,6]]},"306":{"position":[[100,5]]},"408":{"position":[[510,6],[1226,6]]}},"keywords":{}}],["quota.quota",{"_index":1773,"title":{},"content":{"300":{"position":[[286,12]]}},"keywords":{}}],["quota.usag",{"_index":1775,"title":{},"content":{"300":{"position":[[317,12]]}},"keywords":{}}],["quotaexceedederror",{"_index":1797,"title":{},"content":{"302":{"position":[[103,18],[871,21]]},"1207":{"position":[[736,18]]}},"keywords":{}}],["r1",{"_index":4435,"title":{},"content":{"749":{"position":[[23961,2]]}},"keywords":{}}],["r2",{"_index":4437,"title":{},"content":{"749":{"position":[[24081,2]]}},"keywords":{}}],["r3",{"_index":4439,"title":{},"content":{"749":{"position":[[24242,2]]}},"keywords":{}}],["rais",{"_index":2790,"title":{},"content":{"417":{"position":[[115,5]]}},"keywords":{}}],["ram",{"_index":1607,"title":{},"content":{"265":{"position":[[789,4]]},"1321":{"position":[[111,3]]}},"keywords":{}}],["ran",{"_index":6393,"title":{},"content":{"1292":{"position":[[15,3]]}},"keywords":{}}],["random",{"_index":2344,"title":{},"content":{"396":{"position":[[965,6]]},"670":{"position":[[186,6]]},"821":{"position":[[776,6]]},"837":{"position":[[1524,6]]},"1010":{"position":[[108,6]]}},"keywords":{}}],["randomcouchstring(10",{"_index":6383,"title":{},"content":{"1286":{"position":[[515,22]]},"1287":{"position":[[565,22]]},"1288":{"position":[[531,22]]}},"keywords":{}}],["randomli",{"_index":3043,"title":{},"content":{"464":{"position":[[201,8]]},"719":{"position":[[307,8]]},"1304":{"position":[[1078,8]]}},"keywords":{}}],["rang",{"_index":519,"title":{"796":{"position":[[74,6]]}},"content":{"33":{"position":[[414,5]]},"165":{"position":[[17,5]]},"177":{"position":[[233,5]]},"193":{"position":[[15,5]]},"254":{"position":[[420,5]]},"267":{"position":[[1433,5]]},"287":{"position":[[77,5],[598,5]]},"364":{"position":[[360,5]]},"365":{"position":[[841,5]]},"368":{"position":[[203,5]]},"396":{"position":[[1690,6]]},"398":{"position":[[1772,5],[1871,5],[2264,5],[2414,7],[2461,6]]},"400":{"position":[[109,5],[475,5]]},"420":{"position":[[1445,5]]},"432":{"position":[[475,5]]},"454":{"position":[[174,5]]},"459":{"position":[[513,6]]},"461":{"position":[[701,6]]},"462":{"position":[[949,5]]},"468":{"position":[[268,5]]},"469":{"position":[[17,5]]},"504":{"position":[[682,5]]},"525":{"position":[[406,5]]},"631":{"position":[[121,5]]},"796":{"position":[[84,5]]},"904":{"position":[[516,5]]},"1067":{"position":[[1222,5],[1452,5]]},"1120":{"position":[[411,5]]},"1124":{"position":[[60,5],[625,5],[820,6],[957,6]]},"1134":{"position":[[319,5]]},"1272":{"position":[[251,5]]},"1294":{"position":[[1173,5]]},"1296":{"position":[[1350,5],[1459,5]]}},"keywords":{}}],["rapid",{"_index":925,"title":{},"content":{"65":{"position":[[1244,5]]},"287":{"position":[[1014,5]]},"369":{"position":[[153,5]]},"569":{"position":[[806,5]]}},"keywords":{}}],["rapidli",{"_index":2005,"title":{},"content":{"353":{"position":[[267,7]]},"408":{"position":[[2196,7]]}},"keywords":{}}],["rare",{"_index":296,"title":{},"content":{"17":{"position":[[486,4]]},"362":{"position":[[612,6]]},"411":{"position":[[875,6]]},"689":{"position":[[491,6]]},"698":{"position":[[908,5]]},"740":{"position":[[4,4]]},"966":{"position":[[234,4]]},"1090":{"position":[[1236,4]]}},"keywords":{}}],["rate",{"_index":3199,"title":{},"content":{"497":{"position":[[113,5]]},"841":{"position":[[1093,4]]}},"keywords":{}}],["rates.scenario",{"_index":3201,"title":{},"content":{"497":{"position":[[322,15]]}},"keywords":{}}],["raw",{"_index":1933,"title":{},"content":{"331":{"position":[[59,3]]},"350":{"position":[[232,5]]},"356":{"position":[[207,3]]},"408":{"position":[[3129,3]]},"576":{"position":[[43,3]]},"620":{"position":[[247,3]]}},"keywords":{}}],["rawrespons",{"_index":5037,"title":{},"content":{"875":{"position":[[6219,11]]},"988":{"position":[[2503,11]]}},"keywords":{}}],["rawresponse.json",{"_index":5041,"title":{},"content":{"875":{"position":[[6434,19]]},"988":{"position":[[2852,19]]}},"keywords":{}}],["rc1",{"_index":4324,"title":{},"content":{"749":{"position":[[14568,3]]}},"keywords":{}}],["rc2",{"_index":4325,"title":{},"content":{"749":{"position":[[14650,3]]}},"keywords":{}}],["rc4",{"_index":4327,"title":{},"content":{"749":{"position":[[14765,3]]}},"keywords":{}}],["rc5",{"_index":4329,"title":{},"content":{"749":{"position":[[14921,3]]}},"keywords":{}}],["rc6",{"_index":4330,"title":{},"content":{"749":{"position":[[15132,3]]}},"keywords":{}}],["rc7",{"_index":4333,"title":{},"content":{"749":{"position":[[15291,3]]}},"keywords":{}}],["rc_couchdb_1",{"_index":4345,"title":{},"content":{"749":{"position":[[16101,12]]}},"keywords":{}}],["rc_couchdb_2",{"_index":4347,"title":{},"content":{"749":{"position":[[16249,12]]}},"keywords":{}}],["rc_forbidden",{"_index":4352,"title":{},"content":{"749":{"position":[[16639,12]]}},"keywords":{}}],["rc_outdat",{"_index":4348,"title":{},"content":{"749":{"position":[[16368,11]]}},"keywords":{}}],["rc_pull",{"_index":4338,"title":{},"content":{"749":{"position":[[15466,7]]}},"keywords":{}}],["rc_push",{"_index":4342,"title":{},"content":{"749":{"position":[[15732,7]]}},"keywords":{}}],["rc_push_no_ar",{"_index":4343,"title":{},"content":{"749":{"position":[[15864,13]]}},"keywords":{}}],["rc_stream",{"_index":4341,"title":{},"content":{"749":{"position":[[15598,9]]}},"keywords":{}}],["rc_unauthor",{"_index":4350,"title":{},"content":{"749":{"position":[[16490,15]]}},"keywords":{}}],["rc_webrtc_peer",{"_index":4344,"title":{},"content":{"749":{"position":[[15999,14]]}},"keywords":{}}],["rddt",{"_index":1443,"title":{},"content":{"243":{"position":[[60,5],[139,5],[265,5],[314,5],[355,5]]}},"keywords":{}}],["re",{"_index":166,"title":{"1022":{"position":[[9,2]]}},"content":{"11":{"position":[[661,6]]},"234":{"position":[[200,2]]},"255":{"position":[[1147,3],[1410,3]]},"329":{"position":[[110,2]]},"335":{"position":[[937,2]]},"346":{"position":[[134,2],[418,2]]},"385":{"position":[[318,2]]},"411":{"position":[[3223,2],[3626,2]]},"490":{"position":[[560,2]]},"494":{"position":[[636,2]]},"566":{"position":[[445,2],[518,2]]},"611":{"position":[[1053,2]]},"612":{"position":[[1866,4]]},"630":{"position":[[362,2]]},"634":{"position":[[336,2]]},"756":{"position":[[222,2]]},"799":{"position":[[543,4],[775,4]]},"829":{"position":[[2728,2],[2757,2],[3658,2]]},"841":{"position":[[850,2]]},"870":{"position":[[106,2]]},"875":{"position":[[2093,4],[4461,4],[7250,4]]},"921":{"position":[[79,2]]},"954":{"position":[[206,2]]},"990":{"position":[[651,2]]},"1007":{"position":[[1511,3],[1669,3]]},"1008":{"position":[[295,2]]},"1010":{"position":[[115,2]]},"1294":{"position":[[1768,6]]},"1307":{"position":[[851,2]]},"1315":{"position":[[1662,2]]},"1316":{"position":[[1750,2]]},"1318":{"position":[[1149,2]]}},"keywords":{}}],["reach",{"_index":457,"title":{"302":{"position":[[32,8]]}},"content":{"28":{"position":[[324,7]]},"418":{"position":[[808,6]]},"461":{"position":[[426,7]]},"491":{"position":[[1593,5]]},"496":{"position":[[72,7]]},"610":{"position":[[1227,7]]},"696":{"position":[[1798,5]]},"711":{"position":[[2395,6]]},"984":{"position":[[514,7]]},"990":{"position":[[178,7]]},"1092":{"position":[[481,8]]},"1294":{"position":[[1093,8]]}},"keywords":{}}],["reachabl",{"_index":6273,"title":{},"content":{"1227":{"position":[[856,9]]},"1265":{"position":[[830,9]]}},"keywords":{}}],["react",{"_index":99,"title":{"8":{"position":[[0,5]]},"286":{"position":[[25,7]]},"371":{"position":[[32,5]]},"437":{"position":[[17,5]]},"494":{"position":[[0,5]]},"512":{"position":[[23,5]]},"520":{"position":[[15,5]]},"521":{"position":[[13,5]]},"522":{"position":[[16,5]]},"523":{"position":[[11,5]]},"532":{"position":[[22,5]]},"534":{"position":[[21,6]]},"536":{"position":[[15,6]]},"541":{"position":[[26,5]]},"543":{"position":[[0,5]]},"549":{"position":[[0,5]]},"551":{"position":[[0,5]]},"552":{"position":[[34,5]]},"556":{"position":[[19,5]]},"827":{"position":[[0,5]]},"830":{"position":[[0,5]]},"833":{"position":[[0,5]]},"834":{"position":[[23,5]]},"852":{"position":[[0,5]]},"1214":{"position":[[18,5]]},"1277":{"position":[[11,5]]}},"content":{"7":{"position":[[644,5]]},"8":{"position":[[181,5],[205,5],[257,5],[277,5],[336,5],[354,5],[448,5],[859,6],[933,5]]},"9":{"position":[[6,5]]},"17":{"position":[[96,5],[106,5],[263,5]]},"33":{"position":[[279,5]]},"38":{"position":[[716,5]]},"47":{"position":[[1246,5]]},"99":{"position":[[360,5]]},"112":{"position":[[110,5]]},"121":{"position":[[221,5]]},"140":{"position":[[150,5]]},"168":{"position":[[82,5]]},"174":{"position":[[2716,5]]},"201":{"position":[[190,5]]},"207":{"position":[[187,5]]},"239":{"position":[[147,5]]},"244":{"position":[[1392,5]]},"248":{"position":[[76,5]]},"254":{"position":[[158,5],[394,5]]},"286":{"position":[[183,6]]},"352":{"position":[[246,6]]},"365":{"position":[[1047,5]]},"371":{"position":[[40,5],[303,5]]},"383":{"position":[[406,5]]},"420":{"position":[[304,5]]},"437":{"position":[[5,5],[267,5]]},"445":{"position":[[1482,6],[1774,5]]},"446":{"position":[[1141,5]]},"447":{"position":[[237,5]]},"458":{"position":[[66,5]]},"479":{"position":[[384,6]]},"490":{"position":[[46,5]]},"494":{"position":[[6,6],[144,5],[155,8],[630,5]]},"503":{"position":[[74,6]]},"509":{"position":[[50,5]]},"513":{"position":[[106,5]]},"515":{"position":[[411,5]]},"520":{"position":[[40,5]]},"521":{"position":[[29,5],[556,5]]},"522":{"position":[[40,5],[205,5]]},"523":{"position":[[42,5]]},"524":{"position":[[670,5],[753,5],[1021,5]]},"530":{"position":[[17,5],[294,5],[470,5],[675,5]]},"531":{"position":[[445,5]]},"534":{"position":[[15,5]]},"535":{"position":[[1298,5]]},"536":{"position":[[22,5]]},"538":{"position":[[247,5]]},"540":{"position":[[183,5]]},"541":{"position":[[117,5],[208,8]]},"542":{"position":[[80,5]]},"543":{"position":[[48,5]]},"546":{"position":[[257,5]]},"548":{"position":[[244,5]]},"551":{"position":[[1,5],[302,5],[327,5]]},"556":{"position":[[106,5],[131,5],[224,5],[311,6]]},"557":{"position":[[119,5],[157,5],[460,5]]},"559":{"position":[[192,6],[228,8]]},"562":{"position":[[761,5],[886,5],[1043,6],[1079,8],[1641,5]]},"563":{"position":[[814,5]]},"567":{"position":[[757,5],[808,5],[1021,5]]},"631":{"position":[[190,5]]},"659":{"position":[[159,5]]},"749":{"position":[[5932,5]]},"785":{"position":[[402,5]]},"793":{"position":[[310,5],[1246,5]]},"824":{"position":[[241,5]]},"825":{"position":[[9,5]]},"828":{"position":[[69,5],[79,5],[180,5],[287,5]]},"829":{"position":[[34,5],[67,5],[73,5],[141,5],[209,5],[343,5],[923,5],[932,5],[1093,6],[1248,6],[1284,8],[2979,5]]},"830":{"position":[[69,5],[87,5],[187,5],[314,5]]},"831":{"position":[[20,5],[322,5],[406,5]]},"832":{"position":[[22,5],[142,6],[264,5]]},"834":{"position":[[61,5]]},"835":{"position":[[577,5],[627,5]]},"836":{"position":[[230,5],[396,5],[480,5],[517,5],[643,6],[1055,5],[1290,5],[1611,5]]},"837":{"position":[[312,5],[849,5],[1026,5],[1072,5],[1349,5],[1369,5],[1395,5],[1506,6],[1762,5],[1806,6],[2139,6]]},"838":{"position":[[377,5],[1195,5],[1341,5],[1582,5],[1821,5],[2004,6],[2403,5],[3206,5],[3413,5]]},"840":{"position":[[621,5],[664,5]]},"842":{"position":[[46,5],[84,5],[315,5]]},"852":{"position":[[1,5]]},"875":{"position":[[9143,5]]},"964":{"position":[[327,5],[454,5]]},"1150":{"position":[[119,5]]},"1173":{"position":[[230,5]]},"1183":{"position":[[467,5]]},"1191":{"position":[[377,5]]},"1196":{"position":[[42,6]]},"1214":{"position":[[104,5],[696,5]]},"1247":{"position":[[94,5]]},"1271":{"position":[[229,5]]},"1277":{"position":[[13,5],[306,6],[496,5],[597,5],[677,5],[833,6]]},"1283":{"position":[[1,5]]},"1284":{"position":[[69,5],[451,5]]},"1316":{"position":[[3550,5]]}},"keywords":{}}],["react'",{"_index":3258,"title":{},"content":{"521":{"position":[[134,7]]}},"keywords":{}}],["react.j",{"_index":1013,"title":{},"content":{"94":{"position":[[109,9]]},"173":{"position":[[2307,9]]},"222":{"position":[[126,9]]}},"keywords":{}}],["react/remix",{"_index":594,"title":{},"content":{"38":{"position":[[685,12]]}},"keywords":{}}],["reactiv",{"_index":284,"title":{"53":{"position":[[0,8]]},"68":{"position":[[20,9]]},"99":{"position":[[20,9]]},"121":{"position":[[0,8]]},"144":{"position":[[11,10]]},"150":{"position":[[54,8]]},"156":{"position":[[0,8]]},"182":{"position":[[0,8]]},"226":{"position":[[20,9]]},"326":{"position":[[0,8]]},"379":{"position":[[10,11]]},"515":{"position":[[0,8]]},"540":{"position":[[0,8]]},"580":{"position":[[4,10]]},"600":{"position":[[0,8]]},"822":{"position":[[23,10]]},"825":{"position":[[9,10]]},"826":{"position":[[17,10]]},"1113":{"position":[[10,8]]}},"content":{"17":{"position":[[21,8]]},"34":{"position":[[415,11]]},"35":{"position":[[396,8]]},"41":{"position":[[334,11]]},"42":{"position":[[21,9],[303,10]]},"53":{"position":[[26,11]]},"55":{"position":[[42,11],[86,10],[943,11]]},"68":{"position":[[91,8]]},"77":{"position":[[126,10]]},"90":{"position":[[136,8]]},"99":{"position":[[176,8],[311,8]]},"103":{"position":[[112,8]]},"106":{"position":[[70,11]]},"118":{"position":[[17,8],[69,8],[158,8]]},"120":{"position":[[63,8],[182,8]]},"121":{"position":[[39,8],[94,8],[240,8]]},"124":{"position":[[237,8]]},"126":{"position":[[101,8]]},"136":{"position":[[47,8]]},"144":{"position":[[29,10]]},"148":{"position":[[73,8]]},"153":{"position":[[17,8],[155,8]]},"155":{"position":[[60,8],[230,8]]},"156":{"position":[[45,8],[179,8]]},"161":{"position":[[204,8]]},"168":{"position":[[361,8]]},"170":{"position":[[114,9],[179,8]]},"174":{"position":[[349,8]]},"179":{"position":[[145,8],[348,8]]},"182":{"position":[[41,8],[119,8]]},"186":{"position":[[282,8]]},"198":{"position":[[150,8]]},"205":{"position":[[307,8]]},"226":{"position":[[141,9],[251,8],[370,8]]},"233":{"position":[[172,8]]},"235":{"position":[[163,10]]},"252":{"position":[[300,10]]},"322":{"position":[[17,8],[105,8]]},"323":{"position":[[1,8]]},"325":{"position":[[161,8]]},"331":{"position":[[158,11]]},"335":{"position":[[54,10]]},"346":{"position":[[250,11]]},"360":{"position":[[212,8]]},"362":{"position":[[866,8]]},"378":{"position":[[6,9],[146,10]]},"379":{"position":[[24,8]]},"385":{"position":[[273,8]]},"388":{"position":[[295,8]]},"411":{"position":[[2313,8],[2643,8],[3068,8]]},"419":{"position":[[1116,11]]},"445":{"position":[[23,8],[185,9],[1222,8],[1285,8],[1559,8]]},"447":{"position":[[351,8]]},"479":{"position":[[6,9]]},"502":{"position":[[19,9]]},"513":{"position":[[198,8],[271,8]]},"514":{"position":[[17,8],[101,8],[342,10]]},"515":{"position":[[52,8],[342,8]]},"520":{"position":[[109,8]]},"521":{"position":[[468,8]]},"523":{"position":[[131,10]]},"530":{"position":[[202,8],[356,8]]},"540":{"position":[[26,8]]},"541":{"position":[[73,8]]},"542":{"position":[[39,11],[144,10],[275,11],[604,11]]},"548":{"position":[[339,8]]},"560":{"position":[[711,11]]},"561":{"position":[[232,9]]},"562":{"position":[[738,8],[1618,8]]},"563":{"position":[[24,10],[95,10],[559,11],[986,11]]},"566":{"position":[[409,10],[537,11]]},"567":{"position":[[833,11]]},"574":{"position":[[84,8],[858,9],[924,10]]},"575":{"position":[[18,8],[110,8],[239,11]]},"576":{"position":[[98,8]]},"580":{"position":[[204,10]]},"591":{"position":[[443,10]]},"600":{"position":[[26,8]]},"602":{"position":[[27,10],[85,10],[279,8]]},"608":{"position":[[337,8]]},"631":{"position":[[247,8]]},"632":{"position":[[1685,8]]},"662":{"position":[[102,9]]},"723":{"position":[[1050,8]]},"749":{"position":[[6615,10]]},"793":{"position":[[1062,10]]},"825":{"position":[[63,10],[230,10],[269,10],[411,11]]},"826":{"position":[[180,10],[309,10]]},"828":{"position":[[20,8],[321,10]]},"829":{"position":[[3851,8]]},"831":{"position":[[83,10],[130,10],[176,8],[474,10],[513,10],[551,10]]},"836":{"position":[[2394,8]]},"838":{"position":[[77,8],[555,8]]},"841":{"position":[[526,10],[584,8],[624,11],[1436,8]]},"860":{"position":[[166,8]]},"1069":{"position":[[19,8]]},"1117":{"position":[[107,10]]},"1118":{"position":[[56,10],[259,10],[715,11]]},"1124":{"position":[[675,13]]},"1150":{"position":[[201,8]]}},"keywords":{}}],["reactivityfactori",{"_index":6001,"title":{},"content":{"1118":{"position":[[476,18],[727,17]]}},"keywords":{}}],["reactj",{"_index":3385,"title":{"558":{"position":[[0,7]]},"559":{"position":[[24,7]]},"561":{"position":[[46,8]]}},"content":{"559":{"position":[[841,8]]},"560":{"position":[[139,7],[657,7]]},"561":{"position":[[135,7]]},"563":{"position":[[1001,8]]},"564":{"position":[[19,7],[1133,7]]},"567":{"position":[[39,7],[547,8],[1082,7]]}},"keywords":{}}],["reactn",{"_index":101,"title":{},"content":{"8":{"position":[[6,11]]},"1214":{"position":[[765,11],[946,11]]},"1235":{"position":[[269,12]]}},"keywords":{}}],["read",{"_index":674,"title":{"204":{"position":[[25,4]]},"465":{"position":[[17,6]]},"467":{"position":[[9,6]]},"1033":{"position":[[37,5]]},"1239":{"position":[[33,6]]},"1302":{"position":[[8,5]]}},"content":{"43":{"position":[[433,4],[717,4]]},"144":{"position":[[137,4]]},"181":{"position":[[187,5]]},"201":{"position":[[284,5]]},"204":{"position":[[96,6],[348,4]]},"251":{"position":[[43,6],[205,5],[215,4]]},"262":{"position":[[158,4],[170,7],[239,5]]},"263":{"position":[[291,6]]},"265":{"position":[[646,5]]},"358":{"position":[[78,4]]},"364":{"position":[[773,4]]},"365":{"position":[[272,4]]},"369":{"position":[[1004,7]]},"370":{"position":[[317,4]]},"371":{"position":[[322,4]]},"380":{"position":[[153,7]]},"398":{"position":[[3090,4],[3217,4],[3294,5]]},"400":{"position":[[40,4]]},"402":{"position":[[400,4],[1227,4]]},"407":{"position":[[130,4]]},"408":{"position":[[2853,5]]},"411":{"position":[[1255,5]]},"414":{"position":[[84,4]]},"415":{"position":[[112,7]]},"420":{"position":[[1368,7]]},"430":{"position":[[717,4]]},"453":{"position":[[208,4]]},"465":{"position":[[75,4],[335,5],[434,5]]},"467":{"position":[[10,4],[281,7],[552,5],[658,6]]},"470":{"position":[[9,7]]},"474":{"position":[[117,4]]},"477":{"position":[[204,5]]},"545":{"position":[[126,4]]},"550":{"position":[[127,4]]},"559":{"position":[[1085,7]]},"602":{"position":[[357,4],[465,4]]},"605":{"position":[[126,4]]},"630":{"position":[[83,5],[682,4]]},"632":{"position":[[1906,5]]},"659":{"position":[[551,4]]},"670":{"position":[[481,4]]},"696":{"position":[[2049,4]]},"705":{"position":[[1170,4]]},"709":{"position":[[1144,4]]},"711":{"position":[[576,4]]},"716":{"position":[[107,7]]},"719":{"position":[[456,4]]},"749":{"position":[[5451,4]]},"759":{"position":[[1399,4]]},"772":{"position":[[1323,5]]},"773":{"position":[[202,4]]},"824":{"position":[[52,7],[333,7]]},"835":{"position":[[280,5]]},"841":{"position":[[1069,4]]},"845":{"position":[[154,4]]},"847":{"position":[[132,4]]},"854":{"position":[[1181,4],[1262,4]]},"861":{"position":[[2521,5]]},"863":{"position":[[416,5]]},"901":{"position":[[597,4]]},"904":{"position":[[2485,4]]},"912":{"position":[[732,4]]},"932":{"position":[[503,6]]},"936":{"position":[[123,4]]},"963":{"position":[[176,4]]},"968":{"position":[[620,4],[649,8]]},"973":{"position":[[67,4]]},"1032":{"position":[[108,5],[268,5]]},"1033":{"position":[[34,5],[289,4],[459,6]]},"1065":{"position":[[63,7]]},"1080":{"position":[[1134,4]]},"1090":{"position":[[104,4]]},"1092":{"position":[[396,4],[428,5]]},"1093":{"position":[[399,5]]},"1094":{"position":[[468,5]]},"1120":{"position":[[649,5],[701,4]]},"1123":{"position":[[88,5]]},"1140":{"position":[[290,4]]},"1143":{"position":[[227,5]]},"1156":{"position":[[154,7]]},"1188":{"position":[[368,4]]},"1207":{"position":[[289,6]]},"1208":{"position":[[186,4],[1264,4]]},"1209":{"position":[[276,5],[423,5]]},"1211":{"position":[[513,5]]},"1213":{"position":[[890,4],[919,8]]},"1239":{"position":[[90,5]]},"1241":{"position":[[139,4]]},"1242":{"position":[[218,4]]},"1243":{"position":[[136,4]]},"1244":{"position":[[165,4]]},"1245":{"position":[[104,4]]},"1246":{"position":[[328,4],[648,4],[945,4],[1207,4],[1581,4],[1979,4],[2263,4]]},"1247":{"position":[[130,4],[231,4],[417,4],[581,4],[740,4]]},"1292":{"position":[[459,5]]},"1294":{"position":[[213,7]]},"1295":{"position":[[687,4]]},"1299":{"position":[[195,5]]},"1302":{"position":[[56,5]]},"1304":{"position":[[1700,4]]},"1308":{"position":[[643,4]]},"1314":{"position":[[91,4]]},"1316":{"position":[[3002,4]]},"1324":{"position":[[811,4]]}},"keywords":{}}],["read.th",{"_index":3066,"title":{},"content":{"465":{"position":[[398,8]]}},"keywords":{}}],["read/writ",{"_index":1426,"title":{},"content":{"236":{"position":[[224,10]]},"430":{"position":[[684,10]]},"462":{"position":[[137,10]]},"588":{"position":[[139,10]]},"1161":{"position":[[10,10]]},"1180":{"position":[[10,10]]},"1192":{"position":[[403,10]]}},"keywords":{}}],["readabl",{"_index":2107,"title":{},"content":{"364":{"position":[[747,9]]},"1237":{"position":[[335,8]]}},"keywords":{}}],["readbuff",{"_index":6211,"title":{},"content":{"1208":{"position":[[1310,10]]}},"keywords":{}}],["readi",{"_index":1168,"title":{"309":{"position":[[11,5]]}},"content":{"153":{"position":[[339,6]]},"170":{"position":[[132,6]]},"253":{"position":[[240,5]]},"263":{"position":[[362,5]]},"314":{"position":[[920,5]]},"318":{"position":[[344,5]]},"388":{"position":[[1,5]]},"411":{"position":[[478,5]]},"480":{"position":[[961,5]]},"498":{"position":[[1,5]]},"824":{"position":[[13,5]]},"1227":{"position":[[185,5]]},"1265":{"position":[[178,5]]},"1271":{"position":[[608,5]]}},"keywords":{}}],["readili",{"_index":2853,"title":{},"content":{"421":{"position":[[471,7]]}},"keywords":{}}],["readonli",{"_index":2995,"title":{"1109":{"position":[[0,8]]}},"content":{"459":{"position":[[664,12]]},"661":{"position":[[1253,8]]},"825":{"position":[[992,8]]},"1109":{"position":[[346,11]]},"1294":{"position":[[856,11]]}},"keywords":{}}],["reads/writ",{"_index":2070,"title":{},"content":{"358":{"position":[[927,13]]},"408":{"position":[[1736,12]]},"410":{"position":[[359,12]]},"560":{"position":[[109,13]]},"566":{"position":[[724,12]]}},"keywords":{}}],["readsiz",{"_index":6213,"title":{},"content":{"1208":{"position":[[1356,8],[1607,8]]}},"keywords":{}}],["readwrit",{"_index":1806,"title":{},"content":{"302":{"position":[[725,13]]}},"keywords":{}}],["read—but",{"_index":2086,"title":{},"content":{"361":{"position":[[1074,8]]}},"keywords":{}}],["real",{"_index":537,"title":{"90":{"position":[[9,4]]},"136":{"position":[[0,4]]},"174":{"position":[[37,4]]},"264":{"position":[[45,4]]},"312":{"position":[[3,4]]},"379":{"position":[[0,4]]},"476":{"position":[[3,4]]},"490":{"position":[[0,4]]},"570":{"position":[[0,4]]},"632":{"position":[[0,4]]},"869":{"position":[[38,4]]},"895":{"position":[[39,4]]}},"content":{"34":{"position":[[405,4]]},"35":{"position":[[386,4]]},"39":{"position":[[27,4],[501,4]]},"40":{"position":[[86,4],[487,4]]},"42":{"position":[[78,4]]},"53":{"position":[[117,4]]},"65":{"position":[[749,4],[777,4]]},"68":{"position":[[132,4]]},"77":{"position":[[92,4]]},"83":{"position":[[106,4]]},"89":{"position":[[249,4]]},"90":{"position":[[41,4],[239,4]]},"99":{"position":[[229,4]]},"103":{"position":[[196,4]]},"109":{"position":[[245,4]]},"114":{"position":[[545,4]]},"121":{"position":[[121,4]]},"124":{"position":[[292,4]]},"126":{"position":[[308,4]]},"136":{"position":[[15,4],[162,4],[273,4]]},"140":{"position":[[283,4]]},"148":{"position":[[327,4]]},"151":{"position":[[177,4]]},"155":{"position":[[258,4]]},"156":{"position":[[311,4]]},"158":{"position":[[153,4]]},"162":{"position":[[502,4]]},"165":{"position":[[144,4]]},"168":{"position":[[107,4],[303,4]]},"170":{"position":[[295,4]]},"173":{"position":[[161,4],[370,4],[852,4],[936,4],[1069,4]]},"174":{"position":[[91,4],[401,4],[1969,4]]},"175":{"position":[[558,4]]},"179":{"position":[[408,4]]},"184":{"position":[[270,4]]},"185":{"position":[[280,4]]},"192":{"position":[[350,4]]},"198":{"position":[[114,4]]},"205":{"position":[[269,4]]},"208":{"position":[[324,4]]},"212":{"position":[[573,4]]},"220":{"position":[[283,4]]},"252":{"position":[[344,4]]},"255":{"position":[[197,4],[1855,4]]},"263":{"position":[[501,4]]},"265":{"position":[[322,4],[892,4]]},"267":{"position":[[53,4],[132,4],[186,4],[288,4],[411,4],[570,4],[741,4],[841,4],[930,4],[1041,4],[1209,4],[1442,4],[1530,4]]},"275":{"position":[[153,4]]},"283":{"position":[[308,4]]},"289":{"position":[[1258,4]]},"301":{"position":[[24,4],[263,4]]},"312":{"position":[[207,4]]},"318":{"position":[[667,4]]},"321":{"position":[[536,4]]},"322":{"position":[[214,4]]},"323":{"position":[[36,4]]},"325":{"position":[[220,4]]},"328":{"position":[[15,4]]},"330":{"position":[[151,4]]},"340":{"position":[[95,4]]},"344":{"position":[[107,4]]},"353":{"position":[[693,4]]},"368":{"position":[[360,4]]},"375":{"position":[[368,4]]},"378":{"position":[[161,4]]},"388":{"position":[[449,4]]},"408":{"position":[[1917,4]]},"410":{"position":[[422,4],[1619,4]]},"411":{"position":[[2821,4],[3874,4]]},"412":{"position":[[6484,4]]},"418":{"position":[[301,4]]},"419":{"position":[[1106,4]]},"420":{"position":[[1341,4]]},"421":{"position":[[240,4],[439,4]]},"432":{"position":[[1222,4]]},"445":{"position":[[301,4],[790,4],[850,4],[1135,4]]},"446":{"position":[[427,4],[478,4],[598,4],[750,4]]},"447":{"position":[[136,4]]},"469":{"position":[[1389,4]]},"476":{"position":[[100,4],[205,4]]},"479":{"position":[[182,4]]},"480":{"position":[[704,4]]},"483":{"position":[[135,4],[334,4]]},"490":{"position":[[693,4]]},"491":{"position":[[258,4],[823,4],[1526,4]]},"497":{"position":[[13,4]]},"498":{"position":[[311,4]]},"501":{"position":[[184,4]]},"502":{"position":[[110,4],[791,4]]},"504":{"position":[[1135,4]]},"509":{"position":[[75,4]]},"517":{"position":[[190,4]]},"529":{"position":[[135,4]]},"530":{"position":[[407,4]]},"540":{"position":[[64,4]]},"554":{"position":[[371,4]]},"566":{"position":[[399,4]]},"567":{"position":[[111,4]]},"569":{"position":[[86,4],[113,4],[408,4],[464,4],[514,4],[641,4]]},"575":{"position":[[229,4]]},"582":{"position":[[251,4]]},"585":{"position":[[122,4]]},"589":{"position":[[117,4]]},"595":{"position":[[850,4]]},"600":{"position":[[64,4]]},"610":{"position":[[824,4]]},"611":{"position":[[253,4]]},"612":{"position":[[321,4]]},"613":{"position":[[445,4]]},"614":{"position":[[13,4],[94,4]]},"621":{"position":[[124,4],[499,4]]},"631":{"position":[[74,4]]},"705":{"position":[[351,4]]},"723":{"position":[[985,4],[1168,4],[1569,4]]},"749":{"position":[[21370,4]]},"772":{"position":[[104,4]]},"776":{"position":[[375,4]]},"798":{"position":[[242,4]]},"802":{"position":[[888,4]]},"836":{"position":[[1469,4],[2303,4]]},"837":{"position":[[819,4]]},"838":{"position":[[441,4]]},"841":{"position":[[658,4],[1531,4]]},"860":{"position":[[140,4],[558,4],[590,4]]},"901":{"position":[[23,4]]},"903":{"position":[[16,4]]},"1072":{"position":[[872,4]]},"1132":{"position":[[946,4]]},"1150":{"position":[[145,4]]},"1209":{"position":[[324,4]]},"1313":{"position":[[512,4]]}},"keywords":{}}],["realiti",{"_index":2795,"title":{},"content":{"418":{"position":[[505,8]]},"875":{"position":[[4945,7],[5687,7]]}},"keywords":{}}],["realiz",{"_index":6559,"title":{},"content":{"1316":{"position":[[2444,11]]}},"keywords":{}}],["realli",{"_index":15,"title":{"697":{"position":[[23,6]]}},"content":{"1":{"position":[[230,6]]},"5":{"position":[[167,6]]},"19":{"position":[[547,6]]},"29":{"position":[[326,6]]},"260":{"position":[[258,6]]},"411":{"position":[[951,6]]},"465":{"position":[[345,6],[352,6]]},"468":{"position":[[17,6]]},"696":{"position":[[1550,6]]},"701":{"position":[[454,6],[958,6]]},"703":{"position":[[1194,6]]},"740":{"position":[[220,6]]},"773":{"position":[[187,6]]},"800":{"position":[[272,6]]},"837":{"position":[[585,6]]},"1156":{"position":[[202,6]]},"1167":{"position":[[1,6]]},"1171":{"position":[[344,6]]},"1193":{"position":[[164,6]]},"1238":{"position":[[121,6]]},"1241":{"position":[[90,6]]},"1315":{"position":[[958,6]]},"1318":{"position":[[957,6]]},"1321":{"position":[[126,6]]}},"keywords":{}}],["realm",{"_index":566,"title":{"36":{"position":[[8,6]]},"839":{"position":[[0,6]]}},"content":{"36":{"position":[[12,5],[262,5],[304,5],[351,5]]},"444":{"position":[[464,6]]},"445":{"position":[[79,5]]},"530":{"position":[[8,5]]},"749":{"position":[[8815,5]]},"839":{"position":[[3,5],[123,5],[402,5],[449,5],[672,5],[868,5],[1174,5]]},"841":{"position":[[49,5],[443,5],[639,5],[805,5],[1520,5]]},"1115":{"position":[[593,6]]},"1117":{"position":[[541,6]]},"1230":{"position":[[180,6],[280,6]]}},"keywords":{}}],["realm'",{"_index":4803,"title":{},"content":{"839":{"position":[[1063,7]]}},"keywords":{}}],["realmasterst",{"_index":5021,"title":{},"content":{"875":{"position":[[4637,15],[4721,15],[4783,15]]},"1309":{"position":[[1133,15]]}},"keywords":{}}],["realmasterstate.updatedat",{"_index":5025,"title":{},"content":{"875":{"position":[[5029,25]]}},"keywords":{}}],["realtim",{"_index":180,"title":{"12":{"position":[[17,8]]},"199":{"position":[[20,8]]},"200":{"position":[[34,8]]},"221":{"position":[[9,8]]},"568":{"position":[[10,8]]},"569":{"position":[[0,8],[15,8]]},"570":{"position":[[25,8]]},"571":{"position":[[0,8],[15,8]]},"699":{"position":[[0,8]]},"781":{"position":[[0,8]]},"980":{"position":[[7,8]]},"1150":{"position":[[12,8]]}},"content":{"14":{"position":[[173,8],[228,8],[261,8],[471,8],[653,8]]},"15":{"position":[[72,8]]},"18":{"position":[[380,8]]},"19":{"position":[[510,8]]},"20":{"position":[[82,9]]},"22":{"position":[[241,8]]},"25":{"position":[[85,8]]},"38":{"position":[[57,9]]},"201":{"position":[[17,8]]},"202":{"position":[[16,8]]},"203":{"position":[[10,8]]},"204":{"position":[[27,8]]},"205":{"position":[[24,8]]},"212":{"position":[[147,8]]},"221":{"position":[[1,8],[158,8]]},"238":{"position":[[8,8]]},"243":{"position":[[229,8]]},"410":{"position":[[1463,8],[1854,8]]},"444":{"position":[[601,8]]},"569":{"position":[[1000,8],[1084,9],[1100,8],[1268,8],[1495,8],[1541,8]]},"570":{"position":[[20,8],[61,9],[77,8],[161,8],[234,8]]},"571":{"position":[[19,8],[583,8],[647,8],[1405,8]]},"572":{"position":[[59,8]]},"625":{"position":[[16,8]]},"626":{"position":[[879,8]]},"627":{"position":[[218,8]]},"661":{"position":[[1580,8],[1808,8]]},"662":{"position":[[243,8],[304,8]]},"699":{"position":[[135,9],[197,8],[254,8],[759,9],[1017,8]]},"710":{"position":[[373,8]]},"781":{"position":[[225,8],[600,8]]},"784":{"position":[[544,8]]},"838":{"position":[[272,8],[333,8]]},"860":{"position":[[1211,8]]},"875":{"position":[[6722,8]]},"886":{"position":[[3244,8],[3781,8]]},"896":{"position":[[244,8]]},"897":{"position":[[306,8]]},"898":{"position":[[735,8]]},"965":{"position":[[47,8]]},"988":{"position":[[650,8],[4910,8]]},"1094":{"position":[[236,8]]},"1123":{"position":[[730,8]]},"1124":{"position":[[880,8],[1593,8],[2111,8]]},"1320":{"position":[[949,8]]},"1321":{"position":[[162,8]]}},"keywords":{}}],["reason",{"_index":79,"title":{"428":{"position":[[0,7]]}},"content":{"5":{"position":[[179,7]]},"67":{"position":[[140,8]]},"86":{"position":[[22,7]]},"98":{"position":[[155,7]]},"215":{"position":[[16,6]]},"225":{"position":[[116,7]]},"266":{"position":[[993,6]]},"278":{"position":[[195,7]]},"398":{"position":[[3008,10]]},"411":{"position":[[5726,7]]},"412":{"position":[[6973,10]]},"420":{"position":[[523,6]]},"455":{"position":[[329,8]]},"461":{"position":[[150,11]]},"485":{"position":[[145,7]]},"534":{"position":[[134,7]]},"556":{"position":[[1528,8]]},"594":{"position":[[132,7]]},"688":{"position":[[517,6]]},"691":{"position":[[664,6]]},"709":{"position":[[1072,6]]},"721":{"position":[[241,6]]},"740":{"position":[[129,6]]},"828":{"position":[[519,6]]},"837":{"position":[[824,6]]},"985":{"position":[[158,6]]},"990":{"position":[[53,7]]},"1010":{"position":[[161,6]]},"1085":{"position":[[176,7]]},"1105":{"position":[[1033,7]]},"1108":{"position":[[589,8]]},"1112":{"position":[[611,8]]},"1174":{"position":[[99,6]]},"1246":{"position":[[1480,6]]},"1281":{"position":[[55,6]]}},"keywords":{}}],["reassign",{"_index":4088,"title":{},"content":{"737":{"position":[[450,8]]}},"keywords":{}}],["rebuild",{"_index":3994,"title":{},"content":{"711":{"position":[[809,7],[956,7],[1005,7]]},"749":{"position":[[23687,7]]}},"keywords":{}}],["recalcul",{"_index":2627,"title":{},"content":{"411":{"position":[[3361,12]]}},"keywords":{}}],["receiv",{"_index":1175,"title":{},"content":{"159":{"position":[[187,7]]},"185":{"position":[[272,7]]},"379":{"position":[[112,7]]},"411":{"position":[[523,8]]},"415":{"position":[[475,9]]},"570":{"position":[[566,7]]},"610":{"position":[[533,9],[1576,8]]},"612":{"position":[[648,9]]},"616":{"position":[[88,7]]},"767":{"position":[[16,8]]},"768":{"position":[[13,8]]},"769":{"position":[[16,8]]},"875":{"position":[[7960,8]]},"886":{"position":[[2151,8]]},"986":{"position":[[1355,7]]},"991":{"position":[[183,8]]},"993":{"position":[[117,8]]},"1022":{"position":[[192,9],[318,9],[505,11],[851,9],[861,8],[1042,9]]}},"keywords":{}}],["received"",{"_index":5633,"title":{},"content":{"1022":{"position":[[959,14]]}},"keywords":{}}],["recent",{"_index":2704,"title":{},"content":{"412":{"position":[[5950,9]]}},"keywords":{}}],["recombin",{"_index":6455,"title":{},"content":{"1295":{"position":[[1333,10]]}},"keywords":{}}],["recommend",{"_index":73,"title":{"624":{"position":[[0,15]]},"1235":{"position":[[6,16]]}},"content":{"4":{"position":[[238,11]]},"9":{"position":[[98,11]]},"51":{"position":[[903,11]]},"145":{"position":[[78,11]]},"351":{"position":[[425,12]]},"432":{"position":[[1055,12]]},"434":{"position":[[358,11]]},"439":{"position":[[89,11]]},"566":{"position":[[620,11]]},"567":{"position":[[149,11]]},"590":{"position":[[15,15]]},"616":{"position":[[227,11]]},"655":{"position":[[98,11]]},"661":{"position":[[409,11]]},"662":{"position":[[513,11],[1076,11]]},"693":{"position":[[32,11]]},"709":{"position":[[937,11]]},"710":{"position":[[724,11],[1010,9],[2292,11]]},"711":{"position":[[460,12],[492,14]]},"716":{"position":[[253,11]]},"721":{"position":[[83,11]]},"772":{"position":[[2090,11]]},"834":{"position":[[89,9]]},"835":{"position":[[651,10]]},"836":{"position":[[375,9]]},"837":{"position":[[1209,11]]},"838":{"position":[[1382,11]]},"840":{"position":[[641,11]]},"857":{"position":[[554,11]]},"861":{"position":[[116,11]]},"911":{"position":[[274,11]]},"988":{"position":[[462,11]]},"1068":{"position":[[287,11]]},"1192":{"position":[[633,11]]},"1195":{"position":[[99,11]]},"1196":{"position":[[109,12]]},"1214":{"position":[[310,12]]},"1231":{"position":[[46,11]]},"1246":{"position":[[2058,11]]}},"keywords":{}}],["recommended)nev",{"_index":6174,"title":{},"content":{"1198":{"position":[[2126,18]]}},"keywords":{}}],["reconcil",{"_index":1301,"title":{},"content":{"201":{"position":[[387,10]]},"412":{"position":[[739,9]]},"416":{"position":[[214,9]]}},"keywords":{}}],["reconnect",{"_index":616,"title":{"626":{"position":[[34,13]]}},"content":{"39":{"position":[[152,11]]},"416":{"position":[[193,12]]},"446":{"position":[[399,10]]},"481":{"position":[[206,11]]},"610":{"position":[[1655,13]]},"612":{"position":[[1390,9]]},"626":{"position":[[30,12]]},"875":{"position":[[8619,9]]},"985":{"position":[[612,11]]},"988":{"position":[[5623,9]]}},"keywords":{}}],["reconnect.low",{"_index":2139,"title":{},"content":{"375":{"position":[[279,13]]}},"keywords":{}}],["reconnections.plan",{"_index":3528,"title":{},"content":{"590":{"position":[[791,18]]}},"keywords":{}}],["record",{"_index":1856,"title":{},"content":{"303":{"position":[[1437,7]]},"304":{"position":[[63,6]]},"350":{"position":[[40,6]]},"356":{"position":[[402,6]]},"360":{"position":[[38,6]]},"379":{"position":[[146,7]]},"412":{"position":[[9923,6]]},"943":{"position":[[240,7]]},"1009":{"position":[[288,7]]}},"keywords":{}}],["records.us",{"_index":3192,"title":{},"content":{"496":{"position":[[445,12]]}},"keywords":{}}],["recov",{"_index":2730,"title":{},"content":{"412":{"position":[[8263,7]]}},"keywords":{}}],["recreat",{"_index":2227,"title":{},"content":{"391":{"position":[[1098,8]]},"403":{"position":[[672,8]]},"1028":{"position":[[88,10]]}},"keywords":{}}],["recur",{"_index":5394,"title":{},"content":{"965":{"position":[[268,9]]}},"keywords":{}}],["red",{"_index":6524,"title":{},"content":{"1314":{"position":[[445,3],[542,3],[666,5]]}},"keywords":{}}],["red;">uncaught",{"_index":6184,"title":{},"content":{"1202":{"position":[[121,22]]}},"keywords":{}}],["reddit",{"_index":4590,"title":{},"content":{"779":{"position":[[38,6]]}},"keywords":{}}],["redefin",{"_index":1998,"title":{},"content":{"351":{"position":[[342,10]]},"510":{"position":[[97,8],[580,8]]}},"keywords":{}}],["redo",{"_index":5975,"title":{},"content":{"1110":{"position":[[64,5]]}},"keywords":{}}],["redraw",{"_index":2623,"title":{},"content":{"411":{"position":[[3030,6]]}},"keywords":{}}],["reduc",{"_index":718,"title":{"251":{"position":[[3,7]]},"477":{"position":[[3,7]]},"799":{"position":[[22,6]]}},"content":{"46":{"position":[[628,6]]},"57":{"position":[[406,6]]},"65":{"position":[[1364,6]]},"81":{"position":[[66,8]]},"87":{"position":[[129,6]]},"91":{"position":[[199,8]]},"93":{"position":[[29,7]]},"108":{"position":[[99,7]]},"111":{"position":[[99,7]]},"141":{"position":[[4,6],[162,8]]},"146":{"position":[[179,6]]},"169":{"position":[[161,6]]},"170":{"position":[[517,6]]},"173":{"position":[[760,7],[1775,7],[2042,7]]},"174":{"position":[[931,8],[1650,7],[1755,7],[2452,7]]},"197":{"position":[[107,7]]},"204":{"position":[[275,8]]},"216":{"position":[[156,6]]},"219":{"position":[[298,7]]},"223":{"position":[[333,8]]},"224":{"position":[[184,8]]},"234":{"position":[[94,7]]},"236":{"position":[[69,8],[186,7]]},"251":{"position":[[288,6]]},"263":{"position":[[298,6]]},"273":{"position":[[172,8]]},"281":{"position":[[406,7]]},"294":{"position":[[168,8]]},"301":{"position":[[633,6]]},"302":{"position":[[527,6]]},"311":{"position":[[195,8]]},"316":{"position":[[474,8]]},"323":{"position":[[423,6]]},"353":{"position":[[786,6]]},"354":{"position":[[1668,6]]},"361":{"position":[[416,8],[1111,7]]},"366":{"position":[[167,8]]},"369":{"position":[[872,7],[945,6]]},"375":{"position":[[305,8]]},"376":{"position":[[407,6]]},"392":{"position":[[5119,6]]},"396":{"position":[[288,8]]},"402":{"position":[[1283,7]]},"408":{"position":[[2564,6]]},"410":{"position":[[712,8]]},"411":{"position":[[1,7],[1519,7],[2454,6],[5135,8],[5339,8],[5678,8]]},"419":{"position":[[1477,6]]},"446":{"position":[[1394,8]]},"483":{"position":[[158,7],[851,6]]},"487":{"position":[[221,6]]},"490":{"position":[[456,6],[510,6]]},"495":{"position":[[490,6]]},"500":{"position":[[476,6]]},"508":{"position":[[54,7]]},"527":{"position":[[165,8]]},"528":{"position":[[38,6]]},"534":{"position":[[589,7]]},"550":{"position":[[316,6]]},"574":{"position":[[411,8]]},"582":{"position":[[636,8]]},"587":{"position":[[81,6]]},"588":{"position":[[74,8]]},"594":{"position":[[587,7]]},"610":{"position":[[682,7]]},"623":{"position":[[735,8]]},"630":{"position":[[316,8]]},"631":{"position":[[476,6]]},"632":{"position":[[218,8]]},"723":{"position":[[721,8]]},"780":{"position":[[308,8]]},"802":{"position":[[713,7]]},"901":{"position":[[428,7]]},"902":{"position":[[1,7],[807,8]]},"981":{"position":[[1659,7]]},"1009":{"position":[[627,7]]},"1124":{"position":[[107,6],[1750,6]]},"1132":{"position":[[1109,6]]},"1143":{"position":[[160,7],[305,7]]},"1211":{"position":[[495,6]]},"1237":{"position":[[223,6]]},"1316":{"position":[[1417,6]]}},"keywords":{}}],["reduct",{"_index":2490,"title":{},"content":{"402":{"position":[[2459,9]]}},"keywords":{}}],["redund",{"_index":1421,"title":{},"content":{"234":{"position":[[102,9]]},"736":{"position":[[533,9]]},"737":{"position":[[22,10]]}},"keywords":{}}],["redux",{"_index":1017,"title":{"785":{"position":[[19,6]]}},"content":{"96":{"position":[[125,5]]},"173":{"position":[[3086,5]]},"219":{"position":[[90,5]]},"411":{"position":[[1999,7]]},"478":{"position":[[93,6]]},"520":{"position":[[372,5]]},"785":{"position":[[296,5]]}},"keywords":{}}],["redux"",{"_index":1522,"title":{},"content":{"244":{"position":[[1437,11]]},"411":{"position":[[2619,11]]}},"keywords":{}}],["reestablish",{"_index":1296,"title":{},"content":{"191":{"position":[[210,14]]},"445":{"position":[[744,14]]},"516":{"position":[[274,14]]},"525":{"position":[[224,14]]},"981":{"position":[[1418,13]]}},"keywords":{}}],["ref",{"_index":3494,"title":{"808":{"position":[[12,4]]}},"content":{"580":{"position":[[308,4],[389,8]]},"590":{"position":[[284,5]]},"591":{"position":[[518,5]]},"601":{"position":[[386,4]]},"749":{"position":[[10108,3],[10190,3],[12069,5],[17060,3],[17183,3],[21028,4],[21206,4]]},"808":{"position":[[5,3],[262,4],[324,3],[646,4]]},"812":{"position":[[209,4]]},"813":{"position":[[169,4]]}},"keywords":{}}],["ref<any[]>",{"_index":3542,"title":{},"content":{"601":{"position":[[461,21]]}},"keywords":{}}],["refactor",{"_index":6014,"title":{},"content":{"1124":{"position":[[318,8]]}},"keywords":{}}],["refer",{"_index":1196,"title":{"812":{"position":[[20,10]]},"817":{"position":[[6,10]]}},"content":{"172":{"position":[[22,6]]},"188":{"position":[[2488,10]]},"387":{"position":[[186,10]]},"390":{"position":[[132,8]]},"563":{"position":[[776,9]]},"570":{"position":[[52,5]]},"571":{"position":[[75,6]]},"808":{"position":[[279,6],[450,9]]},"810":{"position":[[12,8]]},"817":{"position":[[46,10]]},"899":{"position":[[17,10]]},"1173":{"position":[[272,9]]},"1284":{"position":[[355,9]]}},"keywords":{}}],["referenc",{"_index":4702,"title":{},"content":{"817":{"position":[[131,10]]}},"keywords":{}}],["referenceerror",{"_index":2923,"title":{},"content":{"438":{"position":[[97,15]]},"440":{"position":[[293,15]]},"729":{"position":[[100,15]]},"1202":{"position":[[144,15]]}},"keywords":{}}],["referencerxserv",{"_index":4976,"title":{},"content":{"873":{"position":[[133,17]]}},"keywords":{}}],["referenti",{"_index":2012,"title":{},"content":{"353":{"position":[[557,11]]},"412":{"position":[[13762,11]]}},"keywords":{}}],["refetch",{"_index":2151,"title":{},"content":{"379":{"position":[[184,10]]}},"keywords":{}}],["refetch.cross",{"_index":3163,"title":{},"content":{"490":{"position":[[300,13]]}},"keywords":{}}],["refhuman",{"_index":4674,"title":{},"content":{"808":{"position":[[124,8]]}},"keywords":{}}],["refin",{"_index":3446,"title":{},"content":{"567":{"position":[[1070,6]]},"935":{"position":[[67,6]]}},"keywords":{}}],["reflect",{"_index":611,"title":{},"content":{"38":{"position":[[1146,9]]},"53":{"position":[[98,7]]},"90":{"position":[[199,7]]},"125":{"position":[[259,9]]},"160":{"position":[[173,9]]},"185":{"position":[[302,7]]},"323":{"position":[[108,7]]},"329":{"position":[[212,7]]},"411":{"position":[[4392,7]]},"475":{"position":[[211,7]]},"493":{"position":[[527,10]]},"562":{"position":[[979,7]]},"571":{"position":[[230,7]]},"589":{"position":[[168,9]]},"632":{"position":[[304,7]]},"634":{"position":[[146,7]]},"681":{"position":[[150,7]]},"723":{"position":[[1235,10]]}},"keywords":{}}],["refresh",{"_index":1927,"title":{},"content":{"326":{"position":[[254,7]]},"346":{"position":[[218,10]]},"360":{"position":[[360,7]]},"411":{"position":[[3054,8]]},"421":{"position":[[426,7]]},"490":{"position":[[156,8]]},"567":{"position":[[924,7]]},"571":{"position":[[1041,7]]},"575":{"position":[[652,7]]}},"keywords":{}}],["refs/react",{"_index":3489,"title":{},"content":{"580":{"position":[[153,13]]}},"keywords":{}}],["refus",{"_index":1862,"title":{},"content":{"304":{"position":[[347,7]]},"685":{"position":[[565,6]]},"1207":{"position":[[661,6]]}},"keywords":{}}],["regardless",{"_index":1003,"title":{},"content":{"88":{"position":[[63,10]]},"183":{"position":[[329,10]]},"206":{"position":[[246,10]]},"516":{"position":[[214,10]]},"632":{"position":[[2794,10]]}},"keywords":{}}],["regex",{"_index":2568,"title":{"1110":{"position":[[0,6]]}},"content":{"408":{"position":[[4804,5]]},"749":{"position":[[147,5],[1784,8],[2948,6],[16864,5]]},"796":{"position":[[633,6],[879,7],[916,5]]},"935":{"position":[[225,6]]},"1065":{"position":[[481,5],[507,6],[821,7],[1319,7]]},"1067":{"position":[[1242,6],[1324,7],[2003,7],[2147,7]]},"1072":{"position":[[2543,5],[2682,7],[2740,5],[2801,5]]},"1084":{"position":[[329,5]]},"1110":{"position":[[1,6]]},"1132":{"position":[[760,6]]}},"keywords":{}}],["regexp",{"_index":4173,"title":{},"content":{"749":{"position":[[2999,6],[3032,6]]},"1065":{"position":[[570,6],[655,6],[730,6]]}},"keywords":{}}],["regexqueri",{"_index":4641,"title":{},"content":{"796":{"position":[[844,10]]}},"keywords":{}}],["region",{"_index":6011,"title":{},"content":{"1123":{"position":[[114,7],[247,8]]}},"keywords":{}}],["registri",{"_index":1664,"title":{},"content":{"285":{"position":[[205,9]]}},"keywords":{}}],["regul",{"_index":3334,"title":{},"content":{"550":{"position":[[397,11]]}},"keywords":{}}],["regular",{"_index":3550,"title":{},"content":{"610":{"position":[[293,7]]},"1072":{"position":[[2556,7]]}},"keywords":{}}],["regularli",{"_index":3784,"title":{},"content":{"660":{"position":[[168,9]]},"815":{"position":[[159,10]]},"1174":{"position":[[154,9]]}},"keywords":{}}],["reimplement",{"_index":57,"title":{},"content":{"4":{"position":[[3,16]]}},"keywords":{}}],["reindex",{"_index":4041,"title":{},"content":{"723":{"position":[[1306,11],[1631,10],[1798,7]]}},"keywords":{}}],["rej",{"_index":3001,"title":{},"content":{"459":{"position":[[860,4]]},"1294":{"position":[[1154,4]]}},"keywords":{}}],["rej(err",{"_index":6439,"title":{},"content":{"1294":{"position":[[1544,9]]}},"keywords":{}}],["rej(ev",{"_index":3005,"title":{},"content":{"459":{"position":[[965,11]]}},"keywords":{}}],["reject",{"_index":3014,"title":{},"content":{"461":{"position":[[337,6]]},"987":{"position":[[429,6]]}},"keywords":{}}],["rejecterror",{"_index":842,"title":{},"content":{"55":{"position":[[585,13]]}},"keywords":{}}],["rel",{"_index":896,"title":{},"content":{"63":{"position":[[144,10]]},"300":{"position":[[33,8]]},"412":{"position":[[2028,10]]},"453":{"position":[[44,10]]}},"keywords":{}}],["relat",{"_index":1021,"title":{"278":{"position":[[67,10]]},"694":{"position":[[0,8]]},"705":{"position":[[12,10]]},"787":{"position":[[12,10]]},"1259":{"position":[[7,10]]},"1283":{"position":[[0,8]]},"1315":{"position":[[0,10]]},"1319":{"position":[[18,10]]}},"content":{"96":{"position":[[254,7]]},"104":{"position":[[205,7]]},"202":{"position":[[196,10]]},"276":{"position":[[135,10]]},"279":{"position":[[356,10]]},"282":{"position":[[260,10]]},"352":{"position":[[388,10]]},"353":{"position":[[426,10]]},"354":{"position":[[387,10],[710,10],[984,10],[1380,10],[1437,10]]},"362":{"position":[[272,10],[472,10]]},"364":{"position":[[725,7]]},"372":{"position":[[172,10]]},"412":{"position":[[13402,10],[13717,10],[14078,10],[14294,10],[14543,10]]},"439":{"position":[[146,7]]},"661":{"position":[[23,10]]},"705":{"position":[[268,10],[356,9],[947,10]]},"711":{"position":[[23,10]]},"749":{"position":[[21091,7]]},"808":{"position":[[151,7]]},"836":{"position":[[25,10]]},"1315":{"position":[[30,10]]},"1316":{"position":[[3714,10]]},"1318":{"position":[[974,10]]},"1319":{"position":[[356,10],[604,10]]},"1323":{"position":[[17,10]]},"1324":{"position":[[269,10],[630,10]]}},"keywords":{}}],["relationship",{"_index":2004,"title":{},"content":{"353":{"position":[[92,14]]},"354":{"position":[[205,14],[302,13]]},"372":{"position":[[298,13]]},"427":{"position":[[593,13]]},"808":{"position":[[95,14]]},"863":{"position":[[835,12],[942,12]]},"1132":{"position":[[722,14]]}},"keywords":{}}],["relax",{"_index":2524,"title":{"1297":{"position":[[0,7]]}},"content":{"408":{"position":[[165,7]]},"1297":{"position":[[52,7],[410,7]]}},"keywords":{}}],["releas",{"_index":1133,"title":{},"content":{"143":{"position":[[267,8]]},"726":{"position":[[23,7]]},"793":{"position":[[1400,8]]},"1123":{"position":[[148,7]]}},"keywords":{}}],["relev",{"_index":1931,"title":{},"content":{"329":{"position":[[76,8]]},"394":{"position":[[1244,10]]},"398":{"position":[[596,8]]},"412":{"position":[[7090,8]]},"468":{"position":[[573,8]]},"518":{"position":[[225,8]]},"626":{"position":[[178,8]]},"680":{"position":[[306,8]]},"709":{"position":[[1053,9]]},"723":{"position":[[331,8],[2353,9]]},"783":{"position":[[675,9]]},"1007":{"position":[[991,8]]},"1072":{"position":[[2274,8]]},"1078":{"position":[[766,8]]},"1193":{"position":[[171,8]]},"1214":{"position":[[403,8]]},"1296":{"position":[[206,8]]},"1319":{"position":[[404,8]]}},"keywords":{}}],["reli",{"_index":664,"title":{},"content":{"42":{"position":[[320,7]]},"91":{"position":[[111,7]]},"99":{"position":[[25,4]]},"173":{"position":[[2006,7],[3032,7]]},"201":{"position":[[42,6]]},"204":{"position":[[10,4]]},"216":{"position":[[295,4]]},"220":{"position":[[100,7]]},"226":{"position":[[25,4]]},"254":{"position":[[477,4]]},"298":{"position":[[268,4]]},"305":{"position":[[376,4]]},"320":{"position":[[190,4]]},"321":{"position":[[305,7]]},"346":{"position":[[235,4]]},"357":{"position":[[354,4]]},"382":{"position":[[13,7]]},"411":{"position":[[1951,4]]},"412":{"position":[[1962,6],[14110,6]]},"414":{"position":[[368,4]]},"418":{"position":[[225,4]]},"424":{"position":[[455,7]]},"427":{"position":[[1072,4]]},"430":{"position":[[208,6]]},"444":{"position":[[640,4]]},"446":{"position":[[83,4]]},"476":{"position":[[11,4]]},"497":{"position":[[813,4]]},"563":{"position":[[861,4]]},"569":{"position":[[314,6]]},"618":{"position":[[529,4]]},"621":{"position":[[398,6]]},"660":{"position":[[276,4],[535,4]]},"698":{"position":[[1601,7]]},"749":{"position":[[13430,6]]},"828":{"position":[[136,4]]},"830":{"position":[[114,4]]},"839":{"position":[[852,4]]},"854":{"position":[[1366,4]]},"1072":{"position":[[1665,6]]},"1147":{"position":[[227,4]]},"1301":{"position":[[343,4]]},"1305":{"position":[[147,4],[390,6]]},"1316":{"position":[[1887,4]]}},"keywords":{}}],["reliability.opf",{"_index":1105,"title":{},"content":{"131":{"position":[[339,16]]}},"keywords":{}}],["reliabl",{"_index":705,"title":{"386":{"position":[[7,12]]},"1316":{"position":[[0,8]]}},"content":{"46":{"position":[[121,8]]},"170":{"position":[[617,8]]},"178":{"position":[[83,8]]},"270":{"position":[[226,8]]},"281":{"position":[[448,12]]},"287":{"position":[[528,8]]},"289":{"position":[[273,8]]},"380":{"position":[[389,11]]},"412":{"position":[[8899,10]]},"432":{"position":[[32,8]]},"483":{"position":[[1210,12]]},"501":{"position":[[77,8]]},"504":{"position":[[811,8]]},"613":{"position":[[260,8]]},"618":{"position":[[583,8]]},"624":{"position":[[1234,8]]},"630":{"position":[[985,9]]},"705":{"position":[[991,8],[1430,8]]},"723":{"position":[[1864,8],[2767,8]]},"836":{"position":[[1189,8]]},"906":{"position":[[354,8]]},"1300":{"position":[[1027,9]]},"1316":{"position":[[112,9],[141,8],[312,8]]}},"keywords":{}}],["relianc",{"_index":2639,"title":{},"content":{"411":{"position":[[5144,8]]},"582":{"position":[[645,8]]},"624":{"position":[[1032,8]]},"902":{"position":[[820,8]]}},"keywords":{}}],["reliant",{"_index":2027,"title":{},"content":{"354":{"position":[[1086,7]]}},"keywords":{}}],["reload",{"_index":2062,"title":{},"content":{"358":{"position":[[498,6]]},"403":{"position":[[251,8]]},"410":{"position":[[1574,8]]},"421":{"position":[[101,8]]},"436":{"position":[[215,7]]},"463":{"position":[[1307,9]]},"467":{"position":[[622,8]]},"740":{"position":[[655,6]]},"749":{"position":[[5956,6],[5968,7],[5993,9]]},"879":{"position":[[580,6]]},"958":{"position":[[8,6],[182,8]]},"988":{"position":[[407,7]]},"990":{"position":[[1168,7],[1391,6]]},"1301":{"position":[[1601,6]]}},"keywords":{}}],["remain",{"_index":914,"title":{},"content":{"65":{"position":[[524,7],[1763,7]]},"123":{"position":[[244,7]]},"135":{"position":[[152,7]]},"139":{"position":[[223,7]]},"167":{"position":[[184,7]]},"173":{"position":[[1299,7],[1423,7]]},"203":{"position":[[305,7]]},"218":{"position":[[260,7]]},"233":{"position":[[262,7]]},"248":{"position":[[141,7]]},"249":{"position":[[393,7]]},"273":{"position":[[265,7]]},"279":{"position":[[502,7]]},"280":{"position":[[232,6]]},"288":{"position":[[126,7]]},"291":{"position":[[257,7]]},"292":{"position":[[178,7]]},"293":{"position":[[348,7]]},"294":{"position":[[276,7]]},"305":{"position":[[20,6]]},"314":{"position":[[1121,7]]},"346":{"position":[[723,7]]},"353":{"position":[[37,7]]},"354":{"position":[[1530,7]]},"366":{"position":[[263,6]]},"369":{"position":[[628,7]]},"375":{"position":[[103,6]]},"385":{"position":[[250,6]]},"412":{"position":[[2020,7]]},"416":{"position":[[399,6]]},"421":{"position":[[1000,6]]},"424":{"position":[[278,7]]},"429":{"position":[[442,7]]},"482":{"position":[[1118,7]]},"502":{"position":[[420,6]]},"510":{"position":[[487,7],[671,6]]},"525":{"position":[[275,7]]},"526":{"position":[[155,7]]},"530":{"position":[[613,7]]},"534":{"position":[[243,7]]},"550":{"position":[[375,6]]},"582":{"position":[[85,7]]},"594":{"position":[[241,7]]},"610":{"position":[[369,7]]},"632":{"position":[[2763,7]]},"642":{"position":[[200,7]]},"723":{"position":[[1440,7]]},"801":{"position":[[459,7]]},"839":{"position":[[1137,6]]},"860":{"position":[[387,7]]},"902":{"position":[[638,6]]},"912":{"position":[[422,7]]},"1007":{"position":[[1070,6]]},"1157":{"position":[[415,7]]}},"keywords":{}}],["rememb",{"_index":3058,"title":{},"content":{"464":{"position":[[1273,8]]},"468":{"position":[[33,8]]},"559":{"position":[[1523,9]]},"620":{"position":[[483,8]]},"626":{"position":[[467,8]]},"1052":{"position":[[83,8]]},"1316":{"position":[[1587,8]]}},"keywords":{}}],["remot",{"_index":652,"title":{"1217":{"position":[[0,6]]}},"content":{"41":{"position":[[198,6]]},"57":{"position":[[101,6]]},"173":{"position":[[1741,6]]},"201":{"position":[[422,6]]},"208":{"position":[[78,6]]},"216":{"position":[[303,6]]},"248":{"position":[[295,6]]},"322":{"position":[[256,6]]},"360":{"position":[[402,6],[506,6]]},"365":{"position":[[1302,6],[1581,6]]},"375":{"position":[[329,6]]},"407":{"position":[[90,6]]},"410":{"position":[[590,6],[1160,6]]},"411":{"position":[[2374,6],[2930,6]]},"412":{"position":[[4741,7]]},"444":{"position":[[648,6]]},"474":{"position":[[24,6]]},"481":{"position":[[75,6]]},"491":{"position":[[98,6]]},"516":{"position":[[334,6]]},"544":{"position":[[122,6]]},"562":{"position":[[1729,6]]},"565":{"position":[[224,6]]},"566":{"position":[[1154,6]]},"582":{"position":[[357,6],[392,6]]},"604":{"position":[[122,6]]},"632":{"position":[[55,6],[1736,6]]},"693":{"position":[[178,6]]},"723":{"position":[[768,6]]},"737":{"position":[[138,6]]},"749":{"position":[[23618,6]]},"775":{"position":[[272,6],[632,6],[702,6]]},"778":{"position":[[244,6]]},"793":{"position":[[465,6]]},"861":{"position":[[1983,6]]},"886":{"position":[[1489,6]]},"986":{"position":[[984,6],[1330,6],[1428,6]]},"988":{"position":[[441,6],[772,6],[2366,6],[2474,6],[3246,7],[3447,6],[3668,6],[3912,7]]},"990":{"position":[[32,6],[190,6],[260,6]]},"993":{"position":[[135,6],[256,6]]},"1002":{"position":[[113,7],[853,6]]},"1068":{"position":[[327,8]]},"1147":{"position":[[39,6]]},"1218":{"position":[[5,6],[342,8],[525,6],[609,6],[754,8]]},"1219":{"position":[[5,6],[65,6],[403,6],[843,6]]},"1220":{"position":[[5,6],[77,6],[103,6]]},"1246":{"position":[[659,7],[672,6],[706,6],[787,6],[2204,6]]},"1307":{"position":[[388,6]]},"1309":{"position":[[667,7]]},"1315":{"position":[[802,6]]}},"keywords":{}}],["remote.no",{"_index":5504,"title":{},"content":{"995":{"position":[[116,9]]}},"keywords":{}}],["remotedatabasenam",{"_index":4859,"title":{},"content":{"851":{"position":[[291,18],[362,19]]}},"keywords":{}}],["remotemessagechannel",{"_index":6245,"title":{},"content":{"1218":{"position":[[245,21]]}},"keywords":{}}],["remov",{"_index":468,"title":{"769":{"position":[[0,7]]},"929":{"position":[[0,9]]},"954":{"position":[[0,9]]},"977":{"position":[[0,9]]},"999":{"position":[[0,9]]},"1028":{"position":[[0,9]]},"1047":{"position":[[0,9]]},"1048":{"position":[[0,6]]},"1062":{"position":[[0,8]]}},"content":{"28":{"position":[[780,7]]},"46":{"position":[[313,8],[583,6]]},"302":{"position":[[604,7],[990,6]]},"303":{"position":[[1449,7]]},"305":{"position":[[189,6],[498,6]]},"346":{"position":[[508,8]]},"412":{"position":[[8617,6]]},"421":{"position":[[753,8]]},"425":{"position":[[415,8]]},"455":{"position":[[268,7]]},"475":{"position":[[244,7]]},"489":{"position":[[534,7]]},"570":{"position":[[469,7]]},"653":{"position":[[1116,6]]},"746":{"position":[[846,7]]},"749":{"position":[[8770,7],[9382,6]]},"751":{"position":[[435,7],[1831,7]]},"754":{"position":[[94,7]]},"769":{"position":[[4,6],[47,8],[585,6]]},"829":{"position":[[3898,7]]},"861":{"position":[[1802,7]]},"887":{"position":[[479,6]]},"903":{"position":[[199,8]]},"921":{"position":[[126,7]]},"929":{"position":[[1,7]]},"941":{"position":[[235,7]]},"945":{"position":[[18,6],[58,7],[423,8]]},"954":{"position":[[1,7],[74,7],[187,7]]},"955":{"position":[[1,7]]},"956":{"position":[[81,8],[170,7],[358,11]]},"958":{"position":[[477,6],[625,6]]},"976":{"position":[[195,6]]},"977":{"position":[[171,8],[329,6],[442,6]]},"979":{"position":[[50,7]]},"999":{"position":[[154,9]]},"1018":{"position":[[302,6]]},"1022":{"position":[[616,6]]},"1023":{"position":[[272,6]]},"1028":{"position":[[29,7]]},"1043":{"position":[[156,6]]},"1044":{"position":[[530,6]]},"1047":{"position":[[6,7]]},"1048":{"position":[[57,6],[424,8],[530,8]]},"1062":{"position":[[209,6]]},"1090":{"position":[[1291,6]]},"1151":{"position":[[520,6]]},"1162":{"position":[[986,7],[1035,7]]},"1178":{"position":[[519,6]]},"1198":{"position":[[1847,8]]},"1320":{"position":[[664,8]]}},"keywords":{}}],["removeddoc",{"_index":5753,"title":{},"content":{"1062":{"position":[[256,11]]}},"keywords":{}}],["removeitem",{"_index":2869,"title":{},"content":{"425":{"position":[[185,11],[435,10]]},"451":{"position":[[212,10]]}},"keywords":{}}],["removeolddocu",{"_index":1816,"title":{},"content":{"302":{"position":[[1030,21]]}},"keywords":{}}],["removerxdatabas",{"_index":5420,"title":{},"content":{"977":{"position":[[202,19],[359,18],[548,16]]}},"keywords":{}}],["removerxdatabase('mydatabasenam",{"_index":5422,"title":{},"content":{"977":{"position":[[580,34]]},"1085":{"position":[[3606,34]]}},"keywords":{}}],["renam",{"_index":1992,"title":{"868":{"position":[[41,7]]}},"content":{"351":{"position":[[111,6]]},"636":{"position":[[221,6]]},"868":{"position":[[41,7]]},"977":{"position":[[293,8]]}},"keywords":{}}],["render",{"_index":983,"title":{},"content":{"78":{"position":[[66,10]]},"217":{"position":[[213,6]]},"234":{"position":[[203,8]]},"335":{"position":[[940,7]]},"373":{"position":[[651,6]]},"384":{"position":[[172,9]]},"385":{"position":[[321,8]]},"451":{"position":[[691,10]]},"494":{"position":[[639,7]]},"524":{"position":[[879,8]]},"634":{"position":[[339,6]]},"693":{"position":[[111,8],[219,8],[483,8],[508,8]]},"703":{"position":[[1543,6]]},"707":{"position":[[282,8]]},"708":{"position":[[625,8]]},"709":{"position":[[58,8],[437,8],[1007,9],[1267,8]]},"710":{"position":[[1060,8],[1171,8],[2204,8],[2425,9]]},"711":{"position":[[293,8],[395,8],[1455,8],[1645,8]]},"801":{"position":[[504,6]]},"828":{"position":[[106,6],[293,8]]},"829":{"position":[[2071,7],[2252,6],[2702,8],[2731,8],[2900,10],[3661,7]]},"1164":{"position":[[1449,9]]},"1246":{"position":[[2137,8],[2245,8]]}},"keywords":{}}],["renderer.j",{"_index":3932,"title":{},"content":{"693":{"position":[[1004,11]]}},"keywords":{}}],["renown",{"_index":1655,"title":{},"content":{"281":{"position":[[50,8]]},"574":{"position":[[8,8]]}},"keywords":{}}],["reopen",{"_index":6138,"title":{},"content":{"1174":{"position":[[671,7]]}},"keywords":{}}],["rep",{"_index":5574,"title":{},"content":{"1007":{"position":[[1842,3],[1886,5]]}},"keywords":{}}],["rep.cancel",{"_index":5575,"title":{},"content":{"1007":{"position":[[1894,13]]}},"keywords":{}}],["repeat",{"_index":1199,"title":{},"content":{"173":{"position":[[781,8]]},"251":{"position":[[111,8]]},"299":{"position":[[562,8]]},"411":{"position":[[225,8]]},"610":{"position":[[618,8]]},"639":{"position":[[66,8]]}},"keywords":{}}],["repeatedli",{"_index":908,"title":{},"content":{"65":{"position":[[330,10]]},"321":{"position":[[273,10]]},"411":{"position":[[3896,10]]},"610":{"position":[[249,10]]},"624":{"position":[[1450,10]]}},"keywords":{}}],["repetit",{"_index":1784,"title":{},"content":{"301":{"position":[[172,10]]},"311":{"position":[[10,10]]},"345":{"position":[[33,10]]}},"keywords":{}}],["replac",{"_index":571,"title":{"815":{"position":[[6,11]]}},"content":{"36":{"position":[[157,11]]},"141":{"position":[[121,8]]},"260":{"position":[[273,7]]},"313":{"position":[[142,7]]},"314":{"position":[[1043,7]]},"412":{"position":[[1479,8]]},"614":{"position":[[1008,11]]},"639":{"position":[[117,8]]},"731":{"position":[[217,7]]},"815":{"position":[[49,11]]},"818":{"position":[[9,11]]},"838":{"position":[[1658,7]]},"934":{"position":[[715,11]]},"1154":{"position":[[148,7]]}},"keywords":{}}],["replic",{"_index":184,"title":{"82":{"position":[[0,11]]},"89":{"position":[[25,11]]},"113":{"position":[[0,11]]},"123":{"position":[[5,12]]},"158":{"position":[[5,12]]},"165":{"position":[[5,11]]},"184":{"position":[[5,12]]},"192":{"position":[[5,11]]},"210":{"position":[[15,11]]},"223":{"position":[[11,11]]},"238":{"position":[[0,11]]},"261":{"position":[[28,12]]},"279":{"position":[[22,12]]},"288":{"position":[[0,11]]},"289":{"position":[[5,11]]},"293":{"position":[[14,11]]},"328":{"position":[[5,12]]},"381":{"position":[[14,12]]},"491":{"position":[[0,11]]},"517":{"position":[[5,12]]},"570":{"position":[[34,12]]},"685":{"position":[[11,12]]},"756":{"position":[[14,12]]},"843":{"position":[[0,11]]},"853":{"position":[[0,11]]},"857":{"position":[[10,11]]},"858":{"position":[[9,12]]},"859":{"position":[[14,11]]},"862":{"position":[[31,12]]},"863":{"position":[[28,11]]},"864":{"position":[[0,11]]},"868":{"position":[[16,11],[52,11]]},"869":{"position":[[8,11]]},"874":{"position":[[5,11]]},"877":{"position":[[12,11]]},"883":{"position":[[0,11]]},"891":{"position":[[10,11]]},"895":{"position":[[9,11]]},"900":{"position":[[11,11]]},"903":{"position":[[26,11]]},"904":{"position":[[27,11]]},"905":{"position":[[5,13]]},"908":{"position":[[29,12]]},"912":{"position":[[8,10]]},"1004":{"position":[[11,12]]},"1005":{"position":[[10,12]]},"1007":{"position":[[31,13]]},"1022":{"position":[[39,12]]},"1094":{"position":[[0,9]]},"1101":{"position":[[0,11]]},"1121":{"position":[[8,12]]},"1149":{"position":[[16,12]]},"1165":{"position":[[0,11]]},"1231":{"position":[[0,11]]},"1308":{"position":[[0,11]]},"1316":{"position":[[9,12]]}},"content":{"13":{"position":[[24,12]]},"14":{"position":[[541,10],[1090,9],[1178,9],[1225,11]]},"15":{"position":[[195,12],[390,9]]},"16":{"position":[[137,11],[487,11]]},"18":{"position":[[389,12]]},"19":{"position":[[132,9],[519,12]]},"22":{"position":[[342,11]]},"23":{"position":[[105,11],[159,12],[197,11],[379,11]]},"24":{"position":[[282,9]]},"25":{"position":[[230,11]]},"26":{"position":[[229,9]]},"29":{"position":[[83,11],[137,9]]},"35":{"position":[[451,11]]},"36":{"position":[[322,11]]},"40":{"position":[[36,10],[649,11]]},"42":{"position":[[146,11]]},"46":{"position":[[423,11]]},"57":{"position":[[60,12],[137,12]]},"82":{"position":[[8,11]]},"89":{"position":[[32,11],[152,11]]},"109":{"position":[[82,11]]},"113":{"position":[[21,11]]},"120":{"position":[[295,12]]},"123":{"position":[[41,11]]},"132":{"position":[[6,11],[193,9]]},"135":{"position":[[106,10]]},"147":{"position":[[226,11]]},"158":{"position":[[37,11],[90,11]]},"164":{"position":[[293,11]]},"165":{"position":[[26,11],[154,11],[306,11]]},"170":{"position":[[231,11]]},"173":{"position":[[314,11],[405,11],[528,11]]},"174":{"position":[[2942,11]]},"184":{"position":[[6,11],[98,11],[207,11]]},"186":{"position":[[324,11]]},"192":{"position":[[15,11],[197,12],[218,12],[298,11]]},"208":{"position":[[94,11]]},"209":{"position":[[610,11]]},"211":{"position":[[554,11]]},"212":{"position":[[601,11]]},"223":{"position":[[1,11],[190,11],[239,11],[415,12]]},"238":{"position":[[17,11]]},"248":{"position":[[233,11]]},"249":{"position":[[423,11]]},"255":{"position":[[6,11],[961,11],[1718,12]]},"260":{"position":[[7,11],[132,11]]},"261":{"position":[[84,11],[1021,11]]},"262":{"position":[[589,11]]},"263":{"position":[[596,11]]},"266":{"position":[[928,10]]},"279":{"position":[[126,11],[411,11]]},"288":{"position":[[16,11],[223,11]]},"289":{"position":[[24,11],[301,12],[328,11],[456,12],[501,11],[714,12],[991,12],[1084,11],[1120,12],[1426,11],[1556,12],[1588,11],[1683,11],[1900,12]]},"293":{"position":[[163,11],[297,11]]},"312":{"position":[[66,11]]},"316":{"position":[[555,12]]},"323":{"position":[[321,12]]},"328":{"position":[[30,11],[79,12]]},"360":{"position":[[455,11]]},"362":{"position":[[853,12]]},"381":{"position":[[50,12],[154,12],[291,9],[397,11]]},"386":{"position":[[154,11]]},"410":{"position":[[779,10]]},"411":{"position":[[1307,11]]},"412":{"position":[[1779,11],[1879,11],[3696,10],[12490,9],[12569,11],[13698,11],[14504,11],[14841,11]]},"438":{"position":[[253,10]]},"439":{"position":[[463,9]]},"476":{"position":[[177,11]]},"477":{"position":[[148,9]]},"478":{"position":[[163,9]]},"479":{"position":[[201,11]]},"480":{"position":[[1005,9]]},"481":{"position":[[272,11]]},"483":{"position":[[252,11]]},"487":{"position":[[343,11]]},"490":{"position":[[113,11]]},"491":{"position":[[138,11],[1256,11]]},"495":{"position":[[667,11]]},"504":{"position":[[691,11],[718,11],[765,11],[878,12],[953,11],[1074,12],[1287,12],[1318,12]]},"510":{"position":[[290,11]]},"513":{"position":[[339,12]]},"517":{"position":[[6,11],[151,11]]},"525":{"position":[[415,11],[575,12],[596,12]]},"534":{"position":[[445,11]]},"544":{"position":[[81,12]]},"556":{"position":[[1737,11]]},"565":{"position":[[76,11]]},"566":{"position":[[1139,11]]},"570":{"position":[[86,12],[678,11],[928,11]]},"571":{"position":[[477,10]]},"575":{"position":[[429,12]]},"576":{"position":[[264,12]]},"582":{"position":[[290,11]]},"594":{"position":[[443,11]]},"604":{"position":[[81,12]]},"617":{"position":[[2283,11]]},"626":{"position":[[984,11]]},"628":{"position":[[124,9]]},"630":{"position":[[814,11]]},"631":{"position":[[84,11]]},"632":{"position":[[8,11],[403,11],[584,11],[637,11],[841,11],[2044,11],[2094,12],[2611,9],[2687,11]]},"634":{"position":[[469,12]]},"639":{"position":[[208,12]]},"644":{"position":[[79,11]]},"653":{"position":[[1035,12],[1064,11],[1181,11]]},"659":{"position":[[878,11]]},"661":{"position":[[1589,11]]},"683":{"position":[[417,11]]},"685":{"position":[[98,11],[138,11],[165,11],[196,12],[237,10]]},"686":{"position":[[421,9]]},"690":{"position":[[445,12]]},"697":{"position":[[394,9]]},"698":{"position":[[124,9],[1667,9],[1734,11],[3031,10]]},"699":{"position":[[8,9]]},"700":{"position":[[256,10],[488,10],[599,11],[654,11],[969,10],[1099,11]]},"701":{"position":[[186,10],[398,9],[903,10],[1016,9],[1130,11],[1187,12]]},"705":{"position":[[638,11],[760,10],[873,10],[1084,11],[1138,11],[1250,11]]},"711":{"position":[[2037,11],[2277,12]]},"714":{"position":[[1037,9]]},"740":{"position":[[283,9]]},"743":{"position":[[275,10]]},"746":{"position":[[627,11]]},"749":{"position":[[448,11],[14572,12],[14842,11],[14998,11],[15039,11],[16414,11],[16680,11],[22361,12],[22468,12]]},"756":{"position":[[90,11],[233,11],[358,11]]},"757":{"position":[[74,11]]},"775":{"position":[[239,11],[294,11],[365,10]]},"781":{"position":[[609,11]]},"784":{"position":[[436,9],[497,11],[553,11]]},"793":{"position":[[610,11],[642,11],[663,11],[683,11],[705,11],[725,11],[748,11],[770,11],[790,11],[811,11],[828,11],[849,11]]},"829":{"position":[[267,12],[851,12]]},"836":{"position":[[1796,12],[2435,12]]},"837":{"position":[[161,11],[418,9],[883,9],[1629,11],[1655,13]]},"838":{"position":[[651,12],[759,11]]},"840":{"position":[[90,10],[542,9]]},"841":{"position":[[703,11]]},"844":{"position":[[133,11]]},"845":{"position":[[22,11],[66,11],[115,11]]},"846":{"position":[[11,11],[197,13],[338,12],[374,12],[1570,11]]},"847":{"position":[[30,12],[111,11]]},"848":{"position":[[714,13],[980,11],[1349,13]]},"852":{"position":[[232,13]]},"854":{"position":[[486,12],[509,11],[847,11],[939,11],[1041,11],[1678,12]]},"855":{"position":[[81,9],[158,11]]},"856":{"position":[[135,9]]},"858":{"position":[[19,9]]},"860":{"position":[[497,11],[630,12]]},"861":{"position":[[1724,10],[2155,9]]},"862":{"position":[[104,12],[1096,12],[1190,13],[1482,11],[1570,11]]},"863":{"position":[[200,11]]},"865":{"position":[[9,11]]},"866":{"position":[[65,12],[91,12],[204,11],[220,11],[263,9],[314,11],[508,11],[595,11]]},"867":{"position":[[81,9],[153,11]]},"868":{"position":[[16,11],[52,11]]},"870":{"position":[[9,11]]},"871":{"position":[[263,11],[552,11]]},"872":{"position":[[2163,11],[2195,11],[2675,11],[2961,10],[3698,9],[3720,11],[4336,11]]},"875":{"position":[[13,11],[80,11],[111,11],[174,11],[259,11],[508,13],[1387,11],[2960,11],[6059,11],[6580,11],[6664,11],[6731,11],[8715,11],[8832,11],[9387,11]]},"876":{"position":[[61,11]]},"878":{"position":[[5,11],[96,11],[366,13]]},"879":{"position":[[92,11]]},"881":{"position":[[168,11],[262,11]]},"882":{"position":[[357,12]]},"884":{"position":[[28,12],[79,11]]},"885":{"position":[[263,12]]},"886":{"position":[[6,12],[33,12],[119,11],[902,12],[1657,11],[2063,12],[2090,12],[2603,12],[3253,12],[3790,12]]},"890":{"position":[[272,11],[1017,11]]},"893":{"position":[[5,11],[77,10],[185,11],[277,11],[452,11]]},"896":{"position":[[116,11]]},"897":{"position":[[323,11],[429,9]]},"898":{"position":[[3127,12],[3204,12],[3308,11],[4488,11]]},"899":{"position":[[1,11]]},"902":{"position":[[713,9]]},"903":{"position":[[143,11],[486,11],[609,11]]},"904":{"position":[[107,10],[324,12],[1285,11],[1420,12],[1446,11],[1843,11],[1977,9],[2237,12],[3151,11],[3183,11],[3294,11],[3548,12],[3595,12]]},"905":{"position":[[12,11],[222,11]]},"906":{"position":[[9,11],[50,11]]},"907":{"position":[[16,11],[33,9],[133,11]]},"908":{"position":[[302,10]]},"912":{"position":[[9,10],[166,11],[603,10]]},"955":{"position":[[116,13]]},"976":{"position":[[92,13]]},"981":{"position":[[45,11],[1623,11]]},"982":{"position":[[30,11]]},"983":{"position":[[175,12],[1091,11]]},"984":{"position":[[18,12],[626,11]]},"985":{"position":[[382,11]]},"986":{"position":[[12,11],[497,10],[1113,11],[1530,11]]},"987":{"position":[[157,12]]},"988":{"position":[[19,11],[320,11],[388,11],[424,9],[565,11],[659,12],[702,11],[1187,11],[1385,12],[1506,11],[2335,9],[3437,9],[3651,9],[4023,10],[4069,11],[4919,12],[5984,11]]},"989":{"position":[[29,11],[211,11],[461,12]]},"990":{"position":[[675,11],[758,12]]},"991":{"position":[[87,12]]},"992":{"position":[[110,12]]},"993":{"position":[[16,12],[499,11],[634,11]]},"994":{"position":[[58,11],[95,11],[215,11],[246,11]]},"995":{"position":[[96,10],[126,11],[275,12],[357,11],[920,12],[1014,11],[1480,11]]},"996":{"position":[[35,11]]},"997":{"position":[[13,12]]},"998":{"position":[[18,12],[35,11]]},"999":{"position":[[13,11],[57,11],[108,11],[185,11],[267,12]]},"1000":{"position":[[21,11],[71,11],[100,11]]},"1001":{"position":[[21,11]]},"1002":{"position":[[22,11],[182,11],[434,11],[623,11],[1087,11],[1277,11]]},"1003":{"position":[[9,11],[218,11],[324,11]]},"1004":{"position":[[12,11],[85,11],[134,11]]},"1005":{"position":[[10,11],[62,12]]},"1007":{"position":[[221,11],[285,11],[434,11],[726,11],[849,12],[912,11],[2024,11]]},"1008":{"position":[[32,11],[80,11]]},"1009":{"position":[[192,11],[337,11],[498,11],[576,11],[793,11],[1004,11]]},"1010":{"position":[[29,12],[93,11]]},"1022":{"position":[[23,9],[147,9]]},"1048":{"position":[[134,11]]},"1090":{"position":[[321,11]]},"1092":{"position":[[226,11],[292,9]]},"1093":{"position":[[202,11],[466,11]]},"1094":{"position":[[216,11],[377,11]]},"1100":{"position":[[234,11]]},"1101":{"position":[[5,11],[63,9],[138,11],[373,11],[581,11],[739,13]]},"1105":{"position":[[108,9]]},"1107":{"position":[[348,11]]},"1121":{"position":[[97,11],[198,11],[228,11],[670,11]]},"1123":{"position":[[61,10],[634,12]]},"1124":{"position":[[1473,9],[1602,11],[1861,9],[1963,11],[2120,11],[2211,11]]},"1146":{"position":[[70,11]]},"1147":{"position":[[284,12],[535,12]]},"1149":{"position":[[104,11],[138,11],[158,9],[197,11],[355,11],[402,11],[514,11],[589,11],[1359,13]]},"1162":{"position":[[529,11],[770,11],[817,9]]},"1164":{"position":[[223,10],[1213,11],[1414,11]]},"1165":{"position":[[51,11],[98,9],[215,11],[554,11]]},"1198":{"position":[[284,11],[1554,11],[1681,9],[1945,11]]},"1199":{"position":[[38,11]]},"1212":{"position":[[66,11]]},"1213":{"position":[[468,11]]},"1219":{"position":[[214,9]]},"1231":{"position":[[69,11],[220,11],[303,11],[368,11],[987,12]]},"1259":{"position":[[25,11]]},"1284":{"position":[[170,11],[223,11]]},"1301":{"position":[[367,12],[419,10]]},"1304":{"position":[[1800,9],[1911,11],[1948,9]]},"1306":{"position":[[70,11]]},"1307":{"position":[[370,10],[402,12]]},"1308":{"position":[[3,11],[119,10],[163,9],[190,11],[210,11],[663,11]]},"1313":{"position":[[860,12]]},"1314":{"position":[[607,11]]},"1316":{"position":[[39,10],[126,11],[217,11],[321,11],[1149,10],[1351,11],[1516,12],[1564,10],[2378,10],[2492,11],[2525,9],[2597,9],[2824,10],[3105,11],[3259,11],[3318,9],[3403,9],[3702,11],[3852,11]]},"1320":{"position":[[249,9],[517,11],[958,12]]},"1323":{"position":[[176,11]]},"1324":{"position":[[76,12],[320,11],[409,11],[588,11],[620,9],[709,12]]}},"keywords":{}}],["replica",{"_index":4936,"title":{},"content":{"870":{"position":[[244,7]]},"871":{"position":[[851,7]]},"872":{"position":[[362,7]]}},"keywords":{}}],["replicach",{"_index":585,"title":{"38":{"position":[[0,11]]}},"content":{"38":{"position":[[1,10],[188,10],[515,11],[617,10],[736,10],[787,10],[837,10],[921,10],[1045,10],[1131,10]]}},"keywords":{}}],["replicateappwrit",{"_index":4902,"title":{},"content":{"862":{"position":[[227,17],[1134,19],[1643,19]]}},"keywords":{}}],["replicatecouchdb",{"_index":4326,"title":{},"content":{"749":{"position":[[14654,18],[16114,18],[16262,18]]},"846":{"position":[[27,19],[57,16],[142,17],[1327,18]]},"848":{"position":[[659,17],[1175,17],[1294,17]]},"852":{"position":[[177,17]]},"1149":{"position":[[672,16],[1305,18]]}},"keywords":{}}],["replicatefirestor",{"_index":4872,"title":{},"content":{"854":{"position":[[532,20],[600,20]]},"858":{"position":[[182,19]]}},"keywords":{}}],["replicategraphql",{"_index":5121,"title":{},"content":{"886":{"position":[[925,16],[1010,17],[2642,17],[3829,17]]},"887":{"position":[[295,17]]},"888":{"position":[[436,17]]},"889":{"position":[[485,17]]},"890":{"position":[[757,16],[785,17]]}},"keywords":{}}],["replicatemongodb",{"_index":4957,"title":{},"content":{"872":{"position":[[2289,16],[2374,18],[2746,18]]}},"keywords":{}}],["replicatenat",{"_index":4926,"title":{},"content":{"866":{"position":[[115,15],[353,13],[432,15]]}},"keywords":{}}],["replicaterxcollect",{"_index":1342,"title":{"988":{"position":[[0,24]]}},"content":{"209":{"position":[[142,21],[622,23]]},"255":{"position":[[489,21],[973,23]]},"481":{"position":[[585,21],[642,23]]},"632":{"position":[[2117,21],[2210,23]]},"875":{"position":[[214,21],[336,21],[424,23],[3100,23],[6144,23],[8409,23],[9718,23]]},"988":{"position":[[67,23],[124,21],[248,23]]},"992":{"position":[[14,23]]},"1002":{"position":[[539,23],[1193,23]]},"1003":{"position":[[385,23]]},"1007":{"position":[[1377,23]]},"1090":{"position":[[520,21]]},"1165":{"position":[[843,23]]}},"keywords":{}}],["replicateserv",{"_index":4971,"title":{},"content":{"872":{"position":[[3889,15],[4460,17]]},"878":{"position":[[160,18],[189,15],[285,17]]},"882":{"position":[[402,17]]},"1101":{"position":[[658,17]]}},"keywords":{}}],["replicatesupabas",{"_index":5217,"title":{},"content":{"898":{"position":[[3240,17],[3322,19],[4561,19]]}},"keywords":{}}],["replicatewebrtc",{"_index":1362,"title":{},"content":{"210":{"position":[[155,16],[270,17]]},"261":{"position":[[223,16],[343,17]]},"904":{"position":[[1314,16],[1475,15],[1811,16]]},"907":{"position":[[287,16]]},"911":{"position":[[632,16]]},"1121":{"position":[[338,16],[602,16]]}},"keywords":{}}],["replicatewithwebsocketserv",{"_index":5179,"title":{},"content":{"893":{"position":[[98,28],[228,30]]}},"keywords":{}}],["replication"",{"_index":213,"title":{},"content":{"14":{"position":[[403,18]]}},"keywords":{}}],["replication.awaitinitialrepl",{"_index":5226,"title":{},"content":{"898":{"position":[[4158,38]]}},"keywords":{}}],["replication.error$.subscribe(err",{"_index":5224,"title":{},"content":{"898":{"position":[[4075,32]]}},"keywords":{}}],["replication.work",{"_index":4817,"title":{},"content":{"844":{"position":[[16,17]]}},"keywords":{}}],["replicationconflictmessag",{"_index":5163,"title":{},"content":{"889":{"position":[[193,28]]}},"keywords":{}}],["replicationdata",{"_index":3326,"title":{},"content":{"544":{"position":[[168,15]]}},"keywords":{}}],["replicationid",{"_index":5568,"title":{},"content":{"1007":{"position":[[1309,13],[1447,14]]}},"keywords":{}}],["replicationidentifi",{"_index":1347,"title":{},"content":{"209":{"position":[[668,22]]},"255":{"position":[[1019,22]]},"481":{"position":[[688,22]]},"632":{"position":[[2256,22]]},"846":{"position":[[162,22]]},"848":{"position":[[679,22],[1314,22]]},"852":{"position":[[197,22]]},"854":{"position":[[621,22]]},"862":{"position":[[1154,22]]},"866":{"position":[[476,22]]},"872":{"position":[[2532,22],[4478,22]]},"875":{"position":[[476,22]]},"878":{"position":[[332,22]]},"898":{"position":[[3404,22]]},"988":{"position":[[507,22],[533,22]]},"1002":{"position":[[589,22],[1243,22]]},"1007":{"position":[[1424,22]]},"1101":{"position":[[705,22]]},"1149":{"position":[[1324,22]]}},"keywords":{}}],["replicationofflin",{"_index":5230,"title":{},"content":{"899":{"position":[[74,18]]}},"keywords":{}}],["replicationpool",{"_index":1584,"title":{},"content":{"261":{"position":[[319,15],[856,15]]},"904":{"position":[[1787,15],[3205,15],[3265,15]]},"907":{"position":[[263,15]]},"911":{"position":[[608,15]]},"1121":{"position":[[578,15]]}},"keywords":{}}],["replicationpool.cancel",{"_index":5263,"title":{},"content":{"904":{"position":[[3608,25]]}},"keywords":{}}],["replicationpool.error$.subscribe(err",{"_index":1587,"title":{},"content":{"261":{"position":[[900,36]]},"904":{"position":[[3456,36]]}},"keywords":{}}],["replicationst",{"_index":4822,"title":{},"content":{"846":{"position":[[123,16]]},"848":{"position":[[640,16],[1275,16]]},"852":{"position":[[158,16]]},"854":{"position":[[581,16],[1730,16]]},"858":{"position":[[163,16]]},"862":{"position":[[1115,16]]},"866":{"position":[[413,16]]},"872":{"position":[[2355,16],[4441,16]]},"875":{"position":[[399,16],[3075,16],[6119,16],[8384,16],[9693,16]]},"878":{"position":[[260,16]]},"882":{"position":[[377,16]]},"886":{"position":[[991,16],[2623,16],[3810,16]]},"887":{"position":[[232,17]]},"888":{"position":[[373,17]]},"889":{"position":[[422,17]]},"893":{"position":[[203,16]]},"988":{"position":[[223,16]]},"1002":{"position":[[520,16],[1174,16]]},"1003":{"position":[[366,16]]},"1007":{"position":[[1203,16],[1358,16],[1775,17]]},"1101":{"position":[[633,16]]},"1149":{"position":[[1286,16]]},"1231":{"position":[[1146,16]]}},"keywords":{}}],["replicationstate.cancel",{"_index":5181,"title":{},"content":{"893":{"position":[[470,26]]}},"keywords":{}}],["replicationstate.error$.subscribe((error",{"_index":5490,"title":{},"content":{"990":{"position":[[1177,41]]}},"keywords":{}}],["replicationstate.fetch",{"_index":4824,"title":{},"content":{"846":{"position":[[551,23]]},"848":{"position":[[1005,22]]}},"keywords":{}}],["replicationstate.forbidden$.subscrib",{"_index":5073,"title":{},"content":{"881":{"position":[[340,40]]}},"keywords":{}}],["replicationstate.head",{"_index":4351,"title":{},"content":{"749":{"position":[[16538,24]]}},"keywords":{}}],["replicationstate.ispaus",{"_index":5534,"title":{},"content":{"1001":{"position":[[45,28]]}},"keywords":{}}],["replicationstate.isstop",{"_index":5531,"title":{},"content":{"1000":{"position":[[127,29]]}},"keywords":{}}],["replicationstate.outdatedclient$.subscrib",{"_index":5069,"title":{},"content":{"879":{"position":[[612,45]]}},"keywords":{}}],["replicationstate.setcredentials('includ",{"_index":5173,"title":{},"content":{"890":{"position":[[685,43]]}},"keywords":{}}],["replicationstate.sethead",{"_index":5071,"title":{},"content":{"880":{"position":[[379,29]]},"890":{"position":[[311,29]]}},"keywords":{}}],["replicationstate.start",{"_index":5457,"title":{},"content":{"988":{"position":[[1567,24]]}},"keywords":{}}],["replicationstate.unauthorized$.subscrib",{"_index":5070,"title":{},"content":{"880":{"position":[[327,43]]}},"keywords":{}}],["replset",{"_index":4942,"title":{},"content":{"872":{"position":[[554,7]]}},"keywords":{}}],["repo",{"_index":596,"title":{},"content":{"38":{"position":[[855,4]]},"61":{"position":[[266,5]]},"198":{"position":[[555,4]]},"392":{"position":[[781,5]]},"405":{"position":[[165,4]]},"471":{"position":[[150,4]]},"620":{"position":[[311,4]]},"628":{"position":[[252,4]]},"670":{"position":[[133,4]]},"1112":{"position":[[50,4]]},"1266":{"position":[[362,4]]}},"keywords":{}}],["repo.if",{"_index":4721,"title":{},"content":{"824":{"position":[[420,7]]}},"keywords":{}}],["repolearn",{"_index":3102,"title":{},"content":{"471":{"position":[[74,9]]}},"keywords":{}}],["report",{"_index":71,"title":{},"content":{"4":{"position":[[191,8]]},"404":{"position":[[350,8]]},"412":{"position":[[14174,9]]},"670":{"position":[[6,9],[335,6]]}},"keywords":{}}],["reposhow",{"_index":3213,"title":{},"content":{"498":{"position":[[384,8]]}},"keywords":{}}],["repositori",{"_index":853,"title":{},"content":{"56":{"position":[[91,11]]},"61":{"position":[[80,10]]},"84":{"position":[[127,11],[165,10]]},"114":{"position":[[140,11],[178,10]]},"149":{"position":[[140,11],[178,10]]},"175":{"position":[[133,11],[171,10]]},"241":{"position":[[244,11],[269,10]]},"263":{"position":[[652,10]]},"347":{"position":[[140,11],[178,10]]},"362":{"position":[[1211,11],[1249,10]]},"373":{"position":[[244,11],[269,10]]},"458":{"position":[[958,10]]},"462":{"position":[[509,11]]},"498":{"position":[[443,11]]},"511":{"position":[[140,11],[178,10]]},"531":{"position":[[140,11],[178,10]]},"543":{"position":[[98,11],[115,10]]},"548":{"position":[[100,10]]},"557":{"position":[[231,10]]},"567":{"position":[[450,10]]},"591":{"position":[[140,11],[178,10]]},"603":{"position":[[96,11],[113,10]]},"608":{"position":[[100,10]]},"666":{"position":[[136,10]]},"824":{"position":[[165,10]]},"904":{"position":[[217,10]]},"1112":{"position":[[133,10]]}},"keywords":{}}],["repositoryread",{"_index":4974,"title":{},"content":{"873":{"position":[[42,14]]}},"keywords":{}}],["repres",{"_index":1646,"title":{},"content":{"279":{"position":[[182,12]]},"396":{"position":[[701,9]]},"611":{"position":[[361,9]]},"682":{"position":[[90,9]]},"687":{"position":[[57,9]]},"690":{"position":[[344,11]]},"707":{"position":[[299,10]]},"778":{"position":[[545,10]]},"826":{"position":[[392,10],[550,10],[637,10],[752,10],[850,10],[971,10],[1069,10]]},"862":{"position":[[1337,10]]},"922":{"position":[[29,11]]},"1007":{"position":[[81,10]]},"1065":{"position":[[490,11]]},"1213":{"position":[[77,9]]}},"keywords":{}}],["represent",{"_index":2104,"title":{},"content":{"364":{"position":[[109,15]]},"372":{"position":[[357,15]]},"390":{"position":[[190,15]]},"1079":{"position":[[371,14]]}},"keywords":{}}],["representations.recommend",{"_index":2201,"title":{},"content":{"390":{"position":[[1387,32]]}},"keywords":{}}],["reproduc",{"_index":2892,"title":{},"content":{"427":{"position":[[1259,9]]},"667":{"position":[[78,9],[142,9]]},"670":{"position":[[86,10]]},"1120":{"position":[[358,9]]}},"keywords":{}}],["req",{"_index":3597,"title":{},"content":{"612":{"position":[[1860,5]]},"799":{"position":[[537,5],[769,5]]},"875":{"position":[[2087,5],[4455,5],[7244,5]]}},"keywords":{}}],["req.bodi",{"_index":5020,"title":{},"content":{"875":{"position":[[4493,9]]}},"keywords":{}}],["req.on('clos",{"_index":3611,"title":{},"content":{"612":{"position":[[2407,15]]},"875":{"position":[[7496,15]]}},"keywords":{}}],["req.query.id",{"_index":4991,"title":{},"content":{"875":{"position":[[2117,13]]}},"keywords":{}}],["request",{"_index":711,"title":{"617":{"position":[[2,8]]},"1032":{"position":[[27,8]]}},"content":{"46":{"position":[[351,8]]},"65":{"position":[[1129,9]]},"87":{"position":[[143,8]]},"173":{"position":[[798,9]]},"216":{"position":[[143,8]]},"226":{"position":[[100,8],[175,8]]},"300":{"position":[[520,7],[681,9],[698,7]]},"302":{"position":[[202,7]]},"305":{"position":[[408,7]]},"392":{"position":[[3414,8]]},"408":{"position":[[2605,8],[3168,7]]},"411":{"position":[[234,8],[355,8]]},"450":{"position":[[389,7]]},"459":{"position":[[787,7]]},"461":{"position":[[122,8],[348,8],[379,7]]},"467":{"position":[[39,8]]},"474":{"position":[[49,7]]},"477":{"position":[[52,7]]},"487":{"position":[[60,7],[292,7]]},"570":{"position":[[652,9]]},"582":{"position":[[675,9]]},"610":{"position":[[194,9],[260,8],[593,8],[1119,7]]},"611":{"position":[[215,7]]},"612":{"position":[[421,7]]},"616":{"position":[[354,7],[476,7],[640,8],[1205,8]]},"619":{"position":[[370,8]]},"623":{"position":[[366,7]]},"624":{"position":[[259,9]]},"626":{"position":[[728,8]]},"627":{"position":[[169,8]]},"630":{"position":[[58,8],[804,9]]},"634":{"position":[[692,8]]},"650":{"position":[[114,8]]},"668":{"position":[[20,8]]},"679":{"position":[[121,7]]},"696":{"position":[[530,9]]},"749":{"position":[[21185,8]]},"778":{"position":[[110,7]]},"782":{"position":[[70,8]]},"784":{"position":[[48,8]]},"799":{"position":[[488,7]]},"846":{"position":[[699,7]]},"848":{"position":[[83,8]]},"849":{"position":[[72,8],[191,8]]},"851":{"position":[[198,7]]},"863":{"position":[[381,7]]},"875":{"position":[[756,8],[2993,7]]},"880":{"position":[[100,8],[293,8]]},"882":{"position":[[190,7]]},"886":{"position":[[1513,8],[1808,8],[2933,8]]},"890":{"position":[[636,8]]},"986":{"position":[[1610,9]]},"988":{"position":[[915,7]]},"1010":{"position":[[131,8]]},"1032":{"position":[[19,8]]},"1089":{"position":[[160,9]]},"1090":{"position":[[27,8],[219,8]]},"1092":{"position":[[344,8]]},"1094":{"position":[[389,8]]},"1095":{"position":[[355,8]]},"1102":{"position":[[438,7],[463,7]]},"1103":{"position":[[167,9]]},"1104":{"position":[[74,9]]},"1123":{"position":[[317,8]]},"1124":{"position":[[707,7]]},"1134":{"position":[[638,9]]},"1135":{"position":[[352,7]]},"1161":{"position":[[162,8]]},"1170":{"position":[[156,8]]},"1180":{"position":[[162,8]]},"1301":{"position":[[816,7]]},"1313":{"position":[[445,9]]}},"keywords":{}}],["request.json",{"_index":5938,"title":{},"content":{"1102":{"position":[[702,15]]}},"keywords":{}}],["request.onerror",{"_index":3004,"title":{},"content":{"459":{"position":[[933,15]]}},"keywords":{}}],["request.onsuccess",{"_index":3002,"title":{},"content":{"459":{"position":[[873,17]]}},"keywords":{}}],["requestcheckpoint",{"_index":5156,"title":{},"content":{"888":{"position":[[773,17],[821,17],[1107,17]]}},"keywords":{}}],["requestidlecallback",{"_index":3772,"title":{},"content":{"656":{"position":[[405,21]]},"975":{"position":[[86,19]]}},"keywords":{}}],["requestidlepromis",{"_index":5412,"title":{"975":{"position":[[0,21]]}},"content":{"1164":{"position":[[84,18],[1267,20],[1529,21]]}},"keywords":{}}],["requests.long",{"_index":3663,"title":{},"content":{"621":{"position":[[347,13]]}},"keywords":{}}],["requestsskip",{"_index":5062,"title":{},"content":{"876":{"position":[[289,12]]}},"keywords":{}}],["requir",{"_index":334,"title":{"553":{"position":[[20,8]]},"666":{"position":[[0,13]]},"910":{"position":[[11,8]]},"1260":{"position":[[16,9]]}},"content":{"19":{"position":[[599,9]]},"33":{"position":[[371,8]]},"35":{"position":[[626,9]]},"40":{"position":[[707,7]]},"51":{"position":[[498,9]]},"63":{"position":[[232,13]]},"65":{"position":[[1236,7]]},"66":{"position":[[571,13]]},"70":{"position":[[214,8]]},"79":{"position":[[110,9]]},"80":{"position":[[18,9]]},"81":{"position":[[89,12]]},"99":{"position":[[189,8]]},"111":{"position":[[115,12]]},"131":{"position":[[973,12]]},"132":{"position":[[74,12]]},"134":{"position":[[248,13]]},"146":{"position":[[246,12]]},"151":{"position":[[168,8]]},"170":{"position":[[344,13],[532,13]]},"174":{"position":[[550,12]]},"188":{"position":[[1425,9]]},"189":{"position":[[716,12]]},"197":{"position":[[21,12]]},"206":{"position":[[54,8]]},"210":{"position":[[717,9]]},"220":{"position":[[275,7]]},"221":{"position":[[29,7]]},"222":{"position":[[237,12]]},"226":{"position":[[157,8],[243,7]]},"236":{"position":[[86,12]]},"249":{"position":[[32,7]]},"253":{"position":[[53,8]]},"261":{"position":[[637,8]]},"266":{"position":[[504,8]]},"271":{"position":[[203,12]]},"276":{"position":[[361,13]]},"287":{"position":[[268,13],[848,7]]},"294":{"position":[[185,12]]},"299":{"position":[[554,7]]},"309":{"position":[[356,9]]},"314":{"position":[[881,9]]},"315":{"position":[[823,9]]},"331":{"position":[[120,7]]},"357":{"position":[[284,7]]},"358":{"position":[[392,8]]},"361":{"position":[[95,9]]},"365":{"position":[[571,9],[1159,9],[1434,9]]},"366":{"position":[[184,12]]},"367":{"position":[[1036,9]]},"375":{"position":[[642,7]]},"379":{"position":[[195,9]]},"382":{"position":[[177,8]]},"383":{"position":[[266,7]]},"388":{"position":[[217,13]]},"392":{"position":[[698,9],[1695,9],[1913,8]]},"401":{"position":[[773,9]]},"409":{"position":[[202,7]]},"411":{"position":[[435,7]]},"412":{"position":[[2445,7],[3557,7],[6695,8],[10410,8],[11793,8],[14094,12],[14565,7]]},"415":{"position":[[351,9]]},"427":{"position":[[689,8]]},"429":{"position":[[419,9]]},"430":{"position":[[889,7]]},"432":{"position":[[167,13]]},"444":{"position":[[168,12]]},"445":{"position":[[934,7]]},"446":{"position":[[470,7]]},"454":{"position":[[851,8]]},"455":{"position":[[506,8]]},"462":{"position":[[746,8]]},"463":{"position":[[42,7],[329,8]]},"464":{"position":[[1254,7]]},"478":{"position":[[14,7]]},"482":{"position":[[953,9]]},"487":{"position":[[435,9]]},"497":{"position":[[338,9]]},"504":{"position":[[413,13]]},"508":{"position":[[70,13]]},"515":{"position":[[104,7]]},"517":{"position":[[63,7]]},"521":{"position":[[661,8]]},"524":{"position":[[164,13]]},"525":{"position":[[731,13]]},"534":{"position":[[692,13]]},"538":{"position":[[799,9]]},"546":{"position":[[33,13]]},"554":{"position":[[1494,9]]},"559":{"position":[[1256,8]]},"562":{"position":[[446,9]]},"564":{"position":[[882,9]]},"567":{"position":[[728,13]]},"574":{"position":[[174,8]]},"581":{"position":[[681,12]]},"594":{"position":[[690,13]]},"598":{"position":[[806,9]]},"602":{"position":[[127,10]]},"606":{"position":[[33,13]]},"611":{"position":[[542,7],[1417,9]]},"613":{"position":[[398,9]]},"616":{"position":[[321,7]]},"617":{"position":[[1064,8]]},"622":{"position":[[719,9]]},"623":{"position":[[235,7]]},"624":{"position":[[504,9]]},"632":{"position":[[946,7]]},"638":{"position":[[738,9]]},"659":{"position":[[818,9]]},"662":{"position":[[2535,9]]},"680":{"position":[[1042,9]]},"681":{"position":[[131,8]]},"685":{"position":[[387,8]]},"687":{"position":[[159,8]]},"689":{"position":[[130,7]]},"701":{"position":[[1092,8]]},"715":{"position":[[88,8]]},"717":{"position":[[1551,9]]},"723":{"position":[[1289,9]]},"749":{"position":[[15306,8],[16404,9],[19134,8],[19820,8],[20776,8],[23013,8]]},"751":{"position":[[1180,8]]},"759":{"position":[[562,8]]},"760":{"position":[[558,8]]},"772":{"position":[[1248,7]]},"774":{"position":[[66,7]]},"778":{"position":[[184,7]]},"782":{"position":[[441,8]]},"806":{"position":[[533,8]]},"829":{"position":[[2948,9],[2998,7]]},"835":{"position":[[923,9]]},"836":{"position":[[1503,8],[1915,8],[2079,8],[2375,13]]},"837":{"position":[[406,8]]},"838":{"position":[[2749,9]]},"846":{"position":[[270,10]]},"854":{"position":[[815,10],[1304,8]]},"855":{"position":[[6,8]]},"861":{"position":[[2064,10]]},"862":{"position":[[779,9]]},"867":{"position":[[6,8]]},"871":{"position":[[811,8]]},"872":{"position":[[1248,8],[2039,9],[4269,9]]},"882":{"position":[[207,8]]},"887":{"position":[[68,8]]},"896":{"position":[[43,9]]},"898":{"position":[[2644,9]]},"902":{"position":[[319,9]]},"903":{"position":[[283,9]]},"904":{"position":[[1080,9]]},"906":{"position":[[92,9]]},"908":{"position":[[357,9]]},"962":{"position":[[443,13]]},"990":{"position":[[1110,8]]},"1067":{"position":[[820,8]]},"1074":{"position":[[190,8],[280,8],[453,8]]},"1077":{"position":[[204,9]]},"1078":{"position":[[676,9]]},"1079":{"position":[[314,8]]},"1080":{"position":[[717,9],[803,9]]},"1082":{"position":[[453,9]]},"1083":{"position":[[97,9],[623,9]]},"1085":{"position":[[735,8]]},"1090":{"position":[[1127,13]]},"1100":{"position":[[817,8]]},"1101":{"position":[[306,8]]},"1107":{"position":[[314,8]]},"1132":{"position":[[1124,12]]},"1141":{"position":[[233,8]]},"1143":{"position":[[461,8]]},"1147":{"position":[[480,7]]},"1149":{"position":[[1202,9]]},"1150":{"position":[[638,9]]},"1151":{"position":[[393,8]]},"1158":{"position":[[499,9]]},"1178":{"position":[[392,8]]},"1188":{"position":[[248,8]]},"1194":{"position":[[139,8]]},"1206":{"position":[[429,9]]},"1222":{"position":[[501,7]]},"1250":{"position":[[186,8]]},"1294":{"position":[[602,8]]},"1295":{"position":[[1391,8]]},"1304":{"position":[[952,8]]},"1311":{"position":[[568,9]]},"1316":{"position":[[2721,7],[3021,8]]}},"keywords":{}}],["require('asyncstorag",{"_index":138,"title":{},"content":{"10":{"position":[[238,21]]}},"keywords":{}}],["require('f",{"_index":6142,"title":{},"content":{"1176":{"position":[[138,13]]}},"keywords":{}}],["require('fak",{"_index":6050,"title":{},"content":{"1139":{"position":[[425,13],[476,13]]},"1145":{"position":[[414,13],[465,13]]}},"keywords":{}}],["require('leveldown",{"_index":90,"title":{},"content":{"6":{"position":[[457,21]]}},"keywords":{}}],["require('lokijs/src/increment",{"_index":6132,"title":{},"content":{"1172":{"position":[[236,31]]}},"keywords":{}}],["require('lokijs/src/loki",{"_index":4576,"title":{},"content":{"772":{"position":[[2202,24]]}},"keywords":{}}],["require('memdown",{"_index":47,"title":{},"content":{"2":{"position":[[296,19]]}},"keywords":{}}],["require('nod",{"_index":1371,"title":{},"content":{"210":{"position":[[449,13]]},"261":{"position":[[690,13]]},"904":{"position":[[2895,13]]}},"keywords":{}}],["require('path",{"_index":6305,"title":{},"content":{"1266":{"position":[[178,16]]}},"keywords":{}}],["require('rxdb/plugins/electron",{"_index":3928,"title":{},"content":{"693":{"position":[[748,33],[1052,33]]}},"keywords":{}}],["require('rxdb/plugins/storag",{"_index":3929,"title":{},"content":{"693":{"position":[[813,29],[1117,29]]}},"keywords":{}}],["require('sqlite3",{"_index":3999,"title":{},"content":{"711":{"position":[[1118,19]]}},"keywords":{}}],["require('ters",{"_index":6307,"title":{},"content":{"1266":{"position":[[216,15]]}},"keywords":{}}],["require('ws').websocket",{"_index":1374,"title":{},"content":{"210":{"position":[[509,23]]},"261":{"position":[[750,23]]},"904":{"position":[[3060,23]]}},"keywords":{}}],["require(path.join(projectrootpath",{"_index":6312,"title":{},"content":{"1266":{"position":[[390,34]]}},"keywords":{}}],["requireauth",{"_index":6080,"title":{},"content":{"1148":{"position":[[1040,12]]}},"keywords":{}}],["res(ev.data.embed",{"_index":2276,"title":{},"content":{"392":{"position":[[4354,23]]}},"keywords":{}}],["res(event.target.result",{"_index":3003,"title":{},"content":{"459":{"position":[[907,25]]}},"keywords":{}}],["res(row",{"_index":4008,"title":{},"content":{"711":{"position":[[1613,10]]}},"keywords":{}}],["res.end",{"_index":3613,"title":{},"content":{"612":{"position":[[2461,10]]}},"keywords":{}}],["res.end(json.stringifi",{"_index":5004,"title":{},"content":{"875":{"position":[[2814,24]]}},"keywords":{}}],["res.end(json.stringify(conflict",{"_index":5035,"title":{},"content":{"875":{"position":[[5578,35]]}},"keywords":{}}],["res.json",{"_index":1577,"title":{},"content":{"255":{"position":[[1295,11],[1536,11]]}},"keywords":{}}],["res.send(json.stringify(result",{"_index":4660,"title":{},"content":{"799":{"position":[[616,33],[823,33]]}},"keywords":{}}],["res.setheader('cont",{"_index":5003,"title":{},"content":{"875":{"position":[[2763,22],[5527,22]]}},"keywords":{}}],["res.write('data",{"_index":5044,"title":{},"content":{"875":{"position":[[7438,16]]}},"keywords":{}}],["res.write(formatteddata",{"_index":3604,"title":{},"content":{"612":{"position":[[2142,25]]}},"keywords":{}}],["res.writehead(200",{"_index":3598,"title":{},"content":{"612":{"position":[[1879,18]]},"875":{"position":[[7263,18]]}},"keywords":{}}],["reserv",{"_index":4356,"title":{},"content":{"749":{"position":[[16950,8]]}},"keywords":{}}],["reset",{"_index":5421,"title":{},"content":{"977":{"position":[[268,5]]},"1085":{"position":[[3543,6]]}},"keywords":{}}],["resid",{"_index":2937,"title":{},"content":{"444":{"position":[[471,6]]},"1315":{"position":[[317,7]]}},"keywords":{}}],["resili",{"_index":2179,"title":{},"content":{"388":{"position":[[345,10]]},"407":{"position":[[733,9]]},"410":{"position":[[932,11]]},"418":{"position":[[723,11]]},"419":{"position":[[885,10]]},"420":{"position":[[1484,10]]},"990":{"position":[[474,9]]}},"keywords":{}}],["resolut",{"_index":226,"title":{"134":{"position":[[9,11]]},"250":{"position":[[21,11]]},"339":{"position":[[9,11]]},"416":{"position":[[24,11]]},"496":{"position":[[9,10]]}},"content":{"14":{"position":[[806,10]]},"39":{"position":[[583,10]]},"40":{"position":[[228,10],[753,11]]},"43":{"position":[[121,10]]},"123":{"position":[[211,10]]},"134":{"position":[[126,10],[198,10]]},"135":{"position":[[287,10]]},"147":{"position":[[120,10]]},"162":{"position":[[487,10]]},"165":{"position":[[238,10]]},"192":{"position":[[244,10]]},"203":{"position":[[160,10]]},"250":{"position":[[47,10],[202,10]]},"263":{"position":[[200,10]]},"289":{"position":[[209,11]]},"306":{"position":[[206,11]]},"328":{"position":[[209,10]]},"331":{"position":[[209,11]]},"412":{"position":[[1152,11],[2179,11],[2980,11],[3249,10]]},"419":{"position":[[1172,10]]},"480":{"position":[[1104,11]]},"491":{"position":[[401,11],[1320,11]]},"495":{"position":[[69,11]]},"525":{"position":[[629,11]]},"566":{"position":[[1018,10]]},"576":{"position":[[286,11]]},"582":{"position":[[438,11]]},"590":{"position":[[819,11]]},"635":{"position":[[428,11]]},"690":{"position":[[191,10]]},"698":{"position":[[358,11],[445,10],[787,10],[975,10],[1419,10],[2183,11],[3285,10]]},"860":{"position":[[777,10]]},"870":{"position":[[168,10]]},"896":{"position":[[270,10]]},"1148":{"position":[[137,10],[365,11],[387,10]]},"1149":{"position":[[52,10]]}},"keywords":{}}],["resolution.rxdb'",{"_index":6072,"title":{},"content":{"1147":{"position":[[266,17]]}},"keywords":{}}],["resolutionrxdb",{"_index":1601,"title":{},"content":{"263":{"position":[[630,14]]}},"keywords":{}}],["resolv",{"_index":1116,"title":{},"content":{"134":{"position":[[317,7]]},"135":{"position":[[243,8]]},"339":{"position":[[111,7]]},"386":{"position":[[176,8]]},"412":{"position":[[5025,9],[5123,7],[13010,9]]},"487":{"position":[[390,7]]},"491":{"position":[[536,7],[1439,8]]},"496":{"position":[[830,8]]},"582":{"position":[[214,9],[585,7]]},"688":{"position":[[102,7],[684,7]]},"691":{"position":[[302,8]]},"698":{"position":[[1815,8]]},"749":{"position":[[21083,7],[21228,8]]},"751":{"position":[[1056,8]]},"789":{"position":[[363,8]]},"810":{"position":[[133,8]]},"860":{"position":[[523,8]]},"885":{"position":[[1410,8],[2695,10]]},"886":{"position":[[243,8]]},"908":{"position":[[49,9],[332,8]]},"929":{"position":[[48,8]]},"930":{"position":[[25,8]]},"931":{"position":[[25,8]]},"932":{"position":[[25,8]]},"968":{"position":[[298,8]]},"974":{"position":[[25,8]]},"975":{"position":[[25,8]]},"976":{"position":[[129,8]]},"982":{"position":[[769,8]]},"987":{"position":[[494,8]]},"994":{"position":[[189,7]]},"995":{"position":[[24,8],[311,7],[759,8],[968,7],[1161,7]]},"997":{"position":[[49,8]]},"1014":{"position":[[142,8]]},"1015":{"position":[[122,8]]},"1016":{"position":[[59,8]]},"1026":{"position":[[110,8]]},"1057":{"position":[[24,8]]},"1062":{"position":[[54,8]]},"1164":{"position":[[871,7],[1195,8]]},"1176":{"position":[[238,7],[351,8]]},"1198":{"position":[[862,7]]},"1266":{"position":[[849,8]]},"1308":{"position":[[279,8],[570,8]]},"1323":{"position":[[168,7]]}},"keywords":{}}],["resolve(i",{"_index":2695,"title":{},"content":{"412":{"position":[[5163,10]]},"1309":{"position":[[936,10]]}},"keywords":{}}],["resourc",{"_index":994,"title":{},"content":{"84":{"position":[[103,10]]},"91":{"position":[[136,10]]},"114":{"position":[[116,10]]},"143":{"position":[[253,9]]},"149":{"position":[[116,10]]},"175":{"position":[[94,9]]},"224":{"position":[[171,9]]},"228":{"position":[[307,8]]},"241":{"position":[[109,10]]},"263":{"position":[[558,10]]},"277":{"position":[[288,8]]},"298":{"position":[[67,10]]},"347":{"position":[[116,10]]},"362":{"position":[[1187,10]]},"373":{"position":[[109,10]]},"392":{"position":[[2220,10]]},"409":{"position":[[36,8]]},"427":{"position":[[1240,10]]},"444":{"position":[[240,10]]},"477":{"position":[[86,8]]},"508":{"position":[[210,8]]},"511":{"position":[[116,10]]},"528":{"position":[[196,10]]},"531":{"position":[[116,10]]},"567":{"position":[[161,10]]},"587":{"position":[[96,8]]},"591":{"position":[[116,10]]},"618":{"position":[[424,8]]},"736":{"position":[[512,9]]},"782":{"position":[[190,9]]},"981":{"position":[[1687,10]]},"1151":{"position":[[414,10]]},"1178":{"position":[[413,10]]},"1206":{"position":[[609,10]]}},"keywords":{}}],["resources.webtransport",{"_index":3670,"title":{},"content":{"622":{"position":[[543,23]]}},"keywords":{}}],["resp",{"_index":1348,"title":{},"content":{"209":{"position":[[792,4]]}},"keywords":{}}],["resp.json",{"_index":1352,"title":{},"content":{"209":{"position":[[920,12]]}},"keywords":{}}],["respect",{"_index":2757,"title":{},"content":{"412":{"position":[[13025,7]]},"875":{"position":[[1884,7]]}},"keywords":{}}],["respond",{"_index":919,"title":{},"content":{"65":{"position":[[917,7]]},"124":{"position":[[265,7]]},"156":{"position":[[242,7]]},"421":{"position":[[978,7]]},"502":{"position":[[764,7]]},"585":{"position":[[66,7]]},"875":{"position":[[1769,8],[7001,7]]},"984":{"position":[[300,7]]},"990":{"position":[[1083,7]]},"1308":{"position":[[447,7]]},"1313":{"position":[[417,10]]}},"keywords":{}}],["respons",{"_index":910,"title":{},"content":{"65":{"position":[[401,10],[983,10],[2093,10]]},"78":{"position":[[111,15]]},"83":{"position":[[377,11]]},"91":{"position":[[268,10]]},"92":{"position":[[221,10]]},"103":{"position":[[210,10]]},"106":{"position":[[203,15]]},"114":{"position":[[740,15]]},"116":{"position":[[272,10]]},"145":{"position":[[119,11]]},"148":{"position":[[225,10]]},"153":{"position":[[319,11]]},"173":{"position":[[999,8],[1105,14],[2668,14]]},"175":{"position":[[686,11]]},"177":{"position":[[316,10]]},"182":{"position":[[175,8]]},"196":{"position":[[225,8]]},"198":{"position":[[381,10]]},"209":{"position":[[1086,8]]},"216":{"position":[[201,10]]},"220":{"position":[[205,8]]},"221":{"position":[[289,10]]},"234":{"position":[[256,14]]},"235":{"position":[[225,10]]},"265":{"position":[[476,10]]},"267":{"position":[[447,10],[1604,10]]},"270":{"position":[[178,10]]},"273":{"position":[[273,10]]},"283":{"position":[[429,10]]},"289":{"position":[[1472,10]]},"292":{"position":[[403,10]]},"294":{"position":[[284,10]]},"321":{"position":[[103,10]]},"369":{"position":[[467,11],[740,15]]},"375":{"position":[[378,15]]},"379":{"position":[[317,10]]},"385":{"position":[[127,8]]},"392":{"position":[[977,8]]},"407":{"position":[[406,9]]},"410":{"position":[[199,9],[270,10]]},"411":{"position":[[3123,11]]},"412":{"position":[[9076,16]]},"415":{"position":[[137,11]]},"418":{"position":[[87,14]]},"421":{"position":[[695,9]]},"427":{"position":[[372,10]]},"445":{"position":[[1527,10]]},"447":{"position":[[414,11]]},"460":{"position":[[151,10]]},"474":{"position":[[255,10]]},"489":{"position":[[581,10]]},"502":{"position":[[145,14]]},"507":{"position":[[195,15]]},"510":{"position":[[374,11]]},"515":{"position":[[393,14]]},"518":{"position":[[354,8]]},"530":{"position":[[502,15]]},"548":{"position":[[216,11]]},"569":{"position":[[191,8],[524,9],[915,8],[1468,8]]},"571":{"position":[[136,8],[1835,8]]},"582":{"position":[[732,10]]},"608":{"position":[[216,11]]},"610":{"position":[[461,8],[556,9]]},"611":{"position":[[223,8]]},"617":{"position":[[859,8]]},"627":{"position":[[182,10]]},"630":{"position":[[163,9],[503,15]]},"632":{"position":[[2771,10]]},"642":{"position":[[219,11]]},"699":{"position":[[961,8]]},"751":{"position":[[1419,8],[1470,9]]},"801":{"position":[[565,10],[742,14]]},"802":{"position":[[785,8]]},"829":{"position":[[376,11],[1151,11]]},"836":{"position":[[1713,14]]},"838":{"position":[[543,11]]},"875":{"position":[[3317,8]]},"886":{"position":[[1431,8],[1531,8]]},"888":{"position":[[57,8],[613,8]]},"889":{"position":[[34,8],[700,8]]},"988":{"position":[[2835,8],[2879,9],[3696,8]]},"1024":{"position":[[361,8]]},"1102":{"position":[[685,8],[1016,8]]},"1124":{"position":[[715,8]]},"1132":{"position":[[1007,10]]},"1257":{"position":[[89,8]]}},"keywords":{}}],["response.json",{"_index":1359,"title":{},"content":{"209":{"position":[[1229,16]]},"392":{"position":[[1043,16]]},"610":{"position":[[980,16]]},"751":{"position":[[1430,16]]},"875":{"position":[[3447,16]]},"988":{"position":[[3841,16]]},"1024":{"position":[[452,16]]}},"keywords":{}}],["responsemodifi",{"_index":5154,"title":{},"content":{"888":{"position":[[268,16],[551,17]]},"889":{"position":[[581,17]]}},"keywords":{}}],["responsiveness.it",{"_index":6070,"title":{},"content":{"1143":{"position":[[592,17]]}},"keywords":{}}],["responsiveness.mad",{"_index":1217,"title":{},"content":{"174":{"position":[[1185,19]]}},"keywords":{}}],["responsiveness.scal",{"_index":5239,"title":{},"content":{"902":{"position":[[145,26]]}},"keywords":{}}],["rest",{"_index":307,"title":{"784":{"position":[[19,5]]},"1102":{"position":[[0,4]]}},"content":{"18":{"position":[[189,4]]},"38":{"position":[[364,4]]},"57":{"position":[[366,5]]},"89":{"position":[[139,4]]},"173":{"position":[[474,4]]},"202":{"position":[[301,5]]},"223":{"position":[[118,4],[404,4]]},"249":{"position":[[255,4]]},"255":{"position":[[950,4],[1052,4],[1127,4],[1390,4]]},"310":{"position":[[146,4]]},"312":{"position":[[186,6]]},"383":{"position":[[143,4]]},"411":{"position":[[1208,4]]},"478":{"position":[[31,4]]},"482":{"position":[[131,5],[1022,4]]},"564":{"position":[[137,5],[1031,5]]},"566":{"position":[[1391,4]]},"632":{"position":[[881,4]]},"644":{"position":[[536,5]]},"784":{"position":[[297,4]]},"988":{"position":[[560,4],[2481,4],[3675,4]]},"1100":{"position":[[263,4]]},"1102":{"position":[[5,4],[289,4],[744,4],[802,4],[910,6],[1070,4]]},"1149":{"position":[[372,4],[473,7]]}},"keywords":{}}],["rest.queri",{"_index":1901,"title":{},"content":{"315":{"position":[[998,12]]}},"keywords":{}}],["restart",{"_index":3561,"title":{},"content":{"610":{"position":[[1288,7]]},"723":{"position":[[1466,9]]},"998":{"position":[[177,7]]},"999":{"position":[[96,7]]},"1085":{"position":[[3553,7]]},"1301":{"position":[[1627,7]]},"1314":{"position":[[594,8]]}},"keywords":{}}],["restarts/reload",{"_index":4050,"title":{},"content":{"724":{"position":[[619,17]]}},"keywords":{}}],["restcompress",{"_index":3699,"title":{},"content":{"631":{"position":[[457,15]]}},"keywords":{}}],["restor",{"_index":707,"title":{},"content":{"46":{"position":[[242,9]]},"164":{"position":[[276,9]]},"201":{"position":[[338,9]]},"274":{"position":[[255,9]]},"280":{"position":[[312,9]]},"327":{"position":[[223,9]]},"380":{"position":[[202,9]]},"419":{"position":[[545,9]]},"436":{"position":[[227,9]]},"502":{"position":[[592,9]]},"565":{"position":[[274,9]]},"582":{"position":[[145,9]]},"584":{"position":[[121,9]]}},"keywords":{}}],["restored.data",{"_index":1922,"title":{},"content":{"323":{"position":[[307,13]]},"575":{"position":[[415,13]]}},"keywords":{}}],["restrict",{"_index":685,"title":{"796":{"position":[[55,8]]}},"content":{"43":{"position":[[632,9]]},"66":{"position":[[428,12]]},"408":{"position":[[96,10],[498,11]]},"427":{"position":[[513,11]]},"624":{"position":[[310,12]]},"796":{"position":[[141,11],[312,11],[565,11],[605,11],[973,11],[1015,11],[1263,11],[1404,11]]},"1105":{"position":[[61,8],[516,9]]},"1106":{"position":[[63,8],[152,8],[356,8]]}},"keywords":{}}],["restructur",{"_index":5622,"title":{},"content":{"1021":{"position":[[114,11]]}},"keywords":{}}],["result",{"_index":543,"title":{"1321":{"position":[[14,8]]}},"content":{"34":{"position":[[623,7]]},"65":{"position":[[370,7],[1144,7]]},"69":{"position":[[137,6]]},"77":{"position":[[335,8]]},"91":{"position":[[234,9]]},"92":{"position":[[67,9]]},"93":{"position":[[181,9]]},"100":{"position":[[296,9]]},"103":{"position":[[375,8]]},"108":{"position":[[139,9]]},"130":{"position":[[230,7]]},"173":{"position":[[808,9],[2596,9]]},"174":{"position":[[1711,9]]},"182":{"position":[[265,8]]},"188":{"position":[[3130,7],[3277,8]]},"197":{"position":[[154,9]]},"216":{"position":[[172,9]]},"220":{"position":[[185,9]]},"227":{"position":[[270,9]]},"234":{"position":[[435,8]]},"252":{"position":[[333,7]]},"281":{"position":[[395,7]]},"287":{"position":[[1004,6]]},"289":{"position":[[260,9]]},"301":{"position":[[354,8]]},"329":{"position":[[127,6]]},"360":{"position":[[321,8]]},"390":{"position":[[801,7]]},"392":{"position":[[3441,6]]},"393":{"position":[[731,8]]},"394":{"position":[[1181,8]]},"398":{"position":[[250,6],[1709,7],[2862,7],[3034,7],[3115,7]]},"400":{"position":[[457,7],[760,6]]},"402":{"position":[[556,8],[1312,7],[1359,6],[1629,8],[2388,7]]},"404":{"position":[[897,7]]},"408":{"position":[[4792,6]]},"410":{"position":[[286,7]]},"411":{"position":[[1734,7],[3006,8],[3497,6],[3566,7]]},"434":{"position":[[334,7]]},"439":{"position":[[728,6]]},"459":{"position":[[827,6]]},"462":{"position":[[273,7]]},"474":{"position":[[266,9]]},"480":{"position":[[812,6]]},"490":{"position":[[657,7]]},"491":{"position":[[928,6]]},"502":{"position":[[806,6],[1039,6]]},"507":{"position":[[141,9]]},"518":{"position":[[131,7],[208,7],[506,6]]},"523":{"position":[[454,7]]},"535":{"position":[[824,7]]},"571":{"position":[[721,7],[843,6],[987,6],[1093,8],[1461,7]]},"575":{"position":[[664,6]]},"580":{"position":[[138,7],[636,7]]},"602":{"position":[[288,6]]},"618":{"position":[[504,7]]},"626":{"position":[[336,8]]},"662":{"position":[[160,6],[2669,6]]},"685":{"position":[[646,6]]},"704":{"position":[[578,7]]},"710":{"position":[[212,7],[1976,6]]},"711":{"position":[[658,6]]},"723":{"position":[[340,8],[1204,7]]},"749":{"position":[[2205,6],[3317,6],[16299,6]]},"772":{"position":[[1003,6]]},"775":{"position":[[774,6]]},"781":{"position":[[782,7]]},"782":{"position":[[51,6]]},"796":{"position":[[106,6]]},"799":{"position":[[37,6],[185,6],[304,8],[562,6],[794,6]]},"817":{"position":[[176,8],[295,6]]},"821":{"position":[[128,7],[317,6]]},"826":{"position":[[773,6],[871,6]]},"829":{"position":[[2265,7],[2493,8],[3190,7],[3408,8],[3688,6]]},"837":{"position":[[635,7]]},"838":{"position":[[189,6],[2883,6]]},"886":{"position":[[1417,6]]},"944":{"position":[[183,6]]},"945":{"position":[[124,6],[445,6]]},"965":{"position":[[175,7]]},"1030":{"position":[[262,7]]},"1055":{"position":[[83,6]]},"1056":{"position":[[57,6]]},"1057":{"position":[[42,6],[109,7]]},"1058":{"position":[[51,6],[305,8],[352,8],[472,8],[531,7]]},"1059":{"position":[[49,7]]},"1060":{"position":[[71,7]]},"1061":{"position":[[72,7]]},"1064":{"position":[[351,6]]},"1067":{"position":[[420,6],[505,6],[1742,6]]},"1068":{"position":[[489,6]]},"1069":{"position":[[88,7],[603,7],[664,6],[760,7],[825,6]]},"1072":{"position":[[1011,7],[1411,7],[2863,7]]},"1079":{"position":[[589,8]]},"1100":{"position":[[493,9]]},"1102":{"position":[[1138,7],[1202,7]]},"1150":{"position":[[78,7],[564,7]]},"1209":{"position":[[366,7]]},"1213":{"position":[[97,8]]},"1250":{"position":[[212,6],[243,7],[582,7]]},"1294":{"position":[[788,6],[1042,7],[1731,6],[1832,7],[1977,7]]},"1295":{"position":[[788,8],[1348,7],[1406,7]]},"1315":{"position":[[900,6],[1339,6],[1469,6]]},"1318":{"position":[[350,8],[410,6],[514,7],[637,7],[900,7],[1096,7],[1190,8]]},"1321":{"position":[[220,8],[274,6],[433,6],[536,7],[643,6],[749,6]]},"1322":{"position":[[103,6],[546,7]]}},"keywords":{}}],["result.concat(subresult",{"_index":6446,"title":{},"content":{"1294":{"position":[[1740,25]]}},"keywords":{}}],["result.length",{"_index":5781,"title":{},"content":{"1067":{"position":[[2196,14]]}},"keywords":{}}],["results.for",{"_index":2484,"title":{},"content":{"402":{"position":[[1082,11]]}},"keywords":{}}],["results.length",{"_index":980,"title":{},"content":{"77":{"position":[[348,16]]},"103":{"position":[[388,16]]},"234":{"position":[[448,16]]},"1058":{"position":[[318,16]]}},"keywords":{}}],["results.length}</span>",{"_index":4760,"title":{},"content":{"829":{"position":[[2627,30]]}},"keywords":{}}],["results.map(hero",{"_index":4763,"title":{},"content":{"829":{"position":[[3533,17]]}},"keywords":{}}],["resultset",{"_index":5778,"title":{},"content":{"1067":{"position":[[1946,9]]}},"keywords":{}}],["resultset.length",{"_index":5779,"title":{},"content":{"1067":{"position":[[2049,17]]}},"keywords":{}}],["resultsit",{"_index":4699,"title":{},"content":{"816":{"position":[[197,9]]}},"keywords":{}}],["resum",{"_index":2241,"title":{},"content":{"392":{"position":[[2263,6]]},"630":{"position":[[377,7]]},"632":{"position":[[1990,8]]},"896":{"position":[[191,10]]},"988":{"position":[[377,6]]},"998":{"position":[[60,7]]},"1003":{"position":[[336,8]]}},"keywords":{}}],["resync",{"_index":2751,"title":{"996":{"position":[[0,9]]}},"content":{"412":{"position":[[11917,7]]},"875":{"position":[[8529,6],[8793,6],[9039,6],[9354,6]]},"985":{"position":[[278,6],[578,6]]},"988":{"position":[[5965,6]]},"996":{"position":[[12,6],[387,8],[508,6]]}},"keywords":{}}],["retain",{"_index":2134,"title":{},"content":{"372":{"position":[[318,9]]},"417":{"position":[[70,9]]},"436":{"position":[[134,7]]},"1009":{"position":[[817,6]]}},"keywords":{}}],["retcheckpoint",{"_index":5112,"title":{},"content":{"885":{"position":[[2521,13],[2631,13]]}},"keywords":{}}],["retent",{"_index":2109,"title":{},"content":{"365":{"position":[[586,9],[765,10]]},"411":{"position":[[5746,9]]}},"keywords":{}}],["rethink",{"_index":354,"title":{},"content":{"20":{"position":[[150,7]]}},"keywords":{}}],["rethinkdb",{"_index":346,"title":{"20":{"position":[[0,10]]}},"content":{"20":{"position":[[3,9]]},"21":{"position":[[40,9],[147,9]]},"22":{"position":[[292,10]]}},"keywords":{}}],["retir",{"_index":434,"title":{},"content":{"26":{"position":[[380,7]]}},"keywords":{}}],["retri",{"_index":1803,"title":{},"content":{"302":{"position":[[659,7]]},"487":{"position":[[380,5]]},"612":{"position":[[1658,5]]},"632":{"position":[[2641,5]]},"899":{"position":[[115,8]]},"988":{"position":[[935,8]]},"995":{"position":[[161,5]]},"1031":{"position":[[184,8]]}},"keywords":{}}],["retriev",{"_index":926,"title":{},"content":{"65":{"position":[[1255,10]]},"66":{"position":[[306,9]]},"92":{"position":[[200,9]]},"117":{"position":[[107,9]]},"131":{"position":[[571,8]]},"138":{"position":[[132,9]]},"152":{"position":[[274,10]]},"166":{"position":[[141,9]]},"178":{"position":[[125,10]]},"194":{"position":[[206,10]]},"205":{"position":[[108,10]]},"208":{"position":[[130,10]]},"217":{"position":[[372,9]]},"220":{"position":[[318,10]]},"276":{"position":[[292,9]]},"283":{"position":[[99,9]]},"321":{"position":[[67,8]]},"350":{"position":[[198,8]]},"369":{"position":[[271,9]]},"394":{"position":[[1560,10]]},"395":{"position":[[246,8]]},"398":{"position":[[1828,8]]},"402":{"position":[[132,9]]},"425":{"position":[[325,10]]},"426":{"position":[[201,8],[442,10]]},"427":{"position":[[755,10]]},"430":{"position":[[349,9]]},"435":{"position":[[395,10]]},"444":{"position":[[676,8]]},"507":{"position":[[130,10]]},"527":{"position":[[209,10]]},"556":{"position":[[258,8]]},"632":{"position":[[2428,8]]},"711":{"position":[[645,8]]},"714":{"position":[[264,8]]},"715":{"position":[[46,8],[286,8]]},"1072":{"position":[[111,10]]},"1132":{"position":[[243,9],[665,10]]},"1174":{"position":[[595,8]]},"1294":{"position":[[1054,9]]},"1315":{"position":[[1400,8]]}},"keywords":{}}],["retrieval.build",{"_index":1200,"title":{},"content":{"173":{"position":[[833,18]]}},"keywords":{}}],["retrieval.tab",{"_index":2889,"title":{},"content":{"427":{"position":[[1093,13]]}},"keywords":{}}],["retryattempt",{"_index":5148,"title":{},"content":{"886":{"position":[[4876,14]]}},"keywords":{}}],["retrytim",{"_index":3709,"title":{},"content":{"632":{"position":[[2621,10]]},"862":{"position":[[1518,11]]},"886":{"position":[[1986,9]]},"988":{"position":[[1077,10]]}},"keywords":{}}],["return",{"_index":161,"title":{},"content":{"11":{"position":[[578,6]]},"51":{"position":[[884,6]]},"55":{"position":[[458,6],[511,6]]},"143":{"position":[[757,6]]},"188":{"position":[[1467,6]]},"209":{"position":[[907,6],[936,6],[1216,6],[1266,6]]},"248":{"position":[[201,7]]},"255":{"position":[[1258,6],[1282,6],[1523,6],[1597,6]]},"314":{"position":[[906,6]]},"315":{"position":[[923,6]]},"334":{"position":[[768,6]]},"338":{"position":[[159,8]]},"390":{"position":[[793,7]]},"391":{"position":[[720,6],[842,9]]},"392":{"position":[[4247,6]]},"393":{"position":[[783,7]]},"394":{"position":[[1220,8]]},"398":{"position":[[1582,6],[1700,6],[2735,6],[2853,6]]},"403":{"position":[[1000,6]]},"407":{"position":[[670,8]]},"412":{"position":[[4992,6],[5469,6],[5546,6]]},"439":{"position":[[410,6]]},"460":{"position":[[1269,8]]},"480":{"position":[[766,7],[919,6]]},"482":{"position":[[1035,6]]},"491":{"position":[[1240,8]]},"494":{"position":[[315,6]]},"495":{"position":[[572,9]]},"502":{"position":[[992,7]]},"518":{"position":[[459,7]]},"523":{"position":[[593,6],[616,6]]},"541":{"position":[[462,6],[524,6]]},"542":{"position":[[818,6]]},"554":{"position":[[1549,6]]},"556":{"position":[[451,6]]},"559":{"position":[[370,6],[510,6]]},"562":{"position":[[1360,6],[1438,6]]},"571":{"position":[[933,7]]},"579":{"position":[[782,6]]},"580":{"position":[[14,6]]},"585":{"position":[[15,9]]},"598":{"position":[[914,6]]},"632":{"position":[[1774,7],[1878,6]]},"659":{"position":[[389,6]]},"691":{"position":[[327,6]]},"698":{"position":[[665,9]]},"711":{"position":[[1545,6]]},"724":{"position":[[844,9]]},"749":{"position":[[15913,6],[22486,7]]},"751":{"position":[[340,7],[400,7],[700,6],[943,6],[1032,7],[1312,6],[1480,6],[1802,6],[1976,6],[1994,6]]},"752":{"position":[[117,7],[587,6],[718,7]]},"753":{"position":[[30,7]]},"754":{"position":[[387,6],[547,6],[769,6]]},"767":{"position":[[551,6],[960,6]]},"768":{"position":[[553,6],[962,6]]},"769":{"position":[[510,6],[931,6]]},"775":{"position":[[763,6]]},"789":{"position":[[253,6],[500,6]]},"791":{"position":[[109,6],[368,6]]},"792":{"position":[[240,6]]},"810":{"position":[[109,7]]},"829":{"position":[[867,6],[1606,6],[1733,6],[2002,7],[2548,6],[2594,6],[3170,7],[3467,6],[3513,6],[3822,8]]},"846":{"position":[[1349,7]]},"848":{"position":[[593,6]]},"860":{"position":[[468,8]]},"862":{"position":[[1629,8]]},"872":{"position":[[2732,8]]},"875":{"position":[[1977,7],[3464,6],[3713,6],[4076,6],[6454,6]]},"885":{"position":[[56,7],[173,7],[1072,7],[1146,6],[1769,6],[1813,6],[1879,6],[1909,6],[1925,6],[1949,6],[2103,6],[2154,6],[2268,6],[2286,6],[2314,6],[2586,6],[2647,6]]},"886":{"position":[[167,7],[767,6],[2232,7],[2491,6],[3065,9],[3682,6],[4714,7]]},"887":{"position":[[664,6]]},"888":{"position":[[171,9],[218,7],[322,8],[631,8],[982,8],[1049,6]]},"889":{"position":[[90,7],[242,7],[719,6]]},"890":{"position":[[45,7]]},"898":{"position":[[3594,6],[3808,6],[4237,7],[4547,8]]},"904":{"position":[[3195,7]]},"907":{"position":[[200,7],[350,6]]},"917":{"position":[[37,7]]},"919":{"position":[[1,7],[36,7]]},"920":{"position":[[1,7]]},"929":{"position":[[25,7]]},"930":{"position":[[1,7]]},"931":{"position":[[1,7]]},"932":{"position":[[1,7]]},"941":{"position":[[19,6]]},"942":{"position":[[141,7]]},"943":{"position":[[289,7]]},"944":{"position":[[125,7],[612,6],[659,8]]},"945":{"position":[[66,7]]},"946":{"position":[[98,7]]},"947":{"position":[[114,7]]},"950":{"position":[[46,7]]},"951":{"position":[[154,7],[303,8],[458,8],[501,6]]},"957":{"position":[[1,7],[66,7]]},"968":{"position":[[275,7],[449,6]]},"970":{"position":[[19,6]]},"974":{"position":[[1,7]]},"975":{"position":[[1,7]]},"976":{"position":[[106,7]]},"978":{"position":[[1,7],[64,7]]},"983":{"position":[[245,7],[323,7],[368,8],[589,6],[699,6]]},"984":{"position":[[561,7]]},"988":{"position":[[2803,6],[2872,6],[3184,6],[3858,6],[4190,8]]},"992":{"position":[[38,7]]},"994":{"position":[[161,8]]},"995":{"position":[[1,7]]},"997":{"position":[[26,7]]},"1000":{"position":[[1,7]]},"1001":{"position":[[1,7]]},"1007":{"position":[[1295,7]]},"1008":{"position":[[175,7]]},"1014":{"position":[[118,7]]},"1015":{"position":[[98,7]]},"1016":{"position":[[35,7]]},"1017":{"position":[[21,7]]},"1038":{"position":[[116,10],[168,7]]},"1039":{"position":[[15,7]]},"1042":{"position":[[80,7],[207,6]]},"1044":{"position":[[449,6]]},"1045":{"position":[[1,7]]},"1046":{"position":[[19,6]]},"1047":{"position":[[159,8]]},"1048":{"position":[[605,6]]},"1051":{"position":[[1,7],[61,6]]},"1052":{"position":[[22,7],[250,8]]},"1053":{"position":[[1,7],[64,7]]},"1057":{"position":[[1,7]]},"1061":{"position":[[264,6]]},"1062":{"position":[[30,7]]},"1063":{"position":[[1,7]]},"1065":{"position":[[1691,6],[2001,6]]},"1069":{"position":[[308,7]]},"1070":{"position":[[1,7],[61,7]]},"1072":{"position":[[41,8],[432,7]]},"1104":{"position":[[144,7],[319,7]]},"1105":{"position":[[207,7],[544,6],[692,6],[1100,6]]},"1106":{"position":[[492,6],[606,6],[629,6]]},"1115":{"position":[[135,7]]},"1118":{"position":[[577,6]]},"1140":{"position":[[792,6]]},"1164":{"position":[[1167,6],[1257,9]]},"1185":{"position":[[60,7]]},"1198":{"position":[[1055,6]]},"1218":{"position":[[120,7]]},"1220":{"position":[[318,6],[356,6]]},"1229":{"position":[[80,7]]},"1257":{"position":[[122,6]]},"1268":{"position":[[80,7]]},"1291":{"position":[[124,6]]},"1294":{"position":[[689,8]]},"1309":{"position":[[332,7],[909,6],[1186,6]]},"1311":{"position":[[715,6],[934,6]]},"1315":{"position":[[871,6]]},"1321":{"position":[[926,6]]},"1322":{"position":[[354,6]]}},"keywords":{}}],["reus",{"_index":743,"title":{"239":{"position":[[32,6]]}},"content":{"47":{"position":[[1315,5]]},"112":{"position":[[53,5]]},"174":{"position":[[2660,6],[2850,5]]},"239":{"position":[[58,5],[241,5]]},"384":{"position":[[387,5]]},"595":{"position":[[1338,5]]},"898":{"position":[[2766,5]]},"1124":{"position":[[1287,5],[1404,6]]},"1183":{"position":[[386,6]]},"1267":{"position":[[186,5],[323,7]]}},"keywords":{}}],["reusabl",{"_index":3476,"title":{},"content":{"574":{"position":[[114,8]]},"1249":{"position":[[231,8]]}},"keywords":{}}],["rev",{"_index":5304,"title":{"928":{"position":[[0,4]]}},"content":{},"keywords":{}}],["revenu",{"_index":602,"title":{},"content":{"38":{"position":[[997,7]]},"1112":{"position":[[349,8]]}},"keywords":{}}],["revers",{"_index":2442,"title":{},"content":{"400":{"position":[[419,7]]}},"keywords":{}}],["revert",{"_index":3187,"title":{},"content":{"495":{"position":[[413,6]]}},"keywords":{}}],["review",{"_index":3021,"title":{},"content":{"462":{"position":[[16,8]]}},"keywords":{}}],["revis",{"_index":277,"title":{"1303":{"position":[[28,9]]},"1305":{"position":[[0,10]]}},"content":{"16":{"position":[[401,9]]},"24":{"position":[[425,8],[757,8]]},"35":{"position":[[436,8]]},"203":{"position":[[184,9]]},"412":{"position":[[2077,10],[3332,8],[4946,8]]},"495":{"position":[[227,9],[582,8]]},"496":{"position":[[219,8],[788,8]]},"635":{"position":[[131,9],[385,8]]},"698":{"position":[[2049,8]]},"749":{"position":[[8998,8]]},"793":{"position":[[932,9]]},"841":{"position":[[168,8]]},"844":{"position":[[200,9]]},"928":{"position":[[5,8]]},"1044":{"position":[[118,8]]},"1051":{"position":[[380,9]]},"1198":{"position":[[498,8],[580,9]]},"1200":{"position":[[44,8]]},"1258":{"position":[[149,9]]},"1305":{"position":[[400,9],[431,9],[516,8],[585,8],[836,8],[869,8],[890,8],[990,8],[1021,8]]},"1308":{"position":[[398,9]]},"1309":{"position":[[870,9]]},"1313":{"position":[[1058,8]]},"1324":{"position":[[890,9]]}},"keywords":{}}],["revisions.stor",{"_index":1549,"title":{},"content":{"250":{"position":[[217,15]]}},"keywords":{}}],["revisit",{"_index":5582,"title":{"1008":{"position":[[16,10]]}},"content":{},"keywords":{}}],["revok",{"_index":4017,"title":{},"content":{"715":{"position":[[343,6]]}},"keywords":{}}],["revolut",{"_index":3248,"title":{},"content":{"510":{"position":[[710,11]]}},"keywords":{}}],["revolution",{"_index":3152,"title":{},"content":{"485":{"position":[[184,13]]}},"keywords":{}}],["revolv",{"_index":1336,"title":{},"content":{"208":{"position":[[106,8]]},"514":{"position":[[290,8]]},"632":{"position":[[26,8]]}},"keywords":{}}],["rewrit",{"_index":1389,"title":{},"content":{"212":{"position":[[470,9]]},"354":{"position":[[1039,9]]},"383":{"position":[[448,9]]},"696":{"position":[[1834,7]]},"849":{"position":[[897,7]]}},"keywords":{}}],["rewritten",{"_index":646,"title":{},"content":{"41":{"position":[[28,9]]}},"keywords":{}}],["rfc",{"_index":3012,"title":{},"content":{"461":{"position":[[46,3]]},"617":{"position":[[360,3],[437,3]]}},"keywords":{}}],["riak",{"_index":6584,"title":{},"content":{"1324":{"position":[[953,4]]}},"keywords":{}}],["rich",{"_index":989,"title":{"383":{"position":[[0,4]]}},"content":{"83":{"position":[[47,4]]},"90":{"position":[[301,4]]},"148":{"position":[[281,4]]},"186":{"position":[[385,4]]},"198":{"position":[[230,4]]},"412":{"position":[[3764,4]]},"446":{"position":[[950,4]]},"836":{"position":[[2482,4]]},"860":{"position":[[244,4]]}},"keywords":{}}],["right",{"_index":696,"title":{"212":{"position":[[12,5]]},"262":{"position":[[8,5]]},"441":{"position":[[25,5]]}},"content":{"45":{"position":[[171,5]]},"93":{"position":[[247,5]]},"143":{"position":[[579,6]]},"178":{"position":[[305,5]]},"205":{"position":[[236,5]]},"278":{"position":[[31,5]]},"401":{"position":[[909,5]]},"408":{"position":[[3720,5]]},"410":{"position":[[2176,5]]},"421":{"position":[[544,5]]},"491":{"position":[[902,5]]},"574":{"position":[[575,5]]},"707":{"position":[[393,5]]},"742":{"position":[[81,5]]},"795":{"position":[[210,5]]},"799":{"position":[[657,5]]}},"keywords":{}}],["rigid",{"_index":1659,"title":{},"content":{"282":{"position":[[229,5]]},"351":{"position":[[32,5]]},"362":{"position":[[104,5]]}},"keywords":{}}],["rise",{"_index":2329,"title":{},"content":{"394":{"position":[[1703,4]]},"408":{"position":[[4313,4],[5018,7]]}},"keywords":{}}],["risk",{"_index":2057,"title":{},"content":{"358":{"position":[[309,4],[622,5]]},"377":{"position":[[85,4]]},"382":{"position":[[371,5]]},"410":{"position":[[725,4]]},"412":{"position":[[8469,5],[13395,5]]},"482":{"position":[[21,4]]},"497":{"position":[[550,4]]},"550":{"position":[[327,4]]},"863":{"position":[[995,5]]},"902":{"position":[[427,5]]},"981":{"position":[[1446,7]]},"1090":{"position":[[1303,4]]}},"keywords":{}}],["rl",{"_index":5192,"title":{},"content":{"897":{"position":[[512,5]]},"898":{"position":[[2825,4]]},"899":{"position":[[201,5]]}},"keywords":{}}],["rm",{"_index":4894,"title":{},"content":{"861":{"position":[[563,2]]},"865":{"position":[[224,2]]}},"keywords":{}}],["rm1",{"_index":4431,"title":{},"content":{"749":{"position":[[23588,3]]}},"keywords":{}}],["robust",{"_index":541,"title":{},"content":{"34":{"position":[[552,6]]},"45":{"position":[[257,6]]},"47":{"position":[[407,6]]},"61":{"position":[[369,7]]},"64":{"position":[[45,6]]},"74":{"position":[[13,6]]},"117":{"position":[[226,6]]},"151":{"position":[[415,6]]},"162":{"position":[[311,6]]},"165":{"position":[[359,6]]},"174":{"position":[[854,6]]},"184":{"position":[[91,6]]},"189":{"position":[[363,6]]},"205":{"position":[[84,6]]},"240":{"position":[[163,6]]},"255":{"position":[[69,6]]},"263":{"position":[[124,6]]},"295":{"position":[[210,6]]},"320":{"position":[[323,6]]},"354":{"position":[[1457,6]]},"362":{"position":[[1054,6]]},"373":{"position":[[632,6]]},"386":{"position":[[147,6]]},"388":{"position":[[287,7]]},"408":{"position":[[1849,6]]},"412":{"position":[[9781,6],[14287,6]]},"418":{"position":[[641,6]]},"430":{"position":[[628,6]]},"435":{"position":[[193,10]]},"441":{"position":[[509,6]]},"445":{"position":[[2045,6]]},"447":{"position":[[274,6]]},"479":{"position":[[511,6]]},"503":{"position":[[214,6]]},"513":{"position":[[327,6]]},"517":{"position":[[139,6]]},"530":{"position":[[656,6]]},"557":{"position":[[453,6]]},"560":{"position":[[132,6]]},"564":{"position":[[159,6]]},"567":{"position":[[1180,6]]},"631":{"position":[[351,6]]},"705":{"position":[[924,6]]},"838":{"position":[[888,6]]},"839":{"position":[[791,6]]},"903":{"position":[[661,6]]},"906":{"position":[[640,6]]},"912":{"position":[[253,6]]}},"keywords":{}}],["robust.high",{"_index":2024,"title":{},"content":{"354":{"position":[[674,11]]}},"keywords":{}}],["rocicorp",{"_index":608,"title":{},"content":{"38":{"position":[[1073,8]]}},"keywords":{}}],["role",{"_index":1064,"title":{},"content":{"117":{"position":[[24,4]]},"152":{"position":[[171,4]]},"178":{"position":[[24,4]]},"411":{"position":[[2669,5]]},"447":{"position":[[31,4]]},"534":{"position":[[64,4]]},"569":{"position":[[633,4]]},"594":{"position":[[62,4]]},"897":{"position":[[572,4]]},"898":{"position":[[2885,4]]},"1148":{"position":[[336,6]]}},"keywords":{}}],["roll",{"_index":6487,"title":{},"content":{"1304":{"position":[[964,4]]},"1316":{"position":[[1690,4],[2928,4]]}},"keywords":{}}],["rollback",{"_index":619,"title":{},"content":{"39":{"position":[[212,8]]},"1316":{"position":[[2753,9],[2960,9]]}},"keywords":{}}],["rollup",{"_index":1938,"title":{},"content":{"333":{"position":[[160,7]]},"730":{"position":[[162,7]]}},"keywords":{}}],["room",{"_index":1585,"title":{},"content":{"261":{"position":[[398,6]]},"904":{"position":[[1924,5]]}},"keywords":{}}],["root",{"_index":3236,"title":{},"content":{"504":{"position":[[906,5]]},"1092":{"position":[[100,4]]},"1116":{"position":[[317,4]]},"1208":{"position":[[66,4],[650,4],[708,4]]},"1215":{"position":[[508,4]]},"1266":{"position":[[343,4]]}},"keywords":{}}],["root.getdirectoryhandle('subfold",{"_index":6200,"title":{},"content":{"1208":{"position":[[810,36]]}},"keywords":{}}],["root/user/project/mydatabas",{"_index":93,"title":{},"content":{"6":{"position":[[706,32]]},"7":{"position":[[541,32]]}},"keywords":{}}],["rootpath",{"_index":4271,"title":{},"content":{"749":{"position":[[10515,8]]}},"keywords":{}}],["rootvalu",{"_index":5091,"title":{},"content":{"885":{"position":[[1466,9]]}},"keywords":{}}],["roughli",{"_index":2349,"title":{},"content":{"396":{"position":[[1431,7]]}},"keywords":{}}],["round",{"_index":1011,"title":{},"content":{"92":{"position":[[125,5]]},"173":{"position":[[2024,5]]},"220":{"position":[[118,5]]},"224":{"position":[[270,5]]},"375":{"position":[[314,5]]},"408":{"position":[[2333,5],[2580,5],[2899,5],[3303,5]]},"410":{"position":[[111,5]]},"411":{"position":[[344,5]]},"415":{"position":[[286,5]]},"487":{"position":[[249,5]]},"574":{"position":[[427,5]]},"630":{"position":[[625,5]]},"902":{"position":[[114,5]]}},"keywords":{}}],["rout",{"_index":589,"title":{},"content":{"38":{"position":[[369,6]]},"89":{"position":[[144,7]]},"173":{"position":[[479,7]]},"223":{"position":[[123,7]]},"408":{"position":[[2450,8]]},"411":{"position":[[1213,6]]},"412":{"position":[[4104,6]]},"784":{"position":[[130,6],[149,5],[238,6],[302,6]]},"799":{"position":[[501,6]]},"875":{"position":[[1169,6],[6897,5]]},"1112":{"position":[[574,7]]}},"keywords":{}}],["row",{"_index":1650,"title":{},"content":{"279":{"position":[[335,4]]},"364":{"position":[[658,5]]},"661":{"position":[[1271,4]]},"704":{"position":[[64,5]]},"705":{"position":[[842,4],[860,4]]},"711":{"position":[[1231,3],[1599,5],[1730,4]]},"749":{"position":[[16311,5]]},"836":{"position":[[941,4]]},"875":{"position":[[3688,4],[3809,3],[3985,4],[5958,4]]},"885":{"position":[[70,4]]},"886":{"position":[[2296,4],[2483,4]]},"897":{"position":[[493,3]]},"898":{"position":[[326,3],[395,3],[457,4],[604,4],[1329,3]]},"899":{"position":[[182,3]]},"981":{"position":[[1073,4]]},"1124":{"position":[[775,4],[816,3]]},"1253":{"position":[[96,4]]},"1257":{"position":[[166,4]]},"1314":{"position":[[449,4]]},"1316":{"position":[[792,5],[1092,3],[1279,5],[3426,4]]},"1317":{"position":[[526,4],[653,4],[730,4]]},"1319":{"position":[[448,3]]},"1321":{"position":[[343,4]]}},"keywords":{}}],["rowid",{"_index":6373,"title":{},"content":{"1282":{"position":[[960,5]]}},"keywords":{}}],["rows/docu",{"_index":6570,"title":{},"content":{"1319":{"position":[[115,15]]}},"keywords":{}}],["rs0",{"_index":4943,"title":{},"content":{"872":{"position":[[562,3]]}},"keywords":{}}],["rtc",{"_index":3449,"title":{},"content":{"569":{"position":[[106,6]]},"614":{"position":[[118,5]]}},"keywords":{}}],["rto",{"_index":3453,"title":{},"content":{"569":{"position":[[354,6]]}},"keywords":{}}],["rudimentari",{"_index":728,"title":{},"content":{"47":{"position":[[427,11]]},"535":{"position":[[397,11]]},"595":{"position":[[425,11]]}},"keywords":{}}],["rule",{"_index":1728,"title":{},"content":{"298":{"position":[[766,5]]},"299":{"position":[[105,5]]},"305":{"position":[[362,6]]},"354":{"position":[[1497,5]]},"688":{"position":[[907,4]]},"690":{"position":[[180,4]]},"841":{"position":[[1296,5]]},"1266":{"position":[[732,6]]}},"keywords":{}}],["rules).workflow",{"_index":3203,"title":{},"content":{"497":{"position":[[436,16]]}},"keywords":{}}],["run",{"_index":373,"title":{"92":{"position":[[0,7]]},"188":{"position":[[13,3]]},"207":{"position":[[31,5]]},"682":{"position":[[0,7]]},"757":{"position":[[20,3]]},"1088":{"position":[[0,3]]}},"content":{"22":{"position":[[263,3]]},"23":{"position":[[193,3]]},"29":{"position":[[358,8]]},"30":{"position":[[35,3]]},"38":{"position":[[247,4]]},"65":{"position":[[1040,3]]},"91":{"position":[[88,3]]},"92":{"position":[[42,7]]},"125":{"position":[[110,7]]},"128":{"position":[[135,7]]},"172":{"position":[[301,3]]},"188":{"position":[[62,3],[178,4]]},"204":{"position":[[115,7]]},"207":{"position":[[48,3]]},"220":{"position":[[52,3]]},"248":{"position":[[6,4]]},"251":{"position":[[69,3]]},"252":{"position":[[212,3]]},"254":{"position":[[21,3]]},"262":{"position":[[443,3]]},"291":{"position":[[435,4]]},"300":{"position":[[630,4]]},"301":{"position":[[196,7]]},"305":{"position":[[117,3]]},"309":{"position":[[182,3]]},"313":{"position":[[6,4]]},"330":{"position":[[1,7]]},"354":{"position":[[832,4]]},"357":{"position":[[604,3]]},"367":{"position":[[235,3]]},"376":{"position":[[643,3]]},"391":{"position":[[192,3],[793,7]]},"392":{"position":[[1937,4],[2098,4],[3019,7],[3242,4],[3302,3],[5078,7]]},"394":{"position":[[112,3],[1328,3]]},"399":{"position":[[517,3]]},"403":{"position":[[348,4]]},"408":{"position":[[127,7],[3716,3],[4905,7]]},"410":{"position":[[23,7]]},"411":{"position":[[3226,7],[3629,7],[4721,5]]},"412":{"position":[[11132,3],[11353,4],[13901,7],[14445,3]]},"440":{"position":[[63,7],[189,5]]},"445":{"position":[[2229,3]]},"446":{"position":[[1339,4]]},"451":{"position":[[635,7]]},"454":{"position":[[208,3],[290,3],[397,4]]},"455":{"position":[[865,3]]},"457":{"position":[[346,3],[621,7],[641,7]]},"458":{"position":[[219,8]]},"459":{"position":[[132,7]]},"460":{"position":[[6,7],[196,3],[834,3]]},"462":{"position":[[201,3],[447,3]]},"466":{"position":[[322,7]]},"470":{"position":[[291,7]]},"479":{"position":[[292,3]]},"490":{"position":[[563,7]]},"534":{"position":[[625,3]]},"569":{"position":[[1190,3]]},"575":{"position":[[135,4]]},"581":{"position":[[428,4]]},"594":{"position":[[623,3]]},"612":{"position":[[2526,7]]},"614":{"position":[[920,3]]},"617":{"position":[[1297,3]]},"618":{"position":[[39,7]]},"623":{"position":[[427,3]]},"647":{"position":[[488,3]]},"653":{"position":[[742,8],[1027,7],[1082,8]]},"654":{"position":[[18,3],[99,3]]},"656":{"position":[[23,3],[63,3],[244,3]]},"660":{"position":[[22,3]]},"662":{"position":[[2650,3]]},"666":{"position":[[315,3],[425,3]]},"668":{"position":[[337,3],[380,3]]},"670":{"position":[[67,4],[504,3],[512,3],[544,3]]},"678":{"position":[[153,3]]},"680":{"position":[[1283,3]]},"681":{"position":[[42,3],[320,3],[560,3],[704,3],[762,4],[870,3]]},"683":{"position":[[778,3]]},"693":{"position":[[47,3]]},"699":{"position":[[690,3],[791,3],[824,4],[897,7]]},"700":{"position":[[669,8]]},"703":{"position":[[449,4],[1022,3]]},"704":{"position":[[36,3],[324,7],[530,3]]},"707":{"position":[[125,4],[252,4]]},"708":{"position":[[18,4],[572,3]]},"709":{"position":[[1315,4]]},"710":{"position":[[1299,3],[1958,3]]},"721":{"position":[[98,3]]},"724":{"position":[[1513,3]]},"726":{"position":[[94,4]]},"739":{"position":[[557,4]]},"742":{"position":[[1,3]]},"743":{"position":[[253,3]]},"746":{"position":[[65,3]]},"747":{"position":[[37,3]]},"749":{"position":[[2594,7],[2654,3],[9106,3],[12224,3],[12428,7],[15057,3],[21176,3],[23514,7]]},"752":{"position":[[483,3],[826,3],[1122,9],[1141,9]]},"754":{"position":[[108,7]]},"755":{"position":[[104,7]]},"756":{"position":[[70,3],[225,3],[281,3]]},"757":{"position":[[66,7]]},"760":{"position":[[204,3]]},"761":{"position":[[359,7]]},"764":{"position":[[59,7],[206,3]]},"770":{"position":[[557,3]]},"772":{"position":[[985,3]]},"775":{"position":[[474,3],[722,3]]},"776":{"position":[[361,4]]},"780":{"position":[[753,3]]},"784":{"position":[[523,3]]},"795":{"position":[[10,3]]},"796":{"position":[[183,4]]},"798":{"position":[[183,4],[229,3]]},"799":{"position":[[450,7]]},"815":{"position":[[154,4]]},"821":{"position":[[188,3],[219,3],[442,3],[893,5]]},"835":{"position":[[261,7]]},"836":{"position":[[917,3]]},"838":{"position":[[2864,3]]},"840":{"position":[[144,3]]},"846":{"position":[[543,7]]},"848":{"position":[[995,8]]},"851":{"position":[[184,7]]},"861":{"position":[[403,3],[456,4],[553,3]]},"862":{"position":[[1677,3]]},"863":{"position":[[422,3]]},"865":{"position":[[218,3]]},"866":{"position":[[232,4]]},"871":{"position":[[626,4]]},"872":{"position":[[230,7],[281,7],[655,7],[2779,3]]},"875":{"position":[[5706,3],[5919,7],[9187,3]]},"879":{"position":[[47,3],[185,7]]},"890":{"position":[[551,3]]},"898":{"position":[[3762,4],[4595,3]]},"908":{"position":[[290,3]]},"932":{"position":[[597,3]]},"947":{"position":[[22,4],[85,7]]},"948":{"position":[[10,3],[151,3],[230,8],[281,3]]},"951":{"position":[[89,7]]},"956":{"position":[[43,3]]},"968":{"position":[[348,4],[707,7]]},"975":{"position":[[332,3],[526,3]]},"981":{"position":[[998,7],[1614,4]]},"983":{"position":[[1103,4]]},"985":{"position":[[369,3]]},"988":{"position":[[719,3],[1213,3]]},"989":{"position":[[41,4],[198,4],[453,3]]},"993":{"position":[[366,7],[655,8]]},"995":{"position":[[147,7],[263,7],[908,7]]},"996":{"position":[[383,3]]},"998":{"position":[[10,7]]},"1003":{"position":[[31,7]]},"1010":{"position":[[118,4]]},"1022":{"position":[[977,8]]},"1023":{"position":[[641,8]]},"1026":{"position":[[176,7]]},"1030":{"position":[[167,4]]},"1031":{"position":[[44,3]]},"1032":{"position":[[10,3]]},"1033":{"position":[[21,8]]},"1059":{"position":[[1,4]]},"1060":{"position":[[1,4]]},"1061":{"position":[[1,4]]},"1066":{"position":[[314,7]]},"1067":{"position":[[779,3],[961,3],[1196,3],[1426,3],[1798,7],[1891,3]]},"1068":{"position":[[179,3],[319,7]]},"1069":{"position":[[215,3]]},"1071":{"position":[[317,3]]},"1072":{"position":[[664,4],[1449,4]]},"1085":{"position":[[3766,3]]},"1088":{"position":[[88,7]]},"1092":{"position":[[448,3]]},"1093":{"position":[[12,7],[482,3]]},"1105":{"position":[[948,3],[1144,3]]},"1110":{"position":[[35,3]]},"1115":{"position":[[716,3]]},"1124":{"position":[[1529,7],[1587,3],[1810,3]]},"1125":{"position":[[635,3],[834,3]]},"1126":{"position":[[163,3]]},"1133":{"position":[[415,3]]},"1138":{"position":[[390,3]]},"1139":{"position":[[40,3],[95,3]]},"1143":{"position":[[517,4]]},"1145":{"position":[[40,3],[91,3]]},"1161":{"position":[[58,3]]},"1164":{"position":[[451,3],[1367,8]]},"1165":{"position":[[211,3],[692,4]]},"1170":{"position":[[13,3]]},"1174":{"position":[[510,3]]},"1175":{"position":[[378,7],[533,4],[686,3]]},"1180":{"position":[[58,3],[363,3]]},"1183":{"position":[[331,4]]},"1184":{"position":[[33,7],[187,3]]},"1185":{"position":[[1,7],[100,3]]},"1192":{"position":[[127,3]]},"1194":{"position":[[79,3],[876,3],[1027,4]]},"1210":{"position":[[32,3]]},"1212":{"position":[[18,3]]},"1228":{"position":[[216,4]]},"1231":{"position":[[61,3],[364,3]]},"1238":{"position":[[89,3],[216,3]]},"1246":{"position":[[90,3],[434,3],[2073,3]]},"1250":{"position":[[27,3],[166,4],[395,4],[484,3]]},"1251":{"position":[[358,3]]},"1271":{"position":[[479,3]]},"1276":{"position":[[53,3]]},"1280":{"position":[[99,7]]},"1294":{"position":[[1009,3]]},"1295":{"position":[[867,7],[973,7],[1282,3]]},"1296":{"position":[[363,3],[564,4],[1662,7]]},"1297":{"position":[[106,4],[559,4]]},"1300":{"position":[[503,3],[678,8]]},"1301":{"position":[[638,4]]},"1304":{"position":[[520,7],[595,3],[823,3]]},"1309":{"position":[[204,3]]},"1313":{"position":[[46,3],[168,3]]},"1314":{"position":[[408,3]]},"1315":{"position":[[57,3],[786,3],[1095,7],[1168,4],[1269,5],[1665,3]]},"1316":{"position":[[211,3],[761,4],[977,4],[1187,4],[1552,7],[1722,3],[1913,7],[1971,3],[2370,3]]},"1317":{"position":[[554,7]]},"1318":{"position":[[661,7],[728,3],[1152,3]]},"1321":{"position":[[239,3],[522,4]]},"1323":{"position":[[13,3]]},"1324":{"position":[[45,3],[533,4],[731,3]]}},"keywords":{}}],["runaway",{"_index":1701,"title":{},"content":{"298":{"position":[[29,7]]}},"keywords":{}}],["runeach",{"_index":3754,"title":{},"content":{"653":{"position":[[898,9],[946,8]]}},"keywords":{}}],["runsnew",{"_index":4526,"title":{},"content":{"767":{"position":[[168,7]]}},"keywords":{}}],["runtim",{"_index":8,"title":{"254":{"position":[[34,8]]},"640":{"position":[[41,8]]},"783":{"position":[[24,9]]}},"content":{"1":{"position":[[90,7]]},"36":{"position":[[110,9]]},"174":{"position":[[940,7]]},"188":{"position":[[157,8],[191,7],[238,8],[1864,8]]},"207":{"position":[[260,7]]},"369":{"position":[[1441,7]]},"437":{"position":[[169,8]]},"438":{"position":[[65,8],[166,8]]},"440":{"position":[[21,7]]},"489":{"position":[[203,7]]},"556":{"position":[[196,8]]},"640":{"position":[[518,7]]},"662":{"position":[[635,7]]},"674":{"position":[[146,7]]},"707":{"position":[[13,7],[466,8]]},"729":{"position":[[252,8]]},"743":{"position":[[143,8]]},"749":{"position":[[1137,8],[21197,8]]},"783":{"position":[[419,9]]},"820":{"position":[[436,8]]},"821":{"position":[[400,8]]},"824":{"position":[[218,8]]},"904":{"position":[[555,9]]},"962":{"position":[[318,9]]},"964":{"position":[[99,8]]},"968":{"position":[[177,8]]},"1085":{"position":[[2558,8]]},"1191":{"position":[[158,7],[187,8]]},"1202":{"position":[[291,8]]},"1203":{"position":[[46,9]]},"1274":{"position":[[405,8]]},"1279":{"position":[[792,8]]},"1282":{"position":[[17,8]]}},"keywords":{}}],["runtime’",{"_index":1568,"title":{},"content":{"254":{"position":[[266,9]]}},"keywords":{}}],["rust",{"_index":2559,"title":{},"content":{"408":{"position":[[3555,5]]}},"keywords":{}}],["rxappwritereplicationst",{"_index":4910,"title":{},"content":{"862":{"position":[[1593,26]]}},"keywords":{}}],["rxattach",{"_index":4480,"title":{"922":{"position":[[0,13]]}},"content":{"754":{"position":[[16,13]]},"792":{"position":[[75,13]]},"917":{"position":[[541,13]]},"919":{"position":[[12,12]]},"922":{"position":[[53,12]]},"1004":{"position":[[182,13]]},"1081":{"position":[[100,13]]}},"keywords":{}}],["rxcachereplacementpolici",{"_index":4703,"title":{},"content":{"818":{"position":[[82,25]]}},"keywords":{}}],["rxcollect",{"_index":1276,"title":{"933":{"position":[[0,12]]},"1013":{"position":[[40,13]]}},"content":{"188":{"position":[[2742,12]]},"397":{"position":[[101,13]]},"653":{"position":[[592,12]]},"717":{"position":[[1261,12]]},"723":{"position":[[1106,13],[1402,13]]},"734":{"position":[[580,13]]},"749":{"position":[[7747,12],[8744,12],[14503,13],[14701,12],[24308,12]]},"766":{"position":[[260,12]]},"767":{"position":[[290,12]]},"768":{"position":[[249,12]]},"769":{"position":[[264,12]]},"793":{"position":[[117,12]]},"806":{"position":[[448,12]]},"818":{"position":[[120,12],[399,13]]},"826":{"position":[[72,14]]},"847":{"position":[[70,12]]},"854":{"position":[[561,13]]},"862":{"position":[[329,12]]},"866":{"position":[[241,13],[282,13]]},"875":{"position":[[295,13]]},"916":{"position":[[109,13]]},"957":{"position":[[52,13]]},"958":{"position":[[327,12],[431,12],[563,13]]},"979":{"position":[[25,12],[152,12]]},"987":{"position":[[576,12]]},"988":{"position":[[43,12]]},"1013":{"position":[[667,12]]},"1020":{"position":[[42,12],[72,12]]},"1027":{"position":[[122,12]]},"1100":{"position":[[113,12]]},"1107":{"position":[[1083,14]]},"1111":{"position":[[73,12]]},"1121":{"position":[[56,12]]},"1231":{"position":[[957,13]]}},"keywords":{}}],["rxcollection.addhook",{"_index":4237,"title":{},"content":{"749":{"position":[[7647,22]]}},"keywords":{}}],["rxcollection.cleanup",{"_index":3760,"title":{},"content":{"654":{"position":[[58,23]]}},"keywords":{}}],["rxcollection.find",{"_index":4229,"title":{},"content":{"749":{"position":[[7183,19]]}},"keywords":{}}],["rxcollection.findon",{"_index":4232,"title":{},"content":{"749":{"position":[[7307,22]]}},"keywords":{}}],["rxcollection.importjson",{"_index":4309,"title":{},"content":{"749":{"position":[[13385,26],[13514,26]]}},"keywords":{}}],["rxcollection.incrementalupsert",{"_index":4227,"title":{},"content":{"749":{"position":[[7064,32]]}},"keywords":{}}],["rxcollection.insert",{"_index":3883,"title":{},"content":{"683":{"position":[[142,21]]},"749":{"position":[[6832,21]]},"767":{"position":[[75,19]]}},"keywords":{}}],["rxcollection.orm",{"_index":4247,"title":{},"content":{"749":{"position":[[8441,17]]}},"keywords":{}}],["rxcollection.upsert",{"_index":4225,"title":{},"content":{"749":{"position":[[6956,21]]}},"keywords":{}}],["rxconflicthandler<any>",{"_index":6496,"title":{},"content":{"1309":{"position":[[521,28]]}},"keywords":{}}],["rxcouchdbreplicationst",{"_index":4831,"title":{},"content":{"846":{"position":[[1359,25]]}},"keywords":{}}],["rxcouchdbreplicationstate.awaitinitialrepl",{"_index":4328,"title":{},"content":{"749":{"position":[[14769,51],[14925,51]]}},"keywords":{}}],["rxdatabas",{"_index":843,"title":{"959":{"position":[[0,10]]},"1013":{"position":[[26,10]]},"1213":{"position":[[38,10]]}},"content":{"55":{"position":[[655,11]]},"188":{"position":[[487,10],[942,10],[2627,10]]},"366":{"position":[[491,10]]},"653":{"position":[[46,10]]},"693":{"position":[[93,10],[558,10]]},"717":{"position":[[884,10]]},"719":{"position":[[353,10]]},"734":{"position":[[397,11]]},"749":{"position":[[3384,10],[3556,10],[5585,10],[14489,10],[23989,10]]},"759":{"position":[[332,10]]},"767":{"position":[[275,10]]},"768":{"position":[[234,10]]},"769":{"position":[[249,10]]},"793":{"position":[[97,10]]},"806":{"position":[[433,10]]},"872":{"position":[[2927,10],[3663,10]]},"892":{"position":[[129,10]]},"934":{"position":[[46,10]]},"955":{"position":[[51,11]]},"958":{"position":[[370,11]]},"961":{"position":[[80,11]]},"966":{"position":[[40,10]]},"967":{"position":[[36,11]]},"970":{"position":[[83,11]]},"974":{"position":[[43,10]]},"977":{"position":[[397,10],[516,10]]},"978":{"position":[[52,11]]},"979":{"position":[[81,11]]},"1013":{"position":[[262,10],[695,11],[752,10]]},"1027":{"position":[[138,10]]},"1085":{"position":[[3675,10]]},"1088":{"position":[[403,10]]},"1097":{"position":[[189,10]]},"1114":{"position":[[43,11],[148,11]]},"1119":{"position":[[346,11]]},"1124":{"position":[[1631,10],[2159,10]]},"1125":{"position":[[782,10]]},"1138":{"position":[[130,11]]},"1154":{"position":[[680,10]]},"1163":{"position":[[468,10]]},"1164":{"position":[[600,10]]},"1165":{"position":[[275,11]]},"1174":{"position":[[786,11]]},"1182":{"position":[[472,10]]},"1188":{"position":[[305,10]]},"1189":{"position":[[191,11]]},"1213":{"position":[[357,11],[382,10],[784,10]]},"1219":{"position":[[469,10]]},"1222":{"position":[[1327,10]]},"1227":{"position":[[446,10]]},"1230":{"position":[[46,10],[315,10]]},"1231":{"position":[[179,10],[942,10]]},"1233":{"position":[[234,10]]},"1246":{"position":[[2119,10]]},"1265":{"position":[[439,11]]},"1267":{"position":[[111,11],[229,11]]},"1271":{"position":[[951,11]]},"1277":{"position":[[129,11]]}},"keywords":{}}],["rxdatabase.addcollect",{"_index":4198,"title":{},"content":{"749":{"position":[[4858,28],[4990,28],[5142,28],[5244,28],[5356,28],[6344,28]]},"752":{"position":[[89,27]]}},"keywords":{}}],["rxdatabase.migrationst",{"_index":4473,"title":{},"content":{"753":{"position":[[1,28]]}},"keywords":{}}],["rxdatabase.serv",{"_index":4414,"title":{},"content":{"749":{"position":[[22277,19]]}},"keywords":{}}],["rxdatabaseprovid",{"_index":4436,"title":{},"content":{"749":{"position":[[24011,18]]},"829":{"position":[[1031,19],[1302,18]]},"832":{"position":[[158,19]]}},"keywords":{}}],["rxdatabasestate.collection.find",{"_index":1288,"title":{},"content":{"188":{"position":[[3065,34]]}},"keywords":{}}],["rxdb",{"_index":25,"title":{"13":{"position":[[16,5]]},"44":{"position":[[46,4]]},"48":{"position":[[7,4]]},"49":{"position":[[11,5]]},"56":{"position":[[31,5]]},"57":{"position":[[9,4]]},"62":{"position":[[18,4]]},"71":{"position":[[4,4]]},"85":{"position":[[0,5]]},"102":{"position":[[4,4]]},"115":{"position":[[0,4]]},"118":{"position":[[12,4]]},"119":{"position":[[21,5]]},"120":{"position":[[8,6]]},"126":{"position":[[0,4]]},"127":{"position":[[6,4]]},"128":{"position":[[11,4]]},"130":{"position":[[41,4]]},"131":{"position":[[31,5]]},"132":{"position":[[24,4]]},"137":{"position":[[9,4]]},"142":{"position":[[25,4]]},"150":{"position":[[0,4]]},"151":{"position":[[51,5]]},"153":{"position":[[12,4]]},"154":{"position":[[21,5]]},"155":{"position":[[8,6]]},"161":{"position":[[0,4]]},"162":{"position":[[31,5]]},"163":{"position":[[24,4]]},"165":{"position":[[0,4]]},"166":{"position":[[9,4]]},"171":{"position":[[6,4]]},"174":{"position":[[4,4]]},"176":{"position":[[0,4]]},"179":{"position":[[12,4]]},"180":{"position":[[21,5]]},"181":{"position":[[8,6]]},"186":{"position":[[0,4]]},"187":{"position":[[6,4]]},"188":{"position":[[4,4]]},"189":{"position":[[31,5]]},"190":{"position":[[24,4]]},"192":{"position":[[0,4]]},"193":{"position":[[9,4]]},"199":{"position":[[0,4]]},"200":{"position":[[4,4]]},"209":{"position":[[18,4]]},"212":{"position":[[3,4]]},"213":{"position":[[0,4]]},"229":{"position":[[4,4]]},"246":{"position":[[0,4]]},"247":{"position":[[11,4]]},"256":{"position":[[21,4]]},"257":{"position":[[8,6]]},"262":{"position":[[3,4]]},"264":{"position":[[0,4]]},"267":{"position":[[14,5]]},"268":{"position":[[16,4]]},"271":{"position":[[12,4]]},"272":{"position":[[21,5]]},"273":{"position":[[8,6]]},"284":{"position":[[6,4]]},"285":{"position":[[6,5]]},"286":{"position":[[6,4]]},"287":{"position":[[31,5]]},"288":{"position":[[25,4]]},"289":{"position":[[0,4]]},"290":{"position":[[0,4]]},"291":{"position":[[0,4]]},"307":{"position":[[0,4]]},"308":{"position":[[4,4]]},"314":{"position":[[26,4]]},"317":{"position":[[0,4]]},"319":{"position":[[0,4]]},"322":{"position":[[12,4]]},"324":{"position":[[21,5]]},"325":{"position":[[8,6]]},"331":{"position":[[0,4]]},"332":{"position":[[6,4]]},"333":{"position":[[11,5]]},"336":{"position":[[31,5]]},"337":{"position":[[24,4]]},"341":{"position":[[9,4]]},"346":{"position":[[25,4]]},"348":{"position":[[36,4]]},"359":{"position":[[0,5]]},"361":{"position":[[26,5]]},"363":{"position":[[0,4]]},"368":{"position":[[16,4]]},"369":{"position":[[0,4]]},"370":{"position":[[0,4]]},"371":{"position":[[0,4]]},"374":{"position":[[33,4]]},"378":{"position":[[4,4]]},"389":{"position":[[27,4]]},"392":{"position":[[26,5]]},"397":{"position":[[30,5]]},"443":{"position":[[18,4]]},"445":{"position":[[12,5]]},"446":{"position":[[14,4]]},"472":{"position":[[0,4]]},"479":{"position":[[12,4]]},"481":{"position":[[26,5]]},"484":{"position":[[31,4]]},"488":{"position":[[33,5]]},"499":{"position":[[0,4]]},"501":{"position":[[12,4]]},"502":{"position":[[21,5]]},"503":{"position":[[6,4]]},"505":{"position":[[9,4]]},"512":{"position":[[0,4]]},"513":{"position":[[12,4]]},"514":{"position":[[8,6]]},"520":{"position":[[0,4]]},"521":{"position":[[40,5]]},"522":{"position":[[6,4]]},"523":{"position":[[6,4]]},"524":{"position":[[31,5]]},"525":{"position":[[24,4]]},"526":{"position":[[9,4]]},"532":{"position":[[48,4]]},"536":{"position":[[7,4]]},"537":{"position":[[11,5]]},"543":{"position":[[29,5]]},"544":{"position":[[9,4]]},"552":{"position":[[25,4]]},"553":{"position":[[11,4]]},"554":{"position":[[15,4]]},"558":{"position":[[72,4]]},"561":{"position":[[37,4]]},"562":{"position":[[0,4]]},"564":{"position":[[36,5]]},"566":{"position":[[39,5]]},"573":{"position":[[0,4]]},"575":{"position":[[12,4]]},"576":{"position":[[0,4]]},"577":{"position":[[21,5]]},"580":{"position":[[19,4]]},"581":{"position":[[31,5]]},"582":{"position":[[24,4]]},"583":{"position":[[9,4]]},"590":{"position":[[25,4]]},"592":{"position":[[46,4]]},"596":{"position":[[7,4]]},"597":{"position":[[11,5]]},"603":{"position":[[27,5]]},"604":{"position":[[9,4]]},"629":{"position":[[35,4]]},"631":{"position":[[0,5]]},"640":{"position":[[10,4]]},"657":{"position":[[29,4]]},"662":{"position":[[0,5]]},"677":{"position":[[0,4]]},"678":{"position":[[0,4]]},"706":{"position":[[20,4]]},"710":{"position":[[0,5]]},"711":{"position":[[30,5]]},"713":{"position":[[32,4]]},"717":{"position":[[10,4]]},"724":{"position":[[10,4]]},"725":{"position":[[8,4]]},"731":{"position":[[22,4]]},"744":{"position":[[0,4]]},"748":{"position":[[0,4]]},"749":{"position":[[4,4]]},"760":{"position":[[24,4]]},"761":{"position":[[25,4]]},"773":{"position":[[0,4]]},"775":{"position":[[42,5]]},"793":{"position":[[0,4]]},"794":{"position":[[21,4]]},"804":{"position":[[0,5]]},"823":{"position":[[0,4]]},"838":{"position":[[0,5]]},"859":{"position":[[0,4]]},"860":{"position":[[19,4]]},"862":{"position":[[15,4]]},"868":{"position":[[4,4]]},"869":{"position":[[31,4]]},"874":{"position":[[41,4]]},"877":{"position":[[0,4]]},"886":{"position":[[0,4]]},"895":{"position":[[32,4]]},"896":{"position":[[20,4]]},"898":{"position":[[11,4]]},"900":{"position":[[28,4]]},"903":{"position":[[47,4]]},"904":{"position":[[6,4]]},"1006":{"position":[[18,5]]},"1096":{"position":[[0,4]]},"1113":{"position":[[41,4]]},"1122":{"position":[[0,4]]},"1131":{"position":[[0,4]]},"1144":{"position":[[37,5]]},"1147":{"position":[[35,5]]},"1149":{"position":[[11,4]]},"1158":{"position":[[43,5]]},"1190":{"position":[[12,4]]},"1205":{"position":[[52,4]]},"1210":{"position":[[27,5]]},"1248":{"position":[[0,4]]},"1304":{"position":[[4,4]]},"1310":{"position":[[6,4]]}},"content":{"1":{"position":[[352,6]]},"2":{"position":[[6,4]]},"8":{"position":[[758,7]]},"13":{"position":[[1,4],[230,4],[336,5]]},"14":{"position":[[948,4],[1081,4],[1201,4]]},"16":{"position":[[367,5]]},"19":{"position":[[982,4]]},"24":{"position":[[514,4]]},"28":{"position":[[641,4],[791,4]]},"33":{"position":[[304,5],[528,4],[617,4]]},"34":{"position":[[393,4],[538,4],[677,4]]},"35":{"position":[[468,4]]},"37":{"position":[[301,4]]},"39":{"position":[[606,5]]},"40":{"position":[[615,5],[823,4]]},"42":{"position":[[200,4],[229,4],[331,4]]},"43":{"position":[[195,4],[241,4]]},"47":{"position":[[774,5],[974,4],[1272,4]]},"49":{"position":[[17,4],[74,4]]},"50":{"position":[[1,4],[218,4]]},"51":{"position":[[1,4]]},"53":{"position":[[18,4]]},"55":{"position":[[54,4]]},"56":{"position":[[28,4],[79,4]]},"57":{"position":[[44,4],[132,4],[184,4],[305,4],[376,4],[478,4]]},"58":{"position":[[209,4]]},"59":{"position":[[150,4],[288,4]]},"60":{"position":[[87,5]]},"61":{"position":[[30,4],[119,4],[165,4],[182,4],[254,4],[419,4]]},"71":{"position":[[1,4]]},"72":{"position":[[1,4]]},"73":{"position":[[31,5]]},"74":{"position":[[1,4]]},"75":{"position":[[1,4]]},"76":{"position":[[70,4]]},"79":{"position":[[1,4]]},"80":{"position":[[47,4]]},"83":{"position":[[16,4],[351,4]]},"84":{"position":[[23,4],[115,4],[179,4],[290,4],[405,4]]},"94":{"position":[[30,5]]},"95":{"position":[[119,5]]},"99":{"position":[[289,4]]},"102":{"position":[[1,4],[97,4]]},"103":{"position":[[1,4]]},"104":{"position":[[1,4]]},"105":{"position":[[88,5]]},"106":{"position":[[1,4]]},"107":{"position":[[1,4]]},"108":{"position":[[1,4]]},"109":{"position":[[1,4]]},"110":{"position":[[1,4]]},"111":{"position":[[28,4]]},"112":{"position":[[1,4]]},"113":{"position":[[1,4]]},"114":{"position":[[23,4],[128,4],[192,4],[303,4],[418,4],[442,4]]},"118":{"position":[[1,4],[234,4]]},"119":{"position":[[27,5]]},"120":{"position":[[1,4],[206,4]]},"121":{"position":[[16,4],[63,4],[170,5]]},"122":{"position":[[33,4],[152,4]]},"123":{"position":[[1,4],[189,4]]},"124":{"position":[[1,4]]},"125":{"position":[[1,4],[144,4]]},"126":{"position":[[76,4]]},"127":{"position":[[42,4]]},"128":{"position":[[8,4],[109,4],[179,4],[223,4]]},"129":{"position":[[234,4],[507,5],[522,4]]},"130":{"position":[[159,5],[206,4],[349,4]]},"131":{"position":[[1,4],[211,4],[390,4],[767,4],[1000,4]]},"132":{"position":[[87,4],[258,5]]},"133":{"position":[[29,4],[146,4]]},"134":{"position":[[105,4],[262,4]]},"135":{"position":[[1,4],[216,4]]},"136":{"position":[[1,4]]},"137":{"position":[[1,4]]},"138":{"position":[[31,4]]},"139":{"position":[[1,4],[168,4]]},"140":{"position":[[1,4]]},"141":{"position":[[58,4],[116,4]]},"142":{"position":[[21,4]]},"143":{"position":[[171,4]]},"144":{"position":[[1,4]]},"145":{"position":[[148,4]]},"146":{"position":[[1,4],[329,5]]},"147":{"position":[[162,4]]},"148":{"position":[[1,4],[175,4]]},"149":{"position":[[23,4],[128,4],[192,4],[303,4],[418,4]]},"151":{"position":[[37,5],[297,5],[401,4]]},"153":{"position":[[1,5],[177,4],[269,5]]},"155":{"position":[[1,4]]},"156":{"position":[[33,4]]},"157":{"position":[[1,4]]},"158":{"position":[[1,4]]},"159":{"position":[[1,4]]},"160":{"position":[[1,4]]},"161":{"position":[[143,5],[306,4]]},"162":{"position":[[1,4]]},"164":{"position":[[23,4]]},"165":{"position":[[1,4]]},"166":{"position":[[71,4],[314,4]]},"167":{"position":[[48,4],[246,4]]},"168":{"position":[[1,4]]},"169":{"position":[[47,4]]},"170":{"position":[[1,4],[252,4],[597,4]]},"173":{"position":[[1198,5],[1944,5],[2231,5]]},"174":{"position":[[1,4],[133,4],[190,4],[465,4],[983,4],[1295,4],[1561,4],[1800,4],[2093,5],[2380,4],[2609,4]]},"175":{"position":[[20,4],[121,4],[185,4],[296,4],[409,4],[446,4]]},"179":{"position":[[1,4],[264,4]]},"180":{"position":[[19,4]]},"181":{"position":[[1,4]]},"182":{"position":[[29,4],[206,5]]},"183":{"position":[[1,4]]},"184":{"position":[[77,4],[228,4]]},"185":{"position":[[1,4]]},"186":{"position":[[170,4]]},"187":{"position":[[45,5]]},"188":{"position":[[1,4],[166,4],[415,5],[586,4],[671,7],[1994,4],[2066,4],[2241,4],[2304,5],[2403,4]]},"189":{"position":[[1,4],[203,5],[392,4]]},"190":{"position":[[29,4]]},"192":{"position":[[1,4]]},"193":{"position":[[1,4]]},"194":{"position":[[100,4]]},"195":{"position":[[38,4]]},"196":{"position":[[1,4]]},"197":{"position":[[60,4]]},"198":{"position":[[1,4],[187,4],[285,4],[516,4]]},"201":{"position":[[92,4]]},"202":{"position":[[68,4]]},"203":{"position":[[88,5],[217,4]]},"204":{"position":[[150,5]]},"205":{"position":[[61,4]]},"206":{"position":[[127,5]]},"208":{"position":[[1,4]]},"210":{"position":[[45,4]]},"211":{"position":[[9,4],[27,4]]},"212":{"position":[[219,4]]},"222":{"position":[[31,5]]},"226":{"position":[[356,5]]},"229":{"position":[[1,4],[175,4]]},"230":{"position":[[1,4],[92,4]]},"231":{"position":[[1,4],[205,4]]},"232":{"position":[[80,4]]},"233":{"position":[[1,4]]},"234":{"position":[[1,4],[212,4]]},"235":{"position":[[1,4]]},"236":{"position":[[1,4]]},"237":{"position":[[1,4]]},"238":{"position":[[208,4]]},"239":{"position":[[1,4],[222,4]]},"240":{"position":[[122,4]]},"241":{"position":[[20,4],[121,4],[177,4],[284,5],[365,4]]},"247":{"position":[[148,5]]},"248":{"position":[[1,4]]},"249":{"position":[[19,4]]},"250":{"position":[[160,4]]},"251":{"position":[[55,5],[238,4]]},"252":{"position":[[110,5]]},"253":{"position":[[120,4]]},"254":{"position":[[1,4]]},"255":{"position":[[1,4],[320,4],[1783,4]]},"257":{"position":[[13,4]]},"260":{"position":[[117,4],[313,4]]},"261":{"position":[[47,4],[554,4]]},"262":{"position":[[233,5],[395,5]]},"263":{"position":[[224,4],[394,4],[464,4],[570,4]]},"265":{"position":[[36,4],[382,5],[520,4],[756,4]]},"266":{"position":[[7,4],[573,7]]},"267":{"position":[[1124,4],[1562,4]]},"271":{"position":[[1,4],[282,4]]},"273":{"position":[[14,4],[243,4]]},"274":{"position":[[37,4],[265,4]]},"277":{"position":[[1,4]]},"278":{"position":[[96,4],[213,4]]},"279":{"position":[[23,5]]},"280":{"position":[[110,4],[322,4]]},"281":{"position":[[137,4],[278,4]]},"282":{"position":[[137,5]]},"283":{"position":[[194,4]]},"284":{"position":[[140,5]]},"285":{"position":[[22,4],[74,4],[179,4],[403,4]]},"286":{"position":[[1,4],[210,4]]},"287":{"position":[[1,4],[1199,4]]},"288":{"position":[[198,4]]},"289":{"position":[[323,4],[788,4],[1099,5],[1177,4],[1673,5]]},"290":{"position":[[70,4],[171,4]]},"291":{"position":[[1,4],[138,4]]},"292":{"position":[[49,4]]},"293":{"position":[[109,4],[253,4]]},"294":{"position":[[51,4]]},"295":{"position":[[39,4],[76,4],[289,4]]},"296":{"position":[[13,4],[51,4],[75,4]]},"303":{"position":[[294,4]]},"306":{"position":[[230,4]]},"309":{"position":[[131,4],[282,4]]},"310":{"position":[[75,4],[312,4]]},"312":{"position":[[43,4],[240,4]]},"313":{"position":[[1,4]]},"314":{"position":[[215,4],[246,4],[264,4],[1012,4]]},"315":{"position":[[1115,4]]},"316":{"position":[[36,4],[422,4]]},"318":{"position":[[142,4],[378,4],[409,4],[475,4],[544,4],[555,4]]},"321":{"position":[[457,5]]},"322":{"position":[[1,4],[161,5]]},"323":{"position":[[25,4],[591,4]]},"325":{"position":[[1,4]]},"327":{"position":[[233,4]]},"328":{"position":[[1,4]]},"329":{"position":[[28,4],[105,4]]},"330":{"position":[[43,4]]},"331":{"position":[[221,4]]},"333":{"position":[[9,4],[55,4],[177,4],[236,4]]},"334":{"position":[[48,4],[198,7]]},"335":{"position":[[20,4]]},"336":{"position":[[1,4]]},"338":{"position":[[168,4]]},"339":{"position":[[51,4]]},"340":{"position":[[6,5]]},"343":{"position":[[1,4]]},"346":{"position":[[52,4],[291,4]]},"347":{"position":[[23,4],[128,4],[192,4],[303,4],[416,4],[485,4]]},"350":{"position":[[183,4]]},"357":{"position":[[632,4]]},"359":{"position":[[53,4]]},"360":{"position":[[21,4],[254,4],[685,4]]},"362":{"position":[[737,4],[958,4],[1103,4],[1199,4],[1263,4],[1374,4],[1487,4],[1556,4]]},"365":{"position":[[422,5],[827,5],[1533,4]]},"366":{"position":[[392,4]]},"367":{"position":[[292,4],[442,4],[557,4],[674,4]]},"368":{"position":[[1,4],[100,4],[259,5]]},"369":{"position":[[63,4],[130,4],[588,4],[1327,4]]},"370":{"position":[[78,4]]},"371":{"position":[[54,4]]},"372":{"position":[[95,4]]},"373":{"position":[[20,4],[121,4],[177,4],[284,5],[366,4]]},"378":{"position":[[1,4],[186,4]]},"379":{"position":[[16,4]]},"380":{"position":[[124,4]]},"381":{"position":[[23,4],[361,4],[495,4]]},"382":{"position":[[46,4]]},"383":{"position":[[501,4]]},"384":{"position":[[1,4]]},"385":{"position":[[81,4],[202,4]]},"386":{"position":[[1,4]]},"387":{"position":[[17,4],[413,4]]},"388":{"position":[[111,4],[134,4],[244,4],[483,4]]},"390":{"position":[[1792,4]]},"392":{"position":[[54,4],[240,7],[1186,5],[2362,4]]},"393":{"position":[[307,4],[909,5]]},"397":{"position":[[63,4]]},"400":{"position":[[321,4]]},"402":{"position":[[2648,4],[2662,4]]},"403":{"position":[[184,4],[300,4]]},"405":{"position":[[110,4],[124,4],[153,4]]},"408":{"position":[[4663,5]]},"411":{"position":[[3392,4]]},"412":{"position":[[1842,4],[4427,5]]},"420":{"position":[[152,4],[955,4],[1025,4]]},"422":{"position":[[111,5],[450,5]]},"429":{"position":[[479,4]]},"432":{"position":[[1047,4]]},"440":{"position":[[481,5]]},"441":{"position":[[466,5]]},"442":{"position":[[40,4],[52,4]]},"445":{"position":[[3,5],[223,4],[369,4],[457,4],[822,4],[1253,4],[1695,4],[1930,4],[1977,4],[2156,4],[2418,5]]},"446":{"position":[[29,4],[187,4],[316,4],[588,5],[1013,4],[1263,4]]},"447":{"position":[[97,5],[373,4],[551,4],[658,4]]},"453":{"position":[[810,4]]},"456":{"position":[[136,4]]},"458":{"position":[[1319,5]]},"460":{"position":[[331,4]]},"469":{"position":[[493,4],[604,4],[909,4],[1331,4]]},"471":{"position":[[95,4],[109,4],[138,4]]},"479":{"position":[[1,4],[296,4],[491,4]]},"480":{"position":[[43,4]]},"481":{"position":[[1,4],[447,4]]},"482":{"position":[[57,4]]},"483":{"position":[[199,5],[356,4],[570,4],[940,4],[1186,5]]},"488":{"position":[[64,5]]},"489":{"position":[[57,5],[223,4],[463,4]]},"490":{"position":[[203,4],[348,4],[490,4],[590,4]]},"491":{"position":[[115,4],[269,4],[481,4],[850,4],[1922,5]]},"494":{"position":[[98,4],[550,4]]},"495":{"position":[[217,4]]},"496":{"position":[[650,5]]},"498":{"position":[[53,5],[93,4],[131,5],[257,4],[410,4],[431,4]]},"501":{"position":[[58,4],[125,4],[306,4]]},"502":{"position":[[1,4],[517,4],[1148,4]]},"503":{"position":[[13,4],[126,4]]},"504":{"position":[[1,4],[554,4],[668,4],[713,4],[741,4],[924,4],[1087,4],[1300,4]]},"506":{"position":[[1,4]]},"507":{"position":[[54,4]]},"508":{"position":[[1,4]]},"509":{"position":[[1,4]]},"510":{"position":[[124,4],[339,4],[482,4],[636,5]]},"511":{"position":[[23,4],[128,4],[192,4],[303,4],[418,4]]},"513":{"position":[[1,5],[166,4]]},"514":{"position":[[1,5]]},"515":{"position":[[205,5]]},"516":{"position":[[1,4],[139,4],[289,4]]},"517":{"position":[[125,4]]},"518":{"position":[[1,4]]},"519":{"position":[[69,4]]},"520":{"position":[[60,4],[254,4],[420,4]]},"521":{"position":[[359,5],[582,4]]},"522":{"position":[[28,4],[98,4],[131,4],[156,4],[311,7]]},"523":{"position":[[5,4]]},"524":{"position":[[1,4],[314,4]]},"525":{"position":[[122,4],[392,4]]},"526":{"position":[[83,4]]},"527":{"position":[[76,4]]},"528":{"position":[[1,4]]},"529":{"position":[[1,4]]},"530":{"position":[[140,4],[288,5],[439,4],[608,4]]},"531":{"position":[[23,4],[128,4],[192,4],[303,4],[418,4]]},"535":{"position":[[506,4],[774,4],[945,4],[1243,4]]},"536":{"position":[[12,4]]},"537":{"position":[[16,4],[53,4]]},"538":{"position":[[1,4],[191,4]]},"540":{"position":[[1,4],[149,5]]},"541":{"position":[[1,4]]},"542":{"position":[[1,4],[250,4],[696,4]]},"543":{"position":[[34,4],[86,4],[217,4]]},"544":{"position":[[1,4],[76,4],[163,4]]},"546":{"position":[[183,4],[222,4],[337,4]]},"547":{"position":[[87,5]]},"548":{"position":[[18,4],[32,4],[88,4],[168,4],[423,4]]},"551":{"position":[[173,4]]},"553":{"position":[[9,4],[91,4]]},"554":{"position":[[1,4],[272,4],[508,7],[655,5]]},"556":{"position":[[645,4]]},"557":{"position":[[18,4],[32,4],[100,4],[152,4],[219,4],[304,4]]},"562":{"position":[[34,7]]},"563":{"position":[[1,4],[138,4]]},"564":{"position":[[143,4],[219,7]]},"565":{"position":[[62,4]]},"567":{"position":[[173,4],[338,4],[403,4],[438,4],[611,4]]},"570":{"position":[[910,4],[923,4]]},"571":{"position":[[687,4],[1285,4],[1718,4]]},"572":{"position":[[15,4],[54,4],[104,4]]},"574":{"position":[[813,4]]},"575":{"position":[[1,4]]},"576":{"position":[[76,4],[323,4]]},"577":{"position":[[43,4]]},"578":{"position":[[17,4],[84,4]]},"579":{"position":[[44,4],[200,7],[815,4]]},"580":{"position":[[1,4],[479,4]]},"581":{"position":[[1,4]]},"582":{"position":[[1,4],[155,4],[551,4]]},"585":{"position":[[31,4]]},"586":{"position":[[50,4]]},"589":{"position":[[59,4]]},"590":{"position":[[54,4],[137,4]]},"591":{"position":[[23,4],[128,4],[192,4],[303,4],[416,4],[476,4],[640,4]]},"595":{"position":[[526,4],[861,4],[1020,4],[1296,4]]},"596":{"position":[[12,4]]},"597":{"position":[[16,4],[55,4]]},"598":{"position":[[1,4],[192,4],[300,7]]},"600":{"position":[[1,4]]},"602":{"position":[[61,4]]},"603":{"position":[[34,4],[84,4],[215,4]]},"604":{"position":[[1,4],[76,4]]},"606":{"position":[[183,4],[222,4],[327,4]]},"607":{"position":[[88,5]]},"608":{"position":[[18,4],[32,4],[88,4],[168,4],[421,4]]},"616":{"position":[[956,4]]},"617":{"position":[[2178,4],[2368,5]]},"619":{"position":[[22,4]]},"626":{"position":[[606,4]]},"628":{"position":[[148,4],[197,4],[211,4],[240,4]]},"631":{"position":[[1,4]]},"632":{"position":[[1224,4]]},"634":{"position":[[41,5]]},"635":{"position":[[110,4],[210,4]]},"636":{"position":[[79,4],[307,4]]},"638":{"position":[[137,4]]},"641":{"position":[[94,4]]},"644":{"position":[[15,4],[284,4],[434,4]]},"646":{"position":[[29,7]]},"652":{"position":[[29,7]]},"653":{"position":[[150,7],[1007,4],[1363,4]]},"662":{"position":[[3,4],[368,4],[1267,4],[1277,4],[1608,4],[1872,4],[1893,4],[1903,4],[2054,4],[2064,4]]},"663":{"position":[[58,4]]},"666":{"position":[[219,4]]},"676":{"position":[[166,5],[324,5]]},"678":{"position":[[4,5],[130,4],[172,4]]},"680":{"position":[[19,5],[439,4],[472,7],[563,7]]},"685":{"position":[[133,4],[555,4]]},"686":{"position":[[86,5],[698,4],[783,4]]},"688":{"position":[[123,5],[403,4]]},"690":{"position":[[500,5]]},"693":{"position":[[8,4],[140,4],[274,4]]},"701":{"position":[[1173,5]]},"703":{"position":[[242,5],[262,4]]},"705":{"position":[[20,4],[143,4]]},"710":{"position":[[3,4],[102,4],[448,5],[914,4],[996,5],[1088,4],[1261,5],[1461,4],[1573,7],[2472,4]]},"712":{"position":[[18,4],[90,4]]},"714":{"position":[[1,4],[210,4],[672,4]]},"715":{"position":[[1,4]]},"716":{"position":[[480,4]]},"717":{"position":[[1,4],[441,4]]},"718":{"position":[[163,5],[247,5]]},"723":{"position":[[460,4],[2444,4]]},"724":{"position":[[28,4],[98,4],[165,5],[209,5],[469,5]]},"726":{"position":[[34,4],[106,4]]},"728":{"position":[[1,4]]},"729":{"position":[[14,4],[176,4]]},"731":{"position":[[45,5]]},"732":{"position":[[11,5],[97,4],[153,7]]},"737":{"position":[[509,4]]},"738":{"position":[[105,7]]},"745":{"position":[[233,5],[302,5]]},"749":{"position":[[1335,4],[7376,5],[9252,5],[12602,4],[20966,5],[21071,4],[21871,4],[23655,4],[23722,5]]},"754":{"position":[[221,7]]},"755":{"position":[[12,4]]},"756":{"position":[[259,4]]},"759":{"position":[[190,5],[273,5]]},"760":{"position":[[28,4],[78,4],[369,5],[439,4]]},"761":{"position":[[1,4],[91,4],[248,4],[407,4],[425,4],[488,5],[549,4],[614,5],[736,5]]},"763":{"position":[[1,4]]},"772":{"position":[[99,4],[301,4],[506,4],[585,4],[667,7],[1454,7],[1518,5],[2162,7]]},"773":{"position":[[31,4],[350,4],[469,7]]},"774":{"position":[[472,7],[599,5]]},"775":{"position":[[195,4]]},"776":{"position":[[15,4],[92,4],[370,4]]},"779":{"position":[[363,5]]},"781":{"position":[[736,4]]},"786":{"position":[[40,4],[52,4]]},"793":{"position":[[0,4],[898,4]]},"796":{"position":[[27,4]]},"798":{"position":[[953,4]]},"799":{"position":[[214,4],[360,4]]},"800":{"position":[[27,5],[377,4],[666,4]]},"801":{"position":[[109,4],[880,4]]},"802":{"position":[[38,4]]},"804":{"position":[[5,4],[50,4]]},"806":{"position":[[243,4]]},"815":{"position":[[12,4]]},"820":{"position":[[31,5],[109,5]]},"824":{"position":[[39,5],[442,4]]},"825":{"position":[[964,4],[1103,5],[1129,4]]},"826":{"position":[[24,4],[333,4]]},"828":{"position":[[1,4],[175,4],[271,4]]},"829":{"position":[[25,4],[62,4],[167,4],[505,7],[913,4],[3083,4],[3860,4]]},"831":{"position":[[52,4],[285,4]]},"832":{"position":[[1,4]]},"834":{"position":[[106,4]]},"838":{"position":[[3,4],[408,4],[754,4],[845,4],[1187,4],[1572,4],[1798,4],[1808,4],[1925,4],[1975,7],[2033,4],[2043,4],[2395,4],[3196,4],[3276,4],[3395,4]]},"841":{"position":[[44,4]]},"842":{"position":[[27,4],[79,4],[192,4]]},"846":{"position":[[812,5]]},"855":{"position":[[1,4]]},"856":{"position":[[165,4],[178,4]]},"857":{"position":[[22,4],[490,4]]},"860":{"position":[[156,4],[338,4],[481,4],[747,4],[984,4]]},"861":{"position":[[1362,4],[1462,4],[1533,4],[1642,4],[1758,5],[2185,5]]},"862":{"position":[[91,4],[149,6],[177,4],[212,5],[1477,4]]},"863":{"position":[[883,4],[971,4]]},"865":{"position":[[234,4]]},"866":{"position":[[147,4]]},"867":{"position":[[1,4]]},"868":{"position":[[4,4]]},"870":{"position":[[41,4],[194,4]]},"871":{"position":[[319,4],[621,4]]},"872":{"position":[[76,4],[135,4],[140,4],[1350,4],[1397,4],[1586,7],[1682,4],[2219,4],[3131,5],[3200,5],[3808,7],[3912,5]]},"873":{"position":[[21,4],[103,4]]},"875":{"position":[[32,4],[45,4],[1382,4],[1512,5],[1914,4],[6746,4]]},"876":{"position":[[81,4]]},"878":{"position":[[52,4],[212,5]]},"884":{"position":[[74,4]]},"885":{"position":[[321,4]]},"886":{"position":[[273,4],[1303,4],[1584,4]]},"887":{"position":[[63,4]]},"888":{"position":[[118,5],[359,7]]},"889":{"position":[[811,4]]},"890":{"position":[[1004,4]]},"892":{"position":[[34,7]]},"896":{"position":[[156,4],[296,4]]},"898":{"position":[[37,4],[675,4],[1549,4],[1597,4],[3153,4],[4279,4]]},"903":{"position":[[481,4],[576,4]]},"904":{"position":[[201,4],[500,4],[1775,5],[2228,4],[2663,4]]},"906":{"position":[[38,4],[183,4]]},"908":{"position":[[387,4]]},"911":{"position":[[358,4],[498,5]]},"912":{"position":[[63,4],[216,4]]},"913":{"position":[[15,4],[63,4],[180,4],[244,4]]},"915":{"position":[[97,7]]},"917":{"position":[[108,7]]},"922":{"position":[[20,4]]},"927":{"position":[[83,5]]},"932":{"position":[[809,5]]},"936":{"position":[[72,4],[143,4]]},"952":{"position":[[200,7]]},"958":{"position":[[543,5],[779,5]]},"960":{"position":[[86,4]]},"962":{"position":[[1,4]]},"965":{"position":[[208,4],[401,4]]},"966":{"position":[[183,4]]},"968":{"position":[[13,4]]},"971":{"position":[[312,7]]},"977":{"position":[[572,7]]},"978":{"position":[[116,7]]},"981":{"position":[[72,4],[342,5],[483,4],[609,5],[1517,4]]},"985":{"position":[[302,4]]},"986":{"position":[[1230,4]]},"988":{"position":[[209,7],[361,4],[1150,4],[1856,4],[3984,4],[4577,5]]},"989":{"position":[[72,4],[385,4]]},"990":{"position":[[61,4]]},"995":{"position":[[549,4]]},"1002":{"position":[[916,4]]},"1004":{"position":[[44,4]]},"1005":{"position":[[143,4]]},"1007":{"position":[[27,4],[181,4],[655,4]]},"1012":{"position":[[105,7]]},"1041":{"position":[[178,7]]},"1044":{"position":[[108,4]]},"1064":{"position":[[135,7]]},"1065":{"position":[[465,4],[1529,4],[1663,4],[1820,4]]},"1068":{"position":[[253,4]]},"1069":{"position":[[9,4]]},"1071":{"position":[[34,4]]},"1072":{"position":[[56,4],[72,4],[130,4],[420,4],[621,4],[659,4],[765,4],[946,4],[1019,4],[1181,4],[1224,4],[1622,4],[1660,4],[2028,4]]},"1078":{"position":[[938,4]]},"1079":{"position":[[1,4],[331,4],[489,4]]},"1080":{"position":[[1041,4]]},"1084":{"position":[[439,4]]},"1085":{"position":[[30,4],[323,5],[730,4],[912,4],[1619,4],[1687,4],[1924,4],[2391,4],[3174,4]]},"1088":{"position":[[100,4],[147,4]]},"1090":{"position":[[620,5],[709,5]]},"1091":{"position":[[14,4]]},"1092":{"position":[[50,4]]},"1093":{"position":[[197,4]]},"1094":{"position":[[211,4]]},"1095":{"position":[[34,4],[296,4]]},"1097":{"position":[[48,4],[85,4],[362,5],[458,4],[643,5]]},"1098":{"position":[[17,4],[202,5],[271,5]]},"1099":{"position":[[17,4],[184,5],[249,5]]},"1101":{"position":[[102,4]]},"1102":{"position":[[89,4],[882,5]]},"1107":{"position":[[8,4],[157,4]]},"1112":{"position":[[230,4]]},"1114":{"position":[[229,4],[478,7],[599,4]]},"1119":{"position":[[387,7]]},"1120":{"position":[[394,4]]},"1121":{"position":[[92,4]]},"1123":{"position":[[666,4]]},"1124":{"position":[[7,4],[130,4],[604,4],[989,4],[1212,4],[1330,4],[1506,4],[1896,4],[2098,4],[2180,4]]},"1125":{"position":[[34,5],[186,7],[903,5]]},"1129":{"position":[[19,4]]},"1130":{"position":[[34,7],[85,5]]},"1132":{"position":[[7,4],[118,4],[329,4],[1065,4],[1346,4]]},"1134":{"position":[[34,7]]},"1135":{"position":[[202,4]]},"1138":{"position":[[53,4],[176,7],[222,5]]},"1139":{"position":[[274,7],[320,5]]},"1140":{"position":[[343,4],[490,7],[536,5]]},"1141":{"position":[[19,4]]},"1147":{"position":[[74,5]]},"1148":{"position":[[497,4],[1092,4]]},"1149":{"position":[[529,4],[623,4],[862,4]]},"1150":{"position":[[173,4],[340,5],[492,4]]},"1151":{"position":[[388,4],[503,4],[901,5]]},"1154":{"position":[[101,4],[252,5],[350,5]]},"1158":{"position":[[626,5]]},"1159":{"position":[[138,5]]},"1162":{"position":[[893,4],[940,4],[997,4],[1046,4]]},"1163":{"position":[[40,5],[123,5]]},"1164":{"position":[[110,7]]},"1168":{"position":[[50,7]]},"1172":{"position":[[34,7],[493,4]]},"1174":{"position":[[322,4]]},"1175":{"position":[[248,4],[475,4]]},"1177":{"position":[[145,5],[216,4]]},"1178":{"position":[[387,4],[502,4],[898,5]]},"1181":{"position":[[845,4],[892,4]]},"1182":{"position":[[40,5],[123,5]]},"1184":{"position":[[10,4],[406,5],[489,5],[588,5]]},"1188":{"position":[[135,4],[189,4],[226,4],[277,4]]},"1189":{"position":[[301,7]]},"1191":{"position":[[112,4],[504,4]]},"1192":{"position":[[72,4]]},"1193":{"position":[[129,4],[285,4]]},"1198":{"position":[[27,4],[152,4],[887,4],[1163,4],[1266,4],[1648,4],[1736,4],[1871,4],[2152,4],[2331,4]]},"1201":{"position":[[34,7]]},"1202":{"position":[[14,4]]},"1204":{"position":[[146,5],[217,4]]},"1208":{"position":[[1202,7]]},"1209":{"position":[[389,4]]},"1210":{"position":[[171,4],[235,4],[316,7],[359,5]]},"1211":{"position":[[254,4],[565,7],[616,5]]},"1212":{"position":[[328,5],[403,5]]},"1213":{"position":[[625,5]]},"1214":{"position":[[444,4],[854,4]]},"1222":{"position":[[38,5]]},"1225":{"position":[[166,5],[243,5]]},"1226":{"position":[[34,7],[83,5]]},"1227":{"position":[[135,4],[299,4],[584,7],[633,5]]},"1231":{"position":[[479,5],[556,5],[644,7]]},"1233":{"position":[[121,4]]},"1236":{"position":[[24,4]]},"1237":{"position":[[772,5]]},"1238":{"position":[[480,5],[556,5],[633,5],[729,5]]},"1239":{"position":[[530,5],[631,5],[720,5]]},"1242":{"position":[[162,5]]},"1244":{"position":[[131,4]]},"1245":{"position":[[57,4]]},"1246":{"position":[[1889,4],[2034,4],[2166,4]]},"1247":{"position":[[59,4],[259,4],[444,4],[614,4]]},"1249":{"position":[[283,4]]},"1250":{"position":[[359,4]]},"1253":{"position":[[29,4]]},"1258":{"position":[[133,4]]},"1263":{"position":[[52,5],[129,5]]},"1264":{"position":[[34,7],[77,5]]},"1265":{"position":[[128,4],[292,4],[578,7],[621,5]]},"1268":{"position":[[607,5],[684,5]]},"1271":{"position":[[60,5],[119,4],[187,4],[298,4],[549,4],[780,4],[1066,4]]},"1272":{"position":[[146,4],[219,4]]},"1274":{"position":[[34,7],[98,5]]},"1275":{"position":[[152,7],[222,5]]},"1276":{"position":[[424,7],[488,5]]},"1277":{"position":[[175,7],[246,5],[488,4],[775,5]]},"1278":{"position":[[278,7],[353,5],[730,7],[800,5]]},"1279":{"position":[[343,7],[412,5]]},"1280":{"position":[[274,7]]},"1281":{"position":[[145,5]]},"1284":{"position":[[20,4],[59,4],[129,4],[284,4]]},"1292":{"position":[[5,4],[529,4]]},"1294":{"position":[[2112,4]]},"1295":{"position":[[1538,4]]},"1296":{"position":[[1852,4]]},"1300":{"position":[[568,4]]},"1304":{"position":[[1035,4],[1233,4],[1628,5],[1939,4]]},"1305":{"position":[[357,4],[385,4],[730,4]]},"1306":{"position":[[37,5]]},"1307":{"position":[[447,4]]},"1308":{"position":[[234,4]]},"1309":{"position":[[259,5],[393,4]]},"1313":{"position":[[1020,4]]},"1318":{"position":[[803,4]]},"1324":{"position":[[903,4]]}},"keywords":{}}],["rxdb""wher",{"_index":1537,"title":{},"content":{"245":{"position":[[124,21]]}},"keywords":{}}],["rxdb""whi",{"_index":1534,"title":{},"content":{"245":{"position":[[37,19]]}},"keywords":{}}],["rxdb'",{"_index":622,"title":{"208":{"position":[[4,6]]},"255":{"position":[[9,6]]},"980":{"position":[[0,6]]}},"content":{"39":{"position":[[297,6]]},"51":{"position":[[1038,6]]},"61":{"position":[[317,6]]},"77":{"position":[[1,6]]},"78":{"position":[[1,6]]},"82":{"position":[[1,6]]},"114":{"position":[[614,6]]},"124":{"position":[[196,6]]},"126":{"position":[[230,6]]},"129":{"position":[[92,6]]},"148":{"position":[[420,6]]},"164":{"position":[[286,6]]},"174":{"position":[[740,6],[2179,6],[2935,6],[3220,6]]},"175":{"position":[[608,6]]},"181":{"position":[[223,6]]},"186":{"position":[[212,6]]},"191":{"position":[[1,6]]},"201":{"position":[[348,6]]},"205":{"position":[[300,6]]},"207":{"position":[[8,6],[220,6]]},"212":{"position":[[78,6]]},"238":{"position":[[1,6]]},"241":{"position":[[580,6]]},"248":{"position":[[217,6]]},"252":{"position":[[293,6]]},"262":{"position":[[79,6]]},"267":{"position":[[1,6],[153,6],[507,6],[873,6]]},"275":{"position":[[8,6],[200,6]]},"276":{"position":[[1,6]]},"283":{"position":[[1,6],[396,6]]},"284":{"position":[[1,6]]},"286":{"position":[[405,6]]},"289":{"position":[[17,6],[469,6],[699,6],[1397,6]]},"311":{"position":[[83,6]]},"326":{"position":[[1,6]]},"327":{"position":[[8,6]]},"328":{"position":[[193,6]]},"338":{"position":[[1,6]]},"346":{"position":[[243,6]]},"366":{"position":[[64,6]]},"369":{"position":[[405,6],[889,6],[1098,6]]},"370":{"position":[[42,6],[212,6]]},"371":{"position":[[165,6]]},"373":{"position":[[597,6]]},"380":{"position":[[1,6]]},"382":{"position":[[261,6]]},"383":{"position":[[8,6]]},"433":{"position":[[452,6]]},"446":{"position":[[790,6]]},"487":{"position":[[336,6]]},"490":{"position":[[1,6]]},"491":{"position":[[1249,6]]},"493":{"position":[[44,6]]},"495":{"position":[[660,6]]},"496":{"position":[[666,6]]},"498":{"position":[[469,6]]},"502":{"position":[[261,6],[685,6]]},"514":{"position":[[261,6]]},"515":{"position":[[8,6]]},"523":{"position":[[124,6]]},"525":{"position":[[58,6]]},"556":{"position":[[1394,6],[1730,6]]},"557":{"position":[[379,6]]},"580":{"position":[[190,6]]},"582":{"position":[[283,6]]},"584":{"position":[[64,6]]},"632":{"position":[[1,6],[621,6]]},"634":{"position":[[482,6]]},"639":{"position":[[86,6]]},"640":{"position":[[1,6]]},"688":{"position":[[171,6]]},"698":{"position":[[1719,6]]},"723":{"position":[[1043,6]]},"805":{"position":[[57,6]]},"806":{"position":[[9,6]]},"831":{"position":[[118,6],[467,6]]},"908":{"position":[[1,6]]},"1132":{"position":[[890,6]]},"1147":{"position":[[521,6]]},"1149":{"position":[[92,6],[574,6]]},"1284":{"position":[[422,6]]}},"keywords":{}}],["rxdb)you",{"_index":5194,"title":{},"content":{"898":{"position":[[244,8]]}},"keywords":{}}],["rxdb+foundationdb",{"_index":6025,"title":{"1132":{"position":[[12,18]]}},"content":{},"keywords":{}}],["rxdb+node.j",{"_index":2132,"title":{"776":{"position":[[13,13]]}},"content":{"370":{"position":[[333,13]]}},"keywords":{}}],["rxdb+react",{"_index":2133,"title":{},"content":{"371":{"position":[[338,10]]}},"keywords":{}}],["rxdb.check",{"_index":4588,"title":{},"content":{"776":{"position":[[244,10]]}},"keywords":{}}],["rxdb.client",{"_index":5251,"title":{},"content":{"903":{"position":[[397,12]]}},"keywords":{}}],["rxdb.limit",{"_index":3301,"title":{},"content":{"535":{"position":[[1161,12]]},"595":{"position":[[1238,12]]}},"keywords":{}}],["rxdb/plugins/attach",{"_index":5285,"title":{},"content":{"915":{"position":[[143,27]]},"932":{"position":[[731,25]]}},"keywords":{}}],["rxdb/plugins/backup",{"_index":3728,"title":{},"content":{"646":{"position":[[70,22]]}},"keywords":{}}],["rxdb/plugins/cleanup",{"_index":3744,"title":{},"content":{"652":{"position":[[71,23]]},"1119":{"position":[[429,23]]}},"keywords":{}}],["rxdb/plugins/cor",{"_index":764,"title":{},"content":{"51":{"position":[[212,20]]},"55":{"position":[[213,20],[701,20]]},"209":{"position":[[34,20]]},"211":{"position":[[96,20]]},"255":{"position":[[381,20]]},"258":{"position":[[34,20]]},"314":{"position":[[333,20]]},"315":{"position":[[362,20]]},"394":{"position":[[567,20]]},"480":{"position":[[191,20]]},"482":{"position":[[192,20]]},"538":{"position":[[292,20]]},"542":{"position":[[412,20]]},"556":{"position":[[771,20]]},"563":{"position":[[231,20]]},"632":{"position":[[1072,20]]},"662":{"position":[[1658,20]]},"717":{"position":[[1085,20]]},"724":{"position":[[272,20]]},"734":{"position":[[442,20]]},"862":{"position":[[349,20]]},"875":{"position":[[2049,20],[4295,20]]},"898":{"position":[[2198,20]]},"904":{"position":[[598,20]]},"960":{"position":[[166,20]]},"1118":{"position":[[394,20]]},"1144":{"position":[[62,20]]},"1145":{"position":[[266,20]]},"1148":{"position":[[552,20]]},"1149":{"position":[[829,20]]},"1158":{"position":[[56,20]]},"1159":{"position":[[242,20]]}},"keywords":{}}],["rxdb/plugins/crdt",{"_index":3874,"title":{},"content":{"680":{"position":[[392,20]]}},"keywords":{}}],["rxdb/plugins/dev",{"_index":3861,"title":{},"content":{"675":{"position":[[251,17]]}},"keywords":{}}],["rxdb/plugins/encrypt",{"_index":1895,"title":{},"content":{"315":{"position":[[214,24]]},"482":{"position":[[343,24]]},"554":{"position":[[568,24]]},"564":{"position":[[279,24]]},"638":{"position":[[273,24]]},"717":{"position":[[601,24]]},"1237":{"position":[[697,24]]}},"keywords":{}}],["rxdb/plugins/flutt",{"_index":1250,"title":{},"content":{"188":{"position":[[814,23]]}},"keywords":{}}],["rxdb/plugins/json",{"_index":5369,"title":{},"content":{"952":{"position":[[243,18]]},"971":{"position":[[355,18]]}},"keywords":{}}],["rxdb/plugins/key",{"_index":4082,"title":{},"content":{"734":{"position":[[170,17]]},"1237":{"position":[[613,17]]}},"keywords":{}}],["rxdb/plugins/lead",{"_index":4091,"title":{},"content":{"738":{"position":[[154,20]]},"740":{"position":[[467,20]]}},"keywords":{}}],["rxdb/plugins/loc",{"_index":5595,"title":{},"content":{"1012":{"position":[[154,19]]}},"keywords":{}}],["rxdb/plugins/migr",{"_index":4487,"title":{},"content":{"759":{"position":[[118,23]]},"760":{"position":[[294,23]]}},"keywords":{}}],["rxdb/plugins/pouchdb",{"_index":27,"title":{},"content":{"1":{"position":[[393,23]]},"8":{"position":[[816,23]]},"1201":{"position":[[92,23]]},"1204":{"position":[[269,23]]}},"keywords":{}}],["rxdb/plugins/queri",{"_index":5760,"title":{},"content":{"1064":{"position":[[182,19]]}},"keywords":{}}],["rxdb/plugins/react",{"_index":3323,"title":{},"content":{"542":{"position":[[337,24]]},"563":{"position":[[379,24]]},"825":{"position":[[133,24]]},"829":{"position":[[1328,21],[1925,21],[2344,21],[3260,21]]}},"keywords":{}}],["rxdb/plugins/repl",{"_index":1343,"title":{},"content":{"209":{"position":[[171,27]]},"210":{"position":[[210,25]]},"255":{"position":[[518,27]]},"261":{"position":[[278,25]]},"481":{"position":[[614,27]]},"632":{"position":[[2146,27]]},"846":{"position":[[81,25]]},"848":{"position":[[1233,25]]},"862":{"position":[[252,25]]},"866":{"position":[[374,25]]},"872":{"position":[[2313,25]]},"875":{"position":[[365,27]]},"886":{"position":[[949,25]]},"892":{"position":[[79,25]]},"893":{"position":[[134,25]]},"898":{"position":[[3265,25]]},"904":{"position":[[1369,25]]},"906":{"position":[[933,25]]},"988":{"position":[[153,27]]},"1090":{"position":[[549,27]]},"1121":{"position":[[393,25]]},"1149":{"position":[[696,25]]},"1231":{"position":[[697,25]]}},"keywords":{}}],["rxdb/plugins/st",{"_index":5981,"title":{},"content":{"1114":{"position":[[636,21]]}},"keywords":{}}],["rxdb/plugins/storag",{"_index":777,"title":{},"content":{"51":{"position":[[591,21]]},"55":{"position":[[763,21]]},"188":{"position":[[712,21]]},"209":{"position":[[96,21]]},"211":{"position":[[158,21]]},"255":{"position":[[443,21]]},"258":{"position":[[96,21]]},"266":{"position":[[616,21]]},"314":{"position":[[395,21]]},"315":{"position":[[292,21]]},"334":{"position":[[247,21]]},"392":{"position":[[289,21]]},"480":{"position":[[253,21]]},"482":{"position":[[254,21]]},"522":{"position":[[360,21]]},"538":{"position":[[354,21]]},"542":{"position":[[474,21]]},"554":{"position":[[774,21]]},"562":{"position":[[83,21]]},"563":{"position":[[293,21]]},"564":{"position":[[357,21]]},"579":{"position":[[249,21]]},"598":{"position":[[349,21]]},"632":{"position":[[1134,21]]},"653":{"position":[[199,21]]},"662":{"position":[[1985,21]]},"680":{"position":[[612,21]]},"710":{"position":[[1622,21]]},"717":{"position":[[679,21]]},"734":{"position":[[243,21]]},"739":{"position":[[230,21]]},"772":{"position":[[716,21],[2288,21]]},"773":{"position":[[512,21]]},"774":{"position":[[521,21]]},"829":{"position":[[554,21]]},"838":{"position":[[2125,21]]},"862":{"position":[[411,21]]},"872":{"position":[[1629,21],[3850,21]]},"898":{"position":[[2260,21]]},"904":{"position":[[660,21]]},"960":{"position":[[228,21]]},"962":{"position":[[699,21],[915,21]]},"1090":{"position":[[480,21]]},"1114":{"position":[[527,21]]},"1125":{"position":[[229,21]]},"1134":{"position":[[83,21]]},"1144":{"position":[[117,21]]},"1145":{"position":[[321,21]]},"1148":{"position":[[607,21]]},"1149":{"position":[[766,21]]},"1158":{"position":[[118,21]]},"1159":{"position":[[325,21]]},"1168":{"position":[[93,21]]},"1172":{"position":[[75,21]]},"1189":{"position":[[345,21]]},"1218":{"position":[[320,21],[657,21],[732,21]]},"1219":{"position":[[298,21],[381,21],[821,21]]},"1222":{"position":[[120,21]]},"1226":{"position":[[160,21]]},"1271":{"position":[[1184,21]]},"1280":{"position":[[339,21]]},"1286":{"position":[[303,21]]},"1287":{"position":[[349,21]]},"1288":{"position":[[309,21]]}},"keywords":{}}],["rxdb/plugins/upd",{"_index":5685,"title":{},"content":{"1041":{"position":[[219,22]]},"1059":{"position":[[158,22]]}},"keywords":{}}],["rxdb/plugins/util",{"_index":2688,"title":{},"content":{"412":{"position":[[4459,21]]},"1309":{"position":[[462,21]]}},"keywords":{}}],["rxdb/plugins/valid",{"_index":6284,"title":{},"content":{"1237":{"position":[[539,22]]},"1286":{"position":[[233,22]]},"1287":{"position":[[274,22]]},"1288":{"position":[[226,22]]},"1290":{"position":[[24,22]]},"1291":{"position":[[30,22]]}},"keywords":{}}],["rxdb/plugins/vector",{"_index":2296,"title":{},"content":{"393":{"position":[[950,22]]},"394":{"position":[[501,22]]},"397":{"position":[[1653,22]]}},"keywords":{}}],["rxdbattachmentsplugin",{"_index":5284,"title":{},"content":{"915":{"position":[[114,21]]}},"keywords":{}}],["rxdbbackupplugin",{"_index":3727,"title":{},"content":{"646":{"position":[[46,16]]}},"keywords":{}}],["rxdbcleanupplugin",{"_index":3743,"title":{},"content":{"652":{"position":[[46,17]]},"1119":{"position":[[404,17]]}},"keywords":{}}],["rxdbcrdtplugin",{"_index":3873,"title":{},"content":{"680":{"position":[[370,14]]}},"keywords":{}}],["rxdbdata",{"_index":3439,"title":{},"content":{"566":{"position":[[39,8]]}},"keywords":{}}],["rxdbflexsearchplugin",{"_index":4045,"title":{},"content":{"724":{"position":[[141,20],[181,20]]}},"keywords":{}}],["rxdbjsondumpplugin",{"_index":5368,"title":{},"content":{"952":{"position":[[217,18]]},"971":{"position":[[329,18]]}},"keywords":{}}],["rxdbleaderelectionplugin",{"_index":4090,"title":{},"content":{"738":{"position":[[122,24]]}},"keywords":{}}],["rxdblocaldocumentsplugin",{"_index":5594,"title":{},"content":{"1012":{"position":[[122,24]]}},"keywords":{}}],["rxdbquerybuilderplugin",{"_index":5759,"title":{},"content":{"1064":{"position":[[152,22]]}},"keywords":{}}],["rxdbreplicationgraphqlplugin",{"_index":6275,"title":{},"content":{"1231":{"position":[[661,28]]}},"keywords":{}}],["rxdbstateplugin",{"_index":5979,"title":{},"content":{"1114":{"position":[[199,15],[613,15]]}},"keywords":{}}],["rxdbupdateplugin",{"_index":5684,"title":{},"content":{"1041":{"position":[[195,16]]},"1059":{"position":[[134,16]]}},"keywords":{}}],["rxdb’",{"_index":1567,"title":{},"content":{"254":{"position":[[220,6]]},"361":{"position":[[307,6]]},"562":{"position":[[811,6]]},"567":{"position":[[89,6]]},"860":{"position":[[618,6],[1084,6]]},"903":{"position":[[125,6]]}},"keywords":{}}],["rxdocument",{"_index":1278,"title":{"1034":{"position":[[0,10]]}},"content":{"188":{"position":[[2823,10]]},"714":{"position":[[101,11]]},"749":{"position":[[11046,11]]},"764":{"position":[[164,11]]},"766":{"position":[[87,10]]},"767":{"position":[[791,12],[871,12],[947,12]]},"768":{"position":[[324,12],[467,12],[540,12],[684,12],[797,12],[875,12],[949,12]]},"769":{"position":[[343,12],[422,12],[497,12],[645,12],[762,12],[842,12],[918,12]]},"770":{"position":[[32,10],[98,10],[353,12]]},"790":{"position":[[73,11]]},"792":{"position":[[96,11]]},"793":{"position":[[130,10]]},"808":{"position":[[398,11]]},"810":{"position":[[21,11]]},"811":{"position":[[32,10]]},"812":{"position":[[314,10]]},"826":{"position":[[362,10]]},"917":{"position":[[25,11]]},"920":{"position":[[44,11]]},"921":{"position":[[143,11]]},"923":{"position":[[5,10]]},"942":{"position":[[157,11]]},"943":{"position":[[320,10]]},"944":{"position":[[319,12],[332,12]]},"945":{"position":[[214,12],[227,12],[319,10]]},"946":{"position":[[129,11]]},"947":{"position":[[290,12],[303,11]]},"948":{"position":[[49,10]]},"982":{"position":[[8,10]]},"1018":{"position":[[41,11]]},"1040":{"position":[[21,10]]},"1044":{"position":[[55,10]]},"1045":{"position":[[39,11]]},"1046":{"position":[[83,11]]},"1049":{"position":[[49,10]]},"1052":{"position":[[299,10],[365,11]]},"1053":{"position":[[52,11]]},"1056":{"position":[[35,10]]},"1057":{"position":[[361,10],[577,10]]},"1059":{"position":[[25,10]]},"1060":{"position":[[47,10]]},"1061":{"position":[[48,10]]},"1084":{"position":[[555,10],[635,10]]},"1085":{"position":[[1895,10],[2210,12]]},"1311":{"position":[[1293,10]]}},"keywords":{}}],["rxdocument,rxdocument,rxdocu",{"_index":5738,"title":{},"content":{"1057":{"position":[[169,36]]}},"keywords":{}}],["rxdocument.allattach",{"_index":4313,"title":{},"content":{"749":{"position":[[13637,26]]}},"keywords":{}}],["rxdocument.clos",{"_index":4276,"title":{},"content":{"749":{"position":[[10804,18]]}},"keywords":{}}],["rxdocument.get",{"_index":4257,"title":{},"content":{"749":{"position":[[9512,15],[9829,15],[13760,17],[13858,15]]}},"keywords":{}}],["rxdocument.incrementalmodifi",{"_index":4419,"title":{},"content":{"749":{"position":[[22721,30]]},"948":{"position":[[343,29]]}},"keywords":{}}],["rxdocument.insert",{"_index":4220,"title":{},"content":{"749":{"position":[[6717,19]]}},"keywords":{}}],["rxdocument.modifi",{"_index":5750,"title":{},"content":{"1061":{"position":[[10,19]]}},"keywords":{}}],["rxdocument.myfield",{"_index":4734,"title":{},"content":{"826":{"position":[[101,19]]}},"keywords":{}}],["rxdocument.patch",{"_index":5747,"title":{},"content":{"1060":{"position":[[10,18]]}},"keywords":{}}],["rxdocument.popul",{"_index":4263,"title":{},"content":{"749":{"position":[[9936,21],[10050,21],[10168,21]]}},"keywords":{}}],["rxdocument.prepar",{"_index":4196,"title":{},"content":{"749":{"position":[[4723,21]]}},"keywords":{}}],["rxdocument.remov",{"_index":3888,"title":{},"content":{"684":{"position":[[86,19]]},"749":{"position":[[10698,20]]},"769":{"position":[[69,17]]}},"keywords":{}}],["rxdocument.sav",{"_index":4273,"title":{},"content":{"749":{"position":[[10594,18],[11135,17]]},"768":{"position":[[64,15]]}},"keywords":{}}],["rxdocument.set",{"_index":4267,"title":{},"content":{"749":{"position":[[10277,17],[10471,17],[10997,16],[14085,16]]}},"keywords":{}}],["rxdocument[alic",{"_index":4683,"title":{},"content":{"810":{"position":[[472,17]]},"811":{"position":[[467,17]]}},"keywords":{}}],["rxerror",{"_index":5486,"title":{},"content":{"990":{"position":[[724,7]]}},"keywords":{}}],["rxfulltextsearch",{"_index":4048,"title":{},"content":{"724":{"position":[[346,16]]}},"keywords":{}}],["rxgraphqlreplicationst",{"_index":5170,"title":{"890":{"position":[[0,26]]}},"content":{"890":{"position":[[55,25]]}},"keywords":{}}],["rxgraphqlreplicationstate<rxdoctype>",{"_index":5150,"title":{},"content":{"887":{"position":[[250,42]]},"888":{"position":[[391,42]]},"889":{"position":[[440,42]]}},"keywords":{}}],["rxj",{"_index":722,"title":{"54":{"position":[[5,4]]},"77":{"position":[[19,6]]},"103":{"position":[[19,6]]},"144":{"position":[[49,4]]},"541":{"position":[[5,4]]},"601":{"position":[[6,4]]},"822":{"position":[[54,4]]}},"content":{"47":{"position":[[212,4]]},"50":{"position":[[14,4],[157,4],[231,4],[302,4],[408,4],[513,6]]},"55":{"position":[[122,4]]},"103":{"position":[[46,5]]},"120":{"position":[[165,4]]},"129":{"position":[[535,4],[603,4],[733,6]]},"144":{"position":[[119,4]]},"174":{"position":[[182,7],[238,5]]},"211":{"position":[[32,4]]},"233":{"position":[[63,5]]},"257":{"position":[[18,4]]},"314":{"position":[[269,4]]},"322":{"position":[[79,4]]},"333":{"position":[[19,5],[60,4]]},"445":{"position":[[180,4],[1412,4]]},"537":{"position":[[25,4],[58,4]]},"540":{"position":[[161,4]]},"541":{"position":[[33,4]]},"562":{"position":[[1237,4]]},"563":{"position":[[39,4],[1033,4]]},"578":{"position":[[27,5],[89,4]]},"580":{"position":[[21,4]]},"597":{"position":[[26,5],[60,4]]},"632":{"position":[[1785,4]]},"662":{"position":[[1272,4]]},"710":{"position":[[1466,5]]},"727":{"position":[[46,4],[95,4]]},"828":{"position":[[51,4]]},"831":{"position":[[230,4]]},"838":{"position":[[1803,4]]},"875":{"position":[[4340,7],[8063,7],[9482,7]]},"941":{"position":[[29,4]]},"970":{"position":[[29,4]]},"1046":{"position":[[29,4]]},"1117":{"position":[[80,4],[151,4]]},"1118":{"position":[[136,5]]}},"keywords":{}}],["rxjsonc",{"_index":3261,"title":{},"content":{"522":{"position":[[136,8]]}},"keywords":{}}],["rxjsonschema",{"_index":4876,"title":{},"content":{"854":{"position":[[1561,13]]},"889":{"position":[[1033,13]]},"934":{"position":[[157,13]]}},"keywords":{}}],["rxjsonschema<herodoctype>",{"_index":6499,"title":{},"content":{"1311":{"position":[[258,31]]}},"keywords":{}}],["rxlocaldocu",{"_index":4741,"title":{"1018":{"position":[[0,16]]}},"content":{"826":{"position":[[936,15]]},"1014":{"position":[[159,16]]},"1015":{"position":[[135,16]]},"1016":{"position":[[8,15],[72,15]]},"1017":{"position":[[215,15]]},"1018":{"position":[[3,15]]}},"keywords":{}}],["rxmongodbreplicationst",{"_index":4958,"title":{},"content":{"872":{"position":[[2697,25]]}},"keywords":{}}],["rxpipelin",{"_index":2377,"title":{"1019":{"position":[[0,10]]},"1020":{"position":[[11,11]]},"1021":{"position":[[14,11]]},"1025":{"position":[[0,10]]},"1029":{"position":[[6,10]]}},"content":{"397":{"position":[[1368,10]]},"793":{"position":[[1043,11]]},"1021":{"position":[[5,10]]},"1022":{"position":[[365,10]]}},"keywords":{}}],["rxqueri",{"_index":4165,"title":{"1054":{"position":[[0,7]]}},"content":{"749":{"position":[[2299,8],[3227,7]]},"793":{"position":[[141,7]]},"817":{"position":[[114,7],[316,7]]},"818":{"position":[[215,7]]},"826":{"position":[[725,7]]},"1036":{"position":[[92,8]]},"1055":{"position":[[19,8]]},"1069":{"position":[[203,7],[250,7],[322,7],[526,7]]},"1070":{"position":[[52,8]]},"1107":{"position":[[73,9]]}},"keywords":{}}],["rxquery<rxherodoctype>",{"_index":1287,"title":{},"content":{"188":{"position":[[3028,28]]}},"keywords":{}}],["rxquery'",{"_index":5784,"title":{"1069":{"position":[[0,9]]}},"content":{"1069":{"position":[[143,9],[399,9]]}},"keywords":{}}],["rxquery._execoverdatabas",{"_index":4153,"title":{},"content":{"749":{"position":[[1655,28]]}},"keywords":{}}],["rxquery.find",{"_index":5352,"title":{},"content":{"949":{"position":[[60,15]]},"950":{"position":[[206,15]]}},"keywords":{}}],["rxquery.limit",{"_index":4160,"title":{},"content":{"749":{"position":[[1995,16]]}},"keywords":{}}],["rxquery.regex",{"_index":4156,"title":{},"content":{"749":{"position":[[1752,16]]}},"keywords":{}}],["rxquery.sort",{"_index":4158,"title":{},"content":{"749":{"position":[[1869,15]]}},"keywords":{}}],["rxreactivityfactori",{"_index":831,"title":{},"content":{"55":{"position":[[186,19]]},"1118":{"position":[[349,20]]}},"keywords":{}}],["rxreactivityfactory<reactivitytype>",{"_index":6002,"title":{},"content":{"1118":{"position":[[495,41]]}},"keywords":{}}],["rxreactivityfactory<signal<any>>",{"_index":838,"title":{},"content":{"55":{"position":[[411,44]]}},"keywords":{}}],["rxreplic",{"_index":4339,"title":{},"content":{"749":{"position":[[15474,13],[15608,13],[15740,13],[15878,13],[16014,13]]},"756":{"position":[[23,13]]},"886":{"position":[[1932,13]]}},"keywords":{}}],["rxreplicationst",{"_index":4832,"title":{"992":{"position":[[0,19]]}},"content":{"846":{"position":[[1476,18]]},"862":{"position":[[1713,19]]},"872":{"position":[[2815,18]]},"886":{"position":[[3382,18]]},"890":{"position":[[172,18]]},"898":{"position":[[4631,19]]},"904":{"position":[[3241,19]]},"992":{"position":[[48,18]]},"993":{"position":[[33,18]]}},"keywords":{}}],["rxreplicationstate.emitev",{"_index":5149,"title":{},"content":{"886":{"position":[[5112,31]]}},"keywords":{}}],["rxreplicationstate.start",{"_index":5524,"title":{},"content":{"998":{"position":[[73,27]]}},"keywords":{}}],["rxschema",{"_index":4614,"title":{"1073":{"position":[[0,8]]}},"content":{"793":{"position":[[108,8]]}},"keywords":{}}],["rxserver",{"_index":4617,"title":{"872":{"position":[[22,8]]},"1086":{"position":[[12,8]]},"1097":{"position":[[11,9]]},"1098":{"position":[[6,8]]},"1099":{"position":[[6,8]]},"1100":{"position":[[0,8]]}},"content":{"793":{"position":[[654,8],[868,8],[877,8]]},"871":{"position":[[70,9],[115,8],[244,8],[430,9],[495,8],[638,8]]},"872":{"position":[[2898,9],[3001,8],[3609,9],[3748,9],[4355,8],[4509,10]]},"1097":{"position":[[14,9]]},"1098":{"position":[[52,8]]},"1099":{"position":[[52,8]]},"1100":{"position":[[15,8]]},"1102":{"position":[[71,8],[308,9]]},"1105":{"position":[[856,8]]},"1112":{"position":[[76,8]]}},"keywords":{}}],["rxserver.start",{"_index":5978,"title":{},"content":{"1112":{"position":[[437,16]]}},"keywords":{}}],["rxserveradapterexpress",{"_index":4961,"title":{},"content":{"872":{"position":[[3170,22],[3300,23]]},"1097":{"position":[[613,22],[755,23]]}},"keywords":{}}],["rxserveradapterfastifi",{"_index":5924,"title":{},"content":{"1098":{"position":[[241,22],[391,23]]}},"keywords":{}}],["rxserveradapterkoa",{"_index":5927,"title":{},"content":{"1099":{"position":[[223,18],[365,19]]}},"keywords":{}}],["rxserverauthhandl",{"_index":5961,"title":{},"content":{"1105":{"position":[[1189,19]]}},"keywords":{}}],["rxstate",{"_index":4619,"title":{"1113":{"position":[[0,7]]},"1114":{"position":[[11,8]]},"1118":{"position":[[0,7]]},"1119":{"position":[[8,7]]},"1121":{"position":[[0,7]]}},"content":{"793":{"position":[[1073,7]]},"1114":{"position":[[3,7],[415,7],[581,7]]},"1116":{"position":[[30,7]]},"1118":{"position":[[330,8]]},"1120":{"position":[[1,7],[95,7],[375,7],[549,7],[693,7]]},"1121":{"position":[[285,7]]}},"keywords":{}}],["rxstorag",{"_index":408,"title":{"131":{"position":[[10,9]]},"162":{"position":[[10,9]]},"189":{"position":[[10,9]]},"287":{"position":[[10,9]]},"336":{"position":[[10,9]]},"504":{"position":[[20,9]]},"524":{"position":[[10,9]]},"581":{"position":[[10,9]]},"693":{"position":[[0,9]]},"1095":{"position":[[19,10]]},"1125":{"position":[[17,10]]},"1127":{"position":[[16,9]]},"1136":{"position":[[10,9]]},"1138":{"position":[[20,10]]},"1141":{"position":[[29,10]]},"1142":{"position":[[0,9]]},"1152":{"position":[[34,9]]},"1153":{"position":[[0,9]]},"1155":{"position":[[0,9]]},"1158":{"position":[[28,9]]},"1160":{"position":[[14,9]]},"1166":{"position":[[7,9]]},"1169":{"position":[[0,9]]},"1179":{"position":[[14,9]]},"1182":{"position":[[24,10]]},"1187":{"position":[[8,9]]},"1188":{"position":[[27,10]]},"1189":{"position":[[18,10]]},"1191":{"position":[[0,9]]},"1197":{"position":[[0,9]]},"1198":{"position":[[19,9]]},"1205":{"position":[[62,9]]},"1210":{"position":[[14,9]]},"1217":{"position":[[7,9]]},"1221":{"position":[[9,9]]},"1223":{"position":[[13,9]]},"1234":{"position":[[0,9]]},"1240":{"position":[[4,9]]},"1262":{"position":[[7,9]]},"1269":{"position":[[7,9]]},"1271":{"position":[[17,10]]},"1273":{"position":[[17,9]]}},"content":{"24":{"position":[[650,9]]},"28":{"position":[[672,9]]},"131":{"position":[[121,10],[200,10],[356,10],[376,9],[713,10]]},"162":{"position":[[48,10],[166,10],[233,10],[359,10],[533,10],[664,9]]},"188":{"position":[[284,9]]},"189":{"position":[[48,9],[120,10],[286,10],[469,10],[509,9],[678,9]]},"266":{"position":[[760,9],[807,10]]},"287":{"position":[[86,9],[318,9],[351,10],[451,10],[511,9],[663,10],[723,9],[888,10],[906,9],[1081,10]]},"336":{"position":[[41,10],[97,10],[174,10],[243,10],[338,10],[413,10]]},"365":{"position":[[439,9]]},"369":{"position":[[1302,9]]},"392":{"position":[[195,10]]},"402":{"position":[[2754,10],[2774,10]]},"433":{"position":[[464,10]]},"504":{"position":[[50,9],[82,10],[176,10],[256,10],[353,10]]},"521":{"position":[[384,9],[415,10]]},"522":{"position":[[511,9]]},"524":{"position":[[224,10],[291,10],[391,10],[497,10],[594,10]]},"581":{"position":[[144,10],[200,10],[249,10],[342,10],[417,10]]},"642":{"position":[[95,9]]},"662":{"position":[[425,9],[543,9],[1001,9],[1112,9],[1191,9],[1557,9]]},"693":{"position":[[55,9],[185,9],[399,10],[431,9]]},"703":{"position":[[327,10]]},"709":{"position":[[1383,9],[1410,10]]},"710":{"position":[[521,9],[754,9],[1043,9],[1307,9],[1346,9],[1498,9],[2256,10],[2322,9],[2350,9]]},"714":{"position":[[366,9],[1024,9]]},"717":{"position":[[494,10],[518,9]]},"721":{"position":[[25,9],[51,9]]},"734":{"position":[[58,10],[82,9]]},"745":{"position":[[56,10]]},"749":{"position":[[23070,10]]},"759":{"position":[[48,9],[75,10],[701,9]]},"760":{"position":[[697,9]]},"772":{"position":[[566,9],[1118,9],[1775,9],[1897,9]]},"773":{"position":[[68,10]]},"774":{"position":[[394,9]]},"775":{"position":[[279,10],[639,9]]},"776":{"position":[[271,9]]},"793":{"position":[[161,9],[472,9],[489,9],[515,9],[542,9],[1276,9]]},"820":{"position":[[252,10]]},"821":{"position":[[258,9],[375,9]]},"838":{"position":[[1225,9],[1322,9],[1412,9],[1874,9],[3098,9]]},"844":{"position":[[43,10]]},"927":{"position":[[121,10]]},"932":{"position":[[384,10]]},"960":{"position":[[379,9]]},"961":{"position":[[128,10]]},"962":{"position":[[47,9],[344,9],[498,9],[542,9],[573,9],[857,9]]},"1066":{"position":[[43,10]]},"1067":{"position":[[241,9]]},"1068":{"position":[[306,9]]},"1079":{"position":[[161,10],[456,9]]},"1085":{"position":[[3641,11]]},"1095":{"position":[[82,9]]},"1124":{"position":[[467,9]]},"1125":{"position":[[19,9]]},"1130":{"position":[[330,9]]},"1139":{"position":[[58,9]]},"1143":{"position":[[16,9],[114,9]]},"1145":{"position":[[54,9]]},"1146":{"position":[[120,9]]},"1147":{"position":[[144,10]]},"1148":{"position":[[704,9]]},"1151":{"position":[[118,9],[779,9]]},"1152":{"position":[[33,9]]},"1154":{"position":[[50,10],[422,9],[554,10],[604,9],[708,10]]},"1162":{"position":[[972,9],[1121,9]]},"1163":{"position":[[201,9],[247,9],[512,9]]},"1170":{"position":[[286,9]]},"1178":{"position":[[117,9],[776,9]]},"1182":{"position":[[201,9],[247,9],[516,9]]},"1184":{"position":[[105,10]]},"1189":{"position":[[80,10]]},"1191":{"position":[[25,9]]},"1196":{"position":[[96,9]]},"1198":{"position":[[801,9],[1183,9],[1379,9],[1426,9],[1538,10],[1781,9],[2061,10],[2116,9],[2222,9]]},"1210":{"position":[[10,9],[84,9],[210,9]]},"1214":{"position":[[890,9]]},"1219":{"position":[[641,9]]},"1222":{"position":[[187,9],[215,10],[312,10],[362,9],[598,9],[1141,10],[1355,10]]},"1225":{"position":[[67,9],[346,9],[411,10]]},"1231":{"position":[[21,9],[841,9]]},"1233":{"position":[[191,9]]},"1235":{"position":[[162,9],[297,9],[357,9],[408,9]]},"1236":{"position":[[5,9]]},"1242":{"position":[[207,10]]},"1243":{"position":[[15,9]]},"1244":{"position":[[10,9]]},"1246":{"position":[[24,9],[64,9],[368,9],[408,9],[679,9],[978,9],[1173,9],[1255,9],[1295,10],[1629,9],[1697,10],[1738,9],[2081,9],[2211,9]]},"1247":{"position":[[296,9],[469,9],[656,9]]},"1263":{"position":[[240,9],[305,10]]},"1282":{"position":[[329,9]]},"1284":{"position":[[436,9]]},"1286":{"position":[[379,9]]},"1287":{"position":[[425,9]]},"1288":{"position":[[385,9]]},"1294":{"position":[[2155,10]]},"1296":{"position":[[1894,10]]}},"keywords":{}}],["rxstorage.it",{"_index":6067,"title":{},"content":{"1143":{"position":[[435,12]]}},"keywords":{}}],["rxstorage.y",{"_index":3091,"title":{},"content":{"469":{"position":[[503,13]]}},"keywords":{}}],["rxstoragesupport",{"_index":6177,"title":{},"content":{"1199":{"position":[[20,17]]}},"keywords":{}}],["rxstorageth",{"_index":3989,"title":{},"content":{"710":{"position":[[614,12],[637,12],[663,12],[685,12]]}},"keywords":{}}],["rxsupabasereplicationst",{"_index":5229,"title":{},"content":{"898":{"position":[[4511,26]]}},"keywords":{}}],["s",{"_index":343,"title":{},"content":{"19":{"position":[[877,1]]}},"keywords":{}}],["s.rating(sortdirection.ascending).title(sortdirection.descend",{"_index":344,"title":{},"content":{"19":{"position":[[885,65]]}},"keywords":{}}],["s0vlu0uhi",{"_index":5067,"title":{},"content":{"878":{"position":[[520,13]]},"880":{"position":[[432,13]]}},"keywords":{}}],["s0vlu0uhiexfq0",{"_index":4840,"title":{},"content":{"848":{"position":[[512,19]]}},"keywords":{}}],["s1",{"_index":4413,"title":{},"content":{"749":{"position":[[22230,2]]}},"keywords":{}}],["s3",{"_index":6135,"title":{},"content":{"1173":{"position":[[125,3]]}},"keywords":{}}],["saa",{"_index":2675,"title":{},"content":{"412":{"position":[[2856,4]]},"1148":{"position":[[28,4]]}},"keywords":{}}],["sacrif",{"_index":2944,"title":{},"content":{"445":{"position":[[2078,11]]}},"keywords":{}}],["safari",{"_index":1708,"title":{},"content":{"298":{"position":[[172,7],[665,6]]},"299":{"position":[[585,6],[715,6],[881,6],[1491,6]]},"305":{"position":[[165,6],[552,6]]},"408":{"position":[[1137,6]]},"412":{"position":[[7868,6]]},"462":{"position":[[383,6]]},"613":{"position":[[757,6]]},"624":{"position":[[1010,7]]},"696":{"position":[[1397,6]]},"1207":{"position":[[105,7]]},"1211":{"position":[[386,7]]},"1301":{"position":[[952,6],[1108,6]]}},"keywords":{}}],["safe",{"_index":1039,"title":{},"content":{"105":{"position":[[161,4]]},"382":{"position":[[352,7]]},"412":{"position":[[8836,4]]},"557":{"position":[[513,5]]},"897":{"position":[[422,6]]},"1007":{"position":[[1077,6]]},"1317":{"position":[[308,6]]}},"keywords":{}}],["safeguard",{"_index":1687,"title":{},"content":{"290":{"position":[[205,12]]},"298":{"position":[[52,9]]},"377":{"position":[[197,9]]},"506":{"position":[[88,12]]},"569":{"position":[[837,12]]}},"keywords":{}}],["safeti",{"_index":966,"title":{},"content":{"74":{"position":[[91,6]]},"174":{"position":[[920,6]]},"281":{"position":[[304,6]]},"711":{"position":[[2369,6]]}},"keywords":{}}],["same",{"_index":88,"title":{},"content":{"6":{"position":[[217,4]]},"7":{"position":[[188,4]]},"16":{"position":[[247,4]]},"17":{"position":[[545,4]]},"26":{"position":[[79,4]]},"30":{"position":[[267,4]]},"32":{"position":[[133,4]]},"42":{"position":[[119,4]]},"47":{"position":[[1325,4]]},"109":{"position":[[136,4]]},"134":{"position":[[79,4]]},"203":{"position":[[362,4],[379,4]]},"210":{"position":[[657,4]]},"239":{"position":[[251,4]]},"250":{"position":[[132,4]]},"261":{"position":[[425,4],[1065,4]]},"299":{"position":[[1119,4]]},"314":{"position":[[1141,5]]},"339":{"position":[[36,4]]},"357":{"position":[[435,4]]},"358":{"position":[[289,4]]},"396":{"position":[[196,4],[1443,4]]},"397":{"position":[[96,4]]},"408":{"position":[[3012,4]]},"411":{"position":[[251,4],[4234,4],[4275,4],[4767,4]]},"412":{"position":[[2269,4],[3034,4],[3115,4],[3155,4],[5919,4]]},"416":{"position":[[277,4]]},"421":{"position":[[495,4]]},"446":{"position":[[674,4]]},"458":{"position":[[157,4]]},"461":{"position":[[1500,4]]},"467":{"position":[[587,4]]},"475":{"position":[[103,4]]},"490":{"position":[[343,4]]},"491":{"position":[[470,4],[1361,4]]},"495":{"position":[[150,4]]},"502":{"position":[[1267,4]]},"535":{"position":[[1285,4]]},"559":{"position":[[1376,4]]},"566":{"position":[[915,4]]},"570":{"position":[[543,4]]},"582":{"position":[[521,4]]},"595":{"position":[[1348,4]]},"616":{"position":[[138,4]]},"617":{"position":[[225,4]]},"624":{"position":[[218,4]]},"632":{"position":[[551,4]]},"635":{"position":[[81,4]]},"683":{"position":[[353,4]]},"684":{"position":[[126,4]]},"686":{"position":[[591,4]]},"691":{"position":[[61,4],[82,4]]},"698":{"position":[[38,4],[216,4],[761,4],[1686,4],[3244,4]]},"699":{"position":[[186,4]]},"701":{"position":[[80,4]]},"702":{"position":[[737,4]]},"740":{"position":[[302,4]]},"743":{"position":[[127,4],[178,4],[227,4]]},"749":{"position":[[1421,4],[1474,4],[5605,4],[9148,4],[14696,4]]},"756":{"position":[[295,4]]},"779":{"position":[[448,4]]},"785":{"position":[[82,4],[654,4]]},"798":{"position":[[300,4]]},"799":{"position":[[462,4]]},"817":{"position":[[264,4]]},"820":{"position":[[396,4]]},"826":{"position":[[479,4]]},"829":{"position":[[190,4]]},"830":{"position":[[57,4]]},"832":{"position":[[317,4]]},"863":{"position":[[648,4]]},"872":{"position":[[3658,4]]},"875":{"position":[[2381,4]]},"886":{"position":[[259,4],[1689,4]]},"890":{"position":[[423,4],[562,4]]},"898":{"position":[[1703,5]]},"902":{"position":[[775,4]]},"904":{"position":[[1958,4]]},"908":{"position":[[163,4]]},"918":{"position":[[1,4]]},"935":{"position":[[139,4],[172,4]]},"943":{"position":[[114,4]]},"947":{"position":[[1,4]]},"948":{"position":[[44,4],[547,4]]},"951":{"position":[[524,4]]},"961":{"position":[[101,4],[123,4]]},"964":{"position":[[62,4],[340,4]]},"966":{"position":[[70,4],[84,4],[448,4]]},"967":{"position":[[72,4]]},"981":{"position":[[1078,4],[1568,4]]},"986":{"position":[[174,4]]},"987":{"position":[[50,4],[71,4]]},"1002":{"position":[[746,4]]},"1004":{"position":[[700,4]]},"1009":{"position":[[51,4]]},"1014":{"position":[[94,4]]},"1030":{"position":[[212,4]]},"1033":{"position":[[314,4]]},"1048":{"position":[[74,4],[284,4]]},"1052":{"position":[[1,4]]},"1058":{"position":[[154,4]]},"1067":{"position":[[1778,4]]},"1072":{"position":[[796,4],[1461,4],[1504,4]]},"1088":{"position":[[287,4],[398,4],[710,4]]},"1093":{"position":[[64,4],[340,4]]},"1095":{"position":[[331,4]]},"1105":{"position":[[411,4],[575,4]]},"1115":{"position":[[626,4]]},"1121":{"position":[[154,4]]},"1135":{"position":[[83,4],[138,4],[234,4]]},"1140":{"position":[[237,4]]},"1146":{"position":[[146,4]]},"1164":{"position":[[567,4]]},"1165":{"position":[[515,4],[976,4]]},"1175":{"position":[[168,4]]},"1183":{"position":[[72,4]]},"1188":{"position":[[36,4]]},"1230":{"position":[[256,4],[310,4]]},"1233":{"position":[[78,4]]},"1267":{"position":[[558,4]]},"1271":{"position":[[1724,4]]},"1301":{"position":[[133,4]]},"1305":{"position":[[109,4]]},"1307":{"position":[[230,4]]},"1308":{"position":[[67,4]]},"1315":{"position":[[506,5],[1032,4]]},"1316":{"position":[[255,4],[599,4],[654,4],[671,4],[1049,4],[2404,4],[3380,4]]},"1318":{"position":[[204,4]]},"1321":{"position":[[848,4],[937,4],[1021,4]]}},"keywords":{}}],["sampl",{"_index":1341,"title":{"209":{"position":[[0,6]]}},"content":{"396":{"position":[[799,8],[894,6],[1861,8],[1909,8],[1979,6]]},"397":{"position":[[1418,7],[1995,7]]},"543":{"position":[[135,6]]},"603":{"position":[[133,6]]}},"keywords":{}}],["samplevector",{"_index":2379,"title":{},"content":{"397":{"position":[[1682,14]]}},"keywords":{}}],["sandbox",{"_index":1106,"title":{},"content":{"131":{"position":[[515,9]]},"433":{"position":[[110,9]]},"1206":{"position":[[130,10]]},"1215":{"position":[[569,9]]}},"keywords":{}}],["satellit",{"_index":2548,"title":{},"content":{"408":{"position":[[2429,9]]},"780":{"position":[[283,10]]}},"keywords":{}}],["satisfact",{"_index":1002,"title":{},"content":{"87":{"position":[[276,13]]},"93":{"position":[[234,12]]}},"keywords":{}}],["save",{"_index":30,"title":{"768":{"position":[[0,5]]}},"content":{"1":{"position":[[457,4]]},"2":{"position":[[123,4],[169,4]]},"3":{"position":[[143,4]]},"4":{"position":[[315,4]]},"5":{"position":[[228,4]]},"6":{"position":[[282,4],[328,4]]},"7":{"position":[[255,4]]},"9":{"position":[[168,4]]},"10":{"position":[[102,4]]},"11":{"position":[[137,4],[1023,4]]},"49":{"position":[[81,4]]},"65":{"position":[[655,5]]},"128":{"position":[[186,4]]},"352":{"position":[[128,6]]},"358":{"position":[[664,4]]},"366":{"position":[[336,6]]},"399":{"position":[[333,6]]},"412":{"position":[[7811,4],[10709,6]]},"419":{"position":[[460,6]]},"424":{"position":[[216,4]]},"445":{"position":[[2377,6]]},"537":{"position":[[65,7]]},"542":{"position":[[237,4]]},"559":{"position":[[328,5],[377,5]]},"597":{"position":[[67,4]]},"647":{"position":[[351,5]]},"661":{"position":[[547,4]]},"703":{"position":[[1421,4]]},"726":{"position":[[64,4],[113,4]]},"727":{"position":[[102,4]]},"728":{"position":[[190,4]]},"739":{"position":[[91,5]]},"749":{"position":[[10619,4]]},"767":{"position":[[394,6]]},"768":{"position":[[3,4],[44,6],[363,6],[628,4]]},"778":{"position":[[69,6]]},"866":{"position":[[48,4]]},"872":{"position":[[162,4]]},"902":{"position":[[797,7]]},"911":{"position":[[429,5]]},"1003":{"position":[[175,4]]},"1068":{"position":[[507,4]]},"1072":{"position":[[2313,5]]},"1085":{"position":[[1983,6],[3071,5],[3372,5],[3584,5]]},"1097":{"position":[[99,4]]},"1102":{"position":[[775,4]]},"1139":{"position":[[398,4]]},"1145":{"position":[[387,4]]},"1177":{"position":[[548,4]]},"1189":{"position":[[54,4]]},"1192":{"position":[[334,4]]},"1250":{"position":[[256,5]]},"1300":{"position":[[415,5]]}},"keywords":{}}],["savedatabas",{"_index":6140,"title":{},"content":{"1175":{"position":[[740,14]]}},"keywords":{}}],["sc1",{"_index":4353,"title":{},"content":{"749":{"position":[[16832,3]]}},"keywords":{}}],["sc10",{"_index":4364,"title":{},"content":{"749":{"position":[[17642,4]]}},"keywords":{}}],["sc11",{"_index":4366,"title":{},"content":{"749":{"position":[[17765,4]]}},"keywords":{}}],["sc13",{"_index":4368,"title":{},"content":{"749":{"position":[[17874,4]]}},"keywords":{}}],["sc14",{"_index":4369,"title":{},"content":{"749":{"position":[[17995,4]]}},"keywords":{}}],["sc15",{"_index":4370,"title":{},"content":{"749":{"position":[[18117,4]]}},"keywords":{}}],["sc16",{"_index":4371,"title":{},"content":{"749":{"position":[[18214,4]]}},"keywords":{}}],["sc17",{"_index":4372,"title":{},"content":{"749":{"position":[[18314,4]]}},"keywords":{}}],["sc18",{"_index":4374,"title":{},"content":{"749":{"position":[[18496,4]]}},"keywords":{}}],["sc19",{"_index":4375,"title":{},"content":{"749":{"position":[[18590,4]]}},"keywords":{}}],["sc2",{"_index":4354,"title":{},"content":{"749":{"position":[[16921,3]]}},"keywords":{}}],["sc20",{"_index":4376,"title":{},"content":{"749":{"position":[[18709,4]]}},"keywords":{}}],["sc21",{"_index":4378,"title":{},"content":{"749":{"position":[[18813,4]]}},"keywords":{}}],["sc22",{"_index":4379,"title":{},"content":{"749":{"position":[[18919,4]]}},"keywords":{}}],["sc23",{"_index":4382,"title":{},"content":{"749":{"position":[[19022,4]]}},"keywords":{}}],["sc24",{"_index":4383,"title":{},"content":{"749":{"position":[[19116,4]]}},"keywords":{}}],["sc25",{"_index":4386,"title":{},"content":{"749":{"position":[[19318,4]]}},"keywords":{}}],["sc26",{"_index":4388,"title":{},"content":{"749":{"position":[[19446,4]]}},"keywords":{}}],["sc28",{"_index":4389,"title":{},"content":{"749":{"position":[[19572,4]]}},"keywords":{}}],["sc29",{"_index":4390,"title":{},"content":{"749":{"position":[[19687,4]]}},"keywords":{}}],["sc3",{"_index":4357,"title":{},"content":{"749":{"position":[[17027,3]]}},"keywords":{}}],["sc30",{"_index":4391,"title":{},"content":{"749":{"position":[[19788,4]]}},"keywords":{}}],["sc32",{"_index":4392,"title":{},"content":{"749":{"position":[[19880,4]]}},"keywords":{}}],["sc33",{"_index":4394,"title":{},"content":{"749":{"position":[[20004,4]]}},"keywords":{}}],["sc34",{"_index":4395,"title":{},"content":{"749":{"position":[[20122,4]]}},"keywords":{}}],["sc35",{"_index":4396,"title":{},"content":{"749":{"position":[[20279,4]]}},"keywords":{}}],["sc36",{"_index":4399,"title":{},"content":{"749":{"position":[[20445,4]]}},"keywords":{}}],["sc37",{"_index":4400,"title":{},"content":{"749":{"position":[[20546,4]]}},"keywords":{}}],["sc38",{"_index":4401,"title":{},"content":{"749":{"position":[[20713,4]]}},"keywords":{}}],["sc39",{"_index":4402,"title":{},"content":{"749":{"position":[[20850,4]]}},"keywords":{}}],["sc4",{"_index":4358,"title":{},"content":{"749":{"position":[[17150,3]]}},"keywords":{}}],["sc40",{"_index":4403,"title":{},"content":{"749":{"position":[[21023,4]]}},"keywords":{}}],["sc41",{"_index":4406,"title":{},"content":{"749":{"position":[[21307,4]]}},"keywords":{}}],["sc42",{"_index":4407,"title":{},"content":{"749":{"position":[[21461,4]]}},"keywords":{}}],["sc6",{"_index":4361,"title":{},"content":{"749":{"position":[[17299,3]]}},"keywords":{}}],["sc7",{"_index":4362,"title":{},"content":{"749":{"position":[[17408,3]]}},"keywords":{}}],["sc8",{"_index":4363,"title":{},"content":{"749":{"position":[[17524,3]]}},"keywords":{}}],["scalabl",{"_index":428,"title":{"224":{"position":[[9,12]]},"623":{"position":[[0,11]]}},"content":{"26":{"position":[[281,8]]},"46":{"position":[[551,12]]},"91":{"position":[[184,11]]},"114":{"position":[[723,12]]},"118":{"position":[[192,8]]},"148":{"position":[[240,8]]},"165":{"position":[[370,8]]},"173":{"position":[[1884,11],[2071,12]]},"175":{"position":[[702,8]]},"178":{"position":[[388,12]]},"186":{"position":[[394,8]]},"198":{"position":[[239,8]]},"224":{"position":[[35,11]]},"241":{"position":[[707,8]]},"267":{"position":[[890,11],[1273,12]]},"369":{"position":[[518,12],[761,11]]},"373":{"position":[[735,8]]},"378":{"position":[[256,11]]},"395":{"position":[[16,11]]},"430":{"position":[[855,11]]},"441":{"position":[[677,8]]},"445":{"position":[[1620,12]]},"446":{"position":[[813,11]]},"447":{"position":[[426,9]]},"485":{"position":[[233,12]]},"530":{"position":[[518,12]]},"620":{"position":[[185,11],[788,12]]},"623":{"position":[[127,11],[197,8],[471,8],[640,9]]},"860":{"position":[[879,8]]},"873":{"position":[[79,8]]},"1247":{"position":[[341,8],[514,8]]},"1295":{"position":[[379,12]]}},"keywords":{}}],["scalablemor",{"_index":3420,"title":{},"content":{"560":{"position":[[530,12]]}},"keywords":{}}],["scale",{"_index":1007,"title":{"91":{"position":[[22,5]]},"487":{"position":[[7,7]]},"782":{"position":[[0,6]]},"1086":{"position":[[0,7]]},"1087":{"position":[[9,8]]},"1091":{"position":[[11,8]]},"1095":{"position":[[11,7]]}},"content":{"100":{"position":[[49,5]]},"224":{"position":[[311,5]]},"318":{"position":[[250,5]]},"353":{"position":[[388,7]]},"358":{"position":[[188,6]]},"369":{"position":[[593,6]]},"385":{"position":[[231,5]]},"386":{"position":[[115,5]]},"394":{"position":[[1421,5],[1658,5]]},"399":{"position":[[58,7]]},"411":{"position":[[544,5],[792,6],[1778,5],[3314,5],[3711,6]]},"417":{"position":[[282,6]]},"418":{"position":[[397,5]]},"477":{"position":[[75,7],[351,8]]},"483":{"position":[[390,5]]},"566":{"position":[[737,6]]},"626":{"position":[[415,6]]},"643":{"position":[[260,5]]},"772":{"position":[[379,6],[1401,6]]},"775":{"position":[[420,7]]},"782":{"position":[[256,5],[314,5]]},"793":{"position":[[886,7]]},"860":{"position":[[996,6],[1230,6]]},"1087":{"position":[[10,7],[150,7],[213,6]]},"1088":{"position":[[68,5]]},"1091":{"position":[[4,5]]},"1092":{"position":[[549,5]]},"1094":{"position":[[121,5]]},"1095":{"position":[[19,7],[98,6]]},"1321":{"position":[[477,6]]}},"keywords":{}}],["scan",{"_index":2060,"title":{"394":{"position":[[48,5]]}},"content":{"358":{"position":[[401,8]]},"394":{"position":[[1363,4]]},"398":{"position":[[126,5]]},"400":{"position":[[62,4]]},"411":{"position":[[3907,8]]},"559":{"position":[[1274,8]]}},"keywords":{}}],["scan.for",{"_index":2485,"title":{},"content":{"402":{"position":[[1391,8]]}},"keywords":{}}],["scatter",{"_index":3523,"title":{},"content":{"590":{"position":[[372,9]]}},"keywords":{}}],["scenario",{"_index":564,"title":{},"content":{"35":{"position":[[616,9]]},"98":{"position":[[59,10]]},"111":{"position":[[176,9]]},"122":{"position":[[141,10]]},"125":{"position":[[52,10]]},"126":{"position":[[348,10]]},"131":{"position":[[846,9]]},"133":{"position":[[135,10]]},"134":{"position":[[163,10]]},"162":{"position":[[726,10]]},"167":{"position":[[4,9]]},"169":{"position":[[4,9]]},"174":{"position":[[1979,9]]},"206":{"position":[[178,9]]},"225":{"position":[[42,10]]},"261":{"position":[[137,9]]},"287":{"position":[[607,9]]},"289":{"position":[[675,10],[1825,9]]},"321":{"position":[[204,9]]},"325":{"position":[[252,10]]},"336":{"position":[[492,10]]},"354":{"position":[[148,9]]},"365":{"position":[[1424,9]]},"378":{"position":[[201,9]]},"380":{"position":[[373,9]]},"411":{"position":[[383,9],[5569,9]]},"412":{"position":[[6092,9],[12238,9]]},"418":{"position":[[39,9]]},"429":{"position":[[361,9]]},"436":{"position":[[4,9]]},"439":{"position":[[200,9]]},"441":{"position":[[296,9]]},"469":{"position":[[570,9]]},"473":{"position":[[237,10]]},"482":{"position":[[1251,10]]},"491":{"position":[[1790,9]]},"502":{"position":[[1186,10]]},"504":{"position":[[1457,9]]},"516":{"position":[[103,10]]},"519":{"position":[[92,8]]},"526":{"position":[[281,10]]},"554":{"position":[[387,9]]},"582":{"position":[[464,10]]},"584":{"position":[[253,9]]},"590":{"position":[[692,10]]},"611":{"position":[[527,9]]},"612":{"position":[[217,9]]},"622":{"position":[[709,9]]},"623":{"position":[[210,9]]},"624":{"position":[[650,9]]},"631":{"position":[[96,10]]},"643":{"position":[[290,9]]},"902":{"position":[[573,10]]},"912":{"position":[[540,9]]},"1009":{"position":[[88,9]]},"1209":{"position":[[335,10]]},"1299":{"position":[[382,8]]}},"keywords":{}}],["scene",{"_index":1162,"title":{},"content":{"152":{"position":[[137,7]]},"361":{"position":[[1130,7]]}},"keywords":{}}],["scenes.offlin",{"_index":3154,"title":{},"content":{"486":{"position":[[160,14]]}},"keywords":{}}],["schedul",{"_index":6485,"title":{},"content":{"1304":{"position":[[550,8]]}},"keywords":{}}],["schema",{"_index":765,"title":{"79":{"position":[[12,6]]},"110":{"position":[[12,6]]},"240":{"position":[[9,6]]},"282":{"position":[[7,6]]},"351":{"position":[[10,6]]},"367":{"position":[[0,6],[40,6]]},"382":{"position":[[0,6]]},"636":{"position":[[0,6]]},"750":{"position":[[25,6]]},"808":{"position":[[0,6]]},"916":{"position":[[26,7]]},"936":{"position":[[0,7]]},"1075":{"position":[[29,7]]},"1260":{"position":[[9,6]]},"1285":{"position":[[0,6]]},"1287":{"position":[[11,7]]},"1291":{"position":[[2,6]]}},"content":{"51":{"position":[[248,6],[289,8],[859,7]]},"57":{"position":[[168,6],[218,6]]},"79":{"position":[[45,6]]},"110":{"position":[[25,6],[127,6]]},"174":{"position":[[2041,6],[2108,6],[2186,6]]},"188":{"position":[[1210,7]]},"209":{"position":[[393,7],[416,8]]},"211":{"position":[[354,7],[378,8]]},"240":{"position":[[87,6],[194,6],[226,6],[325,6]]},"255":{"position":[[737,7],[760,8]]},"259":{"position":[[36,7],[60,8]]},"282":{"position":[[1,6],[282,6]]},"314":{"position":[[702,7],[726,8]]},"315":{"position":[[677,7],[702,8]]},"316":{"position":[[101,7],[144,7],[167,8]]},"334":{"position":[[589,7],[612,8]]},"350":{"position":[[119,7]]},"351":{"position":[[77,6],[377,7]]},"354":{"position":[[398,6],[995,8],[1700,6]]},"356":{"position":[[731,7]]},"357":{"position":[[440,6]]},"360":{"position":[[644,6],[728,6]]},"361":{"position":[[6,7],[35,7]]},"362":{"position":[[110,8],[898,7]]},"367":{"position":[[276,6],[394,6],[679,6]]},"382":{"position":[[66,6],[277,6],[345,6]]},"392":{"position":[[561,7],[1340,6],[1425,6],[1527,7]]},"397":{"position":[[369,6],[384,6],[527,6]]},"403":{"position":[[200,6],[329,6],[432,6],[531,6],[764,7]]},"412":{"position":[[11301,6],[11536,6],[11636,6]]},"480":{"position":[[502,7],[526,8]]},"482":{"position":[[795,7]]},"502":{"position":[[29,6]]},"538":{"position":[[549,6],[590,8],[882,7]]},"544":{"position":[[202,6]]},"554":{"position":[[1216,6],[1287,7],[1317,8]]},"555":{"position":[[83,6]]},"556":{"position":[[1439,6]]},"562":{"position":[[298,8],[510,7]]},"564":{"position":[[730,7],[755,8]]},"566":{"position":[[192,6]]},"567":{"position":[[271,8]]},"579":{"position":[[597,7],[620,8]]},"595":{"position":[[692,6]]},"598":{"position":[[556,6],[597,8],[889,7]]},"604":{"position":[[174,6]]},"632":{"position":[[1487,7],[1510,8]]},"636":{"position":[[103,6],[169,6]]},"638":{"position":[[568,7],[594,8],[863,7]]},"639":{"position":[[285,7],[328,7],[350,8]]},"662":{"position":[[2372,7]]},"680":{"position":[[106,6],[763,6],[1168,7]]},"686":{"position":[[909,6]]},"702":{"position":[[190,6],[397,6]]},"717":{"position":[[1395,7],[1409,6],[1634,6]]},"720":{"position":[[109,7]]},"734":{"position":[[882,7]]},"739":{"position":[[448,7]]},"749":{"position":[[703,6],[819,6],[1933,6],[2414,6],[2531,6],[5171,6],[5443,7],[8599,6],[12348,6],[12826,6],[13074,6],[13452,6],[15209,6],[17660,6],[17783,6],[18861,6],[19508,6],[19629,6],[20064,6],[20221,6],[20387,6],[20655,6],[20792,6],[21047,6],[21099,7],[21788,6],[21928,6],[22034,6],[22087,7],[22172,6],[22390,6],[22656,7]]},"751":{"position":[[226,6],[505,7],[809,7],[1130,6],[1607,7]]},"752":{"position":[[410,7]]},"757":{"position":[[181,6],[314,6]]},"772":{"position":[[959,7]]},"789":{"position":[[204,7],[451,7]]},"791":{"position":[[60,7],[319,7]]},"792":{"position":[[187,7]]},"793":{"position":[[410,6],[996,6]]},"806":{"position":[[612,7]]},"812":{"position":[[65,7]]},"813":{"position":[[65,7]]},"818":{"position":[[531,7]]},"820":{"position":[[185,7]]},"829":{"position":[[291,6],[757,7]]},"836":{"position":[[2058,6]]},"838":{"position":[[984,6],[2586,7]]},"841":{"position":[[1114,6],[1139,7],[1175,7],[1207,7],[1253,7],[1288,7]]},"861":{"position":[[1367,6],[1538,7]]},"862":{"position":[[642,8],[843,7]]},"872":{"position":[[1807,6],[1850,7],[4080,7]]},"878":{"position":[[460,6]]},"879":{"position":[[22,6],[123,6],[356,6]]},"886":{"position":[[1726,7]]},"887":{"position":[[118,6]]},"889":{"position":[[1016,7]]},"898":{"position":[[873,6],[1640,6],[1951,6],[2430,7],[4373,6]]},"904":{"position":[[826,7],[849,8]]},"916":{"position":[[94,6],[376,7]]},"932":{"position":[[1164,6]]},"934":{"position":[[293,7]]},"936":{"position":[[5,6],[84,6],[115,7],[148,6]]},"938":{"position":[[105,6]]},"939":{"position":[[186,7]]},"942":{"position":[[86,6]]},"954":{"position":[[101,8]]},"979":{"position":[[346,7]]},"1013":{"position":[[503,7]]},"1018":{"position":[[386,7]]},"1067":{"position":[[932,7],[1526,7]]},"1074":{"position":[[17,6],[108,6]]},"1075":{"position":[[45,7]]},"1076":{"position":[[162,7]]},"1078":{"position":[[225,6]]},"1079":{"position":[[58,6]]},"1080":{"position":[[55,6]]},"1081":{"position":[[88,7]]},"1084":{"position":[[5,6],[229,6],[499,6]]},"1085":{"position":[[772,7],[890,6],[1192,7],[1761,6],[2701,6],[2753,6],[2895,7],[3011,7],[3045,6],[3195,6],[3249,6],[3417,6],[3449,6],[3570,6]]},"1100":{"position":[[575,6],[847,6],[890,6],[938,7]]},"1107":{"position":[[13,6],[509,6]]},"1108":{"position":[[309,6],[339,6]]},"1149":{"position":[[284,6],[1039,7]]},"1158":{"position":[[326,7],[350,8]]},"1164":{"position":[[690,7]]},"1222":{"position":[[463,7]]},"1237":{"position":[[181,6],[264,6],[309,6]]},"1286":{"position":[[35,6]]},"1287":{"position":[[183,6],[299,8]]},"1288":{"position":[[154,6]]},"1289":{"position":[[5,6]]},"1291":{"position":[[55,8]]},"1292":{"position":[[375,6],[733,6],[995,6]]},"1309":{"position":[[1456,7]]},"1311":{"position":[[308,8],[1006,7]]},"1319":{"position":[[68,6],[506,7]]},"1321":{"position":[[719,6]]},"1322":{"position":[[299,7]]}},"keywords":{}}],["schema"",{"_index":5814,"title":{},"content":{"1074":{"position":[[708,13]]}},"keywords":{}}],["schema'",{"_index":4441,"title":{},"content":{"751":{"position":[[82,8]]}},"keywords":{}}],["schema.do",{"_index":3871,"title":{},"content":{"680":{"position":[[213,9]]}},"keywords":{}}],["schema.html?console=qa#faq",{"_index":4206,"title":{},"content":{"749":{"position":[[5481,26]]}},"keywords":{}}],["schema.html?console=toplevel#non",{"_index":4373,"title":{},"content":{"749":{"position":[[18393,32]]}},"keywords":{}}],["schema.org",{"_index":5847,"title":{},"content":{"1084":{"position":[[278,11]]}},"keywords":{}}],["schema.schema",{"_index":6026,"title":{},"content":{"1132":{"position":[[334,13]]}},"keywords":{}}],["schema/reference/object.html#requir",{"_index":4385,"title":{},"content":{"749":{"position":[[19229,37]]}},"keywords":{}}],["schemacheck",{"_index":4355,"title":{},"content":{"749":{"position":[[16925,12],[17031,12],[17154,12],[17303,12],[17412,12],[17528,12],[17647,12],[17770,12],[17879,12],[18000,12],[18122,12],[18219,12],[18319,12],[18501,12],[18595,12],[18714,12],[18818,12],[18924,12],[19027,12],[19121,12],[19323,12],[19451,12],[19577,12],[19692,12],[19793,12],[19885,12],[20009,12]]}},"keywords":{}}],["schemaless",{"_index":5891,"title":{},"content":{"1085":{"position":[[702,10]]}},"keywords":{}}],["schemapath",{"_index":4411,"title":{},"content":{"749":{"position":[[22061,10]]}},"keywords":{}}],["schemav1",{"_index":2494,"title":{},"content":{"403":{"position":[[476,8],[772,9]]}},"keywords":{}}],["schemavers",{"_index":5375,"title":{},"content":{"954":{"position":[[120,15]]}},"keywords":{}}],["schemawithdefaultag",{"_index":5844,"title":{},"content":{"1082":{"position":[[147,20]]}},"keywords":{}}],["schemawithfinalag",{"_index":5846,"title":{},"content":{"1083":{"position":[[349,18]]}},"keywords":{}}],["schemawithindex",{"_index":5836,"title":{},"content":{"1080":{"position":[[7,17]]}},"keywords":{}}],["schemawithonetomanyrefer",{"_index":4677,"title":{},"content":{"808":{"position":[[499,28]]}},"keywords":{}}],["school/univers",{"_index":6291,"title":{},"content":{"1249":{"position":[[203,17]]}},"keywords":{}}],["scope",{"_index":1156,"title":{},"content":{"151":{"position":[[81,5]]},"302":{"position":[[538,5]]},"411":{"position":[[1711,6]]},"412":{"position":[[12588,6]]},"436":{"position":[[356,5]]},"1009":{"position":[[536,6],[564,5]]},"1311":{"position":[[1226,5]]}},"keywords":{}}],["score",{"_index":3583,"title":{},"content":{"612":{"position":[[256,7]]},"691":{"position":[[133,6],[427,6]]}},"keywords":{}}],["scratch",{"_index":4043,"title":{},"content":{"723":{"position":[[1824,8]]},"756":{"position":[[250,8]]},"1028":{"position":[[171,8]]}},"keywords":{}}],["scratch"",{"_index":5528,"title":{},"content":{"999":{"position":[[131,14]]}},"keywords":{}}],["scream",{"_index":4599,"title":{},"content":{"789":{"position":[[233,7]]},"791":{"position":[[89,7]]},"792":{"position":[[220,7]]},"1311":{"position":[[662,7],[741,8]]}},"keywords":{}}],["screen",{"_index":3216,"title":{},"content":{"500":{"position":[[170,7]]}},"keywords":{}}],["script",{"_index":1264,"title":{},"content":{"188":{"position":[[1742,6]]},"282":{"position":[[444,8]]},"301":{"position":[[204,7]]},"479":{"position":[[447,7]]},"602":{"position":[[332,7]]},"612":{"position":[[798,6],[1446,6]]},"666":{"position":[[414,7]]},"861":{"position":[[424,7],[449,6]]}},"keywords":{}}],["script.leverag",{"_index":1971,"title":{},"content":{"346":{"position":[[158,15]]}},"keywords":{}}],["sdk",{"_index":677,"title":{},"content":{"43":{"position":[[476,5]]},"412":{"position":[[947,3]]},"861":{"position":[[1112,3]]},"862":{"position":[[141,3],[204,3]]},"863":{"position":[[265,3]]},"1278":{"position":[[89,3],[182,3],[641,3]]}},"keywords":{}}],["seamless",{"_index":617,"title":{},"content":{"39":{"position":[[180,8]]},"65":{"position":[[970,8]]},"70":{"position":[[227,8]]},"82":{"position":[[95,8]]},"107":{"position":[[91,8]]},"113":{"position":[[146,8]]},"118":{"position":[[246,8]]},"125":{"position":[[292,8]]},"148":{"position":[[129,8]]},"153":{"position":[[361,8]]},"155":{"position":[[96,8]]},"186":{"position":[[219,8]]},"191":{"position":[[287,8]]},"221":{"position":[[276,8]]},"230":{"position":[[104,8]]},"240":{"position":[[316,8]]},"241":{"position":[[549,8]]},"267":{"position":[[434,8]]},"285":{"position":[[317,8]]},"288":{"position":[[259,8]]},"366":{"position":[[270,9]]},"437":{"position":[[222,8]]},"445":{"position":[[261,8],[1169,8]]},"446":{"position":[[275,8]]},"447":{"position":[[172,8]]},"483":{"position":[[1277,8]]},"489":{"position":[[113,8]]},"491":{"position":[[940,8]]},"502":{"position":[[1301,8]]},"504":{"position":[[325,8],[605,8]]},"510":{"position":[[731,8]]},"519":{"position":[[273,8]]},"530":{"position":[[101,8]]},"548":{"position":[[357,8]]},"608":{"position":[[355,8]]},"1132":{"position":[[1425,8]]}},"keywords":{}}],["seamlessli",{"_index":553,"title":{},"content":{"35":{"position":[[252,10]]},"47":{"position":[[1304,10]]},"72":{"position":[[47,10]]},"76":{"position":[[75,10]]},"89":{"position":[[309,10]]},"90":{"position":[[265,10]]},"94":{"position":[[36,10]]},"99":{"position":[[382,11]]},"110":{"position":[[145,11]]},"122":{"position":[[119,10]]},"133":{"position":[[108,10]]},"135":{"position":[[117,11]]},"157":{"position":[[72,10]]},"160":{"position":[[66,10]]},"164":{"position":[[96,10]]},"167":{"position":[[262,10]]},"173":{"position":[[1554,11],[2247,10],[2816,10]]},"174":{"position":[[530,10],[1396,10],[1918,11],[2245,10]]},"179":{"position":[[69,10]]},"183":{"position":[[190,10]]},"190":{"position":[[106,11]]},"222":{"position":[[63,10]]},"226":{"position":[[397,10]]},"237":{"position":[[210,10]]},"238":{"position":[[220,10]]},"263":{"position":[[266,11]]},"274":{"position":[[134,10]]},"280":{"position":[[372,11]]},"283":{"position":[[492,11]]},"286":{"position":[[6,10]]},"289":{"position":[[900,10]]},"292":{"position":[[114,10]]},"309":{"position":[[186,10]]},"313":{"position":[[48,10]]},"360":{"position":[[586,10]]},"364":{"position":[[154,10]]},"368":{"position":[[309,10]]},"380":{"position":[[39,10]]},"412":{"position":[[2525,10]]},"419":{"position":[[266,10]]},"445":{"position":[[1700,10],[2233,10]]},"446":{"position":[[1344,10]]},"487":{"position":[[369,10]]},"500":{"position":[[57,10],[731,10]]},"501":{"position":[[130,10]]},"502":{"position":[[166,10],[505,11]]},"510":{"position":[[158,10]]},"514":{"position":[[79,10]]},"516":{"position":[[76,10]]},"530":{"position":[[179,10]]},"535":{"position":[[963,10]]},"541":{"position":[[17,10]]},"544":{"position":[[139,11]]},"574":{"position":[[902,10]]},"575":{"position":[[549,10]]},"584":{"position":[[22,10]]},"595":{"position":[[1038,10]]},"604":{"position":[[139,11]]},"632":{"position":[[2699,10]]},"723":{"position":[[1027,10]]},"838":{"position":[[702,10]]},"912":{"position":[[185,10]]},"981":{"position":[[1386,10]]}},"keywords":{}}],["seamlessly.handl",{"_index":1919,"title":{},"content":{"321":{"position":[[214,17]]}},"keywords":{}}],["search",{"_index":1327,"title":{"394":{"position":[[0,9]]},"398":{"position":[[0,9]]},"722":{"position":[[9,6]]},"723":{"position":[[35,7]]},"724":{"position":[[24,7]]},"1023":{"position":[[18,7]]}},"content":{"205":{"position":[[227,8]]},"252":{"position":[[226,7]]},"263":{"position":[[16,9]]},"383":{"position":[[192,7],[224,6]]},"390":{"position":[[1217,7],[1692,6],[1919,6]]},"393":{"position":[[1138,6]]},"394":{"position":[[1747,6]]},"396":{"position":[[249,8],[649,7],[750,6]]},"398":{"position":[[69,8],[349,6],[565,6],[1906,6],[3027,6]]},"402":{"position":[[549,6],[1107,6],[1413,6],[1622,6],[2156,6],[2264,6],[2327,6]]},"408":{"position":[[3641,6],[4501,9],[4810,6]]},"427":{"position":[[969,8]]},"559":{"position":[[1233,9]]},"560":{"position":[[405,9]]},"566":{"position":[[270,8]]},"587":{"position":[[35,8]]},"696":{"position":[[649,6]]},"714":{"position":[[794,6]]},"723":{"position":[[11,6],[137,6],[208,6],[284,6],[392,6],[521,6],[684,6],[1152,6],[1197,6],[1353,6],[1844,6],[2131,6],[2183,9],[2219,8],[2306,9],[2515,6],[2573,6],[2776,6]]},"724":{"position":[[16,6],[653,8],[710,6],[1247,6],[1519,6],[1686,6]]},"749":{"position":[[46,6],[393,6],[520,6],[611,6],[764,6],[901,6],[1036,6],[1260,6],[1348,6],[1497,6],[1600,6],[1697,6],[1814,6],[1940,6],[2043,6],[2149,6],[2243,6],[2336,6],[2421,6],[2538,6],[2779,6],[2892,6],[3125,6],[3245,6],[3601,6],[3798,6],[3885,6],[3957,6],[4072,6],[4188,6],[4310,6],[4487,6],[4561,6],[4668,6],[4803,6],[4935,6],[5087,6],[5189,6],[5301,6],[5508,6],[6016,6],[6152,6],[6288,6],[6407,6],[6549,6],[6661,6],[6776,6],[6900,6],[7008,6],[7127,6],[7218,6],[7251,6],[7434,6],[7514,6],[7591,6],[7690,6],[7794,6],[7889,6],[7989,6],[8083,6],[8181,6],[8289,6],[8384,6],[8484,6],[8606,6],[8683,6],[8857,6],[9007,6],[9165,6],[9456,6],[9601,6],[9685,6],[9773,6],[9880,6],[9994,6],[10112,6],[10221,6],[10326,6],[10414,6],[10537,6],[10641,6],[10747,6],[10838,6],[10920,6],[11058,6],[11199,6],[11310,6],[11409,6],[11485,6],[11630,6],[11727,6],[11836,6],[12137,6],[12228,6],[12355,6],[12436,6],[12509,6],[12724,6],[12833,6],[12910,6],[13019,6],[13136,6],[13210,6],[13330,6],[13459,6],[13582,6],[13705,6],[13803,6],[13947,6],[14030,6],[14124,6],[14236,6],[14321,6],[14517,6],[14599,6],[14714,6],[14870,6],[15081,6],[15240,6],[15415,6],[15547,6],[15681,6],[15813,6],[15948,6],[16050,6],[16198,6],[16317,6],[16439,6],[16588,6],[16781,6],[16870,6],[16976,6],[17099,6],[17248,6],[17357,6],[17473,6],[17591,6],[17714,6],[17823,6],[17944,6],[18066,6],[18163,6],[18263,6],[18445,6],[18539,6],[18658,6],[18762,6],[18868,6],[18971,6],[19065,6],[19267,6],[19395,6],[19521,6],[19636,6],[19737,6],[19829,6],[19953,6],[20071,6],[20228,6],[20394,6],[20495,6],[20662,6],[20799,6],[20972,6],[21256,6],[21410,6],[21673,6],[21975,6],[22095,6],[22179,6],[22297,6],[22404,6],[22524,6],[22664,6],[22793,6],[22953,6],[23146,6],[23272,6],[23404,6],[23537,6],[23728,6],[23910,6],[24030,6],[24191,6],[24321,6],[24401,6]]},"793":{"position":[[1168,6]]},"1023":{"position":[[79,7],[169,8]]},"1065":{"position":[[195,6],[1214,6]]},"1072":{"position":[[1652,7],[1783,6],[2086,7],[2169,7],[2204,7],[2605,9]]},"1107":{"position":[[102,6]]},"1167":{"position":[[26,6]]},"1284":{"position":[[118,6]]},"1296":{"position":[[120,6]]}},"keywords":{}}],["search.us",{"_index":1561,"title":{},"content":{"252":{"position":[[282,10]]}},"keywords":{}}],["searchabl",{"_index":4052,"title":{},"content":{"724":{"position":[[803,10]]}},"keywords":{}}],["searchembed",{"_index":2399,"title":{},"content":{"398":{"position":[[954,17],[1564,17],[2240,17],[2717,17]]}},"keywords":{}}],["searchstr",{"_index":4062,"title":{},"content":{"724":{"position":[[1566,12]]}},"keywords":{}}],["second",{"_index":173,"title":{},"content":{"11":{"position":[[934,6]]},"392":{"position":[[3080,7]]},"394":{"position":[[1727,8]]},"398":{"position":[[3280,6]]},"412":{"position":[[10136,6]]},"460":{"position":[[518,6]]},"463":{"position":[[1210,7]]},"468":{"position":[[547,7]]},"571":{"position":[[1606,6]]},"612":{"position":[[2196,7]]},"653":{"position":[[765,8],[816,7]]},"656":{"position":[[264,7]]},"703":{"position":[[1007,6],[1376,7]]},"724":{"position":[[1704,6]]},"736":{"position":[[257,8]]},"739":{"position":[[79,7]]},"766":{"position":[[110,6]]},"818":{"position":[[174,7]]},"885":{"position":[[1674,6]]},"986":{"position":[[286,6]]},"988":{"position":[[1065,8]]},"996":{"position":[[523,8]]},"1300":{"position":[[938,7]]}},"keywords":{}}],["secondari",{"_index":59,"title":{},"content":{"4":{"position":[[63,9]]},"1079":{"position":[[15,9]]}},"keywords":{}}],["secondsit",{"_index":4701,"title":{},"content":{"816":{"position":[[362,9]]}},"keywords":{}}],["secret",{"_index":1900,"title":{},"content":{"315":{"position":[[666,8],[694,7]]},"551":{"position":[[265,9]]},"555":{"position":[[365,6],[602,6],[677,6]]},"564":{"position":[[719,8],[747,7]]},"638":{"position":[[557,8],[585,8]]},"717":{"position":[[1520,7],[1579,10]]},"1074":{"position":[[368,6]]},"1108":{"position":[[553,9]]}},"keywords":{}}],["secretdata",{"_index":3139,"title":{},"content":{"482":{"position":[[919,11],[982,14],[1107,10]]}},"keywords":{}}],["secretfield",{"_index":3352,"title":{},"content":{"554":{"position":[[1459,12],[1526,14]]},"555":{"position":[[339,12],[655,12]]},"638":{"position":[[703,12],[767,15]]}},"keywords":{}}],["secretinfo",{"_index":3438,"title":{},"content":{"564":{"position":[[848,11],[911,14]]}},"keywords":{}}],["secretss",{"_index":5970,"title":{},"content":{"1108":{"position":[[491,9]]}},"keywords":{}}],["section",{"_index":3231,"title":{},"content":{"502":{"position":[[1337,8]]},"617":{"position":[[448,7]]}},"keywords":{}}],["secur",{"_index":932,"title":{"290":{"position":[[33,6]]},"377":{"position":[[0,8]]},"482":{"position":[[0,8]]},"991":{"position":[[0,9]]},"1237":{"position":[[31,9]]}},"content":{"65":{"position":[[1666,6]]},"95":{"position":[[1,8]]},"139":{"position":[[231,6]]},"167":{"position":[[25,8],[192,6]]},"170":{"position":[[503,9]]},"195":{"position":[[28,9]]},"218":{"position":[[1,8],[268,8]]},"290":{"position":[[18,8],[124,6]]},"291":{"position":[[70,8],[521,7]]},"292":{"position":[[1,8],[358,7]]},"293":{"position":[[435,9]]},"294":{"position":[[16,8]]},"295":{"position":[[20,8],[130,6],[217,8],[346,8]]},"310":{"position":[[1,8],[382,9]]},"315":{"position":[[4,6]]},"318":{"position":[[627,7]]},"343":{"position":[[29,6]]},"365":{"position":[[1485,8]]},"377":{"position":[[48,8],[266,8],[314,6]]},"383":{"position":[[123,6]]},"407":{"position":[[1108,9]]},"408":{"position":[[1697,8]]},"412":{"position":[[12051,8],[12116,8]]},"450":{"position":[[198,8]]},"460":{"position":[[801,8]]},"482":{"position":[[121,6]]},"483":{"position":[[518,8],[1227,8]]},"506":{"position":[[75,8]]},"526":{"position":[[26,8]]},"544":{"position":[[291,6]]},"551":{"position":[[40,6],[206,6]]},"554":{"position":[[219,9],[1304,7]]},"556":{"position":[[1,6],[76,6],[249,8],[1537,6],[1572,6],[1771,6]]},"557":{"position":[[429,7]]},"586":{"position":[[110,8]]},"604":{"position":[[244,6]]},"616":{"position":[[857,8]]},"631":{"position":[[442,6]]},"644":{"position":[[521,6]]},"697":{"position":[[606,6]]},"709":{"position":[[733,8],[1095,8]]},"717":{"position":[[262,6]]},"718":{"position":[[85,7]]},"838":{"position":[[835,9]]},"860":{"position":[[15,7],[894,7]]},"897":{"position":[[503,8]]},"899":{"position":[[192,8]]},"901":{"position":[[467,8]]},"912":{"position":[[128,8],[712,8]]},"1112":{"position":[[602,8]]},"1206":{"position":[[633,8]]},"1237":{"position":[[78,6],[210,8]]},"1247":{"position":[[333,7],[506,7],[693,7]]},"1287":{"position":[[144,8]]},"1297":{"position":[[137,6]]}},"keywords":{}}],["securedata",{"_index":3350,"title":{},"content":{"554":{"position":[[1273,11]]}},"keywords":{}}],["securedb",{"_index":3713,"title":{},"content":{"638":{"position":[[455,11]]}},"keywords":{}}],["secureionicdb",{"_index":1898,"title":{},"content":{"315":{"position":[[563,16]]}},"keywords":{}}],["secureofflinedb",{"_index":3136,"title":{},"content":{"482":{"position":[[638,18]]}},"keywords":{}}],["securereactstorag",{"_index":3436,"title":{},"content":{"564":{"position":[[608,21]]}},"keywords":{}}],["securesetup",{"_index":3435,"title":{},"content":{"564":{"position":[[410,13]]}},"keywords":{}}],["securityrealtim",{"_index":5233,"title":{},"content":{"899":{"position":[[257,16]]}},"keywords":{}}],["see",{"_index":861,"title":{"422":{"position":[[0,3]]}},"content":{"57":{"position":[[301,3],[372,3]]},"58":{"position":[[325,3]]},"59":{"position":[[284,3]]},"301":{"position":[[375,3],[690,3]]},"304":{"position":[[442,3]]},"340":{"position":[[152,3]]},"347":{"position":[[481,3]]},"361":{"position":[[1001,4]]},"362":{"position":[[1552,3]]},"388":{"position":[[107,3]]},"394":{"position":[[1197,3]]},"408":{"position":[[4209,3]]},"411":{"position":[[4267,3]]},"412":{"position":[[5911,3],[12134,3]]},"415":{"position":[[64,3]]},"419":{"position":[[698,4]]},"420":{"position":[[43,3]]},"421":{"position":[[80,3],[614,3],[1075,3]]},"446":{"position":[[723,4]]},"464":{"position":[[842,3]]},"469":{"position":[[1289,3]]},"489":{"position":[[247,3]]},"491":{"position":[[748,3]]},"495":{"position":[[301,3],[888,3]]},"498":{"position":[[350,3]]},"544":{"position":[[260,4]]},"545":{"position":[[222,4]]},"560":{"position":[[622,4]]},"567":{"position":[[461,3]]},"591":{"position":[[636,3]]},"605":{"position":[[222,4]]},"620":{"position":[[395,3]]},"632":{"position":[[477,4]]},"724":{"position":[[1108,3]]},"749":{"position":[[194,3],[1168,3],[12663,3],[15354,3],[15518,3],[15652,3],[15784,3],[18368,3],[19173,3]]},"796":{"position":[[251,3]]},"805":{"position":[[224,3]]},"806":{"position":[[147,3]]},"831":{"position":[[543,3]]},"849":{"position":[[330,3]]},"890":{"position":[[883,3]]},"913":{"position":[[34,3],[206,3]]},"937":{"position":[[158,3]]},"938":{"position":[[137,3]]},"949":{"position":[[56,3]]},"950":{"position":[[202,3]]},"988":{"position":[[4764,3]]},"1009":{"position":[[315,4]]},"1036":{"position":[[88,3]]},"1081":{"position":[[96,3]]},"1097":{"position":[[533,4],[815,4]]},"1108":{"position":[[152,3]]},"1137":{"position":[[234,3]]},"1191":{"position":[[547,3]]},"1271":{"position":[[988,3]]}},"keywords":{}}],["seed",{"_index":1331,"title":{},"content":{"206":{"position":[[110,4]]}},"keywords":{}}],["seek",{"_index":1433,"title":{},"content":{"241":{"position":[[685,7]]},"295":{"position":[[202,7]]},"318":{"position":[[604,7]]}},"keywords":{}}],["seem",{"_index":2345,"title":{},"content":{"396":{"position":[[1218,5]]}},"keywords":{}}],["seemingli",{"_index":2056,"title":{},"content":{"358":{"position":[[153,9]]}},"keywords":{}}],["seen",{"_index":1863,"title":{},"content":{"304":{"position":[[399,4]]},"412":{"position":[[6546,4]]},"421":{"position":[[963,4]]},"701":{"position":[[200,4],[837,4]]},"839":{"position":[[162,4]]},"1116":{"position":[[54,4]]}},"keywords":{}}],["seen/edit",{"_index":5958,"title":{},"content":{"1105":{"position":[[986,11]]}},"keywords":{}}],["select",{"_index":2136,"title":{},"content":{"373":{"position":[[673,9]]},"525":{"position":[[656,6]]},"705":{"position":[[721,7]]},"749":{"position":[[10528,8]]},"759":{"position":[[1435,11]]},"821":{"position":[[1023,10]]},"829":{"position":[[247,10]]},"1215":{"position":[[333,6],[661,6]]},"1250":{"position":[[96,6]]},"1315":{"position":[[379,6]]},"1321":{"position":[[260,6]]}},"keywords":{}}],["selector",{"_index":804,"title":{},"content":{"52":{"position":[[409,9],[499,9],[646,9]]},"54":{"position":[[157,9]]},"77":{"position":[[232,9]]},"103":{"position":[[272,9]]},"130":{"position":[[512,9]]},"143":{"position":[[452,9],[633,9]]},"234":{"position":[[332,9]]},"276":{"position":[[429,9]]},"398":{"position":[[1048,9],[1210,9],[2348,9]]},"480":{"position":[[731,9]]},"502":{"position":[[938,9]]},"518":{"position":[[405,9]]},"539":{"position":[[409,9],[499,9],[646,9]]},"555":{"position":[[498,9]]},"556":{"position":[[840,9]]},"571":{"position":[[879,9]]},"580":{"position":[[506,9]]},"599":{"position":[[436,9],[526,9],[677,9]]},"662":{"position":[[2710,9],[2798,9]]},"681":{"position":[[424,8],[546,8],[659,8],[708,9],[774,8],[835,8]]},"682":{"position":[[348,9],[405,9],[462,9],[519,9]]},"683":{"position":[[758,9]]},"710":{"position":[[2017,9],[2105,9]]},"749":{"position":[[2681,8]]},"772":{"position":[[1034,9]]},"796":{"position":[[434,9],[859,9],[1152,9]]},"797":{"position":[[271,9]]},"798":{"position":[[566,9]]},"820":{"position":[[561,9],[613,9]]},"825":{"position":[[697,9]]},"829":{"position":[[2413,9],[3329,9]]},"838":{"position":[[2924,9],[3012,9]]},"950":{"position":[[279,9]]},"951":{"position":[[143,9]]},"1055":{"position":[[68,10],[211,9]]},"1056":{"position":[[122,9],[218,9]]},"1059":{"position":[[246,9]]},"1060":{"position":[[114,9]]},"1061":{"position":[[115,9]]},"1062":{"position":[[171,9]]},"1063":{"position":[[129,9],[233,9]]},"1065":{"position":[[229,9],[801,9],[1055,9],[1299,9]]},"1066":{"position":[[372,9]]},"1067":{"position":[[311,9],[806,8],[886,8],[1305,9],[1572,9],[1984,9],[2128,9]]},"1072":{"position":[[2484,9],[2662,9]]},"1102":{"position":[[659,9],[1048,9]]},"1158":{"position":[[698,9]]},"1249":{"position":[[483,9]]},"1252":{"position":[[218,8],[339,9]]}},"keywords":{}}],["self",{"_index":238,"title":{"1095":{"position":[[6,4]]}},"content":{"14":{"position":[[1109,4]]},"174":{"position":[[3046,4]]},"840":{"position":[[566,4]]},"861":{"position":[[42,4],[202,4],[267,4]]},"862":{"position":[[944,4]]},"870":{"position":[[220,4]]},"896":{"position":[[24,4]]},"1124":{"position":[[2060,4]]},"1227":{"position":[[32,4]]},"1265":{"position":[[25,4]]},"1313":{"position":[[77,4]]},"1319":{"position":[[214,4],[384,4]]}},"keywords":{}}],["sell",{"_index":475,"title":{},"content":{"29":{"position":[[114,7]]},"412":{"position":[[2851,4]]}},"keywords":{}}],["semant",{"_index":2186,"title":{},"content":{"390":{"position":[[401,8]]},"689":{"position":[[165,10]]}},"keywords":{}}],["semi",{"_index":1637,"title":{"1192":{"position":[[14,4]]}},"content":{"276":{"position":[[233,4]]},"975":{"position":[[180,4]]},"1192":{"position":[[245,4],[693,4]]}},"keywords":{}}],["send",{"_index":1339,"title":{"616":{"position":[[0,7]]},"1220":{"position":[[0,7]]}},"content":{"208":{"position":[[198,7]]},"255":{"position":[[154,4],[1109,4]]},"392":{"position":[[3431,5],[3731,4]]},"407":{"position":[[117,7]]},"408":{"position":[[2521,4],[3869,4]]},"411":{"position":[[514,5]]},"415":{"position":[[464,7]]},"458":{"position":[[1105,4],[1192,4]]},"460":{"position":[[659,7]]},"461":{"position":[[87,4]]},"463":{"position":[[909,7],[1001,4]]},"464":{"position":[[850,7]]},"466":{"position":[[286,7],[481,7]]},"476":{"position":[[251,5]]},"481":{"position":[[779,4]]},"487":{"position":[[36,7]]},"610":{"position":[[451,5]]},"611":{"position":[[447,4],[753,7]]},"612":{"position":[[339,7],[456,4],[550,7],[601,4],[2174,4]]},"613":{"position":[[216,7]]},"616":{"position":[[43,4],[112,4],[247,7],[403,4],[569,7],[675,4],[1090,7],[1177,4]]},"618":{"position":[[602,4]]},"621":{"position":[[290,4],[561,4]]},"622":{"position":[[191,7]]},"626":{"position":[[528,4]]},"670":{"position":[[111,7]]},"704":{"position":[[569,4]]},"711":{"position":[[600,4]]},"736":{"position":[[218,5],[385,4]]},"780":{"position":[[261,7],[555,7]]},"784":{"position":[[209,4]]},"846":{"position":[[1215,7]]},"849":{"position":[[171,7]]},"875":{"position":[[3583,4],[7890,4]]},"876":{"position":[[247,4]]},"882":{"position":[[16,4],[165,7]]},"885":{"position":[[354,7]]},"886":{"position":[[1501,4],[2204,4],[3033,4],[5097,4]]},"888":{"position":[[872,4]]},"890":{"position":[[367,7]]},"982":{"position":[[408,7]]},"983":{"position":[[443,4]]},"984":{"position":[[233,4]]},"986":{"position":[[1283,4]]},"987":{"position":[[449,7]]},"988":{"position":[[3234,4],[4979,7],[5290,5]]},"990":{"position":[[6,7],[71,4],[654,4]]},"993":{"position":[[244,4]]},"996":{"position":[[336,7]]},"1068":{"position":[[383,4]]},"1102":{"position":[[1221,4]]},"1174":{"position":[[586,4]]},"1218":{"position":[[176,6],[517,4],[864,4]]},"1220":{"position":[[40,4]]},"1230":{"position":[[140,7]]},"1239":{"position":[[388,7]]},"1250":{"position":[[73,4],[228,4]]},"1270":{"position":[[155,7]]},"1276":{"position":[[270,7]]},"1308":{"position":[[328,4]]},"1317":{"position":[[148,5]]}},"keywords":{}}],["send(msg",{"_index":6248,"title":{},"content":{"1218":{"position":[[502,9],[850,10]]}},"keywords":{}}],["sender",{"_index":4451,"title":{},"content":{"751":{"position":[[1249,6]]}},"keywords":{}}],["sendercountri",{"_index":4449,"title":{},"content":{"751":{"position":[[1161,15]]}},"keywords":{}}],["sendev",{"_index":3600,"title":{},"content":{"612":{"position":[[2004,9]]}},"keywords":{}}],["sendevent(messag",{"_index":3609,"title":{},"content":{"612":{"position":[[2335,19]]}},"keywords":{}}],["sens",{"_index":187,"title":{},"content":{"13":{"position":[[88,5],[281,5]]},"399":{"position":[[583,5]]},"402":{"position":[[612,5]]},"453":{"position":[[683,5]]},"454":{"position":[[580,5]]},"462":{"position":[[981,5]]},"614":{"position":[[728,5]]},"617":{"position":[[927,5]]},"682":{"position":[[141,5]]},"703":{"position":[[1098,5]]},"798":{"position":[[736,5]]},"800":{"position":[[50,5]]},"815":{"position":[[333,6]]},"821":{"position":[[210,5],[433,5],[756,5]]},"932":{"position":[[323,5]]},"1066":{"position":[[542,5]]},"1093":{"position":[[120,5]]},"1194":{"position":[[104,5]]},"1213":{"position":[[424,5]]},"1249":{"position":[[136,6]]}},"keywords":{}}],["sensit",{"_index":863,"title":{},"content":{"57":{"position":[[348,9]]},"65":{"position":[[1596,9]]},"95":{"position":[[72,9],[230,9]]},"139":{"position":[[117,9]]},"167":{"position":[[162,9]]},"173":{"position":[[1277,9]]},"195":{"position":[[146,9]]},"218":{"position":[[97,9]]},"290":{"position":[[27,9]]},"291":{"position":[[235,9]]},"310":{"position":[[52,9]]},"343":{"position":[[108,9]]},"377":{"position":[[207,9]]},"396":{"position":[[105,9],[1828,9]]},"410":{"position":[[553,9]]},"479":{"position":[[268,9]]},"482":{"position":[[34,9],[1217,9]]},"483":{"position":[[297,9]]},"506":{"position":[[101,9]]},"526":{"position":[[62,9],[255,9]]},"550":{"position":[[176,9]]},"555":{"position":[[982,9]]},"564":{"position":[[57,9]]},"586":{"position":[[27,9]]},"638":{"position":[[48,9]]},"912":{"position":[[284,9]]}},"keywords":{}}],["sensor",{"_index":3459,"title":{},"content":{"569":{"position":[[677,7]]}},"keywords":{}}],["sent",{"_index":2589,"title":{"609":{"position":[[21,4]]},"612":{"position":[[16,4]]}},"content":{"410":{"position":[[578,4]]},"450":{"position":[[368,4]]},"491":{"position":[[636,4],[1675,4]]},"612":{"position":[[8,4],[392,4]]},"613":{"position":[[322,4]]},"616":{"position":[[542,4]]},"619":{"position":[[268,4]]},"620":{"position":[[49,4]]},"621":{"position":[[196,4]]},"622":{"position":[[209,4]]},"623":{"position":[[179,4]]},"624":{"position":[[129,4]]},"628":{"position":[[109,4]]},"698":{"position":[[1773,4],[1856,4]]},"875":{"position":[[7048,4],[7976,4]]},"886":{"position":[[332,4]]},"988":{"position":[[5049,4]]},"1066":{"position":[[31,4]]}},"keywords":{}}],["sentenc",{"_index":6206,"title":{},"content":{"1208":{"position":[[1125,8]]}},"keywords":{}}],["seo",{"_index":1436,"title":{"243":{"position":[[0,3]]},"244":{"position":[[0,4]]},"245":{"position":[[4,4]]}},"content":{},"keywords":{}}],["separ",{"_index":1141,"title":{},"content":{"145":{"position":[[18,10]]},"172":{"position":[[249,8]]},"328":{"position":[[160,8]]},"392":{"position":[[2055,8],[2583,8]]},"445":{"position":[[2318,8]]},"460":{"position":[[574,8],[843,8]]},"476":{"position":[[91,8]]},"487":{"position":[[46,8],[447,8]]},"801":{"position":[[374,8]]},"829":{"position":[[316,10],[1113,8]]},"1007":{"position":[[276,8]]},"1022":{"position":[[407,8]]},"1072":{"position":[[587,8]]},"1078":{"position":[[423,9],[476,10]]},"1093":{"position":[[308,9]]}},"keywords":{}}],["sequenc",{"_index":3901,"title":{},"content":{"689":{"position":[[403,8]]}},"keywords":{}}],["sequenti",{"_index":2350,"title":{},"content":{"396":{"position":[[1608,10]]}},"keywords":{}}],["seri",{"_index":4523,"title":{},"content":{"767":{"position":[[114,6],[218,6],[319,6],[740,6]]},"768":{"position":[[97,6],[179,6],[276,6],[748,6]]},"769":{"position":[[106,6],[192,6],[293,6],[711,6]]}},"keywords":{}}],["serial",{"_index":2036,"title":{"426":{"position":[[45,14]]}},"content":{"356":{"position":[[342,6]]},"426":{"position":[[124,14]]},"464":{"position":[[937,11]]},"759":{"position":[[879,6]]},"1194":{"position":[[530,9],[603,9],[642,6]]}},"keywords":{}}],["seriou",{"_index":2578,"title":{},"content":{"408":{"position":[[5519,7]]}},"keywords":{}}],["serv",{"_index":1180,"title":{},"content":{"162":{"position":[[64,5]]},"173":{"position":[[57,6]]},"216":{"position":[[25,5]]},"267":{"position":[[1129,6]]},"333":{"position":[[171,5]]},"412":{"position":[[8373,6]]},"432":{"position":[[20,6]]},"441":{"position":[[54,6]]},"461":{"position":[[462,5]]},"479":{"position":[[500,5]]},"502":{"position":[[662,5]]},"624":{"position":[[1512,5]]},"875":{"position":[[740,6]]},"1090":{"position":[[16,5],[211,7]]},"1100":{"position":[[138,6]]},"1123":{"position":[[309,7]]},"1151":{"position":[[157,6]]},"1178":{"position":[[156,6]]},"1210":{"position":[[526,6]]},"1227":{"position":[[382,6]]},"1265":{"position":[[375,6]]},"1320":{"position":[[880,6]]}},"keywords":{}}],["server",{"_index":240,"title":{"69":{"position":[[14,6]]},"100":{"position":[[14,6]]},"132":{"position":[[49,8]]},"163":{"position":[[49,8]]},"190":{"position":[[49,8]]},"202":{"position":[[22,6]]},"288":{"position":[[50,8]]},"337":{"position":[[49,8]]},"477":{"position":[[11,6]]},"491":{"position":[[19,7]]},"525":{"position":[[49,8]]},"582":{"position":[[49,8]]},"609":{"position":[[14,6]]},"612":{"position":[[9,6]]},"623":{"position":[[16,6]]},"708":{"position":[[0,6]]},"861":{"position":[[23,7]]},"874":{"position":[[31,6]]},"877":{"position":[[5,6]]},"885":{"position":[[30,7]]},"892":{"position":[[23,7]]},"893":{"position":[[25,7]]},"902":{"position":[[52,6]]},"906":{"position":[[10,7]]},"986":{"position":[[19,7]]},"1096":{"position":[[5,6]]},"1107":{"position":[[0,6]]},"1108":{"position":[[0,6]]},"1219":{"position":[[23,7]]},"1250":{"position":[[25,8]]},"1317":{"position":[[0,6]]}},"content":{"14":{"position":[[1129,6]]},"23":{"position":[[23,6],[254,6],[285,6]]},"26":{"position":[[193,8]]},"29":{"position":[[197,7]]},"37":{"position":[[64,6]]},"38":{"position":[[312,6]]},"43":{"position":[[160,6]]},"46":{"position":[[344,6],[616,7]]},"65":{"position":[[357,7]]},"66":{"position":[[251,6]]},"67":{"position":[[46,6]]},"69":{"position":[[1,6]]},"70":{"position":[[33,6]]},"82":{"position":[[149,7]]},"87":{"position":[[136,6]]},"91":{"position":[[129,6],[226,7]]},"92":{"position":[[118,6]]},"93":{"position":[[124,7]]},"98":{"position":[[47,6]]},"99":{"position":[[66,6],[136,7]]},"100":{"position":[[1,6]]},"101":{"position":[[44,6]]},"113":{"position":[[226,8]]},"122":{"position":[[225,6]]},"123":{"position":[[73,8]]},"132":{"position":[[55,6],[245,6]]},"133":{"position":[[219,6]]},"135":{"position":[[93,6],[208,7]]},"147":{"position":[[60,8]]},"151":{"position":[[264,7]]},"153":{"position":[[411,8]]},"157":{"position":[[218,6]]},"158":{"position":[[69,8]]},"164":{"position":[[358,7]]},"165":{"position":[[114,8]]},"172":{"position":[[267,6]]},"173":{"position":[[296,6],[1748,7],[2017,6]]},"174":{"position":[[3058,8]]},"181":{"position":[[337,8]]},"183":{"position":[[226,6]]},"184":{"position":[[189,8]]},"190":{"position":[[98,7]]},"191":{"position":[[182,6]]},"192":{"position":[[116,8]]},"202":{"position":[[156,7]]},"208":{"position":[[85,8]]},"209":{"position":[[779,6],[1073,6]]},"210":{"position":[[748,6]]},"217":{"position":[[165,6]]},"220":{"position":[[111,6]]},"224":{"position":[[164,6],[263,6]]},"225":{"position":[[30,6]]},"226":{"position":[[62,6]]},"227":{"position":[[28,6]]},"228":{"position":[[1,6]]},"238":{"position":[[141,8]]},"249":{"position":[[108,6],[475,8]]},"261":{"position":[[39,7],[205,7],[569,6],[1168,6]]},"262":{"position":[[546,6]]},"279":{"position":[[158,8]]},"280":{"position":[[365,6]]},"288":{"position":[[48,7],[302,8]]},"289":{"position":[[140,8],[577,8],[822,7],[1784,7]]},"293":{"position":[[284,7]]},"318":{"position":[[689,7]]},"321":{"position":[[296,7],[323,6]]},"322":{"position":[[263,6]]},"325":{"position":[[132,8]]},"327":{"position":[[268,6]]},"338":{"position":[[186,7]]},"340":{"position":[[56,6],[72,6]]},"357":{"position":[[554,6]]},"359":{"position":[[37,7]]},"360":{"position":[[513,7]]},"365":{"position":[[944,6],[1096,6],[1235,6],[1309,7],[1525,7],[1597,7]]},"367":{"position":[[148,6]]},"369":{"position":[[1089,8]]},"370":{"position":[[199,6],[292,6]]},"375":{"position":[[336,8]]},"381":{"position":[[451,6]]},"384":{"position":[[160,6]]},"399":{"position":[[4,6],[90,8]]},"400":{"position":[[774,6]]},"407":{"position":[[97,7],[576,6]]},"408":{"position":[[2757,6],[5341,7]]},"410":{"position":[[263,6],[597,8],[812,6],[1746,6],[2010,7],[2104,6]]},"411":{"position":[[9,6],[194,6],[581,7],[698,6],[1052,6],[1483,6],[2517,6],[5164,8]]},"412":{"position":[[1067,7],[2013,6],[2211,6],[4303,7],[5234,6],[5293,6],[5803,8],[7771,6],[8322,6],[8354,6],[8852,6],[8870,7],[9069,6],[9561,7],[9768,6],[10428,8],[10829,6],[10939,6],[11155,6],[11216,6],[12159,7],[12474,6],[12966,6],[13312,6],[14128,6]]},"414":{"position":[[206,6],[345,6]]},"415":{"position":[[304,7]]},"416":{"position":[[233,6],[351,6],[482,6]]},"421":{"position":[[688,6]]},"422":{"position":[[195,6]]},"424":{"position":[[466,6]]},"444":{"position":[[655,7]]},"445":{"position":[[714,6]]},"450":{"position":[[404,7]]},"455":{"position":[[229,6]]},"457":{"position":[[179,6]]},"461":{"position":[[99,6],[293,6]]},"474":{"position":[[31,7],[248,6]]},"476":{"position":[[28,6],[244,6]]},"477":{"position":[[67,7],[252,6]]},"481":{"position":[[58,6],[154,6],[755,6],[800,6]]},"483":{"position":[[166,6],[858,6]]},"486":{"position":[[116,6]]},"487":{"position":[[7,6],[152,6],[242,6]]},"489":{"position":[[574,6]]},"490":{"position":[[134,7]]},"491":{"position":[[315,6],[362,6],[629,6],[687,6],[1558,6],[1668,6]]},"495":{"position":[[352,7],[376,6],[508,6],[534,6]]},"496":{"position":[[15,6],[84,6],[638,6]]},"497":{"position":[[354,6],[831,6]]},"504":{"position":[[583,7],[659,8],[861,8],[993,8],[1473,6]]},"514":{"position":[[252,8]]},"517":{"position":[[116,8]]},"525":{"position":[[98,6],[196,6],[492,8]]},"534":{"position":[[597,6],[660,6]]},"556":{"position":[[1676,7]]},"570":{"position":[[803,6]]},"571":{"position":[[571,9]]},"574":{"position":[[420,6],[805,7]]},"575":{"position":[[380,6],[513,6]]},"582":{"position":[[206,7],[668,6],[701,6]]},"584":{"position":[[166,7]]},"594":{"position":[[595,6],[658,6]]},"610":{"position":[[57,6],[151,6],[283,6],[357,6],[420,6],[722,6]]},"611":{"position":[[116,7],[161,7],[778,6],[804,10],[881,9]]},"612":{"position":[[1,6],[57,6],[177,6],[359,7],[385,6],[786,6],[1109,6],[1428,6],[2322,9]]},"613":{"position":[[110,8]]},"614":{"position":[[219,6],[622,6],[660,6],[883,6]]},"616":{"position":[[96,6],[445,6],[535,6],[604,7],[902,6]]},"617":{"position":[[99,6],[591,7],[673,6],[742,6],[1083,6],[2004,6],[2303,6]]},"618":{"position":[[617,7],[662,7]]},"619":{"position":[[147,6],[261,6]]},"620":{"position":[[42,6],[168,6],[360,6]]},"621":{"position":[[239,6],[316,6],[545,6]]},"622":{"position":[[170,6],[370,6],[536,6]]},"623":{"position":[[92,6],[256,6],[496,6],[744,6]]},"624":{"position":[[21,6],[122,6],[440,6],[523,6],[945,6]]},"626":{"position":[[99,6],[196,6],[1193,7]]},"628":{"position":[[102,6]]},"630":{"position":[[72,6],[441,7],[786,6]]},"632":{"position":[[210,7],[312,6],[979,6],[2019,6],[2315,6],[2460,6],[2570,6],[2717,6]]},"634":{"position":[[240,6],[433,6]]},"640":{"position":[[544,6]]},"661":{"position":[[1762,6]]},"696":{"position":[[64,6],[574,6],[1772,7]]},"698":{"position":[[163,7],[732,7],[1706,7],[1785,6]]},"703":{"position":[[1055,6]]},"708":{"position":[[215,6]]},"711":{"position":[[2076,7],[2205,7]]},"723":{"position":[[569,6]]},"736":{"position":[[205,6],[504,7]]},"751":{"position":[[1265,6]]},"756":{"position":[[317,7]]},"772":{"position":[[431,7]]},"775":{"position":[[130,6]]},"778":{"position":[[133,7],[251,6]]},"780":{"position":[[453,7],[730,6]]},"781":{"position":[[371,6],[465,6]]},"782":{"position":[[94,6],[476,7]]},"784":{"position":[[471,6]]},"785":{"position":[[147,7]]},"793":{"position":[[861,6]]},"829":{"position":[[2888,6]]},"837":{"position":[[85,6],[921,7]]},"849":{"position":[[863,6]]},"851":{"position":[[110,6],[278,6]]},"854":{"position":[[1422,6]]},"860":{"position":[[43,6]]},"861":{"position":[[65,7],[1683,6],[1882,7]]},"862":{"position":[[38,7]]},"865":{"position":[[166,6]]},"866":{"position":[[809,8]]},"872":{"position":[[145,6],[186,7],[246,7],[291,6],[519,6],[671,6],[771,7],[1670,6],[2136,7],[3029,6],[3245,6],[3554,7],[3945,8],[4388,7]]},"875":{"position":[[666,6],[699,6],[1530,6],[1762,6],[1870,6],[1970,6],[3013,6],[3614,7],[3789,7],[3908,6],[4144,6],[4897,6],[6772,6],[6854,6],[7041,6],[7124,6],[7904,6],[7969,6],[8927,6]]},"876":{"position":[[100,7],[221,7]]},"878":{"position":[[17,6],[57,6],[245,8],[359,6],[441,7]]},"879":{"position":[[36,6],[323,6]]},"880":{"position":[[67,6]]},"881":{"position":[[128,6],[331,7]]},"882":{"position":[[9,6],[223,6]]},"885":{"position":[[8,6]]},"886":{"position":[[1829,7],[2216,7],[2914,6],[3334,7],[4979,6]]},"888":{"position":[[649,6]]},"889":{"position":[[83,6]]},"890":{"position":[[648,7],[1034,6]]},"892":{"position":[[229,6],[351,6]]},"893":{"position":[[347,6]]},"896":{"position":[[36,6]]},"897":{"position":[[597,8]]},"898":{"position":[[1825,6],[2853,7]]},"901":{"position":[[197,6],[684,6]]},"902":{"position":[[41,6],[339,6],[469,8],[599,6],[849,6]]},"903":{"position":[[70,7],[212,6],[310,6],[727,6]]},"904":{"position":[[2613,6],[2644,6],[2726,6]]},"906":{"position":[[82,6],[116,6],[219,6],[289,6],[450,6],[494,6],[657,6],[794,6],[1078,7]]},"907":{"position":[[73,6]]},"981":{"position":[[22,7]]},"983":{"position":[[105,6],[956,6]]},"984":{"position":[[128,6]]},"985":{"position":[[348,6]]},"987":{"position":[[31,7]]},"988":{"position":[[448,7],[487,6],[2486,7],[3680,6],[5042,6],[5934,7]]},"990":{"position":[[1070,6]]},"996":{"position":[[455,6]]},"1002":{"position":[[972,6]]},"1005":{"position":[[217,6]]},"1006":{"position":[[303,6]]},"1007":{"position":[[478,6]]},"1024":{"position":[[70,7]]},"1080":{"position":[[1053,6]]},"1087":{"position":[[92,6],[124,7]]},"1088":{"position":[[39,7],[105,6],[317,6]]},"1089":{"position":[[30,6]]},"1090":{"position":[[1190,6]]},"1091":{"position":[[19,6]]},"1092":{"position":[[37,7],[74,6],[213,7],[337,6]]},"1093":{"position":[[318,7],[527,7]]},"1094":{"position":[[309,7],[343,6]]},"1095":{"position":[[39,7],[235,7],[348,6]]},"1097":{"position":[[53,6],[90,6],[171,6],[248,7],[322,7],[868,6]]},"1100":{"position":[[343,6],[835,6],[931,6],[993,7]]},"1101":{"position":[[87,6],[150,6],[254,6],[574,6],[732,6]]},"1102":{"position":[[1214,6]]},"1103":{"position":[[17,6],[107,6]]},"1104":{"position":[[67,6]]},"1105":{"position":[[127,7],[274,7],[416,7]]},"1106":{"position":[[328,7]]},"1107":{"position":[[167,7]]},"1108":{"position":[[107,7],[323,6],[518,6],[667,6]]},"1109":{"position":[[58,7]]},"1110":{"position":[[46,6]]},"1112":{"position":[[13,6],[536,6]]},"1123":{"position":[[627,6]]},"1124":{"position":[[1304,6],[1342,6],[2078,7]]},"1133":{"position":[[245,6]]},"1135":{"position":[[189,7]]},"1148":{"position":[[411,6]]},"1149":{"position":[[1272,7]]},"1188":{"position":[[18,7]]},"1191":{"position":[[90,6]]},"1196":{"position":[[162,7]]},"1198":{"position":[[1443,6],[1581,7],[1716,6]]},"1213":{"position":[[487,7]]},"1219":{"position":[[97,7],[451,6],[618,6]]},"1247":{"position":[[271,6],[626,6]]},"1250":{"position":[[61,7],[139,6],[154,6]]},"1295":{"position":[[43,6],[284,6],[355,7],[503,8]]},"1301":{"position":[[360,6]]},"1304":{"position":[[471,7],[669,8],[731,7],[890,6],[1017,7],[1817,6]]},"1307":{"position":[[395,6]]},"1308":{"position":[[145,7],[621,6]]},"1313":{"position":[[8,6],[245,6]]},"1314":{"position":[[327,8],[628,7]]},"1315":{"position":[[818,6]]},"1316":{"position":[[68,7],[2556,8],[2624,6]]},"1317":{"position":[[66,7],[182,7],[198,6]]},"1324":{"position":[[738,8]]}},"keywords":{}}],["server'",{"_index":3552,"title":{},"content":{"610":{"position":[[547,8]]}},"keywords":{}}],["server.addreplicationendpoint",{"_index":4965,"title":{},"content":{"872":{"position":[[3367,31]]},"1100":{"position":[[650,31]]},"1101":{"position":[[462,31]]},"1103":{"position":[[305,31]]},"1105":{"position":[[731,31]]},"1106":{"position":[[669,31]]},"1108":{"position":[[399,31]]}},"keywords":{}}],["server.addrestendpoint",{"_index":5935,"title":{},"content":{"1102":{"position":[[342,24]]}},"keywords":{}}],["server.conflict",{"_index":3172,"title":{},"content":{"491":{"position":[[1304,15]]}},"keywords":{}}],["server.graphql",{"_index":2157,"title":{},"content":{"381":{"position":[[223,14]]}},"keywords":{}}],["server.handl",{"_index":1918,"title":{},"content":{"321":{"position":[[182,13]]}},"keywords":{}}],["server.j",{"_index":6250,"title":{},"content":{"1219":{"position":[[253,9]]}},"keywords":{}}],["server.l",{"_index":1573,"title":{},"content":{"255":{"position":[[185,11]]}},"keywords":{}}],["server.no",{"_index":3410,"title":{},"content":{"559":{"position":[[1442,9]]}},"keywords":{}}],["server.push",{"_index":1338,"title":{},"content":{"208":{"position":[[185,12]]},"255":{"position":[[141,12]]}},"keywords":{}}],["server.start",{"_index":4968,"title":{},"content":{"872":{"position":[[3568,15]]}},"keywords":{}}],["server.t",{"_index":4946,"title":{},"content":{"872":{"position":[[835,9],[1530,9],[2270,9],[3090,9]]},"875":{"position":[[788,9],[2011,9],[4257,9],[7211,9]]},"1101":{"position":[[435,9]]}},"keywords":{}}],["server/blob/master/package.json",{"_index":5922,"title":{},"content":{"1097":{"position":[[569,31]]}},"keywords":{}}],["server/databas",{"_index":3164,"title":{},"content":{"491":{"position":[[206,15]]}},"keywords":{}}],["server/plugins/adapt",{"_index":4962,"title":{},"content":{"872":{"position":[[3206,22]]},"1097":{"position":[[649,22]]}},"keywords":{}}],["server/plugins/cli",{"_index":5940,"title":{},"content":{"1102":{"position":[[888,21]]}},"keywords":{}}],["server/plugins/repl",{"_index":4972,"title":{},"content":{"872":{"position":[[3918,26]]},"878":{"position":[[218,26]]}},"keywords":{}}],["server/plugins/serv",{"_index":4960,"title":{},"content":{"872":{"position":[[3137,23]]},"1097":{"position":[[368,23]]},"1098":{"position":[[208,23]]},"1099":{"position":[[190,23]]}},"keywords":{}}],["serverbasedon",{"_index":6253,"title":{},"content":{"1219":{"position":[[657,13]]}},"keywords":{}}],["serverbasedondatabas",{"_index":6252,"title":{},"content":{"1219":{"position":[[486,21]]},"1220":{"position":[[165,21]]}},"keywords":{}}],["serverdata",{"_index":5647,"title":{},"content":{"1024":{"position":[[433,10],[528,10]]}},"keywords":{}}],["serverdatacollect",{"_index":5645,"title":{},"content":{"1024":{"position":[[277,21]]}},"keywords":{}}],["serverdatacollection.upsert",{"_index":5648,"title":{},"content":{"1024":{"position":[[475,29]]}},"keywords":{}}],["serverdb",{"_index":4954,"title":{},"content":{"872":{"position":[[1738,11]]}},"keywords":{}}],["servergraphql",{"_index":6081,"title":{},"content":{"1149":{"position":[[183,13]]}},"keywords":{}}],["serveronlyfield",{"_index":5968,"title":{},"content":{"1108":{"position":[[39,16],[206,16],[256,16],[530,17],[635,17]]}},"keywords":{}}],["servers.custom",{"_index":2158,"title":{},"content":{"381":{"position":[[336,14]]}},"keywords":{}}],["servers.two",{"_index":5182,"title":{},"content":{"896":{"position":[[100,11]]}},"keywords":{}}],["serverst",{"_index":5176,"title":{},"content":{"892":{"position":[[242,11]]},"906":{"position":[[974,11]]}},"keywords":{}}],["serverstate.clos",{"_index":5178,"title":{},"content":{"892":{"position":[[364,20]]}},"keywords":{}}],["servertimestamp",{"_index":4875,"title":{},"content":{"854":{"position":[[1466,17],[1630,17]]},"857":{"position":[[161,15],[230,15],[404,16],[421,17]]},"858":{"position":[[600,16]]}},"keywords":{}}],["servertimestampfield",{"_index":4332,"title":{},"content":{"749":{"position":[[15152,20]]},"854":{"position":[[1502,20],[1608,21]]}},"keywords":{}}],["server—rxdb",{"_index":3424,"title":{},"content":{"561":{"position":[[92,11]]}},"keywords":{}}],["server’",{"_index":5210,"title":{},"content":{"898":{"position":[[1863,8]]}},"keywords":{}}],["servic",{"_index":423,"title":{"145":{"position":[[12,8]]}},"content":{"26":{"position":[[27,7]]},"36":{"position":[[446,7]]},"39":{"position":[[426,7]]},"51":{"position":[[968,8]]},"145":{"position":[[111,7],[177,7]]},"152":{"position":[[116,9]]},"249":{"position":[[62,8]]},"380":{"position":[[348,7]]},"412":{"position":[[2861,8],[12016,7]]},"417":{"position":[[389,7]]},"418":{"position":[[426,8],[656,8]]},"500":{"position":[[581,7]]},"839":{"position":[[199,8]]},"840":{"position":[[128,7]]},"871":{"position":[[664,10]]},"897":{"position":[[564,7]]},"898":{"position":[[2877,7]]},"1219":{"position":[[178,8]]},"1233":{"position":[[30,7],[52,7]]}},"keywords":{}}],["service"",{"_index":313,"title":{},"content":{"18":{"position":[[361,14]]}},"keywords":{}}],["services"",{"_index":2824,"title":{},"content":{"419":{"position":[[1871,14]]}},"keywords":{}}],["services.if",{"_index":3376,"title":{},"content":{"556":{"position":[[1633,11]]}},"keywords":{}}],["services.react",{"_index":2167,"title":{},"content":{"384":{"position":[[196,14]]}},"keywords":{}}],["servicework",{"_index":3006,"title":{},"content":{"460":{"position":[[298,13]]},"1233":{"position":[[138,14],[172,13]]}},"keywords":{}}],["session",{"_index":1751,"title":{},"content":{"299":{"position":[[541,8]]},"305":{"position":[[338,8]]},"323":{"position":[[626,9]]},"365":{"position":[[361,8],[603,9],[728,9]]},"430":{"position":[[1009,9]]},"436":{"position":[[46,7],[189,8]]},"450":{"position":[[122,7]]},"451":{"position":[[371,8]]},"559":{"position":[[948,8]]},"890":{"position":[[495,7]]}},"keywords":{}}],["sessionstorag",{"_index":2917,"title":{"436":{"position":[[16,15]]}},"content":{"436":{"position":[[95,15],[327,14]]},"451":{"position":[[721,14],[840,14]]}},"keywords":{}}],["set",{"_index":171,"title":{"48":{"position":[[0,3]]},"210":{"position":[[0,7]]},"536":{"position":[[0,3]]},"552":{"position":[[0,7]]},"554":{"position":[[3,3]]},"596":{"position":[[0,3]]},"797":{"position":[[0,3]]},"856":{"position":[[7,3]]},"862":{"position":[[0,7]]},"872":{"position":[[0,7]]},"898":{"position":[[0,7]]},"1002":{"position":[[0,7]]},"1066":{"position":[[0,7]]},"1213":{"position":[[0,7]]},"1230":{"position":[[0,3]]}},"content":{"11":{"position":[[911,8]]},"52":{"position":[[556,5]]},"84":{"position":[[384,7]]},"114":{"position":[[397,7]]},"116":{"position":[[221,3]]},"149":{"position":[[397,7]]},"175":{"position":[[388,7]]},"178":{"position":[[174,9]]},"184":{"position":[[259,7]]},"192":{"position":[[64,7]]},"241":{"position":[[170,3]]},"261":{"position":[[1002,4]]},"284":{"position":[[133,3]]},"287":{"position":[[406,3]]},"298":{"position":[[678,4]]},"301":{"position":[[94,4]]},"303":{"position":[[426,4]]},"310":{"position":[[307,4]]},"314":{"position":[[643,3]]},"329":{"position":[[134,4]]},"333":{"position":[[88,3]]},"336":{"position":[[157,3]]},"342":{"position":[[85,5]]},"346":{"position":[[776,4]]},"347":{"position":[[395,7]]},"353":{"position":[[406,4]]},"361":{"position":[[224,8]]},"362":{"position":[[1466,7]]},"367":{"position":[[896,3]]},"373":{"position":[[170,3],[647,3]]},"376":{"position":[[571,4]]},"392":{"position":[[2414,3],[4953,7]]},"396":{"position":[[901,3]]},"397":{"position":[[1501,3]]},"398":{"position":[[257,3],[1803,3]]},"402":{"position":[[938,7],[1479,3]]},"407":{"position":[[899,3]]},"411":{"position":[[1339,3]]},"412":{"position":[[2412,7],[6957,3]]},"417":{"position":[[142,4]]},"427":{"position":[[56,3]]},"430":{"position":[[1082,6]]},"450":{"position":[[207,8]]},"455":{"position":[[884,7]]},"480":{"position":[[819,3]]},"498":{"position":[[197,7]]},"502":{"position":[[1046,3]]},"511":{"position":[[397,7]]},"518":{"position":[[513,3]]},"523":{"position":[[35,3]]},"531":{"position":[[397,7]]},"536":{"position":[[1,7]]},"538":{"position":[[171,7]]},"539":{"position":[[556,5]]},"542":{"position":[[243,3]]},"554":{"position":[[265,3]]},"555":{"position":[[13,3]]},"559":{"position":[[115,3],[1654,5]]},"560":{"position":[[340,8]]},"561":{"position":[[36,4]]},"566":{"position":[[1427,8]]},"567":{"position":[[228,7]]},"571":{"position":[[850,4],[994,3]]},"575":{"position":[[671,3]]},"579":{"position":[[34,3]]},"591":{"position":[[395,7]]},"596":{"position":[[1,7]]},"598":{"position":[[172,7]]},"599":{"position":[[583,5]]},"612":{"position":[[1062,3],[1458,3],[1692,3]]},"617":{"position":[[1456,7]]},"644":{"position":[[34,3],[235,4]]},"648":{"position":[[20,4],[120,3]]},"653":{"position":[[9,3],[992,3]]},"654":{"position":[[248,7],[407,7]]},"659":{"position":[[1006,9]]},"661":{"position":[[589,3]]},"662":{"position":[[1386,9]]},"674":{"position":[[96,3]]},"678":{"position":[[314,3],[345,5]]},"680":{"position":[[227,3]]},"681":{"position":[[451,4]]},"683":{"position":[[115,4],[307,5],[901,5]]},"684":{"position":[[52,7],[192,5]]},"688":{"position":[[1007,3]]},"696":{"position":[[237,4]]},"701":{"position":[[146,3]]},"709":{"position":[[176,3],[201,4]]},"710":{"position":[[822,3]]},"711":{"position":[[1407,3]]},"717":{"position":[[938,3]]},"719":{"position":[[17,3]]},"720":{"position":[[54,3]]},"721":{"position":[[296,7],[360,3]]},"734":{"position":[[638,3],[817,3]]},"740":{"position":[[400,3]]},"746":{"position":[[212,8],[348,9],[453,8]]},"749":{"position":[[684,3],[2721,3],[3426,3],[3457,8],[5803,3],[5865,3],[10496,3],[14406,3],[16566,3],[19158,3],[20186,3],[20351,3],[20610,3],[20905,4],[21642,3],[22645,3],[22876,3]]},"754":{"position":[[435,3]]},"764":{"position":[[136,3]]},"767":{"position":[[373,3]]},"772":{"position":[[493,7],[1259,3],[1823,3]]},"775":{"position":[[337,3]]},"780":{"position":[[235,7]]},"796":{"position":[[113,4]]},"799":{"position":[[44,3]]},"806":{"position":[[86,3]]},"821":{"position":[[268,11],[889,3]]},"825":{"position":[[222,3],[250,3]]},"826":{"position":[[780,3],[878,3]]},"828":{"position":[[243,3]]},"829":{"position":[[815,7]]},"835":{"position":[[1060,8]]},"838":{"position":[[1480,3],[2366,3]]},"841":{"position":[[954,5],[1349,8]]},"848":{"position":[[940,3]]},"849":{"position":[[466,3],[787,8]]},"854":{"position":[[1445,3]]},"855":{"position":[[175,3],[276,7]]},"857":{"position":[[121,3]]},"861":{"position":[[170,3],[226,3],[2053,4],[2193,3],[2364,8],[2400,3]]},"862":{"position":[[18,3],[84,3],[1451,3]]},"867":{"position":[[170,3],[271,7]]},"870":{"position":[[252,4]]},"871":{"position":[[859,3]]},"872":{"position":[[169,3],[370,3]]},"875":{"position":[[537,8],[578,8],[2972,8],[6071,8]]},"882":{"position":[[313,3]]},"887":{"position":[[533,3]]},"890":{"position":[[302,3]]},"894":{"position":[[168,9]]},"903":{"position":[[650,7]]},"904":{"position":[[2595,3]]},"905":{"position":[[177,3]]},"908":{"position":[[220,3]]},"913":{"position":[[45,3]]},"916":{"position":[[83,3]]},"932":{"position":[[1132,3]]},"963":{"position":[[93,3]]},"964":{"position":[[119,3],[377,3]]},"965":{"position":[[330,3]]},"966":{"position":[[297,7],[338,7],[501,3]]},"982":{"position":[[590,3]]},"986":{"position":[[394,3],[1502,3]]},"987":{"position":[[1020,7]]},"988":{"position":[[677,8],[1486,3],[1830,3],[1920,7],[4815,3]]},"989":{"position":[[135,7],[259,8],[326,4]]},"1002":{"position":[[124,7],[790,7]]},"1007":{"position":[[206,7]]},"1009":{"position":[[109,4]]},"1013":{"position":[[147,3],[720,3]]},"1022":{"position":[[356,3]]},"1041":{"position":[[339,5],[370,4]]},"1043":{"position":[[117,7]]},"1047":{"position":[[112,3]]},"1048":{"position":[[158,3],[220,7],[365,7],[452,5]]},"1051":{"position":[[316,3]]},"1055":{"position":[[90,3]]},"1056":{"position":[[64,4]]},"1057":{"position":[[49,3]]},"1058":{"position":[[58,3]]},"1060":{"position":[[180,3]]},"1067":{"position":[[376,3],[1749,3],[2293,7],[2441,3]]},"1068":{"position":[[72,7]]},"1074":{"position":[[71,9],[1034,3]]},"1078":{"position":[[152,3],[596,3],[905,3]]},"1079":{"position":[[254,3]]},"1080":{"position":[[219,3],[340,3],[530,3]]},"1082":{"position":[[304,3]]},"1083":{"position":[[4,7],[504,3]]},"1084":{"position":[[408,3]]},"1085":{"position":[[1638,3],[1706,4]]},"1088":{"position":[[581,3]]},"1089":{"position":[[194,3]]},"1090":{"position":[[1311,7],[1376,9]]},"1094":{"position":[[557,7]]},"1105":{"position":[[587,4]]},"1107":{"position":[[434,3],[1039,3]]},"1108":{"position":[[56,3],[226,4]]},"1114":{"position":[[133,7]]},"1115":{"position":[[295,3],[835,3]]},"1125":{"position":[[103,3]]},"1126":{"position":[[89,3],[598,8]]},"1130":{"position":[[296,3]]},"1134":{"position":[[395,3]]},"1156":{"position":[[168,4]]},"1164":{"position":[[513,7],[745,3],[832,3]]},"1172":{"position":[[432,3]]},"1174":{"position":[[739,7]]},"1175":{"position":[[36,3]]},"1176":{"position":[[494,7]]},"1185":{"position":[[256,7]]},"1193":{"position":[[113,3]]},"1213":{"position":[[523,3],[748,3]]},"1229":{"position":[[12,7]]},"1230":{"position":[[104,3],[222,3]]},"1236":{"position":[[103,9]]},"1242":{"position":[[108,3]]},"1257":{"position":[[159,3]]},"1268":{"position":[[12,7]]},"1277":{"position":[[450,3]]},"1282":{"position":[[128,3],[1058,7]]},"1284":{"position":[[33,3]]},"1294":{"position":[[2035,3]]},"1297":{"position":[[34,3]]},"1314":{"position":[[649,3]]},"1315":{"position":[[907,4]]},"1316":{"position":[[883,3],[1100,4]]},"1318":{"position":[[645,4]]},"1321":{"position":[[756,3]]}},"keywords":{}}],["set<rxdocument>",{"_index":2393,"title":{},"content":{"398":{"position":[[804,24],[2072,24]]}},"keywords":{}}],["setdatabas",{"_index":4747,"title":{},"content":{"829":{"position":[[1432,12]]}},"keywords":{}}],["setdatabase(db",{"_index":4748,"title":{},"content":{"829":{"position":[[1544,16]]}},"keywords":{}}],["setflutterrxdatabaseconnector",{"_index":1247,"title":{},"content":{"188":{"position":[[604,32],[752,30],[1563,30]]}},"keywords":{}}],["sethead",{"_index":5172,"title":{},"content":{"890":{"position":[[228,14]]}},"keywords":{}}],["sethero",{"_index":3307,"title":{},"content":{"541":{"position":[[268,10]]},"562":{"position":[[1139,10]]}},"keywords":{}}],["setheroes(newhero",{"_index":3310,"title":{},"content":{"541":{"position":[[436,21]]},"562":{"position":[[1334,21]]}},"keywords":{}}],["setinterv",{"_index":3606,"title":{},"content":{"612":{"position":[[2223,14]]},"996":{"position":[[532,14]]}},"keywords":{}}],["setinterval(async",{"_index":4097,"title":{},"content":{"739":{"position":[[585,17]]}},"keywords":{}}],["setitem",{"_index":2867,"title":{},"content":{"425":{"position":[[167,8],[268,7]]},"451":{"position":[[194,8]]}},"keywords":{}}],["setitem('mykey",{"_index":4769,"title":{},"content":{"835":{"position":[[456,16]]}},"keywords":{}}],["setpremiumflag",{"_index":3863,"title":{},"content":{"676":{"position":[[245,16],[302,14],[355,17]]},"958":{"position":[[694,16],[757,14],[810,17]]},"1151":{"position":[[823,16],[879,14],[932,17]]},"1178":{"position":[[820,16],[876,14],[929,17]]}},"keywords":{}}],["sets.corrupt",{"_index":2064,"title":{},"content":{"358":{"position":[[606,15]]}},"keywords":{}}],["setstat",{"_index":1291,"title":{},"content":{"188":{"position":[[3251,11]]}},"keywords":{}}],["settimeout",{"_index":5271,"title":{},"content":{"910":{"position":[[427,13]]}},"keywords":{}}],["settimeout(longpol",{"_index":3562,"title":{},"content":{"610":{"position":[[1329,20]]}},"keywords":{}}],["settimeout(r",{"_index":4532,"title":{},"content":{"767":{"position":[[580,15],[989,15]]},"768":{"position":[[582,15],[991,15]]},"769":{"position":[[539,15],[960,15]]}},"keywords":{}}],["settings_max_concurrent_stream",{"_index":3647,"title":{},"content":{"617":{"position":[[1424,31]]}},"keywords":{}}],["setup",{"_index":1663,"title":{"285":{"position":[[0,5]]},"293":{"position":[[8,5]]},"480":{"position":[[6,5]]},"638":{"position":[[0,5]]},"639":{"position":[[0,5]]},"730":{"position":[[8,5]]},"875":{"position":[[0,6]]}},"content":{"285":{"position":[[285,5]]},"293":{"position":[[175,6]]},"299":{"position":[[1744,7]]},"390":{"position":[[1734,5]]},"392":{"position":[[4871,5]]},"402":{"position":[[823,6]]},"454":{"position":[[607,5]]},"463":{"position":[[52,5],[279,5]]},"477":{"position":[[141,6]]},"522":{"position":[[270,6]]},"556":{"position":[[1461,5]]},"601":{"position":[[347,5]]},"632":{"position":[[1011,5],[2081,5]]},"830":{"position":[[200,5]]},"832":{"position":[[420,5]]},"871":{"position":[[478,6]]},"886":{"position":[[887,5],[2588,5]]},"1007":{"position":[[710,6]]},"1128":{"position":[[8,5]]},"1147":{"position":[[207,7]]},"1156":{"position":[[251,6]]},"1189":{"position":[[61,6]]},"1235":{"position":[[57,5]]}},"keywords":{}}],["setup>",{"_index":3493,"title":{},"content":{"580":{"position":[[289,9]]}},"keywords":{}}],["setup.join",{"_index":5283,"title":{},"content":{"913":{"position":[[229,10]]}},"keywords":{}}],["setuprxdb",{"_index":3425,"title":{},"content":{"562":{"position":[[136,11]]}},"keywords":{}}],["setuprxdbwithsign",{"_index":3432,"title":{},"content":{"563":{"position":[[437,22]]}},"keywords":{}}],["setusernam",{"_index":3389,"title":{},"content":{"559":{"position":[[287,12]]}},"keywords":{}}],["setusername(e.target.valu",{"_index":3398,"title":{},"content":{"559":{"position":[[645,28]]}},"keywords":{}}],["sever",{"_index":479,"title":{},"content":{"29":{"position":[[213,7]]},"37":{"position":[[126,7]]},"47":{"position":[[61,7]]},"65":{"position":[[1847,7]]},"118":{"position":[[304,7]]},"137":{"position":[[13,7]]},"186":{"position":[[182,7]]},"356":{"position":[[46,7]]},"365":{"position":[[67,7]]},"425":{"position":[[124,7]]},"450":{"position":[[190,7],[289,7]]},"453":{"position":[[864,7]]},"535":{"position":[[63,7]]},"595":{"position":[[63,7]]},"836":{"position":[[1222,7]]},"849":{"position":[[398,7]]},"860":{"position":[[304,7]]},"1065":{"position":[[1596,7]]},"1079":{"position":[[448,7]]},"1085":{"position":[[1852,7]]},"1300":{"position":[[930,7]]},"1316":{"position":[[532,7]]}},"keywords":{}}],["sha256",{"_index":5403,"title":{},"content":{"968":{"position":[[382,6]]}},"keywords":{}}],["shape",{"_index":3422,"title":{},"content":{"561":{"position":[[11,6]]},"898":{"position":[[3494,5]]}},"keywords":{}}],["shard",{"_index":1843,"title":{"643":{"position":[[0,8]]},"1221":{"position":[[0,8]]},"1222":{"position":[[10,8]]},"1295":{"position":[[10,9]]}},"content":{"303":{"position":[[995,8]]},"402":{"position":[[2789,8]]},"408":{"position":[[4703,8]]},"469":{"position":[[182,8],[1188,8]]},"643":{"position":[[66,8]]},"793":{"position":[[555,8]]},"870":{"position":[[261,7]]},"871":{"position":[[866,7]]},"1222":{"position":[[68,10],[206,8],[438,8],[559,9],[587,6],[680,5],[758,6],[833,6],[935,7],[953,8],[985,5],[1077,5]]},"1238":{"position":[[150,8],[510,10]]},"1246":{"position":[[959,9],[1068,8],[1134,8],[1190,7]]},"1295":{"position":[[1,8],[211,6],[227,5],[543,9],[797,8],[929,6],[1163,8],[1295,7],[1375,6],[1456,8],[1512,8],[1552,8]]},"1304":{"position":[[2010,8]]}},"keywords":{}}],["shardedrxstorag",{"_index":6263,"title":{},"content":{"1222":{"position":[[235,16],[1440,16]]}},"keywords":{}}],["share",{"_index":432,"title":{"775":{"position":[[0,5]]}},"content":{"26":{"position":[[365,6]]},"174":{"position":[[1891,5]]},"207":{"position":[[307,7]]},"210":{"position":[[124,5]]},"289":{"position":[[972,8],[1988,7]]},"299":{"position":[[334,6]]},"306":{"position":[[292,5]]},"365":{"position":[[1335,8]]},"390":{"position":[[1444,6]]},"411":{"position":[[4208,6],[4420,6]]},"422":{"position":[[226,5]]},"450":{"position":[[263,5],[739,6]]},"458":{"position":[[273,5],[518,5],[597,5]]},"469":{"position":[[983,6]]},"471":{"position":[[1,5]]},"475":{"position":[[93,5]]},"579":{"position":[[838,5]]},"617":{"position":[[177,6],[272,6],[2120,6]]},"644":{"position":[[324,5]]},"775":{"position":[[75,5],[148,5]]},"779":{"position":[[408,5]]},"890":{"position":[[516,6]]},"913":{"position":[[313,5]]},"961":{"position":[[188,5]]},"964":{"position":[[173,7],[286,6]]},"1123":{"position":[[377,6],[398,6]]},"1124":{"position":[[1040,6],[1255,5]]},"1126":{"position":[[813,5],[883,6]]},"1225":{"position":[[111,6]]},"1226":{"position":[[441,6]]},"1227":{"position":[[5,6]]},"1228":{"position":[[155,6]]},"1230":{"position":[[71,6],[342,6]]},"1231":{"position":[[424,6]]},"1233":{"position":[[88,6]]},"1301":{"position":[[700,6]]}},"keywords":{}}],["shared/lik",{"_index":2509,"title":{},"content":{"405":{"position":[[1,11]]}},"keywords":{}}],["shared_prefer",{"_index":1245,"title":{},"content":{"188":{"position":[[382,18]]}},"keywords":{}}],["sharedwork",{"_index":2492,"title":{"1223":{"position":[[0,12]]},"1225":{"position":[[7,12]]},"1229":{"position":[[13,12]]},"1231":{"position":[[17,13]]}},"content":{"402":{"position":[[2824,12]]},"458":{"position":[[1455,12],[1573,12]]},"460":{"position":[[278,12],[365,12],[762,12]]},"721":{"position":[[38,12]]},"757":{"position":[[108,12]]},"793":{"position":[[502,12]]},"801":{"position":[[912,12]]},"1183":{"position":[[277,12],[348,12]]},"1207":{"position":[[426,13]]},"1226":{"position":[[357,12]]},"1227":{"position":[[535,14]]},"1229":{"position":[[94,12]]},"1231":{"position":[[8,12]]},"1232":{"position":[[5,12]]},"1246":{"position":[[342,13],[455,12]]},"1265":{"position":[[529,14]]},"1301":{"position":[[584,13],[600,12],[684,12],[771,12],[904,12],[1086,13]]}},"keywords":{}}],["shed",{"_index":3220,"title":{},"content":{"501":{"position":[[259,5]]}},"keywords":{}}],["shell",{"_index":4940,"title":{},"content":{"872":{"position":[[435,5]]}},"keywords":{}}],["shift",{"_index":2539,"title":{"445":{"position":[[29,5]]}},"content":{"408":{"position":[[1357,5]]},"412":{"position":[[4323,6]]},"416":{"position":[[78,6]]}},"keywords":{}}],["shim",{"_index":95,"title":{},"content":{"7":{"position":[[35,4]]}},"keywords":{}}],["ship",{"_index":2969,"title":{},"content":{"454":{"position":[[359,7]]},"496":{"position":[[495,8]]},"708":{"position":[[189,4],[427,8]]},"898":{"position":[[2904,4]]},"904":{"position":[[1762,7]]},"906":{"position":[[188,5]]},"1210":{"position":[[158,7]]},"1227":{"position":[[140,5]]},"1265":{"position":[[133,5]]},"1270":{"position":[[504,4]]},"1271":{"position":[[106,7]]},"1272":{"position":[[233,5]]},"1275":{"position":[[96,7]]}},"keywords":{}}],["short",{"_index":1166,"title":{},"content":{"153":{"position":[[7,5]]},"301":{"position":[[587,5]]},"322":{"position":[[6,6]]},"354":{"position":[[1403,6]]},"396":{"position":[[465,5]]},"408":{"position":[[1207,6]]},"412":{"position":[[7547,6],[13049,6]]},"480":{"position":[[12,5]]},"514":{"position":[[7,5]]},"570":{"position":[[666,6]]},"575":{"position":[[8,5]]},"698":{"position":[[3053,5]]},"709":{"position":[[235,5]]},"783":{"position":[[42,5]]},"948":{"position":[[70,5]]}},"keywords":{}}],["shortcom",{"_index":4775,"title":{},"content":{"836":{"position":[[1230,12]]}},"keywords":{}}],["shorten",{"_index":1825,"title":{},"content":{"303":{"position":[[336,7]]},"316":{"position":[[427,8]]},"361":{"position":[[360,8]]},"402":{"position":[[96,7],[575,10],[666,9]]},"588":{"position":[[19,8]]}},"keywords":{}}],["shorter",{"_index":1130,"title":{},"content":{"141":{"position":[[145,7]]},"639":{"position":[[151,7]]}},"keywords":{}}],["shortli",{"_index":3685,"title":{},"content":{"626":{"position":[[996,7]]}},"keywords":{}}],["shouldretri",{"_index":5144,"title":{},"content":{"886":{"position":[[4586,14]]}},"keywords":{}}],["show",{"_index":402,"title":{},"content":{"24":{"position":[[472,4]]},"31":{"position":[[207,5]]},"299":{"position":[[1280,7]]},"300":{"position":[[125,5]]},"301":{"position":[[602,5]]},"302":{"position":[[1011,4]]},"400":{"position":[[687,4]]},"408":{"position":[[3110,5]]},"410":{"position":[[1645,4]]},"411":{"position":[[5404,4]]},"412":{"position":[[3614,7],[5085,4]]},"420":{"position":[[416,4]]},"458":{"position":[[319,4]]},"474":{"position":[[68,4]]},"476":{"position":[[57,4]]},"554":{"position":[[250,7]]},"700":{"position":[[590,4]]},"752":{"position":[[289,4],[1333,4]]},"753":{"position":[[177,4]]},"832":{"position":[[307,5]]},"995":{"position":[[725,4]]},"1058":{"position":[[145,4]]},"1207":{"position":[[814,7]]},"1209":{"position":[[412,5]]},"1294":{"position":[[1840,5]]},"1298":{"position":[[418,5]]}},"keywords":{}}],["showcas",{"_index":3212,"title":{},"content":{"498":{"position":[[278,9]]},"543":{"position":[[156,10]]},"603":{"position":[[154,10]]}},"keywords":{}}],["showloadingspinn",{"_index":5514,"title":{},"content":{"995":{"position":[[1820,21]]}},"keywords":{}}],["shown",{"_index":420,"title":{},"content":{"25":{"position":[[295,5]]},"43":{"position":[[370,5]]},"400":{"position":[[127,6]]},"456":{"position":[[97,5]]},"467":{"position":[[442,5]]},"524":{"position":[[958,5]]},"610":{"position":[[1472,5]]},"611":{"position":[[969,5]]},"619":{"position":[[41,5]]},"831":{"position":[[32,5]]},"838":{"position":[[3133,5]]},"861":{"position":[[1146,5]]},"1098":{"position":[[106,5]]},"1099":{"position":[[98,5]]},"1156":{"position":[[217,5]]},"1215":{"position":[[228,5]]},"1271":{"position":[[1665,5]]},"1295":{"position":[[629,5],[758,5]]},"1296":{"position":[[1595,6]]},"1297":{"position":[[388,5]]},"1300":{"position":[[1007,5]]}},"keywords":{}}],["shrimp",{"_index":2843,"title":{},"content":{"420":{"position":[[1293,6]]}},"keywords":{}}],["shrink",{"_index":5918,"title":{},"content":{"1092":{"position":[[652,7]]}},"keywords":{}}],["shut",{"_index":352,"title":{},"content":{"20":{"position":[[131,4]]},"28":{"position":[[508,4]]},"1300":{"position":[[1175,4]]}},"keywords":{}}],["side",{"_index":206,"title":{"69":{"position":[[21,4]]},"100":{"position":[[21,4]]},"271":{"position":[[29,4]]},"278":{"position":[[37,4]]},"294":{"position":[[22,4]]},"501":{"position":[[29,4]]},"708":{"position":[[7,4]]},"1317":{"position":[[7,4]]}},"content":{"14":{"position":[[153,4]]},"16":{"position":[[77,5]]},"19":{"position":[[102,4]]},"20":{"position":[[177,4]]},"21":{"position":[[23,4]]},"22":{"position":[[326,4]]},"23":{"position":[[30,5]]},"38":{"position":[[24,4],[319,5],[384,5]]},"41":{"position":[[329,4]]},"45":{"position":[[52,4]]},"46":{"position":[[685,5]]},"66":{"position":[[258,4]]},"69":{"position":[[8,4]]},"98":{"position":[[54,4]]},"100":{"position":[[8,4]]},"101":{"position":[[51,4]]},"120":{"position":[[18,4]]},"139":{"position":[[153,4]]},"153":{"position":[[49,4]]},"157":{"position":[[183,4]]},"172":{"position":[[41,4]]},"181":{"position":[[18,4]]},"188":{"position":[[1057,4]]},"225":{"position":[[37,4]]},"227":{"position":[[35,4]]},"228":{"position":[[8,4]]},"244":{"position":[[655,4]]},"249":{"position":[[375,4]]},"271":{"position":[[117,4],[226,4]]},"278":{"position":[[71,4]]},"280":{"position":[[40,4]]},"293":{"position":[[47,4]]},"320":{"position":[[225,4]]},"321":{"position":[[516,4]]},"325":{"position":[[18,4]]},"359":{"position":[[78,4]]},"365":{"position":[[951,4]]},"370":{"position":[[206,5],[299,4]]},"384":{"position":[[167,4]]},"399":{"position":[[11,4]]},"400":{"position":[[781,4]]},"402":{"position":[[1470,5]]},"408":{"position":[[4378,4],[5307,4]]},"410":{"position":[[687,4],[2111,4]]},"412":{"position":[[189,5],[4356,5],[4397,4],[8926,4],[9020,5],[10523,4],[10836,6],[14135,4],[14269,5],[14427,4],[14999,4]]},"424":{"position":[[473,4]]},"434":{"position":[[42,4]]},"435":{"position":[[59,4]]},"455":{"position":[[95,4],[212,5],[236,4]]},"457":{"position":[[186,4]]},"464":{"position":[[984,6]]},"478":{"position":[[68,4]]},"495":{"position":[[827,4]]},"496":{"position":[[853,5]]},"501":{"position":[[104,4]]},"502":{"position":[[87,4],[382,5]]},"534":{"position":[[643,5]]},"571":{"position":[[35,4]]},"575":{"position":[[159,4]]},"594":{"position":[[641,5]]},"610":{"position":[[1446,4]]},"612":{"position":[[708,4],[793,4],[1116,4],[1435,5]]},"626":{"position":[[589,4]]},"628":{"position":[[143,4]]},"632":{"position":[[319,4],[2724,4],[2740,4]]},"663":{"position":[[133,4]]},"698":{"position":[[1758,4]]},"699":{"position":[[81,4],[126,5],[776,4]]},"712":{"position":[[152,4]]},"784":{"position":[[588,4],[630,5]]},"829":{"position":[[2895,4]]},"837":{"position":[[307,4]]},"842":{"position":[[267,4]]},"860":{"position":[[256,4],[1049,5]]},"862":{"position":[[70,4]]},"871":{"position":[[192,4],[238,5]]},"872":{"position":[[1677,4],[3633,4]]},"875":{"position":[[673,5],[3595,4]]},"885":{"position":[[15,5]]},"981":{"position":[[30,5],[1103,4],[1255,5]]},"983":{"position":[[455,4]]},"988":{"position":[[3337,4],[4666,4]]},"991":{"position":[[22,4]]},"1007":{"position":[[485,5]]},"1072":{"position":[[147,4],[692,5],[1241,4]]},"1080":{"position":[[1060,5]]},"1088":{"position":[[324,4]]},"1100":{"position":[[842,4],[885,4]]},"1101":{"position":[[191,4]]},"1107":{"position":[[1078,4]]},"1112":{"position":[[249,4]]},"1124":{"position":[[1367,5],[1419,5]]},"1148":{"position":[[418,5]]},"1191":{"position":[[97,4]]},"1196":{"position":[[17,4],[137,4]]},"1198":{"position":[[105,4],[1450,5]]},"1206":{"position":[[528,4]]},"1218":{"position":[[200,5],[878,4]]},"1247":{"position":[[278,5],[633,5]]},"1249":{"position":[[306,4]]},"1250":{"position":[[293,4],[376,4]]},"1295":{"position":[[50,4],[291,4]]},"1305":{"position":[[132,4]]},"1308":{"position":[[302,5]]},"1313":{"position":[[15,5],[252,4]]},"1316":{"position":[[1943,4]]},"1317":{"position":[[26,4]]},"1319":{"position":[[626,4]]},"1321":{"position":[[58,4]]},"1324":{"position":[[63,4]]}},"keywords":{}}],["side.en",{"_index":5196,"title":{},"content":{"898":{"position":[[719,11]]}},"keywords":{}}],["side/offlin",{"_index":2762,"title":{},"content":{"412":{"position":[[13451,12]]}},"keywords":{}}],["sidestep",{"_index":2519,"title":{},"content":{"407":{"position":[[548,8]]}},"keywords":{}}],["side—or",{"_index":2054,"title":{},"content":{"357":{"position":[[561,7]]}},"keywords":{}}],["sign",{"_index":849,"title":{},"content":{"55":{"position":[[1024,4]]},"542":{"position":[[733,4]]},"749":{"position":[[6544,4]]},"826":{"position":[[60,4],[248,5]]},"1117":{"position":[[280,4]]},"1118":{"position":[[24,4]]}},"keywords":{}}],["signal",{"_index":826,"title":{"55":{"position":[[13,8]]},"144":{"position":[[30,7]]},"542":{"position":[[12,8]]},"563":{"position":[[21,7]]},"602":{"position":[[10,8]]},"822":{"position":[[0,7]]},"831":{"position":[[0,8]]},"906":{"position":[[0,9]]},"1118":{"position":[[13,7]]}},"content":{"55":{"position":[[9,7],[142,7],[243,7],[1043,6]]},"144":{"position":[[80,7]]},"261":{"position":[[559,9]]},"494":{"position":[[29,7],[128,7],[230,6],[599,6]]},"540":{"position":[[215,8]]},"542":{"position":[[27,7],[107,7],[267,7],[369,9],[674,7]]},"563":{"position":[[129,8],[411,9],[620,6],[745,7],[853,7],[869,7],[1091,8]]},"566":{"position":[[591,7]]},"567":{"position":[[563,8],[749,7],[819,7]]},"602":{"position":[[52,8],[174,7]]},"614":{"position":[[873,9]]},"804":{"position":[[19,7]]},"825":{"position":[[45,7],[510,6],[985,6],[1070,7]]},"826":{"position":[[380,6],[437,6],[499,6],[538,6],[592,6],[625,6],[688,6],[740,6],[800,6],[838,6],[898,6],[959,6],[1019,6],[1057,6],[1103,6]]},"831":{"position":[[109,8],[295,6]]},"902":{"position":[[681,9]]},"903":{"position":[[300,9]]},"904":{"position":[[2603,9]]},"906":{"position":[[72,9],[106,9],[209,9],[440,9],[484,9],[647,9],[784,9],[1068,9]]},"907":{"position":[[63,9]]},"1117":{"position":[[132,7]]},"1118":{"position":[[82,7],[228,8],[315,7]]}},"keywords":{}}],["signaldb",{"_index":657,"title":{"42":{"position":[[0,9]]}},"content":{"42":{"position":[[1,8],[276,8]]}},"keywords":{}}],["signalingserverurl",{"_index":1368,"title":{},"content":{"210":{"position":[[393,19]]},"261":{"position":[[576,19]]},"904":{"position":[[2742,19]]},"911":{"position":[[720,19]]}},"keywords":{}}],["signatur",{"_index":6365,"title":{},"content":{"1281":{"position":[[205,10]]}},"keywords":{}}],["signific",{"_index":911,"title":{},"content":{"65":{"position":[[449,11]]},"69":{"position":[[42,11]]},"100":{"position":[[80,11]]},"228":{"position":[[49,11]]},"331":{"position":[[128,11]]},"394":{"position":[[1386,11]]},"412":{"position":[[39,11],[7165,11]]},"427":{"position":[[140,11]]},"430":{"position":[[490,11]]},"533":{"position":[[42,11]]},"593":{"position":[[42,11]]},"611":{"position":[[373,11]]},"618":{"position":[[178,11]]},"624":{"position":[[1627,11]]},"821":{"position":[[951,11]]},"1072":{"position":[[2779,11]]},"1296":{"position":[[52,12]]}},"keywords":{}}],["significantli",{"_index":918,"title":{},"content":{"65":{"position":[[843,13]]},"92":{"position":[[137,13]]},"166":{"position":[[259,13]]},"169":{"position":[[147,13]]},"173":{"position":[[1761,13]]},"178":{"position":[[350,13]]},"204":{"position":[[261,13]]},"234":{"position":[[217,13]]},"251":{"position":[[274,13]]},"265":{"position":[[222,13]]},"299":{"position":[[30,13],[1466,14]]},"311":{"position":[[30,13]]},"316":{"position":[[460,13]]},"369":{"position":[[931,13]]},"400":{"position":[[174,13]]},"401":{"position":[[719,13]]},"408":{"position":[[2550,13]]},"411":{"position":[[2440,13]]},"432":{"position":[[367,13]]},"446":{"position":[[1380,13]]},"464":{"position":[[1120,14]]},"621":{"position":[[680,13]]},"623":{"position":[[69,13]]},"641":{"position":[[168,13]]},"800":{"position":[[545,14]]},"801":{"position":[[46,13]]},"1072":{"position":[[374,13]]},"1124":{"position":[[1458,14]]}},"keywords":{}}],["significantly.compress",{"_index":3095,"title":{},"content":{"469":{"position":[[1034,25]]}},"keywords":{}}],["silent",{"_index":1780,"title":{},"content":{"300":{"position":[[717,8]]}},"keywords":{}}],["similar",{"_index":189,"title":{},"content":{"13":{"position":[[102,7]]},"16":{"position":[[160,7]]},"18":{"position":[[104,7]]},"23":{"position":[[465,7]]},"299":{"position":[[747,7],[1033,7]]},"347":{"position":[[620,8]]},"362":{"position":[[1691,8]]},"390":{"position":[[410,11],[715,7],[822,7],[1206,10],[1334,7],[1681,10]]},"393":{"position":[[159,10],[260,11],[284,10]]},"394":{"position":[[214,7],[454,11],[1074,10],[1269,7]]},"396":{"position":[[154,7],[1245,7],[1265,7],[1368,7]]},"398":{"position":[[338,10],[481,10]]},"400":{"position":[[83,10],[144,10]]},"411":{"position":[[3787,7]]},"412":{"position":[[7736,8]]},"455":{"position":[[218,7]]},"462":{"position":[[395,7]]},"465":{"position":[[445,7]]},"470":{"position":[[312,7]]},"570":{"position":[[879,7]]},"621":{"position":[[745,7]]},"659":{"position":[[119,7]]},"693":{"position":[[377,7]]},"704":{"position":[[145,7]]},"705":{"position":[[222,7]]},"711":{"position":[[210,7]]},"801":{"position":[[117,7]]},"802":{"position":[[46,7]]},"835":{"position":[[61,7]]},"861":{"position":[[1833,7]]},"936":{"position":[[99,7]]},"948":{"position":[[332,7]]},"975":{"position":[[75,7]]},"1071":{"position":[[67,7]]},"1112":{"position":[[358,7]]},"1124":{"position":[[569,7]]},"1143":{"position":[[541,8]]},"1212":{"position":[[159,7]]},"1305":{"position":[[446,7]]},"1318":{"position":[[300,7]]},"1321":{"position":[[801,7]]}},"keywords":{}}],["similarli",{"_index":1798,"title":{},"content":{"302":{"position":[[126,9]]},"410":{"position":[[2050,10]]},"411":{"position":[[4679,10]]},"1007":{"position":[[673,9]]}},"keywords":{}}],["simpl",{"_index":440,"title":{"1239":{"position":[[26,6]]}},"content":{"27":{"position":[[180,6]]},"34":{"position":[[91,7]]},"35":{"position":[[81,7]]},"51":{"position":[[54,6]]},"57":{"position":[[8,6]]},"63":{"position":[[114,6]]},"120":{"position":[[222,6]]},"181":{"position":[[122,6]]},"203":{"position":[[58,6]]},"223":{"position":[[168,6]]},"255":{"position":[[58,6]]},"314":{"position":[[7,6]]},"320":{"position":[[19,6]]},"358":{"position":[[163,7]]},"395":{"position":[[423,7]]},"412":{"position":[[3412,6],[12400,6]]},"414":{"position":[[309,6]]},"424":{"position":[[169,6],[249,6]]},"426":{"position":[[42,6]]},"427":{"position":[[484,6]]},"429":{"position":[[547,6]]},"451":{"position":[[114,6]]},"462":{"position":[[205,6]]},"491":{"position":[[576,6],[1631,6]]},"538":{"position":[[184,6]]},"560":{"position":[[23,7],[585,6]]},"567":{"position":[[1153,6]]},"598":{"position":[[185,6]]},"610":{"position":[[1461,7]]},"612":{"position":[[1701,6]]},"659":{"position":[[58,7],[984,6]]},"688":{"position":[[873,6]]},"689":{"position":[[464,6]]},"709":{"position":[[302,6]]},"723":{"position":[[2243,6]]},"772":{"position":[[530,7]]},"784":{"position":[[694,6],[842,6]]},"835":{"position":[[1048,6]]},"838":{"position":[[2239,6]]},"839":{"position":[[334,7]]},"875":{"position":[[144,6]]},"898":{"position":[[1763,6]]},"904":{"position":[[1732,6],[2369,6],[2404,7],[2522,7]]},"906":{"position":[[252,6]]},"910":{"position":[[92,6]]},"981":{"position":[[176,6],[299,6]]},"1074":{"position":[[789,6]]},"1080":{"position":[[868,6]]},"1085":{"position":[[2497,6]]},"1115":{"position":[[67,6]]},"1124":{"position":[[1923,6]]},"1235":{"position":[[50,6]]},"1239":{"position":[[83,6]]},"1272":{"position":[[356,7]]},"1284":{"position":[[373,6]]},"1317":{"position":[[674,6]]}},"keywords":{}}],["simplep",{"_index":4334,"title":{"910":{"position":[[0,10]]}},"content":{"749":{"position":[[15295,10]]}},"keywords":{}}],["simpler",{"_index":1197,"title":{"478":{"position":[[3,7]]}},"content":{"173":{"position":[[420,7]]},"207":{"position":[[350,7]]},"282":{"position":[[307,7]]},"362":{"position":[[758,8]]},"432":{"position":[[62,7]]},"534":{"position":[[494,7]]},"594":{"position":[[492,7]]},"688":{"position":[[284,7]]},"838":{"position":[[526,7]]},"860":{"position":[[810,7]]}},"keywords":{}}],["simplest",{"_index":3188,"title":{},"content":{"496":{"position":[[30,8]]},"1157":{"position":[[517,8]]}},"keywords":{}}],["simpli",{"_index":727,"title":{},"content":{"47":{"position":[[393,6]]},"302":{"position":[[223,6]]},"310":{"position":[[185,6]]},"408":{"position":[[1448,6]]},"409":{"position":[[238,6]]},"412":{"position":[[1617,6],[2580,6],[6779,6]]},"421":{"position":[[668,6]]},"535":{"position":[[350,6]]},"585":{"position":[[8,6]]},"759":{"position":[[1354,6]]},"1189":{"position":[[115,6]]}},"keywords":{}}],["simplic",{"_index":626,"title":{},"content":{"39":{"position":[[486,10]]},"179":{"position":[[282,10]]},"429":{"position":[[242,10]]},"441":{"position":[[114,10]]},"860":{"position":[[1055,10]]},"875":{"position":[[4859,10],[5627,10]]},"1156":{"position":[[1,11]]}},"keywords":{}}],["simplifi",{"_index":973,"title":{"223":{"position":[[0,10]]},"348":{"position":[[41,8]]}},"content":{"77":{"position":[[170,10]]},"79":{"position":[[61,11]]},"89":{"position":[[19,8]]},"96":{"position":[[154,10]]},"104":{"position":[[190,11]]},"132":{"position":[[92,10]]},"158":{"position":[[6,10]]},"165":{"position":[[51,8]]},"170":{"position":[[257,10]]},"173":{"position":[[1039,10],[3167,10]]},"174":{"position":[[367,10],[2810,10]]},"184":{"position":[[233,10]]},"192":{"position":[[40,8]]},"198":{"position":[[192,10]]},"219":{"position":[[273,10]]},"279":{"position":[[110,10]]},"293":{"position":[[114,10]]},"354":{"position":[[409,8]]},"364":{"position":[[794,11]]},"411":{"position":[[1152,10],[1842,10]]},"433":{"position":[[366,8]]},"445":{"position":[[1313,10]]},"515":{"position":[[360,10]]},"518":{"position":[[273,8]]},"523":{"position":[[59,8]]},"560":{"position":[[627,10]]},"576":{"position":[[118,10]]},"585":{"position":[[157,8]]},"591":{"position":[[524,11]]},"860":{"position":[[55,10]]},"1085":{"position":[[3470,10]]},"1094":{"position":[[546,10]]}},"keywords":{}}],["simul",{"_index":1786,"title":{},"content":{"301":{"position":[[470,8],[538,8]]},"346":{"position":[[621,8]]},"453":{"position":[[230,9]]},"590":{"position":[[753,10]]},"614":{"position":[[672,9]]},"749":{"position":[[5760,8]]}},"keywords":{}}],["simultan",{"_index":1115,"title":{},"content":{"134":{"position":[[89,15]]},"267":{"position":[[650,14]]},"328":{"position":[[299,15]]},"411":{"position":[[411,12]]},"446":{"position":[[684,15]]},"566":{"position":[[873,14]]},"582":{"position":[[535,15]]},"617":{"position":[[536,12],[784,14]]},"1307":{"position":[[203,12]]}},"keywords":{}}],["sincer",{"_index":6089,"title":{},"content":{"1151":{"position":[[323,9]]},"1178":{"position":[[322,9]]}},"keywords":{}}],["singl",{"_index":736,"title":{"304":{"position":[[24,6]]},"1048":{"position":[[23,6]]},"1092":{"position":[[0,6]]}},"content":{"47":{"position":[[835,6]]},"116":{"position":[[111,6]]},"177":{"position":[[180,6]]},"188":{"position":[[1676,6]]},"202":{"position":[[390,6]]},"207":{"position":[[379,6]]},"287":{"position":[[29,6]]},"303":{"position":[[64,6],[1299,6]]},"304":{"position":[[357,6]]},"346":{"position":[[380,6]]},"354":{"position":[[351,6]]},"358":{"position":[[50,6],[630,6]]},"362":{"position":[[576,6]]},"367":{"position":[[141,6]]},"376":{"position":[[379,6]]},"381":{"position":[[559,6]]},"386":{"position":[[81,6]]},"393":{"position":[[793,6]]},"395":{"position":[[431,6]]},"401":{"position":[[50,6]]},"404":{"position":[[758,6]]},"411":{"position":[[1300,6],[2037,6],[2138,6]]},"412":{"position":[[1499,6],[1724,6],[4273,6],[5603,6],[5697,6],[12806,6]]},"416":{"position":[[336,6]]},"421":{"position":[[302,6]]},"455":{"position":[[396,6]]},"457":{"position":[[377,6]]},"458":{"position":[[1566,6]]},"463":{"position":[[849,6],[1178,6]]},"464":{"position":[[1075,6]]},"465":{"position":[[80,6]]},"466":{"position":[[443,6]]},"469":{"position":[[383,6]]},"478":{"position":[[232,6]]},"487":{"position":[[78,6]]},"559":{"position":[[1221,6]]},"611":{"position":[[63,7]]},"612":{"position":[[409,6],[560,6]]},"617":{"position":[[601,6],[1239,6],[1320,6],[2098,6]]},"621":{"position":[[83,7]]},"622":{"position":[[662,6]]},"662":{"position":[[188,6]]},"682":{"position":[[64,6],[204,6]]},"696":{"position":[[662,6]]},"698":{"position":[[1691,6],[2415,6]]},"699":{"position":[[834,6]]},"700":{"position":[[38,6]]},"701":{"position":[[643,6],[975,6]]},"710":{"position":[[223,6]]},"724":{"position":[[856,6]]},"754":{"position":[[621,6]]},"781":{"position":[[793,6]]},"783":{"position":[[260,6]]},"785":{"position":[[494,6]]},"795":{"position":[[99,6]]},"826":{"position":[[46,6]]},"838":{"position":[[217,6]]},"849":{"position":[[429,6]]},"875":{"position":[[288,6]]},"886":{"position":[[2926,6]]},"898":{"position":[[2739,6]]},"904":{"position":[[1861,6],[3234,6]]},"941":{"position":[[195,6]]},"944":{"position":[[543,6]]},"950":{"position":[[61,6],[117,6]]},"964":{"position":[[81,6],[404,6],[428,6],[491,6]]},"988":{"position":[[36,6]]},"1007":{"position":[[20,6]]},"1038":{"position":[[17,6]]},"1056":{"position":[[28,6]]},"1074":{"position":[[245,6]]},"1084":{"position":[[145,6]]},"1087":{"position":[[85,6]]},"1091":{"position":[[34,6]]},"1100":{"position":[[160,6]]},"1114":{"position":[[408,6]]},"1116":{"position":[[68,6],[161,6],[367,6]]},"1119":{"position":[[245,6]]},"1124":{"position":[[768,6]]},"1132":{"position":[[292,6]]},"1140":{"position":[[275,6]]},"1161":{"position":[[150,6]]},"1164":{"position":[[239,6]]},"1170":{"position":[[149,6]]},"1180":{"position":[[150,6]]},"1183":{"position":[[430,6]]},"1186":{"position":[[83,6],[215,6]]},"1194":{"position":[[298,6],[381,6],[489,6],[763,6],[988,6]]},"1238":{"position":[[268,6]]},"1295":{"position":[[991,6],[1184,6]]},"1296":{"position":[[678,6],[1514,6]]},"1299":{"position":[[348,6]]},"1304":{"position":[[464,6],[1552,6]]},"1307":{"position":[[266,6]]},"1315":{"position":[[1185,6]]},"1316":{"position":[[2617,6]]},"1317":{"position":[[723,6]]},"1319":{"position":[[441,6]]},"1321":{"position":[[336,6]]},"1323":{"position":[[59,6],[137,6]]},"1324":{"position":[[1002,6]]}},"keywords":{}}],["site",{"_index":1869,"title":{},"content":{"305":{"position":[[213,5]]},"402":{"position":[[2134,5]]},"408":{"position":[[1103,4]]},"412":{"position":[[7940,4],[8128,4]]},"421":{"position":[[228,5],[366,5],[560,5]]},"736":{"position":[[285,5]]},"781":{"position":[[183,5]]},"1140":{"position":[[44,5],[163,5]]}},"keywords":{}}],["situat",{"_index":1787,"title":{},"content":{"301":{"position":[[495,11]]},"430":{"position":[[106,10]]},"497":{"position":[[83,10]]},"612":{"position":[[271,9]]},"1003":{"position":[[86,10]]},"1300":{"position":[[614,11]]}},"keywords":{}}],["six",{"_index":3630,"title":{},"content":{"617":{"position":[[28,3],[153,3],[283,3]]}},"keywords":{}}],["size",{"_index":958,"title":{"69":{"position":[[6,4]]},"100":{"position":[[6,4]]},"228":{"position":[[6,4]]},"297":{"position":[[22,4]]},"303":{"position":[[29,4]]},"304":{"position":[[14,4]]},"461":{"position":[[8,4]]},"782":{"position":[[17,5]]},"1186":{"position":[[6,4]]}},"content":{"69":{"position":[[60,5]]},"100":{"position":[[98,5],[323,6]]},"141":{"position":[[191,5]]},"169":{"position":[[28,4]]},"197":{"position":[[119,4]]},"227":{"position":[[72,5]]},"228":{"position":[[67,5],[134,4],[346,6],[406,4]]},"243":{"position":[[663,4]]},"299":{"position":[[11,4]]},"306":{"position":[[343,4]]},"311":{"position":[[133,4]]},"316":{"position":[[492,5]]},"345":{"position":[[107,4]]},"387":{"position":[[455,6]]},"392":{"position":[[3052,4],[4971,4]]},"401":{"position":[[175,4],[186,4],[714,4]]},"408":{"position":[[1121,6]]},"412":{"position":[[6670,4],[6984,5],[7259,4],[8957,5],[9170,4]]},"430":{"position":[[573,4]]},"454":{"position":[[673,4]]},"461":{"position":[[633,4],[770,4],[951,4],[1006,4],[1256,4],[1438,4],[1513,4]]},"495":{"position":[[788,4]]},"581":{"position":[[548,4]]},"696":{"position":[[756,4],[1997,5]]},"717":{"position":[[364,4]]},"752":{"position":[[801,5]]},"759":{"position":[[756,4]]},"760":{"position":[[752,4]]},"773":{"position":[[809,4]]},"774":{"position":[[958,4]]},"962":{"position":[[300,4]]},"988":{"position":[[2904,5]]},"1125":{"position":[[682,5]]},"1137":{"position":[[154,4]]},"1143":{"position":[[174,4]]},"1167":{"position":[[63,4]]},"1198":{"position":[[629,4]]},"1207":{"position":[[616,4]]},"1208":{"position":[[1698,4]]},"1222":{"position":[[643,4]]},"1235":{"position":[[79,5]]},"1237":{"position":[[246,5]]},"1242":{"position":[[138,5]]},"1282":{"position":[[265,4]]},"1286":{"position":[[184,5]]},"1292":{"position":[[822,5],[880,4],[907,4],[930,4]]},"1294":{"position":[[1934,4],[2047,4]]},"1321":{"position":[[1118,5]]}},"keywords":{}}],["size"",{"_index":1469,"title":{},"content":{"243":{"position":[[768,10]]}},"keywords":{}}],["size.in",{"_index":6279,"title":{},"content":{"1235":{"position":[[248,7]]}},"keywords":{}}],["size=8192",{"_index":4581,"title":{},"content":{"773":{"position":[[885,9]]}},"keywords":{}}],["sizeslow",{"_index":6180,"title":{},"content":{"1200":{"position":[[12,8]]}},"keywords":{}}],["sizewrit",{"_index":4584,"title":{},"content":{"774":{"position":[[988,10]]}},"keywords":{}}],["skeletor",{"_index":4608,"title":{},"content":{"791":{"position":[[441,10],[535,11]]}},"keywords":{}}],["skill",{"_index":1416,"title":{},"content":{"230":{"position":[[239,7]]},"1074":{"position":[[487,6],[607,6]]}},"keywords":{}}],["skip",{"_index":3114,"title":{},"content":{"478":{"position":[[268,4]]},"749":{"position":[[2878,4]]},"759":{"position":[[1364,7]]},"886":{"position":[[3085,4]]},"902":{"position":[[22,8]]},"988":{"position":[[964,7],[3218,7]]},"1067":{"position":[[357,6]]},"1126":{"position":[[588,4]]},"1318":{"position":[[263,4],[784,4]]}},"keywords":{}}],["slash",{"_index":4137,"title":{},"content":{"749":{"position":[[371,5],[6282,5],[16153,5]]}},"keywords":{}}],["slave",{"_index":383,"title":{},"content":{"23":{"position":[[153,5]]},"903":{"position":[[351,5]]}},"keywords":{}}],["slight",{"_index":2390,"title":{},"content":{"398":{"position":[[207,6]]},"875":{"position":[[9411,6]]},"1298":{"position":[[49,6]]}},"keywords":{}}],["slightli",{"_index":3019,"title":{},"content":{"461":{"position":[[883,8]]},"1211":{"position":[[179,8]]},"1295":{"position":[[742,9]]},"1297":{"position":[[458,9]]}},"keywords":{}}],["slogan",{"_index":3948,"title":{},"content":{"699":{"position":[[323,6]]}},"keywords":{}}],["slow",{"_index":391,"title":{"429":{"position":[[16,6]]},"1293":{"position":[[17,4]]}},"content":{"23":{"position":[[374,4]]},"43":{"position":[[382,4]]},"58":{"position":[[93,5],[214,4]]},"309":{"position":[[116,4]]},"311":{"position":[[44,4]]},"354":{"position":[[894,4]]},"358":{"position":[[430,4]]},"396":{"position":[[1640,5]]},"402":{"position":[[1831,5]]},"411":{"position":[[3298,4]]},"412":{"position":[[10506,4],[14248,4]]},"415":{"position":[[411,4]]},"421":{"position":[[386,4],[923,4]]},"427":{"position":[[824,7]]},"430":{"position":[[394,4]]},"432":{"position":[[752,4]]},"442":{"position":[[84,4]]},"464":{"position":[[694,4]]},"469":{"position":[[271,4]]},"470":{"position":[[424,4]]},"486":{"position":[[111,4]]},"491":{"position":[[1006,4]]},"545":{"position":[[95,4],[137,4]]},"605":{"position":[[95,4],[137,4]]},"653":{"position":[[701,6]]},"656":{"position":[[361,4]]},"696":{"position":[[904,4]]},"704":{"position":[[355,4]]},"709":{"position":[[673,5]]},"749":{"position":[[2621,4]]},"793":{"position":[[1321,4]]},"801":{"position":[[229,4]]},"802":{"position":[[234,4]]},"1013":{"position":[[784,4]]},"1093":{"position":[[245,4]]},"1164":{"position":[[1435,4]]},"1191":{"position":[[321,4]]},"1198":{"position":[[532,5]]},"1238":{"position":[[333,4]]},"1276":{"position":[[329,4]]},"1316":{"position":[[3614,4]]}},"keywords":{}}],["slow.indexeddb",{"_index":3099,"title":{},"content":{"470":{"position":[[517,14]]}},"keywords":{}}],["slower",{"_index":940,"title":{},"content":{"66":{"position":[[132,6],[294,6]]},"69":{"position":[[205,6]]},"404":{"position":[[380,6]]},"408":{"position":[[3999,6]]},"412":{"position":[[9754,6]]},"427":{"position":[[330,6]]},"434":{"position":[[190,6]]},"435":{"position":[[281,6]]},"454":{"position":[[458,6]]},"464":{"position":[[578,6],[897,6]]},"467":{"position":[[361,6]]},"703":{"position":[[1134,7],[1156,7]]},"709":{"position":[[870,7]]},"1072":{"position":[[2883,7]]},"1143":{"position":[[402,6]]},"1211":{"position":[[188,6]]},"1222":{"position":[[1266,7]]},"1267":{"position":[[396,6]]},"1270":{"position":[[29,6]]},"1276":{"position":[[205,6]]},"1295":{"position":[[1260,6]]}},"keywords":{}}],["small",{"_index":527,"title":{"464":{"position":[[11,5]]},"465":{"position":[[11,5]]},"696":{"position":[[19,5]]}},"content":{"34":{"position":[[12,6],[282,5]]},"63":{"position":[[48,5]]},"287":{"position":[[426,5]]},"317":{"position":[[69,5]]},"386":{"position":[[75,5]]},"396":{"position":[[336,5],[557,5]]},"401":{"position":[[243,5]]},"411":{"position":[[151,5],[667,5],[1333,5]]},"412":{"position":[[12759,5]]},"424":{"position":[[97,5]]},"429":{"position":[[190,5]]},"432":{"position":[[1432,5]]},"441":{"position":[[167,5]]},"450":{"position":[[66,5]]},"451":{"position":[[321,5]]},"464":{"position":[[31,5],[80,5]]},"555":{"position":[[905,5]]},"559":{"position":[[166,5],[1020,5]]},"560":{"position":[[307,5]]},"566":{"position":[[1412,5]]},"567":{"position":[[985,5]]},"630":{"position":[[798,5]]},"659":{"position":[[720,5]]},"709":{"position":[[195,5]]},"772":{"position":[[2059,5]]},"828":{"position":[[237,5]]},"835":{"position":[[825,5]]},"841":{"position":[[886,5],[1338,5]]},"1156":{"position":[[126,5],[162,5]]},"1157":{"position":[[296,5]]},"1170":{"position":[[191,5]]},"1186":{"position":[[59,5]]},"1192":{"position":[[765,5]]},"1193":{"position":[[107,5]]},"1235":{"position":[[67,5]]},"1242":{"position":[[125,5]]},"1297":{"position":[[529,5]]}},"keywords":{}}],["smaller",{"_index":1029,"title":{},"content":{"100":{"position":[[309,7]]},"228":{"position":[[332,7]]},"357":{"position":[[521,7]]},"402":{"position":[[364,7],[1855,7]]},"643":{"position":[[204,7]]},"717":{"position":[[350,7]]},"796":{"position":[[195,7]]},"1157":{"position":[[450,7]]},"1235":{"position":[[234,7]]}},"keywords":{}}],["smallest",{"_index":2322,"title":{},"content":{"394":{"position":[[1046,9]]},"490":{"position":[[610,8]]},"1137":{"position":[[139,8]]}},"keywords":{}}],["smarter",{"_index":690,"title":{"44":{"position":[[6,7]]}},"content":{},"keywords":{}}],["smartphon",{"_index":2430,"title":{},"content":{"399":{"position":[[312,11]]},"500":{"position":[[788,12]]},"700":{"position":[[869,10]]},"1270":{"position":[[389,11]]}},"keywords":{}}],["smooth",{"_index":1031,"title":{},"content":{"101":{"position":[[260,6]]},"152":{"position":[[326,6]]},"277":{"position":[[209,6]]},"280":{"position":[[418,6]]},"379":{"position":[[306,6]]},"412":{"position":[[11692,6]]},"446":{"position":[[1061,6]]},"504":{"position":[[941,6]]},"642":{"position":[[208,6]]}},"keywords":{}}],["smooth.perform",{"_index":1979,"title":{},"content":{"346":{"position":[[731,18]]}},"keywords":{}}],["smoother",{"_index":909,"title":{},"content":{"65":{"position":[[383,8]]},"87":{"position":[[227,8]]},"411":{"position":[[1811,8]]},"445":{"position":[[1935,8]]},"474":{"position":[[281,8]]},"801":{"position":[[547,8]]}},"keywords":{}}],["smoothli",{"_index":1430,"title":{},"content":{"240":{"position":[[251,8]]},"350":{"position":[[271,8]]},"376":{"position":[[647,9]]},"489":{"position":[[670,8]]},"493":{"position":[[30,8]]}},"keywords":{}}],["snappi",{"_index":1330,"title":{},"content":{"205":{"position":[[411,6]]},"342":{"position":[[160,7]]},"410":{"position":[[299,6]]},"489":{"position":[[523,6]]},"495":{"position":[[27,7]]},"498":{"position":[[569,7]]}},"keywords":{}}],["snappier",{"_index":3241,"title":{},"content":{"507":{"position":[[156,8]]}},"keywords":{}}],["snapshot",{"_index":4808,"title":{},"content":{"841":{"position":[[668,10]]}},"keywords":{}}],["snh",{"_index":4440,"title":{},"content":{"749":{"position":[[24372,3]]}},"keywords":{}}],["snippet",{"_index":1769,"title":{},"content":{"300":{"position":[[111,7]]},"425":{"position":[[236,8]]},"493":{"position":[[315,8]]},"522":{"position":[[242,7]]}},"keywords":{}}],["social",{"_index":3197,"title":{},"content":{"497":{"position":[[52,6]]}},"keywords":{}}],["socket",{"_index":3567,"title":{},"content":{"611":{"position":[[633,6],[1013,6]]},"892":{"position":[[325,9]]},"988":{"position":[[5206,6],[5637,6]]}},"keywords":{}}],["socket.clos",{"_index":5483,"title":{},"content":{"988":{"position":[[5736,15]]}},"keywords":{}}],["socket.io",{"_index":3580,"title":{},"content":{"611":{"position":[[1330,9]]},"906":{"position":[[547,11]]}},"keywords":{}}],["socket.onclos",{"_index":5481,"title":{},"content":{"988":{"position":[[5667,14]]}},"keywords":{}}],["socket.onerror",{"_index":5482,"title":{},"content":{"988":{"position":[[5710,14]]}},"keywords":{}}],["socket.onmessag",{"_index":3573,"title":{},"content":{"611":{"position":[[818,16]]},"988":{"position":[[5542,16]]}},"keywords":{}}],["socket.onopen",{"_index":3569,"title":{},"content":{"611":{"position":[[677,13]]},"988":{"position":[[5752,13]]}},"keywords":{}}],["socket.send('hello",{"_index":3572,"title":{},"content":{"611":{"position":[[785,18]]}},"keywords":{}}],["soft",{"_index":3455,"title":{},"content":{"569":{"position":[[459,4]]},"861":{"position":[[1653,4]]}},"keywords":{}}],["softwar",{"_index":1228,"title":{"406":{"position":[[16,8]]}},"content":{"177":{"position":[[30,8]]},"267":{"position":[[1631,8]]},"407":{"position":[[16,9],[887,9],[921,8]]},"419":{"position":[[1690,9]]},"422":{"position":[[362,8]]},"444":{"position":[[34,8]]},"473":{"position":[[30,8]]},"644":{"position":[[662,8]]},"1320":{"position":[[113,8]]}},"keywords":{}}],["software"",{"_index":2812,"title":{},"content":{"419":{"position":[[1538,14]]}},"keywords":{}}],["software,"",{"_index":2803,"title":{},"content":{"419":{"position":[[682,15]]}},"keywords":{}}],["sole",{"_index":1009,"title":{},"content":{"91":{"position":[[119,6]]},"321":{"position":[[313,6]]},"698":{"position":[[1594,6]]}},"keywords":{}}],["solid",{"_index":3232,"title":{},"content":{"503":{"position":[[193,5]]}},"keywords":{}}],["solut",{"_index":437,"title":{"118":{"position":[[31,9]]},"153":{"position":[[32,9]]},"179":{"position":[[31,9]]},"212":{"position":[[18,8]]},"295":{"position":[[15,9]]},"322":{"position":[[31,9]]},"441":{"position":[[39,9]]},"445":{"position":[[54,10]]},"479":{"position":[[47,9]]},"575":{"position":[[31,9]]},"658":{"position":[[9,9]]},"737":{"position":[[0,9]]},"834":{"position":[[9,9]]}},"content":{"27":{"position":[[21,8]]},"40":{"position":[[731,8]]},"43":{"position":[[67,10]]},"66":{"position":[[203,9],[620,9]]},"83":{"position":[[52,8]]},"102":{"position":[[76,9]]},"117":{"position":[[242,8]]},"118":{"position":[[224,9]]},"148":{"position":[[29,8]]},"153":{"position":[[64,8]]},"161":{"position":[[132,10]]},"170":{"position":[[40,8]]},"173":{"position":[[88,9]]},"174":{"position":[[3027,10]]},"178":{"position":[[100,8]]},"179":{"position":[[35,8]]},"198":{"position":[[46,8]]},"229":{"position":[[121,8]]},"241":{"position":[[729,10]]},"263":{"position":[[520,8]]},"271":{"position":[[29,8]]},"278":{"position":[[46,8]]},"287":{"position":[[44,9]]},"290":{"position":[[139,10]]},"295":{"position":[[145,10]]},"318":{"position":[[167,9]]},"320":{"position":[[339,8]]},"321":{"position":[[475,8]]},"331":{"position":[[106,9],[266,9]]},"350":{"position":[[133,9]]},"351":{"position":[[146,9]]},"354":{"position":[[186,9],[1172,9],[1652,9]]},"357":{"position":[[508,8]]},"368":{"position":[[31,9]]},"371":{"position":[[79,8]]},"372":{"position":[[66,8]]},"373":{"position":[[393,9],[757,10]]},"386":{"position":[[132,10]]},"388":{"position":[[165,9]]},"412":{"position":[[462,9],[887,8],[1210,9],[3657,9],[14597,9]]},"429":{"position":[[134,9]]},"430":{"position":[[635,9],[810,9]]},"432":{"position":[[49,8]]},"436":{"position":[[255,8]]},"437":{"position":[[64,9]]},"441":{"position":[[516,10]]},"445":{"position":[[248,8],[2061,8]]},"447":{"position":[[281,8],[582,8]]},"458":{"position":[[1031,10],[1432,8]]},"476":{"position":[[153,9]]},"513":{"position":[[76,8]]},"520":{"position":[[176,9],[287,8],[448,8]]},"524":{"position":[[994,8]]},"530":{"position":[[169,9]]},"546":{"position":[[77,9]]},"554":{"position":[[82,8]]},"556":{"position":[[91,9]]},"574":{"position":[[676,9]]},"576":{"position":[[385,8]]},"606":{"position":[[77,9]]},"644":{"position":[[407,10]]},"661":{"position":[[1667,8]]},"698":{"position":[[937,8]]},"711":{"position":[[2109,8]]},"737":{"position":[[5,8]]},"834":{"position":[[29,9]]},"835":{"position":[[41,8]]},"836":{"position":[[2006,8],[2235,8],[2487,9]]},"839":{"position":[[29,8],[1194,8]]},"849":{"position":[[406,10]]},"912":{"position":[[260,8]]},"1091":{"position":[[85,9]]},"1147":{"position":[[187,9]]},"1148":{"position":[[33,8]]},"1151":{"position":[[219,9]]},"1178":{"position":[[218,9]]},"1249":{"position":[[264,10]]},"1270":{"position":[[473,8]]},"1305":{"position":[[226,8]]}},"keywords":{}}],["solutions.vendor",{"_index":4800,"title":{},"content":{"839":{"position":[[819,16]]}},"keywords":{}}],["solutions—particularli",{"_index":2015,"title":{},"content":{"354":{"position":[[7,22]]}},"keywords":{}}],["solv",{"_index":1072,"title":{},"content":{"118":{"position":[[389,6]]},"323":{"position":[[647,6]]},"411":{"position":[[4454,6]]},"412":{"position":[[482,5],[3871,5],[15294,6]]},"535":{"position":[[779,6]]},"595":{"position":[[866,6]]},"698":{"position":[[1524,7],[1911,5],[3116,5]]},"737":{"position":[[430,5]]},"1183":{"position":[[257,5]]},"1198":{"position":[[70,6]]},"1301":{"position":[[552,5]]}},"keywords":{}}],["solvabl",{"_index":2776,"title":{},"content":{"412":{"position":[[15304,8]]}},"keywords":{}}],["somehow",{"_index":3057,"title":{},"content":{"464":{"position":[[1265,7]]}},"keywords":{}}],["somekey",{"_index":1809,"title":{},"content":{"302":{"position":[[809,9]]}},"keywords":{}}],["someon",{"_index":2760,"title":{},"content":{"412":{"position":[[13197,7]]},"1316":{"position":[[2783,7]]}},"keywords":{}}],["somet",{"_index":3809,"title":{},"content":{"661":{"position":[[1318,12]]},"836":{"position":[[984,12]]}},"keywords":{}}],["someth",{"_index":2560,"title":{},"content":{"408":{"position":[[3939,9],[4556,9]]},"411":{"position":[[4520,9]]},"412":{"position":[[8101,9],[10375,9],[12982,9],[14317,9]]},"458":{"position":[[448,9]]},"569":{"position":[[1130,9]]},"613":{"position":[[999,9]]},"661":{"position":[[1847,9]]},"704":{"position":[[135,9]]},"709":{"position":[[1300,9]]},"966":{"position":[[134,9]]},"996":{"position":[[228,9]]},"1051":{"position":[[96,9]]},"1135":{"position":[[285,9]]},"1249":{"position":[[92,9]]},"1322":{"position":[[152,9]]}},"keywords":{}}],["sometim",{"_index":1086,"title":{},"content":{"129":{"position":[[148,9]]},"402":{"position":[[565,9]]},"404":{"position":[[362,9]]},"412":{"position":[[3970,9]]},"569":{"position":[[595,9]]},"655":{"position":[[256,9]]},"698":{"position":[[1882,9],[2489,9]]},"775":{"position":[[518,9]]},"797":{"position":[[1,8]]},"806":{"position":[[193,9]]},"1022":{"position":[[1,9]]},"1048":{"position":[[1,9]]},"1066":{"position":[[189,9]]},"1085":{"position":[[2781,9]]},"1185":{"position":[[171,9]]},"1198":{"position":[[954,9]]}},"keywords":{}}],["somevalu",{"_index":3808,"title":{},"content":{"661":{"position":[[1303,9]]},"836":{"position":[[969,9]]}},"keywords":{}}],["somewher",{"_index":6229,"title":{},"content":{"1210":{"position":[[585,9]]}},"keywords":{}}],["soon",{"_index":1926,"title":{},"content":{"326":{"position":[[206,4]]},"379":{"position":[[271,4]]},"570":{"position":[[368,4]]},"634":{"position":[[182,4]]},"701":{"position":[[543,4],[753,4]]},"709":{"position":[[263,4]]},"778":{"position":[[513,4]]},"1009":{"position":[[437,4]]},"1297":{"position":[[276,4]]},"1304":{"position":[[617,4]]},"1316":{"position":[[3818,4]]}},"keywords":{}}],["sooner",{"_index":3960,"title":{},"content":{"702":{"position":[[28,6]]},"1085":{"position":[[2675,7]]},"1319":{"position":[[1,6]]}},"keywords":{}}],["sophist",{"_index":640,"title":{},"content":{"40":{"position":[[473,13]]},"203":{"position":[[137,13]]},"205":{"position":[[184,13]]},"289":{"position":[[56,13]]},"353":{"position":[[111,13]]},"354":{"position":[[742,13]]},"412":{"position":[[14583,13]]},"510":{"position":[[443,13]]},"530":{"position":[[239,13]]},"723":{"position":[[2117,13]]}},"keywords":{}}],["sort",{"_index":341,"title":{},"content":{"19":{"position":[[800,4],[871,5]]},"54":{"position":[[171,5]]},"130":{"position":[[526,5]]},"143":{"position":[[466,5],[647,5]]},"393":{"position":[[1086,4]]},"394":{"position":[[426,7],[1009,7],[1107,7]]},"395":{"position":[[180,4]]},"397":{"position":[[329,7]]},"398":{"position":[[635,7],[1118,5],[1280,5],[1618,6],[2473,5],[2771,6]]},"400":{"position":[[254,4],[282,5],[346,6]]},"402":{"position":[[781,4]]},"580":{"position":[[546,5]]},"723":{"position":[[2369,8]]},"749":{"position":[[4020,6],[4375,4],[4457,7],[4550,4],[4626,4]]},"829":{"position":[[2427,5],[3343,5]]},"885":{"position":[[1634,6]]},"986":{"position":[[220,4],[293,4],[930,6]]},"1056":{"position":[[232,5]]},"1065":{"position":[[1576,4],[1714,4],[1868,4],[1987,7]]},"1069":{"position":[[689,6],[850,6]]},"1079":{"position":[[569,4]]},"1249":{"position":[[532,5]]},"1320":{"position":[[897,6]]}},"keywords":{}}],["sort([['field",{"_index":4192,"title":{},"content":{"749":{"position":[[4419,16]]}},"keywords":{}}],["sort({updateat",{"_index":4996,"title":{},"content":{"875":{"position":[[2535,16]]}},"keywords":{}}],["sortabl",{"_index":2330,"title":{},"content":{"395":{"position":[[326,8]]},"396":{"position":[[1800,8]]},"397":{"position":[[156,8]]},"986":{"position":[[84,8],[1184,8]]},"1085":{"position":[[598,9]]}},"keywords":{}}],["sortbyobjectnumberproperti",{"_index":2305,"title":{},"content":{"394":{"position":[[533,26]]}},"keywords":{}}],["sorted.slice(0",{"_index":2413,"title":{},"content":{"398":{"position":[[1717,15],[2870,15]]}},"keywords":{}}],["sorteddocu",{"_index":5097,"title":{},"content":{"885":{"position":[[1687,15]]}},"keywords":{}}],["sorteddocuments.filter(doc",{"_index":5104,"title":{},"content":{"885":{"position":[[2031,26]]}},"keywords":{}}],["sound",{"_index":6558,"title":{},"content":{"1316":{"position":[[2428,6]]}},"keywords":{}}],["sourc",{"_index":366,"title":{"1024":{"position":[[32,6]]}},"content":{"22":{"position":[[43,6],[105,6]]},"29":{"position":[[379,7],[410,6]]},"38":{"position":[[798,6],[822,6]]},"50":{"position":[[424,7]]},"61":{"position":[[207,7]]},"84":{"position":[[198,6]]},"113":{"position":[[56,6]]},"114":{"position":[[211,6]]},"149":{"position":[[211,6]]},"155":{"position":[[17,6]]},"174":{"position":[[2972,6]]},"175":{"position":[[204,6]]},"177":{"position":[[20,6]]},"198":{"position":[[489,6]]},"255":{"position":[[1775,7]]},"347":{"position":[[211,6]]},"362":{"position":[[1282,6]]},"386":{"position":[[267,6]]},"403":{"position":[[276,6]]},"405":{"position":[[43,6]]},"411":{"position":[[2044,6],[2342,7],[3995,6]]},"412":{"position":[[5610,6]]},"420":{"position":[[968,7]]},"455":{"position":[[449,6]]},"478":{"position":[[239,6]]},"511":{"position":[[211,6]]},"514":{"position":[[47,6]]},"531":{"position":[[211,6]]},"567":{"position":[[469,6]]},"571":{"position":[[357,7]]},"591":{"position":[[211,6]]},"614":{"position":[[49,6]]},"661":{"position":[[508,7]]},"670":{"position":[[423,6]]},"674":{"position":[[253,6]]},"698":{"position":[[2581,9]]},"700":{"position":[[45,6],[73,6]]},"724":{"position":[[669,6]]},"749":{"position":[[9234,6]]},"835":{"position":[[783,7]]},"839":{"position":[[1076,6]]},"840":{"position":[[691,6]]},"860":{"position":[[28,6]]},"904":{"position":[[2494,6]]},"906":{"position":[[1129,6]]},"958":{"position":[[525,6]]},"1020":{"position":[[35,6],[306,6]]},"1028":{"position":[[149,6]]},"1272":{"position":[[374,6]]}},"keywords":{}}],["sourcecod",{"_index":3622,"title":{},"content":{"613":{"position":[[1104,11]]}},"keywords":{}}],["spa",{"_index":1059,"title":{},"content":{"116":{"position":[[136,6]]}},"keywords":{}}],["space",{"_index":944,"title":{},"content":{"66":{"position":[[393,5]]},"81":{"position":[[83,5]]},"111":{"position":[[21,6]]},"236":{"position":[[199,5]]},"298":{"position":[[248,6],[560,6]]},"299":{"position":[[779,5],[1011,6],[1133,5]]},"300":{"position":[[184,5],[366,8],[413,8],[642,6]]},"301":{"position":[[146,5]]},"302":{"position":[[644,5],[966,9]]},"305":{"position":[[250,5]]},"361":{"position":[[430,5]]},"366":{"position":[[330,5]]},"396":{"position":[[278,6]]},"402":{"position":[[2163,6],[2271,5]]},"408":{"position":[[1008,5]]},"412":{"position":[[7816,5]]},"420":{"position":[[1384,5]]},"461":{"position":[[1121,5],[1205,6],[1583,6]]},"528":{"position":[[53,5]]},"588":{"position":[[91,5]]},"660":{"position":[[243,6]]},"696":{"position":[[1077,5],[1346,5],[1712,5]]},"773":{"position":[[803,5],[879,5]]},"780":{"position":[[297,6]]},"796":{"position":[[209,5],[387,5],[683,5],[1103,5]]},"837":{"position":[[526,5]]},"932":{"position":[[268,5]]},"977":{"position":[[64,6]]},"1143":{"position":[[318,5]]}},"keywords":{}}],["span",{"_index":3986,"title":{},"content":{"709":{"position":[[241,4]]}},"keywords":{}}],["spanner",{"_index":2772,"title":{},"content":{"412":{"position":[[14687,9]]},"1324":{"position":[[661,8]]}},"keywords":{}}],["spare",{"_index":5551,"title":{},"content":{"1004":{"position":[[512,6]]}},"keywords":{}}],["sparsiti",{"_index":2425,"title":{},"content":{"398":{"position":[[3354,8]]}},"keywords":{}}],["spawn",{"_index":1242,"title":{},"content":{"188":{"position":[[130,5]]},"392":{"position":[[3701,5]]},"460":{"position":[[469,8],[559,7]]},"463":{"position":[[91,8]]},"872":{"position":[[2993,5]]},"1088":{"position":[[349,5]]}},"keywords":{}}],["spec",{"_index":5174,"title":{},"content":{"890":{"position":[[897,4]]},"1084":{"position":[[265,4]]}},"keywords":{}}],["special",{"_index":2075,"title":{},"content":{"359":{"position":[[127,11]]},"381":{"position":[[439,11]]},"390":{"position":[[24,11]]},"444":{"position":[[22,11]]},"563":{"position":[[163,7]]},"569":{"position":[[324,11]]},"685":{"position":[[40,7]]}},"keywords":{}}],["specif",{"_index":92,"title":{"299":{"position":[[8,8]]},"797":{"position":[[6,8]]},"1066":{"position":[[10,8]]}},"content":{"6":{"position":[[624,8]]},"7":{"position":[[459,8]]},"33":{"position":[[425,8]]},"38":{"position":[[447,8]]},"100":{"position":[[185,12]]},"106":{"position":[[125,8]]},"138":{"position":[[68,8]]},"140":{"position":[[190,8]]},"146":{"position":[[223,8]]},"147":{"position":[[261,8]]},"151":{"position":[[24,9]]},"153":{"position":[[82,12]]},"159":{"position":[[161,8]]},"162":{"position":[[805,8]]},"168":{"position":[[166,8]]},"174":{"position":[[1100,8]]},"189":{"position":[[707,8]]},"194":{"position":[[83,8]]},"196":{"position":[[237,8]]},"222":{"position":[[228,8]]},"228":{"position":[[207,12]]},"235":{"position":[[131,8]]},"260":{"position":[[98,8]]},"356":{"position":[[248,8]]},"369":{"position":[[284,8]]},"393":{"position":[[591,8]]},"402":{"position":[[1128,8]]},"411":{"position":[[1623,8]]},"412":{"position":[[15322,8]]},"427":{"position":[[1008,8]]},"430":{"position":[[249,8]]},"441":{"position":[[484,8]]},"451":{"position":[[67,13]]},"455":{"position":[[403,8],[533,8],[892,8]]},"456":{"position":[[69,8]]},"461":{"position":[[936,8]]},"462":{"position":[[231,8]]},"482":{"position":[[96,8]]},"520":{"position":[[457,12]]},"527":{"position":[[122,8]]},"535":{"position":[[835,8]]},"569":{"position":[[182,8],[1459,8]]},"570":{"position":[[122,8]]},"595":{"position":[[916,8]]},"612":{"position":[[1552,14]]},"617":{"position":[[1658,8]]},"653":{"position":[[15,8]]},"686":{"position":[[833,8]]},"690":{"position":[[131,8]]},"701":{"position":[[699,8]]},"719":{"position":[[30,8]]},"723":{"position":[[2335,8]]},"729":{"position":[[198,8]]},"826":{"position":[[338,8]]},"830":{"position":[[134,8],[168,8]]},"832":{"position":[[399,8]]},"875":{"position":[[66,8]]},"890":{"position":[[209,8]]},"1009":{"position":[[151,8],[374,8]]},"1067":{"position":[[1207,8],[1437,8]]},"1072":{"position":[[1937,8]]},"1101":{"position":[[317,8]]},"1104":{"position":[[40,8]]},"1106":{"position":[[184,8]]},"1132":{"position":[[688,8]]},"1138":{"position":[[481,8]]},"1198":{"position":[[49,8]]},"1201":{"position":[[276,8]]},"1202":{"position":[[237,8]]},"1206":{"position":[[148,8]]}},"keywords":{}}],["specifi",{"_index":2079,"title":{"746":{"position":[[0,7]]}},"content":{"361":{"position":[[17,10]]},"392":{"position":[[1352,9]]},"398":{"position":[[1861,9]]},"482":{"position":[[1149,9]]},"555":{"position":[[65,9]]},"612":{"position":[[1581,10]]},"681":{"position":[[414,7]]},"746":{"position":[[135,7]]},"749":{"position":[[325,9],[19364,9],[19484,9]]},"770":{"position":[[169,7]]},"797":{"position":[[200,7],[310,7]]},"886":{"position":[[1343,9]]},"911":{"position":[[139,7]]},"932":{"position":[[1303,7]]},"938":{"position":[[65,7]]},"987":{"position":[[983,7]]},"1066":{"position":[[275,7]]},"1067":{"position":[[2277,7]]},"1068":{"position":[[56,7]]},"1072":{"position":[[7,7]]},"1103":{"position":[[53,7]]},"1133":{"position":[[557,7]]},"1134":{"position":[[355,7]]},"1229":{"position":[[56,7]]},"1268":{"position":[[56,7]]},"1309":{"position":[[1273,7]]}},"keywords":{}}],["speed",{"_index":1427,"title":{"265":{"position":[[0,5]]}},"content":{"236":{"position":[[277,7]]},"266":{"position":[[441,5]]},"267":{"position":[[880,5],[1249,6]]},"342":{"position":[[48,5]]},"356":{"position":[[282,5]]},"365":{"position":[[750,5]]},"369":{"position":[[731,5]]},"376":{"position":[[492,5]]},"385":{"position":[[100,5]]},"408":{"position":[[2080,5],[2373,5],[3605,6]]},"412":{"position":[[8687,5]]},"418":{"position":[[713,5]]},"430":{"position":[[1109,5]]},"441":{"position":[[129,5]]},"462":{"position":[[602,6]]},"465":{"position":[[453,5]]},"469":{"position":[[73,5]]},"483":{"position":[[1203,6]]},"500":{"position":[[218,6]]},"527":{"position":[[155,5]]},"587":{"position":[[60,5]]},"590":{"position":[[662,5]]},"639":{"position":[[196,8]]},"640":{"position":[[347,5]]},"641":{"position":[[406,5]]},"723":{"position":[[90,5]]},"780":{"position":[[414,5]]},"783":{"position":[[184,6]]},"975":{"position":[[243,5]]},"1080":{"position":[[1107,5]]},"1120":{"position":[[459,5]]},"1137":{"position":[[177,6]]},"1206":{"position":[[580,6]]},"1316":{"position":[[1990,5]]}},"keywords":{}}],["speed.they",{"_index":6540,"title":{},"content":{"1316":{"position":[[455,10]]}},"keywords":{}}],["spend",{"_index":2613,"title":{},"content":{"411":{"position":[[1653,8]]}},"keywords":{}}],["spent",{"_index":2001,"title":{},"content":{"352":{"position":[[164,5]]}},"keywords":{}}],["spin",{"_index":5585,"title":{},"content":{"1009":{"position":[[178,4]]},"1135":{"position":[[172,4]]}},"keywords":{}}],["spinner",{"_index":713,"title":{"474":{"position":[[16,9]]},"778":{"position":[[29,9]]}},"content":{"46":{"position":[[389,9]]},"227":{"position":[[416,8]]},"400":{"position":[[702,8]]},"410":{"position":[[336,9]]},"421":{"position":[[626,8],[762,9]]},"427":{"position":[[1418,7]]},"474":{"position":[[81,9]]},"483":{"position":[[417,9]]},"486":{"position":[[12,9]]},"534":{"position":[[362,9]]},"594":{"position":[[360,9]]},"634":{"position":[[652,7]]},"778":{"position":[[285,8],[494,7]]},"995":{"position":[[740,7],[1806,7]]}},"keywords":{}}],["split",{"_index":2043,"title":{"1089":{"position":[[17,5]]}},"content":{"356":{"position":[[703,6]]},"412":{"position":[[12743,5]]},"643":{"position":[[184,9]]},"1022":{"position":[[88,5]]},"1092":{"position":[[61,5]]},"1120":{"position":[[600,5]]},"1295":{"position":[[190,5],[459,5]]},"1304":{"position":[[637,5]]}},"keywords":{}}],["sport",{"_index":3582,"title":{},"content":{"612":{"position":[[249,6]]},"624":{"position":[[825,6]]}},"keywords":{}}],["spotti",{"_index":3520,"title":{},"content":{"584":{"position":[[268,6]]}},"keywords":{}}],["spread",{"_index":6449,"title":{},"content":{"1295":{"position":[[313,6]]}},"keywords":{}}],["sql",{"_index":417,"title":{"31":{"position":[[7,4]]},"67":{"position":[[4,3]]},"74":{"position":[[48,4]]},"98":{"position":[[4,3]]},"105":{"position":[[48,4]]},"225":{"position":[[4,3]]},"232":{"position":[[38,4]]},"353":{"position":[[23,5]]},"354":{"position":[[15,3]]},"355":{"position":[[28,3]]},"1249":{"position":[[8,3]]},"1250":{"position":[[0,3]]}},"content":{"25":{"position":[[154,3]]},"31":{"position":[[8,3]]},"36":{"position":[[225,3]]},"67":{"position":[[1,3]]},"68":{"position":[[1,3]]},"70":{"position":[[1,3]]},"83":{"position":[[298,3]]},"98":{"position":[[7,3],[167,3]]},"99":{"position":[[1,3]]},"126":{"position":[[215,3]]},"174":{"position":[[735,4]]},"224":{"position":[[71,3]]},"225":{"position":[[7,3],[128,3]]},"226":{"position":[[1,3]]},"227":{"position":[[1,3]]},"228":{"position":[[13,3]]},"229":{"position":[[83,3]]},"232":{"position":[[273,3]]},"281":{"position":[[363,3]]},"351":{"position":[[13,3]]},"353":{"position":[[33,3]]},"354":{"position":[[182,3],[460,3],[653,3],[846,3],[1097,3],[1258,3],[1526,3]]},"356":{"position":[[54,3],[644,4]]},"360":{"position":[[249,4]]},"362":{"position":[[308,3],[464,3]]},"364":{"position":[[648,3]]},"412":{"position":[[13655,3],[14725,3]]},"435":{"position":[[28,3]]},"455":{"position":[[70,3],[194,3]]},"661":{"position":[[13,3],[139,3]]},"705":{"position":[[297,3],[659,3],[1269,3]]},"711":{"position":[[13,3],[191,3],[609,3],[1836,3],[2186,3]]},"836":{"position":[[15,3],[141,3],[921,3]]},"841":{"position":[[124,3],[310,3],[1135,3]]},"1065":{"position":[[340,3]]},"1071":{"position":[[203,3],[290,3]]},"1249":{"position":[[102,3],[143,3],[329,3]]},"1250":{"position":[[1,3],[80,3]]},"1251":{"position":[[1,3]]},"1252":{"position":[[276,3]]},"1257":{"position":[[106,3]]},"1280":{"position":[[15,3],[130,3],[410,5]]},"1282":{"position":[[628,3]]},"1315":{"position":[[340,4],[768,3],[1083,3],[1141,3],[1158,3],[1279,3]]},"1316":{"position":[[711,3],[1512,3],[2552,3],[3390,3]]},"1317":{"position":[[328,3],[422,3]]},"1320":{"position":[[374,3],[714,4]]},"1321":{"position":[[245,3]]},"1322":{"position":[[391,3]]},"1324":{"position":[[16,3],[514,3],[690,3]]}},"keywords":{}}],["sql"",{"_index":1490,"title":{},"content":{"244":{"position":[[441,9]]}},"keywords":{}}],["sql.j",{"_index":488,"title":{"30":{"position":[[0,7]]}},"content":{"30":{"position":[[1,6],[194,6]]},"31":{"position":[[76,7]]},"1324":{"position":[[113,7],[354,6]]}},"keywords":{}}],["sql1",{"_index":4425,"title":{},"content":{"749":{"position":[[23197,4]]}},"keywords":{}}],["sql2",{"_index":4427,"title":{},"content":{"749":{"position":[[23323,4]]}},"keywords":{}}],["sql3",{"_index":4429,"title":{},"content":{"749":{"position":[[23455,4]]}},"keywords":{}}],["sqlite",{"_index":100,"title":{"8":{"position":[[13,7]]},"11":{"position":[[8,7]]},"67":{"position":[[23,6]]},"98":{"position":[[23,6]]},"278":{"position":[[93,7]]},"357":{"position":[[16,7]]},"372":{"position":[[6,6]]},"448":{"position":[[57,6]]},"454":{"position":[[13,7]]},"657":{"position":[[21,7]]},"661":{"position":[[0,7]]},"706":{"position":[[52,7]]},"709":{"position":[[53,6]]},"711":{"position":[[0,6]]},"836":{"position":[[0,7]]},"1269":{"position":[[0,6]]},"1271":{"position":[[10,6]]},"1273":{"position":[[10,6],[42,6]]},"1278":{"position":[[16,7]]},"1279":{"position":[[11,6]]},"1280":{"position":[[17,7]]},"1282":{"position":[[18,6]]}},"content":{"8":{"position":[[18,6],[194,6],[218,6],[270,6],[290,6],[367,6],[847,6],[873,6],[946,7],[1188,8]]},"11":{"position":[[128,6],[190,10],[893,8],[985,6]]},"16":{"position":[[347,7]]},"17":{"position":[[308,6]]},"24":{"position":[[214,7]]},"30":{"position":[[39,6],[225,6],[284,7]]},"36":{"position":[[173,6]]},"43":{"position":[[327,6],[404,6]]},"59":{"position":[[178,7],[268,6],[298,7]]},"67":{"position":[[20,7]]},"69":{"position":[[28,6]]},"98":{"position":[[30,7]]},"186":{"position":[[111,6]]},"189":{"position":[[297,6],[406,6]]},"228":{"position":[[370,6]]},"266":{"position":[[114,7]]},"278":{"position":[[162,7]]},"279":{"position":[[381,7]]},"281":{"position":[[382,7]]},"282":{"position":[[490,7]]},"287":{"position":[[1092,6],[1192,6],[1232,6]]},"314":{"position":[[185,6]]},"318":{"position":[[274,6],[457,6]]},"336":{"position":[[429,6]]},"357":{"position":[[1,6],[106,6],[272,6],[322,6],[608,6],[654,6]]},"372":{"position":[[38,6],[131,7]]},"383":{"position":[[396,6]]},"384":{"position":[[228,6]]},"412":{"position":[[8493,6],[9855,6]]},"444":{"position":[[453,6]]},"454":{"position":[[515,6],[660,6],[1044,6]]},"455":{"position":[[118,7],[442,6],[553,6],[637,7]]},"457":{"position":[[255,6]]},"459":{"position":[[257,6]]},"463":{"position":[[388,6],[726,6],[751,6],[1156,6]]},"464":{"position":[[376,6],[402,6],[639,6]]},"465":{"position":[[237,6],[263,6]]},"466":{"position":[[200,6],[226,6],[385,6]]},"467":{"position":[[175,6],[201,6],[390,6],[462,6]]},"470":{"position":[[299,6]]},"483":{"position":[[1039,6]]},"489":{"position":[[277,7]]},"524":{"position":[[623,6],[687,6],[743,6],[806,6],[1044,7]]},"546":{"position":[[342,6]]},"551":{"position":[[140,6]]},"554":{"position":[[452,6],[706,6]]},"581":{"position":[[433,7]]},"606":{"position":[[332,6]]},"641":{"position":[[345,6]]},"661":{"position":[[1,6],[162,6],[218,6],[316,6],[816,6],[1092,6],[1348,6],[1653,6]]},"662":{"position":[[536,6],[784,6],[837,6],[910,6],[994,6],[1184,6],[1617,7],[1811,6],[1877,6],[2007,8]]},"705":{"position":[[1160,6]]},"710":{"position":[[607,6],[747,6],[2315,6]]},"711":{"position":[[1,6],[251,6],[523,6],[696,7],[821,6],[964,6],[1715,7],[1825,6],[2095,6]]},"714":{"position":[[381,7]]},"749":{"position":[[23227,6],[23353,6],[23485,6]]},"772":{"position":[[1111,6],[1161,6],[1192,6],[1296,6],[1548,8],[1768,6]]},"793":{"position":[[291,6],[1393,6]]},"836":{"position":[[3,6],[164,6],[220,6],[274,6],[415,6],[536,7],[663,8],[717,6],[1068,6],[1147,6],[1179,6],[1357,6],[1652,6],[1809,6],[2214,6]]},"837":{"position":[[1085,6],[1239,6],[1362,6],[1388,6],[1775,8],[2153,7]]},"838":{"position":[[1315,6],[1360,6],[1405,6],[1678,6],[1840,7],[1934,7],[2024,8],[2147,8],[3091,6]]},"841":{"position":[[29,6]]},"1137":{"position":[[113,7]]},"1143":{"position":[[553,7]]},"1191":{"position":[[406,6]]},"1196":{"position":[[89,6]]},"1214":{"position":[[883,6],[916,6]]},"1235":{"position":[[290,6],[350,6],[401,6]]},"1247":{"position":[[4,7],[17,6]]},"1249":{"position":[[117,7]]},"1270":{"position":[[5,6],[122,6],[199,6],[276,6],[338,6],[509,6]]},"1271":{"position":[[31,6],[145,6],[216,7],[614,6],[718,6],[869,6],[1034,6],[1102,6],[1206,8],[1273,6],[1296,6],[1688,6]]},"1272":{"position":[[11,6],[73,6],[151,6],[278,6]]},"1274":{"position":[[128,8],[166,6],[193,8],[443,7],[521,6],[612,6]]},"1275":{"position":[[71,6],[252,8]]},"1276":{"position":[[35,6],[57,6],[87,6],[179,6],[518,8],[560,6],[591,7],[629,6],[711,6],[769,6],[795,6],[811,8]]},"1277":{"position":[[32,6],[92,6],[276,8],[326,8],[616,6],[690,6],[805,8],[821,6],[847,6]]},"1278":{"position":[[18,6],[383,8],[404,6],[422,8],[830,8],[874,8]]},"1279":{"position":[[13,6],[293,6],[442,8],[464,6],[633,6],[830,7],[908,6],[999,6]]},"1280":{"position":[[65,6],[145,6],[224,6],[361,8]]},"1281":{"position":[[175,7]]},"1282":{"position":[[71,6],[322,6],[348,6],[374,6],[442,6],[607,7]]},"1316":{"position":[[3592,6]]},"1320":{"position":[[214,6],[308,7]]},"1324":{"position":[[193,6],[230,6],[367,6]]}},"keywords":{}}],["sqlite"",{"_index":1486,"title":{},"content":{"244":{"position":[[336,12],[1355,12]]}},"keywords":{}}],["sqlite.factory(modul",{"_index":6346,"title":{},"content":{"1276":{"position":[[883,23]]}},"keywords":{}}],["sqlite/dist/wa",{"_index":6343,"title":{},"content":{"1276":{"position":[[754,14]]}},"keywords":{}}],["sqlite3",{"_index":3992,"title":{"1274":{"position":[[15,7]]}},"content":{"711":{"position":[[712,7],[916,7],[1108,7]]},"772":{"position":[[1564,7],[1577,10],[2326,7],[2339,10]]},"1272":{"position":[[438,7]]},"1274":{"position":[[270,7],[283,10]]},"1276":{"position":[[873,7]]},"1280":{"position":[[377,7]]}},"keywords":{}}],["sqlite3.database('/path/to/database/file.db",{"_index":4000,"title":{},"content":{"711":{"position":[[1153,46]]}},"keywords":{}}],["sqlite3in",{"_index":3998,"title":{},"content":{"711":{"position":[[1019,9]]}},"keywords":{}}],["sqlite_error[1",{"_index":6371,"title":{},"content":{"1282":{"position":[[553,17]]}},"keywords":{}}],["sqliteadapt",{"_index":128,"title":{},"content":{"8":{"position":[[960,13]]},"837":{"position":[[1841,13]]}},"keywords":{}}],["sqliteadapterfactori",{"_index":127,"title":{},"content":{"8":{"position":[[890,20]]},"837":{"position":[[1719,20]]}},"keywords":{}}],["sqliteadapterfactory(sqlit",{"_index":129,"title":{},"content":{"8":{"position":[[976,28]]}},"keywords":{}}],["sqliteadapterfactory(websqlit",{"_index":4783,"title":{},"content":{"837":{"position":[[1857,32]]}},"keywords":{}}],["sqlitebas",{"_index":3814,"title":{"1272":{"position":[[0,13]]}},"content":{"662":{"position":[[2199,13]]},"772":{"position":[[1705,13]]},"838":{"position":[[2446,13]]},"1271":{"position":[[829,12],[1340,12],[1447,13]]},"1272":{"position":[[195,12]]},"1274":{"position":[[634,13]]},"1275":{"position":[[400,13]]},"1276":{"position":[[1002,13]]},"1277":{"position":[[539,13],[895,13]]},"1278":{"position":[[548,13],[1000,13]]},"1279":{"position":[[1021,13]]},"1280":{"position":[[511,13]]},"1281":{"position":[[240,13]]},"1282":{"position":[[788,13],[1159,13]]}},"keywords":{}}],["sqlitebasics<any>",{"_index":6366,"title":{},"content":{"1281":{"position":[[254,24]]}},"keywords":{}}],["sqliteconnect",{"_index":3798,"title":{},"content":{"661":{"position":[[925,17]]},"662":{"position":[[1705,16]]},"1279":{"position":[[527,16]]}},"keywords":{}}],["sqliteconnection(capacitorsqlit",{"_index":3805,"title":{},"content":{"661":{"position":[[1105,34]]},"662":{"position":[[1824,34]]},"1279":{"position":[[646,34]]}},"keywords":{}}],["sqlitedbconnect",{"_index":3797,"title":{},"content":{"661":{"position":[[905,19],[1156,18]]}},"keywords":{}}],["sqliteesmfactori",{"_index":6342,"title":{},"content":{"1276":{"position":[[728,16],[847,19]]}},"keywords":{}}],["sqlitefast",{"_index":6022,"title":{},"content":{"1128":{"position":[[26,10]]}},"keywords":{}}],["sqlitemodul",{"_index":6345,"title":{},"content":{"1276":{"position":[[826,12]]}},"keywords":{}}],["sqlitesqlit",{"_index":3971,"title":{},"content":{"703":{"position":[[548,12]]}},"keywords":{}}],["sqlite’",{"_index":2093,"title":{},"content":{"362":{"position":[[396,8]]}},"keywords":{}}],["sqlqueri",{"_index":4006,"title":{},"content":{"711":{"position":[[1527,9]]}},"keywords":{}}],["sqlsql.j",{"_index":6467,"title":{},"content":{"1299":{"position":[[534,9]]}},"keywords":{}}],["sqlsqlite",{"_index":6480,"title":{},"content":{"1302":{"position":[[98,9]]}},"keywords":{}}],["src",{"_index":3839,"title":{},"content":{"670":{"position":[[466,3]]},"1280":{"position":[[159,3]]}},"keywords":{}}],["src/index.t",{"_index":3852,"title":{},"content":{"674":{"position":[[54,17]]}},"keywords":{}}],["sse",{"_index":3167,"title":{},"content":{"491":{"position":[[648,6],[1499,4],[1687,6]]},"612":{"position":[[20,5],[116,4],[670,3],[1548,3],[1708,3]]},"614":{"position":[[941,3]]},"620":{"position":[[61,6]]},"623":{"position":[[783,4]]},"624":{"position":[[141,5],[1582,4]]},"875":{"position":[[7060,5]]}},"keywords":{}}],["ssl",{"_index":3377,"title":{},"content":{"556":{"position":[[1813,3],[1835,3],[1897,3]]}},"keywords":{}}],["sspl",{"_index":5976,"title":{},"content":{"1112":{"position":[[281,6]]}},"keywords":{}}],["stabl",{"_index":2044,"title":{},"content":{"356":{"position":[[755,6]]},"412":{"position":[[8538,6]]},"414":{"position":[[139,6]]}},"keywords":{}}],["stack",{"_index":586,"title":{},"content":{"38":{"position":[[140,7],[398,6]]},"76":{"position":[[118,7]]},"299":{"position":[[1392,5]]},"381":{"position":[[587,6]]},"413":{"position":[[126,6]]},"481":{"position":[[436,6]]},"644":{"position":[[449,6]]},"779":{"position":[[49,5]]}},"keywords":{}}],["stage",{"_index":2573,"title":{},"content":{"408":{"position":[[5279,6]]}},"keywords":{}}],["stale",{"_index":2705,"title":{},"content":{"412":{"position":[[6001,5]]},"476":{"position":[[62,5]]},"483":{"position":[[435,5]]},"1003":{"position":[[134,5]]}},"keywords":{}}],["stand",{"_index":1032,"title":{},"content":{"102":{"position":[[6,6]]},"118":{"position":[[6,6]]},"126":{"position":[[81,6]]},"161":{"position":[[182,6]]},"179":{"position":[[134,6]]},"212":{"position":[[115,6]]},"300":{"position":[[26,6]]},"317":{"position":[[234,6]]},"470":{"position":[[52,5]]},"520":{"position":[[65,6]]},"901":{"position":[[8,6]]},"1304":{"position":[[1273,5]]}},"keywords":{}}],["standalon",{"_index":3651,"title":{},"content":{"617":{"position":[[2348,10]]},"825":{"position":[[725,11]]}},"keywords":{}}],["standard",{"_index":2118,"title":{},"content":{"367":{"position":[[582,15]]},"397":{"position":[[250,15]]},"408":{"position":[[4922,8]]},"455":{"position":[[354,12]]},"510":{"position":[[593,9]]},"513":{"position":[[156,9]]},"612":{"position":[[36,8]]},"614":{"position":[[72,8]]},"841":{"position":[[301,8]]},"901":{"position":[[62,8]]},"912":{"position":[[721,10]]},"1215":{"position":[[435,8]]},"1286":{"position":[[147,8]]}},"keywords":{}}],["standard.websql",{"_index":2974,"title":{},"content":{"455":{"position":[[490,15]]}},"keywords":{}}],["standout",{"_index":1078,"title":{},"content":{"122":{"position":[[12,8]]},"156":{"position":[[12,8]]},"275":{"position":[[15,8]]},"381":{"position":[[3,8]]},"515":{"position":[[15,8]]}},"keywords":{}}],["star",{"_index":885,"title":{},"content":{"61":{"position":[[71,4],[232,4]]},"405":{"position":[[182,4]]},"471":{"position":[[167,4]]},"498":{"position":[[368,4],[418,8]]},"548":{"position":[[123,4]]},"557":{"position":[[254,4]]},"608":{"position":[[123,4]]},"628":{"position":[[269,4]]},"824":{"position":[[404,4]]}},"keywords":{}}],["stare",{"_index":3104,"title":{},"content":{"474":{"position":[[207,5]]}},"keywords":{}}],["starlink",{"_index":4593,"title":{},"content":{"780":{"position":[[274,8]]}},"keywords":{}}],["start",{"_index":886,"title":{"93":{"position":[[27,5]]},"119":{"position":[[8,7]]},"154":{"position":[[8,7]]},"180":{"position":[[8,7]]},"211":{"position":[[19,8]]},"217":{"position":[[30,5]]},"253":{"position":[[16,5]]},"256":{"position":[[8,7]]},"261":{"position":[[9,5]]},"272":{"position":[[8,7]]},"314":{"position":[[6,6]]},"324":{"position":[[8,7]]},"502":{"position":[[8,7]]},"577":{"position":[[8,7]]},"892":{"position":[[0,8]]},"1097":{"position":[[0,8]]}},"content":{"61":{"position":[[140,7]]},"65":{"position":[[1293,5],[1428,5]]},"84":{"position":[[269,7]]},"93":{"position":[[61,5],[262,6]]},"114":{"position":[[282,7]]},"128":{"position":[[262,5]]},"149":{"position":[[282,7]]},"173":{"position":[[1637,5]]},"175":{"position":[[275,7]]},"188":{"position":[[502,6],[1483,5],[2570,5]]},"206":{"position":[[172,5]]},"209":{"position":[[595,5]]},"217":{"position":[[64,5]]},"241":{"position":[[33,7],[202,5]]},"255":{"position":[[935,5]]},"262":{"position":[[63,6]]},"285":{"position":[[9,7],[120,5]]},"318":{"position":[[177,5]]},"347":{"position":[[282,7]]},"362":{"position":[[1353,7]]},"373":{"position":[[33,7],[202,5]]},"388":{"position":[[14,8]]},"392":{"position":[[3292,5]]},"403":{"position":[[291,8]]},"408":{"position":[[3427,6]]},"409":{"position":[[310,5]]},"412":{"position":[[15375,5]]},"421":{"position":[[866,5]]},"454":{"position":[[491,7]]},"463":{"position":[[174,6],[468,5]]},"468":{"position":[[510,5],[604,7]]},"498":{"position":[[10,5],[677,7]]},"511":{"position":[[282,7]]},"531":{"position":[[282,7]]},"591":{"position":[[282,7]]},"647":{"position":[[128,5]]},"653":{"position":[[884,7],[1272,5],[1424,5]]},"663":{"position":[[37,5]]},"666":{"position":[[16,5]]},"667":{"position":[[12,5]]},"700":{"position":[[203,6]]},"703":{"position":[[1685,8]]},"705":{"position":[[3,7]]},"708":{"position":[[266,5]]},"710":{"position":[[985,5]]},"711":{"position":[[514,5]]},"715":{"position":[[245,5],[333,5]]},"716":{"position":[[386,5]]},"723":{"position":[[1906,7]]},"737":{"position":[[335,5]]},"739":{"position":[[126,6]]},"749":{"position":[[4911,5],[8265,5],[11599,5],[17567,5]]},"752":{"position":[[255,5],[731,5],[900,7]]},"757":{"position":[[208,7]]},"776":{"position":[[71,5]]},"793":{"position":[[27,7]]},"796":{"position":[[744,5]]},"816":{"position":[[20,6]]},"824":{"position":[[46,5]]},"829":{"position":[[842,8]]},"840":{"position":[[309,5],[595,7]]},"842":{"position":[[171,5]]},"846":{"position":[[1,5]]},"854":{"position":[[476,5],[499,5]]},"861":{"position":[[817,5],[895,5]]},"862":{"position":[[1086,5]]},"863":{"position":[[98,5]]},"865":{"position":[[142,5]]},"866":{"position":[[55,5],[81,5],[299,8]]},"872":{"position":[[509,5],[2155,5],[2890,5],[3544,5],[4330,5]]},"875":{"position":[[3,5],[161,5],[249,5],[609,5],[682,5]]},"878":{"position":[[86,5]]},"886":{"position":[[3773,5]]},"892":{"position":[[211,5]]},"893":{"position":[[27,7],[175,5]]},"898":{"position":[[3121,5],[3194,5]]},"904":{"position":[[1406,5],[1436,5],[1664,5],[1833,5]]},"988":{"position":[[9,5],[1379,5],[1527,5]]},"995":{"position":[[369,6],[1026,6],[1071,7]]},"1002":{"position":[[39,5],[424,5],[1077,5]]},"1004":{"position":[[124,5]]},"1007":{"position":[[426,5],[900,5]]},"1009":{"position":[[514,5]]},"1028":{"position":[[128,5]]},"1030":{"position":[[189,7]]},"1076":{"position":[[32,8]]},"1097":{"position":[[298,5],[858,5]]},"1101":{"position":[[564,5]]},"1121":{"position":[[218,5]]},"1123":{"position":[[202,5]]},"1147":{"position":[[444,7]]},"1157":{"position":[[46,8]]},"1158":{"position":[[613,7]]},"1195":{"position":[[150,5]]},"1198":{"position":[[8,7]]},"1214":{"position":[[906,6]]},"1222":{"position":[[784,5]]},"1231":{"position":[[207,8],[297,5],[977,5]]},"1242":{"position":[[179,5]]},"1305":{"position":[[616,6]]},"1315":{"position":[[1531,7]]}},"keywords":{}}],["start/stop",{"_index":4899,"title":{},"content":{"861":{"position":[[747,11]]},"872":{"position":[[2865,10]]},"1007":{"position":[[2013,10]]}},"keywords":{}}],["startchunkreplication(chunkid",{"_index":5566,"title":{},"content":{"1007":{"position":[[1229,30]]}},"keywords":{}}],["starter",{"_index":2663,"title":{},"content":{"412":{"position":[[1417,8]]}},"keywords":{}}],["startrxserv",{"_index":5912,"title":{},"content":{"1090":{"position":[[1021,15]]},"1103":{"position":[[201,15]]}},"keywords":{}}],["startrxstorageremotewebsocketserv",{"_index":6251,"title":{},"content":{"1219":{"position":[[338,35],[516,37],[679,37]]},"1220":{"position":[[195,37]]}},"keywords":{}}],["startsignalingserversimplep",{"_index":5264,"title":{},"content":{"906":{"position":[[895,30],[994,32]]}},"keywords":{}}],["startup",{"_index":1205,"title":{},"content":{"173":{"position":[[1801,7]]},"217":{"position":[[179,8]]},"469":{"position":[[776,7]]},"772":{"position":[[2029,8]]},"964":{"position":[[541,7]]},"1192":{"position":[[168,7],[222,8],[317,7]]}},"keywords":{}}],["startwebsocketserv",{"_index":5175,"title":{},"content":{"892":{"position":[[51,20],[262,22]]}},"keywords":{}}],["state",{"_index":18,"title":{"89":{"position":[[46,6]]},"96":{"position":[[27,5]]},"219":{"position":[[19,5]]},"223":{"position":[[35,6]]},"478":{"position":[[50,5]]},"857":{"position":[[66,6]]},"1113":{"position":[[30,5]]},"1116":{"position":[[4,5]]}},"content":{"1":{"position":[[280,6]]},"18":{"position":[[269,5]]},"32":{"position":[[246,5]]},"38":{"position":[[610,6]]},"89":{"position":[[56,5]]},"96":{"position":[[40,5],[93,5],[248,5]]},"117":{"position":[[217,6]]},"173":{"position":[[335,5],[556,5],[2899,6],[3003,5],[3054,5],[3144,5],[3178,5]]},"219":{"position":[[58,5],[180,5]]},"223":{"position":[[22,5],[211,6]]},"233":{"position":[[301,6]]},"237":{"position":[[75,5]]},"251":{"position":[[100,5]]},"346":{"position":[[638,6]]},"360":{"position":[[114,6]]},"407":{"position":[[328,6]]},"410":{"position":[[1906,5]]},"411":{"position":[[1853,5],[1934,6],[1972,5],[2110,5],[2224,5],[2498,5],[2524,5],[2678,5],[4297,6],[4638,5],[4772,6]]},"412":{"position":[[5216,5],[5241,6]]},"415":{"position":[[369,6]]},"424":{"position":[[414,5]]},"458":{"position":[[279,5]]},"478":{"position":[[73,5],[282,5]]},"489":{"position":[[79,5]]},"490":{"position":[[59,5]]},"494":{"position":[[46,5]]},"495":{"position":[[434,6]]},"518":{"position":[[282,5]]},"520":{"position":[[340,5]]},"571":{"position":[[251,6]]},"574":{"position":[[93,5]]},"576":{"position":[[190,5]]},"585":{"position":[[166,5]]},"626":{"position":[[1180,5]]},"634":{"position":[[372,6]]},"662":{"position":[[137,5]]},"666":{"position":[[106,6]]},"681":{"position":[[76,6],[529,6]]},"687":{"position":[[208,7]]},"688":{"position":[[779,6],[1060,5]]},"696":{"position":[[389,6]]},"697":{"position":[[487,5]]},"698":{"position":[[1360,6],[2404,5],[2482,6],[2700,5]]},"699":{"position":[[107,5]]},"700":{"position":[[229,5],[346,6],[611,5],[1111,5]]},"701":{"position":[[92,5]]},"709":{"position":[[554,5]]},"710":{"position":[[1127,5]]},"719":{"position":[[273,5]]},"723":{"position":[[1263,5]]},"731":{"position":[[36,5]]},"749":{"position":[[12585,5],[12650,5]]},"752":{"position":[[308,5],[958,5],[1089,6],[1342,5]]},"753":{"position":[[77,6],[192,5],[401,5]]},"756":{"position":[[102,5]]},"761":{"position":[[165,6]]},"774":{"position":[[1073,5]]},"775":{"position":[[167,5]]},"778":{"position":[[564,5]]},"779":{"position":[[198,5],[298,5],[418,5]]},"780":{"position":[[575,5]]},"783":{"position":[[643,5]]},"784":{"position":[[456,5],[681,5]]},"785":{"position":[[200,5],[264,5],[466,5]]},"826":{"position":[[660,5],[1007,5]]},"828":{"position":[[154,5],[276,5]]},"829":{"position":[[3222,6]]},"837":{"position":[[380,6]]},"838":{"position":[[138,6],[166,5]]},"846":{"position":[[1582,6]]},"855":{"position":[[104,5],[246,6]]},"856":{"position":[[78,6]]},"861":{"position":[[1711,5],[2170,5]]},"862":{"position":[[1494,6],[1582,6]]},"867":{"position":[[104,5],[241,6]]},"872":{"position":[[2687,5]]},"875":{"position":[[4032,5],[4111,5],[5821,5]]},"881":{"position":[[180,5]]},"885":{"position":[[384,5],[418,6]]},"898":{"position":[[4500,6]]},"904":{"position":[[3306,6]]},"973":{"position":[[42,5]]},"977":{"position":[[284,5]]},"982":{"position":[[173,5],[234,5],[266,5],[302,5],[440,5],[467,5],[505,5],[543,5],[579,5]]},"983":{"position":[[15,6],[639,6]]},"984":{"position":[[135,6]]},"986":{"position":[[443,5]]},"987":{"position":[[201,5],[231,5],[312,5],[388,5],[480,5],[615,5],[698,5],[736,5],[799,5],[824,6]]},"988":{"position":[[744,5],[779,6],[2051,5],[3475,6]]},"995":{"position":[[167,6]]},"999":{"position":[[69,6]]},"1004":{"position":[[745,5]]},"1007":{"position":[[297,6]]},"1008":{"position":[[44,5],[92,5]]},"1009":{"position":[[805,7],[1016,5]]},"1020":{"position":[[139,5],[228,6]]},"1044":{"position":[[219,5]]},"1045":{"position":[[26,5]]},"1046":{"position":[[70,5]]},"1049":{"position":[[156,7]]},"1058":{"position":[[159,5]]},"1114":{"position":[[59,5],[266,5],[801,5],[882,6]]},"1115":{"position":[[21,5],[613,5]]},"1116":{"position":[[5,5],[322,5]]},"1117":{"position":[[25,5],[62,5]]},"1119":{"position":[[35,5],[178,5],[221,5]]},"1120":{"position":[[78,5],[193,5],[738,5]]},"1121":{"position":[[13,5],[664,5]]},"1123":{"position":[[409,5]]},"1124":{"position":[[1511,6]]},"1174":{"position":[[187,5]]},"1175":{"position":[[115,5],[216,5],[295,5],[587,5]]},"1180":{"position":[[406,6]]},"1184":{"position":[[230,6]]},"1185":{"position":[[121,5]]},"1192":{"position":[[143,6]]},"1219":{"position":[[242,6]]},"1222":{"position":[[887,6]]},"1271":{"position":[[470,5]]},"1299":{"position":[[307,5]]},"1300":{"position":[[262,5],[476,6],[719,5],[894,6]]},"1301":{"position":[[175,5]]},"1304":{"position":[[213,5]]},"1305":{"position":[[56,5]]},"1307":{"position":[[90,6],[914,6]]},"1308":{"position":[[480,5],[546,5],[588,5]]},"1309":{"position":[[88,6],[1012,5],[1037,5]]},"1314":{"position":[[244,6]]},"1316":{"position":[[269,5],[1240,5],[1459,6]]}},"keywords":{}}],["state.if",{"_index":5439,"title":{},"content":{"982":{"position":[[615,8]]}},"keywords":{}}],["state.overhead",{"_index":3903,"title":{},"content":{"689":{"position":[[445,14]]}},"keywords":{}}],["statement",{"_index":328,"title":{},"content":{"19":{"position":[[376,10]]},"333":{"position":[[264,11]]},"841":{"position":[[314,10]]},"1065":{"position":[[926,9]]},"1176":{"position":[[152,9]]}},"keywords":{}}],["states.revis",{"_index":3191,"title":{},"content":{"496":{"position":[[185,15]]}},"keywords":{}}],["static",{"_index":1040,"title":{"788":{"position":[[0,8]]},"789":{"position":[[4,7]]}},"content":{"105":{"position":[[208,6]]},"232":{"position":[[156,6]]},"281":{"position":[[67,6]]},"329":{"position":[[12,6]]},"421":{"position":[[49,6]]},"687":{"position":[[88,6]]},"749":{"position":[[8146,6],[8238,6],[8352,6],[8459,7]]},"788":{"position":[[1,7]]},"789":{"position":[[8,6],[33,7],[222,8],[469,8]]},"806":{"position":[[70,7]]},"829":{"position":[[2874,6]]},"934":{"position":[[311,8]]},"937":{"position":[[21,8]]},"1210":{"position":[[515,10]]},"1311":{"position":[[1051,8],[1684,6]]}},"keywords":{}}],["statist",{"_index":2828,"title":{},"content":{"420":{"position":[[28,11]]}},"keywords":{}}],["statu",{"_index":917,"title":{},"content":{"65":{"position":[[734,7]]},"632":{"position":[[2820,7]]},"752":{"position":[[1114,7]]},"796":{"position":[[1191,6],[1325,7],[1336,7],[1428,6]]}},"keywords":{}}],["stay",{"_index":410,"title":{},"content":{"24":{"position":[[774,4]]},"61":{"position":[[104,4]]},"130":{"position":[[298,5]]},"201":{"position":[[232,5]]},"263":{"position":[[316,4]]},"286":{"position":[[329,4]]},"328":{"position":[[179,4]]},"410":{"position":[[1507,4]]},"412":{"position":[[8198,4]]},"697":{"position":[[96,4]]},"737":{"position":[[201,5]]},"897":{"position":[[335,5]]},"902":{"position":[[385,5]]},"1150":{"position":[[591,5]]},"1192":{"position":[[648,4],[760,4]]},"1198":{"position":[[2183,5]]}},"keywords":{}}],["steadfast",{"_index":3289,"title":{},"content":{"530":{"position":[[623,9]]}},"keywords":{}}],["steadi",{"_index":3631,"title":{},"content":{"617":{"position":[[92,6]]}},"keywords":{}}],["steadili",{"_index":2774,"title":{},"content":{"412":{"position":[[15112,8]]}},"keywords":{}}],["stefe",{"_index":5680,"title":{},"content":{"1040":{"position":[[418,6]]}},"keywords":{}}],["stem",{"_index":1660,"title":{},"content":{"283":{"position":[[30,5]]}},"keywords":{}}],["step",{"_index":105,"title":{"211":{"position":[[6,5]]},"824":{"position":[[5,6]]}},"content":{"8":{"position":[[124,5]]},"84":{"position":[[354,4],[362,4]]},"114":{"position":[[367,4],[375,4]]},"149":{"position":[[367,4],[375,4]]},"175":{"position":[[358,4],[366,4]]},"241":{"position":[[140,4],[148,4]]},"271":{"position":[[6,5]]},"347":{"position":[[365,4],[373,4]]},"362":{"position":[[1436,4],[1444,4]]},"373":{"position":[[140,4],[148,4]]},"388":{"position":[[42,6]]},"391":{"position":[[15,4]]},"393":{"position":[[66,4]]},"402":{"position":[[633,4]]},"404":{"position":[[698,4]]},"412":{"position":[[3580,4]]},"421":{"position":[[1143,6]]},"466":{"position":[[9,5]]},"498":{"position":[[78,6]]},"501":{"position":[[63,5]]},"511":{"position":[[367,4],[375,4]]},"531":{"position":[[367,4],[375,4]]},"567":{"position":[[360,4],[368,4],[1055,6]]},"591":{"position":[[365,4],[373,4]]},"724":{"position":[[125,4],[329,4],[1505,4]]},"872":{"position":[[203,5],[591,4]]},"912":{"position":[[99,4]]},"1085":{"position":[[3293,6]]},"1087":{"position":[[178,4]]},"1088":{"position":[[57,4]]},"1313":{"position":[[50,5]]}},"keywords":{}}],["steve",{"_index":5682,"title":{},"content":{"1040":{"position":[[471,10],[500,6]]},"1043":{"position":[[90,8],[203,7]]}},"keywords":{}}],["still",{"_index":452,"title":{"428":{"position":[[11,5]]}},"content":{"28":{"position":[[172,5]]},"38":{"position":[[903,5]]},"305":{"position":[[492,5]]},"333":{"position":[[125,5]]},"353":{"position":[[451,5]]},"354":{"position":[[1224,5]]},"357":{"position":[[409,5]]},"360":{"position":[[822,5]]},"362":{"position":[[316,5]]},"398":{"position":[[2991,5]]},"404":{"position":[[571,5]]},"408":{"position":[[3176,5],[5257,5]]},"410":{"position":[[1283,5],[1411,5]]},"411":{"position":[[4920,5]]},"412":{"position":[[1671,5],[8361,5],[10809,5]]},"418":{"position":[[741,5]]},"419":{"position":[[444,5]]},"420":{"position":[[553,5]]},"421":{"position":[[570,5]]},"450":{"position":[[471,5],[704,5]]},"454":{"position":[[442,5]]},"469":{"position":[[795,5]]},"470":{"position":[[58,6]]},"563":{"position":[[1020,5]]},"610":{"position":[[751,5]]},"611":{"position":[[1117,5]]},"621":{"position":[[594,5]]},"648":{"position":[[291,5],[354,5]]},"686":{"position":[[672,5]]},"705":{"position":[[50,5]]},"817":{"position":[[125,5],[239,5]]},"834":{"position":[[137,5]]},"875":{"position":[[2403,5]]},"879":{"position":[[176,5]]},"898":{"position":[[646,5]]},"902":{"position":[[707,5]]},"948":{"position":[[224,5]]},"955":{"position":[[272,5]]},"958":{"position":[[55,5]]},"976":{"position":[[296,5]]},"988":{"position":[[1866,5]]},"1006":{"position":[[207,5]]},"1009":{"position":[[657,5]]},"1030":{"position":[[234,5]]},"1072":{"position":[[307,5],[776,5]]},"1120":{"position":[[383,5]]},"1139":{"position":[[34,5]]},"1145":{"position":[[34,5]]},"1180":{"position":[[343,5]]},"1213":{"position":[[761,5]]},"1231":{"position":[[291,5]]},"1246":{"position":[[1543,5]]},"1271":{"position":[[1704,5]]},"1295":{"position":[[524,5]]},"1304":{"position":[[1279,5]]},"1314":{"position":[[527,5]]}},"keywords":{}}],["stock",{"_index":3677,"title":{},"content":{"624":{"position":[[569,5]]},"626":{"position":[[275,5]]},"699":{"position":[[656,5]]},"1316":{"position":[[845,5]]}},"keywords":{}}],["stolen",{"_index":1880,"title":{},"content":{"310":{"position":[[274,6]]}},"keywords":{}}],["stop",{"_index":2783,"title":{},"content":{"414":{"position":[[284,4]]},"655":{"position":[[220,4]]},"700":{"position":[[678,8]]},"702":{"position":[[338,4]]},"767":{"position":[[617,4]]},"768":{"position":[[619,4]]},"769":{"position":[[576,4]]},"861":{"position":[[808,4],[868,4]]},"881":{"position":[[253,4]]},"892":{"position":[[342,4]]},"893":{"position":[[443,4]]},"904":{"position":[[3539,4],[3586,4]]},"955":{"position":[[93,4]]},"976":{"position":[[69,4]]},"1000":{"position":[[36,8]]},"1007":{"position":[[839,4]]},"1009":{"position":[[485,4]]},"1027":{"position":[[28,5]]},"1058":{"position":[[542,4]]},"1296":{"position":[[182,4]]},"1299":{"position":[[81,4]]}},"keywords":{}}],["stopchunkreplication(chunkid",{"_index":5573,"title":{},"content":{"1007":{"position":[[1804,29]]}},"keywords":{}}],["stopchunkreplication(cid",{"_index":5580,"title":{},"content":{"1007":{"position":[[2246,26]]}},"keywords":{}}],["storag",{"_index":37,"title":{"60":{"position":[[42,9]]},"62":{"position":[[8,7]]},"66":{"position":[[8,7]]},"71":{"position":[[34,8]]},"72":{"position":[[9,7]]},"112":{"position":[[9,7]]},"213":{"position":[[50,7]]},"239":{"position":[[9,7]]},"268":{"position":[[6,7]]},"290":{"position":[[40,8]]},"297":{"position":[[14,7]]},"298":{"position":[[20,7]]},"303":{"position":[[21,7]]},"307":{"position":[[19,7]]},"308":{"position":[[19,9]]},"309":{"position":[[23,8]]},"314":{"position":[[49,8]]},"317":{"position":[[21,7]]},"365":{"position":[[0,7]]},"366":{"position":[[12,7]]},"417":{"position":[[19,7]]},"425":{"position":[[16,7]]},"427":{"position":[[39,8]]},"441":{"position":[[31,7]]},"449":{"position":[[14,7]]},"461":{"position":[[0,7]]},"547":{"position":[[42,9]]},"558":{"position":[[8,7]]},"561":{"position":[[28,8]]},"564":{"position":[[23,7]]},"607":{"position":[[42,9]]},"640":{"position":[[15,8]]},"643":{"position":[[26,9]]},"697":{"position":[[8,7]]},"706":{"position":[[40,7]]},"713":{"position":[[19,7]]},"758":{"position":[[0,7]]},"774":{"position":[[36,8]]},"962":{"position":[[0,8]]},"1090":{"position":[[17,7]]},"1126":{"position":[[17,8]]},"1140":{"position":[[0,7]]},"1143":{"position":[[22,8]]},"1144":{"position":[[25,7]]},"1165":{"position":[[49,8]]},"1190":{"position":[[17,7]]},"1192":{"position":[[30,9]]},"1195":{"position":[[14,8]]},"1196":{"position":[[18,8]]},"1246":{"position":[[0,7]]},"1247":{"position":[[18,9]]},"1270":{"position":[[34,9]]}},"content":{"1":{"position":[[575,8]]},"2":{"position":[[378,8]]},"3":{"position":[[258,8]]},"4":{"position":[[436,8]]},"5":{"position":[[346,8]]},"6":{"position":[[245,8],[541,8],[739,8]]},"7":{"position":[[378,8],[574,8]]},"8":{"position":[[28,8],[1147,8]]},"9":{"position":[[292,8]]},"10":{"position":[[330,8]]},"11":{"position":[[856,8]]},"16":{"position":[[290,7]]},"18":{"position":[[199,7]]},"22":{"position":[[331,7]]},"24":{"position":[[155,7],[565,7]]},"28":{"position":[[201,7],[263,7],[761,7]]},"33":{"position":[[569,7]]},"35":{"position":[[57,7],[136,7],[560,7]]},"39":{"position":[[563,7],[635,7]]},"40":{"position":[[377,7]]},"42":{"position":[[178,7]]},"43":{"position":[[290,7]]},"45":{"position":[[57,7],[163,7]]},"46":{"position":[[136,7]]},"47":{"position":[[1284,7]]},"51":{"position":[[24,7],[102,8],[169,8],[764,8]]},"55":{"position":[[906,8]]},"57":{"position":[[35,8],[413,7]]},"58":{"position":[[230,7],[335,7]]},"59":{"position":[[97,7],[169,8]]},"60":{"position":[[61,7]]},"61":{"position":[[304,7]]},"63":{"position":[[224,7]]},"64":{"position":[[98,8]]},"65":{"position":[[482,7],[1347,8],[1620,7]]},"66":{"position":[[15,8],[195,7],[385,7],[563,7]]},"71":{"position":[[47,7]]},"72":{"position":[[24,7]]},"81":{"position":[[16,7],[75,7]]},"83":{"position":[[79,8],[468,8]]},"84":{"position":[[70,8]]},"95":{"position":[[38,8]]},"111":{"position":[[13,7],[107,7]]},"112":{"position":[[24,7]]},"131":{"position":[[24,7],[82,7],[249,7],[615,7],[750,7],[801,7],[924,7]]},"139":{"position":[[261,7]]},"141":{"position":[[15,7],[183,7]]},"162":{"position":[[23,7],[108,7],[339,7],[438,7],[593,7]]},"167":{"position":[[222,7]]},"169":{"position":[[20,7],[172,7],[307,7]]},"170":{"position":[[524,7]]},"173":{"position":[[80,7],[927,8]]},"174":{"position":[[2464,7],[2561,7],[2634,7]]},"178":{"position":[[92,7]]},"188":{"position":[[325,7],[1082,8]]},"189":{"position":[[22,7],[185,7],[370,7],[418,7],[641,8],[789,7]]},"197":{"position":[[13,7],[182,7]]},"207":{"position":[[237,7]]},"209":{"position":[[278,8]]},"211":{"position":[[250,8]]},"212":{"position":[[679,8]]},"218":{"position":[[38,8]]},"229":{"position":[[148,8]]},"236":{"position":[[78,7],[154,7],[344,8]]},"239":{"position":[[26,7]]},"241":{"position":[[448,7],[721,7]]},"243":{"position":[[559,7],[626,7],[727,7],[826,7],[923,7]]},"244":{"position":[[773,7]]},"249":{"position":[[385,7]]},"254":{"position":[[227,7],[496,7]]},"255":{"position":[[622,8]]},"258":{"position":[[183,8]]},"265":{"position":[[109,7]]},"266":{"position":[[32,7],[76,9],[460,7],[702,8],[851,7],[959,7]]},"267":{"position":[[1320,8]]},"279":{"position":[[82,8]]},"283":{"position":[[209,7]]},"284":{"position":[[223,7]]},"287":{"position":[[36,7],[143,7],[492,8],[560,7],[960,8],[1204,7]]},"290":{"position":[[131,7]]},"294":{"position":[[177,7]]},"295":{"position":[[137,7]]},"298":{"position":[[449,8],[913,7]]},"299":{"position":[[1098,7],[1679,7]]},"300":{"position":[[51,7],[83,7],[162,7],[539,8],[837,7]]},"301":{"position":[[60,7],[487,7],[551,7],[650,7]]},"303":{"position":[[49,7]]},"304":{"position":[[243,7]]},"305":{"position":[[427,7]]},"306":{"position":[[335,7]]},"310":{"position":[[345,7]]},"313":{"position":[[150,7]]},"314":{"position":[[108,8],[192,7],[513,8],[1031,7]]},"315":{"position":[[481,8],[580,8]]},"316":{"position":[[17,7]]},"317":{"position":[[14,7]]},"318":{"position":[[11,7],[281,7],[464,7]]},"321":{"position":[[357,7]]},"334":{"position":[[370,8]]},"336":{"position":[[24,7],[529,7]]},"357":{"position":[[661,8]]},"358":{"position":[[123,8]]},"360":{"position":[[12,7]]},"361":{"position":[[292,7]]},"365":{"position":[[75,7],[153,8],[215,8],[408,8],[536,8],[861,8],[931,8],[993,7],[1034,8]]},"366":{"position":[[13,7],[130,7],[176,7]]},"368":{"position":[[23,7],[83,7],[122,7]]},"369":{"position":[[1359,7],[1376,7],[1548,7]]},"372":{"position":[[58,7],[217,8]]},"373":{"position":[[460,8],[749,7]]},"377":{"position":[[321,7]]},"383":{"position":[[349,7]]},"385":{"position":[[64,7]]},"388":{"position":[[510,7]]},"392":{"position":[[90,7],[382,8],[1228,7]]},"395":{"position":[[122,7]]},"398":{"position":[[2977,7]]},"402":{"position":[[416,7],[1255,8],[1575,7],[2681,8],[2837,9]]},"408":{"position":[[181,7],[266,7],[309,7],[456,7],[1218,7],[1366,7],[1491,7],[3814,7],[4146,7],[4690,7]]},"410":{"position":[[42,7]]},"411":{"position":[[4177,7]]},"412":{"position":[[1116,8],[7297,7],[7365,8],[7647,7],[8071,7],[8514,8],[9093,9],[9967,7]]},"417":{"position":[[169,7]]},"420":{"position":[[347,8]]},"424":{"position":[[478,8]]},"426":{"position":[[103,7]]},"427":{"position":[[727,7],[1496,7]]},"429":{"position":[[126,7],[408,7],[636,7]]},"430":{"position":[[802,7]]},"432":{"position":[[41,7],[303,7],[616,7],[823,7]]},"434":{"position":[[52,8],[379,7]]},"435":{"position":[[69,8]]},"436":{"position":[[116,7]]},"438":{"position":[[367,7]]},"439":{"position":[[283,7],[367,7],[550,7],[578,7],[647,7]]},"441":{"position":[[101,8],[267,7],[585,7]]},"444":{"position":[[75,7]]},"451":{"position":[[407,7]]},"453":{"position":[[798,7]]},"454":{"position":[[812,7]]},"455":{"position":[[100,8]]},"456":{"position":[[159,8]]},"458":{"position":[[474,7],[656,7],[754,7],[1174,8]]},"459":{"position":[[347,7]]},"460":{"position":[[399,7]]},"461":{"position":[[625,7],[998,7],[1248,7],[1426,7],[1505,7]]},"462":{"position":[[46,7],[790,8]]},"469":{"position":[[891,7],[1336,7]]},"470":{"position":[[217,7],[555,7]]},"480":{"position":[[408,8]]},"482":{"position":[[424,7],[521,8],[657,8]]},"483":{"position":[[1046,7]]},"489":{"position":[[172,7],[228,7]]},"491":{"position":[[13,7]]},"495":{"position":[[731,7],[832,8],[892,7]]},"502":{"position":[[343,7]]},"504":{"position":[[481,7]]},"508":{"position":[[62,7]]},"520":{"position":[[211,8],[245,8]]},"522":{"position":[[465,8]]},"524":{"position":[[22,7],[114,7],[319,7],[359,7],[446,8]]},"528":{"position":[[45,7]]},"533":{"position":[[205,7],[301,7]]},"535":{"position":[[1265,8]]},"538":{"position":[[24,7],[111,8],[234,7],[494,8]]},"542":{"position":[[567,8]]},"544":{"position":[[66,8],[388,7]]},"545":{"position":[[235,7]]},"546":{"position":[[69,7],[349,7]]},"547":{"position":[[61,7]]},"551":{"position":[[213,7],[350,8]]},"554":{"position":[[336,7],[424,7],[465,8],[644,7],[719,7],[865,7],[969,8],[1100,8]]},"556":{"position":[[83,7],[154,7]]},"560":{"position":[[147,7]]},"561":{"position":[[143,8]]},"562":{"position":[[202,8]]},"563":{"position":[[522,8]]},"564":{"position":[[27,7],[489,8],[630,8],[1153,8]]},"566":{"position":[[106,7],[794,8]]},"567":{"position":[[47,7],[239,7],[912,7],[1090,7]]},"574":{"position":[[460,7]]},"576":{"position":[[66,7]]},"579":{"position":[[141,7],[379,8]]},"581":{"position":[[24,7],[308,7],[621,7]]},"584":{"position":[[86,8]]},"588":{"position":[[83,7]]},"593":{"position":[[205,7],[301,7]]},"595":{"position":[[1318,8]]},"598":{"position":[[24,7],[111,8],[235,7],[501,8]]},"604":{"position":[[66,8],[322,7]]},"605":{"position":[[235,7]]},"606":{"position":[[69,7],[339,7]]},"607":{"position":[[61,7]]},"632":{"position":[[1263,7],[1330,8]]},"638":{"position":[[373,8],[467,8]]},"639":{"position":[[178,7]]},"640":{"position":[[8,7],[445,7]]},"641":{"position":[[99,7],[155,8],[352,7]]},"643":{"position":[[103,8]]},"653":{"position":[[290,8]]},"660":{"position":[[159,8],[418,8]]},"661":{"position":[[323,7],[363,7],[597,7]]},"662":{"position":[[1884,8],[2045,8],[2164,8]]},"666":{"position":[[359,7],[454,9]]},"680":{"position":[[711,8]]},"693":{"position":[[538,7],[597,7],[925,9],[935,8],[1199,8],[1245,9]]},"696":{"position":[[813,8]]},"697":{"position":[[58,7]]},"698":{"position":[[524,7]]},"703":{"position":[[387,7],[406,7]]},"704":{"position":[[456,7]]},"709":{"position":[[106,7],[906,7]]},"710":{"position":[[431,7],[1733,8]]},"714":{"position":[[1102,7]]},"717":{"position":[[735,7],[833,8],[912,8],[1194,8]]},"718":{"position":[[308,7],[416,8],[697,8]]},"719":{"position":[[224,7]]},"721":{"position":[[453,7]]},"723":{"position":[[1938,7]]},"734":{"position":[[345,8],[519,8]]},"739":{"position":[[322,8]]},"745":{"position":[[77,7],[143,7],[354,7],[424,8],[504,7],[568,8]]},"746":{"position":[[312,8],[596,7]]},"747":{"position":[[129,8]]},"749":{"position":[[756,7],[893,7],[3376,7],[3487,7],[8663,7],[21760,7],[23234,7],[23360,7],[23492,7]]},"756":{"position":[[108,8]]},"759":{"position":[[142,9],[397,8],[544,7]]},"760":{"position":[[243,8],[318,9],[540,7]]},"772":{"position":[[141,7],[205,7],[808,8],[1096,7],[1199,7],[1675,8],[2437,8],[2568,8]]},"773":{"position":[[598,8]]},"774":{"position":[[129,8],[294,7],[363,7],[700,8],[736,8]]},"775":{"position":[[709,7]]},"778":{"position":[[362,7]]},"793":{"position":[[152,8],[393,7],[1013,7]]},"801":{"position":[[17,7]]},"820":{"position":[[279,7],[315,8]]},"825":{"position":[[374,8]]},"829":{"position":[[239,7],[681,8]]},"830":{"position":[[246,7]]},"832":{"position":[[408,7]]},"835":{"position":[[33,7]]},"836":{"position":[[1075,7],[2281,7]]},"837":{"position":[[980,8]]},"838":{"position":[[1629,7],[1685,7],[2416,8]]},"841":{"position":[[990,8]]},"860":{"position":[[106,8],[1018,7]]},"862":{"position":[[572,8]]},"872":{"position":[[1456,8],[1506,7],[1750,8],[4011,8]]},"898":{"position":[[2070,7],[2146,8],[2354,8]]},"904":{"position":[[430,7],[525,8],[751,8]]},"932":{"position":[[871,7],[989,8],[1082,8]]},"960":{"position":[[333,8]]},"961":{"position":[[238,7]]},"962":{"position":[[244,7],[792,8],[1008,8]]},"966":{"position":[[574,8],[692,8]]},"967":{"position":[[159,8],[277,8]]},"977":{"position":[[30,8],[472,8]]},"981":{"position":[[1108,7]]},"1002":{"position":[[921,8]]},"1009":{"position":[[613,7]]},"1013":{"position":[[69,7],[337,8]]},"1067":{"position":[[738,8]]},"1068":{"position":[[203,7]]},"1072":{"position":[[293,8],[1683,7],[1725,7]]},"1085":{"position":[[3524,7]]},"1089":{"position":[[60,7]]},"1090":{"position":[[78,7],[159,8],[411,7],[815,8],[851,8],[1368,7]]},"1095":{"position":[[149,7]]},"1114":{"position":[[106,7],[748,8]]},"1118":{"position":[[678,8]]},"1120":{"position":[[129,7],[437,8],[629,7]]},"1121":{"position":[[488,8]]},"1123":{"position":[[43,8],[384,7],[489,8]]},"1124":{"position":[[151,7],[209,7],[376,7],[634,7]]},"1125":{"position":[[113,7],[325,8]]},"1126":{"position":[[20,8],[45,7],[410,8],[723,8]]},"1130":{"position":[[198,8]]},"1132":{"position":[[143,7],[1116,7],[1364,7]]},"1134":{"position":[[175,8]]},"1137":{"position":[[48,9],[85,8],[292,9]]},"1138":{"position":[[22,7],[319,8]]},"1139":{"position":[[574,8]]},"1140":{"position":[[5,7],[318,7],[358,8],[633,8]]},"1141":{"position":[[85,7],[195,7],[225,7]]},"1143":{"position":[[622,7]]},"1144":{"position":[[20,8],[223,8]]},"1145":{"position":[[563,8]]},"1146":{"position":[[268,8]]},"1148":{"position":[[743,7],[1157,7]]},"1149":{"position":[[891,8],[950,8]]},"1151":{"position":[[211,7],[581,7]]},"1152":{"position":[[87,8]]},"1154":{"position":[[115,7],[626,8],[784,8]]},"1157":{"position":[[100,7]]},"1158":{"position":[[14,8],[231,8]]},"1159":{"position":[[85,7],[417,8]]},"1161":{"position":[[296,8]]},"1162":{"position":[[224,8],[557,7],[738,7]]},"1163":{"position":[[226,8],[348,7],[390,7],[427,8],[577,8]]},"1164":{"position":[[124,7],[161,8],[330,7],[469,8],[579,7],[657,8],[720,8],[1241,8]]},"1165":{"position":[[19,7],[130,8],[190,8],[235,7],[390,8],[768,8],[1106,8]]},"1168":{"position":[[179,8]]},"1172":{"position":[[344,8]]},"1178":{"position":[[210,7],[580,7]]},"1181":{"position":[[290,8],[375,7],[645,7],[826,7]]},"1182":{"position":[[226,8],[348,7],[379,8],[394,7],[431,8],[581,8]]},"1183":{"position":[[26,7],[77,7],[323,7],[555,7]]},"1184":{"position":[[270,7],[308,8],[346,7],[640,7],[677,8],[725,8],[820,8]]},"1185":{"position":[[41,7],[300,7],[366,8]]},"1186":{"position":[[35,7],[258,7],[317,8]]},"1188":{"position":[[396,7]]},"1189":{"position":[[102,8],[442,8]]},"1191":{"position":[[413,8],[619,8]]},"1192":{"position":[[24,8],[261,8],[540,8],[671,8]]},"1194":{"position":[[70,8]]},"1195":{"position":[[47,8],[88,7],[231,7]]},"1196":{"position":[[186,7]]},"1198":{"position":[[621,7],[1245,7],[1838,8]]},"1201":{"position":[[219,8]]},"1206":{"position":[[59,7],[252,8]]},"1209":{"position":[[161,7],[394,9]]},"1210":{"position":[[460,8]]},"1211":{"position":[[715,8]]},"1212":{"position":[[46,7],[246,7],[448,7],[502,7]]},"1213":{"position":[[668,7]]},"1214":{"position":[[527,7],[644,7]]},"1218":{"position":[[12,7],[357,7],[415,10],[532,7],[587,7],[787,8]]},"1219":{"position":[[12,7],[72,7],[729,8],[900,8]]},"1220":{"position":[[12,7],[462,7]]},"1222":{"position":[[384,8],[1431,8]]},"1225":{"position":[[425,8]]},"1226":{"position":[[256,8]]},"1227":{"position":[[734,8]]},"1228":{"position":[[125,7]]},"1229":{"position":[[261,7]]},"1230":{"position":[[261,7]]},"1231":{"position":[[890,8],[1065,8]]},"1235":{"position":[[38,7],[130,7],[480,8]]},"1237":{"position":[[135,8],[858,8],[895,8],[935,8],[982,8]]},"1238":{"position":[[38,8],[159,7],[192,8],[833,8],[882,8],[914,8],[978,8]]},"1239":{"position":[[18,7],[134,7],[202,7],[803,8],[852,8],[888,8]]},"1241":{"position":[[3,7]]},"1242":{"position":[[24,7]]},"1243":{"position":[[127,8]]},"1244":{"position":[[117,8]]},"1245":{"position":[[21,7]]},"1246":{"position":[[98,7],[442,7],[713,7],[907,8],[1198,8],[1339,7],[1446,7]]},"1247":{"position":[[24,7],[171,7],[365,7],[538,7],[731,8]]},"1263":{"position":[[319,8]]},"1264":{"position":[[178,8]]},"1265":{"position":[[722,8]]},"1267":{"position":[[563,7],[658,8],[752,8]]},"1268":{"position":[[424,7],[750,8]]},"1270":{"position":[[12,7],[68,8],[97,7],[283,7]]},"1271":{"position":[[38,7],[152,7],[303,7],[462,7],[621,8],[725,7],[925,7],[1109,7],[1227,7],[1411,7],[1535,7],[1608,8],[1617,7],[1695,8]]},"1272":{"position":[[158,8]]},"1274":{"position":[[359,8]]},"1275":{"position":[[370,8]]},"1276":{"position":[[230,8],[972,8]]},"1277":{"position":[[509,8],[864,7]]},"1278":{"position":[[518,8],[970,8]]},"1279":{"position":[[746,8]]},"1280":{"position":[[481,8]]},"1282":{"position":[[757,7],[1128,7]]},"1286":{"position":[[395,7],[433,8],[538,7]]},"1287":{"position":[[441,7],[483,8],[588,7]]},"1288":{"position":[[401,7],[449,8],[554,7]]},"1292":{"position":[[52,7],[216,7],[280,7],[403,8],[634,7]]},"1296":{"position":[[103,7]]},"1300":{"position":[[580,7]]},"1311":{"position":[[200,8]]},"1324":{"position":[[456,8]]}},"keywords":{}}],["storage"",{"_index":1453,"title":{},"content":{"243":{"position":[[341,13],[1027,13]]},"244":{"position":[[52,13],[116,13],[1154,13]]}},"keywords":{}}],["storage+databasenam",{"_index":4208,"title":{},"content":{"749":{"position":[[5680,20]]}},"keywords":{}}],["storage+nam",{"_index":5398,"title":{},"content":{"967":{"position":[[77,12]]}},"keywords":{}}],["storage."",{"_index":2826,"title":{},"content":{"419":{"position":[[1912,14]]}},"keywords":{}}],["storage.can",{"_index":6154,"title":{},"content":{"1180":{"position":[[296,11]]}},"keywords":{}}],["storage.customrequest",{"_index":6260,"title":{},"content":{"1220":{"position":[[556,23]]}},"keywords":{}}],["storage.decreas",{"_index":6105,"title":{},"content":{"1161":{"position":[[84,17]]},"1180":{"position":[[84,17]]}},"keywords":{}}],["storage.html?console=storag",{"_index":4298,"title":{},"content":{"749":{"position":[[12695,28]]}},"keywords":{}}],["storage.indexeddb",{"_index":3233,"title":{},"content":{"504":{"position":[[158,17]]}},"keywords":{}}],["storage.memori",{"_index":1673,"title":{},"content":{"287":{"position":[[873,14]]}},"keywords":{}}],["storage.opf",{"_index":3234,"title":{},"content":{"504":{"position":[[243,12]]}},"keywords":{}}],["storage.th",{"_index":6112,"title":{},"content":{"1162":{"position":[[849,11]]}},"keywords":{}}],["storageflex",{"_index":3141,"title":{},"content":{"483":{"position":[[236,15]]}},"keywords":{}}],["storageful",{"_index":2434,"title":{},"content":{"400":{"position":[[50,11]]}},"keywords":{}}],["storageinst",{"_index":6144,"title":{},"content":{"1177":{"position":[[234,15]]}},"keywords":{}}],["storageinstance.internals.localst",{"_index":6147,"title":{},"content":{"1177":{"position":[[309,37]]}},"keywords":{}}],["storages.in",{"_index":1570,"title":{},"content":{"254":{"position":[[382,11]]}},"keywords":{}}],["storages.split",{"_index":3096,"title":{},"content":{"469":{"position":[[1129,18]]}},"keywords":{}}],["storagesingl",{"_index":3417,"title":{},"content":{"560":{"position":[[370,13]]}},"keywords":{}}],["storagesqlit",{"_index":3330,"title":{},"content":{"546":{"position":[[232,14]]},"606":{"position":[[232,14]]}},"keywords":{}}],["storageth",{"_index":3302,"title":{},"content":{"538":{"position":[[70,10]]},"598":{"position":[[70,10]]}},"keywords":{}}],["storagewithattachmentscompress",{"_index":5315,"title":{},"content":{"932":{"position":[[914,33],[1091,33]]}},"keywords":{}}],["storagewithkeycompress",{"_index":4083,"title":{},"content":{"734":{"position":[[286,25],[528,25]]}},"keywords":{}}],["store",{"_index":5,"title":{"65":{"position":[[4,5]]},"81":{"position":[[0,7]]},"86":{"position":[[22,5]]},"95":{"position":[[0,5]]},"111":{"position":[[0,7]]},"214":{"position":[[22,5]]},"236":{"position":[[0,7]]},"270":{"position":[[0,7]]},"294":{"position":[[27,6]]},"305":{"position":[[31,6]]},"355":{"position":[[0,7]]},"357":{"position":[[0,7]]},"368":{"position":[[0,5]]},"371":{"position":[[8,5]]},"392":{"position":[[0,7]]},"397":{"position":[[0,7]]},"426":{"position":[[0,7]]},"457":{"position":[[0,7]]},"559":{"position":[[8,7]]},"800":{"position":[[0,5]]},"912":{"position":[[0,7]]},"1122":{"position":[[39,5]]},"1237":{"position":[[0,7]]}},"content":{"1":{"position":[[56,6]]},"3":{"position":[[23,6]]},"5":{"position":[[14,6]]},"6":{"position":[[44,5],[643,5]]},"7":{"position":[[43,5],[478,5]]},"10":{"position":[[26,6]]},"13":{"position":[[172,5]]},"14":{"position":[[489,6],[745,6]]},"16":{"position":[[183,6]]},"17":{"position":[[437,5]]},"24":{"position":[[738,5]]},"30":{"position":[[90,6]]},"31":{"position":[[173,6]]},"35":{"position":[[319,7]]},"36":{"position":[[207,5]]},"45":{"position":[[146,5]]},"47":{"position":[[420,6],[692,7]]},"58":{"position":[[290,5]]},"63":{"position":[[42,5]]},"65":{"position":[[40,7],[150,7],[813,6],[1530,5],[1677,6],[1731,6],[1812,7]]},"66":{"position":[[475,6]]},"86":{"position":[[42,7]]},"87":{"position":[[73,7]]},"88":{"position":[[1,7]]},"93":{"position":[[1,7]]},"95":{"position":[[149,5]]},"97":{"position":[[14,6]]},"110":{"position":[[59,6]]},"111":{"position":[[70,7]]},"117":{"position":[[100,6]]},"122":{"position":[[157,6]]},"131":{"position":[[561,5]]},"133":{"position":[[151,6]]},"139":{"position":[[132,6]]},"152":{"position":[[179,7]]},"173":{"position":[[1225,5],[1327,6],[1675,6]]},"174":{"position":[[2407,5]]},"178":{"position":[[113,7]]},"183":{"position":[[171,6]]},"188":{"position":[[250,5],[3118,5]]},"189":{"position":[[69,5],[519,6]]},"195":{"position":[[101,6]]},"215":{"position":[[26,5]]},"216":{"position":[[67,7]]},"217":{"position":[[1,7]]},"218":{"position":[[277,6]]},"219":{"position":[[151,5]]},"221":{"position":[[81,7]]},"236":{"position":[[29,5]]},"240":{"position":[[43,6]]},"245":{"position":[[149,5]]},"248":{"position":[[105,6]]},"252":{"position":[[131,6]]},"254":{"position":[[307,5]]},"265":{"position":[[152,7]]},"270":{"position":[[1,7],[136,5]]},"273":{"position":[[117,6]]},"274":{"position":[[85,7]]},"291":{"position":[[120,6]]},"292":{"position":[[156,6]]},"294":{"position":[[111,6]]},"302":{"position":[[168,5],[745,5]]},"303":{"position":[[150,5],[412,7],[1154,5]]},"304":{"position":[[144,5]]},"306":{"position":[[66,5]]},"309":{"position":[[136,6]]},"311":{"position":[[138,6]]},"315":{"position":[[877,6]]},"316":{"position":[[514,6]]},"317":{"position":[[51,6]]},"321":{"position":[[57,5]]},"322":{"position":[[175,5]]},"325":{"position":[[43,6]]},"331":{"position":[[77,7]]},"334":{"position":[[129,5]]},"336":{"position":[[349,6]]},"338":{"position":[[65,5]]},"343":{"position":[[41,6]]},"345":{"position":[[91,6]]},"346":{"position":[[107,5]]},"350":{"position":[[19,6],[188,5]]},"352":{"position":[[98,5]]},"353":{"position":[[631,7]]},"356":{"position":[[201,5],[749,5]]},"357":{"position":[[20,7],[256,7],[480,6]]},"358":{"position":[[26,7]]},"360":{"position":[[26,6],[557,6]]},"362":{"position":[[322,5],[552,7]]},"364":{"position":[[297,7],[581,5],[688,6]]},"365":{"position":[[621,6],[1290,6]]},"367":{"position":[[1,7],[533,6]]},"376":{"position":[[239,7]]},"377":{"position":[[1,7]]},"390":{"position":[[59,7]]},"391":{"position":[[909,6]]},"392":{"position":[[4,5],[103,6],[459,6],[505,6],[1163,6],[1389,6],[1775,7],[1886,6],[2037,7],[2457,6],[2566,6]]},"393":{"position":[[18,6]]},"394":{"position":[[41,6],[1450,6]]},"395":{"position":[[46,5]]},"396":{"position":[[1092,6],[1176,5],[1788,6]]},"397":{"position":[[20,5],[1578,6],[2007,5]]},"398":{"position":[[25,6],[3507,5]]},"402":{"position":[[120,7],[2590,5]]},"403":{"position":[[154,6],[406,6]]},"407":{"position":[[166,5]]},"408":{"position":[[621,7],[881,5],[4463,6]]},"410":{"position":[[513,7],[2142,5]]},"411":{"position":[[2151,6],[2753,7]]},"412":{"position":[[2069,7],[2731,5],[7690,7],[13130,6]]},"414":{"position":[[33,5],[410,5]]},"416":{"position":[[42,7]]},"417":{"position":[[252,7]]},"419":{"position":[[798,7]]},"424":{"position":[[91,5],[424,5]]},"425":{"position":[[249,7]]},"426":{"position":[[191,5],[272,7],[365,7]]},"427":{"position":[[501,6],[549,7],[655,7]]},"429":{"position":[[577,7]]},"430":{"position":[[431,7],[604,5]]},"432":{"position":[[206,5],[1264,6]]},"434":{"position":[[153,5]]},"439":{"position":[[130,5]]},"440":{"position":[[148,6],[347,5]]},"442":{"position":[[14,5]]},"444":{"position":[[666,5]]},"445":{"position":[[538,5]]},"450":{"position":[[60,5],[338,6],[433,5]]},"451":{"position":[[128,5],[272,6],[313,7],[420,7]]},"452":{"position":[[111,7]]},"453":{"position":[[95,5],[693,7],[733,5]]},"455":{"position":[[167,5]]},"457":{"position":[[10,5],[66,5],[168,5],[275,5],[441,5]]},"459":{"position":[[43,7],[1183,7]]},"461":{"position":[[68,6],[1332,5]]},"462":{"position":[[691,5],[836,7]]},"463":{"position":[[16,5],[363,5],[628,7],[856,5],[1250,5]]},"464":{"position":[[1321,7]]},"465":{"position":[[18,6]]},"469":{"position":[[361,5],[656,6],[822,6],[1072,7]]},"473":{"position":[[39,6]]},"480":{"position":[[970,5]]},"489":{"position":[[88,6]]},"491":{"position":[[1192,6]]},"495":{"position":[[560,7],[747,7]]},"500":{"position":[[443,5]]},"504":{"position":[[364,7]]},"516":{"position":[[117,7]]},"524":{"position":[[508,6],[605,6]]},"526":{"position":[[136,6]]},"533":{"position":[[34,7],[150,5]]},"534":{"position":[[204,7]]},"535":{"position":[[365,5]]},"545":{"position":[[214,7]]},"551":{"position":[[503,7]]},"555":{"position":[[135,7],[836,6],[970,7]]},"556":{"position":[[269,6],[511,6],[572,5],[1236,5]]},"559":{"position":[[44,7],[1190,5]]},"560":{"position":[[233,5],[441,6]]},"561":{"position":[[155,6]]},"564":{"position":[[117,6],[1060,5]]},"566":{"position":[[64,5],[133,6],[1318,7]]},"574":{"position":[[612,5],[637,6]]},"575":{"position":[[341,6]]},"580":{"position":[[132,5]]},"581":{"position":[[353,6]]},"586":{"position":[[103,6]]},"588":{"position":[[43,6]]},"590":{"position":[[263,6],[295,5]]},"593":{"position":[[34,7],[150,5]]},"594":{"position":[[202,7]]},"595":{"position":[[376,5]]},"605":{"position":[[214,7]]},"630":{"position":[[1014,5]]},"635":{"position":[[377,7]]},"638":{"position":[[6,7]]},"647":{"position":[[274,6]]},"659":{"position":[[91,5],[753,6],[976,7]]},"660":{"position":[[307,6],[396,7]]},"661":{"position":[[1698,5]]},"662":{"position":[[458,5],[564,6],[661,7]]},"680":{"position":[[135,5],[1013,5]]},"685":{"position":[[21,6],[575,5]]},"693":{"position":[[628,5]]},"696":{"position":[[80,6],[994,5],[1417,5],[1586,7],[1921,5],[1962,6],[2041,7]]},"697":{"position":[[14,6],[252,6],[505,6],[553,5]]},"698":{"position":[[2384,7],[2436,5]]},"701":{"position":[[765,5]]},"702":{"position":[[218,6]]},"703":{"position":[[59,5],[287,5],[577,5]]},"709":{"position":[[187,7],[760,7]]},"710":{"position":[[536,6]]},"711":{"position":[[140,6],[2140,5]]},"715":{"position":[[37,5]]},"716":{"position":[[119,7],[327,5]]},"720":{"position":[[4,5]]},"723":{"position":[[442,6],[1997,6]]},"724":{"position":[[579,5]]},"749":{"position":[[6401,5],[14460,5],[21892,5]]},"754":{"position":[[10,5]]},"772":{"position":[[1133,6],[1312,6],[1955,5]]},"773":{"position":[[103,6]]},"775":{"position":[[558,5]]},"779":{"position":[[369,5]]},"784":{"position":[[798,6]]},"785":{"position":[[507,6]]},"786":{"position":[[14,5]]},"821":{"position":[[116,5],[703,5]]},"835":{"position":[[858,6],[1040,7]]},"836":{"position":[[767,6]]},"837":{"position":[[360,5],[750,5],[2066,5]]},"838":{"position":[[1093,7],[1240,6],[3355,5]]},"840":{"position":[[55,6]]},"841":{"position":[[88,6],[161,6],[1332,5],[1408,6]]},"844":{"position":[[181,5],[230,6]]},"846":{"position":[[796,7]]},"856":{"position":[[195,5]]},"865":{"position":[[79,5]]},"866":{"position":[[669,6]]},"898":{"position":[[282,6],[383,6]]},"902":{"position":[[441,7]]},"903":{"position":[[229,6]]},"904":{"position":[[443,6]]},"912":{"position":[[1,7],[318,6]]},"932":{"position":[[212,7],[364,7],[1413,5]]},"962":{"position":[[630,6]]},"977":{"position":[[453,6]]},"988":{"position":[[1872,5]]},"995":{"position":[[1216,5]]},"1002":{"position":[[260,5]]},"1005":{"position":[[209,7]]},"1006":{"position":[[100,7]]},"1007":{"position":[[1084,6]]},"1013":{"position":[[189,5],[421,5],[573,5],[640,5]]},"1028":{"position":[[80,7]]},"1047":{"position":[[102,5]]},"1068":{"position":[[239,6]]},"1072":{"position":[[550,7],[2128,5],[2220,5]]},"1074":{"position":[[381,6],[653,5]]},"1078":{"position":[[310,6]]},"1085":{"position":[[11,5],[48,5],[103,5],[307,5],[477,7],[696,5],[1075,5],[1511,5]]},"1104":{"position":[[770,5]]},"1105":{"position":[[1213,5]]},"1106":{"position":[[310,7]]},"1116":{"position":[[11,6]]},"1121":{"position":[[27,6]]},"1124":{"position":[[481,5],[1656,6],[1698,6],[2048,6]]},"1126":{"position":[[857,6]]},"1140":{"position":[[70,6]]},"1143":{"position":[[247,6]]},"1162":{"position":[[644,7],[690,5]]},"1170":{"position":[[228,7]]},"1171":{"position":[[364,6]]},"1173":{"position":[[53,5]]},"1180":{"position":[[308,5]]},"1181":{"position":[[41,7],[732,7],[778,5]]},"1184":{"position":[[124,5]]},"1186":{"position":[[203,6]]},"1191":{"position":[[233,5],[305,5]]},"1192":{"position":[[289,5]]},"1194":{"position":[[465,6],[739,6],[832,6],[964,6]]},"1198":{"position":[[488,5],[1271,6]]},"1199":{"position":[[81,7]]},"1207":{"position":[[671,5]]},"1222":{"position":[[1181,6]]},"1237":{"position":[[48,5],[234,6]]},"1239":{"position":[[155,5]]},"1241":{"position":[[16,6]]},"1242":{"position":[[32,6]]},"1246":{"position":[[1413,6],[1565,6],[1849,5]]},"1247":{"position":[[574,6]]},"1267":{"position":[[249,5]]},"1271":{"position":[[420,5]]},"1282":{"position":[[81,5],[184,5]]},"1292":{"position":[[412,6]]},"1294":{"position":[[245,6],[342,6],[897,5]]},"1295":{"position":[[125,7],[236,6],[617,7],[923,5],[998,6],[1191,5]]},"1300":{"position":[[975,5]]},"1305":{"position":[[491,6],[917,6],[1048,6]]},"1307":{"position":[[120,6]]},"1319":{"position":[[108,6]]},"1320":{"position":[[785,5]]},"1321":{"position":[[556,5],[763,6]]},"1324":{"position":[[263,5],[479,6]]}},"keywords":{}}],["store.add(hugedata",{"_index":1808,"title":{},"content":{"302":{"position":[[789,19]]}},"keywords":{}}],["store.index('ag",{"_index":6431,"title":{},"content":{"1294":{"position":[[946,16]]}},"keywords":{}}],["store.put(docdata",{"_index":6461,"title":{},"content":{"1296":{"position":[[941,19]]}},"keywords":{}}],["storeattachmentsasbase64str",{"_index":6369,"title":{},"content":{"1282":{"position":[[132,31]]}},"keywords":{}}],["stored/queri",{"_index":4716,"title":{},"content":{"821":{"position":[[658,14]]}},"keywords":{}}],["storedus",{"_index":2880,"title":{},"content":{"426":{"position":[[487,10]]}},"keywords":{}}],["storedusernam",{"_index":2872,"title":{},"content":{"425":{"position":[[361,14]]}},"keywords":{}}],["stores—provid",{"_index":2016,"title":{},"content":{"354":{"position":[[50,14]]}},"keywords":{}}],["straightforward",{"_index":529,"title":{},"content":{"34":{"position":[[116,16]]},"35":{"position":[[522,15]]},"47":{"position":[[644,15]]},"63":{"position":[[19,15]]},"90":{"position":[[77,16]]},"174":{"position":[[2162,16]]},"219":{"position":[[338,15]]},"285":{"position":[[32,15]]},"293":{"position":[[147,15]]},"306":{"position":[[127,15]]},"336":{"position":[[553,16]]},"387":{"position":[[31,15]]},"429":{"position":[[387,15]]},"491":{"position":[[517,15]]},"503":{"position":[[86,15]]},"522":{"position":[[61,16]]},"536":{"position":[[31,16]]},"554":{"position":[[66,15]]},"559":{"position":[[96,15]]},"563":{"position":[[932,15]]},"596":{"position":[[29,16]]},"612":{"position":[[677,16]]},"624":{"position":[[166,15]]},"690":{"position":[[163,16]]},"836":{"position":[[1381,15],[2248,16]]},"903":{"position":[[633,16]]},"906":{"position":[[504,16]]},"1208":{"position":[[24,15]]}},"keywords":{}}],["strang",{"_index":2847,"title":{},"content":{"421":{"position":[[169,7]]},"749":{"position":[[21948,7]]},"1085":{"position":[[264,7],[3130,7]]},"1305":{"position":[[275,7]]}},"keywords":{}}],["strateg",{"_index":1120,"title":{},"content":{"138":{"position":[[211,13]]},"166":{"position":[[182,13]]}},"keywords":{}}],["strategi",{"_index":227,"title":{"147":{"position":[[21,11]]},"496":{"position":[[20,11]]},"751":{"position":[[10,11]]}},"content":{"14":{"position":[[817,8]]},"65":{"position":[[111,8]]},"134":{"position":[[209,10]]},"135":{"position":[[298,11]]},"146":{"position":[[306,10]]},"147":{"position":[[96,10],[286,10]]},"165":{"position":[[249,10]]},"192":{"position":[[169,11]]},"202":{"position":[[431,8]]},"250":{"position":[[58,9]]},"287":{"position":[[239,8]]},"328":{"position":[[220,10]]},"339":{"position":[[81,11]]},"367":{"position":[[316,10]]},"381":{"position":[[409,10]]},"396":{"position":[[841,11]]},"403":{"position":[[367,8]]},"408":{"position":[[2677,10]]},"412":{"position":[[3260,9],[5311,9],[5533,9],[12407,8]]},"473":{"position":[[87,8]]},"501":{"position":[[375,10]]},"525":{"position":[[547,11]]},"567":{"position":[[1098,8]]},"618":{"position":[[444,8]]},"636":{"position":[[297,9]]},"688":{"position":[[858,9]]},"698":{"position":[[456,9],[1430,11],[2544,9],[3296,11]]},"702":{"position":[[637,8]]},"751":{"position":[[391,8],[739,10]]},"757":{"position":[[287,10]]},"860":{"position":[[788,11]]},"899":{"position":[[137,10]]},"1085":{"position":[[3497,11]]},"1149":{"position":[[63,9]]},"1305":{"position":[[173,8]]},"1313":{"position":[[982,11]]},"1321":{"position":[[400,8]]}},"keywords":{}}],["strategy.opf",{"_index":3090,"title":{},"content":{"469":{"position":[[254,13]]}},"keywords":{}}],["stream",{"_index":356,"title":{"140":{"position":[[7,7]]},"168":{"position":[[7,7]]},"196":{"position":[[7,7]]},"344":{"position":[[7,7]]},"509":{"position":[[7,7]]},"529":{"position":[[7,7]]},"585":{"position":[[30,8]]}},"content":{"20":{"position":[[195,7]]},"121":{"position":[[103,7]]},"140":{"position":[[21,8],[133,8],[268,7]]},"156":{"position":[[106,6]]},"168":{"position":[[20,7],[130,8]]},"170":{"position":[[423,8]]},"196":{"position":[[22,8],[99,8]]},"208":{"position":[[278,9]]},"255":{"position":[[259,9]]},"267":{"position":[[537,7]]},"283":{"position":[[341,7]]},"303":{"position":[[240,7]]},"344":{"position":[[12,7]]},"408":{"position":[[2511,6]]},"445":{"position":[[1012,7],[1389,8]]},"464":{"position":[[154,6]]},"491":{"position":[[1703,9]]},"509":{"position":[[24,8]]},"529":{"position":[[48,8]]},"570":{"position":[[772,6]]},"612":{"position":[[1127,6],[1500,6],[1928,8]]},"613":{"position":[[243,8],[468,10]]},"614":{"position":[[325,9]]},"617":{"position":[[1540,7],[2011,6],[2273,6]]},"622":{"position":[[645,7],[738,8]]},"623":{"position":[[714,8]]},"624":{"position":[[599,10]]},"625":{"position":[[25,9]]},"626":{"position":[[123,8],[206,9],[321,6],[888,6]]},"627":{"position":[[81,9]]},"632":{"position":[[415,7]]},"643":{"position":[[223,9]]},"749":{"position":[[15627,7]]},"781":{"position":[[276,7]]},"866":{"position":[[552,6],[583,7]]},"871":{"position":[[124,7]]},"875":{"position":[[6629,6],[7103,6],[7312,8],[7732,7],[8461,8],[9309,7],[9750,8]]},"885":{"position":[[448,6]]},"886":{"position":[[3223,7],[3292,6],[3351,6]]},"888":{"position":[[732,8]]},"921":{"position":[[34,6]]},"932":{"position":[[622,7]]},"941":{"position":[[51,7]]},"970":{"position":[[51,7]]},"988":{"position":[[4723,6],[4793,7],[4832,8],[4899,6],[5352,8]]},"990":{"position":[[702,6]]},"1005":{"position":[[246,8]]},"1198":{"position":[[1926,7]]},"1206":{"position":[[353,10]]}},"keywords":{}}],["streamhero(head",{"_index":5136,"title":{},"content":{"886":{"position":[[3567,19]]}},"keywords":{}}],["streamhuman",{"_index":5078,"title":{},"content":{"885":{"position":[[505,12]]}},"keywords":{}}],["streamhuman(head",{"_index":5089,"title":{},"content":{"885":{"position":[[1348,20]]}},"keywords":{}}],["streamlin",{"_index":986,"title":{},"content":{"80":{"position":[[117,12]]},"89":{"position":[[193,12]]},"112":{"position":[[193,11]]},"161":{"position":[[325,11]]},"279":{"position":[[429,11]]},"283":{"position":[[83,10]]},"362":{"position":[[963,11]]},"369":{"position":[[896,11]]},"387":{"position":[[382,10]]},"485":{"position":[[82,12]]},"521":{"position":[[510,11]]},"802":{"position":[[692,11]]}},"keywords":{}}],["streamnam",{"_index":4927,"title":{},"content":{"866":{"position":[[571,11]]}},"keywords":{}}],["streamquerybuild",{"_index":5139,"title":{},"content":{"886":{"position":[[4205,19]]}},"keywords":{}}],["streamsconflict",{"_index":4934,"title":{},"content":{"870":{"position":[[152,15]]}},"keywords":{}}],["strength",{"_index":799,"title":{},"content":{"52":{"position":[[285,9],[582,9]]},"133":{"position":[[16,9]]},"162":{"position":[[688,9]]},"182":{"position":[[16,9]]},"190":{"position":[[16,9]]},"207":{"position":[[20,9]]},"269":{"position":[[46,9]]},"383":{"position":[[24,9]]},"441":{"position":[[548,9]]},"444":{"position":[[403,9]]},"539":{"position":[[285,9],[582,9]]},"599":{"position":[[312,9],[609,9]]}},"keywords":{}}],["stress",{"_index":3111,"title":{},"content":{"477":{"position":[[227,6]]}},"keywords":{}}],["strict",{"_index":2022,"title":{},"content":{"354":{"position":[[582,6]]},"408":{"position":[[1158,7]]},"841":{"position":[[1281,6]]},"1085":{"position":[[2644,6]]}},"keywords":{}}],["stricter",{"_index":1752,"title":{},"content":{"299":{"position":[[639,9]]},"300":{"position":[[729,8]]}},"keywords":{}}],["strictli",{"_index":2665,"title":{},"content":{"412":{"position":[[1583,8]]}},"keywords":{}}],["string",{"_index":773,"title":{},"content":{"51":{"position":[[415,9],[457,8],[484,8]]},"188":{"position":[[1292,9],[1334,9],[1377,9]]},"209":{"position":[[497,9],[540,8]]},"211":{"position":[[459,9],[504,8]]},"255":{"position":[[841,9],[884,8]]},"259":{"position":[[141,9],[183,8]]},"314":{"position":[[807,8],[836,8]]},"315":{"position":[[783,8],[809,8]]},"316":{"position":[[292,8],[321,8],[352,9]]},"334":{"position":[[693,8],[719,8]]},"367":{"position":[[836,9],[927,9],[1001,9]]},"392":{"position":[[643,9],[684,8],[1609,9],[1679,8],[4078,8]]},"397":{"position":[[199,7],[494,9],[1567,6]]},"412":{"position":[[4955,7]]},"424":{"position":[[221,8]]},"439":{"position":[[624,8]]},"451":{"position":[[484,6]]},"457":{"position":[[156,7],[447,7],[520,6]]},"459":{"position":[[1083,7]]},"460":{"position":[[610,7]]},"480":{"position":[[607,8],[634,8]]},"482":{"position":[[907,8],[939,8]]},"538":{"position":[[716,9],[758,8],[785,8]]},"554":{"position":[[1398,9],[1447,8],[1480,8]]},"560":{"position":[[47,6]]},"562":{"position":[[379,8],[405,8],[432,8]]},"564":{"position":[[836,8],[868,8]]},"566":{"position":[[76,8]]},"579":{"position":[[701,8],[727,8]]},"598":{"position":[[723,9],[765,8],[792,8]]},"632":{"position":[[1591,9],[1634,8]]},"638":{"position":[[675,9],[724,8]]},"639":{"position":[[453,9],[498,8]]},"662":{"position":[[2454,9],[2496,8]]},"680":{"position":[[883,9]]},"696":{"position":[[669,7]]},"717":{"position":[[1492,9],[1536,8]]},"724":{"position":[[814,7],[863,6]]},"734":{"position":[[757,9]]},"746":{"position":[[390,8]]},"749":{"position":[[30,6],[2984,7],[3868,6],[4047,7],[7353,7],[7403,7],[8174,6],[13796,6],[17092,6],[17203,7],[18256,6],[18629,7],[18650,7],[18754,7],[20142,6],[21512,8],[23863,6]]},"751":{"position":[[685,6],[928,6],[1195,8],[1787,6]]},"808":{"position":[[236,8],[312,8],[350,6],[471,6],[608,8],[675,8]]},"812":{"position":[[131,8],[199,9]]},"813":{"position":[[131,8],[198,8]]},"838":{"position":[[2668,9],[2710,8]]},"862":{"position":[[723,9],[765,8]]},"872":{"position":[[631,6],[1948,9],[1995,8],[2025,8],[4178,9],[4225,8],[4255,8]]},"875":{"position":[[1676,6]]},"885":{"position":[[553,8],[572,8],[648,8],[667,8],[738,8],[1317,8]]},"898":{"position":[[233,7],[2528,9],[2575,8],[2605,8]]},"904":{"position":[[930,9],[973,8],[1045,9],[2055,6]]},"917":{"position":[[187,8],[325,8]]},"918":{"position":[[52,6]]},"924":{"position":[[11,6]]},"925":{"position":[[13,6]]},"927":{"position":[[37,7]]},"932":{"position":[[59,7]]},"961":{"position":[[24,6]]},"963":{"position":[[139,6]]},"968":{"position":[[255,6],[309,7],[439,7]]},"1018":{"position":[[765,6],[930,6],[948,6]]},"1022":{"position":[[207,6],[227,6]]},"1065":{"position":[[514,6]]},"1074":{"position":[[199,6]]},"1077":{"position":[[175,7]]},"1078":{"position":[[300,6],[536,9],[632,8],[662,8]]},"1079":{"position":[[128,7],[364,6]]},"1080":{"position":[[159,9],[255,9],[289,6],[376,8],[437,8]]},"1082":{"position":[[244,9],[340,8],[370,8]]},"1083":{"position":[[444,9],[540,8],[570,8]]},"1085":{"position":[[350,6],[546,6]]},"1100":{"position":[[455,6]]},"1103":{"position":[[68,7]]},"1149":{"position":[[1121,9],[1163,8]]},"1158":{"position":[[431,8],[458,8]]},"1171":{"position":[[429,7]]},"1189":{"position":[[260,7],[498,6],[570,7]]},"1208":{"position":[[304,7],[1296,7]]},"1213":{"position":[[66,7],[145,7],[294,7]]},"1250":{"position":[[84,6]]},"1251":{"position":[[8,6]]},"1252":{"position":[[280,7]]},"1281":{"position":[[293,6]]},"1282":{"position":[[221,6]]},"1290":{"position":[[106,9]]},"1291":{"position":[[114,7]]},"1296":{"position":[[685,6],[732,8],[1521,6]]},"1305":{"position":[[525,7],[845,7]]},"1311":{"position":[[467,8],[498,8],[528,8],[705,7]]},"1321":{"position":[[326,7]]}},"keywords":{}}],["string','nul",{"_index":4676,"title":{},"content":{"808":{"position":[[360,17]]}},"keywords":{}}],["string,nul",{"_index":4359,"title":{},"content":{"749":{"position":[[17211,13]]}},"keywords":{}}],["string.fromcharcode(65535",{"_index":6435,"title":{},"content":{"1294":{"position":[[1403,26]]}},"keywords":{}}],["string/number/boolean",{"_index":5209,"title":{},"content":{"898":{"position":[[1776,24]]}},"keywords":{}}],["string/number/integ",{"_index":4393,"title":{},"content":{"749":{"position":[[19931,21]]}},"keywords":{}}],["stringent",{"_index":5281,"title":{},"content":{"912":{"position":[[702,9]]}},"keywords":{}}],["stringifi",{"_index":2884,"title":{},"content":{"427":{"position":[[698,12]]},"462":{"position":[[761,11]]},"559":{"position":[[1196,11]]},"749":{"position":[[3062,11]]}},"keywords":{}}],["strings.mango",{"_index":5792,"title":{},"content":{"1071":{"position":[[207,13]]}},"keywords":{}}],["strings.queri",{"_index":5793,"title":{},"content":{"1071":{"position":[[294,15]]}},"keywords":{}}],["string|blob",{"_index":5289,"title":{},"content":{"917":{"position":[[266,13]]}},"keywords":{}}],["strip",{"_index":2480,"title":{},"content":{"402":{"position":[[234,5]]},"898":{"position":[[1970,6]]}},"keywords":{}}],["strong",{"_index":546,"title":{},"content":{"34":{"position":[[684,6]]},"47":{"position":[[585,6]]},"320":{"position":[[138,6]]},"412":{"position":[[6403,6]]},"1125":{"position":[[387,8],[461,9]]}},"keywords":{}}],["strongli",{"_index":2011,"title":{},"content":{"353":{"position":[[539,8]]},"1123":{"position":[[13,8]]}},"keywords":{}}],["structur",{"_index":695,"title":{},"content":{"45":{"position":[[85,10]]},"47":{"position":[[626,10]]},"57":{"position":[[290,10]]},"64":{"position":[[56,10]]},"73":{"position":[[118,9]]},"117":{"position":[[68,10]]},"126":{"position":[[248,9]]},"174":{"position":[[2279,11]]},"178":{"position":[[200,11]]},"231":{"position":[[72,10]]},"276":{"position":[[238,10]]},"281":{"position":[[242,10]]},"282":{"position":[[235,9],[385,9]]},"321":{"position":[[254,10]]},"351":{"position":[[181,11]]},"352":{"position":[[313,11]]},"354":{"position":[[376,10]]},"361":{"position":[[203,9]]},"364":{"position":[[546,11]]},"369":{"position":[[393,11]]},"382":{"position":[[92,11]]},"392":{"position":[[1253,11]]},"395":{"position":[[314,11]]},"396":{"position":[[364,9]]},"408":{"position":[[438,10],[2106,10]]},"426":{"position":[[210,10]]},"427":{"position":[[412,10],[570,10]]},"430":{"position":[[1049,10]]},"441":{"position":[[350,11]]},"446":{"position":[[917,11]]},"452":{"position":[[136,10]]},"495":{"position":[[706,9]]},"533":{"position":[[65,10]]},"559":{"position":[[1626,10]]},"593":{"position":[[65,10]]},"612":{"position":[[1017,10]]},"636":{"position":[[392,9]]},"749":{"position":[[11926,10]]},"772":{"position":[[2230,10]]},"800":{"position":[[511,9]]},"836":{"position":[[2129,9]]},"841":{"position":[[1364,10]]},"865":{"position":[[105,10]]},"936":{"position":[[60,11]]},"1085":{"position":[[1099,9]]},"1132":{"position":[[434,10],[1494,10]]}},"keywords":{}}],["struggl",{"_index":2735,"title":{},"content":{"412":{"position":[[9398,8]]}},"keywords":{}}],["stuck",{"_index":2893,"title":{},"content":{"427":{"position":[[1431,5]]},"1031":{"position":[[239,5]]}},"keywords":{}}],["stuff",{"_index":1251,"title":{},"content":{"188":{"position":[[866,5]]},"451":{"position":[[618,6]]},"460":{"position":[[920,5]]},"463":{"position":[[148,6]]},"699":{"position":[[18,5]]},"705":{"position":[[978,5]]},"785":{"position":[[122,5]]},"829":{"position":[[797,5]]},"1027":{"position":[[77,6]]}},"keywords":{}}],["stun",{"_index":3625,"title":{},"content":{"614":{"position":[[470,5]]}},"keywords":{}}],["stutter",{"_index":3720,"title":{},"content":{"642":{"position":[[289,10]]}},"keywords":{}}],["style",{"_index":3898,"title":{},"content":{"689":{"position":[[293,5]]},"841":{"position":[[561,5]]},"902":{"position":[[932,5]]}},"keywords":{}}],["style="color",{"_index":6183,"title":{},"content":{"1202":{"position":[[102,18]]}},"keywords":{}}],["sub",{"_index":1987,"title":{},"content":{"350":{"position":[[86,3]]},"496":{"position":[[345,3]]},"562":{"position":[[1292,3]]},"749":{"position":[[22030,3],[22386,3]]},"979":{"position":[[224,3]]},"1085":{"position":[[1112,3]]},"1215":{"position":[[407,3]]}},"keywords":{}}],["sub.unsubscrib",{"_index":3431,"title":{},"content":{"562":{"position":[[1376,18]]},"979":{"position":[[394,18]]}},"keywords":{}}],["sub1.yoursite.com",{"_index":1849,"title":{},"content":{"303":{"position":[[1183,17]]}},"keywords":{}}],["sub2.yoursite.com",{"_index":1851,"title":{},"content":{"303":{"position":[[1225,18]]}},"keywords":{}}],["subdirectori",{"_index":6198,"title":{},"content":{"1208":{"position":[[767,13]]}},"keywords":{}}],["subdomain",{"_index":1844,"title":{},"content":{"303":{"position":[[1025,10]]},"450":{"position":[[297,11]]},"849":{"position":[[536,10]]}},"keywords":{}}],["subfield",{"_index":3418,"title":{},"content":{"560":{"position":[[418,9]]}},"keywords":{}}],["subject",{"_index":4928,"title":{},"content":{"866":{"position":[[621,7],[744,7]]},"875":{"position":[[4325,7],[4427,10],[8048,7],[8097,10],[9467,7],[9516,10]]},"1218":{"position":[[491,10],[839,10]]}},"keywords":{}}],["subject<rxreplicationpullstreamitem<ani",{"_index":5474,"title":{},"content":{"988":{"position":[[5089,46]]}},"keywords":{}}],["subjectprefix",{"_index":4930,"title":{},"content":{"866":{"position":[[770,14]]}},"keywords":{}}],["submit",{"_index":3160,"title":{},"content":{"489":{"position":[[397,10]]}},"keywords":{}}],["suboptim",{"_index":959,"title":{},"content":{"69":{"position":[[149,10]]},"101":{"position":[[73,10]]},"435":{"position":[[316,10]]}},"keywords":{}}],["subresult",{"_index":6441,"title":{},"content":{"1294":{"position":[[1600,10]]}},"keywords":{}}],["subresult.length",{"_index":6445,"title":{},"content":{"1294":{"position":[[1682,17]]}},"keywords":{}}],["subscrib",{"_index":538,"title":{},"content":{"34":{"position":[[450,9],[604,9]]},"47":{"position":[[788,9]]},"53":{"position":[[46,9]]},"121":{"position":[[191,9]]},"130":{"position":[[63,9]]},"136":{"position":[[198,9]]},"140":{"position":[[111,11]]},"143":{"position":[[140,9],[328,11]]},"159":{"position":[[148,9]]},"182":{"position":[[246,9]]},"185":{"position":[[221,11]]},"188":{"position":[[3201,9]]},"252":{"position":[[314,9]]},"323":{"position":[[449,11]]},"326":{"position":[[152,9]]},"329":{"position":[[147,9]]},"335":{"position":[[221,11]]},"346":{"position":[[262,9],[421,9]]},"360":{"position":[[302,9]]},"379":{"position":[[62,9]]},"411":{"position":[[2792,9],[2989,10]]},"458":{"position":[[1534,9]]},"493":{"position":[[127,9],[325,10]]},"515":{"position":[[243,11]]},"529":{"position":[[28,9]]},"541":{"position":[[138,10],[755,10]]},"562":{"position":[[786,9],[907,9]]},"571":{"position":[[755,9],[1268,9]]},"575":{"position":[[273,10]]},"580":{"position":[[118,9],[463,9]]},"600":{"position":[[88,11]]},"601":{"position":[[43,10],[602,9],[736,10]]},"662":{"position":[[120,9]]},"710":{"position":[[193,9]]},"781":{"position":[[763,9]]},"799":{"position":[[138,11]]},"816":{"position":[[176,11]]},"829":{"position":[[2163,9]]},"838":{"position":[[149,9]]},"846":{"position":[[1406,9]]},"890":{"position":[[102,9]]},"898":{"position":[[1431,9]]},"1058":{"position":[[487,13]]},"1117":{"position":[[406,9]]},"1150":{"position":[[387,11]]}},"keywords":{}}],["subscribe((hero",{"_index":1944,"title":{},"content":{"335":{"position":[[292,19]]}},"keywords":{}}],["subscribe((newhero",{"_index":3498,"title":{},"content":{"580":{"position":[[651,22]]}},"keywords":{}}],["subscribe(alivehero",{"_index":3228,"title":{},"content":{"502":{"position":[[1071,22]]},"518":{"position":[[538,22]]},"571":{"position":[[1007,22]]}},"keywords":{}}],["subscribe(alltask",{"_index":3705,"title":{},"content":{"632":{"position":[[1801,19]]}},"keywords":{}}],["subscribe(currentrxdocu",{"_index":5708,"title":{},"content":{"1046":{"position":[[133,28]]}},"keywords":{}}],["subscribe(doc",{"_index":1135,"title":{},"content":{"143":{"position":[[493,17]]}},"keywords":{}}],["subscribe(newnam",{"_index":5674,"title":{},"content":{"1039":{"position":[[220,18],[394,18]]}},"keywords":{}}],["subscribe(result",{"_index":3819,"title":{},"content":{"662":{"position":[[2824,21]]},"710":{"position":[[2131,21]]},"838":{"position":[[3038,21]]}},"keywords":{}}],["subscribe(undonetask",{"_index":3125,"title":{},"content":{"480":{"position":[[831,22]]}},"keywords":{}}],["subscript",{"_index":360,"title":{"143":{"position":[[19,13]]}},"content":{"21":{"position":[[129,12]]},"38":{"position":[[537,13]]},"130":{"position":[[103,12]]},"143":{"position":[[215,12]]},"346":{"position":[[332,14],[361,13]]},"411":{"position":[[2322,15]]},"412":{"position":[[2881,12]]},"490":{"position":[[187,12]]},"541":{"position":[[385,12]]},"542":{"position":[[1026,13]]},"562":{"position":[[1407,12]]},"563":{"position":[[1044,13]]},"590":{"position":[[334,13],[382,12],[407,14],[491,14],[515,13]]},"649":{"position":[[242,12]]},"781":{"position":[[713,13]]},"816":{"position":[[258,13]]},"828":{"position":[[458,14]]},"829":{"position":[[3704,13]]},"860":{"position":[[600,13]]},"863":{"position":[[286,13]]},"875":{"position":[[7387,12]]},"885":{"position":[[485,12],[1256,13],[1333,12]]},"886":{"position":[[3523,13],[4405,12]]},"1017":{"position":[[97,12]]},"1058":{"position":[[392,12]]},"1117":{"position":[[495,12]]}},"keywords":{}}],["subscription.unsubscrib",{"_index":3311,"title":{},"content":{"541":{"position":[[478,27]]},"875":{"position":[[7521,28]]}},"keywords":{}}],["subselect",{"_index":5795,"title":{},"content":{"1072":{"position":[[344,12]]}},"keywords":{}}],["subsequ",{"_index":3110,"title":{},"content":{"477":{"position":[[187,10]]},"495":{"position":[[365,10]]},"723":{"position":[[1741,10]]},"1297":{"position":[[359,10]]}},"keywords":{}}],["subset",{"_index":2717,"title":{},"content":{"412":{"position":[[7083,6]]},"555":{"position":[[911,6]]},"643":{"position":[[212,7]]},"858":{"position":[[36,6]]},"984":{"position":[[160,6]]},"1009":{"position":[[160,7]]},"1296":{"position":[[133,6]]}},"keywords":{}}],["substanti",{"_index":1672,"title":{},"content":{"287":{"position":[[856,11]]},"430":{"position":[[658,11]]},"508":{"position":[[151,11]]},"1151":{"position":[[402,11]]},"1178":{"position":[[401,11]]}},"keywords":{}}],["succe",{"_index":610,"title":{},"content":{"38":{"position":[[1123,7]]},"1305":{"position":[[965,8]]}},"keywords":{}}],["success",{"_index":3196,"title":{},"content":{"496":{"position":[[710,10]]},"497":{"position":[[105,7],[519,7]]},"944":{"position":[[150,7],[310,8]]},"945":{"position":[[91,7],[205,8]]},"947":{"position":[[137,7],[281,8]]},"994":{"position":[[117,10]]}},"keywords":{}}],["successfulli",{"_index":3683,"title":{},"content":{"626":{"position":[[515,12]]},"1297":{"position":[[250,12]]}},"keywords":{}}],["successor",{"_index":221,"title":{},"content":{"14":{"position":[[636,9]]}},"keywords":{}}],["such",{"_index":551,"title":{},"content":{"35":{"position":[[155,4]]},"51":{"position":[[977,4]]},"66":{"position":[[24,4]]},"94":{"position":[[92,4]]},"98":{"position":[[22,4]]},"113":{"position":[[214,4]]},"134":{"position":[[158,4]]},"140":{"position":[[208,4]]},"146":{"position":[[63,4]]},"155":{"position":[[191,4]]},"165":{"position":[[191,4]]},"172":{"position":[[170,4]]},"173":{"position":[[1936,4]]},"174":{"position":[[3038,4]]},"179":{"position":[[114,4]]},"186":{"position":[[103,4]]},"192":{"position":[[181,4]]},"196":{"position":[[162,4]]},"202":{"position":[[256,4]]},"218":{"position":[[119,4]]},"222":{"position":[[109,4]]},"227":{"position":[[352,4]]},"236":{"position":[[178,4]]},"266":{"position":[[95,4]]},"300":{"position":[[676,4]]},"303":{"position":[[168,4]]},"350":{"position":[[143,4]]},"354":{"position":[[496,4]]},"362":{"position":[[933,4]]},"375":{"position":[[159,4],[448,4]]},"377":{"position":[[73,4]]},"381":{"position":[[119,4]]},"382":{"position":[[169,4]]},"390":{"position":[[215,4]]},"392":{"position":[[1265,4]]},"393":{"position":[[205,4]]},"396":{"position":[[1669,4]]},"400":{"position":[[648,4]]},"408":{"position":[[700,4]]},"418":{"position":[[110,4],[383,4]]},"420":{"position":[[1234,4]]},"432":{"position":[[1116,4]]},"444":{"position":[[445,4]]},"446":{"position":[[503,4]]},"450":{"position":[[586,4]]},"520":{"position":[[186,4]]},"525":{"position":[[559,4]]},"529":{"position":[[213,4]]},"550":{"position":[[196,4]]},"551":{"position":[[132,4]]},"569":{"position":[[801,4]]},"613":{"position":[[208,4],[437,4]]},"618":{"position":[[120,4]]},"620":{"position":[[139,4]]},"624":{"position":[[549,4]]},"627":{"position":[[234,4]]},"686":{"position":[[901,4]]},"802":{"position":[[357,4]]},"831":{"position":[[101,4]]},"1282":{"position":[[517,4]]}},"keywords":{}}],["suddenli",{"_index":2849,"title":{},"content":{"421":{"position":[[321,8]]}},"keywords":{}}],["sudoletmein",{"_index":3348,"title":{},"content":{"554":{"position":[[1143,13]]},"717":{"position":[[1231,13]]}},"keywords":{}}],["suffer",{"_index":2441,"title":{},"content":{"400":{"position":[[365,7]]},"622":{"position":[[93,6]]}},"keywords":{}}],["suffic",{"_index":3481,"title":{},"content":{"574":{"position":[[694,7]]}},"keywords":{}}],["suffici",{"_index":6008,"title":{},"content":{"1120":{"position":[[478,11]]},"1300":{"position":[[961,10]]}},"keywords":{}}],["suffix",{"_index":4685,"title":{},"content":{"811":{"position":[[107,6]]},"1085":{"position":[[3713,6]]},"1117":{"position":[[257,8]]}},"keywords":{}}],["suggest",{"_index":1294,"title":{},"content":{"189":{"position":[[492,9]]},"299":{"position":[[1579,7]]},"390":{"position":[[1420,8]]},"444":{"position":[[771,9]]}},"keywords":{}}],["suit",{"_index":21,"title":{},"content":{"1":{"position":[[312,5]]},"34":{"position":[[271,6]]},"73":{"position":[[46,6]]},"126":{"position":[[297,6]]},"131":{"position":[[948,5]]},"162":{"position":[[705,6]]},"225":{"position":[[155,6]]},"254":{"position":[[438,6]]},"262":{"position":[[371,4]]},"266":{"position":[[408,5]]},"267":{"position":[[34,6]]},"281":{"position":[[184,6]]},"285":{"position":[[257,4]]},"288":{"position":[[214,5]]},"325":{"position":[[209,6]]},"418":{"position":[[270,6]]},"436":{"position":[[374,4]]},"489":{"position":[[296,4]]},"524":{"position":[[138,5]]},"688":{"position":[[985,6]]},"829":{"position":[[2863,6]]},"906":{"position":[[708,4]]},"1147":{"position":[[401,5]]},"1159":{"position":[[200,7]]},"1245":{"position":[[37,6]]},"1271":{"position":[[316,6]]}},"keywords":{}}],["suitabl",{"_index":232,"title":{"624":{"position":[[29,12]]}},"content":{"14":{"position":[[893,8]]},"47":{"position":[[325,8]]},"63":{"position":[[200,8]]},"287":{"position":[[578,8]]},"336":{"position":[[209,8]]},"365":{"position":[[380,8],[545,8],[1411,8]]},"393":{"position":[[400,8]]},"430":{"position":[[54,8]]},"446":{"position":[[833,8]]},"451":{"position":[[300,8]]},"524":{"position":[[455,8]]},"528":{"position":[[157,8]]},"533":{"position":[[280,8]]},"593":{"position":[[280,8]]},"623":{"position":[[566,8]]},"624":{"position":[[109,12]]},"640":{"position":[[436,8]]},"659":{"position":[[944,8]]},"711":{"position":[[2227,8]]},"835":{"position":[[1008,8]]},"1198":{"position":[[378,8]]},"1284":{"position":[[406,8]]}},"keywords":{}}],["sum",{"_index":6293,"title":{},"content":{"1250":{"position":[[469,5]]}},"keywords":{}}],["sum(column_nam",{"_index":6292,"title":{},"content":{"1250":{"position":[[103,19]]}},"keywords":{}}],["summar",{"_index":1736,"title":{},"content":{"299":{"position":[[131,10]]}},"keywords":{}}],["summari",{"_index":935,"title":{"83":{"position":[[0,8]]},"841":{"position":[[0,8]]}},"content":{"65":{"position":[[1803,8]]},"412":{"position":[[14919,8]]},"432":{"position":[[1277,7]]}},"keywords":{}}],["supabas",{"_index":362,"title":{"22":{"position":[[0,9]]},"895":{"position":[[0,8]]},"896":{"position":[[25,8]]},"898":{"position":[[18,8]]}},"content":{"22":{"position":[[3,8],[303,8]]},"392":{"position":[[827,8]]},"705":{"position":[[1227,9]]},"793":{"position":[[802,8]]},"896":{"position":[[91,8],[136,8],[235,8]]},"897":{"position":[[10,8],[68,8],[297,8],[367,8]]},"898":{"position":[[75,8],[113,8],[465,9],[1660,8],[2715,8],[2746,8],[3041,8],[3176,8],[3291,10],[3371,9],[3435,10],[4228,8]]},"899":{"position":[[336,8]]},"1284":{"position":[[206,8]]}},"keywords":{}}],["supabase.rxdb",{"_index":6381,"title":{},"content":{"1284":{"position":[[240,13]]}},"keywords":{}}],["supabase/gt",{"_index":2450,"title":{},"content":{"401":{"position":[[230,12]]}},"keywords":{}}],["supabase/supabas",{"_index":5186,"title":{},"content":{"896":{"position":[[347,18]]},"898":{"position":[[42,18],[3003,19]]}},"keywords":{}}],["supabase_realtim",{"_index":5208,"title":{},"content":{"898":{"position":[[1470,17]]}},"keywords":{}}],["superhuman",{"_index":798,"title":{},"content":{"52":{"position":[[273,11]]},"539":{"position":[[273,11]]},"599":{"position":[[300,11]]}},"keywords":{}}],["superior",{"_index":1645,"title":{},"content":{"278":{"position":[[223,8]]},"354":{"position":[[1563,9]]}},"keywords":{}}],["superset",{"_index":1654,"title":{},"content":{"281":{"position":[[23,8]]}},"keywords":{}}],["support",{"_index":297,"title":{"74":{"position":[[28,7]]},"80":{"position":[[19,8]]},"105":{"position":[[28,7]]},"109":{"position":[[19,8]]},"125":{"position":[[10,8]]},"160":{"position":[[10,8]]},"232":{"position":[[18,7]]},"237":{"position":[[19,8]]},"253":{"position":[[22,8]]},"281":{"position":[[28,8]]},"330":{"position":[[10,8]]},"380":{"position":[[14,8]]},"458":{"position":[[10,8]]},"459":{"position":[[9,8]]},"460":{"position":[[10,8]]},"519":{"position":[[10,8]]},"589":{"position":[[10,8]]},"989":{"position":[[10,8]]},"1174":{"position":[[10,8]]},"1183":{"position":[[10,8]]},"1251":{"position":[[11,8]]},"1301":{"position":[[21,8]]},"1322":{"position":[[11,8]]}},"content":{"17":{"position":[[505,7]]},"19":{"position":[[502,7]]},"21":{"position":[[174,7]]},"28":{"position":[[646,9]]},"33":{"position":[[268,7],[328,7],[533,8]]},"36":{"position":[[78,7]]},"39":{"position":[[80,8],[618,8]]},"43":{"position":[[210,8]]},"45":{"position":[[210,8]]},"47":{"position":[[564,8],[1002,7],[1091,7]]},"51":{"position":[[6,8]]},"55":{"position":[[59,8]]},"57":{"position":[[49,9],[189,8]]},"59":{"position":[[155,8]]},"74":{"position":[[31,8]]},"77":{"position":[[8,7]]},"79":{"position":[[24,7]]},"80":{"position":[[38,8]]},"83":{"position":[[141,8]]},"105":{"position":[[121,8]]},"109":{"position":[[15,8]]},"120":{"position":[[318,8]]},"123":{"position":[[24,7]]},"124":{"position":[[48,7]]},"125":{"position":[[30,7]]},"131":{"position":[[6,8],[225,8]]},"132":{"position":[[138,7]]},"135":{"position":[[6,8]]},"139":{"position":[[24,7]]},"141":{"position":[[63,8]]},"144":{"position":[[6,8]]},"160":{"position":[[23,8]]},"162":{"position":[[329,9]]},"174":{"position":[[609,7],[715,7],[792,8],[1791,8],[1833,8]]},"195":{"position":[[43,8]]},"210":{"position":[[50,8]]},"222":{"position":[[200,7]]},"232":{"position":[[115,8],[324,8]]},"235":{"position":[[6,8]]},"237":{"position":[[32,8]]},"241":{"position":[[343,8]]},"254":{"position":[[372,9]]},"261":{"position":[[57,8]]},"263":{"position":[[163,8]]},"280":{"position":[[138,10]]},"287":{"position":[[624,9]]},"289":{"position":[[1404,7]]},"303":{"position":[[299,8]]},"312":{"position":[[48,8]]},"318":{"position":[[24,8]]},"320":{"position":[[155,8]]},"323":{"position":[[524,8]]},"328":{"position":[[6,8]]},"334":{"position":[[497,7]]},"336":{"position":[[6,8],[312,9]]},"343":{"position":[[6,8]]},"354":{"position":[[1208,8]]},"356":{"position":[[108,7]]},"357":{"position":[[340,7]]},"364":{"position":[[233,9]]},"365":{"position":[[1538,8]]},"367":{"position":[[447,8]]},"368":{"position":[[105,8]]},"373":{"position":[[343,8]]},"377":{"position":[[167,7]]},"381":{"position":[[66,8]]},"384":{"position":[[61,8]]},"386":{"position":[[301,8]]},"387":{"position":[[236,8]]},"400":{"position":[[326,8]]},"404":{"position":[[137,9],[280,8]]},"408":{"position":[[1064,8]]},"412":{"position":[[2596,7],[2766,7],[13570,7]]},"419":{"position":[[620,7],[1444,10]]},"422":{"position":[[122,7]]},"426":{"position":[[74,8]]},"432":{"position":[[415,7]]},"437":{"position":[[135,8],[178,7]]},"439":{"position":[[49,7]]},"440":{"position":[[209,7],[468,7]]},"445":{"position":[[2147,8]]},"452":{"position":[[262,7]]},"455":{"position":[[760,9]]},"457":{"position":[[573,7]]},"458":{"position":[[487,7]]},"459":{"position":[[264,7]]},"462":{"position":[[933,7]]},"470":{"position":[[543,7]]},"498":{"position":[[398,7]]},"502":{"position":[[1138,8]]},"504":{"position":[[1305,8]]},"515":{"position":[[40,7]]},"519":{"position":[[132,8]]},"525":{"position":[[515,7]]},"526":{"position":[[88,8]]},"530":{"position":[[394,8]]},"533":{"position":[[240,8]]},"535":{"position":[[557,8],[591,7],[1183,8]]},"542":{"position":[[11,8]]},"546":{"position":[[188,8]]},"551":{"position":[[14,8]]},"556":{"position":[[650,8]]},"563":{"position":[[143,8]]},"566":{"position":[[1241,9],[1264,9],[1356,8]]},"575":{"position":[[540,8]]},"579":{"position":[[506,7]]},"581":{"position":[[6,8]]},"586":{"position":[[55,8]]},"593":{"position":[[240,8]]},"595":{"position":[[584,8],[618,7],[1260,8]]},"606":{"position":[[188,8]]},"613":{"position":[[707,10],[800,7],[934,10]]},"614":{"position":[[287,8]]},"616":{"position":[[561,7]]},"622":{"position":[[579,7]]},"624":{"position":[[719,7],[932,9],[1159,8],[1217,7],[1556,7]]},"631":{"position":[[110,8]]},"634":{"position":[[57,8]]},"638":{"position":[[142,8]]},"640":{"position":[[214,7]]},"641":{"position":[[320,10]]},"659":{"position":[[898,9]]},"689":{"position":[[278,9]]},"709":{"position":[[402,8]]},"723":{"position":[[2069,7],[2420,7],[2529,8]]},"728":{"position":[[91,7]]},"730":{"position":[[263,10]]},"749":{"position":[[23251,7]]},"763":{"position":[[6,8]]},"824":{"position":[[491,7]]},"831":{"position":[[62,8]]},"835":{"position":[[969,9]]},"838":{"position":[[602,7],[801,8],[850,8]]},"840":{"position":[[278,7]]},"845":{"position":[[10,7]]},"863":{"position":[[278,7]]},"870":{"position":[[71,7],[232,7]]},"871":{"position":[[742,9]]},"882":{"position":[[157,7]]},"911":{"position":[[27,7],[130,8]]},"917":{"position":[[421,7],[502,8]]},"932":{"position":[[648,9]]},"962":{"position":[[308,9]]},"968":{"position":[[148,9]]},"981":{"position":[[1197,8],[1280,8],[1503,8]]},"1004":{"position":[[27,9],[105,7]]},"1072":{"position":[[86,7],[626,7],[1190,7],[1627,7],[1758,7],[2057,7]]},"1079":{"position":[[6,8]]},"1088":{"position":[[179,7]]},"1112":{"position":[[526,9]]},"1123":{"position":[[506,8]]},"1124":{"position":[[609,8],[744,8]]},"1132":{"position":[[589,8],[1351,8]]},"1141":{"position":[[242,7]]},"1143":{"position":[[448,8],[610,7]]},"1151":{"position":[[705,8]]},"1162":{"position":[[13,7],[762,7]]},"1165":{"position":[[43,7]]},"1171":{"position":[[13,7]]},"1178":{"position":[[704,8]]},"1181":{"position":[[13,7]]},"1188":{"position":[[178,10]]},"1207":{"position":[[67,9],[169,9],[205,8]]},"1211":{"position":[[259,7],[373,9]]},"1214":{"position":[[136,7]]},"1271":{"position":[[208,7],[397,8],[698,8]]},"1282":{"position":[[1003,7]]},"1288":{"position":[[55,9]]},"1301":{"position":[[971,7]]},"1304":{"position":[[1201,7],[1526,7],[1665,7]]}},"keywords":{}}],["support.rxdb",{"_index":997,"title":{},"content":{"84":{"position":[[240,12]]},"114":{"position":[[253,12]]},"149":{"position":[[253,12]]},"175":{"position":[[246,12]]},"347":{"position":[[253,12]]},"362":{"position":[[1324,12]]},"511":{"position":[[253,12]]},"531":{"position":[[253,12]]},"591":{"position":[[253,12]]}},"keywords":{}}],["supporteddo",{"_index":6159,"title":{},"content":{"1188":{"position":[[116,14]]}},"keywords":{}}],["supportedrxattach",{"_index":6158,"title":{},"content":{"1188":{"position":[[75,22]]}},"keywords":{}}],["supportperform",{"_index":6243,"title":{},"content":{"1216":{"position":[[68,18]]}},"keywords":{}}],["suppos",{"_index":3173,"title":{},"content":{"493":{"position":[[64,7]]},"1006":{"position":[[1,7]]}},"keywords":{}}],["sure",{"_index":1089,"title":{},"content":{"129":{"position":[[456,4]]},"554":{"position":[[1165,4]]},"590":{"position":[[708,4]]},"627":{"position":[[263,4]]},"666":{"position":[[58,4],[251,4]]},"709":{"position":[[967,4]]},"737":{"position":[[89,4]]},"749":{"position":[[5648,4]]},"770":{"position":[[606,4]]},"795":{"position":[[59,4]]},"861":{"position":[[2319,4]]},"872":{"position":[[784,4]]},"884":{"position":[[46,4]]},"886":{"position":[[4706,4]]},"904":{"position":[[34,4]]},"917":{"position":[[457,4]]},"1083":{"position":[[39,4]]},"1097":{"position":[[475,4]]},"1107":{"position":[[1010,4]]},"1124":{"position":[[1115,4]]},"1126":{"position":[[80,4]]},"1164":{"position":[[1398,4]]},"1175":{"position":[[76,4]]},"1184":{"position":[[242,4]]},"1192":{"position":[[733,4]]},"1280":{"position":[[53,4]]}},"keywords":{}}],["surg",{"_index":3244,"title":{},"content":{"510":{"position":[[475,6]]}},"keywords":{}}],["surpass",{"_index":3413,"title":{},"content":{"559":{"position":[[1704,7]]}},"keywords":{}}],["surprisingli",{"_index":2898,"title":{},"content":{"429":{"position":[[79,12]]},"463":{"position":[[868,12]]},"467":{"position":[[400,12]]}},"keywords":{}}],["survey",{"_index":2945,"title":{},"content":{"446":{"position":[[167,6]]}},"keywords":{}}],["surviv",{"_index":2920,"title":{},"content":{"436":{"position":[[201,8]]},"473":{"position":[[113,9]]}},"keywords":{}}],["sustain",{"_index":2836,"title":{},"content":{"420":{"position":[[1017,7]]},"1151":{"position":[[466,15]]},"1178":{"position":[[465,15]]}},"keywords":{}}],["svelt",{"_index":259,"title":{},"content":{"15":{"position":[[338,7]]},"94":{"position":[[131,7]]},"173":{"position":[[2329,7]]},"222":{"position":[[148,7]]}},"keywords":{}}],["swagger",{"_index":2120,"title":{},"content":{"367":{"position":[[660,9]]},"784":{"position":[[122,7]]}},"keywords":{}}],["swap",{"_index":1580,"title":{},"content":{"255":{"position":[[1614,8]]},"369":{"position":[[1346,4]]},"383":{"position":[[325,4]]},"556":{"position":[[1990,8]]},"846":{"position":[[514,7]]},"988":{"position":[[3097,4]]},"1124":{"position":[[185,4],[367,4]]},"1198":{"position":[[1221,4]]}},"keywords":{}}],["swappabl",{"_index":1335,"title":{},"content":{"207":{"position":[[227,9]]},"254":{"position":[[244,9]]},"535":{"position":[[1255,9]]},"595":{"position":[[1308,9]]},"640":{"position":[[25,10]]},"1124":{"position":[[141,9]]}},"keywords":{}}],["swift",{"_index":680,"title":{},"content":{"43":{"position":[[520,5]]},"70":{"position":[[196,5]]},"283":{"position":[[120,5]]}},"keywords":{}}],["swiftli",{"_index":928,"title":{},"content":{"65":{"position":[[1462,8]]},"569":{"position":[[709,7]]},"571":{"position":[[1469,8],[1781,7]]}},"keywords":{}}],["switch",{"_index":397,"title":{},"content":{"24":{"position":[[129,6]]},"249":{"position":[[468,6]]},"314":{"position":[[171,6]]},"330":{"position":[[120,6]]},"402":{"position":[[2077,6]]},"420":{"position":[[651,9]]},"626":{"position":[[823,6],[1004,8]]},"710":{"position":[[2232,6]]},"875":{"position":[[8866,9]]},"887":{"position":[[196,6]]},"981":{"position":[[447,9]]},"984":{"position":[[657,6]]},"988":{"position":[[996,6],[4086,6]]},"1009":{"position":[[450,6]]},"1095":{"position":[[70,6]]},"1143":{"position":[[82,6]]},"1195":{"position":[[213,6]]}},"keywords":{}}],["symbol",{"_index":2819,"title":{},"content":{"419":{"position":[[1749,7]]},"1290":{"position":[[187,6]]},"1291":{"position":[[185,6]]}},"keywords":{}}],["symmetr",{"_index":4019,"title":{},"content":{"716":{"position":[[35,9]]}},"keywords":{}}],["sync",{"_index":315,"title":{"199":{"position":[[59,4]]},"208":{"position":[[11,7]]},"209":{"position":[[13,4]]},"246":{"position":[[42,4]]},"255":{"position":[[16,4]]},"260":{"position":[[0,5]]},"307":{"position":[[58,4]]},"312":{"position":[[13,4]]},"472":{"position":[[42,4]]},"481":{"position":[[12,4]]},"565":{"position":[[8,5]]},"629":{"position":[[42,5]]},"632":{"position":[[10,4]]},"774":{"position":[[29,6]]},"869":{"position":[[63,4]]},"872":{"position":[[39,5]]},"895":{"position":[[64,4]]},"898":{"position":[[27,5]]},"900":{"position":[[35,4]]},"902":{"position":[[16,4]]},"980":{"position":[[16,4]]},"981":{"position":[[24,4]]},"982":{"position":[[4,4]]},"983":{"position":[[4,4]]},"1006":{"position":[[8,4]]},"1008":{"position":[[6,4]]},"1009":{"position":[[8,4]]},"1147":{"position":[[0,4]]},"1148":{"position":[[19,5]]},"1160":{"position":[[7,6]]},"1165":{"position":[[42,6]]}},"content":{"18":{"position":[[440,4]]},"36":{"position":[[357,4]]},"38":{"position":[[29,4]]},"39":{"position":[[131,6],[363,5],[421,4]]},"41":{"position":[[94,7]]},"42":{"position":[[88,5],[348,4]]},"46":{"position":[[214,4]]},"47":{"position":[[1033,5]]},"57":{"position":[[73,4]]},"125":{"position":[[181,4]]},"130":{"position":[[307,4]]},"182":{"position":[[308,4]]},"201":{"position":[[355,7]]},"204":{"position":[[238,4]]},"206":{"position":[[311,4]]},"208":{"position":[[22,4]]},"245":{"position":[[27,4]]},"249":{"position":[[274,8]]},"251":{"position":[[187,7]]},"255":{"position":[[40,4],[315,4]]},"261":{"position":[[16,7],[169,4],[441,4],[964,4],[1090,4]]},"262":{"position":[[114,4],[292,4]]},"263":{"position":[[84,4],[575,4]]},"275":{"position":[[293,4]]},"288":{"position":[[348,5]]},"311":{"position":[[267,7]]},"312":{"position":[[116,4]]},"318":{"position":[[116,7],[677,4]]},"323":{"position":[[610,4]]},"328":{"position":[[187,5]]},"331":{"position":[[192,4]]},"338":{"position":[[173,5]]},"360":{"position":[[409,4],[440,4],[578,4]]},"375":{"position":[[256,4],[803,7]]},"407":{"position":[[234,4],[690,6]]},"408":{"position":[[5477,4]]},"410":{"position":[[1095,4],[1515,4],[2072,4]]},"411":{"position":[[126,5],[141,4],[725,4],[2507,4],[2937,4],[4716,4],[4952,8],[5010,8],[5072,4],[5238,5]]},"412":{"position":[[983,5],[1168,8],[1273,4],[1322,4],[1996,4],[2198,5],[2957,4],[3188,5],[5821,4],[5943,6],[6852,7],[7289,4],[7453,4],[8452,6],[9117,4],[9247,4],[10950,4],[11592,4],[12335,4],[12889,4],[12961,4],[13093,4],[13521,7],[14554,4]]},"414":{"position":[[192,4]]},"415":{"position":[[185,7]]},"419":{"position":[[1135,5]]},"420":{"position":[[690,7],[1582,6]]},"421":{"position":[[817,7]]},"439":{"position":[[455,4]]},"445":{"position":[[690,5]]},"480":{"position":[[151,5]]},"481":{"position":[[13,4],[394,5],[718,6],[840,4]]},"483":{"position":[[506,7]]},"486":{"position":[[333,6]]},"487":{"position":[[129,4],[197,7]]},"489":{"position":[[795,4]]},"491":{"position":[[86,4],[166,4]]},"495":{"position":[[166,7]]},"498":{"position":[[321,8]]},"559":{"position":[[1430,4]]},"561":{"position":[[82,4]]},"562":{"position":[[1736,5],[1761,4]]},"566":{"position":[[1055,4]]},"567":{"position":[[1200,8]]},"572":{"position":[[68,4]]},"574":{"position":[[308,4]]},"575":{"position":[[365,5]]},"626":{"position":[[611,4],[799,4],[926,5],[1065,4],[1156,4]]},"631":{"position":[[378,4]]},"632":{"position":[[2007,4],[2279,5]]},"644":{"position":[[103,7]]},"661":{"position":[[1745,4]]},"696":{"position":[[457,7]]},"705":{"position":[[931,4]]},"710":{"position":[[336,4],[382,4]]},"711":{"position":[[2059,4]]},"793":{"position":[[625,4]]},"836":{"position":[[1847,7],[1942,7]]},"838":{"position":[[587,5],[614,7],[713,4]]},"839":{"position":[[408,4],[492,4],[874,5],[945,4],[1256,7]]},"841":{"position":[[425,4],[645,4],[755,4],[769,4],[817,4],[1526,4]]},"855":{"position":[[316,4]]},"857":{"position":[[542,5]]},"860":{"position":[[568,5]]},"867":{"position":[[311,4]]},"870":{"position":[[199,4]]},"872":{"position":[[2099,4],[2571,6],[3586,4]]},"875":{"position":[[8913,4]]},"896":{"position":[[77,4],[301,4]]},"898":{"position":[[4062,4]]},"902":{"position":[[243,4]]},"903":{"position":[[672,4]]},"905":{"position":[[75,4]]},"913":{"position":[[224,4]]},"981":{"position":[[77,4],[153,4],[393,4],[1381,4]]},"985":{"position":[[657,4]]},"988":{"position":[[758,4],[6059,4]]},"995":{"position":[[635,5],[1234,4],[1389,4],[1460,4],[1498,4],[1543,6],[1732,6]]},"996":{"position":[[101,4]]},"1004":{"position":[[49,4]]},"1006":{"position":[[286,4]]},"1007":{"position":[[980,5]]},"1009":{"position":[[279,4]]},"1033":{"position":[[545,6]]},"1094":{"position":[[245,4]]},"1101":{"position":[[107,4]]},"1121":{"position":[[112,4],[276,4]]},"1124":{"position":[[1901,4]]},"1147":{"position":[[27,4]]},"1148":{"position":[[201,5],[249,4]]},"1149":{"position":[[217,4],[1237,4]]},"1150":{"position":[[600,4]]},"1162":{"position":[[731,6],[868,6],[965,6],[1024,6]]},"1163":{"position":[[160,8],[372,6]]},"1165":{"position":[[12,6],[637,6],[951,6]]},"1198":{"position":[[1741,4]]},"1316":{"position":[[553,6]]},"1320":{"position":[[863,4]]}},"keywords":{}}],["sync"",{"_index":1507,"title":{},"content":{"244":{"position":[[980,10],[1108,10]]}},"keywords":{}}],["sync').pip",{"_index":5518,"title":{},"content":{"995":{"position":[[1932,12]]}},"keywords":{}}],["syncfirestor",{"_index":4331,"title":{},"content":{"749":{"position":[[15136,15]]}},"keywords":{}}],["synchron",{"_index":613,"title":{"132":{"position":[[0,13]]},"135":{"position":[[14,16]]},"147":{"position":[[5,15]]},"163":{"position":[[0,13]]},"190":{"position":[[0,13]]},"337":{"position":[[0,13]]},"340":{"position":[[14,16]]},"525":{"position":[[0,13]]},"582":{"position":[[0,13]]}},"content":{"39":{"position":[[42,15]]},"40":{"position":[[256,15]]},"47":{"position":[[868,16]]},"68":{"position":[[52,16]]},"80":{"position":[[135,16]]},"82":{"position":[[109,15]]},"89":{"position":[[320,12]]},"103":{"position":[[166,15]]},"109":{"position":[[62,15]]},"113":{"position":[[160,15]]},"121":{"position":[[148,16]]},"122":{"position":[[195,12]]},"123":{"position":[[101,11]]},"126":{"position":[[166,15]]},"132":{"position":[[155,16]]},"133":{"position":[[189,12]]},"135":{"position":[[34,16]]},"147":{"position":[[24,15],[270,15]]},"148":{"position":[[143,16]]},"151":{"position":[[228,15]]},"152":{"position":[[298,16]]},"153":{"position":[[375,15]]},"155":{"position":[[285,16]]},"157":{"position":[[192,13],[359,12]]},"158":{"position":[[126,15]]},"161":{"position":[[253,15]]},"164":{"position":[[326,13]]},"165":{"position":[[75,13],[379,15]]},"170":{"position":[[143,12],[328,15]]},"173":{"position":[[385,15]]},"174":{"position":[[411,15],[1901,11]]},"181":{"position":[[292,15]]},"183":{"position":[[201,12]]},"184":{"position":[[135,15],[285,16]]},"190":{"position":[[52,11],[141,15]]},"191":{"position":[[160,12]]},"192":{"position":[[80,15],[153,15],[365,15]]},"198":{"position":[[129,16]]},"208":{"position":[[334,16]]},"210":{"position":[[72,15]]},"211":{"position":[[526,11]]},"223":{"position":[[283,15]]},"233":{"position":[[270,12]]},"235":{"position":[[240,12]]},"237":{"position":[[55,15],[170,16]]},"238":{"position":[[246,12]]},"241":{"position":[[563,16]]},"248":{"position":[[254,12]]},"267":{"position":[[196,15],[371,12],[714,13]]},"274":{"position":[[282,15]]},"279":{"position":[[234,11],[445,15]]},"280":{"position":[[340,15]]},"289":{"position":[[104,15],[540,11],[759,15],[835,15],[1654,15]]},"293":{"position":[[218,15]]},"309":{"position":[[301,12]]},"321":{"position":[[546,15]]},"322":{"position":[[229,11]]},"323":{"position":[[273,12],[367,15]]},"325":{"position":[[87,12]]},"327":{"position":[[238,12]]},"330":{"position":[[62,12]]},"340":{"position":[[105,15]]},"365":{"position":[[1174,15],[1344,16]]},"368":{"position":[[382,16]]},"369":{"position":[[1050,13]]},"373":{"position":[[580,16]]},"375":{"position":[[547,16]]},"380":{"position":[[250,12]]},"381":{"position":[[75,15]]},"408":{"position":[[1724,11]]},"411":{"position":[[1371,15],[2240,13]]},"412":{"position":[[511,16],[533,15]]},"419":{"position":[[510,13]]},"420":{"position":[[793,16]]},"444":{"position":[[700,15],[902,16]]},"445":{"position":[[316,15],[805,16],[865,16],[1145,15]]},"446":{"position":[[284,15],[608,15]]},"447":{"position":[[151,16]]},"475":{"position":[[273,15]]},"491":{"position":[[833,16]]},"501":{"position":[[199,15]]},"502":{"position":[[125,15],[547,15]]},"504":{"position":[[530,13],[619,15],[825,15],[1032,15],[1092,12],[1356,15]]},"514":{"position":[[214,13]]},"516":{"position":[[294,12]]},"517":{"position":[[71,15],[200,15]]},"525":{"position":[[105,16],[456,15],[531,15],[715,15]]},"530":{"position":[[417,16]]},"544":{"position":[[94,11]]},"556":{"position":[[1652,13]]},"559":{"position":[[1072,12]]},"560":{"position":[[89,11]]},"565":{"position":[[45,16]]},"566":{"position":[[658,11]]},"567":{"position":[[321,16]]},"570":{"position":[[302,12]]},"574":{"position":[[782,15]]},"575":{"position":[[466,12]]},"582":{"position":[[187,11],[261,16]]},"589":{"position":[[80,12]]},"604":{"position":[[94,11]]},"630":{"position":[[468,15]]},"631":{"position":[[394,11]]},"836":{"position":[[2325,15]]},"849":{"position":[[27,15],[115,15],[585,16]]},"860":{"position":[[536,12]]},"871":{"position":[[462,15]]},"903":{"position":[[31,15]]},"1132":{"position":[[968,16]]},"1148":{"position":[[90,16]]},"1207":{"position":[[264,11],[510,11]]},"1208":{"position":[[159,13],[278,13],[509,11]]}},"keywords":{}}],["synchronization.conflict",{"_index":3701,"title":{},"content":{"632":{"position":[[443,24]]}},"keywords":{}}],["syncincrement",{"_index":4933,"title":{},"content":{"870":{"position":[[109,15]]}},"keywords":{}}],["syncliv",{"_index":5183,"title":{},"content":{"896":{"position":[[214,8]]}},"keywords":{}}],["synclocaltasks(db",{"_index":3708,"title":{},"content":{"632":{"position":[[2189,18]]}},"keywords":{}}],["synergi",{"_index":4815,"title":{},"content":{"841":{"position":[[1415,7]]}},"keywords":{}}],["syntax",{"_index":274,"title":{"1249":{"position":[[12,7]]}},"content":{"16":{"position":[[258,7]]},"19":{"position":[[305,6]]},"23":{"position":[[458,6]]},"32":{"position":[[144,6]]},"661":{"position":[[202,7]]},"686":{"position":[[279,6]]},"711":{"position":[[236,7]]},"749":{"position":[[4380,9],[4631,9]]},"836":{"position":[[204,7]]},"1041":{"position":[[48,7]]},"1065":{"position":[[364,6]]},"1071":{"position":[[60,6],[133,6]]},"1249":{"position":[[428,6]]},"1251":{"position":[[141,6]]},"1317":{"position":[[426,6]]}},"keywords":{}}],["system",{"_index":395,"title":{"433":{"position":[[5,6]]},"1205":{"position":[[20,6]]},"1215":{"position":[[24,6],[66,6]]}},"content":{"24":{"position":[[103,6]]},"40":{"position":[[681,7]]},"59":{"position":[[66,6]]},"82":{"position":[[77,8]]},"113":{"position":[[111,8]]},"131":{"position":[[423,6],[538,6]]},"134":{"position":[[18,7]]},"162":{"position":[[408,7],[426,6]]},"172":{"position":[[55,6]]},"207":{"position":[[394,7]]},"238":{"position":[[102,8],[276,6]]},"250":{"position":[[369,8]]},"267":{"position":[[308,8]]},"287":{"position":[[710,7]]},"302":{"position":[[592,6]]},"336":{"position":[[268,6]]},"339":{"position":[[224,8]]},"354":{"position":[[569,6],[950,7],[1061,7]]},"364":{"position":[[379,8]]},"369":{"position":[[233,6]]},"372":{"position":[[192,6]]},"375":{"position":[[601,7]]},"390":{"position":[[1926,7]]},"408":{"position":[[1552,6],[1584,6],[4195,7]]},"410":{"position":[[1731,6]]},"411":{"position":[[905,7],[1074,8],[1754,6]]},"412":{"position":[[813,8],[1731,6],[2573,6],[3225,7],[3275,7],[5642,6],[6439,7]]},"418":{"position":[[281,7]]},"433":{"position":[[45,6]]},"444":{"position":[[43,7]]},"453":{"position":[[25,6],[245,7]]},"454":{"position":[[998,7]]},"463":{"position":[[520,6]]},"476":{"position":[[115,6]]},"491":{"position":[[150,6]]},"495":{"position":[[641,8]]},"504":{"position":[[314,6]]},"524":{"position":[[428,6]]},"533":{"position":[[134,6]]},"546":{"position":[[121,6]]},"569":{"position":[[287,8],[346,7],[418,7],[474,7],[1377,7],[1568,7]]},"574":{"position":[[935,7]]},"581":{"position":[[274,6]]},"593":{"position":[[134,6]]},"606":{"position":[[121,6]]},"618":{"position":[[60,7],[218,7]]},"632":{"position":[[649,6]]},"635":{"position":[[518,7]]},"640":{"position":[[189,7]]},"688":{"position":[[205,7]]},"690":{"position":[[202,6]]},"703":{"position":[[199,7]]},"737":{"position":[[366,6]]},"772":{"position":[[87,7]]},"802":{"position":[[69,7],[650,6]]},"831":{"position":[[141,6],[485,6]]},"837":{"position":[[969,6]]},"908":{"position":[[134,6]]},"1094":{"position":[[644,7]]},"1132":{"position":[[411,6],[582,6]]},"1146":{"position":[[29,6]]},"1198":{"position":[[268,7]]},"1206":{"position":[[25,6]]},"1207":{"position":[[53,6]]},"1208":{"position":[[694,7]]},"1209":{"position":[[33,6]]},"1214":{"position":[[21,6]]},"1215":{"position":[[69,6],[115,6],[140,6],[206,7],[272,7],[296,6],[388,6],[428,6]]},"1216":{"position":[[18,6]]},"1244":{"position":[[41,6]]},"1297":{"position":[[343,7]]},"1313":{"position":[[119,6],[406,6],[1042,6]]},"1322":{"position":[[215,8]]}},"keywords":{}}],["system'",{"_index":3653,"title":{},"content":{"618":{"position":[[415,8]]}},"keywords":{}}],["system.then",{"_index":6566,"title":{},"content":{"1317":{"position":[[498,11]]}},"keywords":{}}],["systembrows",{"_index":6242,"title":{},"content":{"1216":{"position":[[54,13]]}},"keywords":{}}],["t",{"_index":4727,"title":{},"content":{"825":{"position":[[815,1]]}},"keywords":{}}],["t.titl",{"_index":4729,"title":{},"content":{"825":{"position":[[848,7]]}},"keywords":{}}],["tab",{"_index":281,"title":{"80":{"position":[[15,3]]},"109":{"position":[[15,3]]},"125":{"position":[[6,3]]},"160":{"position":[[6,3]]},"237":{"position":[[15,3]]},"330":{"position":[[6,3]]},"458":{"position":[[6,3]]},"475":{"position":[[9,3]]},"519":{"position":[[6,3]]},"589":{"position":[[6,3]]},"755":{"position":[[19,3]]},"779":{"position":[[6,3]]},"989":{"position":[[6,3]]},"1174":{"position":[[6,3]]},"1183":{"position":[[6,3]]},"1301":{"position":[[17,3]]}},"content":{"16":{"position":[[522,5]]},"33":{"position":[[264,3]]},"47":{"position":[[864,3],[942,4],[998,3],[1025,4]]},"53":{"position":[[147,5]]},"80":{"position":[[34,3],[111,5]]},"109":{"position":[[30,3],[111,4]]},"120":{"position":[[314,3]]},"125":{"position":[[48,3],[138,5],[197,5],[239,3]]},"160":{"position":[[19,3],[101,5],[153,3],[201,5]]},"174":{"position":[[1787,3],[1829,3],[2013,4]]},"237":{"position":[[28,3],[116,5],[238,4]]},"314":{"position":[[600,3]]},"323":{"position":[[363,3],[520,3],[585,5]]},"325":{"position":[[273,3]]},"328":{"position":[[152,4]]},"330":{"position":[[37,5],[97,5]]},"334":{"position":[[493,3]]},"340":{"position":[[147,4]]},"368":{"position":[[344,5]]},"392":{"position":[[2178,4]]},"410":{"position":[[1535,4]]},"411":{"position":[[2396,5],[3949,3],[4070,4],[4222,4],[4262,4],[4355,4],[4370,3],[4498,3],[4549,4],[4578,3]]},"427":{"position":[[1128,3],[1215,4]]},"436":{"position":[[174,3]]},"451":{"position":[[888,3]]},"458":{"position":[[145,4],[545,5],[624,4],[1134,5],[1221,4],[1520,4]]},"467":{"position":[[615,3]]},"468":{"position":[[715,4]]},"475":{"position":[[54,5],[88,4],[157,3],[234,4]]},"483":{"position":[[103,3]]},"490":{"position":[[314,3],[387,5],[408,3]]},"502":{"position":[[1134,3],[1182,3],[1244,4]]},"519":{"position":[[52,4],[128,3],[182,3],[222,5],[353,5]]},"535":{"position":[[866,3],[900,3],[989,3]]},"541":{"position":[[883,5]]},"548":{"position":[[372,3]]},"559":{"position":[[1339,4]]},"562":{"position":[[1716,4]]},"566":{"position":[[862,4],[897,4]]},"571":{"position":[[417,4]]},"575":{"position":[[495,5],[536,3],[591,4]]},"579":{"position":[[502,3]]},"589":{"position":[[29,4],[148,3]]},"595":{"position":[[941,3],[975,3],[1066,3]]},"600":{"position":[[204,5]]},"601":{"position":[[858,4]]},"608":{"position":[[370,3]]},"617":{"position":[[199,4],[247,5],[1950,4],[2033,3],[2138,5],[2163,4]]},"634":{"position":[[419,5]]},"709":{"position":[[398,3],[524,3]]},"710":{"position":[[1149,5],[2213,4]]},"723":{"position":[[828,5],[895,4],[978,5]]},"736":{"position":[[344,4]]},"737":{"position":[[118,3],[171,3],[253,4],[394,5]]},"739":{"position":[[164,3]]},"740":{"position":[[278,4]]},"742":{"position":[[43,3]]},"743":{"position":[[166,4]]},"749":{"position":[[5775,3],[8853,3]]},"755":{"position":[[97,3],[202,5]]},"779":{"position":[[84,3],[130,4],[188,5],[233,5],[327,5],[436,4]]},"785":{"position":[[612,4]]},"849":{"position":[[247,3]]},"956":{"position":[[130,4],[166,3]]},"979":{"position":[[211,5]]},"981":{"position":[[1499,3],[1556,4]]},"988":{"position":[[1175,5],[1249,5]]},"989":{"position":[[105,4],[194,3],[442,3]]},"995":{"position":[[248,3],[335,3],[384,4],[893,3],[992,3]]},"1003":{"position":[[122,3],[198,3],[264,3]]},"1030":{"position":[[88,4]]},"1088":{"position":[[269,4]]},"1115":{"position":[[656,4]]},"1117":{"position":[[561,4]]},"1120":{"position":[[316,4]]},"1174":{"position":[[89,5],[226,5],[413,5],[429,3],[461,3],[498,4],[579,3],[627,3]]},"1183":{"position":[[248,5],[409,5]]},"1301":{"position":[[121,4],[248,4],[476,5],[805,4],[1190,4],[1295,4],[1321,3],[1620,3]]},"1307":{"position":[[281,4],[303,4]]}},"keywords":{}}],["tab"",{"_index":3983,"title":{},"content":{"707":{"position":[[328,10]]}},"keywords":{}}],["tab'",{"_index":2890,"title":{},"content":{"427":{"position":[[1149,5]]}},"keywords":{}}],["tab.your",{"_index":5506,"title":{},"content":{"995":{"position":[[1041,8]]}},"keywords":{}}],["tabeasi",{"_index":6300,"title":{},"content":{"1258":{"position":[[58,9]]}},"keywords":{}}],["tabl",{"_index":1651,"title":{"394":{"position":[[42,5]]}},"content":{"279":{"position":[[344,6]]},"282":{"position":[[250,6]]},"299":{"position":[[125,5]]},"350":{"position":[[113,5]]},"351":{"position":[[17,6]]},"352":{"position":[[399,7]]},"353":{"position":[[352,5]]},"356":{"position":[[322,5]]},"360":{"position":[[204,6]]},"364":{"position":[[652,5],[733,7]]},"398":{"position":[[120,5]]},"402":{"position":[[1385,5]]},"412":{"position":[[13636,6]]},"463":{"position":[[1185,5],[1368,6]]},"500":{"position":[[403,6]]},"705":{"position":[[700,6],[1057,6]]},"711":{"position":[[1212,5],[1279,5]]},"896":{"position":[[145,6]]},"898":{"position":[[98,6],[144,6],[773,6],[823,6],[899,5],[1396,5],[1492,5],[1669,6],[3185,5]]},"1253":{"position":[[88,7]]},"1282":{"position":[[920,6],[1011,6]]},"1315":{"position":[[83,7],[189,6],[996,6],[1237,6],[1441,5]]},"1318":{"position":[[388,5],[469,5],[1007,5],[1047,7]]},"1319":{"position":[[478,6],[541,5]]},"1323":{"position":[[43,6]]}},"keywords":{}}],["table/collect",{"_index":6448,"title":{},"content":{"1295":{"position":[[154,17],[250,17]]}},"keywords":{}}],["table_a",{"_index":6545,"title":{},"content":{"1316":{"position":[[875,7],[916,7]]}},"keywords":{}}],["table_a.amountinstock",{"_index":6547,"title":{},"content":{"1316":{"position":[[930,21]]}},"keywords":{}}],["table_a.instock",{"_index":6546,"title":{},"content":{"1316":{"position":[[887,15]]}},"keywords":{}}],["tablenam",{"_index":5218,"title":{},"content":{"898":{"position":[[3342,10]]}},"keywords":{}}],["tabs"",{"_index":2633,"title":{},"content":{"411":{"position":[[4667,11]]}},"keywords":{}}],["tabs.th",{"_index":2991,"title":{},"content":{"458":{"position":[[1417,8]]}},"keywords":{}}],["tackl",{"_index":1429,"title":{},"content":{"240":{"position":[[127,7]]}},"keywords":{}}],["tactic",{"_index":1820,"title":{},"content":{"303":{"position":[[121,7]]}},"keywords":{}}],["tailor",{"_index":1150,"title":{},"content":{"147":{"position":[[297,8]]},"271":{"position":[[180,8]]},"287":{"position":[[211,6]]},"412":{"position":[[1355,8]]},"576":{"position":[[394,6]]},"1132":{"position":[[676,8]]}},"keywords":{}}],["take",{"_index":888,"title":{},"content":{"61":{"position":[[424,5]]},"114":{"position":[[652,4]]},"143":{"position":[[197,5]]},"151":{"position":[[49,4]]},"164":{"position":[[313,4]]},"284":{"position":[[193,4]]},"362":{"position":[[779,4]]},"375":{"position":[[172,6]]},"388":{"position":[[433,6]]},"391":{"position":[[324,5]]},"392":{"position":[[2509,5],[3063,5],[3138,4]]},"394":{"position":[[1621,5]]},"399":{"position":[[622,4]]},"400":{"position":[[168,5]]},"401":{"position":[[666,4]]},"404":{"position":[[888,4]]},"408":{"position":[[4592,4]]},"411":{"position":[[5790,5]]},"412":{"position":[[10629,5],[10668,4]]},"446":{"position":[[134,6]]},"463":{"position":[[587,5],[862,5],[1191,5]]},"464":{"position":[[756,4],[1202,5]]},"465":{"position":[[66,5]]},"467":{"position":[[691,5]]},"468":{"position":[[528,5]]},"567":{"position":[[66,4]]},"699":{"position":[[456,5]]},"704":{"position":[[76,5],[218,5]]},"721":{"position":[[182,4]]},"752":{"position":[[215,4],[567,5]]},"810":{"position":[[71,5]]},"824":{"position":[[533,4]]},"1150":{"position":[[497,5]]},"1192":{"position":[[487,4]]},"1246":{"position":[[189,4],[509,4]]},"1301":{"position":[[1396,5]]},"1313":{"position":[[295,6],[568,6]]},"1316":{"position":[[2131,5]]}},"keywords":{}}],["taken",{"_index":2325,"title":{},"content":{"394":{"position":[[1487,5]]},"401":{"position":[[29,5]]}},"keywords":{}}],["talk",{"_index":2507,"title":{},"content":{"404":{"position":[[736,6]]},"422":{"position":[[205,4]]},"569":{"position":[[989,4]]},"570":{"position":[[6,7]]},"1304":{"position":[[6,7]]}},"keywords":{}}],["tanstack",{"_index":4621,"title":{},"content":{"793":{"position":[[1252,8]]}},"keywords":{}}],["tap",{"_index":2135,"title":{},"content":{"373":{"position":[[411,3]]},"504":{"position":[[187,7]]}},"keywords":{}}],["target",{"_index":1216,"title":{},"content":{"174":{"position":[[1138,8]]},"1266":{"position":[[512,7]]}},"keywords":{}}],["task",{"_index":1157,"title":{},"content":{"151":{"position":[[357,4]]},"209":{"position":[[384,6],[410,5],[699,5]]},"255":{"position":[[728,6],[754,5],[1046,5]]},"364":{"position":[[836,6]]},"392":{"position":[[3740,5]]},"408":{"position":[[3706,5]]},"411":{"position":[[619,6]]},"412":{"position":[[10797,5]]},"446":{"position":[[148,4]]},"480":{"position":[[493,6],[519,6],[892,8],[941,5]]},"481":{"position":[[711,6]]},"569":{"position":[[210,5],[1385,4]]},"632":{"position":[[1478,6],[1504,5],[1846,5],[2285,7],[2445,5]]},"634":{"position":[[296,4]]},"653":{"position":[[687,5]]},"765":{"position":[[199,5]]},"801":{"position":[[673,5]]},"860":{"position":[[74,5]]},"904":{"position":[[1207,6]]},"975":{"position":[[195,5],[262,6]]},"1158":{"position":[[317,6],[343,6],[590,5]]},"1175":{"position":[[460,6]]},"1313":{"position":[[848,6]]}},"keywords":{}}],["tasks—databas",{"_index":2100,"title":{},"content":{"362":{"position":[[657,15]]}},"keywords":{}}],["tauri",{"_index":4615,"title":{"1280":{"position":[[11,5]]}},"content":{"793":{"position":[[330,6]]},"1280":{"position":[[9,5],[34,5],[117,5],[218,5],[390,7]]}},"keywords":{}}],["tauri.us",{"_index":6360,"title":{},"content":{"1280":{"position":[[163,9]]}},"keywords":{}}],["team",{"_index":2094,"title":{},"content":{"362":{"position":[[431,6]]},"384":{"position":[[378,5]]},"387":{"position":[[442,5]]},"644":{"position":[[588,6]]},"835":{"position":[[640,4]]},"1133":{"position":[[338,6]]},"1148":{"position":[[64,5]]},"1292":{"position":[[10,4]]}},"keywords":{}}],["technic",{"_index":2586,"title":{},"content":{"409":{"position":[[259,11]]},"419":{"position":[[771,9],[1265,9]]},"624":{"position":[[333,9]]},"699":{"position":[[337,9]]}},"keywords":{}}],["techniqu",{"_index":1119,"title":{"137":{"position":[[27,11]]},"166":{"position":[[27,11]]},"193":{"position":[[27,11]]},"341":{"position":[[27,11]]},"505":{"position":[[27,11]]},"526":{"position":[[27,11]]},"583":{"position":[[27,11]]}},"content":{"137":{"position":[[43,10]]},"146":{"position":[[134,10]]},"148":{"position":[[440,10]]},"169":{"position":[[107,10]]},"193":{"position":[[46,10]]},"194":{"position":[[15,9]]},"198":{"position":[[361,10]]},"376":{"position":[[604,10]]},"402":{"position":[[26,10]]},"408":{"position":[[4776,11]]},"528":{"position":[[89,9]]},"610":{"position":[[132,9]]},"624":{"position":[[1366,10]]},"643":{"position":[[50,10]]},"901":{"position":[[275,10]]},"1009":{"position":[[56,9]]},"1132":{"position":[[1095,10]]},"1295":{"position":[[15,10]]},"1298":{"position":[[366,9]]}},"keywords":{}}],["technolog",{"_index":248,"title":{"615":{"position":[[19,13]]}},"content":{"15":{"position":[[44,12]]},"38":{"position":[[657,12]]},"43":{"position":[[584,13]]},"155":{"position":[[177,13]]},"162":{"position":[[116,13]]},"269":{"position":[[63,12],[193,12]]},"367":{"position":[[629,12]]},"381":{"position":[[576,10]]},"408":{"position":[[53,13],[2646,13]]},"412":{"position":[[219,10],[1632,10]]},"422":{"position":[[51,13],[89,12]]},"435":{"position":[[94,10]]},"445":{"position":[[134,12]]},"459":{"position":[[220,12]]},"462":{"position":[[880,12]]},"463":{"position":[[637,10]]},"464":{"position":[[250,10]]},"465":{"position":[[111,10],[413,12]]},"466":{"position":[[77,10]]},"467":{"position":[[49,10]]},"469":{"position":[[532,12]]},"503":{"position":[[56,12]]},"524":{"position":[[76,11]]},"610":{"position":[[834,12]]},"611":{"position":[[129,10]]},"614":{"position":[[1030,13]]},"620":{"position":[[526,10]]},"624":{"position":[[49,13]]},"625":{"position":[[35,13]]},"627":{"position":[[91,13],[294,10]]},"840":{"position":[[39,10]]},"1320":{"position":[[469,12]]}},"keywords":{}}],["tell",{"_index":3951,"title":{},"content":{"700":{"position":[[631,4]]},"772":{"position":[[580,4]]},"781":{"position":[[362,4]]},"796":{"position":[[773,4]]},"875":{"position":[[9057,4]]},"879":{"position":[[412,4],[491,4]]},"907":{"position":[[80,5]]},"985":{"position":[[297,4]]},"987":{"position":[[275,4]]},"1002":{"position":[[173,4]]},"1176":{"position":[[215,7]]}},"keywords":{}}],["temp",{"_index":4098,"title":{},"content":{"739":{"position":[[620,4],[706,5]]}},"keywords":{}}],["temperatur",{"_index":4084,"title":{},"content":{"736":{"position":[[54,11],[236,11]]},"739":{"position":[[47,11],[433,12]]}},"keywords":{}}],["templat",{"_index":1093,"title":{},"content":{"130":{"position":[[263,9]]},"143":{"position":[[69,10]]},"493":{"position":[[144,9]]},"602":{"position":[[320,8]]},"825":{"position":[[768,9]]}},"keywords":{}}],["temporari",{"_index":1295,"title":{},"content":{"189":{"position":[[611,9]]},"287":{"position":[[931,9]]},"365":{"position":[[200,9],[393,9]]},"436":{"position":[[268,9]]},"504":{"position":[[398,9]]},"749":{"position":[[11036,9],[11179,9]]}},"keywords":{}}],["temporarili",{"_index":5655,"title":{"1033":{"position":[[10,11]]}},"content":{},"keywords":{}}],["ten",{"_index":2535,"title":{},"content":{"408":{"position":[[1025,5]]},"739":{"position":[[75,3]]}},"keywords":{}}],["tend",{"_index":1408,"title":{},"content":{"227":{"position":[[46,4]]},"412":{"position":[[8981,5]]},"435":{"position":[[253,5]]}},"keywords":{}}],["terabyt",{"_index":3935,"title":{},"content":{"696":{"position":[[609,9]]}},"keywords":{}}],["term",{"_index":676,"title":{},"content":{"43":{"position":[[460,5]]},"131":{"position":[[882,4]]},"266":{"position":[[482,4]]},"287":{"position":[[1057,4]]},"407":{"position":[[1132,4]]},"419":{"position":[[1212,4]]},"420":{"position":[[1040,4]]},"723":{"position":[[2163,4]]},"839":{"position":[[1400,4]]}},"keywords":{}}],["term.cross",{"_index":2503,"title":{},"content":{"404":{"position":[[445,10]]}},"keywords":{}}],["termin",{"_index":13,"title":{},"content":{"1":{"position":[[176,11]]},"1162":{"position":[[140,11]]},"1181":{"position":[[206,11]]}},"keywords":{}}],["terminated.al",{"_index":6127,"title":{},"content":{"1171":{"position":[[157,14]]}},"keywords":{}}],["terms.clust",{"_index":2200,"title":{},"content":{"390":{"position":[[1309,17]]}},"keywords":{}}],["terseropt",{"_index":6322,"title":{},"content":{"1266":{"position":[[1005,14]]}},"keywords":{}}],["terserplugin",{"_index":6306,"title":{},"content":{"1266":{"position":[[201,12],[990,14]]}},"keywords":{}}],["test",{"_index":20,"title":{"301":{"position":[[0,7]]},"667":{"position":[[7,6]]},"1159":{"position":[[33,7]]}},"content":{"1":{"position":[[307,4]]},"15":{"position":[[449,8]]},"29":{"position":[[311,7]]},"131":{"position":[[835,7]]},"162":{"position":[[563,7]]},"301":{"position":[[47,4],[183,4]]},"304":{"position":[[387,4]]},"314":{"position":[[34,7]]},"318":{"position":[[235,7]]},"336":{"position":[[382,5]]},"346":{"position":[[538,8],[558,4]]},"386":{"position":[[16,6]]},"392":{"position":[[904,4]]},"394":{"position":[[1591,4]]},"396":{"position":[[814,7]]},"399":{"position":[[494,6]]},"412":{"position":[[10748,7],[11810,8]]},"427":{"position":[[1299,4]]},"455":{"position":[[869,5]]},"461":{"position":[[170,4],[747,4],[1607,6]]},"462":{"position":[[212,5],[455,4],[529,5],[685,5],[812,4]]},"464":{"position":[[11,4],[1346,5]]},"524":{"position":[[554,7]]},"554":{"position":[[348,7],[614,8]]},"581":{"position":[[386,5]]},"620":{"position":[[322,5],[725,7]]},"627":{"position":[[278,4]]},"640":{"position":[[396,5]]},"662":{"position":[[1128,7]]},"666":{"position":[[265,5],[342,5],[433,5]]},"667":{"position":[[70,4],[92,5],[178,4]]},"668":{"position":[[115,4],[366,6],[384,4]]},"670":{"position":[[52,4],[357,4]]},"710":{"position":[[329,6]]},"730":{"position":[[40,6]]},"749":{"position":[[4440,8],[4475,5],[5796,6]]},"773":{"position":[[371,5]]},"798":{"position":[[233,5]]},"820":{"position":[[303,8]]},"821":{"position":[[908,4]]},"836":{"position":[[1207,7]]},"861":{"position":[[2479,8]]},"863":{"position":[[895,7]]},"898":{"position":[[2114,5]]},"966":{"position":[[255,6]]},"996":{"position":[[137,5]]},"1125":{"position":[[661,4]]},"1139":{"position":[[104,6]]},"1145":{"position":[[100,6]]},"1159":{"position":[[180,5],[195,4]]},"1195":{"position":[[200,8]]},"1209":{"position":[[181,5]]},"1216":{"position":[[87,4]]},"1222":{"position":[[724,4]]},"1266":{"position":[[743,5]]},"1271":{"position":[[311,4]]},"1292":{"position":[[134,7]]},"1294":{"position":[[1827,4]]},"1295":{"position":[[783,4]]},"1298":{"position":[[412,5]]}},"keywords":{}}],["test/unit",{"_index":3829,"title":{},"content":{"667":{"position":[[109,9]]}},"keywords":{}}],["test:node:memori",{"_index":3827,"title":{},"content":{"666":{"position":[[319,16]]}},"keywords":{}}],["testabl",{"_index":2943,"title":{},"content":{"445":{"position":[[1637,12]]}},"keywords":{}}],["testdata",{"_index":4714,"title":{},"content":{"820":{"position":[[681,9]]}},"keywords":{}}],["testdocu",{"_index":6442,"title":{},"content":{"1294":{"position":[[1611,14]]}},"keywords":{}}],["text",{"_index":631,"title":{"358":{"position":[[37,4]]}},"content":{"40":{"position":[[129,4]]},"205":{"position":[[222,4]]},"252":{"position":[[221,4]]},"259":{"position":[[169,5]]},"315":{"position":[[795,5],[906,8],[963,4]]},"356":{"position":[[367,5]]},"357":{"position":[[52,4],[185,5]]},"358":{"position":[[387,4]]},"362":{"position":[[599,4]]},"383":{"position":[[187,4],[219,4]]},"390":{"position":[[223,5],[916,5],[1703,5]]},"391":{"position":[[341,4],[805,4]]},"392":{"position":[[489,4],[670,5],[715,7],[4503,4]]},"394":{"position":[[244,5],[312,5]]},"404":{"position":[[650,4]]},"412":{"position":[[3769,4],[10456,4]]},"457":{"position":[[291,4]]},"556":{"position":[[593,4]]},"698":{"position":[[1958,4]]},"754":{"position":[[719,6]]},"898":{"position":[[199,4],[968,4],[1008,4],[1044,4]]},"1023":{"position":[[46,4]]},"1072":{"position":[[2283,4]]},"1284":{"position":[[113,4]]}},"keywords":{}}],["text/ev",{"_index":3590,"title":{},"content":{"612":{"position":[[1489,10],[1916,11]]},"875":{"position":[[7300,11]]}},"keywords":{}}],["text/plain",{"_index":3372,"title":{},"content":{"556":{"position":[[999,14],[1020,13]]},"792":{"position":[[403,12]]},"917":{"position":[[248,14],[309,12]]},"918":{"position":[[180,12]]}},"keywords":{}}],["textdecod",{"_index":6194,"title":{},"content":{"1208":{"position":[[368,11]]}},"keywords":{}}],["textdecoder().decode(readbuff",{"_index":6216,"title":{},"content":{"1208":{"position":[[1437,33]]}},"keywords":{}}],["textencod",{"_index":6193,"title":{},"content":{"1208":{"position":[[352,11]]}},"keywords":{}}],["textencoder().encod",{"_index":6218,"title":{},"content":{"1208":{"position":[[1542,26]]}},"keywords":{}}],["textencoder().encode('hello",{"_index":6208,"title":{},"content":{"1208":{"position":[[1169,27]]}},"keywords":{}}],["textual",{"_index":1824,"title":{},"content":{"303":{"position":[[257,7]]}},"keywords":{}}],["thank",{"_index":2642,"title":{},"content":{"411":{"position":[[5477,6]]},"670":{"position":[[592,5]]},"700":{"position":[[1000,5]]},"1151":{"position":[[668,5]]},"1178":{"position":[[667,5]]}},"keywords":{}}],["that'",{"_index":2426,"title":{},"content":{"398":{"position":[[3415,6]]},"402":{"position":[[338,6]]},"412":{"position":[[8459,6],[14882,6]]}},"keywords":{}}],["that’",{"_index":6096,"title":{},"content":{"1156":{"position":[[354,6]]}},"keywords":{}}],["theft",{"_index":2147,"title":{},"content":{"377":{"position":[[102,5]]}},"keywords":{}}],["them.flex",{"_index":3166,"title":{},"content":{"491":{"position":[[544,13]]}},"keywords":{}}],["themself",{"_index":2115,"title":{},"content":{"366":{"position":[[582,8]]},"1092":{"position":[[278,8]]},"1094":{"position":[[531,9]]},"1095":{"position":[[47,9]]}},"keywords":{}}],["themselv",{"_index":2605,"title":{},"content":{"410":{"position":[[1840,10]]},"698":{"position":[[2011,10]]}},"keywords":{}}],["themthen",{"_index":6567,"title":{},"content":{"1317":{"position":[[610,8]]}},"keywords":{}}],["then(data",{"_index":3556,"title":{},"content":{"610":{"position":[[997,10]]}},"keywords":{}}],["then(json",{"_index":5372,"title":{},"content":{"952":{"position":[[329,10]]},"971":{"position":[[439,10]]}},"keywords":{}}],["then(respons",{"_index":3555,"title":{},"content":{"610":{"position":[[959,14]]},"751":{"position":[[1390,14]]}},"keywords":{}}],["theoret",{"_index":2758,"title":{},"content":{"412":{"position":[[13154,13]]}},"keywords":{}}],["theori",{"_index":418,"title":{},"content":{"25":{"position":[[207,6]]},"459":{"position":[[304,6]]},"616":{"position":[[209,7]]},"617":{"position":[[1577,6]]},"696":{"position":[[251,6]]},"708":{"position":[[171,7]]}},"keywords":{}}],["there'",{"_index":762,"title":{},"content":{"51":{"position":[[135,7]]},"327":{"position":[[171,7]]},"410":{"position":[[100,7]]},"411":{"position":[[4612,7]]},"490":{"position":[[264,7]]},"714":{"position":[[426,7]]},"723":{"position":[[1779,7]]},"1072":{"position":[[861,7]]}},"keywords":{}}],["therebi",{"_index":2590,"title":{},"content":{"410":{"position":[[704,7]]},"588":{"position":[[66,7]]},"624":{"position":[[269,7]]}},"keywords":{}}],["therefor",{"_index":375,"title":{},"content":{"22":{"position":[[366,9]]},"270":{"position":[[206,10]]},"396":{"position":[[1409,9],[1707,10]]},"399":{"position":[[346,10]]},"451":{"position":[[625,9]]},"455":{"position":[[779,9]]},"458":{"position":[[168,9]]},"460":{"position":[[900,9],[1309,9]]},"464":{"position":[[1329,9]]},"468":{"position":[[112,9]]},"569":{"position":[[1414,9]]},"619":{"position":[[241,9]]},"660":{"position":[[250,9]]},"764":{"position":[[256,9]]},"811":{"position":[[67,9]]},"817":{"position":[[71,9]]},"836":{"position":[[812,9]]},"879":{"position":[[281,9]]},"887":{"position":[[99,10]]},"905":{"position":[[156,9]]},"911":{"position":[[185,9]]},"932":{"position":[[301,9]]},"985":{"position":[[533,9]]},"1032":{"position":[[223,9]]},"1067":{"position":[[747,9]]},"1072":{"position":[[409,10],[850,10]]},"1084":{"position":[[197,9]]},"1115":{"position":[[772,9]]},"1191":{"position":[[423,9]]},"1192":{"position":[[374,9]]},"1208":{"position":[[338,9]]},"1210":{"position":[[56,9]]},"1211":{"position":[[100,9]]},"1215":{"position":[[616,9]]},"1251":{"position":[[25,9]]},"1272":{"position":[[90,9]]},"1296":{"position":[[1269,9]]},"1301":{"position":[[451,9]]}},"keywords":{}}],["they'll",{"_index":2857,"title":{},"content":{"421":{"position":[[1023,7]]}},"keywords":{}}],["they'r",{"_index":3162,"title":{},"content":{"489":{"position":[[819,7]]},"1009":{"position":[[296,7]]}},"keywords":{}}],["they'v",{"_index":2856,"title":{},"content":{"421":{"position":[[955,7]]}},"keywords":{}}],["thing",{"_index":482,"title":{"633":{"position":[[0,6]]}},"content":{"29":{"position":[[351,6]]},"396":{"position":[[1253,6],[1292,7]]},"400":{"position":[[630,6]]},"404":{"position":[[81,6]]},"408":{"position":[[1249,5]]},"412":{"position":[[14779,7]]},"457":{"position":[[601,6]]},"463":{"position":[[800,7]]},"464":{"position":[[452,7]]},"465":{"position":[[313,7]]},"466":{"position":[[277,7]]},"467":{"position":[[272,7]]},"570":{"position":[[887,5]]},"623":{"position":[[382,6]]},"698":{"position":[[3004,5]]},"700":{"position":[[1055,7]]},"704":{"position":[[317,6]]},"709":{"position":[[375,5],[638,5]]},"737":{"position":[[535,6]]},"785":{"position":[[57,6],[168,6]]},"862":{"position":[[1554,6]]},"872":{"position":[[2659,6]]},"898":{"position":[[4472,6]]},"1052":{"position":[[472,6]]},"1084":{"position":[[189,7]]},"1085":{"position":[[216,5]]},"1094":{"position":[[420,6]]},"1198":{"position":[[991,6]]},"1215":{"position":[[470,6]]},"1304":{"position":[[1608,5]]},"1320":{"position":[[122,6]]}},"keywords":{}}],["think",{"_index":3448,"title":{},"content":{"569":{"position":[[77,5]]},"612":{"position":[[376,5]]},"703":{"position":[[1644,5]]},"708":{"position":[[56,5]]},"1315":{"position":[[103,5]]}},"keywords":{}}],["thinner",{"_index":2788,"title":{},"content":{"416":{"position":[[406,8]]}},"keywords":{}}],["third",{"_index":1102,"title":{"1247":{"position":[[0,5]]},"1284":{"position":[[0,5]]}},"content":{"131":{"position":[[170,5]]},"412":{"position":[[1594,5]]},"793":{"position":[[1213,5]]},"902":{"position":[[457,5]]},"1102":{"position":[[258,5]]},"1284":{"position":[[0,5]]}},"keywords":{}}],["this.amount",{"_index":1138,"title":{},"content":{"143":{"position":[[586,12]]}},"keywords":{}}],["this.dbservic",{"_index":1097,"title":{},"content":{"130":{"position":[[457,14]]},"143":{"position":[[420,14],[601,14]]}},"keywords":{}}],["this.dbservice.db.heroes.find",{"_index":817,"title":{},"content":{"54":{"position":[[125,31]]}},"keywords":{}}],["this.dbservice.db.todos.find",{"_index":4733,"title":{},"content":{"825":{"position":[[1015,34]]}},"keywords":{}}],["this.find().exec",{"_index":6509,"title":{},"content":{"1311":{"position":[[914,19]]}},"keywords":{}}],["this.firstnam",{"_index":6503,"title":{},"content":{"1311":{"position":[[722,14]]}},"keywords":{}}],["this.hero",{"_index":816,"title":{},"content":{"54":{"position":[[110,12]]},"130":{"position":[[442,12]]}},"keywords":{}}],["this.nam",{"_index":4603,"title":{},"content":{"789":{"position":[[507,10]]},"791":{"position":[[385,9]]},"1311":{"position":[[1335,9]]}},"keywords":{}}],["this.sqlite.createconnect",{"_index":3806,"title":{},"content":{"661":{"position":[[1183,29]]}},"keywords":{}}],["this.your",{"_index":1591,"title":{},"content":{"262":{"position":[[137,9]]}},"keywords":{}}],["thishttps://rxdb.info/rx",{"_index":4205,"title":{},"content":{"749":{"position":[[5456,24]]}},"keywords":{}}],["thor",{"_index":794,"title":{},"content":{"52":{"position":[[215,7],[664,6]]},"539":{"position":[[215,7],[664,6]]},"599":{"position":[[233,7],[695,6]]}},"keywords":{}}],["thordoc",{"_index":3537,"title":{},"content":{"599":{"position":[[641,7]]}},"keywords":{}}],["thordoc.remov",{"_index":3538,"title":{},"content":{"599":{"position":[[721,17]]}},"keywords":{}}],["thoroughli",{"_index":1977,"title":{},"content":{"346":{"position":[[547,10]]},"399":{"position":[[483,10]]}},"keywords":{}}],["those",{"_index":1422,"title":{},"content":{"235":{"position":[[193,5]]},"330":{"position":[[91,5]]},"408":{"position":[[4171,5]]},"412":{"position":[[711,5]]},"421":{"position":[[330,5],[1123,5]]},"432":{"position":[[940,5]]},"445":{"position":[[1090,5]]},"570":{"position":[[574,5]]},"618":{"position":[[128,5]]},"898":{"position":[[4300,5]]},"981":{"position":[[1362,5]]}},"keywords":{}}],["though",{"_index":1846,"title":{},"content":{"303":{"position":[[1065,6]]},"354":{"position":[[1624,7]]},"360":{"position":[[652,6]]},"410":{"position":[[1228,6]]},"412":{"position":[[9696,6]]},"495":{"position":[[858,7]]},"1009":{"position":[[1,6]]},"1133":{"position":[[450,7],[591,6]]},"1157":{"position":[[179,6]]}},"keywords":{}}],["thread",{"_index":2254,"title":{"642":{"position":[[30,7]]},"1211":{"position":[[23,6]]}},"content":{"392":{"position":[[3475,7],[3691,6],[3799,7]]},"408":{"position":[[3911,7]]},"427":{"position":[[311,7]]},"454":{"position":[[895,6]]},"460":{"position":[[105,7],[649,6],[889,6],[953,7],[1219,7],[1387,6]]},"463":{"position":[[691,6],[936,6]]},"464":{"position":[[339,6]]},"465":{"position":[[200,6]]},"466":{"position":[[165,6]]},"467":{"position":[[136,6],[373,6]]},"470":{"position":[[398,6]]},"559":{"position":[[1136,6]]},"642":{"position":[[176,7]]},"721":{"position":[[216,6],[408,7]]},"801":{"position":[[203,7],[424,7],[452,6],[832,9],[980,7]]},"1068":{"position":[[438,7]]},"1089":{"position":[[82,6],[118,6]]},"1157":{"position":[[263,7]]},"1207":{"position":[[398,7],[557,7]]},"1211":{"position":[[156,7],[246,7],[420,6]]},"1213":{"position":[[181,7],[314,6]]},"1230":{"position":[[377,7]]},"1231":{"position":[[327,6],[397,6]]},"1239":{"position":[[230,6],[415,6]]},"1246":{"position":[[147,6]]},"1276":{"position":[[297,6]]}},"keywords":{}}],["thread.j",{"_index":6266,"title":{},"content":{"1226":{"position":[[385,9]]},"1264":{"position":[[295,9]]}},"keywords":{}}],["thread.sqlit",{"_index":3088,"title":{},"content":{"468":{"position":[[424,13]]}},"keywords":{}}],["threador",{"_index":2963,"title":{},"content":{"453":{"position":[[318,8]]}},"keywords":{}}],["three",{"_index":3785,"title":{},"content":{"661":{"position":[[249,5]]},"780":{"position":[[474,5]]},"871":{"position":[[26,5]]},"981":{"position":[[293,5]]}},"keywords":{}}],["threw",{"_index":4340,"title":{},"content":{"749":{"position":[[15501,5],[15635,5],[15767,5]]}},"keywords":{}}],["thrive",{"_index":1681,"title":{},"content":{"289":{"position":[[1501,6]]},"353":{"position":[[245,6]]}},"keywords":{}}],["throttl",{"_index":1146,"title":{},"content":{"146":{"position":[[105,11]]},"462":{"position":[[538,8]]}},"keywords":{}}],["through",{"_index":660,"title":{},"content":{"42":{"position":[[219,7]]},"81":{"position":[[36,7]]},"174":{"position":[[230,7]]},"205":{"position":[[292,7]]},"210":{"position":[[88,7]]},"283":{"position":[[326,7]]},"298":{"position":[[99,7]]},"381":{"position":[[249,7]]},"391":{"position":[[810,7]]},"398":{"position":[[105,7]]},"408":{"position":[[3931,7],[4511,7]]},"411":{"position":[[2409,7]]},"412":{"position":[[9939,7]]},"426":{"position":[[111,7]]},"432":{"position":[[604,7]]},"498":{"position":[[172,7]]},"504":{"position":[[30,7]]},"614":{"position":[[412,7]]},"617":{"position":[[1310,7]]},"662":{"position":[[864,7]]},"703":{"position":[[744,7]]},"709":{"position":[[707,7],[1171,7]]},"723":{"position":[[853,7]]},"836":{"position":[[1599,7]]},"849":{"position":[[43,7]]},"901":{"position":[[345,7]]},"1088":{"position":[[698,7]]},"1150":{"position":[[268,7]]},"1316":{"position":[[3840,7]]}},"keywords":{}}],["throughout",{"_index":1144,"title":{},"content":{"145":{"position":[[285,10]]},"367":{"position":[[383,10]]},"632":{"position":[[2782,11]]}},"keywords":{}}],["throughput",{"_index":1608,"title":{"622":{"position":[[0,11]]}},"content":{"265":{"position":[[918,10]]},"408":{"position":[[2231,10],[3138,10]]},"620":{"position":[[156,11],[769,10]]},"622":{"position":[[29,10],[78,10],[340,10],[438,10],[592,10]]},"641":{"position":[[189,10],[306,10]]}},"keywords":{}}],["throw",{"_index":1796,"title":{"1031":{"position":[[27,6]]}},"content":{"302":{"position":[[95,5]]},"556":{"position":[[482,5]]},"719":{"position":[[160,5]]},"761":{"position":[[272,5]]},"767":{"position":[[687,5]]},"768":{"position":[[697,5]]},"769":{"position":[[658,5]]},"911":{"position":[[104,5]]},"944":{"position":[[532,5]]},"948":{"position":[[506,6]]},"966":{"position":[[193,5],[780,5]]},"1014":{"position":[[58,6]]},"1031":{"position":[[30,6],[209,7]]},"1057":{"position":[[514,5]]},"1067":{"position":[[1144,5],[1374,5]]},"1084":{"position":[[459,5]]},"1085":{"position":[[3218,6]]},"1109":{"position":[[310,5]]},"1305":{"position":[[1091,5]]},"1307":{"position":[[457,5]]}},"keywords":{}}],["throwifmiss",{"_index":4162,"title":{},"content":{"749":{"position":[[2098,14],[2222,15]]}},"keywords":{}}],["thrown",{"_index":5489,"title":{},"content":{"990":{"position":[[952,6]]},"1207":{"position":[[758,6]]}},"keywords":{}}],["thu",{"_index":1581,"title":{},"content":{"255":{"position":[[1788,4]]},"521":{"position":[[576,5]]}},"keywords":{}}],["thunder",{"_index":796,"title":{},"content":{"52":{"position":[[238,8]]},"539":{"position":[[238,8]]},"599":{"position":[[256,8]]}},"keywords":{}}],["ti",{"_index":1303,"title":{},"content":{"202":{"position":[[34,4]]},"207":{"position":[[369,4]]},"902":{"position":[[433,4]]}},"keywords":{}}],["ticker",{"_index":3678,"title":{},"content":{"624":{"position":[[575,8]]},"626":{"position":[[281,7]]}},"keywords":{}}],["tier",{"_index":4937,"title":{},"content":{"871":{"position":[[32,4]]}},"keywords":{}}],["tight",{"_index":575,"title":{},"content":{"36":{"position":[[410,5]]},"1009":{"position":[[824,5]]}},"keywords":{}}],["tighter",{"_index":1725,"title":{},"content":{"298":{"position":[[683,7]]}},"keywords":{}}],["tightli",{"_index":2660,"title":{},"content":{"412":{"position":[[917,7]]},"839":{"position":[[420,7],[976,7]]}},"keywords":{}}],["time",{"_index":301,"title":{"70":{"position":[[15,4]]},"90":{"position":[[14,4]]},"93":{"position":[[33,5]]},"101":{"position":[[15,4]]},"136":{"position":[[5,4]]},"174":{"position":[[42,4]]},"217":{"position":[[36,5]]},"227":{"position":[[15,4]]},"264":{"position":[[50,4]]},"305":{"position":[[11,4]]},"312":{"position":[[8,4]]},"379":{"position":[[5,4]]},"463":{"position":[[15,5]]},"476":{"position":[[8,4]]},"490":{"position":[[5,4]]},"570":{"position":[[5,4]]},"632":{"position":[[5,4]]},"647":{"position":[[4,4]]},"869":{"position":[[43,5]]},"895":{"position":[[44,5]]}},"content":{"17":{"position":[[550,5]]},"23":{"position":[[327,5]]},"34":{"position":[[410,4]]},"35":{"position":[[391,4]]},"39":{"position":[[32,4],[506,4]]},"40":{"position":[[91,4],[492,4]]},"42":{"position":[[83,4]]},"53":{"position":[[122,4]]},"65":{"position":[[754,4],[782,4],[1299,5],[1388,4]]},"68":{"position":[[137,4]]},"69":{"position":[[102,4]]},"77":{"position":[[97,4]]},"83":{"position":[[111,4]]},"89":{"position":[[254,4]]},"90":{"position":[[46,4],[244,4]]},"93":{"position":[[67,5]]},"99":{"position":[[234,4]]},"101":{"position":[[20,4]]},"103":{"position":[[201,4]]},"109":{"position":[[250,4]]},"114":{"position":[[550,4]]},"121":{"position":[[126,4]]},"124":{"position":[[297,5]]},"126":{"position":[[313,4]]},"136":{"position":[[20,4],[167,5],[278,4]]},"140":{"position":[[288,4]]},"148":{"position":[[332,4]]},"151":{"position":[[182,4]]},"155":{"position":[[263,4]]},"156":{"position":[[316,4]]},"158":{"position":[[158,5]]},"162":{"position":[[507,4]]},"165":{"position":[[149,4]]},"168":{"position":[[112,5],[308,4]]},"170":{"position":[[300,4]]},"173":{"position":[[166,4],[375,4],[857,4],[941,4],[1074,4],[1643,5],[1809,4]]},"174":{"position":[[96,4],[406,4],[1974,4]]},"175":{"position":[[563,4]]},"179":{"position":[[413,4]]},"184":{"position":[[275,4]]},"185":{"position":[[285,4]]},"192":{"position":[[355,4]]},"198":{"position":[[119,4]]},"203":{"position":[[384,5]]},"205":{"position":[[274,4]]},"208":{"position":[[329,4]]},"217":{"position":[[70,4]]},"220":{"position":[[214,6],[288,4]]},"227":{"position":[[97,6],[323,6]]},"244":{"position":[[259,4]]},"252":{"position":[[349,5]]},"255":{"position":[[202,5],[1860,4]]},"263":{"position":[[506,4]]},"265":{"position":[[327,4],[897,4]]},"266":{"position":[[1060,6]]},"267":{"position":[[58,4],[137,4],[191,4],[293,4],[416,5],[575,4],[746,4],[846,4],[935,4],[1046,5],[1214,4],[1447,4],[1535,4]]},"275":{"position":[[158,4]]},"281":{"position":[[424,4]]},"282":{"position":[[400,4]]},"283":{"position":[[280,6],[313,4]]},"289":{"position":[[1263,4]]},"301":{"position":[[268,4]]},"305":{"position":[[291,5]]},"312":{"position":[[212,4]]},"316":{"position":[[376,5]]},"318":{"position":[[672,4]]},"321":{"position":[[541,4]]},"322":{"position":[[219,5]]},"323":{"position":[[41,4]]},"325":{"position":[[225,4]]},"328":{"position":[[20,4]]},"330":{"position":[[156,4]]},"335":{"position":[[845,4]]},"340":{"position":[[100,4]]},"342":{"position":[[130,6]]},"352":{"position":[[135,4]]},"353":{"position":[[698,4]]},"367":{"position":[[1025,5]]},"368":{"position":[[365,4]]},"375":{"position":[[373,4]]},"378":{"position":[[166,4]]},"385":{"position":[[136,6]]},"388":{"position":[[454,4]]},"392":{"position":[[5141,4]]},"394":{"position":[[1482,4]]},"400":{"position":[[14,4],[570,4]]},"401":{"position":[[24,4],[141,4],[788,4]]},"408":{"position":[[2591,4]]},"410":{"position":[[427,4],[1624,4]]},"411":{"position":[[1662,4],[2826,5],[3379,5],[3879,4],[4818,5]]},"412":{"position":[[4938,4],[5742,6],[6489,4],[8046,4],[11391,4]]},"418":{"position":[[306,4]]},"419":{"position":[[592,5],[1111,4]]},"420":{"position":[[388,5],[1346,4]]},"421":{"position":[[143,5],[245,4],[444,4]]},"434":{"position":[[184,5]]},"435":{"position":[[275,5]]},"445":{"position":[[306,4],[795,4],[855,4],[1140,4],[2396,4]]},"446":{"position":[[432,4],[483,4],[603,4],[755,5],[1415,4]]},"447":{"position":[[141,4]]},"450":{"position":[[223,4]]},"457":{"position":[[671,5]]},"458":{"position":[[162,5]]},"462":{"position":[[130,6]]},"463":{"position":[[206,4],[552,4],[648,4]]},"464":{"position":[[261,4],[572,5]]},"465":{"position":[[122,4]]},"466":{"position":[[88,4]]},"467":{"position":[[60,4]]},"468":{"position":[[649,5],[725,6]]},"469":{"position":[[784,4],[1029,4]]},"476":{"position":[[105,4],[210,4]]},"480":{"position":[[709,4]]},"483":{"position":[[140,4],[339,4]]},"489":{"position":[[763,5]]},"490":{"position":[[698,4]]},"491":{"position":[[263,5],[828,4],[1531,4]]},"497":{"position":[[18,4]]},"498":{"position":[[316,4]]},"500":{"position":[[547,6]]},"501":{"position":[[189,4]]},"502":{"position":[[115,4],[796,5],[1030,4]]},"504":{"position":[[1140,4]]},"509":{"position":[[80,5]]},"517":{"position":[[195,4]]},"518":{"position":[[497,4]]},"529":{"position":[[140,4]]},"530":{"position":[[412,4]]},"540":{"position":[[69,4]]},"566":{"position":[[404,4]]},"567":{"position":[[116,4]]},"569":{"position":[[91,4],[118,4],[200,5],[413,4],[469,4],[519,4],[646,4],[924,4],[1405,4],[1477,6]]},"571":{"position":[[1068,4],[1844,5]]},"574":{"position":[[275,4]]},"575":{"position":[[234,4]]},"582":{"position":[[256,4]]},"585":{"position":[[127,4]]},"589":{"position":[[122,5]]},"595":{"position":[[855,5]]},"600":{"position":[[69,4]]},"610":{"position":[[829,4]]},"611":{"position":[[258,4]]},"612":{"position":[[326,4],[577,4],[1664,7],[2264,5]]},"613":{"position":[[450,4]]},"614":{"position":[[18,4],[99,4]]},"617":{"position":[[868,5]]},"620":{"position":[[341,5]]},"621":{"position":[[129,4],[504,4]]},"626":{"position":[[238,4]]},"631":{"position":[[79,4]]},"636":{"position":[[6,5]]},"647":{"position":[[71,6],[194,4]]},"653":{"position":[[362,4]]},"654":{"position":[[270,5]]},"656":{"position":[[454,6]]},"660":{"position":[[214,4]]},"670":{"position":[[213,4]]},"679":{"position":[[190,5]]},"681":{"position":[[488,4]]},"691":{"position":[[87,5]]},"698":{"position":[[1088,4]]},"699":{"position":[[606,6],[998,4]]},"700":{"position":[[516,4]]},"702":{"position":[[742,5]]},"709":{"position":[[249,5]]},"723":{"position":[[990,4],[1073,4],[1173,5],[1574,5]]},"736":{"position":[[402,5]]},"739":{"position":[[712,5]]},"740":{"position":[[187,5]]},"746":{"position":[[499,7],[549,6]]},"749":{"position":[[21250,5]]},"752":{"position":[[227,5]]},"759":{"position":[[1070,4]]},"772":{"position":[[109,4]]},"776":{"position":[[380,4]]},"778":{"position":[[434,4]]},"780":{"position":[[85,4]]},"781":{"position":[[158,4]]},"783":{"position":[[48,5],[137,4],[444,4],[511,5],[596,4]]},"785":{"position":[[87,5]]},"796":{"position":[[401,4],[455,5],[481,5],[531,5],[1117,4]]},"799":{"position":[[256,4]]},"800":{"position":[[540,4],[709,4]]},"802":{"position":[[539,4],[794,5],[893,4]]},"806":{"position":[[329,4]]},"816":{"position":[[434,4]]},"820":{"position":[[401,4]]},"821":{"position":[[17,4],[101,5],[192,5],[223,4],[975,4]]},"826":{"position":[[581,4],[789,4],[887,4]]},"836":{"position":[[1474,4],[2308,4]]},"837":{"position":[[392,4],[537,5]]},"838":{"position":[[446,4]]},"839":{"position":[[213,5]]},"841":{"position":[[663,4],[975,4],[1536,4]]},"846":{"position":[[369,4],[887,4]]},"848":{"position":[[926,5]]},"854":{"position":[[1036,4],[1429,4]]},"860":{"position":[[145,4],[563,4],[595,4]]},"898":{"position":[[559,5],[1174,4]]},"901":{"position":[[28,4]]},"902":{"position":[[125,5]]},"903":{"position":[[21,4]]},"904":{"position":[[1069,5]]},"905":{"position":[[70,4]]},"906":{"position":[[391,5]]},"921":{"position":[[93,4]]},"944":{"position":[[118,6]]},"958":{"position":[[241,4],[449,4]]},"964":{"position":[[549,4]]},"975":{"position":[[482,4]]},"981":{"position":[[1648,5]]},"985":{"position":[[596,4]]},"986":{"position":[[113,4],[190,5]]},"987":{"position":[[76,4],[890,5]]},"988":{"position":[[866,4],[951,4],[3304,5],[4633,5]]},"990":{"position":[[105,5]]},"994":{"position":[[151,5]]},"995":{"position":[[1239,4],[1475,4],[1552,5],[1741,5]]},"996":{"position":[[481,4]]},"1002":{"position":[[67,4]]},"1008":{"position":[[159,4]]},"1010":{"position":[[151,5]]},"1030":{"position":[[46,5]]},"1039":{"position":[[115,4]]},"1069":{"position":[[114,5]]},"1085":{"position":[[247,4],[590,4],[906,5],[2580,5]]},"1087":{"position":[[205,4]]},"1114":{"position":[[351,5]]},"1115":{"position":[[631,5]]},"1119":{"position":[[100,4]]},"1124":{"position":[[1453,4]]},"1132":{"position":[[951,4]]},"1135":{"position":[[143,5]]},"1138":{"position":[[470,4]]},"1150":{"position":[[150,5]]},"1161":{"position":[[225,4]]},"1162":{"position":[[600,4]]},"1170":{"position":[[98,4],[253,4]]},"1171":{"position":[[222,4],[334,4]]},"1180":{"position":[[225,4]]},"1181":{"position":[[688,4]]},"1188":{"position":[[428,5]]},"1194":{"position":[[43,4],[125,4],[210,4]]},"1198":{"position":[[658,5],[2015,5]]},"1209":{"position":[[204,5]]},"1238":{"position":[[436,5]]},"1246":{"position":[[1819,5]]},"1251":{"position":[[342,4],[362,5]]},"1292":{"position":[[288,4],[642,4]]},"1295":{"position":[[1020,4]]},"1299":{"position":[[267,4]]},"1300":{"position":[[91,5],[546,5],[695,4],[946,4]]},"1301":{"position":[[138,5],[1407,4],[1554,5]]},"1304":{"position":[[1192,5]]},"1305":{"position":[[114,5]]},"1309":{"position":[[213,5],[277,4],[862,4]]},"1313":{"position":[[822,4]]},"1316":{"position":[[659,4],[1054,4],[2704,4],[2815,4],[3188,4]]},"1319":{"position":[[717,4]]},"1320":{"position":[[923,4]]},"1322":{"position":[[135,4]]},"1324":{"position":[[348,5]]}},"keywords":{}}],["time"",{"_index":5889,"title":{},"content":{"1085":{"position":[[459,10]]}},"keywords":{}}],["time)flex",{"_index":3117,"title":{},"content":{"479":{"position":[[187,13]]}},"keywords":{}}],["time.cli",{"_index":6541,"title":{},"content":{"1316":{"position":[[498,12]]}},"keywords":{}}],["time.th",{"_index":6543,"title":{},"content":{"1316":{"position":[[604,8]]}},"keywords":{}}],["time.to",{"_index":3836,"title":{},"content":{"668":{"position":[[329,7]]}},"keywords":{}}],["timeout",{"_index":456,"title":{},"content":{"28":{"position":[[313,7]]},"610":{"position":[[1216,7]]},"975":{"position":[[436,7],[590,7]]}},"keywords":{}}],["times.dur",{"_index":6561,"title":{},"content":{"1316":{"position":[[2943,12]]}},"keywords":{}}],["times.lack",{"_index":2885,"title":{},"content":{"427":{"position":[[860,10]]}},"keywords":{}}],["times.offlin",{"_index":3693,"title":{},"content":{"630":{"position":[[636,13]]}},"keywords":{}}],["timespan",{"_index":5347,"title":{},"content":{"948":{"position":[[76,9]]},"1194":{"position":[[250,8]]}},"keywords":{}}],["timestamp",{"_index":1889,"title":{},"content":{"314":{"position":[[848,10]]},"367":{"position":[[982,10],[1069,12]]},"495":{"position":[[617,9]]},"496":{"position":[[239,10]]},"639":{"position":[[510,10]]},"688":{"position":[[609,11]]},"854":{"position":[[1218,9]]},"875":{"position":[[1650,9]]},"898":{"position":[[311,9],[1159,9],[1239,9]]},"986":{"position":[[887,9]]},"988":{"position":[[2216,9]]},"990":{"position":[[532,10]]},"991":{"position":[[143,9]]},"1048":{"position":[[174,10],[233,9]]},"1085":{"position":[[3700,9]]},"1104":{"position":[[540,9]]},"1284":{"position":[[302,11]]},"1316":{"position":[[1830,9],[2077,10],[2213,9],[2297,10]]}},"keywords":{}}],["timeui",{"_index":1968,"title":{},"content":{"344":{"position":[[112,6]]}},"keywords":{}}],["tini",{"_index":2526,"title":{},"content":{"408":{"position":[[358,4]]}},"keywords":{}}],["tip",{"_index":1875,"title":{"794":{"position":[[12,4]]}},"content":{"306":{"position":[[298,4]]},"793":{"position":[[1316,4]]}},"keywords":{}}],["titl",{"_index":767,"title":{},"content":{"51":{"position":[[276,6]]},"209":{"position":[[403,6],[525,6]]},"211":{"position":[[364,6]]},"255":{"position":[[747,6],[869,6]]},"259":{"position":[[46,6]]},"314":{"position":[[712,6]]},"315":{"position":[[687,6]]},"316":{"position":[[154,6]]},"334":{"position":[[599,6]]},"480":{"position":[[512,6],[619,6]]},"482":{"position":[[805,6]]},"538":{"position":[[577,6]]},"554":{"position":[[1297,6]]},"562":{"position":[[285,6]]},"564":{"position":[[740,6]]},"579":{"position":[[607,6]]},"598":{"position":[[584,6]]},"632":{"position":[[1497,6],[1619,6]]},"638":{"position":[[578,6]]},"639":{"position":[[338,6]]},"808":{"position":[[137,6]]},"862":{"position":[[631,6]]},"904":{"position":[[836,6],[958,6],[1097,8],[1190,6]]},"1078":{"position":[[211,6]]},"1080":{"position":[[41,6]]},"1158":{"position":[[336,6],[443,6],[516,8],[601,6]]},"1311":{"position":[[294,6]]}},"keywords":{}}],["today",{"_index":2532,"title":{},"content":{"408":{"position":[[850,6],[4619,6]]},"498":{"position":[[685,5]]},"702":{"position":[[879,5]]},"783":{"position":[[191,5]]}},"keywords":{}}],["today'",{"_index":1624,"title":{},"content":{"267":{"position":[[1666,7]]},"289":{"position":[[1511,7]]},"410":{"position":[[1478,7]]}},"keywords":{}}],["todo",{"_index":3987,"title":{},"content":{"709":{"position":[[309,4]]},"825":{"position":[[712,5]]},"904":{"position":[[93,4],[118,4],[817,6],[843,5],[1180,5]]}},"keywords":{}}],["todoslistcompon",{"_index":4730,"title":{},"content":{"825":{"position":[[901,18]]}},"keywords":{}}],["todossign",{"_index":4732,"title":{},"content":{"825":{"position":[[1001,11]]}},"keywords":{}}],["todossignal();"",{"_index":4728,"title":{},"content":{"825":{"position":[[820,20]]}},"keywords":{}}],["togeth",{"_index":368,"title":{},"content":{"22":{"position":[[123,8]]},"188":{"position":[[302,8]]},"404":{"position":[[634,8],[869,8]]},"661":{"position":[[1430,8]]},"668":{"position":[[94,8]]},"685":{"position":[[248,8]]},"701":{"position":[[783,8]]},"711":{"position":[[1927,8]]},"754":{"position":[[30,8]]},"761":{"position":[[124,8]]},"772":{"position":[[1907,8]]},"829":{"position":[[3198,8]]},"1058":{"position":[[108,8]]},"1130":{"position":[[342,8]]},"1238":{"position":[[167,8]]},"1243":{"position":[[104,8]]},"1270":{"position":[[516,8]]},"1305":{"position":[[498,8]]}},"keywords":{}}],["toggl",{"_index":5513,"title":{},"content":{"995":{"position":[[1791,6]]}},"keywords":{}}],["toggleondocumentvis",{"_index":5543,"title":{"1003":{"position":[[0,24]]}},"content":{"1003":{"position":[[409,24]]}},"keywords":{}}],["tojson",{"_index":5614,"title":{"1051":{"position":[[0,9]]}},"content":{"1018":{"position":[[713,8]]},"1052":{"position":[[9,8]]},"1085":{"position":[[1974,8]]}},"keywords":{}}],["token",{"_index":3339,"title":{},"content":{"551":{"position":[[255,6]]},"639":{"position":[[159,7]]},"848":{"position":[[54,5],[446,5],[907,5]]},"1104":{"position":[[739,5]]},"1305":{"position":[[702,6]]}},"keywords":{}}],["token?"",{"_index":1539,"title":{},"content":{"245":{"position":[[164,12]]}},"keywords":{}}],["tokyo",{"_index":6530,"title":{},"content":{"1315":{"position":[[328,6],[416,7]]}},"keywords":{}}],["toler",{"_index":2709,"title":{},"content":{"412":{"position":[[6347,8]]},"421":{"position":[[914,8]]},"569":{"position":[[486,8]]},"1247":{"position":[[707,8]]}},"keywords":{}}],["tomutablejson",{"_index":5720,"title":{"1052":{"position":[[0,16]]}},"content":{"1051":{"position":[[132,15]]}},"keywords":{}}],["took",{"_index":2965,"title":{},"content":{"453":{"position":[[856,4]]}},"keywords":{}}],["tool",{"_index":304,"title":{},"content":{"18":{"position":[[34,5]]},"22":{"position":[[112,5]]},"37":{"position":[[134,5]]},"38":{"position":[[181,6]]},"65":{"position":[[1990,5]]},"116":{"position":[[228,5]]},"143":{"position":[[36,4]]},"151":{"position":[[349,5]]},"159":{"position":[[71,5]]},"177":{"position":[[254,5]]},"232":{"position":[[213,8]]},"254":{"position":[[201,4]]},"267":{"position":[[921,4]]},"286":{"position":[[235,5]]},"301":{"position":[[439,5],[681,5]]},"346":{"position":[[667,5]]},"362":{"position":[[726,5]]},"364":{"position":[[369,5]]},"375":{"position":[[504,5],[634,5]]},"380":{"position":[[356,6]]},"382":{"position":[[309,5]]},"408":{"position":[[4277,8],[4383,7]]},"411":{"position":[[2587,6]]},"412":{"position":[[1831,5],[2754,5],[2912,5],[13240,7],[14471,5],[14808,5],[15217,5]]},"418":{"position":[[151,5]]},"419":{"position":[[111,5],[1036,5]]},"420":{"position":[[227,5],[511,6],[922,7],[1406,5]]},"441":{"position":[[75,4]]},"445":{"position":[[1878,5]]},"446":{"position":[[556,6],[981,5]]},"494":{"position":[[63,6]]},"510":{"position":[[512,4]]},"548":{"position":[[450,4]]},"576":{"position":[[151,5]]},"608":{"position":[[448,4]]},"613":{"position":[[376,4]]},"696":{"position":[[555,4]]},"821":{"position":[[22,5]]},"836":{"position":[[1988,5]]},"1102":{"position":[[94,5],[270,6]]},"1216":{"position":[[92,4]]},"1251":{"position":[[59,7]]},"1282":{"position":[[977,5]]}},"keywords":{}}],["toolkit",{"_index":1153,"title":{},"content":{"148":{"position":[[507,8]]},"318":{"position":[[575,7]]},"388":{"position":[[304,7]]}},"keywords":{}}],["top",{"_index":234,"title":{"1122":{"position":[[17,3]]},"1131":{"position":[[17,3]]},"1299":{"position":[[13,3]]}},"content":{"14":{"position":[[1007,3]]},"29":{"position":[[255,3]]},"120":{"position":[[100,3]]},"131":{"position":[[407,3]]},"155":{"position":[[143,3]]},"161":{"position":[[164,3]]},"162":{"position":[[186,3]]},"181":{"position":[[41,3]]},"318":{"position":[[492,3]]},"322":{"position":[[48,3]]},"353":{"position":[[459,3]]},"387":{"position":[[62,3]]},"394":{"position":[[1293,4]]},"412":{"position":[[1904,3],[2708,3]]},"433":{"position":[[516,3]]},"445":{"position":[[115,3]]},"459":{"position":[[336,3]]},"507":{"position":[[31,3]]},"513":{"position":[[135,3]]},"524":{"position":[[244,3]]},"548":{"position":[[176,3]]},"555":{"position":[[361,3],[598,3]]},"608":{"position":[[176,3]]},"611":{"position":[[1307,3]]},"613":{"position":[[1041,3]]},"625":{"position":[[102,3]]},"703":{"position":[[541,3]]},"705":{"position":[[1153,3],[1356,3]]},"724":{"position":[[375,3]]},"742":{"position":[[77,3]]},"749":{"position":[[2479,3],[17347,3],[17463,3],[18332,3],[21813,3]]},"772":{"position":[[365,3]]},"776":{"position":[[397,3]]},"872":{"position":[[3013,3]]},"875":{"position":[[189,3]]},"898":{"position":[[1753,3]]},"962":{"position":[[15,3]]},"1020":{"position":[[26,3]]},"1084":{"position":[[584,3]]},"1085":{"position":[[858,3],[965,3],[1677,3],[1746,3],[1787,3],[1997,3],[2030,3],[2226,3],[2418,3]]},"1090":{"position":[[286,3]]},"1095":{"position":[[180,3]]},"1100":{"position":[[4,3]]},"1108":{"position":[[603,3]]},"1114":{"position":[[34,3]]},"1117":{"position":[[238,3]]},"1123":{"position":[[674,3],[768,3]]},"1124":{"position":[[534,3],[997,3]]},"1125":{"position":[[770,3]]},"1132":{"position":[[15,3]]},"1165":{"position":[[170,3]]},"1237":{"position":[[289,3]]},"1316":{"position":[[1780,3]]},"1320":{"position":[[643,3],[707,3],[731,3],[766,3]]}},"keywords":{}}],["topic",{"_index":1365,"title":{},"content":{"210":{"position":[[310,6],[322,5],[662,5]]},"261":{"position":[[383,6],[430,5],[1070,5]]},"390":{"position":[[723,6]]},"422":{"position":[[20,5]]},"461":{"position":[[1480,6]]},"567":{"position":[[55,6]]},"904":{"position":[[1543,5],[1908,5],[1963,5],[2049,5],[2099,5],[2250,6]]},"1121":{"position":[[653,6]]},"1324":{"position":[[1085,5]]}},"keywords":{}}],["topic.inc&switch",{"_index":2863,"title":{},"content":{"422":{"position":[[249,21]]}},"keywords":{}}],["tosign",{"_index":830,"title":{},"content":{"55":{"position":[[166,9],[304,8]]},"1118":{"position":[[424,8]]}},"keywords":{}}],["tosignal(ob",{"_index":6004,"title":{},"content":{"1118":{"position":[[584,13]]}},"keywords":{}}],["tosignal(observ",{"_index":841,"title":{},"content":{"55":{"position":[[537,21]]}},"keywords":{}}],["total",{"_index":1710,"title":{},"content":{"298":{"position":[[237,5]]},"300":{"position":[[178,5],[350,5]]},"411":{"position":[[328,5]]},"461":{"position":[[1194,5]]},"696":{"position":[[1335,5],[1986,5]]},"711":{"position":[[2380,7]]},"752":{"position":[[1179,6]]}},"keywords":{}}],["totalspac",{"_index":1772,"title":{},"content":{"300":{"position":[[273,10],[375,12]]}},"keywords":{}}],["touch",{"_index":2129,"title":{},"content":{"369":{"position":[[1459,8]]},"698":{"position":[[2364,8]]}},"keywords":{}}],["toward",{"_index":5277,"title":{},"content":{"912":{"position":[[104,7]]}},"keywords":{}}],["trace",{"_index":3900,"title":{},"content":{"689":{"position":[[393,5]]}},"keywords":{}}],["track",{"_index":972,"title":{"676":{"position":[[12,8]]}},"content":{"75":{"position":[[104,8]]},"106":{"position":[[113,8]]},"129":{"position":[[368,6]]},"174":{"position":[[1088,8]]},"235":{"position":[[66,5]]},"250":{"position":[[249,5]]},"301":{"position":[[311,5]]},"412":{"position":[[2088,8]]},"450":{"position":[[163,9]]},"496":{"position":[[253,5]]},"635":{"position":[[115,6]]},"676":{"position":[[74,8],[118,5]]},"975":{"position":[[110,6]]},"1304":{"position":[[504,5]]}},"keywords":{}}],["traction",{"_index":2522,"title":{"408":{"position":[[27,9]]}},"content":{},"keywords":{}}],["trade",{"_index":2421,"title":{},"content":{"398":{"position":[[3133,5]]},"401":{"position":[[821,5]]},"412":{"position":[[110,5],[3955,5]]},"611":{"position":[[331,7]]},"689":{"position":[[81,5]]},"699":{"position":[[662,7]]},"1162":{"position":[[1148,5]]},"1324":{"position":[[790,5]]}},"keywords":{}}],["tradeoff",{"_index":2389,"title":{"1248":{"position":[[5,9]]}},"content":{"398":{"position":[[195,9]]},"962":{"position":[[267,9]]},"1067":{"position":[[1057,8]]}},"keywords":{}}],["tradit",{"_index":991,"title":{"355":{"position":[[16,11]]},"413":{"position":[[16,11]]}},"content":{"83":{"position":[[286,11]]},"96":{"position":[[81,11]]},"126":{"position":[[203,11]]},"173":{"position":[[284,11]]},"210":{"position":[[729,11]]},"219":{"position":[[46,11]]},"224":{"position":[[59,11]]},"239":{"position":[[196,11]]},"265":{"position":[[255,11],[592,11],[618,11]]},"276":{"position":[[123,11]]},"278":{"position":[[137,11]]},"281":{"position":[[351,11]]},"290":{"position":[[112,11]]},"351":{"position":[[1,11]]},"390":{"position":[[302,11]]},"395":{"position":[[149,11]]},"410":{"position":[[2244,11]]},"411":{"position":[[1062,11]]},"420":{"position":[[499,11],[599,11]]},"477":{"position":[[6,11]]},"515":{"position":[[76,11]]},"520":{"position":[[164,11]]},"567":{"position":[[1009,11]]},"576":{"position":[[13,11]]},"602":{"position":[[193,11]]},"610":{"position":[[211,11]]},"611":{"position":[[402,11]]},"624":{"position":[[243,11]]},"630":{"position":[[6,11]]}},"keywords":{}}],["tradition",{"_index":5249,"title":{},"content":{"903":{"position":[[1,14]]}},"keywords":{}}],["traffic",{"_index":3109,"title":{},"content":{"477":{"position":[[112,7]]},"610":{"position":[[710,7]]},"627":{"position":[[136,7]]},"902":{"position":[[917,7]]}},"keywords":{}}],["train",{"_index":2196,"title":{},"content":{"390":{"position":[[1042,5]]},"391":{"position":[[824,7]]}},"keywords":{}}],["trait",{"_index":1929,"title":{},"content":{"327":{"position":[[30,6]]}},"keywords":{}}],["transact",{"_index":501,"title":{"1258":{"position":[[7,13]]},"1298":{"position":[[9,11]]},"1303":{"position":[[0,13]]},"1304":{"position":[[23,13]]},"1313":{"position":[[0,12]]},"1314":{"position":[[0,12]]}},"content":{"31":{"position":[[302,12]]},"33":{"position":[[146,12]]},"45":{"position":[[219,12]]},"353":{"position":[[125,11]]},"354":{"position":[[1196,11],[1262,11]]},"358":{"position":[[976,13]]},"376":{"position":[[392,11]]},"412":{"position":[[13607,12]]},"459":{"position":[[623,11]]},"497":{"position":[[291,12],[410,12]]},"506":{"position":[[208,13]]},"533":{"position":[[111,13]]},"593":{"position":[[111,13]]},"700":{"position":[[984,12]]},"703":{"position":[[990,12],[1359,12]]},"705":{"position":[[1072,11]]},"793":{"position":[[909,12]]},"802":{"position":[[754,12]]},"863":{"position":[[494,12]]},"875":{"position":[[5670,13],[5753,11]]},"1044":{"position":[[145,13]]},"1072":{"position":[[1313,13]]},"1093":{"position":[[542,12]]},"1258":{"position":[[119,13]]},"1297":{"position":[[87,12],[115,11],[234,11],[535,12],[577,11]]},"1298":{"position":[[28,12],[150,12]]},"1299":{"position":[[12,11],[361,12]]},"1304":{"position":[[20,13],[47,12],[156,11],[307,11],[333,11],[446,12],[528,12],[565,12],[678,11],[807,11],[928,11],[1214,12],[1673,13]]},"1305":{"position":[[17,12]]},"1313":{"position":[[21,12],[148,12],[329,11],[703,11],[785,11]]},"1314":{"position":[[196,12],[267,11]]},"1315":{"position":[[1192,12]]},"1316":{"position":[[3751,12],[3783,12]]},"1324":{"position":[[862,13],[984,12]]}},"keywords":{}}],["transaction.commit",{"_index":6464,"title":{},"content":{"1298":{"position":[[295,20],[318,20]]}},"keywords":{}}],["transaction.objectstore('product",{"_index":2997,"title":{},"content":{"459":{"position":[[697,36]]}},"keywords":{}}],["transaction.y",{"_index":6575,"title":{},"content":{"1323":{"position":[[66,15],[144,15]]}},"keywords":{}}],["transaction_set",{"_index":6429,"title":{},"content":{"1294":{"position":[[868,22]]}},"keywords":{}}],["transfer",{"_index":579,"title":{"983":{"position":[[23,8]]}},"content":{"37":{"position":[[40,8]]},"236":{"position":[[268,8]]},"283":{"position":[[251,8]]},"408":{"position":[[2264,8],[2920,12],[3076,11],[3384,8]]},"411":{"position":[[66,8]]},"412":{"position":[[6194,8],[6279,8]]},"611":{"position":[[268,8]]},"613":{"position":[[185,8]]},"700":{"position":[[797,8]]},"780":{"position":[[393,8]]},"782":{"position":[[366,11]]},"981":{"position":[[890,8]]},"983":{"position":[[26,12]]},"1213":{"position":[[132,12]]},"1214":{"position":[[390,8]]}},"keywords":{}}],["transform",{"_index":1183,"title":{"887":{"position":[[0,12]]}},"content":{"162":{"position":[[388,14]]},"212":{"position":[[304,15]]},"252":{"position":[[251,15]]},"303":{"position":[[480,9]]},"350":{"position":[[344,15]]},"360":{"position":[[145,15]]},"361":{"position":[[488,9]]},"390":{"position":[[969,11],[1112,11]]},"391":{"position":[[350,10]]},"392":{"position":[[846,11]]},"401":{"position":[[110,12]]},"408":{"position":[[5390,15]]},"451":{"position":[[461,12]]},"457":{"position":[[489,9]]},"459":{"position":[[1135,9]]},"483":{"position":[[361,10]]},"501":{"position":[[278,14]]},"561":{"position":[[108,9]]},"602":{"position":[[38,10]]},"630":{"position":[[951,10]]},"636":{"position":[[242,9]]},"724":{"position":[[763,10],[926,12]]},"749":{"position":[[12102,10]]},"751":{"position":[[357,11],[570,10],[981,10],[1672,10]]},"887":{"position":[[167,9]]},"986":{"position":[[608,9]]},"1071":{"position":[[256,9]]},"1085":{"position":[[512,9]]},"1208":{"position":[[1278,9]]},"1319":{"position":[[314,10]]}},"keywords":{}}],["transformations.transact",{"_index":2028,"title":{},"content":{"354":{"position":[[1117,27]]}},"keywords":{}}],["transformers.j",{"_index":2180,"title":{"389":{"position":[[36,15]]}},"content":{"391":{"position":[[134,15]]}},"keywords":{}}],["transient",{"_index":2905,"title":{},"content":{"430":{"position":[[1134,9]]}},"keywords":{}}],["transit",{"_index":1211,"title":{},"content":{"173":{"position":[[2827,10]]},"262":{"position":[[508,10]]},"367":{"position":[[345,11]]},"445":{"position":[[1916,10]]},"502":{"position":[[1310,10]]},"556":{"position":[[1721,8]]}},"keywords":{}}],["translat",{"_index":1316,"title":{},"content":{"204":{"position":[[73,9]]},"828":{"position":[[261,9]]}},"keywords":{}}],["transmiss",{"_index":1048,"title":{},"content":{"108":{"position":[[124,14]]},"621":{"position":[[456,13]]},"624":{"position":[[1263,13]]},"990":{"position":[[352,14]]},"1132":{"position":[[1149,12]]}},"keywords":{}}],["transpar",{"_index":1122,"title":{},"content":{"139":{"position":[[173,13]]},"714":{"position":[[287,11]]},"1151":{"position":[[15,11]]},"1178":{"position":[[15,11]]}},"keywords":{}}],["transpil",{"_index":4067,"title":{},"content":{"728":{"position":[[28,10]]},"1322":{"position":[[60,10]]}},"keywords":{}}],["transport",{"_index":1905,"title":{},"content":{"316":{"position":[[538,9]]},"491":{"position":[[558,10]]}},"keywords":{}}],["travel",{"_index":5238,"title":{},"content":{"902":{"position":[[58,7]]}},"keywords":{}}],["travers",{"_index":5236,"title":{},"content":{"901":{"position":[[265,9]]}},"keywords":{}}],["treat",{"_index":497,"title":{},"content":{"31":{"position":[[140,6]]},"419":{"position":[[340,5]]},"861":{"position":[[2091,5]]}},"keywords":{}}],["treatment",{"_index":6057,"title":{},"content":{"1140":{"position":[[242,9]]}},"keywords":{}}],["tree",{"_index":218,"title":{},"content":{"14":{"position":[[528,4]]},"24":{"position":[[434,4],[766,4]]},"411":{"position":[[3535,5]]},"571":{"position":[[809,4]]},"1092":{"position":[[88,4],[634,4]]},"1093":{"position":[[52,4]]},"1198":{"position":[[507,5]]}},"keywords":{}}],["trend",{"_index":2827,"title":{"420":{"position":[[51,7]]}},"content":{},"keywords":{}}],["tri",{"_index":1697,"title":{"742":{"position":[[0,3]]},"798":{"position":[[0,3]]}},"content":{"296":{"position":[[1,3]]},"302":{"position":[[158,6],[679,3]]},"354":{"position":[[1365,5]]},"358":{"position":[[269,3]]},"388":{"position":[[50,3]]},"393":{"position":[[694,3]]},"402":{"position":[[1837,3]]},"440":{"position":[[250,6]]},"461":{"position":[[1369,5]]},"535":{"position":[[646,6]]},"595":{"position":[[673,6]]},"666":{"position":[[295,3]]},"710":{"position":[[906,3]]},"712":{"position":[[192,3]]},"749":{"position":[[16735,5]]},"798":{"position":[[120,3]]},"816":{"position":[[207,5]]},"836":{"position":[[1047,3]]},"838":{"position":[[1564,3]]},"873":{"position":[[1,3]]},"879":{"position":[[307,5]]},"904":{"position":[[247,3]]},"948":{"position":[[142,5]]},"1007":{"position":[[238,5]]},"1031":{"position":[[146,3]]},"1271":{"position":[[179,3]]}},"keywords":{}}],["trial",{"_index":4426,"title":{},"content":{"749":{"position":[[23206,5],[23332,5],[23464,5]]},"1235":{"position":[[344,5]]},"1271":{"position":[[71,5],[265,5],[1052,5],[1096,5],[1738,5]]},"1282":{"position":[[735,5]]}},"keywords":{}}],["trick",{"_index":1819,"title":{"303":{"position":[[0,6]]}},"content":{"303":{"position":[[1058,6]]}},"keywords":{}}],["tricki",{"_index":3576,"title":{},"content":{"611":{"position":[[1150,7]]}},"keywords":{}}],["trickl",{"_index":3584,"title":{},"content":{"612":{"position":[[527,8]]}},"keywords":{}}],["trigger",{"_index":751,"title":{},"content":{"50":{"position":[[94,7]]},"140":{"position":[[235,10]]},"168":{"position":[[204,7]]},"196":{"position":[[189,10]]},"226":{"position":[[294,7]]},"326":{"position":[[99,7]]},"344":{"position":[[99,7]]},"354":{"position":[[551,9]]},"410":{"position":[[2030,7]]},"427":{"position":[[1336,7]]},"477":{"position":[[41,8]]},"496":{"position":[[797,8]]},"518":{"position":[[335,7]]},"630":{"position":[[49,8]]},"631":{"position":[[269,7]]},"829":{"position":[[2828,7]]},"857":{"position":[[587,8]]},"898":{"position":[[1256,7]]},"996":{"position":[[1,8],[500,7]]},"1177":{"position":[[536,7]]}},"keywords":{}}],["triggerstrigg",{"_index":4519,"title":{},"content":{"765":{"position":[[227,18]]}},"keywords":{}}],["trip",{"_index":1012,"title":{},"content":{"92":{"position":[[131,5]]},"173":{"position":[[2030,6]]},"220":{"position":[[124,5]]},"224":{"position":[[276,5]]},"375":{"position":[[320,5]]},"408":{"position":[[2339,4],[2586,4],[2905,5],[3309,4]]},"410":{"position":[[117,4]]},"411":{"position":[[350,4]]},"415":{"position":[[292,4]]},"574":{"position":[[433,5]]},"630":{"position":[[631,4]]},"902":{"position":[[120,4]]}},"keywords":{}}],["trips.autom",{"_index":3157,"title":{},"content":{"487":{"position":[[255,15]]}},"keywords":{}}],["trivial",{"_index":2099,"title":{},"content":{"362":{"position":[[649,7]]},"559":{"position":[[143,7]]},"668":{"position":[[237,7]]},"1317":{"position":[[128,8]]}},"keywords":{}}],["troublesom",{"_index":3985,"title":{},"content":{"708":{"position":[[501,12]]}},"keywords":{}}],["true",{"_index":124,"title":{"206":{"position":[[3,4]]},"253":{"position":[[3,4]]}},"content":{"8":{"position":[[676,5]]},"55":{"position":[[599,4]]},"209":{"position":[[330,5],[349,4],[1257,4]]},"255":{"position":[[674,5],[693,4],[1559,4]]},"314":{"position":[[577,4]]},"316":{"position":[[204,5],[416,5]]},"334":{"position":[[478,5],[518,4]]},"354":{"position":[[1375,4]]},"391":{"position":[[710,5]]},"408":{"position":[[210,4]]},"412":{"position":[[14538,4]]},"481":{"position":[[819,4]]},"483":{"position":[[92,4]]},"522":{"position":[[589,5],[638,5],[657,5]]},"579":{"position":[[487,5],[527,4]]},"632":{"position":[[2589,5]]},"634":{"position":[[319,5]]},"639":{"position":[[261,4],[387,5]]},"647":{"position":[[320,5],[370,4]]},"648":{"position":[[12,4],[130,4],[167,5],[219,4]]},"649":{"position":[[175,4]]},"653":{"position":[[999,5],[1238,5],[1253,5],[1482,4]]},"678":{"position":[[340,4],[363,4]]},"684":{"position":[[72,5],[210,4]]},"696":{"position":[[1645,4]]},"700":{"position":[[336,5]]},"703":{"position":[[1606,4]]},"720":{"position":[[69,4],[218,4],[229,5]]},"734":{"position":[[629,5],[650,5]]},"739":{"position":[[398,4]]},"746":{"position":[[466,5],[481,5],[556,5],[661,5],[692,5],[717,5],[730,5],[743,5],[755,5],[780,5],[812,5],[827,5],[840,5],[854,4]]},"749":{"position":[[691,4],[2238,4],[14865,4]]},"759":{"position":[[787,4]]},"767":{"position":[[491,6],[887,6]]},"768":{"position":[[483,6],[891,6]]},"769":{"position":[[438,6],[858,6]]},"804":{"position":[[90,5]]},"825":{"position":[[737,5]]},"846":{"position":[[324,4],[413,5]]},"854":{"position":[[1079,5]]},"858":{"position":[[424,4]]},"861":{"position":[[2133,4]]},"866":{"position":[[844,5]]},"872":{"position":[[1123,4],[2634,4],[4588,5]]},"875":{"position":[[8195,4],[9614,4]]},"878":{"position":[[563,4]]},"885":{"position":[[2161,5],[2275,5]]},"886":{"position":[[1980,5],[2028,5],[2046,5]]},"898":{"position":[[3452,5]]},"907":{"position":[[208,4],[357,5]]},"916":{"position":[[230,4],[241,5]]},"934":{"position":[[615,5]]},"939":{"position":[[296,4]]},"957":{"position":[[9,4]]},"960":{"position":[[484,5],[533,5],[552,5]]},"964":{"position":[[140,5]]},"965":{"position":[[347,5]]},"966":{"position":[[324,5],[363,4],[628,4],[746,4]]},"967":{"position":[[213,4],[331,4]]},"971":{"position":[[119,4]]},"978":{"position":[[9,4]]},"986":{"position":[[401,5]]},"988":{"position":[[839,5],[854,5],[1126,5],[1281,5],[1463,5],[1631,4],[1650,5],[5167,5]]},"993":{"position":[[485,4],[622,4]]},"995":{"position":[[203,4],[231,4],[838,4],[866,4]]},"1000":{"position":[[9,4]]},"1001":{"position":[[9,4]]},"1003":{"position":[[434,5]]},"1013":{"position":[[167,4],[390,4],[542,4],[740,4]]},"1045":{"position":[[276,4]]},"1048":{"position":[[503,4],[599,5]]},"1049":{"position":[[251,4]]},"1050":{"position":[[154,4]]},"1051":{"position":[[336,4]]},"1053":{"position":[[9,4]]},"1063":{"position":[[9,4],[208,4]]},"1067":{"position":[[2432,5],[2453,4]]},"1068":{"position":[[96,4]]},"1070":{"position":[[9,4]]},"1074":{"position":[[1374,5],[1545,5],[1924,4]]},"1078":{"position":[[143,5],[164,5]]},"1080":{"position":[[93,5]]},"1083":{"position":[[613,4]]},"1088":{"position":[[588,4]]},"1090":{"position":[[1342,4]]},"1106":{"position":[[636,5]]},"1126":{"position":[[466,4],[550,5],[625,4]]},"1148":{"position":[[1053,4]]},"1164":{"position":[[544,5],[772,5],[817,5],[839,5],[1124,5]]},"1165":{"position":[[435,4]]},"1170":{"position":[[182,4]]},"1171":{"position":[[257,4]]},"1175":{"position":[[63,4]]},"1185":{"position":[[287,5],[360,5]]},"1208":{"position":[[857,5],[988,5]]},"1213":{"position":[[553,5],[721,4]]},"1266":{"position":[[638,5],[968,5]]},"1282":{"position":[[164,4]]},"1294":{"position":[[1433,5],[1716,5]]},"1296":{"position":[[1409,5],[1574,5]]},"1311":{"position":[[385,5]]},"1321":{"position":[[42,4]]}},"keywords":{}}],["true"",{"_index":4210,"title":{},"content":{"749":{"position":[[5830,11],[5892,10]]}},"keywords":{}}],["true/fals",{"_index":5532,"title":{},"content":{"1000":{"position":[[160,10]]},"1001":{"position":[[77,10]]}},"keywords":{}}],["truli",{"_index":1562,"title":{},"content":{"253":{"position":[[128,5]]},"263":{"position":[[172,5]]},"303":{"position":[[1116,5]]},"408":{"position":[[5443,5]]},"411":{"position":[[5218,5]]},"412":{"position":[[10404,5],[14713,5]]},"483":{"position":[[1271,5]]},"491":{"position":[[1520,5]]},"1085":{"position":[[811,5]]}},"keywords":{}}],["truncat",{"_index":6219,"title":{},"content":{"1208":{"position":[[1623,8]]}},"keywords":{}}],["trust",{"_index":2728,"title":{},"content":{"412":{"position":[[8187,7]]},"417":{"position":[[406,5]]},"556":{"position":[[1928,6]]},"697":{"position":[[85,7]]},"897":{"position":[[589,7]]},"898":{"position":[[2845,7]]},"991":{"position":[[47,8]]}},"keywords":{}}],["truth",{"_index":2617,"title":{},"content":{"411":{"position":[[2054,5],[4005,5]]},"412":{"position":[[5620,7]]},"418":{"position":[[821,5]]},"478":{"position":[[249,6]]},"700":{"position":[[55,6],[172,6]]},"705":{"position":[[591,5]]}},"keywords":{}}],["truthi",{"_index":5458,"title":{},"content":{"988":{"position":[[2103,6]]}},"keywords":{}}],["try/catch",{"_index":1800,"title":{},"content":{"302":{"position":[[388,9]]}},"keywords":{}}],["tryout",{"_index":5261,"title":{},"content":{"904":{"position":[[2672,8]]},"906":{"position":[[335,8]]}},"keywords":{}}],["tryouts.in",{"_index":6280,"title":{},"content":{"1235":{"position":[[371,10]]}},"keywords":{}}],["ts",{"_index":1380,"title":{},"content":{"211":{"position":[[307,2]]},"1266":{"position":[[881,6]]}},"keywords":{}}],["tsx",{"_index":6317,"title":{},"content":{"1266":{"position":[[749,10],[872,8]]}},"keywords":{}}],["tune",{"_index":1551,"title":{},"content":{"250":{"position":[[302,4]]},"383":{"position":[[496,4]]},"412":{"position":[[9476,6],[10737,6]]},"644":{"position":[[215,6]]},"1164":{"position":[[38,4]]}},"keywords":{}}],["tunnel",{"_index":3972,"title":{},"content":{"703":{"position":[[728,6]]}},"keywords":{}}],["turn",{"_index":2918,"title":{},"content":{"436":{"position":[[87,4]]},"614":{"position":[[480,4]]},"871":{"position":[[89,4]]}},"keywords":{}}],["turnkey",{"_index":2662,"title":{},"content":{"412":{"position":[[1202,7]]}},"keywords":{}}],["tutori",{"_index":106,"title":{},"content":{"8":{"position":[[140,9]]},"299":{"position":[[1569,9]]},"301":{"position":[[593,8]]},"387":{"position":[[171,10]]},"388":{"position":[[69,8]]},"390":{"position":[[1625,9]]},"393":{"position":[[446,9]]},"402":{"position":[[1940,8]]},"567":{"position":[[373,8]]},"861":{"position":[[81,8],[1190,8]]},"875":{"position":[[5646,9],[7620,9]]},"876":{"position":[[9,8]]}},"keywords":{}}],["tutorial.check",{"_index":3383,"title":{},"content":{"557":{"position":[[196,14]]},"712":{"position":[[67,14]]}},"keywords":{}}],["tutorial.i",{"_index":4587,"title":{},"content":{"776":{"position":[[117,10]]}},"keywords":{}}],["tutorial.if",{"_index":4816,"title":{},"content":{"842":{"position":[[123,11]]}},"keywords":{}}],["tutorial.ther",{"_index":3820,"title":{},"content":{"663":{"position":[[83,14]]},"842":{"position":[[217,14]]}},"keywords":{}}],["tweet",{"_index":2715,"title":{},"content":{"412":{"position":[[6866,5]]},"471":{"position":[[23,5]]}},"keywords":{}}],["tweetlearn",{"_index":3689,"title":{},"content":{"628":{"position":[[80,10]]}},"keywords":{}}],["tweetread",{"_index":2511,"title":{},"content":{"405":{"position":[[29,9]]}},"keywords":{}}],["twice",{"_index":3075,"title":{},"content":{"466":{"position":[[366,5]]},"467":{"position":[[331,5]]}},"keywords":{}}],["twitter",{"_index":2716,"title":{},"content":{"412":{"position":[[6875,7]]}},"keywords":{}}],["two",{"_index":204,"title":{},"content":{"14":{"position":[[129,3]]},"65":{"position":[[1977,3]]},"192":{"position":[[210,3]]},"393":{"position":[[192,3],[758,3],[863,3]]},"398":{"position":[[441,3]]},"408":{"position":[[3030,3]]},"412":{"position":[[822,3],[2244,3],[3097,3],[3128,3],[4553,3],[5891,3],[13881,3]]},"427":{"position":[[1312,3]]},"453":{"position":[[274,3]]},"458":{"position":[[1027,3]]},"525":{"position":[[588,3]]},"538":{"position":[[15,3]]},"540":{"position":[[98,3]]},"554":{"position":[[13,3]]},"582":{"position":[[498,3]]},"598":{"position":[[15,3]]},"617":{"position":[[407,3]]},"624":{"position":[[679,3]]},"626":{"position":[[640,3]]},"691":{"position":[[22,3],[535,3]]},"696":{"position":[[1024,3]]},"698":{"position":[[9,3],[184,3]]},"707":{"position":[[41,3]]},"711":{"position":[[2269,3]]},"717":{"position":[[20,3]]},"774":{"position":[[923,3]]},"775":{"position":[[209,3]]},"817":{"position":[[312,3]]},"828":{"position":[[212,3]]},"837":{"position":[[153,3],[999,3]]},"838":{"position":[[1710,3]]},"860":{"position":[[291,3]]},"870":{"position":[[1,3]]},"872":{"position":[[2187,3]]},"875":{"position":[[2356,3]]},"935":{"position":[[106,3]]},"961":{"position":[[76,3]]},"964":{"position":[[193,3]]},"983":{"position":[[1111,3]]},"984":{"position":[[452,3]]},"986":{"position":[[151,3]]},"1072":{"position":[[2104,3]]},"1080":{"position":[[985,3]]},"1100":{"position":[[203,3]]},"1147":{"position":[[89,3]]},"1214":{"position":[[162,3]]},"1267":{"position":[[746,5]]},"1271":{"position":[[11,3]]},"1292":{"position":[[48,3]]},"1296":{"position":[[709,3]]},"1306":{"position":[[11,3]]},"1309":{"position":[[38,3],[75,3]]},"1315":{"position":[[185,3],[992,3],[1233,3]]}},"keywords":{}}],["tx",{"_index":1804,"title":{},"content":{"302":{"position":[[691,2]]},"1294":{"position":[[807,3]]}},"keywords":{}}],["tx.done",{"_index":1810,"title":{},"content":{"302":{"position":[[825,8]]}},"keywords":{}}],["tx.objectstore('largestor",{"_index":1807,"title":{},"content":{"302":{"position":[[753,29]]}},"keywords":{}}],["tx.objectstore(storenam",{"_index":6430,"title":{},"content":{"1294":{"position":[[905,26]]}},"keywords":{}}],["type",{"_index":630,"title":{"925":{"position":[[0,5]]},"1311":{"position":[[10,6]]}},"content":{"40":{"position":[[52,5],[177,5]]},"47":{"position":[[603,5]]},"51":{"position":[[373,5],[409,5],[451,5],[478,5]]},"74":{"position":[[86,4]]},"105":{"position":[[156,4],[215,7]]},"151":{"position":[[452,5]]},"174":{"position":[[861,6],[915,4]]},"188":{"position":[[1250,5],[1286,5],[1328,5],[1371,5]]},"209":{"position":[[437,5],[491,5],[534,5],[564,5]]},"211":{"position":[[417,5],[453,5],[498,5]]},"232":{"position":[[163,6]]},"255":{"position":[[781,5],[835,5],[878,5],[904,5]]},"259":{"position":[[99,5],[135,5],[177,5]]},"281":{"position":[[74,6],[263,8],[299,4]]},"314":{"position":[[747,5],[801,5],[830,5],[861,5]]},"315":{"position":[[723,5],[777,5],[803,5]]},"316":{"position":[[232,5],[286,5],[315,5],[346,5]]},"334":{"position":[[651,5],[687,5],[713,5],[741,5]]},"356":{"position":[[171,6]]},"360":{"position":[[762,4]]},"361":{"position":[[120,6]]},"367":{"position":[[794,5],[830,5],[921,5],[963,5],[995,5]]},"390":{"position":[[895,5],[1182,5]]},"392":{"position":[[601,5],[637,5],[678,5],[1567,5],[1603,5],[1649,5],[1673,5]]},"393":{"position":[[600,4]]},"397":{"position":[[488,5]]},"411":{"position":[[837,4]]},"412":{"position":[[3712,6]]},"415":{"position":[[101,6]]},"424":{"position":[[261,6]]},"444":{"position":[[348,5]]},"480":{"position":[[547,5],[601,5],[628,5],[654,5]]},"482":{"position":[[847,5],[901,5],[933,5]]},"533":{"position":[[263,6]]},"535":{"position":[[673,4]]},"538":{"position":[[674,5],[710,5],[752,5],[779,5]]},"554":{"position":[[1338,5],[1392,5],[1441,5],[1474,5]]},"556":{"position":[[1014,5]]},"562":{"position":[[319,5],[373,5],[399,5],[426,5]]},"564":{"position":[[776,5],[830,5],[862,5]]},"569":{"position":[[138,4]]},"579":{"position":[[659,5],[695,5],[721,5],[755,5]]},"593":{"position":[[263,6]]},"598":{"position":[[681,5],[717,5],[759,5],[786,5]]},"612":{"position":[[1474,4],[1598,6],[1909,6]]},"617":{"position":[[2382,4]]},"632":{"position":[[1531,5],[1585,5],[1628,5],[1654,5]]},"636":{"position":[[52,6]]},"638":{"position":[[615,5],[669,5],[718,5]]},"639":{"position":[[393,5],[447,5],[492,5],[523,5]]},"662":{"position":[[2394,5],[2448,5],[2490,5],[2515,5]]},"680":{"position":[[841,5],[877,5],[921,5]]},"688":{"position":[[949,6]]},"698":{"position":[[3047,5]]},"711":{"position":[[2364,4]]},"717":{"position":[[1450,5],[1486,5],[1530,5]]},"720":{"position":[[149,5]]},"734":{"position":[[715,5],[751,5]]},"749":{"position":[[17080,4],[17198,4],[18250,5],[19926,4],[20137,4],[20294,4],[20466,4],[20561,4],[20728,4]]},"792":{"position":[[397,5]]},"796":{"position":[[289,6],[1217,4]]},"800":{"position":[[991,5]]},"808":{"position":[[230,5],[306,5],[564,5],[602,5],[631,5],[669,5]]},"812":{"position":[[87,5],[125,5],[153,5],[193,5]]},"813":{"position":[[87,5],[125,5],[154,5],[192,5]]},"818":{"position":[[77,4]]},"838":{"position":[[2608,5],[2662,5],[2704,5],[2729,5]]},"841":{"position":[[73,4],[1215,5]]},"854":{"position":[[931,4]]},"862":{"position":[[681,5],[717,5],[759,5]]},"872":{"position":[[1898,5],[1942,5],[1989,5],[2019,5],[4128,5],[4172,5],[4219,5],[4249,5]]},"875":{"position":[[1549,4],[2786,6],[5550,6],[6339,6],[7293,6]]},"885":{"position":[[620,4],[767,4],[833,4],[1054,4],[1328,4]]},"889":{"position":[[136,4],[224,4],[265,4]]},"898":{"position":[[194,4],[1725,6],[1770,5],[2478,5],[2522,5],[2569,5],[2599,5],[2624,5]]},"904":{"position":[[870,5],[924,5],[967,5],[993,5],[1039,5]]},"916":{"position":[[156,5]]},"917":{"position":[[303,5],[334,4]]},"918":{"position":[[174,5]]},"922":{"position":[[48,4]]},"925":{"position":[[5,4]]},"932":{"position":[[1208,5]]},"941":{"position":[[208,5]]},"948":{"position":[[256,5]]},"988":{"position":[[2634,6]]},"1007":{"position":[[169,6]]},"1018":{"position":[[681,5],[731,4]]},"1057":{"position":[[356,4],[572,4]]},"1072":{"position":[[1946,5]]},"1078":{"position":[[494,5],[530,5],[626,5],[656,5]]},"1079":{"position":[[122,5],[234,5]]},"1080":{"position":[[117,5],[153,5],[249,5],[370,5],[398,5],[431,5],[460,5],[630,5],[654,5],[691,5]]},"1082":{"position":[[202,5],[238,5],[334,5],[364,5],[389,5]]},"1083":{"position":[[402,5],[438,5],[534,5],[564,5],[589,5]]},"1085":{"position":[[1159,5],[2379,8],[2449,4],[2651,6]]},"1100":{"position":[[46,5]]},"1102":{"position":[[607,6],[770,4]]},"1149":{"position":[[1061,5],[1115,5],[1157,5],[1182,5]]},"1158":{"position":[[389,5],[425,5],[452,5],[478,5]]},"1226":{"position":[[668,5]]},"1257":{"position":[[71,4]]},"1264":{"position":[[548,5]]},"1290":{"position":[[100,5]]},"1306":{"position":[[15,5]]},"1311":{"position":[[34,6],[417,5],[461,5],[492,5],[522,5],[547,5]]},"1318":{"position":[[698,5]]},"1322":{"position":[[83,5],[228,7],[380,5],[426,7],[526,4]]}},"keywords":{}}],["type:str",{"_index":4381,"title":{},"content":{"749":{"position":[[18959,11]]}},"keywords":{}}],["type="text"",{"_index":3395,"title":{},"content":{"559":{"position":[[588,21]]}},"keywords":{}}],["typeerror",{"_index":5408,"title":{},"content":{"968":{"position":[[602,10]]},"1213":{"position":[[872,10]]}},"keywords":{}}],["typesaf",{"_index":5740,"title":{},"content":{"1057":{"position":[[415,9]]}},"keywords":{}}],["typescript",{"_index":300,"title":{"74":{"position":[[17,10]]},"105":{"position":[[17,10]]},"232":{"position":[[7,10]]},"281":{"position":[[17,10]]},"1251":{"position":[[0,10]]},"1257":{"position":[[19,11]]},"1310":{"position":[[16,10]]},"1322":{"position":[[0,10]]}},"content":{"17":{"position":[[527,10]]},"34":{"position":[[236,11]]},"47":{"position":[[553,10],[592,10]]},"74":{"position":[[20,10]]},"83":{"position":[[130,10]]},"105":{"position":[[1,10],[110,10]]},"174":{"position":[[704,10],[781,10]]},"188":{"position":[[20,10]]},"232":{"position":[[1,10],[104,10],[313,10]]},"281":{"position":[[1,11],[195,10]]},"445":{"position":[[164,11]]},"535":{"position":[[580,10]]},"595":{"position":[[607,10]]},"711":{"position":[[2353,10]]},"730":{"position":[[184,10]]},"793":{"position":[[72,10]]},"1018":{"position":[[642,11],[895,10]]},"1057":{"position":[[298,10]]},"1071":{"position":[[180,10]]},"1085":{"position":[[2368,10],[2621,10]]},"1251":{"position":[[157,10]]},"1257":{"position":[[41,10]]},"1322":{"position":[[32,10]]}},"keywords":{}}],["typescript"",{"_index":1530,"title":{},"content":{"244":{"position":[[1613,16]]}},"keywords":{}}],["typescript/j",{"_index":654,"title":{},"content":{"41":{"position":[[247,13]]}},"keywords":{}}],["typic",{"_index":636,"title":{"349":{"position":[[29,9]]}},"content":{"40":{"position":[[344,9]]},"99":{"position":[[15,9]]},"203":{"position":[[28,9]]},"226":{"position":[[15,9]]},"228":{"position":[[27,9]]},"265":{"position":[[566,9]]},"298":{"position":[[496,9]]},"299":{"position":[[888,9]]},"302":{"position":[[335,7]]},"303":{"position":[[78,9]]},"305":{"position":[[268,10]]},"336":{"position":[[470,7]]},"357":{"position":[[39,9]]},"358":{"position":[[68,9]]},"408":{"position":[[871,9]]},"410":{"position":[[1588,7]]},"411":{"position":[[56,9]]},"412":{"position":[[8826,9],[10316,7],[11122,9]]},"414":{"position":[[274,9]]},"419":{"position":[[1767,9]]},"427":{"position":[[1477,9]]},"461":{"position":[[1083,9],[1314,9]]},"478":{"position":[[1,7]]},"563":{"position":[[6,9]]},"570":{"position":[[388,9]]},"581":{"position":[[514,9]]},"641":{"position":[[237,9]]},"723":{"position":[[742,9]]},"830":{"position":[[264,9]]},"841":{"position":[[1039,9]]},"1150":{"position":[[223,9]]}},"keywords":{}}],["typo",{"_index":5898,"title":{},"content":{"1085":{"position":[[2504,4]]}},"keywords":{}}],["ubuntu",{"_index":6394,"title":{},"content":{"1292":{"position":[[74,6]]}},"keywords":{}}],["ui",{"_index":544,"title":{"73":{"position":[[42,4]]},"77":{"position":[[54,2]]},"103":{"position":[[54,2]]},"104":{"position":[[42,4]]},"173":{"position":[[21,2]]},"231":{"position":[[27,4]]},"233":{"position":[[33,2]]},"484":{"position":[[23,2]]},"485":{"position":[[26,3]]},"486":{"position":[[39,3]]},"488":{"position":[[20,2]]},"489":{"position":[[46,3]]},"490":{"position":[[10,2]]},"492":{"position":[[11,2]]},"495":{"position":[[24,2]]},"497":{"position":[[38,3]]},"634":{"position":[[11,2]]},"1312":{"position":[[4,2]]}},"content":{"34":{"position":[[645,2]]},"37":{"position":[[74,2]]},"53":{"position":[[81,2]]},"77":{"position":[[181,2]]},"103":{"position":[[71,2]]},"104":{"position":[[64,2],[202,2]]},"106":{"position":[[164,2]]},"124":{"position":[[246,2]]},"129":{"position":[[52,2]]},"130":{"position":[[295,2]]},"140":{"position":[[229,2]]},"146":{"position":[[198,2]]},"173":{"position":[[19,2]]},"174":{"position":[[378,2],[460,4],[573,2],[674,2],[1147,2]]},"175":{"position":[[478,2]]},"177":{"position":[[27,2]]},"182":{"position":[[169,2],[292,2]]},"185":{"position":[[182,2]]},"196":{"position":[[183,2]]},"205":{"position":[[377,2]]},"217":{"position":[[224,2]]},"221":{"position":[[260,3]]},"226":{"position":[[327,3]]},"231":{"position":[[263,2]]},"233":{"position":[[113,2],[221,2]]},"234":{"position":[[136,2]]},"235":{"position":[[185,2]]},"277":{"position":[[123,2]]},"302":{"position":[[1018,2]]},"320":{"position":[[245,2]]},"326":{"position":[[107,2]]},"329":{"position":[[232,3]]},"342":{"position":[[157,2]]},"352":{"position":[[11,3]]},"354":{"position":[[108,2]]},"360":{"position":[[343,2]]},"362":{"position":[[154,2]]},"369":{"position":[[1274,2]]},"379":{"position":[[130,2]]},"410":{"position":[[2038,2]]},"411":{"position":[[2069,3],[2258,2],[2495,2],[3023,2],[3884,3]]},"412":{"position":[[3638,4],[5093,2],[10036,2]]},"415":{"position":[[388,4]]},"420":{"position":[[1351,3]]},"451":{"position":[[683,2]]},"476":{"position":[[319,2]]},"479":{"position":[[168,2]]},"483":{"position":[[344,2]]},"485":{"position":[[12,3]]},"486":{"position":[[198,2]]},"488":{"position":[[37,2]]},"489":{"position":[[48,3],[515,2]]},"490":{"position":[[153,2],[236,2]]},"491":{"position":[[45,3],[891,2]]},"495":{"position":[[18,3],[405,2]]},"497":{"position":[[641,2]]},"498":{"position":[[45,2],[549,3]]},"541":{"position":[[808,2]]},"562":{"position":[[843,2],[962,2],[1755,2]]},"566":{"position":[[549,2]]},"574":{"position":[[297,2]]},"601":{"position":[[789,2]]},"630":{"position":[[599,2]]},"631":{"position":[[277,2]]},"634":{"position":[[80,2],[329,2],[555,2]]},"642":{"position":[[197,2]]},"661":{"position":[[1447,2]]},"662":{"position":[[234,2]]},"698":{"position":[[2118,2]]},"700":{"position":[[624,2],[1141,3]]},"703":{"position":[[1309,2],[1562,2]]},"707":{"position":[[140,2]]},"709":{"position":[[625,3]]},"710":{"position":[[120,2],[2442,3]]},"711":{"position":[[1941,2]]},"778":{"position":[[542,2]]},"781":{"position":[[531,2],[866,2]]},"785":{"position":[[30,2],[399,2],[600,3]]},"801":{"position":[[421,2],[739,2]]},"836":{"position":[[1157,2],[1281,2],[1500,2],[2403,2]]},"838":{"position":[[263,2],[470,2]]},"841":{"position":[[602,2]]},"1058":{"position":[[122,3]]},"1117":{"position":[[487,2]]},"1150":{"position":[[588,2]]},"1313":{"position":[[473,2]]},"1321":{"position":[[171,3]]}},"keywords":{}}],["ui"",{"_index":1440,"title":{},"content":{"243":{"position":[[21,8]]}},"keywords":{}}],["uint8array(writes",{"_index":6212,"title":{},"content":{"1208":{"position":[[1327,22]]}},"keywords":{}}],["ultim",{"_index":1643,"title":{"472":{"position":[[11,8]]}},"content":{"277":{"position":[[308,11]]},"318":{"position":[[566,8]]},"388":{"position":[[232,11]]},"491":{"position":[[67,10]]}},"keywords":{}}],["umd",{"_index":1939,"title":{},"content":{"333":{"position":[[187,3]]}},"keywords":{}}],["un",{"_index":5469,"title":{},"content":{"988":{"position":[[4020,2]]},"1316":{"position":[[550,2]]}},"keywords":{}}],["unauthor",{"_index":1299,"title":{"880":{"position":[[0,14]]}},"content":{"195":{"position":[[180,12]]},"377":{"position":[[111,12]]},"526":{"position":[[178,12]]},"550":{"position":[[37,12]]},"586":{"position":[[154,12]]},"749":{"position":[[16506,12]]},"880":{"position":[[190,13]]},"912":{"position":[[371,12]]}},"keywords":{}}],["unavail",{"_index":1393,"title":{},"content":{"215":{"position":[[256,12]]},"300":{"position":[[848,12]]},"323":{"position":[[238,12]]},"445":{"position":[[650,12]]},"860":{"position":[[437,12]]}},"keywords":{}}],["unavoid",{"_index":3691,"title":{},"content":{"630":{"position":[[131,11]]}},"keywords":{}}],["unbound",{"_index":5896,"title":{},"content":{"1085":{"position":[[2252,10]]}},"keywords":{}}],["uncach",{"_index":4698,"title":{},"content":{"816":{"position":[[150,7],[299,7],[383,7]]},"817":{"position":[[105,8],[217,8]]},"818":{"position":[[237,8]]}},"keywords":{}}],["uncacherxquery(rxqueri",{"_index":4704,"title":{},"content":{"818":{"position":[[268,24]]}},"keywords":{}}],["uncaught",{"_index":4071,"title":{},"content":{"729":{"position":[[91,8]]}},"keywords":{}}],["uncompress",{"_index":1828,"title":{},"content":{"303":{"position":[[522,12]]},"361":{"position":[[519,12]]}},"keywords":{}}],["undefin",{"_index":280,"title":{"887":{"position":[[21,9]]}},"content":{"16":{"position":[[453,9]]},"729":{"position":[[406,9]]},"749":{"position":[[3718,12]]},"829":{"position":[[2096,10]]},"886":{"position":[[1318,10]]},"887":{"position":[[88,10],[215,9],[570,9]]},"898":{"position":[[4399,9]]},"968":{"position":[[639,9]]},"981":{"position":[[1474,9]]},"1018":{"position":[[492,9]]},"1043":{"position":[[104,9],[141,9]]},"1065":{"position":[[702,9]]},"1188":{"position":[[328,9]]},"1202":{"position":[[445,9]]},"1213":{"position":[[909,9]]},"1305":{"position":[[46,9]]}},"keywords":{}}],["undefined/miss",{"_index":5227,"title":{},"content":{"898":{"position":[[4344,19]]}},"keywords":{}}],["under",{"_index":683,"title":{},"content":{"43":{"position":[[611,5]]},"303":{"position":[[1177,5],[1219,5]]},"305":{"position":[[515,5]]},"412":{"position":[[9862,5]]},"490":{"position":[[474,5]]},"545":{"position":[[100,5]]},"566":{"position":[[803,5]]},"571":{"position":[[1575,5]]},"605":{"position":[[100,5]]},"620":{"position":[[197,5]]},"703":{"position":[[1505,5]]}},"keywords":{}}],["underli",{"_index":399,"title":{},"content":{"24":{"position":[[144,10]]},"90":{"position":[[222,10]]},"124":{"position":[[157,10]]},"139":{"position":[[250,10]]},"159":{"position":[[226,10]]},"162":{"position":[[97,10]]},"167":{"position":[[211,10]]},"181":{"position":[[230,10]]},"185":{"position":[[105,10]]},"233":{"position":[[150,10]]},"266":{"position":[[948,10]]},"314":{"position":[[97,10]]},"383":{"position":[[338,10]]},"485":{"position":[[99,10]]},"514":{"position":[[268,10]]},"524":{"position":[[65,10]]},"541":{"position":[[838,10]]},"585":{"position":[[95,10]]},"600":{"position":[[158,10]]},"601":{"position":[[819,10]]},"641":{"position":[[144,10]]},"703":{"position":[[316,10],[376,10]]},"829":{"position":[[2789,10]]},"838":{"position":[[486,10]]},"890":{"position":[[389,10]]},"962":{"position":[[134,10]]},"1124":{"position":[[198,10]]},"1150":{"position":[[614,10]]},"1162":{"position":[[831,10]]},"1165":{"position":[[112,10]]},"1198":{"position":[[1234,10]]},"1246":{"position":[[1435,10]]}},"keywords":{}}],["underpin",{"_index":2805,"title":{},"content":{"419":{"position":[[781,13]]}},"keywords":{}}],["underscor",{"_index":4199,"title":{},"content":{"749":{"position":[[4922,10],[8276,10],[17578,10]]},"811":{"position":[[96,10]]},"863":{"position":[[72,10],[119,12]]}},"keywords":{}}],["underscore_",{"_index":4687,"title":{},"content":{"811":{"position":[[423,11]]}},"keywords":{}}],["understand",{"_index":486,"title":{"427":{"position":[[0,13]]},"444":{"position":[[0,13]]}},"content":{"29":{"position":[[458,10]]},"119":{"position":[[39,10]]},"127":{"position":[[25,13]]},"151":{"position":[[66,10]]},"180":{"position":[[4,10]]},"187":{"position":[[13,10]]},"298":{"position":[[835,13]]},"364":{"position":[[782,11]]},"404":{"position":[[522,10]]},"412":{"position":[[81,10]]},"425":{"position":[[55,10]]},"441":{"position":[[530,13]]},"483":{"position":[[776,13]]},"688":{"position":[[738,11]]},"689":{"position":[[138,13]]},"707":{"position":[[361,10]]},"904":{"position":[[48,10]]},"981":{"position":[[137,11],[224,10],[278,10]]},"1151":{"position":[[263,10],[687,13]]},"1178":{"position":[[262,10],[686,13]]},"1252":{"position":[[255,10]]}},"keywords":{}}],["understood",{"_index":2649,"title":{},"content":{"412":{"position":[[206,10]]},"569":{"position":[[544,10]]}},"keywords":{}}],["undon",{"_index":3127,"title":{},"content":{"480":{"position":[[885,6]]}},"keywords":{}}],["undonetask",{"_index":3128,"title":{},"content":{"480":{"position":[[901,13]]}},"keywords":{}}],["undoubtedli",{"_index":2948,"title":{},"content":{"447":{"position":[[559,11]]}},"keywords":{}}],["unencrypt",{"_index":3361,"title":{},"content":{"555":{"position":[[952,11]]},"714":{"position":[[192,11]]}},"keywords":{}}],["unexpect",{"_index":5897,"title":{},"content":{"1085":{"position":[[2338,10]]}},"keywords":{}}],["unexpectedli",{"_index":6472,"title":{},"content":{"1300":{"position":[[1104,12]]}},"keywords":{}}],["unfamiliar",{"_index":2834,"title":{},"content":{"420":{"position":[[721,11]]}},"keywords":{}}],["unfortun",{"_index":3008,"title":{},"content":{"460":{"position":[[693,13]]},"1301":{"position":[[886,13]]}},"keywords":{}}],["ungracefulli",{"_index":461,"title":{},"content":{"28":{"position":[[458,12]]},"1162":{"position":[[71,12]]},"1171":{"position":[[88,12]]},"1181":{"position":[[137,12]]}},"keywords":{}}],["unidirect",{"_index":3668,"title":{},"content":{"622":{"position":[[355,14],[612,14]]}},"keywords":{}}],["unifi",{"_index":588,"title":{},"content":{"38":{"position":[[279,5]]},"317":{"position":[[287,7]]},"384":{"position":[[333,7]]},"445":{"position":[[2459,7]]},"446":{"position":[[1317,7]]},"517":{"position":[[372,7]]},"589":{"position":[[200,7]]}},"keywords":{}}],["uninstal",{"_index":2732,"title":{},"content":{"412":{"position":[[8580,10]]}},"keywords":{}}],["unintellig",{"_index":5279,"title":{},"content":{"912":{"position":[[444,14]]}},"keywords":{}}],["unintention",{"_index":3686,"title":{},"content":{"627":{"position":[[147,15]]}},"keywords":{}}],["uninterrupt",{"_index":1004,"title":{},"content":{"88":{"position":[[169,13]]},"274":{"position":[[198,13]]},"292":{"position":[[418,13]]},"445":{"position":[[578,13]]}},"keywords":{}}],["uniqu",{"_index":474,"title":{},"content":{"29":{"position":[[107,6]]},"118":{"position":[[312,6]]},"271":{"position":[[196,6]]},"276":{"position":[[354,6]]},"287":{"position":[[738,6]]},"354":{"position":[[518,6]]},"377":{"position":[[41,6]]},"388":{"position":[[210,6]]},"399":{"position":[[134,6]]},"432":{"position":[[581,6]]},"444":{"position":[[161,6]]},"504":{"position":[[502,6]]},"520":{"position":[[87,6]]},"567":{"position":[[1126,6]]},"724":{"position":[[552,6]]},"749":{"position":[[18031,7]]},"875":{"position":[[2340,6]]},"904":{"position":[[2115,6]]},"935":{"position":[[10,8]]},"943":{"position":[[183,10]]},"961":{"position":[[37,8]]},"990":{"position":[[552,6]]},"1008":{"position":[[104,6]]},"1074":{"position":[[173,7]]},"1077":{"position":[[183,7]]},"1294":{"position":[[640,7]]}},"keywords":{}}],["unit",{"_index":1648,"title":{},"content":{"279":{"position":[[204,5]]},"668":{"position":[[110,4],[345,4]]},"749":{"position":[[5791,4]]},"773":{"position":[[366,4]]},"966":{"position":[[250,4]]},"996":{"position":[[132,4]]},"1091":{"position":[[59,5]]},"1139":{"position":[[99,4]]},"1145":{"position":[[95,4]]},"1159":{"position":[[175,4]]},"1313":{"position":[[92,4]]}},"keywords":{}}],["univers",{"_index":1735,"title":{},"content":{"299":{"position":[[95,9]]},"1072":{"position":[[1975,9]]}},"keywords":{}}],["unix",{"_index":4447,"title":{},"content":{"751":{"position":[[695,4],[938,4],[1797,4]]},"875":{"position":[[1645,4]]},"1104":{"position":[[535,4]]}},"keywords":{}}],["unknown",{"_index":2424,"title":{},"content":{"398":{"position":[[3307,7]]},"778":{"position":[[214,7]]},"985":{"position":[[321,7]]},"1085":{"position":[[879,7],[2022,7],[2601,7]]},"1316":{"position":[[409,7],[438,7]]}},"keywords":{}}],["unless",{"_index":78,"title":{},"content":{"5":{"position":[[149,6]]},"412":{"position":[[8841,6]]},"476":{"position":[[73,6]]},"563":{"position":[[1058,6]]}},"keywords":{}}],["unlik",{"_index":1082,"title":{},"content":{"126":{"position":[[196,6]]},"201":{"position":[[1,6]]},"249":{"position":[[1,6]]},"390":{"position":[[295,6]]},"427":{"position":[[423,6]]},"432":{"position":[[262,6]]},"453":{"position":[[535,8]]},"500":{"position":[[225,6]]},"520":{"position":[[157,6]]},"610":{"position":[[204,6]]},"612":{"position":[[97,6]]},"656":{"position":[[108,8]]},"688":{"position":[[956,6]]},"1206":{"position":[[177,6]]}},"keywords":{}}],["unlimit",{"_index":808,"title":{},"content":{"52":{"position":[[571,10]]},"412":{"position":[[7349,9]]},"539":{"position":[[571,10]]},"599":{"position":[[598,10]]}},"keywords":{}}],["unlock",{"_index":1057,"title":{},"content":{"114":{"position":[[470,6]]},"241":{"position":[[405,6]]},"408":{"position":[[1391,8]]},"447":{"position":[[667,6]]},"483":{"position":[[1196,6]]}},"keywords":{}}],["unmaintain",{"_index":266,"title":{},"content":{"15":{"position":[[589,13]]},"28":{"position":[[613,13]]}},"keywords":{}}],["unmanageable.no",{"_index":2061,"title":{},"content":{"358":{"position":[[455,15]]}},"keywords":{}}],["unmount",{"_index":3525,"title":{},"content":{"590":{"position":[[545,7]]},"829":{"position":[[3808,9]]}},"keywords":{}}],["unnecessari",{"_index":1047,"title":{},"content":{"108":{"position":[[107,11]]},"146":{"position":[[186,11]]},"234":{"position":[[188,11]]},"289":{"position":[[421,11]]},"383":{"position":[[564,11]]},"385":{"position":[[306,11]]},"436":{"position":[[57,12]]},"610":{"position":[[690,11]]},"689":{"position":[[554,11]]}},"keywords":{}}],["unpredict",{"_index":2045,"title":{},"content":{"356":{"position":[[792,13]]},"399":{"position":[[219,14]]},"412":{"position":[[10532,13]]},"1304":{"position":[[1463,13]]}},"keywords":{}}],["unreach",{"_index":5245,"title":{},"content":{"902":{"position":[[609,12]]}},"keywords":{}}],["unread",{"_index":3140,"title":{},"content":{"482":{"position":[[1126,10]]},"638":{"position":[[892,10]]}},"keywords":{}}],["unreason",{"_index":1717,"title":{},"content":{"298":{"position":[[421,12]]}},"keywords":{}}],["unreli",{"_index":1079,"title":{},"content":{"122":{"position":[[369,10]]},"133":{"position":[[362,10]]},"289":{"position":[[1876,11]]},"309":{"position":[[102,10]]},"415":{"position":[[419,11]]},"613":{"position":[[273,10]]},"624":{"position":[[1247,10]]}},"keywords":{}}],["unsaf",{"_index":6385,"title":{},"content":{"1287":{"position":[[104,7]]}},"keywords":{}}],["unsent",{"_index":2786,"title":{},"content":{"416":{"position":[[163,6]]}},"keywords":{}}],["unset",{"_index":5843,"title":{},"content":{"1082":{"position":[[91,5]]}},"keywords":{}}],["unstructur",{"_index":216,"title":{},"content":{"14":{"position":[[510,12]]},"276":{"position":[[217,12]]}},"keywords":{}}],["unsubscrib",{"_index":1132,"title":{"143":{"position":[[55,12]]}},"content":{"143":{"position":[[154,11]]}},"keywords":{}}],["unsuit",{"_index":1027,"title":{},"content":{"100":{"position":[[113,10]]},"408":{"position":[[389,10]]},"412":{"position":[[7569,10]]},"427":{"position":[[534,10]]}},"keywords":{}}],["unsync",{"_index":3519,"title":{},"content":{"584":{"position":[[135,8]]}},"keywords":{}}],["unthink",{"_index":2579,"title":{},"content":{"408":{"position":[[5576,11]]}},"keywords":{}}],["until",{"_index":148,"title":{},"content":{"11":{"position":[[245,5],[341,5],[722,5]]},"24":{"position":[[555,5]]},"301":{"position":[[239,5]]},"412":{"position":[[11652,5]]},"451":{"position":[[808,5]]},"461":{"position":[[563,5]]},"463":{"position":[[593,5]]},"610":{"position":[[382,5]]},"626":{"position":[[776,5],[1042,5]]},"698":{"position":[[3153,5]]},"699":{"position":[[488,5]]},"702":{"position":[[322,5]]},"737":{"position":[[214,5]]},"775":{"position":[[57,5]]},"875":{"position":[[8898,5]]},"948":{"position":[[692,5]]},"988":{"position":[[728,5],[1300,5],[6036,5]]},"995":{"position":[[319,5],[607,5],[748,5],[976,5]]},"996":{"position":[[78,5]]},"1007":{"position":[[1113,5]]},"1032":{"position":[[160,5]]},"1164":{"position":[[1157,5]]},"1175":{"position":[[497,5]]},"1194":{"position":[[282,5]]},"1288":{"position":[[65,5]]},"1294":{"position":[[1032,5]]}},"keywords":{}}],["untrack",{"_index":832,"title":{},"content":{"55":{"position":[[251,10],[518,12]]}},"keywords":{}}],["untyp",{"_index":733,"title":{},"content":{"47":{"position":[[677,7]]}},"keywords":{}}],["unus",{"_index":1870,"title":{},"content":{"305":{"position":[[219,6]]},"416":{"position":[[440,8]]}},"keywords":{}}],["unwieldi",{"_index":721,"title":{},"content":{"47":{"position":[[173,8]]},"321":{"position":[[404,8]]},"356":{"position":[[920,9]]}},"keywords":{}}],["up",{"_index":191,"title":{"48":{"position":[[4,2]]},"61":{"position":[[7,3]]},"84":{"position":[[7,3]]},"114":{"position":[[7,3]]},"149":{"position":[[7,3]]},"175":{"position":[[7,3]]},"210":{"position":[[8,2]]},"241":{"position":[[7,3]]},"263":{"position":[[7,3]]},"296":{"position":[[7,3]]},"306":{"position":[[7,3]]},"318":{"position":[[7,3]]},"347":{"position":[[7,3]]},"362":{"position":[[7,3]]},"373":{"position":[[7,3]]},"388":{"position":[[7,3]]},"405":{"position":[[7,3]]},"442":{"position":[[7,3]]},"471":{"position":[[7,3]]},"483":{"position":[[7,3]]},"498":{"position":[[7,3]]},"511":{"position":[[7,3]]},"531":{"position":[[7,3]]},"536":{"position":[[4,2]]},"548":{"position":[[7,3]]},"552":{"position":[[8,2]]},"554":{"position":[[7,2]]},"557":{"position":[[7,3]]},"567":{"position":[[7,3]]},"572":{"position":[[7,3]]},"591":{"position":[[7,3]]},"596":{"position":[[4,2]]},"608":{"position":[[7,3]]},"628":{"position":[[7,3]]},"644":{"position":[[7,3]]},"663":{"position":[[7,3]]},"712":{"position":[[7,3]]},"776":{"position":[[7,2]]},"786":{"position":[[7,3]]},"832":{"position":[[7,3]]},"842":{"position":[[7,3]]},"862":{"position":[[8,2]]},"872":{"position":[[8,2]]},"873":{"position":[[7,3]]},"898":{"position":[[8,2]]},"899":{"position":[[7,3]]},"913":{"position":[[7,3]]},"1089":{"position":[[23,2]]}},"content":{"13":{"position":[[208,2]]},"84":{"position":[[392,2]]},"114":{"position":[[405,2]]},"149":{"position":[[405,2]]},"158":{"position":[[321,2]]},"168":{"position":[[273,2]]},"175":{"position":[[396,2]]},"184":{"position":[[267,2]]},"185":{"position":[[185,2]]},"192":{"position":[[72,2]]},"204":{"position":[[123,2]]},"241":{"position":[[174,2]]},"255":{"position":[[227,3]]},"261":{"position":[[1007,2]]},"267":{"position":[[805,2]]},"284":{"position":[[53,2],[137,2]]},"287":{"position":[[410,2]]},"288":{"position":[[149,2]]},"293":{"position":[[356,2]]},"299":{"position":[[254,2]]},"301":{"position":[[139,2]]},"318":{"position":[[256,2]]},"333":{"position":[[92,2]]},"340":{"position":[[168,2]]},"342":{"position":[[54,2]]},"346":{"position":[[476,2]]},"347":{"position":[[403,2]]},"360":{"position":[[583,2]]},"362":{"position":[[1474,2]]},"373":{"position":[[174,2]]},"376":{"position":[[498,2]]},"392":{"position":[[875,2],[2418,2],[3143,2]]},"393":{"position":[[681,2]]},"394":{"position":[[1664,2]]},"408":{"position":[[984,2],[4086,2]]},"410":{"position":[[1100,2]]},"411":{"position":[[4280,2]]},"412":{"position":[[2420,2],[4280,2],[6074,4],[6990,3]]},"419":{"position":[[1833,2]]},"427":{"position":[[851,2]]},"461":{"position":[[243,2],[509,2],[593,2],[1181,2]]},"468":{"position":[[519,2],[612,2]]},"469":{"position":[[79,2],[525,2],[1153,2]]},"477":{"position":[[83,2]]},"498":{"position":[[205,2]]},"504":{"position":[[1202,2]]},"511":{"position":[[405,2]]},"531":{"position":[[405,2]]},"536":{"position":[[9,2]]},"538":{"position":[[179,2]]},"542":{"position":[[247,2]]},"554":{"position":[[269,2]]},"555":{"position":[[17,2]]},"562":{"position":[[1404,2]]},"567":{"position":[[236,2],[1052,2]]},"579":{"position":[[38,2]]},"587":{"position":[[66,2]]},"590":{"position":[[512,2],[668,2]]},"591":{"position":[[403,2]]},"596":{"position":[[9,2]]},"598":{"position":[[180,2]]},"602":{"position":[[505,2]]},"612":{"position":[[1069,2],[1696,2],[2374,2]]},"617":{"position":[[709,2]]},"632":{"position":[[82,2]]},"639":{"position":[[205,2]]},"644":{"position":[[38,2]]},"660":{"position":[[150,2]]},"662":{"position":[[741,2]]},"696":{"position":[[378,2],[1318,2],[1379,2],[1423,2],[1969,2]]},"697":{"position":[[245,2]]},"709":{"position":[[180,2]]},"710":{"position":[[826,3]]},"711":{"position":[[520,2],[1411,2]]},"723":{"position":[[1223,2]]},"772":{"position":[[501,2],[1263,2],[1827,2]]},"773":{"position":[[409,2]]},"780":{"position":[[243,2]]},"782":{"position":[[262,2],[320,2]]},"786":{"position":[[110,2]]},"799":{"position":[[26,2],[200,2]]},"815":{"position":[[22,2],[91,2]]},"816":{"position":[[36,2]]},"829":{"position":[[823,2],[3772,2]]},"837":{"position":[[518,2]]},"838":{"position":[[1484,3]]},"861":{"position":[[174,3],[230,2],[371,2],[916,2]]},"862":{"position":[[22,2],[88,2]]},"872":{"position":[[173,2]]},"875":{"position":[[5805,2],[8860,2]]},"879":{"position":[[72,2]]},"886":{"position":[[480,2]]},"887":{"position":[[15,2]]},"890":{"position":[[306,3]]},"897":{"position":[[341,2]]},"903":{"position":[[658,2]]},"908":{"position":[[224,3]]},"913":{"position":[[49,2]]},"955":{"position":[[79,2]]},"976":{"position":[[55,2]]},"977":{"position":[[56,2]]},"984":{"position":[[116,2]]},"997":{"position":[[91,3]]},"1007":{"position":[[214,2]]},"1009":{"position":[[183,2],[1060,2]]},"1022":{"position":[[360,2]]},"1030":{"position":[[244,2]]},"1080":{"position":[[1113,2]]},"1089":{"position":[[198,2]]},"1092":{"position":[[67,2],[555,3]]},"1094":{"position":[[565,2]]},"1095":{"position":[[27,2],[105,2]]},"1114":{"position":[[141,2]]},"1124":{"position":[[1138,2]]},"1126":{"position":[[244,2]]},"1135":{"position":[[177,2]]},"1143":{"position":[[182,2]]},"1198":{"position":[[2000,2]]},"1209":{"position":[[195,2],[433,2]]},"1242":{"position":[[112,2]]},"1302":{"position":[[43,2]]},"1311":{"position":[[1823,2]]},"1316":{"position":[[237,2],[1211,2]]},"1317":{"position":[[341,2]]}},"keywords":{}}],["up"",{"_index":5907,"title":{},"content":{"1087":{"position":[[36,8]]}},"keywords":{}}],["up.indexeddb",{"_index":1960,"title":{},"content":{"336":{"position":[[161,12]]}},"keywords":{}}],["updat",{"_index":545,"title":{"53":{"position":[[26,8]]},"77":{"position":[[43,6]]},"103":{"position":[[43,6]]},"136":{"position":[[10,8]]},"233":{"position":[[36,8]]},"335":{"position":[[0,8]]},"490":{"position":[[24,8]]},"540":{"position":[[26,8]]},"600":{"position":[[26,8]]},"1041":{"position":[[0,9]]},"1048":{"position":[[11,6]]},"1059":{"position":[[0,9]]}},"content":{"34":{"position":[[648,8]]},"39":{"position":[[200,7]]},"52":{"position":[[454,6]]},"53":{"position":[[106,7]]},"61":{"position":[[109,8]]},"68":{"position":[[186,7]]},"75":{"position":[[117,8]]},"77":{"position":[[68,6]]},"79":{"position":[[98,7]]},"99":{"position":[[80,7],[244,8]]},"103":{"position":[[74,7]]},"106":{"position":[[167,8]]},"121":{"position":[[131,7]]},"124":{"position":[[141,6]]},"129":{"position":[[45,6]]},"135":{"position":[[60,7]]},"136":{"position":[[25,7],[217,7],[229,6]]},"140":{"position":[[216,8]]},"141":{"position":[[285,8]]},"146":{"position":[[80,8],[201,8]]},"151":{"position":[[192,8]]},"152":{"position":[[285,8]]},"155":{"position":[[273,7]]},"156":{"position":[[140,7]]},"159":{"position":[[205,7]]},"164":{"position":[[208,7]]},"173":{"position":[[171,8],[970,6]]},"174":{"position":[[301,6],[381,7],[1150,8]]},"175":{"position":[[568,8]]},"181":{"position":[[193,7]]},"182":{"position":[[158,6]]},"185":{"position":[[89,6],[290,7]]},"196":{"position":[[170,8]]},"203":{"position":[[38,7]]},"205":{"position":[[284,7],[380,7]]},"208":{"position":[[141,7],[256,8]]},"220":{"position":[[293,7]]},"221":{"position":[[47,7],[249,6]]},"226":{"position":[[193,8],[312,7]]},"233":{"position":[[102,6],[224,7]]},"234":{"position":[[139,7]]},"235":{"position":[[174,6]]},"240":{"position":[[233,7]]},"250":{"position":[[121,6]]},"255":{"position":[[114,7]]},"275":{"position":[[142,7]]},"283":{"position":[[318,7]]},"289":{"position":[[869,7],[1268,7]]},"312":{"position":[[121,7]]},"323":{"position":[[46,7]]},"326":{"position":[[110,8],[183,6]]},"327":{"position":[[149,6],[251,7]]},"329":{"position":[[166,7]]},"330":{"position":[[161,8]]},"339":{"position":[[25,6]]},"344":{"position":[[119,8]]},"346":{"position":[[798,8]]},"357":{"position":[[238,8]]},"358":{"position":[[479,8]]},"360":{"position":[[414,8],[545,7]]},"367":{"position":[[401,8]]},"368":{"position":[[370,7]]},"369":{"position":[[1038,8],[1277,7]]},"375":{"position":[[783,7]]},"376":{"position":[[102,7]]},"379":{"position":[[133,7]]},"386":{"position":[[324,8]]},"403":{"position":[[45,6],[268,7],[395,6]]},"410":{"position":[[1629,7],[1874,7],[2041,8]]},"411":{"position":[[685,8],[1261,7],[2381,8],[2977,7],[3552,7],[3678,7]]},"412":{"position":[[11425,7],[11670,9],[13919,6]]},"415":{"position":[[485,8]]},"418":{"position":[[620,8]]},"421":{"position":[[266,8]]},"445":{"position":[[973,8]]},"446":{"position":[[739,7]]},"455":{"position":[[617,6]]},"461":{"position":[[468,7]]},"475":{"position":[[137,7]]},"476":{"position":[[215,7]]},"479":{"position":[[171,7]]},"481":{"position":[[82,7],[742,7]]},"483":{"position":[[145,8],[347,7]]},"487":{"position":[[117,7]]},"489":{"position":[[134,8],[744,6]]},"490":{"position":[[318,8],[628,7]]},"491":{"position":[[369,7],[459,6],[1736,7]]},"493":{"position":[[379,7]]},"494":{"position":[[242,7],[586,8]]},"496":{"position":[[65,6]]},"497":{"position":[[756,7]]},"498":{"position":[[299,7]]},"500":{"position":[[467,8]]},"502":{"position":[[862,7]]},"509":{"position":[[119,7]]},"515":{"position":[[154,9]]},"516":{"position":[[206,7]]},"518":{"position":[[191,7],[343,7]]},"523":{"position":[[159,6]]},"529":{"position":[[244,8]]},"535":{"position":[[904,7]]},"539":{"position":[[454,6]]},"541":{"position":[[162,8],[795,8]]},"542":{"position":[[965,7]]},"555":{"position":[[618,6],[668,8]]},"562":{"position":[[860,6],[920,7]]},"566":{"position":[[557,7]]},"570":{"position":[[451,8],[580,7]]},"571":{"position":[[220,6],[789,6]]},"574":{"position":[[280,8]]},"575":{"position":[[265,7]]},"580":{"position":[[66,6]]},"582":{"position":[[510,6]]},"585":{"position":[[190,7]]},"590":{"position":[[352,8]]},"595":{"position":[[827,6],[979,7]]},"599":{"position":[[481,6]]},"600":{"position":[[125,7]]},"601":{"position":[[67,8],[776,8]]},"610":{"position":[[670,7],[1618,7]]},"611":{"position":[[581,8]]},"612":{"position":[[64,7],[310,7]]},"618":{"position":[[731,7]]},"621":{"position":[[509,8]]},"623":{"position":[[243,7],[403,7]]},"624":{"position":[[540,8],[832,8]]},"626":{"position":[[266,8],[862,7]]},"630":{"position":[[550,8],[602,7]]},"631":{"position":[[280,7]]},"632":{"position":[[164,7],[368,8],[1716,7],[1852,10],[2437,7]]},"634":{"position":[[286,7],[565,7]]},"678":{"position":[[49,6],[105,6],[135,6]]},"679":{"position":[[348,6]]},"685":{"position":[[399,6],[474,7]]},"688":{"position":[[67,8]]},"689":{"position":[[299,6]]},"691":{"position":[[97,7],[123,7],[617,8]]},"696":{"position":[[1875,6]]},"700":{"position":[[418,6]]},"702":{"position":[[170,6],[455,7],[799,7]]},"703":{"position":[[1554,7]]},"723":{"position":[[1131,7],[1504,7],[1558,7],[1979,7]]},"749":{"position":[[8926,6],[16397,6],[16527,6],[23713,8]]},"754":{"position":[[594,6]]},"757":{"position":[[306,7]]},"781":{"position":[[284,7],[419,7],[481,7],[520,6],[858,7]]},"801":{"position":[[511,7]]},"802":{"position":[[377,8]]},"829":{"position":[[2836,8],[2932,7],[3031,6]]},"836":{"position":[[1484,7],[2406,7]]},"838":{"position":[[473,7]]},"841":{"position":[[610,7]]},"860":{"position":[[685,6]]},"861":{"position":[[2527,6]]},"870":{"position":[[125,7]]},"871":{"position":[[197,7],[405,7]]},"876":{"position":[[473,6],[601,7]]},"879":{"position":[[10,6],[458,8],[510,6]]},"880":{"position":[[177,8],[244,6]]},"881":{"position":[[49,6]]},"885":{"position":[[326,6]]},"896":{"position":[[223,7]]},"898":{"position":[[1218,6],[1296,6]]},"903":{"position":[[103,8]]},"941":{"position":[[227,7]]},"944":{"position":[[397,6]]},"948":{"position":[[533,6]]},"965":{"position":[[167,7]]},"981":{"position":[[840,7],[1368,7]]},"995":{"position":[[1445,6]]},"1004":{"position":[[756,7]]},"1039":{"position":[[159,8]]},"1041":{"position":[[1,7],[41,6],[132,6]]},"1042":{"position":[[1,7]]},"1044":{"position":[[270,6]]},"1048":{"position":[[411,8]]},"1059":{"position":[[9,6],[73,8],[110,6]]},"1106":{"position":[[407,8]]},"1115":{"position":[[427,6]]},"1117":{"position":[[476,6]]},"1132":{"position":[[956,7]]},"1150":{"position":[[64,7]]},"1188":{"position":[[237,6]]},"1198":{"position":[[2145,6]]},"1278":{"position":[[121,6]]},"1314":{"position":[[415,6],[637,6]]},"1316":{"position":[[868,6],[1082,7]]},"1318":{"position":[[189,7],[1182,7]]},"1319":{"position":[[57,6]]},"1320":{"position":[[916,6]]}},"keywords":{}}],["update:appl",{"_index":6474,"title":{},"content":{"1301":{"position":[[1067,12]]}},"keywords":{}}],["update_modified_datetim",{"_index":5205,"title":{},"content":{"898":{"position":[[1264,24]]}},"keywords":{}}],["updateat",{"_index":4994,"title":{},"content":{"875":{"position":[[2318,8],[2386,9],[2449,9],[2483,9],[4924,8]]}},"keywords":{}}],["updatecrdt",{"_index":3882,"title":{},"content":{"682":{"position":[[256,12]]}},"keywords":{}}],["updated/ad",{"_index":5549,"title":{},"content":{"1004":{"position":[[458,13]]}},"keywords":{}}],["updatedat",{"_index":2693,"title":{},"content":{"412":{"position":[[4928,9]]},"875":{"position":[[1660,9],[2137,9],[2277,9],[2466,9],[2500,9],[2669,9],[2716,10],[3192,9],[5408,10]]},"885":{"position":[[581,10],[676,10],[747,10],[1644,9],[2211,9],[2555,10]]},"886":{"position":[[542,10],[713,9],[749,9],[2427,9],[3626,10],[3664,9]]},"888":{"position":[[1159,10]]},"984":{"position":[[429,9]]},"986":{"position":[[1196,10]]},"988":{"position":[[4413,10],[5456,10],[5515,10]]},"991":{"position":[[133,9]]},"1309":{"position":[[852,9]]}},"keywords":{}}],["updatedat+id",{"_index":5449,"title":{},"content":{"986":{"position":[[1299,12]]}},"keywords":{}}],["updates.transpar",{"_index":3895,"title":{},"content":{"688":{"position":[[1017,20]]}},"keywords":{}}],["updates.y",{"_index":3909,"title":{},"content":{"690":{"position":[[393,11]]}},"keywords":{}}],["updates—keep",{"_index":3107,"title":{},"content":{"476":{"position":[[298,15]]}},"keywords":{}}],["upfront",{"_index":2432,"title":{},"content":{"399":{"position":[[501,8]]}},"keywords":{}}],["upgrad",{"_index":1890,"title":{},"content":{"314":{"position":[[929,7]]},"412":{"position":[[11287,9],[11463,7]]},"483":{"position":[[978,7]]},"636":{"position":[[132,7]]},"876":{"position":[[399,9]]},"990":{"position":[[1102,7]]}},"keywords":{}}],["upload",{"_index":3027,"title":{},"content":{"462":{"position":[[636,7]]}},"keywords":{}}],["upon",{"_index":1406,"title":{},"content":{"226":{"position":[[95,4]]},"287":{"position":[[1227,4]]},"480":{"position":[[112,4]]},"631":{"position":[[288,4]]},"636":{"position":[[337,4]]},"751":{"position":[[1,4]]}},"keywords":{}}],["upper",{"_index":2718,"title":{},"content":{"412":{"position":[[7236,5]]},"461":{"position":[[1068,5]]}},"keywords":{}}],["uproot",{"_index":2664,"title":{},"content":{"412":{"position":[[1467,8]]}},"keywords":{}}],["upsert",{"_index":5342,"title":{"946":{"position":[[0,9]]}},"content":{"947":{"position":[[9,8],[98,8]]},"948":{"position":[[19,6],[157,9],[203,6],[297,6],[703,6]]}},"keywords":{}}],["upsertloc",{"_index":5602,"title":{"1015":{"position":[[0,14]]}},"content":{},"keywords":{}}],["upsid",{"_index":2661,"title":{},"content":{"412":{"position":[[1181,6]]}},"keywords":{}}],["url",{"_index":3586,"title":{},"content":{"612":{"position":[[775,3]]},"616":{"position":[[803,3]]},"749":{"position":[[16133,3]]},"846":{"position":[[242,3],[281,4]]},"848":{"position":[[200,5],[607,4],[756,4],[1391,4]]},"851":{"position":[[227,4]]},"852":{"position":[[274,4]]},"872":{"position":[[4543,4]]},"875":{"position":[[3020,3],[7952,3]]},"876":{"position":[[455,5]]},"878":{"position":[[145,3],[380,4],[428,3]]},"879":{"position":[[104,3]]},"886":{"position":[[1061,4],[1091,4],[2693,4],[2723,4],[3880,4],[3910,4],[4036,4],[4579,6]]},"887":{"position":[[343,4]]},"888":{"position":[[484,4]]},"889":{"position":[[533,4]]},"893":{"position":[[402,4]]},"904":{"position":[[2620,4]]},"988":{"position":[[494,3]]},"1100":{"position":[[512,4],[531,4]]},"1101":{"position":[[753,4]]},"1149":{"position":[[1403,3],[1432,4]]},"1219":{"position":[[939,4]]},"1220":{"position":[[502,4]]},"1229":{"position":[[23,3]]},"1268":{"position":[[23,3]]}},"keywords":{}}],["url("worker.js"",{"_index":2265,"title":{},"content":{"392":{"position":[[3936,26]]}},"keywords":{}}],["url('./mi",{"_index":6329,"title":{},"content":{"1268":{"position":[[492,9]]}},"keywords":{}}],["us",{"_index":4,"title":{"46":{"position":[[4,3]]},"47":{"position":[[4,5]]},"87":{"position":[[0,3]]},"96":{"position":[[0,5]]},"127":{"position":[[0,5]]},"130":{"position":[[0,3]]},"142":{"position":[[19,5]]},"143":{"position":[[0,3]]},"144":{"position":[[0,3]]},"145":{"position":[[0,3]]},"171":{"position":[[0,5]]},"187":{"position":[[0,5]]},"202":{"position":[[14,3]]},"249":{"position":[[14,3]]},"267":{"position":[[0,3]]},"284":{"position":[[0,5]]},"286":{"position":[[0,5]]},"332":{"position":[[0,5]]},"346":{"position":[[19,5]]},"372":{"position":[[0,5]]},"375":{"position":[[0,3]]},"420":{"position":[[19,3]]},"423":{"position":[[0,5]]},"428":{"position":[[17,3]]},"430":{"position":[[12,3]]},"431":{"position":[[8,3]]},"446":{"position":[[0,3]]},"497":{"position":[[23,3]]},"503":{"position":[[0,5]]},"522":{"position":[[0,5]]},"523":{"position":[[0,5]]},"534":{"position":[[4,3]]},"535":{"position":[[11,3]]},"563":{"position":[[8,5]]},"590":{"position":[[19,5]]},"594":{"position":[[4,3]]},"595":{"position":[[11,3]]},"601":{"position":[[0,5]]},"602":{"position":[[0,5]]},"624":{"position":[[20,3]]},"655":{"position":[[0,5]]},"687":{"position":[[12,3]]},"717":{"position":[[0,5]]},"718":{"position":[[0,5]]},"723":{"position":[[12,5]]},"724":{"position":[[0,5]]},"736":{"position":[[0,3]]},"745":{"position":[[0,5]]},"747":{"position":[[0,5]]},"765":{"position":[[0,3]]},"795":{"position":[[0,3]]},"802":{"position":[[0,3]]},"818":{"position":[[0,5]]},"857":{"position":[[0,5]]},"860":{"position":[[15,3]]},"904":{"position":[[0,5]]},"1021":{"position":[[0,3]]},"1029":{"position":[[0,5]]},"1089":{"position":[[0,5]]},"1090":{"position":[[0,3]]},"1095":{"position":[[0,3]]},"1098":{"position":[[0,5]]},"1099":{"position":[[0,5]]},"1124":{"position":[[0,3]]},"1125":{"position":[[0,5]]},"1126":{"position":[[0,5]]},"1138":{"position":[[0,5]]},"1144":{"position":[[7,3]]},"1146":{"position":[[0,5]]},"1148":{"position":[[3,3]]},"1149":{"position":[[3,3]]},"1158":{"position":[[7,3]]},"1177":{"position":[[0,5]]},"1182":{"position":[[0,5]]},"1189":{"position":[[0,5]]},"1204":{"position":[[0,5]]},"1210":{"position":[[0,5]]},"1211":{"position":[[0,5]]},"1213":{"position":[[57,4]]},"1222":{"position":[[0,5]]},"1257":{"position":[[10,3]]},"1271":{"position":[[0,5]]},"1273":{"position":[[0,5]]},"1293":{"position":[[34,3]]},"1310":{"position":[[0,5]]},"1311":{"position":[[0,5]]}},"content":{"1":{"position":[[29,3],[189,3]]},"2":{"position":[[24,3]]},"3":{"position":[[59,3]]},"4":{"position":[[51,4],[253,3]]},"5":{"position":[[126,3]]},"6":{"position":[[14,4],[170,4],[618,3]]},"7":{"position":[[14,4],[144,4],[180,3],[453,3]]},"8":{"position":[[1,4],[96,3],[629,5],[696,3]]},"9":{"position":[[1,4],[113,3]]},"11":{"position":[[1,4],[55,4]]},"13":{"position":[[296,3]]},"14":{"position":[[911,3],[999,4]]},"15":{"position":[[354,4]]},"16":{"position":[[477,4]]},"17":{"position":[[135,4],[290,4],[399,4]]},"19":{"position":[[1007,3]]},"21":{"position":[[65,6]]},"24":{"position":[[636,3]]},"25":{"position":[[111,4]]},"26":{"position":[[221,4]]},"27":{"position":[[215,4]]},"28":{"position":[[656,5]]},"29":{"position":[[245,6]]},"30":{"position":[[61,4]]},"33":{"position":[[469,4],[542,5]]},"34":{"position":[[107,4]]},"35":{"position":[[504,6]]},"36":{"position":[[481,3]]},"38":{"position":[[635,4],[768,4],[917,3]]},"39":{"position":[[388,4]]},"42":{"position":[[272,3]]},"43":{"position":[[267,4],[322,4],[653,3]]},"45":{"position":[[296,3]]},"46":{"position":[[170,5]]},"51":{"position":[[73,5]]},"55":{"position":[[150,5],[1002,3]]},"56":{"position":[[171,5]]},"57":{"position":[[441,5]]},"58":{"position":[[37,3],[123,3]]},"59":{"position":[[264,3]]},"63":{"position":[[163,4]]},"65":{"position":[[209,4],[622,3],[1434,5]]},"68":{"position":[[21,3]]},"73":{"position":[[23,4]]},"84":{"position":[[399,5]]},"105":{"position":[[22,4]]},"114":{"position":[[412,5]]},"122":{"position":[[300,6]]},"128":{"position":[[4,3],[114,5],[268,5]]},"129":{"position":[[9,4],[312,5]]},"130":{"position":[[173,3]]},"131":{"position":[[132,4],[824,6]]},"132":{"position":[[252,5]]},"133":{"position":[[294,6]]},"139":{"position":[[58,5]]},"141":{"position":[[231,6]]},"143":{"position":[[83,5]]},"149":{"position":[[412,5]]},"162":{"position":[[554,4],[814,3]]},"165":{"position":[[166,5]]},"173":{"position":[[243,5],[3129,4]]},"175":{"position":[[403,5]]},"177":{"position":[[172,5]]},"185":{"position":[[159,6]]},"188":{"position":[[122,4],[297,4],[411,3],[535,4],[1622,3],[2058,3]]},"189":{"position":[[175,4],[328,4],[600,6]]},"194":{"position":[[25,4]]},"197":{"position":[[132,4]]},"202":{"position":[[295,5]]},"203":{"position":[[178,5]]},"207":{"position":[[122,4]]},"210":{"position":[[16,5]]},"211":{"position":[[539,3]]},"212":{"position":[[14,4],[589,4]]},"215":{"position":[[198,5],[298,6]]},"218":{"position":[[169,5]]},"225":{"position":[[80,4]]},"230":{"position":[[67,5]]},"231":{"position":[[31,5],[182,5]]},"238":{"position":[[126,5]]},"239":{"position":[[173,5]]},"241":{"position":[[46,5]]},"251":{"position":[[232,5]]},"254":{"position":[[351,3]]},"255":{"position":[[1658,5]]},"260":{"position":[[1,3]]},"261":{"position":[[96,5],[525,3]]},"265":{"position":[[30,5]]},"266":{"position":[[867,4],[1003,3],[1082,6]]},"267":{"position":[[90,3],[1452,3]]},"269":{"position":[[183,5]]},"284":{"position":[[146,3]]},"287":{"position":[[126,3],[819,6]]},"298":{"position":[[212,3],[519,3]]},"299":{"position":[[1498,4]]},"300":{"position":[[75,3],[157,4],[408,4]]},"303":{"position":[[137,4],[1244,5]]},"313":{"position":[[108,3]]},"314":{"position":[[72,3]]},"315":{"position":[[128,5]]},"320":{"position":[[130,3]]},"321":{"position":[[440,3]]},"325":{"position":[[277,3]]},"326":{"position":[[8,3]]},"331":{"position":[[39,3]]},"333":{"position":[[131,3]]},"334":{"position":[[159,4]]},"335":{"position":[[69,3],[134,5]]},"336":{"position":[[108,4],[254,4],[424,4]]},"344":{"position":[[1,3]]},"347":{"position":[[410,5]]},"357":{"position":[[637,4]]},"360":{"position":[[259,4]]},"362":{"position":[[1481,5]]},"364":{"position":[[90,4],[125,5]]},"365":{"position":[[1008,5]]},"366":{"position":[[601,4]]},"367":{"position":[[562,4]]},"372":{"position":[[34,3]]},"373":{"position":[[46,5]]},"376":{"position":[[463,5]]},"383":{"position":[[148,5]]},"386":{"position":[[60,3]]},"390":{"position":[[1080,3],[1719,3]]},"391":{"position":[[382,5]]},"392":{"position":[[181,3],[790,3],[862,4],[2213,3],[3212,5],[5028,6]]},"393":{"position":[[464,3]]},"396":{"position":[[660,4],[870,5],[1736,3],[1893,3]]},"398":{"position":[[356,3]]},"399":{"position":[[297,5]]},"400":{"position":[[518,3],[541,4]]},"401":{"position":[[930,3]]},"402":{"position":[[1004,5],[1159,4],[1198,5],[1704,3],[1927,4],[2012,4],[2055,4],[2357,3]]},"403":{"position":[[78,4]]},"405":{"position":[[106,3]]},"408":{"position":[[3334,3],[3342,5],[4677,3],[4758,3],[5229,6]]},"409":{"position":[[74,3]]},"410":{"position":[[1021,5]]},"411":{"position":[[2295,6],[3507,5],[4171,3],[4926,3]]},"412":{"position":[[256,3],[856,3],[1757,3],[2918,3],[3283,3],[3754,5],[3911,5],[4535,4],[4588,4],[4663,4],[5226,3],[6386,3],[7128,3],[7931,4],[9058,4],[10039,4],[12976,5],[13231,4],[14416,3],[14477,3],[14814,3],[15331,3]]},"416":{"position":[[293,4]]},"418":{"position":[[198,3]]},"419":{"position":[[1516,3],[1706,5]]},"420":{"position":[[455,5],[591,4],[1135,5],[1454,3]]},"422":{"position":[[159,3],[381,4]]},"425":{"position":[[262,5],[341,5],[429,5]]},"429":{"position":[[484,4]]},"430":{"position":[[73,3],[1028,5]]},"432":{"position":[[766,3],[1018,5]]},"433":{"position":[[423,5]]},"436":{"position":[[383,3]]},"439":{"position":[[104,3],[305,4],[637,5]]},"440":{"position":[[260,3],[384,3],[430,3]]},"444":{"position":[[417,3]]},"445":{"position":[[985,4]]},"447":{"position":[[546,4]]},"449":{"position":[[75,3]]},"450":{"position":[[113,4]]},"452":{"position":[[189,4],[801,7]]},"453":{"position":[[266,4],[561,3]]},"454":{"position":[[502,3]]},"455":{"position":[[66,3],[188,5],[527,3],[918,5]]},"456":{"position":[[130,5]]},"457":{"position":[[373,3]]},"458":{"position":[[420,5],[683,4],[1066,3],[1311,4],[1381,4],[1447,3]]},"460":{"position":[[259,3],[344,3],[457,3],[741,4],[1073,4],[1178,4]]},"461":{"position":[[1177,3]]},"462":{"position":[[240,3]]},"463":{"position":[[313,5],[1218,5]]},"464":{"position":[[1369,5]]},"468":{"position":[[136,4],[217,3],[320,4],[394,5],[628,4]]},"469":{"position":[[235,3],[950,5]]},"471":{"position":[[91,3]]},"481":{"position":[[6,4]]},"490":{"position":[[495,4]]},"491":{"position":[[1652,3]]},"494":{"position":[[488,3]]},"495":{"position":[[222,4]]},"496":{"position":[[215,3]]},"497":{"position":[[9,3],[272,3]]},"511":{"position":[[412,5]]},"520":{"position":[[415,4]]},"521":{"position":[[1,5],[267,4]]},"524":{"position":[[402,4],[647,4],[679,5],[737,5],[903,5]]},"531":{"position":[[412,5]]},"534":{"position":[[154,5],[311,5]]},"535":{"position":[[1277,3]]},"538":{"position":[[205,5]]},"540":{"position":[[155,5]]},"542":{"position":[[709,5]]},"543":{"position":[[28,5],[234,3]]},"544":{"position":[[396,5]]},"548":{"position":[[14,3],[145,7]]},"551":{"position":[[283,3]]},"554":{"position":[[106,3],[277,5],[317,4],[407,3],[626,3],[687,3]]},"555":{"position":[[803,4]]},"556":{"position":[[218,5],[1097,5],[1366,3],[1559,3]]},"557":{"position":[[14,3],[94,5],[182,3]]},"559":{"position":[[1550,3]]},"560":{"position":[[558,3]]},"562":{"position":[[1606,5]]},"563":{"position":[[650,5]]},"566":{"position":[[770,4]]},"567":{"position":[[898,5]]},"570":{"position":[[737,3]]},"577":{"position":[[37,5]]},"579":{"position":[[115,5]]},"580":{"position":[[186,3]]},"581":{"position":[[155,4],[260,4]]},"590":{"position":[[270,3],[429,5]]},"591":{"position":[[410,5]]},"594":{"position":[[152,5],[309,5]]},"598":{"position":[[206,5]]},"603":{"position":[[28,5],[232,3]]},"604":{"position":[[330,5]]},"608":{"position":[[14,3],[145,7]]},"610":{"position":[[100,4]]},"611":{"position":[[958,3],[1290,3]]},"613":{"position":[[733,3],[972,3],[1066,5]]},"614":{"position":[[554,4],[744,3],[990,5]]},"616":{"position":[[973,4],[1196,3]]},"617":{"position":[[482,3],[705,3],[964,5],[1126,3],[1178,3],[1277,3],[1899,3],[2331,3]]},"618":{"position":[[134,4]]},"619":{"position":[[251,5],[349,4]]},"620":{"position":[[690,3]]},"623":{"position":[[280,4],[337,4]]},"624":{"position":[[100,3],[1326,3],[1591,3]]},"626":{"position":[[635,4],[741,4],[899,4]]},"627":{"position":[[64,5]]},"628":{"position":[[98,3],[193,3]]},"632":{"position":[[1238,5]]},"635":{"position":[[215,4]]},"642":{"position":[[78,5]]},"653":{"position":[[78,3],[1371,4]]},"655":{"position":[[335,3]]},"656":{"position":[[381,3]]},"659":{"position":[[190,3]]},"660":{"position":[[199,3]]},"661":{"position":[[214,3],[424,3],[808,3],[1413,5],[1843,3]]},"662":{"position":[[450,4],[528,3],[936,3],[1091,3],[1176,3]]},"675":{"position":[[117,3]]},"676":{"position":[[6,4],[110,4]]},"678":{"position":[[177,4]]},"679":{"position":[[168,4]]},"680":{"position":[[4,3],[274,3],[995,3]]},"681":{"position":[[228,5],[607,5]]},"682":{"position":[[150,3]]},"683":{"position":[[533,3],[655,3]]},"686":{"position":[[76,4],[161,3],[302,3],[413,4],[499,5],[731,5],[779,3]]},"687":{"position":[[18,3],[227,3],[268,5]]},"688":{"position":[[167,3],[218,3]]},"689":{"position":[[534,5]]},"690":{"position":[[1,3],[233,3]]},"693":{"position":[[4,3],[530,3]]},"696":{"position":[[944,3],[1054,4],[1314,3]]},"697":{"position":[[176,4]]},"698":{"position":[[955,3],[3065,5],[3163,3]]},"700":{"position":[[919,3],[1018,3]]},"703":{"position":[[686,3],[1256,3],[1619,3]]},"705":{"position":[[310,3]]},"707":{"position":[[424,3]]},"708":{"position":[[92,3],[533,3]]},"709":{"position":[[18,4],[890,5],[1184,5],[1232,5],[1296,3]]},"710":{"position":[[110,4],[360,4],[487,3],[739,3],[952,3],[1020,5],[1233,3],[2307,3],[2466,5]]},"711":{"position":[[245,5],[427,3],[704,3],[1910,5]]},"712":{"position":[[14,3],[199,3]]},"714":{"position":[[518,4],[1002,3]]},"716":{"position":[[30,4],[446,3]]},"717":{"position":[[272,4],[380,4],[1046,5]]},"719":{"position":[[216,3]]},"721":{"position":[[12,5],[251,3]]},"723":{"position":[[803,4],[1919,5],[2291,3]]},"724":{"position":[[571,4],[1682,3]]},"728":{"position":[[135,3]]},"729":{"position":[[10,3]]},"730":{"position":[[85,3]]},"736":{"position":[[266,5]]},"737":{"position":[[505,3]]},"746":{"position":[[367,4],[619,4]]},"749":{"position":[[744,4],[881,4],[1031,4],[1780,3],[2125,4],[2874,3],[3207,4],[3575,4],[4258,4],[4390,3],[4641,3],[5046,3],[5656,3],[6133,4],[6881,4],[7233,3],[12065,3],[12782,3],[13670,3],[20022,4],[20158,4],[20323,4],[20481,4],[20582,4],[20750,4],[20921,3],[21773,3],[22607,4],[22762,4],[22853,3],[22948,4],[23793,4]]},"751":{"position":[[762,5]]},"752":{"position":[[1374,3]]},"753":{"position":[[119,3]]},"755":{"position":[[8,3]]},"756":{"position":[[8,3]]},"759":{"position":[[534,5]]},"760":{"position":[[530,5]]},"761":{"position":[[77,3],[256,3]]},"764":{"position":[[276,6]]},"765":{"position":[[16,6]]},"770":{"position":[[67,3],[218,3]]},"772":{"position":[[593,3],[1882,3],[2108,4]]},"773":{"position":[[27,3],[53,3],[340,4],[358,4]]},"774":{"position":[[107,3],[374,5],[411,4]]},"775":{"position":[[1,5],[624,3]]},"776":{"position":[[240,3],[286,4]]},"783":{"position":[[17,4],[250,3],[310,4]]},"785":{"position":[[260,3]]},"789":{"position":[[336,3]]},"791":{"position":[[237,3]]},"795":{"position":[[68,3]]},"796":{"position":[[791,3]]},"797":{"position":[[228,5]]},"798":{"position":[[753,5],[1001,4]]},"799":{"position":[[356,3],[404,3]]},"800":{"position":[[613,4]]},"801":{"position":[[105,3],[893,3]]},"802":{"position":[[594,3]]},"806":{"position":[[731,3]]},"808":{"position":[[463,5]]},"810":{"position":[[41,3]]},"815":{"position":[[284,3]]},"816":{"position":[[418,4]]},"817":{"position":[[164,4]]},"820":{"position":[[234,3],[294,4],[512,3]]},"821":{"position":[[39,3],[160,3],[294,3],[483,3],[555,3],[770,3]]},"824":{"position":[[436,5]]},"825":{"position":[[33,3],[502,3],[1082,4]]},"828":{"position":[[376,4]]},"829":{"position":[[909,3],[1025,5],[2292,3]]},"830":{"position":[[274,5]]},"831":{"position":[[192,5]]},"834":{"position":[[51,4],[102,3],[120,3]]},"835":{"position":[[665,3]]},"836":{"position":[[216,3],[357,5],[388,3],[1141,5],[1260,5]]},"837":{"position":[[290,4],[834,3],[1014,3],[1048,3],[1224,3],[2013,4]]},"838":{"position":[[970,4],[1183,3],[1210,3],[1397,3],[1614,3],[2263,3],[2389,5],[3081,5],[3190,5],[3391,3]]},"839":{"position":[[477,3],[1208,4]]},"840":{"position":[[471,5],[656,3]]},"842":{"position":[[21,5],[109,3]]},"846":{"position":[[1398,4],[1527,4],[1550,4]]},"847":{"position":[[86,5]]},"849":{"position":[[418,3],[563,3],[698,3],[733,3],[777,3]]},"854":{"position":[[1125,3],[1207,4],[1699,3]]},"857":{"position":[[17,4],[569,3]]},"858":{"position":[[113,5],[467,3]]},"861":{"position":[[16,3],[93,3],[1458,3],[2019,3],[2249,4]]},"863":{"position":[[919,3]]},"865":{"position":[[179,3]]},"871":{"position":[[777,3]]},"872":{"position":[[309,5],[429,5],[1489,3],[3048,4]]},"875":{"position":[[1370,4],[1541,3],[1581,4],[1639,3],[1711,4],[4223,4],[4351,4],[5666,3],[6566,4],[6927,3],[7037,3],[7091,4]]},"882":{"position":[[60,4]]},"884":{"position":[[12,3]]},"885":{"position":[[103,4],[1231,4],[2421,3]]},"886":{"position":[[283,3],[1448,5],[1795,4],[4020,3],[5011,3]]},"888":{"position":[[260,3]]},"889":{"position":[[986,4],[1063,3]]},"890":{"position":[[94,4],[416,4]]},"894":{"position":[[4,3],[39,3]]},"897":{"position":[[77,5],[151,5],[235,5],[291,5],[528,3]]},"898":{"position":[[574,3],[2053,3],[2128,3],[2808,3],[2869,3]]},"901":{"position":[[256,4]]},"902":{"position":[[938,3]]},"904":{"position":[[12,3],[1723,4],[2030,3],[2220,3],[2361,3],[2395,4],[2636,3],[2713,3]]},"906":{"position":[[238,4],[427,3],[542,4],[813,4]]},"910":{"position":[[104,4],[162,3]]},"911":{"position":[[289,3],[457,3]]},"912":{"position":[[53,5]]},"916":{"position":[[16,3]]},"917":{"position":[[466,3],[535,5],[558,3]]},"932":{"position":[[565,3]]},"934":{"position":[[547,4],[811,4]]},"935":{"position":[[59,4]]},"936":{"position":[[77,4]]},"942":{"position":[[1,3]]},"943":{"position":[[163,6]]},"944":{"position":[[49,3]]},"945":{"position":[[49,3],[311,3]]},"949":{"position":[[39,3]]},"950":{"position":[[185,3]]},"952":{"position":[[1,3],[127,5]]},"953":{"position":[[47,3]]},"958":{"position":[[356,3]]},"961":{"position":[[115,3],[274,4]]},"962":{"position":[[120,3],[209,3],[228,3],[382,4],[477,3],[526,3],[604,3],[841,3]]},"963":{"position":[[26,3]]},"965":{"position":[[213,4]]},"968":{"position":[[23,3]]},"971":{"position":[[1,3],[239,5]]},"972":{"position":[[46,3]]},"975":{"position":[[167,3]]},"977":{"position":[[39,3],[196,5],[230,6]]},"981":{"position":[[729,3],[1525,4]]},"983":{"position":[[52,3]]},"984":{"position":[[102,4],[463,4]]},"986":{"position":[[4,3],[262,5],[546,4],[1444,4]]},"987":{"position":[[809,3]]},"988":{"position":[[1146,3],[1786,4],[2196,5],[3089,4],[4569,4],[4942,3],[5013,5]]},"989":{"position":[[80,4],[234,4]]},"990":{"position":[[385,3],[614,4],[988,3],[1147,4]]},"991":{"position":[[156,3]]},"992":{"position":[[79,4]]},"995":{"position":[[498,4],[1191,5],[1350,5],[1427,3]]},"996":{"position":[[124,4]]},"999":{"position":[[88,4]]},"1006":{"position":[[143,3]]},"1014":{"position":[[284,3]]},"1020":{"position":[[118,4],[274,4]]},"1021":{"position":[[86,3]]},"1024":{"position":[[86,3]]},"1033":{"position":[[354,5]]},"1040":{"position":[[106,5]]},"1044":{"position":[[113,4],[237,3]]},"1047":{"position":[[207,3]]},"1048":{"position":[[114,6],[130,3]]},"1051":{"position":[[128,3]]},"1052":{"position":[[468,3]]},"1058":{"position":[[103,4]]},"1059":{"position":[[65,3]]},"1064":{"position":[[4,3],[44,3],[264,3]]},"1065":{"position":[[113,3],[157,3],[334,5],[562,5],[908,5]]},"1066":{"position":[[134,5],[303,5],[559,5]]},"1067":{"position":[[118,3],[269,5],[1073,5],[1261,5],[1720,3]]},"1071":{"position":[[39,4],[102,3]]},"1072":{"position":[[2537,3]]},"1074":{"position":[[219,4]]},"1077":{"position":[[74,4]]},"1078":{"position":[[351,4],[442,4],[756,5]]},"1079":{"position":[[181,3]]},"1080":{"position":[[312,4],[502,4],[777,4],[1037,3],[1084,3]]},"1081":{"position":[[4,3]]},"1082":{"position":[[443,4]]},"1084":{"position":[[24,4],[101,4],[219,3],[576,4]]},"1085":{"position":[[668,3],[3509,3]]},"1088":{"position":[[390,3]]},"1089":{"position":[[213,5]]},"1090":{"position":[[61,3],[389,3]]},"1091":{"position":[[135,3]]},"1092":{"position":[[24,3],[386,6]]},"1093":{"position":[[284,5]]},"1094":{"position":[[203,3]]},"1097":{"position":[[401,3]]},"1098":{"position":[[44,3]]},"1099":{"position":[[44,3]]},"1101":{"position":[[172,4]]},"1102":{"position":[[135,3],[821,5]]},"1104":{"position":[[181,4],[443,4],[816,4]]},"1105":{"position":[[53,4],[251,4],[394,3],[447,3],[870,3]]},"1106":{"position":[[55,4],[265,4]]},"1107":{"position":[[153,3],[384,4],[472,3],[976,3]]},"1108":{"position":[[252,3],[354,4],[627,4]]},"1111":{"position":[[89,5]]},"1112":{"position":[[226,3]]},"1114":{"position":[[123,4],[163,3]]},"1115":{"position":[[232,3],[508,4]]},"1117":{"position":[[193,5]]},"1118":{"position":[[120,3],[190,6],[224,3]]},"1120":{"position":[[389,4],[540,3]]},"1121":{"position":[[84,3]]},"1123":{"position":[[660,5]]},"1124":{"position":[[1,5],[96,3],[446,3],[1217,4],[1326,3],[2094,3]]},"1125":{"position":[[4,3],[491,4],[899,3]]},"1126":{"position":[[10,3],[447,3],[768,3]]},"1130":{"position":[[321,3]]},"1132":{"position":[[1,5],[71,5],[170,4]]},"1133":{"position":[[46,4],[360,3],[606,5],[661,3]]},"1134":{"position":[[523,3]]},"1135":{"position":[[75,3],[226,3]]},"1138":{"position":[[4,3],[84,3]]},"1139":{"position":[[155,5]]},"1140":{"position":[[304,3],[375,3]]},"1141":{"position":[[174,3]]},"1143":{"position":[[33,4],[313,4],[343,3]]},"1145":{"position":[[151,5]]},"1146":{"position":[[91,3],[138,3]]},"1147":{"position":[[125,5]]},"1149":{"position":[[81,3],[254,6],[568,5]]},"1151":{"position":[[88,5],[635,3],[762,3]]},"1152":{"position":[[67,3]]},"1154":{"position":[[536,3],[590,3]]},"1157":{"position":[[369,4]]},"1159":{"position":[[107,5],[167,4]]},"1161":{"position":[[206,4]]},"1162":{"position":[[308,4],[1080,5]]},"1163":{"position":[[183,3],[269,5]]},"1164":{"position":[[559,3]]},"1165":{"position":[[160,3],[543,3],[1004,3]]},"1167":{"position":[[14,4]]},"1171":{"position":[[232,4]]},"1172":{"position":[[169,3]]},"1174":{"position":[[10,3],[64,4]]},"1175":{"position":[[6,5]]},"1176":{"position":[[131,4]]},"1177":{"position":[[156,3]]},"1178":{"position":[[88,5],[634,3],[761,3]]},"1180":{"position":[[206,4]]},"1181":{"position":[[395,4]]},"1182":{"position":[[183,3],[269,5]]},"1183":{"position":[[136,3],[223,4],[269,3],[533,3]]},"1184":{"position":[[83,3],[251,3]]},"1188":{"position":[[26,5]]},"1189":{"position":[[94,3],[164,3]]},"1191":{"position":[[398,3],[500,3]]},"1192":{"position":[[561,4],[689,3]]},"1193":{"position":[[189,3],[281,3]]},"1195":{"position":[[126,3]]},"1196":{"position":[[79,5],[170,3]]},"1198":{"position":[[58,3],[1322,3],[1477,3],[1522,3],[1726,5],[1822,3],[2043,5]]},"1202":{"position":[[10,3]]},"1204":{"position":[[157,3]]},"1206":{"position":[[602,3]]},"1207":{"position":[[381,4]]},"1208":{"position":[[43,4],[227,4],[392,5],[576,3]]},"1210":{"position":[[69,3]]},"1211":{"position":[[121,3],[327,4],[395,5]]},"1213":{"position":[[10,3],[62,3],[345,4],[374,5],[778,3]]},"1214":{"position":[[259,3],[342,3],[757,3],[875,3],[966,4]]},"1215":{"position":[[283,3]]},"1219":{"position":[[119,4]]},"1220":{"position":[[32,4]]},"1222":{"position":[[291,3],[348,3],[1049,3]]},"1225":{"position":[[393,3]]},"1226":{"position":[[330,4]]},"1227":{"position":[[194,4],[417,3],[501,4]]},"1228":{"position":[[145,4]]},"1229":{"position":[[144,4]]},"1231":{"position":[[34,5]]},"1233":{"position":[[7,3],[117,3],[164,3]]},"1235":{"position":[[17,3],[106,3],[282,3],[393,3],[459,3]]},"1237":{"position":[[110,3],[256,3],[408,4]]},"1238":{"position":[[142,3],[374,3]]},"1239":{"position":[[111,4],[213,4],[368,3]]},"1241":{"position":[[113,4]]},"1243":{"position":[[63,3]]},"1244":{"position":[[139,4]]},"1245":{"position":[[53,3]]},"1246":{"position":[[700,3],[882,4],[1355,4],[1490,3],[1720,4],[1828,4],[1961,4],[2030,3]]},"1247":{"position":[[67,4],[255,3],[440,3],[610,3]]},"1249":{"position":[[323,5]]},"1250":{"position":[[19,4]]},"1251":{"position":[[119,5],[175,4]]},"1252":{"position":[[4,5]]},"1263":{"position":[[287,3]]},"1264":{"position":[[246,4]]},"1265":{"position":[[187,4],[410,3],[495,4]]},"1266":{"position":[[57,5],[112,4],[787,4]]},"1267":{"position":[[309,3],[550,3]]},"1271":{"position":[[364,5],[502,3],[710,3],[895,4],[917,4],[1251,3],[1318,4]]},"1272":{"position":[[313,5]]},"1274":{"position":[[158,3]]},"1275":{"position":[[44,3]]},"1276":{"position":[[24,3],[116,3],[552,3]]},"1277":{"position":[[110,3],[482,5],[669,3]]},"1278":{"position":[[35,4],[80,3],[154,3],[195,3],[673,3]]},"1279":{"position":[[230,3]]},"1281":{"position":[[70,3]]},"1282":{"position":[[63,4],[370,3],[433,4]]},"1284":{"position":[[134,5],[418,3]]},"1286":{"position":[[66,5]]},"1287":{"position":[[40,3],[175,5],[217,3]]},"1288":{"position":[[128,4]]},"1292":{"position":[[42,5],[515,4]]},"1294":{"position":[[1846,5],[2117,4]]},"1295":{"position":[[35,4],[402,3],[1528,4]]},"1296":{"position":[[493,3],[1189,3],[1602,5],[1725,5],[1857,4]]},"1297":{"position":[[400,5]]},"1299":{"position":[[86,5],[404,4]]},"1300":{"position":[[30,5]]},"1301":{"position":[[89,3],[578,3],[1138,3]]},"1304":{"position":[[2026,5]]},"1307":{"position":[[678,5]]},"1309":{"position":[[167,4],[589,4],[1022,3]]},"1311":{"position":[[48,3],[1412,3],[1637,3],[1678,3]]},"1313":{"position":[[38,4],[502,4],[695,5],[970,5],[1036,3]]},"1314":{"position":[[183,3]]},"1315":{"position":[[355,3],[1135,5]]},"1316":{"position":[[2099,3],[2993,4],[3579,3]]},"1320":{"position":[[4,3],[304,3],[332,3],[485,3]]},"1324":{"position":[[221,4],[566,4]]}},"keywords":{}}],["us/docs/web/api/sharedworker?retiredlocale=d",{"_index":6268,"title":{},"content":{"1226":{"position":[[515,45]]}},"keywords":{}}],["us/docs/web/api/worker/work",{"_index":6302,"title":{},"content":{"1264":{"position":[[418,29]]}},"keywords":{}}],["usabl",{"_index":584,"title":{},"content":{"37":{"position":[[398,6]]},"323":{"position":[[199,6]]},"375":{"position":[[110,6]]},"411":{"position":[[5760,10]]},"421":{"position":[[1007,6]]},"432":{"position":[[1173,9]]},"582":{"position":[[93,7]]},"611":{"position":[[1123,6]]},"613":{"position":[[836,9]]},"617":{"position":[[75,9]]},"749":{"position":[[14210,6]]},"1031":{"position":[[262,7]]},"1040":{"position":[[292,6]]}},"keywords":{}}],["usag",{"_index":581,"title":{"300":{"position":[[32,6]]},"414":{"position":[[25,6]]},"672":{"position":[[0,5]]},"673":{"position":[[0,5]]},"674":{"position":[[0,5]]},"759":{"position":[[0,6]]},"766":{"position":[[0,6]]},"779":{"position":[[10,5]]},"820":{"position":[[0,6]]},"829":{"position":[[0,6]]},"846":{"position":[[0,6]]},"854":{"position":[[0,6]]},"866":{"position":[[0,6]]},"878":{"position":[[0,6]]},"884":{"position":[[0,6]]},"1130":{"position":[[0,6]]},"1134":{"position":[[0,6]]},"1154":{"position":[[0,6]]},"1163":{"position":[[0,6]]},"1172":{"position":[[0,6]]},"1201":{"position":[[0,6]]},"1218":{"position":[[0,6]]},"1219":{"position":[[0,5]]},"1224":{"position":[[0,6]]},"1274":{"position":[[0,5]]},"1275":{"position":[[0,5]]},"1276":{"position":[[0,5]]},"1277":{"position":[[0,5]]},"1278":{"position":[[0,5]]},"1279":{"position":[[0,5]]},"1280":{"position":[[0,5]]}},"content":{"37":{"position":[[282,6]]},"46":{"position":[[645,5]]},"57":{"position":[[435,5]]},"227":{"position":[[40,5]]},"236":{"position":[[205,6]]},"277":{"position":[[297,6]]},"298":{"position":[[42,5]]},"299":{"position":[[362,5]]},"301":{"position":[[35,5],[273,5]]},"306":{"position":[[106,6]]},"314":{"position":[[604,5]]},"315":{"position":[[1143,6]]},"336":{"position":[[202,6]]},"358":{"position":[[731,6]]},"361":{"position":[[300,6]]},"366":{"position":[[530,6]]},"412":{"position":[[9298,5],[10324,6]]},"433":{"position":[[379,5],[636,6]]},"473":{"position":[[231,5]]},"477":{"position":[[95,5],[259,5]]},"523":{"position":[[241,5]]},"559":{"position":[[172,5]]},"560":{"position":[[648,5]]},"563":{"position":[[190,6],[833,5]]},"566":{"position":[[610,5],[1220,5],[1396,5]]},"581":{"position":[[218,5]]},"587":{"position":[[105,6]]},"632":{"position":[[237,5]]},"639":{"position":[[186,5]]},"643":{"position":[[284,5]]},"696":{"position":[[718,6]]},"737":{"position":[[40,5]]},"779":{"position":[[88,5]]},"798":{"position":[[102,6]]},"832":{"position":[[149,5]]},"839":{"position":[[395,6]]},"841":{"position":[[1320,5]]},"886":{"position":[[4639,5]]},"995":{"position":[[554,5],[601,5]]},"1009":{"position":[[853,5]]},"1018":{"position":[[631,5]]},"1088":{"position":[[201,5]]},"1193":{"position":[[240,5]]}},"keywords":{}}],["usageacceler",{"_index":1882,"title":{},"content":{"311":{"position":[[209,17]]}},"keywords":{}}],["usagereact",{"_index":3116,"title":{},"content":{"479":{"position":[[140,13]]}},"keywords":{}}],["usage—brows",{"_index":2074,"title":{},"content":{"359":{"position":[[83,15]]}},"keywords":{}}],["usecas",{"_index":5623,"title":{"1022":{"position":[[0,8]]},"1023":{"position":[[0,8]]},"1024":{"position":[[0,8]]}},"content":{},"keywords":{}}],["usedspac",{"_index":1774,"title":{},"content":{"300":{"position":[[305,9],[422,11]]}},"keywords":{}}],["useeffect",{"_index":3305,"title":{},"content":{"541":{"position":[[191,9],[295,12]]},"559":{"position":[[211,9],[413,12]]},"562":{"position":[[1052,10],[1166,12]]},"829":{"position":[[1257,10],[1459,12]]}},"keywords":{}}],["useful.learn",{"_index":3384,"title":{},"content":{"557":{"position":[[276,12]]}},"keywords":{}}],["useliverxqueri",{"_index":4761,"title":{},"content":{"829":{"position":[[3101,14],[3238,14]]},"832":{"position":[[210,15]]}},"keywords":{}}],["useliverxquery(queri",{"_index":4762,"title":{},"content":{"829":{"position":[[3429,22]]}},"keywords":{}}],["user",{"_index":70,"title":{"97":{"position":[[46,5]]},"352":{"position":[[22,4]]},"410":{"position":[[0,4]]},"486":{"position":[[7,4]]},"782":{"position":[[46,4]]},"1090":{"position":[[32,4]]}},"content":{"4":{"position":[[180,5]]},"19":{"position":[[578,4]]},"35":{"position":[[642,4]]},"37":{"position":[[414,4]]},"39":{"position":[[147,4]]},"46":{"position":[[151,5],[533,4]]},"61":{"position":[[508,4]]},"65":{"position":[[412,4],[557,4],[600,5],[935,4],[994,4],[1418,5],[1928,4],[2108,4]]},"68":{"position":[[201,4]]},"69":{"position":[[160,4],[194,5]]},"70":{"position":[[236,4]]},"73":{"position":[[57,4]]},"77":{"position":[[50,4],[150,4]]},"83":{"position":[[393,4]]},"87":{"position":[[236,4],[271,4]]},"88":{"position":[[108,5],[200,4]]},"89":{"position":[[339,6]]},"90":{"position":[[168,4],[322,4]]},"91":{"position":[[52,6]]},"93":{"position":[[229,4]]},"95":{"position":[[240,4]]},"97":{"position":[[86,5],[110,5]]},"101":{"position":[[267,4]]},"103":{"position":[[221,4]]},"114":{"position":[[582,4]]},"117":{"position":[[156,4],[301,4]]},"125":{"position":[[301,4]]},"136":{"position":[[240,4],[350,4]]},"148":{"position":[[286,4]]},"152":{"position":[[333,4]]},"156":{"position":[[321,4]]},"157":{"position":[[277,5]]},"160":{"position":[[229,4]]},"173":{"position":[[981,4],[1480,5],[1825,5],[2748,5],[2807,5]]},"174":{"position":[[312,4]]},"175":{"position":[[590,4]]},"178":{"position":[[155,4],[405,4]]},"183":{"position":[[283,5]]},"185":{"position":[[322,4]]},"191":{"position":[[296,4]]},"198":{"position":[[449,4]]},"205":{"position":[[418,4]]},"206":{"position":[[188,5]]},"212":{"position":[[27,5],[627,5]]},"215":{"position":[[180,5]]},"216":{"position":[[212,4]]},"217":{"position":[[239,5]]},"218":{"position":[[127,4]]},"221":{"position":[[300,4]]},"237":{"position":[[196,5]]},"250":{"position":[[104,5],[286,4]]},"253":{"position":[[259,4]]},"265":{"position":[[487,4]]},"267":{"position":[[640,5],[1101,6],[1674,6]]},"269":{"position":[[345,4]]},"270":{"position":[[142,4],[189,4]]},"274":{"position":[[187,5]]},"275":{"position":[[109,4],[261,4]]},"277":{"position":[[328,6]]},"280":{"position":[[425,4],[485,5]]},"283":{"position":[[440,4]]},"289":{"position":[[1345,5]]},"292":{"position":[[222,5],[345,4]]},"295":{"position":[[262,6]]},"298":{"position":[[62,4],[444,4],[604,5]]},"299":{"position":[[399,4],[571,4]]},"300":{"position":[[659,5]]},"302":{"position":[[496,4],[953,4]]},"305":{"position":[[55,4],[471,4]]},"310":{"position":[[226,6]]},"312":{"position":[[217,4],[310,4]]},"318":{"position":[[436,4]]},"321":{"position":[[114,4]]},"323":{"position":[[538,4]]},"328":{"position":[[280,5]]},"330":{"position":[[103,5]]},"338":{"position":[[95,5]]},"340":{"position":[[138,5]]},"343":{"position":[[118,4]]},"346":{"position":[[707,4]]},"353":{"position":[[678,4]]},"354":{"position":[[1585,4]]},"361":{"position":[[996,4]]},"362":{"position":[[993,4]]},"369":{"position":[[836,4]]},"375":{"position":[[207,5],[692,5],[946,4]]},"377":{"position":[[17,4],[342,4]]},"380":{"position":[[405,4]]},"385":{"position":[[348,4]]},"386":{"position":[[88,4]]},"388":{"position":[[360,4]]},"394":{"position":[[233,4]]},"399":{"position":[[194,5],[239,5]]},"403":{"position":[[169,5]]},"407":{"position":[[519,6],[606,5],[712,4],[980,6],[1155,4]]},"408":{"position":[[588,4],[683,4],[3243,4]]},"409":{"position":[[289,5]]},"410":{"position":[[409,5],[485,4],[610,5],[1002,5],[1486,5],[2161,4]]},"411":{"position":[[424,5],[604,5],[986,4],[2361,5],[4036,4],[4322,4],[4787,5],[5316,5],[5471,5]]},"412":{"position":[[762,4],[3101,5],[3120,4],[3626,4],[5116,4],[5895,5],[5960,5],[6965,4],[7640,5],[7919,4],[8029,5],[8727,4],[9582,4],[10586,5],[11896,4],[12285,4],[12324,5],[12432,4],[12560,4],[12681,5],[15153,4]]},"414":{"position":[[416,4]]},"415":{"position":[[431,5]]},"416":{"position":[[519,6]]},"417":{"position":[[14,5],[369,5]]},"418":{"position":[[213,5],[568,5]]},"419":{"position":[[383,4]]},"420":{"position":[[1184,5]]},"421":{"position":[[34,5],[780,5],[902,5],[1159,6]]},"424":{"position":[[311,4],[430,4]]},"426":{"position":[[299,4],[375,4],[469,4]]},"427":{"position":[[383,4]]},"439":{"position":[[224,5],[525,4]]},"445":{"position":[[1205,4],[1538,4],[2504,4]]},"446":{"position":[[205,5],[653,5],[1068,4]]},"447":{"position":[[496,4]]},"454":{"position":[[739,5]]},"458":{"position":[[92,4],[345,5],[360,6]]},"461":{"position":[[495,4],[558,4]]},"469":{"position":[[1261,5]]},"473":{"position":[[184,4]]},"474":{"position":[[191,5]]},"475":{"position":[[132,4]]},"477":{"position":[[313,4]]},"481":{"position":[[553,4]]},"482":{"position":[[823,4]]},"483":{"position":[[831,4],[1286,4]]},"485":{"position":[[63,4]]},"486":{"position":[[41,5],[242,5]]},"487":{"position":[[85,4],[475,4]]},"489":{"position":[[346,5],[716,5]]},"491":{"position":[[949,4]]},"495":{"position":[[275,4],[291,5],[466,4]]},"496":{"position":[[560,4]]},"497":{"position":[[492,5]]},"498":{"position":[[590,4],[623,5],[705,5]]},"500":{"position":[[269,4],[645,5]]},"501":{"position":[[400,4]]},"502":{"position":[[466,5],[828,4],[885,5]]},"506":{"position":[[180,4]]},"507":{"position":[[165,4]]},"509":{"position":[[134,4]]},"510":{"position":[[106,4],[606,4],[769,5]]},"514":{"position":[[392,4]]},"516":{"position":[[157,5]]},"517":{"position":[[380,4]]},"519":{"position":[[297,5]]},"524":{"position":[[896,6]]},"526":{"position":[[72,4]]},"530":{"position":[[123,4]]},"534":{"position":[[103,4],[548,4]]},"550":{"position":[[186,4]]},"557":{"position":[[501,6]]},"559":{"position":[[1347,5],[1533,4]]},"560":{"position":[[335,4]]},"564":{"position":[[67,4],[1066,4]]},"565":{"position":[[35,4]]},"567":{"position":[[695,4],[1160,4]]},"569":{"position":[[1201,5]]},"571":{"position":[[270,4],[372,4],[1660,5]]},"574":{"position":[[215,5]]},"582":{"position":[[459,4],[743,4]]},"589":{"position":[[9,5],[208,4]]},"590":{"position":[[841,4]]},"594":{"position":[[101,4],[546,4]]},"617":{"position":[[608,4],[806,6],[1888,5]]},"619":{"position":[[27,6]]},"630":{"position":[[37,4],[189,4],[325,4],[357,4],[527,4],[1028,4]]},"634":{"position":[[194,4],[281,4],[631,4]]},"635":{"position":[[418,5]]},"638":{"position":[[43,4]]},"642":{"position":[[307,4]]},"643":{"position":[[341,4]]},"644":{"position":[[257,4],[710,4]]},"659":{"position":[[1001,4]]},"680":{"position":[[1159,6]]},"686":{"position":[[246,5]]},"687":{"position":[[139,4]]},"688":{"position":[[664,4]]},"690":{"position":[[126,4]]},"691":{"position":[[26,5]]},"696":{"position":[[347,4],[484,4],[1465,4],[1666,6]]},"697":{"position":[[284,4],[563,5]]},"698":{"position":[[21,5],[1947,5],[2005,5],[2137,5],[2772,5]]},"699":{"position":[[889,4]]},"700":{"position":[[198,4],[407,4],[533,4],[640,4]]},"701":{"position":[[113,6],[125,4],[212,5],[360,4],[694,4],[1073,6]]},"702":{"position":[[832,4]]},"703":{"position":[[86,5],[1397,4]]},"707":{"position":[[261,4]]},"711":{"position":[[1285,5],[1341,5]]},"715":{"position":[[233,4]]},"719":{"position":[[438,4]]},"723":{"position":[[313,5],[494,5],[2193,5],[2744,5]]},"752":{"position":[[321,4],[1355,5]]},"753":{"position":[[223,5]]},"759":{"position":[[1169,9],[1235,9],[1265,5]]},"772":{"position":[[950,6]]},"778":{"position":[[36,4],[196,4],[525,4]]},"779":{"position":[[112,4]]},"781":{"position":[[28,6],[167,4]]},"782":{"position":[[30,4],[135,5],[284,4],[397,4]]},"783":{"position":[[453,4],[604,4]]},"785":{"position":[[97,4],[659,5]]},"796":{"position":[[502,5],[697,4],[871,5]]},"798":{"position":[[362,4]]},"801":{"position":[[243,4],[482,4],[576,4]]},"817":{"position":[[149,5]]},"821":{"position":[[719,5],[840,5]]},"835":{"position":[[351,4],[1055,4]]},"839":{"position":[[342,4]]},"841":{"position":[[1344,4]]},"854":{"position":[[1383,4]]},"860":{"position":[[85,4],[861,5]]},"863":{"position":[[903,5]]},"904":{"position":[[2066,5],[2177,5],[2261,5]]},"912":{"position":[[141,4],[556,4],[645,5]]},"964":{"position":[[229,4]]},"977":{"position":[[278,5]]},"981":{"position":[[1309,5]]},"1009":{"position":[[133,4],[268,5],[406,4],[669,5]]},"1030":{"position":[[66,4]]},"1085":{"position":[[2141,4]]},"1088":{"position":[[236,4]]},"1090":{"position":[[48,6]]},"1092":{"position":[[364,6]]},"1093":{"position":[[178,6],[277,6]]},"1104":{"position":[[17,5],[35,4],[761,4],[780,4]]},"1121":{"position":[[130,5],[159,5],[312,5]]},"1123":{"position":[[333,5]]},"1140":{"position":[[149,4]]},"1148":{"position":[[107,4],[313,4]]},"1151":{"position":[[441,5]]},"1178":{"position":[[440,5]]},"1198":{"position":[[892,6],[1212,5]]},"1207":{"position":[[846,5]]},"1215":{"position":[[312,4],[610,5],[630,4]]},"1252":{"position":[[157,4]]},"1294":{"position":[[283,4]]},"1296":{"position":[[266,4]]},"1297":{"position":[[201,4]]},"1301":{"position":[[79,5]]},"1304":{"position":[[1110,5]]},"1313":{"position":[[579,4],[673,4]]},"1314":{"position":[[77,4]]},"1316":{"position":[[84,5],[398,5],[586,5],[613,5],[740,6]]},"1317":{"position":[[227,4],[583,4]]},"1318":{"position":[[228,4]]}},"keywords":{}}],["user'",{"_index":697,"title":{},"content":{"45":{"position":[[184,6]]},"63":{"position":[[77,6]]},"65":{"position":[[1745,6]]},"323":{"position":[[220,6]]},"365":{"position":[[635,6]]},"376":{"position":[[133,6]]},"391":{"position":[[105,6]]},"411":{"position":[[2905,6]]},"412":{"position":[[625,6],[3436,6],[6892,6],[7062,6]]},"419":{"position":[[1016,6]]},"424":{"position":[[137,6]]},"444":{"position":[[494,6]]},"461":{"position":[[1134,6]]},"497":{"position":[[586,6]]},"500":{"position":[[158,6]]},"575":{"position":[[603,6]]},"636":{"position":[[142,6]]}},"keywords":{}}],["user.onlin",{"_index":2784,"title":{},"content":{"415":{"position":[[239,11]]}},"keywords":{}}],["user.us",{"_index":1212,"title":{},"content":{"173":{"position":[[2971,10]]}},"keywords":{}}],["userid",{"_index":4888,"title":{},"content":{"858":{"position":[[361,7]]},"1105":{"position":[[481,6],[580,6]]}},"keywords":{}}],["userinput",{"_index":2306,"title":{},"content":{"394":{"position":[[594,9]]}},"keywords":{}}],["usernam",{"_index":3388,"title":{},"content":{"559":{"position":[[276,10],[497,12]]}},"keywords":{}}],["username"",{"_index":3400,"title":{},"content":{"559":{"position":[[703,14]]}},"keywords":{}}],["username}</p>",{"_index":3402,"title":{},"content":{"559":{"position":[[741,20]]}},"keywords":{}}],["users"",{"_index":4012,"title":{},"content":{"711":{"position":[[1794,13]]}},"keywords":{}}],["users.serv",{"_index":3671,"title":{},"content":{"623":{"position":[[166,12]]}},"keywords":{}}],["userscollect",{"_index":5065,"title":{},"content":{"878":{"position":[[315,16]]},"1101":{"position":[[688,16]]}},"keywords":{}}],["usersecret",{"_index":3138,"title":{},"content":{"482":{"position":[[780,12]]}},"keywords":{}}],["userxcollect",{"_index":3264,"title":{},"content":{"523":{"position":[[254,15]]},"829":{"position":[[1902,15]]},"832":{"position":[[230,17]]}},"keywords":{}}],["userxcollection('charact",{"_index":3266,"title":{},"content":{"523":{"position":[[346,30]]}},"keywords":{}}],["userxcollection('hero",{"_index":4756,"title":{},"content":{"829":{"position":[[1966,26]]}},"keywords":{}}],["userxqueri",{"_index":3265,"title":{},"content":{"523":{"position":[[274,10]]},"829":{"position":[[2300,10],[2326,10]]},"832":{"position":[[198,11]]}},"keywords":{}}],["userxquery(queri",{"_index":3271,"title":{},"content":{"523":{"position":[[514,17]]},"829":{"position":[[2514,18]]}},"keywords":{}}],["user’",{"_index":1719,"title":{},"content":{"298":{"position":[[543,6]]},"300":{"position":[[616,6]]},"302":{"position":[[10,6]]},"407":{"position":[[219,6]]},"559":{"position":[[75,6]]},"902":{"position":[[402,6]]}},"keywords":{}}],["usesign",{"_index":3185,"title":{},"content":{"494":{"position":[[504,10]]}},"keywords":{}}],["usesrxdatabaseinwork",{"_index":4178,"title":{"1213":{"position":[[8,22]]}},"content":{"749":{"position":[[3434,22],[3526,22]]},"1213":{"position":[[527,22],[697,23]]}},"keywords":{}}],["usest",{"_index":3304,"title":{},"content":{"541":{"position":[[181,9],[281,13]]},"559":{"position":[[201,9],[302,11]]},"562":{"position":[[1063,8],[1152,13]]},"829":{"position":[[1268,8],[1447,11]]}},"keywords":{}}],["usual",{"_index":1965,"title":{},"content":{"336":{"position":[[540,7]]},"358":{"position":[[171,7]]},"412":{"position":[[8294,7],[12930,7],[15024,7]]},"432":{"position":[[289,7]]},"495":{"position":[[866,7]]},"560":{"position":[[517,7]]},"561":{"position":[[175,9]]},"829":{"position":[[43,6],[1100,7]]},"898":{"position":[[4430,8]]},"932":{"position":[[1403,5]]},"1157":{"position":[[279,7]]}},"keywords":{}}],["ut1",{"_index":4132,"title":{},"content":{"749":{"position":[[9,3]]}},"keywords":{}}],["ut2",{"_index":4135,"title":{},"content":{"749":{"position":[[97,3]]}},"keywords":{}}],["ut3",{"_index":4139,"title":{},"content":{"749":{"position":[[444,3]]}},"keywords":{}}],["ut4",{"_index":4140,"title":{},"content":{"749":{"position":[[571,3]]}},"keywords":{}}],["ut5",{"_index":4141,"title":{},"content":{"749":{"position":[[662,3]]}},"keywords":{}}],["ut6",{"_index":4142,"title":{},"content":{"749":{"position":[[815,3]]}},"keywords":{}}],["ut7",{"_index":4143,"title":{},"content":{"749":{"position":[[952,3]]}},"keywords":{}}],["ut8",{"_index":4145,"title":{},"content":{"749":{"position":[[1087,3]]}},"keywords":{}}],["util",{"_index":936,"title":{"398":{"position":[[35,11]]}},"content":{"65":{"position":[[2016,7]]},"96":{"position":[[1,9]]},"104":{"position":[[6,8]]},"156":{"position":[[72,8]]},"162":{"position":[[264,8]]},"173":{"position":[[665,8]]},"174":{"position":[[470,8]]},"175":{"position":[[436,9]]},"180":{"position":[[31,8]]},"189":{"position":[[397,8]]},"219":{"position":[[108,9]]},"221":{"position":[[106,9]]},"228":{"position":[[316,11]]},"289":{"position":[[689,9]]},"365":{"position":[[456,8]]},"385":{"position":[[46,7]]},"390":{"position":[[1867,7]]},"392":{"position":[[4890,7]]},"393":{"position":[[321,7],[894,9]]},"402":{"position":[[2173,9]]},"426":{"position":[[142,9]]},"445":{"position":[[1967,9]]},"446":{"position":[[1253,9]]},"452":{"position":[[208,7]]},"469":{"position":[[1224,9]]},"480":{"position":[[1059,7]]},"494":{"position":[[21,7]]},"508":{"position":[[219,12]]},"540":{"position":[[198,9]]},"554":{"position":[[157,8]]},"559":{"position":[[1727,8]]},"571":{"position":[[1723,8]]},"614":{"position":[[440,9]]},"723":{"position":[[43,8]]},"802":{"position":[[1,9]]},"824":{"position":[[609,10]]},"1023":{"position":[[9,7]]},"1087":{"position":[[102,9]]},"1088":{"position":[[4,7]]},"1132":{"position":[[366,9]]},"1149":{"position":[[306,7]]},"1238":{"position":[[13,7]]},"1284":{"position":[[254,5]]},"1294":{"position":[[62,8]]}},"keywords":{}}],["ux",{"_index":2587,"title":{"778":{"position":[[0,2]]}},"content":{"410":{"position":[[19,3],[306,2]]}},"keywords":{}}],["v",{"_index":3503,"title":{},"content":{"580":{"position":[[767,1]]},"601":{"position":[[155,1]]},"602":{"position":[[530,1]]},"861":{"position":[[399,1]]},"887":{"position":[[613,3],[628,2]]},"1115":{"position":[[342,1],[408,1],[416,1],[478,1]]},"1290":{"position":[[126,1]]},"1291":{"position":[[110,3]]}},"keywords":{}}],["v.includ",{"_index":6390,"title":{},"content":{"1290":{"position":[[134,15]]},"1291":{"position":[[131,16]]}},"keywords":{}}],["v1",{"_index":2468,"title":{},"content":{"401":{"position":[[493,2],[530,2]]}},"keywords":{}}],["v14",{"_index":4506,"title":{},"content":{"761":{"position":[[562,4]]}},"keywords":{}}],["v15",{"_index":4504,"title":{},"content":{"761":{"position":[[438,3]]}},"keywords":{}}],["v2",{"_index":2215,"title":{},"content":{"391":{"position":[[413,2],[556,5]]},"401":{"position":[[216,2],[302,2],[341,2],[388,2],[435,2]]},"402":{"position":[[1915,2]]},"1141":{"position":[[264,3]]}},"keywords":{}}],["v2.x.x",{"_index":6034,"title":{},"content":{"1133":{"position":[[194,7]]}},"keywords":{}}],["v6.3.x).due",{"_index":6039,"title":{},"content":{"1133":{"position":[[484,11]]}},"keywords":{}}],["v7.3.x",{"_index":6035,"title":{},"content":{"1133":{"position":[[263,6]]}},"keywords":{}}],["val",{"_index":5991,"title":{},"content":{"1116":{"position":[[339,3],[389,3],[425,3],[477,3],[524,3],[593,3],[644,3]]}},"keywords":{}}],["valid",{"_index":2023,"title":{"367":{"position":[[7,10]]},"382":{"position":[[7,10]]},"764":{"position":[[16,8]]},"907":{"position":[[5,11]]},"1106":{"position":[[7,10]]},"1285":{"position":[[7,10]]},"1286":{"position":[[0,8]]},"1287":{"position":[[0,8]]},"1288":{"position":[[0,8],[20,6]]},"1292":{"position":[[30,11]]},"1317":{"position":[[12,11]]}},"content":{"354":{"position":[[594,10]]},"360":{"position":[[767,11]]},"364":{"position":[[446,8]]},"367":{"position":[[422,10],[476,10],[519,5]]},"491":{"position":[[1048,11]]},"495":{"position":[[383,10]]},"497":{"position":[[361,11],[690,11]]},"556":{"position":[[1425,8],[2003,5]]},"686":{"position":[[916,10]]},"703":{"position":[[274,8]]},"749":{"position":[[597,5],[2311,5],[12904,5],[13204,5],[16293,5],[21795,10],[21915,5],[23983,5],[24302,5]]},"764":{"position":[[28,10],[185,10],[291,8]]},"767":{"position":[[157,10]]},"793":{"position":[[417,10]]},"872":{"position":[[614,5]]},"880":{"position":[[35,5],[55,7]]},"888":{"position":[[183,5]]},"907":{"position":[[216,5]]},"934":{"position":[[151,5]]},"942":{"position":[[73,8]]},"944":{"position":[[577,10]]},"1084":{"position":[[32,8],[251,5]]},"1085":{"position":[[986,11]]},"1104":{"position":[[607,5]]},"1106":{"position":[[12,9],[273,8]]},"1132":{"position":[[486,10]]},"1227":{"position":[[462,5]]},"1237":{"position":[[271,10]]},"1251":{"position":[[112,6],[180,8]]},"1265":{"position":[[456,5]]},"1286":{"position":[[3,10],[42,11],[79,9],[352,10]]},"1287":{"position":[[17,5],[27,8],[62,10],[193,9],[398,10]]},"1288":{"position":[[25,5],[31,10],[95,8],[115,5],[144,5],[161,11],[260,7],[358,10]]},"1289":{"position":[[12,10]]},"1290":{"position":[[116,9]]},"1292":{"position":[[333,9],[687,9],[766,9],[946,9]]},"1317":{"position":[[49,9],[95,10],[315,10],[662,6]]}},"keywords":{}}],["validatepassword",{"_index":4302,"title":{},"content":{"749":{"position":[[12965,17]]}},"keywords":{}}],["validationremov",{"_index":4516,"title":{},"content":{"765":{"position":[[127,18]]}},"keywords":{}}],["validuntil",{"_index":5952,"title":{},"content":{"1104":{"position":[[367,11],[505,10]]}},"keywords":{}}],["valu",{"_index":557,"title":{"1122":{"position":[[33,5]]}},"content":{"35":{"position":[[349,5]]},"45":{"position":[[130,5]]},"63":{"position":[[125,5]]},"317":{"position":[[45,5]]},"356":{"position":[[461,6]]},"369":{"position":[[368,6]]},"390":{"position":[[484,7]]},"395":{"position":[[438,7]]},"396":{"position":[[1206,6],[1454,6]]},"397":{"position":[[32,6],[140,6],[284,6]]},"398":{"position":[[671,6],[3386,5]]},"402":{"position":[[956,7],[1182,5],[1212,5],[1487,5],[1534,5]]},"403":{"position":[[710,7]]},"424":{"position":[[180,5]]},"426":{"position":[[53,5]]},"427":{"position":[[495,5]]},"429":{"position":[[200,5],[558,6]]},"432":{"position":[[225,5],[1258,5],[1442,5]]},"441":{"position":[[177,5]]},"450":{"position":[[86,5],[318,6]]},"451":{"position":[[138,5],[266,5]]},"457":{"position":[[127,6]]},"459":{"position":[[1056,7]]},"468":{"position":[[174,5]]},"494":{"position":[[535,5]]},"533":{"position":[[160,5]]},"551":{"position":[[238,5]]},"559":{"position":[[56,5]]},"560":{"position":[[64,5],[388,5]]},"566":{"position":[[58,5]]},"567":{"position":[[995,5]]},"593":{"position":[[160,5]]},"659":{"position":[[529,6],[564,5]]},"681":{"position":[[358,5]]},"711":{"position":[[1347,6]]},"719":{"position":[[369,5]]},"749":{"position":[[3712,5],[4555,5],[11367,5],[17433,6],[21343,6],[23870,5],[24258,5]]},"764":{"position":[[144,5]]},"772":{"position":[[287,5]]},"804":{"position":[[67,5]]},"808":{"position":[[71,5],[328,6]]},"811":{"position":[[160,7]]},"829":{"position":[[2083,5]]},"831":{"position":[[185,6]]},"835":{"position":[[491,5]]},"837":{"position":[[1531,8]]},"841":{"position":[[82,5]]},"875":{"position":[[4933,6]]},"881":{"position":[[68,6]]},"886":{"position":[[1676,5]]},"887":{"position":[[40,6],[514,6]]},"898":{"position":[[4206,6]]},"950":{"position":[[101,5]]},"951":{"position":[[42,7]]},"986":{"position":[[945,5]]},"988":{"position":[[2032,6],[2094,5],[2164,6]]},"995":{"position":[[1280,5]]},"1039":{"position":[[56,6],[75,5],[168,5]]},"1040":{"position":[[88,6],[225,7]]},"1042":{"position":[[96,6]]},"1048":{"position":[[42,5]]},"1049":{"position":[[17,6]]},"1050":{"position":[[29,5]]},"1058":{"position":[[65,6]]},"1077":{"position":[[124,5]]},"1078":{"position":[[468,7]]},"1082":{"position":[[9,6],[132,7]]},"1107":{"position":[[264,5]]},"1109":{"position":[[133,5]]},"1115":{"position":[[116,5],[161,6],[197,5],[274,6],[299,5],[366,5],[434,5]]},"1123":{"position":[[37,5],[483,5]]},"1124":{"position":[[971,5]]},"1132":{"position":[[825,5]]},"1138":{"position":[[529,5]]},"1151":{"position":[[494,5]]},"1164":{"position":[[1174,5]]},"1177":{"position":[[390,6]]},"1178":{"position":[[493,5]]},"1206":{"position":[[246,5]]},"1222":{"position":[[746,6],[775,5],[824,5]]},"1226":{"position":[[312,5]]},"1246":{"position":[[1869,5]]},"1247":{"position":[[568,5]]},"1264":{"position":[[228,5]]},"1284":{"position":[[322,7]]},"1294":{"position":[[1295,7]]},"1296":{"position":[[1502,6],[1783,6]]},"1320":{"position":[[779,5]]}},"keywords":{}}],["valuabl",{"_index":899,"title":{},"content":{"64":{"position":[[170,8]]},"65":{"position":[[1981,8]]},"148":{"position":[[461,8]]},"267":{"position":[[912,8]]},"276":{"position":[[190,8]]},"370":{"position":[[280,8]]},"441":{"position":[[66,8]]},"526":{"position":[[228,8]]},"802":{"position":[[423,8]]}},"keywords":{}}],["value."",{"_index":4015,"title":{},"content":{"714":{"position":[[659,12]]}},"keywords":{}}],["value={usernam",{"_index":3396,"title":{},"content":{"559":{"position":[[610,16]]}},"keywords":{}}],["valueth",{"_index":5807,"title":{},"content":{"1074":{"position":[[401,8]]}},"keywords":{}}],["var",{"_index":3855,"title":{},"content":{"674":{"position":[[275,3]]},"1039":{"position":[[184,3]]},"1040":{"position":[[174,3],[233,3]]}},"keywords":{}}],["var/run/docker.sock:/var/run/docker.sock",{"_index":4895,"title":{},"content":{"861":{"position":[[577,41]]}},"keywords":{}}],["vari",{"_index":1705,"title":{},"content":{"298":{"position":[[144,4]]},"393":{"position":[[540,4]]},"461":{"position":[[654,6],[875,7]]},"696":{"position":[[1279,5]]},"841":{"position":[[980,6]]}},"keywords":{}}],["variabl",{"_index":1254,"title":{"729":{"position":[[20,9]]},"1202":{"position":[[20,9]]}},"content":{"188":{"position":[[1013,8]]},"299":{"position":[[615,10]]},"402":{"position":[[806,9],[861,9]]},"440":{"position":[[320,9]]},"674":{"position":[[109,8]]},"729":{"position":[[214,8]]},"817":{"position":[[60,10]]},"886":{"position":[[214,9],[811,10],[2458,9],[2535,9],[3698,10]]},"910":{"position":[[45,8]]},"1202":{"position":[[253,8]]},"1267":{"position":[[297,8]]}},"keywords":{}}],["variant",{"_index":3721,"title":{},"content":{"643":{"position":[[142,7]]}},"keywords":{}}],["varieti",{"_index":671,"title":{},"content":{"43":{"position":[[279,7]]},"179":{"position":[[176,7]]},"381":{"position":[[98,7]]},"613":{"position":[[169,7]]}},"keywords":{}}],["variou",{"_index":554,"title":{"72":{"position":[[27,7]]},"112":{"position":[[27,7]]},"492":{"position":[[17,7]]}},"content":{"35":{"position":[[270,7]]},"39":{"position":[[627,7]]},"60":{"position":[[39,7]]},"67":{"position":[[132,7]]},"72":{"position":[[131,7]]},"82":{"position":[[61,7]]},"113":{"position":[[95,7]]},"146":{"position":[[15,7]]},"162":{"position":[[15,7]]},"165":{"position":[[172,7]]},"174":{"position":[[2674,7],[3011,7]]},"192":{"position":[[145,7]]},"238":{"position":[[86,7]]},"267":{"position":[[45,7]]},"269":{"position":[[263,7]]},"280":{"position":[[494,7]]},"286":{"position":[[33,7]]},"288":{"position":[[167,7]]},"365":{"position":[[800,7]]},"368":{"position":[[114,7]]},"390":{"position":[[1174,7]]},"393":{"position":[[114,7]]},"396":{"position":[[1,7]]},"401":{"position":[[74,7]]},"420":{"position":[[1416,7]]},"441":{"position":[[577,7]]},"444":{"position":[[340,7]]},"469":{"position":[[1323,7]]},"479":{"position":[[218,7]]},"481":{"position":[[252,7]]},"483":{"position":[[267,7]]},"500":{"position":[[754,7]]},"502":{"position":[[1329,7]]},"504":{"position":[[42,7]]},"525":{"position":[[523,7]]},"543":{"position":[[226,7]]},"547":{"position":[[39,7]]},"565":{"position":[[100,7]]},"603":{"position":[[224,7]]},"607":{"position":[[39,7]]},"620":{"position":[[203,7]]},"736":{"position":[[94,7]]},"860":{"position":[[1010,7]]},"1072":{"position":[[1675,7]]},"1102":{"position":[[27,7]]},"1209":{"position":[[381,7]]},"1249":{"position":[[247,7]]},"1272":{"position":[[270,7]]}},"keywords":{}}],["vary.synchron",{"_index":6097,"title":{},"content":{"1157":{"position":[[199,16]]}},"keywords":{}}],["vd1",{"_index":4410,"title":{},"content":{"749":{"position":[[22026,3]]}},"keywords":{}}],["vd2",{"_index":4412,"title":{},"content":{"749":{"position":[[22146,3]]}},"keywords":{}}],["vector",{"_index":1501,"title":{"389":{"position":[[6,6]]},"390":{"position":[[10,6]]},"393":{"position":[[10,7]]},"394":{"position":[[14,6]]},"396":{"position":[[0,6]]},"398":{"position":[[14,6]]},"404":{"position":[[44,6]]}},"content":{"244":{"position":[[808,6]]},"252":{"position":[[275,6]]},"390":{"position":[[3,6],[117,8],[375,6],[495,7],[753,6],[834,7],[862,6],[1133,6],[1380,6],[1651,6],[1825,6],[1912,6]]},"391":{"position":[[43,6],[953,6]]},"392":{"position":[[1140,6],[1517,7],[2064,6],[2592,6]]},"393":{"position":[[91,7],[196,8],[498,8],[762,7],[887,6],[1151,7]]},"394":{"position":[[71,6]]},"395":{"position":[[381,6]]},"396":{"position":[[42,7],[1064,8],[1106,6],[1164,7]]},"397":{"position":[[1516,8],[1724,7]]},"398":{"position":[[527,7],[1892,6],[3475,6],[3523,6]]},"400":{"position":[[786,6]]},"401":{"position":[[168,6],[651,6]]},"402":{"position":[[78,6],[263,7],[676,7],[721,7],[2513,6]]},"403":{"position":[[753,8]]},"404":{"position":[[13,6]]},"408":{"position":[[3660,6]]},"412":{"position":[[10876,6]]},"689":{"position":[[184,8]]},"793":{"position":[[1178,6]]}},"keywords":{}}],["vector'",{"_index":2208,"title":{},"content":{"390":{"position":[[1588,8]]}},"keywords":{}}],["vector.j",{"_index":2257,"title":{},"content":{"392":{"position":[[3531,14]]}},"keywords":{}}],["vectorcollect",{"_index":2237,"title":{},"content":{"392":{"position":[[1739,16],[2716,17],[4622,17]]}},"keywords":{}}],["vectorcollection.find",{"_index":2402,"title":{},"content":{"398":{"position":[[1024,23],[1186,23],[2324,23]]}},"keywords":{}}],["vectorcollection.find().exec",{"_index":2312,"title":{},"content":{"394":{"position":[[709,31]]}},"keywords":{}}],["vectorcollection.upsert",{"_index":2248,"title":{},"content":{"392":{"position":[[2884,25]]}},"keywords":{}}],["vectorcollection.upsert(docdata",{"_index":2388,"title":{},"content":{"397":{"position":[[2211,33]]}},"keywords":{}}],["vectorsearchindexrange(searchembed",{"_index":2416,"title":{},"content":{"398":{"position":[[1940,39]]}},"keywords":{}}],["vectorsearchindexsimilarity(searchembed",{"_index":2391,"title":{},"content":{"398":{"position":[[694,44]]}},"keywords":{}}],["vendor",{"_index":236,"title":{},"content":{"14":{"position":[[1065,6]]},"202":{"position":[[397,6]]},"212":{"position":[[369,6]]},"249":{"position":[[333,6]]},"262":{"position":[[485,6],[564,6]]},"381":{"position":[[566,6]]},"412":{"position":[[1372,7],[1606,6],[2492,6]]},"839":{"position":[[1307,6]]},"840":{"position":[[497,6]]},"841":{"position":[[1574,6]]},"1112":{"position":[[311,7]]},"1124":{"position":[[114,6]]}},"keywords":{}}],["verbos",{"_index":2082,"title":{},"content":{"361":{"position":[[262,7]]},"566":{"position":[[318,8]]},"639":{"position":[[126,7]]}},"keywords":{}}],["veri",{"_index":484,"title":{},"content":{"29":{"position":[[440,4]]},"58":{"position":[[172,4]]},"305":{"position":[[574,4]]},"408":{"position":[[245,4],[1297,4]]},"412":{"position":[[15190,4]]},"415":{"position":[[132,4]]},"417":{"position":[[151,4]]},"468":{"position":[[639,4]]},"497":{"position":[[620,4]]},"570":{"position":[[117,4]]},"611":{"position":[[1145,4]]},"613":{"position":[[956,4]]},"721":{"position":[[153,4]]},"752":{"position":[[573,4]]},"797":{"position":[[155,4]]},"798":{"position":[[48,4],[211,4]]},"800":{"position":[[472,4],[477,4]]},"821":{"position":[[531,4]]},"836":{"position":[[1113,4]]},"948":{"position":[[65,4]]},"966":{"position":[[103,4]]},"981":{"position":[[537,4]]},"987":{"position":[[880,4]]},"1009":{"position":[[885,4]]},"1071":{"position":[[321,4]]},"1192":{"position":[[393,4]]},"1195":{"position":[[60,4]]},"1236":{"position":[[32,4]]},"1321":{"position":[[484,4]]}},"keywords":{}}],["verif",{"_index":6463,"title":{},"content":{"1297":{"position":[[370,13]]}},"keywords":{}}],["versatil",{"_index":962,"title":{},"content":{"72":{"position":[[104,9]]},"365":{"position":[[786,9]]},"368":{"position":[[13,9]]},"384":{"position":[[357,11]]},"445":{"position":[[2282,11]]},"447":{"position":[[522,11]]},"500":{"position":[[317,9]]},"1132":{"position":[[449,9]]}},"keywords":{}}],["version",{"_index":271,"title":{"382":{"position":[[22,11]]},"760":{"position":[[35,8]]},"761":{"position":[[8,7]]},"1076":{"position":[[0,8]]},"1145":{"position":[[62,8]]}},"content":{"16":{"position":[[105,7]]},"24":{"position":[[601,7]]},"28":{"position":[[796,7]]},"51":{"position":[[298,8]]},"188":{"position":[[1220,8]]},"209":{"position":[[425,8]]},"211":{"position":[[387,8]]},"250":{"position":[[255,9]]},"255":{"position":[[769,8]]},"259":{"position":[[69,8]]},"267":{"position":[[816,7]]},"295":{"position":[[278,7]]},"299":{"position":[[473,8],[722,8],[939,8],[1234,8],[1548,9]]},"314":{"position":[[735,8]]},"315":{"position":[[65,8],[711,8]]},"316":{"position":[[176,8]]},"334":{"position":[[621,8]]},"367":{"position":[[713,8]]},"382":{"position":[[284,10]]},"391":{"position":[[1013,8]]},"392":{"position":[[571,8],[1537,8]]},"403":{"position":[[336,7],[439,7],[538,7]]},"408":{"position":[[562,8]]},"412":{"position":[[3479,8],[11520,8],[11643,8]]},"450":{"position":[[753,10]]},"452":{"position":[[443,7],[633,7]]},"455":{"position":[[542,7],[560,8],[928,8]]},"457":{"position":[[309,7]]},"460":{"position":[[1112,7]]},"461":{"position":[[900,9]]},"462":{"position":[[345,8]]},"480":{"position":[[535,8]]},"482":{"position":[[835,8]]},"495":{"position":[[630,10]]},"496":{"position":[[607,7],[744,8]]},"538":{"position":[[599,8]]},"554":{"position":[[1326,8]]},"562":{"position":[[307,8]]},"563":{"position":[[753,7]]},"564":{"position":[[764,8]]},"579":{"position":[[629,8]]},"598":{"position":[[606,8]]},"632":{"position":[[1519,8]]},"636":{"position":[[176,7]]},"638":{"position":[[603,8]]},"639":{"position":[[359,8]]},"661":{"position":[[1244,8]]},"662":{"position":[[2382,8]]},"666":{"position":[[98,7]]},"680":{"position":[[811,8]]},"688":{"position":[[437,7]]},"689":{"position":[[176,7]]},"691":{"position":[[539,8]]},"696":{"position":[[1896,8]]},"698":{"position":[[200,8],[283,7],[483,8],[1226,8],[1281,8]]},"711":{"position":[[876,8]]},"717":{"position":[[1420,8]]},"720":{"position":[[137,8]]},"730":{"position":[[238,8]]},"734":{"position":[[685,8]]},"749":{"position":[[9241,7],[10983,7],[11121,7],[12607,8],[17815,7],[23212,7],[23338,7],[23470,7],[23660,8]]},"751":{"position":[[91,7],[233,7],[591,7],[604,7],[1002,7],[1015,7],[1137,9],[1693,7],[1706,7]]},"754":{"position":[[378,8]]},"756":{"position":[[471,9]]},"757":{"position":[[321,9]]},"760":{"position":[[39,8],[444,7]]},"761":{"position":[[116,7],[236,8],[288,7]]},"773":{"position":[[716,9]]},"786":{"position":[[113,7]]},"808":{"position":[[176,8],[532,8]]},"812":{"position":[[75,8]]},"813":{"position":[[75,8]]},"838":{"position":[[2596,8]]},"844":{"position":[[248,8]]},"861":{"position":[[359,7]]},"862":{"position":[[651,8]]},"872":{"position":[[1860,8],[4090,8]]},"876":{"position":[[426,7],[484,7],[622,8]]},"878":{"position":[[467,7]]},"879":{"position":[[130,7],[200,7],[363,8]]},"898":{"position":[[2440,8]]},"904":{"position":[[858,8]]},"916":{"position":[[144,8]]},"932":{"position":[[1196,8]]},"938":{"position":[[112,8]]},"954":{"position":[[59,9]]},"958":{"position":[[532,7]]},"965":{"position":[[406,8]]},"1044":{"position":[[42,7]]},"1074":{"position":[[86,7]]},"1076":{"position":[[5,7],[58,7]]},"1078":{"position":[[199,8]]},"1080":{"position":[[29,8]]},"1082":{"position":[[172,8]]},"1083":{"position":[[372,8]]},"1085":{"position":[[3313,7]]},"1097":{"position":[[522,8]]},"1100":{"position":[[582,7],[854,7],[897,8]]},"1133":{"position":[[289,7],[373,7]]},"1134":{"position":[[217,7],[328,9],[371,8]]},"1149":{"position":[[1049,8]]},"1158":{"position":[[359,8]]},"1162":{"position":[[1002,7],[1051,7]]},"1198":{"position":[[1148,7],[2175,7]]},"1270":{"position":[[345,7]]},"1271":{"position":[[15,8],[77,7],[271,7],[565,7],[1058,7],[1744,8]]},"1275":{"position":[[14,7]]},"1278":{"position":[[93,7],[131,7],[186,8],[645,9]]},"1282":{"position":[[384,7],[596,7],[741,8]]},"1292":{"position":[[107,7]]},"1305":{"position":[[414,7]]},"1311":{"position":[[357,8]]},"1315":{"position":[[772,7]]},"1319":{"position":[[261,7],[341,8]]}},"keywords":{}}],["versions—ensur",{"_index":1312,"title":{},"content":{"203":{"position":[[270,17]]}},"keywords":{}}],["vertic",{"_index":4571,"title":{"1087":{"position":[[0,8]]}},"content":{"772":{"position":[[1408,11]]},"1087":{"position":[[1,8],[141,8]]},"1088":{"position":[[74,10]]}},"keywords":{}}],["vf",{"_index":2973,"title":{},"content":{"454":{"position":[[980,3]]},"463":{"position":[[1243,3]]}},"keywords":{}}],["via",{"_index":319,"title":{"810":{"position":[[0,3]]},"811":{"position":[[0,3]]}},"content":{"19":{"position":[[147,3],[257,3]]},"33":{"position":[[602,3]]},"39":{"position":[[683,3]]},"49":{"position":[[52,3]]},"55":{"position":[[73,3]]},"174":{"position":[[2742,4]]},"188":{"position":[[600,3]]},"250":{"position":[[213,3]]},"289":{"position":[[1600,3]]},"303":{"position":[[220,3]]},"333":{"position":[[25,3],[253,3]]},"336":{"position":[[449,3]]},"357":{"position":[[615,3]]},"381":{"position":[[138,3]]},"411":{"position":[[4412,3],[5086,3]]},"412":{"position":[[2355,3],[3510,3],[7718,4],[8097,3]]},"464":{"position":[[677,3]]},"466":{"position":[[333,3]]},"469":{"position":[[1184,3]]},"504":{"position":[[1276,3]]},"535":{"position":[[1157,3]]},"562":{"position":[[807,3]]},"563":{"position":[[35,3],[157,3]]},"566":{"position":[[565,3]]},"574":{"position":[[647,3]]},"578":{"position":[[54,3]]},"595":{"position":[[1234,3]]},"640":{"position":[[302,3]]},"662":{"position":[[1251,3]]},"680":{"position":[[70,3],[161,3]]},"687":{"position":[[84,3]]},"710":{"position":[[1445,3]]},"743":{"position":[[36,3]]},"749":{"position":[[19162,3]]},"828":{"position":[[47,3]]},"829":{"position":[[997,3]]},"832":{"position":[[194,3]]},"836":{"position":[[501,3]]},"837":{"position":[[1317,3]]},"838":{"position":[[639,3],[1782,3]]},"846":{"position":[[23,3]]},"854":{"position":[[1462,3]]},"863":{"position":[[818,3]]},"870":{"position":[[133,3]]},"890":{"position":[[679,4]]},"896":{"position":[[231,3]]},"903":{"position":[[452,3]]},"911":{"position":[[394,3]]},"984":{"position":[[253,3]]},"985":{"position":[[88,3],[394,3],[679,3]]},"986":{"position":[[1257,3]]},"988":{"position":[[1017,3]]},"1018":{"position":[[430,3]]},"1101":{"position":[[94,3]]},"1102":{"position":[[100,3],[1210,3]]},"1123":{"position":[[122,3]]},"1133":{"position":[[146,3]]},"1150":{"position":[[418,3]]},"1177":{"position":[[208,3]]},"1204":{"position":[[209,3]]},"1276":{"position":[[186,3]]},"1294":{"position":[[2097,3]]}},"keywords":{}}],["viabl",{"_index":2541,"title":{},"content":{"408":{"position":[[1463,6]]},"429":{"position":[[452,6]]},"624":{"position":[[1303,6]]},"698":{"position":[[930,6]]},"708":{"position":[[402,6]]},"1270":{"position":[[466,6]]},"1305":{"position":[[219,6]]}},"keywords":{}}],["video",{"_index":1823,"title":{},"content":{"303":{"position":[[186,7]]},"390":{"position":[[940,7]]},"408":{"position":[[3057,5]]},"614":{"position":[[342,6]]},"861":{"position":[[1160,6]]},"901":{"position":[[128,6]]}},"keywords":{}}],["view",{"_index":915,"title":{},"content":{"65":{"position":[[644,4]]},"412":{"position":[[12701,4]]},"469":{"position":[[1381,4]]},"489":{"position":[[726,5]]},"660":{"position":[[35,5]]},"829":{"position":[[2881,6],[3006,5]]},"1284":{"position":[[330,4]]},"1316":{"position":[[3655,5]]}},"keywords":{}}],["violat",{"_index":3950,"title":{},"content":{"699":{"position":[[985,8]]}},"keywords":{}}],["virtual",{"_index":489,"title":{},"content":{"30":{"position":[[68,7]]},"408":{"position":[[1933,7]]},"454":{"position":[[984,8]]},"463":{"position":[[507,7]]},"491":{"position":[[192,9]]},"617":{"position":[[1362,9]]},"1206":{"position":[[157,7]]},"1211":{"position":[[213,7]]}},"keywords":{}}],["visibl",{"_index":5544,"title":{},"content":{"1003":{"position":[[60,8],[276,7]]},"1215":{"position":[[595,7]]}},"keywords":{}}],["visit",{"_index":995,"title":{},"content":{"84":{"position":[[139,5]]},"114":{"position":[[152,5]]},"149":{"position":[[152,5]]},"175":{"position":[[145,5]]},"347":{"position":[[152,5]]},"362":{"position":[[1223,5]]},"511":{"position":[[152,5]]},"531":{"position":[[152,5]]},"591":{"position":[[152,5]]},"702":{"position":[[837,7]]}},"keywords":{}}],["visitor",{"_index":3641,"title":{},"content":{"617":{"position":[[976,8]]},"736":{"position":[[73,8]]}},"keywords":{}}],["visual",{"_index":1232,"title":{},"content":{"177":{"position":[[293,8]]},"267":{"position":[[1083,14]]},"446":{"position":[[967,13]]},"495":{"position":[[447,6]]},"571":{"position":[[1703,14]]}},"keywords":{}}],["vital",{"_index":1063,"title":{},"content":{"117":{"position":[[18,5]]},"178":{"position":[[18,5]]},"447":{"position":[[25,5]]},"912":{"position":[[531,5]]}},"keywords":{}}],["vite",{"_index":5213,"title":{},"content":{"898":{"position":[[2937,4]]}},"keywords":{}}],["void",{"_index":4129,"title":{},"content":{"747":{"position":[[219,5],[277,5],[344,4]]}},"keywords":{}}],["volum",{"_index":1050,"title":{},"content":{"111":{"position":[[202,8]]},"267":{"position":[[981,7]]},"287":{"position":[[780,7]]},"294":{"position":[[323,7]]},"369":{"position":[[691,7]]},"441":{"position":[[370,6]]},"487":{"position":[[232,6]]},"508":{"position":[[168,8]]},"861":{"position":[[570,6],[623,6]]},"1132":{"position":[[1237,7]]}},"keywords":{}}],["volumes.seamless",{"_index":1208,"title":{},"content":{"173":{"position":[[2144,16]]}},"keywords":{}}],["voxel",{"_index":5554,"title":{},"content":{"1006":{"position":[[42,5]]},"1007":{"position":[[257,7],[536,6],[1325,7]]},"1009":{"position":[[10,5]]}},"keywords":{}}],["vs",{"_index":670,"title":{"68":{"position":[[16,3]]},"99":{"position":[[16,3]]},"126":{"position":[[5,3]]},"161":{"position":[[5,3]]},"186":{"position":[[5,3]]},"226":{"position":[[16,3]]},"317":{"position":[[5,3]]},"331":{"position":[[5,3]]},"358":{"position":[[5,3]]},"413":{"position":[[12,3]]},"419":{"position":[[14,3]]},"432":{"position":[[13,2]]},"434":{"position":[[13,2]]},"435":{"position":[[13,2]]},"436":{"position":[[13,2]]},"448":{"position":[[13,3],[27,3],[39,3],[48,3]]},"520":{"position":[[5,3]]},"560":{"position":[[21,3]]},"566":{"position":[[23,2],[36,2]]},"576":{"position":[[5,3]]},"609":{"position":[[11,2],[33,2],[49,2],[59,2]]},"1143":{"position":[[9,2]]},"1192":{"position":[[11,2]]}},"content":{"43":{"position":[[192,2]]},"243":{"position":[[992,2]]},"244":{"position":[[504,2],[700,2],[1191,2],[1389,2]]},"432":{"position":[[1312,2]]},"793":{"position":[[1349,3],[1363,3],[1375,3],[1384,3]]},"1072":{"position":[[951,3]]}},"keywords":{}}],["vue",{"_index":2002,"title":{"573":{"position":[[24,3]]},"574":{"position":[[4,3]]},"576":{"position":[[15,3]]},"580":{"position":[[0,3]]},"590":{"position":[[33,4]]},"592":{"position":[[22,3]]},"594":{"position":[[21,4]]},"596":{"position":[[15,4]]},"601":{"position":[[28,3]]},"602":{"position":[[6,3]]},"603":{"position":[[0,3]]}},"content":{"352":{"position":[[253,4]]},"574":{"position":[[1,3],[151,3]]},"576":{"position":[[433,3]]},"577":{"position":[[57,3]]},"579":{"position":[[13,3],[83,3],[937,5]]},"580":{"position":[[44,3],[149,3],[219,4],[238,3],[330,6]]},"581":{"position":[[663,3]]},"582":{"position":[[77,3]]},"584":{"position":[[1,3]]},"585":{"position":[[222,3]]},"589":{"position":[[42,3]]},"590":{"position":[[67,3]]},"591":{"position":[[458,4],[514,3],[558,3],[578,3],[621,3],[664,3]]},"594":{"position":[[15,3]]},"595":{"position":[[839,3]]},"596":{"position":[[22,3]]},"598":{"position":[[248,3]]},"600":{"position":[[138,3]]},"601":{"position":[[24,3],[408,6]]},"602":{"position":[[316,3]]},"603":{"position":[[48,3]]},"608":{"position":[[244,3]]},"825":{"position":[[15,3]]}},"keywords":{}}],["vue'",{"_index":3482,"title":{},"content":{"574":{"position":[[918,5]]},"590":{"position":[[229,5],[435,5]]},"602":{"position":[[21,5]]}},"keywords":{}}],["vue.j",{"_index":258,"title":{"286":{"position":[[42,8]]}},"content":{"15":{"position":[[328,6]]},"94":{"position":[[119,7]]},"173":{"position":[[2317,7]]},"222":{"position":[[136,7]]},"286":{"position":[[202,7]]},"749":{"position":[[12038,6]]}},"keywords":{}}],["vuex",{"_index":3486,"title":{},"content":{"576":{"position":[[162,4]]}},"keywords":{}}],["vuex/pinia",{"_index":3480,"title":{},"content":{"574":{"position":[[626,10]]}},"keywords":{}}],["vulner",{"_index":2759,"title":{},"content":{"412":{"position":[[13168,10]]}},"keywords":{}}],["w",{"_index":3997,"title":{},"content":{"711":{"position":[[1017,1]]},"841":{"position":[[1012,2]]}},"keywords":{}}],["wa",{"_index":6339,"title":{},"content":{"1276":{"position":[[32,2],[84,2],[587,3],[750,3],[807,3]]}},"keywords":{}}],["wait",{"_index":147,"title":{},"content":{"11":{"position":[[240,4],[335,5],[717,4]]},"93":{"position":[[84,7]]},"408":{"position":[[2878,7]]},"410":{"position":[[249,7]]},"421":{"position":[[408,4],[675,4]]},"474":{"position":[[239,4]]},"630":{"position":[[617,4]]},"634":{"position":[[231,4]]},"696":{"position":[[356,4]]},"702":{"position":[[317,4]]},"898":{"position":[[4043,4]]},"948":{"position":[[687,4]]},"988":{"position":[[1295,4],[1558,4]]},"1033":{"position":[[710,6]]},"1175":{"position":[[492,4]]},"1298":{"position":[[108,7]]},"1304":{"position":[[844,5]]}},"keywords":{}}],["waitbeforepersist",{"_index":6116,"title":{},"content":{"1164":{"position":[[1501,18]]}},"keywords":{}}],["waitforleadership",{"_index":3759,"title":{"974":{"position":[[0,20]]}},"content":{"653":{"position":[[1463,18]]},"886":{"position":[[2008,17]]},"988":{"position":[[1260,17],[1343,17],[1444,18]]},"989":{"position":[[143,18]]},"995":{"position":[[212,18],[847,18]]}},"keywords":{}}],["wal",{"_index":6069,"title":{},"content":{"1143":{"position":[[527,3]]}},"keywords":{}}],["walk",{"_index":3210,"title":{},"content":{"498":{"position":[[163,4]]}},"keywords":{}}],["want",{"_index":14,"title":{"86":{"position":[[14,4]]},"214":{"position":[[14,4]]}},"content":{"1":{"position":[[217,4],[264,4]]},"260":{"position":[[163,4],[265,4]]},"262":{"position":[[5,4],[477,4]]},"372":{"position":[[26,4]]},"392":{"position":[[2247,4]]},"410":{"position":[[1614,4]]},"412":{"position":[[5367,4],[10902,4]]},"420":{"position":[[1197,4]]},"421":{"position":[[70,6]]},"453":{"position":[[190,4],[553,4]]},"457":{"position":[[58,4]]},"459":{"position":[[407,4]]},"460":{"position":[[47,4],[1359,4]]},"496":{"position":[[420,4]]},"535":{"position":[[357,4]]},"556":{"position":[[1854,4]]},"561":{"position":[[69,4]]},"564":{"position":[[101,4]]},"567":{"position":[[792,4]]},"595":{"position":[[368,4]]},"655":{"position":[[51,4]]},"661":{"position":[[1690,4],[1737,4]]},"667":{"position":[[134,4]]},"676":{"position":[[203,4]]},"681":{"position":[[307,4]]},"690":{"position":[[52,4],[405,4]]},"696":{"position":[[400,4],[540,4]]},"701":{"position":[[555,4],[965,4]]},"702":{"position":[[48,4],[84,4]]},"704":{"position":[[124,4]]},"705":{"position":[[253,4]]},"707":{"position":[[479,4]]},"710":{"position":[[944,4],[2502,4]]},"711":{"position":[[568,4],[2132,4]]},"749":{"position":[[7210,4],[14452,4]]},"752":{"position":[[1325,4]]},"753":{"position":[[169,4]]},"759":{"position":[[14,4]]},"766":{"position":[[135,4]]},"772":{"position":[[1815,4]]},"773":{"position":[[759,4]]},"774":{"position":[[8,4]]},"775":{"position":[[550,4]]},"776":{"position":[[232,4]]},"797":{"position":[[181,4]]},"799":{"position":[[84,4]]},"805":{"position":[[92,4]]},"806":{"position":[[213,4]]},"836":{"position":[[1039,4],[2462,4]]},"837":{"position":[[875,4]]},"838":{"position":[[1606,4],[3230,4]]},"839":{"position":[[469,4],[1287,4]]},"861":{"position":[[2441,4]]},"875":{"position":[[4963,4]]},"876":{"position":[[239,4]]},"879":{"position":[[567,4]]},"893":{"position":[[69,4]]},"904":{"position":[[2022,4]]},"906":{"position":[[618,4]]},"913":{"position":[[305,4]]},"945":{"position":[[10,4]]},"963":{"position":[[18,4]]},"966":{"position":[[266,4]]},"977":{"position":[[244,4]]},"988":{"position":[[2327,4],[3429,4]]},"995":{"position":[[579,4],[1323,4]]},"1006":{"position":[[213,4]]},"1013":{"position":[[181,4],[632,4]]},"1022":{"position":[[15,4],[80,4]]},"1048":{"position":[[15,4],[150,4]]},"1067":{"position":[[1641,4]]},"1068":{"position":[[154,7],[375,4]]},"1080":{"position":[[1076,4]]},"1100":{"position":[[916,4]]},"1112":{"position":[[198,4]]},"1147":{"position":[[432,4]]},"1149":{"position":[[298,4]]},"1151":{"position":[[4,4],[754,4]]},"1172":{"position":[[128,4]]},"1178":{"position":[[4,4],[753,4]]},"1185":{"position":[[191,4]]},"1210":{"position":[[563,4]]},"1212":{"position":[[10,4]]},"1213":{"position":[[451,4]]},"1226":{"position":[[413,4]]},"1230":{"position":[[96,4]]},"1249":{"position":[[47,4]]},"1252":{"position":[[131,4]]},"1264":{"position":[[323,4]]},"1271":{"position":[[887,4]]},"1282":{"position":[[176,4]]},"1287":{"position":[[92,6]]},"1294":{"position":[[265,4]]},"1309":{"position":[[1099,4]]},"1314":{"position":[[10,4]]},"1315":{"position":[[18,4],[285,4]]},"1316":{"position":[[98,4],[1338,5],[3571,4]]},"1318":{"position":[[483,4]]},"1320":{"position":[[241,4],[430,4]]},"1321":{"position":[[142,4]]},"1322":{"position":[[51,4]]}},"keywords":{}}],["warn",{"_index":1090,"title":{"675":{"position":[[21,8]]}},"content":{"129":{"position":[[514,7]]},"299":{"position":[[1071,8]]},"675":{"position":[[165,7]]},"917":{"position":[[386,7]]},"995":{"position":[[175,7],[432,7]]},"1288":{"position":[[1,8]]}},"keywords":{}}],["wasm",{"_index":672,"title":{"448":{"position":[[52,4]]},"454":{"position":[[8,4]]}},"content":{"43":{"position":[[399,4]]},"404":{"position":[[399,4]]},"408":{"position":[[3483,7],[3775,4],[3879,4],[4112,4]]},"454":{"position":[[15,6],[97,4],[342,4],[769,4],[878,4]]},"457":{"position":[[262,4]]},"459":{"position":[[252,4]]},"463":{"position":[[383,4],[415,4],[721,4],[746,4],[1151,4]]},"464":{"position":[[371,4],[397,4],[634,4]]},"465":{"position":[[232,4],[258,4]]},"466":{"position":[[195,4],[221,4],[501,4]]},"467":{"position":[[170,4],[196,4],[457,4]]},"468":{"position":[[438,4]]},"524":{"position":[[813,4]]},"793":{"position":[[1388,4]]},"1137":{"position":[[108,4]]},"1276":{"position":[[307,4]]},"1299":{"position":[[586,4]]}},"keywords":{}}],["wast",{"_index":3835,"title":{},"content":{"668":{"position":[[318,5]]},"736":{"position":[[439,5],[488,6]]}},"keywords":{}}],["watch",{"_index":1579,"title":{},"content":{"255":{"position":[[1572,8]]},"411":{"position":[[3177,8]]},"705":{"position":[[1096,5]]},"1058":{"position":[[547,8]]},"1124":{"position":[[951,5]]}},"keywords":{}}],["watcher",{"_index":3522,"title":{},"content":{"590":{"position":[[274,9]]}},"keywords":{}}],["watermelondb",{"_index":283,"title":{"17":{"position":[[0,13]]}},"content":{"17":{"position":[[3,12],[191,12],[277,12],[358,13],[386,12],[459,12]]},"1316":{"position":[[3448,12],[3502,13]]},"1324":{"position":[[553,12]]}},"keywords":{}}],["way",{"_index":894,"title":{},"content":{"63":{"position":[[35,3]]},"73":{"position":[[111,3]]},"117":{"position":[[93,3]]},"130":{"position":[[56,3]]},"131":{"position":[[683,3]]},"192":{"position":[[193,3],[214,3]]},"250":{"position":[[153,5]]},"270":{"position":[[249,3]]},"285":{"position":[[309,3]]},"289":{"position":[[533,3]]},"298":{"position":[[17,3]]},"301":{"position":[[10,3]]},"306":{"position":[[143,3]]},"340":{"position":[[35,5]]},"395":{"position":[[68,3]]},"396":{"position":[[924,3],[1809,4]]},"397":{"position":[[13,3]]},"398":{"position":[[387,4]]},"402":{"position":[[888,4],[1738,4]]},"409":{"position":[[189,3]]},"412":{"position":[[14023,3]]},"418":{"position":[[846,3]]},"421":{"position":[[208,4]]},"424":{"position":[[398,3]]},"441":{"position":[[655,3]]},"455":{"position":[[160,3]]},"458":{"position":[[497,3],[576,3]]},"468":{"position":[[304,3]]},"469":{"position":[[834,3]]},"470":{"position":[[181,3]]},"525":{"position":[[571,3],[592,3]]},"551":{"position":[[32,4]]},"557":{"position":[[81,3]]},"612":{"position":[[45,3],[154,3]]},"619":{"position":[[300,3]]},"624":{"position":[[683,3]]},"655":{"position":[[110,3]]},"662":{"position":[[270,3]]},"686":{"position":[[203,3]]},"688":{"position":[[95,3],[310,3]]},"693":{"position":[[265,4]]},"696":{"position":[[1691,3],[1927,3]]},"697":{"position":[[368,3],[613,4]]},"698":{"position":[[246,3],[1904,3]]},"700":{"position":[[557,3]]},"701":{"position":[[316,3]]},"705":{"position":[[1299,3]]},"708":{"position":[[409,3],[478,3]]},"709":{"position":[[366,4],[885,4]]},"711":{"position":[[2273,3]]},"714":{"position":[[717,3]]},"736":{"position":[[276,3]]},"770":{"position":[[158,3]]},"773":{"position":[[20,3]]},"783":{"position":[[243,3]]},"784":{"position":[[382,3]]},"829":{"position":[[195,3]]},"830":{"position":[[62,3]]},"836":{"position":[[1397,3]]},"837":{"position":[[157,3]]},"838":{"position":[[299,3],[1175,4]]},"842":{"position":[[8,3]]},"860":{"position":[[1186,3]]},"861":{"position":[[156,3]]},"865":{"position":[[135,3]]},"870":{"position":[[5,3]]},"872":{"position":[[2191,3]]},"875":{"position":[[7096,3]]},"876":{"position":[[517,4]]},"896":{"position":[[112,3]]},"898":{"position":[[626,3]]},"951":{"position":[[61,3]]},"981":{"position":[[204,3]]},"988":{"position":[[4972,3]]},"1022":{"position":[[279,3]]},"1085":{"position":[[1068,3]]},"1089":{"position":[[9,3]]},"1090":{"position":[[9,3]]},"1092":{"position":[[17,3]]},"1093":{"position":[[345,4]]},"1124":{"position":[[944,3]]},"1140":{"position":[[36,3]]},"1143":{"position":[[201,3]]},"1152":{"position":[[105,3]]},"1157":{"position":[[35,3],[526,3]]},"1177":{"position":[[182,3]]},"1204":{"position":[[183,3]]},"1211":{"position":[[195,3]]},"1213":{"position":[[192,3]]},"1247":{"position":[[317,3],[490,3],[677,3]]},"1266":{"position":[[13,3]]},"1294":{"position":[[662,3]]},"1295":{"position":[[452,3]]},"1301":{"position":[[545,3],[1586,3]]},"1304":{"position":[[707,3]]},"1307":{"position":[[824,3]]},"1316":{"position":[[3488,3]]},"1317":{"position":[[377,3]]}},"keywords":{}}],["we'll",{"_index":2351,"title":{},"content":{"396":{"position":[[1887,5]]},"421":{"position":[[1062,5]]}},"keywords":{}}],["we'v",{"_index":900,"title":{},"content":{"65":{"position":[[10,5]]},"462":{"position":[[10,5]]}},"keywords":{}}],["weak",{"_index":2940,"title":{},"content":{"445":{"position":[[642,4]]}},"keywords":{}}],["weatherdb",{"_index":4093,"title":{},"content":{"739":{"position":[[309,12]]}},"keywords":{}}],["web",{"_index":200,"title":{"116":{"position":[[8,3]]},"150":{"position":[[32,3]]},"151":{"position":[[12,3]]},"320":{"position":[[7,3]]},"499":{"position":[[35,3]]},"500":{"position":[[22,3]]},"503":{"position":[[28,3]]},"718":{"position":[[6,3]]}},"content":{"14":{"position":[[70,3]]},"18":{"position":[[65,3]]},"26":{"position":[[290,3]]},"30":{"position":[[53,4]]},"33":{"position":[[486,4]]},"38":{"position":[[94,3]]},"63":{"position":[[84,3]]},"64":{"position":[[204,3]]},"65":{"position":[[124,3],[248,3],[1401,3],[2062,3]]},"68":{"position":[[152,3]]},"69":{"position":[[110,3]]},"70":{"position":[[153,3]]},"73":{"position":[[148,3]]},"76":{"position":[[102,3]]},"83":{"position":[[230,3],[407,3]]},"112":{"position":[[162,3]]},"116":{"position":[[283,3]]},"139":{"position":[[68,3]]},"148":{"position":[[249,3],[369,3]]},"151":{"position":[[90,3],[147,3]]},"153":{"position":[[99,3]]},"161":{"position":[[40,3],[379,3]]},"170":{"position":[[53,3],[549,3]]},"172":{"position":[[180,3]]},"207":{"position":[[109,3]]},"215":{"position":[[332,3]]},"239":{"position":[[208,3]]},"244":{"position":[[264,3],[1074,3]]},"254":{"position":[[99,3]]},"269":{"position":[[59,3],[189,3],[308,4],[432,3]]},"291":{"position":[[481,3]]},"298":{"position":[[393,3]]},"315":{"position":[[89,3]]},"364":{"position":[[63,3]]},"375":{"position":[[902,3]]},"384":{"position":[[120,3]]},"408":{"position":[[227,3],[305,3],[1278,3],[1434,3],[1665,3],[1752,3],[4728,3],[4931,3]]},"411":{"position":[[4479,3]]},"412":{"position":[[8550,3],[15009,3]]},"419":{"position":[[38,3]]},"421":{"position":[[29,4]]},"424":{"position":[[47,3],[73,3]]},"434":{"position":[[96,3],[412,3]]},"441":{"position":[[24,3]]},"445":{"position":[[130,3]]},"450":{"position":[[624,4]]},"451":{"position":[[162,3]]},"453":{"position":[[75,3]]},"454":{"position":[[92,4]]},"455":{"position":[[14,3]]},"457":{"position":[[26,3]]},"458":{"position":[[34,3]]},"460":{"position":[[999,3]]},"461":{"position":[[289,3]]},"468":{"position":[[663,3]]},"470":{"position":[[39,3]]},"483":{"position":[[1072,3]]},"500":{"position":[[13,3],[40,3],[95,3]]},"501":{"position":[[157,3]]},"503":{"position":[[37,3]]},"510":{"position":[[35,3],[76,3]]},"511":{"position":[[457,3]]},"519":{"position":[[1,3]]},"520":{"position":[[207,3]]},"530":{"position":[[571,3]]},"533":{"position":[[321,3]]},"548":{"position":[[465,3]]},"551":{"position":[[465,3]]},"554":{"position":[[177,3]]},"556":{"position":[[1115,3]]},"567":{"position":[[908,3]]},"569":{"position":[[1038,3]]},"584":{"position":[[233,3]]},"593":{"position":[[321,3]]},"608":{"position":[[463,3]]},"613":{"position":[[94,3]]},"614":{"position":[[8,4],[153,3]]},"624":{"position":[[255,3]]},"640":{"position":[[528,4]]},"642":{"position":[[67,3]]},"660":{"position":[[31,3],[41,3]]},"662":{"position":[[385,3]]},"703":{"position":[[19,3]]},"709":{"position":[[39,3],[102,3],[902,3]]},"717":{"position":[[170,3],[216,3]]},"718":{"position":[[32,3],[196,3]]},"778":{"position":[[13,3]]},"783":{"position":[[197,3]]},"784":{"position":[[11,3]]},"801":{"position":[[83,3]]},"901":{"position":[[19,3]]},"1104":{"position":[[735,3]]},"1184":{"position":[[621,3]]},"1206":{"position":[[83,3]]},"1301":{"position":[[30,3]]},"1302":{"position":[[86,4]]},"1322":{"position":[[8,3]]}},"keywords":{}}],["web.major",{"_index":2977,"title":{},"content":{"455":{"position":[[722,9]]}},"keywords":{}}],["webassembl",{"_index":492,"title":{"1276":{"position":[[11,11]]}},"content":{"30":{"position":[[235,11]]},"228":{"position":[[377,11]]},"336":{"position":[[453,13]]},"357":{"position":[[619,12]]},"391":{"position":[[240,12]]},"408":{"position":[[3435,12],[3471,11],[5053,11]]},"454":{"position":[[3,11],[269,11]]},"463":{"position":[[100,11]]},"470":{"position":[[239,11]]},"524":{"position":[[724,12]]},"581":{"position":[[466,11]]},"1276":{"position":[[67,12],[190,11],[658,11]]}},"keywords":{}}],["webgpu",{"_index":2500,"title":{},"content":{"404":{"position":[[117,6],[289,6],[334,6]]},"408":{"position":[[5236,7]]}},"keywords":{}}],["webkit",{"_index":6241,"title":{},"content":{"1216":{"position":[[1,7]]}},"keywords":{}}],["weblock",{"_index":2989,"title":{},"content":{"458":{"position":[[1355,8]]}},"keywords":{}}],["webpack",{"_index":1263,"title":{"674":{"position":[[11,8]]}},"content":{"188":{"position":[[1725,7]]},"333":{"position":[[149,7]]},"729":{"position":[[41,7]]},"730":{"position":[[153,8]]},"910":{"position":[[146,7]]},"1176":{"position":[[40,8],[223,7],[293,7]]},"1202":{"position":[[41,7]]},"1228":{"position":[[49,7]]},"1266":{"position":[[63,8],[84,7],[232,7],[321,7]]}},"keywords":{}}],["webpack.config.j",{"_index":3849,"title":{},"content":{"674":{"position":[[8,18]]},"1176":{"position":[[321,17],[427,17]]},"1266":{"position":[[147,17]]}},"keywords":{}}],["webpack.defineplugin",{"_index":3853,"title":{},"content":{"674":{"position":[[158,22]]}},"keywords":{}}],["webpack.provideplugin",{"_index":5267,"title":{},"content":{"910":{"position":[[243,23]]}},"keywords":{}}],["webpag",{"_index":2607,"title":{},"content":{"410":{"position":[[2256,8]]}},"keywords":{}}],["webrtc",{"_index":1361,"title":{"210":{"position":[[32,7]]},"261":{"position":[[17,6]]},"609":{"position":[[52,6]]},"614":{"position":[[8,8]]},"868":{"position":[[64,6]]},"900":{"position":[[4,6]]},"901":{"position":[[8,8]]},"902":{"position":[[26,6]]},"903":{"position":[[19,6]]},"904":{"position":[[20,6]]},"908":{"position":[[22,6]]},"911":{"position":[[27,6]]}},"content":{"210":{"position":[[96,7],[236,8]]},"212":{"position":[[594,6]]},"261":{"position":[[102,7],[304,8],[661,6]]},"289":{"position":[[1549,6],[1604,6],[1893,6]]},"481":{"position":[[369,6]]},"504":{"position":[[1280,6]]},"614":{"position":[[1,6],[385,6],[533,6],[784,6],[846,6],[996,6]]},"620":{"position":[[435,6]]},"632":{"position":[[786,7]]},"749":{"position":[[16028,6]]},"793":{"position":[[737,6]]},"868":{"position":[[64,6]]},"901":{"position":[[1,6],[249,6],[548,6],[701,6]]},"903":{"position":[[132,6],[456,6]]},"904":{"position":[[63,6],[1278,6],[1395,8],[2331,6],[2877,6],[3176,6]]},"905":{"position":[[5,6]]},"906":{"position":[[43,6],[959,8]]},"911":{"position":[[39,6],[123,6],[237,6],[326,6]]},"912":{"position":[[159,6]]},"913":{"position":[[328,6]]},"1121":{"position":[[191,6],[419,8]]},"1124":{"position":[[2280,7]]}},"keywords":{}}],["webrtc.html",{"_index":1461,"title":{},"content":{"243":{"position":[[527,11]]}},"keywords":{}}],["webrtc.html?console=webrtc",{"_index":4337,"title":{},"content":{"749":{"position":[[15388,26]]}},"keywords":{}}],["webrtcpool",{"_index":1364,"title":{},"content":{"210":{"position":[[251,10]]}},"keywords":{}}],["webrtcpool.error$.subscribe((error",{"_index":1375,"title":{},"content":{"210":{"position":[[540,35]]}},"keywords":{}}],["webserv",{"_index":3680,"title":{},"content":{"624":{"position":[[1107,10]]},"702":{"position":[[347,10]]},"799":{"position":[[382,10]]},"1089":{"position":[[134,9]]},"1210":{"position":[[540,10]]},"1227":{"position":[[398,9],[875,10]]},"1265":{"position":[[391,9],[849,10]]}},"keywords":{}}],["websit",{"_index":444,"title":{},"content":{"27":{"position":[[361,7]]},"458":{"position":[[431,8]]},"475":{"position":[[6,8]]},"617":{"position":[[944,7],[1000,9]]},"656":{"position":[[344,7]]},"697":{"position":[[160,7]]},"702":{"position":[[850,7]]},"736":{"position":[[19,7],[168,7]]},"779":{"position":[[16,8],[142,7]]},"781":{"position":[[6,8],[234,7]]},"783":{"position":[[22,8]]}},"keywords":{}}],["websocket",{"_index":1055,"title":{"609":{"position":[[0,10]]},"611":{"position":[[9,12]]},"891":{"position":[[0,9]]},"892":{"position":[[13,9]]},"893":{"position":[[15,9]]},"911":{"position":[[13,9]]},"1219":{"position":[[13,9]]}},"content":{"113":{"position":[[262,10]]},"165":{"position":[[199,9]]},"174":{"position":[[3092,11]]},"238":{"position":[[175,10]]},"261":{"position":[[674,9]]},"410":{"position":[[1710,9]]},"464":{"position":[[173,9]]},"476":{"position":[[128,12]]},"491":{"position":[[617,11],[1487,11],[1656,11]]},"570":{"position":[[743,9]]},"610":{"position":[[852,11]]},"611":{"position":[[1,10],[350,10],[594,9],[932,9],[1314,10]]},"612":{"position":[[104,11],[1344,11]]},"614":{"position":[[929,11]]},"616":{"position":[[6,10]]},"618":{"position":[[143,10]]},"619":{"position":[[137,9]]},"620":{"position":[[30,11],[423,11]]},"621":{"position":[[1,11],[756,11]]},"622":{"position":[[1,11],[298,11],[695,10]]},"623":{"position":[[1,11],[43,9],[315,10],[768,10]]},"624":{"position":[[630,10],[1568,10]]},"736":{"position":[[184,9],[368,10]]},"781":{"position":[[261,9],[498,9]]},"793":{"position":[[695,9]]},"871":{"position":[[289,9]]},"875":{"position":[[7175,10]]},"885":{"position":[[1277,11]]},"886":{"position":[[4003,9],[4321,10],[4335,9],[4969,9]]},"892":{"position":[[105,11],[219,9]]},"893":{"position":[[160,11]]},"901":{"position":[[560,10],[636,10]]},"904":{"position":[[2965,9],[3023,9]]},"906":{"position":[[563,9]]},"911":{"position":[[50,9],[248,9],[443,9],[579,9],[819,9]]},"988":{"position":[[4948,9]]},"1124":{"position":[[2260,10]]},"1219":{"position":[[87,9],[410,11],[850,11]]}},"keywords":{}}],["websocket"",{"_index":1498,"title":{},"content":{"244":{"position":[[703,15]]}},"keywords":{}}],["websocket('ws://example.com",{"_index":3568,"title":{},"content":{"611":{"position":[[646,30]]}},"keywords":{}}],["websocket('wss://example.com/api/sync/stream",{"_index":5478,"title":{},"content":{"988":{"position":[[5219,47]]}},"keywords":{}}],["websocketconstructor",{"_index":1373,"title":{},"content":{"210":{"position":[[487,21]]},"261":{"position":[[728,21]]},"904":{"position":[[3038,21]]},"911":{"position":[[797,21]]}},"keywords":{}}],["websocketimpl",{"_index":5145,"title":{},"content":{"886":{"position":[[4601,15]]}},"keywords":{}}],["websockets.long",{"_index":3672,"title":{},"content":{"623":{"position":[[436,15]]}},"keywords":{}}],["websql",{"_index":75,"title":{"5":{"position":[[0,7]]},"7":{"position":[[5,7]]},"435":{"position":[[16,7]]},"455":{"position":[[9,7]]},"709":{"position":[[27,6]]}},"content":{"5":{"position":[[40,7],[89,6],[134,6],[219,6],[273,10]]},"7":{"position":[[28,6],[246,6],[305,10]]},"16":{"position":[[322,7]]},"35":{"position":[[174,7]]},"435":{"position":[[1,7],[246,6]]},"455":{"position":[[1,6],[252,6],[339,6],[685,6],[770,7],[826,6]]},"660":{"position":[[83,6]]},"696":{"position":[[845,6],[913,6]]},"709":{"position":[[152,7],[854,6]]},"837":{"position":[[1414,7],[1826,8]]},"1324":{"position":[[104,6],[143,6]]}},"keywords":{}}],["websqlit",{"_index":4782,"title":{},"content":{"837":{"position":[[1791,9]]}},"keywords":{}}],["webstorag",{"_index":2956,"title":{},"content":{"451":{"position":[[56,10]]}},"keywords":{}}],["webtransport",{"_index":3546,"title":{"609":{"position":[[62,12]]},"613":{"position":[[12,12]]}},"content":{"613":{"position":[[1,12],[352,12],[545,12],[657,12],[737,12],[902,12],[1048,13]]},"614":{"position":[[948,13]]},"616":{"position":[[21,12]]},"620":{"position":[[85,12],[446,12],[497,12],[661,12]]},"624":{"position":[[851,13],[1277,12]]},"901":{"position":[[575,13],[650,12]]}},"keywords":{}}],["webwork",{"_index":1028,"title":{"460":{"position":[[0,9]]}},"content":{"100":{"position":[[285,10]]},"227":{"position":[[259,10]]},"392":{"position":[[3218,11],[3232,9],[3822,9]]},"433":{"position":[[352,10]]},"453":{"position":[[332,9]]},"460":{"position":[[267,10],[352,9],[480,9],[749,9],[823,10],[1092,10],[1188,10]]},"463":{"position":[[706,9],[948,9]]},"464":{"position":[[356,9],[872,9]]},"465":{"position":[[217,9]]},"466":{"position":[[181,9],[308,9]]},"467":{"position":[[154,9],[312,9]]},"468":{"position":[[332,9]]},"469":{"position":[[221,10],[1173,10]]},"470":{"position":[[411,9]]},"801":{"position":[[32,9],[347,10],[607,10]]},"1068":{"position":[[346,9]]},"1115":{"position":[[664,11]]},"1117":{"position":[[569,11]]},"1130":{"position":[[360,9]]},"1207":{"position":[[355,10]]},"1210":{"position":[[45,10]]},"1211":{"position":[[89,10]]},"1246":{"position":[[111,9]]},"1266":{"position":[[520,12]]},"1301":{"position":[[623,9]]}},"keywords":{}}],["week",{"_index":2830,"title":{},"content":{"420":{"position":[[142,5],[396,5]]},"702":{"position":[[897,6]]}},"keywords":{}}],["weekli",{"_index":2832,"title":{},"content":{"420":{"position":[[191,6]]}},"keywords":{}}],["well",{"_index":533,"title":{},"content":{"34":{"position":[[266,4]]},"40":{"position":[[186,5]]},"58":{"position":[[23,4]]},"68":{"position":[[118,4]]},"73":{"position":[[41,4]]},"126":{"position":[[292,4]]},"222":{"position":[[178,4]]},"225":{"position":[[150,4]]},"231":{"position":[[95,4]]},"267":{"position":[[29,4]]},"281":{"position":[[179,4],[224,4]]},"289":{"position":[[597,4]]},"303":{"position":[[18,5]]},"325":{"position":[[204,4]]},"354":{"position":[[371,4],[1241,4]]},"362":{"position":[[537,5]]},"369":{"position":[[209,4]]},"394":{"position":[[1427,5]]},"411":{"position":[[3320,5]]},"412":{"position":[[8214,4],[12308,5]]},"418":{"position":[[265,4]]},"546":{"position":[[205,5]]},"606":{"position":[[205,5]]},"641":{"position":[[256,4]]},"829":{"position":[[2858,4]]},"836":{"position":[[1202,4]]},"902":{"position":[[497,4]]},"1313":{"position":[[225,4]]}},"keywords":{}}],["weren't",{"_index":2540,"title":{},"content":{"408":{"position":[[1455,7]]}},"keywords":{}}],["what'",{"_index":2433,"title":{},"content":{"399":{"position":[[631,6]]}},"keywords":{}}],["what.touppercas",{"_index":6504,"title":{},"content":{"1311":{"position":[[754,19]]}},"keywords":{}}],["whatev",{"_index":3189,"title":{},"content":{"496":{"position":[[56,8]]},"1085":{"position":[[619,8]]}},"keywords":{}}],["whatsapp",{"_index":521,"title":{},"content":{"33":{"position":[[477,8]]},"414":{"position":[[24,8]]},"416":{"position":[[100,9]]},"418":{"position":[[134,10]]},"696":{"position":[[435,9]]}},"keywords":{}}],["whenev",{"_index":1170,"title":{},"content":{"156":{"position":[[148,8]]},"159":{"position":[[213,8]]},"168":{"position":[[225,8]]},"196":{"position":[[49,8]]},"233":{"position":[[116,8]]},"253":{"position":[[246,8]]},"322":{"position":[[270,8]]},"323":{"position":[[54,8]]},"329":{"position":[[62,8]]},"344":{"position":[[159,8]]},"411":{"position":[[3242,8]]},"421":{"position":[[635,8]]},"455":{"position":[[589,8]]},"458":{"position":[[1143,8]]},"480":{"position":[[799,8]]},"493":{"position":[[387,8]]},"494":{"position":[[250,8],[562,8]]},"515":{"position":[[255,8]]},"518":{"position":[[216,8]]},"529":{"position":[[75,8]]},"541":{"position":[[825,8]]},"542":{"position":[[973,8]]},"562":{"position":[[1264,8]]},"565":{"position":[[240,8]]},"571":{"position":[[814,8],[966,8]]},"575":{"position":[[295,8]]},"580":{"position":[[617,8]]},"601":{"position":[[806,8]]},"626":{"position":[[932,8]]},"627":{"position":[[193,8]]},"711":{"position":[[555,8]]},"770":{"position":[[21,8]]},"781":{"position":[[869,8]]},"829":{"position":[[3669,8]]},"979":{"position":[[14,8]]},"1007":{"position":[[1958,8]]},"1082":{"position":[[60,8]]},"1148":{"position":[[800,8]]},"1208":{"position":[[146,8]]},"1313":{"position":[[899,8]]},"1317":{"position":[[1,8]]}},"keywords":{}}],["where('ag",{"_index":5354,"title":{},"content":{"949":{"position":[[162,13]]}},"keywords":{}}],["where('ownerid",{"_index":4887,"title":{},"content":{"858":{"position":[[338,16]]}},"keywords":{}}],["wherea",{"_index":1720,"title":{},"content":{"298":{"position":[[567,7]]},"359":{"position":[[45,7]]},"535":{"position":[[483,7]]}},"keywords":{}}],["whereisai/ua",{"_index":2472,"title":{},"content":{"401":{"position":[[510,13]]}},"keywords":{}}],["wherev",{"_index":3123,"title":{},"content":{"479":{"position":[[456,8]]}},"keywords":{}}],["whether",{"_index":1065,"title":{},"content":{"117":{"position":[[134,7]]},"148":{"position":[[303,7]]},"151":{"position":[[303,7]]},"178":{"position":[[142,7]]},"207":{"position":[[83,7]]},"212":{"position":[[541,7]]},"238":{"position":[[111,7]]},"239":{"position":[[92,7]]},"254":{"position":[[73,7]]},"267":{"position":[[1463,7]]},"286":{"position":[[132,7]]},"361":{"position":[[78,7]]},"369":{"position":[[333,7],[989,7]]},"371":{"position":[[112,7]]},"388":{"position":[[387,7]]},"412":{"position":[[2347,7]]},"446":{"position":[[114,7],[929,7]]},"490":{"position":[[75,7]]},"567":{"position":[[1140,7]]},"574":{"position":[[341,7]]},"785":{"position":[[568,7]]},"839":{"position":[[1094,7]]},"1049":{"position":[[37,7]]},"1147":{"position":[[420,7]]}},"keywords":{}}],["whitespac",{"_index":4287,"title":{},"content":{"749":{"position":[[11619,10]]}},"keywords":{}}],["whoami",{"_index":4602,"title":{},"content":{"789":{"position":[[480,7]]},"791":{"position":[[348,7]]}},"keywords":{}}],["whole",{"_index":249,"title":{},"content":{"15":{"position":[[125,5]]},"352":{"position":[[104,5]]},"365":{"position":[[835,5]]},"403":{"position":[[56,5]]},"469":{"position":[[1238,5]]},"501":{"position":[[423,5]]},"612":{"position":[[465,5]]},"647":{"position":[[11,5]]},"764":{"position":[[240,5]]},"775":{"position":[[322,5]]},"783":{"position":[[324,5]]},"784":{"position":[[450,5]]},"800":{"position":[[119,5]]},"826":{"position":[[561,5],[986,5]]},"888":{"position":[[51,5]]},"1077":{"position":[[102,5]]},"1094":{"position":[[638,5]]},"1116":{"position":[[129,5]]},"1124":{"position":[[332,5]]},"1184":{"position":[[359,6]]},"1194":{"position":[[244,5]]},"1198":{"position":[[787,5]]},"1271":{"position":[[456,5]]},"1295":{"position":[[901,5]]},"1300":{"position":[[470,5]]},"1304":{"position":[[1261,5]]},"1316":{"position":[[3071,5],[3676,5]]},"1318":{"position":[[673,5]]}},"keywords":{}}],["whose",{"_index":2676,"title":{},"content":{"412":{"position":[[3194,5]]},"724":{"position":[[690,5],[1560,5]]},"898":{"position":[[1634,5]]}},"keywords":{}}],["wide",{"_index":1038,"title":{},"content":{"105":{"position":[[15,6]]},"162":{"position":[[322,6]]},"177":{"position":[[228,4]]},"189":{"position":[[321,6]]},"267":{"position":[[1428,4]]},"287":{"position":[[593,4]]},"320":{"position":[[96,6]]},"364":{"position":[[226,6]]},"454":{"position":[[169,4]]},"469":{"position":[[12,4]]},"613":{"position":[[700,6],[927,6]]},"624":{"position":[[925,6]]},"788":{"position":[[32,4]]},"790":{"position":[[41,5]]},"792":{"position":[[43,5]]},"904":{"position":[[511,4]]},"1124":{"position":[[55,4],[620,4]]},"1134":{"position":[[314,4]]},"1272":{"position":[[246,4]]}},"keywords":{}}],["widespread",{"_index":3620,"title":{},"content":{"613":{"position":[[612,10]]}},"keywords":{}}],["widget",{"_index":1231,"title":{},"content":{"177":{"position":[[242,7]]}},"keywords":{}}],["wifi",{"_index":5246,"title":{},"content":{"902":{"position":[[780,4]]}},"keywords":{}}],["wiki",{"_index":2231,"title":{},"content":{"392":{"position":[[798,4]]}},"keywords":{}}],["wild",{"_index":2746,"title":{},"content":{"412":{"position":[[11550,5]]}},"keywords":{}}],["wildcard",{"_index":5947,"title":{},"content":{"1103":{"position":[[139,8]]}},"keywords":{}}],["win",{"_index":231,"title":{},"content":{"14":{"position":[[860,4]]},"203":{"position":[[73,4]]},"250":{"position":[[33,4]]},"412":{"position":[[2370,5],[3208,4],[3298,4]]},"432":{"position":[[1344,3]]},"496":{"position":[[22,5],[645,4]]},"635":{"position":[[233,4]]},"688":{"position":[[891,4]]},"698":{"position":[[645,7],[1352,7],[1832,7],[2041,7]]},"1305":{"position":[[168,4]]}},"keywords":{}}],["window",{"_index":1178,"title":{},"content":{"160":{"position":[[270,8]]},"299":{"position":[[806,7]]},"330":{"position":[[127,7]]},"427":{"position":[[1324,7]]},"451":{"position":[[895,6]]},"475":{"position":[[266,6]]},"502":{"position":[[1252,7]]},"519":{"position":[[60,8]]},"729":{"position":[[331,7],[356,7],[364,7]]},"958":{"position":[[27,7]]},"964":{"position":[[262,8],[319,7],[498,6]]},"1202":{"position":[[370,7],[395,7],[403,7]]},"1300":{"position":[[768,6]]}},"keywords":{}}],["window.process",{"_index":5268,"title":{},"content":{"910":{"position":[[378,14]]}},"keywords":{}}],["window.sqliteplugin",{"_index":150,"title":{},"content":{"11":{"position":[[278,21]]}},"keywords":{}}],["windows.handl",{"_index":1222,"title":{},"content":{"174":{"position":[[2021,16]]}},"keywords":{}}],["windows.storag",{"_index":2894,"title":{},"content":{"427":{"position":[[1445,15]]}},"keywords":{}}],["winner",{"_index":3941,"title":{},"content":{"698":{"position":[[571,6],[766,7]]}},"keywords":{}}],["wins"",{"_index":2697,"title":{},"content":{"412":{"position":[[5300,10],[5522,10]]}},"keywords":{}}],["wipe",{"_index":2723,"title":{},"content":{"412":{"position":[[7887,5],[8716,6]]},"977":{"position":[[1,5]]}},"keywords":{}}],["wire",{"_index":374,"title":{},"content":{"22":{"position":[[276,5]]},"585":{"position":[[263,7]]},"700":{"position":[[792,4]]},"871":{"position":[[793,4]]},"1022":{"position":[[59,4]]}},"keywords":{}}],["wish",{"_index":6091,"title":{},"content":{"1151":{"position":[[512,4]]},"1178":{"position":[[511,4]]}},"keywords":{}}],["withcredenti",{"_index":5050,"title":{},"content":{"875":{"position":[[8178,16],[9597,16]]}},"keywords":{}}],["withdist",{"_index":2313,"title":{},"content":{"394":{"position":[[747,12]]}},"keywords":{}}],["withdistance.sort(sortbyobjectnumberproperty('distance')).revers",{"_index":2318,"title":{},"content":{"394":{"position":[[876,68]]}},"keywords":{}}],["withhold",{"_index":1878,"title":{},"content":{"310":{"position":[[192,11]]}},"keywords":{}}],["within",{"_index":291,"title":{},"content":{"17":{"position":[[219,6]]},"65":{"position":[[1060,6]]},"94":{"position":[[224,6]]},"101":{"position":[[217,6]]},"107":{"position":[[164,6]]},"172":{"position":[[90,6],[139,6]]},"173":{"position":[[3224,6]]},"174":{"position":[[1035,6]]},"201":{"position":[[115,6]]},"219":{"position":[[364,6]]},"222":{"position":[[347,6]]},"228":{"position":[[240,6]]},"235":{"position":[[100,6]]},"275":{"position":[[179,6]]},"286":{"position":[[334,6]]},"287":{"position":[[684,6]]},"291":{"position":[[127,6]]},"329":{"position":[[174,6]]},"354":{"position":[[632,6]]},"356":{"position":[[263,6]]},"369":{"position":[[305,6]]},"371":{"position":[[291,6]]},"392":{"position":[[1285,6]]},"397":{"position":[[85,6]]},"398":{"position":[[1852,6]]},"408":{"position":[[1637,6]]},"433":{"position":[[343,6]]},"438":{"position":[[295,6]]},"445":{"position":[[1982,6]]},"446":{"position":[[1268,6]]},"503":{"position":[[237,6]]},"522":{"position":[[193,6]]},"523":{"position":[[84,6]]},"543":{"position":[[39,6]]},"569":{"position":[[780,6]]},"570":{"position":[[398,6]]},"571":{"position":[[1486,6]]},"577":{"position":[[48,6]]},"579":{"position":[[1,6]]},"591":{"position":[[655,6]]},"603":{"position":[[39,6]]},"614":{"position":[[146,6]]},"622":{"position":[[653,6]]},"723":{"position":[[449,6],[1391,6]]},"871":{"position":[[631,6]]},"902":{"position":[[391,6]]},"946":{"position":[[43,6]]},"1072":{"position":[[758,6]]},"1132":{"position":[[1510,6]]},"1151":{"position":[[229,6]]},"1178":{"position":[[228,6]]}},"keywords":{}}],["withmetafield",{"_index":5726,"title":{},"content":{"1051":{"position":[[320,15]]}},"keywords":{}}],["without",{"_index":385,"title":{"711":{"position":[[22,7]]},"778":{"position":[[13,7]]},"1319":{"position":[[10,7]]}},"content":{"23":{"position":[[230,7]]},"27":{"position":[[89,7]]},"29":{"position":[[165,7]]},"131":{"position":[[158,7]]},"162":{"position":[[628,7]]},"164":{"position":[[221,7]]},"183":{"position":[[118,7]]},"185":{"position":[[337,7]]},"210":{"position":[[709,7]]},"212":{"position":[[46,7],[462,7],[642,7]]},"237":{"position":[[243,7]]},"261":{"position":[[188,7]]},"274":{"position":[[145,7]]},"276":{"position":[[88,7]]},"279":{"position":[[279,7]]},"280":{"position":[[261,7]]},"282":{"position":[[405,7]]},"289":{"position":[[413,7]]},"291":{"position":[[278,7]]},"292":{"position":[[269,7]]},"295":{"position":[[226,7]]},"309":{"position":[[197,7]]},"321":{"position":[[265,7]]},"330":{"position":[[135,7]]},"346":{"position":[[591,7]]},"362":{"position":[[96,7]]},"369":{"position":[[707,7]]},"375":{"position":[[117,7]]},"381":{"position":[[532,7]]},"383":{"position":[[440,7]]},"408":{"position":[[675,7],[1325,7],[2870,7]]},"410":{"position":[[1552,7]]},"411":{"position":[[3037,7],[3888,7]]},"412":{"position":[[31,7]]},"414":{"position":[[129,7]]},"415":{"position":[[218,7]]},"419":{"position":[[277,7]]},"424":{"position":[[447,7]]},"430":{"position":[[978,7]]},"433":{"position":[[602,7]]},"445":{"position":[[2070,7]]},"455":{"position":[[692,7]]},"467":{"position":[[231,7]]},"482":{"position":[[1137,7]]},"487":{"position":[[427,7]]},"489":{"position":[[684,7]]},"504":{"position":[[1388,7]]},"534":{"position":[[267,7]]},"542":{"position":[[1000,7]]},"548":{"position":[[263,7]]},"550":{"position":[[148,7]]},"570":{"position":[[599,7]]},"571":{"position":[[258,7]]},"574":{"position":[[246,7]]},"582":{"position":[[106,7]]},"585":{"position":[[237,7]]},"594":{"position":[[265,7]]},"608":{"position":[[261,7]]},"611":{"position":[[186,7]]},"612":{"position":[[331,7]]},"614":{"position":[[190,7]]},"616":{"position":[[484,7]]},"617":{"position":[[2359,8]]},"618":{"position":[[739,7]]},"621":{"position":[[323,7]]},"623":{"position":[[374,7]]},"638":{"position":[[911,7]]},"643":{"position":[[300,7]]},"644":{"position":[[726,7]]},"705":{"position":[[771,7]]},"707":{"position":[[130,7]]},"710":{"position":[[584,7],[1253,7]]},"723":{"position":[[536,7],[930,7],[1281,7]]},"749":{"position":[[5985,7],[6992,7],[7111,7]]},"782":{"position":[[450,7]]},"801":{"position":[[519,7]]},"816":{"position":[[250,7]]},"838":{"position":[[1288,7]]},"875":{"position":[[9169,7]]},"902":{"position":[[193,7]]},"912":{"position":[[459,7]]},"943":{"position":[[194,7]]},"977":{"position":[[163,7],[378,7]]},"981":{"position":[[1438,7]]},"1008":{"position":[[275,7]]},"1065":{"position":[[55,7],[1979,7]]},"1068":{"position":[[211,7]]},"1071":{"position":[[274,7]]},"1072":{"position":[[1579,7]]},"1092":{"position":[[468,7]]},"1093":{"position":[[504,7]]},"1094":{"position":[[596,7]]},"1107":{"position":[[446,7]]},"1120":{"position":[[265,7]]},"1150":{"position":[[630,7]]},"1151":{"position":[[789,7]]},"1164":{"position":[[354,7]]},"1178":{"position":[[786,7]]},"1219":{"position":[[196,7]]},"1252":{"position":[[227,7]]},"1282":{"position":[[293,7],[952,7]]},"1295":{"position":[[1427,7]]},"1297":{"position":[[351,7]]},"1300":{"position":[[136,7]]},"1304":{"position":[[1720,7]]},"1305":{"position":[[9,7]]},"1324":{"position":[[840,7]]}},"keywords":{}}],["withoutrowid",{"_index":6375,"title":{},"content":{"1282":{"position":[[1066,13],[1218,13]]}},"keywords":{}}],["won't",{"_index":750,"title":{},"content":{"50":{"position":[[74,5]]},"357":{"position":[[415,5]]},"421":{"position":[[908,5]]}},"keywords":{}}],["word",{"_index":2192,"title":{},"content":{"390":{"position":[[647,4]]},"396":{"position":[[1316,5]]},"569":{"position":[[45,4]]},"699":{"position":[[249,4]]},"1023":{"position":[[406,5],[520,5],[526,4]]}},"keywords":{}}],["word"",{"_index":5642,"title":{},"content":{"1023":{"position":[[627,10]]}},"keywords":{}}],["words.map(word",{"_index":5641,"title":{},"content":{"1023":{"position":[[474,14]]}},"keywords":{}}],["work",{"_index":46,"title":{"207":{"position":[[3,5]]},"255":{"position":[[21,6]]},"292":{"position":[[0,5]]},"481":{"position":[[17,5]]},"642":{"position":[[11,4]]},"696":{"position":[[8,5]]},"779":{"position":[[21,6]]},"1208":{"position":[[17,6]]},"1254":{"position":[[22,4]]},"1313":{"position":[[20,4]]},"1314":{"position":[[20,4]]}},"content":{"2":{"position":[[275,4]]},"6":{"position":[[434,4]]},"10":{"position":[[208,4]]},"15":{"position":[[226,6]]},"19":{"position":[[317,5]]},"20":{"position":[[264,4]]},"35":{"position":[[247,4]]},"38":{"position":[[117,4],[208,4],[1086,7]]},"47":{"position":[[34,7],[1196,5]]},"50":{"position":[[340,5]]},"58":{"position":[[17,5]]},"94":{"position":[[216,7]]},"104":{"position":[[145,7]]},"122":{"position":[[114,4]]},"129":{"position":[[653,5]]},"130":{"position":[[146,7]]},"138":{"position":[[179,7]]},"141":{"position":[[243,7]]},"147":{"position":[[6,7]]},"157":{"position":[[67,4],[296,7]]},"174":{"position":[[820,7]]},"179":{"position":[[64,4]]},"206":{"position":[[204,7]]},"212":{"position":[[41,4]]},"231":{"position":[[154,5]]},"237":{"position":[[205,4]]},"362":{"position":[[531,5]]},"368":{"position":[[304,4]]},"369":{"position":[[85,7],[965,7]]},"371":{"position":[[27,7],[221,4]]},"372":{"position":[[121,4]]},"380":{"position":[[34,4]]},"390":{"position":[[329,4]]},"392":{"position":[[2151,4]]},"394":{"position":[[89,5]]},"396":{"position":[[1227,4]]},"404":{"position":[[29,5]]},"407":{"position":[[621,7],[1029,4]]},"408":{"position":[[5486,4]]},"410":{"position":[[969,4]]},"411":{"position":[[4587,5],[5558,7]]},"412":{"position":[[4418,5],[6932,5],[9354,5]]},"419":{"position":[[261,4]]},"420":{"position":[[852,4]]},"421":{"position":[[196,6],[791,7]]},"433":{"position":[[276,7]]},"439":{"position":[[379,5]]},"440":{"position":[[35,7],[127,4]]},"445":{"position":[[480,4]]},"446":{"position":[[224,7],[662,4]]},"452":{"position":[[655,8]]},"457":{"position":[[217,5]]},"460":{"position":[[505,4]]},"469":{"position":[[1148,4]]},"493":{"position":[[24,5]]},"498":{"position":[[361,6]]},"556":{"position":[[1761,4]]},"574":{"position":[[233,7]]},"590":{"position":[[732,5]]},"613":{"position":[[573,7],[678,7]]},"614":{"position":[[407,4],[856,5]]},"627":{"position":[[312,5]]},"632":{"position":[[856,4]]},"634":{"position":[[389,5]]},"666":{"position":[[271,4]]},"668":{"position":[[145,5],[411,5]]},"688":{"position":[[541,5],[754,4]]},"696":{"position":[[691,5]]},"697":{"position":[[478,4]]},"698":{"position":[[803,5]]},"704":{"position":[[100,5]]},"705":{"position":[[80,6],[450,5],[1308,4]]},"714":{"position":[[89,4],[351,5]]},"723":{"position":[[913,4]]},"749":{"position":[[1894,4],[6987,4],[7106,4],[8977,4]]},"772":{"position":[[170,4],[2043,5]]},"775":{"position":[[45,5]]},"781":{"position":[[335,5]]},"784":{"position":[[421,5],[743,5]]},"793":{"position":[[903,5]]},"811":{"position":[[139,5]]},"817":{"position":[[245,5]]},"830":{"position":[[48,4]]},"831":{"position":[[492,5]]},"835":{"position":[[55,5]]},"836":{"position":[[1015,4]]},"838":{"position":[[685,4]]},"840":{"position":[[392,5]]},"842":{"position":[[305,4]]},"863":{"position":[[217,5]]},"875":{"position":[[9399,4]]},"882":{"position":[[291,4]]},"884":{"position":[[91,6]]},"893":{"position":[[289,5]]},"901":{"position":[[669,4]]},"904":{"position":[[70,6]]},"906":{"position":[[24,4]]},"908":{"position":[[26,5]]},"913":{"position":[[212,7]]},"948":{"position":[[775,5]]},"956":{"position":[[95,5]]},"962":{"position":[[6,5]]},"975":{"position":[[69,5]]},"981":{"position":[[165,5],[1139,5]]},"982":{"position":[[42,5]]},"988":{"position":[[2186,4]]},"1018":{"position":[[456,5],[538,6],[579,5],[616,5]]},"1065":{"position":[[1923,5]]},"1071":{"position":[[163,4]]},"1088":{"position":[[299,5]]},"1093":{"position":[[235,4],[331,4]]},"1095":{"position":[[172,4]]},"1117":{"position":[[508,5]]},"1133":{"position":[[474,4]]},"1141":{"position":[[98,5],[280,4]]},"1176":{"position":[[174,4]]},"1183":{"position":[[34,6]]},"1191":{"position":[[628,4]]},"1198":{"position":[[191,6],[1767,4]]},"1208":{"position":[[615,4]]},"1229":{"position":[[216,5]]},"1258":{"position":[[10,4],[42,4],[138,5]]},"1259":{"position":[[10,4]]},"1271":{"position":[[1715,4]]},"1272":{"position":[[132,4]]},"1277":{"position":[[632,4]]},"1278":{"position":[[59,5]]},"1282":{"position":[[283,4],[339,5],[721,4]]},"1300":{"position":[[1016,4]]},"1301":{"position":[[501,4],[930,4]]},"1304":{"position":[[1370,4]]},"1305":{"position":[[1,7],[441,4]]},"1313":{"position":[[100,5],[219,5],[889,5]]},"1316":{"position":[[1529,5],[1805,5],[2504,5],[2577,4],[3117,5]]},"1318":{"position":[[764,4],[964,4]]},"1320":{"position":[[529,5]]}},"keywords":{}}],["work"",{"_index":3658,"title":{},"content":{"619":{"position":[[93,11]]}},"keywords":{}}],["work.complex",{"_index":5428,"title":{},"content":{"981":{"position":[[316,12]]}},"keywords":{}}],["workaround",{"_index":2542,"title":{},"content":{"408":{"position":[[2043,12]]},"458":{"position":[[992,10],[1286,10]]},"459":{"position":[[1107,10]]},"617":{"position":[[1140,10]]},"845":{"position":[[168,11]]},"1072":{"position":[[2115,12]]},"1135":{"position":[[263,11]]},"1198":{"position":[[828,11]]},"1315":{"position":[[1558,11]]}},"keywords":{}}],["worker",{"_index":2253,"title":{"721":{"position":[[15,8]]},"801":{"position":[[21,6]]},"1089":{"position":[[6,7]]},"1211":{"position":[[43,7]]},"1213":{"position":[[76,7]]},"1227":{"position":[[10,8]]},"1228":{"position":[[18,7]]},"1262":{"position":[[0,6]]},"1263":{"position":[[7,6]]},"1265":{"position":[[10,8]]},"1266":{"position":[[18,7]]},"1267":{"position":[[4,6]]},"1268":{"position":[[13,6]]}},"content":{"392":{"position":[[3337,6],[3711,6],[3753,6],[3847,7],[4117,6],[4183,6],[5090,6]]},"402":{"position":[[2813,6]]},"408":{"position":[[1756,8],[4732,7]]},"458":{"position":[[1500,7]]},"460":{"position":[[419,7],[549,6]]},"463":{"position":[[476,6]]},"469":{"position":[[990,6]]},"500":{"position":[[589,7]]},"642":{"position":[[71,6],[88,6]]},"693":{"position":[[392,6]]},"721":{"position":[[18,6],[127,7],[255,8],[331,7],[468,6]]},"749":{"position":[[3407,6],[3594,6],[23700,7]]},"757":{"position":[[98,6],[172,8]]},"793":{"position":[[482,6]]},"801":{"position":[[901,6]]},"1068":{"position":[[418,6]]},"1089":{"position":[[75,6]]},"1207":{"position":[[575,7]]},"1210":{"position":[[77,6],[389,8]]},"1211":{"position":[[477,6]]},"1212":{"position":[[92,7],[176,7],[239,6],[433,8]]},"1213":{"position":[[35,7],[162,6],[408,6],[809,7]]},"1225":{"position":[[8,6],[196,8],[375,7]]},"1226":{"position":[[113,8],[640,7]]},"1227":{"position":[[163,6],[523,7],[663,8]]},"1228":{"position":[[71,6],[97,6],[118,6],[162,6]]},"1229":{"position":[[172,6],[254,6]]},"1230":{"position":[[78,7],[349,6]]},"1231":{"position":[[95,7],[412,7],[509,8]]},"1233":{"position":[[38,7],[60,6],[95,7]]},"1238":{"position":[[185,6],[307,6],[586,8]]},"1239":{"position":[[372,7],[425,7],[750,8]]},"1246":{"position":[[4,7],[17,6],[140,6],[361,6],[921,6]]},"1263":{"position":[[82,8],[269,7]]},"1264":{"position":[[107,8],[273,6],[520,7]]},"1265":{"position":[[156,6],[517,7],[651,8]]},"1266":{"position":[[134,8],[553,8]]},"1267":{"position":[[59,6],[166,6],[196,6],[335,6]]},"1268":{"position":[[94,6],[250,6],[390,6],[637,8]]},"1301":{"position":[[828,6]]}},"keywords":{}}],["worker'",{"_index":6288,"title":{},"content":{"1246":{"position":[[246,8],[566,8]]}},"keywords":{}}],["worker('path/to/worker.j",{"_index":6327,"title":{},"content":{"1268":{"position":[[171,27]]}},"keywords":{}}],["worker(new",{"_index":2264,"title":{},"content":{"392":{"position":[[3925,10]]},"1268":{"position":[[481,10]]}},"keywords":{}}],["worker.addeventlistener('messag",{"_index":2278,"title":{},"content":{"392":{"position":[[4432,34]]}},"keywords":{}}],["worker.j",{"_index":2255,"title":{"1212":{"position":[[18,10]]}},"content":{"392":{"position":[[3487,9]]},"1212":{"position":[[127,9],[280,9]]},"1213":{"position":[[577,9]]},"1226":{"position":[[448,9],[593,11]]},"1227":{"position":[[12,9],[468,9],[921,10]]},"1228":{"position":[[19,9]]},"1264":{"position":[[351,9]]},"1265":{"position":[[5,9],[462,9]]},"1266":{"position":[[36,9],[583,11]]}},"keywords":{}}],["worker.postmessag",{"_index":2279,"title":{},"content":{"392":{"position":[[4478,20]]}},"keywords":{}}],["worker.removeeventlistener('messag",{"_index":2277,"title":{},"content":{"392":{"position":[[4378,37]]}},"keywords":{}}],["worker.t",{"_index":6264,"title":{},"content":{"1225":{"position":[[118,9]]},"1231":{"position":[[431,9]]},"1263":{"position":[[4,9]]}},"keywords":{}}],["workerinput",{"_index":6231,"title":{},"content":{"1210":{"position":[[637,12]]},"1226":{"position":[[564,12]]},"1227":{"position":[[889,12]]},"1229":{"position":[[30,12],[235,11]]},"1238":{"position":[[944,12]]},"1264":{"position":[[451,12]]},"1265":{"position":[[863,12]]},"1267":{"position":[[510,12]]},"1268":{"position":[[30,12],[145,12],[455,12]]}},"keywords":{}}],["workeropt",{"_index":6270,"title":{},"content":{"1226":{"position":[[651,14]]},"1264":{"position":[[531,14]]}},"keywords":{}}],["workers[lastworkerid",{"_index":2271,"title":{},"content":{"392":{"position":[[4126,24],[4192,24]]}},"keywords":{}}],["workerstorag",{"_index":6324,"title":{},"content":{"1267":{"position":[[473,13],[667,13],[761,13]]}},"keywords":{}}],["workflow",{"_index":2243,"title":{},"content":{"392":{"position":[[2423,8]]},"408":{"position":[[2785,10]]},"496":{"position":[[478,9]]},"644":{"position":[[765,9]]}},"keywords":{}}],["workload",{"_index":1008,"title":{},"content":{"91":{"position":[[40,8]]},"801":{"position":[[403,8]]}},"keywords":{}}],["world",{"_index":1610,"title":{},"content":{"266":{"position":[[356,7]]},"284":{"position":[[58,5]]},"301":{"position":[[29,5]]},"356":{"position":[[637,6]]},"396":{"position":[[342,6],[563,6]]},"441":{"position":[[8,5]]},"469":{"position":[[1394,5]]},"500":{"position":[[114,7]]},"510":{"position":[[786,6]]},"569":{"position":[[1054,6]]},"699":{"position":[[238,6]]},"798":{"position":[[247,5]]},"839":{"position":[[81,6]]},"1006":{"position":[[63,5],[268,5]]},"1007":{"position":[[326,5]]},"1009":{"position":[[16,5]]},"1123":{"position":[[358,6]]},"1209":{"position":[[329,5]]},"1304":{"position":[[1267,5]]}},"keywords":{}}],["worldwid",{"_index":6010,"title":{},"content":{"1123":{"position":[[104,9],[237,9]]}},"keywords":{}}],["worri",{"_index":1885,"title":{},"content":{"312":{"position":[[289,5]]},"721":{"position":[[284,5]]},"839":{"position":[[1051,5]]},"1084":{"position":[[432,6]]}},"keywords":{}}],["wors",{"_index":2486,"title":{},"content":{"402":{"position":[[1687,5]]},"521":{"position":[[300,5]]}},"keywords":{}}],["worst",{"_index":2749,"title":{},"content":{"412":{"position":[[11824,5]]}},"keywords":{}}],["worth",{"_index":1597,"title":{},"content":{"263":{"position":[[232,5]]},"432":{"position":[[513,5]]},"447":{"position":[[591,5]]}},"keywords":{}}],["wrap",{"_index":1628,"title":{},"content":{"269":{"position":[[215,7]]},"302":{"position":[[358,4]]},"482":{"position":[[415,4]]},"554":{"position":[[849,4]]},"693":{"position":[[416,4]]},"717":{"position":[[508,4],[719,4],[904,7]]},"718":{"position":[[292,4]]},"734":{"position":[[72,4]]},"745":{"position":[[37,7],[88,8],[135,7],[347,4],[496,7]]},"749":{"position":[[24151,7]]},"785":{"position":[[357,4]]},"932":{"position":[[863,7]]},"1031":{"position":[[115,4]]},"1154":{"position":[[25,7],[404,4],[700,7]]},"1163":{"position":[[328,4]]},"1182":{"position":[[328,4]]},"1222":{"position":[[169,4],[1347,7]]},"1225":{"position":[[49,4],[315,4]]},"1246":{"position":[[1158,4]]},"1263":{"position":[[209,4]]},"1270":{"position":[[113,8]]},"1286":{"position":[[343,4]]},"1287":{"position":[[389,4]]},"1288":{"position":[[349,4]]}},"keywords":{}}],["wrappedattachmentscompressionstorag",{"_index":5314,"title":{},"content":{"932":{"position":[[687,36],[950,38]]}},"keywords":{}}],["wrappedkeycompressionstorag",{"_index":4081,"title":{},"content":{"734":{"position":[[134,28],[314,30]]},"1237":{"position":[[577,28],[904,30]]}},"keywords":{}}],["wrappedkeyencryptioncryptojsstorag",{"_index":1894,"title":{},"content":{"315":{"position":[[171,35],[443,37]]},"482":{"position":[[300,35],[483,37]]},"554":{"position":[[525,35],[931,37]]},"564":{"position":[[236,35],[451,37]]},"638":{"position":[[230,35],[335,37]]},"717":{"position":[[558,35],[795,37]]},"1237":{"position":[[654,35],[944,37]]}},"keywords":{}}],["wrappedkeyencryptionwebcryptostorag",{"_index":4025,"title":{},"content":{"718":{"position":[[103,37],[377,38]]},"1184":{"position":[[544,36],[686,38]]}},"keywords":{}}],["wrappedloggerstorag",{"_index":4113,"title":{},"content":{"745":{"position":[[205,20],[401,22]]},"746":{"position":[[241,23],[289,22]]},"747":{"position":[[106,22]]}},"keywords":{}}],["wrappedvalidateajvstorag",{"_index":6283,"title":{},"content":{"1237":{"position":[[506,25],[867,27]]},"1286":{"position":[[200,25],[405,27]]}},"keywords":{}}],["wrappedvalidateismyjsonvalidstorag",{"_index":6387,"title":{},"content":{"1288":{"position":[[183,35],[411,37]]}},"keywords":{}}],["wrappedvalidatezschemastorag",{"_index":6386,"title":{},"content":{"1287":{"position":[[237,29],[451,31]]}},"keywords":{}}],["wrapper",{"_index":370,"title":{"1246":{"position":[[8,7]]}},"content":{"22":{"position":[[190,7]]},"33":{"position":[[28,7]]},"266":{"position":[[782,7],[822,7]]},"432":{"position":[[1024,7]]},"433":{"position":[[431,7]]},"441":{"position":[[418,7]]},"717":{"position":[[469,7]]},"734":{"position":[[33,7]]},"745":{"position":[[17,7]]},"793":{"position":[[401,8]]},"1184":{"position":[[278,7]]},"1198":{"position":[[162,7]]},"1212":{"position":[[54,8]]},"1246":{"position":[[39,7],[383,7],[1270,7],[1310,7],[1672,7],[1712,7]]},"1247":{"position":[[214,7]]},"1279":{"position":[[300,8]]},"1280":{"position":[[231,8]]}},"keywords":{}}],["write",{"_index":230,"title":{"464":{"position":[[17,7]]},"466":{"position":[[9,7]]},"1033":{"position":[[47,7]]},"1115":{"position":[[0,7]]},"1185":{"position":[[6,5]]},"1239":{"position":[[15,6]]}},"content":{"14":{"position":[[854,5]]},"27":{"position":[[107,5]]},"28":{"position":[[340,6]]},"31":{"position":[[104,7]]},"35":{"position":[[219,5]]},"41":{"position":[[276,5]]},"43":{"position":[[442,5]]},"201":{"position":[[294,6]]},"250":{"position":[[27,5]]},"253":{"position":[[176,5]]},"262":{"position":[[282,6]]},"265":{"position":[[656,6]]},"266":{"position":[[886,5]]},"301":{"position":[[164,7]]},"302":{"position":[[368,5],[671,6],[1140,5]]},"304":{"position":[[370,6]]},"358":{"position":[[276,5],[548,5],[647,5],[1063,6]]},"360":{"position":[[191,7]]},"362":{"position":[[717,7]]},"365":{"position":[[281,5]]},"376":{"position":[[335,7],[386,5]]},"380":{"position":[[165,7]]},"386":{"position":[[215,7]]},"392":{"position":[[1964,6]]},"407":{"position":[[138,5]]},"408":{"position":[[2863,6]]},"411":{"position":[[1190,7]]},"412":{"position":[[1265,7],[2364,5],[3292,5],[5516,5],[10125,6],[11326,5],[12944,7]]},"421":{"position":[[1200,6]]},"430":{"position":[[726,5]]},"433":{"position":[[193,5]]},"445":{"position":[[1445,5]]},"453":{"position":[[198,5]]},"458":{"position":[[524,5],[603,5],[1161,5],[1479,6]]},"459":{"position":[[95,7]]},"464":{"position":[[37,7],[489,5],[552,6],[728,6],[787,5],[1232,6]]},"465":{"position":[[468,5]]},"466":{"position":[[450,5]]},"467":{"position":[[573,6],[643,6]]},"469":{"position":[[279,7]]},"474":{"position":[[126,5]]},"477":{"position":[[213,6]]},"481":{"position":[[790,6]]},"489":{"position":[[333,7],[499,5]]},"490":{"position":[[94,6]]},"491":{"position":[[1171,6]]},"496":{"position":[[6,5],[629,5]]},"497":{"position":[[152,6]]},"559":{"position":[[1096,7]]},"566":{"position":[[867,5]]},"630":{"position":[[92,7],[691,5]]},"632":{"position":[[1916,6]]},"634":{"position":[[100,6]]},"635":{"position":[[227,5]]},"642":{"position":[[256,5]]},"647":{"position":[[1,5]]},"648":{"position":[[41,5],[322,6]]},"659":{"position":[[487,5]]},"682":{"position":[[80,6],[173,5],[227,6]]},"685":{"position":[[358,5]]},"686":{"position":[[661,6]]},"687":{"position":[[313,6]]},"688":{"position":[[885,5]]},"690":{"position":[[283,6]]},"696":{"position":[[495,6]]},"698":{"position":[[1095,5],[2309,5]]},"709":{"position":[[490,6],[1133,5]]},"711":{"position":[[584,5]]},"749":{"position":[[6383,5],[8671,5],[16744,5]]},"773":{"position":[[211,5]]},"774":{"position":[[204,6],[225,5],[267,5],[1053,5]]},"775":{"position":[[388,7]]},"785":{"position":[[326,5],[683,6]]},"795":{"position":[[14,5]]},"835":{"position":[[269,6]]},"854":{"position":[[1212,5]]},"857":{"position":[[474,6]]},"863":{"position":[[344,5]]},"875":{"position":[[1422,6],[1613,7],[3600,6],[4009,5],[5189,5],[5837,6],[8013,7]]},"885":{"position":[[200,6],[1121,5]]},"886":{"position":[[3318,6]]},"898":{"position":[[759,6]]},"908":{"position":[[322,5]]},"932":{"position":[[476,5]]},"970":{"position":[[63,5]]},"973":{"position":[[1,6]]},"981":{"position":[[1151,7]]},"982":{"position":[[97,6]]},"983":{"position":[[460,6],[565,5],[779,6],[819,5]]},"986":{"position":[[107,5],[184,5],[881,5],[916,6]]},"987":{"position":[[440,5]]},"988":{"position":[[4754,7]]},"990":{"position":[[153,5],[418,5],[526,5],[559,5]]},"1002":{"position":[[207,6]]},"1004":{"position":[[244,5]]},"1020":{"position":[[324,7],[529,5]]},"1022":{"position":[[381,6]]},"1032":{"position":[[278,7]]},"1033":{"position":[[44,6],[297,5]]},"1065":{"position":[[41,5]]},"1090":{"position":[[114,5],[1148,5],[1251,5]]},"1093":{"position":[[388,6]]},"1094":{"position":[[478,6]]},"1102":{"position":[[1303,5]]},"1106":{"position":[[87,6],[235,6],[518,6]]},"1108":{"position":[[182,6]]},"1115":{"position":[[1,7],[600,5]]},"1119":{"position":[[12,7]]},"1120":{"position":[[149,5],[453,5],[514,5],[606,6]]},"1137":{"position":[[171,5]]},"1143":{"position":[[572,6]]},"1156":{"position":[[142,7]]},"1162":{"position":[[185,6]]},"1164":{"position":[[849,5],[889,6],[971,6],[1045,6],[1144,6]]},"1165":{"position":[[1015,6]]},"1175":{"position":[[132,5]]},"1177":{"position":[[576,5]]},"1181":{"position":[[251,6]]},"1185":{"position":[[206,5]]},"1186":{"position":[[65,5]]},"1188":{"position":[[140,6],[206,6],[282,6]]},"1192":{"position":[[77,5]]},"1194":{"position":[[314,5]]},"1207":{"position":[[300,7]]},"1208":{"position":[[173,5],[292,5],[1117,5],[1474,5]]},"1209":{"position":[[269,6]]},"1211":{"position":[[523,7]]},"1214":{"position":[[800,5]]},"1215":{"position":[[557,6]]},"1239":{"position":[[100,7]]},"1246":{"position":[[1374,5]]},"1249":{"position":[[390,6]]},"1292":{"position":[[469,7]]},"1295":{"position":[[676,5]]},"1296":{"position":[[641,6]]},"1299":{"position":[[205,6],[280,5],[355,5]]},"1300":{"position":[[425,6],[660,5],[736,6]]},"1301":{"position":[[213,5]]},"1304":{"position":[[1330,5],[1559,5],[1709,5],[1760,5]]},"1305":{"position":[[162,5],[185,5],[657,5],[945,5]]},"1307":{"position":[[36,5],[216,6],[308,5],[332,5],[791,5]]},"1308":{"position":[[54,5]]},"1309":{"position":[[239,5]]},"1314":{"position":[[100,5],[212,6]]},"1315":{"position":[[528,5],[1313,5]]},"1316":{"position":[[640,6]]},"1318":{"position":[[28,5]]},"1320":{"position":[[576,6]]},"1322":{"position":[[416,5]]}},"keywords":{}}],["write.indexeddb",{"_index":3053,"title":{},"content":{"464":{"position":[[536,15]]}},"keywords":{}}],["write/read",{"_index":3775,"title":{},"content":{"659":{"position":[[302,10]]}},"keywords":{}}],["writebuff",{"_index":6207,"title":{},"content":{"1208":{"position":[[1151,11],[1524,11]]}},"keywords":{}}],["writeev",{"_index":3736,"title":{"649":{"position":[[0,13]]}},"content":{"649":{"position":[[23,12]]}},"keywords":{}}],["writerow",{"_index":5132,"title":{},"content":{"886":{"position":[[2401,11],[2472,10]]}},"keywords":{}}],["writes",{"_index":6209,"title":{},"content":{"1208":{"position":[[1216,9]]}},"keywords":{}}],["writes.it",{"_index":6065,"title":{},"content":{"1143":{"position":[[237,9]]}},"keywords":{}}],["writes/sec",{"_index":2737,"title":{},"content":{"412":{"position":[[10077,10]]}},"keywords":{}}],["writessqlit",{"_index":6479,"title":{},"content":{"1302":{"position":[[66,12]]}},"keywords":{}}],["written",{"_index":483,"title":{},"content":{"29":{"position":[[425,8]]},"34":{"position":[[225,7]]},"39":{"position":[[437,7]]},"41":{"position":[[236,7],[373,7]]},"188":{"position":[[9,7]]},"358":{"position":[[87,7]]},"489":{"position":[[433,7]]},"647":{"position":[[214,7]]},"649":{"position":[[69,7]]},"650":{"position":[[47,7]]},"661":{"position":[[43,7],[124,7]]},"688":{"position":[[1075,7]]},"698":{"position":[[1167,7]]},"711":{"position":[[43,7],[176,7]]},"723":{"position":[[1092,7]]},"759":{"position":[[1407,8]]},"764":{"position":[[325,7]]},"767":{"position":[[188,7]]},"768":{"position":[[151,7]]},"769":{"position":[[162,7]]},"836":{"position":[[45,7],[126,7]]},"875":{"position":[[3774,7]]},"983":{"position":[[282,7],[360,7]]},"984":{"position":[[342,7]]},"987":{"position":[[640,7]]},"1058":{"position":[[176,7]]},"1084":{"position":[[65,7]]},"1119":{"position":[[50,7],[140,7]]},"1192":{"position":[[95,7]]},"1207":{"position":[[725,8]]},"1251":{"position":[[87,7]]},"1297":{"position":[[318,7]]},"1300":{"position":[[271,7]]},"1304":{"position":[[406,7]]}},"keywords":{}}],["wrong",{"_index":487,"title":{},"content":{"29":{"position":[[483,6]]},"143":{"position":[[401,6]]},"291":{"position":[[218,5]]},"458":{"position":[[458,6]]},"521":{"position":[[272,6]]},"697":{"position":[[626,6]]},"700":{"position":[[445,5]]},"702":{"position":[[440,5]]},"749":{"position":[[16667,5]]},"761":{"position":[[85,5]]},"781":{"position":[[72,5]]},"795":{"position":[[131,5]]},"799":{"position":[[512,5]]},"837":{"position":[[623,5]]},"881":{"position":[[25,5],[421,8]]},"966":{"position":[[144,6]]},"1126":{"position":[[308,5]]},"1198":{"position":[[1066,5]]}},"keywords":{}}],["wrote",{"_index":1761,"title":{},"content":{"299":{"position":[[1357,5]]},"786":{"position":[[95,5]]}},"keywords":{}}],["wrtc",{"_index":1370,"title":{},"content":{"210":{"position":[[443,5]]},"261":{"position":[[684,5]]},"904":{"position":[[2824,4],[2889,5]]},"911":{"position":[[766,5]]}},"keywords":{}}],["ws",{"_index":5137,"title":{},"content":{"886":{"position":[[3953,3],[4462,2]]},"894":{"position":[[12,2]]},"911":{"position":[[465,2],[596,5]]}},"keywords":{}}],["ws://example.com/subscript",{"_index":5138,"title":{},"content":{"886":{"position":[[3957,32]]}},"keywords":{}}],["ws://example.com:8080",{"_index":6256,"title":{},"content":{"1219":{"position":[[944,23]]},"1220":{"position":[[507,23]]}},"keywords":{}}],["ws://localhost:1337/socket",{"_index":5180,"title":{},"content":{"893":{"position":[[407,28]]}},"keywords":{}}],["wsoption",{"_index":5147,"title":{},"content":{"886":{"position":[[4691,9],[4863,10]]}},"keywords":{}}],["wss://example.com:8080",{"_index":5276,"title":{},"content":{"911":{"position":[[740,25]]}},"keywords":{}}],["wss://signaling.rxdb.info",{"_index":1369,"title":{},"content":{"210":{"position":[[413,29]]},"261":{"position":[[596,29]]},"904":{"position":[[2762,29]]}},"keywords":{}}],["x",{"_index":1438,"title":{},"content":{"243":{"position":[[1,1],[30,1],[72,1],[111,1],[151,1],[182,1],[211,1],[277,1],[326,1],[367,1],[397,1],[429,1],[461,1],[540,1],[943,1],[978,1],[1010,1]]},"412":{"position":[[13926,1]]},"849":{"position":[[1046,1]]},"854":{"position":[[1338,3]]},"987":{"position":[[185,1],[678,1]]}},"keywords":{}}],["xenova/al",{"_index":2213,"title":{},"content":{"391":{"position":[[392,10],[534,11]]},"402":{"position":[[1894,10]]}},"keywords":{}}],["xenova/multilingu",{"_index":2474,"title":{},"content":{"401":{"position":[[547,19]]}},"keywords":{}}],["xenova/paraphras",{"_index":2453,"title":{},"content":{"401":{"position":[[260,17]]}},"keywords":{}}],["xhr",{"_index":3549,"title":{},"content":{"610":{"position":[[190,3]]}},"keywords":{}}],["xy",{"_index":6577,"title":{"1324":{"position":[[22,3]]}},"content":{},"keywords":{}}],["y",{"_index":2765,"title":{},"content":{"412":{"position":[[13934,1]]}},"keywords":{}}],["yarn",{"_index":1083,"title":{},"content":{"128":{"position":[[127,4]]},"333":{"position":[[36,5]]},"578":{"position":[[65,5]]}},"keywords":{}}],["ye",{"_index":2740,"title":{},"content":{"412":{"position":[[10308,3]]},"703":{"position":[[1281,4]]},"875":{"position":[[3993,4]]},"1324":{"position":[[1,4]]}},"keywords":{}}],["year",{"_index":442,"title":{},"content":{"27":{"position":[[344,4]]},"118":{"position":[[430,5]]},"323":{"position":[[688,5]]},"402":{"position":[[1960,4],[2438,5]]},"408":{"position":[[1476,5],[5599,5]]},"455":{"position":[[305,5]]},"705":{"position":[[30,5]]},"780":{"position":[[151,6]]},"1198":{"position":[[335,6]]}},"keywords":{}}],["yj",{"_index":629,"title":{"40":{"position":[[0,4]]},"686":{"position":[[24,5]]}},"content":{"40":{"position":[[1,3],[288,3],[362,3],[621,3]]},"412":{"position":[[3832,3]]},"686":{"position":[[127,4],[737,3]]}},"keywords":{}}],["york",{"_index":2307,"title":{},"content":{"394":{"position":[[611,4]]}},"keywords":{}}],["you'd",{"_index":2603,"title":{},"content":{"410":{"position":[[1684,5]]},"412":{"position":[[11116,5]]},"906":{"position":[[612,5]]}},"keywords":{}}],["you'll",{"_index":1940,"title":{},"content":{"333":{"position":[[214,6]]},"412":{"position":[[7433,6],[11049,6]]},"836":{"position":[[2448,6]]},"1151":{"position":[[51,6]]},"1178":{"position":[[51,6]]}},"keywords":{}}],["you'r",{"_index":1151,"title":{},"content":{"148":{"position":[[311,6]]},"202":{"position":[[365,6]]},"207":{"position":[[91,6]]},"238":{"position":[[119,6]]},"239":{"position":[[100,6]]},"255":{"position":[[213,6]]},"286":{"position":[[140,6]]},"346":{"position":[[482,6]]},"369":{"position":[[341,6],[997,6]]},"371":{"position":[[120,6]]},"388":{"position":[[395,6]]},"412":{"position":[[9026,6]]},"498":{"position":[[111,6]]},"556":{"position":[[1645,6]]},"602":{"position":[[4,6]]},"1006":{"position":[[9,6]]}},"keywords":{}}],["you'v",{"_index":1321,"title":{},"content":{"205":{"position":[[4,6]]},"263":{"position":[[4,6]]},"555":{"position":[[6,6]]},"884":{"position":[[51,6]]}},"keywords":{}}],["youngest",{"_index":5735,"title":{},"content":{"1056":{"position":[[167,8]]}},"keywords":{}}],["your_appwrite_collection_id",{"_index":4909,"title":{},"content":{"862":{"position":[[1267,30]]}},"keywords":{}}],["your_appwrite_database_id",{"_index":4907,"title":{},"content":{"862":{"position":[[1224,28]]}},"keywords":{}}],["yourself",{"_index":2197,"title":{},"content":{"390":{"position":[[1059,8]]},"459":{"position":[[426,9]]},"462":{"position":[[463,8]]},"566":{"position":[[459,9]]},"851":{"position":[[172,8]]},"1031":{"position":[[159,8]]}},"keywords":{}}],["yourself.fix",{"_index":6176,"title":{},"content":{"1198":{"position":[[2259,12]]}},"keywords":{}}],["youtub",{"_index":2557,"title":{},"content":{"408":{"position":[[3049,7]]}},"keywords":{}}],["you’ll",{"_index":1861,"title":{},"content":{"304":{"position":[[271,6]]},"560":{"position":[[615,6]]}},"keywords":{}}],["you’r",{"_index":1565,"title":{},"content":{"254":{"position":[[81,6]]},"567":{"position":[[4,6]]}},"keywords":{}}],["you’v",{"_index":2050,"title":{},"content":{"357":{"position":[[306,6]]}},"keywords":{}}],["z",{"_index":2766,"title":{"1287":{"position":[[9,1]]},"1291":{"position":[[0,1]]}},"content":{"412":{"position":[[13941,1]]},"863":{"position":[[55,2],[60,2]]},"1287":{"position":[[181,1],[297,1]]},"1291":{"position":[[53,1]]},"1292":{"position":[[373,1],[731,1],[993,1]]}},"keywords":{}}],["z0",{"_index":5320,"title":{},"content":{"935":{"position":[[241,2]]},"1084":{"position":[[351,2],[366,2]]}},"keywords":{}}],["z][[a",{"_index":5849,"title":{},"content":{"1084":{"position":[[342,5]]}},"keywords":{}}],["z][a",{"_index":5319,"title":{},"content":{"935":{"position":[[236,4]]}},"keywords":{}}],["za",{"_index":5848,"title":{},"content":{"1084":{"position":[[339,2],[348,2],[363,2]]}},"keywords":{}}],["zero",{"_index":709,"title":{"474":{"position":[[3,4]]},"629":{"position":[[0,4]]},"630":{"position":[[4,4]]},"631":{"position":[[18,4]]}},"content":{"46":{"position":[[299,4]]},"254":{"position":[[509,4]]},"410":{"position":[[186,4]]},"486":{"position":[[27,4]]},"534":{"position":[[334,4]]},"594":{"position":[[332,4]]},"630":{"position":[[722,4]]},"632":{"position":[[1960,4]]},"640":{"position":[[479,4]]},"641":{"position":[[52,4]]},"643":{"position":[[328,4]]},"644":{"position":[[394,4],[600,4]]},"654":{"position":[[437,5]]},"723":{"position":[[2799,4]]},"780":{"position":[[762,4]]},"1115":{"position":[[308,4]]}},"keywords":{}}],["zerosync",{"_index":609,"title":{},"content":{"38":{"position":[[1103,8]]}},"keywords":{}}],["zh",{"_index":2462,"title":{},"content":{"401":{"position":[[396,2]]}},"keywords":{}}],["zone",{"_index":749,"title":{},"content":{"50":{"position":[[52,5],[269,4]]},"129":{"position":[[572,4]]},"286":{"position":[[353,4]]},"898":{"position":[[1179,4]]}},"keywords":{}}],["zone.j",{"_index":746,"title":{"50":{"position":[[28,8]]},"129":{"position":[[28,8]]}},"content":{"50":{"position":[[167,8]]},"129":{"position":[[318,8],[327,7],[435,8]]}},"keywords":{}}],["zone.js/plugins/zon",{"_index":760,"title":{},"content":{"50":{"position":[[485,21]]},"129":{"position":[[705,21]]}},"keywords":{}}],["zschemaclass",{"_index":6391,"title":{},"content":{"1291":{"position":[[10,12]]}},"keywords":{}}],["zschemaclass.registerformat('email",{"_index":6392,"title":{},"content":{"1291":{"position":[[64,36]]}},"keywords":{}}]],"pipeline":["stemmer"]}
\ No newline at end of file
diff --git a/docs/lunr-index.json b/docs/lunr-index.json
deleted file mode 100644
index c33de6cbd1a..00000000000
--- a/docs/lunr-index.json
+++ /dev/null
@@ -1 +0,0 @@
-{"version":"2.3.9","fields":["title","content","keywords"],"fieldVectors":[["title/0",[0,850.067,1,698.67]],["content/0",[]],["keywords/0",[]],["title/1",[2,682.507]],["content/1",[0,7.646,1,10.399,2,8.547,3,6.487,4,1.985,5,3.045,6,1.855,7,4.402,8,7.468,9,6.452,10,7.58,11,9.248,12,4.917,13,12.341,14,7.201,15,8.213,16,7.251,17,14.102,18,4.711,19,4.227,20,6.317,21,8.133,22,5.027,23,3.924,24,6.612,25,0.938,26,11.819,27,11.819,28,6.099,29,5.85,30,6.634,31,9.695,32,2.984,33,1.824,34,3.229,35,4.044,36,7.357,37,2.368,38,14.102]],["keywords/1",[]],["title/2",[39,1723.121]],["content/2",[0,8.084,1,11.081,4,1.545,23,3.98,24,5.146,25,0.992,28,8.601,29,8.249,30,9.356,31,10.25,32,4.209,33,1.928,34,3.414,35,4.276,36,7.778,37,2.503,39,20.692,40,5.691,41,10.081,42,18.091,43,17.54,44,4.152,45,4.23,46,4.826,47,14.91,48,14.91,49,7.014,50,8.219,51,3.568]],["keywords/2",[]],["title/3",[52,513.439]],["content/3",[0,9.356,1,10.699,3,7.938,4,1.788,5,3.725,6,1.671,23,3.659,24,5.956,28,7.463,29,7.158,30,8.118,31,11.863,32,3.652,33,2.231,34,3.951,35,4.948,36,9.002,37,2.897,51,4.129,52,6.026,53,7.289,54,7.5,55,20.223,56,17.256]],["keywords/3",[]],["title/4",[52,513.439]],["content/4",[0,8.446,1,11.242,4,2.121,23,3.485,24,5.377,28,6.738,29,6.462,30,7.329,31,10.71,32,3.297,33,2.014,34,3.567,35,4.467,36,8.127,37,2.615,52,6.301,57,15.579,58,5.706,59,14.406,60,5.812,61,8.379,62,6.674,63,3.416,64,10.533,65,5.106,66,11.34,67,6.268,68,8.187,69,4.863,70,3.799,71,13.056,72,7.415,73,7.955,74,15.579]],["keywords/4",[]],["title/5",[75,1204.817]],["content/5",[0,8.774,1,10.983,4,1.677,5,3.494,6,1.567,15,9.425,16,8.322,23,3.55,24,5.586,28,7,29,6.713,30,7.614,31,11.126,32,3.425,33,2.093,34,3.705,35,4.641,36,8.443,37,2.717,53,6.836,63,3.549,65,5.304,75,16.512,76,9.62,77,13.084,78,13.563,79,8.57,80,14.965,81,11.542]],["keywords/5",[]],["title/6",[42,1506.563]],["content/6",[0,6.502,1,10.657,4,2.067,5,3.694,6,1.657,12,4.181,23,4.007,24,5.906,28,7.4,29,7.097,30,8.049,31,8.244,32,4.222,33,2.212,34,3.917,35,4.907,36,6.256,37,3.349,42,18.596,43,17.051,44,3.339,45,3.402,46,3.882,49,8.049,50,9.432,63,2.63,69,3.743,81,8.552,82,8.391,83,8.729,84,10.645,85,5.776,86,4.845,87,4.167,88,4.112,89,10.774,90,11.992,91,17.11,92,5.113,93,11.089]],["keywords/6",[]],["title/7",[75,1013.728,94,975.122]],["content/7",[0,7.207,1,10.649,4,2.359,5,3.971,6,1.781,12,4.635,23,3.937,24,6.349,28,5.749,29,5.514,30,6.253,31,9.138,32,3.893,33,2.727,34,4.211,35,6.527,36,6.934,37,3.088,43,10.419,44,3.701,58,4.869,69,4.149,75,13.638,80,17.009,81,9.48,84,7.093,88,4.558,89,8.37,92,5.667,93,12.292,94,13.118,95,13.292,96,7.524,97,4.667,98,5.694,99,4.683]],["keywords/7",[]],["title/8",[58,495.646,99,476.718,100,501.136]],["content/8",[0,9.353,1,9.743,4,1.998,22,5.447,23,4.056,24,4.917,25,0.622,26,7.839,27,7.839,28,6.16,29,7.155,31,6.43,32,3.014,33,1.209,34,2.142,35,4.085,36,4.879,37,2.391,44,2.604,50,5.156,53,3.951,58,8.968,61,5.031,94,5.817,99,8.457,100,9.068,101,8.185,102,8.649,103,4.168,104,6.324,105,5.071,106,6.43,107,2.297,108,10.061,109,9.209,110,4.126,111,3.529,112,6.134,113,4.351,114,4.141,115,14.244,116,3.863,117,13.171,118,11.937,119,14.244,120,14.244,121,5.62,122,4.105,123,9.353,124,3.503,125,3.701,126,8.649,127,8.649,128,8.649,129,9.353,130,9.353,131,4.743,132,9.353]],["keywords/8",[]],["title/9",[104,1259.934]],["content/9",[0,9.056,1,11.115,4,2.22,23,3.801,24,5.765,28,7.224,29,6.928,30,7.858,31,11.483,32,3.535,33,2.16,34,3.824,35,6.143,36,8.713,37,2.804,68,8.778,72,7.95,73,8.529,99,5.884,104,16.865,133,16.703,134,9.454,135,16.703]],["keywords/9",[]],["title/10",[104,1060.102,136,904.237]],["content/10",[0,8.261,1,10.729,5,3.29,23,4.063,24,5.259,28,6.59,29,6.32,30,7.168,31,10.475,32,4.27,33,1.97,34,3.489,35,4.369,36,7.949,37,2.558,42,18.288,43,15.815,44,4.243,45,4.322,46,4.932,49,7.168,50,8.399,104,13.642,136,11.636,137,15.237,138,15.237,139,15.237,140,11.944,141,15.237,142,8.964]],["keywords/10",[]],["title/11",[100,580.619,140,1229.009]],["content/11",[0,5.712,1,8.257,4,1.614,6,1.02,23,4.214,24,3.637,26,8.83,28,4.557,29,4.37,30,7.327,31,7.243,32,2.23,33,1.362,34,3.566,35,3.021,36,5.496,37,1.769,44,2.934,45,2.989,87,3.661,100,7.58,107,2.588,109,6.812,110,4.648,116,4.351,140,17.122,142,6.198,143,10.536,144,6.475,145,10.536,146,10.536,147,11.819,148,10.686,149,6.46,150,10.536,151,5.716,152,2.098,153,15.575,154,3.873,155,3.141,156,5.579,157,10.536,158,6.634,159,15.575,160,10.536,161,3.328,162,3.724,163,8.518,164,4.891,165,10.536,166,5.712,167,4.579,168,9.743,169,9.22,170,9.22,171,2.751,172,6.076,173,6.263,174,6.263,175,6.553,176,3.845,177,5.418,178,10.536]],["keywords/11",[]],["title/12",[7,299.457,107,235.629,179,476.813,180,441.279,181,255.603,182,191.399]],["content/12",[]],["keywords/12",[]],["title/13",[25,104.266,179,779.313]],["content/13",[4,1.788,5,3.725,7,6.827,25,1.597,33,2.828,67,6.943,86,6.973,107,4.239,110,7.612,179,10.871,183,5.435,184,3.742,185,4.169,186,6.464,187,13.441,188,12.267,189,8.811,190,10.23,191,5.188,192,5.802,193,6.914]],["keywords/13",[]],["title/14",[194,1085.252]],["content/14",[4,1.602,5,3.338,6,1.497,9,4.772,25,1.225,33,3.131,45,2.959,53,4.406,64,7.052,65,5.067,67,4.197,107,2.562,152,2.077,180,10.006,182,2.081,184,4.417,192,3.507,194,14.103,195,5.523,196,3.246,197,7.439,198,4.13,199,4.994,200,3.892,201,4.029,202,3.209,203,7.839,204,4.935,205,4.017,206,3.713,207,10.154,208,12.89,209,9.128,210,6.943,211,8.433,212,13.529,213,10.431,214,10.431,215,8.125,216,9.645,217,3.726,218,7.956,219,3.877,220,5.465,221,10.431,222,2.844,223,5.363,224,3.163,225,3.739,226,5.326,227,5.363,228,4.555,229,5.851,230,3.295,231,7.439,232,6.2,233,9.128,234,4.825,235,9.615,236,7.171,237,6.84,238,7.052,239,5.326,240,2.329,241,3.877,242,5.75,243,4.798]],["keywords/14",[]],["title/15",[244,1723.121]],["content/15",[4,1.579,7,6.298,20,6.825,33,2.609,46,4.932,107,3.743,110,6.721,180,7.009,181,4.06,182,3.04,184,4.375,186,4.504,190,7.127,220,5.386,244,22.265,245,15.237,246,4.813,247,14.09,248,8.261,249,8.624,250,10.766,251,8.472,252,7.823,253,17.656,254,9.057,255,6.21,256,7.168,257,6.825,258,11.622,259,12.77,260,7.891,261,13.334,262,8.131,263,12.319,264,4.417,265,5.481,266,14.09]],["keywords/15",[]],["title/16",[261,1630.706]],["content/16",[1,6.414,2,5.272,4,1.492,5,3.108,6,1.394,7,4.493,25,0.957,37,2.417,51,3.445,52,3.966,53,6.08,65,4.718,69,4.493,75,9.307,76,8.557,86,5.816,88,4.936,100,5.331,131,7.3,152,2.866,183,4.534,184,4.212,189,7.35,205,3.74,206,5.124,220,5.088,224,4.364,225,5.16,251,8.003,260,10.059,261,21.505,267,12.064,268,14.395,269,12.064,270,14.395,271,5.106,272,6.137,273,4.259,274,9.307,275,4.793,276,8.745,277,8.302,278,3.875,279,8.557,280,9.182,281,5.582,282,10.98]],["keywords/16",[]],["title/17",[283,1561.679]],["content/17",[2,5.384,4,2.302,5,3.173,6,1.907,7,6.149,33,2.873,45,4.17,51,3.517,58,7.215,63,3.224,88,5.04,99,7.827,100,5.443,182,2.933,190,6.876,246,4.644,250,7.844,273,3.224,283,21.35,284,5.214,285,10.105,286,9.034,287,7.306,288,7.259,289,6.837,290,11.212,291,7.038,292,11.522,293,4.115,294,11.884,295,9.034,296,10.941,297,4.17,298,7.213,299,9.142,300,8.103,301,3.35]],["keywords/17",[]],["title/18",[302,1267.615,303,1372.068]],["content/18",[18,5.165,37,2.596,44,4.306,110,6.821,156,10.788,180,7.113,182,3.085,184,3.353,189,7.896,192,5.199,194,9.006,196,4.813,199,7.404,200,5.769,207,8.524,220,5.466,224,4.688,235,9.617,241,5.748,242,8.524,243,7.113,262,8.252,264,4.483,293,4.328,302,19.58,303,19.939,304,7.788,305,9.617,306,11.028,307,8.918,308,5.005,309,15.463,310,6.999,311,6.624,312,14.299,313,15.463,314,5.485,315,5.036]],["keywords/18",[]],["title/19",[302,1267.615,316,1141.31]],["content/19",[4,1.109,6,1.525,15,6.231,23,3.623,25,0.711,32,3.333,33,1.383,34,3.606,46,3.463,65,5.163,69,3.34,70,2.609,72,5.092,82,11.023,107,2.628,110,4.719,113,4.976,114,3.11,151,3.301,152,2.13,164,5.871,180,4.921,181,2.851,184,3.416,185,2.584,190,7.368,196,3.33,205,2.78,206,3.808,207,5.897,220,3.782,228,4.672,233,9.362,254,6.359,272,4.561,273,4.522,274,6.917,289,4.976,297,3.035,302,19.219,303,13.784,316,13.609,317,10.698,318,8.966,319,7.019,320,15.752,321,6.575,322,5.79,323,5.897,324,9.362,325,7.486,326,8.386,327,10.698,328,8.65,329,4.767,330,2.572,331,6.917,332,9.362,333,9.893,334,3.085,335,11.234,336,15.752,337,10.698,338,10.698,339,10.698,340,10.698,341,9.363,342,10.698,343,10.698,344,10.698,345,8.16]],["keywords/19",[]],["title/20",[346,1561.679]],["content/20",[6,2.151,33,2.873,46,5.728,136,10.206,180,8.14,181,4.715,205,6.311,206,6.299,217,6.321,220,7.855,346,14.831,347,8.14,348,10.016,349,11.442,350,15.486,351,13.871,352,15.486,353,15.486,354,17.696,355,6.974,356,8.231,357,12.621]],["keywords/20",[]],["title/21",[358,1723.121]],["content/21",[4,1.967,110,8.375,151,5.858,181,5.059,205,4.933,206,6.758,220,6.712,252,7.362,288,9.376,293,5.315,297,5.386,305,11.808,346,19.452,358,21.463,359,13.821,360,10.846,361,10.65]],["keywords/21",[]],["title/22",[362,1259.934]],["content/22",[33,2.109,37,2.738,107,4.006,180,7.503,181,4.346,184,3.537,194,12.286,201,6.3,202,6.489,205,4.238,206,5.806,224,4.945,272,6.954,273,3.577,293,4.566,304,8.215,311,9.037,346,13.669,362,14.263,363,15.082,364,8.843,365,16.311,366,10.161,367,14.274,368,10.271,369,16.311,370,10.271,371,8.509,372,10.546,373,4.206,374,13.187,375,8.509]],["keywords/22",[]],["title/23",[239,951.488]],["content/23",[33,1.97,61,8.195,134,8.624,152,3.034,184,5.221,189,7.78,192,5.123,202,4.687,206,5.424,239,11.55,240,5.051,260,7.891,273,3.341,274,9.852,282,11.622,301,3.473,373,3.929,376,14.09,377,11.944,378,9.155,379,6.971,380,16.466,381,4.917,382,11.631,383,14.09,384,15.237,385,5.581,386,11.091,387,8.874,388,8.547,389,7.835,390,11.341,391,7.674,392,7.087,393,8.195]],["keywords/23",[]],["title/24",[0,1010.306]],["content/24",[0,12.241,1,8.09,4,1.351,5,2.816,6,1.263,7,4.071,25,0.867,33,1.687,37,3.048,40,4.979,41,8.819,52,3.594,63,3.981,65,4.275,84,6.96,97,4.579,100,4.83,148,7.522,152,3.614,184,2.828,201,5.038,218,13.847,239,11.528,243,6,271,4.627,277,10.47,278,3.511,287,6.483,289,6.067,292,10.224,308,5.876,371,6.804,393,7.015,394,11.449,395,5.484,396,5.931,397,8.32,398,6.798,399,7.13,400,8.174,401,5.842,402,7.522,403,10.545,404,9.949,405,6.707,406,11.414,407,6.36,408,4.315,409,8.32,410,8.433]],["keywords/24",[]],["title/25",[411,1630.706]],["content/25",[0,9.434,4,1.803,33,2.843,86,7.031,134,9.849,152,3.464,180,8.004,182,3.472,184,3.773,222,4.745,273,4.821,287,8.649,288,8.593,411,19.24,412,17.4,413,9.012,414,8.594,415,17.4,416,14.634,417,7.835,418,13.64,419,10.572,420,10.572,421,9.012]],["keywords/25",[]],["title/26",[422,1723.121]],["content/26",[0,8.774,4,1.677,6,1.567,88,5.549,114,6.102,182,3.229,184,3.51,198,4.323,200,6.038,202,4.978,207,12.841,219,6.016,239,8.264,240,3.614,262,8.636,269,13.563,287,8.044,310,7.325,378,9.724,422,19.408,423,9.946,424,10.464,425,5.822,426,10.065,427,5.949,428,8.704,429,14.965,430,20.989,431,14.965,432,8.505,433,11.781,434,16.184,435,7.404]],["keywords/26",[]],["title/27",[436,1723.121]],["content/27",[0,8.322,4,1.59,7,4.791,41,10.378,107,4.98,125,6.074,154,5.642,181,6.049,190,7.18,196,4.777,220,8.025,229,8.61,230,4.849,239,7.837,246,4.849,262,10.819,265,5.522,289,7.139,290,11.708,308,4.968,323,8.461,382,7.893,385,5.622,436,20.992,437,6.024,438,7.592,439,10.741,440,7.1,441,11.708,442,11.173,443,13.432,444,10.741,445,15.349,446,11.425,447,9.791,448,12.41]],["keywords/27",[]],["title/28",[295,1145.198]],["content/28",[1,5.776,2,6.62,4,1.343,6,1.75,7,6.497,9,5.93,10,7.152,12,6.302,25,1.202,33,1.676,37,3.494,51,3.102,52,3.571,63,2.842,84,6.917,136,7.475,156,6.864,176,4.73,190,6.063,201,5.006,222,3.534,230,4.095,246,4.095,266,11.986,271,4.598,273,2.842,278,3.489,293,3.628,295,13.838,297,3.677,352,11.343,408,4.288,409,8.268,447,8.268,448,14.613,449,12.962,450,12.962,451,7.966,452,5.995,453,11.343,454,8.38,455,6.206,456,11.343,457,8.764,458,6.029,459,13.787,460,9.887,461,10.863,462,5.15,463,9.244,464,9.648,465,9.648,466,6.762,467,4.582,468,5.93,469,10.16]],["keywords/28",[]],["title/29",[470,1863.425]],["content/29",[4,1.59,6,1.486,7,4.791,15,8.939,20,6.875,33,1.985,125,6.074,184,4.397,201,5.928,202,6.237,220,5.426,234,7.1,240,3.427,254,9.124,289,7.139,305,9.546,311,6.575,366,9.766,373,3.958,382,7.893,385,5.622,387,8.939,471,22.702,472,13.432,473,11.425,474,8.852,475,14.193,476,9.325,477,11.807,478,9.546,479,9.222,480,5.522,481,8.461,482,8.391,483,8.255,484,8.61,485,12.032,486,9.124,487,9.665]],["keywords/29",[]],["title/30",[488,1561.679]],["content/30",[2,6.268,4,1.773,5,3.695,6,1.657,7,7.466,10,6.772,11,11.223,12,5.968,33,2.213,51,4.095,88,5.868,98,7.332,100,8.857,110,7.549,198,4.572,200,6.385,202,5.265,373,4.414,459,13.055,488,18.233,489,12.739,490,6.8,491,12.458,492,11.572,493,10.644,494,13.055]],["keywords/30",[]],["title/31",[417,705.949,495,1372.068]],["content/31",[5,3.788,6,2.14,10,6.943,40,6.698,52,6.998,61,9.438,62,7.517,63,4.847,114,5.101,190,8.208,230,5.543,378,10.543,381,5.662,402,10.12,417,7.901,488,14.706,495,15.356,496,7.09,497,15.356,498,10.913,499,9.222,500,12.279,501,9.023]],["keywords/31",[]],["title/32",[502,1723.121]],["content/32",[1,7.819,2,6.427,10,9.574,18,5.861,33,2.858,51,4.199,52,4.835,88,6.016,152,3.493,229,9.842,260,9.087,273,3.848,274,11.345,295,10.784,353,15.356,377,13.755,441,13.384,454,11.345,502,20.438,503,9.292,504,7.779,505,17.547,506,9.514,507,10.913]],["keywords/32",[]],["title/33",[508,1173.393]],["content/33",[4,1.923,25,1.412,33,1.741,37,2.26,52,6.306,60,5.023,62,5.768,63,2.953,86,5.441,92,5.741,99,4.743,111,5.081,152,2.681,183,4.241,200,5.023,202,5.709,260,9.611,273,4.657,281,5.221,292,10.554,293,3.769,297,6.024,308,4.358,319,6,322,4.95,334,3.882,370,8.478,379,6.16,454,8.705,501,6.923,508,14.412,509,13.464,510,6.828,511,13.235,512,5.511,513,8.004,514,4.827,515,6.649,516,6.923,517,7.3,518,13.464,519,7.242,520,6.094,521,10.886,522,12.45,523,7.242,524,8.829,525,7.076]],["keywords/33",[]],["title/34",[526,1723.121]],["content/34",[4,1.279,6,1.195,7,3.854,10,4.886,21,7.121,25,1.348,33,2.621,44,3.438,58,6.398,63,2.708,98,7.483,110,5.446,113,5.743,114,3.589,179,8.683,182,2.463,185,2.983,186,3.649,190,5.775,196,3.843,202,5.374,217,6.24,222,3.367,265,4.442,273,4.446,284,4.38,293,3.456,300,6.806,301,2.814,310,5.589,322,4.539,330,2.969,348,6.988,396,5.707,421,6.394,425,4.442,440,5.711,462,4.906,483,6.641,526,21.506,527,8.983,528,12.347,529,6.988,530,11.417,531,6.749,532,7.191,533,6.988,534,8.806,535,9.678,536,4.234,537,4.047,538,8.683,539,5.743,540,9.19,541,6.021,542,7.876,543,4.572,544,4.607,545,3.42,546,9.982]],["keywords/34",[]],["title/35",[547,1723.121]],["content/35",[4,1.351,5,2.816,6,1.263,7,4.071,10,5.161,25,0.867,37,3.506,41,8.819,44,3.632,46,4.222,51,3.121,52,3.594,65,4.275,70,3.181,75,8.433,107,3.204,110,5.753,114,5.277,125,5.161,181,4.837,184,2.828,185,3.151,186,5.366,225,4.675,230,4.12,272,5.561,273,3.981,275,4.343,277,7.522,278,3.511,284,4.627,293,5.082,301,2.973,308,4.222,322,4.795,334,3.761,379,5.967,440,6.033,490,5.182,529,7.382,537,4.275,547,19.309,548,8.213,549,6.855,550,7.382,551,5.935,552,6.855,553,5.842,554,6.245,555,8.112,556,4.659,557,5.182,558,10.224,559,8.32,560,6.907,561,6.136,562,7.522,563,5.587,564,6.033,565,7.382]],["keywords/35",[]],["title/36",[260,811.993,566,1077.888]],["content/36",[4,1.545,5,3.219,7,4.654,8,7.895,33,2.572,49,7.014,67,5.999,100,5.521,114,4.334,175,9.273,184,3.233,190,6.974,195,7.895,199,7.139,207,10.963,215,7.836,222,4.066,260,12.363,287,7.411,288,7.363,297,4.23,315,4.856,318,12.495,330,3.585,407,7.271,416,9.924,417,6.713,423,9.163,429,13.787,566,16.411,567,9.777,568,8.771,569,7.316,570,13.787,571,9.777,572,5.326,573,10.25,574,13.787,575,13.787,576,12.495,577,9.273]],["keywords/36",[]],["title/37",[578,1723.121]],["content/37",[6,1.52,9,7.181,25,1.044,65,6.743,70,3.828,86,6.342,107,3.855,110,6.924,181,6.116,182,4.105,195,8.312,198,4.193,202,4.828,205,4.078,219,5.834,240,3.505,242,13.428,243,9.464,272,6.692,288,7.751,304,7.906,416,10.447,479,9.431,544,5.856,561,9.679,578,14.514,579,10.148,580,7.22,581,6.661,582,11.54,583,13.736,584,10.613]],["keywords/37",[]],["title/38",[585,1723.121]],["content/38",[4,1.914,6,1.502,18,3.502,28,4.534,29,4.348,33,1.356,40,5.923,46,5.98,51,2.509,58,3.84,76,9.224,92,4.47,97,3.68,99,3.693,102,9.694,107,3.811,114,3.047,125,4.148,154,5.704,162,3.706,180,4.822,182,2.092,183,3.302,185,4.463,190,4.904,200,3.911,203,5.316,205,4.032,206,6.576,220,3.706,240,2.341,248,5.684,250,5.594,262,8.28,264,3.039,298,5.144,304,5.28,307,6.046,311,4.491,315,3.414,330,2.52,351,8.217,360,5.989,366,7.474,373,2.704,381,5.007,396,3.425,451,9.536,452,4.849,516,5.39,523,5.638,565,5.933,585,23.299,586,11.55,587,6.687,588,7.996,589,7.336,590,4.47,591,9.694,592,6.369,593,8.217,594,10.483,595,10.483,596,7.336,597,8.217,598,7.088,599,9.694,600,8.346,601,10.483,602,9.694,603,10.483,604,10.483,605,10.483,606,8.217,607,5.684,608,10.483,609,10.483,610,9.694,611,6.601]],["keywords/38",[]],["title/39",[612,1723.121]],["content/39",[1,5.849,4,1.36,6,1.765,25,0.873,33,1.697,37,3.061,49,6.175,70,3.201,86,5.303,107,3.224,181,5.582,185,3.171,220,4.64,222,4.972,225,6.536,226,6.702,241,4.879,265,4.722,273,2.878,278,3.533,297,5.172,301,4.156,310,8.253,315,6.824,319,5.849,330,3.156,396,4.288,416,8.736,423,8.066,467,4.64,483,7.059,536,4.5,537,5.976,545,3.635,554,6.284,561,6.175,563,5.622,565,7.429,612,16.86,613,4.624,614,5.677,615,11,616,9.184,617,6.95,618,8.066,619,12.137,620,12.137,621,9.36,622,5.326,623,13.125,624,13.125,625,10.011,626,10.011,627,10.288,628,7.429]],["keywords/39",[]],["title/40",[629,1506.563]],["content/40",[1,5.313,6,1.925,9,5.455,10,6.743,25,1.133,33,1.542,37,2.002,44,3.32,49,5.609,60,4.448,86,4.818,107,4.186,110,5.259,114,3.466,181,3.177,184,3.695,185,2.88,196,3.711,202,3.668,222,4.646,225,7.128,226,8.701,265,4.289,273,3.737,278,4.587,293,3.338,301,3.884,334,3.438,364,6.464,381,3.848,392,5.546,395,5.013,396,3.896,398,4.465,400,5.368,419,7.244,437,4.679,438,4.465,462,4.737,477,9.924,532,6.944,533,6.748,536,4.088,537,5.585,565,6.748,607,6.464,613,4.2,614,5.157,625,9.095,628,6.748,629,17.541,630,6.264,631,6.944,632,7.014,633,9.64,634,8.503,635,10.434,636,6.518,637,6.811,638,6.876,639,5.675,640,8.503,641,8.343,642,5.341,643,8.503]],["keywords/40",[]],["title/41",[644,1723.121]],["content/41",[6,1.592,33,2.126,40,6.275,152,3.273,162,5.811,185,3.971,186,4.859,205,5.509,206,5.852,220,5.811,230,5.193,284,5.831,315,5.354,355,6.478,414,6.426,481,9.062,483,11.404,606,12.886,625,12.539,644,19.606,645,9.671,646,16.439,647,16.439,648,10.352,649,13.291,650,9.481,651,16.439,652,7.871,653,15.201,654,16.439,655,21.202,656,9.772]],["keywords/41",[]],["title/42",[657,1723.121]],["content/42",[1,7.156,2,5.882,4,1.664,7,5.013,10,8.264,25,1.543,33,2.077,37,2.696,88,5.506,184,3.483,185,3.879,205,4.173,220,7.382,284,7.408,293,5.846,301,3.66,315,6.802,325,11.238,379,7.347,536,5.506,537,5.263,559,10.244,639,7.643,657,19.311,658,16.059,659,7.387,660,9.008,661,10.244,662,11.453,663,8.853,664,8.035]],["keywords/42",[]],["title/43",[665,1723.121]],["content/43",[4,2.128,25,1.182,33,2.297,37,2.123,40,4.828,41,8.551,100,6.579,107,4.364,181,3.37,185,3.055,195,6.697,205,4.616,220,6.28,225,4.534,226,6.458,230,3.995,240,2.824,241,4.701,248,6.857,260,6.55,297,3.588,298,6.206,372,8.177,391,6.37,420,7.684,437,4.964,478,11.05,515,6.246,536,6.092,599,11.695,662,9.019,663,6.972,665,23.112,666,12.647,667,9.647,668,6.55,669,11.067,670,7.094,671,10.599,672,7.866,673,6.597,674,6.507,675,5.882,676,9.206,677,9.913,678,7.964,679,12.647,680,11.067,681,12.647,682,10.225,683,8.85,684,11.695,685,9.206,686,11.695,687,12.647,688,7.684,689,6.913]],["keywords/43",[]],["title/44",[25,45.956,52,190.408,97,242.606,107,169.742,181,184.131,257,309.534,264,200.341,583,604.745,690,691.049,691,691.049]],["content/44",[]],["keywords/44",[]],["title/45",[52,513.439]],["content/45",[4,1.677,5,3.494,6,2.032,7,5.052,37,3.524,51,3.873,52,5.783,60,6.038,114,6.102,198,4.323,205,4.205,206,5.761,273,3.549,297,4.591,308,6.794,322,5.949,396,5.288,501,8.322,541,7.892,556,5.781,557,6.43,572,5.781,659,7.445,692,8.264,693,7.249,694,8.044,695,7.992,696,10.065,697,10.323,698,10.464,699,10.464,700,12.046,701,10.065]],["keywords/45",[]],["title/46",[4,140.222,52,372.867,257,606.144]],["content/46",[4,1.343,6,2.18,12,4.519,37,2.176,40,6.9,44,5.033,52,3.571,63,2.842,70,4.408,87,4.504,107,3.184,121,7.788,149,7.497,151,3.999,181,4.816,182,2.586,184,2.811,185,5.027,205,4.696,206,4.614,220,4.582,240,4.036,243,5.962,264,3.758,273,3.964,278,3.489,293,3.628,314,6.412,315,4.222,389,6.665,400,5.836,428,6.971,468,8.269,490,5.15,552,6.812,581,5.501,675,6.029,702,12.962,703,4.836,704,6.812,705,7.549,706,6.618,707,8.764,708,8.162,709,7.966,710,10.863,711,5.501,712,7.875,713,8.38,714,8.627,715,9.648,716,4.679,717,6.206,718,5.26,719,8.911]],["keywords/46",[]],["title/47",[4,123.338,52,327.97,72,566.533,510,603.606]],["content/47",[1,4.113,3,4.245,5,3.044,6,1.656,25,1.138,37,1.549,40,3.523,44,2.57,46,4.564,51,4.094,52,6.235,58,3.38,60,3.443,65,3.025,69,2.881,86,3.729,88,3.164,96,5.224,99,3.251,110,4.071,114,4.974,125,3.652,152,2.807,182,1.841,183,2.907,185,2.229,192,3.103,195,4.887,196,2.872,202,4.337,222,2.517,224,2.798,232,5.486,252,3.579,256,4.342,273,3.092,278,2.484,281,7.427,287,4.587,297,4.853,299,5.74,300,7.772,308,6.2,310,4.177,315,3.006,322,3.393,330,4.113,348,5.224,371,4.815,379,4.222,390,6.869,466,4.815,479,5.545,480,3.32,481,5.088,485,11.052,496,5.697,506,5.004,529,5.224,531,5.045,536,3.164,538,4.587,541,4.5,546,7.462,549,4.85,553,4.134,563,6.04,572,3.297,613,3.251,614,6.098,630,3.393,695,4.558,698,5.967,700,10.494,703,3.443,720,7.04,721,8.076,722,4.648,723,6.24,724,9.229,725,9.229,726,6.718,727,6.458,728,8.076,729,8.076,730,13.038,731,9.229,732,3.229,733,9.229,734,4.648,735,4.155,736,3.456,737,3.103,738,5.967,739,5.967,740,4.293,741,5.607,742,4.177,743,6.458]],["keywords/47",[]],["title/48",[25,79.157,171,310.82,191,357.826,257,533.158]],["content/48",[]],["keywords/48",[]],["title/49",[25,104.266,29,650.349]],["content/49",[25,1.625,28,10.568,29,10.136,30,9.73,182,4.127,257,9.264,319,9.217]],["keywords/49",[]],["title/50",[330,286.181,744,885.975,745,650.672,746,997.556]],["content/50",[6,1.347,9,6.366,22,5.67,23,3.702,25,1.262,46,4.504,83,10.128,109,8.996,155,4.147,162,4.918,164,4.369,183,6.804,198,5.07,257,8.502,330,4.563,366,6.702,425,5.005,722,12.625,744,16.08,745,10.376,746,11.661,747,15.407,748,15.346,749,15.907,750,12.176,751,8.551,752,12.176,753,12.866,754,10.907,755,13.914,756,13.914,757,8.996,758,6.018,759,13.914,760,12.866]],["keywords/50",[]],["title/51",[33,174.985,198,361.493,224,410.309]],["content/51",[4,0.991,19,4.344,22,3.803,23,4.207,24,5.002,25,0.636,32,3.067,33,2.262,34,3.318,35,5.595,37,3.276,49,4.501,52,3.993,63,2.098,69,2.987,73,4.886,111,3.61,114,2.782,151,2.952,158,6.025,161,3.023,167,4.158,198,2.556,224,2.901,257,6.491,264,2.774,271,3.394,275,5.824,297,2.714,334,2.759,355,5.711,423,5.88,440,4.426,462,3.802,467,3.382,510,4.852,531,5.23,539,4.45,551,4.354,572,3.418,590,4.08,607,5.188,622,3.883,630,7.172,668,4.955,723,6.469,732,3.348,758,4.138,761,6.965,762,7.122,763,4.886,764,5.23,765,5.733,766,11.716,767,5.466,768,9.992,769,6.965,770,4.725,771,7.008,772,3.969,773,6.893,774,5.23,775,4.581,776,6.897,777,4.264,778,7.122,779,6.369,780,5.067,781,9.568,782,5.629,783,8.373]],["keywords/51",[]],["title/52",[784,1141.31,785,478.129]],["content/52",[23,4.255,32,4.464,33,1.45,34,5.659,35,6.704,63,2.46,171,2.929,462,8.38,490,4.457,545,3.107,642,5.024,659,5.16,682,13.184,768,6.408,784,8.165,785,3.421,786,4.805,787,7.903,788,9.4,789,13.666,790,9.816,791,9.816,792,6.469,793,9.816,794,14.27,795,9.816,796,9.816,797,14.27,798,9.816,799,11.21,800,7.849,801,9.4,802,9.816,803,16.813,804,9.311,805,12.599,806,7.855,807,9.069,808,9.4,809,5.539,810,9.816]],["keywords/52",[]],["title/53",[273,261.029,284,422.228,545,329.694,735,535.943]],["content/53",[25,1.31,51,4.715,192,6.625,281,7.641,284,6.99,301,4.491,330,4.738,401,8.826,425,7.089,537,6.458,538,9.794,544,7.352,545,5.458,556,7.039,611,12.408]],["keywords/53",[]],["title/54",[167,517.318,183,374.904,722,599.526,811,885.975]],["content/54",[6,1.644,23,4.229,35,4.868,257,7.603,341,10.091,768,12.364,783,14.855,804,8.227,812,12.106,813,16.975,814,16.975,815,14.855,816,15.697,817,16.975,818,12.635,819,11.879,820,11.67,821,13.724,822,16.975,823,13.306,824,11.879,825,11.478]],["keywords/54",[]],["title/55",[257,702.281,826,864.293]],["content/55",[4,1.561,22,5.904,23,4.241,24,5.201,25,0.67,32,3.189,33,1.303,34,2.307,35,2.89,37,1.692,124,3.774,151,3.109,158,6.346,161,4.76,164,3.165,172,5.812,183,4.746,198,2.692,241,3.746,257,4.514,275,3.355,284,6.402,297,2.859,319,4.491,381,3.252,722,5.076,732,3.526,748,8.147,764,8.237,768,5.757,776,7.172,777,4.491,819,7.052,820,6.928,821,8.147,823,7.899,824,7.052,825,6.814,826,11.04,827,6.193,828,11.493,829,9.319,830,13.933,831,9.319,832,15.068,833,20.027,834,13.186,835,9.319,836,9.319,837,10.077,838,10.077,839,10.077,840,13.933,841,10.077,842,10.077,843,4.561,844,9.319,845,6.608,846,9.319,847,8.147,848,7.899,849,7.899,850,8.819,851,10.077,852,10.077]],["keywords/55",[]],["title/56",[19,356.811,25,79.157,52,327.97,257,533.158]],["content/56",[4,1.985,19,5.744,25,1.552,33,2.478,85,9.229,182,3.823,255,7.809,257,10.455,273,4.202,523,10.306,539,8.912,621,13.665,782,11.272,853,10.946,854,15.02,855,11.39]],["keywords/56",[]],["title/57",[25,89.993,202,416.281,563,579.706]],["content/57",[4,1.442,6,2.351,25,1.667,33,1.799,37,3.187,184,4.116,185,4.585,222,5.176,252,5.395,297,5.385,307,8.024,315,4.532,330,3.345,394,7.056,425,5.005,435,9.884,440,6.436,480,7.772,556,6.78,581,5.905,652,6.662,695,6.871,718,5.646,719,9.566,742,9.778,765,6.221,784,10.128,856,8.996,857,9.76,858,7.008,859,10.613,860,8.453,861,8.829,862,8.762,863,8.024]],["keywords/57",[]],["title/58",[52,432.005,703,584.959]],["content/58",[4,2.164,5,3.467,6,1.555,25,1.068,37,3.506,46,5.198,51,3.843,52,7.019,63,3.522,67,8.403,185,3.879,201,6.203,222,5.695,391,10.519,405,8.258,484,9.008,533,9.089,693,7.193,694,7.982,703,7.791,861,7.47,864,10.531,865,10.531,866,9.447,867,16.059,868,13.459,869,10.531,870,12.588,871,12.984]],["keywords/58",[]],["title/59",[52,432.005,179,779.313]],["content/59",[4,1.745,25,1.432,37,3.615,44,4.688,51,4.029,62,7.213,63,3.692,97,5.911,98,7.213,100,8.79,122,7.39,142,9.906,185,4.067,199,8.062,264,4.881,287,8.369,297,4.777,395,7.08,536,5.773,550,9.53,827,10.348,861,7.832,872,8.481,873,10.117,874,9.546,875,8.916,876,10.472,877,9.362]],["keywords/59",[]],["title/60",[37,199.834,51,284.834,63,261.029,689,650.672]],["content/60",[25,1.389,37,3.507,40,7.974,51,4.999,63,4.581,114,6.073,193,8.37,554,10.002,878,13.699]],["keywords/60",[]],["title/61",[191,471.331,879,610.406]],["content/61",[23,2.149,25,1.674,37,2.368,63,3.093,70,3.439,97,4.951,181,3.758,182,2.814,185,3.407,190,6.597,202,4.338,257,6.317,265,5.073,311,6.041,322,5.184,366,6.793,388,7.91,409,8.996,410,9.118,462,5.603,523,11.7,541,6.877,545,3.906,555,8.771,573,9.695,596,9.868,622,5.723,637,8.056,659,6.487,706,7.201,730,13.04,853,8.056,872,7.103,880,10.757,881,10.265,882,8.667,883,11.794,884,8.213,885,13.944,886,5.037,887,8.213,888,7.357,889,9.535,890,10.057,891,7.774,892,8.667,893,5.93]],["keywords/61",[]],["title/62",[25,70.65,33,137.374,37,178.358,51,374.991]],["content/62",[]],["keywords/62",[]],["title/63",[275,620.473]],["content/63",[4,1.882,5,3.92,6,2.186,37,3.049,51,4.345,200,6.775,232,10.794,275,6.046,334,5.236,421,9.404,440,8.399,481,10.01,527,9.337,529,10.278,556,6.487,557,7.215,694,9.026,697,11.583,703,6.775,785,5.538,894,6.959,895,15.218,896,15.218]],["keywords/63",[]],["title/64",[52,513.439]],["content/64",[6,1.774,37,3.075,51,4.384,52,5.047,114,5.325,182,3.655,186,5.415,200,6.834,222,6.191,273,4.017,278,4.931,322,6.734,405,9.42,536,6.281,541,8.933,560,9.7,563,7.847,695,9.047,732,6.409,897,12.013,898,12.594,899,13.335]],["keywords/64",[]],["title/65",[5,292.154,6,131.019,51,323.825]],["content/65",[4,1.477,5,4.388,6,2.308,9,3.191,30,3.281,37,2.394,40,2.662,44,1.942,51,5.066,52,1.921,63,2.479,70,5.163,87,6.264,96,6.399,103,6.354,107,1.713,113,3.244,149,2.893,155,3.37,176,2.545,181,3.799,182,4.588,185,3.962,186,3.342,192,3.801,196,3.519,198,3.02,200,6.119,202,2.145,204,3.3,222,4.915,227,3.586,240,1.557,246,2.203,273,2.479,275,2.322,291,3.339,301,3.738,304,3.512,314,2.474,330,1.677,334,2.011,373,1.798,382,3.586,392,3.244,396,4.659,401,3.124,407,3.401,479,4.19,480,4.067,512,2.855,520,3.157,525,5.942,532,4.061,536,2.391,537,3.706,543,4.187,559,4.448,561,5.319,617,3.693,675,5.259,692,3.561,697,4.448,704,3.665,706,3.561,708,4.391,711,2.959,717,3.339,718,2.83,786,4.843,863,4.022,872,3.512,886,4.039,887,4.061,893,4.754,899,5.076,900,6.449,901,2.662,902,3.984,903,5.638,904,5.076,905,4.145,906,7.731,907,8.763,908,5.638,909,5.466,910,5.737,911,4.448,912,3.638,913,5.844,914,5.319,915,5.191,916,6.449,917,5.844,918,3.947,919,4.88,920,3.693,921,3.612,922,5.319,923,4.573,924,4.448,925,5.844,926,3.561,927,6.974,928,6.103,929,6.449,930,6.449,931,4.145,932,3.173,933,5.466,934,4.286,935,5.638,936,3.466,937,3.046,938,5.466]],["keywords/65",[]],["title/66",[37,227.19,51,323.825,703,504.882]],["content/66",[5,2.945,6,2.228,12,4.756,22,3.58,33,2.421,37,3.864,51,5.116,52,3.758,58,6.858,63,4.106,86,5.512,96,7.721,114,3.965,182,2.722,185,3.295,201,5.268,206,4.856,240,3.046,252,5.289,275,4.542,322,5.014,334,3.933,405,7.014,437,7.349,531,7.457,536,4.677,551,6.207,685,9.929,693,6.11,694,6.78,703,7.977,785,4.16,866,8.025,893,5.735,926,6.965,939,11.028,940,11.376,941,10.153,942,8.196,943,7.169,944,7.651,945,10.692,946,12.613,947,9.378,948,13.641,949,13.641,950,9.079]],["keywords/66",[]],["title/67",[16,449.64,33,113.071,51,209.248,100,323.821,417,393.72,951,765.226,952,494.931]],["content/67",[3,9.151,33,2.572,51,4.76,79,10.534,85,9.582,100,7.367,114,5.783,182,3.969,240,4.442,417,8.957,462,7.904,554,9.525,560,10.534,699,12.862]],["keywords/67",[]],["title/68",[114,346.026,284,422.228,670,667.664,953,885.975]],["content/68",[4,1.915,6,1.789,33,2.39,70,4.507,182,3.687,200,6.895,284,6.556,301,4.212,417,8.321,533,10.46,537,6.057,545,5.119,613,6.51,701,11.494,732,6.466,920,9.786,924,11.789,953,13.756,954,9.713,955,10.659,956,11.637,957,11.228]],["keywords/68",[]],["title/69",[33,137.374,97,372.969,206,378.168,240,237.216,958,491.403]],["content/69",[33,2.39,70,5.567,97,6.488,100,6.844,149,7.666,182,3.687,200,6.895,206,6.579,240,4.127,301,4.212,314,6.556,532,10.763,543,6.844,673,9.641,704,9.713,786,7.917,893,7.771,911,11.789,940,11.228,958,8.548,959,16.173]],["keywords/69",[]],["title/70",[63,296.762,301,308.418,786,579.706]],["content/70",[3,8.655,12,6.56,33,2.433,44,5.239,63,5.062,70,4.588,182,3.754,200,7.02,240,4.201,334,5.425,417,8.472,514,6.745,536,6.451,617,9.963,680,16.465,717,9.008,786,8.06,956,11.848,960,15.212]],["keywords/70",[]],["title/71",[16,546.285,25,70.65,37,178.358,51,254.223,952,601.311]],["content/71",[25,1.375,37,3.472,51,4.949,96,11.707,114,6.013,202,6.362,560,10.952,699,13.373,715,15.395,961,11.401]],["keywords/71",[]],["title/72",[37,178.358,195,562.569,400,478.346,554,508.659,639,505.648]],["content/72",[1,8.781,25,1.31,37,3.308,44,5.487,65,6.458,182,3.932,186,5.824,195,10.434,255,8.031,400,8.872,536,6.756,553,8.826,554,9.434,639,9.379,962,14.667]],["keywords/72",[]],["title/73",[62,410.941,152,190.987,217,342.668,414,374.974,544,357.9,952,542.959]],["content/73",[4,1.985,6,1.855,21,11.051,25,1.274,70,4.673,152,3.815,182,3.823,200,7.149,217,6.845,293,5.364,414,7.49,533,10.845,695,9.463,701,11.917,812,13.665,894,7.343,920,10.146,963,7.401]],["keywords/73",[]],["title/74",[62,410.941,86,387.621,297,272.135,300,528.808,414,374.974,417,431.927]],["content/74",[25,1.336,125,7.947,190,9.395,196,6.251,297,5.698,300,11.072,541,9.794,630,7.383,904,14.62,964,20.085,965,12.491,966,16.832,967,14.62]],["keywords/74",[]],["title/75",[152,269.421,183,426.225,737,454.965]],["content/75",[6,1.908,25,1.31,152,3.923,183,6.206,196,6.133,272,8.401,438,7.379,536,6.756,545,5.458,737,6.625,968,15.446,969,13.323,970,15.03,971,11.713,972,12.922]],["keywords/75",[]],["title/76",[7,489.185,182,211.969,288,524.652,514,380.833]],["content/76",[7,7.411,25,1.31,182,3.932,196,6.133,200,7.352,255,8.031,394,9.992,409,12.569,514,7.064,553,8.826,586,14.667,614,8.522,645,11.592,921,10.205]],["keywords/76",[]],["title/77",[183,275.416,273,191.76,330,210.237,425,314.57,544,326.242,545,242.203,722,440.43]],["content/77",[6,1.486,23,4.19,32,4.29,70,4.944,164,6.367,183,4.834,196,4.777,273,4.446,284,5.445,297,4.354,301,3.498,330,3.69,396,5.015,425,5.522,525,8.067,537,5.031,543,5.684,544,5.727,545,4.251,622,6.229,804,7.439,893,6.454,920,8.128,973,8.255,974,9.791,975,8.255,976,13.432,977,12.864,978,12.864,979,12.41,980,12.864]],["keywords/77",[]],["title/78",[183,334.613,273,232.977,514,380.833,981,606.904,982,566.919]],["content/78",[6,1.963,63,4.447,155,6.045,278,5.459,512,8.301,622,8.23,910,8.16,963,7.833,981,11.585,982,10.822,983,12.055,984,12.464]],["keywords/78",[]],["title/79",[278,364.276,330,325.357,765,443.523]],["content/79",[25,1.349,33,2.622,252,7.864,278,5.459,293,5.677,297,5.753,330,4.876,334,5.847,545,5.617,614,8.771,765,6.647,973,10.908]],["keywords/79",[]],["title/80",[281,461.561,297,337.67,379,544.573,614,514.812]],["content/80",[6,2.285,25,1.298,51,4.671,58,7.15,65,6.398,182,3.895,278,5.255,281,9.153,297,5.538,334,5.628,379,8.931,613,6.876,985,9.079,986,13.42]],["keywords/80",[]],["title/81",[5,292.154,152,269.421,742,612.527]],["content/81",[6,1.926,37,4.008,63,4.362,152,3.961,334,5.736,419,12.086,525,10.455,660,11.158,718,8.073,742,9.004,944,11.158,963,7.683,984,12.225]],["keywords/81",[]],["title/82",[184,258.124,220,420.766,394,603.606,982,635.181]],["content/82",[6,1.908,51,4.715,155,5.874,184,4.273,219,7.324,220,6.966,240,4.4,394,9.992,395,8.285,554,9.434,613,6.942,617,10.434,622,7.996,982,10.515,987,12.74]],["keywords/82",[]],["title/83",[935,1506.563]],["content/83",[1,6.79,7,4.756,25,1.342,33,1.97,37,3.387,49,7.168,51,5.413,70,3.716,114,4.429,182,4.025,186,4.504,190,7.127,196,6.28,198,4.07,200,7.527,202,4.687,256,7.168,265,5.481,297,4.322,300,8.399,301,3.473,417,6.861,437,5.98,462,6.054,514,5.462,537,4.994,560,8.068,562,8.787,703,5.685,866,8.964,910,6.131,937,6.655,938,11.944,963,5.885,988,10.867,989,10.867,990,11.944,991,8.399,992,10.867]],["keywords/83",[]],["title/84",[191,471.331,879,610.406]],["content/84",[4,1.626,25,1.682,37,2.635,51,3.756,87,5.454,105,11.155,125,6.211,152,3.125,171,4.099,190,7.342,191,4.719,222,4.28,265,5.647,293,5.759,366,7.561,398,5.878,523,11.066,853,11.753,872,7.906,879,8.01,882,9.646,883,11.155,884,9.141,886,5.607,887,9.141,937,6.855,993,7.561,994,8.442,995,11.194,996,7.105,997,11.426,998,11.194]],["keywords/84",[]],["title/85",[25,79.157,33,153.915,51,284.834,401,533.158]],["content/85",[]],["keywords/85",[]],["title/86",[5,256.976,6,115.243,14,447.448,51,284.834]],["content/86",[5,4.65,6,2.085,51,5.154,79,11.405,999,15.678,1000,11.584]],["keywords/86",[]],["title/87",[4,140.222,33,174.985,561,636.63]],["content/87",[5,3.757,6,1.685,33,2.25,51,4.164,63,3.816,70,5.362,87,6.047,103,7.754,182,3.472,185,4.203,240,3.885,293,4.871,438,6.516,462,6.914,512,7.123,525,9.145,561,10.343,711,7.384,718,7.061,893,7.316,905,10.343,909,13.64,937,7.6,984,10.694,992,12.41,1001,14.583,1002,16.09]],["keywords/87",[]],["title/88",[6,131.019,87,470.257,181,360.573]],["content/88",[5,4.099,6,1.838,51,4.543,70,5.66,87,8.066,155,5.659,181,5.059,182,3.788,203,9.628,314,6.735,396,6.203,447,12.111,704,9.978,717,9.091,1003,15.35,1004,15.912,1005,14.482]],["keywords/88",[]],["title/89",[18,354.881,33,137.374,40,405.533,184,230.384,552,558.336]],["content/89",[6,1.657,18,5.717,33,2.813,51,4.095,69,5.343,70,4.174,86,6.915,176,6.246,182,4.341,184,4.718,196,5.327,222,4.667,265,6.157,301,3.901,307,9.87,322,6.291,330,4.115,427,6.291,438,6.409,537,5.609,552,8.995,553,7.666,565,9.687,589,11.976,613,6.029,912,8.928,973,9.205,986,11.766]],["keywords/89",[]],["title/90",[6,84.661,97,306.986,182,174.469,185,211.234,301,199.292,537,286.593,552,459.559]],["content/90",[6,2.281,33,2.143,40,6.325,51,3.965,70,5.197,97,5.817,182,3.306,185,5.148,202,5.097,222,4.518,284,5.878,293,4.638,299,10.306,301,4.857,330,3.984,348,9.379,396,5.414,399,9.058,529,9.379,537,6.985,539,7.707,553,7.422,611,10.434,717,7.934,893,6.967,912,8.644,920,8.774,989,11.817,1006,10.067]],["keywords/90",[]],["title/91",[33,153.915,51,284.834,62,509.904,1007,625.565]],["content/91",[33,2.269,51,4.199,70,4.279,176,6.404,182,3.501,185,4.239,222,4.785,240,4.935,273,4.847,373,4.525,381,5.662,396,5.733,426,10.913,428,9.438,473,13.061,512,7.183,543,6.498,664,8.779,718,7.121,732,6.139,910,7.06,963,6.777,994,9.438,1008,16.226,1009,15.356,1010,14.187]],["keywords/91",[]],["title/92",[185,256.637,273,232.977,373,273.982,675,494.15,692,542.465]],["content/92",[6,1.728,33,2.308,44,4.97,51,4.271,63,3.914,96,10.102,103,7.953,155,5.32,182,3.561,185,4.311,222,4.867,240,3.985,273,4.899,373,4.603,512,7.306,536,6.12,543,6.609,675,8.302,692,9.113,712,10.843,910,7.181,918,10.102,926,9.113,1011,12.068,1012,12.27]],["keywords/92",[]],["title/93",[103,473.413,182,211.969,301,242.127,786,455.105,886,379.495]],["content/93",[5,3.886,6,2.175,33,2.328,51,4.308,70,4.39,103,8.022,147,11.483,182,4.481,185,4.349,240,4.02,301,4.103,381,5.809,512,7.369,520,8.148,543,6.667,696,11.196,718,7.305,786,9.621,886,8.023,937,7.862,1002,16.646]],["keywords/93",[]],["title/94",[7,371.572,250,635.181,255,485.12,552,625.565]],["content/94",[3,7.938,7,5.387,25,1.148,33,2.828,46,5.586,51,4.129,113,8.026,196,6.807,203,8.751,250,11.671,255,8.913,257,7.729,258,13.163,259,14.462,291,8.262,396,5.638,462,6.856,525,9.069,548,10.866,551,7.853,553,7.729,937,7.537,965,10.732,1013,15.101,1014,15.101,1015,13.163]],["keywords/94",[]],["title/95",[5,256.976,6,115.243,185,287.538,480,428.201]],["content/95",[5,3.92,6,2.379,25,1.208,33,2.348,37,3.049,51,4.345,70,4.428,155,5.413,185,4.387,265,6.532,278,4.888,480,6.532,536,6.226,863,13.023,906,9.845,924,11.583,932,8.263,933,14.234,934,11.16,943,9.543,1016,13.516]],["keywords/95",[]],["title/96",[4,110.083,18,354.881,33,137.374,185,256.637,252,411.958]],["content/96",[18,8.146,33,2.308,44,4.97,51,4.271,110,7.873,185,4.311,252,8.662,265,6.421,278,4.804,638,10.293,712,10.843,732,6.244,785,5.443,936,8.871,937,7.795,963,6.893,973,9.599,991,9.839,1017,13.285,1018,15.619,1019,11.239,1020,14.958,1021,9.599]],["keywords/96",[]],["title/97",[6,102.858,70,259.088,87,369.18,228,463.992,913,890.35]],["content/97",[5,4.175,6,2.447,51,4.628,70,5.724,87,8.157,155,5.764,228,8.446,525,10.164,912,10.089,913,16.207,971,11.496,1022,15.159,1023,14.394]],["keywords/97",[]],["title/98",[16,493.273,33,124.043,51,229.553,100,355.245,417,431.927,952,542.959]],["content/98",[33,2.968,51,5.493,79,9.874,85,8.982,100,6.905,114,5.421,182,3.72,193,7.471,206,6.637,228,8.144,240,4.164,417,10.335,514,6.684,551,8.485,560,9.874,564,8.625,952,10.554,961,10.279]],["keywords/98",[]],["title/99",[114,346.026,284,422.228,670,667.664,953,885.975]],["content/99",[6,2.247,25,1.068,33,2.7,40,6.13,51,3.843,99,5.657,182,3.204,205,5.426,240,4.663,284,7.408,293,4.495,301,3.66,330,3.861,334,4.63,347,7.387,396,5.247,417,7.231,515,7.931,537,5.263,545,5.784,550,11.82,553,7.193,587,10.244,614,6.946,636,8.779,664,8.035,732,5.619,953,11.953,1024,7.555,1025,12.249,1026,12.249]],["keywords/99",[]],["title/100",[33,137.374,97,372.969,206,378.168,240,237.216,958,491.403]],["content/100",[3,7.873,33,2.813,51,6.023,52,4.716,92,7.297,97,7.638,182,4.341,206,6.092,240,3.821,278,4.607,308,5.54,310,7.747,514,6.135,543,6.338,587,10.917,693,7.666,874,7.588,911,10.917,937,7.475,958,10.063,1007,8.995,1027,14.343,1028,9.87,1029,12.458]],["keywords/100",[]],["title/101",[63,296.762,301,308.418,786,579.706]],["content/101",[3,8.281,33,2.904,51,5.858,63,4.925,70,4.39,155,5.366,182,3.592,206,6.408,240,4.02,291,8.619,293,5.039,301,4.103,310,8.148,786,9.621,893,7.569,897,11.805,959,15.754,963,6.953,1030,8.834,1031,13.104]],["keywords/101",[]],["title/102",[16,612.063,25,79.157,51,284.834,952,673.714]],["content/102",[25,1.579,33,2.548,40,7.522,51,5.681,182,3.932,398,7.379,437,7.734,560,10.434,952,11.153,961,10.862,1032,13.547,1033,14.344,1034,15.931]],["keywords/102",[]],["title/103",[183,275.416,273,191.76,330,210.237,425,314.57,544,326.242,545,242.203,722,440.43]],["content/103",[6,1.907,23,4.16,25,0.978,32,4.169,44,4.093,70,3.585,155,4.382,164,6.186,183,4.63,273,4.32,284,5.214,293,4.115,301,3.35,330,3.534,425,5.288,438,5.505,462,5.84,537,4.818,543,5.443,544,5.484,545,4.071,613,5.178,712,8.93,722,7.404,732,5.143,804,7.124,858,7.404,910,5.914,920,7.784,974,9.376,975,7.906,976,12.864,977,12.319,978,12.319,979,11.884,980,12.319,1035,8.93]],["keywords/103",[]],["title/104",[62,410.941,152,190.987,217,342.668,414,374.974,544,357.9,952,542.959]],["content/104",[7,5.62,25,1.197,46,5.827,58,6.593,152,4.472,186,5.321,196,5.603,217,8.023,222,4.909,278,4.846,414,8.779,544,8.379,572,6.43,701,11.196,785,5.49,936,8.948,956,11.336,973,9.682,1021,9.682,1036,15.087,1037,12.839]],["keywords/104",[]],["title/105",[62,410.941,86,387.621,297,272.135,300,528.808,414,374.974,417,431.927]],["content/105",[4,1.882,7,5.669,25,1.208,33,2.348,97,6.375,113,8.446,182,3.623,186,5.367,196,5.652,256,8.543,297,5.151,300,12.448,401,8.134,414,7.098,536,6.226,552,9.543,630,8.301,937,7.931,961,10.01,1038,11.294,1039,13.851,1040,11.583]],["keywords/105",[]],["title/106",[152,269.421,183,426.225,737,454.965]],["content/106",[6,1.774,25,1.218,63,4.017,92,7.81,152,3.647,183,5.77,202,5.635,284,6.498,293,5.128,330,4.404,396,5.985,438,6.86,514,6.567,544,6.834,545,5.074,737,6.159,910,7.371,963,7.075,968,14.359,969,12.386,970,13.973,972,12.013,1041,14.359]],["keywords/106",[]],["title/107",[7,489.185,182,211.969,288,524.652,514,380.833]],["content/107",[3,8.896,7,7.889,25,1.286,51,4.628,63,4.241,155,5.764,182,3.859,255,7.882,291,9.259,514,6.932,614,8.364,617,10.241,1042,12.504,1043,14.077,1044,19.339]],["keywords/107",[]],["title/108",[183,334.613,273,232.977,514,380.833,981,606.904,982,566.919]],["content/108",[6,1.838,25,1.263,63,4.164,183,5.98,273,5.09,512,7.772,514,6.806,543,7.031,718,7.705,963,7.333,981,10.846,982,12.386,1045,14.482,1046,15.35,1047,13.821,1048,15.35,1049,11.668]],["keywords/108",[]],["title/109",[281,461.561,297,337.67,379,544.573,614,514.812]],["content/109",[6,2.175,25,1.197,58,6.593,65,5.9,88,6.172,155,5.366,182,4.884,184,3.904,202,5.538,281,8.709,297,5.107,301,4.103,379,8.236,396,5.882,427,6.618,525,9.461,537,5.9,565,10.189,613,6.342,893,7.569,985,8.373]],["keywords/109",[]],["title/110",[278,364.276,330,325.357,765,443.523]],["content/110",[5,3.955,6,2.198,25,1.218,69,5.718,155,5.46,176,6.685,182,3.655,192,6.159,205,4.76,255,7.466,278,6.112,293,5.128,330,4.404,394,9.289,435,8.381,550,10.368,553,8.205,765,7.441,860,11.129,961,10.098]],["keywords/110",[]],["title/111",[5,292.154,152,269.421,742,612.527]],["content/111",[5,4.026,6,1.805,25,1.24,37,3.854,63,4.089,152,4.57,334,5.376,396,6.092,512,7.633,514,6.684,564,8.625,693,8.352,718,7.567,742,10.39,943,9.8,944,10.459,984,11.459,1050,13.298]],["keywords/111",[]],["title/112",[37,178.358,195,562.569,400,478.346,554,508.659,639,505.648]],["content/112",[6,1.671,25,1.148,37,2.897,51,4.129,58,6.32,65,5.656,69,5.387,99,6.079,113,8.026,125,6.828,155,5.144,195,11.581,196,5.371,200,6.438,252,6.691,264,5.003,400,7.77,438,6.462,536,5.917,639,10.409,743,12.075,875,9.138,876,10.732,985,8.026,986,11.863,1026,13.163,1051,13.527,1052,13.952]],["keywords/112",[]],["title/113",[184,258.124,220,420.766,394,603.606,982,635.181]],["content/113",[6,1.743,25,1.197,65,5.9,184,3.904,194,10.484,220,7.939,239,9.192,240,4.02,288,8.89,311,7.712,366,8.671,394,11.389,395,7.569,396,5.882,551,8.192,554,8.619,613,6.342,617,9.533,638,10.382,982,9.606,1053,14.111,1054,12.597,1055,8.948]],["keywords/113",[]],["title/114",[191,471.331,879,610.406]],["content/114",[4,1.318,6,1.232,25,1.621,33,2.307,51,4.931,63,2.79,70,3.103,87,4.422,105,9.674,114,3.699,125,5.035,152,2.533,171,3.323,182,3.56,190,5.952,191,3.825,196,5.553,202,3.914,222,3.47,252,4.934,265,4.577,293,4.995,301,2.9,366,6.129,398,4.765,401,5.699,428,6.844,438,4.765,462,5.056,523,9.597,525,6.687,537,4.17,622,5.163,648,8.012,659,5.853,853,10.193,872,6.409,879,6.947,882,7.82,883,9.674,884,7.41,886,4.545,887,7.41,888,6.638,893,5.35,910,5.12,937,7.793,963,4.914,993,6.129,994,6.844,995,9.075,996,5.759,997,9.262,998,9.075,1056,8.012,1057,10.287]],["keywords/114",[]],["title/115",[25,79.157,33,153.915,182,237.492,257,533.158]],["content/115",[]],["keywords/115",[]],["title/116",[182,270.003,200,504.882,257,606.144]],["content/116",[7,5.432,97,6.109,114,5.058,171,4.544,182,4.387,196,6.843,197,12.41,198,4.648,200,6.492,202,5.353,250,9.285,257,9.848,293,4.871,304,8.764,348,9.849,438,6.516,462,6.914,466,9.077,621,12.41,732,6.088,736,6.516,910,7.001,1058,9.012,1059,17.4,1060,16.09,1061,10.822]],["keywords/116",[]],["title/117",[22,312.383,33,153.915,182,237.492,257,533.158]],["content/117",[5,3.635,6,2.085,10,6.663,18,5.625,33,2.784,63,3.692,70,5.251,155,5.019,182,4.296,252,6.529,257,7.542,278,4.533,293,4.713,305,10.472,437,6.608,514,6.036,531,9.204,541,8.211,561,7.921,695,8.315,893,7.08,894,6.452,907,10.348,926,8.598,963,6.503,1062,12.533,1063,14.111,1064,11.783,1065,9.906]],["keywords/117",[]],["title/118",[25,79.157,33,153.915,437,467.161,1066,635.181]],["content/118",[25,1.375,33,2.979,72,7.527,85,7.618,182,3.155,186,4.675,196,4.922,202,6.36,255,6.446,257,9.261,284,8.172,293,4.427,414,6.182,428,8.506,437,6.207,442,11.512,462,6.284,474,9.121,479,9.503,536,5.423,560,8.375,614,6.84,617,8.375,637,9.035,963,6.108,1032,10.873,1067,10.693,1068,12.291,1069,13.254,1070,13.84,1071,14.624,1072,11.067,1073,14.624]],["keywords/118",[]],["title/119",[25,89.993,886,483.395,1074,739.744]],["content/119",[25,1.403,202,6.491,276,12.82,486,12.544,556,7.538,902,12.055,1075,15.707,1076,21.102]],["keywords/119",[]],["title/120",[25,123.921]],["content/120",[6,2.264,25,1.403,33,2.728,51,3.903,52,4.494,58,5.974,110,7.195,184,3.537,202,5.017,205,4.238,206,5.806,234,7.544,252,6.325,273,3.577,278,5.678,281,6.325,284,7.483,293,4.566,297,4.627,308,5.28,379,7.462,440,7.544,536,5.593,614,7.054,722,8.215,879,6.35,937,7.124,963,6.3,1037,11.632,1067,11.028,1068,9.696]],["keywords/120",[]],["title/121",[6,131.019,278,364.276,284,480.028]],["content/121",[6,2.361,25,1.622,99,6.287,183,5.621,276,10.843,278,4.804,284,8.65,301,4.068,330,4.291,356,8.302,438,6.684,537,5.85,538,8.871,545,4.944,558,13.99,613,6.287,862,11.239,937,7.795,963,6.893,1077,10.102]],["keywords/121",[]],["title/122",[107,332.397,181,360.573,732,473.461]],["content/122",[3,7.562,4,1.703,5,3.549,6,1.592,25,1.41,44,4.577,46,5.321,97,5.771,107,4.038,151,5.072,181,5.649,182,4.23,185,3.971,202,5.057,240,3.671,246,5.193,265,5.914,314,5.831,330,3.952,392,9.862,396,5.371,425,5.914,532,9.574,539,7.646,553,7.363,564,7.604,613,5.791,692,8.394,732,5.752,912,8.576,1078,13.291,1079,12.539]],["keywords/122",[]],["title/123",[6,151.799,184,340.004]],["content/123",[6,2.352,9,8.096,25,1.478,69,5.524,155,5.275,176,6.458,182,3.531,184,3.838,205,5.773,219,6.578,225,6.344,226,9.036,240,3.951,278,4.764,293,4.954,297,5.02,314,6.277,427,6.505,613,6.234,614,7.654,914,8.325,985,8.231,1080,13.871]],["keywords/123",[]],["title/124",[183,493.826,273,343.83]],["content/124",[6,2.117,25,1.148,97,6.058,183,6.888,198,4.61,273,5.536,284,6.121,297,4.895,301,3.933,330,5.258,348,9.767,396,5.638,399,9.433,425,6.208,462,6.856,536,5.917,537,5.656,544,6.438,545,4.78,550,9.767,622,7.003,919,12.075,937,7.537,1061,10.732]],["keywords/124",[]],["title/125",[281,524.746,297,383.895,379,619.122]],["content/125",[6,1.63,9,7.703,25,1.432,51,4.029,69,5.256,70,4.106,155,5.019,182,3.36,246,5.319,257,7.542,281,9.701,288,8.315,293,6.027,297,4.777,315,5.484,330,4.048,373,4.342,379,7.703,398,6.306,425,6.057,564,7.788,611,10.603,617,8.916,634,12.008,740,7.832,893,7.08,957,10.23,1081,10.348]],["keywords/125",[]],["title/126",[25,70.65,33,137.374,257,475.86,467,375.547,670,595.91]],["content/126",[6,1.592,21,9.481,25,1.093,33,2.742,107,4.038,114,4.779,181,4.38,182,4.23,183,5.178,186,4.859,257,7.363,265,5.914,284,5.831,301,3.747,308,5.321,322,6.043,398,6.156,414,6.426,417,7.402,467,5.811,533,9.305,537,5.388,539,7.646,564,7.604,613,5.791,614,7.11,622,6.671,695,8.118,732,5.752,954,8.64,991,9.062,1032,11.302,1068,9.772,1082,10.942]],["keywords/126",[]],["title/127",[4,123.338,25,79.157,182,237.492,257,533.158]],["content/127",[16,10.635,25,1.375,182,4.127,202,6.362,255,8.43,257,9.264,407,10.086,486,12.295,872,10.417,902,11.815]],["keywords/127",[]],["title/128",[25,79.157,29,493.733,257,533.158,264,345.078]],["content/128",[4,2.46,22,4.419,25,1.664,28,9.312,29,10.377,30,7.921,33,2.177,44,4.688,107,4.136,122,7.39,182,4.296,198,4.498,252,6.529,257,9.644,308,5.45,373,4.342,490,6.69,714,11.207,879,6.555,886,6.015,1083,14.735,1084,14.735]],["keywords/128",[]],["title/129",[330,286.181,744,885.975,745,650.672,746,997.556]],["content/129",[4,1.841,6,1.72,22,4.663,25,1.366,44,3.521,46,4.094,110,5.579,113,5.882,114,3.676,155,5.296,164,3.971,183,6.469,186,3.738,198,3.378,257,10.511,278,3.404,286,7.772,288,6.246,330,6.009,455,6.055,544,4.718,545,3.503,550,10.056,622,5.132,722,10.345,744,16.58,745,13.302,746,17.212,747,9.019,748,10.225,749,10.599,753,11.695,760,11.695,785,3.857,939,10.225,972,8.293,1085,10.599,1086,8.177,1087,11.067,1088,11.695,1089,7.294,1090,9.647,1091,12.647]],["keywords/129",[]],["title/130",[4,90.608,25,58.151,167,380.037,183,275.416,257,391.674,273,191.76,811,650.864]],["content/130",[4,1.335,6,1.247,23,4.1,25,1.379,35,3.694,46,4.17,83,9.377,155,3.84,167,9.015,183,5.668,224,3.906,257,8.061,273,4.549,278,3.468,293,3.606,315,4.196,330,3.097,341,7.657,360,7.359,410,8.329,425,4.634,496,5.205,538,6.403,543,4.77,544,4.806,642,5.77,643,9.187,734,6.488,768,10.281,783,11.273,804,6.243,811,13.396,815,11.273,816,11.912,818,9.588,821,10.415,825,8.71,873,10.813,894,4.936,1092,9.826,1093,10.415,1094,11.273,1095,12.881,1096,12.881,1097,11.912,1098,10.097,1099,11.912,1100,12.881,1101,12.881]],["keywords/130",[]],["title/131",[25,79.157,65,390.118,400,535.943,408,393.825]],["content/131",[2,3.98,4,1.651,5,2.346,6,1.826,10,8.753,16,5.587,20,4.867,21,6.267,25,1.471,33,1.405,37,4.011,44,3.026,51,4.514,52,5.198,62,4.655,63,2.383,69,3.392,85,5.234,86,4.391,87,5.537,98,6.825,113,5.054,114,3.159,234,5.026,256,5.112,275,5.305,293,4.46,297,4.52,308,6.725,323,5.99,334,3.133,385,3.98,395,6.699,400,9.355,408,7.319,467,6.668,496,4.391,515,5.366,536,3.726,539,7.411,564,5.026,614,4.699,659,4.998,676,7.91,692,5.548,873,6.529,874,7.064,894,4.164,926,5.548,1019,6.842,1102,8.088,1103,7.604,1104,10.866,1105,10.866,1106,9.106,1107,10.866,1108,7.347,1109,5.627,1110,6.207,1111,7.47]],["keywords/131",[]],["title/132",[6,92.877,25,63.794,205,249.247,219,356.567,240,214.197,613,337.935]],["content/132",[4,1.849,6,2.361,12,6.223,25,1.486,182,4.457,184,4.844,219,8.303,240,4.988,257,10.006,293,4.996,297,5.063,334,5.146,613,6.287,614,7.719,872,8.989,902,10.196,973,9.599,1112,10.609]],["keywords/132",[]],["title/133",[107,332.397,181,360.573,732,473.461]],["content/133",[3,7.503,4,1.69,5,3.521,6,1.579,25,1.403,44,4.542,107,4.006,151,5.032,181,5.621,182,4.209,185,3.94,192,5.484,240,3.642,246,5.153,257,7.306,265,5.868,314,5.786,330,3.921,392,9.812,396,5.329,425,5.868,532,9.499,539,7.587,553,7.306,556,5.826,564,7.544,613,5.746,692,8.328,732,5.707,785,4.974,799,11.213,912,8.509,1079,12.441]],["keywords/133",[]],["title/134",[225,562.039,226,800.578]],["content/134",[6,1.617,25,1.424,69,5.214,88,5.727,114,4.856,116,6.898,205,4.34,225,8.941,226,10.938,227,8.589,278,4.496,293,4.676,334,4.816,395,7.023,426,10.388,517,9.056,536,5.727,550,9.454,551,7.601,558,13.093,564,7.726,590,7.121,745,9.131,985,7.769,1019,10.518,1113,12.159,1114,8.529,1115,12.159,1116,8.302]],["keywords/134",[]],["title/135",[613,552.327,1117,1267.615]],["content/135",[6,2.14,25,1.47,114,5.101,155,5.23,184,3.805,205,5.743,225,7.923,226,8.96,227,9.023,240,4.935,278,4.723,297,4.978,298,8.61,314,6.224,396,5.733,545,4.86,553,7.86,590,7.481,613,6.181,914,8.255,985,8.162,1116,8.722,1117,14.187]],["keywords/135",[]],["title/136",[301,308.418,537,443.523,545,374.827]],["content/136",[6,1.592,25,1.093,70,5.171,182,3.28,202,5.057,205,4.271,257,7.363,265,5.914,284,5.831,288,8.118,293,4.602,301,5.349,314,5.831,330,3.952,425,5.914,438,6.156,525,8.64,537,7.692,538,8.171,545,6.501,565,9.305,893,6.912,920,8.705,937,7.18,984,10.103,1067,11.115,1068,9.772,1111,11.302,1118,10.629]],["keywords/136",[]],["title/137",[25,79.157,202,366.157,563,509.904,1119,686.479]],["content/137",[25,1.375,182,4.127,202,6.362,257,9.264,479,12.427,525,10.87,536,7.092,563,8.86,688,12.566,1119,11.928]],["keywords/137",[]],["title/138",[60,504.882,63,296.762,514,485.1]],["content/138",[6,1.699,25,1.167,46,5.68,60,9.027,63,4.847,92,7.481,103,7.819,152,3.493,182,3.501,198,4.687,257,7.86,273,4.847,396,5.733,405,9.023,438,6.571,512,7.183,514,6.29,590,7.481,693,7.86,737,5.899,926,8.96,943,9.222,1049,10.784,1120,16.226]],["keywords/138",[]],["title/139",[6,131.019,185,326.9,480,486.819]],["content/139",[4,1.788,5,3.725,6,2.325,25,1.454,33,2.231,37,2.897,155,5.144,185,4.169,192,5.802,200,6.438,205,4.484,206,6.143,293,4.83,297,4.895,308,5.586,399,9.433,480,8.637,614,7.463,863,9.952,914,8.118,932,7.853,934,10.605,1121,11.157,1122,14.462,1123,12.844]],["keywords/139",[]],["title/140",[116,491.54,278,320.414,330,286.181,356,553.65]],["content/140",[6,2.074,25,1.111,33,2.16,63,3.663,92,7.121,99,5.884,116,6.898,182,3.333,224,5.064,257,7.482,278,4.496,301,3.807,330,5.997,356,10.999,396,5.457,438,6.255,537,5.474,538,8.302,544,6.232,545,4.626,551,7.601,659,7.683,751,10.265,1124,10.799,1125,11.688,1126,12.432,1127,10.518,1128,12.159]],["keywords/140",[]],["title/141",[217,483.395,556,483.395,742,612.527]],["content/141",[4,1.773,6,1.657,25,1.447,37,3.653,46,5.54,63,3.753,217,6.114,297,4.855,405,8.8,512,7.006,514,6.135,532,9.967,545,4.74,556,8.544,571,11.223,693,7.666,718,8.829,742,9.848,905,10.173,958,7.916,984,10.518,1109,8.863,1129,13.837,1130,15.826,1131,17.115]],["keywords/141",[]],["title/142",[4,99.401,25,63.794,85,462.071,182,191.399,257,429.683,855,570.235]],["content/142",[25,1.403,85,10.164,182,4.21,186,6.237,257,9.452,855,12.544,879,8.215,1000,11.349]],["keywords/142",[]],["title/143",[4,110.083,167,461.722,360,606.904,811,790.76,1132,982.391]],["content/143",[4,1.175,23,4.206,25,0.754,35,4.713,44,4.576,121,6.813,155,3.38,161,3.582,164,6.657,167,8.402,183,6.089,228,4.952,257,5.079,278,3.052,304,5.711,341,9.77,360,6.478,381,3.659,462,4.505,487,7.14,538,8.169,642,7.362,694,11.664,696,7.052,748,9.167,758,7.108,804,7.965,811,15.779,818,12.233,858,8.278,888,5.915,889,7.667,965,7.052,994,6.099,1092,8.649,1093,9.167,1097,15.198,1098,12.883,1132,10.485,1133,9.503,1134,6.418,1135,11.339,1136,16.435,1137,16.435,1138,11.339,1139,11.339]],["keywords/143",[]],["title/144",[4,90.608,183,275.416,241,325.026,284,310.182,381,282.178,722,440.43,826,482.031]],["content/144",[25,1.298,33,2.524,183,6.148,222,5.323,241,7.256,257,8.743,284,6.924,297,5.538,381,6.299,396,6.378,398,7.31,569,9.579,674,7.15,722,9.832,826,10.76,828,14.889]],["keywords/144",[]],["title/145",[4,110.083,33,137.374,257,475.86,423,652.904,782,624.992]],["content/145",[25,1.177,33,3.141,73,9.036,155,5.275,182,3.531,198,4.727,252,6.862,257,7.926,278,4.764,293,4.954,423,13.656,427,6.505,466,9.232,717,8.473,782,10.41,786,7.581,901,6.755,910,7.12,1043,12.882,1140,13.172,1141,11.605,1142,12.882,1143,11.442,1144,15.486]],["keywords/145",[]],["title/146",[6,131.019,278,364.276,963,522.668]],["content/146",[6,2.095,25,1.439,63,3.723,92,7.238,182,3.387,227,8.729,278,5.826,293,6.058,334,4.894,513,10.091,514,6.085,544,6.333,545,5.995,550,9.608,551,7.725,554,8.128,718,6.889,937,7.414,963,6.556,1000,9.13,1047,12.357,1110,9.697,1119,9.79,1145,16.975,1146,15.697,1147,9.358,1148,11.879]],["keywords/146",[]],["title/147",[6,131.019,227,695.85,613,476.718]],["content/147",[6,1.671,22,4.529,25,1.148,40,6.587,44,4.805,45,4.895,46,5.586,76,10.258,92,7.357,184,3.742,205,4.484,219,6.414,225,6.186,226,8.811,227,11.246,240,3.853,241,6.414,278,4.645,293,4.83,392,8.026,396,5.638,517,9.356,531,9.433,613,7.704,1000,9.281,1019,10.866,1149,15.101,1150,13.527]],["keywords/147",[]],["title/148",[988,1328.96]],["content/148",[6,1.907,25,1.31,33,1.901,70,3.585,97,6.916,107,3.611,181,5.249,182,4.938,186,4.345,196,4.575,200,7.349,202,4.522,255,5.991,257,9.952,264,4.261,265,7.086,278,3.957,284,5.214,293,4.115,301,3.35,428,7.906,437,5.769,462,5.84,515,7.259,536,5.04,537,4.818,565,8.32,613,5.178,617,7.784,622,5.965,893,6.181,899,10.7,910,5.914,989,10.483,1065,8.647,1119,8.477,1151,9.504,1152,9.784,1153,12.864]],["keywords/148",[]],["title/149",[191,471.331,879,610.406]],["content/149",[4,1.579,19,4.567,25,1.666,33,1.97,51,3.646,87,5.295,105,10.939,125,6.029,152,3.034,171,3.979,191,4.58,196,4.742,222,4.155,257,6.825,265,5.481,293,5.648,366,7.339,398,5.706,523,12.166,853,11.526,872,7.674,879,7.855,882,9.364,883,10.939,884,8.874,886,5.443,887,8.874,937,6.655,993,7.339,994,8.195,995,10.867,996,6.897,997,11.091,998,10.867,1154,11.944]],["keywords/149",[]],["title/150",[6,115.198,25,49.41,114,215.99,182,148.243,200,277.201,278,200.003,284,263.555,1056,467.857]],["content/150",[]],["keywords/150",[]],["title/151",[25,70.65,182,211.969,200,396.364,401,475.86,878,696.684]],["content/151",[6,1.464,25,1.499,92,6.449,97,5.31,151,4.667,152,3.012,181,4.03,182,4.79,200,7.491,205,3.93,219,5.622,240,3.377,252,5.865,264,4.385,265,5.442,301,3.447,304,7.619,334,4.361,401,6.775,458,7.036,486,8.992,531,8.269,536,5.186,537,4.958,541,7.376,545,4.19,565,8.561,613,5.329,630,5.56,632,8.899,881,11.011,888,7.891,902,8.641,937,6.606,1001,12.677,1065,8.899,1155,10.227,1156,11.538,1157,8.992,1158,9.296,1159,12.677]],["keywords/151",[]],["title/152",[6,102.858,22,278.811,114,308.839,182,211.969,199,508.659]],["content/152",[5,3.467,6,2.379,70,3.916,87,5.581,114,6.071,155,4.787,182,4.167,192,5.399,199,7.689,252,6.227,255,6.545,293,4.495,392,7.47,423,9.869,438,6.014,462,6.381,545,4.448,613,5.657,735,7.231,893,6.752,906,8.707,912,8.378,923,10.531,926,8.2,963,6.203,1031,11.69,1062,11.953,1064,11.238,1160,8.144,1161,12.588,1162,14.85,1163,13.459,1164,9.869,1165,10.531]],["keywords/152",[]],["title/153",[6,102.858,25,70.65,114,308.839,437,416.956,1066,566.919]],["content/153",[6,2.358,25,1.526,92,6.692,114,5.981,116,6.482,181,4.182,182,4.105,183,4.944,196,4.885,198,4.193,199,7.515,200,5.856,205,5.346,206,5.587,219,5.834,240,3.505,252,6.086,265,5.647,284,7.298,310,7.105,437,6.16,462,6.237,613,5.529,614,6.789,617,8.312,638,9.052,910,6.315,1067,10.613,1068,9.33,1069,13.154,1166,10.293,1167,10.791,1168,10.293]],["keywords/153",[]],["title/154",[25,89.993,886,483.395,1074,739.744]],["content/154",[]],["keywords/154",[]],["title/155",[25,123.921]],["content/155",[6,2.422,7,5.256,25,1.12,52,4.639,111,6.354,114,6.259,202,5.18,234,7.788,248,9.129,278,4.533,284,7.638,293,4.713,301,3.838,308,5.45,311,7.213,366,8.11,400,7.581,438,6.306,537,5.519,545,4.664,548,10.603,551,7.662,613,5.932,614,7.282,617,8.916,937,7.354,1068,10.009,1169,7.703]],["keywords/155",[]],["title/156",[6,131.019,278,364.276,284,480.028]],["content/156",[6,2.289,25,1.111,70,4.073,97,5.864,155,4.979,182,3.333,183,5.261,196,5.199,202,5.138,246,5.277,278,4.496,284,7.598,293,4.676,301,3.807,330,5.15,356,7.769,396,5.457,425,6.009,537,5.474,545,4.626,717,7.997,732,5.844,893,7.023,919,11.688,936,8.302,1006,10.148,1035,10.148,1078,13.504,1170,8.529,1171,11.483]],["keywords/156",[]],["title/157",[107,332.397,181,360.573,732,473.461]],["content/157",[6,2.085,25,1.12,46,6.97,70,4.106,107,4.136,155,5.019,181,4.486,182,4.296,185,4.067,192,5.661,205,4.375,206,5.994,240,3.76,314,7.638,388,9.445,389,8.658,419,10.23,425,6.057,438,6.306,539,7.832,553,7.542,561,7.921,613,7.585,704,8.849,706,8.598,732,5.891,1172,12.008,1173,10.009]],["keywords/157",[]],["title/158",[6,151.799,184,340.004]],["content/158",[6,2.298,12,5.871,25,1.12,45,6.108,69,5.256,155,5.019,182,3.36,184,4.669,191,5.062,202,5.18,205,6.167,219,6.259,240,3.76,278,4.533,293,4.713,301,3.838,396,5.501,438,6.306,537,5.519,565,9.53,613,5.932,716,6.079,740,7.832,906,9.129,973,9.056,985,7.832,1174,10.23]],["keywords/158",[]],["title/159",[183,493.826,273,343.83]],["content/159",[6,2.415,25,1.111,44,4.651,87,5.804,92,7.121,155,4.979,182,3.333,183,6.747,196,5.199,228,7.295,273,5.47,276,10.148,304,8.413,330,4.016,399,9.131,425,6.009,462,6.637,538,8.302,545,4.626,712,10.148,858,8.413,963,6.451,1066,8.913,1170,8.529,1175,10.518,1176,9.542,1177,10.265]],["keywords/159",[]],["title/160",[281,524.746,297,383.895,379,619.122]],["content/160",[6,1.685,25,1.157,51,5.261,65,5.703,69,5.432,70,4.244,151,5.368,155,5.187,182,3.472,202,5.353,246,5.497,281,9.819,297,4.936,311,7.454,330,4.184,379,7.961,396,5.685,438,6.516,536,5.966,553,7.794,611,10.957,893,7.316,957,10.572,985,8.094,1178,11.765]],["keywords/160",[]],["title/161",[6,102.858,25,70.65,114,308.839,467,375.547,670,595.91]],["content/161",[2,5.837,6,2.239,25,1.382,52,5.725,86,6.439,114,6.041,182,4.146,196,4.96,200,7.753,202,4.902,222,4.345,234,7.371,252,6.18,265,5.733,278,4.29,284,5.653,398,5.968,437,6.255,462,6.332,467,7.345,536,5.464,560,8.439,563,6.827,613,5.614,614,6.892,699,10.304,732,5.576,874,7.065,986,10.956,1000,8.571,1032,10.956,1179,13.946]],["keywords/161",[]],["title/162",[25,79.157,65,390.118,400,535.943,408,393.825]],["content/162",[2,4.496,4,1.803,6,1.188,10,4.857,20,5.498,21,7.079,25,0.816,37,3.896,51,2.937,52,3.382,65,5.701,67,4.939,92,5.233,98,7.452,113,5.709,134,6.947,196,5.414,220,4.339,225,4.4,226,6.267,234,5.677,248,6.655,275,5.792,293,4.869,297,3.482,301,2.797,385,4.496,395,7.314,396,4.01,399,6.71,400,10.851,408,7.974,438,4.597,467,4.339,496,4.96,498,7.634,537,4.023,541,5.985,554,5.877,564,5.677,614,5.309,716,4.431,740,5.709,785,3.743,799,8.438,874,5.442,920,6.5,936,6.101,963,4.741,1038,7.634,1110,7.012,1148,8.589,1180,7.375,1181,10.741,1182,12.274,1183,6.766,1184,12.274,1185,9.924]],["keywords/162",[]],["title/163",[6,92.877,25,63.794,205,249.247,219,356.567,240,214.197,613,337.935]],["content/163",[]],["keywords/163",[]],["title/164",[107,332.397,181,360.573,732,473.461]],["content/164",[3,7.387,6,2.022,25,1.068,45,4.556,107,3.945,151,4.954,155,4.787,181,4.279,182,4.167,184,3.483,185,3.879,186,4.747,192,5.399,205,4.173,209,14.053,240,3.586,314,7.408,385,5.882,396,5.247,490,6.381,545,4.448,553,7.193,561,7.555,613,5.657,622,6.517,704,8.44,706,8.2,707,10.858,732,5.619,785,4.897,888,8.378,889,10.858,985,7.47,1186,16.059,1187,10.383,1188,12.984]],["keywords/164",[]],["title/165",[25,89.993,45,383.895,184,293.46]],["content/165",[4,1.639,6,2.002,12,5.514,25,1.052,40,6.037,45,6.535,131,8.02,155,4.714,182,3.155,184,4.996,196,4.922,205,4.109,219,5.879,225,5.669,226,8.075,227,8.132,240,3.531,255,6.446,265,5.689,278,4.257,293,4.427,301,3.604,428,8.506,438,5.923,519,8.506,537,5.183,541,7.712,551,7.197,554,7.572,613,7.284,862,9.959,937,6.907,973,8.506,1055,7.861,1189,9.836]],["keywords/165",[]],["title/166",[25,79.157,202,366.157,563,509.904,1119,686.479]],["content/166",[6,1.644,25,1.439,60,9.362,63,5.225,87,5.899,103,7.564,182,3.387,196,5.283,265,6.107,273,3.723,396,5.546,419,10.313,462,6.745,514,7.758,525,8.921,536,5.82,590,7.238,737,5.707,905,10.091,918,9.608,926,8.668,963,6.556,984,10.432,1049,10.432,1120,15.697]],["keywords/166",[]],["title/167",[6,131.019,185,326.9,480,486.819]],["content/167",[6,2.272,25,1.41,37,2.76,40,6.275,110,7.252,114,4.779,155,4.9,182,3.28,185,3.971,186,4.859,192,5.527,196,5.117,255,6.7,293,4.602,399,8.986,421,8.514,467,5.811,480,8.92,553,7.363,564,7.604,663,11.688,863,9.481,906,8.913,914,7.734,932,9.648,1123,12.236,1190,12.886,1191,10.486]],["keywords/167",[]],["title/168",[116,491.54,278,320.414,330,286.181,356,553.65]],["content/168",[6,1.555,25,1.068,76,9.546,92,6.847,97,5.638,99,5.657,116,6.632,152,3.197,182,3.204,191,4.828,196,4.998,202,4.94,224,4.869,241,5.969,265,5.777,278,4.323,284,5.697,301,4.76,311,6.879,329,7.156,330,5.908,356,9.714,438,6.014,536,5.506,537,6.845,550,9.089,565,9.089,668,8.317,751,9.869,1035,9.757,1125,11.238,1128,11.69,1170,8.2]],["keywords/168",[]],["title/169",[217,483.395,556,483.395,742,612.527]],["content/169",[6,1.657,25,1.138,37,4.015,114,4.975,182,3.415,196,5.327,202,5.265,217,7.771,293,4.791,405,8.8,532,9.967,556,7.771,564,7.916,693,7.666,703,6.385,718,6.945,742,9.848,904,12.458,918,9.687,931,10.173,958,7.916,1119,9.87,1129,13.837,1142,12.458,1192,10.644,1193,13.055]],["keywords/169",[]],["title/170",[988,1328.96]],["content/170",[6,2.07,25,1.422,37,2.29,45,3.87,60,5.089,63,2.991,97,4.789,107,3.351,114,3.965,181,4.989,182,4.592,184,2.958,196,5.828,198,3.644,199,8.965,200,6.986,202,4.196,217,4.873,278,3.672,284,6.642,293,3.818,301,3.109,330,3.28,334,5.399,356,6.345,437,5.354,462,5.42,480,4.907,514,4.89,525,7.169,537,4.471,556,4.873,563,5.843,613,6.596,705,7.944,706,6.965,718,5.535,732,4.772,742,6.174,860,8.287,932,6.207,973,7.336,1056,8.589,1164,8.383,1168,8.945,1172,9.728,1194,9.929,1195,11.937]],["keywords/170",[]],["title/171",[4,123.338,25,79.157,33,153.915,503,630.307]],["content/171",[]],["keywords/171",[]],["title/172",[33,202.738,503,830.247]],["content/172",[3,7.746,33,3.235,44,4.688,51,4.029,176,6.145,182,3.36,185,4.067,199,8.062,200,6.282,205,6.167,206,5.994,240,3.76,255,6.862,264,4.881,291,10.309,310,7.621,373,4.342,395,7.08,396,5.501,496,6.804,503,8.916,551,7.662,712,10.23,732,5.891,785,5.135,1141,11.042,1196,11.042]],["keywords/172",[]],["title/173",[33,153.915,182,237.492,503,630.307,544,444.09]],["content/173",[4,0.935,5,2.54,6,2.301,7,2.818,18,6.011,25,0.782,33,3.036,37,1.516,40,2.03,44,2.514,63,3.04,69,1.66,70,3.786,86,3.648,87,5.864,103,2.37,110,2.346,113,2.474,155,3.506,176,4.293,181,2.405,182,4.076,184,2.551,185,5.322,192,3.035,196,2.81,202,1.636,205,3.056,210,3.54,219,1.977,222,1.45,228,3.943,240,2.627,250,6.277,252,6.021,255,3.679,257,2.382,258,4.056,259,4.457,265,1.913,273,3.405,291,2.546,301,4.101,307,3.067,322,1.955,330,1.279,381,2.913,392,2.474,394,2.697,396,4.529,401,4.044,405,2.735,427,1.955,428,4.856,437,2.087,438,3.381,466,2.774,480,3.248,503,11.667,512,2.177,515,2.626,520,2.407,525,7.286,532,3.097,536,1.823,537,5.089,539,2.474,542,3.392,543,3.343,544,1.984,545,2.501,548,3.349,550,3.01,551,2.42,552,4.745,553,5.269,561,5.534,589,3.721,613,1.873,652,2.546,664,4.517,675,5.471,692,2.715,693,2.382,701,3.307,704,2.795,706,2.715,711,2.257,717,2.546,718,4.773,732,1.861,786,3.867,862,3.349,863,3.067,872,2.679,886,1.9,902,3.038,905,3.161,906,2.883,910,4.733,912,2.774,913,7.566,914,4.247,916,4.918,918,3.01,920,2.816,921,2.754,931,3.161,934,3.268,936,2.643,937,3.943,963,3.487,973,4.856,984,3.268,985,2.474,987,3.438,991,2.932,1005,4.056,1011,3.596,1012,3.656,1013,4.654,1017,3.958,1018,4.654,1019,3.349,1049,3.268,1180,3.195,1197,3.721,1198,5.318,1199,4.169,1200,5.318,1201,5.318,1202,5.318,1203,5.318,1204,2.735,1205,4.169,1206,5.318,1207,3.067,1208,5.318,1209,5.318,1210,5.318,1211,4.169,1212,5.318]],["keywords/173",[]],["title/174",[25,63.794,33,124.043,182,191.399,301,218.631,503,507.977,537,314.404]],["content/174",[1,2.277,5,1.103,6,1.468,7,5.508,8,2.706,25,1.378,33,1.128,37,1.917,46,1.654,51,2.088,58,3.196,63,2.504,65,2.86,69,4.215,70,1.246,86,2.065,92,2.178,96,2.892,97,1.794,99,1.8,110,2.254,113,2.377,114,1.485,116,2.11,125,2.022,152,3.513,155,3.404,176,3.184,182,3.026,183,4.776,184,1.108,186,2.579,194,2.976,195,6.047,196,5.141,198,1.365,202,1.572,205,2.267,217,4.824,220,4.037,222,1.393,235,3.178,238,3.455,239,2.609,240,1.141,250,2.726,255,2.082,256,2.404,264,1.481,265,4.108,273,3.623,278,1.375,281,4.428,284,1.812,288,2.523,291,2.446,293,3.78,297,4.302,300,4.81,301,2.603,311,2.189,319,2.277,330,3.247,334,1.473,366,2.461,379,3.992,394,6.848,396,3.731,400,3.929,401,2.289,414,4.464,417,2.301,425,1.838,427,1.878,432,2.685,435,2.338,437,2.005,438,5.679,462,2.03,503,4.62,512,2.091,514,4.093,525,6.001,529,2.892,536,2.992,537,3.743,541,2.492,542,3.259,543,1.892,544,5.658,545,3.163,551,2.325,553,6.049,554,4.178,560,4.62,564,2.363,565,2.892,572,3.117,613,3.074,614,3.774,622,5.48,630,3.207,639,5.435,645,3.006,660,2.866,693,2.289,695,2.523,701,5.427,715,3.803,718,5.48,722,4.395,732,3.053,734,2.573,737,2.933,738,5.641,742,3.949,743,6.106,765,3.743,860,3.104,872,2.573,875,2.706,893,3.669,902,2.919,912,2.665,920,2.706,931,3.037,936,2.54,937,3.811,943,2.685,952,2.892,954,2.685,956,3.217,961,2.817,963,1.973,965,3.178,966,4.282,968,4.005,972,3.351,973,4.693,981,4.984,982,8.092,985,2.377,987,3.303,999,3.719,1036,7.312,1041,4.005,1042,3.303,1049,3.14,1051,4.005,1052,4.131,1053,4.005,1054,3.575,1055,2.54,1110,2.919,1129,4.131,1167,3.513,1213,5.109,1214,5.109,1215,5.109,1216,4.725,1217,5.109,1218,5.109,1219,2.461,1220,2.919,1221,5.109,1222,5.109,1223,5.109,1224,2.976,1225,5.109,1226,5.109,1227,3.351]],["keywords/174",[]],["title/175",[191,471.331,879,610.406]],["content/175",[4,1.343,6,1.255,25,1.631,33,2.337,70,3.161,87,4.504,97,4.55,105,9.8,125,5.129,152,2.581,171,3.385,182,3.606,186,3.831,190,6.063,191,3.896,196,4.034,202,3.987,252,5.026,256,6.098,265,4.663,293,3.628,301,2.954,366,6.243,401,5.806,428,6.971,462,5.15,503,9.571,523,9.721,525,6.812,536,4.444,537,4.248,544,4.836,545,3.59,560,6.864,622,5.26,688,7.875,853,10.326,872,6.528,879,7.037,882,7.966,883,9.8,884,7.549,886,4.63,887,7.549,893,5.45,910,5.215,936,6.443,937,5.661,963,5.006,992,9.244,994,6.971,995,9.244,996,5.867,997,9.435,998,9.244,999,9.435,1147,7.145]],["keywords/175",[]],["title/176",[25,79.157,33,153.915,182,237.492,678,749.53]],["content/176",[]],["keywords/176",[]],["title/177",[182,237.492,199,569.907,678,749.53,878,780.572]],["content/177",[4,1.703,63,3.605,97,5.771,175,10.224,182,4.23,195,8.705,196,7.305,197,11.724,198,5.664,199,7.871,250,8.772,293,4.602,304,8.28,311,7.042,366,7.918,396,5.371,438,6.156,519,8.842,544,6.133,567,10.78,678,10.352,736,6.156,910,6.614,1038,10.224,1043,11.967,1207,9.481,1228,11.724,1229,16.439,1230,16.439,1231,16.439,1232,13.291,1233,13.777]],["keywords/177",[]],["title/178",[22,312.383,33,153.915,182,237.492,678,749.53]],["content/178",[5,3.389,6,2.222,10,6.211,33,2.968,37,2.635,63,3.442,70,5.018,171,4.099,182,4.105,252,6.086,264,5.965,293,4.394,322,5.77,428,8.442,437,6.16,531,8.58,678,12.955,695,7.751,696,9.762,705,9.141,893,6.6,918,8.884,926,8.015,963,6.062,1019,9.884,1062,11.683,1063,13.154,1064,10.984,1065,9.234,1110,8.967,1147,8.652,1234,13.154,1235,12.69,1236,12.304]],["keywords/178",[]],["title/179",[25,79.157,33,153.915,437,467.161,1066,635.181]],["content/179",[7,4.791,25,1.348,33,2.936,46,4.968,97,7.118,107,3.77,114,5.894,152,3.056,181,4.09,182,4.045,186,4.537,196,4.777,202,4.722,250,8.191,284,7.192,301,3.498,310,6.948,414,6,437,6.024,438,5.748,462,6.099,536,5.263,537,5.031,551,6.985,553,6.875,560,8.128,626,11.708,637,8.768,671,12.864,678,12.766,954,8.067,961,8.461,1015,11.708,1032,10.552,1036,12.864,1068,9.124,1237,11.173]],["keywords/179",[]],["title/180",[25,89.993,886,483.395,1074,739.744]],["content/180",[25,1.375,96,11.707,182,4.127,202,6.362,486,12.295,678,13.024,872,10.417,902,11.815,936,10.28,1077,11.707]],["keywords/180",[]],["title/181",[25,123.921]],["content/181",[6,1.579,25,1.085,33,2.728,51,3.903,52,4.494,63,3.577,69,5.092,114,4.742,152,3.247,198,4.357,205,5.481,206,5.806,219,6.063,234,7.544,240,3.642,278,4.391,293,4.566,308,6.828,396,5.329,399,8.916,440,7.544,545,4.518,613,5.746,614,7.054,622,6.619,638,9.407,659,7.503,674,5.974,692,8.328,784,11.873,785,4.974,809,8.055,963,6.3,1037,11.632]],["keywords/181",[]],["title/182",[6,131.019,278,364.276,284,480.028]],["content/182",[6,2.117,25,1.454,33,2.231,155,5.144,183,5.435,196,5.371,228,7.537,246,5.451,273,3.784,276,10.484,278,4.645,284,7.758,315,5.621,330,4.149,425,6.208,462,6.856,538,8.577,543,6.39,544,8.16,545,4.78,556,6.164,590,7.357,799,11.863,910,6.943,937,7.537,1068,10.258]],["keywords/182",[]],["title/183",[107,332.397,181,360.573,732,473.461]],["content/183",[5,3.635,6,2.085,25,1.12,44,4.688,70,4.106,87,5.851,97,5.911,107,4.136,151,5.195,155,5.019,181,4.486,182,3.36,185,4.067,186,4.977,192,5.661,240,3.76,314,7.638,385,6.167,392,7.832,396,5.501,539,10.015,553,7.542,562,9.711,613,5.932,678,10.603,704,8.849,717,8.062,732,5.891,879,6.555,1003,13.613]],["keywords/183",[]],["title/184",[6,151.799,184,340.004]],["content/184",[6,2.289,12,5.824,25,1.424,45,4.738,65,5.474,97,5.864,155,4.979,171,4.362,176,6.095,182,3.333,184,5.128,191,5.021,205,4.34,219,6.208,240,3.73,265,6.009,293,4.676,301,3.807,314,5.925,426,10.388,438,6.255,537,5.474,541,8.145,613,7.546,973,8.983,985,7.769,1016,12.432,1238,11.688]],["keywords/184",[]],["title/185",[183,493.826,273,343.83]],["content/185",[4,1.731,6,2.074,25,1.111,70,4.073,183,6.747,191,5.021,196,5.199,202,5.138,273,5.186,276,10.148,301,3.807,330,4.016,385,6.118,399,9.131,425,6.009,532,9.728,537,5.474,538,8.302,544,6.232,545,5.933,611,10.518,740,7.769,858,8.413,920,8.845,1066,8.913,1174,10.148,1175,10.518,1177,10.265,1239,13.998]],["keywords/185",[]],["title/186",[25,70.65,33,137.374,467,375.547,670,595.91,678,668.979]],["content/186",[6,2.012,25,1.06,33,2.687,96,9.02,97,5.595,100,5.902,107,3.914,179,7.921,181,4.246,182,4.146,184,3.456,186,4.71,196,4.96,202,4.902,255,6.495,272,6.795,278,4.29,284,5.653,295,9.794,389,8.195,428,8.571,467,5.633,479,9.575,536,5.464,551,7.252,560,8.439,614,6.892,617,8.439,622,6.467,678,14.56,732,5.576,989,11.365,999,11.6,1000,8.571,1240,15.936]],["keywords/186",[]],["title/187",[4,123.338,25,79.157,182,237.492,678,749.53]],["content/187",[25,1.375,182,4.127,202,6.362,255,8.43,407,10.086,486,12.295,678,13.024,872,10.417,902,11.815,1077,11.707]],["keywords/187",[]],["title/188",[25,89.993,373,348.994,678,852.135]],["content/188",[1,3.98,4,1.737,5,1.928,6,0.865,7,5.877,8,7.28,10,3.534,12,4.063,19,1.574,22,4.045,23,4.145,24,3.083,25,1.352,28,3.863,29,4.834,32,1.111,33,1.993,34,3.148,35,3.943,37,1.499,44,1.462,53,5.808,60,1.959,84,2.802,87,1.825,98,6.602,107,1.29,110,3.94,111,1.981,122,3.92,125,3.534,151,1.62,152,2.737,156,2.781,161,1.659,167,2.282,182,1.782,185,1.268,188,2.945,193,2.104,198,4.117,206,1.869,224,2.708,241,1.952,251,4.966,271,1.863,273,3.015,295,5.489,300,2.895,314,3.168,319,2.34,330,1.262,334,1.514,355,3.519,364,2.847,368,3.307,373,2.303,381,1.694,394,2.663,396,1.716,398,1.966,408,1.737,458,2.442,483,2.824,491,3.822,538,2.61,543,3.307,572,1.876,630,5.054,656,3.121,678,12.362,736,1.966,758,2.271,765,1.721,768,3,770,2.593,771,4.669,772,2.178,773,4.592,774,6.37,775,4.276,777,2.34,780,2.781,782,3.089,787,2.545,843,5.275,886,4.163,901,2.004,993,2.529,996,5.275,1160,2.663,1196,3.443,1220,3,1241,5.251,1242,4.116,1243,5.251,1244,13.749,1245,5.251,1246,8.931,1247,11.653,1248,7.816,1249,8.931,1250,5.251,1251,3.822,1252,5.251,1253,5.251,1254,3.55,1255,7.221,1256,2.972,1257,2.402,1258,7.816,1259,4.245,1260,4.401,1261,5.697,1262,3.227,1263,3.745,1264,3.908,1265,8.931,1266,8.931,1267,8.931,1268,2.719,1269,5.251,1270,5.251,1271,5.251,1272,3.822,1273,5.251,1274,5.251,1275,5.251,1276,2.781,1277,5.251,1278,2.593,1279,5.251,1280,4.116,1281,5.251,1282,5.251,1283,4.401,1284,5.251,1285,4.856,1286,5.251,1287,5.251,1288,5.251,1289,5.251,1290,5.251,1291,5.251]],["keywords/188",[]],["title/189",[25,79.157,65,390.118,400,535.943,408,393.825]],["content/189",[2,8.072,4,2.101,5,3.771,6,2.252,10,6.912,25,1.348,33,2.259,35,3.541,37,4.054,63,2.708,69,3.854,92,5.264,100,6.469,113,5.743,114,5.078,134,6.988,182,2.463,185,2.983,196,3.843,252,4.788,265,4.442,293,4.89,295,10.736,334,3.56,400,9.924,408,7.989,467,7.166,503,6.538,514,4.426,536,5.99,541,6.021,548,7.775,561,5.809,936,6.137,963,6.747,1030,6.059,1038,7.679,1110,7.053,1148,8.64,1292,12.347,1293,12.347,1294,10.348,1295,9.678]],["keywords/189",[]],["title/190",[6,92.877,25,63.794,205,249.247,219,356.567,240,214.197,613,337.935]],["content/190",[6,1.89,25,1.298,69,6.094,205,5.072,219,7.256,240,4.359,246,6.167,419,11.859,542,12.452,553,8.743,556,6.973,613,8.315,799,13.42,872,9.832,902,11.151]],["keywords/190",[]],["title/191",[107,332.397,181,360.573,732,473.461]],["content/191",[6,2.14,70,4.279,87,6.098,107,4.31,155,6.588,176,6.404,181,5.889,192,5.899,240,3.918,288,8.666,293,4.912,314,7.84,330,4.219,425,6.312,490,6.972,613,6.181,617,9.292,622,7.121,704,9.222,732,6.139,893,7.378,985,8.162,1114,8.96,1296,14.187]],["keywords/191",[]],["title/192",[25,89.993,45,383.895,184,293.46]],["content/192",[6,2.002,12,5.514,25,1.052,45,6.535,171,4.13,182,3.155,184,5.298,191,4.754,196,4.922,204,7.483,205,4.109,219,5.879,225,5.669,226,8.075,227,8.132,240,3.531,246,4.996,293,4.427,301,3.604,323,8.718,536,5.423,537,5.183,550,8.951,551,7.197,554,7.572,613,8.115,678,9.959,862,9.959,894,7.923,973,8.506,1148,11.067,1297,10.693]],["keywords/192",[]],["title/193",[25,79.157,202,366.157,563,509.904,1119,686.479]],["content/193",[25,1.336,63,4.404,151,6.196,202,7.387,519,10.802,525,10.556,536,6.887,563,8.604,864,13.171,872,10.116,902,11.474,1119,11.583]],["keywords/193",[]],["title/194",[60,504.882,63,296.762,514,485.1]],["content/194",[4,1.915,6,1.789,25,1.229,60,9.242,63,4.053,92,7.88,152,3.679,196,5.752,198,4.937,273,5.006,396,6.038,512,7.565,514,6.625,590,7.88,737,7.675,926,9.437,963,7.138,1119,10.659]],["keywords/194",[]],["title/195",[6,131.019,185,326.9,480,486.819]],["content/195",[5,4.062,6,2.417,25,1.251,87,6.538,155,5.608,176,6.866,185,4.545,196,5.856,297,5.337,480,8.303,863,10.851,906,10.201,932,8.562,934,11.563,1023,14.004,1298,11.305,1299,13.696]],["keywords/195",[]],["title/196",[116,491.54,278,320.414,330,286.181,356,553.65]],["content/196",[6,2.129,12,6.067,25,1.157,40,6.642,92,7.419,116,9.079,196,5.416,241,6.468,278,4.684,293,4.871,321,10.694,330,6.088,356,10.226,544,6.492,545,4.82,551,7.918,668,9.012,734,8.764,751,10.694,910,7.001,937,7.6,1035,10.572,1170,8.885]],["keywords/196",[]],["title/197",[217,483.395,556,483.395,742,612.527]],["content/197",[4,1.898,25,1.218,33,2.369,37,3.812,63,4.979,202,5.635,217,6.544,222,4.995,273,4.017,334,5.282,512,7.498,514,6.567,536,6.281,543,6.784,556,8.11,718,7.434,742,8.292,921,9.487,958,8.473,963,7.075]],["keywords/197",[]],["title/198",[988,1328.96]],["content/198",[6,2.128,19,4.315,25,1.565,33,1.861,68,7.565,70,3.51,97,5.053,107,3.536,125,5.696,181,3.835,182,4.696,190,6.733,196,4.48,202,5.975,255,5.867,265,5.178,278,3.875,284,5.106,293,4.029,301,3.281,366,6.934,428,7.742,437,5.649,462,5.719,523,7.742,536,4.936,537,4.718,563,6.166,596,10.073,613,5.071,639,6.851,642,6.448,678,14.819,732,5.036,893,6.052,910,5.792,937,6.287,973,7.742,989,10.266,1119,8.302,1167,9.896,1194,10.478]],["keywords/198",[]],["title/199",[25,58.151,33,113.071,179,434.636,180,402.245,194,509.266,220,309.108,315,284.809]],["content/199",[]],["keywords/199",[]],["title/200",[25,63.794,33,124.043,179,476.813,180,441.279,194,558.686,961,528.808]],["content/200",[]],["keywords/200",[]],["title/201",[107,260.952,181,283.072,641,743.425,893,446.695,1300,488.703]],["content/201",[6,1.972,9,7.074,12,5.392,25,1.028,33,1.999,51,3.7,58,5.664,99,5.447,113,7.192,151,4.771,180,7.113,181,4.12,182,3.085,185,4.921,194,9.006,205,4.018,220,5.466,230,4.885,250,8.252,264,4.483,291,7.404,310,6.999,314,5.485,315,5.036,330,3.718,410,9.998,425,5.563,455,7.404,478,9.617,503,8.188,504,6.856,506,8.384,582,8.674,622,6.275,641,10.821,652,7.404,664,7.737,674,5.664,707,10.455,1082,10.292,1227,10.14,1301,13.532]],["keywords/201",[]],["title/202",[4,110.083,108,554.215,207,585.638,240,237.216,1302,929.703]],["content/202",[1,7.101,3,7.331,4,1.651,6,1.543,25,1.06,33,2.687,155,4.75,180,7.331,190,7.454,194,9.281,220,5.633,227,8.195,235,12.923,236,10.956,237,10.451,240,3.558,241,5.923,242,8.785,243,7.331,307,9.191,372,10.304,396,5.207,414,6.229,467,5.633,551,7.252,639,7.585,736,5.968,860,9.682,873,9.575,1021,8.571,1110,9.104,1151,10.304,1189,9.911,1303,13.946,1304,13.356,1305,11.152,1306,15.936,1307,15.936]],["keywords/202",[]],["title/203",[225,426.689,278,320.414,563,509.904,1308,673.714]],["content/203",[4,1.639,6,2.002,25,1.375,33,2.045,40,6.037,69,6.454,88,7.089,180,7.275,182,3.155,192,5.317,194,9.211,205,4.109,222,4.312,225,7.412,226,8.075,229,8.871,231,11.279,277,9.121,301,3.604,440,7.315,545,4.381,632,9.304,636,8.645,640,11.279,668,8.191,732,5.533,739,10.226,891,8.718,897,10.371,914,7.44,985,7.356,1114,8.075,1309,7.44,1310,9.211,1311,13.254,1312,15.815]],["keywords/203",[]],["title/204",[207,482.031,264,253.505,674,320.274,890,623.629,1313,519.794,1314,623.629,1315,550.628]],["content/204",[6,1.617,25,1.111,33,2.16,63,3.663,152,3.325,180,7.683,182,3.333,185,4.035,191,5.021,194,9.728,220,5.904,235,10.388,264,4.842,273,4.697,315,5.44,330,4.016,373,4.308,500,11.688,664,8.357,674,7.846,716,6.03,718,6.778,719,11.483,866,9.826,905,9.929,918,9.454,996,7.56,1125,11.688,1316,15.445,1317,11.688,1318,16.703,1319,16.703]],["keywords/204",[]],["title/205",[185,287.538,273,261.029,462,472.946,1320,640.194]],["content/205",[6,1.935,25,0.999,49,7.065,60,5.603,70,3.662,103,6.692,180,6.908,185,4.827,194,8.746,222,4.095,241,5.582,273,4.382,284,5.327,293,4.204,301,3.423,455,7.19,536,5.149,537,4.922,541,7.323,544,5.603,545,5.535,590,6.403,622,6.094,631,8.746,640,10.71,660,8.423,696,9.34,703,5.603,732,5.254,785,4.58,893,6.314,926,7.668,1006,9.124,1020,12.585,1321,12.585,1322,12.141,1323,11.771,1324,15.017,1325,9.71,1326,9.229,1327,8.014,1328,15.017,1329,7.615,1330,11.771]],["keywords/205",[]],["title/206",[124,445.761,181,317.157,757,769.603,786,509.904]],["content/206",[6,1.657,25,1.138,46,5.54,70,4.174,181,5.797,182,3.415,185,4.134,186,5.059,194,9.967,278,4.607,305,10.644,314,7.717,315,5.574,334,4.935,392,7.961,490,6.8,536,5.868,539,7.961,561,8.051,564,7.916,614,7.402,786,7.332,886,6.114,957,10.398,1003,13.837,1075,12.739,1126,12.739,1331,17.115,1332,9.205]],["keywords/206",[]],["title/207",[7,331.64,46,343.888,373,273.982,1333,790.76,1334,1062.382]],["content/207",[1,6.942,3,7.166,4,1.614,7,4.863,8,8.249,37,2.615,51,3.728,52,4.292,58,5.706,97,5.469,99,5.488,125,6.164,182,3.108,186,4.605,195,8.249,196,4.849,199,7.459,200,5.812,220,5.507,246,4.921,264,4.516,373,4.018,395,6.55,432,8.187,506,8.446,524,10.216,542,9.937,560,8.249,622,8.308,645,9.165,736,5.834,738,10.073,799,10.71,985,7.246,1065,9.165,1068,9.261,1077,8.818,1151,10.073,1197,10.902,1303,13.633,1323,12.212,1335,12.212]],["keywords/207",[]],["title/208",[315,387.69,550,673.714,622,483.032,785,362.986]],["content/208",[6,1.617,25,1.111,152,3.325,184,3.622,185,4.035,198,4.462,205,4.34,219,6.208,220,7.572,240,3.73,252,6.477,299,10.388,301,3.807,315,5.44,330,5.15,356,7.769,371,8.713,537,5.474,545,5.933,613,5.884,652,7.997,706,8.529,926,8.529,1024,7.858,1045,12.741,1329,8.47,1336,14.617,1337,13.998,1338,15.445,1339,7.482,1340,16.703]],["keywords/208",[]],["title/209",[25,63.794,125,379.585,241,356.567,243,441.279,315,312.447,1341,775.576]],["content/209",[22,4.302,23,4.298,24,4.617,32,3.469,34,4.845,35,2.471,37,1.447,124,6.138,151,2.659,152,1.716,161,5.836,164,4.2,167,7.124,184,1.869,185,2.082,224,2.613,225,3.089,240,2.986,241,4.971,271,3.057,275,2.87,308,2.79,330,3.216,335,9.539,347,3.964,355,5.271,520,6.054,572,3.079,630,6.791,641,6.031,735,3.88,758,3.727,764,4.711,765,4.384,767,7.641,770,4.256,771,5.359,772,3.575,773,5.271,774,4.711,775,4.126,776,6.366,777,3.84,778,6.415,780,4.564,806,6.442,886,3.079,901,3.29,910,3.468,981,4.923,1024,4.054,1157,9.743,1256,4.878,1309,6.292,1342,9.043,1343,5.123,1344,8.618,1345,5.36,1346,6.574,1347,5.36,1348,8.618,1349,8.618,1350,6.574,1351,6.415,1352,8.618,1353,11.209,1354,5.236,1355,8.618,1356,5.497,1357,8.618,1358,8.618,1359,6.574]],["keywords/209",[]],["title/210",[171,250.496,184,208.027,191,288.379,272,409.004,1360,596.617,1361,515.945]],["content/210",[4,1.377,6,1.287,22,3.488,23,3.862,25,0.884,32,2.813,34,3.043,88,4.558,164,4.174,176,4.851,193,5.326,205,4.779,220,4.699,224,4.03,240,2.968,297,3.771,330,3.196,334,3.833,385,4.869,432,6.986,438,4.978,477,12.284,478,8.267,496,5.371,515,6.564,613,4.683,660,7.456,954,6.986,991,7.327,996,6.017,1326,8.169,1343,7.901,1346,10.139,1360,8.267,1361,9.893,1362,14.419,1363,14.419,1364,13.292,1365,15.354,1366,11.632,1367,10.747,1368,11.14,1369,11.632,1370,11.14,1371,11.632,1372,11.14,1373,11.14,1374,11.632,1375,13.292,1376,12.292,1377,8.604]],["keywords/210",[]],["title/211",[105,733.699,886,483.395,1378,841.635]],["content/211",[4,1.303,22,4.643,23,4.209,24,6.107,25,1.176,28,5.437,29,7.338,32,2.66,33,1.625,34,4.051,35,3.605,37,2.11,45,3.566,68,9.298,111,4.743,184,2.726,185,3.037,198,3.358,220,4.444,224,3.811,246,3.971,271,4.459,275,4.186,314,4.459,355,4.954,572,4.49,613,4.428,630,7.525,722,6.331,758,5.437,764,6.872,765,5.798,767,7.181,770,6.208,771,7.088,772,5.214,773,6.972,775,6.019,776,8.42,777,5.602,780,6.657,965,7.818,1191,8.019,1379,12.57,1380,11.624,1381,12.57,1382,12.57]],["keywords/211",[]],["title/212",[25,89.993,437,531.112,696,841.635]],["content/212",[1,5.67,4,1.849,6,1.232,25,0.846,37,2.136,44,5.738,46,4.119,60,4.747,63,2.79,70,4.351,86,5.141,107,3.125,109,8.227,154,4.677,180,5.853,181,5.49,184,2.759,185,4.31,192,4.278,194,7.41,203,6.452,205,3.306,220,4.498,236,8.748,237,8.344,252,4.934,273,3.913,278,3.425,310,5.759,314,4.514,322,6.559,385,7.547,398,4.765,477,7.41,478,7.914,496,5.141,537,4.17,565,7.202,568,7.485,590,5.425,614,5.503,622,5.163,650,7.338,704,6.687,891,7.014,1020,10.664,1032,8.748,1065,7.485,1109,6.59,1183,7.014,1361,6.844,1378,7.914,1383,12.724,1384,8.748,1385,10.664,1386,12.724,1387,12.724,1388,8.117,1389,10.287,1390,12.724,1391,10.287,1392,10.287]],["keywords/212",[]],["title/213",[6,71.935,7,231.936,25,49.41,33,96.074,37,124.737,182,148.243,262,634.931,963,286.966]],["content/213",[]],["keywords/213",[]],["title/214",[5,256.976,6,115.243,14,447.448,262,635.181]],["content/214",[]],["keywords/214",[]],["title/215",[87,544.842,181,417.762]],["content/215",[4,2.197,5,3.549,6,2.053,33,2.126,70,4.009,79,8.705,87,5.713,181,4.38,182,4.683,185,3.971,192,5.527,199,7.871,200,6.133,202,5.057,246,5.193,262,11.314,264,4.766,314,7.521,396,5.371,438,6.156,532,9.574,561,7.734,703,6.133,704,8.64,706,8.394,907,10.103,937,7.18,999,11.967,1393,13.291,1394,13.777]],["keywords/215",[]],["title/216",[561,876.641]],["content/216",[5,3.577,6,2.063,33,2.143,63,3.634,70,4.041,87,5.758,103,7.384,182,4.252,185,4.003,222,4.518,262,8.842,392,7.707,532,9.65,543,6.136,550,9.379,561,10.026,652,7.934,664,8.29,675,7.707,711,7.032,718,6.724,785,5.053,893,6.967,904,12.062,905,9.85,910,6.667,921,8.581,963,6.4,1180,9.956,1395,12.334,1396,16.57,1397,13.397]],["keywords/216",[]],["title/217",[182,211.969,301,242.127,786,455.105,886,379.495,1398,668.979]],["content/217",[5,3.521,6,2.393,12,5.687,44,4.542,70,3.978,96,9.232,182,4.665,185,3.94,240,3.642,262,8.704,293,4.566,301,3.717,322,5.996,405,8.387,520,7.383,544,6.085,693,7.306,712,9.909,717,7.809,786,6.987,886,5.826,887,9.499,893,6.858,926,8.328,943,8.572,957,9.909,983,9.696,1204,8.387,1205,12.785,1220,9.318,1398,10.271,1399,12.785]],["keywords/217",[]],["title/218",[6,115.243,185,287.538,480,428.201,1400,667.664]],["content/218",[4,1.788,5,3.725,6,2.325,33,2.231,37,2.897,70,4.208,155,5.144,176,6.297,185,4.169,192,5.802,196,5.371,480,7.868,551,7.853,662,12.307,663,9.513,863,9.952,906,9.356,914,8.118,924,11.008,932,9.952,934,10.605,982,9.208,1016,12.844,1123,12.844,1401,12.307,1402,12.561]],["keywords/218",[]],["title/219",[18,397.612,33,153.915,185,287.538,252,461.561]],["content/219",[5,3.549,6,1.592,18,7.082,33,2.742,44,4.577,110,9.353,179,8.171,182,4.23,185,3.971,196,5.117,222,4.483,252,8.222,262,11.314,291,7.871,293,5.935,299,10.224,322,6.043,496,6.643,515,8.118,529,9.305,712,9.988,718,6.671,732,5.752,936,8.171,973,8.842,991,9.062,1017,12.236,1018,14.386,1043,11.967]],["keywords/219",[]],["title/220",[185,287.538,273,261.029,675,553.65,692,607.783]],["content/220",[6,1.604,33,2.756,103,7.384,176,6.047,182,3.306,185,4.003,240,3.7,262,8.842,273,5.166,301,4.857,334,4.778,373,4.273,381,5.347,438,6.205,532,9.65,537,5.431,543,6.136,545,4.59,664,8.29,675,7.707,692,8.461,716,5.982,904,12.062,905,9.85,910,6.667,926,8.461,1011,11.204,1012,11.392,1042,10.714,1049,10.183,1403,11.817]],["keywords/220",[]],["title/221",[6,102.858,97,372.969,180,488.703,182,211.969,185,256.637]],["content/221",[5,3.665,6,2.307,33,2.799,70,4.14,97,5.959,114,4.935,180,9.956,182,4.318,183,5.347,185,4.101,196,5.283,222,4.629,262,9.058,293,4.752,330,5.204,334,4.894,425,6.107,544,6.333,545,5.995,617,8.989,862,10.689,893,7.137,910,6.83,936,8.437,957,10.313]],["keywords/221",[]],["title/222",[7,371.572,250,635.181,255,485.12,552,625.565]],["content/222",[3,7.562,7,5.132,25,1.093,33,3.035,49,7.734,92,7.009,113,7.646,196,6.599,250,11.314,255,6.7,257,7.363,258,12.539,259,13.777,262,11.314,291,7.871,297,4.664,308,5.321,310,7.441,334,4.74,438,6.156,533,9.305,536,5.637,548,10.352,551,7.481,553,7.363,590,7.009,866,9.671,937,7.18,956,10.352,965,10.224,1013,14.386]],["keywords/222",[]],["title/223",[18,397.612,33,153.915,184,258.124,973,640.194]],["content/223",[6,1.555,18,6.976,33,3.001,114,4.668,184,5.329,219,7.762,220,7.382,262,12.384,293,4.495,307,12.044,322,8.531,440,7.428,536,5.506,550,9.089,589,11.238,613,5.657,718,6.517,866,9.447,922,12.249,931,9.546,943,8.44,982,8.57,987,10.383,1037,11.453,1164,9.869,1404,16.059]],["keywords/223",[]],["title/224",[428,843.27,512,641.789]],["content/224",[33,2.799,44,4.727,63,3.723,86,6.859,176,6.195,182,3.387,185,4.101,205,4.411,222,4.629,240,4.833,262,9.058,265,6.107,273,3.723,417,7.643,424,10.975,428,9.13,438,6.357,512,6.949,536,5.82,718,6.889,785,5.177,921,8.791,937,7.414,963,6.556,991,9.358,994,9.13,1007,8.921,1010,13.724,1011,11.478,1012,11.67]],["keywords/224",[]],["title/225",[16,449.64,33,113.071,182,174.469,417,393.72,662,623.629,663,482.031,952,494.931]],["content/225",[4,1.985,21,11.051,33,3.018,79,10.146,182,3.823,193,7.677,206,6.821,240,4.278,262,12.455,417,10.509,533,10.845,564,8.863,703,7.149,961,10.563,1405,16.768]],["keywords/225",[]],["title/226",[114,346.026,284,422.228,670,667.664,953,885.975]],["content/226",[6,2.338,25,1.021,33,2.622,182,3.062,196,4.777,205,3.988,240,3.427,255,6.256,262,12.114,265,5.522,284,8.053,293,4.297,299,9.546,330,3.69,334,5.845,347,7.061,348,8.688,417,6.911,425,5.522,544,5.727,545,5.616,553,6.875,587,9.791,636,8.391,664,7.68,701,9.546,711,8.604,732,5.37,751,9.433,953,11.425,954,8.067,1025,11.708,1406,12.032,1407,11.708]],["keywords/226",[]],["title/227",[63,296.762,301,308.418,786,579.706]],["content/227",[33,2.66,40,5.992,51,4.923,52,4.325,97,7.223,103,6.994,114,4.563,149,6.511,182,3.132,186,4.639,192,5.277,206,5.587,240,3.505,262,8.376,273,3.442,301,4.689,308,5.081,310,7.105,417,7.067,496,6.342,543,5.813,551,7.143,581,6.661,713,10.148,714,10.447,786,8.814,874,6.959,897,10.293,898,10.791,937,6.855,955,9.052,958,7.26,963,6.062,1028,9.052,1030,7.702,1408,13.736,1409,15.696]],["keywords/227",[]],["title/228",[97,475.083,958,625.942,1410,1184.242]],["content/228",[3,6.908,7,4.688,19,4.502,33,2.584,51,4.782,92,6.403,97,7.015,98,6.433,100,5.561,125,7.907,155,4.476,182,2.996,206,5.346,240,3.353,262,8.014,272,6.403,291,7.19,310,6.797,314,5.327,389,7.722,417,6.762,492,10.154,514,5.383,515,7.416,583,13.142,636,8.209,785,4.58,865,9.848,897,9.848,911,9.579,924,9.579,936,7.464,958,11.073,963,5.8,994,8.077,1029,10.931,1411,13.142,1412,13.886,1413,16.746,1414,15.017]],["keywords/228",[]],["title/229",[16,612.063,25,79.157,262,635.181,952,673.714]],["content/229",[6,1.789,7,5.769,25,1.518,33,2.952,37,3.103,182,3.687,262,13.219,293,5.173,417,8.321,437,7.253,462,7.343,514,6.625,703,6.895,872,9.308,902,10.558,952,10.46,961,10.188,990,14.487]],["keywords/229",[]],["title/230",[7,489.185,182,211.969,288,524.652,514,380.833]],["content/230",[4,1.898,7,8.051,25,1.51,110,8.081,182,3.655,196,5.702,250,9.775,255,7.466,310,8.292,364,9.932,396,5.985,514,6.567,536,6.281,614,7.923,617,9.7,937,8.001,1169,8.381,1415,18.319,1416,16.939]],["keywords/230",[]],["title/231",[152,236.98,217,425.189,414,465.275,544,444.09]],["content/231",[4,2.243,6,2.095,7,6.756,25,1.439,46,5.495,58,6.217,152,4.309,182,3.387,217,7.731,222,4.629,293,4.752,414,8.46,533,9.608,544,6.333,572,6.064,695,8.383,701,10.557,732,5.939,954,8.921,956,10.689,1037,12.106,1187,10.975,1305,11.879,1417,9.279,1418,13.306]],["keywords/231",[]],["title/232",[62,455.105,86,429.278,297,301.381,300,585.638,417,478.346]],["content/232",[25,1.148,33,2.231,86,6.973,96,9.767,97,6.058,125,6.828,182,3.443,196,5.371,262,9.208,293,4.83,297,6.204,300,13.236,304,8.692,396,5.638,401,7.729,417,7.77,525,9.069,532,10.05,548,10.866,630,6.344,703,6.438,912,9.002,937,7.537,961,9.513,1040,11.008,1419,13.163,1420,15.957]],["keywords/232",[]],["title/233",[183,334.613,273,232.977,425,382.183,544,396.364,545,294.262]],["content/233",[6,1.685,18,5.812,25,1.157,33,2.25,44,4.845,155,5.187,183,6.925,262,9.285,273,4.821,276,10.572,284,6.172,330,4.184,399,9.512,425,6.26,462,6.914,544,8.203,545,6.09,613,6.13,712,10.572,722,8.764,732,6.088,858,8.764,914,8.186,1066,9.285,1170,8.885]],["keywords/233",[]],["title/234",[183,334.613,273,232.977,514,380.833,981,606.904,982,566.919]],["content/234",[23,4.155,25,1.304,32,4.149,63,4.3,116,6.028,155,4.351,164,6.157,166,7.914,182,2.912,183,4.597,262,7.789,273,4.3,512,5.975,514,5.232,543,5.405,544,5.446,545,4.043,718,5.923,804,7.074,910,5.873,918,8.262,921,7.559,963,5.638,974,9.311,975,7.85,976,12.773,977,12.233,978,12.233,979,11.801,980,12.233,981,8.338,982,10.462,983,8.677,1046,11.801,1047,10.625,1421,12.773]],["keywords/234",[]],["title/235",[152,269.421,183,426.225,737,454.965]],["content/235",[23,3.265,25,1.111,92,7.121,152,4.265,155,4.979,164,5.245,183,6.747,196,6.667,262,8.913,284,5.925,291,7.997,297,4.738,330,5.15,438,6.255,544,6.232,545,4.626,613,5.884,659,7.683,737,7.95,910,6.721,920,8.845,972,10.953,1041,13.093,1422,11.688,1423,14.617,1424,14.617,1425,13.998]],["keywords/235",[]],["title/236",[5,292.154,152,269.421,742,612.527]],["content/236",[5,3.494,6,2.032,25,1.076,33,2.093,37,3.911,63,3.549,103,7.212,152,3.222,186,4.784,202,4.978,262,8.636,293,4.53,334,4.666,392,7.528,401,7.249,467,5.721,498,10.065,512,8.591,536,5.549,551,7.364,579,10.464,581,6.868,718,8.517,742,9.5,785,4.935,907,9.946,944,9.078,963,6.251,984,9.946,1224,9.425,1426,12.345,1427,8.636]],["keywords/236",[]],["title/237",[281,461.561,297,337.67,379,544.573,614,514.812]],["content/237",[6,2.325,18,5.764,25,1.148,46,5.586,51,4.129,65,5.656,69,5.387,70,4.208,87,5.997,155,5.144,202,5.308,225,6.186,252,6.691,281,9.31,297,4.895,379,7.895,385,6.32,396,5.638,438,6.462,536,5.917,553,7.729,613,7.704,614,7.463,985,8.026,1428,15.957]],["keywords/237",[]],["title/238",[184,230.384,220,375.547,288,524.652,394,538.737,982,566.919]],["content/238",[4,1.849,25,1.187,180,8.21,184,3.87,194,10.394,220,8.62,239,9.113,240,3.985,255,7.274,310,8.078,394,9.051,395,9.393,553,7.994,554,8.545,560,9.451,613,6.287,622,7.243,639,8.495,982,9.524,1054,12.489,1055,8.871,1065,10.5,1151,11.54]],["keywords/238",[]],["title/239",[37,178.358,125,420.379,400,478.346,639,505.648,743,743.425]],["content/239",[3,7.622,4,1.717,25,1.417,33,2.143,37,2.782,51,3.965,58,6.069,65,6.985,88,5.681,97,5.817,99,5.837,125,6.557,182,3.306,195,8.774,200,6.182,262,8.842,264,4.804,293,4.638,396,5.414,400,7.461,438,6.205,462,6.584,639,7.887,743,14.913,875,8.774,937,7.237,991,9.134,1043,12.062,1051,12.989,1052,13.397,1065,9.748,1151,10.714]],["keywords/239",[]],["title/240",[3,488.703,278,285.979,330,255.425,426,660.735,765,348.193]],["content/240",[3,7.746,5,3.635,6,2.085,25,1.12,69,5.256,155,5.019,176,7.857,205,4.375,255,6.862,278,5.796,293,4.713,330,5.177,426,10.472,438,6.306,466,8.784,541,8.211,545,4.664,550,9.53,617,8.916,765,8.199,1118,10.887,1164,13.232,1429,16.838,1430,13.613,1431,16.838]],["keywords/240",[]],["title/241",[191,471.331,879,610.406]],["content/241",[4,1.343,6,2.015,7,4.046,19,3.885,25,1.575,33,1.676,37,3.035,49,6.098,63,2.842,87,4.504,105,9.8,125,5.129,171,3.385,181,3.454,182,3.606,186,3.831,190,6.063,191,3.896,196,4.034,202,3.987,262,12.015,297,3.677,428,6.971,437,5.087,462,5.15,512,5.306,523,6.971,560,6.864,561,6.098,562,7.475,613,4.566,617,6.864,622,5.26,642,5.806,688,7.875,732,4.535,853,10.326,866,7.625,872,6.528,879,5.046,882,7.966,883,7.027,884,7.549,886,6.457,887,7.549,937,5.661,963,5.006,994,6.971,996,5.867,1000,6.971,1056,8.162,1057,10.479,1187,8.38,1418,10.16,1432,11.986,1433,11.343]],["keywords/241",[]],["title/242",[1434,1195.939,1435,1167.014]],["content/242",[]],["keywords/242",[]],["title/243",[1436,1372.068,1437,1267.615]],["content/243",[33,1.42,37,3.73,58,4.022,114,3.192,180,5.051,185,2.652,367,14.05,670,6.159,958,5.079,1438,21.919,1439,10.98,1440,10.98,1441,13.455,1442,20.086,1443,22.215,1444,10.512,1445,10.154,1446,10.154,1447,16.055,1448,10.98,1449,10.154,1450,10.98,1451,10.154,1452,10.154,1453,14.846,1454,9.609,1455,10.154,1456,8.877,1457,10.98,1458,10.98,1459,10.154,1460,10.98,1461,10.98,1462,19.308,1463,16.055,1464,14.846,1465,20.88,1466,16.171,1467,18.979,1468,10.154,1469,10.98,1470,10.98,1471,10.154,1472,10.98,1473,16.055,1474,10.98]],["keywords/243",[]],["title/244",[1436,1630.706]],["content/244",[37,1.406,51,2.004,58,8.28,99,2.951,107,3.213,114,2.435,185,3.16,200,4.88,206,2.981,264,2.428,301,1.909,367,15.919,414,3.274,480,3.013,670,10.204,1259,6.772,1441,13.489,1442,19.912,1445,22.386,1446,7.745,1449,7.745,1451,7.745,1452,7.745,1453,14.883,1454,14.085,1456,6.772,1459,12.096,1462,14.883,1464,12.096,1468,18.247,1471,14.883,1475,13.081,1476,12.096,1477,13.081,1478,8.376,1479,7.337,1480,13.081,1481,8.376,1482,8.376,1483,8.376,1484,16.095,1485,8.376,1486,13.081,1487,8.376,1488,13.081,1489,16.095,1490,8.376,1491,8.376,1492,16.095,1493,8.376,1494,8.376,1495,7.745,1496,8.376,1497,8.376,1498,8.376,1499,7.745,1500,8.376,1501,4.785,1502,8.376,1503,8.376,1504,8.376,1505,8.376,1506,8.376,1507,13.081,1508,8.376,1509,8.376,1510,13.081,1511,9.522,1512,8.376,1513,13.081,1514,8.376,1515,8.376,1516,7.745,1517,7.33,1518,7.745,1519,8.376,1520,8.376,1521,8.376,1522,7.745,1523,8.376,1524,8.376,1525,8.376,1526,4.578,1527,8.376,1528,8.376,1529,8.376,1530,8.376,1531,8.376,1532,8.376,1533,8.376]],["keywords/244",[]],["title/245",[516,806.215,1436,1372.068]],["content/245",[5,4.336,52,5.534,107,4.933,308,6.501,315,6.542,650,11.583,1441,16.832,1534,20.085,1535,20.085,1536,14.055,1537,20.085,1538,20.085,1539,20.085]],["keywords/245",[]],["title/246",[25,70.65,179,528.056,208,580.745,220,375.547,315,346.025]],["content/246",[]],["keywords/246",[]],["title/247",[25,70.65,179,528.056,186,314.016,208,580.745,555,660.735]],["content/247",[25,1.336,96,11.368,190,9.395,201,7.757,208,10.979,237,13.171,556,7.174,643,14.324,1110,11.474,1304,16.832,1305,14.055,1540,12.491,1541,15.744]],["keywords/247",[]],["title/248",[107,292.374,181,317.157,582,667.664,1300,547.547]],["content/248",[5,3.665,6,1.644,25,1.129,51,4.062,58,6.217,99,5.98,151,5.237,161,5.363,176,6.195,181,4.523,182,4.318,184,3.681,185,5.228,192,5.707,205,4.411,243,7.809,330,4.081,373,4.378,388,9.522,454,10.975,496,6.859,504,7.526,506,9.203,582,9.522,613,5.98,622,6.889,639,8.079,652,8.128,914,7.986,1189,10.557]],["keywords/248",[]],["title/249",[4,123.338,108,620.948,220,420.766,1302,1041.648]],["content/249",[6,1.944,25,1.006,33,1.956,37,2.539,45,4.291,114,4.397,184,3.28,205,3.93,206,5.384,208,8.269,220,5.347,235,12.488,236,10.399,237,9.919,239,7.724,240,4.483,241,7.463,242,8.338,260,7.834,307,8.724,308,4.896,315,4.927,330,3.637,334,4.361,372,9.78,387,8.809,397,9.649,423,9.296,504,6.706,559,9.649,668,7.834,732,5.292,914,7.116,934,9.296,985,7.036,1019,9.525,1082,10.068,1169,6.92,1542,13.237,1543,15.126,1544,15.126,1545,15.126,1546,12.677]],["keywords/249",[]],["title/250",[225,426.689,226,607.783,563,509.904,1308,673.714]],["content/250",[6,2.002,25,1.052,40,6.037,69,6.454,70,5.042,88,5.423,155,4.714,176,5.772,208,8.645,225,7.412,226,10.558,227,8.132,229,8.871,230,4.996,231,11.279,241,5.879,271,5.61,319,7.048,322,5.814,395,6.65,409,10.088,426,9.836,545,4.381,650,9.121,891,8.718,894,6.061,972,10.371,985,7.356,1310,12.042,1311,13.254,1547,10.527,1548,10.088,1549,15.815,1550,15.815,1551,12.786]],["keywords/250",[]],["title/251",[207,656.155,718,483.032,1313,707.558,1314,848.901]],["content/251",[4,1.759,6,1.644,18,5.67,25,1.439,154,6.24,179,8.437,185,5.228,208,11.831,264,4.921,273,4.746,315,5.529,373,4.378,392,7.896,661,10.828,674,8.727,718,6.889,918,9.608,1199,13.306,1314,12.106,1315,10.689,1384,11.67,1552,11.67,1553,16.975,1554,11.879,1555,16.975,1556,15.697]],["keywords/251",[]],["title/252",[202,366.157,273,261.029,703,444.09,1320,640.194]],["content/252",[5,3.521,6,1.579,25,1.085,49,7.673,60,7.87,185,3.94,192,5.484,273,5.127,284,5.786,301,3.717,322,5.996,373,4.206,414,6.376,537,5.346,538,8.107,543,6.04,563,6.987,590,6.954,622,6.619,631,9.499,703,7.87,865,10.696,876,10.144,1183,8.991,1326,10.024,1327,8.704,1329,8.271,1501,9.318,1557,14.274,1558,10.024,1559,16.311,1560,11.213,1561,16.311]],["keywords/252",[]],["title/253",[124,397.855,181,283.072,297,301.381,757,686.894,886,379.495]],["content/253",[6,1.713,25,1.177,70,4.316,107,4.347,176,6.458,181,5.921,192,5.949,208,9.673,230,5.59,264,6.442,305,11.006,334,5.102,361,9.926,388,12.464,531,9.673,561,8.325,786,9.519,993,8.524,1168,11.605,1170,9.036,1562,12.882,1563,14.831,1564,11.288]],["keywords/253",[]],["title/254",[7,331.64,8,562.569,195,562.569,738,686.894,1333,790.76]],["content/254",[1,6.284,3,6.487,4,1.461,5,3.045,6,1.365,7,4.402,21,8.133,25,0.938,37,3.216,43,11.054,51,4.584,52,3.886,58,7.016,97,4.951,99,6.748,125,5.58,182,3.822,185,3.407,199,9.171,200,5.261,264,5.553,265,5.073,297,4.001,304,7.103,310,6.383,330,3.391,373,3.637,400,6.35,504,8.492,506,10.386,519,7.585,524,9.248,664,7.056,709,8.667,952,7.982,1030,6.92,1049,8.667,1065,8.296,1084,12.341,1335,11.054,1565,13.04,1566,12.341,1567,11.054,1568,14.102,1569,14.102,1570,14.102,1571,9.535,1572,14.102]],["keywords/254",[]],["title/255",[46,438.039,315,440.762,622,549.155]],["content/255",[1,3.017,4,0.701,6,0.655,19,2.029,22,3.667,23,4.208,24,3.81,25,0.929,32,2.957,34,4.358,35,1.941,37,1.137,40,2.584,45,1.92,114,3.208,116,2.796,124,5.232,125,2.679,151,2.089,152,2.782,161,5.091,162,2.393,164,3.466,166,5.984,167,6.072,179,3.365,184,3.03,185,1.635,191,2.035,208,6.033,220,3.901,224,2.053,225,2.427,239,3.457,241,4.102,242,3.732,243,5.077,265,2.435,271,2.401,275,2.254,301,2.515,307,9.294,308,2.191,315,3.595,330,2.653,335,4.828,347,3.114,355,4.349,356,3.149,366,3.261,381,2.185,398,2.535,438,2.535,440,3.131,454,4.377,462,2.69,466,3.532,490,2.69,520,4.996,537,3.617,541,3.301,545,1.875,572,2.418,630,5.924,639,3.222,706,3.457,735,3.048,740,3.149,758,2.928,764,3.701,765,3.617,767,6.305,770,3.343,771,4.422,772,2.808,773,4.349,774,3.701,775,3.241,776,5.253,777,3.017,778,5.039,780,3.585,806,5.316,845,4.439,876,4.21,882,4.16,886,2.418,901,2.584,912,3.532,981,3.867,1024,5.192,1151,4.377,1157,8.305,1173,4.024,1176,3.867,1189,4.21,1256,3.832,1309,6.573,1329,3.433,1338,6.26,1339,4.943,1342,7.462,1343,4.024,1345,4.21,1346,5.164,1347,4.21,1350,5.164,1351,5.039,1353,5.674,1354,4.113,1444,3.203,1573,6.77,1574,6.26,1575,5.924,1576,6.77,1577,11.037,1578,6.77,1579,5.473,1580,5.039,1581,6.26]],["keywords/255",[]],["title/256",[25,70.65,179,528.056,208,580.745,886,379.495,1074,580.745]],["content/256",[]],["keywords/256",[]],["title/257",[25,104.266,29,650.349]],["content/257",[25,1.463,28,9.512,29,9.123,722,11.077]],["keywords/257",[]],["title/258",[33,202.738,198,418.827]],["content/258",[22,6.024,23,4.135,24,7.923,32,3.946,34,4.269,35,5.347,37,3.13,275,6.209,355,7.348,764,10.193,776,10.925,777,8.309,845,12.228]],["keywords/258",[]],["title/259",[224,475.386,590,668.484]],["content/259",[23,4.251,34,3.855,271,5.973,572,6.015,630,8.726,631,9.806,758,7.282,765,7.057,767,9.619,770,8.315,771,8.627,772,6.984,773,8.485,774,9.204,775,8.062,780,8.916,1356,13.734]],["keywords/259",[]],["title/260",[315,606.931]],["content/260",[4,1.745,14,8.094,15,9.806,25,1.432,33,2.177,45,4.777,60,6.282,92,7.179,162,5.952,184,4.669,185,4.067,207,9.282,208,13.676,220,8.391,241,6.259,273,3.692,314,5.973,476,10.23,563,7.213,571,11.042,637,9.619,732,5.891,1042,10.887,1169,9.851]],["keywords/260",[]],["title/261",[19,318.465,184,230.384,886,379.495,1360,660.735,1361,571.393]],["content/261",[4,1.55,6,1.737,19,2.992,22,2.619,23,4.017,25,0.995,32,2.112,34,2.285,44,4.165,88,5.129,112,6.545,162,3.528,164,3.134,171,2.606,184,3.244,185,2.411,191,3,205,3.887,224,3.026,240,4.45,252,3.87,285,6.862,297,2.831,314,3.54,315,6.954,334,2.878,347,6.882,380,7.265,385,3.656,425,3.59,467,5.288,477,11.608,478,9.304,496,4.033,504,4.425,515,4.929,564,4.617,661,6.367,712,6.064,716,5.401,735,4.494,826,5.502,882,6.134,1024,7.038,1055,4.961,1326,6.134,1343,5.933,1346,7.613,1360,9.304,1361,9.651,1362,11.726,1363,11.726,1365,13.062,1367,8.069,1368,8.365,1369,8.734,1370,8.365,1371,8.734,1372,8.365,1373,8.365,1374,8.734,1376,9.229,1377,4.669,1582,7.429,1583,7.824,1584,12.095,1585,9.229,1586,11.726,1587,9.229,1588,7.824,1589,7.429,1590,7.613]],["keywords/261",[]],["title/262",[25,89.993,190,633.003,696,841.635]],["content/262",[6,1.329,14,7.071,21,7.919,25,1.251,33,1.775,44,5.237,60,5.123,107,4.62,181,5.717,184,2.978,185,4.544,190,6.423,208,10.282,230,4.338,236,12.931,237,9.004,240,3.066,264,3.981,273,5.061,315,6.126,322,5.047,330,3.301,373,3.541,400,6.182,413,7.111,500,9.608,563,5.882,590,5.854,607,7.444,622,5.572,668,7.111,674,7.858,732,4.804,862,8.646,865,9.004,886,4.905,961,7.569,1189,8.539,1211,10.763,1315,8.646,1556,12.697,1557,12.016,1591,13.73,1592,13.73,1593,12.016,1594,13.73]],["keywords/262",[]],["title/263",[191,471.331,879,610.406]],["content/263",[6,1.773,25,1.51,33,1.708,107,4.498,155,3.937,179,6.565,181,3.519,184,2.864,185,4.424,190,6.178,208,7.22,220,4.669,222,3.602,225,6.565,226,6.744,265,4.752,273,2.896,297,3.747,301,3.01,315,5.965,398,4.946,400,5.947,410,8.54,437,5.184,523,7.104,536,4.529,537,4.329,541,6.441,553,5.916,641,9.243,648,8.317,674,4.838,718,5.36,853,7.545,872,6.653,881,9.615,883,7.161,884,7.692,893,5.554,971,7.851,993,6.362,994,7.104,996,5.978,1034,10.679,1168,8.662,1187,8.54,1302,11.559,1314,9.42,1321,11.069,1326,8.117,1327,7.048,1562,9.615,1595,8.215,1596,12.214,1597,11.559,1598,9.615,1599,13.208,1600,13.208,1601,13.208]],["keywords/263",[]],["title/264",[2,294.246,25,53.425,33,103.882,182,160.29,301,183.096,414,314.027,537,263.302,1056,505.879]],["content/264",[]],["keywords/264",[]],["title/265",[63,296.762,401,606.144,1427,722.133]],["content/265",[2,7.745,4,1.169,5,2.435,6,2.047,12,3.932,22,2.96,25,1.406,33,3.125,37,1.893,63,2.473,70,2.75,86,4.557,87,5.689,96,6.383,103,7.295,114,3.278,182,3.266,186,3.333,196,3.51,230,3.563,246,3.563,301,3.731,306,8.043,386,11.917,393,6.066,405,5.799,414,4.408,419,6.852,438,4.223,496,4.557,498,13.151,537,5.365,540,8.394,542,7.194,556,4.028,560,5.972,561,5.305,587,7.194,636,6.165,674,4.131,694,5.605,708,7.101,712,9.946,740,5.246,785,4.992,893,4.742,910,4.538,912,5.883,918,6.383,922,8.602,931,6.704,937,4.925,943,5.927,961,6.217,991,10.623,1042,7.292,1171,7.753,1207,6.504,1552,7.753,1602,6.852,1603,8.602,1604,7.292,1605,9.451,1606,7.753,1607,10.428,1608,8.84]],["keywords/265",[]],["title/266",[10,620.401,467,554.237]],["content/266",[1,8.208,2,8.636,4,1.909,6,1.783,10,8.06,21,6.016,22,4.057,23,3.472,24,5.336,25,1.028,32,2.207,34,2.388,35,2.991,37,3.825,44,2.904,51,3.699,52,2.874,63,2.287,79,5.523,85,7.446,87,3.625,100,3.863,114,3.032,149,4.327,181,2.779,182,3.675,184,2.262,185,2.52,186,3.083,192,3.507,196,4.812,198,2.786,230,3.295,273,2.287,289,4.852,293,2.92,298,5.118,301,2.377,334,3.007,355,4.11,370,9.735,371,5.441,378,6.267,399,5.702,401,4.672,408,5.115,427,3.834,438,3.906,512,4.27,536,5.301,551,4.746,637,5.959,676,7.593,732,3.649,777,4.648,785,3.181,786,4.468,874,4.624,875,5.523,1058,5.402,1109,5.402,1110,5.959,1169,4.772,1427,5.566,1558,6.41,1609,8.433,1610,6.487,1611,7.764,1612,11.507,1613,5.799,1614,5.326,1615,9.645]],["keywords/266",[]],["title/267",[4,140.222,25,89.993,67,544.489]],["content/267",[2,5.69,4,1.298,6,1.213,10,3.138,21,4.573,25,0.833,33,1.025,37,1.331,63,2.748,67,5.042,69,3.912,70,3.789,97,5.454,113,3.688,152,3.827,155,3.735,182,3.835,186,5.682,191,2.384,196,3.9,205,2.06,265,4.508,271,2.813,278,3.373,293,4.941,301,5.61,304,3.994,306,12.589,322,2.915,330,3.013,356,3.688,386,5.772,395,3.334,396,2.591,414,3.099,428,6.739,462,3.151,467,2.803,498,4.932,519,4.265,531,4.334,533,4.488,537,8.068,542,7.993,554,3.796,560,6.635,562,4.573,565,9.991,613,5.473,617,4.199,622,7.163,632,7.371,639,3.774,712,4.817,717,3.796,785,2.418,892,4.873,893,3.334,899,5.772,910,5.042,923,5.2,937,3.463,961,4.371,988,5.655,1006,4.817,1038,4.932,1050,5.655,1056,4.993,1065,4.665,1070,6.939,1115,5.772,1118,5.127,1158,10.848,1159,6.645,1174,4.817,1180,4.764,1194,5.772,1207,4.573,1228,5.655,1232,6.411,1427,6.687,1605,6.645,1616,6.939,1617,8.104,1618,11.587,1619,6.939,1620,12.56,1621,6.939,1622,6.645,1623,5.361,1624,6.939]],["keywords/267",[]],["title/268",[25,63.794,33,124.043,37,161.05,264,278.105,875,507.977,877,533.369]],["content/268",[]],["keywords/268",[]],["title/269",[264,392.317,875,716.592,877,752.413]],["content/269",[4,1.59,7,4.791,23,2.339,58,7.426,70,3.743,108,8.007,175,9.546,176,5.601,182,3.062,195,10.736,196,6.31,200,9.009,248,10.992,264,6.581,293,4.297,401,6.875,554,7.349,567,10.066,580,7.061,614,6.639,637,8.768,738,9.924,799,10.552,875,8.128,877,11.272,892,9.433,893,6.454,963,5.928,985,7.139,1014,13.432,1625,12.41,1626,14.193,1627,15.349,1628,9.03,1629,12.032]],["keywords/269",[]],["title/270",[5,229.359,6,102.858,264,307.993,273,232.977,877,590.69]],["content/270",[5,4.697,6,2.106,44,4.765,70,5.306,113,7.961,176,6.246,181,4.56,182,3.415,252,6.636,264,6.307,273,3.753,293,4.791,375,8.928,382,8.8,705,9.967,785,5.219,875,9.063,894,6.558,910,6.886,920,9.063,924,10.917,963,6.61,1016,12.739,1191,10.917,1403,12.206,1630,14.977,1631,9.687]],["keywords/270",[]],["title/271",[25,58.151,33,113.071,205,227.2,206,311.265,264,253.505,877,486.189,1066,466.623]],["content/271",[6,1.604,25,1.417,33,2.143,44,4.614,63,3.634,105,8.984,182,3.306,186,4.898,202,6.556,205,5.537,206,7.586,252,6.425,264,6.178,334,4.778,414,6.477,437,6.503,462,6.584,474,9.556,531,9.058,536,5.681,555,10.306,556,5.919,875,8.774,877,9.213,902,9.466,903,13.397,952,9.379,990,12.989,1150,12.989,1194,12.062]],["keywords/271",[]],["title/272",[25,89.993,886,483.395,1074,739.744]],["content/272",[]],["keywords/272",[]],["title/273",[25,123.921]],["content/273",[5,3.725,6,1.671,9,7.895,12,6.017,25,1.454,33,2.231,107,4.239,122,7.574,151,5.324,155,5.144,176,6.297,181,4.598,185,4.169,192,5.802,264,5.003,314,6.121,392,8.026,414,6.745,710,14.462,718,7.003,732,6.037,785,5.262,910,6.943,914,8.118,1077,9.767,1185,13.952,1403,12.307,1632,12.075,1633,9.858]],["keywords/273",[]],["title/274",[107,332.397,185,326.9,732,473.461]],["content/274",[5,3.549,6,2.272,25,1.41,70,4.009,87,5.713,107,4.038,151,5.072,155,4.9,181,4.38,182,3.28,185,5.122,264,4.766,278,4.425,288,8.118,293,4.602,314,7.521,330,3.952,385,6.021,396,5.371,553,7.363,613,5.791,704,8.64,707,11.115,732,5.752,875,8.705,1004,13.777,1118,10.629,1148,11.504,1187,10.629,1634,11.724,1635,15.201]],["keywords/274",[]],["title/275",[183,493.826,273,343.83]],["content/275",[6,1.657,33,2.813,40,6.533,70,5.306,183,6.852,198,4.572,202,5.265,219,6.361,246,5.407,273,3.753,276,10.398,291,8.194,301,3.901,315,5.574,330,4.115,348,9.687,396,5.592,537,5.609,545,4.74,622,8.829,740,7.961,920,11.521,1078,13.837,1080,13.416,1632,11.976,1636,11.976]],["keywords/275",[]],["title/276",[273,296.762,414,528.967,1329,686.235]],["content/276",[6,2.166,23,3.79,32,3.155,33,1.928,34,3.414,63,3.27,216,13.787,273,4.907,334,4.299,385,5.461,414,7.773,462,5.924,474,8.599,532,8.683,622,6.05,639,7.096,695,7.363,804,7.226,805,9.777,865,9.777,899,10.853,926,7.613,931,8.863,945,11.687,991,8.219,1021,8.019,1056,9.389,1257,6.821,1325,9.64,1329,10.085,1444,7.055,1604,9.64,1632,13.916,1637,12.495,1638,11.687,1639,13.787,1640,14.91,1641,10.853]],["keywords/276",[]],["title/277",[63,261.029,183,374.904,555,740.294,981,679.981]],["content/277",[6,1.644,12,5.919,25,1.129,63,3.723,70,4.14,154,6.24,183,5.347,264,4.921,276,10.313,279,10.091,293,4.752,330,5.204,381,5.478,513,10.091,514,6.085,525,8.921,544,6.333,581,7.204,890,12.106,893,7.137,963,6.556,981,12.364,994,9.13,1031,12.357,1066,9.058,1325,10.975,1632,11.879,1642,16.975,1643,13.724,1644,15.697]],["keywords/277",[]],["title/278",[33,89.358,62,296.033,86,279.233,100,255.91,182,137.88,205,179.552,206,245.987,414,270.123,952,391.135,1021,371.675]],["content/278",[25,1.462,33,2.25,79,9.214,96,9.849,100,6.444,182,3.472,196,5.416,205,4.521,206,6.194,264,5.045,272,7.419,389,8.947,414,8.594,437,6.829,467,6.151,556,6.216,696,10.822,875,9.214,877,9.675,902,9.94,903,14.068,952,9.849,991,9.592,999,12.666,1110,9.94,1399,13.64,1645,16.09]],["keywords/278",[]],["title/279",[114,346.026,152,236.98,184,258.124,552,625.565]],["content/279",[6,2.305,12,5.162,25,0.984,33,2.559,37,2.485,100,5.482,114,4.304,152,4.439,155,4.413,176,5.402,184,4.292,205,3.846,219,5.503,240,3.305,310,6.701,322,5.442,385,5.422,414,5.787,560,7.839,613,6.972,732,5.179,862,9.322,906,8.026,914,6.964,931,8.8,954,7.78,968,11.604,973,7.962,985,6.886,986,10.177,1021,7.962,1025,11.292,1113,10.776,1172,10.558,1418,11.604,1632,10.359,1646,9.853,1647,14.804,1648,10.359,1649,11.604,1650,8.8,1651,8.538]],["keywords/279",[]],["title/280",[181,417.762,265,564.031]],["content/280",[6,1.881,25,1.292,70,4.737,107,3.536,151,5.992,155,4.291,176,5.253,181,5.175,182,2.872,185,3.477,192,6.53,202,4.428,205,3.74,206,5.124,240,3.214,246,4.547,264,5.631,265,5.178,278,3.875,297,4.084,314,6.89,385,5.272,392,6.695,414,5.627,438,5.391,542,9.182,553,6.448,554,6.892,561,6.772,582,8.074,590,6.137,613,5.071,704,7.565,707,9.733,732,5.036,875,7.622,877,8.003,893,6.052,914,6.772,961,7.935,1031,10.478,1165,9.44,1238,10.073,1403,10.266,1652,12.597,1653,12.597]],["keywords/280",[]],["title/281",[62,509.904,297,337.67,300,656.155,414,465.275]],["content/281",[6,1.475,7,4.756,21,8.787,25,1.342,33,2.609,86,6.157,100,5.643,125,6.029,186,4.504,196,6.28,255,6.21,300,11.122,301,3.473,414,7.886,417,6.861,512,6.237,525,8.008,533,11.419,536,5.224,543,5.643,548,9.595,552,8.008,590,6.496,598,10.302,630,8.315,639,7.252,673,7.949,695,7.525,705,8.874,718,6.183,893,6.407,966,12.77,991,8.399,1025,11.622,1040,9.719,1654,15.237,1655,14.09,1656,10.142]],["keywords/281",[]],["title/282",[152,211.512,414,415.272,435,486.049,552,558.336,765,348.193]],["content/282",[6,1.464,25,1.006,33,2.914,44,4.212,86,6.112,96,8.561,100,5.602,113,7.036,152,3.012,182,3.018,186,4.471,196,4.708,222,4.125,252,5.865,272,6.449,301,3.447,322,5.56,330,4.827,385,5.54,414,7.848,435,6.92,552,7.95,639,7.199,695,9.916,765,6.581,860,9.19,931,8.992,1016,11.259,1021,8.136,1108,10.227,1112,8.992,1164,9.296,1197,10.585,1264,11.259,1547,10.068,1616,13.237,1632,10.585,1651,8.724,1657,15.126,1658,15.126,1659,13.237]],["keywords/282",[]],["title/283",[63,343.83,555,975.122]],["content/283",[6,2.143,25,0.971,37,2.451,60,5.446,63,4.3,70,3.56,149,6.054,155,4.351,192,4.907,217,5.214,265,5.251,273,3.201,301,4.468,330,4.714,356,6.789,393,7.85,438,5.466,525,7.671,537,4.784,540,10.864,545,4.043,550,8.262,553,6.538,556,5.214,563,6.253,579,9.437,622,7.956,660,8.187,680,12.773,688,8.868,742,6.607,892,8.97,893,6.137,910,5.873,921,7.559,926,7.453,961,8.046,963,5.638,981,8.338,986,10.035,1045,11.134,1049,8.97,1053,11.442,1118,9.437,1660,14.596,1661,14.596]],["keywords/283",[]],["title/284",[4,110.083,25,70.65,264,307.993,875,562.569,877,590.69]],["content/284",[4,1.849,6,1.728,7,5.571,25,1.187,37,2.996,96,10.102,171,4.661,191,6.716,250,9.524,252,6.921,255,7.274,264,5.174,311,7.646,329,7.953,467,6.309,548,11.239,622,7.243,872,8.989,875,9.451,877,9.923,888,9.311,902,10.196,963,6.893,1610,11.1,1662,13.99]],["keywords/284",[]],["title/285",[25,104.266,1663,871.749]],["content/285",[6,1.543,12,7.245,21,9.191,25,1.629,28,6.892,29,6.61,33,2.061,44,4.437,49,7.497,110,7.03,113,7.412,190,7.454,251,8.861,252,6.18,264,4.62,265,5.733,323,8.785,427,5.858,529,9.02,617,8.439,875,8.439,877,8.861,879,6.204,883,8.64,886,7.423,887,9.281,894,6.107,992,11.365,998,11.365,1074,8.711,1075,11.862,1632,11.152,1663,8.861,1664,15.936,1665,14.736]],["keywords/285",[]],["title/286",[4,99.401,25,63.794,99,337.935,250,511.905,257,429.683,258,731.722]],["content/286",[3,7.22,6,1.52,7,4.9,25,1.368,83,11.426,97,5.51,99,5.529,155,4.679,196,4.885,202,4.828,250,10.979,252,6.086,255,6.397,257,7.031,258,11.973,264,4.55,265,5.647,291,7.515,304,7.906,394,10.433,396,5.128,401,7.031,410,10.148,438,5.878,462,6.237,536,5.382,553,7.031,554,7.515,622,6.37,749,13.154,875,8.312,877,8.727,937,6.855,965,9.762,1065,9.234,1080,12.304,1151,10.148,1666,14.514,1667,13.154]],["keywords/286",[]],["title/287",[25,79.157,65,390.118,400,535.943,408,393.825]],["content/287",[2,5.253,4,1.486,6,2.208,10,3.735,25,0.954,33,1.22,37,3.684,51,3.432,52,2.601,58,3.457,63,2.07,67,3.797,85,4.546,87,3.28,97,5.035,98,4.043,100,6.424,114,2.744,171,2.465,175,5.87,176,3.444,182,2.862,191,2.837,199,4.519,227,4.853,232,5.61,241,3.508,252,3.66,256,4.44,264,2.736,275,4.775,278,2.541,291,4.519,293,4.015,297,2.677,334,4.135,381,3.046,395,3.968,400,7.81,408,8.12,421,4.888,437,3.704,438,3.535,467,5.07,474,5.443,519,7.714,527,4.853,531,5.159,532,5.497,536,5.948,539,4.39,543,3.495,559,9.148,560,4.998,561,4.44,564,4.366,567,6.189,639,4.492,676,6.87,703,3.521,705,5.497,736,3.535,740,4.39,785,2.878,872,4.754,874,4.184,875,4.998,877,5.248,898,6.489,902,5.392,925,7.91,937,4.122,942,5.671,963,3.645,1030,4.631,1034,7.631,1038,5.87,1050,6.731,1109,4.888,1150,7.398,1295,7.398,1406,7.398,1632,6.605,1662,7.398,1668,7.398,1669,9.438,1670,8.259,1671,7.631,1672,7.631,1673,9.438,1674,9.438,1675,9.438]],["keywords/287",[]],["title/288",[6,92.877,25,63.794,184,208.027,205,249.247,219,356.567,240,214.197]],["content/288",[6,2.289,21,9.633,25,1.111,155,6.385,176,6.095,182,3.333,184,4.645,191,5.021,195,8.845,196,5.199,205,5.566,219,7.962,228,7.295,240,4.783,256,7.858,293,4.676,315,5.44,554,7.997,617,8.845,901,6.376,914,7.858,963,6.451,985,7.769,987,10.799,996,7.56,1174,10.148,1676,15.445]],["keywords/288",[]],["title/289",[25,89.993,184,293.46,982,722.133]],["content/289",[6,2.304,25,1.233,33,1.528,44,2.052,66,5.364,69,2.3,70,1.797,87,2.561,97,2.587,155,3.523,176,5.401,182,2.953,184,5.315,192,2.477,205,3.845,207,6.515,208,9.257,219,6.294,225,2.641,226,3.762,228,3.218,235,4.583,239,9.466,240,3.781,252,2.857,255,4.817,264,2.136,265,2.651,278,1.983,288,3.639,293,2.063,297,2.09,301,1.679,310,3.335,314,5.25,319,3.283,322,2.709,330,1.772,348,4.171,385,2.699,392,6.884,396,2.407,413,3.816,414,4.62,426,4.583,427,2.709,432,6.212,438,2.759,462,5.88,466,3.844,473,5.484,477,6.884,478,4.583,496,4.776,533,4.171,536,2.526,537,2.415,543,2.729,545,3.274,553,3.3,564,5.467,565,6.69,613,6.531,622,6.872,640,5.255,663,4.062,703,2.749,705,4.291,716,2.66,732,2.578,894,2.824,901,2.813,906,6.408,910,2.965,936,3.662,961,4.062,963,2.846,982,7.897,985,3.427,987,4.764,996,3.335,1030,3.616,1046,5.957,1047,5.364,1056,4.64,1066,3.932,1079,5.62,1087,6.448,1117,5.957,1118,4.764,1164,4.528,1165,4.832,1177,4.528,1195,6.448,1227,4.832,1297,10.006,1304,6.175,1360,7.351,1361,7.96,1399,5.776,1557,6.448,1583,5.776,1590,5.62,1624,6.448,1677,6.448,1678,6.814,1679,6.814,1680,7.368,1681,6.814,1682,7.368,1683,6.814,1684,6.175,1685,6.448]],["keywords/289",[]],["title/290",[25,70.65,37,178.358,179,528.056,877,590.69,932,483.439]],["content/290",[6,2.186,25,1.502,37,3.049,179,9.026,182,3.623,293,5.083,389,9.337,401,8.134,437,7.127,462,7.215,515,8.968,560,9.616,863,10.473,877,10.096,902,10.374,903,14.681,932,10.276,991,10.01,1194,13.218,1686,13.218,1687,14.681]],["keywords/290",[]],["title/291",[25,79.157,45,337.67,176,434.385,480,428.201]],["content/291",[5,3.151,6,2.143,9,6.678,25,1.304,33,1.887,45,4.141,103,6.504,155,4.351,176,7.155,182,2.912,192,4.907,200,5.446,222,3.98,291,6.989,308,4.725,373,3.764,385,5.346,400,6.572,480,7.964,487,9.191,536,5.005,556,5.214,569,7.163,659,6.714,863,8.418,897,9.572,906,10.63,914,6.867,924,9.311,931,8.677,932,8.922,933,11.442,934,8.97,1121,12.676,1140,10.864,1262,8.97,1384,10.035,1402,10.625,1632,10.214,1688,13.497,1689,14.596,1690,10.41,1691,12.773]],["keywords/291",[]],["title/292",[46,507.514,181,417.762]],["content/292",[5,3.389,6,1.992,25,1.044,70,5.018,87,5.454,151,6.347,155,4.679,181,5.482,182,3.132,185,3.792,192,6.917,202,4.828,264,4.55,265,5.647,314,5.568,361,8.804,385,5.749,396,5.128,438,5.878,447,10.012,480,5.647,553,7.031,704,8.249,706,8.015,717,7.515,785,4.787,892,9.646,893,6.6,910,6.315,914,7.384,932,9.362,961,8.652,1004,13.154,1123,11.683,1632,10.984,1652,13.736]],["keywords/292",[]],["title/293",[184,258.124,220,420.766,421,616.449,1663,661.815]],["content/293",[6,2.358,12,5.473,25,1.368,33,2.03,155,6.133,182,3.132,184,4.462,185,3.792,191,4.719,196,4.885,205,4.078,206,5.587,219,7.647,220,7.273,240,3.505,255,6.397,265,5.647,323,8.652,427,5.77,478,9.762,480,5.647,525,8.249,529,8.884,556,5.607,613,5.529,914,7.384,932,7.143,956,9.884,973,8.442,985,7.301,1080,12.304,1142,11.426,1174,9.536,1663,8.727]],["keywords/293",[]],["title/294",[5,229.359,6,102.858,205,276.033,206,378.168,742,480.872]],["content/294",[5,3.665,6,2.307,9,7.766,25,1.129,37,2.85,63,3.723,155,5.06,176,6.195,181,4.523,192,5.707,264,6.274,265,6.107,334,4.894,512,6.949,515,8.383,536,5.82,718,6.889,742,10.785,910,6.83,914,7.986,932,7.725,963,8.359,984,10.432,1050,12.106,1403,12.106,1606,11.67]],["keywords/294",[]],["title/295",[437,531.112,950,900.729,1314,965.11]],["content/295",[6,1.543,25,1.538,37,2.675,44,4.437,70,3.886,86,6.439,186,4.71,196,4.96,201,6.155,202,6.392,222,4.345,252,6.18,271,5.653,293,4.461,385,5.837,401,7.138,437,6.255,467,5.633,515,7.87,536,5.464,541,7.771,607,8.64,932,11.15,950,10.607,1019,10.035,1070,13.946,1314,11.365,1433,13.946,1622,13.356,1692,14.736,1693,15.936,1694,11.152,1695,13.946,1696,15.936]],["keywords/295",[]],["title/296",[191,471.331,879,610.406]],["content/296",[19,6.139,25,1.722,398,9.098,877,11.387,1158,12.586,1697,11.591,1698,20.48,1699,20.48]],["keywords/296",[]],["title/297",[37,178.358,52,292.723,703,396.364,958,491.403,1466,773.343]],["content/297",[]],["keywords/297",[]],["title/298",[37,227.19,52,372.867,703,504.882]],["content/298",[4,1.651,37,2.675,44,4.436,51,4.514,54,4.722,66,11.598,70,4.601,113,5.054,114,3.159,171,2.837,175,6.758,176,3.965,199,5.202,200,4.054,222,2.963,252,4.213,287,5.401,310,4.918,348,9.018,396,5.205,433,7.91,486,6.459,498,11.732,514,3.895,524,7.125,581,4.611,607,5.891,636,5.94,660,6.095,664,5.436,694,5.401,703,4.054,732,3.802,870,8.517,894,4.164,943,5.711,944,8.937,956,6.842,994,5.844,1058,5.627,1081,9.791,1148,7.604,1298,6.529,1320,5.844,1687,8.785,1700,10.866,1701,10.866,1702,10.866,1703,7.91,1704,11.879,1705,8.785,1706,10.448,1707,11.363,1708,10.953,1709,14.733,1710,8.288,1711,7.125,1712,11.149,1713,5.891,1714,10.048,1715,10.866,1716,7.749,1717,10.866,1718,7.91,1719,8.517,1720,9.509,1721,9.106,1722,7.91,1723,13.352,1724,7.025,1725,10.866,1726,5.844,1727,9.509,1728,8.088,1729,8.288,1730,10.048,1731,9.106,1732,9.509,1733,9.509]],["keywords/298",[]],["title/299",[51,284.834,52,327.97,92,507.5,703,444.09]],["content/299",[4,0.748,6,1.125,37,1.951,51,3.492,52,4.021,65,3.809,66,5.252,68,3.792,70,2.834,76,4.289,86,2.915,88,2.474,106,4.96,108,3.764,113,3.356,114,2.097,134,4.084,175,12.82,176,4.241,189,5.934,191,2.169,195,3.821,196,2.246,199,3.455,219,2.682,222,3.979,256,3.394,271,6.506,275,3.87,287,5.776,330,1.735,334,2.08,359,5.252,371,3.764,396,2.357,402,4.161,427,2.652,432,3.792,493,11.408,498,4.487,524,10.971,567,4.732,581,3.062,586,5.37,607,7.911,636,3.944,639,3.434,650,4.161,668,3.737,688,4.384,692,5.934,703,6.843,732,5.105,775,3.455,786,3.091,860,4.384,870,5.656,879,2.809,898,4.96,918,6.578,939,5.833,943,3.792,944,8.185,955,4.161,956,4.543,958,3.337,1090,5.504,1128,5.252,1178,4.878,1192,4.487,1199,5.656,1254,4.878,1294,6.047,1300,5.346,1320,6.251,1323,5.656,1631,6.578,1651,4.161,1663,4.012,1703,13.352,1704,4.543,1706,7.621,1707,10.407,1708,11.502,1713,6.301,1718,5.252,1721,9.74,1722,12.178,1723,14.021,1724,7.514,1727,6.314,1728,5.37,1729,5.504,1734,6.672,1735,6.672,1736,7.215,1737,6.314,1738,6.672,1739,7.215,1740,7.215,1741,12.229,1742,7.215,1743,5.504,1744,16.961,1745,6.672,1746,5.656,1747,4.878,1748,6.672,1749,5.504,1750,7.215,1751,5.146,1752,6.672,1753,7.215,1754,7.215,1755,5.504,1756,11.622,1757,6.314,1758,7.215,1759,7.215,1760,7.215,1761,6.672,1762,6.672,1763,6.314,1764,7.215,1765,4.603,1766,4.802]],["keywords/299",[]],["title/300",[52,327.97,581,505.129,993,573.347,1268,616.449]],["content/300",[3,5.548,4,2.074,6,1.168,10,6.798,23,3.05,32,4.235,34,2.761,37,3.87,51,4.111,68,6.339,70,2.941,176,4.402,228,5.268,246,3.81,256,5.674,264,4.981,278,3.247,287,5.995,293,3.376,298,5.918,308,3.904,310,5.459,373,3.11,402,6.956,425,4.339,551,5.488,692,6.159,703,4.5,711,8.493,868,10.108,896,10.108,901,4.604,944,12.233,1032,8.292,1298,7.247,1393,9.751,1540,7.501,1656,8.028,1703,8.78,1710,13.105,1719,9.454,1752,11.153,1767,10.108,1768,15.887,1769,10.108,1770,17.181,1771,10.555,1772,17.181,1773,12.061,1774,17.181,1775,12.061,1776,17.181,1777,12.061,1778,12.061,1779,8.292,1780,12.061,1781,12.061,1782,8.602]],["keywords/300",[]],["title/301",[20,533.158,52,327.97,1703,866.461,1733,1041.648]],["content/301",[3,5.646,6,1.684,20,7.792,37,3.69,64,8.299,65,4.023,85,5.912,106,8.438,148,7.079,152,2.444,171,3.205,191,3.69,196,3.82,197,8.754,203,6.224,230,3.878,264,3.558,278,3.304,301,2.797,304,8.762,373,3.165,402,7.079,537,5.701,539,5.709,543,4.545,581,7.382,692,8.882,693,5.498,703,6.49,708,7.729,718,4.981,740,5.709,787,5.948,792,7.079,858,6.182,861,8.091,891,6.766,894,4.704,924,7.83,944,6.885,972,8.049,1035,7.457,1165,8.049,1166,8.049,1264,9.136,1377,5.741,1466,8.935,1610,7.634,1620,9.924,1703,12.663,1706,8.049,1707,8.754,1726,6.602,1727,10.741,1771,10.741,1783,8.438,1784,10.741,1785,11.35,1786,13.636,1787,9.621,1788,12.274,1789,12.274,1790,12.274,1791,12.274,1792,8.438,1793,10.741]],["keywords/301",[]],["title/302",[278,320.414,457,804.809,703,444.09,1377,556.783]],["content/302",[5,3.184,6,1.911,23,4.033,32,3.121,34,3.377,35,2.808,40,3.738,49,4.607,51,2.343,52,2.698,70,3.597,116,6.09,121,5.884,152,1.95,176,3.574,181,2.609,230,5.604,264,4.276,278,3.97,395,4.118,398,3.667,402,5.648,463,6.984,467,3.462,468,6.747,493,6.091,494,7.47,499,5.147,515,4.836,544,3.654,607,7.996,636,5.353,700,7.289,711,4.156,718,3.974,727,6.853,732,3.426,745,5.353,785,2.986,907,6.018,944,8.272,955,5.648,1156,7.47,1194,7.129,1238,6.853,1356,6.247,1377,10.41,1628,5.761,1656,6.518,1697,8.347,1703,12.913,1719,7.676,1722,10.736,1765,6.247,1779,6.733,1782,6.984,1793,8.57,1794,9.056,1795,9.793,1796,5.95,1797,13.638,1798,8.207,1799,8.57,1800,9.793,1801,9.793,1802,9.793,1803,7.289,1804,9.056,1805,9.793,1806,9.793,1807,9.793,1808,9.793,1809,9.793,1810,9.793,1811,7.129,1812,9.793,1813,9.793,1814,6.167,1815,9.793,1816,9.793,1817,9.793,1818,9.793]],["keywords/302",[]],["title/303",[37,178.358,703,396.364,958,491.403,1794,982.391,1819,982.391]],["content/303",[4,1.395,5,3.557,6,2.056,19,2.605,23,4.033,25,0.578,32,2.849,35,2.492,37,1.459,44,3.748,69,2.713,87,3.02,110,3.833,152,2.68,171,2.269,181,2.315,192,2.922,217,3.104,222,2.37,264,2.519,287,6.691,297,2.465,308,2.813,319,3.872,322,3.195,356,4.042,396,2.839,413,8.533,433,6.326,468,3.976,493,5.405,533,4.919,551,3.954,556,4.809,563,3.723,572,3.104,614,3.758,636,4.75,683,9.42,693,3.892,703,3.242,736,5.041,737,2.922,742,9.087,757,8.704,864,5.699,901,3.317,950,5.784,996,3.933,1000,4.674,1042,5.619,1066,4.637,1147,4.79,1160,4.407,1183,4.79,1300,6.192,1384,5.974,1392,7.026,1558,5.341,1562,6.326,1819,8.036,1820,8.69,1821,5.784,1822,6.468,1823,6.812,1824,8.69,1825,7.026,1826,6.629,1827,4.874,1828,8.036,1829,7.605,1830,12.448,1831,7.283,1832,12.448,1833,8.036,1834,12.448,1835,12.448,1836,12.448,1837,12.448,1838,8.036,1839,8.036,1840,8.036,1841,12.448,1842,12.448,1843,5.543,1844,7.605,1845,7.283,1846,6.326,1847,6.468,1848,6.812,1849,8.69,1850,6.198,1851,8.69,1852,7.283,1853,8.036,1854,8.69,1855,8.69,1856,6.326,1857,8.69,1858,6.812]],["keywords/303",[]],["title/304",[52,292.723,572,379.495,736,397.855,958,491.403,1466,773.343]],["content/304",[2,8.167,5,3.196,7,4.621,20,6.631,37,2.485,51,4.736,52,5.453,144,9.098,198,3.955,230,4.677,246,4.677,364,8.026,398,5.544,409,9.443,458,6.886,463,10.558,498,9.207,572,7.965,693,9.987,736,5.544,855,8.8,861,6.886,865,9.708,870,11.604,893,6.224,968,11.604,984,9.098,1147,8.161,1179,12.955,1322,11.969,1407,11.292,1703,14.407,1826,11.292,1848,11.604,1856,10.776,1859,12.955,1860,11.292,1861,13.689,1862,12.955,1863,11.604,1864,14.804]],["keywords/304",[]],["title/305",[5,229.359,6,102.858,52,292.723,301,242.127,703,396.364]],["content/305",[6,2.341,10,5.433,37,2.305,44,3.823,52,3.783,70,4.587,134,7.771,181,3.658,185,3.317,272,5.854,278,3.696,287,6.825,301,3.129,329,6.118,373,3.541,452,6.351,453,12.016,468,8.605,484,7.702,561,6.459,567,9.004,636,7.506,664,6.87,683,9.608,693,6.15,703,5.123,711,5.827,809,6.781,876,8.539,914,6.459,943,7.216,944,7.702,1030,6.738,1109,9.741,1165,9.004,1656,9.139,1704,8.646,1708,12.931,1728,10.22,1751,9.792,1757,12.016,1826,10.473,1858,10.763,1865,12.697,1866,13.73,1867,13.73,1868,12.697,1869,10.22,1870,12.697,1871,11.101,1872,7.385,1873,13.73,1874,11.101]],["keywords/305",[]],["title/306",[191,471.331,879,610.406]],["content/306",[3,7.387,5,3.467,6,1.555,25,1.068,37,2.696,44,4.472,52,5.754,181,4.279,203,8.144,222,4.379,225,5.757,226,8.2,252,6.227,278,4.323,310,7.269,432,8.44,523,8.637,529,9.089,581,6.815,693,7.193,703,5.991,742,7.269,806,7.735,857,8.258,869,10.531,872,8.089,882,9.869,883,8.707,894,6.154,958,7.428,993,7.735,996,7.269,1326,9.869,1377,7.512,1466,11.69,1703,11.69,1875,14.053,1876,14.85]],["keywords/306",[]],["title/307",[23,122.44,25,53.425,37,134.874,185,194.068,315,261.663,480,289.005,742,363.633,877,446.678]],["content/307",[]],["keywords/307",[]],["title/308",[25,89.993,37,227.19,877,752.413]],["content/308",[]],["keywords/308",[]],["title/309",[37,178.358,181,283.072,414,415.272,1168,696.684,1300,488.703]],["content/309",[5,3.549,6,1.592,25,1.41,44,4.577,125,6.505,151,5.072,176,5.999,181,4.38,182,3.28,185,3.971,199,7.871,220,5.811,256,7.734,264,4.766,314,5.831,330,3.952,334,4.74,373,4.24,385,6.021,391,8.28,392,9.862,425,5.914,532,9.574,539,7.646,553,7.363,613,5.791,704,8.64,706,8.394,877,9.14,924,10.486,1079,12.539,1179,14.386,1332,8.842,1384,11.302]],["keywords/309",[]],["title/310",[108,705.951,462,537.688,480,486.819]],["content/310",[6,2.379,25,1.389,37,2.696,45,4.556,70,3.916,87,5.581,113,7.47,171,4.193,176,7.621,192,5.399,201,6.203,255,6.545,278,4.323,307,9.262,467,5.677,480,8.349,614,6.946,698,10.383,727,11.238,737,5.399,863,9.262,877,8.929,906,8.707,932,9.503,933,12.588,1190,12.588,1877,16.059,1878,16.059,1879,16.059,1880,16.059,1881,16.059]],["keywords/310",[]],["title/311",[6,115.243,614,514.812,742,538.773,1308,673.714]],["content/311",[2,6.427,5,3.788,6,1.699,63,3.848,136,10.12,152,3.493,176,8.066,202,5.398,315,5.715,391,8.838,392,8.162,393,9.438,498,10.913,512,7.183,556,6.268,622,7.121,693,7.86,718,7.121,742,7.942,918,9.932,921,9.087,958,8.116,984,10.784,1398,11.049,1784,15.356,1882,17.547,1883,17.547]],["keywords/311",[]],["title/312",[23,133.27,225,313.459,278,235.386,301,199.292,315,284.809,537,286.593,1313,519.794]],["content/312",[9,7.521,25,1.41,70,5.171,151,5.072,181,4.38,184,3.565,208,8.986,220,5.811,225,5.893,239,8.394,241,6.11,242,9.062,264,4.766,278,4.425,297,4.664,301,3.747,307,9.481,315,5.354,466,8.576,467,5.811,515,8.118,537,5.388,545,4.553,563,7.042,582,9.221,632,9.671,877,9.14,893,6.912,955,9.481,1006,9.988,1782,11.724,1884,16.439,1885,13.777,1886,15.201]],["keywords/312",[]],["title/313",[421,616.449,1187,769.603,1320,640.194,1747,804.809]],["content/313",[4,1.882,25,1.208,37,3.049,97,6.375,107,4.46,111,6.852,181,4.838,202,5.586,220,6.419,250,9.69,255,7.401,257,8.134,373,4.683,393,9.767,414,7.098,480,6.532,553,8.134,563,7.779,571,11.908,732,6.353,877,12.555,921,9.404,1747,12.278]],["keywords/313",[]],["title/314",[25,63.794,37,161.05,40,366.18,275,319.419,886,342.668,1378,596.617]],["content/314",[3,4.283,4,0.965,20,4.171,22,3.725,23,4.151,24,4.9,25,1.28,28,4.027,29,5.888,32,1.971,33,1.204,34,3.25,35,2.67,37,3.23,44,4.79,45,2.642,58,3.41,62,3.989,63,3.113,68,9.041,85,4.485,88,3.193,100,3.448,124,3.487,151,2.873,161,2.942,167,4.047,171,2.431,176,3.398,193,3.731,199,4.458,264,2.699,271,3.303,275,4.727,276,5.657,281,3.611,323,5.133,330,2.239,334,2.685,355,5.594,379,4.26,397,5.94,399,5.09,433,6.778,440,4.307,480,3.35,536,3.193,568,8.351,571,6.106,572,3.326,581,3.952,630,7.073,668,4.822,693,4.171,722,4.69,758,4.027,763,4.755,764,5.09,765,4.652,767,5.319,770,4.598,771,6.892,772,3.862,773,5.594,776,8.188,777,4.149,778,6.931,780,4.931,786,3.989,877,5.177,914,4.381,1168,6.106,1191,5.94,1219,4.485,1256,5.27,1257,4.26,1400,5.223,1887,9.312,1888,9.312,1889,5.863,1890,7.299,1891,6.516,1892,9.312,1893,6.402]],["keywords/314",[]],["title/315",[19,469.995,480,564.031]],["content/315",[4,1.005,5,2.095,6,1.418,19,2.908,22,4.629,23,4.187,24,5.055,25,0.645,32,3.099,34,3.353,35,2.782,37,2.459,45,5.004,111,3.661,149,4.024,151,2.993,152,1.932,161,3.065,167,4.217,185,2.344,200,3.62,223,4.989,271,5.195,275,3.23,329,4.323,334,2.797,355,5.771,425,3.49,438,3.633,480,8.282,490,3.855,496,3.92,572,3.466,581,4.117,607,7.94,630,6.484,631,10.273,737,4.923,758,4.196,763,4.954,764,5.303,765,4.8,767,5.542,770,4.791,771,7.068,772,4.024,773,5.771,776,6.97,777,4.323,780,5.137,932,4.415,1121,12.704,1262,10.841,1400,5.442,1479,5.442,1540,6.034,1690,6.919,1894,11.17,1895,7.4,1896,9.702,1897,11.84,1898,9.702,1899,9.702,1900,10.9,1901,9.702]],["keywords/315",[]],["title/316",[19,469.995,742,709.677]],["content/316",[5,2.747,6,1.232,23,4.151,25,1.187,34,2.913,35,3.649,37,2.136,124,6.682,152,2.533,184,2.759,202,3.914,271,4.514,298,6.244,301,2.9,392,5.918,438,6.682,536,4.363,556,4.545,572,4.545,630,8.211,718,5.163,737,4.278,742,8.076,758,5.503,765,6.754,767,7.269,770,6.284,771,7.149,772,5.278,773,8.12,780,6.738,918,7.202,921,6.59,958,5.885,1129,10.287,1147,7.014,1174,7.73,1220,7.269,1224,7.41,1617,6.638,1825,10.287,1827,7.137,1902,10.966,1903,13.281,1904,12.724,1905,11.766]],["keywords/316",[]],["title/317",[25,70.65,37,178.358,467,375.547,670,595.91,877,590.69]],["content/317",[5,3.665,6,1.644,37,2.85,58,6.217,110,7.488,114,4.935,142,9.986,152,3.38,202,5.222,265,6.107,278,4.569,285,11.67,322,6.24,398,8.105,414,6.635,527,8.729,556,7.731,557,6.745,563,7.272,588,12.948,694,8.437,698,10.975,742,7.684,877,9.438,892,10.432,1032,11.67,1906,16.975,1907,16.975,1908,16.975,1909,16.975]],["keywords/317",[]],["title/318",[191,471.331,879,610.406]],["content/318",[6,1.728,20,5.699,25,1.621,37,3.459,63,3.913,70,3.103,100,6.608,107,4.383,176,4.643,181,4.754,185,4.31,191,3.825,196,5.553,199,6.092,203,6.452,220,4.498,222,3.47,234,5.885,240,2.841,275,4.237,293,3.562,297,3.61,301,2.9,315,5.812,398,4.765,437,4.994,462,5.056,467,4.498,480,6.419,514,4.561,537,4.17,614,5.503,735,5.729,742,8.076,763,9.111,785,3.88,857,6.543,872,6.409,877,9.921,883,6.899,886,4.545,887,7.41,932,5.79,934,7.82,996,5.759,1007,6.687,1153,11.135,1158,7.82,1168,8.344,1433,11.135,1643,10.287,1910,12.724,1911,12.724,1912,12.724]],["keywords/318",[]],["title/319",[25,79.157,33,153.915,182,237.492,1913,723.164]],["content/319",[]],["keywords/319",[]],["title/320",[182,270.003,200,504.882,1913,822.159]],["content/320",[4,1.614,6,1.508,22,4.088,33,2.014,44,4.338,116,6.433,151,4.806,154,5.727,181,4.151,182,3.108,185,3.763,190,7.287,201,6.017,205,4.048,206,5.545,252,6.041,278,5.511,293,4.361,297,4.419,308,5.043,437,6.114,440,7.206,541,7.597,544,5.812,546,12.595,664,7.794,699,10.073,706,7.955,717,7.459,860,9.465,912,8.127,996,7.051,1015,11.883,1038,9.689,1187,10.073,1419,11.883,1604,10.073,1913,12.438,1914,11.11,1915,14.406,1916,14.406]],["keywords/320",[]],["title/321",[22,312.383,33,153.915,182,237.492,1913,723.164]],["content/321",[4,1.423,5,2.964,6,2.341,25,0.913,37,2.305,44,3.823,51,3.286,67,5.525,70,3.349,107,3.373,181,5.012,182,2.74,185,3.317,205,4.887,206,4.888,219,5.104,222,3.744,240,4.2,243,6.316,252,5.324,256,6.459,265,4.939,275,4.572,301,3.129,322,6.914,385,5.029,437,5.389,478,8.539,481,7.569,536,4.708,537,4.5,564,6.351,613,4.837,664,6.87,693,6.15,695,6.781,721,12.016,887,7.997,898,9.439,908,11.101,910,5.525,912,7.163,926,7.011,1009,12.016,1167,9.439,1322,11.101,1378,8.539,1589,10.22,1913,8.342,1917,13.73,1918,13.73,1919,13.73,1920,12.697]],["keywords/321",[]],["title/322",[25,79.157,33,153.915,437,467.161,1066,635.181]],["content/322",[5,3.695,6,1.657,25,1.447,33,2.213,51,4.095,52,4.716,152,3.407,185,4.134,234,7.916,240,3.821,256,8.051,273,3.753,278,4.607,284,7.717,293,4.791,301,3.901,314,6.071,330,4.115,537,5.609,539,7.961,613,6.029,614,7.402,652,8.194,704,8.995,722,8.62,732,5.988,937,7.475,1166,11.223,1170,8.739]],["keywords/322",[]],["title/323",[202,482.305,556,560.063]],["content/323",[6,2.18,25,1.202,69,4.046,70,3.161,72,6.169,107,3.184,125,5.129,176,4.73,182,3.606,184,2.811,192,4.358,257,5.806,273,3.964,278,3.489,281,8.07,284,4.598,297,3.677,301,2.954,311,5.552,314,4.598,315,4.222,322,4.765,330,4.346,379,8.269,381,4.183,392,6.029,396,4.235,425,4.663,438,4.854,442,9.435,490,5.15,537,4.248,538,6.443,545,3.59,584,8.764,611,8.162,613,6.367,697,8.268,718,5.26,732,4.535,734,6.528,740,8.407,921,6.713,1006,7.875,1071,11.986,1072,9.07,1073,11.986,1170,6.618,1176,7.405,1393,10.479,1751,9.244,1913,7.875,1914,9.244,1921,12.962,1922,11.986,1923,12.962,1924,11.986,1925,12.962]],["keywords/323",[]],["title/324",[25,89.993,886,483.395,1074,739.744]],["content/324",[]],["keywords/324",[]],["title/325",[25,123.921]],["content/325",[4,1.788,5,3.725,6,1.671,21,9.952,25,1.148,33,2.231,51,4.129,67,6.943,181,4.598,182,3.443,186,5.101,205,4.484,206,6.143,240,3.853,281,6.691,284,6.121,301,3.933,310,7.811,330,4.149,379,7.895,414,6.745,427,6.344,504,7.651,533,9.767,537,5.656,564,7.982,613,6.079,1067,11.668,1068,10.258,1172,12.307]],["keywords/325",[]],["title/326",[6,131.019,278,364.276,284,480.028]],["content/326",[4,1.773,6,2.106,44,4.765,116,7.068,182,3.415,183,5.39,330,5.751,425,6.157,438,6.409,451,10.518,538,8.507,544,6.385,545,6.026,622,6.945,638,9.87,668,8.863,745,9.356,751,10.518,858,8.62,1035,10.398,1085,14.343,1167,11.766,1847,12.739,1913,10.398,1914,12.206,1926,11.976,1927,12.458]],["keywords/326",[]],["title/327",[107,332.397,181,360.573,732,473.461]],["content/327",[6,1.671,9,7.895,25,1.148,107,4.239,151,5.324,155,5.144,181,4.598,182,3.443,192,5.802,240,3.853,246,5.451,310,7.811,314,7.758,392,8.026,427,6.344,477,10.05,545,6.058,613,6.079,622,7.003,706,8.811,707,11.668,762,12.844,812,12.307,985,8.026,1913,10.484,1928,15.957,1929,17.256,1930,17.256]],["keywords/327",[]],["title/328",[6,151.799,184,340.004]],["content/328",[6,2.074,25,1.111,51,3.997,65,5.474,69,7.382,70,4.073,155,4.979,176,6.095,184,4.645,186,4.937,192,5.616,205,4.34,220,5.904,225,5.987,226,8.529,227,8.589,281,6.477,297,4.738,301,3.807,315,5.44,330,4.016,410,10.799,438,6.255,537,5.474,622,6.778,740,7.769,985,7.769,1115,12.159,1141,10.953,1147,9.207]],["keywords/328",[]],["title/329",[183,493.826,273,343.83]],["content/329",[6,1.728,25,1.486,125,7.062,162,6.309,166,9.677,171,4.661,183,5.621,273,5.347,291,8.545,293,4.996,330,4.291,381,5.759,538,8.871,543,6.609,544,6.659,545,4.944,611,11.239,734,8.989,1006,10.843,1040,11.385,1170,9.113,1913,10.843,1931,11.239]],["keywords/329",[]],["title/330",[281,524.746,297,383.895,379,619.122]],["content/330",[25,1.24,69,5.821,70,4.547,219,6.931,264,5.406,281,8.901,301,4.25,330,4.483,373,4.809,385,6.83,397,11.894,425,6.708,537,6.111,545,5.165,613,6.569,741,11.329,1178,12.608,1422,13.048,1913,11.329,1932,18.646]],["keywords/330",[]],["title/331",[25,70.65,33,137.374,467,375.547,670,595.91,1913,645.446]],["content/331",[4,1.677,5,3.494,6,1.567,25,1.076,33,2.093,41,10.943,52,4.459,116,6.683,181,4.312,196,5.037,225,5.801,226,8.264,265,5.822,275,5.389,284,5.741,293,4.53,315,5.271,322,5.949,334,4.666,398,6.061,437,8.238,439,11.325,536,5.549,614,7,634,11.542,659,7.445,692,8.264,698,10.464,732,5.662,911,10.323,1167,11.126,1721,13.563,1783,11.126,1913,9.832,1933,12.686,1934,14.965,1935,12.686]],["keywords/331",[]],["title/332",[4,123.338,25,79.157,182,237.492,1913,723.164]],["content/332",[]],["keywords/332",[]],["title/333",[25,104.266,29,650.349]],["content/333",[4,1.731,12,5.824,22,4.383,25,1.659,28,9.264,29,8.885,87,5.804,97,5.864,113,7.769,144,10.265,171,4.362,190,7.813,191,5.021,319,9.545,328,13.504,452,7.726,490,6.637,722,10.789,1083,14.617,1180,10.036,1261,10.655,1263,11.912,1936,13.998,1937,13.998,1938,15.445,1939,16.703,1940,13.504]],["keywords/333",[]],["title/334",[33,174.985,198,361.493,323,745.978]],["content/334",[4,1.15,5,2.396,19,3.327,22,4.246,23,4.25,24,5.585,25,1.076,32,2.348,34,3.704,35,4.64,37,1.863,116,4.583,124,6.059,151,3.424,154,4.079,161,3.506,167,4.823,198,2.964,224,3.365,271,3.936,275,3.695,278,2.987,281,4.303,297,3.148,355,7.525,379,5.077,427,4.079,467,3.923,476,6.742,480,3.992,514,3.978,568,6.528,572,5.78,630,7.714,758,4.8,765,5.303,767,6.34,768,9.243,770,5.48,771,6.483,772,4.603,773,6.376,776,7.701,777,4.945,779,7.386,780,5.876,786,4.754,921,5.747,981,6.34,1058,5.747,1219,5.345,1256,6.281,1400,9.076,1540,6.902,1941,9.3,1942,8.699]],["keywords/334",[]],["title/335",[545,374.827,1913,822.159,1914,965.11]],["content/335",[4,1.632,6,1.525,19,4.722,23,4.207,25,0.711,32,3.956,34,3.606,35,3.068,125,4.233,151,3.301,152,2.13,162,5.568,164,5.871,166,5.8,167,4.65,183,3.37,188,8.835,224,3.244,273,2.346,284,3.795,301,2.438,330,2.572,355,4.216,425,3.849,427,3.933,476,9.57,490,4.251,538,5.318,569,7.729,642,4.792,716,3.862,732,3.743,768,13.58,771,4.286,812,7.63,824,7.486,983,6.359,1098,8.386,1526,5.848,1604,6.917,1656,7.121,1913,11.358,1914,11.234,1941,8.966,1943,10.698,1944,10.698,1945,10.698,1946,8.65,1947,10.698,1948,10.698,1949,9.893,1950,10.698,1951,10.698,1952,10.698,1953,15.752,1954,10.698,1955,15.752,1956,10.698,1957,10.698,1958,10.698]],["keywords/335",[]],["title/336",[25,79.157,65,390.118,400,535.943,408,393.825]],["content/336",[2,5.096,4,2.238,5,3.004,6,1.347,20,6.232,25,0.925,37,3.187,51,4.542,52,5.23,62,5.96,63,3.051,69,4.343,87,4.835,98,5.96,100,5.153,114,4.045,171,3.633,220,4.918,222,3.794,232,8.271,246,4.396,256,6.546,275,6.32,297,5.385,308,4.504,319,6.2,395,5.85,400,6.265,408,8.293,421,7.206,492,9.408,529,7.875,548,8.762,564,6.436,581,5.905,636,7.606,866,8.185,1030,6.828,1670,12.176,1871,11.249,1959,13.914,1960,13.914,1961,8.271,1962,12.866,1963,11.661,1964,12.866,1965,9.737]],["keywords/336",[]],["title/337",[6,92.877,25,63.794,205,249.247,219,356.567,240,214.197,613,337.935]],["content/337",[]],["keywords/337",[]],["title/338",[107,332.397,181,360.573,732,473.461]],["content/338",[5,4.026,6,1.805,25,1.24,70,4.547,107,4.58,161,5.891,181,6.116,182,3.72,185,4.504,192,6.269,240,4.164,273,4.089,314,6.614,315,6.073,396,6.092,622,7.567,706,9.521,717,8.928,732,6.524,1913,11.329]],["keywords/338",[]],["title/339",[225,562.039,226,800.578]],["content/339",[6,1.774,25,1.218,69,5.718,88,6.281,152,3.647,155,5.46,205,4.76,225,8.139,227,9.42,255,7.466,278,4.931,330,4.404,395,7.702,426,11.393,536,6.281,545,5.074,632,10.777,740,8.521,1116,9.105,1177,11.258,1310,10.669,1966,12.819]],["keywords/339",[]],["title/340",[613,552.327,1117,1267.615]],["content/340",[6,2.222,25,1.24,70,4.547,155,5.558,191,5.605,205,5.964,240,5.125,281,7.231,298,9.15,299,11.597,301,4.25,330,4.483,537,6.111,613,6.569,861,8.673,894,7.145,985,8.673,1174,11.329]],["keywords/340",[]],["title/341",[25,79.157,202,366.157,563,509.904,1119,686.479]],["content/341",[]],["keywords/341",[]],["title/342",[60,504.882,63,296.762,514,485.1]],["content/342",[6,1.822,60,8.612,63,4.126,171,4.913,191,5.656,198,5.026,273,5.062,301,4.288,512,7.702,544,7.02,693,8.428,737,6.326,740,8.751,905,11.184,1330,14.748,1427,10.04,1913,11.431,1967,14.748]],["keywords/342",[]],["title/343",[6,131.019,185,326.9,480,486.819]],["content/343",[5,4.336,6,1.945,25,1.336,51,4.806,70,4.898,182,4.007,278,5.407,297,5.698,480,7.225,863,11.583,906,10.889,924,12.812,932,9.14]],["keywords/343",[]],["title/344",[116,491.54,278,320.414,330,286.181,356,553.65]],["content/344",[4,1.967,6,2.247,33,2.455,224,5.757,241,7.057,330,5.58,356,8.831,537,6.223,545,5.259,659,8.734,668,9.833,751,11.668,1125,13.286,1126,14.132,1128,13.821,1170,9.695,1968,18.986]],["keywords/344",[]],["title/345",[217,483.395,556,483.395,742,612.527]],["content/345",[5,4.214,6,1.89,35,5.598,63,4.281,152,3.886,217,6.973,556,6.973,693,8.743,737,6.563,742,8.835,866,11.484,921,10.109,954,10.259,958,9.029,1784,17.082,1969,15.301]],["keywords/345",[]],["title/346",[4,99.401,25,63.794,85,462.071,182,191.399,855,570.235,1913,582.811]],["content/346",[2,4.222,5,2.489,6,2.068,18,3.851,20,7.45,25,1.106,33,1.491,44,4.631,60,4.301,63,2.528,64,7.794,70,2.811,111,4.35,121,6.926,144,7.084,155,4.958,166,9.017,171,3.01,181,3.071,183,3.631,191,3.465,198,5.212,210,7.673,246,3.642,264,3.342,273,3.647,284,4.089,304,5.806,314,4.089,323,6.354,360,9.501,381,3.72,385,4.222,392,5.362,427,4.237,439,8.066,468,5.274,478,7.169,514,4.132,538,8.267,545,3.193,622,4.678,664,5.767,693,5.163,736,4.317,786,4.938,858,5.806,893,4.847,905,6.852,906,6.25,914,5.423,1058,5.97,1108,7.794,1124,7.453,1143,7.453,1151,7.453,1176,6.585,1234,9.661,1671,9.32,1786,9.036,1792,7.925,1872,6.2,1913,7.003,1914,8.221,1927,8.391,1970,8.221,1971,11.527,1972,11.527,1973,11.527,1974,10.659,1975,10.088,1976,11.527,1977,10.659,1978,11.527,1979,11.527,1980,9.661,1981,7.673]],["keywords/346",[]],["title/347",[191,471.331,879,610.406]],["content/347",[4,1.413,19,5.613,25,1.657,33,1.764,51,3.264,85,6.57,87,4.74,105,10.152,125,5.397,152,2.716,171,3.562,189,6.965,190,6.381,191,4.101,192,4.586,196,4.246,202,4.196,222,3.719,265,4.907,293,3.818,366,6.57,398,5.108,523,10.071,536,4.677,853,10.697,855,8.108,857,7.014,861,6.345,872,6.87,879,7.29,882,11.508,883,10.152,884,7.944,886,4.873,887,7.944,937,5.957,993,6.57,994,7.336,995,9.728,996,6.174,997,9.929,998,9.728,1127,8.589,1154,10.692,1192,8.484,1913,8.287,1936,11.432,1982,11.028,1983,9.929,1984,8.701]],["keywords/347",[]],["title/348",[25,53.425,33,103.882,114,233.543,196,250.045,217,286.973,264,232.903,414,314.027,973,432.085]],["content/348",[]],["keywords/348",[]],["title/349",[33,137.374,114,308.839,217,379.495,414,415.272,636,580.745]],["content/349",[]],["keywords/349",[]],["title/350",[152,269.421,377,1060.767,701,841.635]],["content/350",[5,4.464,6,2.002,25,1.052,152,4.116,182,3.155,194,9.211,196,4.922,203,8.02,217,7.386,239,8.075,255,6.446,260,8.191,278,4.257,414,6.182,437,6.207,512,6.474,551,7.197,572,5.649,662,11.279,663,8.718,716,5.71,765,5.183,921,8.191,926,8.075,954,8.312,1183,8.718,1204,8.132,1430,12.786,1479,8.871,1651,9.121,1856,11.512,1933,12.397,1985,13.84,1986,10.226,1987,12.063,1988,12.786,1989,11.772]],["keywords/350",[]],["title/351",[639,644.087,765,443.523,1546,1134.114]],["content/351",[6,1.508,9,7.127,33,2.014,73,7.955,111,7.725,162,7.237,196,4.849,217,5.565,222,4.248,329,6.942,330,3.746,348,8.818,396,5.09,414,6.09,417,7.014,435,9.367,437,6.114,587,9.937,662,11.11,663,8.588,695,7.693,737,6.883,765,6.71,991,8.588,1407,11.883,1547,10.369,1623,10.533,1651,8.985,1659,13.633,1990,11.596,1991,12.212,1992,12.595,1993,10.533,1994,15.579,1995,15.579,1996,15.579,1997,13.633,1998,14.406]],["keywords/351",[]],["title/352",[70,290.285,860,723.164,920,630.307,956,749.53]],["content/352",[5,3.389,6,1.992,30,7.384,63,3.442,99,5.529,152,3.125,196,4.885,217,5.607,222,4.28,223,8.071,249,8.884,250,8.376,256,7.384,257,7.031,301,3.577,322,5.77,330,3.774,427,5.77,496,8.313,544,5.856,552,8.249,572,5.607,642,7.031,695,7.751,732,5.492,905,9.33,1021,8.442,1025,11.973,1326,9.646,1604,10.148,1614,8.015,1651,9.052,1666,14.514,1986,13.302,1999,15.696,2000,11.683,2001,15.696,2002,8.442,2003,15.696]],["keywords/352",[]],["title/353",[62,579.706,414,528.967,417,609.31]],["content/353",[5,2.619,6,1.175,33,1.569,44,3.378,70,2.959,107,2.98,114,3.527,122,5.325,152,4.353,171,3.168,182,4.006,196,3.776,201,4.685,217,7.171,222,3.308,234,5.611,255,4.944,278,3.266,301,2.765,306,8.652,322,4.46,377,9.509,379,5.55,414,4.742,417,5.462,421,6.283,452,5.611,466,6.329,501,6.238,503,6.424,537,3.976,552,6.376,560,6.424,563,5.197,639,5.774,640,8.652,663,6.687,693,5.434,718,4.923,732,4.244,860,7.37,876,7.545,914,5.707,943,6.376,1001,10.167,1007,6.376,1021,6.525,1037,8.652,1158,7.455,1173,7.211,1194,8.831,1220,6.93,1234,10.167,1356,7.738,1547,11.483,1560,8.34,1604,7.844,1651,6.996,1681,11.218,1729,9.253,1902,7.455,1986,7.844,1997,10.616,2004,9.253,2005,11.218,2006,12.131,2007,10.616,2008,12.131,2009,12.131,2010,9.808,2011,11.218,2012,11.218,2013,12.131]],["keywords/353",[]],["title/354",[381,384.109,417,535.943,965,740.294,2014,1190.303]],["content/354",[6,1.698,9,3.587,33,1.994,44,2.183,69,2.447,70,1.912,114,3.61,124,2.936,136,4.521,152,2.472,182,1.564,201,6.774,217,5.508,222,4.205,255,5.061,264,2.273,273,3.382,278,3.343,291,3.754,297,2.224,306,5.591,322,5.668,329,3.494,330,1.885,371,4.09,373,2.022,379,3.587,391,3.949,395,6.484,401,3.512,414,7.472,417,9.593,437,6.052,452,3.626,462,3.115,474,4.521,501,6.386,503,4.151,512,3.209,533,7.029,541,3.823,544,2.925,551,3.567,556,2.8,560,4.151,563,6.606,564,3.626,614,3.391,639,3.731,640,5.591,659,3.606,663,4.322,667,9.472,668,4.06,695,3.872,701,4.876,718,3.181,732,4.345,736,2.936,751,4.818,765,5.054,772,3.252,785,2.391,860,4.763,862,4.937,865,12.536,876,4.876,905,7.382,914,3.688,952,4.437,954,4.12,961,4.322,963,3.028,965,4.876,973,4.217,1021,10.282,1030,3.847,1161,6.145,1166,5.141,1169,3.587,1190,6.145,1195,6.861,1297,5.301,1315,4.937,1326,7.632,1329,3.976,1389,6.338,1395,5.835,1418,6.145,1547,5.218,1558,4.818,1560,5.39,1582,5.835,1623,5.301,1636,5.486,1645,7.249,1697,4.437,1728,5.835,1729,5.98,1846,5.707,1847,5.835,1986,5.069,1997,6.861,2004,9.472,2015,7.84,2016,7.84,2017,6.861,2018,6.145,2019,7.249,2020,7.84,2021,6.57,2022,6.57,2023,3.823,2024,7.84,2025,6.338,2026,7.84,2027,7.84,2028,7.84,2029,7.249,2030,6.861,2031,5.591,2032,6.338]],["keywords/354",[]],["title/355",[5,229.359,33,137.374,217,379.495,417,478.346,991,585.638]],["content/355",[]],["keywords/355",[]],["title/356",[217,425.189,372,769.603,1990,885.975,2033,962.349]],["content/356",[5,3.48,6,1.843,23,2.901,35,4.622,53,4.663,60,4.118,85,5.317,92,4.706,190,5.163,196,3.436,198,4.305,203,8.173,217,8.304,223,5.676,273,2.421,291,5.285,297,3.131,298,5.417,310,4.996,325,7.724,372,10.421,417,7.257,438,4.134,479,6.632,536,3.785,556,3.943,557,4.386,630,4.058,631,6.429,633,8.925,639,7.671,642,4.944,656,6.562,721,9.66,732,3.862,735,4.97,737,6.4,765,3.618,771,4.423,787,7.811,869,12.484,875,5.845,1066,5.89,1081,6.784,1310,6.429,1329,5.598,1402,8.035,1417,6.034,1427,5.89,1610,6.865,1616,9.66,1623,7.464,1651,6.366,1668,8.653,1856,8.035,1933,8.653,1986,10.421,1990,14.17,2033,8.925,2034,17.603,2035,9.251,2036,8.653,2037,10.207,2038,11.038,2039,11.038,2040,11.038,2041,11.038,2042,11.038,2043,8.035,2044,9.66,2045,9.251,2046,11.038]],["keywords/356",[]],["title/357",[5,292.154,100,501.136,217,483.395]],["content/357",[4,1.36,5,4.523,6,1.271,25,0.873,37,2.203,44,3.655,49,6.175,51,3.141,63,2.878,88,4.5,100,9.118,110,5.79,113,6.105,152,2.613,155,3.912,202,4.037,217,8.087,240,2.931,273,2.878,297,3.723,319,5.849,329,5.849,334,3.784,373,3.385,396,4.288,437,5.151,452,6.071,491,9.554,492,8.874,503,6.95,515,6.482,545,3.635,631,10.619,636,7.175,650,7.569,664,6.567,737,4.413,750,11.486,765,4.302,947,12.535,1015,10.011,1029,9.554,1261,8.372,1546,11,1763,11.486,1990,9.769,2047,13.125,2048,16.86,2049,8.486,2050,13.125,2051,11,2052,10.011,2053,13.125,2054,13.125,2055,11]],["keywords/357",[]],["title/358",[33,103.882,72,382.369,98,344.149,217,452.238,510,407.391,631,467.879,670,450.625]],["content/358",[2,6.827,5,2.298,6,1.519,12,3.711,30,5.007,37,1.787,44,4.369,60,5.855,69,3.323,88,3.649,98,9.396,113,4.951,155,3.173,156,9.87,182,2.124,185,2.571,192,3.578,196,3.313,217,7.348,230,6.499,255,4.338,278,2.865,334,3.069,391,5.361,409,10.01,438,3.986,440,4.923,483,5.725,496,4.301,498,6.62,501,5.473,545,2.948,556,3.802,581,4.517,631,6.199,636,5.818,642,4.767,650,10.75,674,3.898,693,7.029,732,3.724,736,5.877,739,10.146,887,6.199,912,5.553,1000,5.725,1007,5.594,1042,12.051,1114,5.435,1160,5.397,1171,7.317,1173,6.327,1297,7.197,1325,6.882,1356,6.789,1694,7.448,1697,6.024,1799,9.314,1965,7.448,2049,6.882,2056,10.644,2057,10.788,2058,6.789,2059,10.644,2060,8.119,2061,10.644,2062,7.084,2063,8.92,2064,10.644,2065,12.687,2066,10.644,2067,10.644,2068,10.644,2069,10.644,2070,8.605,2071,9.842,2072,9.314,2073,9.842]],["keywords/358",[]],["title/359",[7,299.457,25,63.794,33,124.043,217,342.668,264,278.105,625,731.722]],["content/359",[25,1.24,33,2.411,107,4.58,152,3.712,181,4.968,199,8.928,201,7.202,205,4.845,206,6.637,217,6.661,240,4.164,264,5.406,414,7.289,504,8.267,614,8.065,785,5.686,1172,13.298,1720,16.318,2074,18.646,2075,14.223,2076,16.318]],["keywords/359",[]],["title/360",[556,560.063,960,1267.615]],["content/360",[4,1.15,5,3.493,6,1.566,18,3.707,25,1.27,33,1.435,37,1.863,45,3.148,60,4.14,107,2.726,114,4.704,152,3.221,162,3.923,181,4.311,184,2.407,185,4.613,191,3.336,217,8.32,230,3.506,240,2.478,250,5.922,264,3.217,273,4.187,278,2.987,284,3.936,314,3.936,315,6.219,322,5.948,330,3.89,381,3.581,396,3.626,417,4.997,425,3.992,452,5.133,458,5.162,466,5.789,467,3.923,490,4.409,538,5.516,539,5.162,543,4.11,544,4.14,545,4.482,553,4.971,590,4.731,614,4.8,630,4.079,639,5.282,652,7.747,662,7.914,663,6.117,712,6.742,716,4.006,737,3.731,765,5.303,858,5.589,891,6.117,942,6.668,953,8.26,985,5.162,1147,6.117,1183,6.117,1651,6.4,1726,5.969,1846,8.078,1856,8.078,1927,8.078,1981,7.386,1991,8.699,2023,5.411,2049,7.175,2052,8.465,2077,9.3,2078,9.711]],["keywords/360",[]],["title/361",[25,79.157,202,366.157,217,425.189,563,509.904]],["content/361",[6,1.464,19,3.036,23,4.127,32,3.2,35,4.337,37,1.7,45,2.873,65,3.319,70,2.47,152,3.603,171,2.644,217,7.171,334,2.92,393,5.446,414,3.958,425,5.44,467,3.58,498,6.298,556,6.465,581,4.297,590,4.317,630,3.722,693,4.536,695,5.001,718,6.137,719,6.962,737,6.085,742,9.087,757,9.778,765,4.956,861,4.71,944,5.68,945,7.938,1065,5.957,1161,7.938,1162,9.364,1169,4.633,1183,5.582,1300,6.957,1567,7.938,1583,7.938,1755,7.724,1811,7.371,1825,8.187,1827,5.68,1828,9.364,1829,8.862,1830,13.984,1831,8.487,1832,13.984,1833,9.364,1834,13.984,1835,13.984,1836,13.984,1837,13.984,1838,9.364,1839,9.364,1840,9.364,1841,13.984,1842,13.984,1967,7.938,2079,5.785,2080,9.364,2081,10.126,2082,8.862,2083,9.364,2084,10.126,2085,9.364,2086,10.126]],["keywords/361",[]],["title/362",[191,471.331,879,610.406]],["content/362",[4,0.812,5,2.681,6,1.202,7,2.447,19,3.723,25,1.469,33,1.994,46,2.538,51,1.876,60,2.925,70,1.912,85,3.776,87,2.724,97,2.752,98,3.358,105,6.733,107,3.05,114,2.279,125,3.102,152,3.07,156,4.151,171,2.047,181,3.309,182,1.564,184,1.7,185,1.894,186,2.317,189,4.003,190,5.809,191,2.357,192,4.175,196,3.865,201,3.028,202,3.82,217,7.264,222,4.205,230,2.477,265,2.82,273,2.723,284,2.781,293,3.476,296,5.835,304,3.949,348,4.437,366,3.776,385,2.871,398,2.936,401,3.512,414,3.064,417,5.591,452,3.626,467,2.771,514,2.81,523,6.679,533,4.437,536,2.688,541,3.823,544,2.925,551,3.567,556,2.8,563,3.358,631,4.566,639,5.911,650,4.521,701,4.876,732,2.743,736,2.936,737,4.175,739,5.069,742,3.549,765,4.07,853,7.094,855,4.66,856,5.069,857,4.031,860,4.763,861,3.647,865,5.141,872,3.949,875,4.151,879,4.835,882,7.632,883,6.733,884,4.566,886,2.8,887,4.566,888,4.09,947,5.39,956,4.937,961,4.322,986,5.39,993,3.776,994,4.217,995,5.591,996,3.549,997,5.707,998,5.591,1021,6.679,1077,4.437,1127,4.937,1154,6.145,1192,4.876,1197,5.486,1233,6.57,1311,6.57,1315,4.937,1418,6.145,1659,6.861,1668,6.145,1913,4.763,1936,6.57,1982,6.338,1983,5.707,1984,5.001,1986,5.069,1990,9.243,2034,7.249,2048,7.249,2087,7.84,2088,5.591,2089,5.141,2090,7.84,2091,7.84,2092,7.84,2093,7.84,2094,5.835,2095,5.486,2096,7.84,2097,7.84,2098,4.937,2099,6.57,2100,7.84,2101,7.84,2102,6.338]],["keywords/362",[]],["title/363",[7,371.572,25,79.157,33,153.915,217,425.189]],["content/363",[]],["keywords/363",[]],["title/364",[33,174.985,217,483.395,1110,773.065]],["content/364",[4,1.744,5,4.252,6,2.422,7,5.255,12,4.087,33,1.516,58,4.293,65,3.842,86,4.736,152,3.351,155,3.494,195,6.207,196,5.239,200,4.373,217,8.734,222,3.196,251,6.517,256,5.514,297,3.325,304,5.904,322,4.309,381,3.783,382,6.027,394,8.536,395,4.929,396,3.83,416,11.204,417,5.278,421,6.071,486,6.968,519,6.304,553,5.25,558,9.188,597,9.188,598,7.925,639,5.579,674,4.293,695,5.789,701,7.29,938,9.188,956,7.381,973,6.304,1021,6.304,1036,9.824,1037,8.36,1038,7.29,1068,10.006,1157,6.968,1224,9.804,1305,8.203,1650,6.968,1651,9.708,1668,9.188,1986,10.884,2007,10.258,2023,5.716,2049,7.579,2103,11.722,2104,9.824,2105,11.722,2106,6.76,2107,10.839]],["keywords/364",[]],["title/365",[37,178.358,87,369.18,152,211.512,217,379.495,467,375.547]],["content/365",[2,6.796,4,0.9,5,2.906,6,2.366,10,6.52,12,4.694,19,2.605,25,1.096,33,2.746,37,3.944,51,2.079,52,2.394,53,3.671,58,3.183,69,4.202,84,4.637,87,5.726,99,3.061,114,2.526,152,1.73,155,2.59,176,3.171,182,4.79,185,3.252,186,3.979,198,2.321,201,3.356,206,3.093,217,3.104,219,3.23,222,2.37,230,2.745,232,9.795,240,4.741,249,4.919,252,3.37,260,4.501,264,3.903,265,3.126,297,2.465,314,3.083,334,4.751,408,2.875,432,4.567,467,4.759,478,5.405,479,5.221,504,5.968,519,4.674,525,4.567,531,4.75,535,6.812,536,2.98,539,4.042,554,4.161,560,4.602,562,5.012,564,4.02,613,4.742,652,6.445,674,3.183,678,5.472,697,5.543,740,4.042,785,2.65,856,5.619,932,3.954,936,4.319,962,6.468,965,5.405,987,5.619,1000,4.674,1030,4.264,1053,6.812,1081,5.341,1268,4.501,1295,10.552,1427,4.637,1611,6.468,1751,11.751,2108,8.69,2109,12.448,2110,8.69,2111,5.784,2112,5.699]],["keywords/365",[]],["title/366",[37,199.834,152,236.98,217,425.189,742,538.773]],["content/366",[4,1.432,6,2.084,25,0.919,30,6.502,37,3.614,45,3.921,53,7.981,63,3.031,96,7.823,152,4.286,155,4.12,182,2.758,186,4.085,202,4.252,217,6.749,252,5.36,255,5.633,273,4.721,288,6.826,298,6.782,308,4.474,334,3.985,401,6.191,438,5.176,455,6.618,466,7.21,480,4.972,514,4.955,556,4.937,560,7.319,581,5.865,617,7.319,622,5.609,703,5.157,718,5.609,737,4.647,742,10.968,843,6.256,914,6.502,944,7.753,963,7.298,999,10.061,2113,12.781,2114,9.064,2115,11.583]],["keywords/366",[]],["title/367",[6,92.877,330,230.639,435,438.882,765,475.882,2023,467.785]],["content/367",[4,1.01,5,3.173,6,1.907,19,2.922,23,4.03,25,1.31,32,2.063,33,1.9,35,4.214,45,4.169,53,4.117,69,3.043,72,4.639,152,2.926,155,2.905,171,2.545,176,3.557,177,5.012,182,1.945,201,3.765,205,2.533,217,3.482,227,5.012,240,2.176,248,5.285,271,3.458,293,2.728,297,2.765,301,2.221,330,2.343,334,2.81,373,2.514,381,3.145,382,5.012,398,3.65,435,8.093,545,2.7,556,5.25,572,3.482,590,4.156,600,7.904,630,7.769,736,3.65,758,4.216,765,5.798,770,4.814,771,7.088,772,4.043,773,6.971,774,9.67,775,7.036,860,5.922,985,4.534,987,6.302,1019,6.138,1144,8.53,1174,5.922,1211,7.641,1224,8.559,1345,6.062,1417,8.033,1444,6.954,1548,6.218,1625,7.881,1889,9.254,2023,8.626,2116,14.825,2117,6.392,2118,6.59,2119,9.747,2120,9.013,2121,5.99]],["keywords/367",[]],["title/368",[5,229.359,25,70.65,51,254.223,182,211.969,217,379.495]],["content/368",[2,5.837,3,7.331,25,1.538,37,3.882,45,4.521,46,5.158,51,5.533,52,4.391,69,6.487,113,7.412,114,4.633,182,3.18,183,6.545,198,4.257,220,5.633,273,4.557,275,5.306,281,6.18,293,4.461,297,4.521,301,3.632,437,6.255,519,8.571,536,5.464,537,5.223,545,4.414,553,7.138,554,7.63,613,5.614,962,11.862,1653,13.946]],["keywords/368",[]],["title/369",[25,79.157,33,153.915,63,261.029,217,425.189]],["content/369",[6,2.306,8,4.471,25,1.215,33,1.702,37,2.716,44,3.665,46,4.261,60,3.15,63,4.007,70,2.059,85,4.067,87,5.622,92,3.6,114,2.455,122,3.706,125,3.341,152,1.681,182,3.228,183,2.659,186,2.496,192,2.839,205,2.194,217,7.075,219,3.138,240,1.885,273,4.007,278,2.273,291,4.043,293,2.364,310,3.822,322,3.104,330,2.03,385,3.093,389,4.342,395,3.55,396,4.301,398,3.162,400,5.927,405,6.769,408,2.794,428,7.08,438,3.162,476,5.13,514,6.549,520,3.822,533,4.779,544,3.15,545,3.646,550,4.779,557,3.355,613,2.974,622,6.565,674,3.093,675,6.123,693,3.782,695,4.17,716,3.048,718,5.342,740,3.927,785,2.575,860,5.13,898,5.805,902,4.823,903,6.826,907,5.189,910,5.297,914,3.972,918,4.779,921,4.373,922,6.44,925,7.076,926,4.311,931,5.019,963,5.084,968,6.619,981,4.823,982,4.506,985,3.927,986,5.805,1007,4.437,1016,6.285,1030,4.143,1045,6.44,1050,6.022,1065,7.744,1123,6.285,1147,4.654,1151,8.511,1329,4.282,1419,6.44,1427,4.506,1571,5.709,1580,6.285,1606,9.05,1667,7.076,1668,6.619,1782,6.022,1984,5.386,1986,5.459,2122,8.444,2123,6.619,2124,7.389,2125,6.826,2126,5.62,2127,7.389,2128,8.444,2129,7.808,2130,5.537]],["keywords/369",[]],["title/370",[25,104.266,504,695.115]],["content/370",[6,1.644,25,1.129,63,3.723,182,3.387,196,6.736,202,5.222,206,7.704,217,6.064,222,4.629,240,4.833,252,6.582,255,6.918,265,6.107,355,6.689,401,7.603,414,6.635,462,6.745,504,9.595,622,8.783,639,8.079,674,6.217,899,12.357,907,10.432,963,6.556,992,12.106,2131,10.199,2132,15.697]],["keywords/370",[]],["title/371",[5,207.102,25,63.794,58,351.353,99,337.935,152,190.987,217,342.668]],["content/371",[6,2.022,7,5.013,25,1.068,46,6.76,58,8.5,97,5.638,99,7.357,152,3.197,175,9.988,182,3.204,186,4.747,196,4.998,199,7.689,217,7.46,222,4.379,252,6.227,264,6.054,278,4.323,291,7.689,394,8.144,437,6.303,536,5.506,542,10.244,560,8.504,567,10.531,622,6.517,643,11.453,674,5.882,701,9.988,1065,9.447,1151,10.383,2133,16.059]],["keywords/371",[]],["title/372",[4,123.338,33,153.915,100,440.795,217,425.189]],["content/372",[4,1.731,6,2.289,14,6.279,25,1.111,33,2.16,37,3.596,46,5.407,67,6.721,96,9.454,100,7.932,152,3.325,217,8.447,220,5.904,293,4.676,298,8.196,322,6.14,323,9.207,395,7.023,401,7.482,437,6.555,639,7.95,732,5.844,875,8.845,931,9.929,1021,8.983,2004,12.741,2104,13.998,2134,13.998]],["keywords/372",[]],["title/373",[191,471.331,879,610.406]],["content/373",[4,1.335,6,2.008,7,4.021,19,3.861,25,1.571,33,1.666,37,3.021,63,2.825,87,4.476,105,9.758,125,5.097,171,4.699,181,3.432,182,3.591,190,6.025,191,3.872,196,4.009,202,3.963,217,6.429,262,9.604,265,4.634,297,3.654,428,6.928,437,7.063,523,6.928,525,6.77,541,6.281,561,6.06,573,8.856,613,4.538,622,5.227,642,5.77,688,7.826,853,10.281,872,6.488,879,5.015,882,7.916,883,6.984,884,7.502,886,6.429,887,7.502,937,5.626,947,8.856,963,4.975,983,7.657,994,6.928,996,5.831,1000,6.928,1034,10.415,1056,8.111,1172,9.187,1432,11.912,2113,11.912,2135,11.912,2136,9.014,2137,12.881]],["keywords/373",[]],["title/374",[7,250.785,25,53.425,33,163.706,85,386.968,182,160.29,185,305.83]],["content/374",[]],["keywords/374",[]],["title/375",[4,123.338,33,153.915,67,478.927,185,287.538]],["content/375",[6,1.815,33,2.673,44,2.994,58,3.939,68,5.652,69,3.357,70,4.573,107,2.641,151,3.318,176,3.924,181,4.996,182,3.155,185,5.321,192,3.615,195,5.694,200,4.012,201,4.153,202,3.308,219,3.997,240,2.401,255,4.383,256,5.059,264,5.993,278,2.895,301,2.451,304,7.964,306,7.669,314,5.609,315,5.15,329,4.792,330,2.585,334,3.101,385,3.939,395,4.522,438,4.027,490,4.273,515,5.311,532,6.263,536,3.687,537,3.524,539,5.002,545,2.979,551,7.195,565,6.087,569,5.277,584,7.271,613,3.788,615,9.012,632,9.302,652,5.149,675,5.002,704,5.652,706,8.073,708,6.771,717,5.149,718,4.364,888,5.61,893,4.522,904,7.828,907,6.609,910,4.327,914,5.059,923,7.052,985,5.002,1011,7.271,1012,7.393,1030,5.277,1152,7.158,1158,6.609,1238,7.525,1394,9.012,1419,8.203,1590,8.203,1620,8.694,1634,7.669,1782,7.669,2138,9.411,2139,10.754,2140,10.754,2141,6.86]],["keywords/375",[]],["title/376",[63,343.83,514,562.039]],["content/376",[2,4.777,4,1.351,5,2.816,6,1.758,22,3.423,33,2.7,60,6.773,63,2.86,69,4.071,87,4.532,113,6.067,155,3.888,171,3.406,176,6.625,182,3.622,185,4.385,191,3.921,192,4.385,199,6.245,230,5.735,237,8.553,273,3.981,278,3.511,373,3.364,392,6.067,393,9.764,401,5.842,455,6.245,462,5.182,496,5.27,498,8.112,500,9.127,501,6.707,514,4.675,545,3.613,561,6.136,693,5.842,697,8.32,712,7.924,718,5.293,736,4.884,785,3.977,890,9.302,905,10.791,921,6.755,943,6.855,1112,7.753,1119,7.522,1148,9.127,1417,7.13,1427,6.96,1430,10.545,2025,10.545,2035,10.931,2142,12.061,2143,12.061,2144,13.043,2145,13.043]],["keywords/376",[]],["title/377",[480,564.031,932,713.465]],["content/377",[5,3.389,6,1.992,33,2.03,37,2.635,40,5.992,45,4.453,70,5.018,87,5.454,176,7.508,185,3.792,196,4.885,201,6.062,297,4.453,305,9.762,467,5.548,474,9.052,480,7.401,515,7.751,551,7.143,659,7.22,688,9.536,863,9.052,906,8.51,932,10.444,934,9.646,1066,8.376,1299,11.426,1410,13.736,1687,12.69,1981,10.447,2057,10.791,2146,11.426,2147,15.696,2148,15.696,2149,15.696,2150,15.696]],["keywords/377",[]],["title/378",[7,371.572,25,79.157,182,237.492,514,426.689]],["content/378",[6,1.685,7,5.432,25,1.462,33,2.843,44,4.845,107,4.274,181,5.858,182,3.472,256,8.186,278,4.684,284,7.799,301,3.966,310,7.876,414,6.802,428,9.359,537,5.703,539,8.094,564,8.049,573,11.963,614,7.526,675,8.094,692,8.885,907,10.694,961,9.592,1622,14.583]],["keywords/378",[]],["title/379",[284,480.028,301,308.418,537,443.523]],["content/379",[6,1.657,25,1.138,182,3.415,224,5.189,284,6.071,330,5.231,334,4.935,396,5.592,427,6.291,466,8.928,538,8.507,544,6.385,545,4.74,752,14.977,812,12.206,858,8.62,893,7.196,910,6.886,957,10.398,1031,12.458,1068,10.173,1077,9.687,1158,10.518,1175,10.777,1176,9.777,1617,8.928,1856,12.458,1926,11.976,2151,17.115,2152,13.055]],["keywords/379",[]],["title/380",[107,332.397,181,360.573,297,383.895]],["content/380",[3,7.275,6,1.531,25,1.052,46,5.119,70,3.857,107,3.885,176,5.772,181,5.509,192,5.317,203,8.02,220,5.591,230,4.996,264,4.585,290,12.063,304,7.966,310,7.159,314,7.334,330,3.802,423,9.72,425,5.689,438,5.923,490,6.284,553,7.084,562,9.121,564,7.315,613,5.571,622,6.418,674,5.793,704,8.312,705,9.211,706,8.075,707,10.693,732,5.533,737,5.317,1190,12.397,1417,8.645,2065,12.786,2153,15.815,2154,14.624]],["keywords/380",[]],["title/381",[6,131.019,184,293.46,639,644.087]],["content/381",[25,1.457,45,4.055,97,5.019,152,2.846,155,4.261,184,5.089,196,4.449,202,4.398,217,5.107,220,6.834,227,7.351,236,9.828,237,9.375,239,9.872,240,3.192,241,5.314,242,7.881,243,6.576,248,7.751,255,5.826,293,4.002,297,4.055,308,4.627,319,6.37,385,5.236,394,7.249,421,7.404,517,7.751,551,6.505,586,10.641,613,5.036,638,8.245,639,6.804,660,8.019,671,11.981,736,5.354,952,8.091,987,9.243,996,6.471,1078,11.558,1542,12.51,1662,11.206,1961,8.498,2075,10.904,2155,14.296,2156,13.219,2157,14.296,2158,14.296]],["keywords/381",[]],["title/382",[271,480.028,765,443.523,2023,659.894]],["content/382",[6,2.358,25,1.044,33,2.03,152,3.125,182,3.132,217,5.607,271,5.568,304,7.906,330,3.774,334,4.526,435,7.181,551,7.143,590,6.692,614,6.789,622,6.37,664,7.853,695,7.751,732,5.492,737,5.277,765,7.522,860,9.536,865,10.293,921,8.129,937,6.855,954,8.249,985,7.301,1039,11.973,1147,8.652,1224,9.141,1547,10.447,1606,10.791,1799,13.736,1993,10.613,2057,10.791,2159,15.696,2160,13.736,2161,11.973]],["keywords/382",[]],["title/383",[45,383.895,989,965.11,1305,946.964]],["content/383",[1,6.2,4,1.442,6,1.347,25,0.925,37,2.336,44,5.285,51,3.33,52,3.834,58,5.096,63,3.051,99,4.902,100,5.153,111,5.25,121,8.36,151,4.293,182,3.787,202,4.28,241,5.172,246,4.396,255,5.671,265,5.005,273,3.051,307,8.024,312,12.866,334,4.012,385,5.096,393,7.483,396,4.546,398,5.211,399,7.606,400,6.265,462,5.528,480,6.828,563,5.96,622,5.646,631,11.054,638,8.024,639,6.622,668,7.206,799,9.566,876,8.654,932,6.332,969,9.408,1047,10.128,1327,10.129,1329,7.056,1378,8.654,1389,11.249,1551,11.249,1580,10.356,2162,13.914,2163,13.914,2164,13.914,2165,9.408]],["keywords/383",[]],["title/384",[195,716.592,379,619.122,394,686.235]],["content/384",[1,6.79,3,7.009,6,1.475,25,1.013,51,3.646,52,4.198,58,5.581,69,4.756,100,5.643,181,4.06,182,3.04,195,10.684,196,4.742,198,4.07,199,7.295,200,5.685,206,5.424,240,3.402,264,5.849,265,5.481,297,4.322,321,9.364,466,7.949,524,9.992,562,8.787,588,11.622,668,7.891,715,11.341,738,9.852,743,10.662,937,6.655,952,8.624,954,8.008,962,11.341,983,9.057,985,7.087,1034,12.319,1043,11.091,1056,9.595,2094,11.341,2141,9.719,2166,15.237,2167,15.237,2168,15.237]],["keywords/384",[]],["title/385",[63,343.83,514,562.039]],["content/385",[6,1.531,25,1.375,37,2.655,60,5.9,63,3.468,70,3.857,121,9.503,149,6.56,155,4.714,166,8.575,182,3.155,192,5.317,284,5.61,301,3.604,498,9.836,512,6.474,542,10.088,663,8.718,693,7.084,701,9.836,785,4.823,892,9.72,893,6.65,910,6.363,914,7.44,921,8.191,936,7.861,937,6.907,950,10.527,963,6.108,983,9.401,1007,8.312,1047,11.512,1147,8.718,1207,9.121,1329,8.02,1378,9.836,1427,8.439,1605,13.254,2169,13.84]],["keywords/385",[]],["title/386",[253,1372.068,705,913.126]],["content/386",[3,7.445,4,1.677,6,1.567,20,7.249,25,1.076,67,6.512,70,3.947,152,3.222,155,4.824,182,3.229,184,3.51,202,4.978,203,8.207,225,5.801,230,5.113,252,6.276,255,6.596,278,4.356,293,4.53,297,4.591,311,6.933,366,7.795,437,6.352,447,10.323,512,6.625,527,8.322,541,7.892,545,4.483,550,9.16,693,7.249,736,6.061,739,10.464,996,7.325,1007,8.505,1116,8.044,1317,11.325,1729,12.345,2170,14.163]],["keywords/386",[]],["title/387",[196,421.191,202,416.281,938,1060.767]],["content/387",[7,4.937,25,1.375,45,4.487,106,10.873,110,6.976,152,3.149,186,4.675,196,6.435,198,4.225,234,7.315,297,4.487,308,5.119,401,7.084,447,10.088,466,8.25,529,8.951,536,5.423,549,8.312,560,8.375,614,6.84,869,10.371,884,9.211,958,7.315,986,10.873,996,7.159,1014,13.84,1077,8.951,1196,10.371,1233,13.254,1237,11.512,1305,11.067,1420,14.624,2094,11.772,2171,15.815,2172,10.693,2173,15.815,2174,15.815,2175,11.772,2176,12.397]],["keywords/387",[]],["title/388",[191,471.331,879,610.406]],["content/388",[25,1.552,33,2.477,37,2.368,44,3.927,68,7.411,70,3.439,85,6.793,97,6.725,105,7.646,106,9.695,107,3.464,181,3.758,182,2.814,185,4.627,190,6.597,193,5.65,195,7.468,198,3.767,222,3.845,264,4.088,278,3.796,284,5.002,301,3.214,334,4.066,437,5.535,474,8.133,481,7.774,531,7.709,537,4.622,541,6.877,565,7.982,639,6.712,648,8.88,861,6.559,883,7.646,886,5.037,888,7.357,952,7.982,1015,10.757,1030,6.92,1056,8.88,1065,8.296,1151,9.118,1153,12.341,1168,9.248,1418,11.054,1643,11.402,1697,7.982,2177,14.102,2178,9.868,2179,10.757]],["keywords/388",[]],["title/389",[7,299.457,25,63.794,33,124.043,185,231.733,1501,548.009,2180,887.06]],["content/389",[]],["keywords/389",[]],["title/390",[33,202.738,1501,895.677]],["content/390",[1,3.429,4,1.268,5,1.661,6,1.834,9,3.521,19,2.307,25,0.512,33,2.924,45,2.183,46,2.491,65,2.522,67,3.096,69,2.402,86,3.109,97,4.296,98,3.296,106,5.29,113,3.579,114,5.507,151,2.374,152,2.436,161,2.431,182,1.535,189,10.3,192,2.587,198,2.056,246,2.431,273,4.424,278,2.071,293,2.154,310,3.483,378,4.623,381,3.948,395,3.235,396,2.514,432,4.044,503,10.031,514,2.758,536,2.638,539,3.579,543,2.85,551,3.502,554,3.684,557,3.057,559,7.805,573,5.29,580,3.54,630,4.498,631,8.871,639,3.662,642,3.447,715,5.728,716,2.778,737,2.587,745,4.206,856,4.975,857,3.957,907,4.729,936,3.825,942,7.352,950,5.122,954,8.005,963,2.972,991,4.242,1082,5.122,1111,5.29,1147,4.242,1171,5.29,1183,6.745,1196,5.046,1207,4.438,1219,3.707,1294,6.449,1327,8.128,1356,7.805,1365,5.601,1479,4.316,1501,13.753,1589,5.728,1663,4.278,1749,5.87,1822,9.107,1823,6.032,1989,5.728,2025,6.221,2075,5.87,2104,6.449,2142,7.116,2165,10.299,2181,6.734,2182,10.708,2183,5.601,2184,6.449,2185,7.695,2186,7.116,2187,7.116,2188,7.116,2189,7.116,2190,7.116,2191,12.236,2192,6.221,2193,7.695,2194,6.221,2195,7.695,2196,7.116,2197,6.032,2198,7.116,2199,7.695,2200,7.695,2201,7.695,2202,7.695,2203,5.046,2204,7.695,2205,7.695,2206,5.728,2207,7.116,2208,7.695,2209,7.116,2210,7.116]],["keywords/390",[]],["title/391",[51,284.834,185,287.538,503,630.307,1631,673.714]],["content/391",[4,1.092,5,2.275,6,1.02,12,3.674,22,2.765,23,3.78,32,3.921,33,1.362,34,3.566,40,4.022,44,2.934,51,2.521,65,3.453,68,5.537,97,3.699,105,5.712,107,3.826,124,3.946,151,5.716,161,4.92,167,4.579,176,3.845,185,3.762,198,2.814,223,5.418,271,3.737,330,2.533,373,4.017,389,5.418,394,5.343,396,3.442,424,6.812,492,7.124,496,4.257,503,11.567,631,9.071,660,5.91,688,6.401,697,6.721,716,3.804,811,7.842,857,8.009,888,5.496,954,11.48,1183,5.808,1219,5.075,1479,5.91,1501,8.897,1540,6.553,1649,8.259,1746,8.259,1989,7.842,2180,9.743,2183,11.337,2184,13.053,2196,9.743,2211,9.22,2212,10.536,2213,14.402,2214,13.63,2215,13.053,2216,6.812,2217,10.536,2218,15.575,2219,10.536,2220,9.22,2221,10.536,2222,8.518,2223,10.536,2224,10.536,2225,10.536,2226,8.259,2227,9.22]],["keywords/391",[]],["title/392",[5,292.154,25,89.993,503,716.592]],["content/392",[4,1.306,5,3.69,6,0.947,7,1.012,9,1.483,12,5.137,14,1.218,19,1.753,20,1.452,22,2.566,23,4.157,24,2.018,25,0.65,32,4.083,33,1.033,34,4.417,35,0.929,36,1.691,37,1.341,44,2.224,45,0.919,46,1.049,49,1.525,51,1.912,63,1.752,65,1.062,69,1.012,107,0.796,108,1.691,111,1.223,113,1.508,121,1.947,151,1,152,3.108,154,1.191,155,1.743,158,2.041,161,1.024,162,2.824,164,4.626,167,4.25,171,1.527,173,1.927,185,0.783,190,1.516,191,2.402,196,1.009,198,1.562,201,1.252,222,0.884,224,3.426,230,1.024,246,3.089,264,1.695,271,2.074,275,2.66,281,1.257,289,3.716,291,1.552,293,0.907,301,0.739,308,1.049,311,1.388,334,2.303,355,1.277,362,2.191,364,1.757,371,1.691,373,3.251,381,1.046,396,2.61,405,1.667,408,1.072,414,1.267,419,3.553,425,1.166,503,11.512,512,1.327,513,5.813,531,3.196,539,1.508,543,1.2,551,1.475,563,1.388,572,2.089,590,1.382,596,2.268,630,5.05,631,5.695,639,1.543,668,1.679,695,1.601,711,1.375,716,2.111,718,1.315,737,1.966,758,4.887,765,3.205,770,2.888,771,7.102,772,2.426,773,4.453,774,3.196,776,2.783,777,1.444,780,3.096,806,3.848,857,1.667,886,1.158,888,4.168,907,1.992,910,1.304,936,1.611,942,1.947,954,1.703,958,2.705,963,1.252,994,1.743,1028,4.607,1077,5.535,1125,6.843,1141,3.835,1157,1.927,1164,1.992,1173,1.927,1183,1.787,1191,2.068,1193,2.472,1219,1.561,1220,1.852,1242,2.541,1309,4.601,1313,1.927,1320,1.743,1339,2.619,1354,3.553,1356,8.764,1359,2.472,1399,2.541,1403,2.312,1479,3.28,1501,5.587,1526,4.367,1614,1.655,1617,1.691,1631,5.535,1663,1.802,1713,6.126,1726,1.743,1783,2.228,1852,2.716,2037,2.997,2072,2.836,2079,1.852,2183,4.257,2203,3.835,2216,8.15,2228,4.46,2229,3.241,2230,3.241,2231,3.241,2232,3.241,2233,3.241,2234,3.241,2235,3.241,2236,2.716,2237,7.989,2238,3.241,2239,2.359,2240,2.997,2241,2.472,2242,2.541,2243,2.716,2244,5.407,2245,4.46,2246,2.997,2247,3.241,2248,3.241,2249,2.541,2250,4.584,2251,2.997,2252,3.553,2253,6.501,2254,4.522,2255,2.312,2256,3.241,2257,3.241,2258,3.241,2259,2.836,2260,3.241,2261,3.241,2262,3.241,2263,3.241,2264,2.997,2265,3.241,2266,2.997,2267,5.847,2268,5.847,2269,3.241,2270,3.241,2271,5.847,2272,3.241,2273,3.241,2274,3.241,2275,3.241,2276,3.241,2277,3.241,2278,3.241,2279,3.241,2280,5.847,2281,3.892,2282,3.241,2283,3.241,2284,2.716,2285,5.847,2286,2.62,2287,2.997]],["keywords/392",[]],["title/393",[86,480.967,1501,679.981,2288,804.809,2289,885.975]],["content/393",[4,1.103,5,2.298,16,5.473,22,2.793,23,3.135,25,1.044,32,2.252,33,1.376,63,2.334,65,3.488,69,3.323,86,7.532,92,4.538,105,5.771,106,7.317,122,4.672,151,3.284,161,3.362,182,2.124,186,3.146,189,9.517,191,3.2,204,8.82,219,5.833,222,2.902,232,6.327,264,3.086,273,3.441,293,2.979,341,6.327,398,3.986,407,5.19,421,5.512,426,6.62,503,9.87,514,3.815,539,4.951,543,3.942,551,4.843,554,5.096,562,6.138,592,6.467,630,3.913,642,4.767,648,6.702,716,6.729,736,3.986,901,8.373,936,7.8,942,6.395,982,5.68,1033,7.748,1074,5.818,1110,6.08,1219,5.127,1327,5.68,1501,13.11,1697,6.024,1705,8.605,1981,7.084,2288,7.197,2289,16.327,2290,18.639,2291,10.644,2292,10.644,2293,10.644,2294,10.644,2295,9.314,2296,9.314,2297,10.644,2298,10.644,2299,10.644,2300,10.644]],["keywords/393",[]],["title/394",[33,124.043,49,451.293,1327,511.905,1501,548.009,1651,553.247,2060,731.722]],["content/394",[5,2.789,12,4.505,19,2.471,20,3.692,22,3.39,23,3.674,32,4.144,34,2.958,46,2.668,49,3.878,68,6.789,70,2.01,86,3.331,107,3.173,114,4.631,151,2.543,152,4.324,155,2.457,156,4.365,161,2.604,162,2.914,164,2.589,173,4.9,186,2.436,189,9.208,191,2.478,193,3.303,219,3.064,234,3.813,273,3.494,301,1.879,341,9.47,371,4.3,373,3.332,388,4.624,398,3.087,405,6.643,481,4.544,503,11.001,520,5.847,533,4.666,543,3.053,592,7.849,597,6.461,631,7.524,642,5.787,673,4.3,689,7.062,754,6.461,764,4.506,806,3.971,861,3.834,888,4.3,898,5.667,901,3.147,902,4.709,911,5.258,926,4.209,982,4.399,1007,6.789,1058,4.269,1164,5.066,1219,3.971,1327,4.399,1333,6.136,1391,6.664,1399,6.461,1501,4.709,1602,5.008,1606,5.667,1737,7.214,1931,5.191,2060,6.288,2063,6.908,2126,5.487,2250,6.461,2288,8.735,2289,11.858,2295,7.214,2296,7.214,2301,5.258,2302,7.214,2303,4.433,2304,6,2305,8.243,2306,8.243,2307,8.243,2308,5.191,2309,8.243,2310,8.243,2311,7.622,2312,8.243,2313,8.243,2314,8.243,2315,8.243,2316,8.243,2317,8.243,2318,8.243,2319,8.243,2320,8.243,2321,10.032,2322,7.214,2323,7.622,2324,8.243,2325,7.622,2326,8.243,2327,8.243,2328,8.243,2329,7.622]],["keywords/394",[]],["title/395",[60,444.09,62,509.904,63,261.029,503,630.307]],["content/395",[5,3.173,6,1.423,33,1.901,37,2.468,44,4.093,60,8.289,61,7.906,121,8.832,152,3.922,186,4.345,188,8.245,222,5.371,246,4.644,273,4.32,322,5.404,341,8.738,381,4.743,396,6.436,409,9.376,428,7.906,440,6.799,503,10.431,520,6.653,557,5.84,558,11.522,693,6.584,695,7.259,714,9.784,736,5.505,737,4.942,894,5.633,926,7.506,931,8.738,963,5.677,990,11.522,991,8.103,1219,7.08,1220,8.397,1235,11.884,1501,8.397,2330,11.884,2331,11.884,2332,14.699,2333,14.699]],["keywords/395",[]],["title/396",[60,504.882,901,516.562,1501,773.065]],["content/396",[4,1.758,5,3.203,6,1.148,7,2.308,16,6.095,19,2.217,20,3.312,33,0.956,46,2.394,52,2.037,54,3.214,60,8.327,63,2.599,65,2.424,69,2.308,76,4.396,85,3.562,88,4.064,94,7.372,97,4.161,107,1.816,154,2.718,171,1.931,182,1.475,185,3.583,189,8.664,201,2.856,219,2.749,222,2.016,227,3.802,273,1.622,293,2.07,310,3.347,314,2.623,349,4.781,375,6.183,391,3.724,396,3.873,398,4.439,400,5.337,405,3.802,466,3.858,472,12.982,482,6.479,503,8.985,512,4.852,514,2.651,519,3.977,527,6.095,531,4.042,551,3.365,554,3.54,557,4.71,627,5.796,656,4.396,693,3.312,695,3.652,716,2.67,718,3.001,761,5.383,771,2.963,785,3.615,792,4.265,863,6.836,894,4.542,895,6.197,901,4.525,907,4.544,943,3.886,944,4.148,954,3.886,963,5.73,1030,5.816,1164,4.544,1166,4.849,1169,3.383,1207,4.265,1219,5.709,1320,7.979,1327,7.916,1341,15.015,1356,9.463,1378,4.599,1435,5.504,1501,9.693,1558,4.544,1571,5,1610,7.372,1646,4.922,1688,6.838,1737,10.373,1975,10.373,1989,5.504,2007,6.471,2181,6.471,2192,5.978,2209,10.96,2210,10.96,2288,5,2289,14.752,2330,5.978,2334,11.628,2335,11.853,2336,5.978,2337,7.395,2338,7.395,2339,6.838,2340,7.395,2341,7.395,2342,11.853,2343,7.395,2344,5.978,2345,7.395,2346,7.395,2347,7.395,2348,7.395,2349,7.395,2350,7.395,2351,6.838]],["keywords/396",[]],["title/397",[5,256.976,25,79.157,60,444.09,503,630.307]],["content/397",[5,3.057,19,2.07,22,1.812,23,4.201,25,0.459,32,4.284,33,0.893,34,3.733,60,8.134,88,2.367,152,1.375,155,3.343,162,2.441,164,4.447,167,3.001,171,1.803,201,2.667,219,2.566,252,2.677,291,3.306,298,3.388,341,4.104,503,10.173,514,2.475,557,5.627,580,3.176,630,2.538,716,2.493,737,6.029,758,2.986,765,4.642,771,2.766,773,5.581,774,3.774,775,3.306,806,3.326,829,10.37,894,2.646,901,2.636,1033,5.026,1111,4.747,1114,3.525,1140,5.139,1147,3.806,1148,4.831,1219,3.326,1276,3.656,1280,11.101,1309,5.276,1320,3.713,1341,9.067,1501,6.407,1526,6.131,1711,4.528,1970,4.924,2118,4.668,2216,4.464,2236,5.786,2244,6.384,2246,6.384,2249,5.412,2288,9.575,2289,12.136,2295,6.042,2296,6.042,2330,5.582,2352,6.042,2353,4.924,2354,5.786,2355,6.904,2356,5.582,2357,19.21,2358,5.582,2359,5.582,2360,13.182,2361,5.786,2362,5.582,2363,5.786,2364,5.786,2365,11.215,2366,6.384,2367,6.384,2368,6.384,2369,14.162,2370,14.162,2371,14.162,2372,14.162,2373,14.162,2374,6.042,2375,6.904,2376,5.139,2377,5.026,2378,6.042,2379,6.904,2380,6.904,2381,5.026,2382,6.384,2383,9.399,2384,6.904,2385,6.904,2386,6.384,2387,6.904,2388,6.904]],["keywords/397",[]],["title/398",[33,137.374,60,396.364,936,528.056,1327,566.919,1501,606.904]],["content/398",[4,0.486,5,1.752,6,0.455,9,2.148,23,4.222,32,4.655,33,0.607,34,3.299,37,0.788,40,1.792,49,2.209,60,6.67,61,2.525,63,2.35,65,1.539,67,1.889,69,1.466,79,2.486,103,2.092,107,1.993,108,2.449,122,2.061,134,2.657,151,2.503,155,1.399,161,4.031,162,4.51,164,5.876,167,3.526,171,2.119,173,2.791,185,1.134,189,4.143,193,1.881,201,1.813,204,2.221,219,1.745,222,1.28,228,2.05,246,1.483,273,2.798,291,2.248,298,5.258,341,9.374,389,2.414,396,1.534,398,1.758,405,2.414,407,2.289,452,2.172,458,2.184,490,1.865,503,9.908,514,1.683,519,7.75,520,3.672,543,5.336,557,3.224,590,2.002,600,4.364,660,2.633,674,3.924,694,5.326,703,3.997,716,1.695,758,2.031,775,2.248,804,5.192,805,7.026,806,5.161,818,6.039,894,1.799,901,5.5,926,2.397,937,2.05,950,3.125,963,1.813,1219,5.161,1224,2.734,1327,7.689,1501,7.289,1526,4.435,1631,2.657,1651,2.708,1931,2.956,1961,4.823,1969,3.68,1993,3.174,2060,3.581,2079,2.682,2161,3.581,2288,3.174,2289,11.737,2311,7.503,2352,9.376,2383,13.215,2389,3.935,2390,4.108,2391,4.695,2392,11.799,2393,8.114,2394,10.714,2395,8.114,2396,6.8,2397,10.714,2398,8.114,2399,12.759,2400,4.695,2401,4.695,2402,10.714,2403,12.759,2404,4.341,2405,4.695,2406,10.714,2407,4.695,2408,8.114,2409,8.114,2410,8.114,2411,8.114,2412,8.114,2413,8.114,2414,14.409,2415,11.799,2416,4.695,2417,4.695,2418,4.341,2419,4.695,2420,4.341,2421,3.494,2422,3.796,2423,4.695,2424,3.796,2425,4.695,2426,4.108]],["keywords/398",[]],["title/399",[63,343.83,2427,1195.939]],["content/399",[4,1.369,12,4.605,20,5.916,30,6.214,33,1.708,63,4.978,65,4.329,70,4.466,97,4.637,107,4.498,152,2.63,185,4.424,186,3.904,187,8.117,206,4.702,222,4.994,240,4.089,264,5.309,373,3.406,375,6.89,419,8.025,462,5.248,474,7.617,512,5.407,569,6.481,663,11.588,785,4.028,864,8.662,888,6.89,902,7.545,912,6.89,1007,6.942,1081,8.117,1109,6.84,1164,8.117,1207,10.562,1238,9.243,1595,8.215,1634,13.061,1872,7.104,1977,12.214,2045,11.069,2102,10.679,2178,9.243,2284,15.348,2427,10.075,2428,15.348,2429,9.42,2430,11.069,2431,10.075,2432,13.208,2433,13.208]],["keywords/399",[]],["title/400",[63,296.762,273,296.762,901,516.562]],["content/400",[4,1.73,23,2.983,25,0.771,33,1.499,44,4.65,52,3.194,60,8.469,61,6.234,62,4.965,63,3.662,67,4.664,86,6.747,103,5.165,149,4.808,189,8.526,192,3.897,206,4.126,240,2.588,272,4.942,273,4.978,278,3.12,297,3.288,301,3.806,341,11.635,381,3.74,402,6.685,420,7.042,482,6.336,519,8.981,520,5.247,543,6.184,551,5.275,674,4.245,699,7.494,704,6.092,713,7.494,785,3.535,792,6.685,806,5.583,888,6.047,901,7.472,918,6.561,963,4.477,1030,8.194,1081,7.124,1134,6.561,1501,6.622,1602,10.145,2060,8.842,2321,7.299,2323,15.441,2383,9.714,2404,10.719,2434,11.591,2435,11.591,2436,10.144,2437,11.591,2438,11.591,2439,16.699,2440,11.591,2441,10.719,2442,11.591,2443,9.086]],["keywords/400",[]],["title/401",[63,343.83,954,824]],["content/401",[4,1.024,12,3.447,35,2.835,63,3.257,67,3.978,114,5.767,125,3.912,188,5.545,219,3.675,222,2.696,301,4.066,322,3.634,334,2.85,424,6.392,503,11.827,527,5.083,531,5.404,540,7.358,554,4.733,693,7.991,696,6.148,736,3.702,888,5.157,898,10.211,902,5.648,918,5.596,954,12.526,958,8.252,1000,5.317,1110,5.648,1134,5.596,1183,5.45,1501,8.485,1511,7.196,1713,5.36,2114,6.483,2184,8.285,2211,8.651,2214,8.651,2215,17.82,2222,7.993,2288,6.684,2325,9.142,2421,7.358,2427,7.541,2444,6.006,2445,8.651,2446,9.886,2447,9.886,2448,14.853,2449,9.142,2450,9.886,2451,9.886,2452,9.886,2453,9.886,2454,9.886,2455,9.886,2456,19.836,2457,9.886,2458,17.841,2459,7.993,2460,9.886,2461,17.841,2462,9.886,2463,9.886,2464,9.886,2465,9.886,2466,9.886,2467,8.285,2468,14.853,2469,9.886,2470,17.841,2471,14.853,2472,9.886,2473,9.886,2474,9.886,2475,9.886,2476,9.886,2477,9.886,2478,9.886]],["keywords/401",[]],["title/402",[63,296.762,514,485.1,866,796.106]],["content/402",[4,2.043,5,2.109,6,0.946,9,6.735,12,2.036,16,3.003,19,3.775,25,0.65,33,0.755,35,1.675,37,2.75,45,3.572,49,2.747,52,1.609,60,4.698,62,4.185,63,4.324,65,4.127,69,1.823,86,5.088,92,2.49,103,7.3,105,3.166,106,4.015,107,1.434,118,4.894,136,5.634,152,2.507,171,2.551,185,1.411,186,2.887,187,3.589,201,2.256,206,2.079,222,3.434,246,1.845,256,2.747,273,3.884,341,3.471,378,3.509,382,3.003,391,2.941,397,3.725,398,3.658,407,2.848,408,3.232,439,4.087,442,7.111,460,4.454,493,3.632,503,10.85,512,8.387,514,5.277,516,3.003,520,6.663,540,4.347,543,6.066,557,6.509,568,3.436,577,3.632,643,4.165,673,3.046,674,3.578,694,2.903,703,2.179,718,2.37,775,2.796,785,2.979,857,3.003,874,2.589,890,4.165,894,3.743,912,3.046,921,3.024,926,2.982,936,2.903,942,3.509,944,5.479,954,9.883,955,10.216,1029,7.111,1086,3.776,1119,3.368,1169,2.672,1219,6.066,1254,6.605,1300,2.686,1314,4.165,1320,3.141,1325,3.776,1327,10.035,1398,3.677,1501,9.358,1526,3.192,1571,6.605,1651,3.368,1663,3.247,1697,3.305,1713,3.166,1765,3.725,1825,10.181,1843,3.725,1869,4.347,2161,4.454,2181,5.11,2183,4.251,2184,4.894,2187,9.033,2188,9.033,2189,5.4,2190,5.4,2211,5.11,2213,5.4,2214,5.11,2215,4.894,2226,4.578,2253,2.763,2288,6.605,2289,7.271,2303,3.141,2321,3.677,2352,12.882,2392,5.4,2415,5.4,2418,5.4,2426,5.11,2479,5.84,2480,5.4,2481,5.84,2482,4.894,2483,4.578,2484,5.84,2485,5.84,2486,5.4,2487,9.769,2488,4.251,2489,7.111,2490,5.84,2491,9.769,2492,3.548]],["keywords/402",[]],["title/403",[6,115.243,330,286.181,435,544.573,2493,1190.303]],["content/403",[4,1.086,5,3.35,6,1.502,23,4.211,25,1.032,32,3.284,34,3.553,45,2.974,60,5.789,70,2.557,125,4.148,161,3.312,162,5.485,164,3.292,174,6.231,176,3.826,192,3.524,198,2.8,227,5.39,249,5.933,264,3.039,271,6.553,330,3.731,366,5.049,373,2.704,435,9.342,503,10.813,536,3.594,545,5.117,557,4.165,590,4.47,600,5.638,673,8.095,745,5.73,765,7.144,886,3.745,954,5.509,1111,7.207,1204,5.39,1280,8.217,1300,8.498,1309,7.3,1501,5.989,2062,6.978,2227,9.174,2358,8.475,2359,8.475,2362,8.475,2381,7.631,2382,9.694,2383,13.004,2386,9.694,2494,15.517,2495,6.601,2496,7.631,2497,10.483,2498,10.483,2499,10.483]],["keywords/403",[]],["title/404",[33,113.071,107,214.787,185,211.234,329,389.66,331,565.374,512,357.937,1501,499.534]],["content/404",[16,6.027,19,3.514,33,1.516,46,3.794,51,2.805,65,5.517,69,3.659,71,9.824,86,4.736,103,7.501,105,6.355,188,6.575,192,3.941,196,3.648,198,3.131,215,6.16,222,3.196,246,3.703,255,4.777,273,5,288,5.789,297,4.775,311,5.021,330,2.818,331,7.579,368,10.6,382,6.027,387,6.827,407,5.716,452,5.422,482,6.408,486,6.968,503,8.914,543,4.341,582,6.575,592,10.227,631,6.827,645,6.896,672,7.29,736,4.39,866,9.903,869,7.687,888,6.115,912,6.115,940,7.121,954,11.314,993,5.646,1000,6.304,1086,7.579,1109,6.071,1152,7.802,1268,6.071,1435,8.725,1501,6.696,1706,7.687,1722,8.533,1822,8.725,2222,13.61,2321,7.381,2500,18.214,2501,11.722,2502,5.826,2503,11.722,2504,16.833,2505,16.833,2506,11.722,2507,9.477,2508,9.477]],["keywords/404",[]],["title/405",[191,471.331,879,610.406]],["content/405",[4,1.967,23,2.894,25,1.667,125,7.513,366,9.145,398,7.11,523,10.212,596,13.286,885,13.821,1435,14.132,2509,18.986,2510,16.615,2511,18.986,2512,15.912,2513,18.986,2514,16.615,2515,14.132]],["keywords/405",[]],["title/406",[107,260.952,185,256.637,331,686.894,703,396.364,1228,757.671]],["content/406",[]],["keywords/406",[]],["title/407",[107,332.397,185,326.9,1237,985.073]],["content/407",[5,2.176,6,2.178,18,3.366,33,1.303,46,4.877,69,3.146,70,5.228,107,4.919,113,4.687,136,5.812,155,3.004,156,5.336,161,3.184,171,2.631,176,6.586,181,4.015,185,5.434,186,2.979,205,2.618,222,4.109,230,3.184,240,3.364,264,4.368,265,3.625,272,4.297,279,5.99,298,4.945,314,5.345,315,4.908,318,8.445,321,6.193,392,7.009,438,3.774,455,4.825,512,4.125,542,6.428,548,6.346,556,3.6,562,5.812,565,8.529,652,4.825,674,3.691,676,7.336,703,3.76,704,5.296,716,3.638,732,3.526,735,4.537,740,4.687,785,3.073,893,4.237,910,4.055,923,6.608,932,4.586,943,5.296,971,8.957,985,4.687,1022,11.811,1023,11.215,1067,6.814,1109,5.219,1142,7.336,1228,12.871,1233,8.445,1311,8.445,1339,4.514,1417,5.509,1419,7.687,1564,6.428,1595,6.267,1604,6.516,1719,7.899,1860,7.687,1961,5.99,2126,6.708,2179,7.687,2431,7.687,2516,7.501,2517,8.819,2518,10.077,2519,10.077,2520,9.319,2521,9.319]],["keywords/407",[]],["title/408",[107,292.374,185,287.538,1541,933.04,2522,1190.303]],["content/408",[0,1.65,2,1.114,4,1.12,5,1.637,6,1.605,7,2.367,9,1.392,10,3,19,0.912,25,0.202,33,1.205,37,2.664,46,0.985,51,4.257,52,2.978,53,1.285,58,3.414,60,1.135,62,1.303,63,3.115,69,1.724,70,1.849,82,3.864,84,1.624,86,1.229,87,1.919,88,1.043,97,1.068,98,5.18,103,1.356,107,4.37,109,1.967,114,1.605,121,3.318,122,1.335,124,1.139,147,1.941,149,1.262,152,1.509,154,2.787,162,3.295,175,1.892,176,2.015,181,1.471,182,0.607,185,4.298,186,1.632,191,1.66,192,3.133,196,0.947,199,2.644,200,5.3,201,2.133,202,0.936,204,1.44,205,4.123,206,1.966,217,1.087,222,2.067,227,1.564,228,1.329,230,0.961,240,1.233,246,2.944,248,2.994,252,1.18,256,2.598,264,3.133,265,1.986,269,2.55,271,1.079,272,1.297,273,1.211,275,1.013,278,1.486,287,3.768,288,1.502,289,1.415,291,1.457,293,1.546,297,0.863,301,0.693,304,2.781,308,3.498,315,0.991,322,1.118,329,2.461,331,1.967,347,1.4,356,1.415,359,2.215,371,3.955,373,1.955,381,0.982,385,2.777,387,1.772,389,3.899,392,1.415,393,1.636,395,3.188,396,3.045,398,1.139,402,1.755,404,2.321,405,2.839,407,1.484,413,2.86,416,2.025,424,3.57,427,1.118,438,2.068,442,4.02,443,6.635,447,1.941,452,2.554,465,4.11,467,1.075,482,1.663,484,3.097,489,2.265,490,1.209,491,2.215,492,5.126,493,1.892,496,3.766,498,3.434,510,1.543,512,1.245,514,1.091,524,3.621,531,1.663,537,0.997,539,2.568,541,1.484,543,1.127,551,1.384,556,1.973,561,2.598,563,2.366,579,6.026,589,2.129,607,1.65,613,1.072,636,1.663,638,1.755,645,1.79,659,1.4,660,3.097,672,5.796,673,1.587,674,1.114,675,4.335,685,4.02,692,1.553,693,3.396,694,1.512,695,2.727,696,1.892,699,1.967,703,5.627,704,1.599,708,4.774,711,2.343,716,1.994,717,2.644,718,1.235,719,5.212,727,2.129,740,1.415,761,2.215,775,1.457,785,0.928,792,1.755,827,1.87,855,1.808,861,1.415,864,4.972,870,4.329,873,1.828,874,4.791,886,1.087,887,1.772,888,1.587,892,1.87,893,2.322,912,2.881,918,1.722,920,1.611,921,1.576,931,1.808,932,1.384,940,1.848,941,2.265,943,1.599,944,1.707,958,1.407,982,1.624,1000,1.636,1006,1.848,1011,6.302,1012,6.407,1027,2.55,1030,1.493,1049,1.87,1057,2.46,1066,1.624,1119,1.755,1157,1.808,1160,1.543,1166,1.995,1167,2.092,1183,1.677,1193,2.321,1220,1.738,1227,1.995,1315,3.477,1320,2.97,1322,2.46,1323,2.385,1327,4.046,1329,2.8,1339,2.473,1384,2.092,1411,2.662,1413,2.55,1422,2.129,1427,4.046,1501,1.738,1526,1.663,1562,2.215,1602,3.355,1605,2.55,1608,4.329,1614,1.553,1617,1.587,1630,2.662,1703,4.02,1706,1.995,1707,3.938,1708,2.092,1713,5.053,1716,2.17,1721,2.55,1722,2.215,1726,1.636,1741,2.55,1744,2.813,1755,4.212,1766,2.025,1823,2.385,1843,1.941,1869,2.265,1933,2.385,1935,2.385,1969,2.385,2005,2.813,2022,2.55,2070,2.46,2118,2.057,2125,2.46,2126,2.025,2146,4.02,2172,3.734,2243,2.55,2253,2.613,2254,1.722,2281,2.025,2286,2.46,2321,1.916,2329,5.106,2331,2.46,2431,2.321,2444,1.848,2467,2.55,2483,2.385,2489,4.02,2500,2.813,2502,1.512,2523,3.042,2524,2.662,2525,4.832,2526,3.042,2527,2.813,2528,3.042,2529,5.522,2530,2.813,2531,4.832,2532,4.628,2533,2.662,2534,4.628,2535,2.813,2536,3.042,2537,2.813,2538,5.522,2539,2.55,2540,3.042,2541,2.321,2542,2.215,2543,3.042,2544,2.662,2545,3.042,2546,2.662,2547,3.042,2548,2.813,2549,3.042,2550,5.106,2551,2.813,2552,2.46,2553,3.042,2554,2.813,2555,2.662,2556,3.042,2557,3.042,2558,3.042,2559,3.042,2560,3.621,2561,3.042,2562,3.042,2563,3.042,2564,3.042,2565,3.042,2566,3.042,2567,4.628,2568,2.129,2569,3.042,2570,3.042,2571,3.042,2572,2.46,2573,3.042,2574,2.662,2575,3.042,2576,3.042,2577,2.662,2578,3.042,2579,3.042]],["keywords/408",[]],["title/409",[107,292.374,185,287.538,264,345.078,2301,759.279]],["content/409",[4,1.773,70,4.174,107,4.204,185,4.134,186,5.059,196,5.327,202,5.265,222,5.932,264,6.307,279,10.173,287,8.507,329,7.627,334,4.935,727,11.976,886,6.114,894,6.558,963,6.61,984,10.518,994,9.205,1192,10.644,1237,12.458,2301,10.917,2580,17.115,2581,17.115,2582,17.115,2583,13.416,2584,17.115,2585,17.115,2586,14.343]],["keywords/409",[]],["title/410",[70,330.023,401,606.144,893,568.994]],["content/410",[4,0.665,5,2.28,6,2.056,9,2.935,14,2.412,18,2.143,22,1.684,33,1.366,37,1.077,40,4.031,44,4.344,46,2.077,51,1.535,54,4.59,61,3.45,63,1.407,70,4.525,87,2.229,107,3.832,147,4.092,149,2.661,152,1.277,155,3.148,162,2.268,176,3.854,177,3.299,180,4.858,181,2.814,182,1.28,183,2.021,184,1.391,185,5.413,191,1.929,192,3.551,199,3.072,205,3.497,206,3.759,207,3.536,220,2.268,240,4.143,243,2.951,256,3.018,264,5.941,272,2.735,273,1.407,281,2.488,285,7.26,293,1.796,299,3.99,301,2.407,314,3.746,315,4.384,321,3.943,322,2.358,329,2.859,330,3.751,347,2.951,373,1.654,381,2.07,385,2.35,388,3.598,392,2.984,395,2.697,401,2.874,402,3.7,410,4.148,439,4.489,452,4.885,455,3.072,480,3.799,490,2.549,512,2.626,520,2.904,537,3.461,539,2.984,543,2.376,544,2.393,545,3.728,550,3.631,559,4.092,632,6.213,636,3.507,638,3.7,645,3.774,652,5.057,663,3.536,675,4.912,692,3.276,696,3.99,701,3.99,703,2.393,704,5.55,706,3.276,708,4.04,709,3.943,710,5.376,713,4.148,717,3.072,718,2.603,735,2.889,751,3.943,762,4.775,785,1.956,863,3.7,892,3.943,906,3.478,910,4.249,920,3.397,957,6.416,971,6.278,991,3.536,1011,4.338,1012,4.41,1023,4.775,1055,3.189,1058,3.322,1176,3.665,1177,3.943,1322,5.187,1330,5.029,1419,4.893,1476,5.932,1564,4.092,1603,4.893,1624,5.614,1652,5.614,1798,5.376,1846,4.67,2057,4.41,2062,4.27,2070,5.187,2126,4.27,2152,4.893,2172,4.338,2179,4.893,2301,6.737,2302,5.614,2583,5.029,2587,9.766,2588,4.67,2589,3.943,2590,5.614,2591,6.415,2592,5.932,2593,6.415,2594,6.415,2595,6.415,2596,5.932,2597,6.415,2598,4.893,2599,6.415,2600,5.932,2601,6.415,2602,5.614,2603,5.614,2604,6.415,2605,5.932,2606,5.614,2607,6.415]],["keywords/410",[]],["title/411",[196,421.191,401,606.144,893,568.994]],["content/411",[0,1.65,2,1.114,4,0.966,5,1.192,6,1.94,9,1.392,15,1.772,18,5.537,19,1.655,25,0.202,33,1.837,37,0.511,44,2.111,46,1.787,49,2.598,51,0.728,52,0.838,53,1.285,54,2.4,61,1.636,62,2.366,69,2.367,70,3.678,79,1.611,83,2.215,86,1.229,87,1.057,88,3.196,92,1.297,96,3.125,97,1.939,107,3.705,110,1.342,111,1.148,116,1.256,122,1.335,125,1.204,144,1.87,149,3.145,152,0.606,154,1.118,166,2.994,171,0.794,176,4.413,177,1.564,181,2.879,183,1.739,184,0.66,185,4.65,186,1.632,189,1.553,191,0.915,192,1.023,196,2.901,197,2.17,198,1.475,200,1.135,201,2.928,202,0.936,203,1.543,205,2.422,207,1.677,215,2.902,218,2.321,220,3.295,222,3.297,230,0.961,240,3.172,241,2.818,243,4.287,246,3.414,250,1.624,252,3.614,262,1.624,264,4.118,265,1.094,272,1.297,273,3.48,278,2.041,281,6.153,284,2.689,287,1.512,293,0.852,296,2.265,301,2.463,304,1.532,307,1.755,308,0.985,310,2.499,311,3.248,314,1.079,315,5.168,319,2.461,322,1.118,330,4.278,334,0.877,351,2.385,355,3.673,360,1.738,364,1.65,366,3.652,373,1.955,378,1.828,379,3.469,381,2.447,385,2.023,391,1.532,395,3.188,396,0.994,400,1.37,401,1.363,402,1.755,405,2.839,409,1.941,413,1.576,425,2.727,432,2.902,452,1.407,454,4.902,466,2.881,473,4.11,477,3.216,478,3.434,490,2.194,496,2.231,508,1.916,512,1.245,513,1.808,514,1.091,527,3.899,533,1.722,537,1.81,538,2.745,542,1.941,543,3.451,544,4.032,545,3.349,552,1.599,559,1.941,563,1.303,564,2.554,565,1.722,568,3.249,569,2.71,573,2.092,579,1.967,584,2.057,589,2.129,591,2.813,592,1.848,607,2.994,611,1.916,613,1.945,625,2.321,630,1.118,632,1.79,636,1.663,638,3.185,645,1.79,652,2.644,660,1.707,664,1.522,667,2.321,668,1.576,669,2.662,674,1.114,675,1.415,693,1.363,697,1.941,706,1.553,711,2.343,716,4.771,718,4.907,732,1.932,735,1.37,736,2.839,740,1.415,762,2.265,785,1.684,786,1.303,792,1.755,809,1.502,858,1.532,861,1.415,862,1.916,866,1.79,876,3.434,878,1.995,888,1.587,891,1.677,892,1.87,893,1.279,905,1.808,908,2.46,909,2.385,910,1.224,912,1.587,918,1.722,947,2.092,955,3.185,956,1.916,963,1.175,971,1.808,973,2.97,981,1.738,982,1.624,984,1.87,985,1.415,991,1.677,1007,5.679,1011,2.057,1012,2.092,1017,2.265,1030,1.493,1042,3.57,1058,1.576,1064,2.129,1066,2.947,1072,2.129,1075,2.265,1081,1.87,1108,2.057,1112,1.808,1115,2.215,1127,1.916,1142,2.215,1156,2.321,1157,1.808,1168,1.995,1169,1.392,1170,1.553,1174,1.848,1175,1.916,1199,2.385,1204,2.839,1219,1.465,1220,1.738,1237,2.215,1268,1.576,1272,2.215,1310,3.216,1339,1.363,1360,3.434,1395,2.265,1398,1.916,1444,1.44,1522,2.813,1562,2.215,1579,2.46,1595,1.892,1603,2.321,1606,2.092,1644,2.813,1710,2.321,1755,2.321,1779,2.092,1798,2.55,1821,2.025,1826,2.321,1850,2.17,1858,4.329,1860,2.321,1872,1.636,1902,1.87,1927,2.215,1934,2.813,1967,2.385,1970,2.17,1984,1.941,1985,2.662,2018,2.385,2060,2.321,2109,2.813,2138,2.662,2152,2.321,2281,2.025,2516,2.265,2517,2.662,2533,2.662,2552,2.46,2560,1.995,2572,2.46,2606,2.662,2608,5.106,2609,3.042,2610,2.662,2611,3.042,2612,2.17,2613,3.042,2614,3.042,2615,3.042,2616,2.662,2617,4.329,2618,3.042,2619,3.042,2620,3.042,2621,3.042,2622,3.042,2623,3.042,2624,2.321,2625,2.321,2626,2.662,2627,3.042,2628,2.321,2629,3.042,2630,3.042,2631,2.662,2632,3.042,2633,3.042,2634,3.042,2635,3.042,2636,3.042,2637,3.042,2638,2.321,2639,2.55,2640,3.042,2641,3.042,2642,2.46,2643,3.042,2644,3.042,2645,2.662,2646,3.042]],["keywords/411",[]],["title/412",[107,292.374,185,287.538,703,444.09,1164,731.52]],["content/412",[2,0.898,4,1.535,5,0.979,6,2.01,7,0.399,9,2.074,10,0.506,11,0.839,12,0.446,14,0.922,18,0.819,19,2.57,20,1.099,22,0.928,23,2.837,25,0.163,30,1.154,32,0.271,33,1.551,37,1.321,40,2.719,44,4.028,46,1.144,49,2.568,51,1.704,52,0.974,60,0.915,61,1.319,62,0.548,63,1.197,64,0.865,65,1.158,67,1.422,69,1.103,70,3.528,71,1.072,78,1.072,79,0.677,84,0.683,85,0.616,87,0.852,88,1.872,92,0.545,94,0.795,97,0.449,100,0.908,105,0.693,107,3.872,108,0.667,110,3.142,111,1.711,113,0.595,114,1.027,121,1.474,124,0.479,125,0.506,136,2.038,148,0.738,149,0.531,151,0.757,152,1.418,155,1.053,156,1.299,158,0.805,161,1.116,162,0.452,164,0.77,167,1.066,171,0.641,173,0.76,176,3.129,177,1.261,179,1.219,181,2.624,182,0.255,184,1.707,185,4.496,186,1.34,188,1.376,189,0.653,191,1.363,192,2.882,193,0.512,194,0.745,196,2.45,197,0.912,198,0.944,199,1.174,200,0.915,201,2.109,202,0.393,204,3.37,205,4.314,206,3.506,207,3.484,208,1.341,215,1.289,220,1.93,222,1.723,224,0.388,225,5.055,226,2.315,227,2.331,228,0.559,229,1.376,230,2.25,231,2.521,234,1.135,236,2.43,237,2.318,239,0.653,240,3.52,241,2.349,242,0.705,243,1.626,246,1.997,248,1.33,252,0.951,255,1,256,0.602,262,1.309,263,1.034,264,4.655,265,0.46,271,1.254,273,1.88,277,2.038,278,2.308,285,0.879,289,0.595,292,1.003,293,0.687,297,1.003,298,1.734,301,1.244,304,3.587,306,0.912,311,0.548,315,5.036,319,2.02,322,3.393,325,0.895,329,2.02,330,1.892,334,2.054,347,1.128,351,1.003,355,2.807,357,0.912,359,3.3,360,0.731,366,0.616,372,0.827,373,1.169,377,1.923,379,0.585,381,1.14,382,0.658,385,0.468,386,0.931,387,2.058,388,1.376,390,0.952,391,1.235,393,0.688,395,2.995,396,0.801,398,1.324,400,1.104,401,1.099,402,1.415,404,0.976,405,2.331,409,2.254,410,0.827,413,1.27,414,0.959,417,1.104,421,2.827,423,1.508,426,1.526,427,2.007,433,0.931,435,3.258,437,2.143,440,1.135,452,1.635,454,1.586,455,1.174,458,1.141,462,0.508,466,0.667,468,0.585,475,1.183,476,0.777,478,0.795,480,0.46,481,0.705,482,0.699,484,0.717,486,0.76,493,0.795,498,1.526,500,0.895,501,0.658,503,0.677,514,0.458,515,0.632,516,0.658,520,0.579,524,0.839,527,0.658,531,3.455,533,1.388,535,1.003,537,0.419,541,1.196,544,1.319,545,0.979,546,1.034,552,0.672,553,0.573,556,0.457,559,0.816,561,0.602,563,0.548,564,1.135,565,1.388,571,0.839,573,0.879,576,1.072,577,0.795,579,1.586,581,1.041,582,0.717,587,0.816,589,0.895,593,1.003,606,1.003,607,0.693,613,0.864,621,0.912,625,0.976,628,3.09,629,1.034,630,0.47,631,1.429,632,3.212,636,1.932,638,0.738,639,0.609,640,0.912,642,0.573,648,0.805,650,1.415,652,0.612,656,0.76,660,0.717,661,0.816,663,1.948,664,1.227,668,3.273,669,1.119,673,1.844,677,1.003,683,0.895,692,1.253,693,0.573,697,2.892,698,0.827,701,0.795,703,1.319,705,0.745,716,0.886,720,0.976,726,0.931,727,2.473,732,2.492,736,2.367,737,0.43,740,1.644,745,3.455,765,1.158,772,1.017,773,0.504,775,0.612,786,1.942,787,0.62,789,1.072,808,1.072,855,1.458,856,0.827,858,1.235,860,0.777,861,1.141,864,0.839,865,0.839,876,2.198,880,0.976,886,0.457,888,1.28,889,0.865,891,0.705,893,0.538,894,0.49,896,1.072,902,0.731,907,2.172,910,0.515,911,1.565,912,2.365,914,0.602,915,0.952,921,0.662,922,0.976,931,0.76,932,1.116,935,1.034,940,0.777,941,0.952,943,0.672,944,0.717,946,1.183,952,0.724,954,1.857,957,1.49,958,2.525,963,0.494,969,1.659,970,0.976,971,2.101,972,0.839,985,3.313,989,0.912,993,0.616,999,0.931,1000,1.319,1006,0.777,1010,1.034,1021,2.936,1024,1.663,1026,0.976,1027,1.072,1030,1.204,1031,0.931,1033,0.931,1039,0.976,1065,0.752,1066,0.683,1072,2.473,1074,0.699,1081,0.786,1085,1.072,1086,0.827,1102,0.952,1103,0.895,1108,0.865,1109,0.662,1112,0.76,1113,0.931,1116,1.757,1118,0.827,1123,0.952,1126,0.952,1127,0.805,1150,1.003,1151,0.827,1155,0.865,1156,0.976,1157,0.76,1160,1.244,1164,3.884,1166,1.609,1169,1.617,1174,1.49,1180,0.768,1189,1.526,1207,0.738,1220,0.731,1227,2.318,1235,1.034,1238,1.717,1261,1.565,1262,1.508,1298,0.768,1301,1.119,1304,1.072,1305,0.895,1309,1.154,1310,4.993,1315,2.225,1326,3.355,1329,2.299,1332,0.688,1333,0.952,1399,1.003,1400,0.717,1403,0.912,1408,1.119,1411,1.119,1422,0.895,1427,0.683,1438,1.034,1444,0.605,1501,0.731,1516,1.183,1536,0.895,1541,1.003,1542,1.119,1547,0.851,1551,1.983,1558,1.508,1560,1.686,1562,1.786,1563,1.072,1571,0.865,1582,1.826,1595,0.795,1606,0.879,1609,1.034,1611,0.952,1619,2.147,1623,0.865,1631,0.724,1633,1.401,1651,0.738,1656,0.851,1671,1.034,1686,1.786,1690,0.912,1695,1.119,1704,0.805,1708,0.879,1711,0.839,1713,3.427,1747,0.865,1749,0.976,1757,2.147,1779,2.43,1792,0.879,1811,0.931,1826,0.976,1827,0.717,1846,0.931,1847,1.826,1848,1.003,1850,0.912,1856,0.931,1858,1.003,1860,3.458,1863,1.003,1869,1.826,1872,1.319,1874,1.034,1890,1.923,1931,0.805,1936,1.072,1940,1.983,1965,2.473,1966,1.717,1988,1.983,1993,1.659,2000,0.952,2012,1.183,2030,1.119,2031,0.912,2043,0.931,2044,1.119,2045,1.072,2057,1.686,2065,1.034,2089,0.839,2111,1.633,2127,1.119,2130,0.839,2131,1.474,2172,0.865,2175,0.952,2176,1.003,2220,3.093,2250,1.003,2281,1.633,2284,1.072,2303,0.688,2304,0.931,2331,2.857,2334,1.003,2421,1.826,2422,1.983,2426,2.147,2431,0.976,2483,1.003,2512,1.072,2516,1.826,2525,1.119,2534,2.056,2539,1.072,2550,2.268,2560,2.973,2567,1.072,2598,1.871,2603,1.119,2608,1.183,2617,1.003,2626,1.119,2628,0.976,2647,1.279,2648,1.279,2649,1.183,2650,1.279,2651,0.931,2652,2.268,2653,1.119,2654,1.279,2655,1.279,2656,2.268,2657,1.279,2658,2.453,2659,1.279,2660,1.183,2661,1.279,2662,1.279,2663,1.279,2664,1.279,2665,1.279,2666,1.279,2667,2.056,2668,1.279,2669,0.865,2670,1.279,2671,0.839,2672,1.279,2673,2.147,2674,1.279,2675,1.183,2676,1.119,2677,0.895,2678,1.279,2679,1.279,2680,1.279,2681,1.279,2682,1.279,2683,1.119,2684,1.279,2685,1.279,2686,1.279,2687,2.268,2688,1.183,2689,1.279,2690,2.147,2691,1.183,2692,1.717,2693,0.912,2694,1.183,2695,1.183,2696,1.279,2697,2.453,2698,2.268,2699,1.279,2700,2.453,2701,1.279,2702,2.268,2703,2.453,2704,1.279,2705,1.072,2706,1.279,2707,0.976,2708,1.003,2709,1.072,2710,1.279,2711,1.279,2712,1.279,2713,1.183,2714,1.686,2715,1.183,2716,1.279,2717,0.976,2718,1.183,2719,1.072,2720,0.805,2721,2.268,2722,1.279,2723,2.268,2724,0.952,2725,1.279,2726,1.279,2727,1.279,2728,0.976,2729,1.183,2730,1.279,2731,0.976,2732,1.279,2733,0.912,2734,1.279,2735,1.279,2736,1.119,2737,1.279,2738,1.183,2739,1.183,2740,1.072,2741,1.871,2742,1.279,2743,1.279,2744,1.119,2745,1.279,2746,1.279,2747,1.183,2748,1.279,2749,1.279,2750,1.279,2751,1.003,2752,1.183,2753,1.183,2754,1.279,2755,1.279,2756,1.279,2757,1.183,2758,1.279,2759,1.279,2760,1.183,2761,1.279,2762,1.279,2763,1.279,2764,1.279,2765,1.279,2766,0.976,2767,2.268,2768,0.895,2769,0.976,2770,1.183,2771,0.976,2772,1.183,2773,1.119,2774,1.279,2775,1.183,2776,1.279,2777,1.279]],["keywords/412",[]],["title/413",[107,332.249,185,211.234,388,490.486,670,490.486,732,305.938,991,482.031]],["content/413",[86,8.116,107,4.933,177,10.328,185,4.852,407,9.794,496,8.116,586,14.95,891,11.072,1456,16.238,2651,14.62,2778,14.324,2779,12.343,2780,18.572]],["keywords/413",[]],["title/414",[181,360.573,314,480.028,581,574.278]],["content/414",[5,4.314,6,1.454,70,3.662,107,4.908,114,4.366,136,8.661,151,4.633,162,5.308,176,5.48,185,4.827,192,5.049,207,8.278,240,4.462,246,4.744,264,5.793,314,7.088,315,4.891,385,5.5,388,8.423,392,9.294,440,6.946,465,11.178,490,5.967,520,6.797,521,12.141,561,7.065,636,8.209,664,7.513,674,5.5,710,12.585,856,9.71,891,8.278,1564,9.579,1582,11.178,1617,11.715,2044,13.142,2781,11.178,2782,15.017,2783,9.124]],["keywords/414",[]],["title/415",[63,343.83,675,729.273]],["content/415",[6,1.444,18,4.98,70,3.636,107,4.885,149,6.184,176,5.441,185,3.602,240,3.329,315,4.856,321,9.163,334,4.299,385,5.461,391,7.51,392,9.25,455,7.139,484,8.363,494,11.373,544,5.563,545,4.13,569,7.316,630,5.481,674,5.461,675,6.935,708,9.389,717,9.522,785,4.547,861,6.935,866,8.771,876,9.273,893,6.269,910,5.999,923,9.777,1011,10.081,1012,10.25,1035,9.058,1079,11.373,1158,9.163,1175,9.389,1339,6.678,1617,7.778,2126,13.237,2304,10.853,2331,12.054,2624,11.373,2784,14.91]],["keywords/415",[]],["title/416",[225,485.1,226,690.985,322,497.46]],["content/416",[4,1.534,5,3.196,6,1.916,11,9.708,61,7.962,69,4.621,70,3.61,88,5.076,107,4.862,176,5.402,181,3.944,185,4.781,205,5.143,225,5.307,240,4.979,252,5.74,264,4.292,278,3.985,314,5.251,322,5.442,427,5.442,478,9.207,490,5.882,496,5.982,521,11.969,561,6.964,616,10.359,736,5.544,739,9.572,912,7.723,914,6.964,943,7.78,1236,11.604,1301,12.955,1617,10.325,1870,13.689,2539,12.407,2708,11.604,2785,13.689,2786,14.804,2787,14.804,2788,14.804,2789,14.804]],["keywords/416",[]],["title/417",[6,115.243,37,199.834,703,444.09,1022,933.04]],["content/417",[5,3.389,6,2.358,37,2.635,70,5.018,87,5.454,107,5.054,122,6.889,171,4.099,176,5.728,185,3.792,207,8.652,222,4.28,252,6.086,293,4.394,423,9.646,425,5.647,484,8.804,577,9.762,641,10.984,693,7.031,862,9.884,934,9.646,971,9.33,1007,8.249,1164,9.646,1378,9.762,1985,13.736,2111,13.694,2134,13.154,2331,12.69,2516,11.683,2673,13.736,2728,11.973,2790,15.696,2791,15.696,2792,15.696]],["keywords/417",[]],["title/418",[1110,1064.513]],["content/418",[3,5.273,4,1.188,6,1.11,21,6.611,44,3.192,67,4.613,70,4.04,107,4.778,144,10.181,181,5.183,185,4.699,195,6.07,207,6.319,222,3.126,256,5.393,264,5.639,265,4.124,301,2.613,304,5.774,306,8.176,314,4.066,388,6.43,395,4.82,401,5.135,423,10.181,452,5.303,457,7.751,478,10.303,521,9.268,532,6.676,533,6.488,536,3.931,537,3.757,541,5.59,545,3.175,551,7.538,561,7.793,564,5.303,565,6.488,615,9.607,645,6.744,650,6.611,664,5.736,692,5.854,693,5.135,732,4.011,737,3.854,785,3.496,875,6.07,894,4.393,901,4.376,910,4.613,921,5.937,937,5.007,941,8.533,957,10.064,971,6.814,985,5.332,1007,6.025,1147,6.319,1158,7.045,1227,7.518,1427,6.117,1560,7.881,1595,7.13,1623,7.751,1848,8.986,2089,7.518,2117,7.518,2179,8.744,2236,9.607,2617,8.986,2793,11.464,2794,11.464,2795,10.601,2796,11.464]],["keywords/418",[]],["title/419",[107,384.917,181,283.072,185,256.637,670,595.91]],["content/419",[0,4.172,4,1.268,5,1.661,6,1.68,30,3.62,46,2.491,63,1.687,70,1.877,87,2.674,107,5.392,114,2.237,121,4.623,151,2.374,152,1.532,176,5.559,181,5.636,182,1.535,185,4.873,191,2.313,196,2.395,198,2.056,200,2.871,201,2.972,202,2.367,205,1.999,222,2.098,225,2.758,226,3.929,241,2.86,264,3.547,265,2.768,269,6.449,272,3.281,276,7.434,284,2.73,287,3.825,297,3.471,301,2.789,304,6.163,314,4.34,315,2.506,326,6.032,371,6.383,377,6.032,385,2.818,388,4.316,392,5.691,401,3.447,425,2.768,452,3.559,480,2.768,490,3.057,497,6.734,516,3.957,537,2.522,548,4.845,553,3.447,569,3.776,573,5.29,613,2.711,615,6.449,636,4.206,645,4.527,667,5.87,676,5.601,688,4.675,697,4.909,704,4.044,706,3.929,707,5.203,718,3.123,740,3.579,785,2.347,786,3.296,860,4.675,861,3.579,884,4.482,922,5.87,943,4.044,996,3.483,1019,4.845,1022,6.032,1023,5.728,1067,5.203,1077,4.355,1112,4.574,1185,6.221,1228,5.488,1417,4.206,1441,16.905,1454,6.734,1456,12.315,1499,7.116,1614,3.929,1747,5.203,1755,5.87,2077,6.449,2146,5.601,2161,5.87,2179,5.87,2308,4.845,2521,7.116,2577,6.734,2586,10.254,2596,7.116,2720,4.845,2724,9.107,2773,6.734,2797,7.116,2798,12.236,2799,7.695,2800,7.695,2801,7.695,2802,7.695,2803,7.695,2804,7.116,2805,7.695,2806,7.695,2807,7.695,2808,7.695,2809,7.116,2810,7.695,2811,7.695,2812,7.695,2813,6.734,2814,7.695,2815,7.116,2816,7.695,2817,7.695,2818,7.695,2819,6.734,2820,7.695,2821,7.116,2822,7.695,2823,6.221,2824,7.695,2825,7.695,2826,7.695]],["keywords/419",[]],["title/420",[4,99.401,107,235.629,185,231.733,661,611.918,2308,604.061,2827,959.288]],["content/420",[0,4.523,4,1.881,14,3.136,25,1.068,28,3.608,33,1.686,37,1.401,45,3.699,46,2.7,63,1.829,65,2.734,67,5.247,70,2.034,79,4.417,99,2.939,103,3.717,107,4.838,110,8.007,151,2.574,162,2.949,181,4.278,185,5.453,190,3.902,192,4.384,196,4.997,201,3.222,202,2.566,222,2.275,225,2.99,246,4.119,247,7.714,264,4.654,273,1.829,278,2.246,293,2.335,298,4.094,301,2.972,304,9.142,311,3.574,315,4.247,321,5.127,329,3.717,330,3.135,331,5.394,366,4.018,397,5.321,402,4.811,433,6.072,452,3.859,512,3.415,519,4.487,536,2.86,537,2.734,544,3.112,548,5.253,551,3.796,554,3.994,568,4.908,573,8.965,613,2.939,627,6.539,674,3.055,676,6.072,689,4.56,716,3.012,732,2.919,763,4.26,827,5.127,857,4.29,861,3.88,931,4.959,944,4.679,991,7.188,1109,4.32,1112,4.959,1147,4.599,1187,5.394,1219,4.018,1384,5.735,1434,6.363,1456,6.744,1541,6.539,1563,6.991,1620,6.744,1621,7.3,1872,4.487,1891,5.838,1969,6.539,1984,5.321,2179,6.363,2308,5.253,2444,5.068,2567,6.991,2577,7.3,2624,6.363,2714,13.54,2780,7.714,2828,8.342,2829,8.342,2830,12.058,2831,8.342,2832,8.342,2833,8.342,2834,8.342,2835,7.714,2836,7.3,2837,11.412,2838,6.991,2839,13.04,2840,8.342,2841,8.342,2842,6.991,2843,8.342,2844,8.342]],["keywords/420",[]],["title/421",[107,332.397,185,326.9,331,874.956]],["content/421",[6,1.374,14,3.5,46,4.595,54,4.047,70,4.692,88,3.193,105,5.049,107,3.487,147,9.055,149,5.888,156,7.517,162,3.292,181,3.782,185,4.156,196,2.898,200,3.474,201,3.596,202,2.864,222,2.539,223,4.788,230,2.942,240,2.079,264,4.987,301,3.921,315,3.033,321,5.723,329,4.149,349,6.02,371,4.858,391,7.15,392,4.331,407,4.541,452,4.307,455,4.458,468,4.26,493,5.791,499,4.894,520,4.215,537,4.652,539,6.603,545,2.579,569,4.569,584,6.296,614,4.027,696,5.791,712,5.657,713,9.178,717,4.458,727,6.516,735,4.193,736,3.487,740,4.331,750,8.149,858,4.69,861,8.002,886,3.326,891,5.133,893,5.969,894,3.568,910,3.747,912,7.405,914,4.381,919,6.516,957,5.657,1006,5.657,1040,5.94,1058,8.909,1128,6.778,1161,7.299,1170,4.755,1191,5.94,1384,6.402,1422,9.933,1606,6.402,1755,7.103,1863,7.299,1869,12.804,1927,6.778,1984,5.94,2062,6.198,2301,10.973,2351,8.61,2429,6.641,2624,10.828,2625,7.103,2709,7.804,2845,7.528,2846,9.312,2847,7.804,2848,7.804,2849,9.312,2850,9.312,2851,9.312,2852,9.312,2853,9.312,2854,9.312,2855,9.312,2856,9.312,2857,9.312,2858,9.312,2859,9.312]],["keywords/421",[]],["title/422",[861,866.742]],["content/422",[4,2.132,25,1.368,33,2.03,35,4.501,97,5.51,107,6.496,181,4.182,182,3.132,185,5.884,188,8.804,240,3.505,248,11.155,297,4.453,318,13.154,432,8.249,1228,11.194,1326,9.646,1365,11.426,1434,11.973,1598,11.426,2194,12.69,2308,9.884,2507,12.69,2860,15.696,2861,12.304,2862,15.696,2863,15.696,2864,15.696,2865,15.696,2866,15.696]],["keywords/422",[]],["title/423",[4,99.401,182,191.399,256,451.293,275,319.419,621,684.146,884,558.686]],["content/423",[]],["keywords/423",[]],["title/424",[275,522.063,308,507.514]],["content/424",[5,4.213,6,2.136,10,5.735,18,4.842,30,6.819,37,2.433,51,4.67,70,4.759,176,5.29,192,4.873,196,6.074,200,7.281,202,4.459,206,5.16,240,3.236,275,4.826,293,4.057,308,6.317,385,5.309,396,4.736,438,5.428,439,10.143,440,9.026,466,7.561,527,7.453,539,6.742,556,5.178,557,5.759,614,6.269,630,5.328,643,10.337,664,7.252,694,7.205,697,9.246,773,5.712,785,4.42,894,5.555,895,12.148,914,6.819,965,9.015,1058,7.507,1219,6.982,1726,7.796,1975,12.685]],["keywords/424",[]],["title/425",[19,287.561,37,161.05,185,231.733,855,570.235,872,483.169,901,366.18]],["content/425",[4,2.31,5,3.196,6,2.305,19,4.438,23,3.781,32,3.133,62,6.342,113,6.886,125,7.832,275,4.929,308,4.792,462,5.882,468,6.773,479,8.895,486,8.8,536,5.076,717,7.088,879,5.763,881,10.776,897,9.708,901,5.651,902,8.457,926,7.559,937,6.465,1000,7.962,1656,13.174,1769,12.407,2867,18.302,2868,17.32,2869,18.302,2870,13.689,2871,14.804,2872,14.804,2873,13.689,2874,14.804,2875,14.804]],["keywords/425",[]],["title/426",[5,207.102,6,92.877,7,299.457,217,342.668,322,352.639,2036,751.955]],["content/426",[5,4.729,6,1.872,19,4.285,23,3.851,32,4.091,35,4.1,37,2.4,70,5.342,152,2.846,217,5.107,222,3.898,275,4.76,278,3.848,297,4.055,440,6.612,556,5.107,557,5.68,572,7.825,660,8.019,695,7.06,926,9.872,936,7.106,961,7.881,975,7.689,1033,10.406,1259,11.558,1262,8.786,1351,10.641,1479,8.019,2017,12.51,2036,11.206,2049,9.243,2095,10.004,2489,10.406,2768,10.004,2876,12.51,2877,14.296,2878,14.296,2879,14.296,2880,14.296,2881,14.296]],["keywords/426",[]],["title/427",[37,199.834,185,287.538,486,707.558,703,444.09]],["content/427",[3,3.948,5,3.529,6,2.135,9,3.927,12,2.993,20,3.844,33,1.11,37,2.238,51,3.19,60,4.974,63,4.377,70,2.093,76,5.102,92,3.659,98,3.677,114,2.495,136,4.95,167,5.794,171,2.241,182,2.66,183,2.703,186,3.941,191,2.58,196,2.671,204,4.061,217,3.066,219,3.19,222,2.34,246,5.164,252,3.328,265,3.088,272,3.659,275,7.794,279,5.102,281,5.17,289,3.992,298,4.212,308,4.316,311,3.677,322,4.901,334,2.475,371,4.477,379,3.927,389,4.413,390,6.388,391,4.323,393,7.171,440,3.97,446,6.388,458,3.992,499,9.687,516,6.856,556,3.066,557,3.41,563,3.677,636,4.692,643,6.121,664,4.294,685,6.248,695,6.584,698,5.549,703,7.447,713,5.549,716,3.099,720,6.547,751,5.275,785,5.621,787,4.159,866,7.843,910,3.453,911,5.475,926,4.382,939,6.939,940,5.214,945,6.728,955,4.95,963,3.315,994,4.616,1027,7.193,1066,4.58,1082,5.713,1164,5.275,1178,5.803,1236,6.728,1262,5.275,1320,4.616,1327,4.58,1526,4.692,2004,6.547,2049,5.549,2254,4.858,2281,5.713,2882,8.583,2883,8.583,2884,7.193,2885,8.583,2886,5.9,2887,7.936,2888,8.583,2889,8.583,2890,8.583,2891,8.583,2892,7.193,2893,7.936,2894,8.583,2895,8.583,2896,7.936]],["keywords/427",[]],["title/428",[4,123.338,79,630.307,275,396.341,452,550.572]],["content/428",[]],["keywords/428",[]],["title/429",[275,522.063,391,789.701]],["content/429",[4,1.413,5,2.945,6,1.813,7,4.258,19,4.089,25,0.907,37,3.59,51,3.264,52,5.159,53,5.762,63,2.991,86,5.512,87,4.74,152,2.716,179,6.78,252,5.289,255,5.559,275,8.031,278,3.672,308,4.415,334,3.933,393,7.336,413,7.064,437,5.354,440,6.309,467,4.822,514,4.89,527,7.014,529,7.721,556,6.689,557,7.44,564,6.309,626,10.405,699,8.819,874,6.047,914,6.417,921,7.064,961,7.519,963,5.268,1030,6.694,1114,6.965,1142,9.929,1378,8.484,1961,8.108,2095,9.545,2206,10.153,2488,9.929,2541,10.405,2897,13.641,2898,11.937,2899,12.613,2900,9.079]],["keywords/429",[]],["title/430",[4,162.462,275,522.063]],["content/430",[2,5.748,4,1.626,5,3.388,6,2.358,10,6.209,37,1.787,62,4.56,63,4.088,67,4.283,92,4.538,114,3.094,125,4.212,151,3.284,152,3.124,162,5.547,171,2.779,179,5.29,182,3.719,217,5.605,222,4.279,230,3.362,232,6.327,265,3.829,273,3.441,275,6.85,278,2.865,279,9.328,293,2.979,322,3.913,334,3.069,385,3.898,386,7.748,391,5.361,428,5.725,437,6.159,467,3.762,531,5.818,536,6.391,541,5.19,643,7.591,664,5.325,674,3.898,693,4.767,694,5.29,695,5.256,714,7.084,785,4.785,868,8.92,879,4.144,905,6.327,907,6.541,911,6.789,926,5.435,958,4.923,963,4.111,1000,10.025,1148,7.448,1395,7.922,1426,8.119,1427,5.68,1614,5.435,1672,8.605,1716,7.591,1751,7.591,1767,8.92,1787,8.343,2063,8.92,2551,9.842,2731,8.119,2887,9.842,2901,10.644,2902,10.644,2903,10.644,2904,10.644,2905,10.644]],["keywords/430",[]],["title/431",[4,110.083,7,331.64,275,353.746,308,343.888,381,342.83]],["content/431",[]],["keywords/431",[]],["title/432",[52,372.867,275,450.597,670,759.062]],["content/432",[4,1.451,5,3.023,6,1.356,23,2.593,25,0.608,33,1.183,37,3.201,44,2.547,49,4.304,52,6.822,60,3.413,61,4.92,62,3.919,63,3.071,67,5.635,68,4.808,73,4.671,86,3.696,110,6.178,116,7.027,152,1.821,164,2.873,179,4.547,182,1.825,183,5.359,186,2.704,202,5.234,217,3.268,222,2.494,231,6.524,256,4.304,265,3.291,273,4.181,275,7.217,278,3.77,293,2.561,297,2.595,310,4.141,322,6.255,329,4.076,330,2.199,334,2.638,370,5.76,371,4.772,381,2.952,391,4.608,405,7.201,437,3.59,462,3.635,474,5.276,519,4.92,525,4.808,527,4.704,531,7.655,537,2.998,551,4.163,556,6.078,557,6.761,569,4.489,584,6.185,660,5.131,670,5.131,698,5.915,703,3.413,705,5.328,741,5.558,872,4.608,898,6.289,907,5.622,918,5.178,931,5.438,935,7.396,963,3.533,987,5.915,992,6.524,1082,6.089,1164,5.622,1180,5.497,1197,6.402,1320,4.92,1405,8.006,1422,6.402,1597,8.006,1713,4.96,1965,6.402,1993,6.185,2095,6.402,2444,5.558,2527,8.459,2612,6.524,2713,8.459,2906,9.148,2907,8.459]],["keywords/432",[]],["title/433",[98,509.904,308,385.295,395,500.481,874,527.718]],["content/433",[4,1.404,33,1.752,41,9.163,46,4.387,63,4.088,84,7.232,87,7.405,97,4.758,98,5.805,110,5.978,114,3.94,230,4.281,234,6.268,265,4.875,287,6.736,291,6.488,293,3.793,308,7.789,322,4.982,370,8.534,385,4.964,395,5.698,396,4.428,401,6.07,408,4.484,413,7.018,462,5.385,467,4.79,514,4.858,531,7.408,536,6.392,581,7.911,621,9.665,622,5.499,874,11.025,930,12.531,973,7.289,992,9.665,1000,7.289,1028,7.816,1106,11.357,1171,9.317,1191,8.645,1747,9.163,1961,11.081,1970,9.665,2908,13.552,2909,12.531]],["keywords/433",[]],["title/434",[275,450.597,670,759.062,1766,900.729]],["content/434",[5,3.414,6,2.23,37,3.471,63,3.468,73,8.075,86,6.39,113,7.356,131,8.02,182,3.155,196,4.922,200,7.714,205,4.109,206,5.63,256,7.44,275,5.266,301,3.604,308,5.119,392,7.356,398,5.923,490,6.284,540,11.772,543,5.857,699,10.226,703,5.9,775,7.572,901,6.037,940,9.608,1236,12.397,1417,8.645,1766,15.333,2910,15.815,2911,15.815,2912,9.836,2913,11.772,2914,15.815]],["keywords/434",[]],["title/435",[75,874.956,275,450.597,670,759.062]],["content/435",[6,2.022,37,2.696,51,3.843,52,5.754,75,13.502,77,12.984,114,4.668,121,9.649,179,7.982,182,3.204,186,4.747,205,4.173,206,5.716,248,8.707,256,7.555,301,3.66,308,5.198,371,8.378,398,6.014,417,7.231,536,5.506,541,7.831,560,8.504,698,10.383,720,12.249,920,8.504,926,8.2,940,9.757,959,14.053,963,6.203,1408,14.053,1526,8.779,1604,10.383,1623,10.858,2915,16.059,2916,14.85]],["keywords/435",[]],["title/436",[275,450.597,670,759.062,2917,1184.242]],["content/436",[4,1.703,6,2.272,10,6.505,21,9.481,22,4.314,37,2.76,44,4.577,51,3.934,67,6.614,68,8.64,196,5.117,281,6.375,293,4.602,437,6.452,531,8.986,550,9.305,564,7.604,703,6.133,707,11.115,856,10.629,1047,11.967,1058,8.514,1156,12.539,1295,12.886,1751,15.121,1963,13.777,2062,10.942,2134,13.777,2917,18.554,2918,14.386,2919,16.439,2920,15.201]],["keywords/436",[]],["title/437",[58,495.646,99,476.718,104,914.982]],["content/437",[6,1.743,7,5.62,8,9.533,10,7.123,58,8.226,76,10.701,99,7.912,104,15.186,179,8.948,182,3.592,196,5.603,275,7.478,286,11.063,297,6.371,308,5.827,387,10.484,437,7.065,536,6.172,617,9.533,2921,16.646]],["keywords/437",[]],["title/438",[94,841.635,275,450.597,504,599.958]],["content/438",[3,7.622,6,1.604,7,5.173,8,11.285,28,7.167,37,2.782,58,6.069,94,13.254,114,4.817,155,4.939,184,3.593,251,11.849,265,5.961,275,8.281,291,7.934,308,5.364,394,8.403,504,10.444,590,7.065,985,7.707,1377,7.751,1636,11.595,1671,13.397,1935,12.989,2922,16.57,2923,13.887,2924,16.57]],["keywords/438",[]],["title/439",[51,323.825,275,450.597,947,930.333]],["content/439",[4,2.094,5,2.65,6,1.956,23,3.35,32,2.598,34,3.983,37,3.896,46,3.973,51,5.26,70,4.242,73,6.267,161,3.878,167,5.335,184,2.662,192,4.127,201,4.741,210,8.17,217,4.384,219,4.562,275,5.792,293,3.436,297,3.482,308,7.511,315,3.998,381,5.614,425,4.416,427,4.512,510,6.224,543,4.545,549,6.451,564,5.677,572,4.384,587,7.83,773,4.837,785,3.743,947,15.112,1021,6.602,1300,8.002,1656,11.579,1706,11.408,1707,8.754,1902,7.543,1982,9.924,2845,9.924,2925,12.274,2926,12.274,2927,7.729,2928,17.396,2929,12.274,2930,12.274]],["keywords/439",[]],["title/440",[275,450.597,2931,1007.258,2932,1251.356]],["content/440",[4,2.352,5,4.377,6,1.963,7,7.087,8,8.128,10,6.074,25,1.021,33,1.985,46,6.563,50,8.461,69,4.791,185,4.897,275,8.041,297,5.751,308,6.563,373,5.228,381,4.953,496,6.202,642,6.875,901,5.859,941,11.425,1254,10.378,1377,7.18,1697,8.688,2923,12.864,2931,11.425,2932,20.992,2933,15.349,2934,15.349]],["keywords/440",[]],["title/441",[37,178.358,437,416.956,696,660.735,988,757.671,1110,606.904]],["content/441",[6,1.773,25,0.878,37,3.529,44,3.678,52,3.639,92,5.631,110,5.826,179,6.565,182,3.654,186,5.413,195,6.994,196,6.543,200,4.928,202,4.063,222,3.602,256,6.214,273,2.896,275,4.398,304,6.653,308,4.275,322,6.732,370,8.317,428,7.104,437,5.184,467,4.669,486,7.851,515,6.523,527,6.792,535,10.353,536,4.529,541,6.441,554,6.324,556,4.718,557,5.248,560,6.994,563,5.658,564,6.109,626,10.075,695,6.523,703,4.928,785,4.028,799,9.08,894,5.061,899,9.615,906,7.161,961,7.281,963,5.101,1050,9.42,1180,7.936,1207,7.617,1427,7.048,1606,9.08,1610,8.215,1623,8.931,1665,12.214,1767,11.069,1980,11.069,2206,9.831,2628,10.075]],["keywords/441",[]],["title/442",[191,471.331,879,610.406]],["content/442",[5,4.336,6,1.945,25,1.597,52,5.534,63,4.404,273,4.404,391,10.116,689,10.979,857,10.328,1711,13.171,2935,20.085,2936,20.085]],["keywords/442",[]],["title/443",[25,63.794,33,187.752,182,191.399,199,695.195]],["content/443",[]],["keywords/443",[]],["title/444",[33,174.985,199,647.923,486,804.418]],["content/444",[3,5.362,4,1.208,5,2.516,6,2.079,33,3.156,35,3.343,37,1.957,44,3.246,67,4.69,69,3.639,87,4.051,100,4.317,103,5.194,113,5.422,114,4.874,151,5.172,176,7.165,180,5.362,181,5.232,182,2.326,185,4.05,194,6.788,199,10.281,207,9.242,219,4.333,240,2.603,252,4.52,265,4.193,278,3.138,293,3.263,298,5.72,310,5.276,314,4.135,334,3.361,392,5.422,395,4.901,401,5.221,438,4.365,474,6.722,496,4.71,514,4.178,536,3.997,539,5.422,551,5.304,554,5.581,566,8.013,613,5.906,630,4.285,637,6.659,652,5.581,664,5.832,697,7.435,703,4.349,716,4.208,732,4.078,799,8.013,875,6.172,926,5.952,994,6.269,1228,8.313,1294,9.769,1611,8.676,1679,10.778,2075,8.891,2645,10.2,2937,10.778,2938,10.778]],["keywords/444",[]],["title/445",[25,58.151,33,113.071,199,418.671,437,343.191,1066,466.623,1237,636.528,2539,732.835]],["content/445",[4,0.641,5,1.336,6,1.955,7,3.199,12,2.157,25,1.473,30,2.911,33,2.357,40,2.362,44,1.723,46,2.003,58,2.266,65,2.028,70,3.2,87,2.15,96,5.801,97,3.598,99,3.611,107,2.518,116,2.555,125,4.056,134,3.502,142,3.64,151,1.909,155,3.055,175,3.848,176,3.74,181,3.496,182,3.045,183,1.949,185,1.495,186,3.029,192,2.08,195,8.08,196,6.72,199,7.306,200,2.308,202,1.903,222,1.687,230,1.954,234,2.862,240,1.381,246,1.954,248,3.354,250,8.143,255,4.177,264,4.424,265,2.226,276,3.759,278,1.665,284,5.999,286,3.802,288,3.055,291,2.962,293,1.732,297,1.755,298,3.036,300,3.41,301,3.855,304,3.116,314,4.654,315,2.015,330,3.155,334,1.784,356,4.767,373,1.596,385,2.266,392,2.878,394,3.137,396,3.349,401,2.771,421,3.204,425,2.226,428,3.327,437,4.023,438,3.838,462,4.072,466,3.227,490,2.458,525,5.387,537,5.001,541,3.017,542,3.946,545,1.714,548,6.454,553,4.591,560,3.276,565,5.801,566,4.253,567,4.057,573,4.253,588,4.719,613,5.376,614,2.676,617,5.427,712,3.759,722,5.162,732,2.165,735,2.786,738,6.627,745,3.382,875,8.08,892,3.802,893,5.517,909,4.85,910,2.489,936,3.075,937,5.731,947,4.253,961,3.41,962,4.605,963,2.389,973,3.327,985,4.767,992,4.412,1004,5.185,1006,3.759,1026,4.719,1043,4.503,1067,4.183,1068,7.8,1118,4,1126,4.605,1141,4.057,1169,2.83,1171,4.253,1172,4.412,1211,4.85,1237,7.461,1296,5.002,1305,4.329,1393,5.002,1422,4.329,1634,4.412,1635,5.721,1686,4.503,1872,3.327,2117,4.057,2172,4.183,2939,6.187,2940,6.187,2941,6.187,2942,4.85,2943,6.187,2944,6.187]],["keywords/445",[]],["title/446",[4,99.401,25,63.794,67,385.977,196,298.574,264,278.105,875,507.977]],["content/446",[6,1.951,25,1.417,46,4.386,58,3.21,63,1.922,68,4.605,69,2.736,70,4.04,88,3.005,97,3.076,99,3.087,107,2.152,142,5.155,151,2.704,155,4.937,175,5.45,176,3.198,181,4.414,182,4.579,186,2.59,192,2.946,195,9.87,196,4.217,198,2.341,232,5.209,250,7.23,252,3.398,264,4.802,265,4.874,278,3.647,288,4.328,291,4.196,293,2.453,298,4.3,301,4.593,304,6.824,306,6.25,314,3.109,322,3.221,330,2.107,334,2.527,373,2.26,401,3.925,405,4.506,425,3.152,428,4.713,438,3.282,490,3.482,531,7.406,537,6.109,542,5.59,545,2.427,548,5.518,551,3.988,553,3.925,560,4.64,562,5.054,565,9.375,567,5.747,588,6.684,613,4.773,616,6.132,617,4.64,622,3.556,632,5.155,664,4.384,693,3.925,695,4.328,699,5.666,704,4.605,706,4.475,718,3.556,738,8.76,861,4.076,875,4.64,888,4.572,893,3.685,918,4.96,936,4.356,989,6.25,1001,7.344,1026,6.684,1031,6.379,1043,6.379,1065,7.971,1115,6.379,1118,5.666,1123,6.523,1157,5.209,1177,5.386,1232,7.085,1315,5.518,1395,6.523,1397,10.954,1541,6.869,1617,4.572,1619,7.669,2945,8.763,2946,8.763,2947,8.763]],["keywords/446",[]],["title/447",[988,1328.96]],["content/447",[4,1.335,6,1.742,25,1.493,33,2.327,49,6.06,58,4.718,63,2.825,70,3.141,97,4.522,99,4.538,107,3.164,142,7.578,151,3.974,181,3.432,182,4.139,195,6.821,196,6.456,199,10.752,250,6.874,252,4.995,255,5.25,264,6.013,284,4.569,301,2.936,428,6.928,437,7.063,462,7.151,536,4.417,537,4.222,541,6.281,613,4.538,617,6.821,732,4.507,738,8.329,866,7.578,875,9.53,892,7.916,893,5.416,910,5.183,937,5.626,962,9.588,1000,6.928,1015,9.826,1056,8.111,1057,10.415,1062,9.588,1063,10.796,1064,9.014,1068,7.657,1171,8.856,1172,9.187,1194,9.377,1597,11.273,2948,12.881]],["keywords/447",[]],["title/448",[52,190.408,100,255.91,275,230.102,670,915.022,672,429.789,874,306.375,1766,459.966]],["content/448",[]],["keywords/448",[]],["title/449",[37,178.358,51,254.223,256,499.793,308,343.888,539,494.15]],["content/449",[4,2.143,65,6.779,67,8.322,107,5.08,308,6.695,878,13.563,891,11.401,2845,16.722,2949,20.683,2950,18.1]],["keywords/449",[]],["title/450",[1766,1240.307]],["content/450",[2,4.577,4,1.295,5,4.405,6,1.706,9,5.717,16,6.425,22,3.279,61,6.72,63,3.863,86,5.049,87,4.342,107,3.069,114,3.632,131,6.336,171,3.263,192,4.201,200,4.662,201,4.826,202,3.844,205,3.247,219,4.644,240,2.79,252,4.845,271,4.432,286,7.679,288,6.171,301,2.848,308,4.045,432,9.258,452,8.148,479,10.585,514,4.479,527,6.425,551,5.686,556,4.463,557,7,645,7.351,711,5.303,735,5.626,901,4.77,932,5.686,943,6.567,972,8.194,1066,6.668,1152,8.317,1402,9.096,1444,5.912,1649,9.795,1718,9.096,1751,8.911,1766,16.93,1844,10.935,2589,7.679,2612,8.911,2724,9.3,2838,10.472,2951,12.495,2952,12.495,2953,8.194,2954,10.472,2955,12.495]],["keywords/450",[]],["title/451",[275,620.473]],["content/451",[5,4.696,6,2.106,7,3.743,9,5.486,10,6.77,12,4.181,19,3.595,37,2.013,44,4.764,51,4.094,53,5.065,65,3.93,92,5.113,107,2.945,148,6.916,200,4.474,232,7.128,275,7.243,281,4.65,286,7.37,293,3.357,308,7.041,322,4.408,329,5.344,350,10.494,373,3.093,375,6.256,440,5.547,499,8.992,527,6.166,544,4.474,556,7.126,557,6.798,582,6.726,694,5.96,703,4.474,773,4.726,785,3.657,870,9.4,901,4.577,983,7.128,1160,6.081,1178,8.108,1183,6.61,1251,8.729,1315,7.551,1351,8.926,1633,6.85,1656,13.278,1726,6.45,1751,8.552,1865,11.089,1983,8.729,2095,8.391,2530,11.089,2653,10.494,2867,11.089,2868,10.494,2869,11.089,2917,14.973,2956,11.992]],["keywords/451",[]],["title/452",[52,513.439]],["content/452",[4,1.803,5,2.65,6,1.188,22,3.221,33,2.249,46,3.973,52,6.394,60,6.49,63,2.692,107,3.015,110,5.414,114,5.057,152,2.444,154,4.512,186,5.142,201,4.741,202,3.776,217,6.214,222,4.743,254,7.296,256,5.774,271,6.171,272,5.233,273,2.692,286,7.543,297,3.482,308,5.631,322,4.512,325,8.589,396,4.01,400,5.527,431,11.35,512,8.271,515,6.062,520,5.556,549,6.451,569,6.023,580,5.646,582,6.885,635,10.741,659,5.646,692,6.267,693,5.498,694,6.101,695,6.062,698,7.936,785,3.743,792,7.079,901,4.685,936,6.101,1066,9.283,1262,7.543,1763,10.741,2172,8.299,2502,6.101,2531,10.741,2886,8.438,2957,12.274,2958,12.274,2959,11.35,2960,11.35,2961,12.274,2962,11.35]],["keywords/452",[]],["title/453",[874,826.145]],["content/453",[4,1.78,5,4.32,6,2.112,12,4.205,14,6.458,25,0.802,37,2.025,51,2.886,60,4.5,84,6.436,87,4.191,97,6.032,98,9.343,103,5.375,110,5.32,114,4.994,125,4.772,162,4.264,182,3.993,186,3.565,187,7.412,196,3.754,200,4.5,204,5.707,217,4.308,230,3.81,273,3.768,286,10.559,287,5.995,288,5.956,289,5.61,308,3.904,310,5.459,322,4.434,395,7.224,396,3.941,479,7.247,496,6.942,510,6.116,674,4.418,693,5.402,873,7.247,874,10.22,896,10.108,901,4.604,963,4.658,1028,6.956,1082,8.028,1140,8.977,1397,9.751,1786,9.454,1821,11.435,1822,8.977,1872,6.487,2488,8.78,2963,12.061,2964,9.454,2965,12.061,2966,10.555]],["keywords/453",[]],["title/454",[100,580.619,672,975.122]],["content/454",[1,4.743,4,1.103,6,1.519,7,3.323,10,4.212,33,1.376,37,1.787,51,5.492,53,6.628,58,6.827,61,5.725,63,2.334,70,2.596,86,6.341,87,5.453,98,4.56,100,6.903,103,4.743,107,2.614,110,4.695,125,7.375,149,4.415,154,3.913,186,3.146,187,6.541,200,3.971,201,4.111,205,2.765,246,3.362,264,3.086,272,4.538,278,2.865,289,4.951,299,6.62,308,6.033,311,4.56,334,3.069,357,7.591,373,4.807,381,3.435,395,4.475,396,3.478,452,4.923,489,7.922,491,13.568,492,10.61,496,4.301,519,5.725,569,5.223,672,13.642,864,6.98,886,3.802,940,6.467,958,4.923,1038,6.62,1049,6.541,1058,5.512,1207,6.138,1224,6.199,1444,5.036,1526,5.818,1631,6.024,1663,5.918,1821,7.084,2049,6.882,2098,6.702,2172,7.197,2254,6.024,2308,6.702,2714,7.317,2733,7.591,2770,9.842,2967,9.842,2968,9.842,2969,7.197,2970,9.314,2971,10.644,2972,9.842,2973,9.842]],["keywords/454",[]],["title/455",[75,1204.817]],["content/455",[4,2.191,5,2.435,6,1.092,9,5.16,16,5.799,20,5.051,33,2.117,37,1.893,40,4.305,51,5.373,69,3.52,75,15.144,79,5.972,92,8.217,100,7.83,111,4.255,114,4.759,125,4.462,171,2.945,186,3.333,189,5.758,192,3.792,196,3.51,200,4.208,205,4.253,206,6.86,240,2.518,254,6.704,271,6.836,273,2.473,297,3.199,308,5.299,329,8.588,334,3.252,350,9.869,361,6.326,366,5.432,373,2.908,375,5.883,382,5.799,385,4.131,396,3.685,417,7.371,442,8.209,468,5.16,545,3.124,736,4.223,879,4.391,894,4.322,1066,6.018,1170,5.758,1268,5.841,1434,8.602,1595,7.014,1694,7.892,1707,8.043,1718,8.209,1765,7.194,1989,8.394,2118,7.625,2974,11.278,2975,11.278,2976,9.869,2977,11.278,2978,9.869,2979,7.625]],["keywords/455",[]],["title/456",[202,482.305,689,857.071]],["content/456",[4,1.985,22,5.029,25,1.274,37,3.217,51,4.585,86,7.742,92,8.17,114,5.57,177,9.853,202,5.894,276,11.641,308,6.202,407,9.344,420,11.641,481,10.563,891,10.563,1631,10.845,2308,12.066]],["keywords/456",[]],["title/457",[5,256.976,152,236.98,217,425.189,322,437.561]],["content/457",[4,1.36,5,5.136,6,1.765,14,4.934,33,1.697,46,4.248,52,3.616,60,4.897,63,2.878,72,6.247,100,4.86,152,2.613,182,2.619,186,3.879,192,4.413,200,4.897,201,5.069,206,4.672,217,8.497,240,2.931,271,4.656,273,3.998,297,3.723,301,2.991,308,5.902,322,6.703,357,9.36,373,5.403,382,6.749,482,7.175,557,5.215,572,6.513,631,7.644,672,8.163,736,4.915,773,8.256,880,10.011,1183,7.235,1351,13.571,1548,8.372,1821,8.736,1990,9.769,2488,9.554,2953,8.607,2980,10.288,2981,13.125,2982,12.137,2983,12.137,2984,11.486,2985,11.486]],["keywords/457",[]],["title/458",[281,524.746,297,383.895,379,619.122]],["content/458",[2,3.307,4,2.234,6,0.874,7,2.819,12,3.148,18,3.016,23,2.572,25,0.6,37,3.179,51,4.531,52,3.82,53,3.814,58,3.307,65,2.959,69,2.819,70,4.116,72,4.297,86,3.648,88,3.096,97,3.17,99,3.181,107,2.218,116,8.436,164,2.835,177,4.643,183,5.316,200,3.369,201,3.487,202,2.777,204,4.272,215,4.745,219,6.273,230,5.982,246,2.852,264,4.019,275,4.617,281,8.362,297,2.561,301,2.058,308,6.613,311,3.868,330,4.912,364,4.895,373,2.329,375,4.71,402,5.207,425,4.988,432,8.87,437,5.441,444,6.318,467,3.192,487,5.686,506,4.895,538,4.488,556,3.225,716,3.26,736,3.381,741,5.486,853,5.158,894,5.313,897,5.921,906,4.895,1081,5.549,1112,5.367,1128,6.573,1169,4.131,1170,4.61,1339,6.21,1617,7.233,1706,5.921,1726,4.856,2242,7.078,2253,4.272,2429,6.439,2492,8.423,2502,4.488,2542,10.092,2560,5.921,2572,7.3,2606,7.901,2653,7.901,2733,6.439,2907,8.349,2986,9.029,2987,9.029,2988,7.3,2989,9.029,2990,9.029,2991,9.029]],["keywords/458",[]],["title/459",[60,584.959,297,444.782]],["content/459",[5,3.289,6,1.763,14,3.844,19,3.065,23,3.874,32,4.786,33,1.97,34,2.341,37,1.717,52,5.016,60,8.741,63,2.242,65,3.351,97,3.59,98,4.381,100,3.787,116,6.291,152,2.036,162,3.615,164,5.717,188,5.736,203,5.185,215,5.374,219,5.662,230,3.23,234,4.73,248,5.544,272,4.36,273,2.242,275,3.405,297,2.901,373,2.637,382,5.258,396,3.341,398,3.829,418,8.016,501,5.258,510,5.185,519,5.5,520,4.629,543,3.787,557,4.063,634,7.293,642,4.58,672,6.36,703,3.815,711,4.339,773,4.03,785,3.118,792,5.897,859,7.8,874,4.534,987,6.612,1030,5.018,1183,5.637,1219,7.338,1224,5.955,1345,9.474,1526,5.59,1692,9.456,1724,9.849,2197,8.016,2303,5.5,2502,5.083,2542,7.444,2992,9.456,2993,10.226,2994,10.226,2995,8.016,2996,10.226,2997,10.226,2998,10.226,2999,10.226,3000,9.456,3001,9.456,3002,10.226,3003,10.226,3004,10.226,3005,10.226]],["keywords/459",[]],["title/460",[297,444.782,1028,904.237]],["content/460",[4,2.327,6,1.454,7,6.237,12,6.966,14,5.644,25,0.667,37,1.684,45,2.845,46,3.246,51,3.593,53,6.342,67,4.035,87,3.485,98,4.296,144,6.163,155,2.989,156,7.95,161,3.168,167,4.359,173,5.961,200,3.742,210,6.675,264,2.907,271,3.557,275,4.999,289,10.444,308,5.825,310,4.539,321,6.163,373,4.641,375,7.832,439,7.018,499,7.89,645,5.9,740,4.665,773,3.952,785,4.578,865,6.577,874,4.446,901,3.828,910,4.035,932,4.564,996,4.539,1028,13.425,1030,7.367,1112,5.961,1141,9.846,1236,7.861,1242,11.769,1251,7.3,1315,6.315,1339,4.492,1388,9.577,1558,6.163,1633,5.729,1766,6.675,1852,8.405,1914,7.152,1961,5.961,2252,6.093,2253,7.104,2254,12.709,2492,10.933,2964,7.861,3006,9.274,3007,8.405,3008,9.274,3009,10.029,3010,10.029,3011,9.274]],["keywords/460",[]],["title/461",[37,227.19,703,504.882,958,625.942]],["content/461",[4,0.841,5,2.755,6,1.235,7,2.533,20,7.064,34,1.858,37,3.263,40,3.098,49,6.003,51,4.278,52,4.926,70,3.112,79,4.297,88,2.782,92,3.46,114,2.359,122,6.922,131,6.471,148,4.68,154,2.983,176,2.961,191,5.375,192,2.728,193,7.163,200,3.027,219,3.016,237,5.321,240,2.849,271,2.878,275,5.251,287,4.033,361,4.552,398,4.779,457,5.487,476,4.93,490,3.224,498,5.047,507,7.936,519,4.364,539,5.935,545,2.248,636,6.975,693,3.635,697,5.176,703,8.956,711,6.692,737,2.728,858,4.087,874,3.598,944,8.846,958,9.986,1109,4.202,1143,8.25,1180,4.876,1313,10.628,1320,6.863,1339,3.635,1365,5.907,1377,3.796,1435,6.04,1466,5.907,1526,6.975,1631,4.593,1697,4.593,1705,10.317,1710,6.19,1711,5.321,1712,5.678,1713,9.693,1718,5.907,1723,16.29,1741,6.801,1766,13.737,1768,7.504,1771,7.101,1783,5.579,1993,5.487,2502,6.343,2534,6.801,2612,5.787,2718,7.504,2912,7.936,2972,11.8,3012,7.504,3013,8.115,3014,7.504,3015,8.115,3016,8.115,3017,8.115,3018,8.115,3019,6.801,3020,7.101]],["keywords/461",[]],["title/462",[63,343.83,689,857.071]],["content/462",[4,1.208,5,3.62,20,10.19,37,2.815,60,4.349,63,4.989,64,7.881,65,3.82,67,4.69,86,6.775,92,4.97,122,5.116,152,2.321,182,2.326,186,3.445,187,7.163,189,5.952,197,8.313,202,3.586,217,4.164,248,6.32,271,4.135,275,3.881,297,3.307,301,2.657,334,3.361,373,4.324,392,5.422,407,5.684,440,5.392,519,6.269,523,6.269,543,4.317,572,4.164,625,8.891,675,7.798,689,6.372,704,6.126,716,4.208,771,4.67,785,5.113,786,4.993,792,6.722,853,6.659,874,5.168,881,8.485,900,10.778,901,4.449,902,6.659,1146,10.778,1426,8.891,1427,6.22,1706,7.644,1707,8.313,1708,8.013,1766,7.758,1984,7.435,2131,7.004,2183,8.485,2197,9.137,2502,5.794,2554,10.778,2714,8.013,2884,9.769,3021,11.656,3022,11.656,3023,10.778,3024,11.656,3025,11.656,3026,16.766,3027,11.656,3028,11.656,3029,11.656]],["keywords/462",[]],["title/463",[301,357.335,786,671.65]],["content/463",[2,4.899,4,1.386,5,4.317,6,2.049,10,3.41,12,6.441,22,2.262,33,2.119,44,3.724,52,5.09,53,3.64,98,7.914,100,6.841,103,3.84,107,2.117,111,3.252,148,4.97,155,2.569,162,3.046,173,5.123,193,6.567,198,3.573,201,3.329,222,2.35,248,4.673,264,2.498,275,2.87,289,6.221,301,3.736,308,4.329,311,5.73,325,9.359,334,3.856,393,4.635,395,3.624,438,3.227,458,4.009,482,4.711,489,6.415,492,5.827,496,3.482,515,6.605,561,4.054,672,12.437,673,4.496,675,6.221,736,5.009,786,5.73,864,5.652,874,8.866,886,4.778,888,8.551,921,4.463,1028,7.714,1030,4.229,1058,4.463,1109,4.463,1204,4.432,1242,6.755,1251,6.273,1309,4.054,1313,5.123,1339,5.991,1602,9.958,1651,7.714,1663,7.437,1732,7.542,1766,5.736,1981,5.736,2049,5.572,2062,5.736,2253,4.078,2254,7.57,2449,7.969,2502,4.284,2714,11.268,2837,7.542,2898,7.542,2954,7.223,2973,7.969,3030,6.968,3031,8.618,3032,8.618,3033,8.618,3034,8.618,3035,8.618,3036,8.618,3037,7.969,3038,8.618,3039,7.969,3040,8.618]],["keywords/463",[]],["title/464",[230,427.504,527,695.85,675,629.441]],["content/464",[2,3.265,4,0.924,5,1.924,6,2.077,10,5.432,12,3.108,20,6.149,22,2.339,52,4.613,63,1.955,86,3.602,98,8.7,100,6.2,103,3.972,107,2.189,116,3.681,152,3.744,156,4.72,193,3.571,198,2.381,201,3.443,206,3.173,217,3.184,230,6.777,246,4.337,248,4.833,272,3.8,275,4.571,278,2.399,289,4.146,298,4.374,301,3.129,319,3.972,325,6.237,330,3.3,334,2.57,356,4.146,375,4.65,381,2.876,389,4.583,391,4.489,393,4.794,455,6.573,482,4.872,527,7.059,648,5.613,672,10.412,675,6.385,706,4.551,716,4.956,736,3.338,785,2.718,861,4.146,864,5.845,874,8.338,888,7.161,891,7.567,918,5.045,929,8.242,940,8.34,1028,7.917,1055,4.43,1300,4.1,1308,5.045,1339,3.992,1526,4.872,1602,11.426,1713,11.631,1946,7.206,1984,5.686,2036,6.987,2254,5.045,2502,4.43,2773,7.8,2964,6.987,3041,7.206,3042,8.242,3043,7.8,3044,8.913,3045,7.47,3046,8.913,3047,13.728,3048,13.728,3049,8.913,3050,8.913,3051,8.913,3052,7.8,3053,8.913,3054,8.913,3055,8.913,3056,8.913,3057,8.913,3058,6.799]],["keywords/464",[]],["title/465",[527,695.85,674,495.646,675,629.441]],["content/465",[2,5.272,5,3.108,15,11.312,52,5.352,63,3.157,100,7.193,152,3.867,189,7.35,193,5.767,230,4.547,248,10.531,275,6.467,289,6.695,301,3.281,407,7.019,482,7.869,672,12.08,674,8.052,675,6.695,736,5.391,771,5.767,864,9.44,874,8.611,888,7.509,891,7.935,1028,8.302,1030,7.064,1109,7.455,1427,7.681,1602,8.745,1713,7.804,1981,9.581,2254,8.147,2502,7.155,3045,12.064,3059,14.395,3060,19.423,3061,14.395,3062,14.395,3063,14.395,3064,14.395,3065,14.395,3066,14.395]],["keywords/465",[]],["title/466",[215,711.201,230,427.504,792,780.453]],["content/466",[2,4.869,6,1.781,52,5.068,62,5.694,63,2.915,86,5.371,100,7.811,103,8.197,105,7.207,152,3.662,193,5.326,215,6.986,230,4.199,248,7.207,275,4.426,289,6.183,301,3.029,308,4.303,319,5.923,373,3.428,381,4.289,482,7.266,490,8.381,648,8.37,672,13.118,675,6.183,736,4.978,785,5.609,792,10.608,859,10.139,864,8.717,874,9.351,891,7.327,1028,10.608,1339,8.239,1444,6.29,1713,7.207,2254,7.524,2502,6.607,3045,11.14,3067,11.632,3068,13.292,3069,13.292,3070,13.292,3071,13.292,3072,13.292,3073,13.292,3074,13.292,3075,12.292,3076,13.292]],["keywords/466",[]],["title/467",[215,711.201,674,495.646,792,780.453]],["content/467",[2,6.293,6,1.168,12,4.205,51,2.886,52,4.734,86,4.874,88,4.135,98,5.167,100,8.076,152,3.984,193,4.832,201,4.658,219,4.483,230,5.428,248,6.539,275,4.016,281,4.677,289,7.991,301,2.749,381,3.892,385,4.418,407,5.881,420,7.328,482,6.593,496,4.874,512,4.937,561,8.083,597,9.454,642,5.402,672,12.446,674,7.988,675,5.61,688,7.328,711,5.118,740,5.61,775,8.226,792,6.956,864,7.909,874,8.872,888,6.292,891,6.649,940,7.328,1028,9.908,1030,8.431,1602,7.328,2062,8.028,2254,9.724,2502,5.995,2898,10.555,3045,10.108,3075,11.153,3077,12.061,3078,12.061,3079,12.061,3080,12.061,3081,12.061,3082,12.061,3083,12.061,3084,12.061,3085,12.061,3086,11.153]],["keywords/467",[]],["title/468",[63,343.83,988,1118.181]],["content/468",[4,2.465,6,1.271,7,4.097,12,4.576,15,7.644,44,3.655,49,6.175,51,3.141,60,4.897,72,6.247,86,5.303,103,5.849,114,3.815,173,7.802,191,5.481,200,4.897,201,7.042,215,6.898,264,5.286,273,2.878,275,4.37,281,5.089,289,8.481,301,4.156,311,5.622,329,5.849,375,6.847,484,7.362,490,5.215,496,5.303,499,6.898,519,7.059,556,4.688,557,5.215,577,8.163,672,8.163,786,5.622,792,7.569,874,5.819,886,6.513,888,6.847,894,5.03,901,5.01,963,5.069,1028,7.569,1030,8.947,1109,6.797,1726,7.059,1821,8.736,1931,8.265,2206,9.769,2714,9.023,2837,11.486,2964,10.288,3058,10.011,3087,13.125,3088,13.125]],["keywords/468",[]],["title/469",[329,698.67,512,641.789]],["content/469",[2,5.289,4,1.496,5,4.202,6,1.398,19,4.329,25,1.294,33,1.867,37,2.424,40,3.636,45,2.702,46,3.083,52,3.979,53,4.023,60,3.553,62,4.08,63,5.017,69,5.445,70,2.323,98,6.186,152,3.473,156,5.044,176,3.476,188,5.342,191,5.244,193,5.786,219,5.368,223,4.898,230,3.009,241,3.54,246,3.009,248,5.164,249,5.391,273,3.167,275,4.809,288,4.704,301,3.291,319,4.244,329,4.244,381,3.074,382,4.898,391,4.797,432,5.006,452,4.406,458,4.43,490,3.784,496,3.849,512,9.013,514,5.177,519,5.123,537,3.122,554,4.56,564,4.406,637,5.441,689,5.206,736,3.567,785,2.904,786,6.186,861,4.43,874,4.223,894,3.65,915,7.089,936,4.734,1028,8.329,1038,5.924,1193,7.265,1205,7.466,1427,5.083,1444,4.507,1595,5.924,1610,5.924,1614,7.374,1713,5.164,1843,9.212,2253,4.507,2488,6.933,2531,8.335,2823,7.7,2900,6.34,3089,13.354,3090,9.524,3091,9.524,3092,7.089,3093,9.524,3094,8.335,3095,9.524,3096,9.524]],["keywords/469",[]],["title/470",[331,1013.728,512,641.789]],["content/470",[6,1.907,10,5.816,12,5.125,16,10.129,33,1.901,37,3.307,51,4.714,53,6.209,62,6.297,63,3.224,85,7.08,87,5.108,100,5.443,103,6.55,189,7.506,200,5.484,219,5.464,289,6.837,297,4.17,330,3.534,331,12.736,373,3.791,391,7.404,396,4.803,452,6.799,492,9.939,496,5.94,512,8.063,525,7.725,606,11.522,674,5.384,785,4.483,894,5.633,1028,8.477,1032,10.105,1268,7.613,1435,10.941,1706,9.639,1852,12.319,2254,8.32,2336,11.884,3097,12.864,3098,14.699,3099,14.699,3100,14.699]],["keywords/470",[]],["title/471",[191,471.331,879,610.406]],["content/471",[4,1.985,23,2.92,25,1.674,398,7.176,432,10.07,523,12.553,596,13.408,885,13.948,2427,14.616,2510,16.768,2514,16.768,2515,14.262,2715,17.718,3101,19.161,3102,19.161]],["keywords/471",[]],["title/472",[23,133.27,25,58.151,33,113.071,181,232.993,315,284.809,480,314.57,1643,706.971]],["content/472",[]],["keywords/472",[]],["title/473",[33,174.985,181,360.573,1110,773.065]],["content/473",[5,3.853,6,1.728,62,7.646,69,5.571,70,4.353,103,7.953,107,5.487,176,6.513,181,4.756,182,3.561,185,4.311,186,5.275,205,4.637,222,4.867,227,9.177,278,4.804,392,8.302,496,7.212,564,8.255,581,7.574,938,13.99,1228,12.729,1734,16.504,2520,16.504,2920,16.504]],["keywords/473",[]],["title/474",[149,493.733,709,731.52,713,769.603,1300,547.547]],["content/474",[33,2.195,70,4.14,147,10.828,149,7.041,154,6.24,181,4.523,182,3.387,222,4.629,230,5.363,240,4.833,402,9.79,446,12.635,455,8.128,543,6.286,652,8.128,674,6.217,708,10.689,711,7.204,713,10.975,785,5.177,893,7.137,909,13.306,910,6.83,923,11.132,1134,9.608,1152,11.299,2588,12.357,2656,15.697,3103,16.975,3104,16.975,3105,15.697]],["keywords/474",[]],["title/475",[108,620.948,281,461.561,379,544.573,985,553.65]],["content/475",[6,2.106,33,2.213,51,4.095,69,5.343,70,4.174,72,8.146,88,5.868,181,4.56,185,4.134,201,6.61,246,5.407,281,9.76,316,12.458,322,6.291,330,4.115,379,7.83,432,8.995,444,11.976,468,7.83,545,4.74,611,10.777,613,6.029,641,11.976,1006,10.398,1178,11.572,1356,10.917,3106,17.115]],["keywords/475",[]],["title/476",[6,102.858,301,242.127,537,348.193,1308,601.311,2625,810.359]],["content/476",[6,1.567,33,2.093,78,13.563,107,3.975,111,6.107,181,4.312,184,3.51,185,5.07,240,4.687,264,4.692,301,4.784,330,3.891,347,7.445,395,6.805,402,9.334,437,6.352,490,6.43,537,6.879,544,6.038,545,4.483,607,8.774,614,7,664,8.097,732,5.662,735,7.287,907,9.946,1055,8.044,1141,10.613,1167,11.126,1339,7.249,1582,12.046,2705,13.563,3107,16.184,3108,14.965]],["keywords/476",[]],["title/477",[149,493.733,240,265.779,718,483.032,1313,707.558]],["content/477",[6,1.592,70,4.009,107,4.038,181,4.38,184,3.565,185,3.971,191,4.942,205,4.271,220,5.811,222,4.483,230,5.193,240,4.734,264,4.766,490,6.532,581,8.998,674,6.021,694,8.171,711,6.976,717,7.871,751,10.103,887,9.574,963,6.349,991,9.062,994,8.842,1007,11.143,1606,14.576,1663,9.14,3109,13.777,3110,13.777,3111,16.439,3112,16.439,3113,16.439]],["keywords/477",[]],["title/478",[18,268.36,110,354.378,196,250.045,243,369.555,627,629.736,1197,562.176,1320,432.085,1384,552.302]],["content/478",[6,1.63,18,7.192,33,2.177,110,7.427,156,8.916,181,4.486,184,3.651,185,4.067,205,5.594,206,5.994,243,7.746,252,6.529,264,4.881,278,4.533,299,10.472,307,9.711,329,7.503,334,4.855,355,6.635,366,8.11,563,7.213,636,9.204,715,12.533,736,6.306,912,8.784,1017,12.533,1187,10.887,2127,14.735,2617,13.199,3114,12.257,3115,16.838]],["keywords/478",[]],["title/479",[23,133.27,25,58.151,33,113.071,181,232.993,437,343.191,462,347.44,1066,466.623]],["content/479",[3,9.062,6,1.423,7,6.149,25,1.478,33,2.873,50,8.103,51,3.517,52,4.05,99,5.178,107,3.611,181,5.249,184,3.188,205,3.819,264,4.261,273,3.224,284,5.214,373,3.791,414,5.746,480,5.288,514,5.269,537,4.818,541,7.168,544,5.484,545,4.071,554,7.038,659,6.762,735,6.618,863,8.477,875,7.784,877,8.173,934,9.034,1042,9.504,1049,9.034,1180,8.832,1264,10.941,2052,11.212,3116,14.699,3117,14.699,3118,14.699,3119,14.699,3120,14.699,3121,14.699,3122,14.699,3123,14.699]],["keywords/479",[]],["title/480",[19,405.656,1378,841.635,1663,752.413]],["content/480",[5,1.984,6,0.89,22,3.688,23,4.242,24,4.85,25,0.611,32,1.944,33,1.817,34,3.217,35,2.635,37,1.543,49,4.323,111,5.302,151,2.835,161,4.439,164,2.885,167,3.993,171,2.399,181,3.744,183,5.374,184,1.993,185,2.22,198,3.754,202,2.826,220,3.248,222,2.505,224,5.173,225,3.294,226,4.692,271,3.259,273,2.015,275,3.059,301,2.094,315,2.993,330,3.378,355,5.537,407,4.481,438,3.441,480,5.055,537,3.011,543,3.403,563,3.936,572,3.282,630,7.024,642,4.116,734,4.628,737,3.089,758,3.974,764,5.023,765,4.605,767,8.027,770,4.538,771,5.63,772,3.811,773,5.537,776,6.688,777,4.094,778,6.839,780,4.866,804,4.453,936,4.567,1157,11.359,1166,6.025,1168,6.025,1170,4.692,1257,4.204,1345,5.715,1346,7.009,1391,7.429,1406,7.202,1444,6.649,1540,5.715,1558,5.647,2125,7.429,3124,9.188,3125,9.188,3126,8.497,3127,9.188,3128,9.188]],["keywords/480",[]],["title/481",[25,79.157,46,385.295,181,317.157,315,387.69]],["content/481",[4,1.162,6,1.086,22,2.944,23,4.034,25,1.084,45,4.626,69,3.502,70,2.735,97,3.938,116,4.632,124,4.201,136,6.469,155,3.343,156,5.94,176,4.093,181,2.989,184,2.432,185,4.641,202,3.45,220,3.965,224,3.401,225,4.021,228,4.899,230,3.543,239,5.727,240,4.709,278,4.389,315,6.87,330,2.697,347,7.501,396,3.665,477,9.497,490,4.457,520,5.077,545,4.517,554,5.371,573,7.711,586,8.349,616,7.849,632,6.599,652,5.371,735,5.05,740,5.217,745,6.132,901,4.282,952,6.349,1024,7.671,1157,6.668,1169,5.132,1173,6.668,1177,6.893,1329,5.688,1339,5.024,1342,11.025,1343,6.668,1346,8.556,1347,6.976,1361,6.033,1571,7.584,1924,10.372,2102,9.069,3129,11.217,3130,11.217,3131,11.217,3132,11.217,3133,11.217,3134,11.217]],["keywords/481",[]],["title/482",[33,153.915,181,317.157,480,428.201,932,541.649]],["content/482",[6,1.365,19,2.767,22,4.49,23,4.202,24,4.867,25,0.614,32,2.984,33,1.823,34,3.228,35,2.647,37,2.872,45,2.618,70,2.251,87,3.207,92,3.935,98,3.954,151,2.847,152,1.837,155,2.751,161,2.916,167,4.011,176,3.368,181,2.459,185,2.229,192,3.103,198,2.465,224,2.798,271,3.274,275,3.073,307,8.131,334,2.661,355,5.556,385,3.38,480,8.14,536,3.164,564,4.269,572,3.297,590,3.935,630,6.289,726,6.718,737,5.752,740,4.293,758,3.992,764,5.045,765,3.025,767,5.272,770,4.558,771,6.855,772,3.828,773,5.556,776,6.711,777,4.113,780,4.887,863,8.131,914,4.342,932,4.2,1103,6.458,1121,9.116,1262,8.665,1400,9.596,1402,6.718,1628,5.429,1894,10.754,1895,7.04,1897,11.399,2052,7.04,2057,6.345,2079,5.272,2220,8.076,3135,9.229,3136,9.229,3137,9.229,3138,9.229,3139,17.108,3140,8.534]],["keywords/482",[]],["title/483",[191,471.331,879,610.406]],["content/483",[6,1.389,25,1.386,33,2.243,37,1.585,44,2.628,63,2.07,70,3.498,97,3.313,100,3.495,107,4.261,114,2.744,122,4.143,124,3.535,149,5.949,152,1.879,156,4.998,181,6.076,184,2.047,185,4.19,199,4.519,200,3.521,202,2.903,222,5.283,225,3.383,240,3.202,255,3.847,264,2.736,273,2.07,278,3.861,281,3.66,301,3.269,311,4.043,314,3.348,315,3.074,379,4.318,409,6.02,425,3.395,480,3.395,486,5.61,512,3.863,514,3.383,515,4.661,523,5.076,536,3.236,537,4.7,544,3.521,545,3.972,554,4.519,563,4.043,617,4.998,638,5.443,656,5.61,705,5.497,706,4.819,708,5.943,713,6.102,717,4.519,718,5.82,732,5.018,742,4.272,763,4.819,857,7.375,863,5.443,872,4.754,892,5.8,893,6.03,923,6.189,932,6.526,985,4.39,1007,4.96,1057,7.631,1110,5.392,1121,6.102,1158,5.8,1183,5.203,1187,6.102,1207,5.443,1326,5.8,1427,5.036,1541,7.398,1562,6.87,1847,7.025,1890,7.398,2123,7.398,2176,7.398,2588,6.87,2705,7.91,3141,9.438,3142,8.727,3143,9.438,3144,9.438,3145,9.438,3146,9.438,3147,9.438,3148,9.438,3149,9.438,3150,9.438,3151,9.438]],["keywords/483",[]],["title/484",[25,79.157,97,417.878,544,444.09,618,731.52]],["content/484",[]],["keywords/484",[]],["title/485",[401,606.144,544,504.882,618,831.659]],["content/485",[63,4.126,70,4.588,79,9.963,96,10.649,235,11.702,399,10.285,428,10.119,512,7.702,536,6.451,544,7.02,556,6.721,618,14.185,732,6.583,893,7.911,986,12.935,1019,11.848,1227,12.338,1540,11.702,3152,18.815]],["keywords/485",[]],["title/486",[62,455.105,70,259.088,544,396.364,618,652.904,893,446.695]],["content/486",[70,5.093,107,3.945,149,6.661,181,5.564,182,3.204,192,5.399,240,3.586,264,4.656,265,5.777,278,4.323,315,5.231,330,3.861,391,8.089,392,9.714,425,5.777,490,6.381,539,7.47,544,5.991,618,9.869,661,10.244,675,7.47,706,8.2,708,10.112,709,9.869,713,10.383,717,7.689,785,4.897,923,10.531,1127,10.112,1161,12.588,1332,8.637,2095,11.238,2126,10.689,3153,13.459,3154,16.059,3155,16.059]],["keywords/486",[]],["title/487",[40,454.363,62,509.904,552,625.565,1007,625.565]],["content/487",[70,4.873,131,7.615,149,6.229,152,2.99,184,3.257,185,3.628,225,7.163,240,5.014,243,9.192,278,5.379,315,6.508,321,9.229,330,3.611,334,4.33,381,4.846,385,5.5,513,11.878,545,4.16,550,8.5,553,6.726,622,6.094,627,11.771,711,8.48,717,7.19,718,6.094,736,5.624,858,7.564,1011,10.154,1050,10.71,1116,7.464,1141,13.104,1239,12.585,1339,6.726,1377,7.025,1779,10.324,1803,11.178,3156,15.017,3157,15.017]],["keywords/487",[]],["title/488",[25,70.65,97,372.969,264,307.993,544,396.364,618,652.904]],["content/488",[25,1.403,97,7.408,177,10.851,246,6.666,407,10.29,544,7.873,618,12.969,891,11.632]],["keywords/488",[]],["title/489",[33,137.374,185,256.637,544,396.364,618,652.904,1676,982.391]],["content/489",[3,5.392,5,2.531,6,1.63,8,6.207,18,3.916,21,6.76,25,1.31,33,2.177,37,2.826,52,3.23,63,2.571,69,3.659,70,4.105,85,5.646,100,4.341,107,2.879,114,3.408,122,5.145,155,3.494,181,3.123,182,2.339,185,5.507,186,3.465,192,3.941,198,3.131,220,4.144,230,5.318,240,2.617,241,4.357,252,4.545,264,3.398,301,2.671,314,4.158,315,3.818,330,4.047,385,4.293,388,6.575,398,4.39,425,4.217,467,4.144,468,5.363,483,6.304,490,4.657,496,4.736,544,6.28,545,4.663,617,6.207,618,7.204,704,6.16,706,5.985,785,3.575,861,5.452,910,4.716,915,8.725,923,11.039,957,7.121,993,5.646,1110,6.696,1127,7.381,1173,6.968,1329,5.944,1330,9.188,1430,9.477,1603,8.941,1677,10.258,1989,8.725,2624,8.941,3158,9.477,3159,10.258,3160,11.722,3161,10.839,3162,10.839]],["keywords/489",[]],["title/490",[301,242.127,330,255.425,537,348.193,544,396.364,545,294.262]],["content/490",[4,1.272,6,1.188,18,4.1,25,1.462,33,1.587,44,4.844,51,2.937,63,2.692,69,3.832,88,4.209,99,4.324,116,7.184,152,2.444,166,6.655,183,3.866,184,2.662,185,2.965,230,3.878,240,2.741,246,3.878,273,4.431,281,7.835,301,2.797,311,5.258,329,5.47,330,4.858,360,7.012,371,6.403,373,3.165,381,3.961,393,6.602,400,5.527,425,6.258,500,8.589,537,4.023,543,4.545,544,6.49,545,4.818,593,9.621,614,5.309,622,4.981,683,8.589,688,7.457,718,7.059,740,5.709,762,9.136,858,6.182,921,6.357,982,9.283,1006,7.457,1065,7.221,1077,6.947,1081,7.543,1118,7.936,1176,7.012,1927,8.935,1969,9.621,2152,9.362,2288,8.299,2322,10.741,2736,10.741,3108,11.35,3163,12.274]],["keywords/490",[]],["title/491",[184,340.004,240,350.087]],["content/491",[4,0.769,5,1.602,6,1.44,25,1.237,33,0.96,37,1.246,44,3.31,69,3.711,70,1.81,88,4.076,107,2.92,116,4.909,131,6.028,152,1.477,161,2.344,181,4.53,182,1.481,184,2.578,185,4.494,186,2.193,205,4.418,222,4.055,225,6.669,226,6.07,230,2.344,240,4.432,255,3.024,278,4.003,301,3.389,314,4.217,315,3.872,321,7.305,330,4.773,347,5.468,348,4.2,356,3.452,361,4.162,387,4.322,391,3.738,392,5.529,395,3.12,398,4.452,425,4.276,440,5.498,455,3.553,457,5.018,462,2.949,489,5.524,499,3.9,520,3.359,529,4.2,536,2.544,537,4.873,539,3.452,543,2.748,544,4.435,545,4.119,556,2.651,564,3.432,565,4.2,613,2.614,617,3.93,618,7.305,622,3.011,632,4.366,634,5.292,637,4.239,652,3.553,663,4.091,696,4.615,706,3.789,717,3.553,732,2.596,745,6.498,786,3.179,856,9.614,857,6.112,861,3.452,884,6.923,892,4.561,893,3.12,923,4.866,961,4.091,993,3.574,996,3.359,1006,4.509,1035,4.509,1053,5.817,1055,7.391,1116,5.908,1155,5.018,1158,4.561,1173,4.411,1176,6.791,1189,9.248,1540,4.615,1562,5.402,1618,6.862,1620,6,1643,6,1782,5.292,1905,6.862,1984,4.734,2023,3.619,2589,7.305,2624,5.66,2671,4.866,3164,7.421,3165,7.421,3166,7.421,3167,11.342,3168,9.962,3169,9.318,3170,5.66,3171,7.421,3172,7.421]],["keywords/491",[]],["title/492",[250,635.181,544,444.09,554,569.907,618,731.52]],["content/492",[]],["keywords/492",[]],["title/493",[19,469.995,257,702.281]],["content/493",[23,3.423,46,4.861,152,4.766,167,8.684,183,4.73,188,8.423,224,4.553,330,3.611,496,6.068,538,9.932,545,4.16,611,9.456,622,6.094,716,5.422,734,10.064,735,6.762,748,12.141,806,7.233,811,11.178,820,10.324,821,12.141,824,10.509,825,10.154,974,9.579,1006,9.124,1093,12.141,1099,13.886,1170,7.668,1356,9.579,1430,12.141,1479,8.423,1769,12.585,3173,13.886,3174,10.154,3175,15.017,3176,19.982,3177,13.886,3178,15.017,3179,15.017]],["keywords/493",[]],["title/494",[19,469.995,99,552.327]],["content/494",[4,1.36,6,1.765,18,4.384,22,3.444,23,3.985,25,1.213,32,2.778,54,5.704,99,7.975,151,4.049,154,4.825,158,8.265,161,4.146,162,4.64,164,4.122,166,7.116,224,3.98,252,5.089,273,2.878,293,3.674,304,6.611,330,3.156,427,4.825,517,7.116,545,5.05,557,5.215,642,5.879,734,6.611,819,9.184,820,9.023,825,8.874,826,12.48,936,6.524,947,9.023,974,8.372,983,7.802,1006,7.974,1024,6.175,1061,8.163,1124,8.486,1170,9.31,1177,8.066,3174,8.874,3180,18.233,3181,13.125,3182,13.125,3183,13.125,3184,13.125,3185,13.125]],["keywords/494",[]],["title/495",[264,345.078,544,444.09,577,740.294,618,731.52]],["content/495",[4,1.188,5,3.576,6,1.604,18,3.829,25,0.762,37,3.266,52,3.159,69,3.579,70,4.744,88,3.931,161,3.621,176,4.184,181,3.055,184,2.486,205,4.304,206,4.081,225,6.973,226,5.854,240,4.758,265,4.124,271,4.066,277,9.554,278,3.086,315,3.734,326,12.985,330,2.756,394,5.813,395,4.82,398,4.293,427,4.214,544,6.181,618,10.181,622,4.652,632,6.744,663,6.319,689,6.267,693,5.135,695,5.661,703,6.181,718,4.652,732,4.011,745,6.267,806,5.522,855,6.814,861,7.705,865,7.518,869,7.518,958,5.303,993,5.522,1035,6.965,1128,8.345,1147,6.319,1173,9.847,1232,9.268,1310,6.676,1330,8.986,1656,7.63,1738,10.601,1779,7.881,1846,8.345,1889,7.219,1965,8.022,2023,5.59,2051,9.607,2588,8.345,2624,8.744,2779,7.045,3092,8.533,3110,9.607,3168,9.607,3186,9.268,3187,11.464]],["keywords/495",[]],["title/496",[225,485.1,226,690.985,227,695.85]],["content/496",[4,1.188,6,1.604,14,4.309,16,5.895,25,0.762,44,3.192,54,7.2,70,2.796,107,2.816,114,3.333,152,2.282,193,4.593,205,2.979,206,4.081,222,3.126,225,5.938,229,9.292,230,5.233,231,11.814,240,4.343,264,3.323,271,5.876,277,9.554,329,5.108,330,2.756,347,7.62,457,7.751,516,5.895,545,3.175,562,6.611,565,6.488,590,4.888,593,8.986,622,4.652,632,6.744,637,6.549,732,4.011,737,3.854,739,7.412,751,7.045,857,5.895,876,7.13,901,4.376,972,7.518,1042,7.412,1046,9.268,1108,7.751,1110,9.463,1116,5.698,1177,10.181,1219,5.522,1238,8.022,1310,9.648,1552,7.881,1558,7.045,1722,8.345,1731,9.607,1871,9.268,1889,7.219,1987,8.744,1989,8.533,2058,7.313,2152,8.744,2243,9.607,2259,10.032,2429,8.176,2779,7.045,2969,7.751,3188,10.601,3189,10.601,3190,10.601,3191,11.464,3192,11.464,3193,11.464,3194,11.464,3195,11.464,3196,8.986]],["keywords/496",[]],["title/497",[4,140.222,544,504.882,618,831.659]],["content/497",[4,1.78,19,3.615,44,3.358,70,2.941,107,2.963,181,3.214,222,3.289,230,3.81,240,3.836,264,3.497,278,3.247,301,2.749,314,4.278,322,7.357,334,3.478,484,6.765,501,8.834,531,6.593,537,3.953,544,4.5,545,3.341,618,10.559,650,6.956,664,6.034,692,6.159,693,5.402,697,7.694,717,5.775,732,6.011,785,5.239,875,6.387,905,7.17,957,10.438,1000,9.24,1035,7.328,1108,8.155,1127,10.819,1149,15.035,1158,7.412,1207,9.908,1238,8.44,1315,7.595,1394,10.108,1748,11.153,1767,10.108,1779,8.292,1782,8.602,1787,9.454,2023,8.378,2057,8.292,2301,7.694,2588,8.78,2625,9.2,3168,10.108,3196,13.467,3197,12.061,3198,12.061,3199,11.153,3200,12.061,3201,12.061,3202,9.751,3203,12.061,3204,12.061,3205,12.061,3206,12.061,3207,12.061,3208,12.061]],["keywords/497",[]],["title/498",[191,471.331,879,610.406]],["content/498",[25,1.606,29,5.121,46,3.997,70,4.944,97,4.335,105,6.694,107,4.291,125,4.886,162,4.365,171,3.224,181,3.29,190,5.775,191,3.712,193,4.947,265,4.442,297,3.503,301,2.814,315,4.021,392,5.743,398,4.624,462,4.906,523,9.395,537,4.047,544,6.517,545,3.42,618,12.458,622,5.01,637,7.053,648,7.775,660,6.926,708,7.775,717,5.912,735,5.559,740,5.743,853,7.053,861,5.743,872,6.219,883,9.471,884,7.191,885,12.716,886,6.24,892,7.588,893,5.191,923,8.097,993,5.947,1005,9.418,1067,8.348,1151,7.983,1165,8.097,1168,8.097,1330,9.678,1391,14.123,1595,7.679,2089,8.097,2532,10.348,2815,11.417,3209,12.347,3210,12.347,3211,12.347,3212,10.805,3213,12.347,3214,12.347]],["keywords/498",[]],["title/499",[25,63.794,33,124.043,200,357.9,264,278.105,1152,638.508,2141,611.918]],["content/499",[]],["keywords/499",[]],["title/500",[200,504.882,264,392.317,1152,900.729]],["content/500",[1,5.375,5,2.604,29,7.126,70,4.19,85,5.81,87,4.191,96,6.827,122,5.294,149,7.126,151,3.721,155,3.595,176,6.27,181,4.578,182,2.406,186,3.565,192,4.055,195,6.387,196,3.754,199,5.775,200,7.466,256,5.674,264,6.323,298,5.918,301,2.749,314,4.278,331,7.798,392,5.61,423,7.412,462,4.792,524,7.909,536,4.135,545,3.341,550,6.827,553,7.695,554,5.775,560,6.387,561,5.674,637,6.89,697,7.694,712,7.328,718,4.894,862,7.595,875,6.387,893,5.071,962,8.977,985,5.61,992,8.602,1030,5.918,1046,9.751,1069,10.108,1082,8.028,1152,8.028,1191,7.694,1427,6.436,1546,10.108,1610,7.501,1651,6.956,1872,6.487,2032,9.751,2124,10.555,2141,13.912,2240,11.153,2253,5.707,2430,10.108,3215,12.061,3216,12.061,3217,12.061,3218,12.061]],["keywords/500",[]],["title/501",[25,63.794,33,124.043,205,249.247,206,341.47,1066,511.905,2141,611.918]],["content/501",[6,1.963,25,1.51,33,1.985,70,3.743,105,8.322,107,3.77,162,5.426,182,3.062,185,3.708,200,5.727,205,3.988,206,5.464,227,7.893,249,8.688,252,5.952,255,6.256,265,5.522,301,3.498,414,6,438,5.748,536,5.263,537,5.031,553,6.875,565,8.688,613,5.407,659,7.061,705,8.939,717,7.349,866,9.03,963,5.928,1183,8.461,1435,11.425,1604,9.924,1677,13.432,1678,14.193,2141,12.932,2546,13.432,3219,15.349,3220,15.349,3221,15.349,3222,15.349]],["keywords/501",[]],["title/502",[25,89.993,886,483.395,1074,739.744]],["content/502",[6,2.151,23,3.498,25,1.102,33,1.133,34,2.006,37,1.471,65,2.872,70,4.04,87,3.045,88,3.005,107,3.328,114,2.547,151,2.704,155,2.612,161,2.768,164,4.255,171,2.288,181,2.335,182,2.703,183,5.217,185,3.273,192,2.946,202,2.696,205,3.52,206,4.823,219,3.257,225,3.141,256,4.123,265,3.152,273,4.419,281,6.423,284,3.109,297,2.486,301,3.775,314,3.109,330,3.258,348,7.669,379,6.199,392,4.076,396,2.863,414,3.425,490,3.482,537,4.441,543,5.017,545,2.427,553,6.069,554,4.196,564,4.053,613,4.773,617,4.64,622,5.498,707,5.925,716,3.164,717,4.196,732,4.74,734,4.414,735,3.946,740,4.076,758,3.79,765,2.872,804,4.247,910,3.526,914,4.123,919,6.132,920,4.64,921,4.538,937,3.827,956,5.518,985,4.076,1005,10.335,1056,5.518,1178,5.925,1180,5.265,1211,6.869,1237,6.379,1329,4.444,1603,6.684,1604,5.666,1623,5.925,1625,7.085,1636,6.132,1686,6.379,1747,5.925,1785,8.103,1935,6.869,1983,6.379,2032,7.085,2076,7.669,2117,5.747,2141,12.855,2160,7.669,3223,6.523,3224,8.103,3225,8.763,3226,7.085,3227,6.869,3228,7.669,3229,8.103,3230,8.763,3231,8.103]],["keywords/502",[]],["title/503",[4,110.083,25,70.65,200,396.364,264,307.993,1152,707.127]],["content/503",[6,1.758,12,6.332,25,1.502,29,7.532,99,6.397,196,5.652,200,6.775,248,9.845,251,10.096,252,7.041,255,7.401,264,5.264,291,8.694,323,10.01,529,10.278,541,8.855,714,12.087,1152,12.087,1159,15.218,1167,12.484,1297,12.278,2141,11.583,3232,18.159]],["keywords/503",[]],["title/504",[65,390.118,400,535.943,408,393.825,872,599.526]],["content/504",[2,3.183,5,1.876,6,2.403,10,3.439,25,1.522,33,1.124,37,1.459,44,3.748,51,2.079,52,2.394,65,2.848,107,2.135,114,2.526,155,2.59,176,3.171,181,2.315,184,4.963,191,2.612,196,2.705,197,6.198,205,5.216,207,4.79,208,7.359,219,7.462,235,5.405,239,8.413,240,4.482,255,3.542,265,3.126,275,4.482,297,2.465,301,1.981,308,2.813,319,3.872,334,2.506,385,3.183,395,3.654,400,3.913,408,6.642,414,3.397,427,3.195,438,3.254,467,3.072,473,6.468,474,5.012,477,7.84,514,3.115,519,4.674,536,2.98,537,2.848,554,4.161,562,5.012,564,4.02,613,7.48,617,7.128,639,4.136,660,4.874,703,3.242,705,5.061,732,3.04,920,4.602,937,5.879,963,5.199,982,7.183,985,4.042,987,10.653,1031,6.326,1056,5.472,1066,4.637,1174,5.28,1227,5.699,1295,6.812,1360,8.372,1361,4.674,1583,6.812,1653,7.605,1662,6.812,1671,7.026,1961,5.166,2117,5.699,2135,8.036,2141,11.836,3233,8.69,3234,8.69,3235,8.69,3236,6.812,3237,8.69]],["keywords/504",[]],["title/505",[25,79.157,202,366.157,563,509.904,1119,686.479]],["content/505",[]],["keywords/505",[]],["title/506",[6,131.019,185,326.9,480,486.819]],["content/506",[6,2.389,25,1.218,70,4.467,182,3.655,185,4.425,202,5.635,278,4.931,480,6.59,501,9.42,525,9.627,542,11.685,863,10.565,906,9.932,932,8.336,933,14.359,1056,11.535,1401,13.064,1687,14.81,2141,11.685,3202,14.81,3238,16.939]],["keywords/506",[]],["title/507",[60,504.882,63,296.762,514,485.1]],["content/507",[6,1.822,25,1.251,60,7.02,63,4.126,70,4.588,234,8.703,467,6.651,514,6.745,536,6.451,543,6.968,910,7.57,920,9.963,926,9.607,990,14.748,1142,13.696,2141,12.002,3239,18.815,3240,17.398,3241,18.815,3242,18.815]],["keywords/507",[]],["title/508",[217,483.395,556,483.395,742,612.527]],["content/508",[6,1.789,25,1.229,37,3.103,202,5.685,217,6.602,334,5.329,514,6.625,525,9.713,532,10.763,556,6.602,718,7.5,742,8.365,904,13.453,931,10.986,936,9.186,963,7.138,984,11.358,994,9.94,1050,13.18,1066,9.862,1672,14.942,2141,11.789]],["keywords/508",[]],["title/509",[116,491.54,278,320.414,330,286.181,356,553.65]],["content/509",[6,1.822,25,1.251,70,4.588,99,6.628,265,6.768,301,4.288,330,5.549,348,10.649,356,8.751,438,7.046,537,6.167,545,5.211,717,9.008,920,9.963,1005,14.352,1056,11.848,1066,10.04,2141,12.002,2160,16.465]],["keywords/509",[]],["title/510",[988,1328.96]],["content/510",[6,1.217,25,1.477,70,4.992,107,3.088,155,3.747,181,3.349,182,2.508,183,3.959,184,2.726,185,3.037,196,6.915,198,3.358,200,6.6,202,3.867,255,5.123,264,3.644,265,6.364,273,2.757,304,6.331,347,5.783,371,6.558,480,4.522,525,6.606,536,4.31,550,7.115,553,5.631,563,5.385,617,6.657,640,8.965,706,9.033,732,4.398,860,7.637,893,7.439,910,5.058,914,8.323,1005,9.588,1056,7.916,1152,8.367,1163,10.535,1167,8.642,1172,8.965,1610,7.818,1623,8.499,1683,11.624,1684,10.535,1686,9.15,1998,16.359,2118,8.499,2141,14.171,2302,11.001,3238,11.624,3243,10.535,3244,12.57,3245,11.624,3246,12.57,3247,12.57,3248,12.57,3249,12.57]],["keywords/510",[]],["title/511",[191,471.331,879,610.406]],["content/511",[4,1.556,19,4.502,25,1.658,33,1.942,51,3.594,87,5.219,105,10.834,125,5.942,152,2.99,171,3.921,191,4.514,196,4.674,200,5.603,222,4.095,257,6.726,264,4.354,265,5.402,293,5.593,366,7.233,398,5.624,523,10.747,853,11.415,872,7.564,879,7.779,882,9.229,883,10.834,884,8.746,886,5.364,887,8.746,937,6.559,993,7.233,994,8.077,995,10.71,996,6.797,997,10.931,998,10.71,1152,9.996,1154,11.771]],["keywords/511",[]],["title/512",[25,79.157,33,153.915,99,419.316,182,237.492]],["content/512",[]],["keywords/512",[]],["title/513",[7,371.572,25,79.157,33,153.915,1066,635.181]],["content/513",[6,2.281,7,5.173,25,1.417,33,2.756,52,4.566,99,5.837,107,4.07,113,7.707,181,4.415,182,3.306,184,3.593,202,5.097,234,7.664,252,8.264,265,5.961,278,4.46,284,7.559,437,6.503,462,6.584,514,5.94,541,8.08,614,7.167,637,9.466,1067,11.204,1068,9.85,1077,9.379,2118,11.204,3250,16.57,3251,16.57]],["keywords/513",[]],["title/514",[25,123.921]],["content/514",[6,2.012,7,4.975,25,1.06,33,3.168,63,3.495,70,3.886,183,5.019,196,4.96,198,4.257,205,4.141,240,3.558,252,6.18,255,6.495,284,8.202,308,5.158,311,6.827,330,3.831,348,9.02,366,7.676,371,8.313,396,5.207,399,8.711,536,5.464,553,7.138,613,5.614,621,11.365,622,6.467,785,4.86,920,8.439,1068,9.473,1127,10.035,1166,10.451,1336,13.946,2076,13.946]],["keywords/514",[]],["title/515",[6,131.019,278,364.276,284,480.028]],["content/515",[6,2.358,25,1.044,33,2.03,44,4.371,99,5.529,125,8.141,202,4.828,246,4.959,278,4.225,279,9.33,284,7.298,297,4.453,322,5.77,330,3.774,334,4.526,425,5.647,520,7.105,525,8.249,538,7.802,545,4.348,593,12.304,622,6.37,712,9.536,732,5.492,858,7.906,910,6.315,973,8.442,991,8.652,1035,9.536,1061,9.762,1078,12.69,1170,8.015,1239,13.154,1377,7.342,1407,11.973,1604,10.148,3252,15.696]],["keywords/515",[]],["title/516",[107,332.397,185,326.9,732,473.461]],["content/516",[5,3.494,6,2.032,25,1.549,33,2.093,70,3.947,107,3.975,151,4.993,155,4.824,176,5.906,181,4.312,182,4.188,185,5.627,186,4.784,192,5.441,314,7.445,330,3.891,438,6.061,466,8.443,490,6.43,545,4.483,553,7.249,564,7.486,613,5.701,652,7.749,704,8.505,717,7.749,985,7.528,1003,13.084,1172,11.542,1296,13.084,3253,16.184]],["keywords/516",[]],["title/517",[6,151.799,184,340.004]],["content/517",[6,2.032,25,1.076,33,2.093,65,5.304,69,5.052,70,3.947,155,4.824,182,3.229,184,4.552,205,5.453,219,7.802,240,3.614,246,5.113,256,7.614,288,7.992,293,4.53,301,3.688,330,3.891,334,4.666,427,5.949,537,5.304,541,7.892,550,9.16,588,12.345,613,7.394,893,6.805,987,10.464,1081,9.946,1118,10.464,3224,14.965,3254,16.184,3255,13.563,3256,16.184]],["keywords/517",[]],["title/518",[183,493.826,273,343.83]],["content/518",[6,2.042,18,4.44,23,3.937,25,0.884,33,1.719,34,3.043,44,3.701,161,4.199,164,5.776,171,3.471,183,7.527,196,4.137,202,4.089,252,5.154,273,5.241,276,8.076,301,3.029,330,5.473,396,4.343,425,4.782,438,4.978,543,7.811,545,5.095,712,8.076,716,4.799,734,6.695,751,8.169,758,5.749,804,6.442,856,8.594,858,6.695,910,5.348,973,7.149,1035,8.076,1066,7.093,1170,6.787,1747,8.987,1931,8.37,3226,10.747,3227,10.419,3228,11.632,3229,12.292]],["keywords/518",[]],["title/519",[281,524.746,297,383.895,379,619.122]],["content/519",[6,2.063,25,1.102,51,3.965,65,5.431,69,5.173,70,4.041,155,4.939,182,4.252,200,6.182,246,5.235,281,9.976,288,8.183,293,4.638,297,4.701,330,3.984,379,7.581,466,8.644,536,5.681,564,7.664,614,7.167,617,8.774,717,7.934,785,5.053,893,6.967,963,6.4,985,7.707,1118,10.714,1178,11.204,1668,12.989]],["keywords/519",[]],["title/520",[25,70.65,33,137.374,99,374.253,467,375.547,670,595.91]],["content/520",[1,6.597,4,1.534,6,1.916,18,4.945,25,1.483,33,3.078,37,3.323,52,4.079,92,6.312,99,5.215,110,6.53,182,2.954,200,5.523,202,4.554,252,5.74,255,6.033,265,5.326,278,3.985,284,5.251,293,5.54,310,6.701,398,5.544,437,8.751,467,5.233,474,8.538,481,8.161,536,5.076,540,11.019,551,6.736,563,6.342,637,8.457,699,9.572,991,8.161,1000,7.962,1017,11.019,1032,10.177,1068,8.8,1082,9.853,1589,11.019,2616,12.955]],["keywords/520",[]],["title/521",[25,79.157,52,327.97,96,673.714,99,419.316]],["content/521",[4,1.94,6,1.321,25,1.245,40,5.207,41,9.223,52,6.341,61,7.336,63,2.991,99,6.596,114,3.965,182,2.722,196,4.246,222,5.106,252,5.289,255,5.559,256,6.417,275,4.542,279,8.108,284,4.839,293,3.818,308,4.415,322,6.883,334,3.933,393,7.336,408,6.195,487,8.589,496,5.512,536,4.677,549,7.169,559,8.701,587,8.701,659,6.275,692,6.965,699,8.819,700,10.153,712,8.287,732,4.772,858,6.87,893,5.735,956,8.589,986,9.378,1037,9.728,1068,8.108,1164,8.383,1234,11.432,1581,12.613,1984,8.701,2486,12.613,2909,12.613,2962,12.613,3257,12.613,3258,13.641,3259,13.641]],["keywords/521",[]],["title/522",[4,123.338,25,79.157,99,419.316,182,237.492]],["content/522",[12,4.181,22,5.235,23,4.082,24,5.906,25,1.53,29,8.274,32,2.538,34,2.746,35,4.907,37,2.013,54,7.436,99,6.027,124,7.47,125,4.745,182,2.393,241,4.457,255,4.887,275,3.993,291,5.741,355,4.726,408,3.968,467,7.689,481,6.61,529,6.787,600,12.863,776,8.144,777,5.344,779,7.982,786,5.137,879,4.669,981,9.774,1061,7.458,1075,8.926,1256,9.684,1257,5.486,1400,9.597,1663,6.667,1704,7.551,1769,10.05,1814,7.551,1942,9.4,3260,11.992,3261,11.992,3262,11.089,3263,10.05]],["keywords/522",[]],["title/523",[4,123.338,25,79.157,99,419.316,517,645.355]],["content/523",[6,1.677,19,3.658,23,4.094,25,0.811,32,4.262,60,4.553,99,4.299,149,5.061,161,5.473,164,5.44,171,3.186,183,3.843,224,5.253,251,6.785,252,4.732,273,3.799,284,4.328,291,5.842,293,3.416,330,2.934,425,4.39,517,11.887,543,4.519,545,3.38,581,5.178,622,4.952,854,9.565,879,4.751,937,5.329,973,6.563,1035,7.413,1061,10.774,1320,6.563,2354,10.226,3264,10.678,3265,10.678,3266,12.202,3267,12.202,3268,17.323,3269,12.202,3270,17.323,3271,11.284,3272,12.202,3273,12.202,3274,10.226,3275,12.202,3276,12.202,3277,12.202,3278,12.202,3279,12.202,3280,9.865,3281,12.202,3282,12.202,3283,12.202,3284,12.202]],["keywords/523",[]],["title/524",[25,79.157,65,390.118,400,535.943,408,393.825]],["content/524",[2,3.939,4,2.282,5,3.414,6,1.815,20,4.817,21,6.202,25,1.051,33,2.425,37,3.698,51,4.947,52,2.963,54,4.674,58,3.939,65,3.524,69,3.357,70,2.623,85,7.616,86,4.345,98,6.773,99,6.606,100,8.157,113,5.002,114,3.126,125,4.255,149,4.461,196,4.921,222,2.932,232,6.392,234,4.974,246,3.397,248,5.83,256,5.059,264,3.118,275,5.265,293,3.01,308,3.481,334,3.101,395,4.522,399,5.878,400,8.443,408,7.288,420,6.533,437,4.22,467,3.801,491,11.51,492,7.271,506,5.83,514,3.855,536,3.687,539,5.002,614,4.651,672,6.688,716,3.882,785,3.279,874,7.01,963,4.153,983,6.392,1019,6.771,1110,6.143,1173,6.392,1181,9.411,1185,8.694,1413,9.012,1434,8.203,1670,9.411,2731,8.203,3285,10.754,3286,10.754]],["keywords/524",[]],["title/525",[6,92.877,25,63.794,205,249.247,219,356.567,240,214.197,613,337.935]],["content/525",[3,6,6,1.758,25,1.207,45,5.924,65,4.275,107,3.204,114,3.792,155,3.888,181,4.837,184,4.528,192,4.385,196,4.059,204,6.171,205,5.425,219,4.848,225,4.675,226,6.66,227,6.707,240,4.663,241,4.848,246,4.12,288,6.441,297,3.7,310,5.904,314,6.44,330,3.136,334,3.761,427,4.795,490,5.182,519,7.015,536,4.472,550,7.382,551,5.935,554,6.245,613,7.953,622,5.293,732,4.563,785,3.977,894,6.957,914,6.136,931,7.753,985,6.067,987,8.433,1019,8.213,1067,8.819,1118,8.433,1148,9.127,1296,10.545,1630,11.414,2055,10.931,2117,8.553,2136,9.127,3287,13.043]],["keywords/525",[]],["title/526",[25,79.157,202,366.157,563,509.904,1119,686.479]],["content/526",[5,3.757,6,2.452,25,1.157,70,4.244,87,6.047,155,5.187,181,4.636,185,5.311,202,5.353,278,4.684,297,4.936,480,7.909,532,10.134,564,8.049,863,12.68,899,12.666,906,9.434,914,8.186,931,10.343,932,7.918,934,10.694,1190,13.64,1299,12.666]],["keywords/526",[]],["title/527",[60,504.882,63,296.762,514,485.1]],["content/527",[6,1.789,25,1.229,33,2.39,60,8.517,63,4.053,92,7.88,273,4.053,293,5.173,393,9.94,419,11.228,424,11.949,514,6.625,525,9.713,550,10.46,590,7.88,718,7.5,737,6.213,926,9.437,963,7.138,1238,12.933,1427,9.862]],["keywords/527",[]],["title/528",[217,483.395,556,483.395,742,612.527]],["content/528",[2,6.891,25,1.251,33,2.433,37,3.159,63,4.126,182,3.754,186,5.561,217,6.721,232,11.184,512,7.702,556,6.721,703,7.02,718,7.635,742,8.516,921,9.744,944,10.554,994,10.119,1045,14.352,1119,10.851,1129,15.212]],["keywords/528",[]],["title/529",[116,491.54,278,320.414,330,286.181,356,553.65]],["content/529",[6,1.728,25,1.187,40,6.813,116,9.225,151,5.506,196,5.555,202,5.49,278,4.804,293,4.996,301,4.068,330,5.371,356,8.302,438,6.684,537,5.85,538,8.871,545,4.944,551,8.122,734,8.989,735,8.036,987,11.54,1035,10.843,1128,12.992,1170,9.113,2968,16.504]],["keywords/529",[]],["title/530",[988,1328.96]],["content/530",[6,2.042,25,1.514,33,1.719,70,3.242,99,8.019,107,3.265,113,6.183,181,3.542,182,4.208,196,6.565,198,3.551,200,4.959,202,4.089,252,5.154,255,7.497,265,4.782,278,3.578,284,6.525,297,3.771,301,3.029,348,7.524,428,7.149,437,5.217,462,5.281,537,4.357,541,6.482,553,5.954,566,9.138,613,4.683,617,7.039,640,9.48,706,6.787,860,8.076,892,8.169,893,5.589,910,5.348,914,6.253,961,7.327,963,5.134,992,9.48,999,9.676,1005,10.139,1067,8.987,1068,7.901,1159,11.14,1163,11.14,1187,8.594,1684,11.14,1686,9.676,3288,13.292,3289,13.292,3290,13.292]],["keywords/530",[]],["title/531",[191,471.331,879,610.406]],["content/531",[4,1.579,19,4.567,25,1.666,33,1.97,51,3.646,87,5.295,99,5.368,105,10.939,125,6.029,152,3.034,171,3.979,191,4.58,196,4.742,222,4.155,265,5.481,293,5.648,366,7.339,398,5.706,523,12.166,853,11.526,872,7.674,879,7.855,882,9.364,883,10.939,884,8.874,886,5.443,887,8.874,937,6.655,993,7.339,994,8.195,995,10.867,996,6.897,997,11.091,998,10.867,1154,11.944]],["keywords/531",[]],["title/532",[25,63.794,33,124.043,52,264.317,99,337.935,264,278.105,462,381.156]],["content/532",[]],["keywords/532",[]],["title/533",[52,513.439]],["content/533",[5,4.601,6,2.063,33,2.143,37,3.578,51,3.965,52,4.566,181,4.415,182,3.306,186,4.898,200,6.182,222,4.518,232,9.85,286,10.183,293,4.638,297,4.701,308,5.364,322,7.834,395,6.967,501,8.52,556,5.919,557,6.584,563,7.098,572,5.919,630,6.091,659,7.622,692,8.461,694,8.236,695,8.183,911,10.57,1329,8.403,2095,11.595]],["keywords/533",[]],["title/534",[4,140.222,52,372.867,99,476.718]],["content/534",[4,1.857,5,2.764,6,2.282,9,5.857,12,4.464,23,1.951,40,6.84,44,3.565,52,4.937,63,2.807,69,3.996,70,4.37,79,6.779,97,4.494,99,4.51,107,4.402,149,7.433,151,3.95,181,3.411,182,3.575,184,2.776,185,5.41,192,4.304,193,5.129,205,4.656,206,4.557,240,4.001,243,5.889,272,5.458,273,2.807,298,6.282,334,3.691,373,3.302,385,4.689,490,5.087,520,5.795,525,6.728,559,8.166,675,5.955,704,6.728,709,7.868,713,8.277,716,4.622,718,5.195,719,8.801,893,5.383,914,6.023,924,8.166,1000,6.886,1062,9.529,1064,8.959,1197,8.959,1398,8.062,3291,11.838,3292,11.838,3293,11.838]],["keywords/534",[]],["title/535",[4,140.222,52,372.867,510,686.235]],["content/535",[4,0.965,5,2.01,6,0.902,14,3.5,16,4.788,25,1.28,37,1.563,51,2.228,52,6.447,58,5.199,63,2.042,88,3.193,92,3.97,99,3.28,110,6.262,114,2.707,125,5.617,142,5.478,152,2.826,155,2.776,182,1.858,183,6.06,186,2.752,195,4.931,196,5.354,202,4.367,222,3.871,246,2.942,252,3.611,256,4.381,264,2.699,265,3.35,273,4.542,278,2.507,281,6.671,286,5.723,293,2.607,297,4.88,300,5.133,308,6.705,310,4.215,319,4.149,322,3.423,330,2.239,364,5.049,389,4.788,390,6.931,398,3.487,425,3.35,438,3.487,462,3.7,479,5.595,480,3.35,485,7.299,506,5.049,510,4.722,536,4.867,539,4.331,543,3.448,545,2.579,549,4.894,553,4.171,559,5.94,563,6.081,587,5.94,614,4.027,630,3.423,634,6.641,659,4.283,692,4.755,700,10.566,703,3.474,727,6.516,728,8.149,738,6.02,742,4.215,943,4.894,951,8.149,963,3.596,996,4.215,1072,6.516,1164,5.723,1169,4.26,1335,7.299,1547,6.198,1697,5.27,1720,8.149,2114,6.106,2731,7.103,3294,8.61,3295,8.61,3296,9.312,3297,9.312,3298,8.61,3299,9.312,3300,8.61,3301,8.61]],["keywords/535",[]],["title/536",[25,79.157,99,419.316,171,310.82,191,357.826]],["content/536",[25,1.336,41,13.58,52,5.534,99,7.075,111,7.579,171,5.245,191,6.038,202,6.178,272,8.563,322,7.383,400,9.043,462,7.98,529,11.368]],["keywords/536",[]],["title/537",[25,104.266,29,650.349]],["content/537",[25,1.625,28,10.568,29,10.136,30,9.73,107,5.08,722,12.308]],["keywords/537",[]],["title/538",[33,174.985,198,361.493,224,410.309]],["content/538",[4,1.06,19,3.065,22,3.998,23,4.213,24,5.258,25,1.013,32,3.224,33,2.354,34,3.488,35,5.785,37,3.387,52,2.818,63,2.242,99,3.602,103,4.557,111,3.859,114,5.292,171,2.67,191,3.074,198,2.732,204,4.839,224,3.1,264,4.416,271,3.627,275,6.062,289,4.756,293,2.862,334,2.948,355,4.03,440,4.73,462,4.063,467,3.615,510,5.185,536,3.506,572,3.653,590,4.36,607,5.544,630,7.416,723,6.914,758,4.423,763,5.221,764,5.59,765,5.967,766,12.316,767,5.842,768,10.4,769,7.444,770,5.05,771,7.294,772,4.242,773,7.174,774,5.59,775,4.896,776,7.25,777,4.557,779,6.806,780,5.415,1540,6.36,3302,9.456]],["keywords/538",[]],["title/539",[784,1141.31,785,478.129]],["content/539",[23,4.255,32,4.464,33,1.45,34,5.659,35,6.704,63,2.46,171,2.929,462,8.38,490,4.457,545,3.107,642,5.024,659,5.16,682,13.184,768,6.408,784,8.165,785,3.421,786,4.805,787,7.903,788,9.4,789,13.666,790,9.816,791,9.816,792,6.469,793,9.816,794,14.27,795,9.816,796,9.816,797,14.27,798,9.816,799,11.21,800,7.849,801,9.4,802,9.816,803,16.813,804,9.311,805,12.599,806,7.855,807,9.069,808,9.4,809,5.539,810,9.816]],["keywords/539",[]],["title/540",[273,261.029,284,422.228,545,329.694,735,535.943]],["content/540",[4,1.865,6,1.743,25,1.494,99,6.342,182,3.592,183,5.67,204,8.518,265,6.476,273,3.948,284,6.386,289,8.373,293,5.039,301,4.103,419,10.937,517,9.76,537,5.9,562,10.382,722,9.067,732,6.298,735,8.106,826,9.924,936,8.948,961,9.924,3303,13.731]],["keywords/540",[]],["title/541",[99,419.316,183,374.904,517,645.355,722,599.526]],["content/541",[6,1.604,19,3.436,22,3.009,23,4.177,25,0.762,32,4.116,51,2.743,97,4.025,99,5.836,151,3.537,161,5.233,164,6.691,183,5.218,192,3.854,198,3.062,224,5.023,255,4.672,273,3.633,281,4.445,284,4.066,330,3.983,360,6.549,396,3.745,399,6.267,425,4.124,538,8.234,544,4.277,545,4.588,553,5.135,722,5.774,735,5.162,768,6.549,819,8.022,820,7.881,824,8.022,825,7.751,1033,8.345,1061,12.098,1170,5.854,3304,13.883,3305,13.883,3306,9.607,3307,10.601,3308,9.268,3309,10.601,3310,10.601,3311,10.601,3312,9.607,3313,10.032,3314,10.032,3315,10.032,3316,10.601,3317,11.464,3318,9.607,3319,9.607,3320,8.986]],["keywords/541",[]],["title/542",[826,864.293,3303,1195.939]],["content/542",[4,1.103,6,1.031,22,4.892,23,4.113,24,5.417,25,1.24,28,4.603,29,6.509,30,5.007,32,3.321,33,1.376,34,2.437,35,3.052,37,1.787,44,2.964,99,3.75,107,2.614,151,3.284,161,3.362,164,3.342,171,2.779,182,2.124,191,3.2,224,3.227,251,5.918,252,4.127,255,4.338,256,5.007,273,2.334,275,3.544,284,7.297,293,2.979,297,3.019,330,2.559,360,6.08,385,3.898,407,5.19,425,3.829,496,4.301,536,3.649,545,2.948,714,7.084,732,3.724,764,5.818,768,6.08,776,7.469,777,4.743,819,7.448,820,7.317,825,7.197,826,12.092,845,6.98,847,8.605,848,8.343,849,8.343,858,5.361,954,5.594,969,7.197,970,8.119,1077,6.024,1170,5.435,3303,15.691,3306,8.92,3308,8.605,3315,9.314,3321,10.644,3322,14.511,3323,8.92,3324,9.842,3325,10.644]],["keywords/542",[]],["title/543",[19,356.811,25,79.157,52,327.97,99,419.316]],["content/543",[4,2.34,19,5.443,25,1.634,67,7.306,85,8.747,99,6.397,182,4.505,255,7.401,291,8.694,349,11.741,523,9.767,554,8.694,580,8.353,621,12.951,853,12.9,854,14.234,855,10.794,1341,14.681,3212,15.891]],["keywords/543",[]],["title/544",[25,89.993,202,416.281,563,579.706]],["content/544",[4,1.567,6,2.419,25,1.499,33,1.956,37,3.371,184,3.28,185,3.654,201,5.842,202,4.653,222,4.125,265,5.442,278,4.072,330,3.637,425,5.442,435,9.186,480,5.442,481,8.338,514,5.422,536,5.186,553,6.775,556,5.403,563,6.48,613,5.329,614,6.542,652,7.242,742,9.088,765,4.958,856,9.78,857,7.778,861,7.036,869,9.919,872,7.619,932,6.883,1747,10.227,1782,10.788,3326,15.126,3327,15.126,3328,15.126]],["keywords/544",[]],["title/545",[52,432.005,703,584.959]],["content/545",[5,3.886,6,1.743,37,3.022,51,5.374,52,6.188,61,9.682,63,3.948,222,4.909,391,11.312,462,7.153,674,6.593,683,12.597,703,9.564,861,8.373,945,14.111,1025,13.731,1165,11.805,1558,11.063,3329,16.646]],["keywords/545",[]],["title/546",[52,432.005,179,779.313]],["content/546",[25,1.549,37,3.524,58,5.928,62,6.933,63,4.603,98,6.933,99,5.701,100,5.993,122,7.103,142,9.521,179,8.044,182,3.229,222,4.413,287,8.044,297,4.591,308,5.239,334,4.666,395,6.805,437,6.352,533,9.16,536,7.197,562,9.334,827,9.946,871,13.084,872,8.151,873,9.724,874,10.327,877,8.998,1000,8.704,1019,10.191,3330,14.965]],["keywords/546",[]],["title/547",[37,199.834,51,284.834,63,261.029,689,650.672]],["content/547",[25,1.389,37,3.507,40,7.974,51,4.999,63,4.581,114,6.073,193,8.37,554,10.002,878,13.699]],["keywords/547",[]],["title/548",[191,471.331,879,610.406]],["content/548",[4,2.051,23,2.256,25,1.65,52,5.453,99,5.215,181,3.944,182,2.954,196,4.608,198,3.955,200,5.523,202,4.554,234,6.847,256,6.964,265,5.326,273,3.246,281,5.74,284,5.251,304,7.456,322,5.442,385,5.422,398,5.544,462,5.882,496,5.982,523,7.962,563,6.342,617,7.839,642,6.631,659,6.81,692,7.559,738,9.572,853,8.457,857,7.612,883,8.026,884,8.622,885,10.776,910,5.956,912,7.723,931,8.8,937,6.465,996,6.701,1171,10.177,1583,11.604,2515,11.019,3331,13.689]],["keywords/548",[]],["title/549",[58,389.113,99,374.253,480,563.738,3332,1062.382]],["content/549",[]],["keywords/549",[]],["title/550",[23,206.245,480,486.819,2089,887.426]],["content/550",[6,2.23,70,3.857,87,5.496,155,4.714,176,5.772,182,3.155,192,5.317,228,6.907,385,5.793,480,8.789,551,7.197,556,5.649,674,5.793,718,6.418,855,9.401,863,9.121,869,10.371,906,11.21,914,7.44,1088,14.624,1103,11.067,1140,11.772,1147,8.718,1299,11.512,1401,11.279,1402,11.512,2057,10.873,2146,11.512,2592,14.624,3202,12.786,3324,14.624,3333,12.786,3334,15.815,3335,15.815,3336,15.815]],["keywords/550",[]],["title/551",[58,435.966,99,419.316,480,428.201,878,780.572]],["content/551",[4,1.451,5,3.024,6,2.099,25,0.932,33,2.466,37,3.201,44,3.9,45,3.974,58,7.94,69,4.373,98,6.001,99,7.637,100,5.187,110,8.411,185,3.384,200,5.226,222,3.82,241,5.207,255,5.709,265,5.039,297,3.974,308,4.534,400,6.307,458,6.515,480,9.035,551,6.374,556,5.004,557,5.566,614,6.058,894,5.368,932,8.677,969,9.471,970,10.685,971,8.326,1121,12.328,1262,8.608,1900,10.426,3337,14.007,3338,14.007,3339,11.325,3340,12.953,3341,14.007]],["keywords/551",[]],["title/552",[25,63.794,58,351.353,99,337.935,171,250.496,191,288.379,480,345.096]],["content/552",[]],["keywords/552",[]],["title/553",[25,70.65,29,440.672,45,301.381,334,306.314,1300,488.703]],["content/553",[25,1.588,28,10.326,29,10.612,44,5.539,45,5.643,480,7.156,1121,12.862,1262,12.225,3342,19.893,3343,18.395]],["keywords/553",[]],["title/554",[25,63.794,33,124.043,108,500.434,171,250.496,191,288.379,480,345.096]],["content/554",[1,3.507,2,5.662,4,2.111,6,0.762,10,4.929,19,3.734,20,5.579,22,4.057,23,4.195,24,4.299,25,1.169,32,2.636,33,1.018,34,2.852,35,2.257,37,3.715,45,5.778,58,2.882,62,3.371,63,1.726,100,4.612,114,3.621,151,2.428,161,2.486,167,3.42,171,2.055,186,2.326,191,2.366,198,3.327,200,2.936,203,7.839,204,3.724,223,4.046,224,2.386,271,2.791,308,2.547,334,2.269,355,4.908,378,4.728,381,2.539,402,4.538,437,3.089,480,5.561,481,4.338,529,4.454,536,2.698,537,2.579,564,3.64,572,2.811,590,3.355,607,4.267,630,6.461,758,3.404,763,4.018,765,5.066,767,4.496,770,3.886,771,6.193,772,3.264,773,6.092,774,4.302,775,3.768,777,3.507,780,4.167,932,5.668,936,3.911,1089,4.538,1121,9.995,1262,4.836,1400,4.414,1540,4.894,1612,9.271,1628,4.629,1894,9.501,1895,6.003,2913,5.857,3343,11.518,3344,7.869,3345,7.277,3346,12.455,3347,7.869,3348,7.277,3349,7.277,3350,7.869,3351,10.9,3352,10.9]],["keywords/554",[]],["title/555",[6,102.858,273,232.977,480,382.183,787,514.862,1308,601.311]],["content/555",[4,1.092,5,4,6,2.351,23,4.023,32,3.921,33,2.014,34,4.687,44,2.934,68,5.537,164,3.309,167,4.579,171,2.751,191,3.167,234,7.204,273,4.79,355,4.152,425,3.79,458,4.901,480,8.737,490,4.186,496,4.257,516,8.009,527,5.418,545,4.314,556,5.564,732,3.686,737,7.687,765,3.453,771,4.221,787,5.106,804,5.106,806,5.075,863,6.076,1112,6.263,1321,8.83,1417,8.514,1690,7.514,1900,13.791,2079,6.019,2717,8.037,2927,9.807,3345,9.743,3351,13.63,3352,13.63,3353,10.536,3354,10.536,3355,10.536,3356,9.743,3357,9.22,3358,10.536,3359,10.536,3360,10.536,3361,9.743]],["keywords/555",[]],["title/556",[58,389.113,85,511.73,99,374.253,480,382.183,855,631.517]],["content/556",[4,1.696,5,3.534,6,1.742,8,3.68,14,2.613,19,2.083,22,2.959,23,3.683,25,0.462,32,3.011,33,0.899,34,3.748,37,1.893,44,1.935,45,4.036,46,2.25,58,6.591,63,3.12,79,3.68,98,6.094,99,5.766,103,3.097,121,4.176,131,3.525,151,2.144,152,1.384,155,4.241,161,2.196,162,2.457,167,3.021,176,2.536,184,1.507,196,3.509,200,2.593,203,3.525,215,3.653,219,2.583,220,2.457,240,1.552,243,3.197,264,2.015,273,1.524,278,1.871,297,1.972,308,2.25,381,2.243,392,3.233,398,2.603,425,2.5,437,2.728,454,4.494,480,7.861,514,2.492,520,5.104,613,2.448,622,4.576,630,2.555,631,4.048,682,5.619,737,2.337,740,3.233,763,3.549,764,3.799,765,2.278,771,2.785,804,3.368,806,3.348,926,3.549,932,8.769,934,4.271,937,3.036,985,3.233,996,5.104,1000,7.652,1121,4.494,1147,3.831,1151,4.494,1191,4.434,1211,5.448,1220,6.441,1238,4.864,1298,6.775,1400,10.093,1401,8.041,1407,5.302,1580,5.173,1663,3.864,1690,4.957,1796,4.223,1822,5.173,1850,4.957,2023,5.498,2728,5.302,2927,4.377,3340,16.639,3349,6.427,3351,6.082,3356,6.427,3357,6.082,3362,6.95,3363,6.95,3364,6.95,3365,6.95,3366,6.95,3367,9.282,3368,6.082,3369,6.427,3370,6.95,3371,6.95,3372,9.45,3373,6.95,3374,11.276,3375,4.626,3376,6.95,3377,14.226,3378,16.368,3379,6.95,3380,9.867,3381,11.276]],["keywords/556",[]],["title/557",[191,471.331,879,610.406]],["content/557",[4,2.27,6,1.384,16,7.351,19,4.285,23,2.179,25,1.68,33,1.849,45,5.484,58,8.023,63,3.135,70,3.486,85,6.886,97,5.019,99,7.717,182,2.852,222,3.898,398,7.24,462,5.68,480,6.955,523,7.689,541,6.971,622,5.801,642,6.403,740,6.649,853,8.167,855,8.498,857,9.941,879,5.566,883,7.751,884,8.326,885,10.406,894,5.478,932,6.505,937,6.244,993,6.886,1039,10.904,2515,10.641,3382,14.296,3383,13.219,3384,14.296]],["keywords/557",[]],["title/558",[23,113.237,25,49.41,37,124.737,181,197.97,264,215.398,275,247.396,481,409.573,563,318.282,3385,540.846]],["content/558",[]],["keywords/558",[]],["title/559",[5,207.102,6,92.877,275,319.419,1160,486.458,1300,441.279,3385,698.297]],["content/559",[4,0.844,5,2.763,6,2.001,22,2.138,23,3.863,30,6.022,32,2.709,40,3.11,44,2.268,51,3.063,54,3.54,60,3.039,63,1.786,67,3.278,69,2.543,70,3.122,88,2.793,99,4.509,107,2.001,151,2.513,158,5.13,161,4.044,164,5.626,171,3.342,181,3.41,230,2.574,264,2.362,273,1.786,275,7.199,278,2.193,281,3.159,289,3.789,308,2.637,315,2.653,334,2.349,421,4.219,499,4.281,527,6.582,529,4.611,556,4.572,557,3.237,563,5.483,572,2.91,577,5.067,581,3.457,613,2.87,614,3.523,643,5.81,650,4.698,668,4.219,674,2.984,693,3.649,694,4.049,695,4.023,703,3.039,736,3.051,739,8.276,858,4.103,887,7.455,921,4.219,936,4.049,942,4.895,961,4.491,965,7.961,1325,5.267,1327,4.347,1384,5.6,1558,5.006,1604,5.267,1606,5.6,1719,6.386,1751,5.81,2019,7.533,2035,6.827,2052,6.214,2060,6.214,2095,5.701,2099,6.827,2254,4.611,2778,5.81,2870,7.533,2873,7.533,2884,6.827,3058,6.214,3304,10.727,3305,10.727,3312,6.827,3319,6.827,3385,5.93,3386,8.146,3387,12.8,3388,12.8,3389,8.146,3390,8.146,3391,8.146,3392,8.146,3393,8.146,3394,8.146,3395,8.146,3396,8.146,3397,8.146,3398,8.146,3399,8.146,3400,8.146,3401,8.146,3402,8.146,3403,8.146,3404,8.146,3405,8.146,3406,8.146,3407,8.146,3408,8.146,3409,8.146,3410,8.146,3411,8.146,3412,8.146,3413,8.146,3414,8.146]],["keywords/559",[]],["title/560",[52,292.723,108,554.215,275,353.746,670,595.91,1160,538.737]],["content/560",[4,1.303,5,3.819,6,1.713,16,6.464,37,2.11,44,3.5,51,3.008,52,4.875,60,6.6,69,3.924,70,3.066,87,4.368,114,3.654,171,3.282,217,6.32,222,5.582,265,4.522,273,2.757,275,5.891,284,4.459,286,7.725,293,3.519,308,4.069,400,5.66,440,8.183,480,4.522,496,5.079,527,6.464,541,6.13,556,6.32,557,7.029,563,5.385,569,6.168,572,4.49,581,5.335,613,4.428,659,5.783,692,6.419,693,5.631,694,8.793,703,4.69,773,4.954,861,5.847,898,8.642,973,6.761,1037,8.965,1327,6.708,1847,9.357,1861,11.624,1965,8.796,2035,10.535,2052,9.588,2070,10.163,2544,11.001,3385,12.878,3415,12.57,3416,12.57,3417,12.57,3418,12.57,3419,12.57,3420,12.57,3421,12.57]],["keywords/560",[]],["title/561",[25,53.425,37,134.874,481,442.858,856,519.427,1160,407.391,1308,454.709,1388,512.459,3385,584.799]],["content/561",[5,3.886,6,1.743,14,6.767,37,3.022,52,4.96,114,5.233,152,4.472,171,4.701,179,8.948,181,4.797,220,6.364,284,6.386,315,5.863,414,7.037,536,6.172,732,6.298,920,9.533,1183,9.924,1965,12.597,1986,11.639,3385,13.104,3422,16.646,3423,18.002,3424,18.002]],["keywords/561",[]],["title/562",[19,356.811,25,79.157,183,374.904,1378,740.294]],["content/562",[4,0.708,6,1.362,22,3.692,23,4.246,24,3.84,25,0.455,32,4.047,34,3.711,35,4.648,37,1.148,51,1.636,54,2.971,99,6.285,107,1.679,151,3.432,158,4.305,161,3.514,164,5.09,167,2.971,177,3.515,181,1.822,183,2.153,185,1.651,191,2.055,224,3.373,264,3.225,271,2.425,273,4.42,275,2.276,281,2.651,284,3.946,315,3.623,319,3.046,330,3.382,334,1.971,348,3.869,355,2.694,360,3.905,413,3.541,425,4.002,462,5.589,490,2.716,538,5.53,544,5.248,545,3.081,572,2.442,611,4.305,630,5.959,642,3.062,652,3.273,722,3.443,734,3.443,740,3.18,758,2.957,765,3.646,766,8.994,767,3.905,768,8.036,770,3.376,771,6.494,772,4.615,773,5.543,776,5.295,777,3.046,780,3.62,787,3.313,788,5.729,801,5.729,806,5.359,819,4.784,820,4.7,823,5.359,824,4.784,825,4.622,891,6.133,1061,6.919,1080,5.359,1143,4.42,1170,3.491,1256,3.869,1257,3.128,1300,3.145,1567,5.359,1987,5.215,2124,5.983,2130,4.483,3304,9.324,3305,9.324,3306,9.324,3307,6.322,3308,5.527,3309,6.322,3310,6.322,3315,5.983,3316,6.322,3318,5.729,3425,6.836,3426,6.836,3427,6.836,3428,11.125,3429,6.836,3430,6.836,3431,6.322]],["keywords/562",[]],["title/563",[4,90.608,183,275.416,381,282.178,826,482.031,1160,443.427,1313,519.794,3303,666.996]],["content/563",[1,4.648,4,1.081,22,4.834,23,4.047,24,5.336,25,1.028,32,3.898,34,2.388,35,2.991,37,1.751,45,2.959,78,8.741,99,3.674,111,3.936,114,4.494,125,4.127,151,3.218,167,4.533,183,5.802,196,4.812,198,2.786,222,2.844,224,3.163,271,3.7,273,2.287,275,3.473,284,7.226,297,2.959,319,6.889,355,4.11,360,5.959,381,4.989,407,5.086,452,4.825,529,5.904,563,4.468,581,6.56,636,5.702,642,4.672,664,5.219,722,7.786,732,3.649,764,5.702,776,7.358,777,4.648,826,12.998,827,6.41,850,13.529,943,5.482,965,9.615,969,7.052,970,7.956,1098,8.176,1124,6.744,1187,6.744,1196,6.84,1636,7.299,2075,7.956,3303,15.538,3308,8.433,3322,14.295,3323,8.741,3385,7.593,3432,10.431,3433,10.431]],["keywords/563",[]],["title/564",[25,70.65,37,178.358,480,382.183,1160,538.737,1320,571.393]],["content/564",[5,3.195,6,1.722,14,3.699,22,4.669,23,4.207,24,5.109,25,0.984,32,3.132,34,3.389,35,2.822,37,3.322,45,2.791,70,3.609,151,3.036,152,1.959,167,4.276,182,1.963,222,2.683,271,3.49,275,3.276,293,4.143,307,8.536,334,2.837,355,3.877,425,3.54,480,8.321,541,4.798,563,4.215,572,3.515,630,6.54,737,4.976,758,4.256,765,4.851,767,5.621,770,4.859,771,7.128,772,4.081,773,5.832,776,7.044,777,4.385,780,5.21,863,5.675,873,5.912,924,6.276,1121,6.362,1262,6.047,1400,8.302,1401,7.017,1402,7.162,1617,5.133,1894,11.289,1895,7.505,1897,11.966,1900,11.016,2304,7.162,2669,6.653,3385,10.774,3434,9.839,3435,9.839,3436,9.839,3437,9.839,3438,14.8]],["keywords/564",[]],["title/565",[181,417.762,315,510.669]],["content/565",[6,1.685,25,1.157,33,2.25,44,4.845,45,4.936,70,4.244,131,8.824,176,6.35,181,4.636,184,3.773,185,4.203,208,9.512,239,8.885,242,9.592,243,8.004,293,4.871,314,6.172,330,4.184,379,10.059,425,6.26,454,11.25,554,8.331,613,6.13,652,8.331,704,9.145,707,11.765,1170,8.885,1310,10.134]],["keywords/565",[]],["title/566",[25,63.794,52,264.317,275,319.419,670,814.443,878,629.078]],["content/566",[4,0.841,5,3.405,6,1.998,37,2.142,40,4.871,44,2.259,45,3.62,52,3.516,58,5.776,60,5.884,62,3.476,69,3.983,73,4.143,88,2.782,107,1.993,114,3.71,116,3.351,131,4.115,152,1.616,154,2.983,166,6.918,171,2.119,181,3.4,183,4.019,184,1.76,185,1.96,217,6.386,222,2.213,225,2.909,226,4.143,230,2.563,239,4.143,242,4.473,243,3.733,265,2.919,273,3.921,275,2.702,278,2.184,281,4.948,284,4.526,286,4.987,297,4.474,301,1.849,307,4.68,308,2.627,311,3.476,315,2.643,319,3.616,322,2.983,355,3.198,379,3.712,398,3.039,414,3.172,416,5.401,427,2.983,454,5.247,458,3.774,467,4.511,480,6.432,481,4.473,499,4.265,520,3.673,527,4.173,537,2.66,539,3.774,544,3.027,545,2.248,555,5.047,556,4.558,557,3.224,572,2.899,581,6.692,613,2.859,614,6.821,634,5.787,652,3.885,659,7.254,668,4.202,683,5.678,692,4.143,693,8.008,694,4.033,698,5.247,737,2.728,739,10.196,765,2.66,773,3.198,826,4.473,858,9.005,921,4.202,954,4.265,960,6.561,993,3.909,1007,4.265,1115,5.907,1207,4.68,1327,4.33,1329,4.115,1582,6.04,1980,6.801,2049,5.247,2058,5.176,2070,6.561,2082,7.101,2197,6.361,2736,7.101,2848,6.801,2979,5.487,3303,6.19,3439,8.115,3440,8.115,3441,8.115,3442,15.646,3443,7.504]],["keywords/566",[]],["title/567",[191,471.331,879,610.406]],["content/567",[1,4.113,4,0.956,6,1.656,14,3.469,19,5.129,25,1.372,37,3.215,44,2.57,45,2.618,49,4.342,70,3.438,73,4.712,85,4.445,96,5.224,99,6.027,105,9.276,106,6.345,107,3.463,113,4.293,114,4.099,125,5.579,152,1.837,171,2.41,181,4.559,182,1.841,191,4.238,193,3.698,198,2.465,200,3.443,202,2.839,217,3.297,224,2.798,225,3.308,227,4.746,255,5.746,264,2.676,265,3.32,275,3.073,278,2.484,284,3.274,301,2.103,308,2.987,311,3.954,315,3.006,334,2.661,366,4.445,398,3.456,409,5.887,438,3.456,440,4.269,474,5.323,480,6.155,481,5.088,523,4.964,527,4.746,537,3.025,541,4.5,556,3.297,557,3.667,563,3.954,590,3.935,613,3.251,637,5.272,732,3.229,737,3.103,765,3.025,826,9.431,853,5.272,855,5.486,857,4.746,861,4.293,869,6.052,872,4.648,879,3.593,881,6.718,882,5.672,883,5.004,884,5.375,888,4.815,934,5.672,965,5.74,991,5.088,993,4.445,994,4.964,996,4.177,1065,5.429,1167,6.345,1365,6.718,1565,8.534,1567,7.234,1622,11.816,1636,6.458,1733,8.076,1927,6.718,1982,7.462,2052,7.04,2123,7.234,2286,7.462,2444,5.607,3303,10.754,3385,12.454,3444,9.229,3445,8.534,3446,8.534]],["keywords/567",[]],["title/568",[33,202.738,180,721.234]],["content/568",[]],["keywords/568",[]],["title/569",[180,856.66,424,874.956]],["content/569",[6,0.841,7,2.713,9,6.159,12,5.745,33,2.131,44,2.42,51,2.079,70,2.119,92,5.739,97,3.051,116,3.589,155,2.59,176,3.171,180,9.768,182,1.734,192,2.922,196,4.19,200,3.242,211,10.883,252,3.37,254,5.166,265,3.126,291,4.161,301,5.471,329,3.872,361,9.242,373,2.241,375,4.533,395,8.928,416,5.784,424,13.729,504,3.853,537,6.959,551,3.954,614,3.758,630,3.195,663,4.79,664,4.348,675,4.042,692,4.437,741,5.28,745,4.75,785,5.659,910,7.466,924,5.543,925,7.283,928,7.605,943,4.567,957,5.28,967,6.326,971,8.002,1000,4.674,1064,6.081,1068,8.002,1086,5.619,1127,5.472,1157,8.002,1558,5.341,1602,8.178,1610,5.405,1629,6.812,1687,7.026,1966,6.081,1988,7.026,2055,7.283,2075,6.629,2117,10.805,2126,5.784,2192,7.026,2308,5.472,2321,5.472,2482,7.283,2488,6.326,2507,7.026,2560,5.699,2600,8.036,2610,7.605,2649,8.036,2709,7.283,3447,8.036,3448,7.026,3449,8.036,3450,8.69,3451,8.69,3452,8.69,3453,8.69,3454,8.036,3455,8.036,3456,8.036,3457,8.69,3458,13.461,3459,8.69,3460,7.605,3461,8.69,3462,8.69,3463,8.69,3464,8.69]],["keywords/569",[]],["title/570",[33,137.374,180,488.703,184,230.384,301,242.127,537,348.193]],["content/570",[4,1.243,6,1.931,9,9.126,25,1.138,33,3.092,44,3.339,45,3.402,88,4.112,92,5.113,111,4.525,131,6.081,176,4.376,180,10.58,184,4.326,189,6.123,194,9.965,203,6.081,205,5.652,208,6.555,210,7.982,211,9.695,212,10.494,219,6.36,240,2.678,291,5.741,314,7.076,330,4.114,356,5.578,363,11.089,381,3.87,385,4.392,427,4.408,468,5.486,482,6.555,484,6.726,545,4.739,613,4.224,636,6.555,711,5.089,735,5.399,858,6.04,892,7.37,905,7.128,1006,7.285,1035,7.285,1055,5.96,1166,7.864,1175,7.551,1176,9.774,1196,7.864,1422,8.391,1442,10.05,1444,5.674,1602,7.285,1926,8.391,2308,7.551,2507,9.695]],["keywords/570",[]],["title/571",[180,856.66,182,270.003]],["content/571",[6,1.795,12,4.121,18,2.461,19,2.209,23,3.89,25,0.984,32,1.559,33,1.528,34,1.687,51,1.763,70,3.609,97,2.587,114,2.142,116,3.043,155,2.196,161,2.328,162,5.231,164,5.318,171,3.086,173,4.38,176,2.689,180,7.79,182,3.379,183,2.321,184,1.598,186,2.178,188,4.133,192,3.974,202,2.267,205,3.071,206,2.623,210,4.904,211,5.957,212,6.448,218,5.62,222,2.009,240,1.645,252,2.857,260,3.816,273,3.714,281,2.857,291,3.528,301,2.694,330,4.071,347,3.389,361,4.133,366,3.549,381,2.378,385,2.699,389,3.789,413,6.121,421,3.816,424,4.764,469,5.776,490,2.928,496,4.776,520,3.335,536,2.526,538,5.875,543,6.865,545,3.274,562,6.817,580,3.389,587,4.7,592,7.181,611,4.64,683,5.156,686,6.814,708,4.64,716,2.66,717,3.528,734,3.711,737,2.477,758,3.187,785,3.604,804,3.571,824,5.156,876,4.583,910,4.756,928,10.343,936,3.662,957,4.477,981,4.209,982,3.932,1024,3.466,1108,4.982,1126,5.484,1127,4.64,1170,6.035,1196,4.832,1232,5.957,1300,3.389,1329,3.737,1423,6.448,1424,6.448,1425,6.175,1442,6.175,1602,7.181,1603,5.62,1626,10.929,1711,4.832,1743,5.62,1914,5.255,1927,5.364,1949,6.814,2029,6.814,2033,5.957,2126,4.904,2131,4.427,2378,6.448,2502,3.662,2555,6.448,2588,5.364,3153,6.175,3161,6.814,3177,6.814,3226,5.957,3227,5.776,3228,6.448,3456,6.814,3465,6.448,3466,11.819,3467,7.368,3468,7.368,3469,6.448,3470,7.368,3471,7.368]],["keywords/571",[]],["title/572",[191,471.331,879,610.406]],["content/572",[25,1.722,180,9.421,222,5.584,315,6.67,881,14.908,1158,12.586,3472,20.48,3473,20.48,3474,20.48]],["keywords/572",[]],["title/573",[25,79.157,33,153.915,182,237.492,2002,640.194]],["content/573",[]],["keywords/573",[]],["title/574",[33,153.915,44,331.436,182,237.492,2002,640.194]],["content/574",[5,3.548,6,2.052,18,3.788,25,0.754,33,2.125,37,1.904,44,3.157,46,3.67,49,5.334,51,3.933,63,2.487,70,2.765,103,5.053,107,2.785,114,3.296,154,4.168,181,4.379,182,3.279,185,3.97,192,3.812,202,3.488,240,3.67,252,6.373,256,5.334,265,4.079,273,2.487,278,3.052,284,6.857,301,2.584,314,4.022,315,3.693,319,5.053,322,6.042,330,2.726,334,3.269,371,5.915,385,4.153,395,4.768,396,3.705,405,5.831,437,4.45,535,8.888,544,4.23,545,3.141,553,5.079,613,3.994,638,6.539,639,5.397,693,5.079,696,7.052,704,5.959,706,5.79,718,4.601,740,5.274,937,4.952,990,8.888,1011,7.667,1012,7.795,1035,6.889,1061,7.052,1065,6.671,1077,6.418,1419,8.649,1589,8.44,1623,7.667,1655,10.485,1915,10.485,1961,6.74,2002,8.839,2095,7.935,3475,11.339,3476,10.485,3477,11.339,3478,11.339,3479,11.339,3480,11.339,3481,11.339,3482,9.923]],["keywords/574",[]],["title/575",[25,79.157,33,153.915,437,467.161,1066,635.181]],["content/575",[3,5.962,5,2.798,6,2.015,25,0.862,33,2.337,51,3.102,53,5.475,69,4.046,107,3.184,152,2.581,171,3.385,176,6.596,184,2.811,185,3.131,199,6.206,205,3.368,206,4.614,224,3.93,240,4.036,265,4.663,273,3.964,281,8.07,284,7.382,293,3.628,297,3.677,301,2.954,311,5.552,314,4.598,315,4.222,330,4.346,373,3.343,388,7.27,414,5.067,425,6.502,504,5.746,537,4.248,538,6.443,543,4.8,545,3.59,553,5.806,613,4.566,614,5.606,637,7.405,697,8.268,732,4.535,740,6.029,1061,8.061,1067,8.764,1068,7.705,1080,10.16,1118,8.38,1166,8.5,1170,6.618,1922,11.986,1927,9.435,3483,12.962,3484,12.962,3485,12.962]],["keywords/575",[]],["title/576",[25,70.65,33,137.374,467,375.547,670,595.91,2002,571.393]],["content/576",[6,2.198,10,6.074,18,5.127,25,1.348,33,1.985,37,2.577,52,4.229,86,6.202,111,5.792,181,4.09,182,3.062,184,3.329,185,3.708,202,4.722,225,5.502,226,7.837,252,5.952,255,6.256,256,7.221,278,4.132,284,5.445,288,7.58,293,4.297,299,9.546,304,7.731,400,6.911,437,6.024,462,6.099,555,9.546,582,8.61,635,13.432,732,5.37,973,8.255,991,8.461,1150,12.032,1397,12.41,1636,10.741,1933,12.032,1935,12.032,2002,8.255,3486,15.349,3487,14.193]],["keywords/576",[]],["title/577",[25,89.993,886,483.395,1074,739.744]],["content/577",[4,2.165,25,1.389,136,12.048,182,4.168,291,10.002,902,11.934,907,12.838,1694,14.618,2002,11.236]],["keywords/577",[]],["title/578",[29,772.941]],["content/578",[25,1.616,28,10.507,29,10.077,122,8.989,319,9.126,722,12.236,1083,17.922]],["keywords/578",[]],["title/579",[33,174.985,198,361.493,323,745.978]],["content/579",[4,1.06,19,4.566,22,3.998,23,4.225,24,5.258,25,1.211,32,2.164,34,3.488,35,4.368,37,2.557,45,4.321,98,4.381,116,4.223,124,5.705,144,6.284,151,3.155,158,6.439,161,3.23,167,4.444,171,2.67,182,2.04,190,4.783,191,3.074,198,2.732,271,3.627,275,5.072,278,2.753,281,3.965,291,4.896,293,2.862,297,2.901,355,6.003,379,4.678,427,5.6,432,5.374,467,3.615,480,3.679,514,3.666,572,3.653,630,7.416,758,4.423,765,4.993,767,5.842,768,8.702,770,5.05,771,6.103,772,6.319,773,6.003,776,7.25,777,4.557,779,6.806,780,5.415,981,5.842,1219,4.926,1256,5.788,1329,5.185,1400,8.545,1540,6.36,1589,7.611,1941,8.57,1942,8.016,2002,9.791,3227,8.016,3488,10.226]],["keywords/579",[]],["title/580",[25,79.157,183,374.904,284,422.228,2002,640.194]],["content/580",[4,1.06,5,2.208,6,0.99,19,3.065,22,3.998,23,4.267,25,1.013,32,2.164,34,2.341,35,2.932,161,3.23,164,5.717,183,4.798,241,3.801,273,3.992,284,3.627,308,3.31,330,3.662,341,6.079,355,7.174,425,3.679,538,7.572,543,5.641,545,2.832,572,3.653,622,4.15,642,4.58,722,5.15,734,5.15,758,4.423,768,5.842,804,4.956,818,7.611,819,7.156,820,7.03,823,8.016,824,7.156,825,6.914,858,5.15,1061,6.36,1098,8.016,1170,5.221,1308,5.788,1941,12.767,2002,11.602,3227,8.016,3489,10.226,3490,8.016,3491,10.226,3492,9.456,3493,10.226,3494,11.089,3495,9.456,3496,9.456,3497,10.226,3498,10.226,3499,9.456,3500,9.456,3501,9.456,3502,8.949,3503,7.611,3504,8.949,3505,9.456,3506,8.949,3507,10.226,3508,10.226,3509,8.949]],["keywords/580",[]],["title/581",[25,79.157,65,390.118,400,535.943,408,393.825]],["content/581",[2,4.689,4,1.857,5,2.764,6,1.735,10,7.091,20,5.734,25,0.851,37,3.471,51,4.947,52,3.527,58,6.563,63,2.807,69,3.996,85,6.167,86,5.173,87,4.449,98,5.484,100,4.741,103,5.705,154,4.706,192,4.304,195,6.779,220,4.526,256,6.023,275,5.967,297,3.632,308,5.8,329,5.705,334,3.691,373,3.302,394,6.492,395,5.383,408,7.799,467,4.526,491,9.319,492,8.656,562,7.383,581,5.433,636,6.998,639,6.093,874,5.676,898,8.801,956,8.062,958,5.922,1019,8.062,1110,7.314,1181,11.203,1261,8.166,1595,7.962,1871,10.351,1961,7.61,1962,11.838,1964,11.838,2002,6.886,3510,12.802,3511,12.802,3512,12.802,3513,12.802]],["keywords/581",[]],["title/582",[6,92.877,25,63.794,205,249.247,219,356.567,240,214.197,613,337.935]],["content/582",[6,1.21,25,1.357,45,3.545,70,4.296,88,4.284,107,3.069,136,7.206,149,5.183,152,2.488,155,5.251,181,3.329,184,2.71,185,4.929,192,4.201,204,5.912,205,3.247,222,3.407,225,6.315,226,6.38,240,4.556,243,5.748,264,3.622,278,3.364,293,3.498,301,2.848,314,4.432,330,4.906,347,5.748,379,5.717,385,4.577,517,6.775,537,4.095,545,3.461,564,5.78,584,8.448,613,6.206,622,5.071,638,7.206,652,8.435,704,6.567,706,6.38,707,8.448,711,5.303,714,8.317,718,5.071,732,4.372,892,7.679,893,5.254,910,5.027,914,5.878,1006,7.591,1024,5.878,1113,9.096,1115,9.096,1116,8.756,2002,6.72,2639,10.472,3514,12.495,3515,10.472,3516,12.495,3517,12.495,3518,12.495]],["keywords/582",[]],["title/583",[25,79.157,202,366.157,563,509.904,1119,686.479]],["content/583",[]],["keywords/583",[]],["title/584",[107,332.397,181,360.573,732,473.461]],["content/584",[6,1.713,33,2.288,37,2.971,151,5.46,181,4.715,182,3.531,185,4.275,200,6.602,240,3.951,264,5.13,265,6.366,314,6.277,347,8.14,392,8.231,532,10.306,553,7.926,564,8.185,622,7.181,707,11.965,904,12.882,937,7.729,1152,11.779,1155,11.965,2002,9.518,2141,11.288,3519,17.696,3520,17.696]],["keywords/584",[]],["title/585",[183,374.904,273,261.029,330,286.181,356,553.65]],["content/585",[6,1.699,18,5.861,25,1.167,152,3.493,161,5.543,183,5.527,252,6.804,273,3.848,299,10.913,301,3.999,330,4.219,374,14.187,385,6.427,399,9.592,496,7.09,515,8.666,537,5.751,545,4.86,727,12.279,732,6.139,734,8.838,856,11.345,858,8.838,919,12.279,973,9.438,1061,10.913,1967,13.755,2002,9.438]],["keywords/585",[]],["title/586",[6,131.019,185,326.9,480,486.819]],["content/586",[5,4.214,6,2.285,25,1.298,51,4.671,87,6.783,182,3.895,185,4.715,278,5.255,297,5.538,480,7.022,863,11.258,906,10.583,932,8.883,934,11.996,1299,14.209]],["keywords/586",[]],["title/587",[60,504.882,63,296.762,514,485.1]],["content/587",[60,7.149,63,4.202,191,5.76,273,4.202,405,9.853,581,8.131,590,8.17,718,7.776,737,6.442,868,16.058,898,13.173,905,11.39,924,12.223,984,11.776,994,10.306,1327,10.225,1427,10.225,2000,14.262]],["keywords/587",[]],["title/588",[217,483.395,556,483.395,742,612.527]],["content/588",[5,4.214,35,5.598,37,3.277,63,4.281,152,3.886,217,6.973,512,7.99,514,6.997,718,7.921,737,6.563,785,5.953,866,11.484,944,10.949,1426,14.889,1825,15.782,2590,17.082]],["keywords/588",[]],["title/589",[281,524.746,297,383.895,379,619.122]],["content/589",[6,1.758,25,1.208,69,5.669,70,5.507,155,5.413,182,3.623,198,4.851,246,5.737,281,8.756,288,8.968,301,4.139,311,7.779,330,4.366,427,6.675,537,5.952,588,13.851,611,11.435,613,6.397,893,7.635,957,11.032,1081,11.16,2002,9.767]],["keywords/589",[]],["title/590",[4,110.083,25,70.65,85,511.73,855,631.517,2002,571.393]],["content/590",[4,1.717,5,3.576,6,1.883,25,1.102,33,2.142,44,4.613,45,3.252,46,3.711,60,6.181,70,2.796,73,5.854,98,4.911,144,7.045,155,3.417,181,4.414,186,3.388,190,5.362,191,4.98,193,4.593,225,4.109,226,5.854,246,3.621,252,6.424,264,3.323,273,3.633,308,5.362,323,6.319,330,2.756,360,12.911,379,5.245,392,5.332,398,4.293,427,4.214,478,7.13,517,6.215,545,3.175,564,5.303,590,4.888,668,5.937,739,7.412,782,6.744,786,4.911,965,7.13,1061,7.13,1089,6.611,1092,8.744,1134,6.488,1143,7.412,1188,9.268,1298,9.953,1310,6.676,1427,6.117,1428,10.601,1589,8.533,1786,8.986,1966,8.022,2002,6.166,2301,7.313,3257,10.601,3482,14.497,3487,10.601,3490,12.985,3494,8.345,3521,11.464,3522,11.464,3523,11.464,3524,11.464,3525,10.601,3526,11.464,3527,11.464,3528,11.464]],["keywords/590",[]],["title/591",[191,471.331,879,610.406]],["content/591",[4,1.264,19,6.572,25,1.645,33,1.578,51,2.92,85,5.878,87,4.24,105,9.392,125,4.828,152,2.429,171,3.186,183,3.843,190,5.708,191,3.668,192,4.102,196,3.798,222,4.724,255,4.973,265,4.39,284,4.328,291,5.842,293,3.416,366,5.878,398,4.57,496,4.931,523,10.833,536,4.184,853,9.896,855,7.253,857,6.275,861,5.676,872,8.725,879,6.744,882,12.378,883,9.392,884,7.107,886,4.359,887,7.107,937,5.329,973,6.563,993,5.878,994,6.563,995,8.702,996,5.523,997,8.882,998,8.702,1127,7.684,1154,9.565,1192,7.589,1982,9.865,2002,12.937,3494,8.882,3529,10.678,3530,12.202,3531,12.202,3532,12.202]],["keywords/591",[]],["title/592",[25,63.794,33,124.043,52,264.317,264,278.105,462,381.156,2002,515.945]],["content/592",[]],["keywords/592",[]],["title/593",[52,513.439]],["content/593",[5,4.601,6,2.063,33,2.143,37,3.578,51,3.965,52,4.566,181,4.415,182,3.306,186,4.898,200,6.182,222,4.518,232,9.85,286,10.183,293,4.638,297,4.701,308,5.364,322,7.834,395,6.967,501,8.52,556,5.919,557,6.584,563,7.098,572,5.919,630,6.091,659,7.622,692,8.461,694,8.236,695,8.183,911,10.57,1329,8.403,2095,11.595]],["keywords/593",[]],["title/594",[4,140.222,52,372.867,2002,727.832]],["content/594",[4,1.857,5,2.764,6,2.282,9,5.857,12,4.464,23,1.951,40,6.84,44,3.565,52,4.937,63,2.807,69,3.996,70,4.37,79,6.779,97,4.494,107,4.402,149,7.433,151,3.95,181,3.411,182,3.575,184,2.776,185,5.41,192,4.304,193,5.129,205,4.656,206,4.557,240,4.001,243,5.889,272,5.458,273,2.807,298,6.282,334,3.691,373,3.302,385,4.689,490,5.087,520,5.795,525,6.728,559,8.166,675,5.955,704,6.728,709,7.868,713,8.277,716,4.622,718,5.195,719,8.801,893,5.383,914,6.023,924,8.166,1000,6.886,1062,9.529,1064,8.959,1197,8.959,1398,8.062,2002,6.886,3291,11.838,3292,11.838,3293,11.838]],["keywords/594",[]],["title/595",[4,140.222,52,372.867,510,686.235]],["content/595",[3,4.172,5,1.958,6,1.638,14,3.409,16,4.663,25,1.262,37,1.522,51,2.17,52,6.394,58,3.321,63,1.989,88,3.109,92,3.866,110,6.136,114,2.636,125,5.504,155,2.703,182,1.809,183,5.977,186,4.112,195,4.802,196,5.267,199,4.342,202,4.279,222,3.793,246,2.865,252,3.516,254,5.391,256,4.266,264,4.033,265,3.262,273,4.737,278,2.441,281,6.562,286,5.573,287,4.507,293,2.538,297,4.801,300,4.999,301,2.067,308,6.626,310,4.105,319,4.041,322,3.334,330,2.18,364,4.917,371,4.731,389,4.663,390,6.75,398,3.396,400,4.083,425,5.004,438,3.396,462,3.603,466,4.731,479,5.449,480,3.262,485,7.108,510,4.599,524,5.947,536,4.77,537,2.972,539,4.218,545,3.853,549,4.766,553,4.062,559,5.785,563,5.959,614,3.922,634,6.467,659,4.172,692,4.63,700,10.354,703,3.383,728,7.936,738,5.863,742,4.105,743,6.346,765,2.972,943,4.766,951,7.936,963,3.502,996,4.105,1072,6.346,1164,5.573,1335,7.108,1697,5.133,2002,4.877,2114,5.947,2731,6.917,3294,8.386,3295,8.386,3298,8.386,3300,8.386,3301,8.386,3533,9.068,3534,9.068,3535,9.068]],["keywords/595",[]],["title/596",[25,79.157,171,310.82,191,357.826,2002,640.194]],["content/596",[25,1.336,41,13.58,52,5.534,111,7.579,171,5.245,191,6.038,202,6.178,272,8.563,322,7.383,400,9.043,462,7.98,529,11.368,2002,10.802]],["keywords/596",[]],["title/597",[25,104.266,29,650.349]],["content/597",[25,1.625,28,10.568,29,10.136,30,9.73,107,5.08,722,12.308]],["keywords/597",[]],["title/598",[33,174.985,198,361.493,224,410.309]],["content/598",[4,1.024,19,2.963,22,3.898,23,4.222,24,5.127,25,1.186,32,3.143,33,1.921,34,3.401,35,5.688,37,3.33,52,2.724,63,2.168,103,4.405,111,3.73,114,5.186,151,3.05,158,6.225,161,3.123,167,4.297,171,2.582,191,2.972,204,4.678,224,2.997,264,4.306,271,3.507,275,5.941,289,4.598,293,2.767,334,2.85,355,5.853,440,4.573,462,3.928,467,3.495,510,5.013,536,3.39,572,3.531,590,4.215,607,5.36,630,7.292,723,6.684,758,4.276,763,5.048,765,5.847,766,12.009,767,5.648,768,10.192,769,7.196,770,4.882,771,7.148,772,4.101,773,7.031,774,5.404,775,4.733,776,7.069,777,4.405,778,7.358,779,6.58,780,5.235,1540,6.148,2002,5.317,3302,9.142,3536,9.886]],["keywords/598",[]],["title/599",[784,1141.31,785,478.129]],["content/599",[23,4.241,32,4.397,33,1.405,34,5.61,35,6.63,63,2.383,108,5.668,171,2.837,462,8.255,490,4.317,545,3.01,642,4.867,659,4.998,682,12.881,768,6.207,771,7.558,784,7.91,785,3.314,786,4.655,787,7.721,788,9.106,789,13.352,790,9.509,791,9.509,792,6.267,793,9.509,794,13.943,795,9.509,796,9.509,797,13.943,798,9.509,799,10.953,800,7.604,801,9.106,802,9.509,803,16.508,804,9.142,805,12.371,806,5.234,807,8.785,808,9.106,809,5.366,1300,4.998,1308,6.15,3537,10.866,3538,10.866]],["keywords/599",[]],["title/600",[273,261.029,284,422.228,545,329.694,735,535.943]],["content/600",[6,2.21,25,1.229,51,4.422,182,3.687,192,6.213,265,6.648,273,4.053,281,7.166,284,6.556,293,5.173,301,4.212,330,4.443,399,10.103,425,6.648,537,6.057,538,9.186,545,5.119,562,10.659,961,10.188,1061,11.494,2002,9.94]],["keywords/600",[]],["title/601",[4,90.608,183,275.416,308,283.049,722,440.43,1308,494.931,2002,470.306,3490,685.44]],["content/601",[6,1.623,19,3.494,22,4.4,23,4.167,32,4.155,34,2.669,51,2.789,164,5.265,183,3.671,198,3.114,273,4.306,281,4.52,330,4.031,355,6.607,399,6.372,425,4.193,538,9.759,544,4.349,545,4.644,735,5.248,768,6.659,778,12.479,819,8.157,820,8.013,823,9.137,824,8.157,825,7.881,1033,8.485,1061,10.427,1170,5.952,1663,6.481,2002,9.017,3226,9.424,3312,9.769,3313,10.2,3314,10.2,3318,9.769,3319,9.769,3320,9.137,3492,10.778,3494,8.485,3495,10.778,3496,10.778,3499,10.778,3500,10.778,3501,10.778,3502,10.2,3503,8.676,3504,10.2,3505,10.778,3506,10.2,3509,10.2,3539,10.778,3540,10.778,3541,11.656,3542,11.656,3543,11.656]],["keywords/601",[]],["title/602",[4,140.222,826,745.978,2002,727.832]],["content/602",[6,1.304,23,3.659,25,0.895,32,2.849,45,3.82,164,4.228,183,4.241,191,4.048,228,5.88,241,5.005,273,2.953,284,7.533,334,3.882,381,4.345,396,4.399,446,10.022,496,5.441,536,4.617,543,4.986,600,7.242,674,6.797,734,6.782,763,6.875,819,9.422,820,9.256,823,10.554,824,9.422,825,9.104,826,10.23,828,10.27,850,16.24,872,6.782,991,7.422,1093,10.886,1151,8.705,1174,8.18,1183,7.422,1264,10.022,2002,7.242,3226,10.886,3312,11.284,3313,11.783,3314,11.783,3318,11.284,3319,11.284,3482,11.783,3502,11.783,3503,10.022,3504,11.783,3506,11.783,3509,11.783,3539,12.45,3540,12.45,3544,13.464,3545,13.464]],["keywords/602",[]],["title/603",[19,356.811,25,79.157,52,327.97,2002,640.194]],["content/603",[4,2.34,19,5.443,25,1.634,67,7.306,85,8.747,182,4.505,255,7.401,291,8.694,349,11.741,523,9.767,554,8.694,580,8.353,621,12.951,853,12.9,854,14.234,855,10.794,1341,14.681,2002,9.767,3212,15.891]],["keywords/603",[]],["title/604",[25,89.993,202,416.281,563,579.706]],["content/604",[4,1.664,6,2.467,25,1.389,33,2.077,37,3.506,184,3.483,185,3.879,201,6.203,202,4.94,265,5.777,278,4.323,330,3.861,425,5.777,435,9.554,480,7.513,481,8.853,514,5.757,536,5.506,553,7.193,556,5.736,563,6.879,613,5.657,614,6.946,652,7.689,742,9.453,765,5.263,856,10.383,932,7.308,1747,10.858,1782,11.453]],["keywords/604",[]],["title/605",[52,432.005,703,584.959]],["content/605",[5,3.886,6,1.743,37,3.022,51,5.374,52,6.188,61,9.682,63,3.948,222,4.909,391,11.312,462,7.153,674,6.593,683,12.597,703,9.564,861,8.373,945,14.111,1025,13.731,1165,11.805,1558,11.063,3329,16.646]],["keywords/605",[]],["title/606",[52,432.005,179,779.313]],["content/606",[25,1.555,37,3.542,58,5.974,62,6.987,63,4.626,98,6.987,100,6.04,122,7.159,142,9.595,179,8.107,222,4.448,250,8.704,287,8.107,297,4.627,308,5.28,334,4.703,395,6.858,437,6.401,533,9.232,536,7.233,562,9.407,827,10.024,871,13.187,872,8.215,873,9.8,874,10.366,875,8.637,1000,8.772,1019,10.271,3330,15.082]],["keywords/606",[]],["title/607",[37,199.834,51,284.834,63,261.029,689,650.672]],["content/607",[25,1.389,37,3.507,40,7.974,51,4.999,63,4.581,114,6.073,193,8.37,554,10.002,878,13.699]],["keywords/607",[]],["title/608",[191,471.331,879,610.406]],["content/608",[4,2.051,23,2.256,25,1.65,52,5.453,181,3.944,182,2.954,196,4.608,198,3.955,200,5.523,202,4.554,234,6.847,256,6.964,265,5.326,273,3.246,281,5.74,284,5.251,304,7.456,322,5.442,385,5.422,398,5.544,462,5.882,496,5.982,523,7.962,563,6.342,617,7.839,642,6.631,659,6.81,692,7.559,738,9.572,853,8.457,857,7.612,883,8.026,884,8.622,885,10.776,910,5.956,912,7.723,931,8.8,937,6.465,996,6.701,1171,10.177,1583,11.604,2002,7.962,2515,11.019,3331,13.689]],["keywords/608",[]],["title/609",[116,250.367,240,135.375,670,845.279,1055,301.353,1109,313.99,1176,346.35,1361,326.085,2589,372.601,3546,451.274]],["content/609",[]],["keywords/609",[]],["title/610",[1109,811.993,1176,895.677]],["content/610",[4,0.847,6,1.738,7,2.553,12,2.852,23,3.825,40,3.122,51,1.957,69,2.553,107,2.009,116,3.377,125,3.236,131,4.147,148,4.717,149,3.392,151,2.523,155,2.438,162,6.347,164,4.977,181,2.179,205,5.992,206,2.911,220,2.891,222,2.23,223,6.602,240,4.623,248,4.434,272,3.487,301,1.864,311,3.503,314,5.622,347,3.762,392,3.804,396,2.672,398,3.063,420,4.969,438,3.063,440,3.783,452,3.783,456,7.157,457,5.53,490,3.25,537,2.68,539,3.804,545,3.556,616,5.723,711,7.62,718,3.319,741,4.969,786,5.5,901,4.901,906,4.434,908,6.612,910,5.166,914,3.847,955,4.717,957,9.63,963,3.159,991,4.508,996,5.811,1047,5.953,1055,4.065,1066,4.364,1082,5.444,1109,10.724,1119,4.717,1165,5.363,1175,8.085,1176,12.81,1199,6.411,1268,4.235,1297,8.681,1339,3.663,1359,6.238,1377,6.006,1564,5.217,1617,4.266,1726,4.399,2126,8.546,2436,7.157,2775,7.563,3109,6.854,3547,8.178,3548,8.178,3549,8.178,3550,7.563,3551,6.612,3552,8.178,3553,15.85,3554,8.178,3555,7.563,3556,8.178,3557,8.178,3558,8.178,3559,8.178,3560,5.953,3561,6.238,3562,8.178,3563,5.622,3564,5.833]],["keywords/610",[]],["title/611",[1055,926.214]],["content/611",[4,1.446,6,1.643,7,2.843,23,3.631,32,1.927,49,4.285,51,2.179,67,3.665,110,4.018,111,3.437,131,7.078,155,2.715,162,3.22,166,4.938,182,1.817,186,2.692,192,3.062,195,4.823,198,2.433,203,4.619,205,3.626,219,3.385,234,4.213,240,4.58,248,4.938,272,5.951,278,2.452,293,3.907,298,4.469,301,2.076,308,2.948,311,3.902,314,7.275,322,5.131,334,4.024,378,5.472,385,3.336,393,4.899,396,2.976,420,5.534,421,4.717,438,3.411,452,4.213,460,6.947,481,5.021,484,5.109,490,3.619,494,6.947,537,2.985,545,2.523,562,5.253,563,3.902,564,4.213,579,5.889,584,6.158,675,4.236,692,4.651,711,3.865,735,6.284,736,3.411,745,4.979,910,3.665,911,5.81,943,4.787,987,5.889,991,5.021,996,4.123,1055,10.194,1103,6.374,1109,7.228,1111,6.262,1158,5.597,1176,5.203,1207,5.253,1297,9.437,1339,6.252,1590,6.947,1617,4.751,1634,6.496,1646,6.062,1726,4.899,2088,6.496,2308,5.735,2421,6.779,2638,6.947,3041,7.364,3202,7.364,3565,8.422,3566,9.108,3567,12.214,3568,9.108,3569,8.422,3570,13.957,3571,9.108,3572,9.108,3573,8.422,3574,9.108,3575,7.971,3576,9.108,3577,9.108,3578,9.108,3579,8.422,3580,8.422]],["keywords/611",[]],["title/612",[116,558.828,240,302.163,2589,831.659]],["content/612",[6,1.566,7,1.783,22,1.499,23,4.033,32,3.939,35,1.638,44,1.59,51,1.367,65,1.872,92,2.435,108,2.98,113,2.657,116,9.469,131,4.862,162,4.381,164,5.5,166,3.097,171,3.236,173,3.395,186,1.688,191,3.725,198,1.526,205,4.203,206,5.167,219,2.123,220,2.019,222,1.557,240,4.536,243,2.627,246,1.804,249,3.233,264,2.78,272,2.435,278,1.538,293,1.599,301,3.308,308,1.849,310,2.585,311,2.447,314,6.213,347,2.627,356,5.764,373,1.473,381,1.843,385,2.092,396,1.866,425,2.055,427,3.525,440,2.642,467,2.019,490,2.269,496,2.308,504,2.532,529,3.233,537,1.872,545,2.656,561,4.511,562,3.294,564,2.642,616,3.997,630,4.556,695,2.821,711,2.424,716,3.462,735,2.572,736,3.591,737,1.92,740,4.46,771,2.288,786,2.447,894,3.675,971,3.395,979,4.618,996,4.34,1033,6.98,1055,4.766,1082,3.802,1125,3.997,1143,3.693,1175,3.597,1191,6.117,1224,3.326,1264,7.137,1309,2.687,1339,7.246,1350,4.357,1566,8.391,1617,10.19,1631,7.014,1638,4.477,1726,3.072,1787,4.477,1803,4.251,1928,5.282,2079,3.263,2118,3.862,2161,4.357,2175,4.251,2304,4.158,2589,5.893,2625,4.357,2912,3.552,3167,12.34,3367,2.751,3448,4.618,3575,4.998,3581,5.712,3582,5.282,3583,5.282,3584,5.712,3585,9.714,3586,3.294,3587,5.712,3588,5.712,3589,5.712,3590,8.867,3591,5.712,3592,10.804,3593,3.802,3594,5.712,3595,5.282,3596,5.712,3597,4.998,3598,5.282,3599,5.282,3600,5.712,3601,4.787,3602,5.712,3603,5.712,3604,5.712,3605,5.712,3606,5.282,3607,5.712,3608,5.712,3609,5.712,3610,5.712,3611,5.282,3612,5.712,3613,5.712,3614,5.712,3615,5.712,3616,5.712]],["keywords/612",[]],["title/613",[308,507.514,3546,1167.014]],["content/613",[3,4.921,4,1.937,6,1.81,22,2.808,46,5.099,51,2.56,58,3.918,63,2.346,65,3.506,66,7.788,68,5.623,69,3.34,97,3.756,110,4.719,182,2.135,186,3.162,192,5.296,195,8.341,200,3.991,205,2.78,219,3.977,234,4.948,240,2.389,265,3.849,272,4.561,297,5.303,298,5.25,301,2.438,304,5.388,308,5.099,310,4.842,322,3.933,334,3.085,356,7.327,392,4.976,396,3.495,398,4.006,407,5.217,419,6.5,438,4.006,462,4.251,484,6.001,496,4.323,504,4.743,531,5.848,537,3.506,551,7.168,558,8.386,565,6.055,579,6.917,584,7.234,606,8.386,671,8.966,675,4.976,692,5.463,703,3.991,705,6.231,735,4.817,912,5.581,937,4.672,963,4.132,996,4.842,1019,6.737,1038,9.796,1079,8.16,1187,6.917,1189,6.654,1207,6.17,1268,5.541,1339,4.792,1634,7.63,1685,9.362,1708,7.355,2308,6.737,2321,6.737,2560,7.016,2589,6.575,3546,17.694,3617,8.65,3618,10.698,3619,15.752,3620,10.698,3621,9.893,3622,10.698]],["keywords/613",[]],["title/614",[1361,1002.228]],["content/614",[4,1.967,6,1.063,29,4.555,44,4.47,45,3.115,46,5.197,51,3.842,67,4.418,72,5.226,182,2.191,186,3.246,187,6.748,190,5.136,199,5.257,200,5.99,205,5.425,219,5.968,240,4.662,248,5.953,265,3.95,272,4.682,288,5.423,291,5.257,297,3.115,301,3.659,308,3.554,310,4.97,311,4.704,314,5.695,322,4.036,345,8.376,356,5.107,366,5.289,373,2.832,385,4.022,438,4.112,467,3.881,477,11.053,496,4.437,515,5.423,537,5.262,571,7.201,645,6.46,660,6.159,717,5.257,732,3.842,826,6.053,879,4.275,936,5.458,937,4.796,996,8.591,1054,7.684,1055,5.458,1189,6.829,1227,7.201,1297,7.424,1332,5.906,1361,12.48,1590,8.376,1786,8.607,1823,8.607,2118,7.424,2182,9.609,2913,8.173,2918,9.609,2978,9.609,3167,8.376,3449,10.154,3546,8.173,3623,8.376,3624,10.154,3625,10.98,3626,10.98,3627,10.154]],["keywords/614",[]],["title/615",[248,850.067,703,584.959]],["content/615",[]],["keywords/615",[]],["title/616",[6,115.243,298,584.092,1339,533.158,1961,707.558]],["content/616",[4,1.578,6,2.382,19,3.065,25,0.68,53,4.319,54,4.444,58,5.579,72,4.867,73,5.221,88,3.506,110,6.72,111,3.859,112,6.706,116,4.223,131,10.23,151,3.155,174,6.079,192,3.438,205,3.958,240,4.817,241,3.801,272,4.36,297,2.901,298,5.018,308,4.931,314,6.458,329,4.557,334,2.948,335,10.864,345,7.8,381,6.51,385,3.745,396,4.977,403,8.267,418,8.016,496,4.132,515,9.962,522,9.456,561,4.811,711,8.561,786,4.381,855,6.079,932,4.653,1000,5.5,1055,5.083,1109,9.428,1169,4.678,1175,6.439,1176,10.4,1339,10.784,1350,11.62,1401,7.293,1633,5.842,1711,6.706,1902,6.284,1961,6.079,1974,9.456,2072,8.949,2589,6.284,2733,7.293,2912,6.36,3546,7.611,3585,14.27,3586,5.897,3628,10.226,3629,7.444]],["keywords/616",[]],["title/617",[703,396.364,711,450.843,757,686.894,1713,575.999,2612,757.671]],["content/617",[4,2.172,6,0.658,10,2.687,23,1.035,25,0.736,28,2.937,51,4.81,54,4.809,67,2.733,69,4.371,70,3.415,72,3.233,88,2.329,92,2.896,97,2.384,108,3.543,121,4.081,131,3.444,171,1.774,182,2.208,184,1.473,186,2.008,187,4.174,191,2.042,192,3.72,201,2.623,204,3.214,205,4.195,215,3.569,219,4.113,222,1.852,240,4.488,246,3.496,251,6.153,256,3.195,264,3.208,278,1.828,281,7.392,301,1.548,308,2.198,311,7.616,314,8.826,323,3.744,334,1.958,356,6.513,373,1.752,381,2.192,385,2.488,396,2.219,409,4.332,413,3.517,418,5.324,432,7.359,444,7.744,447,4.332,466,5.773,489,5.055,490,2.699,512,2.78,584,4.592,590,2.896,630,2.497,660,3.81,661,4.332,673,3.543,694,6.96,703,7.5,714,4.521,716,2.452,736,6.047,739,4.391,775,3.252,890,7.892,901,2.593,910,2.733,996,3.074,1058,3.517,1115,8.055,1160,3.444,1219,6.745,1298,4.081,1495,6.28,1595,4.224,1617,3.543,1633,3.88,1704,4.277,1707,4.844,1713,7.592,1718,4.944,1746,5.324,2089,4.454,2252,6.723,2303,3.653,2542,4.944,2612,7.892,2638,5.181,2669,4.592,2720,4.277,2731,5.181,3012,10.233,3169,5.324,3231,6.28,3585,5.324,3617,5.491,3629,10.194,3630,14.003,3631,6.792,3632,6.792,3633,5.944,3634,6.792,3635,6.792,3636,6.792,3637,6.792,3638,6.792,3639,6.792,3640,6.792,3641,6.28,3642,5.692,3643,6.792,3644,6.792,3645,6.28,3646,5.692,3647,6.792,3648,6.792,3649,6.792,3650,6.28,3651,6.28]],["keywords/617",[]],["title/618",[199,508.659,264,307.993,311,455.105,314,376.852,3515,890.35]],["content/618",[4,1.31,6,1.72,10,5.004,44,3.521,63,2.773,76,7.518,162,4.471,175,7.866,182,4.098,196,3.936,199,9.834,205,3.286,210,8.418,227,6.503,240,3.967,252,4.904,310,5.724,311,8.798,314,7.285,321,7.772,347,8.173,373,3.262,385,4.632,395,7.47,396,4.132,425,4.55,466,6.597,514,4.534,543,4.683,545,3.503,551,5.755,567,8.293,664,6.328,705,7.365,785,6.263,901,4.828,911,8.067,950,8.418,963,4.885,994,6.802,1055,6.286,1081,7.772,1127,7.964,1128,12.933,1160,6.413,1164,7.772,1339,5.665,1388,8.067,1405,11.067,1422,8.85,1558,7.772,1722,9.206,1726,6.802,1858,9.913,2744,11.067,3652,12.647,3653,12.647,3654,12.647,3655,12.647]],["keywords/618",[]],["title/619",[3623,1195.939,3629,1141.31]],["content/619",[3,7.387,4,2.164,25,1.068,40,6.13,70,3.916,116,6.632,131,10.59,201,8.066,240,4.663,254,9.546,255,6.545,293,4.495,314,5.697,375,8.378,420,9.757,467,5.677,499,8.44,510,8.144,516,8.258,552,8.44,711,6.815,894,6.154,1055,7.982,1109,8.317,1176,9.174,1227,10.531,1625,12.984,1729,15.929,2589,9.869,3623,12.249,3629,11.69,3656,13.459,3657,16.059,3658,16.059]],["keywords/619",[]],["title/620",[63,343.83,689,857.071]],["content/620",[4,1.295,16,6.425,20,7.891,40,4.77,63,4.859,68,6.567,86,8.245,107,3.069,114,3.632,116,5.16,149,5.183,162,6.227,193,5.006,222,3.407,240,4.556,248,6.775,301,2.848,331,8.079,349,8.079,387,7.277,428,9.475,462,4.965,496,5.049,514,6.315,551,5.686,554,5.983,556,4.463,596,8.744,606,9.795,675,8.194,683,8.744,689,6.83,861,5.812,891,9.711,955,7.206,1016,9.3,1055,8.756,1109,6.471,1165,8.194,1176,7.138,1189,7.771,1219,6.019,1361,6.72,1608,13.809,1617,6.518,1933,9.795,2304,9.096,2444,7.591,2589,7.679,3058,9.531,3167,9.531,3546,16.492,3563,8.59,3617,10.102,3621,11.554,3659,10.472,3660,12.495,3661,10.472]],["keywords/620",[]],["title/621",[675,866.742]],["content/621",[6,1.643,10,4.691,12,4.134,49,5.577,58,4.342,67,4.77,116,7.008,131,8.606,162,5.999,182,2.365,186,3.504,189,6.053,205,4.409,222,3.233,240,4.426,272,5.055,293,3.319,301,3.868,311,5.079,314,7.031,385,4.342,401,5.31,452,5.484,515,5.855,536,5.819,537,5.562,545,3.284,549,6.23,562,6.837,569,5.817,664,5.931,675,10.651,692,8.665,699,7.665,716,4.28,736,4.44,761,8.63,918,6.71,937,5.178,955,6.837,957,7.203,963,6.555,971,7.047,996,7.681,1035,7.203,1048,9.585,1055,8.435,1173,7.047,1176,6.772,1189,7.373,1297,8.016,1339,7.601,1590,9.043,1617,6.184,2589,7.286,2899,10.963,3052,10.375,3565,10.963,3617,9.585,3645,10.963,3662,11.855,3663,11.855,3664,11.855,3665,11.855]],["keywords/621",[]],["title/622",[1608,1460.68]],["content/622",[6,1.271,10,5.193,12,4.576,69,4.097,116,5.42,201,5.069,205,5.444,222,3.579,240,4.678,265,6.559,279,7.802,291,6.284,297,3.723,298,6.44,311,5.622,314,7.432,334,3.784,356,8.481,393,9.807,536,4.5,564,6.071,699,11.789,736,4.915,761,9.554,866,7.721,890,9.36,905,7.802,955,7.569,963,5.069,1030,6.44,1055,10.414,1117,10.611,1176,7.498,1207,10.516,1339,5.879,1608,18.647,1617,6.847,1631,7.429,1716,9.36,1726,7.059,2301,8.372,2441,12.137,2574,11.486,2589,8.066,3169,10.288,3666,13.125,3667,13.125,3668,18.233,3669,13.125,3670,13.125]],["keywords/622",[]],["title/623",[149,561.321,240,302.163,428,727.832]],["content/623",[4,1.865,86,5.205,116,5.319,131,6.532,149,8.604,182,2.57,186,3.807,201,4.975,205,3.347,222,3.512,232,7.657,240,5.014,278,3.468,310,5.831,314,7.966,334,3.714,356,5.992,373,3.322,385,4.718,393,6.928,401,5.77,428,12.078,466,6.72,482,7.042,494,9.826,545,4.985,564,5.958,673,6.72,693,5.77,699,8.329,711,5.466,718,5.227,866,10.587,905,7.657,918,7.291,955,7.429,963,4.975,1055,11.162,1171,8.856,1176,7.359,1185,10.415,1189,8.011,1207,7.429,1219,6.205,1297,8.71,1631,7.291,2114,8.447,2488,9.377,2589,7.916,3167,9.826,3671,12.881,3672,12.881,3673,12.881,3674,12.881]],["keywords/623",[]],["title/624",[4,123.338,67,478.927,73,607.783,232,707.558]],["content/624",[3,3.916,4,1.685,6,0.824,40,3.249,51,2.037,63,1.867,67,5.33,72,4.052,88,2.919,96,4.818,113,3.959,116,5.471,131,4.317,162,4.683,182,3.661,186,3.916,200,3.176,201,3.288,204,4.028,205,3.442,232,5.06,240,4.44,248,4.615,250,7.069,255,3.469,297,5.641,298,4.177,314,3.02,331,5.504,334,2.454,356,3.959,393,4.578,394,4.317,407,4.151,467,4.683,490,3.382,494,6.493,504,5.873,529,4.818,542,5.43,545,3.669,549,4.474,551,3.874,560,7.015,562,4.909,564,3.937,633,6.882,685,6.197,688,5.172,693,3.813,698,8.565,699,8.565,703,4.942,705,4.958,706,4.347,711,3.612,716,3.073,717,4.076,720,6.493,735,5.965,862,5.36,866,5.008,894,3.262,897,5.582,905,5.06,908,6.882,911,5.43,937,3.718,957,5.172,961,4.693,991,4.693,996,5.996,1038,5.294,1048,6.882,1055,6.585,1079,6.493,1109,4.409,1112,5.06,1119,4.909,1158,5.231,1164,5.231,1176,4.863,1180,5.115,1187,5.504,1189,8.239,1207,4.909,1297,5.756,1317,5.957,1623,5.756,1631,4.818,1634,6.071,1684,7.134,1686,6.197,1708,5.852,1730,7.872,1853,7.872,2063,7.134,2102,6.882,2429,6.071,2541,6.493,2572,6.882,2586,7.134,2589,5.231,2590,7.449,2625,6.493,2639,7.134,2916,7.872,3167,10.105,3546,9.86,3560,6.197,3582,7.872,3617,10.71,3623,6.493,3675,8.513,3676,8.513,3677,7.134,3678,7.872,3679,8.513,3680,6.493,3681,7.449,3682,8.513]],["keywords/624",[]],["title/625",[72,746.242,134,887.422]],["content/625",[72,9.844,97,7.261,134,11.707,180,9.514,234,9.567,248,11.214,356,9.62,740,9.62,2098,13.024,2741,15.776]],["keywords/625",[]],["title/626",[116,438.714,205,276.033,398,397.855,616,743.425,741,645.446]],["content/626",[4,1.875,6,0.98,18,3.383,19,3.036,25,0.673,40,3.865,49,4.764,116,9.306,131,5.135,148,8.722,155,3.018,180,4.658,181,2.698,183,3.189,184,2.196,204,4.792,205,6.376,206,3.605,220,7.097,223,5.207,228,4.423,240,4.041,246,3.199,272,4.317,288,5.001,301,2.308,314,3.592,315,6.997,345,7.724,356,9.338,381,3.268,397,9.647,398,7.518,403,8.187,455,4.848,543,3.75,545,4.189,616,7.086,650,5.84,668,5.244,711,4.297,716,5.46,735,4.559,740,4.71,741,12.197,785,3.088,901,3.865,1007,5.322,1170,5.171,1188,8.187,1191,6.459,1204,5.207,1329,5.135,1332,8.134,1339,4.536,1377,4.737,1711,6.641,1872,10.797,1931,6.376,2131,6.084,2165,6.847,2708,11.854,2886,12.443,3058,7.724,3563,6.962,3677,8.487,3678,9.364,3683,9.364,3684,9.086,3685,10.126]],["keywords/626",[]],["title/627",[72,566.533,351,933.04,1548,759.279,3623,907.934]],["content/627",[4,1.788,20,7.729,40,6.587,46,5.586,72,8.213,107,4.239,134,9.767,180,7.938,186,5.101,201,6.665,248,11.857,264,5.003,351,13.527,356,8.026,364,9.356,398,6.462,499,9.069,551,7.853,711,7.323,910,6.943,1089,9.952,1170,8.811,1227,14.342,1694,12.075,3109,14.462,3623,13.163,3629,12.561,3686,17.256]],["keywords/627",[]],["title/628",[191,471.331,879,610.406]],["content/628",[4,2.29,23,2.674,25,1.689,33,2.269,116,7.246,184,3.805,205,4.559,206,6.246,240,3.918,398,8.277,523,9.438,596,12.279,885,12.773,993,8.452,2194,14.187,2510,15.356,2514,15.356,2515,13.061,2589,10.784,3687,17.547,3688,17.547,3689,17.547,3690,17.547]],["keywords/628",[]],["title/629",[23,105.321,25,45.956,107,169.742,185,166.935,264,200.341,315,225.08,480,248.599,675,321.43,709,424.695,742,312.793]],["content/629",[]],["keywords/629",[]],["title/630",[107,260.952,185,256.637,675,494.15,709,652.904,732,371.696]],["content/630",[3,4.847,5,2.275,6,1.794,40,4.022,51,2.521,70,5.576,87,3.661,107,3.826,147,6.721,149,4.37,166,5.712,184,2.285,185,4.476,192,3.542,199,5.045,220,3.724,230,4.92,240,4.137,264,3.054,273,2.311,299,6.553,314,3.737,316,7.67,330,3.745,347,4.847,379,4.82,381,5.026,388,5.91,392,4.901,393,5.667,400,7.013,425,3.79,447,6.721,454,6.812,455,5.045,466,5.496,490,4.186,514,3.777,524,6.909,527,5.418,544,3.931,545,4.314,561,7.327,587,6.721,613,3.712,637,6.019,638,6.076,674,5.705,675,4.901,705,6.136,706,5.38,709,6.475,711,6.61,712,6.401,716,3.804,718,4.276,720,8.037,751,6.475,785,3.213,858,5.307,887,6.136,910,6.267,923,6.909,954,5.537,991,5.808,1011,7.124,1012,7.243,1024,4.957,1118,6.812,1127,11.667,1183,5.808,1403,7.514,1554,7.373,1967,8.259,2126,10.367,2241,8.037,3153,8.83,3691,10.536,3692,10.536,3693,10.536,3694,10.536,3695,10.536,3696,10.536]],["keywords/630",[]],["title/631",[25,58.151,107,214.787,185,211.234,264,253.505,556,312.357,675,406.728,709,537.397]],["content/631",[3,6.668,6,2.136,7,4.525,25,0.964,33,1.874,51,3.469,52,3.994,58,5.309,99,5.106,107,3.56,114,5.673,152,2.886,181,3.862,184,3.143,185,3.501,199,6.94,273,3.179,284,5.142,297,4.112,301,3.303,310,6.561,315,4.721,371,7.561,392,6.742,393,7.796,414,7.628,504,6.426,506,7.859,519,7.796,537,4.751,541,7.068,544,5.408,545,4.015,564,6.705,613,5.106,614,6.269,639,6.899,718,5.882,751,8.908,874,6.426,877,8.059,932,6.596,1329,7.35,1406,11.362,1662,11.362,3142,13.403,3697,14.495,3698,14.495,3699,14.495]],["keywords/631",[]],["title/632",[107,260.952,181,283.072,301,242.127,315,346.025,537,348.193]],["content/632",[4,0.523,6,0.836,19,2.588,22,2.97,23,4.119,24,2.981,25,0.336,32,1.068,33,0.653,34,1.977,35,1.447,37,1.45,44,2.404,45,2.45,46,1.634,65,1.654,69,2.696,88,1.731,114,3.29,124,1.89,131,2.56,136,2.911,151,2.664,152,2.667,155,3.373,161,2.728,162,3.052,164,3.553,167,5.822,181,2.301,183,1.59,184,4.187,185,4.237,191,1.517,192,1.697,196,1.571,198,2.307,201,1.949,205,2.94,206,4.028,208,2.759,219,1.876,220,3.052,222,2.355,224,2.618,230,1.595,239,2.577,240,4.129,241,1.876,242,2.782,246,1.595,255,2.057,264,1.463,271,1.79,273,1.894,275,2.875,278,2.324,284,1.79,299,3.139,307,2.911,314,3.063,315,2.812,323,2.782,330,3.946,334,1.455,335,3.6,347,5.205,355,3.403,356,2.348,371,2.633,392,4.016,395,2.122,425,4.071,427,1.855,455,2.417,466,2.633,467,1.784,477,5.029,480,1.816,490,3.431,545,4.17,550,2.857,553,2.261,559,3.22,572,1.803,581,2.142,590,3.682,611,3.178,622,3.504,630,4.924,632,2.969,639,2.402,642,2.261,652,4.134,668,5.86,674,1.849,675,2.348,706,2.577,708,3.178,709,3.102,718,2.048,719,3.47,722,2.542,732,1.766,735,3.888,752,4.417,758,2.183,764,2.759,765,2.83,767,4.933,770,2.493,771,3.46,772,2.094,773,3.403,774,2.759,775,2.417,776,4.11,777,2.249,780,2.673,806,2.431,858,2.542,861,2.348,882,3.102,891,2.782,910,2.031,914,2.375,917,4.23,926,2.577,1003,4.081,1024,5.323,1042,3.263,1126,3.757,1144,4.417,1157,8.949,1169,2.309,1176,2.883,1187,3.263,1188,4.081,1227,3.31,1309,4.062,1310,5.029,1336,4.417,1342,5.838,1343,3,1345,3.139,1346,8.631,1347,3.139,1353,7.237,1354,3.067,1361,2.715,1377,2.361,1400,2.831,1444,2.388,1540,3.139,1663,4.801,1782,3.6,1803,3.757,2126,3.36,2241,3.85,3551,4.081,3684,3.033,3700,5.047,3701,5.047,3702,5.047,3703,5.047,3704,5.047,3705,5.047,3706,5.047,3707,5.047,3708,5.047,3709,4.23,3710,5.047]],["keywords/632",[]],["title/633",[177,806.215,482,857.071]],["content/633",[]],["keywords/633",[]],["title/634",[6,102.858,185,256.637,330,255.425,544,396.364,618,652.904]],["content/634",[12,4.548,18,4.357,19,3.91,25,0.867,44,3.632,46,4.222,51,3.121,63,2.86,69,4.071,70,5.092,107,3.204,124,4.884,147,8.32,152,2.597,162,4.611,166,7.071,184,2.828,185,3.151,192,4.385,205,3.389,220,4.611,222,3.556,225,6.508,230,4.12,240,4.053,278,3.511,281,5.058,297,3.7,330,4.365,499,6.855,544,7.791,545,5.028,568,7.673,611,8.213,618,8.016,622,5.293,668,6.755,701,8.112,711,5.535,713,8.433,732,4.563,740,6.067,812,9.302,920,6.907,943,6.855,957,7.924,963,5.038,983,7.753,1006,7.924,1035,7.924,1111,8.967,1113,9.494,1127,8.213,1157,7.753,1220,7.451,1323,10.224,1444,6.171,1926,9.127,1984,8.32,2178,9.127,3168,10.931]],["keywords/634",[]],["title/635",[225,562.039,278,422.052]],["content/635",[4,1.492,5,3.108,6,1.394,25,1.292,54,6.256,69,4.493,70,3.51,88,4.936,107,3.536,152,3.867,176,5.253,181,3.835,185,3.477,196,4.48,205,3.74,225,7.88,226,7.35,229,8.074,230,4.547,231,10.266,241,5.35,277,11.202,278,3.875,293,4.029,395,6.052,426,8.953,632,8.468,650,8.302,732,5.036,737,4.839,740,6.695,745,7.869,950,9.581,954,7.565,969,9.733,970,10.98,971,8.557,972,9.44,985,6.695,1042,9.307,1140,10.714,1309,6.772,1310,11.312,1686,10.478,1722,10.478,1731,12.064,2845,11.638,3460,12.597]],["keywords/635",[]],["title/636",[435,717.317,765,513.868]],["content/636",[6,1.944,25,1.335,60,5.643,155,4.509,162,5.347,185,4.85,227,7.778,246,4.779,264,5.821,271,5.366,272,6.449,301,3.447,330,3.637,396,4.942,413,7.834,425,5.442,427,5.56,435,9.186,490,6.01,590,6.449,630,5.56,695,7.47,697,9.649,737,6.75,765,6.581,772,6.274,786,6.48,860,9.19,956,9.525,1020,12.677,1043,11.011,1177,9.296,1183,8.338,1192,9.408,1224,8.809,1406,11.857,1890,11.857,1992,12.229,2671,9.919,3711,13.987]],["keywords/636",[]],["title/637",[202,482.305,563,671.65]],["content/637",[]],["keywords/637",[]],["title/638",[480,564.031,1663,871.749]],["content/638",[5,2.371,6,1.554,19,3.292,22,2.882,23,4.153,24,3.79,25,0.73,32,3.398,34,3.676,35,3.149,37,2.695,70,2.678,155,3.273,176,4.007,185,2.652,271,3.895,278,2.956,297,3.115,334,3.166,355,4.327,385,4.022,480,7.511,498,6.829,572,3.922,590,6.845,630,6.977,737,6.381,758,4.749,765,6.22,767,6.273,770,5.423,771,7.604,772,4.555,773,6.327,774,6.002,775,5.257,776,5.226,780,5.814,863,6.333,869,7.201,906,8.705,934,6.748,1121,7.099,1262,6.748,1400,9.006,1402,7.993,1894,12.246,1895,8.376,1897,12.98,1900,11.95,2203,7.201,2669,7.424,3140,10.154,3202,8.877,3352,14.05,3712,10.98,3713,10.98,3714,10.98,3715,7.099]],["keywords/638",[]],["title/639",[742,709.677,1663,871.749]],["content/639",[6,1.239,23,4.127,34,2.931,35,5.139,37,2.149,124,6.711,152,2.549,184,2.776,185,3.093,191,3.849,202,3.938,224,3.882,271,4.541,438,4.794,556,6.401,569,6.282,571,8.395,572,4.573,581,5.433,622,5.195,630,8.233,693,5.734,737,4.304,742,5.795,758,5.537,765,6.776,767,7.314,770,6.322,771,7.18,772,5.31,773,7.062,774,6.998,775,6.13,780,6.779,887,7.456,943,6.728,1130,11.838,1199,10.035,1219,6.167,1398,8.062,1427,6.832,1617,6.679,1889,8.062,1902,11.013,1903,13.338,2082,11.203,2125,10.351,3339,10.351]],["keywords/639",[]],["title/640",[8,562.569,25,70.65,37,178.358,65,348.193,122,466.294]],["content/640",[1,8.536,2,5.165,3,8.812,6,1.365,8,7.468,20,6.317,37,3.216,45,4.001,51,4.584,52,3.886,58,5.165,62,6.041,98,6.041,107,3.464,113,6.559,175,8.771,185,3.407,199,9.171,200,5.261,210,9.387,232,8.383,240,3.149,256,6.634,287,7.01,297,4.001,310,6.383,319,6.284,395,5.93,400,8.625,504,6.252,514,5.055,524,9.248,536,4.835,560,7.468,567,9.248,622,5.723,675,6.559,709,8.667,716,5.091,763,7.201,866,8.296,873,8.473,1110,8.056,1112,8.383,1335,11.054,1427,7.525,1571,9.535,1871,11.402,3716,14.102,3717,14.102,3718,14.102]],["keywords/640",[]],["title/641",[63,343.83,1410,1372.068]],["content/641",[6,1.508,25,1.036,37,3.839,45,4.419,51,4.899,52,4.292,58,5.706,63,5.015,65,5.106,100,5.769,185,3.763,199,7.459,256,7.329,297,4.419,399,8.516,427,5.727,512,6.377,524,10.216,533,8.818,536,5.342,636,8.516,675,9.523,708,9.81,709,9.574,763,7.955,785,4.751,874,6.907,878,10.216,892,9.574,893,6.55,918,8.818,924,9.937,1236,12.212,1427,8.313,1608,16.048,1638,12.212]],["keywords/641",[]],["title/642",[46,385.295,289,553.65,2254,673.714,3719,1100.681]],["content/642",[3,7.683,4,1.731,6,1.617,12,5.824,33,2.16,45,4.738,51,3.997,70,4.073,155,4.979,200,6.232,230,5.277,273,3.663,289,7.769,322,6.14,408,5.526,544,6.232,693,7.482,732,5.844,740,7.769,785,6.532,891,9.207,910,6.721,914,7.858,920,8.845,1031,12.159,1134,9.454,1315,10.518,1388,10.655,1548,10.655,2253,10.136,2254,9.454,3720,16.703]],["keywords/642",[]],["title/643",[2,435.966,37,199.834,1614,607.783,1843,759.279]],["content/643",[2,6.118,6,1.617,37,2.804,44,4.651,63,3.663,69,5.214,70,4.073,224,5.064,278,4.496,322,6.14,356,7.769,385,6.118,405,8.589,563,7.155,564,7.726,581,7.088,675,7.769,688,10.148,693,7.482,709,10.265,739,10.799,893,7.023,937,7.295,1007,8.778,1029,12.159,1119,9.633,1123,12.432,1207,9.633,1614,8.529,1843,10.655,1969,13.093,2043,12.159,2717,12.741,3721,16.703]],["keywords/643",[]],["title/644",[191,471.331,879,610.406]],["content/644",[6,1.698,25,1.352,45,3.524,49,5.843,63,2.724,70,4.278,97,4.36,98,5.321,107,4.309,171,4.581,181,3.309,184,2.693,185,4.238,191,3.734,195,6.577,196,5.46,208,6.79,215,6.528,225,4.452,228,5.425,239,6.342,255,5.062,256,5.843,265,4.468,278,3.343,307,7.163,315,4.045,322,4.566,331,8.031,379,5.683,385,4.549,393,6.68,398,4.651,409,7.923,419,7.546,426,7.725,432,6.528,437,4.875,523,6.68,539,5.777,563,5.321,586,9.245,638,7.163,675,8.159,693,5.563,709,10.781,717,5.947,857,6.387,881,9.041,883,6.734,892,7.633,893,5.222,921,6.433,932,5.652,996,5.622,1228,8.858,1551,10.042,1598,9.041,1602,7.546,1621,10.869,2094,9.245,2243,10.409,3105,11.485,3722,11.485,3723,12.421,3724,12.421,3725,12.421]],["keywords/644",[]],["title/645",[23,206.245,45,383.895,2111,900.729]],["content/645",[]],["keywords/645",[]],["title/646",[29,772.941]],["content/646",[22,6.375,23,4.083,25,1.362,3726,13.064,3727,20.48,3728,20.48,3729,20.48]],["keywords/646",[]],["title/647",[246,427.504,301,308.418,2111,900.729]],["content/647",[5,3.024,23,4.042,30,6.59,32,4.588,33,1.811,34,4.366,69,4.373,84,7.475,89,12.007,124,7.141,154,7.009,229,10.695,230,4.425,246,4.425,249,7.928,272,5.972,301,4.346,373,3.612,483,7.534,490,5.566,706,7.152,735,6.307,886,5.004,1257,8.724,1332,10.255,2111,14.429,3030,11.325,3367,9.185,3684,11.457,3730,12.258,3731,12.258,3732,16.686,3733,12.953,3734,14.007,3735,14.007]],["keywords/647",[]],["title/648",[735,705.949,2111,1043.588]],["content/648",[12,5.432,23,3.947,32,4.333,34,4.687,89,9.81,124,9.096,171,5.346,230,6.468,330,4.922,452,9.47,688,9.465,735,10.296,786,6.674,1317,14.326,2111,16.792,3030,16.552,3367,7.504,3730,13.633,3731,13.633,3732,13.633,3733,14.406]],["keywords/648",[]],["title/649",[3736,1723.121]],["content/649",[23,4.19,32,4.804,89,9.665,98,8.685,124,5.748,164,6.367,183,4.834,360,8.768,483,8.255,593,12.032,735,6.911,809,7.58,1125,10.741,1257,9.275,2106,8.852,2111,15.11,2927,9.665,3030,12.41,3367,7.393,3730,13.432,3731,13.432,3732,13.432,3736,14.193,3737,15.349,3738,15.349,3739,12.864,3740,15.349,3741,15.349]],["keywords/649",[]],["title/650",[703,695.225]],["content/650",[22,5.375,44,5.702,151,6.318,186,6.053,329,9.126,483,11.015,711,8.691,1024,9.635,1268,10.606,2111,13.631,3742,16.558]],["keywords/650",[]],["title/651",[23,238.957,1814,987.288]],["content/651",[]],["keywords/651",[]],["title/652",[29,772.941]],["content/652",[22,6.375,23,4.083,25,1.362,3726,13.064,3743,18.938,3744,18.938,3745,18.938]],["keywords/652",[]],["title/653",[33,153.915,198,317.966,467,420.766,1814,749.53]],["content/653",[4,1.306,12,2.786,22,4.097,23,4.314,24,4.351,25,1.038,32,1.691,34,2.886,35,2.291,37,1.341,54,3.473,67,3.215,92,3.407,124,6.638,136,4.608,149,3.314,152,2.51,155,4.654,162,2.824,171,3.292,173,7.493,184,3.386,198,2.134,222,2.179,246,3.982,275,2.661,301,1.821,355,3.149,373,4.026,391,4.024,427,4.634,458,3.716,468,3.656,694,3.971,776,6,777,3.561,779,5.318,786,5.4,809,6.225,843,3.617,886,5.577,1058,4.138,1109,4.138,1157,4.75,1169,3.656,1204,4.109,1256,4.522,1268,4.138,1276,4.231,1320,6.78,1444,3.781,1511,11.365,1602,7.659,1704,5.031,1743,14.717,1814,13.515,1872,4.297,2088,5.698,2286,10.192,2966,11.032,3039,7.389,3263,6.696,3746,6.696,3747,10.192,3748,6.263,3749,7.99,3750,7.389,3751,7.389,3752,7.99,3753,7.99,3754,12.606,3755,7.99,3756,10.192,3757,7.99,3758,4.969,3759,6.263]],["keywords/653",[]],["title/654",[154,497.46,858,681.596,1814,852.135]],["content/654",[23,4.241,34,5.198,152,3.056,154,5.642,171,5.294,224,4.654,301,3.498,373,5.228,709,9.433,809,10.012,858,10.211,1602,9.325,1713,8.322,1814,12.766,1983,11.173,2058,9.791,2089,10.066,3263,12.864,3748,12.032,3750,20.992,3760,15.349,3761,15.349,3762,15.349,3763,14.193]],["keywords/654",[]],["title/655",[4,110.083,45,301.381,224,322.118,1814,668.979,3764,773.343]],["content/655",[4,1.651,7,4.975,14,5.991,23,3.167,34,4.758,45,4.521,62,6.827,73,8.137,152,5.188,154,5.858,183,5.019,224,6.3,467,5.633,809,12.101,858,8.027,894,6.107,1086,10.304,1125,11.152,1814,10.035,2783,9.682,3748,18.124,3763,14.736,3764,11.6,3765,15.936,3766,15.936,3767,11.6,3768,15.936]],["keywords/655",[]],["title/656",[3769,1421.376]],["content/656",[4,1.651,19,4.777,33,2.687,54,6.926,63,3.495,107,3.914,136,9.191,149,6.61,155,4.75,173,9.473,224,4.832,301,3.632,308,5.158,373,5.963,391,8.027,413,8.253,444,11.152,512,6.523,514,5.713,550,9.02,717,7.63,782,9.375,786,6.827,1058,8.253,1082,10.607,1398,10.035,1743,12.156,1814,15.429,2088,14.819,3715,10.304,3770,11.862,3771,14.736,3772,14.736]],["keywords/656",[]],["title/657",[25,70.65,33,137.374,100,393.423,142,624.992,1081,652.904]],["content/657",[]],["keywords/657",[]],["title/658",[33,174.985,142,796.106,437,531.112]],["content/658",[]],["keywords/658",[]],["title/659",[308,507.514,965,975.122]],["content/659",[4,1.109,5,4.036,6,1.997,10,4.233,16,5.501,22,4.134,23,3.959,28,6.813,29,6.534,32,2.264,34,4.722,44,2.979,51,2.56,58,5.769,60,3.991,70,2.609,87,3.718,99,3.769,104,7.234,107,2.628,142,6.294,154,3.933,161,3.38,164,3.36,171,2.794,184,2.32,186,3.162,189,5.463,202,3.291,222,2.917,230,3.38,232,6.359,265,3.849,273,3.454,275,3.562,286,6.575,297,3.035,308,6.675,322,3.933,334,3.085,389,5.501,440,7.286,527,5.501,535,8.386,549,5.623,556,7.852,557,6.259,674,3.918,694,5.318,809,5.283,965,13.671,2098,6.737,2502,5.318,2861,8.386,3773,9.893,3774,15.752,3775,10.698,3776,10.698,3777,10.698,3778,11.233,3779,10.698,3780,10.698,3781,6.824,3782,10.698]],["keywords/659",[]],["title/660",[3783,1863.425]],["content/660",[4,1.579,5,4.356,6,2.19,10,6.029,11,9.992,37,3.387,44,4.243,51,4.828,52,4.198,54,6.622,75,9.852,76,9.057,142,11.869,175,9.476,176,5.56,182,3.04,191,4.58,200,7.527,264,4.417,275,5.073,301,3.473,308,4.932,373,3.929,375,7.949,467,5.386,539,7.087,567,9.992,664,10.094,692,7.78,775,7.295,915,11.341,944,8.547,1109,7.891,1143,9.852,1444,7.21,1860,11.622,2301,9.719,3784,13.334]],["keywords/660",[]],["title/661",[100,690.067]],["content/661",[4,2.01,5,1.745,6,1.232,14,4.782,16,4.156,19,2.423,22,4.128,23,3.894,28,3.496,29,5.277,30,3.803,32,2.692,33,2.509,34,1.851,37,2.641,53,3.414,73,4.127,82,5.656,85,3.893,98,3.463,100,8.271,107,1.985,114,3.698,140,6.336,142,12.682,152,1.609,162,2.857,171,2.111,175,5.027,180,5.852,182,3.139,183,2.546,184,1.753,186,2.389,198,3.398,201,3.122,202,3.913,205,3.305,215,4.248,217,2.887,240,1.805,264,3.688,271,2.867,273,2.79,274,5.226,311,3.463,314,2.867,315,2.633,322,2.971,329,3.602,366,3.893,368,5.09,372,5.226,389,4.156,407,3.942,416,5.38,417,5.728,437,3.172,467,2.857,480,2.908,483,6.842,516,4.156,544,3.016,577,5.027,607,4.382,698,5.226,737,2.718,785,2.465,879,3.147,897,5.301,1021,4.347,1255,6.535,1631,4.575,1650,4.805,1713,4.382,1872,4.347,2467,6.774,2560,5.301,2753,7.475,2966,7.074,2995,6.336,3223,6.016,3785,6.774,3786,15.612,3787,12.722,3788,8.083,3789,8.083,3790,5.656,3791,7.074,3792,7.074,3793,7.074,3794,7.074,3795,7.074,3796,7.074,3797,12.722,3798,7.074,3799,8.083,3800,8.083,3801,8.083,3802,8.083,3803,8.083,3804,8.083,3805,7.074,3806,8.083,3807,8.083,3808,7.475,3809,7.475]],["keywords/661",[]],["title/662",[25,123.921]],["content/662",[4,1.646,5,2.613,6,1.172,7,2.913,8,2.928,10,2.188,12,1.928,18,1.847,20,2.477,22,4.52,23,4.145,24,3.221,25,1.379,28,2.392,29,3.87,32,3.009,33,2.054,34,3.636,35,4.939,37,2.032,44,1.54,45,2.647,51,1.323,52,2.571,61,2.974,63,1.213,73,4.765,83,4.025,84,4.979,86,2.234,100,7.678,103,2.464,107,1.358,108,2.885,111,3.521,114,1.608,122,2.427,142,12.197,152,1.858,155,1.648,162,1.955,164,1.736,171,1.444,175,3.439,176,2.018,180,4.292,182,2.837,183,1.742,185,1.336,186,1.634,191,1.662,192,1.859,196,1.721,198,3.798,200,2.063,224,3.67,251,3.075,264,4.122,271,1.962,273,3.118,275,1.841,284,1.962,288,2.731,319,2.464,330,1.33,334,1.594,359,4.025,373,1.426,387,3.221,400,2.49,408,5.699,414,2.162,421,2.864,534,3.944,538,2.749,539,2.572,543,3.455,544,2.063,555,3.439,572,1.975,630,5.227,660,3.102,722,2.785,736,2.071,737,1.859,757,3.575,758,2.392,763,7.26,764,3.023,765,1.812,770,2.731,771,4.85,772,2.294,773,3.677,774,3.023,775,2.648,777,2.464,787,2.68,804,4.522,805,3.626,875,2.928,894,2.119,975,2.974,1077,5.281,1143,3.575,1160,2.804,1219,2.664,1300,2.544,1308,3.13,1313,3.287,1320,2.974,1333,4.116,1613,3.075,1891,3.87,2106,3.189,3778,3.323,3781,7.721,3786,10.593,3790,3.87,3791,4.839,3792,4.839,3793,4.839,3794,4.839,3795,4.839,3796,4.839,3798,4.839,3805,4.839,3810,4.839,3811,8.166,3812,4.839,3813,3.36,3814,3.626,3815,4.839,3816,4.839,3817,4.839,3818,8.166,3819,4.839]],["keywords/662",[]],["title/663",[191,471.331,879,610.406]],["content/663",[25,1.336,33,2.597,179,9.983,188,11.266,205,5.219,206,7.149,857,10.328,883,10.889,886,7.174,1444,9.504,3186,16.238,3820,18.572,3821,17.576]],["keywords/663",[]],["title/664",[6,151.799,435,717.317]],["content/664",[6,2.085,152,4.288,193,8.63,435,9.854,1058,11.155,1388,13.739]],["keywords/664",[]],["title/665",[3255,1561.679]],["content/665",[]],["keywords/665",[]],["title/666",[334,537.276]],["content/666",[2,5.749,18,5.243,20,10.281,25,1.044,28,8.898,29,6.511,37,3.454,46,5.081,65,5.144,81,11.194,94,9.762,107,3.855,122,6.889,186,4.639,196,4.885,222,4.28,271,5.568,373,5.306,398,5.878,458,7.301,642,7.031,853,8.967,879,6.111,886,5.607,1089,11.866,1264,11.683,1697,8.884,2667,13.154,3280,12.69,3822,15.696,3823,12.304,3824,15.696,3825,15.696,3826,15.696,3827,15.696,3828,12.304]],["keywords/666",[]],["title/667",[20,702.281,569,769.371]],["content/667",[14,7.27,20,11.32,89,12.178,98,8.284,198,6.27,202,5.949,458,8.995,886,6.908,1114,9.875,2892,19.671,2976,16.924,3829,19.339,3830,14.394]],["keywords/667",[]],["title/668",[186,463.43,3831,1313.99]],["content/668",[20,10.243,28,6.738,46,6.627,97,5.469,98,6.674,111,5.878,155,6.816,156,10.841,186,4.605,198,4.162,202,4.792,255,6.349,330,3.746,368,9.81,373,5.28,409,9.937,441,15.616,516,8.011,711,6.611,879,6.065,1024,7.329,1108,10.533,1310,9.073,1648,14.326,2098,9.81,2099,13.056,2194,12.595,2301,9.937,2976,13.633,3832,15.579,3833,15.579,3834,15.579,3835,14.406,3836,15.579]],["keywords/668",[]],["title/669",[1074,857.071,1147,864.293]],["content/669",[44,6.06,1147,11.997,1598,15.842,1749,16.601,3255,18.239]],["keywords/669",[]],["title/670",[387,1085.252]],["content/670",[20,8.541,28,8.247,29,5.81,44,3.9,67,7.672,71,15.98,72,6.667,89,8.82,109,9.057,114,4.072,152,2.789,185,3.384,186,4.14,190,6.552,301,3.192,311,6.001,361,7.857,366,6.747,373,6.001,387,8.158,466,11.309,510,7.103,596,9.802,674,5.13,769,10.196,806,10.442,1147,10.511,1339,6.274,1716,9.99,2308,8.82,2344,11.325,2642,11.325,2707,10.685,2892,11.739,3255,11.739,3280,11.325,3830,16.136,3831,11.739,3837,12.953,3838,14.007,3839,12.953,3840,14.007,3841,14.007,3842,14.007]],["keywords/670",[]],["title/671",[1792,1077.888,1872,843.27]],["content/671",[]],["keywords/671",[]],["title/672",[504,695.115,581,665.361]],["content/672",[23,4.293,24,6.214,32,3.81,34,4.122,50,9.924,151,5.554,164,5.653,167,7.824,355,7.094,1260,15.087,3843,18.002,3844,18.002,3845,15.754,3846,15.754,3847,15.754]],["keywords/672",[]],["title/673",[257,702.281,581,665.361]],["content/673",[22,4.567,23,4.312,24,6.006,32,3.682,34,3.984,50,9.592,151,5.368,164,5.464,167,7.562,355,6.857,834,15.227,1260,14.583,3845,15.227,3846,15.227,3847,15.227,3848,21.986]],["keywords/673",[]],["title/674",[581,665.361,1263,1118.181]],["content/674",[8,7.176,23,4.356,24,4.678,32,2.868,34,3.103,45,3.844,50,7.47,87,4.709,125,5.362,144,8.328,151,4.181,162,4.79,164,4.256,167,5.89,171,3.539,196,5.802,203,6.872,355,5.34,366,6.528,1220,7.742,1254,9.163,1260,11.357,1872,11.461,2942,10.623,3845,11.859,3846,11.859,3847,11.859,3849,11.859,3850,12.531,3851,11.859,3852,13.552,3853,13.552,3854,13.552,3855,11.859]],["keywords/674",[]],["title/675",[1090,907.934,1792,818.312,1872,640.194,3375,792.272]],["content/675",[4,1.882,22,4.766,23,3.442,151,5.602,154,6.675,203,9.208,438,6.8,1090,13.851,1617,9.473,1792,15.524,1872,13.218,3375,12.087,3856,16.792,3857,18.159,3858,13.851,3859,13.516,3860,24.577,3861,18.159]],["keywords/675",[]],["title/676",[972,887.426,1845,1134.114,3375,900.729]],["content/676",[4,2.231,14,6.33,22,4.419,23,3.282,25,1.432,33,2.177,45,4.777,51,4.029,87,5.851,111,6.354,154,6.19,198,4.498,458,7.832,763,8.598,950,11.207,972,14.12,1026,12.844,1792,11.576,1845,18.045,1872,9.056,1914,12.008,2813,14.735,3375,11.207,3862,15.57,3863,19.893,3864,14.111]],["keywords/676",[]],["title/677",[25,89.993,45,383.895,628,765.941]],["content/677",[]],["keywords/677",[]],["title/678",[25,89.993,628,765.941,785,412.676]],["content/678",[4,1.556,19,4.502,23,4.1,25,1.493,32,3.178,45,4.26,110,6.624,124,7.483,171,5.218,177,7.722,260,7.777,373,3.873,414,5.87,476,12.14,545,6.22,590,6.403,628,11.31,737,6.718,785,7.602,1114,10.203,1300,9.192,2671,9.848,3865,13.142,3866,15.017,3867,11.455]],["keywords/678",[]],["title/679",[785,568.257]],["content/679",[4,1.818,40,6.698,44,4.886,64,11.864,152,3.493,186,5.187,246,5.543,260,9.087,301,3.999,329,7.819,398,6.571,476,10.661,515,8.666,545,4.86,711,7.446,716,6.335,785,7.745,879,6.831,993,8.452,1024,8.255,1155,11.864,1991,13.755,2165,11.864,3865,15.356,3868,17.547]],["keywords/679",[]],["title/680",[29,772.941]],["content/680",[4,1.622,5,2.73,22,5.073,23,4.253,24,4.364,25,1.181,32,3.312,33,1.037,34,4.067,35,2.3,36,4.184,37,1.347,44,2.233,45,5.039,70,1.956,111,5.906,152,1.597,171,2.094,198,3.378,224,2.432,225,2.875,241,2.981,246,3.994,271,2.845,275,2.671,319,5.635,334,2.313,373,2.069,467,5.533,476,11.744,572,2.865,590,3.42,628,13.971,630,5.754,737,5.262,758,6.769,765,5.13,770,3.961,771,6.271,772,3.327,773,3.161,774,4.385,775,6.054,776,6.018,777,3.574,779,5.339,780,4.247,785,4.773,787,3.887,879,3.123,1160,4.067,1219,3.864,1300,3.69,1309,3.773,1712,5.613,1931,5.051,2121,7.771,2671,5.26,2768,5.613,3726,5.116,3747,6.485,3867,6.118,3869,8.021,3870,8.021,3871,8.021,3872,12.644,3873,8.021,3874,8.021,3875,8.021,3876,6.485,3877,8.021,3878,7.019,3879,6.485]],["keywords/680",[]],["title/681",[628,765.941,785,412.676,1165,887.426]],["content/681",[4,1.664,14,4.128,18,5.363,19,3.292,23,4.108,34,2.514,54,4.772,62,4.704,65,3.599,67,6.46,97,3.855,107,2.697,152,3.196,171,2.867,201,4.241,222,2.994,301,2.503,334,3.166,373,5.984,381,3.543,476,11.531,557,4.363,600,5.906,611,6.914,628,11.818,656,6.527,667,8.376,668,5.687,716,3.964,737,3.692,775,9.087,785,7.493,804,11.246,942,11.403,955,6.333,975,5.906,1041,8.607,1165,10.529,1192,6.829,1268,5.687,1300,5.051,1712,7.684,2079,6.273,3659,9.202,3867,12.246,3878,9.609,3879,15.344,3880,9.202,3881,14.846]],["keywords/681",[]],["title/682",[69,371.572,373,306.972,490,472.946,785,362.986]],["content/682",[4,1.181,23,4.404,33,1.474,34,2.61,53,4.816,54,4.955,67,4.587,69,3.559,152,3.285,172,6.575,186,3.37,187,7.007,222,3.109,230,6.126,246,3.602,322,4.191,396,3.725,490,4.53,628,9.339,668,5.904,736,6.179,785,5.032,804,10.3,901,4.352,1192,7.091,1479,6.395,1646,7.589,2031,8.131,2508,9.218,3878,9.977,3879,17.183,3882,11.401]],["keywords/682",[]],["title/683",[628,887.422,787,759.84]],["content/683",[4,1.556,23,4.203,34,4.12,45,2.845,69,3.131,88,3.439,152,4.471,154,5.519,171,4.699,184,2.175,186,2.964,205,2.606,225,3.595,273,2.199,373,2.586,425,3.608,427,3.687,438,3.756,458,4.665,476,12.998,556,3.582,628,10.185,668,5.194,716,3.621,771,8.005,785,6.524,787,10.368,804,4.86,993,4.831,1165,6.577,1169,10.273,1204,5.157,1257,4.588,1300,9.841,1417,5.482,1614,5.121,1686,7.3,2058,6.397,2130,6.577,2131,6.026,2321,6.315,2671,6.577,2677,7.018,2779,6.163,3778,10.812,3867,7.65,3879,12.138,3881,9.274,3883,8.776,3884,9.274,3885,15.014,3886,15.014]],["keywords/683",[]],["title/684",[152,312.153,809,774.288]],["content/684",[23,4.082,34,5.087,88,6.068,124,8.321,152,3.523,154,6.505,171,5.802,447,11.288,628,12.577,785,5.396,809,8.739,810,15.486,2130,11.605,3879,14.307,3887,15.276,3888,15.486,3889,17.696]],["keywords/684",[]],["title/685",[184,340.004,628,887.422]],["content/685",[5,4.098,6,2.092,19,4.171,25,1.262,53,5.877,152,5.199,184,5.267,186,4.113,192,4.678,220,4.918,223,9.76,230,4.396,239,7.105,241,7.055,334,4.012,368,8.762,427,5.115,543,5.153,545,5.257,569,6.828,628,13.747,737,6.381,772,7.873,785,7.407,942,8.36,1111,9.566,1792,9.566,1862,12.176,1872,7.483,2075,10.613,2861,10.907]],["keywords/685",[]],["title/686",[629,1267.615,3890,1567.878]],["content/686",[4,2.521,6,2.068,25,1.298,33,2.151,40,4.4,45,4.718,70,2.811,88,3.952,92,4.915,110,5.085,152,2.295,162,4.075,177,5.927,184,2.5,186,3.407,202,3.546,217,4.118,220,6.897,222,4.535,230,3.642,233,10.088,241,4.285,246,3.642,273,2.528,274,7.453,288,5.693,310,5.218,381,6.893,387,6.713,398,4.317,414,7.627,421,5.97,435,5.274,452,5.332,515,5.693,551,5.245,607,6.25,628,13.357,629,13.447,668,5.97,732,4.033,765,3.778,785,5.072,857,5.927,894,4.417,1000,6.2,1169,5.274,1204,10.033,1224,6.713,1227,7.559,1595,7.169,1604,7.453,1821,7.673,2023,5.621,2165,7.794,2628,8.793,2683,14.555,3333,9.32,3891,11.527]],["keywords/686",[]],["title/687",[4,162.462,628,887.422]],["content/687",[4,2.469,18,5.67,67,6.83,70,4.14,152,4.744,217,6.064,225,6.085,230,5.363,319,7.564,330,4.081,334,4.894,396,7.071,516,8.729,628,14.203,667,12.948,668,8.791,717,8.128,754,13.306,772,7.041,785,5.177,1040,10.828,1134,9.608,1310,9.886,1646,11.299]],["keywords/687",[]],["title/688",[179,779.313,628,887.422]],["content/688",[4,1.62,6,1.514,7,3.306,18,5.222,19,3.174,21,6.107,25,1.04,45,3.004,46,5.06,70,2.583,79,5.608,85,5.101,86,4.279,114,4.545,118,8.875,125,4.19,152,3.7,171,2.765,177,5.445,179,5.264,192,3.56,222,2.888,225,8.494,227,5.445,228,4.625,229,5.94,230,3.345,231,7.552,252,4.106,271,3.756,278,2.851,322,3.893,330,2.546,381,5.997,395,4.453,425,3.81,440,4.898,483,5.696,486,6.295,496,4.279,510,7.928,536,3.631,545,2.933,552,8.216,590,6.665,614,4.58,622,4.297,628,12.965,630,3.893,639,5.04,645,6.23,668,5.484,715,7.882,717,5.07,732,5.47,737,3.56,739,6.847,785,3.229,894,5.991,1082,7.048,1116,7.771,1197,7.41,1309,8.743,1310,9.105,1558,6.508,1596,9.792,1728,7.882,1889,6.668,1966,7.41,2032,8.562,2304,7.709,2612,7.552,3892,10.59,3893,10.59,3894,10.59,3895,10.59]],["keywords/688",[]],["title/689",[577,975.122,628,887.422]],["content/689",[4,1.481,6,1.384,44,3.981,64,9.666,67,5.752,111,5.394,217,5.107,225,6.93,254,8.498,271,5.071,296,10.641,297,4.055,322,7.107,330,3.437,334,4.122,389,7.351,425,5.143,440,6.612,462,5.68,486,8.498,545,3.96,598,9.666,607,7.751,628,13.283,639,6.804,761,10.406,785,5.896,952,8.091,1047,10.406,1108,9.666,1310,12.758,1501,8.167,2106,8.245,2186,13.219,2301,9.119,2421,10.641,2422,11.558,3592,10.641,3896,14.296,3897,14.296,3898,12.51,3899,14.296,3900,14.296,3901,14.296,3902,14.296,3903,14.296,3904,14.296]],["keywords/689",[]],["title/690",[225,485.1,1110,773.065,1309,636.63]],["content/690",[4,1.906,6,1.781,14,6.915,25,0.884,49,6.253,63,2.915,70,3.242,92,5.667,107,3.265,113,6.183,114,5.347,179,6.607,181,3.542,184,2.883,225,6.594,226,6.787,230,4.199,264,3.854,272,7.843,298,6.523,395,5.589,425,6.617,515,6.564,529,7.524,573,9.138,628,11.939,639,6.327,715,9.894,858,6.695,901,5.074,905,7.901,921,6.884,954,6.986,965,8.267,971,10.934,1220,7.593,1239,11.14,1309,8.653,1310,13.257,1479,7.456,1646,8.847,1728,9.894,2078,11.632,2677,9.302,2804,12.292,3767,9.676,3905,13.292,3906,12.292,3907,13.292,3908,13.292,3909,13.292,3910,13.292]],["keywords/690",[]],["title/691",[19,240.822,65,263.302,225,287.985,381,259.246,628,454.709,737,270.095,1309,377.942,1310,467.879]],["content/691",[6,1.247,11,8.447,19,5.395,23,3.969,32,2.726,35,5.161,65,5.898,70,3.141,79,6.821,88,6.171,113,5.992,152,3.583,161,4.069,164,5.651,204,8.516,225,4.618,241,4.788,246,4.069,271,4.569,298,8.831,301,2.936,310,5.831,330,4.327,545,5.745,552,6.77,592,7.826,628,7.291,632,7.578,668,6.671,737,4.331,772,5.343,785,3.928,1116,6.403,1309,6.06,1310,10.481,2552,10.415,2690,11.273,2692,9.014,3170,9.826,3583,16.642,3911,12.881,3912,12.881,3913,12.881,3914,12.881,3915,12.881,3916,12.881,3917,12.881,3918,12.881,3919,9.377,3920,11.912]],["keywords/691",[]],["title/692",[45,444.782,506,850.067]],["content/692",[]],["keywords/692",[]],["title/693",[23,161.915,408,351.501,506,575.999,3921,832.767,3922,890.35]],["content/693",[2,5.421,4,1.534,5,2.124,6,0.953,12,7.774,23,4.194,24,3.396,25,1.183,32,4.491,34,2.253,35,2.822,37,3.743,45,4.199,68,5.171,73,5.024,151,4.566,167,4.276,189,5.024,198,3.954,273,2.158,289,9.87,293,2.754,355,3.877,373,2.538,408,6.547,438,3.685,490,5.881,506,10.729,556,5.287,643,7.017,652,4.711,716,3.552,843,6.699,894,3.771,983,11.763,996,4.454,1612,13.242,1628,5.788,1716,7.017,2253,4.656,3921,7.713,3922,8.246,3923,7.324,3924,16.451,3925,16.451,3926,9.839,3927,9.098,3928,14.8,3929,14.8,3930,9.839,3931,9.839,3932,9.839,3933,9.839]],["keywords/693",[]],["title/694",[1021,1002.228]],["content/694",[33,2.874,506,12.051,689,12.151]],["keywords/694",[]],["title/695",[23,146.203,107,356.649,181,255.603,185,231.733,577,596.617]],["content/695",[]],["keywords/695",[]],["title/696",[46,438.039,405,695.85,527,695.85]],["content/696",[4,1.526,5,4.475,6,2.007,9,3.347,14,4.418,15,4.261,16,3.762,18,2.444,19,2.193,37,1.228,40,2.793,44,3.272,46,2.368,49,3.442,51,4.72,52,4.058,61,9.071,70,4.113,72,5.594,75,7.599,77,5.915,107,1.797,111,2.761,122,3.211,124,2.74,131,3.71,147,4.667,149,6.11,162,2.586,171,1.911,176,4.289,181,1.95,182,1.46,186,4.354,191,5.553,204,3.462,205,3.827,215,3.845,220,2.586,222,3.205,230,2.311,240,3.289,254,4.349,271,2.595,275,3.913,287,3.637,304,3.685,315,2.383,330,1.759,382,3.762,391,3.685,392,3.403,396,3.84,405,3.762,413,6.087,418,5.735,457,4.947,458,3.403,467,2.586,490,2.907,498,4.55,507,7.309,515,3.613,521,5.915,539,5.467,545,2.027,576,6.132,581,3.105,673,3.817,674,2.68,694,3.637,703,6.292,711,3.105,716,2.641,736,2.74,773,2.883,812,8.382,827,4.497,855,4.349,864,4.798,866,4.304,878,4.798,884,4.261,894,4.504,944,8.262,958,5.436,967,5.326,1109,3.789,1158,4.497,1160,3.71,1174,4.445,1317,5.12,1327,3.904,1389,5.915,1413,6.132,1444,3.462,1526,4,1617,6.131,1705,5.915,1706,4.798,1707,8.382,1708,5.03,1710,8.965,1712,5.12,1713,3.967,1722,5.326,1724,4.731,1743,5.581,1745,6.766,1766,7.823,1902,4.497,2242,5.735,2431,5.581,2533,10.285,2534,6.132,2537,6.766,2671,4.798,2714,10.126,2720,4.607,2861,5.735,3094,6.403,3097,6.403,3274,6.132,3934,7.317,3935,7.317,3936,7.317,3937,6.766,3938,6.766,3939,6.766]],["keywords/696",[]],["title/697",[10,470.996,15,693.228,37,199.834,51,284.834]],["content/697",[4,1.471,5,5.052,6,2.368,18,4.743,19,4.256,37,2.384,46,4.596,51,5.224,52,3.912,53,8.129,70,4.693,156,7.519,184,3.079,185,3.43,191,4.268,205,3.689,220,6.803,229,7.964,246,6.079,278,3.822,308,4.596,357,10.126,364,7.698,410,9.18,444,9.936,487,8.941,663,7.827,668,7.353,809,9.503,873,8.531,894,7.374,932,6.461,1112,8.44,1143,9.18,1332,7.636,1333,10.568,2720,8.941,2724,10.568,2728,10.83,2729,13.129,3940,14.198]],["keywords/697",[]],["title/698",[225,667.984]],["content/698",[4,1.228,5,1.966,6,0.52,12,1.873,18,4.662,22,1.41,23,2.127,33,1.805,37,0.902,40,5.327,44,2.536,46,1.739,54,2.335,62,2.302,67,3.664,70,3.809,72,2.557,86,2.171,88,5.356,107,2.237,110,2.37,114,1.562,116,6.45,125,3.603,148,3.099,152,4.743,154,5.13,161,1.697,162,5.998,181,2.426,183,1.692,184,3.026,198,2.433,201,2.075,203,2.725,204,4.309,205,4.698,206,1.913,217,1.919,220,3.219,224,1.629,225,8.329,226,9.233,227,7.176,228,2.347,230,2.877,231,9.953,240,3.116,242,2.962,246,2.877,252,2.083,271,5.541,273,1.178,277,3.099,278,1.446,279,3.194,282,6.946,288,2.653,296,3.999,298,4.469,301,1.225,310,2.432,322,4.357,325,3.76,330,4.348,366,2.588,381,2.939,387,3.129,388,3.014,407,2.62,419,3.264,437,2.109,455,4.36,481,2.962,482,2.937,483,2.89,490,2.135,520,2.432,544,2.005,552,2.824,580,4.189,597,4.212,607,2.913,622,2.18,628,6.708,630,1.975,631,3.129,632,3.161,664,2.688,673,4.751,689,2.937,716,5.639,734,2.706,736,3.41,771,4.749,775,4.36,858,2.706,894,3.49,906,2.913,1009,4.702,1072,8.294,1074,2.937,1081,3.302,1086,5.888,1114,4.65,1116,2.671,1125,3.76,1160,2.725,1166,3.523,1169,2.458,1173,3.194,1192,3.342,1268,6.138,1272,3.911,1332,2.89,1398,3.383,1444,2.542,1560,3.694,1571,3.633,1611,10.388,1724,5.888,1822,3.999,1946,4.344,1966,3.76,1970,3.832,2129,4.968,2178,6.373,2334,4.212,2444,5.533,2541,4.098,2552,4.344,2589,5.597,2598,4.098,2605,4.968,2677,6.373,2683,4.702,2708,4.212,2979,3.633,3067,7.969,3515,4.503,3563,3.694,3715,3.474,3919,3.911,3941,9.107,3942,5.373,3943,5.373,3944,5.373,3945,11.852,3946,5.373]],["keywords/698",[]],["title/699",[180,721.234,3947,1449.827]],["content/699",[7,5.234,12,4.064,18,3.894,22,3.059,33,2.168,70,2.843,88,3.997,107,2.863,148,6.722,156,6.172,180,10.465,181,3.106,184,2.528,185,2.816,192,3.919,194,6.788,196,3.628,205,5.102,206,6.989,211,9.424,219,6.232,220,5.927,222,3.178,246,5.296,264,3.379,273,2.556,301,3.821,321,7.163,330,4.031,361,6.538,373,5.538,424,10.84,490,4.631,496,4.71,499,6.126,570,10.778,650,6.722,675,5.422,704,6.126,716,4.208,736,4.365,740,5.422,769,8.485,865,7.644,888,6.081,910,4.69,1066,6.22,1251,8.485,1554,8.157,1610,7.249,1634,8.313,2098,10.557,2114,7.644,2117,7.644,2183,12.204,2192,9.424,2281,7.758,2421,8.676,2482,9.769,2586,9.769,2741,8.891,2813,10.2,3454,10.778,3677,9.769,3948,11.656,3949,11.656,3950,11.656]],["keywords/699",[]],["title/700",[985,729.273,1860,1195.939]],["content/700",[4,1.71,6,1.104,16,5.862,18,7.099,22,2.992,70,5.183,72,5.426,107,4.053,114,3.314,124,4.27,152,3.285,181,5.663,184,5.098,185,2.754,198,3.046,205,5.038,220,5.833,246,3.602,264,5.622,278,3.069,301,2.598,366,7.948,373,2.94,374,9.218,388,9.255,402,6.575,433,8.299,464,8.486,476,6.927,482,6.232,487,7.179,501,5.862,544,6.156,545,3.158,579,7.371,582,6.395,648,7.179,716,5.957,736,4.27,740,5.303,812,8.131,886,4.073,894,4.369,1155,7.709,1204,5.862,1332,6.132,1564,7.273,1695,9.977,1991,8.937,2430,9.555,2517,9.977,2617,12.934,2642,9.218,2783,6.927,3919,8.299,3937,10.543,3938,10.543,3951,7.978,3952,9.218,3953,11.401,3954,11.401,3955,11.401,3956,11.401,3957,11.401,3958,11.401]],["keywords/700",[]],["title/701",[305,975.122,359,1141.31]],["content/701",[5,2.371,6,1.554,14,6.035,15,9.35,18,3.668,19,3.292,25,0.73,33,2.454,40,4.191,44,3.057,65,3.599,70,5.659,72,5.226,88,3.765,92,4.682,107,2.697,144,6.748,152,4.423,171,2.867,181,2.926,184,5.032,186,3.246,192,3.692,198,4.289,201,4.241,219,4.081,220,6.709,222,2.994,228,4.796,239,5.607,241,4.081,242,6.053,243,5.051,246,5.072,264,3.183,273,2.408,278,4.322,305,6.829,316,7.993,322,4.036,334,3.166,359,11.687,368,6.914,396,6.822,421,8.315,426,6.829,534,7.831,716,6.852,736,6.013,737,3.692,747,7.831,856,7.099,894,4.208,906,5.953,912,5.728,1160,5.568,1173,6.527,1564,7.004,1863,12.585,1926,11.235,1966,7.684,1970,7.831,3469,9.609,3919,7.993,3959,10.98]],["keywords/701",[]],["title/702",[33,174.985,205,351.607,435,619.122]],["content/702",[5,2.666,6,1.195,14,6.567,33,2.85,70,3.011,88,4.234,107,3.033,111,4.659,125,4.886,147,7.876,148,7.121,152,4.036,156,6.538,162,7.166,181,3.29,182,3.485,185,2.983,186,3.649,192,4.151,196,3.843,201,4.769,205,4.539,220,4.365,222,3.367,223,6.349,227,6.349,254,7.339,264,3.579,293,3.456,301,2.814,330,4.2,398,4.624,435,10.64,444,8.64,487,7.775,545,5.615,568,7.264,737,4.151,765,5.725,864,8.097,995,8.806,1204,6.349,1224,7.191,1332,6.641,1564,7.876,1629,9.678,2111,8.218,2443,9.678,2532,10.348,2707,9.418,2752,11.417,2783,7.501,2830,11.417,3680,9.418,3960,10.805,3961,10.805,3962,12.347,3963,9.418,3964,12.347,3965,12.347]],["keywords/702",[]],["title/703",[58,574.258,63,343.83]],["content/703",[1,3.778,4,1.681,5,3.502,6,1.921,7,4.122,9,3.879,12,4.604,15,4.937,19,2.541,25,0.878,30,3.988,33,1.096,37,2.217,40,5.041,41,8.929,44,3.677,51,4.382,52,3.639,62,3.632,63,3.557,67,6.526,70,3.22,84,8.656,86,5.336,97,2.976,107,3.244,114,4.715,124,3.175,125,3.355,151,2.616,152,1.688,154,7.295,173,7.85,181,3.519,186,2.506,187,5.21,198,2.265,200,3.163,201,5.1,219,4.908,234,3.921,240,1.893,246,2.678,264,3.828,278,2.282,293,2.373,308,2.744,357,6.046,364,4.597,373,3.406,395,3.565,399,7.219,400,8.245,408,2.805,458,3.943,469,6.646,496,3.426,501,6.79,544,4.927,545,2.348,642,3.797,648,5.338,660,4.755,683,5.933,689,4.634,703,3.163,785,2.585,787,4.109,886,3.028,889,5.732,902,4.843,940,8.023,983,5.04,1030,6.48,1602,5.151,1713,7.16,1827,4.755,1874,6.854,2023,4.134,2065,10.676,2130,8.66,2175,6.31,2427,6.467,2443,6.646,2555,7.419,2567,7.105,2610,7.419,2738,7.84,2739,7.84,2740,7.105,3158,6.854,3159,7.419,3448,6.854,3564,6.046,3966,8.478,3967,8.478,3968,8.478,3969,8.478,3970,8.478,3971,8.478,3972,8.478,3973,8.478,3974,8.478,3975,8.478]],["keywords/703",[]],["title/704",[967,1141.31,3963,1195.939]],["content/704",[6,1.384,14,5.374,33,1.849,37,2.4,46,4.627,62,6.124,63,3.135,65,6.336,107,3.511,156,7.57,176,7.994,177,7.351,181,3.809,189,7.3,192,6.5,205,5.023,220,5.053,264,5.605,272,6.095,273,3.135,306,10.195,321,8.786,372,9.243,373,5.649,391,7.2,407,6.971,482,7.815,543,5.294,555,8.891,703,5.334,723,9.666,888,10.086,967,14.073,1109,7.404,1315,9.002,1339,6.403,1602,8.685,1650,8.498,2131,8.59,2281,9.515,2308,9.002,2560,9.375,3067,12.51,3564,10.195,3976,14.296]],["keywords/704",[]],["title/705",[6,151.799,1021,843.27]],["content/705",[4,0.982,6,1.684,7,2.96,14,3.564,25,0.957,33,2.7,40,6.64,44,2.64,46,5.63,62,6.165,63,2.079,65,3.107,69,2.96,72,4.513,100,3.511,107,5.129,114,5.057,152,2.865,156,5.021,181,5.563,184,4.767,186,2.802,189,4.841,192,4.838,198,3.844,201,3.662,205,3.739,220,3.352,222,3.924,234,6.657,246,4.546,272,4.042,273,3.814,315,3.088,329,4.225,362,6.411,372,6.13,382,4.875,385,3.473,392,4.41,398,3.551,414,6.799,417,7.832,421,4.91,442,6.902,443,8.297,451,5.827,452,4.385,466,4.946,476,5.76,499,4.983,501,4.875,537,3.107,541,4.623,556,3.387,569,4.652,650,5.468,674,3.473,705,8.381,886,3.387,894,3.633,1021,9.355,1189,5.897,1251,6.902,1326,8.844,1329,4.808,1579,7.665,1650,8.555,1651,8.3,1694,6.635,2021,7.946,2031,6.762,2136,6.635,2175,7.057,2194,7.665,2308,5.97,2617,7.432,2771,10.977,2781,7.057,3919,6.902,3977,8.297,3978,9.481]],["keywords/705",[]],["title/706",[2,294.246,25,53.425,33,103.882,37,134.874,65,263.302,84,428.702,100,297.505,506,435.568]],["content/706",[]],["keywords/706",[]],["title/707",[33,202.738,506,850.067]],["content/707",[4,1.602,6,1.497,7,6.36,8,10.788,12,8.444,14,5.813,22,4.058,33,1.999,51,3.7,67,6.222,69,4.827,70,3.771,122,6.787,204,7.317,246,4.885,373,5.254,385,5.664,486,9.192,504,6.856,506,8.384,544,5.769,696,9.617,716,5.583,740,7.192,920,8.188,983,9.192,985,7.192,1110,8.834,1160,7.841,1329,7.841,1646,10.292,1706,10.14,3469,13.532,3979,12.959,3980,15.463,3981,15.463,3982,15.463,3983,15.463]],["keywords/707",[]],["title/708",[33,153.915,206,423.703,240,265.779,1051,933.04]],["content/708",[4,2.032,12,6.836,33,3.06,53,6.166,176,5.327,182,2.912,240,3.259,260,7.559,289,6.789,311,6.253,329,6.504,372,9.437,373,5.056,381,4.71,387,8.501,418,11.442,424,9.437,506,12.832,524,9.572,855,8.677,886,5.214,894,7.513,983,8.677,1112,8.677,1124,9.437,1261,9.311,1403,10.41,1716,10.41,1821,13.05,1847,10.864,2033,11.801,2541,11.134,2969,13.256,3448,11.801,3593,13.05,3715,12.676,3984,14.596,3985,14.596]],["keywords/708",[]],["title/709",[23,192.952,52,221.356,75,519.427,100,297.505,179,399.314,275,267.502,506,435.568]],["content/709",[2,3.395,4,2.142,5,3.054,6,1.37,12,7.208,18,3.097,33,1.829,37,2.375,41,9.565,51,4.594,52,5.289,63,3.762,69,2.894,73,4.733,75,9.147,79,4.909,84,4.947,87,3.221,171,3.694,177,7.275,182,1.85,191,2.787,192,3.117,200,6.401,219,3.446,222,2.528,228,4.049,230,4.469,246,5.42,252,3.595,254,5.51,264,2.687,273,2.033,275,4.711,281,5.486,289,4.312,292,7.267,297,2.63,301,2.113,308,5.553,330,2.229,373,2.391,378,5.57,379,4.241,381,2.991,386,6.748,387,8.239,389,4.767,391,4.669,400,6.37,403,7.495,408,4.681,413,4.801,419,5.632,421,4.801,440,4.288,482,7.733,504,4.11,506,7.67,527,4.767,544,3.459,660,7.935,674,3.395,716,3.347,740,4.312,785,2.827,856,5.994,894,5.421,912,7.38,932,6.438,940,5.632,983,11.411,1081,5.697,1089,5.346,1112,8.409,1114,4.733,1166,6.079,1564,5.913,1631,5.247,1706,6.079,1926,6.487,1931,5.837,2429,6.611,2560,6.079,2652,8.572,3979,7.769,3986,9.27,3987,8.112]],["keywords/709",[]],["title/710",[25,123.921]],["content/710",[2,3.801,4,2.183,5,1.356,6,0.608,7,3.239,12,5.37,14,3.901,18,2.098,19,3.111,20,2.813,22,3.48,23,3.994,24,3.582,25,1.443,28,2.716,29,4.304,32,2.806,33,2.205,34,3.904,35,4.416,37,1.742,45,2.944,51,1.503,52,3.654,53,2.653,62,2.69,63,2.276,69,1.96,72,2.989,73,6.771,84,5.537,85,3.025,100,4.911,107,1.543,114,1.826,122,2.756,152,2.066,164,1.972,171,1.64,180,2.889,182,2.07,183,1.978,190,2.938,191,1.888,198,3.542,201,4.008,202,3.192,203,5.262,219,2.334,220,2.22,222,1.712,224,3.146,228,2.743,246,1.984,264,1.821,273,2.908,275,4.415,281,4.024,285,4.317,289,4.827,315,3.38,319,2.798,355,2.475,373,2.676,382,3.229,385,3.801,389,3.229,397,4.006,398,3.886,400,2.828,408,6.97,414,2.455,467,3.668,480,2.259,499,3.3,504,2.784,506,9.245,508,3.954,510,3.185,538,3.121,543,3.843,544,3.872,568,3.694,639,2.989,722,3.163,736,2.352,737,2.111,742,2.843,763,3.207,776,4.939,777,2.798,785,1.915,787,3.043,804,5.029,805,4.118,857,3.229,886,2.243,983,9.155,993,3.025,1160,3.185,1329,3.185,1613,3.492,1697,3.554,1891,4.395,1963,5.263,2106,3.622,2170,5.496,3169,4.923,3778,3.773,3781,8.459,3810,5.496,3816,5.496,3817,5.496,3818,9.081,3819,5.496,3921,4.923,3922,5.263,3988,6.28,3989,15.4,3990,4.674]],["keywords/710",[]],["title/711",[25,79.157,100,440.795,385,435.966,1051,933.04]],["content/711",[4,1.626,5,2.297,6,1.907,7,2.021,12,7.429,14,4,16,3.33,23,3.617,28,2.801,29,6.508,32,2.867,33,1.752,34,1.483,35,1.857,44,1.803,50,5.866,53,2.735,58,2.372,70,2.595,73,5.434,82,4.531,100,7.89,114,3.094,116,2.674,125,2.562,152,1.289,154,2.38,161,2.046,162,3.762,163,5.235,164,4.927,167,2.814,171,1.691,182,2.123,183,2.039,184,2.308,185,1.564,186,1.914,189,3.306,191,3.199,196,2.015,198,2.843,201,2.501,202,1.992,204,3.064,205,1.682,217,2.313,219,2.407,222,1.766,230,2.046,232,3.849,240,2.376,251,5.917,271,2.297,273,4.087,274,4.187,278,1.743,289,8.063,300,3.569,315,2.109,322,2.38,329,4.742,355,2.552,368,4.077,372,4.187,398,2.425,407,5.189,416,7.083,417,7.805,437,2.541,457,4.378,480,2.329,483,5.724,500,4.531,503,3.429,504,2.871,506,5.77,520,2.931,543,2.398,544,2.416,557,2.573,577,4.027,630,2.38,674,2.372,698,4.187,737,2.177,742,2.931,785,4.131,787,3.138,886,2.313,894,2.481,897,4.246,901,2.472,926,3.306,966,5.427,983,9.327,996,2.931,1021,3.483,1068,3.849,1170,3.306,1173,3.849,1268,3.353,1339,2.9,1554,4.531,1588,5.076,1617,3.378,1631,3.665,1650,8.053,1651,6.137,1710,4.939,3223,4.82,3633,5.666,3778,3.891,3781,4.13,3921,8.342,3923,4.82,3991,6.475,3992,10.334,3993,10.642,3994,12.528,3995,6.475,3996,6.475,3997,5.988,3998,6.475,3999,6.475,4000,6.475,4001,6.475,4002,6.475,4003,6.475,4004,6.475,4005,6.475,4006,6.475,4007,6.475,4008,6.475,4009,6.475,4010,6.475,4011,6.475,4012,6.475]],["keywords/711",[]],["title/712",[191,471.331,879,610.406]],["content/712",[4,2.392,25,1.535,33,2.985,179,9.352,188,10.554,205,4.889,206,6.697,398,7.046,506,13.538,857,9.675,883,10.201,1697,10.649,3383,17.398,3821,16.465,4013,18.815]],["keywords/712",[]],["title/713",[23,161.915,25,70.65,37,178.358,185,256.637,480,382.183]],["content/713",[]],["keywords/713",[]],["title/714",[6,131.019,273,296.762,480,486.819]],["content/714",[2,6.043,4,1.71,6,2.183,9,8.872,25,1.29,37,1.914,44,3.175,46,5.341,52,3.141,63,3.618,67,4.587,87,3.962,100,4.222,107,2.8,114,4.797,125,4.511,152,4.231,182,2.275,184,2.472,186,3.37,223,8.485,273,5.156,278,3.069,389,5.862,396,3.725,408,5.459,425,4.101,480,9.243,516,5.862,703,4.254,737,7.145,762,8.486,772,4.729,785,3.477,855,6.777,874,5.055,894,4.369,926,5.821,963,4.403,1122,9.555,1124,7.371,1191,10.525,1278,5.63,1325,7.371,1327,6.084,1558,7.007,1614,5.821,1690,13.829,1827,6.395,1961,6.777,2131,6.85,3361,10.543,4014,11.401,4015,11.401]],["keywords/714",[]],["title/715",[278,422.052,1400,879.453]],["content/715",[5,3.665,25,1.129,33,2.195,70,4.14,87,5.899,220,6.001,252,6.582,264,6.274,293,6.058,334,4.894,480,7.786,590,7.238,639,8.079,782,9.986,787,8.227,886,7.731,926,11.051,1134,9.608,1400,14.865,1749,12.948,4016,16.975,4017,16.975]],["keywords/715",[]],["title/716",[480,564.031,4018,1449.827]],["content/716",[4,2.121,5,4.42,6,1.982,25,1.036,44,4.338,45,5.808,63,3.416,73,7.955,85,7.504,264,4.516,364,12.398,480,9.496,556,7.313,674,5.706,873,9.36,886,5.565,1400,14.151,1690,14.601,2117,10.216,2861,12.212,4018,21.146,4019,15.579,4020,15.579]],["keywords/716",[]],["title/717",[4,123.338,25,79.157,45,337.67,480,428.201]],["content/717",[4,1.614,22,4.087,23,4.099,24,4.338,25,0.836,28,3.443,32,3.296,33,1.625,34,2.878,35,2.283,36,4.152,37,2.97,45,5.807,50,4.388,51,1.905,58,2.915,86,3.216,97,2.794,103,5.601,108,4.152,111,3.003,114,3.654,122,3.494,152,1.585,171,2.078,186,2.353,188,4.465,198,4.725,200,4.689,204,3.766,222,2.17,223,4.093,271,2.823,275,2.65,308,4.068,334,2.295,355,3.137,370,5.012,371,4.152,381,2.569,408,4.158,480,8.591,572,2.843,590,3.394,607,4.316,630,5.725,645,4.683,737,4.225,758,3.443,764,4.351,765,5.104,770,3.931,771,6.24,772,5.213,773,4.953,774,4.351,775,3.811,776,5.982,777,3.547,780,4.215,787,3.857,843,3.603,932,3.622,958,3.682,982,4.247,1029,5.794,1121,13.234,1224,4.636,1261,5.077,1262,10.871,1268,4.122,1276,4.215,1300,3.661,1308,4.505,1400,8.736,1628,9.162,1691,6.966,1894,9.587,1895,6.071,1897,10.161,1900,9.355,3348,7.36,3876,6.435,4021,7.96,4022,7.96,4023,7.36]],["keywords/717",[]],["title/718",[4,123.338,200,444.09,308,385.295,1121,769.603]],["content/718",[22,4.604,23,4.237,24,4.287,25,1.167,32,4.304,33,1.606,34,2.844,35,3.562,36,6.479,37,3.414,45,4.976,52,3.422,103,5.535,198,3.318,200,6.545,222,3.387,223,6.387,355,4.895,480,6.311,763,6.342,932,5.652,982,9.361,1121,11.342,1400,9.84,1628,7.307,1691,19.339,4024,10.409,4025,16.221,4026,12.421,4027,11.485,4028,10.32,4029,6.479,4030,17.542,4031,17.542,4032,10.869,4033,17.542,4034,12.421,4035,12.421,4036,12.421]],["keywords/718",[]],["title/719",[330,376.96,1400,879.453]],["content/719",[4,1.567,18,5.053,33,3.231,37,2.539,45,4.291,65,6.581,70,3.689,92,6.449,152,3.012,162,5.347,171,3.95,185,3.654,198,5.364,311,6.48,329,6.74,330,4.827,398,5.665,435,9.186,458,7.036,480,5.442,557,6.01,661,12.808,674,5.54,843,6.847,1169,6.92,1377,7.076,1400,14.7,1796,9.19,2900,13.364,3043,13.237,4037,15.126]],["keywords/719",[]],["title/720",[480,564.031,3367,755.218]],["content/720",[5,3.521,6,2.042,23,4.23,32,3.452,124,8.756,171,4.259,271,5.786,355,6.428,480,8.893,572,5.826,630,5.996,758,7.054,765,5.346,772,8.75,1400,9.149,2121,10.024,3367,11.908]],["keywords/720",[]],["title/721",[480,564.031,2253,741.882]],["content/721",[4,2.121,24,5.377,37,2.615,44,4.338,53,8.648,73,7.955,79,8.249,154,5.727,171,5.346,172,8.985,289,10.637,373,4.018,408,6.774,425,5.604,439,10.902,462,6.19,480,8.227,484,8.738,531,8.516,888,8.127,1397,12.595,1400,11.484,1827,8.738,1885,13.056,2253,11.938,2254,11.588,2281,13.627,2492,9.465]],["keywords/721",[]],["title/722",[1327,836.666,4038,1167.014]],["content/722",[]],["keywords/722",[]],["title/723",[4,110.083,185,256.637,401,475.86,1327,566.919,4038,790.76]],["content/723",[2,3.536,3,2.649,4,1.292,5,2.085,6,1.413,9,4.417,10,3.821,12,2.008,18,1.924,25,0.642,33,1.249,37,0.967,44,3.471,45,4.611,46,1.864,51,2.31,60,8.258,63,3.564,67,2.317,69,1.798,70,3.558,92,2.455,107,3.062,110,2.54,113,2.679,114,2.807,134,3.26,151,1.777,152,2.482,155,5.57,181,3.888,182,2.487,185,3.012,186,1.702,191,1.731,192,3.246,202,1.772,222,1.57,224,2.928,228,2.515,240,1.286,246,1.819,255,2.347,264,3.614,273,3.857,278,1.55,281,4.834,284,2.043,291,4.623,293,1.612,297,3.537,298,2.826,301,3.326,310,2.607,314,2.043,322,4.583,330,1.385,334,1.661,341,3.423,364,3.122,379,4.417,382,2.961,385,4.566,387,3.354,393,3.097,396,1.882,405,4.965,438,2.157,440,2.664,480,3.473,483,3.097,514,2.064,536,1.975,537,4.086,543,3.576,545,4.042,553,2.58,563,2.467,569,2.826,582,3.23,611,3.626,622,2.337,636,3.148,640,4.107,650,3.321,652,2.757,660,3.23,675,4.491,676,4.192,693,2.58,701,3.582,704,3.027,705,5.623,709,3.539,718,2.337,732,2.015,737,1.936,762,4.287,785,4.45,856,3.724,858,2.901,886,2.057,887,5.623,893,2.422,904,4.192,914,2.709,922,4.393,924,3.674,936,2.863,942,7.491,943,3.027,963,4.815,985,2.679,1023,4.287,1030,2.826,1042,3.724,1049,5.934,1155,3.894,1171,3.959,1174,3.499,1237,4.192,1268,2.983,1276,5.113,1327,12.926,1329,2.92,1378,3.582,1385,4.827,1394,4.827,1427,3.073,1437,4.656,1563,4.827,1633,3.29,1690,4.107,1931,6.08,2130,3.777,2671,8.176,2741,4.393,2797,5.325,3110,4.827,3561,4.393,3758,3.582,3906,5.325,4038,10.861,4039,8.45,4040,3.833,4041,12.467,4042,5.759,4043,5.04,4044,5.759]],["keywords/723",[]],["title/724",[4,123.338,25,79.157,1327,635.181,4038,885.975]],["content/724",[2,2.661,4,1.211,5,1.569,6,0.703,22,4.408,23,4.262,25,1.224,28,3.142,32,3.103,34,3.357,54,3.158,60,6.267,69,2.268,105,7.948,107,2.871,108,3.79,109,7.556,111,2.742,114,2.112,151,2.242,152,3.665,161,2.295,164,3.67,173,4.319,174,4.319,192,2.443,198,1.941,224,4.445,234,3.361,251,6.498,273,2.563,366,3.5,373,1.874,427,2.671,467,6.951,474,4.19,490,2.887,496,2.936,580,3.342,642,3.254,694,3.611,703,2.711,706,3.71,736,2.721,737,2.443,763,5.967,764,3.972,772,3.014,773,4.605,785,2.216,786,6.28,806,5.629,861,3.379,923,9.614,1183,6.442,1204,3.736,1219,3.5,1300,3.342,1308,4.112,1327,10.493,1354,4.414,1444,3.438,1526,3.972,1639,10.807,1891,5.084,2169,6.358,2203,7.664,2303,3.908,2676,10.227,3092,5.408,3726,4.635,4038,5.408,4039,10.227,4045,11.687,4046,11.687,4047,7.266,4048,7.266,4049,14.66,4050,7.266,4051,4.765,4052,7.266,4053,7.266,4054,10.807,4055,7.266,4056,7.266,4057,6.719,4058,7.266,4059,11.687,4060,7.266,4061,7.266,4062,7.266,4063,6.719,4064,11.687,4065,7.266]],["keywords/724",[]],["title/725",[25,104.266,29,650.349]],["content/725",[]],["keywords/725",[]],["title/726",[28,805.94]],["content/726",[25,1.616,28,8.858,29,8.495,30,11.429,122,8.989,373,5.282,1133,17.163,1177,12.586,3828,16.053]],["keywords/726",[]],["title/727",[122,688.164,477,913.126]],["content/727",[28,8.945,29,10.136,30,9.73,44,5.759,122,9.078,458,9.62,477,12.046,722,12.308]],["keywords/727",[]],["title/728",[112,1221.989]],["content/728",[4,1.882,9,8.308,19,5.443,22,5.926,25,1.208,28,7.854,29,7.532,30,8.543,44,5.056,51,4.345,112,16.117,125,8.935,297,5.151,493,11.294,4066,18.159,4067,16.792,4068,18.159,4069,16.792,4070,22.581]],["keywords/728",[]],["title/729",[112,887.426,144,831.659,1254,914.982]],["content/729",[4,1.677,8,8.57,23,3.988,25,1.396,51,3.873,92,6.9,111,6.107,114,4.705,122,7.103,144,12.899,193,6.484,250,8.636,257,7.249,280,10.323,504,7.175,569,7.942,590,6.9,598,10.943,1178,15.75,1254,10.943,1263,11.542,1377,7.57,1937,13.563,2720,10.191,2923,13.563,4071,16.184,4072,14.965,4073,14.965,4074,14.163]],["keywords/729",[]],["title/730",[190,633.003,323,745.978,1663,752.413]],["content/730",[4,1.849,19,5.35,20,7.994,65,5.85,67,7.181,89,14.067,98,7.646,114,5.188,190,8.349,250,9.524,251,9.923,271,6.331,297,5.063,300,9.839,323,9.839,642,7.994,1124,11.54,1263,12.729,1586,13.99,1938,16.504,3656,14.958,3828,13.99,3837,16.504,4075,17.848,4076,17.848]],["keywords/730",[]],["title/731",[25,79.157,29,493.733,97,417.878,1177,731.52]],["content/731",[18,6.285,23,3.518,25,1.251,44,5.239,97,6.605,111,7.1,122,8.258,196,5.856,441,14.352,571,12.338,1177,14.185,2334,14.748,2667,15.768,3828,14.748,4077,17.398,4078,17.398,4079,18.815,4080,18.815]],["keywords/731",[]],["title/732",[22,489.037]],["content/732",[7,5.927,22,6.579,23,4.082,24,6.554,25,1.667,54,8.252,98,8.133,111,7.164,580,8.734,1077,10.746,1261,12.111]],["keywords/732",[]],["title/733",[556,560.063,742,709.677]],["content/733",[]],["keywords/733",[]],["title/734",[438,506.782,556,483.395,742,612.527]],["content/734",[22,4.996,23,4.259,24,5.563,32,4.029,34,3.69,35,3.165,36,5.758,37,2.706,45,4.572,108,5.758,124,6.036,171,4.209,198,4.305,271,3.916,275,3.676,355,4.35,370,6.951,371,5.758,408,5.333,438,4.134,556,6.8,572,3.943,600,5.937,630,5.925,742,9.475,758,4.774,764,6.034,765,3.618,770,5.451,771,6.458,772,4.579,773,4.35,774,8.81,775,5.285,776,7.671,777,4.919,780,5.845,806,5.317,843,4.996,1276,5.845,1300,5.078,1308,6.248,1417,6.034,1628,6.494,1903,11.996,2121,9.905,4081,14.904,4082,10.207,4083,16.117]],["keywords/734",[]],["title/735",[3758,975.122,4040,1043.588]],["content/735",[]],["keywords/735",[]],["title/736",[4,140.222,19,405.656,67,544.489]],["content/736",[4,1.481,6,1.872,51,3.421,97,5.019,173,8.498,176,5.217,205,3.714,228,6.244,240,4.317,281,5.543,301,3.258,308,6.258,311,10.053,314,5.071,407,6.971,444,13.529,462,5.68,554,6.845,735,6.437,812,13.788,894,5.478,994,7.689,1055,9.609,1219,6.886,1268,11.345,1320,10.398,1339,8.66,1421,12.51,1526,7.815,1713,7.751,1869,10.641,2286,11.558,2552,11.558,3641,13.219,3790,10.004,3835,17.877,4084,17.877,4085,13.219,4086,14.296,4087,14.296]],["keywords/736",[]],["title/737",[437,731.343]],["content/737",[4,1.471,6,1.375,25,0.944,40,5.42,51,3.398,87,4.934,148,8.189,162,5.019,186,4.197,201,5.484,219,5.278,225,5.09,228,8.405,246,7.393,252,7.462,281,9.074,311,6.082,395,5.97,398,5.317,407,6.924,410,9.18,437,5.572,482,7.761,581,6.025,652,6.798,886,5.072,897,9.311,982,7.577,1072,9.936,1089,8.189,1421,12.425,1617,7.407,1726,10.35,1765,9.057,2089,9.311,2130,12.62,3758,15.684,4040,12.809,4088,14.198,4089,14.198]],["keywords/737",[]],["title/738",[45,337.67,111,449.151,3758,740.294,4040,792.272]],["content/738",[22,6.091,23,3.98,25,1.263,45,5.386,111,7.164,438,7.11,3726,12.111,3758,14.435,4040,16.686,4090,18.986,4091,17.557,4092,18.986]],["keywords/738",[]],["title/739",[19,469.995,125,620.401]],["content/739",[19,3.701,22,3.24,23,4.179,24,4.262,30,5.809,32,3.697,34,4.641,35,3.541,37,2.073,124,4.624,162,4.365,164,5.486,173,7.339,186,3.649,193,4.947,224,3.744,275,4.111,281,4.788,301,2.814,311,5.289,355,6.884,373,3.184,421,6.394,600,6.641,735,5.559,765,4.047,776,8.314,777,5.502,780,6.538,886,4.41,912,9.113,1024,8.218,1155,8.348,1256,6.988,1400,6.926,1511,8.988,1526,6.749,1942,9.678,2121,7.588,2535,11.417,3758,10.864,4084,16.153,4093,12.347,4094,12.347,4095,12.347,4096,12.347,4097,12.347,4098,17.469,4099,12.347,4100,12.347,4101,12.347,4102,10.348]],["keywords/739",[]],["title/740",[278,364.276,2239,985.073,3758,841.635]],["content/740",[7,4.23,12,4.725,15,7.893,22,3.557,23,3.955,32,2.868,51,3.243,67,5.453,72,6.45,79,7.176,87,4.709,88,4.647,116,5.596,164,5.854,167,5.89,171,3.539,184,2.939,220,4.79,222,3.695,246,4.281,278,3.648,281,5.255,296,10.087,298,6.65,301,3.089,345,10.337,455,8.925,499,7.122,582,7.601,745,7.408,775,6.488,1058,7.018,1109,7.018,1309,6.375,2062,9.02,2239,15.511,2281,9.02,3758,14.966,4040,12.408,4091,12.531,4103,13.552,4104,13.552,4105,13.552,4106,13.552,4107,13.552,4108,13.552,4109,11.859]],["keywords/740",[]],["title/741",[19,469.995,735,705.949]],["content/741",[19,6.524,23,3.317,2669,14.715,3758,13.535,4110,20.125]],["keywords/741",[]],["title/742",[398,587.16,1697,887.422]],["content/742",[19,6.2,234,9.567,257,9.264,279,12.295,281,8.02,373,5.334,696,12.863,2669,13.985,4110,19.126,4111,20.683]],["keywords/742",[]],["title/743",[2502,926.214]],["content/743",[7,5.432,8,9.214,12,7.666,40,6.642,50,9.592,51,4.164,65,7.206,69,6.863,81,12.41,88,8.264,184,3.773,219,8.172,281,6.747,319,7.754,373,4.487,427,6.396,2183,12.666,2638,13.273,3169,13.64,3758,13.674,4040,14.634]],["keywords/743",[]],["title/744",[25,89.993,45,383.895,4112,1094.088]],["content/744",[]],["keywords/744",[]],["title/745",[4,140.222,45,383.895,4112,1094.088]],["content/745",[22,5.004,23,4.125,24,4.835,25,1.268,32,4.035,33,2.466,34,3.207,35,4.017,36,7.307,37,4.217,52,3.86,198,5.791,224,4.247,355,5.52,370,8.82,371,7.307,408,4.635,425,5.039,454,9.057,455,6.707,490,5.566,1628,14.322,1902,8.608,4028,11.217,4029,7.307,4112,15.416,4113,16.686,4114,14.007,4115,16.686]],["keywords/745",[]],["title/746",[1902,963.564,2079,895.677]],["content/746",[4,1.773,23,4.007,32,2.538,37,2.873,45,3.402,54,8.67,124,10.104,154,4.408,171,5.209,184,2.6,273,2.63,293,3.357,301,3.9,371,6.256,373,3.093,427,4.408,468,5.486,572,4.284,716,4.329,773,4.726,785,6.083,871,9.695,955,6.916,1257,5.486,1552,8.244,1726,6.45,1814,7.551,1902,14.697,2079,6.85,2900,7.982,3601,16.718,4028,7.055,4113,14.973,4115,10.494,4116,11.992,4117,11.992,4118,11.992,4119,11.992,4120,11.992,4121,11.089,4122,11.992,4123,11.992,4124,11.992]],["keywords/746",[]],["title/747",[4,123.338,151,367.227,241,442.435,1902,731.52]],["content/747",[23,3.282,32,3.563,37,2.827,45,4.777,151,5.195,164,7.454,241,6.259,373,4.342,785,5.135,1377,7.876,1902,10.348,4028,9.906,4112,13.613,4113,14.735,4115,14.735,4125,16.838,4126,23.736,4127,23.736,4128,20.772,4129,23.736,4130,16.838,4131,16.838]],["keywords/747",[]],["title/748",[25,89.993,1377,633.003,1617,705.951]],["content/748",[]],["keywords/748",[]],["title/749",[25,89.993,1377,633.003,1617,705.951]],["content/749",[1,1.096,4,1.513,5,0.531,6,0.558,7,0.526,8,0.893,12,0.303,14,0.634,18,0.563,20,1.102,22,0.443,23,0.592,24,1.102,25,0.421,30,0.408,33,0.889,34,0.386,35,2.998,37,1.064,42,0.702,44,1.082,45,1.103,46,1.033,51,0.208,53,0.712,54,0.733,58,0.318,60,3.9,61,0.467,63,0.37,64,0.587,65,1.046,69,0.271,72,0.803,76,0.516,87,0.302,88,1.333,89,1.062,97,0.592,99,0.306,100,0.911,107,0.414,112,0.569,113,0.404,124,0.921,125,10.014,131,0.44,134,1.392,151,1.199,152,2.155,154,1.901,155,0.503,161,0.533,167,0.377,171,2.629,172,0.5,174,0.516,177,0.446,179,0.431,183,1.432,184,1.374,185,0.771,186,0.256,190,0.406,196,0.27,198,0.853,203,0.44,205,0.829,210,0.578,215,0.886,217,1.14,222,0.871,224,2.673,225,1.144,228,0.737,230,0.777,234,1.798,239,0.861,241,0.323,242,0.93,246,0.274,258,0.662,260,0.449,271,2.248,273,1.73,274,1.09,277,0.5,280,0.554,281,0.654,284,0.308,293,0.472,297,0.246,298,0.426,301,0.198,311,0.722,319,0.387,329,0.387,330,0.405,334,1.311,341,2.31,347,1.132,349,0.561,355,0.665,356,0.404,361,0.946,366,0.418,373,1.488,378,0.521,379,0.397,382,0.446,385,0.901,391,0.437,394,0.44,396,2.416,407,0.423,408,0.287,413,1.653,425,0.312,427,1.671,435,2.08,438,0.632,447,1.076,455,2.176,458,0.404,467,0.307,468,0.772,469,0.68,474,0.5,477,0.505,480,1.398,487,0.546,490,0.345,508,0.546,510,0.855,516,1.999,517,1.731,537,0.284,539,0.404,543,0.911,545,0.884,556,2.642,557,2.055,566,0.597,569,1.207,572,2.818,580,3.164,582,0.487,584,0.587,590,2.459,600,0.467,628,2.2,630,2.329,637,0.496,642,0.755,652,0.415,656,2.31,659,2.379,663,1.356,664,0.434,674,0.318,694,0.431,695,0.429,703,1.45,711,0.368,735,0.391,737,4.393,741,2.361,742,0.763,763,0.443,765,4.787,770,2.554,771,0.348,772,1.886,773,3.968,774,2.125,782,0.992,785,0.514,786,0.722,787,0.421,800,1.18,804,0.421,809,0.833,827,0.533,828,0.662,843,1.759,847,0.702,848,0.68,849,0.68,861,2.947,869,1.613,871,0.702,874,0.385,886,1.14,901,1.484,941,2.376,942,2.731,996,0.393,1021,0.467,1024,1.502,1040,2.036,1061,0.54,1089,0.5,1114,1.256,1116,0.838,1158,15.54,1160,0.44,1169,2.899,1174,0.527,1183,0.478,1204,3.537,1219,1.872,1220,0.496,1256,0.491,1276,2.058,1278,0.429,1295,1.322,1299,0.632,1300,1.469,1309,2.139,1327,13.505,1345,0.54,1354,0.527,1356,1.076,1361,0.467,1377,2.964,1400,2.18,1417,5.917,1444,0.411,1479,4.691,1536,0.607,1548,0.554,1552,1.691,1628,0.51,1648,0.607,1650,0.516,1697,0.491,1712,1.18,1726,0.467,1779,0.597,1786,0.68,1792,1.691,1827,0.487,1872,1.717,1891,0.607,1903,0.646,1961,0.516,1986,0.561,1987,1.286,2023,3.09,2062,1.638,2079,1.405,2080,0.802,2114,0.569,2131,0.521,2136,0.607,2165,0.587,2239,0.632,2252,0.527,2253,1.164,2301,0.554,2303,3.978,2308,0.546,2321,1.062,2353,0.619,2376,1.255,2396,2.062,2429,0.619,2496,1.791,2502,0.838,2508,0.702,2568,2.234,2707,0.662,2779,0.533,2781,0.646,2823,1.363,2847,0.727,2884,0.727,2913,0.646,2942,1.322,2953,2.094,3114,0.632,3170,2.435,3367,1.538,3442,0.759,3494,3.765,3586,0.5,3629,0.632,3633,1.476,3646,1.413,3715,0.561,3742,1.363,3747,1.363,3764,1.791,3823,0.68,3830,0.646,3883,0.759,3888,0.759,3977,2.794,3994,0.802,4057,2.275,4121,0.802,4132,0.868,4133,25.286,4134,25.286,4135,0.868,4136,0.868,4137,2.46,4138,0.868,4139,0.868,4140,0.868,4141,0.868,4142,0.868,4143,0.868,4144,0.868,4145,0.868,4146,0.802,4147,0.802,4148,0.868,4149,0.868,4150,0.868,4151,0.868,4152,0.868,4153,0.868,4154,0.802,4155,0.868,4156,0.868,4157,0.868,4158,0.868,4159,0.868,4160,0.868,4161,0.868,4162,1.686,4163,0.868,4164,0.868,4165,1.18,4166,0.802,4167,0.868,4168,0.868,4169,0.868,4170,0.802,4171,0.868,4172,0.868,4173,1.559,4174,0.759,4175,0.868,4176,0.727,4177,0.868,4178,1.476,4179,0.868,4180,0.868,4181,0.868,4182,0.868,4183,0.868,4184,0.868,4185,3.81,4186,0.868,4187,0.868,4188,0.868,4189,0.868,4190,0.868,4191,0.868,4192,0.868,4193,0.868,4194,0.868,4195,0.759,4196,0.868,4197,0.759,4198,4.203,4199,2.153,4200,0.868,4201,0.868,4202,0.868,4203,0.868,4204,0.868,4205,0.868,4206,0.868,4207,0.868,4208,0.868,4209,0.868,4210,1.686,4211,0.868,4212,0.759,4213,0.868,4214,0.759,4215,0.868,4216,0.868,4217,0.868,4218,0.868,4219,0.868,4220,0.868,4221,0.868,4222,4.182,4223,3.193,4224,0.868,4225,0.868,4226,0.868,4227,0.868,4228,0.868,4229,0.868,4230,0.868,4231,0.868,4232,0.868,4233,0.802,4234,0.868,4235,0.868,4236,0.868,4237,0.868,4238,0.868,4239,0.759,4240,0.868,4241,0.868,4242,0.868,4243,0.868,4244,0.868,4245,0.868,4246,0.868,4247,0.868,4248,0.868,4249,0.868,4250,0.868,4251,0.868,4252,0.759,4253,0.802,4254,0.868,4255,0.868,4256,0.868,4257,3.193,4258,1.686,4259,0.868,4260,0.868,4261,0.868,4262,0.868,4263,2.46,4264,0.868,4265,0.868,4266,0.868,4267,3.193,4268,0.868,4269,0.868,4270,0.868,4271,0.868,4272,0.868,4273,1.559,4274,0.868,4275,0.868,4276,0.868,4277,0.868,4278,0.868,4279,1.559,4280,0.868,4281,0.868,4282,0.868,4283,0.868,4284,0.868,4285,0.868,4286,0.868,4287,0.868,4288,0.868,4289,0.868,4290,0.868,4291,0.868,4292,0.868,4293,0.868,4294,0.868,4295,0.868,4296,0.868,4297,0.868,4298,0.868,4299,0.868,4300,0.868,4301,0.868,4302,0.868,4303,0.868,4304,0.802,4305,0.868,4306,0.868,4307,0.868,4308,0.868,4309,1.686,4310,0.868,4311,0.868,4312,0.868,4313,0.868,4314,0.868,4315,0.868,4316,0.868,4317,0.868,4318,0.868,4319,0.868,4320,1.559,4321,0.868,4322,0.868,4323,0.868,4324,0.868,4325,0.868,4326,1.989,4327,0.868,4328,1.686,4329,0.868,4330,0.868,4331,0.868,4332,0.802,4333,0.868,4334,0.802,4335,0.759,4336,0.868,4337,0.868,4338,0.868,4339,3.401,4340,2.46,4341,0.868,4342,0.868,4343,0.868,4344,0.868,4345,0.868,4346,0.868,4347,0.868,4348,0.868,4349,1.203,4350,0.868,4351,0.868,4352,0.868,4353,0.868,4354,0.868,4355,13.344,4356,0.868,4357,0.868,4358,0.868,4359,0.868,4360,0.868,4361,0.868,4362,0.868,4363,0.868,4364,0.868,4365,0.759,4366,0.868,4367,0.868,4368,0.868,4369,0.868,4370,0.868,4371,0.868,4372,0.868,4373,0.868,4374,0.868,4375,0.868,4376,0.868,4377,0.868,4378,0.868,4379,0.868,4380,0.868,4381,0.868,4382,0.868,4383,0.868,4384,0.868,4385,0.868,4386,0.868,4387,0.868,4388,0.868,4389,0.868,4390,0.868,4391,0.868,4392,0.868,4393,0.868,4394,0.868,4395,0.868,4396,0.868,4397,0.868,4398,0.802,4399,0.868,4400,0.868,4401,0.868,4402,0.868,4403,0.868,4404,1.686,4405,0.868,4406,0.868,4407,0.868,4408,0.868,4409,0.868,4410,0.868,4411,0.868,4412,0.868,4413,0.868,4414,0.868,4415,0.868,4416,0.868,4417,0.868,4418,0.868,4419,0.802,4420,0.868,4421,0.702,4422,0.868,4423,0.868,4424,0.868,4425,0.868,4426,2.062,4427,0.868,4428,0.759,4429,0.868,4430,0.727,4431,0.868,4432,0.727,4433,0.868,4434,0.868,4435,0.868,4436,0.759,4437,0.868,4438,0.868,4439,0.868,4440,0.868]],["keywords/749",[]],["title/750",[6,102.858,33,137.374,330,255.425,435,486.049,765,348.193]],["content/750",[]],["keywords/750",[]],["title/751",[227,806.215,293,438.887]],["content/751",[4,0.73,6,1.877,9,6.569,23,4.231,32,2.412,108,9.452,111,2.658,151,3.517,152,3.86,161,7.124,162,7.215,164,2.212,174,4.187,224,3.456,227,5.861,240,1.573,271,7.788,286,4.329,293,1.972,334,2.031,381,2.273,435,5.215,468,5.215,493,4.381,549,3.702,572,2.516,590,3.003,600,3.789,737,2.368,758,6.21,765,5.938,772,2.922,773,6.501,782,4.144,910,4.586,1074,3.851,1116,3.501,1183,9.095,1219,3.393,1300,9.776,1325,4.555,1359,5.373,1392,5.695,1406,5.522,1617,8.607,1765,4.494,2206,5.243,2495,9.041,2496,14.114,2583,5.522,2967,6.514,2984,6.165,3555,6.514,3560,5.128,4441,7.044,4442,7.37,4443,13.276,4444,15.856,4445,14.357,4446,14.357,4447,12.564,4448,15.856,4449,7.044,4450,7.044,4451,7.044,4452,7.044,4453,7.044,4454,7.044,4455,6.165,4456,7.044,4457,7.044]],["keywords/751",[]],["title/752",[4458,1561.679]],["content/752",[4,0.871,6,0.814,14,3.161,18,6.09,23,4.223,32,3.858,34,3.695,44,3.654,54,3.655,62,3.602,70,3.2,149,3.488,152,1.674,154,3.091,161,5.098,164,5.067,167,3.655,183,2.649,198,2.246,201,3.248,224,2.55,278,3.532,292,6.592,301,1.917,373,4.702,402,7.568,425,3.025,435,10.357,455,4.026,464,6.259,484,4.717,513,4.999,600,4.523,641,5.885,648,5.295,694,6.522,734,4.236,758,6.979,765,2.756,775,4.026,782,4.947,806,6.321,886,5.764,888,6.845,897,5.515,917,7.048,958,3.89,993,4.051,1108,5.686,1109,6.796,1257,6.004,1300,3.868,1377,7.548,1444,3.979,1526,4.597,1552,5.781,1617,4.387,1709,7.776,1710,6.414,1724,5.437,2098,5.295,2252,5.109,2444,5.109,2495,5.295,2496,9.552,3781,5.364,4032,7.359,4198,7.776,4443,7.776,4444,7.359,4448,7.359,4458,7.048,4459,8.409,4460,8.409,4461,8.409,4462,8.409,4463,7.359,4464,8.409,4465,8.409,4466,8.409,4467,8.409,4468,7.359,4469,8.409,4470,13.122,4471,8.409,4472,8.409]],["keywords/752",[]],["title/753",[4463,1630.706]],["content/753",[4,1.69,14,6.131,18,7.81,23,4.122,32,3.452,33,2.109,70,3.978,111,6.155,149,6.766,161,5.153,164,6.624,183,5.137,224,6.396,348,9.232,402,9.407,435,10.697,734,8.215,4473,16.311,4474,16.311,4475,16.311,4476,16.311,4477,16.311,4478,16.311,4479,16.311]],["keywords/753",[]],["title/754",[435,717.317,3367,755.218]],["content/754",[5,2.681,6,1.698,22,3.26,23,4.16,25,0.826,32,2.629,34,2.844,108,6.479,152,2.473,161,6.425,162,6.201,167,8.839,171,3.243,224,3.766,246,3.924,271,4.406,330,4.218,368,7.821,373,3.203,435,8.026,451,7.633,468,5.683,545,3.44,569,6.095,572,4.437,631,7.234,736,4.651,737,4.176,740,5.777,772,5.152,809,6.134,1169,5.683,1220,7.095,1300,5.714,1308,7.03,2496,9.041,3367,8.45,3368,15.351,3764,9.041,3963,9.474,4444,17.798,4448,17.798,4480,9.245,4481,17.542,4482,14.702,4483,12.421,4484,12.421]],["keywords/754",[]],["title/755",[51,284.834,281,461.561,379,544.573,435,544.573]],["content/755",[3,8.814,4,1.985,25,1.274,51,5.585,116,7.913,155,5.711,219,7.122,224,5.81,246,6.053,281,9.051,373,4.942,435,8.766,734,9.651,1256,10.845,2130,12.565,4463,16.768]],["keywords/755",[]],["title/756",[184,340.004,435,717.317]],["content/756",[4,1.69,18,5.448,25,1.085,37,2.738,45,4.627,88,5.593,152,3.247,166,8.843,184,5.07,205,4.238,220,5.766,240,3.642,271,5.786,373,6.03,394,8.271,435,11.713,493,10.144,1024,9.924,1444,7.718,1827,9.149,2165,11.028,2502,8.107,2720,10.271,3684,12.675,4043,14.274,4339,14.274,4485,13.187]],["keywords/756",[]],["title/757",[33,153.915,373,306.972,427,437.561,435,544.573]],["content/757",[19,5.35,33,3.153,53,9.436,69,5.571,177,9.177,184,3.87,198,4.768,227,9.177,271,6.331,373,4.603,427,9.394,435,10.22,545,4.944,765,7.322,886,6.375,2253,10.57,2492,10.843]],["keywords/757",[]],["title/758",[37,263.223,435,717.317]],["content/758",[]],["keywords/758",[]],["title/759",[581,790.783]],["content/759",[4,0.916,6,1.612,12,3.081,14,3.322,22,4.37,23,4.066,24,3.05,25,0.907,32,1.87,33,2.976,34,3.122,35,4.775,37,2.796,52,3.758,54,3.841,65,2.896,68,4.645,70,4.061,124,3.31,154,3.249,162,7.151,164,2.775,198,2.361,224,6.482,275,4.541,301,2.014,334,2.548,335,11.876,355,5.374,396,2.887,408,5.51,435,10.194,458,4.111,483,4.753,513,8.107,590,5.815,592,5.369,600,4.753,674,3.237,727,6.184,741,5.369,776,6.491,843,4,891,4.872,958,4.088,1110,5.049,1169,4.043,1256,5.002,1257,7.619,1354,5.369,1558,5.431,1765,10.622,2036,6.927,2136,6.184,2252,8.285,3114,6.433,3880,7.406,4028,8.023,4029,4.61,4430,7.406,4486,17.312,4487,8.172,4488,8.172,4489,8.838,4490,8.172,4491,8.172,4492,8.172,4493,8.172,4494,8.172,4495,8.172,4496,8.172,4497,8.838,4498,8.838]],["keywords/759",[]],["title/760",[25,70.65,271,376.852,435,486.049,2172,718.317,2779,652.904]],["content/760",[4,1.175,12,3.954,22,5.073,23,4.271,25,1.41,29,4.703,33,2.741,34,2.596,35,4.713,37,3.245,65,3.716,162,4.008,164,3.561,271,5.83,275,3.776,293,3.174,334,3.269,355,4.468,373,2.924,408,3.752,435,9.699,513,9.77,592,6.889,600,6.099,776,7.822,958,5.245,1257,5.188,1354,6.889,1765,14.355,2172,7.667,2252,6.889,2779,6.968,3828,8.888,4077,10.485,4430,9.503,4486,15.198,4487,10.485,4488,10.485,4490,10.485,4491,10.485,4492,10.485,4493,10.485,4494,10.485,4495,10.485,4499,11.339,4500,11.339,4501,11.339]],["keywords/760",[]],["title/761",[23,146.203,25,63.794,271,340.282,763,489.824,993,462.071,3375,638.508]],["content/761",[4,1.825,18,4.174,22,5.815,23,4.04,25,1.72,33,1.616,69,3.901,72,5.947,151,3.855,155,3.724,271,7.238,368,7.868,373,3.222,435,5.717,487,7.868,745,6.83,763,12.988,827,7.679,993,8.486,1077,7.072,1220,7.138,1377,5.845,1694,8.744,1796,7.591,1970,8.911,3375,8.317,3859,9.3,4502,12.495,4503,24.909,4504,12.495,4505,12.495,4506,12.495,4507,12.495,4508,12.495,4509,17.616,4510,12.495,4511,12.495]],["keywords/761",[]],["title/762",[4512,1561.679]],["content/762",[]],["keywords/762",[]],["title/763",[188,1045.231]],["content/763",[25,1.447,297,6.174,517,11.8,879,8.473,4513,21.763]],["keywords/763",[]],["title/764",[517,850.067,2023,764.557]],["content/764",[4,1.818,6,1.699,9,8.028,33,2.269,65,5.751,152,5.057,171,4.582,249,9.932,330,5.314,373,5.7,375,9.154,483,9.438,517,9.514,557,6.972,659,8.072,737,7.431,1278,8.666,2023,11.799,4514,17.547,4515,10.913]],["keywords/764",[]],["title/765",[4,162.462,67,630.847]],["content/765",[4,1.898,121,11.007,122,8.04,125,7.249,167,7.961,193,7.34,241,6.809,322,6.734,499,9.627,668,9.487,954,9.627,1127,11.535,1157,10.889,1434,13.973,1558,11.258,1986,11.844,2031,13.064,4512,15.352,4516,18.319,4517,18.319,4518,18.319,4519,18.319,4520,18.319]],["keywords/765",[]],["title/766",[581,790.783]],["content/766",[6,2.198,14,6.886,83,13.335,107,5.577,151,5.652,173,10.889,174,14.667,330,4.404,427,8.346,510,9.289,517,13.377,1114,9.354,1276,9.7,1278,9.047,2953,12.013,4521,16.939]],["keywords/766",[]],["title/767",[787,903.071]],["content/767",[6,1.104,23,4.132,30,5.364,124,6.179,152,3.285,161,5.213,162,7.513,163,13.34,164,5.181,167,7.171,171,2.977,458,5.303,483,6.132,517,6.181,572,4.073,734,5.742,775,7.9,785,3.477,787,7.996,843,5.16,975,6.132,1092,8.696,1175,7.179,1257,10.318,1276,6.037,1278,9.576,1724,10.668,1796,6.927,2023,5.56,2252,12.912,2783,6.927,3883,9.977,4521,10.543,4522,11.401,4523,18.599,4524,11.401,4525,11.401,4526,11.401,4527,11.401,4528,11.401,4529,9.977,4530,21.253,4531,11.401,4532,14.439,4533,9.977,4534,10.543,4535,19.391]],["keywords/767",[]],["title/768",[30,876.641]],["content/768",[23,4.135,30,10.024,124,6.204,152,3.298,161,5.233,162,6.876,163,13.393,164,5.202,167,7.2,458,5.332,483,6.166,517,6.215,734,5.774,775,7.932,785,3.496,843,5.189,1092,8.744,1114,5.854,1175,7.219,1257,10.34,1276,6.07,1278,11.994,1796,6.965,2252,12.945,2783,6.965,4273,10.601,4523,18.646,4529,10.032,4532,14.497,4533,10.032,4536,11.464,4537,11.464,4538,11.464,4539,11.464,4540,11.464,4541,11.464,4542,21.307,4543,11.464,4544,11.464,4545,11.464,4546,11.464,4547,19.451]],["keywords/768",[]],["title/769",[468,852.533]],["content/769",[23,4.112,124,6.408,152,3.406,161,5.405,162,7.052,163,13.833,164,5.373,167,7.436,468,9.126,483,6.45,517,6.502,734,6.04,775,8.192,785,3.657,843,5.428,1092,9.147,1175,7.551,1257,10.523,1276,6.35,1278,12.156,1796,7.285,2252,13.216,2783,7.285,3888,10.494,4523,19.036,4529,10.494,4532,14.973,4533,10.494,4548,11.992,4549,11.992,4550,11.992,4551,11.992,4552,11.992,4553,11.992,4554,21.752,4555,11.992,4556,19.948]],["keywords/769",[]],["title/770",[4239,1630.706]],["content/770",[4,1.967,23,3.82,32,2.945,34,3.186,68,7.312,76,8.271,111,8.757,152,4.301,154,5.115,164,4.369,186,4.113,198,3.717,224,5.755,241,5.172,286,8.551,373,3.588,427,5.115,458,6.472,517,12.582,561,6.546,639,6.622,717,6.662,806,6.702,894,5.332,1089,8.024,1114,7.105,1170,7.105,1204,7.155,1278,10.669,2079,7.949,2842,11.661,2927,11.952,4239,18.905,4557,13.914,4558,13.914,4559,13.914,4560,12.866,4561,12.866,4562,13.914]],["keywords/770",[]],["title/771",[33,202.738,504,695.115]],["content/771",[]],["keywords/771",[]],["title/772",[10,620.401,33,202.738]],["content/772",[1,4.601,2,2.286,4,1.368,5,2.851,6,1.486,10,2.47,14,2.347,22,5.516,23,4.04,24,6.69,25,1.348,32,3.597,33,1.984,34,3.891,35,4.4,37,3.403,40,2.383,46,3.342,53,4.362,60,2.329,62,2.674,63,1.369,65,2.046,69,1.949,70,1.522,73,3.187,84,5.51,98,4.423,100,6.781,103,2.782,111,4.983,149,2.589,154,2.295,156,3.306,162,2.207,171,3.448,179,3.103,191,3.969,193,2.501,202,1.92,203,3.165,217,2.23,222,1.702,224,1.893,228,2.726,234,2.887,240,1.394,273,2.264,293,1.747,295,6.346,301,1.423,314,3.663,334,1.8,355,2.46,364,3.384,368,3.931,373,1.61,395,2.625,408,5.077,413,3.233,414,2.44,426,3.882,440,2.887,467,2.207,496,2.522,504,2.768,510,3.165,527,3.21,534,4.452,537,2.046,543,2.312,555,3.882,556,2.23,557,2.48,577,3.882,607,3.384,673,3.256,674,2.286,689,3.412,695,3.083,765,2.046,777,4.601,780,3.306,804,3.025,805,4.094,890,4.452,1007,5.427,1193,4.761,1205,4.893,1248,9.036,1329,5.236,1613,3.471,1893,7.099,2010,5.047,2098,3.931,2112,12.709,2121,3.836,2488,4.544,2927,3.931,3563,4.291,3813,6.273,3814,4.094,3951,4.368,3992,11.704,4029,3.256,4085,5.772,4563,11.704,4564,9.036,4565,5.231,4566,5.772,4567,5.463,4568,5.463,4569,6.242,4570,6.242,4571,5.231,4572,5.463,4573,10.325,4574,5.772,4575,10.325,4576,6.242,4577,5.772,4578,6.242]],["keywords/772",[]],["title/773",[2,435.966,25,79.157,33,153.915,504,527.718]],["content/773",[2,8.563,4,2.185,5,2.422,6,1.86,7,3.502,10,4.438,11,7.356,12,5.686,14,4.217,15,6.533,20,5.024,22,4.279,23,3.677,24,5.629,25,1.278,32,2.374,34,2.568,35,4.676,37,1.883,54,4.875,81,8,94,6.976,156,5.94,186,3.315,191,3.372,230,3.543,246,3.543,271,3.979,330,2.697,355,4.42,357,8,404,8.556,405,5.768,408,3.711,425,4.035,459,8.556,467,3.965,496,4.532,504,9.351,673,8.507,674,4.108,703,7.168,777,4.998,827,6.893,894,4.298,944,9.147,958,5.188,1030,5.504,1143,7.252,1272,8.165,1466,11.87,1612,12.137,1613,6.237,1648,7.849,1765,10.402,2502,5.575,2821,10.372,2979,7.584,3990,8.349,4579,11.217,4580,11.217,4581,11.217,4582,11.217]],["keywords/773",[]],["title/774",[2,389.113,10,420.379,37,178.358,315,346.025,875,562.569]],["content/774",[2,8.822,4,1.985,6,1.854,10,8.847,11,7.316,12,3.89,14,4.194,18,3.727,19,3.344,22,5.027,23,3.897,24,5.607,25,1.08,32,2.361,33,2.72,34,2.554,35,3.199,37,3.754,63,3.562,107,2.74,149,4.628,204,5.279,219,4.147,230,6.646,321,9.982,334,3.217,355,4.397,400,5.023,408,3.691,504,4.946,555,6.939,568,6.563,577,6.939,703,4.162,732,3.903,777,4.972,782,6.563,879,4.344,958,5.161,1169,5.104,1595,6.939,1613,6.203,1614,8.294,2112,10.652,2172,7.543,4029,5.82,4564,14.214,4565,9.35,4566,10.317,4567,9.763,4568,9.763,4583,12.39,4584,11.157]],["keywords/774",[]],["title/775",[25,70.65,33,137.374,219,394.886,432,558.336,4585,858.926]],["content/775",[4,1.857,5,2.764,6,1.239,12,4.464,14,4.813,18,4.276,25,0.851,33,3.159,37,2.149,46,4.144,49,6.023,62,7.676,65,4.196,148,7.383,154,4.706,161,4.044,171,3.343,184,4.483,185,3.093,204,6.058,230,4.044,240,2.859,246,4.044,249,7.246,272,5.458,273,2.807,289,5.955,293,3.584,314,4.541,373,4.621,401,5.734,405,9.214,408,5.929,413,9.28,427,6.587,432,9.418,503,6.779,504,7.945,543,4.741,555,7.962,652,9.899,716,6.469,735,5.764,785,3.904,901,4.887,1007,6.728,1086,8.277,1317,8.959,2516,13.338,3979,10.729,4585,14.488]],["keywords/775",[]],["title/776",[191,406.809,879,526.845,2132,1251.356]],["content/776",[4,2.175,7,5.052,14,6.084,25,1.549,33,3.187,81,11.542,182,3.229,188,9.078,198,4.323,234,7.486,260,10.87,301,3.688,314,5.741,373,4.174,398,7.86,408,5.355,503,8.57,504,7.175,537,5.304,857,8.322,883,8.774,886,5.781,993,7.795,1147,8.921,1444,7.658,1571,10.943,3186,13.084,4586,16.184,4587,16.184,4588,16.184]],["keywords/776",[]],["title/777",[23,161.915,107,384.917,181,283.072,185,256.637]],["content/777",[]],["keywords/777",[]],["title/778",[62,455.105,149,440.672,385,389.113,713,686.894,2587,982.391]],["content/778",[6,1.384,9,6.54,18,4.775,30,6.725,34,3.273,37,2.4,40,5.457,70,5.342,107,3.511,149,9.087,162,5.053,181,3.809,182,2.852,185,3.453,192,4.806,200,5.334,220,6.834,223,7.351,240,4.317,264,4.144,301,3.258,330,3.437,334,4.122,387,8.326,455,6.845,496,5.777,520,6.471,544,5.334,652,6.845,675,6.649,711,6.067,713,12.5,714,9.515,716,5.161,717,9.257,785,4.36,809,7.06,1006,8.685,1204,7.351,1554,10.004,1646,9.515,1926,10.004,2356,11.558,2424,11.558,2444,8.685,3158,11.558,4589,14.296]],["keywords/778",[]],["title/779",[46,385.295,281,461.561,379,544.573,581,505.129]],["content/779",[5,3.266,6,1.944,18,7.529,25,1.006,33,1.956,52,4.168,53,6.389,69,4.722,70,3.689,88,5.186,107,4.932,181,5.35,182,3.018,192,5.085,201,5.842,215,7.95,219,5.622,228,6.606,246,6.343,278,4.072,281,9.96,287,7.518,311,6.48,330,3.637,333,13.987,379,6.92,432,7.95,444,14.05,581,6.419,586,11.259,754,11.857,1762,13.987,2130,9.919,2645,13.237,4590,15.126]],["keywords/779",[]],["title/780",[22,312.383,222,324.571,675,553.65,719,818.312]],["content/780",[6,1.263,18,4.357,61,7.015,103,5.812,107,3.204,149,5.41,171,3.406,181,3.475,182,3.622,185,3.151,191,3.921,205,3.389,220,4.611,222,5.694,228,5.696,240,4.053,254,7.753,272,5.561,273,2.86,301,2.973,373,3.364,401,5.842,421,6.755,442,9.494,465,9.708,490,5.182,512,5.339,514,4.675,579,8.433,590,5.561,673,6.804,675,10.502,703,6.773,708,8.213,709,8.016,718,5.293,719,15.522,772,5.41,786,5.587,889,8.819,944,7.316,1134,7.382,1339,8.131,1427,6.96,1444,6.171,2146,9.494,2178,9.127,2289,9.708,2431,13.847,2546,11.414,2548,12.061,3443,12.061,3785,10.931,4591,12.061,4592,13.043,4593,13.043]],["keywords/780",[]],["title/781",[180,622.502,389,695.85,607,733.699]],["content/781",[6,2.128,9,5.616,25,0.816,33,1.587,44,3.418,46,3.973,70,4.242,97,4.309,107,4.273,149,5.091,152,2.444,180,8.002,181,4.635,182,2.449,184,2.662,186,3.628,192,4.127,198,3.279,205,5.25,220,7.77,228,5.361,240,3.884,272,5.233,273,2.692,276,7.457,282,9.362,293,3.436,301,2.797,311,7.452,330,2.951,347,5.646,356,5.709,360,7.012,421,6.357,444,12.173,487,7.729,496,4.96,538,6.101,543,4.545,544,6.49,545,6.427,736,4.597,737,4.127,812,12.406,1055,8.647,1058,6.357,1111,8.438,1170,6.267,1204,6.312,1268,6.357,1765,7.83,1869,9.136,1876,11.35,2954,10.287,3947,16.086,3951,8.589]],["keywords/781",[]],["title/782",[6,92.877,70,233.946,694,476.813,717,459.299,958,443.717,1007,504.155]],["content/782",[6,1.972,69,4.827,70,5.906,107,3.798,149,6.414,181,4.12,182,4.546,191,6.124,201,5.972,205,4.018,220,7.202,222,5.555,223,7.951,240,4.549,293,4.328,314,5.485,334,4.458,381,4.99,385,5.664,490,6.144,543,5.726,579,9.998,673,8.067,694,10.126,711,6.562,716,5.583,717,10.909,994,8.317,1007,10.707,1127,9.737]],["keywords/782",[]],["title/783",[8,630.307,256,559.973,264,345.078,1134,673.714]],["content/783",[4,2.186,8,7.039,18,4.44,22,4.827,63,2.915,70,4.486,107,4.518,149,9.442,181,3.542,182,4.208,186,3.929,200,4.959,205,4.779,222,3.625,249,7.524,264,5.333,272,5.667,288,9.084,301,5.446,311,7.88,330,3.196,401,5.954,444,9.302,465,9.894,490,5.281,717,6.364,736,4.978,786,7.88,875,7.039,894,5.094,1058,9.526,1109,6.884,1127,11.583,1158,8.169,1166,8.717,1332,7.149,1427,7.093,1726,7.149,1931,8.37,2141,8.479,2489,9.676,2532,11.14,2724,9.894,3659,11.14,3661,11.14]],["keywords/783",[]],["title/784",[44,436.57,307,904.237]],["content/784",[5,2.681,6,1.969,18,5.86,33,1.606,40,7.763,46,5.678,61,6.68,65,4.071,87,4.316,103,5.535,107,3.051,125,4.915,149,5.152,180,5.714,181,3.309,182,3.5,184,4.41,186,5.185,198,3.318,200,4.634,205,5.742,206,6.244,220,4.391,222,4.783,223,6.387,240,2.773,246,3.924,249,7.03,264,5.086,273,2.724,307,7.163,322,4.566,330,2.986,357,8.858,371,6.479,373,3.203,425,4.468,440,8.114,466,6.479,490,4.935,520,5.622,534,8.858,589,15.464,590,5.296,694,6.174,711,5.271,716,4.484,717,5.947,729,10.869,894,4.76,912,6.479,1309,5.843,1339,5.563,1649,9.736,2120,11.485,3089,11.485,3919,9.041]],["keywords/784",[]],["title/785",[44,436.57,1017,1167.014]],["content/785",[4,1.343,5,2.798,6,2.18,18,6.952,33,2.337,53,5.475,70,4.408,88,6.198,99,4.566,107,3.184,110,5.718,125,5.129,144,11.108,149,5.376,176,4.73,181,3.454,182,2.586,185,3.131,186,5.343,201,5.006,220,4.582,230,5.71,240,2.894,252,7.009,254,7.705,264,5.24,281,5.026,301,2.954,322,4.765,330,3.116,371,6.762,398,4.854,413,9.361,451,7.966,455,6.206,482,9.881,520,5.867,544,7.765,717,6.206,736,4.854,889,8.764,943,6.812,1017,9.648,1065,7.625,1112,7.705,1204,6.665,1251,9.435,1628,7.625,1970,9.244,2616,11.343,3158,10.479,4594,12.962,4595,10.863]],["keywords/785",[]],["title/786",[191,471.331,879,610.406]],["content/786",[5,4.062,6,1.822,25,1.535,107,5.67,181,5.013,185,5.576,191,5.656,271,6.674,273,4.126,331,12.165,703,7.02,857,9.675,879,7.325,1761,17.398,4596,18.815,4597,18.815,4598,18.815]],["keywords/786",[]],["title/787",[6,115.243,572,425.189,1021,640.194,1614,607.783]],["content/787",[]],["keywords/787",[]],["title/788",[1040,1188.656]],["content/788",[154,7.918,224,7.587,590,9.183,1038,13.395,1040,13.739]],["keywords/788",[]],["title/789",[111,510.637,224,410.309,1040,863.219]],["content/789",[4,1.413,23,4.235,32,3.963,34,4.287,35,3.912,111,5.147,151,7.441,161,5.915,172,7.867,198,3.644,224,5.677,572,6.689,580,6.275,765,6.137,768,13.778,1040,14.68,1116,6.78,1437,11.028,1614,6.965,2121,11.508,2495,11.791,4599,11.432,4600,16.386,4601,13.641,4602,12.613,4603,11.937,4604,13.641]],["keywords/789",[]],["title/790",[427,576.359,901,598.491]],["content/790",[154,7.757,224,7.497,427,7.757,590,8.997,901,8.055,1038,13.124,1278,10.421]],["keywords/790",[]],["title/791",[111,449.151,224,360.904,427,437.561,901,454.363]],["content/791",[4,1.377,23,4.316,32,4.817,34,5.471,35,3.812,151,5.675,161,5.811,193,5.326,765,6.029,768,13.003,806,8.86,901,7.021,1437,10.747,2121,11.304,2495,11.583,4599,11.14,4600,16.097,4602,12.292,4603,11.632,4605,17.009,4606,13.292,4607,13.292,4608,18.394,4609,13.292]],["keywords/791",[]],["title/792",[901,598.491,3367,755.218]],["content/792",[6,1.444,23,4.17,32,4.735,34,5.123,151,4.6,154,5.481,161,4.71,224,6.03,590,6.357,630,5.481,765,4.887,768,11.361,771,5.974,806,7.182,901,5.691,1038,9.273,1278,7.363,2121,9.163,2495,9.389,3367,10.778,3369,13.787,3372,12.495,4480,11.098,4599,12.495,4600,17.403,4605,13.787,4610,13.048,4611,13.787,4612,14.91,4613,14.91]],["keywords/792",[]],["title/793",[25,104.266,152,312.153]],["content/793",[2,4.404,23,3.754,25,0.8,29,3.123,33,0.973,37,2.52,45,3.411,46,2.437,51,3.592,52,4.136,58,2.757,63,3.292,84,4.017,94,4.682,99,4.236,100,4.453,131,3.818,142,7.074,152,2.394,184,5.191,185,1.819,198,2.011,202,2.316,208,4.115,225,2.699,239,3.844,240,1.681,241,2.798,242,4.15,255,3.068,260,6.227,273,2.637,275,4.999,277,4.342,284,2.67,294,6.086,300,4.15,315,2.452,355,2.967,362,5.09,370,4.74,391,3.792,406,6.588,408,6.61,414,2.943,435,5.501,480,2.708,501,3.871,504,5.331,506,6.519,508,4.74,514,4.31,556,2.689,561,3.542,563,3.225,628,4.261,652,3.604,670,9.616,672,4.682,742,3.407,765,3.941,843,3.407,874,5.331,878,7.885,883,4.082,886,2.689,1007,3.956,1054,5.268,1055,3.742,1074,4.115,1077,4.261,1102,5.603,1103,5.268,1133,6.309,1276,3.986,1278,3.718,1327,4.017,1329,3.818,1360,4.682,1361,4.049,1377,3.521,1501,4.301,1598,5.48,1614,3.844,1766,5.011,1792,5.175,1814,4.74,1843,4.802,1872,4.049,1875,6.588,2018,5.901,2023,3.671,2111,5.011,2112,4.937,2253,3.562,2376,5.603,2377,5.48,2492,4.574,2900,5.011,3367,3.626,3656,6.309,3758,4.682,4038,5.603,4040,5.011,4112,6.086,4165,5.268,4279,6.961,4512,6.309,4614,6.961,4615,6.588,4616,5.48,4617,9.706,4618,5.369,4619,5.268,4620,5.742,4621,7.528,4622,7.528,4623,7.528,4624,7.528,4625,7.528,4626,7.528,4627,7.528,4628,7.528,4629,7.528,4630,7.528,4631,7.528]],["keywords/793",[]],["title/794",[25,70.65,33,137.374,63,232.977,414,415.272,1875,929.703]],["content/794",[]],["keywords/794",[]],["title/795",[4,140.222,785,412.676,792,780.453]],["content/795",[4,1.818,23,3.99,34,5.06,69,5.478,152,4.4,186,5.187,230,5.543,373,4.525,381,5.662,487,11.049,696,10.913,736,6.571,785,7.379,792,10.12,1089,10.12,2381,12.773,4632,16.226,4633,17.547,4634,17.547,4635,17.547]],["keywords/795",[]],["title/796",[60,277.201,62,318.282,273,162.935,519,399.61,569,364.591,685,540.846,785,226.576,1147,409.573,4636,650.198]],["content/796",[4,0.753,19,2.178,23,4.318,25,0.483,32,3.103,33,0.939,60,7.336,62,7.196,63,1.593,65,2.381,70,3.575,111,6.338,152,1.447,155,2.166,164,4.604,171,1.897,177,3.736,193,2.911,272,3.098,273,4.714,301,4.195,322,4.296,373,1.874,514,2.604,515,3.588,519,3.908,543,2.691,569,7.194,600,7.885,630,4.296,685,15.649,703,5.47,737,6.611,785,6.556,804,7.105,861,3.379,865,4.765,886,2.595,890,5.182,891,6.442,917,14.077,942,4.365,944,9.422,1029,5.289,1075,5.408,1152,7.779,1444,6.937,1571,4.913,2568,10.259,2720,4.575,2927,4.575,3770,8.699,3778,7.022,3951,5.084,4637,7.266,4638,13.557,4639,6.719,4640,11.687,4641,7.266,4642,7.266,4643,5.695,4644,11.687,4645,7.266,4646,6.719]],["keywords/796",[]],["title/797",[60,504.882,92,576.973,171,353.369]],["content/797",[4,1.639,14,5.945,22,4.151,23,4.179,32,3.347,33,2.045,60,9.458,63,3.468,85,7.618,273,4.534,329,7.048,364,8.575,484,8.871,804,7.665,974,10.088,1086,10.226,1571,10.693,1983,15.051,2079,11.812,2303,8.506,3097,13.84,4636,13.84,4647,15.815,4648,15.815,4649,15.815]],["keywords/797",[]],["title/798",[60,396.364,65,348.193,737,357.175,1697,601.311,2321,668.979]],["content/798",[4,1.59,6,1.773,19,3.096,20,4.626,22,4.027,23,4.008,25,0.687,32,2.185,45,2.93,60,8.769,62,4.424,63,4.016,65,3.385,70,2.519,85,4.974,88,3.541,103,4.602,114,3.002,122,4.533,134,5.845,152,2.056,164,3.243,177,5.31,186,3.052,187,6.347,196,3.214,203,5.237,224,3.131,273,4.445,373,3.958,381,3.333,398,3.867,425,3.715,426,9.544,484,8.608,512,4.227,514,5.501,537,3.385,581,4.383,642,4.626,737,6.156,800,7.227,804,5.005,975,12.986,1540,6.423,1547,6.874,1610,6.423,1641,7.517,1667,8.655,1697,5.845,1724,6.677,1981,6.874,2228,7.877,2321,9.663,2502,5.133,3174,6.983,4650,9.037,4651,21.734,4652,10.738,4653,9.55,4654,9.55,4655,9.037]],["keywords/798",[]],["title/799",[149,440.672,186,314.016,273,232.977,718,431.12,4212,929.703]],["content/799",[4,1.723,14,4.333,19,3.455,23,4.114,25,1.106,32,4.129,34,3.808,44,4.631,88,3.952,155,3.436,164,5.223,166,9.017,171,3.01,186,4.916,191,5,222,3.143,273,5.175,301,2.627,373,2.973,381,3.72,382,5.927,453,10.088,487,7.259,490,4.58,504,5.111,538,5.73,543,8.388,589,8.066,600,6.2,696,7.169,711,4.892,805,7.559,974,10.609,981,6.585,982,6.151,1155,7.794,1174,10.105,1204,5.927,1268,5.97,1332,6.2,3515,9.661,3597,14.555,3680,8.793,4212,10.088,4656,16.632,4657,11.527,4658,11.527,4659,16.632,4660,16.632,4661,11.527,4662,9.661]],["keywords/799",[]],["title/800",[5,229.359,6,102.858,152,211.512,1160,538.737,3367,511.73]],["content/800",[2,4.022,4,1.138,6,1.554,7,5.012,15,6.395,23,3.82,25,1.262,32,3.398,33,1.42,34,3.676,49,5.166,62,4.704,63,2.408,69,3.428,82,7.684,83,7.993,86,4.437,149,4.555,152,4.772,154,4.036,186,3.246,187,6.748,215,5.771,217,5.735,228,7.012,249,6.215,264,3.183,273,3.521,278,2.956,279,6.527,301,3.659,322,5.902,364,5.953,378,6.597,381,5.181,382,5.646,484,9.006,496,4.437,507,6.829,520,4.97,561,5.166,577,6.829,630,4.036,650,9.259,673,5.728,695,5.423,716,3.964,737,3.692,771,4.399,918,6.215,1030,5.388,1388,7.004,1749,8.376,1983,7.993,2049,13.5,2239,7.993,2459,8.877,2876,9.609,3367,9.142,3876,8.877,4663,8.877,4664,10.154,4665,10.98,4666,10.98,4667,13.455]],["keywords/800",[]],["title/801",[12,593.444,273,261.029,2253,563.222]],["content/801",[4,1.696,6,1.866,7,3.52,9,5.16,12,6.72,25,1.089,33,2.492,37,1.893,45,3.199,51,2.699,60,4.208,63,3.59,70,4.7,136,6.504,182,3.266,189,5.758,200,4.208,222,3.075,256,5.305,265,4.057,273,3.59,278,3.036,279,6.704,289,8.964,322,4.146,379,5.16,385,4.131,391,5.68,396,3.685,414,4.408,439,7.892,499,5.927,512,4.616,514,4.043,525,5.927,540,8.394,544,6.108,545,3.124,607,6.114,717,5.4,732,3.946,785,5.877,893,4.742,909,8.84,910,6.587,914,5.305,918,6.383,920,5.972,937,4.925,943,5.927,950,7.506,983,6.704,984,6.931,1008,10.428,1028,11.114,1049,6.931,1141,7.396,1157,6.704,1220,6.442,1315,7.101,1388,10.443,2126,7.506,2252,6.852,2253,5.336,2254,12.71,2492,6.852,3240,10.428,3719,10.428]],["keywords/801",[]],["title/802",[4,123.338,45,337.67,517,645.355,955,686.479]],["content/802",[4,1.188,6,1.11,12,5.776,25,0.762,33,2.515,45,5.518,62,4.911,63,3.633,76,6.814,103,5.108,125,4.536,136,6.611,149,4.755,151,3.537,182,2.287,189,5.854,222,4.517,241,4.261,278,3.086,279,9.847,293,3.209,301,4.433,322,4.214,391,5.774,393,6.166,395,6.965,400,5.162,414,4.481,424,7.412,481,6.319,501,5.895,515,8.181,517,10.546,537,3.757,545,3.175,551,5.217,627,8.986,673,5.98,716,7.022,718,4.652,732,4.011,785,6.498,787,5.556,809,5.661,866,6.744,899,8.345,907,7.045,910,4.613,921,5.937,936,5.698,943,6.025,947,7.881,963,6.398,984,7.045,986,7.881,993,5.522,1010,9.268,1045,8.744,1049,10.181,1066,6.117,1190,8.986,1207,6.611,1238,8.022,1384,11.389,1547,7.63,4668,11.464,4669,11.464,4670,11.464,4671,11.464]],["keywords/802",[]],["title/803",[45,444.782,198,418.827]],["content/803",[]],["keywords/803",[]],["title/804",[25,123.921]],["content/804",[25,1.635,45,6.973,124,7.823,228,9.124,557,8.3,772,8.665,826,11.516]],["keywords/804",[]],["title/805",[534,1328.96]],["content/805",[14,6.826,151,6.967,174,10.794,188,10.186,193,7.276,534,18.338,539,8.446,572,6.487,580,8.353,622,7.369,716,8.152,772,7.532,861,8.446,1074,9.926,1114,9.272,1604,11.741,1827,10.186,2356,14.681,3767,13.218]],["keywords/805",[]],["title/806",[2058,1188.656]],["content/806",[4,1.31,6,1.224,14,4.754,23,3.952,25,0.841,32,2.676,45,5.04,53,5.342,125,5.004,151,3.902,154,6.531,171,3.302,172,7.294,174,7.518,188,9.966,193,7.118,224,3.835,301,2.882,334,3.646,467,8.295,515,6.246,517,12.077,534,9.019,569,6.206,572,4.518,622,5.132,642,5.665,716,4.566,765,4.145,843,5.724,861,5.882,901,4.828,1040,8.067,1086,8.177,1108,8.551,1169,5.786,1272,9.206,1276,6.697,1747,8.551,1783,8.694,2058,14.209,2098,7.964,2121,7.772,2339,11.695,2356,10.225,2495,7.964,3767,9.206,3778,10.675,3781,8.067,4672,12.647,4673,12.647]],["keywords/806",[]],["title/807",[2376,1386.998]],["content/807",[]],["keywords/807",[]],["title/808",[765,513.868,3494,1141.31]],["content/808",[4,1.201,23,4.246,32,3.534,35,6.142,158,10.515,201,4.477,224,5.063,228,5.062,246,3.662,271,5.923,557,6.635,572,4.141,630,8.692,723,7.837,737,3.897,758,7.222,767,6.622,770,8.246,772,8.119,773,9.317,1021,6.234,1196,10.95,1278,5.724,1356,7.394,1417,6.336,1437,9.371,1479,9.367,2004,8.842,2021,9.714,2106,13.091,2512,9.714,2602,10.144,3494,15.59,4674,11.591,4675,10.144,4676,11.591,4677,11.591]],["keywords/808",[]],["title/809",[2376,1386.998]],["content/809",[]],["keywords/809",[]],["title/810",[319,698.67,901,598.491]],["content/810",[4,1.614,23,3.702,32,4.333,34,5.561,35,5.871,152,3.102,161,4.921,164,4.892,349,10.073,549,8.187,656,9.261,737,5.238,806,7.504,888,8.127,901,5.947,1116,7.743,1196,10.216,1278,7.693,2021,13.056,2376,11.596,2768,14.326,2769,11.883,2953,10.216,4442,10.073,4675,20.012,4678,18.932,4679,13.633,4680,14.406,4681,15.579,4682,14.406,4683,14.406]],["keywords/810",[]],["title/811",[319,698.67,4684,1267.615]],["content/811",[23,3.845,32,4.333,34,5.561,35,5.871,46,5.043,111,5.878,164,4.892,375,8.127,557,6.19,806,7.504,1278,7.693,1961,9.261,1986,10.073,2376,11.596,2396,13.056,2502,7.743,2768,14.326,2769,11.883,4199,13.633,4222,12.595,4675,20.012,4678,18.932,4679,13.633,4680,14.406,4682,14.406,4683,14.406,4684,12.595,4685,13.633,4686,15.579,4687,15.579]],["keywords/811",[]],["title/812",[19,405.656,1196,887.426,1986,874.956]],["content/812",[23,4.303,32,4.249,34,4.597,35,4.338,164,4.75,271,5.366,572,7.172,630,8.826,758,6.542,765,4.958,772,8.328,773,7.912,1278,7.47,2106,11.58,2495,9.525,3174,10.227,3494,11.011,4688,15.126,4689,20.078,4690,15.126,4691,15.126]],["keywords/812",[]],["title/813",[19,469.995,1479,879.453]],["content/813",[23,4.279,32,4.509,34,5.255,35,5.346,164,4.256,193,5.43,271,4.807,572,4.841,630,8.437,758,5.861,765,4.442,772,5.621,773,7.346,787,6.568,806,6.528,1356,8.645,1479,7.601,2106,12.289,2495,8.534,2602,18.647,2768,9.483,2769,10.337,3174,9.163,3494,9.865,4663,10.957,4679,11.859,4692,13.552,4693,13.552,4694,13.552,4695,13.552,4696,13.552]],["keywords/813",[]],["title/814",[4697,1723.121]],["content/814",[]],["keywords/814",[]],["title/815",[561,636.63,571,887.426,1704,852.135]],["content/815",[2,6.217,4,1.759,16,8.729,25,1.129,33,2.195,40,6.48,54,7.378,67,6.83,122,7.451,151,5.237,186,5.017,187,10.432,191,6.506,198,4.535,241,6.31,246,5.363,273,4.746,373,4.378,561,10.182,571,11.132,590,9.228,1656,11.299,1704,13.628,1783,11.67,2443,13.306,3770,12.635,3784,14.855]],["keywords/815",[]],["title/816",[54,681.416,1704,987.288]],["content/816",[4,1.639,6,1.531,54,6.873,61,11.121,122,6.942,152,3.149,191,4.754,228,6.907,273,5.703,301,3.604,360,9.035,361,11.598,385,5.793,493,9.836,538,7.861,561,7.44,580,7.275,775,7.572,886,5.649,955,9.121,965,12.859,1049,9.72,1134,8.951,1143,10.226,1259,12.786,1697,8.951,1704,9.959,4698,20.159,4699,15.815,4700,15.815,4701,15.815]],["keywords/816",[]],["title/817",[273,343.83,1196,1028.176]],["content/817",[4,1.759,7,5.299,46,5.495,70,4.14,72,8.079,88,5.82,125,6.717,198,4.535,204,8.032,246,5.363,273,4.746,329,7.564,361,9.522,375,8.855,381,5.478,382,8.729,427,6.24,452,10.011,455,8.128,543,8.015,1196,11.132,1254,11.478,1332,9.13,1552,11.67,4165,15.145,4698,18.94,4702,16.975]],["keywords/817",[]],["title/818",[4,140.222,241,503.001,1704,852.135]],["content/818",[7,4.493,23,4.011,32,3.046,34,3.296,54,6.256,107,3.536,111,5.432,151,6.782,173,8.557,174,8.557,198,3.845,223,7.402,224,4.364,241,7.22,246,4.547,272,6.137,427,5.292,561,9.138,571,9.44,630,5.292,765,4.718,1074,7.869,1192,8.953,1276,10.285,1638,11.283,1704,13.843,2106,8.302,2121,8.846,2444,8.745,2495,9.064,2886,9.896,2953,9.44,3880,12.064,4165,10.073,4697,13.311,4698,12.597,4703,14.395,4704,14.395,4705,17.961]],["keywords/818",[]],["title/819",[273,343.83,514,562.039]],["content/819",[]],["keywords/819",[]],["title/820",[581,790.783]],["content/820",[4,1.997,6,1.092,8,5.972,19,3.381,20,5.051,22,4.296,23,4.351,25,1.089,32,2.387,34,2.582,37,2.748,52,3.107,69,3.52,88,3.867,152,2.245,164,5.141,193,4.518,273,4.924,301,2.57,408,3.731,514,5.868,765,3.696,771,6.559,804,7.934,975,8.805,984,6.931,1398,7.101,1526,8.949,1614,5.758,1641,8.209,4028,9.631,4515,7.014,4706,16.37,4707,11.278,4708,10.428,4709,11.278,4710,11.278,4711,16.37,4712,11.278,4713,11.278,4714,11.278]],["keywords/820",[]],["title/821",[22,411.473,869,1028.176]],["content/821",[4,2.422,5,3.52,6,1.086,7,3.502,8,5.94,19,4.888,20,5.024,22,2.944,51,2.684,60,8.36,62,4.805,63,2.46,65,3.676,70,3.977,85,9.254,97,5.725,122,7.157,152,2.233,171,4.258,182,2.238,186,5.679,187,11.807,203,9.743,222,4.446,273,4.213,279,6.668,301,5.107,304,5.65,373,5.439,408,5.395,426,10.142,484,6.292,504,4.973,514,7.561,543,6.039,642,7.304,694,5.575,737,3.771,761,8.165,911,7.155,975,10.333,1219,5.403,1220,9.315,1395,12.137,1981,7.466,2088,8,2131,6.74,2136,7.849,2344,9.069,4715,11.217,4716,11.217]],["keywords/821",[]],["title/822",[1,331.087,23,113.237,183,234.015,241,276.168,284,263.555,381,239.762,722,374.225,826,409.573,4717,742.988]],["content/822",[]],["keywords/822",[]],["title/823",[25,104.266,883,850.067]],["content/823",[]],["keywords/823",[]],["title/824",[105,850.067,648,987.288]],["content/824",[3,6.487,4,1.461,8,7.468,19,4.227,23,2.149,25,1.274,40,5.383,45,4.001,49,9.012,58,5.165,99,4.968,113,6.559,152,3.814,188,7.91,196,4.389,203,7.151,250,7.525,251,7.841,257,6.317,297,4.001,398,5.281,407,6.877,515,6.964,523,7.585,674,7.016,706,9.781,763,7.201,853,8.056,881,10.265,883,7.646,884,8.213,885,10.265,886,5.037,888,7.357,936,7.01,993,6.793,996,6.383,1062,10.497,1081,8.667,1158,8.667,1168,9.248,1326,8.667,1598,10.265,2123,11.054,2444,8.568,3742,15.487,3823,11.054,4718,14.102,4719,14.102,4720,14.102,4721,14.102]],["keywords/824",[]],["title/825",[284,480.028,569,664.05,828,1032.224]],["content/825",[4,1.849,19,4.452,22,6.08,23,4.15,24,5.127,25,1.186,32,2.092,33,1.278,34,2.263,35,2.835,37,1.66,99,3.483,108,5.157,111,3.73,124,3.702,154,3.634,158,6.225,164,3.104,171,3.879,188,5.545,241,3.675,257,10.676,264,2.866,273,2.168,284,7.036,349,6.392,454,6.392,467,3.495,572,3.531,776,4.705,804,4.791,815,12.998,819,6.918,820,6.796,821,7.993,824,6.918,825,6.684,826,10.935,828,11.33,834,12.998,844,16.498,845,6.483,846,9.142,873,5.94,1061,11.096,1093,7.993,1300,4.548,1308,5.596,2002,5.317,2995,7.749,3323,8.285,3651,9.142,3767,7.196,3987,8.651,4722,9.886,4723,9.886,4724,14.853,4725,9.886,4726,9.886,4727,9.886,4728,9.886,4729,9.886,4730,9.886,4731,9.886,4732,9.886,4733,9.886]],["keywords/825",[]],["title/826",[87,413.633,241,442.435,284,422.228,572,425.189]],["content/826",[6,0.953,18,4.944,19,2.949,23,4.148,25,0.984,32,5.037,88,3.374,92,4.195,116,4.063,152,4.225,171,3.865,183,4.662,185,2.377,186,2.908,193,3.942,241,5.501,249,8.377,272,7.585,273,3.246,284,5.25,301,4.055,381,3.175,427,3.617,543,5.481,572,5.287,736,3.685,737,5.981,809,4.859,826,14.491,847,7.955,848,11.602,849,11.602,1276,5.21,1278,4.859,1646,15.396,2669,10.007,2927,9.32,3308,7.955,3564,7.017,4165,6.885,4734,9.839,4735,9.839,4736,9.839,4737,9.839,4738,9.098,4739,9.839,4740,9.839,4741,7.505,4742,9.839,4743,9.839]],["keywords/826",[]],["title/827",[99,656.442]],["content/827",[]],["keywords/827",[]],["title/828",[276,952.558,1631,887.422]],["content/828",[4,1.481,18,6.458,25,1.457,58,5.236,63,3.135,76,8.498,79,7.57,99,8.267,121,8.59,171,3.733,183,4.503,186,4.226,204,6.764,250,7.629,255,7.879,284,6.858,319,6.37,323,7.881,330,3.437,360,8.167,381,4.613,421,7.404,517,11.877,527,7.351,664,7.153,722,7.2,734,7.2,740,6.649,954,7.513,960,11.558,967,10.406,983,11.492,1061,12.024,1124,9.243,1161,11.206,1167,9.828,1316,13.219,1407,10.904,1636,10.004,1827,8.019,2979,9.666,3859,10.641,4744,13.219]],["keywords/828",[]],["title/829",[581,790.783]],["content/829",[4,0.994,6,0.694,18,1.36,21,2.348,22,4.373,23,4.241,24,2.473,25,1.042,28,1.761,29,3.98,32,4.135,33,2.527,34,2.197,35,2.752,37,1.203,45,1.155,50,2.244,54,1.769,58,1.491,67,2.883,87,2.49,88,1.396,99,6.883,108,2.124,113,1.894,149,6.024,151,1.256,152,1.426,158,2.563,161,5.774,164,4.561,166,5.203,167,3.114,168,8.873,171,1.063,182,2.306,184,1.554,186,1.203,191,2.154,193,1.631,198,3.087,206,1.449,210,2.71,224,4.403,240,0.909,255,1.659,264,2.077,273,4.155,275,1.356,278,1.096,280,2.597,284,1.444,293,3.687,319,1.814,323,2.244,330,2.307,334,2.066,341,4.259,355,3.781,360,2.326,361,2.283,364,3.885,368,2.563,399,2.225,425,4.157,427,2.634,468,1.862,490,2.847,496,1.645,516,2.093,517,8.497,533,2.304,538,2.023,539,3.333,543,4.877,545,2.658,557,1.618,572,1.454,582,2.283,735,3.226,747,2.903,751,2.502,757,2.632,765,2.348,768,6.602,769,2.963,776,3.41,777,1.814,778,5.333,780,2.156,782,4.215,786,3.069,804,3.472,818,5.333,819,2.849,820,2.799,825,2.753,886,1.454,894,1.56,910,2.883,912,2.124,915,5.333,983,8.633,1040,2.597,1049,4.403,1061,10.898,1114,2.079,1141,4.698,1143,2.632,1160,2.064,1170,2.079,1220,2.326,1251,2.963,1268,2.108,1300,1.873,1308,2.304,1313,2.42,1320,2.19,1444,1.926,1716,2.903,1914,2.903,1965,5.014,1991,3.191,1993,2.753,2136,2.849,2913,3.03,2950,3.563,3264,3.563,3265,6.27,3271,3.764,3304,6.005,3305,6.005,3306,3.412,3323,9.685,3525,3.764,3726,2.597,4436,6.27,4442,2.632,4512,3.412,4745,4.071,4746,4.071,4747,4.071,4748,4.071,4749,4.071,4750,4.071,4751,4.071,4752,4.071,4753,4.071,4754,4.071,4755,4.071,4756,4.071,4757,4.071,4758,7.165,4759,4.071,4760,4.071,4761,6.625,4762,4.071,4763,4.071,4764,4.071,4765,4.071]],["keywords/829",[]],["title/830",[58,495.646,99,476.718,394,686.235]],["content/830",[4,1.717,33,2.756,37,2.782,45,4.701,46,5.364,51,3.965,58,7.805,64,11.204,65,5.431,88,5.681,92,9.086,99,8.761,195,8.774,198,4.426,255,8.685,293,4.638,308,5.364,490,6.584,517,8.984,636,9.058,664,8.29,723,11.204,782,9.748,894,6.35,1058,8.581,1160,8.403,1663,9.213,4766,14.501]],["keywords/830",[]],["title/831",[826,1027.214]],["content/831",[4,1.492,25,1.292,46,4.659,65,4.718,99,7.744,114,4.185,152,2.866,179,7.155,183,4.534,186,4.255,193,5.767,222,3.925,241,5.35,250,7.681,255,7.916,265,5.178,284,8.982,297,4.084,323,10.707,329,6.414,381,4.645,395,8.167,420,8.745,515,7.109,517,7.804,551,6.55,557,5.719,563,6.166,622,7.882,722,7.25,723,9.733,732,5.036,826,10.707,861,6.695,869,9.44,954,7.565,1058,7.455,1077,8.147,1124,9.307,3041,11.638,4767,12.597]],["keywords/831",[]],["title/832",[191,471.331,879,610.406]],["content/832",[3,7.331,6,1.543,19,6.229,25,1.06,33,2.061,37,2.675,49,7.497,58,5.837,65,5.223,87,5.538,88,5.464,92,6.795,99,8.145,113,9.665,182,3.18,195,8.439,199,7.63,255,6.495,276,9.682,319,7.101,402,9.191,539,7.412,581,6.763,723,10.775,747,11.365,782,9.375,854,12.492,1058,8.253,1192,9.911,1663,8.861,1984,10.166,2356,12.884,3264,13.946,3265,13.946,4436,13.946,4761,14.736]],["keywords/832",[]],["title/833",[33,174.985,58,495.646,99,476.718]],["content/833",[]],["keywords/833",[]],["title/834",[33,153.915,58,435.966,99,419.316,437,467.161]],["content/834",[4,2.64,25,1.31,33,2.548,58,7.217,67,7.928,69,6.151,73,10.061,99,6.942,179,9.794,437,7.734,452,9.114,857,10.132,1147,10.862]],["keywords/834",[]],["title/835",[104,1259.934]],["content/835",[4,1.132,5,3.453,6,1.548,7,3.41,12,3.809,23,3.379,32,2.312,34,4.332,37,1.834,44,3.041,46,3.536,51,2.614,58,5.858,65,3.58,70,3.9,73,5.577,77,8.831,87,5.558,99,5.634,104,15.661,113,5.081,114,5.501,154,4.015,156,5.784,171,2.852,186,3.229,189,5.577,202,3.36,215,8.405,222,2.978,230,3.451,232,6.493,251,6.073,265,3.929,267,9.154,273,3.507,275,3.637,287,5.429,297,3.099,308,3.536,311,4.679,322,4.015,334,3.149,364,5.922,366,5.261,373,2.817,381,5.161,401,4.892,437,4.287,440,5.052,447,6.967,466,5.698,499,8.405,527,5.617,549,8.405,556,5.713,557,4.34,674,4.001,694,5.429,785,3.331,920,5.784,969,7.385,996,7.239,1109,5.657,1548,6.967,2094,8.13,2098,6.878,2861,8.562,2868,9.559,3773,10.1,4768,10.923,4769,10.923,4770,10.923,4771,10.923]],["keywords/835",[]],["title/836",[100,690.067]],["content/836",[4,1.758,5,1.344,6,2.033,9,2.847,12,2.17,14,3.872,16,3.2,20,2.788,22,2.703,23,2.334,28,2.692,29,4.272,32,1.317,33,1.704,37,1.729,40,2.376,44,1.733,45,1.766,46,2.015,50,3.431,53,2.629,58,7.69,63,1.365,65,2.04,69,1.943,73,3.178,82,4.355,84,3.321,87,2.163,98,2.666,99,7.132,100,8.822,107,3.237,110,5.812,113,2.895,114,4.452,125,2.463,152,1.239,176,3.759,181,1.658,182,2.055,183,3.244,184,2.234,185,1.503,190,7.164,198,2.751,202,4.053,205,1.617,220,2.2,222,2.809,241,3.828,252,3.994,264,2.986,273,3.359,274,4.024,278,1.675,284,2.208,293,1.742,301,2.347,304,3.135,310,2.817,311,4.412,314,4.674,315,3.355,319,2.773,322,3.786,330,1.496,334,4.416,355,2.453,364,3.374,372,4.024,373,1.605,375,3.247,379,4.712,381,2.008,386,4.53,387,3.625,389,3.2,393,3.347,398,3.857,400,2.802,409,3.97,416,4.142,417,5.933,435,4.712,437,5.171,479,3.739,483,5.54,484,3.491,496,4.162,515,5.087,529,5.83,533,3.523,536,2.134,537,3.376,544,5.714,545,2.853,548,3.919,563,2.666,577,3.871,613,2.192,614,2.692,634,4.439,660,3.491,693,2.788,695,3.074,698,4.024,705,3.625,716,2.247,729,5.446,737,2.092,765,2.04,785,3.141,860,3.781,879,2.423,894,2.385,905,3.7,910,2.504,943,3.271,984,3.825,989,4.439,1021,3.347,1066,3.321,1378,8.195,1631,3.523,1636,4.355,1650,3.7,1697,3.523,1874,5.032,1940,5.032,2467,5.216,2502,3.093,3223,4.632,3808,5.755,3809,5.755,4772,6.224,4773,5.755,4774,6.224,4775,6.224,4776,6.224,4777,6.224,4778,6.224]],["keywords/836",[]],["title/837",[0,1010.306]],["content/837",[0,13.708,1,10.267,4,2.006,5,3.092,7,2.192,14,2.639,15,4.089,18,2.345,19,2.105,22,5.349,23,2.509,28,3.036,29,4.715,32,2.406,33,1.852,37,1.179,45,1.992,54,3.051,58,8.602,63,1.54,72,3.342,73,3.585,75,7.35,79,3.718,99,8.117,100,7.169,104,7.686,107,1.724,114,2.041,122,3.081,127,6.492,128,6.492,131,3.56,152,3.278,158,4.421,162,2.482,182,1.401,184,3.922,191,2.111,198,1.875,202,2.16,204,5.379,205,1.824,206,2.499,215,3.69,239,9.236,240,2.538,241,2.61,243,3.23,272,4.847,273,2.493,301,2.591,308,2.273,319,3.129,329,3.129,334,2.024,355,2.767,376,6.492,386,5.111,390,5.226,395,2.952,411,6.144,414,2.744,427,2.581,448,5.676,466,5.93,467,2.482,487,4.421,499,3.69,507,4.366,520,3.178,537,2.301,542,4.478,543,2.6,557,2.79,582,3.938,620,6.492,637,4.011,645,6.688,862,4.421,879,2.733,894,2.69,944,3.938,1077,6.434,1134,3.974,1378,8.909,1548,4.478,1631,3.974,1711,4.604,1783,4.827,2172,4.747,2344,5.676,3223,5.226,3333,9.191,3563,4.827,3748,5.503,3767,5.111,3830,5.226,4779,7.021,4780,7.021,4781,11.368,4782,7.021,4783,7.021,4784,7.021,4785,7.021,4786,7.021,4787,7.021,4788,7.021]],["keywords/837",[]],["title/838",[25,123.921]],["content/838",[2,3.82,4,1.984,5,2.251,6,1.497,7,2.456,9,2.073,14,2.958,18,2.628,19,1.358,22,3.268,23,3.938,24,2.716,25,1.471,28,1.96,29,3.264,32,2.207,33,1.61,34,3.228,35,4.76,37,1.751,44,1.262,45,2.958,46,1.467,53,1.914,58,6.746,61,2.437,63,1.726,69,1.415,73,2.314,85,2.183,89,2.853,97,1.591,99,6.488,100,6.82,107,3.059,108,2.364,111,1.71,113,2.108,114,2.287,122,1.989,152,1.567,155,1.351,164,1.423,171,2.055,176,1.654,180,3.62,181,1.207,182,2.081,183,2.478,184,1.706,185,1.095,186,3.082,190,2.12,191,1.362,192,2.645,196,1.41,198,2.102,199,2.17,201,1.75,202,1.394,204,2.144,222,1.236,224,2.386,239,2.314,242,2.498,264,1.314,271,1.607,273,3.39,284,2.791,293,1.268,297,2.958,301,1.033,311,1.941,315,3.397,319,3.506,323,2.498,330,2.507,334,1.307,373,1.169,381,1.462,385,1.66,388,2.542,394,2.298,396,1.481,398,2.947,399,2.477,401,2.03,408,4.664,414,1.771,420,2.753,421,4.075,425,1.63,440,2.096,480,2.831,514,1.624,536,1.554,537,1.485,538,2.252,541,2.21,543,2.914,544,2.936,545,1.255,553,2.03,555,2.818,556,1.619,568,2.666,571,2.972,572,1.619,600,2.437,614,1.96,630,4.578,656,2.694,659,2.084,689,2.477,693,2.03,694,2.252,722,2.282,732,1.585,736,1.697,737,2.645,742,3.562,757,2.93,758,1.96,763,5.325,765,2.579,770,2.238,771,4.178,772,1.88,773,3.101,774,2.477,775,2.17,777,2.019,787,2.196,804,3.813,805,2.972,857,2.33,894,3.015,910,1.823,932,2.062,954,2.381,975,2.437,993,2.183,1015,3.456,1030,2.224,1077,2.565,1147,2.498,1160,2.298,1197,3.171,1219,2.183,1256,2.565,1257,3.6,1268,2.347,1300,2.084,1305,3.171,1308,2.565,1313,2.694,1320,2.437,1378,6.486,1566,3.965,1613,2.519,1697,2.565,1755,3.456,1811,3.299,1821,3.016,1891,3.171,1893,3.115,2098,2.853,2106,2.613,2178,3.171,3367,2.183,3563,3.115,3778,2.723,3781,6.652,3790,3.171,3810,3.965,3811,3.965,3812,3.965,3813,2.753,3814,2.972,3816,3.965,3817,3.965,3818,6.886,3819,3.965,3990,3.373,4185,3.798,4620,3.456,4789,4.531,4790,4.531,4791,4.19,4792,4.531,4793,4.531,4794,4.19]],["keywords/838",[]],["title/839",[566,1281.072]],["content/839",[4,1.432,6,1.63,14,5.195,16,7.106,33,2.177,44,3.848,49,4.229,63,1.971,70,2.192,107,2.208,114,2.613,121,5.402,134,5.088,162,3.178,181,2.395,185,2.172,190,4.205,196,2.798,199,4.304,201,3.472,202,5.811,205,2.336,207,10.414,236,6.181,237,11.038,241,3.342,255,3.664,260,10.559,272,3.833,273,1.971,287,4.469,301,2.049,308,2.91,311,3.851,315,6.641,330,2.161,331,5.813,366,4.33,407,6.738,413,4.656,421,4.656,423,5.525,433,10.059,435,4.113,437,5.423,439,6.291,440,4.158,481,4.956,485,7.047,532,5.236,541,4.384,548,5.661,563,5.92,566,15.413,572,3.211,576,7.534,577,8.594,581,3.815,633,7.268,639,4.279,642,4.027,664,4.498,668,4.656,676,6.544,693,4.027,703,3.354,732,3.145,907,5.525,914,4.229,938,10.832,996,4.069,1000,4.835,1022,7.047,1030,4.412,1065,5.289,1109,4.656,1142,6.544,1224,5.236,1305,6.291,1395,6.692,1558,5.525,1582,6.692,1610,5.591,1863,7.047,1885,7.534,1980,7.534,1988,7.268,2114,5.895,2123,7.047,2660,12.778,2778,6.412,3020,7.867,3041,7.268,4795,8.313,4796,8.99,4797,15.565,4798,8.99,4799,8.99,4800,8.99,4801,8.99,4802,8.99,4803,8.99]],["keywords/839",[]],["title/840",[23,206.245,194,788.126,208,739.744]],["content/840",[4,1.94,5,2.945,6,1.321,33,1.764,46,4.415,58,6.858,72,6.492,73,6.965,99,6.596,107,3.351,114,3.965,176,4.978,181,5.697,182,2.722,183,4.296,184,4.061,190,6.381,194,10.905,197,9.728,198,3.644,201,5.268,202,5.76,205,4.865,207,10.322,208,11.688,220,4.822,235,8.484,236,9.378,237,8.945,238,9.223,241,5.07,248,7.396,289,6.345,297,3.87,305,13.298,311,5.843,329,6.078,366,6.57,373,3.518,423,8.383,516,7.014,641,9.545,645,11.016,698,8.819,886,6.689,1134,7.721]],["keywords/840",[]],["title/841",[935,1506.563]],["content/841",[0,3.806,5,3.555,6,1.387,16,5.845,25,0.467,37,1.179,44,3.989,54,3.051,60,2.619,63,1.54,67,2.825,70,1.712,98,3.008,100,2.6,104,4.747,107,1.724,114,5.628,131,3.56,152,1.398,166,3.806,171,2.968,181,4.819,183,2.211,184,1.522,185,3.978,197,8.107,199,3.361,207,7.896,217,5.117,220,4.018,236,4.827,237,7.455,239,7.314,242,3.87,260,7.418,272,2.993,273,4.654,277,4.049,278,1.89,284,5.841,301,3.265,315,6.305,328,5.676,330,1.688,348,3.974,355,2.767,378,4.218,393,3.776,394,3.56,414,5.599,416,4.673,417,6.45,435,5.201,454,4.539,467,4.018,481,7.896,503,3.718,527,5.845,537,3.726,544,2.619,545,1.945,556,2.508,557,2.79,561,3.303,563,4.87,566,12.435,572,5.117,581,2.979,614,6.195,630,4.179,636,3.838,650,6.556,659,3.23,674,2.571,693,3.145,695,3.467,703,4.241,742,5.145,765,6.345,806,8.712,954,3.69,960,5.676,969,4.747,993,3.382,1030,5.578,1315,4.421,1329,3.56,1536,4.913,1631,3.974,1636,4.913,1705,5.676,1728,5.226,1961,4.173,2022,5.884,2073,6.492,2083,6.492,2118,4.747,2156,6.492,2625,5.355,2848,5.884,2942,5.503,3199,6.492,3442,14.409,3746,5.884,3858,5.355,3898,6.144,3997,6.492,4154,6.492,4795,6.492,4804,6.144,4805,7.021,4806,7.021,4807,5.503,4808,7.021,4809,7.021,4810,7.021,4811,7.021,4812,7.021,4813,7.021,4814,7.021,4815,7.021]],["keywords/841",[]],["title/842",[191,471.331,879,610.406]],["content/842",[4,2.243,16,8.729,19,5.089,25,1.585,33,2.799,46,5.495,58,8.727,99,8.394,179,8.437,188,9.522,205,4.411,206,6.042,398,6.357,857,11.129,883,9.203,886,6.064,894,6.505,993,8.177,1444,8.032,3186,13.724,3820,15.697,3821,14.855,4816,16.975]],["keywords/842",[]],["title/843",[184,340.004,239,800.578]],["content/843",[]],["keywords/843",[]],["title/844",[2778,1328.96]],["content/844",[5,5.011,103,8.461,152,3.78,184,4.117,205,4.933,225,8.32,271,6.735,277,10.95,278,6.248,408,6.282,786,8.133,1220,10.846,4817,18.986,4818,18.986,4819,18.986,4820,17.557]],["keywords/844",[]],["title/845",[2651,1356.449]],["content/845",[45,5.643,184,5.548,224,6.032,239,10.158,246,6.284,297,5.643,674,7.286,703,7.422,757,12.862,2252,12.086,2542,14.481,4821,19.893]],["keywords/845",[]],["title/846",[581,790.783]],["content/846",[4,1.598,5,1.693,12,2.734,18,2.619,22,2.057,23,4.325,25,0.521,32,1.659,109,5.069,111,2.958,116,3.237,124,4.651,131,3.976,151,2.419,152,3.07,154,2.882,161,2.477,164,3.9,184,4.146,185,1.894,201,3.028,224,2.377,239,9.761,241,5.732,243,5.712,246,3.923,282,5.98,293,2.195,301,2.83,305,4.876,319,3.494,330,1.885,334,2.26,347,3.606,348,4.437,373,2.022,398,2.936,451,7.632,458,5.776,467,7.189,490,3.115,520,6.98,538,3.897,598,5.301,694,3.897,711,3.327,735,5.591,886,2.8,901,4.74,1024,5.842,1109,4.06,1114,8.956,1176,4.479,1257,3.587,1339,3.512,1343,4.66,1347,4.876,1354,7.545,1401,5.591,1580,5.835,1602,4.763,1743,9.472,1747,5.301,2381,9.04,3579,11.483,3586,7.162,3756,6.338,4051,5.141,4326,14.181,4822,4.66,4823,6.57,4824,7.249,4825,7.84,4826,7.84,4827,7.84,4828,7.84,4829,7.84,4830,7.84,4831,7.84,4832,5.591]],["keywords/846",[]],["title/847",[225,562.039,278,422.052]],["content/847",[4,2.042,45,5.59,184,5.148,193,7.895,222,5.373,225,8.51,278,5.304,674,7.217,1220,11.257,1276,10.434,2131,11.839,3560,14.344,4421,15.931]],["keywords/847",[]],["title/848",[19,469.995,1536,1097.157]],["content/848",[22,2.225,23,4.236,32,3.875,44,2.361,111,7.488,131,4.299,151,5.004,154,3.117,155,2.527,161,2.678,162,2.997,164,2.662,171,2.214,184,3.517,193,5.291,198,2.265,224,4.004,239,8.282,241,7.376,272,3.615,287,4.214,301,1.932,305,5.273,330,2.038,347,6.075,373,2.186,419,5.151,451,5.21,467,6.473,481,4.673,520,10.555,530,7.84,592,5.151,711,3.598,716,3.061,726,6.171,737,2.85,772,3.517,891,4.673,901,6.192,1024,6.212,1169,3.879,1309,3.988,1343,5.04,1347,8.213,1942,6.646,2303,4.56,2912,11.388,3223,6.31,3339,13.114,3586,10.56,3823,6.646,3923,6.31,4051,8.66,4326,13.114,4822,7.85,4823,11.067,4824,7.84,4833,13.594,4834,13.205,4835,13.205,4836,8.478,4837,8.478,4838,8.478,4839,8.478,4840,8.478,4841,8.478,4842,13.205,4843,8.478]],["keywords/848",[]],["title/849",[703,695.225]],["content/849",[4,2.263,23,3.12,33,1.362,51,5.227,65,3.453,69,3.289,72,5.015,171,4.067,193,4.221,219,3.916,235,9.687,239,10.452,240,2.353,246,3.328,281,4.086,314,6.573,323,5.808,355,6.138,396,3.442,437,4.135,438,3.946,447,9.935,458,4.901,479,6.331,493,6.553,613,6.527,659,7.165,660,5.91,662,7.514,688,6.401,703,8.149,711,6.61,716,3.804,736,3.946,737,3.542,757,10.07,861,4.901,943,5.537,955,6.076,1109,5.457,1176,6.019,1298,9.358,1300,4.847,1339,4.719,1389,8.518,1438,8.518,1466,7.67,1694,7.373,1713,8.444,1844,9.22,2018,8.259,2360,8.518,2612,7.514,3629,11.337,3681,9.22,3790,7.373,4844,10.536,4845,10.536,4846,10.536,4847,10.536,4848,10.536,4849,15.575,4850,15.575,4851,10.536,4852,10.536,4853,10.536,4854,10.536,4855,18.529,4856,10.536,4857,10.536,4858,10.536]],["keywords/849",[]],["title/850",[72,746.242,134,887.422]],["content/850",[]],["keywords/850",[]],["title/851",[33,202.738,741,952.558]],["content/851",[0,8.707,23,3.98,32,3.399,33,3.178,34,3.677,35,4.605,45,4.556,198,6.199,239,11.85,240,4.663,373,4.142,425,5.777,520,7.269,587,10.244,711,6.815,741,9.757,901,6.13,2106,12.044,2197,12.588,2733,14.894,3586,9.262,4859,20.884,4860,16.059]],["keywords/851",[]],["title/852",[58,574.258,99,552.327]],["content/852",[22,5.593,23,4.013,32,3.507,58,6.069,99,5.837,144,10.183,184,3.593,224,5.024,239,8.461,251,9.213,347,7.622,520,11.645,738,13.779,901,8.135,1024,7.795,1347,10.306,3586,9.556,4051,10.866,4326,13.397,4822,9.85,4823,13.887,4861,21.311]],["keywords/852",[]],["title/853",[184,293.46,194,788.126,208,739.744]],["content/853",[]],["keywords/853",[]],["title/854",[581,790.783]],["content/854",[4,1.602,22,3.269,23,4.266,28,3.404,29,5.166,32,4.053,33,1.611,35,2.257,54,3.42,60,2.936,70,1.919,108,4.105,124,2.947,152,1.567,154,2.893,171,2.055,183,2.479,184,4.417,190,3.681,192,2.646,194,9.003,208,10.469,224,5.807,230,2.486,240,1.757,241,2.925,246,2.486,251,4.375,264,2.281,293,2.203,301,2.839,319,3.507,329,3.507,330,1.892,334,3.591,347,5.73,381,2.539,398,4.664,438,2.947,467,4.403,520,3.562,572,2.811,580,3.62,590,3.355,630,2.893,664,3.937,674,4.562,716,2.841,735,5.608,737,2.646,771,3.153,786,3.371,886,4.449,901,3.004,1024,5.86,1160,3.991,1276,4.167,1300,3.62,1308,4.454,1325,5.088,1347,4.894,1377,3.681,1438,6.362,1827,4.414,1889,4.955,2502,3.911,3756,6.362,3880,6.595,4051,5.161,4332,11.518,4349,8.883,4804,10.9,4822,7.404,4862,7.869,4863,7.869,4864,7.277,4865,16.253,4866,7.869,4867,7.277,4868,7.869,4869,7.869,4870,11.518,4871,7.869,4872,11.518,4873,7.869,4874,7.869,4875,10.9,4876,6.887,4877,7.869,4878,6.595]],["keywords/854",[]],["title/855",[278,422.052,809,774.288]],["content/855",[18,7.383,25,1.167,44,4.886,65,5.751,152,4.817,171,5.771,184,4.793,208,9.592,315,5.715,330,4.219,334,5.059,361,9.842,427,6.45,446,13.061,467,6.203,582,9.842,737,5.899,809,11.949,1345,10.913,3887,12.063,4879,13.061]],["keywords/855",[]],["title/856",[171,409.414,4880,1449.827]],["content/856",[5,4.137,6,1.855,18,6.401,25,1.552,44,5.335,52,5.28,152,3.815,184,4.155,185,5.638,202,5.894,208,12.759,364,10.389,561,9.014,1204,9.853,4880,17.718]],["keywords/856",[]],["title/857",[4,90.608,18,292.098,33,113.071,184,189.626,208,478.003,1169,400.06,1204,449.64]],["content/857",[4,2.041,22,3.858,23,3.883,25,1.31,32,3.111,33,1.901,34,3.366,53,6.209,73,7.506,152,3.922,155,4.382,164,4.616,171,3.838,182,2.933,208,10.768,230,4.644,273,3.224,315,4.788,458,6.837,516,7.558,737,6.623,740,6.837,751,9.034,807,11.884,858,7.404,1169,6.725,1204,7.558,1257,9.012,2502,7.306,3887,13.543,4864,13.593,4875,20.771,4881,14.699,4882,14.699,4883,14.699,4884,14.699]],["keywords/857",[]],["title/858",[184,340.004,1325,1013.728]],["content/858",[4,1.958,23,4.223,32,2.925,33,1.787,44,3.849,124,5.176,164,6.761,184,2.997,208,10.329,224,6.528,225,4.955,347,6.358,419,8.397,467,4.886,600,10.162,740,6.429,785,4.215,1024,6.502,1325,12.217,1356,8.817,1548,8.817,2321,8.703,2717,10.543,2741,10.543,4051,9.064,4804,12.095,4822,8.216,4865,12.781,4870,12.781,4872,12.781,4875,12.095,4885,13.822,4886,18.895,4887,13.822,4888,12.781,4889,13.822,4890,13.822]],["keywords/858",[]],["title/859",[25,89.993,184,293.46,4618,965.11]],["content/859",[]],["keywords/859",[]],["title/860",[4,140.222,25,89.993,4618,965.11]],["content/860",[6,1.365,23,1.407,25,1.372,33,1.823,37,2.367,45,2.618,69,2.881,70,3.438,82,6.458,87,3.207,97,4.95,107,4.202,114,2.683,149,3.828,151,2.847,161,2.916,176,3.368,180,4.245,181,3.757,182,1.841,184,3.057,185,3.406,186,4.167,192,3.103,202,2.839,203,4.68,204,4.367,205,5.651,206,5.019,207,5.088,220,6.048,225,5.054,226,4.712,227,4.746,240,2.061,246,2.916,252,3.579,262,4.925,264,2.676,265,3.32,278,5.156,284,3.274,285,9.693,293,2.583,301,3.899,305,5.74,308,2.987,311,3.954,314,3.274,315,3.006,330,2.219,360,5.272,366,4.445,392,4.293,401,4.134,425,3.32,428,4.964,479,5.545,536,5.866,537,5.607,545,2.556,554,4.419,565,5.224,582,5.177,613,3.251,614,3.992,626,7.04,632,5.429,637,8.054,638,5.323,639,4.393,735,4.155,739,5.967,740,4.293,862,5.812,894,3.537,914,4.342,932,6.416,971,5.486,973,4.964,989,6.582,1007,7.41,1041,7.234,1060,8.534,1116,4.587,1157,5.486,1197,6.458,1393,7.462,1567,11.052,1603,7.04,2692,6.458,3990,6.869,4618,12.201,4891,14.099]],["keywords/860",[]],["title/861",[240,302.163,1732,1184.242,4618,965.11]],["content/861",[4,1.773,6,0.612,14,2.375,18,3.484,20,2.83,23,3.104,25,1.225,29,6.412,33,1.722,35,2.991,44,3.708,45,1.792,53,2.669,58,2.314,73,3.226,87,2.196,94,3.929,98,4.468,106,7.17,108,5.44,111,3.935,124,2.366,125,2.5,136,3.644,152,4.055,155,1.883,164,3.275,171,4.809,177,3.249,181,1.683,184,2.262,185,2.519,186,1.867,189,3.226,190,4.878,191,4.647,198,4.92,205,2.71,207,7.341,224,6.176,235,8.282,238,9.004,240,2.974,243,2.906,254,3.756,271,2.241,278,1.701,334,1.822,359,11.252,373,3.434,378,3.796,396,3.407,420,3.838,427,2.323,438,2.366,446,4.703,468,2.891,497,5.529,545,1.75,552,3.32,568,3.717,580,2.906,590,4.446,652,3.025,659,2.906,674,2.314,677,4.953,737,4.477,765,3.418,809,9.622,858,3.182,886,3.725,894,2.421,971,3.756,1050,7.438,1089,3.644,1174,3.838,1264,7.762,1300,4.797,1308,5.903,1313,3.756,1320,3.398,1345,3.929,1444,2.99,1638,4.953,1823,4.953,1966,4.421,1986,6.743,2502,3.14,2669,4.272,2781,13.709,2783,6.336,2953,11.219,3455,5.842,3503,4.703,3858,7.955,3887,4.344,4074,5.529,4618,17.639,4879,7.762,4892,6.318,4893,19.034,4894,5.842,4895,6.318,4896,6.318,4897,6.318,4898,6.318,4899,5.529,4900,6.318,4901,5.529]],["keywords/861",[]],["title/862",[25,70.65,171,277.416,184,230.384,191,319.37,4618,757.671]],["content/862",[18,4.04,22,4.935,23,4.231,24,4.174,25,1.251,28,3.28,29,5.016,32,3.98,33,0.981,34,2.769,35,4.326,37,1.273,108,3.956,125,3.001,151,2.339,161,2.396,162,2.681,171,3.939,184,4.078,191,3.636,198,2.026,205,5.207,206,2.699,207,4.18,223,3.899,224,4.574,235,4.716,238,5.127,240,1.693,271,2.69,275,2.525,323,4.18,334,2.186,347,3.488,355,2.988,373,1.956,387,4.416,396,2.478,407,3.698,467,2.681,482,4.145,572,2.709,630,5.545,677,9.48,735,3.414,737,2.549,757,4.903,758,3.28,764,4.145,765,3.964,767,4.332,770,3.745,771,6.044,772,3.145,773,4.766,774,4.145,775,3.631,776,5.756,777,3.379,780,4.015,809,5.972,845,4.973,886,2.709,1024,3.567,1276,4.015,1300,3.488,1308,4.292,1313,4.508,1320,4.078,1343,4.508,1347,4.716,1354,7.348,1526,6.611,1646,5.047,2106,4.373,2121,7.432,3709,6.355,3726,4.837,4618,16.457,4822,4.508,4832,5.408,4879,5.644,4902,15.085,4903,6.355,4904,7.583,4905,7.583,4906,7.583,4907,7.583,4908,7.583,4909,7.583,4910,7.583]],["keywords/862",[]],["title/863",[45,337.67,184,258.124,703,444.09,4618,848.901]],["content/863",[4,1.208,20,5.221,25,1.115,46,3.773,51,2.789,69,3.639,70,2.843,72,5.548,88,3.997,131,5.911,152,3.909,154,6.163,184,2.528,205,3.029,224,3.534,225,4.178,230,3.682,246,3.682,278,3.138,279,9.966,288,5.756,297,3.307,319,5.194,329,5.194,347,5.362,360,6.659,373,3.006,378,7.004,381,3.761,394,5.911,396,6.415,501,5.994,556,5.989,632,6.857,674,4.269,677,9.137,711,4.947,758,5.041,785,3.555,787,5.649,792,9.669,886,4.164,1417,9.165,1466,8.485,1575,10.2,1713,6.32,2004,12.788,2057,8.013,2058,7.435,2252,7.082,2353,8.313,2354,9.769,2396,9.769,2572,13.555,2766,12.788,2953,12.876,4199,14.672,4618,15.313,4643,9.137,4911,11.656,4912,11.656,4913,11.656,4914,11.656,4915,11.656,4916,11.656,4917,9.424,4918,11.656,4919,11.656,4920,11.656]],["keywords/863",[]],["title/864",[184,340.004,1054,1097.157]],["content/864",[]],["keywords/864",[]],["title/865",[4921,1863.425]],["content/865",[4,1.773,5,3.695,6,1.657,25,1.138,35,4.908,184,3.711,217,6.114,240,3.821,243,7.873,373,4.414,394,8.679,438,6.409,695,8.452,882,10.518,886,6.114,894,6.558,1054,16.737,1262,10.518,1617,8.928,1822,12.739,3990,12.739,4563,13.055,4893,19.039,4894,15.826,4922,17.115,4923,17.115,4924,17.115,4925,17.115]],["keywords/865",[]],["title/866",[581,790.783]],["content/866",[5,2.435,19,3.381,22,4.296,23,4.125,25,0.75,28,4.878,29,6.79,30,5.305,32,2.387,35,3.234,44,3.14,45,3.199,69,3.52,108,5.883,124,4.223,152,3.259,154,4.146,162,3.987,184,5.368,224,5.843,240,2.518,251,6.27,314,4,347,5.188,356,7.614,373,2.908,716,5.91,735,5.078,771,4.518,886,6.884,901,4.305,1024,5.305,1054,16.39,1259,13.235,1276,8.669,1300,5.188,1343,6.704,1347,7.014,1354,9.946,1713,6.114,2178,7.892,2768,7.892,2927,7.101,3601,9.451,4051,7.396,4822,6.704,4926,19.272,4927,11.278,4928,14.326,4929,11.278,4930,11.278,4931,11.278]],["keywords/866",[]],["title/867",[278,422.052,809,774.288]],["content/867",[18,7.383,25,1.167,44,4.886,65,5.751,152,4.817,171,5.771,184,4.793,315,5.715,330,4.219,334,5.059,361,9.842,427,6.45,446,13.061,467,6.203,582,9.842,737,5.899,809,11.949,1054,12.279,1345,10.913,3887,12.063,4879,13.061]],["keywords/867",[]],["title/868",[25,58.151,45,248.063,184,293.328,1360,543.842,1361,470.306,1992,706.971]],["content/868",[25,1.349,45,5.753,152,4.038,162,7.169,184,5.238,193,8.126,1058,10.503,1360,12.613,1361,10.908,1388,12.936,1992,16.396]],["keywords/868",[]],["title/869",[25,49.41,45,210.774,107,182.5,181,197.97,184,161.122,260,384.788,301,169.334,315,241.997,537,243.512]],["content/869",[]],["keywords/869",[]],["title/870",[202,482.305,556,560.063]],["content/870",[25,1.454,107,4.239,166,9.356,171,4.506,184,3.742,204,8.165,219,6.414,226,8.811,235,10.732,238,11.668,260,11.326,278,4.645,297,6.204,315,5.621,319,7.69,330,4.149,425,6.208,545,4.78,894,6.613,1843,11.008,2671,11.316,4563,13.163,4932,15.957,4933,17.256,4934,17.256,4935,17.256,4936,15.101]],["keywords/870",[]],["title/871",[638,904.237,878,1028.176]],["content/871",[3,5.332,4,1.201,25,1.11,45,4.737,51,2.774,68,6.092,82,8.111,131,8.468,171,3.027,182,2.313,184,3.621,199,5.55,205,6.48,206,5.944,219,4.308,220,4.097,243,5.332,260,12.916,264,3.36,272,4.942,291,5.55,297,3.288,299,7.209,314,8.052,330,2.787,334,3.342,347,5.332,356,5.391,373,2.989,374,9.371,423,7.124,462,4.606,504,5.139,514,4.155,545,4.625,613,4.083,638,6.685,659,5.332,735,5.219,785,3.535,876,7.209,879,4.513,1055,5.761,1124,7.494,1173,6.89,1189,7.209,1663,6.445,1716,8.267,1843,7.394,1961,6.89,2692,8.111,2918,10.144,3262,10.719,3785,9.714,4563,8.842,4617,15.287,4936,10.144,4937,11.591,4938,11.591,4939,10.719]],["keywords/871",[]],["title/872",[171,250.496,191,288.379,205,249.247,260,496.808,315,312.447,4617,620.238]],["content/872",[1,1.67,2,2.44,4,1.129,7,1.17,10,1.483,18,1.252,19,1.124,22,4.417,23,4.177,24,3.759,25,1.256,28,1.621,29,4.518,30,1.764,32,3.378,33,1.935,34,3.426,35,2.578,37,1.829,44,1.855,68,1.97,87,1.303,88,1.285,105,3.611,107,0.921,108,1.956,110,1.654,111,1.415,122,1.645,124,3.366,151,1.157,152,1.326,161,1.184,162,1.325,164,3.918,171,1.739,176,1.368,183,2.098,184,3.245,185,1.609,186,1.108,190,1.753,191,1.127,198,3.691,201,1.448,203,1.901,204,1.774,205,3.242,206,2.371,207,2.066,219,1.393,223,1.928,224,6.306,234,1.734,240,4.451,243,5.01,260,10.968,271,2.363,282,5.081,314,3.188,315,2.928,334,2.592,347,3.064,355,3.542,373,2.809,381,1.21,396,1.225,407,4.383,427,1.378,438,2.494,476,2.277,482,2.049,504,1.662,511,2.673,572,2.379,574,6.159,630,5.867,735,2.999,757,2.424,758,2.881,765,2.946,770,3.289,772,2.763,773,5.897,774,3.641,775,3.189,777,2.968,780,3.527,785,1.143,809,3.289,843,3.015,845,2.458,876,2.331,886,4.457,894,1.437,1024,3.134,1084,3.28,1089,2.162,1242,2.938,1255,3.031,1300,1.724,1308,2.122,1313,2.228,1320,2.016,1333,2.79,1343,2.228,1347,4.143,1354,6.617,1377,1.753,1444,1.774,1612,4.958,1633,2.141,1724,7.042,2023,1.828,2106,7.195,2165,2.535,2502,1.863,3586,2.162,3592,2.79,3593,2.495,3726,2.391,3739,3.142,3856,3.466,4432,3.142,4515,6.774,4617,8.933,4822,3.959,4832,2.673,4893,3.28,4899,3.28,4903,7.533,4936,3.28,4939,3.466,4940,3.749,4941,3.749,4942,3.749,4943,3.749,4944,3.749,4945,6.661,4946,9.531,4947,6.159,4948,3.749,4949,3.466,4950,3.749,4951,3.749,4952,6.661,4953,3.749,4954,3.749,4955,11.579,4956,7.928,4957,8.988,4958,3.749,4959,5.582,4960,3.142,4961,6.159,4962,3.466,4963,3.142,4964,3.28,4965,2.859,4966,3.749,4967,3.749,4968,3.749,4969,3.28,4970,5.221,4971,5.582,4972,3.466,4973,6.661]],["keywords/872",[]],["title/873",[191,471.331,879,610.406]],["content/873",[19,5.59,23,2.842,25,1.527,66,13.573,144,11.459,185,4.504,260,9.657,264,5.406,308,6.036,398,6.983,428,10.029,1598,13.573,1697,10.554,2176,14.616,2588,13.573,4974,18.646,4975,18.646,4976,18.646,4977,18.646,4978,18.646]],["keywords/873",[]],["title/874",[25,63.794,131,486.458,184,208.027,205,249.247,240,214.197,241,356.567]],["content/874",[]],["keywords/874",[]],["title/875",[1663,1036.075]],["content/875",[4,1.424,6,0.508,12,1.829,14,0.745,18,1.752,22,3.056,23,4.248,25,0.593,32,4.345,33,0.256,34,3.146,40,4.445,44,1.034,45,1.054,46,0.641,49,1.748,53,0.837,63,0.434,67,0.797,68,1.952,86,1.501,88,0.679,92,0.845,97,0.695,99,0.698,106,2.554,107,0.913,108,1.033,111,2.953,114,0.576,116,5.674,122,0.869,124,1.391,131,3.969,148,1.142,151,1.146,152,3.162,154,1.366,155,0.59,161,2.472,162,4.116,164,5.816,166,2.844,167,1.615,171,1.725,177,1.019,180,0.911,183,2.811,184,3.34,186,0.585,191,1.117,193,1.488,198,0.992,204,0.937,205,3.868,206,1.322,220,1.313,222,1.013,223,1.019,224,0.601,225,3.555,230,3.133,234,0.916,240,3.829,243,4.562,260,4.622,264,1.077,265,0.713,314,2.344,315,0.645,322,0.728,330,2.146,335,1.413,347,4.105,356,4.613,360,1.132,373,1.353,380,1.442,381,1.199,382,1.019,385,0.725,390,1.474,397,1.263,398,0.742,425,0.713,427,0.728,440,0.916,452,0.916,455,0.948,460,1.511,467,0.7,474,1.142,483,1.065,496,0.8,501,1.91,504,0.878,513,1.177,516,1.019,520,2.991,557,0.787,561,1.748,568,1.165,580,1.709,589,2.6,592,1.203,616,1.386,626,2.834,630,2.877,661,1.263,689,1.083,711,1.577,716,1.894,722,2.642,734,3.942,736,0.742,737,1.249,740,0.921,741,2.257,745,2.868,757,1.281,758,2.858,764,2.031,771,5.744,773,0.781,785,1.6,880,1.511,886,2.796,894,0.759,901,1.418,906,2.014,910,0.797,919,2.6,971,1.177,993,0.954,1024,5.834,1055,0.985,1069,1.66,1074,1.083,1109,1.026,1112,2.208,1118,1.281,1125,1.386,1160,1.004,1169,0.906,1175,1.247,1176,1.132,1180,1.19,1191,2.37,1224,2.164,1227,1.299,1276,1.049,1300,2.413,1308,1.121,1309,4.198,1313,1.177,1317,3.671,1320,1.065,1332,1.065,1333,1.474,1339,1.664,1342,6.705,1343,1.177,1347,1.232,1350,1.511,1354,2.257,1359,1.511,1395,1.474,1479,3.706,1540,4.11,1614,1.011,1641,1.442,1650,3.928,1741,1.66,1811,1.442,1872,2.822,1889,1.247,1970,1.413,1993,1.339,2000,1.474,2131,1.19,2178,1.386,2303,1.998,2390,1.733,2443,1.553,2482,1.66,2502,0.985,2589,2.283,2693,8.305,2740,1.66,2751,5.18,2757,1.832,2795,3.435,2823,1.601,2886,3.607,2912,1.232,2913,1.474,2979,4.468,3167,1.511,3280,4.241,3311,1.832,3551,1.601,3564,1.413,3585,6.135,3586,2.143,3590,1.832,3592,5.825,3593,1.318,3597,4.591,3598,1.832,3599,1.832,3611,1.832,3684,6.997,3715,2.402,3771,1.832,3951,1.386,4051,1.299,4442,1.281,4447,1.733,4485,3.004,4632,1.832,4643,1.553,4667,5.538,4767,1.733,4822,4.652,4928,7.809,4946,5.782,4947,3.435,4949,1.832,4969,7.809,4979,1.981,4980,1.981,4981,1.981,4982,1.981,4983,1.981,4984,1.981,4985,1.981,4986,1.981,4987,1.981,4988,1.981,4989,3.435,4990,1.981,4991,1.981,4992,1.981,4993,1.981,4994,7.826,4995,1.981,4996,1.981,4997,1.981,4998,1.981,4999,3.715,5000,1.981,5001,1.981,5002,1.981,5003,3.715,5004,1.981,5005,1.832,5006,1.981,5007,3.715,5008,1.981,5009,1.981,5010,1.981,5011,1.981,5012,1.981,5013,3.715,5014,1.733,5015,9.068,5016,5.342,5017,3.715,5018,1.981,5019,5.246,5020,1.981,5021,4.851,5022,1.981,5023,5.246,5024,3.715,5025,1.981,5026,1.981,5027,1.981,5028,1.981,5029,1.981,5030,1.981,5031,1.981,5032,1.981,5033,1.981,5034,1.981,5035,1.981,5036,1.981,5037,1.832,5038,1.981,5039,1.981,5040,3.715,5041,1.832,5042,1.981,5043,1.981,5044,1.981,5045,1.981,5046,1.981,5047,1.981,5048,3.715,5049,3.715,5050,3.715,5051,3.715,5052,1.981,5053,1.981,5054,1.981,5055,1.981,5056,1.981,5057,3.715,5058,1.981,5059,3.715,5060,1.981,5061,1.981]],["keywords/875",[]],["title/876",[40,516.562,741,822.159,869,887.426]],["content/876",[14,5.526,25,0.978,40,5.611,106,10.105,111,5.547,116,6.07,125,5.816,131,9.989,184,3.188,205,6.43,219,5.464,240,4.398,243,10.22,271,7.881,305,13.818,330,3.534,481,8.103,512,6.017,545,5.456,734,7.404,879,5.723,894,5.633,1016,10.941,1339,6.584,1548,9.376,1633,8.397,1765,9.376,1890,11.522,2429,10.483,2912,9.142,2979,9.939,3020,17.239,3586,8.477,5016,11.884,5062,14.699,5063,14.699,5064,13.593]],["keywords/876",[]],["title/877",[25,89.993,184,293.46,240,302.163]],["content/877",[]],["keywords/877",[]],["title/878",[581,790.783]],["content/878",[22,5.05,23,4.053,25,1.28,28,6.141,32,3.005,34,3.251,45,4.028,124,5.317,154,5.219,184,4.734,224,6.619,240,5.461,243,8.852,251,7.894,271,5.036,347,6.531,663,7.827,726,10.335,735,6.393,765,4.653,886,5.072,1024,6.68,1347,8.83,2303,7.636,2912,8.83,3586,12.59,4822,8.44,4833,11.899,4971,18.295,4972,13.129,5065,13.129,5066,14.198,5067,13.129]],["keywords/878",[]],["title/879",[5068,1723.121]],["content/879",[14,5.337,23,2.933,51,3.398,65,4.653,116,7.947,154,5.219,162,5.019,164,4.459,182,4.669,183,4.472,184,3.079,191,4.268,205,6.08,240,4.297,243,8.852,271,7.743,373,4.963,375,7.407,394,7.2,435,6.496,452,6.567,545,6.046,663,10.608,734,7.151,765,7.155,1058,7.353,1134,8.036,1219,6.839,1697,8.036,1765,9.057,2062,9.451,2429,10.126,3586,8.189,3951,13.466,4109,12.425,5068,13.129,5069,14.198]],["keywords/879",[]],["title/880",[1299,1356.449]],["content/880",[6,1.592,23,3.577,164,5.162,183,5.178,205,6.098,240,3.671,545,5.873,711,8.998,726,11.967,734,8.28,879,6.4,906,8.913,1111,11.302,1134,12.001,1299,11.967,1332,8.842,1536,14.837,1993,14.336,2023,10.339,2301,10.486,2912,13.187,4833,13.777,5067,15.201,5070,16.439,5071,15.201]],["keywords/880",[]],["title/881",[5072,1723.121]],["content/881",[18,5.579,23,3.265,64,14.483,67,6.721,152,3.325,164,5.245,183,5.261,184,4.645,205,5.566,240,4.783,314,5.925,330,4.016,396,6.999,425,6.009,487,13.488,516,8.589,545,4.626,557,6.637,734,8.413,1633,9.542,2598,12.741,2783,10.148,3380,14.617,3859,12.432,5072,15.445,5073,16.703,5074,16.703]],["keywords/881",[]],["title/882",[40,516.562,241,503.001,3585,1060.767]],["content/882",[4,1.59,6,1.486,23,4.069,28,6.639,32,3.248,34,3.514,40,5.859,44,4.274,46,4.968,51,3.673,58,7.426,116,6.338,171,4.008,184,3.329,198,4.1,240,4.527,251,11.272,297,4.354,308,6.563,334,4.426,381,4.953,711,6.514,1339,9.081,1536,10.741,2049,9.924,2912,9.546,3585,18.929,4822,9.124,4971,12.864,5075,15.349]],["keywords/882",[]],["title/883",[184,340.004,242,864.293]],["content/883",[]],["keywords/883",[]],["title/884",[581,790.783]],["content/884",[4,2.122,25,1.362,46,6.629,184,5.268,186,6.053,242,11.289,458,9.526,857,10.531,1089,11.811,1321,17.163]],["keywords/884",[]],["title/885",[198,317.966,240,265.779,242,656.155,394,603.606]],["content/885",[4,1.214,6,0.512,18,3.003,19,3.513,23,4.212,25,0.352,32,3.998,35,2.578,44,2.503,86,2.138,107,1.3,116,2.185,124,3.366,152,4.18,154,1.945,161,7.408,162,1.87,164,5.636,173,3.145,184,1.147,188,6.573,190,2.475,198,1.413,205,1.375,206,1.883,225,3.222,229,5.042,230,2.84,240,1.181,242,4.955,243,2.434,246,1.671,272,2.256,273,1.16,305,3.291,341,3.145,347,2.434,356,2.461,360,6.695,451,3.252,455,2.533,513,3.145,545,1.466,592,10.225,600,6.303,630,5.691,645,3.113,703,3.354,758,3.888,771,7.569,773,6.632,809,4.439,827,5.524,891,4.955,1055,2.63,1116,4.468,1169,2.421,1257,4.112,1300,7.121,1317,3.703,1339,2.37,1345,5.59,1548,3.375,1650,3.145,2106,6.759,2131,3.179,2303,2.846,2444,3.215,2692,3.703,2693,12.003,2779,3.252,2912,7.288,3656,4.434,3684,11.35,3764,3.852,4128,4.63,4485,4.278,4515,5.59,5014,4.63,5076,5.291,5077,5.291,5078,5.291,5079,5.291,5080,11.719,5081,11.719,5082,4.893,5083,4.893,5084,7.866,5085,5.291,5086,5.291,5087,4.893,5088,5.291,5089,5.291,5090,8.312,5091,5.291,5092,8.989,5093,8.989,5094,5.291,5095,13.817,5096,5.291,5097,5.291,5098,5.291,5099,11.719,5100,11.719,5101,8.989,5102,8.989,5103,5.291,5104,5.291,5105,11.719,5106,5.291,5107,8.989,5108,5.291,5109,5.291,5110,4.893,5111,5.291,5112,8.989,5113,4.893,5114,5.291]],["keywords/885",[]],["title/886",[25,104.266,205,407.374]],["content/886",[4,1.164,6,0.562,22,0.844,23,4.296,25,0.528,32,3.456,35,2.276,44,2.21,54,1.398,65,1.054,68,3.052,87,1.118,88,1.991,107,1.95,113,2.701,116,1.328,124,2.973,131,4.93,151,0.992,152,3.095,161,4.32,164,3.529,172,1.855,174,4.719,180,2.671,184,3.541,186,0.951,191,0.967,193,1.289,198,2.12,220,3.437,222,0.877,224,2.407,229,1.804,230,1.016,237,2.109,240,2.509,242,8.57,243,5.169,246,1.016,273,3.581,278,0.866,280,2.052,293,1.625,305,2,314,1.141,329,1.433,330,1.396,347,6.29,356,3.692,360,3.317,398,1.204,425,1.157,451,1.977,458,2.701,467,4.433,543,1.191,549,1.69,557,1.278,568,1.892,572,2.836,580,1.479,581,1.365,592,4.823,600,1.73,645,1.892,652,1.54,656,1.912,694,2.886,703,5.102,711,3.369,714,2.141,726,7.077,735,1.448,736,1.204,758,1.391,765,1.054,771,5.025,775,2.78,786,1.378,806,4.683,809,5.55,876,2,886,1.149,901,1.228,910,2.336,955,1.855,975,4.269,1024,8.579,1055,4.832,1074,3.174,1089,1.855,1114,5.738,1116,1.599,1175,2.025,1192,2,1194,2.341,1254,7.598,1257,1.471,1298,1.932,1317,4.063,1320,3.123,1339,4.355,1343,1.912,1354,7.619,1511,2.341,1526,1.758,1554,2.251,1650,3.452,1663,3.229,1724,2.079,1783,2.211,1827,1.804,2000,2.394,2079,1.837,2098,2.025,2589,1.977,2693,8.944,2720,2.025,2842,2.695,2912,10.985,3114,2.341,3564,4.141,3586,8.459,3684,9.341,3709,2.695,3759,2.521,4051,5.206,4339,2.815,4442,2.079,4822,4.719,4832,2.294,4833,6.653,4879,4.322,5082,2.974,5083,2.974,5084,2.815,5090,5.37,5115,8.99,5116,5.082,5117,3.216,5118,3.216,5119,5.807,5120,13.605,5121,7.86,5122,7.938,5123,3.216,5124,3.216,5125,2.974,5126,7.938,5127,3.216,5128,2.974,5129,7.938,5130,3.216,5131,3.216,5132,5.807,5133,3.216,5134,7.938,5135,3.216,5136,3.216,5137,5.082,5138,3.216,5139,3.216,5140,3.216,5141,3.216,5142,3.216,5143,3.216,5144,3.216,5145,3.216,5146,5.807,5147,5.807,5148,3.216,5149,3.216]],["keywords/886",[]],["title/887",[280,677.68,467,375.547,737,357.175,1183,585.638,4442,686.894]],["content/887",[6,1.154,23,4.31,25,0.793,32,2.523,161,3.767,164,5.351,171,3.113,191,3.584,224,3.615,242,9.393,280,12.684,334,3.438,347,5.485,375,6.22,397,7.606,398,4.465,467,7.029,468,5.455,516,8.762,557,6.771,580,5.485,737,4.009,765,3.908,772,4.946,806,8.208,809,5.888,1024,8.016,1114,6.088,1169,7.796,1183,6.573,1783,8.197,2912,7.415,3503,12.683,3586,6.876,4051,7.819,4442,14.028,4822,7.087,5115,11.025,5120,10.434,5121,9.64,5150,10.434,5151,11.923,5152,11.923]],["keywords/887",[]],["title/888",[5153,1723.121]],["content/888",[4,1.02,12,3.431,19,4.437,22,2.582,23,4.318,25,0.984,32,3.132,35,2.822,151,3.036,152,3.94,161,7.043,167,4.276,220,3.478,224,2.983,240,2.197,242,8.159,243,8.184,249,5.569,265,3.54,287,4.891,347,4.526,356,4.577,381,3.175,458,4.577,510,4.99,580,4.526,758,4.256,806,7.129,910,5.955,1024,4.629,1114,5.024,1309,4.629,1339,4.407,1479,8.302,1560,10.175,2023,4.798,2165,6.653,2420,9.098,2693,7.017,2912,6.119,3586,5.675,3684,12.75,4051,6.452,4595,12.404,4822,5.849,5005,9.098,5016,7.955,5121,7.955,5150,8.611,5153,9.098,5154,13.686,5155,16.451,5156,17.79,5157,9.839,5158,9.839,5159,9.839]],["keywords/888",[]],["title/889",[5160,1863.425]],["content/889",[4,1.632,19,5.604,22,2.808,23,4.285,25,0.711,32,2.264,151,5.768,152,2.13,161,5.906,167,4.65,222,2.917,224,3.244,225,7.392,240,2.389,242,5.897,293,2.995,329,4.767,347,7.246,451,9.68,531,5.848,572,3.822,580,4.921,597,8.386,630,6.872,765,3.506,806,5.153,857,5.501,906,5.8,910,6.338,1024,5.033,1114,5.463,1309,5.033,1560,7.355,1631,6.055,2106,6.17,2912,6.654,3586,6.17,3742,8.65,3923,11.724,4051,7.016,4078,9.893,4822,6.359,4876,9.362,5084,9.362,5087,9.893,5121,8.65,5150,9.362,5154,9.893,5155,9.893,5161,18.695,5162,10.698,5163,10.698,5164,10.698,5165,10.698,5166,10.698,5167,10.698,5168,10.698,5169,10.698]],["keywords/889",[]],["title/890",[5170,1723.121]],["content/890",[4,1.69,6,1.086,9,5.132,19,3.362,23,3.953,25,0.746,49,5.277,54,4.875,65,3.676,68,5.895,88,5.591,92,4.782,113,7.585,116,4.632,151,5.031,154,4.123,161,3.543,171,2.929,172,9.404,174,6.668,184,3.536,191,3.372,205,2.914,220,3.965,222,3.059,224,3.401,240,3.641,242,8.989,250,5.986,262,5.986,287,8.105,319,4.998,330,2.697,371,5.851,373,2.893,398,4.201,399,6.132,432,5.895,467,3.965,496,4.532,520,7.381,538,5.575,539,5.217,598,7.584,711,4.76,726,8.165,861,5.217,901,4.282,906,6.081,993,5.403,1062,8.349,1339,5.024,1401,13.702,1704,7.063,1713,6.081,1747,7.584,1751,8,1766,12.788,2612,8,2912,6.976,3593,7.466,4051,7.356,4832,8,5071,10.372,5121,13.184,5170,10.372,5171,11.217,5172,11.217,5173,11.217,5174,10.372]],["keywords/890",[]],["title/891",[184,340.004,1055,779.313]],["content/891",[]],["keywords/891",[]],["title/892",[240,302.163,886,483.395,1055,672.63]],["content/892",[22,5.373,23,4.227,24,7.067,25,1.036,32,4.333,33,2.014,34,5.236,36,10.68,198,4.162,223,8.011,240,4.571,656,9.261,843,7.051,886,5.565,1055,10.176,1343,9.261,2783,9.465,3567,13.633,3593,10.369,5175,20.473,5176,14.406,5177,15.579,5178,15.579]],["keywords/892",[]],["title/893",[240,302.163,314,480.028,1055,672.63]],["content/893",[14,5.728,22,3.999,23,4.185,32,3.225,34,4.619,35,5.786,46,4.932,184,5.432,186,4.504,205,3.959,224,7.3,240,3.402,490,6.054,716,5.501,886,7.207,1055,7.573,1343,9.057,2131,9.155,2783,9.257,3586,8.787,4051,9.992,4822,9.057,5179,20.176,5180,15.237,5181,15.237]],["keywords/893",[]],["title/894",[241,692.634]],["content/894",[4,2.46,22,5.171,28,8.522,63,4.321,110,8.692,171,5.145,293,5.516,323,10.862,467,8.392,512,8.066,943,10.356,1575,17.244,5137,17.244]],["keywords/894",[]],["title/895",[25,49.41,45,210.774,107,182.5,181,197.97,184,161.122,301,169.334,315,241.997,362,502.363,537,243.512]],["content/895",[]],["keywords/895",[]],["title/896",[25,70.65,45,301.381,202,326.806,362,718.317,556,379.495]],["content/896",[25,1.403,51,3.903,107,4.006,176,5.952,180,7.503,184,3.537,205,4.238,207,8.991,219,6.063,220,5.766,226,8.328,235,10.144,238,11.028,240,3.642,278,4.391,315,6.871,319,7.268,334,4.703,362,15.809,496,6.591,504,7.231,545,4.518,894,6.25,1262,10.024,1651,9.407,2241,12.441,2671,10.696,4932,15.082,5182,16.311,5183,16.311,5184,16.311,5185,16.311,5186,15.082]],["keywords/896",[]],["title/897",[638,904.237,878,1028.176]],["content/897",[4,2.471,6,1.279,45,3.747,51,3.161,68,6.942,82,9.243,152,2.63,162,4.669,180,6.076,184,3.971,191,3.971,199,6.324,205,6.41,240,2.949,264,3.829,272,7.808,314,4.685,330,3.176,362,15.349,410,8.54,423,8.117,496,5.337,556,6.542,618,8.117,653,12.214,659,6.076,735,5.947,739,8.54,771,5.292,882,8.117,932,6.01,934,8.117,1024,6.214,1039,10.075,1064,9.243,1114,6.744,1124,8.54,1174,8.025,1262,8.117,1650,7.851,1704,8.317,2677,9.243,2692,9.243,2728,10.075,3684,7.936,5187,12.214,5188,13.208,5189,13.208,5190,13.208,5191,13.208,5192,11.559,5193,12.214]],["keywords/897",[]],["title/898",[23,146.203,25,63.794,171,250.496,191,288.379,315,312.447,362,648.611]],["content/898",[2,1.356,4,1.282,5,1.422,10,1.465,18,1.237,19,1.11,20,1.658,22,2.832,23,4.006,24,2.274,25,0.912,28,1.601,29,2.732,32,1.883,33,0.852,34,2.037,35,2.552,37,1.494,44,1.031,45,1.869,51,1.576,52,1.02,54,3.868,65,1.213,88,1.269,107,0.909,108,1.931,111,4.073,113,1.722,121,2.224,122,1.625,124,1.386,147,2.361,151,2.032,155,1.103,158,4.148,161,3.41,162,1.309,164,3.885,180,1.703,183,2.075,184,2.34,185,0.894,186,1.094,190,3.081,193,1.483,196,1.152,198,4.235,203,1.877,205,4.545,223,3.387,224,3.272,228,1.617,229,2.077,230,1.169,234,1.712,240,1.471,241,1.376,254,2.201,264,1.073,271,1.313,273,1.951,275,2.193,280,2.361,285,4.529,301,1.501,314,1.313,315,1.206,322,1.361,330,0.89,334,1.067,347,3.03,355,1.459,361,2.077,362,12.705,373,1.699,381,1.195,388,2.077,396,1.21,407,1.805,423,2.275,425,1.332,440,1.712,452,1.712,458,4.139,467,4.847,482,2.024,520,1.676,538,1.84,545,1.825,556,4.898,557,1.471,572,1.322,590,1.578,630,5.828,631,6.286,659,1.703,716,1.337,735,1.667,736,1.386,737,4.16,741,2.249,743,2.591,749,3.103,751,2.275,757,2.394,758,1.601,764,2.024,765,4.055,770,1.828,772,1.536,773,4.253,774,2.024,775,1.772,776,3.135,777,1.65,780,1.96,806,4.286,809,7.829,845,2.428,886,2.353,894,1.419,934,2.275,942,2.224,947,4.529,954,3.462,975,3.543,1024,5.077,1049,2.275,1064,2.591,1114,4.544,1126,2.755,1169,1.694,1219,1.783,1257,1.694,1262,4.048,1300,1.703,1308,2.095,1313,2.201,1320,1.991,1325,4.259,1326,2.275,1343,2.201,1345,5.535,1347,2.302,1354,4.002,1377,3.081,1417,5.9,1422,2.591,1588,2.902,1614,5.511,1650,7.355,1651,9.646,1724,4.259,1731,3.103,1827,2.077,1829,3.24,1831,3.103,1889,5.604,1965,2.591,1990,6.624,2071,3.423,2106,5.132,2152,2.824,2198,6.091,2321,2.331,2480,3.423,2544,3.24,2669,2.503,2676,3.24,2728,2.824,2835,3.423,2848,3.103,2921,3.423,2969,2.503,2979,2.503,2980,2.902,3186,2.993,3422,3.423,3684,2.224,3711,3.423,3887,4.529,4442,8.865,4515,4.097,4744,3.423,4832,2.64,4879,2.755,4901,3.24,4903,3.103,4955,7.458,4956,4.795,5120,3.24,5186,6.091,5187,3.423,5192,3.24,5193,3.423,5194,3.702,5195,3.702,5196,3.702,5197,3.702,5198,3.702,5199,6.587,5200,3.702,5201,3.702,5202,3.423,5203,3.702,5204,8.899,5205,3.702,5206,3.702,5207,3.702,5208,3.702,5209,3.702,5210,3.702,5211,3.702,5212,3.702,5213,3.702,5214,6.587,5215,3.702,5216,3.702,5217,8.899,5218,3.702,5219,8.899,5220,6.587,5221,3.702,5222,3.702,5223,3.702,5224,3.702,5225,3.702,5226,3.702,5227,3.702,5228,3.423,5229,3.702]],["keywords/898",[]],["title/899",[191,471.331,879,610.406]],["content/899",[23,3.955,107,3.855,184,3.404,185,3.792,225,5.627,227,8.071,276,9.536,308,5.081,324,13.736,362,10.613,517,8.51,561,7.384,659,9.464,857,8.071,884,9.141,907,9.646,932,7.143,996,7.105,1077,8.884,1092,11.973,1158,9.646,1196,10.293,1326,9.646,1598,11.426,1650,9.33,1792,10.791,1803,11.683,2176,12.304,2588,11.426,5192,13.736,5230,15.696,5231,15.696,5232,15.696,5233,15.696,5234,15.696,5235,15.696]],["keywords/899",[]],["title/900",[6,66.906,7,215.722,25,45.956,51,165.365,176,252.189,184,149.858,219,256.862,315,225.08,1360,429.789,1361,371.675]],["content/900",[]],["keywords/900",[]],["title/901",[1361,1002.228]],["content/901",[4,1.264,6,1.677,46,3.95,51,2.92,58,4.469,86,4.931,109,7.89,200,4.553,205,3.17,210,8.122,219,4.536,240,3.868,264,3.538,265,4.39,299,7.589,301,2.781,311,5.227,314,7.144,438,4.57,466,6.366,473,9.083,477,13.485,478,7.589,480,4.39,496,4.931,536,4.184,537,3.999,562,7.037,582,6.845,621,8.702,660,6.845,663,9.55,674,4.469,675,5.676,701,7.589,717,5.842,718,4.952,786,5.227,878,8.002,932,5.553,996,5.523,1032,8.389,1054,8.539,1055,8.611,1087,10.678,1119,7.037,1207,7.037,1297,13.618,1361,11.792,1590,9.308,1593,10.678,1823,9.565,1961,10.298,1967,9.565,2118,8.25,2123,9.565,2182,10.678,2444,7.413,3546,12.894,3623,9.308,3624,11.284,5236,12.202,5237,12.202]],["keywords/901",[]],["title/902",[86,324.619,205,208.735,240,179.382,315,261.663,401,359.844,638,463.325,1360,499.645,1361,432.085]],["content/902",[4,1.156,5,2.409,6,2.037,30,5.249,67,4.489,88,3.825,107,2.74,121,6.703,151,3.442,162,3.944,176,4.071,184,2.419,185,3.924,205,2.899,235,6.939,240,4.992,246,3.525,264,3.234,285,7.67,291,5.342,301,2.543,310,5.05,314,5.762,315,3.634,334,3.217,385,4.086,392,5.189,393,6.001,410,7.213,413,5.778,452,5.161,477,6.498,478,11.912,496,4.508,500,7.807,512,4.567,532,6.498,533,6.315,564,5.161,656,6.632,673,5.82,675,5.189,718,6.591,719,11.167,785,3.402,826,6.15,914,5.249,921,5.778,956,7.025,1011,7.543,1012,7.67,1022,8.745,1102,8.304,1103,7.807,1207,9.368,1219,5.374,1227,7.316,1303,9.763,1326,6.857,1360,6.939,1455,10.317,1685,9.763,1719,8.745,1848,8.745,2057,7.67,2143,10.317,2639,9.35,2720,7.025,3109,9.35,3114,8.121,3898,9.763,5238,11.157,5239,11.157,5240,11.157,5241,11.157,5242,11.157,5243,11.157,5244,11.157,5245,11.157,5246,11.157,5247,11.157,5248,11.157]],["keywords/902",[]],["title/903",[7,250.785,25,53.425,33,103.882,184,174.216,477,737.328,1360,499.645,1361,432.085]],["content/903",[5,2.681,6,2.14,25,1.167,33,2.268,51,2.972,122,5.452,152,2.473,171,3.243,176,4.533,184,4.41,185,3,191,3.734,205,4.558,235,7.725,240,4.934,252,4.816,276,7.546,278,3.343,299,7.725,301,2.831,314,4.406,315,4.045,319,5.535,322,4.566,330,2.986,334,3.581,380,9.041,383,11.485,396,4.058,414,4.855,426,7.725,468,5.683,473,9.245,477,10.217,478,7.725,496,5.019,529,7.03,537,4.071,541,6.057,545,3.44,552,6.528,582,6.967,587,7.923,613,4.375,638,7.163,716,6.333,732,4.346,735,5.592,786,5.321,826,6.847,1189,10.91,1323,9.736,1360,10.91,1361,9.435,1567,9.736,5249,12.421,5250,12.421,5251,12.421,5252,12.421,5253,12.421,5254,11.485]],["keywords/903",[]],["title/904",[4,110.083,25,70.65,45,301.381,184,230.384,1361,571.393]],["content/904",[4,1.831,5,0.989,6,0.444,7,1.43,8,2.426,14,1.722,18,1.53,19,2.381,22,3.293,23,4.106,24,2.742,25,0.944,28,1.981,32,1.681,33,1.36,34,2.873,35,2.278,37,1.765,40,1.749,44,2.928,45,2.983,46,1.483,51,1.096,53,1.935,54,3.452,65,2.603,67,1.843,70,2.565,88,1.571,97,2.789,108,2.39,110,5.535,114,1.332,125,1.813,151,1.413,152,0.912,154,1.684,155,2.368,161,1.447,162,1.619,164,1.439,171,1.196,183,3.312,184,4.545,186,1.354,193,4.213,198,4.46,203,2.323,205,2.064,219,1.703,224,4.303,240,2.348,241,1.703,264,3.049,271,1.625,275,3.502,293,2.224,301,1.044,308,3.404,314,5.035,323,2.525,334,1.321,347,2.107,348,2.593,355,1.805,366,2.207,381,2.563,388,2.57,389,2.356,392,2.131,398,2.975,440,5.804,458,2.131,467,1.619,474,2.642,477,7.308,486,2.723,504,5.563,519,2.464,572,1.636,580,4.837,582,2.57,630,5.218,642,2.052,674,1.678,716,1.654,736,2.975,758,1.981,764,2.504,765,2.603,767,7.168,770,2.262,771,5.027,772,1.9,773,4.945,774,2.504,775,2.193,776,3.781,777,2.041,780,2.426,787,2.22,826,2.525,853,2.617,857,2.356,866,2.695,883,2.484,886,4.482,901,1.749,920,2.426,1024,2.155,1038,2.849,1055,3.948,1089,2.642,1157,2.723,1174,2.783,1224,2.668,1257,3.634,1300,3.654,1308,2.593,1309,5.903,1313,2.723,1320,2.464,1343,2.723,1345,2.849,1360,7.804,1361,8.365,1362,8.243,1363,8.243,1365,11.322,1367,3.704,1368,3.839,1369,4.009,1370,6.657,1371,4.009,1372,3.839,1373,3.839,1374,4.009,1377,5.869,1391,3.704,1444,4.976,1584,8.502,1585,4.236,1587,4.236,1588,3.591,1697,2.593,1713,2.484,1746,6.227,1902,2.815,2203,3.004,2502,2.277,2783,4.826,2969,3.098,3563,3.15,3586,2.642,3601,3.839,3851,4.009,3987,12.421,4832,3.267,5255,4.581,5256,4.581,5257,4.581,5258,4.581,5259,4.581,5260,4.581,5261,4.236,5262,4.581,5263,4.581]],["keywords/904",[]],["title/905",[184,340.004,735,705.949]],["content/905",[45,5.29,162,6.591,171,4.869,184,4.978,228,10.025,246,5.891,301,4.25,314,6.614,315,6.073,329,8.309,375,9.727,467,6.591,477,10.86,735,10.335,1257,8.531,1326,11.459,1361,10.029,1746,14.616]],["keywords/905",[]],["title/906",[240,350.087,826,864.293]],["content/906",[4,2.132,14,4.001,19,4.704,21,6.138,22,2.793,23,3.343,25,1.044,32,2.252,34,2.437,40,4.063,44,2.964,45,3.019,46,3.445,54,6.82,125,4.212,181,2.836,184,3.403,193,4.265,198,4.192,203,7.958,222,4.279,228,4.649,240,5.552,241,3.956,246,3.362,288,5.256,293,2.979,301,2.426,305,6.62,314,6.612,322,3.913,334,3.069,366,5.127,381,3.435,440,4.923,477,9.139,481,5.867,515,5.256,529,6.024,541,5.19,600,5.725,668,8.127,705,6.199,716,3.843,826,13.427,854,8.343,993,5.127,996,4.818,1019,6.702,1055,5.29,1147,5.867,1297,7.197,1309,7.382,1343,6.327,1360,6.62,1361,8.44,1363,8.343,1378,6.62,2603,9.314,2913,7.922,2969,7.197,3529,9.314,3580,9.842,3593,10.445,4963,8.92,5176,9.842,5261,9.842,5264,15.692]],["keywords/906",[]],["title/907",[477,913.126,2023,764.557]],["content/907",[23,4.25,32,3.178,34,3.438,54,6.527,124,7.483,151,4.633,161,6.313,164,4.716,167,6.527,172,8.661,184,4.87,240,3.353,241,5.582,347,6.908,477,14.517,826,8.278,1024,7.065,1257,6.87,1298,9.023,1362,11.771,1584,12.141,2023,7.323,3951,10.509,4185,16.746,5265,19.982]],["keywords/907",[]],["title/908",[184,258.124,225,426.689,745,650.672,1361,640.194]],["content/908",[6,1.508,7,4.863,25,1.036,33,2.014,46,5.043,69,4.863,88,5.342,151,4.806,152,3.102,171,4.068,184,3.378,191,4.683,193,6.242,205,4.048,222,4.248,225,9.283,230,4.921,241,5.791,278,5.511,334,4.492,373,4.018,395,6.55,398,5.834,473,11.596,510,7.9,622,6.322,642,6.978,716,5.624,739,10.073,745,8.516,1113,11.34,1114,7.955,1116,10.176,1309,9.631,1859,13.633]],["keywords/908",[]],["title/909",[72,746.242,134,887.422]],["content/909",[]],["keywords/909",[]],["title/910",[334,390.178,4334,1251.356,4335,1184.242]],["content/910",[4,2.091,12,7.035,23,4.237,32,3.225,45,4.322,51,3.646,110,6.721,111,5.75,112,14.833,162,5.386,164,6.336,251,8.472,257,6.825,440,7.048,477,8.874,858,7.674,901,5.816,1254,10.302,1263,10.867,4128,13.334,4335,13.334,5266,20.176,5267,15.237,5268,15.237,5269,15.237,5270,15.237,5271,15.237,5272,15.237]],["keywords/910",[]],["title/911",[112,696.684,308,343.888,504,471.004,1055,528.056,1361,571.393]],["content/911",[3,5.58,4,1.788,22,4.528,23,4.146,25,1.147,28,5.247,29,7.156,30,5.707,32,2.567,34,2.778,51,2.903,73,6.194,94,12.486,112,11.313,113,5.643,251,9.592,256,5.707,297,4.894,308,5.584,319,5.406,347,5.58,375,6.329,389,6.238,394,6.152,458,5.643,467,4.288,504,5.378,741,7.37,1024,5.707,1055,11.483,1361,11.761,1362,9.509,1363,9.509,1367,9.808,1368,10.167,1370,10.167,1372,10.167,1373,10.167,1377,5.675,1584,9.808,1796,7.37,2079,6.93,5137,15.097,5273,12.131,5274,17.252,5275,17.252,5276,12.131]],["keywords/911",[]],["title/912",[5,207.102,6,92.877,176,350.079,184,208.027,205,249.247,480,345.096]],["content/912",[4,1.295,5,3.803,6,2.262,25,1.172,45,6.286,70,4.976,87,4.342,105,6.775,155,3.724,176,7.446,184,4.425,185,3.018,192,4.201,193,5.006,205,3.247,222,3.407,255,5.093,272,5.327,293,3.498,385,4.577,437,4.904,458,5.812,480,8.72,531,6.83,532,7.277,541,6.093,553,5.597,556,4.463,564,5.78,674,4.577,732,4.372,863,7.206,906,6.775,914,5.878,932,8.016,933,9.795,934,7.679,971,7.428,1023,9.3,1035,7.591,1056,7.868,1063,10.472,1163,10.472,1191,7.97,1299,9.096,1361,6.72,1400,7.009,1631,7.072,1633,7.138,2118,8.448,5277,12.495,5278,12.495,5279,12.495,5280,12.495,5281,12.495]],["keywords/912",[]],["title/913",[191,471.331,879,610.406]],["content/913",[14,6.131,19,4.889,25,1.644,46,5.28,107,5.182,171,4.259,181,4.346,191,4.903,202,5.017,225,5.847,241,6.063,278,4.391,315,5.312,398,6.108,432,8.572,523,11.346,563,6.987,861,9.812,883,11.437,893,6.858,993,7.856,996,7.383,1360,13.12,1361,8.772,1598,11.873,2176,12.785,3722,15.082,5282,16.311,5283,16.311]],["keywords/913",[]],["title/914",[3367,897.578]],["content/914",[]],["keywords/914",[]],["title/915",[45,383.895,111,510.637,3367,651.834]],["content/915",[22,6.195,23,4.018,25,1.298,45,5.538,111,7.366,438,7.31,3367,11.37,3726,12.452,5284,19.52,5285,18.05,5286,19.52]],["keywords/915",[]],["title/916",[438,506.782,765,443.523,3367,651.834]],["content/916",[4,1.534,6,1.433,23,4.306,32,4.189,34,3.389,124,7.412,155,4.413,171,3.866,271,5.251,355,5.834,458,6.886,480,7.12,572,7.07,630,5.442,758,6.403,765,6.487,772,6.141,1276,7.839,1400,8.304,2106,8.538,2121,12.164,2495,9.322,3174,10.009,3367,11.465]],["keywords/916",[]],["title/917",[5287,1723.121]],["content/917",[4,2.216,6,2.07,22,3.58,23,4.019,25,0.907,32,2.887,34,3.123,35,3.912,58,6.858,111,5.147,112,8.945,161,4.309,162,4.822,186,4.032,198,3.644,297,5.312,308,4.415,549,7.169,630,6.883,771,5.465,773,7.379,1089,7.867,1090,10.405,1278,6.736,3367,12.002,3368,11.937,3372,15.693,4147,12.613,4480,10.153,4610,11.937,4664,12.613,4917,11.028,5288,13.641,5289,13.641,5290,13.641,5291,15.693,5292,13.641,5293,12.613,5294,12.613]],["keywords/917",[]],["title/918",[5293,1723.121]],["content/918",[6,1.789,23,3.479,32,3.911,34,4.231,88,6.337,381,5.964,510,9.372,630,6.794,771,7.405,773,7.283,1313,10.986,1993,12.496,2353,13.18,3007,15.488,3367,8.902,3372,15.488,4610,16.173,5287,17.09,5291,15.488,5295,18.481,5296,17.09]],["keywords/918",[]],["title/919",[5297,1863.425]],["content/919",[23,3.121,32,4.334,161,7.674,771,8.205,1169,9.37,3367,11.702,4442,13.241,4480,15.244,5298,16.558]],["keywords/919",[]],["title/920",[5299,1723.121]],["content/920",[23,3.216,32,4.466,161,6.666,1278,10.421,1479,11.836,3367,11.91,5300,21.102]],["keywords/920",[]],["title/921",[5299,1723.121]],["content/921",[23,3.919,32,3.843,152,3.615,164,5.702,166,9.845,183,5.719,301,4.139,356,8.446,468,8.308,569,8.911,716,6.556,734,11.374,1074,12.344,1278,8.968,3367,12.385,5301,18.159]],["keywords/921",[]],["title/922",[4480,1386.998]],["content/922",[25,1.418,630,7.837,879,8.299,1646,14.189,3367,10.268,4480,15.867,5302,21.318]],["keywords/922",[]],["title/923",[806,897.578]],["content/923",[1278,10.977,2206,16.545,3367,10.707]],["keywords/923",[]],["title/924",[771,746.606]],["content/924",[771,8.906,773,8.759,3367,10.707]],["keywords/924",[]],["title/925",[630,685.004]],["content/925",[630,8.171,773,8.759,3367,10.707]],["keywords/925",[]],["title/926",[2353,1328.96]],["content/926",[6,2.129,1219,10.594,2353,15.685,3367,10.594]],["keywords/926",[]],["title/927",[5303,1561.679]],["content/927",[6,2.273,25,1.286,68,10.164,330,5.643,381,6.241,408,6.398,773,7.621,2117,12.682,2288,15.87,2334,15.159,3367,11.306,5303,19.671]],["keywords/927",[]],["title/928",[5304,1863.425]],["content/928",[277,12.684,1219,12.199,3367,10.594]],["keywords/928",[]],["title/929",[468,852.533]],["content/929",[23,3.091,32,4.292,34,4.643,161,6.407,468,9.278,549,10.658,1116,10.08,1444,9.596,3367,11.634,5298,16.396,5305,20.28]],["keywords/929",[]],["title/930",[5306,1863.425]],["content/930",[6,1.855,23,3.836,32,4.939,34,4.387,161,6.053,167,8.328,549,10.07,1116,9.524,3367,9.229,5291,21.095,5298,15.491,5307,16.768,5308,19.161]],["keywords/930",[]],["title/931",[5294,1723.121]],["content/931",[6,1.872,23,3.852,32,4.967,34,4.428,161,6.109,549,10.164,1116,9.612,3367,9.315,5296,17.883,5298,15.635,5307,16.924,5309,19.339,5310,19.339,5311,19.339]],["keywords/931",[]],["title/932",[5312,1863.425]],["content/932",[4,0.932,5,3.634,6,1.63,22,3.627,23,4.223,24,3.103,25,0.598,32,4.315,34,3.854,35,2.578,36,4.69,37,2.826,45,2.55,51,2.151,52,2.477,72,4.279,161,2.84,171,2.348,176,3.281,186,2.657,187,5.525,193,3.602,198,3.691,201,3.472,224,2.726,230,2.84,271,3.189,297,2.55,308,4.473,330,2.161,355,3.543,356,4.182,373,2.318,375,4.69,407,4.384,408,2.974,455,4.304,458,4.182,507,5.591,549,4.725,572,3.211,600,4.835,630,3.305,659,4.135,674,3.293,742,11.158,758,3.888,765,2.946,772,3.729,773,3.543,827,5.525,944,5.043,1116,4.469,1628,5.289,1793,7.867,1827,5.043,1872,7.432,1965,6.291,2079,5.136,2085,8.313,2121,5.525,3367,11.432,4028,8.129,4029,4.69,4032,7.867,4611,8.313,5285,8.313,5298,7.268,5307,7.867,5313,8.99,5314,13.819,5315,13.819,5316,13.819,5317,8.313]],["keywords/932",[]],["title/933",[1276,986.75]],["content/933",[]],["keywords/933",[]],["title/934",[198,418.827,224,475.386]],["content/934",[4,1.683,23,4.253,32,2.361,34,2.554,35,3.199,44,4.523,45,3.165,69,3.483,124,4.178,151,6.898,152,2.221,174,6.632,198,4.339,222,3.042,224,6.779,225,3.999,241,7.119,246,3.525,467,9.038,490,4.433,556,3.985,561,5.249,571,7.316,572,3.985,765,3.657,843,5.05,901,6.2,1040,7.117,1309,5.249,1704,7.025,1916,10.317,2023,5.44,2106,6.434,2121,6.857,2495,7.025,2496,8.121,2953,7.316,3174,7.543,3367,7.824,3739,9.35,3756,9.02,4421,9.02,4458,9.35,4620,14.61,4705,10.317,4876,9.763,5318,9.02]],["keywords/934",[]],["title/935",[35,534.362]],["content/935",[4,1.882,33,2.92,35,7.048,65,5.952,88,7.743,204,8.592,224,7.796,361,10.186,474,10.473,879,7.07,942,10.911,2203,11.908,2568,12.707,3446,16.792,4643,14.234,5319,18.159,5320,16.792]],["keywords/935",[]],["title/936",[765,610.733]],["content/936",[4,1.985,25,1.552,152,3.815,189,9.784,193,7.677,217,6.845,222,5.225,224,5.81,590,8.17,674,7.018,695,9.463,765,8.586,1224,13.593]],["keywords/936",[]],["title/937",[151,483.714,4620,1195.939]],["content/937",[151,6.137,174,11.825,224,6.032,572,7.106,590,8.482,716,7.182,861,9.253,901,7.594,1040,12.689,1192,12.372,2512,16.672,3367,9.582,4620,15.174,5321,19.893]],["keywords/937",[]],["title/938",[435,852.533]],["content/938",[65,6.647,174,12.055,219,7.538,271,7.194,435,11.05,765,6.647,861,9.433,1444,9.596,2079,11.585,2496,14.763,4458,16.996]],["keywords/938",[]],["title/939",[33,202.738,224,475.386]],["content/939",[23,4.105,32,4.58,33,2.799,34,3.887,35,4.868,124,6.357,154,6.24,164,5.331,198,4.535,224,7.608,496,6.859,765,5.564,768,9.697,780,8.989,1098,13.306,1169,7.766,1337,14.226,2121,10.432,5322,21.643,5323,16.975]],["keywords/939",[]],["title/940",[151,574.895]],["content/940",[]],["keywords/940",[]],["title/941",[23,238.957,183,493.826]],["content/941",[6,1.699,23,2.674,116,7.246,154,6.45,161,5.543,164,7.976,183,6.961,224,5.32,330,4.219,356,8.162,468,8.028,545,4.86,630,6.45,722,8.838,736,6.571,787,8.504,5324,17.547,5325,23.487,5326,17.547,5327,17.547,5328,17.547]],["keywords/941",[]],["title/942",[787,903.071]],["content/942",[4,1.865,23,3.423,32,3.81,33,2.328,34,4.122,35,5.162,152,3.584,161,5.687,162,7.939,224,5.458,425,6.476,480,8.08,737,6.052,765,5.9,787,8.724,806,8.671,1278,8.89,2023,8.778,3778,10.816,3781,11.483,4515,11.196,4663,14.554]],["keywords/942",[]],["title/943",[5329,1723.121]],["content/943",[4,1.614,23,3.12,32,3.297,34,3.567,35,4.467,88,5.342,152,4.553,155,4.644,161,4.921,162,5.507,224,4.724,225,5.585,278,4.194,382,8.011,385,5.706,458,7.246,474,8.985,556,5.565,569,7.645,787,9.922,806,7.504,858,7.847,901,5.947,993,7.504,1169,10.462,1204,8.011,1278,7.693,1337,13.056,1417,8.516,1856,11.34,1859,13.633,2779,9.574,3778,9.36,3781,9.937,4515,9.689,5329,14.406,5330,15.579]],["keywords/943",[]],["title/944",[4252,1630.706]],["content/944",[4,1.343,23,4.068,32,2.743,34,2.968,35,5.183,61,6.971,68,6.812,69,4.046,103,5.776,152,4.143,154,6.644,161,6.575,164,4.07,201,5.006,225,4.646,301,2.954,381,4.183,490,5.15,543,4.8,545,3.59,572,6.457,736,4.854,772,5.376,787,10.912,792,7.475,1149,11.343,1278,8.926,1377,11.472,1479,7.27,1779,8.911,1796,7.875,2023,6.321,2301,8.268,3196,14.168,4252,15.818,4515,11.242,5331,12.962,5332,12.962,5333,12.962,5334,11.986,5335,10.863]],["keywords/944",[]],["title/945",[5336,1863.425]],["content/945",[4,1.976,14,5.266,23,4.21,32,4.035,34,4.366,62,6.001,63,3.072,125,5.543,152,3.796,161,4.425,164,4.399,177,7.203,201,5.41,293,3.921,381,4.52,427,5.149,468,9.918,490,5.566,543,7.061,572,5.004,771,5.612,792,8.078,1155,9.471,1204,7.203,1278,10.706,1377,8.919,1479,7.857,3196,14.947,5337,19.068,5338,14.007,5339,14.007,5340,14.007,5341,14.007]],["keywords/945",[]],["title/946",[5342,1630.706]],["content/946",[23,3.498,32,3.946,34,4.269,35,5.347,152,3.712,161,5.891,162,6.591,224,5.654,291,8.928,787,9.037,806,8.982,1169,8.531,1278,9.208,2000,13.879,2058,11.894,3778,11.204,4515,11.597,5335,15.627,5343,17.243,5344,18.646]],["keywords/946",[]],["title/947",[4253,1723.121]],["content/947",[23,4.269,32,3.178,34,3.438,35,5.73,63,3.293,69,4.688,86,6.068,88,5.149,152,2.99,154,5.52,161,4.744,201,5.8,272,6.403,373,5.153,512,6.147,806,7.233,1278,9.868,1377,9.347,1479,8.423,3196,15.663,3778,9.023,3781,9.579,4515,12.428,5334,13.886,5335,12.585,5342,17.487,5345,15.017]],["keywords/947",[]],["title/948",[5346,1723.121]],["content/948",[9,6.081,23,3.862,32,2.813,34,3.043,35,3.812,46,4.303,76,7.901,88,6.307,147,8.479,148,7.666,152,3.662,164,5.776,189,6.787,201,5.134,225,4.765,229,7.456,373,5.87,452,6.148,464,9.894,484,7.456,545,3.682,630,4.886,785,6.432,1166,8.717,1278,6.564,1298,7.987,1377,8.604,1417,7.266,1697,7.524,1796,8.076,2252,8.076,2381,9.676,2671,8.717,2769,10.139,2779,8.169,4419,12.292,4515,8.267,5342,20.913,5347,12.292,5348,11.14,5349,13.292,5350,18.394,5351,22.762]],["keywords/948",[]],["title/949",[642,834.662]],["content/949",[4,1.915,23,3.775,32,3.911,34,4.231,152,3.679,224,5.604,493,11.494,642,11.096,805,12.119,861,8.596,901,7.055,1049,11.358,3174,12.496,4652,12.933,5352,17.09,5353,18.481,5354,18.481,5355,18.481]],["keywords/949",[]],["title/950",[800,1303.973]],["content/950",[4,1.614,23,3.702,35,4.467,151,4.806,152,5.023,161,4.921,164,6.429,172,8.985,222,4.248,224,4.724,273,3.416,481,8.588,557,6.19,642,10.243,736,7.667,804,7.55,861,7.246,862,9.81,901,5.947,1417,11.191,3564,11.11,3778,9.36,4766,13.633,5352,14.406,5356,15.579,5357,15.579,5358,20.473,5359,18.932,5360,15.579]],["keywords/950",[]],["title/951",[4176,1561.679]],["content/951",[23,3.986,32,4.035,34,3.207,53,5.917,62,6.001,63,3.072,68,7.362,69,4.373,88,4.803,152,4.633,161,7.352,172,8.078,188,7.857,201,5.41,215,7.362,373,3.612,556,5.004,557,5.566,642,8.541,771,8.686,800,9.802,804,6.788,809,6.917,894,5.368,1085,11.739,1169,6.409,1417,10.423,1614,11.882,2117,9.186,2321,8.82,2768,9.802,2769,10.685,4176,11.739,5361,14.007,5362,14.007,5363,14.007,5364,14.007]],["keywords/951",[]],["title/952",[5365,1561.679]],["content/952",[4,2.254,22,5.71,23,3.836,25,1.138,45,4.855,111,6.458,151,5.28,152,3.407,158,10.777,164,5.374,198,4.572,217,7.771,224,5.189,458,7.961,3726,10.917,5365,14.343,5366,14.343,5367,18.233,5368,15.826,5369,15.826,5370,15.826,5371,17.115,5372,15.826,5373,14.977]],["keywords/952",[]],["title/953",[5366,1561.679]],["content/953",[4,1.95,22,6.553,23,2.868,33,2.433,68,9.888,116,7.77,151,5.805,152,3.746,164,5.908,169,16.465,217,6.721,224,5.705,716,6.793,787,9.118,4468,16.465,5367,19.344,5374,18.815]],["keywords/953",[]],["title/954",[468,852.533]],["content/954",[6,1.838,23,2.894,34,4.347,134,10.746,152,3.78,166,10.294,198,5.072,224,7.037,271,6.735,407,9.258,468,11.469,493,11.808,765,6.223,2779,11.668,5375,18.986,5376,18.986]],["keywords/954",[]],["title/955",[1726,1002.228]],["content/955",[2,6.593,6,2.175,34,4.122,183,5.67,184,3.904,191,5.412,198,4.809,224,7.422,427,6.618,452,8.327,468,8.236,569,8.834,572,6.43,607,9.76,809,8.89,843,8.148,1332,9.682,1337,15.087,2783,10.937,3320,14.111,5377,18.002,5378,18.002]],["keywords/955",[]],["title/956",[23,206.245,5379,1353.247,5380,1353.247]],["content/956",[34,5.034,46,5.632,51,4.164,64,11.765,69,5.432,111,6.566,151,5.368,164,6.904,182,3.472,192,5.85,224,6.666,281,8.525,373,4.487,413,9.012,468,11.027,745,9.512,1111,11.963,1726,11.825,5381,17.4,5382,21.986,5383,17.4]],["keywords/956",[]],["title/957",[5384,1863.425]],["content/957",[23,3.121,32,4.334,124,7.669,161,7.674,427,7.528,572,7.316,1257,9.37,1276,10.845,2303,11.015,5385,20.48]],["keywords/957",[]],["title/958",[3769,1421.376]],["content/958",[4,1.369,6,1.279,7,5.717,10,5.226,22,3.466,23,2.791,25,1.218,33,2.935,45,3.747,51,3.161,149,5.479,151,4.075,154,6.732,198,6.064,224,6.374,271,4.685,301,4.174,311,5.658,366,6.362,425,6.588,427,6.732,452,6.109,458,6.144,468,8.378,469,14.355,572,4.718,694,6.565,703,7.843,716,6.612,763,6.744,843,5.978,901,5.042,1058,6.84,1169,6.043,1178,8.931,1276,11.132,1891,9.243,2062,12.189,2252,8.025,3863,17.618,3864,11.069,5318,10.679]],["keywords/958",[]],["title/959",[843,843.452]],["content/959",[]],["keywords/959",[]],["title/960",[782,1096.24]],["content/960",[22,4.723,23,4.182,24,7.16,25,0.857,32,2.726,33,1.666,34,2.949,35,5.161,37,2.163,50,7.101,54,7.822,124,7.768,151,3.974,174,10.698,198,3.441,241,4.788,275,4.289,286,7.916,355,5.076,408,4.262,467,8.352,600,13.165,764,7.042,776,8.566,777,5.74,779,8.574,879,5.015,981,10.281,1077,7.291,1256,10.186,1257,5.893,1400,10.095,1704,8.111,1814,8.111,1942,10.097,3263,10.796]],["keywords/960",[]],["title/961",[35,534.362]],["content/961",[1,7.819,4,2.29,6,2.14,33,2.858,35,6.338,37,2.946,84,9.364,88,7.578,89,11.049,116,7.246,122,7.702,204,8.303,219,6.522,408,5.806,432,9.222,474,10.12,590,7.481,716,6.335,773,6.915,843,7.942,2131,10.543,2203,11.507,2720,11.049]],["keywords/961",[]],["title/962",[37,312.842]],["content/962",[3,5.132,4,2.558,5,2.409,6,1.08,7,3.483,8,5.908,19,3.344,22,4.263,23,3.948,24,5.607,25,0.742,32,3.437,33,1.443,34,3.719,35,4.658,36,8.473,37,3.216,40,7.311,41,7.543,46,3.611,51,3.887,63,3.562,65,6.277,67,4.489,122,7.129,152,2.221,188,6.258,201,4.309,234,5.161,260,9.919,275,5.408,278,3.003,297,3.165,314,3.958,334,3.217,355,4.397,396,3.645,399,6.099,408,7.721,504,7.201,661,7.117,776,7.731,777,7.238,920,8.601,958,5.161,1261,7.117,2389,9.35,5386,10.317,5387,15.02,5388,11.157,5389,10.317]],["keywords/962",[]],["title/963",[1400,1045.231]],["content/963",[4,2.004,14,7.27,33,2.501,171,5.05,193,7.748,222,5.273,224,5.864,480,8.444,674,7.083,737,6.502,773,7.621,1400,13.166,2354,16.207,4455,16.924,5390,19.339]],["keywords/963",[]],["title/964",[1256,1054.703]],["content/964",[7,4.463,8,7.57,12,4.985,19,4.285,33,1.849,51,3.421,58,5.236,69,4.463,70,3.486,88,6.629,99,6.811,116,7.984,124,5.354,140,11.206,171,5.048,198,3.819,204,6.764,219,7.186,222,3.898,246,4.516,264,6.351,298,7.015,301,3.258,311,6.124,427,8.627,432,10.161,438,5.354,504,6.338,506,7.751,736,8.788,1178,14.811,1205,11.206,1256,8.091,1257,6.54,1392,11.558,1398,9.002,1444,6.764,5391,14.296,5392,14.296]],["keywords/964",[]],["title/965",[981,1064.513]],["content/965",[4,1.677,25,1.396,33,2.714,44,4.506,54,7.034,62,6.933,63,4.603,124,6.061,171,4.226,177,8.322,180,7.445,183,6.611,215,11.031,228,7.068,246,5.113,271,5.741,273,4.603,382,8.322,401,7.249,514,7.524,543,5.993,545,4.483,648,10.191,706,8.264,981,11.99,982,8.636,1444,7.658,2172,10.943,5393,14.965,5394,16.184]],["keywords/965",[]],["title/966",[4214,1630.706]],["content/966",[1,5.602,14,4.725,20,5.631,23,3.568,24,6.107,25,0.836,32,3.744,33,1.625,34,4.051,35,5.87,37,2.97,63,2.757,67,5.058,69,5.523,88,7.019,124,8.32,154,4.621,171,5.345,198,4.726,203,6.375,296,9.357,382,6.464,396,5.78,427,6.503,484,7.051,487,7.916,531,6.872,776,8.42,779,11.775,843,5.69,1112,7.472,1298,7.553,1377,5.88,1398,7.916,1444,5.948,1648,8.796,1792,8.642,1796,10.748,1872,6.761,1983,9.15,2560,8.243,2950,11.001,4195,11.001,4197,11.001,4214,20.49,5395,12.57,5396,11.624]],["keywords/966",[]],["title/967",[5397,1723.121]],["content/967",[23,3.972,24,7.172,32,4.397,34,4.758,35,5.959,37,3.489,88,5.464,124,7.782,154,5.858,198,4.257,407,7.771,427,5.858,637,9.104,776,9.89,779,13.831,843,7.213,1726,12.436,4195,20.234,4197,13.946,5393,14.736,5397,19.215,5398,15.936]],["keywords/967",[]],["title/968",[5399,1723.121]],["content/968",[4,1.303,6,1.217,7,5.523,8,6.657,9,5.751,19,3.768,22,3.299,23,4,24,4.339,25,0.836,32,2.66,34,2.878,44,3.5,51,3.008,54,5.463,65,4.12,87,4.368,131,6.375,151,7.224,161,5.589,280,8.019,293,3.519,297,3.566,308,4.069,355,4.954,373,4.562,381,4.056,396,4.107,510,6.375,549,6.606,592,7.637,674,6.48,772,5.214,773,8.067,1074,6.872,1116,6.248,1377,5.88,1617,6.558,2334,18.353,3862,11.624,4146,11.624,5303,10.535,5399,11.624,5400,12.57,5401,12.57,5402,12.57,5403,12.57,5404,12.57,5405,12.57,5406,12.57,5407,12.57,5408,11.624]],["keywords/968",[]],["title/969",[901,711.307]],["content/969",[]],["keywords/969",[]],["title/970",[23,238.957,183,493.826]],["content/970",[116,8.457,154,7.528,161,6.47,164,6.431,183,6.45,230,6.47,356,9.526,722,10.315,843,9.27,5325,18.938,5409,20.48]],["keywords/970",[]],["title/971",[5365,1561.679]],["content/971",[4,2.142,6,2.002,22,5.426,23,3.723,25,1.052,33,2.045,45,4.487,111,5.968,124,5.923,151,4.879,152,3.149,158,9.959,164,4.966,172,9.121,174,9.401,198,4.225,217,7.386,224,4.795,458,7.356,480,5.689,737,5.317,1649,12.397,1690,11.279,3726,10.088,5365,13.254,5366,13.254,5367,17.328,5368,14.624,5369,14.624,5370,14.624,5372,14.624,5373,13.84,5410,15.815]],["keywords/971",[]],["title/972",[5366,1561.679]],["content/972",[4,2.081,22,6.302,23,3.061,33,3.105,151,6.196,164,6.307,217,7.174,4468,17.576,5367,20.125,5411,20.085]],["keywords/972",[]],["title/973",[2111,1240.307]],["content/973",[18,7.049,33,2.729,84,11.261,222,5.754,230,6.666,674,7.729,1268,10.929,1317,14.767]],["keywords/973",[]],["title/974",[3759,1460.68]],["content/974",[161,6.735,549,11.204,843,9.649,912,11.121,1116,10.596,3758,13.258,4040,14.189]],["keywords/974",[]],["title/975",[5412,1723.121]],["content/975",[4,1.523,22,5.17,23,4.082,33,3.069,46,4.758,161,4.644,164,6.186,172,8.477,189,7.506,301,3.35,373,5.08,381,4.743,456,17.239,549,7.725,972,9.639,1116,7.306,1155,13.319,1157,11.71,1427,7.844,1637,12.319,1814,9.256,2114,9.639,2281,9.784,2445,12.864,3770,14.662,3772,13.593,3963,15.026,5413,14.699,5414,14.699,5415,19.699,5416,14.699]],["keywords/975",[]],["title/976",[1726,1002.228]],["content/976",[2,6.427,6,2.14,24,6.057,33,3.385,34,4.018,161,5.543,183,5.527,184,3.805,191,5.275,198,4.687,427,6.45,452,8.116,468,8.028,549,9.222,572,6.268,607,9.514,1116,8.722,1332,9.438,1726,13.014,2783,10.661,5417,16.226]],["keywords/976",[]],["title/977",[468,852.533]],["content/977",[4,2.27,5,3.086,6,2.121,14,5.374,18,4.775,22,3.752,23,3.339,25,0.951,33,2.833,34,3.273,37,3.246,70,3.486,107,3.511,152,2.846,191,4.298,198,3.819,275,4.76,385,7.081,407,6.971,427,8.053,435,6.54,468,10.022,507,8.891,561,6.725,607,7.751,843,8.751,944,8.019,1656,12.868,1992,11.558,2502,7.106,2723,13.219,2779,8.786,5418,14.296,5419,14.296,5420,21.906,5421,13.219,5422,13.219]],["keywords/977",[]],["title/978",[5423,1723.121]],["content/978",[22,5.123,23,3.867,25,1.298,32,4.131,124,7.31,161,7.457,427,7.176,572,6.973,843,8.835,1257,8.931,2303,10.499,5423,18.05,5424,19.52]],["keywords/978",[]],["title/979",[224,564.997]],["content/979",[7,5.013,23,4.052,32,3.399,34,3.677,51,3.843,116,9.584,164,6.558,281,6.227,427,7.677,468,7.347,569,7.88,734,12.378,765,5.263,768,9.174,843,7.269,1170,8.2,1276,11.059,1987,12.249,2121,9.869,2495,10.112,2502,7.982,3431,14.85,3767,11.69,5425,16.059,5426,16.059]],["keywords/979",[]],["title/980",[107,214.787,180,402.245,185,211.234,264,253.505,315,284.809,622,354.85,1329,443.427]],["content/980",[]],["keywords/980",[]],["title/981",[310,538.773,315,387.69,1329,603.606,2628,907.934]],["content/981",[4,1.347,6,1.754,12,2.897,19,2.491,25,1.307,33,1.074,37,1.395,40,3.172,46,4.208,51,3.832,52,2.289,53,3.51,69,2.594,70,2.026,88,4.457,103,7.135,107,3.193,154,3.054,176,4.744,181,4.267,182,1.658,184,2.819,186,4.733,196,2.586,198,2.22,205,5.108,206,5.7,220,7.368,225,4.66,230,2.625,240,1.855,243,3.822,246,2.625,260,4.303,264,2.409,278,3.499,280,5.3,281,5.041,290,6.338,297,4.543,301,1.894,310,3.761,311,3.559,314,2.947,315,5.899,322,4.779,330,1.998,364,4.505,372,5.372,373,3.352,382,4.272,385,3.043,388,4.661,394,6.592,397,5.3,421,6.732,440,6.013,484,4.661,486,9.518,490,5.165,513,4.939,514,2.978,520,3.761,545,3.601,552,4.367,553,3.722,579,5.372,582,4.661,587,5.3,706,4.243,718,3.372,742,3.761,792,4.792,874,3.684,894,3.184,994,4.469,1053,6.513,1160,8.12,1189,9.959,1296,6.718,1329,8.12,1422,5.814,1564,5.3,1650,4.939,1713,4.505,1850,5.926,2025,6.718,2057,5.712,2089,5.449,2098,5.232,2130,5.449,2161,6.338,2303,4.469,2741,6.338,2876,7.271,3023,7.683,3190,7.683,3785,6.963,5427,8.309,5428,8.309,5429,8.309,5430,8.309,5431,8.309,5432,8.309,5433,8.309]],["keywords/981",[]],["title/982",[152,236.98,315,387.69,659,547.547,1329,603.606]],["content/982",[18,8.603,23,2.651,46,3.973,65,4.023,82,8.589,134,6.947,162,7.77,171,3.205,184,2.662,205,6.579,225,4.4,230,3.878,246,3.878,330,5.285,347,8.002,380,18.039,458,5.709,580,5.646,659,5.646,1024,5.774,1116,6.101,1177,14.261,1278,6.062,1310,7.148,1339,5.498,2131,7.375,2667,10.287,2692,16.238,2720,7.729,3642,18.422,5434,16.086,5435,18.685,5436,12.274,5437,12.274,5438,12.274,5439,12.274]],["keywords/982",[]],["title/983",[315,387.69,579,769.603,659,547.547,1329,603.606]],["content/983",[4,1.005,18,4.892,23,4.345,40,3.703,62,4.156,63,2.128,65,3.18,152,4.199,154,3.566,161,6.663,164,4.599,183,3.056,184,3.176,204,4.591,205,4.583,206,3.453,225,5.25,229,5.442,230,6.207,240,3.27,373,2.502,380,12.84,394,4.92,483,7.876,513,10.486,579,6.273,580,4.463,592,8.897,600,5.218,716,3.503,734,4.887,879,3.777,901,5.59,1074,5.303,1177,9,1309,4.564,1339,4.346,1479,8.214,1872,5.218,2303,5.218,3684,11.806,3764,7.062,4442,6.273,4485,7.844,5015,8.131,5440,12.815,5441,9.702,5442,9.702,5443,9.702,5444,8.971]],["keywords/983",[]],["title/984",[2886,1077.888,3684,942.051]],["content/984",[4,1.976,18,4.679,19,4.199,107,3.441,114,4.072,116,5.784,152,4.633,161,4.425,183,4.412,184,4.135,191,4.211,204,6.628,205,3.639,220,7.663,229,10.695,240,3.128,319,6.242,388,7.857,389,7.203,397,8.935,425,5.039,457,9.471,483,7.534,580,6.444,737,6.411,771,5.612,786,6.001,827,8.608,919,9.802,1024,6.59,1332,7.534,1339,6.274,1479,7.857,1811,10.196,1872,7.534,2303,7.534,2693,9.99,2717,10.685,2886,13.109,3684,15.441,3764,10.196,5440,12.258]],["keywords/984",[]],["title/985",[116,647.46,183,493.826]],["content/985",[10,5.433,25,0.913,49,6.459,79,7.271,116,9.983,181,3.658,183,4.325,184,2.978,205,6.281,220,8.158,240,3.066,293,3.843,301,3.129,314,4.871,315,4.472,319,9.561,330,3.301,373,3.541,375,7.163,381,4.431,388,7.702,398,5.142,455,6.574,580,6.316,616,9.608,716,4.957,734,9.474,741,8.342,912,7.163,1024,6.459,1332,7.385,1564,8.758,1872,7.385,2098,8.646,2424,11.101,2751,14.744,2886,12.931,3684,12.891,3951,9.608,5015,19.341]],["keywords/985",[]],["title/986",[6,131.019,240,302.163,3961,1184.242]],["content/986",[4,1.94,6,1.32,9,4.043,18,2.952,19,2.649,23,3.797,25,0.588,32,1.87,33,1.143,44,2.461,54,3.841,65,4.47,88,3.03,107,2.171,124,3.31,152,4.887,155,4.964,162,3.124,171,3.561,173,5.253,174,5.253,184,4.06,192,2.971,204,4.182,220,3.124,228,3.86,229,9.341,230,5.915,243,6.273,301,3.108,319,3.938,330,2.125,341,9.899,347,4.065,361,4.957,381,4.401,425,3.179,427,5.013,467,3.124,520,6.173,557,3.511,580,4.065,652,7.973,711,3.75,737,6.802,770,4.364,809,10.558,827,5.431,953,6.578,967,6.433,1024,4.158,1074,4.831,1114,4.513,1160,4.482,1169,4.043,1175,5.565,1177,5.431,1183,4.872,1257,4.043,1280,6.927,1283,7.406,1309,4.158,1339,3.958,1614,4.513,1831,7.406,1889,5.565,2146,6.433,2321,5.565,2330,11.026,2381,6.433,2444,5.369,2669,9.221,2677,9.543,2693,6.303,3684,8.194,3887,9.376,4063,8.172,4879,6.578,5202,8.172,5440,7.734,5445,8.838,5446,8.838,5447,8.838,5448,8.838,5449,8.838]],["keywords/986",[]],["title/987",[225,562.039,278,422.052]],["content/987",[4,1.039,18,8.326,23,3.422,54,4.359,67,4.035,69,3.131,88,5.148,152,3.583,154,6.615,155,2.989,162,3.545,171,2.619,181,4,184,2.175,198,4.011,205,5.191,225,8.049,228,4.38,230,3.168,240,2.239,241,5.581,267,8.405,301,3.422,330,2.411,380,16.345,387,5.841,388,5.625,455,4.802,483,5.394,484,5.625,661,9.577,772,4.16,857,5.157,1109,5.194,1113,7.3,1114,5.121,1116,4.985,1173,5.961,1220,5.729,1276,5.311,1309,9.399,1332,5.394,1339,4.492,1388,6.397,1438,12.138,2058,6.397,2079,5.729,2308,6.315,2598,7.65,3014,9.274,3564,7.152,3642,15.081,3859,7.465,3951,7.018,4421,8.108,5318,8.108,5434,13.883,5435,13.883,5444,9.274,5450,22.454,5451,17.995,5452,17.995,5453,10.029]],["keywords/987",[]],["title/988",[1342,1259.934]],["content/988",[4,1.263,5,0.578,6,0.817,14,1.848,18,2.82,19,0.803,22,1.29,23,4.329,25,0.738,32,2.785,34,2.256,44,1.897,46,0.867,51,1.176,54,3.669,65,0.878,69,2.127,73,1.368,116,4.07,122,1.176,124,4.929,147,3.136,148,3.929,151,0.826,152,3.545,154,3.623,161,3.113,162,2.408,164,3.484,167,2.137,171,2.574,172,1.545,173,1.592,180,2.261,181,1.31,183,1.548,184,4.054,185,2.039,192,0.901,193,1.97,198,0.716,201,1.035,205,1.77,206,1.75,220,3.484,222,0.73,224,0.812,225,1.762,228,1.17,229,1.502,230,0.846,240,2.477,241,2.532,246,0.846,264,0.777,281,1.906,293,0.75,301,1.924,307,3.929,311,1.147,315,1.601,319,1.194,330,1.182,335,1.91,347,5.607,356,4.584,364,1.452,373,1.268,381,2.199,387,1.56,388,1.502,397,3.136,398,1.841,400,1.206,425,1.769,427,1.807,452,1.239,455,1.282,458,2.287,467,4.653,490,1.953,513,2.922,516,1.377,520,1.212,557,2.707,580,4.534,590,1.142,600,1.441,616,1.874,630,0.985,645,2.892,648,1.687,652,6.302,711,1.137,734,2.476,735,2.213,736,1.003,737,2.838,741,1.627,745,1.464,758,2.126,771,3.382,772,1.111,806,1.29,809,6.019,861,1.246,879,1.043,886,2.434,894,1.026,901,1.022,910,2.741,950,3.272,958,1.239,1024,5.219,1055,1.331,1109,1.387,1114,6.223,1173,1.592,1176,1.53,1191,1.709,1220,1.53,1256,1.516,1257,4.509,1268,1.387,1276,1.418,1309,4.636,1317,1.874,1320,3.664,1332,2.644,1339,3.052,1342,4.607,1343,1.592,1345,4.237,1347,3.057,1350,2.043,1351,1.994,1353,5.71,1354,5.129,1359,2.043,1377,1.253,1479,2.757,1511,1.95,1526,1.464,1540,1.666,1564,3.136,1580,1.994,1602,1.627,1614,1.368,1726,1.441,1779,1.841,1803,1.994,1827,1.502,1872,3.664,1889,1.687,1993,1.811,2062,1.783,2203,1.757,2241,2.043,2303,2.644,2444,1.627,2502,2.444,2589,1.646,2669,1.811,2693,4.859,2720,1.687,2733,1.91,2751,2.1,2886,1.841,2912,1.666,2927,3.096,2979,1.811,3114,3.579,3560,1.95,3567,4.302,3569,2.477,3573,2.477,3575,2.344,3586,1.545,3642,7.075,3684,5.922,3709,2.245,3756,2.166,3758,3.057,3759,5.341,3764,1.95,3887,5.804,4051,1.757,4222,3.975,4349,1.91,4442,1.732,4638,4.546,4667,4.12,4822,1.592,4879,1.994,4989,2.477,5015,2.245,5037,2.477,5041,2.477,5128,2.477,5454,2.679,5455,2.679,5456,2.679,5457,2.679,5458,2.679,5459,2.477,5460,2.679,5461,2.679,5462,2.679,5463,2.679,5464,2.679,5465,2.679,5466,2.679,5467,4.916,5468,4.916,5469,2.477,5470,2.679,5471,2.679,5472,2.679,5473,2.679,5474,2.679,5475,2.679,5476,4.916,5477,4.916,5478,2.679,5479,2.679,5480,2.679,5481,2.679,5482,2.679,5483,2.679,5484,2.679,5485,2.679]],["keywords/988",[]],["title/989",[281,524.746,297,383.895,379,619.122]],["content/989",[4,2.101,12,5.352,22,4.028,25,1.348,33,1.985,44,4.274,45,4.354,51,4.851,62,6.575,63,3.366,69,4.791,171,5.928,177,7.893,184,4.923,201,5.928,246,4.849,281,8.803,373,5.855,379,7.022,427,8.345,504,6.805,716,5.541,782,9.03,1169,7.022,1256,8.688,1257,9.275,1547,10.216,2088,10.947,3758,9.546,3759,12.032,4040,10.216]],["keywords/989",[]],["title/990",[278,422.052,1377,733.4]],["content/990",[4,2.012,6,1.684,12,3.306,19,2.842,23,3.481,25,0.631,67,3.815,79,5.021,86,3.831,111,3.578,122,4.161,125,3.752,152,3.866,164,4.519,166,5.14,184,3.121,205,3.739,222,2.585,229,5.318,230,6.135,240,2.117,278,4.682,287,4.713,301,2.161,310,4.291,334,2.734,347,4.361,356,4.41,427,5.29,446,7.057,455,4.539,457,6.411,463,6.762,474,5.468,476,5.76,568,5.578,572,3.387,580,8.001,652,8.328,734,4.775,737,6.529,745,5.183,771,3.799,919,6.635,1024,4.46,1048,7.665,1058,7.453,1113,6.902,1204,4.875,1220,8.221,1332,7.74,1339,7.791,1377,11.007,1547,6.311,1779,9.894,1889,5.97,1890,7.432,1988,7.665,2062,9.579,2175,7.057,2179,7.232,2239,12.662,2429,10.264,2502,4.713,2767,8.767,2978,8.297,3280,11.635,3746,7.946,4109,8.297,4917,11.635,5064,13.308,5486,9.481,5487,9.481,5488,9.481,5489,8.767,5490,9.481,5491,9.481,5492,9.481,5493,9.481]],["keywords/990",[]],["title/991",[932,847.955]],["content/991",[4,1.967,184,4.117,205,6.514,206,6.758,220,8.205,330,4.565,361,10.65,413,9.833,737,6.383,939,15.35,1175,11.956,1889,11.956,2058,12.111,2693,13.541,2728,14.482,2771,14.482]],["keywords/991",[]],["title/992",[4832,1328.96]],["content/992",[4,2.187,151,6.51,161,6.666,183,6.646,184,4.576,252,8.183,1342,14.268,4832,15.05]],["keywords/992",[]],["title/993",[183,586.914]],["content/993",[23,3.745,124,7.274,152,3.867,164,7.717,183,6.118,184,4.767,285,9.896,347,6.622,373,5.009,455,6.892,652,9.3,716,7.012,734,12.377,772,5.971,1024,6.772,1175,9.064,1257,8.886,1309,6.772,1339,6.448,1377,6.733,2088,10.266,4349,10.266,4832,10.266,5359,17.961,5494,14.395,5495,14.395,5496,14.395,5497,14.395,5498,14.395,5499,19.423,5500,14.395]],["keywords/993",[]],["title/994",[4878,1561.679]],["content/994",[34,5.17,49,8.543,107,4.46,161,5.737,184,5.576,301,4.139,361,10.186,458,8.446,464,13.516,549,9.543,786,9.673,1116,9.026,1444,10.685,2088,12.951,3196,14.234,4349,12.951,4878,15.218,5501,18.159]],["keywords/994",[]],["title/995",[5502,1723.121]],["content/995",[4,1.799,5,1.661,6,0.745,14,4.6,18,2.57,19,2.307,23,3.817,25,0.512,32,1.628,34,5.026,54,3.344,124,6.5,125,3.045,148,10.01,149,5.075,152,1.532,155,2.294,161,2.431,164,4.783,176,2.808,181,2.05,182,2.441,183,3.854,184,4.587,185,2.956,196,2.395,205,1.999,229,8.544,264,5.032,281,7.345,301,3.956,315,6.889,361,4.316,373,3.928,381,2.483,402,4.438,413,6.337,427,2.829,499,8.005,545,2.131,549,6.431,557,3.057,581,5.193,713,7.911,716,2.778,758,3.328,886,5.441,1090,9.333,1112,4.574,1116,9.416,1134,4.355,1169,3.521,1204,6.292,1256,6.926,1444,3.641,1511,5.601,1726,6.581,1743,9.333,1803,5.728,1811,5.601,2088,5.488,2251,7.116,2707,5.87,2979,10.299,3751,11.315,3759,9.591,4878,15.875,5396,7.116,5502,14.085,5503,7.695,5504,7.695,5505,7.695,5506,7.695,5507,7.695,5508,7.695,5509,7.695,5510,7.695,5511,7.695,5512,12.236,5513,7.695,5514,7.695,5515,12.236,5516,7.695,5517,7.695,5518,7.695,5519,7.695,5520,7.695,5521,7.695]],["keywords/995",[]],["title/996",[2751,1460.68]],["content/996",[4,1.556,20,6.726,23,3.045,40,5.732,116,6.201,148,8.661,164,4.716,173,8.927,177,7.722,184,3.257,205,6.22,220,7.064,240,3.353,265,5.402,301,3.423,315,4.891,330,4.804,373,3.873,425,5.402,520,6.797,716,5.422,751,12.28,1140,11.178,1339,6.726,1511,10.931,1526,10.923,1564,9.579,1648,10.509,2088,10.71,2560,9.848,2751,17.603,2886,10.324,3551,12.141,3606,13.886,3684,9.023,5016,12.141,5522,19.982]],["keywords/996",[]],["title/997",[4349,1328.96]],["content/997",[34,4.735,156,10.952,161,6.534,184,4.485,191,6.218,549,10.87,1116,10.28,1143,13.373,4349,14.751,5523,20.683]],["keywords/997",[]],["title/998",[3952,1506.563]],["content/998",[23,3.061,34,5.498,184,5.207,373,5.18,568,11.816,2241,15.32,3561,15.32,3952,16.238,5524,20.085,5525,20.085,5526,20.085]],["keywords/998",[]],["title/999",[468,852.533]],["content/999",[4,1.915,18,6.173,34,4.231,152,3.679,154,6.794,184,5.764,224,5.604,468,8.455,809,12.233,3092,16.992,3561,14.097,4349,13.18,5527,18.481,5528,18.481,5529,18.481]],["keywords/999",[]],["title/1000",[5530,1863.425]],["content/1000",[23,3.061,124,7.522,161,6.345,184,5.571,464,14.95,516,10.328,735,9.043,2783,12.202,4349,14.324,5531,20.085,5532,18.572]],["keywords/1000",[]],["title/1001",[5533,1863.425]],["content/1001",[23,3.249,124,7.983,161,6.735,184,4.623,3952,17.235,5532,19.713,5534,21.318]],["keywords/1001",[]],["title/1002",[171,353.369,241,503.001,5535,1251.356]],["content/1002",[5,2.144,23,4.224,25,0.661,32,3.786,34,3.413,37,1.668,44,2.766,54,4.317,88,3.406,152,3.562,164,3.119,171,3.892,184,4.852,193,3.98,220,3.511,224,5.425,229,5.572,230,3.138,240,2.218,241,6.651,246,3.138,301,2.264,347,9.801,381,3.205,652,7.137,827,10.996,886,6.391,1024,8.417,1075,7.394,1177,6.105,1309,7.013,1342,10.079,1347,9.271,1444,4.7,1961,5.905,2303,5.342,2502,4.937,3037,13.784,3174,10.079,3684,13.942,3951,6.951,4822,8.861,5535,13.784,5536,9.933,5537,19.884,5538,9.933,5539,9.933,5540,17.892,5541,9.933,5542,9.933]],["keywords/1002",[]],["title/1003",[5543,1723.121]],["content/1003",[23,3.836,30,7.275,32,3.272,51,3.7,121,9.291,124,5.791,152,3.079,155,4.609,184,4.941,281,8.835,373,3.988,425,5.563,427,5.684,706,7.896,912,12.634,1147,8.524,1332,8.317,1342,10.455,1787,12.121,2241,11.795,2705,12.959,2744,13.532,3758,12.671,3952,12.502,4040,10.292,4822,9.192,5543,14.299,5544,18.839,5545,15.463,5546,15.463,5547,15.463]],["keywords/1003",[]],["title/1004",[184,340.004,3367,755.218]],["content/1004",[6,2.393,18,4.44,25,0.884,45,3.771,49,6.253,88,4.558,152,4.532,162,4.699,184,4.574,220,6.502,224,4.03,230,4.199,297,5.218,315,4.329,347,9.703,364,7.207,398,4.978,438,4.978,516,6.835,545,3.682,569,9.026,572,4.748,580,9.703,771,5.326,809,6.564,886,4.748,1024,6.253,1111,9.138,1329,6.741,1966,9.302,2353,9.48,2900,8.847,3367,12.442,4480,9.894,4482,11.14,5303,11.14,5343,12.292,5548,13.292,5549,13.292,5550,13.292,5551,13.292,5552,13.292]],["keywords/1004",[]],["title/1005",[184,340.004,1024,737.602]],["content/1005",[5,4.099,6,1.838,25,1.263,40,7.247,63,4.164,184,5.033,205,4.933,220,6.712,240,4.239,329,8.461,347,8.734,356,8.831,514,6.806,1024,11.794,1189,11.808,3092,14.132]],["keywords/1005",[]],["title/1006",[25,89.993,315,440.762,650,780.453]],["content/1006",[4,1.759,5,3.665,14,6.381,97,5.959,107,4.17,181,5.767,185,5.228,240,3.79,263,13.724,310,7.684,315,5.529,405,8.729,452,7.852,568,9.986,632,9.986,1042,10.975,1151,10.975,1173,10.091,1610,13.461,1614,8.668,1634,15.435,1848,13.306,1961,10.091,2125,13.724,3173,15.697,3243,14.226,5553,16.975,5554,14.855]],["keywords/1006",[]],["title/1007",[69,331.64,184,230.384,224,322.118,246,335.617,1434,810.359]],["content/1007",[5,1.462,6,1.069,18,2.261,23,4.2,25,0.929,32,4.028,33,0.875,34,3.199,44,1.885,107,1.663,148,3.904,151,4.311,152,1.348,154,4.057,155,2.018,161,2.139,162,2.393,164,3.466,166,5.984,167,4.797,171,1.768,181,2.941,184,4.353,185,2.666,191,2.035,198,1.808,206,2.41,224,3.346,240,1.512,243,3.114,246,2.139,278,1.822,288,3.343,314,2.401,315,2.205,330,2.653,335,4.828,347,5.077,348,3.832,381,2.185,392,3.149,499,3.558,520,4.996,539,3.149,590,2.886,630,2.489,632,3.983,703,2.526,708,4.263,716,5.044,736,2.535,737,2.276,771,2.712,809,3.343,876,6.864,886,3.942,914,3.185,957,4.113,1024,5.192,1039,5.164,1134,3.832,1141,4.439,1170,3.457,1173,4.024,1268,3.506,1325,4.377,1342,4.577,1347,4.21,1366,9.658,1388,4.318,1392,5.473,1589,5.039,1610,4.21,1634,4.828,1646,4.506,1663,3.764,1697,3.832,1798,5.674,1850,15.44,1920,6.26,1931,4.263,2515,5.039,2714,4.654,2783,4.113,2809,6.26,3243,13.506,3790,7.723,4822,8.305,4899,5.924,5554,12.227,5555,11.037,5556,6.77,5557,13.972,5558,6.77,5559,11.037,5560,6.77,5561,6.77,5562,11.037,5563,11.037,5564,6.77,5565,6.77,5566,6.77,5567,16.115,5568,11.037,5569,6.77,5570,6.77,5571,6.77,5572,6.77,5573,6.77,5574,11.037,5575,6.77,5576,6.77,5577,6.77,5578,6.77,5579,6.77,5580,6.77]],["keywords/1007",[]],["title/1008",[315,387.69,1850,848.901,5581,1190.303,5582,1190.303]],["content/1008",[18,7.267,33,2.213,44,4.765,65,5.609,161,5.407,166,9.279,177,8.8,184,4.718,185,4.134,301,3.901,310,7.747,379,7.83,385,6.268,401,7.666,474,9.87,520,7.747,569,8.398,648,10.777,716,6.179,1042,11.066,1204,8.8,1366,14.977,1850,15.516,2714,11.766,3243,14.343,3684,10.283,5583,17.115,5584,17.115]],["keywords/1008",[]],["title/1009",[107,235.629,182,191.399,185,231.733,315,312.447,650,553.247,667,731.722]],["content/1009",[6,1.025,18,5.222,19,3.174,37,1.778,44,4.353,65,3.471,70,5.004,88,3.631,92,6.665,107,2.601,114,4.545,134,5.994,162,5.526,164,3.325,171,2.765,181,2.822,184,4.968,185,3.777,186,3.13,190,7.313,191,4.7,198,2.829,203,5.37,246,3.345,264,4.532,272,4.515,278,2.851,315,3.449,348,5.994,392,4.926,393,5.696,396,3.46,397,6.755,452,4.898,484,5.94,564,4.898,575,9.792,581,4.494,693,7.002,716,5.644,718,4.297,719,7.28,740,4.926,861,4.926,886,3.783,893,4.453,923,6.944,971,6.295,1037,7.552,1119,6.107,1134,5.994,1143,6.847,1156,11.925,1160,5.37,1192,6.586,1268,5.484,1325,6.847,1595,6.586,1610,6.586,1729,8.077,1765,6.755,1846,7.709,1850,7.552,1856,7.709,1926,7.41,1984,6.755,2018,8.301,2134,8.875,2138,9.267,2525,9.267,2588,7.709,2708,8.301,2717,8.077,2783,6.434,3162,9.792,3274,8.875,4349,7.552,4595,8.875,5228,9.792,5554,9.267,5585,9.792,5586,10.59,5587,10.59,5588,10.59,5589,10.59,5590,10.59]],["keywords/1009",[]],["title/1010",[3769,1421.376]],["content/1010",[79,9.371,111,6.677,131,8.974,164,5.557,166,9.594,184,4.819,301,4.033,373,4.564,463,12.621,598,16.423,711,7.51,1024,8.325,1309,10.453,1377,8.278,1588,13.871,1902,10.875,2344,14.307,3274,18.622,5591,22.22,5592,17.696,5593,17.696]],["keywords/1010",[]],["title/1011",[152,312.153,185,378.748]],["content/1011",[]],["keywords/1011",[]],["title/1012",[45,337.67,111,449.151,152,236.98,185,287.538]],["content/1012",[22,6.091,23,3.98,25,1.263,45,5.386,111,7.164,152,4.991,185,5.607,438,7.11,3726,12.111,5594,18.986,5595,18.986,5596,18.986]],["keywords/1012",[]],["title/1013",[45,337.67,447,759.279,843,538.773,1276,630.307]],["content/1013",[5,4.796,14,6.65,23,3.882,24,4.339,32,2.66,33,2.647,34,2.878,35,3.605,36,9.229,37,2.97,45,3.566,62,5.385,63,2.757,68,6.606,124,8.32,136,7.25,152,4.835,171,4.62,185,5.867,198,4.726,224,5.364,381,4.056,391,6.331,427,4.621,447,13.058,600,9.515,765,4.12,776,5.983,782,7.395,786,5.385,843,9.266,1276,6.657,1617,6.558,2495,7.916,4320,20.543,5597,12.57]],["keywords/1013",[]],["title/1014",[5598,1863.425]],["content/1014",[4,1.512,6,1.898,23,4.211,32,4.149,33,2.535,34,4.489,88,5.005,152,4.408,161,4.611,162,5.16,185,5.348,198,3.899,224,4.426,549,7.671,771,8.87,1116,7.255,1169,6.678,1204,7.506,1796,8.868,2927,12.346,3778,11.78,3781,12.506,4741,11.134,5599,16.431,5600,14.596,5601,14.596]],["keywords/1014",[]],["title/1015",[5602,1863.425]],["content/1015",[6,1.713,23,4.082,32,3.745,33,2.288,34,4.052,152,3.523,161,5.59,185,4.275,198,4.727,224,5.366,549,9.3,771,7.09,1116,8.796,1169,10.166,2058,11.288,2927,11.143,3778,10.633,3781,11.288,4741,13.498,5599,14.831,5603,17.696]],["keywords/1015",[]],["title/1016",[5604,1630.706]],["content/1016",[23,3.032,32,4.21,34,4.555,161,6.284,549,10.455,642,8.91,771,7.97,1116,9.888,1169,9.101,4442,12.862,4741,18.212,5599,16.672,5605,18.395]],["keywords/1016",[]],["title/1017",[5604,1630.706]],["content/1017",[23,3.98,32,4.018,152,3.78,161,5.998,164,7.289,183,5.98,360,10.846,734,9.563,1169,8.686,4442,15.007,4741,14.482,5604,16.615,5606,18.986,5607,18.986]],["keywords/1017",[]],["title/1018",[4741,1421.376]],["content/1018",[6,2.198,23,4.271,32,4.804,34,4.641,46,6.562,64,6.983,68,5.427,87,6.363,152,3.646,164,3.243,177,5.31,183,3.253,185,2.495,223,5.31,272,4.403,280,6.588,300,8.459,319,4.602,330,2.483,468,4.725,581,4.383,630,5.641,737,3.472,765,3.385,771,4.138,773,7.216,1278,5.1,2927,6.503,2942,8.095,3042,9.55,3629,7.517,3778,14.122,3781,11.681,4741,7.877,5335,8.655,5599,12.861,5605,9.55,5608,15.345,5609,15.345,5610,10.327,5611,10.327,5612,10.327,5613,15.345,5614,8.655,5615,10.327,5616,10.327,5617,10.327]],["keywords/1018",[]],["title/1019",[2377,1356.449]],["content/1019",[]],["keywords/1019",[]],["title/1020",[198,418.827,2377,1141.31]],["content/1020",[4,1.898,6,1.279,7,4.123,12,7.33,18,6.117,23,4.082,32,3.876,34,4.193,65,6.002,151,4.075,152,2.63,164,4.148,167,5.74,193,5.292,198,3.528,224,5.553,230,5.785,234,6.109,366,8.821,413,6.84,510,6.698,771,5.292,806,10.126,1276,9.698,1309,8.615,2203,13.786,2207,12.214,2216,15.416,2245,16.035,2249,10.353,3684,7.936,5618,13.208,5619,13.208,5620,13.208,5621,13.208]],["keywords/1020",[]],["title/1021",[4,140.222,67,544.489,2377,985.073]],["content/1021",[4,2.081,6,2.325,45,5.698,65,6.583,97,7.051,185,4.852,202,6.178,499,10.556,1560,13.808,1963,16.832,2377,14.62,5622,20.085]],["keywords/1021",[]],["title/1022",[6,92.877,60,357.9,166,520.104,184,208.027,389,493.273,5623,839.484]],["content/1022",[14,5.944,19,3.224,23,4.037,32,3.968,34,4.733,44,2.994,60,5.899,62,4.607,67,4.327,69,3.357,111,4.058,152,3.733,162,3.801,164,4.965,167,4.674,171,2.808,184,3.429,185,3.82,191,3.233,224,3.261,230,3.397,272,4.585,273,3.467,278,2.895,373,2.773,374,8.694,468,4.92,773,6.231,805,7.052,806,9.032,894,4.121,963,4.153,1086,6.953,1141,7.052,1175,14.504,1309,5.059,1402,7.828,1479,8.869,1614,10.556,2031,7.669,2043,7.828,2203,7.052,2216,6.953,2245,8.203,2249,8.429,2303,5.784,2377,7.828,2489,15.049,2779,6.609,5624,9.411,5625,10.754,5626,10.754,5627,9.944,5628,9.944,5629,10.754,5630,10.754,5631,9.944,5632,9.944,5633,10.754,5634,9.944,5635,10.754,5636,10.754]],["keywords/1022",[]],["title/1023",[1327,722.133,4038,1007.258,5623,1184.242]],["content/1023",[6,1.21,23,4.186,32,4.689,34,5.073,45,3.545,60,4.662,111,4.715,162,4.417,164,5.532,167,5.43,273,2.74,373,3.222,468,5.717,580,5.748,631,7.277,806,9.828,936,6.211,963,6.804,1309,5.878,1327,9.401,1614,8.995,2192,16.497,2203,8.194,2216,11.39,2245,9.531,2249,9.795,2303,6.72,2489,12.824,2779,7.679,4038,13.112,5624,10.935,5627,11.554,5628,11.554,5631,11.554,5632,11.554,5634,11.554,5637,12.495,5638,12.495,5639,12.495,5640,12.495,5641,12.495,5642,12.495,5643,12.495,5644,12.495]],["keywords/1023",[]],["title/1024",[6,92.877,114,278.869,152,190.987,366,462.071,2714,659.493,5623,839.484]],["content/1024",[4,1.481,6,2.272,23,4.103,32,4.966,34,5.373,152,4.361,155,4.261,164,4.489,167,6.213,224,4.335,240,3.192,520,6.471,716,5.161,741,8.685,771,5.728,806,10.552,910,5.752,1309,6.725,1359,10.904,2203,9.375,2216,12.5,2245,10.904,2249,15.155,2714,13.291,5624,12.51,5645,14.296,5646,14.296,5647,19.333,5648,14.296]],["keywords/1024",[]],["title/1025",[901,598.491,2377,1141.31]],["content/1025",[]],["keywords/1025",[]],["title/1026",[5649,1723.121]],["content/1026",[12,7.003,34,5.881,152,3.999,373,5.18,448,16.238,549,10.556,1116,9.983,2216,15.526,3770,14.95,5650,20.085]],["keywords/1026",[]],["title/1027",[1726,1002.228]],["content/1027",[34,4.599,154,7.383,425,7.225,843,9.091,1134,11.368,1251,14.62,1276,10.636,1633,11.474,1726,10.802,2216,15.526,2783,12.202,5651,20.085]],["keywords/1027",[]],["title/1028",[468,852.533]],["content/1028",[5,4.295,12,6.936,34,4.555,152,3.961,366,9.582,468,9.101,886,7.106,1272,14.481,2216,15.437,2227,17.408,3092,14.807,4043,17.408,5652,19.893]],["keywords/1028",[]],["title/1029",[4,140.222,754,1060.767,2377,985.073]],["content/1029",[]],["keywords/1029",[]],["title/1030",[1309,636.63,2216,874.956,5653,1251.356]],["content/1030",[7,5.669,9,8.308,12,6.332,51,4.345,70,4.428,88,6.226,151,5.602,191,5.459,281,7.041,301,4.139,373,4.683,452,8.399,459,13.851,543,6.725,592,11.032,650,10.473,663,10.01,886,6.487,1309,8.543,1332,9.767,1726,9.767,2216,11.741,3715,11.741,5653,16.792]],["keywords/1030",[]],["title/1031",[1309,636.63,1796,822.159,2216,874.956]],["content/1031",[53,7.539,125,7.062,278,4.804,361,12.53,373,4.603,455,8.545,584,12.068,785,5.443,1134,10.102,1309,11.472,1377,8.349,1548,11.385,1628,10.5,1697,10.102,1796,13.572,1803,13.285,1811,12.992,2197,13.99,2216,14.444,2893,16.504,5654,17.848]],["keywords/1031",[]],["title/1032",[131,538.737,711,450.843,889,718.317,1309,499.793,1633,606.904]],["content/1032",[53,7.738,107,4.5,131,9.289,148,10.565,181,6.05,182,3.655,205,4.76,224,6.884,230,5.787,373,4.724,375,9.556,464,13.635,499,11.932,674,8.316,711,7.774,1134,10.368,1309,10.681,2245,13.973]],["keywords/1032",[]],["title/1033",[230,303.048,499,504.155,674,351.353,1385,803.95,2216,620.238,5655,959.288]],["content/1033",[4,1.029,6,1.443,9,4.545,12,3.464,19,2.978,23,4.185,32,3.155,34,4.553,53,6.296,69,3.101,72,4.728,88,3.406,89,11.267,98,9.127,122,4.36,147,6.336,154,3.651,164,4.681,167,6.478,183,3.129,219,3.692,224,4.52,230,4.709,246,3.138,273,2.178,299,6.178,315,3.235,361,8.361,373,2.562,499,9.403,650,5.729,656,5.905,674,6.553,716,5.382,717,4.756,806,4.785,1000,5.342,1035,6.035,1298,5.968,1309,8.417,1552,6.829,1961,5.905,2117,6.514,2203,9.775,2216,15.003,2245,13.648,2692,6.951,5649,13.784,5656,9.933,5657,9.933,5658,17.892,5659,9.933,5660,9.933,5661,9.933,5662,9.933,5663,9.933,5664,9.933,5665,9.933,5666,9.933,5667,9.933,5668,9.933]],["keywords/1033",[]],["title/1034",[1278,920.243]],["content/1034",[]],["keywords/1034",[]],["title/1035",[787,903.071]],["content/1035",[23,3.032,34,4.555,35,5.705,151,6.137,152,3.961,154,7.313,224,6.032,787,11.571,3320,15.593,3778,11.953,3781,12.689,4515,12.372,4663,16.083]],["keywords/1035",[]],["title/1036",[642,834.662]],["content/1036",[23,3.557,32,4.055,34,4.387,151,5.911,152,4.647,154,7.044,224,5.81,600,10.306,642,11.274,806,9.229,861,8.912,3320,15.02,4165,13.408,5669,19.161]],["keywords/1036",[]],["title/1037",[151,574.895]],["content/1037",[]],["keywords/1037",[]],["title/1038",[]],["content/1038",[23,3.955,32,4.858,35,7.132,152,3.712,161,7.252,425,6.708,458,8.673,480,6.708,736,6.983,737,7.717,1690,13.298,5670,17.243,5671,16.318]],["keywords/1038",[]],["title/1039",[]],["content/1039",[23,4.111,34,3.489,35,4.369,151,4.701,152,3.034,161,4.813,164,6.336,183,4.799,301,3.473,330,3.663,407,7.43,545,4.22,557,8.987,656,11.993,716,5.501,734,7.674,735,6.861,1268,7.891,1425,16.909,2303,8.195,3855,13.334,5671,13.334,5672,24.078,5673,15.237,5674,20.176,5675,15.237,5676,20.176,5677,15.237]],["keywords/1039",[]],["title/1040",[3629,1356.449]],["content/1040",[4,1.602,23,4.123,34,3.54,35,6.534,87,5.373,151,4.771,164,7.155,183,4.87,381,4.99,496,6.248,557,8.095,584,10.455,772,6.414,1278,7.636,1423,13.532,1424,13.532,1425,12.959,1986,9.998,2206,11.51,3855,17.829,4684,12.502,4766,13.532,5670,14.299,5671,13.532,5678,15.463,5679,15.463,5680,15.463,5681,15.463,5682,18.839]],["keywords/1040",[]],["title/1041",[545,516.138]],["content/1041",[22,5.219,23,4.246,25,0.992,34,3.414,45,4.23,110,6.577,111,5.626,114,5.781,152,2.968,171,5.193,274,9.64,458,6.935,545,6.198,673,7.778,975,10.696,1300,9.148,1444,7.055,2927,12.523,3726,9.511,3865,13.048,3867,11.373,4956,14.476,5683,14.91,5684,13.787,5685,13.787,5686,13.787,5687,14.91]],["keywords/1041",[]],["title/1042",[1114,951.488]],["content/1042",[6,2.085,23,4.097,32,3.563,34,3.855,114,4.895,151,5.195,152,3.352,161,6.802,162,5.952,164,5.288,451,10.348,545,4.664,557,6.69,1268,8.72,1300,7.746,5688,16.838,5689,21.531,5690,21.531,5691,16.838,5692,21.531,5693,16.838,5694,15.57]],["keywords/1042",[]],["title/1043",[744,1386.998]],["content/1043",[6,1.805,23,3.79,34,4.269,35,5.347,152,3.712,171,4.869,272,7.95,280,14.642,468,8.531,975,10.029,2058,11.894,2303,10.029,2953,15.053,5682,21.226,5694,17.243,5695,18.646]],["keywords/1043",[]],["title/1044",[225,426.689,901,454.363,1298,715.187,2671,780.572]],["content/1044",[4,1.889,18,4.384,23,4.17,25,0.873,34,5.183,152,2.613,161,4.146,164,4.122,186,5.389,223,6.749,225,4.705,271,4.656,277,7.569,279,7.802,330,4.384,381,4.235,468,6.005,501,6.749,516,6.749,545,3.635,673,6.847,744,9.769,775,8.73,901,5.01,975,12.176,993,6.322,1114,6.702,1177,8.066,1268,6.797,1278,6.482,1300,9.638,1377,6.139,2089,8.607,2381,9.554,2671,8.607,3867,10.011,5348,11,5696,13.125,5697,13.125,5698,15.956,5699,12.137,5700,13.125]],["keywords/1044",[]],["title/1045",[5701,1863.425]],["content/1045",[18,5.861,23,4.074,32,5.12,34,5.06,124,6.571,134,9.932,161,5.543,164,5.51,975,9.438,1177,10.784,1278,8.666,1526,9.592,3876,14.187,5699,16.226,5702,17.547,5703,17.547,5704,22.102,5705,17.547,5706,17.547]],["keywords/1045",[]],["title/1046",[23,238.957,183,493.826]],["content/1046",[18,6.645,23,3.032,154,7.313,161,6.284,164,6.247,183,6.266,722,10.02,1268,10.302,1278,9.824,3876,16.083,4820,18.395,5707,19.893,5708,19.893,5709,19.893]],["keywords/1046",[]],["title/1047",[468,852.533]],["content/1047",[4,1.967,5,4.099,45,5.386,152,4.991,161,5.998,171,4.958,224,5.757,273,4.164,468,8.686,582,10.65,1134,10.746,1814,11.956,2502,9.437,3748,18.194,5710,18.986,5711,16.615]],["keywords/1047",[]],["title/1048",[468,486.049,545,294.262,736,397.855,785,323.976,2031,757.671]],["content/1048",[4,1.932,6,1.312,14,7.007,19,5.588,23,4.013,34,4.268,88,6.392,124,6.981,152,4.242,155,4.039,161,4.281,162,4.79,164,4.256,171,5.993,184,2.939,330,3.258,455,6.488,468,9.749,545,3.754,557,5.385,737,4.556,785,6.498,807,10.957,809,6.692,1086,8.762,1114,9.518,1300,6.234,1889,11.738,1993,9.163,2031,9.665,3887,12.815,4102,11.357,5459,17.238,5712,13.552,5713,13.552,5714,13.552]],["keywords/1048",[]],["title/1049",[809,920.243]],["content/1049",[18,6.119,23,3.931,34,4.194,122,8.04,124,6.86,164,5.752,557,7.279,734,9.227,809,9.047,1065,10.777,1257,8.381,1278,9.047,1345,11.393,4442,11.844,5711,16.031,5715,22.704,5716,18.319,5717,22.704]],["keywords/1049",[]],["title/1050",[809,920.243]],["content/1050",[23,3.681,34,4.643,124,7.595,557,8.058,809,10.015,1257,9.278,1268,10.503,4684,16.396,5711,17.747,5718,24.152]],["keywords/1050",[]],["title/1051",[5614,1561.679]],["content/1051",[4,1.395,6,1.304,23,4.131,32,3.927,124,5.042,161,5.863,171,3.516,217,7.586,277,7.765,381,4.345,510,6.828,515,6.649,572,6.629,737,4.527,809,6.649,975,7.242,1114,6.875,1257,6.16,1300,6.194,2378,11.783,2560,8.829,2900,8.962,2979,9.104,3367,6.485,3887,9.256,4365,11.783,4482,11.284,4515,11.542,4955,15.553,4956,13.509,5373,16.24,5719,11.783,5720,12.45,5721,13.464,5722,18.558,5723,18.558,5724,18.558,5725,13.464,5726,13.464,5727,13.464,5728,13.464]],["keywords/1051",[]],["title/1052",[5720,1723.121]],["content/1052",[4,1.626,9,7.181,23,3.498,32,3.322,63,3.442,88,5.382,152,4.096,161,6.5,217,5.607,425,5.647,427,7.563,451,12.644,482,8.58,500,10.984,572,5.607,714,10.447,880,15.693,901,8.761,1272,11.426,1278,10.16,1444,7.427,2719,17.243,2768,10.984,3058,11.973,3823,16.127,5614,13.154,5729,15.696,5730,15.696,5731,15.696,5732,15.696]],["keywords/1052",[]],["title/1053",[5733,1863.425]],["content/1053",[23,3.121,32,4.334,124,7.669,161,7.674,427,7.528,572,7.316,1257,9.37,1278,10.114,2303,11.015,5734,20.48]],["keywords/1053",[]],["title/1054",[4165,1303.973]],["content/1054",[]],["keywords/1054",[]],["title/1055",[642,834.662]],["content/1055",[23,4.105,32,3.592,152,3.38,154,6.24,164,5.331,171,4.433,198,4.535,223,8.729,224,5.147,273,4.746,481,9.358,493,10.557,543,6.286,642,10.673,787,8.227,804,10.489,975,9.13,1479,9.522,3174,11.478,4165,11.879,4652,15.145]],["keywords/1055",[]],["title/1056",[800,1303.973]],["content/1056",[23,4.228,32,4.752,35,4.306,152,2.99,171,3.921,246,6.313,273,5.25,341,8.927,543,5.561,556,5.364,642,10.059,736,5.624,800,15.715,804,9.684,818,11.178,975,8.077,1278,7.416,1417,8.209,2768,13.983,3174,13.511,4442,9.71,5735,15.017,5736,15.017]],["keywords/1056",[]],["title/1057",[805,1221.989]],["content/1057",[23,3.938,32,4.966,34,5.016,152,3.849,154,5.255,155,4.261,161,4.516,164,4.489,171,3.733,186,4.226,228,6.244,273,4.804,278,5.204,300,7.881,349,9.243,543,7.159,549,7.513,552,7.513,630,7.107,800,10.004,806,6.886,974,9.119,1116,7.106,1169,6.54,1278,9.548,1796,8.685,3357,16.919,4442,9.243,4561,13.219,4662,11.981,5737,12.51,5738,14.296,5739,19.333,5740,14.296,5741,14.296]],["keywords/1057",[]],["title/1058",[23,238.957,183,493.826]],["content/1058",[4,1.404,18,4.527,23,4.19,32,3.945,33,1.752,34,3.103,88,4.647,154,4.982,162,4.79,164,6.691,171,3.539,228,8.141,246,4.281,273,4.088,360,7.742,368,8.534,402,7.816,483,7.289,538,6.736,543,8.911,544,5.056,557,5.385,734,6.826,757,8.762,787,6.568,974,8.645,977,11.357,978,11.357,979,10.957,980,11.357,1147,7.47,1268,7.018,1320,7.289,1332,7.289,1579,10.957,1826,10.337,2783,8.233,4663,10.957,5742,13.552,5743,13.552,5744,13.552]],["keywords/1058",[]],["title/1059",[545,516.138]],["content/1059",[4,1.579,22,3.999,23,4.237,32,3.225,34,3.489,44,4.243,45,4.322,111,5.75,152,3.034,164,4.785,273,4.424,349,9.852,373,3.929,543,5.643,545,6.265,673,7.949,804,7.384,901,5.816,974,9.719,975,12.166,1278,7.525,1300,9.281,3867,11.622,4652,10.662,5684,14.09,5685,14.09,5686,14.09,5745,15.237]],["keywords/1059",[]],["title/1060",[23,206.245,744,1007.258,5746,1251.356]],["content/1060",[23,4.176,32,3.682,34,3.984,151,5.368,164,5.464,171,4.544,273,4.821,349,11.25,373,4.487,543,6.444,804,8.433,974,11.1,975,12.963,1278,8.593,4455,19.24,4652,12.176,5747,17.4,5748,17.4]],["keywords/1060",[]],["title/1061",[23,206.245,1114,690.985,5749,1251.356]],["content/1061",[23,4.23,32,3.452,34,3.734,151,5.032,152,3.247,161,5.153,164,6.624,273,4.626,349,10.546,373,4.206,543,6.04,673,8.509,804,7.905,974,10.404,975,11.346,1278,8.055,1300,9.704,2381,11.873,4652,11.414,5698,18.461,5750,16.311,5751,16.311]],["keywords/1061",[]],["title/1062",[23,206.245,468,619.122,5752,1353.247]],["content/1062",[23,4.178,32,4.51,34,3.794,152,4.951,161,5.235,224,5.024,273,3.634,349,10.714,468,7.581,549,8.708,600,8.912,804,8.03,809,10.524,955,9.556,974,10.57,975,11.462,1116,8.236,4652,14.913,5753,16.57,5754,16.57]],["keywords/1062",[]],["title/1063",[5755,1863.425]],["content/1063",[6,1.52,23,4.254,32,3.322,124,7.705,152,3.125,161,4.959,164,7.65,273,3.442,771,6.289,804,9.971,942,9.431,974,13.124,975,12.344,1257,7.181,2228,11.973,2303,8.442,2927,9.884,4652,10.984,5756,15.696,5757,15.696,5758,20.574]],["keywords/1063",[]],["title/1064",[45,383.895,273,296.762,5116,1184.242]],["content/1064",[4,2.396,22,5.453,23,4.102,25,1.06,32,4.397,34,3.649,45,5.895,111,6.013,273,5.573,407,7.771,543,5.902,901,7.932,2508,16.8,3726,10.166,4662,13.356,5116,20.234,5759,15.936,5760,15.936,5761,15.936,5762,14.736]],["keywords/1064",[]],["title/1065",[19,469.995,273,343.83]],["content/1065",[4,1.852,19,4.868,23,4.206,25,1.08,33,1.442,35,5.788,46,2.22,60,2.559,63,1.504,67,2.76,76,4.077,122,3.01,152,2.807,155,2.044,161,3.524,164,5.612,170,6.002,172,3.956,174,8.38,193,2.748,228,4.872,229,3.847,230,2.167,273,4.613,274,4.435,280,4.375,328,5.545,341,9.654,385,4.086,396,2.241,417,3.088,427,4.101,451,4.215,454,4.435,467,3.943,479,4.121,496,2.771,514,2.459,556,3.985,572,2.45,587,4.375,642,6.315,674,2.512,773,2.703,787,5.406,804,7.871,806,6.791,857,7.249,942,6.702,974,10.36,981,3.918,982,3.66,993,3.304,1030,3.366,1169,5.103,1257,3.138,1327,5.953,1351,5.105,1417,6.098,1548,4.375,1641,8.12,1646,4.565,1946,9.019,2049,4.435,2301,4.375,2321,10.227,2502,3.409,2508,9.019,2568,11.365,2677,7.806,2979,4.638,3490,5.376,3778,13.069,3920,6.342,4173,13.037,4174,6.002,4639,6.342,4807,5.376,5763,6.859,5764,17.87,5765,17.87,5766,6.859,5767,6.859,5768,6.859,5769,6.859,5770,6.342,5771,6.859]],["keywords/1065",[]],["title/1066",[60,504.882,92,576.973,171,353.369]],["content/1066",[4,2.087,23,4.124,32,2.582,54,5.303,60,8.638,63,3.799,134,6.907,152,2.429,156,6.462,164,3.832,177,8.908,186,3.607,187,7.499,196,3.798,246,3.855,273,5.425,373,3.147,381,3.938,408,4.037,512,7.091,514,4.374,539,5.676,800,8.539,804,5.914,975,12.453,1086,7.89,1540,7.589,1547,8.122,1571,8.25,1641,8.882,1667,10.226,1724,7.89,2079,6.971,2178,8.539,2228,9.308,2589,7.499,3174,8.25,4636,15.16,4651,20.273,4652,12.122,4653,11.284,4654,11.284,4655,10.678]],["keywords/1066",[]],["title/1067",[1552,1281.072]],["content/1067",[4,1.653,6,1.545,14,2.095,23,4.272,24,1.924,32,4.09,33,1.574,34,2.788,35,1.598,36,2.908,37,0.936,40,2.128,44,2.616,49,2.622,60,6.453,62,4.024,63,3.499,65,3.079,68,2.93,86,4.92,88,1.911,92,4.005,122,2.447,124,3.518,152,3.664,164,5.432,171,3.732,183,2.959,198,1.489,223,7.349,273,5.211,329,2.484,334,1.607,364,3.022,373,4.461,375,2.908,381,1.799,396,3.069,398,2.087,401,2.497,408,1.844,490,3.733,516,4.831,519,5.053,520,6.469,543,4.509,561,2.622,582,6.829,590,2.377,694,4.669,703,2.08,765,3.079,785,3.713,804,8.918,805,3.655,811,4.149,858,4.732,879,3.657,942,5.644,974,5.992,975,9.303,1219,2.685,1377,4.394,1526,3.047,1552,15.653,1796,5.707,2079,3.184,2228,4.252,2353,3.975,2389,4.672,2568,10,2927,7.667,3114,4.058,3126,5.154,3919,4.058,4170,5.154,4652,3.901,4662,4.672,5772,12.175,5773,5.574,5774,5.574,5775,9.394,5776,5.574,5777,5.574,5778,5.574,5779,5.574,5780,5.574,5781,5.574,5782,4.878,5783,5.154]],["keywords/1067",[]],["title/1068",[5782,1630.706]],["content/1068",[5,3.29,6,1.475,14,7.584,25,1.013,30,7.168,33,1.97,37,2.558,44,4.243,60,5.685,63,3.341,67,6.131,73,7.78,124,5.706,152,4.503,171,3.979,198,4.07,219,5.664,228,6.655,273,3.341,289,7.087,373,5.203,378,9.155,381,4.917,382,7.835,385,5.581,396,4.978,408,5.041,516,7.835,543,5.643,561,7.168,582,8.547,652,7.295,1028,8.787,1339,6.825,1552,15.551,1633,8.704,2079,8.704,2253,7.21,2254,8.624,5782,13.334]],["keywords/1068",[]],["title/1069",[5719,1372.068,5784,1449.827]],["content/1069",[9,5.786,19,3.791,23,3.809,25,0.841,32,4.714,33,1.635,34,4.068,35,3.627,63,2.773,151,3.902,152,3.537,161,3.995,162,6.28,198,4.746,246,3.995,272,5.392,273,2.773,284,4.486,287,6.286,301,2.882,330,5.356,341,10.561,373,3.262,381,4.081,407,6.167,543,8.69,572,7.336,737,4.252,740,5.882,1114,6.458,1272,9.206,1315,7.964,2741,9.647,2779,7.772,4165,15.588,4233,11.695,5719,11.067,5737,15.548,5762,11.695,5784,16.429,5785,12.647,5786,17.767,5787,12.647,5788,12.647,5789,12.647]],["keywords/1069",[]],["title/1070",[5790,1863.425]],["content/1070",[23,3.121,32,4.334,124,7.669,161,7.674,427,7.528,572,7.316,1257,9.37,2303,11.015,4165,14.331,5791,20.48]],["keywords/1070",[]],["title/1071",[310,709.677,2628,1195.939]],["content/1071",[4,2.022,25,0.964,33,1.874,46,4.692,60,5.408,62,6.209,63,3.179,85,6.982,86,5.857,114,4.214,125,5.735,183,4.565,189,7.401,217,5.178,260,7.507,273,5.686,274,12.617,300,7.99,373,3.738,385,5.309,414,5.666,417,8.786,421,7.507,433,10.551,484,8.13,512,5.933,514,5.196,561,6.819,921,7.507,963,5.598,981,8.28,982,7.735,1030,7.113,1081,8.908,1183,7.99,1326,8.908,2781,10.789,4655,12.685,4807,17.293,5792,14.495,5793,14.495,5794,14.495]],["keywords/1071",[]],["title/1072",[3769,1421.376]],["content/1072",[2,2.009,3,4.264,4,0.568,5,2.598,6,1.661,7,2.893,12,1.913,19,1.645,23,3.607,25,1.507,30,2.581,32,2.547,33,1.199,34,1.256,35,2.658,37,2.02,44,3.939,49,2.581,52,1.512,58,2.009,60,2.047,63,3.467,65,1.798,67,7.349,69,2.893,88,4.126,92,2.339,96,3.105,125,6.256,152,3.636,156,2.905,161,2.928,182,1.849,192,1.844,202,1.688,204,2.596,205,3.127,206,4.284,217,1.96,219,2.039,220,1.939,224,4.289,228,2.396,273,4.879,291,2.627,293,2.595,297,4.866,310,2.483,322,2.017,373,2.39,375,4.835,381,2.991,385,2.009,398,2.055,405,2.821,438,2.055,452,4.287,455,2.627,467,1.939,496,2.217,501,2.821,512,2.246,515,2.709,520,4.195,536,3.178,537,1.798,543,4.457,554,2.627,559,7.677,561,2.581,569,2.692,577,3.412,614,6.118,630,2.017,631,3.195,633,4.435,637,3.134,639,2.611,650,3.164,664,2.745,670,3.077,693,2.457,703,3.458,714,3.652,732,1.919,737,6.14,738,7.781,762,4.083,804,4.492,864,3.598,901,3.538,911,3.5,918,3.105,926,2.801,937,2.396,940,3.333,943,2.883,963,3.58,974,5.912,1000,2.951,1042,7.781,1049,3.372,1112,3.261,1113,3.994,1141,3.598,1325,3.547,1327,9.154,1329,6.103,1558,3.372,1560,8.274,1631,3.105,1632,3.839,1633,5.295,1641,3.994,1735,5.073,1931,3.455,2032,4.435,2079,3.134,2112,3.598,2239,3.994,2288,3.709,2459,4.435,2542,3.994,2568,9.899,2900,6.169,3550,5.073,3592,4.083,5770,16.889,5795,5.486,5796,5.486,5797,9.269,5798,5.486,5799,14.145,5800,14.145,5801,9.269,5802,5.486]],["keywords/1072",[]],["title/1073",[4614,1723.121]],["content/1073",[]],["keywords/1073",[]],["title/1074",[19,558.59]],["content/1074",[4,0.854,5,2.789,9,5.91,19,2.471,23,4.172,35,3.705,60,3.075,124,5.966,171,3.373,219,3.064,224,2.499,271,2.924,334,4.593,440,3.813,474,4.754,480,4.647,556,2.945,569,4.045,572,2.945,580,3.792,590,3.515,600,4.433,642,3.692,736,3.087,737,6.063,758,6.89,765,4.234,768,4.709,770,4.071,772,3.419,773,3.248,774,4.506,775,6.185,879,3.209,1219,6.223,1258,7.214,1283,15.113,1285,11.946,1320,6.948,1416,11.946,1417,4.506,1479,4.624,1518,7.622,1712,5.768,1713,4.469,1900,6.136,1991,6.461,2358,6.664,2359,6.664,2360,19.122,2361,10.827,2362,10.445,2363,15.113,2364,6.908,2366,7.622,2367,7.622,2368,14.731,2374,7.214,2953,8.472,3170,6.288,3227,6.461,3367,3.971,5803,8.243,5804,7.622,5805,8.243,5806,8.243,5807,8.243,5808,8.243,5809,8.243,5810,8.243,5811,8.243,5812,8.243,5813,8.243,5814,8.243,5815,8.243,5816,8.243,5817,8.243,5818,8.243,5819,12.919,5820,12.919,5821,12.919,5822,8.243,5823,8.243,5824,8.243,5825,8.243,5826,8.243,5827,8.243,5828,8.243,5829,12.919,5830,8.243]],["keywords/1074",[]],["title/1075",[198,361.493,224,410.309,765,443.523]],["content/1075",[23,4.083,34,4.689,765,6.712,768,13.878,2495,12.896,5831,20.48,5832,20.48]],["keywords/1075",[]],["title/1076",[271,661.001]],["content/1076",[198,5.365,224,6.09,271,8.518,293,5.622,737,6.753,758,10.386,765,6.583,886,7.174,1219,9.674,2496,14.62,2583,15.744]],["keywords/1076",[]],["title/1077",[770,920.243]],["content/1077",[4,1.985,152,3.815,224,5.81,249,10.845,334,5.525,474,11.051,556,8.337,557,7.613,580,8.814,737,6.442,770,9.463,772,7.948,773,7.551,1417,12.759,3170,14.616,4222,15.491]],["keywords/1077",[]],["title/1078",[556,483.395,1417,739.744,3490,1060.767]],["content/1078",[4,1.778,5,2.001,6,0.898,23,4.236,25,0.616,32,3.631,34,2.122,69,2.894,124,5.298,152,2.817,171,4.48,198,3.779,271,3.288,334,2.673,438,3.472,556,6.857,557,3.683,572,3.311,590,3.952,600,7.609,630,7.057,642,6.337,737,5.768,758,4.009,765,3.038,767,5.296,770,6.986,771,8.73,772,5.868,773,7.565,774,7.733,775,4.438,787,4.493,1074,5.067,1141,9.277,1160,4.701,1417,11.3,1783,6.373,1903,10.53,1931,5.837,2106,5.346,2121,5.697,2781,12.769,3490,16.204,3778,8.5,3781,9.024,3884,8.572,4515,12.857,4738,8.572,4956,15.048,5833,9.27,5834,9.27,5835,9.27]],["keywords/1078",[]],["title/1079",[60,695.225]],["content/1079",[4,1.442,25,1.437,40,5.311,44,3.874,59,12.866,60,9.352,68,7.312,111,5.25,122,6.107,155,4.147,171,3.633,177,7.155,224,4.219,228,6.077,241,5.172,273,3.051,297,3.947,334,4.012,341,8.271,396,6.201,408,6.28,479,8.36,543,5.153,590,5.932,630,6.977,659,6.4,737,7.802,765,4.56,770,9.374,773,7.48,774,7.606,1219,6.702,1345,8.654,1712,9.737,1946,11.249,2104,11.661,2321,8.762,2353,9.923,2677,9.737,2900,9.261,2953,9.124,2980,10.907,3223,10.356,3747,11.249]],["keywords/1079",[]],["title/1080",[19,469.995,60,584.959]],["content/1080",[4,2.084,14,3.28,23,4.255,25,0.58,32,1.847,60,8.275,124,3.268,171,4.314,191,2.623,198,3.608,204,4.129,206,3.106,222,2.38,240,1.949,271,3.095,273,1.914,334,3.894,440,4.036,447,11.863,556,3.117,572,4.824,600,10.818,630,8.835,674,3.196,737,6.762,758,5.841,765,2.86,767,4.985,770,4.31,771,6.619,772,5.602,773,7.926,774,10.166,775,6.466,1219,7.958,1345,8.399,1356,5.567,1417,4.77,1427,4.657,1479,4.895,1611,6.495,1712,9.45,1827,4.895,1903,6.495,2106,5.033,3747,10.919,4398,12.488,4515,5.427,4650,7.637,4956,13.537,5836,8.726,5837,8.726,5838,8.726,5839,8.726,5840,8.726,5841,8.726,5842,12.488]],["keywords/1080",[]],["title/1081",[3367,897.578]],["content/1081",[4,2.165,111,7.883,224,6.334,765,6.847,861,9.717,2953,13.699,3367,11.84,4480,15.549]],["keywords/1081",[]],["title/1082",[54,809.864]],["content/1082",[4,1.395,23,4.208,32,2.849,54,9.947,107,3.307,152,2.681,171,3.516,271,4.776,334,3.882,556,4.81,557,7.374,572,4.81,590,5.741,600,9.981,630,8.825,659,6.194,737,6.239,758,5.823,770,6.649,771,8.509,772,5.585,773,8.369,774,10.145,775,6.447,787,6.525,975,7.242,1170,6.875,1417,7.36,1783,9.256,2228,10.27,2980,10.554,4515,8.374,4956,9.801,5843,13.464,5844,13.464]],["keywords/1082",[]],["title/1083",[3170,1421.376]],["content/1083",[23,4.143,32,2.66,63,2.757,96,7.115,124,4.708,155,3.747,171,4.62,183,3.959,186,3.716,228,5.49,246,3.971,271,4.459,330,3.022,334,5.101,438,4.708,512,5.146,556,4.49,568,7.395,572,4.49,600,6.761,630,8.607,737,7.469,758,5.437,770,6.208,771,8.202,772,5.214,773,8.067,774,9.671,775,6.019,975,6.761,981,7.181,982,6.708,1089,7.25,1114,9.033,1417,6.872,1444,5.948,2980,9.854,3170,17.86,3859,9.357,4515,7.818,4956,9.15,5845,12.57,5846,12.57]],["keywords/1083",[]],["title/1084",[396,442.138,516,695.85,772,561.321]],["content/1084",[4,2.164,19,3.292,23,2.447,25,0.73,33,1.42,87,3.816,171,2.867,172,6.333,183,3.458,217,3.922,228,4.796,234,5.079,375,5.728,458,5.107,482,6.002,483,5.906,572,3.922,659,5.051,736,4.112,737,3.692,765,6.22,772,6.66,879,4.275,942,6.597,1006,6.671,1108,7.424,1257,5.024,1278,7.929,1377,5.136,1614,5.607,1796,6.671,1885,9.202,1886,10.154,1903,8.173,2023,7.829,2376,8.173,2568,7.684,3767,7.993,4185,9.202,4222,12.98,4643,8.607,4684,8.877,4901,14.05,5174,10.154,5320,14.846,5847,10.98,5848,18.979,5849,10.98,5850,10.98,5851,10.154,5852,10.98,5853,10.98,5854,10.98,5855,10.98,5856,10.98,5857,10.98,5858,10.98,5859,10.98,5860,10.98,5861,10.98,5862,10.98,5863,10.98,5864,10.98,5865,10.98,5866,10.98,5867,10.98,5868,10.98,5869,10.98,5870,10.98,5871,10.98,5872,10.98,5873,10.98,5874,10.98,5875,10.98,5876,10.98,5877,10.98,5878,10.98,5879,10.98,5880,10.98,5881,10.98,5882,10.98,5883,10.98,5884,10.98,5885,10.98,5886,10.98]],["keywords/1084",[]],["title/1085",[3769,1421.376]],["content/1085",[2,1.739,4,0.849,5,3.88,6,1.647,7,1.482,8,2.514,9,4.944,19,1.423,23,3.234,25,1.251,30,6.049,33,0.614,35,4.161,37,0.797,53,3.461,60,3.057,63,1.797,65,1.556,70,1.158,72,2.26,76,2.823,79,2.514,97,1.667,105,2.574,107,1.166,111,1.792,121,4.923,134,2.688,151,1.465,152,3.159,155,1.415,162,5.61,171,2.14,177,4.213,186,1.403,192,1.596,193,1.902,196,2.55,198,3.876,203,2.408,217,2.927,224,5.157,225,2.937,227,2.442,234,8.698,241,1.765,246,2.588,254,4.87,271,1.684,273,1.041,279,2.823,293,1.329,300,4.517,301,2.93,310,3.709,311,2.034,330,4.089,334,1.369,355,1.871,373,1.225,401,2.127,407,2.315,408,1.571,413,2.459,425,2.947,427,3.012,440,2.196,458,3.811,479,2.853,482,2.596,496,1.919,510,2.408,512,1.944,514,1.702,531,2.596,536,1.628,560,2.514,563,2.034,569,2.33,572,2.927,590,4.608,598,5.54,614,3.544,630,4.727,659,8.65,673,2.477,695,2.345,716,1.714,737,5.718,758,2.054,765,7.102,772,6.582,773,3.229,775,2.273,779,3.161,782,4.82,785,1.448,843,2.149,876,2.953,879,1.849,894,1.82,901,4.908,912,2.477,941,3.534,942,4.923,950,3.161,973,2.554,1086,3.07,1114,2.425,1148,3.323,1174,9.641,1183,2.618,1224,2.765,1257,3.749,1278,4.046,1280,8.471,1298,2.853,1377,5.055,1548,5.226,1562,3.456,1574,4.391,1593,4.155,1796,2.885,1811,3.456,1827,2.663,1872,4.407,1889,2.99,1987,3.622,2022,3.979,2023,2.315,2330,3.839,2358,3.839,2359,3.839,2360,10.395,2361,9.057,2362,3.839,2363,6.867,2364,3.979,2374,4.155,2424,8.737,2496,3.456,2626,4.155,2847,6.867,2953,3.114,3189,4.391,3460,7.17,3561,3.622,3767,5.964,3830,3.534,3859,6.099,3960,4.155,4102,3.979,4174,4.155,4620,6.25,4685,4.155,5318,3.839,5421,4.391,5422,4.391,5614,3.979,5851,7.576,5887,4.748,5888,4.748,5889,4.748,5890,4.748,5891,4.748,5892,4.748,5893,4.748,5894,4.748,5895,4.748,5896,4.748,5897,4.748,5898,4.748,5899,4.748,5900,4.748,5901,4.748,5902,4.748,5903,4.748,5904,4.748,5905,4.748]],["keywords/1085",[]],["title/1086",[1007,824,4617,1013.728]],["content/1086",[]],["keywords/1086",[]],["title/1087",[1007,824,4571,1313.99]],["content/1087",[105,10.02,107,4.539,222,6.225,240,5.097,290,14.097,301,4.212,398,6.921,424,11.949,462,7.343,736,6.921,936,9.186,1007,13.019,1625,14.942,1966,12.933,4571,19.132,5906,18.481,5907,18.481]],["keywords/1087",[]],["title/1088",[7,371.572,12,415.037,69,371.572,373,306.972]],["content/1088",[4,1.343,6,1.255,7,4.046,12,7.257,24,4.474,25,1.202,46,4.196,51,3.102,54,5.633,69,6.497,70,3.161,87,4.504,88,7.136,97,4.55,105,7.027,107,3.184,116,5.353,124,4.854,149,5.376,154,4.765,171,3.385,186,3.831,205,3.368,206,4.614,222,3.534,240,4.647,243,5.962,281,5.026,297,3.677,311,5.552,330,3.116,364,7.027,373,3.343,424,8.38,425,4.663,426,8.061,427,4.765,462,5.15,490,5.15,504,5.746,581,5.501,660,7.27,662,9.244,716,4.679,843,5.867,901,4.948,936,6.443,996,5.867,1007,6.812,1204,6.665,1242,10.16,1256,10.23,1611,9.648,2098,8.162,2252,7.875,2733,9.244,2988,10.479,3681,11.343,4166,11.986,4571,10.863]],["keywords/1088",[]],["title/1089",[4,110.083,149,440.672,191,319.37,2043,773.343,2253,502.693]],["content/1089",[4,1.865,7,5.62,12,6.277,37,3.022,69,5.62,86,7.274,149,7.467,171,4.701,191,5.412,222,4.909,240,4.02,278,4.846,413,9.323,552,9.461,673,9.391,711,7.639,894,6.899,1193,13.731,1611,13.399,2253,8.518,2254,12.712,2733,12.839,3680,13.731,3979,15.087]],["keywords/1089",[]],["title/1090",[2,351.353,4,99.401,37,161.05,70,233.946,659,441.279,2102,775.576]],["content/1090",[2,8.692,4,1.523,10,8.362,11,6.392,22,5.169,23,4.03,24,3.364,25,0.977,32,3.11,33,2.287,34,4.05,35,2.795,37,3.73,63,2.138,67,3.922,70,2.377,84,5.201,85,4.695,89,6.138,94,6.062,97,3.422,111,3.678,124,3.65,171,3.837,184,2.114,222,2.658,230,5.588,234,4.509,240,2.176,246,3.079,296,7.255,334,2.81,381,3.145,400,7.965,413,5.048,455,4.667,463,6.952,468,4.459,496,3.939,663,5.373,674,3.57,711,6.237,777,4.344,785,2.972,845,6.392,894,3.735,993,4.695,1180,8.83,1342,6.59,1343,5.794,1612,7.255,1614,9.033,2057,6.701,2431,7.435,2495,6.138,2502,4.845,2574,8.53,3593,6.488,3813,8.928,4023,9.013,4029,7.666,4583,11.21,5908,12.861,5909,9.013,5910,9.013,5911,7.881,5912,9.013,5913,7.881,5914,7.881]],["keywords/1090",[]],["title/1091",[1007,824,2010,1267.615]],["content/1091",[4,2.042,25,1.31,65,6.458,67,7.928,122,8.649,240,4.4,437,7.734,736,7.379,1007,10.356,1648,13.789,2146,14.344,2165,13.323,2284,16.514,2628,15.03,3564,14.053]],["keywords/1091",[]],["title/1092",[69,371.572,316,866.461,649,962.349,736,445.761]],["content/1092",[4,1.958,6,1.829,10,5.469,25,0.919,69,5.898,70,3.371,111,5.215,182,2.758,184,4.097,191,5.68,192,4.647,218,14.412,222,3.769,228,6.037,240,5.167,243,6.358,289,6.429,316,15.671,329,6.159,373,3.564,378,8.305,385,5.062,400,6.223,457,9.345,496,5.585,515,6.826,569,6.782,580,6.358,649,18.71,663,7.619,674,6.92,711,5.865,894,5.297,1007,7.264,1112,8.216,1315,8.703,1606,9.502,1623,9.345,2043,10.061,2115,11.583,3236,10.834,5915,12.781,5916,12.781,5917,13.822,5918,13.822]],["keywords/1092",[]],["title/1093",[66,985.073,649,1094.088,1388,863.219]],["content/1093",[4,1.545,22,3.913,25,0.992,46,6.437,63,3.27,70,4.85,88,6.819,181,3.973,184,4.313,186,4.407,187,9.163,192,5.013,218,11.373,230,4.71,240,4.44,288,7.363,316,10.853,321,9.163,373,5.129,381,4.811,385,5.461,391,7.51,499,10.452,501,7.667,649,12.054,650,8.599,663,8.219,674,5.461,675,6.935,708,9.389,716,5.383,894,5.714,982,7.956,1141,9.777,1220,8.517,1388,9.511,1398,9.389,2146,14.476,3790,10.433,5916,13.787,5919,14.91]],["keywords/1093",[]],["title/1094",[33,174.985,184,293.46,4585,1094.088]],["content/1094",[4,1.534,25,0.984,33,2.559,63,3.246,97,6.948,171,3.866,180,6.81,182,2.954,184,4.292,191,4.45,219,5.503,222,5.397,230,4.677,240,4.419,249,8.379,278,3.985,289,6.886,315,4.822,385,5.422,395,6.224,424,9.572,482,8.092,504,6.563,515,7.311,638,8.538,674,5.422,711,6.282,973,7.962,1007,7.78,1388,9.443,1398,9.322,1444,7.005,1902,9.098,2010,11.969,2111,9.853,2115,12.407,2838,12.407,4585,20.638,5915,18.302]],["keywords/1094",[]],["title/1095",[4,123.338,238,804.809,408,393.825,1007,625.565]],["content/1095",[12,5.778,19,4.967,25,1.417,37,2.782,46,5.364,88,5.681,111,6.253,149,6.873,179,8.236,191,6.406,222,5.811,228,7.237,234,7.664,240,5.26,260,8.581,314,5.878,364,8.984,397,10.57,408,5.482,504,7.346,569,8.131,673,8.644,711,7.032,1007,11.2,1827,9.294,2112,10.866,2115,13.887,4563,16.255]],["keywords/1095",[]],["title/1096",[25,104.266,240,350.087]],["content/1096",[]],["keywords/1096",[]],["title/1097",[886,560.063,4617,1013.728]],["content/1097",[1,8.75,4,1.208,22,5.153,23,4.062,25,1.513,28,5.041,29,8.144,30,5.484,32,2.467,33,1.507,34,3.839,111,4.398,131,5.911,151,3.596,154,4.285,186,3.445,193,4.67,198,4.479,240,5.289,243,9.032,246,3.682,251,6.481,271,4.135,389,5.994,569,8.227,661,7.435,843,5.276,861,7.798,886,5.989,1077,6.597,1089,6.722,1540,7.249,2303,6.269,3592,14.615,3593,7.758,3715,7.536,3813,7.082,4432,9.769,4617,7.536,4959,16.455,4960,9.769,4961,15.503,4962,10.778,5911,9.424,5913,9.424,5920,14.672,5921,11.656,5922,11.656]],["keywords/1097",[]],["title/1098",[4,140.222,4617,874.956,5923,1251.356]],["content/1098",[1,10.153,4,1.602,22,5.347,23,4.016,25,1.515,32,3.272,33,1.999,34,4.665,62,6.624,63,3.391,222,4.216,256,7.275,381,4.99,420,9.395,763,7.896,1631,8.752,3592,11.51,3593,10.292,3813,9.395,4617,9.998,4959,17.074,4960,12.959,5911,12.502,5913,12.502,5920,13.532,5923,21.069,5924,20.373,5925,14.299]],["keywords/1098",[]],["title/1099",[4,140.222,4617,874.956,5926,1251.356]],["content/1099",[1,10.19,4,1.614,22,5.373,23,4.023,25,1.521,32,3.297,33,2.014,34,4.687,62,6.674,63,3.416,86,6.295,381,5.027,420,9.465,763,7.955,3592,15.239,3593,10.369,3813,9.465,4617,10.073,4959,17.158,4960,13.056,5911,12.595,5913,12.595,5920,13.633,5925,14.406,5926,21.146,5927,20.473]],["keywords/1099",[]],["title/1100",[243,721.234,4617,1013.728]],["content/1100",[6,1.141,14,4.431,23,3.011,32,2.495,35,5.666,40,4.5,44,3.282,65,5.54,111,6.378,154,4.333,164,3.702,184,2.556,204,5.578,205,4.392,206,6.016,222,3.214,224,5.991,228,5.148,234,5.453,240,4.819,243,11.907,246,3.724,271,7.009,307,6.798,314,4.181,330,2.834,331,7.622,334,3.399,407,5.748,435,5.393,543,4.365,569,8.294,590,5.026,592,7.162,630,4.333,637,6.734,716,4.256,736,4.415,765,7.074,773,4.645,901,4.5,1081,7.245,1180,7.083,1276,6.242,2130,7.73,2131,7.083,2303,6.34,2502,5.859,3586,9.748,4617,7.622,4965,8.992,5928,11.788,5929,15.629,5930,11.788,5931,9.24,5932,11.788]],["keywords/1100",[]],["title/1101",[184,340.004,243,721.234]],["content/1101",[4,1.335,6,1.247,23,3.906,25,0.857,32,3.809,34,2.949,35,3.694,45,3.654,53,5.441,92,5.492,152,2.565,164,5.651,184,5.308,205,5.389,206,4.585,224,6.809,240,5.275,243,11.26,293,3.606,314,6.384,315,4.196,319,5.74,334,3.714,347,5.926,396,4.209,569,6.321,886,4.601,901,4.917,1024,6.06,1329,6.532,1347,8.011,3586,7.429,4822,7.657,4946,11.273,4965,9.826,4969,11.273,4971,10.796,5065,11.912,5929,11.912,5931,10.097,5933,12.881,5934,12.881]],["keywords/1101",[]],["title/1102",[243,721.234,307,904.237]],["content/1102",[4,1.39,6,1.299,7,2.701,22,2.271,23,4.112,25,0.892,30,4.071,32,4.24,34,4.239,35,2.482,45,2.455,65,2.836,69,5.13,87,4.663,131,6.804,152,3.272,183,2.726,198,2.312,205,4.27,224,2.624,230,2.734,240,1.932,243,9.751,264,2.509,273,2.943,293,2.422,304,6.758,307,12.225,314,3.07,319,5.979,335,14.289,414,3.383,416,5.76,467,3.059,510,6.804,516,4.45,520,7.438,543,4.969,554,4.143,556,3.091,630,4.933,656,5.144,711,5.694,717,4.143,785,2.639,804,6.503,809,4.274,879,3.369,901,5.122,910,5.399,1068,7.976,1102,6.441,1103,6.056,1124,8.676,1191,5.52,1339,3.876,1350,6.601,1351,6.441,1417,7.335,1993,5.851,2912,8.345,3465,7.573,4617,8.676,4667,11.245,5931,6.784,5935,8.654,5936,8.654,5937,13.418,5938,8.654,5939,8.654,5940,8.654,5941,8.654,5942,8.654,5943,8.654,5944,8.654,5945,8.654,5946,8.654]],["keywords/1102",[]],["title/1103",[4964,1630.706]],["content/1103",[23,3.854,32,4.354,33,2.03,34,4.711,35,4.501,54,6.822,198,4.193,224,4.759,228,6.855,240,4.594,243,11.206,396,5.128,569,7.702,711,6.661,773,6.185,2058,10.012,2079,8.967,3593,10.447,3813,9.536,4964,22.132,4965,11.973,5911,12.69,5912,14.514,5913,12.69,5931,12.304,5947,15.696,5948,20.574]],["keywords/1103",[]],["title/1104",[1309,737.602,1536,1097.157]],["content/1104",[4,2.128,5,2.73,6,2.42,19,3.791,23,2.708,70,5.432,92,5.392,161,5.613,186,3.738,200,4.718,205,4.616,217,4.518,240,2.824,293,3.54,305,12.773,539,5.882,568,7.44,572,4.518,580,8.173,592,7.684,661,8.067,711,5.367,726,9.206,737,6.905,771,5.067,1074,6.913,1134,7.158,1188,10.225,1224,7.365,1272,9.206,1309,5.95,1536,14.372,1602,7.684,1889,7.964,2023,6.167,2049,11.487,2203,8.293,2303,6.802,2912,12.773,3339,10.225,4447,11.067,5949,17.767,5950,15.548,5951,15.548,5952,17.767,5953,12.647]],["keywords/1104",[]],["title/1105",[273,343.83,1114,800.578]],["content/1105",[4,2.245,5,2.23,6,2.097,7,3.224,19,3.096,23,3.582,32,2.185,34,2.364,35,2.961,44,2.876,63,2.265,65,6.002,67,4.155,68,5.427,79,5.469,87,3.589,88,5.262,151,4.734,152,3.646,161,6.404,167,6.669,171,2.697,172,5.956,174,6.139,184,2.239,201,3.989,205,3.987,224,3.131,240,4.089,243,9.325,273,5.41,373,3.958,396,3.374,414,5.998,520,4.674,549,5.427,568,6.075,592,6.274,661,6.588,685,11.17,716,3.728,1074,5.645,1114,10.35,1536,12.814,1641,7.517,1827,8.608,1970,7.365,2178,7.227,4617,6.677,4888,14.19,4965,7.877,5931,8.095,5950,16.025,5954,10.327,5955,10.327,5956,10.327,5957,10.327,5958,10.327,5959,10.327,5960,10.327,5961,10.327]],["keywords/1105",[]],["title/1106",[330,376.96,2023,764.557]],["content/1106",[4,1.873,5,2.798,6,1.255,7,4.046,19,5.418,23,3.912,32,2.743,34,2.968,35,3.717,92,5.526,124,4.854,151,5.576,152,4.483,161,6.575,205,5.407,224,3.93,230,6.575,240,2.894,243,8.315,330,5.693,396,5.906,458,6.029,499,6.812,545,3.59,580,5.962,685,15.15,737,4.358,772,5.376,787,6.282,993,6.243,1257,8.269,1444,6.133,1633,7.405,2023,8.814,4485,10.479,4965,9.887,5931,10.16,5951,11.343,5962,12.962,5963,12.962,5964,11.986]],["keywords/1106",[]],["title/1107",[60,584.959,240,350.087]],["content/1107",[4,2.231,23,3.94,25,1.119,44,4.687,60,8.032,63,2.571,68,6.16,111,4.423,152,3.351,171,4.396,184,2.542,186,3.465,205,3.046,206,4.172,223,6.027,240,2.617,273,3.692,334,3.38,378,7.043,385,4.293,389,6.027,425,4.217,514,4.202,515,5.789,557,4.657,737,6.622,758,5.07,765,5.517,775,8.06,879,4.563,1010,9.477,1089,6.76,1276,6.207,1280,15.44,1283,14.108,1327,6.255,2089,7.687,2358,9.477,2359,9.477,2360,15.925,2361,9.824,2362,9.477,2363,14.108,2364,14.108,3859,8.725,3887,13.541,4165,8.203,5016,9.477,5842,15.566,5950,10.258,5965,11.722,5966,11.722,5967,11.722]],["keywords/1107",[]],["title/1108",[240,350.087,737,527.124]],["content/1108",[4,2.238,6,1.347,23,3.292,32,2.945,34,3.186,35,3.99,44,3.874,63,3.051,65,4.56,68,7.312,79,7.368,152,2.77,171,4.956,193,5.575,198,3.717,205,5.613,224,4.219,230,4.396,234,6.436,240,5.182,243,9.938,246,4.396,500,9.737,590,8.093,659,6.4,737,7.802,765,6.221,861,6.472,880,10.613,1169,6.366,1900,10.356,2000,10.356,2502,6.916,3823,10.907,4965,10.613,5968,24.288,5969,13.914,5970,13.914]],["keywords/1108",[]],["title/1109",[737,527.124,2995,1229.009]],["content/1109",[23,3.931,32,3.877,86,7.402,155,5.46,162,6.476,205,4.76,240,4.09,330,4.404,557,7.279,737,7.633,1114,9.354,1796,11.129,2995,14.359,5951,16.031,5964,16.939,5971,18.319,5972,18.319,5973,18.319,5974,18.319]],["keywords/1109",[]],["title/1110",[273,296.762,396,442.138,2568,946.964]],["content/1110",[240,4.712,273,4.628,373,5.442,396,6.895,1298,12.679,2568,14.767,3380,18.467,5975,21.102]],["keywords/1110",[]],["title/1111",[225,562.039,278,422.052]],["content/1111",[4,2.187,225,8.863,243,9.707,278,5.68,745,11.535,1276,11.174,1309,9.927]],["keywords/1111",[]],["title/1112",[3769,1421.376]],["content/1112",[4,1.523,14,5.526,25,0.978,28,6.358,29,6.097,45,5.588,63,3.224,65,7.282,79,7.784,110,6.484,111,5.547,122,6.452,154,5.404,189,7.506,201,7.608,205,3.819,206,5.232,207,8.103,236,10.105,240,4.398,243,9.062,251,8.173,297,4.17,348,11.15,396,4.803,523,10.595,569,7.213,589,10.286,596,10.286,602,13.593,684,18.216,693,6.584,853,8.397,932,6.689,941,10.941,1134,8.32,1298,8.832,4617,9.504,4797,13.593,5976,14.699,5977,14.699,5978,14.699]],["keywords/1112",[]],["title/1113",[10,420.379,18,354.881,25,70.65,284,376.852,4619,743.425]],["content/1113",[]],["keywords/1113",[]],["title/1114",[198,418.827,4619,1097.157]],["content/1114",[4,1.717,10,4.536,18,7.118,22,5.592,23,4.05,24,5.718,25,1.294,32,4.116,33,2.142,34,4.454,35,3.287,37,2.781,45,3.252,69,3.579,107,4.069,111,6.251,154,6.09,171,2.993,191,3.446,198,6.037,234,5.303,275,3.817,301,2.613,425,5.959,427,7.15,572,4.095,736,4.293,776,7.885,777,5.108,779,7.63,843,7.498,901,4.376,2239,8.345,2303,6.166,2459,9.268,3726,10.567,4619,13.612,5979,16.566,5980,16.566,5981,11.464,5982,11.464,5983,10.032,5984,10.032,5985,10.601,5986,11.464,5987,11.464]],["keywords/1114",[]],["title/1115",[6,131.019,10,535.472,230,427.504]],["content/1115",[4,1.696,6,1.092,7,5.11,18,5.468,19,3.381,23,3.223,34,4.841,51,2.699,76,9.731,88,3.867,151,5.051,154,6.018,155,4.88,161,3.563,162,3.987,164,6.052,167,4.901,171,4.275,225,4.043,230,5.172,246,5.172,281,4.373,301,2.57,330,2.711,373,2.908,375,5.883,381,3.639,440,5.216,451,6.931,455,7.838,545,3.124,557,9.602,566,7.753,592,6.852,661,7.194,673,10.053,709,6.931,758,4.878,786,4.831,889,7.625,1028,6.504,1074,6.165,1114,11.466,1155,7.625,1268,8.478,1300,5.188,1332,6.066,1961,6.704,2206,8.394,2677,7.892,3503,15.739,3715,10.585,4560,10.428,5988,19.272,5989,16.37]],["keywords/1115",[]],["title/1116",[6,151.799,18,523.738]],["content/1116",[5,2.798,6,2.015,18,6.038,23,4.068,32,5.326,53,5.475,87,4.504,215,6.812,217,4.63,246,4.095,249,7.336,427,4.765,455,6.206,496,5.237,520,8.181,572,6.457,580,5.962,650,7.475,736,7.794,737,4.358,772,9.34,901,4.948,1479,7.27,1863,10.16,1986,13.456,3236,10.16,4619,9.07,5990,12.962,5991,25.167,5992,12.962,5993,12.962,5994,11.343,5995,12.962,5996,12.962,5997,12.962,5998,12.962]],["keywords/1116",[]],["title/1117",[183,586.914]],["content/1117",[4,1.512,7,4.556,18,6.549,23,3.875,32,4.149,46,4.725,51,3.493,69,4.556,87,5.072,164,4.584,183,8.007,198,3.899,234,6.751,241,5.425,281,5.66,284,5.178,360,8.338,381,4.71,490,5.8,517,7.914,520,6.607,538,7.255,544,5.446,545,4.043,566,10.035,659,6.714,722,9.875,772,6.054,826,8.046,848,11.442,849,11.442,901,5.572,1028,8.418,1309,6.867,4685,12.773,5994,17.157,5999,14.596,6000,14.596]],["keywords/1117",[]],["title/1118",[517,733.699,826,745.978,4619,946.964]],["content/1118",[4,2.08,7,3.787,19,3.637,22,4.528,23,4.169,24,5.955,32,4.889,33,2.231,34,3.95,35,3.479,37,2.037,86,4.902,87,5.995,107,2.98,111,4.578,122,5.325,161,3.832,241,4.509,250,6.474,257,5.434,284,7.122,427,4.46,517,6.577,552,6.376,722,6.11,764,6.631,776,5.774,826,11.067,828,9.253,830,11.218,831,11.218,835,11.218,836,11.218,840,15.953,845,7.955,847,9.808,848,9.509,849,9.509,4619,8.489,5983,10.616,5984,10.616,5994,10.616,6001,17.252,6002,12.131,6003,12.131,6004,12.131,6005,17.252,6006,12.131]],["keywords/1118",[]],["title/1119",[785,412.676,1814,852.135,4619,946.964]],["content/1119",[18,7.667,22,5.399,23,3.713,25,1.044,45,4.453,103,6.994,111,5.923,188,8.804,198,4.193,201,6.062,230,4.959,301,3.577,330,3.774,425,5.647,458,7.301,483,11.066,507,9.762,736,5.878,782,9.234,785,7.712,786,6.724,843,7.105,1310,9.141,1656,10.447,1765,10.012,1814,9.884,2126,10.447,3726,10.012,3743,14.514,3744,14.514,3745,14.514]],["keywords/1119",[]],["title/1120",[63,296.762,272,576.973,3715,874.956]],["content/1120",[2,6.507,4,1.841,6,1.224,10,7.03,18,6.861,25,0.841,37,3.448,51,3.026,63,4.885,65,4.145,69,5.546,72,6.019,86,7.179,110,9.06,155,3.77,186,3.738,222,4.845,225,6.369,230,7.037,254,7.518,278,4.783,281,4.904,385,4.632,427,6.531,452,5.85,455,6.055,496,7.179,507,7.866,512,5.177,514,4.534,519,6.802,555,7.866,674,6.507,688,7.684,889,8.551,1427,6.749,1548,8.067,2043,9.206,2838,10.599,2892,10.599,3715,8.177,3830,9.413,4619,16.421,4917,10.225,5985,11.695,6007,12.647,6008,11.695]],["keywords/1120",[]],["title/1121",[184,340.004,4619,1097.157]],["content/1121",[4,1.318,5,2.747,6,1.728,18,5.96,19,3.814,22,3.339,23,4.054,24,4.392,25,0.846,32,4.361,33,1.645,34,4.718,35,3.649,37,2.136,53,5.375,70,5.025,88,4.363,176,4.643,184,4.844,219,6.632,224,5.41,315,5.812,347,5.853,425,4.577,496,5.141,776,6.056,779,8.469,785,3.88,862,8.012,886,4.545,1024,5.986,1276,6.738,1343,7.564,1360,7.914,1361,9.597,1362,13.986,1363,13.986,1365,9.262,1367,10.287,1584,10.287,1746,9.974,1827,7.137,4619,8.904,5983,11.135,5984,11.135,6009,12.724]],["keywords/1121",[]],["title/1122",[5,188.782,25,58.151,33,113.071,234,404.467,556,312.357,557,347.44,2931,650.864]],["content/1122",[]],["keywords/1122",[]],["title/1123",[4616,1356.449]],["content/1123",[4,1.25,18,4.029,25,0.802,37,3.36,60,4.5,66,8.78,70,2.941,97,4.234,107,2.963,144,7.412,176,4.402,180,5.548,181,3.214,182,3.428,184,3.726,186,3.565,202,3.71,205,3.134,220,4.264,234,7.947,240,2.693,273,2.645,297,3.422,319,5.375,322,4.434,371,6.292,405,6.202,421,6.246,427,6.316,432,9.029,480,4.339,481,6.649,556,6.137,557,6.826,663,6.649,674,4.418,675,7.991,692,6.159,711,5.118,716,4.354,741,7.328,742,5.459,784,8.78,785,3.678,886,4.308,921,6.246,985,5.61,1133,10.108,1180,7.247,1610,7.501,1629,15.687,1783,8.292,1935,9.454,2011,11.153,2117,7.909,2931,16.233,3086,15.887,4616,15.876,6010,17.181,6011,17.181,6012,12.061]],["keywords/1123",[]],["title/1124",[4,162.462,67,630.847]],["content/1124",[2,2.471,4,1.969,5,3.472,6,1.35,18,2.254,19,3.3,25,1.479,33,1.423,37,2.7,40,2.576,45,3.955,63,2.414,67,2.715,97,3.864,111,2.546,116,4.546,122,2.962,125,4.356,144,4.147,152,1.343,179,3.354,180,6.413,182,2.196,183,4.391,184,4.122,185,3.368,186,1.994,189,3.446,191,2.029,192,2.269,196,2.1,201,4.251,205,2.86,206,3.918,207,3.72,208,3.689,219,5.182,220,3.891,228,2.947,234,5.091,235,4.197,236,4.639,237,4.425,238,4.562,239,3.446,240,3.113,242,3.72,246,2.132,249,3.819,254,4.011,263,5.456,273,2.414,284,2.394,297,3.123,298,3.311,301,1.538,308,2.184,315,2.198,316,4.912,330,2.646,373,3.595,381,5.19,396,4.555,398,2.527,399,3.689,400,3.038,401,3.022,405,3.47,408,2.233,427,5.913,432,5.785,435,3.087,439,4.722,440,3.121,504,2.992,510,5.582,512,2.762,519,8.651,556,2.41,557,2.681,638,3.892,711,2.864,718,4.467,736,2.527,743,7.703,771,2.704,785,3.357,843,4.982,862,4.249,894,2.586,910,2.715,918,3.819,955,3.892,1038,6.846,1054,4.722,1055,3.354,1089,3.892,1160,3.422,1174,4.1,1176,3.855,1204,3.47,1314,4.812,1329,3.422,1335,5.289,1361,3.629,1388,4.304,1398,4.249,1554,7.703,1579,5.456,1580,8.193,1629,5.289,1650,6.543,1827,3.785,1966,9.755,2033,5.456,2089,4.425,2095,4.722,2112,7.218,2702,6.24,2931,10.377,2988,5.456,3563,4.639,4616,16.188,6013,10.179,6014,6.748,6015,6.748]],["keywords/1124",[]],["title/1125",[4,140.222,408,447.737,4616,985.073]],["content/1125",[4,2.028,20,5.192,22,5.137,23,4.217,24,6.756,25,1.302,32,2.453,34,2.654,35,3.324,37,2.803,45,3.288,54,5.038,63,2.542,65,3.799,107,2.847,151,3.576,154,4.261,171,3.027,198,3.096,222,3.161,224,3.515,234,5.362,373,4.306,408,3.835,467,6.919,512,4.745,513,9.926,546,13.501,656,6.89,659,5.332,777,5.165,785,5.092,843,5.247,857,5.96,879,4.513,883,6.285,958,5.362,985,5.391,1219,5.583,1354,7.042,1613,6.445,1860,8.842,2927,7.299,3813,7.042,3977,10.144,4616,12.155,5125,10.719,6016,18.1,6017,11.591,6018,11.591,6019,11.591,6020,11.591]],["keywords/1125",[]],["title/1126",[4,110.083,37,178.358,516,546.285,2931,790.76,4616,773.343]],["content/1126",[4,1.973,5,2.383,6,1.069,12,3.849,23,4.112,24,5.563,32,3.411,33,2.462,34,3.69,35,4.622,37,3.514,53,4.663,54,4.797,76,6.562,114,4.685,116,7.861,124,7.129,155,3.29,171,4.209,186,3.263,191,3.318,198,2.949,219,4.103,246,3.487,264,3.2,279,6.562,345,8.42,355,6.351,373,2.847,427,7.695,432,8.47,487,6.951,516,5.676,734,5.56,1089,6.366,1256,12.601,1257,8.709,1629,8.653,1713,5.985,2638,8.42,2823,8.925,2931,14.17,2988,8.925,3114,8.035,3169,8.653,4616,13.857,5908,9.66,6013,10.207,6016,10.207,6021,16.117]],["keywords/1126",[]],["title/1127",[84,722.133,94,841.635,408,447.737]],["content/1127",[]],["keywords/1127",[]],["title/1128",[2778,1328.96]],["content/1128",[86,8.887,552,11.558,1663,12.228,6022,21.993]],["keywords/1128",[]],["title/1129",[2651,1356.449]],["content/1129",[23,3.283,25,1.432,45,6.11,763,10.998,1160,10.922,1891,15.072]],["keywords/1129",[]],["title/1130",[581,790.783]],["content/1130",[4,1.602,22,5.347,23,4.266,24,7.032,25,1.355,32,3.272,33,1.999,34,3.54,35,4.434,37,2.596,45,4.387,84,8.252,89,9.737,94,9.617,171,4.038,368,9.737,408,5.116,1028,8.918,1257,7.074,1613,8.598,3813,9.395,4029,8.067,5908,17.829,5909,14.299,5910,14.299,6023,15.463,6024,15.463]],["keywords/1130",[]],["title/1131",[25,79.157,33,153.915,234,550.572,2112,780.572]],["content/1131",[]],["keywords/1131",[]],["title/1132",[202,482.305,6025,1567.878]],["content/1132",[4,1.712,6,2.405,19,2.616,25,1.338,33,1.746,37,2.774,44,2.43,60,6.164,63,1.914,86,3.526,87,3.032,92,3.721,103,3.889,114,3.926,152,3.702,155,4.026,183,2.749,186,2.579,192,2.934,201,3.37,202,2.684,222,2.38,234,4.036,252,3.384,273,4.664,285,5.999,291,4.178,293,2.443,297,3.831,301,1.989,308,2.825,322,3.208,329,3.889,334,2.516,348,4.939,395,5.678,396,5.398,400,3.929,401,3.909,405,4.487,414,5.279,510,6.848,514,3.128,525,4.586,536,2.992,537,2.86,545,2.417,556,3.117,557,3.467,563,3.738,590,3.721,613,3.074,617,4.621,622,3.541,693,6.049,695,6.669,717,4.178,718,3.541,732,3.053,736,3.268,742,6.113,910,3.511,926,6.896,936,4.337,943,4.586,950,5.808,954,7.098,962,6.495,963,5.216,985,4.059,1030,4.282,1045,6.656,1048,7.055,1050,6.224,1119,5.033,1150,6.84,1171,5.999,1235,7.055,1314,6.224,1595,5.427,1604,5.642,1821,8.989,1822,6.495,2004,6.656,2017,7.637,2023,4.255,2078,7.637,2112,10.834,2116,7.313,2236,7.313,2568,6.107,3367,6.505,4650,7.637,6026,8.726,6027,8.726,6028,8.726,6029,8.726,6030,8.726,6031,8.726,6032,8.726]],["keywords/1132",[]],["title/1133",[29,772.941]],["content/1133",[4,2.405,28,9.343,29,9.626,44,5.285,46,4.504,50,7.67,83,10.128,94,11.805,192,4.678,205,4.932,240,3.107,271,6.733,319,6.2,324,12.176,373,3.588,394,7.056,466,7.258,493,8.654,876,8.654,996,6.298,1268,7.206,1310,8.103,1517,12.176,1846,13.817,2079,7.949,2094,10.356,2112,16.823,3830,10.356,3831,11.661,4565,11.661,6033,13.914,6034,13.914,6035,13.914,6036,13.914,6037,13.914,6038,13.914,6039,13.914,6040,12.866,6041,18.981]],["keywords/1133",[]],["title/1134",[581,790.783]],["content/1134",[4,1.215,22,4.418,23,4.285,24,5.81,25,0.78,32,2.481,33,1.516,34,2.684,35,3.361,37,1.968,54,5.094,63,2.571,87,4.073,98,5.021,122,5.145,152,2.334,171,3.061,271,6.987,308,5.449,330,2.818,355,4.619,394,5.944,467,5.951,512,4.798,513,6.968,519,6.304,520,5.306,656,6.968,694,5.826,711,4.974,777,5.223,859,8.941,1038,7.29,1354,7.121,1517,14.731,1613,6.517,1724,7.579,1984,7.477,2079,6.696,2112,14.117,2515,8.725,3764,8.533,3790,8.203,4563,12.84,4564,14.731,4565,9.824,4567,10.258,4568,10.258,6042,16.833,6043,10.839]],["keywords/1134",[]],["title/1135",[379,717.317,427,576.359]],["content/1135",[4,2.231,12,5.871,19,5.047,25,1.12,33,2.177,44,4.688,69,5.256,88,8.139,186,4.977,191,5.062,198,4.498,202,5.18,222,4.591,240,3.76,246,5.319,282,16.423,301,3.838,329,7.503,504,7.465,536,5.773,711,7.145,1024,7.921,2112,14.12,2542,12.257,2560,11.042,4563,16.423,5585,15.57]],["keywords/1135",[]],["title/1136",[52,432.005,408,518.75]],["content/1136",[]],["keywords/1136",[]],["title/1137",[52,372.867,63,296.762,689,739.744]],["content/1137",[2,6.32,37,4.031,52,4.755,63,4.796,86,6.973,97,6.058,100,6.39,103,7.69,193,6.914,215,9.069,230,5.451,272,7.357,273,3.784,405,8.873,516,8.873,672,10.732,689,13.125,861,8.026,874,9.696,958,7.982,1058,8.937,1427,9.208,2322,15.101,6044,17.256]],["keywords/1137",[]],["title/1138",[4,140.222,52,372.867,408,447.737]],["content/1138",[4,1.923,22,5.573,23,4.208,24,6.406,25,1.412,28,5.823,32,2.849,34,3.083,35,3.861,37,3.116,50,7.422,52,5.113,62,5.768,63,4.07,92,5.741,198,3.597,273,4.657,301,3.069,330,4.462,355,5.306,373,3.472,513,8.004,514,4.827,557,5.35,763,6.875,843,6.094,1354,11.275,1613,7.486,1633,7.692,1981,8.962,4028,12.493,4029,7.024,4428,11.783,6045,10.554,6046,13.464]],["keywords/1138",[]],["title/1139",[52,372.867,58,495.646,6047,1251.356]],["content/1139",[4,1.404,19,4.062,20,6.07,22,4.892,23,4.013,24,6.434,25,1.24,28,5.861,29,5.621,30,6.375,32,4.509,34,3.103,35,3.886,37,2.275,50,7.47,52,7.019,112,8.887,151,4.181,164,4.256,172,7.816,308,4.387,355,5.34,373,4.807,408,4.484,452,6.268,504,8.264,1613,7.535,1648,9.483,4028,12.536,4029,7.07,6048,17.238,6049,17.238,6050,17.238,6051,17.238,6052,12.531,6053,11.357]],["keywords/1139",[]],["title/1140",[37,263.223,2336,1267.615]],["content/1140",[4,1.766,5,2.574,6,1.65,22,4.472,23,4.043,24,5.882,25,1.322,32,3.606,34,3.901,35,3.419,37,3.642,52,5.978,65,3.908,70,2.908,88,4.088,151,3.678,154,4.383,161,3.767,164,3.744,185,2.88,222,3.251,252,4.623,287,5.926,293,4.77,308,3.859,355,4.699,381,3.848,396,3.896,510,6.046,572,4.259,674,4.367,736,4.465,809,5.888,894,4.569,1192,7.415,1235,9.64,1613,6.629,1869,12.683,2025,9.64,2336,16.077,2953,7.819,3041,9.64,4028,10.025,4029,6.22,6053,9.992,6054,11.923,6055,11.923,6056,11.025,6057,11.923,6058,11.923,6059,11.923,6060,11.923,6061,11.923,6062,11.923]],["keywords/1140",[]],["title/1141",[52,372.867,408,447.737,703,504.882]],["content/1141",[4,1.865,23,2.744,25,1.197,37,4.11,44,5.013,45,5.107,46,7.27,51,4.308,52,6.188,63,3.948,275,5.994,297,5.107,334,5.19,704,9.461,763,9.192,872,9.067,889,12.172,1160,9.129,1891,12.597,2215,15.087,6063,18.002]],["keywords/1141",[]],["title/1142",[408,518.75,508,987.288]],["content/1142",[]],["keywords/1142",[]],["title/1143",[37,199.834,52,327.97,508,749.53,670,667.664]],["content/1143",[4,2.208,5,2.926,6,1.312,23,2.065,37,2.275,52,5.136,60,6.955,62,5.805,63,2.972,86,5.476,97,4.758,100,5.019,103,8.307,186,4.006,189,6.92,190,6.339,191,4.074,203,6.872,230,4.281,241,5.037,273,2.972,297,5.288,308,4.387,329,6.039,334,3.907,373,3.495,381,4.373,397,8.645,408,6.168,508,8.534,512,5.547,513,8.056,516,6.968,607,7.347,674,4.964,718,7.565,763,6.92,894,5.193,940,8.233,944,7.601,958,6.268,1821,9.02,1872,7.289,2336,10.957,3007,11.357,3367,6.528,4024,11.357,6045,10.623,6064,13.552,6065,13.552,6066,13.552,6067,13.552,6068,13.552,6069,13.552,6070,13.552]],["keywords/1143",[]],["title/1144",[4,123.338,25,79.157,37,199.834,508,749.53]],["content/1144",[22,6.35,23,4.074,24,7.629,32,3.713,33,2.269,34,4.018,35,5.032,37,3.711,108,9.154,198,4.687,355,6.915,511,15.763,764,9.592,777,7.819,1300,8.072,1613,9.756,4970,17.325]],["keywords/1144",[]],["title/1145",[2,351.353,52,264.317,58,351.353,271,340.282,308,310.517,6047,887.06]],["content/1145",[4,1.413,19,4.089,20,6.11,22,4.914,23,4.019,24,6.463,28,5.9,29,5.658,30,6.417,32,4.525,34,3.123,35,3.912,37,2.29,50,7.519,52,6.646,112,8.945,151,4.208,164,4.283,172,7.867,308,4.415,355,5.375,373,4.829,408,4.513,452,6.309,504,8.302,511,13.354,764,7.457,777,6.078,1613,7.584,1648,9.545,4970,16.76,6048,17.315,6049,17.315,6050,17.315,6051,17.315,6052,12.613,6053,11.432]],["keywords/1145",[]],["title/1146",[4,140.222,511,965.11,6071,1184.242]],["content/1146",[4,2.208,23,4.082,24,5.72,32,3.507,34,3.794,35,4.752,37,2.782,45,7.055,67,6.667,88,5.681,151,5.112,172,9.556,184,3.593,201,6.4,355,6.53,395,6.967,408,5.482,480,5.961,508,14.834,1613,9.213,4970,16.705,6071,14.501]],["keywords/1146",[]],["title/1147",[25,79.157,220,420.766,315,387.69,508,749.53]],["content/1147",[1,6.327,4,1.471,6,1.863,14,5.337,21,8.189,25,0.944,44,3.953,49,6.68,58,5.2,85,6.839,184,4.173,185,3.43,193,5.689,202,4.368,204,6.718,207,12.034,220,7.717,225,6.898,252,5.506,272,6.054,278,3.822,293,3.974,299,8.83,315,4.625,334,4.094,382,7.301,408,4.698,419,8.626,437,5.572,508,8.941,511,13.724,536,4.868,556,5.072,622,5.762,652,6.798,664,7.104,732,6.733,886,5.072,887,8.269,891,7.827,971,8.44,1065,8.353,1110,8.111,1378,8.83,1663,7.894,2154,13.129,6072,14.198]],["keywords/1147",[]],["title/1148",[4,123.338,207,656.155,315,387.69,511,848.901]],["content/1148",[22,5.121,23,4.017,24,5.002,25,0.964,28,4.138,29,6.011,32,3.067,33,1.874,34,3.318,35,2.744,37,2.433,45,2.714,52,2.636,70,3.534,108,4.991,114,4.213,124,3.583,154,3.517,162,3.382,167,4.158,185,2.311,198,4.673,206,3.406,207,13.009,225,3.43,226,8.931,240,2.136,252,5.619,293,2.678,305,5.951,315,4.72,355,3.771,398,3.583,401,4.286,408,3.166,425,5.213,427,3.517,437,3.755,467,3.382,511,17.566,536,3.281,613,3.371,614,4.138,634,6.824,668,4.955,740,4.45,764,5.23,777,4.264,845,6.275,882,5.88,901,3.652,1064,6.696,1170,4.886,1300,4.401,1308,5.416,1313,5.688,1417,5.23,1536,6.696,1868,8.848,2094,7.122,2675,8.848,4867,8.848,4970,11.359,6071,17.074,6073,9.568,6074,9.568,6075,14.491,6076,9.568,6077,9.568,6078,9.568,6079,9.568,6080,9.568]],["keywords/1148",[]],["title/1149",[4,123.338,25,79.157,184,258.124,2692,832.941]],["content/1149",[4,1.668,6,0.811,14,3.148,19,2.511,22,4.774,23,4.11,24,4.515,25,1.07,32,2.768,33,1.083,34,2.995,35,4.615,37,2.196,40,3.197,45,5.598,49,3.94,97,2.94,108,4.369,111,3.16,184,5.038,198,2.237,201,3.235,220,5.69,224,5.516,225,3.002,226,4.277,227,4.307,239,11.863,240,1.87,241,3.113,242,4.617,243,6.017,246,2.646,271,2.971,272,3.571,273,1.837,307,7.544,308,2.711,315,4.261,334,2.415,355,3.301,462,3.328,511,11.479,572,2.992,622,5.308,630,6.687,639,3.986,758,3.622,764,4.578,765,4.287,770,4.136,771,6.449,772,3.474,773,5.155,774,4.578,775,4.01,777,3.732,780,4.435,845,5.493,936,4.163,975,4.505,996,3.791,1219,4.034,1300,3.853,1308,4.741,1309,3.94,1313,4.979,1343,4.979,1347,5.209,1540,5.209,2106,4.83,3586,7.544,4326,10.576,4822,4.979,4823,7.019,4903,7.019,4970,10.254,6081,8.376,6082,8.376,6083,8.376,6084,8.376]],["keywords/1149",[]],["title/1150",[180,622.502,273,296.762,2631,1184.242]],["content/1150",[6,1.773,9,6.043,19,3.959,23,3.46,25,1.398,33,1.708,44,3.678,45,3.747,63,2.896,99,4.653,154,4.855,155,3.937,162,4.669,164,4.148,183,4.16,198,3.528,202,4.063,224,4.005,273,4.978,284,4.685,293,3.697,301,3.01,315,4.302,319,5.886,330,5.054,334,3.808,385,4.838,396,4.315,399,7.22,410,8.54,425,6.588,438,4.946,490,5.248,508,8.317,511,9.42,536,4.529,537,4.329,538,6.565,543,6.782,544,4.928,545,3.658,636,7.22,660,7.409,734,6.653,735,5.947,858,6.653,888,6.89,889,8.931,1125,9.243,1176,7.545,1384,9.08,2631,11.559,6085,13.208,6086,13.208]],["keywords/1150",[]],["title/1151",[516,546.285,763,542.465,1902,652.904,3375,707.127,3858,810.359]],["content/1151",[3,5.613,4,2.087,14,6.512,22,3.202,23,3.07,25,1.339,37,2.908,40,4.658,45,3.462,70,2.976,87,4.24,103,5.438,114,3.547,151,3.765,154,4.486,155,3.637,203,6.188,291,5.842,297,3.462,334,3.518,385,4.469,408,5.732,437,4.789,466,6.366,467,4.313,468,5.583,486,10.298,508,10.909,512,4.995,514,4.374,539,5.676,557,4.848,607,6.616,642,5.466,763,11.195,872,6.146,906,6.616,994,6.563,996,5.523,1122,10.226,1147,6.727,1180,7.332,1204,6.275,1617,10.507,1672,9.865,1902,10.646,1940,9.865,2077,10.226,2502,6.065,2642,9.865,2836,10.678,3375,8.122,3858,9.308,3863,16.88,3864,10.226,4024,10.226,6087,11.284,6088,11.284,6089,11.284,6090,11.284,6091,11.284]],["keywords/1151",[]],["title/1152",[45,337.67,63,261.029,408,393.825,689,650.672]],["content/1152",[4,2.101,16,10.428,37,3.405,62,8.688,63,5.296,67,8.16,408,6.71,508,12.77,894,7.772,2443,15.897,3661,16.996]],["keywords/1152",[]],["title/1153",[275,396.341,408,393.825,514,426.689,2900,792.272]],["content/1153",[]],["keywords/1153",[]],["title/1154",[581,790.783]],["content/1154",[4,1.818,22,4.604,23,4.221,24,4.287,25,1.352,32,3.712,33,1.606,34,2.844,35,3.562,36,6.479,37,3.414,52,4.833,107,3.051,114,3.611,193,4.976,198,4.686,275,5.841,287,6.174,329,5.535,371,6.479,381,4.008,408,7.712,425,4.468,427,6.449,514,7.29,571,8.145,745,6.79,843,5.622,1074,6.79,1628,11.965,1827,6.967,2900,11.676,4028,10.32,4029,9.151,6092,15.351,6093,17.542]],["keywords/1154",[]],["title/1155",[275,522.063,408,518.75]],["content/1155",[]],["keywords/1155",[]],["title/1156",[401,702.281,556,560.063]],["content/1156",[6,1.685,15,10.134,22,5.77,24,6.006,45,4.936,122,7.637,171,4.544,172,10.035,230,5.497,275,7.321,323,9.592,405,8.947,420,10.572,527,11.305,614,7.526,626,13.273,674,6.373,776,8.282,1030,8.539,1204,8.947,1385,14.583,1663,9.675,1847,12.952,6094,17.4,6095,17.4,6096,17.4]],["keywords/1156",[]],["title/1157",[703,695.225]],["content/1157",[4,1.481,6,1.872,10,5.657,37,2.4,44,3.981,51,4.626,54,6.213,63,3.135,67,5.752,87,4.968,190,6.687,275,7.814,289,6.649,371,7.458,386,10.406,389,7.351,467,5.053,499,7.513,527,7.351,534,10.195,555,8.891,694,7.106,703,8.756,720,10.904,785,4.36,865,9.375,886,5.107,894,7.409,914,6.725,969,9.666,1029,10.406,1193,10.904,1320,7.689,1548,9.119,1713,7.751,1723,11.981,1846,10.406,1965,10.004,2165,9.666,2254,8.091,2612,10.195,3188,13.219,3990,10.641,6097,14.296,6098,14.296,6099,14.296]],["keywords/1157",[]],["title/1158",[4,123.338,25,79.157,275,396.341,408,393.825]],["content/1158",[22,4.981,23,4.257,24,5.542,25,0.73,32,3.398,33,1.42,34,4.781,35,3.149,37,2.695,108,5.728,111,4.143,152,3.196,198,2.933,224,3.329,271,3.895,273,2.408,275,3.656,334,3.166,355,4.327,572,3.922,630,7.676,758,4.749,764,6.002,765,5.262,767,11.928,770,5.423,771,8.366,772,4.555,773,6.327,776,7.642,777,4.893,780,5.814,787,5.321,804,5.321,805,7.201,886,3.922,1157,11.282,1257,5.024,1300,5.051,1308,6.215,1313,6.527,1320,5.906,1345,6.829,1444,8.98,1613,6.105,1641,7.993,6100,10.98,6101,10.98,6102,10.98,6103,10.98]],["keywords/1158",[]],["title/1159",[20,475.86,275,353.746,308,343.888,332,929.703,504,471.004]],["content/1159",[4,2.121,20,9.17,21,8.985,22,5.373,23,4.023,24,7.067,25,1.036,32,3.297,34,3.567,35,4.467,37,3.437,51,3.728,114,4.529,275,8.087,308,5.043,332,13.633,355,6.139,389,8.011,504,6.907,764,8.516,776,9.744,777,6.942,1169,7.127,1613,8.662,1648,10.902,2731,11.883,6104,20.473]],["keywords/1159",[]],["title/1160",[2,495.646,315,440.762,408,447.737]],["content/1160",[]],["keywords/1160",[]],["title/1161",[2778,1328.96]],["content/1161",[2,6.537,4,1.849,6,1.728,10,7.062,33,2.308,34,4.086,37,2.996,63,3.914,107,4.384,149,9.266,192,6,301,4.068,373,4.603,512,7.306,711,7.574,736,6.684,745,9.756,782,10.5,785,5.443,786,7.646,792,10.293,1058,9.243,1426,13.614,1554,12.489,6105,16.504]],["keywords/1161",[]],["title/1162",[2651,1356.449]],["content/1162",[2,9.095,4,1.62,5,3.375,6,1.799,7,4.88,10,4.19,12,5.451,13,9.267,23,1.614,25,1.365,34,2.425,37,3.12,45,3.004,50,5.838,51,3.741,54,4.602,61,8.408,62,6.697,72,7.441,149,4.393,152,2.108,184,4.03,217,3.783,223,5.445,230,3.345,271,5.546,297,4.435,301,2.413,315,6.684,323,5.838,364,5.741,381,5.045,399,5.789,408,5.172,435,4.845,455,5.07,461,8.875,462,4.208,463,7.552,468,7.152,469,12.254,510,5.37,552,5.565,673,5.524,763,5.407,786,6.697,827,6.508,952,5.994,955,6.107,1000,5.696,1058,5.484,1160,7.928,1204,5.445,1298,6.363,1614,5.407,2250,8.301,2421,7.882,2422,8.562,2428,8.875,2724,7.882,5914,8.562,6106,10.59,6107,9.267,6108,15.575,6109,10.59,6110,9.792,6111,9.792,6112,10.59]],["keywords/1162",[]],["title/1163",[581,790.783]],["content/1163",[2,6.889,4,1.949,10,7.443,22,4.936,23,4.271,24,4.739,25,1.251,32,4.54,34,3.144,35,3.937,36,7.163,37,4.059,52,5.183,193,5.501,198,3.668,246,4.338,315,6.126,355,5.411,408,7.099,843,6.215,1628,8.078,4028,11.065,4029,9.812,6113,16.46,6114,15.764]],["keywords/1163",[]],["title/1164",[467,658.712]],["content/1164",[2,6.605,4,0.854,7,2.573,10,5.112,11,5.406,12,4.505,22,3.39,23,4.263,25,0.548,32,1.744,34,1.887,37,3.775,44,2.295,51,1.973,54,3.583,60,4.82,63,1.808,69,2.573,76,7.679,88,2.826,103,3.673,124,7.334,136,4.754,148,4.754,149,3.419,152,1.641,155,3.851,161,4.081,164,2.589,167,3.583,171,4.16,184,3.455,192,2.771,198,2.202,201,3.184,219,3.064,222,2.248,230,6.187,246,2.604,273,1.808,293,2.307,345,6.288,373,3.332,380,6,385,3.019,391,4.152,427,3.03,458,3.834,459,6.288,467,6.375,513,4.9,557,3.275,590,3.515,736,3.087,765,2.702,785,3.94,843,3.731,901,3.147,969,5.573,983,4.9,1058,4.269,1089,4.754,1116,6.421,1169,3.771,1354,5.008,1377,3.856,1551,6.664,1633,4.709,1724,5.33,2131,4.953,2281,5.487,3375,5.487,3551,6.664,3770,6.136,5412,14.731,5783,7.622,5914,6.664,6043,7.622,6108,10.827,6113,7.214,6114,10.827,6115,14.731,6116,8.243]],["keywords/1164",[]],["title/1165",[2,389.113,37,178.358,184,230.384,315,346.025,435,486.049]],["content/1165",[2,6.629,4,1.875,19,3.036,23,4.233,24,5.22,32,4.546,33,2.596,34,4.596,35,4.337,37,3.921,52,2.79,65,3.319,88,5.185,124,3.792,155,3.018,184,4.353,198,5.363,224,3.07,230,3.199,234,4.684,273,2.221,297,2.873,315,5.895,364,5.49,373,3.9,381,4.88,399,5.535,435,8.281,458,4.71,843,4.584,1204,5.207,1255,14.633,1342,6.847,2131,6.084,4028,5.957,6108,15.169,6113,8.862,6114,15.169,6115,9.364,6117,15.123,6118,10.126,6119,15.123,6120,10.126,6121,10.126,6122,10.126,6123,10.126,6124,10.126]],["keywords/1165",[]],["title/1166",[2,574.258,408,518.75]],["content/1166",[]],["keywords/1166",[]],["title/1167",[2778,1328.96]],["content/1167",[4,2.187,15,12.29,97,7.408,958,9.761,1030,10.355,1327,11.261,1821,14.046,6125,21.102]],["keywords/1167",[]],["title/1168",[2651,1356.449]],["content/1168",[2,6.769,10,7.313,22,5.991,23,4.126,24,7.88,25,1.229,32,3.911,34,4.231,35,5.3,37,3.103,355,7.283,777,8.235,1612,16.992,1613,10.276]],["keywords/1168",[]],["title/1169",[295,963.564,408,518.75]],["content/1169",[]],["keywords/1169",[]],["title/1170",[2778,1328.96]],["content/1170",[5,3.788,6,2.343,12,6.118,40,6.698,52,4.835,61,11.887,103,9.849,124,6.571,149,10.036,273,3.848,301,5.037,373,4.525,405,9.023,408,5.806,527,9.023,711,7.446,736,6.571,761,12.773,786,9.468,6126,17.547]],["keywords/1170",[]],["title/1171",[2651,1356.449]],["content/1171",[4,1.703,5,3.549,6,2.053,7,5.132,11,10.78,12,5.732,15,9.574,33,2.126,34,3.764,51,3.934,53,6.944,61,8.842,124,6.156,215,8.64,217,5.872,297,4.664,301,4.832,461,13.777,462,6.532,463,11.724,773,6.478,952,9.305,1256,9.305,2049,10.629,2428,13.777,3758,10.224,4040,10.942,4791,15.201,6107,14.386,6127,16.439,6128,16.439,6129,21.202,6130,16.439]],["keywords/1171",[]],["title/1172",[581,790.783]],["content/1172",[1,10.399,4,1.461,6,1.365,10,7.58,14,5.301,22,5.027,23,4.19,24,6.612,25,1.274,32,4.054,34,3.229,35,4.044,37,2.368,51,3.375,52,5.994,54,6.129,114,4.1,162,4.985,171,3.682,295,11.772,355,5.557,467,4.985,777,6.284,1140,10.497,1248,16.763,1571,9.535,1613,7.841,2303,7.585,6131,19.155,6132,14.102,6133,12.341,6134,12.341]],["keywords/1172",[]],["title/1173",[1,830.371]],["content/1173",[1,11.353,5,3.82,6,1.713,10,7.002,52,4.876,58,6.481,81,12.621,84,9.443,99,6.234,114,5.144,167,7.691,222,4.825,295,14.928,302,14.307,329,7.886,642,7.926,806,8.524,1196,11.605,2178,12.383,6135,17.696,6136,17.696,6137,16.364]],["keywords/1173",[]],["title/1174",[281,524.746,297,383.895,379,619.122]],["content/1174",[2,4.66,4,1.849,6,1.995,10,5.035,11,8.344,12,4.437,18,4.25,25,0.846,33,2.664,45,3.61,50,7.014,51,3.045,69,5.57,72,6.056,79,6.738,97,4.467,149,5.278,154,4.677,162,4.498,171,3.323,198,4.766,219,4.73,264,3.689,273,3.913,279,12.249,281,9.908,295,13.727,311,7.644,373,3.281,381,4.106,427,4.677,455,6.092,507,7.914,510,6.452,716,4.594,792,7.338,843,5.759,926,6.497,1256,7.202,1257,5.821,1339,5.699,1554,8.904,1711,8.344,1726,6.844,2058,8.117,3375,8.469,3650,11.766,3758,7.914,3784,11.135,4040,11.876,6138,12.724]],["keywords/1174",[]],["title/1175",[6133,1372.068,6134,1372.068]],["content/1175",[1,5.776,4,1.343,10,9.958,18,7.521,22,3.402,25,1.202,33,3.062,62,5.552,63,2.842,69,4.046,88,4.444,124,4.854,147,8.268,148,7.475,149,9.34,154,6.644,155,5.388,171,3.385,177,6.665,186,3.831,222,3.534,224,3.93,228,5.661,230,4.095,295,11.108,373,5.367,381,4.183,467,4.582,510,6.573,668,6.713,716,6.525,782,10.633,1089,7.475,1157,7.705,1309,8.503,1444,6.133,1564,8.268,2114,8.5,2252,7.875,3770,9.648,6133,11.343,6134,15.818,6139,11.986,6140,12.962]],["keywords/1175",[]],["title/1176",[72,746.242,134,887.422]],["content/1176",[4,1.395,23,4.338,45,3.82,46,4.358,50,10.23,51,4.441,171,3.516,257,6.031,295,11.405,328,10.886,494,10.27,499,7.076,642,6.031,737,4.527,879,5.242,1116,9.224,1257,8.49,1261,8.589,1263,15.145,1377,6.298,1586,10.554,1711,12.17,3828,10.554,3849,16.24,3951,9.422,4577,17.161,6141,18.558,6142,13.464,6143,13.464]],["keywords/1176",[]],["title/1177",[4,123.338,33,153.915,295,731.52,1827,667.664]],["content/1177",[4,1.471,23,3.931,25,1.28,30,6.68,32,4.072,33,1.836,34,4.406,87,4.934,162,5.019,230,4.485,241,5.278,290,10.83,295,8.726,308,4.596,319,6.327,330,3.414,355,5.595,394,7.2,419,8.626,556,5.072,557,5.641,751,8.726,785,4.33,858,7.151,894,5.441,1257,6.496,1300,6.531,1827,10.794,2707,10.83,2785,13.129,3778,8.531,3781,9.057,3887,9.761,4102,11.899,4365,12.425,4482,11.899,6137,13.129,6144,14.198,6145,14.198,6146,14.198,6147,14.198,6148,14.198,6149,14.198,6150,14.198,6151,14.198,6152,14.198]],["keywords/1177",[]],["title/1178",[516,546.285,763,542.465,1902,652.904,3375,707.127,3858,810.359]],["content/1178",[3,5.613,4,2.087,14,6.512,22,3.202,23,3.07,25,1.339,37,2.908,40,4.658,45,3.462,70,2.976,87,4.24,103,5.438,114,3.547,151,3.765,154,4.486,155,3.637,203,6.188,291,5.842,295,7.499,297,3.462,334,3.518,385,4.469,408,5.732,437,4.789,466,6.366,467,4.313,468,5.583,486,10.298,512,4.995,514,4.374,539,5.676,557,4.848,607,6.616,642,5.466,763,11.195,872,6.146,906,6.616,994,6.563,996,5.523,1122,10.226,1147,6.727,1180,7.332,1204,6.275,1617,10.507,1672,9.865,1902,10.646,1940,9.865,2077,10.226,2502,6.065,2642,9.865,2836,10.678,3375,8.122,3858,9.308,3863,16.88,3864,10.226,4024,10.226,6087,11.284,6088,11.284,6089,11.284,6090,11.284,6091,11.284,6153,12.202]],["keywords/1178",[]],["title/1179",[2,495.646,408,447.737,1614,690.985]],["content/1179",[]],["keywords/1179",[]],["title/1180",[2778,1328.96]],["content/1180",[2,7.687,4,1.677,5,3.494,6,2.032,10,6.404,18,5.406,33,2.093,34,3.705,63,3.549,107,3.975,149,8.706,192,5.441,273,3.549,301,3.688,373,5.413,452,7.486,480,7.551,507,10.065,512,6.625,516,8.322,645,9.521,711,6.868,736,6.061,745,8.847,782,9.521,785,4.935,786,6.933,792,9.334,1058,8.381,1426,12.345,1554,11.325,6105,14.965,6154,16.184]],["keywords/1180",[]],["title/1181",[2651,1356.449]],["content/1181",[2,9.077,4,1.272,5,4.362,6,2.247,7,5.43,10,4.857,12,6.066,13,10.741,23,1.871,25,1.157,34,2.81,37,3.69,50,6.766,51,4.163,54,5.335,61,9.356,72,8.28,149,7.216,152,2.444,215,6.451,217,4.384,223,6.312,230,3.878,297,3.482,301,2.797,455,5.877,461,10.287,462,4.877,463,8.754,510,6.224,673,6.403,763,6.267,786,7.452,952,6.947,955,7.079,1058,6.357,1077,6.947,1160,8.821,1204,6.312,1298,7.375,1614,8.882,2250,9.621,2428,10.287,2724,9.136,3367,8.379,5914,9.924,6107,10.741,6108,14.579,6110,11.35,6111,11.35,6155,12.274,6156,12.274]],["keywords/1181",[]],["title/1182",[2,435.966,4,123.338,408,393.825,1614,607.783]],["content/1182",[2,6.889,4,1.949,10,7.443,22,4.936,23,4.271,24,4.739,25,1.251,32,4.54,34,3.144,35,3.937,36,7.163,37,4.191,52,5.183,193,5.501,198,3.668,355,5.411,408,7.099,843,6.215,1614,9.604,1628,8.078,4028,11.065,4029,9.812,4583,14.347,6114,15.764]],["keywords/1182",[]],["title/1183",[281,524.746,297,383.895,379,619.122]],["content/1183",[2,8.167,4,2.466,7,6.178,12,7.774,33,1.914,37,3.996,45,4.2,46,4.792,51,5.336,53,6.253,58,5.422,69,6.96,88,5.076,99,5.215,182,2.954,264,5.738,281,7.675,289,6.886,311,8.479,329,6.597,373,3.818,490,5.882,736,5.544,743,10.359,889,10.009,1072,10.359,1614,11.385,2130,9.708,2492,12.025]],["keywords/1183",[]],["title/1184",[6,131.019,10,535.472,480,486.819]],["content/1184",[2,8.009,4,1.788,5,2.619,6,1.175,10,4.8,18,4.052,22,5.269,23,4.12,24,4.187,25,1.454,32,3.651,34,2.778,35,3.479,36,6.329,37,4.146,52,3.343,152,2.415,186,3.586,200,4.526,223,6.238,249,6.866,265,4.364,273,3.783,355,4.781,370,7.639,371,9,373,4.449,408,4.014,480,7.866,507,7.545,645,7.137,737,4.079,1089,6.996,1121,7.844,1614,10.251,4025,15.953,4027,11.218,4028,10.149,4029,9,4583,13.159]],["keywords/1184",[]],["title/1185",[10,535.472,34,309.835,230,427.504]],["content/1185",[2,7.886,10,8.52,14,6.33,18,5.625,23,3.282,32,3.563,37,3.985,54,7.318,124,8.063,155,5.019,161,5.319,171,4.397,230,5.319,321,10.348,330,4.048,373,5.553,496,6.804,785,7.238,1086,10.887,1614,8.598,4028,9.906,4583,12.844,5914,17.408]],["keywords/1185",[]],["title/1186",[499,711.201,703,504.882,958,625.942]],["content/1186",[2,6.021,5,3.549,23,3.231,32,3.479,37,3.94,54,7.145,62,7.042,63,3.605,149,6.819,152,3.273,201,8.189,215,8.64,230,5.193,499,12.334,527,8.453,590,7.009,736,7.94,786,7.042,1220,9.391,1310,9.574,1511,11.967,1614,8.394,1712,11.504,1814,10.352,2436,14.386,4028,9.671,4583,12.539,6157,21.202]],["keywords/1186",[]],["title/1187",[260,811.993,408,518.75]],["content/1187",[]],["keywords/1187",[]],["title/1188",[260,700.837,408,447.737,703,504.882]],["content/1188",[4,1.639,25,1.625,33,2.674,37,2.655,63,3.468,69,4.937,76,9.401,88,5.423,230,7.277,240,3.531,260,11.93,273,3.468,279,9.401,280,10.088,297,4.487,301,3.604,326,12.397,334,4.56,389,8.132,504,7.012,516,10.632,545,4.381,674,5.793,747,11.279,843,7.159,1268,10.708,1633,9.035,2301,10.088,3092,11.772,6158,15.815,6159,15.815]],["keywords/1188",[]],["title/1189",[4,140.222,260,700.837,408,447.737]],["content/1189",[4,1.949,22,5.631,23,4.111,24,6.492,25,0.913,28,5.938,29,7.802,30,6.459,32,2.906,34,3.144,35,3.937,37,3.158,108,7.163,109,8.878,174,8.162,198,3.668,251,7.634,260,12.93,314,8.186,408,4.543,580,6.316,727,9.608,773,8.455,777,6.118,843,6.215,901,5.241,1300,6.316,1613,7.634,1663,7.634,3813,8.342,5387,19.839,5389,12.697,6160,13.73]],["keywords/1189",[]],["title/1190",[23,161.915,25,70.65,37,178.358,2427,810.359,3529,929.703]],["content/1190",[]],["keywords/1190",[]],["title/1191",[63,296.762,408,447.737,689,739.744]],["content/1191",[4,2.022,5,4.213,6,1.889,7,4.525,8,10.333,19,4.345,25,1.298,33,1.874,37,3.276,40,5.533,46,4.692,51,3.469,52,3.994,58,5.309,63,5.176,65,8.315,84,7.735,99,5.106,100,5.368,122,8.565,193,5.808,206,5.16,215,7.618,240,3.236,329,8.696,375,7.561,381,4.677,391,7.301,408,4.796,520,6.561,641,10.143,703,5.408,769,10.551,861,6.742,874,6.426,1981,9.648,2719,12.148]],["keywords/1191",[]],["title/1192",[10,620.079,37,178.358,670,595.91,1637,890.35]],["content/1192",[2,8.137,4,1.833,5,2.714,6,1.982,9,8.094,10,8.791,16,6.464,18,4.199,25,0.836,30,5.914,37,3.73,63,3.88,73,6.419,107,3.088,149,7.338,152,3.522,177,6.464,215,6.606,228,5.49,230,3.971,246,3.971,273,2.757,373,3.242,375,6.558,405,6.464,410,11.438,459,9.588,483,6.761,484,7.051,490,4.995,496,5.079,507,12.732,527,6.464,587,8.019,694,6.248,716,4.538,888,6.558,952,7.115,955,7.25,1030,6.168,1058,6.51,1089,7.25,1134,7.115,1205,16.046,1426,9.588,1444,5.948,1614,6.419,1631,7.115,1637,14.826,2055,10.535,2488,9.15,3963,9.588,6161,12.57]],["keywords/1192",[]],["title/1193",[63,343.83,689,857.071]],["content/1193",[4,2.353,15,10.669,25,1.51,63,4.979,67,7.371,171,4.783,203,9.289,329,8.163,527,9.42,581,7.774,642,8.205,689,10.014,785,5.586,879,7.132,1931,11.535,1981,15.112,1984,11.685,2131,11.007,2502,9.105]],["keywords/1193",[]],["title/1194",[1981,1240.307]],["content/1194",[5,4.313,33,1.941,37,1.684,86,6.067,107,4.42,148,5.784,152,5.251,154,6.615,186,2.964,187,6.163,193,8.997,198,2.679,201,3.873,224,3.041,230,3.168,246,4.743,249,5.676,273,3.292,301,4.101,334,2.892,373,4.641,381,3.236,490,3.985,520,9.043,552,5.271,642,8.06,716,5.42,736,8.012,761,7.3,771,6.015,775,8.616,782,5.9,787,10.368,792,10.378,879,3.904,1219,4.831,1313,8.925,1552,10.322,1713,5.437,1724,9.707,1981,11.978,2036,14.106,2169,8.776,2252,6.093,3661,8.405,4176,12.582,4430,8.405,5347,9.274,6162,10.029,6163,10.029,6164,10.029,6165,10.029,6166,10.029,6167,10.029,6168,8.776,6169,10.029]],["keywords/1194",[]],["title/1195",[37,178.358,51,254.223,63,232.977,114,308.839,689,580.745]],["content/1195",[2,6.651,4,1.882,20,8.134,37,4.126,51,4.345,52,5.003,63,4.952,67,7.306,73,9.272,114,5.279,246,5.737,378,10.911,397,11.583,413,9.404,484,10.186,568,10.683,874,8.051,886,6.487,1614,9.272,1662,14.234,1984,11.583]],["keywords/1195",[]],["title/1196",[37,178.358,63,232.977,114,308.839,689,580.745,6170,1062.382]],["content/1196",[4,2.379,37,3.13,58,8.407,73,9.521,99,6.569,100,6.905,142,10.97,182,4.58,205,5.964,206,8.171,240,4.164,260,9.657,381,6.017,408,6.169,506,10.11,516,9.588]],["keywords/1196",[]],["title/1197",[0,850.067,408,518.75]],["content/1197",[]],["keywords/1197",[]],["title/1198",[0,733.699,77,1094.088,408,447.737]],["content/1198",[0,13.187,1,3.017,4,2.08,5,2.383,16,3.481,19,3.308,25,1.48,33,1.807,34,1.55,37,2.346,45,3.964,46,3.572,49,3.185,51,1.62,52,1.865,63,2.42,67,4.441,70,2.692,72,5.253,92,2.886,111,4.165,125,2.679,136,3.904,152,3.208,161,2.139,164,2.126,179,3.365,182,1.351,184,3.495,191,2.035,192,3.711,196,3.435,198,1.808,201,6.855,202,3.395,203,3.433,205,2.868,206,3.929,218,5.164,232,4.024,239,8.229,240,3.12,246,2.139,249,3.832,254,4.024,271,3.915,272,4.706,273,3.534,277,6.365,278,1.822,301,2.515,315,2.205,329,4.918,330,2.653,353,5.924,356,3.149,359,4.928,361,3.797,370,4.263,371,3.532,378,4.068,387,3.943,391,3.41,395,2.846,396,5.265,398,4.133,399,3.701,400,3.048,406,5.924,408,7.163,409,8.913,410,4.377,413,5.716,435,3.097,442,4.928,466,3.532,467,2.393,468,3.097,482,3.701,487,4.263,493,4.21,545,1.875,552,3.558,555,4.21,560,3.585,598,4.577,607,5.984,648,4.263,673,3.532,688,4.113,714,4.506,744,8.215,747,4.828,785,2.064,886,2.418,952,3.832,958,3.131,1066,3.613,1072,4.737,1077,3.832,1086,4.377,1116,3.365,1268,3.506,1325,4.377,1329,7.085,1332,3.641,1398,4.263,1580,5.039,1656,4.506,1711,7.238,1726,3.641,2112,4.439,2172,4.577,2242,5.307,2542,4.928,3333,5.473,3748,5.307,4591,6.26,4595,5.674,6171,6.77,6172,6.77,6173,6.77,6174,6.77,6175,6.77,6176,6.77]],["keywords/1198",[]],["title/1199",[2778,1328.96]],["content/1199",[1,9.217,5,4.465,184,4.485,239,10.561,253,18.1,1305,14.473,2170,18.1,6177,20.683,6178,20.683,6179,20.683]],["keywords/1199",[]],["title/1200",[2651,1356.449]],["content/1200",[63,4.675,215,11.204,277,12.295,278,5.738,393,11.466,1261,13.598,6180,21.318]],["keywords/1200",[]],["title/1201",[581,790.783]],["content/1201",[0,8.843,1,7.268,22,5.536,23,4.277,24,7.281,25,1.085,26,17.679,27,13.669,31,11.213,32,3.452,34,3.734,35,4.677,37,2.738,55,19.507,92,6.954,109,10.546,126,15.082,355,6.428,467,5.766,1613,9.069,6181,16.311]],["keywords/1201",[]],["title/1202",[112,887.426,144,831.659,1254,914.982]],["content/1202",[0,8.707,4,1.664,8,8.504,23,3.98,25,1.068,51,3.843,81,11.453,92,6.847,111,6.06,114,4.668,144,12.834,193,6.434,250,8.57,257,7.193,280,10.244,569,7.88,598,10.858,1178,15.692,1254,10.858,1263,11.453,1377,7.512,1937,13.459,2720,10.112,2923,13.459,4072,14.85,4073,14.85,4074,14.053,6182,16.059,6183,16.059,6184,16.059,6185,16.059]],["keywords/1202",[]],["title/1203",[1,830.371]],["content/1203",[0,11.8,1,9.698,7,6.794,8,11.524,201,8.406]],["keywords/1203",[]],["title/1204",[0,645.355,4,123.338,33,153.915,1827,667.664]],["content/1204",[0,9.677,4,1.849,22,4.684,23,3.716,25,1.486,27,14.958,32,3.777,33,2.308,87,6.202,170,15.619,241,6.634,290,13.614,308,5.777,319,7.953,330,4.291,394,9.051,419,10.843,785,5.443,894,6.839,1827,10.011,2707,13.614,6186,17.848,6187,17.848]],["keywords/1204",[]],["title/1205",[25,49.41,33,96.074,98,318.282,287,369.302,395,312.401,408,245.826,873,446.421,874,527.51]],["content/1205",[]],["keywords/1205",[]],["title/1206",[874,826.145]],["content/1206",[4,1.318,37,2.996,51,3.045,52,4.916,53,5.375,58,4.66,63,2.79,84,6.79,86,5.141,87,4.422,92,5.425,96,7.202,98,10.075,103,5.67,182,4.111,192,4.278,200,4.747,202,3.914,205,3.306,206,4.529,222,4.865,252,4.934,275,4.237,287,8.869,293,3.562,308,4.119,334,3.669,356,5.918,395,5.35,396,4.157,438,4.765,489,9.471,512,5.208,514,4.561,525,6.687,536,4.363,557,5.056,562,7.338,659,5.853,692,6.497,785,5.441,873,10.721,874,9.136,932,5.79,963,4.914,971,7.564,994,6.844,1023,9.471,1041,9.974,1082,8.469,1106,10.664,1207,7.338,1427,6.79,1604,8.227,2970,15.614,6188,12.724,6189,12.724,6190,11.766]],["keywords/1206",[]],["title/1207",[703,584.959,874,695.115]],["content/1207",[4,1.335,5,2.781,6,2.008,22,3.381,51,4.307,53,5.441,63,2.825,66,9.377,70,3.141,87,4.476,98,5.518,177,6.624,182,2.57,192,4.331,222,4.907,230,4.069,256,6.06,278,3.468,287,6.403,289,8.371,297,5.884,308,6.714,361,7.225,395,5.416,402,7.429,476,7.826,483,6.928,539,5.992,590,5.492,613,6.34,674,4.718,703,4.806,704,6.77,872,6.488,873,7.74,874,7.979,901,7.918,958,5.958,1028,7.429,1075,9.588,1124,8.329,1377,6.025,1595,8.011,1617,6.72,1706,8.447,1707,9.187,1708,8.856,1797,11.912,1845,10.796,1862,11.273,2253,6.095,2254,10.186,2492,7.826,2964,10.097,3939,11.912,5489,11.912,6191,12.881]],["keywords/1207",[]],["title/1208",[46,438.039,308,438.039,874,599.958]],["content/1208",[4,1.765,6,1.154,10,2.947,23,4.135,25,0.495,32,4.735,34,5.122,35,2.136,46,2.411,67,2.997,84,3.974,87,2.588,98,10.225,107,1.829,124,4.464,162,7.028,186,2.201,198,5.311,222,2.031,228,3.253,230,5.382,286,4.577,298,3.654,308,4.825,311,3.19,326,5.838,329,3.319,330,1.791,349,4.815,375,3.885,395,3.131,465,5.543,498,4.632,510,3.777,529,4.215,572,2.66,580,3.426,613,5.251,662,5.311,663,4.105,674,4.366,758,3.221,769,5.421,773,4.698,869,4.884,873,4.475,874,5.285,901,2.843,955,4.295,958,3.445,1081,4.577,1170,3.803,1183,4.105,1332,4.006,1444,3.524,1526,4.071,1718,5.421,1726,4.006,2502,5.925,2669,5.035,2896,6.887,2970,6.517,3011,6.887,3030,9.638,3236,11.684,3445,6.887,3563,5.12,6192,7.447,6193,7.447,6194,7.447,6195,7.447,6196,7.447,6197,6.887,6198,7.447,6199,7.447,6200,7.447,6201,7.447,6202,7.447,6203,7.447,6204,11.921,6205,7.447,6206,7.447,6207,11.921,6208,7.447,6209,7.447,6210,11.921,6211,7.447,6212,7.447,6213,11.921,6214,7.447,6215,7.447,6216,7.447,6217,7.447,6218,7.447,6219,7.447,6220,7.447,6221,7.447,6222,7.447,6223,7.447,6224,7.447]],["keywords/1208",[]],["title/1209",[63,343.83,874,695.115]],["content/1209",[16,7.301,20,6.36,25,0.944,37,3.231,52,5.302,61,7.636,63,4.22,86,7.776,87,4.934,98,9.351,103,10.428,162,5.019,191,5.785,192,6.47,193,5.689,198,3.793,230,4.485,273,3.114,275,4.728,287,7.057,293,3.974,301,3.236,308,4.596,322,5.219,395,5.97,402,8.189,510,7.2,537,4.653,543,5.258,554,6.798,564,6.567,659,6.531,674,7.048,689,7.761,692,7.25,716,5.126,787,6.881,873,8.531,874,6.295,1610,8.83,1638,11.13,1821,9.451,6190,13.129,6225,14.198]],["keywords/1209",[]],["title/1210",[4,123.338,25,79.157,408,393.825,874,527.718]],["content/1210",[4,1.327,14,4.813,22,4.703,23,4.2,24,6.185,25,1.489,32,2.709,33,1.655,34,2.931,35,3.671,36,6.679,37,2.149,45,3.632,53,5.408,89,8.062,98,7.676,107,3.145,364,6.941,373,3.302,375,6.679,389,6.583,408,6.84,476,7.778,747,9.13,763,9.15,874,7.945,1028,7.383,1040,8.166,1160,6.492,1180,7.692,1891,8.959,2253,8.479,2502,6.363,2516,9.529,2969,8.656,3680,9.765,4029,6.679,6226,11.838,6227,12.802,6228,13.669,6229,12.802,6230,11.838,6231,9.319,6232,11.203,6233,12.802]],["keywords/1210",[]],["title/1211",[4,99.401,289,446.197,381,309.561,874,425.298,2253,453.912,2254,542.959]],["content/1211",[4,2.2,22,4.87,23,3.782,24,6.406,25,1.412,32,2.849,33,1.741,34,3.083,35,3.861,36,7.024,37,2.26,53,5.687,84,9.903,87,4.679,151,4.154,230,4.253,289,9.878,297,5.265,308,4.358,375,7.024,382,6.923,401,6.031,489,10.022,539,6.263,674,4.931,675,6.263,718,5.464,738,8.705,874,8.228,894,5.16,901,5.14,940,8.18,1028,7.765,1636,9.422,1708,9.256,2253,6.371,2254,12.02,2502,6.692,2964,10.554,3019,11.284,4029,7.024,6234,11.783,6235,19.637,6236,13.464]],["keywords/1211",[]],["title/1212",[97,475.083,241,503.001,2255,965.11]],["content/1212",[14,5.77,22,5.321,23,4.009,25,1.348,32,3.248,37,4.054,45,5.751,53,8.564,97,5.389,98,8.685,154,5.642,184,3.329,189,7.837,370,9.665,373,3.958,515,7.58,723,10.378,874,6.805,2253,11.426,2255,14.459,4029,10.576,6234,17.742,6237,17.795]],["keywords/1212",[]],["title/1213",[4,99.401,53,405.208,171,250.496,843,434.208,2253,453.912,4178,839.484]],["content/1213",[4,2.394,6,1.175,14,4.56,19,3.637,22,3.184,23,3.521,25,0.807,32,2.567,37,2.037,53,9.236,86,4.902,98,5.197,103,5.406,117,11.218,124,6.461,171,4.505,184,2.631,186,3.586,187,7.455,198,3.241,217,4.333,240,2.709,280,7.738,289,8.024,322,4.46,401,5.434,425,4.364,438,4.543,452,5.611,543,4.492,549,6.376,572,4.333,579,7.844,674,6.319,772,5.032,773,7.912,785,3.699,843,9.087,874,7.648,894,4.649,1377,5.675,1388,7.738,1646,8.075,1827,6.805,2253,10.347,2254,9.764,2255,8.652,2353,8.652,4029,6.329,4178,15.097,4432,10.167,5408,11.218,6228,9.253,6234,15.097,6238,12.131]],["keywords/1213",[]],["title/1214",[58,389.113,99,374.253,506,575.999,874,471.004,1052,858.926]],["content/1214",[4,2.352,6,1.617,7,5.213,25,1.11,33,2.531,37,2.803,51,5.432,53,4.896,58,6.116,73,5.919,84,10.445,87,6.802,94,7.209,98,4.965,99,5.883,100,6.184,101,14.613,202,3.566,204,5.485,210,15.109,230,3.662,264,3.36,287,5.761,289,5.391,294,9.371,297,3.288,308,7.348,323,6.39,381,3.74,389,5.96,395,4.874,408,3.835,421,6.003,496,4.684,504,8.678,506,9.054,552,6.092,579,7.494,582,6.502,785,3.535,873,6.965,874,8.678,886,4.141,901,4.425,1052,9.371,1124,7.494,1718,8.438,1931,7.299,3563,7.969,3921,9.086,3924,10.719,3925,10.719,3927,10.719,6239,11.591]],["keywords/1214",[]],["title/1215",[65,211.691,87,224.451,98,454.945,219,240.08,287,321.043,308,209.074,395,446.538,873,388.084,874,286.357]],["content/1215",[4,1.386,6,1.295,65,4.385,70,5.161,84,9.859,87,7.932,98,11.386,176,4.882,196,4.164,219,4.972,230,4.226,246,4.226,287,6.649,293,3.745,308,6.851,326,10.486,375,6.979,395,10.877,396,4.371,420,8.128,447,11.785,482,7.313,723,9.045,785,4.08,872,6.738,873,11.101,874,9.383,1106,11.211,1160,6.784,1987,10.204,2118,9.045,2136,12.929,3236,10.486,5544,12.37,6197,12.37,6240,13.378]],["keywords/1215",[]],["title/1216",[222,369.003,857,695.85,874,599.958]],["content/1216",[20,9.173,98,10.407,287,10.179,304,10.315,308,6.629,395,8.611,873,12.305,6241,20.48,6242,20.48,6243,20.48]],["keywords/1216",[]],["title/1217",[408,518.75,652,750.686]],["content/1217",[]],["keywords/1217",[]],["title/1218",[581,790.783]],["content/1218",[22,5.186,23,4.226,24,4.069,32,3.577,34,2.699,37,3.992,40,4.5,151,6.096,161,3.724,162,5.975,164,3.702,183,3.713,205,3.063,206,6.016,272,5.026,275,3.925,298,5.784,572,4.211,652,10.94,771,4.723,776,8.045,777,8.805,845,7.73,996,5.336,1339,8.85,1617,11.259,1726,9.09,1872,6.34,2203,7.73,2638,8.992,4928,14.791,6244,16.902,6245,11.788,6246,16.902,6247,11.788,6248,16.902,6249,16.902]],["keywords/1218",[]],["title/1219",[240,302.163,581,574.278,1055,672.63]],["content/1219",[2,4.153,4,1.175,18,3.788,22,5.073,23,4.151,24,3.914,32,4.091,33,2.5,34,4.426,37,3.559,45,3.217,49,5.334,87,3.94,114,4.778,151,3.498,184,2.459,198,5.164,240,4.316,246,3.582,272,4.834,382,5.831,385,4.153,408,3.752,413,5.872,423,6.968,504,5.027,580,5.216,652,10.15,777,8.614,843,5.132,845,7.436,1055,9.609,1582,8.44,1595,7.052,1612,12.233,3586,6.539,3593,10.939,3813,6.889,3923,8.44,4585,9.167,4963,13.774,6250,11.339,6251,17.876,6252,10.485,6253,11.339,6254,11.339,6255,15.198,6256,10.485]],["keywords/1219",[]],["title/1220",[241,503.001,1339,606.144,1617,705.951]],["content/1220",[4,1.404,23,4.164,32,4.509,33,1.752,34,4.268,37,3.13,154,4.982,161,5.889,164,4.256,167,5.89,193,5.43,205,3.521,217,4.841,241,5.037,246,4.281,427,6.853,572,4.841,590,5.778,652,10.202,901,5.173,1339,6.07,1617,7.07,2175,13.875,3586,7.816,3593,9.02,3778,12.803,3781,13.592,3813,8.233,4963,11.357,6251,12.531,6252,12.531,6255,12.531,6256,12.531,6257,13.552,6258,13.552,6259,13.552,6260,13.552,6261,13.552]],["keywords/1220",[]],["title/1221",[408,518.75,1843,1000.13]],["content/1221",[]],["keywords/1221",[]],["title/1222",[4,140.222,45,383.895,1843,863.219]],["content/1222",[4,1.642,5,1.766,6,1.535,16,4.205,18,2.732,19,2.452,20,3.663,22,4.16,23,4.316,24,2.823,25,0.544,32,3.354,33,2.523,34,1.872,35,2.345,36,4.266,37,2.156,52,4.367,63,1.793,65,2.68,67,3.291,69,4.008,87,2.842,107,2.009,111,3.086,122,3.59,193,3.277,198,3.43,224,5.444,273,1.793,275,4.275,287,4.065,329,5.721,330,3.087,334,2.358,381,2.639,408,7.164,427,3.006,435,3.742,460,6.238,467,4.539,514,4.602,557,6.298,659,3.762,694,6.382,765,2.68,776,6.111,777,3.644,843,3.702,886,2.921,940,4.969,958,3.783,1169,3.742,1204,4.205,1526,7.018,1628,7.553,1713,6.961,1843,15.597,1872,6.905,1984,5.217,2121,5.026,4029,4.266,6262,11.872,6263,12.839]],["keywords/1222",[]],["title/1223",[408,518.75,2492,952.558]],["content/1223",[]],["keywords/1223",[]],["title/1224",[581,790.783]],["content/1224",[]],["keywords/1224",[]],["title/1225",[12,546.69,2492,952.558]],["content/1225",[4,1.626,7,4.9,12,5.473,22,5.399,23,4.205,25,1.368,37,2.635,40,5.992,52,4.325,98,6.724,193,6.289,287,7.802,408,7.594,432,8.249,920,8.312,1628,12.104,2253,10.86,4028,13.502,4029,8.188,4708,14.514,6237,16.127,6264,13.736]],["keywords/1225",[]],["title/1226",[12,546.69,289,729.273]],["content/1226",[4,1.327,14,4.813,22,5.426,23,4.31,24,6.185,25,1.192,32,2.709,33,1.655,34,2.931,35,3.671,36,6.679,37,2.149,50,7.057,52,3.527,98,5.484,109,8.277,174,7.61,193,5.129,432,6.728,467,6.334,557,5.087,580,5.889,630,4.706,656,7.61,777,5.705,1094,11.203,1401,9.13,2253,8.479,2255,12.78,2492,7.778,2733,9.13,4028,7.531,4029,6.679,6231,9.319,6265,16.57,6266,11.838,6267,11.838,6268,12.802,6269,12.802,6270,11.838,6271,11.838]],["keywords/1226",[]],["title/1227",[97,475.083,2226,1060.767,2253,640.323]],["content/1227",[4,2.06,7,5.319,22,4.472,23,4.108,24,5.882,25,1.443,29,4.946,32,2.523,33,1.542,34,2.73,35,3.419,36,6.22,37,2.002,45,3.382,89,7.508,98,9.294,122,5.233,186,3.524,198,3.185,223,6.131,238,8.062,298,5.851,432,6.266,552,6.266,580,7.839,642,5.341,656,10.129,763,6.088,843,5.397,1168,7.819,1180,7.164,1261,10.87,2023,5.814,2226,9.346,2253,9.409,2255,14.181,2492,7.244,2516,12.683,2969,8.062,3680,12.998,3790,8.343,4029,6.22,6231,8.679,6232,14.912,6265,15.757,6272,15.757,6273,11.025,6274,11.923]],["keywords/1227",[]],["title/1228",[97,475.083,241,503.001,2253,640.323]],["content/1228",[4,1.865,37,3.022,97,6.32,98,9.621,152,3.584,241,6.691,243,8.281,373,4.643,398,6.742,432,9.461,745,9.841,993,8.671,1124,11.639,1263,12.839,1586,14.111,1617,9.391,1989,13.399,2253,12.129,2255,12.839,3715,11.639,6237,14.111]],["keywords/1228",[]],["title/1229",[172,780.453,427,497.46,2492,822.159]],["content/1229",[4,1.898,22,4.808,37,3.075,46,5.93,98,7.847,151,5.652,154,6.734,161,5.787,162,6.476,171,4.783,241,6.809,348,10.368,378,11.007,381,5.911,427,6.734,2079,10.465,2131,11.007,2253,10.743,2492,11.129,3586,10.565,6231,16.527]],["keywords/1229",[]],["title/1230",[171,353.369,1256,765.941,1257,619.122]],["content/1230",[7,5.256,14,6.33,37,2.827,53,9.095,63,3.692,88,7.383,116,6.953,171,5.622,177,8.658,198,5.752,289,7.832,330,4.048,413,8.72,432,11.316,490,8.555,512,6.892,566,14.802,843,9.746,1256,9.53,1257,7.703,1298,10.117,1339,7.542,2253,10.188,2254,9.53]],["keywords/1230",[]],["title/1231",[184,340.004,2492,952.558]],["content/1231",[4,1.086,22,5.359,23,4.237,24,5.356,25,1.229,32,3.91,33,1.356,34,3.553,35,3.006,36,5.469,37,2.605,52,2.888,53,6.554,63,3.403,73,5.353,85,5.049,107,2.575,184,4.727,198,2.8,223,5.39,242,5.779,289,7.217,298,5.144,311,4.491,361,5.88,373,4.002,381,3.383,408,5.134,413,5.429,432,5.509,452,4.849,467,3.706,747,7.476,780,5.551,843,7.024,886,6.599,1124,6.778,1142,7.631,1276,5.551,1343,6.231,2106,6.046,2253,8.741,2254,8.783,2492,6.369,3726,6.687,4028,9.128,4029,8.095,4822,6.231,6237,12.163,6264,9.174,6275,10.483,6276,10.483,6277,18.474,6278,10.483]],["keywords/1231",[]],["title/1232",[703,695.225]],["content/1232",[51,5.208,199,10.42,308,7.045,539,10.123,2492,13.222]],["keywords/1232",[]],["title/1233",[3769,1421.376]],["content/1233",[4,2.577,25,1.24,45,5.29,53,7.876,87,6.48,88,6.393,408,6.169,423,14.107,427,6.855,432,9.8,747,13.298,843,8.44,1074,10.193,2253,11.768,3006,21.226]],["keywords/1233",[]],["title/1234",[408,616.535]],["content/1234",[]],["keywords/1234",[]],["title/1235",[73,800.578,1378,975.122]],["content/1235",[4,2.583,23,3.423,37,3.77,51,3.594,52,4.138,87,7.804,97,7.015,100,8.316,101,13.142,103,6.692,142,8.834,275,6.654,325,10.509,404,11.455,405,7.722,408,7.921,440,6.946,506,8.142,508,9.456,527,7.722,607,8.142,763,11.467,958,6.946,1029,10.931,1663,8.35,2000,11.178,4426,12.585,6279,15.017,6280,15.017]],["keywords/1235",[]],["title/1236",[19,469.995,323,864.293]],["content/1236",[19,6.139,25,1.362,171,5.348,193,8.205,222,5.584,322,7.528,323,11.289,400,9.221,408,6.776,484,11.487,639,9.747]],["keywords/1236",[]],["title/1237",[5,229.359,6,102.858,51,254.223,61,571.393,932,483.439]],["content/1237",[4,2.016,5,3.576,6,2.063,22,5.592,23,4.05,24,3.957,25,0.762,32,2.426,34,2.625,36,5.98,37,3.794,44,3.192,51,2.743,52,4.564,53,4.842,97,4.025,155,3.417,193,4.593,215,6.025,222,3.126,234,5.303,264,3.323,329,5.108,480,6.998,580,5.273,637,6.549,659,5.273,673,5.98,694,5.698,718,4.652,742,9.644,765,6.375,891,6.319,932,7.538,958,5.303,963,4.428,993,5.522,1121,7.412,1262,7.045,1377,5.362,1894,12.636,1895,8.744,2023,5.59,2107,10.601,4028,9.746,4029,5.98,4081,15.318,4082,10.601,6281,11.464,6282,11.464,6283,15.318,6284,8.986,6285,8.744]],["keywords/1237",[]],["title/1238",[149,561.321,273,296.762,1207,780.453]],["content/1238",[4,1.717,6,1.11,7,3.579,12,3.997,15,6.676,22,5.592,23,4.05,24,3.957,25,1.417,32,2.426,33,1.482,34,2.625,36,5.98,37,4.077,52,3.159,136,6.611,149,4.755,193,4.593,198,3.062,273,3.633,275,5.516,301,2.613,322,4.214,368,7.219,373,4.272,381,3.699,391,5.774,396,3.745,512,4.693,514,6.973,637,6.549,736,4.293,786,8.333,936,5.698,1030,5.625,1058,5.937,1843,10.567,2252,6.965,2253,9.204,2900,11.026,4028,9.746,4029,11.115,6092,14.497,6228,12.636,6231,8.345,6262,15.318,6286,11.464,6287,10.032]],["keywords/1238",[]],["title/1239",[230,335.617,440,491.403,674,389.113,675,494.15,692,542.465]],["content/1239",[2,7.967,4,2.067,5,2.589,6,2.106,10,4.745,22,5.235,23,3.96,24,4.139,25,1.327,32,2.538,34,2.746,36,6.256,37,4.015,149,4.974,193,4.805,198,3.203,215,6.302,230,3.788,275,3.993,289,7.958,323,6.61,440,5.547,507,7.458,514,6.133,520,7.745,673,6.256,674,4.392,675,9.279,692,6.123,786,5.137,859,9.147,874,5.316,890,8.552,1339,5.371,1614,8.737,1850,8.552,2253,9.439,2254,9.684,2900,7.982,4029,10.406,4583,13.051,6092,14.973,6235,15.822]],["keywords/1239",[]],["title/1240",[40,516.562,188,759.062,408,447.737]],["content/1240",[]],["keywords/1240",[]],["title/1241",[2,682.507]],["content/1241",[2,7.286,3,9.151,4,2.061,5,4.295,6,2.312,7,6.21,12,6.936,15,11.586,37,3.34,222,5.424,510,10.088,674,7.286,1030,9.762]],["keywords/1241",[]],["title/1242",[275,620.473]],["content/1242",[5,3.99,6,1.789,25,1.229,37,3.103,51,4.422,53,7.806,114,5.373,162,6.533,171,4.826,191,5.556,222,5.039,275,7.601,308,5.982,408,6.115,527,9.503,674,6.769,886,6.602,958,8.548,1261,11.789,3990,13.756,5386,17.09]],["keywords/1242",[]],["title/1243",[23,238.957,52,432.005]],["content/1243",[4,2.061,37,3.34,52,6.579,63,4.362,67,8.004,85,9.582,114,5.783,222,5.424,368,12.526,408,6.582,510,10.088,674,7.286,874,8.819]],["keywords/1243",[]],["title/1244",[23,238.957,874,695.115]],["content/1244",[2,7.018,4,1.985,25,1.274,37,3.217,51,4.585,53,8.094,63,4.202,85,9.229,87,6.658,98,8.208,114,5.57,222,5.225,308,6.202,395,8.057,408,6.34,516,9.853,674,7.018,874,8.495]],["keywords/1244",[]],["title/1245",[23,206.245,84,722.133,94,841.635]],["content/1245",[4,2.101,12,7.071,21,11.696,25,1.349,37,3.405,84,10.822,85,9.769,94,12.613,222,5.53,504,8.991,674,7.428,1051,15.897]],["keywords/1245",[]],["title/1246",[37,227.19,45,383.895,370,852.135]],["content/1246",[2,5.96,4,2.183,5,3.051,6,1.083,7,2.148,10,2.723,12,7.344,23,2.728,25,0.94,33,1.446,37,3.393,40,2.627,44,1.916,45,4.008,51,3.381,52,1.896,63,3.569,65,2.255,69,2.148,73,3.514,79,3.644,149,5.861,152,2.227,182,2.232,192,2.314,198,3.775,222,5.512,223,3.539,224,3.391,230,2.174,235,4.28,272,2.934,273,1.509,275,4.705,285,4.731,286,4.229,287,3.42,288,3.398,289,7.569,301,1.568,370,12.078,371,8.489,373,3.644,378,4.135,382,3.539,396,3.654,399,3.762,408,7.975,413,3.564,427,4.112,452,3.183,504,3.051,506,8.823,507,4.28,510,3.49,512,6.661,514,5.065,556,2.458,557,2.734,652,8.571,674,7.403,785,2.099,786,2.948,843,3.115,888,5.835,983,6.649,996,3.115,1028,3.969,1058,3.564,1160,3.49,1388,7.135,1444,3.256,1614,5.711,1615,6.363,1617,3.59,1628,4.048,1633,6.389,1716,4.908,1827,3.86,1843,10.38,2183,5.009,2253,8.47,2254,3.895,2281,7.445,2483,5.394,2492,6.795,2638,5.249,2900,7.445,3092,5.122,3153,9.374,3921,5.394,3922,5.767,6288,11.185,6289,6.882]],["keywords/1246",[]],["title/1247",[37,199.834,114,346.026,1102,885.975,1103,832.941]],["content/1247",[4,2.242,5,2.559,23,1.807,25,1.439,33,1.533,37,3.844,52,3.266,58,4.342,63,4.745,99,4.176,100,6.285,110,5.229,114,6.291,140,9.293,142,6.974,206,6.041,222,6.244,240,3.789,260,10.265,293,5.549,370,7.465,382,10.192,408,6.558,414,4.634,428,9.128,504,5.256,506,6.428,508,12.482,548,7.465,555,7.373,556,4.235,557,4.71,674,8.387,894,7.596,932,9.02,2112,11.129,2709,9.935,2931,12.632,4616,12.353,6290,11.855]],["keywords/1247",[]],["title/1248",[25,104.266,2389,1313.99]],["content/1248",[]],["keywords/1248",[]],["title/1249",[274,1013.728,417,705.949]],["content/1249",[4,1.395,14,5.061,16,6.923,23,4.056,25,0.895,32,2.849,33,2.746,51,3.222,100,4.986,114,5.395,152,2.681,164,4.228,186,3.98,187,8.275,196,4.191,205,3.498,206,4.793,217,4.81,230,4.253,273,5.265,274,8.705,341,8.004,381,4.345,416,8.962,417,9.562,437,5.284,467,4.76,554,6.447,785,4.106,804,6.525,818,10.022,857,6.923,975,9.981,1526,7.36,1749,10.27,2175,10.022,2308,8.478,2560,8.829,3447,12.45,3476,12.45,3778,8.09,4515,8.374,4807,14.547,6291,13.464]],["keywords/1249",[]],["title/1250",[33,153.915,240,265.779,288,587.825,417,535.943]],["content/1250",[4,1.512,25,0.971,30,6.867,33,3.06,53,8.282,63,4.3,65,4.784,154,5.366,155,4.351,182,4.722,205,3.792,206,6.979,240,4.943,273,3.201,288,7.208,334,4.209,364,7.914,373,6.104,417,8.828,499,7.671,543,8.198,659,6.714,773,5.752,785,5.979,1173,8.677,1339,8.782,1554,10.214,2136,10.214,2288,13.256,6292,14.596,6293,14.596,6294,14.596]],["keywords/1250",[]],["title/1251",[297,444.782,300,864.293]],["content/1251",[4,2.197,33,2.126,44,4.577,114,4.779,125,8.39,155,6.32,177,8.453,273,5.147,274,10.629,300,9.062,301,4.832,304,8.28,373,4.24,375,8.576,381,6.842,417,7.402,483,8.842,491,11.967,515,8.118,737,5.527,771,6.587,773,6.478,1169,7.521,1633,9.391,2023,10.339,3715,10.629,4807,12.886,6295,16.439]],["keywords/1251",[]],["title/1252",[273,343.83,2781,1167.014]],["content/1252",[4,1.59,7,4.791,14,5.77,19,4.601,23,3.931,69,4.791,70,3.743,72,7.306,111,7.65,114,4.462,192,5.16,217,5.483,273,5.296,322,5.642,382,7.893,385,5.622,417,6.911,421,7.949,486,9.124,510,7.784,773,6.049,804,9.825,1165,13.295,1310,8.939,2049,9.924,2303,8.255,2781,11.425,2927,12.766,4807,12.032,6296,15.349,6297,20.274,6298,15.349]],["keywords/1252",[]],["title/1253",[114,393.395,152,269.421,414,528.967]],["content/1253",[6,1.908,25,1.31,33,2.548,152,4.726,224,5.975,276,11.972,381,6.359,414,7.702,659,9.064,737,6.625,785,6.009,1650,11.713,1651,11.364,1990,14.667]],["keywords/1253",[]],["title/1254",[7,371.572,46,385.295,288,587.825,572,425.189]],["content/1254",[]],["keywords/1254",[]],["title/1255",[561,876.641]],["content/1255",[]],["keywords/1255",[]],["title/1256",[981,1064.513]],["content/1256",[]],["keywords/1256",[]],["title/1257",[4,140.222,300,745.978,552,711.201]],["content/1257",[114,5.519,152,3.78,161,5.998,171,4.958,177,9.763,272,8.095,273,5.09,300,10.466,322,6.979,417,8.549,630,6.979,732,6.643,910,7.639,1219,9.145,1650,11.286,2098,11.956,2165,12.837,2842,15.912]],["keywords/1257",[]],["title/1258",[501,958.188]],["content/1258",[25,1.31,46,8.247,152,3.923,181,5.25,225,7.064,277,11.364,278,5.304,379,9.015,381,6.359,501,10.132,659,9.064,6299,19.705,6300,19.705]],["keywords/1258",[]],["title/1259",[1021,1002.228]],["content/1259",[46,7.195,184,4.82,421,11.512]],["keywords/1259",[]],["title/1260",[334,452.062,765,513.868]],["content/1260",[6,2.107,205,5.655,435,9.957,2116,18.239,6301,21.763]],["keywords/1260",[]],["title/1261",[]],["content/1261",[]],["keywords/1261",[]],["title/1262",[408,518.75,2253,741.882]],["content/1262",[]],["keywords/1262",[]],["title/1263",[12,546.69,2253,741.882]],["content/1263",[4,1.731,22,5.622,23,4.246,25,1.424,37,2.804,40,6.376,52,5.902,193,6.692,408,7.087,920,8.845,1628,9.826,2253,10.136,4028,12.601,4029,11.174,6237,16.791,6264,14.617]],["keywords/1263",[]],["title/1264",[12,546.69,289,729.273]],["content/1264",[4,1.395,14,5.061,22,4.87,23,4.311,24,6.406,25,1.234,32,2.849,33,1.741,34,3.083,35,3.861,36,7.024,37,2.26,50,7.422,98,5.768,109,8.705,174,8.004,193,5.395,467,6.56,557,5.35,580,6.194,630,4.95,656,8.004,1094,11.783,1401,9.602,2253,10.048,2255,9.602,2733,9.602,4029,7.024,6228,14.156,6231,9.801,6266,12.45,6267,12.45,6270,12.45,6271,12.45,6287,11.783,6302,13.464]],["keywords/1264",[]],["title/1265",[97,475.083,2226,1060.767,2253,640.323]],["content/1265",[4,2.08,7,5.385,22,4.528,23,4.12,24,5.955,25,1.454,29,5.032,32,2.567,33,1.569,34,2.778,35,3.479,36,6.329,37,2.037,45,3.441,89,7.639,98,9.367,122,5.325,186,3.586,198,3.241,223,6.238,238,8.202,298,5.953,552,6.376,580,7.936,642,5.434,656,10.255,763,6.194,843,5.491,1168,7.955,1180,7.289,1261,11.005,2023,5.916,2226,9.509,2253,9.5,2255,12.304,2492,7.37,2516,12.841,2969,8.202,3680,13.159,3790,8.489,4029,6.329,6228,13.159,6231,8.831,6232,10.616,6272,11.218,6273,11.218,6303,12.131,6304,12.131]],["keywords/1265",[]],["title/1266",[97,475.083,241,503.001,2253,640.323]],["content/1266",[4,1.792,20,4.208,23,4.29,32,4.401,45,2.665,50,5.179,89,5.916,98,4.025,124,5.352,162,3.321,193,3.764,203,4.765,241,6.43,467,3.321,514,3.368,596,6.575,656,11.491,894,3.6,921,7.402,947,6.459,1028,5.419,1116,4.67,1143,6.075,1216,8.688,1224,5.472,1257,6.539,1261,5.993,1262,5.774,1263,13.786,1380,8.688,1586,11.204,1728,6.993,1872,5.053,2222,11.555,2253,6.763,2255,10.193,2677,6.575,3236,7.365,3849,8.222,3850,8.688,3851,8.222,3990,6.993,4069,8.688,4496,8.688,4646,8.688,4773,8.688,6226,8.688,6230,8.688,6305,9.396,6306,14.293,6307,9.396,6308,14.293,6309,14.293,6310,9.396,6311,14.293,6312,9.396,6313,9.396,6314,14.293,6315,14.293,6316,9.396,6317,14.293,6318,14.293,6319,9.396,6320,9.396,6321,9.396,6322,9.396,6323,9.396]],["keywords/1266",[]],["title/1267",[33,153.915,246,376.028,1713,645.355,2253,563.222]],["content/1267",[4,1.825,5,2.698,7,3.901,12,4.357,23,3.877,24,6.081,32,4.318,33,3.021,34,4.033,35,5.052,37,3.426,65,4.095,88,4.284,149,5.183,154,6.476,198,3.338,204,5.912,222,4.804,246,7,298,6.131,427,6.476,490,4.965,716,6.36,743,12.327,785,3.81,786,5.353,843,7.974,940,7.591,1058,6.471,1254,8.448,1398,7.868,2130,8.194,2222,10.102,2253,10.484,6228,16.901,6231,9.096,6287,10.935,6324,20.404,6325,12.495,6326,12.495]],["keywords/1267",[]],["title/1268",[172,780.453,427,497.46,2253,640.323]],["content/1268",[3,6.076,19,3.959,22,5.517,23,4.04,25,1.218,32,2.795,37,3.075,52,3.639,97,6.429,98,5.658,151,4.075,154,4.855,161,4.173,162,7.431,164,6.601,171,3.449,198,3.528,241,4.909,257,5.916,348,7.476,381,4.262,427,4.855,580,6.076,1147,7.281,1937,11.069,2079,7.545,2253,10.741,2264,12.214,2266,12.214,3586,7.617,4028,10.774,4029,9.554,6228,13.969,6231,15.302,6237,14.355,6327,13.208,6328,18.313,6329,13.208,6330,13.208]],["keywords/1268",[]],["title/1269",[100,580.619,408,518.75]],["content/1269",[]],["keywords/1269",[]],["title/1270",[37,227.19,63,296.762,689,739.744]],["content/1270",[6,1.433,7,4.621,12,5.162,29,6.141,37,3.996,53,6.253,84,7.9,85,7.131,86,5.982,100,9.453,114,4.304,175,9.207,264,5.738,271,5.251,325,13.85,368,9.322,389,7.612,393,7.962,421,7.667,437,5.81,467,5.233,504,6.563,506,10.731,524,9.708,567,9.708,673,7.723,675,6.886,859,11.292,875,7.839,937,6.465,940,8.994,1204,7.612,1261,9.443,1339,6.631,1628,8.709,1874,11.969,2430,12.407,2541,11.292,2969,10.009]],["keywords/1270",[]],["title/1271",[4,140.222,100,501.136,408,447.737]],["content/1271",[1,5.617,2,2.926,4,2.224,5,1.725,14,3.004,18,2.669,19,3.779,20,3.579,21,4.608,22,4.652,23,3.848,24,2.758,25,1.427,32,2.668,33,1.033,34,1.829,35,2.291,37,4.192,46,2.586,49,8.339,50,8.606,58,4.617,60,2.981,63,1.752,65,2.619,81,5.698,88,2.74,99,2.815,100,9.002,111,3.015,122,3.507,149,3.314,152,1.591,172,4.608,176,2.916,193,3.201,198,4.171,203,6.393,204,3.781,249,4.522,251,7.009,271,7.273,273,2.764,288,3.946,297,4.429,373,2.061,389,4.109,396,2.611,398,2.992,420,4.854,452,3.696,496,3.229,506,4.332,514,2.864,520,3.617,534,5.698,539,3.716,580,7.182,703,2.981,763,9.051,777,3.561,843,3.617,861,3.716,879,4.908,1077,4.522,1112,4.75,1168,5.24,1613,4.443,1697,4.522,1893,5.493,2969,5.402,3367,3.849,3659,6.696,3715,5.166,3811,11.032,3813,4.854,3814,10.238,4426,16.17,4428,6.992,6331,6.992,6332,7.389,6333,6.696,6334,7.389]],["keywords/1271",[]],["title/1272",[3814,1221.989]],["content/1272",[4,1.556,19,4.502,25,1.329,28,6.495,33,1.942,37,2.521,40,7.628,46,4.861,65,6.549,87,5.219,100,8.865,110,10.56,125,5.942,154,5.52,198,5.338,246,6.313,308,4.861,366,7.233,375,7.834,440,6.946,496,6.068,519,8.077,554,7.19,920,7.952,993,7.233,1038,9.34,1169,6.87,1444,7.106,2969,10.154,3563,10.324,3814,9.848,3992,11.455,4572,13.142,6331,13.142,6333,12.585,6335,15.017,6336,15.017]],["keywords/1272",[]],["title/1273",[4,99.401,65,314.404,100,537.699,110,423.155,408,317.391]],["content/1273",[]],["keywords/1273",[]],["title/1274",[28,514.812,251,661.815,581,505.129,3992,907.934]],["content/1274",[4,1.343,8,6.864,19,3.885,22,5.462,23,4.258,24,6.239,25,1.202,28,5.606,32,2.743,33,1.676,34,2.968,35,3.717,37,2.176,44,3.609,50,7.145,65,5.924,100,9.082,109,8.38,142,7.625,265,4.663,308,4.196,481,7.145,504,8.013,549,6.812,572,4.63,700,9.648,785,3.953,920,6.864,1613,7.207,1633,7.405,1893,12.426,3813,7.875,3814,8.5,3923,9.648,3992,13.787,4029,6.762,4572,11.343,4574,11.986,6337,12.962]],["keywords/1274",[]],["title/1275",[251,752.413,581,574.278,6333,1134.114]],["content/1275",[4,1.626,22,6.023,23,4.135,24,7.102,25,1.368,32,3.322,34,3.594,35,4.501,37,2.635,50,8.652,100,7.619,271,5.568,389,8.071,504,9.122,827,9.646,1613,8.727,1893,14.144,2969,10.613,2985,13.736,3813,9.536,3814,10.293,4029,8.188,6331,13.736,6332,14.514,6333,13.154,6334,14.514,6338,15.696]],["keywords/1275",[]],["title/1276",[51,323.825,492,914.982,581,574.278]],["content/1276",[4,1.937,6,1.036,10,4.233,22,5.412,23,4.065,24,5.437,25,1.048,28,4.627,32,3.956,33,1.383,34,3.606,35,3.068,37,2.644,50,8.683,51,4.474,52,4.34,63,2.346,86,4.323,100,9.62,109,6.917,110,4.719,251,5.948,289,4.976,319,4.767,373,2.759,391,5.388,396,3.495,491,7.788,492,12.64,580,4.921,672,6.654,689,5.848,859,8.16,874,6.983,940,6.5,1339,4.792,1613,5.948,1631,6.055,1893,10.829,2254,6.055,2444,6.5,2502,5.318,3813,6.5,3814,7.016,3992,8.16,4029,5.581,6339,21.981,6340,10.698,6341,10.698,6342,15.752,6343,10.698,6344,10.698,6345,10.698,6346,10.698,6347,10.698]],["keywords/1276",[]],["title/1277",[58,495.646,99,476.718,581,574.278]],["content/1277",[4,1.991,22,5.88,23,4.096,24,5.629,25,1.403,28,4.851,29,4.653,32,3.451,33,1.45,34,2.568,35,3.217,37,2.738,45,3.182,46,3.631,58,8.563,99,8.236,100,9.332,108,8.507,110,4.948,171,2.929,179,5.575,198,4.356,311,4.805,381,3.62,600,6.033,843,5.077,1256,9.229,1257,7.46,1378,11.949,1613,6.237,1893,14.5,3813,6.815,3814,10.693,4029,8.507,4794,10.372,6348,11.217,6349,16.306,6350,11.217,6351,11.217]],["keywords/1277",[]],["title/1278",[100,501.136,294,1094.088,581,574.278]],["content/1278",[4,2.292,22,6.067,23,4.126,24,7.171,25,1.382,32,3.372,34,3.648,35,4.569,37,2.675,46,3.517,100,8.561,167,4.722,175,6.758,271,7.37,294,18.691,308,3.517,493,9.909,516,5.587,545,3.01,567,7.125,677,14.787,827,6.678,901,4.148,1177,6.678,1256,9.018,1257,7.289,1613,8.858,1724,10.301,1893,14.283,2502,5.401,3742,8.785,3813,9.68,3814,10.448,4029,8.311,6352,15.932,6353,10.866,6354,10.866,6355,10.866,6356,10.866]],["keywords/1278",[]],["title/1279",[100,501.136,142,796.106,581,574.278]],["content/1279",[4,1.109,8,5.665,19,3.207,22,5.769,23,4.276,24,5.437,25,1.048,28,4.627,29,4.438,32,3.333,33,1.383,34,2.449,35,3.068,37,1.796,44,2.979,45,3.035,65,5.163,100,9.033,142,14.35,151,3.301,162,3.782,175,6.654,265,3.849,308,3.463,370,6.737,481,5.897,504,4.743,549,5.623,572,3.822,700,7.963,785,3.262,920,5.665,1586,8.386,1613,5.948,1633,6.112,1893,10.829,3786,9.362,3790,7.486,3791,9.362,3792,9.362,3793,9.362,3794,9.362,3795,9.362,3796,9.362,3798,9.362,3805,9.362,3812,13.784,3813,6.5,3814,7.016,3815,9.362,3923,7.963,4029,5.581,6357,10.698]],["keywords/1279",[]],["title/1280",[100,501.136,581,574.278,4615,1184.242]],["content/1280",[22,5.709,23,3.924,24,6.612,25,0.938,32,2.984,33,1.824,34,3.229,35,4.044,37,2.368,45,5.434,53,5.957,100,8.642,111,8.209,151,4.351,202,4.338,370,8.88,373,3.637,417,9.795,777,6.284,1089,8.133,1329,7.151,1613,7.841,1893,13.169,3813,8.568,3814,9.248,3839,13.04,3992,10.757,4615,21.354,6358,14.102,6359,14.102,6360,14.102,6361,19.155,6362,14.102,6363,14.102]],["keywords/1280",[]],["title/1281",[33,202.738,314,556.163]],["content/1281",[4,1.898,22,4.808,23,3.76,25,1.218,33,2.369,44,5.101,79,9.7,87,6.366,100,6.784,314,6.498,773,7.219,879,7.132,1255,14.81,3814,12.013,4029,9.556,6364,24.674,6365,18.319,6366,18.319,6367,18.319]],["keywords/1281",[]],["title/1282",[7,331.64,72,505.648,100,393.423,134,601.311,264,307.993]],["content/1282",[4,1.897,5,3.313,6,1.486,7,3.224,8,5.469,14,3.882,23,3.301,32,3.247,33,1.335,37,2.576,46,5.927,54,4.488,100,8.406,110,4.555,124,3.867,125,4.086,142,9.028,151,5.649,154,3.796,171,4.007,172,8.85,186,3.052,192,3.472,198,2.759,217,3.689,271,6.496,297,2.93,304,5.201,308,3.343,381,3.333,382,5.31,385,5.62,408,3.417,417,4.65,467,3.651,551,4.699,580,4.751,598,6.983,673,5.387,773,4.07,785,3.149,827,6.347,901,3.942,958,4.777,1257,7.021,1300,4.751,1377,7.178,1651,8.85,1765,6.588,1821,6.874,1893,13.936,1902,11.254,2979,6.983,2982,9.55,2983,9.55,2984,9.037,2985,9.037,3007,8.655,3367,7.392,3375,6.874,3814,10.063,3815,13.429,4426,8.655,5291,8.655,6368,15.345,6369,10.327,6370,15.345,6371,10.327,6372,10.327,6373,10.327,6374,10.327,6375,15.345]],["keywords/1282",[]],["title/1283",[1021,1002.228]],["content/1283",[33,2.874,58,8.141,99,7.83]],["keywords/1283",[]],["title/1284",[45,383.895,1102,1007.258,1103,946.964]],["content/1284",[1,8.778,4,2.041,25,1.578,45,4.17,49,6.915,54,6.388,58,5.384,99,6.939,167,8.561,171,3.838,184,4.272,202,4.522,232,8.738,255,5.991,295,12.106,362,9.939,408,4.863,438,7.377,440,6.799,515,7.259,517,10.68,557,5.84,622,5.965,631,8.561,915,10.941,936,7.306,954,7.725,1102,10.941,1103,10.286,1196,9.639,1327,7.844,1889,9.256,4039,12.864,6376,14.699,6377,14.699,6378,14.699,6379,14.699,6380,14.699,6381,14.699,6382,14.699]],["keywords/1284",[]],["title/1285",[765,513.868,2023,764.557]],["content/1285",[]],["keywords/1285",[]],["title/1286",[2023,764.557,6285,1195.939]],["content/1286",[4,1.523,22,5.17,23,4.082,24,5.074,32,4.169,34,3.366,35,4.215,37,3.73,50,8.103,62,6.297,97,5.16,103,6.55,246,4.644,275,4.894,289,6.837,325,10.286,355,5.793,371,7.668,404,11.212,408,4.863,765,4.818,776,9.376,777,6.55,958,6.799,1628,8.647,2023,11.574,2116,12.319,2118,9.939,3333,11.884,6283,18.216,6284,11.522,6285,15.026,6383,12.864]],["keywords/1286",[]],["title/1287",[765,443.523,2023,659.894,2766,1032.224]],["content/1287",[4,2.238,14,5.23,22,4.981,23,4.036,24,4.803,32,4.017,34,3.186,35,3.99,37,3.627,63,3.051,217,4.97,246,4.396,275,4.633,289,6.472,298,6.828,355,5.483,371,7.258,396,4.546,408,4.604,559,8.875,765,6.221,776,9.034,777,6.2,932,6.332,1191,8.875,1628,8.185,1704,8.762,2023,11.844,2766,14.478,6284,10.907,6285,10.613,6383,12.176,6384,21.603,6385,13.914,6386,18.981]],["keywords/1287",[]],["title/1288",[217,483.395,2023,908.117]],["content/1288",[4,1.502,22,5.121,23,4.07,24,5.003,32,4.13,34,3.319,35,4.157,37,3.704,45,4.112,148,8.359,217,8.43,275,4.826,289,6.742,297,4.112,355,5.712,371,7.561,408,4.796,765,4.751,776,9.288,777,6.459,1090,11.056,1134,8.204,1628,8.527,1711,9.505,2023,12.854,3830,10.789,6284,11.362,6383,12.685,6387,19.514]],["keywords/1288",[]],["title/1289",[241,582.779,1224,913.126]],["content/1289",[33,2.572,111,9.009,198,5.314,241,7.394,293,5.568,458,9.253,765,6.52,901,7.594,1224,14.899,2023,9.701,2489,14.481]],["keywords/1289",[]],["title/1290",[241,503.001,1224,788.126,6285,1032.224]],["content/1290",[22,4.684,23,4.151,32,3.777,155,5.32,164,5.605,580,8.21,630,6.561,737,6,773,7.033,2023,8.703,2489,12.992,2819,15.619,3503,13.285,6284,13.99,6285,17.04,6388,22.339,6389,17.848,6390,16.504]],["keywords/1290",[]],["title/1291",[241,442.435,765,390.118,1224,693.228,2766,907.934]],["content/1291",[22,4.85,23,4.126,151,5.702,155,5.509,161,5.838,580,8.501,737,6.213,765,6.057,773,7.283,2489,13.453,2766,14.097,2819,16.173,3503,13.756,6284,14.487,6390,17.09,6391,18.481,6392,18.481]],["keywords/1291",[]],["title/1292",[63,296.762,689,739.744,2023,659.894]],["content/1292",[2,7.468,4,1.432,5,1.941,6,0.87,7,2.806,10,5.468,12,3.135,20,4.027,23,1.37,25,0.919,37,3.423,45,2.55,51,2.151,52,5.205,54,3.907,63,1.971,97,5.909,107,3.394,110,3.966,113,4.182,114,2.613,136,5.185,156,4.761,204,4.254,230,2.84,271,3.189,301,3.149,308,2.91,321,5.525,467,3.178,507,5.591,568,5.289,673,4.69,674,3.293,765,5.517,787,9.156,958,8.738,1030,4.412,1033,6.544,1077,5.088,1261,5.735,1412,8.313,1614,4.59,1694,6.291,1706,5.895,1826,6.857,2023,9.212,2094,6.692,2183,10.059,2281,5.984,2287,8.313,2427,6.857,2445,21.89,2692,15.064,2766,12.839,3595,12.778,4652,6.291,5317,8.313,6285,12.839,6393,8.99,6394,8.99,6395,8.99,6396,8.99,6397,8.99,6398,8.99,6399,8.99,6400,8.99,6401,8.99,6402,8.99,6403,13.819,6404,8.99,6405,8.99,6406,8.99,6407,8.99,6408,8.99,6409,8.99,6410,8.99,6411,8.99,6412,8.99,6413,8.99,6414,8.99,6415,8.99,6416,8.99,6417,8.99,6418,8.99,6419,8.99,6420,8.99,6421,8.99,6422,8.99]],["keywords/1292",[]],["title/1293",[4,123.338,52,327.97,381,384.109,391,599.526]],["content/1293",[]],["keywords/1293",[]],["title/1294",[513,932.002,6045,1229.009]],["content/1294",[4,1.094,5,2.906,6,0.621,14,2.412,20,2.874,22,1.684,23,4.228,25,0.427,32,4.151,34,1.469,40,2.449,44,4.344,52,3.709,60,6.435,63,2.952,70,1.565,103,2.859,107,1.576,124,3.955,134,3.631,148,3.7,152,2.68,154,3.882,161,2.027,162,3.733,164,4.227,166,3.478,171,1.675,179,3.189,198,2.821,229,5.924,273,2.316,319,2.859,334,1.85,373,1.654,398,2.402,402,3.7,408,2.123,457,4.338,474,3.7,496,2.592,512,5.51,513,11.66,519,3.45,531,3.507,543,6.388,557,2.549,580,2.951,648,4.04,663,3.536,674,2.35,706,5.393,737,3.551,758,2.775,771,5.393,891,3.536,894,2.458,901,4.031,926,3.276,936,3.189,958,4.885,975,9.979,1030,3.148,1066,3.423,1110,3.665,1207,3.7,1257,6.158,1354,3.898,1417,3.507,1444,6.369,1588,5.029,1595,3.99,1765,4.092,1804,5.932,2259,5.614,2303,3.45,2483,5.029,2583,5.029,2779,3.943,2959,5.932,2960,14.427,2995,5.029,3000,5.932,3001,5.932,3646,8.851,3684,6.346,5110,14.427,5113,5.932,5737,5.614,6045,12.23,6053,5.376,6168,9.242,6423,6.415,6424,6.415,6425,5.932,6426,10.561,6427,6.415,6428,6.415,6429,6.415,6430,6.415,6431,6.415,6432,5.932,6433,6.415,6434,6.415,6435,6.415,6436,6.415,6437,6.415,6438,6.415,6439,6.415,6440,6.415,6441,6.415,6442,6.415,6443,6.415,6444,6.415,6445,6.415,6446,6.415,6447,6.415]],["keywords/1294",[]],["title/1295",[52,432.005,1843,1000.13]],["content/1295",[4,1.721,5,4.608,6,0.852,20,3.942,25,0.585,33,2.148,45,2.496,51,2.106,52,3.745,60,3.283,61,4.733,63,2.981,65,2.884,69,4.243,103,6.057,149,6.889,152,3.719,154,3.235,192,2.959,205,2.287,206,4.839,215,4.625,219,5.053,223,4.525,228,3.843,230,2.78,240,4.171,246,4.294,249,4.981,272,7.965,273,3.642,301,2.006,334,2.537,357,6.276,373,4.283,381,2.84,385,3.223,393,4.733,401,3.942,405,6.99,420,8.258,428,4.733,452,4.071,512,3.602,513,8.08,543,6.15,577,5.473,638,5.075,673,8.664,674,3.223,703,3.283,716,3.177,736,5.091,771,3.526,785,2.684,786,5.823,894,3.372,901,3.359,921,4.558,940,5.347,1026,6.713,1074,7.431,1119,5.075,1444,7.859,1526,4.811,1548,5.614,1602,5.347,1843,15.877,2010,10.99,2043,9.895,2146,6.406,2250,6.898,2252,5.347,2483,6.898,2721,12.57,2886,6.05,3019,7.375,3094,7.701,4643,6.898,6045,6.898,6448,13.593,6449,8.8,6450,8.8,6451,8.8,6452,8.8,6453,8.8,6454,8.8,6455,8.8]],["keywords/1295",[]],["title/1296",[60,584.959,241,582.779]],["content/1296",[4,1.881,6,1.107,19,2.119,23,4.08,25,0.47,32,3.045,37,1.187,44,1.968,52,3.965,60,9.592,63,3.156,70,1.724,111,2.667,118,5.924,122,3.102,124,4.281,134,6.47,152,2.865,198,1.888,204,3.345,215,3.715,223,7.4,228,3.087,229,6.411,230,2.233,241,8.391,272,7.048,273,2.507,298,3.468,349,4.57,373,3.711,375,3.687,381,4.644,401,3.166,407,3.447,408,2.339,413,3.661,420,4.294,512,5.89,513,8.554,519,6.148,520,3.199,556,2.525,557,4.542,569,3.468,580,3.251,637,4.038,688,4.294,716,2.552,736,4.281,737,5.558,771,6.623,773,5.671,774,3.864,787,3.426,911,4.509,975,9.762,1219,3.405,1257,5.229,1327,3.772,1345,4.396,1417,3.864,1444,3.345,1526,3.864,1633,4.038,1931,4.451,2228,5.392,2583,5.541,2717,5.392,2783,4.294,2886,9.893,2992,13.307,3223,8.508,3646,12.06,3684,4.247,3923,5.261,5698,6.186,6045,11.28,6168,12.593,6425,10.57,6432,10.57,6456,7.068,6457,14.39,6458,7.068,6459,7.068,6460,7.068,6461,7.068,6462,7.068]],["keywords/1296",[]],["title/1297",[1609,1267.615,2524,1372.068]],["content/1297",[4,1.481,51,3.421,52,3.939,61,7.689,63,4.804,70,3.486,85,6.886,114,4.156,171,3.733,193,5.728,198,3.819,201,5.521,330,3.437,373,4.986,385,5.236,395,6.011,396,4.671,401,6.403,404,10.904,420,8.685,441,10.904,483,7.689,501,12.606,512,8.967,527,7.351,785,4.36,932,6.505,955,11.15,1000,7.689,1609,17.711,1718,10.406,1872,10.398,1926,10.004,1981,9.515,2524,16.919,3019,11.981,3110,11.981,3683,13.219,6040,13.219,6056,13.219,6463,14.296]],["keywords/1297",[]],["title/1298",[441,1032.224,501,695.85,1407,1032.224]],["content/1298",[20,7.363,23,3.577,51,5.074,63,3.605,107,4.038,147,10.486,154,6.043,183,5.178,311,7.042,381,5.305,402,9.481,413,8.514,419,9.988,441,18.913,501,10.902,512,8.679,539,7.646,901,6.275,921,8.514,993,7.918,1119,9.481,1169,7.521,1726,8.842,1983,15.434,2390,14.386,6464,21.202]],["keywords/1298",[]],["title/1299",[2,495.646,52,372.867,234,625.942]],["content/1299",[2,8.167,4,2.051,6,1.433,10,5.858,18,4.945,33,2.559,44,4.122,52,6.558,63,3.246,72,7.046,84,10.562,103,6.597,110,6.53,149,8.21,193,5.931,230,7.044,278,3.985,295,9.098,301,3.374,381,4.777,455,7.088,501,10.177,564,6.847,672,9.207,674,5.422,736,5.544,786,6.342,1035,8.994,1058,7.667,1204,7.612,1298,8.895,1711,9.708,2783,8.994,6465,14.804,6466,14.804,6467,14.804,6468,14.804,6469,14.804]],["keywords/1299",[]],["title/1300",[2,574.258,10,620.401]],["content/1300",[1,4.792,2,3.939,4,1.114,5,2.322,6,1.531,7,4.936,10,9.666,11,7.052,12,5.513,18,6.906,19,4.74,25,0.715,30,5.059,33,1.391,37,1.805,46,3.481,51,2.573,52,5.167,116,6.529,136,6.202,155,3.205,162,6.628,169,9.411,173,6.392,186,3.179,230,5.924,246,4.995,249,6.087,273,2.358,295,9.717,301,4.712,329,4.792,330,2.585,352,9.411,373,4.078,381,3.47,382,5.53,385,3.939,413,5.569,420,6.533,424,6.953,455,7.57,459,8.203,462,4.273,463,7.669,476,11.392,479,6.461,483,5.784,496,4.345,507,9.834,577,6.688,705,6.263,741,6.533,879,4.187,1030,5.277,1155,7.271,1169,7.234,1178,7.271,1298,6.461,1787,8.429,2051,9.012,2671,7.052,2720,6.771,3560,7.828,3715,6.953,3770,8.004,6008,9.944,6470,10.754,6471,15.811,6472,10.754]],["keywords/1300",[]],["title/1301",[2,435.966,281,461.561,297,337.67,379,544.573]],["content/1301",[2,3.279,4,1.739,6,1.625,7,4.299,11,5.87,12,6.572,16,4.603,18,2.99,33,2.171,46,4.458,51,4.869,65,2.934,69,5.24,70,2.183,72,6.555,88,3.069,112,5.87,149,3.713,155,2.668,181,2.385,182,1.786,184,2.987,198,2.391,200,3.34,201,3.457,205,3.579,210,5.958,215,4.704,219,7.006,220,3.164,223,4.603,228,3.91,230,2.828,240,1.999,246,4.351,264,3.993,281,8.96,297,2.539,301,3.826,308,4.458,311,3.835,361,5.021,373,2.309,375,4.67,381,4.444,382,4.603,432,4.704,455,4.286,460,6.828,499,4.704,507,5.567,562,5.163,567,5.87,569,4.393,582,5.021,664,4.479,711,3.799,716,3.232,786,3.835,888,4.67,894,5.278,996,4.052,1028,5.163,1058,4.636,1072,6.264,1134,5.067,1173,5.321,1187,5.788,1192,5.567,1204,4.603,1602,5.438,1694,6.264,1706,5.87,1708,9.469,1858,7.017,2058,5.71,2062,5.958,2089,5.87,2253,4.236,2492,13.056,2598,6.828,2988,7.237,3008,8.277,3561,6.828,3758,12.656,4040,13.545,6473,8.951,6474,8.951,6475,8.951,6476,8.951,6477,8.951]],["keywords/1301",[]],["title/1302",[674,574.258,688,952.558]],["content/1302",[33,2.524,52,5.378,107,4.795,181,5.201,191,5.868,200,7.283,495,17.082,674,7.15,1435,14.529,2141,12.452,6478,19.52,6479,19.52,6480,19.52,6481,19.52,6482,19.52,6483,19.52]],["keywords/1302",[]],["title/1303",[225,485.1,277,780.453,501,695.85]],["content/1303",[]],["keywords/1303",[]],["title/1304",[25,104.266,501,806.215]],["content/1304",[4,0.841,6,1.731,9,3.712,18,2.711,25,1.189,33,2.312,40,4.871,46,2.627,63,1.78,65,2.66,69,3.983,70,1.979,107,1.993,122,3.562,147,5.176,152,1.616,154,2.983,155,2.419,162,2.868,176,4.657,181,4.764,184,3.42,186,2.398,192,2.728,193,3.251,205,5.05,219,3.016,220,2.868,222,2.213,230,5.648,240,4.608,246,4.031,249,4.593,278,2.184,297,4.474,301,1.849,314,2.878,329,3.616,330,1.951,334,2.34,373,4.067,382,4.173,385,2.972,387,7.432,388,8.846,392,3.774,394,4.115,401,3.635,413,4.202,421,4.202,451,4.987,452,3.753,455,3.885,464,6.04,482,4.436,483,4.364,485,6.361,499,4.265,501,12.727,507,5.047,641,5.678,642,3.635,645,7.507,661,5.176,674,2.972,694,4.033,716,4.607,736,4.779,740,3.774,772,3.366,785,4.809,894,3.11,912,4.233,972,5.321,985,3.774,996,3.673,1032,5.579,1160,4.115,1169,3.712,1173,4.824,1268,4.202,1314,5.787,1332,4.364,1377,3.796,1609,6.561,1610,5.047,1633,4.636,1694,5.678,1843,5.176,1926,5.678,2030,15.646,2031,9.101,2043,5.907,2045,6.801,2117,8.368,2161,6.19,2507,6.561,2771,6.19,3043,7.101,6484,12.761,6485,8.115,6486,8.115,6487,7.504,6488,8.115,6489,8.115,6490,8.115]],["keywords/1304",[]],["title/1305",[277,1074.687]],["content/1305",[5,4.036,6,1.81,18,3.574,25,1.243,33,2.842,46,5.099,65,3.506,67,4.305,69,3.34,72,5.092,76,6.359,88,3.668,152,3.722,155,3.189,162,3.782,189,5.463,205,2.78,206,3.808,225,3.835,227,5.501,228,4.672,229,6.001,230,6.515,231,7.63,254,6.359,271,3.795,277,14.36,279,9.363,280,6.824,301,2.438,368,6.737,381,3.452,382,5.501,385,3.918,400,4.817,427,3.933,437,4.199,501,5.501,580,4.921,598,7.234,610,9.893,664,7.881,673,5.581,716,5.687,773,6.207,785,6.703,886,3.822,942,6.428,967,7.788,971,6.359,985,4.976,1219,5.153,1268,8.158,1300,7.246,1377,5.004,1633,6.112,1796,6.5,2444,6.5,2541,8.16,2771,8.16,2779,11.489,2847,8.966,3339,8.65,5348,8.966,5804,9.893,6491,10.698,6492,10.698,6493,10.698]],["keywords/1305",[]],["title/1306",[225,667.984]],["content/1306",[25,1.403,184,4.576,185,5.098,204,9.985,225,9.402,630,7.757]],["keywords/1306",[]],["title/1307",[185,378.748,225,562.039]],["content/1307",[4,1.257,5,2.619,18,5.763,25,0.807,33,2.231,51,2.903,65,3.976,67,4.881,69,5.385,88,4.16,122,5.325,125,4.8,151,3.743,152,4.353,154,4.46,155,3.616,166,6.577,182,3.442,184,3.741,185,4.85,225,8.606,230,7.298,240,2.709,278,5.404,281,6.69,381,3.915,451,7.455,455,10.469,490,4.82,552,6.376,614,5.247,652,5.808,668,6.283,736,4.543,785,6.122,894,4.649,1074,6.631,1115,8.831,1160,6.152,1192,7.545,1268,6.283,1377,8.07,1796,7.37,2671,7.955,2720,7.639,2779,7.455,3560,12.558,4917,9.808,5346,11.218,5348,10.167,5746,11.218,5749,11.218]],["keywords/1307",[]],["title/1308",[184,340.004,225,562.039]],["content/1308",[18,7.267,25,0.938,69,4.402,86,7.74,88,4.835,152,5.011,162,4.985,184,5.458,185,3.407,193,5.65,198,3.767,205,5.652,206,5.02,220,8.249,222,3.845,225,8.365,230,4.455,240,4.277,242,7.774,277,8.133,347,6.487,490,5.603,661,8.996,674,5.165,745,10.471,772,5.85,919,9.868,1116,9.521,1332,7.585,1339,6.317,2720,8.88,3560,10.265,4767,12.341]],["keywords/1308",[]],["title/1309",[225,485.1,241,503.001,1309,636.63]],["content/1309",[4,1.685,7,2.657,14,3.2,18,5.432,22,2.234,23,4.219,25,0.881,32,2.803,34,1.949,54,7.068,62,3.647,63,1.867,151,2.626,152,3.238,158,5.36,161,5.138,198,3.539,201,3.288,204,6.268,224,2.581,225,8.852,228,3.718,230,2.689,241,6.821,246,2.689,267,7.134,277,4.909,301,3.706,347,6.094,373,2.195,380,6.197,381,4.275,500,5.957,556,3.041,572,3.041,652,4.076,745,10.869,765,2.79,772,6.746,785,2.596,857,4.377,880,6.493,891,4.693,993,4.1,1024,4.005,1169,3.895,1309,10.341,1310,4.958,2058,5.43,2079,4.863,2106,4.909,2121,5.231,2131,5.115,2281,5.666,2444,5.172,2495,5.36,2598,6.493,2687,12.25,2688,7.872,2690,7.449,2691,7.872,2692,9.27,2693,6.071,2694,7.872,2695,7.872,2698,7.872,3174,5.756,3739,7.134,4421,10.71,5014,7.449,5021,7.872,5318,6.882,6494,8.513,6495,8.513,6496,8.513,6497,8.513]],["keywords/1309",[]],["title/1310",[4,140.222,25,89.993,300,745.978]],["content/1310",[]],["keywords/1310",[]],["title/1311",[4,162.462,630,576.359]],["content/1311",[4,1.696,6,0.673,23,4.327,32,4.295,33,1.458,34,4.12,35,1.993,36,5.882,37,1.167,87,2.415,111,2.623,124,2.603,151,2.144,152,2.245,161,3.562,167,4.9,191,2.089,198,1.857,224,4.963,271,2.465,334,2.004,407,3.389,517,3.768,572,2.483,630,7.084,645,4.089,694,3.455,723,4.699,758,3.006,765,3.696,766,9.116,767,3.971,768,6.441,769,5.059,770,3.432,772,4.677,773,6.45,776,3.308,787,3.368,806,3.348,845,4.558,901,5.431,975,6.064,1040,7.193,1143,4.494,1156,5.302,1219,3.348,1257,3.18,1278,3.432,1320,3.738,1903,5.173,2106,6.503,2381,5.059,2495,4.377,2719,5.825,2942,5.448,2980,5.448,4054,6.427,4515,8.848,4534,6.427,4599,9.45,4603,6.082,4620,8.601,4955,13.718,4956,10.356,5417,6.427,6498,6.95,6499,6.95,6500,14.226,6501,11.276,6502,14.226,6503,6.95,6504,6.95,6505,14.226,6506,6.95,6507,11.276,6508,6.95,6509,6.95,6510,6.95,6511,6.95,6512,6.95,6513,6.95,6514,6.95,6515,6.95,6516,6.95,6517,6.95,6518,6.95,6519,6.95,6520,6.95,6521,6.95,6522,6.95]],["keywords/1311",[]],["title/1312",[44,331.436,182,237.492,414,465.275,544,444.09]],["content/1312",[]],["keywords/1312",[]],["title/1313",[46,385.295,501,612.063,2106,686.479,2304,866.461]],["content/1313",[4,2.312,25,0.738,33,2.092,40,4.236,46,6.181,53,4.688,69,3.464,70,3.946,97,3.896,105,6.017,114,4.704,152,2.209,155,5.692,156,8.568,182,2.214,184,2.407,186,3.28,206,5.759,219,4.125,225,3.978,227,5.706,238,7.503,239,5.666,240,3.613,246,3.506,277,6.4,278,2.987,301,2.529,311,4.754,321,6.82,330,3.89,373,4.173,395,8.029,414,4.338,448,8.972,467,3.923,499,5.832,501,11.472,533,6.281,537,3.637,544,4.14,580,5.105,632,9.518,668,8.379,711,4.709,716,4.006,888,8.441,919,7.766,967,11.778,1109,9.889,1134,10.808,1157,6.597,1170,5.666,1648,7.766,1872,5.969,2098,6.988,2106,9.331,2252,6.742,2301,7.079,2304,8.078,3158,8.972,3159,9.711,3919,8.078,3963,8.465,6139,10.262,6523,11.097]],["keywords/1313",[]],["title/1314",[46,385.295,107,292.374,181,317.157,501,612.063]],["content/1314",[4,1.432,6,1.338,11,9.064,14,5.196,18,4.617,23,2.88,33,2.443,70,3.371,97,4.852,107,3.395,152,2.752,171,3.609,176,5.044,181,3.683,182,2.758,184,2.997,192,4.647,205,5.594,220,4.886,230,5.969,240,4.219,273,3.031,314,6.702,329,6.159,330,3.323,373,3.564,388,7.753,427,5.081,452,6.393,501,9.716,545,5.234,674,5.062,806,6.658,1258,16.535,1332,7.434,1403,9.857,1547,9.2,1564,8.817,1650,8.216,2117,9.064,2720,8.703,3245,12.781,3561,10.543,6524,21.529,6525,18.895,6526,18.895]],["keywords/1314",[]],["title/1315",[273,296.762,414,528.967,1021,727.832]],["content/1315",[4,1.466,6,0.898,7,2.894,14,5.318,15,5.399,23,3.151,32,2.994,33,2.673,34,3.239,40,3.539,53,3.916,63,2.033,65,4.637,69,2.894,88,4.851,103,4.131,152,1.846,155,2.763,156,4.909,161,2.929,166,5.026,171,2.421,183,2.92,185,3.417,204,8.118,219,3.446,230,4.469,240,2.07,241,8.099,246,2.929,271,3.288,272,3.952,273,4.97,289,4.312,330,4.615,373,5.619,401,4.152,405,4.767,414,6.706,417,9.811,455,8.214,501,4.767,543,6.353,652,4.438,716,5.107,736,3.472,771,3.714,858,4.669,886,3.311,897,6.079,902,5.296,926,4.733,1021,4.986,1074,5.067,1326,5.697,1560,6.373,1651,11.922,2114,6.079,2136,6.487,2242,7.267,2308,8.908,2542,6.748,2937,8.572,3448,7.495,3715,5.994,6527,9.27,6528,19.197,6529,9.27,6530,14.147,6531,9.27,6532,9.27,6533,9.27,6534,9.27,6535,9.27,6536,9.27,6537,9.27]],["keywords/1315",[]],["title/1316",[184,340.004,705,913.126]],["content/1316",[4,1.106,6,1.232,14,4.014,18,3.567,23,1.627,33,2.307,40,1.784,44,1.301,46,4.651,58,1.712,65,3.5,69,1.459,70,3.504,72,2.224,88,5.784,99,1.646,100,1.731,104,3.16,107,1.985,114,1.359,152,2.126,154,1.718,156,2.475,162,3.775,166,2.534,171,2.11,181,3.389,184,5.044,185,1.952,188,2.622,191,2.43,192,1.571,201,6.515,205,5.803,206,1.664,209,4.09,219,3.004,220,1.652,222,1.274,223,2.403,229,2.622,230,1.476,234,2.162,240,2.384,246,2.553,249,4.574,254,2.778,264,2.343,273,4.817,279,2.778,283,6.773,288,2.308,301,3.275,315,1.522,330,3.455,334,2.33,357,3.333,364,2.534,373,4.816,381,4.105,382,2.403,387,4.707,388,4.533,389,4.156,391,2.354,398,1.75,400,2.104,407,3.941,414,1.827,417,5.727,421,2.42,451,4.967,455,3.87,458,2.174,460,3.565,465,3.479,479,2.808,501,4.156,545,2.239,555,5.027,619,7.474,660,2.622,663,4.455,664,2.338,668,2.42,674,1.712,704,2.456,705,6.219,716,4.592,718,1.897,723,3.16,736,1.75,740,2.174,754,3.664,758,3.496,771,1.873,786,2.002,875,2.475,888,2.438,891,2.576,894,1.791,912,2.438,915,3.479,969,3.16,1021,2.514,1030,2.293,1049,2.872,1109,4.186,1114,2.386,1165,5.3,1173,6.347,1189,5.027,1219,2.251,1257,2.138,1268,2.42,1300,2.15,1315,2.943,1332,2.514,1356,2.981,1427,2.494,1526,2.555,1564,2.981,1631,4.574,1650,7.561,1711,3.065,1714,4.322,1889,8.01,1926,3.271,2018,3.664,2089,3.065,2114,3.065,2165,3.16,2321,6.724,2424,6.534,2444,2.84,2669,3.16,2677,5.656,2708,3.664,2714,7.341,2724,3.479,2760,4.322,2768,8.901,2769,6.165,2771,9.703,2779,2.872,2845,3.779,2913,6.016,3058,3.565,3560,3.402,3564,3.333,3627,4.322,3677,3.917,3919,3.402,5469,4.322,6487,7.474,6538,4.674,6539,4.674,6540,4.674,6541,4.674,6542,4.674,6543,4.674,6544,4.674,6545,8.082,6546,4.674,6547,4.674,6548,4.674,6549,4.674,6550,4.674,6551,4.674,6552,4.674,6553,4.674,6554,4.674,6555,4.674,6556,4.674,6557,4.674,6558,4.674,6559,4.674,6560,4.674,6561,4.674,6562,4.674,6563,4.674,6564,4.674]],["keywords/1316",[]],["title/1317",[206,481.704,240,302.163,2023,659.894]],["content/1317",[33,1.676,44,3.609,70,4.408,107,3.184,152,4.143,155,3.864,191,3.896,205,4.696,206,4.614,240,4.647,246,4.095,254,7.705,263,10.479,273,5.378,274,8.38,322,4.765,330,5.414,373,3.343,396,5.906,414,5.067,417,8.138,440,5.995,451,7.966,592,7.875,736,4.854,894,4.967,993,10.025,1039,9.887,1114,6.618,1170,6.618,1192,8.061,1313,7.705,1326,7.966,1339,5.806,1633,7.405,1650,12.371,2023,10.98,2049,8.38,2099,10.863,2114,8.5,2242,10.16,2747,11.986,3746,10.863,6565,12.962,6566,12.962,6567,12.962,6568,12.962]],["keywords/1317",[]],["title/1318",[116,647.46,514,562.039]],["content/1318",[6,0.99,12,3.566,14,3.844,15,5.955,19,3.065,25,0.68,33,1.322,46,4.931,49,4.811,69,3.192,70,2.494,88,3.506,111,3.859,114,2.973,116,8.908,152,3.033,156,5.415,162,7.625,166,5.544,171,2.67,177,7.833,183,3.221,186,3.022,189,5.221,192,3.438,205,2.657,228,6.653,229,5.736,230,3.23,241,7.498,246,4.812,249,5.788,273,5.396,278,2.753,321,6.284,330,3.662,373,4.695,381,4.916,388,5.736,389,5.258,407,7.428,414,5.954,421,5.296,455,4.896,514,7.231,543,8.676,545,4.219,569,5.018,630,3.759,703,3.815,716,3.692,785,3.118,981,5.842,982,5.457,1021,5.5,1332,8.193,1526,5.59,1651,11.634,2114,9.99,2130,6.706,2152,7.8,2288,10.3,2444,6.213,2779,6.284,3114,11.089,6569,10.226]],["keywords/1318",[]],["title/1319",[385,495.646,435,619.122,1021,727.832]],["content/1319",[5,3.024,6,2.253,22,3.676,53,5.917,107,3.441,151,4.322,152,3.796,162,4.952,182,3.804,192,4.709,205,4.954,206,4.986,215,7.362,238,12.892,271,6.764,301,3.192,330,4.584,414,5.475,435,11.138,545,3.88,568,8.24,580,8.771,706,7.152,736,5.246,765,6.249,931,8.326,954,7.362,1021,10.255,1183,7.722,1649,10.98,1650,8.326,1651,10.997,1726,7.534,1765,8.935,1931,8.82,2673,12.258,3960,12.258,3961,12.258,3963,10.685,5254,12.953,6570,14.007]],["keywords/1319",[]],["title/1320",[156,716.592,414,528.967,6571,1353.247]],["content/1320",[4,2.266,5,2.619,9,5.55,14,6.485,33,2.231,43,9.509,46,3.927,65,3.976,97,6.057,100,6.389,107,2.98,114,3.527,151,3.743,152,4.6,156,6.424,180,5.58,181,3.232,184,4.354,186,5.934,192,5.8,220,7.73,229,6.805,230,3.832,234,10.114,248,6.577,262,10.713,273,2.66,301,2.765,308,3.927,315,3.951,341,7.211,372,7.844,394,8.748,400,7.768,414,4.742,417,7.768,468,5.55,472,10.616,482,6.631,545,3.36,556,4.333,557,4.82,614,5.247,642,5.434,1112,7.211,1180,7.289,1228,8.652,1329,6.152,1779,8.34,2112,7.955,3052,10.616,6572,12.131,6573,12.131,6574,12.131]],["keywords/1320",[]],["title/1321",[273,296.762,543,501.136,561,636.63]],["content/1321",[2,8.051,5,3.401,14,4.022,15,6.231,23,1.631,33,1.383,61,5.754,65,3.506,69,3.34,88,6.41,114,3.11,122,4.696,124,4.006,152,4.106,161,3.38,171,2.794,176,3.904,177,8.1,180,4.921,182,2.135,186,4.656,188,6.001,189,5.463,201,4.132,205,2.78,206,3.808,222,4.295,224,5.668,227,5.501,228,4.672,246,3.38,273,5.552,361,6.001,373,4.062,403,8.65,414,4.182,417,4.817,476,6.5,484,6.001,490,6.259,543,8.514,544,3.991,561,10.341,572,3.822,607,5.8,703,3.991,716,5.687,736,4.006,740,4.976,765,3.506,773,4.216,943,5.623,958,4.948,1007,5.623,1030,5.25,1219,5.153,1479,6.001,1564,6.824,1607,9.893,1650,6.359,1712,7.486,2089,7.016,2098,6.737,2136,7.486,2239,7.788,2444,6.5,2459,8.65,3320,8.386]],["keywords/1321",[]],["title/1322",[297,444.782,300,864.293]],["content/1322",[14,5.605,97,6.982,114,4.334,151,4.6,152,4.455,161,4.71,177,7.667,200,5.563,224,6.03,228,6.512,230,4.71,256,7.014,264,4.322,273,4.907,300,8.219,301,3.398,395,6.269,417,6.713,421,7.722,543,7.364,580,6.859,630,9.141,716,7.18,765,4.887,858,7.51,897,9.777,942,8.958,1377,6.974,1560,10.25,1595,9.273,1631,8.439,2051,12.495,2114,9.777,2303,8.019,2560,9.777,3465,13.048,4067,13.787]],["keywords/1322",[]],["title/1323",[414,612.864,2065,1267.615]],["content/1323",[44,5.239,53,7.947,114,5.47,152,4.595,184,4.08,225,6.745,273,4.126,373,4.852,451,11.563,736,8.644,895,15.768,1021,10.119,1116,9.352,1651,10.851,1713,10.201,6575,23.082,6576,18.815]],["keywords/1323",[]],["title/1324",[33,202.738,6577,1567.878]],["content/1324",[4,1.69,5,3.52,6,1.579,7,3.502,10,4.438,23,2.485,25,0.746,33,2.484,37,1.883,40,4.282,51,3.902,63,2.46,65,3.676,75,10.543,98,4.805,100,7.115,109,7.252,114,3.261,152,2.233,156,5.94,184,5.07,186,4.82,205,4.992,206,3.993,222,3.059,225,4.021,240,2.505,260,5.809,276,6.815,277,6.469,283,9.4,298,5.504,301,2.556,372,7.252,373,4.955,385,4.108,398,4.201,407,5.47,417,8.65,454,7.252,465,8.349,476,6.815,488,13.666,501,8.385,674,4.108,688,6.815,735,5.05,736,4.201,1021,8.77,1356,7.155,1365,8.165,1614,5.727,1961,6.668,2031,8,2421,8.349,2422,9.069,2740,9.4,2771,8.556,2772,10.372,2938,10.372,2954,9.4,3831,9.4,4304,10.372,6578,11.217,6579,11.217,6580,11.217,6581,11.217,6582,11.217,6583,11.217,6584,11.217]],["keywords/1324",[]]],"invertedIndex":[["",{"_index":23,"title":{"307":{"position":[[56,1]]},"312":{"position":[[18,1]]},"472":{"position":[[5,1]]},"479":{"position":[[17,1]]},"550":{"position":[[0,2]]},"558":{"position":[[16,1]]},"629":{"position":[[40,1]]},"645":{"position":[[0,2]]},"651":{"position":[[0,2]]},"693":{"position":[[31,1]]},"695":{"position":[[25,1]]},"709":{"position":[[13,1],[25,1]]},"713":{"position":[[0,2]]},"761":{"position":[[38,3]]},"777":{"position":[[12,1]]},"822":{"position":[[8,1]]},"840":{"position":[[9,1]]},"898":{"position":[[16,1]]},"941":{"position":[[8,2]]},"956":{"position":[[8,1]]},"970":{"position":[[13,2]]},"1046":{"position":[[8,2]]},"1058":{"position":[[8,2]]},"1060":{"position":[[8,1]]},"1061":{"position":[[9,1]]},"1062":{"position":[[9,1]]},"1190":{"position":[[0,2]]},"1243":{"position":[[0,2]]},"1244":{"position":[[0,2]]},"1245":{"position":[[0,2]]}},"content":{"1":{"position":[[326,1],[345,1],[366,1],[386,1],[417,2],[528,1],[612,3]]},"2":{"position":[[98,2],[128,2],[226,2],[294,1],[331,1],[414,2],[443,3]]},"3":{"position":[[106,2],[211,1],[292,3]]},"4":{"position":[[272,2],[389,1],[476,3]]},"5":{"position":[[188,2],[299,1],[383,3]]},"6":{"position":[[255,2],[287,2],[385,2],[455,1],[494,1],[579,2],[608,3],[612,2],[673,1],[777,2],[806,3]]},"7":{"position":[[210,2],[331,1],[415,2],[443,3],[447,2],[508,1],[611,2],[639,3]]},"8":{"position":[[498,1],[515,1],[550,1],[564,1],[574,1],[594,1],[608,1],[618,1],[620,2],[674,1],[732,1],[751,1],[773,1],[809,1],[974,1],[1100,1],[1197,2],[1225,3]]},"9":{"position":[[122,2],[245,1],[340,2],[368,3]]},"10":{"position":[[51,2],[159,2],[236,1],[283,1],[375,2],[404,3],[417,1],[428,1]]},"11":{"position":[[89,2],[201,3],[205,1],[300,1],[319,1],[419,1],[508,2],[576,1],[607,1],[650,2],[659,1],[668,3],[672,3],[676,1],[708,2],[809,1],[902,2],[951,1],[953,2],[1069,1],[1071,1],[1073,3],[1077,1]]},"19":{"position":[[610,2],[651,1],[776,3],[780,2],[823,1],[869,1],[951,3]]},"50":{"position":[[201,3],[205,1],[274,1],[357,1],[475,2]]},"51":{"position":[[186,1],[205,1],[233,2],[272,1],[274,1],[401,1],[407,1],[440,2],[449,1],[466,2],[476,1],[493,1],[495,2],[523,2],[557,1],[584,1],[659,1],[661,2],[691,1],[736,2],[800,3],[804,2],[857,1],[878,1],[880,3],[895,1]]},"52":{"position":[[74,2],[159,3],[163,2],[207,1],[247,2],[250,1],[295,1],[297,3],[301,2],[334,1],[381,1],[419,1],[438,1],[451,2],[471,1],[509,1],[524,1],[562,1],[592,1],[594,3],[598,2],[618,1],[656,1],[671,1]]},"54":{"position":[[108,1],[123,1],[167,3],[177,2],[192,2],[195,5],[201,1],[255,1],[273,2],[286,2]]},"55":{"position":[[184,1],[206,1],[241,1],[271,1],[302,1],[313,1],[456,1],[465,1],[509,1],[559,1],[604,2],[607,2],[610,1],[612,2],[615,1],[675,1],[694,1],[729,1],[756,1],[807,1],[826,1],[865,1],[997,3],[1029,4],[1096,1],[1194,2],[1207,2]]},"61":{"position":[[237,1]]},"77":{"position":[[210,1],[242,1],[249,1],[259,1],[261,1],[263,3],[282,1],[316,1],[344,1],[346,1],[365,3]]},"103":{"position":[[250,1],[282,1],[289,1],[299,1],[301,1],[303,3],[322,1],[356,1],[384,1],[386,1],[405,3]]},"130":{"position":[[438,1],[440,1],[455,1],[481,2],[503,2],[522,3],[532,2],[547,2],[550,2],[553,3],[557,1],[600,1]]},"143":{"position":[[398,2],[462,3],[472,2],[487,2],[490,2],[517,1],[526,1],[559,1],[572,3],[576,2],[599,1],[643,3],[653,2],[668,2],[671,2],[698,1],[711,1],[744,1],[772,2],[775,2]]},"188":{"position":[[645,1],[664,1],[686,1],[705,1],[750,1],[807,1],[838,2],[926,1],[928,2],[962,1],[989,2],[1145,3],[1170,3],[1208,1],[1218,1],[1278,1],[1284,1],[1317,2],[1326,1],[1359,2],[1369,1],[1401,1],[1403,2],[1459,1],[1461,1],[1463,3],[1478,1],[1480,2],[1603,2],[2265,1],[2567,2],[2647,1],[2722,2],[2766,1],[2802,2],[2843,1],[3006,3],[3010,2],[3063,1],[3100,2],[3192,1],[3194,3],[3198,2],[3249,1],[3263,1],[3275,1],[3286,3],[3290,3]]},"209":{"position":[[8,1],[27,1],[62,1],[89,1],[140,1],[164,1],[223,1],[234,1],[354,3],[391,1],[401,1],[483,1],[489,1],[522,2],[532,1],[549,2],[562,1],[580,1],[582,1],[584,1],[586,1],[588,3],[592,2],[717,1],[747,1],[749,2],[797,1],[845,1],[900,2],[903,3],[933,2],[972,1],[974,2],[983,1],[1034,1],[1036,2],[1095,1],[1213,2],[1246,1],[1248,2],[1262,3],[1277,1]]},"210":{"position":[[153,1],[203,1],[262,1],[533,2],[536,3],[582,1],[620,3]]},"211":{"position":[[70,1],[89,1],[124,1],[151,1],[204,1],[286,3],[352,1],[362,1],[445,1],[451,1],[484,2],[496,1],[513,1],[515,1],[517,1],[519,1],[521,3]]},"234":{"position":[[310,1],[342,1],[349,1],[359,1],[361,1],[363,3],[382,1],[416,1],[444,1],[446,1],[465,3]]},"235":{"position":[[342,1],[344,1]]},"255":{"position":[[355,1],[374,1],[409,1],[436,1],[487,1],[511,1],[570,1],[581,1],[698,3],[735,1],[745,1],[827,1],[833,1],[866,2],[876,1],[893,2],[902,1],[920,1],[922,1],[924,1],[926,1],[928,3],[932,2],[1069,1],[1104,1],[1106,2],[1151,1],[1191,1],[1248,2],[1251,3],[1255,2],[1307,1],[1309,2],[1318,1],[1369,1],[1371,2],[1414,1],[1548,1],[1550,2],[1564,2],[1593,3],[1608,1]]},"258":{"position":[[8,1],[27,1],[62,1],[89,1],[142,1],[219,3]]},"259":{"position":[[34,1],[44,1],[127,1],[133,1],[166,2],[175,1],[192,1],[194,1],[196,1],[198,1],[200,3]]},"261":{"position":[[221,1],[271,1],[335,1],[405,2],[522,2],[626,2],[774,3],[784,3],[788,2],[818,2],[821,2],[845,3],[849,2],[943,1],[984,3]]},"266":{"position":[[547,1],[566,1],[588,1],[609,1],[656,1],[732,3]]},"269":{"position":[[20,1]]},"276":{"position":[[397,1],[439,1],[447,1],[460,1],[462,1]]},"300":{"position":[[229,1],[284,1],[315,1]]},"302":{"position":[[421,1],[683,1],[694,1],[751,1],[834,1],[850,1],[867,3],[893,1],[976,2],[1027,2],[1052,2],[1083,1],[1090,1],[1092,2],[1163,1],[1165,1]]},"303":{"position":[[444,2],[535,1],[537,1],[657,1],[659,1],[717,2],[720,1],[778,1],[780,1],[782,2],[802,1],[804,1],[896,1],[898,1],[941,2],[944,1],[987,1],[989,1],[991,2]]},"314":{"position":[[307,1],[326,1],[361,1],[388,1],[456,1],[467,1],[571,2],[610,2],[663,3],[700,1],[710,1],[793,1],[799,1],[816,2],[828,1],[845,2],[859,1],[876,1],[878,2],[898,1],[900,1],[902,3],[917,1]]},"315":{"position":[[169,1],[207,1],[258,1],[285,1],[336,1],[355,1],[416,1],[441,1],[517,3],[530,1],[636,3],[675,1],[685,1],[769,1],[775,1],[792,2],[801,1],[818,1],[820,2],[841,2],[915,1],[917,1],[919,3],[934,1]]},"316":{"position":[[142,1],[152,1],[210,2],[278,1],[284,1],[301,2],[313,1],[330,2],[344,1],[382,1],[384,1],[386,1],[388,1],[390,3]]},"334":{"position":[[172,1],[191,1],[213,1],[240,1],[314,1],[325,1],[431,2],[484,2],[523,2],[551,3],[587,1],[597,1],[679,1],[685,1],[702,2],[711,1],[728,2],[739,1],[756,1],[758,1],[760,1],[762,1],[764,3],[779,1]]},"335":{"position":[[104,2],[180,2],[183,1],[194,1],[218,2],[271,2],[274,2],[318,1],[320,2],[362,2],[421,1],[537,3],[541,3],[545,3],[549,2],[616,2],[625,1],[642,1],[683,1],[808,3],[812,3],[816,3]]},"356":{"position":[[337,1],[387,2],[657,1]]},"361":{"position":[[452,2],[532,1],[534,1],[654,1],[656,1],[714,2],[717,1],[775,1],[777,1],[779,2],[799,1],[801,1],[893,1],[895,1],[938,2],[941,1],[984,1],[986,1],[988,2]]},"367":{"position":[[671,2],[709,1],[711,1],[743,2],[822,1],[828,1],[861,2],[910,2],[919,1],[952,2],[961,1],[979,2],[993,1],[1031,1],[1033,2],[1082,1]]},"391":{"position":[[431,1],[442,1],[501,1],[604,1],[617,1],[651,1],[670,1],[716,3],[752,1]]},"392":{"position":[[214,1],[233,1],[255,1],[282,1],[335,1],[418,3],[559,1],[569,1],[629,1],[635,1],[667,2],[676,1],[693,1],[695,2],[723,1],[725,1],[727,3],[753,1],[931,1],[986,1],[1035,1],[1079,1],[1121,2],[1525,1],[1535,1],[1595,1],[1601,1],[1633,2],[1647,1],[1671,1],[1688,1],[1690,1],[1692,2],[1725,1],[1727,1],[1729,3],[1756,1],[2627,1],[2777,1],[2823,1],[2841,1],[2937,3],[2941,4],[2946,1],[2948,3],[3484,2],[3504,1],[3524,1],[3556,1],[3574,1],[3592,1],[3671,3],[3675,2],[3808,2],[3855,1],[4001,1],[4017,1],[4111,1],[4124,1],[4163,1],[4178,1],[4190,1],[4217,1],[4228,1],[4241,1],[4243,3],[4292,1],[4309,1],[4327,1],[4344,3],[4352,1],[4427,1],[4429,2],[4508,3],[4512,3],[4516,1],[4533,1],[4682,2],[4730,1],[4780,1],[4798,1],[4845,2],[4848,3],[4852,2],[4855,3],[4859,1],[4861,3]]},"393":{"position":[[923,1],[943,1],[988,1],[1056,2]]},"394":{"position":[[474,1],[494,1],[531,1],[560,1],[604,1],[643,1],[701,1],[760,1],[787,2],[851,4],[874,1]]},"397":{"position":[[484,1],[486,1],[518,2],[534,1],[536,1],[664,1],[682,1],[749,2],[775,1],[833,1],[872,1],[874,2],[877,2],[1047,2],[1072,1],[1202,2],[1226,1],[1317,1],[1319,1],[1626,1],[1646,1],[1708,1],[1710,3],[1732,4],[1752,1],[1818,1],[1864,1],[1882,1],[1928,1],[1930,1],[1959,2],[1962,2],[2078,1],[2097,1],[2163,1],[2170,1],[2201,3],[2245,4],[2250,1],[2252,3]]},"398":{"position":[[749,1],[774,1],[798,1],[892,1],[916,1],[1002,1],[1058,1],[1067,1],[1073,1],[1113,1],[1115,2],[1124,2],[1134,1],[1147,3],[1220,1],[1229,1],[1235,1],[1275,1],[1277,2],[1286,2],[1296,1],[1308,3],[1346,3],[1435,2],[1438,2],[1464,1],[1503,1],[1520,1],[1589,1],[1605,2],[1608,3],[1625,1],[1707,1],[1747,2],[1750,1],[1990,1],[2040,1],[2066,1],[2110,1],[2178,1],[2202,1],[2270,1],[2288,1],[2316,1],[2358,1],[2367,1],[2373,1],[2459,1],[2468,1],[2470,2],[2479,2],[2489,1],[2501,3],[2562,1],[2573,1],[2588,2],[2591,2],[2617,1],[2656,1],[2673,1],[2742,1],[2758,2],[2761,3],[2778,1],[2860,1],[2900,2],[2903,2],[3249,1],[3253,1]]},"400":{"position":[[288,2],[298,1],[311,3]]},"403":{"position":[[485,1],[487,1],[513,2],[615,1],[617,2],[620,3],[624,2],[627,2],[630,2],[633,3],[637,2],[640,2],[762,1],[803,1],[843,1],[919,1],[935,1],[942,1],[996,3],[1016,2],[1019,1],[1021,1],[1023,3]]},"405":{"position":[[187,1]]},"412":{"position":[[4440,1],[4452,1],[4512,1],[4514,1],[4516,3],[4520,1],[4571,1],[4625,2],[4642,1],[4644,3],[4648,1],[4706,1],[4749,1],[4784,1],[4807,1],[4845,1],[4894,1],[4963,1],[4989,2],[5016,2],[5019,3],[5023,1],[5068,1],[5121,1],[5154,2],[5174,1],[5176,3],[5180,1],[5248,1],[5321,1],[5323,1],[5392,1],[5464,1],[5543,2],[5572,1],[5574,2],[12048,2]]},"425":{"position":[[246,2],[322,2],[376,1],[412,2],[483,2]]},"426":{"position":[[304,1],[306,1],[359,2],[362,2],[439,2],[498,1]]},"432":{"position":[[778,2],[838,2],[930,4]]},"439":{"position":[[634,2],[718,3],[735,1],[807,2]]},"458":{"position":[[709,2],[769,2],[872,4]]},"459":{"position":[[521,2],[588,1],[635,1],[695,1],[746,1],[795,1],[834,1],[871,1],[891,1],[949,1],[977,3]]},"471":{"position":[[172,1]]},"480":{"position":[[165,1],[184,1],[219,1],[246,1],[314,1],[316,2],[360,1],[444,3],[448,2],[500,1],[510,1],[593,1],[599,1],[616,2],[626,1],[643,2],[652,1],[670,1],[672,1],[674,1],[676,1],[678,3],[682,2],[741,1],[755,1],[757,2],[760,2],[763,2],[860,1],[915,3],[930,1]]},"481":{"position":[[350,1],[583,1],[607,1],[731,1],[733,2],[762,2],[765,2],[774,1],[776,2],[807,2],[810,2],[824,2],[856,3]]},"482":{"position":[[166,1],[185,1],[220,1],[247,1],[298,1],[336,1],[410,1],[412,2],[481,1],[557,3],[561,2],[605,1],[716,3],[720,2],[793,1],[803,1],[893,1],[899,1],[916,2],[931,1],[948,1],[950,2],[997,2],[1027,1],[1029,1],[1031,3],[1046,1]]},"493":{"position":[[197,1],[270,2],[282,2]]},"494":{"position":[[200,2],[203,1],[205,2],[289,1],[322,1],[357,1],[404,3],[420,2],[423,1]]},"502":{"position":[[948,1],[964,1],[973,1],[975,1],[977,2],[980,2],[983,2],[990,1]]},"518":{"position":[[415,1],[431,1],[440,1],[442,1],[444,2],[447,2],[450,2],[457,1]]},"522":{"position":[[285,1],[304,1],[326,1],[353,1],[406,1],[451,2],[502,2],[545,2],[595,2],[663,2],[726,2],[729,2],[771,3]]},"523":{"position":[[344,1],[389,1],[452,1],[510,1],[512,1],[532,1],[571,3],[591,1],[614,1],[623,1],[688,1],[744,3],[856,2]]},"534":{"position":[[186,1]]},"538":{"position":[[266,1],[285,1],[320,1],[347,1],[391,2],[421,1],[466,2],[530,3],[534,2],[573,1],[575,1],[702,1],[708,1],[741,2],[750,1],[767,2],[777,1],[794,1],[796,2],[824,2],[827,2],[880,1],[901,1],[903,3]]},"539":{"position":[[74,2],[159,3],[163,2],[207,1],[247,2],[250,1],[295,1],[297,3],[301,2],[334,1],[381,1],[419,1],[438,1],[451,2],[471,1],[509,1],[524,1],[562,1],[592,1],[594,3],[598,2],[618,1],[656,1],[671,1]]},"541":{"position":[[179,1],[201,1],[248,2],[251,1],[279,1],[314,1],[316,2],[358,1],[398,1],[434,1],[458,3],[469,2],[506,2],[531,1],[610,1],[705,3],[734,2],[737,1]]},"542":{"position":[[295,1],[330,1],[386,1],[405,1],[440,1],[467,1],[526,1],[649,3],[738,5],[776,2],[779,1],[794,1],[825,1],[861,1],[910,3],[926,2],[929,1]]},"548":{"position":[[128,1]]},"554":{"position":[[482,1],[501,1],[523,1],[561,1],[605,2],[608,1],[661,1],[736,2],[746,1],[767,1],[844,1],[846,2],[929,1],[999,3],[1003,2],[1044,1],[1157,2],[1200,3],[1204,2],[1285,1],[1295,1],[1384,1],[1390,1],[1423,2],[1439,1],[1456,2],[1472,1],[1489,1],[1491,2],[1541,1],[1543,1],[1545,3],[1560,1]]},"555":{"position":[[179,2],[188,1],[199,1],[232,2],[267,1],[378,3],[382,2],[466,1],[508,1],[532,1],[586,2],[615,2],[690,3],[694,5]]},"556":{"position":[[206,2],[292,1],[373,1],[393,1],[449,1],[480,1],[533,1],[751,1],[764,1],[802,1],[850,1],[874,1],[908,1],[1034,3]]},"557":{"position":[[259,1]]},"559":{"position":[[199,1],[221,1],[268,1],[300,1],[320,1],[334,1],[383,1],[403,1],[405,3],[409,3],[432,1],[494,2],[517,1],[775,2],[778,1]]},"562":{"position":[[8,1],[27,1],[49,1],[76,1],[148,1],[159,1],[260,3],[281,1],[283,1],[365,1],[371,1],[388,2],[397,1],[414,2],[424,1],[441,1],[443,2],[471,2],[508,1],[529,1],[531,3],[535,2],[623,3],[627,2],[662,1],[716,2],[731,5],[818,1],[1050,1],[1072,1],[1119,2],[1122,1],[1150,1],[1185,1],[1199,1],[1220,2],[1296,1],[1332,1],[1356,3],[1367,2],[1395,2],[1420,2],[1445,1],[1481,1],[1554,3],[1570,2],[1573,1]]},"563":{"position":[[205,1],[224,1],[259,1],[286,1],[337,1],[372,1],[460,1],[471,1],[604,3],[608,2],[686,1],[718,1],[742,2],[761,2],[839,5]]},"564":{"position":[[193,1],[212,1],[234,1],[272,1],[323,1],[350,1],[424,1],[449,1],[525,3],[529,2],[575,1],[689,3],[728,1],[738,1],[822,1],[828,1],[845,2],[860,1],[877,1],[879,2],[926,2],[946,1],[948,1],[950,3],[954,5]]},"571":{"position":[[889,1],[905,1],[914,1],[916,1],[918,2],[921,2],[924,2],[931,1],[1036,1],[1038,2],[1119,1],[1160,1],[1171,1],[1234,1],[1248,3],[1252,2],[1377,1],[1379,1]]},"579":{"position":[[158,2],[174,1],[193,1],[215,1],[242,1],[323,1],[334,1],[440,2],[493,2],[532,2],[559,3],[595,1],[605,1],[687,1],[693,1],[710,2],[719,1],[736,2],[753,1],[770,1],[772,1],[774,1],[776,1],[778,3],[793,1]]},"580":{"position":[[38,5],[262,2],[306,1],[323,1],[344,1],[359,1],[387,1],[422,2],[431,1],[436,1],[460,2],[516,1],[532,1],[541,1],[543,2],[552,2],[567,2],[570,2],[573,2],[576,2],[587,1],[680,1],[695,1],[708,3],[712,3],[829,2],[842,2],[851,2],[872,2]]},"594":{"position":[[184,1]]},"598":{"position":[[258,2],[274,1],[293,1],[315,1],[342,1],[417,1],[428,1],[473,2],[537,3],[541,2],[580,1],[582,1],[709,1],[715,1],[748,2],[757,1],[774,2],[784,1],[801,1],[803,2],[831,2],[834,2],[887,1],[908,1],[910,3],[925,1]]},"599":{"position":[[74,2],[168,3],[172,2],[216,1],[265,2],[268,1],[322,1],[324,3],[328,2],[361,1],[408,1],[446,1],[465,1],[478,2],[498,1],[536,1],[551,1],[589,1],[619,1],[621,3],[625,2],[649,1],[687,1],[702,1]]},"601":{"position":[[264,2],[278,2],[384,1],[401,1],[422,1],[431,1],[459,1],[499,2],[508,1],[519,1],[537,2],[579,1],[599,2],[668,1],[683,1],[696,3],[700,3]]},"602":{"position":[[238,1],[261,2],[264,2],[651,2],[665,2]]},"608":{"position":[[128,1]]},"610":{"position":[[865,2],[924,1],[1014,1],[1075,2],[1127,2],[1149,1],[1151,3],[1155,1],[1203,1],[1268,1],[1326,2],[1358,3],[1362,1],[1376,2]]},"611":{"position":[[591,2],[640,1],[691,1],[709,1],[750,2],[815,2],[835,1],[853,1],[904,2]]},"612":{"position":[[1088,2],[1150,1],[1209,2],[1264,1],[1278,1],[1306,1],[1308,1],[1323,2],[1789,1],[1813,1],[1832,2],[1877,1],[1898,1],[1994,3],[2014,1],[2029,1],[2031,2],[2081,1],[2103,1],[2168,2],[2171,2],[2221,1],[2244,1],[2260,1],[2262,1],[2332,2],[2355,2],[2365,2],[2423,2],[2432,1],[2472,3],[2476,3],[2497,2]]},"617":{"position":[[55,2]]},"628":{"position":[[274,1]]},"632":{"position":[[1046,1],[1065,1],[1100,1],[1127,1],[1204,1],[1206,2],[1280,1],[1367,2],[1414,3],[1418,2],[1485,1],[1495,1],[1577,1],[1583,1],[1616,2],[1626,1],[1643,2],[1652,1],[1670,1],[1672,1],[1674,1],[1676,1],[1678,3],[1682,2],[1768,2],[1771,2],[1827,1],[1874,3],[1889,1],[2115,1],[2139,1],[2208,1],[2293,2],[2363,1],[2414,1],[2416,2],[2488,2],[2491,2],[2500,1],[2530,1],[2532,2],[2577,2],[2580,2],[2595,2],[2638,2],[2675,3],[2679,1]]},"638":{"position":[[228,1],[266,1],[333,1],[409,3],[422,1],[527,3],[566,1],[576,1],[661,1],[667,1],[700,2],[716,1],[733,1],[735,2],[783,2],[817,1],[819,1],[821,3]]},"639":{"position":[[326,1],[336,1],[439,1],[445,1],[478,2],[490,1],[507,2],[521,1],[538,1],[540,1],[542,1],[544,1],[546,3]]},"646":{"position":[[8,1],[22,1],[44,1],[63,1]]},"647":{"position":[[171,1],[173,1],[175,2],[235,2],[314,2],[375,1],[395,1],[471,2],[536,1]]},"648":{"position":[[113,1],[115,1],[117,2],[224,1],[244,1],[280,2]]},"649":{"position":[[112,1],[114,1],[180,1],[200,1],[255,1],[335,2],[343,1],[400,1],[443,2],[461,1],[463,2]]},"652":{"position":[[8,1],[22,1],[44,1],[64,1]]},"653":{"position":[[124,1],[143,1],[165,1],[192,1],[245,1],[342,1],[344,3],[348,1],[396,1],[440,1],[465,1],[487,2],[515,1],[520,1],[525,1],[530,1],[536,2],[550,3],[554,1],[624,1],[685,1],[751,1],[774,2],[804,1],[810,2],[824,3],[828,1],[865,1],[921,1],[943,2],[960,1],[965,1],[970,2],[983,3],[987,1],[1005,1],[1048,1],[1091,1],[1141,1],[1193,1],[1210,2],[1244,3],[1248,1],[1290,1],[1338,1],[1399,1],[1443,1],[1460,2],[1487,1],[1489,3]]},"654":{"position":[[84,3],[88,1],[124,1],[169,2],[204,3],[208,1],[243,1],[293,2],[332,3],[336,1],[369,1],[402,1],[443,2]]},"655":{"position":[[391,2],[453,2]]},"659":{"position":[[437,1],[451,1],[484,2],[544,3],[548,2],[562,1],[570,1],[572,1],[609,3],[613,2],[627,2],[675,3]]},"661":{"position":[[629,1],[652,1],[683,1],[756,1],[758,1],[760,1],[841,1],[853,1],[886,1],[1048,1],[1099,1],[1175,1],[1262,2],[1269,1],[1276,1],[1278,1]]},"662":{"position":[[1026,2],[1397,1],[1420,1],[1451,1],[1524,1],[1526,1],[1528,1],[1632,1],[1651,1],[1686,1],[1722,1],[1767,1],[1779,1],[1818,1],[1916,2],[1926,1],[1978,1],[2077,2],[2080,2],[2118,1],[2257,2],[2260,3],[2284,2],[2324,1],[2370,1],[2380,1],[2440,1],[2446,1],[2479,2],[2488,1],[2505,2],[2513,1],[2530,1],[2532,2],[2560,1],[2562,1],[2564,3],[2676,1],[2720,1],[2734,1],[2808,1],[2822,1],[2852,3],[2856,3],[2860,5]]},"672":{"position":[[27,1],[54,3],[82,1],[179,2],[182,1],[193,1],[213,2],[216,3],[220,2],[223,2],[226,1]]},"673":{"position":[[8,1],[20,1],[70,1],[185,2],[188,1],[199,1],[219,2],[222,3],[226,2],[229,2],[232,2],[235,3],[239,1]]},"674":{"position":[[43,1],[45,1],[72,2],[75,3],[79,2],[91,1],[93,2],[226,2],[229,1],[231,2],[234,3],[238,2],[241,2],[298,1],[341,1],[352,3],[371,1],[468,2],[471,1],[482,1],[502,2],[505,3],[509,2],[512,2],[515,2],[518,3],[522,1]]},"675":{"position":[[226,1],[244,1]]},"676":{"position":[[300,1],[317,1]]},"678":{"position":[[250,1],[252,1],[254,2],[296,1],[308,2],[311,2],[351,1],[368,1],[370,2]]},"680":{"position":[[292,2],[349,1],[385,1],[413,2],[451,1],[465,1],[509,2],[537,1],[556,1],[578,1],[605,1],[666,1],[747,3],[751,2],[807,1],[809,1],[869,1],[875,1],[908,2],[919,1],[962,2],[992,2],[1039,2],[1076,1],[1078,2],[1109,1],[1111,1],[1113,2],[1166,1],[1185,1],[1187,3],[1191,2],[1229,1],[1280,2],[1379,1],[1387,1],[1399,1],[1401,1],[1403,3]]},"681":{"position":[[644,2],[718,1],[725,1],[736,1],[738,2],[741,2],[800,1],[808,1],[820,1],[822,2],[825,2],[916,1],[918,2],[921,3],[925,1],[927,3]]},"682":{"position":[[346,1],[358,1],[360,3],[364,3],[368,3],[372,2],[384,1],[386,3],[390,3],[394,3],[398,1],[400,2],[403,1],[415,1],[417,3],[421,3],[425,3],[429,2],[441,1],[443,3],[447,3],[451,3],[455,1],[457,2],[460,1],[472,1],[474,3],[478,3],[482,3],[486,2],[498,1],[500,3],[504,3],[508,3],[512,1],[514,2],[517,1],[529,1],[531,3],[535,3],[539,3],[543,2],[555,1],[557,3],[561,3],[565,3],[569,1],[571,1],[573,3]]},"683":{"position":[[131,2],[214,3],[218,2],[305,1],[313,1],[335,1],[337,1],[339,3],[768,1],[770,2],[824,1],[841,1],[843,2],[855,1],[857,2],[907,1],[929,1],[931,2],[946,1],[948,2],[1013,1],[1025,1],[1027,1],[1029,3]]},"684":{"position":[[190,1],[198,1],[215,1],[217,1],[219,3],[223,2]]},"691":{"position":[[235,1],[237,1],[279,3],[325,1],[334,1],[396,2],[502,2],[505,1],[507,2]]},"693":{"position":[[702,2],[719,1],[744,1],[746,1],[788,1],[809,1],[811,1],[884,2],[887,1],[992,3],[996,3],[1001,2],[1022,1],[1048,1],[1050,1],[1092,1],[1113,1],[1115,1],[1166,1],[1289,2],[1292,3],[1296,2],[1299,3],[1303,2]]},"698":{"position":[[2722,2],[2825,2],[2893,2],[2960,2]]},"710":{"position":[[856,2],[1547,1],[1566,1],[1588,1],[1615,1],[1659,2],[1687,1],[1769,3],[1773,2],[1813,1],[1859,1],[1861,2],[1864,3],[1868,2],[1871,1],[1873,3],[1877,2],[1955,2],[1983,1],[2027,1],[2041,1],[2054,2],[2115,1],[2129,1],[2159,3],[2163,3],[2167,5]]},"711":{"position":[[1116,1],[1147,1],[1200,2],[1257,1],[1354,3],[1385,3],[1543,1],[1574,1],[1611,1],[1624,3],[1628,3],[1632,3],[1735,1],[1787,1]]},"717":{"position":[[149,2],[556,1],[594,1],[645,1],[672,1],[716,2],[793,1],[869,3],[1059,1],[1078,1],[1106,2],[1147,1],[1245,3],[1416,1],[1418,1],[1478,1],[1484,1],[1517,2],[1528,1],[1545,2],[1548,2],[1590,2],[1632,1],[1641,1],[1643,2]]},"718":{"position":[[101,1],[156,1],[216,1],[240,1],[289,2],[375,1],[449,3],[476,1],[478,1],[480,2],[517,1],[529,1],[606,2],[609,2],[650,1],[760,3],[764,2],[767,3],[771,2]]},"720":{"position":[[133,1],[135,1],[177,1],[179,2],[182,3],[186,2],[189,2],[205,1],[223,2],[294,1],[296,2]]},"724":{"position":[[49,2],[179,1],[202,1],[251,1],[265,1],[442,1],[462,1],[521,1],[549,2],[662,2],[757,3],[761,1],[822,1],[895,1],[961,1],[987,1],[989,1],[991,1],[993,1],[1008,2],[1049,3],[1053,1],[1066,1],[1106,1],[1147,2],[1169,3],[1173,1],[1186,1],[1261,1],[1347,1],[1368,2],[1398,3],[1402,1],[1415,1],[1479,2],[1496,3],[1500,3],[1538,2],[1628,1],[1663,3],[1667,1],[1721,1],[1786,2],[1810,1],[1844,1],[1856,3]]},"729":{"position":[[354,1],[388,1],[390,1],[397,1],[416,2],[419,2]]},"731":{"position":[[128,1],[214,1]]},"732":{"position":[[116,1],[136,2],[139,3],[143,2],[146,1]]},"734":{"position":[[132,1],[163,1],[209,1],[236,1],[312,1],[381,3],[416,1],[435,1],[472,1],[554,3],[609,1],[611,1],[635,2],[743,1],[749,1],[782,2],[831,1],[833,2],[836,3],[840,2],[843,1],[845,2],[880,1],[899,1],[901,3]]},"738":{"position":[[84,1],[98,1],[120,1],[147,1]]},"739":{"position":[[196,1],[223,1],[276,1],[403,3],[446,1],[465,1],[467,3],[509,1],[548,2],[603,2],[612,1],[625,1],[739,3],[743,2],[751,1],[758,3]]},"740":{"position":[[423,1],[460,1],[519,1],[601,1],[609,2],[618,1],[620,2],[691,1]]},"741":{"position":[[53,1]]},"745":{"position":[[203,1],[226,1],[271,1],[295,1],[344,2],[399,1],[459,3],[463,2],[521,1],[592,3],[596,2]]},"746":{"position":[[287,1],[358,1],[360,2],[431,3],[435,1],[472,2],[475,2],[562,2],[667,2],[859,1],[861,3]]},"747":{"position":[[104,1],[349,3]]},"749":{"position":[[382,3],[389,3],[4417,1],[4455,1],[4484,2]]},"751":{"position":[[503,1],[551,1],[553,2],[647,1],[682,2],[715,1],[717,1],[719,1],[721,3],[807,1],[855,1],[890,1],[925,2],[958,2],[961,3],[965,1],[1025,1],[1092,2],[1116,2],[1204,2],[1290,1],[1411,1],[1428,1],[1468,1],[1495,3],[1499,1],[1501,1],[1503,1],[1505,3],[1605,1],[1653,1],[1655,2],[1749,1],[1784,2],[1817,2],[1820,3],[1824,1],[1875,1],[1920,2],[2009,1],[2011,1],[2013,1],[2015,3]]},"752":{"position":[[362,1],[408,1],[455,2],[520,1],[549,3],[583,3],[602,1],[604,1],[606,1],[608,3],[612,2],[657,1],[705,3],[716,1],[726,1],[728,2],[782,2],[863,1],[897,2],[1041,2],[1070,3],[1074,2],[1112,1],[1132,2],[1151,1],[1160,1],[1177,1],[1190,2],[1248,2],[1285,2],[1307,1],[1309,1],[1421,1]]},"753":{"position":[[256,1],[334,1],[375,1],[410,1],[412,1],[445,2],[448,3],[452,3]]},"754":{"position":[[201,1],[214,1],[255,1],[257,1],[286,2],[402,2],[432,2],[541,1],[543,3],[562,1],[591,2],[691,1],[766,2],[784,1],[786,1]]},"759":{"position":[[94,1],[111,1],[159,1],[183,1],[239,1],[266,1],[314,2],[352,1],[452,3],[500,3],[504,1],[532,1],[580,1],[617,2],[698,2],[747,2],[778,2],[950,1],[1003,1],[1005,3]]},"760":{"position":[[104,1],[132,1],[186,1],[188,1],[253,2],[256,3],[260,2],[270,1],[287,1],[335,1],[362,1],[410,2],[496,3],[500,1],[528,1],[576,1],[613,2],[694,2],[743,2],[838,1],[891,1],[893,3],[897,2],[900,3],[904,2]]},"761":{"position":[[105,2],[422,2],[459,1],[481,1],[546,2],[567,2],[585,1],[607,1],[689,2],[707,1],[729,1]]},"767":{"position":[[316,2],[370,2],[415,1],[421,2],[432,2],[488,2],[498,2],[603,2],[614,2],[712,2],[737,2],[804,2],[815,2],[884,2],[894,2],[1012,2]]},"768":{"position":[[273,2],[337,2],[389,1],[403,2],[414,2],[480,2],[490,2],[605,2],[616,2],[722,2],[745,2],[810,2],[821,2],[888,2],[898,2],[1014,2]]},"769":{"position":[[290,2],[356,2],[367,2],[435,2],[445,2],[562,2],[573,2],[683,2],[708,2],[775,2],[786,2],[855,2],[865,2],[983,2]]},"770":{"position":[[411,1],[418,2],[437,3],[441,3],[455,1],[520,2]]},"772":{"position":[[641,1],[660,1],[682,1],[709,1],[762,1],[897,2],[900,3],[904,2],[957,1],[976,1],[978,3],[982,2],[1010,1],[1044,1],[1061,1],[1428,1],[1447,1],[1469,1],[1511,1],[1607,1],[1748,2],[1751,3],[2136,1],[2155,1],[2200,1],[2262,1],[2281,1],[2369,1],[2504,2],[2507,3]]},"773":{"position":[[443,1],[462,1],[484,1],[505,1],[552,1],[628,3],[821,1]]},"774":{"position":[[446,1],[465,1],[487,1],[514,1],[565,1],[592,1],[654,1],[825,2],[828,2],[831,3]]},"789":{"position":[[158,1],[202,1],[231,1],[270,1],[272,1],[274,1],[276,3],[310,2],[405,1],[449,1],[478,1],[518,1],[520,1],[522,1],[524,3],[558,2]]},"791":{"position":[[14,1],[58,1],[87,1],[126,1],[128,1],[130,1],[132,3],[146,1],[206,2],[273,1],[317,1],[346,1],[381,1],[383,1],[395,1],[397,5],[403,1],[405,1],[407,1],[409,3],[452,3],[466,1],[526,2]]},"792":{"position":[[141,1],[185,1],[218,1],[257,1],[259,1],[261,1],[263,3],[277,1],[327,1],[416,3],[454,2]]},"793":{"position":[[149,2],[213,2],[242,2],[278,2],[462,2],[499,2],[525,2],[552,2],[564,2],[595,2],[607,2],[622,2],[1175,2],[1210,2]]},"795":{"position":[[128,2],[137,1],[205,1],[207,2],[216,2]]},"796":{"position":[[297,3],[301,1],[350,1],[413,2],[430,1],[432,1],[444,1],[451,1],[453,1],[461,1],[473,2],[476,2],[479,1],[487,1],[499,2],[508,1],[524,1],[526,2],[529,1],[537,1],[550,1],[552,2],[586,1],[588,1],[590,3],[594,1],[646,1],[709,1],[771,1],[835,2],[855,1],[857,1],[869,1],[877,1],[903,2],[929,1],[960,2],[994,1],[996,1],[998,1],[1000,3],[1004,1],[1066,1],[1129,2],[1148,1],[1150,1],[1162,1],[1164,3],[1168,1],[1254,1],[1333,2],[1344,1],[1351,1],[1376,2],[1391,2],[1435,1],[1437,1],[1439,1]]},"797":{"position":[[249,1],[281,1],[283,2],[286,3],[290,2],[293,2],[296,2],[331,1],[352,1],[354,3]]},"798":{"position":[[540,1],[576,1],[583,1],[593,2],[604,1],[615,1],[617,2],[620,3],[624,1],[692,1],[725,1],[811,1],[908,2],[936,3]]},"799":{"position":[[509,2],[518,1],[554,1],[569,1],[599,3],[650,3],[654,2],[663,2],[678,1],[702,3],[706,5],[731,2],[786,1],[801,1],[857,3]]},"800":{"position":[[806,1],[838,3],[842,5],[865,1],[899,1],[960,3],[964,5],[1016,1],[1018,2]]},"806":{"position":[[575,1],[610,1],[639,1],[641,2],[702,1],[704,1],[706,2],[709,2],[791,2]]},"808":{"position":[[133,1],[135,1],[220,1],[228,1],[245,2],[260,1],[276,2],[321,2],[410,1],[412,1],[414,2],[528,1],[530,1],[592,1],[600,1],[617,2],[629,1],[667,1],[684,1],[686,1],[688,1],[690,2]]},"810":{"position":[[256,3],[325,3],[339,1],[404,1]]},"811":{"position":[[236,3],[305,3],[319,1],[384,1],[409,2]]},"812":{"position":[[20,1],[63,1],[73,1],[115,1],[123,1],[140,2],[151,1],[181,1],[191,1],[222,1],[224,1],[226,1],[228,1],[230,1],[232,1],[234,3],[251,1]]},"813":{"position":[[20,1],[63,1],[73,1],[115,1],[123,1],[140,2],[152,1],[190,1],[207,1],[209,1],[211,1],[213,1],[215,1],[217,3],[302,1],[327,1],[329,3],[343,1],[407,1]]},"818":{"position":[[485,1],[529,1],[585,2],[588,3],[592,2],[595,1],[597,1],[599,3]]},"820":{"position":[[8,1],[24,1],[78,1],[102,1],[161,1],[209,3],[213,1],[263,1],[312,2],[349,3],[353,1],[406,1],[445,2],[457,1],[459,3],[463,1],[502,1],[542,2],[559,1],[571,1],[578,1],[588,1],[590,2],[593,2],[611,1],[623,1],[630,1],[640,2],[653,1],[671,1],[673,2],[676,1],[678,2],[691,4],[720,4],[725,3]]},"824":{"position":[[552,2]]},"825":{"position":[[100,1],[126,1],[175,1],[196,1],[333,1],[465,3],[469,2],[549,1],[569,1],[600,1],[615,1],[648,1],[660,1],[778,1],[882,2],[885,2],[920,1],[940,1],[961,2],[1013,1],[1050,1]]},"826":{"position":[[65,1],[254,2],[359,2],[373,2],[444,1],[476,2],[506,1],[531,2],[599,1],[618,2],[695,1],[722,2],[733,2],[807,1],[831,2],[905,1],[933,2],[952,2],[1026,1],[1050,2],[1110,1]]},"829":{"position":[[466,1],[498,1],[520,1],[547,1],[620,1],[631,1],[717,3],[755,1],[776,1],[778,3],[782,3],[786,1],[808,1],[837,1],[864,2],[878,1],[1255,1],[1277,1],[1300,1],[1321,1],[1357,1],[1371,1],[1402,1],[1404,2],[1413,1],[1445,1],[1478,1],[1493,1],[1501,2],[1510,1],[1521,1],[1561,2],[1574,2],[1577,4],[1595,2],[1604,1],[1731,1],[1740,1],[1789,3],[1810,3],[1842,2],[1845,2],[1900,1],[1918,1],[1964,1],[2324,1],[2337,1],[2378,1],[2380,1],[2411,1],[2423,3],[2433,2],[2448,2],[2451,1],[2453,2],[2472,1],[2474,2],[2483,1],[2491,1],[2510,1],[2512,1],[2546,1],[2592,1],[2658,2],[3236,1],[3253,1],[3294,1],[3296,1],[3327,1],[3339,3],[3349,2],[3364,2],[3367,1],[3369,2],[3387,1],[3389,2],[3398,1],[3406,1],[3425,1],[3427,1],[3465,1],[3511,1],[3520,1],[3557,1],[3608,3],[3624,2],[3627,2]]},"835":{"position":[[368,3],[372,1],[403,1],[447,2],[497,1]]},"836":{"position":[[681,1],[939,1],[946,1],[948,1]]},"837":{"position":[[1855,1],[2103,1],[2128,1],[2161,3]]},"838":{"position":[[1514,2],[1949,1],[1968,1],[1990,1],[1997,1],[2056,2],[2066,1],[2118,1],[2196,1],[2223,2],[2252,2],[2357,2],[2493,2],[2496,3],[2538,1],[2584,1],[2594,1],[2654,1],[2660,1],[2693,2],[2702,1],[2719,2],[2727,1],[2744,1],[2746,2],[2774,1],[2776,1],[2778,3],[2890,1],[2934,1],[2948,1],[3022,1],[3036,1],[3066,3],[3070,3],[3074,5]]},"846":{"position":[[55,1],[74,1],[140,1],[160,1],[239,2],[318,3],[322,1],[351,1],[387,1],[404,2],[419,3],[423,1],[465,1],[505,1],[538,1],[575,1],[595,1],[608,2],[645,1],[647,3],[651,1],[707,1],[720,2],[738,3],[742,1],[787,1],[818,1],[831,2],[858,3],[862,3],[866,4],[871,3],[875,1],[908,1],[952,1],[1025,1],[1053,2],[1073,2],[1082,1],[1084,3],[1088,1],[1133,1],[1146,2],[1164,3],[1168,1],[1206,1],[1253,1],[1266,2],[1293,3],[1297,3],[1301,3],[1305,1],[1307,1],[1309,2]]},"848":{"position":[[198,1],[221,1],[223,2],[301,1],[331,2],[398,1],[424,1],[426,3],[430,1],[432,2],[532,2],[628,2],[631,2],[657,1],[677,1],[793,3],[797,1],[835,2],[866,3],[876,2],[879,1],[881,2],[1028,1],[1173,1],[1226,1],[1292,1],[1312,1],[1428,3],[1432,1],[1470,2],[1548,3],[1558,2],[1561,1],[1563,2]]},"849":{"position":[[870,1],[895,1],[1136,1],[1138,1]]},"851":{"position":[[233,2],[310,1],[360,1],[382,1],[398,1],[400,2]]},"852":{"position":[[175,1],[195,1],[336,3],[346,2],[349,1],[351,2]]},"854":{"position":[[99,1],[141,1],[168,1],[213,1],[242,1],[321,1],[334,2],[337,3],[341,2],[344,3],[372,1],[419,1],[598,1],[732,1],[806,2],[809,3],[813,1],[877,1],[920,1],[960,1],[981,2],[990,3],[1000,3],[1004,3],[1008,1],[1053,1],[1070,2],[1085,3],[1089,1],[1142,1],[1144,1],[1190,1],[1243,1],[1299,1],[1342,1],[1402,1],[1434,1],[1484,1],[1535,1],[1575,1],[1605,2],[1648,3]]},"857":{"position":[[212,1],[246,1],[295,1],[372,1],[439,2],[442,3]]},"858":{"position":[[180,1],[202,1],[243,1],[317,2],[326,1],[336,1],[355,5],[369,1],[371,2],[380,1],[420,3],[429,1],[431,1],[433,2],[506,3]]},"860":{"position":[[486,1]]},"861":{"position":[[566,1],[619,1],[684,1],[719,1],[866,1],[893,1],[2115,1],[2138,1]]},"862":{"position":[[225,1],[245,1],[296,1],[342,1],[377,1],[404,1],[455,1],[464,1],[531,1],[608,3],[627,1],[629,1],[709,1],[715,1],[748,2],[757,1],[774,1],[776,2],[804,2],[841,1],[860,1],[862,3],[883,1],[969,1],[1132,1],[1323,2],[1387,1],[1404,2],[1413,1],[1429,2],[1432,2],[1435,1],[1437,3],[1441,1],[1501,1],[1530,1],[1532,3],[1536,2],[1539,3]]},"866":{"position":[[351,1],[367,1],[430,1],[535,2],[611,3],[615,1],[685,1],[728,1],[767,2],[807,1],[835,2],[856,1],[872,2],[881,1],[897,1],[899,3]]},"872":{"position":[[852,1],[866,1],[902,1],[993,1],[1080,1],[1112,1],[1128,1],[1130,3],[1547,1],[1579,1],[1601,1],[1622,1],[1660,2],[1705,1],[1780,3],[1784,2],[1848,1],[1858,1],[1926,1],[1940,1],[1973,2],[1987,1],[2004,2],[2017,1],[2034,1],[2036,2],[2089,1],[2091,1],[2093,3],[2287,1],[2306,1],[2372,1],[2402,1],[2506,2],[2584,1],[2600,2],[2609,1],[2625,2],[2639,3],[3107,1],[3124,1],[3168,1],[3193,1],[3252,1],[3342,3],[3346,3],[3365,1],[3437,3],[3524,2],[3782,1],[3801,1],[3823,1],[3843,1],[3887,1],[3905,1],[3963,1],[4040,3],[4078,1],[4088,1],[4156,1],[4170,1],[4203,2],[4217,1],[4234,2],[4247,1],[4264,1],[4266,2],[4319,1],[4321,1],[4323,3],[4327,2],[4396,2],[4458,1],[4600,1],[4616,2],[4625,1],[4641,1],[4643,3]]},"873":{"position":[[108,1]]},"875":{"position":[[309,2],[334,1],[358,1],[416,1],[528,1],[530,2],[557,2],[560,2],[569,1],[571,2],[598,2],[601,1],[603,3],[780,2],[805,1],[819,1],[886,1],[957,1],[1008,1],[1066,1],[1120,1],[1158,2],[1161,3],[1187,2],[1205,2],[1214,1],[1264,3],[2003,2],[2028,1],[2042,1],[2104,1],[2115,1],[2147,1],[2198,1],[2234,1],[2236,3],[2240,1],[2304,1],[2370,1],[2444,2],[2447,1],[2459,1],[2476,1],[2478,2],[2481,1],[2493,1],[2510,1],[2516,1],[2526,1],[2528,1],[2530,1],[2532,2],[2636,1],[2655,3],[2661,1],[2663,1],[2679,1],[2681,1],[2683,1],[2760,2],[2876,4],[2881,3],[3051,2],[3092,1],[3124,2],[3127,3],[3131,2],[3140,1],[3202,1],[3221,1],[3250,1],[3264,1],[3283,1],[3305,1],[3307,3],[3326,1],[3425,2],[3439,1],[3471,1],[3528,2],[3531,1],[3533,1],[3535,2],[3538,3],[3542,2],[3545,3],[4249,2],[4274,1],[4288,1],[4323,1],[4333,1],[4348,2],[4398,1],[4421,1],[4472,1],[4491,1],[4519,1],[4521,3],[4537,1],[4539,1],[4571,3],[4592,2],[4653,1],[4778,2],[4781,1],[4850,2],[4853,1],[4940,1],[5026,2],[5055,3],[5098,1],[5100,1],[5102,1],[5104,2],[5159,1],[5166,1],[5168,2],[5299,2],[5369,1],[5371,1],[5456,2],[5459,1],[5461,1],[5525,1],[5614,3],[6095,2],[6136,1],[6168,2],[6171,3],[6175,2],[6184,1],[6231,1],[6271,1],[6298,1],[6365,2],[6401,3],[6426,1],[6477,1],[6479,1],[6481,2],[6484,3],[6488,2],[6491,3],[7203,2],[7261,1],[7282,1],[7377,3],[7400,1],[7436,1],[7455,1],[7457,1],[7481,1],[7492,3],[7512,2],[7550,3],[8021,2],[8046,1],[8056,1],[8091,1],[8126,1],[8176,1],[8200,1],[8202,2],[8227,1],[8241,1],[8259,1],[8371,3],[8375,2],[8401,1],[8433,2],[8436,3],[8440,2],[8449,1],[8451,2],[8454,3],[8458,2],[8499,1],[8501,2],[8504,3],[8508,2],[8511,3],[8941,2],[8979,1],[8981,2],[9440,2],[9465,1],[9475,1],[9510,1],[9545,1],[9595,1],[9619,1],[9621,2],[9646,1],[9648,2],[9710,1],[9748,1],[9788,1],[9790,3]]},"878":{"position":[[187,1],[205,1],[277,1],[416,2],[495,1],[534,2],[543,3],[553,3],[568,3]]},"879":{"position":[[664,1],[685,3]]},"880":{"position":[[377,1],[446,3],[450,3]]},"881":{"position":[[387,1],[430,3]]},"882":{"position":[[394,1],[420,2],[423,3],[427,2],[468,2],[471,3],[475,2],[478,3]]},"885":{"position":[[536,1],[618,1],[631,1],[713,1],[732,1],[765,1],[786,1],[831,1],[844,1],[909,1],[935,1],[1052,1],[1068,1],[1070,1],[1104,1],[1215,1],[1217,1],[1270,1],[1303,1],[1326,1],[1346,1],[1394,1],[1476,1],[1478,1],[1502,1],[1516,1],[1534,1],[1555,1],[1557,3],[1580,1],[1598,1],[1626,1],[1631,2],[1703,1],[1733,1],[1840,3],[1857,1],[1935,1],[1937,3],[1941,2],[2029,1],[2064,1],[2185,3],[2203,1],[2205,2],[2300,1],[2302,3],[2306,2],[2367,1],[2418,2],[2476,1],[2535,1],[2537,1],[2584,1],[2593,1],[2645,1],[2663,1],[2665,1]]},"886":{"position":[[386,1],[414,1],[416,3],[420,1],[464,1],[497,2],[517,1],[530,1],[532,1],[538,3],[555,2],[558,1],[572,1],[635,1],[687,1],[699,1],[731,1],[744,1],[759,1],[761,1],[763,3],[774,1],[822,1],[842,1],[844,2],[847,2],[923,1],[942,1],[1008,1],[1028,1],[1058,2],[1096,1],[1133,2],[1142,1],[1176,2],[1232,2],[1329,2],[1454,3],[1458,1],[1522,1],[1582,1],[1642,1],[1669,1],[1734,1],[1750,2],[1767,2],[1770,2],[1846,1],[1881,2],[1884,3],[1888,1],[1946,2],[1996,1],[2003,1],[2026,1],[2044,1],[2052,1],[2054,2],[2294,1],[2307,1],[2321,1],[2323,1],[2378,1],[2413,1],[2445,1],[2447,1],[2449,2],[2468,1],[2470,1],[2488,2],[2498,1],[2545,2],[2548,2],[2640,1],[2660,1],[2690,2],[2728,1],[2765,2],[2774,1],[2808,2],[2839,3],[2843,1],[2866,1],[2942,2],[2959,3],[2963,1],[2985,1],[3063,1],[3104,2],[3131,2],[3143,1],[3178,2],[3187,1],[3189,2],[3192,3],[3196,2],[3199,2],[3202,2],[3205,3],[3209,2],[3212,1],[3214,2],[3489,1],[3507,1],[3521,1],[3565,1],[3597,1],[3609,1],[3645,2],[3659,1],[3674,1],[3676,1],[3678,3],[3689,1],[3709,1],[3719,1],[3721,2],[3724,2],[3827,1],[3847,1],[3877,2],[3915,1],[3990,2],[4041,2],[4050,1],[4099,2],[4111,1],[4146,2],[4155,1],[4274,2],[4332,2],[4418,2],[4551,2],[4645,2],[4765,2],[4874,1],[4895,1],[4897,2],[4924,1],[4926,2]]},"887":{"position":[[293,1],[313,1],[348,3],[352,3],[356,4],[370,3],[374,3],[378,4],[389,3],[393,3],[397,4],[408,1],[463,1],[465,2],[521,2],[623,1],[631,3],[641,1],[658,1],[660,3],[676,2],[679,2],[682,2],[685,3],[689,2],[692,1],[694,2]]},"888":{"position":[[350,1],[352,1],[434,1],[454,1],[489,3],[493,3],[497,4],[511,3],[515,3],[519,4],[530,3],[534,3],[538,4],[549,1],[600,2],[664,2],[791,2],[892,1],[894,1],[896,3],[900,1],[971,1],[1018,2],[1032,1],[1056,1],[1099,3],[1105,1],[1125,1],[1127,1],[1198,1],[1200,2],[1203,1],[1205,2],[1208,2],[1211,3],[1215,2],[1218,1],[1220,2]]},"889":{"position":[[154,1],[222,1],[238,1],[240,1],[380,1],[390,2],[483,1],[503,1],[538,3],[542,3],[546,4],[560,3],[564,3],[568,4],[579,1],[630,1],[632,3],[636,1],[716,2],[751,2],[754,2],[763,3],[767,3],[771,4],[776,2],[779,3],[783,2],[786,1],[788,2]]},"890":{"position":[[356,5],[362,3],[803,1],[833,2],[836,3],[840,2],[867,2],[870,3],[874,2],[877,1],[879,2]]},"892":{"position":[[8,1],[27,1],[49,1],[72,1],[117,2],[169,1],[198,3],[202,5],[208,2],[254,1],[335,3],[339,2]]},"893":{"position":[[96,1],[127,1],[172,2],[220,1],[259,3],[263,1],[295,1],[338,1],[371,2],[436,3],[440,2]]},"898":{"position":[[943,1],[1207,2],[2155,2],[2172,1],[2191,1],[2226,1],[2253,1],[2313,1],[2390,3],[2428,1],[2438,1],[2506,1],[2520,1],[2553,2],[2567,1],[2584,2],[2597,1],[2614,2],[2622,1],[2639,1],[2641,2],[2694,1],[2696,1],[2698,3],[2981,1],[2996,1],[3050,1],[3116,2],[3238,1],[3258,1],[3320,1],[3464,1],[3481,2],[3536,1],[3538,2],[3606,1],[3608,2],[3676,2],[3685,2],[3694,1],[3696,2],[3754,2],[3865,2],[3868,2],[3877,1],[3893,2],[3896,2],[3947,2],[3978,2],[4006,3],[4010,2],[4397,1]]},"899":{"position":[[72,1],[148,1],[207,1],[274,1],[349,1],[439,1]]},"904":{"position":[[572,1],[591,1],[626,1],[653,1],[706,1],[787,3],[824,1],[834,1],[916,1],[922,1],[955,2],[965,1],[982,2],[991,1],[1025,2],[1037,1],[1075,1],[1077,2],[1114,1],[1116,1],[1118,3],[1122,2],[1261,3],[1312,1],[1362,1],[1803,1],[1828,1],[1830,2],[1901,2],[1969,2],[2034,2],[2110,2],[2191,2],[2274,3],[2278,1],[2351,1],[2431,1],[2507,1],[2530,2],[2592,2],[2625,2],[2681,2],[2792,2],[2837,2],[2933,2],[2983,2],[3084,3],[3094,3],[3104,2],[3107,1],[3109,2]]},"906":{"position":[[893,1],[926,1],[986,1],[1038,2],[1052,3]]},"907":{"position":[[279,1],[304,1],[306,2],[309,3],[313,2],[348,1],[363,1],[371,3],[381,2],[384,2],[387,3],[391,2],[394,1],[396,2]]},"910":{"position":[[225,1],[227,1],[229,2],[232,3],[236,2],[295,2],[298,2],[301,3],[305,2],[308,2],[393,1],[395,1],[461,2]]},"911":{"position":[[577,1],[589,1],[624,1],[649,1],[651,2],[654,3],[658,2],[829,3],[839,3],[849,2],[852,2],[855,3],[859,2],[862,1],[864,2]]},"915":{"position":[[76,1],[90,1],[112,1],[136,1]]},"916":{"position":[[140,1],[142,1],[184,1],[186,2],[189,1],[191,2],[194,1],[196,2],[199,1],[201,2],[217,1],[235,2],[306,1],[308,2],[330,1],[374,1],[393,1],[395,3]]},"917":{"position":[[88,1],[101,1],[133,1],[167,1],[184,2],[263,2],[322,2],[380,1],[382,2]]},"918":{"position":[[96,1],[193,3]]},"919":{"position":[[103,1]]},"920":{"position":[[75,1]]},"921":{"position":[[166,1],[168,3],[232,1],[246,2]]},"929":{"position":[[86,1]]},"930":{"position":[[91,1],[141,1],[171,2]]},"931":{"position":[[91,1],[151,1],[187,2]]},"932":{"position":[[85,1],[141,1],[177,2],[685,1],[724,1],[778,1],[802,1],[851,2],[948,1],[1022,3],[1035,1],[1125,3],[1129,2],[1192,1],[1194,1],[1236,1],[1238,2],[1241,1],[1243,2],[1246,1],[1248,2],[1251,1],[1253,2],[1269,1],[1294,2],[1364,1],[1366,2],[1369,2],[1372,3],[1440,2]]},"934":{"position":[[223,1],[259,2],[266,1],[291,1],[320,3],[324,2],[381,3],[385,2],[440,3],[444,2],[497,3],[501,2],[584,3],[588,2],[621,2],[688,2],[764,2],[816,2],[819,2],[875,1],[877,2],[880,3],[884,1],[886,3]]},"939":{"position":[[102,2],[148,1],[184,1],[203,1],[205,3],[227,1],[271,3]]},"941":{"position":[[171,2]]},"942":{"position":[[180,1],[239,3]]},"943":{"position":[[377,1],[447,3]]},"944":{"position":[[190,1],[256,2],[259,1],[292,4],[297,2],[305,1],[307,2],[345,2],[355,2],[358,2],[361,1]]},"945":{"position":[[131,1],[188,3],[192,2],[200,1],[202,2],[240,2],[250,2],[253,2],[256,1],[452,1],[516,2],[519,3],[523,2],[526,3]]},"946":{"position":[[152,1],[212,3]]},"947":{"position":[[164,1],[198,1],[230,2],[233,1],[265,1],[267,3],[271,3],[275,1],[277,1],[279,1],[315,1],[324,3],[328,1],[330,1],[332,2]]},"948":{"position":[[388,1],[390,1],[405,2],[434,2],[497,2],[684,2],[766,2]]},"949":{"position":[[77,2],[133,1],[193,2]]},"950":{"position":[[223,2],[289,1],[303,1],[349,2]]},"951":{"position":[[328,1],[330,1],[348,2],[351,3],[355,2],[358,2],[375,1],[434,2]]},"952":{"position":[[179,1],[193,1],[215,1],[236,1]]},"953":{"position":[[67,2]]},"954":{"position":[[166,2]]},"957":{"position":[[98,1]]},"958":{"position":[[755,1],[772,1]]},"960":{"position":[[140,1],[159,1],[194,1],[221,1],[274,1],[319,2],[370,2],[389,2],[413,2],[440,2],[490,2],[558,2],[621,2],[624,2],[666,3]]},"962":{"position":[[601,2],[665,1],[692,1],[745,1],[828,3],[832,2],[886,1],[908,1],[961,1],[1111,2],[1114,3]]},"966":{"position":[[529,1],[633,3],[647,1],[751,2],[818,3]]},"967":{"position":[[114,1],[218,3],[232,1],[336,2],[371,3],[375,2]]},"968":{"position":[[318,2],[380,1],[389,1],[447,1],[488,1],[499,1],[558,2],[561,3],[565,2],[568,3]]},"971":{"position":[[291,1],[305,1],[327,1],[348,1]]},"972":{"position":[[66,2]]},"975":{"position":[[317,1],[319,2],[424,3],[428,2],[479,2],[511,1],[513,2],[580,2],[647,3]]},"977":{"position":[[99,2],[546,1],[565,1]]},"978":{"position":[[94,1],[109,1],[133,1]]},"979":{"position":[[228,1],[276,1],[298,3],[344,1],[363,1],[365,3],[369,2]]},"982":{"position":[[240,1],[242,1]]},"983":{"position":[[836,1],[845,1],[847,1],[856,1],[858,1],[860,1],[876,1],[878,1],[880,1],[882,1],[909,1],[911,1],[913,1],[915,1],[917,1],[919,1],[921,1],[923,1],[925,1],[927,1],[929,1],[938,1],[954,1],[963,1],[965,1],[967,1],[994,1],[996,1],[998,1],[1000,1],[1002,1],[1004,1],[1006,1],[1008,1],[1022,1],[1024,1],[1026,1],[1028,1],[1059,1],[1061,1],[1063,1],[1072,1],[1074,1],[1083,1]]},"986":{"position":[[738,1],[740,1],[857,3],[861,1],[897,1],[951,1],[1001,2],[1039,3],[1043,1],[1087,1],[1125,2],[1156,1]]},"987":{"position":[[207,1],[209,1],[704,1],[706,1],[708,1],[710,1]]},"988":{"position":[[122,1],[146,1],[188,1],[202,1],[240,1],[300,3],[304,1],[347,1],[415,1],[485,1],[530,2],[611,3],[615,1],[672,1],[750,1],[814,1],[845,2],[860,3],[864,1],[923,1],[944,1],[1015,1],[1038,1],[1074,2],[1090,1],[1098,3],[1102,1],[1181,1],[1255,1],[1338,1],[1424,1],[1441,2],[1469,3],[1473,1],[1500,1],[1547,1],[1606,1],[1636,2],[1656,3],[1660,1],[1731,1],[1768,1],[1854,1],[1939,1],[1979,1],[1981,1],[2057,1],[2152,1],[2154,1],[2235,1],[2237,1],[2260,2],[2288,3],[2292,1],[2304,1],[2383,2],[2392,1],[2394,3],[2398,1],[2413,2],[2436,1],[2438,3],[2442,1],[2494,2],[2515,1],[2566,1],[2593,1],[2660,2],[2691,2],[2694,3],[2698,3],[2702,1],[2773,1],[2826,2],[2844,1],[2889,2],[2892,3],[2896,1],[2919,1],[2991,2],[3008,3],[3012,1],[3080,1],[3161,1],[3254,1],[3351,1],[3364,2],[3387,2],[3390,3],[3394,1],[3406,1],[3482,2],[3491,1],[3493,3],[3497,1],[3512,2],[3556,1],[3577,1],[3594,1],[3621,1],[3626,3],[3630,1],[3687,2],[3705,1],[3804,2],[3833,1],[3865,1],[3867,3],[3871,1],[3920,1],[3977,1],[4044,1],[4122,2],[4157,3],[4161,1],[4210,1],[4250,1],[4303,2],[4345,3],[4351,1],[4368,1],[4370,1],[4467,1],[4469,2],[4472,2],[4490,3],[4494,1],[4547,1],[4583,1],[4680,1],[4693,2],[4717,3],[4721,1],[4762,1],[4775,1],[4829,2],[4868,2],[4871,3],[4875,3],[4879,1],[4932,1],[5019,1],[5062,2],[5083,1],[5165,1],[5198,1],[5213,1],[5267,3],[5271,1],[5333,1],[5361,1],[5363,1],[5396,1],[5398,1],[5400,1],[5413,1],[5415,1],[5417,1],[5419,1],[5435,1],[5454,1],[5472,1],[5474,1],[5476,1],[5478,2],[5481,1],[5495,1],[5497,1],[5513,1],[5531,1],[5533,1],[5535,1],[5537,1],[5539,2],[5559,1],[5603,3],[5607,1],[5664,2],[5682,1],[5684,2],[5725,1],[5727,2],[5766,1],[5768,2],[5777,1],[5793,1],[5805,1],[5814,1],[5821,1],[5823,3],[5827,1],[5879,1],[5942,1],[6001,1],[6064,1],[6128,2],[6159,1],[6161,1],[6163,1]]},"990":{"position":[[1225,1],[1336,3],[1344,1],[1346,1],[1348,2],[1417,1],[1419,3]]},"993":{"position":[[85,2],[212,2],[329,2],[476,2],[613,2]]},"995":{"position":[[1442,2],[1550,1],[1572,2],[1650,1],[1739,1],[1758,2],[1761,2],[1764,2],[1767,2],[1855,1],[1862,1],[1867,1],[1872,1],[2002,1],[2004,2]]},"996":{"position":[[497,2],[587,1]]},"998":{"position":[[174,2]]},"1000":{"position":[[157,2]]},"1001":{"position":[[74,2]]},"1002":{"position":[[257,2],[406,1],[421,2],[537,1],[658,2],[661,3],[665,2],[674,1],[685,2],[688,3],[692,3],[735,1],[737,3],[931,2],[1006,1],[1074,2],[1191,1],[1312,2],[1315,3],[1319,2],[1328,1],[1339,2],[1342,3],[1346,3],[1390,1],[1392,3]]},"1003":{"position":[[383,1],[440,2],[443,3],[447,2],[450,3]]},"1007":{"position":[[1180,1],[1182,3],[1186,2],[1260,1],[1323,1],[1339,1],[1341,1],[1375,1],[1468,1],[1503,1],[1515,1],[1608,2],[1611,2],[1614,3],[1618,2],[1621,1],[1623,2],[1632,1],[1661,1],[1673,1],[1727,2],[1730,3],[1734,2],[1737,1],[1739,1],[1741,3],[1773,1],[1793,1],[1834,1],[1846,1],[1892,1],[1944,1],[1946,1],[1948,2],[1998,2],[2098,1],[2202,1],[2244,1],[2273,1],[2275,3],[2279,1]]},"1012":{"position":[[84,1],[98,1],[120,1],[147,1]]},"1013":{"position":[[229,2],[290,1],[395,2],[459,3],[501,1],[547,2],[613,1],[615,3]]},"1014":{"position":[[192,1],[236,2],[242,1],[244,2],[263,1],[265,2],[268,2],[333,1],[375,2],[381,1],[383,2],[402,1],[404,2]]},"1015":{"position":[[168,1],[212,2],[218,1],[220,2],[239,1],[241,2]]},"1016":{"position":[[127,1]]},"1017":{"position":[[110,1],[176,1],[207,2],[239,3]]},"1018":{"position":[[69,1],[110,2],[135,1],[158,2],[225,2],[284,1],[286,2],[289,2],[292,2],[295,3],[299,2],[473,1],[489,2],[512,1],[535,2],[558,1],[567,2],[613,2],[756,1],[758,1],[772,1],[789,1],[860,2],[866,1],[868,2],[887,1],[889,2],[892,2],[955,1]]},"1020":{"position":[[348,1],[482,1],[484,3],[488,1],[538,1],[568,2],[595,1],[676,3],[680,1],[682,1],[684,3]]},"1022":{"position":[[444,1],[585,1],[611,1],[613,2],[711,2],[747,1],[826,2],[870,3],[874,2],[877,1],[879,1],[881,1],[883,3],[1001,1]]},"1023":{"position":[[103,1],[241,1],[267,1],[269,2],[362,2],[398,1],[412,1],[431,3],[495,2],[531,3],[535,2],[538,1],[540,1],[542,1],[544,3],[665,1]]},"1024":{"position":[[197,1],[327,1],[353,1],[370,1],[411,1],[444,1],[539,3],[543,1],[545,1],[547,3]]},"1033":{"position":[[405,2],[430,2],[451,1],[491,1],[603,1],[619,1],[650,2],[663,2],[666,3],[670,2],[673,1],[675,3],[679,2],[700,1],[821,2],[830,1],[861,2],[864,1],[879,2],[882,3],[886,2],[889,1],[891,3]]},"1035":{"position":[[153,3]]},"1036":{"position":[[113,1],[149,2]]},"1038":{"position":[[139,1],[165,2],[185,2],[202,1]]},"1039":{"position":[[143,2],[245,1],[254,1],[265,3],[344,2],[371,2],[419,1],[428,1],[439,3]]},"1040":{"position":[[134,2],[183,1],[202,2],[249,1],[284,2],[385,1],[387,1],[400,2],[482,2]]},"1041":{"position":[[86,3],[90,1],[147,2],[157,1],[171,1],[193,1],[212,1],[305,1],[314,2],[336,2],[345,1],[367,2],[395,1],[397,3]]},"1042":{"position":[[126,1],[144,1],[158,1],[172,1],[190,1],[223,1],[296,2]]},"1043":{"position":[[114,2],[166,3],[200,2]]},"1044":{"position":[[267,2],[320,1],[329,2],[351,1],[353,3],[357,2],[416,1],[430,1],[444,1],[465,3],[469,2],[523,3],[527,2],[583,3]]},"1045":{"position":[[69,1],[135,1],[181,3],[201,1],[252,3],[268,2]]},"1046":{"position":[[96,2]]},"1048":{"position":[[408,2],[458,1],[508,1],[510,3],[514,2],[567,1],[578,1],[597,1],[618,3]]},"1049":{"position":[[94,1],[154,1],[188,2],[248,2]]},"1050":{"position":[[82,2],[151,2]]},"1051":{"position":[[169,1],[211,2],[214,1],[295,3],[299,2],[435,1],[481,2],[484,1],[588,1],[590,3],[594,2],[627,2]]},"1052":{"position":[[187,1],[232,1],[243,2]]},"1053":{"position":[[96,1]]},"1055":{"position":[[141,2],[188,1],[221,1],[228,1],[238,1],[240,1],[242,3]]},"1056":{"position":[[70,2],[96,1],[132,1],[148,1],[150,3],[155,2],[192,1],[228,3],[238,1],[253,1],[255,3],[260,2],[312,1]]},"1057":{"position":[[80,1],[117,1],[161,2],[327,2],[446,1],[485,2],[598,1]]},"1058":{"position":[[214,1],[252,1],[286,1],[314,1],[316,1],[335,3],[339,2],[364,2],[435,3],[439,5],[445,2],[459,2],[484,2],[539,2]]},"1059":{"position":[[59,2],[132,1],[151,1],[224,1],[256,1],[263,1],[273,1],[275,1],[277,3],[308,1],[317,2],[363,1],[365,3]]},"1060":{"position":[[92,1],[124,1],[131,1],[141,1],[143,1],[145,3],[177,2],[213,3]]},"1061":{"position":[[93,1],[125,1],[132,1],[142,1],[144,1],[146,3],[185,1],[199,1],[213,1],[218,2],[280,3]]},"1062":{"position":[[90,2],[149,1],[181,1],[188,1],[198,1],[200,1],[202,3],[206,2],[268,1]]},"1063":{"position":[[80,1],[82,1],[106,2],[139,1],[146,1],[156,1],[158,1],[200,2],[243,1],[250,1],[260,1],[262,1],[304,2]]},"1064":{"position":[[75,2],[114,1],[128,1],[150,1],[175,1],[249,2],[302,1],[358,1]]},"1065":{"position":[[178,2],[239,1],[247,1],[260,1],[262,1],[264,2],[321,2],[324,1],[371,1],[448,1],[560,1],[653,1],[748,1],[778,2],[811,1],[819,1],[839,1],[841,1],[843,2],[900,2],[944,2],[1065,1],[1072,1],[1074,1],[1082,1],[1095,1],[1097,2],[1100,1],[1108,1],[1125,1],[1127,2],[1130,1],[1132,2],[1189,2],[1221,2],[1309,1],[1317,1],[1350,1],[1352,1],[1354,2],[1411,2]]},"1066":{"position":[[346,1],[382,1],[389,1],[399,2],[410,1],[421,1],[423,2],[426,3],[430,1],[498,1],[531,1],[617,1],[714,2],[742,3]]},"1067":{"position":[[288,1],[321,1],[328,1],[338,1],[340,1],[342,2],[399,3],[403,2],[453,1],[475,2],[490,2],[543,1],[572,1],[574,1],[583,1],[585,1],[600,3],[1119,3],[1123,1],[1167,1],[1228,1],[1267,2],[1282,1],[1315,1],[1322,1],[1341,1],[1343,1],[1345,3],[1349,3],[1353,1],[1397,1],[1458,1],[1509,1],[1534,2],[1549,1],[1582,1],[1589,1],[1599,2],[1615,1],[1625,1],[1627,1],[1629,3],[1913,2],[1956,1],[1994,1],[2001,1],[2020,1],[2022,1],[2047,1],[2067,2],[2106,1],[2138,1],[2145,1],[2164,1],[2166,1],[2211,2],[2214,3],[2218,1],[2262,1],[2321,1],[2351,2],[2369,1],[2438,2],[2474,2],[2477,3],[2481,2],[2484,3]]},"1069":{"position":[[466,1],[509,2],[611,1],[661,2],[726,1],[768,1],[822,2]]},"1070":{"position":[[93,1]]},"1072":{"position":[[2348,1],[2350,1],[2396,2],[2410,2],[2462,1],[2494,1],[2511,1],[2529,1],[2531,1],[2533,3],[2640,1],[2672,1],[2680,1],[2718,1],[2720,2],[2746,1],[2748,3]]},"1074":{"position":[[676,1],[912,1],[932,1],[999,2],[1048,2],[1070,1],[1109,2],[1138,1],[1227,2],[1250,1],[1289,2],[1315,1],[1433,2],[1456,1],[1570,1],[1634,1],[1654,1],[1693,2],[1716,1],[1755,1],[1757,1],[1759,1],[1761,1],[1763,2],[1788,1],[1826,2],[1899,1],[1929,1],[1931,1]]},"1075":{"position":[[43,1],[66,1],[68,3],[109,2]]},"1078":{"position":[[123,1],[125,1],[149,2],[269,1],[271,2],[328,2],[391,1],[417,2],[420,2],[487,3],[491,2],[522,1],[528,1],[561,2],[610,2],[624,1],[641,2],[654,1],[671,1],[673,2],[686,1],[718,1],[720,2],[819,2],[885,2],[977,3],[981,2],[1019,1],[1104,3],[1127,1]]},"1080":{"position":[[25,1],[27,1],[145,1],[151,1],[184,2],[233,2],[247,1],[280,2],[355,2],[368,1],[385,2],[396,1],[414,2],[429,1],[446,2],[458,1],[476,2],[612,2],[628,1],[652,1],[682,1],[689,1],[706,1],[708,1],[710,1],[712,1],[714,2],[727,1],[744,2],[813,2],[825,1],[840,2],[932,2],[1005,1],[1007,2]]},"1082":{"position":[[168,1],[170,1],[230,1],[236,1],[269,2],[318,2],[332,1],[349,2],[362,1],[379,2],[387,1],[418,2],[448,1],[450,2],[470,2]]},"1083":{"position":[[368,1],[370,1],[430,1],[436,1],[469,2],[518,2],[532,1],[549,2],[562,1],[579,2],[587,1],[618,1],[620,2],[640,2]]},"1084":{"position":[[669,1],[1541,1]]},"1085":{"position":[[388,1],[470,1],[1213,1],[1341,1],[1359,1],[1426,2],[1456,1],[1495,2],[1531,2],[1563,1],[1565,2],[1607,1],[3792,1]]},"1090":{"position":[[452,1],[473,1],[518,1],[542,1],[584,1],[613,1],[675,1],[702,1],[774,1],[942,2],[945,2],[948,3],[988,3],[992,5],[1013,1],[1071,3]]},"1097":{"position":[[338,1],[355,1],[392,3],[396,1],[468,1],[531,1],[601,2],[611,1],[636,1],[697,1],[789,3],[793,2],[827,2]]},"1098":{"position":[[30,2],[178,1],[195,1],[239,1],[264,1],[333,1],[425,3]]},"1099":{"position":[[30,2],[160,1],[177,1],[221,1],[242,1],[307,1],[395,3]]},"1100":{"position":[[648,1],[734,3],[770,2]]},"1101":{"position":[[427,2],[460,1],[546,3],[609,2],[650,1],[801,3],[811,2],[814,3]]},"1102":{"position":[[334,1],[419,3],[424,2],[471,1],[508,1],[527,1],[539,1],[566,1],[633,2],[669,2],[672,2],[675,3],[694,1],[818,2],[856,1],[875,1],[930,1],[972,1],[992,3],[1004,5],[1025,1],[1058,2],[1061,3]]},"1103":{"position":[[148,1],[193,1],[278,3],[297,1],[417,3]]},"1104":{"position":[[355,1],[363,3]]},"1105":{"position":[[635,1],[659,1],[661,1],[689,2],[706,1],[723,1],[847,3]]},"1106":{"position":[[572,1],[604,1],[620,1],[627,1],[642,1],[644,1],[661,1],[789,3]]},"1107":{"position":[[538,1],[666,1],[684,1],[751,2],[772,1],[839,1],[841,2],[873,1],[910,1],[912,1]]},"1108":{"position":[[391,1],[469,2],[563,3]]},"1109":{"position":[[189,1],[262,3],[358,1],[360,1]]},"1114":{"position":[[439,1],[471,1],[493,1],[520,1],[564,2],[611,1],[629,1],[703,1],[785,3],[789,2],[830,1],[859,2],[931,1]]},"1115":{"position":[[282,2],[354,2],[418,1],[424,2]]},"1116":{"position":[[310,2],[343,1],[360,2],[393,1],[429,1],[448,2],[481,1],[528,1],[558,2],[597,1],[648,1]]},"1117":{"position":[[326,1],[370,1],[390,2],[471,1],[473,2],[490,3]]},"1118":{"position":[[347,1],[387,1],[422,1],[433,1],[537,1],[539,1],[575,1],[598,1],[613,3],[617,1],[619,2],[637,1],[745,3],[763,1],[807,1],[850,1]]},"1119":{"position":[[366,1],[380,1],[402,1],[422,1]]},"1121":{"position":[[336,1],[386,1],[443,1],[525,3],[543,1],[594,1],[619,1],[757,3],[767,2],[770,1],[772,2]]},"1125":{"position":[[160,1],[179,1],[201,1],[222,1],[279,1],[355,3],[359,1],[410,1],[440,2],[471,3],[475,1],[554,1],[578,2],[605,3],[609,1],[651,1],[712,1],[737,2],[758,2],[761,3]]},"1126":{"position":[[325,2],[359,1],[441,3],[445,1],[506,1],[548,1],[607,2],[630,3],[634,2],[672,1],[762,3],[766,1],[826,1],[890,1],[906,2],[930,3]]},"1129":{"position":[[32,2]]},"1130":{"position":[[8,1],[27,1],[49,1],[78,1],[152,1],[290,3],[294,1],[340,1],[378,2],[397,2],[400,3],[404,2],[407,3],[411,2]]},"1134":{"position":[[8,1],[27,1],[49,1],[76,1],[129,1],[211,3],[215,1],[266,1],[338,1],[380,1],[410,2],[430,3],[434,1],[475,1],[488,1],[549,2],[589,3],[593,1],[648,1],[706,1],[739,1],[752,1],[767,2],[784,2],[787,3]]},"1138":{"position":[[66,2],[150,1],[169,1],[191,1],[215,1],[273,1],[352,3],[356,1],[417,1],[475,1],[499,1],[585,1],[601,2],[619,2],[622,3]]},"1139":{"position":[[248,1],[267,1],[289,1],[313,1],[423,1],[474,1],[528,1],[662,2],[665,3]]},"1140":{"position":[[464,1],[483,1],[505,1],[529,1],[587,1],[697,1],[721,1],[766,1],[768,1],[826,2],[841,2],[844,3]]},"1141":{"position":[[32,2]]},"1143":{"position":[[124,2]]},"1144":{"position":[[36,1],[55,1],[90,1],[110,1],[177,1],[252,3]]},"1145":{"position":[[240,1],[259,1],[294,1],[314,1],[412,1],[463,1],[517,1],[647,2],[650,3]]},"1146":{"position":[[222,1],[305,1],[307,2],[332,2],[335,1],[337,2],[340,3]]},"1148":{"position":[[526,1],[545,1],[580,1],[600,1],[751,1],[795,2],[798,1],[851,1],[881,2],[933,1],[1058,2],[1070,3],[1074,1],[1076,3],[1116,1],[1165,3]]},"1149":{"position":[[670,1],[689,1],[739,1],[759,1],[803,1],[822,1],[909,1],[979,3],[1037,1],[1047,1],[1107,1],[1113,1],[1146,2],[1155,1],[1172,2],[1180,1],[1197,1],[1199,2],[1227,1],[1229,1],[1231,3],[1303,1],[1396,2],[1468,3]]},"1150":{"position":[[466,1],[468,5],[474,2],[477,3]]},"1151":{"position":[[240,2],[877,1],[894,1]]},"1154":{"position":[[205,1],[245,1],[319,1],[343,1],[392,3],[396,1],[452,2],[480,1],[522,3],[526,1],[565,1],[623,2],[659,3],[663,3],[667,1],[719,2],[737,1],[812,3]]},"1158":{"position":[[30,1],[49,1],[84,1],[111,1],[185,1],[267,3],[324,1],[334,1],[417,1],[423,1],[440,2],[450,1],[467,2],[476,1],[494,1],[496,2],[533,1],[535,1],[537,3],[632,3],[674,1],[708,1],[716,1],[729,1],[731,1]]},"1159":{"position":[[216,1],[235,1],[270,1],[318,1],[371,1],[489,2],[492,3]]},"1162":{"position":[[906,3]]},"1163":{"position":[[9,1],[33,1],[89,1],[116,1],[169,3],[173,1],[235,1],[275,2],[298,1],[325,2],[398,1],[450,3],[454,2],[531,1],[586,3],[590,3],[594,3],[598,3]]},"1164":{"position":[[82,1],[103,1],[132,1],[185,3],[189,1],[217,1],[253,1],[268,1],[270,1],[283,2],[301,3],[305,1],[394,1],[478,1],[550,1],[638,1],[729,1],[778,1],[780,1],[793,2],[823,3],[827,1],[896,1],[956,1],[1028,1],[1082,1],[1098,2],[1130,3],[1134,1],[1204,1],[1250,1],[1252,1],[1323,1],[1403,1],[1483,1],[1485,1],[1498,2],[1520,2],[1551,3]]},"1165":{"position":[[308,1],[361,1],[440,3],[463,1],[475,3],[479,1],[537,1],[581,1],[653,1],[697,2],[721,1],[791,3],[834,3],[838,4],[908,2],[911,3],[915,2],[918,3],[922,3],[926,1],[998,1],[1035,2],[1059,1],[1135,3],[1178,3],[1182,4]]},"1168":{"position":[[24,1],[43,1],[65,1],[86,1],[133,1],[209,3]]},"1172":{"position":[[8,1],[27,1],[49,1],[68,1],[106,2],[234,1],[298,1],[420,2],[423,1],[491,1],[551,2],[554,2],[557,3]]},"1176":{"position":[[310,2],[339,1],[341,2],[344,3],[348,2],[360,1],[372,1],[384,1],[386,1],[388,2],[391,3],[395,2],[398,1],[400,2],[471,2],[540,1],[542,2],[545,3],[549,2],[573,1],[597,1],[599,2],[602,3],[606,2],[609,1]]},"1177":{"position":[[250,1],[301,1],[435,3],[490,1],[518,1],[520,3],[524,2]]},"1178":{"position":[[239,2],[874,1],[891,1]]},"1181":{"position":[[858,3]]},"1182":{"position":[[9,1],[33,1],[89,1],[116,1],[169,3],[173,1],[235,1],[275,2],[298,1],[325,2],[402,1],[454,3],[458,2],[535,1],[590,3],[594,3],[598,3],[602,3]]},"1184":{"position":[[375,1],[399,1],[455,1],[482,1],[542,1],[581,1],[648,1],[758,2],[761,3],[774,1],[829,3],[833,3],[837,3],[841,3]]},"1185":{"position":[[308,1],[399,3]]},"1186":{"position":[[266,1],[350,3]]},"1189":{"position":[[275,1],[294,1],[316,1],[338,1],[396,1],[473,3],[477,1],[505,1],[578,2],[653,2],[656,3]]},"1201":{"position":[[8,1],[27,1],[49,1],[85,1],[173,1],[254,1],[256,3],[260,1],[293,1],[346,2],[349,1],[351,1],[353,3]]},"1202":{"position":[[393,1],[427,1],[429,1],[436,1],[455,2],[458,2]]},"1204":{"position":[[235,1],[262,1],[305,1]]},"1208":{"position":[[636,2],[713,1],[755,2],[802,1],[847,1],[863,3],[867,2],[926,1],[978,1],[994,3],[998,2],[1069,1],[1114,2],[1163,1],[1226,1],[1261,2],[1321,1],[1365,1],[1397,1],[1405,3],[1431,1],[1471,2],[1536,1],[1601,1],[1616,3],[1620,2],[1683,2],[1731,1],[1763,2],[1819,2]]},"1210":{"position":[[184,3],[248,2],[290,1],[309,1],[331,1],[352,1],[413,1],[489,1],[491,3],[495,1],[551,1],[606,1],[634,2],[706,1],[708,1],[710,3]]},"1211":{"position":[[539,1],[558,1],[580,1],[609,1],[668,1],[753,3]]},"1212":{"position":[[263,2],[302,1],[321,1],[372,1],[396,1],[456,1],[510,3]]},"1213":{"position":[[560,2],[599,1],[618,1],[676,1],[726,3]]},"1218":{"position":[[268,2],[292,1],[313,1],[365,1],[449,2],[512,1],[514,2],[540,1],[542,2],[545,3],[560,1],[595,3],[599,2],[623,1],[650,1],[701,1],[725,1],[861,2],[883,1],[885,3]]},"1219":{"position":[[250,2],[270,1],[291,1],[336,1],[374,1],[422,2],[508,1],[589,3],[593,2],[671,1],[759,3],[764,2],[784,1],[814,1],[873,1],[968,2],[971,3]]},"1220":{"position":[[187,1],[302,2],[363,1],[376,2],[379,1],[381,3],[470,1],[531,3],[548,1],[591,3],[616,2],[624,1],[637,1]]},"1222":{"position":[[8,1],[31,1],[86,1],[113,1],[157,3],[161,1],[226,2],[252,1],[277,3],[281,1],[323,1],[381,2],[420,3],[424,3],[428,1],[471,1],[527,2],[545,1],[547,1],[549,2],[552,3],[556,2],[569,1],[571,3],[575,1],[618,1],[705,1],[753,1],[796,1],[798,1],[894,1],[932,2],[947,3],[951,1],[968,1],[1021,1],[1108,1],[1211,1],[1274,2],[1296,1],[1298,2],[1301,3],[1305,2],[1308,1],[1310,3],[1314,1],[1366,2],[1384,1],[1457,3]]},"1225":{"position":[[108,2],[135,1],[159,1],[212,1],[236,1],[301,3],[305,1],[366,1],[383,1],[422,2],[458,3]]},"1226":{"position":[[8,1],[27,1],[49,1],[76,1],[129,1],[153,1],[209,1],[291,1],[293,3],[297,1],[348,1],[395,1],[472,1],[474,1],[561,2],[605,3],[609,1],[630,1],[648,2],[666,1],[704,1],[706,1],[708,1],[710,3]]},"1227":{"position":[[312,2],[558,1],[577,1],[599,1],[626,1],[687,1],[769,1],[771,3],[775,1],[851,1],[886,2],[932,1],[934,1],[936,3]]},"1231":{"position":[[421,2],[448,1],[472,1],[525,1],[549,1],[605,1],[637,1],[659,1],[690,1],[794,1],[821,2],[911,3],[915,3],[919,1],[971,1],[1000,2],[1018,1],[1086,3],[1124,3],[1128,3],[1132,3],[1136,3],[1163,1],[1191,3],[1195,5]]},"1235":{"position":[[184,2],[319,2],[430,2]]},"1237":{"position":[[504,1],[532,1],[575,1],[606,1],[652,1],[690,1],[741,1],[765,1],[831,1],[1015,2],[1018,2],[1021,2],[1024,3]]},"1238":{"position":[[450,1],[473,1],[528,1],[549,1],[602,1],[626,1],[682,1],[722,1],[806,1],[1011,2],[1014,2],[1017,2],[1020,3]]},"1239":{"position":[[483,1],[523,1],[597,1],[624,1],[684,1],[713,1],[776,1],[926,2],[929,2],[932,3]]},"1246":{"position":[[1,2],[339,2],[956,2],[1218,2],[1592,2]]},"1247":{"position":[[1,2]]},"1249":{"position":[[450,2],[479,1],[481,1],[493,1],[500,1],[510,2],[529,2],[538,2],[552,2],[555,2]]},"1252":{"position":[[309,1],[404,1],[406,1],[414,1],[449,1],[451,2]]},"1263":{"position":[[1,2],[21,1],[45,1],[98,1],[122,1],[195,3],[199,1],[260,1],[277,1],[316,2],[352,3]]},"1264":{"position":[[8,1],[27,1],[49,1],[70,1],[131,1],[207,1],[209,3],[213,1],[264,1],[305,1],[375,1],[377,1],[448,2],[485,3],[489,1],[510,1],[528,2],[546,1],[584,1],[586,1],[588,1],[590,3]]},"1265":{"position":[[305,2],[552,1],[571,1],[593,1],[614,1],[675,1],[751,1],[753,3],[757,1],[825,1],[860,2],[899,1],[901,1],[903,3]]},"1266":{"position":[[144,2],[176,1],[214,1],[272,1],[299,8],[308,2],[367,2],[388,1],[457,1],[478,2],[508,1],[510,1],[540,1],[570,1],[595,2],[606,1],[696,2],[699,2],[730,1],[739,1],[741,1],[792,1],[839,1],[841,1],[843,2],[846,2],[858,1],[911,2],[928,1],[1020,1],[1030,1],[1049,2],[1052,2],[1079,4],[1084,1],[1086,2]]},"1267":{"position":[[425,2],[487,1],[543,3],[547,2],[609,1],[681,3],[703,1],[775,3]]},"1268":{"position":[[158,2],[199,2],[432,1],[468,2],[537,3],[576,1],[600,1],[653,1],[677,1],[783,3]]},"1271":{"position":[[562,2],[793,2],[1079,2],[1082,2],[1124,1],[1177,1],[1215,2],[1287,2],[1368,1],[1383,1],[1419,1],[1501,3],[1505,2],[1562,1],[1625,3]]},"1274":{"position":[[8,1],[27,1],[49,1],[91,1],[137,3],[141,1],[182,1],[214,1],[260,2],[313,1],[389,3],[393,1],[451,1],[500,1],[546,1],[610,1],[631,2],[677,2],[680,3]]},"1275":{"position":[[126,1],[145,1],[167,1],[215,1],[268,1],[283,1],[324,1],[454,2],[457,3]]},"1276":{"position":[[398,1],[417,1],[439,1],[481,1],[527,3],[531,1],[576,1],[644,1],[670,1],[718,2],[839,1],[881,1],[926,1],[1045,2],[1048,3]]},"1277":{"position":[[149,1],[168,1],[190,1],[239,1],[292,1],[299,1],[335,2],[373,1],[441,2],[586,2],[589,3],[724,1],[768,1],[872,1],[952,3]]},"1278":{"position":[[252,1],[271,1],[293,1],[346,1],[399,1],[450,1],[619,2],[622,3],[704,1],[723,1],[745,1],[793,1],[846,1],[861,1],[902,1],[1054,2],[1057,3]]},"1279":{"position":[[96,1],[119,1],[150,1],[223,1],[225,1],[227,1],[317,1],[336,1],[358,1],[405,1],[451,3],[455,1],[498,2],[508,1],[544,1],[589,1],[601,1],[640,1],[700,1],[776,3],[780,1],[838,1],[887,1],[933,1],[997,1],[1018,2],[1079,2],[1082,3]]},"1280":{"position":[[248,1],[267,1],[289,1],[332,1],[435,1],[555,2],[558,3]]},"1281":{"position":[[114,1],[138,1],[300,2]]},"1282":{"position":[[765,1],[847,2],[899,3],[1136,1],[1238,3]]},"1286":{"position":[[198,1],[226,1],[269,1],[296,1],[340,2],[403,1],[469,3],[482,1],[546,3]]},"1287":{"position":[[235,1],[267,1],[315,1],[342,1],[386,2],[449,1],[519,3],[532,1],[596,3]]},"1288":{"position":[[181,1],[219,1],[275,1],[302,1],[346,2],[409,1],[485,3],[498,1],[562,3]]},"1290":{"position":[[8,1],[17,1],[63,1],[98,1],[150,2],[185,1],[194,3]]},"1291":{"position":[[8,1],[23,1],[122,1],[148,2],[183,1],[192,3]]},"1292":{"position":[[864,1]]},"1294":{"position":[[574,1],[588,1],[590,2],[778,1],[795,1],[797,3],[826,1],[903,1],[944,1],[994,1],[1003,3],[1007,1],[1064,1],[1102,2],[1117,3],[1128,1],[1165,1],[1179,1],[1200,3],[1204,1],[1252,1],[1303,2],[1306,1],[1316,1],[1330,1],[1351,1],[1364,1],[1377,2],[1380,1],[1389,1],[1430,2],[1445,2],[1472,1],[1532,1],[1582,1],[1592,1],[1626,1],[1653,1],[1700,3],[1707,1],[1714,1],[1722,1],[1729,1],[1738,1],[1766,1],[1775,2],[1778,3],[1782,1]]},"1296":{"position":[[742,2],[814,1],[820,2],[886,1],[900,1],[935,1],[937,3],[961,2],[964,3],[969,2],[1034,1],[1048,1],[1050,2],[1053,2],[1125,1],[1146,1],[1148,2],[1315,2],[1356,1],[1382,4],[1421,2],[1424,2],[1465,1],[1486,2],[1531,1],[1558,1],[1560,3],[1586,2]]},"1298":{"position":[[216,2],[316,1],[339,1]]},"1309":{"position":[[227,1],[443,1],[455,1],[550,1],[552,1],[568,1],[570,3],[574,1],[632,1],[675,1],[710,1],[733,1],[818,1],[880,1],[906,2],[933,2],[947,1],[949,3],[953,1],[996,1],[1052,1],[1054,1],[1124,1],[1183,2],[1212,1],[1214,2],[1386,1],[1422,2],[1429,1],[1454,1],[1515,1],[1517,3]]},"1311":{"position":[[60,3],[64,1],[98,2],[130,1],[236,3],[290,1],[292,1],[445,1],[459,1],[476,2],[490,1],[507,2],[520,1],[537,2],[545,1],[563,1],[565,2],[618,2],[658,1],[660,1],[713,1],[737,1],[739,1],[750,1],[752,1],[774,1],[776,2],[830,1],[832,1],[890,1],[906,1],[957,1],[959,2],[1004,1],[1082,1],[1084,3],[1088,2],[1192,2],[1254,2],[1290,2],[1304,1],[1306,1],[1331,1],[1333,1],[1345,1],[1347,1],[1361,1],[1363,1],[1381,2],[1390,2],[1403,2],[1406,3],[1410,1],[1429,2],[1432,2],[1478,1],[1580,3],[1584,2],[1634,2],[1675,2],[1743,1],[1811,3],[1815,1],[1826,2]]},"1314":{"position":[[664,1],[689,1]]},"1315":{"position":[[386,1],[414,1],[463,1],[567,1],[657,1]]},"1316":{"position":[[821,1],[903,1],[952,1]]},"1321":{"position":[[267,2]]},"1324":{"position":[[111,1],[659,1]]}},"keywords":{}}],["0",{"_index":758,"title":{},"content":{"50":{"position":[[467,1]]},"51":{"position":[[307,2]]},"143":{"position":[[528,2],[713,2]]},"188":{"position":[[1229,2]]},"209":{"position":[[434,2]]},"211":{"position":[[396,2]]},"255":{"position":[[778,2]]},"259":{"position":[[78,2]]},"314":{"position":[[744,2]]},"315":{"position":[[720,2]]},"316":{"position":[[185,2]]},"334":{"position":[[630,2]]},"367":{"position":[[722,2]]},"392":{"position":[[580,2],[1546,2],[4003,2],[4019,2],[4180,2]]},"397":{"position":[[559,2]]},"398":{"position":[[2112,2]]},"480":{"position":[[544,2]]},"482":{"position":[[844,2]]},"502":{"position":[[971,1]]},"518":{"position":[[438,1]]},"538":{"position":[[608,2]]},"554":{"position":[[1335,2]]},"562":{"position":[[316,2]]},"564":{"position":[[773,2]]},"571":{"position":[[912,1]]},"579":{"position":[[638,2]]},"580":{"position":[[539,1]]},"598":{"position":[[615,2]]},"632":{"position":[[1528,2]]},"638":{"position":[[612,2]]},"639":{"position":[[368,2]]},"662":{"position":[[2391,2]]},"680":{"position":[[820,2],[960,1],[1275,4]]},"717":{"position":[[1429,2]]},"720":{"position":[[146,2]]},"734":{"position":[[694,2]]},"751":{"position":[[122,2],[599,1],[1701,1]]},"752":{"position":[[1245,2],[1283,1],[1299,2]]},"808":{"position":[[185,2],[541,2]]},"812":{"position":[[84,2]]},"813":{"position":[[84,2]]},"838":{"position":[[2605,2]]},"862":{"position":[[660,2]]},"863":{"position":[[63,1]]},"872":{"position":[[1869,2],[4099,2]]},"875":{"position":[[2659,1],[3252,2],[4400,2],[5494,3]]},"885":{"position":[[1628,2],[1932,2]]},"886":{"position":[[553,1]]},"888":{"position":[[1103,1]]},"898":{"position":[[2449,2]]},"904":{"position":[[867,2]]},"916":{"position":[[153,2]]},"932":{"position":[[1205,2]]},"988":{"position":[[3623,2],[4349,1]]},"995":{"position":[[1558,1]]},"1074":{"position":[[355,1],[743,2],[1199,2]]},"1076":{"position":[[46,2],[82,2]]},"1078":{"position":[[208,2]]},"1080":{"position":[[38,2],[575,2]]},"1082":{"position":[[181,2]]},"1083":{"position":[[381,2]]},"1085":{"position":[[1236,2]]},"1107":{"position":[[561,2]]},"1115":{"position":[[350,3]]},"1149":{"position":[[1058,2]]},"1158":{"position":[[368,2]]},"1208":{"position":[[1403,1]]},"1294":{"position":[[1704,2]]},"1311":{"position":[[366,2]]},"1316":{"position":[[954,1],[1124,1]]}},"keywords":{}}],["0.00000001",{"_index":6434,"title":{},"content":{"1294":{"position":[[1391,11]]}},"keywords":{}}],["0.003",{"_index":2418,"title":{},"content":{"398":{"position":[[2042,6]]},"402":{"position":[[1191,6]]}},"keywords":{}}],["0.0052",{"_index":3060,"title":{},"content":{"465":{"position":[[169,6],[374,6]]}},"keywords":{}}],["0.01",{"_index":5839,"title":{},"content":{"1080":{"position":[[607,4]]}},"keywords":{}}],["0.017",{"_index":3047,"title":{},"content":{"464":{"position":[[308,5],[513,5]]}},"keywords":{}}],["0.058",{"_index":3046,"title":{},"content":{"464":{"position":[[289,5]]}},"keywords":{}}],["0.1",{"_index":3061,"title":{},"content":{"465":{"position":[[186,3]]}},"keywords":{}}],["0.12",{"_index":2188,"title":{},"content":{"390":{"position":[[565,5]]},"402":{"position":[[290,5],[331,6]]}},"keywords":{}}],["0.132",{"_index":3059,"title":{},"content":{"465":{"position":[[150,5]]}},"keywords":{}}],["0.17",{"_index":3048,"title":{},"content":{"464":{"position":[[324,4],[392,4]]}},"keywords":{}}],["0.2",{"_index":1414,"title":{},"content":{"228":{"position":[[451,3]]}},"keywords":{}}],["0.34",{"_index":2189,"title":{},"content":{"390":{"position":[[572,5]]},"402":{"position":[[297,5]]}},"keywords":{}}],["0.39",{"_index":3078,"title":{},"content":{"467":{"position":[[106,4]]}},"keywords":{}}],["0.45",{"_index":3064,"title":{},"content":{"465":{"position":[[253,4]]}},"keywords":{}}],["0.56",{"_index":2187,"title":{},"content":{"390":{"position":[[558,6]]},"402":{"position":[[283,6],[324,6]]}},"keywords":{}}],["0.78",{"_index":2481,"title":{},"content":{"402":{"position":[[303,5]]}},"keywords":{}}],["0.8",{"_index":1412,"title":{},"content":{"228":{"position":[[419,3]]},"1292":{"position":[[705,3]]}},"keywords":{}}],["0.9",{"_index":6413,"title":{},"content":{"1292":{"position":[[740,3]]}},"keywords":{}}],["0.90",{"_index":2190,"title":{},"content":{"390":{"position":[[579,6]]},"402":{"position":[[310,5]]}},"keywords":{}}],["0000",{"_index":6555,"title":{},"content":{"1316":{"position":[[2268,4]]}},"keywords":{}}],["01",{"_index":6101,"title":{},"content":{"1158":{"position":[[596,4]]}},"keywords":{}}],["02",{"_index":2984,"title":{},"content":{"457":{"position":[[330,2]]},"751":{"position":[[1869,2]]},"1282":{"position":[[405,2]]}},"keywords":{}}],["04t15:29.40.273z",{"_index":6554,"title":{},"content":{"1316":{"position":[[2251,16]]}},"keywords":{}}],["0:42",{"_index":1789,"title":{},"content":{"301":{"position":[[533,4]]}},"keywords":{}}],["0the",{"_index":5803,"title":{},"content":{"1074":{"position":[[118,4]]}},"keywords":{}}],["1",{"_index":1300,"title":{"201":{"position":[[0,2]]},"248":{"position":[[0,2]]},"309":{"position":[[0,2]]},"474":{"position":[[0,2]]},"553":{"position":[[0,2]]},"559":{"position":[[5,2]]}},"content":{"299":{"position":[[598,2],[898,1]]},"303":{"position":[[715,1],[939,1]]},"361":{"position":[[712,1],[936,1]]},"402":{"position":[[1958,1]]},"403":{"position":[[510,2],[549,1],[805,2]]},"439":{"position":[[715,2],[815,2]]},"464":{"position":[[1214,1]]},"562":{"position":[[580,4]]},"571":{"position":[[1604,1]]},"599":{"position":[[113,4]]},"662":{"position":[[1599,1]]},"678":{"position":[[287,2],[306,1]]},"680":{"position":[[1397,1]]},"681":{"position":[[818,1]]},"683":{"position":[[212,1],[333,1],[927,1],[1004,2],[1023,1]]},"717":{"position":[[506,1]]},"724":{"position":[[130,2]]},"734":{"position":[[70,1]]},"749":{"position":[[4436,3],[4450,4],[4472,2],[4482,1]]},"751":{"position":[[556,1],[612,1],[614,2],[857,2],[1010,1],[1658,1],[1714,1],[1716,2]]},"752":{"position":[[522,2]]},"754":{"position":[[259,2]]},"825":{"position":[[83,1]]},"829":{"position":[[1,1]]},"838":{"position":[[1916,1]]},"849":{"position":[[914,3]]},"854":{"position":[[1,1]]},"861":{"position":[[224,1],[294,1]]},"862":{"position":[[118,1]]},"866":{"position":[[1,1]]},"872":{"position":[[1,1]]},"875":{"position":[[1,1],[2552,2],[2559,3]]},"885":{"position":[[1776,2],[1821,2],[1886,2],[1917,2],[2511,3]]},"898":{"position":[[1,1]]},"904":{"position":[[338,1],[1186,3]]},"1041":{"position":[[312,1],[334,1]]},"1042":{"position":[[174,2]]},"1044":{"position":[[327,1],[349,1],[446,2]]},"1048":{"position":[[580,2]]},"1051":{"position":[[603,2]]},"1059":{"position":[[315,1],[361,1]]},"1061":{"position":[[215,2],[262,1]]},"1115":{"position":[[420,3]]},"1144":{"position":[[1,1]]},"1148":{"position":[[425,1]]},"1149":{"position":[[610,1]]},"1158":{"position":[[1,1]]},"1177":{"position":[[445,2]]},"1189":{"position":[[1,1]]},"1282":{"position":[[551,1]]},"1305":{"position":[[549,1],[628,1]]},"1316":{"position":[[1129,2]]}},"keywords":{}}],["1.15",{"_index":6410,"title":{},"content":{"1292":{"position":[[697,4]]}},"keywords":{}}],["1.28",{"_index":3062,"title":{},"content":{"465":{"position":[[207,4]]}},"keywords":{}}],["1.41",{"_index":3063,"title":{},"content":{"465":{"position":[[227,4]]}},"keywords":{}}],["1.46",{"_index":3049,"title":{},"content":{"464":{"position":[[346,4]]}},"keywords":{}}],["1.5",{"_index":3055,"title":{},"content":{"464":{"position":[[767,3]]}},"keywords":{}}],["1.54",{"_index":3050,"title":{},"content":{"464":{"position":[[366,4]]}},"keywords":{}}],["1.6",{"_index":2833,"title":{},"content":{"420":{"position":[[376,3]]}},"keywords":{}}],["10",{"_index":1526,"title":{},"content":{"244":{"position":[[1527,2]]},"335":{"position":[[718,4]]},"392":{"position":[[2526,2],[2745,3],[3060,2]]},"397":{"position":[[230,2],[515,2]]},"398":{"position":[[1733,4],[2886,4]]},"402":{"position":[[737,2]]},"408":{"position":[[1108,4]]},"427":{"position":[[857,2]]},"435":{"position":[[272,2]]},"454":{"position":[[454,3]]},"459":{"position":[[563,2]]},"461":{"position":[[721,2],[833,2]]},"464":{"position":[[569,2]]},"696":{"position":[[1975,3]]},"724":{"position":[[1853,2]]},"736":{"position":[[254,2]]},"739":{"position":[[753,4]]},"752":{"position":[[785,2]]},"820":{"position":[[585,2],[637,2]]},"862":{"position":[[1400,3],[1426,2]]},"886":{"position":[[4891,3]]},"988":{"position":[[4486,3]]},"996":{"position":[[520,2],[584,2]]},"1045":{"position":[[178,2]]},"1067":{"position":[[1622,2]]},"1208":{"position":[[1640,2]]},"1222":{"position":[[755,2],[943,3]]},"1249":{"position":[[507,2]]},"1295":{"position":[[920,2]]},"1296":{"position":[[1696,4]]},"1316":{"position":[[2248,2]]},"1318":{"position":[[420,2]]}},"keywords":{}}],["10)).toarray",{"_index":4998,"title":{},"content":{"875":{"position":[[2600,15]]}},"keywords":{}}],["10.0.0",{"_index":406,"title":{},"content":{"24":{"position":[[609,6]]},"793":{"position":[[1458,6]]},"1198":{"position":[[1156,6]]}},"keywords":{}}],["100",{"_index":775,"title":{},"content":{"51":{"position":[[436,3]]},"188":{"position":[[1313,3],[1355,3]]},"209":{"position":[[518,3]]},"211":{"position":[[480,3]]},"255":{"position":[[862,3]]},"259":{"position":[[162,3]]},"299":{"position":[[320,3]]},"367":{"position":[[857,3],[948,3]]},"397":{"position":[[745,3]]},"398":{"position":[[776,4]]},"402":{"position":[[1513,4]]},"408":{"position":[[3188,3]]},"412":{"position":[[8182,4]]},"434":{"position":[[180,3]]},"467":{"position":[[15,3],[677,3]]},"538":{"position":[[737,3]]},"554":{"position":[[1419,3]]},"598":{"position":[[744,3]]},"617":{"position":[[1525,3]]},"632":{"position":[[1612,3]]},"638":{"position":[[696,3]]},"639":{"position":[[474,3]]},"660":{"position":[[271,4]]},"662":{"position":[[2475,3]]},"680":{"position":[[904,3],[946,4]]},"681":{"position":[[292,4],[377,4],[732,3]]},"698":{"position":[[2820,4],[2849,4]]},"717":{"position":[[1513,3]]},"734":{"position":[[778,3]]},"740":{"position":[[107,4]]},"752":{"position":[[1302,4]]},"767":{"position":[[596,6],[1005,6]]},"768":{"position":[[598,6],[1007,6]]},"769":{"position":[[555,6],[976,6]]},"816":{"position":[[238,3]]},"838":{"position":[[2689,3]]},"862":{"position":[[744,3]]},"872":{"position":[[1969,3],[4199,3]]},"886":{"position":[[4063,4],[4168,4]]},"898":{"position":[[2549,3]]},"904":{"position":[[951,3]]},"1044":{"position":[[519,3],[579,3]]},"1074":{"position":[[995,3],[1223,3]]},"1078":{"position":[[557,3]]},"1080":{"position":[[180,3],[276,3]]},"1082":{"position":[[265,3]]},"1083":{"position":[[465,3]]},"1085":{"position":[[1422,3]]},"1107":{"position":[[747,3],[835,3]]},"1149":{"position":[[1142,3]]},"1194":{"position":[[453,4],[727,4],[952,4]]}},"keywords":{}}],["100,000",{"_index":2553,"title":{},"content":{"408":{"position":[[2940,7]]}},"keywords":{}}],["1000",{"_index":1511,"title":{},"content":{"244":{"position":[[1170,4],[1331,4]]},"401":{"position":[[305,4]]},"653":{"position":[[510,4],[799,4],[955,4]]},"739":{"position":[[746,4]]},"886":{"position":[[1998,4]]},"988":{"position":[[1092,5]]},"995":{"position":[[1857,4]]},"996":{"position":[[589,6]]},"1186":{"position":[[311,5]]}},"keywords":{}}],["10000",{"_index":2436,"title":{},"content":{"400":{"position":[[71,5]]},"610":{"position":[[1350,7]]},"1186":{"position":[[244,6]]}},"keywords":{}}],["100000",{"_index":5838,"title":{},"content":{"1080":{"position":[[587,7]]}},"keywords":{}}],["1000th",{"_index":3976,"title":{},"content":{"704":{"position":[[53,7]]}},"keywords":{}}],["100k",{"_index":2328,"title":{},"content":{"394":{"position":[[1670,4]]}},"keywords":{}}],["100the",{"_index":5806,"title":{},"content":{"1074":{"position":[[361,6]]}},"keywords":{}}],["100x",{"_index":6465,"title":{},"content":{"1299":{"position":[[244,4]]}},"keywords":{}}],["1024",{"_index":2470,"title":{},"content":{"401":{"position":[[501,4],[538,4],[581,4]]}},"keywords":{}}],["104",{"_index":3072,"title":{},"content":{"466":{"position":[[191,3]]}},"keywords":{}}],["106135",{"_index":6419,"title":{},"content":{"1292":{"position":[[976,6]]}},"keywords":{}}],["108",{"_index":6196,"title":{},"content":{"1208":{"position":[[536,4]]}},"keywords":{}}],["10k",{"_index":2250,"title":{},"content":{"392":{"position":[[3118,3],[5150,3]]},"394":{"position":[[1607,3]]},"412":{"position":[[10073,3]]},"1162":{"position":[[706,3]]},"1181":{"position":[[794,3]]},"1295":{"position":[[1231,3]]}},"keywords":{}}],["10mb",{"_index":2527,"title":{},"content":{"408":{"position":[[374,5]]},"432":{"position":[[329,4]]}},"keywords":{}}],["10x",{"_index":4023,"title":{},"content":{"717":{"position":[[304,3]]},"1090":{"position":[[183,4]]}},"keywords":{}}],["11.0.0",{"_index":4628,"title":{},"content":{"793":{"position":[[1451,6]]}},"keywords":{}}],["110",{"_index":1491,"title":{},"content":{"244":{"position":[[453,3]]}},"keywords":{}}],["12",{"_index":4455,"title":{},"content":{"751":{"position":[[1872,2]]},"963":{"position":[[160,2]]},"1060":{"position":[[174,2],[210,2]]}},"keywords":{}}],["12.0.0",{"_index":4627,"title":{},"content":{"793":{"position":[[1444,6]]}},"keywords":{}}],["120",{"_index":2569,"title":{},"content":{"408":{"position":[[4867,3]]}},"keywords":{}}],["123",{"_index":1366,"title":{},"content":{"210":{"position":[[328,5]]},"1007":{"position":[[416,5],[807,3]]},"1008":{"position":[[192,4]]}},"keywords":{}}],["1234",{"_index":4638,"title":{},"content":{"796":{"position":[[468,4],[494,4],[545,4]]},"988":{"position":[[5467,4],[5526,4]]}},"keywords":{}}],["124",{"_index":5562,"title":{},"content":{"1007":{"position":[[891,4],[934,4]]}},"keywords":{}}],["125186",{"_index":6421,"title":{},"content":{"1292":{"position":[[1002,6]]}},"keywords":{}}],["125m",{"_index":3029,"title":{},"content":{"462":{"position":[[668,7]]}},"keywords":{}}],["128.0.6613.137",{"_index":3022,"title":{},"content":{"462":{"position":[[354,16]]}},"keywords":{}}],["1291",{"_index":2460,"title":{},"content":{"401":{"position":[[352,4]]}},"keywords":{}}],["13.0.0",{"_index":4626,"title":{},"content":{"793":{"position":[[1437,6]]}},"keywords":{}}],["13.41",{"_index":3070,"title":{},"content":{"466":{"position":[[149,5]]}},"keywords":{}}],["1300",{"_index":1513,"title":{},"content":{"244":{"position":[[1211,4],[1488,4]]}},"keywords":{}}],["131.0.6778.85",{"_index":6396,"title":{},"content":{"1292":{"position":[[115,14]]}},"keywords":{}}],["1337",{"_index":5177,"title":{},"content":{"892":{"position":[[313,5]]}},"keywords":{}}],["135,900",{"_index":3025,"title":{},"content":{"462":{"position":[[620,7]]}},"keywords":{}}],["13900hx",{"_index":6402,"title":{},"content":{"1292":{"position":[[192,7]]}},"keywords":{}}],["13th",{"_index":6397,"title":{},"content":{"1292":{"position":[[162,4]]}},"keywords":{}}],["14.0.0",{"_index":4625,"title":{},"content":{"793":{"position":[[1430,6]]}},"keywords":{}}],["14.0.0)fork",{"_index":6175,"title":{},"content":{"1198":{"position":[[2198,11]]}},"keywords":{}}],["140",{"_index":1496,"title":{},"content":{"244":{"position":[[677,3]]}},"keywords":{}}],["142",{"_index":6475,"title":{},"content":{"1301":{"position":[[1115,3]]}},"keywords":{}}],["1437",{"_index":2463,"title":{},"content":{"401":{"position":[[399,4]]}},"keywords":{}}],["1486940585",{"_index":4457,"title":{},"content":{"751":{"position":[[1964,11]]}},"keywords":{}}],["15.0.0",{"_index":4624,"title":{},"content":{"793":{"position":[[1423,6]]}},"keywords":{}}],["150",{"_index":6477,"title":{},"content":{"1301":{"position":[[1444,3]]}},"keywords":{}}],["1564483474",{"_index":5448,"title":{},"content":{"986":{"position":[[1027,11]]}},"keywords":{}}],["16",{"_index":469,"title":{},"content":{"28":{"position":[[804,3]]},"571":{"position":[[1581,2]]},"703":{"position":[[1511,2]]},"749":{"position":[[9325,3]]},"958":{"position":[[497,2],[618,3]]},"1162":{"position":[[1010,2],[1059,3]]}},"keywords":{}}],["16.0.0",{"_index":4623,"title":{},"content":{"793":{"position":[[1416,6]]}},"keywords":{}}],["16.66m",{"_index":3470,"title":{},"content":{"571":{"position":[[1641,8]]}},"keywords":{}}],["162",{"_index":2461,"title":{},"content":{"401":{"position":[[361,3],[408,3],[457,3]]}},"keywords":{}}],["1647",{"_index":2437,"title":{},"content":{"400":{"position":[[94,4]]}},"keywords":{}}],["16m",{"_index":3471,"title":{},"content":{"571":{"position":[[1794,5]]}},"keywords":{}}],["17",{"_index":6452,"title":{},"content":{"1295":{"position":[[1053,2]]}},"keywords":{}}],["17.0.0",{"_index":4622,"title":{},"content":{"793":{"position":[[1409,6]]}},"keywords":{}}],["170",{"_index":1471,"title":{},"content":{"243":{"position":[[878,3]]},"244":{"position":[[281,3],[1025,3],[1559,3]]}},"keywords":{}}],["1706579817126",{"_index":5953,"title":{},"content":{"1104":{"position":[[379,15]]}},"keywords":{}}],["173",{"_index":2447,"title":{},"content":{"401":{"position":[[219,3]]}},"keywords":{}}],["1769",{"_index":2464,"title":{},"content":{"401":{"position":[[448,4]]}},"keywords":{}}],["18",{"_index":4652,"title":{},"content":{"798":{"position":[[590,2],[721,3]]},"949":{"position":[[109,2]]},"1055":{"position":[[173,2],[235,2]]},"1059":{"position":[[270,2]]},"1060":{"position":[[138,2]]},"1061":{"position":[[139,2]]},"1062":{"position":[[134,2],[195,2]]},"1063":{"position":[[153,2]]},"1066":{"position":[[396,2],[527,3]]},"1067":{"position":[[335,2]]},"1292":{"position":[[747,2]]}},"keywords":{}}],["19",{"_index":5757,"title":{},"content":{"1063":{"position":[[103,2]]}},"keywords":{}}],["19.1",{"_index":3073,"title":{},"content":{"466":{"position":[[216,4]]}},"keywords":{}}],["1900",{"_index":1518,"title":{},"content":{"244":{"position":[[1370,4]]},"1074":{"position":[[1401,5]]}},"keywords":{}}],["1994",{"_index":2952,"title":{},"content":{"450":{"position":[[46,5]]}},"keywords":{}}],["1add",{"_index":5903,"title":{},"content":{"1085":{"position":[[3324,4]]}},"keywords":{}}],["1gb",{"_index":2537,"title":{},"content":{"408":{"position":[[1181,3]]},"696":{"position":[[1429,3]]}},"keywords":{}}],["2",{"_index":108,"title":{"202":{"position":[[0,2]]},"249":{"position":[[0,2]]},"310":{"position":[[0,2]]},"475":{"position":[[0,2]]},"554":{"position":[[0,2]]},"560":{"position":[[5,2]]}},"content":{"8":{"position":[[225,2],[297,1],[374,1],[880,2]]},"269":{"position":[[18,1]]},"299":{"position":[[423,2]]},"392":{"position":[[3076,1]]},"398":{"position":[[3251,1]]},"412":{"position":[[6997,1]]},"599":{"position":[[222,4]]},"612":{"position":[[2194,1]]},"617":{"position":[[650,1]]},"662":{"position":[[1859,1]]},"717":{"position":[[873,1]]},"724":{"position":[[334,2]]},"734":{"position":[[385,1]]},"751":{"position":[[967,1],[1023,1],[1095,2],[1147,2],[1923,2]]},"754":{"position":[[405,2]]},"825":{"position":[[220,1]]},"829":{"position":[[83,1]]},"838":{"position":[[2156,1]]},"854":{"position":[[54,1]]},"861":{"position":[[401,1],[919,1]]},"862":{"position":[[182,1]]},"866":{"position":[[53,1]]},"872":{"position":[[167,1]]},"875":{"position":[[607,1]]},"898":{"position":[[64,1]]},"904":{"position":[[1265,1]]},"1144":{"position":[[147,1]]},"1148":{"position":[[488,1]]},"1149":{"position":[[850,1]]},"1158":{"position":[[155,1]]},"1189":{"position":[[59,1]]},"1277":{"position":[[697,1],[854,3]]}},"keywords":{}}],["2*n",{"_index":3636,"title":{},"content":{"617":{"position":[[715,3]]}},"keywords":{}}],["2.0",{"_index":2959,"title":{},"content":{"452":{"position":[[451,3]]},"1294":{"position":[[16,4]]}},"keywords":{}}],["2.7",{"_index":6412,"title":{},"content":{"1292":{"position":[[724,3]]}},"keywords":{}}],["2.93",{"_index":3065,"title":{},"content":{"465":{"position":[[282,4]]}},"keywords":{}}],["2.htm",{"_index":759,"title":{},"content":{"50":{"position":[[469,5]]}},"keywords":{}}],["20",{"_index":2228,"title":{},"content":{"392":{"position":[[664,2],[1630,2]]},"798":{"position":[[703,3]]},"1063":{"position":[[257,2]]},"1066":{"position":[[509,3]]},"1067":{"position":[[1596,2]]},"1082":{"position":[[415,2]]},"1296":{"position":[[816,3]]}},"keywords":{}}],["20.6",{"_index":3068,"title":{},"content":{"466":{"position":[[116,4]]}},"keywords":{}}],["200",{"_index":3067,"title":{},"content":{"466":{"position":[[53,3]]},"698":{"position":[[2955,4],[2984,4]]},"704":{"position":[[82,3]]}},"keywords":{}}],["2000",{"_index":3610,"title":{},"content":{"612":{"position":[[2358,6]]}},"keywords":{}}],["2009",{"_index":350,"title":{},"content":{"20":{"position":[[110,4]]},"451":{"position":[[84,5]]},"455":{"position":[[36,4]]}},"keywords":{}}],["200k",{"_index":601,"title":{},"content":{"38":{"position":[[991,5]]}},"keywords":{}}],["200m",{"_index":2558,"title":{},"content":{"408":{"position":[[3192,5]]}},"keywords":{}}],["200mb",{"_index":3936,"title":{},"content":{"696":{"position":[[1489,5]]}},"keywords":{}}],["2012",{"_index":245,"title":{},"content":{"15":{"position":[[17,5]]}},"keywords":{}}],["2014",{"_index":269,"title":{},"content":{"16":{"position":[[15,4]]},"26":{"position":[[332,4]]},"408":{"position":[[4495,5]]},"419":{"position":[[55,6]]}},"keywords":{}}],["2015",{"_index":1763,"title":{},"content":{"299":{"position":[[1421,5]]},"357":{"position":[[117,6]]},"452":{"position":[[71,5]]}},"keywords":{}}],["2016",{"_index":353,"title":{},"content":{"20":{"position":[[144,5]]},"32":{"position":[[296,5]]},"1198":{"position":[[35,5]]}},"keywords":{}}],["2017",{"_index":2967,"title":{},"content":{"454":{"position":[[149,4]]},"751":{"position":[[1864,4]]}},"keywords":{}}],["2018",{"_index":431,"title":{},"content":{"26":{"position":[[347,4]]},"452":{"position":[[427,5]]}},"keywords":{}}],["2019",{"_index":318,"title":{},"content":{"19":{"position":[[16,4]]},"36":{"position":[[242,4]]},"407":{"position":[[1194,4]]},"422":{"position":[[325,4]]}},"keywords":{}}],["2021",{"_index":6553,"title":{},"content":{"1316":{"position":[[2243,4]]}},"keywords":{}}],["2022",{"_index":2983,"title":{},"content":{"457":{"position":[[324,5]]},"1282":{"position":[[399,5]]}},"keywords":{}}],["2023",{"_index":3939,"title":{},"content":{"696":{"position":[[1882,7]]},"1207":{"position":[[23,5]]}},"keywords":{}}],["2024",{"_index":606,"title":{},"content":{"38":{"position":[[1038,6]]},"41":{"position":[[1,5]]},"412":{"position":[[272,4]]},"470":{"position":[[25,5]]},"613":{"position":[[650,6]]},"620":{"position":[[603,5]]}},"keywords":{}}],["2048",{"_index":4408,"title":{},"content":{"749":{"position":[[21557,5]]}},"keywords":{}}],["2050",{"_index":5824,"title":{},"content":{"1074":{"position":[[1428,4]]}},"keywords":{}}],["21",{"_index":976,"title":{},"content":{"77":{"position":[[256,2]]},"103":{"position":[[296,2]]},"234":{"position":[[356,2]]}},"keywords":{}}],["210",{"_index":1484,"title":{},"content":{"244":{"position":[[317,3],[757,3],[929,3]]}},"keywords":{}}],["213",{"_index":6405,"title":{},"content":{"1292":{"position":[[349,3]]}},"keywords":{}}],["216",{"_index":6407,"title":{},"content":{"1292":{"position":[[366,3]]}},"keywords":{}}],["2187",{"_index":2440,"title":{},"content":{"400":{"position":[[118,4]]}},"keywords":{}}],["22",{"_index":2985,"title":{},"content":{"457":{"position":[[333,3]]},"1275":{"position":[[22,2]]},"1282":{"position":[[408,3]]}},"keywords":{}}],["22k",{"_index":2831,"title":{},"content":{"420":{"position":[[187,3]]}},"keywords":{}}],["23",{"_index":2449,"title":{},"content":{"401":{"position":[[227,2]]},"463":{"position":[[698,2]]}},"keywords":{}}],["230",{"_index":6409,"title":{},"content":{"1292":{"position":[[388,3]]}},"keywords":{}}],["24",{"_index":3751,"title":{},"content":{"653":{"position":[[527,2]]},"995":{"position":[[1407,2],[1874,3]]}},"keywords":{}}],["24.04",{"_index":6395,"title":{},"content":{"1292":{"position":[[81,5]]}},"keywords":{}}],["24/7",{"_index":2597,"title":{},"content":{"410":{"position":[[1217,5]]}},"keywords":{}}],["24/7.onlin",{"_index":2793,"title":{},"content":{"418":{"position":[[246,11]]}},"keywords":{}}],["25",{"_index":6168,"title":{},"content":{"1194":{"position":[[907,3]]},"1294":{"position":[[328,2],[780,3]]},"1296":{"position":[[311,3],[1377,4],[1528,2]]}},"keywords":{}}],["25.20443",{"_index":2300,"title":{},"content":{"393":{"position":[[1059,8]]}},"keywords":{}}],["25.61",{"_index":3081,"title":{},"content":{"467":{"position":[[164,5]]}},"keywords":{}}],["2505310082",{"_index":4424,"title":{},"content":{"749":{"position":[[23135,10]]}},"keywords":{}}],["256",{"_index":5401,"title":{},"content":{"968":{"position":[[53,5]]}},"keywords":{}}],["26.8",{"_index":3033,"title":{},"content":{"463":{"position":[[716,4]]}},"keywords":{}}],["260",{"_index":1468,"title":{},"content":{"243":{"position":[[682,3]]},"244":{"position":[[161,3],[418,3],[600,3],[1056,3],[1632,3]]}},"keywords":{}}],["2616",{"_index":3634,"title":{},"content":{"617":{"position":[[441,4]]}},"keywords":{}}],["2624555824",{"_index":4182,"title":{},"content":{"749":{"position":[[3787,10]]}},"keywords":{}}],["279",{"_index":2457,"title":{},"content":{"401":{"position":[[314,3]]}},"keywords":{}}],["28",{"_index":6451,"title":{},"content":{"1295":{"position":[[957,3]]}},"keywords":{}}],["28,400",{"_index":3028,"title":{},"content":{"462":{"position":[[644,6]]}},"keywords":{}}],["280",{"_index":3071,"title":{},"content":{"466":{"position":[[172,3]]}},"keywords":{}}],["2900",{"_index":1529,"title":{},"content":{"244":{"position":[[1595,4]]}},"keywords":{}}],["29857",{"_index":1835,"title":{},"content":{"303":{"position":[[688,6],[916,6]]},"361":{"position":[[685,6],[913,6]]}},"keywords":{}}],["2k",{"_index":6161,"title":{},"content":{"1192":{"position":[[782,2]]}},"keywords":{}}],["2x",{"_index":6225,"title":{},"content":{"1209":{"position":[[201,2]]}},"keywords":{}}],["3",{"_index":1308,"title":{"203":{"position":[[0,2]]},"250":{"position":[[0,2]]},"311":{"position":[[0,2]]},"476":{"position":[[0,2]]},"555":{"position":[[0,2]]},"561":{"position":[[5,2]]},"601":{"position":[[32,1]]}},"content":{"464":{"position":[[709,1]]},"580":{"position":[[242,1]]},"599":{"position":[[274,4]]},"662":{"position":[[2016,1]]},"717":{"position":[[1249,1]]},"724":{"position":[[1510,2]]},"734":{"position":[[558,1]]},"754":{"position":[[564,2]]},"825":{"position":[[500,1]]},"829":{"position":[[880,1]]},"838":{"position":[[2500,1]]},"854":{"position":[[474,1]]},"861":{"position":[[745,1],[1199,1]]},"862":{"position":[[483,1]]},"872":{"position":[[711,1]]},"875":{"position":[[1268,1]]},"898":{"position":[[1537,1]]},"904":{"position":[[1404,1]]},"1148":{"position":[[681,1]]},"1149":{"position":[[983,1]]},"1158":{"position":[[271,1]]}},"keywords":{}}],["3.0",{"_index":2961,"title":{},"content":{"452":{"position":[[641,3]]}},"keywords":{}}],["3.05",{"_index":6411,"title":{},"content":{"1292":{"position":[[716,4]]}},"keywords":{}}],["3.17",{"_index":3051,"title":{},"content":{"464":{"position":[[421,4]]}},"keywords":{}}],["3.38.0",{"_index":2982,"title":{},"content":{"457":{"position":[[317,6]]},"1282":{"position":[[392,6]]}},"keywords":{}}],["3.59",{"_index":3082,"title":{},"content":{"467":{"position":[[191,4]]}},"keywords":{}}],["3.6.19",{"_index":2975,"title":{},"content":{"455":{"position":[[569,7]]}},"keywords":{}}],["3.9",{"_index":2047,"title":{},"content":{"357":{"position":[[113,3]]}},"keywords":{}}],["30",{"_index":1259,"title":{},"content":{"188":{"position":[[1398,2]]},"244":{"position":[[565,2]]},"426":{"position":[[328,3]]},"816":{"position":[[359,2]]},"866":{"position":[[869,2],[894,2]]}},"keywords":{}}],["300",{"_index":4428,"title":{},"content":{"749":{"position":[[23390,3]]},"1138":{"position":[[615,3]]},"1271":{"position":[[426,3]]}},"keywords":{}}],["3000",{"_index":3595,"title":{},"content":{"612":{"position":[[1835,5]]},"1292":{"position":[[316,4],[670,4]]}},"keywords":{}}],["31",{"_index":3039,"title":{},"content":{"463":{"position":[[1290,2]]},"653":{"position":[[532,3]]}},"keywords":{}}],["32",{"_index":2287,"title":{},"content":{"392":{"position":[[5212,2]]},"1292":{"position":[[154,2]]}},"keywords":{}}],["320",{"_index":1510,"title":{},"content":{"244":{"position":[[1090,3],[1121,3]]}},"keywords":{}}],["33",{"_index":5725,"title":{},"content":{"1051":{"position":[[292,2]]}},"keywords":{}}],["33%.it",{"_index":6066,"title":{},"content":{"1143":{"position":[[327,6]]}},"keywords":{}}],["3359",{"_index":2469,"title":{},"content":{"401":{"position":[[496,4]]}},"keywords":{}}],["337",{"_index":2471,"title":{},"content":{"401":{"position":[[506,3],[543,3]]}},"keywords":{}}],["34",{"_index":2452,"title":{},"content":{"401":{"position":[[257,2]]}},"keywords":{}}],["341",{"_index":2451,"title":{},"content":{"401":{"position":[[249,3]]}},"keywords":{}}],["3499",{"_index":2473,"title":{},"content":{"401":{"position":[[533,4]]}},"keywords":{}}],["35",{"_index":3086,"title":{},"content":{"467":{"position":[[703,2]]},"1123":{"position":[[101,2],[234,2]]}},"keywords":{}}],["35m",{"_index":3084,"title":{},"content":{"467":{"position":[[225,5]]}},"keywords":{}}],["36",{"_index":4911,"title":{},"content":{"863":{"position":[[173,2]]}},"keywords":{}}],["36%.it",{"_index":6064,"title":{},"content":{"1143":{"position":[[188,6]]}},"keywords":{}}],["3600",{"_index":1523,"title":{},"content":{"244":{"position":[[1451,4]]}},"keywords":{}}],["37.12",{"_index":3074,"title":{},"content":{"466":{"position":[[245,5]]}},"keywords":{}}],["384",{"_index":2448,"title":{},"content":{"401":{"position":[[223,3],[253,3]]}},"keywords":{}}],["390",{"_index":1459,"title":{},"content":{"243":{"position":[[489,3]]},"244":{"position":[[961,3],[1662,3]]}},"keywords":{}}],["39976",{"_index":6418,"title":{},"content":{"1292":{"position":[[964,5]]}},"keywords":{}}],["3:45",{"_index":1071,"title":{},"content":{"118":{"position":[[379,4]]},"323":{"position":[[637,4]]}},"keywords":{}}],["3x",{"_index":6189,"title":{},"content":{"1206":{"position":[[472,3]]}},"keywords":{}}],["4",{"_index":1313,"title":{"204":{"position":[[0,2]]},"251":{"position":[[0,2]]},"312":{"position":[[0,2]]},"477":{"position":[[0,2]]},"563":{"position":[[5,2]]}},"content":{"392":{"position":[[3078,1]]},"461":{"position":[[30,1],[255,1],[713,1],[857,1]]},"463":{"position":[[972,1]]},"662":{"position":[[2264,1]]},"829":{"position":[[1868,1]]},"838":{"position":[[2782,1]]},"861":{"position":[[1546,1]]},"862":{"position":[[896,1]]},"872":{"position":[[1339,1]]},"875":{"position":[[2885,1]]},"898":{"position":[[2702,1]]},"904":{"position":[[3356,1]]},"918":{"position":[[153,2]]},"1148":{"position":[[1080,1]]},"1149":{"position":[[1235,1]]},"1158":{"position":[[541,1]]},"1194":{"position":[[856,1],[1025,1]]},"1317":{"position":[[774,1]]}},"keywords":{}}],["4).status("eq"",{"_index":339,"title":{},"content":{"19":{"position":[[728,25]]}},"keywords":{}}],["4.99",{"_index":3079,"title":{},"content":{"467":{"position":[[121,4]]}},"keywords":{}}],["409",{"_index":5348,"title":{},"content":{"948":{"position":[[102,3]]},"1044":{"position":[[81,3]]},"1305":{"position":[[1099,3]]},"1307":{"position":[[465,3]]}},"keywords":{}}],["42",{"_index":5989,"title":{},"content":{"1115":{"position":[[446,2],[486,4]]}},"keywords":{}}],["420",{"_index":3040,"title":{},"content":{"463":{"position":[[1396,3]]}},"keywords":{}}],["4215",{"_index":2476,"title":{},"content":{"401":{"position":[[576,4]]}},"keywords":{}}],["4222:4222",{"_index":4924,"title":{},"content":{"865":{"position":[[247,9]]}},"keywords":{}}],["426",{"_index":5064,"title":{},"content":{"876":{"position":[[560,3]]},"990":{"position":[[1098,3],[1340,3]]}},"keywords":{}}],["43",{"_index":6454,"title":{},"content":{"1295":{"position":[[1147,3]]}},"keywords":{}}],["431",{"_index":3015,"title":{},"content":{"461":{"position":[[373,3]]}},"keywords":{}}],["443",{"_index":5913,"title":{},"content":{"1090":{"position":[[1067,3]]},"1097":{"position":[[785,3]]},"1098":{"position":[[421,3]]},"1099":{"position":[[391,3]]},"1103":{"position":[[274,3]]}},"keywords":{}}],["46",{"_index":3032,"title":{},"content":{"463":{"position":[[678,2]]}},"keywords":{}}],["480",{"_index":1515,"title":{},"content":{"244":{"position":[[1249,3]]}},"keywords":{}}],["4:18",{"_index":2801,"title":{},"content":{"419":{"position":[[556,4]]}},"keywords":{}}],["4gb",{"_index":4579,"title":{},"content":{"773":{"position":[[689,3]]}},"keywords":{}}],["4k",{"_index":2556,"title":{},"content":{"408":{"position":[[3046,2]]}},"keywords":{}}],["4x",{"_index":6190,"title":{},"content":{"1206":{"position":[[476,2]]},"1209":{"position":[[439,2]]}},"keywords":{}}],["5",{"_index":1320,"title":{"205":{"position":[[0,2]]},"252":{"position":[[0,2]]},"313":{"position":[[0,2]]},"478":{"position":[[0,2]]},"564":{"position":[[5,2]]}},"content":{"298":{"position":[[629,1]]},"299":{"position":[[442,2],[1319,1]]},"392":{"position":[[5174,1]]},"396":{"position":[[963,1],[1056,1],[1156,1]]},"397":{"position":[[1508,1]]},"402":{"position":[[974,1]]},"408":{"position":[[370,3],[1236,1]]},"427":{"position":[[1520,1]]},"432":{"position":[[327,1]]},"461":{"position":[[809,1],[859,1]]},"523":{"position":[[544,2]]},"653":{"position":[[967,2],[973,1]]},"662":{"position":[[2568,1]]},"736":{"position":[[334,1],[366,1]]},"829":{"position":[[2238,1]]},"838":{"position":[[2862,1]]},"861":{"position":[[2191,1]]},"862":{"position":[[1084,1]]},"872":{"position":[[2097,1]]},"875":{"position":[[3549,1]]},"886":{"position":[[2005,2],[2956,2]]},"898":{"position":[[3119,1]]},"904":{"position":[[3537,1]]},"988":{"position":[[1063,1],[1088,1],[3005,2]]},"1058":{"position":[[361,2]]},"1074":{"position":[[605,1],[1517,2]]},"1157":{"position":[[162,1]]},"1158":{"position":[[636,1]]},"1311":{"position":[[1578,1]]}},"keywords":{}}],["5.79",{"_index":3069,"title":{},"content":{"466":{"position":[[134,4]]}},"keywords":{}}],["5.84",{"_index":3083,"title":{},"content":{"467":{"position":[[220,4]]}},"keywords":{}}],["50",{"_index":1724,"title":{},"content":{"298":{"position":[[647,2]]},"299":{"position":[[502,2],[1290,2]]},"459":{"position":[[570,2],[612,4]]},"696":{"position":[[1385,4]]},"698":{"position":[[2889,3],[2917,3]]},"752":{"position":[[1186,3]]},"767":{"position":[[384,2],[417,3]]},"798":{"position":[[659,3]]},"872":{"position":[[2597,2],[2622,2],[4613,2],[4638,2]]},"886":{"position":[[1764,2]]},"898":{"position":[[3477,3],[3890,2]]},"1066":{"position":[[465,3]]},"1134":{"position":[[781,2]]},"1164":{"position":[[297,3]]},"1194":{"position":[[547,2],[626,2]]},"1278":{"position":[[101,2],[139,2]]}},"keywords":{}}],["500",{"_index":4430,"title":{},"content":{"749":{"position":[[23522,3]]},"759":{"position":[[742,4]]},"760":{"position":[[738,4]]},"1194":{"position":[[360,3]]}},"keywords":{}}],["5000",{"_index":3710,"title":{},"content":{"632":{"position":[[2632,5]]}},"keywords":{}}],["500k",{"_index":604,"title":{},"content":{"38":{"position":[[1020,5]]}},"keywords":{}}],["500m",{"_index":2743,"title":{},"content":{"412":{"position":[[10673,5]]}},"keywords":{}}],["504",{"_index":3034,"title":{},"content":{"463":{"position":[[742,3]]}},"keywords":{}}],["50m",{"_index":2742,"title":{},"content":{"412":{"position":[[10635,4]]}},"keywords":{}}],["50mb",{"_index":2529,"title":{},"content":{"408":{"position":[[606,4],[1238,4]]}},"keywords":{}}],["53409",{"_index":1837,"title":{},"content":{"303":{"position":[[749,6],[962,6]]},"361":{"position":[[746,6],[959,6]]}},"keywords":{}}],["535",{"_index":3035,"title":{},"content":{"463":{"position":[[770,3]]}},"keywords":{}}],["53k",{"_index":2829,"title":{},"content":{"420":{"position":[[123,3]]}},"keywords":{}}],["54.79",{"_index":3080,"title":{},"content":{"467":{"position":[[143,5]]}},"keywords":{}}],["5400",{"_index":1521,"title":{},"content":{"244":{"position":[[1413,4]]}},"keywords":{}}],["562",{"_index":2477,"title":{},"content":{"401":{"position":[[586,3]]}},"keywords":{}}],["590",{"_index":1464,"title":{},"content":{"243":{"position":[[581,3],[781,3]]},"244":{"position":[[832,3],[870,3]]}},"keywords":{}}],["5mb",{"_index":2530,"title":{},"content":{"408":{"position":[[671,3]]},"451":{"position":[[403,3]]}},"keywords":{}}],["6",{"_index":757,"title":{"206":{"position":[[0,2]]},"253":{"position":[[0,2]]},"617":{"position":[[0,1]]}},"content":{"50":{"position":[[465,1]]},"303":{"position":[[776,1],[985,1]]},"361":{"position":[[773,1],[982,1]]},"662":{"position":[[2648,1]]},"829":{"position":[[2958,1]]},"838":{"position":[[2961,1]]},"845":{"position":[[127,1]]},"849":{"position":[[106,1],[576,1]]},"862":{"position":[[1543,1]]},"872":{"position":[[2888,1]]},"875":{"position":[[5963,1]]},"898":{"position":[[4461,1]]},"1058":{"position":[[481,2]]}},"keywords":{}}],["6*5=30",{"_index":4087,"title":{},"content":{"736":{"position":[[395,6]]}},"keywords":{}}],["6.3.x",{"_index":6037,"title":{},"content":{"1133":{"position":[[396,7]]}},"keywords":{}}],["6.34",{"_index":3077,"title":{},"content":{"467":{"position":[[88,4]]}},"keywords":{}}],["60",{"_index":1743,"title":{},"content":{"299":{"position":[[309,2]]},"571":{"position":[[1624,2]]},"653":{"position":[[517,2],[522,2],[806,3],[813,2],[962,2]]},"656":{"position":[[261,2]]},"696":{"position":[[1324,3]]},"846":{"position":[[734,3],[1160,3]]},"995":{"position":[[1864,2],[1869,2]]}},"keywords":{}}],["60000",{"_index":4830,"title":{},"content":{"846":{"position":[[1067,5]]}},"keywords":{}}],["620",{"_index":4566,"title":{},"content":{"772":{"position":[[856,4]]},"774":{"position":[[784,4]]}},"keywords":{}}],["62080c42d471e3d2625e49dcca3b8e3",{"_index":6149,"title":{},"content":{"1177":{"position":[[448,34]]}},"keywords":{}}],["6265",{"_index":3013,"title":{},"content":{"461":{"position":[[50,5]]}},"keywords":{}}],["64",{"_index":115,"title":{},"content":{"8":{"position":[[480,2],[528,3]]}},"keywords":{}}],["67",{"_index":6406,"title":{},"content":{"1292":{"position":[[360,2]]}},"keywords":{}}],["68",{"_index":6404,"title":{},"content":{"1292":{"position":[[343,2]]}},"keywords":{}}],["7",{"_index":1333,"title":{"207":{"position":[[0,2]]},"254":{"position":[[0,2]]}},"content":{"394":{"position":[[1725,1]]},"412":{"position":[[7948,2]]},"662":{"position":[[2747,1]]},"697":{"position":[[193,1]]},"872":{"position":[[3584,1]]},"875":{"position":[[6495,1]]}},"keywords":{}}],["7.1.x",{"_index":6036,"title":{},"content":{"1133":{"position":[[387,5]]}},"keywords":{}}],["70",{"_index":1533,"title":{},"content":{"244":{"position":[[1702,2]]}},"keywords":{}}],["700",{"_index":2327,"title":{},"content":{"394":{"position":[[1634,3]]}},"keywords":{}}],["71",{"_index":6408,"title":{},"content":{"1292":{"position":[[382,2]]}},"keywords":{}}],["720",{"_index":1517,"title":{},"content":{"244":{"position":[[1288,3]]},"1133":{"position":[[582,3]]},"1134":{"position":[[405,4],[425,4]]}},"keywords":{}}],["72773",{"_index":6420,"title":{},"content":{"1292":{"position":[[985,5]]}},"keywords":{}}],["730",{"_index":6041,"title":{},"content":{"1133":{"position":[[612,4],[665,4]]}},"keywords":{}}],["73103",{"_index":6417,"title":{},"content":{"1292":{"position":[[956,5]]}},"keywords":{}}],["765",{"_index":2435,"title":{},"content":{"400":{"position":[[67,3]]}},"keywords":{}}],["768",{"_index":2456,"title":{},"content":{"401":{"position":[[310,3],[357,3],[404,3],[453,3]]}},"keywords":{}}],["8",{"_index":5047,"title":{},"content":{"875":{"position":[[7740,1]]}},"keywords":{}}],["8.0.0",{"_index":4279,"title":{},"content":{"749":{"position":[[10991,5],[11129,5]]},"793":{"position":[[1471,5]]}},"keywords":{}}],["8.1.4",{"_index":3635,"title":{},"content":{"617":{"position":[[456,6]]}},"keywords":{}}],["80",{"_index":1741,"title":{},"content":{"299":{"position":[[260,4],[767,3],[1124,3]]},"408":{"position":[[990,4]]},"461":{"position":[[1187,3]]},"875":{"position":[[1259,4]]}},"keywords":{}}],["8080",{"_index":4963,"title":{},"content":{"872":{"position":[[3330,5]]},"906":{"position":[[1033,4]]},"1219":{"position":[[560,5],[723,5]]},"1220":{"position":[[239,5]]}},"keywords":{}}],["8100",{"_index":1508,"title":{},"content":{"244":{"position":[[993,4]]}},"keywords":{}}],["88",{"_index":2439,"title":{},"content":{"400":{"position":[[115,2],[583,2]]}},"keywords":{}}],["8gb",{"_index":4580,"title":{},"content":{"773":{"position":[[860,3]]}},"keywords":{}}],["9",{"_index":4643,"title":{},"content":{"796":{"position":[[898,4]]},"863":{"position":[[65,2]]},"875":{"position":[[8515,1]]},"935":{"position":[[244,5]]},"1084":{"position":[[369,3]]},"1295":{"position":[[1048,1]]}},"keywords":{}}],["9.0.0",{"_index":4629,"title":{},"content":{"793":{"position":[[1465,5]]}},"keywords":{}}],["90",{"_index":1488,"title":{},"content":{"244":{"position":[[383,2],[639,2]]}},"keywords":{}}],["91882",{"_index":6422,"title":{},"content":{"1292":{"position":[[1011,5]]}},"keywords":{}}],["934",{"_index":2438,"title":{},"content":{"400":{"position":[[99,3]]}},"keywords":{}}],["938.9",{"_index":2971,"title":{},"content":{"454":{"position":[[687,5]]}},"keywords":{}}],["999",{"_index":3789,"title":{},"content":{"661":{"position":[[386,4]]}},"keywords":{}}],["9:47",{"_index":4900,"title":{},"content":{"861":{"position":[[1167,4]]}},"keywords":{}}],["9_]*]?[a",{"_index":5850,"title":{},"content":{"1084":{"position":[[354,8]]}},"keywords":{}}],["9dcca3b8e1a",{"_index":6492,"title":{},"content":{"1305":{"position":[[551,11]]}},"keywords":{}}],["_",{"_index":2396,"title":{},"content":{"398":{"position":[[879,3],[2165,3]]},"749":{"position":[[4933,1],[8287,1],[17589,1]]},"811":{"position":[[114,1]]},"863":{"position":[[83,1]]}},"keywords":{}}],["__dirnam",{"_index":6310,"title":{},"content":{"1266":{"position":[[288,10]]}},"keywords":{}}],["_attach",{"_index":4482,"title":{},"content":{"754":{"position":[[305,12],[439,12]]},"1004":{"position":[[294,12]]},"1051":{"position":[[574,13]]},"1177":{"position":[[421,13]]}},"keywords":{}}],["_delet",{"_index":3887,"title":{},"content":{"684":{"position":[[60,8],[200,9]]},"855":{"position":[[189,8]]},"857":{"position":[[129,8],[387,9]]},"861":{"position":[[1764,8]]},"867":{"position":[[184,8]]},"898":{"position":[[1872,8],[3995,10]]},"986":{"position":[[376,8],[1410,9]]},"988":{"position":[[1818,11],[1908,11],[3143,10],[5437,9]]},"1048":{"position":[[377,8],[493,9]]},"1051":{"position":[[557,9]]},"1107":{"position":[[36,8],[273,8],[454,9]]},"1177":{"position":[[404,9]]}},"keywords":{}}],["_deleted:tru",{"_index":5710,"title":{},"content":{"1047":{"position":[[116,13]]}},"keywords":{}}],["_deleted=fals",{"_index":5966,"title":{},"content":{"1107":{"position":[[128,15]]}},"keywords":{}}],["_id",{"_index":4223,"title":{},"content":{"749":{"position":[[6864,4],[7228,4],[23786,3],[23879,4]]}},"keywords":{}}],["_meta",{"_index":6150,"title":{},"content":{"1177":{"position":[[483,6]]}},"keywords":{}}],["_modifi",{"_index":5204,"title":{},"content":{"898":{"position":[[1229,9],[1921,9],[3965,12]]}},"keywords":{}}],["_modified)y",{"_index":5195,"title":{},"content":{"898":{"position":[[342,13]]}},"keywords":{}}],["_rev",{"_index":4365,"title":{},"content":{"749":{"position":[[17675,6]]},"1051":{"position":[[597,5]]},"1177":{"position":[[439,5]]}},"keywords":{}}],["a.id",{"_index":5101,"title":{},"content":{"885":{"position":[[1862,5],[1892,5]]}},"keywords":{}}],["a.updatedat",{"_index":5099,"title":{},"content":{"885":{"position":[[1738,12],[1782,12],[1827,12]]}},"keywords":{}}],["aaah",{"_index":4600,"title":{},"content":{"789":{"position":[[260,9],[313,8]]},"791":{"position":[[116,9],[209,8]]},"792":{"position":[[247,9],[457,8]]}},"keywords":{}}],["abcd",{"_index":5126,"title":{},"content":{"886":{"position":[[1871,9],[3168,9],[4136,9]]}},"keywords":{}}],["abil",{"_index":542,"title":{},"content":{"34":{"position":[[593,7]]},"173":{"position":[[1214,7]]},"174":{"position":[[2396,7]]},"190":{"position":[[41,7]]},"207":{"position":[[37,7]]},"265":{"position":[[79,7]]},"267":{"position":[[514,7],[1290,7]]},"280":{"position":[[65,7]]},"371":{"position":[[210,7]]},"385":{"position":[[35,7]]},"407":{"position":[[1018,7]]},"411":{"position":[[2781,7]]},"445":{"position":[[469,7]]},"446":{"position":[[1204,7]]},"506":{"position":[[29,7]]},"624":{"position":[[708,7]]},"837":{"position":[[137,7]]}},"keywords":{}}],["abov",{"_index":3564,"title":{},"content":{"610":{"position":[[1490,6]]},"703":{"position":[[897,5]]},"704":{"position":[[421,6]]},"826":{"position":[[487,5]]},"875":{"position":[[6963,5]]},"886":{"position":[[1201,5],[2833,5]]},"950":{"position":[[403,5]]},"987":{"position":[[251,6]]},"1091":{"position":[[26,5]]},"1316":{"position":[[2663,6]]}},"keywords":{}}],["absent",{"_index":2922,"title":{},"content":{"438":{"position":[[32,6]]}},"keywords":{}}],["absolut",{"_index":6099,"title":{},"content":{"1157":{"position":[[508,8]]}},"keywords":{}}],["abstract",{"_index":41,"title":{},"content":{"2":{"position":[[52,8]]},"24":{"position":[[583,10]]},"27":{"position":[[147,8]]},"35":{"position":[[111,9]]},"43":{"position":[[411,11]]},"331":{"position":[[276,11]]},"433":{"position":[[542,11]]},"521":{"position":[[426,9]]},"536":{"position":[[51,9]]},"596":{"position":[[49,9]]},"703":{"position":[[632,13],[817,11]]},"709":{"position":[[746,13],[1109,11]]},"962":{"position":[[89,11]]}},"keywords":{}}],["absurd",{"_index":495,"title":{"31":{"position":[[0,6]]}},"content":{"31":{"position":[[1,6]]},"1302":{"position":[[91,6]]}},"keywords":{}}],["accelar",{"_index":2571,"title":{},"content":{"408":{"position":[[5209,11]]}},"keywords":{}}],["accept",{"_index":1993,"title":{},"content":{"351":{"position":[[156,6]]},"382":{"position":[[197,10]]},"398":{"position":[[323,10]]},"412":{"position":[[2646,9],[6042,10]]},"432":{"position":[[719,11]]},"461":{"position":[[309,6]]},"829":{"position":[[3131,7]]},"875":{"position":[[6300,9]]},"880":{"position":[[89,6],[310,8]]},"918":{"position":[[29,7]]},"988":{"position":[[2595,9]]},"1048":{"position":[[358,6]]},"1102":{"position":[[568,9]]}},"keywords":{}}],["access",{"_index":87,"title":{"88":{"position":[[16,11]]},"97":{"position":[[28,10]]},"215":{"position":[[8,14]]},"365":{"position":[[12,6]]},"826":{"position":[[0,9]]},"1215":{"position":[[31,6]]}},"content":{"6":{"position":[[206,6]]},"11":{"position":[[309,9]]},"46":{"position":[[276,6]]},"65":{"position":[[268,6],[437,7],[532,10],[1168,6],[1907,7]]},"84":{"position":[[187,6]]},"87":{"position":[[92,8]]},"88":{"position":[[48,14],[118,6]]},"97":{"position":[[68,10],[185,14]]},"114":{"position":[[200,6]]},"131":{"position":[[430,6],[506,6]]},"149":{"position":[[200,6]]},"152":{"position":[[90,6]]},"159":{"position":[[337,6]]},"166":{"position":[[227,8]]},"173":{"position":[[697,8],[1379,11],[1431,10],[1536,6],[2730,10],[2939,10]]},"175":{"position":[[193,6]]},"183":{"position":[[293,6]]},"188":{"position":[[1840,6]]},"191":{"position":[[56,8]]},"195":{"position":[[193,7]]},"215":{"position":[[74,14]]},"216":{"position":[[86,8]]},"237":{"position":[[159,6]]},"241":{"position":[[499,14]]},"265":{"position":[[435,6],[811,6]]},"266":{"position":[[209,10]]},"274":{"position":[[212,6]]},"287":{"position":[[1025,6]]},"289":{"position":[[1363,6]]},"292":{"position":[[186,10]]},"303":{"position":[[1478,8]]},"310":{"position":[[175,6]]},"333":{"position":[[226,6]]},"336":{"position":[[275,6]]},"347":{"position":[[200,6]]},"362":{"position":[[1271,6]]},"365":{"position":[[87,6],[1194,13],[1365,13]]},"369":{"position":[[913,6],[1178,7],[1506,6]]},"373":{"position":[[514,14]]},"376":{"position":[[258,8]]},"377":{"position":[[124,7]]},"408":{"position":[[1591,6],[3796,6]]},"410":{"position":[[1417,6]]},"411":{"position":[[459,7]]},"412":{"position":[[12064,6],[12850,6]]},"417":{"position":[[98,7]]},"419":{"position":[[404,7]]},"429":{"position":[[291,9]]},"433":{"position":[[83,6],[199,6],[332,10]]},"444":{"position":[[556,7]]},"445":{"position":[[548,6]]},"450":{"position":[[505,6]]},"453":{"position":[[372,6]]},"454":{"position":[[790,6],[1032,6]]},"460":{"position":[[981,6]]},"470":{"position":[[197,6]]},"482":{"position":[[1210,6]]},"500":{"position":[[655,6]]},"502":{"position":[[475,6]]},"511":{"position":[[200,6]]},"526":{"position":[[191,7]]},"531":{"position":[[200,6]]},"550":{"position":[[73,6]]},"560":{"position":[[394,7]]},"581":{"position":[[281,6]]},"586":{"position":[[167,7]]},"591":{"position":[[200,6]]},"630":{"position":[[1003,10]]},"659":{"position":[[807,6]]},"674":{"position":[[130,8]]},"676":{"position":[[192,6]]},"709":{"position":[[84,6]]},"714":{"position":[[121,6]]},"715":{"position":[[350,6]]},"737":{"position":[[150,7]]},"740":{"position":[[370,6]]},"749":{"position":[[9366,7]]},"784":{"position":[[659,6]]},"829":{"position":[[1870,9],[2203,6]]},"832":{"position":[[187,6]]},"835":{"position":[[130,6],[912,6]]},"836":{"position":[[1634,6]]},"860":{"position":[[961,6]]},"861":{"position":[[2282,6]]},"872":{"position":[[218,6]]},"886":{"position":[[1372,6]]},"912":{"position":[[384,6]]},"968":{"position":[[783,6]]},"1018":{"position":[[113,6],[394,9],[667,6]]},"1040":{"position":[[81,6]]},"1084":{"position":[[658,9]]},"1088":{"position":[[687,10]]},"1102":{"position":[[46,6],[235,6]]},"1105":{"position":[[1242,6]]},"1116":{"position":[[256,9]]},"1117":{"position":[[224,9]]},"1118":{"position":[[42,6],[304,6]]},"1132":{"position":[[831,6]]},"1134":{"position":[[722,6]]},"1151":{"position":[[743,6]]},"1157":{"position":[[216,7]]},"1177":{"position":[[32,6]]},"1178":{"position":[[742,6]]},"1204":{"position":[[32,6]]},"1206":{"position":[[340,7]]},"1207":{"position":[[496,6]]},"1208":{"position":[[639,6]]},"1209":{"position":[[63,6]]},"1211":{"position":[[202,6]]},"1214":{"position":[[58,10],[628,6],[1032,6]]},"1215":{"position":[[76,6],[147,6],[167,6],[686,7]]},"1219":{"position":[[160,6]]},"1222":{"position":[[911,6]]},"1233":{"position":[[211,8]]},"1235":{"position":[[195,6],[330,6],[441,7]]},"1244":{"position":[[48,6]]},"1272":{"position":[[62,6]]},"1281":{"position":[[16,6]]},"1311":{"position":[[1587,6]]}},"keywords":{}}],["access.r",{"_index":3477,"title":{},"content":{"574":{"position":[[263,11]]}},"keywords":{}}],["accesshandl",{"_index":3011,"title":{},"content":{"460":{"position":[[1278,12]]},"1208":{"position":[[1056,12]]}},"keywords":{}}],["accesshandle.clos",{"_index":6224,"title":{},"content":{"1208":{"position":[[1912,21]]}},"keywords":{}}],["accesshandle.flush",{"_index":6223,"title":{},"content":{"1208":{"position":[[1797,21]]}},"keywords":{}}],["accesshandle.gets",{"_index":6222,"title":{},"content":{"1208":{"position":[[1739,23]]}},"keywords":{}}],["accesshandle.read(readbuff",{"_index":6214,"title":{},"content":{"1208":{"position":[[1367,29]]}},"keywords":{}}],["accesshandle.truncate(10",{"_index":6220,"title":{},"content":{"1208":{"position":[[1656,26]]}},"keywords":{}}],["accesshandle.write(writebuff",{"_index":6210,"title":{},"content":{"1208":{"position":[[1228,32],[1569,31]]}},"keywords":{}}],["accident",{"_index":3859,"title":{},"content":{"675":{"position":[[104,12]]},"761":{"position":[[64,12]]},"828":{"position":[[447,10]]},"881":{"position":[[303,12]]},"987":{"position":[[903,12]]},"1083":{"position":[[228,12]]},"1085":{"position":[[2061,10],[2285,12]]},"1107":{"position":[[1026,12]]}},"keywords":{}}],["accommod",{"_index":1668,"title":{},"content":{"287":{"position":[[106,11]]},"356":{"position":[[4,11]]},"362":{"position":[[62,11]]},"364":{"position":[[510,11]]},"369":{"position":[[816,11]]},"519":{"position":[[74,12]]}},"keywords":{}}],["accomplish",{"_index":1702,"title":{},"content":{"298":{"position":[[86,12]]}},"keywords":{}}],["accord",{"_index":1638,"title":{},"content":{"276":{"position":[[330,9]]},"612":{"position":[[1531,9]]},"641":{"position":[[77,9]]},"818":{"position":[[60,9]]},"861":{"position":[[2419,9]]},"1209":{"position":[[144,9]]}},"keywords":{}}],["accordingli",{"_index":1111,"title":{},"content":{"131":{"position":[[1005,12]]},"136":{"position":[[255,12]]},"390":{"position":[[1755,12]]},"397":{"position":[[1387,11]]},"403":{"position":[[376,12]]},"611":{"position":[[1064,12]]},"634":{"position":[[573,12]]},"685":{"position":[[426,12]]},"781":{"position":[[534,12]]},"880":{"position":[[263,11]]},"956":{"position":[[224,12]]},"1004":{"position":[[650,12]]}},"keywords":{}}],["account",{"_index":2708,"title":{},"content":{"412":{"position":[[6237,7]]},"416":{"position":[[282,7]]},"626":{"position":[[357,7],[1089,8]]},"698":{"position":[[2599,10]]},"1009":{"position":[[383,8]]},"1316":{"position":[[2200,8]]}},"keywords":{}}],["accur",{"_index":3108,"title":{},"content":{"476":{"position":[[331,9]]},"490":{"position":[[665,8]]}},"keywords":{}}],["accuraci",{"_index":2423,"title":{},"content":{"398":{"position":[[3168,9]]}},"keywords":{}}],["achiev",{"_index":419,"title":{},"content":{"25":{"position":[[222,7]]},"40":{"position":[[409,7]]},"81":{"position":[[27,8]]},"157":{"position":[[131,8]]},"166":{"position":[[42,7]]},"190":{"position":[[164,9]]},"265":{"position":[[403,7]]},"392":{"position":[[1306,7],[2348,7]]},"399":{"position":[[638,11]]},"527":{"position":[[36,9]]},"540":{"position":[[121,9]]},"613":{"position":[[603,8]]},"644":{"position":[[460,7]]},"698":{"position":[[2281,7]]},"709":{"position":[[221,8]]},"848":{"position":[[100,7]]},"858":{"position":[[100,7]]},"1147":{"position":[[107,7]]},"1177":{"position":[[189,7]]},"1204":{"position":[[190,7]]},"1298":{"position":[[87,9]]}},"keywords":{}}],["acid",{"_index":2030,"title":{},"content":{"354":{"position":[[1285,4]]},"412":{"position":[[13602,4]]},"1304":{"position":[[42,4],[151,4],[441,4],[1209,4]]}},"keywords":{}}],["acquisit",{"_index":4802,"title":{},"content":{"839":{"position":[[1033,12]]}},"keywords":{}}],["act",{"_index":2593,"title":{},"content":{"410":{"position":[[884,4]]}},"keywords":{}}],["action",{"_index":1127,"title":{},"content":{"140":{"position":[[199,8]]},"347":{"position":[[493,6]]},"362":{"position":[[1564,6]]},"411":{"position":[[2912,7]]},"412":{"position":[[8605,7]]},"486":{"position":[[62,7]]},"489":{"position":[[363,6]]},"497":{"position":[[593,6],[773,8]]},"514":{"position":[[202,7]]},"569":{"position":[[812,6]]},"571":{"position":[[377,7]]},"591":{"position":[[648,6]]},"618":{"position":[[721,6]]},"630":{"position":[[42,6],[532,7],[1033,8]]},"634":{"position":[[211,6]]},"765":{"position":[[220,6]]},"782":{"position":[[289,7]]},"783":{"position":[[80,6],[609,7]]}},"keywords":{}}],["action.compar",{"_index":2177,"title":{},"content":{"388":{"position":[[119,14]]}},"keywords":{}}],["action—lead",{"_index":3113,"title":{},"content":{"477":{"position":[[318,14]]}},"keywords":{}}],["activ",{"_index":447,"title":{"1013":{"position":[[0,8]]}},"content":{"27":{"position":[[419,6]]},"28":{"position":[[572,6]]},"88":{"position":[[80,6]]},"292":{"position":[[280,6]]},"386":{"position":[[255,6]]},"387":{"position":[[261,6]]},"408":{"position":[[3327,6]]},"617":{"position":[[799,6]]},"630":{"position":[[385,8]]},"684":{"position":[[146,10]]},"749":{"position":[[14395,10],[22782,10]]},"835":{"position":[[754,8]]},"849":{"position":[[108,6],[578,6]]},"1013":{"position":[[232,8],[404,8],[556,8]]},"1080":{"position":[[388,7],[735,8],[907,10],[996,8]]},"1215":{"position":[[324,8],[652,8]]}},"keywords":{}}],["activerepl",{"_index":5565,"title":{},"content":{"1007":{"position":[[1161,18]]}},"keywords":{}}],["activereplications[chunkid",{"_index":5567,"title":{},"content":{"1007":{"position":[[1265,29],[1745,27],[1854,28],[1915,28]]}},"keywords":{}}],["actual",{"_index":661,"title":{"420":{"position":[[10,8]]}},"content":{"42":{"position":[[263,8]]},"251":{"position":[[178,8]]},"261":{"position":[[1183,6]]},"412":{"position":[[2163,6]]},"486":{"position":[[86,6]]},"617":{"position":[[1481,8]]},"719":{"position":[[431,6],[488,6]]},"875":{"position":[[9265,6]]},"962":{"position":[[160,8]]},"987":{"position":[[374,6],[466,6]]},"1097":{"position":[[308,8]]},"1104":{"position":[[156,6]]},"1105":{"position":[[165,6]]},"1115":{"position":[[895,8]]},"1304":{"position":[[397,8]]},"1308":{"position":[[464,6]]}},"keywords":{}}],["ad",{"_index":569,"title":{"667":{"position":[[0,6]]},"796":{"position":[[26,6]]},"825":{"position":[[0,6]]}},"content":{"36":{"position":[[72,5]]},"144":{"position":[[15,6]]},"291":{"position":[[45,6]]},"335":{"position":[[563,6],[912,5]]},"375":{"position":[[226,6]]},"399":{"position":[[78,6]]},"411":{"position":[[3781,5],[5699,6]]},"415":{"position":[[312,6]]},"419":{"position":[[1099,6]]},"421":{"position":[[234,5]]},"432":{"position":[[998,5]]},"452":{"position":[[476,5]]},"454":{"position":[[106,5]]},"560":{"position":[[668,6]]},"621":{"position":[[777,5]]},"639":{"position":[[238,6]]},"685":{"position":[[518,6]]},"705":{"position":[[1323,6]]},"723":{"position":[[1495,5]]},"729":{"position":[[235,5]]},"749":{"position":[[1443,5],[6634,5],[14593,5]]},"754":{"position":[[85,5]]},"796":{"position":[[303,6],[596,6],[1006,6]]},"806":{"position":[[290,6]]},"921":{"position":[[117,5]]},"943":{"position":[[314,5]]},"955":{"position":[[250,5]]},"979":{"position":[[41,5]]},"1004":{"position":[[221,5],[627,5]]},"1008":{"position":[[4,5]]},"1072":{"position":[[1591,5]]},"1074":{"position":[[630,6]]},"1085":{"position":[[2955,5]]},"1092":{"position":[[564,6]]},"1095":{"position":[[223,6]]},"1097":{"position":[[220,6],[836,6]]},"1100":{"position":[[293,5],[330,5]]},"1101":{"position":[[241,5]]},"1103":{"position":[[27,6]]},"1112":{"position":[[412,5]]},"1202":{"position":[[274,5]]},"1296":{"position":[[615,5]]},"1301":{"position":[[1080,5]]},"1318":{"position":[[456,5]]}},"keywords":{}}],["adapt",{"_index":1,"title":{"0":{"position":[[8,8]]},"822":{"position":[[34,8]]},"1173":{"position":[[0,9]]},"1203":{"position":[[0,9]]}},"content":{"1":{"position":[[44,8],[198,7],[440,7],[494,7]]},"2":{"position":[[28,8],[88,8],[151,7],[206,7],[239,8]]},"3":{"position":[[15,7],[129,7],[180,7]]},"4":{"position":[[37,7],[219,8],[262,8],[295,7],[352,7]]},"5":{"position":[[6,7],[141,7],[211,7],[265,7]]},"6":{"position":[[6,7],[136,9],[151,7],[310,7],[365,7],[398,8]]},"7":{"position":[[6,7],[233,7],[292,7],[435,7],[631,7]]},"8":{"position":[[84,8],[173,7],[249,7],[925,7],[1068,7],[1217,7]]},"9":{"position":[[76,7],[145,7],[205,7],[360,7]]},"10":{"position":[[13,7],[74,7],[139,7],[172,8]]},"11":{"position":[[112,7],[174,7],[992,7]]},"16":{"position":[[298,8]]},"24":{"position":[[95,7],[185,8]]},"28":{"position":[[271,9]]},"32":{"position":[[194,8]]},"39":{"position":[[643,8]]},"40":{"position":[[661,8]]},"42":{"position":[[246,8]]},"47":{"position":[[1292,8]]},"72":{"position":[[118,9]]},"83":{"position":[[92,13]]},"174":{"position":[[2256,5]]},"188":{"position":[[333,7],[1110,8]]},"202":{"position":[[412,5]]},"207":{"position":[[245,6]]},"212":{"position":[[422,5]]},"254":{"position":[[429,8]]},"255":{"position":[[1746,5]]},"266":{"position":[[40,8],[86,8],[390,7]]},"383":{"position":[[315,9]]},"384":{"position":[[244,8]]},"390":{"position":[[1747,7]]},"454":{"position":[[1006,8]]},"500":{"position":[[742,8]]},"520":{"position":[[394,7]]},"554":{"position":[[432,8]]},"563":{"position":[[825,7]]},"567":{"position":[[247,9]]},"640":{"position":[[64,7],[468,5]]},"703":{"position":[[414,7]]},"749":{"position":[[603,7],[4770,7],[5619,7]]},"772":{"position":[[1936,8],[2465,8]]},"837":{"position":[[961,7],[1064,7],[1114,7],[1135,8],[1170,7],[1246,8],[1286,7],[1341,7],[1607,7],[1754,7],[2130,8]]},"872":{"position":[[3291,8]]},"961":{"position":[[249,7]]},"966":{"position":[[89,8]]},"1097":{"position":[[204,8],[417,7],[746,8]]},"1098":{"position":[[33,7],[300,7],[382,8]]},"1099":{"position":[[33,7],[278,7],[356,8]]},"1147":{"position":[[492,12]]},"1172":{"position":[[187,8],[278,10],[372,8],[543,7]]},"1173":{"position":[[20,8],[97,8],[197,8],[282,8]]},"1175":{"position":[[159,8]]},"1198":{"position":[[260,7]]},"1199":{"position":[[117,8]]},"1201":{"position":[[148,7]]},"1203":{"position":[[18,8]]},"1271":{"position":[[842,7],[1353,7]]},"1284":{"position":[[365,7],[386,7]]},"1300":{"position":[[396,7]]}},"keywords":{}}],["adapter.j",{"_index":4578,"title":{},"content":{"772":{"position":[[2241,13]]}},"keywords":{}}],["adapterabsurd",{"_index":6466,"title":{},"content":{"1299":{"position":[[520,13]]}},"keywords":{}}],["adapteror",{"_index":4779,"title":{},"content":{"837":{"position":[[1092,9]]}},"keywords":{}}],["adapterth",{"_index":3968,"title":{},"content":{"703":{"position":[[395,10]]}},"keywords":{}}],["add",{"_index":111,"title":{"738":{"position":[[0,3]]},"789":{"position":[[0,3]]},"791":{"position":[[0,3]]},"915":{"position":[[0,3]]},"1012":{"position":[[0,3]]}},"content":{"8":{"position":[[394,3]]},"33":{"position":[[192,4]]},"51":{"position":[[807,3]]},"155":{"position":[[214,4]]},"188":{"position":[[1873,3]]},"211":{"position":[[290,3]]},"313":{"position":[[168,3]]},"315":{"position":[[23,3]]},"346":{"position":[[807,3]]},"351":{"position":[[104,3],[259,3]]},"383":{"position":[[81,3]]},"392":{"position":[[431,3]]},"411":{"position":[[4338,4]]},"412":{"position":[[4130,4],[9883,3],[11078,3],[13098,4]]},"455":{"position":[[673,3]]},"463":{"position":[[1274,4]]},"476":{"position":[[85,3]]},"480":{"position":[[58,3],[451,3]]},"536":{"position":[[88,4]]},"538":{"position":[[830,3]]},"563":{"position":[[1069,3]]},"570":{"position":[[460,5]]},"576":{"position":[[81,4]]},"596":{"position":[[86,4]]},"598":{"position":[[837,3]]},"611":{"position":[[1175,3]]},"616":{"position":[[1055,4]]},"662":{"position":[[1344,3],[2266,3]]},"668":{"position":[[229,3]]},"676":{"position":[[68,3]]},"680":{"position":[[50,3],[416,3],[1116,3]]},"689":{"position":[[550,3]]},"696":{"position":[[1733,3]]},"702":{"position":[[92,3]]},"717":{"position":[[1352,3]]},"724":{"position":[[133,3]]},"729":{"position":[[291,3]]},"731":{"position":[[51,3]]},"732":{"position":[[17,3]]},"738":{"position":[[44,3]]},"751":{"position":[[149,3]]},"753":{"position":[[137,3]]},"770":{"position":[[142,4],[165,3],[228,3],[614,3]]},"772":{"position":[[306,4],[422,3],[907,3]]},"789":{"position":[[4,3]]},"796":{"position":[[126,3],[561,3],[969,3],[1400,3]]},"811":{"position":[[89,3]]},"818":{"position":[[413,3]]},"825":{"position":[[472,3]]},"838":{"position":[[2502,3]]},"846":{"position":[[470,3]]},"848":{"position":[[41,3],[154,3],[435,3],[799,3],[1434,3]]},"861":{"position":[[1201,3],[1548,3]]},"872":{"position":[[1787,3]]},"875":{"position":[[533,3],[574,3],[1165,3],[2932,3],[6033,3]]},"876":{"position":[[420,3]]},"898":{"position":[[1390,3],[1488,3],[1617,3],[3699,3]]},"910":{"position":[[350,3]]},"915":{"position":[[40,3]]},"917":{"position":[[1,4]]},"952":{"position":[[145,3]]},"956":{"position":[[20,3]]},"971":{"position":[[257,3]]},"990":{"position":[[546,3]]},"1010":{"position":[[230,3]]},"1012":{"position":[[44,3]]},"1022":{"position":[[714,3]]},"1023":{"position":[[365,3]]},"1041":{"position":[[124,3]]},"1059":{"position":[[102,3]]},"1064":{"position":[[78,3]]},"1079":{"position":[[617,3]]},"1081":{"position":[[51,3]]},"1085":{"position":[[2184,3]]},"1090":{"position":[[260,3]]},"1092":{"position":[[528,3]]},"1095":{"position":[[279,3]]},"1097":{"position":[[796,3]]},"1100":{"position":[[32,3],[365,3]]},"1107":{"position":[[392,3]]},"1112":{"position":[[483,3]]},"1114":{"position":[[219,3],[573,3]]},"1118":{"position":[[253,3]]},"1119":{"position":[[303,3]]},"1124":{"position":[[671,3]]},"1149":{"position":[[985,3]]},"1158":{"position":[[273,3]]},"1198":{"position":[[1879,3],[2312,3]]},"1202":{"position":[[330,3]]},"1222":{"position":[[430,3]]},"1252":{"position":[[139,3],[193,3]]},"1271":{"position":[[813,3]]},"1280":{"position":[[1,3],[61,3],[113,3]]},"1289":{"position":[[42,3],[94,3]]},"1296":{"position":[[764,3]]},"1311":{"position":[[1091,3]]},"1318":{"position":[[600,3]]}},"keywords":{}}],["addcollect",{"_index":5318,"title":{},"content":{"934":{"position":[[78,17]]},"958":{"position":[[212,16]]},"987":{"position":[[1070,16]]},"1085":{"position":[[2819,17]]},"1309":{"position":[[1347,17]]}},"keywords":{}}],["addeventlistener("storage"",{"_index":2907,"title":{},"content":{"432":{"position":[[878,37]]},"458":{"position":[[820,37]]}},"keywords":{}}],["addfulltextsearch",{"_index":4049,"title":{},"content":{"724":{"position":[[404,19],[444,17],[529,19]]}},"keywords":{}}],["addherobtn').on('click",{"_index":1952,"title":{},"content":{"335":{"position":[[581,28]]}},"keywords":{}}],["addit",{"_index":515,"title":{},"content":{"33":{"position":[[197,10]]},"43":{"position":[[529,8]]},"99":{"position":[[198,10]]},"131":{"position":[[727,8]]},"148":{"position":[[470,8]]},"173":{"position":[[3043,10]]},"210":{"position":[[4,8]]},"219":{"position":[[237,10]]},"228":{"position":[[440,10]]},"261":{"position":[[4,8]]},"290":{"position":[[244,10]]},"294":{"position":[[4,8]]},"295":{"position":[[4,8]]},"302":{"position":[[174,10]]},"312":{"position":[[4,8]]},"357":{"position":[[80,10]]},"375":{"position":[[835,9]]},"377":{"position":[[255,10]]},"412":{"position":[[4017,10]]},"441":{"position":[[441,10]]},"452":{"position":[[717,8]]},"463":{"position":[[137,10],[1279,10]]},"483":{"position":[[594,10]]},"585":{"position":[[245,10]]},"614":{"position":[[264,10]]},"616":{"position":[[338,10],[460,10],[581,10],[1060,10]]},"621":{"position":[[331,10]]},"679":{"position":[[81,10]]},"686":{"position":[[872,10]]},"690":{"position":[[359,9]]},"696":{"position":[[1478,10]]},"796":{"position":[[130,10]]},"802":{"position":[[123,10],[296,10]]},"806":{"position":[[469,10]]},"824":{"position":[[586,10]]},"831":{"position":[[4,8]]},"836":{"position":[[1512,10],[1977,10]]},"906":{"position":[[688,10]]},"1051":{"position":[[348,10]]},"1072":{"position":[[2229,10]]},"1092":{"position":[[571,10]]},"1094":{"position":[[409,10]]},"1107":{"position":[[399,10]]},"1212":{"position":[[22,10]]},"1251":{"position":[[44,10]]},"1284":{"position":[[260,10]]}},"keywords":{}}],["addition",{"_index":540,"title":{},"content":{"34":{"position":[[524,13]]},"265":{"position":[[506,13]]},"283":{"position":[[143,13]]},"401":{"position":[[690,13]]},"402":{"position":[[2344,12]]},"434":{"position":[[236,13]]},"520":{"position":[[320,13]]},"801":{"position":[[593,13]]}},"keywords":{}}],["additionalproperti",{"_index":5851,"title":{},"content":{"1084":{"position":[[377,20]]},"1085":{"position":[[1642,21],[1711,21]]}},"keywords":{}}],["addon",{"_index":6071,"title":{"1146":{"position":[[12,7]]}},"content":{"1146":{"position":[[297,7]]},"1148":{"position":[[451,6],[482,5],[673,7],[773,7]]}},"keywords":{}}],["addpouchplugin",{"_index":126,"title":{},"content":{"8":{"position":[[775,15]]},"1201":{"position":[[70,14]]}},"keywords":{}}],["addpouchplugin(require('pouchdb",{"_index":31,"title":{},"content":{"1":{"position":[[462,31]]},"2":{"position":[[174,31]]},"3":{"position":[[148,31]]},"4":{"position":[[320,31]]},"5":{"position":[[233,31]]},"6":{"position":[[333,31]]},"7":{"position":[[260,31]]},"8":{"position":[[1036,31]]},"9":{"position":[[173,31]]},"10":{"position":[[107,31]]},"11":{"position":[[142,31]]},"1201":{"position":[[116,31]]}},"keywords":{}}],["addpouchplugin(sqliteadapt",{"_index":130,"title":{},"content":{"8":{"position":[[1005,30]]}},"keywords":{}}],["addreplicationendpoint",{"_index":5933,"title":{},"content":{"1101":{"position":[[270,24]]}},"keywords":{}}],["address",{"_index":990,"title":{},"content":{"83":{"position":[[256,10]]},"229":{"position":[[54,9]]},"271":{"position":[[41,7]]},"395":{"position":[[4,7]]},"507":{"position":[[59,9]]},"574":{"position":[[818,9]]}},"keywords":{}}],["addrxplugin",{"_index":3726,"title":{},"content":{"646":{"position":[[10,11]]},"652":{"position":[[10,11]]},"680":{"position":[[453,11]]},"724":{"position":[[253,11]]},"738":{"position":[[86,11]]},"829":{"position":[[486,11]]},"862":{"position":[[316,12]]},"872":{"position":[[1567,11]]},"915":{"position":[[78,11]]},"952":{"position":[[181,11]]},"971":{"position":[[293,11]]},"1012":{"position":[[86,11]]},"1041":{"position":[[159,11]]},"1064":{"position":[[116,11]]},"1114":{"position":[[239,14],[459,11]]},"1119":{"position":[[368,11]]},"1231":{"position":[[625,11]]}},"keywords":{}}],["addrxplugin(module.rxdbdevmodeplugin",{"_index":3847,"title":{},"content":{"672":{"position":[[141,37]]},"673":{"position":[[147,37]]},"674":{"position":[[430,37]]}},"keywords":{}}],["addrxplugin(rxdbattachmentsplugin",{"_index":5286,"title":{},"content":{"915":{"position":[[171,35]]}},"keywords":{}}],["addrxplugin(rxdbbackupplugin",{"_index":3729,"title":{},"content":{"646":{"position":[[93,30]]}},"keywords":{}}],["addrxplugin(rxdbcleanupplugin",{"_index":3745,"title":{},"content":{"652":{"position":[[95,31]]},"1119":{"position":[[453,31]]}},"keywords":{}}],["addrxplugin(rxdbcrdtplugin",{"_index":3875,"title":{},"content":{"680":{"position":[[480,28]]}},"keywords":{}}],["addrxplugin(rxdbflexsearchplugin",{"_index":4047,"title":{},"content":{"724":{"position":[[293,34]]}},"keywords":{}}],["addrxplugin(rxdbjsondumpplugin",{"_index":5370,"title":{},"content":{"952":{"position":[[269,32]]},"971":{"position":[[381,32]]}},"keywords":{}}],["addrxplugin(rxdbleaderelectionplugin",{"_index":4092,"title":{},"content":{"738":{"position":[[186,38]]}},"keywords":{}}],["addrxplugin(rxdblocaldocumentsplugin",{"_index":5596,"title":{},"content":{"1012":{"position":[[186,38]]}},"keywords":{}}],["addrxplugin(rxdbquerybuilderplugin",{"_index":5761,"title":{},"content":{"1064":{"position":[[212,36]]}},"keywords":{}}],["addrxplugin(rxdbreplicationgraphqlplugin",{"_index":6276,"title":{},"content":{"1231":{"position":[[733,42]]}},"keywords":{}}],["addrxplugin(rxdbstateplugin",{"_index":5982,"title":{},"content":{"1114":{"position":[[658,29]]}},"keywords":{}}],["addrxplugin(rxdbupdateplugin",{"_index":5686,"title":{},"content":{"1041":{"position":[[242,30]]},"1059":{"position":[[181,30]]}},"keywords":{}}],["addrxplugin.add",{"_index":3869,"title":{},"content":{"680":{"position":[[74,15]]}},"keywords":{}}],["addstat",{"_index":5980,"title":{},"content":{"1114":{"position":[[281,10],[333,8]]}},"keywords":{}}],["adequ",{"_index":867,"title":{},"content":{"58":{"position":[[105,8]]}},"keywords":{}}],["adher",{"_index":5280,"title":{},"content":{"912":{"position":[[690,8]]}},"keywords":{}}],["adjust",{"_index":2770,"title":{},"content":{"412":{"position":[[14361,6]]},"454":{"position":[[329,12]]}},"keywords":{}}],["admin",{"_index":2754,"title":{},"content":{"412":{"position":[[12695,5]]}},"keywords":{}}],["adopt",{"_index":1187,"title":{"313":{"position":[[11,5]]}},"content":{"164":{"position":[[28,6]]},"231":{"position":[[6,6]]},"241":{"position":[[356,8]]},"263":{"position":[[257,5]]},"274":{"position":[[26,7]]},"320":{"position":[[103,7]]},"420":{"position":[[877,8]]},"478":{"position":[[128,5]]},"483":{"position":[[1143,8]]},"530":{"position":[[279,8]]},"563":{"position":[[951,6]]},"613":{"position":[[623,9]]},"624":{"position":[[894,8]]},"632":{"position":[[954,8]]},"1301":{"position":[[1025,7]]}},"keywords":{}}],["advanc",{"_index":563,"title":{"57":{"position":[[0,8]]},"137":{"position":[[0,8]]},"166":{"position":[[0,8]]},"193":{"position":[[0,8]]},"203":{"position":[[3,8]]},"250":{"position":[[3,8]]},"341":{"position":[[0,8]]},"361":{"position":[[0,8]]},"505":{"position":[[0,8]]},"526":{"position":[[0,8]]},"544":{"position":[[0,8]]},"558":{"position":[[45,8]]},"583":{"position":[[0,8]]},"604":{"position":[[0,8]]},"637":{"position":[[0,8]]}},"content":{"35":{"position":[[593,8]]},"39":{"position":[[656,8]]},"47":{"position":[[1039,8],[1137,8]]},"64":{"position":[[195,8]]},"137":{"position":[[21,8]]},"161":{"position":[[244,8]]},"170":{"position":[[371,8]]},"193":{"position":[[24,8]]},"198":{"position":[[339,8]]},"252":{"position":[[70,8]]},"260":{"position":[[198,8]]},"262":{"position":[[315,8]]},"283":{"position":[[45,8]]},"303":{"position":[[112,8]]},"312":{"position":[[57,8]]},"313":{"position":[[193,8]]},"317":{"position":[[100,8]]},"353":{"position":[[517,8]]},"354":{"position":[[542,8],[837,8],[1428,8]]},"362":{"position":[[910,8]]},"383":{"position":[[154,8]]},"392":{"position":[[154,8]]},"408":{"position":[[3456,11],[4631,8]]},"411":{"position":[[5259,8]]},"412":{"position":[[3648,8]]},"427":{"position":[[435,8]]},"441":{"position":[[318,8]]},"478":{"position":[[273,8]]},"480":{"position":[[1072,8]]},"483":{"position":[[634,8]]},"510":{"position":[[318,8]]},"520":{"position":[[301,8]]},"533":{"position":[[249,8]]},"535":{"position":[[522,8],[1046,8]]},"544":{"position":[[18,8]]},"548":{"position":[[404,8]]},"559":{"position":[[1163,8],[1499,8]]},"560":{"position":[[727,8]]},"563":{"position":[[181,8]]},"564":{"position":[[10,8]]},"567":{"position":[[576,8]]},"593":{"position":[[249,8]]},"595":{"position":[[542,8],[1123,8]]},"604":{"position":[[18,8]]},"608":{"position":[[402,8]]},"611":{"position":[[385,11]]},"643":{"position":[[41,8]]},"644":{"position":[[172,8]]},"723":{"position":[[2282,8]]},"793":{"position":[[978,8]]},"831":{"position":[[360,8]]},"836":{"position":[[2366,8]]},"839":{"position":[[500,8],[729,8]]},"841":{"position":[[98,8],[475,8]]},"913":{"position":[[85,8]]},"1085":{"position":[[1817,8]]},"1132":{"position":[[634,8]]}},"keywords":{}}],["advantag",{"_index":96,"title":{"521":{"position":[[27,9]]}},"content":{"7":{"position":[[77,10]]},"47":{"position":[[13,11]]},"65":{"position":[[461,9],[1855,11]]},"66":{"position":[[72,11]]},"71":{"position":[[88,11]]},"92":{"position":[[29,9]]},"174":{"position":[[67,10]]},"180":{"position":[[102,11]]},"186":{"position":[[190,10]]},"217":{"position":[[306,12]]},"232":{"position":[[243,12]]},"247":{"position":[[116,10]]},"265":{"position":[[16,10]]},"278":{"position":[[121,10]]},"282":{"position":[[463,9]]},"284":{"position":[[198,9]]},"366":{"position":[[343,10]]},"372":{"position":[[254,12]]},"411":{"position":[[2739,10],[5393,10]]},"445":{"position":[[443,10],[2094,10]]},"485":{"position":[[32,11]]},"500":{"position":[[385,10]]},"567":{"position":[[76,9]]},"624":{"position":[[85,10]]},"1072":{"position":[[889,9]]},"1083":{"position":[[170,11]]},"1206":{"position":[[555,10]]}},"keywords":{}}],["advis",{"_index":2097,"title":{},"content":{"362":{"position":[[619,9]]}},"keywords":{}}],["ae",{"_index":1691,"title":{},"content":{"291":{"position":[[452,3]]},"717":{"position":[[107,3]]},"718":{"position":[[507,4],[519,4],[531,4],[552,4]]}},"keywords":{}}],["aerospac",{"_index":3452,"title":{},"content":{"569":{"position":[[300,10]]}},"keywords":{}}],["aesinvalid",{"_index":1877,"title":{},"content":{"310":{"position":[[156,13]]}},"keywords":{}}],["affect",{"_index":2114,"title":{},"content":{"366":{"position":[[515,6]]},"401":{"position":[[733,7]]},"535":{"position":[[1007,6]]},"595":{"position":[[1084,6]]},"623":{"position":[[117,9]]},"699":{"position":[[501,6]]},"749":{"position":[[21613,6]]},"839":{"position":[[1383,6]]},"975":{"position":[[232,6]]},"1175":{"position":[[419,6]]},"1315":{"position":[[1328,6]]},"1316":{"position":[[3417,8]]},"1317":{"position":[[540,8]]},"1318":{"position":[[47,7],[1019,6]]},"1322":{"position":[[515,6]]}},"keywords":{}}],["afford",{"_index":1693,"title":{},"content":{"295":{"position":[[96,10]]}},"keywords":{}}],["afoul",{"_index":1867,"title":{},"content":{"305":{"position":[[121,5]]}},"keywords":{}}],["aftermigratebatch",{"_index":4493,"title":{},"content":{"759":{"position":[[886,18]]},"760":{"position":[[774,18]]}},"keywords":{}}],["aftermigratebatchhandlerinput",{"_index":4494,"title":{},"content":{"759":{"position":[[913,30]]},"760":{"position":[[801,30]]}},"keywords":{}}],["afterward",{"_index":1272,"title":{},"content":{"188":{"position":[[2373,10]]},"411":{"position":[[179,10]]},"698":{"position":[[2667,10]]},"773":{"position":[[423,11]]},"806":{"position":[[712,10]]},"1028":{"position":[[112,10]]},"1052":{"position":[[71,11]]},"1069":{"position":[[425,11]]},"1104":{"position":[[448,10]]}},"keywords":{}}],["afterwards.do",{"_index":4819,"title":{},"content":{"844":{"position":[[153,15]]}},"keywords":{}}],["ag",{"_index":975,"title":{},"content":{"77":{"position":[[244,4]]},"103":{"position":[[284,4]]},"234":{"position":[[344,4]]},"426":{"position":[[323,4]]},"662":{"position":[[2508,4]]},"681":{"position":[[720,4]]},"767":{"position":[[377,3]]},"798":{"position":[[386,3],[445,6],[474,7],[578,4],[717,3],[774,6],[881,7],[929,6]]},"820":{"position":[[573,4],[625,4]]},"821":{"position":[[733,3],[798,3],[828,3]]},"838":{"position":[[2722,4]]},"886":{"position":[[709,3],[2423,3],[3621,4]]},"898":{"position":[[2617,4],[3554,3]]},"1041":{"position":[[307,4],[327,3]]},"1043":{"position":[[99,4]]},"1044":{"position":[[322,4],[342,3],[514,4],[574,4]]},"1045":{"position":[[173,4]]},"1051":{"position":[[287,4]]},"1055":{"position":[[223,4]]},"1056":{"position":[[240,5]]},"1059":{"position":[[258,4],[310,4],[330,3]]},"1060":{"position":[[126,4],[169,4],[188,3]]},"1061":{"position":[[127,4],[231,3]]},"1062":{"position":[[117,3],[183,4]]},"1063":{"position":[[98,4],[141,4],[245,4]]},"1066":{"position":[[384,4],[523,3],[580,6],[687,7],[735,6]]},"1067":{"position":[[323,4],[1317,4],[1480,6],[1584,4],[1996,4],[2140,4]]},"1082":{"position":[[382,4]]},"1083":{"position":[[582,4]]},"1149":{"position":[[1175,4]]},"1249":{"position":[[495,4],[541,4]]},"1294":{"position":[[311,3],[470,3],[561,4],[576,6],[623,3],[1284,3]]},"1296":{"position":[[294,3],[713,4],[1021,4],[1036,6],[1105,4]]},"1311":{"position":[[540,4],[1573,4]]}},"keywords":{}}],["again",{"_index":1332,"title":{},"content":{"206":{"position":[[346,6]]},"309":{"position":[[275,6]]},"412":{"position":[[8329,7]]},"486":{"position":[[384,6]]},"614":{"position":[[914,5]]},"626":{"position":[[804,6],[1070,6]]},"647":{"position":[[143,6],[479,5]]},"697":{"position":[[446,6]]},"698":{"position":[[103,6]]},"700":{"position":[[923,5]]},"702":{"position":[[858,6]]},"783":{"position":[[105,6]]},"799":{"position":[[473,5]]},"817":{"position":[[275,5]]},"875":{"position":[[8934,6]]},"880":{"position":[[319,6]]},"955":{"position":[[202,5]]},"976":{"position":[[251,5]]},"984":{"position":[[63,6]]},"985":{"position":[[461,6]]},"987":{"position":[[968,6]]},"988":{"position":[[5872,6],[6121,6]]},"990":{"position":[[79,5],[452,6]]},"1003":{"position":[[284,5]]},"1030":{"position":[[197,5]]},"1058":{"position":[[512,5]]},"1115":{"position":[[720,5]]},"1198":{"position":[[2341,6]]},"1208":{"position":[[1899,6]]},"1304":{"position":[[1845,6]]},"1308":{"position":[[628,6]]},"1314":{"position":[[584,5]]},"1316":{"position":[[3241,6]]},"1318":{"position":[[246,6],[685,6]]}},"keywords":{}}],["against",{"_index":1554,"title":{},"content":{"251":{"position":[[81,7]]},"630":{"position":[[572,7]]},"699":{"position":[[702,7]]},"711":{"position":[[835,7]]},"778":{"position":[[344,7]]},"886":{"position":[[1817,7]]},"1124":{"position":[[1552,7],[1814,7]]},"1161":{"position":[[62,7]]},"1174":{"position":[[522,7]]},"1180":{"position":[[62,7]]},"1250":{"position":[[42,7]]}},"keywords":{}}],["age+id",{"_index":6456,"title":{},"content":{"1296":{"position":[[335,6]]}},"keywords":{}}],["ageidcustomindex",{"_index":6457,"title":{},"content":{"1296":{"position":[[589,16],[772,16],[1127,18]]}},"keywords":{}}],["agent",{"_index":6056,"title":{},"content":{"1140":{"position":[[154,5]]},"1297":{"position":[[206,5]]}},"keywords":{}}],["aggreg",{"_index":1560,"title":{},"content":{"252":{"position":[[240,10]]},"353":{"position":[[69,13]]},"354":{"position":[[756,13]]},"412":{"position":[[12709,9],[14148,14]]},"418":{"position":[[343,11]]},"698":{"position":[[2678,9]]},"888":{"position":[[288,9],[921,9]]},"889":{"position":[[657,9]]},"1021":{"position":[[96,9]]},"1072":{"position":[[634,12],[931,11],[1049,11]]},"1315":{"position":[[842,9]]},"1322":{"position":[[490,9]]}},"keywords":{}}],["aggress",{"_index":1756,"title":{},"content":{"299":{"position":[[968,10],[1522,12]]}},"keywords":{}}],["agil",{"_index":2087,"title":{},"content":{"362":{"position":[[224,5]]}},"keywords":{}}],["agnost",{"_index":1546,"title":{"351":{"position":[[17,9]]}},"content":{"249":{"position":[[297,8]]},"357":{"position":[[447,8]]},"500":{"position":[[721,9]]}},"keywords":{}}],["ago",{"_index":443,"title":{},"content":{"27":{"position":[[349,3]]},"408":{"position":[[489,4],[1482,4],[5605,4]]},"705":{"position":[[36,3]]}},"keywords":{}}],["ahead",{"_index":2563,"title":{},"content":{"408":{"position":[[4062,6]]}},"keywords":{}}],["ai",{"_index":2505,"title":{},"content":{"404":{"position":[[462,2],[503,2]]}},"keywords":{}}],["ai/mxbai",{"_index":2466,"title":{},"content":{"401":{"position":[[472,8]]}},"keywords":{}}],["aim",{"_index":2302,"title":{},"content":{"394":{"position":[[192,3]]},"410":{"position":[[166,3]]},"510":{"position":[[532,6]]}},"keywords":{}}],["airbag",{"_index":3458,"title":{},"content":{"569":{"position":[[668,8],[772,7]]}},"keywords":{}}],["ajax",{"_index":1915,"title":{},"content":{"320":{"position":[[72,4]]},"574":{"position":[[658,4]]}},"keywords":{}}],["ajv",{"_index":6285,"title":{"1286":{"position":[[9,4]]},"1290":{"position":[[0,3]]}},"content":{"1237":{"position":[[562,5]]},"1286":{"position":[[72,3],[256,5]]},"1287":{"position":[[36,3]]},"1290":{"position":[[47,5],[59,3]]},"1292":{"position":[[356,3],[712,3],[972,3]]}},"keywords":{}}],["ajv.addformat('email",{"_index":6389,"title":{},"content":{"1290":{"position":[[75,22]]}},"keywords":{}}],["aka",{"_index":1625,"title":{},"content":{"269":{"position":[[7,4]]},"367":{"position":[[655,4]]},"502":{"position":[[643,4]]},"619":{"position":[[79,4]]},"1087":{"position":[[18,3]]}},"keywords":{}}],["aklsdjfhaklsdjhf",{"_index":5728,"title":{},"content":{"1051":{"position":[[606,20]]}},"keywords":{}}],["alert",{"_index":3655,"title":{},"content":{"618":{"position":[[673,5]]}},"keywords":{}}],["algorithm",{"_index":982,"title":{"78":{"position":[[48,10]]},"82":{"position":[[12,9]]},"108":{"position":[[48,10]]},"113":{"position":[[12,9]]},"234":{"position":[[48,10]]},"238":{"position":[[12,9]]},"289":{"position":[[17,10]]}},"content":{"78":{"position":[[20,9]]},"82":{"position":[[20,9]]},"108":{"position":[[30,9],[75,9]]},"113":{"position":[[33,9]]},"174":{"position":[[1550,10],[1595,9],[1640,9],[2898,9],[2954,9]]},"218":{"position":[[186,11]]},"223":{"position":[[251,10]]},"234":{"position":[[54,10],[70,9]]},"238":{"position":[[29,9]]},"289":{"position":[[70,9],[154,9],[340,10]]},"369":{"position":[[1238,9]]},"393":{"position":[[526,9]]},"394":{"position":[[1091,11]]},"408":{"position":[[3648,11]]},"411":{"position":[[3424,10]]},"490":{"position":[[463,10],[517,9]]},"504":{"position":[[730,10],[777,10]]},"571":{"position":[[1748,9]]},"717":{"position":[[111,9]]},"718":{"position":[[483,9],[541,10]]},"737":{"position":[[67,9]]},"799":{"position":[[239,9]]},"965":{"position":[[234,9]]},"1065":{"position":[[1652,10]]},"1071":{"position":[[470,9]]},"1083":{"position":[[291,10]]},"1093":{"position":[[214,9]]},"1318":{"position":[[864,9]]}},"keywords":{}}],["alias",{"_index":1131,"title":{},"content":{"141":{"position":[[153,8]]}},"keywords":{}}],["alic",{"_index":2768,"title":{},"content":{"412":{"position":[[13954,5]]},"426":{"position":[[314,8]]},"680":{"position":[[1258,8]]},"810":{"position":[[227,8],[317,7]]},"811":{"position":[[207,8],[297,7]]},"813":{"position":[[284,8]]},"866":{"position":[[720,7]]},"951":{"position":[[332,8]]},"1052":{"position":[[234,8]]},"1056":{"position":[[78,5],[140,7]]},"1316":{"position":[[754,6],[1007,5],[1177,5],[1251,5]]}},"keywords":{}}],["alice@example.com",{"_index":2877,"title":{},"content":{"426":{"position":[[339,19]]}},"keywords":{}}],["align",{"_index":956,"title":{"352":{"position":[[0,7]]}},"content":{"68":{"position":[[112,5]]},"70":{"position":[[129,5]]},"104":{"position":[[43,5]]},"174":{"position":[[521,8]]},"222":{"position":[[213,5]]},"231":{"position":[[88,6]]},"293":{"position":[[371,7]]},"298":{"position":[[737,6]]},"299":{"position":[[845,7]]},"362":{"position":[[32,5]]},"364":{"position":[[147,6]]},"411":{"position":[[5284,6]]},"502":{"position":[[160,5]]},"521":{"position":[[109,5]]},"581":{"position":[[646,6]]},"636":{"position":[[402,6]]},"902":{"position":[[490,6]]}},"keywords":{}}],["aliv",{"_index":3599,"title":{},"content":{"612":{"position":[[1986,7]]},"875":{"position":[[7341,7]]}},"keywords":{}}],["aliveheroes.map(doc",{"_index":3467,"title":{},"content":{"571":{"position":[[1121,19]]}},"keywords":{}}],["allattach",{"_index":5299,"title":{"920":{"position":[[0,17]]},"921":{"position":[[0,16]]}},"content":{},"keywords":{}}],["alldoc",{"_index":6508,"title":{},"content":{"1311":{"position":[[898,7]]}},"keywords":{}}],["alldocs.length",{"_index":6510,"title":{},"content":{"1311":{"position":[[941,15]]}},"keywords":{}}],["alldocsresult",{"_index":4882,"title":{},"content":{"857":{"position":[[281,13]]}},"keywords":{}}],["alldocsresult.foreach(doc",{"_index":4884,"title":{},"content":{"857":{"position":[[340,25]]}},"keywords":{}}],["allhero",{"_index":3428,"title":{},"content":{"562":{"position":[[652,9],[719,11]]}},"keywords":{}}],["alli",{"_index":3219,"title":{},"content":{"501":{"position":[[86,5]]}},"keywords":{}}],["alloc",{"_index":1770,"title":{},"content":{"300":{"position":[[190,9],[356,9]]}},"keywords":{}}],["allot",{"_index":1795,"title":{},"content":{"302":{"position":[[60,8]]}},"keywords":{}}],["allow",{"_index":396,"title":{"1084":{"position":[[4,7]]},"1110":{"position":[[19,8]]}},"content":{"24":{"position":[[115,6],[626,6]]},"34":{"position":[[139,6],[427,8]]},"38":{"position":[[869,5]]},"39":{"position":[[89,8]]},"40":{"position":[[462,6]]},"45":{"position":[[105,6]]},"65":{"position":[[178,6],[890,6],[1628,6]]},"77":{"position":[[39,6]]},"88":{"position":[[29,6]]},"90":{"position":[[125,6]]},"91":{"position":[[68,8]]},"94":{"position":[[156,6]]},"99":{"position":[[332,8]]},"106":{"position":[[6,6]]},"109":{"position":[[48,8]]},"111":{"position":[[33,6]]},"113":{"position":[[139,6]]},"122":{"position":[[72,6]]},"124":{"position":[[85,6]]},"133":{"position":[[68,6]]},"135":{"position":[[51,8]]},"138":{"position":[[36,6]]},"140":{"position":[[36,5]]},"144":{"position":[[55,5]]},"147":{"position":[[199,5]]},"156":{"position":[[197,6]]},"158":{"position":[[178,5]]},"160":{"position":[[32,8]]},"162":{"position":[[457,6]]},"164":{"position":[[62,8]]},"166":{"position":[[115,6]]},"172":{"position":[[278,6]]},"173":{"position":[[507,6],[1818,6],[2356,6],[2798,8]]},"174":{"position":[[988,6],[1842,8],[3131,6]]},"177":{"position":[[78,6]]},"181":{"position":[[254,6]]},"183":{"position":[[153,6]]},"188":{"position":[[1823,5]]},"194":{"position":[[105,6]]},"202":{"position":[[73,6]]},"215":{"position":[[171,8]]},"230":{"position":[[167,8]]},"232":{"position":[[124,8]]},"237":{"position":[[41,8]]},"239":{"position":[[227,6]]},"267":{"position":[[728,8]]},"274":{"position":[[106,6]]},"275":{"position":[[91,6]]},"286":{"position":[[315,6]]},"289":{"position":[[1695,6]]},"292":{"position":[[77,8]]},"298":{"position":[[506,5],[613,5]]},"299":{"position":[[1644,5]]},"303":{"position":[[88,7]]},"323":{"position":[[82,8]]},"338":{"position":[[31,6]]},"351":{"position":[[193,8]]},"357":{"position":[[13,6]]},"360":{"position":[[828,8]]},"364":{"position":[[558,8]]},"369":{"position":[[245,6],[1332,6]]},"379":{"position":[[46,8]]},"383":{"position":[[65,8]]},"390":{"position":[[422,8]]},"391":{"position":[[177,8]]},"392":{"position":[[1213,6],[2401,6],[4877,6]]},"395":{"position":[[77,6],[214,8]]},"396":{"position":[[409,8],[1764,6]]},"398":{"position":[[2920,5]]},"408":{"position":[[977,6],[1658,6],[3497,6],[4106,5]]},"411":{"position":[[5212,5]]},"412":{"position":[[1847,5],[12527,6]]},"424":{"position":[[193,8]]},"433":{"position":[[554,6]]},"445":{"position":[[508,6],[1821,6]]},"452":{"position":[[299,6]]},"453":{"position":[[68,6]]},"454":{"position":[[46,6]]},"455":{"position":[[46,7]]},"459":{"position":[[125,6]]},"470":{"position":[[117,5]]},"481":{"position":[[514,8]]},"502":{"position":[[457,8]]},"514":{"position":[[319,8]]},"518":{"position":[[96,8]]},"541":{"position":[[51,8]]},"574":{"position":[[206,8]]},"602":{"position":[[143,6]]},"610":{"position":[[639,6]]},"611":{"position":[[422,8]]},"612":{"position":[[999,8]]},"613":{"position":[[302,8]]},"616":{"position":[[34,5],[1167,6]]},"617":{"position":[[22,5]]},"618":{"position":[[656,5]]},"636":{"position":[[84,6]]},"682":{"position":[[276,6]]},"687":{"position":[[47,6],[290,7]]},"696":{"position":[[1292,6],[1372,6]]},"701":{"position":[[172,7],[389,5],[823,7],[1035,7]]},"714":{"position":[[726,6]]},"723":{"position":[[2106,6]]},"749":{"position":[[2638,8],[2863,7],[5293,7],[6095,7],[8476,7],[8563,7],[16770,7],[18359,8],[18426,7],[19057,7],[21062,8]]},"759":{"position":[[1421,6]]},"801":{"position":[[618,5]]},"838":{"position":[[664,8]]},"849":{"position":[[20,6]]},"861":{"position":[[1417,5],[2449,5]]},"862":{"position":[[1663,6]]},"863":{"position":[[28,5],[329,5],[484,5]]},"872":{"position":[[2765,6]]},"881":{"position":[[60,7],[112,7]]},"898":{"position":[[4581,6]]},"903":{"position":[[155,6]]},"962":{"position":[[106,6]]},"966":{"position":[[487,7],[809,5]]},"968":{"position":[[777,5]]},"1009":{"position":[[304,7]]},"1065":{"position":[[593,7]]},"1067":{"position":[[950,7],[2223,5]]},"1068":{"position":[[4,5]]},"1079":{"position":[[105,7],[172,5]]},"1101":{"position":[[26,6]]},"1103":{"position":[[156,6]]},"1105":{"position":[[972,7]]},"1106":{"position":[[98,7],[401,5]]},"1110":{"position":[[24,7]]},"1112":{"position":[[560,5]]},"1124":{"position":[[171,6],[799,5],[1934,6]]},"1132":{"position":[[206,8],[621,8],[1408,8]]},"1140":{"position":[[138,6]]},"1150":{"position":[[103,8]]},"1198":{"position":[[1205,6],[1311,7],[1671,6],[1864,6]]},"1206":{"position":[[76,6]]},"1215":{"position":[[671,5]]},"1238":{"position":[[206,6]]},"1246":{"position":[[80,6],[424,6]]},"1271":{"position":[[165,6]]},"1276":{"position":[[106,6]]},"1287":{"position":[[125,7]]},"1297":{"position":[[25,5]]},"1317":{"position":[[236,7],[592,7]]}},"keywords":{}}],["allowslowcount",{"_index":5782,"title":{"1068":{"position":[[0,15]]}},"content":{"1067":{"position":[[2416,15]]},"1068":{"position":[[80,15]]}},"keywords":{}}],["allowslowcount=tru",{"_index":4170,"title":{},"content":{"749":{"position":[[2725,19]]},"1067":{"position":[[2301,19]]}},"keywords":{}}],["allstates.foreach(migrationst",{"_index":4477,"title":{},"content":{"753":{"position":[[336,32]]}},"keywords":{}}],["allstatesobserv",{"_index":4474,"title":{},"content":{"753":{"position":[[236,19]]}},"keywords":{}}],["allstatesobservable.subscribe(allst",{"_index":4476,"title":{},"content":{"753":{"position":[[288,39]]}},"keywords":{}}],["alltask",{"_index":3707,"title":{},"content":{"632":{"position":[[1863,10]]}},"keywords":{}}],["alon",{"_index":583,"title":{"44":{"position":[[67,5]]}},"content":{"37":{"position":[[352,5]]},"228":{"position":[[394,5]]}},"keywords":{}}],["along",{"_index":5164,"title":{},"content":{"889":{"position":[[298,5]]}},"keywords":{}}],["alongsid",{"_index":2236,"title":{},"content":{"392":{"position":[[1396,9]]},"397":{"position":[[39,9]]},"418":{"position":[[629,9]]},"1132":{"position":[[1484,9]]}},"keywords":{}}],["alphahero",{"_index":3427,"title":{},"content":{"562":{"position":[[591,12]]}},"keywords":{}}],["alreadi",{"_index":1204,"title":{"857":{"position":[[30,7]]}},"content":{"173":{"position":[[1667,7]]},"217":{"position":[[95,7]]},"350":{"position":[[312,7]]},"403":{"position":[[146,7]]},"411":{"position":[[2119,7],[2695,8]]},"463":{"position":[[1351,7]]},"626":{"position":[[533,8]]},"653":{"position":[[1168,7]]},"683":{"position":[[971,8]]},"686":{"position":[[11,7],[344,7],[466,7]]},"700":{"position":[[248,7]]},"702":{"position":[[272,7]]},"724":{"position":[[1313,7]]},"749":{"position":[[1435,7],[5030,7],[5627,7],[8778,8],[9336,7],[10731,7],[12216,7],[12420,7],[14306,7],[14585,7]]},"770":{"position":[[564,7]]},"778":{"position":[[583,7]]},"781":{"position":[[585,7]]},"785":{"position":[[475,7]]},"799":{"position":[[325,8]]},"856":{"position":[[218,8]]},"857":{"position":[[42,7]]},"943":{"position":[[140,7]]},"945":{"position":[[398,7]]},"990":{"position":[[170,7]]},"995":{"position":[[255,7],[900,7]]},"1008":{"position":[[230,7]]},"1014":{"position":[[102,7]]},"1088":{"position":[[162,7]]},"1124":{"position":[[2025,7]]},"1151":{"position":[[722,7]]},"1156":{"position":[[86,7]]},"1162":{"position":[[636,7]]},"1165":{"position":[[679,7]]},"1178":{"position":[[721,7]]},"1181":{"position":[[724,7]]},"1222":{"position":[[861,7]]},"1270":{"position":[[364,7]]},"1299":{"position":[[476,7]]},"1301":{"position":[[408,7]]}},"keywords":{}}],["alter",{"_index":3711,"title":{},"content":{"636":{"position":[[62,7]]},"898":{"position":[[1452,5]]}},"keywords":{}}],["altern",{"_index":179,"title":{"12":{"position":[[0,12]]},"13":{"position":[[0,12]]},"59":{"position":[[0,12]]},"199":{"position":[[38,11]]},"200":{"position":[[52,12]]},"246":{"position":[[21,11]]},"247":{"position":[[34,13]]},"256":{"position":[[41,12]]},"290":{"position":[[11,11]]},"546":{"position":[[0,12]]},"606":{"position":[[0,12]]},"688":{"position":[[5,12]]},"709":{"position":[[37,12]]}},"content":{"13":{"position":[[122,13],[320,12]]},"34":{"position":[[371,11],[691,11]]},"186":{"position":[[90,12]]},"219":{"position":[[31,11]]},"251":{"position":[[258,11]]},"255":{"position":[[1812,11]]},"263":{"position":[[42,11]]},"290":{"position":[[97,11]]},"412":{"position":[[1816,14],[12789,11]]},"429":{"position":[[114,11]]},"430":{"position":[[123,12]]},"432":{"position":[[108,12]]},"435":{"position":[[207,12]]},"437":{"position":[[231,11]]},"441":{"position":[[389,12]]},"546":{"position":[[57,11]]},"561":{"position":[[198,11]]},"606":{"position":[[57,11]]},"663":{"position":[[147,13]]},"688":{"position":[[132,11]]},"690":{"position":[[31,11]]},"712":{"position":[[166,12]]},"749":{"position":[[5845,11]]},"772":{"position":[[1084,11]]},"831":{"position":[[71,11]]},"834":{"position":[[172,13]]},"842":{"position":[[281,12]]},"1095":{"position":[[4,11]]},"1124":{"position":[[590,13]]},"1198":{"position":[[1326,12]]},"1277":{"position":[[649,11]]},"1294":{"position":[[130,11]]}},"keywords":{}}],["alternative"",{"_index":367,"title":{},"content":{"22":{"position":[[59,18]]},"243":{"position":[[247,17],[296,17]]},"244":{"position":[[16,17],[1311,17],[1468,17],[1682,17]]}},"keywords":{}}],["alternatives"",{"_index":1514,"title":{},"content":{"244":{"position":[[1228,18]]}},"keywords":{}}],["although",{"_index":633,"title":{},"content":{"40":{"position":[[143,8]]},"356":{"position":[[590,8]]},"624":{"position":[[1496,8]]},"839":{"position":[[1165,8]]},"1072":{"position":[[2019,8]]}},"keywords":{}}],["altogeth",{"_index":3115,"title":{},"content":{"478":{"position":[[298,11]]}},"keywords":{}}],["alway",{"_index":228,"title":{"97":{"position":[[21,6]]}},"content":{"14":{"position":[[842,6]]},"19":{"position":[[592,6]]},"97":{"position":[[61,6]]},"98":{"position":[[83,6]]},"143":{"position":[[367,6]]},"159":{"position":[[325,6]]},"173":{"position":[[2723,6],[2932,6]]},"182":{"position":[[298,6]]},"288":{"position":[[338,6]]},"289":{"position":[[1351,6]]},"300":{"position":[[752,6]]},"398":{"position":[[269,6]]},"408":{"position":[[2466,6]]},"412":{"position":[[4254,6]]},"481":{"position":[[128,6]]},"550":{"position":[[267,6]]},"602":{"position":[[498,6]]},"626":{"position":[[1149,6]]},"644":{"position":[[693,6]]},"688":{"position":[[1042,6]]},"698":{"position":[[745,6]]},"701":{"position":[[1085,6]]},"709":{"position":[[991,6]]},"710":{"position":[[1292,6]]},"723":{"position":[[1216,6]]},"736":{"position":[[134,6]]},"737":{"position":[[99,6],[294,6]]},"749":{"position":[[17903,6],[18024,6]]},"772":{"position":[[415,6]]},"779":{"position":[[279,6]]},"780":{"position":[[202,6]]},"781":{"position":[[851,6]]},"800":{"position":[[108,6],[344,6]]},"804":{"position":[[80,6]]},"808":{"position":[[340,6]]},"816":{"position":[[216,6]]},"898":{"position":[[223,6]]},"905":{"position":[[27,6],[91,6]]},"906":{"position":[[420,6]]},"965":{"position":[[323,6]]},"986":{"position":[[1177,6]]},"987":{"position":[[778,6]]},"988":{"position":[[1206,6]]},"1057":{"position":[[556,6]]},"1058":{"position":[[28,6],[138,6]]},"1065":{"position":[[1539,6],[1830,6]]},"1068":{"position":[[368,6]]},"1072":{"position":[[425,6]]},"1079":{"position":[[499,6]]},"1083":{"position":[[90,6]]},"1084":{"position":[[401,6]]},"1092":{"position":[[521,6]]},"1095":{"position":[[272,6]]},"1100":{"position":[[81,6]]},"1103":{"position":[[90,6]]},"1124":{"position":[[1131,6]]},"1175":{"position":[[485,6]]},"1192":{"position":[[37,6]]},"1208":{"position":[[1822,6]]},"1295":{"position":[[813,6]]},"1296":{"position":[[403,6]]},"1301":{"position":[[1310,6]]},"1305":{"position":[[365,6]]},"1309":{"position":[[989,6]]},"1318":{"position":[[40,6],[1134,6]]},"1321":{"position":[[623,6]]},"1322":{"position":[[347,6]]}},"keywords":{}}],["amazon",{"_index":2645,"title":{},"content":{"411":{"position":[[5646,7]]},"444":{"position":[[623,6]]},"779":{"position":[[30,7]]}},"keywords":{}}],["ambigu",{"_index":2810,"title":{},"content":{"419":{"position":[[1484,10]]}},"keywords":{}}],["amount",{"_index":694,"title":{"782":{"position":[[36,6]]}},"content":{"45":{"position":[[74,7]]},"58":{"position":[[267,6]]},"63":{"position":[[54,7]]},"66":{"position":[[448,6]]},"143":{"position":[[412,7],[519,6],[552,6],[704,6],[737,6],[764,7]]},"265":{"position":[[694,6]]},"298":{"position":[[434,6]]},"317":{"position":[[75,7]]},"398":{"position":[[3222,6],[3255,7],[3315,6]]},"402":{"position":[[1440,6]]},"408":{"position":[[2279,7]]},"424":{"position":[[103,7]]},"430":{"position":[[502,6]]},"451":{"position":[[327,7]]},"452":{"position":[[125,7]]},"477":{"position":[[280,6]]},"533":{"position":[[54,7]]},"559":{"position":[[1026,7]]},"560":{"position":[[246,7],[313,7]]},"566":{"position":[[694,7]]},"593":{"position":[[54,7]]},"617":{"position":[[1381,6],[1502,7],[1783,6]]},"653":{"position":[[568,6]]},"659":{"position":[[726,6]]},"696":{"position":[[289,6]]},"724":{"position":[[1068,6]]},"749":{"position":[[9262,6]]},"752":{"position":[[1193,6],[1251,6]]},"782":{"position":[[274,6],[332,6]]},"784":{"position":[[753,7]]},"821":{"position":[[648,6]]},"835":{"position":[[831,6]]},"838":{"position":[[1120,7]]},"846":{"position":[[653,6]]},"886":{"position":[[1460,6],[2868,6]]},"958":{"position":[[553,6]]},"1067":{"position":[[24,6],[576,6]]},"1134":{"position":[[595,6]]},"1157":{"position":[[302,7]]},"1192":{"position":[[507,7]]},"1222":{"position":[[577,6],[686,6]]},"1237":{"position":[[60,6]]},"1304":{"position":[[1477,6]]},"1311":{"position":[[1728,7]]}},"keywords":{}}],["amountinstock",{"_index":6548,"title":{},"content":{"1316":{"position":[[1105,13]]}},"keywords":{}}],["amp",{"_index":285,"title":{},"content":{"17":{"position":[[30,5]]},"261":{"position":[[668,5]]},"317":{"position":[[193,5]]},"410":{"position":[[13,5],[498,5]]},"412":{"position":[[8937,5]]},"710":{"position":[[1377,5]]},"860":{"position":[[888,5],[1066,5]]},"898":{"position":[[92,5],[1563,5]]},"902":{"position":[[362,5]]},"993":{"position":[[384,5]]},"1132":{"position":[[873,5]]},"1246":{"position":[[2011,5]]}},"keywords":{}}],["amp;&",{"_index":3280,"title":{},"content":{"523":{"position":[[762,10]]},"666":{"position":[[224,10]]},"670":{"position":[[529,10]]},"875":{"position":[[4737,10],[4799,10],[4839,10]]},"990":{"position":[[1255,10],[1293,10]]}},"keywords":{}}],["amp;limit=${batchs",{"_index":1358,"title":{},"content":{"209":{"position":[[1186,26]]}},"keywords":{}}],["ampl",{"_index":1696,"title":{},"content":{"295":{"position":[[303,5]]}},"keywords":{}}],["amplifi",{"_index":303,"title":{"18":{"position":[[4,8]]}},"content":{"18":{"position":[[7,7],[290,7],[406,7]]},"19":{"position":[[25,7],[265,7]]}},"keywords":{}}],["analyt",{"_index":306,"title":{},"content":{"18":{"position":[[176,10]]},"265":{"position":[[902,10]]},"267":{"position":[[851,9],[940,9],[1017,9],[1540,9]]},"353":{"position":[[526,9]]},"354":{"position":[[690,10]]},"375":{"position":[[494,9]]},"412":{"position":[[12719,11]]},"418":{"position":[[403,9]]},"446":{"position":[[993,9]]},"704":{"position":[[502,10]]}},"keywords":{}}],["analytics.legaci",{"_index":2026,"title":{},"content":{"354":{"position":[[904,16]]}},"keywords":{}}],["analyz",{"_index":6569,"title":{},"content":{"1318":{"position":[[543,7]]}},"keywords":{}}],["android",{"_index":567,"title":{},"content":{"36":{"position":[[44,7]]},"177":{"position":[[154,7]]},"269":{"position":[[291,8]]},"287":{"position":[[1163,7]]},"299":{"position":[[1018,7]]},"305":{"position":[[175,7]]},"371":{"position":[[136,7]]},"445":{"position":[[2260,7]]},"446":{"position":[[1371,8]]},"618":{"position":[[73,7]]},"640":{"position":[[356,8]]},"660":{"position":[[511,8]]},"1270":{"position":[[413,9]]},"1278":{"position":[[43,7]]},"1301":{"position":[[1003,7]]}},"keywords":{}}],["angular",{"_index":257,"title":{"44":{"position":[[28,7]]},"46":{"position":[[21,8]]},"48":{"position":[[15,8]]},"55":{"position":[[5,7]]},"56":{"position":[[0,7]]},"115":{"position":[[25,7]]},"116":{"position":[[0,7]]},"117":{"position":[[27,7]]},"126":{"position":[[15,7]]},"127":{"position":[[17,7]]},"128":{"position":[[22,7]]},"130":{"position":[[8,7]]},"142":{"position":[[33,7]]},"145":{"position":[[4,7]]},"286":{"position":[[33,8]]},"493":{"position":[[0,7]]},"673":{"position":[[11,8]]}},"content":{"15":{"position":[[319,8]]},"49":{"position":[[32,7]]},"50":{"position":[[66,7],[457,7]]},"51":{"position":[[960,7],[1045,7]]},"54":{"position":[[4,8]]},"55":{"position":[[1,7]]},"56":{"position":[[39,7],[151,7]]},"61":{"position":[[397,7]]},"94":{"position":[[100,8]]},"116":{"position":[[1,7],[188,7]]},"117":{"position":[[32,7]]},"118":{"position":[[272,7],[418,7]]},"125":{"position":[[87,7]]},"126":{"position":[[54,7]]},"127":{"position":[[107,7]]},"128":{"position":[[19,7],[238,7]]},"129":{"position":[[1,7],[255,8],[466,7],[563,8],[628,7]]},"130":{"position":[[1,7],[255,7]]},"132":{"position":[[29,7],[219,7]]},"133":{"position":[[75,7]]},"136":{"position":[[173,7]]},"137":{"position":[[84,7]]},"138":{"position":[[284,7]]},"140":{"position":[[316,7]]},"142":{"position":[[34,7]]},"143":{"position":[[189,7]]},"144":{"position":[[72,7]]},"145":{"position":[[103,7]]},"148":{"position":[[42,7],[190,7],[487,7]]},"149":{"position":[[445,7]]},"173":{"position":[[2298,8]]},"222":{"position":[[117,8]]},"286":{"position":[[190,8]]},"313":{"position":[[70,7]]},"323":{"position":[[676,7]]},"352":{"position":[[261,7]]},"511":{"position":[[468,7]]},"729":{"position":[[24,7]]},"742":{"position":[[9,7]]},"824":{"position":[[232,8]]},"825":{"position":[[1,7],[22,7],[37,7],[158,9],[523,7],[977,7],[1090,7],[1134,7]]},"910":{"position":[[315,7]]},"1118":{"position":[[213,7]]},"1176":{"position":[[462,8]]},"1202":{"position":[[24,7]]},"1268":{"position":[[309,7]]}},"keywords":{}}],["angular'",{"_index":748,"title":{},"content":{"50":{"position":[[42,9],[259,9]]},"55":{"position":[[156,9]]},"129":{"position":[[165,9]]},"143":{"position":[[1,9]]},"493":{"position":[[3,9]]}},"keywords":{}}],["angular/common",{"_index":4725,"title":{},"content":{"825":{"position":[[622,18]]}},"keywords":{}}],["angular/cor",{"_index":834,"title":{},"content":{"55":{"position":[[278,16],[833,16]]},"673":{"position":[[27,16]]},"825":{"position":[[203,16],[576,16]]}},"keywords":{}}],["angular/core/rxj",{"_index":835,"title":{},"content":{"55":{"position":[[320,19]]},"1118":{"position":[[440,19]]}},"keywords":{}}],["anim",{"_index":1916,"title":{},"content":{"320":{"position":[[266,11]]},"934":{"position":[[866,8]]}},"keywords":{}}],["announc",{"_index":2510,"title":{},"content":{"405":{"position":[[16,12]]},"471":{"position":[[10,12]]},"628":{"position":[[67,12]]}},"keywords":{}}],["anon",{"_index":5193,"title":{},"content":{"897":{"position":[[536,4]]},"898":{"position":[[2816,4]]}},"keywords":{}}],["anoth",{"_index":413,"title":{},"content":{"25":{"position":[[44,7]]},"262":{"position":[[556,7]]},"289":{"position":[[1060,7]]},"303":{"position":[[1050,7],[1205,7],[1362,7]]},"408":{"position":[[3448,7],[4213,7]]},"411":{"position":[[4541,7]]},"412":{"position":[[1624,7],[4038,7]]},"429":{"position":[[628,7]]},"433":{"position":[[1,7]]},"562":{"position":[[1700,7]]},"571":{"position":[[401,7],[448,7]]},"617":{"position":[[734,7]]},"636":{"position":[[187,8]]},"656":{"position":[[122,7]]},"696":{"position":[[734,7],[1737,7]]},"709":{"position":[[630,7]]},"749":{"position":[[4745,7],[5385,7],[8829,8],[15064,7]]},"772":{"position":[[1076,7]]},"775":{"position":[[95,7],[122,7]]},"785":{"position":[[604,7],[632,7]]},"839":{"position":[[12,7]]},"902":{"position":[[94,8]]},"956":{"position":[[158,7]]},"991":{"position":[[160,7]]},"995":{"position":[[240,7],[885,7]]},"1020":{"position":[[64,7]]},"1085":{"position":[[2837,7]]},"1089":{"position":[[1,7]]},"1090":{"position":[[1,7]]},"1195":{"position":[[223,7]]},"1198":{"position":[[664,7],[2108,7]]},"1219":{"position":[[170,7]]},"1230":{"position":[[272,7]]},"1231":{"position":[[171,7]]},"1246":{"position":[[811,7]]},"1296":{"position":[[1702,7]]},"1298":{"position":[[41,7]]},"1300":{"position":[[483,7]]},"1304":{"position":[[1009,7]]}},"keywords":{}}],["answer",{"_index":2175,"title":{},"content":{"387":{"position":[[312,9]]},"412":{"position":[[10298,6]]},"612":{"position":[[540,6]]},"703":{"position":[[1271,6]]},"705":{"position":[[402,6]]},"990":{"position":[[239,9]]},"1220":{"position":[[347,8],[541,6]]},"1249":{"position":[[75,6]]}},"keywords":{}}],["ant",{"_index":4657,"title":{},"content":{"799":{"position":[[219,3]]}},"keywords":{}}],["anticip",{"_index":1387,"title":{},"content":{"212":{"position":[[392,10]]}},"keywords":{}}],["any>>",{"_index":5475,"title":{},"content":{"988":{"position":[[5136,14]]}},"keywords":{}}],["any).embed",{"_index":2411,"title":{},"content":{"398":{"position":[[1548,15],[2701,15]]}},"keywords":{}}],["any).glob",{"_index":4072,"title":{},"content":{"729":{"position":[[342,11]]},"1202":{"position":[[381,11]]}},"keywords":{}}],["any).process",{"_index":4073,"title":{},"content":{"729":{"position":[[375,12]]},"1202":{"position":[[414,12]]}},"keywords":{}}],["anyfield",{"_index":4543,"title":{},"content":{"768":{"position":[[347,8]]}},"keywords":{}}],["anymor",{"_index":448,"title":{},"content":{"27":{"position":[[434,8]]},"28":{"position":[[579,8],[723,7]]},"837":{"position":[[657,8]]},"1026":{"position":[[184,8]]},"1313":{"position":[[428,7]]}},"keywords":{}}],["anyon",{"_index":6523,"title":{},"content":{"1313":{"position":[[631,6]]}},"keywords":{}}],["anyth",{"_index":2098,"title":{},"content":{"362":{"position":[[633,8]]},"454":{"position":[[1054,8]]},"625":{"position":[[90,8]]},"659":{"position":[[957,8]]},"668":{"position":[[189,9]]},"699":{"position":[[508,8],[587,8]]},"752":{"position":[[553,8]]},"772":{"position":[[1279,8]]},"806":{"position":[[644,8]]},"835":{"position":[[1021,8]]},"838":{"position":[[787,8]]},"886":{"position":[[4436,8]]},"981":{"position":[[756,8]]},"985":{"position":[[312,8]]},"1088":{"position":[[655,9]]},"1257":{"position":[[129,8]]},"1313":{"position":[[559,8]]},"1321":{"position":[[294,9]]}},"keywords":{}}],["anyvalu",{"_index":4545,"title":{},"content":{"768":{"position":[[391,11]]}},"keywords":{}}],["anyway",{"_index":345,"title":{},"content":{"19":{"position":[[1086,7]]},"614":{"position":[[890,6]]},"616":{"position":[[362,7]]},"626":{"position":[[243,7]]},"740":{"position":[[315,8]]},"1126":{"position":[[872,6]]},"1164":{"position":[[444,6]]}},"keywords":{}}],["apach",{"_index":376,"title":{},"content":{"23":{"position":[[3,6]]},"837":{"position":[[70,6]]}},"keywords":{}}],["apart",{"_index":1881,"title":{},"content":{"310":{"position":[[317,5]]}},"keywords":{}}],["api",{"_index":308,"title":{"424":{"position":[[25,5]]},"431":{"position":[[40,3]]},"433":{"position":[[12,3]]},"449":{"position":[[22,4]]},"601":{"position":[[46,4]]},"613":{"position":[[25,5]]},"659":{"position":[[12,4]]},"718":{"position":[[17,4]]},"911":{"position":[[34,3]]},"1145":{"position":[[40,3]]},"1159":{"position":[[25,3]]},"1208":{"position":[[13,3]]},"1215":{"position":[[38,3]]}},"content":{"18":{"position":[[194,4]]},"24":{"position":[[80,4],[807,4]]},"27":{"position":[[207,4]]},"33":{"position":[[76,3]]},"35":{"position":[[103,4]]},"45":{"position":[[37,3],[270,3]]},"47":{"position":[[155,4],[310,4],[445,4],[714,4]]},"100":{"position":[[254,4]]},"120":{"position":[[243,3]]},"126":{"position":[[280,3]]},"128":{"position":[[278,3]]},"131":{"position":[[154,3],[437,3],[499,3],[673,3]]},"139":{"position":[[79,4]]},"155":{"position":[[105,3]]},"181":{"position":[[103,4],[143,3]]},"209":{"position":[[705,5]]},"222":{"position":[[191,4]]},"227":{"position":[[228,4]]},"245":{"position":[[71,3]]},"249":{"position":[[266,3]]},"255":{"position":[[1057,5]]},"291":{"position":[[492,3]]},"300":{"position":[[102,4]]},"303":{"position":[[248,4]]},"320":{"position":[[26,3]]},"336":{"position":[[282,3]]},"366":{"position":[[526,3]]},"381":{"position":[[458,5]]},"387":{"position":[[47,5]]},"392":{"position":[[5069,4]]},"408":{"position":[[1499,4],[1528,3],[1598,4],[3822,4],[4096,4]]},"411":{"position":[[1104,3]]},"424":{"position":[[18,3],[372,3]]},"425":{"position":[[113,3]]},"427":{"position":[[131,4],[218,4]]},"429":{"position":[[58,3]]},"433":{"position":[[52,5],[63,3],[298,3],[532,4],[598,3]]},"434":{"position":[[231,4]]},"435":{"position":[[132,3]]},"437":{"position":[[47,3]]},"438":{"position":[[291,3]]},"439":{"position":[[74,4],[291,3],[375,3],[558,3],[655,3]]},"440":{"position":[[56,3],[245,4]]},"441":{"position":[[493,4]]},"449":{"position":[[51,5]]},"450":{"position":[[808,4]]},"451":{"position":[[18,3],[121,3],[530,3],[736,4]]},"452":{"position":[[103,3],[168,3]]},"453":{"position":[[59,3]]},"454":{"position":[[627,5],[820,3],[946,5]]},"455":{"position":[[18,3],[381,3]]},"456":{"position":[[45,5]]},"457":{"position":[[427,4],[588,3]]},"458":{"position":[[482,4],[636,3],[925,3],[1091,3],[1364,3]]},"460":{"position":[[312,3],[444,3],[1003,5]]},"463":{"position":[[37,4],[230,4]]},"466":{"position":[[353,3]]},"504":{"position":[[150,3]]},"514":{"position":[[174,3]]},"521":{"position":[[91,3]]},"524":{"position":[[924,4]]},"533":{"position":[[26,3]]},"535":{"position":[[48,3],[134,4],[388,4],[709,4],[754,3]]},"546":{"position":[[144,3]]},"551":{"position":[[476,3]]},"554":{"position":[[188,3]]},"556":{"position":[[1157,4]]},"559":{"position":[[36,3]]},"560":{"position":[[220,3]]},"566":{"position":[[304,3]]},"567":{"position":[[920,3]]},"580":{"position":[[256,4]]},"581":{"position":[[288,3],[580,4]]},"590":{"position":[[247,3],[477,3]]},"593":{"position":[[26,3]]},"595":{"position":[[48,3],[134,4],[416,4],[730,4],[775,3]]},"606":{"position":[[144,3]]},"611":{"position":[[942,3]]},"612":{"position":[[932,3]]},"613":{"position":[[32,3],[949,3]]},"614":{"position":[[68,3]]},"616":{"position":[[751,4],[1037,4]]},"617":{"position":[[1667,4]]},"656":{"position":[[427,3]]},"659":{"position":[[43,3],[360,3],[696,3],[936,3]]},"660":{"position":[[45,4]]},"697":{"position":[[66,5]]},"703":{"position":[[267,3]]},"709":{"position":[[114,4],[914,4],[1213,4]]},"717":{"position":[[227,3],[398,3]]},"736":{"position":[[201,3],[500,3]]},"830":{"position":[[143,5]]},"835":{"position":[[98,4]]},"837":{"position":[[59,3]]},"839":{"position":[[356,4]]},"860":{"position":[[150,5]]},"873":{"position":[[129,3]]},"882":{"position":[[99,4],[144,3]]},"899":{"position":[[13,3]]},"904":{"position":[[482,3],[2884,4],[3033,4]]},"911":{"position":[[60,5],[453,3]]},"917":{"position":[[438,3]]},"932":{"position":[[573,4],[630,3]]},"968":{"position":[[137,3]]},"1124":{"position":[[1248,3]]},"1132":{"position":[[100,4]]},"1134":{"position":[[232,3],[367,3]]},"1139":{"position":[[26,4]]},"1140":{"position":[[21,3]]},"1143":{"position":[[638,3]]},"1145":{"position":[[26,4]]},"1149":{"position":[[377,5]]},"1159":{"position":[[24,3]]},"1177":{"position":[[221,4]]},"1204":{"position":[[222,4]]},"1206":{"position":[[67,3]]},"1207":{"position":[[60,3],[320,3],[642,4]]},"1208":{"position":[[10,3],[380,3],[1975,3]]},"1209":{"position":[[40,3]]},"1211":{"position":[[55,3]]},"1214":{"position":[[41,3],[272,3],[361,3],[742,4],[1048,4]]},"1215":{"position":[[83,3],[154,3],[303,4]]},"1216":{"position":[[25,3]]},"1232":{"position":[[18,3]]},"1242":{"position":[[82,4]]},"1244":{"position":[[55,4]]},"1272":{"position":[[43,4]]},"1274":{"position":[[495,4]]},"1278":{"position":[[691,4]]},"1279":{"position":[[882,4]]},"1282":{"position":[[50,3]]},"1292":{"position":[[248,3]]},"1301":{"position":[[917,3],[1163,3]]},"1320":{"position":[[100,5]]}},"keywords":{}}],["api"",{"_index":2958,"title":{},"content":{"452":{"position":[[58,9]]}},"keywords":{}}],["api.avoid",{"_index":1386,"title":{},"content":{"212":{"position":[[359,9]]}},"keywords":{}}],["api.indexeddb",{"_index":1181,"title":{},"content":{"162":{"position":[[219,13]]},"524":{"position":[[277,13]]},"581":{"position":[[186,13]]}},"keywords":{}}],["api/voxels/pull?chunkid=${chunkid}&cp=${checkpoint}&limit=${limit",{"_index":5570,"title":{},"content":{"1007":{"position":[[1530,77]]}},"keywords":{}}],["api/voxels/pull?chunkid=123",{"_index":5560,"title":{},"content":{"1007":{"position":[[554,29]]}},"keywords":{}}],["api/voxels/push?chunkid=123",{"_index":5561,"title":{},"content":{"1007":{"position":[[624,30]]}},"keywords":{}}],["apiduckdb",{"_index":6469,"title":{},"content":{"1299":{"position":[[576,9]]}},"keywords":{}}],["apiin",{"_index":3970,"title":{},"content":{"703":{"position":[[493,5]]}},"keywords":{}}],["apivers",{"_index":4565,"title":{},"content":{"772":{"position":[[844,11]]},"774":{"position":[[772,11]]},"1133":{"position":[[568,10]]},"1134":{"position":[[413,11]]}},"keywords":{}}],["apollo",{"_index":578,"title":{"37":{"position":[[0,7]]}},"content":{"37":{"position":[[5,6]]}},"keywords":{}}],["apolog",{"_index":6090,"title":{},"content":{"1151":{"position":[[333,9]]},"1178":{"position":[[332,9]]}},"keywords":{}}],["app",{"_index":264,"title":{"44":{"position":[[36,5]]},"128":{"position":[[30,4]]},"204":{"position":[[36,5]]},"268":{"position":[[44,4]]},"269":{"position":[[22,6]]},"270":{"position":[[38,4]]},"271":{"position":[[53,5]]},"284":{"position":[[30,4]]},"348":{"position":[[50,3]]},"359":{"position":[[45,5]]},"409":{"position":[[39,4]]},"446":{"position":[[29,3]]},"488":{"position":[[23,4]]},"495":{"position":[[27,5]]},"499":{"position":[[39,4]]},"500":{"position":[[26,4]]},"503":{"position":[[32,4]]},"532":{"position":[[28,4]]},"558":{"position":[[62,4]]},"592":{"position":[[26,4]]},"618":{"position":[[40,5]]},"629":{"position":[[25,4]]},"631":{"position":[[43,5]]},"783":{"position":[[7,4]]},"980":{"position":[[44,4]]},"1282":{"position":[[39,5]]}},"content":{"15":{"position":[[506,3]]},"18":{"position":[[436,3]]},"38":{"position":[[98,5]]},"46":{"position":[[36,3]]},"51":{"position":[[349,5]]},"59":{"position":[[219,3]]},"112":{"position":[[131,4]]},"148":{"position":[[351,5]]},"151":{"position":[[373,4]]},"172":{"position":[[204,4]]},"174":{"position":[[2737,4]]},"178":{"position":[[170,3],[428,4]]},"201":{"position":[[228,3]]},"204":{"position":[[196,3]]},"207":{"position":[[113,3]]},"215":{"position":[[336,4]]},"239":{"position":[[168,4]]},"244":{"position":[[849,3]]},"251":{"position":[[226,5]]},"253":{"position":[[81,3],[168,3]]},"254":{"position":[[103,3],[178,4]]},"262":{"position":[[54,3]]},"269":{"position":[[29,4],[112,3],[319,4]]},"270":{"position":[[88,5],[100,4]]},"271":{"position":[[91,5],[322,5]]},"273":{"position":[[261,3]]},"274":{"position":[[118,3]]},"277":{"position":[[265,3]]},"278":{"position":[[258,3]]},"280":{"position":[[225,3],[468,4]]},"284":{"position":[[43,3]]},"285":{"position":[[363,4]]},"286":{"position":[[174,3]]},"287":{"position":[[1281,5]]},"289":{"position":[[1190,3]]},"292":{"position":[[376,3]]},"294":{"position":[[220,3],[272,3]]},"300":{"position":[[22,3],[808,3]]},"301":{"position":[[703,3]]},"302":{"position":[[44,3],[566,4]]},"303":{"position":[[29,3]]},"309":{"position":[[174,3]]},"312":{"position":[[98,3]]},"314":{"position":[[1111,3]]},"330":{"position":[[21,3]]},"346":{"position":[[579,3]]},"354":{"position":[[817,3]]},"359":{"position":[[106,5]]},"360":{"position":[[529,3]]},"365":{"position":[[125,3],[507,3]]},"371":{"position":[[12,3],[316,5]]},"375":{"position":[[88,4],[179,4],[906,4],[937,3]]},"380":{"position":[[336,5]]},"384":{"position":[[264,3],[321,4]]},"388":{"position":[[440,3]]},"392":{"position":[[2094,3],[2256,3]]},"393":{"position":[[670,4]]},"399":{"position":[[120,4],[385,3]]},"403":{"position":[[244,3]]},"407":{"position":[[402,3],[538,4]]},"408":{"position":[[231,4],[1282,4],[1438,4],[1669,4],[3423,3]]},"409":{"position":[[210,4],[285,3]]},"410":{"position":[[161,4],[662,3],[1031,3],[1186,3],[1319,3],[1352,3],[1472,5],[1602,4]]},"411":{"position":[[845,5],[2093,4],[3094,4],[4049,3],[4483,4],[4829,3],[4915,4],[5511,4]]},"412":{"position":[[1522,4],[4154,3],[4213,5],[6159,3],[6338,4],[7136,3],[8239,3],[8405,3],[8482,4],[8778,4],[8953,3],[8977,3],[9414,3],[9607,3],[10099,4],[10165,3],[11036,3],[11111,4],[11189,4],[11412,3],[11475,3],[11883,3],[12095,5],[14064,3],[14709,3],[15411,4]]},"414":{"position":[[14,4],[269,4]]},"416":{"position":[[428,3]]},"418":{"position":[[123,4],[526,4],[839,3]]},"419":{"position":[[42,4],[239,4]]},"420":{"position":[[106,4],[1376,5],[1434,5]]},"421":{"position":[[314,4],[538,5],[968,4]]},"445":{"position":[[385,3],[1679,3],[1742,3],[2115,3]]},"446":{"position":[[141,4],[955,4],[1121,3]]},"447":{"position":[[205,3],[318,5],[620,3]]},"454":{"position":[[378,4]]},"458":{"position":[[38,3],[121,3]]},"460":{"position":[[135,3]]},"463":{"position":[[170,3]]},"468":{"position":[[597,3],[667,4]]},"476":{"position":[[1,4]]},"477":{"position":[[18,4]]},"478":{"position":[[9,4]]},"479":{"position":[[346,4]]},"483":{"position":[[52,3]]},"486":{"position":[[236,5]]},"489":{"position":[[645,3]]},"496":{"position":[[399,4]]},"497":{"position":[[46,5]]},"500":{"position":[[17,4],[110,3],[239,5],[439,3]]},"503":{"position":[[41,4]]},"510":{"position":[[80,4]]},"511":{"position":[[461,3]]},"524":{"position":[[1027,4]]},"535":{"position":[[331,3]]},"538":{"position":[[253,4],[650,5]]},"556":{"position":[[1613,3]]},"559":{"position":[[1600,3]]},"562":{"position":[[1029,5],[1647,3]]},"567":{"position":[[1027,5]]},"582":{"position":[[81,3]]},"584":{"position":[[237,4]]},"590":{"position":[[846,5]]},"595":{"position":[[344,3],[843,3]]},"598":{"position":[[252,4],[657,5]]},"612":{"position":[[1742,4],[1785,3]]},"617":{"position":[[1816,4],[1907,3]]},"627":{"position":[[227,3]]},"630":{"position":[[661,4]]},"632":{"position":[[2759,3]]},"636":{"position":[[12,4],[342,3]]},"660":{"position":[[17,4]]},"661":{"position":[[622,5],[1488,4]]},"662":{"position":[[82,5],[494,4],[1167,4],[1328,4]]},"690":{"position":[[253,3]]},"699":{"position":[[670,4]]},"700":{"position":[[18,3],[214,4],[829,3]]},"701":{"position":[[21,3]]},"702":{"position":[[23,4]]},"703":{"position":[[43,4],[1300,4]]},"704":{"position":[[196,4],[482,3]]},"709":{"position":[[314,4]]},"710":{"position":[[161,4]]},"715":{"position":[[241,3],[329,3]]},"716":{"position":[[382,3]]},"723":{"position":[[1462,3],[1752,3],[1902,3]]},"778":{"position":[[311,5]]},"783":{"position":[[340,5],[377,5]]},"784":{"position":[[365,5],[849,4]]},"785":{"position":[[213,4],[448,5]]},"800":{"position":[[8,3]]},"825":{"position":[[707,4]]},"829":{"position":[[1398,3],[1863,4]]},"836":{"position":[[1166,5],[1911,3]]},"838":{"position":[[678,3]]},"854":{"position":[[238,3]]},"860":{"position":[[1220,4]]},"871":{"position":[[718,4]]},"873":{"position":[[93,4]]},"875":{"position":[[1116,3],[1237,3]]},"897":{"position":[[464,5]]},"898":{"position":[[2787,4]]},"901":{"position":[[104,4]]},"902":{"position":[[698,4]]},"904":{"position":[[98,3],[2142,4],[2205,4]]},"964":{"position":[[467,4],[482,3],[514,3]]},"981":{"position":[[1303,5]]},"988":{"position":[[403,3]]},"995":{"position":[[597,3],[1050,3],[1177,3],[1360,3]]},"1009":{"position":[[733,4],[923,3]]},"1102":{"position":[[153,4]]},"1126":{"position":[[70,4]]},"1174":{"position":[[48,3]]},"1183":{"position":[[216,3],[480,4]]},"1214":{"position":[[958,3]]},"1237":{"position":[[30,3]]},"1270":{"position":[[267,4],[449,4]]},"1301":{"position":[[61,4],[97,3]]},"1316":{"position":[[21,4],[387,4]]},"1322":{"position":[[12,4]]}},"keywords":{}}],["app"",{"_index":1489,"title":{},"content":{"244":{"position":[[406,9],[1044,9],[1078,9]]}},"keywords":{}}],["app'",{"_index":1632,"title":{},"content":{"273":{"position":[[103,5]]},"275":{"position":[[103,5]]},"276":{"position":[[76,5],[348,5]]},"277":{"position":[[117,5]]},"279":{"position":[[491,5]]},"282":{"position":[[374,5]]},"285":{"position":[[267,5]]},"287":{"position":[[262,5]]},"291":{"position":[[87,5]]},"292":{"position":[[249,5]]},"1072":{"position":[[1159,5]]}},"keywords":{}}],["app.component.t",{"_index":753,"title":{},"content":{"50":{"position":[[184,16]]},"129":{"position":[[681,16]]}},"keywords":{}}],["app.get('/ev",{"_index":3596,"title":{},"content":{"612":{"position":[[1841,18]]}},"keywords":{}}],["app.get('/list",{"_index":4659,"title":{},"content":{"799":{"position":[[520,16],[752,16]]}},"keywords":{}}],["app.get('/pul",{"_index":4990,"title":{},"content":{"875":{"position":[[2070,16]]}},"keywords":{}}],["app.get('/pullstream",{"_index":5042,"title":{},"content":{"875":{"position":[[7221,22]]}},"keywords":{}}],["app.get('/push",{"_index":5018,"title":{},"content":{"875":{"position":[[4438,16]]}},"keywords":{}}],["app.listen(80",{"_index":4986,"title":{},"content":{"875":{"position":[[1190,14]]}},"keywords":{}}],["app.listen(port",{"_index":3614,"title":{},"content":{"612":{"position":[[2480,16]]}},"keywords":{}}],["app.on('readi",{"_index":3930,"title":{},"content":{"693":{"position":[[853,15]]}},"keywords":{}}],["app.th",{"_index":2844,"title":{},"content":{"420":{"position":[[1305,7]]}},"keywords":{}}],["app.use(express.json",{"_index":4985,"title":{},"content":{"875":{"position":[[1133,24]]}},"keywords":{}}],["appa",{"_index":3211,"title":{},"content":{"498":{"position":[[247,4]]}},"keywords":{}}],["appeal",{"_index":1233,"title":{},"content":{"177":{"position":[[302,9]]},"362":{"position":[[135,9]]},"387":{"position":[[421,9]]},"407":{"position":[[801,9]]}},"keywords":{}}],["appear",{"_index":3560,"title":{},"content":{"610":{"position":[[1168,6]]},"624":{"position":[[361,6]]},"751":{"position":[[1891,6]]},"847":{"position":[[16,6]]},"988":{"position":[[2746,8]]},"1300":{"position":[[743,8]]},"1307":{"position":[[338,7],[438,8]]},"1308":{"position":[[24,7]]},"1316":{"position":[[2890,6]]}},"keywords":{}}],["append",{"_index":1946,"title":{},"content":{"335":{"position":[[365,6]]},"464":{"position":[[1052,6]]},"698":{"position":[[2644,6]]},"1065":{"position":[[1546,6],[1837,6]]},"1079":{"position":[[506,6]]}},"keywords":{}}],["appl",{"_index":3940,"title":{},"content":{"697":{"position":[[116,5]]}},"keywords":{}}],["appli",{"_index":1192,"title":{},"content":{"169":{"position":[[86,8]]},"299":{"position":[[1155,8]]},"347":{"position":[[533,5]]},"362":{"position":[[1604,5]]},"409":{"position":[[148,7]]},"591":{"position":[[762,5]]},"636":{"position":[[326,7]]},"681":{"position":[[505,7]]},"682":{"position":[[35,7]]},"698":{"position":[[993,7]]},"818":{"position":[[372,5]]},"832":{"position":[[343,7]]},"886":{"position":[[4428,7]]},"937":{"position":[[93,7]]},"1009":{"position":[[66,7]]},"1140":{"position":[[224,8]]},"1301":{"position":[[1204,5]]},"1307":{"position":[[854,8]]},"1317":{"position":[[283,7]]}},"keywords":{}}],["applic",{"_index":182,"title":{"12":{"position":[[51,12]]},"76":{"position":[[45,13]]},"90":{"position":[[19,12]]},"93":{"position":[[15,11]]},"107":{"position":[[45,13]]},"115":{"position":[[33,11]]},"116":{"position":[[12,13]]},"117":{"position":[[35,13]]},"127":{"position":[[25,12]]},"142":{"position":[[41,13]]},"150":{"position":[[36,12]]},"151":{"position":[[16,12]]},"152":{"position":[[35,13]]},"173":{"position":[[24,13]]},"174":{"position":[[47,13]]},"176":{"position":[[32,11]]},"177":{"position":[[27,13]]},"178":{"position":[[35,13]]},"187":{"position":[[24,12]]},"213":{"position":[[70,12]]},"217":{"position":[[18,11]]},"221":{"position":[[18,12]]},"225":{"position":[[61,12]]},"230":{"position":[[45,13]]},"264":{"position":[[55,12]]},"278":{"position":[[42,12]]},"319":{"position":[[31,11]]},"320":{"position":[[11,13]]},"321":{"position":[[34,13]]},"332":{"position":[[23,12]]},"346":{"position":[[40,13]]},"368":{"position":[[32,13]]},"374":{"position":[[80,12]]},"378":{"position":[[37,13]]},"423":{"position":[[29,13]]},"443":{"position":[[46,12]]},"512":{"position":[[29,12]]},"522":{"position":[[22,12]]},"571":{"position":[[24,13]]},"573":{"position":[[28,11]]},"574":{"position":[[8,12]]},"1009":{"position":[[39,12]]},"1312":{"position":[[7,12]]}},"content":{"14":{"position":[[74,13]]},"15":{"position":[[81,13]]},"17":{"position":[[229,11]]},"18":{"position":[[90,13]]},"25":{"position":[[94,13]]},"26":{"position":[[294,13]]},"34":{"position":[[741,13]]},"37":{"position":[[77,12],[377,11]]},"38":{"position":[[577,11]]},"46":{"position":[[180,11]]},"47":{"position":[[366,11]]},"49":{"position":[[40,11]]},"56":{"position":[[47,11]]},"61":{"position":[[405,13]]},"64":{"position":[[208,13]]},"65":{"position":[[252,11],[631,12],[759,13],[787,13],[902,11],[1218,12],[1281,11],[1405,12],[1445,11],[1568,12],[2066,12]]},"66":{"position":[[530,12]]},"67":{"position":[[112,12]]},"68":{"position":[[156,13]]},"69":{"position":[[114,13]]},"70":{"position":[[157,13]]},"72":{"position":[[139,11]]},"73":{"position":[[152,13]]},"76":{"position":[[56,13]]},"80":{"position":[[5,12]]},"83":{"position":[[182,12],[411,12]]},"87":{"position":[[172,11]]},"88":{"position":[[147,12]]},"89":{"position":[[106,12],[277,13]]},"90":{"position":[[51,12]]},"91":{"position":[[279,12]]},"92":{"position":[[232,12]]},"93":{"position":[[49,11],[136,11]]},"98":{"position":[[127,13]]},"99":{"position":[[345,11]]},"100":{"position":[[55,13],[136,13]]},"101":{"position":[[95,13]]},"102":{"position":[[131,13]]},"105":{"position":[[166,12]]},"107":{"position":[[64,13]]},"109":{"position":[[34,13],[141,12],[202,11]]},"110":{"position":[[206,11]]},"114":{"position":[[555,13],[676,12]]},"116":{"position":[[123,12],[287,13]]},"117":{"position":[[40,12],[205,11]]},"118":{"position":[[280,12]]},"122":{"position":[[92,12],[311,12]]},"123":{"position":[[163,11]]},"125":{"position":[[95,11]]},"126":{"position":[[62,13],[318,12]]},"127":{"position":[[115,12]]},"128":{"position":[[27,12],[246,11]]},"132":{"position":[[37,11],[227,11]]},"133":{"position":[[83,12],[305,12]]},"136":{"position":[[181,12]]},"137":{"position":[[92,12]]},"138":{"position":[[292,12]]},"140":{"position":[[324,12]]},"142":{"position":[[42,12]]},"145":{"position":[[301,12]]},"146":{"position":[[267,11]]},"148":{"position":[[50,13],[198,12],[253,12],[373,13],[406,13]]},"151":{"position":[[94,12],[151,11],[388,12],[461,13]]},"152":{"position":[[8,12],[227,13]]},"153":{"position":[[114,13],[297,12]]},"156":{"position":[[224,12]]},"157":{"position":[[51,12],[313,11]]},"158":{"position":[[184,12]]},"159":{"position":[[312,12]]},"160":{"position":[[41,12]]},"161":{"position":[[44,13],[383,13]]},"164":{"position":[[71,12],[162,12]]},"165":{"position":[[417,13]]},"166":{"position":[[327,13]]},"167":{"position":[[353,13]]},"168":{"position":[[139,12]]},"169":{"position":[[255,12]]},"170":{"position":[[68,13],[156,13],[305,12],[564,12]]},"172":{"position":[[100,12]]},"173":{"position":[[22,13],[109,12],[862,12],[946,12],[1456,11],[1520,11],[1625,11],[1850,11],[2887,11],[3235,12]]},"174":{"position":[[101,13],[1245,13],[1328,13],[1876,11],[2228,12]]},"175":{"position":[[481,13],[711,13]]},"177":{"position":[[129,12],[327,13]]},"178":{"position":[[40,12],[334,11]]},"179":{"position":[[250,13],[436,12]]},"180":{"position":[[53,12]]},"183":{"position":[[78,12]]},"184":{"position":[[63,13]]},"186":{"position":[[47,13],[411,13]]},"187":{"position":[[100,12]]},"188":{"position":[[82,12],[2027,12]]},"189":{"position":[[736,12]]},"192":{"position":[[398,13]]},"198":{"position":[[67,13],[256,13],[408,12],[529,11]]},"201":{"position":[[134,11]]},"203":{"position":[[293,11]]},"204":{"position":[[319,12]]},"206":{"position":[[221,11]]},"207":{"position":[[207,12]]},"215":{"position":[[124,12],[208,11],[316,12]]},"216":{"position":[[109,12],[269,12]]},"217":{"position":[[52,11],[188,12],[323,12]]},"219":{"position":[[168,11],[375,12]]},"220":{"position":[[257,12]]},"221":{"position":[[10,12],[167,12]]},"224":{"position":[[295,12]]},"225":{"position":[[175,13]]},"226":{"position":[[224,12]]},"227":{"position":[[149,13]]},"228":{"position":[[110,12]]},"229":{"position":[[213,13]]},"230":{"position":[[47,13]]},"231":{"position":[[274,13]]},"232":{"position":[[66,13]]},"234":{"position":[[283,13]]},"239":{"position":[[116,12]]},"241":{"position":[[72,13],[473,12]]},"248":{"position":[[35,11],[129,11]]},"254":{"position":[[143,12],[530,11]]},"265":{"position":[[332,12],[866,12]]},"266":{"position":[[196,12],[525,13],[1106,13]]},"267":{"position":[[63,13],[115,12],[271,12],[1219,12],[1481,13]]},"269":{"position":[[154,13]]},"270":{"position":[[58,12]]},"271":{"position":[[231,13]]},"274":{"position":[[71,13]]},"278":{"position":[[76,13]]},"280":{"position":[[45,12]]},"282":{"position":[[43,11]]},"287":{"position":[[830,12],[1131,13]]},"288":{"position":[[82,11]]},"289":{"position":[[356,11],[1318,12],[1483,12]]},"290":{"position":[[56,13]]},"291":{"position":[[358,12]]},"292":{"position":[[91,11]]},"293":{"position":[[52,11]]},"309":{"position":[[52,13]]},"320":{"position":[[287,12]]},"321":{"position":[[28,12]]},"323":{"position":[[187,11],[561,11]]},"325":{"position":[[230,13]]},"326":{"position":[[131,12]]},"327":{"position":[[101,11]]},"338":{"position":[[50,11]]},"343":{"position":[[88,11]]},"350":{"position":[[299,12]]},"353":{"position":[[20,12],[225,12],[602,11]]},"354":{"position":[[117,13]]},"358":{"position":[[257,11]]},"362":{"position":[[182,12]]},"365":{"position":[[45,12],[184,12],[349,11],[558,12],[674,12],[716,11],[808,13],[956,13],[1129,12],[1146,12]]},"366":{"position":[[299,11]]},"367":{"position":[[51,12]]},"368":{"position":[[59,13]]},"369":{"position":[[455,11],[539,11],[790,12]]},"370":{"position":[[101,13]]},"371":{"position":[[151,13]]},"373":{"position":[[72,13],[488,12]]},"375":{"position":[[435,12],[576,12]]},"376":{"position":[[77,12],[535,12]]},"378":{"position":[[110,13]]},"379":{"position":[[226,11]]},"382":{"position":[[230,11]]},"383":{"position":[[248,12],[463,11]]},"384":{"position":[[393,11]]},"385":{"position":[[237,12]]},"386":{"position":[[93,12]]},"388":{"position":[[373,13]]},"390":{"position":[[1191,13]]},"393":{"position":[[425,12]]},"396":{"position":[[1488,13]]},"408":{"position":[[747,11]]},"410":{"position":[[1894,11]]},"412":{"position":[[6021,12]]},"419":{"position":[[833,12]]},"422":{"position":[[433,11]]},"427":{"position":[[337,11],[1054,12]]},"430":{"position":[[196,11],[871,12],[953,11]]},"432":{"position":[[1194,12]]},"434":{"position":[[416,13]]},"435":{"position":[[338,12]]},"437":{"position":[[280,13]]},"441":{"position":[[208,11],[686,13]]},"444":{"position":[[109,13]]},"445":{"position":[[342,13],[522,12],[916,12],[2211,12]]},"446":{"position":[[15,13],[57,12],[174,12],[452,12],[776,13],[861,12],[1100,13],[1236,13]]},"447":{"position":[[83,13],[455,12],[708,13]]},"453":{"position":[[79,12],[172,12],[623,11]]},"457":{"position":[[30,12]]},"462":{"position":[[257,11]]},"473":{"position":[[159,11]]},"474":{"position":[[1,12]]},"486":{"position":[[282,11]]},"489":{"position":[[67,11]]},"491":{"position":[[54,12]]},"500":{"position":[[345,13]]},"501":{"position":[[161,13]]},"502":{"position":[[92,13],[1353,12]]},"506":{"position":[[158,12]]},"510":{"position":[[39,11]]},"513":{"position":[[112,13]]},"516":{"position":[[51,12],[185,11]]},"517":{"position":[[45,12]]},"519":{"position":[[5,12],[324,11]]},"520":{"position":[[46,13]]},"521":{"position":[[562,13]]},"522":{"position":[[46,11]]},"528":{"position":[[170,12]]},"530":{"position":[[23,11],[476,12],[681,13]]},"533":{"position":[[325,13]]},"534":{"position":[[21,13],[231,11]]},"535":{"position":[[94,11]]},"540":{"position":[[74,13]]},"542":{"position":[[86,13]]},"543":{"position":[[54,11],[142,13]]},"546":{"position":[[263,12]]},"548":{"position":[[250,12]]},"550":{"position":[[363,11]]},"557":{"position":[[473,12]]},"564":{"position":[[1141,11]]},"567":{"position":[[414,11]]},"569":{"position":[[238,12]]},"571":{"position":[[40,13],[194,11],[656,13],[1414,11]]},"574":{"position":[[155,12],[712,11]]},"576":{"position":[[437,13]]},"577":{"position":[[61,12]]},"579":{"position":[[859,11]]},"584":{"position":[[5,12]]},"586":{"position":[[5,12]]},"589":{"position":[[46,12]]},"593":{"position":[[325,13]]},"594":{"position":[[19,13],[229,11]]},"595":{"position":[[94,11]]},"600":{"position":[[74,13]]},"603":{"position":[[52,11],[140,13]]},"608":{"position":[[248,12]]},"611":{"position":[[281,12]]},"613":{"position":[[385,12]]},"614":{"position":[[177,12]]},"617":{"position":[[1846,12],[2390,12]]},"618":{"position":[[26,12],[261,12],[683,11]]},"621":{"position":[[134,12]]},"623":{"position":[[143,12]]},"624":{"position":[[491,12],[802,13],[1080,13],[1195,12]]},"660":{"position":[[328,11]]},"661":{"position":[[95,13],[1456,11],[1817,13]]},"662":{"position":[[57,12],[252,12],[313,12],[389,13]]},"696":{"position":[[1860,13]]},"702":{"position":[[250,13],[504,13]]},"708":{"position":[[250,11]]},"709":{"position":[[276,11]]},"710":{"position":[[43,13],[129,12]]},"711":{"position":[[123,12],[1950,13]]},"714":{"position":[[307,11]]},"723":{"position":[[638,13],[2480,12],[2637,12]]},"776":{"position":[[345,11]]},"778":{"position":[[17,13]]},"779":{"position":[[256,13]]},"780":{"position":[[96,12],[517,11]]},"781":{"position":[[567,13]]},"782":{"position":[[11,13],[160,12],[236,12]]},"783":{"position":[[201,12],[272,12],[531,12]]},"784":{"position":[[15,13],[267,11]]},"785":{"position":[[33,12]]},"801":{"position":[[87,12],[784,11]]},"802":{"position":[[898,12]]},"821":{"position":[[144,11]]},"829":{"position":[[215,13],[945,12],[1798,11],[2985,12]]},"832":{"position":[[36,11]]},"836":{"position":[[97,13],[1303,13]]},"837":{"position":[[325,12]]},"838":{"position":[[57,13],[281,12],[342,12]]},"840":{"position":[[319,11]]},"857":{"position":[[495,13]]},"860":{"position":[[375,11]]},"871":{"position":[[332,12]]},"879":{"position":[[216,11],[438,11],[521,12],[545,11]]},"956":{"position":[[201,11]]},"981":{"position":[[1573,11]]},"995":{"position":[[516,12],[617,11]]},"1032":{"position":[[88,11]]},"1072":{"position":[[521,11],[832,11]]},"1092":{"position":[[407,12]]},"1094":{"position":[[9,11]]},"1123":{"position":[[166,11],[753,11]]},"1124":{"position":[[338,11],[889,12]]},"1183":{"position":[[158,12]]},"1196":{"position":[[29,12],[142,12]]},"1198":{"position":[[396,13]]},"1206":{"position":[[87,12],[416,12],[533,12]]},"1207":{"position":[[796,12]]},"1246":{"position":[[315,12],[635,12]]},"1250":{"position":[[281,11],[319,11],[414,12],[521,11]]},"1301":{"position":[[34,11]]},"1307":{"position":[[188,11],[556,11]]},"1313":{"position":[[482,11]]},"1314":{"position":[[41,12]]},"1319":{"position":[[631,13],[698,11]]},"1321":{"position":[[63,12]]}},"keywords":{}}],["application'",{"_index":1019,"title":{},"content":{"96":{"position":[[169,13]]},"131":{"position":[[959,13]]},"134":{"position":[[234,13]]},"147":{"position":[[314,13]]},"173":{"position":[[1787,13]]},"178":{"position":[[272,13]]},"249":{"position":[[354,13]]},"295":{"position":[[332,13]]},"367":{"position":[[262,13]]},"419":{"position":[[416,13]]},"485":{"position":[[203,13]]},"524":{"position":[[150,13]]},"525":{"position":[[701,13]]},"546":{"position":[[19,13]]},"581":{"position":[[667,13]]},"606":{"position":[[19,13]]},"613":{"position":[[1090,13]]},"906":{"position":[[718,13]]}},"keywords":{}}],["application.data",{"_index":1210,"title":{},"content":{"173":{"position":[[2690,16]]}},"keywords":{}}],["application.rxdb",{"_index":3532,"title":{},"content":{"591":{"position":[[668,16]]}},"keywords":{}}],["application.stor",{"_index":1201,"title":{},"content":{"173":{"position":[[1127,17]]}},"keywords":{}}],["application.us",{"_index":1198,"title":{},"content":{"173":{"position":[[595,15]]}},"keywords":{}}],["application/json",{"_index":4667,"title":{},"content":{"800":{"position":[[970,20],[997,18]]},"875":{"position":[[2793,20],[5557,20],[6310,19],[6346,18]]},"988":{"position":[[2605,19],[2641,18]]},"1102":{"position":[[578,19],[614,18]]}},"keywords":{}}],["applications.bett",{"_index":1214,"title":{},"content":{"174":{"position":[[684,19]]}},"keywords":{}}],["applications.compress",{"_index":6030,"title":{},"content":{"1132":{"position":[[1039,25]]}},"keywords":{}}],["applications.memori",{"_index":3285,"title":{},"content":{"524":{"position":[[477,19]]}},"keywords":{}}],["applications.rxdb",{"_index":6376,"title":{},"content":{"1284":{"position":[[75,17]]}},"keywords":{}}],["applications—lead",{"_index":3151,"title":{},"content":{"483":{"position":[[1245,20]]}},"keywords":{}}],["approach",{"_index":732,"title":{"122":{"position":[[14,9]]},"133":{"position":[[14,9]]},"157":{"position":[[14,9]]},"164":{"position":[[14,9]]},"183":{"position":[[14,9]]},"191":{"position":[[14,9]]},"274":{"position":[[12,9]]},"327":{"position":[[14,9]]},"338":{"position":[[14,9]]},"413":{"position":[[41,11]]},"516":{"position":[[12,9]]},"584":{"position":[[14,9]]},"630":{"position":[[36,10]]}},"content":{"47":{"position":[[523,8]]},"51":{"position":[[61,8]]},"55":{"position":[[29,8]]},"64":{"position":[[67,8]]},"68":{"position":[[74,8]]},"91":{"position":[[166,8]]},"96":{"position":[[145,8]]},"99":{"position":[[149,8]]},"103":{"position":[[121,8]]},"116":{"position":[[178,9]]},"122":{"position":[[59,9]]},"126":{"position":[[143,9]]},"133":{"position":[[55,9]]},"156":{"position":[[188,8]]},"157":{"position":[[32,9]]},"161":{"position":[[350,8]]},"164":{"position":[[52,9]]},"170":{"position":[[217,9]]},"172":{"position":[[214,8]]},"173":{"position":[[1030,8]]},"174":{"position":[[358,8],[753,8]]},"183":{"position":[[31,9]]},"186":{"position":[[272,9]]},"191":{"position":[[22,8]]},"198":{"position":[[104,9]]},"203":{"position":[[78,9]]},"205":{"position":[[91,8]]},"219":{"position":[[264,8]]},"226":{"position":[[114,8]]},"231":{"position":[[21,9]]},"233":{"position":[[181,8]]},"241":{"position":[[606,8]]},"249":{"position":[[306,8]]},"260":{"position":[[107,9]]},"262":{"position":[[101,8]]},"266":{"position":[[251,8]]},"273":{"position":[[72,9]]},"274":{"position":[[17,8]]},"279":{"position":[[65,8]]},"280":{"position":[[163,9]]},"289":{"position":[[1637,8]]},"298":{"position":[[303,8]]},"299":{"position":[[346,9],[867,9],[1457,8]]},"302":{"position":[[343,8]]},"313":{"position":[[24,8]]},"322":{"position":[[114,8]]},"323":{"position":[[167,9]]},"331":{"position":[[372,9]]},"335":{"position":[[831,9]]},"338":{"position":[[22,8]]},"352":{"position":[[371,8]]},"353":{"position":[[765,8]]},"354":{"position":[[867,8],[1019,8]]},"356":{"position":[[604,8]]},"358":{"position":[[137,9]]},"362":{"position":[[447,8]]},"372":{"position":[[238,8]]},"380":{"position":[[301,8]]},"382":{"position":[[109,8]]},"407":{"position":[[341,8]]},"411":{"position":[[293,8],[3285,8]]},"412":{"position":[[15,8],[301,10],[831,10],[1953,8],[3458,10],[6594,8],[14940,10]]},"418":{"position":[[549,11]]},"420":{"position":[[636,11]]},"444":{"position":[[832,11]]},"445":{"position":[[416,9]]},"447":{"position":[[126,9]]},"476":{"position":[[42,8]]},"483":{"position":[[33,8],[1172,8]]},"485":{"position":[[171,8]]},"491":{"position":[[1157,9]]},"495":{"position":[[100,9]]},"496":{"position":[[681,8]]},"497":{"position":[[203,8],[727,9]]},"502":{"position":[[231,9],[298,9]]},"504":{"position":[[1431,8]]},"510":{"position":[[260,9]]},"515":{"position":[[351,8]]},"521":{"position":[[611,9]]},"525":{"position":[[19,8]]},"540":{"position":[[107,10]]},"542":{"position":[[937,8]]},"555":{"position":[[883,8]]},"561":{"position":[[123,8]]},"563":{"position":[[106,10]]},"567":{"position":[[881,11]]},"575":{"position":[[331,9]]},"576":{"position":[[25,10]]},"582":{"position":[[33,9]]},"585":{"position":[[132,8]]},"614":{"position":[[708,8]]},"632":{"position":[[608,11]]},"634":{"position":[[15,9]]},"635":{"position":[[238,9]]},"642":{"position":[[118,8]]},"686":{"position":[[847,9]]},"688":{"position":[[144,8],[495,8]]},"723":{"position":[[1679,8]]},"774":{"position":[[847,8]]},"801":{"position":[[712,8]]},"802":{"position":[[704,8]]},"831":{"position":[[308,10]]},"838":{"position":[[997,8]]},"839":{"position":[[255,8]]},"903":{"position":[[241,8]]},"912":{"position":[[506,8]]},"1072":{"position":[[1484,8]]},"1132":{"position":[[459,8]]},"1147":{"position":[[93,10],[382,8]]},"1257":{"position":[[31,9]]}},"keywords":{}}],["approach.custom",{"_index":1383,"title":{},"content":{"212":{"position":[[183,15]]}},"keywords":{}}],["appropri",{"_index":1148,"title":{},"content":{"146":{"position":[[294,11]]},"162":{"position":[[776,11]]},"189":{"position":[[666,11]]},"192":{"position":[[286,11]]},"274":{"position":[[350,13]]},"298":{"position":[[927,14]]},"376":{"position":[[469,11]]},"397":{"position":[[1592,11]]},"430":{"position":[[150,12]]},"525":{"position":[[667,11]]},"1085":{"position":[[3333,11]]}},"keywords":{}}],["approv",{"_index":1748,"title":{},"content":{"299":{"position":[[404,10]]},"497":{"position":[[376,9]]}},"keywords":{}}],["approx",{"_index":1739,"title":{},"content":{"299":{"position":[[219,7]]}},"keywords":{}}],["approxim",{"_index":1737,"title":{},"content":{"299":{"position":[[142,11]]},"394":{"position":[[1711,13]]},"396":{"position":[[220,11],[620,11]]}},"keywords":{}}],["apps"",{"_index":1483,"title":{},"content":{"244":{"position":[[268,10]]}},"keywords":{}}],["apps.offlin",{"_index":4789,"title":{},"content":{"838":{"position":[[564,12]]}},"keywords":{}}],["apps.resili",{"_index":5244,"title":{},"content":{"902":{"position":[[547,15]]}},"keywords":{}}],["apps/plugin",{"_index":6362,"title":{},"content":{"1280":{"position":[[398,11]]}},"keywords":{}}],["appstor",{"_index":3965,"title":{},"content":{"702":{"position":[[816,8]]}},"keywords":{}}],["appsync",{"_index":320,"title":{},"content":{"19":{"position":[[155,7],[480,7]]}},"keywords":{}}],["apps—no",{"_index":3144,"title":{},"content":{"483":{"position":[[396,7]]}},"keywords":{}}],["appwrit",{"_index":4618,"title":{"859":{"position":[[5,8]]},"860":{"position":[[29,10]]},"861":{"position":[[14,8]]},"862":{"position":[[22,8]]},"863":{"position":[[19,8]]}},"content":{"793":{"position":[[840,8]]},"860":{"position":[[1,8],[488,8],[902,8]]},"861":{"position":[[24,8],[56,8],[236,8],[279,8],[827,8],[931,8],[983,8],[1022,8],[1103,8],[1126,8],[1172,8],[1239,8],[1399,8],[1472,9],[1573,8],[1855,8],[2219,8],[2240,8]]},"862":{"position":[[29,8],[132,8],[168,8],[195,8],[278,10],[471,11],[912,8],[929,8],[1181,8],[1360,8]]},"863":{"position":[[1,8],[191,8],[256,8],[779,8]]}},"keywords":{}}],["appwrite/appwrite:1.6.1",{"_index":4898,"title":{},"content":{"861":{"position":[[721,23]]}},"keywords":{}}],["appwrite’",{"_index":4891,"title":{},"content":{"860":{"position":[[579,10],[1132,10]]}},"keywords":{}}],["app’",{"_index":1733,"title":{"301":{"position":[[13,5]]}},"content":{"298":{"position":[[907,5]]},"567":{"position":[[1120,5]]}},"keywords":{}}],["arbitrari",{"_index":1593,"title":{},"content":{"262":{"position":[[447,9]]},"901":{"position":[[138,9]]},"1085":{"position":[[1089,9]]}},"keywords":{}}],["architect",{"_index":2777,"title":{},"content":{"412":{"position":[[15381,12]]}},"keywords":{}}],["architectur",{"_index":638,"title":{"871":{"position":[[0,12]]},"897":{"position":[[0,12]]},"902":{"position":[[59,13]]}},"content":{"40":{"position":[[431,13]]},"96":{"position":[[183,12]]},"113":{"position":[[199,14]]},"153":{"position":[[231,12]]},"181":{"position":[[241,12]]},"326":{"position":[[51,12]]},"381":{"position":[[518,13]]},"383":{"position":[[51,13]]},"408":{"position":[[4333,13]]},"410":{"position":[[1811,13]]},"411":{"position":[[42,13],[1133,12]]},"412":{"position":[[2740,13]]},"483":{"position":[[809,13]]},"574":{"position":[[55,12]]},"582":{"position":[[619,13]]},"630":{"position":[[18,13]]},"644":{"position":[[625,12]]},"860":{"position":[[1104,13]]},"871":{"position":[[37,13]]},"903":{"position":[[743,13]]},"1094":{"position":[[50,12]]},"1124":{"position":[[1992,13]]},"1295":{"position":[[296,13]]}},"keywords":{}}],["archiv",{"_index":2987,"title":{},"content":{"458":{"position":[[978,9]]}},"keywords":{}}],["area",{"_index":1652,"title":{},"content":{"280":{"position":[[130,4]]},"292":{"position":[[69,4]]},"410":{"position":[[1167,6]]}},"keywords":{}}],["aren't",{"_index":951,"title":{"67":{"position":[[30,6]]}},"content":{"535":{"position":[[1105,6]]},"595":{"position":[[1182,6]]}},"keywords":{}}],["arg",{"_index":4128,"title":{},"content":{"747":{"position":[[207,5],[265,5],[325,5]]},"885":{"position":[[1491,4]]},"910":{"position":[[412,8]]}},"keywords":{}}],["args.checkpoint",{"_index":5093,"title":{},"content":{"885":{"position":[[1518,15],[1582,15]]}},"keywords":{}}],["args.checkpoint.id",{"_index":5094,"title":{},"content":{"885":{"position":[[1536,18]]}},"keywords":{}}],["args.checkpoint.updatedat",{"_index":5096,"title":{},"content":{"885":{"position":[[1600,25]]}},"keywords":{}}],["args.limit",{"_index":5109,"title":{},"content":{"885":{"position":[[2405,12]]}},"keywords":{}}],["arguabl",{"_index":2654,"title":{},"content":{"412":{"position":[[552,8]]}},"keywords":{}}],["argument",{"_index":3977,"title":{},"content":{"705":{"position":[[420,9]]},"749":{"position":[[3948,8],[4027,9],[4135,9],[4300,9]]},"1125":{"position":[[509,8]]}},"keywords":{}}],["aris",{"_index":1113,"title":{},"content":{"134":{"position":[[40,5]]},"279":{"position":[[311,5]]},"412":{"position":[[1550,5]]},"582":{"position":[[489,5]]},"634":{"position":[[449,6]]},"908":{"position":[[78,5]]},"987":{"position":[[139,6]]},"990":{"position":[[745,5]]},"1072":{"position":[[1848,6]]}},"keywords":{}}],["around",{"_index":371,"title":{},"content":{"22":{"position":[[198,6]]},"24":{"position":[[540,6]]},"47":{"position":[[131,6]]},"208":{"position":[[115,7]]},"266":{"position":[[790,6]]},"299":{"position":[[1414,6]]},"354":{"position":[[968,6]]},"392":{"position":[[3069,6]]},"394":{"position":[[1627,6]]},"408":{"position":[[1174,6],[2933,6],[4860,6]]},"419":{"position":[[47,7],[1671,6]]},"421":{"position":[[582,6]]},"427":{"position":[[1513,6]]},"432":{"position":[[320,6]]},"435":{"position":[[265,6]]},"490":{"position":[[22,6]]},"510":{"position":[[775,6]]},"514":{"position":[[299,6]]},"574":{"position":[[77,6]]},"595":{"position":[[173,6]]},"631":{"position":[[238,7]]},"632":{"position":[[35,6]]},"717":{"position":[[477,6]]},"734":{"position":[[41,6]]},"745":{"position":[[45,6]]},"746":{"position":[[104,6]]},"784":{"position":[[394,6]]},"785":{"position":[[114,7]]},"890":{"position":[[962,7]]},"1123":{"position":[[347,6]]},"1154":{"position":[[33,6]]},"1157":{"position":[[155,6]]},"1184":{"position":[[286,6],[321,6]]},"1198":{"position":[[170,6]]},"1246":{"position":[[47,6],[391,6],[1278,6],[1680,6]]},"1286":{"position":[[363,6]]},"1287":{"position":[[409,6]]},"1288":{"position":[[369,6]]}},"keywords":{}}],["arr",{"_index":603,"title":{},"content":{"38":{"position":[[1005,5]]}},"keywords":{}}],["array",{"_index":1479,"title":{"813":{"position":[[13,6]]}},"content":{"244":{"position":[[177,5],[225,5]]},"315":{"position":[[863,5]]},"350":{"position":[[75,6]]},"390":{"position":[[535,5]]},"391":{"position":[[873,5]]},"392":{"position":[[1476,5],[1655,8]]},"426":{"position":[[243,7]]},"493":{"position":[[450,5]]},"682":{"position":[[294,5]]},"690":{"position":[[381,5]]},"749":{"position":[[1594,5],[4066,5],[4401,5],[4652,5],[9556,5],[10914,5],[13902,5],[15923,5],[16963,5],[17064,5],[18533,5],[18640,6],[19166,6]]},"808":{"position":[[478,6],[637,8]]},"813":{"position":[[160,8]]},"875":{"position":[[1786,5],[1996,6],[3672,5],[4133,6]]},"888":{"position":[[245,6],[965,5]]},"920":{"position":[[12,5]]},"944":{"position":[[169,6]]},"945":{"position":[[110,6]]},"947":{"position":[[145,6]]},"983":{"position":[[493,5],[599,5]]},"984":{"position":[[578,5]]},"988":{"position":[[2716,5],[2819,6]]},"1022":{"position":[[214,6],[234,6]]},"1055":{"position":[[118,5]]},"1074":{"position":[[515,5]]},"1080":{"position":[[636,8]]},"1116":{"position":[[572,5]]},"1321":{"position":[[307,6]]}},"keywords":{}}],["array<string>",{"_index":4360,"title":{},"content":{"749":{"position":[[17228,19]]}},"keywords":{}}],["array(5).fill(0).map((_",{"_index":2382,"title":{},"content":{"397":{"position":[[2042,24]]},"403":{"position":[[883,24]]}},"keywords":{}}],["array(5).fill(0).map(async",{"_index":2395,"title":{},"content":{"398":{"position":[[852,26],[2138,26]]}},"keywords":{}}],["array(navigator.hardwareconcurr",{"_index":2262,"title":{},"content":{"392":{"position":[[3861,36]]}},"keywords":{}}],["array.<rxdocument>",{"_index":4696,"title":{},"content":{"813":{"position":[[465,24]]}},"keywords":{}}],["array.from(candidates).map(doc",{"_index":2409,"title":{},"content":{"398":{"position":[[1466,30],[2619,30]]}},"keywords":{}}],["array.from(output.data",{"_index":2225,"title":{},"content":{"391":{"position":[[727,24]]}},"keywords":{}}],["array.pullstream",{"_index":5443,"title":{},"content":{"983":{"position":[[715,16]]}},"keywords":{}}],["array.reduc",{"_index":6294,"title":{},"content":{"1250":{"position":[[547,14]]}},"keywords":{}}],["arraybuff",{"_index":6192,"title":{},"content":{"1208":{"position":[[207,11]]}},"keywords":{}}],["arriv",{"_index":752,"title":{},"content":{"50":{"position":[[133,8]]},"379":{"position":[[284,7]]},"632":{"position":[[342,6]]}},"keywords":{}}],["articl",{"_index":1435,"title":{"242":{"position":[[10,8]]}},"content":{"396":{"position":[[1878,8]]},"404":{"position":[[720,7]]},"405":{"position":[[76,7]]},"461":{"position":[[1412,7]]},"470":{"position":[[482,7]]},"501":{"position":[[251,7]]},"1302":{"position":[[158,7]]}},"keywords":{}}],["articleshared/lik",{"_index":3688,"title":{},"content":{"628":{"position":[[45,18]]}},"keywords":{}}],["artifici",{"_index":1791,"title":{},"content":{"301":{"position":[[620,12]]}},"keywords":{}}],["asc",{"_index":818,"title":{},"content":{"54":{"position":[[186,5]]},"130":{"position":[[541,5]]},"143":{"position":[[481,5],[662,5]]},"398":{"position":[[1302,5],[2495,5]]},"580":{"position":[[561,5]]},"829":{"position":[[2442,5],[3358,5]]},"1056":{"position":[[246,6]]},"1249":{"position":[[546,5]]}},"keywords":{}}],["ascend",{"_index":2320,"title":{},"content":{"394":{"position":[[1030,9]]}},"keywords":{}}],["ask",{"_index":1749,"title":{},"content":{"299":{"position":[[482,5]]},"390":{"position":[[611,6]]},"412":{"position":[[12881,4]]},"669":{"position":[[42,3]]},"715":{"position":[[225,3]]},"800":{"position":[[777,5]]},"1249":{"position":[[10,3]]}},"keywords":{}}],["aspect",{"_index":1016,"title":{},"content":{"95":{"position":[[23,6]]},"184":{"position":[[32,6]]},"218":{"position":[[23,6]]},"270":{"position":[[44,6]]},"282":{"position":[[170,7]]},"369":{"position":[[52,7]]},"620":{"position":[[131,7]]},"876":{"position":[[139,7]]}},"keywords":{}}],["assembl",{"_index":3810,"title":{},"content":{"662":{"position":[[1544,8]]},"710":{"position":[[1485,8]]},"838":{"position":[[1861,8]]}},"keywords":{}}],["assess",{"_index":1767,"title":{},"content":{"300":{"position":[[4,6]]},"430":{"position":[[562,6]]},"441":{"position":[[254,6]]},"497":{"position":[[540,9]]}},"keywords":{}}],["asset",{"_index":1266,"title":{},"content":{"188":{"position":[[1887,6],[1933,7]]}},"keywords":{}}],["assign",{"_index":2206,"title":{},"content":{"390":{"position":[[1548,7]]},"429":{"position":[[206,11]]},"441":{"position":[[183,12]]},"468":{"position":[[180,11]]},"751":{"position":[[244,9]]},"923":{"position":[[40,8]]},"1040":{"position":[[36,8]]},"1115":{"position":[[533,10]]}},"keywords":{}}],["associ",{"_index":922,"title":{},"content":{"65":{"position":[[1105,10]]},"223":{"position":[[380,10]]},"265":{"position":[[576,10]]},"369":{"position":[[1157,10]]},"412":{"position":[[409,10]]},"419":{"position":[[1328,9]]},"723":{"position":[[752,10]]}},"keywords":{}}],["assum",{"_index":2720,"title":{},"content":{"412":{"position":[[7342,6]]},"419":{"position":[[176,6]]},"617":{"position":[[1871,6]]},"696":{"position":[[1114,6]]},"697":{"position":[[538,6]]},"729":{"position":[[181,6]]},"756":{"position":[[264,7]]},"796":{"position":[[1180,6]]},"886":{"position":[[1594,6]]},"902":{"position":[[657,9]]},"961":{"position":[[157,7]]},"982":{"position":[[726,8]]},"988":{"position":[[3989,7]]},"1202":{"position":[[220,7]]},"1300":{"position":[[811,6]]},"1307":{"position":[[52,7]]},"1308":{"position":[[239,7]]},"1314":{"position":[[60,7]]}},"keywords":{}}],["assumedmasterst",{"_index":4485,"title":{},"content":{"756":{"position":[[137,18]]},"875":{"position":[[3857,19],[3946,18]]},"885":{"position":[[937,19]]},"983":{"position":[[508,18]]},"1106":{"position":[[460,18]]}},"keywords":{}}],["assumpt",{"_index":3937,"title":{},"content":{"696":{"position":[[1614,11]]},"700":{"position":[[451,11]]}},"keywords":{}}],["assur",{"_index":3161,"title":{},"content":{"489":{"position":[[769,7]]},"571":{"position":[[1822,6]]}},"keywords":{}}],["asymmetr",{"_index":4018,"title":{"716":{"position":[[0,10]]}},"content":{"716":{"position":[[154,10],[199,10],[307,10]]}},"keywords":{}}],["async",{"_index":167,"title":{"54":{"position":[[26,5]]},"130":{"position":[[16,5]]},"143":{"position":[[4,5]]}},"content":{"11":{"position":[[678,5]]},"51":{"position":[[635,5]]},"130":{"position":[[22,5],[181,5],[602,5]]},"143":{"position":[[11,5],[93,5],[385,5]]},"188":{"position":[[888,5]]},"209":{"position":[[199,5],[728,5],[994,5]]},"255":{"position":[[546,5],[1080,5],[1329,5]]},"314":{"position":[[432,5]]},"315":{"position":[[383,5]]},"334":{"position":[[284,5]]},"335":{"position":[[610,5]]},"391":{"position":[[562,5]]},"392":{"position":[[2758,5],[3558,5],[4029,5],[4711,5]]},"397":{"position":[[1799,5]]},"398":{"position":[[679,5],[1925,5]]},"412":{"position":[[5059,5],[5157,5]]},"427":{"position":[[116,5],[203,5]]},"439":{"position":[[385,5]]},"460":{"position":[[1299,5]]},"480":{"position":[[290,5]]},"482":{"position":[[380,5]]},"493":{"position":[[13,5],[199,6]]},"554":{"position":[[805,5]]},"555":{"position":[[172,6]]},"556":{"position":[[336,5]]},"562":{"position":[[120,6]]},"563":{"position":[[421,6]]},"564":{"position":[[394,6]]},"579":{"position":[[293,5]]},"598":{"position":[[393,5]]},"632":{"position":[[1171,5],[2174,5],[2374,5],[2511,5]]},"672":{"position":[[1,5]]},"673":{"position":[[44,5]]},"674":{"position":[[315,5]]},"693":{"position":[[869,5]]},"711":{"position":[[1513,5]]},"740":{"position":[[603,5]]},"749":{"position":[[7788,5]]},"752":{"position":[[525,5]]},"754":{"position":[[262,5],[408,5],[567,5]]},"765":{"position":[[79,5]]},"767":{"position":[[501,5],[897,5]]},"768":{"position":[[493,5],[901,5]]},"769":{"position":[[448,5],[868,5]]},"829":{"position":[[591,5],[1495,5]]},"875":{"position":[[3142,5],[6186,5]]},"888":{"position":[[569,5]]},"889":{"position":[[599,5]]},"907":{"position":[[329,5]]},"930":{"position":[[65,7]]},"988":{"position":[[2416,5],[3515,5]]},"1007":{"position":[[1470,5],[1634,5]]},"1020":{"position":[[463,5]]},"1022":{"position":[[566,5]]},"1023":{"position":[[222,5]]},"1024":{"position":[[308,5]]},"1033":{"position":[[584,5],[815,5]]},"1105":{"position":[[1090,5],[1130,5]]},"1115":{"position":[[794,6]]},"1148":{"position":[[884,5]]},"1164":{"position":[[642,7]]},"1173":{"position":[[266,5]]},"1220":{"position":[[269,5]]},"1278":{"position":[[685,5]]},"1284":{"position":[[349,5],[380,5]]},"1311":{"position":[[853,5],[1397,5]]}},"keywords":{}}],["async">",{"_index":822,"title":{},"content":{"54":{"position":[[257,15]]}},"keywords":{}}],["async(param",{"_index":6058,"title":{},"content":{"1140":{"position":[[677,13]]}},"keywords":{}}],["async.mj",{"_index":6344,"title":{},"content":{"1276":{"position":[[776,11]]}},"keywords":{}}],["async/await",{"_index":2962,"title":{},"content":{"452":{"position":[[784,11]]},"521":{"position":[[154,11]]}},"keywords":{}}],["asynchron",{"_index":286,"title":{},"content":{"17":{"position":[[36,12]]},"129":{"position":[[375,12]]},"437":{"position":[[122,12]]},"445":{"position":[[1360,12]]},"450":{"position":[[783,12]]},"451":{"position":[[541,12]]},"452":{"position":[[228,12]]},"453":{"position":[[293,12],[359,12]]},"533":{"position":[[223,12]]},"535":{"position":[[213,12]]},"560":{"position":[[207,12]]},"566":{"position":[[711,12]]},"593":{"position":[[223,12]]},"595":{"position":[[226,12]]},"659":{"position":[[368,12]]},"751":{"position":[[726,12]]},"770":{"position":[[294,13]]},"960":{"position":[[32,12]]},"1208":{"position":[[475,12]]},"1246":{"position":[[753,12]]}},"keywords":{}}],["asyncpip",{"_index":813,"title":{},"content":{"54":{"position":[[48,10]]}},"keywords":{}}],["asyncstorag",{"_index":104,"title":{"9":{"position":[[0,13]]},"10":{"position":[[0,12]]},"437":{"position":[[0,12]]},"835":{"position":[[0,13]]}},"content":{"8":{"position":[[71,12]]},"9":{"position":[[21,13],[153,12],[213,16],[325,14]]},"10":{"position":[[36,13],[82,12]]},"437":{"position":[[34,12],[200,12]]},"659":{"position":[[172,13]]},"835":{"position":[[1,12],[144,12],[537,12],[733,12],[792,12],[991,12]]},"837":{"position":[[1122,12],[1157,12]]},"841":{"position":[[16,12]]},"1316":{"position":[[3619,13]]}},"keywords":{}}],["asyncstorage.getitem('mykey",{"_index":4771,"title":{},"content":{"835":{"position":[[505,30]]}},"keywords":{}}],["asyncstoragedown",{"_index":137,"title":{},"content":{"10":{"position":[[219,16]]}},"keywords":{}}],["at1",{"_index":4299,"title":{},"content":{"749":{"position":[[12775,3]]}},"keywords":{}}],["atla",{"_index":574,"title":{},"content":{"36":{"position":[[383,5]]},"872":{"position":[[319,5],[456,5]]}},"keywords":{}}],["atom",{"_index":2031,"title":{"1048":{"position":[[30,6]]}},"content":{"354":{"position":[[1321,9]]},"412":{"position":[[14627,6]]},"682":{"position":[[211,6]]},"705":{"position":[[1000,6]]},"765":{"position":[[27,9]]},"1022":{"position":[[33,6]]},"1048":{"position":[[289,6]]},"1304":{"position":[[93,10],[1601,6]]},"1324":{"position":[[848,6]]}},"keywords":{}}],["attach",{"_index":3367,"title":{"720":{"position":[[10,12]]},"754":{"position":[[10,12]]},"792":{"position":[[0,10]]},"800":{"position":[[37,11]]},"914":{"position":[[0,11]]},"915":{"position":[[8,11]]},"916":{"position":[[7,11]]},"1004":{"position":[[0,10]]},"1081":{"position":[[0,12]]}},"content":{"556":{"position":[[544,12],[632,12],[659,11],[897,10],[1250,11],[1290,11]]},"612":{"position":[[865,9]]},"647":{"position":[[326,11],[357,12]]},"648":{"position":[[206,12]]},"649":{"position":[[162,12]]},"720":{"position":[[14,11],[81,11],[192,12],[239,10]]},"749":{"position":[[998,10],[12786,12],[13674,11],[23259,12]]},"754":{"position":[[330,11],[628,10]]},"792":{"position":[[1,10],[205,12],[316,10]]},"793":{"position":[[1031,11]]},"800":{"position":[[638,11],[688,10],[854,10]]},"838":{"position":[[3376,11]]},"915":{"position":[[15,12],[48,11]]},"916":{"position":[[20,12],[61,11],[204,12],[251,10]]},"917":{"position":[[9,10],[68,11],[122,10],[208,10],[292,10],[346,10]]},"918":{"position":[[85,10]]},"919":{"position":[[58,10],[92,10]]},"920":{"position":[[25,11],[63,11]]},"921":{"position":[[48,11],[101,10],[210,11],[234,11]]},"922":{"position":[[5,11]]},"923":{"position":[[26,10]]},"924":{"position":[[25,11]]},"925":{"position":[[27,11]]},"926":{"position":[[31,10]]},"927":{"position":[[17,11],[191,11]]},"928":{"position":[[28,10]]},"929":{"position":[[13,11],[75,10]]},"930":{"position":[[80,10]]},"931":{"position":[[80,10]]},"932":{"position":[[74,10],[188,10],[225,11],[345,11],[404,11],[456,11],[884,10],[1256,12],[1419,11]]},"934":{"position":[[427,12],[476,11]]},"937":{"position":[[42,12]]},"1004":{"position":[[1,10],[196,11],[335,10],[408,10],[431,11],[496,11],[598,11],[764,12]]},"1051":{"position":[[390,11]]},"1074":{"position":[[637,11]]},"1081":{"position":[[8,11],[59,11]]},"1132":{"position":[[1316,11],[1390,11]]},"1143":{"position":[[254,11]]},"1181":{"position":[[21,11],[53,11]]},"1271":{"position":[[386,10]]},"1282":{"position":[[94,11],[194,11]]}},"keywords":{}}],["attachment'",{"_index":5307,"title":{},"content":{"930":{"position":[[38,12]]},"931":{"position":[[38,12]]},"932":{"position":[[38,12]]}},"keywords":{}}],["attachment.getdata",{"_index":5308,"title":{},"content":{"930":{"position":[[149,21]]}},"keywords":{}}],["attachment.getdatabase64",{"_index":5311,"title":{},"content":{"931":{"position":[[159,27]]}},"keywords":{}}],["attachment.getstringdata",{"_index":5313,"title":{},"content":{"932":{"position":[[149,27]]}},"keywords":{}}],["attachment.remov",{"_index":5305,"title":{},"content":{"929":{"position":[[131,20]]}},"keywords":{}}],["attachments.compress",{"_index":4144,"title":{},"content":{"749":{"position":[[956,23]]}},"keywords":{}}],["attachments.data",{"_index":4791,"title":{},"content":{"838":{"position":[[932,16]]},"1171":{"position":[[21,16]]}},"keywords":{}}],["attachments.lik",{"_index":4821,"title":{},"content":{"845":{"position":[[37,16]]}},"keywords":{}}],["attachments.when",{"_index":6106,"title":{},"content":{"1162":{"position":[[21,16]]}},"keywords":{}}],["attachmentsbig",{"_index":6179,"title":{},"content":{"1199":{"position":[[89,14]]}},"keywords":{}}],["attachmentsth",{"_index":5548,"title":{},"content":{"1004":{"position":[[388,14]]}},"keywords":{}}],["attack",{"_index":3380,"title":{},"content":{"556":{"position":[[1888,8],[1975,9]]},"881":{"position":[[320,6]]},"1110":{"position":[[70,8]]}},"keywords":{}}],["attempt",{"_index":1859,"title":{},"content":{"304":{"position":[[133,7]]},"908":{"position":[[141,7]]},"943":{"position":[[32,8]]}},"keywords":{}}],["attent",{"_index":3251,"title":{},"content":{"513":{"position":[[52,9]]}},"keywords":{}}],["attract",{"_index":1070,"title":{},"content":{"118":{"position":[[344,10]]},"267":{"position":[[1404,10]]},"295":{"position":[[169,10]]}},"keywords":{}}],["attribut",{"_index":2953,"title":{},"content":{"450":{"position":[[250,9]]},"457":{"position":[[384,10]]},"749":{"position":[[20204,9],[20370,9],[20638,9],[20895,9]]},"766":{"position":[[179,10]]},"810":{"position":[[95,9]]},"818":{"position":[[433,9]]},"861":{"position":[[1220,11],[1271,10],[1434,11],[1514,10],[1562,10]]},"863":{"position":[[765,10],[848,11],[955,10]]},"934":{"position":[[177,10]]},"1043":{"position":[[22,10],[128,9]]},"1074":{"position":[[494,9],[572,10]]},"1079":{"position":[[268,10]]},"1081":{"position":[[71,9]]},"1085":{"position":[[377,10]]},"1140":{"position":[[445,10]]}},"keywords":{}}],["attributes/method",{"_index":5302,"title":{},"content":{"922":{"position":[[90,19]]}},"keywords":{}}],["audienc",{"_index":2807,"title":{},"content":{"419":{"position":[[1275,9]]}},"keywords":{}}],["audio",{"_index":2182,"title":{},"content":{"390":{"position":[[240,6],[952,5]]},"614":{"position":[[335,6]]},"901":{"position":[[121,6]]}},"keywords":{}}],["augment",{"_index":2713,"title":{},"content":{"412":{"position":[[6614,12]]},"432":{"position":[[1084,7]]}},"keywords":{}}],["auth",{"_index":1536,"title":{"848":{"position":[[0,4]]},"1104":{"position":[[0,4]]}},"content":{"245":{"position":[[114,4]]},"412":{"position":[[13069,4]]},"749":{"position":[[16578,4]]},"841":{"position":[[853,4]]},"880":{"position":[[18,4],[156,4]]},"882":{"position":[[243,4]]},"1104":{"position":[[163,4],[263,4],[331,4]]},"1105":{"position":[[147,4],[497,4],[1229,4]]},"1148":{"position":[[329,6]]}},"keywords":{}}],["auth_token",{"_index":5088,"title":{},"content":{"885":{"position":[[1305,11]]}},"keywords":{}}],["authdata.data.userid",{"_index":5956,"title":{},"content":{"1105":{"position":[[668,20]]}},"keywords":{}}],["authent",{"_index":305,"title":{"701":{"position":[[16,15]]}},"content":{"18":{"position":[[160,15]]},"21":{"position":[[87,15]]},"29":{"position":[[288,15]]},"117":{"position":[[161,15]]},"206":{"position":[[89,14]]},"253":{"position":[[104,15]]},"377":{"position":[[347,14]]},"701":{"position":[[243,14]]},"840":{"position":[[203,15],[368,14],[413,14]]},"846":{"position":[[474,14]]},"848":{"position":[[14,14]]},"860":{"position":[[90,15]]},"876":{"position":[[171,15],[190,12],[252,14]]},"885":{"position":[[1239,12]]},"886":{"position":[[3429,13]]},"906":{"position":[[669,14]]},"1104":{"position":[[4,12],[189,12],[579,14]]},"1148":{"position":[[288,15]]}},"keywords":{}}],["authhandl",{"_index":5949,"title":{},"content":{"1104":{"position":[[87,11],[669,11]]}},"keywords":{}}],["author",{"_index":726,"title":{},"content":{"47":{"position":[[346,7]]},"412":{"position":[[12202,10]]},"482":{"position":[[1187,10]]},"848":{"position":[[1149,14]]},"878":{"position":[[497,14]]},"880":{"position":[[409,14]]},"886":{"position":[[1848,14],[3145,14],[4113,14],[4750,14]]},"890":{"position":[[341,14]]},"1104":{"position":[[695,13]]}},"keywords":{}}],["authorit",{"_index":669,"title":{},"content":{"43":{"position":[[146,13]]},"411":{"position":[[1920,13]]},"412":{"position":[[5704,13]]}},"keywords":{}}],["auto",{"_index":2848,"title":{},"content":{"421":{"position":[[261,4]]},"566":{"position":[[552,4]]},"841":{"position":[[605,4]]},"898":{"position":[[1213,4]]}},"keywords":{}}],["autocomplet",{"_index":6295,"title":{},"content":{"1251":{"position":[[208,12]]}},"keywords":{}}],["autoencod",{"_index":2491,"title":{},"content":{"402":{"position":[[2477,12],[2493,11]]}},"keywords":{}}],["autoload",{"_index":6133,"title":{"1175":{"position":[[13,9]]}},"content":{"1172":{"position":[[468,8]]},"1175":{"position":[[181,8]]}},"keywords":{}}],["autom",{"_index":1868,"title":{},"content":{"305":{"position":[[130,9]]},"1148":{"position":[[377,9]]}},"keywords":{}}],["automat",{"_index":425,"title":{"77":{"position":[[29,13]]},"103":{"position":[[29,13]]},"233":{"position":[[23,9]]}},"content":{"26":{"position":[[156,13]]},"34":{"position":[[635,9]]},"50":{"position":[[80,13]]},"53":{"position":[[84,13]]},"57":{"position":[[198,9]]},"77":{"position":[[75,13]]},"103":{"position":[[61,9]]},"122":{"position":[[181,13]]},"124":{"position":[[127,13]]},"125":{"position":[[149,13]]},"130":{"position":[[126,14]]},"133":{"position":[[175,13]]},"136":{"position":[[109,13]]},"156":{"position":[[126,13]]},"157":{"position":[[345,13]]},"159":{"position":[[195,9]]},"174":{"position":[[287,13]]},"182":{"position":[[144,13]]},"185":{"position":[[75,13]]},"191":{"position":[[146,13]]},"201":{"position":[[373,13]]},"221":{"position":[[235,13]]},"226":{"position":[[302,9]]},"233":{"position":[[88,13]]},"261":{"position":[[1076,13]]},"300":{"position":[[576,13]]},"309":{"position":[[287,13]]},"315":{"position":[[971,13]]},"323":{"position":[[259,13]]},"326":{"position":[[85,13]]},"330":{"position":[[48,13]]},"335":{"position":[[967,14]]},"360":{"position":[[346,13]]},"361":{"position":[[346,13],[1039,13]]},"380":{"position":[[236,13]]},"392":{"position":[[1893,14]]},"411":{"position":[[1490,14],[2963,13],[4378,13]]},"417":{"position":[[337,14]]},"419":{"position":[[496,13]]},"439":{"position":[[445,9]]},"445":{"position":[[676,13]]},"446":{"position":[[358,13]]},"458":{"position":[[504,13],[583,13]]},"483":{"position":[[125,9]]},"486":{"position":[[340,13]]},"489":{"position":[[800,13]]},"490":{"position":[[143,9],[208,13]]},"491":{"position":[[1268,13],[1405,13]]},"515":{"position":[[220,13]]},"518":{"position":[[181,9]]},"523":{"position":[[145,13]]},"535":{"position":[[993,13]]},"541":{"position":[[811,13]]},"542":{"position":[[955,9]]},"544":{"position":[[233,9]]},"555":{"position":[[108,13]]},"556":{"position":[[693,14]]},"562":{"position":[[846,13],[965,13]]},"564":{"position":[[1004,13]]},"565":{"position":[[203,13]]},"575":{"position":[[251,13],[638,13]]},"580":{"position":[[52,13]]},"595":{"position":[[813,13],[1070,13]]},"600":{"position":[[111,13]]},"601":{"position":[[792,13]]},"604":{"position":[[205,9]]},"612":{"position":[[1376,13]]},"618":{"position":[[242,13]]},"630":{"position":[[420,13]]},"632":{"position":[[290,13],[1702,13],[2026,13]]},"636":{"position":[[312,13]]},"683":{"position":[[67,13]]},"688":{"position":[[27,13]]},"689":{"position":[[24,9]]},"690":{"position":[[214,9],[521,10]]},"714":{"position":[[215,13]]},"721":{"position":[[475,14]]},"745":{"position":[[172,13]]},"749":{"position":[[17700,13]]},"752":{"position":[[27,13]]},"773":{"position":[[388,13]]},"784":{"position":[[597,13]]},"798":{"position":[[1009,13]]},"829":{"position":[[2814,13],[3017,13],[3644,13],[3775,13]]},"838":{"position":[[460,9]]},"851":{"position":[[46,13]]},"860":{"position":[[509,13]]},"870":{"position":[[84,9]]},"875":{"position":[[8605,13]]},"881":{"position":[[239,13]]},"886":{"position":[[4849,13]]},"898":{"position":[[1902,14]]},"942":{"position":[[97,13]]},"958":{"position":[[137,13],[409,13]]},"984":{"position":[[643,13]]},"986":{"position":[[1561,13]]},"988":{"position":[[1533,13],[5609,13]]},"996":{"position":[[435,13]]},"1003":{"position":[[233,13]]},"1027":{"position":[[92,13]]},"1038":{"position":[[85,13]]},"1052":{"position":[[391,13]]},"1085":{"position":[[1624,13],[1692,13]]},"1088":{"position":[[437,13]]},"1107":{"position":[[83,13]]},"1114":{"position":[[70,13],[362,13]]},"1119":{"position":[[197,13]]},"1121":{"position":[[262,13]]},"1148":{"position":[[80,9],[191,9]]},"1150":{"position":[[50,13],[537,13]]},"1154":{"position":[[74,13]]},"1213":{"position":[[267,13]]}},"keywords":{}}],["automatically—perhap",{"_index":1855,"title":{},"content":{"303":{"position":[[1409,21]]}},"keywords":{}}],["automerg",{"_index":2683,"title":{},"content":{"412":{"position":[[3819,9]]},"686":{"position":[[113,9],[744,9]]},"698":{"position":[[3091,9]]}},"keywords":{}}],["automerge.j",{"_index":3890,"title":{"686":{"position":[[8,12]]}},"content":{},"keywords":{}}],["automigr",{"_index":4458,"title":{"752":{"position":[[0,12]]}},"content":{"752":{"position":[[435,12]]},"934":{"position":[[602,12]]},"938":{"position":[[45,11]]}},"keywords":{}}],["automot",{"_index":3451,"title":{},"content":{"569":{"position":[[276,10]]}},"keywords":{}}],["autonomi",{"_index":2154,"title":{},"content":{"380":{"position":[[410,8]]},"1147":{"position":[[509,8]]}},"keywords":{}}],["autosav",{"_index":6134,"title":{"1175":{"position":[[0,8]]}},"content":{"1172":{"position":[[481,9]]},"1175":{"position":[[44,8],[340,8]]}},"keywords":{}}],["autostart",{"_index":5128,"title":{},"content":{"886":{"position":[[2034,9]]},"988":{"position":[[1639,10]]}},"keywords":{}}],["avail",{"_index":539,"title":{"449":{"position":[[4,9]]}},"content":{"34":{"position":[[504,9]]},"51":{"position":[[1025,9]]},"56":{"position":[[62,9]]},"90":{"position":[[98,12]]},"122":{"position":[[257,10]]},"126":{"position":[[40,9]]},"131":{"position":[[72,9],[450,9]]},"133":{"position":[[251,10]]},"157":{"position":[[248,10]]},"173":{"position":[[2954,9]]},"183":{"position":[[254,10],[351,13]]},"206":{"position":[[336,9]]},"287":{"position":[[308,9]]},"301":{"position":[[640,9]]},"309":{"position":[[265,9]]},"322":{"position":[[305,10]]},"360":{"position":[[618,10]]},"365":{"position":[[873,10]]},"375":{"position":[[979,10]]},"378":{"position":[[238,13]]},"390":{"position":[[1102,9]]},"392":{"position":[[5018,9]]},"393":{"position":[[134,9]]},"408":{"position":[[2839,9],[3352,9]]},"410":{"position":[[1207,9]]},"421":{"position":[[479,10],[597,13]]},"424":{"position":[[286,9]]},"444":{"position":[[374,10]]},"461":{"position":[[1106,9],[1568,9]]},"486":{"position":[[374,9]]},"491":{"position":[[340,9]]},"524":{"position":[[183,9]]},"535":{"position":[[1147,9]]},"566":{"position":[[1345,10]]},"595":{"position":[[1224,9]]},"610":{"position":[[400,10]]},"644":{"position":[[700,9]]},"660":{"position":[[94,10]]},"662":{"position":[[415,9]]},"696":{"position":[[13,9],[1169,9]]},"749":{"position":[[1119,9]]},"805":{"position":[[242,9]]},"829":{"position":[[1187,9],[2041,10]]},"832":{"position":[[293,9]]},"890":{"position":[[929,9]]},"1007":{"position":[[1143,10]]},"1066":{"position":[[108,9]]},"1104":{"position":[[54,9]]},"1151":{"position":[[188,12]]},"1178":{"position":[[187,12]]},"1207":{"position":[[333,9]]},"1211":{"position":[[67,9]]},"1232":{"position":[[29,9]]},"1271":{"position":[[46,9]]},"1298":{"position":[[236,9]]}},"keywords":{}}],["avenu",{"_index":1680,"title":{},"content":{"289":{"position":[[1068,6]]}},"keywords":{}}],["averag",{"_index":3023,"title":{},"content":{"462":{"position":[[578,7]]},"981":{"position":[[242,7]]}},"keywords":{}}],["avoid",{"_index":121,"title":{},"content":{"8":{"position":[[623,5]]},"46":{"position":[[478,5]]},"143":{"position":[[113,5]]},"302":{"position":[[298,5]]},"346":{"position":[[128,5]]},"383":{"position":[[527,8]]},"385":{"position":[[300,5]]},"392":{"position":[[2135,5]]},"395":{"position":[[90,5]]},"408":{"position":[[1972,5],[2731,8]]},"412":{"position":[[2486,5],[4223,5]]},"419":{"position":[[1700,5]]},"435":{"position":[[119,8]]},"556":{"position":[[26,5]]},"617":{"position":[[878,5]]},"765":{"position":[[53,8]]},"828":{"position":[[440,6]]},"839":{"position":[[1295,5]]},"898":{"position":[[4367,5]]},"902":{"position":[[418,8]]},"1003":{"position":[[80,5]]},"1085":{"position":[[2055,5],[2119,6]]}},"keywords":{}}],["aw",{"_index":302,"title":{"18":{"position":[[0,3]]},"19":{"position":[[0,3]]}},"content":{"18":{"position":[[3,3],[243,3],[402,3],[432,3]]},"19":{"position":[[54,3],[151,3],[476,3],[616,3],[786,3],[1015,3],[1082,3]]},"1173":{"position":[[121,3]]}},"keywords":{}}],["await",{"_index":34,"title":{"1185":{"position":[[0,5]]}},"content":{"1":{"position":[[530,5]]},"2":{"position":[[333,5]]},"3":{"position":[[213,5]]},"4":{"position":[[391,5]]},"5":{"position":[[301,5]]},"6":{"position":[[496,5],[675,5]]},"7":{"position":[[333,5],[510,5]]},"8":{"position":[[1102,5]]},"9":{"position":[[247,5]]},"10":{"position":[[285,5]]},"11":{"position":[[759,5],[811,5]]},"19":{"position":[[653,5],[825,5]]},"51":{"position":[[693,5],[823,5]]},"52":{"position":[[84,5],[178,5],[336,5],[383,5],[473,5],[537,5],[620,5],[684,5]]},"55":{"position":[[867,5]]},"188":{"position":[[964,5],[1174,5],[2649,5],[2845,5]]},"209":{"position":[[236,5],[358,5],[799,5],[914,5],[1097,5],[1223,5]]},"210":{"position":[[264,5]]},"211":{"position":[[206,5],[319,5]]},"255":{"position":[[583,5],[702,5],[1153,5],[1289,5],[1416,5],[1530,5]]},"258":{"position":[[144,5]]},"259":{"position":[[1,5]]},"261":{"position":[[337,5]]},"266":{"position":[[658,5]]},"276":{"position":[[399,5]]},"300":{"position":[[231,5]]},"302":{"position":[[783,5],[819,5]]},"314":{"position":[[469,5],[667,5]]},"315":{"position":[[532,5],[640,5]]},"316":{"position":[[110,5]]},"334":{"position":[[327,5],[555,5]]},"335":{"position":[[196,5],[723,5]]},"391":{"position":[[619,5],[653,5]]},"392":{"position":[[337,5],[526,5],[933,5],[988,5],[1037,5],[1081,5],[1491,5],[2629,5],[2779,5],[2843,5],[2878,5],[3594,5],[4535,5],[4732,5],[4800,5]]},"394":{"position":[[645,5],[703,5]]},"397":{"position":[[1754,5],[1820,5],[1884,5],[2205,5]]},"398":{"position":[[829,5],[1004,5],[1992,5],[2115,5],[2318,5]]},"403":{"position":[[719,5],[845,5]]},"439":{"position":[[669,5],[737,5]]},"459":{"position":[[836,5]]},"461":{"position":[[1278,5]]},"480":{"position":[[362,5],[467,5]]},"482":{"position":[[607,5],[754,5]]},"502":{"position":[[915,5]]},"518":{"position":[[382,5]]},"522":{"position":[[408,5]]},"538":{"position":[[423,5],[846,5]]},"539":{"position":[[84,5],[178,5],[336,5],[383,5],[473,5],[537,5],[620,5],[684,5]]},"542":{"position":[[528,5]]},"554":{"position":[[1046,5],[1247,5]]},"555":{"position":[[201,5],[269,5],[468,5],[630,5]]},"556":{"position":[[395,5],[804,5],[810,5],[910,5]]},"562":{"position":[[161,5],[474,5],[551,5],[664,5]]},"563":{"position":[[473,5]]},"564":{"position":[[577,5],[693,5]]},"571":{"position":[[856,5]]},"579":{"position":[[336,5],[563,5]]},"580":{"position":[[438,5]]},"598":{"position":[[430,5],[853,5]]},"599":{"position":[[84,5],[187,5],[363,5],[410,5],[500,5],[564,5],[651,5],[715,5]]},"601":{"position":[[521,5]]},"632":{"position":[[1282,5],[1452,5]]},"638":{"position":[[424,5],[531,5]]},"639":{"position":[[294,5]]},"647":{"position":[[431,5],[572,5]]},"648":{"position":[[297,5],[374,5]]},"653":{"position":[[247,5],[1017,5]]},"654":{"position":[[172,5],[296,5],[446,5]]},"655":{"position":[[415,5],[484,5]]},"659":{"position":[[419,5],[493,5],[574,5],[637,5]]},"661":{"position":[[1177,5]]},"662":{"position":[[2120,5],[2326,5],[2589,5],[2678,5],[2766,5]]},"672":{"position":[[84,5]]},"673":{"position":[[90,5]]},"674":{"position":[[373,5]]},"680":{"position":[[668,5],[1133,5],[1231,5],[1340,5]]},"681":{"position":[[614,5]]},"682":{"position":[[316,5]]},"683":{"position":[[164,5],[262,5],[724,5]]},"684":{"position":[[158,5],[229,5]]},"693":{"position":[[1168,5]]},"710":{"position":[[1689,5],[1815,5],[1896,5],[1985,5],[2073,5]]},"711":{"position":[[1737,5]]},"717":{"position":[[1149,5],[1593,5]]},"718":{"position":[[652,5]]},"724":{"position":[[523,5],[1630,5],[1812,5]]},"734":{"position":[[474,5],[848,5]]},"739":{"position":[[278,5],[407,5],[627,5]]},"745":{"position":[[523,5]]},"749":{"position":[[14828,5],[14984,5]]},"752":{"position":[[364,5],[659,5],[1454,5]]},"754":{"position":[[693,5]]},"759":{"position":[[354,5],[456,5]]},"760":{"position":[[452,5]]},"770":{"position":[[457,5]]},"772":{"position":[[764,5],[924,5],[1012,5],[1609,5],[2371,5]]},"773":{"position":[[554,5]]},"774":{"position":[[656,5]]},"778":{"position":[[204,5]]},"789":{"position":[[160,5],[407,5]]},"791":{"position":[[16,5],[148,5],[275,5],[413,5],[468,5]]},"792":{"position":[[143,5],[279,5],[329,5]]},"795":{"position":[[169,5],[219,5]]},"799":{"position":[[571,5],[803,5]]},"800":{"position":[[808,5],[867,5]]},"810":{"position":[[189,5],[260,5],[341,5],[406,5]]},"811":{"position":[[169,5],[240,5],[321,5],[386,5]]},"812":{"position":[[22,5],[253,5]]},"813":{"position":[[22,5],[250,5],[345,5],[409,5]]},"818":{"position":[[487,5]]},"820":{"position":[[163,5]]},"825":{"position":[[335,5]]},"829":{"position":[[633,5],[721,5],[1523,5]]},"835":{"position":[[417,7],[450,5],[499,5]]},"838":{"position":[[2198,5],[2540,5],[2803,5],[2892,5],[2980,5]]},"851":{"position":[[322,5]]},"857":{"position":[[297,5]]},"862":{"position":[[533,5],[807,5]]},"872":{"position":[[1026,5],[1707,5],[1814,5],[3254,5],[3562,5],[3965,5],[4044,5]]},"875":{"position":[[418,5],[959,5],[1068,5],[2200,5],[3094,5],[3328,5],[3441,5],[6138,5],[6233,5],[6428,5],[8403,5],[9712,5]]},"878":{"position":[[279,5]]},"882":{"position":[[396,5]]},"892":{"position":[[171,5],[256,5],[358,5]]},"893":{"position":[[222,5],[464,5]]},"898":{"position":[[2315,5],[2394,5],[4152,5]]},"904":{"position":[[708,5],[791,5],[1152,5],[1805,5]]},"906":{"position":[[988,5]]},"907":{"position":[[281,5]]},"911":{"position":[[626,5]]},"916":{"position":[[332,5]]},"917":{"position":[[135,5]]},"918":{"position":[[98,5]]},"929":{"position":[[125,5]]},"930":{"position":[[143,5]]},"931":{"position":[[153,5]]},"932":{"position":[[87,5],[143,5],[1037,5]]},"934":{"position":[[225,5]]},"939":{"position":[[150,5]]},"942":{"position":[[182,5]]},"943":{"position":[[379,5]]},"944":{"position":[[192,5]]},"945":{"position":[[133,5],[454,5]]},"946":{"position":[[154,5]]},"947":{"position":[[166,5]]},"948":{"position":[[719,5]]},"949":{"position":[[135,5]]},"951":{"position":[[377,5]]},"954":{"position":[[137,5]]},"955":{"position":[[294,5]]},"956":{"position":[[238,5],[303,5]]},"960":{"position":[[276,5]]},"962":{"position":[[747,5],[963,5]]},"966":{"position":[[531,5],[649,5]]},"967":{"position":[[116,5],[234,5]]},"968":{"position":[[501,5]]},"976":{"position":[[313,5]]},"977":{"position":[[72,5]]},"979":{"position":[[302,5]]},"988":{"position":[[242,5],[2517,5],[2846,5],[3707,5],[3835,5]]},"994":{"position":[[40,5],[272,5]]},"995":{"position":[[389,5],[657,5],[1503,5],[1652,5],[1692,5],[1814,5],[1878,5],[2007,5]]},"997":{"position":[[96,5]]},"998":{"position":[[102,5],[138,5]]},"999":{"position":[[281,5]]},"1002":{"position":[[1008,5],[1014,6]]},"1007":{"position":[[1517,5],[1675,5],[1848,5]]},"1013":{"position":[[292,5]]},"1014":{"position":[[194,5],[335,5]]},"1015":{"position":[[170,5]]},"1016":{"position":[[129,5]]},"1018":{"position":[[71,5],[202,5],[312,5],[791,5]]},"1020":{"position":[[350,5],[597,5]]},"1022":{"position":[[446,5],[640,5],[749,5],[1003,5]]},"1023":{"position":[[105,5],[296,5],[435,5],[667,5]]},"1024":{"position":[[199,5],[372,5],[446,5],[469,5]]},"1026":{"position":[[9,5],[47,5],[89,5]]},"1027":{"position":[[1,5]]},"1028":{"position":[[1,5]]},"1033":{"position":[[493,5],[621,5],[724,5],[832,5]]},"1035":{"position":[[96,5]]},"1036":{"position":[[115,5]]},"1039":{"position":[[269,5]]},"1040":{"position":[[425,5]]},"1041":{"position":[[273,5]]},"1042":{"position":[[225,5]]},"1043":{"position":[[59,5]]},"1044":{"position":[[277,5],[367,5],[478,5],[537,5]]},"1045":{"position":[[71,5],[137,5]]},"1048":{"position":[[433,5],[539,5]]},"1049":{"position":[[197,5]]},"1050":{"position":[[91,5]]},"1057":{"position":[[119,5],[448,5],[600,5]]},"1058":{"position":[[405,5]]},"1059":{"position":[[281,5]]},"1060":{"position":[[149,5]]},"1061":{"position":[[150,5]]},"1062":{"position":[[270,5]]},"1064":{"position":[[360,5]]},"1067":{"position":[[455,5],[1958,5],[2371,5]]},"1069":{"position":[[613,5],[770,5]]},"1072":{"position":[[2413,5]]},"1075":{"position":[[1,5]]},"1078":{"position":[[855,5]]},"1090":{"position":[[776,5],[952,5],[1015,5]]},"1097":{"position":[[699,5],[875,5]]},"1098":{"position":[[335,5],[429,5]]},"1099":{"position":[[309,5],[399,5]]},"1101":{"position":[[652,5]]},"1102":{"position":[[336,5],[473,5],[696,5],[1027,5]]},"1103":{"position":[[195,5],[299,5]]},"1105":{"position":[[725,5]]},"1106":{"position":[[663,5]]},"1108":{"position":[[393,5]]},"1114":{"position":[[705,5],[832,5],[933,5]]},"1115":{"position":[[313,5],[379,5],[449,5],[813,5]]},"1118":{"position":[[639,5],[765,5]]},"1121":{"position":[[445,5],[545,5],[596,5]]},"1125":{"position":[[281,5]]},"1126":{"position":[[361,5],[674,5]]},"1130":{"position":[[154,5]]},"1134":{"position":[[131,5]]},"1138":{"position":[[275,5]]},"1139":{"position":[[530,5]]},"1140":{"position":[[589,5],[723,5]]},"1144":{"position":[[179,5]]},"1145":{"position":[[519,5]]},"1146":{"position":[[224,5]]},"1148":{"position":[[935,5],[1118,5]]},"1149":{"position":[[911,5],[1003,5]]},"1154":{"position":[[739,5]]},"1158":{"position":[[187,5],[291,5],[562,5],[676,5]]},"1159":{"position":[[373,5]]},"1161":{"position":[[259,5]]},"1162":{"position":[[512,5]]},"1163":{"position":[[533,5]]},"1164":{"position":[[1151,5]]},"1165":{"position":[[723,5],[795,5],[1061,5],[1139,5]]},"1168":{"position":[[135,5]]},"1171":{"position":[[280,5]]},"1172":{"position":[[300,5]]},"1177":{"position":[[303,5],[607,5]]},"1180":{"position":[[259,5]]},"1181":{"position":[[599,5]]},"1182":{"position":[[537,5]]},"1184":{"position":[[776,5]]},"1189":{"position":[[398,5]]},"1198":{"position":[[1888,7]]},"1201":{"position":[[175,5]]},"1208":{"position":[[580,5],[715,5],[804,5],[928,5],[1071,5],[1650,5],[1733,5],[1791,5],[1906,5]]},"1210":{"position":[[415,5]]},"1211":{"position":[[670,5]]},"1218":{"position":[[562,5]]},"1219":{"position":[[510,5],[673,5],[875,5]]},"1220":{"position":[[189,5],[550,5]]},"1222":{"position":[[1386,5]]},"1226":{"position":[[211,5]]},"1227":{"position":[[689,5]]},"1231":{"position":[[1020,5],[1090,5]]},"1237":{"position":[[833,5]]},"1238":{"position":[[808,5]]},"1239":{"position":[[778,5]]},"1264":{"position":[[133,5]]},"1265":{"position":[[677,5]]},"1267":{"position":[[611,5],[705,5]]},"1271":{"position":[[1564,5]]},"1274":{"position":[[315,5]]},"1275":{"position":[[326,5]]},"1276":{"position":[[841,5],[928,5]]},"1277":{"position":[[375,5]]},"1278":{"position":[[452,5],[904,5]]},"1279":{"position":[[702,5]]},"1280":{"position":[[437,5]]},"1286":{"position":[[484,5]]},"1287":{"position":[[534,5]]},"1288":{"position":[[500,5]]},"1294":{"position":[[1130,5]]},"1309":{"position":[[1388,5]]},"1311":{"position":[[132,5],[908,5],[962,5],[1480,5],[1745,5]]},"1315":{"position":[[569,5],[659,5]]}},"keywords":{}}],["awaitcapacitordevicereadi",{"_index":159,"title":{},"content":{"11":{"position":[[527,28],[765,28]]}},"keywords":{}}],["awaitidl",{"_index":5649,"title":{"1026":{"position":[[0,12]]}},"content":{"1033":{"position":[[360,11],[940,11]]}},"keywords":{}}],["awaitinitialrepl",{"_index":4878,"title":{"994":{"position":[[0,26]]}},"content":{"854":{"position":[[1773,26]]},"994":{"position":[[6,25]]},"995":{"position":[[40,25],[440,25],[678,25],[933,25],[1124,25]]}},"keywords":{}}],["awaitinsync",{"_index":5502,"title":{"995":{"position":[[0,14]]}},"content":{"995":{"position":[[288,13],[470,13],[707,13]]}},"keywords":{}}],["awaitreplicationsinsync",{"_index":3757,"title":{},"content":{"653":{"position":[[1213,24]]}},"keywords":{}}],["awaitwritepersist",{"_index":5914,"title":{},"content":{"1090":{"position":[[1319,22]]},"1162":{"position":[[264,21]]},"1164":{"position":[[1101,22]]},"1181":{"position":[[330,21]]},"1185":{"position":[[264,22],[337,22]]}},"keywords":{}}],["awar",{"_index":939,"title":{},"content":{"66":{"position":[[105,5]]},"129":{"position":[[477,5]]},"299":{"position":[[200,5]]},"427":{"position":[[101,5]]},"991":{"position":[[4,5]]}},"keywords":{}}],["away",{"_index":439,"title":{},"content":{"27":{"position":[[156,4]]},"331":{"position":[[288,4]]},"346":{"position":[[500,4]]},"402":{"position":[[240,4]]},"410":{"position":[[2182,5]]},"424":{"position":[[348,4]]},"460":{"position":[[75,4]]},"721":{"position":[[187,4]]},"801":{"position":[[961,4]]},"839":{"position":[[890,4]]},"1124":{"position":[[262,4]]}},"keywords":{}}],["away."",{"_index":2601,"title":{},"content":{"410":{"position":[[1450,11]]}},"keywords":{}}],["awesom",{"_index":450,"title":{},"content":{"28":{"position":[[112,7]]}},"keywords":{}}],["b",{"_index":2692,"title":{"1149":{"position":[[0,2]]}},"content":{"412":{"position":[[4639,2],[5012,3]]},"691":{"position":[[252,2]]},"860":{"position":[[1258,1]]},"871":{"position":[[519,1]]},"885":{"position":[[1724,2]]},"897":{"position":[[26,1]]},"982":{"position":[[206,1],[244,1],[308,1],[446,1],[541,1]]},"1033":{"position":[[691,2]]},"1292":{"position":[[962,1],[970,1],[983,1],[991,1],[1009,1],[1017,1]]},"1309":{"position":[[565,2],[929,3]]}},"keywords":{}}],["b.id",{"_index":5102,"title":{},"content":{"885":{"position":[[1873,5],[1903,5]]}},"keywords":{}}],["b.updatedat",{"_index":5100,"title":{},"content":{"885":{"position":[[1756,12],[1800,12],[1844,12]]}},"keywords":{}}],["b1",{"_index":5450,"title":{},"content":{"987":{"position":[[175,2],[211,2],[323,2],[408,3],[668,2],[712,2]]}},"keywords":{}}],["baar",{"_index":3779,"title":{},"content":{"659":{"position":[[536,7]]}},"keywords":{}}],["babel",{"_index":4069,"title":{},"content":{"728":{"position":[[143,5]]},"1266":{"position":[[802,6]]}},"keywords":{}}],["babel.config",{"_index":6313,"title":{},"content":{"1266":{"position":[[425,17]]}},"keywords":{}}],["babel/polyfil",{"_index":4070,"title":{},"content":{"728":{"position":[[172,15],[265,18]]}},"keywords":{}}],["babelconfig",{"_index":6311,"title":{},"content":{"1266":{"position":[[376,11],[827,11]]}},"keywords":{}}],["back",{"_index":1173,"title":{},"content":{"157":{"position":[[387,4]]},"255":{"position":[[173,4]]},"353":{"position":[[490,4]]},"358":{"position":[[557,5]]},"392":{"position":[[3458,4]]},"481":{"position":[[90,4]]},"489":{"position":[[827,4]]},"491":{"position":[[105,4]]},"495":{"position":[[174,5],[721,4]]},"524":{"position":[[43,6]]},"621":{"position":[[304,4]]},"698":{"position":[[1861,4]]},"701":{"position":[[615,5]]},"711":{"position":[[665,4]]},"871":{"position":[[205,4]]},"987":{"position":[[457,4]]},"988":{"position":[[6086,4]]},"1006":{"position":[[291,4]]},"1007":{"position":[[607,4]]},"1250":{"position":[[233,4]]},"1301":{"position":[[1100,4]]},"1304":{"position":[[969,4]]},"1316":{"position":[[1695,4],[2797,4],[2933,4]]}},"keywords":{}}],["backbon",{"_index":1676,"title":{"489":{"position":[[20,8]]}},"content":{"288":{"position":[[63,8]]}},"keywords":{}}],["backend",{"_index":220,"title":{"82":{"position":[[49,8]]},"113":{"position":[[49,8]]},"199":{"position":[[78,7]]},"238":{"position":[[54,8]]},"246":{"position":[[61,7]]},"249":{"position":[[22,8]]},"293":{"position":[[36,8]]},"1147":{"position":[[24,7]]}},"content":{"14":{"position":[[576,8],[1040,8]]},"15":{"position":[[374,7]]},"16":{"position":[[129,7]]},"18":{"position":[[350,7]]},"19":{"position":[[1025,9]]},"20":{"position":[[18,7],[217,7]]},"21":{"position":[[157,8]]},"27":{"position":[[13,7],[113,7],[235,7]]},"29":{"position":[[189,7]]},"38":{"position":[[132,7]]},"39":{"position":[[413,7]]},"41":{"position":[[362,7]]},"42":{"position":[[186,8],[340,7]]},"43":{"position":[[226,9],[298,9]]},"46":{"position":[[506,7]]},"82":{"position":[[69,7]]},"113":{"position":[[103,7],[191,7]]},"162":{"position":[[290,8]]},"174":{"position":[[2912,7],[3019,7],[3175,7]]},"201":{"position":[[429,8]]},"202":{"position":[[423,7]]},"204":{"position":[[227,7]]},"207":{"position":[[386,7]]},"208":{"position":[[227,7],[312,7]]},"210":{"position":[[36,8]]},"211":{"position":[[605,8]]},"212":{"position":[[433,7]]},"223":{"position":[[53,7],[324,8]]},"238":{"position":[[94,7],[199,8],[268,7]]},"249":{"position":[[289,7]]},"255":{"position":[[339,7],[1759,7]]},"260":{"position":[[51,7],[238,8],[330,8]]},"263":{"position":[[108,8]]},"293":{"position":[[68,7],[276,7]]},"309":{"position":[[332,7]]},"312":{"position":[[138,7]]},"313":{"position":[[158,9]]},"318":{"position":[[133,8]]},"328":{"position":[[57,9]]},"336":{"position":[[32,8]]},"368":{"position":[[130,9]]},"372":{"position":[[50,7]]},"380":{"position":[[273,8]]},"381":{"position":[[109,9],[351,9]]},"410":{"position":[[831,7]]},"411":{"position":[[371,8],[1163,7],[1551,7],[4940,7]]},"412":{"position":[[906,7],[1568,7],[2930,7],[12297,7],[12813,7]]},"477":{"position":[[238,8]]},"480":{"position":[[1023,8]]},"481":{"position":[[260,8]]},"489":{"position":[[180,8]]},"556":{"position":[[1625,7]]},"561":{"position":[[210,8]]},"581":{"position":[[32,8]]},"610":{"position":[[1512,7]]},"612":{"position":[[439,7]]},"626":{"position":[[302,7],[407,7],[445,7],[762,7]]},"630":{"position":[[748,7]]},"632":{"position":[[686,8],[892,8]]},"634":{"position":[[670,7]]},"685":{"position":[[466,7]]},"686":{"position":[[452,7],[611,8],[632,7]]},"696":{"position":[[1764,7]]},"697":{"position":[[424,7],[519,8]]},"698":{"position":[[1616,8],[1698,7]]},"699":{"position":[[53,8],[394,7]]},"700":{"position":[[87,8],[276,7]]},"701":{"position":[[372,7],[593,8],[999,7]]},"702":{"position":[[582,7]]},"704":{"position":[[552,7]]},"705":{"position":[[321,8]]},"710":{"position":[[397,8]]},"715":{"position":[[318,7]]},"740":{"position":[[307,7]]},"756":{"position":[[413,7]]},"778":{"position":[[125,7],[606,8]]},"780":{"position":[[722,7]]},"781":{"position":[[143,7],[301,7],[630,8],[890,7]]},"782":{"position":[[86,7],[182,7]]},"784":{"position":[[170,7]]},"785":{"position":[[621,7]]},"836":{"position":[[1894,8]]},"840":{"position":[[578,8]]},"841":{"position":[[567,7],[1548,8]]},"860":{"position":[[35,7],[66,7],[1026,8]]},"871":{"position":[[656,7]]},"875":{"position":[[7659,7],[9226,7]]},"886":{"position":[[1634,7],[3450,8],[4994,8],[5072,7]]},"888":{"position":[[884,7]]},"890":{"position":[[530,7]]},"896":{"position":[[12,8]]},"981":{"position":[[359,8],[529,7],[567,8],[619,7],[703,8],[1679,7]]},"984":{"position":[[245,7],[276,7],[553,7]]},"985":{"position":[[38,8],[67,7],[142,7],[671,7]]},"986":{"position":[[538,7]]},"988":{"position":[[907,7],[1778,7],[4053,8],[4737,7],[5282,7]]},"991":{"position":[[79,7],[104,7]]},"996":{"position":[[115,8],[310,7]]},"1002":{"position":[[880,7]]},"1004":{"position":[[568,7],[718,7]]},"1005":{"position":[[103,7]]},"1072":{"position":[[1706,8]]},"1123":{"position":[[780,8]]},"1124":{"position":[[1882,9],[1984,7]]},"1147":{"position":[[46,7],[245,7],[327,8]]},"1149":{"position":[[32,7],[481,8],[560,7]]},"1301":{"position":[[439,7]]},"1304":{"position":[[1895,7]]},"1308":{"position":[[137,7],[340,7],[356,7],[434,7]]},"1314":{"position":[[164,8]]},"1316":{"position":[[60,7]]},"1320":{"position":[[92,7],[271,8],[284,7],[496,7]]}},"keywords":{}}],["backend"",{"_index":1516,"title":{},"content":{"244":{"position":[[1272,13]]},"412":{"position":[[2784,13]]}},"keywords":{}}],["backend.learn",{"_index":3690,"title":{},"content":{"628":{"position":[[172,13]]}},"keywords":{}}],["backend.us",{"_index":6073,"title":{},"content":{"1148":{"position":[[275,12]]}},"keywords":{}}],["backend/protocol",{"_index":6015,"title":{},"content":{"1124":{"position":[[2228,17]]}},"keywords":{}}],["backendsencrypt",{"_index":3142,"title":{},"content":{"483":{"position":[[275,18]]},"631":{"position":[[419,18]]}},"keywords":{}}],["backendsfield",{"_index":3118,"title":{},"content":{"479":{"position":[[226,13]]}},"keywords":{}}],["background",{"_index":321,"title":{},"content":{"19":{"position":[[170,11]]},"196":{"position":[[200,10]]},"384":{"position":[[185,10]]},"407":{"position":[[259,11]]},"410":{"position":[[2061,10]]},"415":{"position":[[207,10]]},"420":{"position":[[1596,11]]},"421":{"position":[[832,10]]},"460":{"position":[[219,11]]},"487":{"position":[[415,11]]},"491":{"position":[[229,11],[1087,11]]},"618":{"position":[[283,10]]},"699":{"position":[[910,10]]},"704":{"position":[[339,10]]},"774":{"position":[[309,11],[1087,10]]},"1093":{"position":[[493,10]]},"1185":{"position":[[159,11]]},"1292":{"position":[[614,11]]},"1313":{"position":[[837,10]]},"1318":{"position":[[832,10]]}},"keywords":{}}],["background.on",{"_index":3980,"title":{},"content":{"707":{"position":[[150,14]]}},"keywords":{}}],["backpressur",{"_index":3666,"title":{},"content":{"622":{"position":[[105,12]]}},"keywords":{}}],["backup",{"_index":2111,"title":{"645":{"position":[[3,6]]},"647":{"position":[[9,7]]},"648":{"position":[[5,7]]},"973":{"position":[[0,9]]}},"content":{"365":{"position":[[1498,6]]},"412":{"position":[[8385,7],[8892,6]]},"417":{"position":[[203,7],[329,7]]},"647":{"position":[[199,6],[259,6],[297,6]]},"648":{"position":[[29,6],[74,6],[154,6],[189,6],[315,6]]},"649":{"position":[[77,6],[145,6],[407,6]]},"650":{"position":[[55,7]]},"702":{"position":[[374,7]]},"793":{"position":[[1105,6]]},"1094":{"position":[[443,8]]}},"keywords":{}}],["backup/repl",{"_index":2594,"title":{},"content":{"410":{"position":[[894,18]]}},"keywords":{}}],["backupopt",{"_index":3730,"title":{},"content":{"647":{"position":[[157,13]]},"648":{"position":[[99,13]]},"649":{"position":[[98,13]]}},"keywords":{}}],["backupst",{"_index":3731,"title":{},"content":{"647":{"position":[[383,11]]},"648":{"position":[[232,11]]},"649":{"position":[[188,11]]}},"keywords":{}}],["backupstate.awaitinitialbackup",{"_index":3733,"title":{},"content":{"647":{"position":[[437,33]]},"648":{"position":[[380,33]]}},"keywords":{}}],["backupstate.writeevents$.subscribe(writeev",{"_index":3737,"title":{},"content":{"649":{"position":[[257,45]]}},"keywords":{}}],["backupstate2",{"_index":3734,"title":{},"content":{"647":{"position":[[523,12]]}},"keywords":{}}],["backupstate2.awaitinitialbackup",{"_index":3735,"title":{},"content":{"647":{"position":[[578,34]]}},"keywords":{}}],["backward",{"_index":859,"title":{},"content":{"57":{"position":[[246,8]]},"459":{"position":[[1168,9]]},"466":{"position":[[510,9]]},"1134":{"position":[[284,9]]},"1239":{"position":[[437,9]]},"1270":{"position":[[210,9]]},"1276":{"position":[[316,9]]}},"keywords":{}}],["bad",{"_index":403,"title":{},"content":{"24":{"position":[[477,3]]},"616":{"position":[[840,3]]},"626":{"position":[[429,3]]},"709":{"position":[[388,3]]},"1321":{"position":[[489,3]]}},"keywords":{}}],["balanc",{"_index":1611,"title":{},"content":{"266":{"position":[[427,9]]},"365":{"position":[[741,8]]},"412":{"position":[[6245,7]]},"444":{"position":[[855,7]]},"698":{"position":[[2778,7],[2828,7],[2896,7],[2963,7]]},"1080":{"position":[[449,8]]},"1088":{"position":[[744,8]]},"1089":{"position":[[260,9]]}},"keywords":{}}],["bandwidth",{"_index":719,"title":{"780":{"position":[[31,10]]}},"content":{"46":{"position":[[635,9]]},"57":{"position":[[425,9]]},"204":{"position":[[284,9]]},"361":{"position":[[440,10]]},"408":{"position":[[2124,9],[3017,9],[3362,9]]},"534":{"position":[[667,9]]},"594":{"position":[[665,9]]},"632":{"position":[[227,9]]},"780":{"position":[[24,9],[119,9],[222,9],[629,10]]},"902":{"position":[[839,9],[876,9]]},"1009":{"position":[[843,9]]}},"keywords":{}}],["bank",{"_index":1695,"title":{},"content":{"295":{"position":[[247,5]]},"412":{"position":[[6151,7]]},"700":{"position":[[821,7]]}},"keywords":{}}],["bar",{"_index":3781,"title":{},"content":{"659":{"position":[[621,5]]},"662":{"position":[[2639,8],[2728,5],[2816,5]]},"710":{"position":[[1946,8],[2035,5],[2123,5]]},"711":{"position":[[1376,8]]},"752":{"position":[[339,4]]},"806":{"position":[[794,5]]},"838":{"position":[[2853,8],[2942,5],[3030,5]]},"942":{"position":[[233,5]]},"943":{"position":[[441,5]]},"947":{"position":[[241,6]]},"1014":{"position":[[257,5],[396,5]]},"1015":{"position":[[233,5]]},"1018":{"position":[[560,6],[605,7],[881,5]]},"1035":{"position":[[147,5]]},"1078":{"position":[[971,5],[1098,5]]},"1177":{"position":[[397,6]]},"1220":{"position":[[370,5],[580,4],[631,5]]}},"keywords":{}}],["bar1",{"_index":5333,"title":{},"content":{"944":{"position":[[249,6]]}},"keywords":{}}],["bar2",{"_index":5335,"title":{},"content":{"944":{"position":[[285,6]]},"946":{"position":[[205,6]]},"947":{"position":[[223,6]]},"1018":{"position":[[193,8]]}},"keywords":{}}],["barrier",{"_index":2835,"title":{},"content":{"420":{"position":[[866,7]]},"898":{"position":[[4067,7]]}},"keywords":{}}],["base",{"_index":114,"title":{"68":{"position":[[10,5]]},"99":{"position":[[10,5]]},"150":{"position":[[15,5]]},"152":{"position":[[19,5]]},"153":{"position":[[27,4]]},"161":{"position":[[20,4]]},"226":{"position":[[10,5]]},"279":{"position":[[16,5]]},"348":{"position":[[5,5]]},"349":{"position":[[9,5]]},"1024":{"position":[[23,5]]},"1195":{"position":[[8,5]]},"1196":{"position":[[12,5]]},"1247":{"position":[[12,5]]},"1253":{"position":[[13,5]]}},"content":{"8":{"position":[[475,4],[522,5]]},"19":{"position":[[88,6]]},"26":{"position":[[21,5],[43,5]]},"31":{"position":[[54,5]]},"34":{"position":[[348,5]]},"35":{"position":[[97,5],[445,5]]},"36":{"position":[[362,5]]},"38":{"position":[[471,5]]},"40":{"position":[[15,5]]},"45":{"position":[[152,5],[320,5]]},"47":{"position":[[90,6],[149,5],[217,5]]},"51":{"position":[[96,5]]},"60":{"position":[[55,5]]},"64":{"position":[[87,5]]},"66":{"position":[[189,5]]},"67":{"position":[[106,5]]},"71":{"position":[[41,5]]},"83":{"position":[[73,5]]},"98":{"position":[[121,5]]},"114":{"position":[[670,5]]},"116":{"position":[[172,5]]},"126":{"position":[[274,5]]},"129":{"position":[[116,5]]},"131":{"position":[[795,5]]},"134":{"position":[[220,5]]},"135":{"position":[[257,5]]},"152":{"position":[[150,5],[246,5]]},"153":{"position":[[31,5],[59,4]]},"155":{"position":[[40,4],[172,4]]},"161":{"position":[[23,4],[126,5]]},"167":{"position":[[120,4]]},"169":{"position":[[204,6]]},"170":{"position":[[35,4]]},"174":{"position":[[22,5]]},"179":{"position":[[96,5],[318,5]]},"181":{"position":[[88,5]]},"189":{"position":[[630,5],[694,5]]},"221":{"position":[[55,5]]},"223":{"position":[[409,5]]},"227":{"position":[[143,5]]},"243":{"position":[[957,5]]},"244":{"position":[[884,5]]},"249":{"position":[[260,5]]},"255":{"position":[[253,5],[955,5]]},"265":{"position":[[272,5]]},"266":{"position":[[1100,5]]},"279":{"position":[[59,5]]},"287":{"position":[[362,5]]},"298":{"position":[[480,5]]},"299":{"position":[[1738,5]]},"317":{"position":[[35,5]]},"336":{"position":[[486,5]]},"353":{"position":[[738,5]]},"354":{"position":[[35,5],[1646,5]]},"360":{"position":[[269,5],[722,5]]},"362":{"position":[[6,5]]},"365":{"position":[[1242,5]]},"368":{"position":[[53,5]]},"369":{"position":[[841,5]]},"390":{"position":[[449,5],[809,5],[1348,5],[1435,5],[1575,5]]},"394":{"position":[[439,5],[990,5],[1085,5]]},"401":{"position":[[297,4],[344,4],[391,4],[438,4]]},"408":{"position":[[2037,5],[2575,4]]},"412":{"position":[[4192,5],[5992,5],[12089,5]]},"414":{"position":[[263,5]]},"419":{"position":[[1865,5]]},"427":{"position":[[999,5]]},"430":{"position":[[240,5]]},"433":{"position":[[103,6]]},"435":{"position":[[32,5]]},"438":{"position":[[160,5]]},"444":{"position":[[570,5],[826,5]]},"450":{"position":[[604,4]]},"452":{"position":[[361,4],[737,5]]},"453":{"position":[[486,4],[792,5]]},"455":{"position":[[109,5],[385,5]]},"456":{"position":[[153,5]]},"461":{"position":[[1093,5]]},"468":{"position":[[262,5]]},"483":{"position":[[1083,5]]},"489":{"position":[[189,5]]},"496":{"position":[[201,5]]},"502":{"position":[[36,5]]},"504":{"position":[[489,5]]},"521":{"position":[[85,5]]},"524":{"position":[[1015,5]]},"525":{"position":[[686,5]]},"535":{"position":[[128,5]]},"538":{"position":[[64,5],[105,5],[228,5]]},"547":{"position":[[55,5]]},"554":{"position":[[459,5],[713,5]]},"560":{"position":[[54,5]]},"561":{"position":[[248,5]]},"563":{"position":[[627,5],[1038,5]]},"566":{"position":[[285,5],[366,5]]},"567":{"position":[[408,5],[827,5]]},"571":{"position":[[531,5]]},"574":{"position":[[876,5]]},"595":{"position":[[128,5]]},"598":{"position":[[64,5],[105,5],[229,5]]},"607":{"position":[[55,5]]},"620":{"position":[[537,5]]},"631":{"position":[[22,5],[312,5]]},"632":{"position":[[132,5],[886,5],[1257,5]]},"661":{"position":[[17,5],[1450,5]]},"662":{"position":[[237,5]]},"670":{"position":[[291,5]]},"688":{"position":[[912,5],[1011,5]]},"690":{"position":[[185,5],[387,5]]},"698":{"position":[[1963,5]]},"700":{"position":[[436,5]]},"703":{"position":[[23,5],[1062,5],[1312,5]]},"705":{"position":[[181,5],[477,5],[707,5]]},"710":{"position":[[123,5]]},"711":{"position":[[17,5],[1944,5]]},"714":{"position":[[749,5],[815,5]]},"717":{"position":[[94,5],[196,5]]},"723":{"position":[[2093,5],[2363,5]]},"724":{"position":[[720,5]]},"729":{"position":[[49,5]]},"730":{"position":[[124,4]]},"798":{"position":[[492,5]]},"831":{"position":[[302,5]]},"835":{"position":[[219,6],[396,6],[681,5]]},"836":{"position":[[19,5],[734,5],[1160,5],[1284,5]]},"837":{"position":[[949,5]]},"838":{"position":[[266,5],[991,5]]},"839":{"position":[[240,5]]},"840":{"position":[[24,5]]},"841":{"position":[[177,5],[193,5],[213,5],[245,6],[364,5],[1187,5]]},"860":{"position":[[1098,5]]},"875":{"position":[[1809,5]]},"904":{"position":[[424,5]]},"984":{"position":[[83,5]]},"1009":{"position":[[555,5],[570,5]]},"1041":{"position":[[22,5],[56,5]]},"1042":{"position":[[26,5]]},"1071":{"position":[[115,5]]},"1126":{"position":[[335,5],[648,5]]},"1132":{"position":[[348,5],[389,5]]},"1148":{"position":[[269,5],[698,5]]},"1151":{"position":[[112,5]]},"1154":{"position":[[181,5]]},"1159":{"position":[[79,5]]},"1172":{"position":[[524,5]]},"1173":{"position":[[11,5]]},"1178":{"position":[[111,5]]},"1195":{"position":[[41,5]]},"1202":{"position":[[49,5]]},"1219":{"position":[[458,5],[625,5]]},"1242":{"position":[[18,5]]},"1243":{"position":[[28,5]]},"1244":{"position":[[23,5]]},"1247":{"position":[[165,5],[182,5],[373,5],[546,5]]},"1249":{"position":[[106,5],[410,5]]},"1251":{"position":[[15,5]]},"1252":{"position":[[15,5]]},"1257":{"position":[[25,5]]},"1270":{"position":[[62,5]]},"1292":{"position":[[224,6]]},"1297":{"position":[[10,5]]},"1313":{"position":[[476,5],[1049,5]]},"1316":{"position":[[798,5]]},"1318":{"position":[[1104,5]]},"1320":{"position":[[628,5]]},"1321":{"position":[[693,5]]},"1322":{"position":[[209,5]]},"1323":{"position":[[107,5]]},"1324":{"position":[[582,5]]}},"keywords":{}}],["base64",{"_index":3007,"title":{},"content":{"460":{"position":[[603,6]]},"918":{"position":[[45,6]]},"1143":{"position":[[292,6]]},"1282":{"position":[[214,6]]}},"keywords":{}}],["base64databas",{"_index":5310,"title":{},"content":{"931":{"position":[[136,14]]}},"keywords":{}}],["base64str",{"_index":5309,"title":{},"content":{"931":{"position":[[59,13]]}},"keywords":{}}],["basedir",{"_index":6314,"title":{},"content":{"1266":{"position":[[449,7],[562,7]]}},"keywords":{}}],["basepath",{"_index":5909,"title":{},"content":{"1090":{"position":[[889,9]]},"1130":{"position":[[236,9]]}},"keywords":{}}],["basestorag",{"_index":6277,"title":{},"content":{"1231":{"position":[[782,11],[899,11],[1074,11]]}},"keywords":{}}],["basi",{"_index":895,"title":{},"content":{"63":{"position":[[131,5]]},"396":{"position":[[504,5]]},"424":{"position":[[186,6]]},"1323":{"position":[[216,6]]}},"keywords":{}}],["basic",{"_index":481,"title":{"558":{"position":[[23,5]]},"561":{"position":[[22,5]]}},"content":{"29":{"position":[[345,5]]},"41":{"position":[[141,9]]},"47":{"position":[[509,5]]},"63":{"position":[[213,5]]},"321":{"position":[[343,5]]},"388":{"position":[[90,5]]},"394":{"position":[[118,5]]},"412":{"position":[[5255,9]]},"456":{"position":[[23,5]]},"520":{"position":[[234,5]]},"522":{"position":[[264,5]]},"544":{"position":[[55,5]]},"554":{"position":[[100,5]]},"566":{"position":[[218,5]]},"567":{"position":[[948,7]]},"604":{"position":[[55,5]]},"611":{"position":[[918,6]]},"698":{"position":[[3230,9]]},"802":{"position":[[547,5]]},"839":{"position":[[690,5]]},"841":{"position":[[339,5],[827,5],[1398,5]]},"848":{"position":[[504,7]]},"876":{"position":[[38,6]]},"906":{"position":[[478,5]]},"950":{"position":[[11,9]]},"1055":{"position":[[13,5]]},"1123":{"position":[[515,5]]},"1274":{"position":[[604,5]]},"1279":{"position":[[991,5]]}},"keywords":{}}],["batch",{"_index":513,"title":{"1294":{"position":[[0,7]]}},"content":{"33":{"position":[[137,8]]},"146":{"position":[[71,8]]},"277":{"position":[[174,7]]},"392":{"position":[[2515,7],[3046,5],[3092,6],[4965,5]]},"411":{"position":[[780,8]]},"487":{"position":[[111,5],[208,8]]},"752":{"position":[[795,5]]},"759":{"position":[[750,5],[984,5]]},"760":{"position":[[746,5],[872,5]]},"875":{"position":[[5880,5]]},"885":{"position":[[2343,5]]},"981":{"position":[[865,8]]},"983":{"position":[[56,7],[757,7],[825,8]]},"988":{"position":[[2898,5],[5302,5]]},"1125":{"position":[[642,8],[676,5]]},"1134":{"position":[[632,5]]},"1138":{"position":[[401,7]]},"1143":{"position":[[349,7]]},"1164":{"position":[[246,6]]},"1294":{"position":[[369,7],[698,5],[1017,7],[1854,7],[1928,5],[2041,5],[2122,7]]},"1295":{"position":[[877,7],[1106,7]]},"1296":{"position":[[369,7],[1242,7],[1672,7]]}},"keywords":{}}],["batches.simplifi",{"_index":3696,"title":{},"content":{"630":{"position":[[866,18]]}},"keywords":{}}],["batchsiz",{"_index":1354,"title":{},"content":{"209":{"position":[[1017,10]]},"255":{"position":[[1352,10]]},"392":{"position":[[2734,10],[4640,10]]},"632":{"position":[[2397,10]]},"724":{"position":[[1150,10]]},"749":{"position":[[22514,9]]},"759":{"position":[[731,10]]},"760":{"position":[[727,10]]},"846":{"position":[[723,10],[1149,10]]},"862":{"position":[[1389,10],[1415,10]]},"866":{"position":[[858,10],[883,10]]},"872":{"position":[[2586,10],[2611,10],[4602,10],[4627,10]]},"875":{"position":[[1896,9],[3174,11]]},"886":{"position":[[1559,11],[1753,10],[2845,9],[2945,10],[4052,10],[4157,10]]},"898":{"position":[[3466,10],[3879,10]]},"988":{"position":[[2994,10],[3545,10],[3966,10],[4475,10]]},"1125":{"position":[[740,10]]},"1134":{"position":[[770,10]]},"1138":{"position":[[438,9],[604,10]]},"1164":{"position":[[286,10]]},"1294":{"position":[[1494,11]]}},"keywords":{}}],["batteri",{"_index":2744,"title":{},"content":{"412":{"position":[[10701,7]]},"618":{"position":[[465,7]]},"1003":{"position":[[180,8]]}},"keywords":{}}],["battl",{"_index":2170,"title":{},"content":{"386":{"position":[[9,6]]},"710":{"position":[[322,6]]},"1199":{"position":[[6,6]]}},"keywords":{}}],["be",{"_index":645,"title":{},"content":{"41":{"position":[[22,5]]},"76":{"position":[[1,5]]},"174":{"position":[[1259,5]]},"207":{"position":[[363,5]]},"404":{"position":[[491,5]]},"408":{"position":[[615,5]]},"410":{"position":[[955,5]]},"411":{"position":[[637,5]]},"418":{"position":[[233,5]]},"419":{"position":[[346,5]]},"450":{"position":[[719,5]]},"460":{"position":[[145,5]]},"614":{"position":[[682,5]]},"688":{"position":[[1069,5]]},"717":{"position":[[1323,5]]},"837":{"position":[[284,5],[782,5]]},"840":{"position":[[337,5],[428,5]]},"885":{"position":[[434,5]]},"886":{"position":[[4834,5]]},"988":{"position":[[1592,5],[1753,5]]},"1180":{"position":[[349,5]]},"1184":{"position":[[173,5]]},"1304":{"position":[[1512,5],[1777,5]]},"1311":{"position":[[349,7]]}},"keywords":{}}],["bearer",{"_index":4833,"title":{},"content":{"848":{"position":[[47,6],[439,6],[900,6]]},"878":{"position":[[512,7]]},"880":{"position":[[424,7]]},"886":{"position":[[1863,7],[3160,7],[4128,7]]}},"keywords":{}}],["beat",{"_index":691,"title":{"44":{"position":[[51,5]]}},"content":{},"keywords":{}}],["becam",{"_index":4591,"title":{},"content":{"780":{"position":[[166,6]]},"1198":{"position":[[345,6]]}},"keywords":{}}],["becom",{"_index":912,"title":{},"content":{"65":{"position":[[503,7]]},"89":{"position":[[169,7]]},"90":{"position":[[64,7]]},"97":{"position":[[40,7]]},"122":{"position":[[249,7]]},"133":{"position":[[243,7]]},"152":{"position":[[26,6]]},"173":{"position":[[341,7]]},"174":{"position":[[2154,7]]},"232":{"position":[[16,6]]},"255":{"position":[[1793,7]]},"265":{"position":[[667,6]]},"320":{"position":[[391,7]]},"321":{"position":[[397,6]]},"358":{"position":[[447,7]]},"399":{"position":[[443,7]]},"402":{"position":[[316,7]]},"404":{"position":[[228,6]]},"408":{"position":[[3221,7],[5436,6]]},"411":{"position":[[2027,7]]},"412":{"position":[[5829,6],[7311,6],[10215,6],[12769,7]]},"416":{"position":[[432,7]]},"421":{"position":[[732,6],[1212,6]]},"478":{"position":[[219,7]]},"548":{"position":[[428,7]]},"608":{"position":[[426,7]]},"613":{"position":[[920,6]]},"701":{"position":[[724,7]]},"709":{"position":[[458,7],[801,6]]},"739":{"position":[[168,7],[570,7]]},"784":{"position":[[279,8]]},"829":{"position":[[2033,7]]},"974":{"position":[[54,7]]},"985":{"position":[[647,6]]},"1003":{"position":[[126,7],[202,7],[268,7],[307,7]]},"1085":{"position":[[2472,6]]},"1304":{"position":[[699,7]]},"1316":{"position":[[3796,6]]}},"keywords":{}}],["befor",{"_index":458,"title":{},"content":{"28":{"position":[[350,6]]},"151":{"position":[[1,6]]},"188":{"position":[[1607,6]]},"304":{"position":[[323,6]]},"360":{"position":[[184,6]]},"398":{"position":[[643,6]]},"412":{"position":[[121,6],[15364,6]]},"427":{"position":[[720,6]]},"463":{"position":[[1,6]]},"469":{"position":[[1065,6]]},"551":{"position":[[496,6]]},"555":{"position":[[122,6]]},"566":{"position":[[1311,6]]},"653":{"position":[[427,6]]},"666":{"position":[[1,6]]},"667":{"position":[[1,6]]},"676":{"position":[[262,6]]},"683":{"position":[[812,7]]},"696":{"position":[[361,6]]},"703":{"position":[[1678,6]]},"719":{"position":[[468,6]]},"727":{"position":[[80,7]]},"749":{"position":[[13297,6]]},"759":{"position":[[1532,6]]},"767":{"position":[[387,6]]},"768":{"position":[[356,6]]},"770":{"position":[[635,6]]},"846":{"position":[[789,6],[1208,6]]},"849":{"position":[[143,6]]},"857":{"position":[[27,6]]},"884":{"position":[[1,6]]},"886":{"position":[[1276,6],[3017,6]]},"888":{"position":[[92,6]]},"898":{"position":[[1289,6],[3646,6],[3767,6]]},"904":{"position":[[1,6]]},"911":{"position":[[387,6]]},"912":{"position":[[306,6]]},"916":{"position":[[1,6]]},"932":{"position":[[357,6]]},"943":{"position":[[248,6]]},"952":{"position":[[83,6]]},"958":{"position":[[720,6]]},"971":{"position":[[195,6]]},"982":{"position":[[146,6]]},"988":{"position":[[3037,6],[4553,6]]},"994":{"position":[[227,6]]},"1038":{"position":[[109,6]]},"1041":{"position":[[104,7]]},"1084":{"position":[[49,6]]},"1085":{"position":[[2944,6],[3653,6]]},"1106":{"position":[[303,6]]},"1119":{"position":[[326,6]]},"1164":{"position":[[1206,6]]},"1165":{"position":[[619,6]]},"1289":{"position":[[112,6]]},"1316":{"position":[[1664,6]]}},"keywords":{}}],["before.when",{"_index":6470,"title":{},"content":{"1300":{"position":[[752,11]]}},"keywords":{}}],["beforeunload",{"_index":6471,"title":{},"content":{"1300":{"position":[[785,12],[907,12]]}},"keywords":{}}],["began",{"_index":2852,"title":{},"content":{"421":{"position":[[372,5]]}},"keywords":{}}],["begin",{"_index":1075,"title":{},"content":{"119":{"position":[[4,5]]},"206":{"position":[[198,5]]},"285":{"position":[[155,5]]},"411":{"position":[[3142,10]]},"522":{"position":[[78,5]]},"796":{"position":[[938,9]]},"1002":{"position":[[54,9]]},"1207":{"position":[[10,9]]}},"keywords":{}}],["beginn",{"_index":4892,"title":{},"content":{"861":{"position":[[132,9]]}},"keywords":{}}],["behav",{"_index":64,"title":{},"content":{"4":{"position":[[128,6]]},"14":{"position":[[702,7]]},"301":{"position":[[707,7]]},"346":{"position":[[583,7]]},"412":{"position":[[8219,7]]},"462":{"position":[[562,6]]},"679":{"position":[[300,8]]},"689":{"position":[[355,6]]},"749":{"position":[[16659,7]]},"830":{"position":[[332,7]]},"881":{"position":[[17,7],[412,8]]},"956":{"position":[[217,6]]},"1018":{"position":[[19,7]]}},"keywords":{}}],["behavior",{"_index":76,"title":{},"content":{"5":{"position":[[79,9]]},"16":{"position":[[463,8]]},"38":{"position":[[285,8],[462,8]]},"147":{"position":[[238,8]]},"168":{"position":[[370,10]]},"299":{"position":[[683,8]]},"396":{"position":[[1962,8]]},"427":{"position":[[1274,8]]},"437":{"position":[[88,8]]},"618":{"position":[[379,8]]},"660":{"position":[[129,8]]},"749":{"position":[[5779,8]]},"770":{"position":[[177,8]]},"802":{"position":[[458,10]]},"828":{"position":[[418,8]]},"948":{"position":[[320,8]]},"1065":{"position":[[712,8]]},"1085":{"position":[[2349,9]]},"1115":{"position":[[562,8],[762,9]]},"1126":{"position":[[314,9]]},"1164":{"position":[[63,9],[501,8]]},"1188":{"position":[[338,9]]},"1305":{"position":[[345,8]]}},"keywords":{}}],["behavior.multi",{"_index":5433,"title":{},"content":{"981":{"position":[[1484,14]]}},"keywords":{}}],["behaviorsubject",{"_index":5743,"title":{},"content":{"1058":{"position":[[367,16]]}},"keywords":{}}],["behaviorsubjectse",{"_index":5742,"title":{},"content":{"1058":{"position":[[4,18]]}},"keywords":{}}],["behind",{"_index":1161,"title":{},"content":{"152":{"position":[[126,6]]},"354":{"position":[[1234,6]]},"361":{"position":[[1119,6]]},"421":{"position":[[894,7]]},"486":{"position":[[149,6]]},"828":{"position":[[332,6]]}},"keywords":{}}],["belong",{"_index":2512,"title":{},"content":{"405":{"position":[[60,7]]},"412":{"position":[[10815,6]]},"808":{"position":[[77,7]]},"937":{"position":[[131,6]]}},"keywords":{}}],["below",{"_index":1540,"title":{},"content":{"247":{"position":[[90,5]]},"300":{"position":[[119,5]]},"315":{"position":[[108,5]]},"334":{"position":[[1,5]]},"391":{"position":[[253,5]]},"480":{"position":[[1,5]]},"485":{"position":[[126,5]]},"491":{"position":[[1478,7]]},"538":{"position":[[148,5]]},"554":{"position":[[230,5]]},"579":{"position":[[95,5]]},"598":{"position":[[149,5]]},"632":{"position":[[482,6]]},"798":{"position":[[711,5]]},"875":{"position":[[551,5],[592,5],[1181,5],[4376,5]]},"988":{"position":[[4768,6]]},"1066":{"position":[[517,5]]},"1097":{"position":[[820,6]]},"1149":{"position":[[491,5]]}},"keywords":{}}],["benchmark",{"_index":2427,"title":{"399":{"position":[[12,11]]},"1190":{"position":[[25,10]]}},"content":{"399":{"position":[[533,10]]},"401":{"position":[[602,11]]},"471":{"position":[[49,10]]},"703":{"position":[[952,9]]},"1292":{"position":[[31,10]]}},"keywords":{}}],["benchmarks.eas",{"_index":6095,"title":{},"content":{"1156":{"position":[[232,15]]}},"keywords":{}}],["benefici",{"_index":904,"title":{},"content":{"65":{"position":[[100,10]]},"74":{"position":[[49,10]]},"169":{"position":[[240,10]]},"216":{"position":[[254,10]]},"220":{"position":[[242,10]]},"375":{"position":[[34,10]]},"508":{"position":[[118,10]]},"584":{"position":[[206,10]]},"723":{"position":[[609,10]]}},"keywords":{}}],["benefit",{"_index":401,"title":{"85":{"position":[[10,8]]},"151":{"position":[[38,7]]},"265":{"position":[[22,9]]},"410":{"position":[[16,9]]},"411":{"position":[[21,9]]},"485":{"position":[[0,8]]},"723":{"position":[[0,8]]},"902":{"position":[[0,8]]},"1156":{"position":[[4,9]]}},"content":{"24":{"position":[[257,7]]},"53":{"position":[[7,7]]},"65":{"position":[[2042,8]]},"105":{"position":[[196,8]]},"114":{"position":[[634,9]]},"151":{"position":[[284,7]]},"173":{"position":[[231,8],[2429,10]]},"174":{"position":[[3204,10]]},"175":{"position":[[628,8]]},"232":{"position":[[174,7]]},"236":{"position":[[169,8]]},"266":{"position":[[273,8]]},"269":{"position":[[382,10]]},"286":{"position":[[389,10]]},"290":{"position":[[255,9]]},"295":{"position":[[66,9]]},"354":{"position":[[162,7]]},"362":{"position":[[1040,8]]},"366":{"position":[[311,8]]},"370":{"position":[[29,7]]},"372":{"position":[[153,8]]},"376":{"position":[[25,7]]},"387":{"position":[[245,7]]},"410":{"position":[[993,8]]},"411":{"position":[[5268,8]]},"412":{"position":[[9593,9],[15141,8]]},"418":{"position":[[695,8]]},"419":{"position":[[972,8]]},"433":{"position":[[257,9]]},"444":{"position":[[793,8]]},"445":{"position":[[357,8]]},"446":{"position":[[575,7]]},"621":{"position":[[783,8]]},"623":{"position":[[650,10]]},"775":{"position":[[409,7]]},"780":{"position":[[529,7]]},"783":{"position":[[544,7]]},"835":{"position":[[240,7]]},"838":{"position":[[396,8]]},"860":{"position":[[312,9]]},"965":{"position":[[27,7]]},"1008":{"position":[[10,7]]},"1067":{"position":[[1009,7]]},"1085":{"position":[[1860,9]]},"1124":{"position":[[69,8]]},"1132":{"position":[[51,8]]},"1148":{"position":[[176,8]]},"1211":{"position":[[436,8]]},"1213":{"position":[[119,7]]},"1295":{"position":[[530,7]]},"1296":{"position":[[1714,7]]},"1297":{"position":[[596,7]]},"1304":{"position":[[1639,8]]},"1315":{"position":[[1122,7]]}},"keywords":{}}],["besid",{"_index":2861,"title":{},"content":{"422":{"position":[[102,8]]},"659":{"position":[[791,7]]},"685":{"position":[[54,7]]},"696":{"position":[[698,7]]},"716":{"position":[[356,6]]},"835":{"position":[[896,7]]}},"keywords":{}}],["best",{"_index":85,"title":{"142":{"position":[[0,4]]},"346":{"position":[[0,4]]},"374":{"position":[[45,4]]},"556":{"position":[[0,4]]},"590":{"position":[[0,4]]}},"content":{"6":{"position":[[90,4]]},"56":{"position":[[177,4]]},"67":{"position":[[82,4]]},"98":{"position":[[196,4]]},"118":{"position":[[107,4]]},"131":{"position":[[943,4]]},"142":{"position":[[78,4]]},"266":{"position":[[343,4],[403,4]]},"287":{"position":[[1254,4]]},"301":{"position":[[5,4]]},"314":{"position":[[963,4]]},"347":{"position":[[510,4]]},"356":{"position":[[624,4]]},"362":{"position":[[1581,4]]},"369":{"position":[[1564,5]]},"388":{"position":[[192,4]]},"396":{"position":[[1949,4]]},"412":{"position":[[6938,4]]},"470":{"position":[[356,4]]},"489":{"position":[[318,5]]},"500":{"position":[[82,4]]},"524":{"position":[[133,4],[776,4]]},"543":{"position":[[167,4]]},"557":{"position":[[349,4]]},"567":{"position":[[966,4]]},"581":{"position":[[641,4]]},"591":{"position":[[739,4]]},"603":{"position":[[165,4]]},"661":{"position":[[479,4]]},"688":{"position":[[980,4]]},"710":{"position":[[783,4]]},"716":{"position":[[85,4]]},"797":{"position":[[80,4]]},"798":{"position":[[1032,4]]},"821":{"position":[[58,4],[168,4],[596,4]]},"838":{"position":[[1441,4]]},"1071":{"position":[[390,4]]},"1090":{"position":[[99,4]]},"1147":{"position":[[396,4]]},"1231":{"position":[[115,4]]},"1243":{"position":[[87,4]]},"1244":{"position":[[73,4]]},"1245":{"position":[[32,4]]},"1270":{"position":[[298,4]]},"1297":{"position":[[472,4]]}},"keywords":{}}],["best.if",{"_index":3208,"title":{},"content":{"497":{"position":[[653,7]]}},"keywords":{}}],["bestfriend",{"_index":4675,"title":{},"content":{"808":{"position":[[248,11]]},"810":{"position":[[236,11],[305,11],[393,10]]},"811":{"position":[[216,11],[285,11],[373,10]]}},"keywords":{}}],["bestindex",{"_index":4709,"title":{},"content":{"820":{"position":[[149,11]]}},"keywords":{}}],["better",{"_index":62,"title":{"73":{"position":[[27,6]]},"74":{"position":[[10,6]]},"91":{"position":[[28,7]]},"104":{"position":[[27,6]]},"105":{"position":[[10,6]]},"232":{"position":[[0,6]]},"278":{"position":[[15,6]]},"281":{"position":[[10,6]]},"353":{"position":[[9,8]]},"395":{"position":[[28,6]]},"486":{"position":[[0,6]]},"487":{"position":[[0,6]]},"778":{"position":[[6,6]]},"796":{"position":[[48,6]]}},"content":{"4":{"position":[[101,6]]},"31":{"position":[[228,6]]},"33":{"position":[[69,6]]},"59":{"position":[[130,6]]},"131":{"position":[[687,6]]},"314":{"position":[[136,6]]},"336":{"position":[[290,6]]},"400":{"position":[[502,6]]},"402":{"position":[[1598,6],[1982,7]]},"408":{"position":[[4963,6]]},"411":{"position":[[3718,6],[3936,6]]},"412":{"position":[[4969,6]]},"425":{"position":[[48,6]]},"430":{"position":[[832,6]]},"432":{"position":[[1410,6]]},"466":{"position":[[401,6]]},"469":{"position":[[1374,6]]},"470":{"position":[[134,6]]},"473":{"position":[[203,6]]},"546":{"position":[[163,6]]},"554":{"position":[[196,6]]},"566":{"position":[[677,6]]},"606":{"position":[[163,6]]},"640":{"position":[[241,6]]},"655":{"position":[[270,6]]},"681":{"position":[[143,6]]},"698":{"position":[[968,6]]},"703":{"position":[[1637,6]]},"704":{"position":[[523,6]]},"705":{"position":[[456,6],[508,6]]},"710":{"position":[[2178,6]]},"752":{"position":[[245,6]]},"772":{"position":[[2587,8]]},"775":{"position":[[428,6],[614,6]]},"796":{"position":[[225,6],[363,6],[659,6],[1079,6]]},"798":{"position":[[464,6]]},"800":{"position":[[173,6]]},"802":{"position":[[98,6]]},"821":{"position":[[1010,6]]},"945":{"position":[[355,6]]},"951":{"position":[[65,6]]},"965":{"position":[[292,6]]},"983":{"position":[[81,6]]},"989":{"position":[[5,6]]},"1013":{"position":[[5,6]]},"1022":{"position":[[114,6]]},"1067":{"position":[[140,6],[631,6]]},"1071":{"position":[[168,6]]},"1098":{"position":[[120,6]]},"1099":{"position":[[112,6]]},"1138":{"position":[[362,6]]},"1143":{"position":[[205,6]]},"1152":{"position":[[109,6]]},"1162":{"position":[[1100,6],[1141,6]]},"1175":{"position":[[259,6]]},"1186":{"position":[[105,6]]},"1286":{"position":[[112,6]]},"1309":{"position":[[886,6]]}},"keywords":{}}],["between",{"_index":219,"title":{"132":{"position":[[29,7]]},"163":{"position":[[29,7]]},"190":{"position":[[29,7]]},"288":{"position":[[30,7]]},"337":{"position":[[29,7]]},"525":{"position":[[29,7]]},"582":{"position":[[29,7]]},"775":{"position":[[15,7]]},"900":{"position":[[45,7]]},"1215":{"position":[[11,7]]}},"content":{"14":{"position":[[552,7]]},"26":{"position":[[185,7]]},"37":{"position":[[54,7]]},"82":{"position":[[125,7]]},"123":{"position":[[53,7]]},"132":{"position":[[18,7],[208,7]]},"147":{"position":[[40,7]]},"151":{"position":[[244,7]]},"153":{"position":[[391,7]]},"158":{"position":[[49,7]]},"165":{"position":[[94,7]]},"173":{"position":[[2838,7]]},"181":{"position":[[308,7]]},"184":{"position":[[159,7]]},"190":{"position":[[69,7]]},"192":{"position":[[96,7]]},"208":{"position":[[54,7]]},"223":{"position":[[28,7],[299,7]]},"275":{"position":[[235,7]]},"279":{"position":[[138,7]]},"288":{"position":[[28,7],[282,7]]},"289":{"position":[[120,7],[557,7],[775,7],[1164,7]]},"293":{"position":[[27,7],[234,7]]},"299":{"position":[[703,7]]},"321":{"position":[[148,7]]},"330":{"position":[[83,7]]},"365":{"position":[[708,7]]},"369":{"position":[[1069,7]]},"375":{"position":[[675,7]]},"393":{"position":[[184,7],[855,7]]},"394":{"position":[[367,7]]},"396":{"position":[[477,7]]},"397":{"position":[[1460,7]]},"398":{"position":[[3144,7]]},"401":{"position":[[831,7]]},"427":{"position":[[607,7]]},"439":{"position":[[478,7]]},"444":{"position":[[863,7]]},"450":{"position":[[281,7]]},"458":{"position":[[293,7],[537,7],[616,7]]},"459":{"position":[[20,7],[555,7]]},"461":{"position":[[892,7]]},"467":{"position":[[631,7]]},"469":{"position":[[191,7],[1156,7]]},"470":{"position":[[381,7]]},"502":{"position":[[1321,7]]},"504":{"position":[[559,7],[635,7],[841,7],[965,7],[1372,7]]},"517":{"position":[[87,7],[216,7]]},"525":{"position":[[472,7]]},"556":{"position":[[1601,7]]},"570":{"position":[[695,7],[791,7]]},"611":{"position":[[93,7]]},"612":{"position":[[950,7]]},"613":{"position":[[86,7]]},"614":{"position":[[367,7],[511,7]]},"617":{"position":[[2130,7],[2295,7]]},"632":{"position":[[187,7]]},"699":{"position":[[24,7],[381,7]]},"701":{"position":[[675,7]]},"703":{"position":[[134,7],[973,7]]},"709":{"position":[[497,7]]},"710":{"position":[[1133,7]]},"711":{"position":[[368,7]]},"737":{"position":[[373,7]]},"743":{"position":[[92,7],[257,7]]},"755":{"position":[[186,7]]},"774":{"position":[[1043,7]]},"779":{"position":[[424,7]]},"849":{"position":[[646,7]]},"870":{"position":[[21,7]]},"871":{"position":[[413,7]]},"872":{"position":[[2207,7]]},"876":{"position":[[73,7]]},"896":{"position":[[128,7]]},"901":{"position":[[162,7]]},"904":{"position":[[131,7]]},"938":{"position":[[87,7]]},"961":{"position":[[201,7]]},"964":{"position":[[181,7],[293,7]]},"1033":{"position":[[1006,7]]},"1068":{"position":[[406,7]]},"1072":{"position":[[913,7]]},"1074":{"position":[[347,7]]},"1094":{"position":[[250,7]]},"1121":{"position":[[122,7],[304,7]]},"1124":{"position":[[1047,7],[1268,7],[1614,7]]},"1126":{"position":[[892,7]]},"1164":{"position":[[1030,7]]},"1174":{"position":[[396,7]]},"1215":{"position":[[52,7]]},"1295":{"position":[[329,7],[474,7]]},"1301":{"position":[[20,7],[707,7],[1182,7],[1228,7]]},"1304":{"position":[[294,7]]},"1313":{"position":[[747,8]]},"1315":{"position":[[1641,8]]},"1316":{"position":[[2535,7],[2607,7]]}},"keywords":{}}],["beyond",{"_index":856,"title":{"561":{"position":[[15,6]]}},"content":{"57":{"position":[[1,6]]},"362":{"position":[[642,6]]},"365":{"position":[[330,6]]},"390":{"position":[[909,6]]},"412":{"position":[[7264,6]]},"414":{"position":[[301,7]]},"436":{"position":[[37,6]]},"491":{"position":[[569,6],[1507,7],[1624,6]]},"518":{"position":[[41,6]]},"544":{"position":[[48,6]]},"585":{"position":[[1,6]]},"604":{"position":[[48,6]]},"701":{"position":[[35,6]]},"709":{"position":[[293,6]]},"723":{"position":[[2236,6]]}},"keywords":{}}],["bi",{"_index":2155,"title":{},"content":{"381":{"position":[[35,2]]}},"keywords":{}}],["bidirect",{"_index":1117,"title":{"135":{"position":[[0,13]]},"340":{"position":[[0,13]]}},"content":{"135":{"position":[[15,13]]},"289":{"position":[[745,13]]},"622":{"position":[[631,13]]}},"keywords":{}}],["big",{"_index":215,"title":{"466":{"position":[[0,3]]},"467":{"position":[[0,3]]}},"content":{"14":{"position":[[506,3],[676,3]]},"36":{"position":[[459,3]]},"404":{"position":[[825,3]]},"411":{"position":[[2735,3],[3515,3]]},"412":{"position":[[6470,3],[10419,3]]},"458":{"position":[[3,3]]},"459":{"position":[[5,3]]},"466":{"position":[[28,3]]},"468":{"position":[[145,3]]},"556":{"position":[[1202,3]]},"617":{"position":[[1022,3]]},"644":{"position":[[226,3]]},"661":{"position":[[1796,3]]},"696":{"position":[[1842,3]]},"749":{"position":[[21584,3],[21652,3]]},"779":{"position":[[12,3]]},"800":{"position":[[482,3]]},"835":{"position":[[107,3],[236,3]]},"837":{"position":[[545,3]]},"951":{"position":[[135,3]]},"965":{"position":[[23,3],[73,3]]},"1116":{"position":[[64,3]]},"1137":{"position":[[220,3]]},"1171":{"position":[[420,3]]},"1181":{"position":[[49,3]]},"1186":{"position":[[90,3]]},"1191":{"position":[[3,3]]},"1192":{"position":[[503,3]]},"1200":{"position":[[1,3]]},"1237":{"position":[[56,3]]},"1239":{"position":[[274,3]]},"1295":{"position":[[645,3]]},"1296":{"position":[[1710,3]]},"1301":{"position":[[5,3]]},"1319":{"position":[[160,3]]}},"keywords":{}}],["big.becaus",{"_index":6110,"title":{},"content":{"1162":{"position":[[490,11]]},"1181":{"position":[[577,11]]}},"keywords":{}}],["bigger",{"_index":404,"title":{},"content":{"24":{"position":[[497,6]]},"408":{"position":[[2483,6]]},"412":{"position":[[11940,6]]},"773":{"position":[[733,6]]},"1235":{"position":[[89,6]]},"1286":{"position":[[171,6]]},"1297":{"position":[[570,6]]}},"keywords":{}}],["biggest",{"_index":233,"title":{},"content":{"14":{"position":[[926,7]]},"19":{"position":[[960,7]]},"686":{"position":[[96,7]]}},"keywords":{}}],["bill",{"_index":1319,"title":{},"content":{"204":{"position":[[139,5]]}},"keywords":{}}],["billabl",{"_index":1553,"title":{},"content":{"251":{"position":[[34,8]]}},"keywords":{}}],["binari",{"_index":1821,"title":{},"content":{"303":{"position":[[156,6]]},"411":{"position":[[3519,6]]},"453":{"position":[[213,6],[435,6]]},"454":{"position":[[27,6]]},"457":{"position":[[458,6]]},"468":{"position":[[499,6]]},"686":{"position":[[532,6]]},"708":{"position":[[222,8],[448,8]]},"838":{"position":[[3361,6]]},"1132":{"position":[[1309,6],[1447,6]]},"1143":{"position":[[274,6]]},"1167":{"position":[[19,6]]},"1209":{"position":[[73,6]]},"1282":{"position":[[87,6]]}},"keywords":{}}],["bind",{"_index":83,"title":{},"content":{"6":{"position":[[33,7]]},"50":{"position":[[400,7]]},"130":{"position":[[221,4]]},"286":{"position":[[222,8]]},"411":{"position":[[2274,4]]},"662":{"position":[[917,7]]},"766":{"position":[[248,4]]},"800":{"position":[[248,7]]},"1133":{"position":[[126,8]]}},"keywords":{}}],["bind_ip_al",{"_index":4944,"title":{},"content":{"872":{"position":[[568,11]]}},"keywords":{}}],["birthyear",{"_index":5808,"title":{},"content":{"1074":{"position":[[410,9]]}},"keywords":{}}],["bit",{"_index":325,"title":{},"content":{"19":{"position":[[285,3]]},"42":{"position":[[94,3]]},"356":{"position":[[916,3]]},"412":{"position":[[8529,3]]},"452":{"position":[[177,3]]},"463":{"position":[[609,3],[1380,3]]},"464":{"position":[[893,3]]},"698":{"position":[[1580,3]]},"1235":{"position":[[213,3]]},"1270":{"position":[[25,3],[135,3]]},"1286":{"position":[[100,3]]}},"keywords":{}}],["bite",{"_index":3959,"title":{},"content":{"701":{"position":[[610,4]]}},"keywords":{}}],["blend",{"_index":2796,"title":{},"content":{"418":{"position":[[537,5]]}},"keywords":{}}],["bloat",{"_index":2083,"title":{},"content":{"361":{"position":[[286,5]]},"841":{"position":[[964,5]]}},"keywords":{}}],["blob",{"_index":5291,"title":{},"content":{"917":{"position":[[433,4],[642,6]]},"918":{"position":[[72,5]]},"930":{"position":[[59,5],[136,4],[174,4]]},"1282":{"position":[[114,5]]}},"keywords":{}}],["blob.arraybuff",{"_index":5292,"title":{},"content":{"917":{"position":[[511,18]]}},"keywords":{}}],["block",{"_index":499,"title":{"1033":{"position":[[22,5]]},"1186":{"position":[[0,5]]}},"content":{"31":{"position":[[188,6]]},"302":{"position":[[398,6]]},"421":{"position":[[931,7]]},"427":{"position":[[122,8],[209,8],[296,5],[1107,9]]},"451":{"position":[[575,6],[672,5]]},"460":{"position":[[1319,5],[1398,5]]},"468":{"position":[[73,6]]},"491":{"position":[[995,7]]},"559":{"position":[[1121,5]]},"566":{"position":[[647,10]]},"619":{"position":[[213,5]]},"627":{"position":[[130,5]]},"634":{"position":[[618,8]]},"699":{"position":[[869,7]]},"705":{"position":[[1029,5]]},"710":{"position":[[2415,5]]},"740":{"position":[[168,7]]},"765":{"position":[[69,6]]},"801":{"position":[[220,5]]},"835":{"position":[[166,8],[295,5]]},"837":{"position":[[269,6]]},"995":{"position":[[506,5],[587,5],[1331,5]]},"1007":{"position":[[94,5]]},"1021":{"position":[[36,5]]},"1032":{"position":[[152,7],[256,7]]},"1033":{"position":[[85,8],[200,5],[657,5]]},"1093":{"position":[[438,8],[512,8]]},"1106":{"position":[[508,5]]},"1157":{"position":[[248,5]]},"1176":{"position":[[279,5]]},"1186":{"position":[[71,6],[94,6],[222,6]]},"1250":{"position":[[345,8]]},"1301":{"position":[[1533,7]]},"1304":{"position":[[1728,8]]},"1313":{"position":[[350,5]]}},"keywords":{}}],["blocksizelimit",{"_index":6157,"title":{},"content":{"1186":{"position":[[142,14],[295,15]]}},"keywords":{}}],["blue",{"_index":6525,"title":{},"content":{"1314":{"position":[[476,5],[691,7]]}},"keywords":{}}],["boast",{"_index":964,"title":{},"content":{"74":{"position":[[6,6]]}},"keywords":{}}],["bob",{"_index":2769,"title":{},"content":{"412":{"position":[[13971,3]]},"810":{"position":[[298,6]]},"811":{"position":[[278,6]]},"813":{"position":[[304,6]]},"948":{"position":[[398,6]]},"951":{"position":[[341,6]]},"1316":{"position":[[1059,4],[1198,3]]}},"keywords":{}}],["bob'",{"_index":6549,"title":{},"content":{"1316":{"position":[[1136,5]]}},"keywords":{}}],["bodi",{"_index":1350,"title":{},"content":{"209":{"position":[[863,5]]},"255":{"position":[[1209,5]]},"612":{"position":[[471,4]]},"616":{"position":[[707,4],[1182,4]]},"875":{"position":[[6368,5]]},"988":{"position":[[2663,5]]},"1102":{"position":[[636,5]]}},"keywords":{}}],["boilerpl",{"_index":1934,"title":{},"content":{"331":{"position":[[140,12]]},"411":{"position":[[1527,11]]}},"keywords":{}}],["bolster",{"_index":5278,"title":{},"content":{"912":{"position":[[112,10]]}},"keywords":{}}],["bombard",{"_index":2609,"title":{},"content":{"411":{"position":[[643,9]]}},"keywords":{}}],["book",{"_index":2332,"title":{},"content":{"395":{"position":[[361,5]]}},"keywords":{}}],["boolean",{"_index":1345,"title":{},"content":{"209":{"position":[[570,9]]},"255":{"position":[[910,9]]},"367":{"position":[[969,9]]},"459":{"position":[[1048,7],[1145,7]]},"480":{"position":[[660,9]]},"632":{"position":[[1660,9]]},"749":{"position":[[20733,7]]},"855":{"position":[[181,7]]},"861":{"position":[[2025,7]]},"867":{"position":[[176,7]]},"885":{"position":[[609,8],[704,8]]},"898":{"position":[[363,7],[588,7],[1105,7]]},"904":{"position":[[999,10]]},"988":{"position":[[1688,7],[2024,7],[2144,7]]},"1049":{"position":[[9,7]]},"1079":{"position":[[185,7]]},"1080":{"position":[[404,9],[753,7]]},"1158":{"position":[[484,9]]},"1296":{"position":[[1775,7]]}},"keywords":{}}],["boost",{"_index":1969,"title":{},"content":{"345":{"position":[[128,5]]},"398":{"position":[[159,6]]},"408":{"position":[[4227,5]]},"420":{"position":[[1538,5]]},"490":{"position":[[684,8]]},"643":{"position":[[162,5]]}},"keywords":{}}],["bot",{"_index":6172,"title":{},"content":{"1198":{"position":[[764,3]]}},"keywords":{}}],["both",{"_index":298,"title":{"616":{"position":[[16,4]]}},"content":{"17":{"position":[[513,4]]},"38":{"position":[[379,4]]},"43":{"position":[[236,4]]},"135":{"position":[[73,4]]},"266":{"position":[[351,4]]},"300":{"position":[[147,4]]},"316":{"position":[[509,4]]},"340":{"position":[[30,4]]},"356":{"position":[[632,4]]},"366":{"position":[[325,4]]},"372":{"position":[[165,4]]},"397":{"position":[[151,4]]},"398":{"position":[[495,4],[619,4],[2907,4]]},"407":{"position":[[943,4]]},"412":{"position":[[3141,4],[3183,4],[3474,4]]},"420":{"position":[[1475,4]]},"427":{"position":[[1440,4]]},"444":{"position":[[805,4]]},"445":{"position":[[2247,4]]},"446":{"position":[[1358,4]]},"464":{"position":[[979,4]]},"500":{"position":[[90,4]]},"534":{"position":[[82,4]]},"594":{"position":[[80,4]]},"611":{"position":[[431,4]]},"613":{"position":[[255,4]]},"616":{"position":[[56,4]]},"622":{"position":[[607,4]]},"624":{"position":[[1229,4]]},"690":{"position":[[459,4]]},"691":{"position":[[176,4],[612,4]]},"698":{"position":[[64,4],[466,4]]},"723":{"position":[[1859,4]]},"740":{"position":[[265,4]]},"749":{"position":[[501,5]]},"964":{"position":[[314,4]]},"1124":{"position":[[1414,4]]},"1208":{"position":[[623,4]]},"1218":{"position":[[195,4]]},"1227":{"position":[[506,5]]},"1231":{"position":[[383,4]]},"1265":{"position":[[500,5]]},"1267":{"position":[[575,4]]},"1287":{"position":[[1,4]]},"1296":{"position":[[1497,4]]},"1324":{"position":[[97,5]]}},"keywords":{}}],["bottleneck",{"_index":386,"title":{},"content":{"23":{"position":[[264,10]]},"265":{"position":[[545,11],[676,10]]},"267":{"position":[[1348,12]]},"412":{"position":[[10224,11]]},"430":{"position":[[783,12]]},"709":{"position":[[825,11]]},"836":{"position":[[1698,11]]},"837":{"position":[[706,10]]},"1157":{"position":[[344,11]]}},"keywords":{}}],["bought",{"_index":429,"title":{},"content":{"26":{"position":[[315,6]]},"36":{"position":[[255,6]]}},"keywords":{}}],["bound",{"_index":2719,"title":{},"content":{"412":{"position":[[7242,5]]},"1052":{"position":[[314,5],[405,5]]},"1191":{"position":[[120,5]]},"1311":{"position":[[1213,5]]}},"keywords":{}}],["boundari",{"_index":3245,"title":{},"content":{"510":{"position":[[551,10]]},"1314":{"position":[[279,8]]}},"keywords":{}}],["box",{"_index":634,"title":{},"content":{"40":{"position":[[283,4]]},"125":{"position":[[26,3]]},"331":{"position":[[262,3]]},"459":{"position":[[296,4]]},"491":{"position":[[919,4]]},"535":{"position":[[769,4]]},"566":{"position":[[1096,4]]},"595":{"position":[[790,4]]},"836":{"position":[[1352,4]]},"1148":{"position":[[159,4]]}},"keywords":{}}],["boxrxdb",{"_index":1909,"title":{},"content":{"317":{"position":[[226,7]]}},"keywords":{}}],["branch",{"_index":649,"title":{"1092":{"position":[[31,9]]},"1093":{"position":[[11,8]]}},"content":{"41":{"position":[[61,7]]},"1092":{"position":[[255,9],[269,8],[459,8],[537,8]]},"1093":{"position":[[138,8]]}},"keywords":{}}],["brand",{"_index":2815,"title":{},"content":{"419":{"position":[[1653,8]]},"498":{"position":[[118,5]]}},"keywords":{}}],["breach",{"_index":2592,"title":{},"content":{"410":{"position":[[743,9]]},"550":{"position":[[340,8]]}},"keywords":{}}],["break",{"_index":1694,"title":{},"content":{"295":{"position":[[234,8]]},"358":{"position":[[675,5]]},"455":{"position":[[709,8]]},"577":{"position":[[7,5]]},"627":{"position":[[163,5]]},"705":{"position":[[779,8]]},"761":{"position":[[145,5]]},"849":{"position":[[918,6]]},"1292":{"position":[[842,6]]},"1301":{"position":[[1492,5]]},"1304":{"position":[[876,6]]}},"keywords":{}}],["brick",{"_index":2750,"title":{},"content":{"412":{"position":[[11873,5]]}},"keywords":{}}],["bridg",{"_index":1636,"title":{},"content":{"275":{"position":[[228,6]]},"354":{"position":[[1052,8]]},"438":{"position":[[223,7]]},"502":{"position":[[522,7]]},"563":{"position":[[1073,8]]},"567":{"position":[[872,8]]},"576":{"position":[[328,7]]},"828":{"position":[[198,7]]},"836":{"position":[[1624,6]]},"841":{"position":[[920,8]]},"1211":{"position":[[484,6]]}},"keywords":{}}],["brief",{"_index":2949,"title":{},"content":{"449":{"position":[[19,5]]}},"keywords":{}}],["bring",{"_index":1069,"title":{},"content":{"118":{"position":[[297,6]]},"153":{"position":[[182,6]]},"500":{"position":[[365,5]]},"875":{"position":[[6711,6]]}},"keywords":{}}],["broad",{"_index":2105,"title":{},"content":{"364":{"position":[[354,5]]}},"keywords":{}}],["broadcast",{"_index":3169,"title":{},"content":{"491":{"position":[[712,9],[1726,9]]},"617":{"position":[[2226,9]]},"622":{"position":[[236,12]]},"710":{"position":[[1104,9]]},"743":{"position":[[44,9]]},"1126":{"position":[[488,9]]}},"keywords":{}}],["broadcastchannel",{"_index":2988,"title":{},"content":{"458":{"position":[[1074,16]]},"1088":{"position":[[525,17]]},"1124":{"position":[[1231,16]]},"1126":{"position":[[254,16]]},"1301":{"position":[[1146,16]]}},"keywords":{}}],["broader",{"_index":2802,"title":{},"content":{"419":{"position":[[645,7]]}},"keywords":{}}],["broken",{"_index":2635,"title":{},"content":{"411":{"position":[[4836,7]]}},"keywords":{}}],["brought",{"_index":6557,"title":{},"content":{"1316":{"position":[[2315,7]]}},"keywords":{}}],["brows",{"_index":1982,"title":{},"content":{"347":{"position":[[453,6]]},"362":{"position":[[1524,6]]},"439":{"position":[[242,8]]},"567":{"position":[[499,6]]},"591":{"position":[[695,6]]}},"keywords":{}}],["browser",{"_index":51,"title":{"60":{"position":[[34,7]]},"62":{"position":[[0,7],[41,8]]},"65":{"position":[[22,8]]},"66":{"position":[[0,7]]},"67":{"position":[[56,8]]},"71":{"position":[[26,7]]},"85":{"position":[[22,7]]},"86":{"position":[[40,8]]},"91":{"position":[[0,7]]},"98":{"position":[[57,8]]},"102":{"position":[[31,8]]},"299":{"position":[[0,7]]},"368":{"position":[[24,7]]},"391":{"position":[[35,8]]},"439":{"position":[[16,7]]},"449":{"position":[[39,8]]},"547":{"position":[[34,7]]},"607":{"position":[[34,7]]},"697":{"position":[[0,7]]},"755":{"position":[[26,9]]},"900":{"position":[[53,8]]},"1195":{"position":[[0,7]]},"1237":{"position":[[23,7]]},"1276":{"position":[[30,8]]}},"content":{"2":{"position":[[448,7]]},"3":{"position":[[71,8]]},"16":{"position":[[514,7]]},"17":{"position":[[377,8]]},"28":{"position":[[525,7]]},"30":{"position":[[302,8]]},"32":{"position":[[87,9]]},"35":{"position":[[278,9]]},"38":{"position":[[675,9]]},"45":{"position":[[191,8]]},"47":{"position":[[934,7],[1172,7],[1209,7]]},"53":{"position":[[139,7]]},"58":{"position":[[246,8]]},"59":{"position":[[89,7]]},"60":{"position":[[47,7]]},"63":{"position":[[88,8]]},"64":{"position":[[79,7]]},"65":{"position":[[60,8],[170,7],[474,7],[835,7],[1071,8],[1339,7],[1612,7],[1832,7]]},"66":{"position":[[7,7],[181,7],[412,8]]},"67":{"position":[[98,7]]},"71":{"position":[[33,7]]},"80":{"position":[[103,7]]},"82":{"position":[[137,7]]},"83":{"position":[[65,7],[319,8],[460,7]]},"84":{"position":[[62,7]]},"86":{"position":[[62,8]]},"87":{"position":[[17,7]]},"88":{"position":[[21,7]]},"89":{"position":[[1,7]]},"90":{"position":[[14,7]]},"91":{"position":[[1,7]]},"92":{"position":[[1,7]]},"93":{"position":[[21,7]]},"94":{"position":[[1,7]]},"95":{"position":[[95,7]]},"96":{"position":[[19,7]]},"97":{"position":[[28,8]]},"98":{"position":[[113,7],[213,8]]},"99":{"position":[[266,7]]},"100":{"position":[[128,7],[163,7],[212,7],[246,7]]},"101":{"position":[[87,7],[109,7],[228,7]]},"102":{"position":[[59,7],[123,7]]},"107":{"position":[[175,7]]},"112":{"position":[[166,9]]},"114":{"position":[[62,7],[490,7],[662,7]]},"120":{"position":[[129,7]]},"125":{"position":[[130,7]]},"131":{"position":[[289,7],[474,9],[638,7]]},"149":{"position":[[62,7]]},"160":{"position":[[93,7],[262,7]]},"162":{"position":[[197,8]]},"172":{"position":[[184,7]]},"174":{"position":[[2005,7],[2766,9]]},"181":{"position":[[80,7]]},"201":{"position":[[157,9]]},"207":{"position":[[144,8]]},"227":{"position":[[135,7],[220,7]]},"228":{"position":[[102,7],[266,7]]},"237":{"position":[[108,7]]},"239":{"position":[[212,9]]},"244":{"position":[[358,7]]},"248":{"position":[[47,9]]},"254":{"position":[[114,8],[298,8]]},"266":{"position":[[180,8],[1092,7]]},"287":{"position":[[375,8],[484,7]]},"298":{"position":[[1,8],[203,8],[486,9]]},"299":{"position":[[51,8],[211,7],[1635,8]]},"300":{"position":[[440,8],[563,7]]},"302":{"position":[[81,8]]},"304":{"position":[[202,7],[446,8]]},"321":{"position":[[349,7]]},"322":{"position":[[147,8]]},"325":{"position":[[62,7]]},"328":{"position":[[144,7]]},"336":{"position":[[117,8],[478,7]]},"343":{"position":[[55,8]]},"347":{"position":[[62,7]]},"357":{"position":[[589,7]]},"362":{"position":[[1133,7]]},"365":{"position":[[900,7]]},"368":{"position":[[45,7],[212,7],[336,7]]},"383":{"position":[[387,8]]},"384":{"position":[[94,8]]},"391":{"position":[[227,7]]},"392":{"position":[[122,8],[2108,8],[2170,7]]},"404":{"position":[[198,7]]},"408":{"position":[[173,7],[289,9],[525,9],[636,8],[799,8],[1520,7],[1646,8],[1889,8],[3582,7],[3834,8],[4610,8],[4935,8],[5032,7]]},"410":{"position":[[1527,7]]},"411":{"position":[[4138,9]]},"412":{"position":[[7667,8],[7710,7],[7784,8],[7963,8],[8063,7],[8554,9],[10201,7]]},"424":{"position":[[51,8],[327,7]]},"427":{"position":[[1316,7],[1468,8]]},"429":{"position":[[281,9]]},"435":{"position":[[166,9]]},"436":{"position":[[181,7]]},"439":{"position":[[7,7],[164,7],[314,7],[508,7]]},"451":{"position":[[166,8],[880,7]]},"453":{"position":[[129,8]]},"454":{"position":[[121,8],[224,8],[370,7],[550,7],[831,8],[938,7]]},"455":{"position":[[54,8],[281,8],[515,8],[732,8],[901,7]]},"456":{"position":[[145,7]]},"458":{"position":[[137,7],[1126,7],[1409,7],[1512,7]]},"460":{"position":[[236,7],[881,7]]},"461":{"position":[[180,8],[678,8],[1040,7],[1161,8]]},"467":{"position":[[607,7]]},"468":{"position":[[707,7]]},"470":{"position":[[93,7],[335,7]]},"475":{"position":[[46,7]]},"479":{"position":[[306,8]]},"490":{"position":[[379,7]]},"504":{"position":[[128,8]]},"511":{"position":[[62,7]]},"519":{"position":[[44,7]]},"524":{"position":[[255,8],[657,7],[916,7],[1007,7]]},"531":{"position":[[62,7]]},"533":{"position":[[88,8]]},"535":{"position":[[1221,8]]},"541":{"position":[[875,7]]},"545":{"position":[[167,8],[227,7]]},"547":{"position":[[47,7]]},"559":{"position":[[28,7],[82,8]]},"560":{"position":[[162,8]]},"562":{"position":[[1708,7]]},"569":{"position":[[1316,8]]},"571":{"position":[[409,7]]},"574":{"position":[[588,8],[868,7]]},"575":{"position":[[176,9]]},"581":{"position":[[164,8],[486,8],[572,7]]},"586":{"position":[[126,8]]},"591":{"position":[[62,7]]},"593":{"position":[[88,8]]},"595":{"position":[[1282,7]]},"600":{"position":[[196,7]]},"601":{"position":[[850,7]]},"605":{"position":[[167,8],[227,7]]},"607":{"position":[[47,7]]},"610":{"position":[[108,8]]},"611":{"position":[[148,8]]},"612":{"position":[[718,8]]},"613":{"position":[[764,7]]},"614":{"position":[[157,8],[375,9]]},"617":{"position":[[13,8],[191,7],[1214,7],[1636,8],[1808,7],[1838,7],[1942,7]]},"624":{"position":[[782,7]]},"630":{"position":[[276,9]]},"631":{"position":[[145,8]]},"634":{"position":[[411,7]]},"640":{"position":[[144,8],[200,8]]},"641":{"position":[[275,9],[331,9]]},"642":{"position":[[6,7]]},"659":{"position":[[134,8]]},"660":{"position":[[121,7],[442,9]]},"662":{"position":[[874,8]]},"676":{"position":[[35,8]]},"696":{"position":[[778,8],[1043,7],[1255,7],[1303,7],[1441,7],[1908,8]]},"697":{"position":[[211,8],[330,8],[593,7]]},"703":{"position":[[441,7],[504,8],[1033,7],[1121,8]]},"707":{"position":[[233,7]]},"709":{"position":[[43,7],[516,7],[725,7],[1194,8]]},"710":{"position":[[1141,7]]},"717":{"position":[[389,8]]},"723":{"position":[[820,7],[970,7]]},"728":{"position":[[105,9]]},"729":{"position":[[244,7]]},"736":{"position":[[336,7]]},"737":{"position":[[386,7]]},"740":{"position":[[270,7]]},"743":{"position":[[183,7]]},"749":{"position":[[8845,7]]},"755":{"position":[[56,8],[194,7]]},"793":{"position":[[193,9],[216,9],[245,9]]},"801":{"position":[[865,9]]},"821":{"position":[[516,8]]},"830":{"position":[[126,7]]},"835":{"position":[[76,8]]},"849":{"position":[[154,7],[235,7],[268,8],[374,7],[658,7]]},"863":{"position":[[226,9]]},"871":{"position":[[699,8]]},"879":{"position":[[537,7]]},"882":{"position":[[136,7]]},"896":{"position":[[321,8]]},"897":{"position":[[444,8]]},"898":{"position":[[2044,8],[2799,8]]},"901":{"position":[[84,8]]},"903":{"position":[[410,10]]},"904":{"position":[[491,8]]},"910":{"position":[[8,7]]},"911":{"position":[[18,8]]},"932":{"position":[[667,9]]},"956":{"position":[[122,7]]},"958":{"position":[[19,7]]},"962":{"position":[[515,7],[649,8]]},"964":{"position":[[254,7]]},"968":{"position":[[759,7]]},"979":{"position":[[203,7]]},"981":{"position":[[818,9],[942,8],[1535,7]]},"988":{"position":[[1167,7],[1241,7]]},"989":{"position":[[97,7],[434,7]]},"1003":{"position":[[164,7]]},"1030":{"position":[[80,7]]},"1088":{"position":[[261,7]]},"1115":{"position":[[648,7]]},"1117":{"position":[[553,7]]},"1120":{"position":[[308,7]]},"1141":{"position":[[111,7]]},"1157":{"position":[[118,8],[553,8]]},"1159":{"position":[[43,9]]},"1162":{"position":[[98,7],[414,7]]},"1164":{"position":[[1466,7]]},"1171":{"position":[[115,7]]},"1172":{"position":[[116,8]]},"1174":{"position":[[81,7]]},"1176":{"position":[[186,8],[506,7]]},"1181":{"position":[[164,7],[501,7]]},"1183":{"position":[[150,7],[240,7],[401,7]]},"1191":{"position":[[274,7]]},"1195":{"position":[[33,7]]},"1198":{"position":[[1392,8]]},"1202":{"position":[[283,7]]},"1206":{"position":[[51,7]]},"1207":{"position":[[91,8],[647,8]]},"1214":{"position":[[33,7],[72,9],[191,7],[283,7],[611,7]]},"1232":{"position":[[54,7]]},"1235":{"position":[[8,8]]},"1237":{"position":[[22,7]]},"1242":{"position":[[60,8]]},"1244":{"position":[[156,8]]},"1246":{"position":[[125,9],[477,10],[1969,9]]},"1249":{"position":[[56,9]]},"1276":{"position":[[8,7],[341,8],[540,8]]},"1292":{"position":[[259,9]]},"1295":{"position":[[421,8]]},"1297":{"position":[[16,8]]},"1298":{"position":[[124,7],[253,9]]},"1300":{"position":[[1089,7]]},"1301":{"position":[[113,7],[240,7],[797,7],[942,9],[1612,7]]},"1307":{"position":[[273,7]]},"1324":{"position":[[157,8],[212,8]]}},"keywords":{}}],["browser'",{"_index":1671,"title":{},"content":{"287":{"position":[[695,9]]},"346":{"position":[[653,9]]},"412":{"position":[[9987,9]]},"438":{"position":[[268,9]]},"504":{"position":[[204,9]]}},"keywords":{}}],["browser.fast",{"_index":6094,"title":{},"content":{"1156":{"position":[[109,12]]}},"keywords":{}}],["browser.observ",{"_index":3485,"title":{},"content":{"575":{"position":[[610,18]]}},"keywords":{}}],["browser/phon",{"_index":2734,"title":{},"content":{"412":{"position":[[9326,13]]}},"keywords":{}}],["browsers.memori",{"_index":1962,"title":{},"content":{"336":{"position":[[322,15]]},"581":{"position":[[326,15]]}},"keywords":{}}],["browsers.opf",{"_index":1670,"title":{},"content":{"287":{"position":[[649,13]]},"336":{"position":[[229,13]]},"524":{"position":[[377,13]]}},"keywords":{}}],["browser—no",{"_index":3404,"title":{},"content":{"559":{"position":[[909,10]]}},"keywords":{}}],["browser’",{"_index":1866,"title":{},"content":{"305":{"position":[[79,9]]}},"keywords":{}}],["bucket",{"_index":2336,"title":{"1140":{"position":[[8,8]]}},"content":{"396":{"position":[[201,7]]},"470":{"position":[[563,7]]},"1140":{"position":[[13,7],[190,7],[326,7]]},"1143":{"position":[[630,7]]}},"keywords":{}}],["buckets"",{"_index":6055,"title":{},"content":{"1140":{"position":[[118,14]]}},"keywords":{}}],["buffer",{"_index":6368,"title":{},"content":{"1282":{"position":[[43,6],[310,7]]}},"keywords":{}}],["bug",{"_index":3830,"title":{},"content":{"667":{"position":[[154,4]]},"670":{"position":[[18,4],[282,3],[346,3]]},"749":{"position":[[21956,4]]},"837":{"position":[[613,4]]},"1085":{"position":[[3138,4]]},"1120":{"position":[[368,5]]},"1133":{"position":[[514,3]]},"1288":{"position":[[76,3]]}},"keywords":{}}],["bugfix",{"_index":2976,"title":{},"content":{"455":{"position":[[627,6]]},"667":{"position":[[29,6]]},"668":{"position":[[69,6]]}},"keywords":{}}],["build",{"_index":97,"title":{"44":{"position":[[0,5]]},"69":{"position":[[0,5]]},"90":{"position":[[0,8]]},"100":{"position":[[0,5]]},"221":{"position":[[0,8]]},"228":{"position":[[0,5]]},"484":{"position":[[0,8]]},"488":{"position":[[0,8]]},"731":{"position":[[27,6]]},"1212":{"position":[[0,8]]},"1227":{"position":[[4,5]]},"1228":{"position":[[0,8]]},"1265":{"position":[[4,5]]},"1266":{"position":[[0,8]]}},"content":{"7":{"position":[[124,5]]},"24":{"position":[[534,5]]},"38":{"position":[[48,8]]},"59":{"position":[[191,8]]},"61":{"position":[[351,5]]},"69":{"position":[[54,5]]},"90":{"position":[[32,8]]},"100":{"position":[[92,5],[317,5]]},"105":{"position":[[150,5]]},"116":{"position":[[105,5]]},"122":{"position":[[86,5]]},"124":{"position":[[231,5]]},"148":{"position":[[219,5],[318,8]]},"151":{"position":[[437,8]]},"156":{"position":[[218,5]]},"168":{"position":[[294,8]]},"170":{"position":[[286,8]]},"174":{"position":[[82,8]]},"175":{"position":[[669,8]]},"177":{"position":[[99,5]]},"179":{"position":[[233,8],[402,5]]},"183":{"position":[[61,8]]},"184":{"position":[[42,8]]},"186":{"position":[[368,8]]},"198":{"position":[[375,5]]},"207":{"position":[[98,8]]},"221":{"position":[[152,5]]},"227":{"position":[[66,5],[290,6]]},"228":{"position":[[61,5],[340,5]]},"232":{"position":[[48,8]]},"239":{"position":[[107,8]]},"254":{"position":[[88,8]]},"267":{"position":[[257,8],[1203,5],[1595,8]]},"286":{"position":[[147,8]]},"287":{"position":[[1151,5],[1221,5]]},"289":{"position":[[1454,5]]},"313":{"position":[[187,5]]},"333":{"position":[[102,5]]},"362":{"position":[[975,8]]},"371":{"position":[[127,8]]},"381":{"position":[[384,5]]},"388":{"position":[[82,5],[333,5]]},"390":{"position":[[1643,5],[1897,5]]},"391":{"position":[[23,5]]},"396":{"position":[[583,6],[1467,8]]},"399":{"position":[[362,8]]},"408":{"position":[[2473,5]]},"411":{"position":[[1292,5],[3868,5]]},"412":{"position":[[10862,5]]},"422":{"position":[[413,5]]},"433":{"position":[[481,6]]},"445":{"position":[[2183,5],[2448,8]]},"446":{"position":[[1215,5]]},"447":{"position":[[401,5]]},"453":{"position":[[596,5],[779,5]]},"458":{"position":[[23,8]]},"459":{"position":[[319,5]]},"481":{"position":[[539,8]]},"483":{"position":[[380,5]]},"488":{"position":[[49,5]]},"498":{"position":[[16,8]]},"534":{"position":[[6,8]]},"541":{"position":[[67,5]]},"557":{"position":[[423,5]]},"569":{"position":[[1487,5]]},"571":{"position":[[641,5]]},"594":{"position":[[6,8]]},"613":{"position":[[1022,5]]},"617":{"position":[[1830,5]]},"625":{"position":[[84,5]]},"644":{"position":[[385,8]]},"668":{"position":[[177,5]]},"681":{"position":[[49,5]]},"703":{"position":[[659,5]]},"717":{"position":[[358,5]]},"731":{"position":[[264,5]]},"736":{"position":[[305,6]]},"749":{"position":[[21244,5],[23634,5]]},"781":{"position":[[217,5]]},"821":{"position":[[11,5],[95,5]]},"838":{"position":[[537,5]]},"860":{"position":[[651,5],[1193,5]]},"875":{"position":[[7567,5]]},"904":{"position":[[85,5],[172,5]]},"1006":{"position":[[16,8]]},"1021":{"position":[[27,8]]},"1085":{"position":[[2574,5]]},"1088":{"position":[[170,5]]},"1090":{"position":[[434,5]]},"1094":{"position":[[24,5],[95,5]]},"1123":{"position":[[724,5]]},"1124":{"position":[[874,5],[1955,5]]},"1137":{"position":[[148,5]]},"1143":{"position":[[168,5]]},"1149":{"position":[[417,8]]},"1167":{"position":[[57,5]]},"1174":{"position":[[39,5]]},"1212":{"position":[[112,5]]},"1228":{"position":[[4,5]]},"1235":{"position":[[73,5],[242,5]]},"1237":{"position":[[14,5]]},"1268":{"position":[[260,5],[384,5]]},"1286":{"position":[[178,5]]},"1292":{"position":[[874,5],[901,5],[924,5]]},"1313":{"position":[[465,5]]},"1314":{"position":[[18,5]]},"1320":{"position":[[611,5],[855,5]]},"1322":{"position":[[21,5],[129,5]]}},"keywords":{}}],["builder",{"_index":5116,"title":{"1064":{"position":[[6,7]]}},"content":{"886":{"position":[[297,7],[2143,7]]},"1064":{"position":[[58,7],[92,7],[202,9]]}},"keywords":{}}],["built",{"_index":614,"title":{"80":{"position":[[0,5]]},"109":{"position":[[0,5]]},"237":{"position":[[0,5]]},"311":{"position":[[3,5]]}},"content":{"39":{"position":[[63,5]]},"40":{"position":[[640,5]]},"47":{"position":[[983,5],[1082,5]]},"76":{"position":[[7,5]]},"79":{"position":[[15,5]]},"99":{"position":[[302,5]]},"107":{"position":[[9,5]]},"118":{"position":[[42,5]]},"120":{"position":[[91,5]]},"123":{"position":[[15,5]]},"126":{"position":[[157,5]]},"131":{"position":[[398,5]]},"132":{"position":[[129,5]]},"139":{"position":[[15,5]]},"153":{"position":[[128,5]]},"155":{"position":[[134,5]]},"161":{"position":[[155,5]]},"162":{"position":[[177,5]]},"174":{"position":[[1265,5],[1814,5]]},"181":{"position":[[32,5]]},"186":{"position":[[310,5]]},"206":{"position":[[145,5]]},"212":{"position":[[85,5]]},"230":{"position":[[61,5]]},"237":{"position":[[13,5]]},"269":{"position":[[177,5]]},"303":{"position":[[308,5]]},"310":{"position":[[287,5]]},"318":{"position":[[59,5]]},"322":{"position":[[39,5]]},"331":{"position":[[183,5]]},"354":{"position":[[962,5]]},"359":{"position":[[61,5]]},"360":{"position":[[446,5]]},"378":{"position":[[124,5]]},"382":{"position":[[268,5]]},"387":{"position":[[53,5]]},"421":{"position":[[576,5]]},"424":{"position":[[27,5]]},"445":{"position":[[106,5]]},"476":{"position":[[168,5]]},"490":{"position":[[16,5]]},"513":{"position":[[126,5]]},"519":{"position":[[113,5]]},"524":{"position":[[235,5]]},"535":{"position":[[1112,5]]},"544":{"position":[[313,5]]},"551":{"position":[[98,5]]},"559":{"position":[[19,5]]},"566":{"position":[[528,5],[1000,5],[1130,5]]},"569":{"position":[[1243,5]]},"575":{"position":[[41,5]]},"595":{"position":[[1189,5]]},"604":{"position":[[266,5]]},"631":{"position":[[232,5]]},"688":{"position":[[178,5]]},"836":{"position":[[1787,5]]},"838":{"position":[[593,5]]},"841":{"position":[[507,5],[575,5],[760,5]]},"860":{"position":[[914,5]]},"1072":{"position":[[1040,5],[1276,5],[1568,5],[2048,5]]},"1085":{"position":[[1944,5],[2101,5]]},"1148":{"position":[[304,5]]},"1156":{"position":[[94,5]]},"1307":{"position":[[815,5]]},"1320":{"position":[[698,5]]}},"keywords":{}}],["bulk",{"_index":792,"title":{"466":{"position":[[4,4]]},"467":{"position":[[4,4]]},"795":{"position":[[4,4]]}},"content":{"52":{"position":[[166,4]]},"301":{"position":[[217,4]]},"396":{"position":[[1652,4]]},"400":{"position":[[435,4]]},"408":{"position":[[2526,4]]},"411":{"position":[[270,4]]},"452":{"position":[[597,5]]},"459":{"position":[[478,4]]},"462":{"position":[[163,4]]},"466":{"position":[[32,4],[411,4]]},"467":{"position":[[34,4]]},"468":{"position":[[149,4]]},"539":{"position":[[166,4]]},"599":{"position":[[175,4]]},"795":{"position":[[72,4]]},"863":{"position":[[339,4],[429,4]]},"944":{"position":[[53,4]]},"945":{"position":[[53,4]]},"981":{"position":[[1167,5]]},"1161":{"position":[[157,4]]},"1174":{"position":[[135,4]]},"1180":{"position":[[157,4]]},"1194":{"position":[[345,7],[388,4],[431,7]]}},"keywords":{}}],["bulk.less",{"_index":3156,"title":{},"content":{"487":{"position":[[142,9]]}},"keywords":{}}],["bulki",{"_index":3259,"title":{},"content":{"521":{"position":[[206,5]]}},"keywords":{}}],["bulkinsert",{"_index":4252,"title":{"944":{"position":[[0,13]]}},"content":{"749":{"position":[[9064,13]]},"944":{"position":[[369,10],[507,12]]}},"keywords":{}}],["bulkremov",{"_index":5336,"title":{"945":{"position":[[0,13]]}},"content":{},"keywords":{}}],["bulkupsert",{"_index":4253,"title":{"947":{"position":[[0,13]]}},"content":{"749":{"position":[[9082,13]]}},"keywords":{}}],["bulkwrit",{"_index":4121,"title":{},"content":{"746":{"position":[[681,10]]},"749":{"position":[[1551,11]]}},"keywords":{}}],["bun",{"_index":2932,"title":{"440":{"position":[[25,4]]}},"content":{"440":{"position":[[196,3],[369,4],[464,3]]}},"keywords":{}}],["bun:sqlit",{"_index":2934,"title":{},"content":{"440":{"position":[[392,10]]}},"keywords":{}}],["bundl",{"_index":1261,"title":{},"content":{"188":{"position":[[1659,6],[1760,7]]},"333":{"position":[[191,7]]},"357":{"position":[[377,7]]},"412":{"position":[[862,7],[9192,6]]},"581":{"position":[[541,6]]},"708":{"position":[[560,7]]},"717":{"position":[[413,8]]},"732":{"position":[[72,6]]},"962":{"position":[[293,6]]},"1176":{"position":[[10,6]]},"1200":{"position":[[5,6]]},"1227":{"position":[[100,7],[155,7]]},"1242":{"position":[[131,6]]},"1265":{"position":[[93,7],[148,7]]},"1266":{"position":[[20,6]]},"1270":{"position":[[548,7]]},"1292":{"position":[[815,6]]}},"keywords":{}}],["bundler",{"_index":1937,"title":{},"content":{"333":{"position":[[135,8]]},"729":{"position":[[269,9]]},"1202":{"position":[[308,9]]},"1268":{"position":[[285,8]]}},"keywords":{}}],["burden",{"_index":1010,"title":{},"content":{"91":{"position":[[212,6]]},"224":{"position":[[154,6]]},"412":{"position":[[4335,6]]},"802":{"position":[[739,6]]},"1107":{"position":[[952,7]]}},"keywords":{}}],["busi",{"_index":667,"title":{"1009":{"position":[[30,8]]}},"content":{"43":{"position":[[93,8]]},"354":{"position":[[617,8],[1488,8]]},"411":{"position":[[1597,8]]},"419":{"position":[[1430,10]]},"681":{"position":[[170,8]]},"687":{"position":[[32,8]]}},"keywords":{}}],["button",{"_index":3159,"title":{},"content":{"489":{"position":[[387,6]]},"703":{"position":[[1426,6]]},"1313":{"position":[[600,6]]}},"keywords":{}}],["buy",{"_index":2808,"title":{},"content":{"419":{"position":[[1411,6]]}},"keywords":{}}],["bwvvdw",{"_index":5296,"title":{},"content":{"918":{"position":[[162,11]]},"931":{"position":[[190,10]]}},"keywords":{}}],["bypass",{"_index":1087,"title":{},"content":{"129":{"position":[[158,6]]},"289":{"position":[[1751,9]]},"901":{"position":[[177,9]]}},"keywords":{}}],["byte",{"_index":2970,"title":{},"content":{"454":{"position":[[647,4]]},"1206":{"position":[[327,4],[335,4]]},"1208":{"position":[[1643,6]]}},"keywords":{}}],["c",{"_index":82,"title":{},"content":{"6":{"position":[[29,3]]},"19":{"position":[[681,1],[695,1]]},"408":{"position":[[3546,3],[3550,4]]},"661":{"position":[[54,1]]},"711":{"position":[[58,1]]},"800":{"position":[[244,3]]},"836":{"position":[[56,1]]},"860":{"position":[[1267,1]]},"871":{"position":[[528,1]]},"897":{"position":[[35,1]]},"982":{"position":[[248,1]]}},"keywords":{}}],["c+d.the",{"_index":5437,"title":{},"content":{"982":{"position":[[355,7]]}},"keywords":{}}],["c.or",{"_index":337,"title":{},"content":{"19":{"position":[[689,5]]}},"keywords":{}}],["c.rating("gt"",{"_index":338,"title":{},"content":{"19":{"position":[[703,24]]}},"keywords":{}}],["c1",{"_index":5451,"title":{},"content":{"987":{"position":[[180,2],[397,2],[673,2]]}},"keywords":{}}],["c1.rxdb",{"_index":5453,"title":{},"content":{"987":{"position":[[486,7]]}},"keywords":{}}],["c2",{"_index":5452,"title":{},"content":{"987":{"position":[[216,2],[329,2],[717,2]]}},"keywords":{}}],["cabl",{"_index":4592,"title":{},"content":{"780":{"position":[[251,6]]}},"keywords":{}}],["cach",{"_index":561,"title":{"87":{"position":[[21,8]]},"216":{"position":[[0,8]]},"815":{"position":[[0,5]]},"1255":{"position":[[0,8]]},"1321":{"position":[[0,7]]}},"content":{"35":{"position":[[538,7]]},"37":{"position":[[253,7],[344,7]]},"39":{"position":[[336,6]]},"65":{"position":[[141,8],[192,5]]},"87":{"position":[[64,8],[197,7]]},"117":{"position":[[177,7]]},"157":{"position":[[148,7]]},"164":{"position":[[140,7]]},"173":{"position":[[628,8],[678,7],[717,7]]},"189":{"position":[[624,5]]},"206":{"position":[[36,8]]},"215":{"position":[[141,5]]},"216":{"position":[[44,7],[230,7]]},"241":{"position":[[514,8]]},"253":{"position":[[35,8]]},"265":{"position":[[950,8]]},"280":{"position":[[181,6]]},"287":{"position":[[944,5]]},"305":{"position":[[202,6]]},"373":{"position":[[529,8]]},"376":{"position":[[230,8]]},"408":{"position":[[735,5],[1291,5]]},"412":{"position":[[8664,5]]},"414":{"position":[[316,8]]},"416":{"position":[[124,6]]},"418":{"position":[[603,9],[867,6]]},"463":{"position":[[1339,7]]},"467":{"position":[[239,6],[507,6]]},"500":{"position":[[613,7]]},"612":{"position":[[1937,6],[1958,7]]},"616":{"position":[[927,7]]},"630":{"position":[[885,8],[930,8]]},"770":{"position":[[583,6]]},"793":{"position":[[948,5]]},"800":{"position":[[406,6]]},"815":{"position":[[43,5],[98,6]]},"816":{"position":[[88,5]]},"818":{"position":[[3,5],[208,6]]},"841":{"position":[[841,8]]},"856":{"position":[[62,6]]},"875":{"position":[[7349,6],[7370,6]]},"899":{"position":[[106,8]]},"934":{"position":[[709,5]]},"977":{"position":[[503,5]]},"1067":{"position":[[1109,8]]},"1068":{"position":[[267,6]]},"1071":{"position":[[519,6]]},"1072":{"position":[[185,6]]},"1321":{"position":[[208,5],[392,7],[975,5],[1001,6],[1086,5]]}},"keywords":{}}],["cache.it",{"_index":4700,"title":{},"content":{"816":{"position":[[279,8]]}},"keywords":{}}],["cachereplacementpolici",{"_index":4705,"title":{},"content":{"818":{"position":[[443,23],[549,23]]},"934":{"position":[[650,23]]}},"keywords":{}}],["calcul",{"_index":2288,"title":{"393":{"position":[[21,11]]}},"content":{"393":{"position":[[822,9]]},"394":{"position":[[271,11],[342,11]]},"396":{"position":[[1126,9]]},"397":{"position":[[1437,9],[1529,10],[1965,9]]},"398":{"position":[[535,9]]},"401":{"position":[[38,9]]},"402":{"position":[[428,11],[1812,11]]},"490":{"position":[[595,10]]},"927":{"position":[[69,10],[103,10]]},"1072":{"position":[[1129,12]]},"1250":{"position":[[198,9],[567,10]]},"1318":{"position":[[879,10],[1078,9]]}},"keywords":{}}],["call",{"_index":154,"title":{"654":{"position":[[0,7]]}},"content":{"11":{"position":[[371,6]]},"27":{"position":[[187,5]]},"38":{"position":[[258,6],[356,7]]},"212":{"position":[[339,4]]},"251":{"position":[[128,5]]},"277":{"position":[[27,6]]},"320":{"position":[[77,6]]},"334":{"position":[[86,4]]},"392":{"position":[[1971,7]]},"396":{"position":[[1629,6]]},"408":{"position":[[2764,5],[3314,5],[4047,6]]},"411":{"position":[[2838,6]]},"452":{"position":[[743,5]]},"454":{"position":[[973,6]]},"461":{"position":[[1270,7]]},"474":{"position":[[19,4]]},"494":{"position":[[463,4]]},"566":{"position":[[670,6]]},"574":{"position":[[663,6]]},"581":{"position":[[43,6]]},"647":{"position":[[55,6],[474,4]]},"654":{"position":[[50,7]]},"655":{"position":[[120,4]]},"659":{"position":[[335,5]]},"675":{"position":[[181,4]]},"676":{"position":[[240,4]]},"683":{"position":[[134,7],[241,7]]},"684":{"position":[[78,7]]},"698":{"position":[[342,6],[2499,6],[2567,4],[3010,6]]},"703":{"position":[[253,4],[306,5],[366,5],[422,5],[561,5]]},"711":{"position":[[1675,4]]},"721":{"position":[[369,7]]},"746":{"position":[[233,7]]},"749":{"position":[[1573,6],[2022,6],[2750,7],[4282,6],[11026,6],[11165,6],[22269,7]]},"752":{"position":[[81,7]]},"759":{"position":[[1079,4]]},"770":{"position":[[14,6]]},"772":{"position":[[607,7]]},"775":{"position":[[788,7]]},"788":{"position":[[48,6]]},"790":{"position":[[59,6]]},"792":{"position":[[61,6]]},"800":{"position":[[236,5]]},"806":{"position":[[317,6],[378,5]]},"825":{"position":[[292,7]]},"835":{"position":[[429,4]]},"846":{"position":[[1322,4]]},"848":{"position":[[535,4]]},"854":{"position":[[524,7]]},"863":{"position":[[532,5],[743,5]]},"866":{"position":[[163,4]]},"875":{"position":[[1750,7],[5875,4]]},"878":{"position":[[152,7]]},"879":{"position":[[316,4]]},"885":{"position":[[498,6]]},"890":{"position":[[10,4]]},"904":{"position":[[1470,4]]},"939":{"position":[[50,4]]},"941":{"position":[[1,7]]},"944":{"position":[[91,7],[499,4]]},"947":{"position":[[107,6]]},"958":{"position":[[203,4],[685,4]]},"966":{"position":[[766,4]]},"967":{"position":[[351,4]]},"970":{"position":[[1,7]]},"981":{"position":[[1053,7]]},"983":{"position":[[419,6]]},"987":{"position":[[335,7],[543,4],[1062,7]]},"988":{"position":[[59,7],[1598,7],[3288,6],[4224,4],[4617,6]]},"999":{"position":[[146,7]]},"1007":{"position":[[43,6],[1951,6]]},"1027":{"position":[[106,6]]},"1033":{"position":[[935,4]]},"1035":{"position":[[53,4]]},"1036":{"position":[[48,4]]},"1046":{"position":[[1,7]]},"1055":{"position":[[28,4]]},"1057":{"position":[[238,4]]},"1058":{"position":[[505,6]]},"1088":{"position":[[598,7]]},"1097":{"position":[[273,4]]},"1100":{"position":[[353,7]]},"1112":{"position":[[457,7]]},"1114":{"position":[[272,4],[325,7]]},"1115":{"position":[[42,6],[823,4]]},"1125":{"position":[[126,7]]},"1140":{"position":[[97,6]]},"1148":{"position":[[873,7]]},"1150":{"position":[[27,6]]},"1151":{"position":[[814,4]]},"1174":{"position":[[562,4]]},"1175":{"position":[[673,5],[755,6]]},"1178":{"position":[[811,4]]},"1194":{"position":[[670,4],[865,5],[1003,5]]},"1212":{"position":[[187,7]]},"1220":{"position":[[422,4]]},"1229":{"position":[[121,7]]},"1250":{"position":[[562,4]]},"1267":{"position":[[6,4],[428,4]]},"1268":{"position":[[115,7]]},"1272":{"position":[[188,6]]},"1282":{"position":[[1091,7]]},"1294":{"position":[[400,5],[746,4]]},"1295":{"position":[[204,6]]},"1298":{"position":[[166,4]]},"1304":{"position":[[1852,6]]},"1307":{"position":[[489,7]]},"1316":{"position":[[747,6]]}},"keywords":{}}],["call.find",{"_index":6167,"title":{},"content":{"1194":{"position":[[777,9]]}},"keywords":{}}],["call.insert",{"_index":6164,"title":{},"content":{"1194":{"position":[[508,11]]}},"keywords":{}}],["callback",{"_index":700,"title":{},"content":{"45":{"position":[[311,8]]},"47":{"position":[[81,8],[140,8]]},"302":{"position":[[437,10]]},"521":{"position":[[76,8]]},"535":{"position":[[119,8],[167,9]]},"595":{"position":[[119,8],[180,9]]},"1274":{"position":[[486,8]]},"1279":{"position":[[873,8]]}},"keywords":{}}],["calledpreinsert",{"_index":4522,"title":{},"content":{"767":{"position":[[98,15]]}},"keywords":{}}],["calledpreremov",{"_index":4548,"title":{},"content":{"769":{"position":[[90,15]]}},"keywords":{}}],["calledpresav",{"_index":4536,"title":{},"content":{"768":{"position":[[83,13]]}},"keywords":{}}],["came",{"_index":4595,"title":{},"content":{"785":{"position":[[586,4]]},"888":{"position":[[701,4],[747,4]]},"1009":{"position":[[1027,4]]},"1198":{"position":[[307,4]]}},"keywords":{}}],["can't",{"_index":941,"title":{},"content":{"66":{"position":[[213,5]]},"408":{"position":[[2544,5]]},"412":{"position":[[1458,5]]},"418":{"position":[[219,5]]},"440":{"position":[[309,5]]},"749":{"position":[[4365,5],[4616,5],[10613,5],[13664,5]]},"1085":{"position":[[2684,5]]},"1112":{"position":[[393,5]]}},"keywords":{}}],["cancel",{"_index":4349,"title":{"997":{"position":[[0,9]]}},"content":{"749":{"position":[[16430,8],[16696,9]]},"854":{"position":[[1667,6],[1760,8]]},"988":{"position":[[799,6]]},"993":{"position":[[515,9]]},"994":{"position":[[204,6]]},"997":{"position":[[1,7]]},"999":{"position":[[1,7]]},"1000":{"position":[[116,9]]},"1009":{"position":[[782,10]]}},"keywords":{}}],["candid",{"_index":2311,"title":{},"content":{"394":{"position":[[690,10]]},"398":{"position":[[787,10],[2055,10]]}},"keywords":{}}],["candidates.add(d",{"_index":2406,"title":{},"content":{"398":{"position":[[1373,19],[1415,19],[2533,19]]}},"keywords":{}}],["candidates.map(doc",{"_index":2314,"title":{},"content":{"394":{"position":[[762,18]]}},"keywords":{}}],["can’t",{"_index":2019,"title":{},"content":{"354":{"position":[[321,5]]},"559":{"position":[[1466,5]]}},"keywords":{}}],["cap",{"_index":870,"title":{},"content":{"58":{"position":[[259,3]]},"298":{"position":[[699,5]]},"299":{"position":[[290,3]]},"304":{"position":[[22,3]]},"408":{"position":[[651,6],[2160,7]]},"451":{"position":[[415,4]]}},"keywords":{}}],["capabilities.sqlit",{"_index":1292,"title":{},"content":{"189":{"position":[[266,19]]}},"keywords":{}}],["capabl",{"_index":265,"title":{"280":{"position":[[8,8]]}},"content":{"15":{"position":[[524,8]]},"27":{"position":[[295,13]]},"34":{"position":[[565,13]]},"39":{"position":[[221,13]]},"40":{"position":[[801,12]]},"61":{"position":[[389,7]]},"83":{"position":[[116,13]]},"84":{"position":[[45,12]]},"89":{"position":[[211,10]]},"95":{"position":[[135,10]]},"96":{"position":[[225,12]]},"114":{"position":[[45,12]]},"122":{"position":[[273,10]]},"126":{"position":[[182,13]]},"133":{"position":[[267,10]]},"136":{"position":[[283,10]]},"148":{"position":[[111,13],[398,7]]},"149":{"position":[[45,12]]},"151":{"position":[[129,13]]},"153":{"position":[[350,7]]},"161":{"position":[[227,12]]},"165":{"position":[[395,12]]},"166":{"position":[[92,13]]},"168":{"position":[[256,10]]},"173":{"position":[[2390,12]]},"174":{"position":[[1368,12],[2203,12],[3245,13]]},"175":{"position":[[42,12]]},"184":{"position":[[110,12]]},"189":{"position":[[378,13]]},"198":{"position":[[173,13]]},"224":{"position":[[118,12]]},"226":{"position":[[379,12]]},"254":{"position":[[276,13]]},"255":{"position":[[1865,13]]},"263":{"position":[[145,13]]},"267":{"position":[[8,12],[212,12]]},"280":{"position":[[397,10]]},"283":{"position":[[63,13]]},"285":{"position":[[141,13]]},"286":{"position":[[437,13]]},"289":{"position":[[36,12]]},"292":{"position":[[321,10]]},"293":{"position":[[309,10]]},"294":{"position":[[37,13]]},"317":{"position":[[269,12]]},"321":{"position":[[580,13]]},"331":{"position":[[364,7]]},"347":{"position":[[45,12]]},"362":{"position":[[1116,12]]},"365":{"position":[[1505,12]]},"370":{"position":[[49,13]]},"373":{"position":[[434,12]]},"383":{"position":[[231,12]]},"384":{"position":[[305,7]]},"407":{"position":[[472,11]]},"408":{"position":[[67,12],[1374,12]]},"411":{"position":[[5503,7]]},"412":{"position":[[1514,7]]},"418":{"position":[[590,12]]},"419":{"position":[[30,7]]},"427":{"position":[[912,13]]},"430":{"position":[[322,13]]},"432":{"position":[[1004,13]]},"433":{"position":[[400,13]]},"438":{"position":[[375,13]]},"444":{"position":[[527,12]]},"445":{"position":[[284,12]]},"446":{"position":[[300,12],[624,12]]},"486":{"position":[[175,11]]},"495":{"position":[[549,7]]},"498":{"position":[[499,12]]},"501":{"position":[[232,13]]},"502":{"position":[[700,13]]},"504":{"position":[[108,12]]},"509":{"position":[[91,10]]},"510":{"position":[[211,13],[394,8]]},"511":{"position":[[45,12]]},"513":{"position":[[309,13]]},"520":{"position":[[143,13]]},"530":{"position":[[262,13]]},"531":{"position":[[45,12]]},"535":{"position":[[415,12]]},"540":{"position":[[40,13]]},"544":{"position":[[333,13]]},"548":{"position":[[236,7]]},"551":{"position":[[118,13]]},"560":{"position":[[736,12]]},"566":{"position":[[205,12]]},"567":{"position":[[121,13]]},"569":{"position":[[1550,7]]},"574":{"position":[[192,13]]},"575":{"position":[[92,12]]},"584":{"position":[[179,10]]},"591":{"position":[[45,12]]},"595":{"position":[[443,12]]},"600":{"position":[[40,13]]},"604":{"position":[[286,13]]},"608":{"position":[[236,7]]},"613":{"position":[[194,13]]},"614":{"position":[[124,12]]},"622":{"position":[[13,7],[180,7]]},"644":{"position":[[507,13]]},"659":{"position":[[778,12]]},"801":{"position":[[842,12]]},"831":{"position":[[369,10]]},"835":{"position":[[883,12]]},"860":{"position":[[227,12]]},"875":{"position":[[9241,7]]},"888":{"position":[[160,7]]},"901":{"position":[[502,13]]},"996":{"position":[[325,7]]},"1184":{"position":[[22,7]]},"1274":{"position":[[583,7]]},"1279":{"position":[[970,7]]}},"keywords":{}}],["capac",{"_index":1193,"title":{},"content":{"169":{"position":[[315,11]]},"392":{"position":[[4916,8]]},"408":{"position":[[960,9]]},"469":{"position":[[1244,8]]},"772":{"position":[[483,9]]},"1089":{"position":[[37,8]]},"1157":{"position":[[108,9]]}},"keywords":{}}],["capacitor",{"_index":142,"title":{"657":{"position":[[0,9]]},"658":{"position":[[23,10]]},"1279":{"position":[[18,10]]}},"content":{"10":{"position":[[430,9]]},"11":{"position":[[77,10]]},"59":{"position":[[235,9]]},"317":{"position":[[25,9]]},"445":{"position":[[1791,10]]},"446":{"position":[[1158,9]]},"447":{"position":[[254,10]]},"535":{"position":[[1312,10]]},"546":{"position":[[279,9]]},"606":{"position":[[278,10]]},"659":{"position":[[1,9]]},"660":{"position":[[7,9],[493,9]]},"661":{"position":[[228,10],[269,10],[432,10],[552,10],[843,9],[1055,11],[1478,9]]},"662":{"position":[[348,10],[484,9],[944,10],[1157,9],[1204,9],[1290,10],[1376,9],[1729,11],[1769,9],[2246,10]]},"793":{"position":[[226,10],[298,11]]},"1196":{"position":[[67,11]]},"1235":{"position":[[382,10]]},"1247":{"position":[[119,10]]},"1274":{"position":[[511,9]]},"1279":{"position":[[20,9],[78,9],[283,9],[480,9],[551,11],[591,9],[898,9],[1068,10]]},"1282":{"position":[[835,11],[1206,11]]}},"keywords":{}}],["capacitor)n",{"_index":3120,"title":{},"content":{"479":{"position":[[359,16]]}},"keywords":{}}],["capacitor.j",{"_index":1052,"title":{"1214":{"position":[[34,13]]}},"content":{"112":{"position":[[143,14]]},"174":{"position":[[2747,14]]},"239":{"position":[[179,13]]},"1214":{"position":[[1008,12]]}},"keywords":{}}],["capacitor/cor",{"_index":3795,"title":{},"content":{"661":{"position":[[860,18]]},"662":{"position":[[1786,18]]},"1279":{"position":[[608,18]]}},"keywords":{}}],["capacitor/cordova",{"_index":146,"title":{},"content":{"11":{"position":[[210,17]]}},"keywords":{}}],["capacitor/prefer",{"_index":3774,"title":{},"content":{"659":{"position":[[248,22],[458,25]]}},"keywords":{}}],["capacitors.j",{"_index":2110,"title":{},"content":{"365":{"position":[[1070,13]]}},"keywords":{}}],["capacitorsqlit",{"_index":3796,"title":{},"content":{"661":{"position":[[888,16]]},"662":{"position":[[1688,16]]},"1279":{"position":[[510,16]]}},"keywords":{}}],["capechoresult",{"_index":3802,"title":{},"content":{"661":{"position":[[992,14]]}},"keywords":{}}],["capncdatabasepathresult",{"_index":3804,"title":{},"content":{"661":{"position":[[1024,23]]}},"keywords":{}}],["capsqlitechang",{"_index":3800,"title":{},"content":{"661":{"position":[[957,17]]}},"keywords":{}}],["capsqliteresult",{"_index":3803,"title":{},"content":{"661":{"position":[[1007,16]]}},"keywords":{}}],["capsqliteset",{"_index":3799,"title":{},"content":{"661":{"position":[[943,13]]}},"keywords":{}}],["capsqlitevalu",{"_index":3801,"title":{},"content":{"661":{"position":[[975,16]]}},"keywords":{}}],["captiv",{"_index":3225,"title":{},"content":{"502":{"position":[[875,9]]}},"keywords":{}}],["captur",{"_index":3287,"title":{},"content":{"525":{"position":[[165,8]]}},"keywords":{}}],["car",{"_index":3457,"title":{},"content":{"569":{"position":[[664,3]]}},"keywords":{}}],["card",{"_index":2576,"title":{},"content":{"408":{"position":[[5378,5]]}},"keywords":{}}],["care",{"_index":889,"title":{"1032":{"position":[[3,7]]}},"content":{"61":{"position":[[430,4]]},"143":{"position":[[203,4]]},"164":{"position":[[318,4]]},"412":{"position":[[11802,7]]},"703":{"position":[[1201,4]]},"780":{"position":[[692,4]]},"785":{"position":[[563,4]]},"1115":{"position":[[857,4]]},"1120":{"position":[[273,6]]},"1141":{"position":[[142,4]]},"1150":{"position":[[503,4]]},"1183":{"position":[[504,4]]}},"keywords":{}}],["carefulli",{"_index":1980,"title":{},"content":{"346":{"position":[[823,9]]},"441":{"position":[[281,10]]},"566":{"position":[[958,9]]},"839":{"position":[[1343,9]]}},"keywords":{}}],["cargo",{"_index":6359,"title":{},"content":{"1280":{"position":[[107,5]]}},"keywords":{}}],["carol",{"_index":4679,"title":{},"content":{"810":{"position":[[248,7]]},"811":{"position":[[228,7]]},"813":{"position":[[311,8]]}},"keywords":{}}],["carolina",{"_index":5723,"title":{},"content":{"1051":{"position":[[255,11],[525,11]]}},"keywords":{}}],["carri",{"_index":3513,"title":{},"content":{"581":{"position":[[524,7]]}},"keywords":{}}],["case",{"_index":67,"title":{"267":{"position":[[4,5]]},"375":{"position":[[4,5]]},"446":{"position":[[4,5]]},"624":{"position":[[24,4]]},"736":{"position":[[4,4]]},"765":{"position":[[4,6]]},"1021":{"position":[[4,5]]},"1124":{"position":[[4,6]]}},"content":{"4":{"position":[[158,6]]},"13":{"position":[[300,6]]},"14":{"position":[[915,5]]},"36":{"position":[[485,6]]},"58":{"position":[[41,6],[127,6]]},"162":{"position":[[818,5]]},"267":{"position":[[94,5],[1456,6]]},"287":{"position":[[130,6]]},"321":{"position":[[444,6]]},"325":{"position":[[281,6]]},"372":{"position":[[9,6]]},"386":{"position":[[64,5]]},"390":{"position":[[1723,6]]},"398":{"position":[[360,6]]},"400":{"position":[[522,4]]},"401":{"position":[[934,5]]},"412":{"position":[[6390,4],[11830,5],[15335,5]]},"418":{"position":[[202,4]]},"420":{"position":[[1228,5],[1458,5]]},"430":{"position":[[77,5]]},"432":{"position":[[770,6],[1355,4]]},"436":{"position":[[387,6]]},"444":{"position":[[421,6]]},"449":{"position":[[79,4]]},"460":{"position":[[461,4]]},"462":{"position":[[244,4]]},"543":{"position":[[238,6]]},"559":{"position":[[1554,6]]},"603":{"position":[[236,6]]},"611":{"position":[[1364,5]]},"614":{"position":[[748,5]]},"617":{"position":[[1130,6]]},"621":{"position":[[653,5]]},"624":{"position":[[104,4],[1330,6]]},"653":{"position":[[82,6]]},"670":{"position":[[57,4],[362,5]]},"681":{"position":[[95,6],[196,6]]},"682":{"position":[[245,6]]},"687":{"position":[[127,5]]},"689":{"position":[[471,6]]},"698":{"position":[[959,6],[2081,6]]},"703":{"position":[[690,5],[1260,6],[1623,6]]},"707":{"position":[[428,4]]},"714":{"position":[[977,6]]},"723":{"position":[[2295,5]]},"730":{"position":[[89,6]]},"740":{"position":[[202,5]]},"815":{"position":[[288,5]]},"829":{"position":[[2138,5],[2915,5]]},"834":{"position":[[124,6]]},"841":{"position":[[1326,5]]},"875":{"position":[[8545,4]]},"881":{"position":[[38,5]]},"902":{"position":[[942,6]]},"904":{"position":[[2012,5]]},"962":{"position":[[213,4]]},"966":{"position":[[239,5]]},"987":{"position":[[246,4]]},"990":{"position":[[389,5]]},"1022":{"position":[[343,4]]},"1065":{"position":[[1197,4]]},"1068":{"position":[[454,4]]},"1072":{"position":[[1635,4],[1766,4],[1999,4],[2069,4],[2187,4],[2588,4],[2723,4]]},"1090":{"position":[[1241,5]]},"1091":{"position":[[139,5]]},"1105":{"position":[[398,5]]},"1124":{"position":[[100,5]]},"1146":{"position":[[95,6]]},"1152":{"position":[[71,5]]},"1157":{"position":[[483,5]]},"1193":{"position":[[193,5]]},"1195":{"position":[[130,5]]},"1198":{"position":[[62,4],[1481,5]]},"1208":{"position":[[628,6]]},"1222":{"position":[[1032,5]]},"1243":{"position":[[67,6]]},"1305":{"position":[[244,6]]},"1307":{"position":[[621,5]]}},"keywords":{}}],["cases.discord",{"_index":2862,"title":{},"content":{"422":{"position":[[163,14]]}},"keywords":{}}],["cases.web",{"_index":3344,"title":{},"content":{"554":{"position":[[110,9]]}},"keywords":{}}],["cassandra",{"_index":6582,"title":{},"content":{"1324":{"position":[[921,10]]}},"keywords":{}}],["cat.txt",{"_index":4610,"title":{},"content":{"792":{"position":[[359,10]]},"917":{"position":[[173,10]]},"918":{"position":[[134,10]]}},"keywords":{}}],["catch",{"_index":1811,"title":{},"content":{"302":{"position":[[836,5]]},"361":{"position":[[150,8]]},"412":{"position":[[6068,5]]},"838":{"position":[[1017,5]]},"875":{"position":[[8854,5]]},"984":{"position":[[110,5]]},"995":{"position":[[1560,11]]},"1031":{"position":[[150,5]]},"1085":{"position":[[2662,5]]}},"keywords":{}}],["catch(error",{"_index":3559,"title":{},"content":{"610":{"position":[[1130,12]]}},"keywords":{}}],["categori",{"_index":2207,"title":{},"content":{"390":{"position":[[1556,10]]},"1020":{"position":[[653,9]]}},"keywords":{}}],["cater",{"_index":1653,"title":{},"content":{"280":{"position":[[473,8]]},"368":{"position":[[189,8]]},"504":{"position":[[6,6]]}},"keywords":{}}],["caught",{"_index":1574,"title":{},"content":{"255":{"position":[[220,6]]},"1085":{"position":[[2548,6]]}},"keywords":{}}],["caus",{"_index":1548,"title":{"627":{"position":[[22,5]]}},"content":{"250":{"position":[[79,5]]},"367":{"position":[[68,5]]},"457":{"position":[[681,5]]},"642":{"position":[[283,5]]},"749":{"position":[[21941,6]]},"835":{"position":[[337,5]]},"837":{"position":[[726,6]]},"858":{"position":[[566,5]]},"876":{"position":[[349,6]]},"885":{"position":[[1127,6]]},"1031":{"position":[[92,5]]},"1065":{"position":[[696,5]]},"1085":{"position":[[258,5],[3124,5]]},"1120":{"position":[[331,5]]},"1157":{"position":[[326,5]]},"1295":{"position":[[1478,5]]}},"keywords":{}}],["caveat",{"_index":1738,"title":{},"content":{"299":{"position":[[178,7]]},"495":{"position":[[50,8]]}},"keywords":{}}],["cbc",{"_index":4034,"title":{},"content":{"718":{"position":[[524,4]]}},"keywords":{}}],["cd",{"_index":3825,"title":{},"content":{"666":{"position":[[216,2]]}},"keywords":{}}],["ceil",{"_index":2538,"title":{},"content":{"408":{"position":[[1343,8],[4992,7]]}},"keywords":{}}],["center",{"_index":3475,"title":{},"content":{"574":{"position":[[68,8]]}},"keywords":{}}],["central",{"_index":478,"title":{},"content":{"29":{"position":[[177,11]]},"43":{"position":[[81,11],[137,8]]},"201":{"position":[[52,7]]},"210":{"position":[[24,11]]},"212":{"position":[[650,7]]},"261":{"position":[[31,7],[1160,7]]},"289":{"position":[[1776,7]]},"293":{"position":[[388,7]]},"321":{"position":[[174,7]]},"346":{"position":[[1,10]]},"365":{"position":[[1444,11]]},"411":{"position":[[4932,7],[5156,7]]},"412":{"position":[[11978,11]]},"416":{"position":[[343,7]]},"418":{"position":[[311,7],[648,7]]},"590":{"position":[[82,10]]},"901":{"position":[[189,7]]},"902":{"position":[[33,7],[215,7],[591,7]]},"903":{"position":[[58,11]]}},"keywords":{}}],["centric",{"_index":1418,"title":{},"content":{"231":{"position":[[266,7]]},"241":{"position":[[598,7]]},"279":{"position":[[403,7]]},"354":{"position":[[1590,8]]},"362":{"position":[[157,7]]},"388":{"position":[[365,7]]}},"keywords":{}}],["certain",{"_index":1558,"title":{},"content":{"252":{"position":[[40,7]]},"266":{"position":[[517,7]]},"303":{"position":[[1493,7]]},"354":{"position":[[140,7]]},"396":{"position":[[1578,7]]},"412":{"position":[[8594,7],[12899,7]]},"460":{"position":[[991,7]]},"480":{"position":[[1040,7]]},"496":{"position":[[470,7]]},"545":{"position":[[106,7]]},"559":{"position":[[1050,7]]},"569":{"position":[[907,7]]},"605":{"position":[[106,7]]},"618":{"position":[[302,7]]},"688":{"position":[[632,7]]},"714":{"position":[[651,7]]},"759":{"position":[[1460,7]]},"765":{"position":[[212,7]]},"839":{"position":[[749,7]]},"1072":{"position":[[473,7]]}},"keywords":{}}],["certainli",{"_index":2122,"title":{},"content":{"369":{"position":[[1,10]]}},"keywords":{}}],["certif",{"_index":3381,"title":{},"content":{"556":{"position":[[1951,12],[2009,12]]}},"keywords":{}}],["chain",{"_index":2508,"title":{},"content":{"404":{"position":[[842,8]]},"682":{"position":[[119,7]]},"749":{"position":[[3181,7]]},"1064":{"position":[[8,7],[268,7]]},"1065":{"position":[[161,7],[1414,7]]}},"keywords":{}}],["challeng",{"_index":1164,"title":{"412":{"position":[[0,10]]}},"content":{"152":{"position":[[357,11]]},"170":{"position":[[272,10]]},"223":{"position":[[68,12]]},"240":{"position":[[109,12],[140,9]]},"282":{"position":[[97,12]]},"289":{"position":[[2004,11]]},"392":{"position":[[3007,11]]},"394":{"position":[[1398,10]]},"396":{"position":[[1525,10]]},"399":{"position":[[141,9]]},"412":{"position":[[51,11],[334,11],[788,9],[8646,10],[14904,11],[15072,11]]},"417":{"position":[[121,10]]},"427":{"position":[[936,11]]},"432":{"position":[[664,9]]},"521":{"position":[[42,11]]},"535":{"position":[[617,12]]},"595":{"position":[[644,12]]},"618":{"position":[[190,10]]},"624":{"position":[[903,11]]}},"keywords":{}}],["champion",{"_index":3514,"title":{},"content":{"582":{"position":[[6,9]]}},"keywords":{}}],["chanc",{"_index":3097,"title":{},"content":{"470":{"position":[[81,6]]},"696":{"position":[[1540,6]]},"797":{"position":[[58,6]]}},"keywords":{}}],["chang",{"_index":330,"title":{"50":{"position":[[6,6]]},"77":{"position":[[60,8]]},"79":{"position":[[19,8]]},"103":{"position":[[60,8]]},"110":{"position":[[19,8]]},"129":{"position":[[6,6]]},"140":{"position":[[0,6]]},"168":{"position":[[0,6]]},"196":{"position":[[0,6]]},"240":{"position":[[16,7]]},"344":{"position":[[0,6]]},"367":{"position":[[47,8]]},"403":{"position":[[30,8]]},"490":{"position":[[13,7]]},"509":{"position":[[0,6]]},"529":{"position":[[0,6]]},"585":{"position":[[23,6]]},"634":{"position":[[28,8]]},"719":{"position":[[0,8]]},"750":{"position":[[32,7]]},"1106":{"position":[[0,6]]}},"content":{"19":{"position":[[416,6]]},"34":{"position":[[472,8]]},"36":{"position":[[272,7]]},"38":{"position":[[595,7]]},"39":{"position":[[98,7]]},"47":{"position":[[760,8],[801,7],[910,7]]},"50":{"position":[[102,6],[323,6]]},"53":{"position":[[59,7]]},"57":{"position":[[175,8]]},"65":{"position":[[683,8]]},"77":{"position":[[112,8]]},"79":{"position":[[52,8]]},"89":{"position":[[297,7]]},"90":{"position":[[207,7]]},"99":{"position":[[374,7]]},"103":{"position":[[92,7]]},"106":{"position":[[139,7]]},"110":{"position":[[32,8]]},"121":{"position":[[209,7]]},"122":{"position":[[208,7]]},"124":{"position":[[173,8],[281,7]]},"125":{"position":[[219,7]]},"129":{"position":[[14,6],[74,8],[175,6],[218,7],[285,6],[486,7],[636,6]]},"130":{"position":[[326,7]]},"133":{"position":[[202,7]]},"136":{"position":[[80,7]]},"140":{"position":[[14,6],[65,7],[126,6],[261,6]]},"156":{"position":[[159,6],[268,8]]},"159":{"position":[[242,8]]},"160":{"position":[[138,7]]},"168":{"position":[[13,6],[96,7],[123,6],[236,6]]},"170":{"position":[[416,6]]},"173":{"position":[[1016,8]]},"174":{"position":[[335,8],[1114,7],[2048,7],[2115,7]]},"182":{"position":[[192,8]]},"185":{"position":[[121,8]]},"188":{"position":[[1032,6]]},"191":{"position":[[121,7]]},"196":{"position":[[15,6],[63,7],[92,6],[251,8]]},"201":{"position":[[404,7]]},"204":{"position":[[252,8]]},"208":{"position":[[212,7],[288,7]]},"209":{"position":[[763,7],[886,8]]},"210":{"position":[[681,7]]},"221":{"position":[[69,8],[223,7]]},"226":{"position":[[278,7]]},"233":{"position":[[135,7]]},"235":{"position":[[72,7],[206,7]]},"240":{"position":[[94,7],[201,8]]},"248":{"position":[[278,7]]},"249":{"position":[[453,7]]},"254":{"position":[[514,7]]},"255":{"position":[[165,7],[1585,7]]},"262":{"position":[[578,6]]},"267":{"position":[[559,7],[692,7]]},"274":{"position":[[325,7]]},"275":{"position":[[171,7]]},"277":{"position":[[142,7],[188,7]]},"282":{"position":[[8,7],[289,7]]},"283":{"position":[[334,6],[469,7]]},"289":{"position":[[191,8]]},"299":{"position":[[1439,7]]},"309":{"position":[[314,7]]},"314":{"position":[[1164,6]]},"322":{"position":[[241,7]]},"323":{"position":[[73,8],[122,7]]},"325":{"position":[[100,7]]},"326":{"position":[[171,7],[219,7],[277,6]]},"328":{"position":[[291,7]]},"329":{"position":[[96,8]]},"330":{"position":[[75,7]]},"335":{"position":[[878,7]]},"339":{"position":[[171,7]]},"340":{"position":[[17,7]]},"344":{"position":[[5,6],[177,8]]},"351":{"position":[[202,7]]},"352":{"position":[[54,8]]},"354":{"position":[[1707,8]]},"360":{"position":[[378,7],[485,7]]},"367":{"position":[[112,8]]},"369":{"position":[[1293,8]]},"375":{"position":[[261,7]]},"379":{"position":[[75,7],[154,6]]},"380":{"position":[[224,7]]},"382":{"position":[[252,8]]},"391":{"position":[[1067,6]]},"403":{"position":[[10,6],[313,7]]},"404":{"position":[[162,8]]},"410":{"position":[[1087,7],[1761,7],[1963,8],[2226,7]]},"411":{"position":[[170,8],[532,7],[882,8],[958,6],[1466,7],[2353,7],[2810,7],[2879,7],[3188,7],[3256,8],[3466,7],[4405,6],[4530,7]]},"412":{"position":[[717,7],[1125,6],[2097,8],[2627,7],[3200,7],[3443,8],[3746,7],[11056,6]]},"420":{"position":[[698,7],[898,6]]},"432":{"position":[[806,7]]},"445":{"position":[[1005,6],[1096,7],[1492,7]]},"446":{"position":[[333,7]]},"458":{"position":[[285,7],[699,8],[737,7],[1253,8],[1601,8]]},"464":{"position":[[91,7],[1112,7]]},"470":{"position":[[268,7]]},"475":{"position":[[193,7]]},"476":{"position":[[261,8]]},"480":{"position":[[693,7],[823,7]]},"481":{"position":[[43,7]]},"486":{"position":[[317,7]]},"487":{"position":[[177,7]]},"489":{"position":[[421,7],[782,7]]},"490":{"position":[[65,7],[255,8],[393,7]]},"491":{"position":[[300,7],[416,7],[704,7],[1119,7],[1289,7],[1575,7]]},"493":{"position":[[542,8]]},"494":{"position":[[264,7]]},"495":{"position":[[305,7]]},"496":{"position":[[358,8]]},"502":{"position":[[780,7],[1063,7]]},"509":{"position":[[17,6],[64,7]]},"514":{"position":[[365,7]]},"515":{"position":[[269,7]]},"516":{"position":[[317,7]]},"517":{"position":[[279,7]]},"518":{"position":[[53,8],[239,7],[366,8],[530,7]]},"519":{"position":[[162,7]]},"523":{"position":[[187,7]]},"525":{"position":[[140,7]]},"529":{"position":[[41,6],[89,7]]},"535":{"position":[[974,7]]},"541":{"position":[[786,8],[854,8]]},"542":{"position":[[991,8]]},"544":{"position":[[209,7]]},"562":{"position":[[877,8],[1278,7],[1675,7]]},"565":{"position":[[180,7]]},"570":{"position":[[290,7],[783,7]]},"571":{"position":[[181,8],[313,6],[998,8],[1768,7]]},"574":{"position":[[318,7]]},"575":{"position":[[571,7],[717,7]]},"580":{"position":[[94,7],[644,6]]},"582":{"position":[[179,7],[321,6],[399,7]]},"585":{"position":[[81,6]]},"589":{"position":[[128,7]]},"590":{"position":[[883,7]]},"595":{"position":[[1051,7]]},"600":{"position":[[174,7]]},"601":{"position":[[767,8],[835,7]]},"604":{"position":[[181,7]]},"630":{"position":[[402,7],[855,7]]},"632":{"position":[[62,7],[324,7],[1743,7],[1999,7],[2555,7],[2745,8]]},"634":{"position":[[154,7],[530,7]]},"636":{"position":[[38,7]]},"648":{"position":[[59,7],[341,7]]},"662":{"position":[[143,7]]},"668":{"position":[[245,8]]},"687":{"position":[[76,7]]},"688":{"position":[[360,7]]},"689":{"position":[[257,7]]},"691":{"position":[[181,7],[548,6]]},"696":{"position":[[221,7]]},"698":{"position":[[864,7],[1763,6],[2655,7],[2758,6],[2812,7],[2880,7],[2947,7]]},"699":{"position":[[67,6],[95,7]]},"702":{"position":[[56,6],[128,6]]},"709":{"position":[[596,7]]},"719":{"position":[[65,6],[179,6]]},"723":{"position":[[1597,7]]},"749":{"position":[[8948,8],[11401,7]]},"754":{"position":[[76,8],[642,6]]},"764":{"position":[[96,6],[217,7]]},"766":{"position":[[172,6]]},"773":{"position":[[700,6]]},"778":{"position":[[591,7]]},"779":{"position":[[213,6]]},"781":{"position":[[898,8]]},"783":{"position":[[219,7]]},"784":{"position":[[573,7]]},"785":{"position":[[421,8]]},"828":{"position":[[39,7]]},"829":{"position":[[2774,7],[3056,8],[3695,8]]},"836":{"position":[[2065,7]]},"838":{"position":[[172,7],[502,8],[1701,8]]},"839":{"position":[[1108,7]]},"841":{"position":[[537,7]]},"846":{"position":[[1105,7]]},"848":{"position":[[913,7]]},"854":{"position":[[1323,8]]},"855":{"position":[[261,6]]},"860":{"position":[[549,8]]},"867":{"position":[[256,6]]},"870":{"position":[[145,6]]},"871":{"position":[[132,7]]},"875":{"position":[[3681,6],[3802,6],[5951,6],[6647,7],[6757,7],[8660,7]]},"876":{"position":[[360,7]]},"881":{"position":[[78,8]]},"886":{"position":[[1619,7],[2162,7]]},"890":{"position":[[244,7]]},"897":{"position":[[283,7]]},"898":{"position":[[1444,7]]},"903":{"position":[[545,7]]},"927":{"position":[[175,6],[208,8]]},"932":{"position":[[547,6]]},"941":{"position":[[65,6]]},"981":{"position":[[1335,7]]},"982":{"position":[[347,7],[383,7],[644,7],[677,6]]},"985":{"position":[[333,7]]},"986":{"position":[[1249,7]]},"987":{"position":[[940,7]]},"988":{"position":[[2351,7],[3454,7]]},"991":{"position":[[196,6]]},"996":{"position":[[247,7],[462,7]]},"1007":{"position":[[599,7],[1989,8]]},"1018":{"position":[[161,6]]},"1039":{"position":[[133,8]]},"1044":{"position":[[17,6],[170,6]]},"1048":{"position":[[23,6]]},"1069":{"position":[[102,6],[272,8],[346,7],[413,6]]},"1083":{"position":[[161,7]]},"1085":{"position":[[228,8],[2690,6],[2738,7],[3000,6],[3206,7],[3238,6],[3456,6]]},"1088":{"position":[[648,6]]},"1100":{"position":[[924,6]]},"1106":{"position":[[5,6],[177,6],[282,6],[441,6],[564,7]]},"1109":{"position":[[210,8]]},"1115":{"position":[[888,6]]},"1119":{"position":[[20,7]]},"1124":{"position":[[1012,7],[1179,7]]},"1134":{"position":[[658,6]]},"1138":{"position":[[427,6],[517,6]]},"1150":{"position":[[94,8],[134,7],[525,7]]},"1177":{"position":[[108,7]]},"1185":{"position":[[144,7]]},"1198":{"position":[[1639,8],[1919,6]]},"1204":{"position":[[109,7]]},"1208":{"position":[[1774,7]]},"1222":{"position":[[473,8],[811,8]]},"1230":{"position":[[148,6]]},"1297":{"position":[[300,7]]},"1300":{"position":[[989,8]]},"1304":{"position":[[978,7]]},"1313":{"position":[[643,6],[736,7]]},"1314":{"position":[[458,7]]},"1315":{"position":[[1212,6],[1452,7],[1605,7],[1622,6]]},"1316":{"position":[[1164,7],[2878,7],[3204,8],[3302,7],[3332,7]]},"1317":{"position":[[108,7],[158,7],[291,7],[603,6]]},"1318":{"position":[[920,8],[993,6]]},"1319":{"position":[[21,6],[493,8]]}},"keywords":{}}],["change.assumedmasterstate.myreadonlyfield",{"_index":5973,"title":{},"content":{"1109":{"position":[[266,43]]}},"keywords":{}}],["change.pass",{"_index":3178,"title":{},"content":{"493":{"position":[[424,13]]}},"keywords":{}}],["change.w",{"_index":6560,"title":{},"content":{"1316":{"position":[[2839,9]]}},"keywords":{}}],["changed"",{"_index":5061,"title":{},"content":{"875":{"position":[[9105,13]]}},"keywords":{}}],["changedth",{"_index":5809,"title":{},"content":{"1074":{"position":[[476,10]]}},"keywords":{}}],["changeev",{"_index":5707,"title":{},"content":{"1046":{"position":[[107,12]]}},"keywords":{}}],["changefunct",{"_index":5688,"title":{},"content":{"1042":{"position":[[111,14]]}},"keywords":{}}],["changepoint",{"_index":4988,"title":{},"content":{"875":{"position":[[1557,11]]}},"keywords":{}}],["changer",{"_index":1635,"title":{},"content":{"274":{"position":[[52,7]]},"445":{"position":[[64,7]]}},"keywords":{}}],["changerow",{"_index":5019,"title":{},"content":{"875":{"position":[[4480,10],[4605,9],[4618,12]]}},"keywords":{}}],["changerow.assumedmasterst",{"_index":5024,"title":{},"content":{"875":{"position":[[4748,29],[4810,28]]}},"keywords":{}}],["changerow.assumedmasterstate.updatedat",{"_index":5026,"title":{},"content":{"875":{"position":[[5059,38]]}},"keywords":{}}],["changerow.newdocumentst",{"_index":5029,"title":{},"content":{"875":{"position":[[5272,26]]}},"keywords":{}}],["changerow.newdocumentstate.id",{"_index":5023,"title":{},"content":{"875":{"position":[[4684,32],[5240,31],[5377,30]]}},"keywords":{}}],["changerow.newdocumentstate.updatedat",{"_index":5032,"title":{},"content":{"875":{"position":[[5419,36]]}},"keywords":{}}],["changes.handl",{"_index":1972,"title":{},"content":{"346":{"position":[[317,14]]}},"keywords":{}}],["changes.multi",{"_index":1925,"title":{},"content":{"323":{"position":[[506,13]]}},"keywords":{}}],["changes.multiinst",{"_index":5392,"title":{},"content":{"964":{"position":[[345,21]]}},"keywords":{}}],["changes.no",{"_index":2059,"title":{},"content":{"358":{"position":[[326,10]]}},"keywords":{}}],["changes.offlin",{"_index":3483,"title":{},"content":{"575":{"position":[[309,15]]}},"keywords":{}}],["changes.y",{"_index":6542,"title":{},"content":{"1316":{"position":[[560,11]]}},"keywords":{}}],["changesschema",{"_index":3697,"title":{},"content":{"631":{"position":[[298,13]]}},"keywords":{}}],["changestream",{"_index":282,"title":{},"content":{"16":{"position":[[567,13]]},"23":{"position":[[433,12]]},"698":{"position":[[1021,12],[1055,12]]},"781":{"position":[[692,12]]},"846":{"position":[[938,13]]},"872":{"position":[[409,12],[1176,13]]},"1135":{"position":[[39,13],[315,12]]}},"keywords":{}}],["changestreampreandpostimag",{"_index":4952,"title":{},"content":{"872":{"position":[[1082,29],[1190,28]]}},"keywords":{}}],["changes—perfect",{"_index":3430,"title":{},"content":{"562":{"position":[[987,15]]}},"keywords":{}}],["changevalid",{"_index":5951,"title":{},"content":{"1104":{"position":[[242,16],[484,16]]},"1106":{"position":[[754,16]]},"1109":{"position":[[146,16]]}},"keywords":{}}],["changevalidatormust",{"_index":5959,"title":{},"content":{"1105":{"position":[[1063,19]]}},"keywords":{}}],["channel",{"_index":2638,"title":{},"content":{"411":{"position":[[5107,8]]},"611":{"position":[[48,7]]},"617":{"position":[[2236,7]]},"743":{"position":[[54,7]]},"1126":{"position":[[498,7]]},"1218":{"position":[[48,7]]},"1246":{"position":[[774,8]]}},"keywords":{}}],["channels.th",{"_index":5252,"title":{},"content":{"903":{"position":[[468,12]]}},"keywords":{}}],["channelsconflict",{"_index":5184,"title":{},"content":{"896":{"position":[[253,16]]}},"keywords":{}}],["char",{"_index":4138,"title":{},"content":{"749":{"position":[[377,4]]}},"keywords":{}}],["charact",{"_index":2354,"title":{},"content":{"397":{"position":[[233,11]]},"523":{"position":[[462,11]]},"863":{"position":[[42,10]]},"963":{"position":[[163,11]]}},"keywords":{}}],["character={charact",{"_index":3278,"title":{},"content":{"523":{"position":[[704,21]]}},"keywords":{}}],["characterist",{"_index":960,"title":{"360":{"position":[[4,16]]}},"content":{"70":{"position":[[105,15]]},"566":{"position":[[1,14]]},"828":{"position":[[495,15]]},"841":{"position":[[1,14]]}},"keywords":{}}],["characteristics.anomali",{"_index":2202,"title":{},"content":{"390":{"position":[[1451,23]]}},"keywords":{}}],["characters.map((charact",{"_index":3276,"title":{},"content":{"523":{"position":[[647,27]]}},"keywords":{}}],["characters.th",{"_index":4912,"title":{},"content":{"863":{"position":[[176,14]]}},"keywords":{}}],["charg",{"_index":1555,"title":{},"content":{"251":{"position":[[143,8]]}},"keywords":{}}],["chart",{"_index":4085,"title":{},"content":{"736":{"position":[[102,7]]},"772":{"position":[[2545,5]]}},"keywords":{}}],["chat",{"_index":1158,"title":{},"content":{"151":{"position":[[383,4]]},"267":{"position":[[110,4],[266,4],[458,4],[1476,4]]},"296":{"position":[[80,4]]},"318":{"position":[[549,4]]},"353":{"position":[[703,4]]},"375":{"position":[[596,4]]},"379":{"position":[[221,4]]},"415":{"position":[[120,5]]},"418":{"position":[[118,4]]},"483":{"position":[[945,4]]},"491":{"position":[[1805,6]]},"497":{"position":[[41,4]]},"572":{"position":[[109,4]]},"611":{"position":[[304,5]]},"624":{"position":[[797,4]]},"696":{"position":[[416,4]]},"749":{"position":[[86,4],[433,4],[560,4],[651,4],[804,4],[941,4],[1076,4],[1300,4],[1388,4],[1537,4],[1640,4],[1737,4],[1854,4],[1980,4],[2083,4],[2189,4],[2283,4],[2376,4],[2461,4],[2578,4],[2819,4],[2932,4],[3165,4],[3285,4],[3641,4],[3838,4],[3925,4],[3997,4],[4112,4],[4228,4],[4350,4],[4527,4],[4601,4],[4708,4],[4843,4],[4975,4],[5127,4],[5229,4],[5341,4],[5548,4],[6056,4],[6192,4],[6328,4],[6447,4],[6589,4],[6701,4],[6816,4],[6940,4],[7048,4],[7167,4],[7291,4],[7474,4],[7554,4],[7631,4],[7730,4],[7834,4],[7929,4],[8029,4],[8123,4],[8221,4],[8329,4],[8424,4],[8524,4],[8646,4],[8723,4],[8897,4],[9047,4],[9205,4],[9496,4],[9641,4],[9725,4],[9813,4],[9920,4],[10034,4],[10152,4],[10261,4],[10366,4],[10454,4],[10577,4],[10681,4],[10787,4],[10878,4],[10960,4],[11098,4],[11239,4],[11350,4],[11449,4],[11525,4],[11670,4],[11767,4],[11876,4],[12177,4],[12268,4],[12395,4],[12476,4],[12549,4],[12764,4],[12873,4],[12950,4],[13059,4],[13176,4],[13250,4],[13370,4],[13499,4],[13622,4],[13745,4],[13843,4],[13987,4],[14070,4],[14164,4],[14276,4],[14361,4],[14557,4],[14639,4],[14754,4],[14910,4],[15121,4],[15280,4],[15455,4],[15587,4],[15721,4],[15853,4],[15988,4],[16090,4],[16238,4],[16357,4],[16479,4],[16628,4],[16821,4],[16910,4],[17016,4],[17139,4],[17288,4],[17397,4],[17513,4],[17631,4],[17754,4],[17863,4],[17984,4],[18106,4],[18203,4],[18303,4],[18485,4],[18579,4],[18698,4],[18802,4],[18908,4],[19011,4],[19105,4],[19307,4],[19435,4],[19561,4],[19676,4],[19777,4],[19869,4],[19993,4],[20111,4],[20268,4],[20434,4],[20535,4],[20702,4],[20839,4],[21012,4],[21296,4],[21450,4],[21713,4],[22015,4],[22135,4],[22219,4],[22337,4],[22444,4],[22564,4],[22704,4],[22833,4],[22993,4],[23186,4],[23312,4],[23444,4],[23577,4],[23768,4],[23950,4],[24070,4],[24231,4],[24361,4],[24441,4]]},"783":{"position":[[335,4]]},"824":{"position":[[394,5]]},"899":{"position":[[441,4]]}},"keywords":{}}],["cheaper",{"_index":2582,"title":{},"content":{"409":{"position":[[45,7]]}},"keywords":{}}],["check",{"_index":993,"title":{"300":{"position":[[0,8]]},"761":{"position":[[16,5]]}},"content":{"84":{"position":[[79,5]]},"114":{"position":[[92,5]]},"149":{"position":[[92,5]]},"188":{"position":[[2499,5]]},"253":{"position":[[72,5]]},"263":{"position":[[380,5]]},"306":{"position":[[15,8]]},"347":{"position":[[92,5]]},"362":{"position":[[1163,5]]},"404":{"position":[[251,5]]},"412":{"position":[[4896,5]]},"489":{"position":[[213,5]]},"491":{"position":[[1928,5]]},"495":{"position":[[650,5]]},"498":{"position":[[228,5]]},"511":{"position":[[92,5]]},"531":{"position":[[92,5]]},"557":{"position":[[138,5]]},"566":{"position":[[521,6]]},"567":{"position":[[845,5]]},"591":{"position":[[92,5]]},"628":{"position":[[1,5]]},"679":{"position":[[309,5]]},"683":{"position":[[607,5]]},"710":{"position":[[2510,5]]},"752":{"position":[[615,5]]},"761":{"position":[[20,5],[336,5]]},"776":{"position":[[1,5]]},"802":{"position":[[329,6]]},"824":{"position":[[266,5]]},"838":{"position":[[3238,5]]},"841":{"position":[[1221,7]]},"842":{"position":[[65,5]]},"875":{"position":[[4989,5]]},"890":{"position":[[970,5]]},"906":{"position":[[1119,5]]},"913":{"position":[[1,5]]},"943":{"position":[[221,5]]},"1044":{"position":[[127,6]]},"1065":{"position":[[960,6]]},"1090":{"position":[[1104,5]]},"1106":{"position":[[428,5]]},"1228":{"position":[[35,5]]},"1237":{"position":[[188,7]]},"1272":{"position":[[364,5]]},"1298":{"position":[[272,5]]},"1309":{"position":[[820,5]]},"1317":{"position":[[214,5],[514,5],[623,5]]}},"keywords":{}}],["check'",{"_index":5902,"title":{},"content":{"1085":{"position":[[3179,7]]}},"keywords":{}}],["check.j",{"_index":4509,"title":{},"content":{"761":{"position":[[655,10],[778,10]]}},"keywords":{}}],["checkout",{"_index":3194,"title":{},"content":{"496":{"position":[[522,10]]}},"keywords":{}}],["checkpoint",{"_index":3684,"title":{"984":{"position":[[0,10]]}},"content":{"626":{"position":[[684,10],[1016,10]]},"632":{"position":[[121,10]]},"647":{"position":[[109,10],[506,10]]},"756":{"position":[[375,10],[450,11]]},"875":{"position":[[1457,11],[1473,10],[1828,10],[1849,11],[2850,11],[3500,11],[4575,11],[8338,11],[9286,10]]},"885":{"position":[[89,10],[237,11],[721,10],[808,11],[820,10],[868,11],[2451,10],[2619,11]]},"886":{"position":[[131,10],[388,12],[453,10],[503,13],[519,10],[659,12],[733,10],[824,11],[3648,10]]},"888":{"position":[[189,11],[302,10],[852,10],[935,10],[1075,11]]},"897":{"position":[[159,10]]},"898":{"position":[[3774,10]]},"983":{"position":[[214,10],[306,11],[335,10],[801,10]]},"984":{"position":[[72,10],[144,10],[219,10],[366,11],[471,11],[493,10],[531,11]]},"985":{"position":[[240,11],[398,10],[687,10]]},"986":{"position":[[323,11],[1312,10]]},"988":{"position":[[4172,10],[4257,10],[4306,11],[5483,11],[6008,11]]},"996":{"position":[[57,10]]},"1002":{"position":[[244,11],[277,10],[408,12],[645,12],[860,10],[952,10],[1299,12]]},"1008":{"position":[[60,14]]},"1020":{"position":[[217,10]]},"1294":{"position":[[669,10],[1240,11]]},"1296":{"position":[[1257,11]]}},"keywords":{}}],["checkpoint')).json",{"_index":5542,"title":{},"content":{"1002":{"position":[[1052,21]]}},"keywords":{}}],["checkpointinput",{"_index":5118,"title":{},"content":{"886":{"position":[[604,16]]}},"keywords":{}}],["checkpointornul",{"_index":5007,"title":{},"content":{"875":{"position":[[3204,16],[3266,16]]}},"keywords":{}}],["checkpointornull.id",{"_index":5009,"title":{},"content":{"875":{"position":[[3285,19]]}},"keywords":{}}],["checkpointornull.updatedat",{"_index":5008,"title":{},"content":{"875":{"position":[[3223,26]]}},"keywords":{}}],["childpath",{"_index":4270,"title":{},"content":{"749":{"position":[[10500,9]]}},"keywords":{}}],["chip",{"_index":3464,"title":{},"content":{"569":{"position":[[885,4]]}},"keywords":{}}],["choic",{"_index":560,"title":{},"content":{"35":{"position":[[511,6]]},"64":{"position":[[179,6]]},"67":{"position":[[87,6]]},"71":{"position":[[22,6]]},"83":{"position":[[212,6]]},"98":{"position":[[102,6]]},"102":{"position":[[33,6]]},"118":{"position":[[355,6]]},"161":{"position":[[85,7]]},"174":{"position":[[154,7],[1469,6]]},"175":{"position":[[658,6]]},"179":{"position":[[222,6]]},"186":{"position":[[357,6]]},"207":{"position":[[271,7]]},"238":{"position":[[291,7]]},"241":{"position":[[654,6]]},"265":{"position":[[855,6]]},"267":{"position":[[246,6],[1415,6]]},"279":{"position":[[103,6]]},"287":{"position":[[745,6]]},"290":{"position":[[194,6]]},"353":{"position":[[463,6]]},"354":{"position":[[1573,7]]},"365":{"position":[[1274,7]]},"366":{"position":[[410,6]]},"371":{"position":[[264,6]]},"387":{"position":[[431,6]]},"435":{"position":[[327,6]]},"441":{"position":[[156,6]]},"445":{"position":[[905,6]]},"446":{"position":[[46,6]]},"500":{"position":[[327,6]]},"624":{"position":[[480,6],[771,6]]},"640":{"position":[[106,7]]},"1085":{"position":[[1838,6]]},"1198":{"position":[[1512,6]]}},"keywords":{}}],["choos",{"_index":1110,"title":{"364":{"position":[[4,6]]},"418":{"position":[[8,6]]},"441":{"position":[[12,8]]},"473":{"position":[[4,6]]},"690":{"position":[[8,6]]}},"content":{"131":{"position":[[913,6]]},"146":{"position":[[283,6]]},"162":{"position":[[760,6]]},"174":{"position":[[3152,6]]},"178":{"position":[[292,8]]},"189":{"position":[[653,8]]},"202":{"position":[[87,6]]},"247":{"position":[[139,8]]},"266":{"position":[[379,6]]},"278":{"position":[[18,8]]},"393":{"position":[[384,6]]},"401":{"position":[[896,8]]},"483":{"position":[[190,8]]},"489":{"position":[[151,6]]},"496":{"position":[[325,8],[594,6]]},"524":{"position":[[103,6]]},"581":{"position":[[610,6]]},"640":{"position":[[425,8]]},"707":{"position":[[380,8]]},"759":{"position":[[1495,8]]},"1147":{"position":[[371,6]]},"1294":{"position":[[1912,8]]}},"keywords":{}}],["chosen",{"_index":1667,"title":{},"content":{"286":{"position":[[366,6]]},"369":{"position":[[1425,6]]},"798":{"position":[[874,6]]},"1066":{"position":[[680,6]]}},"keywords":{}}],["chrome",{"_index":1706,"title":{},"content":{"298":{"position":[[155,7],[459,6]]},"299":{"position":[[1026,6],[1052,6]]},"301":{"position":[[448,6]]},"404":{"position":[[273,6]]},"408":{"position":[[970,6]]},"439":{"position":[[30,6],[662,6]]},"458":{"position":[[933,7]]},"462":{"position":[[338,6]]},"470":{"position":[[571,7]]},"696":{"position":[[1285,6]]},"707":{"position":[[226,6]]},"709":{"position":[[32,6]]},"1207":{"position":[[113,7]]},"1292":{"position":[[100,6]]},"1301":{"position":[[1011,7]]}},"keywords":{}}],["chrome.storage.local.get('foobar",{"_index":2929,"title":{},"content":{"439":{"position":[[743,35]]}},"keywords":{}}],["chrome.storage.local.set",{"_index":2926,"title":{},"content":{"439":{"position":[[675,26]]}},"keywords":{}}],["chrome/chromium/edg",{"_index":3016,"title":{},"content":{"461":{"position":[[787,21]]}},"keywords":{}}],["chrome://gpu",{"_index":2501,"title":{},"content":{"404":{"position":[[307,14]]}},"keywords":{}}],["chrome’",{"_index":1727,"title":{},"content":{"298":{"position":[[757,8]]},"299":{"position":[[758,8]]},"301":{"position":[[668,8]]}},"keywords":{}}],["chromium",{"_index":1718,"title":{},"content":{"298":{"position":[[471,8]]},"299":{"position":[[858,8]]},"450":{"position":[[767,8]]},"455":{"position":[[940,9]]},"461":{"position":[[1152,8]]},"617":{"position":[[1750,8]]},"1208":{"position":[[527,8]]},"1214":{"position":[[199,10]]},"1297":{"position":[[1,8]]}},"keywords":{}}],["chunk",{"_index":1850,"title":{"1008":{"position":[[29,6]]}},"content":{"303":{"position":[[1213,5]]},"411":{"position":[[81,6]]},"412":{"position":[[7177,5]]},"556":{"position":[[1206,6]]},"981":{"position":[[1024,5]]},"1007":{"position":[[313,5],[399,5],[410,5],[464,6],[801,5],[885,5],[928,5],[1333,5],[2047,7]]},"1008":{"position":[[186,5],[318,6]]},"1009":{"position":[[549,5]]},"1239":{"position":[[278,6]]}},"keywords":{}}],["chunk'",{"_index":5559,"title":{},"content":{"1007":{"position":[[528,7],[763,7]]}},"keywords":{}}],["chunkid",{"_index":5557,"title":{},"content":{"1007":{"position":[[143,8],[1189,7],[1343,8]]}},"keywords":{}}],["ci",{"_index":3837,"title":{},"content":{"670":{"position":[[79,2]]},"730":{"position":[[37,2]]}},"keywords":{}}],["ciphertext",{"_index":3360,"title":{},"content":{"555":{"position":[[846,10]]}},"keywords":{}}],["circular",{"_index":5667,"title":{},"content":{"1033":{"position":[[984,8]]}},"keywords":{}}],["circumst",{"_index":6538,"title":{},"content":{"1316":{"position":[[365,13]]}},"keywords":{}}],["circumv",{"_index":1853,"title":{},"content":{"303":{"position":[[1288,10]]},"624":{"position":[[277,13]]}},"keywords":{}}],["cite",{"_index":1742,"title":{},"content":{"299":{"position":[[300,5]]}},"keywords":{}}],["citi",{"_index":6528,"title":{},"content":{"1315":{"position":[[215,6],[233,4],[393,4],[1413,4]]}},"keywords":{}}],["citizen",{"_index":3910,"title":{},"content":{"690":{"position":[[488,8]]}},"keywords":{}}],["city.id",{"_index":6533,"title":{},"content":{"1315":{"position":[[465,8]]}},"keywords":{}}],["city.nam",{"_index":6531,"title":{},"content":{"1315":{"position":[[404,9]]}},"keywords":{}}],["city_id",{"_index":6529,"title":{},"content":{"1315":{"position":[[272,8]]}},"keywords":{}}],["citydocu",{"_index":6534,"title":{},"content":{"1315":{"position":[[554,12]]}},"keywords":{}}],["cj",{"_index":4510,"title":{},"content":{"761":{"position":[[696,3]]}},"keywords":{}}],["claim",{"_index":102,"title":{},"content":{"8":{"position":[[37,6]]},"38":{"position":[[107,6]]}},"keywords":{}}],["clariti",{"_index":2078,"title":{},"content":{"360":{"position":[[739,8]]},"690":{"position":[[589,8]]},"1132":{"position":[[528,7]]}},"keywords":{}}],["clash",{"_index":1886,"title":{},"content":{"312":{"position":[[301,8]]},"1084":{"position":[[620,5]]}},"keywords":{}}],["class",{"_index":3767,"title":{},"content":{"655":{"position":[[192,5]]},"690":{"position":[[482,5]]},"805":{"position":[[173,5]]},"806":{"position":[[46,5]]},"825":{"position":[[895,5]]},"837":{"position":[[1463,5]]},"979":{"position":[[165,6]]},"1084":{"position":[[535,5]]},"1085":{"position":[[1906,5],[1953,5]]}},"keywords":{}}],["claus",{"_index":6576,"title":{},"content":{"1323":{"position":[[124,7]]}},"keywords":{}}],["clean",{"_index":1143,"title":{},"content":{"145":{"position":[[56,5]]},"346":{"position":[[465,5]]},"461":{"position":[[503,5],[585,7]]},"562":{"position":[[1398,5]]},"590":{"position":[[506,5]]},"612":{"position":[[2368,5]]},"660":{"position":[[144,5]]},"662":{"position":[[733,7]]},"697":{"position":[[239,5]]},"773":{"position":[[402,6]]},"816":{"position":[[27,8]]},"829":{"position":[[3764,7]]},"997":{"position":[[83,7]]},"1009":{"position":[[1054,5]]},"1266":{"position":[[631,6]]},"1311":{"position":[[1817,5]]}},"keywords":{}}],["cleanup",{"_index":1814,"title":{"651":{"position":[[3,7]]},"653":{"position":[[23,7]]},"654":{"position":[[8,7]]},"655":{"position":[[10,7]]},"1119":{"position":[[0,7]]}},"content":{"302":{"position":[[935,7]]},"522":{"position":[[745,7]]},"653":{"position":[[24,7],[456,8],[723,7],[848,7],[873,7],[1282,7],[1434,8]]},"654":{"position":[[24,7],[107,7]]},"655":{"position":[[343,7]]},"656":{"position":[[15,7],[31,7],[227,7],[468,7]]},"746":{"position":[[818,8]]},"793":{"position":[[1097,7]]},"960":{"position":[[640,7]]},"975":{"position":[[206,8]]},"1047":{"position":[[215,7]]},"1119":{"position":[[311,7]]},"1186":{"position":[[8,8]]}},"keywords":{}}],["cleanuppolici",{"_index":3263,"title":{},"content":{"522":{"position":[[711,14]]},"653":{"position":[[327,14]]},"654":{"position":[[154,14]]},"960":{"position":[[606,14]]}},"keywords":{}}],["clear",{"_index":1656,"title":{},"content":{"281":{"position":[[257,5]]},"300":{"position":[[590,8]]},"302":{"position":[[504,5]]},"305":{"position":[[69,5]]},"335":{"position":[[323,5]]},"412":{"position":[[8051,5]]},"425":{"position":[[201,6],[486,8]]},"439":{"position":[[177,5],[230,5]]},"451":{"position":[[227,5],[825,8],[863,7]]},"495":{"position":[[441,5]]},"815":{"position":[[84,6]]},"977":{"position":[[146,5],[493,5]]},"1119":{"position":[[266,5]]},"1198":{"position":[[352,5]]}},"keywords":{}}],["clearer",{"_index":2811,"title":{},"content":{"419":{"position":[[1505,7]]}},"keywords":{}}],["clearinterval(intervalid",{"_index":3612,"title":{},"content":{"612":{"position":[[2434,26]]}},"keywords":{}}],["clearli",{"_index":6281,"title":{},"content":{"1237":{"position":[[327,7]]}},"keywords":{}}],["clever",{"_index":6563,"title":{},"content":{"1316":{"position":[[3481,6]]}},"keywords":{}}],["cli",{"_index":324,"title":{},"content":{"19":{"position":[[273,3]]},"899":{"position":[[345,3]]},"1133":{"position":[[33,3]]}},"keywords":{}}],["click",{"_index":3158,"title":{},"content":{"489":{"position":[[376,8]]},"703":{"position":[[1411,5]]},"778":{"position":[[530,7]]},"785":{"position":[[105,8]]},"1313":{"position":[[584,6]]}},"keywords":{}}],["client",{"_index":205,"title":{"132":{"position":[[37,7]]},"163":{"position":[[37,7]]},"190":{"position":[[37,7]]},"271":{"position":[[22,6]]},"278":{"position":[[30,6]]},"288":{"position":[[38,7]]},"294":{"position":[[15,6]]},"337":{"position":[[37,7]]},"501":{"position":[[22,6]]},"525":{"position":[[37,7]]},"582":{"position":[[37,7]]},"626":{"position":[[2,6]]},"702":{"position":[[24,6]]},"872":{"position":[[15,6]]},"874":{"position":[[46,7]]},"886":{"position":[[5,7]]},"902":{"position":[[45,6]]},"912":{"position":[[37,6]]}},"content":{"14":{"position":[[146,6],[560,7]]},"16":{"position":[[70,6]]},"19":{"position":[[95,6]]},"20":{"position":[[72,6],[170,6],[232,6]]},"21":{"position":[[16,6]]},"22":{"position":[[319,6]]},"37":{"position":[[153,7]]},"38":{"position":[[17,6],[301,6]]},"41":{"position":[[228,7],[322,6]]},"42":{"position":[[139,6]]},"43":{"position":[[469,6],[577,6]]},"45":{"position":[[45,6]]},"46":{"position":[[461,6],[678,6]]},"99":{"position":[[95,6],[109,6]]},"110":{"position":[[78,6]]},"120":{"position":[[11,6]]},"123":{"position":[[61,7],[284,8]]},"134":{"position":[[60,7]]},"135":{"position":[[82,6],[192,7]]},"136":{"position":[[151,7]]},"139":{"position":[[146,6]]},"147":{"position":[[48,7]]},"151":{"position":[[252,7]]},"153":{"position":[[42,6],[399,7]]},"157":{"position":[[176,6]]},"158":{"position":[[57,7],[237,8],[301,6]]},"164":{"position":[[398,8]]},"165":{"position":[[102,7]]},"172":{"position":[[34,6],[150,6],[320,6]]},"173":{"position":[[1349,6],[1981,6],[2581,6]]},"174":{"position":[[2072,6],[2139,6]]},"181":{"position":[[11,6],[325,7]]},"184":{"position":[[177,7]]},"190":{"position":[[86,7]]},"192":{"position":[[104,7]]},"201":{"position":[[127,6]]},"203":{"position":[[343,7]]},"208":{"position":[[67,6]]},"210":{"position":[[635,6],[741,6]]},"212":{"position":[[489,6]]},"224":{"position":[[134,6]]},"226":{"position":[[88,6]]},"240":{"position":[[62,6]]},"248":{"position":[[28,6]]},"249":{"position":[[368,6]]},"261":{"position":[[153,7],[408,7]]},"267":{"position":[[400,7]]},"271":{"position":[[110,6],[219,6]]},"278":{"position":[[64,6]]},"279":{"position":[[146,7]]},"280":{"position":[[33,6]]},"288":{"position":[[36,7],[290,7]]},"289":{"position":[[128,7],[565,7],[801,6]]},"293":{"position":[[40,6]]},"320":{"position":[[218,6]]},"321":{"position":[[156,7],[509,6]]},"325":{"position":[[11,6]]},"328":{"position":[[117,7]]},"339":{"position":[[17,7]]},"340":{"position":[[46,6],[82,7]]},"359":{"position":[[71,6]]},"367":{"position":[[193,6]]},"369":{"position":[[1077,7]]},"407":{"position":[[69,6]]},"408":{"position":[[107,6],[449,6],[775,7],[2750,6],[2816,7],[3733,7],[4371,6],[4451,6],[5171,8],[5300,6]]},"410":{"position":[[680,6],[1389,6],[1772,8]]},"411":{"position":[[484,6],[1229,6],[1408,6],[4021,7]]},"412":{"position":[[940,6],[1079,6],[2139,6],[2301,7],[4349,6],[4390,6],[6729,7],[6831,7],[8919,6],[9013,6],[9311,7],[10392,6],[10516,6],[10992,7],[11000,6],[11366,7],[11433,7],[11860,6],[12171,6],[12874,6],[13144,6],[13444,6],[13817,7],[13893,7],[14262,6],[14420,6],[14742,7],[14992,6]]},"416":{"position":[[92,7],[391,7]]},"419":{"position":[[826,6]]},"434":{"position":[[35,6]]},"435":{"position":[[52,6]]},"450":{"position":[[352,6]]},"454":{"position":[[306,6]]},"455":{"position":[[88,6],[205,6]]},"473":{"position":[[67,6]]},"477":{"position":[[170,6]]},"478":{"position":[[61,6],[198,7]]},"479":{"position":[[85,6]]},"491":{"position":[[451,7],[739,8],[1344,7],[1603,7]]},"495":{"position":[[767,6],[820,6]]},"496":{"position":[[846,6]]},"501":{"position":[[97,6]]},"502":{"position":[[80,6],[375,6]]},"504":{"position":[[571,7],[647,7],[849,7],[973,7],[1380,7]]},"514":{"position":[[240,7]]},"517":{"position":[[104,7],[299,6]]},"525":{"position":[[91,6],[311,6],[480,7]]},"534":{"position":[[473,6],[636,6]]},"570":{"position":[[346,7],[444,6],[509,7],[818,8]]},"571":{"position":[[28,6],[495,7]]},"575":{"position":[[152,6]]},"582":{"position":[[502,7]]},"594":{"position":[[471,6],[634,6]]},"610":{"position":[[64,6],[242,6],[477,7],[570,6],[897,6],[1247,6],[1439,6],[1569,6],[1635,6]]},"611":{"position":[[105,6],[620,6]]},"612":{"position":[[79,6],[187,7],[291,6],[613,7],[701,6]]},"613":{"position":[[98,7]]},"614":{"position":[[563,6],[570,6],[629,6],[695,7]]},"616":{"position":[[117,6],[431,6]]},"617":{"position":[[109,6],[613,6],[1090,6],[2314,8]]},"618":{"position":[[628,8]]},"621":{"position":[[249,6],[584,6]]},"622":{"position":[[128,6],[266,7],[380,6]]},"623":{"position":[[266,7]]},"624":{"position":[[28,6],[533,6]]},"626":{"position":[[8,6],[139,7],[485,6],[582,6],[786,6],[916,6],[943,6],[1052,6],[1137,7]]},"628":{"position":[[136,6]]},"632":{"position":[[199,6],[534,7],[2733,6]]},"634":{"position":[[120,7]]},"635":{"position":[[64,7]]},"661":{"position":[[1716,7],[1778,7]]},"663":{"position":[[126,6]]},"683":{"position":[[391,6]]},"696":{"position":[[94,7],[634,6],[1790,7]]},"697":{"position":[[439,6]]},"698":{"position":[[116,7],[720,7],[1555,7],[1659,7],[1751,6],[1873,8],[2713,7]]},"699":{"position":[[36,7],[411,7],[769,6]]},"700":{"position":[[111,7],[139,6],[298,8]]},"702":{"position":[[663,6],[752,7]]},"704":{"position":[[160,6],[593,7]]},"705":{"position":[[792,7],[1409,7]]},"711":{"position":[[2158,6]]},"712":{"position":[[145,6]]},"736":{"position":[[463,7]]},"749":{"position":[[16389,7],[16519,7],[16652,6],[16728,6]]},"756":{"position":[[333,8]]},"780":{"position":[[588,6]]},"781":{"position":[[316,7],[346,6],[431,6]]},"782":{"position":[[385,7]]},"783":{"position":[[352,8],[656,6]]},"784":{"position":[[194,6],[485,7],[643,7],[778,6]]},"836":{"position":[[2423,6]]},"837":{"position":[[300,6]]},"839":{"position":[[1276,7]]},"840":{"position":[[70,7],[294,7]]},"842":{"position":[[260,6]]},"844":{"position":[[217,7]]},"860":{"position":[[249,6],[703,7],[1042,6],[1242,6],[1251,6],[1260,6]]},"861":{"position":[[1746,8],[2460,7]]},"862":{"position":[[63,6],[457,6],[921,7],[962,6],[975,9],[1204,7]]},"863":{"position":[[631,7]]},"871":{"position":[[51,7],[166,7],[185,6],[231,6],[421,8],[486,6],[512,6],[521,6]]},"872":{"position":[[15,6],[3056,6],[3593,6],[3626,6],[4002,8]]},"875":{"position":[[37,7],[772,7],[2922,6],[3588,6],[6087,7],[6787,6],[7021,7],[7138,7],[7786,6],[7918,7],[7930,6],[8554,6],[9066,6],[9132,6]]},"876":{"position":[[86,7],[207,6],[337,6],[576,7],[615,6]]},"879":{"position":[[162,7],[300,6],[422,6],[500,6]]},"880":{"position":[[10,7],[118,6],[140,6]]},"881":{"position":[[10,6],[287,6]]},"885":{"position":[[402,6]]},"890":{"position":[[1045,6]]},"893":{"position":[[301,6]]},"896":{"position":[[53,6]]},"897":{"position":[[1,6],[19,6],[28,6],[40,7],[99,7],[548,7]]},"898":{"position":[[483,7],[634,7],[712,6],[2158,6],[2724,7],[2755,6],[2917,8],[2967,6],[3224,6],[3363,7]]},"901":{"position":[[677,6]]},"902":{"position":[[84,6]]},"903":{"position":[[190,8],[720,6]]},"904":{"position":[[139,8],[1941,7]]},"908":{"position":[[98,7]]},"912":{"position":[[38,6]]},"981":{"position":[[799,6],[923,6],[1096,6],[1248,6],[1667,6]]},"982":{"position":[[278,6],[330,6],[363,6],[460,6],[556,7],[572,6],[719,6],[785,7]]},"983":{"position":[[433,6],[448,6],[931,6]]},"984":{"position":[[43,6]]},"985":{"position":[[11,6],[125,7],[430,6],[605,6],[636,6]]},"987":{"position":[[15,7],[262,6],[524,6],[849,7]]},"988":{"position":[[4999,6],[5838,6],[6046,6]]},"990":{"position":[[1046,6],[1351,6]]},"991":{"position":[[15,6],[72,6],[212,7]]},"995":{"position":[[1337,7]]},"996":{"position":[[88,6],[205,6],[358,6],[423,6]]},"1005":{"position":[[135,7]]},"1032":{"position":[[204,6]]},"1072":{"position":[[140,6],[685,6],[1234,6]]},"1088":{"position":[[214,7]]},"1100":{"position":[[878,6],[1012,8]]},"1101":{"position":[[33,7],[184,6],[600,7]]},"1102":{"position":[[737,6],[831,6],[923,6]]},"1104":{"position":[[206,6],[621,6]]},"1105":{"position":[[88,6],[1003,7]]},"1106":{"position":[[122,7],[161,7],[365,7]]},"1107":{"position":[[1071,6]]},"1108":{"position":[[126,8],[135,7],[366,8]]},"1109":{"position":[[81,7]]},"1112":{"position":[[242,6]]},"1123":{"position":[[620,6]]},"1124":{"position":[[1293,6],[1360,6]]},"1133":{"position":[[26,6],[256,6]]},"1196":{"position":[[10,6],[130,6]]},"1198":{"position":[[98,6],[1691,7]]},"1206":{"position":[[521,6]]},"1218":{"position":[[278,6]]},"1220":{"position":[[393,6]]},"1249":{"position":[[299,6]]},"1250":{"position":[[369,6]]},"1260":{"position":[[22,7]]},"1295":{"position":[[486,6]]},"1301":{"position":[[353,6],[515,6]]},"1304":{"position":[[1058,7],[1293,8],[1312,6],[1384,7],[1688,7]]},"1305":{"position":[[125,6]]},"1308":{"position":[[46,7],[295,6],[498,6]]},"1314":{"position":[[316,7],[391,6],[565,6]]},"1316":{"position":[[193,6],[288,7],[1074,7],[1142,6],[1928,7],[1936,6],[2016,6],[2139,6],[2181,7],[2359,6],[2640,8],[2670,7],[2771,6],[2859,7],[3040,6],[3140,6]]},"1317":{"position":[[19,6],[141,6]]},"1318":{"position":[[140,7]]},"1319":{"position":[[619,6],[677,6]]},"1321":{"position":[[51,6]]},"1324":{"position":[[56,6],[545,7],[754,8]]}},"keywords":{}}],["client'",{"_index":1403,"title":{},"content":{"220":{"position":[[72,8]]},"270":{"position":[[275,8]]},"273":{"position":[[155,8]]},"280":{"position":[[195,8]]},"294":{"position":[[125,8]]},"392":{"position":[[4932,8]]},"412":{"position":[[11250,8]]},"630":{"position":[[255,8]]},"708":{"position":[[289,8]]},"1314":{"position":[[226,8]]}},"keywords":{}}],["client.delet",{"_index":5550,"title":{},"content":{"1004":{"position":[[481,14]]}},"keywords":{}}],["client.j",{"_index":6254,"title":{},"content":{"1219":{"position":[[767,9]]}},"keywords":{}}],["client.queri",{"_index":5942,"title":{},"content":{"1102":{"position":[[1033,14]]}},"keywords":{}}],["client.setendpoint('https://cloud.appwrite.io/v1",{"_index":4904,"title":{},"content":{"862":{"position":[[985,51]]}},"keywords":{}}],["client.setproject('your_appwrite_project_id",{"_index":4905,"title":{},"content":{"862":{"position":[[1037,46]]}},"keywords":{}}],["client.subscrib",{"_index":1328,"title":{},"content":{"205":{"position":[[249,16]]}},"keywords":{}}],["client.t",{"_index":4969,"title":{},"content":{"872":{"position":[[3765,9]]},"875":{"position":[[317,9],[3059,9],[6103,9],[8029,9],[8949,9],[9448,9]]},"1101":{"position":[[617,9]]}},"keywords":{}}],["clientopt",{"_index":5141,"title":{},"content":{"886":{"position":[[4465,13]]}},"keywords":{}}],["clients.improv",{"_index":3478,"title":{},"content":{"574":{"position":[[381,16]]}},"keywords":{}}],["clock",{"_index":2771,"title":{},"content":{"412":{"position":[[14634,5]]},"705":{"position":[[1007,5],[1439,6]]},"991":{"position":[[27,6]]},"1304":{"position":[[1151,5]]},"1305":{"position":[[465,7]]},"1316":{"position":[[1899,5],[1948,6],[2036,5],[2120,5]]},"1324":{"position":[[855,6]]}},"keywords":{}}],["clojur",{"_index":624,"title":{},"content":{"39":{"position":[[448,8]]}},"keywords":{}}],["clone",{"_index":3823,"title":{},"content":{"666":{"position":[[151,5]]},"749":{"position":[[11937,7]]},"824":{"position":[[154,5]]},"848":{"position":[[231,5]]},"1052":{"position":[[37,6],[102,7]]},"1108":{"position":[[693,5]]}},"keywords":{}}],["close",{"_index":1726,"title":{"955":{"position":[[0,8]]},"976":{"position":[[0,8]]},"1027":{"position":[[0,8]]}},"content":{"298":{"position":[[744,7]]},"301":{"position":[[383,5]]},"360":{"position":[[65,7]]},"392":{"position":[[2322,6]]},"408":{"position":[[5135,7]]},"424":{"position":[[316,6]]},"451":{"position":[[905,7]]},"458":{"position":[[111,5]]},"468":{"position":[[692,6]]},"610":{"position":[[507,7]]},"611":{"position":[[1247,7]]},"612":{"position":[[2400,6]]},"618":{"position":[[344,7]]},"622":{"position":[[495,7]]},"737":{"position":[[226,7],[272,7]]},"746":{"position":[[833,6]]},"749":{"position":[[8760,6]]},"783":{"position":[[96,5]]},"956":{"position":[[71,6],[292,10]]},"967":{"position":[[19,6],[361,5],[389,7]]},"976":{"position":[[1,6],[159,7],[167,7]]},"988":{"position":[[5647,5]]},"995":{"position":[[342,6],[999,6]]},"1027":{"position":[[168,7]]},"1030":{"position":[[71,6]]},"1174":{"position":[[634,7]]},"1198":{"position":[[744,6]]},"1208":{"position":[[1829,5]]},"1218":{"position":[[212,7],[234,6]]},"1298":{"position":[[205,5]]},"1319":{"position":[[688,5]]}},"keywords":{}}],["closedupl",{"_index":5397,"title":{"967":{"position":[[0,16]]}},"content":{"967":{"position":[[196,16],[314,16]]}},"keywords":{}}],["closest",{"_index":2199,"title":{},"content":{"390":{"position":[[1235,7]]}},"keywords":{}}],["cloud",{"_index":207,"title":{"202":{"position":[[32,6]]},"204":{"position":[[9,5]]},"251":{"position":[[11,5]]},"1148":{"position":[[13,5]]}},"content":{"14":{"position":[[199,5],[597,5],[1027,5]]},"18":{"position":[[247,6]]},"19":{"position":[[1019,5]]},"26":{"position":[[15,5],[125,5],[408,6]]},"36":{"position":[[389,5],[440,5]]},"260":{"position":[[222,5]]},"289":{"position":[[1024,5],[1210,5]]},"410":{"position":[[1596,5]]},"411":{"position":[[5370,5]]},"412":{"position":[[2875,5],[4186,5],[8767,5],[8812,5],[11099,5],[12083,5]]},"414":{"position":[[257,5]]},"417":{"position":[[276,5]]},"418":{"position":[[758,5]]},"444":{"position":[[564,5],[820,5]]},"504":{"position":[[1145,5]]},"839":{"position":[[389,5],[455,6],[910,5],[1301,5]]},"840":{"position":[[18,5],[122,5]]},"841":{"position":[[252,5],[650,7],[811,5]]},"860":{"position":[[1143,5]]},"861":{"position":[[33,5],[101,5],[288,5]]},"862":{"position":[[938,5]]},"872":{"position":[[325,6]]},"896":{"position":[[1,5]]},"1112":{"position":[[305,5]]},"1124":{"position":[[1774,5]]},"1147":{"position":[[162,5],[239,5],[471,5]]},"1148":{"position":[[7,5],[213,5],[263,5],[445,5],[476,5],[512,6],[667,5],[723,5]]}},"keywords":{}}],["cloud.integr",{"_index":1306,"title":{},"content":{"202":{"position":[[175,15]]}},"keywords":{}}],["cloudant",{"_index":422,"title":{"26":{"position":[[0,9]]}},"content":{"26":{"position":[[1,8],[356,8]]}},"keywords":{}}],["cluster",{"_index":4563,"title":{},"content":{"772":{"position":[[240,7],[459,7],[1268,7],[1845,8]]},"865":{"position":[[39,7]]},"870":{"position":[[269,8]]},"871":{"position":[[874,8]]},"1095":{"position":[[189,7],[336,7]]},"1134":{"position":[[256,9],[461,7]]},"1135":{"position":[[88,7],[239,8]]}},"keywords":{}}],["cluster.instal",{"_index":6033,"title":{},"content":{"1133":{"position":[[88,15]]}},"keywords":{}}],["cluster.privaci",{"_index":5242,"title":{},"content":{"902":{"position":[[346,15]]}},"keywords":{}}],["clusterfil",{"_index":4567,"title":{},"content":{"772":{"position":[[861,12]]},"774":{"position":[[789,12]]},"1134":{"position":[[552,12]]}},"keywords":{}}],["co",{"_index":4717,"title":{"822":{"position":[[10,3]]}},"content":{},"keywords":{}}],["coal",{"_index":2585,"title":{},"content":{"409":{"position":[[139,5]]}},"keywords":{}}],["cockroach",{"_index":6580,"title":{},"content":{"1324":{"position":[[817,9]]}},"keywords":{}}],["code",{"_index":125,"title":{"209":{"position":[[7,5]]},"239":{"position":[[27,4]]},"739":{"position":[[0,4]]}},"content":{"8":{"position":[[718,5]]},"27":{"position":[[121,5]]},"29":{"position":[[417,4]]},"35":{"position":[[225,4]]},"38":{"position":[[805,4]]},"47":{"position":[[1330,4]]},"74":{"position":[[102,4]]},"84":{"position":[[205,5]]},"112":{"position":[[48,4]]},"114":{"position":[[218,5]]},"149":{"position":[[218,5]]},"174":{"position":[[2845,4]]},"175":{"position":[[211,5]]},"188":{"position":[[1641,5],[2429,4]]},"198":{"position":[[496,4]]},"207":{"position":[[302,4]]},"228":{"position":[[129,4],[478,4]]},"232":{"position":[[196,4]]},"239":{"position":[[53,4]]},"241":{"position":[[313,5]]},"254":{"position":[[542,5]]},"255":{"position":[[301,4]]},"281":{"position":[[443,4]]},"309":{"position":[[351,4]]},"323":{"position":[[430,4]]},"329":{"position":[[193,4]]},"335":{"position":[[932,4]]},"347":{"position":[[218,5]]},"362":{"position":[[1289,5]]},"369":{"position":[[1483,5]]},"373":{"position":[[313,5]]},"401":{"position":[[443,4]]},"403":{"position":[[283,4]]},"405":{"position":[[50,4]]},"411":{"position":[[1539,4]]},"412":{"position":[[9252,5]]},"425":{"position":[[31,4],[231,4]]},"430":{"position":[[385,4]]},"445":{"position":[[1472,4],[1598,4]]},"453":{"position":[[582,4]]},"454":{"position":[[70,4],[347,4],[652,4]]},"455":{"position":[[456,4]]},"498":{"position":[[342,4]]},"511":{"position":[[218,5]]},"515":{"position":[[199,5],[371,4]]},"522":{"position":[[237,4]]},"524":{"position":[[848,4]]},"531":{"position":[[218,5]]},"535":{"position":[[226,4],[1290,4]]},"563":{"position":[[1082,4]]},"567":{"position":[[476,5],[863,4]]},"591":{"position":[[218,5]]},"595":{"position":[[239,4],[1364,4]]},"610":{"position":[[1485,4]]},"674":{"position":[[260,5]]},"688":{"position":[[484,5]]},"698":{"position":[[1467,4],[1933,5]]},"702":{"position":[[790,4]]},"703":{"position":[[158,4]]},"711":{"position":[[1044,4]]},"714":{"position":[[319,5]]},"728":{"position":[[9,5],[251,5]]},"749":{"position":[[3,5],[91,5],[438,5],[565,5],[656,5],[809,5],[946,5],[1081,5],[1305,5],[1393,5],[1542,5],[1645,5],[1742,5],[1859,5],[1985,5],[2088,5],[2194,5],[2288,5],[2381,5],[2466,5],[2583,5],[2824,5],[2937,5],[3170,5],[3290,5],[3646,5],[3843,5],[3930,5],[4002,5],[4117,5],[4233,5],[4355,5],[4532,5],[4606,5],[4713,5],[4848,5],[4980,5],[5132,5],[5234,5],[5346,5],[5553,5],[5980,4],[6061,5],[6197,5],[6333,5],[6452,5],[6594,5],[6706,5],[6821,5],[6945,5],[7053,5],[7172,5],[7296,5],[7479,5],[7559,5],[7636,5],[7735,5],[7839,5],[7934,5],[8034,5],[8128,5],[8226,5],[8334,5],[8429,5],[8529,5],[8651,5],[8728,5],[8902,5],[9052,5],[9210,5],[9501,5],[9646,5],[9730,5],[9818,5],[9925,5],[10039,5],[10157,5],[10266,5],[10371,5],[10459,5],[10582,5],[10686,5],[10792,5],[10883,5],[10965,5],[11103,5],[11244,5],[11355,5],[11454,5],[11530,5],[11675,5],[11772,5],[11881,5],[12182,5],[12273,5],[12400,5],[12481,5],[12554,5],[12769,5],[12878,5],[12955,5],[13064,5],[13181,5],[13255,5],[13375,5],[13504,5],[13627,5],[13750,5],[13848,5],[13992,5],[14075,5],[14169,5],[14281,5],[14366,5],[14562,5],[14644,5],[14759,5],[14915,5],[15126,5],[15285,5],[15460,5],[15592,5],[15726,5],[15858,5],[15993,5],[16095,5],[16243,5],[16362,5],[16484,5],[16633,5],[16826,5],[16915,5],[17021,5],[17144,5],[17293,5],[17402,5],[17518,5],[17636,5],[17759,5],[17868,5],[17989,5],[18111,5],[18208,5],[18308,5],[18490,5],[18584,5],[18703,5],[18807,5],[18913,5],[19016,5],[19110,5],[19312,5],[19440,5],[19566,5],[19681,5],[19782,5],[19874,5],[19998,5],[20116,5],[20273,5],[20439,5],[20540,5],[20707,5],[20844,5],[21017,5],[21301,5],[21455,5],[21718,5],[22020,5],[22140,5],[22224,5],[22342,5],[22449,5],[22569,5],[22709,5],[22838,5],[22998,5],[23191,5],[23317,5],[23449,5],[23582,5],[23773,5],[23955,5],[24075,5],[24236,5],[24366,5]]},"765":{"position":[[85,5]]},"784":{"position":[[201,4]]},"785":{"position":[[349,4]]},"802":{"position":[[307,4]]},"806":{"position":[[338,4]]},"817":{"position":[[155,4]]},"836":{"position":[[552,4]]},"861":{"position":[[1084,4]]},"862":{"position":[[75,4]]},"876":{"position":[[555,4]]},"904":{"position":[[2501,5]]},"906":{"position":[[1136,4]]},"945":{"position":[[382,4]]},"990":{"position":[[1125,4]]},"995":{"position":[[1436,5]]},"1031":{"position":[[134,4]]},"1071":{"position":[[269,4]]},"1072":{"position":[[533,4],[844,5],[976,4],[1165,5],[1388,4]]},"1124":{"position":[[1311,5],[1392,4]]},"1198":{"position":[[811,4]]},"1251":{"position":[[104,4],[221,4]]},"1272":{"position":[[381,4]]},"1282":{"position":[[545,5]]},"1307":{"position":[[497,4]]}},"keywords":{}}],["code"",{"_index":2620,"title":{},"content":{"411":{"position":[[2476,10]]}},"keywords":{}}],["code.for",{"_index":4719,"title":{},"content":{"824":{"position":[[194,8]]}},"keywords":{}}],["codebas",{"_index":1043,"title":{},"content":{"107":{"position":[[128,9]]},"145":{"position":[[62,9]]},"177":{"position":[[187,9]]},"219":{"position":[[288,9]]},"239":{"position":[[256,8]]},"384":{"position":[[341,9]]},"445":{"position":[[2467,8]]},"446":{"position":[[1325,8]]},"636":{"position":[[426,9]]}},"keywords":{}}],["codesearch",{"_index":4133,"title":{},"content":{"749":{"position":[[56,10],[403,10],[530,10],[621,10],[774,10],[911,10],[1046,10],[1270,10],[1358,10],[1507,10],[1610,10],[1707,10],[1824,10],[1950,10],[2053,10],[2159,10],[2253,10],[2346,10],[2431,10],[2548,10],[2789,10],[2902,10],[3135,10],[3255,10],[3611,10],[3808,10],[3895,10],[3967,10],[4082,10],[4198,10],[4320,10],[4497,10],[4571,10],[4678,10],[4813,10],[4945,10],[5097,10],[5199,10],[5311,10],[5518,10],[6026,10],[6162,10],[6298,10],[6417,10],[6559,10],[6671,10],[6786,10],[6910,10],[7018,10],[7137,10],[7261,10],[7444,10],[7524,10],[7601,10],[7700,10],[7804,10],[7899,10],[7999,10],[8093,10],[8191,10],[8299,10],[8394,10],[8494,10],[8616,10],[8693,10],[8867,10],[9017,10],[9175,10],[9466,10],[9611,10],[9695,10],[9783,10],[9890,10],[10004,10],[10122,10],[10231,10],[10336,10],[10424,10],[10547,10],[10651,10],[10757,10],[10848,10],[10930,10],[11068,10],[11209,10],[11320,10],[11419,10],[11495,10],[11640,10],[11737,10],[11846,10],[12147,10],[12238,10],[12365,10],[12446,10],[12519,10],[12734,10],[12843,10],[12920,10],[13029,10],[13146,10],[13220,10],[13340,10],[13469,10],[13592,10],[13715,10],[13813,10],[13957,10],[14040,10],[14134,10],[14246,10],[14331,10],[14527,10],[14609,10],[14724,10],[14880,10],[15091,10],[15250,10],[15425,10],[15557,10],[15691,10],[15823,10],[15958,10],[16060,10],[16208,10],[16327,10],[16449,10],[16598,10],[16791,10],[16880,10],[16986,10],[17109,10],[17258,10],[17367,10],[17483,10],[17601,10],[17724,10],[17833,10],[17954,10],[18076,10],[18173,10],[18273,10],[18455,10],[18549,10],[18668,10],[18772,10],[18878,10],[18981,10],[19075,10],[19277,10],[19405,10],[19531,10],[19646,10],[19747,10],[19839,10],[19963,10],[20081,10],[20238,10],[20404,10],[20505,10],[20672,10],[20809,10],[20982,10],[21266,10],[21420,10],[21683,10],[21985,10],[22105,10],[22189,10],[22307,10],[22414,10],[22534,10],[22674,10],[22803,10],[22963,10],[23156,10],[23282,10],[23414,10],[23547,10],[23738,10],[23920,10],[24040,10],[24201,10],[24331,10],[24411,10]]}},"keywords":{}}],["code—rxdb",{"_index":2084,"title":{},"content":{"361":{"position":[[1029,9]]}},"keywords":{}}],["cohes",{"_index":3256,"title":{},"content":{"517":{"position":[[359,8]]}},"keywords":{}}],["col",{"_index":5969,"title":{},"content":{"1108":{"position":[[464,4]]}},"keywords":{}}],["col1",{"_index":4219,"title":{},"content":{"749":{"position":[[6712,4]]}},"keywords":{}}],["col10",{"_index":4238,"title":{},"content":{"749":{"position":[[7741,5]]}},"keywords":{}}],["col11",{"_index":4240,"title":{},"content":{"749":{"position":[[7845,5]]}},"keywords":{}}],["col12",{"_index":4241,"title":{},"content":{"749":{"position":[[7940,5]]}},"keywords":{}}],["col13",{"_index":4242,"title":{},"content":{"749":{"position":[[8040,5]]}},"keywords":{}}],["col14",{"_index":4243,"title":{},"content":{"749":{"position":[[8134,5]]}},"keywords":{}}],["col15",{"_index":4244,"title":{},"content":{"749":{"position":[[8232,5]]}},"keywords":{}}],["col16",{"_index":4245,"title":{},"content":{"749":{"position":[[8340,5]]}},"keywords":{}}],["col17",{"_index":4246,"title":{},"content":{"749":{"position":[[8435,5]]}},"keywords":{}}],["col18",{"_index":4248,"title":{},"content":{"749":{"position":[[8535,5]]}},"keywords":{}}],["col2",{"_index":4221,"title":{},"content":{"749":{"position":[[6827,4]]}},"keywords":{}}],["col20",{"_index":4249,"title":{},"content":{"749":{"position":[[8657,5]]}},"keywords":{}}],["col21",{"_index":4250,"title":{},"content":{"749":{"position":[[8734,5]]}},"keywords":{}}],["col22",{"_index":4251,"title":{},"content":{"749":{"position":[[9058,5]]}},"keywords":{}}],["col23",{"_index":4254,"title":{},"content":{"749":{"position":[[9216,5]]}},"keywords":{}}],["col3",{"_index":4224,"title":{},"content":{"749":{"position":[[6951,4]]}},"keywords":{}}],["col4",{"_index":4226,"title":{},"content":{"749":{"position":[[7059,4]]}},"keywords":{}}],["col5",{"_index":4228,"title":{},"content":{"749":{"position":[[7178,4]]}},"keywords":{}}],["col6",{"_index":4231,"title":{},"content":{"749":{"position":[[7302,4]]}},"keywords":{}}],["col7",{"_index":4234,"title":{},"content":{"749":{"position":[[7485,4]]}},"keywords":{}}],["col8",{"_index":4235,"title":{},"content":{"749":{"position":[[7565,4]]}},"keywords":{}}],["col9",{"_index":4236,"title":{},"content":{"749":{"position":[[7642,4]]}},"keywords":{}}],["collabor",{"_index":565,"title":{},"content":{"35":{"position":[[647,13]]},"38":{"position":[[67,14]]},"39":{"position":[[511,14]]},"40":{"position":[[96,13]]},"89":{"position":[[263,13]]},"109":{"position":[[227,13]]},"136":{"position":[[302,13]]},"148":{"position":[[337,13]]},"151":{"position":[[318,13]]},"158":{"position":[[255,13]]},"168":{"position":[[313,13]]},"174":{"position":[[1951,13]]},"212":{"position":[[526,14]]},"267":{"position":[[475,13],[599,13],[751,13],[1495,13]]},"289":{"position":[[949,13],[1958,13]]},"375":{"position":[[612,13]]},"388":{"position":[[459,13]]},"407":{"position":[[948,13],[1046,11]]},"411":{"position":[[5120,14]]},"412":{"position":[[3774,14],[6494,13]]},"418":{"position":[[783,13]]},"445":{"position":[[942,13],[1178,13]]},"446":{"position":[[437,14],[488,14],[534,13]]},"491":{"position":[[1812,13]]},"496":{"position":[[385,13]]},"501":{"position":[[317,12]]},"613":{"position":[[483,13]]},"860":{"position":[[657,13]]}},"keywords":{}}],["collaboration.memori",{"_index":1184,"title":{},"content":{"162":{"position":[[512,20]]}},"keywords":{}}],["collect",{"_index":224,"title":{"51":{"position":[[22,12]]},"259":{"position":[[7,13]]},"538":{"position":[[22,12]]},"598":{"position":[[22,12]]},"655":{"position":[[36,11]]},"789":{"position":[[17,11]]},"791":{"position":[[26,11]]},"934":{"position":[[11,11]]},"939":{"position":[[6,10]]},"979":{"position":[[0,13]]},"1007":{"position":[[10,11]]},"1075":{"position":[[9,10]]}},"content":{"14":{"position":[[780,12]]},"16":{"position":[[218,11]]},"18":{"position":[[20,10]]},"22":{"position":[[86,10]]},"47":{"position":[[814,10]]},"51":{"position":[[811,11]]},"130":{"position":[[484,10]]},"140":{"position":[[90,10]]},"168":{"position":[[175,11]]},"188":{"position":[[2731,10],[2755,10]]},"209":{"position":[[646,11]]},"210":{"position":[[288,11]]},"211":{"position":[[296,10]]},"255":{"position":[[997,11]]},"261":{"position":[[361,11]]},"334":{"position":[[66,11]]},"335":{"position":[[867,10]]},"344":{"position":[[72,10]]},"379":{"position":[[96,11]]},"392":{"position":[[443,10],[888,10],[1147,10],[2071,11],[2599,11]]},"412":{"position":[[1096,12]]},"480":{"position":[[64,11],[455,11],[947,10]]},"481":{"position":[[666,11]]},"482":{"position":[[743,10]]},"493":{"position":[[413,10]]},"494":{"position":[[575,10]]},"523":{"position":[[314,11],[333,10]]},"538":{"position":[[834,11]]},"541":{"position":[[237,10],[509,14]]},"542":{"position":[[765,10]]},"554":{"position":[[1236,10]]},"562":{"position":[[1108,10],[1423,14]]},"563":{"position":[[675,10]]},"567":{"position":[[671,12]]},"575":{"position":[[706,10]]},"598":{"position":[[841,11]]},"632":{"position":[[1440,11],[2234,11]]},"639":{"position":[[274,10]]},"643":{"position":[[75,11]]},"654":{"position":[[36,10]]},"655":{"position":[[17,10],[205,10]]},"656":{"position":[[293,10]]},"662":{"position":[[2272,11],[2294,11],[2312,11]]},"680":{"position":[[1122,10]]},"698":{"position":[[1484,10]]},"710":{"position":[[1783,11],[1801,11]]},"723":{"position":[[465,12],[1519,11]]},"724":{"position":[[384,10],[676,10],[729,11]]},"739":{"position":[[102,11]]},"745":{"position":[[606,11]]},"749":{"position":[[101,10],[4887,10],[5019,10],[5273,10],[5415,10],[6502,10],[8541,10],[9272,11],[10194,10],[13285,11],[15197,11],[19497,10],[22251,11],[24272,10]]},"751":{"position":[[20,11],[1909,10]]},"752":{"position":[[58,10]]},"753":{"position":[[91,10],[141,11]]},"754":{"position":[[367,10]]},"755":{"position":[[129,11]]},"759":{"position":[[817,11],[1020,11],[1157,11],[1307,11],[1468,11],[1510,11]]},"770":{"position":[[125,11],[663,11]]},"772":{"position":[[913,10]]},"788":{"position":[[21,10],[62,11]]},"789":{"position":[[69,11],[379,11]]},"790":{"position":[[30,10],[92,11]]},"792":{"position":[[32,10],[115,11]]},"798":{"position":[[367,10]]},"806":{"position":[[564,10]]},"808":{"position":[[50,10],[289,10]]},"818":{"position":[[474,10]]},"829":{"position":[[1880,12],[1953,10],[2014,10],[2217,10],[2382,11],[3298,11]]},"838":{"position":[[2508,11],[2526,11]]},"845":{"position":[[129,11]]},"846":{"position":[[211,11]]},"848":{"position":[[728,11],[1363,11]]},"852":{"position":[[246,11]]},"854":{"position":[[157,10],[455,10],[693,11],[774,11],[1549,11]]},"858":{"position":[[51,11],[204,11],[285,11]]},"861":{"position":[[953,11],[1046,11],[1248,11],[1864,10],[1990,11],[2228,11],[2296,10],[2347,10]]},"862":{"position":[[510,11],[872,10],[1369,11]]},"863":{"position":[[788,11]]},"866":{"position":[[180,10],[448,11],[520,10]]},"872":{"position":[[743,11],[816,11],[1067,12],[1291,10],[1368,11],[1417,11],[1796,10],[2108,10],[2224,10],[2251,11],[2424,12],[2509,11],[2942,10],[3415,11],[3678,10],[4520,11]]},"875":{"position":[[448,11]]},"878":{"position":[[121,10],[303,11],[449,10]]},"886":{"position":[[1030,11],[2662,11],[3849,11]]},"887":{"position":[[315,11]]},"888":{"position":[[456,11]]},"889":{"position":[[505,11]]},"890":{"position":[[805,11]]},"893":{"position":[[49,10],[308,10],[354,10],[374,11]]},"898":{"position":[[1569,11],[1623,10],[3158,10],[3381,11]]},"904":{"position":[[364,11],[1498,11],[1868,10],[1879,11],[2291,10]]},"932":{"position":[[1388,11]]},"934":{"position":[[23,11],[110,10],[129,10],[361,10],[846,11]]},"935":{"position":[[34,10],[78,10],[120,11],[183,10]]},"936":{"position":[[45,10]]},"937":{"position":[[146,11]]},"939":{"position":[[20,10],[59,10],[119,10],[136,11]]},"941":{"position":[[88,11]]},"942":{"position":[[57,10]]},"943":{"position":[[75,10]]},"946":{"position":[[54,11]]},"949":{"position":[[27,11]]},"950":{"position":[[173,11]]},"952":{"position":[[70,11]]},"953":{"position":[[35,11]]},"954":{"position":[[31,10],[169,10]]},"955":{"position":[[153,11],[191,10],[256,10]]},"956":{"position":[[56,10],[182,10]]},"958":{"position":[[43,11],[116,11],[500,12]]},"963":{"position":[[54,11]]},"971":{"position":[[77,10]]},"988":{"position":[[272,11]]},"999":{"position":[[249,10]]},"1002":{"position":[[293,10],[563,11],[1217,11]]},"1004":{"position":[[153,10]]},"1007":{"position":[[32,10],[1401,11]]},"1013":{"position":[[99,10],[602,10]]},"1014":{"position":[[46,11]]},"1015":{"position":[[46,10]]},"1020":{"position":[[313,10],[556,11]]},"1022":{"position":[[416,11]]},"1024":{"position":[[52,10]]},"1032":{"position":[[133,10],[237,10]]},"1033":{"position":[[70,10],[319,12]]},"1035":{"position":[[29,11]]},"1036":{"position":[[24,11]]},"1047":{"position":[[36,11]]},"1055":{"position":[[46,10]]},"1062":{"position":[[239,10]]},"1072":{"position":[[596,11],[1204,10],[1291,10],[1544,10]]},"1074":{"position":[[41,10]]},"1076":{"position":[[141,10]]},"1077":{"position":[[108,11]]},"1079":{"position":[[78,11]]},"1081":{"position":[[27,11]]},"1085":{"position":[[755,10],[841,10],[2713,10],[2765,11],[2867,10],[2933,10],[3101,11]]},"1100":{"position":[[167,11],[597,11],[703,11]]},"1101":{"position":[[326,10],[414,11],[515,11],[676,11]]},"1102":{"position":[[388,11]]},"1103":{"position":[[358,11]]},"1105":{"position":[[784,11]]},"1106":{"position":[[722,11]]},"1108":{"position":[[452,11]]},"1121":{"position":[[247,10],[621,11]]},"1125":{"position":[[818,11]]},"1149":{"position":[[534,10],[991,11],[1246,10],[1373,11]]},"1150":{"position":[[323,11]]},"1158":{"position":[[279,11]]},"1165":{"position":[[867,11]]},"1175":{"position":[[616,10]]},"1194":{"position":[[174,12]]},"1222":{"position":[[994,10],[1053,12],[1090,10],[1283,12]]},"1246":{"position":[[1759,10],[1924,12]]},"1253":{"position":[[130,12]]},"1309":{"position":[[1331,10]]},"1311":{"position":[[86,11],[1199,10],[1349,11],[1711,10]]},"1321":{"position":[[607,11],[853,11],[1107,10]]},"1322":{"position":[[262,10],[331,10]]}},"keywords":{}}],["collection'",{"_index":3320,"title":{},"content":{"541":{"position":[[773,12]]},"601":{"position":[[754,12]]},"955":{"position":[[13,12]]},"1035":{"position":[[62,12]]},"1036":{"position":[[57,12]]},"1321":{"position":[[706,12]]}},"keywords":{}}],["collection(firestoredatabas",{"_index":4871,"title":{},"content":{"854":{"position":[[421,29]]}},"keywords":{}}],["collection.find",{"_index":3308,"title":{},"content":{"541":{"position":[[360,18]]},"542":{"position":[[796,21]]},"562":{"position":[[1201,18]]},"563":{"position":[[720,21]]},"826":{"position":[[809,21]]}},"keywords":{}}],["collection.find().$.subscribe(result",{"_index":6086,"title":{},"content":{"1150":{"position":[[422,37]]}},"keywords":{}}],["collection.find().where('affiliation').equals('jedi",{"_index":3267,"title":{},"content":{"523":{"position":[[391,54]]}},"keywords":{}}],["collection.findon",{"_index":4740,"title":{},"content":{"826":{"position":[[907,24]]}},"keywords":{}}],["collection.html?console=limit#faq",{"_index":4255,"title":{},"content":{"749":{"position":[[9422,33]]}},"keywords":{}}],["collection.insert",{"_index":1279,"title":{},"content":{"188":{"position":[[2851,19]]}},"keywords":{}}],["collection.options.foo",{"_index":4673,"title":{},"content":{"806":{"position":[[765,25]]}},"keywords":{}}],["collection2",{"_index":5322,"title":{},"content":{"939":{"position":[[215,11],[275,13]]}},"keywords":{}}],["collectionid",{"_index":4908,"title":{},"content":{"862":{"position":[[1253,13]]}},"keywords":{}}],["collectionnam",{"_index":3739,"title":{},"content":{"649":{"position":[[345,15]]},"872":{"position":[[2404,15]]},"934":{"position":[[268,14]]},"1309":{"position":[[1431,14]]}},"keywords":{}}],["collections.humans.find",{"_index":3818,"title":{},"content":{"662":{"position":[[2684,25],[2772,25]]},"710":{"position":[[1991,25],[2079,25]]},"838":{"position":[[2898,25],[2986,25]]}},"keywords":{}}],["collections.humans.insert({id",{"_index":3817,"title":{},"content":{"662":{"position":[[2595,30]]},"710":{"position":[[1902,30]]},"838":{"position":[[2809,30]]}},"keywords":{}}],["collections/sync",{"_index":4723,"title":{},"content":{"825":{"position":[[476,16]]}},"keywords":{}}],["collectionsofflin",{"_index":4932,"title":{},"content":{"870":{"position":[[46,18]]},"896":{"position":[[161,18]]}},"keywords":{}}],["collis",{"_index":3460,"title":{},"content":{"569":{"position":[[692,9]]},"635":{"position":[[159,10]]},"1085":{"position":[[1879,10],[2079,10]]}},"keywords":{}}],["color",{"_index":1258,"title":{},"content":{"188":{"position":[[1362,6],[1450,8]]},"1074":{"position":[[265,5]]},"1314":{"position":[[438,6],[469,6]]}},"keywords":{}}],["colorcontroller.text",{"_index":1286,"title":{},"content":{"188":{"position":[[2985,20]]}},"keywords":{}}],["column",{"_index":1990,"title":{"356":{"position":[[5,7]]}},"content":{"351":{"position":[[38,6]]},"356":{"position":[[125,8],[221,7],[777,8]]},"357":{"position":[[57,8]]},"362":{"position":[[363,8],[498,7]]},"457":{"position":[[296,6]]},"898":{"position":[[1709,6],[3926,6],[4263,8]]},"1253":{"position":[[105,8]]}},"keywords":{}}],["combin",{"_index":637,"title":{},"content":{"40":{"position":[[354,7]]},"61":{"position":[[276,9]]},"118":{"position":[[94,8]]},"179":{"position":[[269,8]]},"260":{"position":[[171,7]]},"266":{"position":[[260,8]]},"269":{"position":[[34,7]]},"444":{"position":[[781,7]]},"469":{"position":[[964,11]]},"491":{"position":[[782,9]]},"496":{"position":[[305,9]]},"498":{"position":[[459,9]]},"500":{"position":[[68,9]]},"513":{"position":[[171,8]]},"520":{"position":[[94,11]]},"567":{"position":[[800,7]]},"575":{"position":[[67,9]]},"630":{"position":[[830,7]]},"749":{"position":[[5665,11]]},"837":{"position":[[1474,8]]},"860":{"position":[[277,9],[1118,8]]},"967":{"position":[[90,12]]},"1072":{"position":[[1397,7]]},"1100":{"position":[[541,11]]},"1237":{"position":[[116,11]]},"1238":{"position":[[23,11]]},"1296":{"position":[[1489,7]]}},"keywords":{}}],["come",{"_index":389,"title":{"781":{"position":[[9,5]]},"1022":{"position":[[28,5]]}},"content":{"23":{"position":[[338,5]]},"46":{"position":[[283,5]]},"157":{"position":[[382,4]]},"186":{"position":[[78,4]]},"228":{"position":[[37,4]]},"278":{"position":[[9,5]]},"290":{"position":[[9,5]]},"369":{"position":[[76,5]]},"391":{"position":[[167,5]]},"398":{"position":[[182,5]]},"408":{"position":[[2016,5],[3153,5],[4081,4]]},"427":{"position":[[44,4]]},"464":{"position":[[910,5]]},"535":{"position":[[52,5]]},"571":{"position":[[343,4]]},"595":{"position":[[52,5]]},"659":{"position":[[11,5]]},"661":{"position":[[377,5]]},"689":{"position":[[71,4]]},"709":{"position":[[353,4]]},"710":{"position":[[83,4]]},"714":{"position":[[455,5]]},"836":{"position":[[1251,5]]},"904":{"position":[[1756,5]]},"911":{"position":[[348,4]]},"984":{"position":[[50,5]]},"1097":{"position":[[447,5]]},"1107":{"position":[[928,4]]},"1157":{"position":[[63,4]]},"1159":{"position":[[127,5]]},"1188":{"position":[[216,4]]},"1210":{"position":[[152,5]]},"1214":{"position":[[574,5]]},"1270":{"position":[[358,5]]},"1271":{"position":[[91,5]]},"1275":{"position":[[90,5]]},"1316":{"position":[[1641,5],[2791,5]]},"1318":{"position":[[233,5]]}},"keywords":{}}],["comfort",{"_index":1666,"title":{},"content":{"286":{"position":[[345,7]]},"352":{"position":[[284,11]]}},"keywords":{}}],["command",{"_index":1084,"title":{},"content":{"128":{"position":[[157,8]]},"254":{"position":[[188,7]]},"872":{"position":[[536,8]]}},"keywords":{}}],["comment",{"_index":4496,"title":{},"content":{"759":{"position":[[1188,11]]},"1266":{"position":[[1032,9]]}},"keywords":{}}],["commerc",{"_index":3193,"title":{},"content":{"496":{"position":[[513,8]]}},"keywords":{}}],["commerci",{"_index":599,"title":{},"content":{"38":{"position":[[943,10]]},"43":{"position":[[642,10]]}},"keywords":{}}],["commit",{"_index":441,"title":{"1298":{"position":[[21,8]]}},"content":{"27":{"position":[[318,6]]},"32":{"position":[[274,6]]},"668":{"position":[[84,9],[170,6]]},"731":{"position":[[270,7]]},"1297":{"position":[[263,9]]},"1298":{"position":[[15,10],[135,6],[175,8],[219,9]]}},"keywords":{}}],["commithash",{"_index":4080,"title":{},"content":{"731":{"position":[[225,10]]}},"keywords":{}}],["common",{"_index":1112,"title":{},"content":{"132":{"position":[[67,6]]},"282":{"position":[[22,6]]},"376":{"position":[[199,6]]},"411":{"position":[[4463,6]]},"412":{"position":[[991,6]]},"419":{"position":[[66,6]]},"420":{"position":[[472,6]]},"458":{"position":[[1279,6]]},"460":{"position":[[437,6]]},"555":{"position":[[876,6]]},"624":{"position":[[1359,6]]},"640":{"position":[[99,6]]},"697":{"position":[[361,6]]},"708":{"position":[[98,6]]},"709":{"position":[[25,6],[95,6]]},"785":{"position":[[250,6]]},"875":{"position":[[1704,6],[7084,6]]},"966":{"position":[[167,6]]},"995":{"position":[[531,6]]},"1072":{"position":[[2108,6]]},"1092":{"position":[[10,6]]},"1271":{"position":[[1027,6]]},"1320":{"position":[[180,6]]}},"keywords":{}}],["commonli",{"_index":6336,"title":{},"content":{"1272":{"position":[[304,8]]}},"keywords":{}}],["commonmodul",{"_index":4724,"title":{},"content":{"825":{"position":[[602,12],[752,15]]}},"keywords":{}}],["commonplac",{"_index":2854,"title":{},"content":{"421":{"position":[[739,11]]}},"keywords":{}}],["commun",{"_index":996,"title":{},"content":{"84":{"position":[[230,9]]},"114":{"position":[[243,9]]},"149":{"position":[[243,9]]},"175":{"position":[[236,9]]},"188":{"position":[[203,12],[554,11],[1523,11]]},"204":{"position":[[205,12]]},"210":{"position":[[668,12]]},"241":{"position":[[333,9]]},"263":{"position":[[434,10]]},"288":{"position":[[268,13]]},"289":{"position":[[1713,11]]},"303":{"position":[[1087,14]]},"306":{"position":[[269,9]]},"318":{"position":[[527,9]]},"320":{"position":[[145,9]]},"347":{"position":[[243,9]]},"362":{"position":[[1314,9]]},"373":{"position":[[333,9]]},"381":{"position":[[257,9]]},"386":{"position":[[274,9]]},"387":{"position":[[226,9]]},"419":{"position":[[1367,9]]},"460":{"position":[[622,12]]},"491":{"position":[[1536,13]]},"511":{"position":[[243,9]]},"531":{"position":[[243,9]]},"535":{"position":[[870,14]]},"548":{"position":[[376,14]]},"556":{"position":[[1544,14],[1587,13]]},"567":{"position":[[506,9]]},"591":{"position":[[243,9]]},"595":{"position":[[945,14]]},"608":{"position":[[374,14]]},"610":{"position":[[163,14],[777,13]]},"611":{"position":[[34,13]]},"612":{"position":[[158,13],[1028,14]]},"613":{"position":[[72,13]]},"614":{"position":[[23,14],[104,13],[636,13]]},"617":{"position":[[1097,13]]},"621":{"position":[[62,13],[256,13]]},"624":{"position":[[35,13],[687,14]]},"644":{"position":[[289,9]]},"693":{"position":[[575,12]]},"711":{"position":[[340,11]]},"749":{"position":[[23599,11]]},"824":{"position":[[369,9]]},"835":{"position":[[671,9],[715,9]]},"839":{"position":[[1144,9]]},"899":{"position":[[388,10]]},"901":{"position":[[33,14]]},"906":{"position":[[573,14]]},"913":{"position":[[249,9]]},"1088":{"position":[[451,11]]},"1133":{"position":[[54,11]]},"1149":{"position":[[451,12]]},"1151":{"position":[[36,10]]},"1178":{"position":[[36,10]]},"1218":{"position":[[20,12]]},"1246":{"position":[[725,11]]},"1301":{"position":[[1170,11]]},"1304":{"position":[[747,11]]}},"keywords":{}}],["communication.long",{"_index":3669,"title":{},"content":{"622":{"position":[[387,18]]}},"keywords":{}}],["community/sqlit",{"_index":3786,"title":{},"content":{"661":{"position":[[280,16],[443,16],[563,16],[1067,18]]},"662":{"position":[[955,16],[1301,17],[1741,18]]},"1279":{"position":[[563,18]]}},"keywords":{}}],["communityhav",{"_index":3147,"title":{},"content":{"483":{"position":[[880,13]]}},"keywords":{}}],["compani",{"_index":351,"title":{"627":{"position":[[0,7]]}},"content":{"20":{"position":[[123,7]]},"38":{"position":[[971,9]]},"411":{"position":[[5623,9]]},"412":{"position":[[1435,7]]},"627":{"position":[[36,7]]}},"keywords":{}}],["companion",{"_index":3290,"title":{},"content":{"530":{"position":[[633,9]]}},"keywords":{}}],["compar",{"_index":86,"title":{"74":{"position":[[36,8]]},"105":{"position":[[36,8]]},"232":{"position":[[26,8]]},"278":{"position":[[55,8]]},"393":{"position":[[0,9]]},"902":{"position":[[33,8]]}},"content":{"6":{"position":[[107,8]]},"13":{"position":[[244,8]]},"16":{"position":[[355,8]]},"25":{"position":[[163,8]]},"33":{"position":[[292,8]]},"37":{"position":[[289,8]]},"39":{"position":[[594,8]]},"40":{"position":[[603,8]]},"47":{"position":[[182,8]]},"66":{"position":[[151,8]]},"89":{"position":[[119,8]]},"131":{"position":[[586,8]]},"161":{"position":[[279,8]]},"173":{"position":[[270,8],[454,8]]},"174":{"position":[[723,8]]},"212":{"position":[[126,8]]},"224":{"position":[[47,8]]},"232":{"position":[[261,8]]},"265":{"position":[[243,8]]},"281":{"position":[[339,8]]},"282":{"position":[[478,8]]},"295":{"position":[[107,8]]},"299":{"position":[[1587,9]]},"364":{"position":[[636,8]]},"390":{"position":[[769,8]]},"393":{"position":[[77,7],[490,7],[719,7]]},"394":{"position":[[1506,7]]},"400":{"position":[[195,8],[729,8]]},"402":{"position":[[654,7],[1366,8],[2600,7]]},"404":{"position":[[387,8]]},"408":{"position":[[4006,8]]},"411":{"position":[[965,8]]},"413":{"position":[[73,7]]},"429":{"position":[[102,8]]},"432":{"position":[[1294,7]]},"434":{"position":[[202,8]]},"450":{"position":[[524,8]]},"454":{"position":[[414,8],[594,7]]},"456":{"position":[[56,7]]},"458":{"position":[[42,8]]},"462":{"position":[[308,7],[990,7]]},"464":{"position":[[585,8]]},"466":{"position":[[427,8]]},"467":{"position":[[345,8]]},"468":{"position":[[383,7]]},"524":{"position":[[1032,8]]},"576":{"position":[[1,8]]},"581":{"position":[[553,8]]},"620":{"position":[[1,9],[463,11],[744,7]]},"623":{"position":[[756,8]]},"662":{"position":[[806,8]]},"688":{"position":[[601,7]]},"698":{"position":[[595,9]]},"703":{"position":[[1041,8],[1107,7]]},"717":{"position":[[315,8]]},"800":{"position":[[284,8]]},"875":{"position":[[2265,7],[4912,7]]},"885":{"position":[[2231,7]]},"901":{"position":[[538,9]]},"947":{"position":[[73,8]]},"990":{"position":[[509,7]]},"1067":{"position":[[187,8],[842,7],[1017,8]]},"1071":{"position":[[191,8]]},"1089":{"position":[[201,8]]},"1099":{"position":[[131,8]]},"1109":{"position":[[112,9]]},"1118":{"position":[[124,8]]},"1120":{"position":[[60,8],[718,10]]},"1128":{"position":[[14,8]]},"1132":{"position":[[60,7]]},"1137":{"position":[[58,8]]},"1143":{"position":[[409,8]]},"1194":{"position":[[113,7],[1082,8]]},"1206":{"position":[[486,8]]},"1209":{"position":[[105,8],[449,8]]},"1213":{"position":[[203,8]]},"1270":{"position":[[36,8]]},"1276":{"position":[[212,8]]},"1308":{"position":[[388,9],[509,7]]}},"keywords":{}}],["comparison",{"_index":689,"title":{"60":{"position":[[12,10]]},"456":{"position":[[8,11]]},"462":{"position":[[12,11]]},"547":{"position":[[12,10]]},"607":{"position":[[12,10]]},"620":{"position":[[12,11]]},"1137":{"position":[[22,11]]},"1152":{"position":[[12,10]]},"1191":{"position":[[22,11]]},"1193":{"position":[[12,11]]},"1195":{"position":[[35,11]]},"1196":{"position":[[39,11]]},"1270":{"position":[[12,10]]},"1292":{"position":[[12,10]]}},"content":{"43":{"position":[[754,10]]},"394":{"position":[[78,10],[996,12]]},"420":{"position":[[269,11]]},"442":{"position":[[128,10]]},"462":{"position":[[90,12]]},"469":{"position":[[1309,10]]},"495":{"position":[[900,12]]},"620":{"position":[[279,10]]},"694":{"position":[[1,10]]},"698":{"position":[[687,10]]},"703":{"position":[[962,10]]},"772":{"position":[[2534,10]]},"838":{"position":[[3158,11]]},"875":{"position":[[5014,11]]},"1137":{"position":[[26,10],[250,10],[272,10]]},"1193":{"position":[[65,12]]},"1209":{"position":[[307,10]]},"1276":{"position":[[378,11]]}},"keywords":{}}],["comparisons.hierarch",{"_index":2337,"title":{},"content":{"396":{"position":[[311,24]]}},"keywords":{}}],["comparisonspeed",{"_index":6478,"title":{},"content":{"1302":{"position":[[24,18]]}},"keywords":{}}],["compat",{"_index":394,"title":{"82":{"position":[[26,13]]},"113":{"position":[[26,13]]},"238":{"position":[[34,10]]},"384":{"position":[[15,14]]},"830":{"position":[[13,14]]},"885":{"position":[[11,10]]}},"content":{"24":{"position":[[44,10],[314,10],[358,14],[779,10]]},"57":{"position":[[255,13]]},"76":{"position":[[137,13]]},"82":{"position":[[42,13]]},"110":{"position":[[185,13]]},"113":{"position":[[79,10],[125,13]]},"173":{"position":[[2342,13]]},"174":{"position":[[2594,14],[2796,13],[2920,14],[2995,10]]},"188":{"position":[[442,10]]},"238":{"position":[[70,10]]},"286":{"position":[[73,13],[301,13]]},"364":{"position":[[203,14],[333,13]]},"371":{"position":[[172,13]]},"381":{"position":[[212,10]]},"391":{"position":[[1030,10]]},"438":{"position":[[351,10]]},"445":{"position":[[1807,13]]},"495":{"position":[[515,14]]},"581":{"position":[[737,14]]},"624":{"position":[[991,13]]},"749":{"position":[[159,10]]},"756":{"position":[[429,10]]},"838":{"position":[[771,10]]},"841":{"position":[[744,10]]},"863":{"position":[[864,13]]},"865":{"position":[[150,10]]},"879":{"position":[[251,10]]},"911":{"position":[[226,10]]},"981":{"position":[[518,10],[676,10]]},"983":{"position":[[155,10]]},"1133":{"position":[[216,10]]},"1134":{"position":[[294,10]]},"1177":{"position":[[129,10]]},"1204":{"position":[[130,10]]},"1304":{"position":[[1884,10]]},"1320":{"position":[[71,10],[129,10]]}},"keywords":{}}],["compel",{"_index":999,"title":{},"content":{"86":{"position":[[11,10]]},"174":{"position":[[143,10]]},"175":{"position":[[647,10]]},"186":{"position":[[346,10]]},"215":{"position":[[5,10]]},"278":{"position":[[110,10]]},"366":{"position":[[399,10]]},"412":{"position":[[15195,10]]},"530":{"position":[[158,10]]}},"keywords":{}}],["compet",{"_index":686,"title":{},"content":{"43":{"position":[[662,8]]},"571":{"position":[[1395,9]]}},"keywords":{}}],["compil",{"_index":491,"title":{},"content":{"30":{"position":[[215,9]]},"188":{"position":[[35,8]]},"357":{"position":[[313,8]]},"408":{"position":[[3518,7]]},"454":{"position":[[241,7],[506,8],[638,8]]},"524":{"position":[[712,8],[797,8]]},"581":{"position":[[454,8]]},"1251":{"position":[[334,7]]},"1276":{"position":[[646,8]]}},"keywords":{}}],["complet",{"_index":641,"title":{"201":{"position":[[3,8]]}},"content":{"40":{"position":[[722,8]]},"201":{"position":[[238,10]]},"209":{"position":[[552,9]]},"263":{"position":[[324,8]]},"417":{"position":[[27,8]]},"475":{"position":[[167,10]]},"752":{"position":[[1031,9]]},"840":{"position":[[255,8]]},"1191":{"position":[[456,10]]},"1304":{"position":[[903,8]]}},"keywords":{}}],["complex",{"_index":322,"title":{"416":{"position":[[0,10]]},"426":{"position":[[8,7]]},"457":{"position":[[8,7]]}},"content":{"19":{"position":[[227,7],[339,7]]},"33":{"position":[[336,7]]},"34":{"position":[[721,7]]},"35":{"position":[[664,7]]},"45":{"position":[[285,7]]},"47":{"position":[[450,7]]},"61":{"position":[[454,13]]},"64":{"position":[[141,7]]},"66":{"position":[[365,7]]},"89":{"position":[[131,7]]},"126":{"position":[[335,7]]},"173":{"position":[[466,7]]},"178":{"position":[[187,7]]},"212":{"position":[[202,7],[296,7]]},"217":{"position":[[359,7]]},"219":{"position":[[306,11]]},"223":{"position":[[110,7],[346,10],[396,7]]},"250":{"position":[[145,7]]},"252":{"position":[[195,7]]},"262":{"position":[[376,7]]},"267":{"position":[[1009,7]]},"279":{"position":[[291,10]]},"282":{"position":[[426,7]]},"289":{"position":[[433,13]]},"303":{"position":[[1350,11]]},"317":{"position":[[125,7]]},"321":{"position":[[241,7],[432,7]]},"323":{"position":[[435,10]]},"331":{"position":[[312,12]]},"352":{"position":[[181,7]]},"353":{"position":[[61,7]]},"354":{"position":[[197,7],[609,7],[1480,7]]},"360":{"position":[[137,7],[241,7]]},"364":{"position":[[522,7]]},"369":{"position":[[378,7]]},"372":{"position":[[285,7]]},"395":{"position":[[513,7]]},"401":{"position":[[845,10]]},"408":{"position":[[404,7]]},"410":{"position":[[1790,8]]},"411":{"position":[[1964,7]]},"412":{"position":[[3931,7],[4135,10],[8911,7],[8998,7],[9640,11],[13103,11],[13422,7],[13578,7],[13911,7],[14120,7]]},"416":{"position":[[26,10]]},"427":{"position":[[557,7],[1080,7]]},"430":{"position":[[336,7]]},"432":{"position":[[159,7],[637,7],[1124,7]]},"433":{"position":[[309,8]]},"441":{"position":[[220,10],[337,7]]},"446":{"position":[[904,7]]},"451":{"position":[[428,7]]},"452":{"position":[[274,7]]},"453":{"position":[[653,8]]},"457":{"position":[[72,7],[608,7]]},"475":{"position":[[252,7]]},"497":{"position":[[283,7],[428,7],[682,7]]},"515":{"position":[[175,7]]},"521":{"position":[[216,7],[442,13]]},"533":{"position":[[173,7],[313,7]]},"535":{"position":[[466,7]]},"536":{"position":[[71,12]]},"548":{"position":[[298,12]]},"566":{"position":[[262,7]]},"574":{"position":[[559,7],[774,7]]},"593":{"position":[[173,7],[313,7]]},"595":{"position":[[494,7]]},"596":{"position":[[69,12]]},"608":{"position":[[296,12]]},"611":{"position":[[988,7],[1260,10]]},"613":{"position":[[961,7]]},"614":{"position":[[211,7]]},"642":{"position":[[231,7]]},"643":{"position":[[276,7]]},"644":{"position":[[243,7]]},"659":{"position":[[828,7]]},"661":{"position":[[1800,7]]},"682":{"position":[[105,7]]},"688":{"position":[[899,7]]},"689":{"position":[[112,11],[566,11]]},"698":{"position":[[1402,7],[2110,7],[3249,10]]},"701":{"position":[[742,7]]},"711":{"position":[[2245,7]]},"723":{"position":[[276,7],[2055,7],[2211,7]]},"765":{"position":[[119,7]]},"784":{"position":[[254,7]]},"785":{"position":[[233,10]]},"796":{"position":[[10,7],[908,7]]},"800":{"position":[[503,7],[582,7]]},"801":{"position":[[286,7]]},"802":{"position":[[514,10]]},"835":{"position":[[933,7]]},"836":{"position":[[1760,7],[2295,7]]},"875":{"position":[[4981,7]]},"898":{"position":[[694,10]]},"903":{"position":[[712,7]]},"906":{"position":[[1096,7]]},"981":{"position":[[372,7],[588,7]]},"1072":{"position":[[1597,11]]},"1123":{"position":[[562,7]]},"1132":{"position":[[598,7]]},"1209":{"position":[[482,7]]},"1213":{"position":[[215,7]]},"1236":{"position":[[95,7]]},"1238":{"position":[[93,7]]},"1252":{"position":[[268,7]]},"1257":{"position":[[176,7]]},"1317":{"position":[[414,7]]}},"keywords":{}}],["complex—larg",{"_index":3423,"title":{},"content":{"561":{"position":[[22,13]]}},"keywords":{}}],["complex—need",{"_index":3411,"title":{},"content":{"559":{"position":[[1610,15]]}},"keywords":{}}],["compli",{"_index":4304,"title":{},"content":{"749":{"position":[[13010,8]]},"1324":{"position":[[374,8]]}},"keywords":{}}],["complianc",{"_index":3444,"title":{},"content":{"567":{"position":[[717,10]]}},"keywords":{}}],["compliant",{"_index":3333,"title":{},"content":{"550":{"position":[[382,9]]},"686":{"position":[[681,9]]},"837":{"position":[[190,9],[788,9]]},"1198":{"position":[[451,9]]},"1286":{"position":[[119,9]]}},"keywords":{}}],["complic",{"_index":1847,"title":{},"content":{"303":{"position":[[1075,11]]},"326":{"position":[[265,11]]},"354":{"position":[[880,10]]},"412":{"position":[[11561,11],[14768,10]]},"483":{"position":[[455,11]]},"560":{"position":[[543,11]]},"708":{"position":[[485,11]]},"1156":{"position":[[16,11]]}},"keywords":{}}],["compon",{"_index":1061,"title":{},"content":{"116":{"position":[[162,9]]},"124":{"position":[[249,10]]},"494":{"position":[[651,9]]},"515":{"position":[[417,11]]},"522":{"position":[[211,11]]},"523":{"position":[[91,11],[166,10]]},"541":{"position":[[82,11],[123,9],[745,9]]},"562":{"position":[[767,10],[892,10]]},"574":{"position":[[123,11]]},"575":{"position":[[284,10]]},"580":{"position":[[73,10]]},"585":{"position":[[226,10]]},"590":{"position":[[534,10]]},"600":{"position":[[142,10]]},"601":{"position":[[28,9],[726,9]]},"749":{"position":[[24138,9]]},"825":{"position":[[531,10],[551,10],[684,12]]},"828":{"position":[[144,9],[408,9]]},"829":{"position":[[349,10],[1200,10],[2110,10],[2281,10],[2692,9],[2718,9],[3634,9],[3739,9],[3798,9]]}},"keywords":{}}],["components.rxdb",{"_index":3531,"title":{},"content":{"591":{"position":[[562,15]]}},"keywords":{}}],["compos",{"_index":2781,"title":{"1252":{"position":[[0,11]]}},"content":{"414":{"position":[[112,7]]},"705":{"position":[[571,11]]},"749":{"position":[[11278,8]]},"861":{"position":[[329,7],[390,7],[515,7],[857,8],[880,7],[908,7]]},"1071":{"position":[[233,10]]},"1078":{"position":[[51,8],[291,8],[370,8]]},"1252":{"position":[[50,7]]}},"keywords":{}}],["composit",{"_index":3490,"title":{"601":{"position":[[34,11]]},"1078":{"position":[[0,9]]}},"content":{"580":{"position":[[244,11]]},"590":{"position":[[235,11],[465,11]]},"1065":{"position":[[916,9]]},"1078":{"position":[[18,9],[237,9],[795,9],[837,9],[992,9]]}},"keywords":{}}],["compound",{"_index":4650,"title":{},"content":{"798":{"position":[[30,8]]},"1080":{"position":[[960,8]]},"1132":{"position":[[303,8]]}},"keywords":{}}],["compoundindex",{"_index":4387,"title":{},"content":{"749":{"position":[[19336,15]]}},"keywords":{}}],["comprehens",{"_index":621,"title":{"423":{"position":[[45,13]]}},"content":{"39":{"position":[[280,13]]},"56":{"position":[[3,13]]},"116":{"position":[[207,13]]},"412":{"position":[[355,13]]},"433":{"position":[[490,13]]},"514":{"position":[[160,13]]},"543":{"position":[[3,13]]},"603":{"position":[[3,13]]},"901":{"position":[[606,13]]}},"keywords":{}}],["compress",{"_index":742,"title":{"81":{"position":[[18,11]]},"111":{"position":[[18,11]]},"141":{"position":[[9,12]]},"169":{"position":[[9,12]]},"197":{"position":[[9,12]]},"236":{"position":[[18,11]]},"294":{"position":[[0,11]]},"307":{"position":[[44,11]]},"311":{"position":[[17,12]]},"316":{"position":[[0,11]]},"345":{"position":[[9,12]]},"366":{"position":[[0,11]]},"508":{"position":[[9,12]]},"528":{"position":[[9,12]]},"588":{"position":[[9,12]]},"629":{"position":[[63,11]]},"639":{"position":[[6,12]]},"733":{"position":[[4,11]]},"734":{"position":[[11,12]]}},"content":{"47":{"position":[[1115,12]]},"57":{"position":[[393,12],[451,12],[487,12]]},"81":{"position":[[53,12]]},"111":{"position":[[44,11],[78,10]]},"141":{"position":[[81,12],[103,12]]},"169":{"position":[[70,12],[95,11]]},"170":{"position":[[445,12]]},"174":{"position":[[2368,11],[2428,10]]},"197":{"position":[[81,12]]},"236":{"position":[[50,10],[143,10]]},"283":{"position":[[170,11]]},"294":{"position":[[73,12],[156,11],[242,11]]},"303":{"position":[[203,11],[228,11],[321,11],[464,11],[791,10]]},"306":{"position":[[181,11]]},"311":{"position":[[94,11]]},"316":{"position":[[54,11],[220,11]]},"317":{"position":[[203,11]]},"318":{"position":[[94,12],[639,10]]},"345":{"position":[[66,11]]},"361":{"position":[[242,12],[327,11],[472,11],[788,10]]},"362":{"position":[[945,12]]},"366":{"position":[[1,11],[75,11],[141,10],[242,10],[457,11]]},"483":{"position":[[619,11]]},"508":{"position":[[26,12]]},"528":{"position":[[23,11]]},"535":{"position":[[1093,11]]},"544":{"position":[[406,12],[428,11]]},"595":{"position":[[1170,11]]},"604":{"position":[[300,12],[340,12]]},"639":{"position":[[97,11]]},"710":{"position":[[273,11]]},"711":{"position":[[2302,11]]},"734":{"position":[[9,11],[105,11],[188,13],[569,10]]},"749":{"position":[[721,11],[1009,11]]},"793":{"position":[[443,11]]},"838":{"position":[[916,11],[3329,12]]},"841":{"position":[[1015,11],[1229,11]]},"932":{"position":[[199,11],[332,8],[416,11],[443,8],[582,11],[610,11],[757,13],[895,12],[1140,11],[1271,12],[1315,11]]},"981":{"position":[[913,9]]},"1123":{"position":[[605,11]]},"1132":{"position":[[1083,11],[1262,8]]},"1237":{"position":[[168,12],[427,11],[461,10],[631,13]]}},"keywords":{}}],["compromis",{"_index":1123,"title":{},"content":{"139":{"position":[[272,12]]},"167":{"position":[[233,12]]},"218":{"position":[[238,12]]},"292":{"position":[[23,10]]},"369":{"position":[[715,12]]},"412":{"position":[[13205,11]]},"446":{"position":[[258,12]]},"643":{"position":[[308,12]]}},"keywords":{}}],["comput",{"_index":424,"title":{"569":{"position":[[24,10]]}},"content":{"26":{"position":[[131,9]]},"224":{"position":[[104,13]]},"391":{"position":[[70,7]]},"401":{"position":[[796,7]]},"408":{"position":[[153,10],[1801,9]]},"527":{"position":[[178,13]]},"569":{"position":[[96,9],[123,9],[146,8],[651,9],[1109,10],[1504,9]]},"571":{"position":[[1870,9]]},"699":{"position":[[206,10],[1026,10]]},"708":{"position":[[36,9]]},"802":{"position":[[725,13]]},"1087":{"position":[[132,8]]},"1088":{"position":[[17,7]]},"1094":{"position":[[456,7]]},"1300":{"position":[[1163,8]]}},"keywords":{}}],["computation",{"_index":1396,"title":{},"content":{"216":{"position":[[326,15]]}},"keywords":{}}],["computing"",{"_index":214,"title":{},"content":{"14":{"position":[[441,16]]}},"keywords":{}}],["con",{"_index":2651,"title":{"845":{"position":[[0,5]]},"1129":{"position":[[0,5]]},"1162":{"position":[[0,5]]},"1168":{"position":[[0,5]]},"1171":{"position":[[0,5]]},"1181":{"position":[[0,5]]},"1200":{"position":[[0,5]]}},"content":{"412":{"position":[[377,5]]},"413":{"position":[[35,4]]}},"keywords":{}}],["concat",{"_index":5833,"title":{},"content":{"1078":{"position":[[450,6]]}},"keywords":{}}],["concaten",{"_index":4053,"title":{},"content":{"724":{"position":[[908,13]]}},"keywords":{}}],["concept",{"_index":276,"title":{"828":{"position":[[8,8]]}},"content":{"16":{"position":[[390,7]]},"119":{"position":[[58,8]]},"121":{"position":[[28,7]]},"159":{"position":[[21,7]]},"182":{"position":[[106,7]]},"185":{"position":[[21,7]]},"233":{"position":[[21,7]]},"275":{"position":[[83,7]]},"277":{"position":[[19,7]]},"314":{"position":[[23,7]]},"419":{"position":[[653,7],[1089,9]]},"445":{"position":[[994,7]]},"456":{"position":[[29,8]]},"518":{"position":[[18,7]]},"781":{"position":[[681,7]]},"832":{"position":[[334,8]]},"899":{"position":[[43,8]]},"903":{"position":[[357,7]]},"1253":{"position":[[77,7]]},"1324":{"position":[[309,7]]}},"keywords":{}}],["conceptu",{"_index":3896,"title":{},"content":{"689":{"position":[[101,10]]}},"keywords":{}}],["concern",{"_index":1142,"title":{},"content":{"145":{"position":[[32,8]]},"169":{"position":[[38,8]]},"293":{"position":[[85,7]]},"407":{"position":[[824,8]]},"411":{"position":[[1632,8]]},"429":{"position":[[13,8]]},"507":{"position":[[74,7]]},"839":{"position":[[1005,9]]},"1231":{"position":[[254,9]]}},"keywords":{}}],["concis",{"_index":2941,"title":{},"content":{"445":{"position":[[1451,8]]}},"keywords":{}}],["conclus",{"_index":988,"title":{"148":{"position":[[0,11]]},"170":{"position":[[0,11]]},"198":{"position":[[0,11]]},"441":{"position":[[0,11]]},"447":{"position":[[0,11]]},"468":{"position":[[12,12]]},"510":{"position":[[0,11]]},"530":{"position":[[0,11]]}},"content":{"83":{"position":[[4,11]]},"267":{"position":[[1112,11]]}},"keywords":{}}],["concret",{"_index":6191,"title":{},"content":{"1207":{"position":[[602,8]]}},"keywords":{}}],["concurr",{"_index":739,"title":{},"content":{"47":{"position":[[894,10]]},"203":{"position":[[232,10]]},"358":{"position":[[219,12],[897,12]]},"362":{"position":[[682,12]]},"386":{"position":[[204,10]]},"416":{"position":[[375,12]]},"496":{"position":[[259,10]]},"559":{"position":[[1297,11],[1415,11]]},"566":{"position":[[818,11],[940,11],[983,11]]},"590":{"position":[[872,10]]},"617":{"position":[[1529,10]]},"643":{"position":[[28,12]]},"688":{"position":[[47,10]]},"860":{"position":[[828,10]]},"897":{"position":[[252,11]]},"908":{"position":[[173,13]]}},"keywords":{}}],["condit",{"_index":1165,"title":{"681":{"position":[[0,11]]}},"content":{"152":{"position":[[377,11]]},"280":{"position":[[510,11]]},"289":{"position":[[2024,11]]},"301":{"position":[[68,10]]},"305":{"position":[[529,11]]},"498":{"position":[[661,11]]},"545":{"position":[[114,11]]},"605":{"position":[[114,11]]},"610":{"position":[[1185,10]]},"620":{"position":[[211,11]]},"681":{"position":[[203,11],[388,11]]},"683":{"position":[[558,11]]},"1252":{"position":[[147,9],[201,9]]},"1316":{"position":[[809,10],[1295,9]]}},"keywords":{}}],["confidenti",{"_index":933,"title":{},"content":{"65":{"position":[[1771,12]]},"95":{"position":[[196,15]]},"291":{"position":[[398,12]]},"310":{"position":[[238,13]]},"506":{"position":[[232,12]]},"912":{"position":[[582,12]]}},"keywords":{}}],["config",{"_index":1586,"title":{},"content":{"261":{"position":[[805,6],[838,6]]},"730":{"position":[[109,7]]},"1176":{"position":[[301,7]]},"1228":{"position":[[57,6]]},"1266":{"position":[[92,6],[329,6]]},"1279":{"position":[[88,6]]}},"keywords":{}}],["configur",{"_index":323,"title":{"334":{"position":[[13,11]]},"579":{"position":[[13,11]]},"730":{"position":[[18,14]]},"1236":{"position":[[0,13]]}},"content":{"19":{"position":[[243,13]]},"27":{"position":[[161,13]]},"131":{"position":[[990,9]]},"192":{"position":[[270,11]]},"285":{"position":[[221,9]]},"293":{"position":[[203,9]]},"314":{"position":[[1175,14]]},"346":{"position":[[42,9]]},"372":{"position":[[107,10]]},"503":{"position":[[114,11]]},"590":{"position":[[127,9]]},"617":{"position":[[1557,15]]},"632":{"position":[[2059,12]]},"730":{"position":[[129,13]]},"828":{"position":[[339,13]]},"829":{"position":[[404,11]]},"831":{"position":[[155,10],[531,11]]},"838":{"position":[[1723,14]]},"849":{"position":[[682,9]]},"862":{"position":[[898,9]]},"894":{"position":[[56,13]]},"904":{"position":[[310,9]]},"1156":{"position":[[28,14]]},"1162":{"position":[[1176,10]]},"1214":{"position":[[472,10]]},"1236":{"position":[[80,9]]},"1239":{"position":[[26,13]]}},"keywords":{}}],["confirm",{"_index":3168,"title":{},"content":{"491":{"position":[[694,9],[1565,9]]},"495":{"position":[[335,9]]},"497":{"position":[[838,13]]},"634":{"position":[[247,13]]}},"keywords":{}}],["conflict",{"_index":225,"title":{"134":{"position":[[0,8]]},"203":{"position":[[12,8]]},"250":{"position":[[12,8]]},"312":{"position":[[20,8]]},"339":{"position":[[0,8]]},"416":{"position":[[15,8]]},"496":{"position":[[0,8]]},"635":{"position":[[0,8]]},"690":{"position":[[15,8]]},"691":{"position":[[39,8]]},"698":{"position":[[13,10]]},"847":{"position":[[0,8]]},"908":{"position":[[0,8]]},"987":{"position":[[0,8]]},"1044":{"position":[[8,9]]},"1111":{"position":[[0,8]]},"1303":{"position":[[14,9]]},"1306":{"position":[[0,10]]},"1307":{"position":[[6,10]]},"1308":{"position":[[12,10]]},"1309":{"position":[[7,8]]}},"content":{"14":{"position":[[797,8]]},"16":{"position":[[414,8]]},"35":{"position":[[414,8]]},"39":{"position":[[574,8],[665,8]]},"40":{"position":[[21,9],[219,8],[744,8]]},"43":{"position":[[112,8]]},"123":{"position":[[202,8]]},"134":{"position":[[26,9],[117,8],[189,8],[303,9]]},"135":{"position":[[229,9],[278,8]]},"147":{"position":[[111,8]]},"162":{"position":[[478,8]]},"165":{"position":[[229,8]]},"192":{"position":[[235,8]]},"203":{"position":[[151,8],[198,8]]},"209":{"position":[[943,11]]},"237":{"position":[[251,9]]},"250":{"position":[[38,8],[193,8]]},"255":{"position":[[1265,9]]},"263":{"position":[[191,8],[621,8]]},"289":{"position":[[200,8]]},"306":{"position":[[197,8]]},"312":{"position":[[253,9]]},"328":{"position":[[200,8]]},"331":{"position":[[200,8]]},"339":{"position":[[63,8],[119,9]]},"386":{"position":[[185,10]]},"412":{"position":[[1143,8],[2118,10],[2170,8],[2228,8],[2971,8],[3070,10],[3240,8],[3601,9],[3681,9],[4120,9],[4614,10],[4678,9],[4797,9],[4862,8],[5037,9],[5135,8],[5340,8],[13538,8],[14045,10],[14857,8]]},"416":{"position":[[67,10]]},"419":{"position":[[1163,8]]},"420":{"position":[[830,10]]},"480":{"position":[[1095,8]]},"481":{"position":[[476,8]]},"483":{"position":[[643,8]]},"487":{"position":[[326,9],[398,9]]},"491":{"position":[[494,9],[1029,9],[1131,10],[1391,9],[1468,9]]},"495":{"position":[[60,8],[180,9],[264,10]]},"496":{"position":[[571,9],[808,8]]},"502":{"position":[[1388,10]]},"525":{"position":[[620,8]]},"566":{"position":[[1009,8]]},"567":{"position":[[289,10]]},"576":{"position":[[277,8]]},"582":{"position":[[224,9],[475,9]]},"590":{"position":[[810,8]]},"634":{"position":[[440,8],[489,8]]},"635":{"position":[[24,9],[293,8],[447,8]]},"644":{"position":[[181,8]]},"680":{"position":[[240,8]]},"683":{"position":[[431,8]]},"687":{"position":[[187,11]]},"688":{"position":[[110,9],[187,8],[222,8],[258,8],[329,10],[692,10],[704,8]]},"689":{"position":[[34,8],[498,9]]},"690":{"position":[[5,8],[561,8]]},"691":{"position":[[149,8]]},"698":{"position":[[188,11],[349,8],[436,8],[471,11],[894,9],[1214,11],[1257,9],[1410,8],[1532,8],[1798,9],[1919,8],[2159,8],[2221,9],[3017,8],[3134,8],[3276,8]]},"737":{"position":[[436,9]]},"749":{"position":[[8908,8],[8933,9],[15938,9],[22923,8]]},"793":{"position":[[922,9]]},"844":{"position":[[78,8],[104,9]]},"847":{"position":[[6,9],[148,8]]},"858":{"position":[[574,8]]},"860":{"position":[[728,8],[768,8]]},"863":{"position":[[607,9]]},"875":{"position":[[3729,11],[3881,8],[4124,8],[4509,9],[4880,9],[5117,8],[5174,8]]},"885":{"position":[[1094,9],[1136,9]]},"889":{"position":[[117,11],[156,10],[288,9],[671,11]]},"899":{"position":[[128,8]]},"908":{"position":[[8,8],[59,9],[196,8],[270,8],[345,8],[392,8]]},"913":{"position":[[115,8]]},"934":{"position":[[787,8]]},"943":{"position":[[277,10]]},"944":{"position":[[404,9]]},"948":{"position":[[106,8]]},"981":{"position":[[411,8],[1223,8]]},"982":{"position":[[745,8]]},"983":{"position":[[653,10],[680,10]]},"987":{"position":[[130,8],[507,9],[552,8],[756,8],[1000,8],[1117,8]]},"988":{"position":[[2731,9],[2792,10]]},"1044":{"position":[[85,8]]},"1085":{"position":[[2126,9],[2298,8]]},"1111":{"position":[[22,10],[37,8]]},"1115":{"position":[[679,10]]},"1120":{"position":[[155,9],[286,9]]},"1147":{"position":[[257,8],[351,8]]},"1148":{"position":[[128,8]]},"1149":{"position":[[43,8]]},"1258":{"position":[[68,8]]},"1305":{"position":[[1103,8]]},"1306":{"position":[[24,9],[53,8],[82,9]]},"1307":{"position":[[9,8],[429,8],[469,8],[602,10],[838,9],[893,11]]},"1308":{"position":[[15,8],[252,9],[375,8],[675,9]]},"1309":{"position":[[3,8],[119,9],[142,8],[176,8],[314,8],[373,8],[604,9],[723,9],[786,8],[967,8],[1071,8],[1243,8]]},"1313":{"position":[[1071,9]]},"1323":{"position":[[188,9]]},"1324":{"position":[[876,9]]}},"keywords":{}}],["conflicthandl",{"_index":4421,"title":{},"content":{"749":{"position":[[22882,15]]},"847":{"position":[[47,15]]},"934":{"position":[[734,16]]},"987":{"position":[[1041,15]]},"1309":{"position":[[1290,15],[1474,16]]}},"keywords":{}}],["conflictmessag",{"_index":5162,"title":{},"content":{"889":{"position":[[175,17]]}},"keywords":{}}],["conflicts"",{"_index":2685,"title":{},"content":{"412":{"position":[[3877,16]]}},"keywords":{}}],["conflicts.push(realmasterst",{"_index":5027,"title":{},"content":{"875":{"position":[[5126,32]]}},"keywords":{}}],["conflictsarray",{"_index":5040,"title":{},"content":{"875":{"position":[[6411,14],[6461,15]]}},"keywords":{}}],["confus",{"_index":326,"title":{},"content":{"19":{"position":[[289,9]]},"419":{"position":[[1248,9]]},"495":{"position":[[280,10],[497,10]]},"1188":{"position":[[293,7]]},"1208":{"position":[[557,10]]},"1215":{"position":[[22,8]]}},"keywords":{}}],["congest",{"_index":3665,"title":{},"content":{"621":{"position":[[862,10]]}},"keywords":{}}],["congestion."",{"_index":3639,"title":{},"content":{"617":{"position":[[884,17]]}},"keywords":{}}],["connect",{"_index":314,"title":{"414":{"position":[[0,12]]},"618":{"position":[[0,11]]},"893":{"position":[[0,7]]},"1281":{"position":[[9,11]]}},"content":{"18":{"position":[[418,7]]},"46":{"position":[[86,13],[228,10]]},"65":{"position":[[723,10]]},"69":{"position":[[221,12]]},"88":{"position":[[96,11]]},"122":{"position":[[353,12]]},"123":{"position":[[274,9]]},"133":{"position":[[346,12]]},"135":{"position":[[182,9]]},"136":{"position":[[141,9]]},"157":{"position":[[114,13],[234,10]]},"164":{"position":[[241,11],[262,10]]},"183":{"position":[[138,11],[240,10]]},"184":{"position":[[334,9]]},"188":{"position":[[2438,7],[2603,7]]},"191":{"position":[[109,11],[196,10]]},"201":{"position":[[322,12]]},"206":{"position":[[74,10],[260,13]]},"211":{"position":[[577,7]]},"212":{"position":[[66,11]]},"215":{"position":[[242,10],[370,13]]},"228":{"position":[[487,11]]},"260":{"position":[[29,7]]},"261":{"position":[[884,9]]},"273":{"position":[[216,13]]},"274":{"position":[[165,11],[239,12]]},"280":{"position":[[281,11],[296,12]]},"289":{"position":[[233,12],[1153,10],[1849,12]]},"292":{"position":[[296,11]]},"309":{"position":[[235,11]]},"322":{"position":[[291,10]]},"323":{"position":[[291,12]]},"327":{"position":[[190,11],[207,12]]},"338":{"position":[[146,12]]},"346":{"position":[[609,11]]},"360":{"position":[[604,10]]},"365":{"position":[[1112,9]]},"375":{"position":[[147,11],[750,12]]},"380":{"position":[[110,13],[188,10]]},"396":{"position":[[723,9]]},"407":{"position":[[657,12],[844,12]]},"410":{"position":[[1062,14],[1266,12]]},"411":{"position":[[5608,14]]},"414":{"position":[[154,11],[387,10]]},"416":{"position":[[452,12]]},"418":{"position":[[164,12]]},"419":{"position":[[223,12],[529,12]]},"444":{"position":[[275,13]]},"445":{"position":[[628,10],[730,10],[1111,9]]},"446":{"position":[[242,12]]},"483":{"position":[[917,7]]},"489":{"position":[[704,11]]},"491":{"position":[[729,9],[1227,12]]},"497":{"position":[[235,12]]},"500":{"position":[[505,13]]},"502":{"position":[[576,12]]},"516":{"position":[[237,13],[260,10]]},"525":{"position":[[208,12],[368,9]]},"565":{"position":[[258,12]]},"570":{"position":[[336,9],[526,9],[753,10]]},"574":{"position":[[371,9]]},"575":{"position":[[399,12]]},"582":{"position":[[129,12]]},"584":{"position":[[275,13]]},"610":{"position":[[339,10],[493,10],[1205,10]]},"611":{"position":[[82,10],[480,10],[1030,10],[1103,10],[1229,10]]},"612":{"position":[[507,10],[633,10],[1091,10],[1403,10],[1966,13],[2386,10]]},"614":{"position":[[309,11],[500,10]]},"616":{"position":[[143,11],[304,10],[522,11]]},"617":{"position":[[32,11],[157,11],[287,10],[411,13],[497,11],[549,11],[652,11],[719,11],[1048,11],[1246,10],[1327,11],[1400,12],[1490,11],[1588,10],[1793,11],[2018,10],[2105,10]]},"618":{"position":[[107,12],[361,12],[778,11]]},"619":{"position":[[228,12]]},"621":{"position":[[102,11],[430,11],[632,11]]},"622":{"position":[[62,11],[503,12],[669,11]]},"623":{"position":[[53,11],[290,10],[530,10],[698,11]]},"624":{"position":[[1483,12]]},"626":{"position":[[18,11]]},"630":{"position":[[365,8]]},"632":{"position":[[665,7],[1977,12]]},"661":{"position":[[793,10]]},"723":{"position":[[2721,13]]},"736":{"position":[[543,12]]},"772":{"position":[[38,10],[213,8]]},"775":{"position":[[653,7]]},"776":{"position":[[316,10]]},"782":{"position":[[458,10]]},"836":{"position":[[611,11],[834,11],[893,10]]},"849":{"position":[[131,11],[836,10],[1102,10]]},"860":{"position":[[455,12]]},"866":{"position":[[795,11]]},"871":{"position":[[59,7],[94,8],[156,9],[682,11],[835,10]]},"872":{"position":[[620,10],[2437,11],[3074,8]]},"875":{"position":[[725,10],[7321,13],[7937,8],[8572,11]]},"881":{"position":[[149,10]]},"886":{"position":[[4297,10]]},"897":{"position":[[48,7]]},"898":{"position":[[3140,7]]},"901":{"position":[[222,10],[308,12],[735,11]]},"902":{"position":[[295,11],[626,11]]},"903":{"position":[[430,7]]},"904":{"position":[[1555,10],[2183,7],[2338,12],[2465,10],[3320,9]]},"905":{"position":[[139,10]]},"906":{"position":[[169,12],[264,10],[827,10]]},"962":{"position":[[1039,11]]},"981":{"position":[[1404,10]]},"985":{"position":[[21,9]]},"1007":{"position":[[1129,10]]},"1095":{"position":[[316,7]]},"1100":{"position":[[88,9]]},"1101":{"position":[[46,7],[199,7]]},"1102":{"position":[[145,7]]},"1189":{"position":[[207,10],[249,10],[487,10],[581,11]]},"1281":{"position":[[36,10]]},"1304":{"position":[[858,11]]},"1314":{"position":[[146,10],[369,11]]}},"keywords":{}}],["connection.perform",{"_index":3291,"title":{},"content":{"534":{"position":[[287,23]]},"594":{"position":[[285,23]]}},"keywords":{}}],["connectionhandlercr",{"_index":1367,"title":{},"content":{"210":{"position":[[334,25]]},"261":{"position":[[463,25]]},"904":{"position":[[2533,25]]},"911":{"position":[[661,25]]},"1121":{"position":[[689,25]]}},"keywords":{}}],["connectionparam",{"_index":5146,"title":{},"content":{"886":{"position":[[4669,16],[4795,16]]}},"keywords":{}}],["connectivity.fast",{"_index":1203,"title":{},"content":{"173":{"position":[[1597,19]]}},"keywords":{}}],["connectivity.reduc",{"_index":3694,"title":{},"content":{"630":{"position":[[727,20]]}},"keywords":{}}],["connector",{"_index":1246,"title":{},"content":{"188":{"position":[[514,10],[1493,9]]}},"keywords":{}}],["connectsocket",{"_index":5477,"title":{},"content":{"988":{"position":[[5182,15],[5693,16]]}},"keywords":{}}],["consensu",{"_index":6486,"title":{},"content":{"1304":{"position":[[785,9]]}},"keywords":{}}],["consequ",{"_index":2148,"title":{},"content":{"377":{"position":[[132,13]]}},"keywords":{}}],["conserv",{"_index":3654,"title":{},"content":{"618":{"position":[[456,8]]}},"keywords":{}}],["consid",{"_index":1000,"title":{},"content":{"86":{"position":[[33,8]]},"142":{"position":[[55,8]]},"146":{"position":[[210,8]]},"147":{"position":[[87,8]]},"161":{"position":[[6,11]]},"186":{"position":[[6,11]]},"241":{"position":[[86,8]]},"303":{"position":[[194,8]]},"358":{"position":[[17,8]]},"365":{"position":[[105,9]]},"373":{"position":[[86,8]]},"401":{"position":[[880,10]]},"404":{"position":[[91,8]]},"408":{"position":[[4422,8]]},"412":{"position":[[9455,8],[11277,9]]},"425":{"position":[[208,8]]},"430":{"position":[[83,8],[614,8],[1019,8]]},"433":{"position":[[414,8]]},"447":{"position":[[597,11]]},"497":{"position":[[555,8],[709,8]]},"520":{"position":[[7,11]]},"534":{"position":[[145,8]]},"546":{"position":[[90,9]]},"556":{"position":[[612,8],[1088,8],[1826,8]]},"569":{"position":[[620,8]]},"594":{"position":[[143,8]]},"606":{"position":[[90,9]]},"616":{"position":[[827,10]]},"686":{"position":[[59,10]]},"839":{"position":[[1334,8]]},"1033":{"position":[[918,9]]},"1072":{"position":[[541,8]]},"1162":{"position":[[1071,8]]},"1297":{"position":[[216,8]]}},"keywords":{}}],["consider",{"_index":1410,"title":{"228":{"position":[[11,15]]},"641":{"position":[[12,15]]}},"content":{"377":{"position":[[57,15]]}},"keywords":{}}],["consist",{"_index":985,"title":{"475":{"position":[[13,12]]},"700":{"position":[[9,12]]}},"content":{"80":{"position":[[74,11]]},"109":{"position":[[175,10]]},"112":{"position":[[237,10]]},"123":{"position":[[252,10]]},"134":{"position":[[335,10]]},"135":{"position":[[160,10]]},"158":{"position":[[210,10]]},"160":{"position":[[218,10]]},"164":{"position":[[375,11]]},"173":{"position":[[3212,11]]},"174":{"position":[[2303,10]]},"184":{"position":[[311,11]]},"191":{"position":[[243,11]]},"203":{"position":[[313,10]]},"207":{"position":[[284,11]]},"237":{"position":[[143,10]]},"249":{"position":[[401,11]]},"250":{"position":[[338,11]]},"269":{"position":[[334,10]]},"279":{"position":[[510,10]]},"288":{"position":[[134,10]]},"289":{"position":[[386,11]]},"293":{"position":[[15,11]]},"327":{"position":[[300,11]]},"328":{"position":[[250,10]]},"340":{"position":[[156,11]]},"360":{"position":[[804,11]]},"367":{"position":[[371,11]]},"369":{"position":[[636,11]]},"375":{"position":[[127,10]]},"382":{"position":[[132,11]]},"384":{"position":[[457,10]]},"407":{"position":[[317,10]]},"411":{"position":[[3970,12]]},"412":{"position":[[5587,11],[5663,10],[5836,10],[6304,12],[6365,12],[6410,11],[14649,11]]},"418":{"position":[[469,11]]},"438":{"position":[[336,10]]},"445":{"position":[[777,12],[2493,10]]},"483":{"position":[[112,12]]},"500":{"position":[[258,10]]},"502":{"position":[[1215,11]]},"504":{"position":[[1016,11]]},"516":{"position":[[368,11]]},"519":{"position":[[245,11]]},"525":{"position":[[283,10]]},"556":{"position":[[1801,11]]},"635":{"position":[[488,10]]},"707":{"position":[[213,7]]},"723":{"position":[[2752,10]]},"1123":{"position":[[22,10]]},"1125":{"position":[[361,11]]},"1132":{"position":[[512,11]]},"1304":{"position":[[104,12]]},"1305":{"position":[[567,8]]}},"keywords":{}}],["consistency.conflict",{"_index":3516,"title":{},"content":{"582":{"position":[[417,20]]}},"keywords":{}}],["consistency.lack",{"_index":3298,"title":{},"content":{"535":{"position":[[678,16]]},"595":{"position":[[699,16]]}},"keywords":{}}],["consistency.perform",{"_index":4792,"title":{},"content":{"838":{"position":[[1054,24]]}},"keywords":{}}],["consistencylevel",{"_index":6018,"title":{},"content":{"1125":{"position":[[443,17]]}},"keywords":{}}],["consistent"",{"_index":3954,"title":{},"content":{"700":{"position":[[765,17]]}},"keywords":{}}],["consol",{"_index":3858,"title":{"1151":{"position":[[26,7]]},"1178":{"position":[[26,7]]}},"content":{"675":{"position":[[77,7]]},"841":{"position":[[1305,7]]},"861":{"position":[[1135,7],[2336,7]]},"1151":{"position":[[67,7]]},"1178":{"position":[[67,7]]}},"keywords":{}}],["console.dir(alivehero",{"_index":3229,"title":{},"content":{"502":{"position":[[1100,26]]},"518":{"position":[[567,26]]}},"keywords":{}}],["console.dir(answ",{"_index":6261,"title":{},"content":{"1220":{"position":[[595,20]]}},"keywords":{}}],["console.dir(bestfriend",{"_index":4682,"title":{},"content":{"810":{"position":[[440,24]]},"811":{"position":[[435,24]]}},"keywords":{}}],["console.dir(bool",{"_index":5499,"title":{},"content":{"993":{"position":[[593,19],[730,19]]}},"keywords":{}}],["console.dir(changeev",{"_index":5325,"title":{},"content":{"941":{"position":[[144,26],[292,26],[368,26],[444,26]]},"970":{"position":[[131,26]]}},"keywords":{}}],["console.dir(currentrxdocu",{"_index":5709,"title":{},"content":{"1046":{"position":[[168,32]]}},"keywords":{}}],["console.dir(doc",{"_index":5359,"title":{},"content":{"950":{"position":[[330,18],[466,18]]},"993":{"position":[[193,18],[310,18]]}},"keywords":{}}],["console.dir(docsmap",{"_index":5363,"title":{},"content":{"951":{"position":[[412,21]]}},"keywords":{}}],["console.dir(docu",{"_index":5765,"title":{},"content":{"1065":{"position":[[296,24],[875,24],[1164,24],[1386,24],[1503,24]]}},"keywords":{}}],["console.dir(documentornul",{"_index":5607,"title":{},"content":{"1017":{"position":[[178,28]]}},"keywords":{}}],["console.dir(error",{"_index":5497,"title":{},"content":{"993":{"position":[[455,20]]}},"keywords":{}}],["console.dir(ev",{"_index":5426,"title":{},"content":{"979":{"position":[[278,19]]}},"keywords":{}}],["console.dir(friend",{"_index":4695,"title":{},"content":{"813":{"position":[[436,21]]}},"keywords":{}}],["console.dir(isnam",{"_index":5677,"title":{},"content":{"1039":{"position":[[323,20]]}},"keywords":{}}],["console.dir(json",{"_index":5373,"title":{},"content":{"952":{"position":[[346,19]]},"971":{"position":[[456,19]]},"1051":{"position":[[192,18],[462,18]]}},"keywords":{}}],["console.dir(moth",{"_index":4691,"title":{},"content":{"812":{"position":[[286,20]]}},"keywords":{}}],["console.dir(mydatabase.heroes.nam",{"_index":5832,"title":{},"content":{"1075":{"position":[[72,36]]}},"keywords":{}}],["console.dir(queryresult",{"_index":2319,"title":{},"content":{"394":{"position":[[945,25]]}},"keywords":{}}],["console.dir(result",{"_index":5737,"title":{},"content":{"1057":{"position":[[139,21]]},"1069":{"position":[[639,21],[800,21]]},"1294":{"position":[[1784,20]]}},"keywords":{}}],["console.dir(st",{"_index":4466,"title":{},"content":{"752":{"position":[[970,19]]}},"keywords":{}}],["console.dir(writeev",{"_index":3738,"title":{},"content":{"649":{"position":[[309,25]]}},"keywords":{}}],["console.error('[repl",{"_index":5225,"title":{},"content":{"898":{"position":[[4114,30]]}},"keywords":{}}],["console.error('indexeddb",{"_index":1818,"title":{},"content":{"302":{"position":[[1115,24]]}},"keywords":{}}],["console.error('p2p",{"_index":1376,"title":{},"content":{"210":{"position":[[584,18]]},"261":{"position":[[945,18]]}},"keywords":{}}],["console.error('webrtc",{"_index":5262,"title":{},"content":{"904":{"position":[[3499,21]]}},"keywords":{}}],["console.error(error",{"_index":4467,"title":{},"content":{"752":{"position":[[1009,21]]}},"keywords":{}}],["console.log",{"_index":4478,"title":{},"content":{"753":{"position":[[377,12]]}},"keywords":{}}],["console.log("receiv",{"_index":3557,"title":{},"content":{"610":{"position":[[1016,26]]}},"keywords":{}}],["console.log('al",{"_index":3706,"title":{},"content":{"632":{"position":[[1829,16]]}},"keywords":{}}],["console.log('approx",{"_index":1776,"title":{},"content":{"300":{"position":[[330,19],[388,19]]}},"keywords":{}}],["console.log('cli",{"_index":5074,"title":{},"content":{"881":{"position":[[389,19]]}},"keywords":{}}],["console.log('connect",{"_index":3571,"title":{},"content":{"611":{"position":[[711,23]]}},"keywords":{}}],["console.log('curr",{"_index":3126,"title":{},"content":{"480":{"position":[[862,22]]},"1067":{"position":[[545,22]]}},"keywords":{}}],["console.log('don",{"_index":4468,"title":{},"content":{"752":{"position":[[1050,19]]},"953":{"position":[[147,21]]},"972":{"position":[[147,21]]}},"keywords":{}}],["console.log('error",{"_index":5593,"title":{},"content":{"1010":{"position":[[323,21]]}},"keywords":{}}],["console.log('got",{"_index":979,"title":{},"content":{"77":{"position":[[318,16]]},"103":{"position":[[358,16]]},"234":{"position":[[418,16]]},"612":{"position":[[1280,16]]},"1058":{"position":[[288,16]]}},"keywords":{}}],["console.log('hero",{"_index":3429,"title":{},"content":{"562":{"position":[[695,20]]}},"keywords":{}}],["console.log('i",{"_index":5382,"title":{},"content":{"956":{"position":[[274,14],[340,14]]}},"keywords":{}}],["console.log('insert",{"_index":6514,"title":{},"content":{"1311":{"position":[[1308,19]]}},"keywords":{}}],["console.log('long",{"_index":4095,"title":{},"content":{"739":{"position":[[511,17]]}},"keywords":{}}],["console.log('messag",{"_index":3574,"title":{},"content":{"611":{"position":[[855,20]]}},"keywords":{}}],["console.log('nam",{"_index":1424,"title":{},"content":{"235":{"position":[[320,17]]},"571":{"position":[[1355,17]]},"1040":{"position":[[363,17]]}},"keywords":{}}],["console.log('repl",{"_index":4966,"title":{},"content":{"872":{"position":[[3441,24]]}},"keywords":{}}],["console.log('storag",{"_index":4495,"title":{},"content":{"759":{"position":[[952,20]]},"760":{"position":[[840,20]]}},"keywords":{}}],["console.log(`exampl",{"_index":4987,"title":{},"content":{"875":{"position":[[1216,20]]}},"keywords":{}}],["console.log(`serv",{"_index":3615,"title":{},"content":{"612":{"position":[[2506,19]]}},"keywords":{}}],["console.log(amount",{"_index":6522,"title":{},"content":{"1311":{"position":[[1790,20]]}},"keywords":{}}],["console.log(attachment.scream",{"_index":4613,"title":{},"content":{"792":{"position":[[420,33]]}},"keywords":{}}],["console.log(collections.hero",{"_index":5323,"title":{},"content":{"939":{"position":[[240,30]]}},"keywords":{}}],["console.log(dist",{"_index":2299,"title":{},"content":{"393":{"position":[[1033,22]]}},"keywords":{}}],["console.log(doc.myfield",{"_index":4562,"title":{},"content":{"770":{"position":[[494,25]]}},"keywords":{}}],["console.log(doc.scream",{"_index":4606,"title":{},"content":{"791":{"position":[[179,26]]}},"keywords":{}}],["console.log(doc.whoami",{"_index":4609,"title":{},"content":{"791":{"position":[[499,26]]}},"keywords":{}}],["console.log(docafteredit",{"_index":5706,"title":{},"content":{"1045":{"position":[[227,24]]}},"keywords":{}}],["console.log(fetcheddoc.secretfield",{"_index":3358,"title":{},"content":{"555":{"position":[[549,36]]}},"keywords":{}}],["console.log(hero.firstnam",{"_index":6519,"title":{},"content":{"1311":{"position":[[1605,28]]}},"keywords":{}}],["console.log(heroes.scream",{"_index":4601,"title":{},"content":{"789":{"position":[[280,29]]}},"keywords":{}}],["console.log(heroes.whoami",{"_index":4604,"title":{},"content":{"789":{"position":[[528,29]]}},"keywords":{}}],["console.log(lastst",{"_index":5717,"title":{},"content":{"1049":{"position":[[164,23],[224,23]]}},"keywords":{}}],["console.log(mydocument.delet",{"_index":5718,"title":{},"content":{"1050":{"position":[[49,32],[118,32]]}},"keywords":{}}],["console.log(mydocument.nam",{"_index":5694,"title":{},"content":{"1042":{"position":[[266,29]]},"1043":{"position":[[170,29]]}},"keywords":{}}],["console.log(myendpoint.urlpath",{"_index":5932,"title":{},"content":{"1100":{"position":[[738,31]]}},"keywords":{}}],["console.log(result.foobar",{"_index":2930,"title":{},"content":{"439":{"position":[[779,27]]}},"keywords":{}}],["console.log.bind(consol",{"_index":6372,"title":{},"content":{"1282":{"position":[[873,25]]}},"keywords":{}}],["console.tim",{"_index":4118,"title":{},"content":{"746":{"position":[[512,14]]}},"keywords":{}}],["console.time()/console.timeend",{"_index":4116,"title":{},"content":{"746":{"position":[[71,32]]}},"keywords":{}}],["console.timeend",{"_index":4119,"title":{},"content":{"746":{"position":[[531,17]]}},"keywords":{}}],["console.warn",{"_index":3857,"title":{},"content":{"675":{"position":[[47,14]]}},"keywords":{}}],["console.warn('indexeddb",{"_index":1813,"title":{},"content":{"302":{"position":[[895,23]]}},"keywords":{}}],["consolid",{"_index":2666,"title":{},"content":{"412":{"position":[[1691,11]]}},"keywords":{}}],["const",{"_index":32,"title":{},"content":{"1":{"position":[[513,5]]},"2":{"position":[[280,5],[316,5]]},"3":{"position":[[196,5]]},"4":{"position":[[374,5]]},"5":{"position":[[284,5]]},"6":{"position":[[439,5],[479,5],[658,5]]},"7":{"position":[[316,5],[493,5]]},"8":{"position":[[954,5],[1085,5]]},"9":{"position":[[230,5]]},"10":{"position":[[213,5],[268,5]]},"11":{"position":[[794,5]]},"19":{"position":[[639,5],[811,5]]},"51":{"position":[[255,5],[682,5]]},"52":{"position":[[321,5],[367,5],[461,5],[608,5]]},"55":{"position":[[850,5],[1077,5]]},"77":{"position":[[198,5],[267,5]]},"103":{"position":[[238,5],[307,5]]},"188":{"position":[[953,5]]},"209":{"position":[[225,5],[786,5],[1080,5]]},"210":{"position":[[245,5]]},"211":{"position":[[195,5]]},"234":{"position":[[298,5],[367,5]]},"255":{"position":[[572,5],[1141,5],[1404,5]]},"258":{"position":[[133,5]]},"261":{"position":[[313,5]]},"266":{"position":[[647,5]]},"276":{"position":[[376,5]]},"300":{"position":[[217,5],[267,5],[299,5]]},"302":{"position":[[685,5],[739,5]]},"303":{"position":[[516,5],[785,5]]},"314":{"position":[[458,5]]},"315":{"position":[[418,5],[521,5]]},"334":{"position":[[316,5]]},"335":{"position":[[185,5],[627,5],[666,5]]},"361":{"position":[[513,5],[782,5]]},"367":{"position":[[694,5]]},"391":{"position":[[483,5],[606,5],[638,5]]},"392":{"position":[[326,5],[731,5],[916,5],[971,5],[1023,5],[1060,5],[1733,5],[2612,5],[2825,5],[3576,5],[3841,5],[4219,5],[4294,5],[4518,5],[4782,5]]},"393":{"position":[[973,5]]},"394":{"position":[[588,5],[625,5],[684,5],[741,5],[856,5]]},"397":{"position":[[466,5],[521,5],[1676,5],[1737,5],[1866,5],[1914,5],[2080,5]]},"398":{"position":[[751,5],[781,5],[894,5],[972,5],[1441,5],[1505,5],[1612,5],[2020,5],[2049,5],[2180,5],[2258,5],[2305,5],[2594,5],[2658,5],[2765,5]]},"403":{"position":[[470,5],[827,5]]},"412":{"position":[[4488,5]]},"425":{"position":[[355,5]]},"426":{"position":[[293,5],[481,5]]},"439":{"position":[[722,5]]},"459":{"position":[[573,5],[617,5],[677,5],[734,5],[781,5],[821,5]]},"480":{"position":[[351,5]]},"482":{"position":[[458,5],[596,5]]},"494":{"position":[[272,5]]},"522":{"position":[[397,5]]},"523":{"position":[[327,5],[377,5],[446,5]]},"538":{"position":[[412,5],[556,5]]},"539":{"position":[[321,5],[367,5],[461,5],[608,5]]},"541":{"position":[[253,5],[346,5],[379,5]]},"542":{"position":[[511,5],[781,5]]},"554":{"position":[[900,5],[1035,5]]},"555":{"position":[[190,5],[257,5],[449,5]]},"556":{"position":[[375,5],[792,5],[891,5]]},"559":{"position":[[270,5],[322,5]]},"562":{"position":[[150,5],[264,5],[646,5],[1124,5],[1187,5],[1286,5]]},"563":{"position":[[462,5],[669,5],[699,5]]},"564":{"position":[[426,5],[566,5]]},"571":{"position":[[1102,5]]},"579":{"position":[[325,5]]},"580":{"position":[[374,5]]},"598":{"position":[[419,5],[563,5]]},"599":{"position":[[348,5],[394,5],[488,5],[635,5]]},"601":{"position":[[446,5],[510,5],[567,5]]},"602":{"position":[[219,5]]},"611":{"position":[[627,5]]},"612":{"position":[[1134,5],[1779,5],[1802,5],[1998,5],[2083,5],[2204,5],[2246,5]]},"632":{"position":[[1271,5]]},"638":{"position":[[310,5],[413,5]]},"647":{"position":[[151,5],[377,5],[517,5]]},"648":{"position":[[93,5],[226,5]]},"649":{"position":[[92,5],[182,5],[236,5]]},"653":{"position":[[236,5]]},"659":{"position":[[556,5]]},"661":{"position":[[1086,5],[1140,5]]},"662":{"position":[[1805,5],[2099,5],[2306,5],[2663,5]]},"672":{"position":[[184,5]]},"673":{"position":[[190,5]]},"674":{"position":[[473,5]]},"678":{"position":[[228,5]]},"680":{"position":[[649,5],[792,5],[1212,5]]},"691":{"position":[[210,5]]},"693":{"position":[[713,5],[782,5],[1016,5],[1086,5],[1157,5]]},"710":{"position":[[1678,5],[1795,5],[1970,5]]},"711":{"position":[[1102,5],[1138,5],[1724,5]]},"717":{"position":[[770,5],[1138,5],[1403,5]]},"718":{"position":[[343,5],[453,5],[641,5]]},"720":{"position":[[118,5]]},"724":{"position":[[504,5],[1607,5],[1789,5]]},"734":{"position":[[280,5],[463,5],[594,5]]},"739":{"position":[[267,5],[614,5]]},"740":{"position":[[499,5]]},"745":{"position":[[378,5],[512,5]]},"746":{"position":[[266,5]]},"747":{"position":[[83,5]]},"751":{"position":[[1272,5],[1413,5]]},"752":{"position":[[345,5],[644,5],[842,5],[1398,5]]},"753":{"position":[[230,5]]},"754":{"position":[[229,5]]},"759":{"position":[[343,5]]},"770":{"position":[[445,5]]},"772":{"position":[[753,5],[997,5],[1588,5],[2170,5],[2350,5]]},"773":{"position":[[543,5]]},"774":{"position":[[645,5]]},"789":{"position":[[145,5],[392,5]]},"791":{"position":[[1,5],[136,5],[260,5],[456,5]]},"792":{"position":[[128,5],[267,5],[310,5]]},"796":{"position":[[416,5],[838,5],[1132,5]]},"797":{"position":[[235,5]]},"798":{"position":[[528,5]]},"799":{"position":[[556,5],[666,5],[788,5]]},"800":{"position":[[789,5],[848,5]]},"806":{"position":[[558,5]]},"808":{"position":[[118,5],[493,5]]},"810":{"position":[[329,5],[387,5]]},"811":{"position":[[309,5],[367,5]]},"812":{"position":[[1,5],[238,5]]},"813":{"position":[[1,5],[333,5],[393,5]]},"818":{"position":[[468,5]]},"820":{"position":[[143,5]]},"825":{"position":[[318,5]]},"826":{"position":[[431,5],[493,5],[586,5],[682,5],[794,5],[892,5],[1013,5],[1097,5]]},"829":{"position":[[622,5],[1392,5],[1415,5],[1480,5],[1512,5],[1947,5],[2366,5],[2456,5],[2485,5],[3282,5],[3372,5],[3400,5]]},"835":{"position":[[485,5]]},"836":{"position":[[672,5]]},"837":{"position":[[1835,5],[2094,5]]},"838":{"position":[[2177,5],[2520,5],[2877,5]]},"846":{"position":[[117,5]]},"848":{"position":[[178,5],[279,5],[634,5],[1269,5]]},"851":{"position":[[285,5]]},"852":{"position":[[152,5]]},"854":{"position":[[197,5],[232,5],[348,5],[393,5],[575,5]]},"857":{"position":[[275,5]]},"858":{"position":[[157,5]]},"862":{"position":[[522,5],[612,5],[866,5],[956,5],[1109,5]]},"866":{"position":[[407,5]]},"872":{"position":[[884,5],[973,5],[1696,5],[2349,5],[3239,5],[3350,5],[3954,5],[4435,5]]},"875":{"position":[[393,5],[868,5],[935,5],[988,5],[1044,5],[1110,5],[2106,5],[2131,5],[2182,5],[2616,5],[3069,5],[3186,5],[3255,5],[3311,5],[3428,5],[4403,5],[4474,5],[4503,5],[4525,5],[4631,5],[6113,5],[6213,5],[6405,5],[7381,5],[8071,5],[8108,5],[8243,5],[8378,5],[9490,5],[9527,5],[9687,5]]},"878":{"position":[[254,5]]},"882":{"position":[[371,5]]},"885":{"position":[[1460,5],[1504,5],[1561,5],[1681,5],[1996,5],[2349,5],[2462,5],[2515,5]]},"886":{"position":[[363,5],[560,5],[985,5],[2271,5],[2309,5],[2452,5],[2617,5],[3460,5],[3509,5],[3804,5]]},"887":{"position":[[226,5]]},"888":{"position":[[367,5],[1021,5]]},"889":{"position":[[416,5]]},"892":{"position":[[152,5],[236,5]]},"893":{"position":[[197,5]]},"898":{"position":[[2304,5],[3035,5],[3302,5]]},"904":{"position":[[697,5],[1781,5]]},"906":{"position":[[968,5]]},"907":{"position":[[257,5]]},"910":{"position":[[211,5]]},"911":{"position":[[602,5]]},"916":{"position":[[125,5],[311,5]]},"917":{"position":[[116,5]]},"918":{"position":[[79,5]]},"919":{"position":[[86,5]]},"920":{"position":[[57,5]]},"921":{"position":[[156,5]]},"929":{"position":[[69,5]]},"930":{"position":[[74,5],[130,5]]},"931":{"position":[[74,5],[130,5]]},"932":{"position":[[68,5],[130,5],[908,5],[1026,5],[1177,5]]},"934":{"position":[[203,5]]},"939":{"position":[[130,5],[209,5]]},"942":{"position":[[170,5]]},"943":{"position":[[367,5]]},"944":{"position":[[177,5]]},"945":{"position":[[118,5],[439,5]]},"946":{"position":[[142,5]]},"947":{"position":[[153,5]]},"948":{"position":[[374,5]]},"949":{"position":[[112,5]]},"951":{"position":[[318,5],[361,5]]},"957":{"position":[[89,5]]},"960":{"position":[[265,5]]},"962":{"position":[[736,5],[947,5]]},"966":{"position":[[519,5],[637,5]]},"967":{"position":[[104,5],[222,5]]},"968":{"position":[[490,5]]},"978":{"position":[[124,5]]},"979":{"position":[[218,5]]},"986":{"position":[[724,5]]},"988":{"position":[[217,5],[2497,5],[2829,5],[3558,5],[3690,5],[3807,5],[5065,5],[5200,5]]},"995":{"position":[[1842,5]]},"1002":{"position":[[514,5],[979,5],[1168,5]]},"1003":{"position":[[360,5]]},"1007":{"position":[[1155,5],[1303,5],[1352,5],[1505,5],[1663,5],[1836,5]]},"1013":{"position":[[273,5]]},"1014":{"position":[[177,5],[318,5]]},"1015":{"position":[[153,5]]},"1016":{"position":[[112,5]]},"1017":{"position":[[91,5]]},"1018":{"position":[[54,5],[125,5],[463,5],[502,5],[774,5],[937,5]]},"1020":{"position":[[333,5],[575,6]]},"1022":{"position":[[429,5],[591,6],[987,5]]},"1023":{"position":[[88,5],[247,6],[400,5],[651,5]]},"1024":{"position":[[182,5],[333,6],[355,5],[427,5]]},"1033":{"position":[[475,5],[605,5]]},"1036":{"position":[[102,5]]},"1038":{"position":[[128,5],[191,5]]},"1042":{"position":[[105,5]]},"1045":{"position":[[52,5],[116,5],[185,5]]},"1051":{"position":[[158,5],[424,5]]},"1052":{"position":[[176,5]]},"1053":{"position":[[87,5]]},"1055":{"position":[[176,5]]},"1056":{"position":[[84,5],[180,5],[300,5]]},"1057":{"position":[[68,5],[103,5],[425,5],[588,5]]},"1058":{"position":[[202,5],[237,5]]},"1059":{"position":[[212,5]]},"1060":{"position":[[80,5]]},"1061":{"position":[[81,5]]},"1062":{"position":[[137,5],[250,5]]},"1063":{"position":[[61,5]]},"1064":{"position":[[290,5],[345,5]]},"1066":{"position":[[334,5]]},"1067":{"position":[[276,5],[432,5],[1270,5],[1537,5],[1940,5],[2035,5],[2093,5],[2354,5]]},"1069":{"position":[[448,5],[597,5],[704,5],[754,5]]},"1070":{"position":[[84,5]]},"1072":{"position":[[2333,5],[2450,5],[2628,5]]},"1078":{"position":[[108,5],[1010,5],[1108,5]]},"1080":{"position":[[1,5]]},"1082":{"position":[[141,5]]},"1083":{"position":[[343,5]]},"1090":{"position":[[755,5],[998,5]]},"1097":{"position":[[682,5]]},"1098":{"position":[[318,5]]},"1099":{"position":[[292,5]]},"1100":{"position":[[631,5]]},"1101":{"position":[[445,5],[627,5]]},"1102":{"position":[[319,5],[457,5],[679,5],[917,5],[1010,5]]},"1103":{"position":[[178,5],[282,5]]},"1105":{"position":[[708,5]]},"1106":{"position":[[646,5]]},"1108":{"position":[[376,5]]},"1109":{"position":[[165,5]]},"1114":{"position":[[688,5],[816,5],[912,5]]},"1116":{"position":[[333,5],[383,5],[419,5],[471,5],[518,5],[587,5],[638,5]]},"1117":{"position":[[309,5],[353,5]]},"1118":{"position":[[470,5],[622,5],[749,5],[792,5],[835,5]]},"1121":{"position":[[428,5],[529,5],[572,5]]},"1125":{"position":[[260,5]]},"1126":{"position":[[350,5],[663,5]]},"1130":{"position":[[133,5]]},"1134":{"position":[[120,5]]},"1138":{"position":[[264,5]]},"1139":{"position":[[403,5],[452,5],[519,5]]},"1140":{"position":[[578,5],[699,5]]},"1144":{"position":[[168,5]]},"1145":{"position":[[392,5],[441,5],[508,5]]},"1146":{"position":[[213,5]]},"1148":{"position":[[737,5],[1107,5]]},"1149":{"position":[[900,5],[1280,5]]},"1154":{"position":[[455,5],[722,5]]},"1158":{"position":[[176,5],[655,5]]},"1159":{"position":[[362,5]]},"1163":{"position":[[278,5],[384,5],[522,5]]},"1164":{"position":[[118,5]]},"1165":{"position":[[288,5],[335,5],[444,5],[700,5],[1038,5]]},"1168":{"position":[[124,5]]},"1172":{"position":[[196,5],[289,5]]},"1177":{"position":[[228,5],[284,5]]},"1182":{"position":[[278,5],[388,5],[526,5]]},"1184":{"position":[[634,5],[765,5]]},"1185":{"position":[[294,5]]},"1186":{"position":[[252,5]]},"1189":{"position":[[377,5]]},"1201":{"position":[[164,5]]},"1204":{"position":[[293,5]]},"1208":{"position":[[702,5],[781,5],[909,5],[1050,5],[1210,5],[1304,5],[1350,5],[1409,5],[1716,5]]},"1210":{"position":[[398,5]]},"1211":{"position":[[653,5]]},"1212":{"position":[[442,5]]},"1213":{"position":[[662,5]]},"1218":{"position":[[351,5],[549,5]]},"1219":{"position":[[480,5],[651,5],[862,5]]},"1220":{"position":[[159,5],[456,5],[535,5]]},"1222":{"position":[[229,5],[530,5],[1369,5]]},"1226":{"position":[[194,5]]},"1227":{"position":[[672,5]]},"1231":{"position":[[776,5],[1003,5],[1140,5]]},"1237":{"position":[[814,5]]},"1238":{"position":[[789,5]]},"1239":{"position":[[759,5]]},"1249":{"position":[[467,5]]},"1264":{"position":[[116,5]]},"1265":{"position":[[660,5]]},"1266":{"position":[[165,5],[195,5],[250,5],[370,5],[443,5]]},"1267":{"position":[[467,5],[591,5],[685,5]]},"1268":{"position":[[418,5]]},"1271":{"position":[[1405,5],[1543,5]]},"1274":{"position":[[294,5]]},"1275":{"position":[[305,5]]},"1276":{"position":[[820,5],[867,5],[907,5]]},"1277":{"position":[[354,5],[858,5]]},"1278":{"position":[[431,5],[883,5]]},"1279":{"position":[[627,5],[681,5]]},"1280":{"position":[[416,5]]},"1282":{"position":[[751,5],[1122,5]]},"1286":{"position":[[389,5],[473,5]]},"1287":{"position":[[435,5],[523,5]]},"1288":{"position":[[395,5],[489,5]]},"1290":{"position":[[53,5]]},"1294":{"position":[[765,5],[801,5],[891,5],[932,5],[1167,5],[1448,5],[1594,5]]},"1296":{"position":[[796,5],[1344,5],[1453,5]]},"1309":{"position":[[491,5],[1366,5]]},"1311":{"position":[[101,5],[240,5],[621,5],[779,5],[892,5],[1453,5],[1722,5]]},"1315":{"position":[[548,5],[633,5]]}},"keywords":{}}],["constant",{"_index":710,"title":{},"content":{"46":{"position":[[335,8]]},"273":{"position":[[199,8]]},"410":{"position":[[1560,8]]},"414":{"position":[[378,8]]}},"keywords":{}}],["constantli",{"_index":1924,"title":{},"content":{"323":{"position":[[483,10]]},"481":{"position":[[845,10]]}},"keywords":{}}],["constel",{"_index":384,"title":{},"content":{"23":{"position":[[216,13]]}},"keywords":{}}],["constrain",{"_index":2545,"title":{},"content":{"408":{"position":[[2354,11]]}},"keywords":{}}],["constraint",{"_index":865,"title":{},"content":{"58":{"position":[[67,12]]},"228":{"position":[[251,11]]},"252":{"position":[[48,11]]},"262":{"position":[[351,11]]},"276":{"position":[[100,11]]},"304":{"position":[[217,11]]},"354":{"position":[[447,12],[484,11],[525,12],[1101,11],[1464,12]]},"362":{"position":[[294,12]]},"382":{"position":[[157,11]]},"412":{"position":[[9664,11]]},"460":{"position":[[810,12]]},"495":{"position":[[846,11]]},"699":{"position":[[1003,10]]},"796":{"position":[[809,10]]},"1157":{"position":[[78,12]]}},"keywords":{}}],["construct",{"_index":2842,"title":{},"content":{"420":{"position":[[1269,13]]},"770":{"position":[[46,12]]},"886":{"position":[[308,9]]},"1257":{"position":[[184,10]]}},"keywords":{}}],["constructor",{"_index":1094,"title":{},"content":{"130":{"position":[[363,12]]},"1226":{"position":[[370,11]]},"1264":{"position":[[280,11]]}},"keywords":{}}],["constructor(priv",{"_index":814,"title":{},"content":{"54":{"position":[[60,19]]}},"keywords":{}}],["consult",{"_index":3656,"title":{},"content":{"619":{"position":[[6,10]]},"730":{"position":[[209,7]]},"793":{"position":[[1485,10]]},"885":{"position":[[2706,7]]}},"keywords":{}}],["consum",{"_index":1716,"title":{},"content":{"298":{"position":[[408,9]]},"408":{"position":[[2994,7]]},"430":{"position":[[480,7]]},"622":{"position":[[522,8]]},"670":{"position":[[218,9]]},"693":{"position":[[199,7]]},"708":{"position":[[353,8]]},"829":{"position":[[447,7]]},"871":{"position":[[349,8]]},"1246":{"position":[[2225,7]]}},"keywords":{}}],["consumpt",{"_index":2584,"title":{},"content":{"409":{"position":[[109,12]]}},"keywords":{}}],["contact",{"_index":4630,"title":{},"content":{"793":{"position":[[1477,7]]}},"keywords":{}}],["contain",{"_index":580,"title":{},"content":{"37":{"position":[[117,8]]},"269":{"position":[[235,9]]},"390":{"position":[[1291,7]]},"397":{"position":[[411,8]]},"452":{"position":[[670,8]]},"543":{"position":[[126,8]]},"571":{"position":[[601,8]]},"603":{"position":[[124,8]]},"698":{"position":[[1136,8],[1339,8]]},"724":{"position":[[1579,8]]},"732":{"position":[[84,8]]},"749":{"position":[[359,7],[826,8],[3674,7],[6524,8],[11707,7],[11804,7],[13081,8],[18621,7],[18746,7],[23382,7]]},"789":{"position":[[92,8]]},"805":{"position":[[25,8]]},"816":{"position":[[126,8]]},"854":{"position":[[1409,8]]},"861":{"position":[[480,10]]},"875":{"position":[[3813,8],[7993,7]]},"886":{"position":[[1540,8]]},"887":{"position":[[125,8]]},"888":{"position":[[839,8]]},"889":{"position":[[275,8]]},"904":{"position":[[2865,7],[3011,7],[3281,8]]},"982":{"position":[[80,8]]},"983":{"position":[[610,8]]},"984":{"position":[[408,7]]},"985":{"position":[[212,8]]},"986":{"position":[[863,8]]},"988":{"position":[[2009,8],[2704,8],[3325,7],[3873,8],[4654,7]]},"990":{"position":[[796,7],[843,8],[882,7]]},"1004":{"position":[[283,7],[320,9],[688,7]]},"1023":{"position":[[611,7]]},"1074":{"position":[[540,7]]},"1077":{"position":[[22,8]]},"1092":{"position":[[176,8]]},"1104":{"position":[[414,7],[522,8]]},"1106":{"position":[[448,8]]},"1116":{"position":[[92,8]]},"1189":{"position":[[228,8]]},"1208":{"position":[[237,8]]},"1219":{"position":[[27,8]]},"1226":{"position":[[299,8]]},"1227":{"position":[[37,10],[69,8]]},"1237":{"position":[[355,7]]},"1264":{"position":[[215,8]]},"1265":{"position":[[30,10],[62,8]]},"1268":{"position":[[366,8]]},"1271":{"position":[[133,8],[579,8],[633,8]]},"1276":{"position":[[616,8]]},"1282":{"position":[[33,7]]},"1290":{"position":[[173,7]]},"1291":{"position":[[171,7]]},"1294":{"position":[[485,8]]},"1296":{"position":[[667,8]]},"1305":{"position":[[760,7]]},"1313":{"position":[[82,9]]},"1319":{"position":[[219,10],[389,10]]},"1322":{"position":[[472,7]]}},"keywords":{}}],["contemporari",{"_index":2914,"title":{},"content":{"434":{"position":[[399,12]]}},"keywords":{}}],["content",{"_index":1191,"title":{},"content":{"167":{"position":[[125,9]]},"211":{"position":[[487,8]]},"270":{"position":[[157,8]]},"314":{"position":[[819,8]]},"392":{"position":[[516,8]]},"421":{"position":[[88,8]]},"433":{"position":[[213,8]]},"500":{"position":[[662,7]]},"556":{"position":[[989,9]]},"612":{"position":[[1466,7],[1900,8]]},"626":{"position":[[225,7]]},"714":{"position":[[772,8],[828,8]]},"875":{"position":[[6330,8],[7284,8]]},"912":{"position":[[571,7]]},"988":{"position":[[2625,8]]},"1102":{"position":[[598,8]]},"1287":{"position":[[136,7]]}},"keywords":{}}],["contentasstr",{"_index":6215,"title":{},"content":{"1208":{"position":[[1415,15]]}},"keywords":{}}],["contention.effici",{"_index":2145,"title":{},"content":{"376":{"position":[[432,20]]}},"keywords":{}}],["context",{"_index":210,"title":{},"content":{"14":{"position":[[352,8]]},"173":{"position":[[8,7]]},"346":{"position":[[392,8]]},"439":{"position":[[119,7]]},"460":{"position":[[859,7]]},"570":{"position":[[210,7]]},"571":{"position":[[8,7]]},"618":{"position":[[8,7]]},"640":{"position":[[556,8]]},"749":{"position":[[24111,8]]},"829":{"position":[[1003,8]]},"901":{"position":[[691,9]]},"1214":{"position":[[177,9],[210,7],[234,8],[291,8],[619,8]]},"1301":{"position":[[724,9]]}},"keywords":{}}],["contextu",{"_index":3906,"title":{},"content":{"690":{"position":[[112,10]]},"723":{"position":[[2172,10]]}},"keywords":{}}],["continu",{"_index":706,"title":{},"content":{"46":{"position":[[161,8]]},"61":{"position":[[1,8]]},"65":{"position":[[610,8]]},"157":{"position":[[287,8]]},"164":{"position":[[179,8]]},"170":{"position":[[577,8]]},"173":{"position":[[1490,8]]},"208":{"position":[[265,12]]},"215":{"position":[[189,8]]},"255":{"position":[[280,10]]},"292":{"position":[[380,9]]},"309":{"position":[[215,10]]},"320":{"position":[[178,8]]},"327":{"position":[[113,9]]},"338":{"position":[[105,8]]},"375":{"position":[[217,8],[650,10]]},"380":{"position":[[144,8]]},"410":{"position":[[1012,8]]},"411":{"position":[[443,10]]},"419":{"position":[[249,8]]},"446":{"position":[[215,8]]},"464":{"position":[[1360,8]]},"483":{"position":[[528,8]]},"486":{"position":[[252,8]]},"489":{"position":[[649,9]]},"491":{"position":[[274,12]]},"510":{"position":[[85,8],[462,9]]},"530":{"position":[[587,9]]},"574":{"position":[[224,8]]},"582":{"position":[[657,10]]},"624":{"position":[[727,10]]},"630":{"position":[[670,8]]},"632":{"position":[[2598,12]]},"647":{"position":[[86,8]]},"724":{"position":[[598,8]]},"824":{"position":[[324,8],[503,9]]},"965":{"position":[[194,13]]},"981":{"position":[[1319,8]]},"1003":{"position":[[21,9]]},"1294":{"position":[[714,8],[1265,8]]},"1319":{"position":[[756,9]]}},"keywords":{}}],["contrari",{"_index":2897,"title":{},"content":{"429":{"position":[[1,8]]}},"keywords":{}}],["contrast",{"_index":587,"title":{},"content":{"38":{"position":[[151,8]]},"99":{"position":[[256,9]]},"100":{"position":[[153,9]]},"226":{"position":[[205,9]]},"265":{"position":[[719,9]]},"351":{"position":[[130,9]]},"412":{"position":[[8786,8]]},"439":{"position":[[337,8]]},"521":{"position":[[349,9]]},"535":{"position":[[1233,9]]},"571":{"position":[[509,8]]},"630":{"position":[[203,9]]},"851":{"position":[[4,8]]},"903":{"position":[[115,9]]},"981":{"position":[[4,8]]},"1065":{"position":[[1932,8]]},"1192":{"position":[[235,9]]}},"keywords":{}}],["contribut",{"_index":3255,"title":{"665":{"position":[[0,12]]}},"content":{"517":{"position":[[341,12]]},"669":{"position":[[28,13]]},"670":{"position":[[606,13]]}},"keywords":{}}],["contributor",{"_index":2174,"title":{},"content":{"387":{"position":[[281,12]]}},"keywords":{}}],["control",{"_index":971,"title":{},"content":{"75":{"position":[[86,7]]},"97":{"position":[[121,7]]},"263":{"position":[[333,7]]},"407":{"position":[[758,7],[1160,7]]},"410":{"position":[[490,7],[629,7]]},"411":{"position":[[5327,7]]},"412":{"position":[[12071,8],[12857,8],[15178,7]]},"417":{"position":[[80,7]]},"418":{"position":[[319,7]]},"551":{"position":[[406,8]]},"569":{"position":[[267,8],[873,11]]},"612":{"position":[[1944,9]]},"621":{"position":[[873,8]]},"635":{"position":[[338,7]]},"690":{"position":[[62,7],[615,8]]},"860":{"position":[[968,9]]},"861":{"position":[[2269,7]]},"875":{"position":[[7356,9]]},"912":{"position":[[656,7]]},"1009":{"position":[[830,7]]},"1147":{"position":[[309,7]]},"1206":{"position":[[289,7]]},"1305":{"position":[[422,8]]}},"keywords":{}}],["conveni",{"_index":643,"title":{},"content":{"40":{"position":[[833,11]]},"130":{"position":[[45,10]]},"247":{"position":[[14,10]]},"371":{"position":[[68,10]]},"402":{"position":[[2041,10]]},"424":{"position":[[387,10]]},"427":{"position":[[13,12]]},"430":{"position":[[27,12]]},"559":{"position":[[1005,10]]},"693":{"position":[[254,10]]}},"keywords":{}}],["converg",{"_index":2517,"title":{},"content":{"407":{"position":[[303,8]]},"411":{"position":[[4750,9]]},"700":{"position":[[362,9]]}},"keywords":{}}],["convers",{"_index":3474,"title":{},"content":{"572":{"position":[[88,12]]}},"keywords":{}}],["convert",{"_index":829,"title":{},"content":{"55":{"position":[[114,7]]},"397":{"position":[[181,7],[1554,9]]}},"keywords":{}}],["cooki",{"_index":1766,"title":{"434":{"position":[[16,8]]},"448":{"position":[[31,7]]},"450":{"position":[[9,8]]}},"content":{"299":{"position":[[1731,6]]},"408":{"position":[[330,7]]},"434":{"position":[[1,8],[250,7],[342,7]]},"450":{"position":[[1,7],[52,7],[173,7],[273,7],[310,7],[454,6],[498,6],[574,7]]},"460":{"position":[[1040,8]]},"461":{"position":[[1,7],[75,7],[189,6],[268,7],[516,7],[573,7]]},"462":{"position":[[893,9]]},"463":{"position":[[255,7]]},"696":{"position":[[822,8],[876,7]]},"793":{"position":[[1367,7]]},"890":{"position":[[375,8],[483,7],[625,7]]}},"keywords":{}}],["cookiescannot",{"_index":3009,"title":{},"content":{"460":{"position":[[724,13]]}},"keywords":{}}],["cookiestor",{"_index":2955,"title":{},"content":{"450":{"position":[[796,11]]}},"keywords":{}}],["coordin",{"_index":1392,"title":{},"content":{"212":{"position":[[658,12]]},"303":{"position":[[1267,11]]},"751":{"position":[[1278,11]]},"964":{"position":[[574,12]]},"1007":{"position":[[152,12]]}},"keywords":{}}],["copi",{"_index":2516,"title":{},"content":{"407":{"position":[[38,4]]},"411":{"position":[[4117,4]]},"412":{"position":[[4291,4],[5718,4]]},"417":{"position":[[36,4]]},"775":{"position":[[306,6],[497,4]]},"1210":{"position":[[577,4]]},"1227":{"position":[[342,4],[795,6]]},"1265":{"position":[[335,4],[777,6]]}},"keywords":{}}],["cor",{"_index":4964,"title":{"1103":{"position":[[0,5]]}},"content":{"872":{"position":[[3336,5]]},"1103":{"position":[[63,4],[85,4],[114,5],[241,5],[390,5]]}},"keywords":{}}],["cordova",{"_index":140,"title":{"11":{"position":[[0,7]]}},"content":{"10":{"position":[[409,7]]},"11":{"position":[[65,7],[120,7],[182,7],[884,8],[977,7]]},"661":{"position":[[308,7]]},"964":{"position":[[474,7]]},"1247":{"position":[[108,7]]}},"keywords":{}}],["cordova'",{"_index":143,"title":{},"content":{"11":{"position":[[6,9]]}},"keywords":{}}],["cordova.sqliteplugin",{"_index":145,"title":{},"content":{"11":{"position":[[23,21]]}},"keywords":{}}],["core",{"_index":1077,"title":{},"content":{"121":{"position":[[8,4]]},"180":{"position":[[84,4]]},"187":{"position":[[28,4]]},"207":{"position":[[15,4]]},"273":{"position":[[8,5]]},"362":{"position":[[1035,4]]},"379":{"position":[[8,4]]},"387":{"position":[[349,4]]},"392":{"position":[[3722,4],[3836,4],[4697,4],[5219,6]]},"419":{"position":[[430,4]]},"490":{"position":[[8,4]]},"513":{"position":[[249,4]]},"542":{"position":[[230,4]]},"574":{"position":[[37,4]]},"662":{"position":[[1898,4],[2059,4]]},"732":{"position":[[102,5]]},"761":{"position":[[96,4]]},"793":{"position":[[83,4]]},"831":{"position":[[125,4]]},"837":{"position":[[106,4],[1569,6]]},"838":{"position":[[2038,4]]},"899":{"position":[[38,4]]},"960":{"position":[[81,4]]},"1097":{"position":[[463,4]]},"1181":{"position":[[897,4]]},"1198":{"position":[[2336,4]]},"1271":{"position":[[124,5]]},"1292":{"position":[[157,4]]}},"keywords":{}}],["core(tm",{"_index":6400,"title":{},"content":{"1292":{"position":[[180,8]]}},"keywords":{}}],["corner",{"_index":4111,"title":{},"content":{"742":{"position":[[87,7]]}},"keywords":{}}],["cornerston",{"_index":3224,"title":{},"content":{"502":{"position":[[246,11]]},"517":{"position":[[23,11]]}},"keywords":{}}],["corpor",{"_index":1730,"title":{},"content":{"298":{"position":[[807,9]]},"624":{"position":[[291,9]]}},"keywords":{}}],["correct",{"_index":3715,"title":{"1120":{"position":[[0,11]]}},"content":{"638":{"position":[[923,7]]},"656":{"position":[[446,7]]},"698":{"position":[[271,7]]},"708":{"position":[[198,7],[440,7]]},"749":{"position":[[16570,7]]},"875":{"position":[[3005,7],[3968,7]]},"1030":{"position":[[254,7]]},"1097":{"position":[[514,7]]},"1115":{"position":[[554,7],[754,7]]},"1120":{"position":[[26,12]]},"1228":{"position":[[237,7]]},"1251":{"position":[[293,11]]},"1271":{"position":[[821,7]]},"1300":{"position":[[529,7]]},"1315":{"position":[[1483,7]]}},"keywords":{}}],["correctli",{"_index":754,"title":{"1029":{"position":[[17,10]]}},"content":{"50":{"position":[[346,10]]},"394":{"position":[[48,9]]},"687":{"position":[[171,9]]},"779":{"position":[[94,10]]},"1316":{"position":[[1861,10]]}},"keywords":{}}],["correctly.link",{"_index":1091,"title":{},"content":{"129":{"position":[[659,14]]}},"keywords":{}}],["correspond",{"_index":2356,"title":{},"content":{"397":{"position":[[437,13]]},"778":{"position":[[94,10]]},"805":{"position":[[159,13]]},"806":{"position":[[364,13]]},"832":{"position":[[250,13]]}},"keywords":{}}],["corrupt",{"_index":1799,"title":{},"content":{"302":{"position":[[320,11]]},"358":{"position":[[637,9]]},"382":{"position":[[385,10]]}},"keywords":{}}],["cosin",{"_index":2292,"title":{},"content":{"393":{"position":[[253,6]]}},"keywords":{}}],["cost",{"_index":1314,"title":{"204":{"position":[[15,5]]},"251":{"position":[[17,6]]},"295":{"position":[[0,4]]}},"content":{"251":{"position":[[295,6]]},"263":{"position":[[305,6]]},"295":{"position":[[51,4]]},"402":{"position":[[1064,4]]},"1124":{"position":[[1780,5]]},"1132":{"position":[[1189,4]]},"1304":{"position":[[1452,4]]}},"keywords":{}}],["costli",{"_index":4812,"title":{},"content":{"841":{"position":[[1107,6]]}},"keywords":{}}],["couch",{"_index":2156,"title":{},"content":{"381":{"position":[[206,5]]},"841":{"position":[[555,5]]}},"keywords":{}}],["couchbas",{"_index":411,"title":{"25":{"position":[[0,10]]}},"content":{"25":{"position":[[1,9],[247,9]]},"837":{"position":[[911,9]]}},"keywords":{}}],["couchdb",{"_index":239,"title":{"23":{"position":[[0,8]]},"843":{"position":[[17,7]]}},"content":{"14":{"position":[[1121,7]]},"23":{"position":[[10,7],[177,7],[419,7]]},"24":{"position":[[72,7],[306,7],[350,7],[799,7]]},"26":{"position":[[52,7]]},"27":{"position":[[220,7]]},"113":{"position":[[245,8]]},"174":{"position":[[3077,8]]},"238":{"position":[[160,8]]},"249":{"position":[[183,8]]},"255":{"position":[[1699,8]]},"289":{"position":[[448,7],[493,7],[586,8],[706,7],[814,7]]},"312":{"position":[[146,9]]},"350":{"position":[[160,8]]},"381":{"position":[[129,8],[146,7]]},"412":{"position":[[12519,7]]},"481":{"position":[[294,7]]},"504":{"position":[[870,7],[915,8],[985,7]]},"565":{"position":[[134,8]]},"566":{"position":[[1187,8]]},"632":{"position":[[757,8]]},"644":{"position":[[131,8]]},"685":{"position":[[157,7]]},"701":{"position":[[488,8]]},"749":{"position":[[175,7],[273,7]]},"793":{"position":[[717,7]]},"837":{"position":[[77,7],[182,7],[433,8],[801,8],[900,7]]},"838":{"position":[[627,8]]},"841":{"position":[[736,7],[790,8],[1428,7]]},"845":{"position":[[58,7]]},"846":{"position":[[107,9],[189,7],[253,7],[1235,7],[1562,7]]},"848":{"position":[[706,7],[1259,9],[1341,7]]},"849":{"position":[[7,7],[551,7],[670,7],[760,8]]},"851":{"position":[[75,7],[102,7],[254,7]]},"852":{"position":[[224,7]]},"1124":{"position":[[2271,8]]},"1149":{"position":[[130,7],[175,7],[552,7],[581,7],[647,7],[722,9],[1264,7],[1351,7],[1415,7]]},"1198":{"position":[[276,7],[464,8],[1573,7],[1708,7]]},"1199":{"position":[[57,7]]},"1313":{"position":[[1028,7]]}},"keywords":{}}],["couchdb.build",{"_index":1307,"title":{},"content":{"202":{"position":[[264,13]]}},"keywords":{}}],["couchdb/pouchdb",{"_index":2679,"title":{},"content":{"412":{"position":[[3385,18]]}},"keywords":{}}],["count",{"_index":1552,"title":{"1067":{"position":[[0,6]]}},"content":{"251":{"position":[[25,5]]},"265":{"position":[[369,7]]},"496":{"position":[[165,6]]},"746":{"position":[[736,6]]},"749":{"position":[[2604,7],[2660,7],[2839,5]]},"752":{"position":[[1170,6]]},"817":{"position":[[40,5]]},"1033":{"position":[[773,7]]},"1067":{"position":[[124,5],[384,5],[414,5],[610,5],[785,7],[1173,5],[1403,5],[1649,5],[1826,5],[1920,5],[2041,5],[2078,5],[2099,6],[2247,5]]},"1068":{"position":[[28,5],[187,8],[483,5]]},"1194":{"position":[[945,6],[995,7]]}},"keywords":{}}],["countalldocu",{"_index":6506,"title":{},"content":{"1311":{"position":[[834,18]]}},"keywords":{}}],["counter",{"_index":5776,"title":{},"content":{"1067":{"position":[[1756,8]]}},"keywords":{}}],["countri",{"_index":4450,"title":{},"content":{"751":{"position":[[1226,7]]}},"keywords":{}}],["coupl",{"_index":576,"title":{},"content":{"36":{"position":[[416,8]]},"412":{"position":[[925,7]]},"696":{"position":[[1137,6]]},"839":{"position":[[428,7]]}},"keywords":{}}],["cours",{"_index":357,"title":{},"content":{"20":{"position":[[248,6]]},"412":{"position":[[2805,6]]},"454":{"position":[[139,6]]},"457":{"position":[[474,6]]},"697":{"position":[[456,7]]},"703":{"position":[[1595,6]]},"773":{"position":[[229,6]]},"784":{"position":[[731,6]]},"1295":{"position":[[442,6]]},"1316":{"position":[[3356,7]]}},"keywords":{}}],["cover",{"_index":3020,"title":{},"content":{"461":{"position":[[1468,6]]},"839":{"position":[[678,6]]},"876":{"position":[[26,7],[119,5]]}},"keywords":{}}],["cpu",{"_index":2281,"title":{},"content":{"392":{"position":[[4693,3],[5215,3]]},"408":{"position":[[4749,4]]},"411":{"position":[[3611,3]]},"412":{"position":[[4830,3],[9294,3]]},"427":{"position":[[1236,3]]},"699":{"position":[[841,3]]},"704":{"position":[[364,5]]},"721":{"position":[[158,3],[192,3]]},"740":{"position":[[97,3]]},"975":{"position":[[162,4]]},"1164":{"position":[[1311,3]]},"1246":{"position":[[194,3],[514,3]]},"1292":{"position":[[200,4]]},"1309":{"position":[[756,3]]}},"keywords":{}}],["craft",{"_index":3223,"title":{},"content":{"502":{"position":[[57,7]]},"661":{"position":[[65,7]]},"711":{"position":[[90,7]]},"836":{"position":[[67,7]]},"837":{"position":[[1440,5]]},"848":{"position":[[116,8]]},"1079":{"position":[[424,5]]},"1296":{"position":[[840,5],[1202,7]]}},"keywords":{}}],["crash",{"_index":463,"title":{},"content":{"28":{"position":[[533,8]]},"302":{"position":[[304,7]]},"304":{"position":[[459,5]]},"990":{"position":[[328,5]]},"1010":{"position":[[204,9]]},"1090":{"position":[[1197,7]]},"1162":{"position":[[106,7]]},"1171":{"position":[[123,7]]},"1181":{"position":[[172,7]]},"1300":{"position":[[1130,7]]}},"keywords":{}}],["crdt",{"_index":628,"title":{"677":{"position":[[5,4]]},"678":{"position":[[5,4]]},"681":{"position":[[12,4]]},"683":{"position":[[0,5]]},"685":{"position":[[0,5]]},"687":{"position":[[16,6]]},"688":{"position":[[0,4]]},"689":{"position":[[13,6]]},"691":{"position":[[68,5]]}},"content":{"39":{"position":[[687,6]]},"40":{"position":[[10,4]]},"412":{"position":[[2406,5],[3675,5],[3846,5],[3917,5],[9239,4]]},"678":{"position":[[12,4],[204,4]]},"680":{"position":[[8,5],[58,4],[145,4],[192,4],[330,4],[424,4],[779,4],[965,6],[1023,4],[1070,5],[1081,4],[1101,7],[1289,4]]},"681":{"position":[[17,5],[215,5],[400,5],[497,4]]},"682":{"position":[[17,4],[163,5]]},"683":{"position":[[6,5],[91,4],[467,5]]},"684":{"position":[[34,4],[136,5]]},"685":{"position":[[1,4],[213,4],[410,4],[527,4],[660,4]]},"686":{"position":[[19,4],[224,4],[547,6],[703,4],[797,4],[842,4]]},"687":{"position":[[1,4],[231,5],[258,5],[308,4]]},"688":{"position":[[11,4],[156,4],[251,5],[371,4],[797,4],[963,6]]},"689":{"position":[[1,5],[124,5],[415,4],[540,5]]},"690":{"position":[[26,4],[237,5],[506,5]]},"691":{"position":[[703,4]]},"698":{"position":[[3059,5],[3073,4],[3220,5]]},"749":{"position":[[22581,4],[22624,4],[22772,5],[22857,5],[22918,4]]},"793":{"position":[[1139,4]]}},"keywords":{}}],["crdt1",{"_index":4417,"title":{},"content":{"749":{"position":[[22575,5]]}},"keywords":{}}],["crdt2",{"_index":4418,"title":{},"content":{"749":{"position":[[22715,5]]}},"keywords":{}}],["crdt3",{"_index":4420,"title":{},"content":{"749":{"position":[[22844,5]]}},"keywords":{}}],["creat",{"_index":198,"title":{"51":{"position":[[0,6]]},"258":{"position":[[0,6]]},"334":{"position":[[0,8]]},"538":{"position":[[0,6]]},"579":{"position":[[0,8]]},"598":{"position":[[0,6]]},"653":{"position":[[0,6]]},"803":{"position":[[0,8]]},"885":{"position":[[0,8]]},"934":{"position":[[0,8]]},"1020":{"position":[[0,8]]},"1075":{"position":[[0,6]]},"1114":{"position":[[0,8]]}},"content":{"14":{"position":[[50,8],[1055,7]]},"26":{"position":[[274,6]]},"30":{"position":[[204,7]]},"37":{"position":[[200,6]]},"45":{"position":[[119,6]]},"50":{"position":[[6,7],[223,7]]},"51":{"position":[[664,6]]},"55":{"position":[[641,8]]},"65":{"position":[[954,8],[2055,6]]},"83":{"position":[[359,6]]},"116":{"position":[[251,8]]},"124":{"position":[[99,6]]},"128":{"position":[[285,6]]},"129":{"position":[[527,7]]},"138":{"position":[[225,8]]},"145":{"position":[[93,6]]},"153":{"position":[[290,6]]},"170":{"position":[[107,6]]},"174":{"position":[[267,6]]},"177":{"position":[[55,7],[286,6]]},"181":{"position":[[178,8]]},"188":{"position":[[433,6],[474,7],[931,6],[3013,6],[3103,6]]},"194":{"position":[[63,8]]},"208":{"position":[[158,7]]},"211":{"position":[[38,6]]},"266":{"position":[[830,7]]},"275":{"position":[[219,6]]},"304":{"position":[[470,8]]},"334":{"position":[[38,6]]},"342":{"position":[[1,6]]},"346":{"position":[[137,8],[354,6],[444,6]]},"356":{"position":[[315,6],[694,6]]},"365":{"position":[[468,6]]},"368":{"position":[[273,6]]},"384":{"position":[[290,6]]},"387":{"position":[[294,8]]},"388":{"position":[[402,8]]},"390":{"position":[[247,7]]},"391":{"position":[[769,7]]},"392":{"position":[[43,6],[3811,6]]},"403":{"position":[[86,6]]},"404":{"position":[[171,8]]},"411":{"position":[[1246,8],[1667,8]]},"412":{"position":[[10910,6],[10971,8],[12534,8]]},"419":{"position":[[1644,8]]},"446":{"position":[[1308,6]]},"463":{"position":[[71,8],[1167,8]]},"464":{"position":[[1007,6]]},"480":{"position":[[33,6],[319,6]]},"482":{"position":[[564,6]]},"489":{"position":[[732,7]]},"510":{"position":[[367,6]]},"514":{"position":[[377,6]]},"530":{"position":[[647,8]]},"538":{"position":[[394,6]]},"541":{"position":[[319,6]]},"548":{"position":[[202,6]]},"554":{"position":[[1006,6],[1227,6]]},"563":{"position":[[611,6]]},"567":{"position":[[385,6]]},"579":{"position":[[802,8]]},"589":{"position":[[189,8]]},"601":{"position":[[540,6]]},"608":{"position":[[202,6]]},"611":{"position":[[1056,7]]},"612":{"position":[[622,8]]},"632":{"position":[[820,6],[1209,6]]},"653":{"position":[[60,8]]},"661":{"position":[[775,6],[1789,6]]},"662":{"position":[[1571,6],[2018,6],[2083,6],[2287,6]]},"667":{"position":[[18,8],[61,6]]},"668":{"position":[[254,6]]},"676":{"position":[[269,8]]},"680":{"position":[[512,6],[754,6]]},"693":{"position":[[169,6],[549,6]]},"698":{"position":[[1312,6],[2725,6]]},"700":{"position":[[783,6]]},"701":{"position":[[331,6],[418,8]]},"703":{"position":[[10,6]]},"705":{"position":[[11,8],[1241,8]]},"710":{"position":[[1512,6],[1662,6],[1776,6]]},"711":{"position":[[1082,6],[1203,6]]},"717":{"position":[[875,6],[958,8],[1109,6],[1251,6]]},"718":{"position":[[612,6]]},"719":{"position":[[316,7],[475,8]]},"724":{"position":[[337,6]]},"734":{"position":[[387,6],[560,6]]},"745":{"position":[[105,6],[466,6],[599,6]]},"749":{"position":[[3362,6],[5402,7],[13274,6],[22244,6]]},"752":{"position":[[72,8]]},"757":{"position":[[130,7]]},"759":{"position":[[317,6]]},"770":{"position":[[572,7]]},"776":{"position":[[128,7]]},"781":{"position":[[252,6]]},"784":{"position":[[182,6]]},"789":{"position":[[57,6]]},"793":{"position":[[954,8]]},"815":{"position":[[200,7]]},"817":{"position":[[251,8]]},"818":{"position":[[302,6]]},"829":{"position":[[175,7],[392,8],[1074,7],[3722,7]]},"830":{"position":[[301,8]]},"836":{"position":[[593,6],[825,6]]},"837":{"position":[[2021,6]]},"838":{"position":[[1888,6],[2158,6]]},"840":{"position":[[487,7]]},"848":{"position":[[1121,6]]},"851":{"position":[[60,6],[159,6],[236,6]]},"861":{"position":[[499,6],[921,6],[971,8],[1012,6],[1260,6],[2512,8]]},"862":{"position":[[485,6]]},"872":{"position":[[713,6],[792,6],[1341,6],[1387,6],[1663,6],[3641,6]]},"875":{"position":[[4156,7],[7826,6]]},"882":{"position":[[344,8]]},"885":{"position":[[143,6]]},"886":{"position":[[3235,6],[3278,6],[4960,6]]},"892":{"position":[[120,6]]},"898":{"position":[[66,6],[131,6],[830,6],[892,6],[1249,6],[1539,6],[1581,6],[2704,6]]},"904":{"position":[[273,6],[340,6],[384,6],[1028,8],[1227,8],[2324,6],[2449,6]]},"906":{"position":[[467,8],[626,6]]},"917":{"position":[[635,6]]},"932":{"position":[[854,6],[1376,6]]},"934":{"position":[[4,6],[830,6]]},"939":{"position":[[111,7]]},"952":{"position":[[22,6]]},"954":{"position":[[209,7]]},"955":{"position":[[180,6]]},"958":{"position":[[250,6],[282,6],[458,6],[727,8]]},"960":{"position":[[17,7]]},"964":{"position":[[25,6]]},"966":{"position":[[24,6],[759,6]]},"967":{"position":[[344,6]]},"971":{"position":[[22,6]]},"976":{"position":[[231,6]]},"977":{"position":[[386,8]]},"981":{"position":[[507,8]]},"987":{"position":[[593,6],[1101,6]]},"988":{"position":[[4881,8]]},"1007":{"position":[[269,6]]},"1009":{"position":[[768,8]]},"1013":{"position":[[60,6],[118,8]]},"1014":{"position":[[1,7]]},"1015":{"position":[[1,7]]},"1020":{"position":[[15,7]]},"1055":{"position":[[4,6]]},"1067":{"position":[[2328,8]]},"1068":{"position":[[106,8]]},"1069":{"position":[[392,6],[512,7]]},"1076":{"position":[[132,6]]},"1078":{"position":[[359,6],[784,6]]},"1080":{"position":[[859,6],[951,6]]},"1085":{"position":[[802,6],[2854,7],[2923,7],[3660,8],[3744,6]]},"1097":{"position":[[4,6],[162,6]]},"1102":{"position":[[278,8]]},"1103":{"position":[[6,8]]},"1108":{"position":[[22,7]]},"1114":{"position":[[23,7],[257,6],[399,6],[792,6],[875,6]]},"1117":{"position":[[175,7]]},"1119":{"position":[[333,8]]},"1125":{"position":[[806,6]]},"1126":{"position":[[119,8]]},"1135":{"position":[[278,6]]},"1138":{"position":[[117,8]]},"1144":{"position":[[149,6]]},"1148":{"position":[[683,6],[842,8],[1082,6]]},"1149":{"position":[[852,6]]},"1150":{"position":[[297,7]]},"1154":{"position":[[135,8],[669,6]]},"1158":{"position":[[157,6]]},"1163":{"position":[[457,6]]},"1164":{"position":[[346,7]]},"1165":{"position":[[254,8],[481,6],[611,7],[928,6]]},"1174":{"position":[[479,8],[773,8]]},"1182":{"position":[[461,6]]},"1189":{"position":[[178,8]]},"1194":{"position":[[151,6]]},"1198":{"position":[[144,7]]},"1208":{"position":[[96,6],[758,6],[849,7],[870,6],[980,7],[1001,6]]},"1209":{"position":[[253,7]]},"1213":{"position":[[767,6]]},"1219":{"position":[[56,6],[440,6],[607,6]]},"1222":{"position":[[1165,6],[1316,6]]},"1227":{"position":[[435,6]]},"1230":{"position":[[34,6],[245,6]]},"1231":{"position":[[926,6]]},"1238":{"position":[[50,6]]},"1239":{"position":[[9,6]]},"1246":{"position":[[1318,7],[1903,6],[2195,6]]},"1265":{"position":[[428,6]]},"1267":{"position":[[40,6]]},"1268":{"position":[[327,6]]},"1271":{"position":[[938,8],[1218,6],[1508,6]]},"1272":{"position":[[51,6],[324,8]]},"1277":{"position":[[120,6],[338,6]]},"1282":{"position":[[935,7]]},"1289":{"position":[[123,6]]},"1294":{"position":[[173,7],[460,6]]},"1296":{"position":[[325,6]]},"1297":{"position":[[65,8]]},"1301":{"position":[[744,6]]},"1308":{"position":[[556,6]]},"1309":{"position":[[414,6],[1320,8]]},"1311":{"position":[[66,6]]}},"keywords":{}}],["createblob",{"_index":3368,"title":{},"content":{"556":{"position":[[753,10]]},"754":{"position":[[203,10],[699,11]]},"917":{"position":[[90,10]]}},"keywords":{}}],["createblob('meowmeow",{"_index":5288,"title":{},"content":{"917":{"position":[[225,22]]}},"keywords":{}}],["createblob('sensit",{"_index":3371,"title":{},"content":{"556":{"position":[[967,21]]}},"keywords":{}}],["createblob(json.stringifi",{"_index":4666,"title":{},"content":{"800":{"position":[[930,29]]}},"keywords":{}}],["createcli",{"_index":5214,"title":{},"content":{"898":{"position":[[2983,12],[3052,13]]}},"keywords":{}}],["created.leverag",{"_index":3521,"title":{},"content":{"590":{"position":[[212,16]]}},"keywords":{}}],["createdat",{"_index":1904,"title":{},"content":{"316":{"position":[[333,10]]}},"keywords":{}}],["createdb",{"_index":1260,"title":{},"content":{"188":{"position":[[1594,8]]},"672":{"position":[[16,10]]},"673":{"position":[[59,10]]},"674":{"position":[[330,10]]}},"keywords":{}}],["createdb(databasenam",{"_index":1252,"title":{},"content":{"188":{"position":[[903,22]]}},"keywords":{}}],["createpassword",{"_index":4026,"title":{},"content":{"718":{"position":[[141,14]]}},"keywords":{}}],["createreactivityfactori",{"_index":4722,"title":{},"content":{"825":{"position":[[102,23]]}},"keywords":{}}],["createreactivityfactory(inject(injector",{"_index":846,"title":{},"content":{"55":{"position":[[955,41]]},"825":{"position":[[423,41]]}},"keywords":{}}],["createreactivityfactory(injector",{"_index":837,"title":{},"content":{"55":{"position":[[366,33]]}},"keywords":{}}],["createrestcli",{"_index":5939,"title":{},"content":{"1102":{"position":[[858,16]]}},"keywords":{}}],["createrestclient('http://localhost:80",{"_index":5941,"title":{},"content":{"1102":{"position":[[932,39]]}},"keywords":{}}],["createrxdatabas",{"_index":24,"title":{},"content":{"1":{"position":[[328,16],[536,18]]},"2":{"position":[[339,18]]},"3":{"position":[[219,18]]},"4":{"position":[[397,18]]},"5":{"position":[[307,18]]},"6":{"position":[[502,18],[681,18]]},"7":{"position":[[339,18],[516,18]]},"8":{"position":[[734,16],[1108,18]]},"9":{"position":[[253,18]]},"10":{"position":[[291,18]]},"11":{"position":[[817,18]]},"51":{"position":[[188,16],[699,18]]},"55":{"position":[[677,16],[873,18]]},"188":{"position":[[647,16],[970,18]]},"209":{"position":[[10,16],[242,18]]},"211":{"position":[[72,16],[212,18]]},"255":{"position":[[357,16],[589,18]]},"258":{"position":[[10,16],[150,18]]},"266":{"position":[[549,16],[664,18]]},"314":{"position":[[309,16],[475,18]]},"315":{"position":[[338,16],[538,18]]},"334":{"position":[[174,16],[333,18]]},"392":{"position":[[216,16],[343,18]]},"480":{"position":[[167,16],[368,18]]},"482":{"position":[[168,16],[613,18]]},"522":{"position":[[287,16],[414,18]]},"538":{"position":[[268,16],[429,18]]},"542":{"position":[[388,16],[534,18]]},"554":{"position":[[484,16],[1052,18]]},"562":{"position":[[10,16],[167,18]]},"563":{"position":[[207,16],[479,18]]},"564":{"position":[[195,16],[583,18]]},"579":{"position":[[176,16],[342,18]]},"598":{"position":[[276,16],[436,18]]},"632":{"position":[[1048,16],[1288,18]]},"638":{"position":[[430,18]]},"653":{"position":[[126,16],[253,18]]},"662":{"position":[[1634,16],[2126,18]]},"672":{"position":[[195,17]]},"673":{"position":[[201,17]]},"674":{"position":[[484,17]]},"680":{"position":[[539,16],[674,18]]},"693":{"position":[[1174,18]]},"710":{"position":[[1549,16],[1695,18]]},"717":{"position":[[1061,16],[1155,18]]},"718":{"position":[[658,18]]},"721":{"position":[[377,16]]},"732":{"position":[[118,17]]},"734":{"position":[[418,16],[480,18]]},"739":{"position":[[284,18]]},"745":{"position":[[529,18]]},"749":{"position":[[2762,16],[5563,19],[6208,19],[6463,19]]},"759":{"position":[[360,18]]},"772":{"position":[[615,17],[643,16],[770,18],[1430,16],[1615,18],[2138,16],[2377,18]]},"773":{"position":[[445,16],[560,18]]},"774":{"position":[[448,16],[662,18]]},"825":{"position":[[300,17],[341,18]]},"829":{"position":[[468,17],[639,18]]},"838":{"position":[[1951,16],[2204,18]]},"862":{"position":[[298,17],[539,18]]},"872":{"position":[[1549,17],[1713,18],[3784,16],[3971,18]]},"892":{"position":[[10,16],[177,20]]},"898":{"position":[[2174,16],[2321,18]]},"904":{"position":[[574,16],[714,18]]},"932":{"position":[[1043,18]]},"960":{"position":[[45,19],[142,16],[282,18]]},"962":{"position":[[753,18],[969,18]]},"966":{"position":[[537,18],[655,18]]},"967":{"position":[[122,18],[240,18]]},"968":{"position":[[507,18]]},"976":{"position":[[262,19]]},"1013":{"position":[[298,18]]},"1067":{"position":[[2377,18]]},"1088":{"position":[[606,19]]},"1090":{"position":[[782,18]]},"1114":{"position":[[441,17],[711,18]]},"1118":{"position":[[370,16],[645,18]]},"1121":{"position":[[451,18]]},"1125":{"position":[[134,16],[162,16],[287,18]]},"1126":{"position":[[367,18],[680,18]]},"1130":{"position":[[10,16],[160,18]]},"1134":{"position":[[10,16],[137,18]]},"1138":{"position":[[152,16],[281,18]]},"1139":{"position":[[250,16],[536,18]]},"1140":{"position":[[466,16],[595,18]]},"1144":{"position":[[38,16],[185,18]]},"1145":{"position":[[242,16],[525,18]]},"1146":{"position":[[230,18]]},"1148":{"position":[[528,16],[1124,18]]},"1149":{"position":[[805,16],[917,18]]},"1154":{"position":[[745,18]]},"1156":{"position":[[334,19]]},"1158":{"position":[[32,16],[193,18]]},"1159":{"position":[[218,16],[379,18]]},"1163":{"position":[[539,18]]},"1165":{"position":[[729,18],[1067,18]]},"1168":{"position":[[26,16],[141,18]]},"1172":{"position":[[10,16],[306,18]]},"1182":{"position":[[543,18]]},"1184":{"position":[[782,18]]},"1189":{"position":[[277,16],[404,18]]},"1201":{"position":[[10,16],[181,18]]},"1210":{"position":[[292,16],[421,18]]},"1211":{"position":[[541,16],[676,18]]},"1218":{"position":[[568,18]]},"1219":{"position":[[881,18]]},"1222":{"position":[[1392,18]]},"1226":{"position":[[10,16],[217,18]]},"1227":{"position":[[560,16],[695,18]]},"1231":{"position":[[607,17],[1026,18]]},"1237":{"position":[[839,18]]},"1238":{"position":[[814,18]]},"1239":{"position":[[784,18]]},"1264":{"position":[[10,16],[139,18]]},"1265":{"position":[[554,16],[683,18]]},"1267":{"position":[[617,18],[711,18]]},"1271":{"position":[[1570,18]]},"1274":{"position":[[10,16],[321,18]]},"1275":{"position":[[128,16],[332,18]]},"1276":{"position":[[400,16],[934,18]]},"1277":{"position":[[151,16],[381,18]]},"1278":{"position":[[254,16],[458,18],[706,16],[910,18]]},"1279":{"position":[[319,16],[708,18]]},"1280":{"position":[[250,16],[443,18]]},"1286":{"position":[[490,18]]},"1287":{"position":[[540,18]]},"1288":{"position":[[506,18]]}},"keywords":{}}],["createrxdatabase<mydatabasecollections>",{"_index":6498,"title":{},"content":{"1311":{"position":[[138,47]]}},"keywords":{}}],["createrxserv",{"_index":4959,"title":{},"content":{"872":{"position":[[3109,14],[3260,16]]},"1097":{"position":[[132,16],[340,14],[705,16]]},"1098":{"position":[[180,14],[341,16]]},"1099":{"position":[[162,14],[315,16]]}},"keywords":{}}],["createsyncaccesshandl",{"_index":2964,"title":{},"content":{"453":{"position":[[388,24]]},"460":{"position":[[1137,22]]},"464":{"position":[[1172,24]]},"468":{"position":[[351,24]]},"1207":{"position":[[449,24]]},"1211":{"position":[[5,22]]}},"keywords":{}}],["createwrit",{"_index":6236,"title":{},"content":{"1211":{"position":[[336,14]]}},"keywords":{}}],["creation",{"_index":782,"title":{"145":{"position":[[34,9]]},"960":{"position":[[0,9]]}},"content":{"51":{"position":[[939,8]]},"56":{"position":[[128,9]]},"145":{"position":[[205,9]]},"188":{"position":[[857,8]]},"590":{"position":[[102,9]]},"656":{"position":[[279,8]]},"715":{"position":[[137,8]]},"749":{"position":[[6652,8],[14433,9]]},"751":{"position":[[6,8]]},"752":{"position":[[490,8]]},"774":{"position":[[150,8]]},"829":{"position":[[94,9],[113,8]]},"830":{"position":[[218,9]]},"832":{"position":[[122,8]]},"989":{"position":[[288,8]]},"1013":{"position":[[815,9]]},"1085":{"position":[[897,8],[1004,9]]},"1119":{"position":[[184,9]]},"1161":{"position":[[269,8]]},"1175":{"position":[[234,9],[627,8]]},"1180":{"position":[[269,8]]},"1194":{"position":[[273,8]]}},"keywords":{}}],["creativ",{"_index":949,"title":{},"content":{"66":{"position":[[611,8]]}},"keywords":{}}],["credenti",{"_index":1401,"title":{},"content":{"218":{"position":[[132,11]]},"506":{"position":[[185,12]]},"550":{"position":[[204,12]]},"556":{"position":[[381,11],[435,13]]},"564":{"position":[[1071,12]]},"616":{"position":[[874,11]]},"846":{"position":[[492,12]]},"890":{"position":[[446,11],[593,10],[843,12]]},"1226":{"position":[[684,12]]},"1264":{"position":[[564,12]]}},"keywords":{}}],["credentials.password",{"_index":3365,"title":{},"content":{"556":{"position":[[458,21]]}},"keywords":{}}],["creditcard",{"_index":5840,"title":{},"content":{"1080":{"position":[[615,12]]}},"keywords":{}}],["criteria",{"_index":2887,"title":{},"content":{"427":{"position":[[1017,9]]},"430":{"position":[[258,9]]}},"keywords":{}}],["critic",{"_index":1238,"title":{},"content":{"184":{"position":[[23,8]]},"280":{"position":[[442,8]]},"302":{"position":[[617,8]]},"375":{"position":[[410,8]]},"399":{"position":[[453,8]]},"412":{"position":[[278,7],[383,11]]},"496":{"position":[[134,8]]},"497":{"position":[[793,8]]},"527":{"position":[[23,8]]},"556":{"position":[[1078,9]]},"802":{"position":[[863,8]]}},"keywords":{}}],["critical.serv",{"_index":3662,"title":{},"content":{"621":{"position":[[180,15]]}},"keywords":{}}],["crm",{"_index":2138,"title":{},"content":{"375":{"position":[[201,5]]},"411":{"position":[[901,3]]},"1009":{"position":[[328,4]]}},"keywords":{}}],["cross",{"_index":738,"title":{"254":{"position":[[3,5]]}},"content":{"47":{"position":[[858,5]]},"174":{"position":[[2579,5],[2781,5]]},"207":{"position":[[319,5]]},"269":{"position":[[139,5]]},"384":{"position":[[27,5]]},"445":{"position":[[2132,5],[2189,5]]},"446":{"position":[[1085,5],[1221,5]]},"447":{"position":[[440,5]]},"535":{"position":[[894,5]]},"548":{"position":[[366,5]]},"595":{"position":[[969,5]]},"608":{"position":[[364,5]]},"852":{"position":[[92,5],[137,6]]},"1072":{"position":[[1198,5],[1285,5],[1538,5]]},"1211":{"position":[[467,5]]}},"keywords":{}}],["crossfetch",{"_index":4861,"title":{},"content":{"852":{"position":[[121,10],[318,11]]}},"keywords":{}}],["crown",{"_index":4110,"title":{},"content":{"741":{"position":[[47,5]]},"742":{"position":[[64,5]]}},"keywords":{}}],["crucial",{"_index":924,"title":{},"content":{"65":{"position":[[1206,7]]},"68":{"position":[[220,8]]},"95":{"position":[[15,7]]},"218":{"position":[[15,7]]},"228":{"position":[[155,8]]},"270":{"position":[[294,8]]},"291":{"position":[[346,7]]},"301":{"position":[[516,7]]},"309":{"position":[[26,7]]},"343":{"position":[[72,7]]},"534":{"position":[[56,7]]},"564":{"position":[[1045,7]]},"569":{"position":[[227,7]]},"587":{"position":[[120,7]]},"594":{"position":[[54,7]]},"641":{"position":[[38,7]]},"723":{"position":[[2625,7]]}},"keywords":{}}],["crud",{"_index":784,"title":{"52":{"position":[[0,4]]},"539":{"position":[[0,4]]},"599":{"position":[[0,4]]}},"content":{"52":{"position":[[56,4]]},"57":{"position":[[15,4]]},"181":{"position":[[162,4]]},"539":{"position":[[56,4]]},"599":{"position":[[56,4]]},"1123":{"position":[[521,4]]}},"keywords":{}}],["crypto",{"_index":1121,"title":{"718":{"position":[[10,6]]}},"content":{"139":{"position":[[72,6]]},"291":{"position":[[459,6],[485,6]]},"315":{"position":[[31,6],[93,6],[143,6],[239,6]]},"482":{"position":[[368,6],[437,6]]},"483":{"position":[[1076,6]]},"551":{"position":[[448,6],[469,6]]},"553":{"position":[[108,6]]},"554":{"position":[[120,6],[181,6],[593,6]]},"556":{"position":[[1119,6]]},"564":{"position":[[304,6]]},"638":{"position":[[298,6]]},"717":{"position":[[69,6],[128,6],[174,6],[220,6],[327,6],[626,6]]},"718":{"position":[[36,8],[200,8]]},"1184":{"position":[[625,8]]},"1237":{"position":[[722,6]]}},"keywords":{}}],["crypto.subtl",{"_index":5402,"title":{},"content":{"968":{"position":[[123,13]]}},"keywords":{}}],["crypto.subtle.digest",{"_index":4146,"title":{},"content":{"749":{"position":[[1091,20]]},"968":{"position":[[793,21]]}},"keywords":{}}],["crypto.subtle.digest('sha",{"_index":5400,"title":{},"content":{"968":{"position":[[27,25]]}},"keywords":{}}],["cryptoj",{"_index":3343,"title":{},"content":{"553":{"position":[[61,8]]},"554":{"position":[[38,8],[287,8]]}},"keywords":{}}],["css",{"_index":1627,"title":{},"content":{"269":{"position":[[83,4]]}},"keywords":{}}],["ctr",{"_index":4033,"title":{},"content":{"718":{"position":[[512,4],[557,5]]}},"keywords":{}}],["cumbersom",{"_index":729,"title":{},"content":{"47":{"position":[[481,10]]},"784":{"position":[[410,10]]},"836":{"position":[[2192,11]]}},"keywords":{}}],["cumbersome.complex",{"_index":3295,"title":{},"content":{"535":{"position":[[236,22]]},"595":{"position":[[249,22]]}},"keywords":{}}],["cumul",{"_index":4669,"title":{},"content":{"802":{"position":[[221,12]]}},"keywords":{}}],["curb",{"_index":1700,"title":{},"content":{"298":{"position":[[24,4]]}},"keywords":{}}],["current",{"_index":1268,"title":{"300":{"position":[[14,7]]}},"content":{"188":{"position":[[2109,9]]},"365":{"position":[[341,7]]},"404":{"position":[[265,7]]},"411":{"position":[[4895,7]]},"455":{"position":[[297,7]]},"470":{"position":[[159,9]]},"610":{"position":[[1645,9]]},"613":{"position":[[561,9]]},"650":{"position":[[7,9]]},"653":{"position":[[1301,7]]},"681":{"position":[[59,7]]},"698":{"position":[[2396,7],[2474,7],[2692,7]]},"711":{"position":[[847,9]]},"717":{"position":[[6,9]]},"723":{"position":[[1255,7]]},"736":{"position":[[46,7],[228,7],[295,9]]},"781":{"position":[[392,9]]},"799":{"position":[[296,7]]},"829":{"position":[[3182,7]]},"838":{"position":[[130,7]]},"973":{"position":[[12,7]]},"988":{"position":[[1310,7]]},"1007":{"position":[[346,9]]},"1009":{"position":[[414,9]]},"1039":{"position":[[67,7]]},"1042":{"position":[[63,7]]},"1044":{"position":[[211,7]]},"1046":{"position":[[55,7]]},"1050":{"position":[[21,7]]},"1058":{"position":[[43,7]]},"1115":{"position":[[108,7],[266,7]]},"1133":{"position":[[297,9]]},"1188":{"position":[[61,9],[102,9]]},"1198":{"position":[[2033,9]]},"1304":{"position":[[205,7]]},"1305":{"position":[[907,9],[1038,9]]},"1307":{"position":[[110,9]]},"1316":{"position":[[3161,7]]}},"keywords":{}}],["cursor",{"_index":6045,"title":{"1294":{"position":[[8,7]]}},"content":{"1138":{"position":[[409,7]]},"1143":{"position":[[357,6]]},"1294":{"position":[[377,6],[1025,6],[1862,6],[2130,7]]},"1295":{"position":[[885,6]]},"1296":{"position":[[377,6],[1250,6],[1680,6]]}},"keywords":{}}],["custom",{"_index":241,"title":{"144":{"position":[[4,6]]},"209":{"position":[[30,6]]},"747":{"position":[[6,6]]},"818":{"position":[[8,6]]},"822":{"position":[[16,6]]},"826":{"position":[[10,6]]},"874":{"position":[[24,6]]},"882":{"position":[[0,6]]},"894":{"position":[[0,10]]},"1002":{"position":[[10,6]]},"1212":{"position":[[11,6]]},"1220":{"position":[[8,6]]},"1228":{"position":[[11,6]]},"1266":{"position":[[11,6]]},"1289":{"position":[[0,6]]},"1290":{"position":[[4,6]]},"1291":{"position":[[9,6]]},"1296":{"position":[[0,6]]},"1309":{"position":[[0,6]]}},"content":{"14":{"position":[[1139,6]]},"18":{"position":[[343,6]]},"39":{"position":[[537,13]]},"43":{"position":[[219,6]]},"55":{"position":[[79,6]]},"144":{"position":[[22,6]]},"147":{"position":[[212,9]]},"168":{"position":[[212,6]]},"188":{"position":[[318,6]]},"196":{"position":[[133,6]]},"202":{"position":[[278,6]]},"205":{"position":[[136,6]]},"209":{"position":[[603,6],[691,7]]},"249":{"position":[[208,6],[237,6]]},"250":{"position":[[186,6]]},"255":{"position":[[332,6],[943,6]]},"260":{"position":[[44,6]]},"287":{"position":[[180,14]]},"312":{"position":[[179,6]]},"344":{"position":[[146,6]]},"381":{"position":[[390,6]]},"383":{"position":[[425,6]]},"411":{"position":[[942,8],[1000,8],[1097,6]]},"412":{"position":[[1772,6],[2378,6],[2423,6],[4855,6],[5333,6],[12954,6]]},"419":{"position":[[1128,6]]},"469":{"position":[[241,6]]},"489":{"position":[[288,7]]},"522":{"position":[[738,6]]},"525":{"position":[[613,6]]},"551":{"position":[[359,6]]},"580":{"position":[[197,6]]},"602":{"position":[[78,6]]},"616":{"position":[[1098,6]]},"632":{"position":[[829,6]]},"635":{"position":[[286,6]]},"680":{"position":[[233,6]]},"685":{"position":[[189,6],[459,6]]},"686":{"position":[[445,6]]},"691":{"position":[[142,6]]},"701":{"position":[[1123,6]]},"747":{"position":[[41,6]]},"749":{"position":[[6608,6]]},"765":{"position":[[246,6]]},"770":{"position":[[232,6]]},"793":{"position":[[1055,6]]},"802":{"position":[[451,6]]},"815":{"position":[[307,6]]},"818":{"position":[[314,6],[380,6]]},"825":{"position":[[56,6]]},"826":{"position":[[173,6],[302,6]]},"831":{"position":[[506,6]]},"836":{"position":[[1999,6],[2090,6]]},"837":{"position":[[1448,6]]},"839":{"position":[[622,6]]},"840":{"position":[[559,6]]},"846":{"position":[[427,6],[744,6],[1170,6]]},"848":{"position":[[127,6],[577,6],[807,6],[950,6],[1442,6]]},"854":{"position":[[1376,6]]},"898":{"position":[[3621,9]]},"904":{"position":[[2458,6]]},"906":{"position":[[1061,6]]},"907":{"position":[[158,6]]},"908":{"position":[[189,6]]},"913":{"position":[[108,6]]},"934":{"position":[[515,6],[702,6],[780,6]]},"960":{"position":[[633,6]]},"987":{"position":[[993,6],[1110,6]]},"988":{"position":[[1662,6],[1988,6],[3108,6]]},"1002":{"position":[[134,6],[616,6],[1270,6]]},"1079":{"position":[[430,6]]},"1085":{"position":[[2188,6]]},"1117":{"position":[[100,6]]},"1118":{"position":[[49,6]]},"1143":{"position":[[367,6]]},"1149":{"position":[[277,6]]},"1177":{"position":[[5,6]]},"1204":{"position":[[5,6]]},"1220":{"position":[[45,6]]},"1228":{"position":[[12,6]]},"1229":{"position":[[165,6]]},"1266":{"position":[[29,6],[546,6],[576,6]]},"1268":{"position":[[377,6]]},"1289":{"position":[[46,6]]},"1296":{"position":[[499,6],[551,6],[848,6],[1056,6],[1116,8],[1195,6],[1440,6],[1610,6],[1731,6],[1862,6]]},"1309":{"position":[[423,6],[779,6],[1064,6],[1283,6]]},"1315":{"position":[[201,9],[257,8],[303,8],[434,8],[887,9],[1432,8]]},"1318":{"position":[[378,9],[423,10],[444,8],[612,8]]}},"keywords":{}}],["custom.work",{"_index":6330,"title":{},"content":{"1268":{"position":[[502,15]]}},"keywords":{}}],["custom.worker.t",{"_index":6328,"title":{},"content":{"1268":{"position":[[339,16],[552,16]]}},"keywords":{}}],["customer.city_id",{"_index":6532,"title":{},"content":{"1315":{"position":[[446,16]]}},"keywords":{}}],["customerdocu",{"_index":6536,"title":{},"content":{"1315":{"position":[[639,17]]}},"keywords":{}}],["customiz",{"_index":1596,"title":{},"content":{"263":{"position":[[178,12]]},"688":{"position":[[819,13]]}},"keywords":{}}],["customrequest",{"_index":6259,"title":{},"content":{"1220":{"position":[[431,15]]}},"keywords":{}}],["customrequesthandl",{"_index":6257,"title":{},"content":{"1220":{"position":[[131,20]]}},"keywords":{}}],["customrequesthandler(msg",{"_index":6258,"title":{},"content":{"1220":{"position":[[275,26]]}},"keywords":{}}],["cut",{"_index":1685,"title":{},"content":{"289":{"position":[[1624,7]]},"613":{"position":[[19,7]]},"902":{"position":[[860,3]]}},"keywords":{}}],["cvc",{"_index":5841,"title":{},"content":{"1080":{"position":[[684,4]]}},"keywords":{}}],["cycl",{"_index":2088,"title":{},"content":{"362":{"position":[[242,6]]},"611":{"position":[[232,7]]},"653":{"position":[[1076,5]]},"656":{"position":[[39,6],[476,6]]},"821":{"position":[[913,6]]},"989":{"position":[[223,7]]},"993":{"position":[[646,5]]},"994":{"position":[[107,5]]},"995":{"position":[[138,5]]},"996":{"position":[[19,5]]}},"keywords":{}}],["d",{"_index":3642,"title":{},"content":{"617":{"position":[[988,1]]},"982":{"position":[[218,1],[252,1],[473,1],[585,1]]},"987":{"position":[[621,1],[682,1],[722,1]]},"988":{"position":[[3377,1],[3385,1],[4706,1],[4714,2]]}},"keywords":{}}],["d.get('tim",{"_index":5520,"title":{},"content":{"995":{"position":[[1960,13]]}},"keywords":{}}],["d.point",{"_index":1137,"title":{},"content":{"143":{"position":[[561,10],[746,10]]}},"keywords":{}}],["damag",{"_index":5810,"title":{},"content":{"1074":{"position":[[565,6]]}},"keywords":{}}],["danger",{"_index":2707,"title":{},"content":{"412":{"position":[[6220,9]]},"670":{"position":[[232,10]]},"702":{"position":[[302,10]]},"749":{"position":[[3115,9]]},"995":{"position":[[776,9]]},"1177":{"position":[[77,9]]},"1204":{"position":[[78,9]]}},"keywords":{}}],["daniel",{"_index":2650,"title":{},"content":{"412":{"position":[[263,8]]}},"keywords":{}}],["dart",{"_index":1244,"title":{},"content":{"188":{"position":[[233,4],[2071,4],[2155,4],[2424,4]]}},"keywords":{}}],["dashboard",{"_index":1620,"title":{},"content":{"267":{"position":[[861,11],[950,11],[1550,11]]},"301":{"position":[[291,10]]},"375":{"position":[[479,11]]},"420":{"position":[[1424,9]]},"491":{"position":[[1846,11]]}},"keywords":{}}],["data",{"_index":6,"title":{"65":{"position":[[10,4]]},"86":{"position":[[28,4]]},"88":{"position":[[0,4]]},"90":{"position":[[53,5]]},"95":{"position":[[12,4]]},"97":{"position":[[0,4]]},"121":{"position":[[9,4]]},"123":{"position":[[0,4]]},"132":{"position":[[14,4]]},"139":{"position":[[20,5]]},"146":{"position":[[10,4]]},"147":{"position":[[0,4]]},"150":{"position":[[10,4],[63,4]]},"152":{"position":[[14,4]]},"153":{"position":[[22,4]]},"156":{"position":[[9,4]]},"158":{"position":[[0,4]]},"161":{"position":[[15,4]]},"163":{"position":[[14,4]]},"167":{"position":[[20,5]]},"182":{"position":[[9,4]]},"184":{"position":[[0,4]]},"190":{"position":[[14,4]]},"195":{"position":[[20,5]]},"213":{"position":[[45,4]]},"214":{"position":[[28,4]]},"218":{"position":[[30,5]]},"221":{"position":[[42,5]]},"270":{"position":[[21,4]]},"288":{"position":[[15,4]]},"294":{"position":[[34,5]]},"305":{"position":[[26,4]]},"311":{"position":[[12,4]]},"326":{"position":[[9,4]]},"328":{"position":[[0,4]]},"337":{"position":[[14,4]]},"343":{"position":[[20,5]]},"367":{"position":[[22,4]]},"381":{"position":[[9,4]]},"403":{"position":[[10,4]]},"417":{"position":[[0,4]]},"426":{"position":[[16,4]]},"476":{"position":[[13,4]]},"506":{"position":[[20,5]]},"515":{"position":[[9,4]]},"517":{"position":[[0,4]]},"525":{"position":[[14,4]]},"555":{"position":[[36,5]]},"559":{"position":[[16,4]]},"582":{"position":[[14,4]]},"586":{"position":[[20,5]]},"616":{"position":[[8,4]]},"634":{"position":[[23,4]]},"664":{"position":[[0,4]]},"705":{"position":[[23,5]]},"714":{"position":[[19,5]]},"750":{"position":[[17,4]]},"782":{"position":[[12,4]]},"787":{"position":[[7,4]]},"800":{"position":[[29,4]]},"900":{"position":[[40,4]]},"912":{"position":[[19,4]]},"986":{"position":[[0,4]]},"1022":{"position":[[18,4]]},"1024":{"position":[[18,4]]},"1115":{"position":[[8,4]]},"1116":{"position":[[10,5]]},"1184":{"position":[[29,5]]},"1237":{"position":[[13,4]]}},"content":{"1":{"position":[[67,4],[146,4]]},"3":{"position":[[34,4]]},"5":{"position":[[25,4]]},"6":{"position":[[55,4],[653,4]]},"7":{"position":[[49,4],[488,4]]},"11":{"position":[[1032,5]]},"14":{"position":[[496,4],[752,4]]},"16":{"position":[[190,4]]},"17":{"position":[[254,5],[453,5]]},"19":{"position":[[142,4],[1071,4]]},"20":{"position":[[60,4],[203,4]]},"24":{"position":[[292,4]]},"26":{"position":[[147,4]]},"28":{"position":[[158,5],[419,4]]},"29":{"position":[[147,4]]},"30":{"position":[[146,4]]},"31":{"position":[[112,4],[180,4]]},"34":{"position":[[199,4]]},"35":{"position":[[327,4]]},"37":{"position":[[49,4]]},"38":{"position":[[490,5],[507,4]]},"39":{"position":[[37,4],[318,4]]},"40":{"position":[[47,4],[172,4],[765,4]]},"41":{"position":[[186,4]]},"45":{"position":[[96,5],[158,4]]},"46":{"position":[[205,4],[271,4],[449,4],[570,4]]},"47":{"position":[[755,4],[905,4],[1146,4]]},"50":{"position":[[128,4]]},"54":{"position":[[34,4]]},"57":{"position":[[30,4],[89,4],[150,4],[285,4],[358,4]]},"58":{"position":[[277,4]]},"63":{"position":[[65,4],[219,4]]},"64":{"position":[[93,4]]},"65":{"position":[[48,4],[158,4],[285,4],[498,4],[808,4],[885,4],[1178,5],[1250,4],[1329,4],[1542,4],[1606,5],[1723,4],[1820,4]]},"66":{"position":[[301,4],[458,4],[558,4],[640,4]]},"68":{"position":[[47,4]]},"73":{"position":[[140,4]]},"75":{"position":[[99,4]]},"77":{"position":[[107,4]]},"78":{"position":[[48,4]]},"80":{"position":[[69,4],[130,4]]},"81":{"position":[[11,4]]},"82":{"position":[[104,4]]},"86":{"position":[[50,4]]},"87":{"position":[[101,4]]},"88":{"position":[[9,4]]},"89":{"position":[[164,4]]},"90":{"position":[[120,4],[145,4],[233,5]]},"92":{"position":[[195,4]]},"93":{"position":[[9,4],[96,4]]},"95":{"position":[[33,4],[161,4],[245,5]]},"97":{"position":[[6,4],[152,5],[168,4]]},"99":{"position":[[122,4],[239,4],[369,4]]},"103":{"position":[[87,4],[161,4]]},"106":{"position":[[134,4]]},"108":{"position":[[119,4]]},"109":{"position":[[57,4],[186,4]]},"110":{"position":[[51,4],[166,4]]},"111":{"position":[[197,4]]},"112":{"position":[[248,4]]},"113":{"position":[[155,4]]},"114":{"position":[[528,4]]},"117":{"position":[[128,5],[185,5]]},"120":{"position":[[191,4],[260,4],[290,4]]},"121":{"position":[[48,4],[143,4],[204,4]]},"122":{"position":[[164,4]]},"123":{"position":[[36,4],[113,4],[239,4]]},"124":{"position":[[168,4],[276,4]]},"125":{"position":[[173,4]]},"126":{"position":[[343,4]]},"129":{"position":[[69,4],[99,4]]},"130":{"position":[[321,4]]},"131":{"position":[[54,5],[580,5],[887,4]]},"132":{"position":[[1,4],[150,4],[203,4]]},"133":{"position":[[158,4]]},"134":{"position":[[84,4]]},"135":{"position":[[29,4],[147,4]]},"136":{"position":[[100,4]]},"138":{"position":[[127,4]]},"139":{"position":[[53,4],[127,4],[200,5]]},"140":{"position":[[60,4],[159,4]]},"141":{"position":[[294,5]]},"146":{"position":[[48,4],[232,4]]},"147":{"position":[[19,4]]},"148":{"position":[[82,4],[138,4]]},"151":{"position":[[187,4]]},"152":{"position":[[145,4],[204,4],[241,4],[269,4]]},"153":{"position":[[26,4],[54,4],[247,4],[370,4]]},"155":{"position":[[35,4],[122,5],[167,4],[268,4]]},"156":{"position":[[54,4],[116,4],[263,4]]},"157":{"position":[[156,4],[340,4]]},"158":{"position":[[32,4],[145,4],[205,4]]},"159":{"position":[[102,5],[170,4],[237,4],[358,5]]},"160":{"position":[[133,4]]},"161":{"position":[[18,4],[213,4],[371,4]]},"162":{"position":[[613,4]]},"164":{"position":[[148,4],[344,4]]},"165":{"position":[[89,4],[270,4]]},"166":{"position":[[136,4]]},"167":{"position":[[20,4],[91,5],[115,4]]},"168":{"position":[[91,4]]},"169":{"position":[[199,4]]},"170":{"position":[[30,4],[188,4],[323,4]]},"173":{"position":[[75,4],[144,5],[380,4],[706,5],[828,4],[896,5],[922,4],[1011,4],[1151,4],[1237,4],[1418,4],[1549,4],[1659,4],[1720,4],[2780,4],[2878,4],[2924,4],[3207,4]]},"174":{"position":[[330,4],[509,4],[1109,4],[1913,4],[2274,4]]},"175":{"position":[[541,4]]},"178":{"position":[[136,5],[195,4],[286,5]]},"181":{"position":[[287,4]]},"182":{"position":[[50,4],[187,4]]},"183":{"position":[[160,4],[324,4]]},"184":{"position":[[1,4],[154,4],[280,4]]},"185":{"position":[[116,4],[212,5]]},"186":{"position":[[291,4],[319,4]]},"188":{"position":[[256,4],[401,5]]},"189":{"position":[[75,4],[250,4],[443,4],[526,4],[636,4]]},"190":{"position":[[64,4]]},"191":{"position":[[44,4],[238,4]]},"192":{"position":[[75,4],[360,4]]},"194":{"position":[[201,4]]},"195":{"position":[[11,4],[72,5],[96,4]]},"196":{"position":[[58,4],[246,4]]},"198":{"position":[[124,4],[159,4],[396,4]]},"201":{"position":[[86,5],[279,4]]},"202":{"position":[[139,4]]},"203":{"position":[[46,4],[367,4]]},"204":{"position":[[353,5]]},"205":{"position":[[103,4],[279,4]]},"206":{"position":[[121,5]]},"208":{"position":[[44,4]]},"210":{"position":[[130,4]]},"212":{"position":[[674,4]]},"215":{"position":[[32,4],[157,4]]},"216":{"position":[[95,4],[310,4]]},"217":{"position":[[9,4],[87,4],[153,4],[367,4]]},"218":{"position":[[33,4],[113,5],[255,4]]},"219":{"position":[[354,4]]},"220":{"position":[[313,4]]},"221":{"position":[[64,4],[89,4],[218,4]]},"223":{"position":[[278,4]]},"226":{"position":[[76,4],[188,4],[260,4],[289,4]]},"229":{"position":[[143,4]]},"231":{"position":[[67,4],[248,4]]},"233":{"position":[[161,5]]},"236":{"position":[[219,4],[339,4]]},"237":{"position":[[50,4],[154,4],[264,4]]},"240":{"position":[[35,4],[288,4]]},"241":{"position":[[443,4],[558,4],[716,4]]},"248":{"position":[[97,4]]},"249":{"position":[[91,4],[380,4]]},"250":{"position":[[137,4],[316,4]]},"251":{"position":[[173,4]]},"252":{"position":[[123,4]]},"253":{"position":[[182,4]]},"254":{"position":[[313,4]]},"255":{"position":[[1770,4]]},"261":{"position":[[174,4],[1101,4],[1190,4]]},"262":{"position":[[384,5]]},"263":{"position":[[94,4],[349,4]]},"265":{"position":[[160,4],[430,4],[704,4],[929,4]]},"266":{"position":[[160,4],[312,4],[487,4]]},"267":{"position":[[532,4],[992,4]]},"270":{"position":[[22,4],[263,4]]},"271":{"position":[[53,4]]},"273":{"position":[[109,4]]},"274":{"position":[[93,4],[228,5],[301,5]]},"275":{"position":[[166,4]]},"276":{"position":[[82,5],[249,5],[325,4]]},"277":{"position":[[137,4]]},"279":{"position":[[77,4],[121,4],[213,5],[497,4]]},"280":{"position":[[173,4],[335,4]]},"281":{"position":[[237,4]]},"282":{"position":[[380,4]]},"283":{"position":[[94,4],[246,4],[464,4]]},"284":{"position":[[95,4]]},"285":{"position":[[326,4]]},"286":{"position":[[421,4]]},"287":{"position":[[223,4],[537,4],[775,4],[868,4],[955,4],[978,4],[1020,4]]},"288":{"position":[[11,4],[121,4],[330,4]]},"289":{"position":[[99,4],[186,4],[296,4],[381,4],[552,4],[670,4],[864,4],[967,4],[1079,4],[1279,4],[1649,4],[1934,4]]},"290":{"position":[[37,4],[223,4]]},"291":{"position":[[93,5],[115,4],[327,4]]},"292":{"position":[[173,4],[350,4]]},"293":{"position":[[10,4],[213,4],[343,4],[416,4]]},"294":{"position":[[68,4],[106,4],[318,4]]},"295":{"position":[[359,4]]},"299":{"position":[[990,4],[1512,4]]},"300":{"position":[[604,4]]},"301":{"position":[[89,4],[188,4]]},"302":{"position":[[185,5],[315,4],[555,5],[1003,4]]},"303":{"position":[[163,4],[273,5],[1004,4],[1138,5],[1172,4],[1397,4]]},"305":{"position":[[11,4],[89,4],[402,5],[510,4],[602,5]]},"306":{"position":[[171,4]]},"309":{"position":[[147,4]]},"310":{"position":[[20,4],[131,4],[170,4],[233,4]]},"311":{"position":[[21,4]]},"315":{"position":[[17,5],[1064,4]]},"316":{"position":[[521,4]]},"317":{"position":[[86,4]]},"318":{"position":[[89,4],[656,5]]},"320":{"position":[[364,4]]},"321":{"position":[[9,4],[76,4],[143,4],[249,4],[497,4]]},"322":{"position":[[135,4]]},"323":{"position":[[10,4],[68,4],[251,4],[602,4]]},"325":{"position":[[50,4]]},"326":{"position":[[70,4],[214,4]]},"327":{"position":[[156,4]]},"328":{"position":[[25,4],[245,4]]},"329":{"position":[[71,4]]},"331":{"position":[[85,5]]},"335":{"position":[[49,4],[850,4]]},"336":{"position":[[356,4]]},"338":{"position":[[81,4]]},"339":{"position":[[190,4]]},"340":{"position":[[12,4],[179,5]]},"342":{"position":[[80,4]]},"343":{"position":[[36,4]]},"344":{"position":[[34,4],[172,4]]},"345":{"position":[[9,4]]},"346":{"position":[[229,5],[312,4],[771,4],[793,4]]},"350":{"position":[[11,4],[327,5]]},"351":{"position":[[176,4]]},"352":{"position":[[63,5],[210,5]]},"353":{"position":[[284,4]]},"354":{"position":[[100,4],[228,4],[589,4],[1618,5]]},"356":{"position":[[40,5],[419,4],[762,4]]},"357":{"position":[[33,5]]},"358":{"position":[[601,4],[829,5]]},"360":{"position":[[373,4],[799,4]]},"361":{"position":[[115,4],[1066,4]]},"362":{"position":[[91,4],[483,4]]},"364":{"position":[[104,4],[190,4],[305,4],[472,5],[541,4],[587,4],[671,4],[820,4]]},"365":{"position":[[210,4],[242,4],[308,4],[403,4],[581,4],[613,4],[760,4],[1169,4],[1282,4],[1330,4],[1456,4]]},"366":{"position":[[161,5],[215,4],[435,4]]},"367":{"position":[[107,4],[165,4],[366,4],[525,4]]},"369":{"position":[[103,5],[190,5],[293,4],[702,4],[860,4],[908,4],[983,5],[1064,4],[1173,4],[1288,4]]},"370":{"position":[[187,4]]},"371":{"position":[[106,5],[275,4]]},"372":{"position":[[89,5],[293,4],[352,4]]},"373":{"position":[[455,4],[575,4],[744,4]]},"375":{"position":[[245,5],[474,4],[661,4]]},"376":{"position":[[267,4],[566,4]]},"377":{"position":[[9,4],[381,4]]},"378":{"position":[[171,4]]},"379":{"position":[[91,4]]},"380":{"position":[[173,5]]},"382":{"position":[[33,4],[127,4],[208,4],[380,4]]},"383":{"position":[[135,4]]},"384":{"position":[[468,4]]},"385":{"position":[[22,4]]},"386":{"position":[[235,4]]},"390":{"position":[[80,4],[209,5],[444,4],[904,4],[1570,4]]},"391":{"position":[[1131,5]]},"392":{"position":[[110,4],[909,5],[1248,4],[2973,4]]},"395":{"position":[[304,4]]},"396":{"position":[[141,4],[986,4]]},"398":{"position":[[3530,5]]},"402":{"position":[[1561,4],[2520,4]]},"403":{"position":[[133,4],[413,5]]},"407":{"position":[[51,4],[187,4],[500,4],[646,5],[775,5],[1171,5]]},"408":{"position":[[412,5],[934,5],[1909,4],[2117,5],[2290,4],[2531,5],[2801,4],[3133,4],[3405,4],[3856,4],[5527,4]]},"410":{"position":[[354,4],[521,4],[648,5],[738,4],[800,4],[863,4],[1369,4],[1499,4],[2116,4]]},"411":{"position":[[91,4],[454,4],[804,5],[863,4],[932,4],[1040,4],[1366,4],[1429,5],[2761,4],[2805,4],[2874,4],[3251,4],[3733,4],[4129,5],[4343,4],[4651,4],[5005,4],[5052,5]]},"412":{"position":[[506,4],[528,4],[676,4],[1712,4],[2726,4],[3039,5],[3707,4],[4028,4],[5730,4],[5924,4],[6007,5],[6058,4],[6651,4],[6665,4],[6712,4],[6952,4],[7044,4],[7073,4],[7186,4],[7382,4],[7466,4],[7515,4],[7604,4],[7698,4],[7803,4],[7907,4],[8017,5],[8167,4],[8280,4],[8430,4],[8630,5],[8670,4],[8800,4],[10180,4],[11063,4],[11573,4],[11724,4],[12111,4],[12192,4],[12276,4],[12355,4],[12364,4],[12738,4],[13125,4],[13379,4],[13413,4],[13796,4],[14089,4],[14373,4],[14973,4],[15173,4]]},"414":{"position":[[421,5]]},"415":{"position":[[22,4]]},"416":{"position":[[50,4],[366,4]]},"417":{"position":[[44,4],[137,4],[264,4],[432,5]]},"418":{"position":[[338,4]]},"419":{"position":[[478,4],[806,4],[1004,4],[1907,4]]},"421":{"position":[[449,4],[644,4]]},"424":{"position":[[114,4],[256,4],[273,4]]},"425":{"position":[[257,4],[336,4],[424,4],[499,4]]},"426":{"position":[[98,4],[221,4]]},"427":{"position":[[407,4],[565,4],[615,4],[668,4],[715,4],[994,4],[1088,4]]},"429":{"position":[[328,4],[403,4]]},"430":{"position":[[164,4],[235,4],[344,4],[585,4],[906,4],[997,4],[1044,4],[1144,5]]},"432":{"position":[[70,4],[1371,4]]},"434":{"position":[[47,4],[159,5],[374,4]]},"435":{"position":[[64,4],[373,4]]},"436":{"position":[[20,4],[142,4],[278,4]]},"437":{"position":[[247,4]]},"438":{"position":[[362,4]]},"439":{"position":[[154,5],[187,4],[473,4]]},"440":{"position":[[155,4],[353,4]]},"441":{"position":[[96,4],[345,4]]},"442":{"position":[[30,4]]},"444":{"position":[[70,4],[551,4],[685,5],[897,4]]},"445":{"position":[[311,4],[555,4],[700,4],[772,4],[800,4],[860,4],[1384,4],[1503,5]]},"446":{"position":[[679,4],[761,4],[846,4],[912,4],[962,4]]},"447":{"position":[[146,4],[303,4]]},"450":{"position":[[92,4],[444,4]]},"451":{"position":[[338,4],[436,4],[781,4],[855,4]]},"452":{"position":[[152,5]]},"453":{"position":[[157,4],[220,4],[442,4],[754,4]]},"454":{"position":[[860,4],[1027,4]]},"455":{"position":[[183,4]]},"457":{"position":[[16,4],[465,5]]},"458":{"position":[[333,4]]},"459":{"position":[[51,4],[103,4],[1195,5]]},"460":{"position":[[20,4],[667,4]]},"461":{"position":[[38,4],[1351,4]]},"463":{"position":[[26,5],[616,4],[917,4],[1014,4],[1109,4],[1256,4]]},"464":{"position":[[86,4],[161,4],[622,4],[802,4],[862,4],[971,4]]},"466":{"position":[[298,4],[493,4]]},"467":{"position":[[592,5]]},"468":{"position":[[290,5]]},"469":{"position":[[925,4],[1060,4]]},"470":{"position":[[141,4],[376,4]]},"473":{"position":[[46,4]]},"475":{"position":[[25,4],[145,4]]},"476":{"position":[[68,4]]},"477":{"position":[[158,4]]},"478":{"position":[[110,4]]},"479":{"position":[[278,4]]},"480":{"position":[[976,4]]},"481":{"position":[[120,4]]},"482":{"position":[[7,4],[828,6]]},"483":{"position":[[107,4],[441,5]]},"489":{"position":[[615,4],[751,4]]},"490":{"position":[[250,4]]},"491":{"position":[[182,4],[475,5],[804,4]]},"494":{"position":[[259,4],[620,5]]},"495":{"position":[[155,5],[755,4]]},"496":{"position":[[115,5],[143,4]]},"501":{"position":[[37,4],[194,4]]},"502":{"position":[[120,4],[338,4],[500,4],[542,4],[775,4],[1210,4],[1383,4]]},"503":{"position":[[221,4]]},"504":{"position":[[238,4],[372,4],[408,4],[476,4],[544,4],[614,4],[820,4],[948,4],[1011,4],[1105,4],[1213,4],[1351,4]]},"506":{"position":[[54,5],[70,4],[245,5]]},"507":{"position":[[125,4]]},"508":{"position":[[163,4]]},"509":{"position":[[59,4]]},"510":{"position":[[407,4]]},"513":{"position":[[98,4],[280,4],[334,4]]},"514":{"position":[[228,4],[360,4]]},"515":{"position":[[61,4],[136,4],[264,4],[318,4]]},"516":{"position":[[125,4],[363,4]]},"517":{"position":[[1,4],[146,4]]},"518":{"position":[[48,4],[234,4],[375,5]]},"519":{"position":[[157,4],[240,4]]},"520":{"position":[[240,4],[492,5]]},"521":{"position":[[537,4]]},"523":{"position":[[68,4],[182,4]]},"524":{"position":[[354,4],[515,4],[612,4]]},"525":{"position":[[270,4],[451,4]]},"526":{"position":[[21,4],[77,5],[97,4],[265,4]]},"527":{"position":[[204,4]]},"529":{"position":[[84,4]]},"530":{"position":[[58,4],[365,4],[535,4]]},"533":{"position":[[76,4],[258,4]]},"534":{"position":[[212,4],[323,4],[375,4],[461,4],[584,4]]},"535":{"position":[[1023,4]]},"540":{"position":[[35,4]]},"541":{"position":[[157,4],[849,4]]},"542":{"position":[[986,4]]},"544":{"position":[[61,4],[112,4],[243,4],[265,4],[303,4]]},"545":{"position":[[202,4]]},"550":{"position":[[109,5],[191,4],[335,4]]},"551":{"position":[[53,5],[244,4],[491,4]]},"554":{"position":[[1312,4]]},"555":{"position":[[50,4],[252,4],[372,5],[401,4],[609,5],[625,4],[684,5],[992,4]]},"556":{"position":[[961,5],[1216,4],[1666,4],[1695,4],[1796,4]]},"557":{"position":[[508,4]]},"559":{"position":[[178,5],[1037,5],[1146,4],[1381,5],[1637,5],[1649,4]]},"560":{"position":[[262,4],[324,4]]},"561":{"position":[[6,4]]},"562":{"position":[[872,4],[1273,4],[1670,4]]},"564":{"position":[[72,4],[965,4],[1120,4]]},"565":{"position":[[40,4]]},"566":{"position":[[454,4],[605,4],[642,4],[705,5],[764,5],[1297,4]]},"567":{"position":[[700,4],[1001,4],[1195,4]]},"569":{"position":[[729,5]]},"570":{"position":[[285,4],[477,4],[690,4]]},"571":{"position":[[158,4],[176,4],[246,4],[327,4],[1534,4]]},"574":{"position":[[300,4],[479,4],[504,4],[618,4]]},"575":{"position":[[304,4],[348,4],[461,4]]},"576":{"position":[[134,4],[371,4],[418,4]]},"580":{"position":[[89,4]]},"581":{"position":[[111,4],[360,4]]},"582":{"position":[[43,4]]},"584":{"position":[[144,4]]},"585":{"position":[[25,5]]},"586":{"position":[[84,5],[95,4]]},"589":{"position":[[72,4]]},"590":{"position":[[329,4],[625,4],[902,4]]},"593":{"position":[[76,4],[258,4]]},"594":{"position":[[210,4],[321,4],[373,4],[459,4],[582,4]]},"595":{"position":[[392,4],[1100,4],[1353,4]]},"600":{"position":[[35,4],[169,4]]},"601":{"position":[[62,4],[830,4]]},"602":{"position":[[166,4]]},"604":{"position":[[61,4],[112,4],[151,4],[215,4],[256,4]]},"605":{"position":[[202,4]]},"610":{"position":[[269,4],[392,4],[665,4],[1056,6]]},"611":{"position":[[181,4],[263,4],[452,4]]},"612":{"position":[[347,4],[1605,4],[2016,6],[2074,6],[2105,6]]},"613":{"position":[[180,4],[224,4],[311,4]]},"614":{"position":[[353,4]]},"616":{"position":[[48,4],[103,4],[124,4],[271,4],[408,4],[592,4],[690,4],[784,4],[1187,4]]},"617":{"position":[[1305,4]]},"618":{"position":[[607,4],[702,5]]},"621":{"position":[[163,4],[451,4]]},"622":{"position":[[150,4]]},"624":{"position":[[1258,4]]},"626":{"position":[[770,5]]},"630":{"position":[[243,4],[697,5],[967,4]]},"631":{"position":[[293,4],[358,4],[449,4]]},"632":{"position":[[276,5],[497,4]]},"635":{"position":[[483,4]]},"636":{"position":[[155,4],[252,4]]},"638":{"position":[[14,4],[884,4]]},"639":{"position":[[7,4]]},"640":{"position":[[415,5]]},"641":{"position":[[18,4]]},"642":{"position":[[147,4]]},"643":{"position":[[194,4]]},"644":{"position":[[230,4],[528,4]]},"659":{"position":[[113,5],[313,5],[736,4],[991,4]]},"660":{"position":[[314,4],[365,4],[404,4]]},"661":{"position":[[1704,4],[1750,4]]},"662":{"position":[[474,4],[575,4],[669,4]]},"664":{"position":[[0,4]]},"685":{"position":[[119,4],[275,4],[594,4]]},"686":{"position":[[380,4],[431,4],[539,4],[930,4]]},"688":{"position":[[324,4],[944,4]]},"689":{"position":[[486,4]]},"690":{"position":[[92,4],[332,4]]},"691":{"position":[[195,4]]},"693":{"position":[[644,5]]},"696":{"position":[[8,4],[299,5],[622,4],[769,5],[981,4],[1574,4],[1936,5]]},"697":{"position":[[6,4],[146,4],[259,5],[345,5],[577,4]]},"698":{"position":[[3042,4]]},"700":{"position":[[717,4]]},"701":{"position":[[581,4],[626,4]]},"702":{"position":[[67,4]]},"703":{"position":[[65,4],[587,4],[739,4],[925,5],[1484,4]]},"704":{"position":[[497,4]]},"705":{"position":[[483,5],[682,4],[958,5]]},"707":{"position":[[496,5]]},"709":{"position":[[209,4],[790,4]]},"710":{"position":[[547,4]]},"711":{"position":[[147,4],[352,4],[590,5],[678,5],[1705,4],[2064,4],[2146,4]]},"714":{"position":[[47,4],[204,5],[242,4],[707,4],[894,4]]},"716":{"position":[[127,5],[373,5]]},"720":{"position":[[26,4],[250,4]]},"723":{"position":[[356,4],[437,4],[1276,4],[1814,4]]},"724":{"position":[[787,4]]},"736":{"position":[[158,5],[390,4]]},"737":{"position":[[145,4]]},"749":{"position":[[3324,5],[11908,4],[11985,4],[12091,4],[13325,4],[16583,4],[16750,4],[21898,4]]},"751":{"position":[[316,4],[378,5],[581,4],[992,4],[1087,4],[1683,4]]},"752":{"position":[[183,4]]},"754":{"position":[[605,4],[653,5]]},"759":{"position":[[1117,4],[1281,4],[1377,4]]},"764":{"position":[[51,4]]},"766":{"position":[[26,4],[154,4]]},"767":{"position":[[29,4]]},"772":{"position":[[59,4],[1144,4],[1333,4],[1965,4]]},"773":{"position":[[114,4],[217,4],[240,4]]},"774":{"position":[[93,5],[176,4],[235,4]]},"775":{"position":[[85,4]]},"778":{"position":[[88,5]]},"779":{"position":[[311,4],[379,4]]},"780":{"position":[[653,4]]},"781":{"position":[[78,5],[113,4],[708,4],[878,4]]},"782":{"position":[[342,5],[358,4]]},"784":{"position":[[74,4],[223,4],[764,4]]},"785":{"position":[[1,4],[378,4],[581,4],[716,4]]},"786":{"position":[[30,4]]},"792":{"position":[[370,5]]},"798":{"position":[[253,4],[288,4],[521,5]]},"800":{"position":[[699,4],[924,5]]},"801":{"position":[[294,4],[387,4],[637,4]]},"802":{"position":[[829,4]]},"806":{"position":[[528,4]]},"816":{"position":[[116,4]]},"820":{"position":[[696,4]]},"821":{"position":[[626,4]]},"826":{"position":[[16,4]]},"829":{"position":[[2180,5],[2800,4]]},"832":{"position":[[182,4]]},"835":{"position":[[841,4],[1069,5]]},"836":{"position":[[759,4],[1479,4],[1576,4],[1768,4],[1855,4],[1937,4],[2124,4],[2276,4],[2430,4]]},"838":{"position":[[497,4],[830,4],[1031,4],[1131,4],[1251,4],[3368,4]]},"839":{"position":[[277,4],[960,4],[1264,4]]},"840":{"position":[[62,4]]},"841":{"position":[[949,4],[1375,5],[1480,4]]},"856":{"position":[[205,4]]},"860":{"position":[[261,4],[353,4]]},"861":{"position":[[2277,4]]},"865":{"position":[[97,4]]},"875":{"position":[[1804,4],[3434,4],[7110,4]]},"880":{"position":[[23,4]]},"882":{"position":[[248,5]]},"885":{"position":[[333,4]]},"886":{"position":[[1440,4],[2264,5]]},"887":{"position":[[188,4]]},"890":{"position":[[503,4]]},"897":{"position":[[483,4]]},"901":{"position":[[148,4],[777,4]]},"902":{"position":[[53,4],[380,4],[449,4],[723,4]]},"903":{"position":[[26,4],[162,4],[224,4],[463,4]]},"904":{"position":[[450,4]]},"908":{"position":[[168,4]]},"912":{"position":[[20,4],[123,4],[417,4],[595,4],[679,4]]},"916":{"position":[[262,4]]},"917":{"position":[[219,5],[280,4],[357,4]]},"918":{"position":[[156,5]]},"926":{"position":[[19,4]]},"927":{"position":[[29,4],[203,4]]},"930":{"position":[[51,4]]},"931":{"position":[[51,4]]},"932":{"position":[[51,4],[136,4],[468,4]]},"941":{"position":[[75,4]]},"954":{"position":[[19,4]]},"955":{"position":[[165,5],[287,5]]},"958":{"position":[[396,4]]},"961":{"position":[[145,4],[319,5]]},"962":{"position":[[637,4]]},"968":{"position":[[59,5]]},"971":{"position":[[63,4],[164,4]]},"976":{"position":[[216,5],[286,4]]},"977":{"position":[[260,4],[349,4],[460,4]]},"981":{"position":[[973,4],[1033,4],[1159,4],[1454,4]]},"986":{"position":[[622,4],[1169,4]]},"988":{"position":[[1721,4],[1955,4],[1967,4],[4987,4]]},"990":{"position":[[347,4],[447,4],[659,5]]},"995":{"position":[[88,4]]},"1004":{"position":[[208,4],[250,5],[351,4],[419,4],[558,5],[705,5]]},"1005":{"position":[[81,4]]},"1007":{"position":[[771,5],[986,4]]},"1009":{"position":[[104,4]]},"1014":{"position":[[247,4],[386,4]]},"1015":{"position":[[223,4]]},"1018":{"position":[[120,4],[168,4],[236,4],[418,4],[687,4],[871,4]]},"1020":{"position":[[294,4]]},"1021":{"position":[[106,4],[132,5]]},"1023":{"position":[[51,4]]},"1024":{"position":[[24,4],[138,4],[257,6],[522,5]]},"1033":{"position":[[157,5],[1047,4]]},"1042":{"position":[[21,4],[71,4]]},"1043":{"position":[[52,5]]},"1048":{"position":[[612,5]]},"1051":{"position":[[24,4]]},"1063":{"position":[[36,4]]},"1067":{"position":[[97,4],[722,4],[863,5],[1100,4],[1864,4]]},"1068":{"position":[[401,4]]},"1072":{"position":[[335,5],[577,4],[729,4],[1000,5],[2134,4],[2288,4]]},"1078":{"position":[[101,5]]},"1085":{"position":[[65,4],[489,4],[713,5],[1081,4],[1526,4],[2970,4],[3378,4]]},"1088":{"position":[[500,4]]},"1092":{"position":[[199,4],[302,4]]},"1100":{"position":[[145,4]]},"1101":{"position":[[73,4]]},"1102":{"position":[[57,4],[242,4]]},"1104":{"position":[[49,4],[168,4],[336,4],[357,5],[399,4],[426,4],[795,4]]},"1105":{"position":[[152,4],[502,4],[1136,4],[1177,4],[1234,4]]},"1106":{"position":[[298,4]]},"1108":{"position":[[712,4]]},"1115":{"position":[[9,4]]},"1116":{"position":[[105,5],[204,4],[328,4]]},"1120":{"position":[[121,4]]},"1121":{"position":[[19,4],[117,4]]},"1124":{"position":[[492,4],[2043,4],[2140,4]]},"1126":{"position":[[864,4]]},"1132":{"position":[[238,4],[354,4],[395,4],[497,5],[643,4],[717,4],[1018,4],[1078,4],[1248,5],[1290,5],[1454,4],[1505,4]]},"1140":{"position":[[77,4],[263,4]]},"1143":{"position":[[266,4]]},"1147":{"position":[[19,4],[336,4]]},"1149":{"position":[[222,4]]},"1150":{"position":[[89,4],[625,4]]},"1156":{"position":[[176,4]]},"1157":{"position":[[313,4],[541,4]]},"1161":{"position":[[140,4]]},"1162":{"position":[[320,4],[473,4],[628,4]]},"1170":{"position":[[36,4],[124,4],[215,4]]},"1171":{"position":[[172,4],[356,4]]},"1172":{"position":[[144,4]]},"1173":{"position":[[70,5]]},"1174":{"position":[[127,4],[299,4],[604,5]]},"1180":{"position":[[140,4],[324,4]]},"1181":{"position":[[65,4],[407,4],[560,4],[616,4],[716,4]]},"1184":{"position":[[143,4]]},"1191":{"position":[[249,5],[311,4]]},"1192":{"position":[[299,4],[443,4],[575,4]]},"1207":{"position":[[611,4],[682,4],[713,4]]},"1208":{"position":[[250,5],[1288,4]]},"1213":{"position":[[333,4]]},"1214":{"position":[[412,4],[806,5]]},"1215":{"position":[[681,4]]},"1222":{"position":[[511,4],[638,4],[926,5]]},"1237":{"position":[[70,4],[241,4],[384,5],[472,4]]},"1238":{"position":[[116,4]]},"1239":{"position":[[161,4],[288,4],[320,4],[396,4]]},"1241":{"position":[[27,4],[44,4]]},"1242":{"position":[[43,4]]},"1246":{"position":[[1424,4],[1560,4]]},"1253":{"position":[[43,4]]},"1260":{"position":[[14,4]]},"1270":{"position":[[163,4]]},"1276":{"position":[[278,4]]},"1282":{"position":[[106,4],[206,4]]},"1292":{"position":[[570,4]]},"1294":{"position":[[221,4]]},"1295":{"position":[[1486,4]]},"1296":{"position":[[89,4],[215,4]]},"1299":{"position":[[129,4]]},"1300":{"position":[[60,4],[175,4]]},"1301":{"position":[[300,5],[397,4],[839,4]]},"1304":{"position":[[183,4],[389,4],[1715,4],[1766,4]]},"1305":{"position":[[735,4],[785,5],[822,4]]},"1311":{"position":[[1267,4]]},"1314":{"position":[[106,5]]},"1315":{"position":[[856,4]]},"1316":{"position":[[31,4],[3297,4],[3340,4],[3830,4]]},"1318":{"position":[[985,5]]},"1319":{"position":[[47,5],[239,5],[367,5],[413,4]]},"1324":{"position":[[280,4],[1009,4]]}},"keywords":{}}],["data"",{"_index":2727,"title":{},"content":{"412":{"position":[[8133,12]]}},"keywords":{}}],["data'",{"_index":2294,"title":{},"content":{"393":{"position":[[563,6]]}},"keywords":{}}],["data._delet",{"_index":5714,"title":{},"content":{"1048":{"position":[[583,13]]}},"keywords":{}}],["data.ag",{"_index":5713,"title":{},"content":{"1048":{"position":[[569,8]]}},"keywords":{}}],["data.attach",{"_index":6031,"title":{},"content":{"1132":{"position":[[1328,17]]}},"keywords":{}}],["data.bas",{"_index":3296,"title":{},"content":{"535":{"position":[[371,10]]}},"keywords":{}}],["data.checkpoint",{"_index":5012,"title":{},"content":{"875":{"position":[[3512,15]]}},"keywords":{}}],["data.docu",{"_index":5011,"title":{},"content":{"875":{"position":[[3484,15]]}},"keywords":{}}],["data.high",{"_index":2066,"title":{},"content":{"358":{"position":[[714,9]]}},"keywords":{}}],["data.nosql",{"_index":1213,"title":{},"content":{"174":{"position":[[430,10]]}},"keywords":{}}],["data.optim",{"_index":3526,"title":{},"content":{"590":{"position":[[575,13]]}},"keywords":{}}],["data.p",{"_index":1390,"title":{},"content":{"212":{"position":[[508,9]]}},"keywords":{}}],["data.sqlit",{"_index":1964,"title":{},"content":{"336":{"position":[[401,11]]},"581":{"position":[[405,11]]}},"keywords":{}}],["data.when",{"_index":5845,"title":{},"content":{"1083":{"position":[[254,9]]}},"keywords":{}}],["data:"",{"_index":3558,"title":{},"content":{"610":{"position":[[1043,12]]}},"keywords":{}}],["dataar",{"_index":4633,"title":{},"content":{"795":{"position":[[160,8]]}},"keywords":{}}],["databas",{"_index":33,"title":{"51":{"position":[[9,8]]},"62":{"position":[[28,8]]},"67":{"position":[[8,9]]},"69":{"position":[[26,10]]},"85":{"position":[[30,9]]},"87":{"position":[[8,8]]},"89":{"position":[[37,8]]},"91":{"position":[[8,9]]},"96":{"position":[[14,8]]},"98":{"position":[[8,9]]},"100":{"position":[[26,10]]},"115":{"position":[[10,8]]},"117":{"position":[[14,9]]},"118":{"position":[[22,8]]},"126":{"position":[[23,8]]},"145":{"position":[[25,8]]},"171":{"position":[[26,8]]},"172":{"position":[[20,10]]},"173":{"position":[[9,8]]},"174":{"position":[[24,8]]},"176":{"position":[[10,8]]},"178":{"position":[[14,9]]},"179":{"position":[[22,8]]},"186":{"position":[[23,8]]},"199":{"position":[[29,8]]},"200":{"position":[[43,8]]},"213":{"position":[[25,9]]},"219":{"position":[[6,8]]},"223":{"position":[[26,8]]},"225":{"position":[[8,9]]},"258":{"position":[[9,10]]},"264":{"position":[[24,9]]},"268":{"position":[[24,8]]},"271":{"position":[[34,8]]},"278":{"position":[[78,9]]},"319":{"position":[[10,8]]},"321":{"position":[[14,9]]},"322":{"position":[[22,8]]},"331":{"position":[[22,8]]},"334":{"position":[[27,9]]},"348":{"position":[[11,10]]},"349":{"position":[[15,9]]},"355":{"position":[[32,10]]},"358":{"position":[[9,8]]},"359":{"position":[[21,8]]},"363":{"position":[[12,8]]},"364":{"position":[[18,10]]},"369":{"position":[[10,8]]},"372":{"position":[[23,9]]},"374":{"position":[[16,8],[56,8]]},"375":{"position":[[19,10]]},"389":{"position":[[13,8]]},"390":{"position":[[17,10]]},"394":{"position":[[21,8]]},"398":{"position":[[21,8]]},"404":{"position":[[51,10]]},"443":{"position":[[7,8],[26,8]]},"444":{"position":[[21,10]]},"445":{"position":[[45,8]]},"472":{"position":[[28,8]]},"473":{"position":[[22,10]]},"479":{"position":[[38,8]]},"482":{"position":[[22,8]]},"489":{"position":[[6,9]]},"499":{"position":[[10,8]]},"501":{"position":[[34,8]]},"512":{"position":[[10,8]]},"513":{"position":[[33,9]]},"520":{"position":[[21,8]]},"532":{"position":[[10,8]]},"538":{"position":[[9,8]]},"554":{"position":[[20,8]]},"568":{"position":[[19,9]]},"570":{"position":[[10,8]]},"573":{"position":[[10,8]]},"574":{"position":[[28,9]]},"575":{"position":[[22,8]]},"576":{"position":[[19,8]]},"579":{"position":[[30,9]]},"592":{"position":[[10,8]]},"598":{"position":[[9,8]]},"653":{"position":[[9,8]]},"657":{"position":[[10,8]]},"658":{"position":[[0,8]]},"702":{"position":[[31,9]]},"706":{"position":[[9,8]]},"707":{"position":[[0,9]]},"708":{"position":[[12,9]]},"750":{"position":[[8,8]]},"757":{"position":[[31,8]]},"771":{"position":[[8,8]]},"772":{"position":[[11,9]]},"773":{"position":[[26,9]]},"775":{"position":[[6,8]]},"794":{"position":[[42,9]]},"833":{"position":[[13,8]]},"834":{"position":[[0,8]]},"851":{"position":[[0,8]]},"857":{"position":[[57,8]]},"903":{"position":[[63,9]]},"939":{"position":[[26,9]]},"1094":{"position":[[10,9]]},"1122":{"position":[[5,8]]},"1131":{"position":[[5,8]]},"1177":{"position":[[26,9]]},"1204":{"position":[[27,9]]},"1205":{"position":[[34,8]]},"1250":{"position":[[16,8]]},"1267":{"position":[[15,9]]},"1281":{"position":[[0,8]]},"1324":{"position":[[13,8]]}},"content":{"1":{"position":[[519,8]]},"2":{"position":[[322,8]]},"3":{"position":[[202,8]]},"4":{"position":[[380,8]]},"5":{"position":[[290,8]]},"6":{"position":[[485,8],[664,8]]},"7":{"position":[[193,8],[322,8],[499,8]]},"8":{"position":[[1091,8]]},"9":{"position":[[236,8]]},"10":{"position":[[274,8]]},"11":{"position":[[800,8]]},"13":{"position":[[61,9],[149,8]]},"14":{"position":[[158,10],[182,8],[237,9],[270,8],[293,8],[480,8],[662,9],[731,8]]},"15":{"position":[[171,8],[417,8]]},"17":{"position":[[60,9],[315,9],[425,8]]},"19":{"position":[[107,8]]},"20":{"position":[[26,8],[182,9]]},"22":{"position":[[218,9]]},"23":{"position":[[54,8]]},"24":{"position":[[27,8]]},"25":{"position":[[67,8],[272,9]]},"28":{"position":[[46,9]]},"29":{"position":[[27,9]]},"30":{"position":[[76,8]]},"32":{"position":[[45,8],[237,8]]},"33":{"position":[[560,8]]},"34":{"position":[[30,8],[354,9],[463,8]]},"36":{"position":[[31,8],[229,9]]},"38":{"position":[[226,9]]},"39":{"position":[[354,8]]},"40":{"position":[[321,9]]},"41":{"position":[[173,9]]},"42":{"position":[[64,8]]},"43":{"position":[[351,8],[745,8]]},"51":{"position":[[673,8],[755,8],[930,8]]},"52":{"position":[[11,8]]},"55":{"position":[[856,8]]},"56":{"position":[[119,8]]},"57":{"position":[[108,9]]},"66":{"position":[[170,10],[263,10]]},"67":{"position":[[5,9]]},"68":{"position":[[5,9]]},"69":{"position":[[13,9]]},"70":{"position":[[5,9]]},"79":{"position":[[73,8]]},"83":{"position":[[302,9]]},"87":{"position":[[25,9]]},"89":{"position":[[9,9],[47,8]]},"90":{"position":[[22,9]]},"91":{"position":[[9,9]]},"92":{"position":[[9,9]]},"93":{"position":[[171,9]]},"94":{"position":[[9,10],[201,8]]},"95":{"position":[[103,10]]},"96":{"position":[[27,8]]},"98":{"position":[[11,10],[171,9]]},"99":{"position":[[5,9],[274,9]]},"100":{"position":[[13,10],[171,9]]},"101":{"position":[[56,9],[117,10]]},"102":{"position":[[67,8]]},"105":{"position":[[67,10]]},"114":{"position":[[70,8],[498,10]]},"117":{"position":[[1,9],[233,8]]},"118":{"position":[[26,8],[130,9],[215,8]]},"120":{"position":[[23,8],[137,9]]},"126":{"position":[[23,8],[219,10]]},"128":{"position":[[303,10]]},"131":{"position":[[297,8]]},"139":{"position":[[158,9]]},"140":{"position":[[78,8]]},"144":{"position":[[99,8]]},"145":{"position":[[153,8],[196,8],[276,8]]},"148":{"position":[[20,8]]},"149":{"position":[[70,8]]},"172":{"position":[[13,8],[46,8],[258,8],[289,8]]},"173":{"position":[[48,8],[261,8],[303,9],[326,8],[445,8],[547,8],[615,8],[649,8],[1182,10],[1408,9],[1925,10],[2210,10],[2454,8],[2535,9],[2763,9],[2990,8],[3113,8]]},"174":{"position":[[37,8],[3236,8]]},"175":{"position":[[70,9],[466,8]]},"178":{"position":[[1,9],[214,8],[311,8]]},"179":{"position":[[26,8],[154,8],[324,8]]},"181":{"position":[[23,8],[94,8]]},"182":{"position":[[322,9]]},"186":{"position":[[18,8],[141,9]]},"188":{"position":[[359,8],[591,8],[848,8],[2618,8],[2638,8]]},"189":{"position":[[154,8],[342,8]]},"197":{"position":[[144,9]]},"198":{"position":[[37,8]]},"201":{"position":[[26,9]]},"202":{"position":[[25,8],[207,9]]},"203":{"position":[[19,8]]},"204":{"position":[[36,9]]},"211":{"position":[[53,8]]},"215":{"position":[[114,9]]},"216":{"position":[[10,9]]},"218":{"position":[[64,9]]},"219":{"position":[[10,9],[126,9]]},"220":{"position":[[10,9],[150,8]]},"221":{"position":[[127,9],[197,8]]},"222":{"position":[[10,10],[162,9],[338,8]]},"223":{"position":[[13,8],[140,10],[202,8]]},"224":{"position":[[10,9],[75,10]]},"225":{"position":[[11,9],[132,9]]},"226":{"position":[[5,9],[340,10]]},"227":{"position":[[5,9],[172,10]]},"228":{"position":[[17,9],[173,10]]},"229":{"position":[[40,8],[87,9]]},"232":{"position":[[277,10]]},"233":{"position":[[292,8]]},"236":{"position":[[121,8]]},"239":{"position":[[302,8]]},"241":{"position":[[387,9]]},"243":{"position":[[238,8]]},"249":{"position":[[156,9]]},"260":{"position":[[71,9]]},"262":{"position":[[92,8]]},"263":{"position":[[511,8]]},"265":{"position":[[63,8],[128,8],[185,8],[278,10],[604,10],[630,10],[742,8]]},"267":{"position":[[1166,8]]},"271":{"position":[[122,8]]},"273":{"position":[[30,8]]},"275":{"position":[[190,9],[248,8]]},"276":{"position":[[146,10]]},"278":{"position":[[37,8]]},"279":{"position":[[7,10],[367,8]]},"281":{"position":[[122,9],[367,9]]},"282":{"position":[[116,10],[203,9],[271,10]]},"285":{"position":[[236,8]]},"287":{"position":[[1111,8]]},"289":{"position":[[620,9],[1043,9]]},"291":{"position":[[143,8]]},"293":{"position":[[396,9]]},"314":{"position":[[290,8]]},"320":{"position":[[330,8]]},"322":{"position":[[26,9]]},"325":{"position":[[29,8]]},"331":{"position":[[303,8]]},"344":{"position":[[60,8]]},"346":{"position":[[17,9]]},"347":{"position":[[70,8]]},"351":{"position":[[368,8]]},"353":{"position":[[437,9]]},"354":{"position":[[643,9],[721,9],[1510,8]]},"359":{"position":[[12,9]]},"360":{"position":[[675,9]]},"362":{"position":[[12,9],[1070,9],[1141,8]]},"364":{"position":[[138,8]]},"365":{"position":[[129,8],[488,9],[511,8],[1103,8],[1248,8],[1588,8]]},"367":{"position":[[36,8],[547,9]]},"369":{"position":[[1021,9],[1474,8]]},"372":{"position":[[183,8]]},"373":{"position":[[384,8]]},"375":{"position":[[7,9],[351,9],[716,9],[851,9]]},"376":{"position":[[44,8],[352,8],[633,9]]},"377":{"position":[[157,9]]},"378":{"position":[[16,9],[53,8]]},"382":{"position":[[336,8]]},"388":{"position":[[156,8],[269,8]]},"390":{"position":[[10,8],[36,8],[314,9],[382,9],[760,8],[869,9],[1140,9],[1658,8],[1832,8]]},"391":{"position":[[50,8]]},"392":{"position":[[59,8],[1203,9],[1800,9]]},"393":{"position":[[47,9]]},"395":{"position":[[161,10]]},"396":{"position":[[1113,9]]},"397":{"position":[[344,9]]},"398":{"position":[[3482,8]]},"399":{"position":[[16,10]]},"400":{"position":[[793,8]]},"402":{"position":[[85,9]]},"404":{"position":[[20,8]]},"407":{"position":[[203,8]]},"408":{"position":[[1856,8],[3623,8],[3667,10],[4648,9]]},"410":{"position":[[229,8],[1929,8]]},"411":{"position":[[1901,8],[2178,9],[2286,8],[2421,9],[2954,8],[3651,9],[3766,9],[4161,9]]},"412":{"position":[[7215,9],[9212,8],[9497,8],[9732,8],[10883,8],[11007,8],[11162,9],[11265,8],[12447,8],[12547,8],[12821,8],[13270,9],[13464,9],[13659,8],[14209,8]]},"420":{"position":[[672,8],[1555,9]]},"422":{"position":[[75,9]]},"427":{"position":[[444,10]]},"432":{"position":[[1227,8]]},"433":{"position":[[504,8]]},"440":{"position":[[450,8]]},"444":{"position":[[8,9],[129,9],[364,9],[434,10],[576,10],[610,8],[748,10]]},"445":{"position":[[32,9],[95,10],[667,8],[1056,8],[2052,8],[2327,8]]},"447":{"position":[[8,9],[573,8]]},"452":{"position":[[49,8],[413,9]]},"454":{"position":[[527,8]]},"455":{"position":[[74,9],[241,10]]},"457":{"position":[[191,9]]},"459":{"position":[[30,8],[83,8]]},"463":{"position":[[80,10],[348,8],[833,8]]},"469":{"position":[[208,8],[409,8]]},"470":{"position":[[320,9]]},"474":{"position":[[107,9]]},"475":{"position":[[74,9]]},"476":{"position":[[289,8]]},"478":{"position":[[145,9]]},"479":{"position":[[16,9],[48,8],[526,9]]},"480":{"position":[[48,9],[342,8]]},"482":{"position":[[571,8],[1079,8]]},"483":{"position":[[24,8],[686,9],[1163,8]]},"489":{"position":[[9,8],[468,9]]},"490":{"position":[[353,8]]},"491":{"position":[[1212,9]]},"501":{"position":[[115,9]]},"502":{"position":[[48,8]]},"504":{"position":[[1164,9]]},"511":{"position":[[70,8]]},"513":{"position":[[29,9],[224,8]]},"514":{"position":[[26,9],[65,8],[127,8],[193,8]]},"515":{"position":[[88,9]]},"516":{"position":[[341,9]]},"517":{"position":[[251,9]]},"518":{"position":[[142,8]]},"520":{"position":[[19,8],[134,8],[278,8],[406,8]]},"524":{"position":[[630,9],[694,8],[985,8]]},"527":{"position":[[54,8]]},"528":{"position":[[137,9]]},"530":{"position":[[253,8]]},"531":{"position":[[70,8]]},"533":{"position":[[125,8]]},"538":{"position":[[196,8],[403,8],[485,8]]},"539":{"position":[[11,8]]},"542":{"position":[[517,8]]},"544":{"position":[[129,9]]},"551":{"position":[[83,9],[519,8]]},"554":{"position":[[1026,8]]},"555":{"position":[[24,8],[864,9]]},"556":{"position":[[175,8]]},"557":{"position":[[105,8]]},"565":{"position":[[231,8]]},"569":{"position":[[1009,10],[1277,9],[1514,9]]},"570":{"position":[[29,10],[170,8],[243,9],[489,9],[548,8],[703,10]]},"571":{"position":[[537,9],[592,8]]},"574":{"position":[[762,8],[882,8]]},"575":{"position":[[27,8],[83,8]]},"576":{"position":[[235,9]]},"584":{"position":[[77,8]]},"590":{"position":[[93,8],[191,8]]},"591":{"position":[[70,8]]},"593":{"position":[[125,8]]},"598":{"position":[[197,8],[492,8]]},"599":{"position":[[11,8]]},"604":{"position":[[129,9]]},"628":{"position":[[153,8]]},"631":{"position":[[34,8]]},"632":{"position":[[1028,9]]},"642":{"position":[[40,8]]},"647":{"position":[[17,8]]},"656":{"position":[[81,8],[130,8]]},"661":{"position":[[34,8],[784,8],[823,9],[1146,9],[1421,8]]},"662":{"position":[[33,8],[1350,8],[1580,8],[2027,8],[2090,8]]},"663":{"position":[[138,8]]},"676":{"position":[[282,9]]},"680":{"position":[[521,8]]},"682":{"position":[[71,8]]},"686":{"position":[[761,9],[824,8]]},"694":{"position":[[24,9]]},"698":{"position":[[407,9],[1041,9],[1116,9],[2320,8]]},"699":{"position":[[720,9],[781,9]]},"701":{"position":[[342,8],[437,9],[708,10]]},"702":{"position":[[181,8],[365,8],[590,9],[670,9]]},"703":{"position":[[1068,9]]},"704":{"position":[[23,8]]},"705":{"position":[[122,9],[212,9],[279,8],[383,10],[1287,8]]},"707":{"position":[[399,8]]},"708":{"position":[[124,8],[206,8],[332,8],[539,8]]},"709":{"position":[[481,8],[545,8]]},"710":{"position":[[19,8],[1118,8],[1521,8],[1669,8],[2388,8]]},"711":{"position":[[34,8],[1091,9],[1918,8]]},"712":{"position":[[26,8],[157,8]]},"715":{"position":[[128,8]]},"717":{"position":[[971,9],[1129,8]]},"718":{"position":[[632,8]]},"719":{"position":[[21,8],[90,9],[120,8],[264,8],[495,9]]},"723":{"position":[[579,9],[775,8]]},"745":{"position":[[117,8],[478,8]]},"749":{"position":[[117,8],[183,10],[281,8],[311,8],[5737,8],[6643,8],[10212,8],[12576,8],[12641,8],[24099,8]]},"753":{"position":[[109,9]]},"757":{"position":[[22,8],[140,8],[223,8]]},"759":{"position":[[479,9],[522,9],[586,8],[722,8],[1054,8],[1144,8],[1213,8],[1340,8]]},"760":{"position":[[475,9],[518,9],[582,8],[718,8]]},"761":{"position":[[156,8]]},"764":{"position":[[340,9]]},"772":{"position":[[29,8],[114,8],[511,8],[1178,9]]},"774":{"position":[[53,8],[141,8],[868,8],[949,8]]},"775":{"position":[[25,8],[158,8],[328,8],[688,9],[750,8],[796,9]]},"776":{"position":[[166,9],[209,8],[307,8],[385,8]]},"779":{"position":[[347,9]]},"781":{"position":[[658,9]]},"784":{"position":[[701,8]]},"785":{"position":[[534,9],[697,8]]},"793":{"position":[[1185,8]]},"796":{"position":[[43,10]]},"797":{"position":[[35,8]]},"800":{"position":[[12,9]]},"801":{"position":[[8,8],[131,10],[147,8]]},"802":{"position":[[60,8],[244,8],[553,8]]},"815":{"position":[[216,8]]},"825":{"position":[[324,8]]},"829":{"position":[[85,8],[104,8],[420,9],[896,9],[962,8],[1055,8],[1178,8],[1378,13],[1421,10],[1585,9],[1704,11],[3047,8]]},"830":{"position":[[209,8],[289,8]]},"832":{"position":[[113,8]]},"834":{"position":[[20,8]]},"836":{"position":[[36,8],[602,8],[740,8]]},"837":{"position":[[33,8],[92,9],[2038,8]]},"838":{"position":[[33,8],[1897,8],[2167,9],[2298,8]]},"839":{"position":[[20,8],[246,8],[1231,9]]},"840":{"position":[[30,8]]},"842":{"position":[[32,8],[272,8]]},"849":{"position":[[436,8]]},"851":{"position":[[83,10],[133,8],[213,8],[262,8]]},"854":{"position":[[82,9],[745,9]]},"857":{"position":[[90,9]]},"858":{"position":[[256,9]]},"860":{"position":[[115,8],[175,8]]},"861":{"position":[[940,8],[1031,8],[1181,8]]},"862":{"position":[[494,8]]},"872":{"position":[[730,8],[801,8],[1014,11],[1355,8],[1402,8],[2496,9],[3277,9]]},"875":{"position":[[4045,9]]},"892":{"position":[[285,9]]},"898":{"position":[[1554,8],[1602,9]]},"903":{"position":[[592,8],[734,8]]},"904":{"position":[[284,8],[351,8],[393,8]]},"908":{"position":[[125,8]]},"935":{"position":[[96,9],[144,8]]},"939":{"position":[[40,9],[91,9]]},"942":{"position":[[43,9]]},"953":{"position":[[93,8]]},"958":{"position":[[71,9],[165,8],[262,9],[738,9]]},"960":{"position":[[5,8]]},"961":{"position":[[5,8],[61,9]]},"962":{"position":[[145,9]]},"963":{"position":[[71,9]]},"964":{"position":[[67,8]]},"965":{"position":[[56,8],[124,8]]},"966":{"position":[[453,9]]},"971":{"position":[[96,9]]},"972":{"position":[[36,9],[92,8]]},"973":{"position":[[33,8]]},"975":{"position":[[43,8],[138,8],[354,8],[548,8]]},"976":{"position":[[12,9],[147,8],[177,8],[206,9],[242,8]]},"977":{"position":[[102,8],[154,8],[306,9]]},"981":{"position":[[36,8]]},"986":{"position":[[477,8]]},"989":{"position":[[279,8]]},"1007":{"position":[[1104,8]]},"1008":{"position":[[207,8]]},"1013":{"position":[[87,8],[450,8],[806,8]]},"1014":{"position":[[34,8],[309,8]]},"1015":{"position":[[34,8]]},"1058":{"position":[[191,9]]},"1065":{"position":[[1955,9],[2074,9]]},"1067":{"position":[[1878,8],[2341,9],[2360,8]]},"1068":{"position":[[119,9]]},"1069":{"position":[[28,9]]},"1071":{"position":[[23,10]]},"1072":{"position":[[152,8],[1246,8]]},"1084":{"position":[[82,9]]},"1085":{"position":[[3727,8]]},"1090":{"position":[[350,8],[924,8],[1037,9]]},"1094":{"position":[[131,8],[167,8]]},"1097":{"position":[[722,9]]},"1098":{"position":[[358,9]]},"1099":{"position":[[332,9]]},"1103":{"position":[[217,9]]},"1114":{"position":[[306,8],[694,8]]},"1118":{"position":[[286,8],[628,8]]},"1121":{"position":[[434,8]]},"1124":{"position":[[225,9],[1027,8]]},"1126":{"position":[[132,9],[341,8],[654,8]]},"1130":{"position":[[271,8]]},"1132":{"position":[[539,8],[1521,9]]},"1134":{"position":[[713,8]]},"1135":{"position":[[207,9]]},"1144":{"position":[[158,9]]},"1148":{"position":[[821,8],[1097,9]]},"1149":{"position":[[867,8]]},"1150":{"position":[[310,8]]},"1154":{"position":[[728,8]]},"1158":{"position":[[166,9]]},"1161":{"position":[[194,8]]},"1165":{"position":[[497,8],[594,8],[644,8],[958,8]]},"1171":{"position":[[385,8]]},"1174":{"position":[[467,8],[540,9],[683,8]]},"1175":{"position":[[106,8],[225,8],[286,8],[507,8],[604,8]]},"1177":{"position":[[59,9]]},"1180":{"position":[[194,8]]},"1183":{"position":[[197,9]]},"1188":{"position":[[49,8],[162,8]]},"1191":{"position":[[102,9]]},"1194":{"position":[[160,8],[264,8]]},"1198":{"position":[[110,8],[612,8],[1116,8]]},"1204":{"position":[[60,9]]},"1210":{"position":[[404,8]]},"1211":{"position":[[659,8]]},"1214":{"position":[[840,8],[923,8],[986,8]]},"1219":{"position":[[187,8],[233,8],[566,9]]},"1220":{"position":[[245,9]]},"1222":{"position":[[878,8],[1011,9],[1202,8],[1240,10],[1375,8]]},"1226":{"position":[[200,8]]},"1227":{"position":[[678,8]]},"1231":{"position":[[1009,8]]},"1238":{"position":[[59,8]]},"1246":{"position":[[1105,8],[1910,9]]},"1247":{"position":[[408,8]]},"1249":{"position":[[27,8],[255,8],[311,11]]},"1250":{"position":[[52,8],[130,8],[381,8],[502,8]]},"1251":{"position":[[95,8]]},"1253":{"position":[[18,10]]},"1264":{"position":[[122,8]]},"1265":{"position":[[666,8]]},"1267":{"position":[[128,8],[403,8],[580,10],[642,9],[736,9]]},"1271":{"position":[[1517,8]]},"1272":{"position":[[80,9]]},"1274":{"position":[[173,8]]},"1276":{"position":[[567,8]]},"1277":{"position":[[345,8]]},"1279":{"position":[[52,8]]},"1280":{"position":[[80,8]]},"1281":{"position":[[27,8]]},"1282":{"position":[[256,8]]},"1283":{"position":[[14,9]]},"1289":{"position":[[135,9]]},"1295":{"position":[[55,10],[76,8],[857,9]]},"1299":{"position":[[107,9],[435,9]]},"1300":{"position":[[636,8]]},"1301":{"position":[[166,8],[755,8],[872,9]]},"1302":{"position":[[15,8]]},"1304":{"position":[[226,9],[264,8],[483,8],[648,8]]},"1305":{"position":[[82,8],[137,9],[684,8],[931,9],[1062,9]]},"1307":{"position":[[134,9],[696,8]]},"1311":{"position":[[73,8],[1420,8]]},"1313":{"position":[[110,8],[1005,9]]},"1314":{"position":[[187,8],[235,8]]},"1315":{"position":[[41,9],[809,8],[938,9],[1283,8],[1592,8]]},"1316":{"position":[[260,8],[631,8],[715,8],[995,8],[1231,8],[2905,8],[2974,8],[3725,8]]},"1317":{"position":[[85,9]]},"1318":{"position":[[12,10]]},"1320":{"position":[[25,8],[746,8]]},"1321":{"position":[[183,8]]},"1324":{"position":[[20,9],[518,9],[694,9]]}},"keywords":{}}],["database"",{"_index":1442,"title":{},"content":{"243":{"position":[[45,14],[124,14],[167,14],[382,14],[414,14],[963,14],[995,14]]},"244":{"position":[[300,14],[366,14],[548,14],[660,14],[815,14],[853,14],[890,14],[944,14],[1008,14],[1542,14]]},"570":{"position":[[861,15]]},"571":{"position":[[1880,14]]}},"keywords":{}}],["database'",{"_index":1020,"title":{},"content":{"96":{"position":[[214,10]]},"205":{"position":[[33,10]]},"212":{"position":[[156,10]]},"636":{"position":[[381,10]]}},"keywords":{}}],["database'?"",{"_index":2193,"title":{},"content":{"390":{"position":[[652,18]]}},"keywords":{}}],["database(",{"_index":2670,"title":{},"content":{"412":{"position":[[2555,12]]}},"keywords":{}}],["database.addcollect",{"_index":5377,"title":{},"content":{"955":{"position":[[213,26]]}},"keywords":{}}],["database.addst",{"_index":5984,"title":{},"content":{"1114":{"position":[[838,20]]},"1118":{"position":[[771,20]]},"1121":{"position":[[551,20]]}},"keywords":{}}],["database.addstate('mynamepsac",{"_index":5987,"title":{},"content":{"1114":{"position":[[939,33]]}},"keywords":{}}],["database.explor",{"_index":3722,"title":{},"content":{"644":{"position":[[62,16]]},"913":{"position":[[68,16]]}},"keywords":{}}],["database.getcollection('hero",{"_index":1277,"title":{},"content":{"188":{"position":[[2768,33]]}},"keywords":{}}],["database.heroes.find",{"_index":851,"title":{},"content":{"55":{"position":[[1098,26]]}},"keywords":{}}],["database.nam",{"_index":1253,"title":{},"content":{"188":{"position":[[996,13]]}},"keywords":{}}],["database.query('select",{"_index":3807,"title":{},"content":{"661":{"position":[[1280,22]]}},"keywords":{}}],["database.stor",{"_index":4037,"title":{},"content":{"719":{"position":[[290,14]]}},"keywords":{}}],["database/storag",{"_index":3332,"title":{"549":{"position":[[38,16]]}},"content":{},"keywords":{}}],["database={database}>",{"_index":4754,"title":{},"content":{"829":{"position":[[1765,23]]}},"keywords":{}}],["databaseid",{"_index":4906,"title":{},"content":{"862":{"position":[[1212,11]]}},"keywords":{}}],["databasenam",{"_index":1255,"title":{},"content":{"188":{"position":[[1068,13],[2707,14]]},"661":{"position":[[1213,13]]},"872":{"position":[[2478,13]]},"1165":{"position":[[450,12],[754,13],[1092,13]]},"1281":{"position":[[279,13]]}},"keywords":{}}],["databaseon",{"_index":6325,"title":{},"content":{"1267":{"position":[[597,11]]}},"keywords":{}}],["databasepostinsert",{"_index":4527,"title":{},"content":{"767":{"position":[[199,18]]}},"keywords":{}}],["databasepostremov",{"_index":4551,"title":{},"content":{"769":{"position":[[173,18]]}},"keywords":{}}],["databasepostsav",{"_index":4539,"title":{},"content":{"768":{"position":[[162,16]]}},"keywords":{}}],["databaseservic",{"_index":783,"title":{},"content":{"51":{"position":[[990,16]]},"54":{"position":[[91,16]]},"130":{"position":[[395,16]]}},"keywords":{}}],["databasesus",{"_index":3337,"title":{},"content":{"551":{"position":[[70,12]]}},"keywords":{}}],["databasesync",{"_index":6332,"title":{},"content":{"1271":{"position":[[1370,12]]},"1275":{"position":[[270,12]]}},"keywords":{}}],["databases—rel",{"_index":2068,"title":{},"content":{"358":{"position":[[836,20]]}},"keywords":{}}],["databasetwo",{"_index":6326,"title":{},"content":{"1267":{"position":[[691,11]]}},"keywords":{}}],["databaseurl",{"_index":4867,"title":{},"content":{"854":{"position":[[280,12]]},"1148":{"position":[[973,12]]}},"keywords":{}}],["databuilt",{"_index":3403,"title":{},"content":{"559":{"position":[[889,9]]}},"keywords":{}}],["datacent",{"_index":5919,"title":{},"content":{"1093":{"position":[[154,10]]}},"keywords":{}}],["datachannel",{"_index":5274,"title":{},"content":{"911":{"position":[[302,11],[415,11]]}},"keywords":{}}],["datachannel/polyfil",{"_index":1372,"title":{},"content":{"210":{"position":[[463,23]]},"261":{"position":[[704,23]]},"904":{"position":[[2909,23]]},"911":{"position":[[547,22]]}},"keywords":{}}],["datalearn",{"_index":1911,"title":{},"content":{"318":{"position":[[441,9]]}},"keywords":{}}],["datalog",{"_index":623,"title":{},"content":{"39":{"position":[[396,8]]}},"keywords":{}}],["datapath",{"_index":5123,"title":{},"content":{"886":{"position":[[1308,9]]}},"keywords":{}}],["datarxdb",{"_index":3966,"title":{},"content":{"703":{"position":[[297,8]]}},"keywords":{}}],["dataset",{"_index":405,"title":{"696":{"position":[[25,9]]}},"content":{"24":{"position":[[504,9]]},"58":{"position":[[183,9]]},"64":{"position":[[128,8]]},"66":{"position":[[353,8]]},"138":{"position":[[198,9]]},"141":{"position":[[262,8]]},"169":{"position":[[287,8]]},"173":{"position":[[2121,8]]},"217":{"position":[[347,8]]},"265":{"position":[[778,7]]},"369":{"position":[[508,9],[571,7]]},"392":{"position":[[814,7]]},"394":{"position":[[1596,7],[1785,9]]},"396":{"position":[[1986,8]]},"398":{"position":[[3370,7]]},"408":{"position":[[759,8],[1308,8]]},"411":{"position":[[256,8],[3927,8]]},"412":{"position":[[6745,7],[7251,7],[7592,8],[12459,7]]},"432":{"position":[[388,9],[1448,9]]},"446":{"position":[[892,8]]},"574":{"position":[[547,8]]},"587":{"position":[[139,8]]},"643":{"position":[[11,8]]},"696":{"position":[[136,7]]},"723":{"position":[[194,9],[1653,8]]},"773":{"position":[[740,8]]},"775":{"position":[[509,8],[573,7]]},"1006":{"position":[[173,7]]},"1072":{"position":[[2912,9]]},"1123":{"position":[[540,8]]},"1124":{"position":[[1663,7]]},"1132":{"position":[[267,9]]},"1137":{"position":[[224,9]]},"1156":{"position":[[132,9]]},"1170":{"position":[[197,9]]},"1192":{"position":[[747,7]]},"1235":{"position":[[96,9]]},"1295":{"position":[[907,7],[1095,7]]},"1315":{"position":[[1499,7]]}},"keywords":{}}],["datasets.flex",{"_index":1225,"title":{},"content":{"174":{"position":[[2543,17]]}},"keywords":{}}],["datasets.indexeddb",{"_index":1669,"title":{},"content":{"287":{"position":[[432,18]]}},"keywords":{}}],["datasets.mani",{"_index":2903,"title":{},"content":{"430":{"position":[[670,13]]}},"keywords":{}}],["datasets.dist",{"_index":2343,"title":{},"content":{"396":{"position":[[777,18]]}},"keywords":{}}],["datastor",{"_index":316,"title":{"19":{"position":[[4,10]]},"1092":{"position":[[7,9]]}},"content":{"19":{"position":[[58,9],[620,9],[790,9]]},"475":{"position":[[114,10]]},"630":{"position":[[588,10]]},"701":{"position":[[982,9]]},"1092":{"position":[[166,9],[323,9],[499,9]]},"1093":{"position":[[94,10]]},"1124":{"position":[[724,10]]}},"keywords":{}}],["datastore.query(post",{"_index":336,"title":{},"content":{"19":{"position":[[659,21],[831,21]]}},"keywords":{}}],["data—rath",{"_index":3112,"title":{},"content":{"477":{"position":[[290,11]]}},"keywords":{}}],["date",{"_index":1174,"title":{},"content":{"158":{"position":[[327,4]]},"185":{"position":[[191,4]]},"267":{"position":[[811,4]]},"288":{"position":[[155,4]]},"293":{"position":[[362,4]]},"316":{"position":[[370,5]]},"340":{"position":[[174,4]]},"367":{"position":[[1019,5]]},"411":{"position":[[4286,4]]},"412":{"position":[[4286,4],[6264,4]]},"504":{"position":[[1208,4]]},"602":{"position":[[511,4]]},"696":{"position":[[384,4]]},"723":{"position":[[1229,5]]},"749":{"position":[[12006,6]]},"799":{"position":[[32,4],[206,4]]},"861":{"position":[[377,5]]},"897":{"position":[[347,5]]},"904":{"position":[[1063,5]]},"1085":{"position":[[19,5],[126,6],[196,6],[315,4],[527,4],[585,4]]},"1124":{"position":[[1144,5]]}},"keywords":{}}],["date().gettim",{"_index":4102,"title":{},"content":{"739":{"position":[[722,16]]},"1048":{"position":[[475,17]]},"1085":{"position":[[3798,16]]},"1177":{"position":[[501,16]]}},"keywords":{}}],["date().toisostr",{"_index":5258,"title":{},"content":{"904":{"position":[[1240,20]]}},"keywords":{}}],["date().tojson",{"_index":3945,"title":{},"content":{"698":{"position":[[2795,16],[2863,16],[2930,16]]}},"keywords":{}}],["date().totimestr",{"_index":3607,"title":{},"content":{"612":{"position":[[2274,22]]}},"keywords":{}}],["date(olddoc.time).gettim",{"_index":4446,"title":{},"content":{"751":{"position":[[653,28],[896,28],[1755,28]]}},"keywords":{}}],["date.now",{"_index":5512,"title":{},"content":{"995":{"position":[[1747,10],[1979,11]]}},"keywords":{}}],["date.now().tostr",{"_index":1958,"title":{},"content":{"335":{"position":[[750,22]]}},"keywords":{}}],["date.toisostr",{"_index":5890,"title":{},"content":{"1085":{"position":[[553,19]]}},"keywords":{}}],["datetime.now()}"",{"_index":1282,"title":{},"content":{"188":{"position":[[2902,24]]}},"keywords":{}}],["dave",{"_index":4692,"title":{},"content":{"813":{"position":[[320,6]]}},"keywords":{}}],["day",{"_index":2724,"title":{},"content":{"412":{"position":[[7951,5]]},"419":{"position":[[14,4],[1048,4]]},"450":{"position":[[690,4]]},"697":{"position":[[195,5]]},"783":{"position":[[330,4]]},"1162":{"position":[[444,4]]},"1181":{"position":[[531,4]]},"1316":{"position":[[540,4]]}},"keywords":{}}],["db",{"_index":355,"title":{},"content":{"20":{"position":[[158,2]]},"41":{"position":[[214,2]]},"51":{"position":[[688,2],[891,3]]},"188":{"position":[[959,2],[1474,3]]},"209":{"position":[[231,2],[1273,3]]},"211":{"position":[[201,2]]},"255":{"position":[[578,2],[1604,3]]},"258":{"position":[[139,2]]},"266":{"position":[[653,2]]},"314":{"position":[[464,2],[913,3]]},"315":{"position":[[527,2],[930,3]]},"334":{"position":[[139,2],[322,2],[775,3]]},"335":{"position":[[191,2]]},"370":{"position":[[157,2]]},"392":{"position":[[332,2]]},"411":{"position":[[2024,2],[2548,2],[2652,2],[4433,2]]},"412":{"position":[[9775,2],[9951,2],[10528,3],[11223,2],[11990,2],[12603,2],[12765,3]]},"478":{"position":[[216,2]]},"480":{"position":[[357,2],[926,3]]},"482":{"position":[[602,2],[1042,3]]},"522":{"position":[[403,2]]},"538":{"position":[[418,2]]},"554":{"position":[[1041,2],[1556,3]]},"555":{"position":[[196,2]]},"562":{"position":[[156,2]]},"563":{"position":[[468,2]]},"564":{"position":[[572,2]]},"566":{"position":[[920,3]]},"579":{"position":[[331,2],[789,3]]},"580":{"position":[[366,7],[402,3],[433,2]]},"598":{"position":[[425,2],[921,3]]},"601":{"position":[[438,7],[516,2]]},"632":{"position":[[1277,2],[1885,3]]},"638":{"position":[[419,2]]},"653":{"position":[[242,2]]},"672":{"position":[[190,2]]},"673":{"position":[[196,2]]},"674":{"position":[[479,2]]},"693":{"position":[[1163,2]]},"710":{"position":[[1684,2]]},"711":{"position":[[1144,2]]},"717":{"position":[[1144,2]]},"718":{"position":[[647,2]]},"720":{"position":[[282,2]]},"734":{"position":[[469,2]]},"739":{"position":[[273,2],[567,2]]},"745":{"position":[[518,2]]},"749":{"position":[[6236,2],[6491,2]]},"759":{"position":[[349,2],[489,2]]},"760":{"position":[[485,2]]},"772":{"position":[[759,2]]},"773":{"position":[[549,2]]},"774":{"position":[[651,2]]},"793":{"position":[[1261,2]]},"829":{"position":[[628,2],[874,3],[1518,2]]},"836":{"position":[[678,2]]},"837":{"position":[[2100,2]]},"841":{"position":[[1498,3]]},"849":{"position":[[891,3],[905,8]]},"862":{"position":[[528,2]]},"872":{"position":[[1702,2],[3287,3],[3960,2]]},"898":{"position":[[2310,2]]},"904":{"position":[[703,2]]},"916":{"position":[[294,2]]},"932":{"position":[[1032,2]]},"960":{"position":[[271,2]]},"962":{"position":[[742,2]]},"968":{"position":[[496,2]]},"1085":{"position":[[3540,2]]},"1126":{"position":[[356,2],[669,2]]},"1134":{"position":[[126,2]]},"1138":{"position":[[270,2]]},"1139":{"position":[[525,2]]},"1140":{"position":[[584,2]]},"1144":{"position":[[174,2]]},"1145":{"position":[[514,2]]},"1146":{"position":[[219,2]]},"1148":{"position":[[1113,2]]},"1149":{"position":[[906,2]]},"1158":{"position":[[182,2]]},"1159":{"position":[[368,2]]},"1163":{"position":[[528,2]]},"1168":{"position":[[130,2]]},"1172":{"position":[[295,2]]},"1177":{"position":[[603,3]]},"1182":{"position":[[532,2]]},"1184":{"position":[[771,2]]},"1201":{"position":[[170,2]]},"1286":{"position":[[479,2]]},"1287":{"position":[[529,2]]},"1288":{"position":[[495,2]]}},"keywords":{}}],["db.addcollect",{"_index":780,"title":{},"content":{"51":{"position":[[829,19]]},"188":{"position":[[1180,19]]},"209":{"position":[[364,19]]},"211":{"position":[[325,19]]},"255":{"position":[[708,19]]},"259":{"position":[[7,19]]},"314":{"position":[[673,19]]},"315":{"position":[[646,19]]},"316":{"position":[[116,19]]},"334":{"position":[[561,19]]},"392":{"position":[[532,19],[1497,19]]},"480":{"position":[[473,19]]},"482":{"position":[[760,19]]},"538":{"position":[[852,19]]},"554":{"position":[[1253,19]]},"562":{"position":[[480,19]]},"564":{"position":[[699,19]]},"579":{"position":[[569,19]]},"598":{"position":[[859,19]]},"632":{"position":[[1458,19]]},"638":{"position":[[537,19]]},"639":{"position":[[300,19]]},"680":{"position":[[1139,19]]},"717":{"position":[[1599,19]]},"734":{"position":[[854,19]]},"739":{"position":[[413,19]]},"772":{"position":[[930,19]]},"829":{"position":[[727,19]]},"862":{"position":[[813,19]]},"872":{"position":[[1820,19],[4050,19]]},"898":{"position":[[2400,19]]},"904":{"position":[[797,19]]},"939":{"position":[[156,19]]},"1149":{"position":[[1009,19]]},"1158":{"position":[[297,19]]},"1231":{"position":[[1096,19]]}},"keywords":{}}],["db.all(sqlqueri",{"_index":4007,"title":{},"content":{"711":{"position":[[1576,16]]}},"keywords":{}}],["db.cities.findone().where('name').equals('tokyo').exec",{"_index":6535,"title":{},"content":{"1315":{"position":[[575,57]]}},"keywords":{}}],["db.customers.find().where('city_id').equals(citydocument.id).exec",{"_index":6537,"title":{},"content":{"1315":{"position":[[665,68]]}},"keywords":{}}],["db.execute('select",{"_index":4774,"title":{},"content":{"836":{"position":[[950,18]]}},"keywords":{}}],["db.file",{"_index":5661,"title":{},"content":{"1033":{"position":[[565,9]]}},"keywords":{}}],["db.files.addpipelin",{"_index":5660,"title":{},"content":{"1033":{"position":[[499,22]]}},"keywords":{}}],["db.folder",{"_index":5664,"title":{},"content":{"1033":{"position":[[794,11]]}},"keywords":{}}],["db.folders.addpipelin",{"_index":5663,"title":{},"content":{"1033":{"position":[[730,24]]}},"keywords":{}}],["db.hero",{"_index":1098,"title":{},"content":{"130":{"position":[[472,8]]},"143":{"position":[[435,8],[616,8]]},"335":{"position":[[255,7]]},"563":{"position":[[688,10]]},"580":{"position":[[490,7]]},"939":{"position":[[229,10]]}},"keywords":{}}],["db.hero.insert",{"_index":1957,"title":{},"content":{"335":{"position":[[729,16]]}},"keywords":{}}],["db.heroes.bulkinsert",{"_index":793,"title":{},"content":{"52":{"position":[[184,22]]},"539":{"position":[[184,22]]},"599":{"position":[[193,22]]}},"keywords":{}}],["db.heroes.find",{"_index":3226,"title":{},"content":{"502":{"position":[[921,16]]},"518":{"position":[[388,16]]},"571":{"position":[[862,16]]},"601":{"position":[[581,17]]},"602":{"position":[[240,20]]}},"keywords":{}}],["db.heroes.find().exec",{"_index":801,"title":{},"content":{"52":{"position":[[342,24]]},"539":{"position":[[342,24]]},"562":{"position":[[670,24]]},"599":{"position":[[369,24]]}},"keywords":{}}],["db.heroes.findon",{"_index":803,"title":{},"content":{"52":{"position":[[389,19],[479,19],[626,19]]},"539":{"position":[[389,19],[479,19],[626,19]]},"599":{"position":[[416,19],[506,19],[657,19]]}},"keywords":{}}],["db.heroes.insert",{"_index":788,"title":{},"content":{"52":{"position":[[90,18]]},"539":{"position":[[90,18]]},"562":{"position":[[557,18]]},"599":{"position":[[90,18]]}},"keywords":{}}],["db.human",{"_index":4903,"title":{},"content":{"862":{"position":[[885,10]]},"872":{"position":[[2521,10],[3427,9],[4532,10]]},"898":{"position":[[3393,10]]},"1149":{"position":[[1385,10]]}},"keywords":{}}],["db.humans.syncgraphql",{"_index":6278,"title":{},"content":{"1231":{"position":[[1165,25]]}},"keywords":{}}],["db.item",{"_index":2230,"title":{},"content":{"392":{"position":[[755,9]]}},"keywords":{}}],["db.j",{"_index":3488,"title":{},"content":{"579":{"position":[[161,5]]}},"keywords":{}}],["db.run("cr",{"_index":4002,"title":{},"content":{"711":{"position":[[1259,19]]}},"keywords":{}}],["db.run("insert",{"_index":4004,"title":{},"content":{"711":{"position":[[1316,19]]}},"keywords":{}}],["db.securedata.findon",{"_index":3356,"title":{},"content":{"555":{"position":[[474,23]]},"556":{"position":[[816,23]]}},"keywords":{}}],["db.securedata.insert",{"_index":3353,"title":{},"content":{"555":{"position":[[275,22]]}},"keywords":{}}],["db.serial",{"_index":4001,"title":{},"content":{"711":{"position":[[1235,15]]}},"keywords":{}}],["db.servic",{"_index":4726,"title":{},"content":{"825":{"position":[[667,16]]}},"keywords":{}}],["db.t",{"_index":3536,"title":{},"content":{"598":{"position":[[261,5]]}},"keywords":{}}],["db.task",{"_index":1346,"title":{},"content":{"209":{"position":[[658,9]]},"210":{"position":[[300,9]]},"255":{"position":[[1009,9]]},"261":{"position":[[373,9]]},"480":{"position":[[714,8]]},"481":{"position":[[678,9]]},"632":{"position":[[1751,8],[1926,8],[2246,9]]}},"keywords":{}}],["db.tasks.find",{"_index":6103,"title":{},"content":{"1158":{"position":[[682,15]]}},"keywords":{}}],["db.tasks.insert",{"_index":6100,"title":{},"content":{"1158":{"position":[[568,17]]}},"keywords":{}}],["db.temperature.insert",{"_index":4100,"title":{},"content":{"739":{"position":[[673,23]]}},"keywords":{}}],["db.todo",{"_index":5260,"title":{},"content":{"904":{"position":[[1891,9]]}},"keywords":{}}],["db.todos.insert",{"_index":5257,"title":{},"content":{"904":{"position":[[1158,17]]}},"keywords":{}}],["db.transaction('largestor",{"_index":1805,"title":{},"content":{"302":{"position":[[696,28]]}},"keywords":{}}],["db.transaction('product",{"_index":2994,"title":{},"content":{"459":{"position":[[637,26]]}},"keywords":{}}],["db.transaction([storenam",{"_index":6428,"title":{},"content":{"1294":{"position":[[828,27]]}},"keywords":{}}],["db.users.find",{"_index":4569,"title":{},"content":{"772":{"position":[[1018,15]]}},"keywords":{}}],["db.users.insert({id",{"_index":3877,"title":{},"content":{"680":{"position":[[1237,20]]}},"keywords":{}}],["db.vector",{"_index":2238,"title":{},"content":{"392":{"position":[[1758,10]]}},"keywords":{}}],["db.voxel",{"_index":5555,"title":{},"content":{"1007":{"position":[[50,10],[1413,10]]}},"keywords":{}}],["db.waitforleadership",{"_index":4094,"title":{},"content":{"739":{"position":[[471,22]]}},"keywords":{}}],["db1",{"_index":4195,"title":{},"content":{"749":{"position":[[4719,3]]},"966":{"position":[[525,3]]},"967":{"position":[[110,3],[367,3],[378,3]]}},"keywords":{}}],["db11",{"_index":4215,"title":{},"content":{"749":{"position":[[6203,4]]}},"keywords":{}}],["db12",{"_index":4216,"title":{},"content":{"749":{"position":[[6339,4]]}},"keywords":{}}],["db13",{"_index":4217,"title":{},"content":{"749":{"position":[[6458,4]]}},"keywords":{}}],["db14",{"_index":4218,"title":{},"content":{"749":{"position":[[6600,4]]}},"keywords":{}}],["db2",{"_index":4197,"title":{},"content":{"749":{"position":[[4854,3]]},"966":{"position":[[643,3]]},"967":{"position":[[228,3]]}},"keywords":{}}],["db3",{"_index":4200,"title":{},"content":{"749":{"position":[[4986,3]]}},"keywords":{}}],["db4",{"_index":4202,"title":{},"content":{"749":{"position":[[5138,3]]}},"keywords":{}}],["db5",{"_index":4203,"title":{},"content":{"749":{"position":[[5240,3]]}},"keywords":{}}],["db6",{"_index":4204,"title":{},"content":{"749":{"position":[[5352,3]]}},"keywords":{}}],["db8",{"_index":4207,"title":{},"content":{"749":{"position":[[5559,3]]}},"keywords":{}}],["db9",{"_index":4213,"title":{},"content":{"749":{"position":[[6067,3]]}},"keywords":{}}],["dblocat",{"_index":4489,"title":{},"content":{"759":{"position":[[385,11]]}},"keywords":{}}],["dbmongo",{"_index":5388,"title":{},"content":{"962":{"position":[[953,7]]}},"keywords":{}}],["dbservic",{"_index":815,"title":{},"content":{"54":{"position":[[80,10]]},"130":{"position":[[384,10]]},"825":{"position":[[650,9],[930,9]]}},"keywords":{}}],["de",{"_index":2459,"title":{},"content":{"401":{"position":[[349,2]]},"800":{"position":[[386,2]]},"1072":{"position":[[196,2]]},"1114":{"position":[[376,2]]},"1321":{"position":[[872,2]]}},"keywords":{}}],["de/flexsearch#index",{"_index":4060,"title":{},"content":{"724":{"position":[[1451,19]]}},"keywords":{}}],["de/flexsearch#search",{"_index":4065,"title":{},"content":{"724":{"position":[[1757,20]]}},"keywords":{}}],["deadlin",{"_index":3454,"title":{},"content":{"569":{"position":[[442,10]]},"699":{"position":[[970,8]]}},"keywords":{}}],["deadlock",{"_index":5658,"title":{},"content":{"1033":{"position":[[421,8],[870,8],[907,10]]}},"keywords":{}}],["deal",{"_index":931,"title":{},"content":{"65":{"position":[[1586,4]]},"169":{"position":[[268,7]]},"173":{"position":[[2102,7]]},"174":{"position":[[2524,7]]},"223":{"position":[[97,7]]},"265":{"position":[[879,7]]},"276":{"position":[[204,7]]},"279":{"position":[[322,7]]},"282":{"position":[[72,7]]},"291":{"position":[[376,4]]},"369":{"position":[[489,7]]},"372":{"position":[[272,7]]},"395":{"position":[[410,7]]},"408":{"position":[[1780,4]]},"412":{"position":[[15047,4]]},"420":{"position":[[775,4]]},"432":{"position":[[141,7]]},"508":{"position":[[138,7]]},"525":{"position":[[78,7]]},"526":{"position":[[242,7]]},"548":{"position":[[271,7]]},"608":{"position":[[269,7]]},"1319":{"position":[[164,4]]}},"keywords":{}}],["debounc",{"_index":1145,"title":{},"content":{"146":{"position":[[89,11]]}},"keywords":{}}],["debug",{"_index":598,"title":{},"content":{"38":{"position":[[893,5]]},"281":{"position":[[414,9]]},"364":{"position":[[806,9]]},"689":{"position":[[326,10]]},"729":{"position":[[399,6]]},"846":{"position":[[1431,9]]},"890":{"position":[[127,9]]},"1010":{"position":[[49,6],[218,5],[265,5]]},"1085":{"position":[[297,6],[3164,6]]},"1198":{"position":[[1137,6]]},"1202":{"position":[[438,6]]},"1282":{"position":[[618,5]]},"1305":{"position":[[309,6]]}},"keywords":{}}],["decad",{"_index":2528,"title":{},"content":{"408":{"position":[[482,6]]}},"keywords":{}}],["decemb",{"_index":317,"title":{},"content":{"19":{"position":[[7,8]]}},"keywords":{}}],["decentr",{"_index":473,"title":{},"content":{"29":{"position":[[69,13]]},"91":{"position":[[152,13]]},"289":{"position":[[656,13]]},"411":{"position":[[4866,17],[5224,13]]},"504":{"position":[[1417,13]]},"901":{"position":[[763,13]]},"903":{"position":[[268,14]]},"908":{"position":[[111,13]]}},"keywords":{}}],["decid",{"_index":1966,"title":{},"content":{"339":{"position":[[97,6]]},"412":{"position":[[128,8],[2320,7]]},"569":{"position":[[751,6]]},"590":{"position":[[852,6]]},"688":{"position":[[415,6]]},"698":{"position":[[2026,6]]},"701":{"position":[[877,6]]},"861":{"position":[[192,6]]},"1004":{"position":[[580,6]]},"1087":{"position":[[192,6]]},"1124":{"position":[[247,6],[411,6],[658,6]]}},"keywords":{}}],["decim",{"_index":2355,"title":{},"content":{"397":{"position":[[301,8]]}},"keywords":{}}],["decis",{"_index":2628,"title":{"981":{"position":[[7,9]]},"1071":{"position":[[7,10]]}},"content":{"411":{"position":[[3526,8]]},"412":{"position":[[5982,9]]},"441":{"position":[[631,9]]},"686":{"position":[[136,8]]},"1091":{"position":[[105,8]]}},"keywords":{}}],["decisions.y",{"_index":3907,"title":{},"content":{"690":{"position":[[140,13]]}},"keywords":{}}],["declar",{"_index":2942,"title":{},"content":{"445":{"position":[[1460,11]]},"674":{"position":[[267,7]]},"749":{"position":[[17924,7],[18046,7]]},"841":{"position":[[1241,11]]},"1018":{"position":[[723,7]]},"1311":{"position":[[18,7]]}},"keywords":{}}],["decod",{"_index":117,"title":{},"content":{"8":{"position":[[500,7],[610,7]]},"1213":{"position":[[281,6]]}},"keywords":{}}],["decompress",{"_index":2085,"title":{},"content":{"361":{"position":[[1053,12]]},"932":{"position":[[486,10]]}},"keywords":{}}],["decreas",{"_index":1398,"title":{"217":{"position":[[0,9]]}},"content":{"217":{"position":[[30,9]]},"311":{"position":[[114,9]]},"402":{"position":[[1638,10]]},"411":{"position":[[314,9]]},"534":{"position":[[649,10]]},"594":{"position":[[647,10]]},"639":{"position":[[167,10]]},"656":{"position":[[171,9]]},"698":{"position":[[2904,9]]},"820":{"position":[[414,9]]},"964":{"position":[[528,8]]},"966":{"position":[[387,8]]},"1093":{"position":[[414,8]]},"1094":{"position":[[604,10]]},"1124":{"position":[[1431,9]]},"1198":{"position":[[918,9]]},"1267":{"position":[[346,8]]}},"keywords":{}}],["decrypt",{"_index":1690,"title":{},"content":{"291":{"position":[[297,10]]},"315":{"position":[[1120,8]]},"412":{"position":[[13343,10]]},"555":{"position":[[147,9]]},"556":{"position":[[1315,9]]},"714":{"position":[[33,10],[229,8],[882,7]]},"716":{"position":[[400,7],[454,9]]},"723":{"position":[[2033,9]]},"971":{"position":[[142,7]]},"1038":{"position":[[99,9]]}},"keywords":{}}],["decryption.if",{"_index":3373,"title":{},"content":{"556":{"position":[[1188,13]]}},"keywords":{}}],["dedic",{"_index":1589,"title":{},"content":{"261":{"position":[[1150,9]]},"321":{"position":[[465,9]]},"390":{"position":[[1815,9]]},"520":{"position":[[268,9]]},"574":{"position":[[847,10]]},"579":{"position":[[63,9]]},"590":{"position":[[147,9]]},"1007":{"position":[[446,9]]}},"keywords":{}}],["deep",{"_index":880,"title":{},"content":{"61":{"position":[[15,4]]},"412":{"position":[[4772,4]]},"457":{"position":[[350,4]]},"875":{"position":[[5003,4]]},"1052":{"position":[[32,4],[97,4]]},"1108":{"position":[[688,4]]},"1309":{"position":[[698,4]]}},"keywords":{}}],["deepequ",{"_index":2687,"title":{},"content":{"412":{"position":[[4442,9],[4817,9]]},"1309":{"position":[[445,9],[743,9]]}},"keywords":{}}],["deepequal(a",{"_index":2694,"title":{},"content":{"412":{"position":[[4999,12]]},"1309":{"position":[[916,12]]}},"keywords":{}}],["deeper",{"_index":2123,"title":{},"content":{"369":{"position":[[24,6]]},"483":{"position":[[769,6]]},"567":{"position":[[27,6]]},"824":{"position":[[27,6]]},"839":{"position":[[167,6]]},"901":{"position":[[523,6]]}},"keywords":{}}],["deepli",{"_index":1999,"title":{},"content":{"352":{"position":[[37,6]]}},"keywords":{}}],["default",{"_index":54,"title":{"816":{"position":[[4,7]]},"1082":{"position":[[0,8]]}},"content":{"3":{"position":[[96,8]]},"298":{"position":[[855,7]]},"396":{"position":[[1954,7]]},"410":{"position":[[475,8],[1866,7]]},"411":{"position":[[4596,7],[5819,8]]},"421":{"position":[[1050,7]]},"494":{"position":[[432,7]]},"496":{"position":[[656,9],[673,7]]},"522":{"position":[[629,8],[695,8]]},"524":{"position":[[306,7]]},"559":{"position":[[787,7]]},"562":{"position":[[1582,7]]},"616":{"position":[[715,7]]},"617":{"position":[[1514,7],[1971,7]]},"635":{"position":[[201,8]]},"653":{"position":[[93,8]]},"656":{"position":[[214,8]]},"660":{"position":[[113,7]]},"681":{"position":[[4,8]]},"682":{"position":[[4,8]]},"698":{"position":[[377,7]]},"724":{"position":[[1349,8]]},"732":{"position":[[64,7]]},"746":{"position":[[4,8],[399,10],[440,8]]},"749":{"position":[[17425,7],[22910,7]]},"752":{"position":[[4,8]]},"759":{"position":[[848,9]]},"773":{"position":[[654,7]]},"815":{"position":[[238,7]]},"816":{"position":[[5,7]]},"818":{"position":[[359,8]]},"829":{"position":[[1855,7]]},"837":{"position":[[1897,7]]},"841":{"position":[[728,7]]},"854":{"position":[[1133,8]]},"886":{"position":[[488,8]]},"890":{"position":[[462,8]]},"898":{"position":[[330,8],[1113,7],[1184,7]]},"904":{"position":[[1010,8],[1645,7]]},"906":{"position":[[201,7],[1148,7]]},"907":{"position":[[4,7]]},"960":{"position":[[524,8],[590,8]]},"965":{"position":[[375,7]]},"968":{"position":[[4,8]]},"986":{"position":[[1388,8]]},"987":{"position":[[748,7]]},"988":{"position":[[620,7],[828,7],[1052,7],[1620,7]]},"995":{"position":[[871,9]]},"1002":{"position":[[4,8]]},"1066":{"position":[[4,8]]},"1082":{"position":[[1,7],[124,7],[406,8],[427,7]]},"1088":{"position":[[546,7]]},"1103":{"position":[[124,7]]},"1125":{"position":[[567,10]]},"1126":{"position":[[568,8]]},"1134":{"position":[[531,7]]},"1157":{"position":[[431,7]]},"1162":{"position":[[932,7]]},"1164":{"position":[[310,8]]},"1172":{"position":[[515,8]]},"1181":{"position":[[884,7]]},"1185":{"position":[[52,7]]},"1186":{"position":[[233,7]]},"1282":{"position":[[907,8]]},"1284":{"position":[[314,7]]},"1292":{"position":[[500,8]]},"1309":{"position":[[365,7],[959,7],[1235,7]]}},"keywords":{}}],["default).opf",{"_index":3716,"title":{},"content":{"640":{"position":[[153,14]]}},"keywords":{}}],["default:tru",{"_index":5547,"title":{},"content":{"1003":{"position":[[346,12]]}},"keywords":{}}],["default='_delet",{"_index":5460,"title":{},"content":{"988":{"position":[[2239,20]]}},"keywords":{}}],["default='servertimestamp",{"_index":4877,"title":{},"content":{"854":{"position":[[1577,27]]}},"keywords":{}}],["default='strong",{"_index":6017,"title":{},"content":{"1125":{"position":[[423,16]]}},"keywords":{}}],["default=100",{"_index":5125,"title":{},"content":{"886":{"position":[[1736,13]]},"1125":{"position":[[725,11]]}},"keywords":{}}],["default=300",{"_index":6046,"title":{},"content":{"1138":{"position":[[587,13]]}},"keywords":{}}],["default=5",{"_index":3755,"title":{},"content":{"653":{"position":[[923,10]]}},"keywords":{}}],["default=50",{"_index":6043,"title":{},"content":{"1134":{"position":[[754,12]]},"1164":{"position":[[255,12]]}},"keywords":{}}],["default=60",{"_index":3752,"title":{},"content":{"653":{"position":[[753,11]]}},"keywords":{}}],["default=60000",{"_index":4829,"title":{},"content":{"846":{"position":[[1038,14]]}},"keywords":{}}],["default=dis",{"_index":4874,"title":{},"content":{"854":{"position":[[962,18]]}},"keywords":{}}],["default=fals",{"_index":5783,"title":{},"content":{"1067":{"position":[[2458,15]]},"1164":{"position":[[1084,13]]}},"keywords":{}}],["default=on",{"_index":3749,"title":{},"content":{"653":{"position":[[467,12]]}},"keywords":{}}],["default=tru",{"_index":3756,"title":{},"content":{"653":{"position":[[1195,14],[1445,14]]},"846":{"position":[[389,14]]},"854":{"position":[[1055,14]]},"934":{"position":[[635,14]]},"988":{"position":[[1426,14]]}},"keywords":{}}],["defaultconflicthandl",{"_index":6495,"title":{},"content":{"1309":{"position":[[497,23]]}},"keywords":{}}],["defaultsasynchron",{"_index":4518,"title":{},"content":{"765":{"position":[[178,20]]}},"keywords":{}}],["defeat",{"_index":3627,"title":{},"content":{"614":{"position":[[967,7]]},"1316":{"position":[[3664,7]]}},"keywords":{}}],["defin",{"_index":590,"title":{"259":{"position":[[0,6]]}},"content":{"38":{"position":[[438,6]]},"51":{"position":[[236,6]]},"134":{"position":[[182,6]]},"135":{"position":[[270,7]]},"138":{"position":[[50,6]]},"166":{"position":[[196,8]]},"182":{"position":[[227,6]]},"194":{"position":[[126,6]]},"205":{"position":[[129,6]]},"212":{"position":[[263,6]]},"222":{"position":[[183,7]]},"252":{"position":[[159,6]]},"262":{"position":[[409,6]]},"280":{"position":[[12,8]]},"281":{"position":[[229,7]]},"360":{"position":[[708,6]]},"361":{"position":[[51,6]]},"367":{"position":[[752,6]]},"382":{"position":[[76,6]]},"392":{"position":[[1331,6]]},"398":{"position":[[1785,7]]},"403":{"position":[[451,6]]},"438":{"position":[[133,7]]},"482":{"position":[[723,6]]},"496":{"position":[[726,6]]},"527":{"position":[[104,6]]},"538":{"position":[[537,6]]},"554":{"position":[[1207,6]]},"567":{"position":[[257,8]]},"587":{"position":[[4,8]]},"590":{"position":[[644,6]]},"598":{"position":[[544,6]]},"617":{"position":[[376,7]]},"632":{"position":[[1421,6],[2296,6]]},"636":{"position":[[275,6]]},"638":{"position":[[212,7],[786,6]]},"678":{"position":[[30,7]]},"680":{"position":[[118,7]]},"688":{"position":[[392,6],[841,6]]},"715":{"position":[[15,6]]},"717":{"position":[[1305,6]]},"729":{"position":[[130,8]]},"749":{"position":[[1918,7],[2971,7],[12806,6],[17336,7],[17452,7],[17667,7],[18850,7],[19614,7]]},"751":{"position":[[1153,7]]},"759":{"position":[[1227,7],[1525,6]]},"780":{"position":[[351,7]]},"784":{"position":[[113,6]]},"788":{"position":[[13,7]]},"790":{"position":[[22,7]]},"792":{"position":[[24,7]]},"815":{"position":[[71,7],[298,8]]},"854":{"position":[[1388,7]]},"861":{"position":[[1313,6],[1899,6]]},"898":{"position":[[2028,6]]},"936":{"position":[[12,7]]},"937":{"position":[[63,6]]},"961":{"position":[[282,6]]},"988":{"position":[[2921,7]]},"1007":{"position":[[11,6]]},"1067":{"position":[[1511,7]]},"1074":{"position":[[27,6]]},"1078":{"position":[[9,6]]},"1079":{"position":[[43,7]]},"1082":{"position":[[28,7]]},"1085":{"position":[[341,6],[1136,6],[2146,7]]},"1100":{"position":[[482,6]]},"1108":{"position":[[66,7],[504,7]]},"1132":{"position":[[285,6]]},"1164":{"position":[[191,7]]},"1186":{"position":[[157,7]]},"1207":{"position":[[627,7]]},"1220":{"position":[[122,6]]}},"keywords":{}}],["defined</span>",{"_index":6185,"title":{},"content":{"1202":{"position":[[174,20]]}},"keywords":{}}],["definit",{"_index":1991,"title":{},"content":{"351":{"position":[[45,11]]},"360":{"position":[[281,12]]},"679":{"position":[[268,10]]},"700":{"position":[[158,10]]},"829":{"position":[[298,12]]},"1074":{"position":[[227,10]]}},"keywords":{}}],["deflat",{"_index":5316,"title":{},"content":{"932":{"position":[[1284,9],[1344,11]]}},"keywords":{}}],["degrad",{"_index":868,"title":{},"content":{"58":{"position":[[160,7]]},"300":{"position":[[815,7]]},"430":{"position":[[523,7]]},"587":{"position":[[182,8]]}},"keywords":{}}],["degre",{"_index":4101,"title":{},"content":{"739":{"position":[[697,8]]}},"keywords":{}}],["delay",{"_index":2126,"title":{},"content":{"369":{"position":[[1144,6]]},"394":{"position":[[1691,5]]},"407":{"position":[[428,5]]},"408":{"position":[[2344,6]]},"410":{"position":[[122,5]]},"415":{"position":[[226,8],[452,6]]},"486":{"position":[[101,6]]},"569":{"position":[[506,7]]},"571":{"position":[[290,6]]},"610":{"position":[[767,6],[1319,6]]},"630":{"position":[[157,5],[340,7]]},"632":{"position":[[1965,6]]},"801":{"position":[[527,6]]},"1119":{"position":[[160,5]]}},"keywords":{}}],["delet",{"_index":809,"title":{"684":{"position":[[0,8]]},"855":{"position":[[9,8]]},"867":{"position":[[9,8]]},"1049":{"position":[[0,9]]},"1050":{"position":[[4,8]]}},"content":{"52":{"position":[[601,6]]},"181":{"position":[[201,7]]},"305":{"position":[[587,8]]},"411":{"position":[[1269,7]]},"539":{"position":[[601,6]]},"599":{"position":[[628,6]]},"649":{"position":[[446,8]]},"653":{"position":[[419,7],[1123,7]]},"654":{"position":[[348,7],[394,7]]},"655":{"position":[[305,6],[371,7],[394,6],[466,7]]},"659":{"position":[[630,6]]},"684":{"position":[[9,6]]},"697":{"position":[[134,7],[318,7]]},"749":{"position":[[10624,7],[10739,7]]},"754":{"position":[[474,6]]},"778":{"position":[[79,8]]},"802":{"position":[[389,10]]},"826":{"position":[[652,7]]},"855":{"position":[[34,6],[95,8],[237,8]]},"861":{"position":[[1554,7],[1598,7],[1658,7],[1702,8],[2045,7],[2143,7],[2538,8]]},"862":{"position":[[1312,10],[1348,8]]},"867":{"position":[[34,6],[95,8],[232,8]]},"872":{"position":[[1159,9],[1325,7]]},"885":{"position":[[600,8],[695,8]]},"886":{"position":[[723,7],[1963,10],[2437,7],[3637,7],[4914,9]]},"887":{"position":[[643,6]]},"898":{"position":[[450,6],[506,8],[550,8],[580,7],[612,8],[661,9],[3578,6],[4442,8]]},"951":{"position":[[268,8]]},"955":{"position":[[142,6]]},"986":{"position":[[355,8],[434,8],[577,7],[1067,8],[1091,7],[1475,7]]},"988":{"position":[[1669,7],[1759,8],[1995,7],[2043,7],[2156,7],[2277,10],[3115,7]]},"999":{"position":[[29,7],[174,6],[219,6]]},"1004":{"position":[[618,8]]},"1007":{"position":[[1908,6]]},"1048":{"position":[[247,8]]},"1049":{"position":[[63,7]]},"1050":{"position":[[38,9]]},"1051":{"position":[[409,7]]},"1062":{"position":[[1,7],[70,7]]},"1102":{"position":[[1351,6]]},"1140":{"position":[[183,6]]}},"keywords":{}}],["deletedat",{"_index":5459,"title":{},"content":{"988":{"position":[[2204,11]]},"1048":{"position":[[164,9],[460,10]]}},"keywords":{}}],["deletedfield",{"_index":4879,"title":{},"content":{"855":{"position":[[296,12]]},"861":{"position":[[1908,12],[2117,15]]},"862":{"position":[[1298,13]]},"867":{"position":[[291,12]]},"886":{"position":[[1949,13],[4900,13]]},"898":{"position":[[3981,13]]},"986":{"position":[[1510,12]]},"988":{"position":[[2263,13]]}},"keywords":{}}],["deliv",{"_index":892,"title":{},"content":{"61":{"position":[[489,10]]},"267":{"position":[[357,9]]},"269":{"position":[[131,7]]},"283":{"position":[[416,10]]},"292":{"position":[[393,7]]},"317":{"position":[[248,10]]},"385":{"position":[[86,8]]},"408":{"position":[[5292,7]]},"410":{"position":[[458,8]]},"411":{"position":[[1798,10]]},"445":{"position":[[2480,10]]},"447":{"position":[[473,7]]},"483":{"position":[[56,8]]},"491":{"position":[[855,8]]},"498":{"position":[[561,7]]},"530":{"position":[[88,10]]},"570":{"position":[[319,9]]},"582":{"position":[[717,7]]},"641":{"position":[[385,8]]},"644":{"position":[[673,10]]}},"keywords":{}}],["delta",{"_index":591,"title":{},"content":{"38":{"position":[[456,5]]},"411":{"position":[[163,6]]}},"keywords":{}}],["delta"",{"_index":3943,"title":{},"content":{"698":{"position":[[2532,11]]}},"keywords":{}}],["delv",{"_index":903,"title":{},"content":{"65":{"position":[[75,5]]},"271":{"position":[[251,5]]},"278":{"position":[[176,5]]},"290":{"position":[[156,5]]},"369":{"position":[[18,5]]}},"keywords":{}}],["demand",{"_index":1623,"title":{},"content":{"267":{"position":[[1655,7]]},"351":{"position":[[61,6]]},"354":{"position":[[233,7]]},"356":{"position":[[20,6]]},"412":{"position":[[6395,7]]},"418":{"position":[[294,6]]},"435":{"position":[[356,6]]},"441":{"position":[[311,6]]},"502":{"position":[[194,7]]},"510":{"position":[[432,6]]},"574":{"position":[[724,7]]},"624":{"position":[[660,9]]},"1092":{"position":[[669,7]]}},"keywords":{}}],["demo",{"_index":1391,"title":{},"content":{"212":{"position":[[564,5]]},"394":{"position":[[1311,4]]},"480":{"position":[[18,4]]},"498":{"position":[[242,4],[273,4]]},"904":{"position":[[1202,4]]}},"keywords":{}}],["demo</h2>",{"_index":3393,"title":{},"content":{"559":{"position":[[562,15]]}},"keywords":{}}],["demonstr",{"_index":854,"title":{},"content":{"56":{"position":[[106,12]]},"523":{"position":[[224,12]]},"543":{"position":[[186,13]]},"603":{"position":[[184,13]]},"832":{"position":[[53,12]]},"906":{"position":[[308,13]]}},"keywords":{}}],["deni",{"_index":1778,"title":{},"content":{"300":{"position":[[671,4]]}},"keywords":{}}],["deno",{"_index":2931,"title":{"440":{"position":[[16,4]]},"1122":{"position":[[24,4]]},"1126":{"position":[[29,5]]}},"content":{"440":{"position":[[5,4]]},"1123":{"position":[[126,4],[161,4],[181,4],[775,4]]},"1124":{"position":[[286,4],[1226,4],[1762,4]]},"1126":{"position":[[65,4],[183,4],[483,4]]},"1247":{"position":[[452,5],[559,4]]}},"keywords":{}}],["deno.openkv(settings.openkvpath",{"_index":6019,"title":{},"content":{"1125":{"position":[[521,32]]}},"keywords":{}}],["denodeploy",{"_index":6013,"title":{},"content":{"1124":{"position":[[272,10],[1055,10]]},"1126":{"position":[[527,10]]}},"keywords":{}}],["denokv",{"_index":4616,"title":{"1123":{"position":[[8,7]]},"1125":{"position":[[10,6]]},"1126":{"position":[[10,6]]}},"content":{"793":{"position":[[373,6]]},"1123":{"position":[[1,6],[365,6],[450,6],[681,6]]},"1124":{"position":[[12,6],[36,7],[504,6],[689,6],[1004,7],[1488,6],[1571,7],[1624,6],[1826,7],[2152,6]]},"1125":{"position":[[12,6],[251,8]]},"1126":{"position":[[38,6],[328,6],[641,6]]},"1247":{"position":[[428,7],[462,6]]}},"keywords":{}}],["denokvdatabas",{"_index":6021,"title":{},"content":{"1126":{"position":[[392,17],[705,17]]}},"keywords":{}}],["denomin",{"_index":6572,"title":{},"content":{"1320":{"position":[[187,12]]}},"keywords":{}}],["depend",{"_index":122,"title":{"640":{"position":[[24,9]]},"727":{"position":[[5,11]]}},"content":{"8":{"position":[[640,9]]},"59":{"position":[[1,9]]},"128":{"position":[[79,13]]},"188":{"position":[[2097,11],[2290,13]]},"273":{"position":[[185,10]]},"353":{"position":[[4,7]]},"369":{"position":[[1489,9]]},"393":{"position":[[545,9]]},"398":{"position":[[3337,9]]},"408":{"position":[[940,9]]},"411":{"position":[[5348,10]]},"417":{"position":[[375,6]]},"461":{"position":[[661,9],[1025,7],[1553,7]]},"462":{"position":[[773,9]]},"483":{"position":[[173,13]]},"489":{"position":[[546,10]]},"500":{"position":[[483,10]]},"546":{"position":[[1,9]]},"578":{"position":[[42,7]]},"606":{"position":[[1,9]]},"662":{"position":[[1238,12]]},"666":{"position":[[203,12]]},"696":{"position":[[1013,7]]},"707":{"position":[[408,7]]},"710":{"position":[[1432,12]]},"717":{"position":[[1008,7]]},"726":{"position":[[47,12]]},"727":{"position":[[35,10]]},"729":{"position":[[160,12]]},"731":{"position":[[65,10]]},"765":{"position":[[146,9]]},"798":{"position":[[413,7]]},"815":{"position":[[170,9]]},"816":{"position":[[47,9]]},"821":{"position":[[358,9],[615,7]]},"837":{"position":[[1304,12]]},"838":{"position":[[1769,12]]},"872":{"position":[[22,13]]},"875":{"position":[[7643,7]]},"898":{"position":[[11,13]]},"903":{"position":[[47,7]]},"961":{"position":[[221,9]]},"962":{"position":[[191,9],[387,9]]},"988":{"position":[[2076,7]]},"990":{"position":[[367,9]]},"1033":{"position":[[993,12]]},"1049":{"position":[[24,9]]},"1065":{"position":[[1739,6]]},"1067":{"position":[[222,9]]},"1079":{"position":[[211,9]]},"1091":{"position":[[114,7]]},"1112":{"position":[[169,12]]},"1118":{"position":[[142,9]]},"1124":{"position":[[78,9]]},"1134":{"position":[[693,9]]},"1156":{"position":[[55,12]]},"1191":{"position":[[170,9],[477,9]]},"1222":{"position":[[620,9]]},"1227":{"position":[[82,12]]},"1265":{"position":[[75,12]]},"1271":{"position":[[850,9]]},"1296":{"position":[[1220,9]]},"1304":{"position":[[188,9]]},"1307":{"position":[[539,9]]},"1321":{"position":[[351,7]]}},"keywords":{}}],["dependency:npm",{"_index":3260,"title":{},"content":{"522":{"position":[[108,14]]}},"keywords":{}}],["deploy",{"_index":1629,"title":{},"content":{"269":{"position":[[251,8]]},"569":{"position":[[761,6]]},"702":{"position":[[382,6]]},"1123":{"position":[[131,7],[186,7],[266,10]]},"1124":{"position":[[1767,6]]},"1126":{"position":[[188,6]]}},"keywords":{}}],["deprec",{"_index":77,"title":{"1198":{"position":[[29,12]]}},"content":{"5":{"position":[[99,11]]},"435":{"position":[[83,10]]},"696":{"position":[[923,11]]},"835":{"position":[[609,10]]}},"keywords":{}}],["desc",{"_index":2404,"title":{},"content":{"398":{"position":[[1140,6]]},"400":{"position":[[304,6]]}},"keywords":{}}],["descend",{"_index":2323,"title":{},"content":{"394":{"position":[[1128,10]]},"400":{"position":[[243,10],[335,10]]}},"keywords":{}}],["describ",{"_index":723,"title":{},"content":{"47":{"position":[[273,9]]},"51":{"position":[[323,10]]},"538":{"position":[[624,10]]},"598":{"position":[[631,10]]},"704":{"position":[[411,9]]},"808":{"position":[[31,9]]},"830":{"position":[[25,9]]},"831":{"position":[[424,9]]},"832":{"position":[[79,9]]},"1212":{"position":[[222,9]]},"1215":{"position":[[456,9]]},"1311":{"position":[[330,10]]},"1316":{"position":[[1482,8]]}},"keywords":{}}],["described.learn",{"_index":2866,"title":{},"content":{"422":{"position":[[390,15]]}},"keywords":{}}],["descript",{"_index":769,"title":{},"content":{"51":{"position":[[310,12]]},"538":{"position":[[611,12]]},"598":{"position":[[618,12]]},"670":{"position":[[311,12]]},"699":{"position":[[347,12]]},"829":{"position":[[3147,11]]},"1191":{"position":[[585,12]]},"1208":{"position":[[1951,11]]},"1311":{"position":[[317,12]]}},"keywords":{}}],["deseri",{"_index":3056,"title":{},"content":{"464":{"position":[[953,13]]}},"keywords":{}}],["deserv",{"_index":3214,"title":{},"content":{"498":{"position":[[731,8]]}},"keywords":{}}],["design",{"_index":310,"title":{"981":{"position":[[0,6]]},"1071":{"position":[[0,6]]}},"content":{"18":{"position":[[301,8]]},"26":{"position":[[112,8]]},"34":{"position":[[76,8]]},"39":{"position":[[14,8],[253,6]]},"47":{"position":[[122,8]]},"100":{"position":[[24,8]]},"101":{"position":[[151,8]]},"153":{"position":[[73,8]]},"172":{"position":[[119,8]]},"179":{"position":[[52,8]]},"201":{"position":[[210,6]]},"212":{"position":[[108,6]]},"222":{"position":[[41,8]]},"227":{"position":[[15,8]]},"228":{"position":[[220,8]]},"230":{"position":[[9,8]]},"238":{"position":[[42,8]]},"254":{"position":[[9,8]]},"279":{"position":[[96,6]]},"289":{"position":[[80,8]]},"298":{"position":[[343,8]]},"300":{"position":[[796,6]]},"306":{"position":[[72,7]]},"325":{"position":[[145,6]]},"327":{"position":[[70,7]]},"356":{"position":[[891,7]]},"369":{"position":[[433,8]]},"378":{"position":[[62,8]]},"380":{"position":[[16,6]]},"390":{"position":[[1667,8]]},"396":{"position":[[374,8]]},"411":{"position":[[1171,7],[5783,6]]},"432":{"position":[[194,8]]},"444":{"position":[[51,8]]},"453":{"position":[[144,8]]},"460":{"position":[[790,6]]},"520":{"position":[[470,8]]},"525":{"position":[[65,7]]},"535":{"position":[[153,8]]},"595":{"position":[[164,8]]},"612":{"position":[[125,8]]},"613":{"position":[[36,8]]},"614":{"position":[[395,8]]},"618":{"position":[[230,8]]},"623":{"position":[[618,8]]},"631":{"position":[[43,8]]},"640":{"position":[[504,6]]},"686":{"position":[[210,9]]},"691":{"position":[[682,9]]},"698":{"position":[[2297,9]]},"723":{"position":[[2452,8]]},"836":{"position":[[1834,8]]},"902":{"position":[[483,6]]},"981":{"position":[[93,8]]},"990":{"position":[[284,8]]},"1006":{"position":[[232,6]]},"1008":{"position":[[50,6]]},"1072":{"position":[[1864,6]]},"1085":{"position":[[722,7],[1831,6]]}},"keywords":{}}],["desir",{"_index":3880,"title":{},"content":{"681":{"position":[[162,7]]},"759":{"position":[[1483,8]]},"818":{"position":[[250,7]]},"854":{"position":[[951,8]]}},"keywords":{}}],["desk",{"_index":3957,"title":{},"content":{"700":{"position":[[901,4]]}},"keywords":{}}],["desktop",{"_index":524,"title":{},"content":{"33":{"position":[[518,8]]},"207":{"position":[[165,7]]},"254":{"position":[[135,7]]},"298":{"position":[[656,8]]},"299":{"position":[[429,9],[512,8],[1044,7],[1306,7]]},"384":{"position":[[313,7]]},"408":{"position":[[1042,9],[5163,7]]},"412":{"position":[[10654,7]]},"500":{"position":[[776,8]]},"595":{"position":[[1382,7]]},"630":{"position":[[294,9]]},"640":{"position":[[281,7]]},"641":{"position":[[426,8]]},"708":{"position":[[28,7]]},"1270":{"position":[[432,7]]}},"keywords":{}}],["despit",{"_index":720,"title":{},"content":{"47":{"position":[[1,7]]},"412":{"position":[[15058,7]]},"427":{"position":[[1,7]]},"435":{"position":[[9,7]]},"624":{"position":[[865,7]]},"630":{"position":[[100,7]]},"1157":{"position":[[375,7]]}},"keywords":{}}],["destin",{"_index":2245,"title":{},"content":{"392":{"position":[[2703,12],[4609,12]]},"1020":{"position":[[88,12],[416,12],[544,11]]},"1022":{"position":[[517,12]]},"1023":{"position":[[178,12]]},"1024":{"position":[[264,12]]},"1032":{"position":[[121,11]]},"1033":{"position":[[58,11],[552,12],[781,12]]}},"keywords":{}}],["destroy",{"_index":3766,"title":{},"content":{"655":{"position":[[169,7]]}},"keywords":{}}],["detail",{"_index":869,"title":{"821":{"position":[[10,8]]},"876":{"position":[[23,8]]}},"content":{"58":{"position":[[198,7]]},"306":{"position":[[59,6]]},"356":{"position":[[373,7],[452,8],[816,7]]},"387":{"position":[[154,8]]},"404":{"position":[[676,8]]},"495":{"position":[[688,7]]},"544":{"position":[[419,8]]},"550":{"position":[[252,7]]},"567":{"position":[[209,8]]},"638":{"position":[[128,8]]},"749":{"position":[[15539,7],[15673,7],[15805,7]]},"831":{"position":[[449,7]]},"1208":{"position":[[1942,8]]}},"keywords":{}}],["detect",{"_index":745,"title":{"50":{"position":[[13,9]]},"129":{"position":[[13,9]]},"908":{"position":[[9,9]]}},"content":{"50":{"position":[[109,9],[330,9]]},"129":{"position":[[21,9],[34,6],[182,9],[243,8],[292,9],[643,9]]},"134":{"position":[[296,6]]},"302":{"position":[[455,6]]},"326":{"position":[[284,9]]},"390":{"position":[[1475,10]]},"403":{"position":[[305,7]]},"412":{"position":[[1132,10],[2218,7],[4543,6],[4607,6],[4671,6],[4694,6]]},"445":{"position":[[1023,6]]},"481":{"position":[[485,9]]},"491":{"position":[[486,7],[1419,8]]},"495":{"position":[[240,6]]},"569":{"position":[[685,6]]},"611":{"position":[[1088,9]]},"635":{"position":[[152,6]]},"740":{"position":[[640,8]]},"761":{"position":[[305,9]]},"875":{"position":[[3890,10],[3932,6],[4873,6]]},"908":{"position":[[35,9]]},"956":{"position":[[146,6]]},"988":{"position":[[1006,8]]},"990":{"position":[[622,6]]},"1111":{"position":[[4,6]]},"1154":{"position":[[88,6]]},"1161":{"position":[[179,7]]},"1180":{"position":[[179,7]]},"1228":{"position":[[199,7]]},"1308":{"position":[[266,8],[364,8]]},"1309":{"position":[[65,6],[185,10],[290,6],[597,6],[620,6]]}},"keywords":{}}],["determin",{"_index":2178,"title":{},"content":{"388":{"position":[[178,9]]},"399":{"position":[[172,10]]},"634":{"position":[[513,10]]},"698":{"position":[[253,9],[581,10]]},"780":{"position":[[61,11]]},"838":{"position":[[2284,9]]},"866":{"position":[[636,10]]},"875":{"position":[[1498,10]]},"1066":{"position":[[81,9]]},"1105":{"position":[[921,9]]},"1173":{"position":[[34,9]]}},"keywords":{}}],["determinism.limit",{"_index":3897,"title":{},"content":{"689":{"position":[[203,19]]}},"keywords":{}}],["determinist",{"_index":2677,"title":{},"content":{"412":{"position":[[3318,13]]},"683":{"position":[[504,13]]},"690":{"position":[[532,13]]},"698":{"position":[[422,13],[701,14]]},"897":{"position":[[189,13]]},"986":{"position":[[70,13],[118,13]]},"1065":{"position":[[1700,13],[1796,13]]},"1079":{"position":[[555,13]]},"1115":{"position":[[736,13]]},"1266":{"position":[[941,16]]},"1316":{"position":[[1445,13],[2330,13]]}},"keywords":{}}],["deterministically.your",{"_index":3908,"title":{},"content":{"690":{"position":[[309,22]]}},"keywords":{}}],["dev",{"_index":1792,"title":{"671":{"position":[[0,3]]},"675":{"position":[[12,3]]}},"content":{"301":{"position":[[677,3]]},"346":{"position":[[663,3]]},"412":{"position":[[13236,3]]},"675":{"position":[[10,3],[125,3]]},"676":{"position":[[48,3]]},"685":{"position":[[546,3]]},"749":{"position":[[6106,3],[20929,3],[21734,3]]},"793":{"position":[[63,3]]},"899":{"position":[[323,3]]},"966":{"position":[[508,3]]}},"keywords":{}}],["develop",{"_index":196,"title":{"348":{"position":[[54,11]]},"387":{"position":[[0,9]]},"411":{"position":[[0,9]]},"446":{"position":[[33,12]]},"478":{"position":[[11,12]]}},"content":{"14":{"position":[[26,9]]},"18":{"position":[[57,7]]},"19":{"position":[[444,11]]},"27":{"position":[[77,11]]},"34":{"position":[[436,10]]},"40":{"position":[[692,10]]},"47":{"position":[[378,10]]},"65":{"position":[[128,11],[2001,10]]},"74":{"position":[[64,10]]},"75":{"position":[[14,10]]},"76":{"position":[[106,11]]},"77":{"position":[[184,12]]},"83":{"position":[[234,11],[328,10]]},"89":{"position":[[234,11]]},"94":{"position":[[163,10],[321,12]]},"104":{"position":[[67,11]]},"105":{"position":[[48,12]]},"112":{"position":[[205,11]]},"114":{"position":[[79,12],[456,10]]},"116":{"position":[[44,9],[91,10]]},"118":{"position":[[366,11]]},"148":{"position":[[495,11]]},"149":{"position":[[79,12]]},"153":{"position":[[275,10]]},"156":{"position":[[204,10]]},"159":{"position":[[133,10]]},"161":{"position":[[58,10]]},"162":{"position":[[575,12],[746,10]]},"165":{"position":[[327,10]]},"166":{"position":[[244,10]]},"167":{"position":[[135,10]]},"168":{"position":[[68,10]]},"169":{"position":[[132,10]]},"170":{"position":[[93,10],[458,10]]},"173":{"position":[[1054,11],[2363,10]]},"174":{"position":[[253,10],[576,12],[881,11],[995,10],[2821,11],[3138,10]]},"175":{"position":[[495,10]]},"177":{"position":[[39,11],[85,10],[272,10]]},"179":{"position":[[388,10]]},"182":{"position":[[212,10]]},"185":{"position":[[257,10]]},"186":{"position":[[61,10]]},"189":{"position":[[749,10]]},"192":{"position":[[318,10]]},"194":{"position":[[112,10]]},"195":{"position":[[123,10]]},"196":{"position":[[108,10]]},"198":{"position":[[207,11]]},"207":{"position":[[334,11]]},"218":{"position":[[74,10]]},"219":{"position":[[136,10]]},"221":{"position":[[137,10]]},"222":{"position":[[280,10],[370,11]]},"226":{"position":[[454,12]]},"230":{"position":[[176,10]]},"232":{"position":[[133,10]]},"235":{"position":[[52,10],[148,10]]},"241":{"position":[[674,10]]},"265":{"position":[[388,10]]},"266":{"position":[[138,10],[364,10]]},"267":{"position":[[317,10],[1189,10]]},"269":{"position":[[116,11],[436,12]]},"278":{"position":[[262,12]]},"281":{"position":[[94,9],[322,11]]},"282":{"position":[[55,12]]},"286":{"position":[[107,11]]},"288":{"position":[[94,12]]},"293":{"position":[[97,11]]},"295":{"position":[[191,10]]},"299":{"position":[[1346,10]]},"301":{"position":[[429,9]]},"318":{"position":[[219,11],[593,10]]},"331":{"position":[[22,10]]},"347":{"position":[[79,12]]},"350":{"position":[[374,9]]},"351":{"position":[[245,9]]},"352":{"position":[[69,10]]},"353":{"position":[[809,12]]},"356":{"position":[[187,10]]},"358":{"position":[[6,10]]},"362":{"position":[[230,11],[1150,12]]},"364":{"position":[[67,12],[567,10]]},"370":{"position":[[9,10],[304,12]]},"371":{"position":[[16,10]]},"373":{"position":[[696,10]]},"377":{"position":[[230,10]]},"381":{"position":[[276,10]]},"384":{"position":[[42,12]]},"387":{"position":[[5,11],[393,12]]},"392":{"position":[[5190,9]]},"404":{"position":[[580,12]]},"408":{"position":[[3504,10]]},"409":{"position":[[299,10]]},"411":{"position":[[1574,10],[1820,9],[3857,10],[5413,10]]},"412":{"position":[[437,11],[593,12],[1220,10],[2458,11],[9436,10],[9611,9],[10335,10],[15013,10]]},"419":{"position":[[158,10]]},"420":{"position":[[576,10],[733,10],[1120,10]]},"421":{"position":[[1099,10]]},"424":{"position":[[77,10],[202,10]]},"427":{"position":[[80,10]]},"434":{"position":[[100,11]]},"436":{"position":[[70,10]]},"437":{"position":[[18,11]]},"441":{"position":[[28,12],[238,10],[602,10]]},"445":{"position":[[389,11],[1328,11],[1430,10],[1746,11],[1828,10],[2007,10],[2119,12],[2169,10],[2384,11],[2424,10]]},"446":{"position":[[1293,10],[1403,11]]},"447":{"position":[[209,11],[387,10],[624,12]]},"453":{"position":[[514,11]]},"455":{"position":[[147,10]]},"500":{"position":[[44,12]]},"503":{"position":[[170,10]]},"504":{"position":[[453,10]]},"510":{"position":[[51,12],[353,10],[521,10],[642,10]]},"511":{"position":[[79,12]]},"514":{"position":[[328,10]]},"518":{"position":[[105,10]]},"521":{"position":[[244,11]]},"524":{"position":[[88,10],[566,11]]},"525":{"position":[[641,10]]},"529":{"position":[[14,10]]},"530":{"position":[[35,12],[300,10],[575,11]]},"531":{"position":[[79,12]]},"535":{"position":[[106,11],[304,10],[335,10]]},"548":{"position":[[469,12]]},"556":{"position":[[1381,12],[1474,12]]},"563":{"position":[[71,10],[906,10]]},"569":{"position":[[25,10],[1042,11]]},"591":{"position":[[79,12]]},"595":{"position":[[106,11],[317,10],[348,10]]},"608":{"position":[[467,12]]},"618":{"position":[[512,10]]},"632":{"position":[[809,10]]},"635":{"position":[[252,10]]},"644":{"position":[[374,10],[755,9]]},"662":{"position":[[296,7]]},"666":{"position":[[22,11]]},"674":{"position":[[300,14],[356,14]]},"699":{"position":[[579,7]]},"702":{"position":[[7,10]]},"711":{"position":[[2330,9]]},"731":{"position":[[24,11]]},"749":{"position":[[20950,10]]},"798":{"position":[[638,9]]},"824":{"position":[[513,12]]},"838":{"position":[[325,7]]},"839":{"position":[[708,10]]},"898":{"position":[[2948,11]]},"981":{"position":[[250,10]]},"995":{"position":[[568,10]]},"1066":{"position":[[444,9]]},"1085":{"position":[[2169,10],[3427,11]]},"1124":{"position":[[1441,11]]},"1198":{"position":[[16,10],[2003,11]]},"1215":{"position":[[7,10]]},"1249":{"position":[[177,10]]}},"keywords":{}}],["developers.optim",{"_index":1218,"title":{},"content":{"174":{"position":[[1491,20]]}},"keywords":{}}],["development"",{"_index":1499,"title":{},"content":{"244":{"position":[[737,17]]},"419":{"position":[[1574,17]]}},"keywords":{}}],["development.electron",{"_index":2168,"title":{},"content":{"384":{"position":[[268,21]]}},"keywords":{}}],["devic",{"_index":176,"title":{"291":{"position":[[8,6]]},"900":{"position":[[66,7]]},"912":{"position":[[44,7]]}},"content":{"11":{"position":[[964,8]]},"28":{"position":[[498,6]]},"65":{"position":[[1752,7]]},"89":{"position":[[78,7]]},"91":{"position":[[59,8]]},"110":{"position":[[85,8]]},"123":{"position":[[134,7]]},"172":{"position":[[327,7]]},"173":{"position":[[1988,6],[2588,7],[2846,7]]},"174":{"position":[[2079,8],[2146,7]]},"184":{"position":[[344,8]]},"191":{"position":[[266,8]]},"195":{"position":[[115,7]]},"210":{"position":[[113,7]]},"218":{"position":[[228,6]]},"220":{"position":[[81,7]]},"224":{"position":[[141,8]]},"240":{"position":[[69,8],[267,8]]},"248":{"position":[[194,6]]},"250":{"position":[[113,7]]},"253":{"position":[[199,6]]},"269":{"position":[[368,7]]},"270":{"position":[[284,6]]},"273":{"position":[[164,7]]},"279":{"position":[[528,8]]},"280":{"position":[[204,7]]},"287":{"position":[[1179,8]]},"288":{"position":[[175,7]]},"289":{"position":[[405,7],[1702,7],[1913,7]]},"291":{"position":[[19,6],[196,6]]},"294":{"position":[[134,6]]},"298":{"position":[[723,8]]},"299":{"position":[[653,7],[1106,8]]},"300":{"position":[[623,6]]},"302":{"position":[[17,6]]},"309":{"position":[[84,7]]},"310":{"position":[[13,6],[264,6]]},"311":{"position":[[54,7],[152,7]]},"314":{"position":[[990,8]]},"318":{"position":[[334,8]]},"323":{"position":[[347,6]]},"328":{"position":[[169,7]]},"365":{"position":[[642,6]]},"367":{"position":[[200,7]]},"375":{"position":[[701,8]]},"376":{"position":[[140,7],[689,8]]},"377":{"position":[[22,7],[289,6]]},"380":{"position":[[88,6]]},"391":{"position":[[112,7]]},"403":{"position":[[175,8]]},"407":{"position":[[226,7],[284,7],[1074,8]]},"408":{"position":[[114,7],[953,6]]},"410":{"position":[[394,7],[1544,7]]},"411":{"position":[[3963,6],[4092,8],[4702,8],[4732,6],[5032,6],[5058,7]]},"412":{"position":[[632,6],[3132,8],[5774,6],[7844,9],[9368,7],[9703,7],[10607,8],[10763,7],[13221,6]]},"414":{"position":[[64,7]]},"415":{"position":[[52,7]]},"416":{"position":[[250,8]]},"417":{"position":[[62,7]]},"419":{"position":[[183,7],[1023,7],[1900,6]]},"424":{"position":[[144,7]]},"444":{"position":[[233,6],[501,7],[732,8]]},"445":{"position":[[1121,8],[2268,8]]},"446":{"position":[[392,6]]},"461":{"position":[[1141,7]]},"469":{"position":[[1267,7]]},"473":{"position":[[74,7]]},"481":{"position":[[199,6]]},"482":{"position":[[1058,6]]},"495":{"position":[[127,7]]},"500":{"position":[[714,6],[762,8]]},"504":{"position":[[1055,8]]},"516":{"position":[[387,8]]},"550":{"position":[[88,6]]},"556":{"position":[[1921,6]]},"565":{"position":[[19,6]]},"569":{"position":[[1207,8]]},"570":{"position":[[357,7]]},"571":{"position":[[456,6]]},"575":{"position":[[205,8],[501,8]]},"635":{"position":[[53,7]]},"638":{"position":[[154,6]]},"660":{"position":[[226,6]]},"662":{"position":[[605,7]]},"696":{"position":[[102,7],[1098,7]]},"704":{"position":[[167,6],[270,8],[294,7]]},"708":{"position":[[298,6]]},"736":{"position":[[471,7]]},"785":{"position":[[640,6]]},"836":{"position":[[1876,7],[1930,6]]},"838":{"position":[[1146,8]]},"840":{"position":[[78,7]]},"860":{"position":[[870,8]]},"872":{"position":[[3063,7]]},"896":{"position":[[60,7]]},"902":{"position":[[409,8]]},"903":{"position":[[421,8]]},"912":{"position":[[45,7],[398,6],[621,8]]},"932":{"position":[[281,6]]},"981":{"position":[[806,7],[930,7]]},"995":{"position":[[1088,6]]},"1121":{"position":[[139,7]]},"1123":{"position":[[339,7]]},"1215":{"position":[[194,6]]},"1271":{"position":[[195,7]]},"1304":{"position":[[1135,7],[1166,7]]},"1314":{"position":[[126,6]]},"1321":{"position":[[119,6]]}},"keywords":{}}],["device.data",{"_index":1202,"title":{},"content":{"173":{"position":[[1356,11]]}},"keywords":{}}],["device.memori",{"_index":1293,"title":{},"content":{"189":{"position":[[455,13]]}},"keywords":{}}],["devicereadi",{"_index":153,"title":{},"content":{"11":{"position":[[356,11],[732,11]]}},"keywords":{}}],["devices.in",{"_index":1572,"title":{},"content":{"254":{"position":[[456,10]]}},"keywords":{}}],["devices.stor",{"_index":1223,"title":{},"content":{"174":{"position":[[2342,15]]}},"keywords":{}}],["devices.they",{"_index":6539,"title":{},"content":{"1316":{"position":[[417,12]]}},"keywords":{}}],["devmod",{"_index":3374,"title":{},"content":{"556":{"position":[[1370,7],[1401,7]]}},"keywords":{}}],["devtool",{"_index":1790,"title":{},"content":{"301":{"position":[[570,8]]}},"keywords":{}}],["dexi",{"_index":511,"title":{"1146":{"position":[[6,5]]},"1148":{"position":[[7,5]]}},"content":{"33":{"position":[[102,5],[606,5]]},"872":{"position":[[3872,7]]},"1144":{"position":[[14,5],[139,7]]},"1145":{"position":[[48,5],[343,7]]},"1147":{"position":[[156,5],[465,5]]},"1148":{"position":[[1,5],[58,5],[207,5],[439,5],[470,5],[506,5],[629,7],[660,6],[692,5],[815,5]]},"1149":{"position":[[633,5],[788,7],[885,5]]},"1150":{"position":[[276,6]]}},"keywords":{}}],["dexie.j",{"_index":508,"title":{"33":{"position":[[0,9]]},"1142":{"position":[[10,8]]},"1143":{"position":[[0,8]]},"1144":{"position":[[11,8]]},"1147":{"position":[[5,8]]}},"content":{"33":{"position":[[1,8],[310,8],[457,8],[548,8]]},"411":{"position":[[3818,8]]},"710":{"position":[[676,8]]},"749":{"position":[[23061,8]]},"793":{"position":[[356,8]]},"1143":{"position":[[7,8]]},"1146":{"position":[[1,8],[111,8],[315,8]]},"1147":{"position":[[135,8]]},"1150":{"position":[[1,8]]},"1151":{"position":[[103,8],[770,8]]},"1152":{"position":[[24,8]]},"1235":{"position":[[121,8]]},"1247":{"position":[[141,9],[156,8],[195,8]]}},"keywords":{}}],["dexie.js.it",{"_index":6068,"title":{},"content":{"1143":{"position":[[505,11]]}},"keywords":{}}],["dexie/sqlit",{"_index":4810,"title":{},"content":{"841":{"position":[[999,12]]}},"keywords":{}}],["dexiecloud",{"_index":6075,"title":{},"content":{"1148":{"position":[[644,10],[781,13]]}},"keywords":{}}],["dexiedatabase.cloud.configur",{"_index":6078,"title":{},"content":{"1148":{"position":[[941,31]]}},"keywords":{}}],["dexiedatabasenam",{"_index":6077,"title":{},"content":{"1148":{"position":[[914,18]]}},"keywords":{}}],["di",{"_index":4089,"title":{},"content":{"737":{"position":[[489,7]]}},"keywords":{}}],["diagram",{"_index":4938,"title":{},"content":{"871":{"position":[[373,7]]}},"keywords":{}}],["dialect",{"_index":6573,"title":{},"content":{"1320":{"position":[[378,7]]}},"keywords":{}}],["dialog",{"_index":1095,"title":{},"content":{"130":{"position":[[420,7]]}},"keywords":{}}],["diarydirectori",{"_index":6199,"title":{},"content":{"1208":{"position":[[787,14]]}},"keywords":{}}],["diarydirectory.getfilehandle('example.txt",{"_index":6203,"title":{},"content":{"1208":{"position":[[934,43]]}},"keywords":{}}],["dictat",{"_index":6574,"title":{},"content":{"1320":{"position":[[455,7]]}},"keywords":{}}],["didn't",{"_index":2626,"title":{},"content":{"411":{"position":[[3307,6]]},"412":{"position":[[15032,6]]},"1085":{"position":[[2396,6]]}},"keywords":{}}],["diff",{"_index":2608,"title":{},"content":{"411":{"position":[[157,5],[282,4]]},"412":{"position":[[3633,4]]}},"keywords":{}}],["differ",{"_index":65,"title":{"131":{"position":[[0,9]]},"162":{"position":[[0,9]]},"189":{"position":[[0,9]]},"287":{"position":[[0,9]]},"336":{"position":[[0,9]]},"504":{"position":[[10,9]]},"524":{"position":[[0,9]]},"581":{"position":[[0,9]]},"640":{"position":[[0,9]]},"691":{"position":[[17,9]]},"706":{"position":[[30,9]]},"798":{"position":[[4,9]]},"1215":{"position":[[0,10]]},"1273":{"position":[[32,9]]}},"content":{"4":{"position":[[135,9]]},"5":{"position":[[57,9]]},"14":{"position":[[680,10],[934,10]]},"16":{"position":[[280,9]]},"19":{"position":[[191,10],[968,10]]},"24":{"position":[[640,9]]},"35":{"position":[[126,9]]},"37":{"position":[[164,9],[243,9]]},"47":{"position":[[1338,9]]},"72":{"position":[[73,9]]},"80":{"position":[[93,9]]},"109":{"position":[[101,9]]},"112":{"position":[[66,9]]},"113":{"position":[[181,9]]},"160":{"position":[[252,9]]},"162":{"position":[[87,9],[716,9]]},"174":{"position":[[2332,9],[2863,9]]},"184":{"position":[[167,9]]},"237":{"position":[[228,9]]},"239":{"position":[[71,9],[318,9]]},"299":{"position":[[23,6],[696,6]]},"301":{"position":[[102,9]]},"328":{"position":[[47,9]]},"361":{"position":[[1009,10]]},"364":{"position":[[250,9]]},"390":{"position":[[1511,6]]},"391":{"position":[[976,9]]},"392":{"position":[[3252,9]]},"393":{"position":[[173,10]]},"396":{"position":[[822,9]]},"398":{"position":[[3056,6]]},"399":{"position":[[601,9]]},"402":{"position":[[946,9],[2638,9],[2671,9]]},"404":{"position":[[940,9],[961,9]]},"412":{"position":[[10576,9],[10597,9],[11510,9]]},"420":{"position":[[755,9]]},"445":{"position":[[2356,9]]},"449":{"position":[[41,9]]},"451":{"position":[[749,10]]},"458":{"position":[[7,10]]},"459":{"position":[[9,10]]},"462":{"position":[[287,7]]},"502":{"position":[[1234,9]]},"504":{"position":[[1225,9]]},"517":{"position":[[224,9]]},"519":{"position":[[343,9]]},"524":{"position":[[55,9]]},"525":{"position":[[301,9]]},"612":{"position":[[1330,10]]},"613":{"position":[[853,9]]},"632":{"position":[[676,9]]},"641":{"position":[[129,11]]},"666":{"position":[[444,9]]},"681":{"position":[[876,9]]},"691":{"position":[[37,9],[555,9]]},"701":{"position":[[136,9]]},"704":{"position":[[260,9],[307,9]]},"705":{"position":[[690,9]]},"719":{"position":[[136,9],[343,9]]},"730":{"position":[[60,9]]},"743":{"position":[[100,9],[265,9]]},"749":{"position":[[4784,9],[5433,9],[13442,9],[23645,9]]},"759":{"position":[[601,9]]},"760":{"position":[[597,9]]},"764":{"position":[[1,9]]},"772":{"position":[[2558,9]]},"775":{"position":[[213,9]]},"784":{"position":[[38,9]]},"796":{"position":[[273,9]]},"798":{"position":[[128,9]]},"821":{"position":[[248,9]]},"830":{"position":[[236,9]]},"831":{"position":[[198,9]]},"832":{"position":[[426,10]]},"835":{"position":[[111,10]]},"836":{"position":[[317,9]]},"849":{"position":[[313,9]]},"855":{"position":[[286,9]]},"867":{"position":[[281,9]]},"879":{"position":[[82,9]]},"886":{"position":[[4026,9]]},"890":{"position":[[661,9]]},"898":{"position":[[3939,7]]},"904":{"position":[[2039,9],[3127,10]]},"935":{"position":[[110,9]]},"938":{"position":[[95,9]]},"962":{"position":[[124,9],[234,9],[257,9]]},"968":{"position":[[92,9]]},"982":{"position":[[687,9]]},"983":{"position":[[1115,9]]},"986":{"position":[[553,9],[1451,9]]},"988":{"position":[[1793,9]]},"1008":{"position":[[263,11]]},"1009":{"position":[[462,9]]},"1020":{"position":[[169,9],[196,9]]},"1021":{"position":[[46,9]]},"1067":{"position":[[176,10],[214,7]]},"1072":{"position":[[902,10]]},"1085":{"position":[[2885,9]]},"1091":{"position":[[75,9]]},"1100":{"position":[[36,9],[440,9]]},"1102":{"position":[[181,9]]},"1105":{"position":[[297,9],[360,9],[384,9]]},"1108":{"position":[[299,9]]},"1112":{"position":[[33,9],[116,9],[263,9]]},"1120":{"position":[[576,9]]},"1125":{"position":[[666,9]]},"1140":{"position":[[308,9]]},"1165":{"position":[[265,9]]},"1191":{"position":[[7,10],[74,10],[206,9],[467,9],[609,9],[662,10]]},"1215":{"position":[[40,11]]},"1222":{"position":[[697,7]]},"1246":{"position":[[851,9]]},"1250":{"position":[[451,10]]},"1267":{"position":[[49,9]]},"1271":{"position":[[1330,9]]},"1272":{"position":[[1,9],[33,9]]},"1274":{"position":[[395,9],[419,9]]},"1279":{"position":[[782,9],[806,9]]},"1295":{"position":[[1365,9]]},"1301":{"position":[[9,10]]},"1304":{"position":[[1125,9]]},"1305":{"position":[[1002,9]]},"1307":{"position":[[62,9]]},"1315":{"position":[[751,12],[967,11]]},"1316":{"position":[[1221,9],[1980,9],[3123,10]]},"1320":{"position":[[364,9]]},"1321":{"position":[[823,9]]},"1324":{"position":[[780,9]]}},"keywords":{}}],["differenti",{"_index":2643,"title":{},"content":{"411":{"position":[[5528,13]]}},"keywords":{}}],["diffi",{"_index":5581,"title":{"1008":{"position":[[0,5]]}},"content":{},"keywords":{}}],["difficult",{"_index":485,"title":{},"content":{"29":{"position":[[445,9]]},"47":{"position":[[230,9],[950,9]]},"535":{"position":[[934,10]]},"595":{"position":[[1009,10]]},"839":{"position":[[923,9]]},"1304":{"position":[[716,10]]}},"keywords":{}}],["difficulti",{"_index":2775,"title":{},"content":{"412":{"position":[[15263,13]]},"610":{"position":[[1542,12]]}},"keywords":{}}],["digest",{"_index":5303,"title":{"927":{"position":[[0,7]]}},"content":{"927":{"position":[[55,6],[163,6]]},"968":{"position":[[658,9]]},"1004":{"position":[[369,7]]}},"keywords":{}}],["digit",{"_index":1683,"title":{},"content":{"289":{"position":[[1530,7]]},"510":{"position":[[702,7]]}},"keywords":{}}],["dimens",{"_index":2333,"title":{},"content":{"395":{"position":[[551,10]]}},"keywords":{}}],["dimension",{"_index":2181,"title":{},"content":{"390":{"position":[[105,11]]},"396":{"position":[[266,11]]},"402":{"position":[[2444,14]]}},"keywords":{}}],["direct",{"_index":1961,"title":{"616":{"position":[[21,11]]}},"content":{"336":{"position":[[185,6]]},"381":{"position":[[38,11]]},"398":{"position":[[500,11],[624,10]]},"407":{"position":[[493,6]]},"429":{"position":[[257,6]]},"433":{"position":[[76,6],[629,6]]},"460":{"position":[[974,6]]},"504":{"position":[[1344,6]]},"574":{"position":[[651,6]]},"581":{"position":[[211,6]]},"616":{"position":[[61,10]]},"714":{"position":[[733,6]]},"749":{"position":[[460,9]]},"811":{"position":[[52,6]]},"841":{"position":[[519,6]]},"871":{"position":[[675,6]]},"901":{"position":[[377,6],[715,6]]},"1002":{"position":[[777,9]]},"1006":{"position":[[89,10]]},"1033":{"position":[[1035,11]]},"1115":{"position":[[526,6]]},"1324":{"position":[[175,6]]}},"keywords":{}}],["directli",{"_index":496,"title":{},"content":{"31":{"position":[[95,8]]},"47":{"position":[[25,8],[736,8]]},"130":{"position":[[238,8]]},"131":{"position":[[216,8]]},"162":{"position":[[255,8]]},"172":{"position":[[81,8]]},"210":{"position":[[135,9]]},"212":{"position":[[633,8]]},"219":{"position":[[186,8]]},"227":{"position":[[202,8]]},"248":{"position":[[11,8]]},"261":{"position":[[179,8]]},"265":{"position":[[165,8]]},"289":{"position":[[1725,8],[1939,9]]},"315":{"position":[[1039,8]]},"352":{"position":[[118,9],[340,8]]},"358":{"position":[[95,8]]},"376":{"position":[[117,8]]},"391":{"position":[[89,8]]},"408":{"position":[[1873,8],[3375,8],[3787,8],[4154,9]]},"411":{"position":[[2265,8],[5077,8]]},"413":{"position":[[64,8]]},"416":{"position":[[498,8]]},"440":{"position":[[421,8]]},"444":{"position":[[478,8]]},"453":{"position":[[113,8],[544,8]]},"454":{"position":[[781,8]]},"463":{"position":[[304,8]]},"467":{"position":[[558,8]]},"468":{"position":[[403,8]]},"469":{"position":[[930,8]]},"470":{"position":[[188,8]]},"473":{"position":[[51,8]]},"489":{"position":[[441,8]]},"493":{"position":[[118,8]]},"521":{"position":[[17,8]]},"542":{"position":[[682,8]]},"548":{"position":[[324,9]]},"555":{"position":[[726,8]]},"560":{"position":[[562,8]]},"571":{"position":[[211,8],[780,8]]},"585":{"position":[[203,8]]},"591":{"position":[[497,8]]},"602":{"position":[[348,8]]},"608":{"position":[[322,9]]},"612":{"position":[[890,8]]},"613":{"position":[[1075,8]]},"614":{"position":[[137,8]]},"616":{"position":[[413,8]]},"620":{"position":[[98,8]]},"688":{"position":[[547,8]]},"699":{"position":[[86,8]]},"703":{"position":[[70,8]]},"724":{"position":[[1272,8]]},"772":{"position":[[1303,8]]},"773":{"position":[[119,8]]},"778":{"position":[[335,8]]},"781":{"position":[[754,8]]},"800":{"position":[[227,8]]},"829":{"position":[[3906,9]]},"836":{"position":[[774,8],[1269,8]]},"875":{"position":[[6799,8]]},"890":{"position":[[733,8]]},"896":{"position":[[68,8]]},"897":{"position":[[56,8]]},"901":{"position":[[153,8]]},"902":{"position":[[66,8]]},"903":{"position":[[175,8]]},"939":{"position":[[75,8]]},"1040":{"position":[[72,8]]},"1065":{"position":[[181,8]]},"1072":{"position":[[1142,8]]},"1085":{"position":[[142,9]]},"1090":{"position":[[202,8]]},"1092":{"position":[[439,8]]},"1116":{"position":[[276,8]]},"1120":{"position":[[103,8],[662,8]]},"1121":{"position":[[318,9]]},"1185":{"position":[[68,8]]},"1192":{"position":[[86,8]]},"1214":{"position":[[791,8]]},"1271":{"position":[[97,8]]},"1272":{"position":[[224,8]]},"1294":{"position":[[2068,8]]},"1300":{"position":[[21,8]]}},"keywords":{}}],["directori",{"_index":3030,"title":{},"content":{"463":{"position":[[527,10]]},"647":{"position":[[281,10]]},"648":{"position":[[81,10],[173,10]]},"649":{"position":[[129,10]]},"1208":{"position":[[113,11],[655,9]]}},"keywords":{}}],["disabl",{"_index":3375,"title":{"675":{"position":[[0,7]]},"676":{"position":[[0,7]]},"761":{"position":[[0,7]]},"1151":{"position":[[0,9]]},"1178":{"position":[[0,9]]}},"content":{"556":{"position":[[1487,7]]},"675":{"position":[[152,7]]},"676":{"position":[[211,7]]},"761":{"position":[[323,7]]},"1151":{"position":[[852,7]]},"1164":{"position":[[488,7]]},"1174":{"position":[[723,7]]},"1178":{"position":[[849,7]]},"1282":{"position":[[1044,7]]}},"keywords":{}}],["disableversioncheck",{"_index":4503,"title":{},"content":{"761":{"position":[[371,21],[461,19],[523,22],[587,19],[666,22],[709,19],[789,22]]}},"keywords":{}}],["disablewarn",{"_index":3860,"title":{},"content":{"675":{"position":[[190,17],[228,15],[276,18]]}},"keywords":{}}],["disadvantag",{"_index":6476,"title":{},"content":{"1301":{"position":[[1347,12]]}},"keywords":{}}],["disallow",{"_index":5900,"title":{},"content":{"1085":{"position":[[2589,11]]}},"keywords":{}}],["disc",{"_index":507,"title":{},"content":{"32":{"position":[[259,5]]},"461":{"position":[[1116,4],[1578,4]]},"696":{"position":[[1072,4],[1341,4]]},"800":{"position":[[742,5]]},"837":{"position":[[521,4]]},"932":{"position":[[263,4]]},"977":{"position":[[59,4]]},"1119":{"position":[[83,5]]},"1120":{"position":[[260,4]]},"1174":{"position":[[196,5]]},"1180":{"position":[[332,4]]},"1184":{"position":[[161,5]]},"1192":{"position":[[106,4],[138,4],[342,4]]},"1239":{"position":[[340,4]]},"1246":{"position":[[1575,5]]},"1292":{"position":[[606,4]]},"1300":{"position":[[291,5],[439,4]]},"1301":{"position":[[225,5]]},"1304":{"position":[[421,5]]}},"keywords":{}}],["disconnect",{"_index":1188,"title":{},"content":{"164":{"position":[[110,12]]},"590":{"position":[[772,14]]},"626":{"position":[[950,11]]},"632":{"position":[[2660,14]]},"1104":{"position":[[637,13]]}},"keywords":{}}],["discord",{"_index":1598,"title":{},"content":{"263":{"position":[[426,7]]},"422":{"position":[[187,7]]},"644":{"position":[[313,7]]},"669":{"position":[[49,8]]},"793":{"position":[[1496,7]]},"824":{"position":[[386,7]]},"873":{"position":[[173,7]]},"899":{"position":[[431,7]]},"913":{"position":[[272,7]]}},"keywords":{}}],["discourag",{"_index":3682,"title":{},"content":{"624":{"position":[[1608,11]]}},"keywords":{}}],["discov",{"_index":3529,"title":{"1190":{"position":[[3,8]]}},"content":{"591":{"position":[[463,8]]},"906":{"position":[[135,8]]}},"keywords":{}}],["discoveri",{"_index":5250,"title":{},"content":{"903":{"position":[[329,10]]}},"keywords":{}}],["discret",{"_index":1647,"title":{},"content":{"279":{"position":[[195,8]]}},"keywords":{}}],["discuss",{"_index":2194,"title":{},"content":{"390":{"position":[[707,7]]},"422":{"position":[[7,7]]},"628":{"position":[[26,10]]},"668":{"position":[[273,7]]},"705":{"position":[[1180,10]]}},"keywords":{}}],["disk",{"_index":498,"title":{},"content":{"31":{"position":[[164,4]]},"162":{"position":[[653,5]]},"236":{"position":[[194,4]]},"265":{"position":[[267,4],[536,4],[641,4],[806,4]]},"267":{"position":[[1339,4]]},"298":{"position":[[37,4],[243,4],[555,4]]},"299":{"position":[[273,5]]},"304":{"position":[[114,4]]},"311":{"position":[[204,4]]},"358":{"position":[[109,4]]},"361":{"position":[[425,4]]},"376":{"position":[[288,4]]},"385":{"position":[[157,4]]},"408":{"position":[[1003,4],[1116,4]]},"412":{"position":[[7778,5],[10021,5]]},"461":{"position":[[1200,4]]},"638":{"position":[[906,4]]},"696":{"position":[[1992,4]]},"1208":{"position":[[1785,5]]}},"keywords":{}}],["display",{"_index":812,"title":{},"content":{"54":{"position":[[21,7]]},"73":{"position":[[132,7]]},"327":{"position":[[136,8]]},"335":{"position":[[116,10]]},"379":{"position":[[242,7]]},"634":{"position":[[639,10]]},"696":{"position":[[408,7],[565,8]]},"700":{"position":[[1087,7]]},"736":{"position":[[33,8],[141,7]]},"781":{"position":[[64,7],[101,7]]}},"keywords":{}}],["displaystoragefulldialog",{"_index":1817,"title":{},"content":{"302":{"position":[[1055,27]]}},"keywords":{}}],["disrupt",{"_index":3692,"title":{},"content":{"630":{"position":[[177,7]]}},"keywords":{}}],["dist",{"_index":3833,"title":{},"content":{"668":{"position":[[206,4]]}},"keywords":{}}],["dist/work",{"_index":6315,"title":{},"content":{"1266":{"position":[[459,18],[681,14]]}},"keywords":{}}],["distanc",{"_index":2289,"title":{"393":{"position":[[37,9]]}},"content":{"393":{"position":[[223,9],[243,9],[478,8],[846,8],[979,8]]},"394":{"position":[[358,8],[795,9],[981,8]]},"396":{"position":[[880,8],[1140,8],[1273,9],[1376,8],[1849,8],[1897,8]]},"397":{"position":[[1406,8],[1451,8],[1540,9],[1979,8]]},"398":{"position":[[549,8],[1511,8],[1591,9],[1793,9],[2664,8],[2744,9]]},"402":{"position":[[440,9],[1147,8]]},"780":{"position":[[437,8]]}},"keywords":{}}],["distancetoindex",{"_index":2397,"title":{},"content":{"398":{"position":[[900,15],[2186,15],[2272,15]]}},"keywords":{}}],["distinct",{"_index":3675,"title":{},"content":{"624":{"position":[[76,8]]}},"keywords":{}}],["distingu",{"_index":4735,"title":{},"content":{"826":{"position":[[199,13]]}},"keywords":{}}],["distinguish",{"_index":1928,"title":{},"content":{"327":{"position":[[15,14]]},"612":{"position":[[936,13]]}},"keywords":{}}],["distribut",{"_index":426,"title":{"240":{"position":[[27,11]]}},"content":{"26":{"position":[[173,11]]},"91":{"position":[[19,10]]},"134":{"position":[[6,11]]},"184":{"position":[[51,11]]},"240":{"position":[[4,11]]},"250":{"position":[[357,11]]},"289":{"position":[[640,11]]},"339":{"position":[[212,11]]},"393":{"position":[[570,12]]},"412":{"position":[[801,11],[14961,11]]},"635":{"position":[[471,11]]},"644":{"position":[[576,11]]},"701":{"position":[[663,11]]},"772":{"position":[[271,11]]},"798":{"position":[[268,12],[505,12]]},"821":{"position":[[631,12],[861,12]]},"903":{"position":[[92,10]]},"1088":{"position":[[483,10]]}},"keywords":{}}],["dive",{"_index":881,"title":{},"content":{"61":{"position":[[20,4]]},"151":{"position":[[8,6]]},"263":{"position":[[371,4]]},"425":{"position":[[7,4]]},"462":{"position":[[68,4]]},"567":{"position":[[22,4]]},"572":{"position":[[1,4]]},"644":{"position":[[1,4]]},"824":{"position":[[22,4]]}},"keywords":{}}],["diverg",{"_index":2657,"title":{},"content":{"412":{"position":[[692,9]]}},"keywords":{}}],["divers",{"_index":1662,"title":{},"content":{"284":{"position":[[215,7]]},"287":{"position":[[118,7]]},"381":{"position":[[510,7]]},"504":{"position":[[16,7]]},"631":{"position":[[411,7]]},"1195":{"position":[[65,8]]}},"keywords":{}}],["divid",{"_index":3469,"title":{},"content":{"571":{"position":[[1613,7]]},"701":{"position":[[285,6]]},"707":{"position":[[28,7]]}},"keywords":{}}],["dm1",{"_index":4292,"title":{},"content":{"749":{"position":[[12188,3]]}},"keywords":{}}],["dm2",{"_index":4293,"title":{},"content":{"749":{"position":[[12279,3]]}},"keywords":{}}],["dm3",{"_index":4294,"title":{},"content":{"749":{"position":[[12406,3]]}},"keywords":{}}],["dm4",{"_index":4295,"title":{},"content":{"749":{"position":[[12487,3]]}},"keywords":{}}],["dm5",{"_index":4296,"title":{},"content":{"749":{"position":[[12560,3]]}},"keywords":{}}],["do",{"_index":1633,"title":{"1032":{"position":[[16,5]]}},"content":{"273":{"position":[[233,5]]},"412":{"position":[[9343,5],[10369,5]]},"451":{"position":[[612,5]]},"460":{"position":[[494,5]]},"616":{"position":[[384,5]]},"617":{"position":[[990,3]]},"723":{"position":[[903,5]]},"872":{"position":[[2859,5]]},"876":{"position":[[48,5]]},"881":{"position":[[316,3]]},"912":{"position":[[337,5]]},"1027":{"position":[[71,5]]},"1068":{"position":[[129,5]]},"1072":{"position":[[921,5],[955,5]]},"1106":{"position":[[378,5]]},"1138":{"position":[[553,5]]},"1164":{"position":[[1379,5]]},"1188":{"position":[[267,5]]},"1246":{"position":[[171,5],[491,5]]},"1251":{"position":[[279,5]]},"1274":{"position":[[594,5]]},"1279":{"position":[[981,5]]},"1296":{"position":[[473,5]]},"1304":{"position":[[1322,5]]},"1305":{"position":[[67,5]]},"1317":{"position":[[489,3]]}},"keywords":{}}],["doabl",{"_index":2747,"title":{},"content":{"412":{"position":[[11732,6]]},"1317":{"position":[[749,7]]}},"keywords":{}}],["doc",{"_index":806,"title":{"923":{"position":[[0,4]]}},"content":{"52":{"position":[[467,3],[614,3]]},"209":{"position":[[734,6],[895,4]]},"255":{"position":[[1114,4],[1232,5]]},"306":{"position":[[47,5]]},"392":{"position":[[2764,6],[4717,6],[4765,5]]},"394":{"position":[[790,4]]},"397":{"position":[[1805,6]]},"398":{"position":[[1601,3],[2311,4],[2754,3]]},"400":{"position":[[35,4]]},"493":{"position":[[248,3]]},"495":{"position":[[679,4]]},"539":{"position":[[467,3],[614,3]]},"555":{"position":[[263,3]]},"556":{"position":[[798,3]]},"562":{"position":[[547,3],[636,4]]},"599":{"position":[[494,3]]},"632":{"position":[[2517,6]]},"670":{"position":[[413,4],[461,4],[490,4]]},"724":{"position":[[963,3],[1024,3]]},"734":{"position":[[874,5]]},"752":{"position":[[816,4],[1269,4]]},"770":{"position":[[451,3]]},"791":{"position":[[142,3],[462,3]]},"792":{"position":[[273,3]]},"810":{"position":[[335,3]]},"811":{"position":[[315,3]]},"813":{"position":[[339,3]]},"841":{"position":[[157,3],[189,3],[241,3],[1183,3],[1404,3]]},"886":{"position":[[1217,3],[1227,4],[3117,3],[3127,3]]},"887":{"position":[[452,4],[671,4]]},"888":{"position":[[1027,4],[1069,5]]},"889":{"position":[[129,5]]},"898":{"position":[[3509,4],[3524,5],[3601,4]]},"942":{"position":[[176,3]]},"943":{"position":[[373,3]]},"946":{"position":[[148,3]]},"947":{"position":[[159,4]]},"988":{"position":[[2686,4]]},"1020":{"position":[[469,6],[582,3],[589,5]]},"1022":{"position":[[572,6],[598,3],[605,5]]},"1023":{"position":[[228,6],[254,3],[261,5]]},"1024":{"position":[[314,6],[340,3],[347,5]]},"1033":{"position":[[590,6]]},"1036":{"position":[[108,4]]},"1057":{"position":[[594,3]]},"1065":{"position":[[75,5],[93,4],[137,4]]},"1173":{"position":[[220,5]]},"1311":{"position":[[1272,4]]},"1314":{"position":[[644,4]]}},"keywords":{}}],["doc._delet",{"_index":5211,"title":{},"content":{"898":{"position":[[1889,12]]}},"keywords":{}}],["doc.ag",{"_index":5220,"title":{},"content":{"898":{"position":[[3567,10],[3585,8]]}},"keywords":{}}],["doc.bestfriend_",{"_index":4686,"title":{},"content":{"811":{"position":[[392,16]]}},"keywords":{}}],["doc.categori",{"_index":5621,"title":{},"content":{"1020":{"position":[[663,12]]}},"keywords":{}}],["doc.embed",{"_index":2316,"title":{},"content":{"394":{"position":[[836,14]]}},"keywords":{}}],["doc.firstnam",{"_index":4054,"title":{},"content":{"724":{"position":[[973,13],[1034,14]]},"1311":{"position":[[1365,15]]}},"keywords":{}}],["doc.id",{"_index":5106,"title":{},"content":{"885":{"position":[[2248,7]]}},"keywords":{}}],["doc.lastnam",{"_index":4055,"title":{},"content":{"724":{"position":[[995,12]]}},"keywords":{}}],["doc.modify(data",{"_index":5712,"title":{},"content":{"1048":{"position":[[545,15]]}},"keywords":{}}],["doc.nam",{"_index":3177,"title":{},"content":{"493":{"position":[[273,8]]},"571":{"position":[[1162,8]]}},"keywords":{}}],["doc.populate('bestfriend",{"_index":4681,"title":{},"content":{"810":{"position":[[412,27]]}},"keywords":{}}],["doc.primari",{"_index":2249,"title":{},"content":{"392":{"position":[[2914,12]]},"397":{"position":[[1936,12]]},"1020":{"position":[[640,12]]},"1022":{"position":[[838,12]]},"1023":{"position":[[507,12]]},"1024":{"position":[[413,13],[509,12]]}},"keywords":{}}],["doc.primary}).remov",{"_index":5627,"title":{},"content":{"1022":{"position":[[687,23]]},"1023":{"position":[[338,23]]}},"keywords":{}}],["doc.putattach",{"_index":3369,"title":{},"content":{"556":{"position":[[916,19]]},"792":{"position":[[335,19]]}},"keywords":{}}],["doc.putattachmentbase64",{"_index":5295,"title":{},"content":{"918":{"position":[[104,25]]}},"keywords":{}}],["doc.receivers.map(receiv",{"_index":5630,"title":{},"content":{"1022":{"position":[[793,26]]}},"keywords":{}}],["doc.remov",{"_index":810,"title":{},"content":{"52":{"position":[[690,13]]},"539":{"position":[[690,13]]},"684":{"position":[[235,13]]}},"keywords":{}}],["doc.text.split",{"_index":5639,"title":{},"content":{"1023":{"position":[[414,16]]}},"keywords":{}}],["doc.upd",{"_index":807,"title":{},"content":{"52":{"position":[[543,12]]},"539":{"position":[[543,12]]},"599":{"position":[[570,12]]},"857":{"position":[[374,12]]},"1048":{"position":[[439,12]]}},"keywords":{}}],["doc.updatecrdt",{"_index":3889,"title":{},"content":{"684":{"position":[[164,16]]}},"keywords":{}}],["doc.updatedat",{"_index":5105,"title":{},"content":{"885":{"position":[[2069,14],[2120,14],[2170,14]]}},"keywords":{}}],["doc1",{"_index":4256,"title":{},"content":{"749":{"position":[[9507,4]]}},"keywords":{}}],["doc10",{"_index":4269,"title":{},"content":{"749":{"position":[[10465,5]]}},"keywords":{}}],["doc11",{"_index":4272,"title":{},"content":{"749":{"position":[[10588,5]]}},"keywords":{}}],["doc13",{"_index":4274,"title":{},"content":{"749":{"position":[[10692,5]]}},"keywords":{}}],["doc14",{"_index":4275,"title":{},"content":{"749":{"position":[[10798,5]]}},"keywords":{}}],["doc15",{"_index":4277,"title":{},"content":{"749":{"position":[[10889,5]]}},"keywords":{}}],["doc16",{"_index":4278,"title":{},"content":{"749":{"position":[[10971,5]]}},"keywords":{}}],["doc17",{"_index":4280,"title":{},"content":{"749":{"position":[[11109,5]]}},"keywords":{}}],["doc18",{"_index":4281,"title":{},"content":{"749":{"position":[[11250,5]]}},"keywords":{}}],["doc19",{"_index":4282,"title":{},"content":{"749":{"position":[[11361,5]]}},"keywords":{}}],["doc2",{"_index":4259,"title":{},"content":{"749":{"position":[[9652,4]]}},"keywords":{}}],["doc20",{"_index":4284,"title":{},"content":{"749":{"position":[[11460,5]]}},"keywords":{}}],["doc21",{"_index":4285,"title":{},"content":{"749":{"position":[[11536,5]]}},"keywords":{}}],["doc22",{"_index":4288,"title":{},"content":{"749":{"position":[[11681,5]]}},"keywords":{}}],["doc23",{"_index":4290,"title":{},"content":{"749":{"position":[[11778,5]]}},"keywords":{}}],["doc24",{"_index":4291,"title":{},"content":{"749":{"position":[[11887,5]]}},"keywords":{}}],["doc3",{"_index":4260,"title":{},"content":{"749":{"position":[[9736,4]]}},"keywords":{}}],["doc4",{"_index":4261,"title":{},"content":{"749":{"position":[[9824,4]]}},"keywords":{}}],["doc5",{"_index":4262,"title":{},"content":{"749":{"position":[[9931,4]]}},"keywords":{}}],["doc6",{"_index":4264,"title":{},"content":{"749":{"position":[[10045,4]]}},"keywords":{}}],["doc7",{"_index":4265,"title":{},"content":{"749":{"position":[[10163,4]]}},"keywords":{}}],["doc8",{"_index":4266,"title":{},"content":{"749":{"position":[[10272,4]]}},"keywords":{}}],["doc9",{"_index":4268,"title":{},"content":{"749":{"position":[[10377,4]]}},"keywords":{}}],["doc[k",{"_index":5152,"title":{},"content":{"887":{"position":[[650,7]]}},"keywords":{}}],["docafteredit",{"_index":5703,"title":{},"content":{"1045":{"position":[[122,12]]}},"keywords":{}}],["docdata",{"_index":2381,"title":{},"content":{"397":{"position":[[1920,7]]},"403":{"position":[[1007,8]]},"795":{"position":[[149,7]]},"846":{"position":[[844,7],[1279,7]]},"948":{"position":[[380,7]]},"986":{"position":[[730,7]]},"1044":{"position":[[456,8]]},"1061":{"position":[[271,8]]},"1311":{"position":[[1232,8]]}},"keywords":{}}],["docdata.ag",{"_index":5698,"title":{},"content":{"1044":{"position":[[418,11],[432,11]]},"1061":{"position":[[187,11],[201,11]]},"1296":{"position":[[888,11]]}},"keywords":{}}],["docdata.ageidcustomindex",{"_index":6459,"title":{},"content":{"1296":{"position":[[861,24]]}},"keywords":{}}],["docdata.id.padstart(idmaxlength",{"_index":6460,"title":{},"content":{"1296":{"position":[[902,32]]}},"keywords":{}}],["docdata['idx",{"_index":2386,"title":{},"content":{"397":{"position":[[2149,13]]},"403":{"position":[[921,13]]}},"keywords":{}}],["docker",{"_index":4893,"title":{},"content":{"861":{"position":[[296,7],[311,6],[322,6],[383,6],[473,6],[508,6],[546,6],[850,6],[873,6],[901,6]]},"865":{"position":[[196,6],[211,6]]},"872":{"position":[[441,6]]}},"keywords":{}}],["docorundefin",{"_index":5739,"title":{},"content":{"1057":{"position":[[330,14],[431,14]]}},"keywords":{}}],["docread",{"_index":2414,"title":{},"content":{"398":{"position":[[1738,8],[2101,8],[2553,8],[2564,8],[2891,8]]}},"keywords":{}}],["docs">",{"_index":3176,"title":{},"content":{"493":{"position":[[209,14],[255,14]]}},"keywords":{}}],["docs.color",{"_index":6526,"title":{},"content":{"1314":{"position":[[653,10],[678,10]]}},"keywords":{}}],["docs.foreach(d",{"_index":1136,"title":{},"content":{"143":{"position":[[531,14],[716,14]]}},"keywords":{}}],["docs.length",{"_index":2420,"title":{},"content":{"398":{"position":[[2575,12]]},"888":{"position":[[1087,11]]}},"keywords":{}}],["docs.map((doc",{"_index":3182,"title":{},"content":{"494":{"position":[[335,15]]}},"keywords":{}}],["docs.map(d",{"_index":2419,"title":{},"content":{"398":{"position":[[2516,10]]}},"keywords":{}}],["docs.rend",{"_index":3179,"title":{},"content":{"493":{"position":[[474,12]]}},"keywords":{}}],["docs/api/database/changes.html",{"_index":4828,"title":{},"content":{"846":{"position":[[994,30]]}},"keywords":{}}],["docs:instal",{"_index":3840,"title":{},"content":{"670":{"position":[[516,12]]}},"keywords":{}}],["docs:serv",{"_index":3841,"title":{},"content":{"670":{"position":[[548,10]]}},"keywords":{}}],["docsaft",{"_index":2401,"title":{},"content":{"398":{"position":[[991,10]]}},"keywords":{}}],["docsafter.map(d",{"_index":2407,"title":{},"content":{"398":{"position":[[1393,15]]}},"keywords":{}}],["docsbefor",{"_index":2400,"title":{},"content":{"398":{"position":[[978,12]]}},"keywords":{}}],["docsbefore.map(d",{"_index":2405,"title":{},"content":{"398":{"position":[[1350,16]]}},"keywords":{}}],["docsmap",{"_index":5361,"title":{},"content":{"951":{"position":[[367,7]]}},"keywords":{}}],["docsperindexsid",{"_index":2392,"title":{},"content":{"398":{"position":[[757,16],[1158,16],[1319,16],[3232,16]]},"402":{"position":[[1493,16]]}},"keywords":{}}],["docssign",{"_index":3181,"title":{},"content":{"494":{"position":[[278,10]]}},"keywords":{}}],["docssignal.valu",{"_index":3184,"title":{},"content":{"494":{"position":[[468,16]]}},"keywords":{}}],["docswithdist",{"_index":2408,"title":{},"content":{"398":{"position":[[1447,16],[2600,16]]}},"keywords":{}}],["docswithdistance.sort(sortbyobjectnumberproperty('distance')).revers",{"_index":2412,"title":{},"content":{"398":{"position":[[1627,72],[2780,72]]}},"keywords":{}}],["doctostr",{"_index":4056,"title":{},"content":{"724":{"position":[[1011,12]]}},"keywords":{}}],["document",{"_index":152,"title":{"73":{"position":[[11,9]]},"75":{"position":[[11,8]]},"81":{"position":[[8,9]]},"104":{"position":[[11,9]]},"106":{"position":[[11,8]]},"111":{"position":[[8,9]]},"231":{"position":[[13,9]]},"235":{"position":[[11,8]]},"236":{"position":[[8,9]]},"279":{"position":[[7,8]]},"282":{"position":[[35,10]]},"350":{"position":[[0,8]]},"365":{"position":[[36,10]]},"366":{"position":[[29,10]]},"371":{"position":[[19,9]]},"457":{"position":[[21,10]]},"684":{"position":[[9,10]]},"793":{"position":[[5,13]]},"800":{"position":[[20,8]]},"982":{"position":[[23,8]]},"1011":{"position":[[6,9]]},"1012":{"position":[[14,9]]},"1024":{"position":[[39,10]]},"1253":{"position":[[4,8]]}},"content":{"11":{"position":[[347,8]]},"14":{"position":[[760,9]]},"16":{"position":[[198,9]]},"19":{"position":[[79,8]]},"23":{"position":[[36,8]]},"24":{"position":[[442,9],[748,8]]},"25":{"position":[[58,8]]},"32":{"position":[[103,8]]},"33":{"position":[[405,8]]},"41":{"position":[[164,8]]},"47":{"position":[[617,8],[842,8]]},"73":{"position":[[12,10]]},"75":{"position":[[47,8]]},"81":{"position":[[44,8]]},"84":{"position":[[211,14]]},"104":{"position":[[26,10],[164,9]]},"106":{"position":[[34,8]]},"111":{"position":[[59,10],[89,9]]},"114":{"position":[[224,14]]},"138":{"position":[[92,10]]},"149":{"position":[[224,14]]},"151":{"position":[[332,8]]},"168":{"position":[[190,9]]},"174":{"position":[[446,9],[492,9],[646,9],[966,8],[1042,10],[2358,9],[2413,9]]},"175":{"position":[[217,14]]},"179":{"position":[[309,8]]},"181":{"position":[[212,10]]},"188":{"position":[[2814,8],[2834,8],[3182,9],[3265,9]]},"194":{"position":[[144,8]]},"204":{"position":[[243,8]]},"208":{"position":[[166,9]]},"209":{"position":[[955,9]]},"231":{"position":[[42,9],[194,10]]},"235":{"position":[[26,8],[107,10]]},"236":{"position":[[35,9]]},"255":{"position":[[122,9],[1086,11],[1238,9]]},"267":{"position":[[489,8],[613,8],[672,9],[831,9],[1509,8]]},"279":{"position":[[50,8],[172,9],[394,8]]},"282":{"position":[[184,9]]},"301":{"position":[[229,9]]},"302":{"position":[[626,9]]},"303":{"position":[[366,10],[495,9]]},"311":{"position":[[124,8]]},"315":{"position":[[1095,8]]},"316":{"position":[[483,8]]},"317":{"position":[[151,8]]},"322":{"position":[[181,9]]},"335":{"position":[[245,9]]},"339":{"position":[[41,9]]},"345":{"position":[[98,8]]},"347":{"position":[[224,14]]},"350":{"position":[[50,8],[213,9]]},"352":{"position":[[360,10]]},"353":{"position":[[208,9],[414,10],[661,9],[747,8]]},"354":{"position":[[41,8],[358,10]]},"357":{"position":[[471,8]]},"359":{"position":[[147,9]]},"360":{"position":[[55,9],[666,8]]},"361":{"position":[[169,9],[394,9],[503,9]]},"362":{"position":[[210,9],[1061,8],[1295,14]]},"364":{"position":[[496,9],[698,8]]},"365":{"position":[[25,9]]},"366":{"position":[[30,9],[152,8],[253,9]]},"367":{"position":[[14,9],[784,9]]},"369":{"position":[[322,10]]},"371":{"position":[[236,9]]},"372":{"position":[[208,8]]},"381":{"position":[[306,9]]},"382":{"position":[[83,8]]},"386":{"position":[[310,13]]},"387":{"position":[[139,14]]},"390":{"position":[[630,8],[697,9]]},"392":{"position":[[470,9],[1292,10],[1411,9],[1783,9],[1858,9],[1955,8],[2281,9],[2529,10],[3122,9]]},"394":{"position":[[204,9],[331,10],[1210,9],[1277,8],[1457,9],[1611,9],[1675,10]]},"395":{"position":[[185,9],[274,10]]},"397":{"position":[[402,8]]},"399":{"position":[[420,10]]},"402":{"position":[[754,9],[1237,8],[1450,9]]},"408":{"position":[[2973,9],[4529,10],[4847,9]]},"410":{"position":[[1673,10]]},"411":{"position":[[3457,8]]},"412":{"position":[[2274,10],[3160,8],[4557,9],[4708,8],[4758,9],[10483,9],[14395,8]]},"419":{"position":[[1600,13]]},"426":{"position":[[282,9]]},"429":{"position":[[608,9]]},"430":{"position":[[420,10],[450,9]]},"432":{"position":[[251,10]]},"452":{"position":[[611,10]]},"457":{"position":[[85,9]]},"459":{"position":[[486,9]]},"462":{"position":[[844,9]]},"464":{"position":[[816,8],[1031,8],[1309,8],[1388,9]]},"465":{"position":[[30,10],[87,9]]},"466":{"position":[[57,9],[576,9]]},"467":{"position":[[19,9],[487,9],[681,9]]},"469":{"position":[[300,9],[719,9],[812,9]]},"482":{"position":[[105,8]]},"483":{"position":[[749,13]]},"487":{"position":[[311,8]]},"490":{"position":[[178,8]]},"491":{"position":[[1366,9]]},"493":{"position":[[99,10],[396,9],[459,9],[492,8]]},"496":{"position":[[349,8]]},"511":{"position":[[224,14]]},"531":{"position":[[224,14]]},"535":{"position":[[664,8],[844,8]]},"556":{"position":[[1273,8]]},"561":{"position":[[51,10],[162,9]]},"564":{"position":[[124,9]]},"566":{"position":[[163,9]]},"567":{"position":[[187,13]]},"575":{"position":[[680,9]]},"582":{"position":[[526,8]]},"585":{"position":[[106,10]]},"588":{"position":[[55,10]]},"591":{"position":[[224,14]]},"631":{"position":[[324,9]]},"632":{"position":[[172,9],[556,8],[2322,9],[2347,9]]},"634":{"position":[[301,8]]},"635":{"position":[[86,8],[122,8]]},"639":{"position":[[53,9]]},"653":{"position":[[400,8],[1131,9]]},"654":{"position":[[356,9]]},"655":{"position":[[33,9],[83,10],[316,9],[379,10],[405,9],[474,9]]},"661":{"position":[[1546,8]]},"662":{"position":[[206,9],[2579,9]]},"664":{"position":[[20,13]]},"670":{"position":[[437,13]]},"679":{"position":[[331,13]]},"680":{"position":[[1203,8]]},"681":{"position":[[67,8],[520,8]]},"682":{"position":[[50,8],[218,8]]},"683":{"position":[[358,8],[645,9],[713,9],[789,8],[867,8],[954,8]]},"684":{"position":[[18,8]]},"685":{"position":[[76,8],[110,8],[266,8],[311,8],[371,9],[484,9],[585,8],[609,8]]},"686":{"position":[[652,8]]},"687":{"position":[[67,8],[199,8],[327,8]]},"688":{"position":[[58,8],[428,8],[770,8]]},"691":{"position":[[66,8],[594,8]]},"698":{"position":[[48,9],[147,8],[221,9],[299,8],[499,8],[559,9],[623,8],[653,8],[855,8],[1175,8],[1299,8],[1325,8],[1498,10],[1840,8],[1969,9],[2344,9],[2422,9],[2740,8]]},"700":{"position":[[427,8],[1125,8]]},"701":{"position":[[153,9],[296,10],[801,9],[890,9],[1043,8]]},"702":{"position":[[115,9],[225,10],[473,10]]},"703":{"position":[[230,8]]},"705":{"position":[[203,8],[468,8]]},"710":{"position":[[240,10],[1887,8]]},"711":{"position":[[2005,8]]},"714":{"position":[[150,8],[606,9],[805,9],[1061,9]]},"717":{"position":[[277,8]]},"719":{"position":[[386,9]]},"723":{"position":[[1080,8],[1481,9],[2320,9]]},"724":{"position":[[696,9],[778,8],[886,8],[1078,9],[1550,9]]},"749":{"position":[[6767,8],[8917,8],[8959,8],[9124,9],[10632,8],[10719,8],[11189,9],[11256,8],[11899,8],[12082,8],[12296,8],[12318,8],[13695,9],[14226,9],[14297,8],[14472,9],[22499,9],[23394,9],[23817,9]]},"751":{"position":[[307,8],[369,8],[418,8],[1078,8],[1536,9],[1843,9]]},"752":{"position":[[1203,9]]},"754":{"position":[[49,9]]},"756":{"position":[[156,9]]},"764":{"position":[[42,8],[108,9],[246,9],[313,8]]},"767":{"position":[[52,9],[176,8]]},"768":{"position":[[26,8],[139,8]]},"769":{"position":[[29,8],[150,8]]},"770":{"position":[[195,9],[256,10],[590,10]]},"781":{"position":[[810,10]]},"793":{"position":[[5,13],[1087,9]]},"795":{"position":[[43,10],[106,8]]},"796":{"position":[[1300,9]]},"798":{"position":[[670,9]]},"800":{"position":[[89,9],[125,8],[367,9],[416,8],[486,9],[560,9],[718,8]]},"810":{"position":[[157,8]]},"816":{"position":[[107,8]]},"820":{"position":[[709,10]]},"821":{"position":[[673,10]]},"824":{"position":[[69,13],[345,14]]},"826":{"position":[[149,8],[407,8],[567,8],[673,8],[998,8]]},"829":{"position":[[3831,9],[3865,9]]},"831":{"position":[[562,14]]},"836":{"position":[[1423,8]]},"837":{"position":[[370,9],[488,9],[766,9],[2082,10]]},"838":{"position":[[235,9],[2793,9]]},"841":{"position":[[449,8]]},"844":{"position":[[191,8]]},"846":{"position":[[663,9],[777,9],[1196,9]]},"854":{"position":[[1233,9]]},"855":{"position":[[41,10],[115,8],[211,9]]},"856":{"position":[[69,8]]},"857":{"position":[[55,9],[193,10]]},"861":{"position":[[1210,9],[1290,10],[1345,8],[1606,10],[1666,9],[1790,8],[1943,9],[2101,8]]},"863":{"position":[[406,9],[568,9],[653,8]]},"866":{"position":[[655,9],[703,8]]},"867":{"position":[[41,10],[115,8],[206,9]]},"868":{"position":[[79,13]]},"872":{"position":[[1150,8],[1311,9]]},"875":{"position":[[1412,9],[1604,8],[1795,8],[1952,9],[2188,9],[2360,9],[2839,10],[3040,10],[3473,10],[3741,9],[4023,8],[4560,10],[5199,8],[5812,8],[8306,10],[9272,9]]},"881":{"position":[[87,9]]},"885":{"position":[[191,8],[341,9],[375,8],[409,8],[788,10],[1112,8],[1956,9],[1987,8],[2326,9],[2434,8],[2595,10]]},"886":{"position":[[689,9],[1266,9],[1470,9],[1571,10],[2170,8],[2878,8],[3007,9],[3094,9],[3599,9]]},"888":{"position":[[236,8],[331,10],[955,9],[1058,10]]},"889":{"position":[[683,9]]},"897":{"position":[[126,9]]},"903":{"position":[[536,8]]},"904":{"position":[[1143,8]]},"908":{"position":[[313,8]]},"921":{"position":[[69,9]]},"934":{"position":[[417,9]]},"936":{"position":[[28,9]]},"942":{"position":[[24,9]]},"943":{"position":[[57,8],[96,8],[356,9]]},"944":{"position":[[30,9],[462,9],[550,8]]},"945":{"position":[[30,9],[284,8]]},"946":{"position":[[13,8]]},"947":{"position":[[41,10]]},"948":{"position":[[174,9],[552,8]]},"949":{"position":[[9,9]]},"950":{"position":[[68,9],[124,8],[155,9],[230,8],[356,8]]},"951":{"position":[[11,9],[197,8],[223,9],[233,9]]},"952":{"position":[[54,8]]},"953":{"position":[[225,9]]},"954":{"position":[[86,10]]},"962":{"position":[[180,10]]},"971":{"position":[[184,9]]},"977":{"position":[[11,9]]},"983":{"position":[[6,8],[67,9],[257,9],[556,8],[630,8]]},"984":{"position":[[200,9],[317,9],[398,9],[611,10]]},"986":{"position":[[56,9],[155,9],[335,9],[454,8],[585,10],[697,9],[906,9],[1076,10],[1099,8],[1373,10],[1483,10]]},"987":{"position":[[55,8],[303,8],[606,8]]},"988":{"position":[[1712,8],[1741,8],[1882,9],[2066,9],[2459,9],[2938,9],[3027,9],[3201,8],[3893,9],[4034,9],[4125,10],[4199,10],[4509,9],[4745,8],[5402,10]]},"990":{"position":[[16,8],[144,8],[438,8],[581,9]]},"993":{"position":[[99,8],[226,8]]},"995":{"position":[[1255,8]]},"999":{"position":[[230,9]]},"1002":{"position":[[85,9],[460,9],[1113,9]]},"1003":{"position":[[48,8]]},"1004":{"position":[[268,9],[537,9],[674,8],[736,8]]},"1007":{"position":[[72,8]]},"1012":{"position":[[21,10],[58,9],[174,11]]},"1013":{"position":[[35,8],[201,9],[247,9],[433,9],[585,9],[652,9]]},"1014":{"position":[[17,8],[76,8],[294,9]]},"1015":{"position":[[17,8]]},"1017":{"position":[[58,8]]},"1018":{"position":[[361,8],[408,9],[699,8]]},"1020":{"position":[[515,9]]},"1022":{"position":[[40,9],[100,9],[163,9]]},"1024":{"position":[[38,8],[117,9],[161,8]]},"1026":{"position":[[155,9]]},"1028":{"position":[[156,9]]},"1035":{"position":[[13,8]]},"1036":{"position":[[9,9],[167,9]]},"1038":{"position":[[37,9]]},"1039":{"position":[[124,8]]},"1041":{"position":[[13,8]]},"1042":{"position":[[11,9]]},"1043":{"position":[[42,9]]},"1044":{"position":[[182,9]]},"1047":{"position":[[18,8],[84,8],[197,9]]},"1048":{"position":[[32,9],[260,8],[349,8]]},"1052":{"position":[[259,8],[418,9]]},"1055":{"position":[[129,10]]},"1056":{"position":[[272,8]]},"1057":{"position":[[270,8],[527,8]]},"1059":{"position":[[349,8]]},"1061":{"position":[[250,8]]},"1062":{"position":[[19,10],[78,10],[97,9],[220,9]]},"1063":{"position":[[27,8]]},"1065":{"position":[[1026,8],[1773,10],[2012,9]]},"1066":{"position":[[476,9]]},"1067":{"position":[[34,9],[88,8],[587,12],[713,8],[854,8],[1091,8],[1855,8]]},"1068":{"position":[[230,8],[258,8],[392,8]]},"1069":{"position":[[671,9],[832,9]]},"1072":{"position":[[21,8],[102,8],[217,9],[445,10],[1094,9],[2254,9],[2339,8]]},"1077":{"position":[[156,8]]},"1078":{"position":[[92,8],[744,8]]},"1082":{"position":[[82,8]]},"1085":{"position":[[82,9],[949,8],[1929,9],[2440,8],[2961,8],[3077,9]]},"1101":{"position":[[389,9]]},"1102":{"position":[[1260,9],[1318,9],[1367,9]]},"1105":{"position":[[76,9],[551,9],[960,8]]},"1106":{"position":[[78,8],[193,8],[226,8],[289,8]]},"1107":{"position":[[113,9],[244,9]]},"1108":{"position":[[703,8]]},"1124":{"position":[[1191,9]]},"1132":{"position":[[879,10],[920,9],[1281,8],[1474,9]]},"1134":{"position":[[605,9]]},"1158":{"position":[[552,9],[644,10]]},"1162":{"position":[[464,8]]},"1164":{"position":[[208,8]]},"1181":{"position":[[551,8]]},"1184":{"position":[[134,8]]},"1186":{"position":[[189,9]]},"1192":{"position":[[518,10],[785,11]]},"1194":{"position":[[305,8],[335,9],[364,9],[415,9],[472,9],[520,9],[550,10],[587,9],[629,9],[693,9],[746,9],[787,9],[839,9],[934,10],[971,9]]},"1198":{"position":[[516,9],[571,8],[1072,9],[1290,9]]},"1228":{"position":[[78,14]]},"1246":{"position":[[1081,9],[1770,10]]},"1249":{"position":[[381,8]]},"1253":{"position":[[51,8],[143,9]]},"1257":{"position":[[16,8]]},"1258":{"position":[[89,8]]},"1271":{"position":[[430,9]]},"1294":{"position":[[288,9],[1228,8],[2087,9]]},"1295":{"position":[[137,9],[176,9],[570,9],[1235,9]]},"1296":{"position":[[271,9],[629,8],[748,8]]},"1304":{"position":[[1580,8]]},"1305":{"position":[[479,8],[776,8],[813,8]]},"1307":{"position":[[81,8],[235,9],[356,8],[905,8]]},"1308":{"position":[[72,9],[100,9],[316,8],[471,8],[537,8],[579,8]]},"1309":{"position":[[79,8],[634,8],[684,9]]},"1311":{"position":[[1257,9],[1444,8]]},"1313":{"position":[[654,8]]},"1314":{"position":[[546,9]]},"1315":{"position":[[1418,9]]},"1316":{"position":[[3169,9],[3195,8],[3218,8]]},"1317":{"position":[[116,8],[166,8],[263,8]]},"1318":{"position":[[67,9],[209,9]]},"1319":{"position":[[189,9],[276,8]]},"1320":{"position":[[562,9],[592,10],[619,8],[832,8],[887,9]]},"1321":{"position":[[682,10],[809,9],[890,10],[942,9]]},"1322":{"position":[[200,8],[248,8],[371,8]]},"1323":{"position":[[97,9],[207,8]]},"1324":{"position":[[573,8]]}},"keywords":{}}],["document'",{"_index":2378,"title":{},"content":{"397":{"position":[[1472,10]]},"571":{"position":[[1290,10]]},"1051":{"position":[[13,10]]}},"keywords":{}}],["document(",{"_index":5124,"title":{},"content":{"886":{"position":[[1383,12]]}},"keywords":{}}],["document).ready(async",{"_index":1943,"title":{},"content":{"335":{"position":[[147,23]]}},"keywords":{}}],["document.addeventlistener('devicereadi",{"_index":165,"title":{},"content":{"11":{"position":[[609,40]]}},"keywords":{}}],["document.find",{"_index":6166,"title":{},"content":{"1194":{"position":[[679,13]]}},"keywords":{}}],["document.getelementbyid('#mylist').innerhtml",{"_index":3468,"title":{},"content":{"571":{"position":[[1189,44]]}},"keywords":{}}],["document.if",{"_index":5438,"title":{},"content":{"982":{"position":[[482,11]]}},"keywords":{}}],["document.pushhandl",{"_index":5441,"title":{},"content":{"983":{"position":[[377,20]]}},"keywords":{}}],["document.rxdb",{"_index":3891,"title":{},"content":{"686":{"position":[[390,13]]}},"keywords":{}}],["document.th",{"_index":5804,"title":{},"content":{"1074":{"position":[[252,12]]},"1305":{"position":[[671,12]]}},"keywords":{}}],["documentationjoin",{"_index":4977,"title":{},"content":{"873":{"position":[[151,17]]}},"keywords":{}}],["documentdata",{"_index":5756,"title":{},"content":{"1063":{"position":[[67,12]]}},"keywords":{}}],["documentid",{"_index":3740,"title":{},"content":{"649":{"position":[[371,11]]}},"keywords":{}}],["documents+checkpoint",{"_index":5479,"title":{},"content":{"988":{"position":[[5311,21]]}},"keywords":{}}],["documents.count",{"_index":6169,"title":{},"content":{"1194":{"position":[[918,15]]}},"keywords":{}}],["documents.cross",{"_index":3535,"title":{},"content":{"595":{"position":[[925,15]]}},"keywords":{}}],["documents.length",{"_index":5000,"title":{},"content":{"875":{"position":[[2638,16]]}},"keywords":{}}],["documents.sort((a",{"_index":5098,"title":{},"content":{"885":{"position":[[1705,18]]}},"keywords":{}}],["documents.th",{"_index":6111,"title":{},"content":{"1162":{"position":[[710,13]]},"1181":{"position":[[798,13]]}},"keywords":{}}],["documents/field",{"_index":2756,"title":{},"content":{"412":{"position":[[12907,17]]}},"keywords":{}}],["documentsasynchron",{"_index":4517,"title":{},"content":{"765":{"position":[[156,21]]}},"keywords":{}}],["documentscr",{"_index":4845,"title":{},"content":{"849":{"position":[[511,15]]}},"keywords":{}}],["documentsfromremot",{"_index":5467,"title":{},"content":{"988":{"position":[[3813,19],[4136,20]]}},"keywords":{}}],["documentsfromremote.length",{"_index":5468,"title":{},"content":{"988":{"position":[[3934,26],[4318,26]]}},"keywords":{}}],["documentsno",{"_index":6403,"title":{},"content":{"1292":{"position":[[321,11],[675,11]]}},"keywords":{}}],["documents—particularli",{"_index":2101,"title":{},"content":{"362":{"position":[[792,22]]}},"keywords":{}}],["documentth",{"_index":5805,"title":{},"content":{"1074":{"position":[[299,11]]}},"keywords":{}}],["doe",{"_index":5800,"title":{},"content":{"1072":{"position":[[2364,5],[2391,4],[2524,4],[2697,6]]}},"keywords":{}}],["doesdocumentdatamatch",{"_index":5755,"title":{"1063":{"position":[[0,24]]}},"content":{},"keywords":{}}],["doesdocumentdatamatch(documentdata",{"_index":5758,"title":{},"content":{"1063":{"position":[[160,39],[264,39]]}},"keywords":{}}],["doesn't",{"_index":559,"title":{},"content":{"35":{"position":[[366,7]]},"42":{"position":[[101,7]]},"65":{"position":[[314,7]]},"249":{"position":[[24,7]]},"287":{"position":[[6,7],[1036,7]]},"390":{"position":[[1283,7],[1797,7]]},"410":{"position":[[1323,7]]},"411":{"position":[[4502,7]]},"412":{"position":[[8732,7]]},"521":{"position":[[101,7]]},"534":{"position":[[380,7]]},"535":{"position":[[724,7]]},"594":{"position":[[378,7]]},"595":{"position":[[745,7]]},"632":{"position":[[938,7]]},"1072":{"position":[[613,7],[1024,7],[1614,7]]},"1287":{"position":[[209,7]]}},"keywords":{}}],["doesn’t",{"_index":3409,"title":{},"content":{"559":{"position":[[1400,7]]}},"keywords":{}}],["dollar",{"_index":848,"title":{},"content":{"55":{"position":[[1017,6]]},"542":{"position":[[726,6]]},"749":{"position":[[6537,6]]},"826":{"position":[[53,6],[241,6]]},"1117":{"position":[[273,6]]},"1118":{"position":[[17,6]]}},"keywords":{}}],["dom",{"_index":1914,"title":{"335":{"position":[[13,3]]}},"content":{"320":{"position":[[34,3]]},"323":{"position":[[137,3]]},"326":{"position":[[190,3]]},"335":{"position":[[98,4],[389,3]]},"346":{"position":[[517,3]]},"460":{"position":[[1018,4]]},"571":{"position":[[805,3]]},"676":{"position":[[97,4]]},"829":{"position":[[79,3]]}},"keywords":{}}],["dom.indexeddb.warningquota",{"_index":1759,"title":{},"content":{"299":{"position":[[1252,27]]}},"keywords":{}}],["domain",{"_index":2612,"title":{"617":{"position":[[15,6]]}},"content":{"411":{"position":[[1616,6]]},"432":{"position":[[338,7]]},"450":{"position":[[243,6]]},"461":{"position":[[868,6]]},"617":{"position":[[48,6],[1261,6]]},"688":{"position":[[566,6]]},"849":{"position":[[255,6]]},"890":{"position":[[567,6]]},"1157":{"position":[[171,7]]}},"keywords":{}}],["domainfirefox",{"_index":3017,"title":{},"content":{"461":{"position":[[818,14]]}},"keywords":{}}],["domainsafari",{"_index":3018,"title":{},"content":{"461":{"position":[[843,13]]}},"keywords":{}}],["don't",{"_index":1108,"title":{},"content":{"131":{"position":[[866,5]]},"282":{"position":[[213,5]]},"346":{"position":[[412,5]]},"411":{"position":[[2195,5]]},"412":{"position":[[10062,5]]},"496":{"position":[[414,5]]},"497":{"position":[[159,5]]},"571":{"position":[[1666,5]]},"668":{"position":[[312,5]]},"689":{"position":[[349,5]]},"752":{"position":[[1319,5]]},"806":{"position":[[207,5]]},"1084":{"position":[[426,5]]}},"keywords":{}}],["done",{"_index":1444,"title":{},"content":{"243":{"position":[[66,5],[145,5],[271,5],[320,5],[361,5]]},"255":{"position":[[896,5]]},"276":{"position":[[441,5]]},"367":{"position":[[955,5],[1061,7]]},"411":{"position":[[3169,4]]},"412":{"position":[[12147,4]]},"450":{"position":[[670,4]]},"454":{"position":[[960,4]]},"466":{"position":[[539,4]]},"469":{"position":[[479,4]]},"480":{"position":[[646,5],[743,5]]},"570":{"position":[[900,4]]},"632":{"position":[[1646,5]]},"634":{"position":[[313,5]]},"653":{"position":[[859,5]]},"660":{"position":[[434,4]]},"663":{"position":[[16,4]]},"696":{"position":[[509,4]]},"698":{"position":[[1637,4]]},"724":{"position":[[836,4]]},"749":{"position":[[17695,4]]},"752":{"position":[[1153,6]]},"756":{"position":[[197,5]]},"776":{"position":[[50,4]]},"780":{"position":[[602,4]]},"796":{"position":[[1246,7],[1315,6],[1384,6]]},"829":{"position":[[1020,4]]},"842":{"position":[[147,4]]},"861":{"position":[[785,5]]},"872":{"position":[[266,4]]},"904":{"position":[[985,5],[1106,7],[1214,5]]},"929":{"position":[[62,5]]},"938":{"position":[[131,5]]},"964":{"position":[[597,5]]},"965":{"position":[[110,4]]},"966":{"position":[[129,4]]},"994":{"position":[[78,4],[265,5]]},"995":{"position":[[804,4]]},"1002":{"position":[[758,4]]},"1041":{"position":[[99,4]]},"1052":{"position":[[154,4]]},"1083":{"position":[[336,5]]},"1094":{"position":[[505,4]]},"1106":{"position":[[112,4]]},"1158":{"position":[[470,5],[525,7],[710,5]]},"1175":{"position":[[596,4]]},"1192":{"position":[[214,4]]},"1208":{"position":[[1865,5]]},"1246":{"position":[[1060,4]]},"1272":{"position":[[175,4]]},"1294":{"position":[[989,4],[1111,5],[1709,4]]},"1295":{"position":[[276,4],[823,4],[1446,5]]},"1296":{"position":[[1815,4]]}},"keywords":{}}],["done.insert",{"_index":6162,"title":{},"content":{"1194":{"position":[[323,11]]}},"keywords":{}}],["done.when",{"_index":6155,"title":{},"content":{"1181":{"position":[[94,9]]}},"keywords":{}}],["don’t",{"_index":2071,"title":{},"content":{"358":{"position":[[1007,5]]},"898":{"position":[[1805,5]]}},"keywords":{}}],["door",{"_index":2636,"title":{},"content":{"411":{"position":[[4984,4]]}},"keywords":{}}],["dot",{"_index":3497,"title":{},"content":{"580":{"position":[[583,3]]}},"keywords":{}}],["doubl",{"_index":847,"title":{},"content":{"55":{"position":[[1010,6]]},"542":{"position":[[719,6]]},"749":{"position":[[11814,6]]},"826":{"position":[[234,6]]},"1118":{"position":[[10,6]]}},"keywords":{}}],["doubt",{"_index":6042,"title":{},"content":{"1134":{"position":[[388,6],[496,6]]}},"keywords":{}}],["down",{"_index":136,"title":{"10":{"position":[[13,5]]}},"content":{"10":{"position":[[95,4],[260,7]]},"20":{"position":[[136,4]]},"28":{"position":[[513,4]]},"311":{"position":[[49,4]]},"354":{"position":[[899,4]]},"402":{"position":[[2147,4],[2255,4]]},"407":{"position":[[600,5]]},"412":{"position":[[6717,4],[10013,4],[12340,4]]},"414":{"position":[[357,5]]},"427":{"position":[[832,4]]},"481":{"position":[[95,5]]},"577":{"position":[[13,4]]},"582":{"position":[[387,4]]},"632":{"position":[[50,4]]},"653":{"position":[[708,4]]},"656":{"position":[[366,5]]},"801":{"position":[[234,4]]},"802":{"position":[[239,4]]},"861":{"position":[[888,4]]},"1013":{"position":[[789,4]]},"1164":{"position":[[1440,4]]},"1198":{"position":[[538,4]]},"1238":{"position":[[338,4]]},"1292":{"position":[[849,4]]},"1300":{"position":[[279,4]]}},"keywords":{}}],["downgrad",{"_index":6571,"title":{"1320":{"position":[[18,10]]}},"content":{},"keywords":{}}],["download",{"_index":2714,"title":{"1024":{"position":[[9,8]]}},"content":{"412":{"position":[[6802,8],[7154,8]]},"420":{"position":[[19,8],[127,9],[198,10],[255,10],[359,10]]},"454":{"position":[[710,10]]},"462":{"position":[[609,10]]},"463":{"position":[[125,11],[404,8],[455,8]]},"468":{"position":[[481,8]]},"696":{"position":[[204,8],[268,8],[597,11]]},"1007":{"position":[[966,9]]},"1008":{"position":[[298,8]]},"1024":{"position":[[143,10],[247,9]]},"1316":{"position":[[3047,9],[3147,9],[3230,10]]}},"keywords":{}}],["downsid",{"_index":577,"title":{"495":{"position":[[0,9]]},"689":{"position":[[0,9]]},"695":{"position":[[0,9]]}},"content":{"36":{"position":[[463,8]]},"402":{"position":[[504,8]]},"412":{"position":[[1289,8]]},"417":{"position":[[359,9]]},"468":{"position":[[59,10]]},"559":{"position":[[958,9]]},"661":{"position":[[1336,8]]},"711":{"position":[[1813,8]]},"772":{"position":[[1368,8]]},"774":{"position":[[933,10]]},"800":{"position":[[455,8]]},"836":{"position":[[1128,9]]},"839":{"position":[[362,10],[587,8]]},"1072":{"position":[[2791,9]]},"1295":{"position":[[1213,9]]},"1300":{"position":[[5,8]]}},"keywords":{}}],["downtim",{"_index":2789,"title":{},"content":{"416":{"position":[[489,8]]}},"keywords":{}}],["dozen",{"_index":2614,"title":{},"content":{"411":{"position":[[1692,6]]}},"keywords":{}}],["draft",{"_index":3619,"title":{},"content":{"613":{"position":[[581,5],[686,5]]}},"keywords":{}}],["dramat",{"_index":2531,"title":{},"content":{"408":{"position":[[813,12],[4354,8]]},"452":{"position":[[570,12]]},"469":{"position":[[454,12]]}},"keywords":{}}],["drastic",{"_index":1967,"title":{},"content":{"342":{"position":[[104,11]]},"361":{"position":[[1099,11]]},"411":{"position":[[302,11]]},"585":{"position":[[145,11]]},"630":{"position":[[304,11]]},"901":{"position":[[416,11]]}},"keywords":{}}],["drawback",{"_index":390,"title":{},"content":{"23":{"position":[[353,8]]},"47":{"position":[[69,10]]},"412":{"position":[[96,9]]},"427":{"position":[[152,8]]},"535":{"position":[[71,9]]},"595":{"position":[[71,9]]},"837":{"position":[[254,9]]},"875":{"position":[[9430,9]]}},"keywords":{}}],["drift",{"_index":6552,"title":{},"content":{"1316":{"position":[[1955,6]]}},"keywords":{}}],["drive",{"_index":1745,"title":{},"content":{"299":{"position":[[327,6]]},"696":{"position":[[1750,5]]}},"keywords":{}}],["driven",{"_index":1167,"title":{},"content":{"153":{"position":[[224,6]]},"174":{"position":[[677,6]]},"198":{"position":[[401,6]]},"321":{"position":[[14,6]]},"326":{"position":[[44,6]]},"331":{"position":[[348,7]]},"408":{"position":[[29,6]]},"476":{"position":[[35,6]]},"503":{"position":[[46,6]]},"510":{"position":[[412,6]]},"567":{"position":[[516,6]]},"828":{"position":[[113,6]]}},"keywords":{}}],["driver",{"_index":4939,"title":{},"content":{"871":{"position":[[822,6]]},"872":{"position":[[115,7]]}},"keywords":{}}],["drizzl",{"_index":6374,"title":{},"content":{"1282":{"position":[[988,7]]}},"keywords":{}}],["drop",{"_index":2598,"title":{},"content":{"410":{"position":[[1289,5]]},"412":{"position":[[3427,4],[5201,4]]},"698":{"position":[[877,8]]},"881":{"position":[[140,4]]},"987":{"position":[[785,4]]},"1301":{"position":[[959,7]]},"1309":{"position":[[998,4]]}},"keywords":{}}],["due",{"_index":699,"title":{},"content":{"45":{"position":[[300,3]]},"67":{"position":[[125,3]]},"71":{"position":[[55,3]]},"161":{"position":[[193,3]]},"320":{"position":[[111,3]]},"400":{"position":[[223,3]]},"408":{"position":[[259,3]]},"429":{"position":[[231,3]]},"434":{"position":[[112,3]]},"446":{"position":[[1191,3]]},"520":{"position":[[76,3]]},"521":{"position":[[54,3]]},"621":{"position":[[39,3]]},"622":{"position":[[40,3],[449,3]]},"623":{"position":[[480,3]]},"624":{"position":[[1401,3],[1620,3]]}},"keywords":{}}],["dump",{"_index":5367,"title":{},"content":{"952":{"position":[[158,4],[262,6]]},"953":{"position":[[20,4],[81,4]]},"971":{"position":[[270,4],[374,6]]},"972":{"position":[[20,5],[80,4]]}},"keywords":{}}],["duplex",{"_index":3565,"title":{},"content":{"611":{"position":[[27,6]]},"621":{"position":[[55,6]]}},"keywords":{}}],["duplic",{"_index":2239,"title":{"740":{"position":[[7,9]]}},"content":{"392":{"position":[[2141,9]]},"740":{"position":[[246,9],[338,9],[623,9]]},"749":{"position":[[5727,9]]},"800":{"position":[[389,9]]},"990":{"position":[[337,9],[428,9],[629,10]]},"1072":{"position":[[199,10]]},"1114":{"position":[[379,10]]},"1321":{"position":[[875,10]]}},"keywords":{}}],["durabl",{"_index":1609,"title":{"1297":{"position":[[8,11]]}},"content":{"266":{"position":[[317,11]]},"412":{"position":[[7755,7]]},"1297":{"position":[[38,10],[144,10],[418,10]]},"1304":{"position":[[131,11]]}},"keywords":{}}],["durat",{"_index":2919,"title":{},"content":{"436":{"position":[[160,8]]}},"keywords":{}}],["dure",{"_index":1220,"title":{},"content":{"174":{"position":[[1687,6]]},"188":{"position":[[1857,6]]},"217":{"position":[[172,6]]},"316":{"position":[[548,6]]},"353":{"position":[[802,6]]},"392":{"position":[[1942,6]]},"395":{"position":[[130,6]]},"408":{"position":[[3320,6]]},"411":{"position":[[108,6]]},"412":{"position":[[2191,6]]},"556":{"position":[[1350,6],[1467,6]]},"634":{"position":[[462,6]]},"674":{"position":[[139,6]]},"690":{"position":[[438,6]]},"749":{"position":[[21237,6]]},"754":{"position":[[499,6]]},"761":{"position":[[194,6]]},"801":{"position":[[270,6]]},"821":{"position":[[88,6],[181,6]]},"829":{"position":[[2052,6]]},"844":{"position":[[126,6]]},"847":{"position":[[23,6]]},"987":{"position":[[146,6]]},"988":{"position":[[2755,6]]},"990":{"position":[[751,6],[959,6]]},"1093":{"position":[[535,6]]},"1186":{"position":[[1,6]]}},"keywords":{}}],["dvm1",{"_index":4409,"title":{},"content":{"749":{"position":[[21724,4]]}},"keywords":{}}],["dxe1",{"_index":4422,"title":{},"content":{"749":{"position":[[23004,4]]}},"keywords":{}}],["dynam",{"_index":348,"title":{},"content":{"20":{"position":[[47,7]]},"34":{"position":[[733,7]]},"47":{"position":[[461,7]]},"90":{"position":[[160,7]]},"116":{"position":[[260,7]]},"124":{"position":[[106,7]]},"226":{"position":[[427,7]]},"275":{"position":[[130,11]]},"289":{"position":[[1460,7]]},"298":{"position":[[295,7],[866,7]]},"351":{"position":[[168,7]]},"362":{"position":[[984,8]]},"491":{"position":[[1838,7]]},"502":{"position":[[186,7],[692,7]]},"509":{"position":[[111,7]]},"514":{"position":[[384,7]]},"530":{"position":[[667,7]]},"562":{"position":[[1007,7]]},"753":{"position":[[153,11]]},"841":{"position":[[1472,7]]},"846":{"position":[[526,11]]},"904":{"position":[[3574,11]]},"1007":{"position":[[2001,11]]},"1009":{"position":[[756,11]]},"1112":{"position":[[418,12],[566,7]]},"1132":{"position":[[995,7]]},"1229":{"position":[[188,11]]},"1268":{"position":[[266,11]]}},"keywords":{}}],["dynamodb",{"_index":2938,"title":{},"content":{"444":{"position":[[630,9]]},"1324":{"position":[[939,9]]}},"keywords":{}}],["e",{"_index":2259,"title":{},"content":{"392":{"position":[[3564,3]]},"496":{"position":[[511,1]]},"1294":{"position":[[1584,1]]}},"keywords":{}}],["e.data.id",{"_index":2261,"title":{},"content":{"392":{"position":[[3650,10]]}},"keywords":{}}],["e.g",{"_index":876,"title":{},"content":{"59":{"position":[[223,6]]},"112":{"position":[[136,6]]},"252":{"position":[[60,6]]},"255":{"position":[[1683,6]]},"305":{"position":[[158,6]]},"353":{"position":[[671,6]]},"354":{"position":[[282,6]]},"383":{"position":[[363,6]]},"411":{"position":[[101,6],[5597,5]]},"412":{"position":[[2237,6],[3585,6],[6422,6]]},"415":{"position":[[94,6]]},"496":{"position":[[488,6]]},"571":{"position":[[547,6]]},"871":{"position":[[609,6]]},"872":{"position":[[4399,4]]},"886":{"position":[[4744,5]]},"1007":{"position":[[543,6],[612,6]]},"1085":{"position":[[1967,6]]},"1133":{"position":[[381,5]]}},"keywords":{}}],["e.target.result",{"_index":6443,"title":{},"content":{"1294":{"position":[[1628,16]]}},"keywords":{}}],["e5",{"_index":2475,"title":{},"content":{"401":{"position":[[567,2]]}},"keywords":{}}],["each",{"_index":716,"title":{},"content":{"46":{"position":[[528,4]]},"158":{"position":[[296,4]]},"162":{"position":[[659,4]]},"204":{"position":[[46,4]]},"220":{"position":[[134,4]]},"261":{"position":[[451,4],[1111,4]]},"289":{"position":[[1739,4]]},"335":{"position":[[372,4]]},"350":{"position":[[35,4]]},"360":{"position":[[33,4]]},"369":{"position":[[1436,4]]},"390":{"position":[[849,4]]},"391":{"position":[[1046,4]]},"392":{"position":[[1406,4],[3409,4]]},"393":{"position":[[102,4],[343,4],[741,4]]},"396":{"position":[[1077,4]]},"397":{"position":[[397,4]]},"398":{"position":[[516,4]]},"407":{"position":[[125,4]]},"408":{"position":[[2600,4],[3163,4]]},"411":{"position":[[430,4],[1224,4],[1391,4],[3374,4],[4101,4],[4727,4],[5027,4]]},"412":{"position":[[11361,4],[12427,4]]},"420":{"position":[[137,4]]},"427":{"position":[[1530,4]]},"444":{"position":[[385,4]]},"458":{"position":[[301,4]]},"462":{"position":[[41,4]]},"464":{"position":[[128,4],[1304,4]]},"493":{"position":[[487,4]]},"502":{"position":[[1025,4]]},"518":{"position":[[492,4]]},"524":{"position":[[38,4]]},"534":{"position":[[543,4]]},"571":{"position":[[1063,4]]},"594":{"position":[[541,4]]},"612":{"position":[[572,4],[1518,4]]},"617":{"position":[[308,4]]},"621":{"position":[[446,4]]},"624":{"position":[[63,4]]},"626":{"position":[[233,4],[480,4]]},"630":{"position":[[32,4]]},"640":{"position":[[76,4]]},"679":{"position":[[286,4]]},"681":{"position":[[483,4]]},"683":{"position":[[488,4]]},"693":{"position":[[478,4]]},"696":{"position":[[1473,4]]},"698":{"position":[[1083,4],[1239,4],[1479,4],[1746,4],[2753,4]]},"699":{"position":[[62,4]]},"700":{"position":[[128,4],[1120,4]]},"701":{"position":[[120,4],[355,4],[1061,4]]},"707":{"position":[[277,4]]},"709":{"position":[[511,4]]},"746":{"position":[[111,4]]},"775":{"position":[[443,4],[584,4]]},"778":{"position":[[157,4]]},"782":{"position":[[25,4]]},"784":{"position":[[61,4]]},"800":{"position":[[704,4]]},"802":{"position":[[118,4],[341,4],[749,4]]},"805":{"position":[[49,4],[112,4]]},"806":{"position":[[324,4]]},"836":{"position":[[1562,4]]},"848":{"position":[[78,4]]},"849":{"position":[[499,4]]},"854":{"position":[[926,4]]},"866":{"position":[[330,4],[547,4]]},"875":{"position":[[3797,4],[3980,4],[5946,4]]},"893":{"position":[[44,4]]},"898":{"position":[[1324,4]]},"903":{"position":[[367,4],[441,4]]},"904":{"position":[[1992,4]]},"906":{"position":[[144,4]]},"908":{"position":[[297,4]]},"921":{"position":[[88,4]]},"937":{"position":[[104,4]]},"953":{"position":[[211,4]]},"958":{"position":[[236,4],[444,4]]},"961":{"position":[[209,4]]},"983":{"position":[[551,4]]},"985":{"position":[[591,4]]},"989":{"position":[[189,4]]},"993":{"position":[[94,4],[221,4]]},"995":{"position":[[1470,4]]},"996":{"position":[[515,4]]},"1007":{"position":[[67,4],[308,4],[721,4]]},"1008":{"position":[[75,4]]},"1009":{"position":[[128,4],[208,4]]},"1024":{"position":[[33,4]]},"1033":{"position":[[206,4],[343,4]]},"1039":{"position":[[110,4]]},"1085":{"position":[[3761,4]]},"1088":{"position":[[468,4]]},"1093":{"position":[[447,4]]},"1100":{"position":[[427,4]]},"1105":{"position":[[325,4]]},"1123":{"position":[[222,4]]},"1174":{"position":[[284,4]]},"1175":{"position":[[127,4],[721,4]]},"1192":{"position":[[67,4]]},"1194":{"position":[[571,4],[893,4]]},"1209":{"position":[[264,4]]},"1267":{"position":[[1,4],[123,4]]},"1295":{"position":[[222,4]]},"1296":{"position":[[624,4]]},"1301":{"position":[[269,4]]},"1304":{"position":[[764,4],[1737,4]]},"1305":{"position":[[474,4],[652,4]]},"1313":{"position":[[202,4]]},"1315":{"position":[[228,4],[252,4]]},"1316":{"position":[[2354,4],[2766,4],[3035,4],[3183,4]]},"1318":{"position":[[23,4]]},"1321":{"position":[[460,4],[990,4]]},"1322":{"position":[[243,4],[438,4]]}},"keywords":{}}],["eachus",{"_index":4846,"title":{},"content":{"849":{"position":[[616,7]]}},"keywords":{}}],["earli",{"_index":1755,"title":{},"content":{"299":{"position":[[929,5]]},"361":{"position":[[179,5]]},"408":{"position":[[299,5],[4571,5]]},"411":{"position":[[3279,5]]},"419":{"position":[[8,5]]},"421":{"position":[[1,5]]},"838":{"position":[[1036,5]]}},"keywords":{}}],["earlier",{"_index":1186,"title":{},"content":{"164":{"position":[[14,8]]}},"keywords":{}}],["eas",{"_index":1015,"title":{},"content":{"94":{"position":[[313,4]]},"179":{"position":[[454,5]]},"320":{"position":[[122,4]]},"357":{"position":[[456,4]]},"388":{"position":[[529,4]]},"447":{"position":[[538,4]]},"838":{"position":[[962,4]]}},"keywords":{}}],["easi",{"_index":421,"title":{"293":{"position":[[0,4]]},"313":{"position":[[3,4]]}},"content":{"25":{"position":[[316,5]]},"34":{"position":[[99,4]]},"63":{"position":[[155,4]]},"167":{"position":[[310,4]]},"287":{"position":[[398,4]]},"336":{"position":[[149,4]]},"353":{"position":[[372,4]]},"364":{"position":[[765,4]]},"381":{"position":[[180,4]]},"393":{"position":[[376,4]]},"412":{"position":[[12638,5],[13533,4],[14018,4],[14516,4],[14875,5]]},"445":{"position":[[1650,4]]},"559":{"position":[[851,4]]},"571":{"position":[[633,4]]},"611":{"position":[[950,4]]},"662":{"position":[[288,4]]},"686":{"position":[[563,4]]},"701":{"position":[[311,4],[530,5]]},"705":{"position":[[650,5]]},"709":{"position":[[168,4]]},"739":{"position":[[12,5]]},"780":{"position":[[339,5]]},"781":{"position":[[835,4]]},"828":{"position":[[511,4]]},"838":{"position":[[317,4],[737,4]]},"839":{"position":[[272,4]]},"981":{"position":[[129,4],[216,4]]},"1071":{"position":[[248,4]]},"1123":{"position":[[716,4]]},"1214":{"position":[[464,4]]},"1252":{"position":[[42,4]]},"1259":{"position":[[20,4]]},"1270":{"position":[[496,4]]},"1304":{"position":[[1926,4]]},"1316":{"position":[[2435,4]]},"1318":{"position":[[91,4]]},"1322":{"position":[[192,4]]}},"keywords":{}}],["easier",{"_index":552,"title":{"89":{"position":[[0,6]]},"90":{"position":[[35,6]]},"94":{"position":[[0,6]]},"222":{"position":[[0,6]]},"279":{"position":[[0,6]]},"282":{"position":[[0,6]]},"487":{"position":[[19,6]]},"1257":{"position":[[0,6]]}},"content":{"35":{"position":[[209,6]]},"46":{"position":[[399,6]]},"89":{"position":[[177,6]]},"105":{"position":[[140,6]]},"173":{"position":[[349,7],[878,6]]},"281":{"position":[[315,6]]},"282":{"position":[[352,6]]},"352":{"position":[[88,6]]},"353":{"position":[[185,6]]},"411":{"position":[[1768,6]]},"412":{"position":[[8882,6]]},"619":{"position":[[293,6]]},"688":{"position":[[507,6],[728,6]]},"691":{"position":[[654,6]]},"698":{"position":[[1584,6]]},"861":{"position":[[160,6]]},"903":{"position":[[684,6]]},"981":{"position":[[903,6]]},"1057":{"position":[[318,7]]},"1089":{"position":[[184,6]]},"1118":{"position":[[110,6]]},"1128":{"position":[[1,6]]},"1162":{"position":[[1166,6]]},"1194":{"position":[[1072,6]]},"1198":{"position":[[1938,6]]},"1214":{"position":[[865,6]]},"1227":{"position":[[119,6]]},"1265":{"position":[[112,6]]},"1307":{"position":[[633,6]]}},"keywords":{}}],["easiest",{"_index":3990,"title":{},"content":{"710":{"position":[[811,7]]},"773":{"position":[[12,7]]},"838":{"position":[[1469,7]]},"860":{"position":[[1178,7]]},"865":{"position":[[127,7]]},"1157":{"position":[[27,7]]},"1242":{"position":[[97,7]]},"1266":{"position":[[5,7]]}},"keywords":{}}],["easili",{"_index":862,"title":{},"content":{"57":{"position":[[333,6]]},"121":{"position":[[184,6]]},"165":{"position":[[342,6]]},"173":{"position":[[963,6]]},"192":{"position":[[333,6]]},"221":{"position":[[185,7]]},"262":{"position":[[501,6]]},"279":{"position":[[227,6]]},"354":{"position":[[327,6]]},"411":{"position":[[760,6]]},"417":{"position":[[294,7]]},"500":{"position":[[134,6]]},"624":{"position":[[399,6]]},"837":{"position":[[457,6]]},"860":{"position":[[989,6]]},"950":{"position":[[138,7]]},"1121":{"position":[[77,6]]},"1124":{"position":[[1948,6]]}},"keywords":{}}],["easily.bas",{"_index":3533,"title":{},"content":{"595":{"position":[[397,12]]}},"keywords":{}}],["easy.compat",{"_index":5429,"title":{},"content":{"981":{"position":[[542,15]]}},"keywords":{}}],["ecosystem",{"_index":1305,"title":{"383":{"position":[[12,10]]}},"content":{"202":{"position":[[57,10]]},"231":{"position":[[120,10]]},"247":{"position":[[79,10]]},"364":{"position":[[411,10]]},"387":{"position":[[268,9]]},"412":{"position":[[1041,10]]},"445":{"position":[[1864,9]]},"838":{"position":[[902,9]]},"839":{"position":[[561,10]]},"1199":{"position":[[104,9]]}},"keywords":{}}],["ecosystemd",{"_index":3145,"title":{},"content":{"483":{"position":[[575,13]]}},"keywords":{}}],["ed",{"_index":3776,"title":{},"content":{"659":{"position":[[425,3]]}},"keywords":{}}],["edg",{"_index":66,"title":{"1093":{"position":[[28,6]]}},"content":{"4":{"position":[[153,4]]},"289":{"position":[[1632,4]]},"298":{"position":[[180,5],[732,4]]},"299":{"position":[[742,4]]},"613":{"position":[[27,4]]},"873":{"position":[[88,4]]},"1123":{"position":[[261,4]]},"1207":{"position":[[121,4]]}},"keywords":{}}],["edit",{"_index":632,"title":{},"content":{"40":{"position":[[134,8]]},"151":{"position":[[341,7]]},"203":{"position":[[243,5]]},"267":{"position":[[622,8],[665,4]]},"312":{"position":[[315,6]]},"339":{"position":[[155,4]]},"375":{"position":[[237,7],[626,7]]},"410":{"position":[[1664,6],[1976,5]]},"411":{"position":[[1442,6]]},"412":{"position":[[2256,5],[3014,5],[3146,4],[4261,7],[6508,7]]},"446":{"position":[[548,7]]},"481":{"position":[[184,5]]},"491":{"position":[[1352,4]]},"495":{"position":[[141,4]]},"496":{"position":[[270,6]]},"632":{"position":[[542,4]]},"635":{"position":[[72,4]]},"691":{"position":[[32,4]]},"698":{"position":[[1953,4]]},"860":{"position":[[839,5]]},"863":{"position":[[639,4]]},"1006":{"position":[[254,4]]},"1007":{"position":[[1051,5]]},"1313":{"position":[[595,4],[684,4]]}},"keywords":{}}],["editor",{"_index":1618,"title":{},"content":{"267":{"position":[[498,8],[1518,8]]},"491":{"position":[[1826,8]]}},"keywords":{}}],["edits.fin",{"_index":1550,"title":{},"content":{"250":{"position":[[291,10]]}},"keywords":{}}],["eede1195b7d94dd5",{"_index":6556,"title":{},"content":{"1316":{"position":[[2273,17]]}},"keywords":{}}],["effect",{"_index":950,"title":{"295":{"position":[[5,9]]}},"content":{"66":{"position":[[645,12]]},"295":{"position":[[56,9]]},"303":{"position":[[1370,9]]},"385":{"position":[[189,12]]},"390":{"position":[[1161,9]]},"398":{"position":[[445,9]]},"618":{"position":[[332,11]]},"635":{"position":[[185,12]]},"676":{"position":[[128,13]]},"801":{"position":[[362,11]]},"988":{"position":[[3342,8],[4671,8]]},"1085":{"position":[[2460,11]]},"1132":{"position":[[1194,9]]}},"keywords":{}}],["effici",{"_index":963,"title":{"146":{"position":[[0,9]]},"213":{"position":[[35,9]]}},"content":{"73":{"position":[[101,9]]},"78":{"position":[[38,9]]},"81":{"position":[[1,9]]},"83":{"position":[[366,10]]},"91":{"position":[[254,9]]},"96":{"position":[[273,12]]},"101":{"position":[[195,9]]},"106":{"position":[[103,9]]},"108":{"position":[[152,9]]},"114":{"position":[[518,9]]},"117":{"position":[[83,9]]},"118":{"position":[[205,9]]},"120":{"position":[[331,9]]},"121":{"position":[[253,9]]},"146":{"position":[[38,9]]},"152":{"position":[[259,9]]},"159":{"position":[[81,11]]},"162":{"position":[[468,9]]},"166":{"position":[[126,9]]},"173":{"position":[[125,11],[518,9]]},"174":{"position":[[1078,9]]},"175":{"position":[[531,9]]},"178":{"position":[[232,11]]},"181":{"position":[[265,9]]},"189":{"position":[[230,9],[797,11]]},"194":{"position":[[175,10]]},"197":{"position":[[172,9]]},"216":{"position":[[34,9]]},"224":{"position":[[322,12]]},"227":{"position":[[121,9]]},"228":{"position":[[297,9]]},"234":{"position":[[161,12]]},"236":{"position":[[320,9]]},"241":{"position":[[693,9]]},"269":{"position":[[402,10]]},"270":{"position":[[239,9]]},"277":{"position":[[220,9]]},"283":{"position":[[236,9]]},"284":{"position":[[85,9]]},"287":{"position":[[788,12]]},"288":{"position":[[1,9]]},"289":{"position":[[286,9]]},"294":{"position":[[144,11],[299,10]]},"354":{"position":[[796,12]]},"366":{"position":[[120,9],[440,12]]},"369":{"position":[[110,9],[163,9]]},"370":{"position":[[163,11]]},"373":{"position":[[721,9]]},"385":{"position":[[54,9]]},"390":{"position":[[1001,9]]},"392":{"position":[[2203,9]]},"395":{"position":[[223,9]]},"396":{"position":[[67,10],[387,9],[757,10]]},"398":{"position":[[88,11]]},"400":{"position":[[400,11]]},"409":{"position":[[61,9]]},"411":{"position":[[555,12]]},"412":{"position":[[9523,11]]},"427":{"position":[[959,9]]},"429":{"position":[[218,12]]},"430":{"position":[[1119,10]]},"432":{"position":[[448,9]]},"435":{"position":[[363,9]]},"441":{"position":[[663,9]]},"445":{"position":[[1953,10]]},"453":{"position":[[759,12]]},"468":{"position":[[224,11]]},"477":{"position":[[341,9]]},"501":{"position":[[27,9]]},"504":{"position":[[228,9],[797,9]]},"508":{"position":[[195,10]]},"519":{"position":[[190,11]]},"524":{"position":[[344,9]]},"527":{"position":[[1,9]]},"530":{"position":[[48,9]]},"535":{"position":[[446,11]]},"595":{"position":[[474,11]]},"610":{"position":[[803,9]]},"613":{"position":[[49,10]]},"618":{"position":[[569,9]]},"621":{"position":[[485,9],[835,9]]},"622":{"position":[[222,9]]},"623":{"position":[[675,10]]},"634":{"position":[[603,9]]},"714":{"position":[[946,9]]},"723":{"position":[[1,9],[107,11],[1369,11]]},"802":{"position":[[674,12],[811,9]]},"1022":{"position":[[906,11]]},"1023":{"position":[[60,9],[567,11]]},"1071":{"position":[[335,9]]},"1072":{"position":[[1906,10],[2845,12]]},"1132":{"position":[[228,9],[1162,11]]},"1206":{"position":[[592,9]]},"1237":{"position":[[485,10]]}},"keywords":{}}],["efficiently.ther",{"_index":3093,"title":{},"content":{"469":{"position":[[852,17]]}},"keywords":{}}],["effort",{"_index":1026,"title":{},"content":{"99":{"position":[[209,6]]},"112":{"position":[[217,7]]},"412":{"position":[[2470,7]]},"445":{"position":[[2405,7]]},"446":{"position":[[1424,7]]},"676":{"position":[[155,7]]},"1295":{"position":[[1323,6]]}},"keywords":{}}],["effort.observ",{"_index":1923,"title":{},"content":{"323":{"position":[[396,17]]}},"keywords":{}}],["effortless",{"_index":2113,"title":{},"content":{"366":{"position":[[48,10]]},"373":{"position":[[564,10]]}},"keywords":{}}],["effortlessli",{"_index":1080,"title":{},"content":{"123":{"position":[[175,13]]},"275":{"position":[[298,13]]},"286":{"position":[[282,13]]},"293":{"position":[[190,12]]},"562":{"position":[[1766,13]]},"575":{"position":[[442,12]]}},"keywords":{}}],["eg",{"_index":4639,"title":{},"content":{"796":{"position":[[489,4]]},"1065":{"position":[[936,3]]}},"keywords":{}}],["eini",{"_index":6483,"title":{},"content":{"1302":{"position":[[174,4]]}},"keywords":{}}],["elect",{"_index":4040,"title":{"735":{"position":[[7,8]]},"738":{"position":[[15,8]]}},"content":{"723":{"position":[[868,9]]},"737":{"position":[[58,8],[182,7]]},"738":{"position":[[22,9],[59,8],[175,10]]},"740":{"position":[[63,8],[488,10]]},"743":{"position":[[12,8],[84,7]]},"793":{"position":[[1119,8]]},"974":{"position":[[62,7]]},"989":{"position":[[361,8]]},"1003":{"position":[[114,7]]},"1171":{"position":[[297,8]]},"1174":{"position":[[436,7],[658,7]]},"1301":{"position":[[1219,8],[1253,8],[1379,8],[1479,8],[1639,8]]}},"keywords":{}}],["elector",{"_index":4104,"title":{},"content":{"740":{"position":[[388,7]]}},"keywords":{}}],["electr",{"_index":647,"title":{},"content":{"41":{"position":[[47,8]]}},"keywords":{}}],["electricsql",{"_index":644,"title":{"41":{"position":[[0,12]]}},"content":{"41":{"position":[[7,11],[350,11]]}},"keywords":{}}],["electron",{"_index":506,"title":{"692":{"position":[[0,8]]},"693":{"position":[[10,8]]},"706":{"position":[[0,8]]},"707":{"position":[[14,9]]},"709":{"position":[[63,9]]},"1214":{"position":[[8,9]]}},"content":{"32":{"position":[[74,8]]},"47":{"position":[[1262,9]]},"201":{"position":[[176,9]]},"207":{"position":[[156,8]]},"248":{"position":[[66,9]]},"254":{"position":[[126,8],[467,9]]},"458":{"position":[[54,8]]},"524":{"position":[[468,8]]},"535":{"position":[[1326,9]]},"631":{"position":[[205,9]]},"693":{"position":[[16,9],[145,8],[279,8],[691,9]]},"694":{"position":[[15,8]]},"707":{"position":[[4,8]]},"708":{"position":[[9,8],[241,8],[365,9],[586,9]]},"709":{"position":[[9,8],[1251,8]]},"710":{"position":[[152,8],[499,9],[924,9],[1356,8],[2482,9]]},"711":{"position":[[261,8],[867,8]]},"712":{"position":[[38,8],[95,8],[208,9]]},"793":{"position":[[337,9],[598,8]]},"964":{"position":[[505,8]]},"1196":{"position":[[57,9]]},"1214":{"position":[[149,8],[589,8]]},"1235":{"position":[[256,8]]},"1246":{"position":[[931,8],[1990,8],[2042,9],[2171,8]]},"1247":{"position":[[84,9]]},"1270":{"position":[[440,8],[539,8]]},"1271":{"position":[[245,9]]}},"keywords":{}}],["electron"",{"_index":1493,"title":{},"content":{"244":{"position":[[470,14]]}},"keywords":{}}],["electron)node.jsserv",{"_index":3122,"title":{},"content":{"479":{"position":[[419,24]]}},"keywords":{}}],["electron.in",{"_index":3718,"title":{},"content":{"640":{"position":[[373,11]]}},"keywords":{}}],["electron.ipcmain",{"_index":3931,"title":{},"content":{"693":{"position":[[975,16]]}},"keywords":{}}],["electron.ipcrender",{"_index":3933,"title":{},"content":{"693":{"position":[[1268,20]]}},"keywords":{}}],["electron.j",{"_index":1051,"title":{"708":{"position":[[25,12]]},"711":{"position":[[10,11]]}},"content":{"112":{"position":[[97,12]]},"174":{"position":[[2703,12]]},"239":{"position":[[134,12]]},"1245":{"position":[[91,12]]}},"keywords":{}}],["electron/rebuild",{"_index":3993,"title":{},"content":{"711":{"position":[[780,17],[924,18]]}},"keywords":{}}],["electron/remot",{"_index":3991,"title":{},"content":{"711":{"position":[[438,16]]}},"keywords":{}}],["eleg",{"_index":2939,"title":{},"content":{"445":{"position":[[240,7]]}},"keywords":{}}],["element",{"_index":1085,"title":{},"content":{"129":{"position":[[55,8]]},"326":{"position":[[194,8]]},"412":{"position":[[5096,7]]},"951":{"position":[[508,8]]}},"keywords":{}}],["elements.offlin",{"_index":1976,"title":{},"content":{"346":{"position":[[521,16]]}},"keywords":{}}],["elements.stringif",{"_index":2883,"title":{},"content":{"427":{"position":[[620,24]]}},"keywords":{}}],["elev",{"_index":3222,"title":{},"content":{"501":{"position":[[390,9]]}},"keywords":{}}],["elimin",{"_index":712,"title":{},"content":{"46":{"position":[[364,11]]},"92":{"position":[[93,11]]},"96":{"position":[[57,10]]},"103":{"position":[[130,10]]},"159":{"position":[[256,10]]},"172":{"position":[[223,10]]},"217":{"position":[[123,11]]},"219":{"position":[[212,11]]},"233":{"position":[[190,10]]},"261":{"position":[[1123,11]]},"265":{"position":[[525,10],[794,11]]},"267":{"position":[[1329,9]]},"360":{"position":[[126,10]]},"376":{"position":[[148,11]]},"421":{"position":[[1113,9]]},"445":{"position":[[2294,10]]},"500":{"position":[[415,9]]},"515":{"position":[[284,11]]},"518":{"position":[[302,11]]},"521":{"position":[[621,11]]},"630":{"position":[[449,11]]}},"keywords":{}}],["elixir",{"_index":655,"title":{},"content":{"41":{"position":[[264,7],[384,7]]}},"keywords":{}}],["else.perform",{"_index":5431,"title":{},"content":{"981":{"position":[[765,16]]}},"keywords":{}}],["email",{"_index":2489,"title":{},"content":{"402":{"position":[[2321,5],[2403,6]]},"408":{"position":[[4445,5],[4841,5]]},"426":{"position":[[332,6]]},"783":{"position":[[346,5]]},"1022":{"position":[[157,5],[300,6],[499,5],[938,6]]},"1023":{"position":[[153,6],[599,6]]},"1289":{"position":[[68,5]]},"1290":{"position":[[160,5]]},"1291":{"position":[[158,5]]}},"keywords":{}}],["emailbyreceivercollect",{"_index":5625,"title":{},"content":{"1022":{"position":[[530,26]]}},"keywords":{}}],["emailbyreceivercollection.bulkinsert",{"_index":5629,"title":{},"content":{"1022":{"position":[[755,37]]}},"keywords":{}}],["emailbyreceivercollection.find",{"_index":5635,"title":{},"content":{"1022":{"position":[[1009,32]]}},"keywords":{}}],["emailbyreceivercollection.find({emailid",{"_index":5626,"title":{},"content":{"1022":{"position":[[646,40]]}},"keywords":{}}],["emailbyreceivercollection.find({word",{"_index":5643,"title":{},"content":{"1023":{"position":[[673,37]]}},"keywords":{}}],["emailcollection.addpipelin",{"_index":5624,"title":{},"content":{"1022":{"position":[[452,29]]},"1023":{"position":[[111,29]]},"1024":{"position":[[205,29]]}},"keywords":{}}],["emailid",{"_index":5631,"title":{},"content":{"1022":{"position":[[829,8]]},"1023":{"position":[[498,8]]}},"keywords":{}}],["emb",{"_index":2467,"title":{},"content":{"401":{"position":[[481,5]]},"408":{"position":[[1843,5]]},"661":{"position":[[79,5]]},"836":{"position":[[81,5]]}},"keywords":{}}],["embed",{"_index":503,"title":{"171":{"position":[[17,8]]},"172":{"position":[[11,8]]},"173":{"position":[[0,8]]},"174":{"position":[[15,8]]},"391":{"position":[[11,10]]},"392":{"position":[[12,10]]},"395":{"position":[[13,10]]},"397":{"position":[[16,10]]}},"content":{"32":{"position":[[12,8]]},"172":{"position":[[4,8]]},"173":{"position":[[39,8],[252,8],[436,8],[491,8],[640,8],[1173,8],[1399,8],[1916,8],[2201,8],[2445,8],[2526,8],[2754,8],[3104,8]]},"174":{"position":[[28,8],[3227,8]]},"175":{"position":[[61,8],[457,8]]},"189":{"position":[[333,8]]},"201":{"position":[[106,8]]},"353":{"position":[[714,8]]},"354":{"position":[[337,8]]},"357":{"position":[[532,8]]},"390":{"position":[[147,11],[165,10],[506,10],[778,10],[986,10]]},"391":{"position":[[78,10],[372,9],[780,9],[960,10],[1111,10]]},"392":{"position":[[14,11],[803,10],[1174,11],[1273,11],[1370,10],[1466,9],[1636,10],[1712,12],[1837,10],[2022,10],[2470,11],[2550,11],[2681,10],[2831,9],[2927,9],[3385,9],[3448,9],[3582,9],[3661,9],[4587,10],[4788,9],[5154,10]]},"393":{"position":[[29,10],[867,10],[1100,10]]},"394":{"position":[[20,10],[287,9],[381,10],[406,10],[1514,10],[1571,10]]},"395":{"position":[[52,10],[388,10]]},"396":{"position":[[937,11],[1003,10],[1082,9],[1771,10]]},"397":{"position":[[49,10],[423,9],[1483,9],[1872,9],[1949,9],[2137,11]]},"398":{"position":[[10,10],[572,9],[605,10],[1841,10],[1913,10],[2953,10],[3075,10],[3207,9],[3325,11]]},"401":{"position":[[57,9],[150,9],[330,10],[377,10],[424,10],[804,11]]},"402":{"position":[[104,11],[145,10],[202,10],[372,9],[590,10],[992,11],[1137,9],[1802,9],[2627,10]]},"403":{"position":[[97,11],[689,10],[833,9],[984,11]]},"404":{"position":[[180,10],[971,10]]},"412":{"position":[[10921,10]]},"711":{"position":[[104,8]]},"775":{"position":[[16,8]]},"776":{"position":[[146,8]]},"841":{"position":[[115,8]]}},"keywords":{}}],["embedd",{"_index":449,"title":{},"content":{"28":{"position":[[24,11]]}},"keywords":{}}],["embedding2",{"_index":2298,"title":{},"content":{"393":{"position":[[1020,12]]}},"keywords":{}}],["embrac",{"_index":1172,"title":{},"content":{"157":{"position":[[6,8]]},"170":{"position":[[361,9]]},"279":{"position":[[40,7]]},"325":{"position":[[152,8]]},"359":{"position":[[161,8]]},"373":{"position":[[356,9]]},"445":{"position":[[1258,8]]},"447":{"position":[[637,7]]},"510":{"position":[[626,9]]},"516":{"position":[[6,8]]}},"keywords":{}}],["emerg",{"_index":1686,"title":{},"content":{"290":{"position":[[75,7]]},"412":{"position":[[847,8],[15227,8]]},"445":{"position":[[46,7]]},"502":{"position":[[6,7]]},"510":{"position":[[129,7]]},"530":{"position":[[145,7]]},"624":{"position":[[147,6]]},"635":{"position":[[34,6]]},"683":{"position":[[445,6]]}},"keywords":{}}],["emiss",{"_index":3134,"title":{},"content":{"481":{"position":[[504,9]]}},"keywords":{}}],["emit",{"_index":734,"title":{},"content":{"47":{"position":[[745,4]]},"130":{"position":[[334,7]]},"174":{"position":[[1672,7]]},"196":{"position":[[37,4]]},"323":{"position":[[30,5]]},"329":{"position":[[113,5]]},"480":{"position":[[793,5]]},"493":{"position":[[368,5],[442,7]]},"494":{"position":[[606,5]]},"502":{"position":[[1019,5]]},"518":{"position":[[486,5]]},"529":{"position":[[63,4]]},"562":{"position":[[1258,5]]},"571":{"position":[[960,5]]},"580":{"position":[[611,5]]},"585":{"position":[[44,4]]},"602":{"position":[[161,4]]},"698":{"position":[[1068,5]]},"752":{"position":[[1081,7]]},"753":{"position":[[57,5]]},"755":{"position":[[178,7]]},"767":{"position":[[264,7]]},"768":{"position":[[223,7]]},"769":{"position":[[238,7]]},"828":{"position":[[33,5]]},"875":{"position":[[4181,7],[6907,4],[7864,5],[8782,8],[9252,8]]},"876":{"position":[[548,4]]},"879":{"position":[[403,5]]},"880":{"position":[[220,4]]},"881":{"position":[[191,4]]},"921":{"position":[[26,5],[82,5]]},"979":{"position":[[1,5],[115,5],[184,4],[378,5]]},"983":{"position":[[751,5]]},"985":{"position":[[273,4],[571,4]]},"988":{"position":[[5335,4],[5958,4]]},"990":{"position":[[714,5]]},"993":{"position":[[88,5],[215,5],[332,5],[479,5],[616,5]]},"1017":{"position":[[48,5]]},"1039":{"position":[[102,7]]},"1049":{"position":[[1,5]]},"1058":{"position":[[384,4]]},"1126":{"position":[[508,5]]},"1150":{"position":[[551,8]]}},"keywords":{}}],["emitted.al",{"_index":5503,"title":{},"content":{"995":{"position":[[70,11]]}},"keywords":{}}],["emphas",{"_index":2804,"title":{},"content":{"419":{"position":[[719,11]]},"690":{"position":[[579,9]]}},"keywords":{}}],["emphasi",{"_index":1930,"title":{},"content":{"327":{"position":[[44,8]]}},"keywords":{}}],["employ",{"_index":1045,"title":{},"content":{"108":{"position":[[6,7]]},"208":{"position":[[6,7]]},"283":{"position":[[182,8]]},"369":{"position":[[199,7]]},"528":{"position":[[6,7]]},"802":{"position":[[607,9]]},"1132":{"position":[[1070,7]]}},"keywords":{}}],["empow",{"_index":1056,"title":{"150":{"position":[[21,10]]},"264":{"position":[[34,10]]}},"content":{"114":{"position":[[447,8]]},"170":{"position":[[82,10]]},"241":{"position":[[460,7]]},"267":{"position":[[1180,8]]},"276":{"position":[[27,8]]},"289":{"position":[[1438,8]]},"373":{"position":[[474,8]]},"384":{"position":[[369,8]]},"388":{"position":[[317,8]]},"447":{"position":[[378,8]]},"502":{"position":[[308,10]]},"504":{"position":[[444,8]]},"506":{"position":[[6,8]]},"509":{"position":[[102,8]]},"510":{"position":[[344,8]]},"912":{"position":[[636,8]]}},"keywords":{}}],["empscripten",{"_index":6468,"title":{},"content":{"1299":{"position":[[553,11]]}},"keywords":{}}],["empti",{"_index":3764,"title":{"655":{"position":[[28,5]]}},"content":{"655":{"position":[[59,5]]},"749":{"position":[[40,5],[1588,5],[2212,5]]},"754":{"position":[[458,5]]},"885":{"position":[[1156,5]]},"983":{"position":[[709,5]]},"984":{"position":[[572,5]]},"988":{"position":[[2813,5]]},"1134":{"position":[[514,5]]}},"keywords":{}}],["emptydatabase.importjson(json",{"_index":5411,"title":{},"content":{"972":{"position":[[101,30]]}},"keywords":{}}],["emul",{"_index":3548,"title":{},"content":{"610":{"position":[[142,8]]}},"keywords":{}}],["en1",{"_index":4300,"title":{},"content":{"749":{"position":[[12884,3]]}},"keywords":{}}],["en2",{"_index":4301,"title":{},"content":{"749":{"position":[[12961,3]]}},"keywords":{}}],["en3",{"_index":4305,"title":{},"content":{"749":{"position":[[13070,3]]}},"keywords":{}}],["en4",{"_index":4306,"title":{},"content":{"749":{"position":[[13187,3]]}},"keywords":{}}],["enabl",{"_index":438,"title":{"734":{"position":[[0,6]]},"916":{"position":[[0,6]]}},"content":{"27":{"position":[[35,7],[274,6]]},"40":{"position":[[77,8]]},"75":{"position":[[6,7]]},"87":{"position":[[114,7]]},"89":{"position":[[222,7]]},"103":{"position":[[52,8]]},"106":{"position":[[95,7]]},"112":{"position":[[39,8]]},"114":{"position":[[509,8]]},"116":{"position":[[83,7]]},"121":{"position":[[114,6]]},"136":{"position":[[294,7]]},"138":{"position":[[112,7]]},"140":{"position":[[276,6]]},"152":{"position":[[252,6]]},"155":{"position":[[251,6]]},"157":{"position":[[42,8]]},"158":{"position":[[246,8]]},"160":{"position":[[207,8]]},"162":{"position":[[737,8]]},"165":{"position":[[137,6]]},"168":{"position":[[59,8]]},"173":{"position":[[101,7],[2773,6]]},"174":{"position":[[244,8],[846,7],[1070,7],[1943,7],[2837,7]]},"177":{"position":[[265,6]]},"179":{"position":[[379,8]]},"184":{"position":[[128,6]]},"210":{"position":[[104,8]]},"215":{"position":[[59,6]]},"220":{"position":[[20,6]]},"222":{"position":[[271,8]]},"224":{"position":[[286,8]]},"235":{"position":[[43,8]]},"237":{"position":[[187,8]]},"239":{"position":[[45,7]]},"240":{"position":[[307,8]]},"255":{"position":[[85,8]]},"265":{"position":[[460,8]]},"266":{"position":[[131,6]]},"280":{"position":[[212,8]]},"283":{"position":[[227,8]]},"286":{"position":[[246,6]]},"287":{"position":[[195,8]]},"289":{"position":[[1949,8]]},"292":{"position":[[213,8]]},"315":{"position":[[953,8]]},"316":{"position":[[83,6],[213,6]]},"323":{"position":[[334,6]]},"326":{"position":[[27,7]]},"328":{"position":[[70,8]]},"356":{"position":[[178,8]]},"358":{"position":[[910,8]]},"366":{"position":[[108,7]]},"369":{"position":[[648,8]]},"375":{"position":[[361,6]]},"380":{"position":[[129,7]]},"407":{"position":[[935,7]]},"408":{"position":[[1603,7],[5085,6]]},"424":{"position":[[65,7]]},"444":{"position":[[691,8]]},"445":{"position":[[1161,7],[2161,7]]},"446":{"position":[[637,6]]},"463":{"position":[[1331,7]]},"480":{"position":[[125,6]]},"501":{"position":[[354,8]]},"504":{"position":[[788,8]]},"509":{"position":[[33,8]]},"516":{"position":[[42,8]]},"518":{"position":[[173,7]]},"529":{"position":[[6,7]]},"535":{"position":[[794,8]]},"567":{"position":[[304,8]]},"595":{"position":[[881,8]]},"610":{"position":[[48,6]]},"611":{"position":[[140,7]]},"613":{"position":[[160,6]]},"614":{"position":[[86,7]]},"639":{"position":[[225,6]]},"675":{"position":[[22,8]]},"683":{"position":[[16,7]]},"693":{"position":[[680,7]]},"723":{"position":[[2268,8]]},"734":{"position":[[659,6]]},"738":{"position":[[4,6]]},"749":{"position":[[983,7],[21746,8]]},"849":{"position":[[799,6]]},"854":{"position":[[826,6]]},"861":{"position":[[2493,6]]},"865":{"position":[[57,7]]},"872":{"position":[[1114,8],[1227,8]]},"901":{"position":[[76,7]]},"915":{"position":[[4,6]]},"964":{"position":[[156,6]]},"1004":{"position":[[174,7]]},"1012":{"position":[[4,6]]},"1072":{"position":[[2180,6]]},"1078":{"position":[[173,6]]},"1083":{"position":[[268,6]]},"1150":{"position":[[248,6]]},"1206":{"position":[[318,8]]},"1213":{"position":[[498,6]]},"1284":{"position":[[162,7],[215,7]]}},"keywords":{}}],["enableindexeddbpersist",{"_index":4880,"title":{"856":{"position":[[11,29]]}},"content":{"856":{"position":[[19,28]]}},"keywords":{}}],["encapsul",{"_index":781,"title":{},"content":{"51":{"position":[[918,11]]}},"keywords":{}}],["encod",{"_index":118,"title":{},"content":{"8":{"position":[[508,6],[566,7]]},"402":{"position":[[2505,7]]},"688":{"position":[[351,8]]},"1296":{"position":[[1768,6]]}},"keywords":{}}],["encount",{"_index":1179,"title":{},"content":{"161":{"position":[[75,9]]},"304":{"position":[[278,9]]},"309":{"position":[[92,9]]}},"keywords":{}}],["encourag",{"_index":2077,"title":{},"content":{"360":{"position":[[690,10]]},"419":{"position":[[1401,9]]},"1151":{"position":[[544,9]]},"1178":{"position":[[543,9]]}},"keywords":{}}],["encrypt",{"_index":480,"title":{"95":{"position":[[22,11]]},"139":{"position":[[0,10]]},"167":{"position":[[0,10]]},"195":{"position":[[0,10]]},"218":{"position":[[9,10]]},"291":{"position":[[15,10]]},"307":{"position":[[32,11]]},"310":{"position":[[12,11]]},"315":{"position":[[0,10]]},"343":{"position":[[0,10]]},"377":{"position":[[13,11]]},"472":{"position":[[51,10]]},"482":{"position":[[36,11]]},"506":{"position":[[0,10]]},"549":{"position":[[13,10],[28,9]]},"550":{"position":[[7,10]]},"551":{"position":[[13,10]]},"552":{"position":[[11,10]]},"554":{"position":[[34,11]]},"555":{"position":[[26,9]]},"556":{"position":[[32,11]]},"564":{"position":[[8,10]]},"586":{"position":[[0,10]]},"629":{"position":[[48,10]]},"638":{"position":[[6,11]]},"713":{"position":[[3,9]]},"714":{"position":[[9,9]]},"716":{"position":[[11,11]]},"717":{"position":[[15,10]]},"720":{"position":[[0,9]]},"721":{"position":[[0,10]]},"912":{"position":[[24,9]]},"1184":{"position":[[0,10]]}},"content":{"29":{"position":[[273,10]]},"47":{"position":[[1103,11]]},"57":{"position":[[321,11],[340,7],[381,11]]},"65":{"position":[[1552,11],[1652,10]]},"95":{"position":[[171,11]]},"139":{"position":[[36,10],[89,11],[187,8]]},"167":{"position":[[74,10],[100,10],[278,10],[339,10]]},"170":{"position":[[404,11]]},"173":{"position":[[1161,11],[1247,11]]},"195":{"position":[[52,10],[81,10]]},"218":{"position":[[89,7],[175,10]]},"244":{"position":[[1144,9]]},"291":{"position":[[26,10],[159,10],[424,10]]},"292":{"position":[[163,9]]},"293":{"position":[[333,9]]},"310":{"position":[[89,10],[123,7],[296,10]]},"313":{"position":[[172,11]]},"314":{"position":[[631,11]]},"315":{"position":[[41,10],[884,10],[895,10],[942,10],[985,9],[1014,9],[1072,11]]},"318":{"position":[[68,11],[414,10]]},"334":{"position":[[443,10]]},"343":{"position":[[15,10]]},"366":{"position":[[565,9]]},"377":{"position":[[175,10],[302,11]]},"383":{"position":[[111,11],[163,10]]},"410":{"position":[[692,11],[790,9]]},"412":{"position":[[13256,7]]},"419":{"position":[[1186,11]]},"479":{"position":[[246,10]]},"480":{"position":[[132,10],[1032,7]]},"482":{"position":[[69,10],[138,10],[447,10],[733,9],[812,10],[971,10],[1009,9]]},"483":{"position":[[1089,10]]},"506":{"position":[[40,7]]},"510":{"position":[[327,11]]},"526":{"position":[[1,10],[102,11]]},"535":{"position":[[1079,10]]},"544":{"position":[[322,10]]},"550":{"position":[[1,10],[160,10],[277,10],[295,10]]},"551":{"position":[[60,9],[107,10],[152,10],[187,10],[340,9],[483,7]]},"553":{"position":[[22,10]]},"554":{"position":[[17,10],[882,10],[1016,9]]},"555":{"position":[[38,11],[98,9],[242,9],[391,9],[432,9],[742,9],[776,9],[1000,9]]},"556":{"position":[[56,10],[144,9],[536,7],[621,10],[683,9],[1173,10],[1225,10],[1450,10],[1708,9]]},"557":{"position":[[309,10],[395,10]]},"560":{"position":[[754,11]]},"564":{"position":[[109,7],[166,10],[555,10],[900,10],[938,7],[984,9],[1018,9]]},"566":{"position":[[1226,10],[1289,7],[1326,10],[1377,10]]},"567":{"position":[[599,11],[616,10],[648,7]]},"579":{"position":[[452,10]]},"586":{"position":[[64,10]]},"595":{"position":[[1156,10]]},"604":{"position":[[232,11],[275,10]]},"632":{"position":[[1393,10]]},"638":{"position":[[161,10],[756,10],[809,7],[846,9]]},"661":{"position":[[1227,10]]},"710":{"position":[[258,10]]},"711":{"position":[[2290,11]]},"714":{"position":[[18,10],[340,10],[473,9],[491,9],[626,9],[697,9],[762,9],[840,9],[1051,9],[1082,9]]},"715":{"position":[[59,10],[193,10]]},"716":{"position":[[5,10],[45,10],[165,10],[210,10],[268,9],[337,9],[485,10]]},"717":{"position":[[36,11],[58,10],[446,10],[537,11],[752,10],[1025,10],[1119,9],[1282,9],[1329,10],[1366,9],[1568,10]]},"718":{"position":[[325,10],[622,9]]},"719":{"position":[[396,7]]},"720":{"position":[[31,10],[58,10],[207,10],[263,9]]},"721":{"position":[[66,11],[102,10],[135,10]]},"723":{"position":[[1928,9],[2010,9]]},"749":{"position":[[835,9],[859,10],[13090,9],[18153,9],[19590,9]]},"793":{"position":[[428,10]]},"838":{"position":[[871,10],[3315,10]]},"901":{"position":[[491,10]]},"912":{"position":[[25,9],[68,10],[221,10],[273,10],[471,10],[752,10]]},"916":{"position":[[219,10],[275,9]]},"942":{"position":[[111,7],[123,9]]},"963":{"position":[[30,9],[192,10]]},"971":{"position":[[154,9]]},"1038":{"position":[[63,10]]},"1074":{"position":[[391,9],[664,9]]},"1123":{"position":[[593,11]]},"1146":{"position":[[58,11]]},"1180":{"position":[[314,9],[386,9]]},"1184":{"position":[[52,9],[148,9],[210,9],[259,10]]},"1237":{"position":[[144,12],[394,10],[447,10]]}},"keywords":{}}],["encrypted/compress",{"_index":6282,"title":{},"content":{"1237":{"position":[[363,20]]}},"keywords":{}}],["encryptedfile.txt",{"_index":3370,"title":{},"content":{"556":{"position":[[940,20]]}},"keywords":{}}],["encryptedindexeddbstorag",{"_index":4030,"title":{},"content":{"718":{"position":[[349,25],[706,26]]}},"keywords":{}}],["encryptedmemorystorag",{"_index":3346,"title":{},"content":{"554":{"position":[[906,22],[1109,23]]}},"keywords":{}}],["encryptedstorag",{"_index":1897,"title":{},"content":{"315":{"position":[[424,16],[589,17]]},"482":{"position":[[464,16],[666,17]]},"564":{"position":[[432,16],[639,17]]},"638":{"position":[[316,16],[476,17]]},"717":{"position":[[776,16],[1203,17]]}},"keywords":{}}],["encryption"",{"_index":1446,"title":{},"content":{"243":{"position":[[94,16]]},"244":{"position":[[620,16]]}},"keywords":{}}],["encryptioncompress",{"_index":3328,"title":{},"content":{"544":{"position":[[356,22]]}},"keywords":{}}],["encryptionif",{"_index":3341,"title":{},"content":{"551":{"position":[[366,12]]}},"keywords":{}}],["end",{"_index":663,"title":{"225":{"position":[[51,3]]}},"content":{"42":{"position":[[299,3]]},"43":{"position":[[347,3]]},"167":{"position":[[328,3],[335,3]]},"218":{"position":[[60,3]]},"289":{"position":[[892,3]]},"350":{"position":[[295,3]]},"351":{"position":[[241,3]]},"353":{"position":[[495,5]]},"354":{"position":[[686,3]]},"360":{"position":[[92,3]]},"385":{"position":[[344,3]]},"399":{"position":[[190,3],[259,3],[555,3]]},"410":{"position":[[606,3]]},"412":{"position":[[9364,3],[10650,3],[10688,3]]},"491":{"position":[[110,4]]},"495":{"position":[[726,4]]},"569":{"position":[[1197,3]]},"697":{"position":[[276,3]]},"749":{"position":[[6275,6],[11608,3],[16142,3]]},"878":{"position":[[482,3]]},"879":{"position":[[68,3],[152,4]]},"901":{"position":[[480,3],[487,3]]},"1030":{"position":[[240,3]]},"1090":{"position":[[44,3]]},"1092":{"position":[[360,3]]},"1093":{"position":[[174,3]]},"1123":{"position":[[329,3]]},"1208":{"position":[[1507,3]]},"1294":{"position":[[1073,3]]},"1316":{"position":[[233,3],[1207,3]]}},"keywords":{}}],["endlessli",{"_index":1973,"title":{},"content":{"346":{"position":[[431,9]]}},"keywords":{}}],["endpoint",{"_index":243,"title":{"209":{"position":[[37,9]]},"478":{"position":[[30,10]]},"1100":{"position":[[9,10]]},"1101":{"position":[[12,9]]},"1102":{"position":[[5,9]]}},"content":{"14":{"position":[[1154,10]]},"18":{"position":[[453,9]]},"24":{"position":[[325,9]]},"37":{"position":[[103,10],[215,10]]},"46":{"position":[[514,9]]},"202":{"position":[[285,9]]},"248":{"position":[[302,9]]},"255":{"position":[[1132,8],[1395,8]]},"321":{"position":[[330,9]]},"381":{"position":[[238,10]]},"410":{"position":[[913,9]]},"411":{"position":[[1108,10],[1319,8],[1346,9],[1718,10]]},"412":{"position":[[1805,10],[1891,9],[2430,9]]},"478":{"position":[[36,9]]},"487":{"position":[[14,10],[456,8]]},"534":{"position":[[529,9]]},"556":{"position":[[1778,9]]},"565":{"position":[[108,9]]},"566":{"position":[[1161,9]]},"582":{"position":[[364,8]]},"594":{"position":[[527,9]]},"612":{"position":[[1712,8]]},"701":{"position":[[1142,8]]},"837":{"position":[[200,9]]},"846":{"position":[[261,8],[1243,9]]},"861":{"position":[[245,8]]},"865":{"position":[[21,8]]},"871":{"position":[[275,8]]},"872":{"position":[[3356,8],[3466,11],[3732,8],[4364,8]]},"875":{"position":[[1289,9],[1313,9],[1738,8],[3570,9],[6007,8],[6523,9],[7813,8]]},"876":{"position":[[446,8],[500,9],[531,9]]},"878":{"position":[[136,8],[419,8]]},"879":{"position":[[271,9],[330,8]]},"885":{"position":[[41,8]]},"886":{"position":[[352,9],[1081,9],[2713,9],[3053,9],[3900,9]]},"888":{"position":[[83,8],[144,8],[1008,9]]},"981":{"position":[[306,9]]},"986":{"position":[[1337,8],[1435,8]]},"1007":{"position":[[500,9]]},"1088":{"position":[[715,9]]},"1092":{"position":[[238,8]]},"1097":{"position":[[231,9],[800,9],[847,10]]},"1100":{"position":[[55,10],[69,8],[207,9],[246,8],[268,9],[318,8],[369,8],[503,8],[522,8],[692,10]]},"1101":{"position":[[17,8],[214,9],[229,8],[345,8],[451,8],[504,10]]},"1102":{"position":[[10,8],[294,8],[325,8],[377,10],[807,9],[1075,8]]},"1103":{"position":[[34,10],[76,8],[288,8],[347,10]]},"1105":{"position":[[330,8],[370,9],[714,8],[773,10]]},"1106":{"position":[[652,8],[711,10]]},"1108":{"position":[[5,9],[382,8],[441,10]]},"1111":{"position":[[63,9]]},"1112":{"position":[[399,9],[487,10]]},"1149":{"position":[[244,9],[1423,8]]},"1228":{"position":[[255,10]]}},"keywords":{}}],["endpoint.urlpath",{"_index":5937,"title":{},"content":{"1102":{"position":[[510,16],[974,17]]}},"keywords":{}}],["endpoint/0",{"_index":5929,"title":{},"content":{"1100":{"position":[[618,11],[782,11]]},"1101":{"position":[[782,12]]}},"keywords":{}}],["endpoints.impl",{"_index":1545,"title":{},"content":{"249":{"position":[[215,19]]}},"keywords":{}}],["endpointsrest",{"_index":3132,"title":{},"content":{"481":{"position":[[336,13]]}},"keywords":{}}],["endpointsupport",{"_index":6178,"title":{},"content":{"1199":{"position":[[65,15]]}},"keywords":{}}],["enforc",{"_index":1547,"title":{},"content":{"250":{"position":[[11,8]]},"282":{"position":[[219,7]]},"351":{"position":[[24,7]]},"353":{"position":[[83,8],[548,8]]},"354":{"position":[[474,9]]},"382":{"position":[[147,9]]},"412":{"position":[[12101,9]]},"535":{"position":[[656,7]]},"798":{"position":[[745,7]]},"802":{"position":[[315,7]]},"989":{"position":[[176,7]]},"990":{"position":[[1376,7]]},"1066":{"position":[[551,7]]},"1314":{"position":[[255,9]]}},"keywords":{}}],["engag",{"_index":1005,"title":{},"content":{"88":{"position":[[205,11]]},"173":{"position":[[1834,6]]},"498":{"position":[[629,7]]},"502":{"position":[[819,8],[905,8]]},"509":{"position":[[178,11]]},"510":{"position":[[611,11]]},"530":{"position":[[114,8]]}},"keywords":{}}],["engin",{"_index":1329,"title":{"276":{"position":[[12,7]]},"980":{"position":[[21,6]]},"981":{"position":[[29,7]]},"982":{"position":[[9,6]]},"983":{"position":[[9,6]]}},"content":{"205":{"position":[[322,7]]},"208":{"position":[[27,6]]},"252":{"position":[[19,6]]},"255":{"position":[[45,7]]},"276":{"position":[[20,6],[276,7]]},"354":{"position":[[1391,7]]},"356":{"position":[[58,7]]},"369":{"position":[[138,10]]},"383":{"position":[[432,7]]},"385":{"position":[[72,8]]},"408":{"position":[[1865,7],[3632,8]]},"412":{"position":[[2001,7],[2962,7],[9109,7],[9975,7]]},"481":{"position":[[18,6]]},"489":{"position":[[257,7]]},"502":{"position":[[675,6]]},"533":{"position":[[213,6]]},"566":{"position":[[114,6]]},"571":{"position":[[1429,10]]},"579":{"position":[[149,7]]},"593":{"position":[[213,6]]},"626":{"position":[[616,6]]},"631":{"position":[[383,7]]},"705":{"position":[[936,6]]},"707":{"position":[[241,6]]},"710":{"position":[[341,6]]},"723":{"position":[[215,6]]},"772":{"position":[[293,7],[327,7]]},"793":{"position":[[630,6]]},"841":{"position":[[128,6]]},"981":{"position":[[82,6],[158,6],[398,7]]},"1004":{"position":[[54,6]]},"1072":{"position":[[1691,7],[1733,7],[1880,8]]},"1101":{"position":[[112,7]]},"1124":{"position":[[1906,6]]},"1198":{"position":[[248,7],[1253,6],[1746,7]]},"1280":{"position":[[89,6]]},"1320":{"position":[[868,6]]}},"keywords":{}}],["engine"",{"_index":1532,"title":{},"content":{"244":{"position":[[1647,12]]}},"keywords":{}}],["engineatla",{"_index":4935,"title":{},"content":{"870":{"position":[[204,11]]}},"keywords":{}}],["enginefirestor",{"_index":1599,"title":{},"content":{"263":{"position":[[580,15]]}},"keywords":{}}],["enginejoin",{"_index":3473,"title":{},"content":{"572":{"position":[[73,10]]}},"keywords":{}}],["enginework",{"_index":5185,"title":{},"content":{"896":{"position":[[306,11]]}},"keywords":{}}],["enhanc",{"_index":525,"title":{},"content":{"33":{"position":[[583,8]]},"65":{"position":[[857,8],[1919,8]]},"77":{"position":[[137,8]]},"81":{"position":[[106,9]]},"87":{"position":[[253,9]]},"94":{"position":[[286,9]]},"97":{"position":[[158,9]]},"109":{"position":[[218,8]]},"114":{"position":[[573,8]]},"136":{"position":[[329,8]]},"137":{"position":[[71,7]]},"166":{"position":[[273,7]]},"170":{"position":[[495,7]]},"173":{"position":[[184,7],[735,8],[1092,8],[2062,8]]},"174":{"position":[[872,8],[1159,9],[1724,8]]},"175":{"position":[[581,8]]},"193":{"position":[[62,7]]},"232":{"position":[[187,8]]},"277":{"position":[[256,8]]},"281":{"position":[[85,8]]},"283":{"position":[[387,8]]},"293":{"position":[[406,9]]},"365":{"position":[[1476,8]]},"373":{"position":[[538,8]]},"432":{"position":[[1159,9]]},"445":{"position":[[1196,8],[1589,8]]},"470":{"position":[[105,8]]},"506":{"position":[[60,9]]},"508":{"position":[[177,9]]},"510":{"position":[[195,9]]},"515":{"position":[[380,8]]},"527":{"position":[[139,9]]},"534":{"position":[[72,9]]},"594":{"position":[[70,9]]},"801":{"position":[[730,8]]},"1132":{"position":[[1141,7]]},"1206":{"position":[[624,8]]}},"keywords":{}}],["enough",{"_index":2443,"title":{},"content":{"400":{"position":[[610,6]]},"702":{"position":[[285,6]]},"703":{"position":[[1176,7]]},"815":{"position":[[268,6]]},"875":{"position":[[151,6]]},"1152":{"position":[[51,6]]}},"keywords":{}}],["enough"",{"_index":3975,"title":{},"content":{"703":{"position":[[1456,12]]}},"keywords":{}}],["enough?"",{"_index":2739,"title":{},"content":{"412":{"position":[[10273,14]]},"703":{"position":[[1232,14]]}},"keywords":{}}],["ensur",{"_index":155,"title":{},"content":{"11":{"position":[[384,7]]},"50":{"position":[[316,6]]},"65":{"position":[[587,7],[1702,7]]},"78":{"position":[[30,7]]},"82":{"position":[[86,8]]},"88":{"position":[[160,8]]},"92":{"position":[[179,8]]},"95":{"position":[[183,8]]},"97":{"position":[[97,7]]},"101":{"position":[[249,8]]},"103":{"position":[[186,7]]},"107":{"position":[[83,7]]},"109":{"position":[[167,7]]},"110":{"position":[[157,8]]},"112":{"position":[[229,7]]},"117":{"position":[[268,8]]},"123":{"position":[[226,7]]},"125":{"position":[[206,7]]},"129":{"position":[[206,6],[617,6]]},"130":{"position":[[278,7]]},"135":{"position":[[134,7]]},"139":{"position":[[206,8]]},"143":{"position":[[239,8]]},"145":{"position":[[4,6]]},"152":{"position":[[315,8]]},"156":{"position":[[277,8]]},"157":{"position":[[264,7]]},"158":{"position":[[282,8]]},"159":{"position":[[299,7]]},"160":{"position":[[120,7]]},"164":{"position":[[366,8]]},"165":{"position":[[263,6]]},"167":{"position":[[150,6]]},"173":{"position":[[1264,7],[2911,7],[3199,7]]},"174":{"position":[[393,7],[906,8],[2216,6]]},"182":{"position":[[274,8]]},"183":{"position":[[270,7]]},"184":{"position":[[302,8]]},"191":{"position":[[31,7],[230,7]]},"195":{"position":[[4,6]]},"202":{"position":[[357,7]]},"218":{"position":[[203,7]]},"228":{"position":[[288,8]]},"233":{"position":[[236,7]]},"234":{"position":[[123,7]]},"235":{"position":[[214,8]]},"237":{"position":[[135,7]]},"240":{"position":[[213,7]]},"250":{"position":[[331,6]]},"263":{"position":[[278,6]]},"267":{"position":[[332,6],[769,8]]},"273":{"position":[[248,7]]},"274":{"position":[[307,8]]},"279":{"position":[[473,7]]},"280":{"position":[[408,7]]},"283":{"position":[[113,6]]},"286":{"position":[[64,8]]},"288":{"position":[[107,8],[311,8]]},"289":{"position":[[851,7],[1331,8]]},"291":{"position":[[170,8]]},"292":{"position":[[332,7]]},"293":{"position":[[1,8],[320,7]]},"294":{"position":[[254,7]]},"327":{"position":[[291,8]]},"328":{"position":[[96,6]]},"339":{"position":[[181,8]]},"340":{"position":[[121,7]]},"346":{"position":[[401,6],[696,6]]},"357":{"position":[[299,6]]},"358":{"position":[[967,8]]},"364":{"position":[[325,7]]},"365":{"position":[[258,8]]},"366":{"position":[[280,8]]},"367":{"position":[[357,8]]},"376":{"position":[[615,6]]},"381":{"position":[[482,7]]},"385":{"position":[[207,7]]},"386":{"position":[[227,7]]},"392":{"position":[[1821,6],[2196,6]]},"394":{"position":[[133,6]]},"397":{"position":[[118,6],[314,7]]},"398":{"position":[[2997,8]]},"407":{"position":[[271,8]]},"410":{"position":[[1307,7],[2088,6]]},"412":{"position":[[702,8],[8699,8],[12317,6]]},"438":{"position":[[327,8]]},"445":{"position":[[569,8],[1509,8]]},"446":{"position":[[192,7],[321,6],[700,8]]},"460":{"position":[[118,7]]},"463":{"position":[[158,6]]},"481":{"position":[[106,7]]},"482":{"position":[[1174,7]]},"489":{"position":[[104,8]]},"500":{"position":[[638,6]]},"502":{"position":[[402,7]]},"504":{"position":[[1002,8]]},"510":{"position":[[653,6]]},"516":{"position":[[144,7]]},"517":{"position":[[266,7]]},"519":{"position":[[144,7]]},"525":{"position":[[127,7]]},"526":{"position":[[114,8]]},"535":{"position":[[566,8]]},"550":{"position":[[12,7]]},"556":{"position":[[708,8],[1684,6],[1909,7]]},"569":{"position":[[364,6]]},"571":{"position":[[1653,6]]},"582":{"position":[[160,7],[410,6]]},"589":{"position":[[64,7]]},"590":{"position":[[173,8]]},"595":{"position":[[593,8]]},"610":{"position":[[1558,6]]},"611":{"position":[[1208,6]]},"626":{"position":[[1124,7]]},"632":{"position":[[261,8],[489,7],[901,8]]},"636":{"position":[[362,8]]},"638":{"position":[[876,7]]},"642":{"position":[[184,8]]},"653":{"position":[[631,7],[1098,7],[1345,7]]},"656":{"position":[[307,6]]},"662":{"position":[[692,7]]},"668":{"position":[[29,6],[126,7],[393,6]]},"723":{"position":[[124,7],[671,7],[840,7],[1184,7],[1416,8],[1728,7],[2555,8]]},"749":{"position":[[20910,6],[24127,6]]},"755":{"position":[[73,6]]},"761":{"position":[[40,7]]},"796":{"position":[[166,6]]},"799":{"position":[[162,7]]},"838":{"position":[[1046,7]]},"848":{"position":[[334,6]]},"857":{"position":[[599,6]]},"861":{"position":[[304,6]]},"875":{"position":[[5768,6]]},"898":{"position":[[151,6]]},"904":{"position":[[2150,6],[3377,6]]},"912":{"position":[[350,7]]},"916":{"position":[[45,6]]},"943":{"position":[[174,8]]},"986":{"position":[[42,6],[251,7],[1212,7]]},"987":{"position":[[836,7]]},"995":{"position":[[1575,6]]},"1003":{"position":[[1,7]]},"1007":{"position":[[944,7]]},"1024":{"position":[[106,6]]},"1048":{"position":[[208,6]]},"1057":{"position":[[258,6]]},"1065":{"position":[[1787,6]]},"1079":{"position":[[546,6]]},"1083":{"position":[[209,6]]},"1085":{"position":[[1771,6]]},"1109":{"position":[[97,6]]},"1115":{"position":[[547,6],[729,6]]},"1120":{"position":[[141,7]]},"1126":{"position":[[210,7]]},"1132":{"position":[[503,8],[938,7]]},"1150":{"position":[[574,8]]},"1151":{"position":[[455,6]]},"1164":{"position":[[963,7],[1295,6]]},"1165":{"position":[[658,6]]},"1175":{"position":[[366,6],[646,7]]},"1178":{"position":[[454,6]]},"1185":{"position":[[199,6]]},"1237":{"position":[[302,6]]},"1250":{"position":[[302,7]]},"1251":{"position":[[70,6],[323,7]]},"1290":{"position":[[153,6]]},"1291":{"position":[[151,6]]},"1300":{"position":[[236,6]]},"1301":{"position":[[1262,7]]},"1304":{"position":[[242,7]]},"1305":{"position":[[329,6]]},"1307":{"position":[[643,6]]},"1313":{"position":[[126,7],[312,7],[718,6]]},"1315":{"position":[[1297,6]]},"1317":{"position":[[458,6]]}},"keywords":{}}],["enter",{"_index":1920,"title":{},"content":{"321":{"position":[[451,5]]},"1007":{"position":[[379,6]]}},"keywords":{}}],["enterpris",{"_index":1729,"title":{},"content":{"298":{"position":[[793,10]]},"299":{"position":[[814,10]]},"353":{"position":[[479,10]]},"354":{"position":[[939,10]]},"386":{"position":[[121,10]]},"619":{"position":[[55,10],[307,10]]},"1009":{"position":[[77,10]]}},"keywords":{}}],["entir",{"_index":1042,"title":{},"content":{"107":{"position":[[15,8]]},"174":{"position":[[1271,8]]},"220":{"position":[[56,8]]},"260":{"position":[[291,8]]},"265":{"position":[[771,6]]},"303":{"position":[[359,6]]},"358":{"position":[[509,6],[685,6],[742,6]]},"411":{"position":[[3338,6],[3920,6]]},"479":{"position":[[68,8]]},"496":{"position":[[438,6]]},"632":{"position":[[966,8]]},"635":{"position":[[511,6]]},"723":{"position":[[1646,6]]},"1006":{"position":[[112,6]]},"1008":{"position":[[311,6]]},"1072":{"position":[[210,6],[323,6],[669,8]]}},"keywords":{}}],["entiti",{"_index":2018,"title":{},"content":{"354":{"position":[[273,8]]},"411":{"position":[[1396,7]]},"793":{"position":[[88,8]]},"849":{"position":[[453,8]]},"1009":{"position":[[963,8]]},"1316":{"position":[[676,9]]}},"keywords":{}}],["entri",{"_index":3851,"title":{},"content":{"674":{"position":[[47,6]]},"904":{"position":[[123,7]]},"1266":{"position":[[533,6]]}},"keywords":{}}],["entrypoint="install"",{"_index":4897,"title":{},"content":{"861":{"position":[[688,30]]}},"keywords":{}}],["enum",{"_index":4644,"title":{},"content":{"796":{"position":[[1054,4],[1212,4]]}},"keywords":{}}],["enumqueri",{"_index":4645,"title":{},"content":{"796":{"position":[[1138,9]]}},"keywords":{}}],["env",{"_index":4074,"title":{},"content":{"729":{"position":[[392,4]]},"861":{"position":[[535,4]]},"1202":{"position":[[431,4]]}},"keywords":{}}],["environ",{"_index":3,"title":{"240":{"position":[[39,13]]}},"content":{"1":{"position":[[8,12]]},"3":{"position":[[80,12]]},"47":{"position":[[1228,12]]},"67":{"position":[[53,13]]},"70":{"position":[[40,13]]},"94":{"position":[[244,11]]},"100":{"position":[[220,12]]},"101":{"position":[[236,12]]},"107":{"position":[[183,12]]},"122":{"position":[[388,13]]},"133":{"position":[[381,13]]},"164":{"position":[[123,13]]},"172":{"position":[[157,12]]},"202":{"position":[[106,12]]},"207":{"position":[[70,12]]},"222":{"position":[[382,12]]},"228":{"position":[[274,13]]},"239":{"position":[[328,13]]},"240":{"position":[[16,12]]},"254":{"position":[[32,11]]},"286":{"position":[[119,12]]},"300":{"position":[[738,13]]},"301":{"position":[[112,13]]},"306":{"position":[[368,13]]},"314":{"position":[[42,11]]},"368":{"position":[[220,13]]},"380":{"position":[[61,13]]},"384":{"position":[[79,13]]},"386":{"position":[[37,13]]},"418":{"position":[[177,13]]},"427":{"position":[[1132,12]]},"438":{"position":[[314,12]]},"444":{"position":[[191,13]]},"479":{"position":[[92,12],[406,12]]},"489":{"position":[[306,11]]},"525":{"position":[[378,12]]},"575":{"position":[[164,11]]},"595":{"position":[[1390,13]]},"613":{"position":[[877,13]]},"619":{"position":[[66,12]]},"624":{"position":[[1535,12]]},"630":{"position":[[264,11]]},"631":{"position":[[130,12]]},"640":{"position":[[81,12],[289,12]]},"642":{"position":[[14,12]]},"723":{"position":[[2675,12]]},"755":{"position":[[36,12]]},"824":{"position":[[463,11]]},"832":{"position":[[363,12]]},"871":{"position":[[596,12]]},"911":{"position":[[172,12]]},"962":{"position":[[415,11]]},"1072":{"position":[[812,11],[1466,12]]},"1151":{"position":[[654,13]]},"1178":{"position":[[653,13]]},"1241":{"position":[[125,13]]},"1268":{"position":[[227,12]]}},"keywords":{}}],["environments.repl",{"_index":1226,"title":{},"content":{"174":{"position":[[2873,24]]}},"keywords":{}}],["ephemer",{"_index":1871,"title":{},"content":{"305":{"position":[[309,9]]},"336":{"position":[[391,9]]},"496":{"position":[[175,9]]},"581":{"position":[[395,9]]},"640":{"position":[[405,9]]}},"keywords":{}}],["ephemeral/incognito",{"_index":1750,"title":{},"content":{"299":{"position":[[521,19]]}},"keywords":{}}],["eq",{"_index":1641,"title":{},"content":{"276":{"position":[[449,4]]},"798":{"position":[[606,4]]},"820":{"position":[[655,4]]},"875":{"position":[[2495,4]]},"1065":{"position":[[249,4],[1084,4]]},"1066":{"position":[[412,4]]},"1072":{"position":[[2513,4]]},"1105":{"position":[[663,4]]},"1158":{"position":[[718,4]]}},"keywords":{}}],["equal",{"_index":2131,"title":{},"content":{"370":{"position":[[272,7]]},"412":{"position":[[4573,6],[4777,6]]},"462":{"position":[[411,5]]},"571":{"position":[[1634,6]]},"626":{"position":[[1174,5]]},"683":{"position":[[232,5]]},"704":{"position":[[288,5]]},"714":{"position":[[642,6]]},"749":{"position":[[11561,5]]},"821":{"position":[[853,7]]},"847":{"position":[[92,5]]},"875":{"position":[[5008,5]]},"885":{"position":[[2224,6]]},"893":{"position":[[332,5]]},"961":{"position":[[168,5]]},"982":{"position":[[514,5]]},"1100":{"position":[[865,5]]},"1164":{"position":[[702,5]]},"1165":{"position":[[938,5]]},"1193":{"position":[[264,5]]},"1229":{"position":[[222,5]]},"1309":{"position":[[703,6]]}},"keywords":{}}],["equalsolv",{"_index":6494,"title":{},"content":{"1309":{"position":[[99,10]]}},"keywords":{}}],["equip",{"_index":2840,"title":{},"content":{"420":{"position":[[1250,10]]}},"keywords":{}}],["equival",{"_index":3920,"title":{},"content":{"691":{"position":[[692,10]]},"1065":{"position":[[344,10]]}},"keywords":{}}],["eras",{"_index":3944,"title":{},"content":{"698":{"position":[[2632,7]]}},"keywords":{}}],["err",{"_index":1588,"title":{},"content":{"261":{"position":[[978,5]]},"711":{"position":[[1593,5]]},"898":{"position":[[4145,6]]},"904":{"position":[[3530,6]]},"1010":{"position":[[345,6]]},"1294":{"position":[[1534,3]]}},"keywords":{}}],["error",{"_index":1377,"title":{"302":{"position":[[9,6]]},"748":{"position":[[5,5]]},"749":{"position":[[9,5]]},"990":{"position":[[0,5]]}},"content":{"210":{"position":[[603,8],[612,7]]},"261":{"position":[[969,8]]},"301":{"position":[[248,5]]},"302":{"position":[[244,5],[470,6],[842,7],[1108,6],[1146,8],[1155,7]]},"306":{"position":[[80,5]]},"438":{"position":[[91,5]]},"440":{"position":[[282,5]]},"461":{"position":[[367,5]]},"487":{"position":[[271,5]]},"515":{"position":[[187,5]]},"610":{"position":[[1157,6],[1273,6]]},"626":{"position":[[973,6]]},"632":{"position":[[2650,6]]},"719":{"position":[[169,6]]},"729":{"position":[[85,5]]},"747":{"position":[[331,6]]},"749":{"position":[[8677,5],[12501,7],[15510,5],[15522,7],[15644,5],[15656,7],[15776,5],[15788,7],[16044,5]]},"752":{"position":[[990,6],[997,5],[1162,7]]},"761":{"position":[[282,5]]},"793":{"position":[[971,6]]},"854":{"position":[[1752,7]]},"872":{"position":[[2849,6]]},"898":{"position":[[4032,6],[4380,7]]},"904":{"position":[[3366,7],[3405,7],[3425,6],[3521,8]]},"911":{"position":[[114,5]]},"944":{"position":[[163,5],[348,6],[559,6],[588,7],[623,5],[636,6]]},"945":{"position":[[104,5],[243,6]]},"947":{"position":[[125,5],[317,6]]},"948":{"position":[[115,6],[265,7]]},"966":{"position":[[202,5]]},"968":{"position":[[588,5]]},"988":{"position":[[5657,6]]},"990":{"position":[[132,7],[484,5],[694,7],[789,6],[865,6],[942,5],[1017,7],[1119,5]]},"993":{"position":[[342,6]]},"1010":{"position":[[247,6]]},"1031":{"position":[[98,7]]},"1044":{"position":[[94,5]]},"1067":{"position":[[1153,5],[1383,5]]},"1084":{"position":[[468,5]]},"1085":{"position":[[2668,6],[2802,5],[3228,6]]},"1164":{"position":[[683,6]]},"1176":{"position":[[67,5]]},"1202":{"position":[[85,6]]},"1207":{"position":[[825,5]]},"1213":{"position":[[835,5]]},"1237":{"position":[[316,6]]},"1282":{"position":[[495,5],[506,7]]},"1304":{"position":[[1000,5]]},"1305":{"position":[[1112,6]]},"1307":{"position":[[478,6],[523,5]]},"1322":{"position":[[140,6]]}},"keywords":{}}],["error('myreadonlyfield",{"_index":5974,"title":{},"content":{"1109":{"position":[[320,22]]}},"keywords":{}}],["error('no",{"_index":3366,"title":{},"content":{"556":{"position":[[492,9]]}},"keywords":{}}],["error('stop",{"_index":4533,"title":{},"content":{"767":{"position":[[697,14]]},"768":{"position":[[707,14]]},"769":{"position":[[668,14]]}},"keywords":{}}],["error.nam",{"_index":1812,"title":{},"content":{"302":{"position":[[855,11]]}},"keywords":{}}],["error.parameters.error",{"_index":5491,"title":{},"content":{"990":{"position":[[1231,23]]}},"keywords":{}}],["error.parameters.errors[0",{"_index":5492,"title":{},"content":{"990":{"position":[[1266,26]]}},"keywords":{}}],["error.parameters.errors[0].cod",{"_index":5493,"title":{},"content":{"990":{"position":[[1304,31]]}},"keywords":{}}],["errors.observ",{"_index":1215,"title":{},"content":{"174":{"position":[[948,17]]}},"keywords":{}}],["es5",{"_index":4068,"title":{},"content":{"728":{"position":[[42,4]]}},"keywords":{}}],["es8",{"_index":4066,"title":{},"content":{"728":{"position":[[20,3]]}},"keywords":{}}],["esm",{"_index":4507,"title":{},"content":{"761":{"position":[[574,3]]}},"keywords":{}}],["especi",{"_index":943,"title":{},"content":{"66":{"position":[[332,10]]},"95":{"position":[[47,10]]},"111":{"position":[[162,10]]},"138":{"position":[[163,10]]},"174":{"position":[[2508,10]]},"217":{"position":[[295,10]]},"223":{"position":[[81,10]]},"265":{"position":[[297,10]]},"298":{"position":[[705,10]]},"299":{"position":[[1083,10]]},"305":{"position":[[541,10]]},"353":{"position":[[501,10]]},"376":{"position":[[510,10]]},"396":{"position":[[1536,10]]},"407":{"position":[[790,10]]},"408":{"position":[[4540,10]]},"412":{"position":[[7822,11]]},"416":{"position":[[259,10]]},"419":{"position":[[1305,11]]},"450":{"position":[[555,10]]},"535":{"position":[[630,10]]},"563":{"position":[[958,10]]},"569":{"position":[[1020,10]]},"595":{"position":[[657,10]]},"611":{"position":[[1077,10]]},"634":{"position":[[25,10]]},"639":{"position":[[32,10]]},"723":{"position":[[598,10]]},"785":{"position":[[15,10]]},"801":{"position":[[259,10]]},"802":{"position":[[852,10]]},"836":{"position":[[1736,10]]},"849":{"position":[[277,10]]},"894":{"position":[[94,10]]},"1072":{"position":[[2891,10]]},"1132":{"position":[[1216,10]]},"1321":{"position":[[31,10]]}},"keywords":{}}],["essenti",{"_index":907,"title":{},"content":{"65":{"position":[[275,9],[1319,9],[1480,9]]},"117":{"position":[[254,9]]},"215":{"position":[[147,9]]},"236":{"position":[[298,9]]},"302":{"position":[[285,9]]},"369":{"position":[[776,9]]},"370":{"position":[[249,9]]},"375":{"position":[[74,9]]},"378":{"position":[[272,10]]},"390":{"position":[[520,11]]},"392":{"position":[[2122,9]]},"396":{"position":[[1723,9]]},"412":{"position":[[6317,12],[8337,12],[9033,11]]},"430":{"position":[[549,9]]},"432":{"position":[[87,9]]},"476":{"position":[[189,11]]},"577":{"position":[[22,10]]},"802":{"position":[[617,9]]},"839":{"position":[[527,11]]},"899":{"position":[[170,11]]}},"keywords":{}}],["essential.hybrid",{"_index":2794,"title":{},"content":{"418":{"position":[[484,17]]}},"keywords":{}}],["establish",{"_index":1297,"title":{},"content":{"192":{"position":[[340,9]]},"289":{"position":[[602,11],[735,9],[1141,9]]},"354":{"position":[[1246,11]]},"358":{"position":[[941,12]]},"503":{"position":[[181,9]]},"610":{"position":[[325,11],[1090,9]]},"611":{"position":[[494,12],[735,14]]},"614":{"position":[[488,9]]},"621":{"position":[[408,12]]},"623":{"position":[[541,14]]},"624":{"position":[[1461,12]]},"901":{"position":[[236,12],[321,14],[367,9]]},"906":{"position":[[159,9]]}},"keywords":{}}],["estim",{"_index":1768,"title":{},"content":{"300":{"position":[[91,10],[138,8]]},"461":{"position":[[1227,10]]}},"keywords":{}}],["etc",{"_index":454,"title":{},"content":{"28":{"position":[[232,5]]},"32":{"position":[[217,4]]},"33":{"position":[[657,4]]},"248":{"position":[[90,6]]},"255":{"position":[[1731,6]]},"411":{"position":[[1277,6],[2013,6],[5654,5]]},"412":{"position":[[9258,6],[13785,5]]},"556":{"position":[[605,6]]},"565":{"position":[[154,6]]},"566":{"position":[[1196,5]]},"630":{"position":[[559,5]]},"745":{"position":[[618,6]]},"825":{"position":[[493,6]]},"841":{"position":[[799,5]]},"1065":{"position":[[1272,6]]},"1324":{"position":[[681,4]]}},"keywords":{}}],["etc.).us",{"_index":1544,"title":{},"content":{"249":{"position":[[137,9]]}},"keywords":{}}],["etho",{"_index":2640,"title":{},"content":{"411":{"position":[[5300,5]]}},"keywords":{}}],["euclidean",{"_index":2290,"title":{},"content":{"393":{"position":[[213,9],[468,9],[836,9]]}},"keywords":{}}],["euclideandist",{"_index":2295,"title":{},"content":{"393":{"position":[[925,17]]},"394":{"position":[[476,17]]},"397":{"position":[[1628,17]]}},"keywords":{}}],["euclideandistance((doc",{"_index":2410,"title":{},"content":{"398":{"position":[[1522,22],[2675,22]]}},"keywords":{}}],["euclideandistance(embedding1",{"_index":2297,"title":{},"content":{"393":{"position":[[990,29]]}},"keywords":{}}],["euclideandistance(mysamplevectors[idx",{"_index":2499,"title":{},"content":{"403":{"position":[[944,39]]}},"keywords":{}}],["euclideandistance(queryvector",{"_index":2315,"title":{},"content":{"394":{"position":[[805,30]]}},"keywords":{}}],["euclideandistance(samplevectors[i",{"_index":2398,"title":{},"content":{"398":{"position":[[918,35],[2204,35]]}},"keywords":{}}],["euclideandistance(samplevectors[idx",{"_index":2385,"title":{},"content":{"397":{"position":[[2099,37]]}},"keywords":{}}],["ev",{"_index":2274,"title":{},"content":{"392":{"position":[[4311,4]]}},"keywords":{}}],["ev.data.id",{"_index":2275,"title":{},"content":{"392":{"position":[[4332,11]]}},"keywords":{}}],["eval",{"_index":6384,"title":{},"content":{"1287":{"position":[[44,6],[112,5],[221,5]]}},"keywords":{}}],["evalu",{"_index":3659,"title":{},"content":{"620":{"position":[[116,10]]},"681":{"position":[[568,8]]},"783":{"position":[[168,10]]},"1271":{"position":[[513,10]]}},"keywords":{}}],["even",{"_index":192,"title":{},"content":{"13":{"position":[[259,4]]},"14":{"position":[[1173,4]]},"18":{"position":[[254,4]]},"23":{"position":[[292,4]]},"47":{"position":[[828,4]]},"53":{"position":[[127,4]]},"65":{"position":[[543,4],[1715,4]]},"110":{"position":[[41,4]]},"133":{"position":[[119,4]]},"139":{"position":[[238,4]]},"152":{"position":[[349,4]]},"157":{"position":[[83,4]]},"164":{"position":[[216,4]]},"167":{"position":[[199,4]]},"173":{"position":[[1317,4],[1442,4]]},"183":{"position":[[113,4]]},"191":{"position":[[78,4]]},"203":{"position":[[324,4]]},"212":{"position":[[291,4]]},"215":{"position":[[220,4]]},"218":{"position":[[216,4]]},"227":{"position":[[378,4]]},"248":{"position":[[166,4]]},"252":{"position":[[270,4]]},"253":{"position":[[187,4]]},"266":{"position":[[220,4]]},"273":{"position":[[300,4]]},"280":{"position":[[85,4],[256,4]]},"283":{"position":[[456,4]]},"289":{"position":[[1996,4]]},"291":{"position":[[184,4]]},"292":{"position":[[125,4],[264,4]]},"294":{"position":[[310,4]]},"303":{"position":[[1,4]]},"310":{"position":[[252,4]]},"323":{"position":[[206,4]]},"327":{"position":[[161,4]]},"328":{"position":[[261,4]]},"338":{"position":[[127,4]]},"347":{"position":[[561,4]]},"358":{"position":[[789,4]]},"362":{"position":[[753,4],[1632,4]]},"369":{"position":[[479,4]]},"375":{"position":[[990,4]]},"376":{"position":[[657,4]]},"380":{"position":[[75,4]]},"385":{"position":[[220,4]]},"390":{"position":[[1263,4]]},"400":{"position":[[674,4]]},"403":{"position":[[40,4]]},"404":{"position":[[375,4]]},"408":{"position":[[418,4],[1132,4],[5092,4],[5182,4]]},"410":{"position":[[757,4],[1223,4]]},"411":{"position":[[4078,4]]},"412":{"position":[[1556,4],[3984,4],[5080,4],[5972,4],[7108,4],[8568,4],[9691,4],[13832,4],[14611,4]]},"414":{"position":[[107,4]]},"420":{"position":[[244,4],[1286,4]]},"424":{"position":[[296,4]]},"439":{"position":[[565,4]]},"445":{"position":[[606,4]]},"446":{"position":[[232,4]]},"450":{"position":[[679,4]]},"455":{"position":[[833,4]]},"457":{"position":[[341,4]]},"461":{"position":[[457,4]]},"482":{"position":[[1235,4]]},"486":{"position":[[294,4]]},"489":{"position":[[679,4]]},"500":{"position":[[670,4]]},"502":{"position":[[438,4]]},"516":{"position":[[87,4]]},"525":{"position":[[329,4]]},"534":{"position":[[262,4]]},"541":{"position":[[863,4]]},"550":{"position":[[26,4]]},"569":{"position":[[1226,4]]},"571":{"position":[[425,4],[1263,4]]},"574":{"position":[[241,4]]},"581":{"position":[[296,4]]},"582":{"position":[[101,4]]},"591":{"position":[[702,4]]},"594":{"position":[[260,4]]},"600":{"position":[[184,4]]},"611":{"position":[[1374,4]]},"613":{"position":[[297,4],[892,4]]},"616":{"position":[[653,4]]},"617":{"position":[[172,4],[371,4]]},"630":{"position":[[703,4]]},"632":{"position":[[698,4]]},"634":{"position":[[384,4]]},"662":{"position":[[181,4]]},"685":{"position":[[180,4]]},"688":{"position":[[651,4]]},"699":{"position":[[676,4]]},"701":{"position":[[732,4]]},"702":{"position":[[524,4]]},"704":{"position":[[283,4],[439,4]]},"705":{"position":[[539,4],[1388,4]]},"709":{"position":[[865,4]]},"723":{"position":[[178,4],[2381,4]]},"724":{"position":[[900,4]]},"778":{"position":[[456,4]]},"779":{"position":[[7,4]]},"781":{"position":[[749,4]]},"838":{"position":[[210,4],[3350,4]]},"854":{"position":[[1245,4]]},"860":{"position":[[412,4]]},"912":{"position":[[363,4]]},"956":{"position":[[101,4]]},"986":{"position":[[143,4]]},"988":{"position":[[1398,4]]},"1072":{"position":[[252,4]]},"1085":{"position":[[663,4]]},"1092":{"position":[[559,4]]},"1093":{"position":[[254,4]]},"1124":{"position":[[1680,4]]},"1132":{"position":[[253,4]]},"1133":{"position":[[586,4]]},"1161":{"position":[[174,4]]},"1164":{"position":[[991,4]]},"1180":{"position":[[174,4]]},"1198":{"position":[[940,4],[1404,4]]},"1206":{"position":[[368,4]]},"1207":{"position":[[419,4]]},"1209":{"position":[[286,4],[472,4]]},"1246":{"position":[[841,4]]},"1252":{"position":[[322,4]]},"1282":{"position":[[288,4]]},"1295":{"position":[[1142,4]]},"1304":{"position":[[1351,4]]},"1314":{"position":[[112,4]]},"1316":{"position":[[1999,4]]},"1318":{"position":[[759,4]]},"1319":{"position":[[653,4]]},"1320":{"position":[[327,4],[758,4]]}},"keywords":{}}],["event",{"_index":116,"title":{"140":{"position":[[19,5]]},"168":{"position":[[19,5]]},"196":{"position":[[19,5]]},"344":{"position":[[19,5]]},"509":{"position":[[19,5]]},"529":{"position":[[19,5]]},"609":{"position":[[26,6]]},"612":{"position":[[21,8]]},"626":{"position":[[22,6]]},"985":{"position":[[0,5]]},"1318":{"position":[[0,5]]}},"content":{"8":{"position":[[483,6]]},"11":{"position":[[744,5]]},"134":{"position":[[286,6]]},"140":{"position":[[293,5]]},"153":{"position":[[218,5]]},"168":{"position":[[32,5]]},"174":{"position":[[1680,6]]},"196":{"position":[[42,6],[140,5]]},"234":{"position":[[112,6]]},"255":{"position":[[247,5]]},"302":{"position":[[250,6],[431,5]]},"320":{"position":[[52,5]]},"326":{"position":[[38,5]]},"331":{"position":[[342,5]]},"334":{"position":[[536,5]]},"411":{"position":[[4440,8]]},"432":{"position":[[624,6],[831,6],[916,7]]},"445":{"position":[[1373,6]]},"458":{"position":[[530,6],[609,6],[664,5],[762,6],[858,7]]},"459":{"position":[[893,7],[951,7]]},"464":{"position":[[220,6]]},"481":{"position":[[498,5]]},"490":{"position":[[450,5],[504,5]]},"491":{"position":[[641,6],[1680,6]]},"529":{"position":[[68,6],[145,5]]},"566":{"position":[[499,8]]},"569":{"position":[[219,7]]},"571":{"position":[[148,6]]},"579":{"position":[[544,5]]},"610":{"position":[[1589,6]]},"612":{"position":[[13,6],[397,6],[585,5],[658,6],[824,7],[875,5],[974,6],[991,7],[1121,5],[1237,6],[1266,5],[1592,5],[1645,5],[2182,5]]},"616":{"position":[[547,6]]},"619":{"position":[[273,6]]},"620":{"position":[[54,6]]},"621":{"position":[[201,7],[569,5]]},"622":{"position":[[214,7]]},"623":{"position":[[184,7]]},"624":{"position":[[134,6],[593,5]]},"626":{"position":[[71,6],[163,6],[380,7],[498,6],[833,5],[1113,6]]},"628":{"position":[[114,6]]},"698":{"position":[[1077,5],[1130,5],[1244,5],[2450,6],[2575,5]]},"711":{"position":[[1519,7]]},"740":{"position":[[355,6]]},"755":{"position":[[167,6]]},"826":{"position":[[91,6]]},"846":{"position":[[1419,7]]},"875":{"position":[[4167,5],[4531,5],[6682,5],[6916,7],[6990,6],[7053,6],[7726,5],[7874,6],[7981,6],[8229,5],[8772,6],[9340,6]]},"876":{"position":[[302,6]]},"879":{"position":[[477,5],[604,6]]},"882":{"position":[[21,7]]},"885":{"position":[[467,7]]},"886":{"position":[[5056,6]]},"890":{"position":[[115,7]]},"941":{"position":[[202,5]]},"953":{"position":[[200,6]]},"961":{"position":[[194,6]]},"964":{"position":[[167,5],[271,6]]},"970":{"position":[[69,6]]},"979":{"position":[[7,6],[189,6],[388,5]]},"984":{"position":[[671,5]]},"985":{"position":[[51,6],[225,6],[285,6],[525,7],[585,5]]},"988":{"position":[[4096,6],[5054,7],[5561,5],[5906,6],[6096,6]]},"996":{"position":[[344,6]]},"1088":{"position":[[509,6]]},"1124":{"position":[[830,7],[1261,6]]},"1126":{"position":[[223,6],[514,5],[819,6]]},"1230":{"position":[[155,6]]},"1300":{"position":[[798,5],[1055,5]]},"1318":{"position":[[34,5],[126,6],[292,6],[555,5],[1117,6]]}},"keywords":{}}],["event.checkpoint",{"_index":5031,"title":{},"content":{"875":{"position":[[5352,16]]}},"keywords":{}}],["event.data",{"_index":3575,"title":{},"content":{"611":{"position":[[891,12]]},"612":{"position":[[1310,12]]},"988":{"position":[[5365,10]]}},"keywords":{}}],["event.documents.push(changerow.newdocumentst",{"_index":5030,"title":{},"content":{"875":{"position":[[5302,49]]}},"keywords":{}}],["eventdata",{"_index":5052,"title":{},"content":{"875":{"position":[[8249,9]]}},"keywords":{}}],["eventdata.checkpoint",{"_index":5056,"title":{},"content":{"875":{"position":[[8350,20]]}},"keywords":{}}],["eventdata.docu",{"_index":5055,"title":{},"content":{"875":{"position":[[8317,20]]}},"keywords":{}}],["eventreduc",{"_index":981,"title":{"78":{"position":[[36,11]]},"108":{"position":[[36,11]]},"234":{"position":[[36,11]]},"277":{"position":[[31,12]]},"965":{"position":[[0,12]]},"1256":{"position":[[0,12]]}},"content":{"78":{"position":[[8,11]]},"108":{"position":[[18,11]]},"174":{"position":[[1538,11],[1583,11]]},"209":{"position":[[336,12]]},"234":{"position":[[42,11]]},"255":{"position":[[680,12]]},"277":{"position":[[34,12],[150,11]]},"283":{"position":[[357,11]]},"334":{"position":[[505,12]]},"369":{"position":[[1226,11]]},"411":{"position":[[3412,11]]},"522":{"position":[[644,12],[672,11]]},"571":{"position":[[1736,11]]},"579":{"position":[[514,12]]},"799":{"position":[[227,11]]},"960":{"position":[[539,12],[567,11]]},"965":{"position":[[222,11],[334,12]]},"1065":{"position":[[1640,11]]},"1071":{"position":[[458,11]]},"1083":{"position":[[279,11]]},"1318":{"position":[[852,11]]}},"keywords":{}}],["events.get",{"_index":5944,"title":{},"content":{"1102":{"position":[[1226,10]]}},"keywords":{}}],["eventsnotif",{"_index":4520,"title":{},"content":{"765":{"position":[[253,19]]}},"keywords":{}}],["eventsourc",{"_index":3585,"title":{"882":{"position":[[7,11]]}},"content":{"612":{"position":[[745,11],[906,11],[1359,11]]},"616":{"position":[[739,11],[982,11],[1025,11]]},"617":{"position":[[1677,12]]},"875":{"position":[[8114,11],[8132,12],[8588,11],[9533,11],[9551,12]]},"882":{"position":[[33,11],[87,11],[262,11],[430,12]]}},"keywords":{}}],["eventsource("https://example.com/events"",{"_index":3588,"title":{},"content":{"612":{"position":[[1156,52]]}},"keywords":{}}],["eventsource.onerror",{"_index":5058,"title":{},"content":{"875":{"position":[[8959,19]]}},"keywords":{}}],["eventsource.onmessag",{"_index":5051,"title":{},"content":{"875":{"position":[[8205,21],[9624,21]]}},"keywords":{}}],["eventu",{"_index":1860,"title":{"700":{"position":[[0,8]]}},"content":{"304":{"position":[[187,10]]},"407":{"position":[[292,10]]},"411":{"position":[[4739,10]]},"412":{"position":[[5578,8],[5652,10],[5847,11],[6356,8]]},"660":{"position":[[383,11]]},"1125":{"position":[[399,10]]}},"keywords":{}}],["everyday",{"_index":3294,"title":{},"content":{"535":{"position":[[85,8]]},"595":{"position":[[85,8]]}},"keywords":{}}],["everyon",{"_index":1619,"title":{},"content":{"267":{"position":[[783,8]]},"412":{"position":[[4242,8],[11658,8]]},"446":{"position":[[714,8]]}},"keywords":{}}],["everyth",{"_index":156,"title":{"1320":{"position":[[0,10]]}},"content":{"11":{"position":[[397,10]]},"18":{"position":[[137,10],[218,10]]},"28":{"position":[[68,10]]},"188":{"position":[[1768,10]]},"358":{"position":[[34,10],[410,11],[1018,10]]},"362":{"position":[[560,10]]},"394":{"position":[[140,10]]},"407":{"position":[[679,10]]},"412":{"position":[[6811,10],[8745,10]]},"421":{"position":[[185,10],[845,10]]},"460":{"position":[[1050,10],[1404,11]]},"464":{"position":[[1059,10]]},"469":{"position":[[367,10]]},"478":{"position":[[180,10]]},"481":{"position":[[460,10]]},"483":{"position":[[485,10]]},"668":{"position":[[134,10],[400,10]]},"697":{"position":[[404,10]]},"699":{"position":[[423,10]]},"702":{"position":[[719,10]]},"704":{"position":[[534,10]]},"705":{"position":[[601,10]]},"772":{"position":[[2003,10]]},"773":{"position":[[412,10]]},"835":{"position":[[197,10]]},"997":{"position":[[63,10]]},"1066":{"position":[[174,10]]},"1072":{"position":[[1438,10]]},"1292":{"position":[[419,10]]},"1313":{"position":[[284,10],[356,10]]},"1315":{"position":[[1669,11]]},"1316":{"position":[[1017,10]]},"1318":{"position":[[268,10]]},"1320":{"position":[[650,10]]},"1324":{"position":[[465,10]]}},"keywords":{}}],["everything.no",{"_index":3408,"title":{},"content":{"559":{"position":[[1283,13]]}},"keywords":{}}],["everywher",{"_index":1334,"title":{"207":{"position":[[9,10]]}},"content":{},"keywords":{}}],["evict",{"_index":1757,"title":{},"content":{"299":{"position":[[995,8]]},"305":{"position":[[140,8]]},"412":{"position":[[7797,5],[7987,8]]}},"keywords":{}}],["evid",{"_index":2478,"title":{},"content":{"401":{"position":[[619,7]]}},"keywords":{}}],["evolut",{"_index":1431,"title":{},"content":{"240":{"position":[[332,10]]}},"keywords":{}}],["evolv",{"_index":860,"title":{"352":{"position":[[13,8]]}},"content":{"57":{"position":[[273,6]]},"110":{"position":[[218,8]]},"170":{"position":[[589,7]]},"174":{"position":[[2265,8]]},"202":{"position":[[456,8]]},"282":{"position":[[362,6]]},"299":{"position":[[1197,8]]},"320":{"position":[[300,7]]},"353":{"position":[[275,8]]},"354":{"position":[[1604,8]]},"362":{"position":[[74,9]]},"367":{"position":[[283,8]]},"369":{"position":[[851,8]]},"382":{"position":[[324,6]]},"412":{"position":[[11040,8]]},"419":{"position":[[628,7]]},"510":{"position":[[13,8]]},"530":{"position":[[600,7]]},"636":{"position":[[17,6]]},"836":{"position":[[2139,7]]}},"keywords":{}}],["evtsourc",{"_index":3587,"title":{},"content":{"612":{"position":[[1140,9]]}},"keywords":{}}],["evtsource.onmessag",{"_index":3589,"title":{},"content":{"612":{"position":[[1244,19]]}},"keywords":{}}],["ex",{"_index":4847,"title":{},"content":{"849":{"position":[[632,4]]}},"keywords":{}}],["exact",{"_index":2165,"title":{},"content":{"383":{"position":[[514,5]]},"390":{"position":[[339,5],[478,5],[1303,5]]},"626":{"position":[[1168,5]]},"679":{"position":[[262,5]]},"686":{"position":[[585,5]]},"749":{"position":[[1468,5]]},"756":{"position":[[289,5]]},"872":{"position":[[3652,5]]},"888":{"position":[[607,5]]},"1091":{"position":[[129,5]]},"1157":{"position":[[186,5]]},"1257":{"position":[[65,5]]},"1316":{"position":[[249,5]]}},"keywords":{}}],["exactli",{"_index":2130,"title":{},"content":{"369":{"position":[[1536,7]]},"412":{"position":[[961,7]]},"562":{"position":[[1657,7]]},"683":{"position":[[224,7]]},"684":{"position":[[114,7]]},"703":{"position":[[669,7],[838,7]]},"723":{"position":[[883,7]]},"737":{"position":[[106,7],[301,7]]},"755":{"position":[[85,7]]},"779":{"position":[[286,7]]},"981":{"position":[[1602,7]]},"1100":{"position":[[101,7]]},"1183":{"position":[[361,7]]},"1267":{"position":[[454,7]]},"1318":{"position":[[55,7]]}},"keywords":{}}],["examin",{"_index":2647,"title":{},"content":{"412":{"position":[[172,7]]}},"keywords":{}}],["exampl",{"_index":19,"title":{"56":{"position":[[18,7]]},"261":{"position":[[0,8]]},"315":{"position":[[11,8]]},"316":{"position":[[12,8]]},"425":{"position":[[45,8]]},"480":{"position":[[12,8]]},"493":{"position":[[8,8]]},"494":{"position":[[6,8]]},"543":{"position":[[16,7]]},"562":{"position":[[11,7]]},"603":{"position":[[14,7]]},"691":{"position":[[0,8]]},"736":{"position":[[9,8]]},"739":{"position":[[5,8]]},"741":{"position":[[5,8]]},"812":{"position":[[0,7]]},"813":{"position":[[0,7]]},"848":{"position":[[5,8]]},"1065":{"position":[[6,9]]},"1074":{"position":[[0,8]]},"1080":{"position":[[6,8]]},"1236":{"position":[[14,9]]}},"content":{"1":{"position":[[291,7]]},"51":{"position":[[1014,7],[1053,8]]},"56":{"position":[[17,7]]},"149":{"position":[[453,7]]},"188":{"position":[[1701,7]]},"198":{"position":[[508,7]]},"228":{"position":[[358,7]]},"241":{"position":[[319,9]]},"255":{"position":[[306,8]]},"261":{"position":[[994,7]]},"296":{"position":[[24,7]]},"303":{"position":[[447,8]]},"315":{"position":[[120,7]]},"334":{"position":[[20,7]]},"335":{"position":[[107,8],[552,7]]},"347":{"position":[[443,9],[469,8]]},"361":{"position":[[455,8]]},"362":{"position":[[1514,9],[1540,8]]},"365":{"position":[[887,8]]},"367":{"position":[[686,7]]},"373":{"position":[[319,9]]},"390":{"position":[[591,8]]},"392":{"position":[[773,7],[2489,8]]},"394":{"position":[[1551,8]]},"396":{"position":[[1304,7]]},"397":{"position":[[376,7]]},"402":{"position":[[275,7],[838,8],[2307,7]]},"404":{"position":[[597,7]]},"408":{"position":[[539,8]]},"411":{"position":[[3809,8],[4308,8]]},"412":{"position":[[998,7],[3085,8],[4373,7],[5190,7],[6843,8],[9902,8],[10847,7],[12510,8],[13861,7]]},"425":{"position":[[36,8]]},"426":{"position":[[261,7]]},"429":{"position":[[471,7]]},"451":{"position":[[495,7]]},"459":{"position":[[454,8]]},"469":{"position":[[163,7],[593,7]]},"482":{"position":[[149,8]]},"497":{"position":[[391,8]]},"511":{"position":[[476,7]]},"523":{"position":[[216,7]]},"531":{"position":[[451,7]]},"538":{"position":[[160,7]]},"541":{"position":[[104,7]]},"543":{"position":[[17,7]]},"554":{"position":[[242,7],[309,7]]},"556":{"position":[[209,8]]},"557":{"position":[[170,7]]},"567":{"position":[[523,8],[775,9],[855,7]]},"571":{"position":[[674,7]]},"579":{"position":[[107,7],[876,8]]},"580":{"position":[[225,7]]},"591":{"position":[[582,7],[625,7],[685,9],[721,8]]},"598":{"position":[[161,7]]},"601":{"position":[[11,7]]},"603":{"position":[[17,7]]},"616":{"position":[[965,7]]},"626":{"position":[[627,7]]},"632":{"position":[[1003,7],[2073,7]]},"634":{"position":[[265,8]]},"638":{"position":[[195,8]]},"656":{"position":[[202,8]]},"661":{"position":[[1497,7]]},"678":{"position":[[218,8]]},"681":{"position":[[239,7]]},"685":{"position":[[443,7]]},"688":{"position":[[584,8]]},"691":{"position":[[5,8],[519,8]]},"696":{"position":[[1946,7]]},"697":{"position":[[126,7]]},"701":{"position":[[480,7]]},"703":{"position":[[342,7]]},"710":{"position":[[170,8],[2525,7]]},"728":{"position":[[119,7]]},"730":{"position":[[8,8]]},"739":{"position":[[29,7]]},"741":{"position":[[9,7]]},"742":{"position":[[17,7]]},"757":{"position":[[46,8]]},"774":{"position":[[338,7]]},"796":{"position":[[260,8]]},"798":{"position":[[327,7]]},"799":{"position":[[339,7]]},"820":{"position":[[223,7]]},"821":{"position":[[413,7],[688,7]]},"824":{"position":[[288,7]]},"825":{"position":[[1055,7],[1142,7]]},"826":{"position":[[280,7]]},"832":{"position":[[28,7],[277,7]]},"837":{"position":[[342,7]]},"838":{"position":[[3253,7]]},"842":{"position":[[97,7]]},"866":{"position":[[691,7]]},"872":{"position":[[1437,7]]},"873":{"position":[[34,7]]},"885":{"position":[[122,7],[2672,8],[2726,7]]},"888":{"position":[[128,7],[910,7]]},"889":{"position":[[67,7],[646,7],[1100,8]]},"890":{"position":[[989,7]]},"898":{"position":[[791,7]]},"904":{"position":[[178,7],[1135,7]]},"906":{"position":[[534,7],[756,7]]},"913":{"position":[[169,7]]},"962":{"position":[[461,7]]},"964":{"position":[[212,7]]},"968":{"position":[[321,7]]},"981":{"position":[[990,7]]},"984":{"position":[[382,7]]},"986":{"position":[[681,7]]},"988":{"position":[[3640,7]]},"990":{"position":[[1029,7]]},"995":{"position":[[1308,7]]},"1009":{"position":[[38,8]]},"1022":{"position":[[135,7]]},"1033":{"position":[[408,7]]},"1048":{"position":[[94,7],[397,8]]},"1065":{"position":[[11,8],[378,7],[952,7],[1229,7]]},"1069":{"position":[[438,8]]},"1072":{"position":[[2619,8]]},"1074":{"position":[[9,7]]},"1084":{"position":[[294,8]]},"1085":{"position":[[1204,8]]},"1095":{"position":[[124,7]]},"1104":{"position":[[656,7]]},"1105":{"position":[[429,7]]},"1106":{"position":[[134,7],[345,7]]},"1115":{"position":[[173,7]]},"1118":{"position":[[202,7]]},"1121":{"position":[[170,7]]},"1124":{"position":[[396,7],[2010,7]]},"1132":{"position":[[741,7]]},"1135":{"position":[[153,7]]},"1139":{"position":[[84,7]]},"1145":{"position":[[80,7]]},"1149":{"position":[[503,7]]},"1150":{"position":[[410,7]]},"1165":{"position":[[143,7]]},"1191":{"position":[[259,7]]},"1198":{"position":[[1020,7],[1357,7]]},"1213":{"position":[[434,7]]},"1222":{"position":[[1114,7]]},"1236":{"position":[[61,8]]},"1252":{"position":[[91,7]]},"1268":{"position":[[298,7]]},"1271":{"position":[[997,8],[1652,8]]},"1272":{"position":[[422,7]]},"1274":{"position":[[457,7]]},"1279":{"position":[[844,7]]},"1296":{"position":[[241,7]]},"1300":{"position":[[358,7],[556,7]]},"1318":{"position":[[152,7]]}},"keywords":{}}],["example.if",{"_index":4586,"title":{},"content":{"776":{"position":[[27,10]]}},"keywords":{}}],["example.txt",{"_index":6201,"title":{},"content":{"1208":{"position":[[894,14]]}},"keywords":{}}],["exampledb",{"_index":1613,"title":{},"content":{"266":{"position":[[689,12]]},"662":{"position":[[2151,12]]},"710":{"position":[[1720,12]]},"772":{"position":[[795,12]]},"773":{"position":[[585,12]]},"774":{"position":[[687,12]]},"838":{"position":[[2322,12]]},"1125":{"position":[[312,12]]},"1130":{"position":[[185,12]]},"1134":{"position":[[162,12]]},"1138":{"position":[[306,12]]},"1139":{"position":[[561,12]]},"1140":{"position":[[620,12]]},"1144":{"position":[[210,12]]},"1145":{"position":[[550,12]]},"1146":{"position":[[255,12]]},"1158":{"position":[[218,12]]},"1159":{"position":[[404,12]]},"1168":{"position":[[166,12]]},"1172":{"position":[[331,12]]},"1189":{"position":[[429,12]]},"1201":{"position":[[206,12]]},"1271":{"position":[[1595,12]]},"1274":{"position":[[346,12]]},"1275":{"position":[[357,12]]},"1276":{"position":[[959,12]]},"1277":{"position":[[406,12]]},"1278":{"position":[[483,12],[935,12]]},"1279":{"position":[[733,12]]},"1280":{"position":[[468,12]]}},"keywords":{}}],["examples"",{"_index":1500,"title":{},"content":{"244":{"position":[[781,14]]}},"keywords":{}}],["examplether",{"_index":4013,"title":{},"content":{"712":{"position":[[104,12]]}},"keywords":{}}],["exce",{"_index":1794,"title":{"303":{"position":[[10,6]]}},"content":{"302":{"position":[[48,7]]}},"keywords":{}}],["exceed",{"_index":1793,"title":{},"content":{"301":{"position":[[731,9]]},"302":{"position":[[925,9]]},"932":{"position":[[291,9]]}},"keywords":{}}],["excel",{"_index":961,"title":{"200":{"position":[[15,9]]}},"content":{"71":{"position":[[12,9]]},"98":{"position":[[38,5]]},"102":{"position":[[23,9]]},"105":{"position":[[100,9]]},"110":{"position":[[6,6]]},"174":{"position":[[771,9]]},"179":{"position":[[212,9]]},"225":{"position":[[21,5]]},"229":{"position":[[186,9]]},"232":{"position":[[94,9]]},"262":{"position":[[128,5]]},"265":{"position":[[845,9]]},"267":{"position":[[236,9]]},"280":{"position":[[115,6]]},"283":{"position":[[8,9]]},"289":{"position":[[630,6]]},"292":{"position":[[54,6]]},"354":{"position":[[464,6]]},"362":{"position":[[673,5]]},"378":{"position":[[191,6]]},"426":{"position":[[23,6]]},"429":{"position":[[171,6]]},"441":{"position":[[146,9]]},"445":{"position":[[895,9]]},"491":{"position":[[1780,6]]},"530":{"position":[[493,5]]},"540":{"position":[[6,6]]},"559":{"position":[[1577,10]]},"600":{"position":[[6,6]]},"624":{"position":[[641,5]]}},"keywords":{}}],["except",{"_index":1194,"title":{},"content":{"170":{"position":[[18,11]]},"198":{"position":[[437,11]]},"267":{"position":[[1237,11]]},"271":{"position":[[143,11]]},"290":{"position":[[182,11]]},"302":{"position":[[142,10]]},"353":{"position":[[45,11]]},"447":{"position":[[484,11]]},"886":{"position":[[4554,6]]}},"keywords":{}}],["excess",{"_index":2551,"title":{},"content":{"408":{"position":[[2740,9]]},"430":{"position":[[707,9]]}},"keywords":{}}],["exchang",{"_index":1590,"title":{},"content":{"261":{"position":[[1195,9]]},"289":{"position":[[1925,8]]},"375":{"position":[[666,8]]},"611":{"position":[[172,8]]},"614":{"position":[[358,8]]},"621":{"position":[[168,8]]},"901":{"position":[[112,8]]}},"keywords":{}}],["excit",{"_index":2641,"title":{},"content":{"411":{"position":[[5428,7]]}},"keywords":{}}],["exclam",{"_index":6217,"title":{},"content":{"1208":{"position":[[1483,11]]}},"keywords":{}}],["exclud",{"_index":4646,"title":{},"content":{"796":{"position":[[1288,7]]},"1266":{"position":[[760,8]]}},"keywords":{}}],["exclus",{"_index":3581,"title":{},"content":{"612":{"position":[[134,11]]}},"keywords":{}}],["exec",{"_index":805,"title":{"1057":{"position":[[0,7]]}},"content":{"52":{"position":[[440,10],[526,10],[673,10]]},"276":{"position":[[464,10]]},"398":{"position":[[1175,10],[1336,9],[2505,10]]},"539":{"position":[[440,10],[526,10],[673,10]]},"599":{"position":[[467,10],[553,10],[704,10]]},"662":{"position":[[2736,10]]},"710":{"position":[[2043,10]]},"772":{"position":[[1063,10]]},"799":{"position":[[603,12]]},"838":{"position":[[2950,10]]},"949":{"position":[[184,8]]},"1022":{"position":[[1073,10]]},"1067":{"position":[[2024,10]]},"1158":{"position":[[733,10]]}},"keywords":{}}],["exec().then(doc",{"_index":5358,"title":{},"content":{"950":{"position":[[305,18],[443,16]]}},"keywords":{}}],["exec().then(docu",{"_index":5764,"title":{},"content":{"1065":{"position":[[267,22],[846,22],[1135,22],[1357,22],[1474,22]]}},"keywords":{}}],["exec(tru",{"_index":3357,"title":{},"content":{"555":{"position":[[534,14]]},"556":{"position":[[876,14]]},"1057":{"position":[[243,11],[493,12]]}},"keywords":{}}],["execut",{"_index":1049,"title":{},"content":{"108":{"position":[[168,9]]},"138":{"position":[[152,10]]},"166":{"position":[[168,10]]},"173":{"position":[[2557,8]]},"174":{"position":[[1700,10]]},"220":{"position":[[159,8]]},"254":{"position":[[53,7]]},"283":{"position":[[132,10]]},"408":{"position":[[3565,9]]},"454":{"position":[[75,9]]},"479":{"position":[[481,9]]},"723":{"position":[[504,7],[703,8]]},"801":{"position":[[171,8]]},"802":{"position":[[288,7],[529,9]]},"816":{"position":[[331,8]]},"829":{"position":[[2674,8],[2760,9]]},"898":{"position":[[1333,7]]},"949":{"position":[[196,7]]},"1072":{"position":[[1344,7]]},"1316":{"position":[[1753,7]]}},"keywords":{}}],["exhibit",{"_index":1758,"title":{},"content":{"299":{"position":[[1063,7]]}},"keywords":{}}],["exist",{"_index":1169,"title":{"857":{"position":[[38,8]]}},"content":{"155":{"position":[[150,8]]},"230":{"position":[[205,8]]},"249":{"position":[[147,8]]},"260":{"position":[[62,8],[149,6]]},"266":{"position":[[770,6]]},"354":{"position":[[975,8]]},"361":{"position":[[71,6]]},"396":{"position":[[17,5]]},"402":{"position":[[1976,5]]},"411":{"position":[[3482,8]]},"412":{"position":[[1426,8],[1916,8],[2546,8]]},"445":{"position":[[1855,8]]},"458":{"position":[[249,5]]},"481":{"position":[[236,5]]},"535":{"position":[[1202,6]]},"616":{"position":[[282,8]]},"632":{"position":[[872,8]]},"653":{"position":[[615,8]]},"683":{"position":[[630,9],[663,7],[806,5],[826,8],[884,6],[963,7]]},"686":{"position":[[474,8]]},"698":{"position":[[2335,8]]},"719":{"position":[[111,8]]},"749":{"position":[[5038,7],[5635,7],[6758,8],[9293,5],[9866,7],[9980,7],[10832,5],[14314,6],[22072,6]]},"754":{"position":[[485,8]]},"759":{"position":[[1037,5]]},"774":{"position":[[1036,6]]},"806":{"position":[[234,8]]},"848":{"position":[[362,6]]},"857":{"position":[[184,8]]},"875":{"position":[[7164,5]]},"885":{"position":[[32,5]]},"887":{"position":[[22,8],[499,8]]},"898":{"position":[[854,6]]},"919":{"position":[[78,6]]},"939":{"position":[[11,8]]},"943":{"position":[[148,6],[231,8],[347,8]]},"946":{"position":[[37,5]]},"951":{"position":[[255,5]]},"958":{"position":[[586,5]]},"986":{"position":[[463,6]]},"989":{"position":[[418,5]]},"995":{"position":[[1587,6]]},"1014":{"position":[[110,7]]},"1015":{"position":[[64,7],[90,7]]},"1016":{"position":[[103,7]]},"1017":{"position":[[82,7]]},"1057":{"position":[[279,6]]},"1065":{"position":[[1010,8],[1110,8]]},"1108":{"position":[[94,5]]},"1159":{"position":[[33,6]]},"1164":{"position":[[711,8]]},"1222":{"position":[[869,8]]},"1251":{"position":[[252,5]]},"1272":{"position":[[393,8]]},"1298":{"position":[[284,7]]},"1300":{"position":[[129,6],[1097,6]]},"1304":{"position":[[1967,8]]},"1309":{"position":[[110,8]]}},"keywords":{}}],["exit",{"_index":459,"title":{},"content":{"28":{"position":[[380,6],[452,5]]},"30":{"position":[[187,6]]},"773":{"position":[[303,6]]},"1030":{"position":[[34,4]]},"1164":{"position":[[1022,5]]},"1192":{"position":[[367,6]]},"1300":{"position":[[849,6]]}},"keywords":{}}],["expand",{"_index":2125,"title":{},"content":{"369":{"position":[[579,8]]},"408":{"position":[[2204,8]]},"480":{"position":[[105,6]]},"639":{"position":[[16,6]]},"1006":{"position":[[73,6]]}},"keywords":{}}],["expect",{"_index":2301,"title":{"409":{"position":[[13,6]]}},"content":{"394":{"position":[[164,9]]},"409":{"position":[[319,6]]},"410":{"position":[[415,6],[1492,6]]},"421":{"position":[[40,8],[1031,6],[1243,12]]},"497":{"position":[[137,8]]},"590":{"position":[[741,8]]},"622":{"position":[[567,8]]},"660":{"position":[[349,6]]},"668":{"position":[[420,8]]},"689":{"position":[[365,9]]},"749":{"position":[[4145,8]]},"880":{"position":[[229,7]]},"944":{"position":[[429,6]]},"1065":{"position":[[1668,7]]},"1188":{"position":[[194,7]]},"1313":{"position":[[611,7]]}},"keywords":{}}],["expected.do",{"_index":3832,"title":{},"content":{"668":{"position":[[154,11]]}},"keywords":{}}],["expedit",{"_index":3240,"title":{},"content":{"507":{"position":[[116,8]]},"801":{"position":[[664,8]]}},"keywords":{}}],["expens",{"_index":500,"title":{},"content":{"31":{"position":[[282,9]]},"204":{"position":[[306,8]]},"262":{"position":[[217,10]]},"376":{"position":[[305,9]]},"412":{"position":[[4834,10]]},"490":{"position":[[571,9]]},"711":{"position":[[2176,9]]},"902":{"position":[[886,9]]},"1052":{"position":[[125,9]]},"1108":{"position":[[730,10]]},"1309":{"position":[[760,10]]}},"keywords":{}}],["experi",{"_index":893,"title":{"201":{"position":[[26,11]]},"410":{"position":[[5,10]]},"411":{"position":[[10,10]]},"486":{"position":[[12,10]]}},"content":{"61":{"position":[[513,10]]},"65":{"position":[[417,11],[1933,12]]},"66":{"position":[[283,10]]},"69":{"position":[[165,11]]},"77":{"position":[[155,10]]},"87":{"position":[[241,11]]},"90":{"position":[[327,11]]},"101":{"position":[[272,11]]},"109":{"position":[[255,12]]},"114":{"position":[[587,12]]},"117":{"position":[[306,11]]},"125":{"position":[[306,11]]},"136":{"position":[[355,11]]},"148":{"position":[[291,11]]},"152":{"position":[[338,10]]},"156":{"position":[[326,11]]},"160":{"position":[[234,10]]},"174":{"position":[[893,12],[2314,10]]},"175":{"position":[[595,12]]},"178":{"position":[[410,10]]},"191":{"position":[[301,11]]},"198":{"position":[[454,11]]},"205":{"position":[[423,11]]},"216":{"position":[[217,12]]},"217":{"position":[[275,11]]},"221":{"position":[[305,11]]},"263":{"position":[[449,10]]},"265":{"position":[[492,12]]},"267":{"position":[[463,11]]},"269":{"position":[[350,10]]},"277":{"position":[[230,11]]},"280":{"position":[[430,11]]},"281":{"position":[[104,11]]},"283":{"position":[[445,10]]},"292":{"position":[[432,11]]},"304":{"position":[[421,10]]},"312":{"position":[[222,11]]},"346":{"position":[[712,10]]},"375":{"position":[[951,10]]},"379":{"position":[[328,11]]},"385":{"position":[[353,11]]},"407":{"position":[[717,10]]},"408":{"position":[[2086,10],[5187,12]]},"411":{"position":[[1830,11]]},"412":{"position":[[15158,10]]},"415":{"position":[[441,10]]},"421":{"position":[[720,11],[1170,10]]},"445":{"position":[[1210,11],[1543,11],[2509,10]]},"446":{"position":[[1073,11]]},"447":{"position":[[501,11]]},"474":{"position":[[305,11]]},"483":{"position":[[836,10],[1291,11]]},"485":{"position":[[68,10]]},"491":{"position":[[954,10]]},"498":{"position":[[715,10]]},"500":{"position":[[274,10]]},"510":{"position":[[111,12],[754,11]]},"517":{"position":[[385,11]]},"519":{"position":[[282,10]]},"521":{"position":[[522,10]]},"530":{"position":[[128,11]]},"534":{"position":[[108,11]]},"582":{"position":[[748,11]]},"589":{"position":[[213,11]]},"594":{"position":[[106,11]]},"641":{"position":[[65,11]]},"643":{"position":[[346,11]]},"644":{"position":[[715,10]]},"723":{"position":[[2783,10]]},"801":{"position":[[581,11]]},"913":{"position":[[335,12]]},"1009":{"position":[[705,10]]}},"keywords":{}}],["experience.limit",{"_index":2882,"title":{},"content":{"427":{"position":[[388,18]]}},"keywords":{}}],["experiences.synchron",{"_index":1917,"title":{},"content":{"321":{"position":[[119,23]]}},"keywords":{}}],["experiment",{"_index":2572,"title":{},"content":{"408":{"position":[[5266,12]]},"411":{"position":[[5183,12]]},"458":{"position":[[892,12]]},"624":{"position":[[1139,12]]},"863":{"position":[[822,12],[929,12]]}},"keywords":{}}],["expir",{"_index":1854,"title":{},"content":{"303":{"position":[[1402,6]]}},"keywords":{}}],["explain",{"_index":6527,"title":{},"content":{"1315":{"position":[[156,8]]}},"keywords":{}}],["explicit",{"_index":1407,"title":{"1298":{"position":[[0,8]]}},"content":{"226":{"position":[[166,8]]},"304":{"position":[[13,8]]},"351":{"position":[[68,8]]},"515":{"position":[[309,8]]},"556":{"position":[[1328,8]]},"828":{"position":[[381,8]]}},"keywords":{}}],["explicitli",{"_index":1983,"title":{},"content":{"347":{"position":[[582,10]]},"362":{"position":[[1653,10]]},"451":{"position":[[814,10]]},"502":{"position":[[65,10]]},"654":{"position":[[259,10]]},"797":{"position":[[189,10],[299,10]]},"800":{"position":[[766,10]]},"966":{"position":[[798,10]]},"1298":{"position":[[4,10],[194,10]]}},"keywords":{}}],["explor",{"_index":872,"title":{"425":{"position":[[0,9]]},"504":{"position":[[0,9]]}},"content":{"59":{"position":[[36,8]]},"61":{"position":[[195,7]]},"65":{"position":[[16,8]]},"84":{"position":[[4,7]]},"114":{"position":[[4,7]]},"127":{"position":[[71,7]]},"132":{"position":[[178,7]]},"149":{"position":[[4,7]]},"173":{"position":[[211,7]]},"174":{"position":[[121,7]]},"175":{"position":[[12,7]]},"180":{"position":[[72,7]]},"187":{"position":[[57,7]]},"190":{"position":[[124,7]]},"193":{"position":[[111,7]]},"229":{"position":[[163,7]]},"241":{"position":[[12,7]]},"263":{"position":[[238,10]]},"284":{"position":[[118,7]]},"287":{"position":[[288,7]]},"306":{"position":[[218,7]]},"318":{"position":[[366,7]]},"347":{"position":[[4,7]]},"362":{"position":[[1084,7]]},"373":{"position":[[12,7]]},"432":{"position":[[100,7]]},"483":{"position":[[558,7]]},"498":{"position":[[330,7]]},"511":{"position":[[4,7]]},"531":{"position":[[4,7]]},"544":{"position":[[347,8]]},"546":{"position":[[328,8]]},"567":{"position":[[201,7]]},"591":{"position":[[4,7],[601,7]]},"602":{"position":[[11,9]]},"606":{"position":[[318,8]]},"1141":{"position":[[297,9]]},"1151":{"position":[[561,7]]},"1178":{"position":[[560,7]]},"1207":{"position":[[153,8]]},"1215":{"position":[[246,8]]}},"keywords":{}}],["expo",{"_index":294,"title":{"1278":{"position":[[11,4]]}},"content":{"17":{"position":[[342,4]]},"793":{"position":[[324,5]]},"1214":{"position":[[714,5]]},"1278":{"position":[[13,4],[84,4],[177,4],[416,5],[636,4],[868,5]]}},"keywords":{}}],["expo/react",{"_index":4147,"title":{},"content":{"749":{"position":[[1150,10]]},"917":{"position":[[394,10]]}},"keywords":{}}],["export",{"_index":158,"title":{},"content":{"11":{"position":[[511,6]]},"51":{"position":[[628,6]]},"55":{"position":[[350,6]]},"392":{"position":[[4022,6]]},"412":{"position":[[4481,6]]},"494":{"position":[[425,6]]},"559":{"position":[[780,6]]},"562":{"position":[[1575,6]]},"579":{"position":[[286,6]]},"598":{"position":[[386,6]]},"808":{"position":[[111,6],[486,6]]},"825":{"position":[[888,6]]},"829":{"position":[[1848,6]]},"837":{"position":[[1890,6]]},"898":{"position":[[2297,6],[3028,6]]},"952":{"position":[[36,6]]},"971":{"position":[[36,6]]},"1309":{"position":[[484,6]]}},"keywords":{}}],["exportjson",{"_index":5365,"title":{"952":{"position":[[0,13]]},"971":{"position":[[0,13]]}},"content":{"952":{"position":[[90,12]]},"971":{"position":[[202,12]]}},"keywords":{}}],["expos",{"_index":1124,"title":{},"content":{"140":{"position":[[6,7]]},"346":{"position":[[71,6]]},"494":{"position":[[118,7]]},"563":{"position":[[16,7]]},"708":{"position":[[310,7]]},"714":{"position":[[686,6]]},"730":{"position":[[199,8]]},"828":{"position":[[226,8]]},"831":{"position":[[169,6]]},"871":{"position":[[253,7]]},"897":{"position":[[376,7]]},"1102":{"position":[[19,7],[1084,7]]},"1207":{"position":[[537,7]]},"1214":{"position":[[500,6]]},"1228":{"position":[[225,7]]},"1231":{"position":[[830,6]]}},"keywords":{}}],["exposeipcmainrxstorag",{"_index":3924,"title":{},"content":{"693":{"position":[[325,22],[721,22],[889,24]]},"1214":{"position":[[544,24]]}},"keywords":{}}],["exposerxstorageremot",{"_index":6249,"title":{},"content":{"1218":{"position":[[703,21],[763,23]]}},"keywords":{}}],["exposeworkerrxstorag",{"_index":6237,"title":{},"content":{"1212":{"position":[[195,21],[374,21],[478,23]]},"1225":{"position":[[137,21],[277,23]]},"1228":{"position":[[177,21]]},"1231":{"position":[[450,21],[866,23]]},"1263":{"position":[[23,21],[171,23]]},"1268":{"position":[[578,21],[726,23]]}},"keywords":{}}],["express",{"_index":3592,"title":{},"content":{"612":{"position":[[1734,7],[1755,7],[1768,10],[1791,10]]},"689":{"position":[[249,7]]},"872":{"position":[[3229,9]]},"875":{"position":[[638,7],[691,7],[844,7],[857,10],[1122,10]]},"1072":{"position":[[2564,11]]},"1097":{"position":[[409,7],[489,7],[672,9]]},"1098":{"position":[[85,8]]},"1099":{"position":[[81,8],[143,8]]}},"keywords":{}}],["extend",{"_index":1747,"title":{"313":{"position":[[21,7]]}},"content":{"299":{"position":[[390,8]]},"313":{"position":[[132,6]]},"412":{"position":[[658,8]]},"419":{"position":[[1053,8]]},"433":{"position":[[389,6]]},"502":{"position":[[1153,7]]},"518":{"position":[[6,7]]},"544":{"position":[[41,6]]},"604":{"position":[[41,6]]},"806":{"position":[[260,6]]},"846":{"position":[[1464,7]]},"890":{"position":[[160,7]]}},"keywords":{}}],["extens",{"_index":947,"title":{"439":{"position":[[24,11]]}},"content":{"66":{"position":[[548,9]]},"357":{"position":[[144,10],[160,9]]},"362":{"position":[[411,10]]},"373":{"position":[[424,9]]},"411":{"position":[[1198,9]]},"439":{"position":[[15,10],[136,9],[273,9],[322,11]]},"445":{"position":[[195,10]]},"494":{"position":[[103,9]]},"802":{"position":[[271,10]]},"898":{"position":[[837,9],[880,11]]},"1266":{"position":[[860,11]]}},"keywords":{}}],["extensions.moddatetime('_modifi",{"_index":5207,"title":{},"content":{"898":{"position":[[1350,36]]}},"keywords":{}}],["extern",{"_index":1385,"title":{"1033":{"position":[[28,8]]}},"content":{"212":{"position":[[350,8]]},"723":{"position":[[560,8]]},"1156":{"position":[[46,8]]}},"keywords":{}}],["extra",{"_index":1384,"title":{"478":{"position":[[44,5]]}},"content":{"212":{"position":[[333,5]]},"251":{"position":[[137,5]]},"291":{"position":[[55,5]]},"303":{"position":[[1344,5]]},"309":{"position":[[345,5]]},"408":{"position":[[3978,5]]},"420":{"position":[[846,5]]},"421":{"position":[[1129,5]]},"559":{"position":[[920,5]]},"802":{"position":[[160,5],[323,5]]},"1150":{"position":[[648,5]]}},"keywords":{}}],["extract",{"_index":2220,"title":{},"content":{"391":{"position":[[521,12]]},"412":{"position":[[13182,10],[13291,10],[13384,10]]},"482":{"position":[[1096,10]]}},"keywords":{}}],["extractcom",{"_index":6323,"title":{},"content":{"1266":{"position":[[1055,16]]}},"keywords":{}}],["extrem",{"_index":1826,"title":{},"content":{"303":{"position":[[389,9]]},"304":{"position":[[154,9]]},"305":{"position":[[521,7]]},"411":{"position":[[5808,7]]},"412":{"position":[[14573,9]]},"1058":{"position":[[80,9]]},"1292":{"position":[[444,9]]}},"keywords":{}}],["ey",{"_index":2150,"title":{},"content":{"377":{"position":[[398,5]]}},"keywords":{}}],["eyjhbgcioi",{"_index":5216,"title":{},"content":{"898":{"position":[[3100,15]]}},"keywords":{}}],["f",{"_index":3996,"title":{},"content":{"711":{"position":[[1014,1]]}},"keywords":{}}],["f5",{"_index":2606,"title":{},"content":{"410":{"position":[[2203,2]]},"411":{"position":[[4807,2]]},"458":{"position":[[407,2]]}},"keywords":{}}],["face",{"_index":2102,"title":{"1090":{"position":[[37,6]]}},"content":{"362":{"position":[[998,6]]},"399":{"position":[[125,4]]},"481":{"position":[[558,6]]},"624":{"position":[[888,5]]}},"keywords":{}}],["facil",{"_index":2748,"title":{},"content":{"412":{"position":[[11773,12]]}},"keywords":{}}],["facilit",{"_index":987,"title":{},"content":{"82":{"position":[[30,11]]},"173":{"position":[[150,10]]},"174":{"position":[[1126,11]]},"223":{"position":[[267,10]]},"288":{"position":[[248,10]]},"289":{"position":[[936,12]]},"365":{"position":[[1317,12]]},"367":{"position":[[330,10]]},"381":{"position":[[167,12]]},"432":{"position":[[436,11]]},"459":{"position":[[167,10]]},"504":{"position":[[594,10],[929,11],[1331,12]]},"517":{"position":[[179,10]]},"525":{"position":[[440,10]]},"529":{"position":[[123,11]]},"611":{"position":[[240,12]]}},"keywords":{}}],["fact",{"_index":2610,"title":{},"content":{"411":{"position":[[823,4]]},"569":{"position":[[1149,5]]},"703":{"position":[[107,4]]}},"keywords":{}}],["factor",{"_index":2431,"title":{},"content":{"399":{"position":[[462,6]]},"407":{"position":[[865,8]]},"408":{"position":[[4294,6]]},"412":{"position":[[10568,7]]},"696":{"position":[[1028,8]]},"780":{"position":[[51,6],[186,7]]},"1090":{"position":[[173,6]]}},"keywords":{}}],["factori",{"_index":828,"title":{"825":{"position":[[20,8]]}},"content":{"55":{"position":[[97,8],[628,7]]},"144":{"position":[[40,9]]},"602":{"position":[[96,9]]},"749":{"position":[[6626,7]]},"825":{"position":[[241,8],[258,7]]},"1118":{"position":[[270,7]]}},"keywords":{}}],["fail",{"_index":1779,"title":{},"content":{"300":{"position":[[712,4]]},"302":{"position":[[230,5]]},"411":{"position":[[5592,4]]},"412":{"position":[[7425,4],[8859,5],[11838,6]]},"487":{"position":[[300,5]]},"495":{"position":[[394,6]]},"497":{"position":[[606,5]]},"749":{"position":[[12305,6]]},"944":{"position":[[389,4]]},"988":{"position":[[900,6]]},"990":{"position":[[39,5],[249,6]]},"1320":{"position":[[409,5]]}},"keywords":{}}],["fail).app",{"_index":3200,"title":{},"content":{"497":{"position":[[165,10]]}},"keywords":{}}],["failur",{"_index":1149,"title":{},"content":{"147":{"position":[[152,9]]},"497":{"position":[[314,7],[670,8]]},"944":{"position":[[444,7]]}},"keywords":{}}],["fairli",{"_index":3441,"title":{},"content":{"566":{"position":[[311,6]]}},"keywords":{}}],["fake",{"_index":6048,"title":{},"content":{"1139":{"position":[[165,4],[381,4]]},"1145":{"position":[[161,4],[370,4]]}},"keywords":{}}],["fakeidbkeyrang",{"_index":6051,"title":{},"content":{"1139":{"position":[[458,15],[646,15]]},"1145":{"position":[[447,15],[631,15]]}},"keywords":{}}],["fakeindexeddb",{"_index":6049,"title":{},"content":{"1139":{"position":[[409,13],[618,14]]},"1145":{"position":[[398,13],[603,14]]}},"keywords":{}}],["fall",{"_index":1688,"title":{},"content":{"291":{"position":[[203,5]]},"396":{"position":[[182,4]]}},"keywords":{}}],["fallback",{"_index":494,"title":{},"content":{"30":{"position":[[333,9]]},"302":{"position":[[583,8]]},"415":{"position":[[379,8]]},"611":{"position":[[1388,9]]},"623":{"position":[[585,8]]},"624":{"position":[[1523,8]]},"1176":{"position":[[362,9]]}},"keywords":{}}],["fallen",{"_index":2910,"title":{},"content":{"434":{"position":[[66,6]]}},"keywords":{}}],["fals",{"_index":1257,"title":{"1230":{"position":[[19,6]]}},"content":{"188":{"position":[[1164,5]]},"276":{"position":[[454,5]]},"314":{"position":[[565,5]]},"480":{"position":[[749,5]]},"522":{"position":[[704,6]]},"562":{"position":[[254,5]]},"647":{"position":[[181,6],[228,6]]},"649":{"position":[[122,6],[455,5]]},"683":{"position":[[835,5]]},"746":{"position":[[568,6]]},"752":{"position":[[448,6],[709,6]]},"759":{"position":[[446,5],[771,6],[842,5]]},"760":{"position":[[767,6]]},"767":{"position":[[424,7],[606,7],[715,7],[807,7],[1015,7]]},"768":{"position":[[406,7],[608,7],[725,7],[813,7],[1017,7]]},"769":{"position":[[359,7],[565,7],[686,7],[778,7],[986,7]]},"838":{"position":[[2350,6],[2378,5]]},"846":{"position":[[353,5]]},"857":{"position":[[147,5],[397,6]]},"885":{"position":[[2110,6],[2293,6]]},"886":{"position":[[4267,6]]},"898":{"position":[[1121,5]]},"904":{"position":[[1019,5],[1220,6]]},"905":{"position":[[191,5]]},"907":{"position":[[232,5]]},"957":{"position":[[74,5]]},"960":{"position":[[599,6]]},"964":{"position":[[384,5]]},"978":{"position":[[72,5]]},"986":{"position":[[1150,5]]},"988":{"position":[[692,5],[1364,6],[1493,6],[5447,6],[5807,6]]},"989":{"position":[[162,5],[312,5]]},"993":{"position":[[525,5],[664,5]]},"1049":{"position":[[191,5]]},"1050":{"position":[[85,5]]},"1051":{"position":[[567,6]]},"1053":{"position":[[72,5]]},"1063":{"position":[[312,5]]},"1065":{"position":[[1119,5]]},"1070":{"position":[[69,5]]},"1084":{"position":[[415,6]]},"1085":{"position":[[1664,5],[1733,5]]},"1106":{"position":[[499,5],[613,6]]},"1126":{"position":[[108,5],[787,5],[924,5]]},"1130":{"position":[[391,5]]},"1158":{"position":[[723,5]]},"1174":{"position":[[762,5]]},"1176":{"position":[[378,5],[591,5]]},"1177":{"position":[[414,6]]},"1230":{"position":[[123,5]]},"1266":{"position":[[1042,6],[1072,6]]},"1277":{"position":[[434,6],[471,5]]},"1278":{"position":[[511,6],[963,6]]},"1282":{"position":[[1080,5],[1232,5]]},"1294":{"position":[[996,6],[1121,6],[1439,5]]},"1296":{"position":[[1415,5],[1580,5]]},"1311":{"position":[[1384,5]]},"1316":{"position":[[905,5]]}},"keywords":{}}],["famili",{"_index":4688,"title":{},"content":{"812":{"position":[[143,7]]}},"keywords":{}}],["familiar",{"_index":1014,"title":{},"content":{"94":{"position":[[235,8]]},"269":{"position":[[417,11]]},"387":{"position":[[69,8]]}},"keywords":{}}],["familynam",{"_index":5837,"title":{},"content":{"1080":{"position":[[417,11]]}},"keywords":{}}],["faq",{"_index":3769,"title":{"656":{"position":[[0,4]]},"958":{"position":[[0,4]]},"1010":{"position":[[0,4]]},"1072":{"position":[[0,4]]},"1085":{"position":[[0,4]]},"1112":{"position":[[0,4]]},"1233":{"position":[[0,4]]}},"content":{},"keywords":{}}],["far",{"_index":1323,"title":{},"content":{"205":{"position":[[75,3]]},"207":{"position":[[346,3]]},"299":{"position":[[1650,3]]},"408":{"position":[[3125,3]]},"634":{"position":[[594,3]]},"903":{"position":[[680,3]]}},"keywords":{}}],["farm",{"_index":2839,"title":{},"content":{"420":{"position":[[1242,7],[1300,4]]}},"keywords":{}}],["fast",{"_index":1030,"title":{},"content":{"101":{"position":[[171,4]]},"189":{"position":[[221,4]]},"227":{"position":[[357,5]]},"254":{"position":[[485,4]]},"287":{"position":[[417,4]]},"289":{"position":[[1519,4]]},"305":{"position":[[579,4]]},"336":{"position":[[140,4]]},"354":{"position":[[1599,4]]},"365":{"position":[[267,4]]},"369":{"position":[[266,4]]},"375":{"position":[[970,4]]},"388":{"position":[[339,5]]},"396":{"position":[[615,4],[1701,5]]},"400":{"position":[[605,4],[653,4]]},"408":{"position":[[1718,5]]},"411":{"position":[[5489,5]]},"412":{"position":[[9715,5],[10268,4]]},"429":{"position":[[92,4]]},"459":{"position":[[178,4]]},"460":{"position":[[166,4],[1107,4]]},"463":{"position":[[181,5]]},"465":{"position":[[359,4]]},"467":{"position":[[340,4],[413,5]]},"468":{"position":[[24,4],[450,4]]},"500":{"position":[[534,4]]},"622":{"position":[[158,4]]},"703":{"position":[[1171,4],[1227,4]]},"723":{"position":[[1877,4]]},"773":{"position":[[194,4]]},"800":{"position":[[279,4]]},"838":{"position":[[3118,5]]},"839":{"position":[[227,5]]},"841":{"position":[[1034,4],[1049,4]]},"1065":{"position":[[23,4]]},"1071":{"position":[[326,4]]},"1132":{"position":[[219,4]]},"1156":{"position":[[209,4]]},"1167":{"position":[[8,5]]},"1192":{"position":[[398,4]]},"1238":{"position":[[128,5]]},"1241":{"position":[[97,4]]},"1292":{"position":[[454,4]]},"1294":{"position":[[364,4]]},"1300":{"position":[[329,4]]},"1316":{"position":[[3587,4]]},"1321":{"position":[[157,4]]}},"keywords":{}}],["fast.wasm",{"_index":3076,"title":{},"content":{"466":{"position":[[375,9]]}},"keywords":{}}],["faster",{"_index":103,"title":{"93":{"position":[[0,6]]}},"content":{"8":{"position":[[55,6]]},"65":{"position":[[742,6],[925,6],[1266,6]]},"87":{"position":[[216,6]]},"92":{"position":[[188,6]]},"93":{"position":[[194,6]]},"138":{"position":[[120,6]]},"166":{"position":[[155,6]]},"173":{"position":[[821,6]]},"205":{"position":[[155,6]]},"216":{"position":[[185,6]]},"220":{"position":[[198,6]]},"227":{"position":[[301,6]]},"236":{"position":[[212,6]]},"265":{"position":[[121,6],[236,6]]},"291":{"position":[[505,6]]},"398":{"position":[[416,6]]},"400":{"position":[[722,6]]},"402":{"position":[[390,6],[453,6],[1272,6],[1708,6],[1876,7]]},"404":{"position":[[235,7],[426,6]]},"408":{"position":[[5097,6]]},"420":{"position":[[1333,7]]},"444":{"position":[[544,6]]},"453":{"position":[[351,7]]},"454":{"position":[[407,6]]},"463":{"position":[[1384,6]]},"464":{"position":[[1144,6]]},"466":{"position":[[341,6],[523,6]]},"468":{"position":[[308,6]]},"470":{"position":[[123,6]]},"473":{"position":[[171,7]]},"538":{"position":[[129,6]]},"556":{"position":[[1166,6]]},"574":{"position":[[472,6]]},"581":{"position":[[301,6]]},"598":{"position":[[129,6]]},"662":{"position":[[799,6]]},"717":{"position":[[246,6],[308,6]]},"718":{"position":[[69,6]]},"772":{"position":[[1210,6]]},"780":{"position":[[612,6]]},"784":{"position":[[859,7]]},"798":{"position":[[188,7]]},"802":{"position":[[778,6]]},"844":{"position":[[1,6]]},"944":{"position":[[79,6]]},"981":{"position":[[880,6],[978,7],[1041,6]]},"1119":{"position":[[5,6]]},"1132":{"position":[[1208,7]]},"1137":{"position":[[197,6]]},"1143":{"position":[[149,6],[565,6]]},"1151":{"position":[[204,6]]},"1164":{"position":[[376,6]]},"1170":{"position":[[17,6],[78,6]]},"1178":{"position":[[203,6]]},"1206":{"position":[[479,6]]},"1209":{"position":[[98,6],[210,6],[291,7],[442,6]]},"1213":{"position":[[196,6]]},"1235":{"position":[[217,6]]},"1286":{"position":[[104,7]]},"1294":{"position":[[123,6]]},"1295":{"position":[[961,6],[1151,6]]},"1299":{"position":[[249,7]]},"1315":{"position":[[790,6]]}},"keywords":{}}],["faster.offlin",{"_index":5432,"title":{},"content":{"981":{"position":[[1176,14]]}},"keywords":{}}],["fastest",{"_index":6044,"title":{},"content":{"1137":{"position":[[163,7]]}},"keywords":{}}],["fastifi",{"_index":5923,"title":{"1098":{"position":[[20,8]]}},"content":{"1098":{"position":[[66,7],[94,7],[308,9]]}},"keywords":{}}],["fault",{"_index":6290,"title":{},"content":{"1247":{"position":[[701,5]]}},"keywords":{}}],["favor",{"_index":2911,"title":{},"content":{"434":{"position":[[80,5]]}},"keywords":{}}],["fe",{"_index":5766,"title":{},"content":{"1065":{"position":[[391,3]]}},"keywords":{}}],["feasibl",{"_index":2525,"title":{},"content":{"408":{"position":[[250,8],[1831,8]]},"412":{"position":[[6790,8]]},"1009":{"position":[[897,9]]}},"keywords":{}}],["featur",{"_index":202,"title":{"57":{"position":[[14,9]]},"137":{"position":[[14,8]]},"166":{"position":[[14,8]]},"193":{"position":[[14,8]]},"252":{"position":[[22,9]]},"323":{"position":[[4,9]]},"341":{"position":[[14,8]]},"361":{"position":[[14,8]]},"387":{"position":[[19,9]]},"456":{"position":[[0,7]]},"505":{"position":[[14,8]]},"526":{"position":[[14,8]]},"544":{"position":[[14,9]]},"583":{"position":[[14,8]]},"604":{"position":[[14,9]]},"637":{"position":[[9,9]]},"870":{"position":[[4,9]]},"896":{"position":[[4,8]]},"1132":{"position":[[0,8]]}},"content":{"14":{"position":[[106,8]]},"22":{"position":[[152,9],[354,7]]},"23":{"position":[[117,8]]},"26":{"position":[[84,9]]},"29":{"position":[[55,9],[227,8]]},"30":{"position":[[272,8]]},"33":{"position":[[222,8],[622,8]]},"34":{"position":[[483,7],[663,8]]},"37":{"position":[[261,8]]},"40":{"position":[[497,9]]},"47":{"position":[[1048,8],[1162,9]]},"61":{"position":[[333,9]]},"65":{"position":[[579,7]]},"71":{"position":[[75,8]]},"83":{"position":[[39,7]]},"90":{"position":[[249,8]]},"106":{"position":[[87,7]]},"109":{"position":[[159,7]]},"114":{"position":[[621,8]]},"116":{"position":[[238,8]]},"118":{"position":[[112,8],[319,8]]},"119":{"position":[[71,9]]},"120":{"position":[[276,8]]},"122":{"position":[[21,8]]},"127":{"position":[[55,9]]},"136":{"position":[[316,8]]},"137":{"position":[[30,8]]},"148":{"position":[[427,8]]},"155":{"position":[[239,8]]},"156":{"position":[[21,8]]},"158":{"position":[[269,8]]},"160":{"position":[[112,7]]},"161":{"position":[[269,9]]},"168":{"position":[[327,9]]},"169":{"position":[[216,7]]},"170":{"position":[[380,8]]},"173":{"position":[[1079,8]]},"174":{"position":[[1935,7]]},"175":{"position":[[615,8]]},"179":{"position":[[187,8]]},"180":{"position":[[89,8]]},"185":{"position":[[135,7]]},"186":{"position":[[377,7]]},"187":{"position":[[33,8]]},"193":{"position":[[33,8],[134,9]]},"197":{"position":[[99,7]]},"198":{"position":[[222,7],[348,8]]},"215":{"position":[[274,7]]},"236":{"position":[[308,7]]},"237":{"position":[[127,7]]},"241":{"position":[[628,8]]},"271":{"position":[[171,8],[270,8]]},"275":{"position":[[24,8]]},"280":{"position":[[21,8]]},"286":{"position":[[273,8]]},"292":{"position":[[255,8]]},"295":{"position":[[29,9],[309,8]]},"311":{"position":[[106,7]]},"313":{"position":[[216,8]]},"316":{"position":[[66,8]]},"317":{"position":[[109,8]]},"347":{"position":[[593,9]]},"357":{"position":[[91,8]]},"362":{"position":[[1005,8],[1664,9]]},"366":{"position":[[100,7]]},"370":{"position":[[259,8]]},"373":{"position":[[639,7]]},"375":{"position":[[399,7]]},"381":{"position":[[12,7]]},"383":{"position":[[576,9]]},"386":{"position":[[337,7]]},"408":{"position":[[5040,8]]},"409":{"position":[[228,9]]},"411":{"position":[[3795,9]]},"412":{"position":[[1244,8]]},"419":{"position":[[435,8]]},"420":{"position":[[1153,9]]},"421":{"position":[[250,8]]},"424":{"position":[[36,7]]},"432":{"position":[[573,7],[846,7],[1107,8]]},"441":{"position":[[452,8]]},"445":{"position":[[956,8]]},"450":{"position":[[609,7]]},"452":{"position":[[770,8]]},"456":{"position":[[78,8]]},"458":{"position":[[777,7]]},"462":{"position":[[29,8]]},"480":{"position":[[1081,8]]},"481":{"position":[[565,9]]},"483":{"position":[[605,8]]},"502":{"position":[[1282,7]]},"506":{"position":[[129,7]]},"508":{"position":[[41,7]]},"510":{"position":[[230,8]]},"513":{"position":[[254,8]]},"515":{"position":[[24,8]]},"518":{"position":[[165,7]]},"520":{"position":[[310,9]]},"526":{"position":[[204,7]]},"529":{"position":[[204,8]]},"530":{"position":[[336,9]]},"535":{"position":[[1055,9],[1065,8]]},"536":{"position":[[113,8]]},"544":{"position":[[27,8]]},"548":{"position":[[413,9]]},"567":{"position":[[585,8]]},"571":{"position":[[610,8]]},"574":{"position":[[739,8]]},"576":{"position":[[250,8]]},"595":{"position":[[1132,9],[1142,8]]},"596":{"position":[[111,8]]},"604":{"position":[[27,8]]},"608":{"position":[[411,9]]},"639":{"position":[[109,7]]},"659":{"position":[[853,8]]},"661":{"position":[[1382,8],[1601,8]]},"667":{"position":[[41,8]]},"668":{"position":[[58,7]]},"686":{"position":[[883,8]]},"710":{"position":[[69,8],[285,8]]},"711":{"position":[[1879,8]]},"723":{"position":[[1851,7]]},"772":{"position":[[353,8]]},"793":{"position":[[987,8]]},"835":{"position":[[952,8]]},"836":{"position":[[1967,9],[2313,8],[2474,7]]},"837":{"position":[[111,7]]},"838":{"position":[[3301,8]]},"839":{"position":[[509,9],[656,9],[771,8],[1123,8]]},"840":{"position":[[171,8],[228,7]]},"856":{"position":[[48,7]]},"860":{"position":[[671,8]]},"913":{"position":[[94,8]]},"1021":{"position":[[56,8]]},"1072":{"position":[[1985,8]]},"1123":{"position":[[570,8]]},"1132":{"position":[[930,7]]},"1135":{"position":[[377,8]]},"1147":{"position":[[63,7]]},"1150":{"position":[[19,7]]},"1198":{"position":[[224,8],[1896,8]]},"1206":{"position":[[654,9]]},"1214":{"position":[[831,8]]},"1280":{"position":[[136,8]]},"1284":{"position":[[271,8]]}},"keywords":{}}],["feature.rich",{"_index":2173,"title":{},"content":{"387":{"position":[[213,12]]}},"keywords":{}}],["features.custom",{"_index":6083,"title":{},"content":{"1149":{"position":[[339,15]]}},"keywords":{}}],["features.rxdb",{"_index":1432,"title":{},"content":{"241":{"position":[[223,13]]},"373":{"position":[[223,13]]}},"keywords":{}}],["features.typescript",{"_index":3297,"title":{},"content":{"535":{"position":[[537,19]]}},"keywords":{}}],["features—lik",{"_index":3149,"title":{},"content":{"483":{"position":[[1025,13]]}},"keywords":{}}],["features—y",{"_index":3412,"title":{},"content":{"559":{"position":[[1677,12]]}},"keywords":{}}],["feature—without",{"_index":1996,"title":{},"content":{"351":{"position":[[310,15]]}},"keywords":{}}],["feed",{"_index":2625,"title":{"476":{"position":[[18,6]]}},"content":{"411":{"position":[[3196,4]]},"421":{"position":[[275,6]]},"497":{"position":[[59,6]]},"612":{"position":[[242,6]]},"624":{"position":[[562,6]]},"841":{"position":[[545,4]]}},"keywords":{}}],["feedback",{"_index":2588,"title":{},"content":{"410":{"position":[[432,9]]},"474":{"position":[[181,9]]},"483":{"position":[[907,9]]},"495":{"position":[[454,8]]},"497":{"position":[[469,8]]},"571":{"position":[[1449,8]]},"873":{"position":[[205,8]]},"899":{"position":[[412,9]]},"1009":{"position":[[696,8]]}},"keywords":{}}],["feedback.data",{"_index":2140,"title":{},"content":{"375":{"position":[[533,13]]}},"keywords":{}}],["feel",{"_index":2624,"title":{},"content":{"411":{"position":[[3099,4]]},"415":{"position":[[126,5]]},"420":{"position":[[716,4]]},"421":{"position":[[381,4],[875,4]]},"489":{"position":[[518,4]]},"491":{"position":[[990,4]]},"495":{"position":[[22,4]]}},"keywords":{}}],["fetch",{"_index":520,"title":{},"content":{"33":{"position":[[448,8]]},"65":{"position":[[341,5]]},"93":{"position":[[107,7]]},"173":{"position":[[1725,8]]},"209":{"position":[[1039,5],[1103,6]]},"217":{"position":[[147,5]]},"255":{"position":[[101,5],[1374,5]]},"369":{"position":[[348,8]]},"394":{"position":[[318,8],[1496,5]]},"395":{"position":[[96,8]]},"398":{"position":[[586,5],[2964,7]]},"400":{"position":[[741,8]]},"402":{"position":[[694,5],[1117,8],[1423,8],[1550,5]]},"410":{"position":[[2209,5]]},"412":{"position":[[2618,8]]},"414":{"position":[[401,5]]},"421":{"position":[[652,8]]},"452":{"position":[[588,8]]},"459":{"position":[[470,5]]},"481":{"position":[[736,5]]},"491":{"position":[[354,7]]},"515":{"position":[[141,8]]},"534":{"position":[[399,7]]},"556":{"position":[[165,5],[1337,8]]},"566":{"position":[[448,5]]},"571":{"position":[[709,5]]},"594":{"position":[[397,7]]},"698":{"position":[[1271,5]]},"711":{"position":[[1699,5]]},"778":{"position":[[59,9]]},"784":{"position":[[217,5]]},"785":{"position":[[710,5]]},"800":{"position":[[678,5]]},"837":{"position":[[760,5]]},"846":{"position":[[434,7],[611,6],[679,7]]},"848":{"position":[[134,7],[553,5],[600,6],[814,5],[838,6],[957,5],[1130,5],[1449,5],[1473,6]]},"851":{"position":[[328,6]]},"852":{"position":[[37,5],[70,5],[98,5],[144,7],[311,6]]},"854":{"position":[[1317,5]]},"875":{"position":[[1402,5],[3028,7],[3334,6],[6972,5]]},"890":{"position":[[400,5],[891,5]]},"898":{"position":[[3653,8]]},"981":{"position":[[852,7]]},"986":{"position":[[967,7],[1235,7]]},"988":{"position":[[3713,6]]},"996":{"position":[[449,5]]},"1007":{"position":[[247,5],[1523,6]]},"1008":{"position":[[251,7]]},"1024":{"position":[[18,5]]},"1067":{"position":[[698,5],[832,5],[1083,7],[1845,5]]},"1072":{"position":[[313,5],[987,8]]},"1102":{"position":[[451,5],[1128,5],[1245,5]]},"1105":{"position":[[99,5]]},"1116":{"position":[[119,5],[195,8]]},"1117":{"position":[[12,8]]},"1134":{"position":[[621,7]]},"1191":{"position":[[243,5]]},"1194":{"position":[[447,5],[721,5],[815,5],[898,8]]},"1239":{"position":[[145,5],[265,8]]},"1271":{"position":[[444,7]]},"1296":{"position":[[76,8]]}},"keywords":{}}],["fetch('./files/items.json",{"_index":2233,"title":{},"content":{"392":{"position":[[994,28]]}},"keywords":{}}],["fetch('http://example.com/pol",{"_index":3554,"title":{},"content":{"610":{"position":[[926,32]]}},"keywords":{}}],["fetch('http://example.com/pul",{"_index":5541,"title":{},"content":{"1002":{"position":[[1021,30]]}},"keywords":{}}],["fetch('http://localhost:80",{"_index":5936,"title":{},"content":{"1102":{"position":[[479,28]]}},"keywords":{}}],["fetch('http://myserver.com/api/countrybycoordinates/'+coordin",{"_index":4453,"title":{},"content":{"751":{"position":[[1319,70]]}},"keywords":{}}],["fetch('https://example.com/api/sync/push",{"_index":5462,"title":{},"content":{"988":{"position":[[2523,42]]}},"keywords":{}}],["fetch('https://example.com/api/temp",{"_index":4099,"title":{},"content":{"739":{"position":[[633,39]]}},"keywords":{}}],["fetch('https://example.com/doc",{"_index":5646,"title":{},"content":{"1024":{"position":[[378,32]]}},"keywords":{}}],["fetch('https://localhost/push",{"_index":5038,"title":{},"content":{"875":{"position":[[6239,31]]}},"keywords":{}}],["fetch('https://myapi.com/push",{"_index":1576,"title":{},"content":{"255":{"position":[[1159,31]]}},"keywords":{}}],["fetch('https://yourapi.com/tasks/push",{"_index":1349,"title":{},"content":{"209":{"position":[[805,39]]}},"keywords":{}}],["fetch(`/api/voxels/push?chunkid=${chunkid",{"_index":5572,"title":{},"content":{"1007":{"position":[[1681,45]]}},"keywords":{}}],["fetch(`https://myapi.com/pull?checkpoint=${json.stringify(lastcheckpoint)}&limit=${batchs",{"_index":1578,"title":{},"content":{"255":{"position":[[1422,100]]}},"keywords":{}}],["fetcheddoc",{"_index":3355,"title":{},"content":{"555":{"position":[[455,10]]}},"keywords":{}}],["fetcheddoc.patch",{"_index":3359,"title":{},"content":{"555":{"position":[[636,18]]}},"keywords":{}}],["fetchmor",{"_index":3269,"title":{},"content":{"523":{"position":[[486,10]]}},"keywords":{}}],["few",{"_index":864,"title":{},"content":{"58":{"position":[[63,3]]},"193":{"position":[[121,3]]},"303":{"position":[[108,3]]},"399":{"position":[[416,3]]},"408":{"position":[[41,3],[1472,3],[5595,3]]},"412":{"position":[[10121,3]]},"454":{"position":[[325,3]]},"463":{"position":[[796,3]]},"464":{"position":[[448,3]]},"465":{"position":[[309,3]]},"466":{"position":[[273,3]]},"467":{"position":[[268,3]]},"696":{"position":[[521,3]]},"702":{"position":[[893,3]]},"1072":{"position":[[276,3]]}},"keywords":{}}],["fewer",{"_index":627,"title":{"478":{"position":[[24,5]]}},"content":{"39":{"position":[[531,5]]},"396":{"position":[[711,6]]},"420":{"position":[[249,5]]},"487":{"position":[[1,5]]},"802":{"position":[[11,5]]}},"keywords":{}}],["fiber",{"_index":2547,"title":{},"content":{"408":{"position":[[2422,6]]}},"keywords":{}}],["fiddl",{"_index":518,"title":{},"content":{"33":{"position":[[389,8]]}},"keywords":{}}],["field",{"_index":737,"title":{"75":{"position":[[20,7]]},"106":{"position":[[20,7]]},"235":{"position":[[20,7]]},"691":{"position":[[27,6]]},"798":{"position":[[32,7]]},"887":{"position":[[43,7]]},"1108":{"position":[[12,7]]},"1109":{"position":[[9,7]]}},"content":{"47":{"position":[[851,6]]},"75":{"position":[[56,7]]},"106":{"position":[[43,7]]},"138":{"position":[[77,6]]},"166":{"position":[[236,7]]},"174":{"position":[[975,7],[1028,6]]},"194":{"position":[[92,7],[153,7]]},"235":{"position":[[35,7],[140,7],[199,6]]},"303":{"position":[[344,5]]},"310":{"position":[[136,6]]},"315":{"position":[[848,6],[1024,6]]},"316":{"position":[[436,5]]},"342":{"position":[[38,6]]},"345":{"position":[[44,5]]},"351":{"position":[[120,6],[269,5]]},"356":{"position":[[306,7],[673,8],[844,6]]},"357":{"position":[[215,7]]},"360":{"position":[[870,7]]},"361":{"position":[[64,6],[270,5],[369,5]]},"362":{"position":[[385,7],[524,6]]},"366":{"position":[[575,6]]},"380":{"position":[[342,5]]},"382":{"position":[[186,6]]},"390":{"position":[[367,7]]},"392":{"position":[[494,5],[1441,6]]},"395":{"position":[[207,6]]},"397":{"position":[[457,7],[886,6],[1346,7],[1610,7],[2031,6]]},"412":{"position":[[11086,7]]},"418":{"position":[[145,5]]},"461":{"position":[[394,6]]},"480":{"position":[[1048,7]]},"482":{"position":[[114,6],[1000,5],[1227,7]]},"496":{"position":[[315,6]]},"527":{"position":[[131,7]]},"555":{"position":[[58,6],[442,6],[752,6],[786,6],[921,6],[1010,7]]},"556":{"position":[[1282,7]]},"564":{"position":[[929,5],[994,6]]},"566":{"position":[[1365,5]]},"567":{"position":[[656,6]]},"571":{"position":[[1301,7]]},"587":{"position":[[44,7]]},"588":{"position":[[28,5]]},"612":{"position":[[1633,6]]},"635":{"position":[[369,7]]},"636":{"position":[[30,7],[46,5]]},"638":{"position":[[183,7],[799,6],[836,6]]},"639":{"position":[[134,5]]},"661":{"position":[[1555,7]]},"662":{"position":[[195,5]]},"678":{"position":[[278,5],[331,5]]},"680":{"position":[[92,5],[1004,5],[1094,6]]},"681":{"position":[[261,5]]},"685":{"position":[[48,5],[85,7]]},"688":{"position":[[640,7]]},"691":{"position":[[47,6]]},"701":{"position":[[929,6]]},"702":{"position":[[105,6]]},"710":{"position":[[230,6]]},"711":{"position":[[2014,6]]},"714":{"position":[[483,7],[501,6],[636,5],[850,7]]},"717":{"position":[[1314,5],[1376,6]]},"723":{"position":[[239,5]]},"724":{"position":[[948,6]]},"749":{"position":[[845,6],[1808,5],[2489,5],[3682,6],[4465,6],[9562,6],[9747,6],[9874,5],[9988,5],[10388,6],[13908,6],[16969,6],[17553,6],[19143,6],[19389,5],[19600,6],[19906,5],[20127,6],[20284,6],[20452,5],[20551,6],[20718,6],[21033,6],[21211,6],[21495,6],[23028,6]]},"751":{"position":[[1189,5]]},"754":{"position":[[610,5]]},"764":{"position":[[74,5],[225,6]]},"781":{"position":[[800,6]]},"796":{"position":[[406,6],[702,6],[737,6],[1059,6],[1122,6],[1198,5]]},"798":{"position":[[18,6],[158,6],[403,6]]},"800":{"position":[[570,6]]},"808":{"position":[[65,5]]},"810":{"position":[[81,5]]},"821":{"position":[[737,6]]},"826":{"position":[[158,6],[416,5],[1091,5]]},"836":{"position":[[1432,7]]},"838":{"position":[[224,5],[859,5]]},"848":{"position":[[169,6]]},"849":{"position":[[489,5]]},"854":{"position":[[1396,5]]},"855":{"position":[[198,5]]},"857":{"position":[[138,5],[532,6]]},"861":{"position":[[1328,6],[1841,5],[2033,5]]},"862":{"position":[[1326,5]]},"867":{"position":[[193,5]]},"875":{"position":[[2298,5],[2327,5]]},"887":{"position":[[508,5]]},"898":{"position":[[270,5],[371,5],[1736,6],[3558,5],[4306,6]]},"942":{"position":[[133,7]]},"963":{"position":[[40,6]]},"971":{"position":[[169,6]]},"984":{"position":[[174,6],[439,6]]},"986":{"position":[[385,5],[563,5],[1401,5],[1461,5],[1583,5]]},"988":{"position":[[1677,6],[1933,5],[2003,5],[3154,6]]},"990":{"position":[[568,5],[596,5],[832,5],[914,5]]},"991":{"position":[[168,6]]},"1007":{"position":[[127,6]]},"1018":{"position":[[423,6]]},"1038":{"position":[[24,5],[54,5]]},"1048":{"position":[[386,6]]},"1051":{"position":[[364,6]]},"1069":{"position":[[360,6]]},"1072":{"position":[[30,6],[280,7],[357,6],[481,7],[2149,5],[2240,5],[2404,5]]},"1074":{"position":[[271,5],[324,5],[375,5],[420,5]]},"1076":{"position":[[13,5]]},"1077":{"position":[[16,5]]},"1078":{"position":[[331,6],[383,7],[461,6]]},"1079":{"position":[[116,5],[193,6],[228,5],[398,6]]},"1080":{"position":[[296,6],[486,6],[761,6],[901,5],[989,6]]},"1082":{"position":[[52,7],[97,6]]},"1083":{"position":[[14,5],[79,6],[113,6],[194,6]]},"1084":{"position":[[594,6]]},"1085":{"position":[[357,5],[653,5],[868,6],[937,6],[1116,7],[1797,6],[2428,7]]},"1104":{"position":[[404,5],[516,5],[800,5]]},"1106":{"position":[[202,6]]},"1107":{"position":[[45,5],[410,5],[496,5]]},"1108":{"position":[[79,6],[161,6],[481,5],[613,6]]},"1109":{"position":[[15,6],[126,6]]},"1116":{"position":[[270,5]]},"1176":{"position":[[514,5]]},"1184":{"position":[[62,7]]},"1251":{"position":[[242,6]]},"1253":{"position":[[157,7]]},"1290":{"position":[[166,6]]},"1291":{"position":[[164,6]]},"1294":{"position":[[517,6],[627,5]]},"1296":{"position":[[454,6],[583,5],[692,5],[789,6]]}},"keywords":{}}],["fielda",{"_index":4648,"title":{},"content":{"797":{"position":[[333,9]]}},"keywords":{}}],["fieldb",{"_index":4649,"title":{},"content":{"797":{"position":[[343,8]]}},"keywords":{}}],["fieldnam",{"_index":4222,"title":{},"content":{"749":{"position":[[6854,9],[8579,9],[16836,10],[17044,9],[17167,9],[18342,9],[19040,9]]},"811":{"position":[[123,10]]},"988":{"position":[[1803,9],[1838,9]]},"1077":{"position":[[35,9]]},"1084":{"position":[[152,11],[303,10]]}},"keywords":{}}],["fields.cross",{"_index":3299,"title":{},"content":{"535":{"position":[[853,12]]}},"keywords":{}}],["fieldsasynchron",{"_index":3419,"title":{},"content":{"560":{"position":[[494,18]]}},"keywords":{}}],["fieldsreact",{"_index":3143,"title":{},"content":{"483":{"position":[[307,14]]}},"keywords":{}}],["fifoo",{"_index":5767,"title":{},"content":{"1065":{"position":[[416,7]]}},"keywords":{}}],["fifoofa",{"_index":5769,"title":{},"content":{"1065":{"position":[[438,9]]}},"keywords":{}}],["file",{"_index":98,"title":{"358":{"position":[[42,4]]},"433":{"position":[[0,4]]},"1205":{"position":[[15,4]]},"1215":{"position":[[19,4],[61,4]]}},"content":{"7":{"position":[[202,6]]},"30":{"position":[[85,4]]},"34":{"position":[[219,5],[343,4]]},"59":{"position":[[61,4]]},"131":{"position":[[418,4],[533,4]]},"162":{"position":[[403,4],[421,4]]},"188":{"position":[[464,4],[1687,5],[1813,5],[1852,4],[2527,5]]},"228":{"position":[[389,4]]},"287":{"position":[[705,4]]},"336":{"position":[[263,4]]},"358":{"position":[[62,5],[299,5],[516,5],[697,5],[749,4]]},"362":{"position":[[604,4]]},"390":{"position":[[958,6]]},"408":{"position":[[1547,4],[1579,4],[1623,4],[1684,4],[1922,5],[2101,4]]},"427":{"position":[[1304,4]]},"433":{"position":[[39,5]]},"453":{"position":[[20,4],[107,5],[240,4],[707,5]]},"454":{"position":[[993,4]]},"459":{"position":[[67,5]]},"460":{"position":[[594,4]]},"463":{"position":[[420,4],[483,4],[515,4],[1036,4]]},"464":{"position":[[829,5],[1022,4],[1082,5],[1151,4],[1379,4]]},"467":{"position":[[294,5]]},"469":{"position":[[291,4],[390,4]]},"482":{"position":[[1088,4]]},"524":{"position":[[423,4],[818,4]]},"546":{"position":[[116,4]]},"551":{"position":[[531,5]]},"556":{"position":[[578,5],[598,6],[722,5]]},"579":{"position":[[73,4]]},"581":{"position":[[269,4]]},"590":{"position":[[157,4]]},"606":{"position":[[116,4]]},"640":{"position":[[184,4]]},"644":{"position":[[340,4]]},"649":{"position":[[84,6],[393,6]]},"661":{"position":[[1635,6]]},"667":{"position":[[191,5]]},"668":{"position":[[183,5]]},"730":{"position":[[143,5]]},"732":{"position":[[45,4]]},"772":{"position":[[82,4],[1989,4]]},"836":{"position":[[729,4]]},"841":{"position":[[146,4]]},"861":{"position":[[523,4],[540,5]]},"1033":{"position":[[445,5],[453,5],[534,5],[694,5],[767,5]]},"1134":{"position":[[469,5]]},"1206":{"position":[[20,4],[110,5],[301,4],[348,4],[456,4]]},"1207":{"position":[[48,4]]},"1208":{"position":[[103,5],[198,5],[332,5],[689,4],[883,4],[1044,5],[1141,5],[1269,4],[1518,5],[1632,4],[1710,5],[1894,4]]},"1209":{"position":[[28,4],[80,6],[245,4]]},"1210":{"position":[[142,4],[502,4]]},"1212":{"position":[[137,5],[290,4]]},"1213":{"position":[[587,4]]},"1214":{"position":[[16,4]]},"1215":{"position":[[64,4],[110,4],[135,4],[181,5],[201,4],[241,4],[291,4],[344,5],[383,4],[423,4]]},"1216":{"position":[[13,4],[49,4]]},"1225":{"position":[[34,5]]},"1226":{"position":[[458,4]]},"1227":{"position":[[59,4],[170,5],[489,4],[802,4]]},"1228":{"position":[[29,5],[104,4]]},"1229":{"position":[[179,4]]},"1244":{"position":[[36,4]]},"1264":{"position":[[361,4]]},"1265":{"position":[[52,4],[163,5],[483,4],[784,4]]},"1266":{"position":[[46,4]]},"1268":{"position":[[356,4]]},"1324":{"position":[[1037,4]]}},"keywords":{}}],["filebas",{"_index":4570,"title":{},"content":{"772":{"position":[[1168,9]]}},"keywords":{}}],["filehandl",{"_index":6202,"title":{},"content":{"1208":{"position":[[915,10]]}},"keywords":{}}],["filehandle.createsyncaccesshandl",{"_index":6205,"title":{},"content":{"1208":{"position":[[1077,36]]}},"keywords":{}}],["filenam",{"_index":4773,"title":{},"content":{"836":{"position":[[868,9]]},"1266":{"position":[[608,9]]}},"keywords":{}}],["filepicker.origin",{"_index":6240,"title":{},"content":{"1215":{"position":[[357,17]]}},"keywords":{}}],["files",{"_index":6221,"title":{},"content":{"1208":{"position":[[1722,8]]}},"keywords":{}}],["filesystem",{"_index":84,"title":{"706":{"position":[[60,10]]},"1127":{"position":[[0,10]]},"1245":{"position":[[3,10]]}},"content":{"6":{"position":[[67,11],[125,10],[222,10]]},"7":{"position":[[61,11]]},"24":{"position":[[226,10]]},"28":{"position":[[221,10]]},"188":{"position":[[2215,10]]},"365":{"position":[[982,10]]},"408":{"position":[[1941,11]]},"412":{"position":[[8503,10]]},"433":{"position":[[120,10]]},"453":{"position":[[491,10]]},"647":{"position":[[33,10]]},"662":{"position":[[587,10],[681,10]]},"703":{"position":[[92,11],[171,10],[599,10]]},"709":{"position":[[1372,10]]},"710":{"position":[[706,10],[2339,10]]},"772":{"position":[[1352,11],[1925,10]]},"793":{"position":[[262,10]]},"836":{"position":[[790,10]]},"961":{"position":[[293,10]]},"973":{"position":[[55,11]]},"1090":{"position":[[650,10]]},"1130":{"position":[[115,10]]},"1173":{"position":[[140,10]]},"1191":{"position":[[357,10]]},"1206":{"position":[[165,11]]},"1208":{"position":[[71,11]]},"1211":{"position":[[44,10],[221,10]]},"1214":{"position":[[350,10],[516,10],[777,10]]},"1215":{"position":[[497,10],[579,11]]},"1245":{"position":[[5,10]]},"1270":{"position":[[86,10]]},"1299":{"position":[[414,11],[565,10]]}},"keywords":{}}],["filesystemaccessapirespons",{"_index":6481,"title":{},"content":{"1302":{"position":[[122,27]]}},"keywords":{}}],["filesystemsyncaccesshandl",{"_index":6204,"title":{},"content":{"1208":{"position":[[1010,26],[1835,26]]}},"keywords":{}}],["filesystemsyncaccesshandlehav",{"_index":6195,"title":{},"content":{"1208":{"position":[[439,30]]}},"keywords":{}}],["fill",{"_index":1783,"title":{},"content":{"301":{"position":[[134,4]]},"331":{"position":[[226,5]]},"392":{"position":[[870,4]]},"461":{"position":[[238,4]]},"806":{"position":[[512,6]]},"815":{"position":[[17,4]]},"837":{"position":[[513,4]]},"886":{"position":[[472,4]]},"887":{"position":[[9,5]]},"1078":{"position":[[928,6]]},"1082":{"position":[[112,6]]},"1123":{"position":[[688,5]]}},"keywords":{}}],["fill(0",{"_index":2263,"title":{},"content":{"392":{"position":[[3898,8]]}},"keywords":{}}],["filter",{"_index":1325,"title":{"858":{"position":[[0,8]]}},"content":{"205":{"position":[[198,8]]},"276":{"position":[[302,7]]},"277":{"position":[[162,7]]},"358":{"position":[[357,9]]},"402":{"position":[[2208,6]]},"559":{"position":[[1246,9]]},"714":{"position":[[784,6]]},"751":{"position":[[1523,6]]},"854":{"position":[[913,6]]},"858":{"position":[[328,7],[382,7]]},"898":{"position":[[3703,8],[3785,9]]},"1007":{"position":[[741,8]]},"1009":{"position":[[358,8]]},"1072":{"position":[[497,6]]},"1198":{"position":[[1910,8]]}},"keywords":{}}],["filter(d",{"_index":5519,"title":{},"content":{"995":{"position":[[1945,8]]}},"keywords":{}}],["filterforminupdatedatandid",{"_index":5103,"title":{},"content":{"885":{"position":[[2002,26]]}},"keywords":{}}],["filterforminupdatedatandid.slice(0",{"_index":5108,"title":{},"content":{"885":{"position":[[2369,35]]}},"keywords":{}}],["final",{"_index":3170,"title":{"1083":{"position":[[0,6]]}},"content":{"491":{"position":[[1042,5]]},"691":{"position":[[581,5]]},"749":{"position":[[9741,5],[10382,5],[12312,5],[12342,5]]},"1074":{"position":[[429,5]]},"1077":{"position":[[191,5]]},"1083":{"position":[[23,6],[73,5],[107,5],[188,5],[606,6]]}},"keywords":{}}],["financi",{"_index":3202,"title":{},"content":{"497":{"position":[[400,9]]},"506":{"position":[[198,9]]},"550":{"position":[[242,9]]},"611":{"position":[[321,9]]},"638":{"position":[[118,9]]}},"keywords":{}}],["find",{"_index":642,"title":{"949":{"position":[[0,7]]},"1036":{"position":[[0,5]]},"1055":{"position":[[0,7]]}},"content":{"40":{"position":[[818,4]]},"52":{"position":[[304,4]]},"130":{"position":[[495,7]]},"143":{"position":[[444,7],[625,7]]},"198":{"position":[[480,4]]},"241":{"position":[[304,4]]},"335":{"position":[[263,7]]},"352":{"position":[[80,4]]},"356":{"position":[[906,4]]},"358":{"position":[[346,7]]},"373":{"position":[[304,4]]},"390":{"position":[[1225,5]]},"393":{"position":[[637,4]]},"394":{"position":[[4,4],[199,4]]},"412":{"position":[[14194,4]]},"440":{"position":[[315,4]]},"459":{"position":[[524,4]]},"467":{"position":[[665,7]]},"480":{"position":[[723,7]]},"494":{"position":[[208,10]]},"539":{"position":[[304,4]]},"548":{"position":[[137,4]]},"557":{"position":[[268,4]]},"562":{"position":[[933,7]]},"563":{"position":[[917,4]]},"580":{"position":[[498,7]]},"599":{"position":[[331,4]]},"608":{"position":[[137,4]]},"632":{"position":[[1760,7]]},"666":{"position":[[404,4]]},"703":{"position":[[945,4]]},"724":{"position":[[1541,4]]},"730":{"position":[[32,4]]},"749":{"position":[[22381,4],[24094,4]]},"798":{"position":[[1023,4]]},"806":{"position":[[392,4]]},"821":{"position":[[49,4],[584,7]]},"839":{"position":[[719,4]]},"904":{"position":[[159,4]]},"908":{"position":[[367,4]]},"949":{"position":[[4,4],[80,4],[154,7]]},"950":{"position":[[26,6],[110,4],[150,4]]},"951":{"position":[[1,4],[121,6]]},"1016":{"position":[[1,4]]},"1036":{"position":[[4,4],[70,7],[158,4]]},"1055":{"position":[[33,7],[144,4],[203,7]]},"1056":{"position":[[73,4],[158,4],[263,4]]},"1065":{"position":[[88,4],[326,4],[903,4]]},"1074":{"position":[[238,4]]},"1078":{"position":[[737,4],[984,4]]},"1151":{"position":[[489,4]]},"1173":{"position":[[168,4]]},"1176":{"position":[[80,4]]},"1178":{"position":[[488,4]]},"1193":{"position":[[26,4]]},"1194":{"position":[[621,4],[770,6],[858,6]]},"1227":{"position":[[207,4]]},"1265":{"position":[[200,4]]},"1304":{"position":[[778,4]]},"1320":{"position":[[164,4]]}},"keywords":{}}],["findbestindex",{"_index":4706,"title":{},"content":{"820":{"position":[[10,13],[169,15]]}},"keywords":{}}],["findbyid",{"_index":4176,"title":{"951":{"position":[[0,12]]}},"content":{"749":{"position":[[3215,11]]},"951":{"position":[[470,9]]},"1194":{"position":[[496,11],[658,11]]}},"keywords":{}}],["finddocumentsbyid",{"_index":4122,"title":{},"content":{"746":{"position":[[698,18]]}},"keywords":{}}],["findon",{"_index":800,"title":{"950":{"position":[[0,10]]},"1056":{"position":[[0,10]]}},"content":{"52":{"position":[[313,7]]},"539":{"position":[[313,7]]},"599":{"position":[[340,7]]},"749":{"position":[[2032,10],[2133,7]]},"798":{"position":[[555,10]]},"951":{"position":[[106,9]]},"1056":{"position":[[3,7],[111,10],[207,10]]},"1057":{"position":[[210,10]]},"1066":{"position":[[361,10]]}},"keywords":{}}],["findone(_id",{"_index":4230,"title":{},"content":{"749":{"position":[[7237,13]]}},"keywords":{}}],["fine",{"_index":969,"title":{},"content":{"75":{"position":[[73,4]]},"106":{"position":[[151,4]]},"383":{"position":[[491,4]]},"412":{"position":[[10052,4],[12837,4]]},"542":{"position":[[131,4]]},"551":{"position":[[393,4]]},"563":{"position":[[973,4]]},"635":{"position":[[325,4]]},"835":{"position":[[808,4]]},"841":{"position":[[877,4]]},"1157":{"position":[[287,4]]},"1164":{"position":[[33,4]]},"1316":{"position":[[1031,5]]}},"keywords":{}}],["finish",{"_index":464,"title":{},"content":{"28":{"position":[[599,8]]},"700":{"position":[[697,9]]},"752":{"position":[[153,9]]},"948":{"position":[[710,8]]},"994":{"position":[[128,8]]},"1000":{"position":[[86,8]]},"1032":{"position":[[184,9]]},"1304":{"position":[[349,9]]}},"keywords":{}}],["fire",{"_index":169,"title":{},"content":{"11":{"position":[[753,5]]},"953":{"position":[[195,4]]},"1300":{"position":[[775,5]]}},"keywords":{}}],["firebas",{"_index":194,"title":{"14":{"position":[[0,9]]},"199":{"position":[[11,8]]},"200":{"position":[[25,8]]},"840":{"position":[[0,8]]},"853":{"position":[[32,8]]}},"content":{"14":{"position":[[3,8],[88,8],[217,8],[252,8],[462,8],[586,8],[961,8],[1018,8]]},"18":{"position":[[115,9]]},"22":{"position":[[50,8],[143,8]]},"113":{"position":[[235,9]]},"174":{"position":[[3067,9]]},"201":{"position":[[8,8]]},"202":{"position":[[7,8]]},"203":{"position":[[1,8]]},"204":{"position":[[18,8]]},"205":{"position":[[15,8]]},"206":{"position":[[7,8]]},"212":{"position":[[138,8]]},"238":{"position":[[150,9]]},"350":{"position":[[169,9]]},"412":{"position":[[1032,8]]},"444":{"position":[[592,8]]},"570":{"position":[[152,8],[225,8]]},"699":{"position":[[281,8]]},"840":{"position":[[113,8],[677,8]]},"854":{"position":[[15,8],[45,8],[104,8]]}},"keywords":{}}],["firebase"",{"_index":1512,"title":{},"content":{"244":{"position":[[1194,14]]}},"keywords":{}}],["firebase.initializeapp",{"_index":4866,"title":{},"content":{"854":{"position":[[244,24]]}},"keywords":{}}],["firebase/app",{"_index":4862,"title":{},"content":{"854":{"position":[[118,15]]}},"keywords":{}}],["firebase/firestor",{"_index":4864,"title":{},"content":{"854":{"position":[[175,21]]},"857":{"position":[[253,21]]}},"keywords":{}}],["firefox",{"_index":1707,"title":{},"content":{"298":{"position":[[163,8],[575,7]]},"299":{"position":[[415,7],[1226,7],[1427,7]]},"301":{"position":[[458,7]]},"408":{"position":[[554,7],[1052,7]]},"439":{"position":[[41,7]]},"455":{"position":[[746,7]]},"462":{"position":[[371,7]]},"617":{"position":[[1763,8]]},"696":{"position":[[1364,7],[1954,7]]},"1207":{"position":[[130,8]]}},"keywords":{}}],["firestor",{"_index":208,"title":{"246":{"position":[[11,9]]},"247":{"position":[[24,9]]},"256":{"position":[[31,9]]},"840":{"position":[[11,10]]},"853":{"position":[[17,9]]},"857":{"position":[[47,9]]}},"content":{"14":{"position":[[205,10],[305,10],[603,10],[619,9],[829,9],[1188,9],[1215,9]]},"247":{"position":[[1,9]]},"249":{"position":[[8,10]]},"250":{"position":[[1,9]]},"251":{"position":[[1,9],[248,9]]},"253":{"position":[[7,9]]},"255":{"position":[[1708,9],[1827,9]]},"260":{"position":[[88,9],[122,9],[228,9],[281,9]]},"262":{"position":[[183,9],[524,9]]},"263":{"position":[[32,9]]},"289":{"position":[[981,9],[1004,10],[1110,9],[1416,9]]},"312":{"position":[[156,10]]},"412":{"position":[[1009,9],[3303,11]]},"504":{"position":[[1064,9],[1122,10]]},"565":{"position":[[143,10]]},"570":{"position":[[188,11]]},"632":{"position":[[766,10]]},"644":{"position":[[140,10]]},"793":{"position":[[760,9]]},"840":{"position":[[3,9],[477,9],[608,9]]},"854":{"position":[[72,9],[721,10],[864,9],[1149,9],[1452,9]]},"855":{"position":[[148,9]]},"856":{"position":[[1,9],[150,9]]},"857":{"position":[[80,9],[577,9]]},"858":{"position":[[81,10],[232,10]]},"1124":{"position":[[2288,9]]}},"keywords":{}}],["firestore'",{"_index":1557,"title":{},"content":{"252":{"position":[[1,11]]},"262":{"position":[[333,11]]},"289":{"position":[[1198,11]]}},"keywords":{}}],["firestorecollect",{"_index":4870,"title":{},"content":{"854":{"position":[[399,19],[786,19]]},"858":{"position":[[297,19]]}},"keywords":{}}],["firestoredatabas",{"_index":4804,"title":{},"content":{"841":{"position":[[55,17]]},"854":{"position":[[354,17],[755,18]]},"858":{"position":[[266,18]]}},"keywords":{}}],["firestoregraphql",{"_index":3131,"title":{},"content":{"481":{"position":[[319,16]]}},"keywords":{}}],["firewal",{"_index":3623,"title":{"619":{"position":[[12,10]]},"627":{"position":[[8,9]]}},"content":{"614":{"position":[[429,10]]},"619":{"position":[[203,9]]},"624":{"position":[[301,8]]},"627":{"position":[[117,8]]},"901":{"position":[[353,9]]}},"keywords":{}}],["first",{"_index":107,"title":{"12":{"position":[[34,5]]},"44":{"position":[[22,5]]},"122":{"position":[[8,5]]},"133":{"position":[[8,5]]},"157":{"position":[[8,5]]},"164":{"position":[[8,5]]},"183":{"position":[[8,5]]},"191":{"position":[[8,5]]},"201":{"position":[[20,5]]},"248":{"position":[[17,6]]},"274":{"position":[[6,5]]},"327":{"position":[[8,5]]},"338":{"position":[[8,5]]},"380":{"position":[[8,5]]},"404":{"position":[[38,5]]},"406":{"position":[[10,5]]},"407":{"position":[[18,5]]},"408":{"position":[[10,5]]},"409":{"position":[[33,5]]},"412":{"position":[[36,6]]},"413":{"position":[[6,5],[35,5]]},"419":{"position":[[8,5],[24,6]]},"420":{"position":[[29,5]]},"421":{"position":[[10,5]]},"516":{"position":[[6,5]]},"584":{"position":[[8,5]]},"629":{"position":[[19,5]]},"630":{"position":[[30,5]]},"631":{"position":[[37,5]]},"632":{"position":[[27,6]]},"695":{"position":[[19,5],[35,5]]},"777":{"position":[[6,5],[22,5]]},"869":{"position":[[57,5]]},"895":{"position":[[58,5]]},"980":{"position":[[38,5]]},"1009":{"position":[[24,5]]},"1314":{"position":[[38,6]]}},"content":{"8":{"position":[[151,5]]},"11":{"position":[[711,5]]},"13":{"position":[[43,6]]},"14":{"position":[[287,5]]},"15":{"position":[[518,5]]},"19":{"position":[[562,5]]},"22":{"position":[[391,6]]},"27":{"position":[[51,5],[289,5]]},"35":{"position":[[610,5]]},"37":{"position":[[330,5]]},"38":{"position":[[88,5],[175,5]]},"39":{"position":[[247,5]]},"40":{"position":[[425,5],[795,5]]},"43":{"position":[[61,5],[739,5]]},"46":{"position":[[21,6]]},"65":{"position":[[1512,5]]},"122":{"position":[[53,5]]},"126":{"position":[[137,5]]},"128":{"position":[[43,5]]},"133":{"position":[[49,5]]},"148":{"position":[[105,5]]},"157":{"position":[[26,5]]},"164":{"position":[[46,5]]},"170":{"position":[[211,5]]},"179":{"position":[[430,5]]},"183":{"position":[[25,5]]},"186":{"position":[[266,5]]},"188":{"position":[[2040,5]]},"191":{"position":[[16,5]]},"198":{"position":[[98,5]]},"212":{"position":[[102,5]]},"244":{"position":[[400,5],[731,5]]},"245":{"position":[[13,5]]},"253":{"position":[[142,6]]},"262":{"position":[[18,6],[48,5]]},"263":{"position":[[139,5],[494,6]]},"273":{"position":[[66,5]]},"274":{"position":[[11,5]]},"280":{"position":[[157,5]]},"313":{"position":[[210,5]]},"318":{"position":[[41,5],[620,6]]},"321":{"position":[[574,5]]},"323":{"position":[[161,5]]},"327":{"position":[[64,5]]},"338":{"position":[[16,5]]},"353":{"position":[[218,6]]},"359":{"position":[[181,5]]},"360":{"position":[[434,5]]},"362":{"position":[[176,5],[773,5]]},"375":{"position":[[195,5]]},"378":{"position":[[40,6]]},"380":{"position":[[295,5]]},"388":{"position":[[422,5]]},"391":{"position":[[9,5],[37,5]]},"392":{"position":[[26,5]]},"394":{"position":[[1056,7],[1154,7]]},"396":{"position":[[1482,5]]},"398":{"position":[[3182,5],[3469,5]]},"399":{"position":[[114,5],[379,5]]},"402":{"position":[[648,5]]},"407":{"position":[[10,5],[532,5],[881,5],[993,5]]},"408":{"position":[[20,5],[147,5],[221,5],[1428,5],[1795,5],[2671,5],[3268,5],[3417,5],[4189,5],[4271,5],[4327,5],[4439,5],[5426,5]]},"409":{"position":[[169,5]]},"410":{"position":[[155,5],[452,5],[1301,5],[1805,5]]},"411":{"position":[[36,5],[275,6],[1127,5],[2087,5],[2581,5],[4565,6],[4909,5],[5448,6],[5777,5]]},"412":{"position":[[159,6],[295,5],[431,5],[587,5],[3219,5],[4206,6],[4317,5],[5636,5],[6145,5],[6588,5],[6689,5],[6926,5],[7122,5],[7407,5],[7560,5],[8233,5],[8971,5],[11105,5],[11183,5],[12232,5],[14756,5],[14796,6],[14934,5],[15094,5],[15405,5]]},"413":{"position":[[52,6]]},"414":{"position":[[7,6],[243,6]]},"415":{"position":[[7,6],[251,6]]},"416":{"position":[[7,6],[327,6]]},"417":{"position":[[7,6],[245,6]]},"418":{"position":[[7,6],[258,6],[833,5]]},"419":{"position":[[577,6],[676,5],[860,5],[919,5],[1083,5],[1532,5],[1568,5],[1684,5]]},"420":{"position":[[100,5],[221,5],[432,5],[544,5],[1147,5]]},"421":{"position":[[532,5],[714,5]]},"422":{"position":[[45,5],[138,5],[153,5],[314,5],[356,5],[375,5],[427,5]]},"445":{"position":[[278,5],[410,5]]},"446":{"position":[[9,5]]},"447":{"position":[[120,5]]},"449":{"position":[[1,5]]},"450":{"position":[[14,5]]},"451":{"position":[[26,5]]},"452":{"position":[[15,5]]},"454":{"position":[[752,5]]},"458":{"position":[[1047,5]]},"463":{"position":[[603,5]]},"464":{"position":[[882,5]]},"473":{"position":[[9,5],[24,5]]},"476":{"position":[[147,5]]},"477":{"position":[[135,5]]},"479":{"position":[[134,5]]},"483":{"position":[[224,5],[743,5],[803,5]]},"486":{"position":[[230,5]]},"489":{"position":[[600,6]]},"491":{"position":[[798,5],[1151,5]]},"496":{"position":[[704,5]]},"497":{"position":[[197,5]]},"498":{"position":[[213,5],[493,5]]},"501":{"position":[[369,5]]},"502":{"position":[[225,5],[292,5]]},"504":{"position":[[296,5]]},"510":{"position":[[254,5]]},"513":{"position":[[303,5]]},"516":{"position":[[23,5]]},"525":{"position":[[13,5]]},"530":{"position":[[388,5]]},"534":{"position":[[180,5],[194,6]]},"537":{"position":[[1,6]]},"542":{"position":[[163,6]]},"559":{"position":[[1671,5]]},"562":{"position":[[1023,5]]},"566":{"position":[[1214,5]]},"567":{"position":[[104,6],[397,5]]},"574":{"position":[[756,5]]},"575":{"position":[[325,5]]},"582":{"position":[[27,5]]},"594":{"position":[[178,5],[192,6]]},"597":{"position":[[1,6]]},"610":{"position":[[22,5]]},"620":{"position":[[224,5]]},"627":{"position":[[272,5]]},"630":{"position":[[221,5],[945,5]]},"631":{"position":[[64,5]]},"634":{"position":[[9,5]]},"635":{"position":[[10,5]]},"640":{"position":[[498,5]]},"644":{"position":[[56,5],[619,5]]},"656":{"position":[[255,5]]},"659":{"position":[[202,5]]},"661":{"position":[[527,5]]},"662":{"position":[[20,6]]},"666":{"position":[[288,6]]},"681":{"position":[[536,5]]},"690":{"position":[[476,5]]},"696":{"position":[[151,5]]},"698":{"position":[[401,5],[2260,5]]},"699":{"position":[[232,5]]},"700":{"position":[[12,5],[1030,5]]},"701":{"position":[[15,5]]},"702":{"position":[[498,5]]},"703":{"position":[[37,5],[1294,5]]},"704":{"position":[[190,5]]},"705":{"position":[[116,5],[377,5],[1132,5],[1218,5],[1281,5]]},"710":{"position":[[1401,6]]},"714":{"position":[[876,5]]},"723":{"position":[[632,5],[2414,5],[2474,5]]},"724":{"position":[[1241,5],[1334,5]]},"749":{"position":[[12656,6],[17541,5]]},"766":{"position":[[34,5],[197,5]]},"774":{"position":[[219,5]]},"778":{"position":[[305,5]]},"779":{"position":[[250,5],[341,5]]},"780":{"position":[[511,5]]},"781":{"position":[[561,5],[652,5]]},"782":{"position":[[230,5]]},"783":{"position":[[126,5],[525,5]]},"784":{"position":[[359,5]]},"785":{"position":[[442,5]]},"786":{"position":[[144,5],[166,5]]},"818":{"position":[[136,5]]},"836":{"position":[[248,5],[432,5],[1961,5]]},"837":{"position":[[1256,5]]},"838":{"position":[[20,6],[577,5],[1637,6],[1739,5]]},"839":{"position":[[765,5]]},"840":{"position":[[272,5]]},"841":{"position":[[1453,5]]},"860":{"position":[[221,5],[331,6],[1205,5]]},"870":{"position":[[65,5]]},"872":{"position":[[197,5]]},"875":{"position":[[1302,5],[3918,5]]},"885":{"position":[[1654,5]]},"886":{"position":[[50,5],[426,5],[1411,5]]},"896":{"position":[[180,5]]},"898":{"position":[[4056,5]]},"899":{"position":[[93,5]]},"902":{"position":[[513,5]]},"913":{"position":[[57,5],[144,5]]},"977":{"position":[[408,6]]},"981":{"position":[[1191,5],[1297,5]]},"984":{"position":[[4,5]]},"986":{"position":[[28,5]]},"994":{"position":[[145,5]]},"1006":{"position":[[226,5]]},"1007":{"position":[[704,5]]},"1009":{"position":[[727,5]]},"1032":{"position":[[82,5]]},"1082":{"position":[[40,5]]},"1085":{"position":[[506,5]]},"1087":{"position":[[172,5]]},"1088":{"position":[[51,5]]},"1114":{"position":[[174,5],[567,5]]},"1118":{"position":[[247,5]]},"1123":{"position":[[747,5]]},"1125":{"position":[[503,5]]},"1154":{"position":[[398,5]]},"1161":{"position":[[219,5]]},"1180":{"position":[[219,5]]},"1192":{"position":[[467,5]]},"1194":{"position":[[51,5],[218,5],[292,5]]},"1208":{"position":[[48,5]]},"1210":{"position":[[571,5]]},"1222":{"position":[[163,5]]},"1231":{"position":[[824,5]]},"1292":{"position":[[296,5],[650,5]]},"1294":{"position":[[446,5]]},"1298":{"position":[[266,5]]},"1302":{"position":[[9,5]]},"1304":{"position":[[1542,6]]},"1314":{"position":[[35,5]]},"1316":{"position":[[15,5],[960,6]]},"1317":{"position":[[364,5]]},"1319":{"position":[[558,5]]},"1320":{"position":[[19,5]]}},"keywords":{}}],["first"",{"_index":1456,"title":{},"content":{"243":{"position":[[449,11]]},"244":{"position":[[1513,11]]},"413":{"position":[[114,11]]},"419":{"position":[[98,12],[1229,11],[1350,11]]},"420":{"position":[[624,11]]}},"keywords":{}}],["first.creat",{"_index":6489,"title":{},"content":{"1304":{"position":[[1867,14]]}},"keywords":{}}],["first/loc",{"_index":702,"title":{},"content":{"46":{"position":[[9,11]]}},"keywords":{}}],["firstdo",{"_index":6299,"title":{},"content":{"1258":{"position":[[28,9]]}},"keywords":{}}],["firsti",{"_index":4597,"title":{},"content":{"786":{"position":[[88,6]]}},"keywords":{}}],["firstnam",{"_index":4956,"title":{},"content":{"872":{"position":[[1976,10],[2064,12],[4206,10],[4294,12]]},"898":{"position":[[2556,10],[2669,12]]},"1041":{"position":[[347,10],[375,9]]},"1051":{"position":[[244,10],[514,10]]},"1078":{"position":[[393,12],[613,10],[694,12],[943,10],[1070,10]]},"1080":{"position":[[236,10],[827,12],[889,11],[918,13]]},"1082":{"position":[[321,10]]},"1083":{"position":[[521,10]]},"1311":{"position":[[479,10],[593,12],[1533,10]]}},"keywords":{}}],["firstopen",{"_index":5476,"title":{},"content":{"988":{"position":[[5155,9],[5795,9]]}},"keywords":{}}],["firstread",{"_index":3146,"title":{},"content":{"483":{"position":[[721,9]]}},"keywords":{}}],["firstsupabas",{"_index":5231,"title":{},"content":{"899":{"position":[[156,13]]}},"keywords":{}}],["firstsyncencrypt",{"_index":1908,"title":{},"content":{"317":{"position":[[173,19]]}},"keywords":{}}],["firstvaluefrom",{"_index":5516,"title":{},"content":{"995":{"position":[[1884,15]]}},"keywords":{}}],["fit",{"_index":952,"title":{"67":{"position":[[44,3]]},"71":{"position":[[19,3]]},"73":{"position":[[34,3]]},"98":{"position":[[45,3]]},"102":{"position":[[19,3]]},"104":{"position":[[34,3]]},"225":{"position":[[33,3]]},"229":{"position":[[19,3]]},"278":{"position":[[22,3]]}},"content":{"98":{"position":[[201,3]]},"102":{"position":[[115,3]]},"174":{"position":[[666,3]]},"229":{"position":[[196,3]]},"254":{"position":[[257,3]]},"271":{"position":[[308,3]]},"278":{"position":[[232,3]]},"354":{"position":[[75,3]]},"381":{"position":[[500,4]]},"384":{"position":[[19,3]]},"388":{"position":[[197,3]]},"412":{"position":[[6638,4]]},"481":{"position":[[426,4]]},"689":{"position":[[270,3]]},"1162":{"position":[[325,4]]},"1171":{"position":[[182,3]]},"1181":{"position":[[412,4]]},"1192":{"position":[[580,4]]},"1198":{"position":[[134,7]]}},"keywords":{}}],["fix",{"_index":1711,"title":{},"content":{"298":{"position":[[278,5]]},"397":{"position":[[214,5]]},"412":{"position":[[2924,5]]},"442":{"position":[[100,3]]},"461":{"position":[[945,5]]},"571":{"position":[[1829,5]]},"616":{"position":[[938,3]]},"626":{"position":[[388,6]]},"837":{"position":[[651,5]]},"1174":{"position":[[358,5]]},"1176":{"position":[[203,3],[484,3]]},"1198":{"position":[[728,6],[987,3]]},"1288":{"position":[[83,6]]},"1299":{"position":[[40,3]]},"1316":{"position":[[1390,3]]}},"keywords":{}}],["fix"",{"_index":3649,"title":{},"content":{"617":{"position":[[1737,9]]}},"keywords":{}}],["flag",{"_index":2979,"title":{},"content":{"455":{"position":[[909,5]]},"566":{"position":[[1418,5]]},"698":{"position":[[1195,4]]},"773":{"position":[[814,5]]},"828":{"position":[[353,6]]},"875":{"position":[[8536,5],[8800,4],[9046,4],[9361,5]]},"876":{"position":[[434,4]]},"898":{"position":[[1881,4]]},"988":{"position":[[3123,4]]},"995":{"position":[[1465,4],[1582,4],[1782,4]]},"1051":{"position":[[417,5]]},"1065":{"position":[[553,6]]},"1282":{"position":[[966,5]]}},"keywords":{}}],["flag.th",{"_index":6156,"title":{},"content":{"1181":{"position":[[352,8]]}},"keywords":{}}],["flag.thi",{"_index":6109,"title":{},"content":{"1162":{"position":[[286,9]]}},"keywords":{}}],["flags)str",{"_index":3416,"title":{},"content":{"560":{"position":[[352,12]]}},"keywords":{}}],["flaki",{"_index":2596,"title":{},"content":{"410":{"position":[[1056,5]]},"419":{"position":[[217,5]]}},"keywords":{}}],["flat",{"_index":530,"title":{},"content":{"34":{"position":[[209,4]]},"848":{"position":[[226,4]]}},"keywords":{}}],["fledg",{"_index":635,"title":{},"content":{"40":{"position":[[313,7]]},"452":{"position":[[405,7]]},"576":{"position":[[227,7]]}},"keywords":{}}],["flexibl",{"_index":639,"title":{"72":{"position":[[0,8]]},"112":{"position":[[0,8]]},"239":{"position":[[0,8]]},"351":{"position":[[0,9]]},"381":{"position":[[0,8]]}},"content":{"40":{"position":[[450,11]]},"42":{"position":[[161,11]]},"72":{"position":[[15,8]]},"112":{"position":[[15,8],[181,11]]},"174":{"position":[[805,11],[2625,8],[3119,11]]},"198":{"position":[[28,8]]},"202":{"position":[[345,11]]},"238":{"position":[[57,8]]},"239":{"position":[[17,8]]},"248":{"position":[[224,8]]},"255":{"position":[[1803,8]]},"267":{"position":[[1256,12]]},"276":{"position":[[162,11]]},"281":{"position":[[157,9]]},"282":{"position":[[331,11]]},"287":{"position":[[164,11]]},"299":{"position":[[1670,8]]},"353":{"position":[[255,8]]},"354":{"position":[[83,9]]},"356":{"position":[[31,8],[659,8]]},"360":{"position":[[850,11]]},"362":{"position":[[201,8],[515,8]]},"364":{"position":[[478,12]]},"370":{"position":[[219,12]]},"372":{"position":[[332,11]]},"381":{"position":[[470,11]]},"383":{"position":[[284,8]]},"388":{"position":[[538,12]]},"390":{"position":[[1773,11]]},"392":{"position":[[1239,8]]},"412":{"position":[[13506,11]]},"504":{"position":[[432,11]]},"574":{"position":[[46,8]]},"581":{"position":[[92,11]]},"631":{"position":[[338,8]]},"632":{"position":[[628,8]]},"688":{"position":[[301,8]]},"689":{"position":[[223,12]]},"690":{"position":[[598,12]]},"710":{"position":[[422,8]]},"715":{"position":[[163,11]]},"770":{"position":[[149,8]]},"839":{"position":[[801,8]]},"860":{"position":[[759,8]]},"1072":{"position":[[1921,11]]},"1149":{"position":[[10,11]]},"1236":{"position":[[37,9]]}},"keywords":{}}],["flexsearch",{"_index":4039,"title":{},"content":{"723":{"position":[[56,10],[2082,10]]},"724":{"position":[[5,10],[510,10]]},"1284":{"position":[[93,10]]}},"keywords":{}}],["flexsearch.find('foobar",{"_index":4064,"title":{},"content":{"724":{"position":[[1636,26],[1818,25]]}},"keywords":{}}],["flexsearch.rxdb",{"_index":6377,"title":{},"content":{"1284":{"position":[[140,15]]}},"keywords":{}}],["fli",{"_index":1994,"title":{},"content":{"351":{"position":[[217,4]]}},"keywords":{}}],["flight",{"_index":1978,"title":{},"content":{"346":{"position":[[681,6]]}},"keywords":{}}],["flip",{"_index":2648,"title":{},"content":{"412":{"position":[[184,4]]}},"keywords":{}}],["float",{"_index":5080,"title":{},"content":{"885":{"position":[[592,7],[687,7],[758,6]]}},"keywords":{}}],["flood",{"_index":3695,"title":{},"content":{"630":{"position":[[773,8]]}},"keywords":{}}],["flourish",{"_index":2046,"title":{},"content":{"356":{"position":[[865,8]]}},"keywords":{}}],["flow",{"_index":299,"title":{},"content":{"17":{"position":[[518,4]]},"47":{"position":[[223,6]]},"90":{"position":[[150,5]]},"208":{"position":[[49,4]]},"219":{"position":[[359,4]]},"226":{"position":[[265,6]]},"340":{"position":[[25,4]]},"410":{"position":[[2121,5]]},"454":{"position":[[868,4]]},"478":{"position":[[115,5]]},"576":{"position":[[139,5]]},"585":{"position":[[198,4]]},"630":{"position":[[194,5]]},"632":{"position":[[182,4]]},"871":{"position":[[397,4]]},"901":{"position":[[782,6]]},"903":{"position":[[170,4]]},"1033":{"position":[[1052,5]]},"1147":{"position":[[341,5]]}},"keywords":{}}],["fluctuat",{"_index":1679,"title":{},"content":{"289":{"position":[[246,13]]},"444":{"position":[[251,12]]}},"keywords":{}}],["fluid",{"_index":3105,"title":{},"content":{"474":{"position":[[299,5]]},"644":{"position":[[686,6]]}},"keywords":{}}],["flutter",{"_index":678,"title":{"176":{"position":[[24,7]]},"177":{"position":[[12,7]]},"178":{"position":[[27,7]]},"186":{"position":[[15,7]]},"187":{"position":[[16,7]]},"188":{"position":[[20,8]]}},"content":{"43":{"position":[[499,8]]},"177":{"position":[[1,7]]},"178":{"position":[[32,7],[326,7]]},"179":{"position":[[122,8],[242,7]]},"180":{"position":[[45,7]]},"183":{"position":[[70,7]]},"186":{"position":[[39,7],[245,8],[403,7]]},"187":{"position":[[92,7]]},"188":{"position":[[74,7],[225,7],[543,7],[1049,7],[1511,7],[1829,7],[1924,8],[2007,7],[2089,7]]},"192":{"position":[[390,7]]},"198":{"position":[[59,7],[248,7],[300,7],[521,7]]},"365":{"position":[[1061,8]]}},"keywords":{}}],["flutter'",{"_index":1230,"title":{},"content":{"177":{"position":[[197,9]]}},"keywords":{}}],["flutter_qj",{"_index":1241,"title":{},"content":{"188":{"position":[[99,11]]}},"keywords":{}}],["fn",{"_index":5270,"title":{},"content":{"910":{"position":[[407,4]]}},"keywords":{}}],["fn(...arg",{"_index":5272,"title":{},"content":{"910":{"position":[[447,13]]}},"keywords":{}}],["focu",{"_index":573,"title":{},"content":{"36":{"position":[[293,6]]},"61":{"position":[[480,5]]},"373":{"position":[[604,5]]},"378":{"position":[[137,5]]},"390":{"position":[[392,5]]},"411":{"position":[[1588,5]]},"412":{"position":[[1235,5]]},"419":{"position":[[603,5]]},"420":{"position":[[332,5],[1324,5]]},"445":{"position":[[2439,5]]},"481":{"position":[[530,5]]},"690":{"position":[[512,5]]}},"keywords":{}}],["focus",{"_index":625,"title":{"359":{"position":[[13,7]]}},"content":{"39":{"position":[[470,7]]},"40":{"position":[[66,7]]},"41":{"position":[[75,7]]},"411":{"position":[[705,7]]},"412":{"position":[[2057,8]]},"462":{"position":[[103,8]]}},"keywords":{}}],["folder",{"_index":89,"title":{},"content":{"6":{"position":[[233,7],[633,6]]},"7":{"position":[[468,6]]},"647":{"position":[[242,6],[304,9]]},"648":{"position":[[196,9]]},"649":{"position":[[152,9]]},"667":{"position":[[119,7]]},"670":{"position":[[470,7]]},"730":{"position":[[17,6],[117,6]]},"749":{"position":[[337,7],[6245,6]]},"838":{"position":[[2269,6]]},"961":{"position":[[304,6]]},"1033":{"position":[[466,8],[611,7],[702,7]]},"1090":{"position":[[933,8]]},"1130":{"position":[[280,9]]},"1210":{"position":[[626,7]]},"1227":{"position":[[224,6]]},"1265":{"position":[[217,6]]},"1266":{"position":[[348,6]]}},"keywords":{}}],["folder)befor",{"_index":3834,"title":{},"content":{"668":{"position":[[211,13]]}},"keywords":{}}],["folder/foobar/document.json",{"_index":3741,"title":{},"content":{"649":{"position":[[414,28]]}},"keywords":{}}],["folders.find().exec",{"_index":5662,"title":{},"content":{"1033":{"position":[[627,22]]}},"keywords":{}}],["follow",{"_index":879,"title":{"61":{"position":[[0,6]]},"84":{"position":[[0,6]]},"114":{"position":[[0,6]]},"149":{"position":[[0,6]]},"175":{"position":[[0,6]]},"241":{"position":[[0,6]]},"263":{"position":[[0,6]]},"296":{"position":[[0,6]]},"306":{"position":[[0,6]]},"318":{"position":[[0,6]]},"347":{"position":[[0,6]]},"362":{"position":[[0,6]]},"373":{"position":[[0,6]]},"388":{"position":[[0,6]]},"405":{"position":[[0,6]]},"442":{"position":[[0,6]]},"471":{"position":[[0,6]]},"483":{"position":[[0,6]]},"498":{"position":[[0,6]]},"511":{"position":[[0,6]]},"531":{"position":[[0,6]]},"548":{"position":[[0,6]]},"557":{"position":[[0,6]]},"567":{"position":[[0,6]]},"572":{"position":[[0,6]]},"591":{"position":[[0,6]]},"608":{"position":[[0,6]]},"628":{"position":[[0,6]]},"644":{"position":[[0,6]]},"663":{"position":[[0,6]]},"712":{"position":[[0,6]]},"776":{"position":[[0,6]]},"786":{"position":[[0,6]]},"832":{"position":[[0,6]]},"842":{"position":[[0,6]]},"873":{"position":[[0,6]]},"899":{"position":[[0,6]]},"913":{"position":[[0,6]]}},"content":{"84":{"position":[[93,9],[298,9]]},"114":{"position":[[106,9],[311,9]]},"120":{"position":[[37,7]]},"128":{"position":[[147,9]]},"142":{"position":[[68,9]]},"149":{"position":[[106,9],[311,9]]},"175":{"position":[[84,9],[304,9]]},"183":{"position":[[6,7]]},"241":{"position":[[99,9]]},"285":{"position":[[392,6]]},"299":{"position":[[115,9]]},"347":{"position":[[106,9],[311,9]]},"362":{"position":[[1177,9],[1382,9]]},"373":{"position":[[99,9]]},"425":{"position":[[221,9]]},"430":{"position":[[96,9]]},"455":{"position":[[796,9]]},"511":{"position":[[106,9],[311,9]]},"522":{"position":[[227,9]]},"523":{"position":[[206,9]]},"531":{"position":[[106,9],[311,9]]},"557":{"position":[[333,9]]},"567":{"position":[[1045,6]]},"591":{"position":[[106,9],[311,9]]},"614":{"position":[[774,9]]},"661":{"position":[[179,7]]},"666":{"position":[[41,10]]},"668":{"position":[[40,10]]},"679":{"position":[[141,9]]},"680":{"position":[[38,10]]},"763":{"position":[[19,9]]},"774":{"position":[[328,9]]},"786":{"position":[[103,6]]},"836":{"position":[[181,7]]},"837":{"position":[[47,7]]},"871":{"position":[[363,9]]},"876":{"position":[[129,9]]},"880":{"position":[[283,9]]},"922":{"position":[[80,9]]},"935":{"position":[[215,9]]},"960":{"position":[[110,9]]},"983":{"position":[[131,9]]},"988":{"position":[[103,10]]},"1067":{"position":[[1129,9],[1359,9]]},"1074":{"position":[[61,9]]},"1084":{"position":[[525,9]]},"1085":{"position":[[3283,9]]},"1102":{"position":[[1096,9]]},"1107":{"position":[[525,10]]},"1125":{"position":[[850,6]]},"1176":{"position":[[269,9]]},"1193":{"position":[[8,9]]},"1194":{"position":[[10,9]]},"1271":{"position":[[970,9],[1637,10]]},"1281":{"position":[[195,9]]},"1300":{"position":[[604,9]]}},"keywords":{}}],["followup",{"_index":3821,"title":{},"content":{"663":{"position":[[103,8]]},"712":{"position":[[122,8]]},"842":{"position":[[237,8]]}},"keywords":{}}],["foo",{"_index":3778,"title":{},"content":{"659":{"position":[[522,6],[603,5],[669,5]]},"662":{"position":[[2626,6]]},"683":{"position":[[198,5],[319,5],[913,5]]},"710":{"position":[[1933,6]]},"711":{"position":[[1368,7]]},"796":{"position":[[755,5],[954,5]]},"806":{"position":[[605,4],[684,4]]},"838":{"position":[[2840,6]]},"942":{"position":[[216,6]]},"943":{"position":[[424,6]]},"946":{"position":[[188,6]]},"947":{"position":[[206,6]]},"950":{"position":[[297,5]]},"1014":{"position":[[252,4],[391,4]]},"1015":{"position":[[228,4]]},"1018":{"position":[[131,3],[469,3],[508,3],[760,4],[876,4],[921,3],[943,4]]},"1035":{"position":[[130,6]]},"1065":{"position":[[254,5],[401,5],[829,9],[988,3],[1089,5],[1248,5],[1257,5],[1266,5],[1327,8]]},"1078":{"position":[[954,6],[1081,6]]},"1177":{"position":[[383,6]]},"1220":{"position":[[365,4],[585,5],[626,4]]},"1249":{"position":[[523,5]]}},"keywords":{}}],["foo(.*)0",{"_index":4642,"title":{},"content":{"796":{"position":[[887,10]]}},"keywords":{}}],["foo1",{"_index":5332,"title":{},"content":{"944":{"position":[[231,7]]}},"keywords":{}}],["foo2",{"_index":5334,"title":{},"content":{"944":{"position":[[267,7]]},"947":{"position":[[258,6]]}},"keywords":{}}],["foobar",{"_index":2927,"title":{},"content":{"439":{"position":[[702,7]]},"555":{"position":[[329,9],[523,8]]},"556":{"position":[[865,8]]},"649":{"position":[[383,9]]},"770":{"position":[[427,9],[523,8]]},"772":{"position":[[1052,8]]},"796":{"position":[[515,8]]},"826":{"position":[[422,8],[1084,6]]},"866":{"position":[[785,9]]},"988":{"position":[[5425,9],[5503,9]]},"1014":{"position":[[226,9],[365,9]]},"1015":{"position":[[202,9]]},"1018":{"position":[[850,9]]},"1041":{"position":[[358,8],[388,6]]},"1063":{"position":[[88,9]]},"1067":{"position":[[1332,8],[2011,8],[2155,8]]},"1125":{"position":[[593,11]]},"1252":{"position":[[170,9],[311,9]]}},"keywords":{}}],["foobar'}).exec",{"_index":5644,"title":{},"content":{"1023":{"position":[[711,18]]}},"keywords":{}}],["foobar.alic",{"_index":4929,"title":{},"content":{"866":{"position":[[752,14]]}},"keywords":{}}],["foobar2",{"_index":5676,"title":{},"content":{"1039":{"position":[[310,12],[361,9]]}},"keywords":{}}],["foobar@example.com",{"_index":5636,"title":{},"content":{"1022":{"position":[[1052,20]]}},"keywords":{}}],["foofa",{"_index":5768,"title":{},"content":{"1065":{"position":[[427,7]]}},"keywords":{}}],["foooobarnew",{"_index":5692,"title":{},"content":{"1042":{"position":[[192,14],[299,13]]}},"keywords":{}}],["footprint",{"_index":1129,"title":{},"content":{"141":{"position":[[23,9]]},"169":{"position":[[180,9]]},"174":{"position":[[2472,9]]},"316":{"position":[[25,10]]},"528":{"position":[[120,9]]}},"keywords":{}}],["for(const",{"_index":4632,"title":{},"content":{"795":{"position":[[139,9]]},"875":{"position":[[4595,9]]}},"keywords":{}}],["for="hero",{"_index":3504,"title":{},"content":{"580":{"position":[[769,14]]},"601":{"position":[[157,14]]},"602":{"position":[[532,14]]}},"keywords":{}}],["forbid",{"_index":5895,"title":{},"content":{"1085":{"position":[[2011,10]]}},"keywords":{}}],["forbidden",{"_index":5072,"title":{"881":{"position":[[0,11]]}},"content":{"881":{"position":[[203,10]]}},"keywords":{}}],["forc",{"_index":1988,"title":{},"content":{"350":{"position":[[106,6]]},"412":{"position":[[1677,6],[11904,5]]},"569":{"position":[[702,6]]},"839":{"position":[[374,6]]},"990":{"position":[[1155,5]]}},"keywords":{}}],["forefront",{"_index":3247,"title":{},"content":{"510":{"position":[[685,9]]}},"keywords":{}}],["foreign",{"_index":2021,"title":{},"content":{"354":{"position":[[504,7]]},"705":{"position":[[809,7]]},"808":{"position":[[390,7]]},"810":{"position":[[149,7]]}},"keywords":{}}],["forev",{"_index":2729,"title":{},"content":{"412":{"position":[[8203,8]]},"697":{"position":[[107,8]]}},"keywords":{}}],["forget",{"_index":4432,"title":{},"content":{"749":{"position":[[23677,6]]},"872":{"position":[[3534,6]]},"1097":{"position":[[263,6]]},"1213":{"position":[[738,6]]}},"keywords":{}}],["forgiv",{"_index":1658,"title":{},"content":{"282":{"position":[[152,9]]}},"keywords":{}}],["fork",{"_index":267,"title":{},"content":{"16":{"position":[[1,6]]},"835":{"position":[[725,4]]},"987":{"position":[[794,4]]},"1309":{"position":[[1007,4]]}},"keywords":{}}],["fork/client",{"_index":5434,"title":{},"content":{"982":{"position":[[68,11],[254,11]]},"987":{"position":[[219,11],[724,11]]}},"keywords":{}}],["form",{"_index":1989,"title":{},"content":{"350":{"position":[[243,5]]},"390":{"position":[[92,4]]},"391":{"position":[[862,4]]},"396":{"position":[[492,7]]},"455":{"position":[[430,4]]},"489":{"position":[[410,6]]},"496":{"position":[[504,6]]},"1228":{"position":[[109,4]]}},"keywords":{}}],["formal",{"_index":4813,"title":{},"content":{"841":{"position":[[1168,6]]}},"keywords":{}}],["format",{"_index":1224,"title":{"1289":{"position":[[7,8]]},"1290":{"position":[[11,7]]},"1291":{"position":[[16,7]]}},"content":{"174":{"position":[[2439,7]]},"236":{"position":[[61,7]]},"316":{"position":[[362,7]]},"364":{"position":[[195,7],[318,6]]},"367":{"position":[[93,6],[1011,7]]},"382":{"position":[[213,8]]},"398":{"position":[[46,7]]},"454":{"position":[[34,6]]},"459":{"position":[[113,6]]},"612":{"position":[[1511,6]]},"636":{"position":[[257,8]]},"686":{"position":[[229,6]]},"702":{"position":[[139,6]]},"717":{"position":[[985,6]]},"839":{"position":[[965,6]]},"875":{"position":[[1484,6],[1716,7]]},"904":{"position":[[1055,7]]},"936":{"position":[[91,7],[155,6]]},"1085":{"position":[[370,6]]},"1104":{"position":[[348,6]]},"1266":{"position":[[1022,7]]},"1289":{"position":[[53,7],[74,7],[104,7]]}},"keywords":{}}],["formatteddata",{"_index":3602,"title":{},"content":{"612":{"position":[[2089,13]]}},"keywords":{}}],["forum",{"_index":4978,"title":{},"content":{"873":{"position":[[181,5]]}},"keywords":{}}],["forward",{"_index":4856,"title":{},"content":{"849":{"position":[[1048,9]]}},"keywords":{}}],["found",{"_index":349,"title":{},"content":{"20":{"position":[[99,7]]},"396":{"position":[[855,5]]},"421":{"position":[[160,5]]},"543":{"position":[[73,5]]},"603":{"position":[[71,5]]},"620":{"position":[[297,5]]},"749":{"position":[[22045,6]]},"810":{"position":[[181,6]]},"825":{"position":[[1116,5]]},"1057":{"position":[[546,5]]},"1059":{"position":[[343,5]]},"1060":{"position":[[201,5]]},"1061":{"position":[[244,5]]},"1062":{"position":[[13,5]]},"1208":{"position":[[1986,5]]},"1296":{"position":[[229,6]]}},"keywords":{}}],["foundat",{"_index":1159,"title":{},"content":{"151":{"position":[[422,10]]},"267":{"position":[[1580,10]]},"503":{"position":[[199,10]]},"530":{"position":[[449,12]]}},"keywords":{}}],["foundationdb",{"_index":2112,"title":{"1131":{"position":[[24,12]]}},"content":{"365":{"position":[[1551,12]]},"772":{"position":[[192,12],[227,12],[446,12],[553,12],[738,14],[1222,12],[1832,12]]},"774":{"position":[[350,12],[543,14]]},"793":{"position":[[380,12]]},"1072":{"position":[[1818,13]]},"1095":{"position":[[136,12]]},"1124":{"position":[[454,12],[541,12]]},"1132":{"position":[[22,13],[87,12],[130,12]]},"1133":{"position":[[13,12],[75,12],[108,12],[162,13],[232,12],[325,12],[526,13]]},"1134":{"position":[[105,14],[243,12],[268,12],[448,12]]},"1135":{"position":[[9,12],[302,12]]},"1198":{"position":[[1413,12]]},"1247":{"position":[[592,13],[643,12]]},"1320":{"position":[[807,13]]}},"keywords":{}}],["foundationdb.observ",{"_index":6029,"title":{},"content":{"1132":{"position":[[841,23]]}},"keywords":{}}],["foundationdb@1.1.4",{"_index":6038,"title":{},"content":{"1133":{"position":[[431,18]]}},"keywords":{}}],["founddocu",{"_index":1639,"title":{},"content":{"276":{"position":[[382,14]]},"724":{"position":[[1613,14],[1795,14]]}},"keywords":{}}],["four",{"_index":5255,"title":{},"content":{"904":{"position":[[264,4]]}},"keywords":{}}],["fraction",{"_index":2067,"title":{},"content":{"358":{"position":[[813,8]]}},"keywords":{}}],["frame",{"_index":2555,"title":{},"content":{"408":{"position":[[3034,6]]},"571":{"position":[[1627,6]]},"703":{"position":[[1577,6]]}},"keywords":{}}],["framework",{"_index":250,"title":{"94":{"position":[[35,11]]},"222":{"position":[[35,11]]},"286":{"position":[[14,10]]},"492":{"position":[[25,11]]}},"content":{"15":{"position":[[131,9],[303,10]]},"17":{"position":[[162,11]]},"38":{"position":[[34,9]]},"94":{"position":[[81,10],[275,10]]},"116":{"position":[[34,9]]},"173":{"position":[[2189,11],[2282,10],[2412,10]]},"174":{"position":[[1423,10]]},"177":{"position":[[207,9]]},"179":{"position":[[102,11]]},"201":{"position":[[363,9]]},"222":{"position":[[98,10],[259,11]]},"230":{"position":[[141,10]]},"284":{"position":[[177,11]]},"286":{"position":[[52,11],[373,9]]},"313":{"position":[[87,10]]},"352":{"position":[[230,10]]},"360":{"position":[[96,10]]},"411":{"position":[[5196,10]]},"445":{"position":[[1683,11],[1758,10],[1893,11],[1995,11]]},"446":{"position":[[1125,10],[1281,11]]},"447":{"position":[[221,10]]},"606":{"position":[[264,10]]},"624":{"position":[[447,11],[952,10]]},"729":{"position":[[55,11]]},"730":{"position":[[70,10]]},"824":{"position":[[203,10]]},"828":{"position":[[120,10]]},"831":{"position":[[337,11]]},"890":{"position":[[406,9]]},"1118":{"position":[[172,9]]},"1202":{"position":[[55,11]]}},"keywords":{}}],["free",{"_index":607,"title":{"781":{"position":[[19,5]]}},"content":{"38":{"position":[[1064,4]]},"40":{"position":[[31,4]]},"51":{"position":[[45,4]]},"262":{"position":[[249,4]]},"295":{"position":[[273,4]]},"298":{"position":[[550,4]]},"299":{"position":[[268,4],[774,4],[1128,4]]},"302":{"position":[[639,4],[961,4]]},"315":{"position":[[59,5],[138,4]]},"408":{"position":[[998,4]]},"411":{"position":[[568,7],[1568,5]]},"412":{"position":[[3691,4]]},"476":{"position":[[228,6]]},"538":{"position":[[46,4]]},"554":{"position":[[57,4]]},"598":{"position":[[46,4]]},"661":{"position":[[346,4]]},"686":{"position":[[896,4]]},"689":{"position":[[43,4]]},"698":{"position":[[3026,4]]},"717":{"position":[[53,4]]},"772":{"position":[[1792,4]]},"801":{"position":[[467,4]]},"955":{"position":[[74,4]]},"976":{"position":[[50,4]]},"977":{"position":[[51,4]]},"1143":{"position":[[42,5]]},"1151":{"position":[[98,4]]},"1178":{"position":[[98,4]]},"1198":{"position":[[316,5],[1995,4]]},"1235":{"position":[[138,6]]},"1321":{"position":[[106,4]]}},"keywords":{}}],["freedom",{"_index":1302,"title":{"202":{"position":[[3,7]]},"249":{"position":[[3,7]]}},"content":{"263":{"position":[[73,7]]}},"keywords":{}}],["freeli",{"_index":1932,"title":{},"content":{"330":{"position":[[113,6]]}},"keywords":{}}],["frequenc",{"_index":3566,"title":{},"content":{"611":{"position":[[571,9]]}},"keywords":{}}],["frequent",{"_index":905,"title":{},"content":{"65":{"position":[[198,10]]},"87":{"position":[[81,10]]},"141":{"position":[[274,10]]},"166":{"position":[[216,10]]},"173":{"position":[[686,10]]},"204":{"position":[[337,10]]},"216":{"position":[[75,10]]},"220":{"position":[[304,8]]},"342":{"position":[[19,10]]},"346":{"position":[[784,8]]},"352":{"position":[[15,10]]},"354":{"position":[[821,10],[1691,8]]},"376":{"position":[[247,10],[579,8]]},"411":{"position":[[658,8]]},"430":{"position":[[897,8]]},"497":{"position":[[661,8]]},"570":{"position":[[638,8]]},"587":{"position":[[24,10]]},"622":{"position":[[472,10]]},"623":{"position":[[521,8]]},"624":{"position":[[514,8]]},"690":{"position":[[266,8]]},"836":{"position":[[2147,11]]}},"keywords":{}}],["fresh",{"_index":3129,"title":{},"content":{"481":{"position":[[135,5]]}},"keywords":{}}],["friction",{"_index":1997,"title":{},"content":{"351":{"position":[[330,8]]},"353":{"position":[[793,8]]},"354":{"position":[[1679,8]]}},"keywords":{}}],["friend",{"_index":2602,"title":{},"content":{"410":{"position":[[1657,6]]},"808":{"position":[[620,8]]},"813":{"position":[[143,8],[293,8],[399,7]]}},"keywords":{}}],["friendli",{"_index":938,"title":{"387":{"position":[[10,8]]}},"content":{"65":{"position":[[2113,9]]},"83":{"position":[[398,8]]},"364":{"position":[[12,13]]},"473":{"position":[[189,9]]},"839":{"position":[[347,8],[1154,9]]}},"keywords":{}}],["fromobservable(ob",{"_index":6003,"title":{},"content":{"1118":{"position":[[541,19]]}},"keywords":{}}],["fromobservable(observ",{"_index":839,"title":{},"content":{"55":{"position":[[467,27]]}},"keywords":{}}],["front",{"_index":662,"title":{"225":{"position":[[45,5]]}},"content":{"42":{"position":[[293,5]]},"43":{"position":[[341,5]]},"218":{"position":[[54,5]]},"350":{"position":[[289,5]]},"351":{"position":[[235,5]]},"360":{"position":[[86,5]]},"849":{"position":[[746,5]]},"1088":{"position":[[767,5]]},"1208":{"position":[[589,5]]}},"keywords":{}}],["frontend",{"_index":262,"title":{"213":{"position":[[16,8],[61,8]]},"214":{"position":[[40,9]]},"229":{"position":[[31,9]]}},"content":{"15":{"position":[[433,9]]},"18":{"position":[[81,8]]},"26":{"position":[[244,8]]},"27":{"position":[[68,8],[262,8]]},"38":{"position":[[568,8],[648,8]]},"215":{"position":[[44,8],[105,8]]},"216":{"position":[[1,8]]},"217":{"position":[[21,8]]},"219":{"position":[[1,8],[202,9]]},"220":{"position":[[1,8]]},"221":{"position":[[118,8]]},"222":{"position":[[1,8],[329,8]]},"223":{"position":[[40,8],[131,8],[311,8]]},"224":{"position":[[1,8]]},"225":{"position":[[92,9],[166,8]]},"226":{"position":[[215,8],[331,8],[445,8]]},"227":{"position":[[163,8]]},"228":{"position":[[164,8]]},"229":{"position":[[20,8],[134,8],[204,8]]},"232":{"position":[[57,8]]},"233":{"position":[[253,8]]},"234":{"position":[[274,8]]},"235":{"position":[[253,8]]},"236":{"position":[[330,8]]},"239":{"position":[[293,8]]},"241":{"position":[[63,8],[378,8],[434,8],[665,8]]},"373":{"position":[[63,8],[687,8]]},"411":{"position":[[1873,9]]},"412":{"position":[[9138,9],[9183,8]]},"860":{"position":[[192,8]]},"890":{"position":[[542,8]]},"1320":{"position":[[41,9],[228,8],[446,8]]}},"keywords":{}}],["frontend+backend",{"_index":2659,"title":{},"content":{"412":{"position":[[870,16]]}},"keywords":{}}],["frustratingli",{"_index":2855,"title":{},"content":{"421":{"position":[[880,13]]}},"keywords":{}}],["fs",{"_index":4577,"title":{},"content":{"772":{"position":[[2227,2]]},"1176":{"position":[[250,2],[374,3]]}},"keywords":{}}],["fuel",{"_index":2565,"title":{},"content":{"408":{"position":[[4301,7]]}},"keywords":{}}],["fulfil",{"_index":2622,"title":{},"content":{"411":{"position":[[2655,8]]}},"keywords":{}}],["full",{"_index":49,"title":{"394":{"position":[[37,4]]}},"content":{"2":{"position":[[421,4]]},"6":{"position":[[586,4],[784,4]]},"10":{"position":[[382,4]]},"36":{"position":[[220,4]]},"39":{"position":[[349,4]]},"40":{"position":[[308,4]]},"51":{"position":[[1009,4]]},"83":{"position":[[442,4]]},"205":{"position":[[217,4]]},"222":{"position":[[307,4]]},"241":{"position":[[416,4]]},"252":{"position":[[216,4]]},"285":{"position":[[374,4]]},"302":{"position":[[31,4]]},"357":{"position":[[466,4]]},"392":{"position":[[4902,4]]},"394":{"position":[[1358,4]]},"398":{"position":[[115,4]]},"402":{"position":[[1380,4]]},"411":{"position":[[4112,4],[5047,4]]},"412":{"position":[[10451,4],[11912,4],[13650,4],[13712,4],[14644,4]]},"432":{"position":[[969,4]]},"447":{"position":[[678,4]]},"461":{"position":[[250,4],[1407,4]]},"468":{"position":[[494,4]]},"480":{"position":[[146,4]]},"567":{"position":[[71,4]]},"574":{"position":[[734,4]]},"611":{"position":[[22,4]]},"621":{"position":[[50,4]]},"626":{"position":[[220,4]]},"644":{"position":[[494,4]]},"690":{"position":[[57,4]]},"696":{"position":[[131,4]]},"775":{"position":[[568,4]]},"800":{"position":[[362,4]]},"824":{"position":[[64,4],[99,4]]},"832":{"position":[[17,4]]},"839":{"position":[[487,4]]},"875":{"position":[[1991,4],[5714,4]]},"890":{"position":[[984,4]]},"985":{"position":[[190,4]]},"994":{"position":[[90,4]]},"1004":{"position":[[403,4]]},"1067":{"position":[[708,4]]},"1072":{"position":[[440,4]]},"1147":{"position":[[304,4]]},"1149":{"position":[[5,4]]},"1198":{"position":[[820,4]]},"1219":{"position":[[228,4]]},"1271":{"position":[[293,4],[592,4],[644,4],[687,4]]},"1284":{"position":[[108,4]]},"1318":{"position":[[1160,4]]}},"keywords":{}}],["fulli",{"_index":582,"title":{"248":{"position":[[3,5]]}},"content":{"37":{"position":[[316,5],[392,5]]},"201":{"position":[[100,5]]},"248":{"position":[[149,5]]},"280":{"position":[[239,5]]},"312":{"position":[[28,5]]},"404":{"position":[[131,5]]},"412":{"position":[[200,5]]},"451":{"position":[[569,5]]},"452":{"position":[[399,5]]},"576":{"position":[[221,5]]},"700":{"position":[[482,5]]},"723":{"position":[[2004,5]]},"740":{"position":[[162,5]]},"749":{"position":[[2695,5]]},"829":{"position":[[3845,5]]},"837":{"position":[[476,5]]},"855":{"position":[[28,5]]},"860":{"position":[[395,5]]},"867":{"position":[[28,5]]},"901":{"position":[[757,5]]},"903":{"position":[[262,5]]},"904":{"position":[[166,5]]},"981":{"position":[[1274,5]]},"1047":{"position":[[183,5]]},"1067":{"position":[[904,5],[1812,5],[2233,5]]},"1068":{"position":[[14,5]]},"1214":{"position":[[825,5]]},"1301":{"position":[[1527,5]]}},"keywords":{}}],["fulltext",{"_index":4038,"title":{"722":{"position":[[0,8]]},"723":{"position":[[26,8]]},"724":{"position":[[15,8]]},"1023":{"position":[[9,8]]}},"content":{"723":{"position":[[512,8],[1143,8],[1344,8],[2506,8]]},"724":{"position":[[1219,8]]},"793":{"position":[[1159,8]]},"1023":{"position":[[70,8],[160,8]]}},"keywords":{}}],["fun",{"_index":3964,"title":{},"content":{"702":{"position":[[534,4]]}},"keywords":{}}],["function",{"_index":151,"title":{"747":{"position":[[21,10]]},"937":{"position":[[4,10]]},"940":{"position":[[0,10]]},"1037":{"position":[[0,10]]}},"content":{"11":{"position":[[326,8],[518,8],[684,8]]},"19":{"position":[[328,10]]},"21":{"position":[[72,9]]},"46":{"position":[[49,8]]},"51":{"position":[[641,8]]},"55":{"position":[[357,8]]},"122":{"position":[[337,8]]},"133":{"position":[[99,8]]},"151":{"position":[[209,14]]},"160":{"position":[[57,8]]},"164":{"position":[[87,8]]},"183":{"position":[[104,8]]},"188":{"position":[[894,8]]},"193":{"position":[[74,13]]},"201":{"position":[[249,10]]},"209":{"position":[[205,8]]},"248":{"position":[[155,10]]},"255":{"position":[[552,8]]},"273":{"position":[[288,11]]},"274":{"position":[[125,8]]},"280":{"position":[[76,8],[245,10]]},"292":{"position":[[34,14],[201,11]]},"309":{"position":[[9,13]]},"312":{"position":[[16,11]]},"314":{"position":[[438,8]]},"315":{"position":[[389,8]]},"320":{"position":[[230,14]]},"327":{"position":[[126,9]]},"334":{"position":[[290,8]]},"335":{"position":[[171,8]]},"375":{"position":[[59,14]]},"383":{"position":[[85,13]]},"390":{"position":[[1875,9]]},"391":{"position":[[308,9],[568,8],[760,8]]},"392":{"position":[[4035,8]]},"393":{"position":[[329,9]]},"394":{"position":[[151,9]]},"398":{"position":[[685,8],[1931,8]]},"412":{"position":[[2391,9],[4408,9]]},"414":{"position":[[289,11]]},"419":{"position":[[450,9]]},"420":{"position":[[1210,13]]},"430":{"position":[[969,8]]},"444":{"position":[[314,14],[879,13]]},"445":{"position":[[592,13]]},"446":{"position":[[99,14]]},"447":{"position":[[59,13]]},"480":{"position":[[296,8]]},"482":{"position":[[386,8]]},"494":{"position":[[164,8]]},"500":{"position":[[178,8]]},"502":{"position":[[427,10]]},"516":{"position":[[67,8]]},"529":{"position":[[109,13]]},"534":{"position":[[251,10]]},"541":{"position":[[217,8]]},"542":{"position":[[745,8]]},"554":{"position":[[811,8]]},"556":{"position":[[342,8]]},"559":{"position":[[237,8]]},"562":{"position":[[127,8],[1088,8]]},"563":{"position":[[428,8]]},"564":{"position":[[401,8]]},"579":{"position":[[299,8]]},"584":{"position":[[33,8]]},"594":{"position":[[249,10]]},"598":{"position":[[399,8]]},"610":{"position":[[904,8]]},"616":{"position":[[1071,13]]},"632":{"position":[[1177,8],[2180,8]]},"650":{"position":[[80,14]]},"672":{"position":[[7,8]]},"673":{"position":[[50,8]]},"674":{"position":[[321,8]]},"675":{"position":[[208,9]]},"693":{"position":[[315,9],[875,8]]},"703":{"position":[[858,9]]},"723":{"position":[[2663,8]]},"724":{"position":[[424,9]]},"747":{"position":[[52,9]]},"749":{"position":[[7505,8],[8074,8],[8375,8],[12025,9],[14194,8]]},"751":{"position":[[207,8],[279,8]]},"761":{"position":[[393,8]]},"766":{"position":[[224,9]]},"789":{"position":[[15,10],[101,10],[128,8],[241,11],[488,11]]},"791":{"position":[[97,11],[356,11]]},"792":{"position":[[228,11]]},"802":{"position":[[432,15]]},"805":{"position":[[36,8],[117,8]]},"806":{"position":[[16,9]]},"815":{"position":[[139,8]]},"818":{"position":[[51,8],[421,8],[573,11]]},"829":{"position":[[597,8]]},"846":{"position":[[1450,10]]},"848":{"position":[[559,8],[820,8],[1455,8]]},"860":{"position":[[401,10]]},"862":{"position":[[1685,13]]},"872":{"position":[[2787,13]]},"875":{"position":[[236,8],[5724,8]]},"886":{"position":[[91,8]]},"888":{"position":[[575,9]]},"889":{"position":[[605,8],[799,10],[836,9]]},"890":{"position":[[146,10],[774,9]]},"898":{"position":[[1341,8],[4603,13]]},"902":{"position":[[669,11]]},"904":{"position":[[1574,8]]},"907":{"position":[[179,8]]},"908":{"position":[[256,9]]},"934":{"position":[[342,9],[403,9],[462,9],[674,13],[751,12]]},"937":{"position":[[74,9]]},"950":{"position":[[377,12]]},"952":{"position":[[10,8]]},"953":{"position":[[56,9]]},"956":{"position":[[26,8]]},"958":{"position":[[711,8]]},"960":{"position":[[65,8]]},"968":{"position":[[107,8],[214,8],[239,8],[334,8],[405,8]]},"971":{"position":[[10,8]]},"972":{"position":[[55,9]]},"988":{"position":[[5173,8]]},"992":{"position":[[5,8]]},"1007":{"position":[[1220,8],[1795,8],[2055,8]]},"1020":{"position":[[254,8]]},"1030":{"position":[[114,8]]},"1035":{"position":[[85,9]]},"1036":{"position":[[78,9]]},"1039":{"position":[[6,8]]},"1040":{"position":[[122,9]]},"1042":{"position":[[37,8]]},"1060":{"position":[[29,8]]},"1061":{"position":[[30,8]]},"1069":{"position":[[299,8]]},"1085":{"position":[[2158,10]]},"1097":{"position":[[149,8]]},"1105":{"position":[[36,8],[593,8]]},"1106":{"position":[[38,8],[527,8]]},"1115":{"position":[[85,8],[839,8]]},"1125":{"position":[[74,8]]},"1139":{"position":[[230,9]]},"1140":{"position":[[381,8]]},"1145":{"position":[[222,9]]},"1146":{"position":[[202,9]]},"1151":{"position":[[840,8]]},"1178":{"position":[[837,8]]},"1211":{"position":[[351,8]]},"1218":{"position":[[105,8],[183,8],[220,8]]},"1219":{"position":[[43,9]]},"1229":{"position":[[66,8]]},"1268":{"position":[[66,8]]},"1279":{"position":[[238,8]]},"1280":{"position":[[198,8]]},"1282":{"position":[[522,9],[663,8],[859,8]]},"1291":{"position":[[101,8]]},"1307":{"position":[[876,9]]},"1309":{"position":[[53,10]]},"1311":{"position":[[1143,8]]},"1319":{"position":[[300,8]]},"1320":{"position":[[673,14]]},"1322":{"position":[[500,9]]}},"keywords":{}}],["function"",{"_index":2681,"title":{},"content":{"412":{"position":[[3539,14]]}},"keywords":{}}],["function(authdata",{"_index":5971,"title":{},"content":{"1109":{"position":[[191,18]]}},"keywords":{}}],["function(docdata",{"_index":2497,"title":{},"content":{"403":{"position":[[808,18]]}},"keywords":{}}],["function(ev",{"_index":3570,"title":{},"content":{"611":{"position":[[693,15],[837,15]]}},"keywords":{}}],["function(olddoc",{"_index":4444,"title":{},"content":{"751":{"position":[[617,17],[860,17],[1098,17],[1719,17],[1926,17]]},"752":{"position":[[531,17]]},"754":{"position":[[268,17],[414,17],[573,17]]}},"keywords":{}}],["function(thi",{"_index":6501,"title":{},"content":{"1311":{"position":[[670,14],[859,14]]}},"keywords":{}}],["functionality.run",{"_index":1209,"title":{},"content":{"173":{"position":[[2463,21]]}},"keywords":{}}],["fund",{"_index":605,"title":{},"content":{"38":{"position":[[1029,8]]}},"keywords":{}}],["fundament",{"_index":1630,"title":{},"content":{"270":{"position":[[32,11]]},"408":{"position":[[2702,11]]},"525":{"position":[[33,11]]}},"keywords":{}}],["funnel",{"_index":2618,"title":{},"content":{"411":{"position":[[2402,6]]}},"keywords":{}}],["further",{"_index":688,"title":{"1302":{"position":[[0,7]]}},"content":{"43":{"position":[[722,7]]},"137":{"position":[[63,7]]},"175":{"position":[[4,7]]},"241":{"position":[[4,7]]},"283":{"position":[[379,7]]},"299":{"position":[[674,8]]},"373":{"position":[[4,7]]},"377":{"position":[[365,7]]},"391":{"position":[[920,7]]},"419":{"position":[[1818,7]]},"467":{"position":[[419,7]]},"490":{"position":[[676,7]]},"624":{"position":[[1051,7]]},"643":{"position":[[154,7]]},"648":{"position":[[333,7]]},"849":{"position":[[183,7]]},"1120":{"position":[[498,7]]},"1198":{"position":[[945,8]]},"1296":{"position":[[1627,7]]},"1324":{"position":[[803,7]]}},"keywords":{}}],["furthermor",{"_index":2240,"title":{},"content":{"392":{"position":[[2231,12]]},"500":{"position":[[692,12]]}},"keywords":{}}],["futur",{"_index":331,"title":{"404":{"position":[[9,6]]},"406":{"position":[[32,6]]},"421":{"position":[[23,7]]},"470":{"position":[[0,6]]}},"content":{"19":{"position":[[430,7]]},"404":{"position":[[108,7]]},"408":{"position":[[4089,6]]},"420":{"position":[[912,6]]},"470":{"position":[[283,7],[458,7]]},"500":{"position":[[30,6]]},"620":{"position":[[583,6]]},"624":{"position":[[1188,6]]},"644":{"position":[[645,6]]},"786":{"position":[[179,6]]},"839":{"position":[[1083,6]]},"1100":{"position":[[306,7]]}},"keywords":{}}],["gain",{"_index":1541,"title":{"408":{"position":[[19,7]]}},"content":{"247":{"position":[[131,4]]},"412":{"position":[[9587,5]]},"420":{"position":[[1096,5]]},"446":{"position":[[1173,6]]},"483":{"position":[[209,5]]}},"keywords":{}}],["game",{"_index":1634,"title":{},"content":{"274":{"position":[[47,4]]},"375":{"position":[[456,6]]},"399":{"position":[[263,6],[559,6]]},"445":{"position":[[59,4]]},"611":{"position":[[310,7]]},"613":{"position":[[455,7]]},"624":{"position":[[790,6]]},"699":{"position":[[646,4]]},"1006":{"position":[[48,4],[263,4]]},"1007":{"position":[[956,4]]}},"keywords":{}}],["gap",{"_index":1935,"title":{},"content":{"331":{"position":[[238,4]]},"408":{"position":[[5147,3]]},"438":{"position":[[235,4]]},"502":{"position":[[534,4]]},"576":{"position":[[340,3]]},"1123":{"position":[[699,3]]}},"keywords":{}}],["garner",{"_index":3250,"title":{},"content":{"513":{"position":[[43,8]]}},"keywords":{}}],["gather",{"_index":5960,"title":{},"content":{"1105":{"position":[[1165,6]]}},"keywords":{}}],["gb",{"_index":1744,"title":{},"content":{"299":{"position":[[312,2],[324,2],[426,2],[601,2],[900,3]]},"408":{"position":[[1034,2]]}},"keywords":{}}],["gcm",{"_index":4035,"title":{},"content":{"718":{"position":[[536,4]]}},"keywords":{}}],["gdpr",{"_index":3335,"title":{},"content":{"550":{"position":[[414,4]]}},"keywords":{}}],["gen",{"_index":6398,"title":{},"content":{"1292":{"position":[[167,3]]}},"keywords":{}}],["gender",{"_index":4651,"title":{},"content":{"798":{"position":[[396,6],[434,10],[482,9],[596,7],[763,10],[889,9],[918,10]]},"1066":{"position":[[402,7],[569,10],[695,9],[724,10]]}},"keywords":{}}],["gener",{"_index":1631,"title":{"391":{"position":[[0,10]]},"828":{"position":[[0,7]]}},"content":{"270":{"position":[[147,9]]},"299":{"position":[[835,9],[1145,9]]},"392":{"position":[[1872,9],[2009,8],[2540,9],[3395,10]]},"398":{"position":[[313,9]]},"412":{"position":[[9744,9]]},"454":{"position":[[387,9]]},"456":{"position":[[171,8]]},"461":{"position":[[691,9]]},"612":{"position":[[810,9],[958,7],[1221,7]]},"622":{"position":[[415,9]]},"623":{"position":[[508,9]]},"624":{"position":[[1598,9]]},"661":{"position":[[169,9]]},"709":{"position":[[922,9]]},"711":{"position":[[1843,8]]},"836":{"position":[[171,9]]},"837":{"position":[[698,7]]},"841":{"position":[[904,9]]},"889":{"position":[[994,8]]},"912":{"position":[[561,9]]},"1072":{"position":[[1741,9]]},"1098":{"position":[[146,7]]},"1192":{"position":[[619,7]]},"1276":{"position":[[171,7]]},"1316":{"position":[[2146,9],[3647,7]]},"1322":{"position":[[280,9]]}},"keywords":{}}],["geniu",{"_index":790,"title":{},"content":{"52":{"position":[[134,7]]},"539":{"position":[[134,7]]},"599":{"position":[[143,7]]}},"keywords":{}}],["genuin",{"_index":2518,"title":{},"content":{"407":{"position":[[456,7]]}},"keywords":{}}],["geoloc",{"_index":2822,"title":{},"content":{"419":{"position":[[1785,11]]}},"keywords":{}}],["german",{"_index":3024,"title":{},"content":{"462":{"position":[[586,6]]}},"keywords":{}}],["get",{"_index":1074,"title":{"119":{"position":[[0,7]]},"154":{"position":[[0,7]]},"180":{"position":[[0,7]]},"256":{"position":[[0,7]]},"272":{"position":[[0,7]]},"324":{"position":[[0,7]]},"502":{"position":[[0,7]]},"577":{"position":[[0,7]]},"669":{"position":[[0,7]]}},"content":{"285":{"position":[[1,7]]},"393":{"position":[[753,4]]},"412":{"position":[[12183,4]]},"698":{"position":[[872,4]]},"751":{"position":[[294,4]]},"793":{"position":[[19,7]]},"805":{"position":[[126,4]]},"818":{"position":[[111,4]]},"875":{"position":[[3664,4]]},"886":{"position":[[105,4],[3358,4]]},"921":{"position":[[1,4],[112,4]]},"968":{"position":[[248,4]]},"983":{"position":[[485,4]]},"986":{"position":[[1108,4]]},"1078":{"position":[[46,4]]},"1104":{"position":[[276,4]]},"1105":{"position":[[138,4]]},"1115":{"position":[[99,4]]},"1154":{"position":[[20,4]]},"1233":{"position":[[206,4]]},"1295":{"position":[[1070,7],[1223,7]]},"1307":{"position":[[365,4]]},"1315":{"position":[[1447,4]]}},"keywords":{}}],["get/put",{"_index":731,"title":{},"content":{"47":{"position":[[515,7]]}},"keywords":{}}],["get/set",{"_index":3440,"title":{},"content":{"566":{"position":[[224,7]]}},"keywords":{}}],["getajv",{"_index":6388,"title":{},"content":{"1290":{"position":[[10,6],[65,9]]}},"keywords":{}}],["getal",{"_index":2960,"title":{},"content":{"452":{"position":[[527,8]]},"1294":{"position":[[104,8],[409,8],[754,9],[2101,9]]}},"keywords":{}}],["getallkey",{"_index":6424,"title":{},"content":{"1294":{"position":[[429,13]]}},"keywords":{}}],["getattach",{"_index":5297,"title":{"919":{"position":[[0,16]]}},"content":{},"keywords":{}}],["getattachmentdata",{"_index":4123,"title":{},"content":{"746":{"position":[[761,18]]}},"keywords":{}}],["getchangeddocumentssinc",{"_index":4124,"title":{},"content":{"746":{"position":[[786,25]]}},"keywords":{}}],["getconnectionhandlersimplep",{"_index":1363,"title":{},"content":{"210":{"position":[[172,30],[360,32]]},"261":{"position":[[240,30],[489,32]]},"904":{"position":[[1331,30],[1679,30],[2559,32]]},"906":{"position":[[851,33]]},"911":{"position":[[687,32]]},"1121":{"position":[[355,30],[715,35]]}},"keywords":{}}],["getcrdtschemapart",{"_index":3872,"title":{},"content":{"680":{"position":[[351,18],[972,19]]}},"keywords":{}}],["getcrdtschemapart()set",{"_index":3870,"title":{},"content":{"680":{"position":[[165,22]]}},"keywords":{}}],["getdata",{"_index":5306,"title":{"930":{"position":[[0,10]]}},"content":{},"keywords":{}}],["getdatabas",{"_index":168,"title":{},"content":{"11":{"position":[[693,14]]},"829":{"position":[[606,13],[1359,11],[1529,14]]}},"keywords":{}}],["getdatabase64",{"_index":5294,"title":{"931":{"position":[[0,16]]}},"content":{"917":{"position":[[592,15]]}},"keywords":{}}],["getdatabaseconnect",{"_index":6364,"title":{},"content":{"1281":{"position":[[74,21],[116,21],[217,22]]}},"keywords":{}}],["getdatabasepassword",{"_index":3363,"title":{},"content":{"556":{"position":[[351,21]]}},"keywords":{}}],["getdoc",{"_index":4881,"title":{},"content":{"857":{"position":[[214,8]]}},"keywords":{}}],["getdocs(query(firestorecollect",{"_index":4883,"title":{},"content":{"857":{"position":[[303,36]]}},"keywords":{}}],["getembedding(doc.text",{"_index":2380,"title":{},"content":{"397":{"position":[[1890,23]]}},"keywords":{}}],["getembedding(docdata.bodi",{"_index":2498,"title":{},"content":{"403":{"position":[[851,27]]}},"keywords":{}}],["getembeddingfromtext",{"_index":2212,"title":{},"content":{"391":{"position":[[285,22]]}},"keywords":{}}],["getembeddingfromtext(text",{"_index":2221,"title":{},"content":{"391":{"position":[[577,26]]}},"keywords":{}}],["getembeddingfromtext(userinput",{"_index":2310,"title":{},"content":{"394":{"position":[[651,32]]}},"keywords":{}}],["getfetchwithcouchdbauthor",{"_index":4842,"title":{},"content":{"848":{"position":[[1083,34],[1193,32]]}},"keywords":{}}],["getfetchwithcouchdbauthorization('myusernam",{"_index":4843,"title":{},"content":{"848":{"position":[[1480,46]]}},"keywords":{}}],["getfirestor",{"_index":4863,"title":{},"content":{"854":{"position":[[143,13]]}},"keywords":{}}],["getfirestore(app",{"_index":4869,"title":{},"content":{"854":{"position":[[374,18]]}},"keywords":{}}],["getitem",{"_index":2868,"title":{},"content":{"425":{"position":[[176,8],[347,7]]},"451":{"position":[[203,8]]},"835":{"position":[[437,9]]}},"keywords":{}}],["getitem())rxdb",{"_index":3421,"title":{},"content":{"560":{"position":[[595,16]]}},"keywords":{}}],["getitem/setitem",{"_index":4805,"title":{},"content":{"841":{"position":[[280,15]]}},"keywords":{}}],["getlatest",{"_index":5701,"title":{"1045":{"position":[[0,12]]}},"content":{},"keywords":{}}],["getleaderelectorbybroadcastchannel",{"_index":4105,"title":{},"content":{"740":{"position":[[425,34]]}},"keywords":{}}],["getleaderelectorbybroadcastchannel(broadcastchannel",{"_index":4107,"title":{},"content":{"740":{"position":[[521,53]]}},"keywords":{}}],["getloc",{"_index":5604,"title":{"1016":{"position":[[0,11]]},"1017":{"position":[[0,12]]}},"content":{"1017":{"position":[[6,10]]}},"keywords":{}}],["getlocalstoragemetaoptimizerrxstorag",{"_index":6092,"title":{},"content":{"1154":{"position":[[207,37],[482,39]]},"1238":{"position":[[684,37],[842,39]]},"1239":{"position":[[485,37],[812,39]]}},"keywords":{}}],["getlocalstoragemock",{"_index":6104,"title":{},"content":{"1159":{"position":[[298,19],[467,21]]}},"keywords":{}}],["getlokijsadapterflutt",{"_index":1249,"title":{},"content":{"188":{"position":[[783,23],[1119,25]]}},"keywords":{}}],["getmemorymappedrxstorag",{"_index":4583,"title":{},"content":{"774":{"position":[[567,24],[709,26]]},"1090":{"position":[[677,24],[824,26]]},"1182":{"position":[[91,24],[404,26]]},"1184":{"position":[[457,24],[650,26]]},"1185":{"position":[[310,26]]},"1186":{"position":[[268,26]]},"1239":{"position":[[599,24],[861,26]]}},"keywords":{}}],["getmemorysyncedrxstorag",{"_index":6113,"title":{},"content":{"1163":{"position":[[91,24],[400,26]]},"1164":{"position":[[134,26]]},"1165":{"position":[[363,26]]}},"keywords":{}}],["getpouchdbofrxcollect",{"_index":6186,"title":{},"content":{"1204":{"position":[[237,24]]}},"keywords":{}}],["getpouchdbofrxcollection(myrxcollect",{"_index":6187,"title":{},"content":{"1204":{"position":[[307,41]]}},"keywords":{}}],["getrxdatabase("javascript/dist/index.js"",{"_index":1275,"title":{},"content":{"188":{"position":[[2655,51]]}},"keywords":{}}],["getrxstoragedenokv",{"_index":6016,"title":{},"content":{"1125":{"position":[[55,18],[203,18],[334,20]]},"1126":{"position":[[419,21]]}},"keywords":{}}],["getrxstoragedexi",{"_index":4970,"title":{},"content":{"872":{"position":[[3825,17],[4020,19]]},"1144":{"position":[[92,17],[232,19]]},"1145":{"position":[[202,19],[296,17],[572,19]]},"1146":{"position":[[182,19],[277,19]]},"1148":{"position":[[582,17],[753,19]]},"1149":{"position":[[741,17],[959,19]]}},"keywords":{}}],["getrxstoragefilesystemnod",{"_index":5908,"title":{},"content":{"1090":{"position":[[586,26],[860,28]]},"1126":{"position":[[732,29]]},"1130":{"position":[[51,26],[207,28]]}},"keywords":{}}],["getrxstoragefoundationdb",{"_index":4564,"title":{},"content":{"772":{"position":[[684,24],[817,26]]},"774":{"position":[[489,24],[745,26]]},"1134":{"position":[[51,24],[184,26]]}},"keywords":{}}],["getrxstorageindexeddb",{"_index":4028,"title":{},"content":{"718":{"position":[[218,21],[425,23]]},"745":{"position":[[273,21],[433,25]]},"746":{"position":[[321,26]]},"747":{"position":[[138,26]]},"759":{"position":[[161,21],[406,24]]},"820":{"position":[[80,21],[324,24]]},"932":{"position":[[780,21],[998,23]]},"1138":{"position":[[88,23],[193,21],[328,23]]},"1139":{"position":[[206,23],[291,21],[583,23]]},"1140":{"position":[[507,21],[642,23]]},"1154":{"position":[[321,21],[635,23]]},"1163":{"position":[[11,21],[300,24]]},"1165":{"position":[[310,24]]},"1182":{"position":[[11,21],[300,24]]},"1184":{"position":[[377,21],[734,23]]},"1185":{"position":[[375,23]]},"1186":{"position":[[326,23]]},"1225":{"position":[[82,24],[214,21],[434,23]]},"1226":{"position":[[131,21]]},"1231":{"position":[[527,21],[796,24]]},"1237":{"position":[[743,21],[991,23]]},"1238":{"position":[[604,21],[987,23]]},"1263":{"position":[[100,21],[328,23]]},"1268":{"position":[[655,21],[759,23]]}},"keywords":{}}],["getrxstorageipcrender",{"_index":3925,"title":{},"content":{"693":{"position":[[352,24],[1024,23],[1208,25]]},"1214":{"position":[[661,25]]}},"keywords":{}}],["getrxstoragelocalstorag",{"_index":776,"title":{},"content":{"51":{"position":[[559,24],[773,26]]},"55":{"position":[[731,24],[915,27]]},"209":{"position":[[64,24],[287,27]]},"211":{"position":[[126,24],[259,26]]},"255":{"position":[[411,24],[631,27]]},"258":{"position":[[64,24],[192,26]]},"314":{"position":[[363,24],[522,27],[1051,26]]},"315":{"position":[[260,24],[490,26]]},"334":{"position":[[215,24],[379,27]]},"392":{"position":[[257,24],[391,26]]},"480":{"position":[[221,24],[417,26]]},"482":{"position":[[222,24],[530,26]]},"522":{"position":[[328,24],[474,27]]},"538":{"position":[[322,24],[503,26]]},"542":{"position":[[442,24],[576,27]]},"562":{"position":[[51,24],[211,27]]},"563":{"position":[[261,24],[531,27]]},"564":{"position":[[325,24],[498,26]]},"579":{"position":[[217,24],[388,27]]},"598":{"position":[[317,24],[510,26]]},"632":{"position":[[1102,24],[1339,27]]},"638":{"position":[[382,26]]},"653":{"position":[[167,24],[299,27]]},"680":{"position":[[580,24],[720,26]]},"710":{"position":[[1590,24],[1742,26]]},"717":{"position":[[647,24],[842,26]]},"734":{"position":[[211,24],[354,26]]},"739":{"position":[[198,24],[331,27]]},"759":{"position":[[241,24],[670,27]]},"760":{"position":[[337,24],[666,27]]},"825":{"position":[[383,27]]},"829":{"position":[[522,24],[690,26]]},"862":{"position":[[379,24],[581,26]]},"898":{"position":[[2228,24],[2363,26]]},"904":{"position":[[628,24],[760,26]]},"960":{"position":[[196,24],[342,27]]},"962":{"position":[[667,24],[801,26]]},"966":{"position":[[583,27],[701,27]]},"967":{"position":[[168,27],[286,27]]},"1013":{"position":[[346,27]]},"1114":{"position":[[495,24],[757,27]]},"1118":{"position":[[687,27]]},"1121":{"position":[[497,27]]},"1156":{"position":[[302,26]]},"1158":{"position":[[86,24],[240,26]]},"1159":{"position":[[272,25],[426,26]]},"1218":{"position":[[625,24],[796,27]]},"1222":{"position":[[88,24],[393,26]]},"1286":{"position":[[271,24],[442,26]]},"1287":{"position":[[317,24],[492,26]]},"1288":{"position":[[277,24],[458,26]]},"1311":{"position":[[209,26]]}},"keywords":{}}],["getrxstorageloki",{"_index":1248,"title":{},"content":{"188":{"position":[[688,16],[1091,18]]},"772":{"position":[[2264,16],[2446,18]]},"1172":{"position":[[51,16],[353,18]]}},"keywords":{}}],["getrxstoragememori",{"_index":1612,"title":{},"content":{"266":{"position":[[590,18],[711,20]]},"554":{"position":[[748,18],[978,20]]},"693":{"position":[[790,18],[944,21],[1094,18]]},"773":{"position":[[486,18],[607,20]]},"872":{"position":[[1603,18],[1759,20]]},"1090":{"position":[[454,18]]},"1168":{"position":[[67,18],[188,20]]},"1219":{"position":[[272,18],[738,20]]}},"keywords":{}}],["getrxstoragemongodb",{"_index":5387,"title":{},"content":{"962":{"position":[[888,19],[1017,21]]},"1189":{"position":[[133,19],[318,19],[451,21]]}},"keywords":{}}],["getrxstorageopf",{"_index":6234,"title":{},"content":{"1211":{"position":[[125,18]]},"1212":{"position":[[304,16],[458,19]]},"1213":{"position":[[601,16],[678,18]]}},"keywords":{}}],["getrxstorageopfsmainthread",{"_index":6235,"title":{},"content":{"1211":{"position":[[271,28],[582,26],[724,28]]},"1239":{"position":[[686,26],[897,28]]}},"keywords":{}}],["getrxstoragepouch",{"_index":26,"title":{},"content":{"1":{"position":[[368,17]]},"8":{"position":[[791,17]]},"11":{"position":[[865,18]]},"1201":{"position":[[51,18],[228,18]]}},"keywords":{}}],["getrxstoragepouch('idb",{"_index":56,"title":{},"content":{"3":{"position":[[267,24]]}},"keywords":{}}],["getrxstoragepouch('indexeddb",{"_index":74,"title":{},"content":{"4":{"position":[[445,30]]}},"keywords":{}}],["getrxstoragepouch('memori",{"_index":38,"title":{},"content":{"1":{"position":[[584,27]]}},"keywords":{}}],["getrxstoragepouch('nod",{"_index":135,"title":{},"content":{"9":{"position":[[301,23]]}},"keywords":{}}],["getrxstoragepouch('react",{"_index":132,"title":{},"content":{"8":{"position":[[1156,24]]}},"keywords":{}}],["getrxstoragepouch('websql",{"_index":80,"title":{},"content":{"5":{"position":[[355,27]]},"7":{"position":[[387,27],[583,27]]}},"keywords":{}}],["getrxstoragepouch(asyncstoragedown",{"_index":139,"title":{},"content":{"10":{"position":[[339,35]]}},"keywords":{}}],["getrxstoragepouch(leveldown",{"_index":91,"title":{},"content":{"6":{"position":[[550,28],[748,28]]}},"keywords":{}}],["getrxstoragepouch(memdown",{"_index":48,"title":{},"content":{"2":{"position":[[387,26]]}},"keywords":{}}],["getrxstorageremot",{"_index":6246,"title":{},"content":{"1218":{"position":[[294,18],[367,20]]}},"keywords":{}}],["getrxstorageremotewebsocket",{"_index":6255,"title":{},"content":{"1219":{"position":[[786,27],[909,29]]},"1220":{"position":[[472,29]]}},"keywords":{}}],["getrxstorageshard",{"_index":6262,"title":{},"content":{"1222":{"position":[[10,20],[254,22]]},"1238":{"position":[[452,20],[891,22]]}},"keywords":{}}],["getrxstoragesharedwork",{"_index":6265,"title":{},"content":{"1226":{"position":[[51,24],[265,25]]},"1227":{"position":[[601,24],[743,25]]}},"keywords":{}}],["getrxstoragesqlit",{"_index":1893,"title":{},"content":{"314":{"position":[[1083,20]]},"772":{"position":[[1471,19],[1684,20]]},"838":{"position":[[2425,20]]},"1271":{"position":[[752,18]]},"1274":{"position":[[51,19],[368,20]]},"1275":{"position":[[169,19],[379,20]]},"1276":{"position":[[441,19],[981,20]]},"1277":{"position":[[192,19],[518,20],[726,19],[874,20]]},"1278":{"position":[[295,19],[527,20],[747,19],[979,20]]},"1279":{"position":[[360,19],[755,20]]},"1280":{"position":[[291,19],[490,20]]},"1282":{"position":[[675,20],[767,20],[1099,21],[1138,20]]}},"keywords":{}}],["getrxstoragesqlitetri",{"_index":3811,"title":{},"content":{"662":{"position":[[1928,24],[2173,25]]},"838":{"position":[[2068,24]]},"1271":{"position":[[1126,24],[1421,25]]}},"keywords":{}}],["getrxstoragework",{"_index":6228,"title":{},"content":{"1210":{"position":[[333,18],[469,19]]},"1213":{"position":[[241,20]]},"1238":{"position":[[530,18],[923,20]]},"1264":{"position":[[51,18],[187,19]]},"1265":{"position":[[595,18],[731,19]]},"1267":{"position":[[14,20],[269,20],[433,20],[489,20]]},"1268":{"position":[[124,20],[434,20]]}},"keywords":{}}],["getsqlitebasicscapacitor",{"_index":3812,"title":{},"content":{"662":{"position":[[1953,24]]},"838":{"position":[[2093,24]]},"1279":{"position":[[247,24],[380,24]]}},"keywords":{}}],["getsqlitebasicscapacitor(sqlit",{"_index":3815,"title":{},"content":{"662":{"position":[[2213,32]]},"1279":{"position":[[1035,32]]},"1282":{"position":[[802,32],[1173,32]]}},"keywords":{}}],["getsqlitebasicsexposqlit",{"_index":6354,"title":{},"content":{"1278":{"position":[[767,25]]}},"keywords":{}}],["getsqlitebasicsexposqlite(opendatabas",{"_index":6356,"title":{},"content":{"1278":{"position":[[1014,39]]}},"keywords":{}}],["getsqlitebasicsexposqliteasync",{"_index":6352,"title":{},"content":{"1278":{"position":[[203,32],[315,30]]}},"keywords":{}}],["getsqlitebasicsexposqliteasync(sqlite.opendatabaseasync",{"_index":6353,"title":{},"content":{"1278":{"position":[[562,56]]}},"keywords":{}}],["getsqlitebasicsnod",{"_index":4572,"title":{},"content":{"772":{"position":[[1491,19]]},"1272":{"position":[[470,21]]},"1274":{"position":[[71,19]]}},"keywords":{}}],["getsqlitebasicsnode(sqlite3",{"_index":4574,"title":{},"content":{"772":{"position":[[1719,28]]},"1274":{"position":[[648,28]]}},"keywords":{}}],["getsqlitebasicsnoden",{"_index":6331,"title":{},"content":{"1271":{"position":[[1151,25]]},"1272":{"position":[[536,27]]},"1275":{"position":[[189,25]]}},"keywords":{}}],["getsqlitebasicsnodenative(databasesync",{"_index":6334,"title":{},"content":{"1271":{"position":[[1461,39]]},"1275":{"position":[[414,39]]}},"keywords":{}}],["getsqlitebasicsquicksqlit",{"_index":6349,"title":{},"content":{"1277":{"position":[[56,26],[212,26]]}},"keywords":{}}],["getsqlitebasicsquicksqlite(open",{"_index":4794,"title":{},"content":{"838":{"position":[[2460,32]]},"1277":{"position":[[553,32]]}},"keywords":{}}],["getsqlitebasicstauri",{"_index":6361,"title":{},"content":{"1280":{"position":[[177,20],[311,20]]}},"keywords":{}}],["getsqlitebasicstauri(sqlite3",{"_index":6363,"title":{},"content":{"1280":{"position":[[525,29]]}},"keywords":{}}],["getsqlitebasicswasm",{"_index":6340,"title":{},"content":{"1276":{"position":[[461,19]]}},"keywords":{}}],["getsqlitebasicswasm(sqlite3",{"_index":6347,"title":{},"content":{"1276":{"position":[[1016,28]]}},"keywords":{}}],["getsqlitebasicswebsql",{"_index":6350,"title":{},"content":{"1277":{"position":[[746,21]]}},"keywords":{}}],["getsqlitebasicswebsql(sqlite.opendatabas",{"_index":6351,"title":{},"content":{"1277":{"position":[[909,42]]}},"keywords":{}}],["getstringdata",{"_index":5312,"title":{"932":{"position":[[0,16]]}},"content":{},"keywords":{}}],["getter",{"_index":4684,"title":{"811":{"position":[[4,7]]}},"content":{"811":{"position":[[59,7]]},"1040":{"position":[[48,7]]},"1050":{"position":[[3,6]]},"1084":{"position":[[113,7]]}},"keywords":{}}],["getter/sett",{"_index":4557,"title":{},"content":{"770":{"position":[[239,13]]}},"keywords":{}}],["getvectorfromtext",{"_index":2256,"title":{},"content":{"392":{"position":[[3506,17]]}},"keywords":{}}],["getvectorfromtext(doc.text",{"_index":2247,"title":{},"content":{"392":{"position":[[2849,28]]}},"keywords":{}}],["getvectorfromtext(e.data.text",{"_index":2260,"title":{},"content":{"392":{"position":[[3600,31]]}},"keywords":{}}],["getvectorfromtextwithworker(doc.bodi",{"_index":2283,"title":{},"content":{"392":{"position":[[4806,38]]}},"keywords":{}}],["getvectorfromtextwithworker(text",{"_index":2269,"title":{},"content":{"392":{"position":[[4044,33]]}},"keywords":{}}],["gibson",{"_index":5724,"title":{},"content":{"1051":{"position":[[277,9],[547,9]]}},"keywords":{}}],["gigabyt",{"_index":2534,"title":{},"content":{"408":{"position":[[921,9],[1089,9]]},"412":{"position":[[6761,12],[6999,11]]},"461":{"position":[[1338,9]]},"696":{"position":[[1228,9]]}},"keywords":{}}],["git",{"_index":2667,"title":{},"content":{"412":{"position":[[1987,3],[3597,3]]},"666":{"position":[[147,3]]},"731":{"position":[[61,3]]},"982":{"position":[[53,4]]}},"keywords":{}}],["github",{"_index":523,"title":{},"content":{"33":{"position":[[511,6]]},"38":{"position":[[848,6]]},"56":{"position":[[84,6]]},"61":{"position":[[94,6],[187,7],[259,6]]},"84":{"position":[[120,6],[158,6]]},"114":{"position":[[133,6],[171,6]]},"149":{"position":[[133,6],[171,6],[464,6]]},"175":{"position":[[126,6],[164,6]]},"198":{"position":[[548,6]]},"241":{"position":[[237,6]]},"263":{"position":[[645,6]]},"306":{"position":[[282,6]]},"347":{"position":[[133,6],[171,6]]},"362":{"position":[[1204,6],[1242,6]]},"373":{"position":[[237,6]]},"405":{"position":[[158,6]]},"462":{"position":[[502,6]]},"471":{"position":[[67,6],[143,6]]},"483":{"position":[[970,7]]},"498":{"position":[[377,6],[436,6]]},"511":{"position":[[133,6],[171,6]]},"531":{"position":[[133,6],[171,6],[462,6]]},"543":{"position":[[91,6]]},"548":{"position":[[93,6]]},"557":{"position":[[224,6]]},"567":{"position":[[443,6]]},"591":{"position":[[133,6],[171,6],[593,7]]},"603":{"position":[[89,6]]},"608":{"position":[[93,6]]},"628":{"position":[[245,6]]},"644":{"position":[[302,6]]},"824":{"position":[[413,6]]},"913":{"position":[[196,6],[262,6]]},"1112":{"position":[[43,6],[126,6]]}},"keywords":{}}],["githublearn",{"_index":2513,"title":{},"content":{"405":{"position":[[87,11]]}},"keywords":{}}],["give",{"_index":1595,"title":{},"content":{"263":{"position":[[59,5]]},"399":{"position":[[572,4]]},"407":{"position":[[747,5]]},"411":{"position":[[5309,6]]},"412":{"position":[[12422,4]]},"418":{"position":[[561,6]]},"455":{"position":[[142,4]]},"469":{"position":[[1366,5]]},"498":{"position":[[695,4]]},"581":{"position":[[81,6]]},"617":{"position":[[1350,5]]},"686":{"position":[[862,5]]},"774":{"position":[[856,5]]},"1009":{"position":[[663,5]]},"1132":{"position":[[36,5]]},"1207":{"position":[[486,5]]},"1219":{"position":[[138,4]]},"1294":{"position":[[1873,4]]},"1322":{"position":[[120,4]]}},"keywords":{}}],["given",{"_index":2303,"title":{},"content":{"394":{"position":[[227,5]]},"402":{"position":[[1434,5]]},"412":{"position":[[5877,5]]},"459":{"position":[[501,5]]},"617":{"position":[[585,5]]},"724":{"position":[[797,5]]},"749":{"position":[[13,5],[575,5],[1315,5],[2330,5],[2392,5],[8140,5],[8346,5],[11893,5],[13130,5],[18831,5],[18937,5]]},"797":{"position":[[107,5]]},"848":{"position":[[241,5]]},"875":{"position":[[1451,5],[1822,5]]},"878":{"position":[[115,5]]},"885":{"position":[[231,5]]},"957":{"position":[[21,5]]},"978":{"position":[[21,5]]},"981":{"position":[[1642,5]]},"983":{"position":[[300,5]]},"984":{"position":[[360,5]]},"988":{"position":[[2956,5],[3053,5]]},"1002":{"position":[[238,5]]},"1022":{"position":[[312,5]]},"1023":{"position":[[621,5]]},"1039":{"position":[[44,5]]},"1043":{"position":[[16,5]]},"1053":{"position":[[21,5]]},"1063":{"position":[[21,5]]},"1070":{"position":[[21,5]]},"1097":{"position":[[183,5]]},"1100":{"position":[[560,5]]},"1104":{"position":[[285,5]]},"1114":{"position":[[896,5]]},"1172":{"position":[[537,5]]},"1252":{"position":[[115,5]]},"1294":{"position":[[1990,5]]},"1322":{"position":[[365,5]]}},"keywords":{}}],["global",{"_index":144,"title":{"729":{"position":[[13,6]]},"1202":{"position":[[13,6]]}},"content":{"11":{"position":[[16,6]]},"304":{"position":[[236,6]]},"333":{"position":[[241,8]]},"346":{"position":[[116,8]]},"411":{"position":[[2103,6]]},"418":{"position":[[462,6],[801,6]]},"460":{"position":[[852,6]]},"579":{"position":[[918,6]]},"590":{"position":[[256,6]]},"674":{"position":[[102,6]]},"701":{"position":[[85,6]]},"729":{"position":[[116,6],[207,6]]},"785":{"position":[[193,6],[459,6]]},"852":{"position":[[30,6]]},"873":{"position":[[71,7]]},"1123":{"position":[[52,8]]},"1124":{"position":[[1564,6]]},"1202":{"position":[[160,6],[246,6]]}},"keywords":{}}],["global.atob",{"_index":120,"title":{},"content":{"8":{"position":[[579,14],[596,11]]}},"keywords":{}}],["global.btoa",{"_index":119,"title":{},"content":{"8":{"position":[[535,14],[552,11]]}},"keywords":{}}],["go",{"_index":387,"title":{"670":{"position":[[3,3]]}},"content":{"23":{"position":[[301,2]]},"29":{"position":[[477,5]]},"249":{"position":[[125,3]]},"404":{"position":[[54,3]]},"408":{"position":[[3928,2]]},"412":{"position":[[140,2],[9936,2],[13995,2]]},"437":{"position":[[58,2]]},"491":{"position":[[1621,2]]},"620":{"position":[[352,2]]},"662":{"position":[[861,2]]},"670":{"position":[[274,2]]},"686":{"position":[[183,2]]},"698":{"position":[[93,2]]},"708":{"position":[[416,2]]},"709":{"position":[[704,2],[1168,2]]},"723":{"position":[[2233,2]]},"778":{"position":[[332,2]]},"836":{"position":[[1596,2]]},"862":{"position":[[53,2]]},"987":{"position":[[958,2]]},"988":{"position":[[6083,2]]},"1198":{"position":[[1096,2]]},"1304":{"position":[[1075,2],[1178,2]]},"1316":{"position":[[470,2],[3495,2]]}},"keywords":{}}],["goal",{"_index":290,"title":{},"content":{"17":{"position":[[183,4]]},"27":{"position":[[136,4]]},"380":{"position":[[23,4]]},"981":{"position":[[113,5]]},"1087":{"position":[[53,4]]},"1177":{"position":[[202,5]]},"1204":{"position":[[203,5]]}},"keywords":{}}],["god",{"_index":795,"title":{},"content":{"52":{"position":[[230,4]]},"539":{"position":[[230,4]]},"599":{"position":[[248,4]]}},"keywords":{}}],["goe",{"_index":1564,"title":{},"content":{"253":{"position":[[212,4]]},"407":{"position":[[595,4]]},"410":{"position":[[1445,4]]},"414":{"position":[[352,4]]},"610":{"position":[[1254,4]]},"700":{"position":[[953,4]]},"701":{"position":[[30,4]]},"702":{"position":[[435,4]]},"709":{"position":[[288,4]]},"981":{"position":[[1083,4]]},"985":{"position":[[437,4]]},"988":{"position":[[5860,4],[5996,4]]},"996":{"position":[[47,4]]},"1175":{"position":[[173,4]]},"1314":{"position":[[572,4]]},"1316":{"position":[[3835,4]]},"1321":{"position":[[376,4]]}},"keywords":{}}],["gone",{"_index":5419,"title":{},"content":{"977":{"position":[[127,4]]}},"keywords":{}}],["good",{"_index":16,"title":{"67":{"position":[[39,4]]},"71":{"position":[[14,4]]},"98":{"position":[[40,4]]},"102":{"position":[[14,4]]},"225":{"position":[[28,4]]},"229":{"position":[[14,4]]}},"content":{"1":{"position":[[237,4]]},"5":{"position":[[174,4]]},"127":{"position":[[20,4]]},"131":{"position":[[318,4]]},"393":{"position":[[1118,4]]},"396":{"position":[[919,4],[1232,4]]},"402":{"position":[[1077,4]]},"404":{"position":[[46,4]]},"450":{"position":[[493,4]]},"455":{"position":[[324,4]]},"470":{"position":[[76,4],[477,4]]},"496":{"position":[[121,4]]},"535":{"position":[[575,4]]},"557":{"position":[[76,4]]},"560":{"position":[[298,4]]},"595":{"position":[[602,4]]},"620":{"position":[[262,4]]},"659":{"position":[[703,4]]},"661":{"position":[[1662,4]]},"696":{"position":[[587,4]]},"700":{"position":[[552,4]]},"711":{"position":[[2104,4]]},"815":{"position":[[263,4]]},"836":{"position":[[2230,4]]},"839":{"position":[[311,4],[1189,4]]},"841":{"position":[[914,5],[1064,4]]},"842":{"position":[[3,4]]},"1152":{"position":[[46,4]]},"1192":{"position":[[163,4]]},"1198":{"position":[[1507,4]]},"1209":{"position":[[302,4]]},"1222":{"position":[[770,4]]},"1249":{"position":[[342,4]]},"1301":{"position":[[1581,4]]}},"keywords":{}}],["googl",{"_index":197,"title":{},"content":{"14":{"position":[[39,6]]},"116":{"position":[[72,7]]},"177":{"position":[[66,6]]},"301":{"position":[[661,6]]},"411":{"position":[[5638,7]]},"412":{"position":[[14680,6]]},"462":{"position":[[331,6]]},"504":{"position":[[1115,6]]},"840":{"position":[[151,7]]},"841":{"position":[[261,6],[1541,6]]}},"keywords":{}}],["google'",{"_index":1304,"title":{},"content":{"202":{"position":[[48,8]]},"247":{"position":[[70,8]]},"289":{"position":[[1015,8]]},"412":{"position":[[1058,8]]}},"keywords":{}}],["goto",{"_index":1675,"title":{},"content":{"287":{"position":[[1106,4]]}},"keywords":{}}],["gpu",{"_index":2570,"title":{},"content":{"408":{"position":[[5205,3]]}},"keywords":{}}],["gql1",{"_index":4415,"title":{},"content":{"749":{"position":[[22348,4]]}},"keywords":{}}],["gql3",{"_index":4416,"title":{},"content":{"749":{"position":[[22455,4]]}},"keywords":{}}],["gracefulli",{"_index":1782,"title":{},"content":{"300":{"position":[[781,10]]},"302":{"position":[[271,10]]},"312":{"position":[[263,10]]},"369":{"position":[[600,11]]},"375":{"position":[[763,11]]},"491":{"position":[[1448,10]]},"497":{"position":[[248,11]]},"544":{"position":[[217,10]]},"604":{"position":[[189,10]]},"632":{"position":[[509,10]]}},"keywords":{}}],["gracefully.scal",{"_index":3517,"title":{},"content":{"582":{"position":[[599,19]]}},"keywords":{}}],["grain",{"_index":970,"title":{},"content":{"75":{"position":[[78,7]]},"106":{"position":[[156,7]]},"412":{"position":[[12842,7]]},"542":{"position":[[136,7]]},"551":{"position":[[398,7]]},"563":{"position":[[978,7]]},"635":{"position":[[330,7]]}},"keywords":{}}],["grant",{"_index":4016,"title":{},"content":{"715":{"position":[[152,6]]}},"keywords":{}}],["granular",{"_index":1041,"title":{},"content":{"106":{"position":[[61,8]]},"174":{"position":[[1058,11]]},"235":{"position":[[85,8]]},"681":{"position":[[107,8]]},"860":{"position":[[952,8]]},"1206":{"position":[[280,8]]}},"keywords":{}}],["graph",{"_index":472,"title":{},"content":{"29":{"position":[[21,5]]},"396":{"position":[[358,5],[441,5],[605,5]]},"1320":{"position":[[740,5]]}},"keywords":{}}],["graphic",{"_index":2575,"title":{},"content":{"408":{"position":[[5369,8]]}},"keywords":{}}],["graphql",{"_index":242,"title":{"883":{"position":[[17,7]]},"885":{"position":[[22,7]]}},"content":{"14":{"position":[[1146,7]]},"18":{"position":[[445,7]]},"37":{"position":[[12,7],[95,7],[145,7],[207,7]]},"202":{"position":[[307,8]]},"249":{"position":[[244,7]]},"255":{"position":[[1690,8]]},"312":{"position":[[167,8]]},"381":{"position":[[328,7]]},"412":{"position":[[12997,7]]},"565":{"position":[[125,8]]},"566":{"position":[[1178,8]]},"632":{"position":[[777,8]]},"698":{"position":[[1726,7]]},"701":{"position":[[1179,7]]},"749":{"position":[[22353,7],[22460,7]]},"793":{"position":[[675,7]]},"838":{"position":[[643,7]]},"841":{"position":[[781,8]]},"884":{"position":[[20,7]]},"885":{"position":[[1402,7],[2718,7]]},"886":{"position":[[192,7],[344,7],[975,9],[1073,7],[2242,7],[2705,7],[3045,7],[3892,7],[4454,7]]},"887":{"position":[[1,7],[548,7]]},"888":{"position":[[75,7],[1000,7]]},"889":{"position":[[1092,7]]},"890":{"position":[[201,7],[1009,7]]},"1124":{"position":[[2251,8]]},"1149":{"position":[[236,7]]},"1231":{"position":[[723,9]]},"1308":{"position":[[182,7]]}},"keywords":{}}],["graphql'",{"_index":6082,"title":{},"content":{"1149":{"position":[[314,9]]}},"keywords":{}}],["graphql.check",{"_index":3723,"title":{},"content":{"644":{"position":[[154,13]]}},"keywords":{}}],["graphqlschemafromrxschema",{"_index":5166,"title":{},"content":{"889":{"position":[[846,28]]}},"keywords":{}}],["great",{"_index":555,"title":{"247":{"position":[[18,5]]},"277":{"position":[[0,5]]},"283":{"position":[[0,5]]}},"content":{"35":{"position":[[309,5]]},"61":{"position":[[502,5]]},"271":{"position":[[302,5]]},"566":{"position":[[1402,5]]},"576":{"position":[[180,5]]},"662":{"position":[[224,5]]},"704":{"position":[[106,6]]},"772":{"position":[[2049,5]]},"774":{"position":[[882,5]]},"775":{"position":[[51,5]]},"838":{"position":[[253,5]]},"1120":{"position":[[420,5]]},"1157":{"position":[[425,5]]},"1198":{"position":[[198,5]]},"1247":{"position":[[36,5]]},"1316":{"position":[[2510,5],[2582,5]]}},"keywords":{}}],["greater",{"_index":2583,"title":{},"content":{"409":{"position":[[93,7]]},"410":{"position":[[621,7]]},"751":{"position":[[109,7]]},"1076":{"position":[[69,7]]},"1294":{"position":[[315,7]]},"1296":{"position":[[298,7]]}},"keywords":{}}],["greatest",{"_index":2162,"title":{},"content":{"383":{"position":[[15,8]]}},"keywords":{}}],["greatli",{"_index":1001,"title":{},"content":{"87":{"position":[[156,7]]},"151":{"position":[[276,7]]},"353":{"position":[[778,7]]},"446":{"position":[[567,7]]}},"keywords":{}}],["grind",{"_index":2599,"title":{},"content":{"410":{"position":[[1331,5]]}},"keywords":{}}],["group",{"_index":2025,"title":{},"content":{"354":{"position":[[770,10]]},"376":{"position":[[343,8]]},"390":{"position":[[1327,6]]},"981":{"position":[[831,8]]},"1140":{"position":[[87,9]]}},"keywords":{}}],["group"",{"_index":5587,"title":{},"content":{"1009":{"position":[[230,11]]}},"keywords":{}}],["grow",{"_index":1606,"title":{},"content":{"265":{"position":[[709,6]]},"294":{"position":[[331,5]]},"369":{"position":[[551,5],[828,7]]},"382":{"position":[[242,5]]},"394":{"position":[[1525,5]]},"411":{"position":[[3738,6]]},"412":{"position":[[15121,7]]},"421":{"position":[[1079,7]]},"441":{"position":[[231,6]]},"477":{"position":[[120,6],[265,5]]},"559":{"position":[[1604,5]]},"1092":{"position":[[643,4]]}},"keywords":{}}],["grown",{"_index":2543,"title":{},"content":{"408":{"position":[[2138,6]]}},"keywords":{}}],["gt",{"_index":164,"title":{},"content":{"11":{"position":[[601,5],[653,5]]},"19":{"position":[[683,5],[697,5],[879,5]]},"50":{"position":[[177,6]]},"55":{"position":[[531,5]]},"77":{"position":[[251,4],[310,5]]},"103":{"position":[[291,4],[350,5]]},"129":{"position":[[674,6]]},"143":{"position":[[511,5],[546,5],[692,5],[731,5]]},"209":{"position":[[741,5],[1028,5]]},"210":{"position":[[576,5]]},"234":{"position":[[351,4],[410,5]]},"235":{"position":[[314,5]]},"255":{"position":[[1098,5],[1363,5]]},"261":{"position":[[937,5]]},"335":{"position":[[312,5],[415,5],[619,5]]},"392":{"position":[[2771,5],[2817,5],[3568,5],[3915,5],[4286,5],[4321,5],[4724,5],[4774,5]]},"394":{"position":[[781,5]]},"397":{"position":[[1812,5],[1858,5],[2072,5]]},"398":{"position":[[886,5],[1237,4],[1367,5],[1409,5],[1497,5],[2172,5],[2375,4],[2527,5],[2650,5]]},"403":{"position":[[913,5]]},"412":{"position":[[9825,4],[9841,4]]},"432":{"position":[[924,5]]},"458":{"position":[[866,5]]},"459":{"position":[[865,5],[901,5],[959,5]]},"480":{"position":[[854,5]]},"494":{"position":[[351,5]]},"502":{"position":[[966,4],[1094,5]]},"518":{"position":[[433,4],[561,5]]},"523":{"position":[[682,5],[738,5]]},"541":{"position":[[308,5],[428,5],[472,5],[604,5]]},"542":{"position":[[855,5]]},"555":{"position":[[182,5]]},"559":{"position":[[314,5],[426,5],[639,5],[718,5]]},"562":{"position":[[1179,5],[1326,5],[1370,5],[1475,5]]},"571":{"position":[[907,4],[1030,5],[1141,5],[1349,5]]},"580":{"position":[[425,5],[534,4],[674,5]]},"601":{"position":[[502,5],[662,5]]},"602":{"position":[[518,4]]},"610":{"position":[[974,5],[1008,5],[1143,5]]},"612":{"position":[[1272,5],[1871,5],[2023,5],[2238,5],[2426,5],[2500,5]]},"632":{"position":[[1821,5],[2408,5],[2524,5]]},"649":{"position":[[303,5],[338,4]]},"659":{"position":[[616,4]]},"662":{"position":[[2846,5]]},"672":{"position":[[135,5]]},"673":{"position":[[141,5]]},"674":{"position":[[424,5]]},"691":{"position":[[255,5],[319,5]]},"710":{"position":[[2153,5]]},"711":{"position":[[1251,5],[1537,5],[1568,5],[1605,5]]},"724":{"position":[[967,5],[1028,5]]},"739":{"position":[[503,5],[606,5]]},"740":{"position":[[612,5],[650,4]]},"747":{"position":[[213,5],[271,5],[338,5]]},"751":{"position":[[1405,5]]},"752":{"position":[[964,5],[1003,5],[1044,5]]},"753":{"position":[[328,5],[369,5]]},"759":{"position":[[944,5]]},"760":{"position":[[832,5]]},"767":{"position":[[574,5],[983,5]]},"768":{"position":[[576,5],[985,5]]},"769":{"position":[[533,5],[954,5]]},"770":{"position":[[421,5]]},"796":{"position":[[463,4],[510,4],[1379,4]]},"798":{"position":[[585,4]]},"799":{"position":[[548,5],[780,5]]},"810":{"position":[[465,6]]},"811":{"position":[[460,6]]},"812":{"position":[[307,6]]},"813":{"position":[[458,6]]},"820":{"position":[[580,4],[632,4]]},"825":{"position":[[841,6]]},"829":{"position":[[1407,5],[1472,5],[1504,5],[2477,5],[3392,5],[3551,5]]},"838":{"position":[[3060,5]]},"846":{"position":[[852,5],[1287,5]]},"848":{"position":[[215,5]]},"857":{"position":[[366,5]]},"858":{"position":[[397,5],[518,5],[527,6]]},"861":{"position":[[2359,4],[2374,4]]},"872":{"position":[[828,6],[1523,6],[2263,6],[3083,6],[3758,6]]},"875":{"position":[[312,4],[783,4],[1208,5],[2006,4],[2098,5],[2461,4],[2518,4],[3054,4],[4252,4],[4466,5],[5184,4],[5489,4],[6098,4],[7206,4],[7255,5],[7430,5],[7515,5],[8024,4],[8235,5],[8944,4],[8984,5],[9443,4],[9651,5]]},"879":{"position":[[658,5]]},"880":{"position":[[371,5]]},"881":{"position":[[381,5]]},"885":{"position":[[1496,5],[1727,5],[1751,4],[1868,4],[2058,5],[2135,4],[2256,4]]},"886":{"position":[[408,5],[1221,5],[2301,5],[3121,5],[3501,5]]},"887":{"position":[[457,5],[617,5]]},"898":{"position":[[2960,6],[3217,6],[3530,5],[3688,5],[4108,5]]},"904":{"position":[[3493,5]]},"907":{"position":[[342,5]]},"910":{"position":[[421,5],[441,5]]},"921":{"position":[[222,5]]},"939":{"position":[[289,6]]},"941":{"position":[[138,5],[286,5],[362,5],[438,5]]},"944":{"position":[[300,4]]},"945":{"position":[[195,4]]},"948":{"position":[[501,4],[770,4]]},"950":{"position":[[324,5],[460,5]]},"952":{"position":[[340,5]]},"953":{"position":[[141,5]]},"956":{"position":[[268,5],[334,5]]},"970":{"position":[[125,5]]},"971":{"position":[[450,5]]},"972":{"position":[[141,5]]},"975":{"position":[[311,5],[505,5]]},"979":{"position":[[270,5],[373,4]]},"983":{"position":[[904,4],[989,4]]},"988":{"position":[[3379,5],[4708,5],[5567,5],[5687,5],[5730,5],[5771,5]]},"990":{"position":[[1219,5],[1371,4]]},"993":{"position":[[187,5],[304,5],[449,5],[587,5],[724,5]]},"995":{"position":[[1644,5],[1954,5],[1974,4]]},"996":{"position":[[547,5]]},"1002":{"position":[[380,5]]},"1007":{"position":[[1198,4],[2196,5]]},"1009":{"position":[[1100,4]]},"1010":{"position":[[317,5]]},"1017":{"position":[[170,5],[210,4]]},"1018":{"position":[[278,5]]},"1020":{"position":[[476,5]]},"1022":{"position":[[579,5],[820,5]]},"1023":{"position":[[235,5],[489,5]]},"1024":{"position":[[321,5]]},"1033":{"position":[[597,5],[824,5]]},"1039":{"position":[[239,5],[413,5]]},"1040":{"position":[[357,5],[403,4],[485,4]]},"1042":{"position":[[138,5]]},"1044":{"position":[[410,5]]},"1045":{"position":[[271,4]]},"1046":{"position":[[162,5]]},"1048":{"position":[[561,5]]},"1049":{"position":[[138,5]]},"1055":{"position":[[230,4]]},"1057":{"position":[[164,4]]},"1058":{"position":[[280,5],[342,4],[462,4]]},"1059":{"position":[[265,4]]},"1060":{"position":[[133,4]]},"1061":{"position":[[134,4],[179,5]]},"1063":{"position":[[148,4],[203,4],[252,4],[307,4]]},"1065":{"position":[[290,5],[869,5],[1158,5],[1380,5],[1497,5]]},"1066":{"position":[[391,4]]},"1067":{"position":[[330,4],[478,4],[537,5],[1591,4],[1617,4],[2190,5]]},"1100":{"position":[[773,4]]},"1101":{"position":[[430,4],[612,4]]},"1115":{"position":[[344,5],[410,5],[480,5]]},"1117":{"position":[[465,5]]},"1139":{"position":[[362,6]]},"1140":{"position":[[691,5]]},"1145":{"position":[[351,6]]},"1150":{"position":[[460,5]]},"1164":{"position":[[1523,5]]},"1198":{"position":[[1041,3]]},"1218":{"position":[[452,5]]},"1220":{"position":[[619,4]]},"1249":{"position":[[502,4]]},"1268":{"position":[[161,5],[471,5],[542,6]]},"1290":{"position":[[128,5]]},"1294":{"position":[[1159,5],[1538,5],[1586,5]]}},"keywords":{}}],["gt(18",{"_index":5355,"title":{},"content":{"949":{"position":[[176,7]]}},"keywords":{}}],["gt;'bar",{"_index":4672,"title":{},"content":{"806":{"position":[[689,12]]}},"keywords":{}}],["gt;=0",{"_index":4367,"title":{},"content":{"749":{"position":[[17805,6]]}},"keywords":{}}],["gt;onlin",{"_index":5455,"title":{},"content":{"988":{"position":[[985,10]]}},"keywords":{}}],["gt;reproduc",{"_index":3101,"title":{},"content":{"471":{"position":[[31,13]]}},"keywords":{}}],["gt;storag",{"_index":2562,"title":{},"content":{"408":{"position":[[4035,11]]}},"keywords":{}}],["gt;valu",{"_index":3773,"title":{},"content":{"659":{"position":[[81,9]]},"835":{"position":[[23,9]]}},"keywords":{}}],["gte",{"_index":4640,"title":{},"content":{"796":{"position":[[539,5],[948,5]]}},"keywords":{}}],["guarante",{"_index":2117,"title":{},"content":{"367":{"position":[[496,12]]},"418":{"position":[[441,10]]},"445":{"position":[[759,12]]},"502":{"position":[[1197,12]]},"504":{"position":[[1191,10]]},"525":{"position":[[254,10]]},"569":{"position":[[171,10],[895,9],[1449,9]]},"699":{"position":[[949,9]]},"716":{"position":[[75,9]]},"927":{"position":[[141,9]]},"951":{"position":[[487,10]]},"1033":{"position":[[99,10]]},"1123":{"position":[[277,10]]},"1304":{"position":[[65,9],[365,10]]},"1314":{"position":[[501,9]]}},"keywords":{}}],["guarantee.onlin",{"_index":2792,"title":{},"content":{"417":{"position":[[228,16]]}},"keywords":{}}],["guards.stream",{"_index":5190,"title":{},"content":{"897":{"position":[[264,14]]}},"keywords":{}}],["guess",{"_index":4258,"title":{},"content":{"749":{"position":[[9593,7],[13939,7]]}},"keywords":{}}],["guid",{"_index":884,"title":{"423":{"position":[[59,5]]}},"content":{"61":{"position":[[60,6]]},"84":{"position":[[332,6]]},"114":{"position":[[345,6]]},"149":{"position":[[345,6]]},"175":{"position":[[338,6]]},"241":{"position":[[153,5]]},"263":{"position":[[410,6]]},"347":{"position":[[345,6]]},"362":{"position":[[1416,6]]},"373":{"position":[[153,5]]},"387":{"position":[[163,7]]},"419":{"position":[[300,7]]},"491":{"position":[[757,5],[1943,6]]},"498":{"position":[[152,5]]},"511":{"position":[[345,6]]},"531":{"position":[[345,6]]},"548":{"position":[[54,6]]},"557":{"position":[[54,6]]},"567":{"position":[[218,6]]},"591":{"position":[[345,6]]},"608":{"position":[[54,6]]},"696":{"position":[[2059,5]]},"824":{"position":[[137,5]]},"899":{"position":[[99,6]]}},"keywords":{}}],["guidecheck",{"_index":1910,"title":{},"content":{"318":{"position":[[394,10]]}},"keywords":{}}],["guidelin",{"_index":3638,"title":{},"content":{"617":{"position":[[819,10]]}},"keywords":{}}],["guild.dev/graphql/ws/docs/interfaces/client.clientopt",{"_index":5143,"title":{},"content":{"886":{"position":[[4493,57]]}},"keywords":{}}],["gun",{"_index":471,"title":{},"content":{"29":{"position":[[1,3],[205,3],[367,3]]}},"keywords":{}}],["gundb",{"_index":470,"title":{"29":{"position":[[0,6]]}},"content":{},"keywords":{}}],["guy",{"_index":3978,"title":{},"content":{"705":{"position":[[1107,3]]}},"keywords":{}}],["gzip",{"_index":5317,"title":{},"content":{"932":{"position":[[1356,7]]},"1292":{"position":[[866,6]]}},"keywords":{}}],["h1rg9ugdd30o",{"_index":5722,"title":{},"content":{"1051":{"position":[[228,15],[498,15]]}},"keywords":{}}],["hack",{"_index":3089,"title":{},"content":{"469":{"position":[[64,5],[147,5]]},"784":{"position":[[389,4]]}},"keywords":{}}],["hackernew",{"_index":3687,"title":{},"content":{"628":{"position":[[15,10]]}},"keywords":{}}],["hackernewsloc",{"_index":2860,"title":{},"content":{"422":{"position":[[29,15]]}},"keywords":{}}],["half",{"_index":2837,"title":{},"content":{"420":{"position":[[1170,4],[1319,4]]},"463":{"position":[[1203,4]]},"468":{"position":[[540,4]]}},"keywords":{}}],["halt",{"_index":2600,"title":{},"content":{"410":{"position":[[1342,5]]},"569":{"position":[[1353,6]]}},"keywords":{}}],["hand",{"_index":897,"title":{},"content":{"64":{"position":[[25,5]]},"101":{"position":[[141,5]]},"203":{"position":[[107,5]]},"227":{"position":[[196,5]]},"228":{"position":[[197,5]]},"291":{"position":[[224,6]]},"425":{"position":[[22,5]]},"458":{"position":[[395,4]]},"624":{"position":[[624,5]]},"661":{"position":[[1400,7]]},"711":{"position":[[1897,7]]},"737":{"position":[[400,4]]},"752":{"position":[[279,5]]},"1315":{"position":[[1006,4]]},"1322":{"position":[[452,4]]}},"keywords":{}}],["handi",{"_index":1963,"title":{},"content":{"336":{"position":[[372,5]]},"436":{"position":[[249,5]]},"710":{"position":[[91,5]]},"1021":{"position":[[21,5]]}},"keywords":{}}],["handl",{"_index":278,"title":{"79":{"position":[[0,8]]},"110":{"position":[[0,8]]},"121":{"position":[[14,9]]},"140":{"position":[[25,9]]},"146":{"position":[[15,9]]},"150":{"position":[[68,8]]},"156":{"position":[[14,9]]},"168":{"position":[[25,9]]},"182":{"position":[[14,9]]},"196":{"position":[[25,9]]},"203":{"position":[[21,9]]},"240":{"position":[[0,8]]},"302":{"position":[[0,8]]},"312":{"position":[[29,9]]},"326":{"position":[[14,9]]},"344":{"position":[[25,9]]},"509":{"position":[[25,9]]},"515":{"position":[[14,9]]},"529":{"position":[[25,9]]},"635":{"position":[[9,9]]},"715":{"position":[[9,9]]},"740":{"position":[[0,6]]},"847":{"position":[[9,9]]},"855":{"position":[[0,8]]},"867":{"position":[[0,8]]},"987":{"position":[[9,9]]},"990":{"position":[[6,9]]},"1111":{"position":[[9,9]]}},"content":{"16":{"position":[[423,9]]},"24":{"position":[[412,8]]},"28":{"position":[[82,7]]},"35":{"position":[[423,9]]},"39":{"position":[[674,8]]},"40":{"position":[[159,6],[531,6]]},"46":{"position":[[654,8]]},"47":{"position":[[885,8]]},"64":{"position":[[114,6]]},"78":{"position":[[53,8]]},"79":{"position":[[36,8]]},"80":{"position":[[61,7]]},"95":{"position":[[63,8]]},"96":{"position":[[241,6]]},"100":{"position":[[36,6]]},"104":{"position":[[114,8]]},"110":{"position":[[16,8],[120,6]]},"117":{"position":[[147,8]]},"120":{"position":[[196,9],[347,9]]},"121":{"position":[[53,9]]},"123":{"position":[[194,7]]},"129":{"position":[[104,8]]},"130":{"position":[[92,6]]},"134":{"position":[[151,6]]},"135":{"position":[[221,7]]},"140":{"position":[[299,8]]},"143":{"position":[[45,8]]},"145":{"position":[[189,6]]},"146":{"position":[[53,9],[237,8]]},"147":{"position":[[135,8]]},"148":{"position":[[87,9]]},"155":{"position":[[113,8]]},"156":{"position":[[59,9]]},"158":{"position":[[115,6]]},"161":{"position":[[218,8]]},"165":{"position":[[222,6]]},"168":{"position":[[38,8]]},"170":{"position":[[193,9]]},"174":{"position":[[2099,8]]},"181":{"position":[[275,8]]},"182":{"position":[[55,9]]},"186":{"position":[[296,9]]},"196":{"position":[[146,8]]},"198":{"position":[[164,8]]},"206":{"position":[[154,6]]},"212":{"position":[[284,6]]},"240":{"position":[[78,8],[185,8]]},"267":{"position":[[525,6],[969,6]]},"274":{"position":[[270,7]]},"280":{"position":[[327,7]]},"287":{"position":[[761,6]]},"289":{"position":[[178,7]]},"300":{"position":[[759,6]]},"301":{"position":[[17,6]]},"302":{"position":[[257,8],[1095,6]]},"305":{"position":[[439,6]]},"306":{"position":[[86,9]]},"310":{"position":[[43,8]]},"312":{"position":[[245,7]]},"317":{"position":[[62,6]]},"320":{"position":[[58,9],[209,8]]},"322":{"position":[[126,8]]},"323":{"position":[[15,9]]},"334":{"position":[[542,8]]},"339":{"position":[[72,8]]},"343":{"position":[[100,7]]},"350":{"position":[[320,6]]},"353":{"position":[[137,9]]},"354":{"position":[[735,6],[1145,9]]},"358":{"position":[[888,8]]},"360":{"position":[[107,6]]},"369":{"position":[[664,6]]},"371":{"position":[[92,8]]},"375":{"position":[[730,6]]},"376":{"position":[[553,6]]},"378":{"position":[[176,9]]},"386":{"position":[[51,8]]},"388":{"position":[[492,6]]},"390":{"position":[[879,6]]},"400":{"position":[[412,6]]},"408":{"position":[[1689,7],[5512,6]]},"411":{"position":[[218,6],[592,6],[1359,6]]},"412":{"position":[[976,6],[4111,8],[7481,6],[11578,8],[11620,6],[12629,8],[13547,9],[14030,8],[14866,8]]},"416":{"position":[[58,8]]},"420":{"position":[[814,6]]},"426":{"position":[[33,8]]},"429":{"position":[[181,8]]},"430":{"position":[[649,8]]},"432":{"position":[[360,6],[1379,7]]},"444":{"position":[[63,6]]},"445":{"position":[[1351,8]]},"446":{"position":[[879,6],[1022,6]]},"454":{"position":[[1020,6]]},"464":{"position":[[1156,6]]},"473":{"position":[[213,8]]},"478":{"position":[[103,6]]},"481":{"position":[[245,6],[452,7]]},"483":{"position":[[475,9],[652,8]]},"486":{"position":[[141,7]]},"487":{"position":[[168,8],[277,9]]},"491":{"position":[[809,8],[1072,7],[1102,8]]},"495":{"position":[[251,6]]},"497":{"position":[[215,6]]},"506":{"position":[[171,8]]},"513":{"position":[[285,9]]},"515":{"position":[[66,9]]},"520":{"position":[[483,8]]},"526":{"position":[[53,8]]},"529":{"position":[[151,8]]},"530":{"position":[[370,9]]},"535":{"position":[[950,7]]},"544":{"position":[[195,6]]},"556":{"position":[[17,8]]},"559":{"position":[[1408,6]]},"566":{"position":[[933,6]]},"567":{"position":[[280,8]]},"574":{"position":[[509,9]]},"576":{"position":[[376,8]]},"579":{"position":[[550,8]]},"582":{"position":[[574,6]]},"586":{"position":[[18,8]]},"595":{"position":[[1025,7]]},"604":{"position":[[167,6]]},"611":{"position":[[1346,7]]},"612":{"position":[[1212,8]]},"617":{"position":[[1076,6]]},"623":{"position":[[689,8]]},"632":{"position":[[436,6],[468,8]]},"634":{"position":[[498,8]]},"635":{"position":[[456,8]]},"638":{"position":[[36,6]]},"643":{"position":[[269,6]]},"644":{"position":[[190,8]]},"688":{"position":[[196,8]]},"697":{"position":[[375,6]]},"698":{"position":[[2214,6]]},"700":{"position":[[564,6]]},"701":{"position":[[273,8],[521,8]]},"703":{"position":[[467,8]]},"711":{"position":[[1476,8]]},"714":{"position":[[6,7]]},"723":{"position":[[226,6]]},"740":{"position":[[327,6]]},"752":{"position":[[1236,8],[1261,7]]},"779":{"position":[[71,6]]},"800":{"position":[[153,8]]},"801":{"position":[[475,6]]},"802":{"position":[[834,8]]},"829":{"position":[[2126,6]]},"836":{"position":[[2049,8]]},"841":{"position":[[1121,8]]},"844":{"position":[[87,8],[118,7]]},"847":{"position":[[157,8]]},"860":{"position":[[266,9],[737,9],[821,6],[923,6]]},"861":{"position":[[1633,8]]},"863":{"position":[[598,8]]},"870":{"position":[[179,7]]},"886":{"position":[[1292,7]]},"896":{"position":[[281,7]]},"903":{"position":[[512,7]]},"908":{"position":[[17,8],[401,8]]},"913":{"position":[[124,8]]},"943":{"position":[[268,8]]},"962":{"position":[[169,6]]},"981":{"position":[[420,8],[1232,8]]},"990":{"position":[[296,6],[490,8],[1010,6]]},"1007":{"position":[[660,7]]},"1009":{"position":[[424,9]]},"1022":{"position":[[331,6]]},"1031":{"position":[[177,6]]},"1057":{"position":[[309,8],[401,7]]},"1089":{"position":[[148,6]]},"1094":{"position":[[366,6]]},"1111":{"position":[[15,6]]},"1120":{"position":[[169,7],[213,7]]},"1147":{"position":[[360,9]]},"1198":{"position":[[1972,9]]},"1200":{"position":[[53,8]]},"1207":{"position":[[781,7]]},"1258":{"position":[[77,8]]},"1299":{"position":[[24,8]]},"1304":{"position":[[690,8]]},"1307":{"position":[[512,6],[587,8],[831,6]]},"1313":{"position":[[1084,6]]},"1318":{"position":[[171,8]]}},"keywords":{}}],["handler",{"_index":1309,"title":{"690":{"position":[[24,9]]},"691":{"position":[[48,8]]},"1030":{"position":[[9,8]]},"1031":{"position":[[9,8]]},"1032":{"position":[[43,8]]},"1104":{"position":[[5,8]]},"1309":{"position":[[16,8]]}},"content":{"203":{"position":[[207,9]]},"209":{"position":[[719,8],[985,8]]},"255":{"position":[[1071,8],[1320,8],[1631,7]]},"392":{"position":[[1924,7],[2749,8],[3031,7],[4702,8]]},"397":{"position":[[1379,7],[1790,8]]},"403":{"position":[[460,8],[661,7]]},"412":{"position":[[4871,7],[5349,7]]},"463":{"position":[[1041,8]]},"612":{"position":[[881,8]]},"632":{"position":[[2365,8],[2502,8]]},"635":{"position":[[302,8]]},"680":{"position":[[249,8]]},"688":{"position":[[231,8],[267,8],[713,8]]},"690":{"position":[[14,8],[570,8]]},"691":{"position":[[158,7]]},"740":{"position":[[406,8]]},"749":{"position":[[733,7],[870,7],[15493,7],[15759,7],[15897,7],[22932,7]]},"784":{"position":[[155,7]]},"848":{"position":[[1136,7]]},"875":{"position":[[1353,8],[2906,8],[2985,7],[5984,8],[6555,7],[7768,8]]},"888":{"position":[[674,9]]},"889":{"position":[[1003,8]]},"904":{"position":[[1566,7],[2302,7],[2381,7],[2476,8]]},"906":{"position":[[275,8],[838,7]]},"908":{"position":[[205,7],[279,7]]},"934":{"position":[[796,7]]},"983":{"position":[[43,8]]},"986":{"position":[[644,8]]},"987":{"position":[[561,7],[765,7],[1009,7],[1126,8]]},"988":{"position":[[2405,7],[2974,7],[3071,8],[3504,7],[4241,8]]},"993":{"position":[[395,9]]},"1002":{"position":[[676,8],[1330,8]]},"1010":{"position":[[193,7],[254,7]]},"1020":{"position":[[263,7],[454,8]]},"1022":{"position":[[557,8]]},"1023":{"position":[[213,8]]},"1024":{"position":[[299,8]]},"1030":{"position":[[106,7]]},"1031":{"position":[[10,8],[73,7],[201,7]]},"1032":{"position":[[43,8],[170,8]]},"1033":{"position":[[395,8],[575,8],[806,8]]},"1104":{"position":[[268,7]]},"1111":{"position":[[46,7]]},"1117":{"position":[[118,8]]},"1149":{"position":[[438,7]]},"1175":{"position":[[402,7],[554,8]]},"1309":{"position":[[12,7],[151,7],[382,7],[795,7],[976,7],[1080,7],[1252,8]]}},"keywords":{}}],["handler'",{"_index":5654,"title":{},"content":{"1031":{"position":[[124,9]]}},"keywords":{}}],["handler(changeddoc",{"_index":5571,"title":{},"content":{"1007":{"position":[[1640,20]]}},"keywords":{}}],["handler(changerow",{"_index":5036,"title":{},"content":{"875":{"position":[[6192,20]]}},"keywords":{}}],["handler(checkpoint",{"_index":5569,"title":{},"content":{"1007":{"position":[[1476,19]]}},"keywords":{}}],["handler(checkpointornul",{"_index":5006,"title":{},"content":{"875":{"position":[[3148,25]]}},"keywords":{}}],["handler(doc",{"_index":5461,"title":{},"content":{"988":{"position":[[2422,13]]}},"keywords":{}}],["handler(lastcheckpoint",{"_index":5463,"title":{},"content":{"988":{"position":[[3521,23]]}},"keywords":{}}],["handler.avoid",{"_index":5666,"title":{},"content":{"1033":{"position":[[970,13]]}},"keywords":{}}],["happen",{"_index":455,"title":{},"content":{"28":{"position":[[297,7]]},"129":{"position":[[494,9]]},"201":{"position":[[301,6]]},"205":{"position":[[356,6]]},"366":{"position":[[469,7]]},"376":{"position":[[110,6]]},"407":{"position":[[244,7]]},"410":{"position":[[372,6]]},"412":{"position":[[3020,6],[7493,7]]},"415":{"position":[[38,6]]},"421":{"position":[[511,9]]},"464":{"position":[[104,6],[210,9]]},"474":{"position":[[143,6]]},"491":{"position":[[424,6]]},"626":{"position":[[83,8]]},"630":{"position":[[565,6]]},"632":{"position":[[1935,6]]},"698":{"position":[[1101,7],[2246,6]]},"740":{"position":[[27,6],[81,6]]},"745":{"position":[[186,7]]},"749":{"position":[[3342,7],[5916,7],[11950,7],[12050,7],[16713,7],[24394,6]]},"752":{"position":[[41,7]]},"778":{"position":[[376,7]]},"785":{"position":[[68,6]]},"817":{"position":[[90,6]]},"875":{"position":[[1434,8]]},"885":{"position":[[212,8]]},"932":{"position":[[515,7]]},"985":{"position":[[477,6]]},"987":{"position":[[116,6]]},"988":{"position":[[5918,8]]},"990":{"position":[[116,7]]},"993":{"position":[[354,6]]},"1031":{"position":[[289,7]]},"1048":{"position":[[269,7]]},"1072":{"position":[[782,6]]},"1090":{"position":[[1154,7]]},"1115":{"position":[[27,6],[904,9]]},"1116":{"position":[[220,6]]},"1120":{"position":[[655,6]]},"1162":{"position":[[161,6]]},"1174":{"position":[[241,6]]},"1181":{"position":[[227,6]]},"1299":{"position":[[212,6]]},"1300":{"position":[[214,10],[1070,6]]},"1301":{"position":[[1570,8]]},"1304":{"position":[[284,6]]},"1307":{"position":[[22,6],[153,6],[254,6],[667,7]]},"1315":{"position":[[1244,8],[1371,6],[1629,8]]},"1316":{"position":[[171,8],[1655,8]]},"1318":{"position":[[817,7]]}},"keywords":{}}],["happen.conflict",{"_index":3165,"title":{},"content":{"491":{"position":[[385,15]]}},"keywords":{}}],["happier",{"_index":1644,"title":{},"content":{"277":{"position":[[320,7]]},"411":{"position":[[5463,7]]}},"keywords":{}}],["haproxi",{"_index":4848,"title":{},"content":{"849":{"position":[[637,8]]}},"keywords":{}}],["har",{"_index":992,"title":{},"content":{"83":{"position":[[343,7]]},"87":{"position":[[43,7]]},"175":{"position":[[510,7]]},"285":{"position":[[126,10]]},"370":{"position":[[123,7]]},"432":{"position":[[957,7]]},"433":{"position":[[568,7]]},"445":{"position":[[2022,7]]},"500":{"position":[[557,10]]},"530":{"position":[[315,7]]}},"keywords":{}}],["hard",{"_index":254,"title":{},"content":{"15":{"position":[[253,4]]},"19":{"position":[[459,4]]},"29":{"position":[[333,4]]},"452":{"position":[[181,4]]},"455":{"position":[[464,4]]},"569":{"position":[[403,4]]},"595":{"position":[[805,4]]},"619":{"position":[[117,4]]},"689":{"position":[[385,4]]},"696":{"position":[[1745,4]]},"702":{"position":[[280,4]]},"709":{"position":[[466,4]]},"780":{"position":[[484,4]]},"785":{"position":[[9,5]]},"861":{"position":[[1593,4]]},"898":{"position":[[445,4]]},"1085":{"position":[[289,4],[3156,4]]},"1120":{"position":[[350,4]]},"1124":{"position":[[852,4]]},"1198":{"position":[[1129,4]]},"1305":{"position":[[301,4]]},"1316":{"position":[[345,4]]},"1317":{"position":[[794,5]]}},"keywords":{}}],["hardcod",{"_index":3349,"title":{},"content":{"554":{"position":[[1177,8]]},"556":{"position":[[32,10]]}},"keywords":{}}],["harder",{"_index":2673,"title":{},"content":{"412":{"position":[[2812,6],[13742,6]]},"417":{"position":[[218,6]]},"1319":{"position":[[658,6]]}},"keywords":{}}],["hardest",{"_index":2655,"title":{},"content":{"412":{"position":[[565,7]]}},"keywords":{}}],["hardi",{"_index":6028,"title":{},"content":{"1132":{"position":[[791,5]]}},"keywords":{}}],["hardwar",{"_index":2284,"title":{},"content":{"392":{"position":[[4907,8]]},"399":{"position":[[66,8],[160,8]]},"412":{"position":[[9788,9]]},"1091":{"position":[[50,8]]}},"keywords":{}}],["hardwhi",{"_index":6301,"title":{},"content":{"1260":{"position":[[33,7]]}},"keywords":{}}],["harmoni",{"_index":3221,"title":{},"content":{"501":{"position":[[330,12]]}},"keywords":{}}],["hash",{"_index":2334,"title":{},"content":{"396":{"position":[[115,7],[134,6],[1838,7]]},"412":{"position":[[3341,7]]},"698":{"position":[[609,6]]},"731":{"position":[[245,4]]},"927":{"position":[[5,4]]},"968":{"position":[[69,8],[102,4],[209,4],[234,4],[329,4]]}},"keywords":{}}],["hashfunct",{"_index":5399,"title":{"968":{"position":[[0,13]]}},"content":{"968":{"position":[[526,13]]}},"keywords":{}}],["hasn't",{"_index":2703,"title":{},"content":{"412":{"position":[[5936,6],[7924,6]]}},"keywords":{}}],["hassl",{"_index":3218,"title":{},"content":{"500":{"position":[[429,6]]}},"keywords":{}}],["have",{"_index":382,"title":{},"content":{"23":{"position":[[137,6],[238,6],[365,6]]},"27":{"position":[[97,6]]},"29":{"position":[[43,6]]},"65":{"position":[[801,6]]},"270":{"position":[[217,6]]},"364":{"position":[[718,6]]},"367":{"position":[[132,6]]},"402":{"position":[[2580,6]]},"404":{"position":[[749,6]]},"412":{"position":[[12731,6]]},"455":{"position":[[371,6]]},"457":{"position":[[557,6]]},"459":{"position":[[1030,6]]},"469":{"position":[[801,6]]},"696":{"position":[[368,6]]},"705":{"position":[[520,6]]},"710":{"position":[[1155,6]]},"723":{"position":[[938,6]]},"749":{"position":[[21575,6]]},"799":{"position":[[1,6]]},"800":{"position":[[351,6]]},"817":{"position":[[305,6]]},"875":{"position":[[9177,6]]},"943":{"position":[[202,6]]},"965":{"position":[[38,6]]},"966":{"position":[[415,6]]},"981":{"position":[[1467,6]]},"1068":{"position":[[219,6]]},"1147":{"position":[[1,6]]},"1211":{"position":[[457,6]]},"1219":{"position":[[204,6]]},"1246":{"position":[[1549,6]]},"1247":{"position":[[324,6],[497,6],[684,6]]},"1252":{"position":[[235,6]]},"1282":{"position":[[301,6]]},"1300":{"position":[[144,6]]},"1301":{"position":[[855,6]]},"1304":{"position":[[1655,6]]},"1305":{"position":[[39,6]]},"1316":{"position":[[3693,6]]}},"keywords":{}}],["haven't",{"_index":3186,"title":{},"content":{"495":{"position":[[318,7]]},"663":{"position":[[8,7]]},"776":{"position":[[42,7]]},"842":{"position":[[139,7]]},"898":{"position":[[523,7]]}},"keywords":{}}],["haven’t",{"_index":1857,"title":{},"content":{"303":{"position":[[1465,7]]}},"keywords":{}}],["hbase",{"_index":6583,"title":{},"content":{"1324":{"position":[[932,6]]}},"keywords":{}}],["headach",{"_index":2658,"title":{},"content":{"412":{"position":[[767,9],[11947,8]]}},"keywords":{}}],["header",{"_index":2912,"title":{},"content":{"434":{"position":[[283,7]]},"461":{"position":[[325,7],[387,6]]},"612":{"position":[[1479,6]]},"616":{"position":[[1110,8]]},"848":{"position":[[68,6],[162,6],[345,7],[455,7]]},"875":{"position":[[6289,8]]},"876":{"position":[[267,7]]},"878":{"position":[[486,8]]},"880":{"position":[[161,7],[255,7]]},"882":{"position":[[173,7]]},"885":{"position":[[1219,7],[1295,7],[1369,9]]},"886":{"position":[[1773,7],[1837,8],[3134,8],[3367,7],[3491,9],[3556,8],[3587,9],[3711,7],[4102,8],[4286,7],[4736,7],[4821,7]]},"887":{"position":[[361,8]]},"888":{"position":[[502,8]]},"889":{"position":[[551,8]]},"890":{"position":[[256,7]]},"988":{"position":[[2584,8]]},"1102":{"position":[[557,8],[996,7]]},"1104":{"position":[[132,7],[291,7],[709,6]]}},"keywords":{}}],["healthpoint",{"_index":3227,"title":{},"content":{"502":{"position":[[950,13]]},"518":{"position":[[417,13]]},"571":{"position":[[891,13]]},"579":{"position":[[739,13]]},"580":{"position":[[518,13]]},"1074":{"position":[[311,12]]}},"keywords":{}}],["hear",{"_index":3447,"title":{},"content":{"569":{"position":[[36,4]]},"1249":{"position":[[84,4]]}},"keywords":{}}],["heart",{"_index":1677,"title":{},"content":{"289":{"position":[[8,5]]},"489":{"position":[[25,5]]},"501":{"position":[[8,5]]}},"keywords":{}}],["heartbeat",{"_index":3579,"title":{},"content":{"611":{"position":[[1195,9]]},"846":{"position":[[877,9],[1056,10]]}},"keywords":{}}],["heatmap",{"_index":4086,"title":{},"content":{"736":{"position":[[121,9]]}},"keywords":{}}],["heavi",{"_index":1315,"title":{"204":{"position":[[30,5]]}},"content":{"251":{"position":[[220,5]]},"262":{"position":[[163,6]]},"354":{"position":[[111,5]]},"362":{"position":[[266,5]]},"408":{"position":[[135,5],[3700,5]]},"412":{"position":[[10174,5],[10791,5],[14072,5]]},"446":{"position":[[1033,5]]},"451":{"position":[[643,5]]},"460":{"position":[[14,5]]},"497":{"position":[[348,5]]},"642":{"position":[[141,5]]},"704":{"position":[[491,5]]},"801":{"position":[[277,5]]},"841":{"position":[[1074,5]]},"1069":{"position":[[48,5]]},"1092":{"position":[[401,5]]},"1316":{"position":[[2747,5]]}},"keywords":{}}],["heavier",{"_index":6098,"title":{},"content":{"1157":{"position":[[361,7]]}},"keywords":{}}],["heavili",{"_index":1395,"title":{},"content":{"216":{"position":[[287,7]]},"354":{"position":[[1078,7]]},"411":{"position":[[5667,7]]},"430":{"position":[[215,7]]},"446":{"position":[[75,7]]},"821":{"position":[[350,7],[607,7]]},"839":{"position":[[857,7]]},"875":{"position":[[7635,7]]}},"keywords":{}}],["height",{"_index":6493,"title":{},"content":{"1305":{"position":[[594,7]]}},"keywords":{}}],["heighten",{"_index":3242,"title":{},"content":{"507":{"position":[[184,10]]}},"keywords":{}}],["hello",{"_index":3608,"title":{},"content":{"612":{"position":[[2306,6]]}},"keywords":{}}],["help",{"_index":1147,"title":{"669":{"position":[[8,5]]},"796":{"position":[[0,4]]}},"content":{"146":{"position":[[149,4]]},"175":{"position":[[111,8]]},"178":{"position":[[223,5]]},"303":{"position":[[399,7]]},"304":{"position":[[379,7]]},"316":{"position":[[503,5]]},"328":{"position":[[231,4]]},"360":{"position":[[784,5]]},"369":{"position":[[1126,4]]},"382":{"position":[[315,4]]},"385":{"position":[[294,5]]},"390":{"position":[[1888,4]]},"397":{"position":[[266,5]]},"418":{"position":[[27,7]]},"420":{"position":[[1012,4]]},"495":{"position":[[485,4]]},"550":{"position":[[353,4]]},"556":{"position":[[1420,4]]},"669":{"position":[[13,4]]},"670":{"position":[[147,4],[402,4]]},"776":{"position":[[190,4]]},"834":{"position":[[143,7]]},"838":{"position":[[1011,5]]},"906":{"position":[[123,5]]},"1003":{"position":[[74,5]]},"1058":{"position":[[90,7]]},"1151":{"position":[[447,4]]},"1178":{"position":[[446,4]]},"1268":{"position":[[215,7]]}},"keywords":{}}],["helper",{"_index":3923,"title":{},"content":{"693":{"position":[[308,6]]},"711":{"position":[[2340,7]]},"848":{"position":[[1069,6]]},"889":{"position":[[792,6],[829,6]]},"1219":{"position":[[36,6]]},"1274":{"position":[[561,6]]},"1279":{"position":[[948,6]]},"1296":{"position":[[576,6]]}},"keywords":{}}],["henc",{"_index":3463,"title":{},"content":{"569":{"position":[[862,6]]}},"keywords":{}}],["here",{"_index":193,"title":{},"content":{"13":{"position":[[307,4]]},"60":{"position":[[1,4]]},"98":{"position":[[141,4]]},"188":{"position":[[1749,4]]},"210":{"position":[[625,5]]},"225":{"position":[[102,4]]},"314":{"position":[[658,4]]},"388":{"position":[[23,4]]},"394":{"position":[[1339,5]]},"398":{"position":[[432,4]]},"412":{"position":[[4362,4]]},"461":{"position":[[203,5],[781,5],[1379,5],[1614,5]]},"463":{"position":[[539,4],[775,4],[988,4]]},"464":{"position":[[427,4]]},"465":{"position":[[288,4]]},"466":{"position":[[252,4]]},"467":{"position":[[247,4]]},"469":{"position":[[153,5],[1276,4]]},"496":{"position":[[873,5]]},"498":{"position":[[59,4]]},"534":{"position":[[120,4]]},"547":{"position":[[1,4]]},"567":{"position":[[135,4]]},"590":{"position":[[1,4]]},"594":{"position":[[118,4]]},"607":{"position":[[1,4]]},"620":{"position":[[383,4]]},"664":{"position":[[57,4]]},"729":{"position":[[324,5]]},"739":{"position":[[18,4]]},"765":{"position":[[91,4]]},"772":{"position":[[2512,4]]},"791":{"position":[[219,4]]},"796":{"position":[[1170,4]]},"805":{"position":[[263,4]]},"806":{"position":[[179,5],[417,5]]},"813":{"position":[[244,5]]},"820":{"position":[[504,4]]},"826":{"position":[[266,4]]},"829":{"position":[[803,4]]},"831":{"position":[[434,5]]},"847":{"position":[[166,5]]},"848":{"position":[[829,5],[1464,5]]},"849":{"position":[[334,6]]},"868":{"position":[[116,4]]},"875":{"position":[[1621,4],[7029,4]]},"886":{"position":[[2133,5]]},"898":{"position":[[780,4]]},"904":{"position":[[77,4],[376,4],[2353,4]]},"906":{"position":[[740,4]]},"908":{"position":[[410,4]]},"912":{"position":[[771,5]]},"932":{"position":[[1332,5]]},"936":{"position":[[162,5]]},"963":{"position":[[203,5]]},"988":{"position":[[1848,5],[4934,4]]},"1002":{"position":[[836,4]]},"1020":{"position":[[490,4]]},"1065":{"position":[[1,4]]},"1085":{"position":[[1498,4]]},"1097":{"position":[[810,4]]},"1108":{"position":[[472,4]]},"1137":{"position":[[1,4]]},"1147":{"position":[[80,4]]},"1154":{"position":[[528,4]]},"1163":{"position":[[175,4]]},"1182":{"position":[[175,4]]},"1191":{"position":[[534,4]]},"1194":{"position":[[1,4],[439,4],[613,4],[713,4],[807,4],[1009,4]]},"1202":{"position":[[363,5]]},"1209":{"position":[[404,4]]},"1220":{"position":[[305,4]]},"1222":{"position":[[283,4]]},"1225":{"position":[[385,4]]},"1226":{"position":[[466,5]]},"1236":{"position":[[47,4]]},"1237":{"position":[[98,4]]},"1238":{"position":[[134,4]]},"1239":{"position":[[1,4]]},"1263":{"position":[[279,4]]},"1264":{"position":[[369,5]]},"1266":{"position":[[72,4]]},"1271":{"position":[[1243,4]]},"1297":{"position":[[394,5]]},"1299":{"position":[[186,4]]},"1304":{"position":[[1227,5]]},"1308":{"position":[[685,5]]}},"keywords":{}}],["here'",{"_index":1033,"title":{},"content":{"102":{"position":[[86,6]]},"393":{"position":[[808,6]]},"397":{"position":[[355,6]]},"412":{"position":[[346,6]]},"426":{"position":[[251,6]]},"541":{"position":[[94,6]]},"601":{"position":[[1,6]]},"612":{"position":[[1043,6],[1673,6]]},"1292":{"position":[[828,6]]}},"keywords":{}}],["here.ther",{"_index":4718,"title":{},"content":{"824":{"position":[[83,10]]}},"keywords":{}}],["hero",{"_index":768,"title":{},"content":{"51":{"position":[[283,5],[336,4],[849,7]]},"52":{"position":[[327,6]]},"54":{"position":[[239,4],[247,7]]},"55":{"position":[[1161,4]]},"130":{"position":[[584,4],[592,7]]},"188":{"position":[[1200,7]]},"334":{"position":[[581,5],[606,5]]},"335":{"position":[[127,6],[240,4],[377,4],[576,4],[862,4],[904,4],[960,6]]},"538":{"position":[[584,5],[637,4],[872,7]]},"539":{"position":[[327,6]]},"541":{"position":[[259,8]]},"542":{"position":[[787,6]]},"562":{"position":[[292,5],[500,7],[1130,8]]},"579":{"position":[[589,5],[614,5]]},"580":{"position":[[380,6]]},"598":{"position":[[591,5],[644,4],[879,7]]},"599":{"position":[[354,6]]},"601":{"position":[[452,6]]},"789":{"position":[[151,6],[194,7],[398,6],[441,7],[561,8]]},"791":{"position":[[7,6],[50,7],[266,6],[309,7]]},"792":{"position":[[134,6],[177,7]]},"829":{"position":[[747,7],[2394,9],[2619,7],[3310,9]]},"939":{"position":[[176,7]]},"979":{"position":[[336,7]]},"1074":{"position":[[36,4]]},"1075":{"position":[[35,7],[112,6]]},"1311":{"position":[[996,7],[1459,5]]}},"keywords":{}}],["hero"",{"_index":5817,"title":{},"content":{"1074":{"position":[[796,11]]}},"keywords":{}}],["hero.allow",{"_index":5811,"title":{},"content":{"1074":{"position":[[618,11]]}},"keywords":{}}],["hero.healthpoint",{"_index":3508,"title":{},"content":{"580":{"position":[[854,17]]}},"keywords":{}}],["hero.nam",{"_index":823,"title":{},"content":{"54":{"position":[[276,9]]},"55":{"position":[[1197,9]]},"562":{"position":[[1508,11]]},"580":{"position":[[832,9]]},"601":{"position":[[234,9]]},"602":{"position":[[621,9]]}},"keywords":{}}],["hero.point",{"_index":1951,"title":{},"content":{"335":{"position":[[510,14]]}},"keywords":{}}],["hero.pow",{"_index":3318,"title":{},"content":{"541":{"position":[[680,12]]},"562":{"position":[[1529,12]]},"601":{"position":[[267,10]]},"602":{"position":[[654,10]]}},"keywords":{}}],["hero.scream('aah",{"_index":6520,"title":{},"content":{"1311":{"position":[[1654,20]]}},"keywords":{}}],["herocollect",{"_index":6507,"title":{},"content":{"1311":{"position":[[874,15],[1176,15]]}},"keywords":{}}],["herocollectionmethod",{"_index":6505,"title":{},"content":{"1311":{"position":[[785,22],[808,21],[1060,21]]}},"keywords":{}}],["herocount",{"_index":4757,"title":{},"content":{"829":{"position":[[2462,9]]}},"keywords":{}}],["herodb",{"_index":3426,"title":{},"content":{"562":{"position":[[192,9]]}},"keywords":{}}],["herodb_sign",{"_index":3433,"title":{},"content":{"563":{"position":[[504,17]]}},"keywords":{}}],["herodocmethod",{"_index":6500,"title":{},"content":{"1311":{"position":[[627,15],[643,14],[1035,15]]}},"keywords":{}}],["herodoctyp",{"_index":6513,"title":{},"content":{"1311":{"position":[[1241,12]]}},"keywords":{}}],["herodocu",{"_index":6502,"title":{},"content":{"1311":{"position":[[685,13],[1277,12],[1465,12]]}},"keywords":{}}],["heroes"",{"_index":3505,"title":{},"content":{"580":{"position":[[787,12]]},"601":{"position":[[175,12]]}},"keywords":{}}],["heroes.findone().exec",{"_index":4605,"title":{},"content":{"791":{"position":[[154,24],[474,24]]},"792":{"position":[[285,24]]}},"keywords":{}}],["heroes.foreach((hero",{"_index":1947,"title":{},"content":{"335":{"position":[[393,21]]}},"keywords":{}}],["heroes.insert",{"_index":4607,"title":{},"content":{"791":{"position":[[419,15]]}},"keywords":{}}],["heroes.map(hero",{"_index":3315,"title":{},"content":{"541":{"position":[[587,16]]},"542":{"position":[[838,16]]},"562":{"position":[[1458,16]]}},"keywords":{}}],["heroes.valu",{"_index":3499,"title":{},"content":{"580":{"position":[[682,12]]},"601":{"position":[[670,12]]}},"keywords":{}}],["heroes;">",{"_index":1100,"title":{},"content":{"130":{"position":[[611,17]]}},"keywords":{}}],["heroesdb",{"_index":779,"title":{},"content":{"51":{"position":[[724,11]]},"334":{"position":[[358,11]]},"522":{"position":[[439,11]]},"538":{"position":[[454,11]]},"579":{"position":[[367,11]]},"598":{"position":[[461,11]]},"653":{"position":[[278,11]]},"680":{"position":[[699,11]]},"960":{"position":[[307,11]]},"966":{"position":[[562,11],[680,11]]},"967":{"position":[[147,11],[265,11]]},"1085":{"position":[[3781,10]]},"1114":{"position":[[736,11]]},"1121":{"position":[[476,11]]}},"keywords":{}}],["heroesreactdb",{"_index":4745,"title":{},"content":{"829":{"position":[[664,16]]}},"keywords":{}}],["heroessign",{"_index":850,"title":{},"content":{"55":{"position":[[1083,12]]},"563":{"position":[[705,12],[786,14]]},"602":{"position":[[225,12],[367,14]]}},"keywords":{}}],["heroessignal()">",{"_index":852,"title":{},"content":{"55":{"position":[[1169,24]]}},"keywords":{}}],["heroessignal.valu",{"_index":3544,"title":{},"content":{"602":{"position":[[470,18]]}},"keywords":{}}],["heroessignal.value"",{"_index":3545,"title":{},"content":{"602":{"position":[[550,24]]}},"keywords":{}}],["heroinputpushrowt0assumedmasterstatet0",{"_index":5085,"title":{},"content":{"885":{"position":[[957,38]]}},"keywords":{}}],["heroinputpushrowt0newdocumentstatet0",{"_index":5086,"title":{},"content":{"885":{"position":[[1014,37]]}},"keywords":{}}],["herolist",{"_index":3306,"title":{},"content":{"541":{"position":[[226,10]]},"542":{"position":[[754,10]]},"562":{"position":[[1097,10],[1590,9]]},"829":{"position":[[3378,8]]}},"keywords":{}}],["herolist').append",{"_index":1948,"title":{},"content":{"335":{"position":[[423,23]]}},"keywords":{}}],["herolist').empti",{"_index":1945,"title":{},"content":{"335":{"position":[[338,23]]}},"keywords":{}}],["herolist.vu",{"_index":3491,"title":{},"content":{"580":{"position":[[265,12]]}},"keywords":{}}],["heronam",{"_index":1953,"title":{},"content":{"335":{"position":[[633,8],[779,9]]}},"keywords":{}}],["heroname').v",{"_index":1954,"title":{},"content":{"335":{"position":[[644,21]]}},"keywords":{}}],["heropoint",{"_index":1955,"title":{},"content":{"335":{"position":[[672,10],[797,10]]}},"keywords":{}}],["heroschema",{"_index":766,"title":{},"content":{"51":{"position":[[261,10],[867,10]]},"538":{"position":[[562,10],[890,10]]},"562":{"position":[[270,10],[518,10]]},"598":{"position":[[569,10],[897,10]]},"1311":{"position":[[246,11],[1014,11]]}},"keywords":{}}],["hibern",{"_index":5545,"title":{},"content":{"1003":{"position":[[146,10]]}},"keywords":{}}],["hidden",{"_index":5546,"title":{},"content":{"1003":{"position":[[210,7]]}},"keywords":{}}],["hide",{"_index":4744,"title":{},"content":{"828":{"position":[[314,6]]},"898":{"position":[[685,4]]}},"keywords":{}}],["hideloadingspinn",{"_index":5521,"title":{},"content":{"995":{"position":[[2013,21]]}},"keywords":{}}],["hierarch",{"_index":2007,"title":{},"content":{"353":{"position":[[304,12]]},"364":{"position":[[616,12]]},"396":{"position":[[592,12]]}},"keywords":{}}],["high",{"_index":1207,"title":{"1238":{"position":[[0,4]]}},"content":{"173":{"position":[[2133,4]]},"177":{"position":[[105,4]]},"265":{"position":[[913,4]]},"267":{"position":[[976,4]]},"385":{"position":[[95,4]]},"390":{"position":[[100,4]]},"396":{"position":[[261,4]]},"399":{"position":[[254,4],[550,4]]},"412":{"position":[[10645,4]]},"441":{"position":[[365,4]]},"454":{"position":[[53,4]]},"483":{"position":[[1008,4]]},"497":{"position":[[100,4],[309,4]]},"566":{"position":[[335,4]]},"611":{"position":[[566,4]]},"613":{"position":[[408,4]]},"622":{"position":[[24,4],[587,4]]},"623":{"position":[[491,4]]},"624":{"position":[[1433,4]]},"643":{"position":[[23,4]]},"802":{"position":[[875,4]]},"901":{"position":[[462,4]]},"902":{"position":[[834,4],[912,4]]},"1206":{"position":[[439,4]]},"1294":{"position":[[1923,4]]}},"keywords":{}}],["higher",{"_index":761,"title":{},"content":{"51":{"position":[[115,6]]},"396":{"position":[[687,6]]},"408":{"position":[[2224,6]]},"621":{"position":[[377,6]]},"622":{"position":[[333,6]]},"689":{"position":[[94,6]]},"821":{"position":[[878,6]]},"1170":{"position":[[265,6]]},"1194":{"position":[[1050,6]]}},"keywords":{}}],["highli",{"_index":1171,"title":{},"content":{"156":{"position":[[288,6]]},"265":{"position":[[469,6]]},"358":{"position":[[572,6]]},"390":{"position":[[1154,6]]},"433":{"position":[[140,6]]},"445":{"position":[[1520,6]]},"447":{"position":[[407,6]]},"548":{"position":[[209,6]]},"608":{"position":[[209,6]]},"623":{"position":[[633,6]]},"723":{"position":[[324,6]]},"1132":{"position":[[427,6]]}},"keywords":{}}],["highlight",{"_index":2577,"title":{},"content":{"408":{"position":[[5406,9]]},"419":{"position":[[925,10]]},"420":{"position":[[1464,10]]}},"keywords":{}}],["hinder",{"_index":2888,"title":{},"content":{"427":{"position":[[1047,6]]}},"keywords":{}}],["hint",{"_index":1815,"title":{},"content":{"302":{"position":[[1021,5]]}},"keywords":{}}],["hipaa",{"_index":3336,"title":{},"content":{"550":{"position":[[422,6]]}},"keywords":{}}],["histor",{"_index":1721,"title":{},"content":{"298":{"position":[[583,12]]},"299":{"position":[[626,12],[1165,13]]},"331":{"position":[[1,13]]},"408":{"position":[[1144,13]]}},"keywords":{}}],["histori",{"_index":2845,"title":{},"content":{"421":{"position":[[14,7]]},"439":{"position":[[251,8]]},"449":{"position":[[88,8]]},"635":{"position":[[394,10]]},"1316":{"position":[[3083,8]]}},"keywords":{}}],["hit",{"_index":1322,"title":{},"content":{"205":{"position":[[11,3]]},"304":{"position":[[198,3]]},"321":{"position":[[284,7]]},"408":{"position":[[1333,7]]},"410":{"position":[[2199,3]]}},"keywords":{}}],["hnsw",{"_index":2342,"title":{},"content":{"396":{"position":[[570,7],[578,4]]}},"keywords":{}}],["hnsw'",{"_index":2340,"title":{},"content":{"396":{"position":[[514,6]]}},"keywords":{}}],["hold",{"_index":1985,"title":{},"content":{"350":{"position":[[63,4]]},"411":{"position":[[1910,5]]},"417":{"position":[[20,4]]}},"keywords":{}}],["home",{"_index":3215,"title":{},"content":{"500":{"position":[[165,4]]}},"keywords":{}}],["hood",{"_index":2736,"title":{},"content":{"412":{"position":[[9872,5]]},"490":{"position":[[484,5]]},"566":{"position":[[813,4]]}},"keywords":{}}],["hood.i",{"_index":445,"title":{},"content":{"27":{"position":[[369,9]]}},"keywords":{}}],["hoodi",{"_index":436,"title":{"27":{"position":[[0,7]]}},"content":{"27":{"position":[[1,6],[200,6],[329,6]]}},"keywords":{}}],["hook",{"_index":517,"title":{"523":{"position":[[17,6]]},"541":{"position":[[32,6]]},"764":{"position":[[25,6]]},"802":{"position":[[21,6]]},"1118":{"position":[[25,6]]}},"content":{"33":{"position":[[285,6]]},"134":{"position":[[276,5]]},"147":{"position":[[188,5]]},"381":{"position":[[375,5]]},"494":{"position":[[494,4]]},"523":{"position":[[10,5],[48,5],[109,5],[285,5]]},"540":{"position":[[189,5]]},"582":{"position":[[565,5]]},"590":{"position":[[451,5]]},"749":{"position":[[7490,4],[7570,5],[7670,4],[7772,5]]},"763":{"position":[[29,6]]},"764":{"position":[[300,5]]},"766":{"position":[[5,5],[166,5],[219,4]]},"767":{"position":[[11,4]]},"768":{"position":[[8,4]]},"769":{"position":[[11,4]]},"770":{"position":[[6,4],[278,5],[543,4],[629,5]]},"802":{"position":[[17,5],[134,4],[627,5]]},"806":{"position":[[186,5],[297,5],[358,5],[411,5]]},"828":{"position":[[164,6],[250,5],[390,6]]},"829":{"position":[[280,6],[1997,4],[2149,4],[2311,5],[2850,4],[3116,5],[3126,4]]},"830":{"position":[[5,5]]},"831":{"position":[[26,5]]},"899":{"position":[[66,5]]},"1117":{"position":[[143,6]]},"1118":{"position":[[93,6]]},"1284":{"position":[[25,5],[40,5]]},"1311":{"position":[[1108,4]]}},"keywords":{}}],["hooksdelet",{"_index":4550,"title":{},"content":{"769":{"position":[[137,12]]}},"keywords":{}}],["hooksev",{"_index":4529,"title":{},"content":{"767":{"position":[[250,10]]},"768":{"position":[[209,10]]},"769":{"position":[[224,10]]}},"keywords":{}}],["hookspostinsert",{"_index":4528,"title":{},"content":{"767":{"position":[[225,15]]}},"keywords":{}}],["hookspostremov",{"_index":4552,"title":{},"content":{"769":{"position":[[199,15]]}},"keywords":{}}],["hookspostsav",{"_index":4540,"title":{},"content":{"768":{"position":[[186,13]]}},"keywords":{}}],["hookspreinsert",{"_index":4524,"title":{},"content":{"767":{"position":[[121,14]]}},"keywords":{}}],["hookspreremov",{"_index":4549,"title":{},"content":{"769":{"position":[[113,14]]}},"keywords":{}}],["hookspresav",{"_index":4537,"title":{},"content":{"768":{"position":[[104,12]]}},"keywords":{}}],["hooksschema",{"_index":4525,"title":{},"content":{"767":{"position":[[145,11]]}},"keywords":{}}],["hooksupd",{"_index":4538,"title":{},"content":{"768":{"position":[[126,12]]}},"keywords":{}}],["hop",{"_index":2143,"title":{},"content":{"376":{"position":[[193,5]]},"902":{"position":[[48,4]]}},"keywords":{}}],["hope",{"_index":3962,"title":{},"content":{"702":{"position":[[417,4]]}},"keywords":{}}],["hopefulli",{"_index":3938,"title":{},"content":{"696":{"position":[[1635,9]]},"700":{"position":[[238,9]]}},"keywords":{}}],["horizon",{"_index":358,"title":{"21":{"position":[[0,8]]}},"content":{"21":{"position":[[1,7],[199,8]]}},"keywords":{}}],["horizont",{"_index":2010,"title":{"1091":{"position":[[0,10]]}},"content":{"353":{"position":[[377,10]]},"772":{"position":[[386,12]]},"1094":{"position":[[140,12]]},"1295":{"position":[[100,13],[580,12]]}},"keywords":{}}],["host",{"_index":235,"title":{},"content":{"14":{"position":[[1033,6],[1114,6]]},"18":{"position":[[229,6]]},"174":{"position":[[3051,6]]},"202":{"position":[[98,7],[129,4]]},"204":{"position":[[298,7]]},"249":{"position":[[54,7],[81,4]]},"289":{"position":[[1030,6]]},"485":{"position":[[24,4]]},"504":{"position":[[1151,6]]},"840":{"position":[[571,6]]},"849":{"position":[[1017,4],[1022,6]]},"861":{"position":[[47,4],[207,4],[272,6]]},"862":{"position":[[949,6]]},"870":{"position":[[225,6]]},"896":{"position":[[29,6]]},"902":{"position":[[864,7]]},"903":{"position":[[377,5]]},"1124":{"position":[[2065,6]]},"1246":{"position":[[861,4]]}},"keywords":{}}],["hosting.miss",{"_index":4799,"title":{},"content":{"839":{"position":[[629,15]]}},"keywords":{}}],["hot",{"_index":4212,"title":{"799":{"position":[[13,5]]}},"content":{"749":{"position":[[5952,3]]},"799":{"position":[[748,3]]}},"keywords":{}}],["hour",{"_index":2251,"title":{},"content":{"392":{"position":[[3152,5]]},"995":{"position":[[1410,6]]}},"keywords":{}}],["hp",{"_index":3507,"title":{},"content":{"580":{"position":[[847,3]]}},"keywords":{}}],["href="https://rxdb.info/react.html">rxdb</a>",{"_index":4751,"title":{},"content":{"829":{"position":[[1640,63]]}},"keywords":{}}],["hsw",{"_index":2338,"title":{},"content":{"396":{"position":[[349,3]]}},"keywords":{}}],["html",{"_index":1626,"title":{},"content":{"269":{"position":[[76,6]]},"571":{"position":[[800,4],[1053,4]]}},"keywords":{}}],["http",{"_index":131,"title":{"874":{"position":[[0,4]]},"1032":{"position":[[22,4]]}},"content":{"8":{"position":[[1076,8]]},"16":{"position":[[154,5]]},"165":{"position":[[212,5]]},"434":{"position":[[278,4]]},"450":{"position":[[384,4]]},"461":{"position":[[117,4],[362,4]]},"487":{"position":[[55,4]]},"491":{"position":[[583,4],[1638,4]]},"556":{"position":[[1563,5]]},"565":{"position":[[118,6]]},"566":{"position":[[1171,6]]},"570":{"position":[[647,4]]},"610":{"position":[[122,5]]},"611":{"position":[[210,4],[414,4]]},"612":{"position":[[91,5],[416,4]]},"616":{"position":[[349,4],[471,4],[702,4],[1105,4]]},"617":{"position":[[854,4]]},"619":{"position":[[223,4],[365,4]]},"621":{"position":[[342,4],[425,4]]},"623":{"position":[[361,4]]},"624":{"position":[[1478,4]]},"626":{"position":[[723,4]]},"632":{"position":[[836,4]]},"696":{"position":[[525,4]]},"749":{"position":[[21180,4]]},"793":{"position":[[637,4]]},"837":{"position":[[1615,6]]},"841":{"position":[[774,6]]},"846":{"position":[[694,4]]},"848":{"position":[[63,4]]},"863":{"position":[[376,4]]},"871":{"position":[[302,5],[781,4]]},"875":{"position":[[75,4],[169,4],[503,4],[751,4],[1308,4]]},"876":{"position":[[56,4],[284,4]]},"886":{"position":[[1098,5],[1803,4],[2730,5],[3917,5]]},"968":{"position":[[735,5]]},"1010":{"position":[[126,4]]},"1032":{"position":[[14,4]]},"1097":{"position":[[317,4]]},"1102":{"position":[[110,4],[433,4]]}},"keywords":{}}],["http.encrypt",{"_index":4790,"title":{},"content":{"838":{"position":[[810,15]]}},"keywords":{}}],["http/",{"_index":3676,"title":{},"content":{"624":{"position":[[223,6]]}},"keywords":{}}],["http/1.1",{"_index":3632,"title":{},"content":{"617":{"position":[[351,8]]}},"keywords":{}}],["http/2",{"_index":3644,"title":{},"content":{"617":{"position":[[1182,6]]}},"keywords":{}}],["http/3",{"_index":3617,"title":{},"content":{"613":{"position":[[136,6]]},"617":{"position":[[1192,6]]},"620":{"position":[[559,6]]},"621":{"position":[[810,6]]},"624":{"position":[[1044,6],[1152,6]]}},"keywords":{}}],["http/3'",{"_index":3674,"title":{},"content":{"623":{"position":[[666,8]]}},"keywords":{}}],["http/websocket",{"_index":5191,"title":{},"content":{"897":{"position":[[398,15]]}},"keywords":{}}],["http1.1",{"_index":4844,"title":{},"content":{"849":{"position":[[51,7]]}},"keywords":{}}],["http2",{"_index":4850,"title":{},"content":{"849":{"position":[[806,5],[872,5]]}},"keywords":{}}],["http2.0",{"_index":4849,"title":{},"content":{"849":{"position":[[702,8],[717,7]]}},"keywords":{}}],["http://172.0.0.1:5984",{"_index":4852,"title":{},"content":{"849":{"position":[[936,22]]}},"keywords":{}}],["http://example.com",{"_index":5948,"title":{},"content":{"1103":{"position":[[247,20],[396,20]]}},"keywords":{}}],["http://example.com/db",{"_index":4860,"title":{},"content":{"851":{"position":[[335,24]]}},"keywords":{}}],["http://example.com/db/human",{"_index":4823,"title":{},"content":{"846":{"position":[[286,31]]},"848":{"position":[[761,31],[1396,31]]},"852":{"position":[[279,31]]},"1149":{"position":[[1437,30]]}},"keywords":{}}],["http://example.com/graphql",{"_index":5122,"title":{},"content":{"886":{"position":[[1104,28],[2736,28],[3923,29]]}},"keywords":{}}],["http://localhost/pullstream",{"_index":5049,"title":{},"content":{"875":{"position":[[8145,30],[9564,30]]}},"keywords":{}}],["http://localhost:${port",{"_index":3616,"title":{},"content":{"612":{"position":[[2537,28]]}},"keywords":{}}],["http://localhost:3000/repl",{"_index":1460,"title":{},"content":{"243":{"position":[[493,33]]}},"keywords":{}}],["http://localhost:4000",{"_index":3842,"title":{},"content":{"670":{"position":[[568,22]]}},"keywords":{}}],["http://localhost:80/mi",{"_index":5934,"title":{},"content":{"1101":{"position":[[758,23]]}},"keywords":{}}],["http://localhost:80/users/0",{"_index":5066,"title":{},"content":{"878":{"position":[[385,30]]}},"keywords":{}}],["http://localhost:8080/${endpoint.urlpath",{"_index":4967,"title":{},"content":{"872":{"position":[[3478,45]]}},"keywords":{}}],["http://localhost:8080/humans/0",{"_index":4973,"title":{},"content":{"872":{"position":[[4404,30],[4548,33]]}},"keywords":{}}],["http://localhost:8080?n",{"_index":4868,"title":{},"content":{"854":{"position":[[293,27]]}},"keywords":{}}],["httppouch",{"_index":4780,"title":{},"content":{"837":{"position":[[1583,9]]}},"keywords":{}}],["https://cordova.apache.org/docs/de/latest/cordova/events/events.deviceready.html",{"_index":157,"title":{},"content":{"11":{"position":[[427,80]]}},"keywords":{}}],["https://developer.mozilla.org/en",{"_index":6267,"title":{},"content":{"1226":{"position":[[482,32]]},"1264":{"position":[[385,32]]}},"keywords":{}}],["https://discord.com/channels/969553741705539624/1341392686267109458/1343639513850843217",{"_index":4148,"title":{},"content":{"749":{"position":[[1172,87]]}},"keywords":{}}],["https://docs.couchdb.org/en/3.2.2",{"_index":4827,"title":{},"content":{"846":{"position":[[960,33]]}},"keywords":{}}],["https://example.com/api/sync",{"_index":5454,"title":{},"content":{"988":{"position":[[580,30]]}},"keywords":{}}],["https://example.com/api/sync/?minupdatedat=${mintimestamp}&limit=${batchs",{"_index":5466,"title":{},"content":{"988":{"position":[[3720,83]]}},"keywords":{}}],["https://example.com/mydatabas",{"_index":4346,"title":{},"content":{"749":{"position":[[16164,33]]}},"keywords":{}}],["https://firestore.googleapis.com/${projectid",{"_index":4873,"title":{},"content":{"854":{"position":[[644,48]]}},"keywords":{}}],["https://github.com/nextapp",{"_index":4059,"title":{},"content":{"724":{"position":[[1423,27],[1729,27]]}},"keywords":{}}],["https://github.com/pubkey/rxdb",{"_index":5921,"title":{},"content":{"1097":{"position":[[538,30]]}},"keywords":{}}],["https://github.com/pubkey/rxdb.gitinstal",{"_index":3824,"title":{},"content":{"666":{"position":[[157,41]]}},"keywords":{}}],["https://github.com/pubkey/rxdb/issues/6792#issuecom",{"_index":4181,"title":{},"content":{"749":{"position":[[3731,55]]}},"keywords":{}}],["https://github.com/pubkey/rxdb/pull/6643#issuecom",{"_index":4423,"title":{},"content":{"749":{"position":[[23081,53]]}},"keywords":{}}],["https://localhost/pull?updatedat=${updatedat}&id=${id}&limit=${batchs",{"_index":5010,"title":{},"content":{"875":{"position":[[3341,83]]}},"keywords":{}}],["https://neighbourhood.ie/blog/2020/10/13/everyth",{"_index":4136,"title":{},"content":{"749":{"position":[[198,51]]}},"keywords":{}}],["https://pouchdb.com/api.html#create_databas",{"_index":6181,"title":{},"content":{"1201":{"position":[[301,44]]}},"keywords":{}}],["https://rxdb.info/articles/indexeddb",{"_index":1465,"title":{},"content":{"243":{"position":[[585,36],[686,36],[785,36],[882,36]]}},"keywords":{}}],["https://rxdb.info/migr",{"_index":4297,"title":{},"content":{"749":{"position":[[12667,27]]}},"keywords":{}}],["https://rxdb.info/repl",{"_index":4336,"title":{},"content":{"749":{"position":[[15358,29]]}},"keywords":{}}],["https://rxdb.info/rx",{"_index":4057,"title":{},"content":{"724":{"position":[[1112,20]]},"749":{"position":[[3466,20],[9401,20],[18372,20]]}},"keywords":{}}],["https://spacetelescope.github.io/understand",{"_index":4384,"title":{},"content":{"749":{"position":[[19177,46]]}},"keywords":{}}],["https://supabase.com/docs/guides/auth/row",{"_index":5232,"title":{},"content":{"899":{"position":[[209,41]]}},"keywords":{}}],["https://supabase.com/docs/guides/cli",{"_index":5235,"title":{},"content":{"899":{"position":[[351,36]]}},"keywords":{}}],["https://supabase.com/docs/guides/realtimeloc",{"_index":5234,"title":{},"content":{"899":{"position":[[276,46]]}},"keywords":{}}],["https://the",{"_index":5142,"title":{},"content":{"886":{"position":[[4481,11]]}},"keywords":{}}],["https://www.bennadel.com/blog/3448",{"_index":755,"title":{},"content":{"50":{"position":[[365,34]]}},"keywords":{}}],["https://www.mongodb.com/docs/manual/reference/connect",{"_index":6160,"title":{},"content":{"1189":{"position":[[513,56]]}},"keywords":{}}],["https://www.npmjs.com/package/sqlite3",{"_index":6337,"title":{},"content":{"1274":{"position":[[222,37]]}},"keywords":{}}],["https://www.npmjs.com/package/wa",{"_index":6341,"title":{},"content":{"1276":{"position":[[678,32]]}},"keywords":{}}],["https://xyzcompany.supabase.co",{"_index":5215,"title":{},"content":{"898":{"position":[[3066,33]]}},"keywords":{}}],["https://yourapi.com/tasks/pull?checkpoint=${json.stringifi",{"_index":1357,"title":{},"content":{"209":{"position":[[1110,60]]}},"keywords":{}}],["httpwebsocket",{"_index":3133,"title":{},"content":{"481":{"position":[[352,13]]}},"keywords":{}}],["huge",{"_index":2483,"title":{},"content":{"402":{"position":[[905,4]]},"408":{"position":[[1775,4]]},"412":{"position":[[6756,4]]},"1246":{"position":[[1024,4]]},"1294":{"position":[[1880,4]]},"1295":{"position":[[1496,4]]}},"keywords":{}}],["huggingfac",{"_index":2211,"title":{},"content":{"391":{"position":[[155,11]]},"401":{"position":[[98,11]]},"402":{"position":[[2017,11]]}},"keywords":{}}],["hulk",{"_index":797,"title":{},"content":{"52":{"position":[[258,7],[517,6]]},"539":{"position":[[258,7],[517,6]]},"599":{"position":[[285,7],[544,6]]}},"keywords":{}}],["human",{"_index":2106,"title":{"1313":{"position":[[30,6]]}},"content":{"364":{"position":[[741,5]]},"649":{"position":[[361,9]]},"662":{"position":[[2362,7]]},"689":{"position":[[517,5]]},"710":{"position":[[1851,7]]},"808":{"position":[[144,6],[168,7],[267,8],[300,5],[651,8]]},"812":{"position":[[56,6],[214,7]]},"813":{"position":[[56,6],[174,8],[237,6]]},"818":{"position":[[521,7]]},"838":{"position":[[2576,7]]},"851":{"position":[[245,8],[312,9]]},"862":{"position":[[833,7]]},"872":{"position":[[1840,7],[2555,7],[3405,9],[4070,7],[4501,7]]},"885":{"position":[[625,5],[799,8],[1207,7]]},"889":{"position":[[167,7]]},"898":{"position":[[2420,7],[3353,9],[3427,7]]},"916":{"position":[[366,7]]},"934":{"position":[[283,7]]},"1078":{"position":[[218,6]]},"1080":{"position":[[48,6]]},"1149":{"position":[[1029,7]]},"1231":{"position":[[1116,7]]},"1309":{"position":[[1446,7]]},"1311":{"position":[[301,6],[343,5]]},"1313":{"position":[[517,6],[910,5]]}},"keywords":{}}],["humaninput",{"_index":5079,"title":{},"content":{"885":{"position":[[525,10]]}},"keywords":{}}],["humaninputpushrow",{"_index":5084,"title":{},"content":{"885":{"position":[[917,17],[1184,22]]},"886":{"position":[[2356,21]]},"889":{"position":[[343,22]]}},"keywords":{}}],["humanpullbulk",{"_index":5081,"title":{},"content":{"885":{"position":[[772,13],[894,14],[1379,14]]}},"keywords":{}}],["humanscollection.findone('alice').exec",{"_index":4693,"title":{},"content":{"813":{"position":[[351,41]]}},"keywords":{}}],["humanscollection.findone('bob').exec",{"_index":4680,"title":{},"content":{"810":{"position":[[347,39]]},"811":{"position":[[327,39]]}},"keywords":{}}],["humanscollection.insert",{"_index":4678,"title":{},"content":{"810":{"position":[[195,25],[266,25]]},"811":{"position":[[175,25],[246,25]]}},"keywords":{}}],["hundr",{"_index":2533,"title":{},"content":{"408":{"position":[[887,8]]},"411":{"position":[[399,8]]},"696":{"position":[[1147,7],[1216,8]]}},"keywords":{}}],["hunt",{"_index":3838,"title":{},"content":{"670":{"position":[[286,4]]}},"keywords":{}}],["hybrid",{"_index":875,"title":{"268":{"position":[[37,6]]},"269":{"position":[[15,6]]},"284":{"position":[[23,6]]},"446":{"position":[[22,6]]},"774":{"position":[[0,6]]}},"content":{"59":{"position":[[212,6]]},"112":{"position":[[124,6]]},"174":{"position":[[2730,6]]},"239":{"position":[[161,6]]},"266":{"position":[[244,6]]},"269":{"position":[[22,6]]},"270":{"position":[[81,6]]},"271":{"position":[[84,6]]},"274":{"position":[[64,6]]},"278":{"position":[[251,6]]},"280":{"position":[[461,6]]},"284":{"position":[[36,6]]},"285":{"position":[[356,6]]},"286":{"position":[[167,6]]},"287":{"position":[[1274,6]]},"356":{"position":[[884,6]]},"362":{"position":[[440,6]]},"372":{"position":[[231,6]]},"418":{"position":[[670,6]]},"444":{"position":[[741,6]]},"445":{"position":[[378,6],[1672,6],[1735,6],[2108,6]]},"446":{"position":[[1114,6]]},"447":{"position":[[198,6],[613,6]]},"479":{"position":[[339,6]]},"497":{"position":[[720,6]]},"500":{"position":[[232,6]]},"606":{"position":[[257,6]]},"662":{"position":[[75,6]]},"783":{"position":[[370,6]]},"1270":{"position":[[260,6]]},"1316":{"position":[[2105,6]]}},"keywords":{}}],["i'v",{"_index":1073,"title":{},"content":{"118":{"position":[[406,4]]},"323":{"position":[[664,4]]}},"keywords":{}}],["i.",{"_index":2544,"title":{},"content":{"408":{"position":[[2326,6]]},"560":{"position":[[571,6]]},"898":{"position":[[4325,6]]}},"keywords":{}}],["i.assumedmasterst",{"_index":2699,"title":{},"content":{"412":{"position":[[5420,20]]}},"keywords":{}}],["i.newdocumentst",{"_index":2700,"title":{},"content":{"412":{"position":[[5445,18],[5476,18]]}},"keywords":{}}],["i.realmasterst",{"_index":2698,"title":{},"content":{"412":{"position":[[5401,18],[5553,18]]},"1309":{"position":[[1193,18]]}},"keywords":{}}],["i/o",{"_index":1605,"title":{},"content":{"265":{"position":[[541,3]]},"267":{"position":[[1344,3]]},"385":{"position":[[162,3]]},"408":{"position":[[1628,3]]}},"keywords":{}}],["i9",{"_index":6401,"title":{},"content":{"1292":{"position":[[189,2]]}},"keywords":{}}],["ibm",{"_index":430,"title":{},"content":{"26":{"position":[[325,3],[404,3]]}},"keywords":{}}],["ic",{"_index":3624,"title":{},"content":{"614":{"position":[[465,4]]},"901":{"position":[[291,3]]}},"keywords":{}}],["icon",{"_index":2820,"title":{},"content":{"419":{"position":[[1762,4]]}},"keywords":{}}],["id",{"_index":771,"title":{"924":{"position":[[0,3]]}},"content":{"51":{"position":[[367,5],[403,3],[508,6]]},"188":{"position":[[1244,5],[1280,3],[1435,6]]},"209":{"position":[[465,5],[485,3]]},"211":{"position":[[411,5],[447,3]]},"255":{"position":[[809,5],[829,3]]},"259":{"position":[[93,5],[129,3]]},"314":{"position":[[775,5],[795,3],[891,6]]},"315":{"position":[[751,5],[771,3],[833,7]]},"316":{"position":[[260,5],[280,3]]},"334":{"position":[[645,5],[681,3]]},"335":{"position":[[746,3]]},"356":{"position":[[339,2]]},"367":{"position":[[737,5],[824,3],[1046,6]]},"392":{"position":[[595,5],[631,3],[708,6],[1455,2],[1561,5],[1597,3],[1705,6],[2910,3],[3646,3],[4225,2],[4348,3],[4499,3]]},"396":{"position":[[1626,2]]},"397":{"position":[[1932,3]]},"462":{"position":[[857,2]]},"465":{"position":[[106,3]]},"480":{"position":[[575,5],[595,3]]},"482":{"position":[[875,5],[895,3],[963,7]]},"538":{"position":[[668,5],[704,3],[809,6]]},"554":{"position":[[1366,5],[1386,3],[1504,6]]},"555":{"position":[[298,3]]},"556":{"position":[[936,3]]},"562":{"position":[[347,5],[367,3],[456,6],[576,3]]},"564":{"position":[[804,5],[824,3],[892,7]]},"579":{"position":[[653,5],[689,3]]},"598":{"position":[[675,5],[711,3],[816,6]]},"599":{"position":[[109,3],[218,3],[270,3]]},"612":{"position":[[1651,2]]},"632":{"position":[[1559,5],[1579,3]]},"638":{"position":[[643,5],[663,3],[748,7]]},"639":{"position":[[421,5],[441,3]]},"662":{"position":[[2422,5],[2442,3],[2545,6]]},"680":{"position":[[835,5],[871,3],[1052,6]]},"683":{"position":[[194,3],[315,3],[820,3],[909,3]]},"698":{"position":[[2786,4],[2854,4],[2921,4]]},"717":{"position":[[1444,5],[1480,3],[1561,6]]},"734":{"position":[[709,5],[745,3]]},"749":{"position":[[14102,2]]},"792":{"position":[[355,3]]},"800":{"position":[[901,3]]},"820":{"position":[[498,3],[538,3]]},"838":{"position":[[2636,5],[2656,3],[2759,6]]},"854":{"position":[[227,4]]},"862":{"position":[[675,5],[711,3],[789,6]]},"866":{"position":[[717,2]]},"875":{"position":[[1683,2],[2112,2],[2295,2],[2440,3],[2512,3],[2523,2],[2555,3],[2665,3],[2685,3],[3261,2],[4541,3],[5235,4],[5373,3]]},"885":{"position":[[538,3],[542,4],[633,3],[637,4],[734,3],[1668,2],[2242,2],[2539,3]]},"886":{"position":[[534,3],[701,2],[746,2],[2415,2],[3611,3],[3661,2]]},"897":{"position":[[181,3]]},"904":{"position":[[898,5],[918,3],[1090,6],[1176,3]]},"917":{"position":[[169,3]]},"918":{"position":[[130,3]]},"919":{"position":[[32,3]]},"924":{"position":[[5,2]]},"945":{"position":[[293,4]]},"951":{"position":[[30,2],[324,3],[550,3]]},"984":{"position":[[419,2]]},"988":{"position":[[309,2],[4372,3],[5421,3],[5499,3]]},"990":{"position":[[565,2]]},"1004":{"position":[[356,4]]},"1007":{"position":[[139,3]]},"1014":{"position":[[99,2],[239,2],[378,2]]},"1015":{"position":[[215,2]]},"1016":{"position":[[31,3]]},"1018":{"position":[[863,2]]},"1020":{"position":[[636,3]]},"1024":{"position":[[505,3]]},"1063":{"position":[[84,3]]},"1078":{"position":[[322,5],[524,3],[688,5],[888,3],[913,3],[1016,2]]},"1080":{"position":[[111,5],[147,3],[729,5]]},"1082":{"position":[[196,5],[232,3],[463,6]]},"1083":{"position":[[396,5],[432,3],[633,6]]},"1104":{"position":[[785,2]]},"1124":{"position":[[783,3]]},"1149":{"position":[[1089,5],[1109,3],[1212,6]]},"1158":{"position":[[383,5],[419,3],[509,6],[586,3]]},"1194":{"position":[[428,2],[600,2]]},"1218":{"position":[[404,4]]},"1251":{"position":[[55,3]]},"1294":{"position":[[506,2],[583,4],[1292,2]]},"1295":{"position":[[1254,2]]},"1296":{"position":[[431,4],[729,2],[1043,4],[1296,2]]},"1315":{"position":[[245,2]]},"1316":{"position":[[2156,2]]}},"keywords":{}}],["idb",{"_index":55,"title":{},"content":{"3":{"position":[[137,3],[188,7]]},"1201":{"position":[[156,7],[247,6]]}},"keywords":{}}],["idbkeyrang",{"_index":6053,"title":{},"content":{"1139":{"position":[[633,12]]},"1140":{"position":[[829,11]]},"1145":{"position":[[618,12]]},"1294":{"position":[[1996,11]]}},"keywords":{}}],["idbkeyrange.bound",{"_index":6432,"title":{},"content":{"1294":{"position":[[1181,18]]},"1296":{"position":[[1358,18],[1467,18]]}},"keywords":{}}],["idbkeyrange.bound(10",{"_index":2993,"title":{},"content":{"459":{"position":[[590,21]]}},"keywords":{}}],["idbobjectstor",{"_index":6450,"title":{},"content":{"1295":{"position":[[831,14]]}},"keywords":{}}],["idbtransact",{"_index":6427,"title":{},"content":{"1294":{"position":[[811,14]]}},"keywords":{}}],["idea",{"_index":1434,"title":{"242":{"position":[[0,5]]},"1007":{"position":[[0,5]]}},"content":{"420":{"position":[[565,5]]},"422":{"position":[[232,5]]},"455":{"position":[[130,4]]},"524":{"position":[[781,5]]},"765":{"position":[[111,6]]}},"keywords":{}}],["ideal",{"_index":562,"title":{},"content":{"35":{"position":[[583,5]]},"83":{"position":[[206,5]]},"183":{"position":[[51,5]]},"241":{"position":[[648,5]]},"267":{"position":[[589,5]]},"365":{"position":[[162,5]]},"380":{"position":[[313,5]]},"384":{"position":[[150,5]]},"393":{"position":[[520,5]]},"407":{"position":[[999,6]]},"446":{"position":[[40,5]]},"496":{"position":[[375,5]]},"504":{"position":[[388,5]]},"540":{"position":[[54,5]]},"546":{"position":[[247,5]]},"571":{"position":[[1478,7],[1523,8]]},"581":{"position":[[376,5]]},"600":{"position":[[54,5]]},"606":{"position":[[247,5]]},"611":{"position":[[517,5]]},"612":{"position":[[207,5]]},"621":{"position":[[114,5]]},"624":{"position":[[474,5]]},"901":{"position":[[747,5]]},"1206":{"position":[[406,5]]},"1301":{"position":[[539,5]]}},"keywords":{}}],["idempot",{"_index":5653,"title":{"1030":{"position":[[26,11]]}},"content":{"1030":{"position":[[131,11]]}},"keywords":{}}],["ident",{"_index":4766,"title":{},"content":{"830":{"position":[[340,12]]},"950":{"position":[[390,9]]},"1040":{"position":[[137,9]]}},"keywords":{}}],["identifi",{"_index":2203,"title":{},"content":{"390":{"position":[[1486,10]]},"392":{"position":[[2665,11],[4571,11]]},"638":{"position":[[89,12]]},"724":{"position":[[559,11],[637,11]]},"904":{"position":[[2122,10]]},"935":{"position":[[19,10]]},"961":{"position":[[46,10]]},"988":{"position":[[335,8]]},"1020":{"position":[[104,10],[126,8],[389,11]]},"1022":{"position":[[482,11]]},"1023":{"position":[[141,11]]},"1024":{"position":[[235,11]]},"1033":{"position":[[522,11],[755,11]]},"1104":{"position":[[748,8]]},"1218":{"position":[[388,11]]}},"keywords":{}}],["identifier,"",{"_index":5584,"title":{},"content":{"1008":{"position":[[129,17]]}},"keywords":{}}],["idl",{"_index":3770,"title":{},"content":{"656":{"position":[[93,4]]},"796":{"position":[[1222,8],[1353,7]]},"815":{"position":[[228,5]]},"975":{"position":[[58,5],[121,4]]},"1026":{"position":[[19,8]]},"1164":{"position":[[1318,4]]},"1175":{"position":[[519,4]]},"1300":{"position":[[648,4]]}},"keywords":{}}],["idmaxlength",{"_index":6458,"title":{},"content":{"1296":{"position":[[802,11]]}},"keywords":{}}],["idx",{"_index":2383,"title":{},"content":{"397":{"position":[[2067,4],[2165,4]]},"398":{"position":[[1060,6],[1127,6],[1222,6],[1289,6],[2360,6],[2482,6]]},"400":{"position":[[291,6]]},"403":{"position":[[908,4],[937,4]]}},"keywords":{}}],["if"",{"_index":4916,"title":{},"content":{"863":{"position":[[523,8]]}},"keywords":{}}],["if(!doc.delet",{"_index":5628,"title":{},"content":{"1022":{"position":[[730,16]]},"1023":{"position":[[381,16]]}},"keywords":{}}],["if(!optionswithauth.head",{"_index":4837,"title":{},"content":{"848":{"position":[[369,28]]}},"keywords":{}}],["if(!work",{"_index":2272,"title":{},"content":{"392":{"position":[[4151,11]]}},"keywords":{}}],["if(change.assumedmasterst",{"_index":5963,"title":{},"content":{"1106":{"position":[[574,29]]}},"keywords":{}}],["if(change.newdocumentstate.myreadonlyfield",{"_index":5972,"title":{},"content":{"1109":{"position":[[219,42]]}},"keywords":{}}],["if(event.documents.length",{"_index":5033,"title":{},"content":{"875":{"position":[[5463,25]]}},"keywords":{}}],["if(firstopen",{"_index":5484,"title":{},"content":{"988":{"position":[[5779,13]]}},"keywords":{}}],["if(need",{"_index":4461,"title":{},"content":{"752":{"position":[[695,9]]}},"keywords":{}}],["if(olddoc.tim",{"_index":4456,"title":{},"content":{"751":{"position":[[1944,14]]}},"keywords":{}}],["ifiabl",{"_index":2925,"title":{},"content":{"439":{"position":[[591,7]]}},"keywords":{}}],["ifmatch",{"_index":3879,"title":{},"content":{"680":{"position":[[1370,8]]},"681":{"position":[[456,7],[681,7],[791,8]]},"682":{"position":[[375,8],[432,8],[489,8],[546,8]]},"683":{"position":[[296,8],[846,8]]},"684":{"position":[[181,8]]}},"keywords":{}}],["ifnotmatch",{"_index":3881,"title":{},"content":{"681":{"position":[[468,11],[904,11]]},"683":{"position":[[934,11]]}},"keywords":{}}],["ifram",{"_index":1845,"title":{"676":{"position":[[21,7]]}},"content":{"303":{"position":[[1039,7]]},"676":{"position":[[83,6],[224,7]]},"1207":{"position":[[409,6]]}},"keywords":{}}],["ignor",{"_index":2978,"title":{},"content":{"455":{"position":[[819,6]]},"614":{"position":[[799,7]]},"990":{"position":[[644,6]]}},"keywords":{}}],["ignoredupl",{"_index":4214,"title":{"966":{"position":[[0,16]]}},"content":{"749":{"position":[[6071,15]]},"966":{"position":[[305,15],[346,16],[463,15],[611,16],[729,16]]}},"keywords":{}}],["illustr",{"_index":3262,"title":{},"content":{"522":{"position":[[250,11]]},"871":{"position":[[381,11]]}},"keywords":{}}],["imag",{"_index":1822,"title":{},"content":{"303":{"position":[[176,6]]},"390":{"position":[[229,7],[932,7]]},"404":{"position":[[628,5]]},"453":{"position":[[718,7]]},"556":{"position":[[584,8]]},"698":{"position":[[1982,7]]},"865":{"position":[[203,6]]},"1132":{"position":[[1464,6]]}},"keywords":{}}],["image/jpeg",{"_index":5290,"title":{},"content":{"917":{"position":[[367,12]]}},"keywords":{}}],["imagin",{"_index":2552,"title":{},"content":{"408":{"position":[[2911,8]]},"411":{"position":[[891,7]]},"691":{"position":[[14,7]]},"698":{"position":[[1,7]]},"736":{"position":[[1,7]]}},"keywords":{}}],["immedi",{"_index":957,"title":{},"content":{"68":{"position":[[176,9]]},"125":{"position":[[247,11]]},"160":{"position":[[161,11]]},"206":{"position":[[233,12]]},"217":{"position":[[253,9]]},"221":{"position":[[37,9]]},"379":{"position":[[120,9]]},"410":{"position":[[379,11],[2018,11]]},"412":{"position":[[6294,9],[11479,12]]},"418":{"position":[[77,9],[452,9]]},"421":{"position":[[1184,9]]},"489":{"position":[[483,9]]},"497":{"position":[[459,9],[821,9]]},"569":{"position":[[739,11]]},"571":{"position":[[89,9]]},"589":{"position":[[156,11]]},"610":{"position":[[515,11],[655,9],[1078,11]]},"621":{"position":[[153,9]]},"624":{"position":[[1070,9]]},"634":{"position":[[346,11]]},"1007":{"position":[[1016,9]]}},"keywords":{}}],["immers",{"_index":3249,"title":{},"content":{"510":{"position":[[744,9]]}},"keywords":{}}],["immut",{"_index":5719,"title":{"1069":{"position":[[14,10]]}},"content":{"1051":{"position":[[71,9]]},"1069":{"position":[[164,10]]}},"keywords":{}}],["impact",{"_index":1236,"title":{},"content":{"178":{"position":[[364,6]]},"416":{"position":[[507,7]]},"427":{"position":[[1183,6]]},"434":{"position":[[301,6]]},"460":{"position":[[937,6]]},"641":{"position":[[182,6]]}},"keywords":{}}],["impact.it",{"_index":4405,"title":{},"content":{"749":{"position":[[21152,9]]}},"keywords":{}}],["imper",{"_index":3461,"title":{},"content":{"569":{"position":[[822,10]]}},"keywords":{}}],["implement",{"_index":40,"title":{"89":{"position":[[7,14]]},"314":{"position":[[13,12]]},"487":{"position":[[29,10]]},"876":{"position":[[8,14]]},"882":{"position":[[19,15]]},"1240":{"position":[[14,15]]}},"content":{"2":{"position":[[42,9]]},"24":{"position":[[660,16]]},"31":{"position":[[30,10]]},"38":{"position":[[339,12],[414,9]]},"41":{"position":[[298,12]]},"43":{"position":[[42,12]]},"46":{"position":[[409,10],[484,12]]},"47":{"position":[[243,10]]},"60":{"position":[[69,14]]},"65":{"position":[[1642,9]]},"90":{"position":[[276,12]]},"99":{"position":[[219,9]]},"102":{"position":[[44,12]]},"147":{"position":[[251,9]]},"165":{"position":[[349,9]]},"167":{"position":[[318,9]]},"173":{"position":[[357,12]]},"196":{"position":[[123,9]]},"203":{"position":[[122,9]]},"227":{"position":[[396,9]]},"250":{"position":[[176,9]]},"255":{"position":[[1639,15]]},"275":{"position":[[40,14]]},"302":{"position":[[571,9]]},"377":{"position":[[245,9]]},"391":{"position":[[265,14]]},"398":{"position":[[3433,15]]},"410":{"position":[[670,9],[1698,9]]},"412":{"position":[[1860,9],[3517,9],[3836,9],[5265,10],[9997,15],[13056,12],[14525,12]]},"445":{"position":[[2336,15]]},"455":{"position":[[412,14]]},"461":{"position":[[1048,15]]},"469":{"position":[[1344,15]]},"521":{"position":[[224,15]]},"529":{"position":[[191,12]]},"534":{"position":[[429,15],[507,12]]},"547":{"position":[[69,14]]},"559":{"position":[[859,9]]},"566":{"position":[[489,9],[1109,11]]},"594":{"position":[[427,15],[505,12]]},"607":{"position":[[69,15]]},"610":{"position":[[1406,12]]},"619":{"position":[[125,9]]},"620":{"position":[[367,15]]},"624":{"position":[[192,10]]},"626":{"position":[[565,11]]},"627":{"position":[[206,9]]},"630":{"position":[[905,12]]},"679":{"position":[[47,11]]},"686":{"position":[[571,9]]},"696":{"position":[[1263,15]]},"698":{"position":[[1385,9],[2100,9],[3207,12],[3263,12]]},"701":{"position":[[1108,9]]},"703":{"position":[[526,11],[1703,15]]},"705":{"position":[[912,9],[1111,12],[1197,12]]},"737":{"position":[[341,12]]},"743":{"position":[[24,11]]},"772":{"position":[[149,15]]},"778":{"position":[[474,9]]},"784":{"position":[[137,9],[334,10],[814,12]]},"815":{"position":[[122,11]]},"824":{"position":[[104,14]]},"836":{"position":[[1456,12]]},"875":{"position":[[1270,9],[1334,9],[2887,9],[3551,9],[3633,9],[5965,9],[6497,9],[6872,9],[7742,9]]},"876":{"position":[[154,15]]},"882":{"position":[[324,14]]},"904":{"position":[[1588,10]]},"906":{"position":[[764,14]]},"962":{"position":[[25,14],[354,15],[583,15]]},"981":{"position":[[461,11]]},"983":{"position":[[117,9]]},"996":{"position":[[181,11]]},"1005":{"position":[[148,10]]},"1067":{"position":[[251,14]]},"1079":{"position":[[466,16]]},"1100":{"position":[[217,12]]},"1124":{"position":[[519,11]]},"1149":{"position":[[383,9]]},"1151":{"position":[[128,15]]},"1170":{"position":[[296,16]]},"1178":{"position":[[127,15]]},"1191":{"position":[[35,15]]},"1218":{"position":[[69,9]]},"1225":{"position":[[324,14]]},"1246":{"position":[[988,15]]},"1263":{"position":[[218,14]]},"1272":{"position":[[492,15],[564,14]]},"1294":{"position":[[352,9]]},"1304":{"position":[[431,9],[1404,12]]},"1313":{"position":[[958,11]]},"1315":{"position":[[1065,14]]},"1316":{"position":[[297,12]]},"1324":{"position":[[237,15]]}},"keywords":{}}],["implementations.also",{"_index":4720,"title":{},"content":{"824":{"position":[[296,20]]}},"keywords":{}}],["impli",{"_index":2821,"title":{},"content":{"419":{"position":[[1777,7]]},"773":{"position":[[91,8]]}},"keywords":{}}],["implicit",{"_index":2159,"title":{},"content":{"382":{"position":[[24,8]]}},"keywords":{}}],["import",{"_index":22,"title":{"117":{"position":[[0,10]]},"152":{"position":[[0,10]]},"178":{"position":[[0,10]]},"321":{"position":[[0,10]]},"732":{"position":[[0,7]]},"780":{"position":[[16,9]]},"821":{"position":[[0,9]]}},"content":{"1":{"position":[[319,6],[359,6]]},"8":{"position":[[491,6],[725,6],[766,6],[840,6],[883,6]]},"50":{"position":[[207,10],[291,6],[478,6]]},"51":{"position":[[179,6],[550,6]]},"55":{"position":[[177,6],[234,6],[295,6],[668,6],[722,6],[800,6]]},"66":{"position":[[89,9]]},"128":{"position":[[216,6]]},"129":{"position":[[592,6],[698,6]]},"147":{"position":[[74,9]]},"188":{"position":[[638,6],[679,6],[743,6],[2392,6],[2534,6]]},"209":{"position":[[1,6],[55,6],[133,6]]},"210":{"position":[[146,6]]},"211":{"position":[[63,6],[117,6]]},"255":{"position":[[348,6],[402,6],[480,6]]},"258":{"position":[[1,6],[55,6]]},"261":{"position":[[214,6]]},"265":{"position":[[308,9]]},"266":{"position":[[540,6],[581,6]]},"314":{"position":[[300,6],[354,6]]},"315":{"position":[[162,6],[251,6],[329,6]]},"320":{"position":[[412,10]]},"333":{"position":[[257,6]]},"334":{"position":[[165,6],[206,6]]},"376":{"position":[[521,9]]},"391":{"position":[[424,6]]},"392":{"position":[[207,6],[248,6],[922,8],[3497,6]]},"393":{"position":[[916,6]]},"394":{"position":[[467,6],[524,6]]},"397":{"position":[[1619,6]]},"410":{"position":[[1137,9]]},"412":{"position":[[68,9],[4433,6],[8756,10]]},"436":{"position":[[304,9]]},"450":{"position":[[594,9]]},"452":{"position":[[703,9]]},"456":{"position":[[109,9]]},"463":{"position":[[214,10]]},"464":{"position":[[53,9]]},"480":{"position":[[158,6],[212,6]]},"481":{"position":[[576,6]]},"482":{"position":[[159,6],[213,6],[291,6]]},"494":{"position":[[137,6]]},"522":{"position":[[168,8],[278,6],[319,6]]},"538":{"position":[[259,6],[313,6]]},"541":{"position":[[172,6]]},"542":{"position":[[288,6],[379,6],[433,6]]},"554":{"position":[[475,6],[516,6],[739,6]]},"556":{"position":[[285,6],[744,6]]},"559":{"position":[[185,6]]},"562":{"position":[[1,6],[42,6],[1036,6]]},"563":{"position":[[198,6],[252,6],[330,6]]},"564":{"position":[[186,6],[227,6],[316,6]]},"579":{"position":[[167,6],[208,6]]},"580":{"position":[[299,6],[337,6]]},"598":{"position":[[267,6],[308,6]]},"601":{"position":[[377,6],[415,6]]},"612":{"position":[[1748,6]]},"613":{"position":[[522,9]]},"632":{"position":[[1039,6],[1093,6],[2108,6]]},"638":{"position":[[221,6]]},"646":{"position":[[1,6],[37,6]]},"650":{"position":[[33,6]]},"652":{"position":[[1,6],[37,6]]},"653":{"position":[[117,6],[158,6],[675,9]]},"659":{"position":[[288,6],[430,6]]},"661":{"position":[[834,6],[879,6],[1623,6]]},"662":{"position":[[1601,6],[1625,6],[1679,6],[1760,6],[1861,6],[1919,6]]},"673":{"position":[[1,6]]},"675":{"position":[[219,6]]},"676":{"position":[[293,6]]},"680":{"position":[[295,6],[342,6],[444,6],[530,6],[571,6]]},"698":{"position":[[829,9]]},"699":{"position":[[616,10]]},"700":{"position":[[734,9]]},"707":{"position":[[348,9]]},"710":{"position":[[303,9],[1540,6],[1581,6]]},"717":{"position":[[549,6],[638,6],[1052,6]]},"718":{"position":[[94,6],[209,6]]},"724":{"position":[[80,8],[172,6],[244,6],[435,6]]},"728":{"position":[[231,6],[258,6]]},"732":{"position":[[4,6],[53,6],[109,6]]},"734":{"position":[[125,6],[202,6],[409,6]]},"738":{"position":[[77,6],[113,6]]},"739":{"position":[[189,6]]},"740":{"position":[[416,6]]},"745":{"position":[[196,6],[264,6]]},"749":{"position":[[13312,6],[13416,8]]},"754":{"position":[[194,6]]},"759":{"position":[[87,6],[152,6],[232,6]]},"760":{"position":[[263,6],[328,6],[419,6]]},"761":{"position":[[345,9],[452,6],[578,6],[700,6]]},"772":{"position":[[542,6],[634,6],[675,6],[1421,6],[1462,6],[1557,6],[2129,6],[2255,6],[2319,6]]},"773":{"position":[[436,6],[477,6]]},"774":{"position":[[439,6],[480,6],[558,6]]},"783":{"position":[[146,9],[476,9]]},"797":{"position":[[160,10]]},"798":{"position":[[53,9],[216,9]]},"820":{"position":[[1,6],[71,6]]},"821":{"position":[[536,9]]},"825":{"position":[[85,7],[93,6],[168,6],[542,6],[593,6],[641,6],[743,8]]},"829":{"position":[[459,6],[513,6],[1241,6],[1293,6],[1350,6],[1893,6],[2317,6],[3229,6]]},"836":{"position":[[570,6],[624,6]]},"837":{"position":[[1499,6],[1540,6],[1576,6],[1622,6],[1669,6],[1712,6],[1784,6]]},"838":{"position":[[1918,6],[1942,6],[1983,6],[2059,6]]},"846":{"position":[[48,6]]},"848":{"position":[[1166,6]]},"852":{"position":[[63,6],[114,6]]},"854":{"position":[[92,6],[134,6]]},"857":{"position":[[205,6]]},"862":{"position":[[184,6],[218,6],[289,6],[370,6],[448,6]]},"866":{"position":[[104,6],[344,6]]},"872":{"position":[[845,6],[1540,6],[1594,6],[2280,6],[3100,6],[3161,6],[3775,6],[3816,6],[3880,6]]},"875":{"position":[[203,6],[327,6],[798,6],[837,6],[2021,6],[4267,6],[4316,6],[8039,6],[9458,6]]},"878":{"position":[[34,8],[180,6]]},"886":{"position":[[916,6]]},"888":{"position":[[343,6]]},"889":{"position":[[383,6]]},"892":{"position":[[1,6],[42,6]]},"893":{"position":[[89,6]]},"894":{"position":[[105,9]]},"898":{"position":[[2165,6],[2219,6],[2974,6],[3231,6]]},"904":{"position":[[565,6],[619,6],[1267,6],[1305,6]]},"906":{"position":[[886,6]]},"911":{"position":[[505,6],[570,6]]},"915":{"position":[[69,6],[105,6]]},"917":{"position":[[81,6]]},"932":{"position":[[678,6],[771,6]]},"952":{"position":[[172,6],[208,6]]},"953":{"position":[[4,6],[70,6],[180,9]]},"958":{"position":[[748,6]]},"960":{"position":[[133,6],[187,6]]},"962":{"position":[[658,6],[879,6]]},"968":{"position":[[373,6]]},"971":{"position":[[284,6],[320,6]]},"972":{"position":[[4,6],[69,6]]},"975":{"position":[[185,9],[252,9]]},"977":{"position":[[539,6]]},"978":{"position":[[87,6]]},"988":{"position":[[115,6],[181,6]]},"989":{"position":[[343,6]]},"1012":{"position":[[77,6],[113,6]]},"1041":{"position":[[150,6],[186,6]]},"1059":{"position":[[125,6]]},"1064":{"position":[[107,6],[143,6]]},"1090":{"position":[[445,6],[511,6],[577,6],[668,6]]},"1093":{"position":[[370,9]]},"1097":{"position":[[121,6],[331,6],[604,6]]},"1098":{"position":[[171,6],[232,6]]},"1099":{"position":[[153,6],[214,6]]},"1102":{"position":[[849,6]]},"1114":{"position":[[188,6],[432,6],[486,6],[604,6]]},"1118":{"position":[[340,6],[415,6]]},"1119":{"position":[[359,6],[395,6]]},"1121":{"position":[[329,6]]},"1125":{"position":[[44,6],[153,6],[194,6]]},"1130":{"position":[[1,6],[42,6]]},"1134":{"position":[[1,6],[42,6]]},"1138":{"position":[[34,6],[143,6],[184,6]]},"1139":{"position":[[241,6],[282,6]]},"1140":{"position":[[457,6],[498,6]]},"1144":{"position":[[3,6],[29,6],[83,6]]},"1145":{"position":[[233,6],[287,6]]},"1148":{"position":[[490,6],[519,6],[573,6],[637,6]]},"1149":{"position":[[612,6],[663,6],[732,6],[796,6]]},"1151":{"position":[[870,6]]},"1154":{"position":[[198,6],[312,6]]},"1156":{"position":[[263,6],[282,6]]},"1158":{"position":[[3,6],[23,6],[77,6]]},"1159":{"position":[[209,6],[263,6]]},"1163":{"position":[[2,6],[82,6]]},"1164":{"position":[[75,6],[1344,9]]},"1168":{"position":[[17,6],[58,6]]},"1172":{"position":[[1,6],[42,6]]},"1175":{"position":[[450,9]]},"1178":{"position":[[867,6]]},"1182":{"position":[[2,6],[82,6]]},"1184":{"position":[[368,6],[448,6],[535,6]]},"1189":{"position":[[122,6],[268,6],[309,6]]},"1201":{"position":[[1,6],[42,6]]},"1204":{"position":[[228,6]]},"1207":{"position":[[221,9]]},"1210":{"position":[[283,6],[324,6]]},"1211":{"position":[[532,6],[573,6]]},"1212":{"position":[[295,6],[365,6]]},"1213":{"position":[[592,6]]},"1218":{"position":[[285,6],[616,6],[694,6]]},"1219":{"position":[[263,6],[329,6],[777,6]]},"1222":{"position":[[1,6],[79,6],[800,10]]},"1225":{"position":[[128,6],[205,6]]},"1226":{"position":[[1,6],[42,6],[122,6]]},"1227":{"position":[[551,6],[592,6]]},"1229":{"position":[[200,6]]},"1231":{"position":[[441,6],[518,6],[598,6],[652,6]]},"1237":{"position":[[497,6],[568,6],[645,6],[734,6]]},"1238":{"position":[[443,6],[521,6],[595,6],[675,6]]},"1239":{"position":[[476,6],[590,6],[677,6]]},"1263":{"position":[[14,6],[91,6]]},"1264":{"position":[[1,6],[42,6]]},"1265":{"position":[[545,6],[586,6]]},"1268":{"position":[[406,6],[569,6],[646,6]]},"1271":{"position":[[745,6],[1085,6],[1117,6],[1361,6]]},"1274":{"position":[[1,6],[42,6],[263,6]]},"1275":{"position":[[119,6],[160,6],[261,6]]},"1276":{"position":[[391,6],[432,6],[721,6],[788,6]]},"1277":{"position":[[142,6],[183,6],[285,6],[717,6],[814,6]]},"1278":{"position":[[245,6],[286,6],[392,6],[697,6],[738,6],[839,6]]},"1279":{"position":[[310,6],[351,6],[457,6],[501,6],[582,6]]},"1280":{"position":[[241,6],[282,6],[370,6]]},"1281":{"position":[[107,6]]},"1286":{"position":[[191,6],[262,6]]},"1287":{"position":[[228,6],[308,6]]},"1288":{"position":[[174,6],[268,6]]},"1290":{"position":[[1,6]]},"1291":{"position":[[1,6]]},"1294":{"position":[[1942,10]]},"1309":{"position":[[436,6]]},"1319":{"position":[[525,9]]}},"keywords":{}}],["import('rxdb/plugins/dev",{"_index":3845,"title":{},"content":{"672":{"position":[[90,24]]},"673":{"position":[[96,24]]},"674":{"position":[[379,24]]}},"keywords":{}}],["import.meta.url",{"_index":2266,"title":{},"content":{"392":{"position":[[3963,19]]},"1268":{"position":[[518,18]]}},"keywords":{}}],["importjson",{"_index":5366,"title":{"953":{"position":[[0,13]]},"972":{"position":[[0,13]]}},"content":{"952":{"position":[[107,12]]},"971":{"position":[[219,12]]}},"keywords":{}}],["impos",{"_index":945,"title":{},"content":{"66":{"position":[[421,6]]},"276":{"position":[[112,7]]},"361":{"position":[[189,8]]},"427":{"position":[[1487,6]]},"545":{"position":[[176,6]]},"605":{"position":[[176,6]]}},"keywords":{}}],["imposs",{"_index":263,"title":{},"content":{"15":{"position":[[478,10]]},"412":{"position":[[6908,11]]},"1006":{"position":[[150,10]]},"1124":{"position":[[860,10]]},"1317":{"position":[[347,11]]}},"keywords":{}}],["impract",{"_index":1411,"title":{},"content":{"228":{"position":[[86,11]]},"408":{"position":[[720,11]]},"412":{"position":[[7318,12]]}},"keywords":{}}],["impress",{"_index":930,"title":{},"content":{"65":{"position":[[1518,11]]},"433":{"position":[[234,10]]}},"keywords":{}}],["improv",{"_index":512,"title":{"224":{"position":[[0,8]]},"404":{"position":[[16,12]]},"469":{"position":[[9,13]]},"470":{"position":[[7,13]]}},"content":{"33":{"position":[[113,8]]},"65":{"position":[[1877,8]]},"78":{"position":[[77,9]]},"87":{"position":[[164,7]]},"91":{"position":[[175,8]]},"92":{"position":[[151,8]]},"93":{"position":[[220,8]]},"108":{"position":[[182,8]]},"111":{"position":[[132,8]]},"138":{"position":[[4,7]]},"141":{"position":[[37,7]]},"173":{"position":[[2631,8]]},"174":{"position":[[2486,8]]},"194":{"position":[[161,9]]},"197":{"position":[[194,8]]},"224":{"position":[[26,8]]},"234":{"position":[[231,8]]},"236":{"position":[[103,9],[251,8]]},"241":{"position":[[523,8]]},"266":{"position":[[1018,7]]},"281":{"position":[[290,8]]},"294":{"position":[[202,9]]},"311":{"position":[[160,9]]},"342":{"position":[[116,7]]},"350":{"position":[[364,9]]},"354":{"position":[[1187,8]]},"385":{"position":[[330,9]]},"386":{"position":[[345,13]]},"392":{"position":[[3161,7]]},"396":{"position":[[53,7],[740,9]]},"399":{"position":[[46,8]]},"402":{"position":[[40,7],[163,8],[767,7],[922,12],[1023,8],[1656,7],[1746,7],[2553,7],[2711,7]]},"407":{"position":[[1094,9]]},"408":{"position":[[4249,12]]},"410":{"position":[[1256,9]]},"411":{"position":[[5737,8]]},"420":{"position":[[930,9]]},"452":{"position":[[493,13],[549,8],[684,13]]},"467":{"position":[[520,8]]},"469":{"position":[[35,12],[433,8],[755,8],[1001,7],[1089,7],[1201,7]]},"470":{"position":[[442,8],[597,7]]},"483":{"position":[[823,7]]},"485":{"position":[[49,9]]},"528":{"position":[[63,7]]},"588":{"position":[[113,9]]},"617":{"position":[[846,7]]},"641":{"position":[[297,8]]},"656":{"position":[[434,7]]},"780":{"position":[[133,8]]},"798":{"position":[[790,7]]},"801":{"position":[[60,7]]},"876":{"position":[[371,7]]},"894":{"position":[[118,7]]},"902":{"position":[[135,9]]},"947":{"position":[[52,8]]},"1066":{"position":[[240,7],[596,7]]},"1071":{"position":[[483,7]]},"1072":{"position":[[388,7]]},"1083":{"position":[[319,12]]},"1085":{"position":[[2359,8]]},"1120":{"position":[[506,7]]},"1124":{"position":[[1715,8]]},"1125":{"position":[[691,7]]},"1134":{"position":[[673,7]]},"1143":{"position":[[583,8]]},"1151":{"position":[[378,9]]},"1161":{"position":[[1,8]]},"1178":{"position":[[377,9]]},"1180":{"position":[[1,8]]},"1206":{"position":[[571,8]]},"1230":{"position":[[194,7]]},"1238":{"position":[[413,7]]},"1246":{"position":[[273,7],[593,7],[1041,11],[1505,7]]},"1294":{"position":[[74,7],[187,8],[1885,12]]},"1295":{"position":[[661,11]]},"1296":{"position":[[9,7],[522,7],[1635,7]]},"1297":{"position":[[171,7],[438,7],[489,11]]},"1298":{"position":[[68,11],[346,11]]}},"keywords":{}}],["inaccess",{"_index":1689,"title":{},"content":{"291":{"position":[[265,12]]}},"keywords":{}}],["inact",{"_index":3652,"title":{},"content":{"618":{"position":[[320,11]]}},"keywords":{}}],["inadvert",{"_index":4671,"title":{},"content":{"802":{"position":[[487,13]]}},"keywords":{}}],["inc",{"_index":3867,"title":{},"content":{"678":{"position":[[290,5]]},"680":{"position":[[1381,5]]},"681":{"position":[[328,4],[802,5]]},"683":{"position":[[1007,5]]},"1041":{"position":[[299,5]]},"1044":{"position":[[314,5]]},"1059":{"position":[[302,5]]}},"keywords":{}}],["includ",{"_index":113,"title":{},"content":{"8":{"position":[[436,8]]},"19":{"position":[[41,8]]},"34":{"position":[[579,9]]},"65":{"position":[[1867,9]]},"94":{"position":[[20,9]]},"105":{"position":[[78,9]]},"112":{"position":[[87,9]]},"129":{"position":[[400,9]]},"131":{"position":[[98,8]]},"162":{"position":[[143,8]]},"173":{"position":[[2221,9]]},"174":{"position":[[2693,9]]},"189":{"position":[[103,8]]},"201":{"position":[[146,10]]},"222":{"position":[[21,9]]},"267":{"position":[[100,8]]},"270":{"position":[[71,9]]},"282":{"position":[[127,9]]},"285":{"position":[[60,9]]},"298":{"position":[[785,7]]},"299":{"position":[[1243,8]]},"310":{"position":[[80,8]]},"333":{"position":[[204,9]]},"357":{"position":[[124,9]]},"358":{"position":[[206,8]]},"368":{"position":[[140,9]]},"376":{"position":[[220,8]]},"390":{"position":[[922,9]]},"392":{"position":[[1432,8]]},"407":{"position":[[1006,7]]},"412":{"position":[[9199,10]]},"425":{"position":[[157,9]]},"434":{"position":[[262,8]]},"444":{"position":[[217,7]]},"513":{"position":[[263,7]]},"524":{"position":[[201,8]]},"530":{"position":[[346,9]]},"567":{"position":[[956,9]]},"612":{"position":[[1572,8]]},"624":{"position":[[963,9]]},"640":{"position":[[114,8]]},"690":{"position":[[103,8]]},"691":{"position":[[603,8]]},"723":{"position":[[2147,9]]},"749":{"position":[[2515,8]]},"824":{"position":[[577,8]]},"829":{"position":[[229,9]]},"832":{"position":[[6,8],[103,9]]},"835":{"position":[[565,8]]},"836":{"position":[[262,7]]},"838":{"position":[[413,8]]},"886":{"position":[[4277,8],[4840,8]]},"890":{"position":[[617,7],[856,10]]},"898":{"position":[[1997,7]]},"911":{"position":[[484,8]]},"1292":{"position":[[754,9]]}},"keywords":{}}],["includewshead",{"_index":5140,"title":{},"content":{"886":{"position":[[4249,17]]}},"keywords":{}}],["inclus",{"_index":6032,"title":{},"content":{"1132":{"position":[[1434,9]]}},"keywords":{}}],["incognito",{"_index":1873,"title":{},"content":{"305":{"position":[[328,9]]}},"keywords":{}}],["incom",{"_index":2152,"title":{},"content":{"379":{"position":[[250,8]]},"410":{"position":[[1992,8]]},"411":{"position":[[3448,8]]},"490":{"position":[[104,8]]},"496":{"position":[[757,8]]},"898":{"position":[[3500,8]]},"1318":{"position":[[911,8]]}},"keywords":{}}],["inconsist",{"_index":1428,"title":{},"content":{"237":{"position":[[269,16]]},"590":{"position":[[907,16]]}},"keywords":{}}],["inconveni",{"_index":6088,"title":{},"content":{"1151":{"position":[[301,14]]},"1178":{"position":[[300,14]]}},"keywords":{}}],["incorpor",{"_index":1053,"title":{},"content":{"113":{"position":[[6,12]]},"174":{"position":[[1566,12]]},"283":{"position":[[291,13]]},"365":{"position":[[6,13]]},"491":{"position":[[605,11]]},"981":{"position":[[1209,13]]}},"keywords":{}}],["incorrectli",{"_index":5656,"title":{},"content":{"1033":{"position":[[234,12]]}},"keywords":{}}],["increas",{"_index":673,"title":{},"content":{"43":{"position":[[423,9]]},"69":{"position":[[76,8]]},"281":{"position":[[433,9]]},"394":{"position":[[1467,10]]},"402":{"position":[[1518,10]]},"403":{"position":[[419,8],[522,8]]},"408":{"position":[[826,9]]},"412":{"position":[[8943,9],[9157,8],[9273,9]]},"463":{"position":[[1089,9]]},"617":{"position":[[1619,9]]},"623":{"position":[[83,8]]},"696":{"position":[[1698,8]]},"698":{"position":[[2836,9],[2971,9]]},"772":{"position":[[470,8]]},"773":{"position":[[767,8],[823,8]]},"780":{"position":[[209,8]]},"782":{"position":[[107,8]]},"800":{"position":[[525,8]]},"802":{"position":[[501,8]]},"902":{"position":[[257,9]]},"1041":{"position":[[317,9]]},"1044":{"position":[[332,9]]},"1059":{"position":[[320,9]]},"1061":{"position":[[221,9]]},"1085":{"position":[[3300,8]]},"1089":{"position":[[16,9]]},"1095":{"position":[[206,8]]},"1115":{"position":[[184,8],[252,9],[357,8]]},"1162":{"position":[[609,8]]},"1181":{"position":[[697,8]]},"1198":{"position":[[644,8]]},"1237":{"position":[[201,8]]},"1239":{"position":[[453,8]]},"1270":{"position":[[220,9]]},"1282":{"position":[[242,9]]},"1292":{"position":[[789,9]]},"1295":{"position":[[369,9],[714,10],[1025,9]]},"1305":{"position":[[637,9]]}},"keywords":{}}],["increasingli",{"_index":1419,"title":{},"content":{"232":{"position":[[23,12]]},"320":{"position":[[399,12]]},"369":{"position":[[671,12]]},"375":{"position":[[865,12]]},"407":{"position":[[353,12]]},"410":{"position":[[1124,12]]},"574":{"position":[[528,12]]}},"keywords":{}}],["increment",{"_index":2671,"title":{"1044":{"position":[[27,11]]}},"content":{"412":{"position":[[2604,13]]},"491":{"position":[[242,11]]},"636":{"position":[[91,11]]},"678":{"position":[[257,9]]},"680":{"position":[[1309,10]]},"683":{"position":[[980,9]]},"696":{"position":[[1495,10]]},"723":{"position":[[1544,13],[1667,11],[1967,11]]},"870":{"position":[[94,11]]},"896":{"position":[[202,11]]},"948":{"position":[[285,11]]},"1044":{"position":[[245,11]]},"1300":{"position":[[374,11]]},"1307":{"position":[[684,11]]}},"keywords":{}}],["incrementalmodifi",{"_index":5749,"title":{"1061":{"position":[[11,20]]}},"content":{"1307":{"position":[[721,20]]}},"keywords":{}}],["incrementalpatch",{"_index":5746,"title":{"1060":{"position":[[10,19]]}},"content":{"1307":{"position":[[742,18]]}},"keywords":{}}],["incrementalremov",{"_index":5752,"title":{"1062":{"position":[[11,20]]}},"content":{},"keywords":{}}],["incrementalupsert",{"_index":5346,"title":{"948":{"position":[[0,20]]}},"content":{"1307":{"position":[[764,20]]}},"keywords":{}}],["incur",{"_index":2899,"title":{},"content":{"429":{"position":[[333,5]]},"621":{"position":[[370,6]]}},"keywords":{}}],["indefinit",{"_index":1865,"title":{},"content":{"305":{"position":[[27,12]]},"451":{"position":[[795,12]]}},"keywords":{}}],["independ",{"_index":3041,"title":{},"content":{"464":{"position":[[111,11]]},"611":{"position":[[457,13]]},"831":{"position":[[387,11]]},"839":{"position":[[102,11]]},"1140":{"position":[[198,13]]}},"keywords":{}}],["index",{"_index":60,"title":{"138":{"position":[[0,8]]},"194":{"position":[[0,8]]},"342":{"position":[[0,8]]},"395":{"position":[[0,8]]},"396":{"position":[[7,8]]},"397":{"position":[[8,7]]},"398":{"position":[[54,8]]},"459":{"position":[[0,8]]},"507":{"position":[[0,8]]},"527":{"position":[[0,8]]},"587":{"position":[[0,8]]},"796":{"position":[[68,5]]},"797":{"position":[[15,6]]},"798":{"position":[[26,5]]},"1022":{"position":[[12,5]]},"1066":{"position":[[19,6]]},"1079":{"position":[[0,8]]},"1080":{"position":[[0,5]]},"1107":{"position":[[12,8]]},"1296":{"position":[[7,8]]}},"content":{"4":{"position":[[73,8]]},"33":{"position":[[434,5]]},"40":{"position":[[538,9]]},"45":{"position":[[236,8]]},"47":{"position":[[544,8]]},"138":{"position":[[57,7],[103,8],[234,8]]},"166":{"position":[[1,8],[83,8],[106,8],[205,7]]},"170":{"position":[[394,9]]},"188":{"position":[[1406,8]]},"194":{"position":[[1,8],[72,7],[133,7]]},"205":{"position":[[143,7]]},"212":{"position":[[270,9]]},"252":{"position":[[94,10],[170,7]]},"260":{"position":[[185,8]]},"262":{"position":[[425,8]]},"283":{"position":[[54,8]]},"342":{"position":[[8,7],[91,8]]},"346":{"position":[[811,7]]},"356":{"position":[[242,5]]},"358":{"position":[[337,8],[954,8]]},"360":{"position":[[748,9]]},"362":{"position":[[695,9]]},"369":{"position":[[224,8]]},"376":{"position":[[453,9],[481,7]]},"385":{"position":[[181,7]]},"395":{"position":[[201,5],[288,5],[499,8]]},"396":{"position":[[27,8],[832,8],[931,5],[1058,5],[1158,5],[1200,5],[1448,5],[1684,5],[1743,8]]},"397":{"position":[[26,5],[134,5],[451,5],[880,5],[1340,5],[1510,5],[1604,5],[1718,5],[2025,5]]},"398":{"position":[[38,7],[143,8],[404,7],[475,5],[521,5],[1766,5],[1886,5],[3266,9]]},"400":{"position":[[77,5],[103,5],[138,5],[427,7],[469,5]]},"402":{"position":[[976,7],[1015,7],[1464,5]]},"403":{"position":[[21,5],[704,5]]},"408":{"position":[[5104,8]]},"412":{"position":[[9506,10],[10461,8]]},"427":{"position":[[874,9],[903,8]]},"432":{"position":[[427,8]]},"452":{"position":[[216,7],[326,7]]},"453":{"position":[[827,8]]},"457":{"position":[[398,8]]},"459":{"position":[[156,7],[276,8],[325,7],[507,5],[740,5],[1037,7],[1077,5]]},"462":{"position":[[941,7]]},"468":{"position":[[256,5]]},"469":{"position":[[248,5]]},"507":{"position":[[94,8]]},"523":{"position":[[675,6]]},"527":{"position":[[11,8],[111,7]]},"559":{"position":[[1452,9]]},"560":{"position":[[272,9],[476,5]]},"566":{"position":[[144,7],[279,5],[390,8]]},"587":{"position":[[13,7]]},"590":{"position":[[601,8],[651,7]]},"636":{"position":[[70,8]]},"659":{"position":[[867,7]]},"723":{"position":[[22,8],[361,8],[662,8],[921,8],[995,8],[1123,7],[1159,5],[1330,8],[1360,5],[1434,5],[1535,5],[1950,5]]},"724":{"position":[[607,8],[1091,5],[1228,5],[1304,5]]},"749":{"position":[[2398,5],[2712,5],[17910,6],[17938,5],[18060,5],[18514,7],[18608,7],[18837,5],[19381,7],[19464,7],[20169,6],[20334,6],[20489,5],[20593,6],[20761,6],[21354,7],[21487,7],[23022,5]]},"772":{"position":[[335,7]]},"796":{"position":[[78,5],[203,5],[381,5],[677,5],[828,6],[1097,5]]},"797":{"position":[[85,5],[113,8],[214,5],[318,5],[324,6]]},"798":{"position":[[39,5],[96,5],[152,5],[428,5],[781,5],[911,6],[1037,8]]},"801":{"position":[[697,9]]},"821":{"position":[[63,7],[173,7],[501,7],[601,5],[1017,5]]},"841":{"position":[[395,7]]},"854":{"position":[[1285,7]]},"1022":{"position":[[121,9],[251,8]]},"1023":{"position":[[40,5]]},"1065":{"position":[[1909,8]]},"1066":{"position":[[118,7],[230,6],[289,5],[587,5],[717,6]]},"1067":{"position":[[919,5],[1216,5],[1446,5],[1503,5],[1818,7],[2239,7]]},"1068":{"position":[[20,7]]},"1071":{"position":[[395,7]]},"1072":{"position":[[2837,7]]},"1074":{"position":[[181,8]]},"1079":{"position":[[25,7],[91,5],[203,6],[437,7],[535,7],[643,6]]},"1080":{"position":[[67,9],[323,6],[513,6],[788,6],[816,8],[875,5],[969,5]]},"1085":{"position":[[681,6],[998,5]]},"1107":{"position":[[20,7],[438,7],[920,7],[984,7]]},"1123":{"position":[[553,8]]},"1132":{"position":[[106,8],[158,7],[312,7]]},"1143":{"position":[[374,7],[470,7]]},"1164":{"position":[[362,7],[396,7]]},"1271":{"position":[[370,8]]},"1294":{"position":[[474,5],[566,7],[938,5],[963,8],[1084,5]]},"1295":{"position":[[1132,6]]},"1296":{"position":[[1,7],[172,5],[342,6],[393,6],[448,5],[506,5],[558,5],[652,5],[855,5],[979,5],[1026,7],[1063,5],[1110,5],[1173,6],[1338,5],[1447,5],[1617,5],[1738,8],[1842,8],[1869,7]]}},"keywords":{}}],["index.getall(keyrang",{"_index":2999,"title":{},"content":{"459":{"position":[[797,23]]}},"keywords":{}}],["index.getall(rang",{"_index":6437,"title":{},"content":{"1294":{"position":[[1474,19]]}},"keywords":{}}],["index.j",{"_index":4582,"title":{},"content":{"773":{"position":[[895,8]]}},"keywords":{}}],["indexdb",{"_index":2906,"title":{},"content":{"432":{"position":[[398,7]]}},"keywords":{}}],["indexdist",{"_index":2415,"title":{},"content":{"398":{"position":[[1810,13],[2026,13],[2290,14],[3395,14]]},"402":{"position":[[1168,13]]}},"keywords":{}}],["indexeddb",{"_index":52,"title":{"3":{"position":[[0,10]]},"4":{"position":[[0,10]]},"44":{"position":[[57,9]]},"45":{"position":[[8,11]]},"46":{"position":[[8,9]]},"47":{"position":[[16,9]]},"56":{"position":[[8,9]]},"58":{"position":[[15,10]]},"59":{"position":[[16,10]]},"64":{"position":[[0,10]]},"297":{"position":[[0,9]]},"298":{"position":[[4,9]]},"299":{"position":[[17,9]]},"300":{"position":[[22,9]]},"301":{"position":[[19,9]]},"304":{"position":[[0,9]]},"305":{"position":[[41,11]]},"432":{"position":[[16,10]]},"448":{"position":[[17,9]]},"452":{"position":[[8,10]]},"521":{"position":[[0,9]]},"532":{"position":[[0,9]]},"533":{"position":[[8,11]]},"534":{"position":[[8,9]]},"535":{"position":[[21,10]]},"543":{"position":[[6,9]]},"545":{"position":[[15,10]]},"546":{"position":[[16,10]]},"560":{"position":[[25,10]]},"566":{"position":[[26,9]]},"592":{"position":[[0,9]]},"593":{"position":[[8,11]]},"594":{"position":[[8,9]]},"595":{"position":[[21,10]]},"603":{"position":[[4,9]]},"605":{"position":[[15,10]]},"606":{"position":[[16,10]]},"709":{"position":[[15,9]]},"1136":{"position":[[0,9]]},"1137":{"position":[[0,9]]},"1138":{"position":[[10,9]]},"1139":{"position":[[30,10]]},"1141":{"position":[[19,9]]},"1143":{"position":[[12,9]]},"1145":{"position":[[30,9]]},"1243":{"position":[[3,10]]},"1293":{"position":[[4,9]]},"1295":{"position":[[0,9]]},"1299":{"position":[[20,10]]}},"content":{"3":{"position":[[5,9],[49,9]]},"4":{"position":[[27,9],[303,9],[360,13]]},"16":{"position":[[311,10]]},"24":{"position":[[203,10]]},"28":{"position":[[209,11]]},"31":{"position":[[44,9],[126,10],[147,9],[292,9]]},"32":{"position":[[207,9]]},"33":{"position":[[40,10],[91,10],[212,9],[592,9]]},"35":{"position":[[163,10]]},"45":{"position":[[1,9],[200,9]]},"46":{"position":[[100,9]]},"47":{"position":[[47,9],[97,9],[254,9],[719,9],[963,10],[1066,9],[1186,9]]},"51":{"position":[[159,9],[540,9]]},"58":{"position":[[7,9],[134,9],[219,10],[299,10],[353,10]]},"64":{"position":[[1,10]]},"65":{"position":[[1963,9]]},"66":{"position":[[49,10]]},"100":{"position":[[264,10]]},"120":{"position":[[107,10]]},"131":{"position":[[234,9],[264,9],[652,11]]},"155":{"position":[[199,10]]},"161":{"position":[[98,10],[171,10]]},"162":{"position":[[273,9]]},"181":{"position":[[48,10]]},"207":{"position":[[127,9]]},"227":{"position":[[238,10]]},"245":{"position":[[61,9]]},"254":{"position":[[321,9]]},"266":{"position":[[103,10]]},"287":{"position":[[501,9]]},"299":{"position":[[1,9],[1597,9],[1692,9]]},"302":{"position":[[213,9]]},"304":{"position":[[73,9],[330,9]]},"305":{"position":[[1,9]]},"306":{"position":[[28,9],[321,9]]},"322":{"position":[[55,9]]},"331":{"position":[[63,9]]},"336":{"position":[[192,9],[519,9]]},"365":{"position":[[921,9]]},"368":{"position":[[150,10]]},"383":{"position":[[370,9]]},"384":{"position":[[103,12]]},"396":{"position":[[1567,10]]},"400":{"position":[[381,9]]},"402":{"position":[[2744,9]]},"408":{"position":[[423,10],[658,9],[857,9],[2027,9],[3954,9]]},"411":{"position":[[4190,9]]},"412":{"position":[[7723,9],[7897,9],[9830,9]]},"429":{"position":[[149,9],[649,10]]},"432":{"position":[[126,9],[181,9],[346,9],[531,9],[679,10],[731,9],[868,9],[983,9],[1092,9],[1302,9],[1329,9]]},"435":{"position":[[225,10],[293,10]]},"441":{"position":[[407,10]]},"442":{"position":[[71,9]]},"452":{"position":[[1,9],[78,9],[194,9],[433,9],[623,9]]},"457":{"position":[[207,9]]},"458":{"position":[[799,9],[905,9]]},"459":{"position":[[238,9],[440,9],[994,9]]},"461":{"position":[[910,9],[1015,9],[1453,9],[1532,10]]},"463":{"position":[[319,9],[758,11],[823,9],[1233,9]]},"464":{"position":[[314,9],[409,11],[681,9]]},"465":{"position":[[176,9],[270,11]]},"466":{"position":[[139,9],[233,11]]},"467":{"position":[[111,9],[208,11]]},"469":{"position":[[103,9],[739,10]]},"479":{"position":[[315,11]]},"489":{"position":[[265,11]]},"495":{"position":[[801,9]]},"504":{"position":[[214,9]]},"513":{"position":[[146,9]]},"520":{"position":[[194,9]]},"521":{"position":[[7,9],[279,9],[374,9],[675,10]]},"524":{"position":[[934,9]]},"533":{"position":[[1,9]]},"534":{"position":[[35,9],[160,10]]},"535":{"position":[[7,9],[139,9],[259,9],[604,9],[714,9],[921,9],[1123,10],[1192,9]]},"536":{"position":[[61,9]]},"538":{"position":[[95,9]]},"545":{"position":[[7,9],[78,9]]},"548":{"position":[[183,10],[314,9]]},"560":{"position":[[429,10],[638,9]]},"561":{"position":[[185,9]]},"566":{"position":[[29,9],[775,9]]},"576":{"position":[[47,9]]},"581":{"position":[[590,9]]},"593":{"position":[[1,9]]},"594":{"position":[[33,9],[158,10]]},"595":{"position":[[7,9],[139,9],[272,9],[631,9],[735,9],[996,9],[1200,10],[1269,9]]},"596":{"position":[[59,9]]},"598":{"position":[[95,9]]},"605":{"position":[[7,9],[78,9]]},"608":{"position":[[183,10],[312,9]]},"631":{"position":[[154,10]]},"640":{"position":[[124,9]]},"641":{"position":[[227,9]]},"660":{"position":[[55,10]]},"662":{"position":[[649,11],[818,10]]},"696":{"position":[[856,10],[948,10],[1003,9]]},"697":{"position":[[28,9]]},"703":{"position":[[483,9],[513,9]]},"709":{"position":[[138,9],[660,9],[1203,9],[1238,9]]},"710":{"position":[[627,9],[1243,9],[2246,9]]},"714":{"position":[[389,10]]},"718":{"position":[[277,11]]},"745":{"position":[[332,11]]},"759":{"position":[[65,9],[220,11]]},"779":{"position":[[394,9]]},"793":{"position":[[203,9],[1326,9],[1353,9]]},"820":{"position":[[242,9]]},"856":{"position":[[96,10]]},"898":{"position":[[2099,10]]},"932":{"position":[[839,11]]},"981":{"position":[[1121,9]]},"1072":{"position":[[1805,9]]},"1137":{"position":[[121,9]]},"1138":{"position":[[12,9],[252,11]]},"1139":{"position":[[16,9],[48,9],[170,9],[350,11],[386,9],[439,12],[607,10]]},"1140":{"position":[[348,9],[435,9],[566,11],[666,10]]},"1141":{"position":[[215,9],[254,9]]},"1143":{"position":[[104,9],[425,9]]},"1145":{"position":[[16,9],[166,9],[375,9],[428,12],[592,10]]},"1148":{"position":[[236,9]]},"1154":{"position":[[380,11],[544,9]]},"1163":{"position":[[70,11],[191,9]]},"1165":{"position":[[180,9]]},"1170":{"position":[[134,9]]},"1172":{"position":[[152,10],[177,9],[268,9]]},"1173":{"position":[[110,10]]},"1182":{"position":[[70,11],[191,9]]},"1184":{"position":[[436,11]]},"1191":{"position":[[326,9]]},"1195":{"position":[[78,9]]},"1198":{"position":[[1369,9]]},"1206":{"position":[[184,9],[498,10]]},"1209":{"position":[[117,9],[461,10]]},"1222":{"position":[[1131,9],[1192,9],[1230,9]]},"1225":{"position":[[401,9]]},"1226":{"position":[[182,11]]},"1231":{"position":[[586,11]]},"1235":{"position":[[152,9]]},"1237":{"position":[[157,10],[802,11]]},"1238":{"position":[[663,11]]},"1243":{"position":[[5,9],[43,10]]},"1246":{"position":[[1010,11]]},"1247":{"position":[[204,9]]},"1263":{"position":[[159,11],[295,9]]},"1268":{"position":[[714,11]]},"1276":{"position":[[137,9],[244,9]]},"1292":{"position":[[206,9],[238,9],[270,9],[912,11]]},"1294":{"position":[[6,9],[235,9],[2145,9]]},"1295":{"position":[[406,9],[607,9]]},"1296":{"position":[[42,9],[1832,9],[1884,9]]},"1297":{"position":[[77,9]]},"1299":{"position":[[92,9],[331,9],[391,9],[510,9]]},"1300":{"position":[[36,10],[164,10],[386,9]]},"1302":{"position":[[46,9]]}},"keywords":{}}],["indexeddb"",{"_index":1449,"title":{},"content":{"243":{"position":[[195,15]]},"244":{"position":[[507,15]]}},"keywords":{}}],["indexeddb'",{"_index":730,"title":{},"content":{"47":{"position":[[497,11],[665,11]]},"61":{"position":[[286,11]]}},"keywords":{}}],["indexeddb.opf",{"_index":3512,"title":{},"content":{"581":{"position":[[234,14]]}},"keywords":{}}],["indexeddb.shar",{"_index":6274,"title":{},"content":{"1227":{"position":[[902,18]]}},"keywords":{}}],["indexeddb.worker.j",{"_index":6304,"title":{},"content":{"1265":{"position":[[876,22]]}},"keywords":{}}],["indexeddb/lib/fdbkeyrang",{"_index":6052,"title":{},"content":{"1139":{"position":[[490,28]]},"1145":{"position":[[479,28]]}},"keywords":{}}],["indexeddbstorag",{"_index":3329,"title":{},"content":{"545":{"position":[[142,16]]},"605":{"position":[[142,16]]}},"keywords":{}}],["indexeddbth",{"_index":3969,"title":{},"content":{"703":{"position":[[428,12]]}},"keywords":{}}],["indexeddb—a",{"_index":3415,"title":{},"content":{"560":{"position":[[184,11]]}},"keywords":{}}],["indexes.array",{"_index":4377,"title":{},"content":{"749":{"position":[[18727,13]]}},"keywords":{}}],["indexing.typescript",{"_index":3534,"title":{},"content":{"595":{"position":[[564,19]]}},"keywords":{}}],["indexkey",{"_index":4380,"title":{},"content":{"749":{"position":[[18943,8]]}},"keywords":{}}],["indexnrtostring(distancetoindex",{"_index":2403,"title":{},"content":{"398":{"position":[[1080,32],[1242,32],[2380,31],[2427,31]]}},"keywords":{}}],["indexnrtostring(indexvalu",{"_index":2387,"title":{},"content":{"397":{"position":[[2172,28]]}},"keywords":{}}],["indexopt",{"_index":4061,"title":{},"content":{"724":{"position":[[1482,13]]}},"keywords":{}}],["indexschema",{"_index":2357,"title":{},"content":{"397":{"position":[[472,11],[911,12],[942,12],[973,12],[1004,12],[1035,11]]}},"keywords":{}}],["indexvalu",{"_index":2384,"title":{},"content":{"397":{"position":[[2086,10]]}},"keywords":{}}],["indic",{"_index":446,"title":{},"content":{"27":{"position":[[396,9]]},"427":{"position":[[1407,10]]},"474":{"position":[[225,10]]},"602":{"position":[[267,9]]},"855":{"position":[[224,8]]},"861":{"position":[[1773,9]]},"867":{"position":[[219,8]]},"990":{"position":[[925,9]]}},"keywords":{}}],["indirect",{"_index":2561,"title":{},"content":{"408":{"position":[[3984,11]]}},"keywords":{}}],["indispens",{"_index":3238,"title":{},"content":{"506":{"position":[[140,13]]},"510":{"position":[[498,13]]}},"keywords":{}}],["individu",{"_index":968,"title":{},"content":{"75":{"position":[[36,10]]},"106":{"position":[[23,10]]},"174":{"position":[[1017,10]]},"279":{"position":[[246,10]]},"304":{"position":[[42,10]]},"369":{"position":[[357,10]]}},"keywords":{}}],["industri",{"_index":3450,"title":{},"content":{"569":{"position":[[256,10]]}},"keywords":{}}],["ineffici",{"_index":2063,"title":{},"content":{"358":{"position":[[579,11]]},"394":{"position":[[1762,11]]},"430":{"position":[[373,11]]},"624":{"position":[[1412,12]]}},"keywords":{}}],["inequ",{"_index":4890,"title":{},"content":{"858":{"position":[[471,10]]}},"keywords":{}}],["inevit",{"_index":2656,"title":{},"content":{"412":{"position":[[681,10],[3049,10]]},"474":{"position":[[57,10]]}},"keywords":{}}],["infin",{"_index":3646,"title":{},"content":{"617":{"position":[[1372,8]]},"749":{"position":[[21388,8],[21401,8]]},"1294":{"position":[[1333,9],[1367,9]]},"1296":{"position":[[1387,10],[1398,10],[1564,9]]}},"keywords":{}}],["infinit",{"_index":3274,"title":{},"content":{"523":{"position":[[559,11]]},"696":{"position":[[280,8]]},"1009":{"position":[[872,8]]},"1010":{"position":[[8,8],[70,8]]}},"keywords":{}}],["influenc",{"_index":1754,"title":{},"content":{"299":{"position":[[792,10]]}},"keywords":{}}],["info",{"_index":871,"title":{},"content":{"58":{"position":[[319,5]]},"546":{"position":[[216,5]]},"606":{"position":[[216,5]]},"746":{"position":[[749,5]]},"749":{"position":[[297,5]]}},"keywords":{}}],["inform",{"_index":906,"title":{},"content":{"65":{"position":[[214,12],[661,12],[1684,12]]},"95":{"position":[[82,12]]},"152":{"position":[[100,11]]},"158":{"position":[[332,12]]},"167":{"position":[[172,11]]},"173":{"position":[[1287,11]]},"195":{"position":[[156,11]]},"218":{"position":[[156,12]]},"279":{"position":[[267,11]]},"289":{"position":[[1384,12],[1976,11]]},"291":{"position":[[245,11],[411,12]]},"310":{"position":[[62,12]]},"343":{"position":[[123,12]]},"346":{"position":[[296,6]]},"377":{"position":[[217,12]]},"410":{"position":[[563,11]]},"441":{"position":[[622,8]]},"458":{"position":[[1229,6]]},"506":{"position":[[111,12]]},"526":{"position":[[143,11]]},"550":{"position":[[136,11],[226,12]]},"586":{"position":[[37,12]]},"610":{"position":[[435,12]]},"638":{"position":[[58,11],[102,12]]},"698":{"position":[[1145,11]]},"701":{"position":[[771,11]]},"875":{"position":[[8737,8],[9157,11]]},"880":{"position":[[129,6]]},"889":{"position":[[315,11]]},"890":{"position":[[911,11]]},"912":{"position":[[294,11]]},"1151":{"position":[[167,6]]},"1178":{"position":[[166,6]]}},"keywords":{}}],["infrastructur",{"_index":1227,"title":{},"content":{"174":{"position":[[3183,14]]},"201":{"position":[[60,14]]},"289":{"position":[[1216,15]]},"408":{"position":[[2177,14]]},"412":{"position":[[1443,14],[1925,15],[4167,15]]},"418":{"position":[[764,14]]},"485":{"position":[[110,15]]},"504":{"position":[[1480,14]]},"614":{"position":[[226,14]]},"619":{"position":[[163,14]]},"627":{"position":[[44,14],[242,15]]},"632":{"position":[[986,15]]},"686":{"position":[[483,15]]},"875":{"position":[[7671,15]]},"902":{"position":[[223,15]]}},"keywords":{}}],["infrastructure.optim",{"_index":6490,"title":{},"content":{"1304":{"position":[[1976,28]]}},"keywords":{}}],["inher",{"_index":1025,"title":{},"content":{"99":{"position":[[165,10]]},"226":{"position":[[130,10]]},"279":{"position":[[29,10]]},"281":{"position":[[146,10]]},"352":{"position":[[273,10]]},"545":{"position":[[42,8]]},"605":{"position":[[42,8]]}},"keywords":{}}],["inherit",{"_index":5127,"title":{},"content":{"886":{"position":[[1913,9]]}},"keywords":{}}],["init",{"_index":3037,"title":{},"content":{"463":{"position":[[1022,4]]},"1002":{"position":[[640,4],[1294,4]]}},"keywords":{}}],["initdatabas",{"_index":1941,"title":{},"content":{"334":{"position":[[299,14]]},"335":{"position":[[202,15]]},"579":{"position":[[308,14]]},"580":{"position":[[346,12],[444,15]]}},"keywords":{}}],["initdb",{"_index":778,"title":{},"content":{"51":{"position":[[650,8]]},"209":{"position":[[214,8]]},"255":{"position":[[561,8]]},"314":{"position":[[447,8]]},"480":{"position":[[305,8]]},"598":{"position":[[408,8]]},"601":{"position":[[424,6],[527,9]]},"829":{"position":[[1486,6],[1564,9]]}},"keywords":{}}],["initencrypteddatabas",{"_index":3345,"title":{},"content":{"554":{"position":[[820,23]]},"555":{"position":[[207,24]]}},"keywords":{}}],["initencrypteddb",{"_index":1896,"title":{},"content":{"315":{"position":[[398,17]]}},"keywords":{}}],["initi",{"_index":786,"title":{"70":{"position":[[0,14]]},"93":{"position":[[7,7]]},"101":{"position":[[0,14]]},"206":{"position":[[16,15]]},"217":{"position":[[10,7]]},"227":{"position":[[0,14]]},"463":{"position":[[0,14]]}},"content":{"52":{"position":[[23,12]]},"65":{"position":[[1273,7],[1375,7]]},"69":{"position":[[89,7]]},"70":{"position":[[64,14]]},"93":{"position":[[41,7],[201,14]]},"101":{"position":[[5,14],[176,14]]},"145":{"position":[[215,15]]},"173":{"position":[[1617,7],[1712,7]]},"206":{"position":[[66,7]]},"217":{"position":[[44,7]]},"227":{"position":[[82,14],[308,14]]},"253":{"position":[[85,14],[224,10]]},"266":{"position":[[1026,7]]},"299":{"position":[[448,7]]},"314":{"position":[[275,10]]},"334":{"position":[[111,12]]},"346":{"position":[[27,10]]},"411":{"position":[[118,7]]},"412":{"position":[[6177,8],[6643,7],[7194,10],[7281,7]]},"419":{"position":[[1461,12]]},"462":{"position":[[115,14]]},"463":{"position":[[191,14],[492,10]]},"468":{"position":[[471,9]]},"469":{"position":[[663,7],[768,7]]},"491":{"position":[[1182,9]]},"522":{"position":[[181,11]]},"539":{"position":[[23,12]]},"590":{"position":[[112,10]]},"599":{"position":[[23,12]]},"610":{"position":[[577,9],[1379,8]]},"612":{"position":[[731,10]]},"616":{"position":[[632,7]]},"636":{"position":[[346,15]]},"648":{"position":[[307,7]]},"653":{"position":[[651,7],[840,7]]},"656":{"position":[[318,7]]},"724":{"position":[[1194,10],[1281,10],[1371,15]]},"749":{"position":[[14834,7],[14990,7]]},"780":{"position":[[567,7]]},"783":{"position":[[495,7],[635,7]]},"829":{"position":[[1228,12],[2063,7]]},"844":{"position":[[8,7]]},"854":{"position":[[56,10]]},"886":{"position":[[4390,10]]},"901":{"position":[[214,7]]},"903":{"position":[[321,7]]},"984":{"position":[[10,7]]},"994":{"position":[[50,7],[238,7]]},"1013":{"position":[[798,7]]},"1115":{"position":[[285,9]]},"1119":{"position":[[170,7]]},"1161":{"position":[[102,7]]},"1162":{"position":[[521,7],[582,7]]},"1170":{"position":[[85,7],[240,7]]},"1180":{"position":[[102,7]]},"1181":{"position":[[608,7],[670,7]]},"1186":{"position":[[112,7]]},"1238":{"position":[[314,14],[347,7],[421,14]]},"1239":{"position":[[301,14]]},"1246":{"position":[[1801,7]]},"1267":{"position":[[359,7]]},"1295":{"position":[[725,7],[1005,14]]},"1299":{"position":[[167,7]]},"1301":{"position":[[1419,7]]},"1316":{"position":[[3531,9]]}},"keywords":{}}],["initialcheckpoint",{"_index":5535,"title":{"1002":{"position":[[17,18]]}},"content":{"1002":{"position":[[696,18],[1350,18]]}},"keywords":{}}],["initialis",{"_index":6129,"title":{},"content":{"1171":{"position":[[207,14],[319,14]]}},"keywords":{}}],["initialvalu",{"_index":840,"title":{},"content":{"55":{"position":[[495,13],[561,13]]},"1118":{"position":[[561,13],[600,12]]}},"keywords":{}}],["initsecuredb",{"_index":3135,"title":{},"content":{"482":{"position":[[395,14]]}},"keywords":{}}],["initzerolocaldb",{"_index":3703,"title":{},"content":{"632":{"position":[[1186,17]]}},"keywords":{}}],["inject",{"_index":844,"title":{},"content":{"55":{"position":[[809,7]]},"825":{"position":[[177,11],[189,6],[562,6]]}},"keywords":{}}],["inject(dbservic",{"_index":4731,"title":{},"content":{"825":{"position":[[942,18]]}},"keywords":{}}],["injector",{"_index":833,"title":{},"content":{"55":{"position":[[262,8],[400,10],[575,9],[817,8]]}},"keywords":{}}],["ink&switch",{"_index":2521,"title":{},"content":{"407":{"position":[[1177,16]]},"419":{"position":[[703,15]]}},"keywords":{}}],["inner",{"_index":2767,"title":{},"content":{"412":{"position":[[13943,5],[13960,5]]},"990":{"position":[[807,5]]}},"keywords":{}}],["innov",{"_index":3246,"title":{},"content":{"510":{"position":[[565,10]]}},"keywords":{}}],["input",{"_index":592,"title":{},"content":{"38":{"position":[[484,5]]},"393":{"position":[[773,5]]},"394":{"position":[[238,5],[306,5]]},"404":{"position":[[774,5],[922,5]]},"411":{"position":[[2367,6]]},"571":{"position":[[163,7],[1694,5]]},"691":{"position":[[311,7]]},"759":{"position":[[905,7]]},"760":{"position":[[793,7]]},"848":{"position":[[273,5]]},"875":{"position":[[3696,5]]},"885":{"position":[[111,6],[519,5],[715,5],[911,5],[1289,5],[1981,5]]},"886":{"position":[[157,5],[2182,5],[3404,6]]},"968":{"position":[[265,5]]},"983":{"position":[[238,6],[574,6]]},"1030":{"position":[[217,6]]},"1100":{"position":[[465,5]]},"1104":{"position":[[309,5]]},"1105":{"position":[[187,5]]},"1115":{"position":[[125,5]]},"1317":{"position":[[31,6]]}},"keywords":{}}],["input.newdocumentstate.nam",{"_index":3915,"title":{},"content":{"691":{"position":[[368,27]]}},"keywords":{}}],["input.realmasterst",{"_index":3914,"title":{},"content":{"691":{"position":[[336,25]]}},"keywords":{}}],["input.realmasterstate.nam",{"_index":3916,"title":{},"content":{"691":{"position":[[399,27]]}},"keywords":{}}],["input.realmasterstate.scor",{"_index":3918,"title":{},"content":{"691":{"position":[[473,28]]}},"keywords":{}}],["insensit",{"_index":5770,"title":{},"content":{"1065":{"position":[[1202,11]]},"1072":{"position":[[1640,11],[1771,11],[2004,14],[2074,11],[2192,11],[2593,11],[2728,11]]}},"keywords":{}}],["insert",{"_index":787,"title":{"555":{"position":[[3,9]]},"683":{"position":[[9,8]]},"767":{"position":[[0,7]]},"942":{"position":[[0,9]]},"1035":{"position":[[0,7]]}},"content":{"52":{"position":[[77,6],[171,6]]},"188":{"position":[[2805,6]]},"301":{"position":[[222,6]]},"356":{"position":[[393,6],[424,6]]},"412":{"position":[[9911,9]]},"427":{"position":[[1357,7]]},"539":{"position":[[77,6],[171,6]]},"555":{"position":[[235,6]]},"562":{"position":[[538,6]]},"599":{"position":[[77,6],[180,6]]},"662":{"position":[[2570,6]]},"680":{"position":[[1194,6]]},"683":{"position":[[45,6],[370,8],[460,6],[570,6],[891,6]]},"703":{"position":[[221,6]]},"710":{"position":[[1880,6]]},"711":{"position":[[1222,6]]},"715":{"position":[[254,6]]},"717":{"position":[[286,7]]},"749":{"position":[[6748,6]]},"767":{"position":[[4,6],[626,6]]},"802":{"position":[[365,11]]},"813":{"position":[[221,9]]},"838":{"position":[[2784,6]]},"863":{"position":[[701,7]]},"904":{"position":[[1125,6]]},"941":{"position":[[219,7]]},"942":{"position":[[13,6]]},"943":{"position":[[44,6],[255,9]]},"944":{"position":[[18,6],[58,7],[99,9],[480,9]]},"946":{"position":[[1,7]]},"953":{"position":[[216,8]]},"1035":{"position":[[4,6],[75,9]]},"1055":{"position":[[61,6]]},"1058":{"position":[[448,6]]},"1065":{"position":[[1753,6],[2058,8]]},"1078":{"position":[[822,9]]},"1082":{"position":[[73,6]]},"1106":{"position":[[384,7]]},"1158":{"position":[[543,6]]},"1194":{"position":[[57,7],[224,6],[353,6],[393,6],[540,6]]},"1209":{"position":[[226,7]]},"1292":{"position":[[302,6],[309,6],[656,6],[663,6]]},"1296":{"position":[[757,6]]},"1311":{"position":[[1435,6]]}},"keywords":{}}],["insert/upd",{"_index":4953,"title":{},"content":{"872":{"position":[[1272,13]]}},"keywords":{}}],["insert/update/delet",{"_index":6568,"title":{},"content":{"1317":{"position":[[697,20]]}},"keywords":{}}],["insertcrdt",{"_index":3885,"title":{},"content":{"683":{"position":[[249,12],[537,12]]}},"keywords":{}}],["insertifnotexist",{"_index":5329,"title":{"943":{"position":[[0,20]]}},"content":{"943":{"position":[[5,19]]}},"keywords":{}}],["insertloc",{"_index":5598,"title":{"1014":{"position":[[0,14]]}},"content":{},"keywords":{}}],["insertresult",{"_index":2234,"title":{},"content":{"392":{"position":[[1066,12]]}},"keywords":{}}],["inserts/upd",{"_index":5189,"title":{},"content":{"897":{"position":[[219,15]]}},"keywords":{}}],["insid",{"_index":53,"title":{"1213":{"position":[[62,6]]}},"content":{"3":{"position":[[39,6]]},"5":{"position":[[30,6]]},"8":{"position":[[703,6]]},"14":{"position":[[770,6]]},"16":{"position":[[208,6]]},"188":{"position":[[368,6],[1894,6],[2226,6],[2267,6]]},"356":{"position":[[829,6]]},"365":{"position":[[652,6]]},"366":{"position":[[477,6],[606,6]]},"367":{"position":[[24,6]]},"408":{"position":[[4913,6]]},"411":{"position":[[2158,6]]},"429":{"position":[[618,6]]},"451":{"position":[[150,6]]},"454":{"position":[[212,6],[536,6]]},"458":{"position":[[1486,6]]},"460":{"position":[[407,6],[1083,6]]},"463":{"position":[[369,6]]},"469":{"position":[[729,6]]},"470":{"position":[[230,6]]},"575":{"position":[[140,6]]},"616":{"position":[[789,6]]},"661":{"position":[[85,6]]},"682":{"position":[[192,6]]},"685":{"position":[[28,6]]},"697":{"position":[[21,6],[582,6]]},"708":{"position":[[576,6]]},"710":{"position":[[552,6]]},"711":{"position":[[113,6]]},"721":{"position":[[113,6],[317,6]]},"749":{"position":[[3395,6],[3580,6]]},"757":{"position":[[86,6],[158,6]]},"772":{"position":[[1149,6],[1338,6]]},"779":{"position":[[384,6]]},"785":{"position":[[514,6]]},"806":{"position":[[34,6]]},"836":{"position":[[87,6]]},"838":{"position":[[1256,6]]},"857":{"position":[[65,6]]},"861":{"position":[[461,6]]},"875":{"position":[[5733,6]]},"904":{"position":[[455,6]]},"951":{"position":[[289,6]]},"981":{"position":[[473,6]]},"1031":{"position":[[59,6]]},"1032":{"position":[[28,6]]},"1033":{"position":[[377,6],[952,6]]},"1085":{"position":[[70,6],[3087,6]]},"1101":{"position":[[399,6]]},"1116":{"position":[[18,6]]},"1121":{"position":[[34,6]]},"1126":{"position":[[53,6]]},"1171":{"position":[[371,6]]},"1183":{"position":[[336,6]]},"1206":{"position":[[509,6]]},"1207":{"position":[[343,6]]},"1210":{"position":[[36,6]]},"1211":{"position":[[77,6]]},"1212":{"position":[[78,6],[266,6]]},"1213":{"position":[[23,6],[393,6],[563,6],[795,6]]},"1214":{"position":[[932,6]]},"1230":{"position":[[57,6],[331,6]]},"1231":{"position":[[81,6],[190,6]]},"1233":{"position":[[126,6]]},"1237":{"position":[[413,6]]},"1242":{"position":[[48,6]]},"1244":{"position":[[144,6]]},"1250":{"position":[[400,6],[488,6]]},"1270":{"position":[[525,6]]},"1280":{"position":[[152,6]]},"1313":{"position":[[65,6]]},"1315":{"position":[[1173,6]]},"1319":{"position":[[461,6]]},"1323":{"position":[[50,6]]}},"keywords":{}}],["insight",{"_index":1621,"title":{},"content":{"267":{"position":[[1070,8]]},"420":{"position":[[1102,8]]},"644":{"position":[[330,9]]}},"keywords":{}}],["inspect",{"_index":597,"title":{},"content":{"38":{"position":[[882,7]]},"364":{"position":[[825,10]]},"394":{"position":[[1169,7]]},"467":{"position":[[427,10]]},"698":{"position":[[2147,7]]},"889":{"position":[[1080,7]]}},"keywords":{}}],["instal",{"_index":29,"title":{"49":{"position":[[0,10]]},"128":{"position":[[0,10]]},"257":{"position":[[0,7]]},"333":{"position":[[0,10]]},"537":{"position":[[0,10]]},"553":{"position":[[3,7]]},"578":{"position":[[0,13]]},"597":{"position":[[0,10]]},"646":{"position":[[0,13]]},"652":{"position":[[0,13]]},"680":{"position":[[0,13]]},"725":{"position":[[0,7]]},"731":{"position":[[0,10]]},"1133":{"position":[[0,13]]}},"content":{"1":{"position":[[424,7]]},"2":{"position":[[105,7],[135,7]]},"3":{"position":[[113,7]]},"4":{"position":[[279,7]]},"5":{"position":[[195,7]]},"6":{"position":[[262,7],[294,7]]},"7":{"position":[[217,7]]},"8":{"position":[[157,7],[233,7],[467,7]]},"9":{"position":[[129,7]]},"10":{"position":[[58,7]]},"11":{"position":[[96,7]]},"38":{"position":[[754,9]]},"49":{"position":[[9,7],[66,7]]},"128":{"position":[[57,7],[101,7],[171,7],[197,10]]},"188":{"position":[[1986,7],[2189,7],[2250,13]]},"211":{"position":[[1,7],[19,7]]},"257":{"position":[[5,7]]},"285":{"position":[[164,10]]},"314":{"position":[[238,7],[256,7]]},"333":{"position":[[1,7],[47,7]]},"498":{"position":[[180,12]]},"500":{"position":[[141,9],[449,13]]},"503":{"position":[[135,10]]},"522":{"position":[[87,10],[123,7],[145,10]]},"537":{"position":[[8,7],[45,7]]},"542":{"position":[[170,7],[206,7]]},"553":{"position":[[1,7],[83,7],[100,7]]},"578":{"position":[[9,7],[76,7]]},"597":{"position":[[8,7],[47,7]]},"614":{"position":[[248,12]]},"659":{"position":[[216,7],[240,7]]},"661":{"position":[[516,7],[537,7]]},"662":{"position":[[1226,7],[1259,7]]},"666":{"position":[[72,9]]},"670":{"position":[[175,10]]},"710":{"position":[[1420,7],[1453,7]]},"711":{"position":[[688,7],[857,9],[886,7],[908,7]]},"726":{"position":[[4,7]]},"727":{"position":[[18,7],[67,9]]},"728":{"position":[[70,7]]},"760":{"position":[[60,7]]},"793":{"position":[[55,7]]},"829":{"position":[[3,13],[17,7],[54,7]]},"836":{"position":[[450,7],[509,7]]},"837":{"position":[[1274,7],[1325,7]]},"838":{"position":[[1757,7],[1790,7]]},"854":{"position":[[3,7],[37,7]]},"861":{"position":[[340,9],[411,12],[436,12],[769,12]]},"862":{"position":[[120,7],[160,7]]},"866":{"position":[[3,7],[33,7]]},"872":{"position":[[3,7],[64,7],[127,7],[474,9]]},"898":{"position":[[3,7],[29,7]]},"911":{"position":[[377,9],[402,7]]},"1097":{"position":[[36,7],[77,7],[497,9]]},"1112":{"position":[[206,7]]},"1133":{"position":[[1,7],[154,7],[186,7],[423,7]]},"1139":{"position":[[373,7]]},"1145":{"position":[[362,7]]},"1148":{"position":[[427,7],[462,7]]},"1189":{"position":[[3,7],[36,7]]},"1227":{"position":[[285,9]]},"1265":{"position":[[278,9]]},"1270":{"position":[[372,9]]},"1277":{"position":[[1,7]]},"1279":{"position":[[1,7]]}},"keywords":{}}],["installmak",{"_index":3826,"title":{},"content":{"666":{"position":[[239,11]]}},"keywords":{}}],["instanc",{"_index":427,"title":{"757":{"position":[[40,10]]},"790":{"position":[[0,8]]},"791":{"position":[[4,8]]},"1135":{"position":[[6,9]]},"1229":{"position":[[26,9]]},"1268":{"position":[[20,9]]}},"content":{"26":{"position":[[261,9]]},"89":{"position":[[89,9]]},"109":{"position":[[119,9]]},"123":{"position":[[145,9]]},"145":{"position":[[162,9]]},"173":{"position":[[578,9]]},"174":{"position":[[1860,9]]},"266":{"position":[[916,8]]},"285":{"position":[[245,8]]},"289":{"position":[[1300,9]]},"293":{"position":[[258,8]]},"299":{"position":[[1210,9]]},"325":{"position":[[119,9]]},"327":{"position":[[323,10]]},"334":{"position":[[53,8]]},"335":{"position":[[25,9]]},"346":{"position":[[82,8]]},"352":{"position":[[220,9]]},"379":{"position":[[209,9]]},"408":{"position":[[4412,9]]},"412":{"position":[[3793,10],[4046,8],[6124,9],[7858,9],[10441,9]]},"416":{"position":[[114,9]]},"439":{"position":[[490,9]]},"494":{"position":[[74,9]]},"495":{"position":[[605,9]]},"504":{"position":[[1235,9]]},"517":{"position":[[234,9]]},"525":{"position":[[318,10]]},"566":{"position":[[974,8]]},"570":{"position":[[557,8]]},"579":{"position":[[49,8],[820,9]]},"589":{"position":[[104,9]]},"590":{"position":[[200,8]]},"612":{"position":[[757,8],[918,9]]},"632":{"position":[[1229,8]]},"636":{"position":[[211,9]]},"641":{"position":[[217,9]]},"653":{"position":[[1309,8],[1410,8]]},"683":{"position":[[398,9]]},"685":{"position":[[340,9]]},"724":{"position":[[363,8]]},"743":{"position":[[286,10]]},"746":{"position":[[604,9]]},"749":{"position":[[3006,9],[3235,9],[4753,8],[5393,8],[15072,8],[23842,8]]},"757":{"position":[[31,9],[149,8],[232,10],[247,9]]},"766":{"position":[[98,8],[273,9]]},"770":{"position":[[109,8]]},"775":{"position":[[184,10],[350,9]]},"790":{"position":[[1,8]]},"817":{"position":[[324,9]]},"818":{"position":[[223,9]]},"826":{"position":[[347,10]]},"829":{"position":[[971,8],[2228,9]]},"837":{"position":[[2047,8]]},"855":{"position":[[133,10]]},"861":{"position":[[836,8]]},"867":{"position":[[133,10]]},"872":{"position":[[1687,8]]},"875":{"position":[[6836,10]]},"945":{"position":[[330,10]]},"955":{"position":[[33,8]]},"957":{"position":[[40,8]]},"958":{"position":[[100,8],[311,8]]},"964":{"position":[[46,8],[197,10],[411,9],[565,8]]},"966":{"position":[[51,9],[431,9]]},"967":{"position":[[48,9]]},"976":{"position":[[29,9]]},"977":{"position":[[111,8],[184,8],[527,10]]},"978":{"position":[[40,8]]},"979":{"position":[[65,8],[136,8]]},"986":{"position":[[519,10],[991,9]]},"988":{"position":[[1318,8],[2373,9]]},"989":{"position":[[58,8],[250,8],[408,9]]},"990":{"position":[[197,8],[267,8]]},"995":{"position":[[1293,10]]},"1003":{"position":[[298,8]]},"1013":{"position":[[218,9]]},"1052":{"position":[[327,8],[428,9]]},"1053":{"position":[[40,8]]},"1065":{"position":[[577,8],[662,9]]},"1070":{"position":[[40,8]]},"1085":{"position":[[133,8],[2845,8]]},"1088":{"position":[[422,9]]},"1114":{"position":[[11,8],[315,9],[807,8]]},"1116":{"position":[[38,8]]},"1118":{"position":[[67,9]]},"1120":{"position":[[557,9],[637,10]]},"1123":{"position":[[210,8],[426,10]]},"1124":{"position":[[1066,9],[1166,8],[1276,10],[2170,9]]},"1126":{"position":[[195,9],[278,9],[538,9],[835,9]]},"1148":{"position":[[830,8]]},"1154":{"position":[[123,8],[187,9]]},"1164":{"position":[[611,9]]},"1174":{"position":[[264,9]]},"1220":{"position":[[84,9],[400,8]]},"1222":{"position":[[608,9]]},"1229":{"position":[[107,8]]},"1233":{"position":[[245,9]]},"1246":{"position":[[1114,10],[1404,8]]},"1267":{"position":[[66,8],[203,8]]},"1268":{"position":[[101,8]]},"1305":{"position":[[693,8]]},"1314":{"position":[[301,9]]}},"keywords":{}}],["instanceadd",{"_index":5905,"title":{},"content":{"1085":{"position":[[3686,11]]}},"keywords":{}}],["instanceof",{"_index":4188,"title":{},"content":{"749":{"position":[[4154,10]]}},"keywords":{}}],["instances.multi",{"_index":3484,"title":{},"content":{"575":{"position":[[520,15]]}},"keywords":{}}],["instand",{"_index":2128,"title":{},"content":{"369":{"position":[[1266,7]]}},"keywords":{}}],["instant",{"_index":923,"title":{},"content":{"65":{"position":[[1160,7]]},"152":{"position":[[82,7]]},"267":{"position":[[1062,7]]},"375":{"position":[[525,7]]},"407":{"position":[[394,7]]},"415":{"position":[[73,7]]},"474":{"position":[[173,7]]},"483":{"position":[[70,7]]},"486":{"position":[[73,8]]},"489":{"position":[[126,7],[325,7]]},"491":{"position":[[678,8]]},"498":{"position":[[582,7]]},"630":{"position":[[495,7]]},"724":{"position":[[1263,8],[1358,9],[1387,10]]},"1009":{"position":[[688,7]]}},"keywords":{}}],["instantan",{"_index":1603,"title":{},"content":{"265":{"position":[[416,13]]},"410":{"position":[[72,13]]},"411":{"position":[[3693,13]]},"489":{"position":[[560,13]]},"502":{"position":[[848,13]]},"571":{"position":[[107,13]]},"860":{"position":[[711,16]]}},"keywords":{}}],["instantdb",{"_index":612,"title":{"39":{"position":[[0,10]]}},"content":{"39":{"position":[[1,9],[457,9]]}},"keywords":{}}],["instantli",{"_index":1006,"title":{},"content":{"90":{"position":[[189,9]]},"156":{"position":[[250,9]]},"205":{"position":[[388,10]]},"267":{"position":[[704,9]]},"312":{"position":[[106,9]]},"323":{"position":[[98,9]]},"329":{"position":[[202,9]]},"408":{"position":[[2829,9]]},"412":{"position":[[6561,11]]},"421":{"position":[[986,9]]},"445":{"position":[[1069,9]]},"475":{"position":[[201,9]]},"490":{"position":[[412,9]]},"491":{"position":[[1583,9]]},"493":{"position":[[517,9]]},"494":{"position":[[661,10]]},"570":{"position":[[588,10]]},"582":{"position":[[335,9]]},"634":{"position":[[136,9]]},"778":{"position":[[391,10]]},"1084":{"position":[[449,9]]}},"keywords":{}}],["instead",{"_index":381,"title":{"144":{"position":[[38,7]]},"354":{"position":[[19,7]]},"431":{"position":[[12,7]]},"563":{"position":[[29,7]]},"691":{"position":[[57,7]]},"822":{"position":[[43,7]]},"1211":{"position":[[30,7]]},"1293":{"position":[[38,7]]}},"content":{"23":{"position":[[126,7]]},"31":{"position":[[84,7]]},"38":{"position":[[236,7],[328,7]]},"40":{"position":[[331,8]]},"55":{"position":[[1050,7]]},"91":{"position":[[100,7]]},"93":{"position":[[73,7]]},"143":{"position":[[308,7]]},"144":{"position":[[108,7]]},"173":{"position":[[1995,7],[3021,7]]},"188":{"position":[[2169,7]]},"220":{"position":[[89,7]]},"255":{"position":[[269,7]]},"277":{"position":[[88,7]]},"287":{"position":[[54,8]]},"323":{"position":[[472,7]]},"329":{"position":[[1,7]]},"346":{"position":[[187,7]]},"360":{"position":[[230,7]]},"364":{"position":[[707,7]]},"367":{"position":[[121,7]]},"390":{"position":[[600,7],[1072,7]]},"392":{"position":[[3760,7]]},"395":{"position":[[446,8]]},"400":{"position":[[546,8]]},"408":{"position":[[3843,8]]},"410":{"position":[[238,7]]},"411":{"position":[[626,7],[1179,7],[3615,7]]},"412":{"position":[[2938,7],[5749,7],[10960,7]]},"432":{"position":[[1236,7]]},"439":{"position":[[261,7],[607,7]]},"440":{"position":[[410,7]]},"454":{"position":[[840,7]]},"464":{"position":[[1044,7]]},"466":{"position":[[556,7]]},"467":{"position":[[719,8]]},"469":{"position":[[345,7]]},"487":{"position":[[25,7]]},"490":{"position":[[549,7]]},"554":{"position":[[727,8]]},"556":{"position":[[1262,7]]},"563":{"position":[[639,7],[877,7]]},"570":{"position":[[714,7]]},"571":{"position":[[739,7]]},"602":{"position":[[182,7]]},"612":{"position":[[489,7]]},"616":{"position":[[373,7],[756,7],[1003,7],[1214,7]]},"617":{"position":[[2074,7]]},"626":{"position":[[542,7]]},"630":{"position":[[762,7],[894,7]]},"681":{"position":[[896,7]]},"686":{"position":[[175,7],[290,7],[521,7],[720,7]]},"688":{"position":[[240,7],[340,7],[786,7]]},"698":{"position":[[1509,7],[2373,7]]},"708":{"position":[[514,7]]},"709":{"position":[[1221,7]]},"717":{"position":[[402,7]]},"751":{"position":[[443,7]]},"782":{"position":[[301,7]]},"795":{"position":[[88,7]]},"798":{"position":[[899,8]]},"799":{"position":[[439,7]]},"800":{"position":[[99,8],[748,7]]},"817":{"position":[[334,7]]},"826":{"position":[[257,8]]},"828":{"position":[[303,7]]},"831":{"position":[[219,7]]},"835":{"position":[[189,7],[695,8]]},"836":{"position":[[1091,7]]},"838":{"position":[[2226,7]]},"854":{"position":[[1347,7]]},"863":{"position":[[578,7]]},"872":{"position":[[1514,8]]},"875":{"position":[[1518,7],[5908,7]]},"882":{"position":[[65,7]]},"888":{"position":[[205,7]]},"898":{"position":[[565,8]]},"904":{"position":[[2733,8],[3221,7]]},"906":{"position":[[457,8]]},"918":{"position":[[59,7]]},"927":{"position":[[89,7]]},"944":{"position":[[596,7]]},"945":{"position":[[259,7]]},"968":{"position":[[223,8]]},"975":{"position":[[147,7]]},"985":{"position":[[260,7]]},"986":{"position":[[364,7],[1045,7]]},"988":{"position":[[2121,7],[2226,8],[3128,7]]},"995":{"position":[[1197,7]]},"1002":{"position":[[888,7]]},"1007":{"position":[[195,7]]},"1013":{"position":[[127,7]]},"1040":{"position":[[95,7]]},"1044":{"position":[[134,7]]},"1051":{"position":[[148,8]]},"1066":{"position":[[705,8]]},"1067":{"position":[[1708,7]]},"1068":{"position":[[496,7]]},"1069":{"position":[[281,7]]},"1072":{"position":[[1070,8],[1327,8]]},"1090":{"position":[[191,7]]},"1093":{"position":[[1,7]]},"1098":{"position":[[74,7]]},"1099":{"position":[[70,7]]},"1115":{"position":[[513,7]]},"1117":{"position":[[1,7]]},"1124":{"position":[[19,7],[354,7],[1518,7],[1852,8]]},"1140":{"position":[[390,7]]},"1143":{"position":[[281,7]]},"1154":{"position":[[614,8]]},"1162":{"position":[[797,7],[1063,7]]},"1165":{"position":[[78,7],[243,7]]},"1174":{"position":[[554,7]]},"1175":{"position":[[467,7]]},"1191":{"position":[[344,7]]},"1194":{"position":[[187,7]]},"1196":{"position":[[194,8]]},"1214":{"position":[[323,7]]},"1222":{"position":[[372,8]]},"1229":{"position":[[1,7]]},"1231":{"position":[[334,8]]},"1238":{"position":[[255,7]]},"1249":{"position":[[358,7]]},"1251":{"position":[[148,8],[347,7]]},"1253":{"position":[[114,7]]},"1258":{"position":[[108,7]]},"1268":{"position":[[1,7]]},"1277":{"position":[[707,8]]},"1282":{"position":[[228,8]]},"1295":{"position":[[114,7]]},"1296":{"position":[[65,7],[462,7],[698,7]]},"1298":{"position":[[97,7]]},"1299":{"position":[[117,7]]},"1300":{"position":[[444,7]]},"1301":{"position":[[844,7],[1120,8]]},"1305":{"position":[[317,8]]},"1307":{"position":[[576,7]]},"1309":{"position":[[1043,8],[1174,8]]},"1316":{"position":[[1536,7],[2057,7],[3248,7],[3599,7]]},"1318":{"position":[[160,7],[650,7]]}},"keywords":{}}],["instead.th",{"_index":6063,"title":{},"content":{"1141":{"position":[[203,11]]}},"keywords":{}}],["instock=fals",{"_index":6544,"title":{},"content":{"1316":{"position":[[854,13]]}},"keywords":{}}],["instruct",{"_index":998,"title":{},"content":{"84":{"position":[[367,12]]},"114":{"position":[[380,12]]},"149":{"position":[[380,12]]},"175":{"position":[[371,12]]},"285":{"position":[[379,12]]},"347":{"position":[[378,12]]},"362":{"position":[[1449,12]]},"511":{"position":[[380,12]]},"531":{"position":[[380,12]]},"591":{"position":[[378,12]]}},"keywords":{}}],["insuffici",{"_index":2791,"title":{},"content":{"417":{"position":[[186,13]]}},"keywords":{}}],["int",{"_index":5083,"title":{},"content":{"885":{"position":[[887,6]]},"886":{"position":[[629,5]]}},"keywords":{}}],["intact",{"_index":4042,"title":{},"content":{"723":{"position":[[1448,6]]}},"keywords":{}}],["integ",{"_index":2980,"title":{},"content":{"457":{"position":[[143,8]]},"898":{"position":[[1075,8]]},"1079":{"position":[[136,7]]},"1082":{"position":[[395,10]]},"1083":{"position":[[595,10]]},"1311":{"position":[[553,9]]}},"keywords":{}}],["integr",{"_index":255,"title":{"94":{"position":[[7,11]]},"222":{"position":[[7,11]]}},"content":{"15":{"position":[[261,9]]},"56":{"position":[[159,11]]},"72":{"position":[[58,9]]},"76":{"position":[[86,10]]},"94":{"position":[[47,9],[144,11]]},"107":{"position":[[100,11]]},"110":{"position":[[171,9]]},"118":{"position":[[255,11]]},"127":{"position":[[86,9]]},"148":{"position":[[163,11]]},"152":{"position":[[36,8]]},"165":{"position":[[275,10]]},"167":{"position":[[251,10]]},"172":{"position":[[70,10]]},"173":{"position":[[2161,11],[2237,9]]},"174":{"position":[[1385,10]]},"186":{"position":[[228,11]]},"187":{"position":[[72,9]]},"198":{"position":[[273,11]]},"222":{"position":[[53,9]]},"226":{"position":[[408,9]]},"230":{"position":[[113,11]]},"238":{"position":[[231,10]]},"240":{"position":[[293,9]]},"281":{"position":[[206,12]]},"284":{"position":[[8,11]]},"286":{"position":[[17,10]]},"289":{"position":[[476,11],[1237,11]]},"293":{"position":[[421,9]]},"310":{"position":[[371,10]]},"313":{"position":[[37,10]]},"339":{"position":[[195,9]]},"350":{"position":[[260,10]]},"353":{"position":[[569,9]]},"354":{"position":[[433,9],[921,12]]},"358":{"position":[[990,9]]},"366":{"position":[[220,10]]},"370":{"position":[[66,11]]},"375":{"position":[[878,8]]},"381":{"position":[[185,11]]},"383":{"position":[[200,9]]},"386":{"position":[[240,10]]},"404":{"position":[[537,9]]},"412":{"position":[[2515,9],[13774,10]]},"429":{"position":[[264,11]]},"445":{"position":[[1655,11],[1711,10]]},"447":{"position":[[181,11]]},"483":{"position":[[1,11]]},"491":{"position":[[1905,11]]},"501":{"position":[[141,10]]},"503":{"position":[[1,11]]},"504":{"position":[[1179,11]]},"510":{"position":[[169,11]]},"514":{"position":[[90,10]]},"520":{"position":[[437,10]]},"521":{"position":[[456,11]]},"522":{"position":[[16,11]]},"530":{"position":[[190,11],[540,10]]},"541":{"position":[[6,10]]},"542":{"position":[[64,10]]},"543":{"position":[[207,9]]},"551":{"position":[[423,9]]},"567":{"position":[[537,9],[763,11]]},"576":{"position":[[360,10]]},"591":{"position":[[536,11]]},"603":{"position":[[205,9]]},"619":{"position":[[318,12]]},"624":{"position":[[406,10]]},"632":{"position":[[921,11]]},"644":{"position":[[422,11]]},"668":{"position":[[354,11]]},"723":{"position":[[1016,10]]},"793":{"position":[[1233,12]]},"828":{"position":[[186,11],[364,11]]},"829":{"position":[[147,11]]},"830":{"position":[[93,11],[320,11]]},"831":{"position":[[275,9],[412,11]]},"832":{"position":[[322,11]]},"839":{"position":[[174,11]]},"912":{"position":[[196,10]]},"1284":{"position":[[49,9]]}},"keywords":{}}],["integrated.commun",{"_index":4801,"title":{},"content":{"839":{"position":[[984,20]]}},"keywords":{}}],["intel(r",{"_index":6399,"title":{},"content":{"1292":{"position":[[171,8]]}},"keywords":{}}],["intellect",{"_index":791,"title":{},"content":{"52":{"position":[[148,10]]},"539":{"position":[[148,10]]},"599":{"position":[[157,10]]}},"keywords":{}}],["intellig",{"_index":1046,"title":{},"content":{"108":{"position":[[85,13]]},"234":{"position":[[80,13]]},"289":{"position":[[164,13]]},"496":{"position":[[288,13]]},"500":{"position":[[601,11]]}},"keywords":{}}],["intend",{"_index":2731,"title":{},"content":{"412":{"position":[[8440,8]]},"430":{"position":[[594,6]]},"524":{"position":[[541,8]]},"535":{"position":[[283,8]]},"595":{"position":[[296,8]]},"617":{"position":[[834,8]]},"1159":{"position":[[152,8]]}},"keywords":{}}],["intens",{"_index":1397,"title":{},"content":{"216":{"position":[[342,9]]},"446":{"position":[[766,9],[851,9]]},"453":{"position":[[162,9]]},"576":{"position":[[423,9]]},"721":{"position":[[162,9]]}},"keywords":{}}],["intent",{"_index":2950,"title":{},"content":{"449":{"position":[[63,11]]},"829":{"position":[[330,12]]},"966":{"position":[[282,11]]}},"keywords":{}}],["intention",{"_index":2725,"title":{},"content":{"412":{"position":[[8079,14]]}},"keywords":{}}],["interact",{"_index":717,"title":{"782":{"position":[[51,12]]}},"content":{"46":{"position":[[538,12]]},"65":{"position":[[940,13]]},"70":{"position":[[241,13]]},"88":{"position":[[129,8]]},"90":{"position":[[310,11]]},"145":{"position":[[255,11]]},"156":{"position":[[295,11]]},"173":{"position":[[1502,8]]},"183":{"position":[[304,8]]},"217":{"position":[[263,11]]},"267":{"position":[[1619,11]]},"292":{"position":[[231,8]]},"320":{"position":[[248,13]]},"338":{"position":[[114,12]]},"375":{"position":[[423,11]]},"408":{"position":[[2773,11],[3248,13]]},"410":{"position":[[86,13]]},"415":{"position":[[81,12],[263,12]]},"421":{"position":[[939,12]]},"425":{"position":[[144,12]]},"477":{"position":[[29,11]]},"483":{"position":[[78,13]]},"486":{"position":[[264,8]]},"487":{"position":[[90,12]]},"491":{"position":[[971,12]]},"497":{"position":[[23,12]]},"498":{"position":[[595,12]]},"501":{"position":[[405,12]]},"502":{"position":[[486,8]]},"509":{"position":[[160,13]]},"516":{"position":[[167,8]]},"519":{"position":[[303,11]]},"571":{"position":[[275,11]]},"614":{"position":[[577,13]]},"624":{"position":[[738,11]]},"644":{"position":[[480,13]]},"656":{"position":[[139,11]]},"687":{"position":[[144,11]]},"688":{"position":[[669,11]]},"770":{"position":[[642,11]]},"778":{"position":[[41,12],[171,12]]},"782":{"position":[[35,11],[141,8],[417,12]]},"783":{"position":[[458,12]]},"784":{"position":[[79,12]]},"785":{"position":[[175,8]]},"801":{"position":[[487,12]]},"901":{"position":[[295,12]]},"1033":{"position":[[225,8]]},"1102":{"position":[[780,12]]},"1132":{"position":[[1023,12]]}},"keywords":{}}],["interaction.scal",{"_index":3293,"title":{},"content":{"534":{"position":[[553,24]]},"594":{"position":[[551,24]]}},"keywords":{}}],["interactions.complex",{"_index":6027,"title":{},"content":{"1132":{"position":[[548,20]]}},"keywords":{}}],["interactions.join",{"_index":3724,"title":{},"content":{"644":{"position":[[262,17]]}},"keywords":{}}],["intercept",{"_index":1088,"title":{},"content":{"129":{"position":[[353,10]]},"550":{"position":[[98,10]]}},"keywords":{}}],["interest",{"_index":2954,"title":{},"content":{"450":{"position":[[477,11]]},"463":{"position":[[1061,11]]},"781":{"position":[[441,10]]},"1324":{"position":[[1059,11]]}},"keywords":{}}],["interestingli",{"_index":6447,"title":{},"content":{"1294":{"position":[[1898,13]]}},"keywords":{}}],["interfac",{"_index":920,"title":{"352":{"position":[[27,11]]}},"content":{"65":{"position":[[999,10]]},"68":{"position":[[206,9]]},"73":{"position":[[62,11]]},"77":{"position":[[55,9]]},"90":{"position":[[173,10]]},"103":{"position":[[226,10]]},"136":{"position":[[245,9]]},"162":{"position":[[73,10]]},"173":{"position":[[986,9]]},"174":{"position":[[317,9]]},"185":{"position":[[327,9]]},"235":{"position":[[262,10]]},"270":{"position":[[194,11]]},"275":{"position":[[114,9],[266,10]]},"408":{"position":[[4120,9]]},"410":{"position":[[2166,9]]},"435":{"position":[[38,9]]},"502":{"position":[[833,9]]},"504":{"position":[[267,11]]},"507":{"position":[[170,9]]},"509":{"position":[[139,10]]},"514":{"position":[[397,11]]},"561":{"position":[[254,10]]},"634":{"position":[[169,9]]},"642":{"position":[[312,10]]},"707":{"position":[[266,10]]},"801":{"position":[[248,10]]},"835":{"position":[[356,10]]},"904":{"position":[[1631,10]]},"962":{"position":[[57,10],[73,9]]},"1225":{"position":[[356,9]]},"1263":{"position":[[250,9]]},"1272":{"position":[[208,10]]},"1274":{"position":[[429,10]]},"1279":{"position":[[816,10]]}},"keywords":{}}],["interfer",{"_index":6139,"title":{},"content":{"1175":{"position":[[706,9]]},"1313":{"position":[[187,9]]}},"keywords":{}}],["intermediari",{"_index":3237,"title":{},"content":{"504":{"position":[[1396,15]]}},"keywords":{}}],["intermitt",{"_index":1394,"title":{},"content":{"215":{"position":[[357,12]]},"375":{"position":[[737,12]]},"497":{"position":[[222,12]]},"723":{"position":[[2693,12]]}},"keywords":{}}],["intern",{"_index":1827,"title":{"1177":{"position":[[10,8]]},"1204":{"position":[[10,8]]}},"content":{"303":{"position":[[505,10]]},"316":{"position":[[448,11]]},"361":{"position":[[404,11]]},"412":{"position":[[4593,10]]},"703":{"position":[[458,8]]},"714":{"position":[[52,11]]},"721":{"position":[[435,10]]},"749":{"position":[[6392,8]]},"756":{"position":[[81,8]]},"805":{"position":[[64,8]]},"828":{"position":[[9,10]]},"854":{"position":[[1196,10]]},"886":{"position":[[4630,8]]},"898":{"position":[[1832,10]]},"932":{"position":[[523,10]]},"988":{"position":[[1892,10]]},"1080":{"position":[[1116,8]]},"1085":{"position":[[1024,8]]},"1095":{"position":[[108,11]]},"1105":{"position":[[256,10],[907,10]]},"1121":{"position":[[47,8]]},"1124":{"position":[[1201,10]]},"1154":{"position":[[106,8]]},"1177":{"position":[[43,8],[589,8]]},"1204":{"position":[[43,8]]},"1213":{"position":[[51,10]]},"1246":{"position":[[887,10]]}},"keywords":{}}],["internalindex",{"_index":5842,"title":{},"content":{"1080":{"position":[[1011,15],[1088,15]]},"1107":{"position":[[480,15],[1047,15]]}},"keywords":{}}],["internet",{"_index":704,"title":{},"content":{"46":{"position":[[77,8]]},"65":{"position":[[714,8]]},"69":{"position":[[212,8]]},"88":{"position":[[87,8]]},"157":{"position":[[105,8]]},"164":{"position":[[232,8]]},"173":{"position":[[1588,8]]},"183":{"position":[[129,8]]},"191":{"position":[[100,8]]},"212":{"position":[[57,8]]},"215":{"position":[[233,8]]},"274":{"position":[[156,8]]},"280":{"position":[[272,8]]},"292":{"position":[[287,8]]},"309":{"position":[[226,8]]},"322":{"position":[[282,8]]},"375":{"position":[[138,8]]},"380":{"position":[[101,8]]},"400":{"position":[[811,9]]},"407":{"position":[[586,8]]},"408":{"position":[[2168,8]]},"410":{"position":[[1043,8],[1436,8]]},"419":{"position":[[395,8]]},"446":{"position":[[417,9]]},"462":{"position":[[593,8]]},"489":{"position":[[695,8]]},"516":{"position":[[228,8]]},"534":{"position":[[278,8]]},"565":{"position":[[249,8]]},"574":{"position":[[254,8]]},"582":{"position":[[114,9]]},"594":{"position":[[276,8]]},"699":{"position":[[372,8]]},"723":{"position":[[2712,8]]},"1141":{"position":[[288,8]]},"1207":{"position":[[144,8]]},"1316":{"position":[[446,8]]}},"keywords":{}}],["internetexplor",{"_index":6473,"title":{},"content":{"1301":{"position":[[983,16]]}},"keywords":{}}],["interop",{"_index":836,"title":{},"content":{"55":{"position":[[340,9]]},"1118":{"position":[[460,9]]}},"keywords":{}}],["interrupt",{"_index":2072,"title":{},"content":{"358":{"position":[[1047,11]]},"392":{"position":[[2332,12]]},"616":{"position":[[492,12]]}},"keywords":{}}],["interv",{"_index":3551,"title":{},"content":{"610":{"position":[[301,10]]},"632":{"position":[[426,9]]},"875":{"position":[[9208,9]]},"996":{"position":[[402,8]]},"1164":{"position":[[1072,9]]}},"keywords":{}}],["intervalid",{"_index":3605,"title":{},"content":{"612":{"position":[[2210,10]]}},"keywords":{}}],["intervent",{"_index":1239,"title":{},"content":{"185":{"position":[[352,13]]},"487":{"position":[[480,13]]},"515":{"position":[[119,12]]},"690":{"position":[[425,12]]}},"keywords":{}}],["intric",{"_index":2017,"title":{},"content":{"354":{"position":[[241,9]]},"426":{"position":[[88,9]]},"1132":{"position":[[707,9]]}},"keywords":{}}],["intricaci",{"_index":2909,"title":{},"content":{"433":{"position":[[614,11]]},"521":{"position":[[181,9]]}},"keywords":{}}],["intrigu",{"_index":2908,"title":{},"content":{"433":{"position":[[9,10]]}},"keywords":{}}],["intrins",{"_index":6085,"title":{},"content":{"1150":{"position":[[178,13]]}},"keywords":{}}],["introduc",{"_index":1066,"title":{"118":{"position":[[0,11]]},"153":{"position":[[0,11]]},"179":{"position":[[0,11]]},"271":{"position":[[0,11]]},"322":{"position":[[0,11]]},"445":{"position":[[0,11]]},"479":{"position":[[0,11]]},"501":{"position":[[0,11]]},"513":{"position":[[0,11]]},"575":{"position":[[0,11]]}},"content":{"159":{"position":[[6,10]]},"185":{"position":[[6,10]]},"233":{"position":[[6,10]]},"277":{"position":[[6,10]]},"289":{"position":[[1611,10]]},"303":{"position":[[1333,10]]},"356":{"position":[[97,10]]},"377":{"position":[[30,10]]},"408":{"position":[[464,10]]},"411":{"position":[[3397,10],[3827,10]]},"412":{"position":[[14951,9]]},"427":{"position":[[779,10]]},"450":{"position":[[20,10]]},"452":{"position":[[21,10],[459,11]]},"455":{"position":[[22,10]]},"504":{"position":[[746,10]]},"508":{"position":[[6,10]]},"509":{"position":[[6,10]]},"518":{"position":[[65,10]]},"610":{"position":[[757,9]]},"699":{"position":[[267,10]]},"802":{"position":[[149,10]]},"836":{"position":[[1676,9]]},"1198":{"position":[[1168,10]]},"1294":{"position":[[38,10]]}},"keywords":{}}],["introduction.a",{"_index":3382,"title":{},"content":{"557":{"position":[[61,14]]}},"keywords":{}}],["introduction.check",{"_index":3331,"title":{},"content":{"548":{"position":[[61,18]]},"608":{"position":[[61,18]]}},"keywords":{}}],["intuit",{"_index":1037,"title":{},"content":{"104":{"position":[[179,10]]},"120":{"position":[[233,9]]},"181":{"position":[[133,9]]},"223":{"position":[[229,9]]},"231":{"position":[[238,9]]},"353":{"position":[[171,9]]},"364":{"position":[[602,9]]},"521":{"position":[[601,9]]},"560":{"position":[[682,9]]},"1009":{"position":[[28,9]]}},"keywords":{}}],["invalid",{"_index":4185,"title":{},"content":{"749":{"position":[[3940,7],[4012,7],[4127,7],[4542,7],[6228,7],[6483,7]]},"838":{"position":[[1023,7]]},"907":{"position":[[114,7],[241,7]]},"1084":{"position":[[491,7]]}},"keywords":{}}],["invalu",{"_index":1583,"title":{},"content":{"261":{"position":[[122,10]]},"289":{"position":[[1811,10]]},"361":{"position":[[135,10]]},"504":{"position":[[1443,10]]},"548":{"position":[[439,10]]},"608":{"position":[[437,10]]}},"keywords":{}}],["inventori",{"_index":2710,"title":{},"content":{"412":{"position":[[6429,9]]}},"keywords":{}}],["invest",{"_index":2646,"title":{},"content":{"411":{"position":[[5660,6]]}},"keywords":{}}],["invok",{"_index":4498,"title":{},"content":{"759":{"position":[[1539,8]]}},"keywords":{}}],["involv",{"_index":2304,"title":{"1313":{"position":[[37,9]]}},"content":{"394":{"position":[[262,8]]},"412":{"position":[[3667,7]]},"415":{"position":[[276,7]]},"564":{"position":[[80,8]]},"612":{"position":[[856,8]]},"620":{"position":[[107,8]]},"688":{"position":[[656,7]]},"1313":{"position":[[919,9]]}},"keywords":{}}],["inwork",{"_index":6024,"title":{},"content":{"1130":{"position":[[381,9]]}},"keywords":{}}],["inworker=tru",{"_index":6023,"title":{},"content":{"1130":{"position":[[300,13]]}},"keywords":{}}],["io",{"_index":175,"title":{},"content":{"11":{"position":[[960,3]]},"36":{"position":[[56,4]]},"177":{"position":[[146,3]]},"269":{"position":[[286,4]]},"287":{"position":[[1175,3]]},"298":{"position":[[719,3]]},"299":{"position":[[592,5],[649,3],[711,3],[877,3],[925,3],[935,3],[1544,3]]},"371":{"position":[[147,3]]},"408":{"position":[[1199,4]]},"445":{"position":[[2252,3]]},"446":{"position":[[1363,3]]},"618":{"position":[[85,4]]},"640":{"position":[[365,4]]},"660":{"position":[[503,3]]},"661":{"position":[[618,3]]},"662":{"position":[[1324,3]]},"1270":{"position":[[404,4]]},"1278":{"position":[[68,4]]},"1279":{"position":[[48,3]]}},"keywords":{}}],["ionic",{"_index":877,"title":{"268":{"position":[[0,5]]},"269":{"position":[[9,5]]},"270":{"position":[[32,5]]},"271":{"position":[[47,5]]},"284":{"position":[[17,5]]},"290":{"position":[[27,5]]},"307":{"position":[[13,5]]},"308":{"position":[[13,5]]},"317":{"position":[[15,5]]}},"content":{"59":{"position":[[248,7]]},"269":{"position":[[1,5],[12,5]]},"271":{"position":[[78,5]]},"278":{"position":[[245,5]]},"280":{"position":[[455,5]]},"284":{"position":[[30,5]]},"285":{"position":[[350,5]]},"286":{"position":[[161,5]]},"287":{"position":[[1292,6]]},"290":{"position":[[50,5]]},"296":{"position":[[18,5]]},"309":{"position":[[168,5]]},"310":{"position":[[339,5]]},"312":{"position":[[92,5]]},"313":{"position":[[64,5],[117,6]]},"314":{"position":[[57,6]]},"317":{"position":[[1,5]]},"318":{"position":[[5,5],[587,5]]},"479":{"position":[[351,7]]},"546":{"position":[[292,6]]},"631":{"position":[[182,7]]}},"keywords":{}}],["ionicsecur",{"_index":3788,"title":{},"content":{"661":{"position":[[351,11]]}},"keywords":{}}],["iosdatabaseloc",{"_index":178,"title":{},"content":{"11":{"position":[[1038,20]]}},"keywords":{}}],["iot",{"_index":5248,"title":{},"content":{"902":{"position":[[928,3]]}},"keywords":{}}],["ipado",{"_index":1753,"title":{},"content":{"299":{"position":[[734,7]]}},"keywords":{}}],["ipc",{"_index":6289,"title":{},"content":{"1246":{"position":[[940,4]]}},"keywords":{}}],["ipchandl",{"_index":4009,"title":{},"content":{"711":{"position":[[1684,10]]}},"keywords":{}}],["ipcmain",{"_index":3922,"title":{"693":{"position":[[33,8]]}},"content":{"693":{"position":[[966,8]]},"710":{"position":[[1383,7]]},"1246":{"position":[[2017,8]]}},"keywords":{}}],["ipcmain.handle('db",{"_index":4005,"title":{},"content":{"711":{"position":[[1486,18]]}},"keywords":{}}],["ipcrender",{"_index":3921,"title":{"693":{"position":[[19,11]]}},"content":{"693":{"position":[[1255,12]]},"710":{"position":[[1365,11]]},"711":{"position":[[480,11],[1418,11]]},"1214":{"position":[[426,12]]},"1246":{"position":[[1999,11]]}},"keywords":{}}],["ipcrenderer.invoke('db",{"_index":4010,"title":{},"content":{"711":{"position":[[1743,22]]}},"keywords":{}}],["iron",{"_index":789,"title":{},"content":{"52":{"position":[[115,5],[427,5]]},"412":{"position":[[10423,4]]},"539":{"position":[[115,5],[427,5]]},"599":{"position":[[124,5],[454,5]]}},"keywords":{}}],["ironman",{"_index":802,"title":{},"content":{"52":{"position":[[373,7]]},"539":{"position":[[373,7]]},"599":{"position":[[400,7]]}},"keywords":{}}],["irrespect",{"_index":916,"title":{},"content":{"65":{"position":[[692,12]]},"173":{"position":[[1566,12]]}},"keywords":{}}],["isdevmod",{"_index":3848,"title":{},"content":{"673":{"position":[[10,9],[75,14]]}},"keywords":{}}],["isequ",{"_index":2690,"title":{},"content":{"412":{"position":[[4522,9],[4650,9]]},"691":{"position":[[239,8]]},"1309":{"position":[[576,9]]}},"keywords":{}}],["isequal(a",{"_index":2691,"title":{},"content":{"412":{"position":[[4628,10]]},"1309":{"position":[[554,10]]}},"keywords":{}}],["isexhaust",{"_index":3270,"title":{},"content":{"523":{"position":[[497,12],[748,13]]}},"keywords":{}}],["isfetch",{"_index":3268,"title":{},"content":{"523":{"position":[[474,11],[578,12]]}},"keywords":{}}],["isn't",{"_index":1936,"title":{},"content":{"333":{"position":[[82,5]]},"347":{"position":[[576,5]]},"362":{"position":[[1647,5]]},"412":{"position":[[7520,5]]}},"keywords":{}}],["isnam",{"_index":5672,"title":{},"content":{"1039":{"position":[[188,7],[247,6],[347,6],[421,6]]}},"keywords":{}}],["isn’t",{"_index":1734,"title":{},"content":{"299":{"position":[[87,5]]},"473":{"position":[[96,5]]}},"keywords":{}}],["isol",{"_index":6484,"title":{},"content":{"1304":{"position":[[117,9],[602,10]]}},"keywords":{}}],["ispaus",{"_index":5533,"title":{"1001":{"position":[[0,11]]}},"content":{},"keywords":{}}],["ispeervalid",{"_index":5265,"title":{},"content":{"907":{"position":[[165,13],[316,12]]}},"keywords":{}}],["isrxcollect",{"_index":5384,"title":{"957":{"position":[[0,15]]}},"content":{},"keywords":{}}],["isrxcollection(myobj",{"_index":5385,"title":{},"content":{"957":{"position":[[100,22]]}},"keywords":{}}],["isrxdatabas",{"_index":5423,"title":{"978":{"position":[[0,13]]}},"content":{"978":{"position":[[96,12]]}},"keywords":{}}],["isrxdatabase(myobj",{"_index":5424,"title":{},"content":{"978":{"position":[[135,20]]}},"keywords":{}}],["isrxdocu",{"_index":5733,"title":{"1053":{"position":[[0,13]]}},"content":{},"keywords":{}}],["isrxdocument(myobj",{"_index":5734,"title":{},"content":{"1053":{"position":[[98,20]]}},"keywords":{}}],["isrxqueri",{"_index":5790,"title":{"1070":{"position":[[0,10]]}},"content":{},"keywords":{}}],["isrxquery(myobj",{"_index":5791,"title":{},"content":{"1070":{"position":[[95,17]]}},"keywords":{}}],["isstop",{"_index":5530,"title":{"1000":{"position":[[0,12]]}},"content":{},"keywords":{}}],["issu",{"_index":409,"title":{},"content":{"24":{"position":[[706,6]]},"28":{"position":[[748,7]]},"61":{"position":[[220,7]]},"76":{"position":[[151,7]]},"250":{"position":[[85,6]]},"304":{"position":[[302,6]]},"358":{"position":[[199,6],[878,6]]},"395":{"position":[[28,6]]},"411":{"position":[[4470,5]]},"412":{"position":[[1540,5],[6474,6],[14978,6]]},"483":{"position":[[961,5]]},"567":{"position":[[487,7]]},"617":{"position":[[1698,6]]},"644":{"position":[[345,7]]},"668":{"position":[[264,5]]},"836":{"position":[[1728,7]]},"1198":{"position":[[694,6],[758,5],[876,6]]}},"keywords":{}}],["issuessearch",{"_index":4134,"title":{},"content":{"749":{"position":[[70,12],[417,12],[544,12],[635,12],[788,12],[925,12],[1060,12],[1284,12],[1372,12],[1521,12],[1624,12],[1721,12],[1838,12],[1964,12],[2067,12],[2173,12],[2267,12],[2360,12],[2445,12],[2562,12],[2803,12],[2916,12],[3149,12],[3269,12],[3625,12],[3822,12],[3909,12],[3981,12],[4096,12],[4212,12],[4334,12],[4511,12],[4585,12],[4692,12],[4827,12],[4959,12],[5111,12],[5213,12],[5325,12],[5532,12],[6040,12],[6176,12],[6312,12],[6431,12],[6573,12],[6685,12],[6800,12],[6924,12],[7032,12],[7151,12],[7275,12],[7458,12],[7538,12],[7615,12],[7714,12],[7818,12],[7913,12],[8013,12],[8107,12],[8205,12],[8313,12],[8408,12],[8508,12],[8630,12],[8707,12],[8881,12],[9031,12],[9189,12],[9480,12],[9625,12],[9709,12],[9797,12],[9904,12],[10018,12],[10136,12],[10245,12],[10350,12],[10438,12],[10561,12],[10665,12],[10771,12],[10862,12],[10944,12],[11082,12],[11223,12],[11334,12],[11433,12],[11509,12],[11654,12],[11751,12],[11860,12],[12161,12],[12252,12],[12379,12],[12460,12],[12533,12],[12748,12],[12857,12],[12934,12],[13043,12],[13160,12],[13234,12],[13354,12],[13483,12],[13606,12],[13729,12],[13827,12],[13971,12],[14054,12],[14148,12],[14260,12],[14345,12],[14541,12],[14623,12],[14738,12],[14894,12],[15105,12],[15264,12],[15439,12],[15571,12],[15705,12],[15837,12],[15972,12],[16074,12],[16222,12],[16341,12],[16463,12],[16612,12],[16805,12],[16894,12],[17000,12],[17123,12],[17272,12],[17381,12],[17497,12],[17615,12],[17738,12],[17847,12],[17968,12],[18090,12],[18187,12],[18287,12],[18469,12],[18563,12],[18682,12],[18786,12],[18892,12],[18995,12],[19089,12],[19291,12],[19419,12],[19545,12],[19660,12],[19761,12],[19853,12],[19977,12],[20095,12],[20252,12],[20418,12],[20519,12],[20686,12],[20823,12],[20996,12],[21280,12],[21434,12],[21697,12],[21999,12],[22119,12],[22203,12],[22321,12],[22428,12],[22548,12],[22688,12],[22817,12],[22977,12],[23170,12],[23296,12],[23428,12],[23561,12],[23752,12],[23934,12],[24054,12],[24215,12],[24345,12],[24425,12]]}},"keywords":{}}],["it'",{"_index":531,"title":{},"content":{"34":{"position":[[248,4]]},"47":{"position":[[315,4]]},"51":{"position":[[898,4]]},"66":{"position":[[84,4]]},"117":{"position":[[142,4]]},"147":{"position":[[69,4]]},"151":{"position":[[311,4]]},"178":{"position":[[150,4]]},"253":{"position":[[235,4]]},"267":{"position":[[1471,4]]},"271":{"position":[[97,4]]},"287":{"position":[[801,4]]},"365":{"position":[[1406,4]]},"388":{"position":[[280,4]]},"392":{"position":[[2117,4],[2317,4]]},"396":{"position":[[1718,4]]},"401":{"position":[[614,4]]},"408":{"position":[[2824,4]]},"412":{"position":[[63,4],[6102,4],[6774,4],[8711,4],[8821,4],[12197,4]]},"430":{"position":[[544,4]]},"432":{"position":[[82,4],[508,4]]},"433":{"position":[[322,4]]},"436":{"position":[[299,4]]},"446":{"position":[[122,4],[937,4]]},"497":{"position":[[615,4]]},"613":{"position":[[517,4]]},"721":{"position":[[78,4]]},"889":{"position":[[1,4]]},"912":{"position":[[313,4]]},"966":{"position":[[98,4]]},"1085":{"position":[[1542,4]]},"1294":{"position":[[1279,4]]}},"keywords":{}}],["it.serv",{"_index":3667,"title":{},"content":{"622":{"position":[[199,9]]}},"keywords":{}}],["item",{"_index":1356,"title":{},"content":{"209":{"position":[[1057,5]]},"259":{"position":[[27,6],[53,6]]},"302":{"position":[[518,5]]},"353":{"position":[[723,7]]},"358":{"position":[[367,5]]},"390":{"position":[[1342,5],[1429,5]]},"392":{"position":[[437,5],[552,6],[882,5],[1029,5],[1115,5],[1664,6],[2447,5]]},"396":{"position":[[162,5],[908,5],[972,5]]},"475":{"position":[[186,6]]},"493":{"position":[[511,5]]},"749":{"position":[[16943,6],[17074,5]]},"808":{"position":[[660,6]]},"813":{"position":[[183,6]]},"858":{"position":[[390,6]]},"1080":{"position":[[645,6]]},"1316":{"position":[[832,5]]},"1324":{"position":[[1014,4]]}},"keywords":{}}],["item.syncen",{"_index":4889,"title":{},"content":{"858":{"position":[[403,16]]}},"keywords":{}}],["itemscollect",{"_index":2229,"title":{},"content":{"392":{"position":[[737,15]]}},"keywords":{}}],["itemscollection.addpipelin",{"_index":2244,"title":{},"content":{"392":{"position":[[2635,29],[4541,29]]},"397":{"position":[[1760,29]]}},"keywords":{}}],["itemscollection.bulkinsert",{"_index":2235,"title":{},"content":{"392":{"position":[[1087,27]]}},"keywords":{}}],["itemscollection.count().exec",{"_index":2232,"title":{},"content":{"392":{"position":[[939,31]]}},"keywords":{}}],["items—id",{"_index":3386,"title":{},"content":{"559":{"position":[[127,11]]}},"keywords":{}}],["iter",{"_index":2886,"title":{"984":{"position":[[11,10]]}},"content":{"427":{"position":[[981,7]]},"452":{"position":[[309,7]]},"626":{"position":[[695,9],[749,7],[1027,9]]},"818":{"position":[[190,8]]},"875":{"position":[[1589,7],[6598,9],[8883,9]]},"984":{"position":[[89,9],[504,9]]},"985":{"position":[[409,10],[698,9]]},"988":{"position":[[6020,10]]},"996":{"position":[[68,9]]},"1295":{"position":[[1114,9]]},"1296":{"position":[[155,7],[187,9],[1156,7]]}},"keywords":{}}],["itrxstorag",{"_index":2936,"title":{},"content":{"442":{"position":[[104,11]]}},"keywords":{}}],["itself",{"_index":364,"title":{},"content":{"22":{"position":[[19,6]]},"40":{"position":[[292,6]]},"188":{"position":[[171,6]]},"230":{"position":[[84,7]]},"304":{"position":[[340,6]]},"392":{"position":[[1482,7]]},"411":{"position":[[868,6]]},"458":{"position":[[640,6]]},"535":{"position":[[17,6]]},"595":{"position":[[17,6]]},"627":{"position":[[305,6]]},"697":{"position":[[289,6]]},"703":{"position":[[762,7]]},"716":{"position":[[23,6],[179,7],[291,6]]},"723":{"position":[[1956,6]]},"772":{"position":[[254,6]]},"797":{"position":[[44,6]]},"800":{"position":[[328,7]]},"829":{"position":[[159,7],[1064,6]]},"835":{"position":[[590,7]]},"836":{"position":[[289,6]]},"856":{"position":[[183,6]]},"981":{"position":[[488,7]]},"988":{"position":[[806,7]]},"1004":{"position":[[61,7]]},"1067":{"position":[[102,7]]},"1088":{"position":[[152,6]]},"1095":{"position":[[246,7]]},"1162":{"position":[[746,6]]},"1165":{"position":[[27,6]]},"1210":{"position":[[20,6]]},"1250":{"position":[[331,6]]},"1316":{"position":[[3345,7]]}},"keywords":{}}],["it’",{"_index":2052,"title":{},"content":{"357":{"position":[[491,4]]},"360":{"position":[[659,4]]},"479":{"position":[[105,4]]},"482":{"position":[[29,4]]},"559":{"position":[[91,4]]},"560":{"position":[[31,4]]},"567":{"position":[[1148,4]]}},"keywords":{}}],["jaccard",{"_index":2293,"title":{},"content":{"393":{"position":[[276,7]]}},"keywords":{}}],["jan",{"_index":268,"title":{},"content":{"16":{"position":[[11,3]]}},"keywords":{}}],["javascript",{"_index":7,"title":{"12":{"position":[[40,10]]},"76":{"position":[[8,11],[34,10]]},"94":{"position":[[24,10]]},"107":{"position":[[8,11],[34,10]]},"207":{"position":[[20,10]]},"213":{"position":[[5,10]]},"222":{"position":[[24,10]]},"230":{"position":[[8,11],[34,10]]},"254":{"position":[[23,10]]},"359":{"position":[[34,10]]},"363":{"position":[[25,10]]},"374":{"position":[[69,10]]},"378":{"position":[[26,10]]},"389":{"position":[[55,10]]},"426":{"position":[[24,10]]},"431":{"position":[[47,11]]},"513":{"position":[[22,10]]},"900":{"position":[[77,10]]},"903":{"position":[[52,10]]},"1088":{"position":[[13,10]]},"1254":{"position":[[0,10]]},"1282":{"position":[[28,10]]}},"content":{"1":{"position":[[79,10]]},"13":{"position":[[50,10],[161,10]]},"15":{"position":[[61,10],[292,10]]},"16":{"position":[[94,10]]},"17":{"position":[[49,10],[151,10]]},"24":{"position":[[16,10]]},"27":{"position":[[57,10]]},"28":{"position":[[13,10],[361,10],[433,10]]},"29":{"position":[[10,10]]},"30":{"position":[[13,10],[168,10],[322,10]]},"34":{"position":[[168,10]]},"35":{"position":[[26,10]]},"36":{"position":[[129,11]]},"42":{"position":[[53,10]]},"45":{"position":[[26,10]]},"76":{"position":[[16,10],[45,10]]},"83":{"position":[[171,10]]},"94":{"position":[[70,10]]},"104":{"position":[[82,11]]},"105":{"position":[[37,10]]},"107":{"position":[[27,11],[53,10],[117,10]]},"116":{"position":[[23,10]]},"155":{"position":[[24,10]]},"173":{"position":[[2178,10],[2271,10]]},"174":{"position":[[11,10],[1208,11],[1234,10],[1283,11],[1317,10],[1412,10],[1480,10]]},"179":{"position":[[85,10]]},"188":{"position":[[47,11],[146,10],[453,10],[575,10],[1544,10],[1630,10],[2453,10],[2580,10]]},"207":{"position":[[59,10]]},"222":{"position":[[87,10]]},"228":{"position":[[467,10]]},"229":{"position":[[29,10]]},"230":{"position":[[36,10],[73,10],[130,10],[214,10]]},"231":{"position":[[109,10],[134,10]]},"241":{"position":[[587,10]]},"254":{"position":[[61,11]]},"269":{"position":[[88,11]]},"281":{"position":[[35,11]]},"284":{"position":[[166,10]]},"286":{"position":[[41,10]]},"304":{"position":[[312,10]]},"362":{"position":[[819,10]]},"364":{"position":[[1,10],[26,11]]},"371":{"position":[[191,10]]},"373":{"position":[[613,10]]},"378":{"position":[[99,10]]},"387":{"position":[[78,10]]},"392":{"position":[[3262,10]]},"396":{"position":[[1550,11]]},"408":{"position":[[3887,10],[4024,10],[4893,11]]},"412":{"position":[[9679,11]]},"429":{"position":[[65,10]]},"437":{"position":[[158,10]]},"438":{"position":[[54,10]]},"440":{"position":[[10,10],[234,10],[439,10]]},"445":{"position":[[152,11],[210,12]]},"451":{"position":[[587,10]]},"454":{"position":[[426,11]]},"458":{"position":[[200,10]]},"460":{"position":[[89,10],[525,10],[583,10],[1329,10]]},"461":{"position":[[476,10]]},"468":{"position":[[89,10]]},"479":{"position":[[37,10],[470,10]]},"513":{"position":[[18,10]]},"514":{"position":[[54,10]]},"569":{"position":[[1305,10]]},"610":{"position":[[886,10]]},"611":{"position":[[609,10]]},"612":{"position":[[1075,11]]},"631":{"position":[[11,10]]},"655":{"position":[[181,10]]},"662":{"position":[[46,10],[624,10]]},"688":{"position":[[473,10]]},"699":{"position":[[798,10],[813,10]]},"703":{"position":[[147,10],[1142,10]]},"705":{"position":[[439,10]]},"707":{"position":[[101,10],[455,10]]},"710":{"position":[[32,10],[566,10]]},"711":{"position":[[1033,10]]},"732":{"position":[[34,10]]},"740":{"position":[[140,10]]},"743":{"position":[[132,10]]},"749":{"position":[[1479,10],[8804,10]]},"773":{"position":[[153,10]]},"776":{"position":[[155,10]]},"800":{"position":[[216,10],[317,10]]},"801":{"position":[[192,10]]},"817":{"position":[[6,11]]},"818":{"position":[[40,10]]},"821":{"position":[[389,10]]},"835":{"position":[[306,10]]},"837":{"position":[[16,10]]},"838":{"position":[[46,10],[1270,10]]},"872":{"position":[[44,10]]},"904":{"position":[[544,10]]},"908":{"position":[[245,10]]},"958":{"position":[[89,10],[293,10]]},"962":{"position":[[404,10]]},"964":{"position":[[88,10]]},"968":{"position":[[166,10],[362,10]]},"979":{"position":[[125,10]]},"1020":{"position":[[243,10]]},"1030":{"position":[[11,10]]},"1072":{"position":[[801,10],[1377,10]]},"1085":{"position":[[111,10]]},"1088":{"position":[[364,10]]},"1089":{"position":[[228,10]]},"1102":{"position":[[218,10]]},"1105":{"position":[[25,10]]},"1106":{"position":[[27,10]]},"1115":{"position":[[74,10],[582,10]]},"1117":{"position":[[530,10]]},"1118":{"position":[[161,10]]},"1162":{"position":[[42,10],[353,10]]},"1164":{"position":[[1003,10]]},"1171":{"position":[[59,10]]},"1181":{"position":[[108,10],[440,10]]},"1183":{"position":[[102,10],[437,10]]},"1191":{"position":[[147,10]]},"1203":{"position":[[35,10]]},"1214":{"position":[[88,10],[166,10]]},"1225":{"position":[[23,10]]},"1227":{"position":[[48,10],[478,10]]},"1230":{"position":[[169,10]]},"1238":{"position":[[275,10]]},"1241":{"position":[[70,10]]},"1246":{"position":[[819,10]]},"1252":{"position":[[75,11]]},"1265":{"position":[[41,10],[472,10]]},"1267":{"position":[[155,10]]},"1270":{"position":[[177,10]]},"1282":{"position":[[6,10]]},"1292":{"position":[[804,10]]},"1300":{"position":[[110,10],[827,10]]},"1301":{"position":[[651,10],[1505,10]]},"1309":{"position":[[42,10]]},"1315":{"position":[[1054,10]]},"1324":{"position":[[386,11]]}},"keywords":{}}],["javascript"",{"_index":1528,"title":{},"content":{"244":{"position":[[1576,16]]}},"keywords":{}}],["javascript'",{"_index":1036,"title":{},"content":{"104":{"position":[[94,12]]},"174":{"position":[[589,12],[1355,12]]},"179":{"position":[[296,12]]},"364":{"position":[[170,12]]}},"keywords":{}}],["javascript/dist/index.j",{"_index":1265,"title":{},"content":{"188":{"position":[[1788,24],[1943,24]]}},"keywords":{}}],["jd1",{"_index":4307,"title":{},"content":{"749":{"position":[[13261,3]]}},"keywords":{}}],["jd2",{"_index":4308,"title":{},"content":{"749":{"position":[[13381,3]]}},"keywords":{}}],["jd3",{"_index":4310,"title":{},"content":{"749":{"position":[[13510,3]]}},"keywords":{}}],["jetstream",{"_index":4922,"title":{},"content":{"865":{"position":[[65,9]]}},"keywords":{}}],["jevon",{"_index":2580,"title":{},"content":{"409":{"position":[[1,7]]}},"keywords":{}}],["jinaai/jina",{"_index":2458,"title":{},"content":{"401":{"position":[[318,11],[365,11],[412,11]]}},"keywords":{}}],["john",{"_index":5799,"title":{},"content":{"1072":{"position":[[2358,5],[2385,5],[2518,5],[2690,6]]}},"keywords":{}}],["john_do",{"_index":2871,"title":{},"content":{"425":{"position":[[309,12]]}},"keywords":{}}],["join",{"_index":1326,"title":{},"content":{"205":{"position":[[207,6]]},"210":{"position":[[647,5]]},"252":{"position":[[79,6]]},"261":{"position":[[1053,7]]},"263":{"position":[[417,4]]},"306":{"position":[[260,4]]},"352":{"position":[[189,5]]},"354":{"position":[[251,5],[785,5]]},"412":{"position":[[13586,4],[13949,4],[13966,4],[14169,4],[14449,5]]},"422":{"position":[[178,4]]},"483":{"position":[[871,4]]},"705":{"position":[[530,5],[733,6]]},"824":{"position":[[360,4]]},"898":{"position":[[3712,6]]},"899":{"position":[[422,4]]},"902":{"position":[[188,4]]},"905":{"position":[[130,4]]},"1071":{"position":[[282,7]]},"1315":{"position":[[429,4]]},"1317":{"position":[[781,4]]}},"keywords":{}}],["joins.requir",{"_index":2009,"title":{},"content":{"353":{"position":[[358,13]]}},"keywords":{}}],["journey",{"_index":1076,"title":{},"content":{"119":{"position":[[14,7]]}},"keywords":{}}],["journeyapp",{"_index":687,"title":{},"content":{"43":{"position":[[694,11]]}},"keywords":{}}],["jqueri",{"_index":1913,"title":{"319":{"position":[[24,6]]},"320":{"position":[[0,6]]},"321":{"position":[[27,6]]},"331":{"position":[[15,6]]},"332":{"position":[[16,6]]},"335":{"position":[[22,7]]},"346":{"position":[[33,6]]}},"content":{"320":{"position":[[1,6],[198,6]]},"321":{"position":[[21,6]]},"323":{"position":[[554,6]]},"326":{"position":[[124,6]]},"327":{"position":[[94,6]]},"329":{"position":[[186,6]]},"330":{"position":[[14,6]]},"331":{"position":[[15,6]]},"335":{"position":[[73,6],[140,6],[925,6]]},"338":{"position":[[43,6]]},"342":{"position":[[150,6]]},"346":{"position":[[572,6]]},"347":{"position":[[569,6]]},"362":{"position":[[1640,6]]}},"keywords":{}}],["jquery.offlin",{"_index":1921,"title":{},"content":{"323":{"position":[[146,14]]}},"keywords":{}}],["js",{"_index":1262,"title":{},"content":{"188":{"position":[[1683,3]]},"291":{"position":[[466,2]]},"315":{"position":[[38,2],[150,2],[246,4]]},"412":{"position":[[9729,2],[9820,3]]},"426":{"position":[[7,2]]},"427":{"position":[[169,2]]},"452":{"position":[[767,2]]},"482":{"position":[[375,4],[444,2]]},"551":{"position":[[455,2]]},"553":{"position":[[115,2]]},"554":{"position":[[600,4]]},"564":{"position":[[311,4]]},"638":{"position":[[305,4]]},"717":{"position":[[76,2],[135,2],[334,2],[633,4]]},"865":{"position":[[270,2]]},"896":{"position":[[366,2]]},"897":{"position":[[96,2]]},"898":{"position":[[61,2],[3023,4]]},"1237":{"position":[[729,4]]},"1266":{"position":[[888,6]]}},"keywords":{}}],["js/typescript",{"_index":681,"title":{},"content":{"43":{"position":[[541,14]]}},"keywords":{}}],["jsfiddl",{"_index":1864,"title":{},"content":{"304":{"position":[[412,8]]}},"keywords":{}}],["json",{"_index":217,"title":{"73":{"position":[[6,4]]},"104":{"position":[[6,4]]},"141":{"position":[[0,4]]},"169":{"position":[[0,4]]},"197":{"position":[[0,4]]},"231":{"position":[[6,6]]},"345":{"position":[[0,4]]},"348":{"position":[[0,4]]},"349":{"position":[[4,4]]},"355":{"position":[[8,4]]},"356":{"position":[[0,4]]},"357":{"position":[[8,4]]},"358":{"position":[[0,4],[32,4]]},"359":{"position":[[8,4]]},"361":{"position":[[9,4]]},"363":{"position":[[7,4]]},"364":{"position":[[13,4]]},"365":{"position":[[31,4]]},"366":{"position":[[24,4]]},"368":{"position":[[6,4]]},"369":{"position":[[5,4]]},"371":{"position":[[14,4]]},"372":{"position":[[18,4]]},"426":{"position":[[40,4]]},"457":{"position":[[16,4]]},"508":{"position":[[0,4]]},"528":{"position":[[0,4]]},"588":{"position":[[0,4]]},"1288":{"position":[[15,4]]}},"content":{"14":{"position":[[523,4]]},"20":{"position":[[55,4]]},"34":{"position":[[25,4],[214,4]]},"73":{"position":[[7,4]]},"104":{"position":[[21,4],[126,4]]},"141":{"position":[[72,4]]},"169":{"position":[[61,4],[121,4]]},"170":{"position":[[436,4]]},"174":{"position":[[441,4],[485,6],[621,4],[833,4]]},"197":{"position":[[72,4]]},"231":{"position":[[37,4],[165,4]]},"283":{"position":[[161,4]]},"303":{"position":[[268,4]]},"345":{"position":[[57,4]]},"350":{"position":[[29,5],[238,4]]},"351":{"position":[[280,4]]},"352":{"position":[[308,4]]},"353":{"position":[[327,4],[656,4],[733,4]]},"354":{"position":[[30,4],[1613,4],[1641,4]]},"356":{"position":[[120,4],[156,4],[211,4],[274,4],[414,4],[668,4]]},"357":{"position":[[28,4],[180,4],[210,4],[264,4]]},"358":{"position":[[57,4],[294,4],[382,4],[692,4]]},"359":{"position":[[142,4]]},"360":{"position":[[7,4],[50,4],[171,4],[264,4],[639,4],[717,4]]},"361":{"position":[[1,4],[30,4],[233,4],[389,4]]},"362":{"position":[[1,4],[380,4],[493,4],[594,4],[787,4],[893,4]]},"364":{"position":[[95,4],[133,4],[218,4],[313,4],[467,4],[491,4],[757,4]]},"365":{"position":[[20,4]]},"366":{"position":[[25,4],[430,4]]},"367":{"position":[[9,4]]},"369":{"position":[[98,4],[185,4],[317,4],[566,4],[978,4]]},"370":{"position":[[152,4]]},"371":{"position":[[101,4],[231,4]]},"372":{"position":[[84,4],[203,4],[347,4]]},"373":{"position":[[379,4],[450,4]]},"381":{"position":[[301,4]]},"382":{"position":[[61,4]]},"408":{"position":[[2968,4]]},"426":{"position":[[119,4]]},"427":{"position":[[663,4]]},"430":{"position":[[415,4],[445,4]]},"432":{"position":[[246,4]]},"439":{"position":[[586,4]]},"452":{"position":[[147,4],[606,4]]},"453":{"position":[[749,4]]},"457":{"position":[[80,4],[228,4],[281,4],[503,4],[568,4]]},"462":{"position":[[720,4]]},"464":{"position":[[797,4]]},"508":{"position":[[17,4]]},"528":{"position":[[14,4]]},"560":{"position":[[257,4],[454,4]]},"566":{"position":[[96,4],[158,4],[187,4],[361,4]]},"567":{"position":[[266,4]]},"588":{"position":[[50,4]]},"661":{"position":[[1630,4]]},"686":{"position":[[375,4]]},"687":{"position":[[95,4]]},"689":{"position":[[288,4]]},"698":{"position":[[43,4]]},"711":{"position":[[673,4]]},"749":{"position":[[3057,4],[11980,4],[13425,4],[19224,4]]},"772":{"position":[[1979,4]]},"800":{"position":[[79,4],[134,4]]},"841":{"position":[[199,6],[359,4],[1202,4]]},"865":{"position":[[116,5]]},"936":{"position":[[110,4]]},"952":{"position":[[31,4],[153,4]]},"953":{"position":[[15,4]]},"971":{"position":[[31,4],[265,4]]},"972":{"position":[[15,4]]},"1051":{"position":[[38,4],[164,4],[430,4]]},"1052":{"position":[[182,4]]},"1071":{"position":[[110,4]]},"1072":{"position":[[330,4]]},"1084":{"position":[[273,4]]},"1085":{"position":[[60,4],[1521,4]]},"1104":{"position":[[730,4]]},"1116":{"position":[[75,4]]},"1162":{"position":[[459,4]]},"1171":{"position":[[424,4]]},"1181":{"position":[[546,4]]},"1213":{"position":[[223,4]]},"1220":{"position":[[329,4]]},"1249":{"position":[[405,4]]},"1252":{"position":[[10,4]]},"1282":{"position":[[449,4]]},"1287":{"position":[[12,4]]},"1288":{"position":[[20,4],[110,4],[139,4],[255,4]]}},"keywords":{}}],["json.firstnam",{"_index":5730,"title":{},"content":{"1052":{"position":[[217,14]]}},"keywords":{}}],["json.pars",{"_index":2876,"title":{},"content":{"426":{"position":[[171,11]]},"800":{"position":[[200,12]]},"981":{"position":[[1006,12]]}},"keywords":{}}],["json.parse(event.data",{"_index":5053,"title":{},"content":{"875":{"position":[[8261,23]]}},"keywords":{}}],["json.parse(localstorage.getitem('us",{"_index":2881,"title":{},"content":{"426":{"position":[[500,41]]}},"keywords":{}}],["json.parse(sav",{"_index":3390,"title":{},"content":{"559":{"position":[[385,17]]}},"keywords":{}}],["json.passwordhash",{"_index":4311,"title":{},"content":{"749":{"position":[[13541,17]]}},"keywords":{}}],["json.stringifi",{"_index":1351,"title":{},"content":{"209":{"position":[[869,16]]},"255":{"position":[[1215,16]]},"426":{"position":[[152,14]]},"451":{"position":[[508,17]]},"457":{"position":[[532,16],[649,16]]},"988":{"position":[[2669,16]]},"1065":{"position":[[622,16]]},"1102":{"position":[[642,16]]}},"keywords":{}}],["json.stringify("production"",{"_index":3854,"title":{},"content":{"674":{"position":[[187,38]]}},"keywords":{}}],["json.stringify(a",{"_index":3912,"title":{},"content":{"691":{"position":[[261,17]]}},"keywords":{}}],["json.stringify(b",{"_index":3913,"title":{},"content":{"691":{"position":[[283,18]]}},"keywords":{}}],["json.stringify(changerow",{"_index":5039,"title":{},"content":{"875":{"position":[[6374,26]]}},"keywords":{}}],["json.stringify(data)}\\n\\n",{"_index":3603,"title":{},"content":{"612":{"position":[[2112,29]]}},"keywords":{}}],["json.stringify(ev",{"_index":5045,"title":{},"content":{"875":{"position":[[7459,21]]}},"keywords":{}}],["json.stringify(us",{"_index":2879,"title":{},"content":{"426":{"position":[[416,22]]}},"keywords":{}}],["json.stringify(usernam",{"_index":3391,"title":{},"content":{"559":{"position":[[467,26]]}},"keywords":{}}],["json/nosql",{"_index":2014,"title":{"354":{"position":[[30,11]]}},"content":{},"keywords":{}}],["json1",{"_index":2048,"title":{},"content":{"357":{"position":[[138,5],[334,5]]},"362":{"position":[[405,5]]}},"keywords":{}}],["json_extract",{"_index":6370,"title":{},"content":{"1282":{"position":[[467,13],[532,12]]}},"keywords":{}}],["jsonb",{"_index":2034,"title":{},"content":{"356":{"position":[[165,5],[381,5],[838,5]]},"362":{"position":[[357,5]]}},"keywords":{}}],["jsonschema",{"_index":2116,"title":{},"content":{"367":{"position":[[411,10],[465,10],[571,10]]},"1132":{"position":[[378,10]]},"1260":{"position":[[41,10]]},"1286":{"position":[[136,10]]}},"keywords":{}}],["json—wheth",{"_index":2090,"title":{},"content":{"362":{"position":[[328,12]]}},"keywords":{}}],["jsx",{"_index":5732,"title":{},"content":{"1052":{"position":[[531,4]]}},"keywords":{}}],["jump",{"_index":2339,"title":{},"content":{"396":{"position":[[424,5]]},"806":{"position":[[343,5]]}},"keywords":{}}],["jwt",{"_index":1538,"title":{},"content":{"245":{"position":[[160,3]]}},"keywords":{}}],["karma",{"_index":4076,"title":{},"content":{"730":{"position":[[177,6]]}},"keywords":{}}],["kb",{"_index":2972,"title":{},"content":{"454":{"position":[[693,2]]},"461":{"position":[[32,2],[257,2]]}},"keywords":{}}],["kbit/",{"_index":3026,"title":{},"content":{"462":{"position":[[628,7],[651,7]]}},"keywords":{}}],["keep",{"_index":740,"title":{},"content":{"47":{"position":[[1015,5]]},"125":{"position":[[163,5]]},"158":{"position":[[200,4]]},"162":{"position":[[607,5]]},"185":{"position":[[170,7]]},"255":{"position":[[1567,4]]},"265":{"position":[[761,5]]},"275":{"position":[[277,7]]},"287":{"position":[[972,5]]},"301":{"position":[[306,4]]},"323":{"position":[[177,4],[596,5]]},"328":{"position":[[236,4]]},"339":{"position":[[136,7]]},"342":{"position":[[137,7]]},"365":{"position":[[236,5]]},"369":{"position":[[445,4]]},"407":{"position":[[616,4]]},"408":{"position":[[5013,4]]},"411":{"position":[[2490,4]]},"412":{"position":[[3469,4],[8795,4],[15346,4]]},"419":{"position":[[984,7]]},"421":{"position":[[786,4]]},"460":{"position":[[139,5]]},"467":{"position":[[477,5]]},"481":{"position":[[827,4]]},"482":{"position":[[91,4]]},"490":{"position":[[646,4]]},"498":{"position":[[613,4]]},"502":{"position":[[895,4]]},"556":{"position":[[1791,4]]},"557":{"position":[[491,4]]},"562":{"position":[[1742,7]]},"574":{"position":[[289,7]]},"575":{"position":[[455,5]]},"612":{"position":[[497,5],[1980,5]]},"625":{"position":[[115,4]]},"626":{"position":[[907,4]]},"634":{"position":[[541,5]]},"635":{"position":[[465,5]]},"642":{"position":[[136,4]]},"699":{"position":[[552,4]]},"700":{"position":[[860,4]]},"707":{"position":[[487,4]]},"709":{"position":[[608,4]]},"754":{"position":[[321,4]]},"828":{"position":[[477,5]]},"857":{"position":[[521,4]]},"858":{"position":[[437,4]]},"860":{"position":[[343,5]]},"875":{"position":[[7335,5]]},"1009":{"position":[[596,5]]},"1069":{"position":[[367,4]]},"1148":{"position":[[219,5]]},"1304":{"position":[[499,4]]},"1316":{"position":[[3061,5]]},"1321":{"position":[[424,4]]}},"keywords":{}}],["keep.first",{"_index":3195,"title":{},"content":{"496":{"position":[[618,10]]}},"keywords":{}}],["keepindexesonpar",{"_index":6115,"title":{},"content":{"1164":{"position":[[521,19],[749,19],[796,20]]},"1165":{"position":[[414,20]]}},"keywords":{}}],["kelso",{"_index":5349,"title":{},"content":{"948":{"position":[[426,7]]}},"keywords":{}}],["kept",{"_index":3515,"title":{"618":{"position":[[20,4]]}},"content":{"582":{"position":[[51,4]]},"698":{"position":[[512,4]]},"799":{"position":[[195,4]]}},"keywords":{}}],["key",{"_index":556,"title":{"141":{"position":[[5,3]]},"169":{"position":[[5,3]]},"197":{"position":[[5,3]]},"323":{"position":[[0,3]]},"345":{"position":[[5,3]]},"360":{"position":[[0,3]]},"508":{"position":[[5,3]]},"528":{"position":[[5,3]]},"588":{"position":[[5,3]]},"631":{"position":[[11,3]]},"733":{"position":[[0,3]]},"734":{"position":[[7,3]]},"870":{"position":[[0,3]]},"896":{"position":[[0,3]]},"1078":{"position":[[18,4]]},"1122":{"position":[[29,3]]},"1156":{"position":[[0,3]]}},"content":{"35":{"position":[[345,3]]},"45":{"position":[[126,3]]},"53":{"position":[[3,3]]},"57":{"position":[[447,3],[483,3]]},"63":{"position":[[121,3]]},"119":{"position":[[54,3]]},"133":{"position":[[12,3]]},"141":{"position":[[77,3],[99,3],[135,4]]},"169":{"position":[[66,3],[126,5]]},"170":{"position":[[441,3]]},"182":{"position":[[12,3]]},"190":{"position":[[12,3]]},"197":{"position":[[77,3],[127,4]]},"247":{"position":[[112,3]]},"265":{"position":[[12,3]]},"271":{"position":[[266,3]]},"278":{"position":[[191,3]]},"283":{"position":[[166,3]]},"291":{"position":[[308,4]]},"293":{"position":[[81,3]]},"303":{"position":[[317,3],[460,3]]},"311":{"position":[[90,3]]},"316":{"position":[[50,3]]},"317":{"position":[[41,3],[199,3]]},"345":{"position":[[62,3]]},"354":{"position":[[512,5]]},"356":{"position":[[357,4]]},"358":{"position":[[195,3]]},"361":{"position":[[238,3],[323,3],[468,3]]},"362":{"position":[[941,3]]},"366":{"position":[[71,3]]},"367":{"position":[[771,3],[882,3]]},"407":{"position":[[861,3]]},"408":{"position":[[45,3],[3752,3]]},"412":{"position":[[10240,3]]},"424":{"position":[[176,3]]},"426":{"position":[[49,3]]},"427":{"position":[[491,3]]},"429":{"position":[[196,3],[554,3]]},"432":{"position":[[221,3],[1254,3],[1438,3]]},"441":{"position":[[173,3]]},"450":{"position":[[82,3]]},"451":{"position":[[134,3],[262,3],[745,3]]},"458":{"position":[[410,3]]},"468":{"position":[[170,3]]},"485":{"position":[[141,3]]},"491":{"position":[[24,3]]},"508":{"position":[[22,3]]},"528":{"position":[[19,3]]},"533":{"position":[[156,3]]},"544":{"position":[[402,3]]},"550":{"position":[[171,4]]},"551":{"position":[[234,3]]},"555":{"position":[[421,3],[770,5]]},"559":{"position":[[52,3],[1228,4]]},"560":{"position":[[60,3],[384,3]]},"566":{"position":[[54,3],[235,4]]},"567":{"position":[[991,3]]},"593":{"position":[[156,3]]},"604":{"position":[[336,3]]},"620":{"position":[[127,3]]},"639":{"position":[[75,3],[93,3]]},"659":{"position":[[77,3],[517,4],[598,4],[664,4],[803,3]]},"683":{"position":[[702,3]]},"693":{"position":[[914,4],[1234,4]]},"705":{"position":[[817,4]]},"716":{"position":[[318,4],[438,3]]},"734":{"position":[[5,3],[101,3],[803,3]]},"749":{"position":[[717,3],[1907,3],[7390,4],[9161,3],[10303,3],[11295,3],[19720,3],[20035,3],[20867,3],[21474,3],[22400,3]]},"772":{"position":[[283,3]]},"793":{"position":[[439,3]]},"835":{"position":[[19,3],[908,3]]},"838":{"position":[[392,3]]},"841":{"position":[[78,3]]},"863":{"position":[[18,4],[149,3]]},"897":{"position":[[541,3],[577,3]]},"898":{"position":[[176,3],[213,4],[981,4],[1688,3],[2821,3],[4455,5]]},"912":{"position":[[482,3]]},"934":{"position":[[262,3]]},"943":{"position":[[127,3]]},"951":{"position":[[186,3]]},"1056":{"position":[[296,3]]},"1065":{"position":[[1565,3],[1856,3]]},"1074":{"position":[[1020,3]]},"1077":{"position":[[90,3],[145,3]]},"1078":{"position":[[36,3],[317,4],[379,3],[582,3]]},"1080":{"position":[[205,3]]},"1082":{"position":[[290,3]]},"1083":{"position":[[490,3]]},"1102":{"position":[[1394,4]]},"1123":{"position":[[33,3],[479,3]]},"1124":{"position":[[967,3]]},"1132":{"position":[[821,3]]},"1147":{"position":[[59,3]]},"1177":{"position":[[378,4]]},"1246":{"position":[[1865,3]]},"1247":{"position":[[564,3]]},"1296":{"position":[[427,3]]},"1309":{"position":[[1425,3]]},"1320":{"position":[[775,3]]}},"keywords":{}}],["key(",{"_index":4283,"title":{},"content":{"749":{"position":[[11384,6]]}},"keywords":{}}],["key.set",{"_index":5945,"title":{},"content":{"1102":{"position":[[1287,7]]}},"keywords":{}}],["key="hero.id">",{"_index":3506,"title":{},"content":{"580":{"position":[[800,28]]},"601":{"position":[[188,28]]},"602":{"position":[[575,28]]}},"keywords":{}}],["key={doc.id}>{doc.name}</li>",{"_index":3183,"title":{},"content":{"494":{"position":[[366,37]]}},"keywords":{}}],["key={hero.id}>",{"_index":3316,"title":{},"content":{"541":{"position":[[619,17]]},"562":{"position":[[1490,17]]}},"keywords":{}}],["key={hero.id}>{hero.name}</li>",{"_index":3325,"title":{},"content":{"542":{"position":[[870,39]]}},"keywords":{}}],["key={hero.name}>{hero.name}</li>",{"_index":4764,"title":{},"content":{"829":{"position":[[3566,41]]}},"keywords":{}}],["key={index",{"_index":3279,"title":{},"content":{"523":{"position":[[726,11]]}},"keywords":{}}],["keychain",{"_index":3340,"title":{},"content":{"551":{"position":[[315,8]]},"556":{"position":[[119,8],[237,8],[297,8],[325,10],[521,11]]}},"keywords":{}}],["keychain.getgenericpassword",{"_index":3364,"title":{},"content":{"556":{"position":[[401,30]]}},"keywords":{}}],["keycompress",{"_index":1903,"title":{},"content":{"316":{"position":[[188,15],[400,15]]},"639":{"position":[[245,15],[371,15]]},"734":{"position":[[613,15],[670,14]]},"749":{"position":[[666,14]]},"1078":{"position":[[127,15],[184,14]]},"1080":{"position":[[77,15]]},"1084":{"position":[[164,14]]},"1311":{"position":[[369,15]]}},"keywords":{}}],["keyrang",{"_index":2992,"title":{},"content":{"459":{"position":[[579,8]]},"1296":{"position":[[1210,9],[1318,8],[1427,8]]}},"keywords":{}}],["keys.us",{"_index":3362,"title":{},"content":{"556":{"position":[[67,8]]}},"keywords":{}}],["keys/valu",{"_index":4809,"title":{},"content":{"841":{"position":[[892,11]]}},"keywords":{}}],["keystrok",{"_index":2712,"title":{},"content":{"412":{"position":[[6528,9]]}},"keywords":{}}],["keyword",{"_index":1437,"title":{"243":{"position":[[4,10]]}},"content":{"723":{"position":[[2250,7]]},"789":{"position":[[349,7]]},"791":{"position":[[250,8]]},"808":{"position":[[9,7]]}},"keywords":{}}],["keywords.y",{"_index":6565,"title":{},"content":{"1317":{"position":[[437,12]]}},"keywords":{}}],["key—but",{"_index":5212,"title":{},"content":{"898":{"position":[[2890,7]]}},"keywords":{}}],["kill",{"_index":6107,"title":{},"content":{"1162":{"position":[[64,6]]},"1171":{"position":[[81,6]]},"1181":{"position":[[130,6]]}},"keywords":{}}],["kind",{"_index":3919,"title":{},"content":{"691":{"position":[[631,4]]},"698":{"position":[[779,4]]},"700":{"position":[[1046,5]]},"701":{"position":[[235,4]]},"705":{"position":[[195,4]]},"784":{"position":[[66,4]]},"1067":{"position":[[1661,5]]},"1313":{"position":[[934,4]]},"1316":{"position":[[2484,4]]}},"keywords":{}}],["king",{"_index":4096,"title":{},"content":{"739":{"position":[[539,8]]}},"keywords":{}}],["kit",{"_index":1229,"title":{},"content":{"177":{"position":[[51,3]]}},"keywords":{}}],["kitti",{"_index":4612,"title":{},"content":{"792":{"position":[[389,7]]}},"keywords":{}}],["know",{"_index":177,"title":{"633":{"position":[[23,4]]}},"content":{"11":{"position":[[1009,4]]},"367":{"position":[[613,4]]},"410":{"position":[[848,4]]},"411":{"position":[[4510,4]]},"412":{"position":[[239,4],[955,5]]},"413":{"position":[[17,4]]},"456":{"position":[[14,4]]},"458":{"position":[[1590,4]]},"488":{"position":[[13,4]]},"562":{"position":[[1651,5]]},"678":{"position":[[82,4]]},"686":{"position":[[352,4]]},"688":{"position":[[1049,4]]},"704":{"position":[[235,4]]},"709":{"position":[[584,4],[958,4]]},"749":{"position":[[262,4]]},"757":{"position":[[262,4]]},"796":{"position":[[714,4]]},"798":{"position":[[648,5]]},"861":{"position":[[1374,5]]},"875":{"position":[[1919,5]]},"945":{"position":[[387,5]]},"965":{"position":[[133,5]]},"989":{"position":[[394,4]]},"996":{"position":[[217,5]]},"1008":{"position":[[216,5]]},"1018":{"position":[[911,4]]},"1066":{"position":[[169,4],[454,5]]},"1079":{"position":[[347,4]]},"1085":{"position":[[922,4],[2403,4]]},"1175":{"position":[[253,5]]},"1192":{"position":[[724,4]]},"1207":{"position":[[234,4]]},"1230":{"position":[[10,4]]},"1251":{"position":[[230,5]]},"1257":{"position":[[56,4]]},"1318":{"position":[[491,4],[573,4]]},"1321":{"position":[[92,4],[630,4]]},"1322":{"position":[[74,4]]}},"keywords":{}}],["knowledg",{"_index":1415,"title":{},"content":{"230":{"position":[[225,9]]}},"keywords":{}}],["known",{"_index":134,"title":{"625":{"position":[[0,5]]},"850":{"position":[[0,5]]},"909":{"position":[[0,5]]},"1176":{"position":[[0,5]]},"1282":{"position":[[0,5]]}},"content":{"9":{"position":[[51,5]]},"23":{"position":[[78,5]]},"25":{"position":[[23,5]]},"162":{"position":[[39,5]]},"189":{"position":[[39,5]]},"299":{"position":[[953,5]]},"305":{"position":[[562,5]]},"398":{"position":[[3201,5]]},"445":{"position":[[14,5]]},"625":{"position":[[59,5]]},"627":{"position":[[16,5]]},"723":{"position":[[76,5]]},"749":{"position":[[1691,5],[7585,5],[7684,5]]},"798":{"position":[[831,5]]},"839":{"position":[[301,5]]},"954":{"position":[[13,5]]},"982":{"position":[[427,5]]},"1009":{"position":[[742,5]]},"1045":{"position":[[20,5]]},"1066":{"position":[[637,5]]},"1085":{"position":[[1808,5]]},"1294":{"position":[[1962,5]]},"1296":{"position":[[831,5],[1307,6]]}},"keywords":{}}],["koa",{"_index":5926,"title":{"1099":{"position":[[20,4]]}},"content":{"1099":{"position":[[66,3],[90,3],[286,5]]}},"keywords":{}}],["kopieren",{"_index":1381,"title":{},"content":{"211":{"position":[[310,8]]}},"keywords":{}}],["kotlin",{"_index":679,"title":{},"content":{"43":{"position":[[508,7]]}},"keywords":{}}],["l6",{"_index":2214,"title":{},"content":{"391":{"position":[[410,2],[553,2]]},"401":{"position":[[213,2]]},"402":{"position":[[1912,2]]}},"keywords":{}}],["lab",{"_index":6581,"title":{},"content":{"1324":{"position":[[827,5]]}},"keywords":{}}],["label",{"_index":363,"title":{},"content":{"22":{"position":[[12,6]]},"570":{"position":[[835,7]]}},"keywords":{}}],["lack",{"_index":698,"title":{},"content":{"45":{"position":[[249,5]]},"47":{"position":[[1076,5]]},"310":{"position":[[366,4]]},"317":{"position":[[95,4]]},"331":{"position":[[153,4]]},"412":{"position":[[14279,4]]},"427":{"position":[[897,5]]},"432":{"position":[[541,5]]},"435":{"position":[[183,5]]},"452":{"position":[[256,5]]},"566":{"position":[[327,5]]},"624":{"position":[[985,5],[1548,7]]},"661":{"position":[[1369,7]]},"711":{"position":[[1866,7]]},"836":{"position":[[1318,4]]},"840":{"position":[[236,7]]}},"keywords":{}}],["lag",{"_index":2029,"title":{},"content":{"354":{"position":[[1230,3]]},"571":{"position":[[1685,3]]}},"keywords":{}}],["laggi",{"_index":4768,"title":{},"content":{"835":{"position":[[345,5]]}},"keywords":{}}],["lamport",{"_index":6491,"title":{},"content":{"1305":{"position":[[457,7]]}},"keywords":{}}],["lan",{"_index":2637,"title":{},"content":{"411":{"position":[[5090,3]]}},"keywords":{}}],["lan.cost",{"_index":5247,"title":{},"content":{"902":{"position":[[788,8]]}},"keywords":{}}],["land",{"_index":2564,"title":{},"content":{"408":{"position":[[4177,5]]}},"keywords":{}}],["landscap",{"_index":1684,"title":{},"content":{"289":{"position":[[1538,10]]},"510":{"position":[[22,9]]},"530":{"position":[[558,9]]},"624":{"position":[[8,9]]}},"keywords":{}}],["lang",{"_index":3660,"title":{},"content":{"620":{"position":[[355,4]]}},"keywords":{}}],["lang="ts">",{"_index":3541,"title":{},"content":{"601":{"position":[[353,23]]}},"keywords":{}}],["languag",{"_index":416,"title":{},"content":{"25":{"position":[[131,8],[193,10]]},"36":{"position":[[96,9]]},"37":{"position":[[174,9]]},"39":{"position":[[379,8]]},"364":{"position":[[50,8],[272,9]]},"408":{"position":[[3536,9]]},"566":{"position":[[352,8]]},"569":{"position":[[1176,8]]},"661":{"position":[[149,8]]},"711":{"position":[[72,8],[201,8]]},"836":{"position":[[151,8]]},"841":{"position":[[376,9]]},"1102":{"position":[[203,9]]},"1249":{"position":[[158,8]]}},"keywords":{}}],["laptop",{"_index":2037,"title":{},"content":{"356":{"position":[[468,10]]},"392":{"position":[[5200,6]]}},"keywords":{}}],["laravel",{"_index":6379,"title":{},"content":{"1284":{"position":[[187,7]]}},"keywords":{}}],["larg",{"_index":693,"title":{},"content":{"45":{"position":[[68,5]]},"58":{"position":[[177,5]]},"66":{"position":[[347,5]]},"100":{"position":[[43,5]]},"111":{"position":[[191,5]]},"138":{"position":[[192,5]]},"141":{"position":[[256,5]]},"169":{"position":[[281,5]]},"173":{"position":[[2115,5]]},"174":{"position":[[2537,5]]},"217":{"position":[[341,5]]},"301":{"position":[[83,5]]},"303":{"position":[[420,5]]},"304":{"position":[[33,5],[164,5],[364,5]]},"305":{"position":[[196,5]]},"306":{"position":[[157,5]]},"311":{"position":[[1,5]]},"314":{"position":[[1129,7]]},"321":{"position":[[232,5]]},"342":{"position":[[74,5]]},"345":{"position":[[24,5]]},"346":{"position":[[765,5]]},"353":{"position":[[400,5]]},"358":{"position":[[376,5],[595,5]]},"361":{"position":[[255,6]]},"369":{"position":[[502,5]]},"376":{"position":[[560,5]]},"385":{"position":[[225,5]]},"386":{"position":[[109,5]]},"395":{"position":[[463,5]]},"396":{"position":[[771,5]]},"401":{"position":[[487,5],[524,5],[570,5]]},"408":{"position":[[741,5],[1302,5],[2273,5]]},"411":{"position":[[75,5]]},"412":{"position":[[7394,6]]},"417":{"position":[[156,6]]},"418":{"position":[[391,5]]},"430":{"position":[[439,5]]},"446":{"position":[[886,5]]},"452":{"position":[[119,5]]},"453":{"position":[[101,5]]},"461":{"position":[[405,6]]},"495":{"position":[[880,7]]},"497":{"position":[[276,6]]},"559":{"position":[[1643,5]]},"560":{"position":[[448,5]]},"566":{"position":[[599,5],[636,5],[688,5],[758,5]]},"574":{"position":[[541,5]]},"623":{"position":[[27,5]]},"624":{"position":[[1384,7]]},"639":{"position":[[47,5]]},"642":{"position":[[250,5]]},"643":{"position":[[5,5]]},"644":{"position":[[567,5]]},"723":{"position":[[188,5]]},"836":{"position":[[1751,5]]},"838":{"position":[[1114,5]]},"839":{"position":[[1102,5]]},"841":{"position":[[1463,5]]},"1009":{"position":[[118,5],[890,6]]},"1072":{"position":[[2906,5]]},"1112":{"position":[[299,5]]},"1132":{"position":[[261,5],[1231,5]]}},"keywords":{}}],["large.no",{"_index":3407,"title":{},"content":{"559":{"position":[[1154,8]]}},"keywords":{}}],["larger",{"_index":898,"title":{},"content":{"64":{"position":[[121,6]]},"227":{"position":[[59,6]]},"287":{"position":[[768,6]]},"299":{"position":[[1654,6]]},"321":{"position":[[417,6]]},"369":{"position":[[684,6]]},"394":{"position":[[1778,6]]},"401":{"position":[[644,6],[759,6]]},"432":{"position":[[381,6]]},"560":{"position":[[239,6]]},"581":{"position":[[534,6]]},"587":{"position":[[132,6]]}},"keywords":{}}],["larger.webtransport",{"_index":3664,"title":{},"content":{"621":{"position":[[694,20]]}},"keywords":{}}],["largest",{"_index":2324,"title":{},"content":{"394":{"position":[[1145,8]]}},"keywords":{}}],["lasagna",{"_index":4594,"title":{},"content":{"785":{"position":[[341,7]]}},"keywords":{}}],["last",{"_index":229,"title":{},"content":{"14":{"position":[[849,4]]},"27":{"position":[[313,4]]},"32":{"position":[[269,4]]},"203":{"position":[[65,4]]},"250":{"position":[[22,4]]},"412":{"position":[[2359,4],[3287,4]]},"496":{"position":[[1,4],[91,4]]},"635":{"position":[[222,4]]},"647":{"position":[[104,4],[501,4]]},"688":{"position":[[880,4]]},"697":{"position":[[188,4]]},"885":{"position":[[84,4],[2429,4]]},"886":{"position":[[114,4]]},"898":{"position":[[293,4]]},"948":{"position":[[698,4]]},"983":{"position":[[209,4]]},"984":{"position":[[188,4],[526,4]]},"986":{"position":[[102,4],[179,4],[876,4]]},"988":{"position":[[4167,4]]},"990":{"position":[[521,4]]},"995":{"position":[[1226,4],[1402,4],[1452,4]]},"1002":{"position":[[942,4]]},"1065":{"position":[[1863,4]]},"1294":{"position":[[512,4],[684,4]]},"1296":{"position":[[443,4],[1237,4]]},"1305":{"position":[[157,4]]},"1316":{"position":[[1675,4]]},"1318":{"position":[[287,4]]},"1320":{"position":[[911,4]]}},"keywords":{}}],["lastcheckpoint",{"_index":1353,"title":{},"content":{"209":{"position":[[1000,16],[1171,14]]},"255":{"position":[[1335,16]]},"632":{"position":[[2380,16],[2473,14]]},"988":{"position":[[3579,14],[4286,16],[4353,14]]}},"keywords":{}}],["lastcheckpoint.updatedat",{"_index":5465,"title":{},"content":{"988":{"position":[[3596,24]]}},"keywords":{}}],["lastdoc",{"_index":5110,"title":{},"content":{"885":{"position":[[2468,7]]},"1294":{"position":[[976,8],[1308,7],[1343,7],[1645,7]]}},"keywords":{}}],["lastdoc.ag",{"_index":6433,"title":{},"content":{"1294":{"position":[[1318,11]]}},"keywords":{}}],["lastdoc.id",{"_index":5113,"title":{},"content":{"885":{"position":[[2543,11]]},"1294":{"position":[[1353,10]]}},"keywords":{}}],["lastdoc.updatedat",{"_index":5114,"title":{},"content":{"885":{"position":[[2566,17]]}},"keywords":{}}],["lasteventid",{"_index":5017,"title":{},"content":{"875":{"position":[[4386,11],[4545,14]]}},"keywords":{}}],["lastid",{"_index":2268,"title":{},"content":{"392":{"position":[[4010,6],[4230,10]]}},"keywords":{}}],["lastlocalcheckpoint",{"_index":5537,"title":{},"content":{"1002":{"position":[[308,20],[386,19],[494,19],[715,19]]}},"keywords":{}}],["lastnam",{"_index":4515,"title":{},"content":{"764":{"position":[[150,8]]},"820":{"position":[[643,9]]},"872":{"position":[[2007,9],[2077,11],[4237,9],[4307,11]]},"885":{"position":[[562,9],[657,9]]},"898":{"position":[[2587,9],[2682,11]]},"942":{"position":[[223,9]]},"943":{"position":[[431,9]]},"944":{"position":[[239,9],[275,9]]},"946":{"position":[[195,9]]},"947":{"position":[[213,9],[248,9]]},"948":{"position":[[416,9]]},"1035":{"position":[[137,9]]},"1051":{"position":[[267,9],[537,9]]},"1078":{"position":[[406,10],[644,9],[707,10],[961,9],[1088,9]]},"1080":{"position":[[358,9]]},"1082":{"position":[[352,9]]},"1083":{"position":[[552,9]]},"1249":{"position":[[513,9]]},"1311":{"position":[[510,9],[606,11],[1553,9]]}},"keywords":{}}],["lastname)"",{"_index":4003,"title":{},"content":{"711":{"position":[[1298,17]]}},"keywords":{}}],["lastofarray",{"_index":4989,"title":{},"content":{"875":{"position":[[2030,11],[4276,11]]},"988":{"position":[[190,11]]}},"keywords":{}}],["lastofarray(docs).nam",{"_index":5158,"title":{},"content":{"888":{"position":[[1135,23]]}},"keywords":{}}],["lastofarray(docs).updatedat",{"_index":5159,"title":{},"content":{"888":{"position":[[1170,27]]}},"keywords":{}}],["lastofarray(documents).id",{"_index":5001,"title":{},"content":{"875":{"position":[[2689,26]]}},"keywords":{}}],["lastofarray(documents).updatedat",{"_index":5002,"title":{},"content":{"875":{"position":[[2727,32]]}},"keywords":{}}],["lastofarray(documentsfromremote).id",{"_index":5470,"title":{},"content":{"988":{"position":[[4376,36]]}},"keywords":{}}],["lastofarray(documentsfromremote).updatedat",{"_index":5471,"title":{},"content":{"988":{"position":[[4424,42]]}},"keywords":{}}],["lastofarray(subresult",{"_index":6444,"title":{},"content":{"1294":{"position":[[1655,23]]}},"keywords":{}}],["lastremotecheckpoint",{"_index":5540,"title":{},"content":{"1002":{"position":[[985,20],[1147,20],[1369,20]]}},"keywords":{}}],["laststat",{"_index":5715,"title":{},"content":{"1049":{"position":[[84,9],[144,9]]}},"keywords":{}}],["lastworkerid",{"_index":2267,"title":{},"content":{"392":{"position":[[3988,12],[4165,12]]}},"keywords":{}}],["late",{"_index":3100,"title":{},"content":{"470":{"position":[[532,6]]}},"keywords":{}}],["latenc",{"_index":675,"title":{"92":{"position":[[32,8]]},"220":{"position":[[4,7]]},"415":{"position":[[0,7]]},"464":{"position":[[0,7]]},"465":{"position":[[0,7]]},"621":{"position":[[0,8]]},"629":{"position":[[5,7]]},"630":{"position":[[9,7]]},"631":{"position":[[23,7]]},"780":{"position":[[0,7]]},"1239":{"position":[[4,7]]}},"content":{"43":{"position":[[448,8]]},"46":{"position":[[304,8]]},"65":{"position":[[1014,7],[1097,7]]},"92":{"position":[[84,8]]},"173":{"position":[[2050,7],[2509,8],[2617,8]]},"216":{"position":[[163,8]]},"220":{"position":[[31,7]]},"369":{"position":[[880,8],[952,7]]},"375":{"position":[[293,8]]},"378":{"position":[[221,8]]},"408":{"position":[[2149,7],[2318,7],[2714,7],[3198,7]]},"410":{"position":[[60,7],[191,7]]},"411":{"position":[[5687,7]]},"415":{"position":[[327,7]]},"462":{"position":[[148,10],[659,8]]},"463":{"position":[[889,7],[1081,7]]},"464":{"position":[[20,7],[495,7]]},"465":{"position":[[474,8]]},"466":{"position":[[456,8]]},"467":{"position":[[533,7]]},"486":{"position":[[32,8]]},"534":{"position":[[339,7]]},"569":{"position":[[394,8]]},"594":{"position":[[337,7]]},"611":{"position":[[554,7]]},"613":{"position":[[64,7]]},"620":{"position":[[147,8],[756,8]]},"621":{"position":[[31,7],[227,7],[384,7],[663,7],[737,7]]},"630":{"position":[[143,9]]},"632":{"position":[[247,8]]},"640":{"position":[[484,7]]},"641":{"position":[[57,7],[204,8]]},"643":{"position":[[333,7]]},"644":{"position":[[399,7],[605,7]]},"699":{"position":[[480,7]]},"723":{"position":[[734,7],[2804,8]]},"778":{"position":[[222,7]]},"780":{"position":[[158,7],[321,7],[707,7],[767,7]]},"901":{"position":[[436,7]]},"902":{"position":[[9,7]]},"1093":{"position":[[350,7]]},"1123":{"position":[[80,7],[296,7]]},"1211":{"position":[[502,7]]},"1239":{"position":[[72,7],[253,7],[466,8]]},"1270":{"position":[[234,8]]}},"keywords":{}}],["latency"",{"_index":5243,"title":{},"content":{"902":{"position":[[533,13]]}},"keywords":{}}],["later",{"_index":568,"title":{},"content":{"36":{"position":[[61,5]]},"212":{"position":[[441,6]]},"314":{"position":[[117,6],[937,6]]},"334":{"position":[[153,5]]},"402":{"position":[[688,5]]},"411":{"position":[[287,5],[3385,6]]},"420":{"position":[[706,5]]},"634":{"position":[[456,5]]},"702":{"position":[[38,5]]},"710":{"position":[[2226,5]]},"774":{"position":[[256,5]]},"838":{"position":[[1644,5]]},"861":{"position":[[186,5]]},"875":{"position":[[4217,5]]},"886":{"position":[[326,5]]},"990":{"position":[[90,5]]},"998":{"position":[[51,5]]},"1006":{"position":[[310,6]]},"1083":{"position":[[66,6]]},"1104":{"position":[[810,5]]},"1105":{"position":[[1252,6]]},"1195":{"position":[[171,5]]},"1292":{"position":[[588,5]]},"1319":{"position":[[11,5]]}},"keywords":{}}],["latest",{"_index":1177,"title":{"731":{"position":[[15,6]]}},"content":{"159":{"position":[[351,6]]},"185":{"position":[[205,6]]},"289":{"position":[[1377,6]]},"339":{"position":[[148,6]]},"410":{"position":[[2219,6]]},"446":{"position":[[732,6]]},"481":{"position":[[169,6]]},"494":{"position":[[528,6]]},"496":{"position":[[338,6],[737,6]]},"636":{"position":[[419,6]]},"726":{"position":[[16,6]]},"731":{"position":[[17,6],[257,6]]},"982":{"position":[[295,6],[420,6],[527,6],[601,6],[663,6]]},"983":{"position":[[353,6],[794,6]]},"986":{"position":[[1292,6]]},"1002":{"position":[[270,6]]},"1044":{"position":[[35,6]]},"1045":{"position":[[13,6]]},"1278":{"position":[[170,6]]}},"keywords":{}}],["latestdoc",{"_index":5704,"title":{},"content":{"1045":{"position":[[191,9],[256,11]]}},"keywords":{}}],["launch",{"_index":1563,"title":{},"content":{"253":{"position":[[157,6]]},"412":{"position":[[11401,6]]},"420":{"position":[[1390,6]]},"723":{"position":[[1756,8]]}},"keywords":{}}],["lay",{"_index":3955,"title":{},"content":{"700":{"position":[[880,6]]}},"keywords":{}}],["layer",{"_index":400,"title":{"72":{"position":[[17,5]]},"112":{"position":[[17,5]]},"131":{"position":[[20,6]]},"162":{"position":[[20,6]]},"189":{"position":[[20,6]]},"239":{"position":[[17,5]]},"287":{"position":[[20,6]]},"336":{"position":[[20,6]]},"504":{"position":[[30,7]]},"524":{"position":[[20,6]]},"581":{"position":[[20,6]]}},"content":{"24":{"position":[[163,6],[573,5]]},"40":{"position":[[399,6]]},"46":{"position":[[144,6]]},"72":{"position":[[32,5]]},"112":{"position":[[32,6]]},"131":{"position":[[32,6],[257,6],[809,6],[932,5]]},"155":{"position":[[221,5]]},"162":{"position":[[31,7],[136,6],[249,5],[446,5],[601,5],[674,5]]},"174":{"position":[[2569,5],[2642,5]]},"189":{"position":[[58,7],[193,5],[426,5],[688,5]]},"239":{"position":[[34,5]]},"254":{"position":[[235,5]]},"262":{"position":[[601,6]]},"263":{"position":[[354,6]]},"287":{"position":[[96,6],[151,6],[1212,5]]},"291":{"position":[[61,5]]},"336":{"position":[[52,8]]},"369":{"position":[[1312,6],[1367,6]]},"383":{"position":[[357,5]]},"396":{"position":[[674,6],[694,6]]},"411":{"position":[[2230,6]]},"412":{"position":[[2697,7],[9813,6]]},"452":{"position":[[366,5]]},"490":{"position":[[239,5]]},"504":{"position":[[60,7]]},"524":{"position":[[30,7],[122,5],[327,6]]},"536":{"position":[[95,5]]},"551":{"position":[[163,6]]},"560":{"position":[[692,5]]},"576":{"position":[[107,5]]},"595":{"position":[[1358,5]]},"596":{"position":[[93,5]]},"630":{"position":[[924,5],[972,5]]},"640":{"position":[[16,5],[453,6]]},"662":{"position":[[894,7]]},"703":{"position":[[127,6],[621,6],[756,5],[891,5]]},"709":{"position":[[715,6],[1121,6]]},"710":{"position":[[439,5]]},"774":{"position":[[431,6]]},"802":{"position":[[166,6]]},"836":{"position":[[1523,6]]},"988":{"position":[[1972,6]]},"1090":{"position":[[249,6],[277,5],[1176,5]]},"1092":{"position":[[582,6]]},"1124":{"position":[[159,5]]},"1132":{"position":[[151,6]]},"1198":{"position":[[1193,5]]},"1236":{"position":[[15,5]]},"1305":{"position":[[740,5]]},"1316":{"position":[[3864,6]]},"1320":{"position":[[634,5],[841,5]]}},"keywords":{}}],["layers"",{"_index":3511,"title":{},"content":{"581":{"position":[[66,12]]}},"keywords":{}}],["layout",{"_index":3961,"title":{"986":{"position":[[5,6]]}},"content":{"702":{"position":[[72,7]]},"1319":{"position":[[32,6]]}},"keywords":{}}],["lazi",{"_index":2169,"title":{},"content":{"385":{"position":[[6,4]]},"724":{"position":[[1188,5]]},"1194":{"position":[[83,5]]}},"keywords":{}}],["lazili",{"_index":6007,"title":{},"content":{"1120":{"position":[[242,6]]}},"keywords":{}}],["ld1",{"_index":4312,"title":{},"content":{"749":{"position":[[13633,3]]}},"keywords":{}}],["ld2",{"_index":4314,"title":{},"content":{"749":{"position":[[13756,3]]}},"keywords":{}}],["ld3",{"_index":4316,"title":{},"content":{"749":{"position":[[13854,3]]}},"keywords":{}}],["ld4",{"_index":4317,"title":{},"content":{"749":{"position":[[13998,3]]}},"keywords":{}}],["ld5",{"_index":4318,"title":{},"content":{"749":{"position":[[14081,3]]}},"keywords":{}}],["ld6",{"_index":4319,"title":{},"content":{"749":{"position":[[14175,3]]}},"keywords":{}}],["ld7",{"_index":4321,"title":{},"content":{"749":{"position":[[14287,3]]}},"keywords":{}}],["ld8",{"_index":4322,"title":{},"content":{"749":{"position":[[14372,3]]}},"keywords":{}}],["lead",{"_index":279,"title":{},"content":{"16":{"position":[[445,4]]},"277":{"position":[[247,5]]},"407":{"position":[[385,5]]},"409":{"position":[[84,5]]},"427":{"position":[[319,7]]},"430":{"position":[[365,4],[763,4]]},"515":{"position":[[164,7]]},"521":{"position":[[197,5]]},"622":{"position":[[310,7]]},"698":{"position":[[2462,4]]},"742":{"position":[[35,7]]},"800":{"position":[[661,4]]},"801":{"position":[[534,7]]},"802":{"position":[[81,4],[767,7]]},"821":{"position":[[999,5]]},"863":{"position":[[111,7],[548,4]]},"1044":{"position":[[71,4]]},"1085":{"position":[[2327,7]]},"1126":{"position":[[300,4]]},"1174":{"position":[[421,7],[571,7],[619,7]]},"1188":{"position":[[320,4]]},"1305":{"position":[[30,5],[266,5]]},"1316":{"position":[[3286,5]]}},"keywords":{}}],["leader",{"_index":3758,"title":{"735":{"position":[[0,6]]},"738":{"position":[[8,6]]},"740":{"position":[[17,8]]}},"content":{"653":{"position":[[1330,7]]},"723":{"position":[[861,6]]},"737":{"position":[[51,6],[190,6],[207,6],[313,7],[422,7],[465,6]]},"738":{"position":[[15,6],[52,6]]},"739":{"position":[[180,7],[578,6]]},"740":{"position":[[53,6],[256,8],[348,6],[381,6],[633,6]]},"741":{"position":[[21,6]]},"743":{"position":[[5,6],[74,6]]},"793":{"position":[[1112,6]]},"974":{"position":[[70,7]]},"988":{"position":[[1330,7],[1416,7]]},"989":{"position":[[354,6]]},"1003":{"position":[[107,6],[315,8]]},"1171":{"position":[[290,6]]},"1174":{"position":[[648,6]]},"1301":{"position":[[1212,6],[1246,6],[1332,7],[1372,6],[1472,6]]}},"keywords":{}}],["leaderelect",{"_index":3650,"title":{},"content":{"617":{"position":[[2202,14]]},"1174":{"position":[[373,14]]}},"keywords":{}}],["leaderelector",{"_index":4106,"title":{},"content":{"740":{"position":[[505,13]]}},"keywords":{}}],["leaderelector.ondupl",{"_index":4108,"title":{},"content":{"740":{"position":[[575,25]]}},"keywords":{}}],["leak",{"_index":1974,"title":{},"content":{"346":{"position":[[458,6]]},"616":{"position":[[892,4]]}},"keywords":{}}],["lean",{"_index":5589,"title":{},"content":{"1009":{"position":[[621,5]]}},"keywords":{}}],["leaner",{"_index":1409,"title":{},"content":{"227":{"position":[[283,6]]}},"keywords":{}}],["leap",{"_index":2566,"title":{},"content":{"408":{"position":[[4363,4]]}},"keywords":{}}],["learn",{"_index":857,"title":{"1216":{"position":[[0,5]]}},"content":{"57":{"position":[[118,5],[464,5]]},"306":{"position":[[1,5]]},"318":{"position":[[353,5]]},"347":{"position":[[504,5]]},"362":{"position":[[1575,5]]},"390":{"position":[[266,8]]},"391":{"position":[[204,8],[994,8]]},"392":{"position":[[1991,8]]},"402":{"position":[[1777,8]]},"420":{"position":[[749,5]]},"442":{"position":[[1,5]]},"483":{"position":[[542,8],[696,5]]},"491":{"position":[[766,5],[1862,5]]},"496":{"position":[[859,5]]},"544":{"position":[[151,5]]},"548":{"position":[[1,5]]},"557":{"position":[[1,5],[88,5]]},"567":{"position":[[635,5]]},"591":{"position":[[733,5]]},"608":{"position":[[1,5]]},"644":{"position":[[357,5]]},"663":{"position":[[43,8]]},"686":{"position":[[267,5]]},"710":{"position":[[2449,5]]},"712":{"position":[[1,5]]},"776":{"position":[[77,8]]},"786":{"position":[[1,5]]},"834":{"position":[[154,5]]},"838":{"position":[[3173,5]]},"842":{"position":[[15,5],[177,8]]},"884":{"position":[[58,7]]},"889":{"position":[[1050,5]]},"899":{"position":[[28,5]]},"904":{"position":[[2436,5]]},"987":{"position":[[1088,5]]},"1065":{"position":[[28,5],[100,5],[144,5]]},"1125":{"position":[[875,5]]},"1249":{"position":[[192,7]]},"1309":{"position":[[401,5]]}},"keywords":{}}],["leav",{"_index":2515,"title":{},"content":{"405":{"position":[[174,5]]},"471":{"position":[[159,5]]},"548":{"position":[[115,5]]},"557":{"position":[[246,5]]},"608":{"position":[[115,5]]},"628":{"position":[[261,5]]},"1007":{"position":[[794,6]]},"1134":{"position":[[503,5]]}},"keywords":{}}],["led",{"_index":3902,"title":{},"content":{"689":{"position":[[436,3]]}},"keywords":{}}],["left",{"_index":2242,"title":{},"content":{"392":{"position":[[2305,4]]},"458":{"position":[[390,4]]},"696":{"position":[[1086,4]]},"1198":{"position":[[1487,4]]},"1315":{"position":[[424,4]]},"1317":{"position":[[776,4]]}},"keywords":{}}],["legitim",{"_index":3643,"title":{},"content":{"617":{"position":[[1115,10]]}},"keywords":{}}],["lend",{"_index":2604,"title":{},"content":{"410":{"position":[[1835,4]]}},"keywords":{}}],["length",{"_index":2353,"title":{"926":{"position":[[0,7]]}},"content":{"397":{"position":[[220,6]]},"749":{"position":[[12987,6]]},"863":{"position":[[163,6]]},"918":{"position":[[145,7]]},"926":{"position":[[5,6]]},"1004":{"position":[[361,7]]},"1067":{"position":[[1728,6]]},"1079":{"position":[[386,6]]},"1213":{"position":[[928,11]]}},"keywords":{}}],["less",{"_index":955,"title":{"802":{"position":[[4,4]]}},"content":{"68":{"position":[[86,4]]},"227":{"position":[[116,4]]},"299":{"position":[[911,4]]},"302":{"position":[[612,4]]},"312":{"position":[[284,4]]},"402":{"position":[[486,4],[1010,4],[1072,4],[1232,4],[1346,4],[2608,4]]},"411":{"position":[[1083,4],[1956,4]]},"427":{"position":[[367,4]]},"610":{"position":[[798,4]]},"620":{"position":[[694,4]]},"621":{"position":[[480,4]]},"622":{"position":[[279,4]]},"623":{"position":[[285,4]]},"681":{"position":[[367,4]]},"746":{"position":[[177,4]]},"816":{"position":[[228,4]]},"849":{"position":[[606,5]]},"886":{"position":[[1549,4]]},"1062":{"position":[[124,4]]},"1124":{"position":[[1794,4]]},"1162":{"position":[[696,4]]},"1181":{"position":[[784,4]]},"1192":{"position":[[771,5]]},"1208":{"position":[[552,4]]},"1297":{"position":[[132,4],[564,5]]}},"keywords":{}}],["less"",{"_index":5893,"title":{},"content":{"1085":{"position":[[830,10]]}},"keywords":{}}],["let",{"_index":891,"title":{},"content":{"61":{"position":[[468,7]]},"203":{"position":[[113,4]]},"212":{"position":[[224,4]]},"250":{"position":[[165,4]]},"301":{"position":[[363,7]]},"360":{"position":[[330,7]]},"411":{"position":[[3849,7]]},"412":{"position":[[6168,4]]},"413":{"position":[[59,4]]},"414":{"position":[[72,7]]},"421":{"position":[[772,7]]},"449":{"position":[[7,4]]},"456":{"position":[[51,4]]},"464":{"position":[[6,4],[658,7]]},"465":{"position":[[41,4]]},"466":{"position":[[15,4]]},"467":{"position":[[5,4]]},"488":{"position":[[44,4]]},"562":{"position":[[830,7],[950,7]]},"620":{"position":[[230,4],[734,4]]},"632":{"position":[[656,4]]},"642":{"position":[[127,4]]},"759":{"position":[[1,4]]},"796":{"position":[[246,4],[1175,4]]},"848":{"position":[[1,4]]},"885":{"position":[[130,4],[316,4]]},"1147":{"position":[[215,7]]},"1237":{"position":[[1,4]]},"1294":{"position":[[253,4]]},"1309":{"position":[[341,4]]},"1316":{"position":[[691,4]]}},"keywords":{}}],["let'",{"_index":902,"title":{},"content":{"65":{"position":[[69,5]]},"119":{"position":[[33,5]]},"127":{"position":[[65,5]]},"132":{"position":[[172,5]]},"151":{"position":[[43,5]]},"173":{"position":[[205,5]]},"174":{"position":[[115,5]]},"180":{"position":[[66,5]]},"187":{"position":[[51,5]]},"190":{"position":[[118,5]]},"193":{"position":[[105,5]]},"229":{"position":[[157,5]]},"271":{"position":[[245,5]]},"278":{"position":[[170,5]]},"284":{"position":[[112,5]]},"287":{"position":[[282,5]]},"290":{"position":[[150,5]]},"369":{"position":[[12,5]]},"394":{"position":[[106,5]]},"399":{"position":[[511,5]]},"401":{"position":[[1,5]]},"412":{"position":[[166,5]]},"425":{"position":[[1,5]]},"462":{"position":[[62,5]]},"577":{"position":[[1,5]]},"703":{"position":[[207,5]]},"1315":{"position":[[166,5]]}},"keywords":{}}],["level",{"_index":659,"title":{"982":{"position":[[32,6]]},"983":{"position":[[32,6]]},"1090":{"position":[[44,6]]}},"content":{"42":{"position":[[124,5]]},"45":{"position":[[20,5]]},"52":{"position":[[142,5]]},"61":{"position":[[448,5]]},"114":{"position":[[701,5]]},"131":{"position":[[283,5]]},"140":{"position":[[101,6]]},"181":{"position":[[74,5]]},"235":{"position":[[94,5]]},"291":{"position":[[318,5]]},"331":{"position":[[297,5]]},"344":{"position":[[83,6]]},"354":{"position":[[1519,6]]},"377":{"position":[[296,5]]},"408":{"position":[[3530,5]]},"452":{"position":[[97,5]]},"479":{"position":[[240,5]]},"501":{"position":[[433,6]]},"521":{"position":[[69,6]]},"533":{"position":[[20,5]]},"535":{"position":[[276,6]]},"539":{"position":[[142,5]]},"548":{"position":[[292,5]]},"560":{"position":[[200,6]]},"566":{"position":[[89,6],[340,5],[1371,5]]},"593":{"position":[[20,5]]},"595":{"position":[[289,6]]},"599":{"position":[[151,5]]},"608":{"position":[[290,5]]},"749":{"position":[[2483,5],[17351,5],[17467,5],[17547,5],[18336,5],[19515,5],[21817,6]]},"764":{"position":[[80,5]]},"838":{"position":[[865,5]]},"841":{"position":[[410,5]]},"849":{"position":[[226,5],[382,5]]},"861":{"position":[[2307,6]]},"871":{"position":[[829,5]]},"897":{"position":[[497,5]]},"898":{"position":[[1757,5]]},"899":{"position":[[186,5],[251,5]]},"932":{"position":[[1171,5]]},"982":{"position":[[19,6]]},"1079":{"position":[[65,5]]},"1082":{"position":[[46,5]]},"1084":{"position":[[588,5]]},"1085":{"position":[[862,5],[969,5],[1681,5],[1750,5],[1791,5],[2001,6],[2034,5],[2230,5],[2422,5]]},"1108":{"position":[[607,5]]},"1117":{"position":[[242,5]]},"1125":{"position":[[373,6]]},"1206":{"position":[[377,5]]},"1209":{"position":[[57,5]]},"1222":{"position":[[1101,6]]},"1237":{"position":[[293,5]]},"1250":{"position":[[533,5]]},"1253":{"position":[[60,6]]},"1258":{"position":[[98,5]]}},"keywords":{}}],["level"",{"_index":725,"title":{},"content":{"47":{"position":[[298,11]]}},"keywords":{}}],["leveldb",{"_index":43,"title":{},"content":{"2":{"position":[[159,7],[214,11],[257,7]]},"6":{"position":[[21,7],[318,7],[373,11],[416,7]]},"7":{"position":[[116,7]]},"10":{"position":[[147,11],[190,7]]},"254":{"position":[[355,7]]},"1320":{"position":[[796,7]]}},"keywords":{}}],["leveldown",{"_index":42,"title":{"6":{"position":[[0,10]]}},"content":{"2":{"position":[[61,9],[229,9],[426,9]]},"6":{"position":[[270,9],[388,9],[445,9],[591,9],[789,9]]},"10":{"position":[[3,9],[162,9],[387,9]]},"749":{"position":[[581,9]]}},"keywords":{}}],["leverag",{"_index":937,"title":{},"content":{"65":{"position":[[2027,8]]},"83":{"position":[[429,8]]},"84":{"position":[[32,8]]},"87":{"position":[[4,10]]},"93":{"position":[[152,8]]},"94":{"position":[[177,8]]},"96":{"position":[[199,10]]},"100":{"position":[[237,8]]},"105":{"position":[[183,8]]},"114":{"position":[[32,8],[603,10]]},"120":{"position":[[151,9]]},"121":{"position":[[68,9]]},"124":{"position":[[185,10]]},"136":{"position":[[36,10]]},"146":{"position":[[117,10]]},"149":{"position":[[32,8]]},"151":{"position":[[116,8]]},"155":{"position":[[50,9]]},"165":{"position":[[289,10]]},"173":{"position":[[905,10],[2377,8]]},"174":{"position":[[195,9],[1345,9]]},"175":{"position":[[29,8]]},"182":{"position":[[68,9]]},"196":{"position":[[81,10]]},"198":{"position":[[326,8]]},"215":{"position":[[92,10]]},"222":{"position":[[294,8]]},"224":{"position":[[89,10]]},"227":{"position":[[211,8]]},"230":{"position":[[190,8]]},"232":{"position":[[147,8]]},"239":{"position":[[269,8]]},"241":{"position":[[208,10]]},"265":{"position":[[90,8]]},"267":{"position":[[1301,8]]},"286":{"position":[[260,8]]},"287":{"position":[[462,10]]},"322":{"position":[[69,9]]},"347":{"position":[[32,8]]},"373":{"position":[[208,10]]},"382":{"position":[[51,9]]},"384":{"position":[[219,8]]},"385":{"position":[[170,10]]},"398":{"position":[[395,8]]},"418":{"position":[[747,10]]},"425":{"position":[[73,8]]},"445":{"position":[[827,9],[1401,10],[1842,8]]},"447":{"position":[[327,10]]},"502":{"position":[[717,10]]},"504":{"position":[[93,10],[891,10]]},"511":{"position":[[32,8]]},"523":{"position":[[115,8]]},"531":{"position":[[32,8]]},"548":{"position":[[157,10]]},"556":{"position":[[1140,9]]},"557":{"position":[[368,10]]},"574":{"position":[[443,10]]},"584":{"position":[[53,10]]},"591":{"position":[[32,8]]},"608":{"position":[[157,10]]},"613":{"position":[[122,9]]},"614":{"position":[[608,9]]},"621":{"position":[[795,10]]},"624":{"position":[[203,10]]},"643":{"position":[[115,10]]},"801":{"position":[[811,10]]},"1072":{"position":[[2828,8]]},"1270":{"position":[[325,8]]}},"keywords":{}}],["li",{"_index":1678,"title":{},"content":{"289":{"position":[[49,4]]},"501":{"position":[[22,4]]}},"keywords":{}}],["lib/main.dart",{"_index":1273,"title":{},"content":{"188":{"position":[[2513,13]]}},"keywords":{}}],["librari",{"_index":110,"title":{"478":{"position":[[56,8]]},"1273":{"position":[[49,10]]}},"content":{"8":{"position":[[326,8]]},"11":{"position":[[1059,9]]},"13":{"position":[[178,8]]},"15":{"position":[[111,7]]},"18":{"position":[[44,9]]},"19":{"position":[[33,7]]},"21":{"position":[[28,7]]},"30":{"position":[[24,7]]},"34":{"position":[[61,8]]},"35":{"position":[[37,7]]},"37":{"position":[[187,9]]},"40":{"position":[[58,7]]},"47":{"position":[[338,7]]},"96":{"position":[[110,9]]},"120":{"position":[[170,7]]},"129":{"position":[[340,7]]},"167":{"position":[[289,10]]},"173":{"position":[[3071,9]]},"174":{"position":[[1438,10]]},"188":{"position":[[111,7],[2408,7]]},"219":{"position":[[75,9],[248,10]]},"230":{"position":[[156,10]]},"285":{"position":[[79,7]]},"303":{"position":[[281,7]]},"317":{"position":[[295,8]]},"357":{"position":[[364,7]]},"387":{"position":[[354,10]]},"411":{"position":[[1989,9]]},"412":{"position":[[1086,9],[2146,7],[3804,9],[9221,8],[9954,8],[11745,9],[14432,9]]},"420":{"position":[[80,9],[167,7],[291,7],[438,10]]},"432":{"position":[[1032,9],[1074,9]]},"433":{"position":[[439,7]]},"441":{"position":[[426,9]]},"452":{"position":[[382,9]]},"453":{"position":[[506,7]]},"454":{"position":[[256,9]]},"478":{"position":[[288,9]]},"520":{"position":[[357,9]]},"535":{"position":[[296,7],[491,9]]},"551":{"position":[[287,9],[433,9]]},"595":{"position":[[309,7],[511,9]]},"611":{"position":[[1296,7]]},"613":{"position":[[1028,9]]},"616":{"position":[[1047,7],[1138,7]]},"678":{"position":[[192,8]]},"686":{"position":[[24,9]]},"698":{"position":[[3078,7]]},"723":{"position":[[67,8]]},"785":{"position":[[281,9]]},"836":{"position":[[281,7],[462,7],[581,7]]},"872":{"position":[[81,9]]},"894":{"position":[[19,8]]},"904":{"position":[[1744,7],[2422,8],[2829,7],[2975,7]]},"910":{"position":[[332,9]]},"1041":{"position":[[75,8]]},"1112":{"position":[[543,9]]},"1120":{"position":[[84,10],[199,9],[744,10]]},"1247":{"position":[[222,8]]},"1272":{"position":[[18,9],[104,7],[285,9],[450,7]]},"1276":{"position":[[636,7]]},"1277":{"position":[[699,7]]},"1282":{"position":[[355,9]]},"1292":{"position":[[776,7]]},"1299":{"position":[[461,9]]}},"keywords":{}}],["libraries.bridg",{"_index":4776,"title":{},"content":{"836":{"position":[[1533,18]]}},"keywords":{}}],["librariesfor",{"_index":3338,"title":{},"content":{"551":{"position":[[221,12]]}},"keywords":{}}],["library"",{"_index":1494,"title":{},"content":{"244":{"position":[[584,13]]}},"keywords":{}}],["libraryth",{"_index":4021,"title":{},"content":{"717":{"position":[[138,10]]}},"keywords":{}}],["libspersist",{"_index":3405,"title":{},"content":{"559":{"position":[[926,14]]}},"keywords":{}}],["licens",{"_index":684,"title":{},"content":{"43":{"position":[[619,7]]},"1112":{"position":[[273,7],[379,8]]}},"keywords":{}}],["lie",{"_index":3947,"title":{"699":{"position":[[14,4]]}},"content":{"781":{"position":[[15,3],[47,3]]}},"keywords":{}}],["lifecycl",{"_index":1092,"title":{},"content":{"130":{"position":[[116,9]]},"143":{"position":[[228,10]]},"590":{"position":[[441,9]]},"767":{"position":[[63,10]]},"768":{"position":[[52,10]]},"769":{"position":[[57,10]]},"899":{"position":[[56,9]]}},"keywords":{}}],["lift",{"_index":2947,"title":{},"content":{"446":{"position":[[1039,7]]}},"keywords":{}}],["light",{"_index":2546,"title":{},"content":{"408":{"position":[[2382,5]]},"501":{"position":[[265,5]]},"780":{"position":[[423,5]]}},"keywords":{}}],["lighten",{"_index":3518,"title":{},"content":{"582":{"position":[[693,7]]}},"keywords":{}}],["lightn",{"_index":2124,"title":{},"content":{"369":{"position":[[256,9]]},"500":{"position":[[208,9]]},"562":{"position":[[611,11]]}},"keywords":{}}],["lightweight",{"_index":535,"title":{},"content":{"34":{"position":[[330,12]]},"365":{"position":[[172,11]]},"412":{"position":[[1974,12]]},"441":{"position":[[84,11]]},"574":{"position":[[25,11]]},"659":{"position":[[101,11]]}},"keywords":{}}],["like"",{"_index":3190,"title":{},"content":{"496":{"position":[[153,11]]},"981":{"position":[[193,10]]}},"keywords":{}}],["likeerror",{"_index":5901,"title":{},"content":{"1085":{"position":[[2808,10]]}},"keywords":{}}],["likelihood",{"_index":3207,"title":{},"content":{"497":{"position":[[568,10]]}},"keywords":{}}],["likes."",{"_index":3198,"title":{},"content":{"497":{"position":[[69,13]]}},"keywords":{}}],["liketestdata",{"_index":4715,"title":{},"content":{"821":{"position":[[570,13]]}},"keywords":{}}],["likewis",{"_index":1764,"title":{},"content":{"299":{"position":[[1481,9]]}},"keywords":{}}],["limit",{"_index":703,"title":{"58":{"position":[[0,11]]},"66":{"position":[[16,12]]},"252":{"position":[[6,6]]},"297":{"position":[[27,5]]},"298":{"position":[[28,6]]},"299":{"position":[[27,7]]},"302":{"position":[[21,6]]},"303":{"position":[[34,11]]},"305":{"position":[[16,5]]},"406":{"position":[[56,11]]},"412":{"position":[[15,11]]},"417":{"position":[[27,7]]},"427":{"position":[[18,11]]},"461":{"position":[[13,7]]},"545":{"position":[[0,11]]},"605":{"position":[[0,11]]},"615":{"position":[[0,11]]},"617":{"position":[[22,6]]},"650":{"position":[[0,12]]},"849":{"position":[[0,12]]},"863":{"position":[[0,11]]},"1141":{"position":[[0,11]]},"1157":{"position":[[0,12]]},"1186":{"position":[[11,6]]},"1188":{"position":[[0,11]]},"1207":{"position":[[5,12]]},"1232":{"position":[[0,12]]}},"content":{"46":{"position":[[63,7]]},"47":{"position":[[536,7]]},"58":{"position":[[238,7],[343,6]]},"63":{"position":[[181,12]]},"66":{"position":[[118,12],[399,12],[496,10]]},"83":{"position":[[271,11]]},"169":{"position":[[299,7]]},"205":{"position":[[53,7]]},"215":{"position":[[346,7]]},"225":{"position":[[63,11]]},"229":{"position":[[68,11]]},"232":{"position":[[305,7]]},"252":{"position":[[29,7],[86,7]]},"287":{"position":[[14,5]]},"289":{"position":[[1865,7]]},"298":{"position":[[874,6]]},"299":{"position":[[154,6],[227,5],[661,5],[1185,6],[1506,5]]},"300":{"position":[[59,7]]},"301":{"position":[[408,5],[479,7]]},"303":{"position":[[1313,12]]},"305":{"position":[[297,7]]},"306":{"position":[[348,5]]},"366":{"position":[[546,10]]},"398":{"position":[[1151,6],[1312,6],[2933,5]]},"402":{"position":[[2377,6]]},"407":{"position":[[836,7]]},"408":{"position":[[189,7],[274,11],[363,6],[705,6],[842,7],[2407,11],[2633,6],[2722,5],[3756,10]]},"410":{"position":[[538,5]]},"412":{"position":[[6675,7],[7034,5],[7676,13]]},"427":{"position":[[63,11],[471,7],[1032,10],[1461,6],[1504,5]]},"432":{"position":[[311,5]]},"434":{"position":[[125,12]]},"436":{"position":[[345,7]]},"441":{"position":[[562,11]]},"444":{"position":[[225,7]]},"451":{"position":[[390,7]]},"459":{"position":[[1012,10]]},"461":{"position":[[13,7],[136,10],[196,6],[638,10],[775,5],[956,10],[1074,5],[1261,5],[1443,6],[1518,10],[1547,5]]},"495":{"position":[[739,7],[793,7]]},"504":{"position":[[1498,8]]},"528":{"position":[[188,7]]},"535":{"position":[[428,5]]},"545":{"position":[[51,12],[159,7],[183,6],[243,6]]},"559":{"position":[[1058,12]]},"560":{"position":[[36,7]]},"595":{"position":[[456,5]]},"605":{"position":[[51,12],[159,7],[183,6],[243,7]]},"613":{"position":[[825,6]]},"617":{"position":[[64,6],[139,10],[325,10],[516,5],[1155,10],[1470,6],[1599,5]]},"624":{"position":[[1059,6],[1651,12]]},"696":{"position":[[328,5],[742,5],[963,5],[1808,6]]},"703":{"position":[[1672,5]]},"704":{"position":[[464,6]]},"714":{"position":[[436,10]]},"724":{"position":[[1846,6]]},"749":{"position":[[2886,5],[9314,7],[9394,6],[23371,7],[23503,7]]},"773":{"position":[[669,5],[780,5],[851,5]]},"774":{"position":[[966,7]]},"780":{"position":[[42,8],[177,8]]},"786":{"position":[[203,11]]},"796":{"position":[[370,6],[666,6],[1086,6]]},"839":{"position":[[648,7]]},"841":{"position":[[467,7],[1098,8]]},"845":{"position":[[104,7]]},"849":{"position":[[92,10],[205,10],[323,6],[353,10],[847,5]]},"885":{"position":[[880,6],[2654,8]]},"886":{"position":[[148,5],[401,6],[621,7],[672,6],[679,7],[836,5],[1701,5]]},"958":{"position":[[488,5],[607,7],[637,6]]},"1007":{"position":[[1496,6]]},"1067":{"position":[[345,7]]},"1072":{"position":[[166,7],[1837,10]]},"1157":{"position":[[92,7],[133,5],[192,6],[389,12]]},"1191":{"position":[[133,6]]},"1207":{"position":[[621,5]]},"1271":{"position":[[409,7]]},"1295":{"position":[[1437,5]]},"1318":{"position":[[774,5]]},"1321":{"position":[[11,7]]}},"keywords":{}}],["limit"",{"_index":1463,"title":{},"content":{"243":{"position":[[567,11],[668,11]]}},"keywords":{}}],["limit(parseint(req.query.batchs",{"_index":4997,"title":{},"content":{"875":{"position":[[2563,36]]}},"keywords":{}}],["limit.html",{"_index":1472,"title":{},"content":{"243":{"position":[[931,10]]}},"keywords":{}}],["limit.htmlx",{"_index":1467,"title":{},"content":{"243":{"position":[[634,11],[735,11],[834,11]]}},"keywords":{}}],["limiteddoc",{"_index":5107,"title":{},"content":{"885":{"position":[[2355,11],[2606,12]]}},"keywords":{}}],["limiteddocs[limiteddocs.length",{"_index":5111,"title":{},"content":{"885":{"position":[[2478,30]]}},"keywords":{}}],["limits"",{"_index":1470,"title":{},"content":{"243":{"position":[[863,12]]}},"keywords":{}}],["line",{"_index":1566,"title":{},"content":{"254":{"position":[[196,4]]},"612":{"position":[[567,4],[2046,5]]},"838":{"position":[[1714,5]]}},"keywords":{}}],["linearli",{"_index":5241,"title":{},"content":{"902":{"position":[[267,8]]}},"keywords":{}}],["linebreak",{"_index":4289,"title":{},"content":{"749":{"position":[[11717,9]]}},"keywords":{}}],["link",{"_index":109,"title":{},"content":{"8":{"position":[[317,4],[349,4]]},"11":{"position":[[421,5]]},"50":{"position":[[359,5]]},"212":{"position":[[617,4]]},"408":{"position":[[2439,6]]},"670":{"position":[[121,4]]},"724":{"position":[[1417,5],[1723,5]]},"846":{"position":[[954,5]]},"901":{"position":[[384,6]]},"1189":{"position":[[507,5]]},"1201":{"position":[[295,5]]},"1226":{"position":[[476,5]]},"1264":{"position":[[379,5]]},"1274":{"position":[[216,5]]},"1276":{"position":[[672,5]]},"1324":{"position":[[1071,5]]}},"keywords":{}}],["linkedin",{"_index":4631,"title":{},"content":{"793":{"position":[[1504,8]]}},"keywords":{}}],["lirst",{"_index":658,"title":{},"content":{"42":{"position":[[47,5]]}},"keywords":{}}],["list",{"_index":188,"title":{"763":{"position":[[0,5]]},"1240":{"position":[[30,5]]}},"content":{"13":{"position":[[97,4],[203,4]]},"188":{"position":[[3110,4]]},"335":{"position":[[333,4],[952,4]]},"395":{"position":[[469,5]]},"401":{"position":[[123,5]]},"404":{"position":[[795,4]]},"412":{"position":[[369,4],[14896,4]]},"422":{"position":[[67,4]]},"459":{"position":[[212,4]]},"469":{"position":[[127,4]]},"493":{"position":[[506,4]]},"571":{"position":[[1058,4]]},"663":{"position":[[112,4]]},"712":{"position":[[131,4]]},"717":{"position":[[1383,4]]},"776":{"position":[[138,4]]},"805":{"position":[[230,4]]},"806":{"position":[[153,4],[399,4]]},"824":{"position":[[280,4]]},"825":{"position":[[718,6]]},"842":{"position":[[246,4]]},"885":{"position":[[183,4],[1082,4],[1162,5]]},"951":{"position":[[542,4]]},"962":{"position":[[565,4]]},"1119":{"position":[[61,4]]},"1316":{"position":[[1598,4]]},"1321":{"position":[[674,4]]}},"keywords":{}}],["list</h2>",{"_index":3314,"title":{},"content":{"541":{"position":[[560,15]]},"601":{"position":[[121,15]]},"602":{"position":[[427,15]]}},"keywords":{}}],["list<rxdocument<rxherodoctype>>",{"_index":1289,"title":{},"content":{"188":{"position":[[3138,43]]}},"keywords":{}}],["listen",{"_index":1125,"title":{},"content":{"140":{"position":[[49,6]]},"168":{"position":[[156,6]]},"204":{"position":[[60,8]]},"344":{"position":[[23,6]]},"392":{"position":[[3344,7],[4300,8],[4416,10],[4467,10]]},"612":{"position":[[833,9]]},"649":{"position":[[9,6]]},"655":{"position":[[229,9]]},"698":{"position":[[1004,9]]},"875":{"position":[[1241,9]]},"1150":{"position":[[511,9]]}},"keywords":{}}],["live",{"_index":735,"title":{"53":{"position":[[21,4]]},"540":{"position":[[21,4]]},"600":{"position":[[21,4]]},"648":{"position":[[0,4]]},"741":{"position":[[0,4]]},"905":{"position":[[0,4]]}},"content":{"47":{"position":[[750,4]]},"152":{"position":[[57,6]]},"209":{"position":[[1251,5]]},"255":{"position":[[1553,5]]},"261":{"position":[[1012,4]]},"318":{"position":[[111,4]]},"356":{"position":[[824,4]]},"407":{"position":[[56,5]]},"410":{"position":[[1912,5]]},"411":{"position":[[3114,4]]},"421":{"position":[[282,4]]},"445":{"position":[[968,4]]},"450":{"position":[[231,4]]},"476":{"position":[[322,4]]},"479":{"position":[[62,5]]},"481":{"position":[[813,5]]},"493":{"position":[[374,4]]},"498":{"position":[[252,4]]},"502":{"position":[[648,4]]},"529":{"position":[[239,4]]},"540":{"position":[[131,4]]},"541":{"position":[[152,4]]},"570":{"position":[[767,4]]},"601":{"position":[[57,4]]},"611":{"position":[[76,5],[299,4]]},"612":{"position":[[232,4]]},"613":{"position":[[463,4]]},"624":{"position":[[588,4],[820,4]]},"626":{"position":[[261,4]]},"632":{"position":[[271,4],[2583,5]]},"647":{"position":[[222,5]]},"648":{"position":[[6,5],[124,5],[161,5]]},"649":{"position":[[116,5]]},"736":{"position":[[153,4]]},"739":{"position":[[529,5]]},"749":{"position":[[14859,5]]},"775":{"position":[[360,4]]},"829":{"position":[[2927,4],[2960,4]]},"846":{"position":[[333,4],[407,5]]},"854":{"position":[[1022,4],[1073,5]]},"860":{"position":[[625,4]]},"862":{"position":[[1508,6]]},"866":{"position":[[838,5]]},"871":{"position":[[457,4]]},"872":{"position":[[2628,5],[4582,5]]},"878":{"position":[[557,5]]},"886":{"position":[[1974,5]]},"897":{"position":[[318,4]]},"898":{"position":[[3446,5]]},"903":{"position":[[253,4]]},"905":{"position":[[34,4],[185,5]]},"988":{"position":[[686,5],[848,5]]},"1000":{"position":[[66,4]]},"1039":{"position":[[154,4]]},"1150":{"position":[[255,4]]},"1324":{"position":[[833,6]]}},"keywords":{}}],["live=tru",{"_index":5472,"title":{},"content":{"988":{"position":[[4819,9]]}},"keywords":{}}],["livequeri",{"_index":2631,"title":{"1150":{"position":[[0,9]]}},"content":{"411":{"position":[[3838,10]]},"1150":{"position":[[34,9]]}},"keywords":{}}],["load",{"_index":149,"title":{"474":{"position":[[8,7]]},"477":{"position":[[18,5]]},"623":{"position":[[23,5]]},"778":{"position":[[21,7]]},"799":{"position":[[29,5]]},"1089":{"position":[[30,5]]},"1238":{"position":[[11,5]]}},"content":{"11":{"position":[[267,6],[411,7]]},"46":{"position":[[381,7],[601,4]]},"65":{"position":[[1383,4]]},"69":{"position":[[97,4]]},"227":{"position":[[408,7]]},"266":{"position":[[1039,4]]},"283":{"position":[[272,7]]},"315":{"position":[[1107,7]]},"385":{"position":[[11,7]]},"400":{"position":[[694,7]]},"408":{"position":[[5532,5]]},"410":{"position":[[328,7]]},"411":{"position":[[16,5],[814,5],[1035,4]]},"412":{"position":[[6656,4]]},"415":{"position":[[361,7]]},"421":{"position":[[618,7],[1135,7]]},"454":{"position":[[763,5]]},"474":{"position":[[73,7]]},"483":{"position":[[409,7],[865,5]]},"486":{"position":[[4,7]]},"487":{"position":[[159,5]]},"500":{"position":[[200,4],[539,7]]},"523":{"position":[[600,13]]},"524":{"position":[[868,6]]},"534":{"position":[[354,7],[604,4]]},"582":{"position":[[708,4]]},"594":{"position":[[352,7],[602,4]]},"610":{"position":[[729,5]]},"620":{"position":[[175,5]]},"623":{"position":[[99,5],[503,4],[751,4]]},"630":{"position":[[756,5]]},"653":{"position":[[664,5]]},"656":{"position":[[331,4]]},"696":{"position":[[48,6],[122,4],[187,4]]},"752":{"position":[[331,7]]},"753":{"position":[[184,7]]},"772":{"position":[[1998,4]]},"774":{"position":[[167,4]]},"778":{"position":[[277,7],[426,7],[486,7]]},"780":{"position":[[77,7]]},"781":{"position":[[127,6]]},"782":{"position":[[120,5]]},"783":{"position":[[132,4],[503,7],[588,7],[623,7]]},"784":{"position":[[789,4]]},"785":{"position":[[131,6]]},"800":{"position":[[730,6]]},"802":{"position":[[880,4]]},"829":{"position":[[1626,7],[2502,7],[2536,9],[3214,7],[3417,7],[3455,9]]},"860":{"position":[[941,5]]},"958":{"position":[[151,4]]},"995":{"position":[[732,7],[1798,7]]},"1088":{"position":[[739,4]]},"1089":{"position":[[255,4]]},"1095":{"position":[[215,4]]},"1161":{"position":[[115,4],[131,4]]},"1162":{"position":[[595,4]]},"1164":{"position":[[388,5]]},"1170":{"position":[[93,4],[114,5],[248,4]]},"1174":{"position":[[121,5]]},"1175":{"position":[[196,5],[313,4],[565,4],[668,4]]},"1180":{"position":[[115,4],[131,4]]},"1181":{"position":[[621,7],[683,4]]},"1186":{"position":[[120,4]]},"1192":{"position":[[431,7],[478,4]]},"1238":{"position":[[360,5]]},"1239":{"position":[[328,6]]},"1246":{"position":[[198,4],[518,4],[1814,4]]},"1267":{"position":[[372,5]]},"1271":{"position":[[649,4]]},"1295":{"position":[[324,4],[469,4],[1491,4]]},"1299":{"position":[[137,6],[180,5]]},"1301":{"position":[[1432,4]]}},"keywords":{}}],["loader",{"_index":6318,"title":{},"content":{"1266":{"position":[[794,7],[809,8]]}},"keywords":{}}],["local",{"_index":185,"title":{"90":{"position":[[47,5]]},"92":{"position":[[16,7]]},"95":{"position":[[6,5]]},"96":{"position":[[8,5]]},"139":{"position":[[14,5]]},"167":{"position":[[14,5]]},"195":{"position":[[14,5]]},"205":{"position":[[12,5]]},"218":{"position":[[24,5]]},"219":{"position":[[0,5]]},"220":{"position":[[12,5]]},"221":{"position":[[36,5]]},"274":{"position":[[0,5]]},"307":{"position":[[7,5]]},"343":{"position":[[14,5]]},"374":{"position":[[10,5],[50,5]]},"375":{"position":[[13,5]]},"389":{"position":[[0,5]]},"391":{"position":[[22,7]]},"404":{"position":[[32,5]]},"406":{"position":[[4,5]]},"407":{"position":[[12,5]]},"408":{"position":[[4,5]]},"409":{"position":[[27,5]]},"412":{"position":[[30,5]]},"413":{"position":[[0,5]]},"419":{"position":[[18,5]]},"420":{"position":[[23,5]]},"421":{"position":[[4,5]]},"425":{"position":[[10,5]]},"427":{"position":[[33,5]]},"489":{"position":[[0,5]]},"506":{"position":[[14,5]]},"516":{"position":[[0,5]]},"586":{"position":[[14,5]]},"629":{"position":[[13,5]]},"630":{"position":[[24,5]]},"631":{"position":[[31,5]]},"634":{"position":[[17,5]]},"695":{"position":[[13,5]]},"713":{"position":[[13,5]]},"723":{"position":[[20,5]]},"777":{"position":[[0,5]]},"980":{"position":[[32,5]]},"1009":{"position":[[18,5]]},"1011":{"position":[[0,5]]},"1012":{"position":[[8,5]]},"1307":{"position":[[0,5]]}},"content":{"13":{"position":[[37,5]]},"19":{"position":[[438,5]]},"34":{"position":[[19,5]]},"35":{"position":[[332,7]]},"38":{"position":[[82,5],[169,5],[220,5]]},"39":{"position":[[119,7]]},"40":{"position":[[419,5]]},"41":{"position":[[222,5]]},"42":{"position":[[41,5]]},"43":{"position":[[55,5]]},"46":{"position":[[130,5],[265,5],[564,5]]},"47":{"position":[[414,5]]},"57":{"position":[[24,5],[83,5]]},"58":{"position":[[329,5]]},"59":{"position":[[275,8]]},"61":{"position":[[298,5]]},"65":{"position":[[820,7],[879,5],[1052,7],[1536,5]]},"66":{"position":[[482,8]]},"87":{"position":[[106,7]]},"90":{"position":[[8,5],[114,5]]},"91":{"position":[[92,7]]},"92":{"position":[[58,8]]},"93":{"position":[[165,5]]},"95":{"position":[[155,5]]},"96":{"position":[[13,5]]},"122":{"position":[[169,7]]},"133":{"position":[[163,7]]},"139":{"position":[[47,5]]},"157":{"position":[[161,7]]},"164":{"position":[[153,8]]},"167":{"position":[[85,5]]},"172":{"position":[[305,7]]},"173":{"position":[[69,5],[890,5],[916,5],[1145,5],[1231,5],[1334,7],[1682,8],[1901,5],[1966,7],[2493,7],[2566,7],[2984,5],[3138,5]]},"183":{"position":[[178,7]]},"188":{"position":[[2209,5]]},"189":{"position":[[80,8]]},"195":{"position":[[66,5]]},"201":{"position":[[308,8],[398,5]]},"204":{"position":[[182,8]]},"205":{"position":[[162,5],[363,8]]},"206":{"position":[[115,5]]},"208":{"position":[[206,5]]},"209":{"position":[[757,5]]},"211":{"position":[[47,5]]},"212":{"position":[[254,8],[320,7]]},"215":{"position":[[162,8]]},"216":{"position":[[100,8]]},"217":{"position":[[111,8]]},"218":{"position":[[107,5]]},"219":{"position":[[120,5]]},"220":{"position":[[176,8]]},"221":{"position":[[94,7]]},"224":{"position":[[230,8]]},"243":{"position":[[443,5]]},"244":{"position":[[46,5],[1507,5]]},"248":{"position":[[112,8],[272,5]]},"251":{"position":[[73,7],[94,5]]},"252":{"position":[[138,8]]},"254":{"position":[[490,5]]},"255":{"position":[[159,5]]},"260":{"position":[[179,5]]},"261":{"position":[[1095,5]]},"262":{"position":[[86,5],[258,6]]},"263":{"position":[[285,5],[488,5]]},"266":{"position":[[165,7]]},"273":{"position":[[60,5]]},"274":{"position":[[5,5],[98,7]]},"280":{"position":[[151,5]]},"292":{"position":[[148,7]]},"293":{"position":[[247,5]]},"305":{"position":[[596,5]]},"309":{"position":[[152,7]]},"315":{"position":[[11,5]]},"318":{"position":[[213,5],[650,5]]},"320":{"position":[[369,7]]},"321":{"position":[[81,7]]},"322":{"position":[[191,8]]},"338":{"position":[[86,8]]},"358":{"position":[[117,5]]},"360":{"position":[[1,5],[386,7],[564,8]]},"362":{"position":[[767,5]]},"365":{"position":[[116,5],[498,5]]},"375":{"position":[[1,5],[345,5],[710,5],[791,7],[845,5]]},"376":{"position":[[38,5],[627,5]]},"377":{"position":[[151,5]]},"388":{"position":[[150,5],[504,5]]},"391":{"position":[[31,5],[938,8]]},"392":{"position":[[2978,7]]},"396":{"position":[[96,8],[1476,5],[1819,8]]},"398":{"position":[[3463,5]]},"399":{"position":[[108,5],[373,5]]},"402":{"position":[[72,5]]},"407":{"position":[[4,5],[197,5],[526,5],[640,5],[875,5],[987,5]]},"408":{"position":[[14,5],[141,5],[215,5],[1317,7],[1422,5],[1789,5],[2665,5],[3262,5],[4183,5],[4265,5],[4321,5],[4433,5],[5420,5]]},"409":{"position":[[163,5]]},"410":{"position":[[36,5],[149,5],[223,5],[446,5],[526,7],[1295,5],[1374,7],[1799,5],[1923,5],[1982,6],[2136,5]]},"411":{"position":[[30,5],[1121,5],[1423,5],[1895,5],[2172,5],[2542,5],[2575,5],[2766,7],[2948,5],[3760,5],[4291,5],[4427,5],[4559,5],[4903,5],[5442,5],[5771,5]]},"412":{"position":[[153,5],[289,5],[425,5],[581,5],[2656,5],[3213,5],[4311,5],[5210,5],[5630,5],[6582,5],[6683,5],[6920,5],[7209,5],[7359,5],[7401,5],[7534,9],[7554,5],[8161,5],[8227,5],[8274,5],[8424,5],[8624,5],[8965,5],[9491,5],[9723,5],[10870,5],[11177,5],[11259,5],[11718,5],[12226,5],[13264,5],[14203,5],[14750,5],[14790,5],[14928,5],[15088,5],[15399,5]]},"413":{"position":[[46,5]]},"414":{"position":[[1,5],[48,7]]},"415":{"position":[[1,5]]},"416":{"position":[[1,5],[144,7]]},"417":{"position":[[1,5]]},"418":{"position":[[1,5],[707,5],[827,5]]},"419":{"position":[[483,8],[811,7],[913,5],[1455,5],[1678,5],[1809,8]]},"420":{"position":[[94,5],[215,5],[341,5],[426,5],[538,5],[666,5],[1141,5],[1549,5]]},"421":{"position":[[526,5],[708,5],[1194,5]]},"422":{"position":[[147,5],[308,5],[350,5],[421,5]]},"440":{"position":[[140,7],[358,7]]},"444":{"position":[[428,5],[810,5]]},"445":{"position":[[560,8]]},"473":{"position":[[18,5]]},"475":{"position":[[108,5]]},"476":{"position":[[141,5],[275,5]]},"477":{"position":[[198,5]]},"478":{"position":[[210,5]]},"480":{"position":[[328,5]]},"481":{"position":[[37,5],[114,5],[784,5]]},"482":{"position":[[1,5]]},"483":{"position":[[230,5],[499,6],[797,5]]},"487":{"position":[[185,7]]},"489":{"position":[[3,5],[95,8],[457,5],[493,5],[631,8]]},"490":{"position":[[88,5]]},"491":{"position":[[7,5],[176,5],[294,5],[792,5],[1206,5]]},"501":{"position":[[363,5]]},"502":{"position":[[219,5],[286,5]]},"506":{"position":[[48,5]]},"510":{"position":[[248,5]]},"516":{"position":[[17,5],[130,8],[311,5]]},"526":{"position":[[15,5],[128,7]]},"534":{"position":[[188,5],[217,8],[317,5],[578,5]]},"544":{"position":[[106,5]]},"551":{"position":[[47,5]]},"562":{"position":[[1683,7]]},"565":{"position":[[166,5]]},"566":{"position":[[1073,6]]},"574":{"position":[[349,7],[454,5]]},"575":{"position":[[353,7]]},"576":{"position":[[60,5]]},"582":{"position":[[56,7],[173,5],[315,5]]},"584":{"position":[[71,5]]},"586":{"position":[[78,5]]},"594":{"position":[[186,5],[215,8],[315,5],[576,5]]},"604":{"position":[[106,5]]},"630":{"position":[[215,5],[582,5],[939,5]]},"631":{"position":[[483,5]]},"632":{"position":[[85,5],[1022,5],[1218,5],[1727,5],[1942,7],[2341,5],[2549,5]]},"634":{"position":[[3,5]]},"635":{"position":[[4,5]]},"636":{"position":[[149,5],[375,5]]},"638":{"position":[[19,8]]},"639":{"position":[[1,5]]},"640":{"position":[[492,5]]},"641":{"position":[[12,5]]},"644":{"position":[[50,5],[613,5]]},"662":{"position":[[14,5]]},"670":{"position":[[495,8]]},"697":{"position":[[339,5]]},"699":{"position":[[714,5]]},"700":{"position":[[223,5]]},"702":{"position":[[576,5]]},"711":{"position":[[152,8]]},"719":{"position":[[380,5]]},"723":{"position":[[350,5],[431,5],[656,5]]},"749":{"position":[[13689,5],[14220,5],[14291,5],[14466,5]]},"775":{"position":[[9,6]]},"778":{"position":[[356,5]]},"780":{"position":[[783,8]]},"785":{"position":[[528,5]]},"786":{"position":[[138,5],[160,5]]},"793":{"position":[[1081,5]]},"826":{"position":[[992,5]]},"836":{"position":[[2265,5]]},"838":{"position":[[14,5]]},"839":{"position":[[1225,5]]},"841":{"position":[[140,5],[618,5],[1358,5],[1485,5]]},"846":{"position":[[1099,5]]},"856":{"position":[[85,7],[210,7]]},"860":{"position":[[358,8],[1199,5]]},"861":{"position":[[1810,7],[2179,5]]},"872":{"position":[[298,7],[492,8]]},"873":{"position":[[62,5]]},"898":{"position":[[2942,5]]},"899":{"position":[[150,5]]},"902":{"position":[[507,5],[734,5]]},"903":{"position":[[391,5]]},"912":{"position":[[325,8]]},"988":{"position":[[738,5],[2345,5],[2453,5],[3469,5]]},"995":{"position":[[82,5],[1249,5]]},"1006":{"position":[[123,7],[220,5]]},"1007":{"position":[[593,5],[1098,5]]},"1008":{"position":[[201,5]]},"1009":{"position":[[607,5],[721,5]]},"1012":{"position":[[15,5],[52,5]]},"1013":{"position":[[29,5],[195,5],[241,5],[427,5],[579,5],[646,5]]},"1014":{"position":[[11,5],[70,5],[288,5]]},"1015":{"position":[[11,5]]},"1018":{"position":[[355,5]]},"1021":{"position":[[126,5]]},"1022":{"position":[[68,7],[260,7]]},"1124":{"position":[[1500,5],[1648,7],[1844,7]]},"1140":{"position":[[62,7]]},"1147":{"position":[[13,5]]},"1148":{"position":[[230,5]]},"1306":{"position":[[47,5]]},"1307":{"position":[[3,5],[423,5],[596,5]]},"1308":{"position":[[531,5]]},"1315":{"position":[[932,5],[1103,8]]},"1316":{"position":[[989,5],[3764,8]]}},"keywords":{}}],["localdb",{"_index":1344,"title":{},"content":{"209":{"position":[[267,10]]}},"keywords":{}}],["localdoc",{"_index":5599,"title":{},"content":{"1014":{"position":[[183,8],[324,8]]},"1015":{"position":[[159,8]]},"1016":{"position":[[118,8]]},"1018":{"position":[[60,8],[780,8]]}},"keywords":{}}],["localdoc.foo",{"_index":5613,"title":{},"content":{"1018":{"position":[[475,13],[545,12]]}},"keywords":{}}],["localdoc.get$('foo').subscribe(valu",{"_index":5611,"title":{},"content":{"1018":{"position":[[241,36]]}},"keywords":{}}],["localdoc.get('foo",{"_index":5608,"title":{},"content":{"1018":{"position":[[137,20],[514,20]]}},"keywords":{}}],["localdoc.remov",{"_index":5612,"title":{},"content":{"1018":{"position":[[318,18]]}},"keywords":{}}],["localdoc.sav",{"_index":5610,"title":{},"content":{"1018":{"position":[[208,16]]}},"keywords":{}}],["localdoc.set('foo",{"_index":5609,"title":{},"content":{"1018":{"position":[[173,19],[585,19]]}},"keywords":{}}],["localdoc.tojson().foo",{"_index":5617,"title":{},"content":{"1018":{"position":[[957,22]]}},"keywords":{}}],["localdocu",{"_index":4320,"title":{},"content":{"749":{"position":[[14179,14],[14376,14]]},"1013":{"position":[[151,15],[374,15],[526,15],[724,15]]}},"keywords":{}}],["localdocuments=tru",{"_index":4323,"title":{},"content":{"749":{"position":[[14410,19]]}},"keywords":{}}],["localforag",{"_index":547,"title":{"35":{"position":[[0,12]]}},"content":{"35":{"position":[[1,11],[294,11],[490,11]]}},"keywords":{}}],["localhost",{"_index":3862,"title":{},"content":{"676":{"position":[[14,9]]},"968":{"position":[[718,9]]}},"keywords":{}}],["localhost:4222",{"_index":4931,"title":{},"content":{"866":{"position":[[818,16]]}},"keywords":{}}],["locally.background",{"_index":3700,"title":{},"content":{"632":{"position":[[349,18]]}},"keywords":{}}],["locally.y",{"_index":1594,"title":{},"content":{"262":{"position":[[465,11]]}},"keywords":{}}],["locally—provid",{"_index":3103,"title":{},"content":{"474":{"position":[[150,17]]}},"keywords":{}}],["localst",{"_index":6146,"title":{},"content":{"1177":{"position":[[290,10]]}},"keywords":{}}],["localstate.collection.insert",{"_index":6148,"title":{},"content":{"1177":{"position":[[347,30]]}},"keywords":{}}],["localstate.databasestate.savequeue.addwrit",{"_index":6152,"title":{},"content":{"1177":{"position":[[613,46]]}},"keywords":{}}],["localstorag",{"_index":275,"title":{"63":{"position":[[0,13]]},"314":{"position":[[36,12]]},"423":{"position":[[6,12]]},"424":{"position":[[12,12]]},"428":{"position":[[21,13]]},"429":{"position":[[3,12]]},"430":{"position":[[16,13]]},"431":{"position":[[27,12]]},"432":{"position":[[0,12]]},"434":{"position":[[0,12]]},"435":{"position":[[0,12]]},"436":{"position":[[0,12]]},"438":{"position":[[5,12]]},"439":{"position":[[0,12]]},"440":{"position":[[0,12]]},"448":{"position":[[0,12]]},"451":{"position":[[8,13]]},"558":{"position":[[29,12]]},"559":{"position":[[37,13]]},"560":{"position":[[8,12]]},"566":{"position":[[10,12]]},"709":{"position":[[0,12]]},"1153":{"position":[[10,12]]},"1155":{"position":[[10,12]]},"1158":{"position":[[15,12]]},"1159":{"position":[[12,12]]},"1242":{"position":[[0,13]]}},"content":{"16":{"position":[[330,12]]},"35":{"position":[[185,13]]},"51":{"position":[[83,12],[527,12],[613,14]]},"55":{"position":[[785,14]]},"63":{"position":[[1,12]]},"65":{"position":[[1946,12]]},"66":{"position":[[32,12]]},"131":{"position":[[108,12],[141,12]]},"162":{"position":[[153,12],[206,12]]},"209":{"position":[[118,14]]},"211":{"position":[[180,14]]},"255":{"position":[[465,14]]},"258":{"position":[[118,14]]},"287":{"position":[[338,12],[384,13]]},"299":{"position":[[1610,13],[1715,12]]},"314":{"position":[[76,12],[417,14]]},"315":{"position":[[314,14]]},"318":{"position":[[196,12]]},"321":{"position":[[371,13]]},"331":{"position":[[43,12]]},"334":{"position":[[269,14]]},"336":{"position":[[126,13],[503,12]]},"368":{"position":[[161,12]]},"392":{"position":[[77,12],[131,13],[311,14]]},"408":{"position":[[341,12]]},"424":{"position":[[5,12]]},"425":{"position":[[95,13]]},"426":{"position":[[10,12]]},"427":{"position":[[26,12],[172,12],[267,12],[455,12],[676,12],[884,12],[1155,12],[1344,12],[1544,13]]},"429":{"position":[[45,12],[315,12],[429,12],[489,12],[509,12]]},"430":{"position":[[7,12],[268,12],[463,12],[746,12]]},"432":{"position":[[7,12],[269,13],[591,12],[781,12],[1315,13],[1393,12]]},"434":{"position":[[218,12]]},"437":{"position":[[100,12],[186,13]]},"438":{"position":[[16,12],[113,12],[198,12],[278,12]]},"439":{"position":[[61,12],[349,13]]},"440":{"position":[[43,12],[221,12],[264,12],[330,13]]},"441":{"position":[[41,12]]},"451":{"position":[[5,12],[90,12],[279,12],[768,12]]},"458":{"position":[[557,12],[712,12]]},"459":{"position":[[360,12]]},"460":{"position":[[707,12],[1023,13]]},"461":{"position":[[606,12],[757,12],[972,13]]},"462":{"position":[[912,13]]},"463":{"position":[[238,12]]},"464":{"position":[[295,12],[461,12]]},"465":{"position":[[156,12],[322,12]]},"466":{"position":[[121,12]]},"467":{"position":[[93,12]]},"468":{"position":[[1,12]]},"469":{"position":[[622,12],[683,12]]},"480":{"position":[[275,14]]},"482":{"position":[[276,14]]},"504":{"position":[[69,12],[137,12]]},"521":{"position":[[402,12]]},"522":{"position":[[382,14]]},"524":{"position":[[211,12],[264,12]]},"538":{"position":[[51,12],[215,12],[376,14]]},"542":{"position":[[496,14]]},"559":{"position":[[1,12],[549,12],[825,12],[989,12],[1104,12],[1387,12],[1561,12]]},"560":{"position":[[7,12],[283,13]]},"562":{"position":[[105,14]]},"563":{"position":[[315,14]]},"564":{"position":[[379,14]]},"566":{"position":[[16,12]]},"567":{"position":[[935,12]]},"579":{"position":[[121,12],[271,14]]},"581":{"position":[[131,12],[173,12]]},"598":{"position":[[51,12],[216,12],[371,14]]},"632":{"position":[[1156,14],[1244,12]]},"653":{"position":[[221,14]]},"659":{"position":[[143,12]]},"660":{"position":[[66,12]]},"662":{"position":[[1099,12]]},"680":{"position":[[634,14]]},"696":{"position":[[831,13],[888,12]]},"709":{"position":[[124,13],[837,12]]},"710":{"position":[[650,12],[1030,12],[1644,14]]},"717":{"position":[[701,14]]},"734":{"position":[[265,14]]},"739":{"position":[[252,14]]},"759":{"position":[[35,12],[299,14]]},"760":{"position":[[395,14]]},"793":{"position":[[180,12],[567,12],[1336,12]]},"829":{"position":[[576,14]]},"835":{"position":[[85,12]]},"862":{"position":[[433,14]]},"898":{"position":[[2083,12],[2282,14]]},"904":{"position":[[411,12],[469,12],[682,14]]},"960":{"position":[[250,14]]},"962":{"position":[[485,12],[721,14]]},"977":{"position":[[615,16]]},"1114":{"position":[[549,14]]},"1141":{"position":[[182,12]]},"1154":{"position":[[168,12],[282,12]]},"1156":{"position":[[70,12],[186,12]]},"1157":{"position":[[7,12],[139,12],[224,12],[402,12]]},"1158":{"position":[[140,14]]},"1159":{"position":[[11,12],[66,12],[347,14],[453,13]]},"1206":{"position":[[198,13]]},"1209":{"position":[[130,13]]},"1218":{"position":[[679,14]]},"1222":{"position":[[142,14],[299,12]]},"1235":{"position":[[25,12],[467,12]]},"1238":{"position":[[382,12],[759,12]]},"1239":{"position":[[560,12]]},"1242":{"position":[[69,12],[194,12]]},"1246":{"position":[[1595,12],[1639,12],[1833,12]]},"1286":{"position":[[325,14]]},"1287":{"position":[[371,14]]},"1288":{"position":[[331,14]]}},"keywords":{}}],["localstorage"",{"_index":1477,"title":{},"content":{"244":{"position":[[78,18],[186,19]]}},"keywords":{}}],["localstorage.clear",{"_index":2875,"title":{},"content":{"425":{"position":[[504,21]]}},"keywords":{}}],["localstorage.getitem('usernam",{"_index":2873,"title":{},"content":{"425":{"position":[[378,33]]},"559":{"position":[[336,33]]}},"keywords":{}}],["localstorage.j",{"_index":1959,"title":{},"content":{"336":{"position":[[81,15]]}},"keywords":{}}],["localstorage.removeitem('usernam",{"_index":2874,"title":{},"content":{"425":{"position":[[446,36]]}},"keywords":{}}],["localstorage.send",{"_index":3054,"title":{},"content":{"464":{"position":[[597,20]]}},"keywords":{}}],["localstorage.setitem",{"_index":2933,"title":{},"content":{"440":{"position":[[71,22]]}},"keywords":{}}],["localstorage.setitem('us",{"_index":2878,"title":{},"content":{"426":{"position":[[387,28]]}},"keywords":{}}],["localstorage.setitem('usernam",{"_index":2870,"title":{},"content":{"425":{"position":[[276,32]]},"559":{"position":[[434,32]]}},"keywords":{}}],["localstorage/indexeddb/websql",{"_index":3783,"title":{"660":{"position":[[0,30]]}},"content":{},"keywords":{}}],["localstorageexampl",{"_index":3387,"title":{},"content":{"559":{"position":[[246,21],[795,20]]}},"keywords":{}}],["localstoragewhil",{"_index":3406,"title":{},"content":{"559":{"position":[[971,17]]}},"keywords":{}}],["localstorage’",{"_index":3414,"title":{},"content":{"559":{"position":[[1712,14]]}},"keywords":{}}],["localstroag",{"_index":5386,"title":{},"content":{"962":{"position":[[612,12]]},"1242":{"position":[[5,12]]}},"keywords":{}}],["locat",{"_index":3790,"title":{},"content":{"661":{"position":[[605,8]]},"662":{"position":[[1359,8]]},"736":{"position":[[82,8]]},"838":{"position":[[2307,8]]},"849":{"position":[[882,8]]},"1007":{"position":[[1026,9],[1980,8]]},"1093":{"position":[[78,8]]},"1134":{"position":[[539,9]]},"1227":{"position":[[357,8]]},"1265":{"position":[[350,8]]},"1279":{"position":[[61,8]]}},"keywords":{}}],["location.reload",{"_index":4109,"title":{},"content":{"740":{"position":[[672,18]]},"879":{"position":[[666,18]]},"990":{"position":[[1398,18]]}},"keywords":{}}],["lock",{"_index":237,"title":{},"content":{"14":{"position":[[1072,4]]},"202":{"position":[[376,6]]},"212":{"position":[[376,4]]},"247":{"position":[[56,4]]},"249":{"position":[[340,4]]},"262":{"position":[[492,4]]},"376":{"position":[[427,4]]},"381":{"position":[[540,7]]},"412":{"position":[[1301,4],[1532,4],[2499,4]]},"461":{"position":[[542,6]]},"839":{"position":[[539,6],[836,4],[1314,4]]},"840":{"position":[[504,4]]},"841":{"position":[[1502,6],[1581,4]]},"886":{"position":[[4619,6]]},"1124":{"position":[[121,4]]}},"keywords":{}}],["lodash",{"_index":528,"title":{},"content":{"34":{"position":[[54,6]]}},"keywords":{}}],["log",{"_index":1902,"title":{"746":{"position":[[19,7]]},"747":{"position":[[13,7]]},"1151":{"position":[[34,4]]},"1178":{"position":[[34,4]]}},"content":{"316":{"position":[[136,5],[161,5]]},"353":{"position":[[708,5]]},"411":{"position":[[4327,4]]},"439":{"position":[[533,6]]},"616":{"position":[[909,5]]},"639":{"position":[[320,5],[345,4]]},"696":{"position":[[581,5]]},"745":{"position":[[159,7]]},"746":{"position":[[29,3],[151,3],[168,4],[386,3],[495,3],[587,3]]},"747":{"position":[[48,3]]},"904":{"position":[[3387,3]]},"1010":{"position":[[236,3]]},"1094":{"position":[[432,7]]},"1151":{"position":[[801,4],[864,4]]},"1178":{"position":[[798,4],[861,4]]},"1282":{"position":[[659,3],[855,3],[868,4]]}},"keywords":{}}],["logger",{"_index":4112,"title":{"744":{"position":[[5,6]]},"745":{"position":[[10,6]]}},"content":{"745":{"position":[[5,6],[371,6]]},"747":{"position":[[10,6]]},"793":{"position":[[455,6]]}},"keywords":{}}],["loggingstorag",{"_index":4115,"title":{},"content":{"745":{"position":[[384,14],[577,14]]},"746":{"position":[[272,14]]},"747":{"position":[[89,14]]}},"keywords":{}}],["logic",{"_index":668,"title":{},"content":{"43":{"position":[[102,5]]},"51":{"position":[[948,5]]},"168":{"position":[[219,5]]},"196":{"position":[[155,6]]},"203":{"position":[[171,6]]},"249":{"position":[[435,5]]},"262":{"position":[[434,5]]},"299":{"position":[[1139,5]]},"314":{"position":[[1115,5]]},"326":{"position":[[294,6]]},"344":{"position":[[153,5]]},"354":{"position":[[626,5]]},"383":{"position":[[475,6]]},"384":{"position":[[405,5]]},"392":{"position":[[4999,7]]},"411":{"position":[[1606,5]]},"412":{"position":[[1278,6],[4158,5],[8931,5],[9122,6],[11342,5],[13837,9]]},"559":{"position":[[1320,6]]},"566":{"position":[[952,5]]},"590":{"position":[[726,5]]},"626":{"position":[[594,6]]},"632":{"position":[[20,5],[2419,5],[2535,5]]},"634":{"position":[[507,5]]},"681":{"position":[[179,6]]},"682":{"position":[[113,5]]},"683":{"position":[[597,6]]},"686":{"position":[[596,5]]},"687":{"position":[[41,5]]},"688":{"position":[[573,6]]},"691":{"position":[[639,5]]},"697":{"position":[[230,5]]},"765":{"position":[[43,5]]},"839":{"position":[[950,5]]},"906":{"position":[[699,5],[1104,6]]},"1148":{"position":[[398,5]]},"1175":{"position":[[349,6]]},"1307":{"position":[[568,6]]},"1313":{"position":[[59,5],[942,5]]},"1316":{"position":[[2112,7]]}},"keywords":{}}],["logic.async",{"_index":3524,"title":{},"content":{"590":{"position":[[395,11]]}},"keywords":{}}],["logic.compat",{"_index":3894,"title":{},"content":{"688":{"position":[[918,16]]}},"keywords":{}}],["logic.your",{"_index":3905,"title":{},"content":{"690":{"position":[[81,10]]}},"keywords":{}}],["logid",{"_index":4127,"title":{},"content":{"747":{"position":[[200,6],[258,6],[318,6]]}},"keywords":{}}],["login",{"_index":333,"title":{},"content":{"19":{"position":[[583,5]]},"779":{"position":[[166,5]]}},"keywords":{}}],["logo",{"_index":2816,"title":{},"content":{"419":{"position":[[1665,5]]}},"keywords":{}}],["loki",{"_index":6137,"title":{},"content":{"1173":{"position":[[261,4]]},"1177":{"position":[[598,4]]}},"keywords":{}}],["loki.j",{"_index":6153,"title":{},"content":{"1178":{"position":[[103,7]]}},"keywords":{}}],["lokifsstructuredadapt",{"_index":4575,"title":{},"content":{"772":{"position":[[2176,23],[2478,25]]}},"keywords":{}}],["lokiincrementalindexeddbadapt",{"_index":6131,"title":{},"content":{"1172":{"position":[[202,31],[385,34]]}},"keywords":{}}],["lokij",{"_index":295,"title":{"28":{"position":[[0,7]]},"1169":{"position":[[10,6]]},"1177":{"position":[[19,6]]}},"content":{"17":{"position":[[408,6]]},"28":{"position":[[1,6],[101,6],[662,6],[698,6]]},"32":{"position":[[168,6]]},"186":{"position":[[121,7]]},"188":{"position":[[277,6],[734,8]]},"189":{"position":[[113,6],[131,6]]},"772":{"position":[[1890,6],[2310,8]]},"1172":{"position":[[97,8],[436,6]]},"1173":{"position":[[1,6],[80,6],[213,6]]},"1174":{"position":[[20,7],[114,6],[257,6],[327,6]]},"1175":{"position":[[18,7],[86,6]]},"1176":{"position":[[21,6],[124,6]]},"1177":{"position":[[52,6]]},"1178":{"position":[[769,6]]},"1284":{"position":[[398,7],[429,6]]},"1299":{"position":[[494,6]]},"1300":{"position":[[347,6],[573,6]]}},"keywords":{}}],["long",{"_index":1109,"title":{"609":{"position":[[36,4]]},"610":{"position":[[8,4]]}},"content":{"131":{"position":[[877,4]]},"141":{"position":[[130,4]]},"212":{"position":[[1,4]]},"266":{"position":[[477,4]]},"287":{"position":[[1052,4]]},"305":{"position":[[43,4],[233,4]]},"399":{"position":[[596,4]]},"404":{"position":[[440,4]]},"407":{"position":[[1127,4]]},"412":{"position":[[14891,4]]},"420":{"position":[[1035,4]]},"461":{"position":[[320,4]]},"463":{"position":[[579,4]]},"465":{"position":[[58,4]]},"468":{"position":[[644,4]]},"610":{"position":[[1,4],[312,4],[868,4],[1106,4],[1392,4],[1419,4]]},"611":{"position":[[71,4],[1401,4]]},"616":{"position":[[193,4],[291,4],[509,4]]},"619":{"position":[[336,4]]},"620":{"position":[[68,4]]},"624":{"position":[[1338,4]]},"653":{"position":[[391,4]]},"660":{"position":[[209,4]]},"696":{"position":[[338,4]]},"704":{"position":[[205,4]]},"740":{"position":[[182,4]]},"752":{"position":[[222,4],[578,4]]},"783":{"position":[[414,4]]},"835":{"position":[[256,4]]},"839":{"position":[[1395,4]]},"846":{"position":[[918,4]]},"849":{"position":[[59,4]]},"875":{"position":[[7189,4]]},"987":{"position":[[885,4]]},"988":{"position":[[5026,4]]},"1313":{"position":[[380,4],[554,4],[817,4]]},"1316":{"position":[[2699,4],[2810,4]]}},"keywords":{}}],["longer",{"_index":1134,"title":{"783":{"position":[[17,6]]}},"content":{"143":{"position":[[293,6]]},"400":{"position":[[188,6]]},"401":{"position":[[671,6]]},"474":{"position":[[200,6]]},"590":{"position":[[559,6]]},"642":{"position":[[276,6]]},"687":{"position":[[283,6]]},"715":{"position":[[363,6]]},"780":{"position":[[677,6]]},"816":{"position":[[427,6]]},"837":{"position":[[1184,6]]},"840":{"position":[[448,6]]},"879":{"position":[[241,6]]},"880":{"position":[[48,6],[82,6]]},"995":{"position":[[1061,6]]},"1007":{"position":[[818,6]]},"1009":{"position":[[1085,6]]},"1027":{"position":[[64,6]]},"1031":{"position":[[252,6]]},"1032":{"position":[[59,6]]},"1047":{"position":[[152,6]]},"1104":{"position":[[600,6]]},"1112":{"position":[[476,6]]},"1192":{"position":[[492,6]]},"1288":{"position":[[48,6]]},"1301":{"position":[[1547,6]]},"1313":{"position":[[277,6],[535,6],[882,6]]}},"keywords":{}}],["longpol",{"_index":3553,"title":{},"content":{"610":{"position":[[913,10],[1063,11],[1364,11]]}},"keywords":{}}],["longth",{"_index":3036,"title":{},"content":{"463":{"position":[[881,7]]}},"keywords":{}}],["look",{"_index":2444,"title":{},"content":{"401":{"position":[[12,4]]},"408":{"position":[[4054,7]]},"420":{"position":[[7,4]]},"432":{"position":[[946,7]]},"567":{"position":[[11,7]]},"620":{"position":[[235,4]]},"698":{"position":[[315,4],[2065,5]]},"752":{"position":[[1096,4]]},"778":{"position":[[264,7]]},"818":{"position":[[347,4]]},"824":{"position":[[540,4]]},"885":{"position":[[1448,4]]},"901":{"position":[[530,4]]},"986":{"position":[[707,4]]},"988":{"position":[[5381,4]]},"1276":{"position":[[357,4]]},"1305":{"position":[[538,5]]},"1309":{"position":[[353,4]]},"1316":{"position":[[2233,4]]},"1318":{"position":[[522,4]]},"1321":{"position":[[655,4]]}},"keywords":{}}],["lookup",{"_index":2035,"title":{},"content":{"356":{"position":[[288,7]]},"376":{"position":[[588,8]]},"559":{"position":[[1488,7]]},"560":{"position":[[70,7]]}},"keywords":{}}],["lookups.perform",{"_index":1324,"title":{},"content":{"205":{"position":[[168,15]]}},"keywords":{}}],["lookups.test",{"_index":3527,"title":{},"content":{"590":{"position":[[671,12]]}},"keywords":{}}],["loop",{"_index":5591,"title":{},"content":{"1010":{"position":[[17,5],[79,5]]}},"keywords":{}}],["loos",{"_index":460,"title":{},"content":{"28":{"position":[[413,5]]},"402":{"position":[[525,5]]},"611":{"position":[[1024,5]]},"875":{"position":[[8561,6]]},"1222":{"position":[[905,5]]},"1301":{"position":[[294,5]]},"1316":{"position":[[1474,7]]}},"keywords":{}}],["lose",{"_index":2065,"title":{"1323":{"position":[[9,4]]}},"content":{"358":{"position":[[703,6],[1013,4]]},"380":{"position":[[95,5]]},"412":{"position":[[8740,4]]},"703":{"position":[[703,4],[783,4]]}},"keywords":{}}],["loss",{"_index":2161,"title":{},"content":{"382":{"position":[[399,5]]},"398":{"position":[[214,4]]},"402":{"position":[[2538,4]]},"419":{"position":[[907,5]]},"612":{"position":[[1414,5]]},"981":{"position":[[1459,4]]},"1304":{"position":[[1499,4]]}},"keywords":{}}],["lost",{"_index":11,"title":{},"content":{"1":{"position":[[154,4]]},"30":{"position":[[154,4]]},"412":{"position":[[8288,5]]},"416":{"position":[[468,5]]},"660":{"position":[[378,4]]},"691":{"position":[[203,5]]},"773":{"position":[[274,4]]},"774":{"position":[[1006,4]]},"1090":{"position":[[1277,5]]},"1164":{"position":[[986,4]]},"1171":{"position":[[45,4]]},"1174":{"position":[[307,5]]},"1300":{"position":[[187,5]]},"1301":{"position":[[392,4]]},"1314":{"position":[[137,4]]}},"keywords":{}}],["lot",{"_index":292,"title":{},"content":{"17":{"position":[[246,4]]},"24":{"position":[[393,3]]},"33":{"position":[[382,3]]},"412":{"position":[[15250,3]]},"709":{"position":[[783,3]]},"752":{"position":[[175,4]]}},"keywords":{}}],["low",{"_index":692,"title":{"92":{"position":[[28,3]]},"220":{"position":[[0,3]]},"1239":{"position":[[0,3]]}},"content":{"45":{"position":[[16,3]]},"65":{"position":[[1010,3]]},"92":{"position":[[80,3]]},"122":{"position":[[349,3]]},"131":{"position":[[279,3]]},"133":{"position":[[342,3]]},"173":{"position":[[2505,3]]},"181":{"position":[[70,3]]},"220":{"position":[[27,3]]},"299":{"position":[[1007,3],[1094,3]]},"300":{"position":[[635,3]]},"301":{"position":[[56,3],[547,3]]},"331":{"position":[[293,3]]},"378":{"position":[[217,3]]},"408":{"position":[[3526,3]]},"410":{"position":[[56,3]]},"412":{"position":[[9360,3],[10684,3]]},"418":{"position":[[160,3]]},"452":{"position":[[93,3]]},"497":{"position":[[625,4]]},"521":{"position":[[65,3]]},"533":{"position":[[16,3]]},"535":{"position":[[272,3]]},"548":{"position":[[288,3]]},"560":{"position":[[196,3]]},"566":{"position":[[85,3]]},"569":{"position":[[390,3]]},"593":{"position":[[16,3]]},"595":{"position":[[285,3]]},"608":{"position":[[286,3]]},"611":{"position":[[550,3]]},"613":{"position":[[60,3]]},"621":{"position":[[223,3],[733,3]]},"660":{"position":[[236,3]]},"1123":{"position":[[76,3]]},"1206":{"position":[[373,3]]},"1209":{"position":[[53,3]]},"1239":{"position":[[68,3]]}},"keywords":{}}],["lowdb",{"_index":526,"title":{"34":{"position":[[0,6]]}},"content":{"34":{"position":[[1,5],[133,5],[386,6],[517,6],[706,5]]}},"keywords":{}}],["lower",{"_index":890,"title":{"204":{"position":[[3,5]]}},"content":{"61":{"position":[[442,5]]},"277":{"position":[[282,5]]},"376":{"position":[[665,5]]},"402":{"position":[[1206,5]]},"617":{"position":[[386,5],[1773,5]]},"622":{"position":[[432,5]]},"772":{"position":[[2577,6]]},"796":{"position":[[803,5]]},"1239":{"position":[[247,5]]}},"keywords":{}}],["lowercas",{"_index":5797,"title":{},"content":{"1072":{"position":[[2159,9],[2322,10]]}},"keywords":{}}],["lowest",{"_index":3052,"title":{},"content":{"464":{"position":[[482,6]]},"621":{"position":[[24,6]]},"1320":{"position":[[173,6]]}},"keywords":{}}],["lsh",{"_index":2335,"title":{},"content":{"396":{"position":[[123,6],[130,3]]}},"keywords":{}}],["lt",{"_index":600,"title":{},"content":{"38":{"position":[[986,4],[1015,4]]},"367":{"position":[[746,4],[864,4]]},"398":{"position":[[1075,4],[2422,4]]},"403":{"position":[[516,4]]},"522":{"position":[[454,4],[505,4],[548,4],[598,4],[666,4],[732,4]]},"602":{"position":[[454,5]]},"681":{"position":[[727,4]]},"734":{"position":[[785,4]]},"739":{"position":[[551,4]]},"749":{"position":[[21551,5]]},"751":{"position":[[1959,4]]},"752":{"position":[[458,4]]},"759":{"position":[[781,4]]},"760":{"position":[[413,4]]},"796":{"position":[[555,4],[963,4],[1394,4]]},"799":{"position":[[734,4]]},"838":{"position":[[2360,4]]},"858":{"position":[[492,6],[499,6]]},"885":{"position":[[1795,4],[1898,4],[2084,4]]},"886":{"position":[[3993,4]]},"906":{"position":[[1041,4]]},"932":{"position":[[1297,4]]},"960":{"position":[[322,4],[373,4],[443,4],[493,4],[561,4],[627,4]]},"983":{"position":[[1030,4]]},"988":{"position":[[3961,4]]},"1013":{"position":[[398,4],[550,4]]},"1036":{"position":[[152,4]]},"1062":{"position":[[190,4]]},"1074":{"position":[[1002,4]]},"1078":{"position":[[564,4],[892,4]]},"1080":{"position":[[187,4],[283,4],[747,4],[843,4],[935,4]]},"1082":{"position":[[272,4],[421,4]]},"1083":{"position":[[472,4]]},"1277":{"position":[[444,4]]}},"keywords":{}}],["lt;/characterlist>",{"_index":3284,"title":{},"content":{"523":{"position":[[833,22]]}},"keywords":{}}],["lt;/div>",{"_index":3319,"title":{},"content":{"541":{"position":[[721,12]]},"559":{"position":[[762,12]]},"601":{"position":[[305,12]]},"602":{"position":[[692,12]]}},"keywords":{}}],["lt;/li>",{"_index":824,"title":{},"content":{"54":{"position":[[289,11]]},"55":{"position":[[1210,11]]},"335":{"position":[[525,11]]},"493":{"position":[[285,11]]},"541":{"position":[[693,11]]},"562":{"position":[[1542,11]]},"571":{"position":[[1173,15]]},"580":{"position":[[875,11]]},"601":{"position":[[281,11]]},"602":{"position":[[668,11]]},"825":{"position":[[856,13]]}},"keywords":{}}],["lt;/rxdatabaseprovider>",{"_index":4755,"title":{},"content":{"829":{"position":[[1814,27]]}},"keywords":{}}],["lt;/script>",{"_index":3501,"title":{},"content":{"580":{"position":[[716,15]]},"601":{"position":[[704,15]]}},"keywords":{}}],["lt;/span>",{"_index":4752,"title":{},"content":{"829":{"position":[[1716,14]]}},"keywords":{}}],["lt;/strong>",{"_index":3540,"title":{},"content":{"601":{"position":[[244,17]]},"602":{"position":[[631,17]]}},"keywords":{}}],["lt;/template>",{"_index":3509,"title":{},"content":{"580":{"position":[[899,17]]},"601":{"position":[[318,17]]},"602":{"position":[[705,17]]}},"keywords":{}}],["lt;/ul>",{"_index":825,"title":{},"content":{"54":{"position":[[301,11]]},"55":{"position":[[1222,11]]},"130":{"position":[[664,11]]},"493":{"position":[[297,11]]},"494":{"position":[[408,11]]},"541":{"position":[[709,11]]},"542":{"position":[[914,11]]},"562":{"position":[[1558,11]]},"580":{"position":[[887,11]]},"601":{"position":[[293,11]]},"602":{"position":[[680,11]]},"825":{"position":[[870,11]]},"829":{"position":[[3612,11]]}},"keywords":{}}],["lt;a",{"_index":4750,"title":{},"content":{"829":{"position":[[1634,5]]}},"keywords":{}}],["lt;button",{"_index":3281,"title":{},"content":{"523":{"position":[[773,10]]}},"keywords":{}}],["lt;charact",{"_index":3277,"title":{},"content":{"523":{"position":[[690,13]]}},"keywords":{}}],["lt;characterlist>",{"_index":3275,"title":{},"content":{"523":{"position":[[625,21]]}},"keywords":{}}],["lt;div>",{"_index":3312,"title":{},"content":{"541":{"position":[[533,11]]},"559":{"position":[[519,11]]},"601":{"position":[[94,11]]},"602":{"position":[[400,11]]}},"keywords":{}}],["lt;h2>hero",{"_index":3313,"title":{},"content":{"541":{"position":[[545,14]]},"601":{"position":[[106,14]]},"602":{"position":[[412,14]]}},"keywords":{}}],["lt;h2>reactj",{"_index":3392,"title":{},"content":{"559":{"position":[[531,17]]}},"keywords":{}}],["lt;input",{"_index":3394,"title":{},"content":{"559":{"position":[[578,9]]}},"keywords":{}}],["lt;li",{"_index":820,"title":{},"content":{"54":{"position":[[215,6]]},"55":{"position":[[1137,6]]},"493":{"position":[[224,6]]},"494":{"position":[[359,6]]},"541":{"position":[[612,6]]},"542":{"position":[[863,6]]},"562":{"position":[[1483,6]]},"580":{"position":[[760,6]]},"601":{"position":[[148,6]]},"602":{"position":[[523,6]]},"825":{"position":[[791,6]]},"829":{"position":[[3559,6]]}},"keywords":{}}],["lt;li>",{"_index":1949,"title":{},"content":{"335":{"position":[[447,10]]},"571":{"position":[[1147,12]]}},"keywords":{}}],["lt;li>{{hero.name}}</li>",{"_index":1101,"title":{},"content":{"130":{"position":[[629,34]]}},"keywords":{}}],["lt;p>store",{"_index":3401,"title":{},"content":{"559":{"position":[[724,16]]}},"keywords":{}}],["lt;rxdatabaseprovid",{"_index":4753,"title":{},"content":{"829":{"position":[[1742,22]]}},"keywords":{}}],["lt;rxdatabaseprovider>",{"_index":4438,"title":{},"content":{"749":{"position":[[24164,26]]}},"keywords":{}}],["lt;script",{"_index":3492,"title":{},"content":{"580":{"position":[[278,10]]},"601":{"position":[[336,10]]}},"keywords":{}}],["lt;span",{"_index":6182,"title":{},"content":{"1202":{"position":[[93,8]]}},"keywords":{}}],["lt;span>",{"_index":4749,"title":{},"content":{"829":{"position":[[1613,12]]}},"keywords":{}}],["lt;span>loading...</span>",{"_index":4758,"title":{},"content":{"829":{"position":[[2555,36],[3474,36]]}},"keywords":{}}],["lt;span>tot",{"_index":4759,"title":{},"content":{"829":{"position":[[2601,17]]}},"keywords":{}}],["lt;strong>",{"_index":3539,"title":{},"content":{"601":{"position":[[217,16]]},"602":{"position":[[604,16]]}},"keywords":{}}],["lt;strong>${hero.name}</strong>",{"_index":1950,"title":{},"content":{"335":{"position":[[458,41]]}},"keywords":{}}],["lt;strong>{hero.name}</strong>",{"_index":3317,"title":{},"content":{"541":{"position":[[637,40]]}},"keywords":{}}],["lt;template>",{"_index":3502,"title":{},"content":{"580":{"position":[[732,16]]},"601":{"position":[[77,16]]},"602":{"position":[[383,16]]}},"keywords":{}}],["lt;ul",{"_index":1099,"title":{},"content":{"130":{"position":[[560,6]]},"493":{"position":[[155,6]]}},"keywords":{}}],["lt;ul>",{"_index":819,"title":{},"content":{"54":{"position":[[204,10]]},"55":{"position":[[1126,10]]},"494":{"position":[[324,10]]},"541":{"position":[[576,10]]},"542":{"position":[[827,10]]},"562":{"position":[[1447,10]]},"580":{"position":[[749,10]]},"601":{"position":[[137,10]]},"602":{"position":[[443,10]]},"825":{"position":[[780,10]]},"829":{"position":[[3522,10]]}},"keywords":{}}],["luck",{"_index":3934,"title":{},"content":{"696":{"position":[[592,4]]}},"keywords":{}}],["lwt",{"_index":6151,"title":{},"content":{"1177":{"position":[[492,4]]}},"keywords":{}}],["m",{"_index":4653,"title":{},"content":{"798":{"position":[[611,3]]},"1066":{"position":[[417,3]]}},"keywords":{}}],["machin",{"_index":2183,"title":{},"content":{"390":{"position":[[258,7]]},"391":{"position":[[196,7],[986,7]]},"392":{"position":[[1983,7],[4941,8]]},"402":{"position":[[1769,7]]},"462":{"position":[[484,7]]},"699":{"position":[[448,7],[530,9]]},"743":{"position":[[232,8]]},"1246":{"position":[[866,8]]},"1292":{"position":[[87,7],[142,7]]}},"keywords":{}}],["made",{"_index":288,"title":{"76":{"position":[[0,4]]},"107":{"position":[[0,4]]},"230":{"position":[[0,4]]},"238":{"position":[[29,4]]},"1250":{"position":[[7,4]]},"1254":{"position":[[14,4]]}},"content":{"17":{"position":[[87,4]]},"21":{"position":[[188,4]]},"25":{"position":[[76,4]]},"36":{"position":[[313,4]]},"37":{"position":[[32,4]]},"113":{"position":[[74,4]]},"125":{"position":[[227,4]]},"129":{"position":[[226,4]]},"136":{"position":[[88,4]]},"174":{"position":[[2990,4]]},"191":{"position":[[129,4]]},"274":{"position":[[333,4]]},"289":{"position":[[877,4]]},"366":{"position":[[43,4]]},"404":{"position":[[497,5]]},"408":{"position":[[712,4]]},"445":{"position":[[1044,4]]},"446":{"position":[[341,4]]},"450":{"position":[[725,4]]},"453":{"position":[[473,4]]},"469":{"position":[[120,4]]},"517":{"position":[[287,4]]},"519":{"position":[[170,4]]},"525":{"position":[[148,4]]},"576":{"position":[[401,4]]},"589":{"position":[[136,4]]},"614":{"position":[[543,4]]},"626":{"position":[[313,4]]},"662":{"position":[[376,4]]},"686":{"position":[[149,4]]},"698":{"position":[[1573,4]]},"783":{"position":[[117,4],[401,4]]},"863":{"position":[[397,4]]},"906":{"position":[[299,4]]},"1007":{"position":[[1057,4]]},"1093":{"position":[[227,4]]},"1246":{"position":[[692,4]]},"1250":{"position":[[8,4]]},"1271":{"position":[[333,4]]},"1316":{"position":[[3541,4]]}},"keywords":{}}],["made.nest",{"_index":4920,"title":{},"content":{"863":{"position":[[753,11]]}},"keywords":{}}],["magic",{"_index":3946,"title":{},"content":{"698":{"position":[[3106,9]]}},"keywords":{}}],["mailbywordcollect",{"_index":5637,"title":{},"content":{"1023":{"position":[[191,21]]}},"keywords":{}}],["mailbywordcollection.bulkinsert",{"_index":5640,"title":{},"content":{"1023":{"position":[[441,32]]}},"keywords":{}}],["mailbywordcollection.find({emailid",{"_index":5638,"title":{},"content":{"1023":{"position":[[302,35]]}},"keywords":{}}],["mailid",{"_index":5634,"title":{},"content":{"1022":{"position":[[993,7]]},"1023":{"position":[[657,7]]}},"keywords":{}}],["main",{"_index":289,"title":{"642":{"position":[[25,4]]},"1211":{"position":[[18,4]]},"1226":{"position":[[7,4]]},"1264":{"position":[[7,4]]}},"content":{"17":{"position":[[178,4]]},"19":{"position":[[186,4]]},"24":{"position":[[252,4]]},"27":{"position":[[131,4]]},"29":{"position":[[102,4]]},"266":{"position":[[988,4]]},"392":{"position":[[3470,4],[3686,4],[3794,4]]},"408":{"position":[[3906,4]]},"412":{"position":[[826,4]]},"427":{"position":[[306,4]]},"453":{"position":[[313,4]]},"454":{"position":[[890,4]]},"460":{"position":[[100,4],[644,4],[876,4],[948,4],[1214,4],[1382,4]]},"463":{"position":[[686,4],[931,4]]},"464":{"position":[[334,4]]},"465":{"position":[[195,4]]},"466":{"position":[[160,4]]},"467":{"position":[[131,4],[368,4]]},"468":{"position":[[84,4],[419,4]]},"470":{"position":[[393,4]]},"538":{"position":[[19,4]]},"540":{"position":[[102,4]]},"559":{"position":[[1131,4]]},"598":{"position":[[19,4]]},"642":{"position":[[171,4]]},"693":{"position":[[72,4],[453,4],[612,4],[919,5],[1239,5]]},"708":{"position":[[610,4]]},"709":{"position":[[1067,4]]},"710":{"position":[[1324,4],[2367,4]]},"711":{"position":[[323,4],[381,4],[538,4],[628,4],[1057,4]]},"721":{"position":[[211,4],[236,4],[403,4]]},"775":{"position":[[745,4]]},"801":{"position":[[187,4],[447,4],[975,4]]},"840":{"position":[[223,4]]},"1068":{"position":[[433,4]]},"1092":{"position":[[494,4]]},"1094":{"position":[[282,4]]},"1157":{"position":[[258,4]]},"1183":{"position":[[570,4]]},"1207":{"position":[[393,4],[552,4]]},"1211":{"position":[[151,4],[241,4],[415,4]]},"1213":{"position":[[176,4],[309,4]]},"1214":{"position":[[639,4]]},"1230":{"position":[[372,4]]},"1231":{"position":[[322,4],[392,4]]},"1239":{"position":[[225,4],[410,4]]},"1246":{"position":[[212,4],[532,4],[1475,4],[2098,4]]},"1276":{"position":[[292,4]]},"1286":{"position":[[374,4]]},"1287":{"position":[[420,4]]},"1288":{"position":[[380,4]]},"1315":{"position":[[1117,4]]}},"keywords":{}}],["main.j",{"_index":3927,"title":{},"content":{"693":{"position":[[705,7]]},"1214":{"position":[[491,8]]}},"keywords":{}}],["mainli",{"_index":2838,"title":{},"content":{"420":{"position":[[1190,6]]},"450":{"position":[[106,6]]},"1094":{"position":[[495,6]]},"1120":{"position":[[221,6]]}},"keywords":{}}],["maintain",{"_index":466,"title":{},"content":{"28":{"position":[[712,10]]},"47":{"position":[[573,11]]},"116":{"position":[[58,10]]},"145":{"position":[[45,8]]},"173":{"position":[[2860,11]]},"240":{"position":[[276,11]]},"255":{"position":[[1843,11]]},"289":{"position":[[372,8]]},"312":{"position":[[193,11]]},"353":{"position":[[195,8]]},"360":{"position":[[790,8]]},"366":{"position":[[203,11]]},"379":{"position":[[292,11]]},"384":{"position":[[443,11]]},"387":{"position":[[337,11]]},"396":{"position":[[453,11]]},"411":{"position":[[1680,11],[1788,9]]},"412":{"position":[[13749,12]]},"424":{"position":[[405,8]]},"445":{"position":[[1603,16]]},"516":{"position":[[351,11]]},"519":{"position":[[228,11]]},"595":{"position":[[683,8]]},"617":{"position":[[571,8],[631,8]]},"618":{"position":[[90,11]]},"623":{"position":[[13,11]]},"630":{"position":[[233,9]]},"632":{"position":[[109,9]]},"670":{"position":[[156,10],[252,10],[375,10]]},"705":{"position":[[56,11]]},"784":{"position":[[321,8]]},"835":{"position":[[763,10]]},"837":{"position":[[592,10],[1191,11]]},"901":{"position":[[450,11]]},"1133":{"position":[[307,10]]},"1151":{"position":[[362,11]]},"1178":{"position":[[361,11]]},"1198":{"position":[[2236,8]]}},"keywords":{}}],["mainten",{"_index":2753,"title":{},"content":{"412":{"position":[[12030,11]]},"661":{"position":[[484,11]]}},"keywords":{}}],["major",{"_index":2172,"title":{"760":{"position":[[29,5]]}},"content":{"387":{"position":[[207,5]]},"408":{"position":[[4221,5],[4288,5]]},"410":{"position":[[987,5]]},"412":{"position":[[782,5]]},"445":{"position":[[437,5]]},"452":{"position":[[487,5]]},"454":{"position":[[115,5]]},"760":{"position":[[33,5]]},"774":{"position":[[927,5]]},"837":{"position":[[607,5]]},"965":{"position":[[395,5]]},"1198":{"position":[[2169,5]]}},"keywords":{}}],["make",{"_index":186,"title":{"247":{"position":[[5,5]]},"668":{"position":[[0,6]]},"799":{"position":[[0,4]]}},"content":{"13":{"position":[[77,5],[275,5]]},"15":{"position":[[492,4]]},"34":{"position":[[672,4]]},"35":{"position":[[199,6],[484,5]]},"41":{"position":[[132,5]]},"64":{"position":[[158,6]]},"65":{"position":[[678,4],[1494,6]]},"72":{"position":[[94,6]]},"83":{"position":[[195,4]]},"104":{"position":[[139,5]]},"105":{"position":[[130,6]]},"118":{"position":[[333,4]]},"126":{"position":[[284,4]]},"129":{"position":[[451,4]]},"142":{"position":[[4,4]]},"148":{"position":[[451,4]]},"164":{"position":[[203,4]]},"167":{"position":[[300,6]]},"174":{"position":[[634,5],[1449,6]]},"175":{"position":[[637,4]]},"179":{"position":[[201,4]]},"183":{"position":[[41,6]]},"186":{"position":[[336,4]]},"206":{"position":[[301,4]]},"207":{"position":[[296,5]]},"227":{"position":[[104,6]]},"236":{"position":[[285,6]]},"241":{"position":[[637,4]]},"265":{"position":[[833,5]]},"266":{"position":[[189,6]]},"267":{"position":[[21,4],[225,4],[580,5],[902,4],[1393,4]]},"271":{"position":[[292,4]]},"281":{"position":[[167,6]]},"282":{"position":[[343,5]]},"295":{"position":[[156,6]]},"325":{"position":[[194,6]]},"328":{"position":[[286,4]]},"362":{"position":[[124,5]]},"365":{"position":[[370,6],[776,6]]},"366":{"position":[[385,6]]},"369":{"position":[[1031,6]]},"371":{"position":[[246,4]]},"387":{"position":[[406,6]]},"393":{"position":[[366,6]]},"394":{"position":[[1736,6]]},"395":{"position":[[493,5]]},"399":{"position":[[200,6]]},"402":{"position":[[601,5],[2029,5]]},"407":{"position":[[702,5]]},"408":{"position":[[1822,5],[2242,6]]},"409":{"position":[[27,6]]},"411":{"position":[[3089,4],[3666,5]]},"412":{"position":[[5977,4],[12612,5],[14498,5],[14835,5]]},"427":{"position":[[525,5],[926,6]]},"432":{"position":[[468,6]]},"435":{"position":[[304,6]]},"441":{"position":[[135,4],[617,4]]},"445":{"position":[[882,6],[1905,6]]},"446":{"position":[[825,4]]},"452":{"position":[[340,5],[754,5]]},"453":{"position":[[678,4]]},"454":{"position":[[574,5]]},"455":{"position":[[477,4]]},"457":{"position":[[596,4]]},"462":{"position":[[972,5]]},"473":{"position":[[148,5]]},"489":{"position":[[505,5]]},"491":{"position":[[508,5]]},"500":{"position":[[303,6]]},"516":{"position":[[201,4]]},"528":{"position":[[147,6]]},"533":{"position":[[270,6]]},"535":{"position":[[206,6]]},"554":{"position":[[1160,4]]},"571":{"position":[[625,4]]},"590":{"position":[[703,4]]},"593":{"position":[[270,6]]},"595":{"position":[[219,6],[795,6]]},"611":{"position":[[507,6]]},"612":{"position":[[195,6]]},"613":{"position":[[346,5]]},"614":{"position":[[722,5]]},"617":{"position":[[921,5]]},"621":{"position":[[470,6]]},"623":{"position":[[556,6]]},"624":{"position":[[459,6],[750,5]]},"627":{"position":[[258,4]]},"650":{"position":[[102,4]]},"659":{"position":[[914,5]]},"661":{"position":[[1647,5]]},"662":{"position":[[279,5]]},"666":{"position":[[53,4]]},"668":{"position":[[8,4]]},"670":{"position":[[35,4]]},"679":{"position":[[109,4]]},"682":{"position":[[136,4]]},"683":{"position":[[553,4]]},"685":{"position":[[350,5]]},"686":{"position":[[554,5]]},"696":{"position":[[1,6],[548,4],[1609,4]]},"701":{"position":[[504,5]]},"702":{"position":[[358,4]]},"703":{"position":[[1089,5]]},"705":{"position":[[632,5]]},"711":{"position":[[2089,5]]},"714":{"position":[[277,6]]},"717":{"position":[[237,5]]},"723":{"position":[[1833,6]]},"737":{"position":[[83,5]]},"739":{"position":[[4,4]]},"749":{"position":[[5643,4]]},"770":{"position":[[601,4]]},"773":{"position":[[178,5]]},"781":{"position":[[826,5]]},"783":{"position":[[434,5]]},"784":{"position":[[33,4],[808,5]]},"785":{"position":[[390,4],[678,4]]},"795":{"position":[[54,4]]},"798":{"position":[[730,5]]},"799":{"position":[[92,4],[740,4]]},"800":{"position":[[45,4]]},"815":{"position":[[328,4]]},"821":{"position":[[201,5],[424,5],[747,5]]},"826":{"position":[[168,4]]},"828":{"position":[[402,5]]},"829":{"position":[[1167,6]]},"831":{"position":[[254,5]]},"835":{"position":[[985,5]]},"838":{"position":[[308,5],[511,6],[745,4]]},"860":{"position":[[800,6],[1158,5]]},"861":{"position":[[2314,4]]},"872":{"position":[[779,4]]},"875":{"position":[[9378,4]]},"884":{"position":[[41,4]]},"886":{"position":[[4701,4]]},"893":{"position":[[268,4]]},"898":{"position":[[2732,4]]},"904":{"position":[[29,4]]},"917":{"position":[[452,4]]},"932":{"position":[[318,4]]},"981":{"position":[[501,5],[657,5],[1328,6]]},"1009":{"position":[[863,4]]},"1044":{"position":[[1,6],[163,4]]},"1057":{"position":[[293,4]]},"1066":{"position":[[536,5]]},"1083":{"position":[[34,4]]},"1085":{"position":[[2733,4]]},"1088":{"position":[[668,4]]},"1093":{"position":[[114,5]]},"1097":{"position":[[470,4]]},"1104":{"position":[[30,4]]},"1107":{"position":[[1005,4]]},"1120":{"position":[[687,5]]},"1123":{"position":[[707,5]]},"1124":{"position":[[843,5]]},"1126":{"position":[[75,4]]},"1132":{"position":[[1174,6]]},"1135":{"position":[[340,4]]},"1143":{"position":[[388,5]]},"1175":{"position":[[71,4]]},"1184":{"position":[[237,4]]},"1194":{"position":[[95,5]]},"1208":{"position":[[544,4]]},"1213":{"position":[[419,4]]},"1227":{"position":[[111,4]]},"1249":{"position":[[130,5]]},"1265":{"position":[[104,4]]},"1282":{"position":[[274,5]]},"1300":{"position":[[310,4]]},"1304":{"position":[[1252,4]]},"1313":{"position":[[397,4]]},"1318":{"position":[[82,5]]},"1320":{"position":[[63,4],[106,6],[512,4]]},"1321":{"position":[[583,4],[1075,5]]},"1324":{"position":[[775,4],[1019,4]]}},"keywords":{}}],["male",{"_index":4654,"title":{},"content":{"798":{"position":[[684,7]]},"1066":{"position":[[490,7]]}},"keywords":{}}],["malform",{"_index":2080,"title":{},"content":{"361":{"position":[[159,9]]},"749":{"position":[[3301,9]]}},"keywords":{}}],["malici",{"_index":1714,"title":{},"content":{"298":{"position":[[363,9]]},"1316":{"position":[[2006,9]]}},"keywords":{}}],["man",{"_index":682,"title":{},"content":{"43":{"position":[[573,3]]},"52":{"position":[[121,5],[433,4]]},"539":{"position":[[121,5],[433,4]]},"556":{"position":[[1870,3]]},"599":{"position":[[130,5],[460,4]]}},"keywords":{}}],["manag",{"_index":252,"title":{"96":{"position":[[33,11]]},"219":{"position":[[25,11]]}},"content":{"15":{"position":[[162,8],[180,10]]},"21":{"position":[[114,10]]},"47":{"position":[[1151,10]]},"57":{"position":[[239,6]]},"66":{"position":[[633,6]]},"79":{"position":[[82,10]]},"96":{"position":[[46,10],[99,10]]},"112":{"position":[[253,10]]},"114":{"position":[[533,11]]},"117":{"position":[[121,6]]},"120":{"position":[[251,8]]},"128":{"position":[[296,6]]},"145":{"position":[[135,8]]},"151":{"position":[[362,10]]},"152":{"position":[[191,8]]},"153":{"position":[[252,11]]},"161":{"position":[[362,8]]},"173":{"position":[[137,6],[3009,11],[3060,10],[3150,11],[3184,10]]},"175":{"position":[[546,11]]},"178":{"position":[[244,8]]},"189":{"position":[[255,10]]},"208":{"position":[[37,6]]},"212":{"position":[[496,7]]},"219":{"position":[[64,10],[161,6]]},"237":{"position":[[81,10]]},"261":{"position":[[872,7]]},"270":{"position":[[256,6]]},"271":{"position":[[58,10]]},"282":{"position":[[318,7]]},"284":{"position":[[100,11]]},"285":{"position":[[331,10]]},"286":{"position":[[426,10]]},"287":{"position":[[228,10]]},"289":{"position":[[92,6]]},"295":{"position":[[364,10]]},"298":{"position":[[113,10]]},"306":{"position":[[150,6]]},"320":{"position":[[357,6]]},"321":{"position":[[489,7]]},"365":{"position":[[1461,10]]},"366":{"position":[[421,8]]},"370":{"position":[[175,6]]},"371":{"position":[[280,10]]},"386":{"position":[[196,7]]},"397":{"position":[[275,8]]},"408":{"position":[[1677,6]]},"411":{"position":[[1415,7],[1859,10],[1978,10],[2684,10]]},"412":{"position":[[1109,6],[9628,6]]},"416":{"position":[[358,7]]},"417":{"position":[[322,6]]},"427":{"position":[[584,8]]},"429":{"position":[[540,6]]},"444":{"position":[[87,10]]},"446":{"position":[[153,8]]},"447":{"position":[[294,8]]},"450":{"position":[[130,11]]},"478":{"position":[[79,7]]},"489":{"position":[[623,7]]},"494":{"position":[[52,10]]},"501":{"position":[[42,11]]},"503":{"position":[[226,10]]},"513":{"position":[[89,8],[233,11]]},"514":{"position":[[353,6]]},"518":{"position":[[288,10]]},"520":{"position":[[346,10]]},"521":{"position":[[542,10]]},"523":{"position":[[73,10]]},"530":{"position":[[63,10]]},"535":{"position":[[885,8]]},"542":{"position":[[1019,6]]},"569":{"position":[[1390,7]]},"571":{"position":[[1761,6]]},"574":{"position":[[99,10],[519,8]]},"576":{"position":[[196,11]]},"585":{"position":[[172,11]]},"590":{"position":[[322,6],[484,6]]},"595":{"position":[[960,8]]},"618":{"position":[[433,10]]},"688":{"position":[[317,6]]},"698":{"position":[[2172,6]]},"709":{"position":[[474,6]]},"715":{"position":[[186,6]]},"737":{"position":[[125,8],[162,8]]},"785":{"position":[[221,6],[270,10]]},"836":{"position":[[2037,11],[2159,8]]},"860":{"position":[[124,11]]},"903":{"position":[[81,6]]},"992":{"position":[[87,6]]},"1132":{"position":[[1376,10]]},"1140":{"position":[[172,6]]},"1147":{"position":[[179,7]]},"1148":{"position":[[112,11],[318,10]]},"1206":{"position":[[103,6]]}},"keywords":{}}],["mango",{"_index":4807,"title":{},"content":{"841":{"position":[[345,5]]},"1065":{"position":[[117,5]]},"1071":{"position":[[48,5],[121,5],[149,5]]},"1249":{"position":[[416,5],[455,5]]},"1251":{"position":[[129,5]]},"1252":{"position":[[21,5]]}},"keywords":{}}],["manhattan",{"_index":2291,"title":{},"content":{"393":{"position":[[233,9]]}},"keywords":{}}],["mani",{"_index":201,"title":{},"content":{"14":{"position":[[101,4]]},"22":{"position":[[138,4]]},"24":{"position":[[180,4]]},"28":{"position":[[743,4]]},"29":{"position":[[50,4]]},"58":{"position":[[32,4]]},"66":{"position":[[67,4]]},"247":{"position":[[29,4]]},"295":{"position":[[257,4]]},"310":{"position":[[328,4]]},"320":{"position":[[164,4]]},"353":{"position":[[474,4]]},"354":{"position":[[289,4],[297,4],[934,4],[1161,4]]},"359":{"position":[[1,4]]},"362":{"position":[[149,4]]},"365":{"position":[[1024,4]]},"367":{"position":[[188,4]]},"375":{"position":[[564,4]]},"377":{"position":[[146,4]]},"392":{"position":[[3306,4]]},"396":{"position":[[1603,4]]},"397":{"position":[[296,4]]},"398":{"position":[[3070,4]]},"402":{"position":[[1733,4]]},"408":{"position":[[520,4],[4524,4]]},"411":{"position":[[2209,4],[3755,4],[4148,4]]},"412":{"position":[[1383,4],[6016,4],[9808,4],[11739,5],[12754,4]]},"419":{"position":[[1293,4]]},"420":{"position":[[571,4]]},"421":{"position":[[1154,4]]},"439":{"position":[[195,4]]},"450":{"position":[[629,4]]},"452":{"position":[[679,4]]},"454":{"position":[[479,4]]},"457":{"position":[[666,4]]},"458":{"position":[[232,4]]},"463":{"position":[[32,4]]},"464":{"position":[[75,4]]},"467":{"position":[[289,4]]},"468":{"position":[[702,4],[720,4]]},"475":{"position":[[1,4]]},"544":{"position":[[13,4]]},"604":{"position":[[13,4]]},"617":{"position":[[2158,4]]},"619":{"position":[[17,4],[186,4]]},"622":{"position":[[261,4]]},"623":{"position":[[161,4]]},"624":{"position":[[1102,4]]},"627":{"position":[[11,4]]},"632":{"position":[[804,4]]},"661":{"position":[[1377,4]]},"681":{"position":[[90,4]]},"698":{"position":[[388,4]]},"701":{"position":[[432,4]]},"702":{"position":[[468,4]]},"703":{"position":[[122,4],[985,4]]},"705":{"position":[[25,4]]},"710":{"position":[[64,4],[464,4]]},"711":{"position":[[1874,4]]},"737":{"position":[[248,4]]},"752":{"position":[[811,4]]},"779":{"position":[[1,5]]},"782":{"position":[[412,4]]},"785":{"position":[[52,4]]},"808":{"position":[[445,4]]},"838":{"position":[[3290,4]]},"839":{"position":[[685,4]]},"840":{"position":[[166,4]]},"846":{"position":[[1094,4]]},"872":{"position":[[2654,4]]},"932":{"position":[[220,4]]},"944":{"position":[[25,4]]},"945":{"position":[[25,4]]},"947":{"position":[[93,4]]},"948":{"position":[[14,4]]},"951":{"position":[[6,4]]},"962":{"position":[[339,4]]},"988":{"position":[[2933,4]]},"989":{"position":[[403,4]]},"1105":{"position":[[895,4]]},"1112":{"position":[[164,4],[514,4]]},"1119":{"position":[[124,4]]},"1124":{"position":[[1373,4],[2194,4]]},"1132":{"position":[[46,4]]},"1146":{"position":[[41,4]]},"1149":{"position":[[99,4]]},"1164":{"position":[[203,4]]},"1186":{"position":[[54,4],[184,4]]},"1194":{"position":[[65,4]]},"1198":{"position":[[391,4],[689,4],[899,4],[1472,4],[1883,4]]},"1203":{"position":[[13,4]]},"1297":{"position":[[524,4]]},"1301":{"position":[[1290,4]]},"1309":{"position":[[208,4]]},"1316":{"position":[[581,4],[626,4],[2635,4],[2738,4],[2854,4],[2873,4],[2938,4]]},"1321":{"position":[[1058,4]]}},"keywords":{}}],["manipul",{"_index":1604,"title":{},"content":{"265":{"position":[[446,13]]},"276":{"position":[[314,10]]},"320":{"position":[[38,13]]},"335":{"position":[[83,10]]},"352":{"position":[[26,10]]},"353":{"position":[[643,12]]},"407":{"position":[[176,10]]},"435":{"position":[[378,12]]},"501":{"position":[[219,12]]},"502":{"position":[[355,12]]},"515":{"position":[[323,13]]},"559":{"position":[[1361,10]]},"686":{"position":[[360,10]]},"805":{"position":[[100,11]]},"1132":{"position":[[648,12]]},"1206":{"position":[[383,14]]}},"keywords":{}}],["manipulation.lack",{"_index":2904,"title":{},"content":{"430":{"position":[[911,17]]}},"keywords":{}}],["manner",{"_index":558,"title":{},"content":{"35":{"position":[[355,7]]},"121":{"position":[[263,7]]},"134":{"position":[[346,7]]},"364":{"position":[[629,6]]},"395":{"position":[[335,7]]},"613":{"position":[[284,8]]}},"keywords":{}}],["manual",{"_index":858,"title":{"654":{"position":[[16,9]]}},"content":{"57":{"position":[[211,6]]},"103":{"position":[[154,6]]},"143":{"position":[[131,8],[319,8]]},"159":{"position":[[280,6]]},"185":{"position":[[345,6]]},"233":{"position":[[214,6]]},"301":{"position":[[152,8]]},"326":{"position":[[247,6]]},"346":{"position":[[209,8]]},"360":{"position":[[164,6]]},"379":{"position":[[166,6]]},"411":{"position":[[3047,6]]},"412":{"position":[[3567,6],[5144,9]]},"421":{"position":[[419,6]]},"461":{"position":[[596,9]]},"487":{"position":[[468,6]]},"490":{"position":[[283,8]]},"515":{"position":[[112,6]]},"518":{"position":[[326,8]]},"521":{"position":[[645,6]]},"542":{"position":[[1040,9]]},"559":{"position":[[1265,8]]},"566":{"position":[[240,6],[511,6],[1121,8],[1302,8]]},"570":{"position":[[620,6]]},"580":{"position":[[109,8]]},"585":{"position":[[256,6]]},"630":{"position":[[461,6]]},"632":{"position":[[380,6]]},"654":{"position":[[9,8],[90,8]]},"655":{"position":[[296,8]]},"690":{"position":[[418,6]]},"698":{"position":[[1458,8]]},"723":{"position":[[1299,6]]},"857":{"position":[[112,8]]},"861":{"position":[[799,8]]},"910":{"position":[[367,9]]},"943":{"position":[[212,8]]},"1067":{"position":[[1926,8],[2084,8]]},"1150":{"position":[[665,6]]},"1177":{"position":[[527,8]]},"1315":{"position":[[537,9]]},"1322":{"position":[[407,8]]}},"keywords":{}}],["map",{"_index":1614,"title":{"643":{"position":[[19,6]]},"787":{"position":[[23,7]]},"1179":{"position":[[7,6]]},"1182":{"position":[[17,6]]}},"content":{"266":{"position":[[753,6]]},"352":{"position":[[331,3]]},"392":{"position":[[3907,7]]},"408":{"position":[[4769,6]]},"419":{"position":[[1729,4]]},"430":{"position":[[1069,5]]},"469":{"position":[[884,6],[920,4]]},"643":{"position":[[135,6]]},"683":{"position":[[81,6]]},"714":{"position":[[1017,6]]},"774":{"position":[[122,6],[636,8]]},"789":{"position":[[112,6]]},"793":{"position":[[535,6]]},"820":{"position":[[480,6]]},"875":{"position":[[9332,3]]},"898":{"position":[[1854,4],[3541,3],[4221,6],[4388,3]]},"951":{"position":[[164,3],[209,6],[312,4],[454,3]]},"986":{"position":[[1575,3]]},"988":{"position":[[1946,4]]},"1006":{"position":[[119,3]]},"1022":{"position":[[392,7],[494,4],[632,7],[722,7]]},"1023":{"position":[[288,7],[373,7]]},"1084":{"position":[[109,3]]},"1090":{"position":[[404,6],[746,8],[1361,6]]},"1162":{"position":[[1114,6]]},"1181":{"position":[[368,6],[819,6]]},"1182":{"position":[[160,8],[372,6]]},"1183":{"position":[[19,6],[316,6],[548,6]]},"1184":{"position":[[98,6],[339,6],[526,8]]},"1185":{"position":[[34,6]]},"1186":{"position":[[28,6]]},"1192":{"position":[[282,6]]},"1195":{"position":[[259,7]]},"1239":{"position":[[127,6],[668,8]]},"1246":{"position":[[1228,7],[1248,6]]},"1292":{"position":[[541,6]]},"1324":{"position":[[182,7]]}},"keywords":{}}],["map(2",{"_index":5364,"title":{},"content":{"951":{"position":[[437,6]]}},"keywords":{}}],["map(doc",{"_index":1139,"title":{},"content":{"143":{"position":[[683,8]]}},"keywords":{}}],["map(result",{"_index":5780,"title":{},"content":{"1067":{"position":[[2179,10]]}},"keywords":{}}],["map/reduc",{"_index":4806,"title":{},"content":{"841":{"position":[[325,10]]}},"keywords":{}}],["mapreduc",{"_index":4781,"title":{},"content":{"837":{"position":[[1676,9],[1700,11]]}},"keywords":{}}],["march",{"_index":3621,"title":{},"content":{"613":{"position":[[643,6]]},"620":{"position":[[597,5]]}},"keywords":{}}],["mark",{"_index":2669,"title":{},"content":{"412":{"position":[[2110,7]]},"564":{"position":[[977,6]]},"617":{"position":[[1715,6]]},"638":{"position":[[831,4]]},"741":{"position":[[31,6]]},"742":{"position":[[50,6]]},"826":{"position":[[32,6],[222,6]]},"861":{"position":[[1938,4]]},"898":{"position":[[599,4]]},"986":{"position":[[572,4],[1470,4]]},"988":{"position":[[1733,5]]},"1208":{"position":[[1495,4]]},"1316":{"position":[[823,4]]}},"keywords":{}}],["markedli",{"_index":4668,"title":{},"content":{"802":{"position":[[89,8]]}},"keywords":{}}],["market",{"_index":2813,"title":{},"content":{"419":{"position":[[1618,9]]},"676":{"position":[[145,9]]},"699":{"position":[[313,9]]}},"keywords":{}}],["mass",{"_index":2591,"title":{},"content":{"410":{"position":[[733,4]]}},"keywords":{}}],["massag",{"_index":6335,"title":{},"content":{"1272":{"position":[[120,8]]}},"keywords":{}}],["massiv",{"_index":1848,"title":{},"content":{"303":{"position":[[1122,7]]},"304":{"position":[[479,7]]},"412":{"position":[[7584,7]]},"418":{"position":[[330,7]]},"902":{"position":[[331,7]]},"1006":{"position":[[190,8]]}},"keywords":{}}],["master",{"_index":380,"title":{},"content":{"23":{"position":[[98,6],[146,6],[247,6]]},"261":{"position":[[198,6]]},"875":{"position":[[4104,6]]},"903":{"position":[[344,6]]},"982":{"position":[[398,6],[433,6],[498,6],[534,6],[608,6],[628,6],[670,6]]},"983":{"position":[[474,7],[623,6],[772,6]]},"987":{"position":[[284,6],[381,6],[416,6],[473,6],[655,7],[817,6]]},"1164":{"position":[[1234,6]]},"1309":{"position":[[1030,6]]}},"keywords":{}}],["master.th",{"_index":5436,"title":{},"content":{"982":{"position":[[319,10]]}},"keywords":{}}],["master/serv",{"_index":5435,"title":{},"content":{"982":{"position":[[132,13],[186,14],[220,13]]},"987":{"position":[[187,13],[684,13]]}},"keywords":{}}],["match",{"_index":942,"title":{},"content":{"66":{"position":[[219,5]]},"287":{"position":[[251,5]]},"360":{"position":[[73,8]]},"390":{"position":[[345,7],[1243,7]]},"392":{"position":[[4979,5]]},"393":{"position":[[1128,5]]},"402":{"position":[[745,8]]},"559":{"position":[[1508,9]]},"681":{"position":[[668,8],[783,7],[853,6]]},"685":{"position":[[636,5]]},"723":{"position":[[262,9],[2258,9],[2395,9]]},"749":{"position":[[137,5],[2701,7],[12336,5],[13568,5],[16854,5],[22166,5]]},"796":{"position":[[728,8]]},"898":{"position":[[1697,5]]},"935":{"position":[[205,5]]},"1063":{"position":[[41,7]]},"1065":{"position":[[395,5],[1242,5]]},"1067":{"position":[[49,5],[910,5]]},"1084":{"position":[[319,5]]},"1085":{"position":[[3061,5],[3403,5]]},"1305":{"position":[[878,7]]},"1322":{"position":[[171,6]]}},"keywords":{}}],["matcher",{"_index":5777,"title":{},"content":{"1067":{"position":[[1903,8]]}},"keywords":{}}],["matchingamount",{"_index":5773,"title":{},"content":{"1067":{"position":[[438,14]]}},"keywords":{}}],["matdialog",{"_index":1096,"title":{},"content":{"130":{"position":[[428,9]]}},"keywords":{}}],["materi",{"_index":2814,"title":{},"content":{"419":{"position":[[1628,10]]}},"keywords":{}}],["math.max(input.newdocumentstate.scor",{"_index":3917,"title":{},"content":{"691":{"position":[[434,38]]}},"keywords":{}}],["mathemat",{"_index":2682,"title":{},"content":{"412":{"position":[[3725,14]]}},"keywords":{}}],["matter",{"_index":2089,"title":{"550":{"position":[[18,8]]}},"content":{"362":{"position":[[249,6]]},"412":{"position":[[4091,6]]},"418":{"position":[[102,7]]},"498":{"position":[[642,6]]},"617":{"position":[[2147,6]]},"654":{"position":[[371,6]]},"737":{"position":[[237,6]]},"981":{"position":[[715,6]]},"1044":{"position":[[195,6]]},"1107":{"position":[[291,7]]},"1124":{"position":[[1153,6]]},"1301":{"position":[[1279,6]]},"1316":{"position":[[159,6]]},"1321":{"position":[[1047,6]]}},"keywords":{}}],["matur",{"_index":620,"title":{},"content":{"39":{"position":[[270,6]]},"837":{"position":[[234,7]]}},"keywords":{}}],["max",{"_index":1466,"title":{"297":{"position":[[10,3]]},"304":{"position":[[10,3]]}},"content":{"243":{"position":[[622,3],[723,3],[764,3],[822,3],[919,3]]},"301":{"position":[[404,3]]},"306":{"position":[[331,3]]},"461":{"position":[[1434,3]]},"773":{"position":[[795,3],[871,3]]},"849":{"position":[[569,3]]},"863":{"position":[[159,3]]}},"keywords":{}}],["maxag",{"_index":6426,"title":{},"content":{"1294":{"position":[[771,6],[1382,6]]}},"keywords":{}}],["maxim",{"_index":1044,"title":{},"content":{"107":{"position":[[142,9]]}},"keywords":{}}],["maximum",{"_index":1712,"title":{},"content":{"298":{"position":[[284,7],[691,7]]},"461":{"position":[[990,7]]},"680":{"position":[[937,8]]},"681":{"position":[[281,7]]},"696":{"position":[[1193,7]]},"749":{"position":[[20630,7],[21321,7]]},"1074":{"position":[[594,7]]},"1079":{"position":[[356,7]]},"1080":{"position":[[543,7],[578,8]]},"1186":{"position":[[169,7]]},"1321":{"position":[[1092,7]]}},"keywords":{}}],["maxlenght",{"_index":1382,"title":{},"content":{"211":{"position":[[469,10]]}},"keywords":{}}],["maxlength",{"_index":774,"title":{},"content":{"51":{"position":[[425,10]]},"188":{"position":[[1302,10],[1344,10],[1387,10]]},"209":{"position":[[507,10]]},"255":{"position":[[851,10]]},"259":{"position":[[151,10]]},"367":{"position":[[846,10],[900,9],[937,10]]},"392":{"position":[[653,10],[1619,10]]},"397":{"position":[[504,10]]},"538":{"position":[[726,10]]},"554":{"position":[[1408,10]]},"598":{"position":[[733,10]]},"632":{"position":[[1601,10]]},"638":{"position":[[685,10]]},"639":{"position":[[463,10]]},"662":{"position":[[2464,10]]},"680":{"position":[[893,10]]},"717":{"position":[[1502,10]]},"734":{"position":[[767,10],[821,9]]},"749":{"position":[[20194,9],[20885,9],[21333,9],[21533,9],[21588,9]]},"838":{"position":[[2678,10]]},"862":{"position":[[733,10]]},"872":{"position":[[1958,10],[4188,10]]},"898":{"position":[[2538,10]]},"904":{"position":[[940,10]]},"1074":{"position":[[1038,9]]},"1078":{"position":[[546,10],[600,9]]},"1079":{"position":[[284,9]]},"1080":{"position":[[169,10],[223,9],[265,10],[344,10]]},"1082":{"position":[[254,10],[308,9]]},"1083":{"position":[[454,10],[508,9]]},"1149":{"position":[[1131,10]]},"1296":{"position":[[1283,9]]}},"keywords":{}}],["mayb",{"_index":2702,"title":{},"content":{"412":{"position":[[5786,5],[10113,5]]},"1124":{"position":[[1674,5]]}},"keywords":{}}],["mb",{"_index":1723,"title":{},"content":{"298":{"position":[[631,2],[650,2]]},"299":{"position":[[445,2],[505,2],[1293,2],[1321,2]]},"461":{"position":[[715,2],[724,2],[811,2],[836,2],[861,2]]},"1157":{"position":[[164,2]]}},"keywords":{}}],["mb)xenova/al",{"_index":2446,"title":{},"content":{"401":{"position":[[191,14]]}},"keywords":{}}],["mdn",{"_index":3445,"title":{},"content":{"567":{"position":[[893,4]]},"1208":{"position":[[1995,4]]}},"keywords":{}}],["mean",{"_index":9,"title":{},"content":{"1":{"position":[[111,5]]},"14":{"position":[[382,5]]},"28":{"position":[[397,5]]},"37":{"position":[[367,4]]},"40":{"position":[[516,5]]},"50":{"position":[[58,7]]},"65":{"position":[[232,5]]},"123":{"position":[[87,5]]},"125":{"position":[[68,5]]},"201":{"position":[[217,5]]},"273":{"position":[[87,5]]},"291":{"position":[[104,5]]},"294":{"position":[[91,5]]},"312":{"position":[[276,7]]},"327":{"position":[[83,5]]},"351":{"position":[[227,5]]},"354":{"position":[[1034,4]]},"390":{"position":[[458,7]]},"392":{"position":[[3099,7]]},"398":{"position":[[233,7]]},"402":{"position":[[1218,5],[1326,5],[1540,5],[1870,5]]},"408":{"position":[[3617,5]]},"410":{"position":[[50,5]]},"411":{"position":[[4252,5]]},"412":{"position":[[5864,5],[8151,5],[11308,5],[12938,5]]},"427":{"position":[[228,5]]},"450":{"position":[[417,5]]},"451":{"position":[[560,5]]},"455":{"position":[[583,5]]},"534":{"position":[[328,5]]},"569":{"position":[[1079,4],[1125,4]]},"570":{"position":[[110,4],[274,5],[424,5]]},"594":{"position":[[326,5]]},"696":{"position":[[31,5]]},"703":{"position":[[1469,5]]},"714":{"position":[[69,5],[330,5],[553,5]]},"723":{"position":[[483,5],[1580,7]]},"728":{"position":[[52,5]]},"751":{"position":[[558,6],[969,6],[1660,6]]},"764":{"position":[[123,5]]},"778":{"position":[[146,5]]},"781":{"position":[[329,5]]},"801":{"position":[[437,5]]},"836":{"position":[[1445,5]]},"838":{"position":[[92,5]]},"890":{"position":[[476,6]]},"948":{"position":[[127,5]]},"968":{"position":[[680,5]]},"986":{"position":[[132,5]]},"1030":{"position":[[148,5]]},"1033":{"position":[[175,5]]},"1052":{"position":[[443,5]]},"1069":{"position":[[180,6]]},"1074":{"position":[[161,5],[441,5]]},"1085":{"position":[[785,5],[2489,5],[2908,5]]},"1150":{"position":[[486,5]]},"1192":{"position":[[61,5],[155,5]]},"1304":{"position":[[37,4]]},"1320":{"position":[[146,5]]}},"keywords":{}}],["meaningless",{"_index":6564,"title":{},"content":{"1316":{"position":[[3803,11]]}},"keywords":{}}],["meant",{"_index":570,"title":{},"content":{"36":{"position":[[148,5]]},"699":{"position":[[302,5]]}},"keywords":{}}],["meantim",{"_index":3771,"title":{},"content":{"656":{"position":[[188,9]]},"875":{"position":[[8701,9]]}},"keywords":{}}],["meanwhil",{"_index":5564,"title":{},"content":{"1007":{"position":[[1036,10]]}},"keywords":{}}],["measur",{"_index":1981,"title":{"1194":{"position":[[0,13]]}},"content":{"346":{"position":[[833,7]]},"360":{"position":[[839,7]]},"377":{"position":[[275,8]]},"393":{"position":[[147,7]]},"463":{"position":[[557,12]]},"465":{"position":[[46,7]]},"798":{"position":[[169,7]]},"821":{"position":[[980,12]]},"1138":{"position":[[571,13]]},"1191":{"position":[[568,12]]},"1193":{"position":[[48,12],[222,12]]},"1194":{"position":[[32,9],[198,7],[1017,7]]},"1297":{"position":[[510,8]]}},"keywords":{}}],["mechan",{"_index":550,"title":{"208":{"position":[[19,9]]}},"content":{"35":{"position":[[144,10]]},"59":{"position":[[105,9]]},"99":{"position":[[45,10],[320,11]]},"110":{"position":[[106,10]]},"124":{"position":[[33,9]]},"129":{"position":[[192,10],[302,9]]},"134":{"position":[[137,10]]},"146":{"position":[[23,10]]},"168":{"position":[[47,11]]},"173":{"position":[[725,9]]},"192":{"position":[[255,11]]},"216":{"position":[[52,11]]},"223":{"position":[[175,10]]},"240":{"position":[[170,10]]},"283":{"position":[[369,9]]},"369":{"position":[[920,10]]},"386":{"position":[[166,9]]},"410":{"position":[[2077,10]]},"436":{"position":[[124,9]]},"487":{"position":[[355,9]]},"500":{"position":[[621,11]]},"510":{"position":[[302,11]]},"517":{"position":[[163,10]]},"525":{"position":[[244,9]]},"527":{"position":[[90,10]]},"632":{"position":[[138,10]]},"656":{"position":[[385,10]]}},"keywords":{}}],["mechanism.webtransport",{"_index":3673,"title":{},"content":{"623":{"position":[[594,23]]}},"keywords":{}}],["media",{"_index":2946,"title":{},"content":{"446":{"position":[[944,5]]}},"keywords":{}}],["medium",{"_index":3443,"title":{},"content":{"566":{"position":[[748,6]]},"780":{"position":[[402,7]]}},"keywords":{}}],["meet",{"_index":1622,"title":{},"content":{"267":{"position":[[1645,5]]},"295":{"position":[[321,4]]},"378":{"position":[[74,4]]},"567":{"position":[[709,7],[1110,4]]}},"keywords":{}}],["megabyt",{"_index":1413,"title":{},"content":{"228":{"position":[[423,8],[455,8]]},"408":{"position":[[899,9]]},"524":{"position":[[836,8]]},"696":{"position":[[1155,9]]}},"keywords":{}}],["membas",{"_index":412,"title":{},"content":{"25":{"position":[[32,8]]}},"keywords":{}}],["memdown",{"_index":39,"title":{"2":{"position":[[0,8]]}},"content":{"2":{"position":[[80,7],[113,7],[286,7]]}},"keywords":{}}],["memori",{"_index":2,"title":{"1":{"position":[[0,7]]},"264":{"position":[[11,6]]},"643":{"position":[[12,6]]},"706":{"position":[[78,6]]},"773":{"position":[[19,6]]},"774":{"position":[[10,6]]},"1090":{"position":[[10,6]]},"1145":{"position":[[55,6]]},"1160":{"position":[[0,6]]},"1165":{"position":[[35,6]]},"1166":{"position":[[0,6]]},"1179":{"position":[[0,6]]},"1182":{"position":[[10,6]]},"1241":{"position":[[0,7]]},"1299":{"position":[[3,6]]},"1300":{"position":[[3,7]]},"1301":{"position":[[3,7]]}},"content":{"1":{"position":[[37,6],[98,7],[448,6],[502,10]]},"16":{"position":[[86,7]]},"17":{"position":[[418,6]]},"28":{"position":[[39,6],[93,7]]},"30":{"position":[[100,6]]},"32":{"position":[[38,6]]},"42":{"position":[[34,6]]},"131":{"position":[[788,6]]},"161":{"position":[[119,6]]},"162":{"position":[[621,6]]},"189":{"position":[[147,6],[243,6],[502,6],[534,7]]},"265":{"position":[[50,6],[102,6],[177,7],[735,6]]},"266":{"position":[[25,6],[288,6],[453,6],[638,8],[746,6],[844,6],[909,6]]},"267":{"position":[[163,6],[1153,6],[1313,6]]},"287":{"position":[[899,6],[986,7]]},"304":{"position":[[210,6],[295,6],[490,6]]},"311":{"position":[[75,7]]},"336":{"position":[[364,7]]},"346":{"position":[[451,6]]},"358":{"position":[[535,7],[724,6],[781,7]]},"365":{"position":[[146,6],[250,7],[432,6],[481,6]]},"368":{"position":[[181,7]]},"376":{"position":[[275,6]]},"408":{"position":[[4762,6]]},"411":{"position":[[2217,6]]},"412":{"position":[[9283,6],[14458,7]]},"430":{"position":[[512,6],[1037,6]]},"450":{"position":[[746,6]]},"458":{"position":[[374,6]]},"463":{"position":[[733,8],[1413,9]]},"464":{"position":[[383,8]]},"465":{"position":[[244,8]]},"466":{"position":[[207,8]]},"467":{"position":[[182,8],[500,6]]},"469":{"position":[[877,6],[942,7]]},"504":{"position":[[380,7]]},"524":{"position":[[523,7]]},"528":{"position":[[113,6]]},"554":{"position":[[329,6],[637,6],[796,8]]},"581":{"position":[[368,7]]},"640":{"position":[[385,6]]},"643":{"position":[[128,6]]},"666":{"position":[[352,6]]},"693":{"position":[[843,9],[1147,9]]},"709":{"position":[[1403,6]]},"710":{"position":[[514,6],[577,6]]},"714":{"position":[[1010,6],[1095,6]]},"723":{"position":[[100,6],[2046,7]]},"724":{"position":[[1212,6]]},"772":{"position":[[2019,6]]},"773":{"position":[[61,6],[131,6],[323,6],[534,8],[662,6],[844,6]]},"774":{"position":[[46,6],[115,6],[190,6],[245,6],[629,6],[981,6],[1066,6]]},"793":{"position":[[255,6],[528,6]]},"800":{"position":[[399,6]]},"815":{"position":[[33,7]]},"838":{"position":[[1218,6],[1281,6],[1622,6]]},"872":{"position":[[1449,6],[1651,8]]},"898":{"position":[[2139,6]]},"955":{"position":[[82,6]]},"976":{"position":[[58,6]]},"1072":{"position":[[174,7]]},"1085":{"position":[[3517,6]]},"1090":{"position":[[71,6],[270,6],[343,6],[397,6],[502,8],[739,6],[1169,6],[1354,6]]},"1120":{"position":[[231,6],[674,6]]},"1124":{"position":[[1691,6]]},"1137":{"position":[[78,6]]},"1161":{"position":[[77,6]]},"1162":{"position":[[178,6],[339,6],[431,6],[574,7],[724,6],[861,6],[958,6],[1017,6],[1107,6]]},"1163":{"position":[[153,6],[365,6]]},"1164":{"position":[[462,6],[650,6],[927,6],[1038,6]]},"1165":{"position":[[5,6],[630,6],[944,6]]},"1168":{"position":[[115,8]]},"1174":{"position":[[180,6]]},"1180":{"position":[[77,6],[399,6]]},"1181":{"position":[[73,6],[244,6],[361,6],[426,6],[518,6],[662,7],[812,6]]},"1182":{"position":[[153,6],[365,6]]},"1183":{"position":[[12,6],[309,6],[541,6]]},"1184":{"position":[[91,6],[223,6],[332,6],[519,6]]},"1185":{"position":[[27,6],[114,6]]},"1186":{"position":[[21,6]]},"1192":{"position":[[275,6],[307,6],[453,6],[594,6]]},"1195":{"position":[[252,6]]},"1219":{"position":[[320,8]]},"1239":{"position":[[120,6],[169,7],[350,7],[661,6]]},"1241":{"position":[[56,6]]},"1244":{"position":[[110,6]]},"1246":{"position":[[1221,6],[1241,6],[1332,6],[1397,6]]},"1271":{"position":[[494,7]]},"1292":{"position":[[396,6],[433,6],[534,6],[578,6],[627,6]]},"1299":{"position":[[153,6],[222,6],[300,6]]},"1300":{"position":[[255,6]]},"1301":{"position":[[184,6]]},"1321":{"position":[[1,6],[443,7],[565,7],[773,7],[1026,6]]}},"keywords":{}}],["memory)no",{"_index":6416,"title":{},"content":{"1292":{"position":[[935,10]]}},"keywords":{}}],["memory.it",{"_index":6126,"title":{},"content":{"1170":{"position":[[57,9]]}},"keywords":{}}],["memory.slow",{"_index":6128,"title":{},"content":{"1171":{"position":[[195,11]]}},"keywords":{}}],["memory.watermelondb",{"_index":6578,"title":{},"content":{"1324":{"position":[[489,19]]}},"keywords":{}}],["memorydatabas",{"_index":6123,"title":{},"content":{"1165":{"position":[[1044,14]]}},"keywords":{}}],["memorydatabase.addcollect",{"_index":6124,"title":{},"content":{"1165":{"position":[[1145,32]]}},"keywords":{}}],["memorysyncedstorag",{"_index":6117,"title":{},"content":{"1165":{"position":[[341,19],[1115,19]]}},"keywords":{}}],["mention",{"_index":209,"title":{},"content":{"14":{"position":[[329,9]]},"164":{"position":[[4,9]]},"1316":{"position":[[2653,9]]}},"keywords":{}}],["meow",{"_index":4611,"title":{},"content":{"792":{"position":[[376,5]]},"932":{"position":[[180,6]]}},"keywords":{}}],["merg",{"_index":1310,"title":{"691":{"position":[[9,7]]}},"content":{"203":{"position":[[226,5]]},"250":{"position":[[241,7],[321,6]]},"339":{"position":[[163,7]]},"356":{"position":[[613,6]]},"411":{"position":[[1435,6],[3441,6]]},"412":{"position":[[2335,5],[2385,5],[3064,5],[3492,5],[3574,5],[3740,5],[4081,6],[4402,5],[5375,5]]},"495":{"position":[[209,7]]},"496":{"position":[[207,7],[277,5]]},"565":{"position":[[197,5]]},"590":{"position":[[866,5]]},"632":{"position":[[502,6],[2710,6]]},"635":{"position":[[174,5],[353,7]]},"668":{"position":[[297,6]]},"687":{"position":[[181,5]]},"688":{"position":[[41,5],[852,5]]},"689":{"position":[[48,8],[197,5],[342,6]]},"690":{"position":[[75,5],[224,7],[302,6],[546,8]]},"691":{"position":[[170,5],[587,6]]},"982":{"position":[[116,6]]},"1119":{"position":[[211,5]]},"1133":{"position":[[633,7]]},"1186":{"position":[[48,5]]},"1252":{"position":[[327,7]]},"1309":{"position":[[1107,5]]}},"keywords":{}}],["mergefieldshandl",{"_index":3911,"title":{},"content":{"691":{"position":[[216,18]]}},"keywords":{}}],["mergemap(async",{"_index":5509,"title":{},"content":{"995":{"position":[[1627,16]]}},"keywords":{}}],["merit",{"_index":1240,"title":{},"content":{"186":{"position":[[162,7]]}},"keywords":{}}],["messag",{"_index":1617,"title":{"748":{"position":[[11,8]]},"749":{"position":[[15,9]]},"1220":{"position":[[15,9]]}},"content":{"267":{"position":[[142,10],[298,9],[344,8]]},"316":{"position":[[304,8]]},"379":{"position":[[259,8]]},"392":{"position":[[3356,8]]},"408":{"position":[[4482,9]]},"414":{"position":[[39,8],[94,8],[183,8]]},"415":{"position":[[156,8]]},"416":{"position":[[135,8],[170,8]]},"446":{"position":[[511,9]]},"458":{"position":[[1110,8],[1547,8]]},"564":{"position":[[1092,9]]},"610":{"position":[[71,9]]},"611":{"position":[[763,7]]},"612":{"position":[[847,8],[966,7],[1229,7],[1297,8],[1523,7],[2038,7],[2252,7],[2297,8]]},"617":{"position":[[116,9]]},"620":{"position":[[332,8]]},"621":{"position":[[295,8]]},"622":{"position":[[249,8]]},"639":{"position":[[481,8]]},"675":{"position":[[62,7]]},"696":{"position":[[421,8],[473,8]]},"711":{"position":[[1438,7]]},"737":{"position":[[356,9]]},"751":{"position":[[493,9],[797,9],[1241,7],[1595,9]]},"752":{"position":[[398,9]]},"865":{"position":[[89,7]]},"968":{"position":[[594,7]]},"1013":{"position":[[491,9]]},"1151":{"position":[[75,7],[149,7],[532,8]]},"1178":{"position":[[75,7],[148,7],[531,8]]},"1207":{"position":[[831,7]]},"1218":{"position":[[40,7],[149,9],[476,10],[824,10]]},"1220":{"position":[[52,8]]},"1228":{"position":[[245,9]]},"1246":{"position":[[766,7]]}},"keywords":{}}],["messagechannelcr",{"_index":6244,"title":{},"content":{"1218":{"position":[[83,21],[426,22]]}},"keywords":{}}],["messagecol",{"_index":4459,"title":{},"content":{"752":{"position":[[351,10]]}},"keywords":{}}],["messagecol.getmigrationst",{"_index":4464,"title":{},"content":{"752":{"position":[[865,31]]}},"keywords":{}}],["messagecol.migratepromise(10",{"_index":4472,"title":{},"content":{"752":{"position":[[1423,30]]}},"keywords":{}}],["messagecol.migrationneed",{"_index":4460,"title":{},"content":{"752":{"position":[[665,29]]}},"keywords":{}}],["messagecol.startmigration(10",{"_index":4462,"title":{},"content":{"752":{"position":[[751,30]]}},"keywords":{}}],["messageoruncaught",{"_index":6238,"title":{},"content":{"1213":{"position":[[841,17]]}},"keywords":{}}],["messageschema",{"_index":5597,"title":{},"content":{"1013":{"position":[[511,14]]}},"keywords":{}}],["messageschemav1",{"_index":4443,"title":{},"content":{"751":{"position":[[513,16],[817,16],[1615,16]]},"752":{"position":[[418,16]]}},"keywords":{}}],["met",{"_index":6550,"title":{},"content":{"1316":{"position":[[1313,4]]}},"keywords":{}}],["meta",{"_index":2900,"title":{"1153":{"position":[[23,4]]}},"content":{"429":{"position":[[522,4]]},"469":{"position":[[635,4]]},"719":{"position":[[324,4],[408,4]]},"746":{"position":[[591,4]]},"793":{"position":[[580,4]]},"1004":{"position":[[346,4]]},"1051":{"position":[[359,4]]},"1072":{"position":[[2144,4],[2399,4]]},"1079":{"position":[[263,4]]},"1154":{"position":[[5,4],[295,4]]},"1238":{"position":[[395,4],[772,4]]},"1239":{"position":[[573,4]]},"1246":{"position":[[1608,4],[1652,4]]}},"keywords":{}}],["metadata",{"_index":3092,"title":{},"content":{"469":{"position":[[671,8]]},"495":{"position":[[591,8]]},"724":{"position":[[585,8]]},"999":{"position":[[41,8],[197,9]]},"1005":{"position":[[224,8]]},"1028":{"position":[[58,8]]},"1188":{"position":[[257,9]]},"1246":{"position":[[1875,8]]}},"keywords":{}}],["metastorageinst",{"_index":4120,"title":{},"content":{"746":{"position":[[639,21]]}},"keywords":{}}],["meteor",{"_index":244,"title":{"15":{"position":[[0,7]]}},"content":{"15":{"position":[[3,6],[95,6],[347,6],[499,6]]}},"keywords":{}}],["meteorjss",{"_index":270,"title":{},"content":{"16":{"position":[[25,10]]}},"keywords":{}}],["method",{"_index":901,"title":{"396":{"position":[[16,8]]},"400":{"position":[[25,8]]},"425":{"position":[[24,8]]},"790":{"position":[[9,8]]},"791":{"position":[[13,7]]},"792":{"position":[[11,8]]},"810":{"position":[[4,7]]},"969":{"position":[[0,8]]},"1025":{"position":[[11,8]]},"1044":{"position":[[39,8]]}},"content":{"65":{"position":[[29,7]]},"145":{"position":[[243,7]]},"188":{"position":[[880,7]]},"209":{"position":[[847,7]]},"255":{"position":[[1193,7]]},"288":{"position":[[235,7]]},"289":{"position":[[1797,6]]},"300":{"position":[[510,6]]},"303":{"position":[[1380,6]]},"393":{"position":[[122,7],[357,8],[409,6],[654,6],[746,6]]},"394":{"position":[[1368,6]]},"396":{"position":[[9,7],[1752,6]]},"397":{"position":[[1426,7]]},"398":{"position":[[152,6],[455,8],[2912,7],[3188,6],[3287,6]]},"400":{"position":[[7,6],[161,6],[481,6]]},"418":{"position":[[677,6]]},"425":{"position":[[132,7]]},"434":{"position":[[25,6]]},"440":{"position":[[108,8]]},"450":{"position":[[546,8]]},"451":{"position":[[186,7]]},"452":{"position":[[536,6]]},"453":{"position":[[413,7]]},"460":{"position":[[1160,6]]},"462":{"position":[[54,7]]},"468":{"position":[[376,6]]},"481":{"position":[[284,8]]},"496":{"position":[[48,7]]},"610":{"position":[[81,6],[632,6]]},"617":{"position":[[126,8]]},"618":{"position":[[592,6]]},"626":{"position":[[1082,6]]},"682":{"position":[[269,6]]},"690":{"position":[[464,7]]},"711":{"position":[[2049,6]]},"749":{"position":[[4243,6],[8153,6],[8245,6],[8359,6],[8552,6]]},"775":{"position":[[223,8]]},"790":{"position":[[10,7]]},"791":{"position":[[78,8],[337,8]]},"792":{"position":[[12,7]]},"806":{"position":[[248,7]]},"810":{"position":[[60,7]]},"846":{"position":[[442,6],[1508,6]]},"848":{"position":[[142,6],[963,6],[1076,6]]},"851":{"position":[[384,7]]},"852":{"position":[[43,7],[76,6]]},"854":{"position":[[1713,7]]},"866":{"position":[[131,6]]},"875":{"position":[[6273,7],[7152,6]]},"886":{"position":[[5025,6]]},"890":{"position":[[218,8]]},"904":{"position":[[1710,6]]},"910":{"position":[[76,7]]},"934":{"position":[[96,7],[372,8]]},"937":{"position":[[30,7]]},"943":{"position":[[25,6]]},"949":{"position":[[48,7]]},"950":{"position":[[194,7]]},"958":{"position":[[229,6]]},"983":{"position":[[141,7],[400,6]]},"988":{"position":[[2568,7]]},"1044":{"position":[[257,8]]},"1052":{"position":[[288,7],[351,6],[381,6]]},"1059":{"position":[[82,7]]},"1064":{"position":[[22,8],[282,7]]},"1072":{"position":[[1061,8],[2766,6]]},"1085":{"position":[[1959,7],[2110,8],[2199,7],[2314,6]]},"1088":{"position":[[292,6]]},"1100":{"position":[[378,6]]},"1101":{"position":[[295,7]]},"1102":{"position":[[35,7],[541,7]]},"1114":{"position":[[292,6]]},"1116":{"position":[[243,6]]},"1117":{"position":[[211,6]]},"1148":{"position":[[858,6]]},"1164":{"position":[[1188,6]]},"1189":{"position":[[153,6]]},"1207":{"position":[[276,7],[474,6],[522,7]]},"1208":{"position":[[428,7]]},"1211":{"position":[[28,6]]},"1214":{"position":[[687,7]]},"1220":{"position":[[447,7]]},"1278":{"position":[[236,7]]},"1282":{"position":[[454,7]]},"1289":{"position":[[31,7]]},"1294":{"position":[[25,7],[113,7]]},"1295":{"position":[[1465,6]]},"1298":{"position":[[184,6]]},"1311":{"position":[[1026,8],[1647,6],[1695,6]]}},"keywords":{}}],["methodolog",{"_index":3253,"title":{},"content":{"516":{"position":[[29,12]]}},"keywords":{}}],["metric",{"_index":3661,"title":{},"content":{"620":{"position":[[711,6]]},"783":{"position":[[156,6]]},"1152":{"position":[[128,8]]},"1194":{"position":[[20,7]]}},"keywords":{}}],["mg1",{"_index":4433,"title":{},"content":{"749":{"position":[[23779,3]]}},"keywords":{}}],["mib",{"_index":2895,"title":{},"content":{"427":{"position":[[1522,3]]}},"keywords":{}}],["microsecond",{"_index":3456,"title":{},"content":{"569":{"position":[[605,13]]},"571":{"position":[[1509,13]]}},"keywords":{}}],["microservic",{"_index":4585,"title":{"775":{"position":[[23,13]]},"1094":{"position":[[24,14]]}},"content":{"775":{"position":[[456,12],[589,13]]},"1094":{"position":[[37,12],[72,13],[185,13],[262,13],[517,13],[582,13]]},"1219":{"position":[[147,12]]}},"keywords":{}}],["microsoft",{"_index":522,"title":{},"content":{"33":{"position":[[491,9]]},"616":{"position":[[1151,9]]}},"keywords":{}}],["mid",{"_index":2073,"title":{},"content":{"358":{"position":[[1059,3]]},"841":{"position":[[945,3]]}},"keywords":{}}],["middl",{"_index":3379,"title":{},"content":{"556":{"position":[[1881,6]]}},"keywords":{}}],["middlewar",{"_index":4512,"title":{"762":{"position":[[0,10]]}},"content":{"765":{"position":[[1,10]]},"793":{"position":[[1128,10]]},"829":{"position":[[826,10]]}},"keywords":{}}],["midnight",{"_index":2752,"title":{},"content":{"412":{"position":[[11996,8]]},"702":{"position":[[328,9]]}},"keywords":{}}],["migrat",{"_index":435,"title":{"282":{"position":[[14,9]]},"367":{"position":[[27,9]]},"403":{"position":[[0,9]]},"636":{"position":[[7,11]]},"664":{"position":[[5,9]]},"702":{"position":[[12,7]]},"750":{"position":[[0,7]]},"754":{"position":[[0,9]]},"755":{"position":[[0,9]]},"756":{"position":[[0,9]]},"757":{"position":[[0,9]]},"758":{"position":[[8,9]]},"760":{"position":[[0,7]]},"938":{"position":[[0,10]]},"1165":{"position":[[16,9]]},"1319":{"position":[[0,9]]}},"content":{"26":{"position":[[392,8]]},"57":{"position":[[155,9],[225,10],[310,10]]},"110":{"position":[[134,10]]},"174":{"position":[[2193,9]]},"282":{"position":[[434,9]]},"351":{"position":[[84,10],[356,9]]},"367":{"position":[[178,9],[241,10],[306,9]]},"382":{"position":[[299,9]]},"403":{"position":[[121,7],[207,9],[357,9],[651,9]]},"412":{"position":[[11016,11],[11138,9],[11332,9],[11699,9],[11763,9],[11845,9],[11966,9]]},"544":{"position":[[184,10],[248,11]]},"604":{"position":[[156,10],[220,11]]},"636":{"position":[[110,10],[287,9]]},"664":{"position":[[5,9]]},"686":{"position":[[935,10]]},"702":{"position":[[206,7],[563,7],[627,9],[711,7],[769,7]]},"719":{"position":[[232,9],[252,7]]},"749":{"position":[[12192,9],[12202,9],[12283,9],[12410,9],[12491,9],[12628,7]]},"751":{"position":[[454,9],[1556,9]]},"752":{"position":[[17,9],[139,9],[265,9],[298,9],[464,9],[624,9],[741,9],[1227,8]]},"753":{"position":[[67,9],[205,10],[390,10]]},"754":{"position":[[120,10],[510,10]]},"755":{"position":[[114,9]]},"756":{"position":[[50,9],[125,7],[184,9],[300,9],[398,9]]},"757":{"position":[[188,9],[277,9]]},"759":{"position":[[22,7],[552,9],[805,7],[868,7],[973,10],[1122,9],[1447,7]]},"760":{"position":[[4,7],[212,9],[548,9],[861,10]]},"761":{"position":[[201,10]]},"793":{"position":[[1003,9],[1021,9]]},"836":{"position":[[2097,9],[2174,10]]},"839":{"position":[[880,9]]},"841":{"position":[[1147,10],[1261,9]]},"879":{"position":[[53,10]]},"938":{"position":[[77,9],[141,10]]},"977":{"position":[[252,7]]},"1100":{"position":[[976,9]]},"1124":{"position":[[418,7]]},"1162":{"position":[[786,10]]},"1165":{"position":[[67,10],[570,10],[665,9]]},"1198":{"position":[[2097,7]]},"1222":{"position":[[516,10]]},"1260":{"position":[[1,9]]},"1319":{"position":[[96,7],[426,9],[550,7],[591,9],[730,9]]}},"keywords":{}}],["migrated.ani",{"_index":4497,"title":{},"content":{"759":{"position":[[1294,12]]}},"keywords":{}}],["migratepromis",{"_index":4470,"title":{},"content":{"752":{"position":[[1378,18],[1460,15]]}},"keywords":{}}],["migratestorag",{"_index":4486,"title":{},"content":{"759":{"position":[[96,14],[462,16],[1084,16],[1548,17]]},"760":{"position":[[272,14],[458,16]]}},"keywords":{}}],["migrationencrypt",{"_index":3327,"title":{},"content":{"544":{"position":[[270,20]]}},"keywords":{}}],["migrationpromis",{"_index":4471,"title":{},"content":{"752":{"position":[[1404,16]]}},"keywords":{}}],["migrationst",{"_index":4463,"title":{"753":{"position":[[0,18]]}},"content":{"752":{"position":[[848,14]]},"755":{"position":[[150,16]]}},"keywords":{}}],["migrationstate.$.subscrib",{"_index":4465,"title":{},"content":{"752":{"position":[[923,28]]}},"keywords":{}}],["migrationstate.collection.nam",{"_index":4479,"title":{},"content":{"753":{"position":[[414,30]]}},"keywords":{}}],["migrationstrategi",{"_index":2496,"title":{},"content":{"403":{"position":[[782,20]]},"749":{"position":[[7851,19],[7948,17],[8046,17]]},"751":{"position":[[52,19],[170,19],[256,17],[530,20],[834,20],[1632,20]]},"752":{"position":[[195,19],[499,20]]},"754":{"position":[[235,19]]},"934":{"position":[[563,20]]},"938":{"position":[[21,19]]},"1076":{"position":[[109,19]]},"1085":{"position":[[3345,19]]}},"keywords":{}}],["mild",{"_index":2081,"title":{},"content":{"361":{"position":[[198,4]]}},"keywords":{}}],["million",{"_index":2567,"title":{},"content":{"408":{"position":[[4474,7],[4824,7]]},"412":{"position":[[10475,7]]},"420":{"position":[[380,7]]},"703":{"position":[[1351,7]]}},"keywords":{}}],["millisecond",{"_index":1602,"title":{},"content":{"265":{"position":[[357,11]]},"394":{"position":[[1638,13]]},"400":{"position":[[22,12],[586,12]]},"408":{"position":[[3091,13],[4871,12]]},"463":{"position":[[974,13],[1293,13],[1400,12]]},"464":{"position":[[519,12],[711,12],[771,12],[1216,11]]},"465":{"position":[[381,12]]},"467":{"position":[[706,12]]},"569":{"position":[[577,13],[787,13]]},"570":{"position":[[405,13]]},"571":{"position":[[1493,12],[1584,12]]},"644":{"position":[[468,11]]},"653":{"position":[[370,12],[908,12]]},"654":{"position":[[279,13]]},"703":{"position":[[1514,12]]},"704":{"position":[[86,13]]},"846":{"position":[[895,12]]},"988":{"position":[[874,12]]},"1104":{"position":[[553,12]]},"1295":{"position":[[1056,13]]},"1301":{"position":[[1448,14]]}},"keywords":{}}],["millisecondscooki",{"_index":3045,"title":{},"content":{"464":{"position":[[269,19]]},"465":{"position":[[130,19]]},"466":{"position":[[96,19]]},"467":{"position":[[68,19]]}},"keywords":{}}],["millisecondsindexeddb",{"_index":3031,"title":{},"content":{"463":{"position":[[656,21]]}},"keywords":{}}],["mimic",{"_index":369,"title":{},"content":{"22":{"position":[[132,5]]}},"keywords":{}}],["min",{"_index":4303,"title":{},"content":{"749":{"position":[[12983,3]]}},"keywords":{}}],["min$max$inc$set$unset$push$addtoset$pop$pullall$renam",{"_index":3868,"title":{},"content":{"679":{"position":[[197,55]]}},"keywords":{}}],["mind",{"_index":2741,"title":{},"content":{"412":{"position":[[10354,7],[15359,4]]},"625":{"position":[[129,5]]},"699":{"position":[[565,4]]},"723":{"position":[[2496,5]]},"858":{"position":[[445,4]]},"981":{"position":[[122,5]]},"1069":{"position":[[380,4]]}},"keywords":{}}],["mine",{"_index":2841,"title":{},"content":{"420":{"position":[[1261,7]]}},"keywords":{}}],["minecraft",{"_index":5553,"title":{},"content":{"1006":{"position":[[27,9]]}},"keywords":{}}],["mingo",{"_index":3865,"title":{},"content":{"678":{"position":[[186,5]]},"679":{"position":[[62,6]]},"1041":{"position":[[69,5]]}},"keywords":{}}],["minid",{"_index":5092,"title":{},"content":{"885":{"position":[[1510,5],[2261,6]]}},"keywords":{}}],["minifi",{"_index":6414,"title":{},"content":{"1292":{"position":[[854,9]]}},"keywords":{}}],["minified+gzip",{"_index":6415,"title":{},"content":{"1292":{"position":[[885,15]]}},"keywords":{}}],["minilm",{"_index":2184,"title":{},"content":{"390":{"position":[[287,7]]},"391":{"position":[[403,6],[546,6]]},"401":{"position":[[206,6]]},"402":{"position":[[1905,6]]}},"keywords":{}}],["minim",{"_index":921,"title":{},"content":{"65":{"position":[[1084,8]]},"76":{"position":[[126,10]]},"173":{"position":[[2609,7]]},"197":{"position":[[4,8]]},"216":{"position":[[126,8]]},"224":{"position":[[239,10]]},"234":{"position":[[177,10]]},"283":{"position":[[199,9]]},"311":{"position":[[67,7]]},"313":{"position":[[230,7]]},"316":{"position":[[4,8]]},"323":{"position":[[388,7]]},"334":{"position":[[12,7]]},"345":{"position":[[82,8]]},"350":{"position":[[333,10]]},"369":{"position":[[1131,8]]},"376":{"position":[[296,8]]},"382":{"position":[[360,10]]},"385":{"position":[[146,10]]},"402":{"position":[[2530,7]]},"408":{"position":[[3292,10]]},"412":{"position":[[754,7]]},"418":{"position":[[360,7]]},"429":{"position":[[339,7]]},"463":{"position":[[1006,7]]},"490":{"position":[[530,8]]},"502":{"position":[[1372,10]]},"528":{"position":[[99,9]]},"559":{"position":[[881,7]]},"566":{"position":[[830,8]]},"644":{"position":[[546,7]]},"690":{"position":[[410,7]]},"802":{"position":[[577,10]]},"902":{"position":[[103,10]]},"1071":{"position":[[357,7]]},"1123":{"position":[[288,7]]},"1266":{"position":[[958,9],[974,10]]},"1295":{"position":[[1035,7]]},"1298":{"position":[[379,8]]}},"keywords":{}}],["minimalist",{"_index":509,"title":{},"content":{"33":{"position":[[15,12]]}},"keywords":{}}],["minimongo",{"_index":261,"title":{"16":{"position":[[0,10]]}},"content":{"15":{"position":[[407,9]]},"16":{"position":[[36,9],[55,9],[266,9],[373,9],[528,9]]}},"keywords":{}}],["minimum",{"_index":3747,"title":{},"content":{"653":{"position":[[354,7],[560,7]]},"680":{"position":[[951,8]]},"749":{"position":[[20618,7],[21312,8]]},"1079":{"position":[[297,8]]},"1080":{"position":[[534,8],[566,8]]}},"keywords":{}}],["minimumcollectionag",{"_index":3753,"title":{},"content":{"653":{"position":[[777,21]]}},"keywords":{}}],["minimumdeletedtim",{"_index":3750,"title":{},"content":{"653":{"position":[[490,19]]},"654":{"position":[[126,18],[224,18],[415,18]]}},"keywords":{}}],["minor",{"_index":6087,"title":{},"content":{"1151":{"position":[[295,5]]},"1178":{"position":[[294,5]]}},"keywords":{}}],["mintimestamp",{"_index":5464,"title":{},"content":{"988":{"position":[[3564,12]]}},"keywords":{}}],["minupdatedat",{"_index":5095,"title":{},"content":{"885":{"position":[[1567,12],[2089,13],[2140,13],[2189,13]]}},"keywords":{}}],["minut",{"_index":2286,"title":{},"content":{"392":{"position":[[5176,7]]},"408":{"position":[[4597,7]]},"567":{"position":[[429,8]]},"653":{"position":[[934,8],[975,7]]},"736":{"position":[[412,7]]}},"keywords":{}}],["mirror",{"_index":2921,"title":{},"content":{"437":{"position":[[74,9]]},"898":{"position":[[1647,7]]}},"keywords":{}}],["mishandl",{"_index":3106,"title":{},"content":{"475":{"position":[[15,9]]}},"keywords":{}}],["mislead",{"_index":3204,"title":{},"content":{"497":{"position":[[484,7]]}},"keywords":{}}],["mismatch",{"_index":4502,"title":{},"content":{"761":{"position":[[296,8]]}},"keywords":{}}],["miss",{"_index":741,"title":{"626":{"position":[[13,4]]},"851":{"position":[[9,8]]},"876":{"position":[[0,7]]}},"content":{"47":{"position":[[1057,8]]},"330":{"position":[[143,7]]},"432":{"position":[[857,7]]},"458":{"position":[[788,7]]},"569":{"position":[[437,4]]},"610":{"position":[[1609,4]]},"626":{"position":[[62,4],[152,6],[369,6],[1102,6]]},"749":{"position":[[5181,7],[7969,7],[11302,7],[11477,7],[19705,7]]},"759":{"position":[[1319,7]]},"851":{"position":[[67,7]]},"875":{"position":[[8683,6],[8765,6]]},"898":{"position":[[497,4]]},"911":{"position":[[74,7]]},"985":{"position":[[509,6]]},"988":{"position":[[5895,6]]},"1024":{"position":[[173,7]]},"1123":{"position":[[651,8]]},"1300":{"position":[[1047,7]]}},"keywords":{}}],["mistak",{"_index":5396,"title":{},"content":{"966":{"position":[[174,8]]},"995":{"position":[[538,7]]}},"keywords":{}}],["mitig",{"_index":2550,"title":{},"content":{"408":{"position":[[2688,8],[3274,9]]},"412":{"position":[[13366,8],[15239,8]]}},"keywords":{}}],["mix",{"_index":2823,"title":{},"content":{"419":{"position":[[1826,6]]},"469":{"position":[[521,3]]},"749":{"position":[[4371,3],[4622,3]]},"875":{"position":[[5801,3]]},"1126":{"position":[[238,5]]}},"keywords":{}}],["mixedbread",{"_index":2465,"title":{},"content":{"401":{"position":[[461,10]]}},"keywords":{}}],["mj",{"_index":6319,"title":{},"content":{"1266":{"position":[[895,7]]}},"keywords":{}}],["mobil",{"_index":199,"title":{"152":{"position":[[28,6]]},"177":{"position":[[20,6]]},"443":{"position":[[0,6],[39,6]]},"444":{"position":[[14,6]]},"445":{"position":[[38,6]]},"618":{"position":[[33,6]]}},"content":{"14":{"position":[[59,6]]},"18":{"position":[[74,6]]},"36":{"position":[[24,6]]},"59":{"position":[[202,6]]},"152":{"position":[[1,6]]},"153":{"position":[[107,6]]},"170":{"position":[[61,6],[557,6]]},"172":{"position":[[197,6]]},"177":{"position":[[122,6]]},"207":{"position":[[200,6]]},"215":{"position":[[309,6]]},"254":{"position":[[171,6],[449,6]]},"287":{"position":[[1124,6]]},"298":{"position":[[637,6]]},"299":{"position":[[460,6]]},"309":{"position":[[45,6]]},"314":{"position":[[983,6]]},"318":{"position":[[327,6]]},"359":{"position":[[99,6]]},"371":{"position":[[5,6]]},"376":{"position":[[682,6]]},"384":{"position":[[257,6]]},"408":{"position":[[629,6],[4949,6]]},"410":{"position":[[1235,6]]},"412":{"position":[[7837,6],[8475,6]]},"444":{"position":[[1,6],[102,6],[184,6],[357,6]]},"445":{"position":[[88,6],[335,6],[515,6],[2204,6]]},"447":{"position":[[1,6],[76,6],[311,6],[701,6]]},"483":{"position":[[1058,6]]},"500":{"position":[[103,6]]},"575":{"position":[[198,6]]},"595":{"position":[[1372,6]]},"614":{"position":[[170,6]]},"618":{"position":[[19,6],[201,6],[537,6]]},"630":{"position":[[286,7]]},"631":{"position":[[175,6]]},"640":{"position":[[271,6],[533,7]]},"641":{"position":[[416,6]]},"832":{"position":[[356,6]]},"838":{"position":[[1139,6]]},"839":{"position":[[74,6]]},"841":{"position":[[1057,6]]},"871":{"position":[[711,6]]},"897":{"position":[[457,6]]},"1232":{"position":[[47,6]]}},"keywords":{}}],["mobile.join",{"_index":1912,"title":{},"content":{"318":{"position":[[511,11]]}},"keywords":{}}],["mobile—mani",{"_index":1760,"title":{},"content":{"299":{"position":[[1334,11]]}},"keywords":{}}],["mobx",{"_index":2616,"title":{},"content":{"411":{"position":[[2007,5]]},"520":{"position":[[382,4]]},"785":{"position":[[305,5]]}},"keywords":{}}],["mocha",{"_index":4075,"title":{},"content":{"730":{"position":[[170,6]]}},"keywords":{}}],["mock",{"_index":332,"title":{"1159":{"position":[[0,7]]}},"content":{"19":{"position":[[488,4]]},"1159":{"position":[[117,4]]}},"keywords":{}}],["modal",{"_index":2504,"title":{},"content":{"404":{"position":[[456,5],[556,10]]}},"keywords":{}}],["moddatetim",{"_index":5198,"title":{},"content":{"898":{"position":[[861,11]]}},"keywords":{}}],["mode",{"_index":1872,"title":{"671":{"position":[[4,4]]},"675":{"position":[[16,4]]}},"content":{"305":{"position":[[319,5]]},"346":{"position":[[688,4]]},"399":{"position":[[340,5]]},"411":{"position":[[5714,5]]},"412":{"position":[[10716,5],[12042,5]]},"420":{"position":[[1503,4]]},"445":{"position":[[499,5]]},"453":{"position":[[278,6]]},"500":{"position":[[686,5]]},"626":{"position":[[644,5],[705,4],[851,4],[1037,4]]},"653":{"position":[[1393,5]]},"661":{"position":[[1238,5]]},"674":{"position":[[181,5],[279,5],[346,5]]},"675":{"position":[[14,4],[129,4],[269,6]]},"676":{"position":[[52,4]]},"685":{"position":[[550,4]]},"749":{"position":[[2626,4],[6110,4],[20933,4],[21738,4]]},"793":{"position":[[67,4]]},"875":{"position":[[6608,5],[6700,5],[8893,4]]},"932":{"position":[[1152,4],[1327,4]]},"966":{"position":[[512,5]]},"983":{"position":[[1125,6]]},"984":{"position":[[689,5]]},"985":{"position":[[708,5]]},"988":{"position":[[4116,5],[6031,4],[6116,4]]},"1085":{"position":[[3270,5],[3439,5]]},"1143":{"position":[[536,4]]},"1218":{"position":[[409,5]]},"1222":{"position":[[962,5],[1277,5]]},"1266":{"position":[[702,5]]},"1297":{"position":[[155,5],[429,4]]},"1313":{"position":[[689,5]]}},"keywords":{}}],["mode').then",{"_index":3846,"title":{},"content":{"672":{"position":[[115,12]]},"673":{"position":[[121,12]]},"674":{"position":[[404,12]]}},"keywords":{}}],["mode.wasm",{"_index":3085,"title":{},"content":{"467":{"position":[[380,9]]}},"keywords":{}}],["model",{"_index":954,"title":{"401":{"position":[[19,7]]}},"content":{"68":{"position":[[37,5]]},"126":{"position":[[122,6]]},"174":{"position":[[514,6]]},"179":{"position":[[333,5]]},"210":{"position":[[755,6]]},"226":{"position":[[45,6]]},"231":{"position":[[253,5]]},"279":{"position":[[423,5]]},"345":{"position":[[14,5]]},"350":{"position":[[254,5]]},"354":{"position":[[1274,7]]},"382":{"position":[[38,7]]},"384":{"position":[[473,6]]},"390":{"position":[[275,6],[1050,5],[1124,7]]},"391":{"position":[[213,6],[416,6],[832,5],[1003,6],[1079,6]]},"392":{"position":[[2000,5]]},"396":{"position":[[1034,6]]},"401":{"position":[[82,6],[130,5],[180,5],[632,6],[708,5],[766,6],[839,5],[915,5]]},"402":{"position":[[1715,7],[1786,7],[1847,7],[1888,5],[2002,6],[2092,5],[2118,5]]},"403":{"position":[[62,5]]},"404":{"position":[[465,7],[506,6],[851,6],[950,5]]},"412":{"position":[[11068,6],[13728,5],[14378,5]]},"542":{"position":[[155,6]]},"566":{"position":[[48,5]]},"630":{"position":[[227,5]]},"635":{"position":[[16,7]]},"690":{"position":[[97,5]]},"765":{"position":[[37,5]]},"828":{"position":[[216,6]]},"831":{"position":[[94,6]]},"838":{"position":[[949,8]]},"841":{"position":[[274,5]]},"898":{"position":[[1819,5],[4294,5]]},"1132":{"position":[[359,6],[400,6]]},"1284":{"position":[[294,7]]},"1319":{"position":[[203,7]]}},"keywords":{}}],["model.histor",{"_index":4796,"title":{},"content":{"839":{"position":[[282,18]]}},"keywords":{}}],["model/index",{"_index":2493,"title":{"403":{"position":[[18,11]]}},"content":{},"keywords":{}}],["modelofflin",{"_index":1907,"title":{},"content":{"317":{"position":[[160,12]]}},"keywords":{}}],["models.r",{"_index":2006,"title":{},"content":{"353":{"position":[[289,11]]}},"keywords":{}}],["modelsadvanc",{"_index":3698,"title":{},"content":{"631":{"position":[[363,14]]}},"keywords":{}}],["moder",{"_index":4814,"title":{},"content":{"841":{"position":[[1381,8]]}},"keywords":{}}],["modern",{"_index":256,"title":{"423":{"position":[[22,6]]},"449":{"position":[[32,6]]},"783":{"position":[[0,6]]}},"content":{"15":{"position":[[285,6]]},"47":{"position":[[194,6]]},"83":{"position":[[223,6]]},"105":{"position":[[30,6]]},"131":{"position":[[467,6]]},"174":{"position":[[566,6]]},"175":{"position":[[678,7]]},"287":{"position":[[642,6]]},"288":{"position":[[75,6]]},"299":{"position":[[1628,6]]},"300":{"position":[[454,6]]},"309":{"position":[[38,6]]},"321":{"position":[[1,7]]},"322":{"position":[[97,7]]},"336":{"position":[[222,6]]},"352":{"position":[[4,6]]},"364":{"position":[[392,6]]},"375":{"position":[[569,6]]},"378":{"position":[[92,6]]},"402":{"position":[[1995,6]]},"408":{"position":[[792,6],[1271,6]]},"410":{"position":[[402,6]]},"412":{"position":[[15210,6]]},"418":{"position":[[519,6]]},"432":{"position":[[1187,6]]},"434":{"position":[[89,6]]},"435":{"position":[[159,6]]},"441":{"position":[[17,6]]},"452":{"position":[[760,6]]},"500":{"position":[[338,6]]},"502":{"position":[[205,6]]},"517":{"position":[[38,6]]},"521":{"position":[[127,6]]},"524":{"position":[[370,6]]},"535":{"position":[[189,6]]},"542":{"position":[[123,7]]},"548":{"position":[[458,6]]},"574":{"position":[[144,6]]},"576":{"position":[[410,7]]},"581":{"position":[[319,6]]},"595":{"position":[[202,6]]},"608":{"position":[[456,6]]},"617":{"position":[[6,6]]},"640":{"position":[[137,6]]},"641":{"position":[[268,6]]},"644":{"position":[[655,6]]},"801":{"position":[[858,6]]},"911":{"position":[[11,6]]},"1098":{"position":[[162,7]]},"1207":{"position":[[84,6]]},"1322":{"position":[[1,6]]}},"keywords":{}}],["modif",{"_index":1126,"title":{},"content":{"140":{"position":[[164,13]]},"206":{"position":[[282,13]]},"344":{"position":[[39,13]]},"412":{"position":[[2662,13]]},"445":{"position":[[1030,13]]},"571":{"position":[[1539,12]]},"632":{"position":[[91,14]]},"898":{"position":[[298,12]]}},"keywords":{}}],["modifi",{"_index":1114,"title":{"1042":{"position":[[0,9]]},"1061":{"position":[[0,8]]},"1105":{"position":[[6,9]]}},"content":{"134":{"position":[[68,6]]},"191":{"position":[[69,8]]},"203":{"position":[[351,6]]},"358":{"position":[[522,6]]},"397":{"position":[[1357,6]]},"429":{"position":[[305,9]]},"667":{"position":[[167,6]]},"678":{"position":[[322,8],[353,9]]},"698":{"position":[[27,6],[138,8]]},"709":{"position":[[534,6]]},"749":{"position":[[10317,8],[10405,8],[14115,8]]},"766":{"position":[[143,6]]},"768":{"position":[[340,6]]},"770":{"position":[[85,6]]},"805":{"position":[[205,6]]},"829":{"position":[[3886,8]]},"846":{"position":[[751,8],[834,9],[1177,8],[1269,9]]},"886":{"position":[[1207,9],[1246,8],[2965,8],[2987,8],[3107,9]]},"887":{"position":[[442,9]]},"888":{"position":[[40,6]]},"889":{"position":[[23,6]]},"897":{"position":[[170,10]]},"898":{"position":[[261,8],[3514,9],[3744,9]]},"908":{"position":[[152,6]]},"986":{"position":[[665,10]]},"987":{"position":[[39,6]]},"988":{"position":[[3014,8],[3175,8],[3272,8],[3367,9],[4496,8],[4601,8],[4696,9]]},"1044":{"position":[[360,6]]},"1048":{"position":[[323,9],[517,8]]},"1051":{"position":[[118,9]]},"1069":{"position":[[551,6]]},"1083":{"position":[[57,8],[241,8]]},"1085":{"position":[[3391,8]]},"1105":{"position":[[11,8],[217,8],[313,8],[459,8]]},"1109":{"position":[[42,8]]},"1115":{"position":[[49,9],[152,8],[238,8],[496,8],[694,8]]},"1316":{"position":[[2023,8]]},"1317":{"position":[[247,6]]}},"keywords":{}}],["modifiedfield",{"_index":5223,"title":{},"content":{"898":{"position":[[3950,14]]}},"keywords":{}}],["modul",{"_index":50,"title":{},"content":{"2":{"position":[[436,6]]},"6":{"position":[[601,6],[799,6]]},"8":{"position":[[650,7]]},"10":{"position":[[397,6]]},"440":{"position":[[403,6]]},"479":{"position":[[376,7]]},"672":{"position":[[128,6]]},"673":{"position":[[134,6]]},"674":{"position":[[417,6]]},"711":{"position":[[754,7],[828,6]]},"717":{"position":[[429,7]]},"743":{"position":[[62,7]]},"829":{"position":[[1122,7]]},"836":{"position":[[1659,7]]},"960":{"position":[[91,7]]},"1133":{"position":[[139,6]]},"1138":{"position":[[73,6]]},"1139":{"position":[[180,6]]},"1145":{"position":[[176,6]]},"1162":{"position":[[945,7]]},"1174":{"position":[[388,7]]},"1176":{"position":[[85,6],[253,6]]},"1181":{"position":[[902,7]]},"1226":{"position":[[674,9]]},"1264":{"position":[[554,9]]},"1266":{"position":[[722,7]]},"1271":{"position":[[876,6],[1280,6],[1303,7]]},"1274":{"position":[[206,7]]},"1275":{"position":[[78,6]]},"1276":{"position":[[94,6],[603,7]]},"1286":{"position":[[14,6]]}},"keywords":{}}],["modular",{"_index":1060,"title":{},"content":{"116":{"position":[[150,7]]},"860":{"position":[[1072,11]]}},"keywords":{}}],["module.export",{"_index":3850,"title":{},"content":{"674":{"position":[[28,14]]},"1266":{"position":[[493,14]]}},"keywords":{}}],["moduleadd",{"_index":6357,"title":{},"content":{"1279":{"position":[[34,9]]}},"keywords":{}}],["moduleid",{"_index":6321,"title":{},"content":{"1266":{"position":[[930,10]]}},"keywords":{}}],["moduleimport",{"_index":6348,"title":{},"content":{"1277":{"position":[[43,12]]}},"keywords":{}}],["moment",{"_index":1155,"title":{},"content":{"151":{"position":[[56,6]]},"412":{"position":[[5883,7]]},"491":{"position":[[1748,6]]},"584":{"position":[[99,6]]},"679":{"position":[[8,7]]},"700":{"position":[[186,6]]},"723":{"position":[[1891,6]]},"739":{"position":[[140,6]]},"799":{"position":[[276,6]]},"945":{"position":[[413,6]]},"975":{"position":[[343,6],[537,6]]},"1115":{"position":[[872,6]]},"1300":{"position":[[860,6]]}},"keywords":{}}],["monet",{"_index":2674,"title":{},"content":{"412":{"position":[[2822,8]]}},"keywords":{}}],["money",{"_index":2706,"title":{},"content":{"412":{"position":[[6188,5]]}},"keywords":{}}],["mongo",{"_index":5683,"title":{},"content":{"1041":{"position":[[35,5]]}},"keywords":{}}],["mongocli",{"_index":4947,"title":{},"content":{"872":{"position":[[854,11],[890,11]]},"875":{"position":[[807,11],[874,11]]}},"keywords":{}}],["mongoclient('mongodb://localhost:27017",{"_index":4979,"title":{},"content":{"875":{"position":[[892,42]]}},"keywords":{}}],["mongoclient('mongodb://localhost:27017/?directconnection=tru",{"_index":4948,"title":{},"content":{"872":{"position":[[908,64]]}},"keywords":{}}],["mongoclient.connect",{"_index":4981,"title":{},"content":{"875":{"position":[[965,22]]}},"keywords":{}}],["mongoclient.db('mi",{"_index":4950,"title":{},"content":{"872":{"position":[[995,18]]}},"keywords":{}}],["mongocollect",{"_index":4983,"title":{},"content":{"875":{"position":[[1050,15]]}},"keywords":{}}],["mongocollection.find",{"_index":4993,"title":{},"content":{"875":{"position":[[2206,22]]}},"keywords":{}}],["mongocollection.findone({id",{"_index":5022,"title":{},"content":{"875":{"position":[[4655,28]]}},"keywords":{}}],["mongocollection.updateon",{"_index":5028,"title":{},"content":{"875":{"position":[[5208,26]]}},"keywords":{}}],["mongoconnect",{"_index":4980,"title":{},"content":{"875":{"position":[[941,15]]}},"keywords":{}}],["mongoconnection.db('mydatabas",{"_index":4982,"title":{},"content":{"875":{"position":[[1010,33]]}},"keywords":{}}],["mongod",{"_index":4941,"title":{},"content":{"872":{"position":[[545,6]]}},"keywords":{}}],["mongodatabas",{"_index":4949,"title":{},"content":{"872":{"position":[[979,13]]},"875":{"position":[[994,13]]}},"keywords":{}}],["mongodatabase.collection('mydoc",{"_index":4984,"title":{},"content":{"875":{"position":[[1074,35]]}},"keywords":{}}],["mongodatabase.createcollection('mi",{"_index":4951,"title":{},"content":{"872":{"position":[[1032,34]]}},"keywords":{}}],["mongodb",{"_index":260,"title":{"36":{"position":[[0,7]]},"869":{"position":[[0,7]]},"872":{"position":[[31,7]]},"1187":{"position":[[0,7]]},"1188":{"position":[[19,7]]},"1189":{"position":[[10,7]]}},"content":{"15":{"position":[[359,7]]},"16":{"position":[[116,7],[171,8]]},"23":{"position":[[476,8]]},"32":{"position":[[154,8]]},"33":{"position":[[344,8],[636,7]]},"36":{"position":[[247,7],[343,7],[375,7],[432,7]]},"43":{"position":[[182,9]]},"249":{"position":[[195,7]]},"350":{"position":[[151,8]]},"365":{"position":[[1568,7]]},"571":{"position":[[563,7]]},"678":{"position":[[97,7]]},"679":{"position":[[323,7]]},"708":{"position":[[159,8]]},"749":{"position":[[23834,7]]},"776":{"position":[[263,7],[291,7]]},"793":{"position":[[365,7],[782,7]]},"839":{"position":[[145,8],[191,7],[381,7],[441,7],[1025,7]]},"841":{"position":[[219,8],[435,7],[1512,7]]},"870":{"position":[[29,7],[137,7]]},"871":{"position":[[106,8],[145,7],[213,8],[444,7],[504,7],[544,7],[726,7],[760,7]]},"872":{"position":[[99,7],[152,7],[178,7],[238,7],[401,7],[448,7],[484,7],[663,7],[722,7],[763,7],[873,10],[2128,7],[2243,7],[2339,9],[2393,8],[2563,7],[2977,8]]},"873":{"position":[[26,7]]},"875":{"position":[[650,8],[717,7],[826,10],[5745,7],[5900,7],[7718,7]]},"962":{"position":[[534,7],[849,7],[937,9]]},"981":{"position":[[745,7]]},"1071":{"position":[[78,7]]},"1095":{"position":[[160,7]]},"1188":{"position":[[41,7],[154,7],[388,7]]},"1189":{"position":[[15,7],[44,7],[72,7],[241,7],[367,9],[479,7]]},"1196":{"position":[[178,7]]},"1247":{"position":[[242,8],[288,7],[394,7]]},"1324":{"position":[[912,8]]}},"keywords":{}}],["mongodb'",{"_index":4797,"title":{},"content":{"839":{"position":[[551,9],[900,9],[1357,9]]},"1112":{"position":[[369,9]]}},"keywords":{}}],["mongodb://localhost:27017",{"_index":4945,"title":{},"content":{"872":{"position":[[683,27],[2449,28]]}},"keywords":{}}],["mongodb://localhost:27017,localhost:27018,localhost:27019",{"_index":5389,"title":{},"content":{"962":{"position":[[1051,59]]},"1189":{"position":[[593,59]]}},"keywords":{}}],["mongodbrepl",{"_index":4975,"title":{},"content":{"873":{"position":[[110,18]]}},"keywords":{}}],["mongoos",{"_index":4514,"title":{},"content":{"764":{"position":[[14,9]]}},"keywords":{}}],["monitor",{"_index":1785,"title":{},"content":{"301":{"position":[[279,8]]},"502":{"position":[[752,7]]}},"keywords":{}}],["monkey",{"_index":6173,"title":{},"content":{"1198":{"position":[[844,6]]}},"keywords":{}}],["monolith",{"_index":2096,"title":{},"content":{"362":{"position":[[583,10]]}},"keywords":{}}],["monopol",{"_index":2891,"title":{},"content":{"427":{"position":[[1223,12]]}},"keywords":{}}],["month",{"_index":2966,"title":{},"content":{"453":{"position":[[872,7]]},"653":{"position":[[480,6],[543,6]]},"661":{"position":[[395,6]]}},"keywords":{}}],["monthli",{"_index":1318,"title":{},"content":{"204":{"position":[[131,7]]}},"keywords":{}}],["more",{"_index":222,"title":{"780":{"position":[[11,4]]},"1216":{"position":[[6,4]]}},"content":{"14":{"position":[[710,4]]},"25":{"position":[[149,4]]},"28":{"position":[[594,4]]},"34":{"position":[[716,4]]},"36":{"position":[[187,4]]},"39":{"position":[[326,4],[478,4]]},"40":{"position":[[717,4],[828,4]]},"47":{"position":[[320,4]]},"57":{"position":[[124,4],[470,4]]},"58":{"position":[[193,4],[314,4]]},"64":{"position":[[40,4],[190,4]]},"65":{"position":[[290,4],[396,4],[965,4],[1457,4],[2088,4]]},"84":{"position":[[12,4]]},"89":{"position":[[188,4]]},"90":{"position":[[72,4]]},"91":{"position":[[249,4]]},"92":{"position":[[216,4]]},"104":{"position":[[174,4]]},"114":{"position":[[12,4]]},"144":{"position":[[142,5]]},"149":{"position":[[12,4]]},"161":{"position":[[320,4]]},"173":{"position":[[1862,4]]},"174":{"position":[[3108,5]]},"197":{"position":[[167,4]]},"203":{"position":[[132,4]]},"205":{"position":[[79,4]]},"216":{"position":[[196,4]]},"219":{"position":[[333,4]]},"221":{"position":[[180,4]]},"224":{"position":[[317,4]]},"231":{"position":[[221,4]]},"263":{"position":[[553,4]]},"282":{"position":[[147,4]]},"291":{"position":[[516,4]]},"295":{"position":[[91,4]]},"298":{"position":[[619,4]]},"299":{"position":[[963,4],[1517,4],[1665,4]]},"303":{"position":[[44,4]]},"306":{"position":[[7,4]]},"318":{"position":[[359,5]]},"321":{"position":[[427,4]]},"336":{"position":[[548,4]]},"347":{"position":[[12,4]]},"351":{"position":[[163,4]]},"352":{"position":[[335,4]]},"353":{"position":[[166,4]]},"354":{"position":[[170,4],[669,4],[791,4]]},"362":{"position":[[256,4],[510,4],[1092,4]]},"364":{"position":[[597,4]]},"365":{"position":[[1029,4]]},"370":{"position":[[322,4]]},"371":{"position":[[327,4]]},"388":{"position":[[252,4]]},"392":{"position":[[149,4]]},"393":{"position":[[300,6]]},"395":{"position":[[508,4],[537,4]]},"396":{"position":[[718,4]]},"398":{"position":[[83,4]]},"399":{"position":[[85,4],[404,4]]},"401":{"position":[[783,4]]},"402":{"position":[[607,4],[1556,4],[1990,4]]},"404":{"position":[[671,4]]},"407":{"position":[[488,4],[728,4]]},"408":{"position":[[596,4],[2295,4],[3209,5]]},"409":{"position":[[56,4],[223,4]]},"411":{"position":[[550,4],[599,4],[755,4],[3109,4],[5254,4],[5322,4]]},"412":{"position":[[2453,4],[3643,4],[8533,4],[8993,4],[9349,4],[14390,4]]},"417":{"position":[[289,4]]},"418":{"position":[[850,4]]},"419":{"position":[[1145,4]]},"420":{"position":[[494,4]]},"421":{"position":[[223,4]]},"426":{"position":[[83,4]]},"427":{"position":[[430,4]]},"430":{"position":[[145,4],[623,4]]},"432":{"position":[[154,4]]},"441":{"position":[[504,4]]},"445":{"position":[[1948,4]]},"452":{"position":[[349,4],[796,4]]},"463":{"position":[[1104,4]]},"473":{"position":[[179,4]]},"474":{"position":[[294,4]]},"477":{"position":[[336,4]]},"480":{"position":[[1067,4]]},"483":{"position":[[404,4],[430,4],[450,4],[702,4]]},"491":{"position":[[772,5],[1459,5],[1868,4]]},"496":{"position":[[865,4]]},"497":{"position":[[788,4]]},"511":{"position":[[12,4]]},"521":{"position":[[505,4],[596,4]]},"524":{"position":[[972,4]]},"531":{"position":[[12,4]]},"533":{"position":[[194,5]]},"535":{"position":[[231,4],[517,4]]},"544":{"position":[[157,5]]},"545":{"position":[[131,5]]},"546":{"position":[[211,4]]},"551":{"position":[[388,4]]},"557":{"position":[[289,4]]},"560":{"position":[[127,4],[525,4],[677,4]]},"563":{"position":[[927,4]]},"564":{"position":[[5,4]]},"566":{"position":[[257,4]]},"571":{"position":[[1776,4]]},"572":{"position":[[39,4]]},"582":{"position":[[727,4]]},"591":{"position":[[12,4],[707,4]]},"593":{"position":[[194,5]]},"595":{"position":[[244,4],[537,4]]},"605":{"position":[[131,5]]},"606":{"position":[[211,4]]},"610":{"position":[[650,4]]},"612":{"position":[[1012,4]]},"617":{"position":[[640,4]]},"620":{"position":[[624,4]]},"621":{"position":[[830,4]]},"622":{"position":[[531,4]]},"623":{"position":[[192,4]]},"632":{"position":[[798,5],[1435,4]]},"634":{"position":[[598,4]]},"653":{"position":[[670,4]]},"659":{"position":[[966,4]]},"666":{"position":[[409,4]]},"681":{"position":[[102,4]]},"682":{"position":[[100,4]]},"686":{"position":[[192,4],[819,4]]},"688":{"position":[[296,4]]},"696":{"position":[[1241,5],[1931,4]]},"699":{"position":[[297,4]]},"701":{"position":[[737,4]]},"702":{"position":[[529,4]]},"705":{"position":[[566,4],[1303,4]]},"709":{"position":[[423,4]]},"710":{"position":[[2455,4]]},"711":{"position":[[2240,4]]},"717":{"position":[[257,4]]},"718":{"position":[[80,4]]},"723":{"position":[[2277,4]]},"740":{"position":[[39,4]]},"749":{"position":[[15534,4],[15668,4],[15800,4],[22494,4]]},"772":{"position":[[426,4]]},"780":{"position":[[246,4],[269,4],[624,4]]},"782":{"position":[[130,4],[177,4]]},"783":{"position":[[471,4]]},"784":{"position":[[249,4],[292,4]]},"799":{"position":[[58,4]]},"801":{"position":[[560,4]]},"802":{"position":[[669,4],[806,4]]},"821":{"position":[[903,4],[946,4]]},"831":{"position":[[444,4]]},"835":{"position":[[1030,4]]},"836":{"position":[[2361,4],[2469,4]]},"838":{"position":[[3179,4]]},"847":{"position":[[137,4]]},"875":{"position":[[1943,4],[4976,4]]},"886":{"position":[[1614,4]]},"889":{"position":[[98,4]]},"890":{"position":[[906,4]]},"906":{"position":[[635,4],[1091,4]]},"908":{"position":[[376,4]]},"912":{"position":[[737,4]]},"934":{"position":[[18,4]]},"936":{"position":[[128,4]]},"950":{"position":[[133,4]]},"963":{"position":[[181,4]]},"964":{"position":[[32,4]]},"973":{"position":[[72,4]]},"988":{"position":[[4015,4]]},"990":{"position":[[469,4]]},"1080":{"position":[[1139,4]]},"1087":{"position":[[65,4],[112,4]]},"1088":{"position":[[12,4]]},"1089":{"position":[[155,4]]},"1090":{"position":[[22,4]]},"1092":{"position":[[532,4]]},"1094":{"position":[[568,4],[577,4]]},"1095":{"position":[[230,4],[283,4]]},"1098":{"position":[[157,4]]},"1100":{"position":[[946,4]]},"1120":{"position":[[468,4],[544,4]]},"1125":{"position":[[881,4]]},"1132":{"position":[[1184,4]]},"1135":{"position":[[101,4]]},"1140":{"position":[[295,4]]},"1164":{"position":[[1339,4]]},"1173":{"position":[[173,4]]},"1175":{"position":[[445,4]]},"1206":{"position":[[275,4],[587,4]]},"1207":{"position":[[677,4],[708,4]]},"1208":{"position":[[1937,4]]},"1236":{"position":[[90,4]]},"1237":{"position":[[480,4]]},"1241":{"position":[[144,4]]},"1242":{"position":[[223,4]]},"1243":{"position":[[141,4]]},"1244":{"position":[[170,4]]},"1245":{"position":[[109,4]]},"1246":{"position":[[333,4],[653,4],[950,4],[1212,4],[1586,4],[1984,4],[2268,4]]},"1247":{"position":[[135,4],[236,4],[422,4],[586,4],[745,4]]},"1267":{"position":[[97,4],[215,4]]},"1304":{"position":[[711,4]]},"1308":{"position":[[648,4]]},"1316":{"position":[[3642,4]]},"1321":{"position":[[505,4],[531,4]]},"1324":{"position":[[1054,4]]}},"keywords":{}}],["more</button>",{"_index":3283,"title":{},"content":{"523":{"position":[[812,20]]}},"keywords":{}}],["more.loki",{"_index":6382,"title":{},"content":{"1284":{"position":[[339,9]]}},"keywords":{}}],["moreov",{"_index":2916,"title":{},"content":{"435":{"position":[[236,9]]},"624":{"position":[[1018,9]]}},"keywords":{}}],["morn",{"_index":3958,"title":{},"content":{"700":{"position":[[941,8]]}},"keywords":{}}],["mostli",{"_index":378,"title":{},"content":{"23":{"position":[[71,6]]},"26":{"position":[[68,6]]},"31":{"position":[[248,6]]},"266":{"position":[[1075,6]]},"390":{"position":[[1021,6]]},"402":{"position":[[1863,6]]},"411":{"position":[[3162,6]]},"554":{"position":[[441,6]]},"611":{"position":[[1158,6]]},"709":{"position":[[679,6]]},"749":{"position":[[16706,6]]},"800":{"position":[[599,6]]},"841":{"position":[[1313,6]]},"861":{"position":[[2002,6]]},"863":{"position":[[445,6]]},"1068":{"position":[[143,6]]},"1092":{"position":[[379,6]]},"1107":{"position":[[299,6]]},"1195":{"position":[[115,6]]},"1198":{"position":[[410,6]]},"1229":{"position":[[137,6]]},"1246":{"position":[[875,6]]}},"keywords":{}}],["mother",{"_index":4689,"title":{},"content":{"812":{"position":[[183,7],[244,6]]}},"keywords":{}}],["mount",{"_index":4765,"title":{},"content":{"829":{"position":[[3749,6]]}},"keywords":{}}],["mous",{"_index":3044,"title":{},"content":{"464":{"position":[[232,5]]}},"keywords":{}}],["move",{"_index":1388,"title":{"561":{"position":[[8,6]]},"1093":{"position":[[0,6]]}},"content":{"212":{"position":[[414,4]]},"460":{"position":[[55,4],[389,4]]},"618":{"position":[[256,4]]},"642":{"position":[[35,4]]},"664":{"position":[[48,5]]},"800":{"position":[[625,4]]},"801":{"position":[[1,6],[935,4]]},"868":{"position":[[107,5]]},"987":{"position":[[294,4]]},"1007":{"position":[[876,5]]},"1093":{"position":[[129,4]]},"1094":{"position":[[156,6]]},"1124":{"position":[[257,4]]},"1213":{"position":[[459,4]]},"1246":{"position":[[229,4],[549,4]]}},"keywords":{}}],["movement",{"_index":2773,"title":{},"content":{"412":{"position":[[15100,8]]},"419":{"position":[[1386,9]]},"464":{"position":[[238,10]]}},"keywords":{}}],["mpnet",{"_index":2455,"title":{},"content":{"401":{"position":[[291,5]]}},"keywords":{}}],["mq1",{"_index":4183,"title":{},"content":{"749":{"position":[[3849,3]]}},"keywords":{}}],["mq2",{"_index":4184,"title":{},"content":{"749":{"position":[[3936,3]]}},"keywords":{}}],["mq3",{"_index":4186,"title":{},"content":{"749":{"position":[[4008,3]]}},"keywords":{}}],["mq4",{"_index":4187,"title":{},"content":{"749":{"position":[[4123,3]]}},"keywords":{}}],["mq5",{"_index":4190,"title":{},"content":{"749":{"position":[[4239,3]]}},"keywords":{}}],["mq6",{"_index":4191,"title":{},"content":{"749":{"position":[[4361,3]]}},"keywords":{}}],["mq7",{"_index":4193,"title":{},"content":{"749":{"position":[[4538,3]]}},"keywords":{}}],["mq8",{"_index":4194,"title":{},"content":{"749":{"position":[[4612,3]]}},"keywords":{}}],["mqueri",{"_index":4189,"title":{},"content":{"749":{"position":[[4165,6]]}},"keywords":{}}],["ms",{"_index":2445,"title":{},"content":{"401":{"position":[[163,4]]},"975":{"position":[[490,2]]},"1292":{"position":[[346,2],[353,2],[363,2],[370,2],[385,2],[392,2],[702,2],[709,2],[721,2],[728,2],[744,2],[750,2]]}},"keywords":{}}],["mt",{"_index":6320,"title":{},"content":{"1266":{"position":[[903,7]]}},"keywords":{}}],["much",{"_index":61,"title":{"1237":{"position":[[8,4]]}},"content":{"4":{"position":[[96,4]]},"8":{"position":[[50,4]]},"23":{"position":[[396,4]]},"31":{"position":[[223,4]]},"395":{"position":[[343,4]]},"398":{"position":[[78,4]]},"400":{"position":[[497,4]]},"410":{"position":[[548,4]]},"411":{"position":[[3104,4]]},"412":{"position":[[11935,4],[13737,4]]},"416":{"position":[[14,4]]},"432":{"position":[[1366,4]]},"450":{"position":[[439,4]]},"454":{"position":[[402,4]]},"521":{"position":[[633,4]]},"545":{"position":[[197,4]]},"605":{"position":[[197,4]]},"662":{"position":[[794,4]]},"696":{"position":[[976,4],[1067,4],[1569,4],[2029,4]]},"749":{"position":[[7984,4]]},"780":{"position":[[607,4]]},"784":{"position":[[854,4]]},"816":{"position":[[64,4],[102,4]]},"838":{"position":[[521,4]]},"944":{"position":[[74,4]]},"1162":{"position":[[426,4],[623,4]]},"1170":{"position":[[73,4],[210,4]]},"1171":{"position":[[351,4]]},"1181":{"position":[[513,4],[711,4]]},"1209":{"position":[[93,4]]},"1295":{"position":[[1318,4]]},"1297":{"position":[[609,5]]},"1321":{"position":[[101,4]]}},"keywords":{}}],["multi",{"_index":379,"title":{"80":{"position":[[9,5]]},"109":{"position":[[9,5]]},"125":{"position":[[0,5]]},"160":{"position":[[0,5]]},"237":{"position":[[9,5]]},"330":{"position":[[0,5]]},"384":{"position":[[0,5]]},"458":{"position":[[0,5]]},"475":{"position":[[3,5]]},"519":{"position":[[0,5]]},"589":{"position":[[0,5]]},"755":{"position":[[13,5]]},"779":{"position":[[0,5]]},"989":{"position":[[0,5]]},"1135":{"position":[[0,5]]},"1174":{"position":[[0,5]]},"1183":{"position":[[0,5]]},"1301":{"position":[[11,5]]}},"content":{"23":{"position":[[92,5]]},"33":{"position":[[258,5]]},"35":{"position":[[636,5]]},"42":{"position":[[133,5]]},"47":{"position":[[992,5]]},"80":{"position":[[28,5]]},"109":{"position":[[24,5]]},"120":{"position":[[308,5]]},"125":{"position":[[42,5]]},"160":{"position":[[13,5]]},"174":{"position":[[1781,5],[1823,5]]},"237":{"position":[[22,5]]},"314":{"position":[[594,5]]},"323":{"position":[[341,5],[357,5]]},"325":{"position":[[267,5]]},"334":{"position":[[487,5]]},"353":{"position":[[346,5]]},"354":{"position":[[1305,5]]},"411":{"position":[[3943,5],[3957,5],[4572,5]]},"412":{"position":[[14163,5]]},"427":{"position":[[1122,5]]},"475":{"position":[[260,5]]},"483":{"position":[[97,5]]},"502":{"position":[[1128,5],[1176,5]]},"519":{"position":[[122,5]]},"565":{"position":[[13,5],[29,5]]},"566":{"position":[[968,5]]},"579":{"position":[[496,5]]},"582":{"position":[[453,5]]},"590":{"position":[[835,5]]},"630":{"position":[[918,5]]},"644":{"position":[[251,5]]},"709":{"position":[[392,5]]},"723":{"position":[[233,5],[2157,5]]},"749":{"position":[[5769,5]]},"779":{"position":[[78,5]]},"801":{"position":[[826,5]]},"836":{"position":[[1924,5],[2417,5]]},"989":{"position":[[244,5]]},"1008":{"position":[[26,5]]},"1258":{"position":[[52,5]]}},"keywords":{}}],["multiinst",{"_index":1256,"title":{"964":{"position":[[0,14]]},"1230":{"position":[[4,14]]}},"content":{"188":{"position":[[1149,14]]},"209":{"position":[[315,14]]},"255":{"position":[[659,14]]},"314":{"position":[[550,14]]},"334":{"position":[[463,14]]},"522":{"position":[[574,14],[604,13]]},"562":{"position":[[239,14]]},"579":{"position":[[472,14]]},"653":{"position":[[1379,13]]},"739":{"position":[[383,14]]},"749":{"position":[[15013,13]]},"755":{"position":[[22,13]]},"759":{"position":[[431,14]]},"838":{"position":[[2335,14]]},"960":{"position":[[469,14],[499,13]]},"964":{"position":[[123,13]]},"988":{"position":[[1109,13]]},"989":{"position":[[297,14]]},"995":{"position":[[188,14],[823,14]]},"1088":{"position":[[187,13],[558,13]]},"1126":{"position":[[93,14],[451,14],[610,14],[772,14],[909,14]]},"1171":{"position":[[242,14]]},"1174":{"position":[[747,14]]},"1230":{"position":[[108,14]]},"1277":{"position":[[419,14],[454,13]]},"1278":{"position":[[496,14],[948,14]]}},"keywords":{}}],["multilingu",{"_index":2454,"title":{},"content":{"401":{"position":[[278,12]]}},"keywords":{}}],["multipl",{"_index":69,"title":{"682":{"position":[[8,9]]},"1007":{"position":[[22,8]]},"1088":{"position":[[4,8]]},"1092":{"position":[[22,8]]}},"content":{"4":{"position":[[171,8]]},"6":{"position":[[180,8]]},"7":{"position":[[154,8]]},"16":{"position":[[505,8]]},"19":{"position":[[360,8]]},"47":{"position":[[925,8]]},"51":{"position":[[15,8]]},"89":{"position":[[69,8]]},"110":{"position":[[69,8]]},"112":{"position":[[271,8]]},"123":{"position":[[125,8]]},"125":{"position":[[121,8]]},"131":{"position":[[15,8]]},"134":{"position":[[51,8]]},"158":{"position":[[228,8]]},"160":{"position":[[84,8]]},"173":{"position":[[569,8]]},"174":{"position":[[1851,8],[1996,8],[2063,8],[2130,8]]},"181":{"position":[[316,8]]},"189":{"position":[[13,8]]},"190":{"position":[[77,8]]},"203":{"position":[[261,8],[334,8]]},"237":{"position":[[99,8]]},"240":{"position":[[53,8]]},"250":{"position":[[95,8],[277,8]]},"267":{"position":[[391,8],[631,8]]},"289":{"position":[[1291,8]]},"303":{"position":[[1016,8]]},"323":{"position":[[576,8]]},"328":{"position":[[108,8],[135,8],[271,8]]},"330":{"position":[[28,8]]},"336":{"position":[[15,8]]},"339":{"position":[[8,8]]},"354":{"position":[[264,8]]},"358":{"position":[[235,8]]},"365":{"position":[[1213,8],[1386,8]]},"367":{"position":[[456,8]]},"368":{"position":[[74,8],[327,8]]},"375":{"position":[[683,8]]},"376":{"position":[[176,8]]},"384":{"position":[[418,8]]},"390":{"position":[[886,8]]},"392":{"position":[[2161,8]]},"393":{"position":[[1091,8]]},"396":{"position":[[665,8]]},"398":{"position":[[378,8]]},"402":{"position":[[11,8]]},"404":{"position":[[547,8]]},"407":{"position":[[1065,8]]},"408":{"position":[[912,8],[4719,8]]},"411":{"position":[[4061,8],[4083,8],[4693,8]]},"412":{"position":[[2997,8],[11627,8],[13627,8]]},"416":{"position":[[301,8]]},"440":{"position":[[180,8]]},"444":{"position":[[723,8]]},"446":{"position":[[644,8]]},"455":{"position":[[315,8]]},"458":{"position":[[128,8]]},"469":{"position":[[199,8],[561,8],[1164,8]]},"473":{"position":[[222,8]]},"475":{"position":[[37,8]]},"481":{"position":[[219,8]]},"489":{"position":[[163,8]]},"490":{"position":[[370,8]]},"491":{"position":[[442,8],[1335,8]]},"495":{"position":[[110,8]]},"517":{"position":[[95,8]]},"519":{"position":[[35,8]]},"524":{"position":[[13,8]]},"534":{"position":[[520,8]]},"551":{"position":[[23,8]]},"559":{"position":[[1330,8]]},"560":{"position":[[485,8]]},"566":{"position":[[853,8],[888,8]]},"575":{"position":[[486,8]]},"581":{"position":[[15,8]]},"589":{"position":[[20,8]]},"594":{"position":[[518,8]]},"610":{"position":[[1533,8]]},"613":{"position":[[234,8]]},"617":{"position":[[238,8],[1039,8],[1933,8]]},"622":{"position":[[729,8]]},"632":{"position":[[525,8],[575,8]]},"634":{"position":[[402,8]]},"635":{"position":[[44,8]]},"643":{"position":[[94,8]]},"647":{"position":[[62,8]]},"682":{"position":[[154,8]]},"683":{"position":[[382,8]]},"705":{"position":[[1048,8]]},"707":{"position":[[168,8]]},"709":{"position":[[329,8]]},"710":{"position":[[1162,8]]},"723":{"position":[[811,8]]},"724":{"position":[[939,8]]},"743":{"position":[[157,8],[194,8]]},"749":{"position":[[9115,8]]},"757":{"position":[[13,8]]},"761":{"position":[[227,8]]},"772":{"position":[[132,8]]},"779":{"position":[[121,8]]},"782":{"position":[[61,8]]},"795":{"position":[[34,8]]},"800":{"position":[[432,8]]},"820":{"position":[[355,8]]},"834":{"position":[[11,8]]},"836":{"position":[[1867,8]]},"838":{"position":[[1166,8]]},"849":{"position":[[527,8]]},"860":{"position":[[852,8]]},"863":{"position":[[622,8]]},"866":{"position":[[273,8]]},"908":{"position":[[89,8]]},"934":{"position":[[837,8]]},"944":{"position":[[109,8]]},"947":{"position":[[32,8]]},"951":{"position":[[97,8]]},"956":{"position":[[113,8]]},"964":{"position":[[245,8]]},"966":{"position":[[31,8],[422,8]]},"981":{"position":[[1547,8]]},"987":{"position":[[6,8]]},"988":{"position":[[1158,8],[3295,8],[4624,8]]},"989":{"position":[[88,8]]},"1022":{"position":[[183,8]]},"1033":{"position":[[268,8]]},"1072":{"position":[[234,8],[1352,8]]},"1078":{"position":[[65,8]]},"1088":{"position":[[115,8],[252,8],[355,8]]},"1089":{"position":[[219,8]]},"1092":{"position":[[28,8],[131,8]]},"1102":{"position":[[1251,8],[1309,8],[1358,8]]},"1114":{"position":[[342,8]]},"1117":{"position":[[521,8]]},"1120":{"position":[[299,8],[620,8]]},"1135":{"position":[[180,8]]},"1164":{"position":[[591,8]]},"1174":{"position":[[72,8],[217,8]]},"1175":{"position":[[659,8]]},"1183":{"position":[[93,8],[188,8],[231,8]]},"1188":{"position":[[1,8]]},"1222":{"position":[[1172,8],[1221,8]]},"1246":{"position":[[1096,8]]},"1252":{"position":[[352,8]]},"1295":{"position":[[337,8],[598,8]]},"1301":{"position":[[104,8],[231,8],[715,8]]},"1304":{"position":[[660,8],[1049,8]]},"1305":{"position":[[73,8]]},"1307":{"position":[[165,8],[294,8]]},"1308":{"position":[[37,8]]},"1313":{"position":[[139,8]]},"1315":{"position":[[74,8]]},"1316":{"position":[[2543,8]]},"1318":{"position":[[180,8]]},"1321":{"position":[[909,8]]}},"keywords":{}}],["multiplay",{"_index":3949,"title":{},"content":{"699":{"position":[[634,11]]}},"keywords":{}}],["multipleof",{"_index":4398,"title":{},"content":{"749":{"position":[[20359,10]]},"1080":{"position":[[555,10],[595,11]]}},"keywords":{}}],["multiplex",{"_index":3645,"title":{},"content":{"617":{"position":[[1281,12]]},"621":{"position":[[845,12]]}},"keywords":{}}],["multithread",{"_index":6286,"title":{},"content":{"1238":{"position":[[240,14]]}},"keywords":{}}],["muscl",{"_index":2986,"title":{},"content":{"458":{"position":[[367,6]]}},"keywords":{}}],["mutabl",{"_index":4174,"title":{},"content":{"749":{"position":[[3092,7]]},"1065":{"position":[[676,7]]},"1085":{"position":[[208,7]]}},"keywords":{}}],["mutat",{"_index":451,"title":{},"content":{"28":{"position":[[137,8]]},"38":{"position":[[265,8],[424,8]]},"326":{"position":[[75,9]]},"705":{"position":[[674,7]]},"754":{"position":[[150,8]]},"785":{"position":[[366,8]]},"846":{"position":[[763,6],[1189,6]]},"848":{"position":[[262,6]]},"885":{"position":[[1059,8]]},"886":{"position":[[2325,8]]},"889":{"position":[[53,9],[229,8]]},"1042":{"position":[[51,7]]},"1052":{"position":[[63,7],[275,7]]},"1065":{"position":[[740,7]]},"1115":{"position":[[782,8]]},"1304":{"position":[[176,6]]},"1307":{"position":[[867,8]]},"1316":{"position":[[779,7],[1428,9]]},"1317":{"position":[[636,8]]},"1323":{"position":[[90,6]]}},"keywords":{}}],["mutationpushhuman",{"_index":5077,"title":{},"content":{"885":{"position":[[292,17]]}},"keywords":{}}],["mutex",{"_index":2990,"title":{},"content":{"458":{"position":[[1394,7]]}},"keywords":{}}],["mychangevalid",{"_index":5964,"title":{},"content":{"1106":{"position":[[771,17]]},"1109":{"position":[[171,17]]}},"keywords":{}}],["mychangevalidator(authdata",{"_index":5962,"title":{},"content":{"1106":{"position":[[536,27]]}},"keywords":{}}],["mychildst",{"_index":5986,"title":{},"content":{"1114":{"position":[[918,12]]}},"keywords":{}}],["mycollect",{"_index":3174,"title":{},"content":{"493":{"position":[[83,12]]},"494":{"position":[[187,12]]},"798":{"position":[[542,12]]},"812":{"position":[[7,12]]},"813":{"position":[[7,12]]},"916":{"position":[[317,12]]},"934":{"position":[[209,13]]},"949":{"position":[[141,12]]},"1002":{"position":[[575,13],[1229,13]]},"1055":{"position":[[190,12]]},"1056":{"position":[[98,12],[194,12]]},"1066":{"position":[[348,12]]},"1309":{"position":[[1372,13]]}},"keywords":{}}],["mycollection.$.subscribe(changeev",{"_index":5324,"title":{},"content":{"941":{"position":[[101,36]]}},"keywords":{}}],["mycollection.bulkinsert",{"_index":5331,"title":{},"content":{"944":{"position":[[198,26]]}},"keywords":{}}],["mycollection.bulkinsert(dataar",{"_index":4635,"title":{},"content":{"795":{"position":[[225,32]]}},"keywords":{}}],["mycollection.bulkremov",{"_index":5337,"title":{},"content":{"945":{"position":[[139,25],[460,25]]}},"keywords":{}}],["mycollection.bulkupsert",{"_index":5345,"title":{},"content":{"947":{"position":[[172,25]]}},"keywords":{}}],["mycollection.checkpoint$.subscribe(checkpoint",{"_index":5538,"title":{},"content":{"1002":{"position":[[334,45]]}},"keywords":{}}],["mycollection.clos",{"_index":5378,"title":{},"content":{"955":{"position":[[300,21]]}},"keywords":{}}],["mycollection.count",{"_index":5772,"title":{},"content":{"1067":{"position":[[290,20],[1284,20],[1551,20]]}},"keywords":{}}],["mycollection.customcleanupfunct",{"_index":5415,"title":{},"content":{"975":{"position":[[386,37],[609,37]]}},"keywords":{}}],["mycollection.exportjson",{"_index":5371,"title":{},"content":{"952":{"position":[[303,25]]}},"keywords":{}}],["mycollection.find",{"_index":974,"title":{},"content":{"77":{"position":[[212,19]]},"103":{"position":[[252,19]]},"234":{"position":[[312,19]]},"493":{"position":[[339,22]]},"494":{"position":[[291,23]]},"797":{"position":[[251,19]]},"799":{"position":[[577,21],[680,21]]},"1057":{"position":[[82,20]]},"1058":{"position":[[216,20]]},"1059":{"position":[[226,19]]},"1060":{"position":[[94,19]]},"1061":{"position":[[95,19]]},"1062":{"position":[[151,19]]},"1063":{"position":[[109,19],[213,19]]},"1065":{"position":[[209,19],[781,19],[1035,19],[1279,19]]},"1067":{"position":[[1964,19],[2108,19]]},"1072":{"position":[[2464,19],[2642,19]]}},"keywords":{}}],["mycollection.find().exec",{"_index":5669,"title":{},"content":{"1036":{"position":[[121,27]]}},"keywords":{}}],["mycollection.find().where('age').gt(18",{"_index":5762,"title":{},"content":{"1064":{"position":[[304,40]]},"1069":{"position":[[468,40]]}},"keywords":{}}],["mycollection.find().where('name').eq('foo",{"_index":5771,"title":{},"content":{"1065":{"position":[[1430,43]]}},"keywords":{}}],["mycollection.findbyids(id",{"_index":5362,"title":{},"content":{"951":{"position":[[383,28]]}},"keywords":{}}],["mycollection.findon",{"_index":5357,"title":{},"content":{"950":{"position":[[256,22]]}},"keywords":{}}],["mycollection.findone('foo",{"_index":5360,"title":{},"content":{"950":{"position":[[415,27]]}},"keywords":{}}],["mycollection.findone('foobar",{"_index":5736,"title":{},"content":{"1056":{"position":[[314,31]]}},"keywords":{}}],["mycollection.findone('foobar').exec",{"_index":5702,"title":{},"content":{"1045":{"position":[[77,38]]}},"keywords":{}}],["mycollection.findone().exec",{"_index":4561,"title":{},"content":{"770":{"position":[[463,30]]},"1057":{"position":[[454,30]]}},"keywords":{}}],["mycollection.findone().exec(tru",{"_index":5741,"title":{},"content":{"1057":{"position":[[606,34]]}},"keywords":{}}],["mycollection.getlocal$('foobar').subscribe(documentornul",{"_index":5606,"title":{},"content":{"1017":{"position":[[112,57]]}},"keywords":{}}],["mycollection.getlocal$('last",{"_index":5517,"title":{},"content":{"995":{"position":[[1900,28]]}},"keywords":{}}],["mycollection.getlocal('foobar",{"_index":5605,"title":{},"content":{"1016":{"position":[[135,32]]},"1018":{"position":[[77,32]]}},"keywords":{}}],["mycollection.importjson(json",{"_index":5374,"title":{},"content":{"953":{"position":[[102,29]]}},"keywords":{}}],["mycollection.incrementalupsert(docdata",{"_index":5351,"title":{},"content":{"948":{"position":[[561,40],[602,40],[643,40],[725,40]]}},"keywords":{}}],["mycollection.insert",{"_index":4663,"title":{},"content":{"800":{"position":[[814,23]]},"813":{"position":[[256,21]]},"942":{"position":[[188,21]]},"1035":{"position":[[102,21]]},"1058":{"position":[[411,23]]}},"keywords":{}}],["mycollection.insert$.subscribe(changeev",{"_index":5326,"title":{},"content":{"941":{"position":[[243,42]]}},"keywords":{}}],["mycollection.insert(docdata",{"_index":4634,"title":{},"content":{"795":{"position":[[175,29]]}},"keywords":{}}],["mycollection.insert(docu",{"_index":5802,"title":{},"content":{"1072":{"position":[[2419,30]]}},"keywords":{}}],["mycollection.insertifnotexist",{"_index":5330,"title":{},"content":{"943":{"position":[[385,32]]}},"keywords":{}}],["mycollection.insertloc",{"_index":5600,"title":{},"content":{"1014":{"position":[[200,25]]}},"keywords":{}}],["mycollection.insertlocal('last",{"_index":5507,"title":{},"content":{"995":{"position":[[1509,30]]}},"keywords":{}}],["mycollection.onclos",{"_index":5381,"title":{},"content":{"956":{"position":[[244,23]]}},"keywords":{}}],["mycollection.onremov",{"_index":5383,"title":{},"content":{"956":{"position":[[309,24]]}},"keywords":{}}],["mycollection.postcreate(function(plaindata",{"_index":4558,"title":{},"content":{"770":{"position":[[309,43]]}},"keywords":{}}],["mycollection.postinsert(function(plaindata",{"_index":4535,"title":{},"content":{"767":{"position":[[747,43],[827,43],[903,43]]}},"keywords":{}}],["mycollection.postremove(function(plaindata",{"_index":4556,"title":{},"content":{"769":{"position":[[718,43],[798,43],[874,43]]}},"keywords":{}}],["mycollection.postsave(function(plaindata",{"_index":4547,"title":{},"content":{"768":{"position":[[755,41],[833,41],[907,41]]}},"keywords":{}}],["mycollection.preinsert(function(plaindata",{"_index":4530,"title":{},"content":{"767":{"position":[[326,43],[444,43],[507,43],[643,43]]}},"keywords":{}}],["mycollection.preremove(function(plaindata",{"_index":4554,"title":{},"content":{"769":{"position":[[300,42],[379,42],[454,42],[602,42]]}},"keywords":{}}],["mycollection.presave(function(plaindata",{"_index":4542,"title":{},"content":{"768":{"position":[[283,40],[426,40],[499,40],[643,40]]}},"keywords":{}}],["mycollection.remov",{"_index":5376,"title":{},"content":{"954":{"position":[[143,22]]}},"keywords":{}}],["mycollection.remove$.subscribe(changeev",{"_index":5328,"title":{},"content":{"941":{"position":[[395,42]]}},"keywords":{}}],["mycollection.syncgraphql",{"_index":5171,"title":{},"content":{"890":{"position":[[15,26]]}},"keywords":{}}],["mycollection.update$.subscribe(changeev",{"_index":5327,"title":{},"content":{"941":{"position":[[319,42]]}},"keywords":{}}],["mycollection.upsert",{"_index":5344,"title":{},"content":{"946":{"position":[[160,21]]}},"keywords":{}}],["mycollection.upsert(docdata",{"_index":5350,"title":{},"content":{"948":{"position":[[437,29],[467,29]]}},"keywords":{}}],["mycollection.upsertloc",{"_index":5603,"title":{},"content":{"1015":{"position":[[176,25]]}},"keywords":{}}],["mycollection.upsertlocal<mylocaldocumenttype>",{"_index":5616,"title":{},"content":{"1018":{"position":[[797,52]]}},"keywords":{}}],["mycollection.upsertlocal('last",{"_index":5511,"title":{},"content":{"995":{"position":[[1698,30]]}},"keywords":{}}],["mycompon",{"_index":3180,"title":{},"content":{"494":{"position":[[173,13],[440,12]]}},"keywords":{}}],["myconflicthandl",{"_index":2689,"title":{},"content":{"412":{"position":[[4494,17]]}},"keywords":{}}],["mycrdtoper",{"_index":3866,"title":{},"content":{"678":{"position":[[234,15]]}},"keywords":{}}],["mycustomconflicthandl",{"_index":6497,"title":{},"content":{"1309":{"position":[[1491,23]]}},"keywords":{}}],["mycustomfetch",{"_index":4834,"title":{},"content":{"848":{"position":[[184,13],[845,14]]}},"keywords":{}}],["mycustomfetchmethod",{"_index":4826,"title":{},"content":{"846":{"position":[[618,20]]}},"keywords":{}}],["mydata",{"_index":6118,"title":{},"content":{"1165":{"position":[[465,9]]}},"keywords":{}}],["mydatabas",{"_index":36,"title":{},"content":{"1":{"position":[[561,13]]},"2":{"position":[[364,13]]},"3":{"position":[[244,13]]},"4":{"position":[[422,13]]},"5":{"position":[[332,13]]},"6":{"position":[[527,13]]},"7":{"position":[[364,13]]},"8":{"position":[[1133,13]]},"9":{"position":[[278,13]]},"10":{"position":[[316,13]]},"11":{"position":[[842,13]]},"392":{"position":[[368,13]]},"680":{"position":[[655,10]]},"717":{"position":[[1180,13]]},"718":{"position":[[683,13]]},"734":{"position":[[505,13]]},"745":{"position":[[554,13]]},"892":{"position":[[158,10],[295,11]]},"932":{"position":[[1068,13]]},"962":{"position":[[778,13],[994,13]]},"1013":{"position":[[279,10],[323,13]]},"1067":{"position":[[2402,13]]},"1154":{"position":[[770,13]]},"1163":{"position":[[564,12]]},"1182":{"position":[[568,12]]},"1184":{"position":[[807,12]]},"1210":{"position":[[446,13]]},"1211":{"position":[[701,13]]},"1222":{"position":[[1417,13]]},"1226":{"position":[[242,13]]},"1227":{"position":[[720,13]]},"1231":{"position":[[1051,13]]},"1237":{"position":[[820,10]]},"1238":{"position":[[795,10]]},"1239":{"position":[[765,10]]},"1264":{"position":[[164,13]]},"1265":{"position":[[708,13]]},"1311":{"position":[[107,11],[119,10]]}},"keywords":{}}],["mydatabase.addcollect",{"_index":2495,"title":{},"content":{"403":{"position":[[725,27]]},"751":{"position":[[465,27],[769,27],[1567,27]]},"752":{"position":[[370,27]]},"789":{"position":[[166,27],[413,27]]},"791":{"position":[[22,27],[281,27]]},"792":{"position":[[149,27]]},"806":{"position":[[577,27]]},"812":{"position":[[28,27]]},"813":{"position":[[28,27]]},"818":{"position":[[493,27]]},"916":{"position":[[338,27]]},"934":{"position":[[231,27]]},"979":{"position":[[308,27]]},"1013":{"position":[[463,27]]},"1075":{"position":[[7,27]]},"1090":{"position":[[958,29]]},"1309":{"position":[[1394,27]]},"1311":{"position":[[968,27]]}},"keywords":{}}],["mydatabase.backup(backupopt",{"_index":3732,"title":{},"content":{"647":{"position":[[397,33],[538,33]]},"648":{"position":[[246,33]]},"649":{"position":[[202,33]]}},"keywords":{}}],["mydatabase.clos",{"_index":5417,"title":{},"content":{"976":{"position":[[319,19]]},"1311":{"position":[[1829,19]]}},"keywords":{}}],["mydatabase.collections$.subscribe(ev",{"_index":5425,"title":{},"content":{"979":{"position":[[230,39]]}},"keywords":{}}],["mydatabase.exportjson",{"_index":5410,"title":{},"content":{"971":{"position":[[415,23]]}},"keywords":{}}],["mydatabase.heroes.countalldocu",{"_index":6521,"title":{},"content":{"1311":{"position":[[1751,38]]}},"keywords":{}}],["mydatabase.heroes.insert",{"_index":6515,"title":{},"content":{"1311":{"position":[[1486,26]]}},"keywords":{}}],["mydatabase.heroes.postinsert",{"_index":6511,"title":{},"content":{"1311":{"position":[[1113,29]]}},"keywords":{}}],["mydatabase.insertloc",{"_index":5601,"title":{},"content":{"1014":{"position":[[341,23]]}},"keywords":{}}],["mydatabase.migrationst",{"_index":4475,"title":{},"content":{"753":{"position":[[258,29]]}},"keywords":{}}],["mydatabase.remov",{"_index":5418,"title":{},"content":{"977":{"position":[[78,20]]}},"keywords":{}}],["mydatabase.requestidlepromise().then",{"_index":5414,"title":{},"content":{"975":{"position":[[271,39]]}},"keywords":{}}],["mydatabase.requestidlepromise(1000",{"_index":5416,"title":{},"content":{"975":{"position":[[444,34]]}},"keywords":{}}],["mydatabase.todos.find",{"_index":1640,"title":{},"content":{"276":{"position":[[405,23]]}},"keywords":{}}],["mydatabase[collectionnam",{"_index":4201,"title":{},"content":{"749":{"position":[[5050,26]]}},"keywords":{}}],["mydb",{"_index":845,"title":{},"content":{"55":{"position":[[898,7]]},"255":{"position":[[614,7]]},"258":{"position":[[175,7]]},"542":{"position":[[559,7]]},"825":{"position":[[366,7]]},"862":{"position":[[564,7]]},"872":{"position":[[3996,5]]},"898":{"position":[[2346,7]]},"1090":{"position":[[807,7]]},"1118":{"position":[[670,7]]},"1148":{"position":[[1149,7]]},"1149":{"position":[[942,7]]},"1218":{"position":[[555,4]]},"1219":{"position":[[868,4]]},"1311":{"position":[[192,7]]}},"keywords":{}}],["mydb.$.subscribe(changeev",{"_index":5409,"title":{},"content":{"970":{"position":[[96,28]]}},"keywords":{}}],["mydestinationcollect",{"_index":5619,"title":{},"content":{"1020":{"position":[[429,24]]}},"keywords":{}}],["mydestinationcollection.insert",{"_index":5620,"title":{},"content":{"1020":{"position":[[603,32]]}},"keywords":{}}],["mydocu",{"_index":3876,"title":{},"content":{"680":{"position":[[1218,10]]},"717":{"position":[[1619,12]]},"800":{"position":[[795,10]]},"1045":{"position":[[58,10]]},"1046":{"position":[[120,12]]}},"keywords":{}}],["mydocument.allattach",{"_index":5300,"title":{},"content":{"920":{"position":[[77,28]]}},"keywords":{}}],["mydocument.allattachments$.subscrib",{"_index":5301,"title":{},"content":{"921":{"position":[[172,37]]}},"keywords":{}}],["mydocument.deleted$.subscribe(st",{"_index":5716,"title":{},"content":{"1049":{"position":[[102,35]]}},"keywords":{}}],["mydocument.family.mother_",{"_index":4690,"title":{},"content":{"812":{"position":[[259,26]]}},"keywords":{}}],["mydocument.firstname$.subscribe(newnam",{"_index":1423,"title":{},"content":{"235":{"position":[[274,39]]},"571":{"position":[[1309,39]]},"1040":{"position":[[317,39]]}},"keywords":{}}],["mydocument.friends_",{"_index":4694,"title":{},"content":{"813":{"position":[[415,20]]}},"keywords":{}}],["mydocument.get$('nam",{"_index":5673,"title":{},"content":{"1039":{"position":[[196,23]]}},"keywords":{}}],["mydocument.get('nam",{"_index":5670,"title":{},"content":{"1038":{"position":[[141,23]]},"1040":{"position":[[150,23]]}},"keywords":{}}],["mydocument.getattachment('cat.jpg",{"_index":5298,"title":{},"content":{"919":{"position":[[105,36]]},"929":{"position":[[88,36]]},"930":{"position":[[93,36]]},"931":{"position":[[93,36]]},"932":{"position":[[93,36]]}},"keywords":{}}],["mydocument.getlatest",{"_index":5705,"title":{},"content":{"1045":{"position":[[203,23]]}},"keywords":{}}],["mydocument.incrementalmodify(docdata",{"_index":5697,"title":{},"content":{"1044":{"position":[[373,36]]}},"keywords":{}}],["mydocument.incrementalpatch",{"_index":5699,"title":{},"content":{"1044":{"position":[[484,29]]},"1045":{"position":[[143,29]]}},"keywords":{}}],["mydocument.incrementalpatch({firstnam",{"_index":5681,"title":{},"content":{"1040":{"position":[[431,39]]}},"keywords":{}}],["mydocument.incrementalpatch({nam",{"_index":5675,"title":{},"content":{"1039":{"position":[[275,34]]}},"keywords":{}}],["mydocument.incrementalremov",{"_index":5700,"title":{},"content":{"1044":{"position":[[543,30]]}},"keywords":{}}],["mydocument.incrementalupd",{"_index":5696,"title":{},"content":{"1044":{"position":[[283,30]]}},"keywords":{}}],["mydocument.modify(changefunct",{"_index":5693,"title":{},"content":{"1042":{"position":[[231,34]]}},"keywords":{}}],["mydocument.nam",{"_index":5671,"title":{},"content":{"1038":{"position":[[204,16]]},"1039":{"position":[[377,16]]},"1040":{"position":[[185,16]]}},"keywords":{}}],["mydocument.patch",{"_index":5695,"title":{},"content":{"1043":{"position":[[65,18]]}},"keywords":{}}],["mydocument.putattach",{"_index":4664,"title":{},"content":{"800":{"position":[[873,25]]},"917":{"position":[[141,25]]}},"keywords":{}}],["mydocument.remov",{"_index":5711,"title":{},"content":{"1047":{"position":[[232,20]]},"1049":{"position":[[203,20]]},"1050":{"position":[[97,20]]}},"keywords":{}}],["mydocument.tojosn",{"_index":5899,"title":{},"content":{"1085":{"position":[[2514,19]]}},"keywords":{}}],["mydocument.tojson",{"_index":5721,"title":{},"content":{"1051":{"position":[[171,20]]}},"keywords":{}}],["mydocument.tojson(tru",{"_index":5727,"title":{},"content":{"1051":{"position":[[437,24]]}},"keywords":{}}],["mydocument.tomutablejson",{"_index":5729,"title":{},"content":{"1052":{"position":[[189,27]]}},"keywords":{}}],["mydocument.upd",{"_index":5687,"title":{},"content":{"1041":{"position":[[279,19]]}},"keywords":{}}],["mydocument.updatecrdt",{"_index":3878,"title":{},"content":{"680":{"position":[[1346,23]]},"681":{"position":[[620,23]]},"682":{"position":[[322,23]]}},"keywords":{}}],["mydocument.whatever.nestedfield",{"_index":5679,"title":{},"content":{"1040":{"position":[[251,32]]}},"keywords":{}}],["myencrypteddatabas",{"_index":3347,"title":{},"content":{"554":{"position":[[1077,22]]}},"keywords":{}}],["myencryptionpassword",{"_index":3714,"title":{},"content":{"638":{"position":[[504,22]]}},"keywords":{}}],["myendpoint",{"_index":5930,"title":{},"content":{"1100":{"position":[[637,10]]}},"keywords":{}}],["myeventsourceconstructor",{"_index":5075,"title":{},"content":{"882":{"position":[[443,24]]}},"keywords":{}}],["myfield",{"_index":4560,"title":{},"content":{"770":{"position":[[400,10]]},"1115":{"position":[[206,7]]}},"keywords":{}}],["myfirstqueri",{"_index":4711,"title":{},"content":{"820":{"position":[[516,12],[545,13]]}},"keywords":{}}],["myheroschema",{"_index":5831,"title":{},"content":{"1075":{"position":[[53,12]]}},"keywords":{}}],["myid",{"_index":6516,"title":{},"content":{"1311":{"position":[[1525,7]]}},"keywords":{}}],["myindexeddbobjectstore.createindex",{"_index":6425,"title":{},"content":{"1294":{"position":[[525,35]]},"1296":{"position":[[985,35],[1069,35]]}},"keywords":{}}],["myionicdb",{"_index":1888,"title":{},"content":{"314":{"position":[[500,12]]}},"keywords":{}}],["mylocaldb",{"_index":1379,"title":{},"content":{"211":{"position":[[237,12]]}},"keywords":{}}],["mylocaldocumenttyp",{"_index":5615,"title":{},"content":{"1018":{"position":[[736,19]]}},"keywords":{}}],["mymethod.bind(mydocu",{"_index":5731,"title":{},"content":{"1052":{"position":[[484,25]]}},"keywords":{}}],["myofflinedb",{"_index":3124,"title":{},"content":{"480":{"position":[[393,14]]}},"keywords":{}}],["myolddatabasenam",{"_index":4491,"title":{},"content":{"759":{"position":[[637,20]]},"760":{"position":[[633,20]]}},"keywords":{}}],["myownhashfunct",{"_index":5407,"title":{},"content":{"968":{"position":[[540,17]]}},"keywords":{}}],["myownhashfunction(input",{"_index":5405,"title":{},"content":{"968":{"position":[[414,24]]}},"keywords":{}}],["mypassword",{"_index":1942,"title":{},"content":{"334":{"position":[[417,13]]},"522":{"position":[[531,13]]},"579":{"position":[[426,13]]},"739":{"position":[[369,13]]},"848":{"position":[[1527,14]]},"960":{"position":[[426,13]]}},"keywords":{}}],["mypasswordobject",{"_index":4031,"title":{},"content":{"718":{"position":[[459,16],[743,16]]}},"keywords":{}}],["mypostinserthook",{"_index":6512,"title":{},"content":{"1311":{"position":[[1152,17]]}},"keywords":{}}],["mypullstream",{"_index":5048,"title":{},"content":{"875":{"position":[[8077,13],[9496,13]]}},"keywords":{}}],["mypullstream$.asobserv",{"_index":5057,"title":{},"content":{"875":{"position":[[8470,28],[9759,28]]}},"keywords":{}}],["mypullstream$.next",{"_index":5054,"title":{},"content":{"875":{"position":[[8285,20]]}},"keywords":{}}],["mypullstream$.next('resync",{"_index":5059,"title":{},"content":{"875":{"position":[[8990,29],[9657,29]]}},"keywords":{}}],["mypullstream$.next(ev",{"_index":5034,"title":{},"content":{"875":{"position":[[5498,26]]}},"keywords":{}}],["myqueri",{"_index":4647,"title":{},"content":{"797":{"position":[[241,7]]}},"keywords":{}}],["myquerymodifi",{"_index":5957,"title":{},"content":{"1105":{"position":[[831,15]]}},"keywords":{}}],["myquerymodifier(authdata",{"_index":5954,"title":{},"content":{"1105":{"position":[[602,25]]}},"keywords":{}}],["myrandompasswordwithmin8length",{"_index":4036,"title":{},"content":{"718":{"position":[[573,32]]}},"keywords":{}}],["myreplicationstate.active$.pip",{"_index":5508,"title":{},"content":{"995":{"position":[[1594,32]]}},"keywords":{}}],["myreplicationstate.awaitinsync",{"_index":5510,"title":{},"content":{"995":{"position":[[1658,33]]}},"keywords":{}}],["myrxcollect",{"_index":4051,"title":{},"content":{"724":{"position":[[741,15]]},"846":{"position":[[223,15]]},"848":{"position":[[740,15],[1375,15]]},"852":{"position":[[258,15]]},"854":{"position":[[705,15]]},"858":{"position":[[216,15]]},"866":{"position":[[460,15]]},"875":{"position":[[460,15]]},"886":{"position":[[1042,15],[2674,15],[3861,15]]},"887":{"position":[[327,15]]},"888":{"position":[[468,15]]},"889":{"position":[[517,15]]},"890":{"position":[[817,15]]},"893":{"position":[[386,15]]},"988":{"position":[[284,15]]}},"keywords":{}}],["myrxcollection.cleanup",{"_index":3761,"title":{},"content":{"654":{"position":[[178,25]]}},"keywords":{}}],["myrxcollection.cleanup(0",{"_index":3763,"title":{},"content":{"654":{"position":[[452,26]]},"655":{"position":[[490,26]]}},"keywords":{}}],["myrxcollection.cleanup(1000",{"_index":3762,"title":{},"content":{"654":{"position":[[302,29]]}},"keywords":{}}],["myrxcollection.find().remov",{"_index":3768,"title":{},"content":{"655":{"position":[[421,31]]}},"keywords":{}}],["myrxcollection.findone(id).exec",{"_index":5835,"title":{},"content":{"1078":{"position":[[1129,34]]}},"keywords":{}}],["myrxcollection.insert",{"_index":3884,"title":{},"content":{"683":{"position":[[170,23]]},"1078":{"position":[[861,23]]}},"keywords":{}}],["myrxcollection.insertcrdt",{"_index":3886,"title":{},"content":{"683":{"position":[[268,27],[730,27]]}},"keywords":{}}],["myrxcollection.remov",{"_index":3765,"title":{},"content":{"655":{"position":[[125,24]]}},"keywords":{}}],["myrxcollection.schema.getprimaryofdocumentdata",{"_index":5834,"title":{},"content":{"1078":{"position":[[1021,48]]}},"keywords":{}}],["myrxcollection.storageinst",{"_index":6145,"title":{},"content":{"1177":{"position":[[252,31]]}},"keywords":{}}],["myrxdatabas",{"_index":3813,"title":{},"content":{"662":{"position":[[2105,12]]},"772":{"position":[[1594,12],[2356,12]]},"838":{"position":[[2183,12]]},"1090":{"position":[[761,12],[1047,13]]},"1097":{"position":[[732,13]]},"1098":{"position":[[368,13]]},"1099":{"position":[[342,13]]},"1103":{"position":[[227,13]]},"1125":{"position":[[266,12]]},"1130":{"position":[[139,12]]},"1189":{"position":[[383,12]]},"1219":{"position":[[576,12]]},"1220":{"position":[[255,13]]},"1271":{"position":[[1549,12]]},"1274":{"position":[[300,12]]},"1275":{"position":[[311,12]]},"1276":{"position":[[913,12]]},"1277":{"position":[[360,12]]},"1278":{"position":[[437,12],[889,12]]},"1279":{"position":[[687,12]]},"1280":{"position":[[422,12]]}},"keywords":{}}],["myrxdatabase.addcollect",{"_index":3816,"title":{},"content":{"662":{"position":[[2332,29]]},"710":{"position":[[1821,29]]},"838":{"position":[[2546,29]]}},"keywords":{}}],["myrxdocu",{"_index":4738,"title":{},"content":{"826":{"position":[[601,16]]},"1078":{"position":[[1114,12]]}},"keywords":{}}],["myrxdocument.delet",{"_index":4739,"title":{},"content":{"826":{"position":[[697,23]]}},"keywords":{}}],["myrxdocument.foobar",{"_index":4737,"title":{},"content":{"826":{"position":[[508,22]]}},"keywords":{}}],["myrxdocument.get$$('foobar",{"_index":4736,"title":{},"content":{"826":{"position":[[446,29]]}},"keywords":{}}],["myrxdocument1",{"_index":5340,"title":{},"content":{"945":{"position":[[486,14]]}},"keywords":{}}],["myrxdocument2",{"_index":5341,"title":{},"content":{"945":{"position":[[501,14]]}},"keywords":{}}],["myrxjsonschema",{"_index":4710,"title":{},"content":{"820":{"position":[[193,15]]}},"keywords":{}}],["myrxlocaldocu",{"_index":4742,"title":{},"content":{"826":{"position":[[1028,21]]}},"keywords":{}}],["myrxlocaldocument.get$$('foobar",{"_index":4743,"title":{},"content":{"826":{"position":[[1112,34]]}},"keywords":{}}],["myrxpipeline.awaitidl",{"_index":5650,"title":{},"content":{"1026":{"position":[[53,25]]}},"keywords":{}}],["myrxpipeline.clos",{"_index":5651,"title":{},"content":{"1027":{"position":[[7,20]]}},"keywords":{}}],["myrxpipeline.remov",{"_index":5652,"title":{},"content":{"1028":{"position":[[7,21]]}},"keywords":{}}],["myrxreplicationstate.active$.subscribe(bool",{"_index":5500,"title":{},"content":{"993":{"position":[[680,43]]}},"keywords":{}}],["myrxreplicationstate.awaitinitialrepl",{"_index":5501,"title":{},"content":{"994":{"position":[[278,47]]}},"keywords":{}}],["myrxreplicationstate.awaitinsync",{"_index":5505,"title":{},"content":{"995":{"position":[[395,35]]}},"keywords":{}}],["myrxreplicationstate.cancel",{"_index":5523,"title":{},"content":{"997":{"position":[[102,30]]}},"keywords":{}}],["myrxreplicationstate.canceled$.subscribe(bool",{"_index":5498,"title":{},"content":{"993":{"position":[[541,45]]}},"keywords":{}}],["myrxreplicationstate.error$.subscribe(err",{"_index":5592,"title":{},"content":{"1010":{"position":[[275,41]]}},"keywords":{}}],["myrxreplicationstate.error$.subscribe(error",{"_index":5496,"title":{},"content":{"993":{"position":[[405,43]]}},"keywords":{}}],["myrxreplicationstate.paus",{"_index":5525,"title":{},"content":{"998":{"position":[[108,29]]}},"keywords":{}}],["myrxreplicationstate.received$.subscribe(doc",{"_index":5494,"title":{},"content":{"993":{"position":[[142,44]]}},"keywords":{}}],["myrxreplicationstate.remov",{"_index":5529,"title":{},"content":{"999":{"position":[[287,30]]}},"keywords":{}}],["myrxreplicationstate.resync",{"_index":5522,"title":{},"content":{"996":{"position":[[270,30],[553,30]]}},"keywords":{}}],["myrxreplicationstate.sent$.subscribe(doc",{"_index":5495,"title":{},"content":{"993":{"position":[[263,40]]}},"keywords":{}}],["myrxreplicationstate.start",{"_index":5526,"title":{},"content":{"998":{"position":[[144,29]]}},"keywords":{}}],["myrxschema",{"_index":4746,"title":{},"content":{"829":{"position":[[765,10]]}},"keywords":{}}],["myrxserver.addreplicationendpoint",{"_index":5928,"title":{},"content":{"1100":{"position":[[390,36]]}},"keywords":{}}],["myrxstate.myfield",{"_index":5990,"title":{},"content":{"1116":{"position":[[290,18]]}},"keywords":{}}],["mys3cretp4ssw0rd",{"_index":1899,"title":{},"content":{"315":{"position":[[617,18]]}},"keywords":{}}],["myschema",{"_index":2121,"title":{},"content":{"367":{"position":[[700,8]]},"680":{"position":[[798,8],[1176,8]]},"720":{"position":[[124,8]]},"734":{"position":[[600,8],[890,8]]},"739":{"position":[[456,8]]},"772":{"position":[[967,8]]},"789":{"position":[[212,9],[459,9]]},"791":{"position":[[68,9],[327,9]]},"792":{"position":[[195,9]]},"806":{"position":[[620,9]]},"818":{"position":[[539,9]]},"862":{"position":[[618,8],[851,8]]},"916":{"position":[[131,8],[384,8]]},"932":{"position":[[1183,8]]},"934":{"position":[[301,9]]},"939":{"position":[[194,8]]},"979":{"position":[[354,8]]},"1078":{"position":[[114,8]]},"1222":{"position":[[536,8]]},"1309":{"position":[[1464,9]]}},"keywords":{}}],["mysecondqueri",{"_index":4712,"title":{},"content":{"820":{"position":[[596,14]]}},"keywords":{}}],["mysecretid",{"_index":3354,"title":{},"content":{"555":{"position":[[302,13]]}},"keywords":{}}],["myserv",{"_index":5911,"title":{},"content":{"1090":{"position":[[1004,8]]},"1097":{"position":[[688,8]]},"1098":{"position":[[324,8]]},"1099":{"position":[[298,8]]},"1103":{"position":[[184,8]]}},"keywords":{}}],["myserver.start",{"_index":5920,"title":{},"content":{"1097":{"position":[[278,16],[881,17]]},"1098":{"position":[[435,17]]},"1099":{"position":[[405,17]]}},"keywords":{}}],["myservercollect",{"_index":5931,"title":{},"content":{"1100":{"position":[[715,18]]},"1101":{"position":[[527,18]]},"1102":{"position":[[400,18]]},"1103":{"position":[[370,19]]},"1105":{"position":[[796,19]]},"1106":{"position":[[734,19]]}},"keywords":{}}],["mysign",{"_index":6005,"title":{},"content":{"1118":{"position":[[798,8],[841,8]]}},"keywords":{}}],["mysourcecollection.addpipelin",{"_index":5618,"title":{},"content":{"1020":{"position":[[356,32]]}},"keywords":{}}],["mysql",{"_index":2033,"title":{"356":{"position":[[30,6]]}},"content":{"356":{"position":[[90,6]]},"571":{"position":[[554,5]]},"708":{"position":[[138,6]]},"1124":{"position":[[2072,5]]}},"keywords":{}}],["mysql’",{"_index":2092,"title":{},"content":{"362":{"position":[[372,7]]}},"keywords":{}}],["mystat",{"_index":5983,"title":{},"content":{"1114":{"position":[[822,7]]},"1118":{"position":[[755,7]]},"1121":{"position":[[535,7]]}},"keywords":{}}],["mystate.collect",{"_index":6009,"title":{},"content":{"1121":{"position":[[633,19]]}},"keywords":{}}],["mystate.get",{"_index":5992,"title":{},"content":{"1116":{"position":[[345,14]]}},"keywords":{}}],["mystate.get$$('myfield",{"_index":6006,"title":{},"content":{"1118":{"position":[[809,25]]}},"keywords":{}}],["mystate.get$('myfield",{"_index":5999,"title":{},"content":{"1117":{"position":[[328,24]]}},"keywords":{}}],["mystate.get('myarrayfield[0].foobar",{"_index":5997,"title":{},"content":{"1116":{"position":[[599,38]]}},"keywords":{}}],["mystate.get('myfield",{"_index":5993,"title":{},"content":{"1116":{"position":[[395,23]]}},"keywords":{}}],["mystate.get('myfield.childfield",{"_index":5995,"title":{},"content":{"1116":{"position":[[483,34]]}},"keywords":{}}],["mystate.myarrayfield[0].foobar",{"_index":5998,"title":{},"content":{"1116":{"position":[[650,31]]}},"keywords":{}}],["mystate.myfield",{"_index":5994,"title":{},"content":{"1116":{"position":[[431,16]]},"1117":{"position":[[290,17],[372,17]]},"1118":{"position":[[852,18]]}},"keywords":{}}],["mystate.myfield.childfield",{"_index":5996,"title":{},"content":{"1116":{"position":[[530,27]]}},"keywords":{}}],["mystate.set('myfield",{"_index":5988,"title":{},"content":{"1115":{"position":[[319,22],[385,22],[455,22]]}},"keywords":{}}],["mystoragebucket",{"_index":6059,"title":{},"content":{"1140":{"position":[[705,15]]}},"keywords":{}}],["mystoragebucket.indexeddb",{"_index":6062,"title":{},"content":{"1140":{"position":[[799,26]]}},"keywords":{}}],["mystrongpassword123",{"_index":3437,"title":{},"content":{"564":{"position":[[667,21]]}},"keywords":{}}],["mytododb",{"_index":5256,"title":{},"content":{"904":{"position":[[739,11]]}},"keywords":{}}],["mytopsecretpassword",{"_index":3137,"title":{},"content":{"482":{"position":[[694,21]]}},"keywords":{}}],["myvalu",{"_index":4770,"title":{},"content":{"835":{"position":[[473,11]]}},"keywords":{}}],["myzerolocaldb",{"_index":3704,"title":{},"content":{"632":{"position":[[1313,16]]}},"keywords":{}}],["n",{"_index":3637,"title":{},"content":{"617":{"position":[[765,1]]}},"keywords":{}}],["n1ql",{"_index":415,"title":{},"content":{"25":{"position":[[120,4]]}},"keywords":{}}],["n\\n",{"_index":5046,"title":{},"content":{"875":{"position":[[7483,8]]}},"keywords":{}}],["nakamoto",{"_index":4713,"title":{},"content":{"820":{"position":[[660,10]]}},"keywords":{}}],["name",{"_index":35,"title":{"935":{"position":[[0,5]]},"961":{"position":[[0,5]]}},"content":{"1":{"position":[[555,5]]},"2":{"position":[[358,5]]},"3":{"position":[[238,5]]},"4":{"position":[[416,5]]},"5":{"position":[[326,5]]},"6":{"position":[[521,5],[700,5]]},"7":{"position":[[358,5],[422,4],[535,5],[618,4]]},"8":{"position":[[1127,5],[1204,4]]},"9":{"position":[[272,5],[347,4]]},"10":{"position":[[310,5]]},"11":{"position":[[836,5]]},"51":{"position":[[443,5],[515,7],[718,5],[743,4]]},"52":{"position":[[109,5],[209,5],[252,5],[421,5],[511,5],[658,5]]},"54":{"position":[[180,5]]},"55":{"position":[[892,5]]},"130":{"position":[[535,5]]},"143":{"position":[[475,5],[656,5]]},"188":{"position":[[1062,5],[1320,5],[1415,9],[1442,7]]},"189":{"position":[[487,4]]},"209":{"position":[[261,5]]},"211":{"position":[[231,5]]},"255":{"position":[[608,5]]},"258":{"position":[[169,5]]},"266":{"position":[[683,5]]},"302":{"position":[[136,5]]},"303":{"position":[[350,5]]},"314":{"position":[[494,5]]},"315":{"position":[[557,5]]},"316":{"position":[[442,5]]},"334":{"position":[[352,5],[705,5]]},"335":{"position":[[773,5]]},"345":{"position":[[50,6]]},"356":{"position":[[362,4],[445,6]]},"361":{"position":[[276,5],[375,5]]},"367":{"position":[[913,5],[1053,7]]},"392":{"position":[[362,5]]},"401":{"position":[[136,4]]},"402":{"position":[[2098,4]]},"422":{"position":[[340,6]]},"426":{"position":[[308,5]]},"444":{"position":[[766,4]]},"480":{"position":[[387,5]]},"482":{"position":[[632,5]]},"522":{"position":[[433,5],[460,4]]},"538":{"position":[[448,5],[473,4],[744,5],[816,7]]},"539":{"position":[[109,5],[209,5],[252,5],[421,5],[511,5],[658,5]]},"542":{"position":[[553,5]]},"554":{"position":[[1071,5]]},"562":{"position":[[186,5],[391,5],[463,7],[585,5]]},"563":{"position":[[498,5]]},"564":{"position":[[602,5]]},"579":{"position":[[361,5],[713,5]]},"580":{"position":[[555,5]]},"588":{"position":[[34,5]]},"598":{"position":[[455,5],[480,4],[751,5],[823,7]]},"599":{"position":[[118,5],[227,5],[279,5],[448,5],[538,5],[689,5]]},"612":{"position":[[985,5]]},"632":{"position":[[1307,5]]},"638":{"position":[[449,5]]},"639":{"position":[[79,6],[140,5]]},"653":{"position":[[272,5]]},"662":{"position":[[2145,5],[2482,5],[2552,7],[2633,5],[2722,5],[2810,5]]},"680":{"position":[[693,5]]},"691":{"position":[[107,5],[362,5]]},"693":{"position":[[1193,5]]},"710":{"position":[[1714,5],[1940,5],[2029,5],[2117,5]]},"711":{"position":[[1291,6]]},"717":{"position":[[1174,5]]},"718":{"position":[[677,5]]},"734":{"position":[[499,5]]},"739":{"position":[[303,5]]},"745":{"position":[[548,5]]},"749":{"position":[[19,4],[126,5],[290,6],[320,4],[349,4],[1426,4],[4898,5],[5284,4],[5610,4],[6239,5],[6494,4],[6513,5],[6519,4],[7675,4],[8160,4],[8252,5],[8467,4],[16938,4]]},"759":{"position":[[379,5],[506,4],[611,5]]},"760":{"position":[[502,4],[607,5]]},"772":{"position":[[789,5],[1046,5],[1634,5],[2396,5]]},"773":{"position":[[86,4],[579,5]]},"774":{"position":[[681,5]]},"789":{"position":[[137,6]]},"791":{"position":[[435,5]]},"808":{"position":[[200,7],[222,5],[556,7],[594,5]]},"810":{"position":[[221,5],[292,5]]},"811":{"position":[[201,5],[272,5]]},"812":{"position":[[117,5]]},"813":{"position":[[117,5],[278,5]]},"825":{"position":[[360,5]]},"829":{"position":[[658,5],[2436,5],[3352,5]]},"838":{"position":[[2246,5],[2316,5],[2696,5],[2766,7],[2847,5],[2936,5],[3024,5]]},"851":{"position":[[222,4]]},"854":{"position":[[466,7]]},"861":{"position":[[1930,4],[2039,5]]},"862":{"position":[[558,5],[751,5],[796,7]]},"865":{"position":[[229,4]]},"866":{"position":[[566,4]]},"872":{"position":[[1732,5],[3399,5],[3990,5]]},"885":{"position":[[547,5],[642,5]]},"886":{"position":[[704,4],[2418,4],[3615,5]]},"888":{"position":[[1129,5]]},"893":{"position":[[319,4],[365,5]]},"898":{"position":[[1716,4],[2340,5],[3933,5]]},"904":{"position":[[733,5],[1930,6]]},"917":{"position":[[196,4]]},"932":{"position":[[1062,5]]},"934":{"position":[[140,4]]},"935":{"position":[[5,4],[177,5],[194,5]]},"939":{"position":[[70,4]]},"942":{"position":[[210,5]]},"943":{"position":[[418,5]]},"944":{"position":[[225,5],[261,5]]},"946":{"position":[[182,5]]},"947":{"position":[[200,5],[235,5]]},"948":{"position":[[392,5]]},"950":{"position":[[291,5]]},"960":{"position":[[301,5],[328,4]]},"961":{"position":[[14,4],[106,4]]},"962":{"position":[[772,5],[988,5]]},"966":{"position":[[75,4],[556,5],[674,5]]},"967":{"position":[[141,5],[259,5]]},"1013":{"position":[[317,5]]},"1035":{"position":[[124,5]]},"1038":{"position":[[134,4],[180,4],[197,4]]},"1039":{"position":[[177,6]]},"1040":{"position":[[178,4],[408,5],[490,5]]},"1043":{"position":[[84,5]]},"1056":{"position":[[134,5]]},"1065":{"position":[[241,5],[813,5],[973,4],[998,4],[1076,5],[1102,5],[1311,5]]},"1067":{"position":[[2396,5]]},"1069":{"position":[[699,4]]},"1072":{"position":[[2352,5],[2674,5]]},"1074":{"position":[[123,4],[552,4]]},"1085":{"position":[[2072,6],[2274,4],[2321,5],[3736,4],[3775,5]]},"1090":{"position":[[801,5]]},"1100":{"position":[[450,4],[566,4],[682,5]]},"1101":{"position":[[494,5]]},"1102":{"position":[[367,5]]},"1103":{"position":[[337,5]]},"1105":{"position":[[763,5]]},"1106":{"position":[[701,5]]},"1108":{"position":[[431,5]]},"1114":{"position":[[730,5]]},"1118":{"position":[[664,5]]},"1121":{"position":[[470,5]]},"1125":{"position":[[306,5]]},"1126":{"position":[[386,5],[699,5]]},"1130":{"position":[[179,5]]},"1134":{"position":[[156,5]]},"1138":{"position":[[300,5]]},"1139":{"position":[[555,5]]},"1140":{"position":[[614,5]]},"1144":{"position":[[204,5]]},"1145":{"position":[[544,5]]},"1146":{"position":[[249,5]]},"1148":{"position":[[1143,5]]},"1149":{"position":[[936,5],[1149,5],[1219,7]]},"1154":{"position":[[764,5]]},"1158":{"position":[[212,5]]},"1159":{"position":[[398,5]]},"1163":{"position":[[558,5]]},"1165":{"position":[[748,5],[1086,5]]},"1168":{"position":[[160,5]]},"1172":{"position":[[325,5]]},"1182":{"position":[[562,5]]},"1184":{"position":[[801,5]]},"1189":{"position":[[423,5]]},"1201":{"position":[[200,5]]},"1208":{"position":[[888,5]]},"1210":{"position":[[440,5]]},"1211":{"position":[[695,5]]},"1222":{"position":[[1411,5]]},"1226":{"position":[[236,5]]},"1227":{"position":[[714,5]]},"1231":{"position":[[1045,5]]},"1264":{"position":[[158,5]]},"1265":{"position":[[702,5]]},"1267":{"position":[[636,5],[730,5]]},"1271":{"position":[[1589,5]]},"1274":{"position":[[340,5]]},"1275":{"position":[[351,5]]},"1276":{"position":[[953,5]]},"1277":{"position":[[400,5]]},"1278":{"position":[[477,5],[929,5]]},"1279":{"position":[[727,5]]},"1280":{"position":[[462,5]]},"1286":{"position":[[509,5]]},"1287":{"position":[[559,5]]},"1288":{"position":[[525,5]]},"1311":{"position":[[186,5]]}},"keywords":{}}],["name+collect",{"_index":6119,"title":{},"content":{"1165":{"position":[[520,16],[981,16]]}},"keywords":{}}],["name:foobar",{"_index":5356,"title":{},"content":{"950":{"position":[[244,11]]}},"keywords":{}}],["name].j",{"_index":6316,"title":{},"content":{"1266":{"position":[[618,12]]}},"keywords":{}}],["namecontroller.text",{"_index":1284,"title":{},"content":{"188":{"position":[[2945,20]]}},"keywords":{}}],["namelowercas",{"_index":5801,"title":{},"content":{"1072":{"position":[[2370,14],[2496,14]]}},"keywords":{}}],["namespac",{"_index":5985,"title":{},"content":{"1114":{"position":[[902,9]]},"1120":{"position":[[586,10]]}},"keywords":{}}],["narrow",{"_index":2487,"title":{},"content":{"402":{"position":[[2140,6],[2248,6]]}},"keywords":{}}],["narrowli",{"_index":2615,"title":{},"content":{"411":{"position":[[1702,8]]}},"keywords":{}}],["nat",{"_index":1054,"title":{"864":{"position":[[17,4]]}},"content":{"113":{"position":[[254,4]]},"174":{"position":[[3086,5]]},"238":{"position":[[169,5]]},"614":{"position":[[420,4]]},"793":{"position":[[823,4]]},"865":{"position":[[34,4],[161,4],[239,4]]},"866":{"position":[[15,4],[41,4],[400,6],[503,4],[541,5],[679,5]]},"867":{"position":[[148,4]]},"901":{"position":[[261,3]]},"1124":{"position":[[2302,5]]}},"keywords":{}}],["nativ",{"_index":58,"title":{"8":{"position":[[6,6]]},"371":{"position":[[38,7]]},"437":{"position":[[23,7]]},"549":{"position":[[6,6]]},"551":{"position":[[6,6]]},"552":{"position":[[40,7]]},"556":{"position":[[25,6]]},"703":{"position":[[19,7]]},"830":{"position":[[6,6]]},"833":{"position":[[6,6]]},"834":{"position":[[29,7]]},"852":{"position":[[6,7]]},"1139":{"position":[[23,6]]},"1145":{"position":[[23,6]]},"1214":{"position":[[24,6]]},"1277":{"position":[[17,7]]}},"content":{"4":{"position":[[56,6]]},"7":{"position":[[650,6]]},"8":{"position":[[187,6],[211,6],[263,6],[283,6],[342,6],[360,6],[454,7],[866,6],[939,6],[1181,6]]},"17":{"position":[[112,7],[269,7]]},"34":{"position":[[161,6],[495,8]]},"38":{"position":[[722,7]]},"47":{"position":[[1252,6]]},"66":{"position":[[163,6],[244,6]]},"80":{"position":[[52,8]]},"104":{"position":[[107,6]]},"109":{"position":[[6,8]]},"112":{"position":[[116,7]]},"120":{"position":[[122,6]]},"174":{"position":[[602,6],[2722,7]]},"201":{"position":[[196,8]]},"207":{"position":[[193,6]]},"231":{"position":[[145,8]]},"239":{"position":[[153,7]]},"243":{"position":[[87,6]]},"244":{"position":[[109,6],[434,6],[535,6],[1137,6],[1265,6],[1304,6],[1348,6],[1430,6]]},"248":{"position":[[82,7]]},"254":{"position":[[164,6],[400,7]]},"269":{"position":[[105,6],[228,6]]},"287":{"position":[[477,6]]},"314":{"position":[[143,6]]},"317":{"position":[[7,6]]},"364":{"position":[[183,6]]},"365":{"position":[[1053,7]]},"371":{"position":[[46,7],[309,6],[349,7]]},"375":{"position":[[930,6]]},"383":{"position":[[412,7]]},"384":{"position":[[211,7]]},"408":{"position":[[1616,6],[2073,6],[3598,6],[5156,6]]},"437":{"position":[[11,6],[273,6]]},"438":{"position":[[9,6]]},"445":{"position":[[1780,6]]},"446":{"position":[[1147,6]]},"447":{"position":[[243,6]]},"454":{"position":[[249,6],[470,7],[620,6]]},"458":{"position":[[72,7]]},"524":{"position":[[909,6]]},"535":{"position":[[41,6],[1304,7]]},"546":{"position":[[308,6]]},"551":{"position":[[7,6],[308,6],[333,6]]},"554":{"position":[[170,6]]},"556":{"position":[[112,6],[137,6],[230,6],[318,6],[1150,6]]},"557":{"position":[[125,6],[163,6],[466,6]]},"566":{"position":[[474,9],[1251,8],[1274,9]]},"581":{"position":[[227,6],[565,6]]},"595":{"position":[[41,6]]},"606":{"position":[[298,6]]},"613":{"position":[[793,6]]},"616":{"position":[[732,6],[1018,6]]},"621":{"position":[[281,8]]},"631":{"position":[[196,8]]},"640":{"position":[[335,6]]},"641":{"position":[[399,6]]},"659":{"position":[[24,6],[165,6]]},"711":{"position":[[739,6]]},"717":{"position":[[209,6]]},"749":{"position":[[1161,6]]},"793":{"position":[[316,7]]},"824":{"position":[[247,6]]},"828":{"position":[[85,7]]},"829":{"position":[[938,6]]},"830":{"position":[[75,7],[193,6]]},"832":{"position":[[270,6]]},"834":{"position":[[67,7]]},"835":{"position":[[583,6],[633,6]]},"836":{"position":[[236,7],[402,6],[486,6],[523,6],[650,6],[1061,6],[1296,6],[1617,6],[1645,6]]},"837":{"position":[[318,6],[855,7],[1032,7],[1078,6],[1232,6],[1355,6],[1375,6],[1401,6],[1513,6],[1768,6],[1813,6],[2146,6]]},"838":{"position":[[383,7],[1201,7],[1347,6],[1588,7],[1827,6],[2011,6],[2409,6],[3212,7],[3419,7]]},"840":{"position":[[627,7],[670,6]]},"842":{"position":[[52,6],[90,6],[321,7]]},"852":{"position":[[7,6]]},"861":{"position":[[1582,10]]},"882":{"position":[[80,6],[129,6]]},"901":{"position":[[97,6]]},"917":{"position":[[405,6],[442,9]]},"964":{"position":[[460,6]]},"1072":{"position":[[1790,9]]},"1147":{"position":[[528,6]]},"1173":{"position":[[236,6]]},"1183":{"position":[[473,6]]},"1191":{"position":[[383,6]]},"1196":{"position":[[22,6],[49,7]]},"1206":{"position":[[44,6]]},"1214":{"position":[[110,6],[702,6]]},"1247":{"position":[[100,7]]},"1271":{"position":[[235,6],[1266,6]]},"1277":{"position":[[19,6],[313,6],[502,6],[603,6],[683,6],[840,6]]},"1283":{"position":[[7,6]]},"1284":{"position":[[457,7]]},"1316":{"position":[[3556,6]]}},"keywords":{}}],["native"",{"_index":1520,"title":{},"content":{"244":{"position":[[1398,12]]}},"keywords":{}}],["native'",{"_index":133,"title":{},"content":{"9":{"position":[[12,8]]}},"keywords":{}}],["native)desktop",{"_index":3121,"title":{},"content":{"479":{"position":[[391,14]]}},"keywords":{}}],["natively.with",{"_index":2981,"title":{},"content":{"457":{"position":[[241,13]]}},"keywords":{}}],["nativescript",{"_index":6136,"title":{},"content":{"1173":{"position":[[154,13]]}},"keywords":{}}],["nats:2.9.17",{"_index":4925,"title":{},"content":{"865":{"position":[[257,11]]}},"keywords":{}}],["natur",{"_index":701,"title":{"350":{"position":[[21,7]]}},"content":{"45":{"position":[[326,7]]},"68":{"position":[[142,6]]},"73":{"position":[[89,7]]},"104":{"position":[[49,9]]},"173":{"position":[[500,6]]},"174":{"position":[[658,7],[1461,7]]},"226":{"position":[[435,6]]},"231":{"position":[[226,7]]},"354":{"position":[[67,7]]},"362":{"position":[[22,9]]},"364":{"position":[[80,9]]},"371":{"position":[[256,7]]},"385":{"position":[[282,6]]},"410":{"position":[[1825,9]]},"412":{"position":[[5677,7]]},"634":{"position":[[47,9]]},"723":{"position":[[1059,7]]},"901":{"position":[[409,6]]}},"keywords":{}}],["navig",{"_index":1975,"title":{},"content":{"346":{"position":[[489,10]]},"396":{"position":[[397,11],[547,9]]},"424":{"position":[[338,9]]}},"keywords":{}}],["navigator.hardwareconcurr",{"_index":2280,"title":{},"content":{"392":{"position":[[4651,30],[5039,29]]}},"keywords":{}}],["navigator.onlin",{"_index":5456,"title":{},"content":{"988":{"position":[[1021,16]]}},"keywords":{}}],["navigator.storage.estim",{"_index":1771,"title":{},"content":{"300":{"position":[[237,29]]},"301":{"position":[[325,28]]},"461":{"position":[[1284,29]]}},"keywords":{}}],["navigator.storage.getdirectori",{"_index":6197,"title":{},"content":{"1208":{"position":[[721,33]]},"1215":{"position":[[518,33]]}},"keywords":{}}],["navigator.storage.persist",{"_index":1777,"title":{},"content":{"300":{"position":[[482,27]]}},"keywords":{}}],["navigator.storagebuckets.open('myapp",{"_index":6060,"title":{},"content":{"1140":{"position":[[729,36]]}},"keywords":{}}],["near",{"_index":708,"title":{},"content":{"46":{"position":[[294,4]]},"65":{"position":[[1155,4]]},"265":{"position":[[411,4]]},"301":{"position":[[720,7]]},"375":{"position":[[520,4]]},"408":{"position":[[1611,4],[2068,4],[3593,4]]},"410":{"position":[[181,4]]},"415":{"position":[[68,4]]},"474":{"position":[[168,4]]},"483":{"position":[[65,4]]},"486":{"position":[[22,4]]},"498":{"position":[[577,4]]},"571":{"position":[[102,4]]},"632":{"position":[[1955,4]]},"641":{"position":[[394,4]]},"780":{"position":[[757,4]]},"1007":{"position":[[356,5]]},"1093":{"position":[[165,4]]}},"keywords":{}}],["nearbi",{"_index":2809,"title":{},"content":{"419":{"position":[[1423,6]]},"1007":{"position":[[2040,6]]}},"keywords":{}}],["nearest",{"_index":2209,"title":{},"content":{"390":{"position":[[1597,7]]},"396":{"position":[[232,7],[632,7]]}},"keywords":{}}],["nearli",{"_index":2127,"title":{},"content":{"369":{"position":[[1259,6]]},"412":{"position":[[2715,6]]},"478":{"position":[[173,6]]}},"keywords":{}}],["neatli",{"_index":3257,"title":{},"content":{"521":{"position":[[115,6]]},"590":{"position":[[315,6]]}},"keywords":{}}],["necessari",{"_index":714,"title":{},"content":{"46":{"position":[[439,9]]},"128":{"position":[[69,9]]},"227":{"position":[[383,9]]},"395":{"position":[[264,9]]},"430":{"position":[[303,9]]},"503":{"position":[[150,9]]},"542":{"position":[[182,9]]},"582":{"position":[[237,10]]},"617":{"position":[[2056,9]]},"778":{"position":[[461,9]]},"886":{"position":[[4726,9]]},"1052":{"position":[[164,10]]},"1072":{"position":[[567,9]]},"1198":{"position":[[1809,9]]}},"keywords":{}}],["necessary.vers",{"_index":4778,"title":{},"content":{"836":{"position":[[2019,17]]}},"keywords":{}}],["necessit",{"_index":948,"title":{},"content":{"66":{"position":[[597,13]]}},"keywords":{}}],["nedb",{"_index":502,"title":{"32":{"position":[[0,5]]}},"content":{"32":{"position":[[1,4],[284,4]]}},"keywords":{}}],["need",{"_index":44,"title":{"574":{"position":[[21,4]]},"784":{"position":[[14,4]]},"785":{"position":[[14,4]]},"1312":{"position":[[20,4]]}},"content":{"2":{"position":[[248,4]]},"6":{"position":[[407,4]]},"7":{"position":[[109,4]]},"8":{"position":[[423,4]]},"10":{"position":[[181,4]]},"11":{"position":[[1000,5]]},"18":{"position":[[148,6]]},"34":{"position":[[323,4]]},"35":{"position":[[568,6]]},"40":{"position":[[592,4]]},"46":{"position":[[40,5],[326,4]]},"47":{"position":[[400,4]]},"59":{"position":[[19,6]]},"65":{"position":[[322,4]]},"70":{"position":[[144,5]]},"72":{"position":[[151,6]]},"92":{"position":[[109,4]]},"96":{"position":[[72,4]]},"103":{"position":[[145,4]]},"122":{"position":[[329,4]]},"128":{"position":[[49,4]]},"129":{"position":[[267,4]]},"131":{"position":[[872,4]]},"133":{"position":[[323,4]]},"143":{"position":[[123,4],[300,7]]},"147":{"position":[[328,6]]},"159":{"position":[[271,4]]},"172":{"position":[[238,4]]},"173":{"position":[[772,4],[1703,4]]},"183":{"position":[[96,4]]},"188":{"position":[[1978,4]]},"212":{"position":[[33,4],[403,7],[553,4]]},"217":{"position":[[139,4]]},"219":{"position":[[228,4]]},"224":{"position":[[254,4]]},"233":{"position":[[205,4]]},"261":{"position":[[161,4],[1139,4]]},"262":{"position":[[32,4],[310,4]]},"266":{"position":[[420,6]]},"270":{"position":[[111,4]]},"271":{"position":[[69,5]]},"282":{"position":[[417,4]]},"285":{"position":[[273,6]]},"289":{"position":[[1765,4]]},"295":{"position":[[375,6]]},"298":{"position":[[10,4],[921,5]]},"303":{"position":[[39,4],[1111,4]]},"305":{"position":[[259,8]]},"306":{"position":[[120,4]]},"309":{"position":[[205,7]]},"314":{"position":[[131,4],[626,4],[954,4]]},"320":{"position":[[312,4]]},"321":{"position":[[47,4]]},"326":{"position":[[238,4]]},"346":{"position":[[97,6],[880,7]]},"353":{"position":[[582,7]]},"354":{"position":[[576,5]]},"357":{"position":[[541,5]]},"358":{"position":[[758,4],[806,4]]},"369":{"position":[[808,4],[865,6]]},"375":{"position":[[515,4]]},"378":{"position":[[83,5]]},"383":{"position":[[102,7],[520,6]]},"388":{"position":[[518,5]]},"391":{"position":[[62,4]]},"392":{"position":[[1133,4],[1323,4],[1813,4]]},"395":{"position":[[38,4]]},"400":{"position":[[234,4],[679,4]]},"410":{"position":[[319,4],[1195,5],[1690,4],[2191,4]]},"411":{"position":[[1088,4],[2201,4],[2614,4]]},"412":{"position":[[2587,5],[3233,4],[4012,4],[6288,5],[6609,4],[7146,4],[7305,5],[7440,4],[7508,6],[8243,5],[9447,4],[10068,4],[10108,4],[10774,7],[11318,4],[11612,4],[12258,4],[12660,4],[14353,4],[14616,7],[14719,5]]},"418":{"position":[[376,6]]},"432":{"position":[[75,6]]},"436":{"position":[[283,6]]},"441":{"position":[[275,5]]},"444":{"position":[[297,4]]},"445":{"position":[[2309,4]]},"451":{"position":[[250,4],[348,4]]},"463":{"position":[[395,5],[446,5]]},"468":{"position":[[245,4]]},"483":{"position":[[1003,4]]},"490":{"position":[[275,4],[636,6]]},"491":{"position":[[78,4],[894,5]]},"496":{"position":[[541,4]]},"497":{"position":[[181,4]]},"504":{"position":[[24,5],[509,5]]},"515":{"position":[[300,4]]},"518":{"position":[[318,4]]},"534":{"position":[[388,4]]},"542":{"position":[[1008,7]]},"551":{"position":[[383,4]]},"553":{"position":[[47,5]]},"555":{"position":[[933,4]]},"556":{"position":[[564,4]]},"559":{"position":[[1353,4]]},"560":{"position":[[155,6]]},"565":{"position":[[8,4]]},"566":{"position":[[1040,6]]},"567":{"position":[[1133,6]]},"569":{"position":[[1534,4]]},"570":{"position":[[611,4]]},"574":{"position":[[834,5]]},"590":{"position":[[566,4],[634,5]]},"594":{"position":[[386,4]]},"612":{"position":[[298,5]]},"614":{"position":[[202,4],[866,4]]},"618":{"position":[[751,4]]},"632":{"position":[[395,7],[1407,6]]},"634":{"position":[[223,4]]},"643":{"position":[[244,7]]},"650":{"position":[[70,4]]},"659":{"position":[[741,5]]},"660":{"position":[[340,5]]},"662":{"position":[[340,4]]},"669":{"position":[[8,4]]},"670":{"position":[[27,4]]},"679":{"position":[[76,4]]},"680":{"position":[[29,4]]},"689":{"position":[[511,5]]},"696":{"position":[[114,4],[196,4]]},"698":{"position":[[239,4],[2624,4]]},"701":{"position":[[225,4]]},"703":{"position":[[877,6],[1333,4]]},"705":{"position":[[968,4]]},"711":{"position":[[771,4]]},"714":{"position":[[868,4]]},"716":{"position":[[194,4]]},"721":{"position":[[276,4]]},"723":{"position":[[548,4],[1790,4],[2655,4]]},"727":{"position":[[10,4]]},"728":{"position":[[203,4]]},"731":{"position":[[8,4]]},"749":{"position":[[254,4],[7330,5],[17790,5],[19352,5],[19472,5]]},"752":{"position":[[637,6],[650,6]]},"781":{"position":[[353,5]]},"799":{"position":[[51,6],[287,4]]},"835":{"position":[[846,5]]},"836":{"position":[[2349,7]]},"838":{"position":[[369,4]]},"839":{"position":[[603,4],[696,6]]},"841":{"position":[[858,6],[1158,6],[1271,6]]},"848":{"position":[[33,4]]},"855":{"position":[[60,6]]},"856":{"position":[[119,6]]},"858":{"position":[[11,4]]},"861":{"position":[[215,7],[1647,5],[1826,4]]},"866":{"position":[[559,4]]},"867":{"position":[[60,6]]},"872":{"position":[[213,4],[347,4]]},"875":{"position":[[1326,4],[6622,4]]},"882":{"position":[[107,4]]},"885":{"position":[[285,4],[478,4]]},"886":{"position":[[56,4],[2112,4],[3270,4]]},"898":{"position":[[1811,4]]},"904":{"position":[[2284,4],[2815,4],[2956,4]]},"906":{"position":[[732,6]]},"934":{"position":[[39,4],[121,5]]},"965":{"position":[[187,6]]},"968":{"position":[[85,4]]},"986":{"position":[[415,6]]},"988":{"position":[[2311,6],[3413,6],[4786,4]]},"989":{"position":[[335,4]]},"1002":{"position":[[844,4]]},"1007":{"position":[[825,5]]},"1008":{"position":[[287,4]]},"1009":{"position":[[143,5],[1092,5]]},"1022":{"position":[[272,4]]},"1059":{"position":[[94,4]]},"1067":{"position":[[15,4],[79,4]]},"1068":{"position":[[474,4]]},"1072":{"position":[[269,4],[468,4],[1108,4],[1422,7]]},"1079":{"position":[[414,6]]},"1100":{"position":[[432,5]]},"1105":{"position":[[1125,4]]},"1107":{"position":[[226,4],[996,4]]},"1108":{"position":[[284,4]]},"1132":{"position":[[697,5]]},"1133":{"position":[[352,4],[549,4]]},"1135":{"position":[[367,4]]},"1141":{"position":[[78,4]]},"1147":{"position":[[412,5]]},"1150":{"position":[[240,4]]},"1157":{"position":[[499,4]]},"1164":{"position":[[412,6]]},"1237":{"position":[[39,5]]},"1246":{"position":[[1894,5]]},"1251":{"position":[[39,4]]},"1274":{"position":[[554,4]]},"1279":{"position":[[941,4]]},"1281":{"position":[[8,4]]},"1294":{"position":[[394,5],[452,4],[655,4],[2012,7]]},"1296":{"position":[[410,4]]},"1299":{"position":[[73,4]]},"1316":{"position":[[1823,4]]},"1317":{"position":[[370,4]]},"1323":{"position":[[160,4]]}},"keywords":{}}],["need.perform",{"_index":1559,"title":{},"content":{"252":{"position":[[182,12]]}},"keywords":{}}],["needs—especi",{"_index":3434,"title":{},"content":{"564":{"position":[[35,16]]}},"keywords":{}}],["neg",{"_index":4404,"title":{},"content":{"749":{"position":[[21131,8],[21602,10]]}},"keywords":{}}],["neighbor",{"_index":2210,"title":{},"content":{"390":{"position":[[1605,10]]},"396":{"position":[[240,8],[640,8]]}},"keywords":{}}],["neighboringchunkids.foreach(startchunkrepl",{"_index":5577,"title":{},"content":{"1007":{"position":[[2100,51]]}},"keywords":{}}],["neighboringchunkids.includes(cid",{"_index":5579,"title":{},"content":{"1007":{"position":[[2207,36]]}},"keywords":{}}],["ness",{"_index":5413,"title":{},"content":{"975":{"position":[[126,4]]}},"keywords":{}}],["nest",{"_index":1986,"title":{"812":{"position":[[13,6]]}},"content":{"350":{"position":[[68,6]]},"352":{"position":[[44,6],[301,6]]},"353":{"position":[[320,6]]},"354":{"position":[[93,6]]},"356":{"position":[[299,6],[809,6]]},"362":{"position":[[84,6]]},"364":{"position":[[534,6],[664,6]]},"369":{"position":[[386,6]]},"561":{"position":[[44,6]]},"749":{"position":[[15232,7]]},"765":{"position":[[62,6]]},"811":{"position":[[153,6]]},"861":{"position":[[1427,6],[1507,6]]},"1040":{"position":[[218,6]]},"1116":{"position":[[182,6],[455,6],[565,6]]}},"keywords":{}}],["nestedvalu",{"_index":5678,"title":{},"content":{"1040":{"position":[[237,11]]}},"keywords":{}}],["netscap",{"_index":2951,"title":{},"content":{"450":{"position":[[34,8]]}},"keywords":{}}],["network",{"_index":392,"title":{},"content":{"23":{"position":[[401,7]]},"40":{"position":[[388,10]]},"65":{"position":[[1121,7]]},"122":{"position":[[241,7],[380,7]]},"133":{"position":[[235,7],[373,7]]},"147":{"position":[[144,7]]},"152":{"position":[[369,7]]},"173":{"position":[[790,7]]},"183":{"position":[[343,7]]},"206":{"position":[[325,7]]},"216":{"position":[[135,7]]},"236":{"position":[[260,7]]},"251":{"position":[[120,7]]},"273":{"position":[[208,7]]},"280":{"position":[[502,7]]},"289":{"position":[[225,7],[1841,7],[2016,7]]},"309":{"position":[[121,9],[254,7]]},"311":{"position":[[245,7]]},"316":{"position":[[530,7]]},"323":{"position":[[227,7]]},"327":{"position":[[182,7]]},"346":{"position":[[601,7]]},"376":{"position":[[185,7]]},"407":{"position":[[153,8],[420,7]]},"408":{"position":[[2891,7]]},"410":{"position":[[1242,8]]},"414":{"position":[[146,7],[334,7]]},"415":{"position":[[319,7],[400,7]]},"419":{"position":[[287,8],[899,7]]},"421":{"position":[[589,7]]},"434":{"position":[[308,7]]},"444":{"position":[[267,7]]},"445":{"position":[[620,7]]},"462":{"position":[[551,7]]},"473":{"position":[[123,7]]},"486":{"position":[[93,7],[363,7]]},"491":{"position":[[329,7],[1011,9]]},"498":{"position":[[653,7]]},"500":{"position":[[497,7]]},"502":{"position":[[568,7]]},"556":{"position":[[1579,7]]},"584":{"position":[[110,7]]},"590":{"position":[[764,7]]},"610":{"position":[[702,7]]},"613":{"position":[[425,11]]},"630":{"position":[[108,7]]},"631":{"position":[[493,7]]},"632":{"position":[[716,9],[2812,7]]},"696":{"position":[[710,7]]},"705":{"position":[[1335,7]]},"860":{"position":[[426,7]]},"902":{"position":[[740,8]]},"904":{"position":[[3347,8]]},"1007":{"position":[[1121,7]]},"1009":{"position":[[635,7]]},"1304":{"position":[[850,7]]}},"keywords":{}}],["network.easi",{"_index":3292,"title":{},"content":{"534":{"position":[[414,14]]},"594":{"position":[[412,14]]}},"keywords":{}}],["never",{"_index":361,"title":{},"content":{"21":{"position":[[182,5]]},"253":{"position":[[206,5]]},"292":{"position":[[17,5]]},"455":{"position":[[754,5]]},"461":{"position":[[232,5]]},"491":{"position":[[984,5]]},"569":{"position":[[431,5],[1073,5],[1432,5]]},"571":{"position":[[1816,5]]},"670":{"position":[[268,5]]},"699":{"position":[[943,5]]},"749":{"position":[[6124,5],[24388,5]]},"816":{"position":[[144,5],[325,5]]},"817":{"position":[[197,5]]},"829":{"position":[[367,5]]},"855":{"position":[[22,5]]},"867":{"position":[[22,5]]},"898":{"position":[[2898,5]]},"935":{"position":[[157,5]]},"986":{"position":[[349,5]]},"991":{"position":[[38,5]]},"994":{"position":[[183,5]]},"995":{"position":[[1155,5]]},"1031":{"position":[[24,5],[283,5]]},"1033":{"position":[[123,5],[929,5]]},"1198":{"position":[[717,5]]},"1207":{"position":[[195,5]]},"1231":{"position":[[358,5]]},"1301":{"position":[[1019,5]]},"1321":{"position":[[86,5]]}},"keywords":{}}],["new",{"_index":162,"title":{},"content":{"11":{"position":[[585,3]]},"38":{"position":[[1099,3]]},"41":{"position":[[43,3]]},"50":{"position":[[124,3]]},"255":{"position":[[107,3]]},"260":{"position":[[326,3]]},"261":{"position":[[1043,3]]},"329":{"position":[[123,3]]},"335":{"position":[[572,3],[900,3]]},"351":{"position":[[265,3],[306,3]]},"360":{"position":[[866,3]]},"392":{"position":[[3857,3],[3921,3],[4254,3]]},"394":{"position":[[606,4]]},"397":{"position":[[2038,3]]},"398":{"position":[[800,3],[848,3],[2068,3],[2134,3]]},"403":{"position":[[685,3],[879,3]]},"408":{"position":[[49,3],[1400,3],[1487,3],[1516,3]]},"410":{"position":[[2100,3]]},"412":{"position":[[11082,3]]},"414":{"position":[[120,3]]},"420":{"position":[[561,3]]},"421":{"position":[[84,3]]},"430":{"position":[[1065,3],[1078,3]]},"453":{"position":[[55,3]]},"459":{"position":[[842,3]]},"463":{"position":[[819,3]]},"494":{"position":[[616,3]]},"498":{"position":[[124,3]]},"501":{"position":[[429,3]]},"556":{"position":[[488,3]]},"571":{"position":[[242,3],[839,3],[1083,3]]},"610":{"position":[[388,3],[431,3],[589,3],[1102,3]]},"611":{"position":[[642,3]]},"612":{"position":[[237,4],[1152,3],[2270,3]]},"618":{"position":[[698,3]]},"620":{"position":[[522,3],[555,3]]},"621":{"position":[[421,3],[628,3]]},"624":{"position":[[557,4],[1474,3]]},"632":{"position":[[157,3],[975,3]]},"634":{"position":[[368,3]]},"636":{"position":[[26,3]]},"653":{"position":[[869,3]]},"661":{"position":[[1101,3]]},"662":{"position":[[1820,3]]},"674":{"position":[[154,3]]},"686":{"position":[[275,3]]},"696":{"position":[[217,3]]},"698":{"position":[[279,3],[1321,3],[2736,3],[2791,3],[2859,3],[2926,3]]},"702":{"position":[[101,3],[393,3],[786,3]]},"711":{"position":[[1149,3],[1552,3]]},"719":{"position":[[286,3]]},"737":{"position":[[461,3]]},"739":{"position":[[718,3]]},"751":{"position":[[352,4],[649,3],[892,3],[1074,3],[1126,3],[1751,3],[1905,3]]},"754":{"position":[[363,3],[715,3]]},"759":{"position":[[328,3],[582,3],[1050,3],[1209,3],[1336,3]]},"760":{"position":[[578,3]]},"767":{"position":[[48,3],[558,3],[693,3],[967,3]]},"768":{"position":[[560,3],[703,3],[969,3]]},"769":{"position":[[517,3],[664,3],[938,3]]},"772":{"position":[[2474,3]]},"778":{"position":[[560,3]]},"837":{"position":[[2105,3]]},"839":{"position":[[1119,3]]},"848":{"position":[[946,3]]},"862":{"position":[[971,3]]},"866":{"position":[[310,3]]},"868":{"position":[[75,3]]},"872":{"position":[[904,3]]},"875":{"position":[[888,3],[1845,3],[1948,3],[4019,3],[4423,3],[8093,3],[8128,3],[9512,3],[9547,3]]},"879":{"position":[[119,3]]},"885":{"position":[[398,3]]},"897":{"position":[[279,3]]},"898":{"position":[[140,3]]},"902":{"position":[[174,3]]},"904":{"position":[[1236,3]]},"905":{"position":[[115,3]]},"910":{"position":[[239,3]]},"917":{"position":[[64,3]]},"942":{"position":[[20,3],[153,3]]},"943":{"position":[[53,3]]},"946":{"position":[[110,3]]},"982":{"position":[[93,3],[169,3],[456,3],[568,3]]},"986":{"position":[[1243,5]]},"987":{"position":[[602,3]]},"988":{"position":[[5085,3],[5215,3],[5298,3]]},"1004":{"position":[[732,3]]},"1007":{"position":[[908,3]]},"1009":{"position":[[188,3],[532,3]]},"1014":{"position":[[155,3]]},"1022":{"position":[[718,3]]},"1023":{"position":[[369,3]]},"1042":{"position":[[92,3]]},"1048":{"position":[[471,3]]},"1058":{"position":[[527,3]]},"1069":{"position":[[318,3],[522,3]]},"1085":{"position":[[122,3],[3041,3],[3413,3],[3671,3],[3753,3],[3794,3]]},"1109":{"position":[[316,3]]},"1115":{"position":[[147,4]]},"1148":{"position":[[811,3]]},"1150":{"position":[[560,3]]},"1172":{"position":[[381,3]]},"1174":{"position":[[644,3]]},"1177":{"position":[[497,3]]},"1208":{"position":[[879,3],[1165,3],[1323,3],[1433,3],[1538,3],[1694,3]]},"1209":{"position":[[241,3]]},"1218":{"position":[[487,3],[835,3]]},"1229":{"position":[[90,3]]},"1242":{"position":[[155,3]]},"1266":{"position":[[985,4]]},"1268":{"position":[[90,3],[167,3],[477,3]]},"1279":{"position":[[642,3]]},"1294":{"position":[[21,3],[1136,3]]},"1300":{"position":[[421,3],[732,3],[985,3]]},"1304":{"position":[[385,3]]},"1305":{"position":[[772,3]]},"1308":{"position":[[565,4]]},"1316":{"position":[[1631,3],[1730,3],[3136,3]]},"1318":{"position":[[440,3],[504,3],[608,3],[890,3],[1092,3]]},"1319":{"position":[[337,3]]}},"keywords":{}}],["new/upd",{"_index":1355,"title":{},"content":{"209":{"position":[[1045,11]]}},"keywords":{}}],["newcheckpoint",{"_index":4999,"title":{},"content":{"875":{"position":[[2622,13],[2862,13]]}},"keywords":{}}],["newcont",{"_index":3466,"title":{},"content":{"571":{"position":[[1108,10],[1236,11]]}},"keywords":{}}],["newcustomfetchmethod",{"_index":4841,"title":{},"content":{"848":{"position":[[1030,21]]}},"keywords":{}}],["newdocumentst",{"_index":5014,"title":{},"content":{"875":{"position":[[3824,16]]},"885":{"position":[[996,17]]},"1309":{"position":[[1157,16]]}},"keywords":{}}],["newer",{"_index":827,"title":{},"content":{"55":{"position":[[23,5]]},"59":{"position":[[83,5]]},"408":{"position":[[5026,5]]},"420":{"position":[[161,5]]},"546":{"position":[[138,5]]},"563":{"position":[[89,5]]},"606":{"position":[[138,5]]},"696":{"position":[[1890,5]]},"749":{"position":[[12596,5]]},"761":{"position":[[445,6]]},"773":{"position":[[710,5]]},"885":{"position":[[64,5],[1966,5]]},"932":{"position":[[661,5]]},"984":{"position":[[605,5]]},"986":{"position":[[1367,5]]},"1002":{"position":[[223,5],[479,5],[1132,5]]},"1162":{"position":[[1090,5]]},"1275":{"position":[[29,6]]},"1278":{"position":[[145,5]]},"1282":{"position":[[415,6]]}},"keywords":{}}],["newest",{"_index":4820,"title":{},"content":{"844":{"position":[[241,6]]},"1046":{"position":[[63,6]]}},"keywords":{}}],["newfetchmethod",{"_index":4825,"title":{},"content":{"846":{"position":[[577,17]]}},"keywords":{}}],["newforkst",{"_index":5442,"title":{},"content":{"983":{"position":[[535,12]]}},"keywords":{}}],["newhero",{"_index":3500,"title":{},"content":{"580":{"position":[[697,10]]},"601":{"position":[[685,10]]}},"keywords":{}}],["newli",{"_index":1337,"title":{},"content":{"208":{"position":[[152,5]]},"939":{"position":[[105,5]]},"943":{"position":[[308,5]]},"955":{"position":[[244,5]]}},"keywords":{}}],["newnam",{"_index":1425,"title":{},"content":{"235":{"position":[[346,10]]},"571":{"position":[[1381,10]]},"1039":{"position":[[256,8],[430,8]]},"1040":{"position":[[389,10]]}},"keywords":{}}],["next",{"_index":648,"title":{"824":{"position":[[0,4]]}},"content":{"41":{"position":[[56,4]]},"114":{"position":[[696,4]]},"263":{"position":[[538,4]]},"388":{"position":[[37,4]]},"393":{"position":[[61,4]]},"412":{"position":[[11386,4]]},"464":{"position":[[1,4]]},"466":{"position":[[4,4]]},"498":{"position":[[73,4]]},"700":{"position":[[936,4]]},"703":{"position":[[1572,4]]},"752":{"position":[[952,5]]},"965":{"position":[[390,4]]},"988":{"position":[[4219,4]]},"1008":{"position":[[154,4]]},"1198":{"position":[[2164,4]]},"1294":{"position":[[741,4]]}},"keywords":{}}],["next.j",{"_index":2924,"title":{},"content":{"438":{"position":[[180,8]]}},"keywords":{}}],["nextjs/vercel",{"_index":595,"title":{},"content":{"38":{"position":[[698,13]]}},"keywords":{}}],["nexttick",{"_index":5269,"title":{},"content":{"910":{"position":[[397,9]]}},"keywords":{}}],["ngfor="let",{"_index":821,"title":{},"content":{"54":{"position":[[222,16]]},"55":{"position":[[1144,16]]},"130":{"position":[[567,16]]},"493":{"position":[[231,16]]},"825":{"position":[[798,16]]}},"keywords":{}}],["ngif="(mycollection.find",{"_index":3175,"title":{},"content":{"493":{"position":[[162,34]]}},"keywords":{}}],["nginx",{"_index":3681,"title":{},"content":{"624":{"position":[[1123,5]]},"849":{"position":[[737,5]]},"1088":{"position":[[758,5]]}},"keywords":{}}],["ngrx",{"_index":1018,"title":{},"content":{"96":{"position":[[134,5]]},"173":{"position":[[3095,5]]},"219":{"position":[[99,5]]}},"keywords":{}}],["ngzone",{"_index":756,"title":{},"content":{"50":{"position":[[447,6]]}},"keywords":{}}],["nich",{"_index":3626,"title":{},"content":{"614":{"position":[[738,5]]}},"keywords":{}}],["night",{"_index":3956,"title":{},"content":{"700":{"position":[[895,5]]}},"keywords":{}}],["nobodi",{"_index":2846,"title":{},"content":{"421":{"position":[[153,6]]}},"keywords":{}}],["node",{"_index":94,"title":{"7":{"position":[[0,4]]},"438":{"position":[[0,4]]},"1127":{"position":[[11,4]]},"1245":{"position":[[14,5]]}},"content":{"7":{"position":[[23,4],[241,4],[300,4]]},"8":{"position":[[635,4]]},"396":{"position":[[485,6],[733,6]]},"412":{"position":[[14668,5]]},"438":{"position":[[155,4],[193,4]]},"666":{"position":[[370,5]]},"773":{"position":[[864,4]]},"793":{"position":[[273,4]]},"861":{"position":[[1098,4]]},"911":{"position":[[297,4],[410,4],[541,5]]},"1090":{"position":[[661,6]]},"1130":{"position":[[126,6]]},"1133":{"position":[[121,4],[521,4]]},"1214":{"position":[[511,4]]},"1245":{"position":[[16,4]]}},"keywords":{}}],["node.j",{"_index":504,"title":{"370":{"position":[[8,8]]},"438":{"position":[[22,8]]},"672":{"position":[[11,8]]},"771":{"position":[[0,7]]},"773":{"position":[[8,7]]},"911":{"position":[[41,8]]},"1159":{"position":[[44,8]]}},"content":{"32":{"position":[[58,8]]},"201":{"position":[[167,8]]},"248":{"position":[[57,8]]},"249":{"position":[[115,9]]},"254":{"position":[[211,8],[342,8]]},"261":{"position":[[629,7]]},"325":{"position":[[74,8]]},"359":{"position":[[115,8]]},"365":{"position":[[666,7],[974,7]]},"370":{"position":[[1,7],[93,7]]},"438":{"position":[[46,7],[144,7],[306,7]]},"569":{"position":[[1328,8]]},"575":{"position":[[186,8]]},"612":{"position":[[1726,7]]},"613":{"position":[[811,8]]},"624":{"position":[[422,7],[973,7]]},"631":{"position":[[215,7]]},"640":{"position":[[568,8]]},"707":{"position":[[93,7]]},"709":{"position":[[1355,7]]},"710":{"position":[[698,7]]},"711":{"position":[[746,7]]},"729":{"position":[[190,7]]},"772":{"position":[[178,8]]},"773":{"position":[[39,7],[145,7],[678,7],[836,7]]},"774":{"position":[[1020,7]]},"775":{"position":[[37,7],[103,7]]},"776":{"position":[[337,7]]},"793":{"position":[[281,9],[347,8]]},"799":{"position":[[368,7]]},"821":{"position":[[466,7]]},"871":{"position":[[588,7]]},"872":{"position":[[107,7]]},"875":{"position":[[617,7]]},"896":{"position":[[334,7]]},"904":{"position":[[2803,8],[2848,7],[2944,8],[2994,7]]},"911":{"position":[[85,7]]},"962":{"position":[[555,8],[870,8]]},"964":{"position":[[435,7]]},"989":{"position":[[113,7]]},"1088":{"position":[[332,8]]},"1094":{"position":[[104,8]]},"1095":{"position":[[288,7]]},"1124":{"position":[[429,8]]},"1135":{"position":[[115,7]]},"1139":{"position":[[1,7],[71,8]]},"1145":{"position":[[1,7],[67,8]]},"1159":{"position":[[96,7]]},"1188":{"position":[[10,7]]},"1214":{"position":[[120,8],[226,7],[368,7]]},"1219":{"position":[[127,7]]},"1245":{"position":[[67,7]]},"1246":{"position":[[158,9]]},"1247":{"position":[[75,8]]},"1270":{"position":[[54,7]]},"1274":{"position":[[146,8],[468,7]]},"1275":{"position":[[6,7],[109,8]]},"1279":{"position":[[855,7]]}},"keywords":{}}],["node.js.appwrit",{"_index":4913,"title":{},"content":{"863":{"position":[[303,16]]}},"keywords":{}}],["node/n",{"_index":6170,"title":{"1196":{"position":[[0,11]]}},"content":{},"keywords":{}}],["node:sqlit",{"_index":6333,"title":{"1275":{"position":[[15,11]]}},"content":{"1271":{"position":[[1390,14]]},"1272":{"position":[[512,11]]},"1275":{"position":[[290,14]]}},"keywords":{}}],["node_modul",{"_index":6230,"title":{},"content":{"1210":{"position":[[613,12]]},"1266":{"position":[[769,17]]}},"keywords":{}}],["node_modules/.bin/electron",{"_index":3995,"title":{},"content":{"711":{"position":[[976,28]]}},"keywords":{}}],["node_modules/rxdb",{"_index":6232,"title":{},"content":{"1210":{"position":[[650,18]]},"1227":{"position":[[231,17],[812,17]]},"1265":{"position":[[224,17]]}},"keywords":{}}],["node_modules/rxdb/dist/work",{"_index":6303,"title":{},"content":{"1265":{"position":[[794,30]]}},"keywords":{}}],["nodedatachannelpolyfil",{"_index":5275,"title":{},"content":{"911":{"position":[[512,23],[772,24]]}},"keywords":{}}],["nodeintegr",{"_index":3926,"title":{},"content":{"693":{"position":[[656,15]]}},"keywords":{}}],["nodej",{"_index":81,"title":{},"content":{"5":{"position":[[388,6]]},"6":{"position":[[189,6]]},"7":{"position":[[163,6]]},"666":{"position":[[82,6]]},"743":{"position":[[203,6]]},"773":{"position":[[288,6]]},"776":{"position":[[20,6]]},"1173":{"position":[[133,6]]},"1202":{"position":[[230,6]]},"1271":{"position":[[1259,6]]}},"keywords":{}}],["noisi",{"_index":4117,"title":{},"content":{"746":{"position":[[182,6]]}},"keywords":{}}],["non",{"_index":516,"title":{"245":{"position":[[0,3]]},"1084":{"position":[[0,3]]},"1126":{"position":[[6,3]]},"1151":{"position":[[14,3]]},"1178":{"position":[[14,3]]}},"content":{"33":{"position":[[208,3]]},"38":{"position":[[939,3]]},"402":{"position":[[876,3]]},"412":{"position":[[1413,3]]},"419":{"position":[[1261,3]]},"427":{"position":[[112,3],[199,3]]},"496":{"position":[[130,3]]},"555":{"position":[[428,3],[738,3]]},"619":{"position":[[219,3]]},"661":{"position":[[342,3]]},"668":{"position":[[233,3]]},"687":{"position":[[304,3]]},"714":{"position":[[1078,3]]},"749":{"position":[[9862,3],[9976,3],[11175,3],[11970,3],[23009,3]]},"829":{"position":[[205,3]]},"840":{"position":[[251,3]]},"857":{"position":[[486,3]]},"875":{"position":[[1987,3]]},"881":{"position":[[56,3]]},"887":{"position":[[18,3],[495,3]]},"988":{"position":[[2020,3]]},"1000":{"position":[[62,3]]},"1004":{"position":[[384,3]]},"1044":{"position":[[31,3]]},"1067":{"position":[[1808,3],[2229,3]]},"1068":{"position":[[10,3]]},"1102":{"position":[[85,3]]},"1126":{"position":[[637,3]]},"1137":{"position":[[74,3]]},"1143":{"position":[[457,3]]},"1180":{"position":[[382,3]]},"1188":{"position":[[131,3],[273,3]]},"1196":{"position":[[126,3]]},"1244":{"position":[[103,3]]},"1278":{"position":[[681,3]]}},"keywords":{}}],["nondonetask",{"_index":6102,"title":{},"content":{"1158":{"position":[[661,12]]}},"keywords":{}}],["none",{"_index":3442,"title":{},"content":{"566":{"position":[[434,5],[469,4],[1060,5],[1080,4]]},"749":{"position":[[515,4]]},"841":{"position":[[502,4],[715,4],[720,4],[1130,4]]}},"keywords":{}}],["norm.classif",{"_index":2205,"title":{},"content":{"390":{"position":[[1527,20]]}},"keywords":{}}],["normal",{"_index":223,"title":{},"content":{"14":{"position":[[722,8]]},"315":{"position":[[1136,6]]},"352":{"position":[[198,11]]},"356":{"position":[[770,6]]},"391":{"position":[[699,10]]},"421":{"position":[[129,6]]},"469":{"position":[[402,6]]},"554":{"position":[[858,6]]},"610":{"position":[[183,6],[1178,6]]},"626":{"position":[[716,6]]},"685":{"position":[[67,8],[300,8]]},"702":{"position":[[241,8]]},"714":{"position":[[184,7],[1135,7]]},"717":{"position":[[728,6]]},"718":{"position":[[301,6]]},"778":{"position":[[4,8]]},"782":{"position":[[4,6]]},"784":{"position":[[4,6]]},"818":{"position":[[33,6]]},"862":{"position":[[1706,6]]},"872":{"position":[[2808,6]]},"875":{"position":[[6543,6]]},"892":{"position":[[145,6]]},"898":{"position":[[1590,6],[4624,6]]},"1018":{"position":[[34,6]]},"1044":{"position":[[10,6]]},"1055":{"position":[[97,6]]},"1067":{"position":[[201,6],[655,6],[1029,6],[1695,6]]},"1107":{"position":[[1,6]]},"1162":{"position":[[381,8]]},"1181":{"position":[[468,8]]},"1184":{"position":[[1,8]]},"1227":{"position":[[516,6]]},"1231":{"position":[[935,6]]},"1246":{"position":[[1752,6]]},"1265":{"position":[[510,6]]},"1295":{"position":[[26,8]]},"1296":{"position":[[972,6],[1331,6],[1825,6]]},"1301":{"position":[[52,8]]},"1316":{"position":[[2070,6]]}},"keywords":{}}],["normalfield",{"_index":3351,"title":{},"content":{"554":{"position":[[1426,12],[1511,14]]},"555":{"position":[[316,12],[510,12]]},"556":{"position":[[852,12]]}},"keywords":{}}],["nosql",{"_index":414,"title":{"73":{"position":[[0,5]]},"74":{"position":[[0,5]]},"104":{"position":[[0,5]]},"105":{"position":[[0,5]]},"231":{"position":[[0,5]]},"264":{"position":[[18,5]]},"276":{"position":[[0,5]]},"278":{"position":[[4,5]]},"281":{"position":[[0,5]]},"282":{"position":[[29,5]]},"309":{"position":[[17,5]]},"348":{"position":[[26,5]]},"349":{"position":[[39,6]]},"353":{"position":[[3,5]]},"794":{"position":[[36,5]]},"1253":{"position":[[19,8]]},"1312":{"position":[[25,5]]},"1315":{"position":[[22,6]]},"1320":{"position":[[32,6]]},"1323":{"position":[[19,6]]}},"content":{"25":{"position":[[52,5],[181,5]]},"41":{"position":[[153,5]]},"73":{"position":[[1,5]]},"104":{"position":[[15,5],[158,5]]},"105":{"position":[[61,5]]},"118":{"position":[[124,5]]},"126":{"position":[[237,5]]},"174":{"position":[[479,5],[640,5],[747,5]]},"179":{"position":[[20,5]]},"202":{"position":[[242,5]]},"231":{"position":[[15,5],[188,5]]},"244":{"position":[[542,5]]},"252":{"position":[[117,5]]},"265":{"position":[[57,5]]},"267":{"position":[[1160,5]]},"271":{"position":[[104,5]]},"273":{"position":[[24,5]]},"276":{"position":[[8,5],[264,5]]},"278":{"position":[[90,5],[207,5]]},"279":{"position":[[1,5]]},"280":{"position":[[104,5]]},"281":{"position":[[116,5],[272,5]]},"282":{"position":[[110,5],[197,5]]},"289":{"position":[[614,5],[1037,5]]},"313":{"position":[[18,5]]},"317":{"position":[[145,5]]},"325":{"position":[[23,5]]},"350":{"position":[[127,5]]},"351":{"position":[[140,5]]},"353":{"position":[[151,5]]},"354":{"position":[[1,5],[861,5],[1013,5],[1166,5],[1632,5]]},"359":{"position":[[6,5]]},"361":{"position":[[218,5]]},"362":{"position":[[43,5]]},"370":{"position":[[146,5]]},"378":{"position":[[47,5]]},"392":{"position":[[1197,5]]},"412":{"position":[[14481,5],[14818,5]]},"479":{"position":[[31,5]]},"501":{"position":[[109,5]]},"502":{"position":[[42,5]]},"504":{"position":[[1158,5]]},"561":{"position":[[242,5]]},"566":{"position":[[152,5]]},"575":{"position":[[77,5]]},"631":{"position":[[28,5],[318,5]]},"662":{"position":[[27,5]]},"678":{"position":[[43,5]]},"686":{"position":[[197,5],[310,5],[505,5]]},"705":{"position":[[233,6],[548,5],[615,5]]},"710":{"position":[[13,5]]},"772":{"position":[[315,5]]},"793":{"position":[[1298,5]]},"801":{"position":[[125,5]]},"802":{"position":[[54,5]]},"837":{"position":[[27,5]]},"838":{"position":[[27,5]]},"841":{"position":[[151,5],[183,5],[235,5]]},"903":{"position":[[586,5]]},"1071":{"position":[[17,5]]},"1102":{"position":[[1151,5]]},"1105":{"position":[[172,5],[226,5]]},"1132":{"position":[[606,5],[1275,5]]},"1247":{"position":[[402,5]]},"1253":{"position":[[12,5]]},"1313":{"position":[[999,5]]},"1315":{"position":[[139,6],[480,5],[1383,6]]},"1316":{"position":[[3098,6]]},"1317":{"position":[[79,5]]},"1318":{"position":[[6,5],[741,5]]},"1319":{"position":[[134,5]]},"1320":{"position":[[541,6]]},"1321":{"position":[[601,5]]}},"keywords":{}}],["nosql/docu",{"_index":2763,"title":{},"content":{"412":{"position":[[13478,14]]}},"keywords":{}}],["nosql—solv",{"_index":2069,"title":{},"content":{"358":{"position":[[860,11]]}},"keywords":{}}],["nosql’",{"_index":2003,"title":{},"content":{"352":{"position":[[352,7]]}},"keywords":{}}],["not"",{"_index":4919,"title":{},"content":{"863":{"position":[[733,9]]}},"keywords":{}}],["notabl",{"_index":1616,"title":{},"content":{"267":{"position":[[82,7]]},"282":{"position":[[455,7]]},"356":{"position":[[66,8]]}},"keywords":{}}],["note",{"_index":68,"title":{},"content":{"4":{"position":[[166,4]]},"9":{"position":[[36,4]]},"198":{"position":[[467,4]]},"211":{"position":[[345,6],[371,6]]},"299":{"position":[[169,5]]},"300":{"position":[[649,4]]},"314":{"position":[[613,5],[693,6],[719,6]]},"375":{"position":[[167,4]]},"388":{"position":[[428,4]]},"391":{"position":[[948,4]]},"394":{"position":[[972,4],[1301,4]]},"432":{"position":[[519,6]]},"436":{"position":[[317,4]]},"446":{"position":[[129,4]]},"555":{"position":[[701,5]]},"613":{"position":[[535,4]]},"620":{"position":[[478,4]]},"693":{"position":[[651,4]]},"759":{"position":[[1010,4]]},"770":{"position":[[533,4]]},"871":{"position":[[535,4]]},"872":{"position":[[1134,4]]},"875":{"position":[[5618,4],[7554,4]]},"886":{"position":[[4648,5],[4930,4]]},"890":{"position":[[949,4]]},"897":{"position":[[354,4]]},"927":{"position":[[46,4]]},"944":{"position":[[364,4]]},"951":{"position":[[445,4]]},"953":{"position":[[170,4]]},"1013":{"position":[[620,4]]},"1018":{"position":[[338,4]]},"1067":{"position":[[605,4]]},"1079":{"position":[[484,4]]},"1105":{"position":[[1012,4]]},"1107":{"position":[[915,4]]},"1108":{"position":[[568,4]]}},"keywords":{}}],["noteschrome/chromium",{"_index":1740,"title":{},"content":{"299":{"position":[[233,20]]}},"keywords":{}}],["noth",{"_index":3963,"title":{"704":{"position":[[0,7]]}},"content":{"702":{"position":[[427,7]]},"754":{"position":[[292,7]]},"975":{"position":[[367,7],[561,7]]},"1192":{"position":[[196,7]]},"1313":{"position":[[725,7]]},"1319":{"position":[[373,7]]}},"keywords":{}}],["notic",{"_index":2502,"title":{"743":{"position":[[0,7]]}},"content":{"404":{"position":[[322,6]]},"408":{"position":[[3229,10]]},"452":{"position":[[512,10]]},"458":{"position":[[1325,6]]},"459":{"position":[[982,6]]},"461":{"position":[[209,6],[1385,6]]},"462":{"position":[[181,6]]},"463":{"position":[[787,6]]},"464":{"position":[[439,6]]},"465":{"position":[[300,6]]},"466":{"position":[[264,6]]},"467":{"position":[[259,6]]},"571":{"position":[[297,6]]},"659":{"position":[[319,6]]},"749":{"position":[[7361,6],[21563,6]]},"756":{"position":[[342,6]]},"773":{"position":[[638,6]]},"798":{"position":[[941,6]]},"811":{"position":[[412,6]]},"836":{"position":[[705,6]]},"854":{"position":[[1486,6]]},"857":{"position":[[452,6]]},"861":{"position":[[1387,6]]},"872":{"position":[[332,6]]},"875":{"position":[[2242,6]]},"904":{"position":[[3112,6]]},"977":{"position":[[415,6]]},"979":{"position":[[93,6]]},"988":{"position":[[3256,6],[4585,6]]},"990":{"position":[[771,6]]},"1002":{"position":[[824,6]]},"1047":{"position":[[48,6]]},"1065":{"position":[[450,6]]},"1090":{"position":[[1080,6]]},"1100":{"position":[[795,6]]},"1108":{"position":[[231,6]]},"1151":{"position":[[58,6]]},"1178":{"position":[[58,6]]},"1193":{"position":[[78,6]]},"1208":{"position":[[134,6],[404,6]]},"1210":{"position":[[189,6]]},"1211":{"position":[[310,6]]},"1276":{"position":[[156,6]]},"1278":{"position":[[1,6]]}},"keywords":{}}],["notif",{"_index":1128,"title":{},"content":{"140":{"position":[[246,14]]},"168":{"position":[[337,14]]},"299":{"position":[[1375,13]]},"344":{"position":[[128,14]]},"421":{"position":[[287,14]]},"458":{"position":[[1199,12]]},"495":{"position":[[471,13]]},"529":{"position":[[221,13]]},"618":{"position":[[549,13],[642,13]]}},"keywords":{}}],["notifi",{"_index":593,"title":{},"content":{"38":{"position":[[556,6]]},"412":{"position":[[2288,8]]},"490":{"position":[[222,8]]},"496":{"position":[[549,6]]},"515":{"position":[[234,8]]},"649":{"position":[[54,8]]}},"keywords":{}}],["notion",{"_index":2798,"title":{},"content":{"419":{"position":[[146,6],[1840,6]]}},"keywords":{}}],["notori",{"_index":2722,"title":{},"content":{"412":{"position":[[7875,11]]}},"keywords":{}}],["now",{"_index":407,"title":{},"content":{"24":{"position":[[622,3]]},"36":{"position":[[300,3]]},"65":{"position":[[1,3]]},"127":{"position":[[1,3]]},"187":{"position":[[1,3]]},"393":{"position":[[1,3]]},"398":{"position":[[3452,3]]},"402":{"position":[[353,3]]},"404":{"position":[[5,3]]},"408":{"position":[[1060,3]]},"413":{"position":[[4,3]]},"421":{"position":[[550,4]]},"456":{"position":[[1,3]]},"462":{"position":[[1,3]]},"465":{"position":[[1,3]]},"467":{"position":[[1,3]]},"480":{"position":[[933,3]]},"488":{"position":[[1,3]]},"542":{"position":[[654,4]]},"563":{"position":[[764,3]]},"613":{"position":[[639,3]]},"624":{"position":[[1380,3]]},"661":{"position":[[763,3]]},"698":{"position":[[171,3]]},"704":{"position":[[120,3]]},"711":{"position":[[1078,3],[1671,3]]},"736":{"position":[[319,3]]},"737":{"position":[[331,3]]},"749":{"position":[[2634,3]]},"824":{"position":[[9,3]]},"839":{"position":[[132,3],[416,3]]},"862":{"position":[[1,3]]},"872":{"position":[[1380,3],[2144,3],[2908,3]]},"898":{"position":[[1192,5]]},"932":{"position":[[543,3]]},"954":{"position":[[183,3]]},"967":{"position":[[385,3]]},"977":{"position":[[123,3]]},"1039":{"position":[[357,3]]},"1064":{"position":[[252,3]]},"1069":{"position":[[846,3]]},"1085":{"position":[[2991,3]]},"1100":{"position":[[184,3]]},"1296":{"position":[[658,3]]},"1311":{"position":[[1,3]]},"1316":{"position":[[687,3],[1132,3]]},"1318":{"position":[[434,3],[565,3]]},"1324":{"position":[[437,4]]}},"keywords":{}}],["nowaday",{"_index":2630,"title":{},"content":{"411":{"position":[[3745,9]]}},"keywords":{}}],["npm",{"_index":28,"title":{"726":{"position":[[0,4]]},"1274":{"position":[[23,3]]}},"content":{"1":{"position":[[420,3]]},"2":{"position":[[101,3],[131,3]]},"3":{"position":[[109,3]]},"4":{"position":[[275,3]]},"5":{"position":[[191,3]]},"6":{"position":[[258,3],[290,3]]},"7":{"position":[[213,3]]},"8":{"position":[[229,3],[463,3]]},"9":{"position":[[125,3]]},"10":{"position":[[54,3]]},"11":{"position":[[92,3]]},"38":{"position":[[778,4]]},"49":{"position":[[56,4],[62,3]]},"128":{"position":[[120,3],[167,3]]},"188":{"position":[[1738,3],[2246,3]]},"211":{"position":[[15,3]]},"257":{"position":[[1,3]]},"285":{"position":[[201,3]]},"314":{"position":[[252,3]]},"333":{"position":[[29,3],[43,3]]},"420":{"position":[[15,3]]},"438":{"position":[[211,3]]},"537":{"position":[[35,4],[41,3]]},"542":{"position":[[202,3]]},"553":{"position":[[79,3],[96,3]]},"578":{"position":[[58,3],[72,3]]},"597":{"position":[[37,4],[43,3]]},"617":{"position":[[2244,3]]},"659":{"position":[[232,3],[236,3]]},"661":{"position":[[533,3]]},"662":{"position":[[1255,3]]},"666":{"position":[[235,3],[311,3]]},"668":{"position":[[376,3]]},"670":{"position":[[508,3],[540,3]]},"710":{"position":[[1449,3]]},"711":{"position":[[904,3]]},"717":{"position":[[425,3]]},"724":{"position":[[111,3]]},"726":{"position":[[100,3]]},"727":{"position":[[89,3]]},"728":{"position":[[166,3]]},"829":{"position":[[50,3]]},"836":{"position":[[505,3]]},"837":{"position":[[1321,3]]},"838":{"position":[[1786,3]]},"854":{"position":[[33,3]]},"862":{"position":[[156,3]]},"866":{"position":[[29,3]]},"872":{"position":[[123,3]]},"878":{"position":[[64,3]]},"882":{"position":[[45,3]]},"894":{"position":[[15,3]]},"898":{"position":[[25,3]]},"904":{"position":[[2418,3]]},"911":{"position":[[398,3]]},"1097":{"position":[[73,3]]},"1112":{"position":[[59,3]]},"1133":{"position":[[135,3],[150,3],[419,3]]},"1138":{"position":[[69,3]]},"1139":{"position":[[369,3]]},"1145":{"position":[[358,3]]},"1148":{"position":[[458,3]]},"1189":{"position":[[32,3]]},"1272":{"position":[[446,3]]},"1274":{"position":[[202,3]]},"1276":{"position":[[599,3]]},"1277":{"position":[[39,3]]},"1279":{"position":[[30,3]]}},"keywords":{}}],["nr",{"_index":2928,"title":{},"content":{"439":{"position":[[710,4],[810,4]]}},"keywords":{}}],["nuanc",{"_index":2806,"title":{},"content":{"419":{"position":[[1150,7]]}},"keywords":{}}],["null",{"_index":4442,"title":{"887":{"position":[[13,4]]}},"content":{"751":{"position":[[408,5],[1983,5]]},"810":{"position":[[169,4]]},"829":{"position":[[1598,5]]},"875":{"position":[[4587,4]]},"886":{"position":[[3075,4]]},"887":{"position":[[52,4],[207,4],[540,4],[635,5]]},"898":{"position":[[1017,5],[1053,5],[1131,5],[1202,4],[4245,4],[4392,4]]},"919":{"position":[[44,4]]},"983":{"position":[[229,5]]},"988":{"position":[[3191,5]]},"1016":{"position":[[91,4]]},"1017":{"position":[[70,4],[234,4]]},"1049":{"position":[[96,5]]},"1056":{"position":[[49,4]]},"1057":{"position":[[375,4]]}},"keywords":{}}],["nullabl",{"_index":5219,"title":{},"content":{"898":{"position":[[3545,8],[4197,8],[4254,8]]}},"keywords":{}}],["number",{"_index":1219,"title":{},"content":{"174":{"position":[[1662,6]]},"314":{"position":[[867,8]]},"334":{"position":[[747,8]]},"390":{"position":[[544,8]]},"391":{"position":[[882,8]]},"392":{"position":[[4989,6]]},"393":{"position":[[800,7]]},"394":{"position":[[1440,6]]},"395":{"position":[[478,8]]},"396":{"position":[[301,6],[1187,6]]},"397":{"position":[[1697,10]]},"398":{"position":[[739,9],[1980,9],[2943,6]]},"402":{"position":[[245,7],[491,8],[2613,7]]},"411":{"position":[[334,6]]},"420":{"position":[[408,7]]},"424":{"position":[[230,8]]},"459":{"position":[[1095,8],[1156,7]]},"496":{"position":[[228,7]]},"579":{"position":[[761,8]]},"617":{"position":[[392,6],[526,6],[774,6]]},"620":{"position":[[251,8]]},"623":{"position":[[33,6]]},"639":{"position":[[529,8]]},"662":{"position":[[2521,8]]},"680":{"position":[[927,9]]},"724":{"position":[[1161,7]]},"736":{"position":[[110,7]]},"749":{"position":[[7425,8],[17798,6],[20566,6],[21375,8],[23903,6]]},"751":{"position":[[99,6]]},"821":{"position":[[783,6]]},"838":{"position":[[2735,8]]},"879":{"position":[[138,6]]},"898":{"position":[[2630,8]]},"902":{"position":[[285,6]]},"926":{"position":[[45,7]]},"928":{"position":[[14,6],[42,7]]},"1067":{"position":[[483,6]]},"1074":{"position":[[94,6],[340,6]]},"1076":{"position":[[24,7]]},"1079":{"position":[[148,7]]},"1080":{"position":[[466,9],[479,6],[697,8]]},"1125":{"position":[[751,6]]},"1149":{"position":[[1188,8]]},"1194":{"position":[[1057,6]]},"1257":{"position":[[145,6]]},"1296":{"position":[[718,6]]},"1305":{"position":[[604,6]]},"1311":{"position":[[1736,6]]},"1316":{"position":[[2167,6]]},"1321":{"position":[[316,7]]}},"keywords":{}}],["number/integ",{"_index":4397,"title":{},"content":{"749":{"position":[[20299,14]]}},"keywords":{}}],["numer",{"_index":715,"title":{},"content":{"46":{"position":[[497,8]]},"71":{"position":[[66,8]]},"174":{"position":[[58,8]]},"384":{"position":[[70,8]]},"390":{"position":[[180,9]]},"478":{"position":[[22,8]]},"688":{"position":[[996,7]]},"690":{"position":[[369,8]]}},"keywords":{}}],["nvmrcclone",{"_index":3822,"title":{},"content":{"666":{"position":[[120,11]]}},"keywords":{}}],["nw.j",{"_index":505,"title":{},"content":{"32":{"position":[[67,6]]}},"keywords":{}}],["object",{"_index":572,"title":{"304":{"position":[[31,7]]},"787":{"position":[[0,6]]},"826":{"position":[[28,8]]},"1254":{"position":[[32,8]]}},"content":{"36":{"position":[[200,6]]},"45":{"position":[[139,6]]},"47":{"position":[[685,6]]},"51":{"position":[[379,9]]},"104":{"position":[[131,7]]},"174":{"position":[[626,7],[838,7]]},"188":{"position":[[1256,9]]},"209":{"position":[[443,9]]},"211":{"position":[[423,9]]},"231":{"position":[[170,8]]},"255":{"position":[[787,9]]},"259":{"position":[[105,9]]},"303":{"position":[[434,8]]},"304":{"position":[[53,6],[170,7],[497,8]]},"314":{"position":[[753,9]]},"315":{"position":[[729,9]]},"316":{"position":[[238,9]]},"334":{"position":[[142,6],[657,9]]},"350":{"position":[[90,7]]},"352":{"position":[[110,7]]},"367":{"position":[[800,9]]},"392":{"position":[[607,9],[1573,9]]},"426":{"position":[[231,7],[380,6],[474,6]]},"439":{"position":[[599,7]]},"457":{"position":[[233,7],[508,6]]},"462":{"position":[[725,6]]},"480":{"position":[[553,9]]},"482":{"position":[[853,9]]},"533":{"position":[[181,8]]},"538":{"position":[[680,9]]},"554":{"position":[[1344,9]]},"559":{"position":[[1208,7]]},"560":{"position":[[459,8]]},"562":{"position":[[325,9]]},"564":{"position":[[782,9]]},"566":{"position":[[126,6]]},"579":{"position":[[665,9]]},"580":{"position":[[167,8]]},"593":{"position":[[181,8]]},"598":{"position":[[687,9]]},"632":{"position":[[1537,9]]},"638":{"position":[[621,9]]},"639":{"position":[[399,9]]},"662":{"position":[[2400,9]]},"680":{"position":[[847,9]]},"717":{"position":[[1456,9]]},"720":{"position":[[155,9]]},"734":{"position":[[721,9]]},"746":{"position":[[221,6]]},"749":{"position":[[1490,6],[3039,7],[3878,6],[4055,7],[4181,6],[4410,6],[4661,6],[7882,6],[12013,6],[12129,7],[19713,6],[22150,6]]},"751":{"position":[[156,6]]},"754":{"position":[[464,6]]},"767":{"position":[[34,6]]},"789":{"position":[[41,6],[85,6]]},"805":{"position":[[145,6]]},"806":{"position":[[131,7]]},"808":{"position":[[570,9]]},"812":{"position":[[93,9],[159,9]]},"813":{"position":[[93,9]]},"825":{"position":[[74,8]]},"826":{"position":[[191,7],[320,7]]},"829":{"position":[[3159,6]]},"838":{"position":[[2614,9]]},"839":{"position":[[233,6]]},"841":{"position":[[206,6],[403,6],[1491,6]]},"854":{"position":[[892,6]]},"862":{"position":[[687,9]]},"872":{"position":[[1904,9],[4134,9]]},"886":{"position":[[178,6],[264,8],[1357,6]]},"889":{"position":[[709,6]]},"898":{"position":[[2484,9]]},"904":{"position":[[876,9]]},"916":{"position":[[73,6],[162,9]]},"932":{"position":[[1214,9]]},"934":{"position":[[57,6]]},"937":{"position":[[118,7]]},"944":{"position":[[136,6],[668,7]]},"945":{"position":[[77,6]]},"955":{"position":[[26,6]]},"957":{"position":[[27,6]]},"958":{"position":[[304,6]]},"976":{"position":[[22,6]]},"978":{"position":[[27,6]]},"990":{"position":[[732,7]]},"1004":{"position":[[307,6]]},"1051":{"position":[[43,7],[81,7]]},"1052":{"position":[[44,6]]},"1053":{"position":[[27,6]]},"1065":{"position":[[202,6]]},"1069":{"position":[[258,6],[330,6],[534,7]]},"1070":{"position":[[27,6]]},"1074":{"position":[[526,7]]},"1078":{"position":[[500,9]]},"1080":{"position":[[123,9],[660,9]]},"1082":{"position":[[208,9]]},"1083":{"position":[[408,9]]},"1084":{"position":[[41,7]]},"1085":{"position":[[532,6],[1555,7]]},"1104":{"position":[[299,6]]},"1114":{"position":[[423,7]]},"1116":{"position":[[80,6],[135,6]]},"1140":{"position":[[409,6]]},"1149":{"position":[[1067,9]]},"1158":{"position":[[395,9]]},"1208":{"position":[[315,7]]},"1213":{"position":[[228,8]]},"1218":{"position":[[131,6]]},"1220":{"position":[[334,6]]},"1274":{"position":[[568,6]]},"1279":{"position":[[955,6]]},"1309":{"position":[[26,6]]},"1311":{"position":[[423,9]]},"1321":{"position":[[1033,7]]}},"keywords":{}}],["object.assign",{"_index":4836,"title":{},"content":{"848":{"position":[[303,17]]}},"keywords":{}}],["object.defineproperty(rxdocu",{"_index":4559,"title":{},"content":{"770":{"position":[[366,33]]}},"keywords":{}}],["object.entries(doc).foreach(([k",{"_index":5151,"title":{},"content":{"887":{"position":[[580,32]]}},"keywords":{}}],["object.keys(activereplications).foreach(cid",{"_index":5578,"title":{},"content":{"1007":{"position":[[2152,43]]}},"keywords":{}}],["object/key",{"_index":6188,"title":{},"content":{"1206":{"position":[[235,10]]}},"keywords":{}}],["objectid",{"_index":4434,"title":{},"content":{"749":{"position":[[23891,8]]}},"keywords":{}}],["objects"",{"_index":1481,"title":{},"content":{"244":{"position":[[234,13]]}},"keywords":{}}],["objects.avoid",{"_index":2008,"title":{},"content":{"353":{"position":[[332,13]]}},"keywords":{}}],["objectstor",{"_index":2996,"title":{},"content":{"459":{"position":[[683,11]]}},"keywords":{}}],["objectstore.index('priceindex",{"_index":2998,"title":{},"content":{"459":{"position":[[748,32]]}},"keywords":{}}],["object—perhap",{"_index":1995,"title":{},"content":{"351":{"position":[[285,14]]}},"keywords":{}}],["objpath",{"_index":4315,"title":{},"content":{"749":{"position":[[13778,7]]}},"keywords":{}}],["observ",{"_index":183,"title":{"54":{"position":[[10,11]]},"75":{"position":[[0,10]]},"77":{"position":[[0,10]]},"78":{"position":[[10,8]]},"103":{"position":[[0,10]]},"106":{"position":[[0,10]]},"108":{"position":[[10,8]]},"124":{"position":[[0,10]]},"130":{"position":[[30,7]]},"144":{"position":[[54,12]]},"159":{"position":[[0,10]]},"185":{"position":[[0,10]]},"233":{"position":[[0,10]]},"234":{"position":[[10,8]]},"235":{"position":[[0,10]]},"275":{"position":[[0,10]]},"277":{"position":[[6,7]]},"329":{"position":[[0,10]]},"518":{"position":[[0,10]]},"541":{"position":[[10,11]]},"562":{"position":[[19,14]]},"563":{"position":[[40,12]]},"580":{"position":[[24,12]]},"585":{"position":[[0,10]]},"601":{"position":[[11,11]]},"822":{"position":[[59,11]]},"941":{"position":[[0,7]]},"970":{"position":[[0,7]]},"985":{"position":[[6,12]]},"993":{"position":[[0,11]]},"1046":{"position":[[0,7]]},"1058":{"position":[[0,7]]},"1117":{"position":[[0,14]]}},"content":{"13":{"position":[[12,11]]},"16":{"position":[[545,10]]},"33":{"position":[[236,10]]},"38":{"position":[[499,7]]},"47":{"position":[[703,10]]},"50":{"position":[[19,11],[236,11],[413,10]]},"55":{"position":[[127,11],[1064,11]]},"75":{"position":[[28,7]]},"77":{"position":[[20,10]]},"103":{"position":[[15,10]]},"106":{"position":[[13,9]]},"108":{"position":[[52,8]]},"121":{"position":[[78,11]]},"124":{"position":[[60,10],[203,10]]},"126":{"position":[[262,11]]},"129":{"position":[[125,12],[410,12],[540,11]]},"130":{"position":[[76,11],[195,7]]},"143":{"position":[[54,11],[176,12],[343,12]]},"144":{"position":[[124,12]]},"153":{"position":[[202,11]]},"156":{"position":[[81,11]]},"159":{"position":[[32,10],[113,10]]},"174":{"position":[[163,10],[218,11],[1009,7],[1512,8],[1617,8]]},"182":{"position":[[91,12]]},"185":{"position":[[32,10],[239,10]]},"221":{"position":[[210,7]]},"233":{"position":[[32,10],[69,10]]},"234":{"position":[[16,8]]},"235":{"position":[[15,10],[121,9]]},"275":{"position":[[58,10],[207,11]]},"277":{"position":[[67,11]]},"326":{"position":[[15,11]]},"329":{"position":[[42,10]]},"335":{"position":[[281,10]]},"346":{"position":[[174,12]]},"368":{"position":[[234,10],[280,10]]},"369":{"position":[[1186,8]]},"410":{"position":[[1950,8]]},"411":{"position":[[2704,10],[2845,10]]},"427":{"position":[[1390,7]]},"432":{"position":[[547,14],[798,7],[1144,14]]},"445":{"position":[[1417,12]]},"458":{"position":[[691,7],[729,7],[915,9]]},"480":{"position":[[80,7],[685,7],[777,10]]},"490":{"position":[[29,11]]},"493":{"position":[[51,12]]},"502":{"position":[[603,10],[624,10],[1003,10]]},"510":{"position":[[270,10]]},"514":{"position":[[306,12]]},"518":{"position":[[29,11],[76,10],[119,7],[254,10],[470,10]]},"523":{"position":[[304,7]]},"535":{"position":[[698,10],[743,10],[810,7],[1014,8]]},"540":{"position":[[166,11]]},"541":{"position":[[38,12],[329,10]]},"562":{"position":[[1242,10]]},"563":{"position":[[44,12],[656,12],[888,12]]},"566":{"position":[[420,13],[569,11]]},"571":{"position":[[944,10]]},"580":{"position":[[26,11],[595,10]]},"585":{"position":[[49,11]]},"591":{"position":[[481,11]]},"595":{"position":[[719,10],[764,10],[897,7],[1091,8]]},"601":{"position":[[550,10]]},"602":{"position":[[205,12]]},"626":{"position":[[839,11]]},"632":{"position":[[1790,10]]},"649":{"position":[[36,10]]},"655":{"position":[[243,12]]},"661":{"position":[[1527,7]]},"662":{"position":[[2749,7]]},"698":{"position":[[3194,7]]},"710":{"position":[[2057,7]]},"711":{"position":[[1986,7]]},"749":{"position":[[9539,10],[9664,7],[9764,8],[9852,7],[13885,10],[14009,7]]},"752":{"position":[[912,10]]},"753":{"position":[[41,10]]},"826":{"position":[[5,10],[132,10]]},"828":{"position":[[56,12]]},"831":{"position":[[235,12]]},"836":{"position":[[1326,14],[1404,7]]},"838":{"position":[[423,13],[2963,7]]},"840":{"position":[[185,13]]},"841":{"position":[[488,13]]},"854":{"position":[[1655,7]]},"872":{"position":[[1142,7],[2839,9]]},"875":{"position":[[6688,11],[6947,10],[7589,10],[7706,7],[7800,7],[7848,10]]},"879":{"position":[[392,10]]},"880":{"position":[[204,10]]},"881":{"position":[[214,11]]},"898":{"position":[[744,11],[4024,7]]},"904":{"position":[[3358,7],[3413,7],[3432,10]]},"921":{"position":[[9,10]]},"941":{"position":[[34,10],[187,7]]},"955":{"position":[[102,9]]},"965":{"position":[[150,8],[256,8]]},"970":{"position":[[34,10]]},"976":{"position":[[78,9]]},"983":{"position":[[735,10]]},"984":{"position":[[677,11]]},"985":{"position":[[79,8]]},"988":{"position":[[4103,12],[6103,12]]},"992":{"position":[[98,7]]},"993":{"position":[[4,7],[61,10]]},"995":{"position":[[1268,7],[1770,7]]},"1017":{"position":[[32,10]]},"1018":{"position":[[228,7]]},"1033":{"position":[[129,7]]},"1039":{"position":[[26,10]]},"1040":{"position":[[304,12]]},"1046":{"position":[[34,10]]},"1067":{"position":[[493,7],[2070,7]]},"1071":{"position":[[506,8]]},"1083":{"position":[[130,8]]},"1084":{"position":[[124,7]]},"1102":{"position":[[1184,7]]},"1117":{"position":[[50,7],[85,11],[156,11],[315,10],[359,10],[424,10]]},"1124":{"position":[[753,11],[808,7],[1088,7]]},"1132":{"position":[[897,10]]},"1150":{"position":[[375,8]]},"1218":{"position":[[159,10]]},"1298":{"position":[[392,10]]},"1315":{"position":[[1580,7]]},"1318":{"position":[[333,10]]}},"keywords":{}}],["observable.subscribe(newvalu",{"_index":6000,"title":{},"content":{"1117":{"position":[[435,29]]}},"keywords":{}}],["observables.excel",{"_index":2171,"title":{},"content":{"387":{"position":[[117,21]]}},"keywords":{}}],["obstacl",{"_index":2652,"title":{},"content":{"412":{"position":[[399,9],[494,10]]},"709":{"position":[[338,9]]}},"keywords":{}}],["obtain",{"_index":3324,"title":{},"content":{"542":{"position":[[667,6]]},"550":{"position":[[56,7]]}},"keywords":{}}],["obvious",{"_index":2595,"title":{},"content":{"410":{"position":[[944,10]]}},"keywords":{}}],["occas",{"_index":4103,"title":{},"content":{"740":{"position":[[9,10]]}},"keywords":{}}],["occasion",{"_index":2055,"title":{},"content":{"357":{"position":[[569,12]]},"525":{"position":[[355,12]]},"569":{"position":[[495,10]]},"1192":{"position":[[347,12]]}},"keywords":{}}],["occur",{"_index":1035,"title":{},"content":{"103":{"position":[[100,6]]},"156":{"position":[[166,7]]},"168":{"position":[[243,7]]},"196":{"position":[[71,6]]},"301":{"position":[[254,7]]},"326":{"position":[[227,5]]},"415":{"position":[[193,6]]},"491":{"position":[[1760,6]]},"495":{"position":[[190,5]]},"497":{"position":[[702,6]]},"515":{"position":[[277,6]]},"518":{"position":[[247,6]]},"523":{"position":[[195,6]]},"529":{"position":[[97,6]]},"570":{"position":[[381,6]]},"574":{"position":[[334,6]]},"621":{"position":[[530,5]]},"634":{"position":[[107,5]]},"912":{"position":[[405,7]]},"1033":{"position":[[257,5]]},"1299":{"position":[[286,9]]}},"keywords":{}}],["occurr",{"_index":1657,"title":{},"content":{"282":{"position":[[29,10]]}},"keywords":{}}],["off",{"_index":2422,"title":{},"content":{"398":{"position":[[3139,4]]},"412":{"position":[[116,4],[3961,4]]},"689":{"position":[[87,5]]},"1162":{"position":[[1154,4]]},"1324":{"position":[[796,5]]}},"keywords":{}}],["offer",{"_index":536,"title":{},"content":{"34":{"position":[[398,6]]},"39":{"position":[[173,6]]},"40":{"position":[[634,5]]},"42":{"position":[[109,5]]},"43":{"position":[[492,6],[566,6]]},"47":{"position":[[1277,6]]},"59":{"position":[[124,5]]},"64":{"position":[[31,6]]},"65":{"position":[[1840,6]]},"66":{"position":[[60,6]]},"70":{"position":[[186,5]]},"72":{"position":[[6,6]]},"75":{"position":[[64,8]]},"92":{"position":[[19,5]]},"95":{"position":[[125,5]]},"105":{"position":[[94,5]]},"112":{"position":[[6,6]]},"118":{"position":[[239,6]]},"120":{"position":[[269,6]]},"124":{"position":[[6,6]]},"131":{"position":[[311,6]]},"134":{"position":[[110,6]]},"137":{"position":[[6,6]]},"148":{"position":[[64,8]]},"151":{"position":[[406,6]]},"160":{"position":[[6,6]]},"161":{"position":[[311,6]]},"166":{"position":[[76,6]]},"168":{"position":[[6,6]]},"173":{"position":[[1204,5]]},"174":{"position":[[51,6],[2385,6]]},"175":{"position":[[351,6]]},"179":{"position":[[167,6]]},"186":{"position":[[175,6]]},"189":{"position":[[6,6],[356,6]]},"192":{"position":[[139,5]]},"193":{"position":[[6,6]]},"197":{"position":[[65,6]]},"198":{"position":[[6,6]]},"205":{"position":[[66,6]]},"206":{"position":[[16,6]]},"222":{"position":[[172,5]]},"223":{"position":[[223,5]]},"224":{"position":[[20,5]]},"230":{"position":[[97,6]]},"236":{"position":[[162,6]]},"237":{"position":[[6,6]]},"263":{"position":[[117,6]]},"266":{"position":[[12,6],[57,6]]},"271":{"position":[[136,6]]},"281":{"position":[[283,6]]},"286":{"position":[[215,6]]},"287":{"position":[[158,5],[521,6],[1243,6]]},"289":{"position":[[1053,6]]},"291":{"position":[[6,6]]},"294":{"position":[[61,6]]},"295":{"position":[[44,6]]},"314":{"position":[[200,7]]},"316":{"position":[[41,6]]},"321":{"position":[[527,8]]},"331":{"position":[[174,5]]},"339":{"position":[[56,6]]},"347":{"position":[[358,6]]},"356":{"position":[[145,6]]},"362":{"position":[[1429,6]]},"365":{"position":[[687,8]]},"368":{"position":[[6,6]]},"371":{"position":[[59,6]]},"375":{"position":[[919,8]]},"387":{"position":[[22,7]]},"390":{"position":[[1860,6]]},"403":{"position":[[189,6]]},"418":{"position":[[684,6]]},"420":{"position":[[1512,5]]},"425":{"position":[[117,6]]},"430":{"position":[[20,6],[826,5],[1103,5]]},"433":{"position":[[177,6],[227,6]]},"435":{"position":[[17,8]]},"437":{"position":[[213,6]]},"441":{"position":[[498,5]]},"444":{"position":[[844,8]]},"447":{"position":[[265,6]]},"482":{"position":[[62,6]]},"483":{"position":[[1128,10]]},"485":{"position":[[16,5]]},"491":{"position":[[120,6]]},"500":{"position":[[250,5]]},"501":{"position":[[175,8]]},"504":{"position":[[673,6]]},"507":{"position":[[85,8]]},"510":{"position":[[722,8]]},"514":{"position":[[151,6]]},"519":{"position":[[104,8]]},"520":{"position":[[259,6]]},"521":{"position":[[587,6]]},"524":{"position":[[6,6]]},"525":{"position":[[397,6]]},"535":{"position":[[511,5],[1248,6]]},"538":{"position":[[120,8]]},"542":{"position":[[115,5]]},"544":{"position":[[6,6]]},"546":{"position":[[157,5],[299,8]]},"554":{"position":[[6,6]]},"561":{"position":[[223,6]]},"571":{"position":[[1443,5]]},"591":{"position":[[358,6]]},"595":{"position":[[531,5],[1301,6]]},"598":{"position":[[120,8]]},"602":{"position":[[71,6]]},"604":{"position":[[6,6]]},"606":{"position":[[157,5],[289,8]]},"621":{"position":[[13,6],[727,5]]},"622":{"position":[[425,6]]},"640":{"position":[[326,8]]},"641":{"position":[[290,6]]},"688":{"position":[[276,5]]},"723":{"position":[[2735,8]]},"836":{"position":[[1373,5]]},"838":{"position":[[975,6]]},"860":{"position":[[206,6],[752,6],[1149,8]]},"901":{"position":[[708,6]]},"1072":{"position":[[1493,6],[2042,5]]},"1085":{"position":[[1845,6]]},"1132":{"position":[[418,6]]},"1135":{"position":[[31,5]]},"1147":{"position":[[297,6]]},"1148":{"position":[[73,6]]},"1150":{"position":[[10,6]]},"1206":{"position":[[546,8]]}},"keywords":{}}],["offici",{"_index":882,"title":{},"content":{"61":{"position":[[40,8]]},"84":{"position":[[149,8]]},"114":{"position":[[162,8]]},"149":{"position":[[162,8]]},"175":{"position":[[155,8]]},"241":{"position":[[260,8]]},"255":{"position":[[1667,8]]},"261":{"position":[[545,8]]},"306":{"position":[[38,8]]},"347":{"position":[[162,8],[460,8]]},"362":{"position":[[1233,8],[1531,8]]},"373":{"position":[[260,8]]},"511":{"position":[[162,8]]},"531":{"position":[[162,8]]},"567":{"position":[[178,8]]},"591":{"position":[[162,8],[612,8],[712,8]]},"632":{"position":[[736,8]]},"865":{"position":[[187,8]]},"897":{"position":[[87,8]]},"1148":{"position":[[19,8]]}},"keywords":{}}],["offlin",{"_index":181,"title":{"12":{"position":[[26,7]]},"44":{"position":[[14,7]]},"88":{"position":[[8,7]]},"122":{"position":[[0,7]]},"133":{"position":[[0,7]]},"157":{"position":[[0,7]]},"164":{"position":[[0,7]]},"183":{"position":[[0,7]]},"191":{"position":[[0,7]]},"201":{"position":[[12,7]]},"206":{"position":[[8,7]]},"215":{"position":[[0,7]]},"248":{"position":[[9,7]]},"253":{"position":[[8,7]]},"280":{"position":[[0,7]]},"292":{"position":[[6,8]]},"309":{"position":[[3,7]]},"327":{"position":[[0,7]]},"338":{"position":[[0,7]]},"380":{"position":[[0,7]]},"414":{"position":[[17,7]]},"419":{"position":[[0,7]]},"472":{"position":[[20,7]]},"473":{"position":[[14,7]]},"479":{"position":[[30,7]]},"481":{"position":[[4,7]]},"482":{"position":[[14,7]]},"558":{"position":[[54,7]]},"565":{"position":[[0,7]]},"584":{"position":[[0,7]]},"632":{"position":[[19,7]]},"695":{"position":[[27,7]]},"777":{"position":[[14,7]]},"869":{"position":[[49,7]]},"895":{"position":[[50,7]]},"1314":{"position":[[30,7]]}},"content":{"15":{"position":[[510,7]]},"19":{"position":[[554,7]]},"20":{"position":[[275,8]]},"21":{"position":[[166,7]]},"22":{"position":[[383,7]]},"27":{"position":[[43,7],[281,7],[382,7]]},"35":{"position":[[49,7],[602,7]]},"37":{"position":[[274,7],[322,7],[422,8]]},"39":{"position":[[72,7],[239,7],[310,7]]},"40":{"position":[[787,7]]},"43":{"position":[[731,7]]},"46":{"position":[[1,7],[192,8]]},"61":{"position":[[381,7]]},"65":{"position":[[429,7],[565,8],[1899,7]]},"88":{"position":[[40,7]]},"122":{"position":[[45,7],[133,7]]},"126":{"position":[[129,7]]},"133":{"position":[[41,7],[127,7]]},"148":{"position":[[97,7],[390,7]]},"151":{"position":[[201,7]]},"153":{"position":[[331,7]]},"157":{"position":[[18,7]]},"164":{"position":[[38,7]]},"170":{"position":[[124,7],[203,7]]},"173":{"position":[[1371,7],[1471,8]]},"179":{"position":[[422,7]]},"183":{"position":[[17,7]]},"186":{"position":[[258,7]]},"191":{"position":[[8,7],[134,7]]},"198":{"position":[[90,7]]},"201":{"position":[[260,8]]},"206":{"position":[[28,7],[164,7]]},"212":{"position":[[6,7],[94,7],[175,7]]},"215":{"position":[[66,7]]},"241":{"position":[[491,7]]},"248":{"position":[[176,8]]},"253":{"position":[[27,7],[134,7]]},"262":{"position":[[10,7],[40,7],[70,8]]},"263":{"position":[[131,7]]},"266":{"position":[[230,8]]},"270":{"position":[[127,8]]},"273":{"position":[[310,8]]},"274":{"position":[[338,7]]},"280":{"position":[[95,8],[389,7]]},"292":{"position":[[135,8],[313,7]]},"294":{"position":[[29,7]]},"302":{"position":[[547,7]]},"303":{"position":[[1130,7]]},"305":{"position":[[394,7]]},"306":{"position":[[163,7]]},"309":{"position":[[1,7]]},"312":{"position":[[34,8]]},"313":{"position":[[202,7]]},"318":{"position":[[33,7],[612,7]]},"320":{"position":[[382,8]]},"321":{"position":[[196,7],[566,7]]},"325":{"position":[[244,7]]},"327":{"position":[[56,7]]},"331":{"position":[[356,7]]},"338":{"position":[[8,7],[132,8]]},"346":{"position":[[630,7]]},"359":{"position":[[173,7]]},"360":{"position":[[426,7],[536,8]]},"362":{"position":[[168,7],[845,7]]},"373":{"position":[[506,7]]},"375":{"position":[[51,7],[187,7],[1000,8]]},"378":{"position":[[32,7],[230,7]]},"380":{"position":[[53,7],[287,7]]},"384":{"position":[[297,7]]},"388":{"position":[[414,7]]},"407":{"position":[[464,7],[1034,7]]},"408":{"position":[[4640,7],[5491,8]]},"410":{"position":[[924,7],[974,7]]},"411":{"position":[[470,7],[2079,7],[4153,7],[5495,7],[5706,7]]},"412":{"position":[[646,7],[1506,7],[2248,7],[3006,7],[3169,8],[6137,7],[6203,7],[8009,7],[8675,7],[11448,7],[13885,7]]},"416":{"position":[[179,8]]},"418":{"position":[[55,7],[368,7],[582,7]]},"419":{"position":[[22,7],[201,7],[569,7],[612,7],[740,7],[852,7],[1075,7]]},"420":{"position":[[785,7],[1202,7],[1495,7]]},"421":{"position":[[804,8],[1014,8]]},"422":{"position":[[130,7]]},"444":{"position":[[306,7],[519,7],[871,7]]},"445":{"position":[[270,7],[402,7],[491,7]]},"446":{"position":[[1,7],[91,7],[346,7]]},"447":{"position":[[112,7]]},"473":{"position":[[1,7]]},"474":{"position":[[99,7]]},"475":{"position":[[66,7]]},"476":{"position":[[281,7]]},"477":{"position":[[127,7]]},"478":{"position":[[137,7]]},"479":{"position":[[126,7],[518,7]]},"480":{"position":[[334,7],[981,8]]},"481":{"position":[[176,7]]},"482":{"position":[[1243,7]]},"483":{"position":[[16,7],[216,7],[467,7],[678,7],[713,7],[735,7],[1155,7]]},"486":{"position":[[222,7],[304,8]]},"489":{"position":[[592,7]]},"491":{"position":[[431,7],[1111,7],[1143,7],[1382,8]]},"495":{"position":[[119,7]]},"497":{"position":[[189,7]]},"498":{"position":[[485,7]]},"500":{"position":[[187,8],[678,7]]},"502":{"position":[[448,8]]},"504":{"position":[[288,7]]},"510":{"position":[[386,7]]},"513":{"position":[[295,7]]},"516":{"position":[[95,7]]},"525":{"position":[[5,7],[153,7]]},"526":{"position":[[273,7]]},"530":{"position":[[380,7]]},"533":{"position":[[293,7]]},"534":{"position":[[172,7]]},"548":{"position":[[228,7]]},"559":{"position":[[1312,7],[1663,7]]},"561":{"position":[[74,7]]},"562":{"position":[[1015,7]]},"565":{"position":[[172,7]]},"566":{"position":[[1047,7],[1206,7]]},"567":{"position":[[96,7],[313,7],[1187,7]]},"574":{"position":[[184,7],[748,7]]},"576":{"position":[[302,7]]},"582":{"position":[[19,7]]},"584":{"position":[[42,7]]},"590":{"position":[[684,7],[718,7]]},"593":{"position":[[293,7]]},"594":{"position":[[170,7]]},"608":{"position":[[228,7]]},"610":{"position":[[1259,8]]},"626":{"position":[[46,8]]},"631":{"position":[[56,7]]},"632":{"position":[[565,8],[1897,8]]},"635":{"position":[[101,8]]},"644":{"position":[[499,7]]},"690":{"position":[[275,7]]},"696":{"position":[[23,7]]},"698":{"position":[[73,8],[393,7]]},"699":{"position":[[224,7]]},"700":{"position":[[4,7],[541,8],[847,8],[1022,7]]},"701":{"position":[[7,7]]},"702":{"position":[[490,7]]},"703":{"position":[[29,7],[1286,7]]},"704":{"position":[[182,7]]},"705":{"position":[[108,7],[369,7],[1124,7],[1210,7],[1273,7]]},"723":{"position":[[624,7],[2406,7],[2466,7],[2608,8]]},"778":{"position":[[297,7]]},"779":{"position":[[242,7],[333,7]]},"780":{"position":[[503,7]]},"781":{"position":[[553,7],[644,7]]},"782":{"position":[[222,7]]},"783":{"position":[[517,7]]},"784":{"position":[[351,7]]},"785":{"position":[[434,7]]},"786":{"position":[[80,7]]},"836":{"position":[[1953,7]]},"838":{"position":[[690,7]]},"839":{"position":[[757,7]]},"840":{"position":[[264,7],[343,7],[434,7]]},"841":{"position":[[687,7],[695,7],[833,7],[1445,7],[1565,8]]},"860":{"position":[[213,7],[323,7]]},"861":{"position":[[1625,7]]},"906":{"position":[[376,7]]},"913":{"position":[[136,7]]},"981":{"position":[[432,7],[1289,7],[1349,8]]},"985":{"position":[[442,7]]},"987":{"position":[[99,9],[866,7]]},"988":{"position":[[977,7],[5848,7]]},"995":{"position":[[1098,7]]},"1006":{"position":[[135,7],[274,7]]},"1007":{"position":[[696,7],[1062,7]]},"1009":{"position":[[679,8]]},"1032":{"position":[[74,7],[214,8]]},"1093":{"position":[[269,7]]},"1123":{"position":[[739,7]]},"1258":{"position":[[20,7]]},"1301":{"position":[[525,8]]},"1302":{"position":[[1,7]]},"1304":{"position":[[1097,8],[1534,7],[1783,7],[1859,7]]},"1314":{"position":[[27,7]]},"1316":{"position":[[7,7],[473,7],[518,7],[2685,7]]},"1320":{"position":[[11,7]]}},"keywords":{}}],["offline"",{"_index":1478,"title":{},"content":{"244":{"position":[[145,13]]}},"keywords":{}}],["offline/first",{"_index":4598,"title":{},"content":{"786":{"position":[[124,13]]}},"keywords":{}}],["offload",{"_index":3719,"title":{"642":{"position":[[0,10]]}},"content":{"801":{"position":[[314,10]]}},"keywords":{}}],["ohash",{"_index":5404,"title":{},"content":{"968":{"position":[[396,8]]}},"keywords":{}}],["ok",{"_index":3746,"title":{},"content":{"653":{"position":[[112,3]]},"841":{"position":[[938,2]]},"990":{"position":[[407,2]]},"1317":{"position":[[303,3]]}},"keywords":{}}],["old",{"_index":1765,"title":{},"content":{"299":{"position":[[1711,3]]},"302":{"position":[[514,3]]},"402":{"position":[[1965,4]]},"455":{"position":[[924,3]]},"737":{"position":[[481,3]]},"751":{"position":[[303,3]]},"759":{"position":[[518,3],[718,3],[1140,3]]},"760":{"position":[[72,5],[239,3],[435,3],[514,3],[714,3]]},"773":{"position":[[799,3],[875,3]]},"781":{"position":[[109,3]]},"876":{"position":[[527,3]]},"879":{"position":[[196,3]]},"1009":{"position":[[494,3]]},"1119":{"position":[[276,3]]},"1282":{"position":[[592,3]]},"1294":{"position":[[149,3]]},"1319":{"position":[[257,3]]}},"keywords":{}}],["old"",{"_index":4500,"title":{},"content":{"760":{"position":[[145,10]]}},"keywords":{}}],["old/dist/es/shared/vers",{"_index":4508,"title":{},"content":{"761":{"position":[[628,26]]}},"keywords":{}}],["old/dist/lib/shared/vers",{"_index":4511,"title":{},"content":{"761":{"position":[[750,27]]}},"keywords":{}}],["old/plugins/shar",{"_index":4505,"title":{},"content":{"761":{"position":[[502,20]]}},"keywords":{}}],["old/plugins/storag",{"_index":4488,"title":{},"content":{"759":{"position":[[279,19]]},"760":{"position":[[375,19]]}},"keywords":{}}],["olddata",{"_index":5689,"title":{},"content":{"1042":{"position":[[128,9],[214,8]]}},"keywords":{}}],["olddata.ag",{"_index":5690,"title":{},"content":{"1042":{"position":[[146,11],[160,11]]}},"keywords":{}}],["olddata.nam",{"_index":5691,"title":{},"content":{"1042":{"position":[[177,12]]}},"keywords":{}}],["olddatabasenam",{"_index":4490,"title":{},"content":{"759":{"position":[[620,16]]},"760":{"position":[[616,16]]}},"keywords":{}}],["olddoc",{"_index":4448,"title":{},"content":{"751":{"position":[[707,7],[950,7],[1487,7],[1809,7],[2001,7]]},"752":{"position":[[594,7]]},"754":{"position":[[394,7],[554,7],[776,7]]}},"keywords":{}}],["olddoc._attach",{"_index":4481,"title":{},"content":{"754":{"position":[[163,19],[521,19]]}},"keywords":{}}],["olddoc._attachments.myfile.content_typ",{"_index":4484,"title":{},"content":{"754":{"position":[[726,39]]}},"keywords":{}}],["olddoc._attachments.myfile.data",{"_index":4483,"title":{},"content":{"754":{"position":[[659,31]]}},"keywords":{}}],["olddoc.coordin",{"_index":4452,"title":{},"content":{"751":{"position":[[1292,19]]}},"keywords":{}}],["olddoc.sendercountri",{"_index":4454,"title":{},"content":{"751":{"position":[[1447,20]]}},"keywords":{}}],["olddoc.tim",{"_index":4445,"title":{},"content":{"751":{"position":[[635,11],[878,11],[1737,11]]}},"keywords":{}}],["older",{"_index":493,"title":{},"content":{"30":{"position":[[296,5]]},"299":{"position":[[467,5],[919,5],[1220,5],[1538,5],[1563,5]]},"302":{"position":[[997,5]]},"303":{"position":[[1431,5]]},"402":{"position":[[2423,5]]},"408":{"position":[[548,5]]},"412":{"position":[[9379,5]]},"421":{"position":[[336,5]]},"728":{"position":[[99,5]]},"751":{"position":[[1853,5]]},"756":{"position":[[465,5]]},"816":{"position":[[348,5]]},"849":{"position":[[288,5]]},"949":{"position":[[98,5]]},"954":{"position":[[114,5]]},"1055":{"position":[[162,5]]},"1133":{"position":[[367,5]]},"1198":{"position":[[2192,5]]},"1278":{"position":[[107,6],[630,5]]}},"keywords":{}}],["olderdocu",{"_index":5353,"title":{},"content":{"949":{"position":[[118,14]]}},"keywords":{}}],["oldest",{"_index":247,"title":{},"content":{"15":{"position":[[37,6]]},"420":{"position":[[73,6]]}},"keywords":{}}],["oldstorag",{"_index":4492,"title":{},"content":{"759":{"position":[[658,11]]},"760":{"position":[[654,11]]}},"keywords":{}}],["omit",{"_index":6271,"title":{},"content":{"1226":{"position":[[697,6]]},"1264":{"position":[[577,6]]}},"keywords":{}}],["on",{"_index":246,"title":{"647":{"position":[[0,3]]},"1007":{"position":[[6,3]]},"1267":{"position":[[0,3]]}},"content":{"15":{"position":[[26,3]]},"17":{"position":[[475,3]]},"27":{"position":[[340,3]]},"28":{"position":[[243,3]]},"65":{"position":[[445,3]]},"122":{"position":[[1,3]]},"125":{"position":[[235,3]]},"133":{"position":[[1,3]]},"156":{"position":[[1,3]]},"160":{"position":[[149,3]]},"182":{"position":[[1,3]]},"190":{"position":[[1,3]]},"192":{"position":[[189,3]]},"207":{"position":[[1,3]]},"211":{"position":[[543,3]]},"215":{"position":[[1,3]]},"265":{"position":[[1,3]]},"275":{"position":[[1,3]]},"280":{"position":[[1,3]]},"300":{"position":[[461,5]]},"304":{"position":[[150,3]]},"327":{"position":[[1,3]]},"336":{"position":[[74,5]]},"346":{"position":[[60,3]]},"383":{"position":[[1,3]]},"390":{"position":[[1084,3]]},"392":{"position":[[3707,3],[3818,3],[4685,3],[5086,3]]},"395":{"position":[[547,3]]},"398":{"position":[[291,4]]},"402":{"position":[[2434,3]]},"404":{"position":[[908,3]]},"408":{"position":[[2660,4],[4470,3],[4740,4],[4820,3]]},"411":{"position":[[2724,3],[4351,3],[4494,3],[4634,3],[5366,3]]},"412":{"position":[[3432,3],[5766,3],[5792,3],[5932,3],[12396,3],[12543,3]]},"414":{"position":[[124,4]]},"420":{"position":[[62,3],[519,3]]},"427":{"position":[[136,3],[1145,3],[1368,3]]},"445":{"position":[[426,3]]},"454":{"position":[[927,3]]},"458":{"position":[[196,3]]},"464":{"position":[[812,3],[1375,3]]},"469":{"position":[[287,3]]},"475":{"position":[[153,3]]},"488":{"position":[[55,3]]},"490":{"position":[[404,3]]},"515":{"position":[[1,3]]},"517":{"position":[[295,3]]},"519":{"position":[[178,3]]},"524":{"position":[[832,3]]},"525":{"position":[[567,3]]},"535":{"position":[[985,3]]},"589":{"position":[[144,3]]},"590":{"position":[[187,3]]},"595":{"position":[[1062,3]]},"612":{"position":[[150,3]]},"617":{"position":[[2000,3],[2269,3]]},"626":{"position":[[673,3]]},"632":{"position":[[1428,3]]},"636":{"position":[[165,3]]},"647":{"position":[[190,3]]},"653":{"position":[[539,3],[1406,3]]},"679":{"position":[[92,5]]},"680":{"position":[[286,4],[1336,3]]},"682":{"position":[[13,3]]},"686":{"position":[[104,4]]},"691":{"position":[[93,3]]},"697":{"position":[[41,3],[309,3]]},"698":{"position":[[844,3],[2732,3]]},"699":{"position":[[77,3],[444,3]]},"700":{"position":[[96,3]]},"701":{"position":[[338,3],[413,4]]},"703":{"position":[[682,3]]},"705":{"position":[[171,5],[301,3]]},"707":{"position":[[310,3]]},"709":{"position":[[371,3],[433,3],[1003,3]]},"710":{"position":[[956,3]]},"723":{"position":[[891,3]]},"737":{"position":[[114,3],[309,3],[415,3],[485,3]]},"740":{"position":[[49,3]]},"749":{"position":[[21777,3]]},"754":{"position":[[494,4]]},"755":{"position":[[93,3]]},"773":{"position":[[1,3]]},"775":{"position":[[232,3]]},"779":{"position":[[175,3],[294,3]]},"784":{"position":[[584,3]]},"808":{"position":[[438,3]]},"815":{"position":[[314,4]]},"817":{"position":[[345,4]]},"818":{"position":[[258,4]]},"845":{"position":[[92,3]]},"846":{"position":[[365,3],[690,3]]},"849":{"position":[[294,5]]},"854":{"position":[[1032,3]]},"860":{"position":[[1167,3]]},"863":{"position":[[372,3]]},"885":{"position":[[2339,3]]},"886":{"position":[[1509,3]]},"902":{"position":[[80,3]]},"905":{"position":[[66,3]]},"906":{"position":[[1156,4]]},"934":{"position":[[11,3]]},"964":{"position":[[42,3]]},"965":{"position":[[19,3]]},"981":{"position":[[1610,3]]},"982":{"position":[[706,3]]},"988":{"position":[[1225,3]]},"989":{"position":[[54,3]]},"1002":{"position":[[903,3]]},"1007":{"position":[[217,3]]},"1009":{"position":[[520,3]]},"1033":{"position":[[1031,3]]},"1056":{"position":[[176,3],[268,3]]},"1058":{"position":[[455,3]]},"1066":{"position":[[97,3]]},"1069":{"position":[[567,3]]},"1083":{"position":[[224,3]]},"1085":{"position":[[3484,3],[3757,3]]},"1090":{"position":[[377,4]]},"1097":{"position":[[438,3]]},"1100":{"position":[[109,3]]},"1108":{"position":[[195,3]]},"1115":{"position":[[217,4],[375,3]]},"1116":{"position":[[189,5]]},"1124":{"position":[[1705,4]]},"1126":{"position":[[167,3]]},"1135":{"position":[[111,3]]},"1149":{"position":[[85,3]]},"1163":{"position":[[379,4]]},"1164":{"position":[[627,3]]},"1192":{"position":[[709,5]]},"1194":{"position":[[561,3],[654,3]]},"1195":{"position":[[166,4]]},"1198":{"position":[[778,4]]},"1215":{"position":[[223,4]]},"1219":{"position":[[143,3]]},"1220":{"position":[[95,3]]},"1267":{"position":[[107,3],[225,3],[318,4],[652,5]]},"1272":{"position":[[342,3],[402,4]]},"1286":{"position":[[59,3]]},"1287":{"position":[[168,3]]},"1295":{"position":[[150,3],[246,3]]},"1300":{"position":[[1,3],[297,3]]},"1301":{"position":[[1,3],[1317,3]]},"1304":{"position":[[886,3],[1308,3]]},"1309":{"position":[[430,4]]},"1313":{"position":[[325,3]]},"1315":{"position":[[1222,3]]},"1316":{"position":[[728,3],[1268,3]]},"1317":{"position":[[259,3]]},"1318":{"position":[[63,3],[1003,3]]},"1321":{"position":[[739,5]]}},"keywords":{}}],["onc",{"_index":490,"title":{"682":{"position":[[32,5]]}},"content":{"30":{"position":[[159,4]]},"35":{"position":[[230,4]]},"46":{"position":[[468,5]]},"52":{"position":[[1,4]]},"128":{"position":[[192,4]]},"164":{"position":[[253,4]]},"191":{"position":[[189,4]]},"206":{"position":[[316,4]]},"255":{"position":[[208,4]]},"315":{"position":[[1088,4]]},"323":{"position":[[286,4]]},"333":{"position":[[199,4]]},"335":{"position":[[1,4]]},"360":{"position":[[597,4]]},"375":{"position":[[269,4]]},"380":{"position":[[179,4]]},"398":{"position":[[1,4]]},"408":{"position":[[2796,4]]},"410":{"position":[[1103,4]]},"411":{"position":[[96,4],[4711,4]]},"414":{"position":[[166,4]]},"416":{"position":[[188,4]]},"419":{"position":[[524,4]]},"434":{"position":[[10,4]]},"445":{"position":[[721,4]]},"446":{"position":[[383,4]]},"461":{"position":[[412,4]]},"466":{"position":[[70,5],[551,4],[567,4]]},"468":{"position":[[615,4]]},"469":{"position":[[583,5]]},"476":{"position":[[235,4]]},"477":{"position":[[177,5]]},"481":{"position":[[190,4]]},"486":{"position":[[354,4]]},"489":{"position":[[814,4]]},"502":{"position":[[563,4]]},"516":{"position":[[251,4]]},"525":{"position":[[203,4]]},"534":{"position":[[480,4]]},"539":{"position":[[1,4]]},"555":{"position":[[1,4]]},"562":{"position":[[641,4]]},"571":{"position":[[729,5]]},"594":{"position":[[478,4]]},"599":{"position":[[1,4]]},"610":{"position":[[411,4]]},"611":{"position":[[471,4]]},"612":{"position":[[479,5]]},"617":{"position":[[1920,5]]},"624":{"position":[[1352,4]]},"630":{"position":[[348,4]]},"632":{"position":[[332,4],[1972,4]]},"636":{"position":[[266,4]]},"647":{"position":[[44,5]]},"682":{"position":[[187,4]]},"693":{"position":[[441,4],[470,4]]},"696":{"position":[[1780,4]]},"698":{"position":[[1541,4]]},"699":{"position":[[471,4]]},"724":{"position":[[1100,5]]},"745":{"position":[[67,4]]},"749":{"position":[[5706,4]]},"780":{"position":[[644,4]]},"782":{"position":[[348,4]]},"783":{"position":[[296,4]]},"784":{"position":[[527,5]]},"799":{"position":[[68,5]]},"829":{"position":[[1211,4],[2025,4]]},"830":{"position":[[280,4]]},"846":{"position":[[1127,5]]},"893":{"position":[[35,4]]},"934":{"position":[[861,4]]},"944":{"position":[[43,5]]},"945":{"position":[[43,5]]},"981":{"position":[[1064,4],[1397,4]]},"988":{"position":[[723,4],[2985,5]]},"1067":{"position":[[427,4],[1935,4]]},"1088":{"position":[[277,5]]},"1117":{"position":[[31,5]]},"1150":{"position":[[283,4]]},"1183":{"position":[[369,4]]},"1192":{"position":[[610,5]]},"1194":{"position":[[1035,4]]},"1230":{"position":[[326,4],[360,4]]},"1267":{"position":[[462,4]]},"1307":{"position":[[317,4]]},"1308":{"position":[[85,4]]},"1321":{"position":[[451,4],[981,4]]}},"keywords":{}}],["once.delet",{"_index":5946,"title":{},"content":{"1102":{"position":[[1331,11]]}},"keywords":{}}],["onchange={",{"_index":3397,"title":{},"content":{"559":{"position":[[627,11]]}},"keywords":{}}],["onclick={fetchmore}>load",{"_index":3282,"title":{},"content":{"523":{"position":[[784,27]]}},"keywords":{}}],["onclos",{"_index":5379,"title":{"956":{"position":[[0,7]]}},"content":{},"keywords":{}}],["oncreate(dexiedatabas",{"_index":6076,"title":{},"content":{"1148":{"position":[[890,23]]}},"keywords":{}}],["one?"",{"_index":2195,"title":{},"content":{"390":{"position":[[738,10]]}},"keywords":{}}],["oneday",{"_index":5515,"title":{},"content":{"995":{"position":[[1848,6],[1993,8]]}},"keywords":{}}],["oneof",{"_index":4032,"title":{},"content":{"718":{"position":[[500,6]]},"752":{"position":[[1135,5]]},"932":{"position":[[1338,5]]}},"keywords":{}}],["onerror",{"_index":1802,"title":{},"content":{"302":{"position":[[423,7]]}},"keywords":{}}],["ongo",{"_index":1317,"title":{},"content":{"204":{"position":[[88,7]]},"386":{"position":[[293,7]]},"624":{"position":[[670,8]]},"648":{"position":[[51,7],[146,7]]},"696":{"position":[[179,7]]},"775":{"position":[[380,7]]},"875":{"position":[[6639,7],[6982,7],[8005,7]]},"885":{"position":[[459,7]]},"886":{"position":[[3310,7],[5048,7]]},"973":{"position":[[24,8]]},"988":{"position":[[642,7]]}},"keywords":{}}],["onlin",{"_index":388,"title":{"413":{"position":[[28,6]]}},"content":{"23":{"position":[[313,6]]},"61":{"position":[[524,6]]},"157":{"position":[[392,7]]},"248":{"position":[[209,7]]},"253":{"position":[[65,6],[217,6]]},"394":{"position":[[1332,6]]},"410":{"position":[[1108,7]]},"412":{"position":[[4198,7],[13998,7]]},"414":{"position":[[171,7]]},"418":{"position":[[239,6]]},"419":{"position":[[352,6]]},"489":{"position":[[832,7]]},"575":{"position":[[392,6]]},"630":{"position":[[394,7]]},"698":{"position":[[96,6]]},"700":{"position":[[814,6],[958,6]]},"838":{"position":[[723,7]]},"898":{"position":[[536,6]]},"904":{"position":[[255,7]]},"981":{"position":[[440,6]]},"984":{"position":[[56,6]]},"985":{"position":[[454,6]]},"987":{"position":[[961,6]]},"988":{"position":[[5865,6]]},"1304":{"position":[[1087,6],[1396,7],[1838,6]]},"1314":{"position":[[577,6]]},"1316":{"position":[[186,6],[484,6]]},"1318":{"position":[[239,6]]}},"keywords":{}}],["only"",{"_index":2851,"title":{},"content":{"421":{"position":[[355,10]]}},"keywords":{}}],["onlyb",{"_index":3010,"title":{},"content":{"460":{"position":[[1171,6]]}},"keywords":{}}],["onmessag",{"_index":2258,"title":{},"content":{"392":{"position":[[3546,9]]}},"keywords":{}}],["onmount",{"_index":3495,"title":{},"content":{"580":{"position":[[313,9]]},"601":{"position":[[391,9]]}},"keywords":{}}],["onmounted(async",{"_index":3496,"title":{},"content":{"580":{"position":[[406,15]]},"601":{"position":[[483,15]]}},"keywords":{}}],["onoperationend",{"_index":4130,"title":{},"content":{"747":{"position":[[225,15]]}},"keywords":{}}],["onoperationerror",{"_index":4131,"title":{},"content":{"747":{"position":[[283,17]]}},"keywords":{}}],["onoperationstart",{"_index":4125,"title":{},"content":{"747":{"position":[[165,17]]}},"keywords":{}}],["onplayermove(neighboringchunkid",{"_index":5576,"title":{},"content":{"1007":{"position":[[2064,33]]}},"keywords":{}}],["onremov",{"_index":5380,"title":{"956":{"position":[[10,11]]}},"content":{},"keywords":{}}],["onstream($head",{"_index":5135,"title":{},"content":{"886":{"position":[[3537,18]]}},"keywords":{}}],["onsuccess",{"_index":1801,"title":{},"content":{"302":{"position":[[411,9]]}},"keywords":{}}],["onto",{"_index":5552,"title":{},"content":{"1004":{"position":[[587,4]]}},"keywords":{}}],["op",{"_index":4154,"title":{},"content":{"749":{"position":[[1684,2]]},"841":{"position":[[484,3]]}},"keywords":{}}],["open",{"_index":311,"title":{"618":{"position":[[25,4]]}},"content":{"18":{"position":[[316,4]]},"22":{"position":[[38,4],[100,4]]},"29":{"position":[[374,4]]},"38":{"position":[[817,4]]},"61":{"position":[[215,4]]},"113":{"position":[[51,4]]},"155":{"position":[[12,4]]},"160":{"position":[[196,4]]},"168":{"position":[[267,5]]},"174":{"position":[[2967,4]]},"177":{"position":[[15,4]]},"284":{"position":[[47,5]]},"323":{"position":[[543,5]]},"386":{"position":[[262,4]]},"392":{"position":[[2187,4]]},"404":{"position":[[299,7]]},"411":{"position":[[991,4],[4053,4],[4974,5]]},"412":{"position":[[2952,4]]},"420":{"position":[[963,4]]},"427":{"position":[[1286,7]]},"454":{"position":[[160,6]]},"458":{"position":[[102,4]]},"463":{"position":[[341,4],[809,7]]},"468":{"position":[[681,6]]},"483":{"position":[[953,4]]},"490":{"position":[[362,4]]},"514":{"position":[[42,4]]},"566":{"position":[[906,4]]},"567":{"position":[[482,4]]},"575":{"position":[[586,4]]},"589":{"position":[[15,4]]},"610":{"position":[[377,4]]},"611":{"position":[[1224,4]]},"612":{"position":[[518,4]]},"614":{"position":[[44,4]]},"617":{"position":[[216,4],[1232,4],[1995,4],[2086,4],[2172,5]]},"618":{"position":[[102,4],[356,4],[773,4]]},"621":{"position":[[618,7]]},"622":{"position":[[483,7]]},"661":{"position":[[503,4]]},"670":{"position":[[563,4]]},"708":{"position":[[461,7]]},"719":{"position":[[100,7]]},"736":{"position":[[176,5],[323,4],[361,4],[525,7]]},"737":{"position":[[262,6]]},"739":{"position":[[157,6]]},"749":{"position":[[9229,4],[12571,4]]},"779":{"position":[[150,4]]},"781":{"position":[[172,6],[402,6]]},"783":{"position":[[58,4],[289,6]]},"835":{"position":[[778,4]]},"836":{"position":[[631,6],[888,4]]},"838":{"position":[[1992,4]]},"839":{"position":[[1071,4]]},"840":{"position":[[686,4]]},"860":{"position":[[23,4]]},"901":{"position":[[57,4]]},"958":{"position":[[520,4]]},"964":{"position":[[238,6]]},"981":{"position":[[1589,7]]},"988":{"position":[[1236,4]]},"1085":{"position":[[1550,4]]},"1088":{"position":[[245,6]]},"1174":{"position":[[207,6],[408,4]]},"1183":{"position":[[85,4],[183,4]]},"1208":{"position":[[1885,4]]},"1231":{"position":[[163,7]]},"1277":{"position":[[294,4]]},"1298":{"position":[[145,4]]},"1301":{"position":[[1304,5]]},"1313":{"position":[[806,4]]}},"keywords":{}}],["open('mydb.sqlit",{"_index":4772,"title":{},"content":{"836":{"position":[[683,20]]}},"keywords":{}}],["openapi",{"_index":2119,"title":{},"content":{"367":{"position":[[647,7]]}},"keywords":{}}],["opencursor",{"_index":6423,"title":{},"content":{"1294":{"position":[[153,12]]}},"keywords":{}}],["opencursorrequest",{"_index":6436,"title":{},"content":{"1294":{"position":[[1454,17]]}},"keywords":{}}],["opencursorrequest.onerror",{"_index":6438,"title":{},"content":{"1294":{"position":[[1506,25]]}},"keywords":{}}],["opencursorrequest.onsuccess",{"_index":6440,"title":{},"content":{"1294":{"position":[[1554,27]]}},"keywords":{}}],["opendatabas",{"_index":6355,"title":{},"content":{"1278":{"position":[[848,12]]}},"keywords":{}}],["openkvpath",{"_index":6020,"title":{},"content":{"1125":{"position":[[581,11]]}},"keywords":{}}],["oper",{"_index":785,"title":{"52":{"position":[[5,11]]},"208":{"position":[[29,9]]},"539":{"position":[[5,11]]},"599":{"position":[[5,11]]},"678":{"position":[[10,11]]},"679":{"position":[[0,10]]},"681":{"position":[[17,11]]},"682":{"position":[[18,10]]},"795":{"position":[[9,11]]},"796":{"position":[[33,9]]},"1048":{"position":[[37,10]]},"1119":{"position":[[16,11]]}},"content":{"52":{"position":[[61,11]]},"63":{"position":[[100,8]]},"66":{"position":[[373,11]]},"96":{"position":[[262,10]]},"104":{"position":[[213,11]]},"129":{"position":[[388,11]]},"133":{"position":[[331,7]]},"162":{"position":[[375,12]]},"164":{"position":[[191,7]]},"172":{"position":[[131,7]]},"181":{"position":[[167,10]]},"205":{"position":[[345,10]]},"216":{"position":[[352,11]]},"224":{"position":[[205,10]]},"228":{"position":[[232,7]]},"236":{"position":[[235,11]]},"265":{"position":[[137,11],[194,10]]},"266":{"position":[[892,11]]},"267":{"position":[[1027,10]]},"270":{"position":[[119,7]]},"273":{"position":[[44,8]]},"287":{"position":[[674,9]]},"292":{"position":[[106,7]]},"302":{"position":[[374,10]]},"318":{"position":[[47,11]]},"354":{"position":[[1311,9]]},"359":{"position":[[22,7]]},"365":{"position":[[287,11]]},"369":{"position":[[1115,10]]},"376":{"position":[[361,10]]},"385":{"position":[[106,10]]},"396":{"position":[[1586,11],[1657,11]]},"399":{"position":[[611,10]]},"400":{"position":[[440,11]]},"402":{"position":[[2215,9],[2363,8]]},"407":{"position":[[443,12]]},"408":{"position":[[5123,11]]},"410":{"position":[[137,11]]},"411":{"position":[[730,11],[1236,9]]},"415":{"position":[[27,10]]},"418":{"position":[[63,9]]},"419":{"position":[[748,9]]},"424":{"position":[[155,8]]},"427":{"position":[[185,8],[243,10],[837,10],[1168,10]]},"430":{"position":[[695,11],[732,10]]},"439":{"position":[[399,10]]},"441":{"position":[[377,11]]},"451":{"position":[[649,10]]},"452":{"position":[[241,11]]},"459":{"position":[[140,10]]},"460":{"position":[[25,11],[1251,10]]},"462":{"position":[[168,11],[955,10]]},"464":{"position":[[745,10]]},"466":{"position":[[37,10],[416,10]]},"469":{"position":[[86,11]]},"470":{"position":[[146,11]]},"474":{"position":[[132,10]]},"486":{"position":[[123,10]]},"489":{"position":[[662,7]]},"497":{"position":[[122,10],[802,10]]},"514":{"position":[[136,11]]},"519":{"position":[[24,7]]},"524":{"position":[[411,11]]},"525":{"position":[[339,9]]},"539":{"position":[[61,11]]},"569":{"position":[[336,9],[939,7],[1367,9],[1558,9]]},"571":{"position":[[388,9],[433,9]]},"588":{"position":[[150,11]]},"599":{"position":[[61,11]]},"618":{"position":[[50,9],[208,9],[405,9]]},"626":{"position":[[653,9]]},"630":{"position":[[650,10]]},"641":{"position":[[23,10]]},"642":{"position":[[49,10],[262,10]]},"661":{"position":[[109,10]]},"678":{"position":[[17,9],[56,10],[112,10],[161,10],[209,8]]},"679":{"position":[[33,9],[151,9],[291,8],[355,10]]},"680":{"position":[[150,10],[1028,10],[1294,9]]},"681":{"position":[[23,10],[116,10],[333,10],[441,9],[583,10],[689,9],[747,9],[886,9]]},"682":{"position":[[22,9],[303,11]]},"683":{"position":[[52,10],[96,9],[120,9],[577,10],[677,9]]},"684":{"position":[[39,9]]},"685":{"position":[[6,10],[218,10],[415,10],[532,10],[665,11]]},"686":{"position":[[322,10],[511,9]]},"687":{"position":[[100,10]]},"688":{"position":[[376,11]]},"689":{"position":[[155,9],[420,10]]},"691":{"position":[[708,11]]},"703":{"position":[[189,9]]},"709":{"position":[[1149,10]]},"710":{"position":[[2397,10]]},"711":{"position":[[161,10],[357,10],[2253,10]]},"714":{"position":[[526,9]]},"723":{"position":[[144,10],[291,11],[399,10],[2580,10]]},"724":{"position":[[1526,10]]},"746":{"position":[[37,10],[116,10],[670,10]]},"747":{"position":[[70,11]]},"749":{"position":[[22586,10],[23526,10]]},"767":{"position":[[633,9]]},"768":{"position":[[633,9]]},"769":{"position":[[592,9]]},"775":{"position":[[730,10]]},"778":{"position":[[321,10]]},"795":{"position":[[20,10],[77,10],[115,11]]},"796":{"position":[[153,9],[324,8],[577,8],[617,8],[985,8],[1027,8],[1275,8],[1416,8]]},"801":{"position":[[156,10],[299,11],[331,10]]},"802":{"position":[[253,11],[346,10],[562,11],[661,7]]},"835":{"position":[[175,9]]},"836":{"position":[[111,10],[1581,9]]},"858":{"position":[[482,9]]},"863":{"position":[[350,10]]},"871":{"position":[[12,8]]},"872":{"position":[[2876,11]]},"875":{"position":[[5886,10],[5931,10],[9191,10]]},"902":{"position":[[645,11]]},"948":{"position":[[26,10],[210,9],[304,11]]},"1031":{"position":[[48,10]]},"1048":{"position":[[79,10],[296,10],[333,10]]},"1067":{"position":[[1179,9],[1249,8],[1409,9]]},"1085":{"position":[[634,10]]},"1090":{"position":[[1257,9]]},"1102":{"position":[[115,11]]},"1119":{"position":[[69,10],[129,10],[227,10],[252,9],[280,11]]},"1121":{"position":[[293,10]]},"1123":{"position":[[526,10]]},"1124":{"position":[[1541,10],[1799,10]]},"1125":{"position":[[616,10],[838,11]]},"1157":{"position":[[237,10]]},"1161":{"position":[[47,10]]},"1164":{"position":[[855,10],[1354,9]]},"1177":{"position":[[12,11]]},"1180":{"position":[[47,10]]},"1185":{"position":[[9,10],[86,9],[212,10]]},"1193":{"position":[[134,11]]},"1198":{"position":[[1045,9]]},"1204":{"position":[[12,11]]},"1206":{"position":[[306,11],[461,10]]},"1213":{"position":[[87,9]]},"1214":{"position":[[995,11]]},"1215":{"position":[[262,9]]},"1246":{"position":[[1380,11]]},"1249":{"position":[[369,8]]},"1250":{"position":[[31,10],[175,10]]},"1253":{"position":[[34,8]]},"1267":{"position":[[412,11]]},"1274":{"position":[[619,11]]},"1279":{"position":[[1006,11]]},"1282":{"position":[[632,11]]},"1295":{"position":[[692,10]]},"1297":{"position":[[333,9]]},"1304":{"position":[[273,10],[1336,10],[1565,9]]},"1305":{"position":[[91,10],[191,11],[713,9],[951,9],[1076,9]]},"1307":{"position":[[42,9],[705,10],[797,10]]},"1309":{"position":[[245,10]]},"1318":{"position":[[789,10]]}},"keywords":{}}],["operation'",{"_index":3205,"title":{},"content":{"497":{"position":[[507,11]]}},"keywords":{}}],["operation.find",{"_index":6163,"title":{},"content":{"1194":{"position":[[400,14]]}},"keywords":{}}],["operationnam",{"_index":5119,"title":{},"content":{"886":{"position":[[783,14],[2507,14]]}},"keywords":{}}],["operations.batch",{"_index":2144,"title":{},"content":{"376":{"position":[[315,19]]}},"keywords":{}}],["operations.fulli",{"_index":3893,"title":{},"content":{"688":{"position":[[802,16]]}},"keywords":{}}],["operations.no",{"_index":4777,"title":{},"content":{"836":{"position":[[1773,13]]}},"keywords":{}}],["operations.nosql",{"_index":5794,"title":{},"content":{"1071":{"position":[[407,16]]}},"keywords":{}}],["operations.onli",{"_index":3087,"title":{},"content":{"468":{"position":[[154,15]]}},"keywords":{}}],["operations.scal",{"_index":3479,"title":{},"content":{"574":{"position":[[484,19]]}},"keywords":{}}],["operations.smal",{"_index":6125,"title":{},"content":{"1167":{"position":[[40,16]]}},"keywords":{}}],["operationsnam",{"_index":4126,"title":{},"content":{"747":{"position":[[183,16],[241,16],[301,16]]}},"keywords":{}}],["operators.difficult",{"_index":3899,"title":{},"content":{"689":{"position":[[306,19]]}},"keywords":{}}],["opf",{"_index":874,"title":{"433":{"position":[[16,7]]},"448":{"position":[[43,4]]},"453":{"position":[[8,5]]},"1205":{"position":[[27,6],[57,4]]},"1206":{"position":[[8,5]]},"1207":{"position":[[0,4]]},"1208":{"position":[[8,4]]},"1209":{"position":[[0,4]]},"1210":{"position":[[6,4]]},"1211":{"position":[[6,4]]},"1214":{"position":[[0,4]]},"1215":{"position":[[73,7]]},"1216":{"position":[[17,6]]},"1244":{"position":[[3,5]]}},"content":{"59":{"position":[[73,7],[164,4]]},"100":{"position":[[275,5]]},"131":{"position":[[371,4],[668,4]]},"161":{"position":[[109,5]]},"162":{"position":[[370,4]]},"227":{"position":[[249,5]]},"266":{"position":[[126,4]]},"287":{"position":[[718,4]]},"402":{"position":[[2769,4]]},"408":{"position":[[1504,7],[1559,7],[1958,5],[3967,5],[4685,4]]},"429":{"position":[[162,5]]},"433":{"position":[[34,4],[222,4],[293,4],[459,4],[527,4],[593,4]]},"453":{"position":[[32,6],[254,4],[465,4],[569,4],[787,4]]},"459":{"position":[[376,4]]},"460":{"position":[[1123,4]]},"461":{"position":[[1487,4]]},"462":{"position":[[903,4]]},"463":{"position":[[441,4],[681,4],[701,4],[958,4],[1031,4]]},"464":{"position":[[329,4],[351,4],[740,4],[1017,4]]},"465":{"position":[[190,4],[212,4]]},"466":{"position":[[155,4],[176,4],[348,4]]},"467":{"position":[[126,4],[149,4],[307,4]]},"468":{"position":[[296,4]]},"469":{"position":[[498,4]]},"524":{"position":[[435,6],[948,4]]},"546":{"position":[[128,7],[197,4],[227,4]]},"581":{"position":[[603,5]]},"606":{"position":[[128,7],[197,4],[227,4]]},"631":{"position":[[168,6]]},"641":{"position":[[285,4]]},"714":{"position":[[400,4]]},"749":{"position":[[3371,4]]},"793":{"position":[[237,4],[1379,4]]},"981":{"position":[[1134,4]]},"1137":{"position":[[99,4],[189,4]]},"1191":{"position":[[339,4]]},"1195":{"position":[[244,4]]},"1206":{"position":[[32,6],[261,4],[398,4]]},"1207":{"position":[[315,4],[444,4]]},"1208":{"position":[[5,4],[1970,4]]},"1209":{"position":[[187,4]]},"1210":{"position":[[5,4],[205,4]]},"1211":{"position":[[401,4],[646,6]]},"1212":{"position":[[358,6]]},"1213":{"position":[[18,4],[655,6]]},"1214":{"position":[[267,4],[737,4],[1043,4]]},"1215":{"position":[[122,7],[395,6],[552,4]]},"1239":{"position":[[197,4]]},"1243":{"position":[[122,4]]},"1244":{"position":[[5,4]]},"1276":{"position":[[150,5],[257,4]]}},"keywords":{}}],["opfs)mobil",{"_index":3119,"title":{},"content":{"479":{"position":[[327,11]]}},"keywords":{}}],["opfs.html?console=opfs#set",{"_index":4179,"title":{},"content":{"749":{"position":[[3495,30]]}},"keywords":{}}],["opfs.in",{"_index":1569,"title":{},"content":{"254":{"position":[[334,7]]}},"keywords":{}}],["opfs.worker.j",{"_index":6227,"title":{},"content":{"1210":{"position":[[127,14]]}},"keywords":{}}],["opportun",{"_index":2968,"title":{},"content":{"454":{"position":[[183,13]]},"529":{"position":[[173,13]]}},"keywords":{}}],["opt",{"_index":1575,"title":{},"content":{"255":{"position":[[239,3]]},"863":{"position":[[909,6]]},"894":{"position":[[141,6]]}},"keywords":{}}],["optim",{"_index":514,"title":{"76":{"position":[[20,9]]},"78":{"position":[[0,9]]},"107":{"position":[[20,9]]},"108":{"position":[[0,9]]},"138":{"position":[[25,13]]},"194":{"position":[[25,13]]},"230":{"position":[[20,9]]},"234":{"position":[[0,9]]},"342":{"position":[[25,13]]},"376":{"position":[[12,13]]},"378":{"position":[[12,9]]},"385":{"position":[[12,13]]},"402":{"position":[[22,14]]},"507":{"position":[[25,13]]},"527":{"position":[[25,13]]},"587":{"position":[[25,13]]},"819":{"position":[[6,9]]},"1153":{"position":[[28,9]]},"1318":{"position":[[6,13]]}},"content":{"33":{"position":[[169,14]]},"70":{"position":[[19,9]]},"76":{"position":[[31,9]]},"83":{"position":[[154,12]]},"98":{"position":[[94,7]]},"100":{"position":[[198,9]]},"106":{"position":[[176,10]]},"107":{"position":[[39,9]]},"108":{"position":[[43,8]]},"111":{"position":[[4,8]]},"117":{"position":[[277,7]]},"138":{"position":[[251,8]]},"141":{"position":[[202,12]]},"146":{"position":[[154,8]]},"166":{"position":[[26,12],[50,7]]},"170":{"position":[[473,8]]},"174":{"position":[[1220,9],[1303,9],[1608,8]]},"189":{"position":[[764,8]]},"194":{"position":[[33,8]]},"197":{"position":[[38,8]]},"228":{"position":[[139,12]]},"229":{"position":[[113,7]]},"230":{"position":[[22,9]]},"234":{"position":[[6,9]]},"277":{"position":[[53,9]]},"298":{"position":[[383,9]]},"318":{"position":[[293,7]]},"334":{"position":[[526,9]]},"346":{"position":[[860,8]]},"362":{"position":[[919,13]]},"366":{"position":[[358,7]]},"369":{"position":[[214,9],[1105,9],[1207,9],[1398,7]]},"376":{"position":[[206,13]]},"390":{"position":[[45,9]]},"393":{"position":[[646,7]]},"396":{"position":[[209,10]]},"397":{"position":[[5,7]]},"398":{"position":[[283,7]]},"402":{"position":[[793,8],[880,7],[1351,7],[2281,8]]},"408":{"position":[[5065,13]]},"411":{"position":[[767,9]]},"412":{"position":[[9425,10]]},"429":{"position":[[527,9]]},"433":{"position":[[147,9]]},"444":{"position":[[143,9]]},"450":{"position":[[646,13]]},"469":{"position":[[548,8],[640,9]]},"479":{"position":[[110,9]]},"483":{"position":[[664,8]]},"504":{"position":[[467,8]]},"507":{"position":[[13,12]]},"508":{"position":[[89,12]]},"513":{"position":[[68,7]]},"524":{"position":[[977,7]]},"527":{"position":[[46,7]]},"544":{"position":[[379,8]]},"556":{"position":[[1039,8]]},"579":{"position":[[535,8]]},"588":{"position":[[6,12]]},"604":{"position":[[313,8]]},"618":{"position":[[477,8]]},"620":{"position":[[641,14],[677,9]]},"630":{"position":[[116,14]]},"640":{"position":[[56,7]]},"656":{"position":[[50,9]]},"723":{"position":[[1697,9]]},"780":{"position":[[492,9]]},"793":{"position":[[585,9],[1200,9]]},"796":{"position":[[70,7]]},"798":{"position":[[85,10],[972,9]]},"801":{"position":[[766,9]]},"820":{"position":[[59,11],[379,9]]},"821":{"position":[[228,12],[337,9],[450,12],[491,9]]},"838":{"position":[[1079,9]]},"871":{"position":[[574,9]]},"965":{"position":[[89,13],[247,8]]},"981":{"position":[[785,9]]},"1005":{"position":[[176,13]]},"1065":{"position":[[1616,14]]},"1066":{"position":[[222,7]]},"1071":{"position":[[439,9]]},"1085":{"position":[[1033,14]]},"1107":{"position":[[193,7]]},"1120":{"position":[[12,9]]},"1132":{"position":[[178,8]]},"1138":{"position":[[451,8]]},"1151":{"position":[[608,9]]},"1154":{"position":[[10,9],[300,11],[441,10]]},"1178":{"position":[[607,9]]},"1206":{"position":[[222,9]]},"1222":{"position":[[672,7],[732,8]]},"1238":{"position":[[76,9],[400,9],[777,11]]},"1239":{"position":[[48,9],[578,11]]},"1246":{"position":[[1613,10],[1657,9],[1788,8]]},"1266":{"position":[[914,13]]},"1271":{"position":[[669,13]]},"1318":{"position":[[99,8],[324,8],[707,13],[936,13]]}},"keywords":{}}],["optimis",{"_index":5785,"title":{},"content":{"1069":{"position":[[66,12]]}},"keywords":{}}],["optimist",{"_index":618,"title":{"484":{"position":[[12,10]]},"485":{"position":[[15,10]]},"486":{"position":[[28,10]]},"488":{"position":[[9,10]]},"489":{"position":[[35,10]]},"492":{"position":[[0,10]]},"495":{"position":[[13,10]]},"497":{"position":[[27,10]]},"634":{"position":[[0,10]]}},"content":{"39":{"position":[[189,10]]},"485":{"position":[[1,10],[160,10]]},"486":{"position":[[187,10]]},"488":{"position":[[26,10]]},"489":{"position":[[37,10]]},"491":{"position":[[34,10],[880,10]]},"495":{"position":[[7,10],[89,10]]},"497":{"position":[[630,10],[745,10]]},"498":{"position":[[34,10],[288,10],[538,10]]},"634":{"position":[[69,10]]},"897":{"position":[[241,10]]}},"keywords":{}}],["optimization.hierarch",{"_index":2341,"title":{},"content":{"396":{"position":[[521,25]]}},"keywords":{}}],["optimizedrxstorag",{"_index":6093,"title":{},"content":{"1154":{"position":[[461,18],[793,18]]}},"keywords":{}}],["option",{"_index":467,"title":{"126":{"position":[[32,8]]},"161":{"position":[[25,8]]},"186":{"position":[[32,8]]},"266":{"position":[[12,8]]},"317":{"position":[[29,8]]},"331":{"position":[[31,8]]},"365":{"position":[[19,7]]},"520":{"position":[[30,8]]},"576":{"position":[[28,8]]},"653":{"position":[[31,8]]},"887":{"position":[[34,8]]},"1164":{"position":[[0,8]]}},"content":{"28":{"position":[[769,6]]},"39":{"position":[[551,7]]},"51":{"position":[[32,8]]},"126":{"position":[[32,7]]},"131":{"position":[[90,7],[623,7],[758,8]]},"161":{"position":[[28,7],[297,8]]},"162":{"position":[[788,6]]},"167":{"position":[[62,7]]},"186":{"position":[[27,7]]},"189":{"position":[[30,8],[95,7],[553,6]]},"202":{"position":[[248,7]]},"236":{"position":[[19,6]]},"261":{"position":[[791,8],[824,8]]},"267":{"position":[[1385,7]]},"278":{"position":[[149,7]]},"284":{"position":[[231,8]]},"287":{"position":[[328,8],[568,6]]},"295":{"position":[[180,6]]},"302":{"position":[[979,10]]},"310":{"position":[[353,7]]},"312":{"position":[[78,8]]},"318":{"position":[[80,8]]},"334":{"position":[[434,8]]},"360":{"position":[[630,8]]},"361":{"position":[[314,8]]},"362":{"position":[[884,8]]},"365":{"position":[[94,7],[229,6]]},"377":{"position":[[186,7]]},"408":{"position":[[317,7]]},"429":{"position":[[459,7]]},"430":{"position":[[1095,7]]},"433":{"position":[[20,6]]},"441":{"position":[[593,8]]},"458":{"position":[[1053,6]]},"489":{"position":[[236,7]]},"504":{"position":[[703,8]]},"507":{"position":[[103,7]]},"520":{"position":[[28,7]]},"522":{"position":[[563,10],[618,10],[684,10],[760,10]]},"524":{"position":[[193,7]]},"538":{"position":[[32,8]]},"566":{"position":[[178,8],[381,8]]},"579":{"position":[[443,8]]},"581":{"position":[[629,6]]},"598":{"position":[[32,8]]},"612":{"position":[[1624,8]]},"614":{"position":[[813,7]]},"619":{"position":[[395,7]]},"624":{"position":[[182,6],[1310,6]]},"632":{"position":[[1370,9]]},"655":{"position":[[277,6]]},"660":{"position":[[478,7]]},"661":{"position":[[255,8]]},"680":{"position":[[197,7],[784,7],[1086,7]]},"696":{"position":[[801,7]]},"710":{"position":[[469,7],[973,8]]},"724":{"position":[[1055,10],[1175,10],[1404,10],[1471,7],[1693,7],[1778,7]]},"749":{"position":[[22629,7]]},"772":{"position":[[1872,6]]},"773":{"position":[[330,6]]},"806":{"position":[[424,7],[480,7],[630,8],[676,7],[741,7]]},"825":{"position":[[280,6]]},"837":{"position":[[1003,7]]},"841":{"position":[[386,8],[1193,8]]},"846":{"position":[[597,10],[709,10],[820,10],[1027,10],[1135,10],[1255,10]]},"848":{"position":[[206,8],[247,7],[321,9],[584,8]]},"854":{"position":[[904,8],[1091,10]]},"855":{"position":[[321,8]]},"858":{"position":[[147,8]]},"862":{"position":[[1465,7]]},"867":{"position":[[316,8]]},"875":{"position":[[3848,8]]},"886":{"position":[[1235,10],[1332,10],[1890,7],[2855,10],[2974,10],[4345,7]]},"887":{"position":[[31,8],[134,8],[486,8]]},"890":{"position":[[939,8]]},"894":{"position":[[47,8],[159,8]]},"898":{"position":[[1934,8],[3484,9],[3611,9],[3899,8],[4013,10],[4316,8]]},"904":{"position":[[1513,7]]},"905":{"position":[[197,6]]},"911":{"position":[[157,6]]},"934":{"position":[[192,9],[327,10],[388,10],[447,10],[488,8],[504,10],[591,10],[624,10],[691,10],[767,10]]},"960":{"position":[[392,8],[458,10],[513,10],[579,10],[655,10]]},"986":{"position":[[1542,7]]},"988":{"position":[[816,11],[1040,11],[1608,11],[2294,9],[2910,8],[3353,10],[3396,9],[4682,10]]},"1065":{"position":[[530,8],[1336,9]]},"1072":{"position":[[2704,9]]},"1102":{"position":[[838,10]]},"1125":{"position":[[412,10],[556,10],[714,10]]},"1134":{"position":[[477,10],[741,10]]},"1148":{"position":[[1061,8]]},"1151":{"position":[[589,8]]},"1157":{"position":[[439,6]]},"1164":{"position":[[6,7],[272,10],[782,10],[1487,10]]},"1172":{"position":[[455,7]]},"1175":{"position":[[53,6]]},"1178":{"position":[[588,8]]},"1198":{"position":[[2087,8]]},"1201":{"position":[[285,7]]},"1222":{"position":[[447,7],[488,7]]},"1226":{"position":[[611,10],[622,7]]},"1231":{"position":[[120,6]]},"1249":{"position":[[347,6]]},"1264":{"position":[[491,10],[502,7]]},"1266":{"position":[[818,8]]},"1270":{"position":[[303,6]]},"1282":{"position":[[1028,7]]},"1292":{"position":[[60,7]]},"1313":{"position":[[766,6]]}},"keywords":{}}],["option.opf",{"_index":1182,"title":{},"content":{"162":{"position":[[347,11]]}},"keywords":{}}],["option.send",{"_index":3098,"title":{},"content":{"470":{"position":[[361,14]]}},"keywords":{}}],["optional)if",{"_index":5390,"title":{},"content":{"963":{"position":[[1,12]]}},"keywords":{}}],["optional."",{"_index":2800,"title":{},"content":{"419":{"position":[[362,15]]}},"keywords":{}}],["optional=fals",{"_index":5393,"title":{},"content":{"965":{"position":[[1,16]]},"967":{"position":[[1,16]]}},"keywords":{}}],["optional=false)if",{"_index":5395,"title":{},"content":{"966":{"position":[[1,18]]}},"keywords":{}}],["optional=true)when",{"_index":5391,"title":{},"content":{"964":{"position":[[1,19]]}},"keywords":{}}],["options.storag",{"_index":2164,"title":{},"content":{"383":{"position":[[299,15]]}},"keywords":{}}],["optionswithauth",{"_index":4835,"title":{},"content":{"848":{"position":[[285,15],[612,15]]}},"keywords":{}}],["optionswithauth.head",{"_index":4838,"title":{},"content":{"848":{"position":[[400,23]]}},"keywords":{}}],["optionswithauth.headers['author",{"_index":4839,"title":{},"content":{"848":{"position":[[463,40]]}},"keywords":{}}],["opts.wrtc",{"_index":5273,"title":{},"content":{"911":{"position":[[147,9]]}},"keywords":{}}],["or/and",{"_index":327,"title":{},"content":{"19":{"position":[[369,6]]}},"keywords":{}}],["orchestr",{"_index":5254,"title":{},"content":{"903":{"position":[[696,13]]},"1319":{"position":[[575,11]]}},"keywords":{}}],["order",{"_index":2321,"title":{"798":{"position":[[14,8]]}},"content":{"394":{"position":[[1040,5],[1139,5],[1233,7]]},"400":{"position":[[259,6]]},"402":{"position":[[786,6]]},"404":{"position":[[787,7]]},"408":{"position":[[1080,5]]},"569":{"position":[[568,5]]},"613":{"position":[[334,6]]},"683":{"position":[[518,6]]},"749":{"position":[[9577,5],[13923,5]]},"798":{"position":[[5,5],[138,6]]},"858":{"position":[[588,8]]},"898":{"position":[[3799,8]]},"951":{"position":[[529,5]]},"986":{"position":[[225,6]]},"1065":{"position":[[1719,5],[1760,5],[1810,9],[2029,5]]},"1079":{"position":[[574,5]]},"1316":{"position":[[1850,5],[2344,5],[2409,6]]}},"keywords":{}}],["ordering.push",{"_index":5188,"title":{},"content":{"897":{"position":[[203,15]]}},"keywords":{}}],["oren",{"_index":6482,"title":{},"content":{"1302":{"position":[[169,4]]}},"keywords":{}}],["organ",{"_index":1235,"title":{},"content":{"178":{"position":[[257,10]]},"395":{"position":[[294,9]]},"412":{"position":[[1388,14]]},"1132":{"position":[[471,10]]},"1140":{"position":[[53,8]]}},"keywords":{}}],["orient",{"_index":377,"title":{"350":{"position":[[9,8]]}},"content":{"23":{"position":[[45,8]]},"32":{"position":[[112,8]]},"353":{"position":[[756,8]]},"412":{"position":[[13493,8],[14404,8]]},"419":{"position":[[1377,8]]}},"keywords":{}}],["origin",{"_index":287,"title":{"1205":{"position":[[0,6]]},"1215":{"position":[[46,6]]}},"content":{"17":{"position":[[76,10]]},"24":{"position":[[523,10]]},"25":{"position":[[11,11]]},"26":{"position":[[101,10]]},"36":{"position":[[1,10]]},"47":{"position":[[111,10]]},"59":{"position":[[46,6]]},"298":{"position":[[316,7]]},"299":{"position":[[283,6],[608,6]]},"300":{"position":[[208,7]]},"303":{"position":[[71,6],[1306,6]]},"305":{"position":[[101,6]]},"408":{"position":[[1018,6],[1189,6],[1532,6]]},"409":{"position":[[122,10]]},"411":{"position":[[4239,7]]},"419":{"position":[[1066,8]]},"433":{"position":[[96,6]]},"453":{"position":[[5,6]]},"461":{"position":[[731,7]]},"546":{"position":[[101,6]]},"595":{"position":[[153,10]]},"606":{"position":[[101,6]]},"640":{"position":[[168,7]]},"696":{"position":[[1356,7]]},"779":{"position":[[453,7]]},"835":{"position":[[554,10]]},"839":{"position":[[88,10]]},"848":{"position":[[544,8]]},"888":{"position":[[656,7]]},"890":{"position":[[428,6],[671,7]]},"990":{"position":[[856,8]]},"1069":{"position":[[241,8]]},"1140":{"position":[[282,7]]},"1154":{"position":[[413,8]]},"1206":{"position":[[5,6],[141,6]]},"1207":{"position":[[33,6]]},"1209":{"position":[[13,6]]},"1214":{"position":[[1,6]]},"1215":{"position":[[95,6]]},"1216":{"position":[[34,6]]},"1222":{"position":[[178,8]]},"1225":{"position":[[58,8]]},"1246":{"position":[[1729,8]]}},"keywords":{}}],["origin'",{"_index":2896,"title":{},"content":{"427":{"position":[[1535,8]]},"1208":{"position":[[672,8]]}},"keywords":{}}],["origin==='handl",{"_index":5157,"title":{},"content":{"888":{"position":[[797,19]]}},"keywords":{}}],["orion",{"_index":6378,"title":{},"content":{"1284":{"position":[[156,5]]}},"keywords":{}}],["orion.rxdb",{"_index":6380,"title":{},"content":{"1284":{"position":[[195,10]]}},"keywords":{}}],["orm",{"_index":4620,"title":{"937":{"position":[[0,3]]}},"content":{"793":{"position":[[1155,3]]},"838":{"position":[[3406,3]]},"934":{"position":[[338,3],[399,3],[458,3]]},"937":{"position":[[70,3]]},"1085":{"position":[[2154,3],[2195,3]]},"1311":{"position":[[1643,3],[1691,3]]}},"keywords":{}}],["orm/drm",{"_index":5321,"title":{},"content":{"937":{"position":[[162,8]]}},"keywords":{}}],["orqueri",{"_index":4637,"title":{},"content":{"796":{"position":[[422,7]]}},"keywords":{}}],["orwait",{"_index":5657,"title":{},"content":{"1033":{"position":[[332,6]]}},"keywords":{}}],["os",{"_index":1874,"title":{},"content":{"305":{"position":[[483,2]]},"412":{"position":[[8602,2]]},"703":{"position":[[571,2]]},"836":{"position":[[808,3]]},"1270":{"position":[[401,2]]}},"keywords":{}}],["other",{"_index":1081,"title":{"657":{"position":[[38,6]]}},"content":{"125":{"position":[[272,7]]},"298":{"position":[[190,7],[261,6]]},"356":{"position":[[899,6]]},"365":{"position":[[1088,7]]},"399":{"position":[[281,6]]},"400":{"position":[[207,7]]},"411":{"position":[[5585,6]]},"412":{"position":[[6554,6]]},"458":{"position":[[813,6]]},"490":{"position":[[439,7]]},"517":{"position":[[333,7]]},"589":{"position":[[181,7]]},"618":{"position":[[162,7]]},"698":{"position":[[2554,6]]},"709":{"position":[[570,6]]},"824":{"position":[[258,7]]},"1071":{"position":[[90,7]]},"1100":{"position":[[278,6]]},"1208":{"position":[[1874,6]]}},"keywords":{}}],["other.cli",{"_index":6488,"title":{},"content":{"1304":{"position":[[1742,13]]}},"keywords":{}}],["other.find",{"_index":6165,"title":{},"content":{"1194":{"position":[[576,10]]}},"keywords":{}}],["othernumb",{"_index":5775,"title":{},"content":{"1067":{"position":[[1487,15],[1602,12]]}},"keywords":{}}],["others.miss",{"_index":3300,"title":{},"content":{"535":{"position":[[1031,14]]},"595":{"position":[[1108,14]]}},"keywords":{}}],["otherstuff.json",{"_index":4665,"title":{},"content":{"800":{"position":[[905,18]]}},"keywords":{}}],["otherwis",{"_index":2000,"title":{},"content":{"352":{"position":[[151,9]]},"412":{"position":[[1761,10]]},"587":{"position":[[172,9]]},"875":{"position":[[4055,9]]},"886":{"position":[[1396,10]]},"946":{"position":[[66,9]]},"1108":{"position":[[653,9]]},"1235":{"position":[[449,9]]}},"keywords":{}}],["out",{"_index":398,"title":{"626":{"position":[[18,3]]},"742":{"position":[[7,4]]}},"content":{"24":{"position":[[136,3],[594,3]]},"40":{"position":[[272,3]]},"84":{"position":[[85,3]]},"102":{"position":[[13,3]]},"114":{"position":[[98,3]]},"125":{"position":[[15,3]]},"126":{"position":[[88,3]]},"144":{"position":[[88,3]]},"149":{"position":[[98,3]]},"161":{"position":[[189,3]]},"188":{"position":[[2505,3]]},"212":{"position":[[122,3]]},"255":{"position":[[1623,3]]},"263":{"position":[[386,3]]},"296":{"position":[[5,3],[43,3]]},"302":{"position":[[510,3]]},"304":{"position":[[288,3]]},"317":{"position":[[215,3],[241,3]]},"318":{"position":[[405,3]]},"331":{"position":[[251,3]]},"347":{"position":[[98,3]]},"362":{"position":[[1169,3]]},"367":{"position":[[212,3]]},"369":{"position":[[1351,3]]},"383":{"position":[[330,3]]},"393":{"position":[[698,3]]},"394":{"position":[[9,3]]},"396":{"position":[[861,3],[1023,3]]},"398":{"position":[[3300,3]]},"402":{"position":[[405,3],[2084,3]]},"405":{"position":[[145,3]]},"408":{"position":[[2479,3]]},"412":{"position":[[324,3],[6257,3],[7893,3]]},"434":{"position":[[73,3]]},"435":{"position":[[152,3]]},"459":{"position":[[285,3]]},"461":{"position":[[549,3],[1375,3]]},"471":{"position":[[130,3]]},"489":{"position":[[219,3]]},"491":{"position":[[908,3],[1934,3]]},"495":{"position":[[656,3]]},"498":{"position":[[234,3]]},"511":{"position":[[98,3]]},"520":{"position":[[72,3]]},"531":{"position":[[98,3]]},"535":{"position":[[758,3]]},"548":{"position":[[80,3]]},"556":{"position":[[1999,3]]},"557":{"position":[[144,3],[211,3]]},"566":{"position":[[1085,3]]},"567":{"position":[[851,3]]},"590":{"position":[[47,3]]},"591":{"position":[[98,3]]},"595":{"position":[[779,3]]},"608":{"position":[[80,3]]},"610":{"position":[[1614,3]]},"613":{"position":[[327,3]]},"626":{"position":[[67,3],[159,3],[376,3],[1109,3]]},"627":{"position":[[283,3]]},"628":{"position":[[7,3],[232,3]]},"644":{"position":[[168,3]]},"666":{"position":[[302,3]]},"679":{"position":[[315,3]]},"686":{"position":[[34,3]]},"702":{"position":[[680,3]]},"705":{"position":[[132,3]]},"710":{"position":[[910,3],[2516,3]]},"711":{"position":[[2388,3]]},"712":{"position":[[82,3]]},"719":{"position":[[464,3]]},"737":{"position":[[405,3]]},"776":{"position":[[7,3],[255,3]]},"785":{"position":[[721,3]]},"798":{"position":[[124,3]]},"824":{"position":[[272,3]]},"836":{"position":[[335,3],[1341,3]]},"838":{"position":[[1568,3],[3244,3]]},"842":{"position":[[71,3]]},"846":{"position":[[522,3]]},"854":{"position":[[1186,3],[1270,4]]},"873":{"position":[[8,3]]},"875":{"position":[[8690,3]]},"886":{"position":[[5040,3]]},"887":{"position":[[203,3]]},"890":{"position":[[976,3]]},"904":{"position":[[251,3],[3391,3]]},"908":{"position":[[372,3]]},"913":{"position":[[7,3]]},"985":{"position":[[516,3]]},"988":{"position":[[3102,3],[5902,3]]},"1004":{"position":[[519,3]]},"1067":{"position":[[727,3]]},"1072":{"position":[[509,3]]},"1087":{"position":[[76,3]]},"1124":{"position":[[190,3]]},"1148":{"position":[[148,3]]},"1198":{"position":[[119,3],[1226,3]]},"1228":{"position":[[41,3]]},"1271":{"position":[[183,3]]},"1294":{"position":[[331,3]]},"1316":{"position":[[838,3]]},"1324":{"position":[[30,3]]}},"keywords":{}}],["outag",{"_index":2520,"title":{},"content":{"407":{"position":[[557,7]]},"473":{"position":[[131,8]]}},"keywords":{}}],["outcom",{"_index":1781,"title":{},"content":{"300":{"position":[[772,8]]}},"keywords":{}}],["outdat",{"_index":2429,"title":{},"content":{"399":{"position":[[303,8]]},"421":{"position":[[394,9]]},"458":{"position":[[324,8]]},"496":{"position":[[779,8]]},"624":{"position":[[1392,8]]},"709":{"position":[[616,8]]},"749":{"position":[[16380,8]]},"876":{"position":[[567,8]]},"879":{"position":[[347,8]]},"990":{"position":[[1056,9],[1361,8]]}},"keywords":{}}],["outdatedcli",{"_index":5068,"title":{"879":{"position":[[0,16]]}},"content":{"879":{"position":[[376,15]]}},"keywords":{}}],["outer",{"_index":4658,"title":{},"content":{"799":{"position":[[411,5]]}},"keywords":{}}],["outlier",{"_index":2204,"title":{},"content":{"390":{"position":[[1497,8]]}},"keywords":{}}],["outperform",{"_index":2574,"title":{},"content":{"408":{"position":[[5329,11]]},"622":{"position":[[681,13]]},"1090":{"position":[[136,11]]}},"keywords":{}}],["output",{"_index":2222,"title":{},"content":{"391":{"position":[[644,6]]},"401":{"position":[[658,7]]},"404":{"position":[[803,8],[985,8]]},"1266":{"position":[[481,6],[598,7]]},"1267":{"position":[[259,6]]}},"keywords":{}}],["output.multi",{"_index":2506,"title":{},"content":{"404":{"position":[[685,12]]}},"keywords":{}}],["outsid",{"_index":747,"title":{},"content":{"50":{"position":[[31,7],[248,7],[432,7]]},"129":{"position":[[552,7]]},"701":{"position":[[845,10]]},"829":{"position":[[1082,7]]},"832":{"position":[[131,7]]},"1188":{"position":[[413,7]]},"1198":{"position":[[1007,8]]},"1210":{"position":[[595,7]]},"1231":{"position":[[858,7]]},"1233":{"position":[[226,7]]}},"keywords":{}}],["outstand",{"_index":6040,"title":{},"content":{"1133":{"position":[[502,11]]},"1297":{"position":[[288,11]]}},"keywords":{}}],["over",{"_index":272,"title":{"210":{"position":[[27,4]]},"1120":{"position":[[12,4]]}},"content":{"16":{"position":[[149,4]]},"19":{"position":[[323,4]]},"22":{"position":[[267,4]]},"35":{"position":[[121,4]]},"37":{"position":[[90,4]]},"75":{"position":[[94,4]]},"186":{"position":[[201,4]]},"228":{"position":[[414,4]]},"278":{"position":[[132,4]]},"282":{"position":[[395,4]]},"305":{"position":[[226,4]]},"400":{"position":[[802,4]]},"407":{"position":[[144,4]]},"408":{"position":[[475,4]]},"410":{"position":[[637,4]]},"411":{"position":[[3642,4]]},"419":{"position":[[587,4]]},"427":{"position":[[989,4]]},"452":{"position":[[317,4]]},"454":{"position":[[130,4]]},"459":{"position":[[151,4]]},"464":{"position":[[704,4]]},"534":{"position":[[407,4]]},"536":{"position":[[122,4]]},"594":{"position":[[405,4]]},"596":{"position":[[120,4]]},"610":{"position":[[117,4]]},"611":{"position":[[56,4],[397,4]]},"612":{"position":[[86,4]]},"613":{"position":[[229,4]]},"614":{"position":[[924,4]]},"616":{"position":[[129,4]]},"621":{"position":[[76,4]]},"626":{"position":[[757,4]]},"636":{"position":[[1,4]]},"647":{"position":[[138,4]]},"690":{"position":[[70,4],[209,4]]},"704":{"position":[[48,4]]},"705":{"position":[[1043,4]]},"775":{"position":[[313,4]]},"780":{"position":[[142,4]]},"781":{"position":[[489,4]]},"783":{"position":[[315,4]]},"796":{"position":[[188,4]]},"818":{"position":[[199,4]]},"826":{"position":[[576,4],[784,4],[882,4]]},"837":{"position":[[387,4],[532,4]]},"839":{"position":[[208,4]]},"841":{"position":[[970,4]]},"848":{"position":[[921,4]]},"871":{"position":[[284,4]]},"885":{"position":[[1272,4]]},"897":{"position":[[136,4],[393,4]]},"912":{"position":[[664,4]]},"947":{"position":[[27,4]]},"1009":{"position":[[838,4]]},"1018":{"position":[[708,4]]},"1022":{"position":[[50,4]]},"1043":{"position":[[33,4]]},"1069":{"position":[[109,4]]},"1137":{"position":[[215,4]]},"1147":{"position":[[317,4]]},"1149":{"position":[[22,4]]},"1198":{"position":[[326,4],[653,4]]},"1218":{"position":[[33,4]]},"1219":{"position":[[80,4]]},"1246":{"position":[[745,4]]},"1257":{"position":[[152,4]]},"1295":{"position":[[892,4],[984,4],[1124,4],[1286,4]]},"1296":{"position":[[163,4],[384,4],[569,4],[1164,4]]},"1315":{"position":[[69,4]]}},"keywords":{}}],["overal",{"_index":984,"title":{},"content":{"78":{"position":[[87,7]]},"81":{"position":[[116,7]]},"87":{"position":[[263,7]]},"111":{"position":[[141,7]]},"136":{"position":[[342,7]]},"141":{"position":[[175,7]]},"166":{"position":[[285,7]]},"173":{"position":[[2644,7]]},"236":{"position":[[113,7]]},"294":{"position":[[212,7]]},"304":{"position":[[106,7]]},"311":{"position":[[170,7]]},"409":{"position":[[101,7]]},"411":{"position":[[1746,7]]},"508":{"position":[[187,7]]},"587":{"position":[[88,7]]},"801":{"position":[[776,7]]},"802":{"position":[[821,7]]},"820":{"position":[[428,7]]},"836":{"position":[[2205,8]]}},"keywords":{}}],["overcom",{"_index":1876,"title":{},"content":{"306":{"position":[[306,10]]},"781":{"position":[[192,8]]}},"keywords":{}}],["overcompl",{"_index":3725,"title":{},"content":{"644":{"position":[[734,16]]}},"keywords":{}}],["overfetch",{"_index":3973,"title":{},"content":{"703":{"position":[[915,9]]}},"keywords":{}}],["overflow",{"_index":1762,"title":{},"content":{"299":{"position":[[1398,9]]},"779":{"position":[[55,8]]}},"keywords":{}}],["overhead",{"_index":393,"title":{},"content":{"23":{"position":[[409,9]]},"24":{"position":[[400,8]]},"265":{"position":[[818,9]]},"283":{"position":[[217,9]]},"311":{"position":[[253,8]]},"313":{"position":[[238,9]]},"361":{"position":[[1087,8]]},"376":{"position":[[164,8],[414,8]]},"383":{"position":[[552,8]]},"408":{"position":[[2002,8]]},"412":{"position":[[9887,10]]},"427":{"position":[[645,9],[802,9]]},"429":{"position":[[347,9]]},"463":{"position":[[897,8]]},"464":{"position":[[925,8]]},"490":{"position":[[539,9]]},"521":{"position":[[652,8]]},"527":{"position":[[192,8]]},"611":{"position":[[198,8]]},"622":{"position":[[284,8],[460,8]]},"623":{"position":[[301,8]]},"624":{"position":[[1438,8]]},"630":{"position":[[484,9]]},"631":{"position":[[501,8]]},"644":{"position":[[554,8]]},"723":{"position":[[948,8]]},"802":{"position":[[201,9]]},"836":{"position":[[1552,9]]},"841":{"position":[[929,8]]},"902":{"position":[[248,8]]},"1009":{"position":[[643,9]]},"1200":{"position":[[62,8]]},"1270":{"position":[[142,8]]},"1295":{"position":[[1501,9]]}},"keywords":{}}],["overhead.built",{"_index":1221,"title":{},"content":{"174":{"position":[[1763,14]]}},"keywords":{}}],["overhead.y",{"_index":1592,"title":{},"content":{"262":{"position":[[297,12]]}},"keywords":{}}],["overload",{"_index":5240,"title":{},"content":{"902":{"position":[[201,11]]}},"keywords":{}}],["overrid",{"_index":1731,"title":{},"content":{"298":{"position":[[824,10]]},"496":{"position":[[96,9]]},"635":{"position":[[267,8]]},"898":{"position":[[3908,9]]}},"keywords":{}}],["oversel",{"_index":2711,"title":{},"content":{"412":{"position":[[6453,11]]}},"keywords":{}}],["oversight",{"_index":3904,"title":{},"content":{"689":{"position":[[523,10]]}},"keywords":{}}],["overus",{"_index":4670,"title":{},"content":{"802":{"position":[[475,7]]}},"keywords":{}}],["overview",{"_index":878,"title":{"151":{"position":[[0,8]]},"177":{"position":[[0,8]]},"551":{"position":[[24,9]]},"566":{"position":[[0,9]]},"871":{"position":[[13,9]]},"897":{"position":[[13,9]]}},"content":{"60":{"position":[[23,8]]},"411":{"position":[[1009,8]]},"449":{"position":[[25,8]]},"547":{"position":[[23,8]]},"607":{"position":[[23,8]]},"641":{"position":[[119,9]]},"696":{"position":[[2010,8]]},"793":{"position":[[35,8],[171,8]]},"901":{"position":[[620,9]]}},"keywords":{}}],["overwhelm",{"_index":1642,"title":{},"content":{"277":{"position":[[99,12]]}},"keywords":{}}],["overwrit",{"_index":2058,"title":{"806":{"position":[[0,13]]}},"content":{"358":{"position":[[314,11]]},"496":{"position":[[428,9]]},"566":{"position":[[839,10]]},"654":{"position":[[210,9]]},"683":{"position":[[478,9]]},"806":{"position":[[94,9],[118,12],[165,13],[221,9]]},"863":{"position":[[556,11]]},"946":{"position":[[84,9]]},"987":{"position":[[916,9]]},"991":{"position":[[119,9]]},"1015":{"position":[[72,10]]},"1043":{"position":[[1,10]]},"1103":{"position":[[97,9]]},"1174":{"position":[[274,9]]},"1301":{"position":[[259,9]]},"1309":{"position":[[1221,9]]}},"keywords":{}}],["overwrite/polyfil",{"_index":6047,"title":{"1139":{"position":[[0,18]]},"1145":{"position":[[0,18]]}},"content":{},"keywords":{}}],["overwritten",{"_index":5343,"title":{},"content":{"946":{"position":[[117,11]]},"1004":{"position":[[636,12]]}},"keywords":{}}],["own",{"_index":4795,"title":{},"content":{"839":{"position":[[136,5]]},"841":{"position":[[228,6]]}},"keywords":{}}],["owner",{"_index":3640,"title":{},"content":{"617":{"position":[[952,6]]}},"keywords":{}}],["ownership",{"_index":1022,"title":{"417":{"position":[[5,9]]}},"content":{"97":{"position":[[133,9]]},"407":{"position":[[505,9],[966,9]]},"419":{"position":[[936,10]]},"839":{"position":[[1367,9]]},"902":{"position":[[368,9]]}},"keywords":{}}],["p",{"_index":4923,"title":{},"content":{"865":{"position":[[245,1]]}},"keywords":{}}],["p2",{"_index":4151,"title":{},"content":{"749":{"position":[[1548,2]]}},"keywords":{}}],["p2p",{"_index":1360,"title":{"210":{"position":[[11,3]]},"261":{"position":[[24,3]]},"868":{"position":[[28,3]]},"900":{"position":[[0,3]]},"902":{"position":[[12,3]]},"903":{"position":[[13,5]]}},"content":{"210":{"position":[[317,4]]},"261":{"position":[[394,3],[1017,3]]},"289":{"position":[[1582,5],[1679,3]]},"411":{"position":[[4858,3],[5103,3]]},"504":{"position":[[1270,5],[1314,3]]},"793":{"position":[[744,3]]},"868":{"position":[[28,3]]},"902":{"position":[[622,3]]},"903":{"position":[[139,3],[668,3]]},"904":{"position":[[1197,4],[1416,3],[2233,3],[3343,3]]},"906":{"position":[[5,3]]},"913":{"position":[[220,3],[324,3]]},"1121":{"position":[[187,3]]}},"keywords":{}}],["p2p"",{"_index":1458,"title":{},"content":{"243":{"position":[[477,9]]}},"keywords":{}}],["p2pconnectionhandlercr",{"_index":5259,"title":{},"content":{"904":{"position":[[1603,27]]}},"keywords":{}}],["pace",{"_index":1682,"title":{},"content":{"289":{"position":[[1524,5]]}},"keywords":{}}],["packag",{"_index":251,"title":{"1274":{"position":[[27,8]]},"1275":{"position":[[27,8]]}},"content":{"15":{"position":[[154,7]]},"16":{"position":[[46,8]]},"188":{"position":[[2076,7],[2123,7]]},"285":{"position":[[184,7]]},"364":{"position":[[427,8]]},"438":{"position":[[215,7],[245,7]]},"503":{"position":[[160,9]]},"523":{"position":[[16,7]]},"542":{"position":[[192,8]]},"617":{"position":[[2248,7],[2340,7]]},"662":{"position":[[972,8]]},"711":{"position":[[720,7],[798,7]]},"724":{"position":[[41,7],[115,8]]},"730":{"position":[[254,8]]},"824":{"position":[[563,7]]},"835":{"position":[[687,7]]},"852":{"position":[[104,8]]},"854":{"position":[[24,8]]},"866":{"position":[[20,8]]},"878":{"position":[[68,8]]},"882":{"position":[[49,7],[274,7]]},"910":{"position":[[186,7]]},"911":{"position":[[314,7],[468,7]]},"1097":{"position":[[60,7]]},"1112":{"position":[[63,8]]},"1189":{"position":[[23,8]]},"1271":{"position":[[796,7],[1041,9]]},"1276":{"position":[[42,7]]}},"keywords":{}}],["package.json",{"_index":3828,"title":{},"content":{"666":{"position":[[383,12]]},"726":{"position":[[80,13]]},"730":{"position":[[217,12]]},"731":{"position":[[86,13]]},"760":{"position":[[90,12]]},"1176":{"position":[[527,12]]}},"keywords":{}}],["package:rxdb/rxdb.dart",{"_index":1274,"title":{},"content":{"188":{"position":[[2541,25]]}},"keywords":{}}],["packageth",{"_index":3787,"title":{},"content":{"661":{"position":[[297,10],[331,10]]}},"keywords":{}}],["padstart(idmaxlength",{"_index":6462,"title":{},"content":{"1296":{"position":[[1533,24]]}},"keywords":{}}],["page",{"_index":1058,"title":{},"content":{"116":{"position":[[118,4]]},"266":{"position":[[1034,4]]},"298":{"position":[[397,5]]},"334":{"position":[[106,4]]},"346":{"position":[[387,4]]},"394":{"position":[[1316,4]]},"410":{"position":[[1569,4]]},"411":{"position":[[1018,4]]},"421":{"position":[[56,6],[114,5],[309,4]]},"424":{"position":[[362,5]]},"436":{"position":[[210,4]]},"454":{"position":[[758,4]]},"463":{"position":[[1321,4]]},"617":{"position":[[230,4]]},"653":{"position":[[659,4]]},"656":{"position":[[326,4]]},"664":{"position":[[34,4]]},"740":{"position":[[666,5]]},"781":{"position":[[384,4]]},"783":{"position":[[179,4],[267,4]]},"830":{"position":[[43,4]]},"831":{"position":[[46,5]]},"832":{"position":[[97,5]]},"868":{"position":[[93,4]]},"879":{"position":[[591,4]]},"958":{"position":[[177,4]]},"990":{"position":[[1163,4],[1386,4]]},"1137":{"position":[[261,4]]},"1161":{"position":[[110,4]]},"1162":{"position":[[590,4]]},"1164":{"position":[[383,4]]},"1180":{"position":[[110,4]]},"1181":{"position":[[678,4]]},"1192":{"position":[[473,4]]},"1238":{"position":[[355,4]]},"1246":{"position":[[1809,4]]},"1267":{"position":[[367,4]]},"1299":{"position":[[175,4]]},"1301":{"position":[[1427,4]]}},"keywords":{}}],["pageload",{"_index":3094,"title":{},"content":{"469":{"position":[[1009,9]]},"696":{"position":[[157,8]]},"1295":{"position":[[733,8]]}},"keywords":{}}],["pages",{"_index":3272,"title":{},"content":{"523":{"position":[[534,9]]}},"keywords":{}}],["pagin",{"_index":3273,"title":{},"content":{"523":{"position":[[547,11]]}},"keywords":{}}],["pain",{"_index":2755,"title":{},"content":{"412":{"position":[[12779,5]]}},"keywords":{}}],["painless",{"_index":3702,"title":{},"content":{"632":{"position":[[912,8]]}},"keywords":{}}],["pair",{"_index":2095,"title":{},"content":{"362":{"position":[[456,7]]},"426":{"position":[[59,6]]},"429":{"position":[[565,5]]},"432":{"position":[[231,5]]},"451":{"position":[[144,5]]},"486":{"position":[[201,5]]},"533":{"position":[[166,6]]},"559":{"position":[[62,5]]},"574":{"position":[[896,5]]},"593":{"position":[[166,6]]},"1124":{"position":[[977,6]]}},"keywords":{}}],["paper",{"_index":2865,"title":{},"content":{"422":{"position":[[296,5]]}},"keywords":{}}],["paradigm",{"_index":1237,"title":{"407":{"position":[[24,9]]},"445":{"position":[[20,8]]}},"content":{"179":{"position":[[369,9]]},"387":{"position":[[89,9]]},"409":{"position":[[175,8]]},"411":{"position":[[4965,8]]},"445":{"position":[[1243,9],[1580,8]]},"502":{"position":[[393,8]]},"723":{"position":[[2543,8]]}},"keywords":{}}],["paradox",{"_index":2581,"title":{},"content":{"409":{"position":[[9,7]]}},"keywords":{}}],["parallel",{"_index":2252,"title":{},"content":{"392":{"position":[[3192,8],[3322,9]]},"460":{"position":[[203,8]]},"617":{"position":[[1391,8],[1958,9]]},"749":{"position":[[9302,8]]},"752":{"position":[[833,8]]},"759":{"position":[[761,9],[832,9]]},"760":{"position":[[757,9]]},"767":{"position":[[136,8],[241,8],[435,8],[818,8]]},"768":{"position":[[117,8],[200,8],[417,8],[824,8]]},"769":{"position":[[128,8],[215,8],[370,8],[789,8]]},"801":{"position":[[628,8]]},"845":{"position":[[144,9]]},"863":{"position":[[665,9]]},"948":{"position":[[524,8]]},"958":{"position":[[595,8]]},"1088":{"position":[[137,9]]},"1175":{"position":[[693,8]]},"1194":{"position":[[883,9]]},"1238":{"position":[[231,8]]},"1295":{"position":[[939,8]]},"1313":{"position":[[175,8]]}},"keywords":{}}],["param",{"_index":4166,"title":{},"content":{"749":{"position":[[2323,6]]},"1088":{"position":[[572,5]]}},"keywords":{}}],["paramet",{"_index":174,"title":{},"content":{"11":{"position":[[941,9]]},"403":{"position":[[27,9]]},"616":{"position":[[807,10]]},"724":{"position":[[1711,9]]},"749":{"position":[[24283,9]]},"751":{"position":[[326,9]]},"766":{"position":[[40,10],[117,10],[203,10]]},"805":{"position":[[182,9]]},"806":{"position":[[488,10]]},"818":{"position":[[142,9]]},"886":{"position":[[4308,9],[4377,9],[4567,11]]},"890":{"position":[[604,9]]},"934":{"position":[[522,10]]},"937":{"position":[[10,10]]},"938":{"position":[[10,10]]},"960":{"position":[[120,11],[401,11]]},"971":{"position":[[129,9]]},"986":{"position":[[298,9]]},"1065":{"position":[[539,9],[1581,10],[1873,9]]},"1105":{"position":[[193,9]]},"1189":{"position":[[218,9]]},"1226":{"position":[[338,9]]},"1264":{"position":[[254,9]]}},"keywords":{}}],["parameters.direct",{"_index":5488,"title":{},"content":{"990":{"position":[[892,21]]}},"keywords":{}}],["parameters.error",{"_index":5487,"title":{},"content":{"990":{"position":[[813,18]]}},"keywords":{}}],["paramount",{"_index":1190,"title":{},"content":{"167":{"position":[[37,10]]},"310":{"position":[[28,9]]},"354":{"position":[[1335,10]]},"380":{"position":[[423,10]]},"526":{"position":[[38,9]]},"802":{"position":[[932,10]]}},"keywords":{}}],["params.databasenam",{"_index":6061,"title":{},"content":{"1140":{"position":[[770,21]]}},"keywords":{}}],["parent",{"_index":6108,"title":{},"content":{"1162":{"position":[[217,6],[550,6],[842,6]]},"1164":{"position":[[323,6],[572,6]]},"1165":{"position":[[123,6],[490,6],[587,6]]},"1181":{"position":[[283,6],[638,6]]}},"keywords":{}}],["parentdatabas",{"_index":6120,"title":{},"content":{"1165":{"position":[[706,14]]}},"keywords":{}}],["parentdatabase.addcollect",{"_index":6121,"title":{},"content":{"1165":{"position":[[801,32]]}},"keywords":{}}],["parentdatabase.mycollect",{"_index":6122,"title":{},"content":{"1165":{"position":[[879,28]]}},"keywords":{}}],["parentstorag",{"_index":6114,"title":{},"content":{"1163":{"position":[[284,13],[436,13]]},"1164":{"position":[[170,14],[941,14]]},"1165":{"position":[[294,13],[399,14],[777,13]]},"1182":{"position":[[284,13],[440,13]]}},"keywords":{}}],["pars",{"_index":2049,"title":{},"content":{"357":{"position":[[174,5]]},"358":{"position":[[769,6]]},"360":{"position":[[176,7]]},"364":{"position":[[439,6]]},"426":{"position":[[457,7]]},"427":{"position":[[739,7]]},"454":{"position":[[725,6]]},"463":{"position":[[1143,7]]},"566":{"position":[[247,5]]},"800":{"position":[[69,5],[142,6],[266,5],[306,7]]},"882":{"position":[[233,5]]},"1065":{"position":[[770,7]]},"1104":{"position":[[121,6],[720,5]]},"1171":{"position":[[412,5]]},"1252":{"position":[[245,5]]},"1317":{"position":[[384,5]]}},"keywords":{}}],["parsefloat(req.query.updatedat",{"_index":4992,"title":{},"content":{"875":{"position":[[2149,32]]}},"keywords":{}}],["parseint($('#heropoints').v",{"_index":1956,"title":{},"content":{"335":{"position":[[685,32]]}},"keywords":{}}],["part",{"_index":1160,"title":{"559":{"position":[[0,4]]},"560":{"position":[[0,4]]},"561":{"position":[[0,4]]},"563":{"position":[[0,4]]},"564":{"position":[[0,4]]},"800":{"position":[[6,5]]}},"content":{"152":{"position":[[45,4]]},"188":{"position":[[2015,4]]},"303":{"position":[[1160,4]]},"358":{"position":[[244,5]]},"408":{"position":[[1567,4]]},"412":{"position":[[573,4],[1019,5]]},"451":{"position":[[44,4]]},"617":{"position":[[339,4]]},"618":{"position":[[393,4]]},"662":{"position":[[1014,4]]},"680":{"position":[[315,5]]},"696":{"position":[[1846,5]]},"698":{"position":[[2121,5]]},"701":{"position":[[1052,5]]},"707":{"position":[[45,6]]},"710":{"position":[[844,4]]},"749":{"position":[[15185,4]]},"829":{"position":[[129,4]]},"830":{"position":[[177,4]]},"838":{"position":[[1502,4]]},"854":{"position":[[1537,4]]},"875":{"position":[[7607,4]]},"981":{"position":[[329,5],[380,5],[596,5]]},"986":{"position":[[311,4]]},"1009":{"position":[[1067,5]]},"1078":{"position":[[775,5]]},"1124":{"position":[[1378,5]]},"1129":{"position":[[7,4]]},"1141":{"position":[[7,4]]},"1162":{"position":[[885,4],[920,4]]},"1181":{"position":[[837,4],[872,4]]},"1210":{"position":[[223,4]]},"1215":{"position":[[411,4]]},"1246":{"position":[[794,4]]},"1304":{"position":[[916,4]]},"1307":{"position":[[174,5]]}},"keywords":{}}],["parti",{"_index":1103,"title":{"1247":{"position":[[6,5]]},"1284":{"position":[[6,5]]}},"content":{"131":{"position":[[176,5]]},"412":{"position":[[1600,5]]},"482":{"position":[[1198,7]]},"550":{"position":[[50,5]]},"611":{"position":[[436,7]]},"793":{"position":[[1219,5]]},"902":{"position":[[463,5]]},"1102":{"position":[[264,5]]},"1284":{"position":[[6,5]]}},"keywords":{}}],["partial",{"_index":650,"title":{"1006":{"position":[[0,7]]},"1009":{"position":[[0,7]]}},"content":{"41":{"position":[[86,7]]},"212":{"position":[[167,7]]},"245":{"position":[[19,7]]},"250":{"position":[[233,7]]},"299":{"position":[[379,7]]},"357":{"position":[[230,7]]},"358":{"position":[[471,7],[656,7],[919,7]]},"362":{"position":[[709,7]]},"412":{"position":[[7458,7],[13804,7]]},"418":{"position":[[574,7]]},"497":{"position":[[737,7]]},"559":{"position":[[1480,7]]},"626":{"position":[[328,7]]},"635":{"position":[[361,7]]},"699":{"position":[[859,9]]},"705":{"position":[[750,9]]},"723":{"position":[[254,7]]},"800":{"position":[[59,9],[298,7]]},"841":{"position":[[679,7],[1557,7]]},"1030":{"position":[[172,9]]},"1033":{"position":[[137,9]]},"1072":{"position":[[94,7]]},"1093":{"position":[[259,9]]},"1116":{"position":[[145,9]]}},"keywords":{}}],["participants.onlin",{"_index":2782,"title":{},"content":{"414":{"position":[[223,19]]}},"keywords":{}}],["particular",{"_index":5558,"title":{},"content":{"1007":{"position":[[388,10]]}},"keywords":{}}],["particularli",{"_index":532,"title":{},"content":{"34":{"position":[[253,12]]},"40":{"position":[[112,12]]},"65":{"position":[[1193,12]]},"69":{"position":[[177,12]]},"122":{"position":[[287,12]]},"133":{"position":[[281,12]]},"141":{"position":[[218,12]]},"169":{"position":[[227,12]]},"173":{"position":[[2084,12]]},"185":{"position":[[146,12]]},"215":{"position":[[285,12]]},"216":{"position":[[241,12]]},"220":{"position":[[229,12]]},"232":{"position":[[230,12]]},"276":{"position":[[177,12]]},"287":{"position":[[806,12]]},"309":{"position":[[66,12]]},"375":{"position":[[21,12]]},"418":{"position":[[14,12]]},"508":{"position":[[105,12]]},"526":{"position":[[215,12]]},"584":{"position":[[193,12]]},"839":{"position":[[46,12]]},"902":{"position":[[896,12]]},"912":{"position":[[518,12]]}},"keywords":{}}],["partit",{"_index":2721,"title":{},"content":{"412":{"position":[[7624,11],[12266,9]]},"1295":{"position":[[88,11],[553,12]]}},"keywords":{}}],["partli",{"_index":2764,"title":{},"content":{"412":{"position":[[13683,6]]}},"keywords":{}}],["pass",{"_index":172,"title":{"1229":{"position":[[0,7]]},"1268":{"position":[[0,7]]}},"content":{"11":{"position":[[924,6]]},"55":{"position":[[618,4]]},"682":{"position":[[286,4]]},"721":{"position":[[428,6]]},"749":{"position":[[11965,4]]},"789":{"position":[[26,4]]},"806":{"position":[[660,6]]},"886":{"position":[[4365,6]]},"890":{"position":[[584,4],[742,4]]},"907":{"position":[[148,7]]},"950":{"position":[[86,4]]},"951":{"position":[[554,6]]},"971":{"position":[[114,4]]},"975":{"position":[[602,6]]},"988":{"position":[[4276,6]]},"1065":{"position":[[190,4]]},"1084":{"position":[[483,4]]},"1105":{"position":[[290,4]]},"1139":{"position":[[191,4]]},"1145":{"position":[[187,4]]},"1146":{"position":[[162,7]]},"1156":{"position":[[297,4]]},"1271":{"position":[[284,4]]},"1282":{"position":[[652,4],[850,4]]}},"keywords":{}}],["passeng",{"_index":3462,"title":{},"content":{"569":{"position":[[850,11]]}},"keywords":{}}],["passportid",{"_index":4955,"title":{},"content":{"872":{"position":[[1884,13],[1928,11],[2049,14],[4114,13],[4158,11],[4279,14]]},"898":{"position":[[2464,13],[2508,11],[2654,14]]},"1051":{"position":[[216,11],[486,11]]},"1311":{"position":[[403,13],[447,11],[578,14],[1513,11]]}},"keywords":{}}],["password",{"_index":1400,"title":{"218":{"position":[[0,8]]},"715":{"position":[[0,8]]},"719":{"position":[[13,9]]},"963":{"position":[[0,9]]}},"content":{"314":{"position":[[647,10]]},"315":{"position":[[607,9]]},"334":{"position":[[407,9],[454,8]]},"412":{"position":[[13354,8]]},"482":{"position":[[587,8],[684,9],[1159,9]]},"522":{"position":[[521,9],[554,8]]},"554":{"position":[[1133,9]]},"556":{"position":[[8,8],[43,9],[184,8],[276,8],[502,8]]},"564":{"position":[[542,8],[657,9]]},"579":{"position":[[416,9],[463,8]]},"632":{"position":[[1380,8]]},"638":{"position":[[494,9],[931,9]]},"715":{"position":[[70,9],[116,8],[204,10],[265,9],[299,8],[384,10]]},"716":{"position":[[63,8],[282,8],[347,8],[412,8],[464,8]]},"717":{"position":[[944,8],[999,8],[1221,9]]},"718":{"position":[[563,9],[733,9]]},"719":{"position":[[5,8],[76,8],[146,8],[190,8],[329,8],[413,8],[443,8]]},"720":{"position":[[285,8]]},"721":{"position":[[308,8],[343,8]]},"739":{"position":[[359,9]]},"749":{"position":[[4794,8],[12888,8],[12997,8],[13118,8],[13191,8]]},"912":{"position":[[490,10]]},"916":{"position":[[297,8]]},"960":{"position":[[416,9],[449,8]]},"963":{"position":[[99,8],[120,8]]}},"keywords":{}}],["passwordkeep",{"_index":1879,"title":{},"content":{"310":{"position":[[208,12]]}},"keywords":{}}],["past",{"_index":465,"title":{},"content":{"28":{"position":[[635,5]]},"408":{"position":[[204,5],[1262,4]]},"414":{"position":[[89,4]]},"780":{"position":[[8,5]]},"783":{"position":[[8,4]]},"1208":{"position":[[495,5]]},"1316":{"position":[[1610,4]]},"1324":{"position":[[128,4]]}},"keywords":{}}],["patch",{"_index":744,"title":{"50":{"position":[[0,5]]},"129":{"position":[[0,5]]},"1043":{"position":[[0,8]]},"1060":{"position":[[0,7]]}},"content":{"50":{"position":[[151,5],[307,5],[507,5]]},"129":{"position":[[275,5],[426,8],[608,5],[727,5]]},"1044":{"position":[[472,5]]},"1198":{"position":[[851,7],[910,7]]}},"keywords":{}}],["path",{"_index":656,"title":{},"content":{"41":{"position":[[282,4]]},"188":{"position":[[2310,5]]},"356":{"position":[[257,5]]},"396":{"position":[[471,5]]},"412":{"position":[[11709,4]]},"483":{"position":[[551,5]]},"681":{"position":[[594,4]]},"749":{"position":[[3853,4],[6252,5],[9680,4],[10096,4],[14025,4]]},"810":{"position":[[87,4]]},"838":{"position":[[2276,4]]},"886":{"position":[[1364,4]]},"892":{"position":[[319,5]]},"902":{"position":[[691,6]]},"1033":{"position":[[540,4]]},"1039":{"position":[[50,5],[89,4]]},"1102":{"position":[[1106,6]]},"1125":{"position":[[477,4]]},"1134":{"position":[[436,4]]},"1226":{"position":[[429,4]]},"1227":{"position":[[427,4],[777,4]]},"1264":{"position":[[339,4]]},"1265":{"position":[[420,4],[759,4]]},"1266":{"position":[[171,4],[311,4],[488,4],[644,5]]}},"keywords":{}}],["path.join(__dirnam",{"_index":5910,"title":{},"content":{"1090":{"position":[[899,20]]},"1130":{"position":[[246,20]]}},"keywords":{}}],["path.resolv",{"_index":6309,"title":{},"content":{"1266":{"position":[[274,13],[650,13]]}},"keywords":{}}],["path/to/database/file/foobar.db",{"_index":4573,"title":{},"content":{"772":{"position":[[1640,34],[2402,34]]}},"keywords":{}}],["path/to/fdb.clust",{"_index":4568,"title":{},"content":{"772":{"position":[[874,22]]},"774":{"position":[[802,22]]},"1134":{"position":[[565,23]]}},"keywords":{}}],["path/to/shar",{"_index":6269,"title":{},"content":{"1226":{"position":[[577,15]]}},"keywords":{}}],["path/to/worker.j",{"_index":6287,"title":{},"content":{"1238":{"position":[[957,20]]},"1264":{"position":[[464,20]]},"1267":{"position":[[523,19]]}},"keywords":{}}],["path/to/your/node_modules/rxdb/src/plugins/flutter/dart",{"_index":1271,"title":{},"content":{"188":{"position":[[2316,55]]}},"keywords":{}}],["pattern",{"_index":1984,"title":{},"content":{"347":{"position":[[607,8]]},"362":{"position":[[1678,8]]},"369":{"position":[[1513,9]]},"411":{"position":[[3077,7]]},"420":{"position":[[765,9]]},"421":{"position":[[500,7]]},"462":{"position":[[429,9]]},"464":{"position":[[1104,7]]},"491":{"position":[[1772,7]]},"521":{"position":[[166,9]]},"634":{"position":[[83,8]]},"832":{"position":[[70,8]]},"1009":{"position":[[588,7]]},"1134":{"position":[[729,9]]},"1193":{"position":[[246,8]]},"1195":{"position":[[17,8]]},"1222":{"position":[[658,9]]}},"keywords":{}}],["paus",{"_index":3952,"title":{"998":{"position":[[0,8]]}},"content":{"700":{"position":[[687,6]]},"998":{"position":[[1,6]]},"1001":{"position":[[36,7]]},"1003":{"position":[[247,7]]}},"keywords":{}}],["pave",{"_index":1665,"title":{},"content":{"285":{"position":[[299,5]]},"441":{"position":[[646,4]]}},"keywords":{}}],["pay",{"_index":1556,"title":{},"content":{"251":{"position":[[156,3]]},"262":{"position":[[274,3]]}},"keywords":{}}],["payload",{"_index":3591,"title":{},"content":{"612":{"position":[[1610,9]]}},"keywords":{}}],["pc",{"_index":2428,"title":{},"content":{"399":{"position":[[270,4],[566,2]]},"1162":{"position":[[134,2]]},"1171":{"position":[[151,2]]},"1181":{"position":[[200,2]]}},"keywords":{}}],["peer",{"_index":477,"title":{"727":{"position":[[0,4]]},"903":{"position":[[0,4],[8,4]]},"907":{"position":[[0,4]]}},"content":{"29":{"position":[[152,4],[160,4]]},"40":{"position":[[243,4],[251,4]]},"210":{"position":[[59,4],[67,4],[698,6]]},"212":{"position":[[521,4]]},"261":{"position":[[71,4],[79,4],[894,5],[1047,5]]},"289":{"position":[[1569,4],[1577,4]]},"327":{"position":[[284,6]]},"411":{"position":[[4992,4],[5000,4]]},"481":{"position":[[381,4],[389,4]]},"504":{"position":[[1257,4],[1265,4]]},"614":{"position":[[296,4],[304,4],[519,6]]},"632":{"position":[[703,4],[711,4]]},"727":{"position":[[30,4]]},"749":{"position":[[16035,4]]},"901":{"position":[[170,6],[396,4],[404,4],[722,4],[730,4]]},"902":{"position":[[178,5]]},"903":{"position":[[372,4],[560,6]]},"904":{"position":[[1739,4],[2376,4],[2412,5],[3330,5]]},"905":{"position":[[119,5]]},"906":{"position":[[129,5],[259,4]]},"907":{"position":[[54,4],[122,5],[222,5],[249,6],[335,6]]},"910":{"position":[[99,4]]}},"keywords":{}}],["pend",{"_index":2153,"title":{},"content":{"380":{"position":[[216,7]]}},"keywords":{}}],["peopl",{"_index":2308,"title":{"420":{"position":[[3,6]]}},"content":{"394":{"position":[[616,8]]},"419":{"position":[[1298,6]]},"420":{"position":[[1062,6]]},"422":{"position":[[215,6]]},"454":{"position":[[484,6]]},"456":{"position":[[123,6]]},"569":{"position":[[982,6]]},"570":{"position":[[45,6]]},"611":{"position":[[1283,6]]},"613":{"position":[[1015,6]]},"670":{"position":[[193,7]]},"704":{"position":[[248,6]]},"705":{"position":[[246,6]]},"749":{"position":[[21854,6]]},"987":{"position":[[932,7]]},"1249":{"position":[[14,6]]},"1315":{"position":[[11,6],[96,6]]}},"keywords":{}}],["per",{"_index":1713,"title":{"617":{"position":[[11,3]]},"1267":{"position":[[11,3]]}},"content":{"298":{"position":[[312,3]]},"299":{"position":[[279,3],[604,3]]},"392":{"position":[[3088,3],[3718,3],[3832,3],[4689,3],[5097,3]]},"401":{"position":[[146,3]]},"402":{"position":[[1460,3]]},"408":{"position":[[1014,3],[1099,3],[1185,3],[4745,3]]},"412":{"position":[[5770,3],[6961,3],[7636,3],[10132,3],[12281,3],[12556,3]]},"432":{"position":[[334,3]]},"461":{"position":[[727,3],[814,3],[839,3],[864,3]]},"464":{"position":[[532,3],[724,3],[825,3],[1027,3],[1228,3],[1384,3]]},"465":{"position":[[394,3]]},"466":{"position":[[572,3]]},"469":{"position":[[296,3]]},"617":{"position":[[44,3],[1257,3],[2029,3]]},"654":{"position":[[32,3]]},"661":{"position":[[391,3]]},"696":{"position":[[1352,3]]},"703":{"position":[[1003,3],[1372,3]]},"736":{"position":[[408,3]]},"849":{"position":[[243,3],[251,3]]},"863":{"position":[[402,3]]},"866":{"position":[[237,3]]},"890":{"position":[[458,3]]},"904":{"position":[[2062,3]]},"981":{"position":[[1069,3]]},"1074":{"position":[[614,3]]},"1126":{"position":[[179,3]]},"1157":{"position":[[167,3]]},"1194":{"position":[[675,3]]},"1222":{"position":[[594,3],[1188,3]]},"1323":{"position":[[203,3]]}},"keywords":{}}],["perceiv",{"_index":3153,"title":{},"content":{"486":{"position":[[47,8]]},"571":{"position":[[1672,8]]},"630":{"position":[[330,9]]},"1246":{"position":[[285,9],[605,9]]}},"keywords":{}}],["percent",{"_index":4469,"title":{},"content":{"752":{"position":[[1274,8]]}},"keywords":{}}],["percentag",{"_index":1709,"title":{},"content":{"298":{"position":[[218,10],[525,10]]},"752":{"position":[[1288,10]]}},"keywords":{}}],["percept",{"_index":4589,"title":{},"content":{"778":{"position":[[414,11]]}},"keywords":{}}],["perf",{"_index":4811,"title":{},"content":{"841":{"position":[[1080,5]]}},"keywords":{}}],["perfect",{"_index":1034,"title":{},"content":{"102":{"position":[[107,7]]},"263":{"position":[[480,7]]},"287":{"position":[[919,7]]},"373":{"position":[[665,7]]},"384":{"position":[[11,7]]}},"keywords":{}}],["perfectli",{"_index":3155,"title":{},"content":{"486":{"position":[[207,9]]}},"keywords":{}}],["perfekt""how",{"_index":1535,"title":{},"content":{"245":{"position":[[85,22]]}},"keywords":{}}],["perform",{"_index":63,"title":{"60":{"position":[[0,11]]},"70":{"position":[[24,12]]},"101":{"position":[[24,12]]},"138":{"position":[[13,11]]},"194":{"position":[[13,11]]},"227":{"position":[[24,12]]},"265":{"position":[[10,11]]},"277":{"position":[[14,11]]},"283":{"position":[[6,12]]},"342":{"position":[[13,11]]},"369":{"position":[[19,12]]},"376":{"position":[[0,11]]},"385":{"position":[[0,11]]},"395":{"position":[[35,12]]},"399":{"position":[[0,11]]},"400":{"position":[[0,11]]},"401":{"position":[[0,11]]},"402":{"position":[[10,11]]},"415":{"position":[[12,12]]},"462":{"position":[[0,11]]},"468":{"position":[[0,11]]},"507":{"position":[[13,11]]},"527":{"position":[[13,11]]},"547":{"position":[[0,11]]},"587":{"position":[[13,11]]},"607":{"position":[[0,11]]},"620":{"position":[[0,11]]},"641":{"position":[[0,11]]},"703":{"position":[[0,11]]},"794":{"position":[[0,11]]},"1120":{"position":[[17,12]]},"1137":{"position":[[10,11]]},"1152":{"position":[[0,11]]},"1191":{"position":[[10,11]]},"1193":{"position":[[0,11]]},"1195":{"position":[[23,11]]},"1196":{"position":[[27,11]]},"1209":{"position":[[5,12]]},"1270":{"position":[[0,11]]},"1292":{"position":[[0,11]]}},"content":{"4":{"position":[[108,11]]},"5":{"position":[[67,11]]},"6":{"position":[[95,11]]},"17":{"position":[[207,11]]},"24":{"position":[[481,11],[694,11]]},"28":{"position":[[120,11]]},"31":{"position":[[235,12],[270,11]]},"33":{"position":[[122,11]]},"34":{"position":[[153,7]]},"46":{"position":[[252,12]]},"51":{"position":[[122,12]]},"52":{"position":[[44,7]]},"58":{"position":[[144,11]]},"59":{"position":[[137,12]]},"60":{"position":[[11,11]]},"61":{"position":[[357,11]]},"65":{"position":[[866,12],[1886,12]]},"66":{"position":[[139,11],[229,11]]},"70":{"position":[[93,11],[202,11]]},"78":{"position":[[95,11]]},"81":{"position":[[124,12]]},"87":{"position":[[184,12]]},"92":{"position":[[166,12]]},"101":{"position":[[29,11],[205,11]]},"106":{"position":[[187,11]]},"107":{"position":[[152,11]]},"108":{"position":[[191,12]]},"111":{"position":[[149,12]]},"114":{"position":[[710,12]]},"117":{"position":[[285,11]]},"131":{"position":[[323,11]]},"138":{"position":[[18,12],[264,11]]},"140":{"position":[[182,7]]},"141":{"position":[[45,12]]},"146":{"position":[[163,11]]},"166":{"position":[[14,11],[58,12],[293,11]]},"170":{"position":[[482,12]]},"173":{"position":[[192,12],[744,11],[1950,7],[2652,11]]},"174":{"position":[[1169,11],[1739,11],[2495,12]]},"177":{"position":[[110,11]]},"178":{"position":[[375,12]]},"181":{"position":[[151,10]]},"189":{"position":[[773,11]]},"193":{"position":[[92,12]]},"194":{"position":[[48,11]]},"197":{"position":[[47,12],[209,12]]},"204":{"position":[[172,9]]},"212":{"position":[[233,7]]},"216":{"position":[[318,7]]},"224":{"position":[[220,9]]},"234":{"position":[[151,9],[240,11]]},"236":{"position":[[130,12]]},"241":{"position":[[532,12]]},"265":{"position":[[212,9]]},"266":{"position":[[295,11]]},"267":{"position":[[170,11],[1001,7]]},"271":{"position":[[155,11]]},"276":{"position":[[43,7]]},"277":{"position":[[269,12]]},"283":{"position":[[18,11],[403,12]]},"287":{"position":[[1259,11]]},"294":{"position":[[224,12]]},"311":{"position":[[178,11]]},"314":{"position":[[150,12],[968,11]]},"318":{"position":[[301,11],[496,11]]},"336":{"position":[[297,11]]},"342":{"position":[[57,12]]},"345":{"position":[[134,12]]},"346":{"position":[[847,12]]},"352":{"position":[[170,10]]},"357":{"position":[[191,7]]},"366":{"position":[[372,12]]},"369":{"position":[[40,11],[418,11],[616,11],[1406,11]]},"370":{"position":[[232,12]]},"373":{"position":[[547,12]]},"376":{"position":[[13,11]]},"383":{"position":[[540,11]]},"385":{"position":[[257,11]]},"392":{"position":[[2995,11],[3169,12],[3369,11]]},"393":{"position":[[622,11]]},"396":{"position":[[82,12],[1502,11]]},"398":{"position":[[61,7],[166,12],[3152,11]]},"399":{"position":[[27,11],[207,11],[431,11],[521,11]]},"400":{"position":[[353,11],[488,8]]},"401":{"position":[[741,12],[860,11]]},"402":{"position":[[52,11],[910,11],[1043,11],[1670,11],[1754,11],[2290,12],[2565,11],[2723,11]]},"408":{"position":[[1710,7],[1990,11],[3688,11],[4236,12],[4395,12],[4980,11],[5312,11],[5543,11]]},"410":{"position":[[1,11]]},"412":{"position":[[4976,12],[9464,11],[9652,11],[10546,11],[10725,11]]},"419":{"position":[[960,11]]},"420":{"position":[[1526,11]]},"427":{"position":[[254,9],[349,11],[790,11],[951,7],[1194,11]]},"429":{"position":[[28,12]]},"430":{"position":[[531,12],[771,11],[839,11]]},"432":{"position":[[704,11],[1417,11]]},"433":{"position":[[161,11],[245,11]]},"434":{"position":[[316,12]]},"442":{"position":[[116,11]]},"446":{"position":[[797,11]]},"447":{"position":[[43,11]]},"450":{"position":[[512,11],[634,11]]},"452":{"position":[[558,11]]},"454":{"position":[[58,11]]},"457":{"position":[[687,11]]},"459":{"position":[[183,10]]},"462":{"position":[[78,11],[316,11],[417,11],[821,11],[1002,11]]},"464":{"position":[[1092,11]]},"465":{"position":[[426,7]]},"466":{"position":[[392,8]]},"469":{"position":[[52,11],[135,11],[442,11],[1101,11],[1209,11],[1297,11],[1400,12]]},"470":{"position":[[605,12]]},"483":{"position":[[1013,11]]},"485":{"position":[[217,11]]},"489":{"position":[[352,7]]},"490":{"position":[[703,12]]},"507":{"position":[[1,11]]},"514":{"position":[[182,10]]},"521":{"position":[[306,11]]},"527":{"position":[[63,12]]},"528":{"position":[[71,12]]},"534":{"position":[[87,11]]},"535":{"position":[[458,7]]},"538":{"position":[[136,11]]},"539":{"position":[[44,7]]},"545":{"position":[[65,12]]},"546":{"position":[[170,12],[315,12]]},"547":{"position":[[11,11]]},"554":{"position":[[203,11]]},"556":{"position":[[1048,11],[1063,11],[1516,11]]},"557":{"position":[[437,11]]},"559":{"position":[[1472,7]]},"574":{"position":[[398,12]]},"581":{"position":[[698,12]]},"587":{"position":[[154,11]]},"588":{"position":[[123,11]]},"594":{"position":[[85,11]]},"595":{"position":[[486,7]]},"598":{"position":[[136,11]]},"599":{"position":[[44,7]]},"605":{"position":[[65,12]]},"606":{"position":[[170,12],[305,12]]},"607":{"position":[[11,11]]},"613":{"position":[[413,11]]},"618":{"position":[[486,12]]},"620":{"position":[[15,11],[267,11],[408,11],[629,11]]},"624":{"position":[[1639,11]]},"634":{"position":[[199,8]]},"641":{"position":[[1,10],[107,11],[247,8]]},"643":{"position":[[168,12]]},"644":{"position":[[203,11]]},"656":{"position":[[151,11]]},"662":{"position":[[769,11]]},"690":{"position":[[257,8]]},"703":{"position":[[713,11],[793,11],[1660,11]]},"704":{"position":[[392,11]]},"705":{"position":[[493,11]]},"709":{"position":[[647,12],[813,11],[1029,11]]},"710":{"position":[[788,11],[2185,11]]},"714":{"position":[[570,7],[908,7]]},"716":{"position":[[90,11]]},"723":{"position":[[159,9],[414,9],[1707,11],[2203,7],[2598,9]]},"749":{"position":[[21140,11],[21624,12]]},"772":{"position":[[2522,11]]},"774":{"position":[[25,11],[888,11]]},"783":{"position":[[67,7]]},"793":{"position":[[1264,11],[1286,11],[1304,11]]},"796":{"position":[[232,12]]},"797":{"position":[[140,11]]},"798":{"position":[[67,12],[452,11],[798,12]]},"800":{"position":[[180,11]]},"801":{"position":[[68,11],[796,11]]},"802":{"position":[[105,12],[917,11]]},"821":{"position":[[928,9]]},"828":{"position":[[483,11]]},"836":{"position":[[1686,11]]},"837":{"position":[[670,11]]},"838":{"position":[[1446,11],[3146,11]]},"839":{"position":[[316,11]]},"841":{"position":[[865,11]]},"875":{"position":[[9418,11]]},"894":{"position":[[126,11]]},"945":{"position":[[362,11]]},"947":{"position":[[61,11]]},"951":{"position":[[72,11]]},"962":{"position":[[280,12],[431,11]]},"965":{"position":[[77,11],[299,12]]},"966":{"position":[[400,11]]},"983":{"position":[[88,12]]},"989":{"position":[[12,12]]},"1005":{"position":[[164,11]]},"1013":{"position":[[12,12]]},"1052":{"position":[[113,11]]},"1065":{"position":[[1604,11]]},"1066":{"position":[[254,12],[604,12]]},"1067":{"position":[[147,12],[164,11],[638,11],[997,11],[1783,11]]},"1068":{"position":[[512,12]]},"1069":{"position":[[54,11]]},"1071":{"position":[[491,11]]},"1072":{"position":[[396,12],[877,11],[1117,7],[1509,11],[2580,7]]},"1083":{"position":[[307,11]]},"1085":{"position":[[164,11],[978,7]]},"1090":{"position":[[120,12]]},"1093":{"position":[[423,11]]},"1094":{"position":[[619,11]]},"1098":{"position":[[127,11]]},"1099":{"position":[[119,11]]},"1105":{"position":[[1021,11]]},"1107":{"position":[[940,11]]},"1108":{"position":[[577,11]]},"1112":{"position":[[586,11]]},"1120":{"position":[[47,12],[426,10],[520,11],[706,11]]},"1124":{"position":[[577,12],[1730,11]]},"1125":{"position":[[699,12]]},"1132":{"position":[[193,12]]},"1134":{"position":[[681,11]]},"1137":{"position":[[14,11],[238,11]]},"1138":{"position":[[369,12],[559,11]]},"1141":{"position":[[153,12]]},"1143":{"position":[[212,11]]},"1150":{"position":[[360,7]]},"1152":{"position":[[5,11],[116,11]]},"1157":{"position":[[332,11]]},"1161":{"position":[[21,11]]},"1164":{"position":[[47,11]]},"1175":{"position":[[430,11]]},"1180":{"position":[[21,11]]},"1186":{"position":[[125,12]]},"1188":{"position":[[360,7]]},"1191":{"position":[[58,12],[437,11],[556,11],[647,11]]},"1192":{"position":[[176,11],[414,12]]},"1193":{"position":[[36,11],[149,11]]},"1195":{"position":[[5,11],[188,11]]},"1198":{"position":[[432,12],[928,11]]},"1200":{"position":[[21,11]]},"1206":{"position":[[444,11]]},"1207":{"position":[[253,10]]},"1209":{"position":[[169,11],[354,11]]},"1222":{"position":[[712,11]]},"1230":{"position":[[202,12]]},"1231":{"position":[[131,12],[270,12]]},"1243":{"position":[[92,11]]},"1244":{"position":[[78,11]]},"1246":{"position":[[295,11],[615,11],[1029,11],[1525,11]]},"1247":{"position":[[42,11],[354,10],[527,10],[720,10]]},"1250":{"position":[[262,11],[439,11]]},"1271":{"position":[[657,11]]},"1276":{"position":[[366,11]]},"1287":{"position":[[54,7]]},"1292":{"position":[[19,11]]},"1294":{"position":[[82,12],[196,11],[1815,11]]},"1295":{"position":[[649,11],[771,11]]},"1296":{"position":[[27,11],[534,12],[1647,11]]},"1297":{"position":[[183,12],[446,11],[477,11]]},"1298":{"position":[[56,11]]},"1299":{"position":[[48,11]]},"1304":{"position":[[1487,11]]},"1309":{"position":[[893,12]]},"1315":{"position":[[1037,11]]},"1324":{"position":[[976,7]]}},"keywords":{}}],["performance.big",{"_index":2902,"title":{},"content":{"430":{"position":[[399,15]]}},"keywords":{}}],["performance.memori",{"_index":1107,"title":{},"content":{"131":{"position":[[694,18]]}},"keywords":{}}],["performance.sqlit",{"_index":3717,"title":{},"content":{"640":{"position":[[248,18]]}},"keywords":{}}],["performance.tri",{"_index":5282,"title":{},"content":{"913":{"position":[[150,15]]}},"keywords":{}}],["performance.vers",{"_index":5063,"title":{},"content":{"876":{"position":[[379,19]]}},"keywords":{}}],["performancey",{"_index":17,"title":{},"content":{"1":{"position":[[242,14]]}},"keywords":{}}],["perhap",{"_index":2745,"title":{},"content":{"412":{"position":[[11374,7]]}},"keywords":{}}],["period",{"_index":1858,"title":{},"content":{"303":{"position":[[1501,7]]},"305":{"position":[[238,6]]},"411":{"position":[[501,12],[716,8]]},"412":{"position":[[667,8]]},"618":{"position":[[310,6]]},"1301":{"position":[[200,12]]}},"keywords":{}}],["perk",{"_index":2859,"title":{},"content":{"421":{"position":[[1230,5]]}},"keywords":{}}],["perman",{"_index":453,"title":{},"content":{"28":{"position":[[191,9]]},"305":{"position":[[384,9]]},"799":{"position":[[126,11]]}},"keywords":{}}],["permanentlycal",{"_index":5904,"title":{},"content":{"1085":{"position":[[3590,15]]}},"keywords":{}}],["permiss",{"_index":359,"title":{"701":{"position":[[0,11]]}},"content":{"21":{"position":[[103,10]]},"299":{"position":[[488,10]]},"408":{"position":[[688,11]]},"412":{"position":[[12379,10],[12618,10],[13033,12],[13078,11]]},"662":{"position":[[883,10]]},"701":{"position":[[262,10],[510,10]]},"861":{"position":[[2201,10],[2254,11],[2379,11],[2408,10]]},"1198":{"position":[[1961,10]]}},"keywords":{}}],["permissions).conflict",{"_index":6074,"title":{},"content":{"1148":{"position":[[343,21]]}},"keywords":{}}],["permit",{"_index":2536,"title":{},"content":{"408":{"position":[[1166,7]]}},"keywords":{}}],["persist",{"_index":10,"title":{"266":{"position":[[0,11]]},"697":{"position":[[30,11]]},"772":{"position":[[0,10]]},"774":{"position":[[17,11]]},"1113":{"position":[[19,10]]},"1115":{"position":[[17,12]]},"1184":{"position":[[18,10]]},"1185":{"position":[[12,12]]},"1192":{"position":[[0,10],[19,10]]},"1300":{"position":[[11,12]]}},"content":{"1":{"position":[[127,10],[269,10]]},"28":{"position":[[178,7],[285,11]]},"30":{"position":[[129,12]]},"31":{"position":[[60,11]]},"32":{"position":[[21,10],[182,11],[225,7]]},"34":{"position":[[191,7]]},"35":{"position":[[549,10]]},"40":{"position":[[561,11],[770,12]]},"42":{"position":[[234,11],[357,12]]},"117":{"position":[[194,10]]},"131":{"position":[[43,10],[548,12],[604,10],[739,10],[892,12]]},"162":{"position":[[636,10]]},"178":{"position":[[68,10]]},"188":{"position":[[261,11],[346,8]]},"189":{"position":[[435,7],[577,12]]},"266":{"position":[[64,11],[152,7],[492,11],[971,12]]},"267":{"position":[[1373,11]]},"287":{"position":[[542,12]]},"300":{"position":[[528,10],[826,10]]},"305":{"position":[[416,10]]},"365":{"position":[[525,10],[696,11],[850,10]]},"408":{"position":[[1898,10],[3803,10],[4135,10]]},"412":{"position":[[7655,11]]},"424":{"position":[[119,12]]},"430":{"position":[[932,12],[986,10]]},"436":{"position":[[25,11]]},"437":{"position":[[252,11]]},"440":{"position":[[163,9]]},"451":{"position":[[356,7],[786,8]]},"454":{"position":[[801,10]]},"463":{"position":[[1261,12]]},"464":{"position":[[186,7],[669,7]]},"470":{"position":[[206,10]]},"504":{"position":[[302,11]]},"554":{"position":[[413,10],[695,10]]},"576":{"position":[[310,12]]},"581":{"position":[[119,10],[711,12]]},"617":{"position":[[486,10]]},"618":{"position":[[762,10]]},"621":{"position":[[91,10]]},"622":{"position":[[51,10]]},"659":{"position":[[66,10]]},"660":{"position":[[288,11]]},"662":{"position":[[706,10]]},"723":{"position":[[1319,10],[1381,9]]},"772":{"position":[[67,9]]},"773":{"position":[[252,9]]},"774":{"position":[[74,11],[283,10],[419,11],[904,11],[1098,11]]},"872":{"position":[[1495,10]]},"898":{"position":[[2059,10]]},"958":{"position":[[386,9]]},"985":{"position":[[108,9]]},"1090":{"position":[[148,10],[237,11],[366,10],[1115,11],[1222,10]]},"1092":{"position":[[189,9]]},"1114":{"position":[[87,9]]},"1120":{"position":[[112,8],[249,7]]},"1157":{"position":[[533,7]]},"1161":{"position":[[285,10]]},"1162":{"position":[[200,9]]},"1163":{"position":[[214,11],[337,10]]},"1164":{"position":[[908,9],[1060,11]]},"1168":{"position":[[4,11]]},"1172":{"position":[[136,7],[443,11]]},"1173":{"position":[[59,10]]},"1174":{"position":[[164,8]]},"1175":{"position":[[93,8],[147,11],[206,9],[274,7],[390,11],[542,11],[577,9]]},"1180":{"position":[[285,10]]},"1181":{"position":[[266,9]]},"1182":{"position":[[214,11],[337,10]]},"1184":{"position":[[297,10]]},"1185":{"position":[[136,7],[226,10]]},"1192":{"position":[[44,11],[250,10],[660,10],[698,10]]},"1208":{"position":[[1766,7]]},"1239":{"position":[[181,11]]},"1246":{"position":[[1458,12]]},"1276":{"position":[[120,11]]},"1292":{"position":[[485,11],[594,8]]},"1299":{"position":[[316,9]]},"1300":{"position":[[72,10],[151,9],[315,10],[455,10],[511,10],[588,8],[707,7],[882,7]]},"1324":{"position":[[445,10]]}},"keywords":{}}],["persistence.l",{"_index":1340,"title":{},"content":{"208":{"position":[[239,16]]}},"keywords":{}}],["persistence.memori",{"_index":3235,"title":{},"content":{"504":{"position":[[334,18]]}},"keywords":{}}],["persistence.sqlit",{"_index":1674,"title":{},"content":{"287":{"position":[[1062,18]]}},"keywords":{}}],["persistenceth",{"_index":3988,"title":{},"content":{"710":{"position":[[592,14]]}},"keywords":{}}],["persistenceus",{"_index":4793,"title":{},"content":{"838":{"position":[[1296,14]]}},"keywords":{}}],["persistet",{"_index":2108,"title":{},"content":{"365":{"position":[[320,9]]}},"keywords":{}}],["person",{"_index":1402,"title":{},"content":{"218":{"position":[[147,8]]},"291":{"position":[[386,8]]},"356":{"position":[[710,12]]},"450":{"position":[[142,16]]},"482":{"position":[[47,9]]},"550":{"position":[[217,8]]},"564":{"position":[[1111,8]]},"638":{"position":[[79,9]]},"1022":{"position":[[952,6]]}},"keywords":{}}],["phase",{"_index":2915,"title":{},"content":{"435":{"position":[[145,6]]}},"keywords":{}}],["philosophi",{"_index":2076,"title":{},"content":{"359":{"position":[[187,11]]},"502":{"position":[[268,10]]},"514":{"position":[[279,10]]}},"keywords":{}}],["phone",{"_index":2331,"title":{},"content":{"395":{"position":[[355,5]]},"408":{"position":[[4956,6]]},"412":{"position":[[6899,5],[9385,6],[10692,5]]},"415":{"position":[[177,7]]},"417":{"position":[[163,5]]}},"keywords":{}}],["phonegap",{"_index":141,"title":{},"content":{"10":{"position":[[419,8]]}},"keywords":{}}],["phonet",{"_index":4044,"title":{},"content":{"723":{"position":[[2386,8]]}},"keywords":{}}],["phrase",{"_index":2797,"title":{},"content":{"419":{"position":[[73,6]]},"723":{"position":[[2344,8]]}},"keywords":{}}],["physic",{"_index":2146,"title":{},"content":{"377":{"position":[[93,8]]},"408":{"position":[[2398,8],[2624,8]]},"419":{"position":[[1800,8]]},"550":{"position":[[64,8]]},"780":{"position":[[366,8]]},"986":{"position":[[1056,10]]},"1091":{"position":[[41,8]]},"1093":{"position":[[69,8],[297,10]]},"1295":{"position":[[346,8]]}},"keywords":{}}],["pick",{"_index":1571,"title":{},"content":{"254":{"position":[[408,4]]},"369":{"position":[[1531,4]]},"396":{"position":[[953,4]]},"402":{"position":[[850,6],[967,6]]},"412":{"position":[[3352,4]]},"481":{"position":[[405,4]]},"640":{"position":[[47,4]]},"698":{"position":[[752,4]]},"776":{"position":[[202,4]]},"796":{"position":[[61,4]]},"797":{"position":[[68,7]]},"1066":{"position":[[208,4]]},"1172":{"position":[[503,4]]}},"keywords":{}}],["piec",{"_index":1649,"title":{},"content":{"279":{"position":[[257,6]]},"391":{"position":[[332,5]]},"450":{"position":[[72,6]]},"784":{"position":[[672,5]]},"971":{"position":[[54,5]]},"1319":{"position":[[230,5]]}},"keywords":{}}],["pii",{"_index":3712,"title":{},"content":{"638":{"position":[[75,3]]}},"keywords":{}}],["pillar",{"_index":3288,"title":{},"content":{"530":{"position":[[462,7]]}},"keywords":{}}],["pin",{"_index":3378,"title":{},"content":{"556":{"position":[[1817,8],[1839,7],[1901,7],[1944,6]]}},"keywords":{}}],["pin"",{"_index":2818,"title":{},"content":{"419":{"position":[[1734,9]]}},"keywords":{}}],["ping",{"_index":3577,"title":{},"content":{"611":{"position":[[1181,4]]}},"keywords":{}}],["pinia",{"_index":3487,"title":{},"content":{"576":{"position":[[170,5]]},"590":{"position":[[306,5]]}},"keywords":{}}],["piotr",{"_index":6517,"title":{},"content":{"1311":{"position":[[1544,8]]}},"keywords":{}}],["pipe",{"_index":811,"title":{"54":{"position":[[32,6]]},"130":{"position":[[22,4]]},"143":{"position":[[10,4]]}},"content":{"130":{"position":[[28,5],[187,4]]},"143":{"position":[[17,4],[99,5],[391,5],[674,8]]},"391":{"position":[[612,4]]},"493":{"position":[[19,4]]},"1067":{"position":[[2168,10]]}},"keywords":{}}],["pipe(text",{"_index":2223,"title":{},"content":{"391":{"position":[[659,10]]}},"keywords":{}}],["pipelin",{"_index":2216,"title":{"1030":{"position":[[0,8]]},"1031":{"position":[[0,8]]},"1033":{"position":[[0,9]]}},"content":{"391":{"position":[[433,8]]},"392":{"position":[[2378,8],[2500,8],[2618,8],[2692,10],[4524,8],[4598,10]]},"397":{"position":[[1743,8]]},"1020":{"position":[[1,9],[152,8],[179,9],[339,8],[405,10]]},"1022":{"position":[[435,8]]},"1023":{"position":[[21,8],[94,8]]},"1024":{"position":[[94,8],[188,8]]},"1026":{"position":[[33,8],[128,8]]},"1027":{"position":[[38,8],[156,8]]},"1028":{"position":[[41,8],[103,8]]},"1030":{"position":[[97,8]]},"1031":{"position":[[1,8],[222,8]]},"1033":{"position":[[9,8],[186,9],[277,10],[386,8],[433,8],[682,8],[961,8]]}},"keywords":{}}],["pipeline('featur",{"_index":2219,"title":{},"content":{"391":{"position":[[503,17]]}},"keywords":{}}],["pipeline.awaitidl",{"_index":2417,"title":{},"content":{"398":{"position":[[1998,21]]}},"keywords":{}}],["pipeline.html",{"_index":4058,"title":{},"content":{"724":{"position":[[1133,13]]}},"keywords":{}}],["pipelinea",{"_index":5659,"title":{},"content":{"1033":{"position":[[481,9]]}},"keywords":{}}],["pipelinea.awaitidl",{"_index":5665,"title":{},"content":{"1033":{"position":[[838,22]]}},"keywords":{}}],["pipelines.pref",{"_index":5668,"title":{},"content":{"1033":{"position":[[1014,16]]}},"keywords":{}}],["pipepromis",{"_index":2218,"title":{},"content":{"391":{"position":[[489,11],[625,12]]}},"keywords":{}}],["pitfal",{"_index":1404,"title":{},"content":{"223":{"position":[[371,8]]}},"keywords":{}}],["pivot",{"_index":1163,"title":{},"content":{"152":{"position":[[163,7]]},"510":{"position":[[142,7]]},"530":{"position":[[77,7]]},"912":{"position":[[91,7]]}},"keywords":{}}],["pl1",{"_index":4149,"title":{},"content":{"749":{"position":[[1311,3]]}},"keywords":{}}],["pl3",{"_index":4150,"title":{},"content":{"749":{"position":[[1399,3]]}},"keywords":{}}],["place",{"_index":1970,"title":{},"content":{"346":{"position":[[64,6]]},"397":{"position":[[74,5]]},"411":{"position":[[2145,5]]},"433":{"position":[[187,5]]},"698":{"position":[[2266,6]]},"701":{"position":[[650,6]]},"761":{"position":[[29,5]]},"785":{"position":[[501,5]]},"875":{"position":[[6019,6]]},"1105":{"position":[[900,6]]}},"keywords":{}}],["placeholder="ent",{"_index":3399,"title":{},"content":{"559":{"position":[[674,23]]}},"keywords":{}}],["plain",{"_index":510,"title":{"47":{"position":[[10,5]]},"358":{"position":[[26,5]]},"535":{"position":[[15,5]]},"595":{"position":[[15,5]]}},"content":{"33":{"position":[[85,5]]},"51":{"position":[[153,5]]},"408":{"position":[[4018,5]]},"439":{"position":[[618,5]]},"453":{"position":[[701,5]]},"459":{"position":[[61,5]]},"535":{"position":[[915,5]]},"538":{"position":[[89,5]]},"595":{"position":[[990,5]]},"598":{"position":[[89,5]]},"619":{"position":[[359,5]]},"670":{"position":[[305,5]]},"688":{"position":[[467,5],[764,5]]},"710":{"position":[[1237,5]]},"749":{"position":[[4175,5],[11974,5]]},"766":{"position":[[20,5]]},"772":{"position":[[1973,5]]},"888":{"position":[[230,5]]},"908":{"position":[[239,5]]},"918":{"position":[[39,5]]},"968":{"position":[[356,5]]},"1020":{"position":[[237,5]]},"1051":{"position":[[32,5]]},"1085":{"position":[[54,5]]},"1102":{"position":[[104,5],[427,5]]},"1124":{"position":[[30,5],[701,5]]},"1132":{"position":[[81,5],[815,5]]},"1140":{"position":[[403,5]]},"1162":{"position":[[453,5]]},"1174":{"position":[[14,5]]},"1175":{"position":[[12,5]]},"1181":{"position":[[540,5]]},"1208":{"position":[[298,5]]},"1209":{"position":[[220,5]]},"1241":{"position":[[38,5]]},"1243":{"position":[[37,5]]},"1246":{"position":[[1859,5]]},"1252":{"position":[[69,5]]}},"keywords":{}}],["plaindata.ag",{"_index":4531,"title":{},"content":{"767":{"position":[[401,13]]}},"keywords":{}}],["plaindata.anyfield",{"_index":4544,"title":{},"content":{"768":{"position":[[370,18]]}},"keywords":{}}],["plainrespons",{"_index":5155,"title":{},"content":{"888":{"position":[[585,14],[687,13],[1034,14]]},"889":{"position":[[614,15]]}},"keywords":{}}],["plainresponse.conflict",{"_index":5165,"title":{},"content":{"889":{"position":[[726,24]]}},"keywords":{}}],["plan",{"_index":433,"title":{},"content":{"26":{"position":[[372,4]]},"298":{"position":[[897,4]]},"303":{"position":[[13,4]]},"314":{"position":[[589,4]]},"412":{"position":[[14330,4]]},"420":{"position":[[1397,8]]},"700":{"position":[[388,4]]},"839":{"position":[[1248,4],[1405,6]]},"1071":{"position":[[381,4]]}},"keywords":{}}],["planer",{"_index":4655,"title":{},"content":{"798":{"position":[[850,6]]},"1066":{"position":[[656,6]]},"1071":{"position":[[371,6]]}},"keywords":{}}],["planner",{"_index":4636,"title":{"796":{"position":[[15,7]]}},"content":{"797":{"position":[[20,7]]},"1066":{"position":[[68,7],[154,7]]}},"keywords":{}}],["platform",{"_index":195,"title":{"72":{"position":[[35,10]]},"112":{"position":[[35,10]]},"254":{"position":[[9,9]]},"384":{"position":[[6,8]]}},"content":{"14":{"position":[[17,8]]},"36":{"position":[[395,9]]},"37":{"position":[[20,8]]},"43":{"position":[[706,9]]},"47":{"position":[[1348,10]]},"72":{"position":[[83,10]]},"112":{"position":[[76,10],[280,10]]},"174":{"position":[[2585,8],[2682,10],[2787,8]]},"177":{"position":[[162,9]]},"207":{"position":[[325,8]]},"239":{"position":[[81,10]]},"269":{"position":[[145,8],[271,9]]},"288":{"position":[[187,10]]},"299":{"position":[[64,10]]},"364":{"position":[[286,10]]},"375":{"position":[[463,10]]},"384":{"position":[[33,8],[427,9]]},"388":{"position":[[473,9]]},"418":{"position":[[413,9]]},"441":{"position":[[475,8]]},"445":{"position":[[2138,8],[2195,8],[2366,10],[2527,10]]},"446":{"position":[[521,9],[1003,9],[1091,8],[1227,8]]},"447":{"position":[[446,8]]},"500":{"position":[[292,10]]},"535":{"position":[[1174,8]]},"581":{"position":[[728,8]]},"595":{"position":[[1251,8]]},"611":{"position":[[339,10]]},"613":{"position":[[497,10],[863,9]]},"644":{"position":[[116,9]]},"830":{"position":[[159,8]]},"832":{"position":[[390,8]]}},"keywords":{}}],["platforms.onlin",{"_index":2787,"title":{},"content":{"416":{"position":[[310,16]]}},"keywords":{}}],["play",{"_index":1062,"title":{},"content":{"117":{"position":[[11,4]]},"152":{"position":[[156,4]]},"178":{"position":[[11,4]]},"447":{"position":[[18,4]]},"534":{"position":[[49,4]]},"594":{"position":[[47,4]]},"824":{"position":[[180,4]]},"890":{"position":[[957,4]]}},"keywords":{}}],["player",{"_index":3243,"title":{},"content":{"510":{"position":[[150,7]]},"1006":{"position":[[242,7]]},"1007":{"position":[[336,6],[372,6],[787,6],[869,6]]},"1008":{"position":[[168,6]]}},"keywords":{}}],["player'",{"_index":5563,"title":{},"content":{"1007":{"position":[[1007,8],[1971,8]]}},"keywords":{}}],["pleas",{"_index":3742,"title":{},"content":{"650":{"position":[[95,6]]},"749":{"position":[[12799,6],[24120,6]]},"824":{"position":[[317,6],[526,6]]},"889":{"position":[[1073,6]]},"1278":{"position":[[114,6]]}},"keywords":{}}],["plethora",{"_index":3217,"title":{},"content":{"500":{"position":[[373,8]]}},"keywords":{}}],["plu",{"_index":1884,"title":{},"content":{"312":{"position":[[234,5]]}},"keywords":{}}],["pluggabl",{"_index":312,"title":{},"content":{"18":{"position":[[325,9]]},"383":{"position":[[41,9]]}},"keywords":{}}],["plugin",{"_index":45,"title":{"165":{"position":[[17,8]]},"192":{"position":[[17,8]]},"291":{"position":[[26,7]]},"383":{"position":[[5,6]]},"553":{"position":[[29,8]]},"645":{"position":[[10,6]]},"655":{"position":[[18,6]]},"677":{"position":[[10,6]]},"692":{"position":[[9,6]]},"717":{"position":[[26,8]]},"738":{"position":[[24,7]]},"744":{"position":[[12,6]]},"745":{"position":[[17,7]]},"802":{"position":[[9,7]]},"803":{"position":[[9,7]]},"863":{"position":[[40,7]]},"868":{"position":[[9,6]]},"869":{"position":[[20,6]]},"895":{"position":[[21,6]]},"896":{"position":[[34,7]]},"904":{"position":[[39,7]]},"915":{"position":[[20,7]]},"1012":{"position":[[24,7]]},"1013":{"position":[[13,6]]},"1064":{"position":[[14,7]]},"1152":{"position":[[44,8]]},"1222":{"position":[[19,7]]},"1246":{"position":[[16,8]]},"1284":{"position":[[12,7]]}},"content":{"2":{"position":[[265,6]]},"6":{"position":[[424,6]]},"10":{"position":[[198,6]]},"11":{"position":[[255,7]]},"14":{"position":[[1237,7]]},"17":{"position":[[347,6]]},"147":{"position":[[176,7]]},"158":{"position":[[102,7],[170,7]]},"164":{"position":[[305,7]]},"165":{"position":[[38,7],[129,7],[318,8]]},"170":{"position":[[243,8]]},"184":{"position":[[219,8]]},"192":{"position":[[27,7],[131,7],[310,7]]},"211":{"position":[[566,7]]},"249":{"position":[[445,7]]},"255":{"position":[[1676,6]]},"260":{"position":[[19,6]]},"291":{"position":[[37,7]]},"310":{"position":[[100,7]]},"314":{"position":[[228,8]]},"315":{"position":[[52,6],[100,7],[153,7]]},"360":{"position":[[467,7]]},"361":{"position":[[339,6]]},"366":{"position":[[87,7]]},"367":{"position":[[433,8],[487,8]]},"368":{"position":[[91,8]]},"377":{"position":[[329,8]]},"381":{"position":[[267,8]]},"387":{"position":[[303,8]]},"390":{"position":[[1841,7]]},"392":{"position":[[2387,7]]},"402":{"position":[[2653,8],[2694,7],[2798,6]]},"403":{"position":[[217,6]]},"420":{"position":[[999,7],[1084,8]]},"460":{"position":[[378,7]]},"469":{"position":[[899,6]]},"481":{"position":[[228,7],[414,6]]},"482":{"position":[[80,7]]},"525":{"position":[[427,7],[507,7],[679,6]]},"551":{"position":[[198,7]]},"553":{"position":[[70,7]]},"554":{"position":[[28,8],[47,7],[127,7],[145,6],[296,7],[893,6]]},"556":{"position":[[1126,7],[1409,6],[1749,7]]},"557":{"position":[[320,8],[406,8]]},"563":{"position":[[171,6]]},"564":{"position":[[177,7]]},"565":{"position":[[88,7]]},"566":{"position":[[1029,7],[1337,7]]},"567":{"position":[[627,7]]},"570":{"position":[[940,8]]},"579":{"position":[[87,7],[906,6]]},"582":{"position":[[302,8]]},"590":{"position":[[165,7]]},"602":{"position":[[115,7]]},"614":{"position":[[275,8]]},"632":{"position":[[596,7],[745,7]]},"640":{"position":[[318,7]]},"641":{"position":[[371,7]]},"642":{"position":[[105,7]]},"644":{"position":[[91,7]]},"655":{"position":[[351,6]]},"662":{"position":[[435,7],[1037,7]]},"674":{"position":[[82,8]]},"676":{"position":[[57,6]]},"678":{"position":[[142,7]]},"680":{"position":[[63,6],[262,6],[335,6],[429,6]]},"683":{"position":[[33,7]]},"686":{"position":[[708,7],[802,6]]},"688":{"position":[[16,6]]},"693":{"position":[[154,6],[288,6]]},"710":{"position":[[867,7],[1391,8]]},"716":{"position":[[16,6],[496,6]]},"717":{"position":[[24,7],[79,6],[181,6],[457,6],[763,6],[1036,6]]},"718":{"position":[[53,6],[336,6]]},"719":{"position":[[242,6]]},"723":{"position":[[36,6],[380,7],[1009,6],[2099,6],[2522,6]]},"734":{"position":[[21,6],[117,7]]},"738":{"position":[[68,7]]},"746":{"position":[[17,6]]},"747":{"position":[[17,6]]},"749":{"position":[[1021,6],[1321,6],[1340,7],[1405,6],[20938,6]]},"756":{"position":[[37,8]]},"793":{"position":[[963,7],[1225,7]]},"798":{"position":[[982,6]]},"801":{"position":[[925,6]]},"802":{"position":[[27,7],[142,6],[637,8]]},"804":{"position":[[37,6],[55,7]]},"806":{"position":[[549,7],[757,7]]},"824":{"position":[[597,7]]},"829":{"position":[[258,8]]},"830":{"position":[[254,6]]},"836":{"position":[[301,7]]},"837":{"position":[[1489,8]]},"838":{"position":[[895,6],[1367,7],[1525,7]]},"845":{"position":[[78,8]]},"847":{"position":[[123,8]]},"851":{"position":[[30,6]]},"860":{"position":[[1091,6]]},"861":{"position":[[2079,6]]},"866":{"position":[[152,6]]},"868":{"position":[[9,6]]},"871":{"position":[[5,6],[564,6]]},"875":{"position":[[92,6],[134,6]]},"878":{"position":[[24,6]]},"897":{"position":[[111,7]]},"898":{"position":[[1847,6],[1963,6]]},"904":{"position":[[21,7],[1297,7],[3163,8]]},"905":{"position":[[234,8]]},"906":{"position":[[62,7]]},"910":{"position":[[217,7]]},"912":{"position":[[79,6],[178,6],[232,8],[763,7]]},"915":{"position":[[60,7]]},"932":{"position":[[428,6]]},"934":{"position":[[555,7]]},"952":{"position":[[163,7]]},"958":{"position":[[673,7]]},"971":{"position":[[275,7]]},"989":{"position":[[370,6]]},"1004":{"position":[[97,7]]},"1012":{"position":[[68,7]]},"1013":{"position":[[44,6]]},"1021":{"position":[[69,8]]},"1023":{"position":[[30,6]]},"1041":{"position":[[139,7]]},"1047":{"position":[[223,7]]},"1059":{"position":[[117,7]]},"1064":{"position":[[66,7],[100,6]]},"1101":{"position":[[157,6]]},"1102":{"position":[[749,6]]},"1112":{"position":[[20,7],[99,7]]},"1114":{"position":[[589,6]]},"1119":{"position":[[319,6]]},"1124":{"position":[[384,7],[642,7],[2199,7]]},"1125":{"position":[[92,6]]},"1129":{"position":[[35,6]]},"1130":{"position":[[370,7]]},"1141":{"position":[[35,6]]},"1146":{"position":[[22,6],[46,7],[151,7],[324,7]]},"1148":{"position":[[729,7]]},"1149":{"position":[[116,7],[150,7],[209,7],[601,7],[655,7]]},"1150":{"position":[[654,7]]},"1151":{"position":[[251,8]]},"1156":{"position":[[274,7]]},"1162":{"position":[[875,6]]},"1174":{"position":[[334,7]]},"1176":{"position":[[28,6]]},"1178":{"position":[[250,8]]},"1183":{"position":[[290,6]]},"1198":{"position":[[1659,6],[1759,7],[2249,6]]},"1210":{"position":[[251,6]]},"1212":{"position":[[33,7],[254,7]]},"1219":{"position":[[20,6]]},"1227":{"position":[[315,7]]},"1233":{"position":[[16,6]]},"1246":{"position":[[1143,6],[1942,6],[2180,6]]},"1265":{"position":[[308,7]]},"1266":{"position":[[240,9]]},"1277":{"position":[[99,6]]},"1279":{"position":[[490,7]]},"1280":{"position":[[19,6],[123,6]]},"1284":{"position":[[12,7]]},"1288":{"position":[[121,6]]},"1292":{"position":[[548,6]]},"1295":{"position":[[1561,7]]}},"keywords":{}}],["plugin(",{"_index":3342,"title":{},"content":{"553":{"position":[[33,9]]}},"keywords":{}}],["plugin(mapreduc",{"_index":4786,"title":{},"content":{"837":{"position":[[1952,18]]}},"keywords":{}}],["plugin(repl",{"_index":4785,"title":{},"content":{"837":{"position":[[1931,20]]}},"keywords":{}}],["plugin(sqliteadapt",{"_index":4787,"title":{},"content":{"837":{"position":[[1971,23]]}},"keywords":{}}],["plugincustom",{"_index":1600,"title":{},"content":{"263":{"position":[[608,12]]}},"keywords":{}}],["pluginin",{"_index":6239,"title":{},"content":{"1214":{"position":[[598,8]]}},"keywords":{}}],["plugins.ful",{"_index":2163,"title":{},"content":{"383":{"position":[[174,12]]}},"keywords":{}}],["plugins.indexeddb",{"_index":1104,"title":{},"content":{"131":{"position":[[182,17]]}},"keywords":{}}],["plugin—consid",{"_index":3150,"title":{},"content":{"483":{"position":[[1100,15]]}},"keywords":{}}],["point",{"_index":476,"title":{},"content":{"29":{"position":[[122,6]]},"260":{"position":[[307,5]]},"334":{"position":[[731,7]]},"335":{"position":[[502,7],[789,7]]},"369":{"position":[[298,6]]},"412":{"position":[[318,5]]},"461":{"position":[[439,5]]},"678":{"position":[[271,6],[298,7]]},"679":{"position":[[181,5]]},"680":{"position":[[911,7],[1059,10],[1267,7],[1324,8],[1389,7]]},"681":{"position":[[267,6],[351,6],[810,7]]},"683":{"position":[[204,7],[325,7],[919,7],[994,6],[1015,7]]},"700":{"position":[[507,5]]},"705":{"position":[[827,5]]},"872":{"position":[[643,6]]},"990":{"position":[[96,5]]},"1207":{"position":[[695,6]]},"1210":{"position":[[105,5]]},"1300":{"position":[[301,5],[491,5],[537,5]]},"1321":{"position":[[1008,5]]},"1324":{"position":[[339,5]]}},"keywords":{}}],["polici",{"_index":1704,"title":{"815":{"position":[[18,7]]},"816":{"position":[[12,7]]},"818":{"position":[[15,7]]}},"content":{"298":{"position":[[124,9],[330,8],[817,6]]},"299":{"position":[[825,9]]},"305":{"position":[[149,8]]},"412":{"position":[[7996,8]]},"522":{"position":[[753,6]]},"617":{"position":[[914,6]]},"653":{"position":[[32,6]]},"815":{"position":[[61,6],[246,6]]},"816":{"position":[[13,6]]},"818":{"position":[[21,6],[321,7],[387,6]]},"890":{"position":[[435,6]]},"897":{"position":[[518,9]]},"934":{"position":[[727,6]]},"960":{"position":[[648,6]]},"1287":{"position":[[153,9]]}},"keywords":{}}],["poll",{"_index":1176,"title":{"609":{"position":[[41,7]]},"610":{"position":[[13,9]]}},"content":{"159":{"position":[[287,7]]},"255":{"position":[[291,8]]},"323":{"position":[[494,7]]},"346":{"position":[[198,7]]},"379":{"position":[[173,7]]},"410":{"position":[[1723,7]]},"490":{"position":[[292,4]]},"491":{"position":[[588,8],[1643,8]]},"570":{"position":[[627,7],[725,8]]},"610":{"position":[[6,7],[223,8],[317,7],[873,7],[1111,7],[1300,7],[1397,7],[1424,7]]},"611":{"position":[[1406,7]]},"616":{"position":[[198,7],[296,7],[514,7]]},"619":{"position":[[341,7]]},"620":{"position":[[73,7]]},"621":{"position":[[361,8]]},"622":{"position":[[406,8]]},"623":{"position":[[452,8]]},"624":{"position":[[1343,8]]},"632":{"position":[[387,7]]},"846":{"position":[[923,7]]},"849":{"position":[[64,7]]},"875":{"position":[[7194,8]]},"988":{"position":[[5031,7]]},"1124":{"position":[[918,7]]},"1150":{"position":[[672,8]]}},"keywords":{}}],["polyfil",{"_index":112,"title":{"728":{"position":[[0,10]]},"729":{"position":[[0,8]]},"911":{"position":[[0,8]]},"1202":{"position":[[0,8]]}},"content":{"8":{"position":[[403,9]]},"261":{"position":[[648,8]]},"616":{"position":[[994,8]]},"728":{"position":[[78,9],[149,9],[208,10]]},"749":{"position":[[15342,11]]},"910":{"position":[[129,8],[197,8],[358,8]]},"911":{"position":[[207,8],[258,9]]},"917":{"position":[[479,8]]},"1139":{"position":[[123,8]]},"1145":{"position":[[119,8]]},"1301":{"position":[[1055,11]]}},"keywords":{}}],["pong",{"_index":3578,"title":{},"content":{"611":{"position":[[1190,4]]}},"keywords":{}}],["pool",{"_index":1746,"title":{},"content":{"299":{"position":[[341,4]]},"391":{"position":[[672,8]]},"617":{"position":[[298,4]]},"904":{"position":[[2267,6],[3450,5]]},"905":{"position":[[150,5]]},"1121":{"position":[[682,6]]}},"keywords":{}}],["poor",{"_index":2644,"title":{},"content":{"411":{"position":[[5603,4]]}},"keywords":{}}],["poorli",{"_index":1715,"title":{},"content":{"298":{"position":[[376,6]]}},"keywords":{}}],["popul",{"_index":2376,"title":{"807":{"position":[[0,10]]},"809":{"position":[[0,11]]}},"content":{"397":{"position":[[1325,8]]},"749":{"position":[[9965,8],[10079,8]]},"793":{"position":[[1144,10]]},"810":{"position":[[49,10]]},"811":{"position":[[22,9]]},"1084":{"position":[[136,8]]}},"keywords":{}}],["popular",{"_index":548,"title":{},"content":{"35":{"position":[[18,7]]},"94":{"position":[[62,7]]},"155":{"position":[[159,7]]},"173":{"position":[[2263,7]]},"189":{"position":[[309,7]]},"222":{"position":[[79,7]]},"232":{"position":[[36,7]]},"281":{"position":[[15,7]]},"284":{"position":[[158,7]]},"336":{"position":[[66,7]]},"407":{"position":[[366,7]]},"419":{"position":[[130,11]]},"420":{"position":[[283,7]]},"445":{"position":[[122,7],[1727,7]]},"446":{"position":[[1180,10]]},"836":{"position":[[1118,8]]},"839":{"position":[[59,7]]},"1247":{"position":[[386,7]]}},"keywords":{}}],["port",{"_index":3593,"title":{},"content":{"612":{"position":[[1808,4]]},"708":{"position":[[320,4],[469,5]]},"872":{"position":[[3324,5]]},"875":{"position":[[1254,4]]},"890":{"position":[[578,5]]},"892":{"position":[[307,5]]},"906":{"position":[[1027,5],[1047,4]]},"1090":{"position":[[1061,5]]},"1097":{"position":[[779,5]]},"1098":{"position":[[415,5]]},"1099":{"position":[[385,5]]},"1103":{"position":[[268,5]]},"1219":{"position":[[554,5],[717,5]]},"1220":{"position":[[233,5]]}},"keywords":{}}],["portabl",{"_index":913,"title":{"97":{"position":[[8,8]]}},"content":{"65":{"position":[[511,8]]},"97":{"position":[[48,8]]},"173":{"position":[[2710,8],[2785,12]]}},"keywords":{}}],["pose",{"_index":1405,"title":{},"content":{"225":{"position":[[58,4]]},"432":{"position":[[657,4]]},"618":{"position":[[170,5]]}},"keywords":{}}],["posit",{"_index":929,"title":{},"content":{"65":{"position":[[1503,8]]},"464":{"position":[[1291,8]]}},"keywords":{}}],["possibl",{"_index":329,"title":{"404":{"position":[[0,8]]},"469":{"position":[[0,8]]}},"content":{"19":{"position":[[395,8]]},"168":{"position":[[276,13]]},"284":{"position":[[67,13]]},"305":{"position":[[450,11]]},"315":{"position":[[1048,8]]},"351":{"position":[[399,9]]},"354":{"position":[[1554,8]]},"357":{"position":[[395,9]]},"375":{"position":[[821,9]]},"408":{"position":[[1404,13],[2252,8]]},"409":{"position":[[271,9]]},"410":{"position":[[762,8]]},"412":{"position":[[3989,8],[9230,8],[9846,8],[13847,9]]},"420":{"position":[[821,8]]},"421":{"position":[[458,8]]},"432":{"position":[[489,9]]},"451":{"position":[[449,8]]},"455":{"position":[[661,8],[700,8],[853,8]]},"468":{"position":[[196,9]]},"469":{"position":[[26,8]]},"478":{"position":[[50,8]]},"490":{"position":[[619,8]]},"496":{"position":[[39,8]]},"569":{"position":[[1231,8]]},"581":{"position":[[501,9]]},"616":{"position":[[179,8]]},"650":{"position":[[21,8]]},"661":{"position":[[1515,8]]},"679":{"position":[[24,8]]},"705":{"position":[[1396,8]]},"708":{"position":[[80,8]]},"711":{"position":[[277,8],[1974,8]]},"719":{"position":[[53,8]]},"749":{"position":[[23043,8]]},"797":{"position":[[98,8]]},"817":{"position":[[28,8]]},"831":{"position":[[263,8]]},"837":{"position":[[464,8]]},"840":{"position":[[530,8]]},"854":{"position":[[1169,8]]},"863":{"position":[[809,8]]},"886":{"position":[[4948,8]]},"889":{"position":[[11,8]]},"905":{"position":[[98,8]]},"1005":{"position":[[37,8]]},"1067":{"position":[[767,8]]},"1092":{"position":[[618,8]]},"1132":{"position":[[797,8]]},"1135":{"position":[[63,8]]},"1143":{"position":[[491,8]]},"1154":{"position":[[578,8]]},"1173":{"position":[[188,8]]},"1183":{"position":[[51,8]]},"1191":{"position":[[216,13],[293,8]]},"1193":{"position":[[120,8]]},"1198":{"position":[[975,8],[1598,8]]},"1208":{"position":[[266,8]]},"1222":{"position":[[336,8],[847,8]]},"1237":{"position":[[88,9]]},"1300":{"position":[[337,9]]},"1304":{"position":[[1431,9]]},"1314":{"position":[[343,8]]}},"keywords":{}}],["possibleso",{"_index":6171,"title":{},"content":{"1198":{"position":[[597,10]]}},"keywords":{}}],["post",{"_index":335,"title":{},"content":{"19":{"position":[[645,5],[817,5]]},"209":{"position":[[752,4],[855,7]]},"255":{"position":[[1201,7]]},"616":{"position":[[680,4],[1200,4]]},"632":{"position":[[2544,4]]},"759":{"position":[[1179,8],[1245,9],[1275,5]]},"875":{"position":[[6281,7]]},"988":{"position":[[2576,7]]},"1007":{"position":[[619,4]]},"1102":{"position":[[549,7],[1120,7],[1237,7],[1295,7],[1343,7]]}},"keywords":{}}],["postcreat",{"_index":4239,"title":{"770":{"position":[[0,11]]}},"content":{"749":{"position":[[7760,11]]},"770":{"position":[[71,10],[267,10],[618,10]]}},"keywords":{}}],["postgr",{"_index":653,"title":{},"content":{"41":{"position":[[205,8]]},"897":{"position":[[384,8]]}},"keywords":{}}],["postgresql",{"_index":372,"title":{"356":{"position":[[16,10]]}},"content":{"22":{"position":[[207,10]]},"43":{"position":[[167,11]]},"202":{"position":[[222,10]]},"249":{"position":[[171,11]]},"356":{"position":[[75,10],[134,10]]},"412":{"position":[[1648,11]]},"661":{"position":[[191,10]]},"704":{"position":[[12,10]]},"705":{"position":[[1363,11]]},"708":{"position":[[145,10]]},"711":{"position":[[225,10]]},"836":{"position":[[193,10]]},"981":{"position":[[733,11]]},"1320":{"position":[[336,10]]},"1324":{"position":[[670,10]]}},"keywords":{}}],["postgresql’",{"_index":2091,"title":{},"content":{"362":{"position":[[344,12]]}},"keywords":{}}],["postgrest",{"_index":5187,"title":{},"content":{"897":{"position":[[141,9]]},"898":{"position":[[3728,9]]}},"keywords":{}}],["postinsert",{"_index":4534,"title":{},"content":{"767":{"position":[[724,11]]},"1311":{"position":[[1097,10]]}},"keywords":{}}],["postmessag",{"_index":1852,"title":{},"content":{"303":{"position":[[1250,13]]},"392":{"position":[[3632,13]]},"460":{"position":[[677,14]]},"470":{"position":[[500,13]]}},"keywords":{}}],["postremov",{"_index":4555,"title":{},"content":{"769":{"position":[[695,11]]}},"keywords":{}}],["postsav",{"_index":4546,"title":{},"content":{"768":{"position":[[734,9]]}},"keywords":{}}],["poststatus.publish",{"_index":340,"title":{},"content":{"19":{"position":[[754,21]]}},"keywords":{}}],["potenti",{"_index":866,"title":{"402":{"position":[[0,9]]}},"content":{"58":{"position":[[81,11]]},"66":{"position":[[585,11]]},"83":{"position":[[447,9]]},"204":{"position":[[103,11]]},"222":{"position":[[312,9]]},"223":{"position":[[361,9]]},"241":{"position":[[421,9]]},"336":{"position":[[436,12]]},"345":{"position":[[116,11]]},"404":{"position":[[215,9],[829,9]]},"411":{"position":[[4844,9]]},"415":{"position":[[339,11]]},"427":{"position":[[284,11],[812,11]]},"447":{"position":[[683,9]]},"501":{"position":[[293,9]]},"588":{"position":[[101,11]]},"622":{"position":[[321,11]]},"623":{"position":[[105,11],[723,11]]},"624":{"position":[[877,10]]},"640":{"position":[[229,11]]},"696":{"position":[[1204,11]]},"802":{"position":[[191,9]]},"904":{"position":[[3395,9]]}},"keywords":{}}],["potter",{"_index":6518,"title":{},"content":{"1311":{"position":[[1563,9]]}},"keywords":{}}],["pouch",{"_index":170,"title":{},"content":{"11":{"position":[[905,5]]},"1065":{"position":[[82,5]]},"1204":{"position":[[299,5]]}},"keywords":{}}],["pouchdb",{"_index":0,"title":{"0":{"position":[[0,7]]},"24":{"position":[[0,8]]},"837":{"position":[[0,8]]},"1197":{"position":[[10,7]]},"1198":{"position":[[11,7]]},"1204":{"position":[[19,7]]}},"content":{"1":{"position":[[432,7]]},"2":{"position":[[143,7]]},"3":{"position":[[121,7]]},"4":{"position":[[287,7]]},"5":{"position":[[203,7]]},"6":{"position":[[302,7]]},"7":{"position":[[225,7]]},"8":{"position":[[165,7],[241,7],[916,8]]},"9":{"position":[[137,7]]},"10":{"position":[[66,7]]},"11":{"position":[[104,7]]},"24":{"position":[[3,7],[373,7],[547,7],[677,7]]},"25":{"position":[[264,7]]},"26":{"position":[[253,7]]},"27":{"position":[[247,7]]},"408":{"position":[[4577,8]]},"411":{"position":[[3210,8]]},"419":{"position":[[122,7]]},"420":{"position":[[52,7]]},"837":{"position":[[3,7],[122,7],[216,7],[570,7],[685,7],[838,7],[938,7],[1056,7],[1106,7],[1333,7],[1455,7],[1547,7],[1560,8],[1598,8],[1646,8],[1691,8],[1745,8],[2030,7]]},"841":{"position":[[36,7]]},"851":{"position":[[16,8]]},"1198":{"position":[[177,8],[216,7],[363,7],[473,7],[704,7],[793,7],[1344,8],[1530,7],[1612,8],[1830,7],[1856,7],[2053,7],[2214,7],[2280,7],[2316,7]]},"1201":{"position":[[268,7]]},"1202":{"position":[[212,7]]},"1203":{"position":[[1,7]]},"1204":{"position":[[52,7]]}},"keywords":{}}],["pouchdb('mydb.db",{"_index":4788,"title":{},"content":{"837":{"position":[[2109,18]]}},"keywords":{}}],["pouchdb.easi",{"_index":4818,"title":{},"content":{"844":{"position":[[63,14]]}},"keywords":{}}],["pouchdb.plugin(httppouch",{"_index":4784,"title":{},"content":{"837":{"position":[[1905,25]]}},"keywords":{}}],["pouchdb.pouchdb",{"_index":3967,"title":{},"content":{"703":{"position":[[350,15]]}},"keywords":{}}],["pouchdbgoogl",{"_index":3130,"title":{},"content":{"481":{"position":[[305,13]]}},"keywords":{}}],["power",{"_index":462,"title":{"205":{"position":[[3,8]]},"310":{"position":[[3,8]]},"479":{"position":[[21,8]]},"532":{"position":[[39,5]]},"592":{"position":[[37,5]]}},"content":{"28":{"position":[[485,5]]},"34":{"position":[[39,7]]},"40":{"position":[[210,8]]},"51":{"position":[[469,6]]},"52":{"position":[[127,6],[223,6],[266,6],[564,6]]},"61":{"position":[[324,8]]},"67":{"position":[[34,8]]},"83":{"position":[[26,8]]},"87":{"position":[[55,5]]},"94":{"position":[[190,5]]},"103":{"position":[[35,7]]},"114":{"position":[[481,5]]},"116":{"position":[[14,8]]},"118":{"position":[[149,5]]},"124":{"position":[[15,8]]},"143":{"position":[[27,8]]},"148":{"position":[[11,8]]},"152":{"position":[[214,6]]},"153":{"position":[[193,5]]},"159":{"position":[[62,8]]},"161":{"position":[[341,8]]},"166":{"position":[[319,7]]},"170":{"position":[[630,8]]},"174":{"position":[[209,5]]},"175":{"position":[[522,5]]},"179":{"position":[[11,8]]},"182":{"position":[[82,5]]},"198":{"position":[[15,8]]},"229":{"position":[[11,8]]},"233":{"position":[[52,7]]},"239":{"position":[[282,5]]},"241":{"position":[[619,8]]},"255":{"position":[[21,7]]},"267":{"position":[[1141,8]]},"271":{"position":[[20,8]]},"276":{"position":[[51,8]]},"286":{"position":[[412,8]]},"289":{"position":[[524,8],[793,7],[1182,7]]},"290":{"position":[[88,8]]},"318":{"position":[[158,8]]},"354":{"position":[[1540,9]]},"370":{"position":[[135,5]]},"376":{"position":[[671,7]]},"383":{"position":[[210,8]]},"399":{"position":[[327,5]]},"412":{"position":[[14729,5]]},"425":{"position":[[86,5]]},"432":{"position":[[974,5]]},"433":{"position":[[580,5]]},"445":{"position":[[841,5],[2034,5]]},"447":{"position":[[342,5],[649,5]]},"491":{"position":[[129,8]]},"498":{"position":[[476,8]]},"500":{"position":[[572,5]]},"513":{"position":[[9,8]]},"530":{"position":[[327,8]]},"535":{"position":[[27,9]]},"536":{"position":[[104,8]]},"538":{"position":[[770,6]]},"539":{"position":[[127,6],[223,6],[266,6],[564,6]]},"545":{"position":[[20,9]]},"548":{"position":[[395,8]]},"557":{"position":[[386,8]]},"562":{"position":[[417,6],[604,6],[1522,6]]},"576":{"position":[[88,9]]},"595":{"position":[[27,9]]},"596":{"position":[[102,8]]},"598":{"position":[[777,6]]},"599":{"position":[[136,6],[241,6],[293,6],[591,6]]},"605":{"position":[[20,9]]},"608":{"position":[[393,8]]},"613":{"position":[[367,8]]},"620":{"position":[[699,5]]},"689":{"position":[[11,8]]},"721":{"position":[[196,5]]},"736":{"position":[[449,5]]},"871":{"position":[[324,7]]},"1087":{"position":[[70,5]]},"1088":{"position":[[25,5]]},"1149":{"position":[[324,8]]},"1162":{"position":[[121,5]]},"1171":{"position":[[138,5]]},"1181":{"position":[[187,5]]},"1300":{"position":[[1150,5]]}},"keywords":{}}],["powersync",{"_index":665,"title":{"43":{"position":[[0,10]]}},"content":{"43":{"position":[[1,9],[250,9],[312,9],[482,9],[556,9],[598,9],[676,9]]}},"keywords":{}}],["pr",{"_index":3831,"title":{"668":{"position":[[9,3]]}},"content":{"670":{"position":[[42,2]]},"1133":{"position":[[627,2]]},"1324":{"position":[[1026,2]]}},"keywords":{}}],["practic",{"_index":855,"title":{"142":{"position":[[5,9]]},"346":{"position":[[5,9]]},"425":{"position":[[35,9]]},"556":{"position":[[5,9]]},"590":{"position":[[5,9]]}},"content":{"56":{"position":[[182,10]]},"142":{"position":[[83,10]]},"304":{"position":[[261,9]]},"347":{"position":[[515,9]]},"362":{"position":[[1586,9]]},"408":{"position":[[5449,10]]},"412":{"position":[[3901,9],[7014,9]]},"495":{"position":[[778,9]]},"543":{"position":[[172,9]]},"550":{"position":[[306,9]]},"557":{"position":[[354,9]]},"567":{"position":[[971,9]]},"591":{"position":[[744,9]]},"603":{"position":[[170,9]]},"616":{"position":[[844,8]]},"696":{"position":[[308,8]]},"708":{"position":[[378,9]]},"714":{"position":[[959,9]]}},"keywords":{}}],["pragmat",{"_index":2053,"title":{},"content":{"357":{"position":[[498,9]]}},"keywords":{}}],["pre",{"_index":2226,"title":{"1227":{"position":[[0,3]]},"1265":{"position":[[0,3]]}},"content":{"391":{"position":[[820,3]]},"402":{"position":[[623,3]]},"1227":{"position":[[151,3]]},"1265":{"position":[[144,3]]}},"keywords":{}}],["preact",{"_index":3303,"title":{"542":{"position":[[5,6]]},"563":{"position":[[14,6]]}},"content":{"540":{"position":[[208,6]]},"542":{"position":[[20,6],[100,6],[260,6],[362,6]]},"563":{"position":[[122,6],[404,6],[804,6],[846,6]]},"566":{"position":[[584,6]]},"567":{"position":[[556,6],[742,6]]}},"keywords":{}}],["preact/sign",{"_index":3321,"title":{},"content":{"542":{"position":[[214,15]]}},"keywords":{}}],["preactsignalsrxreactivityfactori",{"_index":3322,"title":{},"content":{"542":{"position":[[297,32],[616,32]]},"563":{"position":[[339,32],[571,32]]}},"keywords":{}}],["prebuild",{"_index":6226,"title":{},"content":{"1210":{"position":[[118,8]]},"1266":{"position":[[125,8]]}},"keywords":{}}],["precis",{"_index":2352,"title":{},"content":{"397":{"position":[[169,8]]},"398":{"position":[[222,10],[3019,7],[3103,7]]},"402":{"position":[[531,9],[1295,9],[1605,9],[1693,10]]}},"keywords":{}}],["precondit",{"_index":4921,"title":{"865":{"position":[[0,13]]}},"content":{},"keywords":{}}],["predefin",{"_index":2185,"title":{},"content":{"390":{"position":[[356,10]]}},"keywords":{}}],["predicates.al",{"_index":342,"title":{},"content":{"19":{"position":[[853,15]]}},"keywords":{}}],["predict",{"_index":967,"title":{"704":{"position":[[11,12]]}},"content":{"74":{"position":[[107,14]]},"569":{"position":[[371,14]]},"696":{"position":[[1557,7]]},"704":{"position":[[384,7],[444,7]]},"828":{"position":[[427,12]]},"986":{"position":[[208,11]]},"1305":{"position":[[372,12]]},"1313":{"position":[[265,7],[542,7]]}},"keywords":{}}],["predominantli",{"_index":2013,"title":{},"content":{"353":{"position":[[617,13]]}},"keywords":{}}],["prefer",{"_index":965,"title":{"354":{"position":[[8,6]]},"659":{"position":[[0,11]]}},"content":{"74":{"position":[[79,6]]},"94":{"position":[[265,9]]},"143":{"position":[[374,6]]},"174":{"position":[[3165,9]]},"211":{"position":[[595,9]]},"222":{"position":[[360,9]]},"286":{"position":[[97,9]]},"354":{"position":[[1356,6]]},"365":{"position":[[1264,9]]},"424":{"position":[[435,11]]},"559":{"position":[[151,11],[1538,11]]},"563":{"position":[[82,6],[1026,6]]},"567":{"position":[[1165,11]]},"590":{"position":[[422,6]]},"659":{"position":[[31,11],[348,11],[439,11],[684,11],[924,11]]},"690":{"position":[[154,6]]},"816":{"position":[[288,7],[372,7]]}},"keywords":{}}],["preferences.get",{"_index":3780,"title":{},"content":{"659":{"position":[[580,17]]}},"keywords":{}}],["preferences.remov",{"_index":3782,"title":{},"content":{"659":{"position":[[643,20]]}},"keywords":{}}],["preferences.set",{"_index":3777,"title":{},"content":{"659":{"position":[[499,17]]}},"keywords":{}}],["prefix",{"_index":3601,"title":{},"content":{"612":{"position":[[2060,8]]},"746":{"position":[[375,6],[410,7],[422,8]]},"866":{"position":[[629,6]]},"904":{"position":[[2088,6]]}},"keywords":{}}],["preinsert",{"_index":4521,"title":{},"content":{"766":{"position":[[63,9]]},"767":{"position":[[304,10]]}},"keywords":{}}],["preinsertpostinsertpresavepostsavepreremovepostremovepostcr",{"_index":4513,"title":{},"content":{"763":{"position":[[37,63]]}},"keywords":{}}],["preload",{"_index":927,"title":{},"content":{"65":{"position":[[1308,10]]}},"keywords":{}}],["premis",{"_index":4798,"title":{},"content":{"839":{"position":[[611,7]]}},"keywords":{}}],["premium",{"_index":763,"title":{"761":{"position":[[30,7]]},"1151":{"position":[[18,7]]},"1178":{"position":[[18,7]]}},"content":{"51":{"position":[[145,7]]},"314":{"position":[[220,7]]},"315":{"position":[[81,7]]},"318":{"position":[[266,7],[480,7]]},"420":{"position":[[991,7]]},"483":{"position":[[1120,7]]},"538":{"position":[[81,7]]},"554":{"position":[[137,7]]},"556":{"position":[[1107,7]]},"598":{"position":[[81,7]]},"602":{"position":[[106,8]]},"640":{"position":[[310,7]]},"641":{"position":[[363,7]]},"662":{"position":[[1029,7],[1282,7],[1908,7],[2069,7]]},"676":{"position":[[184,7]]},"710":{"position":[[859,7]]},"718":{"position":[[45,7]]},"724":{"position":[[33,7],[103,7]]},"749":{"position":[[9358,7]]},"761":{"position":[[6,7],[108,7],[412,8],[430,7],[494,7],[554,7],[620,7],[742,7]]},"824":{"position":[[555,7]]},"838":{"position":[[1517,7],[1813,7],[2048,7]]},"958":{"position":[[665,7]]},"1098":{"position":[[22,7]]},"1099":{"position":[[22,7]]},"1129":{"position":[[24,7]]},"1138":{"position":[[58,7]]},"1141":{"position":[[24,7]]},"1143":{"position":[[96,7]]},"1151":{"position":[[243,7],[433,7],[573,7],[735,7]]},"1162":{"position":[[898,7]]},"1178":{"position":[[242,7],[432,7],[572,7],[734,7]]},"1181":{"position":[[850,7]]},"1210":{"position":[[176,7],[240,7]]},"1227":{"position":[[304,7]]},"1235":{"position":[[187,7],[322,7],[433,7]]},"1265":{"position":[[297,7]]},"1271":{"position":[[554,7],[785,7],[1071,7],[1680,7]]}},"keywords":{}}],["premium/dist/work",{"_index":6272,"title":{},"content":{"1227":{"position":[[249,20],[830,20]]},"1265":{"position":[[242,20]]}},"keywords":{}}],["premium/dist/workers/opfs.worker.j",{"_index":6233,"title":{},"content":{"1210":{"position":[[669,36]]}},"keywords":{}}],["premium/plugins/encrypt",{"_index":4027,"title":{},"content":{"718":{"position":[[169,26]]},"1184":{"position":[[594,26]]}},"keywords":{}}],["premium/plugins/flexsearch",{"_index":4046,"title":{},"content":{"724":{"position":[[215,28],[475,28]]}},"keywords":{}}],["premium/plugins/indexeddb",{"_index":4708,"title":{},"content":{"820":{"position":[[115,27]]},"1225":{"position":[[249,27]]}},"keywords":{}}],["premium/plugins/logg",{"_index":4114,"title":{},"content":{"745":{"position":[[239,24]]}},"keywords":{}}],["premium/plugins/queri",{"_index":4707,"title":{},"content":{"820":{"position":[[37,21]]}},"keywords":{}}],["premium/plugins/serv",{"_index":5925,"title":{},"content":{"1098":{"position":[[277,22]]},"1099":{"position":[[255,22]]}},"keywords":{}}],["premium/plugins/shar",{"_index":3864,"title":{},"content":{"676":{"position":[[330,24]]},"958":{"position":[[785,24]]},"1151":{"position":[[907,24]]},"1178":{"position":[[904,24]]}},"keywords":{}}],["premium/plugins/storag",{"_index":4029,"title":{},"content":{"718":{"position":[[253,23]]},"745":{"position":[[308,23]]},"759":{"position":[[196,23]]},"772":{"position":[[1524,23]]},"774":{"position":[[605,23]]},"932":{"position":[[815,23]]},"1090":{"position":[[626,23],[715,23]]},"1130":{"position":[[91,23]]},"1138":{"position":[[228,23]]},"1139":{"position":[[326,23]]},"1140":{"position":[[542,23]]},"1154":{"position":[[258,23],[356,23]]},"1163":{"position":[[46,23],[129,23]]},"1182":{"position":[[46,23],[129,23]]},"1184":{"position":[[412,23],[495,23]]},"1210":{"position":[[365,23]]},"1211":{"position":[[622,23]]},"1212":{"position":[[334,23],[409,23]]},"1213":{"position":[[631,23]]},"1222":{"position":[[44,23]]},"1225":{"position":[[172,23]]},"1226":{"position":[[89,23]]},"1227":{"position":[[639,23]]},"1231":{"position":[[485,23],[562,23]]},"1237":{"position":[[778,23]]},"1238":{"position":[[486,23],[562,23],[639,23],[735,23]]},"1239":{"position":[[536,23],[637,23],[726,23]]},"1263":{"position":[[58,23],[135,23]]},"1264":{"position":[[83,23]]},"1265":{"position":[[627,23]]},"1268":{"position":[[613,23],[690,23]]},"1274":{"position":[[104,23]]},"1275":{"position":[[228,23]]},"1276":{"position":[[494,23]]},"1277":{"position":[[252,23],[781,23]]},"1278":{"position":[[359,23],[806,23]]},"1279":{"position":[[418,23]]},"1281":{"position":[[151,23]]}},"keywords":{}}],["premiumencrypt",{"_index":4022,"title":{},"content":{"717":{"position":[[152,17]]}},"keywords":{}}],["premiumif",{"_index":3148,"title":{},"content":{"483":{"position":[[989,9]]}},"keywords":{}}],["premiumsqlit",{"_index":1892,"title":{},"content":{"314":{"position":[[1017,13]]}},"keywords":{}}],["prepar",{"_index":1732,"title":{"861":{"position":[[0,9]]}},"content":{"298":{"position":[[881,8]]},"463":{"position":[[1359,8]]}},"keywords":{}}],["prepend",{"_index":5965,"title":{},"content":{"1107":{"position":[[51,9]]}},"keywords":{}}],["preprocess",{"_index":5798,"title":{},"content":{"1072":{"position":[[2296,12]]}},"keywords":{}}],["preremov",{"_index":4553,"title":{},"content":{"769":{"position":[[278,10]]}},"keywords":{}}],["presav",{"_index":4541,"title":{},"content":{"768":{"position":[[263,8]]}},"keywords":{}}],["present",{"_index":1399,"title":{},"content":{"217":{"position":[[103,7]]},"278":{"position":[[101,8]]},"289":{"position":[[513,8]]},"392":{"position":[[2986,8]]},"394":{"position":[[1375,8]]},"412":{"position":[[7526,7]]}},"keywords":{}}],["preserv",{"_index":1311,"title":{},"content":{"203":{"position":[[252,8]]},"250":{"position":[[268,8]]},"362":{"position":[[1020,10]]},"407":{"position":[[1137,13]]}},"keywords":{}}],["press",{"_index":2634,"title":{},"content":{"411":{"position":[[4801,5]]}},"keywords":{}}],["pressur",{"_index":2858,"title":{},"content":{"421":{"position":[[1087,8]]}},"keywords":{}}],["pretti",{"_index":3563,"title":{},"content":{"610":{"position":[[1454,6]]},"620":{"position":[[515,6]]},"626":{"position":[[422,6]]},"698":{"position":[[1395,6]]},"772":{"position":[[523,6]]},"837":{"position":[[227,6]]},"838":{"position":[[3111,6]]},"904":{"position":[[2515,6]]},"1124":{"position":[[1916,6]]},"1208":{"position":[[17,6]]},"1214":{"position":[[457,6]]},"1272":{"position":[[349,6]]}},"keywords":{}}],["preval",{"_index":2103,"title":{},"content":{"364":{"position":[[40,9]]}},"keywords":{}}],["prevent",{"_index":1298,"title":{"1044":{"position":[[0,7]]}},"content":{"195":{"position":[[172,7]]},"298":{"position":[[355,7]]},"300":{"position":[[548,10]]},"412":{"position":[[13283,7]]},"556":{"position":[[1862,7],[1964,10]]},"590":{"position":[[361,10],[894,7]]},"617":{"position":[[936,7]]},"849":{"position":[[162,8],[824,7]]},"886":{"position":[[4812,8]]},"907":{"position":[[106,7]]},"948":{"position":[[242,7]]},"966":{"position":[[154,7]]},"1033":{"position":[[899,7]]},"1085":{"position":[[1870,8]]},"1110":{"position":[[56,7]]},"1112":{"position":[[291,7]]},"1162":{"position":[[245,9]]},"1181":{"position":[[311,9]]},"1230":{"position":[[132,7]]},"1299":{"position":[[4,7]]},"1300":{"position":[[196,7]]}},"keywords":{}}],["previou",{"_index":2779,"title":{"760":{"position":[[15,8]]}},"content":{"413":{"position":[[92,8]]},"495":{"position":[[425,8]]},"496":{"position":[[106,8]]},"683":{"position":[[621,8]]},"749":{"position":[[8989,8]]},"760":{"position":[[19,8]]},"885":{"position":[[366,8]]},"943":{"position":[[338,8]]},"948":{"position":[[194,8]]},"954":{"position":[[50,8]]},"977":{"position":[[340,8]]},"1022":{"position":[[623,8]]},"1023":{"position":[[279,8]]},"1069":{"position":[[558,8]]},"1294":{"position":[[1219,8]]},"1305":{"position":[[804,8],[860,8],[981,8]]},"1307":{"position":[[72,8]]},"1316":{"position":[[1704,8]]},"1318":{"position":[[628,8]]}},"keywords":{}}],["previous",{"_index":2523,"title":{},"content":{"408":{"position":[[85,10]]}},"keywords":{}}],["pri",{"_index":2149,"title":{},"content":{"377":{"position":[[391,6]]}},"keywords":{}}],["price",{"_index":1692,"title":{},"content":{"295":{"position":[[84,6]]},"459":{"position":[[549,5]]}},"keywords":{}}],["primari",{"_index":1417,"title":{"1078":{"position":[[10,7]]}},"content":{"231":{"position":[[59,7]]},"356":{"position":[[349,7]]},"367":{"position":[[763,7],[874,7]]},"376":{"position":[[5,7]]},"380":{"position":[[8,7]]},"407":{"position":[[30,7]]},"419":{"position":[[996,7]]},"434":{"position":[[17,7]]},"555":{"position":[[413,7],[762,7]]},"683":{"position":[[694,7]]},"734":{"position":[[795,7]]},"749":{"position":[[1800,7],[7000,7],[7119,7],[7382,7],[9153,7],[9672,7],[10295,7],[11287,7],[11376,7],[14017,7],[17316,7],[17892,7],[18013,7],[18135,7],[18232,7],[19898,7],[20027,7],[20859,7],[21466,7]]},"808":{"position":[[378,8]]},"863":{"position":[[10,7],[141,7]]},"898":{"position":[[168,7],[204,8],[973,7],[1680,7]]},"943":{"position":[[119,7]]},"948":{"position":[[408,7]]},"950":{"position":[[93,7],[368,8]]},"951":{"position":[[33,8],[178,7]]},"1056":{"position":[[288,7]]},"1065":{"position":[[1557,7],[1848,7]]},"1074":{"position":[[1012,7]]},"1077":{"position":[[82,7],[137,7]]},"1078":{"position":[[28,7],[247,9],[574,7],[847,7],[1002,7]]},"1080":{"position":[[197,7]]},"1082":{"position":[[282,7]]},"1083":{"position":[[482,7]]},"1102":{"position":[[1279,7],[1386,7]]},"1148":{"position":[[168,7]]},"1294":{"position":[[498,7]]},"1296":{"position":[[419,7]]}},"keywords":{}}],["primarili",{"_index":1185,"title":{},"content":{"162":{"position":[[544,9]]},"273":{"position":[[138,9]]},"419":{"position":[[869,9]]},"524":{"position":[[531,9]]},"623":{"position":[[225,9]]}},"keywords":{}}],["primary1",{"_index":5338,"title":{},"content":{"945":{"position":[[165,11]]}},"keywords":{}}],["primary2",{"_index":5339,"title":{},"content":{"945":{"position":[[177,10]]}},"keywords":{}}],["primarykey",{"_index":770,"title":{"1077":{"position":[[0,11]]}},"content":{"51":{"position":[[355,11]]},"188":{"position":[[1232,11]]},"209":{"position":[[453,11]]},"211":{"position":[[399,11]]},"255":{"position":[[797,11]]},"259":{"position":[[81,11]]},"314":{"position":[[763,11]]},"315":{"position":[[739,11]]},"316":{"position":[[248,11]]},"334":{"position":[[633,11]]},"367":{"position":[[725,11]]},"392":{"position":[[583,11],[1549,11]]},"480":{"position":[[563,11]]},"482":{"position":[[863,11]]},"538":{"position":[[656,11]]},"554":{"position":[[1354,11]]},"562":{"position":[[335,11]]},"564":{"position":[[792,11]]},"579":{"position":[[641,11]]},"598":{"position":[[663,11]]},"632":{"position":[[1547,11]]},"638":{"position":[[631,11]]},"639":{"position":[[409,11]]},"662":{"position":[[2410,11]]},"680":{"position":[[823,11]]},"717":{"position":[[1432,11]]},"734":{"position":[[697,11]]},"749":{"position":[[6889,10],[11466,10],[11542,10],[11687,10],[11784,10],[19806,10],[23801,11]]},"808":{"position":[[188,11],[544,11]]},"838":{"position":[[2624,11]]},"862":{"position":[[663,11]]},"872":{"position":[[1872,11],[4102,11]]},"898":{"position":[[2452,11]]},"904":{"position":[[886,11]]},"986":{"position":[[272,10]]},"1074":{"position":[[144,11]]},"1077":{"position":[[5,10]]},"1078":{"position":[[257,11],[805,11]]},"1079":{"position":[[517,10],[625,10]]},"1080":{"position":[[99,11]]},"1082":{"position":[[184,11]]},"1083":{"position":[[384,11]]},"1149":{"position":[[1077,11]]},"1158":{"position":[[371,11]]},"1311":{"position":[[391,11]]}},"keywords":{}}],["primarykey.trim",{"_index":4286,"title":{},"content":{"749":{"position":[[11570,18]]}},"keywords":{}}],["prime",{"_index":3679,"title":{},"content":{"624":{"position":[[765,5]]}},"keywords":{}}],["primit",{"_index":4767,"title":{},"content":{"831":{"position":[[208,10]]},"875":{"position":[[123,10]]},"1308":{"position":[[222,11]]}},"keywords":{}}],["principl",{"_index":1067,"title":{},"content":{"118":{"position":[[55,10]]},"120":{"position":[[49,10]]},"136":{"position":[[68,11]]},"153":{"position":[[141,10]]},"325":{"position":[[182,11]]},"407":{"position":[[906,10]]},"419":{"position":[[308,9]]},"445":{"position":[[1271,10]]},"498":{"position":[[521,10]]},"513":{"position":[[184,10]]},"525":{"position":[[45,9]]},"530":{"position":[[223,10]]},"575":{"position":[[54,9]]}},"keywords":{}}],["print",{"_index":3856,"title":{},"content":{"675":{"position":[[39,5]]},"872":{"position":[[4373,7]]}},"keywords":{}}],["priorit",{"_index":2032,"title":{},"content":{"354":{"position":[[1417,10]]},"500":{"position":[[523,10]]},"502":{"position":[[327,10]]},"688":{"position":[[621,10]]},"1072":{"position":[[1895,10]]}},"keywords":{}}],["prioriti",{"_index":3239,"title":{},"content":{"507":{"position":[[35,8]]}},"keywords":{}}],["privaci",{"_index":1023,"title":{},"content":{"97":{"position":[[173,7]]},"195":{"position":[[16,7]]},"407":{"position":[[816,7],[1118,8]]},"410":{"position":[[504,8]]},"419":{"position":[[947,8]]},"723":{"position":[[2432,7]]},"912":{"position":[[146,8]]},"1206":{"position":[[646,7]]}},"keywords":{}}],["privat",{"_index":873,"title":{"1205":{"position":[[7,7]]},"1215":{"position":[[53,7]]}},"content":{"59":{"position":[[53,7]]},"130":{"position":[[376,7],[412,7]]},"131":{"position":[[525,7]]},"202":{"position":[[167,7]]},"408":{"position":[[1539,7]]},"453":{"position":[[12,7]]},"546":{"position":[[108,7]]},"564":{"position":[[1084,7]]},"606":{"position":[[108,7]]},"640":{"position":[[176,7]]},"697":{"position":[[569,7]]},"716":{"position":[[430,7]]},"825":{"position":[[922,7]]},"1206":{"position":[[12,7],[121,8]]},"1207":{"position":[[40,7]]},"1208":{"position":[[681,7]]},"1209":{"position":[[20,7]]},"1214":{"position":[[8,7]]},"1215":{"position":[[102,7],[375,7]]},"1216":{"position":[[41,7]]}},"keywords":{}}],["private/publickey",{"_index":4020,"title":{},"content":{"716":{"position":[[228,18]]}},"keywords":{}}],["pro",{"_index":2778,"title":{"844":{"position":[[0,5]]},"1128":{"position":[[0,5]]},"1161":{"position":[[0,5]]},"1167":{"position":[[0,5]]},"1170":{"position":[[0,5]]},"1180":{"position":[[0,5]]},"1199":{"position":[[0,5]]}},"content":{"413":{"position":[[26,4]]},"559":{"position":[[817,4]]},"839":{"position":[[220,5]]}},"keywords":{}}],["probabl",{"_index":3206,"title":{},"content":{"497":{"position":[[527,12]]}},"keywords":{}}],["problem",{"_index":72,"title":{"47":{"position":[[31,8]]},"358":{"position":[[52,8]]},"625":{"position":[[6,9]]},"627":{"position":[[28,9]]},"850":{"position":[[6,9]]},"909":{"position":[[6,9]]},"1176":{"position":[[6,9]]},"1282":{"position":[[6,8]]}},"content":{"4":{"position":[[200,8]]},"9":{"position":[[57,8]]},"19":{"position":[[1055,7]]},"118":{"position":[[398,7]]},"323":{"position":[[656,7]]},"367":{"position":[[76,7]]},"457":{"position":[[699,9]]},"458":{"position":[[1008,8]]},"468":{"position":[[748,8]]},"475":{"position":[[289,9]]},"614":{"position":[[826,7]]},"616":{"position":[[947,8]]},"617":{"position":[[1026,7]]},"624":{"position":[[343,8]]},"625":{"position":[[65,9]]},"627":{"position":[[22,8]]},"670":{"position":[[102,8]]},"696":{"position":[[448,8],[1511,7]]},"698":{"position":[[3143,9]]},"700":{"position":[[576,7]]},"701":{"position":[[463,7]]},"705":{"position":[[900,8]]},"710":{"position":[[1199,7]]},"740":{"position":[[227,7]]},"749":{"position":[[21845,8],[21965,9]]},"761":{"position":[[186,7]]},"817":{"position":[[208,8]]},"837":{"position":[[549,7]]},"840":{"position":[[457,8]]},"849":{"position":[[853,8]]},"863":{"position":[[689,7]]},"932":{"position":[[246,7]]},"1033":{"position":[[248,8]]},"1085":{"position":[[272,7]]},"1120":{"position":[[337,8]]},"1162":{"position":[[396,7],[673,7]]},"1174":{"position":[[347,7]]},"1181":{"position":[[483,7],[761,7]]},"1198":{"position":[[672,7],[2288,8]]},"1252":{"position":[[378,8]]},"1299":{"position":[[60,9]]},"1301":{"position":[[326,7],[563,8]]},"1305":{"position":[[283,8]]},"1316":{"position":[[2469,9]]}},"keywords":{}}],["problem.appwrit",{"_index":4914,"title":{},"content":{"863":{"position":[[458,16]]}},"keywords":{}}],["problemat",{"_index":946,"title":{},"content":{"66":{"position":[[514,11]]},"412":{"position":[[6107,12]]}},"keywords":{}}],["process",{"_index":12,"title":{"801":{"position":[[0,7],[28,8]]},"1088":{"position":[[24,10]]},"1225":{"position":[[20,8]]},"1226":{"position":[[12,8]]},"1263":{"position":[[14,8]]},"1264":{"position":[[12,8]]}},"content":{"1":{"position":[[168,7]]},"6":{"position":[[196,9]]},"7":{"position":[[170,9]]},"28":{"position":[[372,7],[444,7]]},"30":{"position":[[179,7]]},"46":{"position":[[590,10]]},"66":{"position":[[320,11]]},"70":{"position":[[79,9]]},"132":{"position":[[108,7]]},"158":{"position":[[21,7]]},"165":{"position":[[64,7]]},"184":{"position":[[248,7]]},"188":{"position":[[1555,7],[2464,7],[2591,7]]},"192":{"position":[[53,7]]},"196":{"position":[[211,10]]},"201":{"position":[[78,7]]},"217":{"position":[[382,10]]},"265":{"position":[[934,11]]},"273":{"position":[[128,9]]},"277":{"position":[[79,8]]},"279":{"position":[[461,7]]},"285":{"position":[[48,8],[291,7]]},"293":{"position":[[130,7]]},"333":{"position":[[108,8]]},"358":{"position":[[1036,7]]},"364":{"position":[[459,7]]},"365":{"position":[[1222,10],[1395,10]]},"391":{"position":[[928,9]]},"392":{"position":[[2270,10],[2437,9],[2962,10],[3107,10],[3201,10],[3273,7],[3771,10],[5130,10]]},"394":{"position":[[254,7],[1754,7]]},"399":{"position":[[394,9]]},"401":{"position":[[681,8]]},"402":{"position":[[478,7]]},"412":{"position":[[10185,11]]},"427":{"position":[[771,7]]},"445":{"position":[[1340,7]]},"451":{"position":[[598,7]]},"453":{"position":[[454,10]]},"458":{"position":[[211,7]]},"460":{"position":[[64,10],[181,10],[536,8],[1340,8]]},"463":{"position":[[58,7],[112,9],[285,7],[429,7]]},"464":{"position":[[646,7]]},"467":{"position":[[469,7]]},"468":{"position":[[100,7]]},"470":{"position":[[251,8]]},"503":{"position":[[102,8]]},"522":{"position":[[5,7]]},"534":{"position":[[681,10]]},"569":{"position":[[155,10],[717,7],[1337,8]]},"571":{"position":[[121,10],[1562,9]]},"594":{"position":[[679,10]]},"610":{"position":[[610,7]]},"621":{"position":[[607,7]]},"622":{"position":[[142,7]]},"634":{"position":[[678,9]]},"642":{"position":[[152,10]]},"648":{"position":[[363,10]]},"653":{"position":[[731,7]]},"662":{"position":[[751,8]]},"693":{"position":[[77,7],[120,10],[228,8],[458,7],[492,8],[617,7]]},"698":{"position":[[331,7]]},"699":{"position":[[921,10]]},"703":{"position":[[1341,7],[1492,9]]},"707":{"position":[[74,7],[112,7],[198,9],[291,7]]},"708":{"position":[[274,7],[634,8]]},"709":{"position":[[67,8],[446,8],[1017,7],[1276,8],[1344,7]]},"710":{"position":[[1069,10],[1180,9],[1329,7],[2372,7]]},"711":{"position":[[302,8],[328,8],[404,10],[543,7],[633,7],[1062,7],[1464,7],[1654,8],[2168,7]]},"723":{"position":[[1609,9]]},"740":{"position":[[151,7]]},"743":{"position":[[110,9],[210,9]]},"749":{"position":[[6007,8]]},"759":{"position":[[990,12]]},"760":{"position":[[878,12]]},"773":{"position":[[164,8],[295,7]]},"774":{"position":[[1028,7]]},"775":{"position":[[111,7]]},"801":{"position":[[392,10],[642,11],[950,10]]},"802":{"position":[[176,10],[843,8]]},"835":{"position":[[317,7]]},"836":{"position":[[2107,8]]},"846":{"position":[[1116,7]]},"875":{"position":[[625,7],[5789,7],[5848,10]]},"888":{"position":[[105,9]]},"910":{"position":[[37,7],[267,8]]},"964":{"position":[[443,8]]},"981":{"position":[[960,7]]},"989":{"position":[[121,10]]},"990":{"position":[[213,10]]},"1020":{"position":[[206,10],[282,7],[503,7]]},"1026":{"position":[[141,9]]},"1028":{"position":[[134,10]]},"1030":{"position":[[22,7]]},"1033":{"position":[[147,9]]},"1072":{"position":[[734,10]]},"1088":{"position":[[124,9],[375,9],[677,9]]},"1089":{"position":[[239,9]]},"1095":{"position":[[301,9]]},"1126":{"position":[[171,7]]},"1135":{"position":[[123,7]]},"1162":{"position":[[53,7],[364,8]]},"1164":{"position":[[1014,7],[1474,8]]},"1170":{"position":[[44,9]]},"1171":{"position":[[70,7]]},"1174":{"position":[[696,9]]},"1181":{"position":[[119,7],[451,8]]},"1183":{"position":[[113,10],[448,8],[575,8]]},"1225":{"position":[[15,7]]},"1238":{"position":[[286,8]]},"1241":{"position":[[81,8]]},"1245":{"position":[[75,7]]},"1246":{"position":[[217,7],[255,7],[537,7],[575,7],[830,7],[2103,7],[2146,10],[2254,8]]},"1267":{"position":[[173,8]]},"1270":{"position":[[188,7]]},"1292":{"position":[[560,9]]},"1300":{"position":[[121,7],[838,7]]},"1301":{"position":[[662,7],[1388,7],[1516,7],[1648,8]]},"1318":{"position":[[112,10]]}},"keywords":{}}],["process.brows",{"_index":123,"title":{},"content":{"8":{"position":[[658,15]]}},"keywords":{}}],["process.env.node_env",{"_index":3843,"title":{},"content":{"672":{"position":[[32,21]]}},"keywords":{}}],["process.env.port",{"_index":3594,"title":{},"content":{"612":{"position":[[1815,16]]}},"keywords":{}}],["process.nexttick",{"_index":4335,"title":{"910":{"position":[[28,19]]}},"content":{"749":{"position":[[15323,18]]},"910":{"position":[[57,18]]}},"keywords":{}}],["process.slow",{"_index":6130,"title":{},"content":{"1171":{"position":[[306,12]]}},"keywords":{}}],["process/brows",{"_index":5266,"title":{},"content":{"910":{"position":[[170,15],[276,18]]}},"keywords":{}}],["processed.download",{"_index":3038,"title":{},"content":{"463":{"position":[[1117,21]]}},"keywords":{}}],["processor",{"_index":2285,"title":{},"content":{"392":{"position":[[5007,10],[5101,10]]}},"keywords":{}}],["produc",{"_index":3530,"title":{},"content":{"591":{"position":[[506,7]]}},"keywords":{}}],["product",{"_index":203,"title":{},"content":{"14":{"position":[[119,9],[970,8]]},"38":{"position":[[1112,7]]},"88":{"position":[[183,12]]},"94":{"position":[[296,12]]},"212":{"position":[[578,10]]},"301":{"position":[[417,11]]},"306":{"position":[[357,10]]},"318":{"position":[[316,10]]},"350":{"position":[[384,13]]},"356":{"position":[[328,8],[436,8]]},"380":{"position":[[323,12]]},"386":{"position":[[26,10]]},"411":{"position":[[5547,7]]},"459":{"position":[[533,8]]},"554":{"position":[[376,10],[666,10],[1189,10]]},"556":{"position":[[1501,10]]},"570":{"position":[[131,7]]},"611":{"position":[[999,11]]},"674":{"position":[[285,12]]},"675":{"position":[[137,11]]},"698":{"position":[[3173,10]]},"710":{"position":[[1270,11],[2274,11]]},"749":{"position":[[6141,10]]},"772":{"position":[[2116,11]]},"798":{"position":[[311,11]]},"821":{"position":[[301,11],[559,10],[813,10]]},"824":{"position":[[452,10]]},"860":{"position":[[930,10]]},"872":{"position":[[1468,10]]},"898":{"position":[[2926,10]]},"904":{"position":[[2691,10]]},"906":{"position":[[400,10],[600,11]]},"966":{"position":[[371,10]]},"1009":{"position":[[912,10]]},"1085":{"position":[[3259,10]]},"1143":{"position":[[130,11]]},"1151":{"position":[[643,10]]},"1178":{"position":[[642,10]]},"1193":{"position":[[293,11]]},"1198":{"position":[[1105,10]]},"1266":{"position":[[708,13]]},"1271":{"position":[[342,11],[597,10]]}},"keywords":{}}],["profession",{"_index":4024,"title":{},"content":{"718":{"position":[[5,14]]},"1143":{"position":[[53,12]]},"1151":{"position":[[622,12]]},"1178":{"position":[[621,12]]}},"keywords":{}}],["profil",{"_index":1234,"title":{},"content":{"178":{"position":[[160,9]]},"346":{"position":[[750,10]]},"353":{"position":[[683,9]]},"521":{"position":[[318,7]]}},"keywords":{}}],["program",{"_index":1068,"title":{},"content":{"118":{"position":[[78,12],[167,11]]},"120":{"position":[[72,12]]},"126":{"position":[[110,11]]},"136":{"position":[[56,11]]},"153":{"position":[[164,12]]},"155":{"position":[[69,11]]},"179":{"position":[[357,11]]},"182":{"position":[[128,12]]},"207":{"position":[[173,8]]},"325":{"position":[[170,11]]},"364":{"position":[[260,11],[399,11]]},"379":{"position":[[33,12]]},"445":{"position":[[1231,11],[1294,12],[1568,11]]},"447":{"position":[[360,12]]},"513":{"position":[[207,11]]},"514":{"position":[[110,11]]},"520":{"position":[[118,11]]},"521":{"position":[[477,11]]},"530":{"position":[[211,11]]},"569":{"position":[[1164,11],[1289,8]]},"575":{"position":[[119,12]]},"711":{"position":[[60,11]]},"1102":{"position":[[167,10],[191,11]]}},"keywords":{}}],["progress",{"_index":1152,"title":{"499":{"position":[[23,11]]},"500":{"position":[[10,11]]},"503":{"position":[[16,11]]}},"content":{"148":{"position":[[357,11]]},"375":{"position":[[890,11]]},"404":{"position":[[479,8]]},"450":{"position":[[710,8]]},"474":{"position":[[216,8]]},"500":{"position":[[1,11]]},"503":{"position":[[25,11]]},"510":{"position":[[64,11]]},"511":{"position":[[445,11]]},"584":{"position":[[221,11]]},"796":{"position":[[1235,10],[1365,10]]}},"keywords":{}}],["project",{"_index":190,"title":{"262":{"position":[[23,9]]},"730":{"position":[[0,7]]}},"content":{"13":{"position":[[110,8],[216,8]]},"15":{"position":[[548,8]]},"17":{"position":[[491,8]]},"19":{"position":[[211,8],[235,7]]},"27":{"position":[[426,7]]},"28":{"position":[[552,7]]},"31":{"position":[[17,7]]},"34":{"position":[[288,9]]},"36":{"position":[[284,8]]},"38":{"position":[[954,9]]},"61":{"position":[[243,7]]},"74":{"position":[[131,9]]},"83":{"position":[[246,9]]},"84":{"position":[[418,9]]},"114":{"position":[[431,9]]},"175":{"position":[[422,9]]},"198":{"position":[[308,9]]},"202":{"position":[[448,7]]},"241":{"position":[[190,7]]},"247":{"position":[[34,9]]},"262":{"position":[[147,7]]},"263":{"position":[[543,8]]},"285":{"position":[[95,8]]},"320":{"position":[[169,8]]},"333":{"position":[[74,7]]},"347":{"position":[[551,7]]},"356":{"position":[[856,8]]},"362":{"position":[[830,9],[1622,7]]},"373":{"position":[[190,7]]},"388":{"position":[[96,7]]},"392":{"position":[[163,9]]},"420":{"position":[[1045,8]]},"498":{"position":[[219,8]]},"579":{"position":[[17,8]]},"590":{"position":[[71,9]]},"591":{"position":[[780,9]]},"614":{"position":[[56,7]]},"670":{"position":[[201,8]]},"710":{"position":[[2533,8]]},"730":{"position":[[47,8]]},"749":{"position":[[5938,8]]},"836":{"position":[[327,7],[422,8],[493,7],[1083,7]]},"838":{"position":[[3261,8]]},"839":{"position":[[114,8]]},"840":{"position":[[698,8]]},"854":{"position":[[219,7]]},"861":{"position":[[258,8],[992,7]]},"872":{"position":[[55,8]]},"885":{"position":[[2734,8]]},"898":{"position":[[84,7],[122,8]]},"1009":{"position":[[395,8],[472,8]]},"1143":{"position":[[66,8]]},"1157":{"position":[[458,9]]}},"keywords":{}}],["project.mak",{"_index":6358,"title":{},"content":{"1280":{"position":[[40,12]]}},"keywords":{}}],["projectid",{"_index":4865,"title":{},"content":{"854":{"position":[[203,9],[269,10],[323,10],[734,10]]},"858":{"position":[[245,10]]}},"keywords":{}}],["projectrootpath",{"_index":6308,"title":{},"content":{"1266":{"position":[[256,15],[664,16]]}},"keywords":{}}],["projects.node.j",{"_index":2166,"title":{},"content":{"384":{"position":[[132,17]]}},"keywords":{}}],["projects.rxdb",{"_index":1154,"title":{},"content":{"149":{"position":[[431,13]]},"347":{"position":[[429,13]]},"362":{"position":[[1500,13]]},"511":{"position":[[431,13]]},"531":{"position":[[431,13]]},"591":{"position":[[429,13]]}},"keywords":{}}],["projecttri",{"_index":1698,"title":{},"content":{"296":{"position":[[32,10]]}},"keywords":{}}],["promis",{"_index":549,"title":{},"content":{"35":{"position":[[89,7]]},"47":{"position":[[201,7]]},"387":{"position":[[104,8]]},"439":{"position":[[419,8]]},"452":{"position":[[729,7]]},"521":{"position":[[142,7]]},"535":{"position":[[196,9]]},"595":{"position":[[209,9]]},"621":{"position":[[715,8]]},"624":{"position":[[1174,9]]},"659":{"position":[[398,7]]},"751":{"position":[[1042,7]]},"810":{"position":[[119,7]]},"835":{"position":[[211,7],[388,7]]},"886":{"position":[[230,7]]},"917":{"position":[[47,7]]},"929":{"position":[[35,7]]},"930":{"position":[[11,7]]},"931":{"position":[[11,7]]},"932":{"position":[[11,7]]},"968":{"position":[[285,7]]},"974":{"position":[[11,7]]},"975":{"position":[[11,7]]},"976":{"position":[[116,7]]},"994":{"position":[[170,7]]},"995":{"position":[[11,7],[667,7]]},"997":{"position":[[36,7]]},"1014":{"position":[[128,7]]},"1015":{"position":[[108,7]]},"1016":{"position":[[45,7]]},"1026":{"position":[[97,7]]},"1057":{"position":[[11,7]]},"1062":{"position":[[40,7]]},"1105":{"position":[[1109,8]]},"1213":{"position":[[863,8]]},"1274":{"position":[[536,9]]},"1279":{"position":[[923,9]]}},"keywords":{}}],["promise<number[]>",{"_index":2270,"title":{},"content":{"392":{"position":[[4087,23]]}},"keywords":{}}],["promise<number[]>(r",{"_index":2273,"title":{},"content":{"392":{"position":[[4258,27]]}},"keywords":{}}],["promise<sqlitedatabaseclass>",{"_index":6367,"title":{},"content":{"1281":{"position":[[303,35]]}},"keywords":{}}],["promise<void>",{"_index":160,"title":{},"content":{"11":{"position":[[556,19]]}},"keywords":{}}],["promise((r",{"_index":3000,"title":{},"content":{"459":{"position":[[846,13]]},"1294":{"position":[[1140,13]]}},"keywords":{}}],["promise(r",{"_index":163,"title":{},"content":{"11":{"position":[[589,11]]},"711":{"position":[[1556,11]]},"767":{"position":[[562,11],[971,11]]},"768":{"position":[[564,11],[973,11]]},"769":{"position":[[521,11],[942,11]]}},"keywords":{}}],["promise.al",{"_index":2394,"title":{},"content":{"398":{"position":[[835,12],[1010,13],[2121,12]]}},"keywords":{}}],["promise.all(docs.map(async",{"_index":2282,"title":{},"content":{"392":{"position":[[4738,26]]}},"keywords":{}}],["promise.all(docs.map(async(doc",{"_index":2246,"title":{},"content":{"392":{"position":[[2785,31]]},"397":{"position":[[1826,31]]}},"keywords":{}}],["promise.resolv",{"_index":6247,"title":{},"content":{"1218":{"position":[[458,17]]}},"keywords":{}}],["promise.resolve(sha256(input",{"_index":5406,"title":{},"content":{"968":{"position":[[456,31]]}},"keywords":{}}],["promot",{"_index":2160,"title":{},"content":{"382":{"position":[[118,8]]},"502":{"position":[[1290,8]]},"509":{"position":[[150,9]]}},"keywords":{}}],["prompt",{"_index":1722,"title":{},"content":{"298":{"position":[[596,7]]},"299":{"position":[[372,6],[576,8],[1296,6],[1324,6]]},"302":{"position":[[485,6],[946,6]]},"404":{"position":[[655,6]]},"408":{"position":[[577,6]]},"496":{"position":[[458,8]]},"618":{"position":[[708,9]]},"635":{"position":[[408,9]]},"696":{"position":[[1454,6]]}},"keywords":{}}],["promptli",{"_index":3254,"title":{},"content":{"517":{"position":[[310,8]]}},"keywords":{}}],["prone",{"_index":3252,"title":{},"content":{"515":{"position":[[193,5]]}},"keywords":{}}],["proof",{"_index":1887,"title":{},"content":{"314":{"position":[[14,5]]}},"keywords":{}}],["propag",{"_index":1118,"title":{},"content":{"136":{"position":[[123,10]]},"240":{"position":[[241,9]]},"267":{"position":[[549,9]]},"274":{"position":[[364,11]]},"283":{"position":[[481,10]]},"289":{"position":[[911,10]]},"412":{"position":[[725,9]]},"445":{"position":[[1079,10]]},"446":{"position":[[372,10]]},"490":{"position":[[422,9]]},"517":{"position":[[319,10]]},"519":{"position":[[202,10]]},"525":{"position":[[178,10]]},"575":{"position":[[560,10]]},"630":{"position":[[410,9]]},"875":{"position":[[6812,10]]}},"keywords":{}}],["proper",{"_index":1140,"title":{},"content":{"145":{"position":[[11,6]]},"291":{"position":[[290,6]]},"397":{"position":[[322,6]]},"453":{"position":[[820,6]]},"550":{"position":[[288,6]]},"635":{"position":[[440,6]]},"996":{"position":[[154,6]]},"1172":{"position":[[508,6]]}},"keywords":{}}],["properli",{"_index":4917,"title":{},"content":{"863":{"position":[[589,8]]},"917":{"position":[[493,8]]},"990":{"position":[[308,8],[1001,8]]},"1120":{"position":[[177,9]]},"1307":{"position":[[529,9]]}},"keywords":{}}],["properti",{"_index":772,"title":{"1084":{"position":[[12,11]]}},"content":{"51":{"position":[[389,11]]},"188":{"position":[[1266,11]]},"209":{"position":[[471,11]]},"211":{"position":[[433,11]]},"255":{"position":[[815,11]]},"259":{"position":[[115,11]]},"314":{"position":[[781,11]]},"315":{"position":[[757,11]]},"316":{"position":[[266,11]]},"334":{"position":[[667,11]]},"354":{"position":[[1290,10]]},"367":{"position":[[810,11]]},"392":{"position":[[617,11],[1583,11]]},"412":{"position":[[4907,11],[5381,10]]},"480":{"position":[[581,11]]},"482":{"position":[[881,11]]},"538":{"position":[[690,11]]},"554":{"position":[[1372,11]]},"562":{"position":[[353,11],[820,9]]},"564":{"position":[[810,11]]},"579":{"position":[[675,11],[925,8]]},"598":{"position":[[697,11]]},"632":{"position":[[1565,11]]},"636":{"position":[[230,8]]},"638":{"position":[[649,11]]},"639":{"position":[[427,11]]},"662":{"position":[[2428,11]]},"680":{"position":[[857,11]]},"685":{"position":[[320,9],[618,10]]},"687":{"position":[[336,11]]},"691":{"position":[[565,11]]},"714":{"position":[[132,10]]},"717":{"position":[[1292,9],[1466,11]]},"720":{"position":[[93,8],[165,11]]},"724":{"position":[[870,8]]},"734":{"position":[[731,11]]},"749":{"position":[[3692,10],[11265,8],[13100,10],[18434,10],[19724,12],[20048,8]]},"751":{"position":[[190,8]]},"754":{"position":[[183,9]]},"780":{"position":[[375,10]]},"804":{"position":[[10,8]]},"805":{"position":[[16,8]]},"808":{"position":[[20,10],[208,11],[580,11]]},"812":{"position":[[103,11],[169,11]]},"813":{"position":[[103,11]]},"838":{"position":[[2642,11]]},"848":{"position":[[353,8]]},"862":{"position":[[697,11]]},"872":{"position":[[1914,11],[4144,11]]},"887":{"position":[[143,11]]},"898":{"position":[[2494,11]]},"904":{"position":[[904,11]]},"916":{"position":[[172,11]]},"932":{"position":[[1224,11]]},"944":{"position":[[643,8]]},"968":{"position":[[625,10]]},"987":{"position":[[1032,8]]},"988":{"position":[[1696,8]]},"993":{"position":[[72,11]]},"1040":{"position":[[5,10]]},"1074":{"position":[[128,8]]},"1077":{"position":[[52,8]]},"1078":{"position":[[74,10],[510,11]]},"1080":{"position":[[133,11],[670,11]]},"1082":{"position":[[218,11]]},"1083":{"position":[[418,11]]},"1084":{"position":[[541,10],[646,8]]},"1085":{"position":[[1145,8],[1912,11],[2040,11],[2236,10],[2265,8],[2609,11]]},"1106":{"position":[[479,8]]},"1116":{"position":[[168,10],[374,8],[462,8],[578,8]]},"1117":{"position":[[248,8]]},"1149":{"position":[[1095,11]]},"1158":{"position":[[405,11]]},"1213":{"position":[[895,10]]},"1304":{"position":[[79,10]]},"1308":{"position":[[417,12]]},"1309":{"position":[[831,11],[1113,10],[1306,8]]},"1311":{"position":[[433,11],[1596,8]]}},"keywords":{}}],["proportion",{"_index":2326,"title":{},"content":{"394":{"position":[[1531,15]]}},"keywords":{}}],["propos",{"_index":2653,"title":{},"content":{"412":{"position":[[453,8]]},"451":{"position":[[32,8]]},"458":{"position":[[949,8]]}},"keywords":{}}],["proprietari",{"_index":1542,"title":{},"content":{"249":{"position":[[42,11]]},"381":{"position":[[424,11]]},"412":{"position":[[1339,11]]}},"keywords":{}}],["protect",{"_index":934,"title":{},"content":{"65":{"position":[[1788,10]]},"95":{"position":[[216,10]]},"139":{"position":[[109,7]]},"173":{"position":[[1307,9]]},"195":{"position":[[138,7]]},"218":{"position":[[288,10]]},"249":{"position":[[315,8]]},"291":{"position":[[332,10]]},"318":{"position":[[428,7]]},"377":{"position":[[373,7]]},"417":{"position":[[418,7]]},"479":{"position":[[260,7]]},"526":{"position":[[163,9]]},"556":{"position":[[732,10]]},"567":{"position":[[684,10]]},"586":{"position":[[135,10]]},"638":{"position":[[175,7]]},"897":{"position":[[470,7]]},"898":{"position":[[2830,11]]},"912":{"position":[[430,9]]}},"keywords":{}}],["protocol",{"_index":1189,"title":{},"content":{"165":{"position":[[180,10]]},"202":{"position":[[329,9]]},"248":{"position":[[245,8]]},"255":{"position":[[76,8]]},"262":{"position":[[119,8]]},"412":{"position":[[1327,8],[11597,8]]},"491":{"position":[[664,9],[1713,9],[1885,9]]},"613":{"position":[[148,8]]},"614":{"position":[[450,9]]},"620":{"position":[[566,9]]},"621":{"position":[[817,8]]},"623":{"position":[[394,8]]},"624":{"position":[[230,9],[379,10]]},"705":{"position":[[1343,9]]},"871":{"position":[[798,8]]},"903":{"position":[[498,8],[621,8]]},"981":{"position":[[57,10],[667,8],[1265,8]]},"1005":{"position":[[22,8]]},"1316":{"position":[[333,8],[1363,8]]}},"keywords":{}}],["prototyp",{"_index":534,"title":{"805":{"position":[[0,11]]}},"content":{"34":{"position":[[298,12]]},"662":{"position":[[1140,11]]},"701":{"position":[[44,10]]},"772":{"position":[[2065,10]]},"784":{"position":[[827,10]]},"805":{"position":[[5,10],[73,9],[135,9],[252,10]]},"806":{"position":[[52,9]]},"1157":{"position":[[468,11]]},"1271":{"position":[[528,10]]}},"keywords":{}}],["prove",{"_index":1195,"title":{},"content":{"170":{"position":[[602,6]]},"289":{"position":[[1804,6]]},"354":{"position":[[663,5]]}},"keywords":{}}],["proven",{"_index":253,"title":{"386":{"position":[[0,6]]}},"content":{"15":{"position":[[240,6],[465,6]]},"1199":{"position":[[13,6]]}},"keywords":{}}],["provid",{"_index":293,"title":{"751":{"position":[[0,9]]}},"content":{"17":{"position":[[299,8]]},"18":{"position":[[128,8]]},"21":{"position":[[56,8]]},"22":{"position":[[178,9]]},"28":{"position":[[254,8]]},"33":{"position":[[57,9]]},"34":{"position":[[543,8]]},"35":{"position":[[70,8],[374,7]]},"40":{"position":[[201,8]]},"42":{"position":[[10,8],[205,9]]},"46":{"position":[[110,8]]},"73":{"position":[[79,7]]},"79":{"position":[[6,8]]},"84":{"position":[[312,8],[345,8]]},"87":{"position":[[205,8]]},"90":{"position":[[289,9]]},"99":{"position":[[294,7]]},"101":{"position":[[163,7]]},"103":{"position":[[6,8]]},"106":{"position":[[51,9]]},"110":{"position":[[97,8]]},"114":{"position":[[325,8],[358,8]]},"116":{"position":[[196,8]]},"117":{"position":[[56,9]]},"118":{"position":[[182,7]]},"120":{"position":[[211,8]]},"123":{"position":[[6,8]]},"125":{"position":[[6,8],[280,9]]},"130":{"position":[[9,8]]},"131":{"position":[[487,8],[777,8]]},"132":{"position":[[120,8]]},"134":{"position":[[267,8]]},"136":{"position":[[6,8]]},"139":{"position":[[6,8]]},"145":{"position":[[235,7]]},"146":{"position":[[6,8],[317,8]]},"147":{"position":[[167,8]]},"148":{"position":[[271,7]]},"149":{"position":[[325,8],[358,8]]},"152":{"position":[[64,9]]},"155":{"position":[[85,8]]},"156":{"position":[[96,7]]},"158":{"position":[[81,8]]},"162":{"position":[[6,8],[299,9]]},"165":{"position":[[6,8]]},"167":{"position":[[53,8]]},"169":{"position":[[52,8]]},"170":{"position":[[6,8]]},"174":{"position":[[762,8],[1805,8],[2291,9],[2614,8]]},"175":{"position":[[318,8]]},"177":{"position":[[217,8]]},"178":{"position":[[56,9]]},"181":{"position":[[111,8]]},"184":{"position":[[82,8]]},"189":{"position":[[212,8],[569,7]]},"191":{"position":[[275,9]]},"192":{"position":[[6,8]]},"196":{"position":[[6,8]]},"198":{"position":[[426,7]]},"205":{"position":[[399,9]]},"217":{"position":[[231,7]]},"219":{"position":[[20,7],[322,8]]},"221":{"position":[[264,9]]},"223":{"position":[[160,7]]},"226":{"position":[[362,7]]},"229":{"position":[[101,8]]},"231":{"position":[[210,8]]},"232":{"position":[[85,8]]},"236":{"position":[[6,8]]},"239":{"position":[[6,8]]},"240":{"position":[[153,9]]},"266":{"position":[[329,9]]},"267":{"position":[[422,9],[1052,9],[1365,7],[1567,8]]},"269":{"position":[[324,7]]},"270":{"position":[[170,7]]},"274":{"position":[[177,9]]},"277":{"position":[[199,7]]},"287":{"position":[[66,8],[1044,7]]},"288":{"position":[[203,8]]},"289":{"position":[[1249,8]]},"290":{"position":[[234,9]]},"295":{"position":[[294,8]]},"300":{"position":[[472,7]]},"318":{"position":[[147,8]]},"320":{"position":[[8,8]]},"322":{"position":[[87,7]]},"329":{"position":[[33,8]]},"331":{"position":[[329,9]]},"347":{"position":[[325,8]]},"362":{"position":[[742,7],[1396,8]]},"367":{"position":[[297,8]]},"368":{"position":[[350,9]]},"369":{"position":[[1251,7]]},"372":{"position":[[139,9]]},"381":{"position":[[366,8]]},"386":{"position":[[284,8]]},"390":{"position":[[1805,7]]},"392":{"position":[[2367,8]]},"393":{"position":[[312,8]]},"396":{"position":[[1936,8]]},"408":{"position":[[2056,9],[2216,7]]},"410":{"position":[[173,7]]},"411":{"position":[[5376,9]]},"412":{"position":[[11680,9],[11755,7]]},"417":{"position":[[306,9]]},"420":{"position":[[1569,7]]},"424":{"position":[[376,8]]},"430":{"position":[[291,7]]},"432":{"position":[[1210,9]]},"433":{"position":[[67,8]]},"436":{"position":[[237,9]]},"439":{"position":[[436,8]]},"444":{"position":[[509,9]]},"445":{"position":[[228,8]]},"446":{"position":[[1051,7]]},"451":{"position":[[103,8]]},"494":{"position":[[219,8]]},"511":{"position":[[325,8],[358,8]]},"517":{"position":[[130,8]]},"519":{"position":[[261,9]]},"520":{"position":[[226,7],[425,8]]},"521":{"position":[[493,9]]},"523":{"position":[[24,8]]},"524":{"position":[[334,9]]},"527":{"position":[[81,8]]},"529":{"position":[[164,8]]},"531":{"position":[[325,8],[358,8]]},"533":{"position":[[100,8]]},"535":{"position":[[732,7]]},"538":{"position":[[6,8]]},"540":{"position":[[16,9]]},"542":{"position":[[946,8]]},"560":{"position":[[176,7]]},"564":{"position":[[148,8],[532,7]]},"565":{"position":[[67,8]]},"575":{"position":[[218,9]]},"576":{"position":[[347,9]]},"579":{"position":[[888,9]]},"582":{"position":[[556,8]]},"591":{"position":[[325,8]]},"593":{"position":[[100,8]]},"595":{"position":[[753,7]]},"598":{"position":[[6,8]]},"600":{"position":[[16,9]]},"611":{"position":[[12,7],[1379,8]]},"612":{"position":[[26,7]]},"619":{"position":[[280,8]]},"621":{"position":[[214,8]]},"635":{"position":[[316,8]]},"693":{"position":[[295,8]]},"702":{"position":[[617,7]]},"703":{"position":[[846,7]]},"715":{"position":[[104,7],[370,9]]},"723":{"position":[[303,9]]},"746":{"position":[[202,7]]},"749":{"position":[[23973,7],[24249,8]]},"751":{"position":[[44,7]]},"760":{"position":[[225,9]]},"772":{"position":[[123,8]]},"775":{"position":[[200,8]]},"781":{"position":[[668,7]]},"782":{"position":[[212,8]]},"802":{"position":[[415,7]]},"829":{"position":[[882,9],[988,8],[1134,8],[2194,8],[3088,8]]},"830":{"position":[[15,9]]},"836":{"position":[[858,7]]},"838":{"position":[[3281,8]]},"846":{"position":[[456,8]]},"854":{"position":[[879,9]]},"860":{"position":[[295,8]]},"886":{"position":[[4661,7],[4776,9]]},"889":{"position":[[816,8]]},"894":{"position":[[70,8]]},"904":{"position":[[1533,7],[2651,8]]},"906":{"position":[[525,8]]},"912":{"position":[[241,9]]},"945":{"position":[[270,9]]},"968":{"position":[[194,7]]},"985":{"position":[[180,7]]},"988":{"position":[[2132,9]]},"1072":{"position":[[1032,7],[1268,7]]},"1076":{"position":[[97,7]]},"1085":{"position":[[2636,7]]},"1101":{"position":[[364,8]]},"1102":{"position":[[761,8]]},"1104":{"position":[[107,8]]},"1132":{"position":[[985,9]]},"1140":{"position":[[25,8],[421,9]]},"1147":{"position":[[168,8]]},"1148":{"position":[[42,8]]},"1150":{"position":[[192,8]]},"1164":{"position":[[21,8]]},"1206":{"position":[[266,8]]},"1209":{"position":[[44,8]]},"1215":{"position":[[158,8]]},"1247":{"position":[[306,8],[479,8],[666,8]]},"1289":{"position":[[23,7]]}},"keywords":{}}],["prowess",{"_index":3230,"title":{},"content":{"502":{"position":[[1165,7]]}},"keywords":{}}],["proxi",{"_index":3629,"title":{"619":{"position":[[0,7]]},"1040":{"position":[[0,5]]}},"content":{"616":{"position":[[915,7]]},"617":{"position":[[683,6],[692,5],[752,6]]},"619":{"position":[[191,7]]},"627":{"position":[[105,7]]},"749":{"position":[[12123,5]]},"849":{"position":[[626,5],[812,8]]},"1018":{"position":[[441,5]]}},"keywords":{}}],["proxim",{"_index":2142,"title":{},"content":{"376":{"position":[[60,9]]},"390":{"position":[[1361,9]]}},"keywords":{}}],["proxy_add_x_forward",{"_index":4857,"title":{},"content":{"849":{"position":[[1062,22]]}},"keywords":{}}],["proxy_buff",{"_index":4854,"title":{},"content":{"849":{"position":[[979,15]]}},"keywords":{}}],["proxy_pass",{"_index":4851,"title":{},"content":{"849":{"position":[[925,10]]}},"keywords":{}}],["proxy_redirect",{"_index":4853,"title":{},"content":{"849":{"position":[[959,14]]}},"keywords":{}}],["proxy_set_head",{"_index":4855,"title":{},"content":{"849":{"position":[[1000,16],[1029,16],[1085,16]]}},"keywords":{}}],["pseudo",{"_index":3042,"title":{},"content":{"464":{"position":[[194,6]]},"1018":{"position":[[434,6]]}},"keywords":{}}],["pub.dev",{"_index":1270,"title":{},"content":{"188":{"position":[[2160,8]]}},"keywords":{}}],["public",{"_index":2198,"title":{},"content":{"390":{"position":[[1095,6]]},"898":{"position":[[1409,11],[1458,11]]}},"keywords":{}}],["public.human",{"_index":5206,"title":{},"content":{"898":{"position":[[1306,13]]}},"keywords":{}}],["publish",{"_index":1269,"title":{},"content":{"188":{"position":[[2138,9]]}},"keywords":{}}],["pubspec.yaml",{"_index":1267,"title":{},"content":{"188":{"position":[[1909,13],[2277,12]]}},"keywords":{}}],["pull",{"_index":1024,"title":{"1005":{"position":[[0,4]]}},"content":{"99":{"position":[[116,5]]},"208":{"position":[[124,5]]},"209":{"position":[[977,5]]},"255":{"position":[[95,5],[1312,5]]},"261":{"position":[[778,5],[800,4]]},"412":{"position":[[2635,6],[6704,7],[8305,7]]},"481":{"position":[[69,5],[725,5]]},"494":{"position":[[518,5]]},"571":{"position":[[526,4]]},"582":{"position":[[379,7]]},"630":{"position":[[850,4]]},"632":{"position":[[42,7],[2310,4],[2357,5]]},"650":{"position":[[109,4]]},"668":{"position":[[15,4]]},"679":{"position":[[116,4]]},"739":{"position":[[62,6],[118,7]]},"749":{"position":[[493,4],[15488,4],[15622,4],[22481,4]]},"756":{"position":[[370,4],[445,4]]},"846":{"position":[[639,5],[770,6]]},"848":{"position":[[860,5],[1542,5]]},"852":{"position":[[330,5]]},"854":{"position":[[842,4],[984,5]]},"858":{"position":[[320,5]]},"862":{"position":[[1381,5]]},"866":{"position":[[850,5]]},"872":{"position":[[2578,5],[4594,5]]},"875":{"position":[[563,5],[1284,4],[1348,4],[1733,4],[2901,4],[3134,5],[6550,4],[8443,5],[9304,4],[9742,5]]},"878":{"position":[[547,5]]},"886":{"position":[[1,4],[28,4],[432,4],[897,4],[1136,5],[1259,6],[3181,5],[3218,4],[3287,4],[3304,5],[3346,4],[4149,5],[5035,4]]},"887":{"position":[[181,6],[402,5]]},"888":{"position":[[543,5]]},"889":{"position":[[757,5]]},"897":{"position":[[120,5]]},"898":{"position":[[652,4],[2011,4],[3458,5],[3635,4]]},"904":{"position":[[3088,5]]},"907":{"position":[[365,5]]},"911":{"position":[[833,5]]},"982":{"position":[[285,5]]},"984":{"position":[[193,6]]},"985":{"position":[[377,4]]},"986":{"position":[[1596,4]]},"988":{"position":[[3485,5],[3499,4],[3886,6],[4236,4],[4540,6],[4894,4]]},"990":{"position":[[966,4]]},"993":{"position":[[390,4]]},"1002":{"position":[[947,4],[1108,4],[1322,5]]},"1004":{"position":[[667,6]]},"1005":{"position":[[52,4],[89,6],[236,4]]},"1007":{"position":[[513,4],[1462,5]]},"1010":{"position":[[188,4]]},"1101":{"position":[[805,5]]},"1121":{"position":[[751,5]]},"1135":{"position":[[347,4]]},"1309":{"position":[[222,4]]}},"keywords":{}}],["pull.filt",{"_index":4886,"title":{},"content":{"858":{"position":[[135,11],[537,11]]}},"keywords":{}}],["pull.handl",{"_index":5005,"title":{},"content":{"875":{"position":[[2940,12]]},"888":{"position":[[715,13]]}},"keywords":{}}],["pull.initialcheckpoint",{"_index":5539,"title":{},"content":{"1002":{"position":[[800,23]]}},"keywords":{}}],["pull.modifi",{"_index":5228,"title":{},"content":{"898":{"position":[[4416,13]]},"1009":{"position":[[980,14]]}},"keywords":{}}],["pull.responsemodifi",{"_index":5153,"title":{"888":{"position":[[0,22]]}},"content":{"888":{"position":[[10,21]]}},"keywords":{}}],["pull.stream",{"_index":5016,"title":{},"content":{"875":{"position":[[4235,13],[4363,12],[7835,12],[8814,13]]},"876":{"position":[[316,12]]},"888":{"position":[[761,11]]},"996":{"position":[[161,12]]},"1107":{"position":[[330,12]]}},"keywords":{}}],["pull/push",{"_index":6084,"title":{},"content":{"1149":{"position":[[428,9]]}},"keywords":{}}],["pullhandl",{"_index":5440,"title":{},"content":{"983":{"position":[[189,11],[862,13]]},"984":{"position":[[257,14]]},"986":{"position":[[1261,14]]}},"keywords":{}}],["pullhuman",{"_index":5090,"title":{},"content":{"885":{"position":[[1427,9],[1480,10]]},"886":{"position":[[798,12],[1714,11]]}},"keywords":{}}],["pullhuman($checkpoint",{"_index":5117,"title":{},"content":{"886":{"position":[[581,22]]}},"keywords":{}}],["pullhuman(checkpoint",{"_index":5082,"title":{},"content":{"885":{"position":[[846,21]]},"886":{"position":[[637,21]]}},"keywords":{}}],["pullquerybuild",{"_index":5115,"title":{},"content":{"886":{"position":[[63,17],[369,16],[1158,17],[4187,17]]},"887":{"position":[[424,17]]}},"keywords":{}}],["pullquerybuilderfromrxschema",{"_index":5167,"title":{},"content":{"889":{"position":[[875,31]]}},"keywords":{}}],["pullstream",{"_index":5015,"title":{},"content":{"875":{"position":[[4196,11],[4409,11],[6511,11],[6886,10],[6935,11],[7577,11],[7756,11],[8517,11]]},"983":{"position":[[1010,11]]},"985":{"position":[[92,11],[195,11],[493,11],[547,11]]},"988":{"position":[[5071,11]]}},"keywords":{}}],["pullstream$.asobserv",{"_index":5473,"title":{},"content":{"988":{"position":[[4841,26]]}},"keywords":{}}],["pullstream$.next('resync",{"_index":5485,"title":{},"content":{"988":{"position":[[6131,27]]}},"keywords":{}}],["pullstream$.next(event.data",{"_index":5480,"title":{},"content":{"988":{"position":[[5573,29]]}},"keywords":{}}],["pullstream$.subscribe(ev",{"_index":5043,"title":{},"content":{"875":{"position":[[7402,27]]}},"keywords":{}}],["pullstreambuilderfromrxschema",{"_index":5168,"title":{},"content":{"889":{"position":[[907,31]]}},"keywords":{}}],["pullstreamquerybuild",{"_index":5134,"title":{},"content":{"886":{"position":[[3466,22],[3737,22],[4225,23]]}},"keywords":{}}],["punch",{"_index":5237,"title":{},"content":{"901":{"position":[[339,5]]}},"keywords":{}}],["purchas",{"_index":1891,"title":{},"content":{"314":{"position":[[999,8]]},"420":{"position":[[1069,8]]},"662":{"position":[[1059,10]]},"710":{"position":[[889,10]]},"724":{"position":[[66,9]]},"749":{"position":[[9344,9]]},"838":{"position":[[1547,10]]},"958":{"position":[[652,8]]},"1129":{"position":[[55,10]]},"1141":{"position":[[55,10]]},"1210":{"position":[[271,10]]}},"keywords":{}}],["pure",{"_index":1582,"title":{},"content":{"261":{"position":[[66,4]]},"354":{"position":[[1006,6]]},"412":{"position":[[6575,6],[8417,6]]},"414":{"position":[[250,6]]},"476":{"position":[[21,6]]},"566":{"position":[[1066,6]]},"839":{"position":[[1213,6]]},"1219":{"position":[[636,4]]}},"keywords":{}}],["purg",{"_index":3748,"title":{},"content":{"653":{"position":[[442,6]]},"654":{"position":[[338,5]]},"655":{"position":[[71,7],[361,5],[456,5]]},"837":{"position":[[482,5]]},"1047":{"position":[[74,5],[189,5]]},"1198":{"position":[[557,7]]}},"keywords":{}}],["purpos",{"_index":2913,"title":{},"content":{"434":{"position":[[387,8]]},"554":{"position":[[356,9]]},"614":{"position":[[979,7]]},"749":{"position":[[5749,7]]},"829":{"position":[[3074,8]]},"875":{"position":[[9024,7]]},"906":{"position":[[322,8]]},"1316":{"position":[[2045,8],[3682,7]]}},"keywords":{}}],["purposes.sqlit",{"_index":3286,"title":{},"content":{"524":{"position":[[578,15]]}},"keywords":{}}],["pursuit",{"_index":2137,"title":{},"content":{"373":{"position":[[710,7]]}},"keywords":{}}],["push",{"_index":347,"title":{},"content":{"20":{"position":[[40,6]]},"99":{"position":[[73,6]]},"209":{"position":[[711,5]]},"226":{"position":[[69,6]]},"255":{"position":[[1063,5]]},"261":{"position":[[812,5],[833,4]]},"408":{"position":[[5,4]]},"410":{"position":[[1756,4]]},"412":{"position":[[2676,7],[4727,6]]},"476":{"position":[[110,4]]},"481":{"position":[[30,6],[768,5]]},"491":{"position":[[287,6],[1282,6]]},"496":{"position":[[721,4],[766,4]]},"510":{"position":[[542,4]]},"571":{"position":[[521,4]]},"582":{"position":[[345,6]]},"584":{"position":[[152,6]]},"610":{"position":[[158,4]]},"612":{"position":[[52,4]]},"618":{"position":[[544,4],[637,4]]},"630":{"position":[[842,4]]},"632":{"position":[[74,7],[2336,4],[2494,5]]},"749":{"position":[[485,4],[15754,4],[15892,4]]},"781":{"position":[[476,4]]},"846":{"position":[[1076,5]]},"848":{"position":[[870,5],[1552,5]]},"852":{"position":[[340,5]]},"854":{"position":[[833,4],[994,5]]},"858":{"position":[[374,5]]},"862":{"position":[[1407,5]]},"863":{"position":[[367,4]]},"866":{"position":[[875,5]]},"871":{"position":[[178,6]]},"872":{"position":[[2603,5],[4619,5]]},"875":{"position":[[522,5],[3565,4],[5719,4],[5979,4],[6002,4],[6178,5]]},"878":{"position":[[537,5]]},"885":{"position":[[258,4]]},"886":{"position":[[2058,4],[2085,4],[2598,4],[2768,5],[2900,6],[3000,6],[4044,5]]},"887":{"position":[[383,5]]},"888":{"position":[[524,5]]},"889":{"position":[[48,4],[573,5]]},"898":{"position":[[1983,4],[3871,5]]},"904":{"position":[[3098,5]]},"907":{"position":[[375,5]]},"911":{"position":[[843,5]]},"982":{"position":[[160,4],[370,6]]},"986":{"position":[[1605,4]]},"988":{"position":[[2386,5],[2400,4],[2444,4],[2767,5],[2969,4],[3066,4],[3170,4]]},"990":{"position":[[974,5]]},"993":{"position":[[378,4]]},"1002":{"position":[[17,4],[76,4],[202,4],[455,4],[668,5]]},"1004":{"position":[[234,4],[261,6],[530,6]]},"1005":{"position":[[119,6]]},"1007":{"position":[[588,4],[1626,5]]},"1101":{"position":[[795,5]]},"1121":{"position":[[761,5]]},"1308":{"position":[[607,6]]},"1309":{"position":[[229,4],[653,6]]}},"keywords":{}}],["push.filt",{"_index":4885,"title":{},"content":{"858":{"position":[[119,11]]}},"keywords":{}}],["push.handl",{"_index":5013,"title":{},"content":{"875":{"position":[[3647,13],[6039,12]]}},"keywords":{}}],["push.initialcheckpoint",{"_index":5536,"title":{},"content":{"1002":{"position":[[141,23]]}},"keywords":{}}],["push.responsemodifi",{"_index":5160,"title":{"889":{"position":[[0,22]]}},"content":{},"keywords":{}}],["push/pul",{"_index":953,"title":{"68":{"position":[[0,9]]},"99":{"position":[[0,9]]},"226":{"position":[[0,9]]}},"content":{"68":{"position":[[27,9]]},"99":{"position":[[35,9]]},"226":{"position":[[35,9]]},"360":{"position":[[475,9]]},"986":{"position":[[634,9]]}},"keywords":{}}],["pushes/pul",{"_index":2611,"title":{},"content":{"411":{"position":[[1453,12]]}},"keywords":{}}],["pushhandl",{"_index":5444,"title":{},"content":{"983":{"position":[[940,13]]},"987":{"position":[[343,14]]}},"keywords":{}}],["pushhuman",{"_index":5133,"title":{},"content":{"886":{"position":[[2522,12]]}},"keywords":{}}],["pushhuman($writerow",{"_index":5130,"title":{},"content":{"886":{"position":[[2334,21]]}},"keywords":{}}],["pushhuman(row",{"_index":5087,"title":{},"content":{"885":{"position":[[1168,15]]},"889":{"position":[[327,15]]}},"keywords":{}}],["pushhuman(writerow",{"_index":5131,"title":{},"content":{"886":{"position":[[2380,20]]}},"keywords":{}}],["pushing/pul",{"_index":5253,"title":{},"content":{"903":{"position":[[520,15]]}},"keywords":{}}],["pushquerybuild",{"_index":5129,"title":{},"content":{"886":{"position":[[2277,16],[2790,17],[4082,16]]}},"keywords":{}}],["pushquerybuilderfromrxschema",{"_index":5169,"title":{},"content":{"889":{"position":[[943,30]]}},"keywords":{}}],["pushrespons",{"_index":5161,"title":{},"content":{"889":{"position":[[141,12],[252,12],[366,13]]}},"keywords":{}}],["put",{"_index":2733,"title":{},"content":{"412":{"position":[[9045,7]]},"454":{"position":[[918,3]]},"458":{"position":[[381,4]]},"616":{"position":[[776,3]]},"851":{"position":[[194,3],[392,5]]},"988":{"position":[[477,3]]},"1088":{"position":[[733,3]]},"1089":{"position":[[52,3]]},"1226":{"position":[[421,3]]},"1264":{"position":[[331,3]]}},"keywords":{}}],["putattach",{"_index":5287,"title":{"917":{"position":[[0,16]]}},"content":{"918":{"position":[[9,15]]}},"keywords":{}}],["putattachmentbase64",{"_index":5293,"title":{"918":{"position":[[0,22]]}},"content":{"917":{"position":[[566,21]]}},"keywords":{}}],["pwa",{"_index":2141,"title":{"499":{"position":[[44,5]]},"501":{"position":[[47,5]]}},"content":{"375":{"position":[[911,7]]},"384":{"position":[[128,3]]},"500":{"position":[[245,4],[360,4],[633,4],[705,4]]},"501":{"position":[[17,4],[348,5]]},"502":{"position":[[212,5],[319,4],[415,4],[743,4],[1272,4]]},"503":{"position":[[250,4]]},"504":{"position":[[524,4],[567,3],[643,3],[1252,4]]},"506":{"position":[[15,4]]},"507":{"position":[[48,5]]},"508":{"position":[[133,4]]},"509":{"position":[[42,4]]},"510":{"position":[[186,4],[419,5],[457,4],[666,4]]},"584":{"position":[[242,6]]},"783":{"position":[[361,4]]},"1302":{"position":[[113,3]]}},"keywords":{}}],["python",{"_index":1543,"title":{},"content":{"249":{"position":[[129,7]]}},"keywords":{}}],["qa",{"_index":1788,"title":{},"content":{"301":{"position":[[528,3]]}},"keywords":{}}],["qu1",{"_index":4152,"title":{},"content":{"749":{"position":[[1651,3]]}},"keywords":{}}],["qu10",{"_index":4163,"title":{},"content":{"749":{"position":[[2200,4]]}},"keywords":{}}],["qu11",{"_index":4164,"title":{},"content":{"749":{"position":[[2294,4]]}},"keywords":{}}],["qu12",{"_index":4167,"title":{},"content":{"749":{"position":[[2387,4]]}},"keywords":{}}],["qu13",{"_index":4168,"title":{},"content":{"749":{"position":[[2472,4]]}},"keywords":{}}],["qu14",{"_index":4169,"title":{},"content":{"749":{"position":[[2589,4]]}},"keywords":{}}],["qu15",{"_index":4171,"title":{},"content":{"749":{"position":[[2830,4]]}},"keywords":{}}],["qu16",{"_index":4172,"title":{},"content":{"749":{"position":[[2943,4]]}},"keywords":{}}],["qu17",{"_index":4175,"title":{},"content":{"749":{"position":[[3176,4]]}},"keywords":{}}],["qu18",{"_index":4177,"title":{},"content":{"749":{"position":[[3296,4]]}},"keywords":{}}],["qu19",{"_index":4180,"title":{},"content":{"749":{"position":[[3652,4]]}},"keywords":{}}],["qu4",{"_index":4155,"title":{},"content":{"749":{"position":[[1748,3]]}},"keywords":{}}],["qu5",{"_index":4157,"title":{},"content":{"749":{"position":[[1865,3]]}},"keywords":{}}],["qu6",{"_index":4159,"title":{},"content":{"749":{"position":[[1991,3]]}},"keywords":{}}],["qu9",{"_index":4161,"title":{},"content":{"749":{"position":[[2094,3]]}},"keywords":{}}],["qualiti",{"_index":1420,"title":{},"content":{"232":{"position":[[201,7]]},"387":{"position":[[372,9]]}},"keywords":{}}],["quarter",{"_index":6453,"title":{},"content":{"1295":{"position":[[1080,7]]}},"keywords":{}}],["queri",{"_index":273,"title":{"53":{"position":[[9,7]]},"77":{"position":[[11,7]]},"78":{"position":[[19,7]]},"92":{"position":[[8,7]]},"103":{"position":[[11,7]]},"108":{"position":[[19,7]]},"124":{"position":[[11,8]]},"130":{"position":[[46,6]]},"159":{"position":[[11,8]]},"185":{"position":[[11,8]]},"205":{"position":[[18,8]]},"220":{"position":[[18,8]]},"233":{"position":[[11,7]]},"234":{"position":[[19,7]]},"252":{"position":[[16,5]]},"270":{"position":[[12,8]]},"275":{"position":[[11,8]]},"276":{"position":[[6,5]]},"329":{"position":[[11,8]]},"400":{"position":[[19,5]]},"518":{"position":[[11,8]]},"540":{"position":[[9,7]]},"555":{"position":[[17,8]]},"585":{"position":[[11,7]]},"600":{"position":[[9,7]]},"714":{"position":[[0,8]]},"796":{"position":[[9,5]]},"799":{"position":[[7,5]]},"801":{"position":[[8,7]]},"817":{"position":[[20,8]]},"819":{"position":[[0,5]]},"1064":{"position":[[0,5]]},"1065":{"position":[[0,5]]},"1105":{"position":[[0,5]]},"1110":{"position":[[7,7]]},"1150":{"position":[[21,8]]},"1238":{"position":[[5,5]]},"1252":{"position":[[12,8]]},"1315":{"position":[[11,7]]},"1321":{"position":[[8,5]]}},"content":{"16":{"position":[[252,5],[556,7]]},"17":{"position":[[447,5]]},"19":{"position":[[299,5],[347,7],[633,5],[805,5]]},"22":{"position":[[250,7]]},"23":{"position":[[452,5]]},"25":{"position":[[125,5],[187,5]]},"28":{"position":[[149,8]]},"32":{"position":[[138,5]]},"33":{"position":[[247,7],[359,7],[649,7]]},"34":{"position":[[179,7],[559,5],[617,5]]},"35":{"position":[[405,8],[672,9]]},"39":{"position":[[373,5]]},"40":{"position":[[548,8],[675,5]]},"45":{"position":[[264,5]]},"46":{"position":[[575,7],[663,7]]},"47":{"position":[[439,5],[469,7]]},"56":{"position":[[138,8]]},"64":{"position":[[149,8]]},"65":{"position":[[1022,8],[1044,7]]},"77":{"position":[[31,7],[204,5]]},"91":{"position":[[34,5],[77,7]]},"92":{"position":[[50,7],[160,5]]},"103":{"position":[[26,8],[244,5]]},"108":{"position":[[61,8],[162,5]]},"120":{"position":[[341,5]]},"124":{"position":[[24,8],[71,8],[114,7],[214,8]]},"130":{"position":[[211,5],[354,6],[506,5]]},"138":{"position":[[12,5],[146,5]]},"159":{"position":[[43,8],[93,8],[124,8],[175,7]]},"166":{"position":[[162,5]]},"173":{"position":[[1907,8],[1958,7],[2138,5],[2485,7],[2545,7]]},"174":{"position":[[174,7],[274,7],[1521,7],[1626,8],[1694,5],[1733,5]]},"182":{"position":[[234,7]]},"185":{"position":[[43,8],[62,7],[250,6]]},"188":{"position":[[3022,5],[3057,5],[3124,5],[3216,5]]},"194":{"position":[[42,5],[189,7]]},"197":{"position":[[203,5]]},"204":{"position":[[51,5],[160,7]]},"205":{"position":[[44,8],[316,5]]},"212":{"position":[[210,8],[246,7]]},"220":{"position":[[39,7],[139,6],[168,7]]},"224":{"position":[[193,7]]},"227":{"position":[[340,7]]},"233":{"position":[[43,8],[80,7]]},"234":{"position":[[25,7],[304,5]]},"251":{"position":[[11,7],[61,7]]},"252":{"position":[[13,5],[203,8],[327,5]]},"260":{"position":[[207,7]]},"262":{"position":[[203,5],[324,8],[345,5],[457,7]]},"263":{"position":[[215,8]]},"266":{"position":[[876,5]]},"270":{"position":[[13,8]]},"275":{"position":[[69,8]]},"276":{"position":[[14,5],[60,7],[270,5]]},"283":{"position":[[126,5]]},"322":{"position":[[200,5]]},"323":{"position":[[414,8],[464,7]]},"329":{"position":[[19,8],[53,8],[90,5]]},"335":{"position":[[43,5]]},"338":{"position":[[75,5]]},"342":{"position":[[30,7],[124,5]]},"346":{"position":[[275,7],[841,5]]},"354":{"position":[[701,8],[850,8],[1448,8]]},"356":{"position":[[649,7]]},"357":{"position":[[199,7]]},"360":{"position":[[221,7],[275,5],[315,5]]},"362":{"position":[[283,7],[875,8]]},"366":{"position":[[231,7],[366,5],[615,6]]},"368":{"position":[[245,8],[291,7]]},"369":{"position":[[120,9],[173,8],[412,5],[1195,7]]},"376":{"position":[[90,7],[501,8]]},"383":{"position":[[293,5]]},"390":{"position":[[71,8],[438,5],[679,5],[1011,9],[1256,6],[1277,5]]},"393":{"position":[[608,5],[1145,5]]},"394":{"position":[[124,5],[182,6],[400,5]]},"395":{"position":[[139,6],[233,7]]},"396":{"position":[[61,5]]},"398":{"position":[[423,8],[465,5],[1753,5],[3517,5]]},"400":{"position":[[1,5],[155,5],[274,7],[564,5],[754,5]]},"402":{"position":[[627,5],[1037,5],[1094,7],[1400,7],[1664,5],[2233,6]]},"404":{"position":[[615,5],[703,8],[765,5],[861,7],[912,5]]},"408":{"position":[[5117,5],[5221,7]]},"410":{"position":[[212,8]]},"411":{"position":[[673,7],[2302,7],[2715,8],[2856,8],[3000,5],[3234,7],[3345,5],[3491,5],[3560,5],[3672,5]]},"412":{"position":[[9103,5],[9517,5],[10618,5],[12668,5],[13430,8],[13591,7],[13975,5],[14140,7],[14305,8]]},"420":{"position":[[310,6]]},"430":{"position":[[226,8],[313,8]]},"432":{"position":[[458,9],[481,7],[645,7],[1132,7]]},"441":{"position":[[327,9]]},"442":{"position":[[24,5]]},"452":{"position":[[282,7]]},"453":{"position":[[743,5],[840,8]]},"455":{"position":[[177,5]]},"457":{"position":[[355,7],[629,7]]},"459":{"position":[[194,8]]},"468":{"position":[[274,7]]},"469":{"position":[[841,5],[1023,5]]},"479":{"position":[[154,7]]},"480":{"position":[[90,6]]},"483":{"position":[[322,7]]},"490":{"position":[[169,5],[581,8],[651,5]]},"494":{"position":[[555,6]]},"502":{"position":[[614,8],[635,7],[653,8],[734,8],[1057,5]]},"510":{"position":[[281,8]]},"518":{"position":[[87,8],[151,8],[202,5],[265,7],[524,5]]},"523":{"position":[[294,5],[383,5]]},"527":{"position":[[149,5]]},"534":{"position":[[617,7]]},"535":{"position":[[382,5],[409,5],[474,8],[531,5],[818,5]]},"540":{"position":[[136,7]]},"541":{"position":[[340,5],[352,5]]},"542":{"position":[[701,7]]},"548":{"position":[[348,8]]},"555":{"position":[[162,8],[385,5],[720,5],[811,7],[944,7]]},"556":{"position":[[1357,8]]},"559":{"position":[[1172,8]]},"560":{"position":[[702,8]]},"562":{"position":[[630,5],[747,8],[801,5],[941,8],[1193,5],[1223,7],[1627,8]]},"563":{"position":[[633,5]]},"566":{"position":[[199,5],[291,8],[346,5],[372,8]]},"571":{"position":[[715,5],[770,5],[827,5],[1087,5]]},"574":{"position":[[567,7]]},"575":{"position":[[629,8],[698,7]]},"580":{"position":[[6,7],[484,5],[630,5]]},"585":{"position":[[36,7]]},"587":{"position":[[69,7]]},"590":{"position":[[589,7],[615,5]]},"594":{"position":[[615,7]]},"595":{"position":[[386,5],[410,5],[437,5],[502,8],[551,8],[905,7]]},"600":{"position":[[103,7]]},"601":{"position":[[561,5],[573,5],[619,5]]},"602":{"position":[[150,7]]},"608":{"position":[[346,8]]},"630":{"position":[[540,9]]},"631":{"position":[[256,7]]},"632":{"position":[[282,7],[1694,5]]},"642":{"position":[[239,7]]},"659":{"position":[[772,5],[836,7]]},"661":{"position":[[143,5],[1535,7]]},"662":{"position":[[172,5],[468,5],[2656,6],[2759,6]]},"683":{"position":[[671,5]]},"686":{"position":[[316,5]]},"693":{"position":[[638,5]]},"698":{"position":[[545,5]]},"699":{"position":[[696,5]]},"701":{"position":[[563,5]]},"704":{"position":[[42,5]]},"705":{"position":[[554,7],[663,5],[1035,7]]},"709":{"position":[[772,8]]},"710":{"position":[[206,5],[1964,5],[2067,5]]},"711":{"position":[[195,5],[613,7],[1505,7],[1766,7],[1994,7],[2190,7]]},"714":{"position":[[464,8],[539,8],[578,7],[740,8],[920,6],[1119,5]]},"723":{"position":[[245,8],[528,7],[691,7],[784,8],[2063,5],[2138,8]]},"724":{"position":[[1254,6],[1340,6]]},"746":{"position":[[723,6]]},"749":{"position":[[2141,7],[2317,5],[2502,5],[2612,5],[2668,5],[2845,7],[2955,7],[3189,7],[3311,5],[3657,7],[10895,5],[14673,5]]},"772":{"position":[[321,5],[991,5]]},"775":{"position":[[478,7]]},"780":{"position":[[775,7]]},"781":{"position":[[776,5]]},"784":{"position":[[710,6]]},"786":{"position":[[24,5]]},"793":{"position":[[942,5],[1194,5]]},"796":{"position":[[18,8],[95,8],[177,5],[283,5],[344,5],[640,5],[782,5],[1042,5]]},"797":{"position":[[14,5],[126,7]]},"798":{"position":[[351,5],[534,5],[844,5],[966,5]]},"799":{"position":[[10,5],[101,5],[179,5],[433,5],[467,5],[672,5]]},"800":{"position":[[441,8],[534,5]]},"801":{"position":[[684,8],[944,5]]},"815":{"position":[[105,8],[188,7]]},"816":{"position":[[39,7],[69,7],[158,7],[242,7],[307,7],[391,7]]},"817":{"position":[[226,7],[269,5]]},"820":{"position":[[364,7],[448,8],[465,7],[492,5],[532,5]]},"821":{"position":[[80,7],[331,5],[713,5]]},"825":{"position":[[969,5]]},"826":{"position":[[767,5],[865,5]]},"829":{"position":[[2240,8],[2259,5],[2372,5],[2404,6],[2665,5],[2744,5],[2965,8],[3141,5],[3288,5],[3320,6],[3682,5]]},"835":{"position":[[877,5],[941,7]]},"836":{"position":[[145,5],[925,8],[1412,7],[1567,5]]},"837":{"position":[[629,5],[2076,5]]},"838":{"position":[[120,5],[201,5],[451,8],[1105,8],[2870,6],[2973,6]]},"839":{"position":[[738,7]]},"841":{"position":[[107,7],[268,5],[351,7],[370,5],[416,8],[458,8],[593,8],[1390,7]]},"857":{"position":[[223,6]]},"885":{"position":[[838,5]]},"886":{"position":[[200,5],[291,5],[566,5],[574,6],[776,6],[2250,5],[2315,5],[2500,6],[3515,5],[3691,6]]},"898":{"position":[[3640,5],[3679,5],[3738,5]]},"950":{"position":[[409,5]]},"965":{"position":[[141,5],[278,8]]},"1022":{"position":[[286,5],[918,5]]},"1023":{"position":[[579,5]]},"1033":{"position":[[115,7]]},"1047":{"position":[[171,8]]},"1055":{"position":[[104,7],[182,5]]},"1056":{"position":[[11,5],[90,5],[186,5],[306,5]]},"1057":{"position":[[60,6],[74,5],[221,8]]},"1058":{"position":[[208,5],[561,5]]},"1059":{"position":[[43,5],[218,5]]},"1060":{"position":[[65,5],[86,5]]},"1061":{"position":[[66,5],[87,5]]},"1062":{"position":[[143,5]]},"1063":{"position":[[53,6]]},"1064":{"position":[[16,5],[52,5],[86,5],[276,5],[296,5]]},"1065":{"position":[[47,7],[169,7],[470,8],[760,5],[1422,7],[1680,7],[1890,7],[1973,5]]},"1066":{"position":[[17,5],[62,5],[148,5],[248,5],[326,6],[340,5],[650,5]]},"1067":{"position":[[57,6],[130,5],[208,5],[282,5],[390,8],[616,7],[662,7],[793,5],[880,5],[975,7],[1036,7],[1276,5],[1543,5],[1670,8],[1702,5],[1897,5],[2253,8]]},"1068":{"position":[[34,8]]},"1069":{"position":[[82,5]]},"1071":{"position":[[54,5],[127,5],[155,7],[221,7],[365,5],[424,7],[526,8]]},"1072":{"position":[[61,6],[243,8],[650,8],[1084,5],[1215,8],[1302,7],[1361,7],[1555,7],[1955,7],[2456,5],[2549,6],[2634,5],[2807,7]]},"1079":{"position":[[583,5]]},"1080":{"position":[[1125,8]]},"1085":{"position":[[628,5]]},"1102":{"position":[[529,9],[1114,5]]},"1105":{"position":[[5,5],[178,5],[232,5],[307,5],[453,5],[530,5],[628,6],[699,6],[937,7]]},"1107":{"position":[[234,5],[423,6]]},"1110":{"position":[[8,7]]},"1123":{"position":[[584,8]]},"1124":{"position":[[1098,5],[1724,5]]},"1132":{"position":[[187,5],[569,8],[612,8],[774,7],[865,7],[908,7]]},"1137":{"position":[[207,7]]},"1138":{"position":[[382,7],[464,5],[490,8]]},"1143":{"position":[[394,7]]},"1149":{"position":[[333,5]]},"1150":{"position":[[72,5],[210,8],[260,7],[350,5]]},"1158":{"position":[[638,5]]},"1164":{"position":[[431,7]]},"1165":{"position":[[1026,8]]},"1170":{"position":[[1,7]]},"1174":{"position":[[514,7],[706,8]]},"1180":{"position":[[367,7]]},"1184":{"position":[[41,7],[191,7]]},"1188":{"position":[[373,7]]},"1192":{"position":[[119,7]]},"1194":{"position":[[706,6],[800,6]]},"1198":{"position":[[242,5],[543,8],[1028,7],[1282,7]]},"1209":{"position":[[490,8]]},"1222":{"position":[[652,5]]},"1238":{"position":[[101,7],[220,7]]},"1246":{"position":[[1364,5]]},"1249":{"position":[[152,5],[422,5],[439,9],[461,5],[473,5]]},"1250":{"position":[[475,5]]},"1251":{"position":[[135,5],[193,7],[308,7]]},"1252":{"position":[[27,8],[58,7],[121,5],[361,7]]},"1257":{"position":[[83,5],[110,5]]},"1271":{"position":[[483,7],[692,5]]},"1294":{"position":[[273,5],[2077,5]]},"1295":{"position":[[1200,8],[1400,5],[1421,5]]},"1296":{"position":[[21,5],[252,5]]},"1300":{"position":[[669,5]]},"1314":{"position":[[422,5]]},"1315":{"position":[[61,7],[361,5],[979,8],[1162,5],[1263,5],[1353,6],[1543,9]]},"1316":{"position":[[768,5],[971,5],[1575,8],[1615,8],[1635,5],[1680,6],[1713,8],[1734,6],[1769,7],[1815,7],[2189,5],[2389,7],[3077,5],[3275,5],[3436,6]]},"1317":{"position":[[332,5],[394,5],[474,5],[566,5],[681,7],[763,5]]},"1318":{"position":[[344,5],[368,5],[404,5],[508,5],[679,5],[747,7],[894,5],[1028,5],[1165,5]]},"1320":{"position":[[395,7]]},"1321":{"position":[[214,5],[249,5],[370,5],[465,6],[510,7],[590,5],[833,7],[918,7],[995,5],[1063,7]]},"1322":{"position":[[97,5],[315,7],[443,5]]},"1323":{"position":[[28,7]]}},"keywords":{}}],["queries.cockroach",{"_index":6579,"title":{},"content":{"1324":{"position":[[641,17]]}},"keywords":{}}],["queries.it",{"_index":6562,"title":{},"content":{"1316":{"position":[[3007,10]]}},"keywords":{}}],["queries.strong",{"_index":2020,"title":{},"content":{"354":{"position":[[418,14]]}},"keywords":{}}],["queriesful",{"_index":1906,"title":{},"content":{"317":{"position":[[133,11]]}},"keywords":{}}],["queriesminim",{"_index":1883,"title":{},"content":{"311":{"position":[[227,17]]}},"keywords":{}}],["queriesmqueri",{"_index":5763,"title":{},"content":{"1065":{"position":[[123,13]]}},"keywords":{}}],["query'",{"_index":3465,"title":{},"content":{"571":{"position":[[979,7]]},"1102":{"position":[[1194,7]]},"1322":{"position":[[538,7]]}},"keywords":{}}],["query.$().listen((result",{"_index":1290,"title":{},"content":{"188":{"position":[[3222,26]]}},"keywords":{}}],["query.$.subscribe((newhero",{"_index":3543,"title":{},"content":{"601":{"position":[[625,29]]}},"keywords":{}}],["query.$.subscribe(amount",{"_index":5774,"title":{},"content":{"1067":{"position":[[512,24]]}},"keywords":{}}],["query.$.subscribe(newhero",{"_index":3309,"title":{},"content":{"541":{"position":[[400,27]]},"562":{"position":[[1298,27]]}},"keywords":{}}],["query.$.subscribe(result",{"_index":978,"title":{},"content":{"77":{"position":[[284,25]]},"103":{"position":[[324,25]]},"234":{"position":[[384,25]]},"1058":{"position":[[254,25]]}},"keywords":{}}],["query.eq("status"",{"_index":5221,"title":{},"content":{"898":{"position":[[3815,28]]}},"keywords":{}}],["query.exec",{"_index":4662,"title":{},"content":{"799":{"position":[[809,13]]},"1057":{"position":[[125,13]]},"1064":{"position":[[366,13]]},"1067":{"position":[[461,13]]}},"keywords":{}}],["query.modify((docdata",{"_index":5751,"title":{},"content":{"1061":{"position":[[156,22]]}},"keywords":{}}],["query.patch",{"_index":5748,"title":{},"content":{"1060":{"position":[[155,13]]}},"keywords":{}}],["query.query/observ",{"_index":5943,"title":{},"content":{"1102":{"position":[[1157,19]]}},"keywords":{}}],["query.remov",{"_index":5754,"title":{},"content":{"1062":{"position":[[276,15]]}},"keywords":{}}],["query.selector.us",{"_index":6296,"title":{},"content":{"1252":{"position":[[289,19]]}},"keywords":{}}],["query.selector.userid",{"_index":5955,"title":{},"content":{"1105":{"position":[[637,21]]}},"keywords":{}}],["query.subscrib",{"_index":4661,"title":{},"content":{"799":{"position":[[712,18]]}},"keywords":{}}],["query.upd",{"_index":5745,"title":{},"content":{"1059":{"position":[[287,14]]}},"keywords":{}}],["query/writ",{"_index":1615,"title":{},"content":{"266":{"position":[[1048,11]]},"1246":{"position":[[1513,11]]}},"keywords":{}}],["querya.selector",{"_index":6297,"title":{},"content":{"1252":{"position":[[388,15],[416,16]]}},"keywords":{}}],["queryabl",{"_index":2901,"title":{},"content":{"430":{"position":[[177,10]]}},"keywords":{}}],["queryb.selector",{"_index":6298,"title":{},"content":{"1252":{"position":[[433,15]]}},"keywords":{}}],["querybuild",{"_index":5120,"title":{},"content":{"886":{"position":[[860,13],[1144,13],[1183,12],[2119,13],[2561,13],[2776,13],[2815,12],[4068,13],[4173,13]]},"887":{"position":[[410,13]]},"898":{"position":[[3662,13]]}},"keywords":{}}],["querycach",{"_index":4697,"title":{"814":{"position":[[0,10]]}},"content":{"818":{"position":[[160,10]]}},"keywords":{}}],["querymodifi",{"_index":5950,"title":{},"content":{"1104":{"position":[[224,13],[466,13]]},"1105":{"position":[[816,14],[878,13],[1045,13]]},"1107":{"position":[[367,13]]}},"keywords":{}}],["queryobject",{"_index":4233,"title":{},"content":{"749":{"position":[[7338,11]]},"1069":{"position":[[454,11]]}},"keywords":{}}],["queryobject.exec",{"_index":5787,"title":{},"content":{"1069":{"position":[[619,19]]}},"keywords":{}}],["queryobject.sort('nam",{"_index":5786,"title":{},"content":{"1069":{"position":[[571,25],[728,25]]}},"keywords":{}}],["queryobjectsort",{"_index":5788,"title":{},"content":{"1069":{"position":[[710,15]]}},"keywords":{}}],["queryobjectsort.exec",{"_index":5789,"title":{},"content":{"1069":{"position":[[776,23]]}},"keywords":{}}],["querypullhuman",{"_index":5076,"title":{},"content":{"885":{"position":[[152,14]]}},"keywords":{}}],["queryresult",{"_index":2317,"title":{},"content":{"394":{"position":[[862,11]]}},"keywords":{}}],["querysub",{"_index":977,"title":{},"content":{"77":{"position":[[273,8]]},"103":{"position":[[313,8]]},"234":{"position":[[373,8]]},"1058":{"position":[[243,8]]}},"keywords":{}}],["querysub.unsubscrib",{"_index":5744,"title":{},"content":{"1058":{"position":[[567,22]]}},"keywords":{}}],["queryvector",{"_index":2309,"title":{},"content":{"394":{"position":[[631,11]]}},"keywords":{}}],["question",{"_index":2176,"title":{},"content":{"387":{"position":[[322,10]]},"412":{"position":[[10244,8]]},"483":{"position":[[894,9]]},"873":{"position":[[191,9]]},"899":{"position":[[399,9]]},"913":{"position":[[292,9]]}},"keywords":{}}],["queu",{"_index":615,"title":{},"content":{"39":{"position":[[112,6]]},"375":{"position":[[775,7]]},"418":{"position":[[613,6]]},"419":{"position":[[470,7]]}},"keywords":{}}],["queue",{"_index":2785,"title":{},"content":{"416":{"position":[[156,6]]},"1177":{"position":[[553,5]]}},"keywords":{}}],["quic",{"_index":3618,"title":{},"content":{"613":{"position":[[143,4]]}},"keywords":{}}],["quick",{"_index":1378,"title":{"211":{"position":[[0,5]]},"314":{"position":[[0,5]]},"480":{"position":[[0,5]]},"562":{"position":[[5,5]]},"1235":{"position":[[0,5]]}},"content":{"212":{"position":[[558,5]]},"321":{"position":[[93,5]]},"383":{"position":[[274,5]]},"385":{"position":[[121,5]]},"396":{"position":[[418,5]]},"417":{"position":[[92,5]]},"429":{"position":[[377,5]]},"723":{"position":[[1769,6]]},"836":{"position":[[409,5],[530,5],[657,5]]},"837":{"position":[[1382,5],[1408,5],[1820,5]]},"838":{"position":[[1354,5],[1834,5],[2018,5]]},"906":{"position":[[750,5]]},"1147":{"position":[[201,5]]},"1277":{"position":[[26,5],[320,5],[610,5]]}},"keywords":{}}],["quicker",{"_index":1661,"title":{},"content":{"283":{"position":[[264,7]]}},"keywords":{}}],["quickj",{"_index":1243,"title":{},"content":{"188":{"position":[[138,7]]}},"keywords":{}}],["quickli",{"_index":887,"title":{},"content":{"61":{"position":[[148,7]]},"65":{"position":[[295,7]]},"84":{"position":[[277,7]]},"114":{"position":[[290,7]]},"149":{"position":[[290,7]]},"175":{"position":[[283,7]]},"217":{"position":[[205,7]]},"241":{"position":[[162,7]]},"285":{"position":[[112,7]]},"318":{"position":[[183,7]]},"321":{"position":[[389,7]]},"347":{"position":[[290,7]]},"358":{"position":[[439,7]]},"362":{"position":[[1361,7]]},"373":{"position":[[162,7]]},"408":{"position":[[2300,8]]},"477":{"position":[[101,7]]},"511":{"position":[[290,7]]},"531":{"position":[[290,7]]},"559":{"position":[[869,7],[1696,7]]},"591":{"position":[[290,7]]},"630":{"position":[[995,7]]},"639":{"position":[[23,8]]},"723":{"position":[[169,8],[712,8]]},"1147":{"position":[[452,7]]}},"keywords":{}}],["quickly.improv",{"_index":1206,"title":{},"content":{"173":{"position":[[1867,16]]}},"keywords":{}}],["quickstart",{"_index":883,"title":{"823":{"position":[[5,10]]}},"content":{"61":{"position":[[49,10],[124,11],[170,11]]},"84":{"position":[[253,11],[321,10]]},"114":{"position":[[266,11],[334,10]]},"149":{"position":[[266,11],[334,10]]},"175":{"position":[[259,11],[327,10]]},"241":{"position":[[126,11]]},"263":{"position":[[399,10]]},"285":{"position":[[408,11]]},"306":{"position":[[235,11]]},"318":{"position":[[383,10]]},"347":{"position":[[266,11],[334,10]]},"362":{"position":[[1337,11],[1405,10]]},"373":{"position":[[126,11]]},"388":{"position":[[58,10]]},"498":{"position":[[141,10],[262,10]]},"511":{"position":[[266,11],[334,10]]},"531":{"position":[[266,11],[334,10]]},"548":{"position":[[37,10]]},"557":{"position":[[37,10]]},"567":{"position":[[343,10]]},"591":{"position":[[266,11],[334,10]]},"608":{"position":[[37,10]]},"644":{"position":[[20,10]]},"663":{"position":[[72,10]]},"712":{"position":[[56,10]]},"776":{"position":[[106,10]]},"793":{"position":[[44,10]]},"824":{"position":[[126,10]]},"842":{"position":[[206,10]]},"904":{"position":[[206,10]]},"913":{"position":[[20,10],[185,10]]},"1125":{"position":[[861,10]]}},"keywords":{}}],["quickstartcheck",{"_index":2514,"title":{},"content":{"405":{"position":[[129,15]]},"471":{"position":[[114,15]]},"628":{"position":[[216,15]]}},"keywords":{}}],["quickstartdiscov",{"_index":3472,"title":{},"content":{"572":{"position":[[20,18]]}},"keywords":{}}],["quickstartdownsid",{"_index":4596,"title":{},"content":{"786":{"position":[[57,19]]}},"keywords":{}}],["quickstartif",{"_index":3209,"title":{},"content":{"498":{"position":[[98,12]]}},"keywords":{}}],["quickstartjoin",{"_index":1699,"title":{},"content":{"296":{"position":[[56,14]]}},"keywords":{}}],["quickstartwhi",{"_index":2935,"title":{},"content":{"442":{"position":[[57,13]]}},"keywords":{}}],["quietli",{"_index":3171,"title":{},"content":{"491":{"position":[[1064,7]]}},"keywords":{}}],["quit",{"_index":2051,"title":{},"content":{"357":{"position":[[425,5]]},"495":{"position":[[874,5]]},"1300":{"position":[[1021,5]]},"1322":{"position":[[186,5]]}},"keywords":{}}],["quot",{"_index":3633,"title":{},"content":{"617":{"position":[[426,5]]},"711":{"position":[[1358,9]]},"749":{"position":[[11821,5],[11827,8]]}},"keywords":{}}],["quot;$$"",{"_index":5863,"title":{},"content":{"1084":{"position":[[950,15]]}},"keywords":{}}],["quot;$"",{"_index":5862,"title":{},"content":{"1084":{"position":[[935,14]]}},"keywords":{}}],["quot;$(pwd)"/appwrite:/usr/src/code/appwrite:rw",{"_index":4896,"title":{},"content":{"861":{"position":[[630,53]]}},"keywords":{}}],["quot;@xenova/transformers"",{"_index":2217,"title":{},"content":{"391":{"position":[[449,33]]}},"keywords":{}}],["quot;_data"",{"_index":5853,"title":{},"content":{"1084":{"position":[[695,18]]}},"keywords":{}}],["quot;_deleted"",{"_index":5202,"title":{},"content":{"898":{"position":[[1084,20]]},"986":{"position":[[1128,21]]}},"keywords":{}}],["quot;_modified"",{"_index":5203,"title":{},"content":{"898":{"position":[[1137,21]]}},"keywords":{}}],["quot;_propertycache"",{"_index":5854,"title":{},"content":{"1084":{"position":[[714,27]]}},"keywords":{}}],["quot;_savedata"",{"_index":5882,"title":{},"content":{"1084":{"position":[[1408,22]]}},"keywords":{}}],["quot;active"",{"_index":5222,"title":{},"content":{"898":{"position":[[3844,20]]}},"keywords":{}}],["quot;age"",{"_index":5201,"title":{},"content":{"898":{"position":[[1059,15]]}},"keywords":{}}],["quot;aggregation"",{"_index":5796,"title":{},"content":{"1072":{"position":[[702,23]]}},"keywords":{}}],["quot;al",{"_index":5632,"title":{},"content":{"1022":{"position":[[928,9]]},"1023":{"position":[[589,9]]}},"keywords":{}}],["quot;alice"",{"_index":5445,"title":{},"content":{"986":{"position":[[796,18]]}},"keywords":{}}],["quot;allattachments$"",{"_index":5877,"title":{},"content":{"1084":{"position":[[1279,28]]}},"keywords":{}}],["quot;allattachments"",{"_index":5876,"title":{},"content":{"1084":{"position":[[1251,27]]}},"keywords":{}}],["quot;amount"",{"_index":1836,"title":{},"content":{"303":{"position":[[695,19],[756,19]]},"361":{"position":[[692,19],[753,19]]}},"keywords":{}}],["quot;an",{"_index":365,"title":{},"content":{"22":{"position":[[29,8]]}},"keywords":{}}],["quot;ani",{"_index":2672,"title":{},"content":{"412":{"position":[[2774,9]]}},"keywords":{}}],["quot;app",{"_index":2799,"title":{},"content":{"419":{"position":[[322,10]]}},"keywords":{}}],["quot;array"",{"_index":2366,"title":{},"content":{"397":{"position":[[795,18]]},"1074":{"position":[[1476,18]]}},"keywords":{}}],["quot;at",{"_index":3657,"title":{},"content":{"619":{"position":[[84,8]]}},"keywords":{}}],["quot;attachments"",{"_index":5830,"title":{},"content":{"1074":{"position":[[1874,24]]}},"keywords":{}}],["quot;average"",{"_index":2554,"title":{},"content":{"408":{"position":[[2948,19]]},"462":{"position":[[700,19]]}},"keywords":{}}],["quot;aw",{"_index":309,"title":{},"content":{"18":{"position":[[280,9]]}},"keywords":{}}],["quot;awesom",{"_index":1525,"title":{},"content":{"244":{"position":[[1493,13]]}},"keywords":{}}],["quot;birthyear"",{"_index":5822,"title":{},"content":{"1074":{"position":[[1292,22]]}},"keywords":{}}],["quot;boat"",{"_index":2348,"title":{},"content":{"396":{"position":[[1388,16]]}},"keywords":{}}],["quot;branches"",{"_index":5916,"title":{},"content":{"1092":{"position":[[140,21]]},"1093":{"position":[[24,20]]}},"keywords":{}}],["quot;brand"",{"_index":2038,"title":{},"content":{"356":{"position":[[479,20]]}},"keywords":{}}],["quot;brandx"",{"_index":2039,"title":{},"content":{"356":{"position":[[500,19]]}},"keywords":{}}],["quot;brows",{"_index":3982,"title":{},"content":{"707":{"position":[[314,13]]}},"keywords":{}}],["quot;browser"",{"_index":6143,"title":{},"content":{"1176":{"position":[[552,20]]}},"keywords":{}}],["quot;calculated"",{"_index":2629,"title":{},"content":{"411":{"position":[[3581,22]]}},"keywords":{}}],["quot;capacitorsqlite"",{"_index":3792,"title":{},"content":{"661":{"position":[[654,28]]},"662":{"position":[[1422,28]]},"1279":{"position":[[121,28]]}},"keywords":{}}],["quot;clear",{"_index":2726,"title":{},"content":{"412":{"position":[[8116,11]]}},"keywords":{}}],["quot;client",{"_index":1495,"title":{},"content":{"244":{"position":[[642,12]]},"617":{"position":[[463,13]]}},"keywords":{}}],["quot;close"",{"_index":5885,"title":{},"content":{"1084":{"position":[[1482,18]]}},"keywords":{}}],["quot;closedupl",{"_index":4211,"title":{},"content":{"749":{"position":[[5869,22]]}},"keywords":{}}],["quot;collection"",{"_index":5852,"title":{},"content":{"1084":{"position":[[671,23]]}},"keywords":{}}],["quot;color"",{"_index":1285,"title":{},"content":{"188":{"position":[[2966,18]]},"1074":{"position":[[1051,18],[1808,17]]}},"keywords":{}}],["quot;correct"",{"_index":2686,"title":{},"content":{"412":{"position":[[4061,19]]}},"keywords":{}}],["quot;corrine"",{"_index":1830,"title":{},"content":{"303":{"position":[[562,20],[822,20]]},"361":{"position":[[559,20],[819,20]]}},"keywords":{}}],["quot;damage"",{"_index":5828,"title":{},"content":{"1074":{"position":[[1696,19]]}},"keywords":{}}],["quot;dat",{"_index":5888,"title":{},"content":{"1085":{"position":[[448,10]]}},"keywords":{}}],["quot;databas",{"_index":1506,"title":{},"content":{"244":{"position":[[965,14]]}},"keywords":{}}],["quot;datastore"",{"_index":5915,"title":{},"content":{"1092":{"position":[[105,21]]},"1094":{"position":[[287,21],[321,21]]}},"keywords":{}}],["quot;datastores"",{"_index":5917,"title":{},"content":{"1092":{"position":[[592,22]]}},"keywords":{}}],["quot;deleted$$"",{"_index":5860,"title":{},"content":{"1084":{"position":[[868,22]]}},"keywords":{}}],["quot;deleted$"",{"_index":5859,"title":{},"content":{"1084":{"position":[[846,21]]}},"keywords":{}}],["quot;deleted"",{"_index":4901,"title":{},"content":{"861":{"position":[[1956,19]]},"898":{"position":[[409,20]]},"1084":{"position":[[891,20],[1501,20]]}},"keywords":{}}],["quot;dependencies"",{"_index":4077,"title":{},"content":{"731":{"position":[[102,25]]},"760":{"position":[[106,25]]}},"keywords":{}}],["quot;describ",{"_index":5816,"title":{},"content":{"1074":{"position":[[771,15]]}},"keywords":{}}],["quot;description"",{"_index":5815,"title":{},"content":{"1074":{"position":[[746,24]]}},"keywords":{}}],["quot;dumb,"",{"_index":2668,"title":{},"content":{"412":{"position":[[2039,17]]}},"keywords":{}}],["quot;dump"",{"_index":5430,"title":{},"content":{"981":{"position":[[634,16]]}},"keywords":{}}],["quot;electron",{"_index":1485,"title":{},"content":{"244":{"position":[[321,14]]}},"keywords":{}}],["quot;embedding"",{"_index":2365,"title":{},"content":{"397":{"position":[[752,22],[1090,22]]}},"keywords":{}}],["quot;encrypted"",{"_index":5829,"title":{},"content":{"1074":{"position":[[1829,22],[1901,22]]}},"keywords":{}}],["quot;eventu",{"_index":3953,"title":{},"content":{"700":{"position":[[750,14]]}},"keywords":{}}],["quot;everyth",{"_index":3942,"title":{},"content":{"698":{"position":[[2510,16]]}},"keywords":{}}],["quot;exactli",{"_index":2632,"title":{},"content":{"411":{"position":[[4620,13]]}},"keywords":{}}],["quot;expo",{"_index":1505,"title":{},"content":{"244":{"position":[[933,10]]}},"keywords":{}}],["quot;fast",{"_index":3974,"title":{},"content":{"703":{"position":[[1445,10]]}},"keywords":{}}],["quot;features"",{"_index":2040,"title":{},"content":{"356":{"position":[[520,21]]}},"keywords":{}}],["quot;final"",{"_index":5823,"title":{},"content":{"1074":{"position":[[1355,18]]}},"keywords":{}}],["quot;find",{"_index":4014,"title":{},"content":{"714":{"position":[[591,10]]}},"keywords":{}}],["quot;firebas",{"_index":1450,"title":{},"content":{"243":{"position":[[214,14]]}},"keywords":{}}],["quot;firestor",{"_index":1451,"title":{},"content":{"243":{"position":[[280,15]]},"244":{"position":[[1175,15]]}},"keywords":{}}],["quot;first",{"_index":2696,"title":{},"content":{"412":{"position":[[5278,11]]}},"keywords":{}}],["quot;firstname"",{"_index":1829,"title":{},"content":{"303":{"position":[[539,22]]},"361":{"position":[[536,22]]},"898":{"position":[[986,21]]}},"keywords":{}}],["quot;flag"",{"_index":5590,"title":{},"content":{"1009":{"position":[[942,16]]}},"keywords":{}}],["quot;flutt",{"_index":1519,"title":{},"content":{"244":{"position":[[1375,13]]}},"keywords":{}}],["quot;foobar"",{"_index":4063,"title":{},"content":{"724":{"position":[[1588,18]]},"986":{"position":[[758,19]]}},"keywords":{}}],["quot;format"",{"_index":5887,"title":{},"content":{"1085":{"position":[[428,19]]}},"keywords":{}}],["quot;framework"",{"_index":666,"title":{},"content":{"43":{"position":[[16,21]]}},"keywords":{}}],["quot;from",{"_index":5527,"title":{},"content":{"999":{"position":[[120,10]]}},"keywords":{}}],["quot;fs"",{"_index":6141,"title":{},"content":{"1176":{"position":[[92,15],[575,15]]}},"keywords":{}}],["quot;get$$"",{"_index":5865,"title":{},"content":{"1084":{"position":[[984,18]]}},"keywords":{}}],["quot;get$"",{"_index":5864,"title":{},"content":{"1084":{"position":[[966,17]]}},"keywords":{}}],["quot;get"",{"_index":5867,"title":{},"content":{"1084":{"position":[[1025,16]]}},"keywords":{}}],["quot;getattachment"",{"_index":5875,"title":{},"content":{"1084":{"position":[[1224,26]]}},"keywords":{}}],["quot;getlatest"",{"_index":5861,"title":{},"content":{"1084":{"position":[[912,22]]}},"keywords":{}}],["quot;git",{"_index":5427,"title":{},"content":{"981":{"position":[[183,9]]}},"keywords":{}}],["quot;git+https://git@github.com/pubkey/rxdb.git#commithash"",{"_index":4079,"title":{},"content":{"731":{"position":[[148,65]]}},"keywords":{}}],["quot;glu",{"_index":2619,"title":{},"content":{"411":{"position":[[2465,10]]}},"keywords":{}}],["quot;googl",{"_index":2817,"title":{},"content":{"419":{"position":[[1716,12]]}},"keywords":{}}],["quot;hack"",{"_index":3547,"title":{},"content":{"610":{"position":[[28,16]]}},"keywords":{}}],["quot;healthpoints"",{"_index":5818,"title":{},"content":{"1074":{"position":[[1112,25]]}},"keywords":{}}],["quot;hero",{"_index":5813,"title":{},"content":{"1074":{"position":[[697,10]]}},"keywords":{}}],["quot;hot"",{"_index":4656,"title":{},"content":{"799":{"position":[[107,15],[417,15]]}},"keywords":{}}],["quot;https://<yourdatabase>.dexie.cloud"",{"_index":6079,"title":{},"content":{"1148":{"position":[[986,53]]}},"keywords":{}}],["quot;human"",{"_index":5197,"title":{},"content":{"898":{"position":[[805,17]]}},"keywords":{}}],["quot;i",{"_index":2738,"title":{},"content":{"412":{"position":[[10256,8]]},"703":{"position":[[1215,8]]}},"keywords":{}}],["quot;id"",{"_index":1280,"title":{},"content":{"188":{"position":[[2871,15]]},"397":{"position":[[586,15],[666,15],[1074,15]]},"403":{"position":[[575,15]]},"986":{"position":[[742,15]]},"1085":{"position":[[1263,15],[1343,15],[1590,16]]},"1107":{"position":[[588,15],[668,15],[894,15]]}},"keywords":{}}],["quot;idx0"",{"_index":2369,"title":{},"content":{"397":{"position":[[893,17],[1113,17],[1228,17]]}},"keywords":{}}],["quot;idx1"",{"_index":2370,"title":{},"content":{"397":{"position":[[924,17],[1131,17],[1246,17]]}},"keywords":{}}],["quot;idx2"",{"_index":2371,"title":{},"content":{"397":{"position":[[955,17],[1149,17],[1264,17]]}},"keywords":{}}],["quot;idx3"",{"_index":2372,"title":{},"content":{"397":{"position":[[986,17],[1167,17],[1282,17]]}},"keywords":{}}],["quot;idx4"",{"_index":2373,"title":{},"content":{"397":{"position":[[1017,17],[1185,16],[1300,16]]}},"keywords":{}}],["quot;ignoredupl",{"_index":4209,"title":{},"content":{"749":{"position":[[5807,22]]}},"keywords":{}}],["quot;in",{"_index":1487,"title":{},"content":{"244":{"position":[[349,8]]}},"keywords":{}}],["quot;incrementalmodify"",{"_index":5879,"title":{},"content":{"1084":{"position":[[1328,30]]}},"keywords":{}}],["quot;incrementalpatch"",{"_index":5881,"title":{},"content":{"1084":{"position":[[1378,29]]}},"keywords":{}}],["quot;incrementalremove"",{"_index":5884,"title":{},"content":{"1084":{"position":[[1451,30]]}},"keywords":{}}],["quot;incrementalupdate"",{"_index":5871,"title":{},"content":{"1084":{"position":[[1109,30]]}},"keywords":{}}],["quot;index",{"_index":2957,"title":{},"content":{"452":{"position":[[35,13]]}},"keywords":{}}],["quot;indexeddb",{"_index":1462,"title":{},"content":{"243":{"position":[[543,15],[647,15],[748,15],[847,15]]},"244":{"position":[[568,15],[604,15],[1666,15]]}},"keywords":{}}],["quot;indexes"",{"_index":2375,"title":{},"content":{"397":{"position":[[1205,20]]}},"keywords":{}}],["quot;insert",{"_index":4918,"title":{},"content":{"863":{"position":[[717,12]]}},"keywords":{}}],["quot;internalindexes"",{"_index":5967,"title":{},"content":{"1107":{"position":[[844,28]]}},"keywords":{}}],["quot;ion",{"_index":1452,"title":{},"content":{"243":{"position":[[329,11]]},"244":{"position":[[1216,11]]}},"keywords":{}}],["quot;iosdatabaselocation"",{"_index":3793,"title":{},"content":{"661":{"position":[[685,32]]},"662":{"position":[[1453,32]]},"1279":{"position":[[152,32]]}},"keywords":{}}],["quot;isinstanceofrxdocument"",{"_index":5855,"title":{},"content":{"1084":{"position":[[742,35]]}},"keywords":{}}],["quot;items"",{"_index":2367,"title":{},"content":{"397":{"position":[[814,18]]},"1074":{"position":[[1551,18]]}},"keywords":{}}],["quot;jqueri",{"_index":1448,"title":{},"content":{"243":{"position":[[154,12]]}},"keywords":{}}],["quot;json",{"_index":1473,"title":{},"content":{"243":{"position":[[946,10],[981,10]]}},"keywords":{}}],["quot;keep_alive"",{"_index":4858,"title":{},"content":{"849":{"position":[[1113,22]]}},"keywords":{}}],["quot;last",{"_index":2701,"title":{},"content":{"412":{"position":[[5505,10]]}},"keywords":{}}],["quot;lastname"",{"_index":1831,"title":{},"content":{"303":{"position":[[583,21]]},"361":{"position":[[580,21]]},"898":{"position":[[1023,20]]},"986":{"position":[[815,21]]}},"keywords":{}}],["quot;library/capacitordatabase"",{"_index":3794,"title":{},"content":{"661":{"position":[[718,37]]},"662":{"position":[[1486,37]]},"1279":{"position":[[185,37]]}},"keywords":{}}],["quot;livequery"",{"_index":1504,"title":{},"content":{"244":{"position":[[905,21]]}},"keywords":{}}],["quot;loc",{"_index":1441,"title":{},"content":{"243":{"position":[[33,11],[370,11]]},"244":{"position":[[719,11],[761,11],[796,11]]},"245":{"position":[[1,11]]},"419":{"position":[[664,11],[1217,11],[1338,11],[1520,11],[1556,11],[1850,14]]}},"keywords":{}}],["quot;localstorag",{"_index":1480,"title":{},"content":{"244":{"position":[[206,18],[485,18]]}},"keywords":{}}],["quot;low",{"_index":724,"title":{},"content":{"47":{"position":[[288,9]]}},"keywords":{}}],["quot;mag",{"_index":2684,"title":{},"content":{"412":{"position":[[3855,15]]}},"keywords":{}}],["quot;main"",{"_index":3979,"title":{},"content":{"707":{"position":[[57,16]]},"709":{"position":[[1327,16]]},"775":{"position":[[671,16]]},"1089":{"position":[[101,16]]}},"keywords":{}}],["quot;many"",{"_index":6551,"title":{},"content":{"1316":{"position":[[1495,16]]}},"keywords":{}}],["quot;maximum"",{"_index":5820,"title":{},"content":{"1074":{"position":[[1202,20],[1407,20]]}},"keywords":{}}],["quot;maxitems"",{"_index":5826,"title":{},"content":{"1074":{"position":[[1495,21]]}},"keywords":{}}],["quot;maxlength"",{"_index":2364,"title":{},"content":{"397":{"position":[[722,22]]},"1074":{"position":[[972,22]]},"1085":{"position":[[1399,22]]},"1107":{"position":[[724,22],[812,22]]}},"keywords":{}}],["quot;mean"",{"_index":2224,"title":{},"content":{"391":{"position":[[681,17]]}},"keywords":{}}],["quot;merg",{"_index":2680,"title":{},"content":{"412":{"position":[[3527,11]]}},"keywords":{}}],["quot;minimum"",{"_index":5819,"title":{},"content":{"1074":{"position":[[1178,20],[1380,20]]}},"keywords":{}}],["quot;mobil",{"_index":1502,"title":{},"content":{"244":{"position":[[836,12]]}},"keywords":{}}],["quot;modify"",{"_index":5878,"title":{},"content":{"1084":{"position":[[1308,19]]}},"keywords":{}}],["quot;mydynamicdata"",{"_index":5894,"title":{},"content":{"1085":{"position":[[1429,26]]}},"keywords":{}}],["quot;name"",{"_index":1283,"title":{},"content":{"188":{"position":[[2927,17]]},"986":{"position":[[778,17]]},"1074":{"position":[[832,17],[914,17],[1636,17],[1790,17]]},"1107":{"position":[[754,17],[875,18]]}},"keywords":{}}],["quot;native"",{"_index":6338,"title":{},"content":{"1275":{"position":[[52,18]]}},"keywords":{}}],["quot;new"",{"_index":3628,"title":{},"content":{"616":{"position":[[255,15]]}},"keywords":{}}],["quot;normal"",{"_index":2488,"title":{},"content":{"402":{"position":[[2189,18]]},"429":{"position":[[589,18]]},"453":{"position":[[604,18]]},"457":{"position":[[108,18]]},"469":{"position":[[700,18]]},"569":{"position":[[6,18]]},"623":{"position":[[342,18]]},"772":{"position":[[10,18]]},"1192":{"position":[[5,18]]}},"keywords":{}}],["quot;npm:rxdb@14.17.1"",{"_index":4501,"title":{},"content":{"760":{"position":[[156,29]]}},"keywords":{}}],["quot;number"",{"_index":2368,"title":{},"content":{"397":{"position":[[853,18]]},"1074":{"position":[[1158,19],[1335,19],[1736,18]]}},"keywords":{}}],["quot;object"",{"_index":2361,"title":{},"content":{"397":{"position":[[620,19]]},"1074":{"position":[[868,19],[1590,19]]},"1085":{"position":[[1165,18],[1297,19],[1476,18]]},"1107":{"position":[[622,19]]}},"keywords":{}}],["quot;offlin",{"_index":1454,"title":{},"content":{"243":{"position":[[400,13]]},"244":{"position":[[386,13],[1060,13],[1094,13]]},"419":{"position":[[84,13]]}},"keywords":{}}],["quot;on",{"_index":2825,"title":{},"content":{"419":{"position":[[1891,8]]}},"keywords":{}}],["quot;onlin",{"_index":2780,"title":{},"content":{"413":{"position":[[101,12]]},"420":{"position":[[611,12]]}},"keywords":{}}],["quot;only"",{"_index":6012,"title":{},"content":{"1123":{"position":[[460,16]]}},"keywords":{}}],["quot;optimist",{"_index":1439,"title":{},"content":{"243":{"position":[[4,16]]}},"keywords":{}}],["quot;original"",{"_index":2864,"title":{},"content":{"422":{"position":[[275,20]]}},"keywords":{}}],["quot;p2p",{"_index":1509,"title":{},"content":{"244":{"position":[[998,9]]}},"keywords":{}}],["quot;passportid"",{"_index":5200,"title":{},"content":{"898":{"position":[[945,22]]}},"keywords":{}}],["quot;patch"",{"_index":5880,"title":{},"content":{"1084":{"position":[[1359,18]]}},"keywords":{}}],["quot;permiss",{"_index":5586,"title":{},"content":{"1009":{"position":[[213,16]]}},"keywords":{}}],["quot;pipes"",{"_index":2549,"title":{},"content":{"408":{"position":[[2490,17]]}},"keywords":{}}],["quot;plugins"",{"_index":3791,"title":{},"content":{"661":{"position":[[631,20]]},"662":{"position":[[1399,20]]},"1279":{"position":[[98,20]]}},"keywords":{}}],["quot;populate"",{"_index":5866,"title":{},"content":{"1084":{"position":[[1003,21]]}},"keywords":{}}],["quot;primary"",{"_index":5857,"title":{},"content":{"1084":{"position":[[803,20]]}},"keywords":{}}],["quot;primarykey"",{"_index":2359,"title":{},"content":{"397":{"position":[[562,23]]},"403":{"position":[[551,23]]},"1074":{"position":[[808,23]]},"1085":{"position":[[1239,23]]},"1107":{"position":[[564,23]]}},"keywords":{}}],["quot;primarypath"",{"_index":5856,"title":{},"content":{"1084":{"position":[[778,24]]}},"keywords":{}}],["quot;production"",{"_index":3844,"title":{},"content":{"672":{"position":[[58,23]]}},"keywords":{}}],["quot;productnumber"",{"_index":1834,"title":{},"content":{"303":{"position":[[661,26],[722,26]]},"361":{"position":[[658,26],[719,26]]}},"keywords":{}}],["quot;properties"",{"_index":2362,"title":{},"content":{"397":{"position":[[640,23]]},"403":{"position":[[591,23]]},"1074":{"position":[[888,23],[1610,23]]},"1085":{"position":[[1317,23]]},"1107":{"position":[[642,23]]}},"keywords":{}}],["quot;public"."humans"",{"_index":5199,"title":{},"content":{"898":{"position":[[905,37],[1498,38]]}},"keywords":{}}],["quot;putattachment"",{"_index":5873,"title":{},"content":{"1084":{"position":[[1164,26]]}},"keywords":{}}],["quot;putattachmentbase64"",{"_index":5874,"title":{},"content":{"1084":{"position":[[1191,32]]}},"keywords":{}}],["quot;react",{"_index":1445,"title":{},"content":{"243":{"position":[[75,11]]},"244":{"position":[[66,11],[97,11],[285,14],[422,11],[523,11],[1029,14],[1125,11],[1253,11],[1292,11],[1336,11],[1418,11]]}},"keywords":{}}],["quot;reactj",{"_index":1474,"title":{},"content":{"243":{"position":[[1013,13]]}},"keywords":{}}],["quot;real",{"_index":1482,"title":{},"content":{"244":{"position":[[248,10]]}},"keywords":{}}],["quot;real"",{"_index":2482,"title":{},"content":{"402":{"position":[[704,16]]},"569":{"position":[[1251,16]]},"699":{"position":[[742,16]]},"875":{"position":[[4087,16]]}},"keywords":{}}],["quot;realtim",{"_index":212,"title":{},"content":{"14":{"position":[[388,14],[426,14]]},"570":{"position":[[846,14]]},"571":{"position":[[1855,14]]}},"keywords":{}}],["quot;realtime"",{"_index":211,"title":{},"content":{"14":{"position":[[361,20]]},"569":{"position":[[50,21],[950,21]]},"570":{"position":[[253,20]]},"571":{"position":[[54,20]]},"699":{"position":[[154,20]]}},"keywords":{}}],["quot;redux",{"_index":1524,"title":{},"content":{"244":{"position":[[1456,11]]}},"keywords":{}}],["quot;region,"",{"_index":5588,"title":{},"content":{"1009":{"position":[[245,19]]}},"keywords":{}}],["quot;reload",{"_index":2850,"title":{},"content":{"421":{"position":[[342,12]]}},"keywords":{}}],["quot;remove"",{"_index":5883,"title":{},"content":{"1084":{"position":[[1431,19]]}},"keywords":{}}],["quot;renderer"",{"_index":3981,"title":{},"content":{"707":{"position":[[177,20]]}},"keywords":{}}],["quot;repl",{"_index":5583,"title":{},"content":{"1008":{"position":[[111,17]]}},"keywords":{}}],["quot;required"",{"_index":2374,"title":{},"content":{"397":{"position":[[1050,21]]},"1074":{"position":[[1766,21]]},"1085":{"position":[[1568,21]]}},"keywords":{}}],["quot;revision"",{"_index":5858,"title":{},"content":{"1084":{"position":[[824,21]]}},"keywords":{}}],["quot;revokes"",{"_index":2761,"title":{},"content":{"412":{"position":[[13319,19]]}},"keywords":{}}],["quot;rxdb",{"_index":4499,"title":{},"content":{"760":{"position":[[134,10]]}},"keywords":{}}],["quot;rxdb"",{"_index":4078,"title":{},"content":{"731":{"position":[[130,17]]},"889":{"position":[[398,17]]}},"keywords":{}}],["quot;rxstorag",{"_index":3510,"title":{},"content":{"581":{"position":[[50,15]]}},"keywords":{}}],["quot;scal",{"_index":5906,"title":{},"content":{"1087":{"position":[[22,13]]}},"keywords":{}}],["quot;schema",{"_index":5892,"title":{},"content":{"1085":{"position":[[817,12]]}},"keywords":{}}],["quot;secret"",{"_index":5821,"title":{},"content":{"1074":{"position":[[1230,19],[1852,21]]}},"keywords":{}}],["quot;select",{"_index":4011,"title":{},"content":{"711":{"position":[[1774,12]]}},"keywords":{}}],["quot;server"",{"_index":3984,"title":{},"content":{"708":{"position":[[105,18]]}},"keywords":{}}],["quot;shapes"",{"_index":651,"title":{},"content":{"41":{"position":[[105,20]]}},"keywords":{}}],["quot;shoe"",{"_index":2346,"title":{},"content":{"396":{"position":[[1322,16]]}},"keywords":{}}],["quot;shoppingcartitems"",{"_index":1833,"title":{},"content":{"303":{"position":[[626,30]]},"361":{"position":[[623,30]]}},"keywords":{}}],["quot;shortening"",{"_index":2479,"title":{},"content":{"402":{"position":[[175,22]]}},"keywords":{}}],["quot;skills"",{"_index":5825,"title":{},"content":{"1074":{"position":[[1436,19]]}},"keywords":{}}],["quot;socks"",{"_index":2347,"title":{},"content":{"396":{"position":[[1343,17]]}},"keywords":{}}],["quot;someth",{"_index":5060,"title":{},"content":{"875":{"position":[[9078,15]]}},"keywords":{}}],["quot;sort"",{"_index":4995,"title":{},"content":{"875":{"position":[[2409,16]]}},"keywords":{}}],["quot;sqlit",{"_index":1492,"title":{},"content":{"244":{"position":[[457,12],[1563,12],[1600,12]]}},"keywords":{}}],["quot;ssd"",{"_index":2042,"title":{},"content":{"356":{"position":[[568,20]]}},"keywords":{}}],["quot;stealing"",{"_index":5977,"title":{},"content":{"1112":{"position":[[324,20]]}},"keywords":{}}],["quot;stor",{"_index":1476,"title":{},"content":{"244":{"position":[[34,11],[165,11]]},"410":{"position":[[1356,12]]}},"keywords":{}}],["quot;storag",{"_index":6054,"title":{},"content":{"1140":{"position":[[104,13]]}},"keywords":{}}],["quot;string"",{"_index":2363,"title":{},"content":{"397":{"position":[[702,19]]},"1074":{"position":[[952,19],[1090,18],[1270,18],[1674,18]]},"1085":{"position":[[408,19],[1379,19]]},"1107":{"position":[[704,19],[792,19]]}},"keywords":{}}],["quot;supabas",{"_index":1475,"title":{},"content":{"244":{"position":[[1,14],[130,14]]}},"keywords":{}}],["quot;sync",{"_index":1531,"title":{},"content":{"244":{"position":[[1636,10]]}},"keywords":{}}],["quot;synced"",{"_index":5886,"title":{},"content":{"1084":{"position":[[1522,18]]}},"keywords":{}}],["quot;tauri",{"_index":1527,"title":{},"content":{"244":{"position":[[1530,11]]}},"keywords":{}}],["quot;title"",{"_index":5812,"title":{},"content":{"1074":{"position":[[678,18]]}},"keywords":{}}],["quot;tojson"",{"_index":5868,"title":{},"content":{"1084":{"position":[[1042,19]]}},"keywords":{}}],["quot;tomutablejson"",{"_index":5869,"title":{},"content":{"1084":{"position":[[1062,26]]}},"keywords":{}}],["quot;touchscreen"",{"_index":2041,"title":{},"content":{"356":{"position":[[542,25]]}},"keywords":{}}],["quot;type"",{"_index":2360,"title":{},"content":{"397":{"position":[[602,17],[684,17],[777,17],[835,17]]},"849":{"position":[[472,16]]},"1074":{"position":[[850,17],[934,17],[1072,17],[1140,17],[1252,17],[1317,17],[1458,17],[1572,17],[1656,17],[1718,17]]},"1085":{"position":[[390,17],[1279,17],[1361,17],[1458,17]]},"1107":{"position":[[604,17],[686,17],[774,17]]}},"keywords":{}}],["quot;uniqueitems"",{"_index":5827,"title":{},"content":{"1074":{"position":[[1520,24]]}},"keywords":{}}],["quot;upd",{"_index":4915,"title":{},"content":{"863":{"position":[[510,12]]}},"keywords":{}}],["quot;update"",{"_index":5870,"title":{},"content":{"1084":{"position":[[1089,19]]}},"keywords":{}}],["quot;updatecrdt"",{"_index":5872,"title":{},"content":{"1084":{"position":[[1140,23]]}},"keywords":{}}],["quot;updatedat"",{"_index":5447,"title":{},"content":{"986":{"position":[[1004,22]]}},"keywords":{}}],["quot;version"",{"_index":2358,"title":{},"content":{"397":{"position":[[538,20]]},"403":{"position":[[489,20]]},"1074":{"position":[[722,20]]},"1085":{"position":[[1215,20]]},"1107":{"position":[[540,20]]}},"keywords":{}}],["quot;voxel"",{"_index":5556,"title":{},"content":{"1007":{"position":[[103,17]]}},"keywords":{}}],["quot;vu",{"_index":1447,"title":{},"content":{"243":{"position":[[114,9],[185,9]]}},"keywords":{}}],["quot;web",{"_index":1503,"title":{},"content":{"244":{"position":[[874,9]]}},"keywords":{}}],["quot;webrtc",{"_index":1457,"title":{},"content":{"243":{"position":[[464,12]]}},"keywords":{}}],["quot;webtransport",{"_index":1497,"title":{},"content":{"244":{"position":[[681,18]]}},"keywords":{}}],["quot;which",{"_index":2191,"title":{},"content":{"390":{"position":[[618,11],[685,11]]}},"keywords":{}}],["quot;wilson"",{"_index":5446,"title":{},"content":{"986":{"position":[[837,19]]}},"keywords":{}}],["quot;winner"",{"_index":2678,"title":{},"content":{"412":{"position":[[3359,18]]}},"keywords":{}}],["quot;wins"",{"_index":3892,"title":{},"content":{"688":{"position":[[445,16]]}},"keywords":{}}],["quot;won't",{"_index":3648,"title":{},"content":{"617":{"position":[[1725,11]]}},"keywords":{}}],["quot;you",{"_index":2621,"title":{},"content":{"411":{"position":[[2594,9]]}},"keywords":{}}],["quot;zero",{"_index":1455,"title":{},"content":{"243":{"position":[[432,10]]},"902":{"position":[[522,10]]}},"keywords":{}}],["quot;zflutt",{"_index":1281,"title":{},"content":{"188":{"position":[[2887,14]]}},"keywords":{}}],["quot;ziemann"",{"_index":1832,"title":{},"content":{"303":{"position":[[605,20],[859,20]]},"361":{"position":[[602,20],[856,20]]}},"keywords":{}}],["quot;|b"",{"_index":1842,"title":{},"content":{"303":{"position":[[923,15],[969,15]]},"361":{"position":[[920,15],[966,15]]}},"keywords":{}}],["quot;|e"",{"_index":1838,"title":{},"content":{"303":{"position":[[806,15]]},"361":{"position":[[803,15]]}},"keywords":{}}],["quot;|g"",{"_index":1839,"title":{},"content":{"303":{"position":[[843,15]]},"361":{"position":[[840,15]]}},"keywords":{}}],["quot;|h"",{"_index":1841,"title":{},"content":{"303":{"position":[[900,15],[946,15]]},"361":{"position":[[897,15],[943,15]]}},"keywords":{}}],["quot;|i"",{"_index":1840,"title":{},"content":{"303":{"position":[[880,15]]},"361":{"position":[[877,15]]}},"keywords":{}}],["quota",{"_index":1703,"title":{"301":{"position":[[29,7]]}},"content":{"298":{"position":[[107,5]]},"299":{"position":[[16,6],[356,5],[667,6],[979,6],[1451,5]]},"300":{"position":[[223,5]]},"301":{"position":[[559,5],[745,6]]},"302":{"position":[[69,6],[464,5],[919,5]]},"304":{"position":[[119,6],[251,6]]},"306":{"position":[[100,5]]},"408":{"position":[[510,6],[1226,6]]}},"keywords":{}}],["quota.quota",{"_index":1773,"title":{},"content":{"300":{"position":[[286,12]]}},"keywords":{}}],["quota.usag",{"_index":1775,"title":{},"content":{"300":{"position":[[317,12]]}},"keywords":{}}],["quotaexceedederror",{"_index":1797,"title":{},"content":{"302":{"position":[[103,18],[871,21]]},"1207":{"position":[[736,18]]}},"keywords":{}}],["r1",{"_index":4435,"title":{},"content":{"749":{"position":[[23961,2]]}},"keywords":{}}],["r2",{"_index":4437,"title":{},"content":{"749":{"position":[[24081,2]]}},"keywords":{}}],["r3",{"_index":4439,"title":{},"content":{"749":{"position":[[24242,2]]}},"keywords":{}}],["rais",{"_index":2790,"title":{},"content":{"417":{"position":[[115,5]]}},"keywords":{}}],["ram",{"_index":1607,"title":{},"content":{"265":{"position":[[789,4]]},"1321":{"position":[[111,3]]}},"keywords":{}}],["ran",{"_index":6393,"title":{},"content":{"1292":{"position":[[15,3]]}},"keywords":{}}],["random",{"_index":2344,"title":{},"content":{"396":{"position":[[965,6]]},"670":{"position":[[186,6]]},"821":{"position":[[776,6]]},"837":{"position":[[1524,6]]},"1010":{"position":[[108,6]]}},"keywords":{}}],["randomcouchstring(10",{"_index":6383,"title":{},"content":{"1286":{"position":[[515,22]]},"1287":{"position":[[565,22]]},"1288":{"position":[[531,22]]}},"keywords":{}}],["randomli",{"_index":3043,"title":{},"content":{"464":{"position":[[201,8]]},"719":{"position":[[307,8]]},"1304":{"position":[[1078,8]]}},"keywords":{}}],["rang",{"_index":519,"title":{"796":{"position":[[74,6]]}},"content":{"33":{"position":[[414,5]]},"165":{"position":[[17,5]]},"177":{"position":[[233,5]]},"193":{"position":[[15,5]]},"254":{"position":[[420,5]]},"267":{"position":[[1433,5]]},"287":{"position":[[77,5],[598,5]]},"364":{"position":[[360,5]]},"365":{"position":[[841,5]]},"368":{"position":[[203,5]]},"396":{"position":[[1690,6]]},"398":{"position":[[1772,5],[1871,5],[2264,5],[2414,7],[2461,6]]},"400":{"position":[[109,5],[475,5]]},"420":{"position":[[1445,5]]},"432":{"position":[[475,5]]},"454":{"position":[[174,5]]},"459":{"position":[[513,6]]},"461":{"position":[[701,6]]},"462":{"position":[[949,5]]},"468":{"position":[[268,5]]},"469":{"position":[[17,5]]},"504":{"position":[[682,5]]},"525":{"position":[[406,5]]},"631":{"position":[[121,5]]},"796":{"position":[[84,5]]},"904":{"position":[[516,5]]},"1067":{"position":[[1222,5],[1452,5]]},"1120":{"position":[[411,5]]},"1124":{"position":[[60,5],[625,5],[820,6],[957,6]]},"1134":{"position":[[319,5]]},"1272":{"position":[[251,5]]},"1294":{"position":[[1173,5]]},"1296":{"position":[[1350,5],[1459,5]]}},"keywords":{}}],["rapid",{"_index":925,"title":{},"content":{"65":{"position":[[1244,5]]},"287":{"position":[[1014,5]]},"369":{"position":[[153,5]]},"569":{"position":[[806,5]]}},"keywords":{}}],["rapidli",{"_index":2005,"title":{},"content":{"353":{"position":[[267,7]]},"408":{"position":[[2196,7]]}},"keywords":{}}],["rare",{"_index":296,"title":{},"content":{"17":{"position":[[486,4]]},"362":{"position":[[612,6]]},"411":{"position":[[875,6]]},"689":{"position":[[491,6]]},"698":{"position":[[908,5]]},"740":{"position":[[4,4]]},"966":{"position":[[234,4]]},"1090":{"position":[[1236,4]]}},"keywords":{}}],["rate",{"_index":3199,"title":{},"content":{"497":{"position":[[113,5]]},"841":{"position":[[1093,4]]}},"keywords":{}}],["rates.scenario",{"_index":3201,"title":{},"content":{"497":{"position":[[322,15]]}},"keywords":{}}],["raw",{"_index":1933,"title":{},"content":{"331":{"position":[[59,3]]},"350":{"position":[[232,5]]},"356":{"position":[[207,3]]},"408":{"position":[[3129,3]]},"576":{"position":[[43,3]]},"620":{"position":[[247,3]]}},"keywords":{}}],["rawrespons",{"_index":5037,"title":{},"content":{"875":{"position":[[6219,11]]},"988":{"position":[[2503,11]]}},"keywords":{}}],["rawresponse.json",{"_index":5041,"title":{},"content":{"875":{"position":[[6434,19]]},"988":{"position":[[2852,19]]}},"keywords":{}}],["rc1",{"_index":4324,"title":{},"content":{"749":{"position":[[14568,3]]}},"keywords":{}}],["rc2",{"_index":4325,"title":{},"content":{"749":{"position":[[14650,3]]}},"keywords":{}}],["rc4",{"_index":4327,"title":{},"content":{"749":{"position":[[14765,3]]}},"keywords":{}}],["rc5",{"_index":4329,"title":{},"content":{"749":{"position":[[14921,3]]}},"keywords":{}}],["rc6",{"_index":4330,"title":{},"content":{"749":{"position":[[15132,3]]}},"keywords":{}}],["rc7",{"_index":4333,"title":{},"content":{"749":{"position":[[15291,3]]}},"keywords":{}}],["rc_couchdb_1",{"_index":4345,"title":{},"content":{"749":{"position":[[16101,12]]}},"keywords":{}}],["rc_couchdb_2",{"_index":4347,"title":{},"content":{"749":{"position":[[16249,12]]}},"keywords":{}}],["rc_forbidden",{"_index":4352,"title":{},"content":{"749":{"position":[[16639,12]]}},"keywords":{}}],["rc_outdat",{"_index":4348,"title":{},"content":{"749":{"position":[[16368,11]]}},"keywords":{}}],["rc_pull",{"_index":4338,"title":{},"content":{"749":{"position":[[15466,7]]}},"keywords":{}}],["rc_push",{"_index":4342,"title":{},"content":{"749":{"position":[[15732,7]]}},"keywords":{}}],["rc_push_no_ar",{"_index":4343,"title":{},"content":{"749":{"position":[[15864,13]]}},"keywords":{}}],["rc_stream",{"_index":4341,"title":{},"content":{"749":{"position":[[15598,9]]}},"keywords":{}}],["rc_unauthor",{"_index":4350,"title":{},"content":{"749":{"position":[[16490,15]]}},"keywords":{}}],["rc_webrtc_peer",{"_index":4344,"title":{},"content":{"749":{"position":[[15999,14]]}},"keywords":{}}],["rddt",{"_index":1443,"title":{},"content":{"243":{"position":[[60,5],[139,5],[265,5],[314,5],[355,5]]}},"keywords":{}}],["re",{"_index":166,"title":{"1022":{"position":[[9,2]]}},"content":{"11":{"position":[[661,6]]},"234":{"position":[[200,2]]},"255":{"position":[[1147,3],[1410,3]]},"329":{"position":[[110,2]]},"335":{"position":[[937,2]]},"346":{"position":[[134,2],[418,2]]},"385":{"position":[[318,2]]},"411":{"position":[[3223,2],[3626,2]]},"490":{"position":[[560,2]]},"494":{"position":[[636,2]]},"566":{"position":[[445,2],[518,2]]},"611":{"position":[[1053,2]]},"612":{"position":[[1866,4]]},"630":{"position":[[362,2]]},"634":{"position":[[336,2]]},"756":{"position":[[222,2]]},"799":{"position":[[543,4],[775,4]]},"829":{"position":[[2728,2],[2757,2],[3658,2]]},"841":{"position":[[850,2]]},"870":{"position":[[106,2]]},"875":{"position":[[2093,4],[4461,4],[7250,4]]},"921":{"position":[[79,2]]},"954":{"position":[[206,2]]},"990":{"position":[[651,2]]},"1007":{"position":[[1511,3],[1669,3]]},"1008":{"position":[[295,2]]},"1010":{"position":[[115,2]]},"1294":{"position":[[1768,6]]},"1307":{"position":[[851,2]]},"1315":{"position":[[1662,2]]},"1316":{"position":[[1750,2]]},"1318":{"position":[[1149,2]]}},"keywords":{}}],["reach",{"_index":457,"title":{"302":{"position":[[32,8]]}},"content":{"28":{"position":[[324,7]]},"418":{"position":[[808,6]]},"461":{"position":[[426,7]]},"491":{"position":[[1593,5]]},"496":{"position":[[72,7]]},"610":{"position":[[1227,7]]},"696":{"position":[[1798,5]]},"711":{"position":[[2395,6]]},"984":{"position":[[514,7]]},"990":{"position":[[178,7]]},"1092":{"position":[[481,8]]},"1294":{"position":[[1093,8]]}},"keywords":{}}],["reachabl",{"_index":6273,"title":{},"content":{"1227":{"position":[[856,9]]},"1265":{"position":[[830,9]]}},"keywords":{}}],["react",{"_index":99,"title":{"8":{"position":[[0,5]]},"286":{"position":[[25,7]]},"371":{"position":[[32,5]]},"437":{"position":[[17,5]]},"494":{"position":[[0,5]]},"512":{"position":[[23,5]]},"520":{"position":[[15,5]]},"521":{"position":[[13,5]]},"522":{"position":[[16,5]]},"523":{"position":[[11,5]]},"532":{"position":[[22,5]]},"534":{"position":[[21,6]]},"536":{"position":[[15,6]]},"541":{"position":[[26,5]]},"543":{"position":[[0,5]]},"549":{"position":[[0,5]]},"551":{"position":[[0,5]]},"552":{"position":[[34,5]]},"556":{"position":[[19,5]]},"827":{"position":[[0,5]]},"830":{"position":[[0,5]]},"833":{"position":[[0,5]]},"834":{"position":[[23,5]]},"852":{"position":[[0,5]]},"1214":{"position":[[18,5]]},"1277":{"position":[[11,5]]}},"content":{"7":{"position":[[644,5]]},"8":{"position":[[181,5],[205,5],[257,5],[277,5],[336,5],[354,5],[448,5],[859,6],[933,5]]},"9":{"position":[[6,5]]},"17":{"position":[[96,5],[106,5],[263,5]]},"33":{"position":[[279,5]]},"38":{"position":[[716,5]]},"47":{"position":[[1246,5]]},"99":{"position":[[360,5]]},"112":{"position":[[110,5]]},"121":{"position":[[221,5]]},"140":{"position":[[150,5]]},"168":{"position":[[82,5]]},"174":{"position":[[2716,5]]},"201":{"position":[[190,5]]},"207":{"position":[[187,5]]},"239":{"position":[[147,5]]},"244":{"position":[[1392,5]]},"248":{"position":[[76,5]]},"254":{"position":[[158,5],[394,5]]},"286":{"position":[[183,6]]},"352":{"position":[[246,6]]},"365":{"position":[[1047,5]]},"371":{"position":[[40,5],[303,5]]},"383":{"position":[[406,5]]},"420":{"position":[[304,5]]},"437":{"position":[[5,5],[267,5]]},"445":{"position":[[1482,6],[1774,5]]},"446":{"position":[[1141,5]]},"447":{"position":[[237,5]]},"458":{"position":[[66,5]]},"479":{"position":[[384,6]]},"490":{"position":[[46,5]]},"494":{"position":[[6,6],[144,5],[155,8],[630,5]]},"503":{"position":[[74,6]]},"509":{"position":[[50,5]]},"513":{"position":[[106,5]]},"515":{"position":[[411,5]]},"520":{"position":[[40,5]]},"521":{"position":[[29,5],[556,5]]},"522":{"position":[[40,5],[205,5]]},"523":{"position":[[42,5]]},"524":{"position":[[670,5],[753,5],[1021,5]]},"530":{"position":[[17,5],[294,5],[470,5],[675,5]]},"531":{"position":[[445,5]]},"534":{"position":[[15,5]]},"535":{"position":[[1298,5]]},"536":{"position":[[22,5]]},"538":{"position":[[247,5]]},"540":{"position":[[183,5]]},"541":{"position":[[117,5],[208,8]]},"542":{"position":[[80,5]]},"543":{"position":[[48,5]]},"546":{"position":[[257,5]]},"548":{"position":[[244,5]]},"551":{"position":[[1,5],[302,5],[327,5]]},"556":{"position":[[106,5],[131,5],[224,5],[311,6]]},"557":{"position":[[119,5],[157,5],[460,5]]},"559":{"position":[[192,6],[228,8]]},"562":{"position":[[761,5],[886,5],[1043,6],[1079,8],[1641,5]]},"563":{"position":[[814,5]]},"567":{"position":[[757,5],[808,5],[1021,5]]},"631":{"position":[[190,5]]},"659":{"position":[[159,5]]},"749":{"position":[[5932,5]]},"785":{"position":[[402,5]]},"793":{"position":[[310,5],[1246,5]]},"824":{"position":[[241,5]]},"825":{"position":[[9,5]]},"828":{"position":[[69,5],[79,5],[180,5],[287,5]]},"829":{"position":[[34,5],[67,5],[73,5],[141,5],[209,5],[343,5],[923,5],[932,5],[1093,6],[1248,6],[1284,8],[2979,5]]},"830":{"position":[[69,5],[87,5],[187,5],[314,5]]},"831":{"position":[[20,5],[322,5],[406,5]]},"832":{"position":[[22,5],[142,6],[264,5]]},"834":{"position":[[61,5]]},"835":{"position":[[577,5],[627,5]]},"836":{"position":[[230,5],[396,5],[480,5],[517,5],[643,6],[1055,5],[1290,5],[1611,5]]},"837":{"position":[[312,5],[849,5],[1026,5],[1072,5],[1349,5],[1369,5],[1395,5],[1506,6],[1762,5],[1806,6],[2139,6]]},"838":{"position":[[377,5],[1195,5],[1341,5],[1582,5],[1821,5],[2004,6],[2403,5],[3206,5],[3413,5]]},"840":{"position":[[621,5],[664,5]]},"842":{"position":[[46,5],[84,5],[315,5]]},"852":{"position":[[1,5]]},"875":{"position":[[9143,5]]},"964":{"position":[[327,5],[454,5]]},"1150":{"position":[[119,5]]},"1173":{"position":[[230,5]]},"1183":{"position":[[467,5]]},"1191":{"position":[[377,5]]},"1196":{"position":[[42,6]]},"1214":{"position":[[104,5],[696,5]]},"1247":{"position":[[94,5]]},"1271":{"position":[[229,5]]},"1277":{"position":[[13,5],[306,6],[496,5],[597,5],[677,5],[833,6]]},"1283":{"position":[[1,5]]},"1284":{"position":[[69,5],[451,5]]},"1316":{"position":[[3550,5]]}},"keywords":{}}],["react'",{"_index":3258,"title":{},"content":{"521":{"position":[[134,7]]}},"keywords":{}}],["react.j",{"_index":1013,"title":{},"content":{"94":{"position":[[109,9]]},"173":{"position":[[2307,9]]},"222":{"position":[[126,9]]}},"keywords":{}}],["react/remix",{"_index":594,"title":{},"content":{"38":{"position":[[685,12]]}},"keywords":{}}],["reactiv",{"_index":284,"title":{"53":{"position":[[0,8]]},"68":{"position":[[20,9]]},"99":{"position":[[20,9]]},"121":{"position":[[0,8]]},"144":{"position":[[11,10]]},"150":{"position":[[54,8]]},"156":{"position":[[0,8]]},"182":{"position":[[0,8]]},"226":{"position":[[20,9]]},"326":{"position":[[0,8]]},"379":{"position":[[10,11]]},"515":{"position":[[0,8]]},"540":{"position":[[0,8]]},"580":{"position":[[4,10]]},"600":{"position":[[0,8]]},"822":{"position":[[23,10]]},"825":{"position":[[9,10]]},"826":{"position":[[17,10]]},"1113":{"position":[[10,8]]}},"content":{"17":{"position":[[21,8]]},"34":{"position":[[415,11]]},"35":{"position":[[396,8]]},"41":{"position":[[334,11]]},"42":{"position":[[21,9],[303,10]]},"53":{"position":[[26,11]]},"55":{"position":[[42,11],[86,10],[943,11]]},"68":{"position":[[91,8]]},"77":{"position":[[126,10]]},"90":{"position":[[136,8]]},"99":{"position":[[176,8],[311,8]]},"103":{"position":[[112,8]]},"106":{"position":[[70,11]]},"118":{"position":[[17,8],[69,8],[158,8]]},"120":{"position":[[63,8],[182,8]]},"121":{"position":[[39,8],[94,8],[240,8]]},"124":{"position":[[237,8]]},"126":{"position":[[101,8]]},"136":{"position":[[47,8]]},"144":{"position":[[29,10]]},"148":{"position":[[73,8]]},"153":{"position":[[17,8],[155,8]]},"155":{"position":[[60,8],[230,8]]},"156":{"position":[[45,8],[179,8]]},"161":{"position":[[204,8]]},"168":{"position":[[361,8]]},"170":{"position":[[114,9],[179,8]]},"174":{"position":[[349,8]]},"179":{"position":[[145,8],[348,8]]},"182":{"position":[[41,8],[119,8]]},"186":{"position":[[282,8]]},"198":{"position":[[150,8]]},"205":{"position":[[307,8]]},"226":{"position":[[141,9],[251,8],[370,8]]},"233":{"position":[[172,8]]},"235":{"position":[[163,10]]},"252":{"position":[[300,10]]},"322":{"position":[[17,8],[105,8]]},"323":{"position":[[1,8]]},"325":{"position":[[161,8]]},"331":{"position":[[158,11]]},"335":{"position":[[54,10]]},"346":{"position":[[250,11]]},"360":{"position":[[212,8]]},"362":{"position":[[866,8]]},"378":{"position":[[6,9],[146,10]]},"379":{"position":[[24,8]]},"385":{"position":[[273,8]]},"388":{"position":[[295,8]]},"411":{"position":[[2313,8],[2643,8],[3068,8]]},"419":{"position":[[1116,11]]},"445":{"position":[[23,8],[185,9],[1222,8],[1285,8],[1559,8]]},"447":{"position":[[351,8]]},"479":{"position":[[6,9]]},"502":{"position":[[19,9]]},"513":{"position":[[198,8],[271,8]]},"514":{"position":[[17,8],[101,8],[342,10]]},"515":{"position":[[52,8],[342,8]]},"520":{"position":[[109,8]]},"521":{"position":[[468,8]]},"523":{"position":[[131,10]]},"530":{"position":[[202,8],[356,8]]},"540":{"position":[[26,8]]},"541":{"position":[[73,8]]},"542":{"position":[[39,11],[144,10],[275,11],[604,11]]},"548":{"position":[[339,8]]},"560":{"position":[[711,11]]},"561":{"position":[[232,9]]},"562":{"position":[[738,8],[1618,8]]},"563":{"position":[[24,10],[95,10],[559,11],[986,11]]},"566":{"position":[[409,10],[537,11]]},"567":{"position":[[833,11]]},"574":{"position":[[84,8],[858,9],[924,10]]},"575":{"position":[[18,8],[110,8],[239,11]]},"576":{"position":[[98,8]]},"580":{"position":[[204,10]]},"591":{"position":[[443,10]]},"600":{"position":[[26,8]]},"602":{"position":[[27,10],[85,10],[279,8]]},"608":{"position":[[337,8]]},"631":{"position":[[247,8]]},"632":{"position":[[1685,8]]},"662":{"position":[[102,9]]},"723":{"position":[[1050,8]]},"749":{"position":[[6615,10]]},"793":{"position":[[1062,10]]},"825":{"position":[[63,10],[230,10],[269,10],[411,11]]},"826":{"position":[[180,10],[309,10]]},"828":{"position":[[20,8],[321,10]]},"829":{"position":[[3851,8]]},"831":{"position":[[83,10],[130,10],[176,8],[474,10],[513,10],[551,10]]},"836":{"position":[[2394,8]]},"838":{"position":[[77,8],[555,8]]},"841":{"position":[[526,10],[584,8],[624,11],[1436,8]]},"860":{"position":[[166,8]]},"1069":{"position":[[19,8]]},"1117":{"position":[[107,10]]},"1118":{"position":[[56,10],[259,10],[715,11]]},"1124":{"position":[[675,13]]},"1150":{"position":[[201,8]]}},"keywords":{}}],["reactivityfactori",{"_index":6001,"title":{},"content":{"1118":{"position":[[476,18],[727,17]]}},"keywords":{}}],["reactj",{"_index":3385,"title":{"558":{"position":[[0,7]]},"559":{"position":[[24,7]]},"561":{"position":[[46,8]]}},"content":{"559":{"position":[[841,8]]},"560":{"position":[[139,7],[657,7]]},"561":{"position":[[135,7]]},"563":{"position":[[1001,8]]},"564":{"position":[[19,7],[1133,7]]},"567":{"position":[[39,7],[547,8],[1082,7]]}},"keywords":{}}],["reactn",{"_index":101,"title":{},"content":{"8":{"position":[[6,11]]},"1214":{"position":[[765,11],[946,11]]},"1235":{"position":[[269,12]]}},"keywords":{}}],["read",{"_index":674,"title":{"204":{"position":[[25,4]]},"465":{"position":[[17,6]]},"467":{"position":[[9,6]]},"1033":{"position":[[37,5]]},"1239":{"position":[[33,6]]},"1302":{"position":[[8,5]]}},"content":{"43":{"position":[[433,4],[717,4]]},"144":{"position":[[137,4]]},"181":{"position":[[187,5]]},"201":{"position":[[284,5]]},"204":{"position":[[96,6],[348,4]]},"251":{"position":[[43,6],[205,5],[215,4]]},"262":{"position":[[158,4],[170,7],[239,5]]},"263":{"position":[[291,6]]},"265":{"position":[[646,5]]},"358":{"position":[[78,4]]},"364":{"position":[[773,4]]},"365":{"position":[[272,4]]},"369":{"position":[[1004,7]]},"370":{"position":[[317,4]]},"371":{"position":[[322,4]]},"380":{"position":[[153,7]]},"398":{"position":[[3090,4],[3217,4],[3294,5]]},"400":{"position":[[40,4]]},"402":{"position":[[400,4],[1227,4]]},"407":{"position":[[130,4]]},"408":{"position":[[2853,5]]},"411":{"position":[[1255,5]]},"414":{"position":[[84,4]]},"415":{"position":[[112,7]]},"420":{"position":[[1368,7]]},"430":{"position":[[717,4]]},"453":{"position":[[208,4]]},"465":{"position":[[75,4],[335,5],[434,5]]},"467":{"position":[[10,4],[281,7],[552,5],[658,6]]},"470":{"position":[[9,7]]},"474":{"position":[[117,4]]},"477":{"position":[[204,5]]},"545":{"position":[[126,4]]},"550":{"position":[[127,4]]},"559":{"position":[[1085,7]]},"602":{"position":[[357,4],[465,4]]},"605":{"position":[[126,4]]},"630":{"position":[[83,5],[682,4]]},"632":{"position":[[1906,5]]},"659":{"position":[[551,4]]},"670":{"position":[[481,4]]},"696":{"position":[[2049,4]]},"705":{"position":[[1170,4]]},"709":{"position":[[1144,4]]},"711":{"position":[[576,4]]},"716":{"position":[[107,7]]},"719":{"position":[[456,4]]},"749":{"position":[[5451,4]]},"759":{"position":[[1399,4]]},"772":{"position":[[1323,5]]},"773":{"position":[[202,4]]},"824":{"position":[[52,7],[333,7]]},"835":{"position":[[280,5]]},"841":{"position":[[1069,4]]},"845":{"position":[[154,4]]},"847":{"position":[[132,4]]},"854":{"position":[[1181,4],[1262,4]]},"861":{"position":[[2521,5]]},"863":{"position":[[416,5]]},"901":{"position":[[597,4]]},"904":{"position":[[2485,4]]},"912":{"position":[[732,4]]},"932":{"position":[[503,6]]},"936":{"position":[[123,4]]},"963":{"position":[[176,4]]},"968":{"position":[[620,4],[649,8]]},"973":{"position":[[67,4]]},"1032":{"position":[[108,5],[268,5]]},"1033":{"position":[[34,5],[289,4],[459,6]]},"1065":{"position":[[63,7]]},"1080":{"position":[[1134,4]]},"1090":{"position":[[104,4]]},"1092":{"position":[[396,4],[428,5]]},"1093":{"position":[[399,5]]},"1094":{"position":[[468,5]]},"1120":{"position":[[649,5],[701,4]]},"1123":{"position":[[88,5]]},"1140":{"position":[[290,4]]},"1143":{"position":[[227,5]]},"1156":{"position":[[154,7]]},"1188":{"position":[[368,4]]},"1207":{"position":[[289,6]]},"1208":{"position":[[186,4],[1264,4]]},"1209":{"position":[[276,5],[423,5]]},"1211":{"position":[[513,5]]},"1213":{"position":[[890,4],[919,8]]},"1239":{"position":[[90,5]]},"1241":{"position":[[139,4]]},"1242":{"position":[[218,4]]},"1243":{"position":[[136,4]]},"1244":{"position":[[165,4]]},"1245":{"position":[[104,4]]},"1246":{"position":[[328,4],[648,4],[945,4],[1207,4],[1581,4],[1979,4],[2263,4]]},"1247":{"position":[[130,4],[231,4],[417,4],[581,4],[740,4]]},"1292":{"position":[[459,5]]},"1294":{"position":[[213,7]]},"1295":{"position":[[687,4]]},"1299":{"position":[[195,5]]},"1302":{"position":[[56,5]]},"1304":{"position":[[1700,4]]},"1308":{"position":[[643,4]]},"1314":{"position":[[91,4]]},"1316":{"position":[[3002,4]]},"1324":{"position":[[811,4]]}},"keywords":{}}],["read.th",{"_index":3066,"title":{},"content":{"465":{"position":[[398,8]]}},"keywords":{}}],["read/writ",{"_index":1426,"title":{},"content":{"236":{"position":[[224,10]]},"430":{"position":[[684,10]]},"462":{"position":[[137,10]]},"588":{"position":[[139,10]]},"1161":{"position":[[10,10]]},"1180":{"position":[[10,10]]},"1192":{"position":[[403,10]]}},"keywords":{}}],["readabl",{"_index":2107,"title":{},"content":{"364":{"position":[[747,9]]},"1237":{"position":[[335,8]]}},"keywords":{}}],["readbuff",{"_index":6211,"title":{},"content":{"1208":{"position":[[1310,10]]}},"keywords":{}}],["readi",{"_index":1168,"title":{"309":{"position":[[11,5]]}},"content":{"153":{"position":[[339,6]]},"170":{"position":[[132,6]]},"253":{"position":[[240,5]]},"263":{"position":[[362,5]]},"314":{"position":[[920,5]]},"318":{"position":[[344,5]]},"388":{"position":[[1,5]]},"411":{"position":[[478,5]]},"480":{"position":[[961,5]]},"498":{"position":[[1,5]]},"824":{"position":[[13,5]]},"1227":{"position":[[185,5]]},"1265":{"position":[[178,5]]},"1271":{"position":[[608,5]]}},"keywords":{}}],["readili",{"_index":2853,"title":{},"content":{"421":{"position":[[471,7]]}},"keywords":{}}],["readonli",{"_index":2995,"title":{"1109":{"position":[[0,8]]}},"content":{"459":{"position":[[664,12]]},"661":{"position":[[1253,8]]},"825":{"position":[[992,8]]},"1109":{"position":[[346,11]]},"1294":{"position":[[856,11]]}},"keywords":{}}],["reads/writ",{"_index":2070,"title":{},"content":{"358":{"position":[[927,13]]},"408":{"position":[[1736,12]]},"410":{"position":[[359,12]]},"560":{"position":[[109,13]]},"566":{"position":[[724,12]]}},"keywords":{}}],["readsiz",{"_index":6213,"title":{},"content":{"1208":{"position":[[1356,8],[1607,8]]}},"keywords":{}}],["readwrit",{"_index":1806,"title":{},"content":{"302":{"position":[[725,13]]}},"keywords":{}}],["read—but",{"_index":2086,"title":{},"content":{"361":{"position":[[1074,8]]}},"keywords":{}}],["real",{"_index":537,"title":{"90":{"position":[[9,4]]},"136":{"position":[[0,4]]},"174":{"position":[[37,4]]},"264":{"position":[[45,4]]},"312":{"position":[[3,4]]},"379":{"position":[[0,4]]},"476":{"position":[[3,4]]},"490":{"position":[[0,4]]},"570":{"position":[[0,4]]},"632":{"position":[[0,4]]},"869":{"position":[[38,4]]},"895":{"position":[[39,4]]}},"content":{"34":{"position":[[405,4]]},"35":{"position":[[386,4]]},"39":{"position":[[27,4],[501,4]]},"40":{"position":[[86,4],[487,4]]},"42":{"position":[[78,4]]},"53":{"position":[[117,4]]},"65":{"position":[[749,4],[777,4]]},"68":{"position":[[132,4]]},"77":{"position":[[92,4]]},"83":{"position":[[106,4]]},"89":{"position":[[249,4]]},"90":{"position":[[41,4],[239,4]]},"99":{"position":[[229,4]]},"103":{"position":[[196,4]]},"109":{"position":[[245,4]]},"114":{"position":[[545,4]]},"121":{"position":[[121,4]]},"124":{"position":[[292,4]]},"126":{"position":[[308,4]]},"136":{"position":[[15,4],[162,4],[273,4]]},"140":{"position":[[283,4]]},"148":{"position":[[327,4]]},"151":{"position":[[177,4]]},"155":{"position":[[258,4]]},"156":{"position":[[311,4]]},"158":{"position":[[153,4]]},"162":{"position":[[502,4]]},"165":{"position":[[144,4]]},"168":{"position":[[107,4],[303,4]]},"170":{"position":[[295,4]]},"173":{"position":[[161,4],[370,4],[852,4],[936,4],[1069,4]]},"174":{"position":[[91,4],[401,4],[1969,4]]},"175":{"position":[[558,4]]},"179":{"position":[[408,4]]},"184":{"position":[[270,4]]},"185":{"position":[[280,4]]},"192":{"position":[[350,4]]},"198":{"position":[[114,4]]},"205":{"position":[[269,4]]},"208":{"position":[[324,4]]},"212":{"position":[[573,4]]},"220":{"position":[[283,4]]},"252":{"position":[[344,4]]},"255":{"position":[[197,4],[1855,4]]},"263":{"position":[[501,4]]},"265":{"position":[[322,4],[892,4]]},"267":{"position":[[53,4],[132,4],[186,4],[288,4],[411,4],[570,4],[741,4],[841,4],[930,4],[1041,4],[1209,4],[1442,4],[1530,4]]},"275":{"position":[[153,4]]},"283":{"position":[[308,4]]},"289":{"position":[[1258,4]]},"301":{"position":[[24,4],[263,4]]},"312":{"position":[[207,4]]},"318":{"position":[[667,4]]},"321":{"position":[[536,4]]},"322":{"position":[[214,4]]},"323":{"position":[[36,4]]},"325":{"position":[[220,4]]},"328":{"position":[[15,4]]},"330":{"position":[[151,4]]},"340":{"position":[[95,4]]},"344":{"position":[[107,4]]},"353":{"position":[[693,4]]},"368":{"position":[[360,4]]},"375":{"position":[[368,4]]},"378":{"position":[[161,4]]},"388":{"position":[[449,4]]},"408":{"position":[[1917,4]]},"410":{"position":[[422,4],[1619,4]]},"411":{"position":[[2821,4],[3874,4]]},"412":{"position":[[6484,4]]},"418":{"position":[[301,4]]},"419":{"position":[[1106,4]]},"420":{"position":[[1341,4]]},"421":{"position":[[240,4],[439,4]]},"432":{"position":[[1222,4]]},"445":{"position":[[301,4],[790,4],[850,4],[1135,4]]},"446":{"position":[[427,4],[478,4],[598,4],[750,4]]},"447":{"position":[[136,4]]},"469":{"position":[[1389,4]]},"476":{"position":[[100,4],[205,4]]},"479":{"position":[[182,4]]},"480":{"position":[[704,4]]},"483":{"position":[[135,4],[334,4]]},"490":{"position":[[693,4]]},"491":{"position":[[258,4],[823,4],[1526,4]]},"497":{"position":[[13,4]]},"498":{"position":[[311,4]]},"501":{"position":[[184,4]]},"502":{"position":[[110,4],[791,4]]},"504":{"position":[[1135,4]]},"509":{"position":[[75,4]]},"517":{"position":[[190,4]]},"529":{"position":[[135,4]]},"530":{"position":[[407,4]]},"540":{"position":[[64,4]]},"554":{"position":[[371,4]]},"566":{"position":[[399,4]]},"567":{"position":[[111,4]]},"569":{"position":[[86,4],[113,4],[408,4],[464,4],[514,4],[641,4]]},"575":{"position":[[229,4]]},"582":{"position":[[251,4]]},"585":{"position":[[122,4]]},"589":{"position":[[117,4]]},"595":{"position":[[850,4]]},"600":{"position":[[64,4]]},"610":{"position":[[824,4]]},"611":{"position":[[253,4]]},"612":{"position":[[321,4]]},"613":{"position":[[445,4]]},"614":{"position":[[13,4],[94,4]]},"621":{"position":[[124,4],[499,4]]},"631":{"position":[[74,4]]},"705":{"position":[[351,4]]},"723":{"position":[[985,4],[1168,4],[1569,4]]},"749":{"position":[[21370,4]]},"772":{"position":[[104,4]]},"776":{"position":[[375,4]]},"798":{"position":[[242,4]]},"802":{"position":[[888,4]]},"836":{"position":[[1469,4],[2303,4]]},"837":{"position":[[819,4]]},"838":{"position":[[441,4]]},"841":{"position":[[658,4],[1531,4]]},"860":{"position":[[140,4],[558,4],[590,4]]},"901":{"position":[[23,4]]},"903":{"position":[[16,4]]},"1072":{"position":[[872,4]]},"1132":{"position":[[946,4]]},"1150":{"position":[[145,4]]},"1209":{"position":[[324,4]]},"1313":{"position":[[512,4]]}},"keywords":{}}],["realiti",{"_index":2795,"title":{},"content":{"418":{"position":[[505,8]]},"875":{"position":[[4945,7],[5687,7]]}},"keywords":{}}],["realiz",{"_index":6559,"title":{},"content":{"1316":{"position":[[2444,11]]}},"keywords":{}}],["realli",{"_index":15,"title":{"697":{"position":[[23,6]]}},"content":{"1":{"position":[[230,6]]},"5":{"position":[[167,6]]},"19":{"position":[[547,6]]},"29":{"position":[[326,6]]},"260":{"position":[[258,6]]},"411":{"position":[[951,6]]},"465":{"position":[[345,6],[352,6]]},"468":{"position":[[17,6]]},"696":{"position":[[1550,6]]},"701":{"position":[[454,6],[958,6]]},"703":{"position":[[1194,6]]},"740":{"position":[[220,6]]},"773":{"position":[[187,6]]},"800":{"position":[[272,6]]},"837":{"position":[[585,6]]},"1156":{"position":[[202,6]]},"1167":{"position":[[1,6]]},"1171":{"position":[[344,6]]},"1193":{"position":[[164,6]]},"1238":{"position":[[121,6]]},"1241":{"position":[[90,6]]},"1315":{"position":[[958,6]]},"1318":{"position":[[957,6]]},"1321":{"position":[[126,6]]}},"keywords":{}}],["realm",{"_index":566,"title":{"36":{"position":[[8,6]]},"839":{"position":[[0,6]]}},"content":{"36":{"position":[[12,5],[262,5],[304,5],[351,5]]},"444":{"position":[[464,6]]},"445":{"position":[[79,5]]},"530":{"position":[[8,5]]},"749":{"position":[[8815,5]]},"839":{"position":[[3,5],[123,5],[402,5],[449,5],[672,5],[868,5],[1174,5]]},"841":{"position":[[49,5],[443,5],[639,5],[805,5],[1520,5]]},"1115":{"position":[[593,6]]},"1117":{"position":[[541,6]]},"1230":{"position":[[180,6],[280,6]]}},"keywords":{}}],["realm'",{"_index":4803,"title":{},"content":{"839":{"position":[[1063,7]]}},"keywords":{}}],["realmasterst",{"_index":5021,"title":{},"content":{"875":{"position":[[4637,15],[4721,15],[4783,15]]},"1309":{"position":[[1133,15]]}},"keywords":{}}],["realmasterstate.updatedat",{"_index":5025,"title":{},"content":{"875":{"position":[[5029,25]]}},"keywords":{}}],["realtim",{"_index":180,"title":{"12":{"position":[[17,8]]},"199":{"position":[[20,8]]},"200":{"position":[[34,8]]},"221":{"position":[[9,8]]},"568":{"position":[[10,8]]},"569":{"position":[[0,8],[15,8]]},"570":{"position":[[25,8]]},"571":{"position":[[0,8],[15,8]]},"699":{"position":[[0,8]]},"781":{"position":[[0,8]]},"980":{"position":[[7,8]]},"1150":{"position":[[12,8]]}},"content":{"14":{"position":[[173,8],[228,8],[261,8],[471,8],[653,8]]},"15":{"position":[[72,8]]},"18":{"position":[[380,8]]},"19":{"position":[[510,8]]},"20":{"position":[[82,9]]},"22":{"position":[[241,8]]},"25":{"position":[[85,8]]},"38":{"position":[[57,9]]},"201":{"position":[[17,8]]},"202":{"position":[[16,8]]},"203":{"position":[[10,8]]},"204":{"position":[[27,8]]},"205":{"position":[[24,8]]},"212":{"position":[[147,8]]},"221":{"position":[[1,8],[158,8]]},"238":{"position":[[8,8]]},"243":{"position":[[229,8]]},"410":{"position":[[1463,8],[1854,8]]},"444":{"position":[[601,8]]},"569":{"position":[[1000,8],[1084,9],[1100,8],[1268,8],[1495,8],[1541,8]]},"570":{"position":[[20,8],[61,9],[77,8],[161,8],[234,8]]},"571":{"position":[[19,8],[583,8],[647,8],[1405,8]]},"572":{"position":[[59,8]]},"625":{"position":[[16,8]]},"626":{"position":[[879,8]]},"627":{"position":[[218,8]]},"661":{"position":[[1580,8],[1808,8]]},"662":{"position":[[243,8],[304,8]]},"699":{"position":[[135,9],[197,8],[254,8],[759,9],[1017,8]]},"710":{"position":[[373,8]]},"781":{"position":[[225,8],[600,8]]},"784":{"position":[[544,8]]},"838":{"position":[[272,8],[333,8]]},"860":{"position":[[1211,8]]},"875":{"position":[[6722,8]]},"886":{"position":[[3244,8],[3781,8]]},"896":{"position":[[244,8]]},"897":{"position":[[306,8]]},"898":{"position":[[735,8]]},"965":{"position":[[47,8]]},"988":{"position":[[650,8],[4910,8]]},"1094":{"position":[[236,8]]},"1123":{"position":[[730,8]]},"1124":{"position":[[880,8],[1593,8],[2111,8]]},"1320":{"position":[[949,8]]},"1321":{"position":[[162,8]]}},"keywords":{}}],["reason",{"_index":79,"title":{"428":{"position":[[0,7]]}},"content":{"5":{"position":[[179,7]]},"67":{"position":[[140,8]]},"86":{"position":[[22,7]]},"98":{"position":[[155,7]]},"215":{"position":[[16,6]]},"225":{"position":[[116,7]]},"266":{"position":[[993,6]]},"278":{"position":[[195,7]]},"398":{"position":[[3008,10]]},"411":{"position":[[5726,7]]},"412":{"position":[[6973,10]]},"420":{"position":[[523,6]]},"455":{"position":[[329,8]]},"461":{"position":[[150,11]]},"485":{"position":[[145,7]]},"534":{"position":[[134,7]]},"556":{"position":[[1528,8]]},"594":{"position":[[132,7]]},"688":{"position":[[517,6]]},"691":{"position":[[664,6]]},"709":{"position":[[1072,6]]},"721":{"position":[[241,6]]},"740":{"position":[[129,6]]},"828":{"position":[[519,6]]},"837":{"position":[[824,6]]},"985":{"position":[[158,6]]},"990":{"position":[[53,7]]},"1010":{"position":[[161,6]]},"1085":{"position":[[176,7]]},"1105":{"position":[[1033,7]]},"1108":{"position":[[589,8]]},"1112":{"position":[[611,8]]},"1174":{"position":[[99,6]]},"1246":{"position":[[1480,6]]},"1281":{"position":[[55,6]]}},"keywords":{}}],["reassign",{"_index":4088,"title":{},"content":{"737":{"position":[[450,8]]}},"keywords":{}}],["rebuild",{"_index":3994,"title":{},"content":{"711":{"position":[[809,7],[956,7],[1005,7]]},"749":{"position":[[23687,7]]}},"keywords":{}}],["recalcul",{"_index":2627,"title":{},"content":{"411":{"position":[[3361,12]]}},"keywords":{}}],["receiv",{"_index":1175,"title":{},"content":{"159":{"position":[[187,7]]},"185":{"position":[[272,7]]},"379":{"position":[[112,7]]},"411":{"position":[[523,8]]},"415":{"position":[[475,9]]},"570":{"position":[[566,7]]},"610":{"position":[[533,9],[1576,8]]},"612":{"position":[[648,9]]},"616":{"position":[[88,7]]},"767":{"position":[[16,8]]},"768":{"position":[[13,8]]},"769":{"position":[[16,8]]},"875":{"position":[[7960,8]]},"886":{"position":[[2151,8]]},"986":{"position":[[1355,7]]},"991":{"position":[[183,8]]},"993":{"position":[[117,8]]},"1022":{"position":[[192,9],[318,9],[505,11],[851,9],[861,8],[1042,9]]}},"keywords":{}}],["received"",{"_index":5633,"title":{},"content":{"1022":{"position":[[959,14]]}},"keywords":{}}],["recent",{"_index":2704,"title":{},"content":{"412":{"position":[[5950,9]]}},"keywords":{}}],["recombin",{"_index":6455,"title":{},"content":{"1295":{"position":[[1333,10]]}},"keywords":{}}],["recommend",{"_index":73,"title":{"624":{"position":[[0,15]]},"1235":{"position":[[6,16]]}},"content":{"4":{"position":[[238,11]]},"9":{"position":[[98,11]]},"51":{"position":[[903,11]]},"145":{"position":[[78,11]]},"351":{"position":[[425,12]]},"432":{"position":[[1055,12]]},"434":{"position":[[358,11]]},"439":{"position":[[89,11]]},"566":{"position":[[620,11]]},"567":{"position":[[149,11]]},"590":{"position":[[15,15]]},"616":{"position":[[227,11]]},"655":{"position":[[98,11]]},"661":{"position":[[409,11]]},"662":{"position":[[513,11],[1076,11]]},"693":{"position":[[32,11]]},"709":{"position":[[937,11]]},"710":{"position":[[724,11],[1010,9],[2292,11]]},"711":{"position":[[460,12],[492,14]]},"716":{"position":[[253,11]]},"721":{"position":[[83,11]]},"772":{"position":[[2090,11]]},"834":{"position":[[89,9]]},"835":{"position":[[651,10]]},"836":{"position":[[375,9]]},"837":{"position":[[1209,11]]},"838":{"position":[[1382,11]]},"840":{"position":[[641,11]]},"857":{"position":[[554,11]]},"861":{"position":[[116,11]]},"911":{"position":[[274,11]]},"988":{"position":[[462,11]]},"1068":{"position":[[287,11]]},"1192":{"position":[[633,11]]},"1195":{"position":[[99,11]]},"1196":{"position":[[109,12]]},"1214":{"position":[[310,12]]},"1231":{"position":[[46,11]]},"1246":{"position":[[2058,11]]}},"keywords":{}}],["recommended)nev",{"_index":6174,"title":{},"content":{"1198":{"position":[[2126,18]]}},"keywords":{}}],["reconcil",{"_index":1301,"title":{},"content":{"201":{"position":[[387,10]]},"412":{"position":[[739,9]]},"416":{"position":[[214,9]]}},"keywords":{}}],["reconnect",{"_index":616,"title":{"626":{"position":[[34,13]]}},"content":{"39":{"position":[[152,11]]},"416":{"position":[[193,12]]},"446":{"position":[[399,10]]},"481":{"position":[[206,11]]},"610":{"position":[[1655,13]]},"612":{"position":[[1390,9]]},"626":{"position":[[30,12]]},"875":{"position":[[8619,9]]},"985":{"position":[[612,11]]},"988":{"position":[[5623,9]]}},"keywords":{}}],["reconnect.low",{"_index":2139,"title":{},"content":{"375":{"position":[[279,13]]}},"keywords":{}}],["reconnections.plan",{"_index":3528,"title":{},"content":{"590":{"position":[[791,18]]}},"keywords":{}}],["record",{"_index":1856,"title":{},"content":{"303":{"position":[[1437,7]]},"304":{"position":[[63,6]]},"350":{"position":[[40,6]]},"356":{"position":[[402,6]]},"360":{"position":[[38,6]]},"379":{"position":[[146,7]]},"412":{"position":[[9923,6]]},"943":{"position":[[240,7]]},"1009":{"position":[[288,7]]}},"keywords":{}}],["records.us",{"_index":3192,"title":{},"content":{"496":{"position":[[445,12]]}},"keywords":{}}],["recov",{"_index":2730,"title":{},"content":{"412":{"position":[[8263,7]]}},"keywords":{}}],["recreat",{"_index":2227,"title":{},"content":{"391":{"position":[[1098,8]]},"403":{"position":[[672,8]]},"1028":{"position":[[88,10]]}},"keywords":{}}],["recur",{"_index":5394,"title":{},"content":{"965":{"position":[[268,9]]}},"keywords":{}}],["red",{"_index":6524,"title":{},"content":{"1314":{"position":[[445,3],[542,3],[666,5]]}},"keywords":{}}],["red;">uncaught",{"_index":6184,"title":{},"content":{"1202":{"position":[[121,22]]}},"keywords":{}}],["reddit",{"_index":4590,"title":{},"content":{"779":{"position":[[38,6]]}},"keywords":{}}],["redefin",{"_index":1998,"title":{},"content":{"351":{"position":[[342,10]]},"510":{"position":[[97,8],[580,8]]}},"keywords":{}}],["redo",{"_index":5975,"title":{},"content":{"1110":{"position":[[64,5]]}},"keywords":{}}],["redraw",{"_index":2623,"title":{},"content":{"411":{"position":[[3030,6]]}},"keywords":{}}],["reduc",{"_index":718,"title":{"251":{"position":[[3,7]]},"477":{"position":[[3,7]]},"799":{"position":[[22,6]]}},"content":{"46":{"position":[[628,6]]},"57":{"position":[[406,6]]},"65":{"position":[[1364,6]]},"81":{"position":[[66,8]]},"87":{"position":[[129,6]]},"91":{"position":[[199,8]]},"93":{"position":[[29,7]]},"108":{"position":[[99,7]]},"111":{"position":[[99,7]]},"141":{"position":[[4,6],[162,8]]},"146":{"position":[[179,6]]},"169":{"position":[[161,6]]},"170":{"position":[[517,6]]},"173":{"position":[[760,7],[1775,7],[2042,7]]},"174":{"position":[[931,8],[1650,7],[1755,7],[2452,7]]},"197":{"position":[[107,7]]},"204":{"position":[[275,8]]},"216":{"position":[[156,6]]},"219":{"position":[[298,7]]},"223":{"position":[[333,8]]},"224":{"position":[[184,8]]},"234":{"position":[[94,7]]},"236":{"position":[[69,8],[186,7]]},"251":{"position":[[288,6]]},"263":{"position":[[298,6]]},"273":{"position":[[172,8]]},"281":{"position":[[406,7]]},"294":{"position":[[168,8]]},"301":{"position":[[633,6]]},"302":{"position":[[527,6]]},"311":{"position":[[195,8]]},"316":{"position":[[474,8]]},"323":{"position":[[423,6]]},"353":{"position":[[786,6]]},"354":{"position":[[1668,6]]},"361":{"position":[[416,8],[1111,7]]},"366":{"position":[[167,8]]},"369":{"position":[[872,7],[945,6]]},"375":{"position":[[305,8]]},"376":{"position":[[407,6]]},"392":{"position":[[5119,6]]},"396":{"position":[[288,8]]},"402":{"position":[[1283,7]]},"408":{"position":[[2564,6]]},"410":{"position":[[712,8]]},"411":{"position":[[1,7],[1519,7],[2454,6],[5135,8],[5339,8],[5678,8]]},"419":{"position":[[1477,6]]},"446":{"position":[[1394,8]]},"483":{"position":[[158,7],[851,6]]},"487":{"position":[[221,6]]},"490":{"position":[[456,6],[510,6]]},"495":{"position":[[490,6]]},"500":{"position":[[476,6]]},"508":{"position":[[54,7]]},"527":{"position":[[165,8]]},"528":{"position":[[38,6]]},"534":{"position":[[589,7]]},"550":{"position":[[316,6]]},"574":{"position":[[411,8]]},"582":{"position":[[636,8]]},"587":{"position":[[81,6]]},"588":{"position":[[74,8]]},"594":{"position":[[587,7]]},"610":{"position":[[682,7]]},"623":{"position":[[735,8]]},"630":{"position":[[316,8]]},"631":{"position":[[476,6]]},"632":{"position":[[218,8]]},"723":{"position":[[721,8]]},"780":{"position":[[308,8]]},"802":{"position":[[713,7]]},"901":{"position":[[428,7]]},"902":{"position":[[1,7],[807,8]]},"981":{"position":[[1659,7]]},"1009":{"position":[[627,7]]},"1124":{"position":[[107,6],[1750,6]]},"1132":{"position":[[1109,6]]},"1143":{"position":[[160,7],[305,7]]},"1211":{"position":[[495,6]]},"1237":{"position":[[223,6]]},"1316":{"position":[[1417,6]]}},"keywords":{}}],["reduct",{"_index":2490,"title":{},"content":{"402":{"position":[[2459,9]]}},"keywords":{}}],["redund",{"_index":1421,"title":{},"content":{"234":{"position":[[102,9]]},"736":{"position":[[533,9]]},"737":{"position":[[22,10]]}},"keywords":{}}],["redux",{"_index":1017,"title":{"785":{"position":[[19,6]]}},"content":{"96":{"position":[[125,5]]},"173":{"position":[[3086,5]]},"219":{"position":[[90,5]]},"411":{"position":[[1999,7]]},"478":{"position":[[93,6]]},"520":{"position":[[372,5]]},"785":{"position":[[296,5]]}},"keywords":{}}],["redux"",{"_index":1522,"title":{},"content":{"244":{"position":[[1437,11]]},"411":{"position":[[2619,11]]}},"keywords":{}}],["reestablish",{"_index":1296,"title":{},"content":{"191":{"position":[[210,14]]},"445":{"position":[[744,14]]},"516":{"position":[[274,14]]},"525":{"position":[[224,14]]},"981":{"position":[[1418,13]]}},"keywords":{}}],["ref",{"_index":3494,"title":{"808":{"position":[[12,4]]}},"content":{"580":{"position":[[308,4],[389,8]]},"590":{"position":[[284,5]]},"591":{"position":[[518,5]]},"601":{"position":[[386,4]]},"749":{"position":[[10108,3],[10190,3],[12069,5],[17060,3],[17183,3],[21028,4],[21206,4]]},"808":{"position":[[5,3],[262,4],[324,3],[646,4]]},"812":{"position":[[209,4]]},"813":{"position":[[169,4]]}},"keywords":{}}],["ref<any[]>",{"_index":3542,"title":{},"content":{"601":{"position":[[461,21]]}},"keywords":{}}],["refactor",{"_index":6014,"title":{},"content":{"1124":{"position":[[318,8]]}},"keywords":{}}],["refer",{"_index":1196,"title":{"812":{"position":[[20,10]]},"817":{"position":[[6,10]]}},"content":{"172":{"position":[[22,6]]},"188":{"position":[[2488,10]]},"387":{"position":[[186,10]]},"390":{"position":[[132,8]]},"563":{"position":[[776,9]]},"570":{"position":[[52,5]]},"571":{"position":[[75,6]]},"808":{"position":[[279,6],[450,9]]},"810":{"position":[[12,8]]},"817":{"position":[[46,10]]},"899":{"position":[[17,10]]},"1173":{"position":[[272,9]]},"1284":{"position":[[355,9]]}},"keywords":{}}],["referenc",{"_index":4702,"title":{},"content":{"817":{"position":[[131,10]]}},"keywords":{}}],["referenceerror",{"_index":2923,"title":{},"content":{"438":{"position":[[97,15]]},"440":{"position":[[293,15]]},"729":{"position":[[100,15]]},"1202":{"position":[[144,15]]}},"keywords":{}}],["referencerxserv",{"_index":4976,"title":{},"content":{"873":{"position":[[133,17]]}},"keywords":{}}],["referenti",{"_index":2012,"title":{},"content":{"353":{"position":[[557,11]]},"412":{"position":[[13762,11]]}},"keywords":{}}],["refetch",{"_index":2151,"title":{},"content":{"379":{"position":[[184,10]]}},"keywords":{}}],["refetch.cross",{"_index":3163,"title":{},"content":{"490":{"position":[[300,13]]}},"keywords":{}}],["refhuman",{"_index":4674,"title":{},"content":{"808":{"position":[[124,8]]}},"keywords":{}}],["refin",{"_index":3446,"title":{},"content":{"567":{"position":[[1070,6]]},"935":{"position":[[67,6]]}},"keywords":{}}],["reflect",{"_index":611,"title":{},"content":{"38":{"position":[[1146,9]]},"53":{"position":[[98,7]]},"90":{"position":[[199,7]]},"125":{"position":[[259,9]]},"160":{"position":[[173,9]]},"185":{"position":[[302,7]]},"323":{"position":[[108,7]]},"329":{"position":[[212,7]]},"411":{"position":[[4392,7]]},"475":{"position":[[211,7]]},"493":{"position":[[527,10]]},"562":{"position":[[979,7]]},"571":{"position":[[230,7]]},"589":{"position":[[168,9]]},"632":{"position":[[304,7]]},"634":{"position":[[146,7]]},"681":{"position":[[150,7]]},"723":{"position":[[1235,10]]}},"keywords":{}}],["refresh",{"_index":1927,"title":{},"content":{"326":{"position":[[254,7]]},"346":{"position":[[218,10]]},"360":{"position":[[360,7]]},"411":{"position":[[3054,8]]},"421":{"position":[[426,7]]},"490":{"position":[[156,8]]},"567":{"position":[[924,7]]},"571":{"position":[[1041,7]]},"575":{"position":[[652,7]]}},"keywords":{}}],["refs/react",{"_index":3489,"title":{},"content":{"580":{"position":[[153,13]]}},"keywords":{}}],["refus",{"_index":1862,"title":{},"content":{"304":{"position":[[347,7]]},"685":{"position":[[565,6]]},"1207":{"position":[[661,6]]}},"keywords":{}}],["regardless",{"_index":1003,"title":{},"content":{"88":{"position":[[63,10]]},"183":{"position":[[329,10]]},"206":{"position":[[246,10]]},"516":{"position":[[214,10]]},"632":{"position":[[2794,10]]}},"keywords":{}}],["regex",{"_index":2568,"title":{"1110":{"position":[[0,6]]}},"content":{"408":{"position":[[4804,5]]},"749":{"position":[[147,5],[1784,8],[2948,6],[16864,5]]},"796":{"position":[[633,6],[879,7],[916,5]]},"935":{"position":[[225,6]]},"1065":{"position":[[481,5],[507,6],[821,7],[1319,7]]},"1067":{"position":[[1242,6],[1324,7],[2003,7],[2147,7]]},"1072":{"position":[[2543,5],[2682,7],[2740,5],[2801,5]]},"1084":{"position":[[329,5]]},"1110":{"position":[[1,6]]},"1132":{"position":[[760,6]]}},"keywords":{}}],["regexp",{"_index":4173,"title":{},"content":{"749":{"position":[[2999,6],[3032,6]]},"1065":{"position":[[570,6],[655,6],[730,6]]}},"keywords":{}}],["regexqueri",{"_index":4641,"title":{},"content":{"796":{"position":[[844,10]]}},"keywords":{}}],["region",{"_index":6011,"title":{},"content":{"1123":{"position":[[114,7],[247,8]]}},"keywords":{}}],["registri",{"_index":1664,"title":{},"content":{"285":{"position":[[205,9]]}},"keywords":{}}],["regul",{"_index":3334,"title":{},"content":{"550":{"position":[[397,11]]}},"keywords":{}}],["regular",{"_index":3550,"title":{},"content":{"610":{"position":[[293,7]]},"1072":{"position":[[2556,7]]}},"keywords":{}}],["regularli",{"_index":3784,"title":{},"content":{"660":{"position":[[168,9]]},"815":{"position":[[159,10]]},"1174":{"position":[[154,9]]}},"keywords":{}}],["reimplement",{"_index":57,"title":{},"content":{"4":{"position":[[3,16]]}},"keywords":{}}],["reindex",{"_index":4041,"title":{},"content":{"723":{"position":[[1306,11],[1631,10],[1798,7]]}},"keywords":{}}],["rej",{"_index":3001,"title":{},"content":{"459":{"position":[[860,4]]},"1294":{"position":[[1154,4]]}},"keywords":{}}],["rej(err",{"_index":6439,"title":{},"content":{"1294":{"position":[[1544,9]]}},"keywords":{}}],["rej(ev",{"_index":3005,"title":{},"content":{"459":{"position":[[965,11]]}},"keywords":{}}],["reject",{"_index":3014,"title":{},"content":{"461":{"position":[[337,6]]},"987":{"position":[[429,6]]}},"keywords":{}}],["rejecterror",{"_index":842,"title":{},"content":{"55":{"position":[[585,13]]}},"keywords":{}}],["rel",{"_index":896,"title":{},"content":{"63":{"position":[[144,10]]},"300":{"position":[[33,8]]},"412":{"position":[[2028,10]]},"453":{"position":[[44,10]]}},"keywords":{}}],["relat",{"_index":1021,"title":{"278":{"position":[[67,10]]},"694":{"position":[[0,8]]},"705":{"position":[[12,10]]},"787":{"position":[[12,10]]},"1259":{"position":[[7,10]]},"1283":{"position":[[0,8]]},"1315":{"position":[[0,10]]},"1319":{"position":[[18,10]]}},"content":{"96":{"position":[[254,7]]},"104":{"position":[[205,7]]},"202":{"position":[[196,10]]},"276":{"position":[[135,10]]},"279":{"position":[[356,10]]},"282":{"position":[[260,10]]},"352":{"position":[[388,10]]},"353":{"position":[[426,10]]},"354":{"position":[[387,10],[710,10],[984,10],[1380,10],[1437,10]]},"362":{"position":[[272,10],[472,10]]},"364":{"position":[[725,7]]},"372":{"position":[[172,10]]},"412":{"position":[[13402,10],[13717,10],[14078,10],[14294,10],[14543,10]]},"439":{"position":[[146,7]]},"661":{"position":[[23,10]]},"705":{"position":[[268,10],[356,9],[947,10]]},"711":{"position":[[23,10]]},"749":{"position":[[21091,7]]},"808":{"position":[[151,7]]},"836":{"position":[[25,10]]},"1315":{"position":[[30,10]]},"1316":{"position":[[3714,10]]},"1318":{"position":[[974,10]]},"1319":{"position":[[356,10],[604,10]]},"1323":{"position":[[17,10]]},"1324":{"position":[[269,10],[630,10]]}},"keywords":{}}],["relationship",{"_index":2004,"title":{},"content":{"353":{"position":[[92,14]]},"354":{"position":[[205,14],[302,13]]},"372":{"position":[[298,13]]},"427":{"position":[[593,13]]},"808":{"position":[[95,14]]},"863":{"position":[[835,12],[942,12]]},"1132":{"position":[[722,14]]}},"keywords":{}}],["relax",{"_index":2524,"title":{"1297":{"position":[[0,7]]}},"content":{"408":{"position":[[165,7]]},"1297":{"position":[[52,7],[410,7]]}},"keywords":{}}],["releas",{"_index":1133,"title":{},"content":{"143":{"position":[[267,8]]},"726":{"position":[[23,7]]},"793":{"position":[[1400,8]]},"1123":{"position":[[148,7]]}},"keywords":{}}],["relev",{"_index":1931,"title":{},"content":{"329":{"position":[[76,8]]},"394":{"position":[[1244,10]]},"398":{"position":[[596,8]]},"412":{"position":[[7090,8]]},"468":{"position":[[573,8]]},"518":{"position":[[225,8]]},"626":{"position":[[178,8]]},"680":{"position":[[306,8]]},"709":{"position":[[1053,9]]},"723":{"position":[[331,8],[2353,9]]},"783":{"position":[[675,9]]},"1007":{"position":[[991,8]]},"1072":{"position":[[2274,8]]},"1078":{"position":[[766,8]]},"1193":{"position":[[171,8]]},"1214":{"position":[[403,8]]},"1296":{"position":[[206,8]]},"1319":{"position":[[404,8]]}},"keywords":{}}],["reli",{"_index":664,"title":{},"content":{"42":{"position":[[320,7]]},"91":{"position":[[111,7]]},"99":{"position":[[25,4]]},"173":{"position":[[2006,7],[3032,7]]},"201":{"position":[[42,6]]},"204":{"position":[[10,4]]},"216":{"position":[[295,4]]},"220":{"position":[[100,7]]},"226":{"position":[[25,4]]},"254":{"position":[[477,4]]},"298":{"position":[[268,4]]},"305":{"position":[[376,4]]},"320":{"position":[[190,4]]},"321":{"position":[[305,7]]},"346":{"position":[[235,4]]},"357":{"position":[[354,4]]},"382":{"position":[[13,7]]},"411":{"position":[[1951,4]]},"412":{"position":[[1962,6],[14110,6]]},"414":{"position":[[368,4]]},"418":{"position":[[225,4]]},"424":{"position":[[455,7]]},"427":{"position":[[1072,4]]},"430":{"position":[[208,6]]},"444":{"position":[[640,4]]},"446":{"position":[[83,4]]},"476":{"position":[[11,4]]},"497":{"position":[[813,4]]},"563":{"position":[[861,4]]},"569":{"position":[[314,6]]},"618":{"position":[[529,4]]},"621":{"position":[[398,6]]},"660":{"position":[[276,4],[535,4]]},"698":{"position":[[1601,7]]},"749":{"position":[[13430,6]]},"828":{"position":[[136,4]]},"830":{"position":[[114,4]]},"839":{"position":[[852,4]]},"854":{"position":[[1366,4]]},"1072":{"position":[[1665,6]]},"1147":{"position":[[227,4]]},"1301":{"position":[[343,4]]},"1305":{"position":[[147,4],[390,6]]},"1316":{"position":[[1887,4]]}},"keywords":{}}],["reliability.opf",{"_index":1105,"title":{},"content":{"131":{"position":[[339,16]]}},"keywords":{}}],["reliabl",{"_index":705,"title":{"386":{"position":[[7,12]]},"1316":{"position":[[0,8]]}},"content":{"46":{"position":[[121,8]]},"170":{"position":[[617,8]]},"178":{"position":[[83,8]]},"270":{"position":[[226,8]]},"281":{"position":[[448,12]]},"287":{"position":[[528,8]]},"289":{"position":[[273,8]]},"380":{"position":[[389,11]]},"412":{"position":[[8899,10]]},"432":{"position":[[32,8]]},"483":{"position":[[1210,12]]},"501":{"position":[[77,8]]},"504":{"position":[[811,8]]},"613":{"position":[[260,8]]},"618":{"position":[[583,8]]},"624":{"position":[[1234,8]]},"630":{"position":[[985,9]]},"705":{"position":[[991,8],[1430,8]]},"723":{"position":[[1864,8],[2767,8]]},"836":{"position":[[1189,8]]},"906":{"position":[[354,8]]},"1300":{"position":[[1027,9]]},"1316":{"position":[[112,9],[141,8],[312,8]]}},"keywords":{}}],["relianc",{"_index":2639,"title":{},"content":{"411":{"position":[[5144,8]]},"582":{"position":[[645,8]]},"624":{"position":[[1032,8]]},"902":{"position":[[820,8]]}},"keywords":{}}],["reliant",{"_index":2027,"title":{},"content":{"354":{"position":[[1086,7]]}},"keywords":{}}],["reload",{"_index":2062,"title":{},"content":{"358":{"position":[[498,6]]},"403":{"position":[[251,8]]},"410":{"position":[[1574,8]]},"421":{"position":[[101,8]]},"436":{"position":[[215,7]]},"463":{"position":[[1307,9]]},"467":{"position":[[622,8]]},"740":{"position":[[655,6]]},"749":{"position":[[5956,6],[5968,7],[5993,9]]},"879":{"position":[[580,6]]},"958":{"position":[[8,6],[182,8]]},"988":{"position":[[407,7]]},"990":{"position":[[1168,7],[1391,6]]},"1301":{"position":[[1601,6]]}},"keywords":{}}],["remain",{"_index":914,"title":{},"content":{"65":{"position":[[524,7],[1763,7]]},"123":{"position":[[244,7]]},"135":{"position":[[152,7]]},"139":{"position":[[223,7]]},"167":{"position":[[184,7]]},"173":{"position":[[1299,7],[1423,7]]},"203":{"position":[[305,7]]},"218":{"position":[[260,7]]},"233":{"position":[[262,7]]},"248":{"position":[[141,7]]},"249":{"position":[[393,7]]},"273":{"position":[[265,7]]},"279":{"position":[[502,7]]},"280":{"position":[[232,6]]},"288":{"position":[[126,7]]},"291":{"position":[[257,7]]},"292":{"position":[[178,7]]},"293":{"position":[[348,7]]},"294":{"position":[[276,7]]},"305":{"position":[[20,6]]},"314":{"position":[[1121,7]]},"346":{"position":[[723,7]]},"353":{"position":[[37,7]]},"354":{"position":[[1530,7]]},"366":{"position":[[263,6]]},"369":{"position":[[628,7]]},"375":{"position":[[103,6]]},"385":{"position":[[250,6]]},"412":{"position":[[2020,7]]},"416":{"position":[[399,6]]},"421":{"position":[[1000,6]]},"424":{"position":[[278,7]]},"429":{"position":[[442,7]]},"482":{"position":[[1118,7]]},"502":{"position":[[420,6]]},"510":{"position":[[487,7],[671,6]]},"525":{"position":[[275,7]]},"526":{"position":[[155,7]]},"530":{"position":[[613,7]]},"534":{"position":[[243,7]]},"550":{"position":[[375,6]]},"582":{"position":[[85,7]]},"594":{"position":[[241,7]]},"610":{"position":[[369,7]]},"632":{"position":[[2763,7]]},"642":{"position":[[200,7]]},"723":{"position":[[1440,7]]},"801":{"position":[[459,7]]},"839":{"position":[[1137,6]]},"860":{"position":[[387,7]]},"902":{"position":[[638,6]]},"912":{"position":[[422,7]]},"1007":{"position":[[1070,6]]},"1157":{"position":[[415,7]]}},"keywords":{}}],["rememb",{"_index":3058,"title":{},"content":{"464":{"position":[[1273,8]]},"468":{"position":[[33,8]]},"559":{"position":[[1523,9]]},"620":{"position":[[483,8]]},"626":{"position":[[467,8]]},"1052":{"position":[[83,8]]},"1316":{"position":[[1587,8]]}},"keywords":{}}],["remot",{"_index":652,"title":{"1217":{"position":[[0,6]]}},"content":{"41":{"position":[[198,6]]},"57":{"position":[[101,6]]},"173":{"position":[[1741,6]]},"201":{"position":[[422,6]]},"208":{"position":[[78,6]]},"216":{"position":[[303,6]]},"248":{"position":[[295,6]]},"322":{"position":[[256,6]]},"360":{"position":[[402,6],[506,6]]},"365":{"position":[[1302,6],[1581,6]]},"375":{"position":[[329,6]]},"407":{"position":[[90,6]]},"410":{"position":[[590,6],[1160,6]]},"411":{"position":[[2374,6],[2930,6]]},"412":{"position":[[4741,7]]},"444":{"position":[[648,6]]},"474":{"position":[[24,6]]},"481":{"position":[[75,6]]},"491":{"position":[[98,6]]},"516":{"position":[[334,6]]},"544":{"position":[[122,6]]},"562":{"position":[[1729,6]]},"565":{"position":[[224,6]]},"566":{"position":[[1154,6]]},"582":{"position":[[357,6],[392,6]]},"604":{"position":[[122,6]]},"632":{"position":[[55,6],[1736,6]]},"693":{"position":[[178,6]]},"723":{"position":[[768,6]]},"737":{"position":[[138,6]]},"749":{"position":[[23618,6]]},"775":{"position":[[272,6],[632,6],[702,6]]},"778":{"position":[[244,6]]},"793":{"position":[[465,6]]},"861":{"position":[[1983,6]]},"886":{"position":[[1489,6]]},"986":{"position":[[984,6],[1330,6],[1428,6]]},"988":{"position":[[441,6],[772,6],[2366,6],[2474,6],[3246,7],[3447,6],[3668,6],[3912,7]]},"990":{"position":[[32,6],[190,6],[260,6]]},"993":{"position":[[135,6],[256,6]]},"1002":{"position":[[113,7],[853,6]]},"1068":{"position":[[327,8]]},"1147":{"position":[[39,6]]},"1218":{"position":[[5,6],[342,8],[525,6],[609,6],[754,8]]},"1219":{"position":[[5,6],[65,6],[403,6],[843,6]]},"1220":{"position":[[5,6],[77,6],[103,6]]},"1246":{"position":[[659,7],[672,6],[706,6],[787,6],[2204,6]]},"1307":{"position":[[388,6]]},"1309":{"position":[[667,7]]},"1315":{"position":[[802,6]]}},"keywords":{}}],["remote.no",{"_index":5504,"title":{},"content":{"995":{"position":[[116,9]]}},"keywords":{}}],["remotedatabasenam",{"_index":4859,"title":{},"content":{"851":{"position":[[291,18],[362,19]]}},"keywords":{}}],["remotemessagechannel",{"_index":6245,"title":{},"content":{"1218":{"position":[[245,21]]}},"keywords":{}}],["remov",{"_index":468,"title":{"769":{"position":[[0,7]]},"929":{"position":[[0,9]]},"954":{"position":[[0,9]]},"977":{"position":[[0,9]]},"999":{"position":[[0,9]]},"1028":{"position":[[0,9]]},"1047":{"position":[[0,9]]},"1048":{"position":[[0,6]]},"1062":{"position":[[0,8]]}},"content":{"28":{"position":[[780,7]]},"46":{"position":[[313,8],[583,6]]},"302":{"position":[[604,7],[990,6]]},"303":{"position":[[1449,7]]},"305":{"position":[[189,6],[498,6]]},"346":{"position":[[508,8]]},"412":{"position":[[8617,6]]},"421":{"position":[[753,8]]},"425":{"position":[[415,8]]},"455":{"position":[[268,7]]},"475":{"position":[[244,7]]},"489":{"position":[[534,7]]},"570":{"position":[[469,7]]},"653":{"position":[[1116,6]]},"746":{"position":[[846,7]]},"749":{"position":[[8770,7],[9382,6]]},"751":{"position":[[435,7],[1831,7]]},"754":{"position":[[94,7]]},"769":{"position":[[4,6],[47,8],[585,6]]},"829":{"position":[[3898,7]]},"861":{"position":[[1802,7]]},"887":{"position":[[479,6]]},"903":{"position":[[199,8]]},"921":{"position":[[126,7]]},"929":{"position":[[1,7]]},"941":{"position":[[235,7]]},"945":{"position":[[18,6],[58,7],[423,8]]},"954":{"position":[[1,7],[74,7],[187,7]]},"955":{"position":[[1,7]]},"956":{"position":[[81,8],[170,7],[358,11]]},"958":{"position":[[477,6],[625,6]]},"976":{"position":[[195,6]]},"977":{"position":[[171,8],[329,6],[442,6]]},"979":{"position":[[50,7]]},"999":{"position":[[154,9]]},"1018":{"position":[[302,6]]},"1022":{"position":[[616,6]]},"1023":{"position":[[272,6]]},"1028":{"position":[[29,7]]},"1043":{"position":[[156,6]]},"1044":{"position":[[530,6]]},"1047":{"position":[[6,7]]},"1048":{"position":[[57,6],[424,8],[530,8]]},"1062":{"position":[[209,6]]},"1090":{"position":[[1291,6]]},"1151":{"position":[[520,6]]},"1162":{"position":[[986,7],[1035,7]]},"1178":{"position":[[519,6]]},"1198":{"position":[[1847,8]]},"1320":{"position":[[664,8]]}},"keywords":{}}],["removeddoc",{"_index":5753,"title":{},"content":{"1062":{"position":[[256,11]]}},"keywords":{}}],["removeitem",{"_index":2869,"title":{},"content":{"425":{"position":[[185,11],[435,10]]},"451":{"position":[[212,10]]}},"keywords":{}}],["removeolddocu",{"_index":1816,"title":{},"content":{"302":{"position":[[1030,21]]}},"keywords":{}}],["removerxdatabas",{"_index":5420,"title":{},"content":{"977":{"position":[[202,19],[359,18],[548,16]]}},"keywords":{}}],["removerxdatabase('mydatabasenam",{"_index":5422,"title":{},"content":{"977":{"position":[[580,34]]},"1085":{"position":[[3606,34]]}},"keywords":{}}],["renam",{"_index":1992,"title":{"868":{"position":[[41,7]]}},"content":{"351":{"position":[[111,6]]},"636":{"position":[[221,6]]},"868":{"position":[[41,7]]},"977":{"position":[[293,8]]}},"keywords":{}}],["render",{"_index":983,"title":{},"content":{"78":{"position":[[66,10]]},"217":{"position":[[213,6]]},"234":{"position":[[203,8]]},"335":{"position":[[940,7]]},"373":{"position":[[651,6]]},"384":{"position":[[172,9]]},"385":{"position":[[321,8]]},"451":{"position":[[691,10]]},"494":{"position":[[639,7]]},"524":{"position":[[879,8]]},"634":{"position":[[339,6]]},"693":{"position":[[111,8],[219,8],[483,8],[508,8]]},"703":{"position":[[1543,6]]},"707":{"position":[[282,8]]},"708":{"position":[[625,8]]},"709":{"position":[[58,8],[437,8],[1007,9],[1267,8]]},"710":{"position":[[1060,8],[1171,8],[2204,8],[2425,9]]},"711":{"position":[[293,8],[395,8],[1455,8],[1645,8]]},"801":{"position":[[504,6]]},"828":{"position":[[106,6],[293,8]]},"829":{"position":[[2071,7],[2252,6],[2702,8],[2731,8],[2900,10],[3661,7]]},"1164":{"position":[[1449,9]]},"1246":{"position":[[2137,8],[2245,8]]}},"keywords":{}}],["renderer.j",{"_index":3932,"title":{},"content":{"693":{"position":[[1004,11]]}},"keywords":{}}],["renown",{"_index":1655,"title":{},"content":{"281":{"position":[[50,8]]},"574":{"position":[[8,8]]}},"keywords":{}}],["reopen",{"_index":6138,"title":{},"content":{"1174":{"position":[[671,7]]}},"keywords":{}}],["rep",{"_index":5574,"title":{},"content":{"1007":{"position":[[1842,3],[1886,5]]}},"keywords":{}}],["rep.cancel",{"_index":5575,"title":{},"content":{"1007":{"position":[[1894,13]]}},"keywords":{}}],["repeat",{"_index":1199,"title":{},"content":{"173":{"position":[[781,8]]},"251":{"position":[[111,8]]},"299":{"position":[[562,8]]},"411":{"position":[[225,8]]},"610":{"position":[[618,8]]},"639":{"position":[[66,8]]}},"keywords":{}}],["repeatedli",{"_index":908,"title":{},"content":{"65":{"position":[[330,10]]},"321":{"position":[[273,10]]},"411":{"position":[[3896,10]]},"610":{"position":[[249,10]]},"624":{"position":[[1450,10]]}},"keywords":{}}],["repetit",{"_index":1784,"title":{},"content":{"301":{"position":[[172,10]]},"311":{"position":[[10,10]]},"345":{"position":[[33,10]]}},"keywords":{}}],["replac",{"_index":571,"title":{"815":{"position":[[6,11]]}},"content":{"36":{"position":[[157,11]]},"141":{"position":[[121,8]]},"260":{"position":[[273,7]]},"313":{"position":[[142,7]]},"314":{"position":[[1043,7]]},"412":{"position":[[1479,8]]},"614":{"position":[[1008,11]]},"639":{"position":[[117,8]]},"731":{"position":[[217,7]]},"815":{"position":[[49,11]]},"818":{"position":[[9,11]]},"838":{"position":[[1658,7]]},"934":{"position":[[715,11]]},"1154":{"position":[[148,7]]}},"keywords":{}}],["replic",{"_index":184,"title":{"82":{"position":[[0,11]]},"89":{"position":[[25,11]]},"113":{"position":[[0,11]]},"123":{"position":[[5,12]]},"158":{"position":[[5,12]]},"165":{"position":[[5,11]]},"184":{"position":[[5,12]]},"192":{"position":[[5,11]]},"210":{"position":[[15,11]]},"223":{"position":[[11,11]]},"238":{"position":[[0,11]]},"261":{"position":[[28,12]]},"279":{"position":[[22,12]]},"288":{"position":[[0,11]]},"289":{"position":[[5,11]]},"293":{"position":[[14,11]]},"328":{"position":[[5,12]]},"381":{"position":[[14,12]]},"491":{"position":[[0,11]]},"517":{"position":[[5,12]]},"570":{"position":[[34,12]]},"685":{"position":[[11,12]]},"756":{"position":[[14,12]]},"843":{"position":[[0,11]]},"853":{"position":[[0,11]]},"857":{"position":[[10,11]]},"858":{"position":[[9,12]]},"859":{"position":[[14,11]]},"862":{"position":[[31,12]]},"863":{"position":[[28,11]]},"864":{"position":[[0,11]]},"868":{"position":[[16,11],[52,11]]},"869":{"position":[[8,11]]},"874":{"position":[[5,11]]},"877":{"position":[[12,11]]},"883":{"position":[[0,11]]},"891":{"position":[[10,11]]},"895":{"position":[[9,11]]},"900":{"position":[[11,11]]},"903":{"position":[[26,11]]},"904":{"position":[[27,11]]},"905":{"position":[[5,13]]},"908":{"position":[[29,12]]},"912":{"position":[[8,10]]},"1004":{"position":[[11,12]]},"1005":{"position":[[10,12]]},"1007":{"position":[[31,13]]},"1022":{"position":[[39,12]]},"1094":{"position":[[0,9]]},"1101":{"position":[[0,11]]},"1121":{"position":[[8,12]]},"1149":{"position":[[16,12]]},"1165":{"position":[[0,11]]},"1231":{"position":[[0,11]]},"1308":{"position":[[0,11]]},"1316":{"position":[[9,12]]}},"content":{"13":{"position":[[24,12]]},"14":{"position":[[541,10],[1090,9],[1178,9],[1225,11]]},"15":{"position":[[195,12],[390,9]]},"16":{"position":[[137,11],[487,11]]},"18":{"position":[[389,12]]},"19":{"position":[[132,9],[519,12]]},"22":{"position":[[342,11]]},"23":{"position":[[105,11],[159,12],[197,11],[379,11]]},"24":{"position":[[282,9]]},"25":{"position":[[230,11]]},"26":{"position":[[229,9]]},"29":{"position":[[83,11],[137,9]]},"35":{"position":[[451,11]]},"36":{"position":[[322,11]]},"40":{"position":[[36,10],[649,11]]},"42":{"position":[[146,11]]},"46":{"position":[[423,11]]},"57":{"position":[[60,12],[137,12]]},"82":{"position":[[8,11]]},"89":{"position":[[32,11],[152,11]]},"109":{"position":[[82,11]]},"113":{"position":[[21,11]]},"120":{"position":[[295,12]]},"123":{"position":[[41,11]]},"132":{"position":[[6,11],[193,9]]},"135":{"position":[[106,10]]},"147":{"position":[[226,11]]},"158":{"position":[[37,11],[90,11]]},"164":{"position":[[293,11]]},"165":{"position":[[26,11],[154,11],[306,11]]},"170":{"position":[[231,11]]},"173":{"position":[[314,11],[405,11],[528,11]]},"174":{"position":[[2942,11]]},"184":{"position":[[6,11],[98,11],[207,11]]},"186":{"position":[[324,11]]},"192":{"position":[[15,11],[197,12],[218,12],[298,11]]},"208":{"position":[[94,11]]},"209":{"position":[[610,11]]},"211":{"position":[[554,11]]},"212":{"position":[[601,11]]},"223":{"position":[[1,11],[190,11],[239,11],[415,12]]},"238":{"position":[[17,11]]},"248":{"position":[[233,11]]},"249":{"position":[[423,11]]},"255":{"position":[[6,11],[961,11],[1718,12]]},"260":{"position":[[7,11],[132,11]]},"261":{"position":[[84,11],[1021,11]]},"262":{"position":[[589,11]]},"263":{"position":[[596,11]]},"266":{"position":[[928,10]]},"279":{"position":[[126,11],[411,11]]},"288":{"position":[[16,11],[223,11]]},"289":{"position":[[24,11],[301,12],[328,11],[456,12],[501,11],[714,12],[991,12],[1084,11],[1120,12],[1426,11],[1556,12],[1588,11],[1683,11],[1900,12]]},"293":{"position":[[163,11],[297,11]]},"312":{"position":[[66,11]]},"316":{"position":[[555,12]]},"323":{"position":[[321,12]]},"328":{"position":[[30,11],[79,12]]},"360":{"position":[[455,11]]},"362":{"position":[[853,12]]},"381":{"position":[[50,12],[154,12],[291,9],[397,11]]},"386":{"position":[[154,11]]},"410":{"position":[[779,10]]},"411":{"position":[[1307,11]]},"412":{"position":[[1779,11],[1879,11],[3696,10],[12490,9],[12569,11],[13698,11],[14504,11],[14841,11]]},"438":{"position":[[253,10]]},"439":{"position":[[463,9]]},"476":{"position":[[177,11]]},"477":{"position":[[148,9]]},"478":{"position":[[163,9]]},"479":{"position":[[201,11]]},"480":{"position":[[1005,9]]},"481":{"position":[[272,11]]},"483":{"position":[[252,11]]},"487":{"position":[[343,11]]},"490":{"position":[[113,11]]},"491":{"position":[[138,11],[1256,11]]},"495":{"position":[[667,11]]},"504":{"position":[[691,11],[718,11],[765,11],[878,12],[953,11],[1074,12],[1287,12],[1318,12]]},"510":{"position":[[290,11]]},"513":{"position":[[339,12]]},"517":{"position":[[6,11],[151,11]]},"525":{"position":[[415,11],[575,12],[596,12]]},"534":{"position":[[445,11]]},"544":{"position":[[81,12]]},"556":{"position":[[1737,11]]},"565":{"position":[[76,11]]},"566":{"position":[[1139,11]]},"570":{"position":[[86,12],[678,11],[928,11]]},"571":{"position":[[477,10]]},"575":{"position":[[429,12]]},"576":{"position":[[264,12]]},"582":{"position":[[290,11]]},"594":{"position":[[443,11]]},"604":{"position":[[81,12]]},"617":{"position":[[2283,11]]},"626":{"position":[[984,11]]},"628":{"position":[[124,9]]},"630":{"position":[[814,11]]},"631":{"position":[[84,11]]},"632":{"position":[[8,11],[403,11],[584,11],[637,11],[841,11],[2044,11],[2094,12],[2611,9],[2687,11]]},"634":{"position":[[469,12]]},"639":{"position":[[208,12]]},"644":{"position":[[79,11]]},"653":{"position":[[1035,12],[1064,11],[1181,11]]},"659":{"position":[[878,11]]},"661":{"position":[[1589,11]]},"683":{"position":[[417,11]]},"685":{"position":[[98,11],[138,11],[165,11],[196,12],[237,10]]},"686":{"position":[[421,9]]},"690":{"position":[[445,12]]},"697":{"position":[[394,9]]},"698":{"position":[[124,9],[1667,9],[1734,11],[3031,10]]},"699":{"position":[[8,9]]},"700":{"position":[[256,10],[488,10],[599,11],[654,11],[969,10],[1099,11]]},"701":{"position":[[186,10],[398,9],[903,10],[1016,9],[1130,11],[1187,12]]},"705":{"position":[[638,11],[760,10],[873,10],[1084,11],[1138,11],[1250,11]]},"711":{"position":[[2037,11],[2277,12]]},"714":{"position":[[1037,9]]},"740":{"position":[[283,9]]},"743":{"position":[[275,10]]},"746":{"position":[[627,11]]},"749":{"position":[[448,11],[14572,12],[14842,11],[14998,11],[15039,11],[16414,11],[16680,11],[22361,12],[22468,12]]},"756":{"position":[[90,11],[233,11],[358,11]]},"757":{"position":[[74,11]]},"775":{"position":[[239,11],[294,11],[365,10]]},"781":{"position":[[609,11]]},"784":{"position":[[436,9],[497,11],[553,11]]},"793":{"position":[[610,11],[642,11],[663,11],[683,11],[705,11],[725,11],[748,11],[770,11],[790,11],[811,11],[828,11],[849,11]]},"829":{"position":[[267,12],[851,12]]},"836":{"position":[[1796,12],[2435,12]]},"837":{"position":[[161,11],[418,9],[883,9],[1629,11],[1655,13]]},"838":{"position":[[651,12],[759,11]]},"840":{"position":[[90,10],[542,9]]},"841":{"position":[[703,11]]},"844":{"position":[[133,11]]},"845":{"position":[[22,11],[66,11],[115,11]]},"846":{"position":[[11,11],[197,13],[338,12],[374,12],[1570,11]]},"847":{"position":[[30,12],[111,11]]},"848":{"position":[[714,13],[980,11],[1349,13]]},"852":{"position":[[232,13]]},"854":{"position":[[486,12],[509,11],[847,11],[939,11],[1041,11],[1678,12]]},"855":{"position":[[81,9],[158,11]]},"856":{"position":[[135,9]]},"858":{"position":[[19,9]]},"860":{"position":[[497,11],[630,12]]},"861":{"position":[[1724,10],[2155,9]]},"862":{"position":[[104,12],[1096,12],[1190,13],[1482,11],[1570,11]]},"863":{"position":[[200,11]]},"865":{"position":[[9,11]]},"866":{"position":[[65,12],[91,12],[204,11],[220,11],[263,9],[314,11],[508,11],[595,11]]},"867":{"position":[[81,9],[153,11]]},"868":{"position":[[16,11],[52,11]]},"870":{"position":[[9,11]]},"871":{"position":[[263,11],[552,11]]},"872":{"position":[[2163,11],[2195,11],[2675,11],[2961,10],[3698,9],[3720,11],[4336,11]]},"875":{"position":[[13,11],[80,11],[111,11],[174,11],[259,11],[508,13],[1387,11],[2960,11],[6059,11],[6580,11],[6664,11],[6731,11],[8715,11],[8832,11],[9387,11]]},"876":{"position":[[61,11]]},"878":{"position":[[5,11],[96,11],[366,13]]},"879":{"position":[[92,11]]},"881":{"position":[[168,11],[262,11]]},"882":{"position":[[357,12]]},"884":{"position":[[28,12],[79,11]]},"885":{"position":[[263,12]]},"886":{"position":[[6,12],[33,12],[119,11],[902,12],[1657,11],[2063,12],[2090,12],[2603,12],[3253,12],[3790,12]]},"890":{"position":[[272,11],[1017,11]]},"893":{"position":[[5,11],[77,10],[185,11],[277,11],[452,11]]},"896":{"position":[[116,11]]},"897":{"position":[[323,11],[429,9]]},"898":{"position":[[3127,12],[3204,12],[3308,11],[4488,11]]},"899":{"position":[[1,11]]},"902":{"position":[[713,9]]},"903":{"position":[[143,11],[486,11],[609,11]]},"904":{"position":[[107,10],[324,12],[1285,11],[1420,12],[1446,11],[1843,11],[1977,9],[2237,12],[3151,11],[3183,11],[3294,11],[3548,12],[3595,12]]},"905":{"position":[[12,11],[222,11]]},"906":{"position":[[9,11],[50,11]]},"907":{"position":[[16,11],[33,9],[133,11]]},"908":{"position":[[302,10]]},"912":{"position":[[9,10],[166,11],[603,10]]},"955":{"position":[[116,13]]},"976":{"position":[[92,13]]},"981":{"position":[[45,11],[1623,11]]},"982":{"position":[[30,11]]},"983":{"position":[[175,12],[1091,11]]},"984":{"position":[[18,12],[626,11]]},"985":{"position":[[382,11]]},"986":{"position":[[12,11],[497,10],[1113,11],[1530,11]]},"987":{"position":[[157,12]]},"988":{"position":[[19,11],[320,11],[388,11],[424,9],[565,11],[659,12],[702,11],[1187,11],[1385,12],[1506,11],[2335,9],[3437,9],[3651,9],[4023,10],[4069,11],[4919,12],[5984,11]]},"989":{"position":[[29,11],[211,11],[461,12]]},"990":{"position":[[675,11],[758,12]]},"991":{"position":[[87,12]]},"992":{"position":[[110,12]]},"993":{"position":[[16,12],[499,11],[634,11]]},"994":{"position":[[58,11],[95,11],[215,11],[246,11]]},"995":{"position":[[96,10],[126,11],[275,12],[357,11],[920,12],[1014,11],[1480,11]]},"996":{"position":[[35,11]]},"997":{"position":[[13,12]]},"998":{"position":[[18,12],[35,11]]},"999":{"position":[[13,11],[57,11],[108,11],[185,11],[267,12]]},"1000":{"position":[[21,11],[71,11],[100,11]]},"1001":{"position":[[21,11]]},"1002":{"position":[[22,11],[182,11],[434,11],[623,11],[1087,11],[1277,11]]},"1003":{"position":[[9,11],[218,11],[324,11]]},"1004":{"position":[[12,11],[85,11],[134,11]]},"1005":{"position":[[10,11],[62,12]]},"1007":{"position":[[221,11],[285,11],[434,11],[726,11],[849,12],[912,11],[2024,11]]},"1008":{"position":[[32,11],[80,11]]},"1009":{"position":[[192,11],[337,11],[498,11],[576,11],[793,11],[1004,11]]},"1010":{"position":[[29,12],[93,11]]},"1022":{"position":[[23,9],[147,9]]},"1048":{"position":[[134,11]]},"1090":{"position":[[321,11]]},"1092":{"position":[[226,11],[292,9]]},"1093":{"position":[[202,11],[466,11]]},"1094":{"position":[[216,11],[377,11]]},"1100":{"position":[[234,11]]},"1101":{"position":[[5,11],[63,9],[138,11],[373,11],[581,11],[739,13]]},"1105":{"position":[[108,9]]},"1107":{"position":[[348,11]]},"1121":{"position":[[97,11],[198,11],[228,11],[670,11]]},"1123":{"position":[[61,10],[634,12]]},"1124":{"position":[[1473,9],[1602,11],[1861,9],[1963,11],[2120,11],[2211,11]]},"1146":{"position":[[70,11]]},"1147":{"position":[[284,12],[535,12]]},"1149":{"position":[[104,11],[138,11],[158,9],[197,11],[355,11],[402,11],[514,11],[589,11],[1359,13]]},"1162":{"position":[[529,11],[770,11],[817,9]]},"1164":{"position":[[223,10],[1213,11],[1414,11]]},"1165":{"position":[[51,11],[98,9],[215,11],[554,11]]},"1198":{"position":[[284,11],[1554,11],[1681,9],[1945,11]]},"1199":{"position":[[38,11]]},"1212":{"position":[[66,11]]},"1213":{"position":[[468,11]]},"1219":{"position":[[214,9]]},"1231":{"position":[[69,11],[220,11],[303,11],[368,11],[987,12]]},"1259":{"position":[[25,11]]},"1284":{"position":[[170,11],[223,11]]},"1301":{"position":[[367,12],[419,10]]},"1304":{"position":[[1800,9],[1911,11],[1948,9]]},"1306":{"position":[[70,11]]},"1307":{"position":[[370,10],[402,12]]},"1308":{"position":[[3,11],[119,10],[163,9],[190,11],[210,11],[663,11]]},"1313":{"position":[[860,12]]},"1314":{"position":[[607,11]]},"1316":{"position":[[39,10],[126,11],[217,11],[321,11],[1149,10],[1351,11],[1516,12],[1564,10],[2378,10],[2492,11],[2525,9],[2597,9],[2824,10],[3105,11],[3259,11],[3318,9],[3403,9],[3702,11],[3852,11]]},"1320":{"position":[[249,9],[517,11],[958,12]]},"1323":{"position":[[176,11]]},"1324":{"position":[[76,12],[320,11],[409,11],[588,11],[620,9],[709,12]]}},"keywords":{}}],["replica",{"_index":4936,"title":{},"content":{"870":{"position":[[244,7]]},"871":{"position":[[851,7]]},"872":{"position":[[362,7]]}},"keywords":{}}],["replicach",{"_index":585,"title":{"38":{"position":[[0,11]]}},"content":{"38":{"position":[[1,10],[188,10],[515,11],[617,10],[736,10],[787,10],[837,10],[921,10],[1045,10],[1131,10]]}},"keywords":{}}],["replicateappwrit",{"_index":4902,"title":{},"content":{"862":{"position":[[227,17],[1134,19],[1643,19]]}},"keywords":{}}],["replicatecouchdb",{"_index":4326,"title":{},"content":{"749":{"position":[[14654,18],[16114,18],[16262,18]]},"846":{"position":[[27,19],[57,16],[142,17],[1327,18]]},"848":{"position":[[659,17],[1175,17],[1294,17]]},"852":{"position":[[177,17]]},"1149":{"position":[[672,16],[1305,18]]}},"keywords":{}}],["replicatefirestor",{"_index":4872,"title":{},"content":{"854":{"position":[[532,20],[600,20]]},"858":{"position":[[182,19]]}},"keywords":{}}],["replicategraphql",{"_index":5121,"title":{},"content":{"886":{"position":[[925,16],[1010,17],[2642,17],[3829,17]]},"887":{"position":[[295,17]]},"888":{"position":[[436,17]]},"889":{"position":[[485,17]]},"890":{"position":[[757,16],[785,17]]}},"keywords":{}}],["replicatemongodb",{"_index":4957,"title":{},"content":{"872":{"position":[[2289,16],[2374,18],[2746,18]]}},"keywords":{}}],["replicatenat",{"_index":4926,"title":{},"content":{"866":{"position":[[115,15],[353,13],[432,15]]}},"keywords":{}}],["replicaterxcollect",{"_index":1342,"title":{"988":{"position":[[0,24]]}},"content":{"209":{"position":[[142,21],[622,23]]},"255":{"position":[[489,21],[973,23]]},"481":{"position":[[585,21],[642,23]]},"632":{"position":[[2117,21],[2210,23]]},"875":{"position":[[214,21],[336,21],[424,23],[3100,23],[6144,23],[8409,23],[9718,23]]},"988":{"position":[[67,23],[124,21],[248,23]]},"992":{"position":[[14,23]]},"1002":{"position":[[539,23],[1193,23]]},"1003":{"position":[[385,23]]},"1007":{"position":[[1377,23]]},"1090":{"position":[[520,21]]},"1165":{"position":[[843,23]]}},"keywords":{}}],["replicateserv",{"_index":4971,"title":{},"content":{"872":{"position":[[3889,15],[4460,17]]},"878":{"position":[[160,18],[189,15],[285,17]]},"882":{"position":[[402,17]]},"1101":{"position":[[658,17]]}},"keywords":{}}],["replicatesupabas",{"_index":5217,"title":{},"content":{"898":{"position":[[3240,17],[3322,19],[4561,19]]}},"keywords":{}}],["replicatewebrtc",{"_index":1362,"title":{},"content":{"210":{"position":[[155,16],[270,17]]},"261":{"position":[[223,16],[343,17]]},"904":{"position":[[1314,16],[1475,15],[1811,16]]},"907":{"position":[[287,16]]},"911":{"position":[[632,16]]},"1121":{"position":[[338,16],[602,16]]}},"keywords":{}}],["replicatewithwebsocketserv",{"_index":5179,"title":{},"content":{"893":{"position":[[98,28],[228,30]]}},"keywords":{}}],["replication"",{"_index":213,"title":{},"content":{"14":{"position":[[403,18]]}},"keywords":{}}],["replication.awaitinitialrepl",{"_index":5226,"title":{},"content":{"898":{"position":[[4158,38]]}},"keywords":{}}],["replication.error$.subscribe(err",{"_index":5224,"title":{},"content":{"898":{"position":[[4075,32]]}},"keywords":{}}],["replication.work",{"_index":4817,"title":{},"content":{"844":{"position":[[16,17]]}},"keywords":{}}],["replicationconflictmessag",{"_index":5163,"title":{},"content":{"889":{"position":[[193,28]]}},"keywords":{}}],["replicationdata",{"_index":3326,"title":{},"content":{"544":{"position":[[168,15]]}},"keywords":{}}],["replicationid",{"_index":5568,"title":{},"content":{"1007":{"position":[[1309,13],[1447,14]]}},"keywords":{}}],["replicationidentifi",{"_index":1347,"title":{},"content":{"209":{"position":[[668,22]]},"255":{"position":[[1019,22]]},"481":{"position":[[688,22]]},"632":{"position":[[2256,22]]},"846":{"position":[[162,22]]},"848":{"position":[[679,22],[1314,22]]},"852":{"position":[[197,22]]},"854":{"position":[[621,22]]},"862":{"position":[[1154,22]]},"866":{"position":[[476,22]]},"872":{"position":[[2532,22],[4478,22]]},"875":{"position":[[476,22]]},"878":{"position":[[332,22]]},"898":{"position":[[3404,22]]},"988":{"position":[[507,22],[533,22]]},"1002":{"position":[[589,22],[1243,22]]},"1007":{"position":[[1424,22]]},"1101":{"position":[[705,22]]},"1149":{"position":[[1324,22]]}},"keywords":{}}],["replicationofflin",{"_index":5230,"title":{},"content":{"899":{"position":[[74,18]]}},"keywords":{}}],["replicationpool",{"_index":1584,"title":{},"content":{"261":{"position":[[319,15],[856,15]]},"904":{"position":[[1787,15],[3205,15],[3265,15]]},"907":{"position":[[263,15]]},"911":{"position":[[608,15]]},"1121":{"position":[[578,15]]}},"keywords":{}}],["replicationpool.cancel",{"_index":5263,"title":{},"content":{"904":{"position":[[3608,25]]}},"keywords":{}}],["replicationpool.error$.subscribe(err",{"_index":1587,"title":{},"content":{"261":{"position":[[900,36]]},"904":{"position":[[3456,36]]}},"keywords":{}}],["replicationst",{"_index":4822,"title":{},"content":{"846":{"position":[[123,16]]},"848":{"position":[[640,16],[1275,16]]},"852":{"position":[[158,16]]},"854":{"position":[[581,16],[1730,16]]},"858":{"position":[[163,16]]},"862":{"position":[[1115,16]]},"866":{"position":[[413,16]]},"872":{"position":[[2355,16],[4441,16]]},"875":{"position":[[399,16],[3075,16],[6119,16],[8384,16],[9693,16]]},"878":{"position":[[260,16]]},"882":{"position":[[377,16]]},"886":{"position":[[991,16],[2623,16],[3810,16]]},"887":{"position":[[232,17]]},"888":{"position":[[373,17]]},"889":{"position":[[422,17]]},"893":{"position":[[203,16]]},"988":{"position":[[223,16]]},"1002":{"position":[[520,16],[1174,16]]},"1003":{"position":[[366,16]]},"1007":{"position":[[1203,16],[1358,16],[1775,17]]},"1101":{"position":[[633,16]]},"1149":{"position":[[1286,16]]},"1231":{"position":[[1146,16]]}},"keywords":{}}],["replicationstate.cancel",{"_index":5181,"title":{},"content":{"893":{"position":[[470,26]]}},"keywords":{}}],["replicationstate.error$.subscribe((error",{"_index":5490,"title":{},"content":{"990":{"position":[[1177,41]]}},"keywords":{}}],["replicationstate.fetch",{"_index":4824,"title":{},"content":{"846":{"position":[[551,23]]},"848":{"position":[[1005,22]]}},"keywords":{}}],["replicationstate.forbidden$.subscrib",{"_index":5073,"title":{},"content":{"881":{"position":[[340,40]]}},"keywords":{}}],["replicationstate.head",{"_index":4351,"title":{},"content":{"749":{"position":[[16538,24]]}},"keywords":{}}],["replicationstate.ispaus",{"_index":5534,"title":{},"content":{"1001":{"position":[[45,28]]}},"keywords":{}}],["replicationstate.isstop",{"_index":5531,"title":{},"content":{"1000":{"position":[[127,29]]}},"keywords":{}}],["replicationstate.outdatedclient$.subscrib",{"_index":5069,"title":{},"content":{"879":{"position":[[612,45]]}},"keywords":{}}],["replicationstate.setcredentials('includ",{"_index":5173,"title":{},"content":{"890":{"position":[[685,43]]}},"keywords":{}}],["replicationstate.sethead",{"_index":5071,"title":{},"content":{"880":{"position":[[379,29]]},"890":{"position":[[311,29]]}},"keywords":{}}],["replicationstate.start",{"_index":5457,"title":{},"content":{"988":{"position":[[1567,24]]}},"keywords":{}}],["replicationstate.unauthorized$.subscrib",{"_index":5070,"title":{},"content":{"880":{"position":[[327,43]]}},"keywords":{}}],["replset",{"_index":4942,"title":{},"content":{"872":{"position":[[554,7]]}},"keywords":{}}],["repo",{"_index":596,"title":{},"content":{"38":{"position":[[855,4]]},"61":{"position":[[266,5]]},"198":{"position":[[555,4]]},"392":{"position":[[781,5]]},"405":{"position":[[165,4]]},"471":{"position":[[150,4]]},"620":{"position":[[311,4]]},"628":{"position":[[252,4]]},"670":{"position":[[133,4]]},"1112":{"position":[[50,4]]},"1266":{"position":[[362,4]]}},"keywords":{}}],["repo.if",{"_index":4721,"title":{},"content":{"824":{"position":[[420,7]]}},"keywords":{}}],["repolearn",{"_index":3102,"title":{},"content":{"471":{"position":[[74,9]]}},"keywords":{}}],["report",{"_index":71,"title":{},"content":{"4":{"position":[[191,8]]},"404":{"position":[[350,8]]},"412":{"position":[[14174,9]]},"670":{"position":[[6,9],[335,6]]}},"keywords":{}}],["reposhow",{"_index":3213,"title":{},"content":{"498":{"position":[[384,8]]}},"keywords":{}}],["repositori",{"_index":853,"title":{},"content":{"56":{"position":[[91,11]]},"61":{"position":[[80,10]]},"84":{"position":[[127,11],[165,10]]},"114":{"position":[[140,11],[178,10]]},"149":{"position":[[140,11],[178,10]]},"175":{"position":[[133,11],[171,10]]},"241":{"position":[[244,11],[269,10]]},"263":{"position":[[652,10]]},"347":{"position":[[140,11],[178,10]]},"362":{"position":[[1211,11],[1249,10]]},"373":{"position":[[244,11],[269,10]]},"458":{"position":[[958,10]]},"462":{"position":[[509,11]]},"498":{"position":[[443,11]]},"511":{"position":[[140,11],[178,10]]},"531":{"position":[[140,11],[178,10]]},"543":{"position":[[98,11],[115,10]]},"548":{"position":[[100,10]]},"557":{"position":[[231,10]]},"567":{"position":[[450,10]]},"591":{"position":[[140,11],[178,10]]},"603":{"position":[[96,11],[113,10]]},"608":{"position":[[100,10]]},"666":{"position":[[136,10]]},"824":{"position":[[165,10]]},"904":{"position":[[217,10]]},"1112":{"position":[[133,10]]}},"keywords":{}}],["repositoryread",{"_index":4974,"title":{},"content":{"873":{"position":[[42,14]]}},"keywords":{}}],["repres",{"_index":1646,"title":{},"content":{"279":{"position":[[182,12]]},"396":{"position":[[701,9]]},"611":{"position":[[361,9]]},"682":{"position":[[90,9]]},"687":{"position":[[57,9]]},"690":{"position":[[344,11]]},"707":{"position":[[299,10]]},"778":{"position":[[545,10]]},"826":{"position":[[392,10],[550,10],[637,10],[752,10],[850,10],[971,10],[1069,10]]},"862":{"position":[[1337,10]]},"922":{"position":[[29,11]]},"1007":{"position":[[81,10]]},"1065":{"position":[[490,11]]},"1213":{"position":[[77,9]]}},"keywords":{}}],["represent",{"_index":2104,"title":{},"content":{"364":{"position":[[109,15]]},"372":{"position":[[357,15]]},"390":{"position":[[190,15]]},"1079":{"position":[[371,14]]}},"keywords":{}}],["representations.recommend",{"_index":2201,"title":{},"content":{"390":{"position":[[1387,32]]}},"keywords":{}}],["reproduc",{"_index":2892,"title":{},"content":{"427":{"position":[[1259,9]]},"667":{"position":[[78,9],[142,9]]},"670":{"position":[[86,10]]},"1120":{"position":[[358,9]]}},"keywords":{}}],["req",{"_index":3597,"title":{},"content":{"612":{"position":[[1860,5]]},"799":{"position":[[537,5],[769,5]]},"875":{"position":[[2087,5],[4455,5],[7244,5]]}},"keywords":{}}],["req.bodi",{"_index":5020,"title":{},"content":{"875":{"position":[[4493,9]]}},"keywords":{}}],["req.on('clos",{"_index":3611,"title":{},"content":{"612":{"position":[[2407,15]]},"875":{"position":[[7496,15]]}},"keywords":{}}],["req.query.id",{"_index":4991,"title":{},"content":{"875":{"position":[[2117,13]]}},"keywords":{}}],["request",{"_index":711,"title":{"617":{"position":[[2,8]]},"1032":{"position":[[27,8]]}},"content":{"46":{"position":[[351,8]]},"65":{"position":[[1129,9]]},"87":{"position":[[143,8]]},"173":{"position":[[798,9]]},"216":{"position":[[143,8]]},"226":{"position":[[100,8],[175,8]]},"300":{"position":[[520,7],[681,9],[698,7]]},"302":{"position":[[202,7]]},"305":{"position":[[408,7]]},"392":{"position":[[3414,8]]},"408":{"position":[[2605,8],[3168,7]]},"411":{"position":[[234,8],[355,8]]},"450":{"position":[[389,7]]},"459":{"position":[[787,7]]},"461":{"position":[[122,8],[348,8],[379,7]]},"467":{"position":[[39,8]]},"474":{"position":[[49,7]]},"477":{"position":[[52,7]]},"487":{"position":[[60,7],[292,7]]},"570":{"position":[[652,9]]},"582":{"position":[[675,9]]},"610":{"position":[[194,9],[260,8],[593,8],[1119,7]]},"611":{"position":[[215,7]]},"612":{"position":[[421,7]]},"616":{"position":[[354,7],[476,7],[640,8],[1205,8]]},"619":{"position":[[370,8]]},"623":{"position":[[366,7]]},"624":{"position":[[259,9]]},"626":{"position":[[728,8]]},"627":{"position":[[169,8]]},"630":{"position":[[58,8],[804,9]]},"634":{"position":[[692,8]]},"650":{"position":[[114,8]]},"668":{"position":[[20,8]]},"679":{"position":[[121,7]]},"696":{"position":[[530,9]]},"749":{"position":[[21185,8]]},"778":{"position":[[110,7]]},"782":{"position":[[70,8]]},"784":{"position":[[48,8]]},"799":{"position":[[488,7]]},"846":{"position":[[699,7]]},"848":{"position":[[83,8]]},"849":{"position":[[72,8],[191,8]]},"851":{"position":[[198,7]]},"863":{"position":[[381,7]]},"875":{"position":[[756,8],[2993,7]]},"880":{"position":[[100,8],[293,8]]},"882":{"position":[[190,7]]},"886":{"position":[[1513,8],[1808,8],[2933,8]]},"890":{"position":[[636,8]]},"986":{"position":[[1610,9]]},"988":{"position":[[915,7]]},"1010":{"position":[[131,8]]},"1032":{"position":[[19,8]]},"1089":{"position":[[160,9]]},"1090":{"position":[[27,8],[219,8]]},"1092":{"position":[[344,8]]},"1094":{"position":[[389,8]]},"1095":{"position":[[355,8]]},"1102":{"position":[[438,7],[463,7]]},"1103":{"position":[[167,9]]},"1104":{"position":[[74,9]]},"1123":{"position":[[317,8]]},"1124":{"position":[[707,7]]},"1134":{"position":[[638,9]]},"1135":{"position":[[352,7]]},"1161":{"position":[[162,8]]},"1170":{"position":[[156,8]]},"1180":{"position":[[162,8]]},"1301":{"position":[[816,7]]},"1313":{"position":[[445,9]]}},"keywords":{}}],["request.json",{"_index":5938,"title":{},"content":{"1102":{"position":[[702,15]]}},"keywords":{}}],["request.onerror",{"_index":3004,"title":{},"content":{"459":{"position":[[933,15]]}},"keywords":{}}],["request.onsuccess",{"_index":3002,"title":{},"content":{"459":{"position":[[873,17]]}},"keywords":{}}],["requestcheckpoint",{"_index":5156,"title":{},"content":{"888":{"position":[[773,17],[821,17],[1107,17]]}},"keywords":{}}],["requestidlecallback",{"_index":3772,"title":{},"content":{"656":{"position":[[405,21]]},"975":{"position":[[86,19]]}},"keywords":{}}],["requestidlepromis",{"_index":5412,"title":{"975":{"position":[[0,21]]}},"content":{"1164":{"position":[[84,18],[1267,20],[1529,21]]}},"keywords":{}}],["requests.long",{"_index":3663,"title":{},"content":{"621":{"position":[[347,13]]}},"keywords":{}}],["requestsskip",{"_index":5062,"title":{},"content":{"876":{"position":[[289,12]]}},"keywords":{}}],["requir",{"_index":334,"title":{"553":{"position":[[20,8]]},"666":{"position":[[0,13]]},"910":{"position":[[11,8]]},"1260":{"position":[[16,9]]}},"content":{"19":{"position":[[599,9]]},"33":{"position":[[371,8]]},"35":{"position":[[626,9]]},"40":{"position":[[707,7]]},"51":{"position":[[498,9]]},"63":{"position":[[232,13]]},"65":{"position":[[1236,7]]},"66":{"position":[[571,13]]},"70":{"position":[[214,8]]},"79":{"position":[[110,9]]},"80":{"position":[[18,9]]},"81":{"position":[[89,12]]},"99":{"position":[[189,8]]},"111":{"position":[[115,12]]},"131":{"position":[[973,12]]},"132":{"position":[[74,12]]},"134":{"position":[[248,13]]},"146":{"position":[[246,12]]},"151":{"position":[[168,8]]},"170":{"position":[[344,13],[532,13]]},"174":{"position":[[550,12]]},"188":{"position":[[1425,9]]},"189":{"position":[[716,12]]},"197":{"position":[[21,12]]},"206":{"position":[[54,8]]},"210":{"position":[[717,9]]},"220":{"position":[[275,7]]},"221":{"position":[[29,7]]},"222":{"position":[[237,12]]},"226":{"position":[[157,8],[243,7]]},"236":{"position":[[86,12]]},"249":{"position":[[32,7]]},"253":{"position":[[53,8]]},"261":{"position":[[637,8]]},"266":{"position":[[504,8]]},"271":{"position":[[203,12]]},"276":{"position":[[361,13]]},"287":{"position":[[268,13],[848,7]]},"294":{"position":[[185,12]]},"299":{"position":[[554,7]]},"309":{"position":[[356,9]]},"314":{"position":[[881,9]]},"315":{"position":[[823,9]]},"331":{"position":[[120,7]]},"357":{"position":[[284,7]]},"358":{"position":[[392,8]]},"361":{"position":[[95,9]]},"365":{"position":[[571,9],[1159,9],[1434,9]]},"366":{"position":[[184,12]]},"367":{"position":[[1036,9]]},"375":{"position":[[642,7]]},"379":{"position":[[195,9]]},"382":{"position":[[177,8]]},"383":{"position":[[266,7]]},"388":{"position":[[217,13]]},"392":{"position":[[698,9],[1695,9],[1913,8]]},"401":{"position":[[773,9]]},"409":{"position":[[202,7]]},"411":{"position":[[435,7]]},"412":{"position":[[2445,7],[3557,7],[6695,8],[10410,8],[11793,8],[14094,12],[14565,7]]},"415":{"position":[[351,9]]},"427":{"position":[[689,8]]},"429":{"position":[[419,9]]},"430":{"position":[[889,7]]},"432":{"position":[[167,13]]},"444":{"position":[[168,12]]},"445":{"position":[[934,7]]},"446":{"position":[[470,7]]},"454":{"position":[[851,8]]},"455":{"position":[[506,8]]},"462":{"position":[[746,8]]},"463":{"position":[[42,7],[329,8]]},"464":{"position":[[1254,7]]},"478":{"position":[[14,7]]},"482":{"position":[[953,9]]},"487":{"position":[[435,9]]},"497":{"position":[[338,9]]},"504":{"position":[[413,13]]},"508":{"position":[[70,13]]},"515":{"position":[[104,7]]},"517":{"position":[[63,7]]},"521":{"position":[[661,8]]},"524":{"position":[[164,13]]},"525":{"position":[[731,13]]},"534":{"position":[[692,13]]},"538":{"position":[[799,9]]},"546":{"position":[[33,13]]},"554":{"position":[[1494,9]]},"559":{"position":[[1256,8]]},"562":{"position":[[446,9]]},"564":{"position":[[882,9]]},"567":{"position":[[728,13]]},"574":{"position":[[174,8]]},"581":{"position":[[681,12]]},"594":{"position":[[690,13]]},"598":{"position":[[806,9]]},"602":{"position":[[127,10]]},"606":{"position":[[33,13]]},"611":{"position":[[542,7],[1417,9]]},"613":{"position":[[398,9]]},"616":{"position":[[321,7]]},"617":{"position":[[1064,8]]},"622":{"position":[[719,9]]},"623":{"position":[[235,7]]},"624":{"position":[[504,9]]},"632":{"position":[[946,7]]},"638":{"position":[[738,9]]},"659":{"position":[[818,9]]},"662":{"position":[[2535,9]]},"680":{"position":[[1042,9]]},"681":{"position":[[131,8]]},"685":{"position":[[387,8]]},"687":{"position":[[159,8]]},"689":{"position":[[130,7]]},"701":{"position":[[1092,8]]},"715":{"position":[[88,8]]},"717":{"position":[[1551,9]]},"723":{"position":[[1289,9]]},"749":{"position":[[15306,8],[16404,9],[19134,8],[19820,8],[20776,8],[23013,8]]},"751":{"position":[[1180,8]]},"759":{"position":[[562,8]]},"760":{"position":[[558,8]]},"772":{"position":[[1248,7]]},"774":{"position":[[66,7]]},"778":{"position":[[184,7]]},"782":{"position":[[441,8]]},"806":{"position":[[533,8]]},"829":{"position":[[2948,9],[2998,7]]},"835":{"position":[[923,9]]},"836":{"position":[[1503,8],[1915,8],[2079,8],[2375,13]]},"837":{"position":[[406,8]]},"838":{"position":[[2749,9]]},"846":{"position":[[270,10]]},"854":{"position":[[815,10],[1304,8]]},"855":{"position":[[6,8]]},"861":{"position":[[2064,10]]},"862":{"position":[[779,9]]},"867":{"position":[[6,8]]},"871":{"position":[[811,8]]},"872":{"position":[[1248,8],[2039,9],[4269,9]]},"882":{"position":[[207,8]]},"887":{"position":[[68,8]]},"896":{"position":[[43,9]]},"898":{"position":[[2644,9]]},"902":{"position":[[319,9]]},"903":{"position":[[283,9]]},"904":{"position":[[1080,9]]},"906":{"position":[[92,9]]},"908":{"position":[[357,9]]},"962":{"position":[[443,13]]},"990":{"position":[[1110,8]]},"1067":{"position":[[820,8]]},"1074":{"position":[[190,8],[280,8],[453,8]]},"1077":{"position":[[204,9]]},"1078":{"position":[[676,9]]},"1079":{"position":[[314,8]]},"1080":{"position":[[717,9],[803,9]]},"1082":{"position":[[453,9]]},"1083":{"position":[[97,9],[623,9]]},"1085":{"position":[[735,8]]},"1090":{"position":[[1127,13]]},"1100":{"position":[[817,8]]},"1101":{"position":[[306,8]]},"1107":{"position":[[314,8]]},"1132":{"position":[[1124,12]]},"1141":{"position":[[233,8]]},"1143":{"position":[[461,8]]},"1147":{"position":[[480,7]]},"1149":{"position":[[1202,9]]},"1150":{"position":[[638,9]]},"1151":{"position":[[393,8]]},"1158":{"position":[[499,9]]},"1178":{"position":[[392,8]]},"1188":{"position":[[248,8]]},"1194":{"position":[[139,8]]},"1206":{"position":[[429,9]]},"1222":{"position":[[501,7]]},"1250":{"position":[[186,8]]},"1294":{"position":[[602,8]]},"1295":{"position":[[1391,8]]},"1304":{"position":[[952,8]]},"1311":{"position":[[568,9]]},"1316":{"position":[[2721,7],[3021,8]]}},"keywords":{}}],["require('asyncstorag",{"_index":138,"title":{},"content":{"10":{"position":[[238,21]]}},"keywords":{}}],["require('f",{"_index":6142,"title":{},"content":{"1176":{"position":[[138,13]]}},"keywords":{}}],["require('fak",{"_index":6050,"title":{},"content":{"1139":{"position":[[425,13],[476,13]]},"1145":{"position":[[414,13],[465,13]]}},"keywords":{}}],["require('leveldown",{"_index":90,"title":{},"content":{"6":{"position":[[457,21]]}},"keywords":{}}],["require('lokijs/src/increment",{"_index":6132,"title":{},"content":{"1172":{"position":[[236,31]]}},"keywords":{}}],["require('lokijs/src/loki",{"_index":4576,"title":{},"content":{"772":{"position":[[2202,24]]}},"keywords":{}}],["require('memdown",{"_index":47,"title":{},"content":{"2":{"position":[[296,19]]}},"keywords":{}}],["require('nod",{"_index":1371,"title":{},"content":{"210":{"position":[[449,13]]},"261":{"position":[[690,13]]},"904":{"position":[[2895,13]]}},"keywords":{}}],["require('path",{"_index":6305,"title":{},"content":{"1266":{"position":[[178,16]]}},"keywords":{}}],["require('rxdb/plugins/electron",{"_index":3928,"title":{},"content":{"693":{"position":[[748,33],[1052,33]]}},"keywords":{}}],["require('rxdb/plugins/storag",{"_index":3929,"title":{},"content":{"693":{"position":[[813,29],[1117,29]]}},"keywords":{}}],["require('sqlite3",{"_index":3999,"title":{},"content":{"711":{"position":[[1118,19]]}},"keywords":{}}],["require('ters",{"_index":6307,"title":{},"content":{"1266":{"position":[[216,15]]}},"keywords":{}}],["require('ws').websocket",{"_index":1374,"title":{},"content":{"210":{"position":[[509,23]]},"261":{"position":[[750,23]]},"904":{"position":[[3060,23]]}},"keywords":{}}],["require(path.join(projectrootpath",{"_index":6312,"title":{},"content":{"1266":{"position":[[390,34]]}},"keywords":{}}],["requireauth",{"_index":6080,"title":{},"content":{"1148":{"position":[[1040,12]]}},"keywords":{}}],["res(ev.data.embed",{"_index":2276,"title":{},"content":{"392":{"position":[[4354,23]]}},"keywords":{}}],["res(event.target.result",{"_index":3003,"title":{},"content":{"459":{"position":[[907,25]]}},"keywords":{}}],["res(row",{"_index":4008,"title":{},"content":{"711":{"position":[[1613,10]]}},"keywords":{}}],["res.end",{"_index":3613,"title":{},"content":{"612":{"position":[[2461,10]]}},"keywords":{}}],["res.end(json.stringifi",{"_index":5004,"title":{},"content":{"875":{"position":[[2814,24]]}},"keywords":{}}],["res.end(json.stringify(conflict",{"_index":5035,"title":{},"content":{"875":{"position":[[5578,35]]}},"keywords":{}}],["res.json",{"_index":1577,"title":{},"content":{"255":{"position":[[1295,11],[1536,11]]}},"keywords":{}}],["res.send(json.stringify(result",{"_index":4660,"title":{},"content":{"799":{"position":[[616,33],[823,33]]}},"keywords":{}}],["res.setheader('cont",{"_index":5003,"title":{},"content":{"875":{"position":[[2763,22],[5527,22]]}},"keywords":{}}],["res.write('data",{"_index":5044,"title":{},"content":{"875":{"position":[[7438,16]]}},"keywords":{}}],["res.write(formatteddata",{"_index":3604,"title":{},"content":{"612":{"position":[[2142,25]]}},"keywords":{}}],["res.writehead(200",{"_index":3598,"title":{},"content":{"612":{"position":[[1879,18]]},"875":{"position":[[7263,18]]}},"keywords":{}}],["reserv",{"_index":4356,"title":{},"content":{"749":{"position":[[16950,8]]}},"keywords":{}}],["reset",{"_index":5421,"title":{},"content":{"977":{"position":[[268,5]]},"1085":{"position":[[3543,6]]}},"keywords":{}}],["resid",{"_index":2937,"title":{},"content":{"444":{"position":[[471,6]]},"1315":{"position":[[317,7]]}},"keywords":{}}],["resili",{"_index":2179,"title":{},"content":{"388":{"position":[[345,10]]},"407":{"position":[[733,9]]},"410":{"position":[[932,11]]},"418":{"position":[[723,11]]},"419":{"position":[[885,10]]},"420":{"position":[[1484,10]]},"990":{"position":[[474,9]]}},"keywords":{}}],["resolut",{"_index":226,"title":{"134":{"position":[[9,11]]},"250":{"position":[[21,11]]},"339":{"position":[[9,11]]},"416":{"position":[[24,11]]},"496":{"position":[[9,10]]}},"content":{"14":{"position":[[806,10]]},"39":{"position":[[583,10]]},"40":{"position":[[228,10],[753,11]]},"43":{"position":[[121,10]]},"123":{"position":[[211,10]]},"134":{"position":[[126,10],[198,10]]},"135":{"position":[[287,10]]},"147":{"position":[[120,10]]},"162":{"position":[[487,10]]},"165":{"position":[[238,10]]},"192":{"position":[[244,10]]},"203":{"position":[[160,10]]},"250":{"position":[[47,10],[202,10]]},"263":{"position":[[200,10]]},"289":{"position":[[209,11]]},"306":{"position":[[206,11]]},"328":{"position":[[209,10]]},"331":{"position":[[209,11]]},"412":{"position":[[1152,11],[2179,11],[2980,11],[3249,10]]},"419":{"position":[[1172,10]]},"480":{"position":[[1104,11]]},"491":{"position":[[401,11],[1320,11]]},"495":{"position":[[69,11]]},"525":{"position":[[629,11]]},"566":{"position":[[1018,10]]},"576":{"position":[[286,11]]},"582":{"position":[[438,11]]},"590":{"position":[[819,11]]},"635":{"position":[[428,11]]},"690":{"position":[[191,10]]},"698":{"position":[[358,11],[445,10],[787,10],[975,10],[1419,10],[2183,11],[3285,10]]},"860":{"position":[[777,10]]},"870":{"position":[[168,10]]},"896":{"position":[[270,10]]},"1148":{"position":[[137,10],[365,11],[387,10]]},"1149":{"position":[[52,10]]}},"keywords":{}}],["resolution.rxdb'",{"_index":6072,"title":{},"content":{"1147":{"position":[[266,17]]}},"keywords":{}}],["resolutionrxdb",{"_index":1601,"title":{},"content":{"263":{"position":[[630,14]]}},"keywords":{}}],["resolv",{"_index":1116,"title":{},"content":{"134":{"position":[[317,7]]},"135":{"position":[[243,8]]},"339":{"position":[[111,7]]},"386":{"position":[[176,8]]},"412":{"position":[[5025,9],[5123,7],[13010,9]]},"487":{"position":[[390,7]]},"491":{"position":[[536,7],[1439,8]]},"496":{"position":[[830,8]]},"582":{"position":[[214,9],[585,7]]},"688":{"position":[[102,7],[684,7]]},"691":{"position":[[302,8]]},"698":{"position":[[1815,8]]},"749":{"position":[[21083,7],[21228,8]]},"751":{"position":[[1056,8]]},"789":{"position":[[363,8]]},"810":{"position":[[133,8]]},"860":{"position":[[523,8]]},"885":{"position":[[1410,8],[2695,10]]},"886":{"position":[[243,8]]},"908":{"position":[[49,9],[332,8]]},"929":{"position":[[48,8]]},"930":{"position":[[25,8]]},"931":{"position":[[25,8]]},"932":{"position":[[25,8]]},"968":{"position":[[298,8]]},"974":{"position":[[25,8]]},"975":{"position":[[25,8]]},"976":{"position":[[129,8]]},"982":{"position":[[769,8]]},"987":{"position":[[494,8]]},"994":{"position":[[189,7]]},"995":{"position":[[24,8],[311,7],[759,8],[968,7],[1161,7]]},"997":{"position":[[49,8]]},"1014":{"position":[[142,8]]},"1015":{"position":[[122,8]]},"1016":{"position":[[59,8]]},"1026":{"position":[[110,8]]},"1057":{"position":[[24,8]]},"1062":{"position":[[54,8]]},"1164":{"position":[[871,7],[1195,8]]},"1176":{"position":[[238,7],[351,8]]},"1198":{"position":[[862,7]]},"1266":{"position":[[849,8]]},"1308":{"position":[[279,8],[570,8]]},"1323":{"position":[[168,7]]}},"keywords":{}}],["resolve(i",{"_index":2695,"title":{},"content":{"412":{"position":[[5163,10]]},"1309":{"position":[[936,10]]}},"keywords":{}}],["resourc",{"_index":994,"title":{},"content":{"84":{"position":[[103,10]]},"91":{"position":[[136,10]]},"114":{"position":[[116,10]]},"143":{"position":[[253,9]]},"149":{"position":[[116,10]]},"175":{"position":[[94,9]]},"224":{"position":[[171,9]]},"228":{"position":[[307,8]]},"241":{"position":[[109,10]]},"263":{"position":[[558,10]]},"277":{"position":[[288,8]]},"298":{"position":[[67,10]]},"347":{"position":[[116,10]]},"362":{"position":[[1187,10]]},"373":{"position":[[109,10]]},"392":{"position":[[2220,10]]},"409":{"position":[[36,8]]},"427":{"position":[[1240,10]]},"444":{"position":[[240,10]]},"477":{"position":[[86,8]]},"508":{"position":[[210,8]]},"511":{"position":[[116,10]]},"528":{"position":[[196,10]]},"531":{"position":[[116,10]]},"567":{"position":[[161,10]]},"587":{"position":[[96,8]]},"591":{"position":[[116,10]]},"618":{"position":[[424,8]]},"736":{"position":[[512,9]]},"782":{"position":[[190,9]]},"981":{"position":[[1687,10]]},"1151":{"position":[[414,10]]},"1178":{"position":[[413,10]]},"1206":{"position":[[609,10]]}},"keywords":{}}],["resources.webtransport",{"_index":3670,"title":{},"content":{"622":{"position":[[543,23]]}},"keywords":{}}],["resp",{"_index":1348,"title":{},"content":{"209":{"position":[[792,4]]}},"keywords":{}}],["resp.json",{"_index":1352,"title":{},"content":{"209":{"position":[[920,12]]}},"keywords":{}}],["respect",{"_index":2757,"title":{},"content":{"412":{"position":[[13025,7]]},"875":{"position":[[1884,7]]}},"keywords":{}}],["respond",{"_index":919,"title":{},"content":{"65":{"position":[[917,7]]},"124":{"position":[[265,7]]},"156":{"position":[[242,7]]},"421":{"position":[[978,7]]},"502":{"position":[[764,7]]},"585":{"position":[[66,7]]},"875":{"position":[[1769,8],[7001,7]]},"984":{"position":[[300,7]]},"990":{"position":[[1083,7]]},"1308":{"position":[[447,7]]},"1313":{"position":[[417,10]]}},"keywords":{}}],["respons",{"_index":910,"title":{},"content":{"65":{"position":[[401,10],[983,10],[2093,10]]},"78":{"position":[[111,15]]},"83":{"position":[[377,11]]},"91":{"position":[[268,10]]},"92":{"position":[[221,10]]},"103":{"position":[[210,10]]},"106":{"position":[[203,15]]},"114":{"position":[[740,15]]},"116":{"position":[[272,10]]},"145":{"position":[[119,11]]},"148":{"position":[[225,10]]},"153":{"position":[[319,11]]},"173":{"position":[[999,8],[1105,14],[2668,14]]},"175":{"position":[[686,11]]},"177":{"position":[[316,10]]},"182":{"position":[[175,8]]},"196":{"position":[[225,8]]},"198":{"position":[[381,10]]},"209":{"position":[[1086,8]]},"216":{"position":[[201,10]]},"220":{"position":[[205,8]]},"221":{"position":[[289,10]]},"234":{"position":[[256,14]]},"235":{"position":[[225,10]]},"265":{"position":[[476,10]]},"267":{"position":[[447,10],[1604,10]]},"270":{"position":[[178,10]]},"273":{"position":[[273,10]]},"283":{"position":[[429,10]]},"289":{"position":[[1472,10]]},"292":{"position":[[403,10]]},"294":{"position":[[284,10]]},"321":{"position":[[103,10]]},"369":{"position":[[467,11],[740,15]]},"375":{"position":[[378,15]]},"379":{"position":[[317,10]]},"385":{"position":[[127,8]]},"392":{"position":[[977,8]]},"407":{"position":[[406,9]]},"410":{"position":[[199,9],[270,10]]},"411":{"position":[[3123,11]]},"412":{"position":[[9076,16]]},"415":{"position":[[137,11]]},"418":{"position":[[87,14]]},"421":{"position":[[695,9]]},"427":{"position":[[372,10]]},"445":{"position":[[1527,10]]},"447":{"position":[[414,11]]},"460":{"position":[[151,10]]},"474":{"position":[[255,10]]},"489":{"position":[[581,10]]},"502":{"position":[[145,14]]},"507":{"position":[[195,15]]},"510":{"position":[[374,11]]},"515":{"position":[[393,14]]},"518":{"position":[[354,8]]},"530":{"position":[[502,15]]},"548":{"position":[[216,11]]},"569":{"position":[[191,8],[524,9],[915,8],[1468,8]]},"571":{"position":[[136,8],[1835,8]]},"582":{"position":[[732,10]]},"608":{"position":[[216,11]]},"610":{"position":[[461,8],[556,9]]},"611":{"position":[[223,8]]},"617":{"position":[[859,8]]},"627":{"position":[[182,10]]},"630":{"position":[[163,9],[503,15]]},"632":{"position":[[2771,10]]},"642":{"position":[[219,11]]},"699":{"position":[[961,8]]},"751":{"position":[[1419,8],[1470,9]]},"801":{"position":[[565,10],[742,14]]},"802":{"position":[[785,8]]},"829":{"position":[[376,11],[1151,11]]},"836":{"position":[[1713,14]]},"838":{"position":[[543,11]]},"875":{"position":[[3317,8]]},"886":{"position":[[1431,8],[1531,8]]},"888":{"position":[[57,8],[613,8]]},"889":{"position":[[34,8],[700,8]]},"988":{"position":[[2835,8],[2879,9],[3696,8]]},"1024":{"position":[[361,8]]},"1102":{"position":[[685,8],[1016,8]]},"1124":{"position":[[715,8]]},"1132":{"position":[[1007,10]]},"1257":{"position":[[89,8]]}},"keywords":{}}],["response.json",{"_index":1359,"title":{},"content":{"209":{"position":[[1229,16]]},"392":{"position":[[1043,16]]},"610":{"position":[[980,16]]},"751":{"position":[[1430,16]]},"875":{"position":[[3447,16]]},"988":{"position":[[3841,16]]},"1024":{"position":[[452,16]]}},"keywords":{}}],["responsemodifi",{"_index":5154,"title":{},"content":{"888":{"position":[[268,16],[551,17]]},"889":{"position":[[581,17]]}},"keywords":{}}],["responsiveness.it",{"_index":6070,"title":{},"content":{"1143":{"position":[[592,17]]}},"keywords":{}}],["responsiveness.mad",{"_index":1217,"title":{},"content":{"174":{"position":[[1185,19]]}},"keywords":{}}],["responsiveness.scal",{"_index":5239,"title":{},"content":{"902":{"position":[[145,26]]}},"keywords":{}}],["rest",{"_index":307,"title":{"784":{"position":[[19,5]]},"1102":{"position":[[0,4]]}},"content":{"18":{"position":[[189,4]]},"38":{"position":[[364,4]]},"57":{"position":[[366,5]]},"89":{"position":[[139,4]]},"173":{"position":[[474,4]]},"202":{"position":[[301,5]]},"223":{"position":[[118,4],[404,4]]},"249":{"position":[[255,4]]},"255":{"position":[[950,4],[1052,4],[1127,4],[1390,4]]},"310":{"position":[[146,4]]},"312":{"position":[[186,6]]},"383":{"position":[[143,4]]},"411":{"position":[[1208,4]]},"478":{"position":[[31,4]]},"482":{"position":[[131,5],[1022,4]]},"564":{"position":[[137,5],[1031,5]]},"566":{"position":[[1391,4]]},"632":{"position":[[881,4]]},"644":{"position":[[536,5]]},"784":{"position":[[297,4]]},"988":{"position":[[560,4],[2481,4],[3675,4]]},"1100":{"position":[[263,4]]},"1102":{"position":[[5,4],[289,4],[744,4],[802,4],[910,6],[1070,4]]},"1149":{"position":[[372,4],[473,7]]}},"keywords":{}}],["rest.queri",{"_index":1901,"title":{},"content":{"315":{"position":[[998,12]]}},"keywords":{}}],["restart",{"_index":3561,"title":{},"content":{"610":{"position":[[1288,7]]},"723":{"position":[[1466,9]]},"998":{"position":[[177,7]]},"999":{"position":[[96,7]]},"1085":{"position":[[3553,7]]},"1301":{"position":[[1627,7]]},"1314":{"position":[[594,8]]}},"keywords":{}}],["restarts/reload",{"_index":4050,"title":{},"content":{"724":{"position":[[619,17]]}},"keywords":{}}],["restcompress",{"_index":3699,"title":{},"content":{"631":{"position":[[457,15]]}},"keywords":{}}],["restor",{"_index":707,"title":{},"content":{"46":{"position":[[242,9]]},"164":{"position":[[276,9]]},"201":{"position":[[338,9]]},"274":{"position":[[255,9]]},"280":{"position":[[312,9]]},"327":{"position":[[223,9]]},"380":{"position":[[202,9]]},"419":{"position":[[545,9]]},"436":{"position":[[227,9]]},"502":{"position":[[592,9]]},"565":{"position":[[274,9]]},"582":{"position":[[145,9]]},"584":{"position":[[121,9]]}},"keywords":{}}],["restored.data",{"_index":1922,"title":{},"content":{"323":{"position":[[307,13]]},"575":{"position":[[415,13]]}},"keywords":{}}],["restrict",{"_index":685,"title":{"796":{"position":[[55,8]]}},"content":{"43":{"position":[[632,9]]},"66":{"position":[[428,12]]},"408":{"position":[[96,10],[498,11]]},"427":{"position":[[513,11]]},"624":{"position":[[310,12]]},"796":{"position":[[141,11],[312,11],[565,11],[605,11],[973,11],[1015,11],[1263,11],[1404,11]]},"1105":{"position":[[61,8],[516,9]]},"1106":{"position":[[63,8],[152,8],[356,8]]}},"keywords":{}}],["restructur",{"_index":5622,"title":{},"content":{"1021":{"position":[[114,11]]}},"keywords":{}}],["result",{"_index":543,"title":{"1321":{"position":[[14,8]]}},"content":{"34":{"position":[[623,7]]},"65":{"position":[[370,7],[1144,7]]},"69":{"position":[[137,6]]},"77":{"position":[[335,8]]},"91":{"position":[[234,9]]},"92":{"position":[[67,9]]},"93":{"position":[[181,9]]},"100":{"position":[[296,9]]},"103":{"position":[[375,8]]},"108":{"position":[[139,9]]},"130":{"position":[[230,7]]},"173":{"position":[[808,9],[2596,9]]},"174":{"position":[[1711,9]]},"182":{"position":[[265,8]]},"188":{"position":[[3130,7],[3277,8]]},"197":{"position":[[154,9]]},"216":{"position":[[172,9]]},"220":{"position":[[185,9]]},"227":{"position":[[270,9]]},"234":{"position":[[435,8]]},"252":{"position":[[333,7]]},"281":{"position":[[395,7]]},"287":{"position":[[1004,6]]},"289":{"position":[[260,9]]},"301":{"position":[[354,8]]},"329":{"position":[[127,6]]},"360":{"position":[[321,8]]},"390":{"position":[[801,7]]},"392":{"position":[[3441,6]]},"393":{"position":[[731,8]]},"394":{"position":[[1181,8]]},"398":{"position":[[250,6],[1709,7],[2862,7],[3034,7],[3115,7]]},"400":{"position":[[457,7],[760,6]]},"402":{"position":[[556,8],[1312,7],[1359,6],[1629,8],[2388,7]]},"404":{"position":[[897,7]]},"408":{"position":[[4792,6]]},"410":{"position":[[286,7]]},"411":{"position":[[1734,7],[3006,8],[3497,6],[3566,7]]},"434":{"position":[[334,7]]},"439":{"position":[[728,6]]},"459":{"position":[[827,6]]},"462":{"position":[[273,7]]},"474":{"position":[[266,9]]},"480":{"position":[[812,6]]},"490":{"position":[[657,7]]},"491":{"position":[[928,6]]},"502":{"position":[[806,6],[1039,6]]},"507":{"position":[[141,9]]},"518":{"position":[[131,7],[208,7],[506,6]]},"523":{"position":[[454,7]]},"535":{"position":[[824,7]]},"571":{"position":[[721,7],[843,6],[987,6],[1093,8],[1461,7]]},"575":{"position":[[664,6]]},"580":{"position":[[138,7],[636,7]]},"602":{"position":[[288,6]]},"618":{"position":[[504,7]]},"626":{"position":[[336,8]]},"662":{"position":[[160,6],[2669,6]]},"685":{"position":[[646,6]]},"704":{"position":[[578,7]]},"710":{"position":[[212,7],[1976,6]]},"711":{"position":[[658,6]]},"723":{"position":[[340,8],[1204,7]]},"749":{"position":[[2205,6],[3317,6],[16299,6]]},"772":{"position":[[1003,6]]},"775":{"position":[[774,6]]},"781":{"position":[[782,7]]},"782":{"position":[[51,6]]},"796":{"position":[[106,6]]},"799":{"position":[[37,6],[185,6],[304,8],[562,6],[794,6]]},"817":{"position":[[176,8],[295,6]]},"821":{"position":[[128,7],[317,6]]},"826":{"position":[[773,6],[871,6]]},"829":{"position":[[2265,7],[2493,8],[3190,7],[3408,8],[3688,6]]},"837":{"position":[[635,7]]},"838":{"position":[[189,6],[2883,6]]},"886":{"position":[[1417,6]]},"944":{"position":[[183,6]]},"945":{"position":[[124,6],[445,6]]},"965":{"position":[[175,7]]},"1030":{"position":[[262,7]]},"1055":{"position":[[83,6]]},"1056":{"position":[[57,6]]},"1057":{"position":[[42,6],[109,7]]},"1058":{"position":[[51,6],[305,8],[352,8],[472,8],[531,7]]},"1059":{"position":[[49,7]]},"1060":{"position":[[71,7]]},"1061":{"position":[[72,7]]},"1064":{"position":[[351,6]]},"1067":{"position":[[420,6],[505,6],[1742,6]]},"1068":{"position":[[489,6]]},"1069":{"position":[[88,7],[603,7],[664,6],[760,7],[825,6]]},"1072":{"position":[[1011,7],[1411,7],[2863,7]]},"1079":{"position":[[589,8]]},"1100":{"position":[[493,9]]},"1102":{"position":[[1138,7],[1202,7]]},"1150":{"position":[[78,7],[564,7]]},"1209":{"position":[[366,7]]},"1213":{"position":[[97,8]]},"1250":{"position":[[212,6],[243,7],[582,7]]},"1294":{"position":[[788,6],[1042,7],[1731,6],[1832,7],[1977,7]]},"1295":{"position":[[788,8],[1348,7],[1406,7]]},"1315":{"position":[[900,6],[1339,6],[1469,6]]},"1318":{"position":[[350,8],[410,6],[514,7],[637,7],[900,7],[1096,7],[1190,8]]},"1321":{"position":[[220,8],[274,6],[433,6],[536,7],[643,6],[749,6]]},"1322":{"position":[[103,6],[546,7]]}},"keywords":{}}],["result.concat(subresult",{"_index":6446,"title":{},"content":{"1294":{"position":[[1740,25]]}},"keywords":{}}],["result.length",{"_index":5781,"title":{},"content":{"1067":{"position":[[2196,14]]}},"keywords":{}}],["results.for",{"_index":2484,"title":{},"content":{"402":{"position":[[1082,11]]}},"keywords":{}}],["results.length",{"_index":980,"title":{},"content":{"77":{"position":[[348,16]]},"103":{"position":[[388,16]]},"234":{"position":[[448,16]]},"1058":{"position":[[318,16]]}},"keywords":{}}],["results.length}</span>",{"_index":4760,"title":{},"content":{"829":{"position":[[2627,30]]}},"keywords":{}}],["results.map(hero",{"_index":4763,"title":{},"content":{"829":{"position":[[3533,17]]}},"keywords":{}}],["resultset",{"_index":5778,"title":{},"content":{"1067":{"position":[[1946,9]]}},"keywords":{}}],["resultset.length",{"_index":5779,"title":{},"content":{"1067":{"position":[[2049,17]]}},"keywords":{}}],["resultsit",{"_index":4699,"title":{},"content":{"816":{"position":[[197,9]]}},"keywords":{}}],["resum",{"_index":2241,"title":{},"content":{"392":{"position":[[2263,6]]},"630":{"position":[[377,7]]},"632":{"position":[[1990,8]]},"896":{"position":[[191,10]]},"988":{"position":[[377,6]]},"998":{"position":[[60,7]]},"1003":{"position":[[336,8]]}},"keywords":{}}],["resync",{"_index":2751,"title":{"996":{"position":[[0,9]]}},"content":{"412":{"position":[[11917,7]]},"875":{"position":[[8529,6],[8793,6],[9039,6],[9354,6]]},"985":{"position":[[278,6],[578,6]]},"988":{"position":[[5965,6]]},"996":{"position":[[12,6],[387,8],[508,6]]}},"keywords":{}}],["retain",{"_index":2134,"title":{},"content":{"372":{"position":[[318,9]]},"417":{"position":[[70,9]]},"436":{"position":[[134,7]]},"1009":{"position":[[817,6]]}},"keywords":{}}],["retcheckpoint",{"_index":5112,"title":{},"content":{"885":{"position":[[2521,13],[2631,13]]}},"keywords":{}}],["retent",{"_index":2109,"title":{},"content":{"365":{"position":[[586,9],[765,10]]},"411":{"position":[[5746,9]]}},"keywords":{}}],["rethink",{"_index":354,"title":{},"content":{"20":{"position":[[150,7]]}},"keywords":{}}],["rethinkdb",{"_index":346,"title":{"20":{"position":[[0,10]]}},"content":{"20":{"position":[[3,9]]},"21":{"position":[[40,9],[147,9]]},"22":{"position":[[292,10]]}},"keywords":{}}],["retir",{"_index":434,"title":{},"content":{"26":{"position":[[380,7]]}},"keywords":{}}],["retri",{"_index":1803,"title":{},"content":{"302":{"position":[[659,7]]},"487":{"position":[[380,5]]},"612":{"position":[[1658,5]]},"632":{"position":[[2641,5]]},"899":{"position":[[115,8]]},"988":{"position":[[935,8]]},"995":{"position":[[161,5]]},"1031":{"position":[[184,8]]}},"keywords":{}}],["retriev",{"_index":926,"title":{},"content":{"65":{"position":[[1255,10]]},"66":{"position":[[306,9]]},"92":{"position":[[200,9]]},"117":{"position":[[107,9]]},"131":{"position":[[571,8]]},"138":{"position":[[132,9]]},"152":{"position":[[274,10]]},"166":{"position":[[141,9]]},"178":{"position":[[125,10]]},"194":{"position":[[206,10]]},"205":{"position":[[108,10]]},"208":{"position":[[130,10]]},"217":{"position":[[372,9]]},"220":{"position":[[318,10]]},"276":{"position":[[292,9]]},"283":{"position":[[99,9]]},"321":{"position":[[67,8]]},"350":{"position":[[198,8]]},"369":{"position":[[271,9]]},"394":{"position":[[1560,10]]},"395":{"position":[[246,8]]},"398":{"position":[[1828,8]]},"402":{"position":[[132,9]]},"425":{"position":[[325,10]]},"426":{"position":[[201,8],[442,10]]},"427":{"position":[[755,10]]},"430":{"position":[[349,9]]},"435":{"position":[[395,10]]},"444":{"position":[[676,8]]},"507":{"position":[[130,10]]},"527":{"position":[[209,10]]},"556":{"position":[[258,8]]},"632":{"position":[[2428,8]]},"711":{"position":[[645,8]]},"714":{"position":[[264,8]]},"715":{"position":[[46,8],[286,8]]},"1072":{"position":[[111,10]]},"1132":{"position":[[243,9],[665,10]]},"1174":{"position":[[595,8]]},"1294":{"position":[[1054,9]]},"1315":{"position":[[1400,8]]}},"keywords":{}}],["retrieval.build",{"_index":1200,"title":{},"content":{"173":{"position":[[833,18]]}},"keywords":{}}],["retrieval.tab",{"_index":2889,"title":{},"content":{"427":{"position":[[1093,13]]}},"keywords":{}}],["retryattempt",{"_index":5148,"title":{},"content":{"886":{"position":[[4876,14]]}},"keywords":{}}],["retrytim",{"_index":3709,"title":{},"content":{"632":{"position":[[2621,10]]},"862":{"position":[[1518,11]]},"886":{"position":[[1986,9]]},"988":{"position":[[1077,10]]}},"keywords":{}}],["return",{"_index":161,"title":{},"content":{"11":{"position":[[578,6]]},"51":{"position":[[884,6]]},"55":{"position":[[458,6],[511,6]]},"143":{"position":[[757,6]]},"188":{"position":[[1467,6]]},"209":{"position":[[907,6],[936,6],[1216,6],[1266,6]]},"248":{"position":[[201,7]]},"255":{"position":[[1258,6],[1282,6],[1523,6],[1597,6]]},"314":{"position":[[906,6]]},"315":{"position":[[923,6]]},"334":{"position":[[768,6]]},"338":{"position":[[159,8]]},"390":{"position":[[793,7]]},"391":{"position":[[720,6],[842,9]]},"392":{"position":[[4247,6]]},"393":{"position":[[783,7]]},"394":{"position":[[1220,8]]},"398":{"position":[[1582,6],[1700,6],[2735,6],[2853,6]]},"403":{"position":[[1000,6]]},"407":{"position":[[670,8]]},"412":{"position":[[4992,6],[5469,6],[5546,6]]},"439":{"position":[[410,6]]},"460":{"position":[[1269,8]]},"480":{"position":[[766,7],[919,6]]},"482":{"position":[[1035,6]]},"491":{"position":[[1240,8]]},"494":{"position":[[315,6]]},"495":{"position":[[572,9]]},"502":{"position":[[992,7]]},"518":{"position":[[459,7]]},"523":{"position":[[593,6],[616,6]]},"541":{"position":[[462,6],[524,6]]},"542":{"position":[[818,6]]},"554":{"position":[[1549,6]]},"556":{"position":[[451,6]]},"559":{"position":[[370,6],[510,6]]},"562":{"position":[[1360,6],[1438,6]]},"571":{"position":[[933,7]]},"579":{"position":[[782,6]]},"580":{"position":[[14,6]]},"585":{"position":[[15,9]]},"598":{"position":[[914,6]]},"632":{"position":[[1774,7],[1878,6]]},"659":{"position":[[389,6]]},"691":{"position":[[327,6]]},"698":{"position":[[665,9]]},"711":{"position":[[1545,6]]},"724":{"position":[[844,9]]},"749":{"position":[[15913,6],[22486,7]]},"751":{"position":[[340,7],[400,7],[700,6],[943,6],[1032,7],[1312,6],[1480,6],[1802,6],[1976,6],[1994,6]]},"752":{"position":[[117,7],[587,6],[718,7]]},"753":{"position":[[30,7]]},"754":{"position":[[387,6],[547,6],[769,6]]},"767":{"position":[[551,6],[960,6]]},"768":{"position":[[553,6],[962,6]]},"769":{"position":[[510,6],[931,6]]},"775":{"position":[[763,6]]},"789":{"position":[[253,6],[500,6]]},"791":{"position":[[109,6],[368,6]]},"792":{"position":[[240,6]]},"810":{"position":[[109,7]]},"829":{"position":[[867,6],[1606,6],[1733,6],[2002,7],[2548,6],[2594,6],[3170,7],[3467,6],[3513,6],[3822,8]]},"846":{"position":[[1349,7]]},"848":{"position":[[593,6]]},"860":{"position":[[468,8]]},"862":{"position":[[1629,8]]},"872":{"position":[[2732,8]]},"875":{"position":[[1977,7],[3464,6],[3713,6],[4076,6],[6454,6]]},"885":{"position":[[56,7],[173,7],[1072,7],[1146,6],[1769,6],[1813,6],[1879,6],[1909,6],[1925,6],[1949,6],[2103,6],[2154,6],[2268,6],[2286,6],[2314,6],[2586,6],[2647,6]]},"886":{"position":[[167,7],[767,6],[2232,7],[2491,6],[3065,9],[3682,6],[4714,7]]},"887":{"position":[[664,6]]},"888":{"position":[[171,9],[218,7],[322,8],[631,8],[982,8],[1049,6]]},"889":{"position":[[90,7],[242,7],[719,6]]},"890":{"position":[[45,7]]},"898":{"position":[[3594,6],[3808,6],[4237,7],[4547,8]]},"904":{"position":[[3195,7]]},"907":{"position":[[200,7],[350,6]]},"917":{"position":[[37,7]]},"919":{"position":[[1,7],[36,7]]},"920":{"position":[[1,7]]},"929":{"position":[[25,7]]},"930":{"position":[[1,7]]},"931":{"position":[[1,7]]},"932":{"position":[[1,7]]},"941":{"position":[[19,6]]},"942":{"position":[[141,7]]},"943":{"position":[[289,7]]},"944":{"position":[[125,7],[612,6],[659,8]]},"945":{"position":[[66,7]]},"946":{"position":[[98,7]]},"947":{"position":[[114,7]]},"950":{"position":[[46,7]]},"951":{"position":[[154,7],[303,8],[458,8],[501,6]]},"957":{"position":[[1,7],[66,7]]},"968":{"position":[[275,7],[449,6]]},"970":{"position":[[19,6]]},"974":{"position":[[1,7]]},"975":{"position":[[1,7]]},"976":{"position":[[106,7]]},"978":{"position":[[1,7],[64,7]]},"983":{"position":[[245,7],[323,7],[368,8],[589,6],[699,6]]},"984":{"position":[[561,7]]},"988":{"position":[[2803,6],[2872,6],[3184,6],[3858,6],[4190,8]]},"992":{"position":[[38,7]]},"994":{"position":[[161,8]]},"995":{"position":[[1,7]]},"997":{"position":[[26,7]]},"1000":{"position":[[1,7]]},"1001":{"position":[[1,7]]},"1007":{"position":[[1295,7]]},"1008":{"position":[[175,7]]},"1014":{"position":[[118,7]]},"1015":{"position":[[98,7]]},"1016":{"position":[[35,7]]},"1017":{"position":[[21,7]]},"1038":{"position":[[116,10],[168,7]]},"1039":{"position":[[15,7]]},"1042":{"position":[[80,7],[207,6]]},"1044":{"position":[[449,6]]},"1045":{"position":[[1,7]]},"1046":{"position":[[19,6]]},"1047":{"position":[[159,8]]},"1048":{"position":[[605,6]]},"1051":{"position":[[1,7],[61,6]]},"1052":{"position":[[22,7],[250,8]]},"1053":{"position":[[1,7],[64,7]]},"1057":{"position":[[1,7]]},"1061":{"position":[[264,6]]},"1062":{"position":[[30,7]]},"1063":{"position":[[1,7]]},"1065":{"position":[[1691,6],[2001,6]]},"1069":{"position":[[308,7]]},"1070":{"position":[[1,7],[61,7]]},"1072":{"position":[[41,8],[432,7]]},"1104":{"position":[[144,7],[319,7]]},"1105":{"position":[[207,7],[544,6],[692,6],[1100,6]]},"1106":{"position":[[492,6],[606,6],[629,6]]},"1115":{"position":[[135,7]]},"1118":{"position":[[577,6]]},"1140":{"position":[[792,6]]},"1164":{"position":[[1167,6],[1257,9]]},"1185":{"position":[[60,7]]},"1198":{"position":[[1055,6]]},"1218":{"position":[[120,7]]},"1220":{"position":[[318,6],[356,6]]},"1229":{"position":[[80,7]]},"1257":{"position":[[122,6]]},"1268":{"position":[[80,7]]},"1291":{"position":[[124,6]]},"1294":{"position":[[689,8]]},"1309":{"position":[[332,7],[909,6],[1186,6]]},"1311":{"position":[[715,6],[934,6]]},"1315":{"position":[[871,6]]},"1321":{"position":[[926,6]]},"1322":{"position":[[354,6]]}},"keywords":{}}],["reus",{"_index":743,"title":{"239":{"position":[[32,6]]}},"content":{"47":{"position":[[1315,5]]},"112":{"position":[[53,5]]},"174":{"position":[[2660,6],[2850,5]]},"239":{"position":[[58,5],[241,5]]},"384":{"position":[[387,5]]},"595":{"position":[[1338,5]]},"898":{"position":[[2766,5]]},"1124":{"position":[[1287,5],[1404,6]]},"1183":{"position":[[386,6]]},"1267":{"position":[[186,5],[323,7]]}},"keywords":{}}],["reusabl",{"_index":3476,"title":{},"content":{"574":{"position":[[114,8]]},"1249":{"position":[[231,8]]}},"keywords":{}}],["rev",{"_index":5304,"title":{"928":{"position":[[0,4]]}},"content":{},"keywords":{}}],["revenu",{"_index":602,"title":{},"content":{"38":{"position":[[997,7]]},"1112":{"position":[[349,8]]}},"keywords":{}}],["revers",{"_index":2442,"title":{},"content":{"400":{"position":[[419,7]]}},"keywords":{}}],["revert",{"_index":3187,"title":{},"content":{"495":{"position":[[413,6]]}},"keywords":{}}],["review",{"_index":3021,"title":{},"content":{"462":{"position":[[16,8]]}},"keywords":{}}],["revis",{"_index":277,"title":{"1303":{"position":[[28,9]]},"1305":{"position":[[0,10]]}},"content":{"16":{"position":[[401,9]]},"24":{"position":[[425,8],[757,8]]},"35":{"position":[[436,8]]},"203":{"position":[[184,9]]},"412":{"position":[[2077,10],[3332,8],[4946,8]]},"495":{"position":[[227,9],[582,8]]},"496":{"position":[[219,8],[788,8]]},"635":{"position":[[131,9],[385,8]]},"698":{"position":[[2049,8]]},"749":{"position":[[8998,8]]},"793":{"position":[[932,9]]},"841":{"position":[[168,8]]},"844":{"position":[[200,9]]},"928":{"position":[[5,8]]},"1044":{"position":[[118,8]]},"1051":{"position":[[380,9]]},"1198":{"position":[[498,8],[580,9]]},"1200":{"position":[[44,8]]},"1258":{"position":[[149,9]]},"1305":{"position":[[400,9],[431,9],[516,8],[585,8],[836,8],[869,8],[890,8],[990,8],[1021,8]]},"1308":{"position":[[398,9]]},"1309":{"position":[[870,9]]},"1313":{"position":[[1058,8]]},"1324":{"position":[[890,9]]}},"keywords":{}}],["revisions.stor",{"_index":1549,"title":{},"content":{"250":{"position":[[217,15]]}},"keywords":{}}],["revisit",{"_index":5582,"title":{"1008":{"position":[[16,10]]}},"content":{},"keywords":{}}],["revok",{"_index":4017,"title":{},"content":{"715":{"position":[[343,6]]}},"keywords":{}}],["revolut",{"_index":3248,"title":{},"content":{"510":{"position":[[710,11]]}},"keywords":{}}],["revolution",{"_index":3152,"title":{},"content":{"485":{"position":[[184,13]]}},"keywords":{}}],["revolv",{"_index":1336,"title":{},"content":{"208":{"position":[[106,8]]},"514":{"position":[[290,8]]},"632":{"position":[[26,8]]}},"keywords":{}}],["rewrit",{"_index":1389,"title":{},"content":{"212":{"position":[[470,9]]},"354":{"position":[[1039,9]]},"383":{"position":[[448,9]]},"696":{"position":[[1834,7]]},"849":{"position":[[897,7]]}},"keywords":{}}],["rewritten",{"_index":646,"title":{},"content":{"41":{"position":[[28,9]]}},"keywords":{}}],["rfc",{"_index":3012,"title":{},"content":{"461":{"position":[[46,3]]},"617":{"position":[[360,3],[437,3]]}},"keywords":{}}],["riak",{"_index":6584,"title":{},"content":{"1324":{"position":[[953,4]]}},"keywords":{}}],["rich",{"_index":989,"title":{"383":{"position":[[0,4]]}},"content":{"83":{"position":[[47,4]]},"90":{"position":[[301,4]]},"148":{"position":[[281,4]]},"186":{"position":[[385,4]]},"198":{"position":[[230,4]]},"412":{"position":[[3764,4]]},"446":{"position":[[950,4]]},"836":{"position":[[2482,4]]},"860":{"position":[[244,4]]}},"keywords":{}}],["right",{"_index":696,"title":{"212":{"position":[[12,5]]},"262":{"position":[[8,5]]},"441":{"position":[[25,5]]}},"content":{"45":{"position":[[171,5]]},"93":{"position":[[247,5]]},"143":{"position":[[579,6]]},"178":{"position":[[305,5]]},"205":{"position":[[236,5]]},"278":{"position":[[31,5]]},"401":{"position":[[909,5]]},"408":{"position":[[3720,5]]},"410":{"position":[[2176,5]]},"421":{"position":[[544,5]]},"491":{"position":[[902,5]]},"574":{"position":[[575,5]]},"707":{"position":[[393,5]]},"742":{"position":[[81,5]]},"795":{"position":[[210,5]]},"799":{"position":[[657,5]]}},"keywords":{}}],["rigid",{"_index":1659,"title":{},"content":{"282":{"position":[[229,5]]},"351":{"position":[[32,5]]},"362":{"position":[[104,5]]}},"keywords":{}}],["rise",{"_index":2329,"title":{},"content":{"394":{"position":[[1703,4]]},"408":{"position":[[4313,4],[5018,7]]}},"keywords":{}}],["risk",{"_index":2057,"title":{},"content":{"358":{"position":[[309,4],[622,5]]},"377":{"position":[[85,4]]},"382":{"position":[[371,5]]},"410":{"position":[[725,4]]},"412":{"position":[[8469,5],[13395,5]]},"482":{"position":[[21,4]]},"497":{"position":[[550,4]]},"550":{"position":[[327,4]]},"863":{"position":[[995,5]]},"902":{"position":[[427,5]]},"981":{"position":[[1446,7]]},"1090":{"position":[[1303,4]]}},"keywords":{}}],["rl",{"_index":5192,"title":{},"content":{"897":{"position":[[512,5]]},"898":{"position":[[2825,4]]},"899":{"position":[[201,5]]}},"keywords":{}}],["rm",{"_index":4894,"title":{},"content":{"861":{"position":[[563,2]]},"865":{"position":[[224,2]]}},"keywords":{}}],["rm1",{"_index":4431,"title":{},"content":{"749":{"position":[[23588,3]]}},"keywords":{}}],["robust",{"_index":541,"title":{},"content":{"34":{"position":[[552,6]]},"45":{"position":[[257,6]]},"47":{"position":[[407,6]]},"61":{"position":[[369,7]]},"64":{"position":[[45,6]]},"74":{"position":[[13,6]]},"117":{"position":[[226,6]]},"151":{"position":[[415,6]]},"162":{"position":[[311,6]]},"165":{"position":[[359,6]]},"174":{"position":[[854,6]]},"184":{"position":[[91,6]]},"189":{"position":[[363,6]]},"205":{"position":[[84,6]]},"240":{"position":[[163,6]]},"255":{"position":[[69,6]]},"263":{"position":[[124,6]]},"295":{"position":[[210,6]]},"320":{"position":[[323,6]]},"354":{"position":[[1457,6]]},"362":{"position":[[1054,6]]},"373":{"position":[[632,6]]},"386":{"position":[[147,6]]},"388":{"position":[[287,7]]},"408":{"position":[[1849,6]]},"412":{"position":[[9781,6],[14287,6]]},"418":{"position":[[641,6]]},"430":{"position":[[628,6]]},"435":{"position":[[193,10]]},"441":{"position":[[509,6]]},"445":{"position":[[2045,6]]},"447":{"position":[[274,6]]},"479":{"position":[[511,6]]},"503":{"position":[[214,6]]},"513":{"position":[[327,6]]},"517":{"position":[[139,6]]},"530":{"position":[[656,6]]},"557":{"position":[[453,6]]},"560":{"position":[[132,6]]},"564":{"position":[[159,6]]},"567":{"position":[[1180,6]]},"631":{"position":[[351,6]]},"705":{"position":[[924,6]]},"838":{"position":[[888,6]]},"839":{"position":[[791,6]]},"903":{"position":[[661,6]]},"906":{"position":[[640,6]]},"912":{"position":[[253,6]]}},"keywords":{}}],["robust.high",{"_index":2024,"title":{},"content":{"354":{"position":[[674,11]]}},"keywords":{}}],["rocicorp",{"_index":608,"title":{},"content":{"38":{"position":[[1073,8]]}},"keywords":{}}],["role",{"_index":1064,"title":{},"content":{"117":{"position":[[24,4]]},"152":{"position":[[171,4]]},"178":{"position":[[24,4]]},"411":{"position":[[2669,5]]},"447":{"position":[[31,4]]},"534":{"position":[[64,4]]},"569":{"position":[[633,4]]},"594":{"position":[[62,4]]},"897":{"position":[[572,4]]},"898":{"position":[[2885,4]]},"1148":{"position":[[336,6]]}},"keywords":{}}],["roll",{"_index":6487,"title":{},"content":{"1304":{"position":[[964,4]]},"1316":{"position":[[1690,4],[2928,4]]}},"keywords":{}}],["rollback",{"_index":619,"title":{},"content":{"39":{"position":[[212,8]]},"1316":{"position":[[2753,9],[2960,9]]}},"keywords":{}}],["rollup",{"_index":1938,"title":{},"content":{"333":{"position":[[160,7]]},"730":{"position":[[162,7]]}},"keywords":{}}],["room",{"_index":1585,"title":{},"content":{"261":{"position":[[398,6]]},"904":{"position":[[1924,5]]}},"keywords":{}}],["root",{"_index":3236,"title":{},"content":{"504":{"position":[[906,5]]},"1092":{"position":[[100,4]]},"1116":{"position":[[317,4]]},"1208":{"position":[[66,4],[650,4],[708,4]]},"1215":{"position":[[508,4]]},"1266":{"position":[[343,4]]}},"keywords":{}}],["root.getdirectoryhandle('subfold",{"_index":6200,"title":{},"content":{"1208":{"position":[[810,36]]}},"keywords":{}}],["root/user/project/mydatabas",{"_index":93,"title":{},"content":{"6":{"position":[[706,32]]},"7":{"position":[[541,32]]}},"keywords":{}}],["rootpath",{"_index":4271,"title":{},"content":{"749":{"position":[[10515,8]]}},"keywords":{}}],["rootvalu",{"_index":5091,"title":{},"content":{"885":{"position":[[1466,9]]}},"keywords":{}}],["roughli",{"_index":2349,"title":{},"content":{"396":{"position":[[1431,7]]}},"keywords":{}}],["round",{"_index":1011,"title":{},"content":{"92":{"position":[[125,5]]},"173":{"position":[[2024,5]]},"220":{"position":[[118,5]]},"224":{"position":[[270,5]]},"375":{"position":[[314,5]]},"408":{"position":[[2333,5],[2580,5],[2899,5],[3303,5]]},"410":{"position":[[111,5]]},"411":{"position":[[344,5]]},"415":{"position":[[286,5]]},"487":{"position":[[249,5]]},"574":{"position":[[427,5]]},"630":{"position":[[625,5]]},"902":{"position":[[114,5]]}},"keywords":{}}],["rout",{"_index":589,"title":{},"content":{"38":{"position":[[369,6]]},"89":{"position":[[144,7]]},"173":{"position":[[479,7]]},"223":{"position":[[123,7]]},"408":{"position":[[2450,8]]},"411":{"position":[[1213,6]]},"412":{"position":[[4104,6]]},"784":{"position":[[130,6],[149,5],[238,6],[302,6]]},"799":{"position":[[501,6]]},"875":{"position":[[1169,6],[6897,5]]},"1112":{"position":[[574,7]]}},"keywords":{}}],["row",{"_index":1650,"title":{},"content":{"279":{"position":[[335,4]]},"364":{"position":[[658,5]]},"661":{"position":[[1271,4]]},"704":{"position":[[64,5]]},"705":{"position":[[842,4],[860,4]]},"711":{"position":[[1231,3],[1599,5],[1730,4]]},"749":{"position":[[16311,5]]},"836":{"position":[[941,4]]},"875":{"position":[[3688,4],[3809,3],[3985,4],[5958,4]]},"885":{"position":[[70,4]]},"886":{"position":[[2296,4],[2483,4]]},"897":{"position":[[493,3]]},"898":{"position":[[326,3],[395,3],[457,4],[604,4],[1329,3]]},"899":{"position":[[182,3]]},"981":{"position":[[1073,4]]},"1124":{"position":[[775,4],[816,3]]},"1253":{"position":[[96,4]]},"1257":{"position":[[166,4]]},"1314":{"position":[[449,4]]},"1316":{"position":[[792,5],[1092,3],[1279,5],[3426,4]]},"1317":{"position":[[526,4],[653,4],[730,4]]},"1319":{"position":[[448,3]]},"1321":{"position":[[343,4]]}},"keywords":{}}],["rowid",{"_index":6373,"title":{},"content":{"1282":{"position":[[960,5]]}},"keywords":{}}],["rows/docu",{"_index":6570,"title":{},"content":{"1319":{"position":[[115,15]]}},"keywords":{}}],["rs0",{"_index":4943,"title":{},"content":{"872":{"position":[[562,3]]}},"keywords":{}}],["rtc",{"_index":3449,"title":{},"content":{"569":{"position":[[106,6]]},"614":{"position":[[118,5]]}},"keywords":{}}],["rto",{"_index":3453,"title":{},"content":{"569":{"position":[[354,6]]}},"keywords":{}}],["rudimentari",{"_index":728,"title":{},"content":{"47":{"position":[[427,11]]},"535":{"position":[[397,11]]},"595":{"position":[[425,11]]}},"keywords":{}}],["rule",{"_index":1728,"title":{},"content":{"298":{"position":[[766,5]]},"299":{"position":[[105,5]]},"305":{"position":[[362,6]]},"354":{"position":[[1497,5]]},"688":{"position":[[907,4]]},"690":{"position":[[180,4]]},"841":{"position":[[1296,5]]},"1266":{"position":[[732,6]]}},"keywords":{}}],["rules).workflow",{"_index":3203,"title":{},"content":{"497":{"position":[[436,16]]}},"keywords":{}}],["run",{"_index":373,"title":{"92":{"position":[[0,7]]},"188":{"position":[[13,3]]},"207":{"position":[[31,5]]},"682":{"position":[[0,7]]},"757":{"position":[[20,3]]},"1088":{"position":[[0,3]]}},"content":{"22":{"position":[[263,3]]},"23":{"position":[[193,3]]},"29":{"position":[[358,8]]},"30":{"position":[[35,3]]},"38":{"position":[[247,4]]},"65":{"position":[[1040,3]]},"91":{"position":[[88,3]]},"92":{"position":[[42,7]]},"125":{"position":[[110,7]]},"128":{"position":[[135,7]]},"172":{"position":[[301,3]]},"188":{"position":[[62,3],[178,4]]},"204":{"position":[[115,7]]},"207":{"position":[[48,3]]},"220":{"position":[[52,3]]},"248":{"position":[[6,4]]},"251":{"position":[[69,3]]},"252":{"position":[[212,3]]},"254":{"position":[[21,3]]},"262":{"position":[[443,3]]},"291":{"position":[[435,4]]},"300":{"position":[[630,4]]},"301":{"position":[[196,7]]},"305":{"position":[[117,3]]},"309":{"position":[[182,3]]},"313":{"position":[[6,4]]},"330":{"position":[[1,7]]},"354":{"position":[[832,4]]},"357":{"position":[[604,3]]},"367":{"position":[[235,3]]},"376":{"position":[[643,3]]},"391":{"position":[[192,3],[793,7]]},"392":{"position":[[1937,4],[2098,4],[3019,7],[3242,4],[3302,3],[5078,7]]},"394":{"position":[[112,3],[1328,3]]},"399":{"position":[[517,3]]},"403":{"position":[[348,4]]},"408":{"position":[[127,7],[3716,3],[4905,7]]},"410":{"position":[[23,7]]},"411":{"position":[[3226,7],[3629,7],[4721,5]]},"412":{"position":[[11132,3],[11353,4],[13901,7],[14445,3]]},"440":{"position":[[63,7],[189,5]]},"445":{"position":[[2229,3]]},"446":{"position":[[1339,4]]},"451":{"position":[[635,7]]},"454":{"position":[[208,3],[290,3],[397,4]]},"455":{"position":[[865,3]]},"457":{"position":[[346,3],[621,7],[641,7]]},"458":{"position":[[219,8]]},"459":{"position":[[132,7]]},"460":{"position":[[6,7],[196,3],[834,3]]},"462":{"position":[[201,3],[447,3]]},"466":{"position":[[322,7]]},"470":{"position":[[291,7]]},"479":{"position":[[292,3]]},"490":{"position":[[563,7]]},"534":{"position":[[625,3]]},"569":{"position":[[1190,3]]},"575":{"position":[[135,4]]},"581":{"position":[[428,4]]},"594":{"position":[[623,3]]},"612":{"position":[[2526,7]]},"614":{"position":[[920,3]]},"617":{"position":[[1297,3]]},"618":{"position":[[39,7]]},"623":{"position":[[427,3]]},"647":{"position":[[488,3]]},"653":{"position":[[742,8],[1027,7],[1082,8]]},"654":{"position":[[18,3],[99,3]]},"656":{"position":[[23,3],[63,3],[244,3]]},"660":{"position":[[22,3]]},"662":{"position":[[2650,3]]},"666":{"position":[[315,3],[425,3]]},"668":{"position":[[337,3],[380,3]]},"670":{"position":[[67,4],[504,3],[512,3],[544,3]]},"678":{"position":[[153,3]]},"680":{"position":[[1283,3]]},"681":{"position":[[42,3],[320,3],[560,3],[704,3],[762,4],[870,3]]},"683":{"position":[[778,3]]},"693":{"position":[[47,3]]},"699":{"position":[[690,3],[791,3],[824,4],[897,7]]},"700":{"position":[[669,8]]},"703":{"position":[[449,4],[1022,3]]},"704":{"position":[[36,3],[324,7],[530,3]]},"707":{"position":[[125,4],[252,4]]},"708":{"position":[[18,4],[572,3]]},"709":{"position":[[1315,4]]},"710":{"position":[[1299,3],[1958,3]]},"721":{"position":[[98,3]]},"724":{"position":[[1513,3]]},"726":{"position":[[94,4]]},"739":{"position":[[557,4]]},"742":{"position":[[1,3]]},"743":{"position":[[253,3]]},"746":{"position":[[65,3]]},"747":{"position":[[37,3]]},"749":{"position":[[2594,7],[2654,3],[9106,3],[12224,3],[12428,7],[15057,3],[21176,3],[23514,7]]},"752":{"position":[[483,3],[826,3],[1122,9],[1141,9]]},"754":{"position":[[108,7]]},"755":{"position":[[104,7]]},"756":{"position":[[70,3],[225,3],[281,3]]},"757":{"position":[[66,7]]},"760":{"position":[[204,3]]},"761":{"position":[[359,7]]},"764":{"position":[[59,7],[206,3]]},"770":{"position":[[557,3]]},"772":{"position":[[985,3]]},"775":{"position":[[474,3],[722,3]]},"776":{"position":[[361,4]]},"780":{"position":[[753,3]]},"784":{"position":[[523,3]]},"795":{"position":[[10,3]]},"796":{"position":[[183,4]]},"798":{"position":[[183,4],[229,3]]},"799":{"position":[[450,7]]},"815":{"position":[[154,4]]},"821":{"position":[[188,3],[219,3],[442,3],[893,5]]},"835":{"position":[[261,7]]},"836":{"position":[[917,3]]},"838":{"position":[[2864,3]]},"840":{"position":[[144,3]]},"846":{"position":[[543,7]]},"848":{"position":[[995,8]]},"851":{"position":[[184,7]]},"861":{"position":[[403,3],[456,4],[553,3]]},"862":{"position":[[1677,3]]},"863":{"position":[[422,3]]},"865":{"position":[[218,3]]},"866":{"position":[[232,4]]},"871":{"position":[[626,4]]},"872":{"position":[[230,7],[281,7],[655,7],[2779,3]]},"875":{"position":[[5706,3],[5919,7],[9187,3]]},"879":{"position":[[47,3],[185,7]]},"890":{"position":[[551,3]]},"898":{"position":[[3762,4],[4595,3]]},"908":{"position":[[290,3]]},"932":{"position":[[597,3]]},"947":{"position":[[22,4],[85,7]]},"948":{"position":[[10,3],[151,3],[230,8],[281,3]]},"951":{"position":[[89,7]]},"956":{"position":[[43,3]]},"968":{"position":[[348,4],[707,7]]},"975":{"position":[[332,3],[526,3]]},"981":{"position":[[998,7],[1614,4]]},"983":{"position":[[1103,4]]},"985":{"position":[[369,3]]},"988":{"position":[[719,3],[1213,3]]},"989":{"position":[[41,4],[198,4],[453,3]]},"993":{"position":[[366,7],[655,8]]},"995":{"position":[[147,7],[263,7],[908,7]]},"996":{"position":[[383,3]]},"998":{"position":[[10,7]]},"1003":{"position":[[31,7]]},"1010":{"position":[[118,4]]},"1022":{"position":[[977,8]]},"1023":{"position":[[641,8]]},"1026":{"position":[[176,7]]},"1030":{"position":[[167,4]]},"1031":{"position":[[44,3]]},"1032":{"position":[[10,3]]},"1033":{"position":[[21,8]]},"1059":{"position":[[1,4]]},"1060":{"position":[[1,4]]},"1061":{"position":[[1,4]]},"1066":{"position":[[314,7]]},"1067":{"position":[[779,3],[961,3],[1196,3],[1426,3],[1798,7],[1891,3]]},"1068":{"position":[[179,3],[319,7]]},"1069":{"position":[[215,3]]},"1071":{"position":[[317,3]]},"1072":{"position":[[664,4],[1449,4]]},"1085":{"position":[[3766,3]]},"1088":{"position":[[88,7]]},"1092":{"position":[[448,3]]},"1093":{"position":[[12,7],[482,3]]},"1105":{"position":[[948,3],[1144,3]]},"1110":{"position":[[35,3]]},"1115":{"position":[[716,3]]},"1124":{"position":[[1529,7],[1587,3],[1810,3]]},"1125":{"position":[[635,3],[834,3]]},"1126":{"position":[[163,3]]},"1133":{"position":[[415,3]]},"1138":{"position":[[390,3]]},"1139":{"position":[[40,3],[95,3]]},"1143":{"position":[[517,4]]},"1145":{"position":[[40,3],[91,3]]},"1161":{"position":[[58,3]]},"1164":{"position":[[451,3],[1367,8]]},"1165":{"position":[[211,3],[692,4]]},"1170":{"position":[[13,3]]},"1174":{"position":[[510,3]]},"1175":{"position":[[378,7],[533,4],[686,3]]},"1180":{"position":[[58,3],[363,3]]},"1183":{"position":[[331,4]]},"1184":{"position":[[33,7],[187,3]]},"1185":{"position":[[1,7],[100,3]]},"1192":{"position":[[127,3]]},"1194":{"position":[[79,3],[876,3],[1027,4]]},"1210":{"position":[[32,3]]},"1212":{"position":[[18,3]]},"1228":{"position":[[216,4]]},"1231":{"position":[[61,3],[364,3]]},"1238":{"position":[[89,3],[216,3]]},"1246":{"position":[[90,3],[434,3],[2073,3]]},"1250":{"position":[[27,3],[166,4],[395,4],[484,3]]},"1251":{"position":[[358,3]]},"1271":{"position":[[479,3]]},"1276":{"position":[[53,3]]},"1280":{"position":[[99,7]]},"1294":{"position":[[1009,3]]},"1295":{"position":[[867,7],[973,7],[1282,3]]},"1296":{"position":[[363,3],[564,4],[1662,7]]},"1297":{"position":[[106,4],[559,4]]},"1300":{"position":[[503,3],[678,8]]},"1301":{"position":[[638,4]]},"1304":{"position":[[520,7],[595,3],[823,3]]},"1309":{"position":[[204,3]]},"1313":{"position":[[46,3],[168,3]]},"1314":{"position":[[408,3]]},"1315":{"position":[[57,3],[786,3],[1095,7],[1168,4],[1269,5],[1665,3]]},"1316":{"position":[[211,3],[761,4],[977,4],[1187,4],[1552,7],[1722,3],[1913,7],[1971,3],[2370,3]]},"1317":{"position":[[554,7]]},"1318":{"position":[[661,7],[728,3],[1152,3]]},"1321":{"position":[[239,3],[522,4]]},"1323":{"position":[[13,3]]},"1324":{"position":[[45,3],[533,4],[731,3]]}},"keywords":{}}],["runaway",{"_index":1701,"title":{},"content":{"298":{"position":[[29,7]]}},"keywords":{}}],["runeach",{"_index":3754,"title":{},"content":{"653":{"position":[[898,9],[946,8]]}},"keywords":{}}],["runsnew",{"_index":4526,"title":{},"content":{"767":{"position":[[168,7]]}},"keywords":{}}],["runtim",{"_index":8,"title":{"254":{"position":[[34,8]]},"640":{"position":[[41,8]]},"783":{"position":[[24,9]]}},"content":{"1":{"position":[[90,7]]},"36":{"position":[[110,9]]},"174":{"position":[[940,7]]},"188":{"position":[[157,8],[191,7],[238,8],[1864,8]]},"207":{"position":[[260,7]]},"369":{"position":[[1441,7]]},"437":{"position":[[169,8]]},"438":{"position":[[65,8],[166,8]]},"440":{"position":[[21,7]]},"489":{"position":[[203,7]]},"556":{"position":[[196,8]]},"640":{"position":[[518,7]]},"662":{"position":[[635,7]]},"674":{"position":[[146,7]]},"707":{"position":[[13,7],[466,8]]},"729":{"position":[[252,8]]},"743":{"position":[[143,8]]},"749":{"position":[[1137,8],[21197,8]]},"783":{"position":[[419,9]]},"820":{"position":[[436,8]]},"821":{"position":[[400,8]]},"824":{"position":[[218,8]]},"904":{"position":[[555,9]]},"962":{"position":[[318,9]]},"964":{"position":[[99,8]]},"968":{"position":[[177,8]]},"1085":{"position":[[2558,8]]},"1191":{"position":[[158,7],[187,8]]},"1202":{"position":[[291,8]]},"1203":{"position":[[46,9]]},"1274":{"position":[[405,8]]},"1279":{"position":[[792,8]]},"1282":{"position":[[17,8]]}},"keywords":{}}],["runtime’",{"_index":1568,"title":{},"content":{"254":{"position":[[266,9]]}},"keywords":{}}],["rust",{"_index":2559,"title":{},"content":{"408":{"position":[[3555,5]]}},"keywords":{}}],["rxappwritereplicationst",{"_index":4910,"title":{},"content":{"862":{"position":[[1593,26]]}},"keywords":{}}],["rxattach",{"_index":4480,"title":{"922":{"position":[[0,13]]}},"content":{"754":{"position":[[16,13]]},"792":{"position":[[75,13]]},"917":{"position":[[541,13]]},"919":{"position":[[12,12]]},"922":{"position":[[53,12]]},"1004":{"position":[[182,13]]},"1081":{"position":[[100,13]]}},"keywords":{}}],["rxcachereplacementpolici",{"_index":4703,"title":{},"content":{"818":{"position":[[82,25]]}},"keywords":{}}],["rxcollect",{"_index":1276,"title":{"933":{"position":[[0,12]]},"1013":{"position":[[40,13]]}},"content":{"188":{"position":[[2742,12]]},"397":{"position":[[101,13]]},"653":{"position":[[592,12]]},"717":{"position":[[1261,12]]},"723":{"position":[[1106,13],[1402,13]]},"734":{"position":[[580,13]]},"749":{"position":[[7747,12],[8744,12],[14503,13],[14701,12],[24308,12]]},"766":{"position":[[260,12]]},"767":{"position":[[290,12]]},"768":{"position":[[249,12]]},"769":{"position":[[264,12]]},"793":{"position":[[117,12]]},"806":{"position":[[448,12]]},"818":{"position":[[120,12],[399,13]]},"826":{"position":[[72,14]]},"847":{"position":[[70,12]]},"854":{"position":[[561,13]]},"862":{"position":[[329,12]]},"866":{"position":[[241,13],[282,13]]},"875":{"position":[[295,13]]},"916":{"position":[[109,13]]},"957":{"position":[[52,13]]},"958":{"position":[[327,12],[431,12],[563,13]]},"979":{"position":[[25,12],[152,12]]},"987":{"position":[[576,12]]},"988":{"position":[[43,12]]},"1013":{"position":[[667,12]]},"1020":{"position":[[42,12],[72,12]]},"1027":{"position":[[122,12]]},"1100":{"position":[[113,12]]},"1107":{"position":[[1083,14]]},"1111":{"position":[[73,12]]},"1121":{"position":[[56,12]]},"1231":{"position":[[957,13]]}},"keywords":{}}],["rxcollection.addhook",{"_index":4237,"title":{},"content":{"749":{"position":[[7647,22]]}},"keywords":{}}],["rxcollection.cleanup",{"_index":3760,"title":{},"content":{"654":{"position":[[58,23]]}},"keywords":{}}],["rxcollection.find",{"_index":4229,"title":{},"content":{"749":{"position":[[7183,19]]}},"keywords":{}}],["rxcollection.findon",{"_index":4232,"title":{},"content":{"749":{"position":[[7307,22]]}},"keywords":{}}],["rxcollection.importjson",{"_index":4309,"title":{},"content":{"749":{"position":[[13385,26],[13514,26]]}},"keywords":{}}],["rxcollection.incrementalupsert",{"_index":4227,"title":{},"content":{"749":{"position":[[7064,32]]}},"keywords":{}}],["rxcollection.insert",{"_index":3883,"title":{},"content":{"683":{"position":[[142,21]]},"749":{"position":[[6832,21]]},"767":{"position":[[75,19]]}},"keywords":{}}],["rxcollection.orm",{"_index":4247,"title":{},"content":{"749":{"position":[[8441,17]]}},"keywords":{}}],["rxcollection.upsert",{"_index":4225,"title":{},"content":{"749":{"position":[[6956,21]]}},"keywords":{}}],["rxconflicthandler<any>",{"_index":6496,"title":{},"content":{"1309":{"position":[[521,28]]}},"keywords":{}}],["rxcouchdbreplicationst",{"_index":4831,"title":{},"content":{"846":{"position":[[1359,25]]}},"keywords":{}}],["rxcouchdbreplicationstate.awaitinitialrepl",{"_index":4328,"title":{},"content":{"749":{"position":[[14769,51],[14925,51]]}},"keywords":{}}],["rxdatabas",{"_index":843,"title":{"959":{"position":[[0,10]]},"1013":{"position":[[26,10]]},"1213":{"position":[[38,10]]}},"content":{"55":{"position":[[655,11]]},"188":{"position":[[487,10],[942,10],[2627,10]]},"366":{"position":[[491,10]]},"653":{"position":[[46,10]]},"693":{"position":[[93,10],[558,10]]},"717":{"position":[[884,10]]},"719":{"position":[[353,10]]},"734":{"position":[[397,11]]},"749":{"position":[[3384,10],[3556,10],[5585,10],[14489,10],[23989,10]]},"759":{"position":[[332,10]]},"767":{"position":[[275,10]]},"768":{"position":[[234,10]]},"769":{"position":[[249,10]]},"793":{"position":[[97,10]]},"806":{"position":[[433,10]]},"872":{"position":[[2927,10],[3663,10]]},"892":{"position":[[129,10]]},"934":{"position":[[46,10]]},"955":{"position":[[51,11]]},"958":{"position":[[370,11]]},"961":{"position":[[80,11]]},"966":{"position":[[40,10]]},"967":{"position":[[36,11]]},"970":{"position":[[83,11]]},"974":{"position":[[43,10]]},"977":{"position":[[397,10],[516,10]]},"978":{"position":[[52,11]]},"979":{"position":[[81,11]]},"1013":{"position":[[262,10],[695,11],[752,10]]},"1027":{"position":[[138,10]]},"1085":{"position":[[3675,10]]},"1088":{"position":[[403,10]]},"1097":{"position":[[189,10]]},"1114":{"position":[[43,11],[148,11]]},"1119":{"position":[[346,11]]},"1124":{"position":[[1631,10],[2159,10]]},"1125":{"position":[[782,10]]},"1138":{"position":[[130,11]]},"1154":{"position":[[680,10]]},"1163":{"position":[[468,10]]},"1164":{"position":[[600,10]]},"1165":{"position":[[275,11]]},"1174":{"position":[[786,11]]},"1182":{"position":[[472,10]]},"1188":{"position":[[305,10]]},"1189":{"position":[[191,11]]},"1213":{"position":[[357,11],[382,10],[784,10]]},"1219":{"position":[[469,10]]},"1222":{"position":[[1327,10]]},"1227":{"position":[[446,10]]},"1230":{"position":[[46,10],[315,10]]},"1231":{"position":[[179,10],[942,10]]},"1233":{"position":[[234,10]]},"1246":{"position":[[2119,10]]},"1265":{"position":[[439,11]]},"1267":{"position":[[111,11],[229,11]]},"1271":{"position":[[951,11]]},"1277":{"position":[[129,11]]}},"keywords":{}}],["rxdatabase.addcollect",{"_index":4198,"title":{},"content":{"749":{"position":[[4858,28],[4990,28],[5142,28],[5244,28],[5356,28],[6344,28]]},"752":{"position":[[89,27]]}},"keywords":{}}],["rxdatabase.migrationst",{"_index":4473,"title":{},"content":{"753":{"position":[[1,28]]}},"keywords":{}}],["rxdatabase.serv",{"_index":4414,"title":{},"content":{"749":{"position":[[22277,19]]}},"keywords":{}}],["rxdatabaseprovid",{"_index":4436,"title":{},"content":{"749":{"position":[[24011,18]]},"829":{"position":[[1031,19],[1302,18]]},"832":{"position":[[158,19]]}},"keywords":{}}],["rxdatabasestate.collection.find",{"_index":1288,"title":{},"content":{"188":{"position":[[3065,34]]}},"keywords":{}}],["rxdb",{"_index":25,"title":{"13":{"position":[[16,5]]},"44":{"position":[[46,4]]},"48":{"position":[[7,4]]},"49":{"position":[[11,5]]},"56":{"position":[[31,5]]},"57":{"position":[[9,4]]},"62":{"position":[[18,4]]},"71":{"position":[[4,4]]},"85":{"position":[[0,5]]},"102":{"position":[[4,4]]},"115":{"position":[[0,4]]},"118":{"position":[[12,4]]},"119":{"position":[[21,5]]},"120":{"position":[[8,6]]},"126":{"position":[[0,4]]},"127":{"position":[[6,4]]},"128":{"position":[[11,4]]},"130":{"position":[[41,4]]},"131":{"position":[[31,5]]},"132":{"position":[[24,4]]},"137":{"position":[[9,4]]},"142":{"position":[[25,4]]},"150":{"position":[[0,4]]},"151":{"position":[[51,5]]},"153":{"position":[[12,4]]},"154":{"position":[[21,5]]},"155":{"position":[[8,6]]},"161":{"position":[[0,4]]},"162":{"position":[[31,5]]},"163":{"position":[[24,4]]},"165":{"position":[[0,4]]},"166":{"position":[[9,4]]},"171":{"position":[[6,4]]},"174":{"position":[[4,4]]},"176":{"position":[[0,4]]},"179":{"position":[[12,4]]},"180":{"position":[[21,5]]},"181":{"position":[[8,6]]},"186":{"position":[[0,4]]},"187":{"position":[[6,4]]},"188":{"position":[[4,4]]},"189":{"position":[[31,5]]},"190":{"position":[[24,4]]},"192":{"position":[[0,4]]},"193":{"position":[[9,4]]},"199":{"position":[[0,4]]},"200":{"position":[[4,4]]},"209":{"position":[[18,4]]},"212":{"position":[[3,4]]},"213":{"position":[[0,4]]},"229":{"position":[[4,4]]},"246":{"position":[[0,4]]},"247":{"position":[[11,4]]},"256":{"position":[[21,4]]},"257":{"position":[[8,6]]},"262":{"position":[[3,4]]},"264":{"position":[[0,4]]},"267":{"position":[[14,5]]},"268":{"position":[[16,4]]},"271":{"position":[[12,4]]},"272":{"position":[[21,5]]},"273":{"position":[[8,6]]},"284":{"position":[[6,4]]},"285":{"position":[[6,5]]},"286":{"position":[[6,4]]},"287":{"position":[[31,5]]},"288":{"position":[[25,4]]},"289":{"position":[[0,4]]},"290":{"position":[[0,4]]},"291":{"position":[[0,4]]},"307":{"position":[[0,4]]},"308":{"position":[[4,4]]},"314":{"position":[[26,4]]},"317":{"position":[[0,4]]},"319":{"position":[[0,4]]},"322":{"position":[[12,4]]},"324":{"position":[[21,5]]},"325":{"position":[[8,6]]},"331":{"position":[[0,4]]},"332":{"position":[[6,4]]},"333":{"position":[[11,5]]},"336":{"position":[[31,5]]},"337":{"position":[[24,4]]},"341":{"position":[[9,4]]},"346":{"position":[[25,4]]},"348":{"position":[[36,4]]},"359":{"position":[[0,5]]},"361":{"position":[[26,5]]},"363":{"position":[[0,4]]},"368":{"position":[[16,4]]},"369":{"position":[[0,4]]},"370":{"position":[[0,4]]},"371":{"position":[[0,4]]},"374":{"position":[[33,4]]},"378":{"position":[[4,4]]},"389":{"position":[[27,4]]},"392":{"position":[[26,5]]},"397":{"position":[[30,5]]},"443":{"position":[[18,4]]},"445":{"position":[[12,5]]},"446":{"position":[[14,4]]},"472":{"position":[[0,4]]},"479":{"position":[[12,4]]},"481":{"position":[[26,5]]},"484":{"position":[[31,4]]},"488":{"position":[[33,5]]},"499":{"position":[[0,4]]},"501":{"position":[[12,4]]},"502":{"position":[[21,5]]},"503":{"position":[[6,4]]},"505":{"position":[[9,4]]},"512":{"position":[[0,4]]},"513":{"position":[[12,4]]},"514":{"position":[[8,6]]},"520":{"position":[[0,4]]},"521":{"position":[[40,5]]},"522":{"position":[[6,4]]},"523":{"position":[[6,4]]},"524":{"position":[[31,5]]},"525":{"position":[[24,4]]},"526":{"position":[[9,4]]},"532":{"position":[[48,4]]},"536":{"position":[[7,4]]},"537":{"position":[[11,5]]},"543":{"position":[[29,5]]},"544":{"position":[[9,4]]},"552":{"position":[[25,4]]},"553":{"position":[[11,4]]},"554":{"position":[[15,4]]},"558":{"position":[[72,4]]},"561":{"position":[[37,4]]},"562":{"position":[[0,4]]},"564":{"position":[[36,5]]},"566":{"position":[[39,5]]},"573":{"position":[[0,4]]},"575":{"position":[[12,4]]},"576":{"position":[[0,4]]},"577":{"position":[[21,5]]},"580":{"position":[[19,4]]},"581":{"position":[[31,5]]},"582":{"position":[[24,4]]},"583":{"position":[[9,4]]},"590":{"position":[[25,4]]},"592":{"position":[[46,4]]},"596":{"position":[[7,4]]},"597":{"position":[[11,5]]},"603":{"position":[[27,5]]},"604":{"position":[[9,4]]},"629":{"position":[[35,4]]},"631":{"position":[[0,5]]},"640":{"position":[[10,4]]},"657":{"position":[[29,4]]},"662":{"position":[[0,5]]},"677":{"position":[[0,4]]},"678":{"position":[[0,4]]},"706":{"position":[[20,4]]},"710":{"position":[[0,5]]},"711":{"position":[[30,5]]},"713":{"position":[[32,4]]},"717":{"position":[[10,4]]},"724":{"position":[[10,4]]},"725":{"position":[[8,4]]},"731":{"position":[[22,4]]},"744":{"position":[[0,4]]},"748":{"position":[[0,4]]},"749":{"position":[[4,4]]},"760":{"position":[[24,4]]},"761":{"position":[[25,4]]},"773":{"position":[[0,4]]},"775":{"position":[[42,5]]},"793":{"position":[[0,4]]},"794":{"position":[[21,4]]},"804":{"position":[[0,5]]},"823":{"position":[[0,4]]},"838":{"position":[[0,5]]},"859":{"position":[[0,4]]},"860":{"position":[[19,4]]},"862":{"position":[[15,4]]},"868":{"position":[[4,4]]},"869":{"position":[[31,4]]},"874":{"position":[[41,4]]},"877":{"position":[[0,4]]},"886":{"position":[[0,4]]},"895":{"position":[[32,4]]},"896":{"position":[[20,4]]},"898":{"position":[[11,4]]},"900":{"position":[[28,4]]},"903":{"position":[[47,4]]},"904":{"position":[[6,4]]},"1006":{"position":[[18,5]]},"1096":{"position":[[0,4]]},"1113":{"position":[[41,4]]},"1122":{"position":[[0,4]]},"1131":{"position":[[0,4]]},"1144":{"position":[[37,5]]},"1147":{"position":[[35,5]]},"1149":{"position":[[11,4]]},"1158":{"position":[[43,5]]},"1190":{"position":[[12,4]]},"1205":{"position":[[52,4]]},"1210":{"position":[[27,5]]},"1248":{"position":[[0,4]]},"1304":{"position":[[4,4]]},"1310":{"position":[[6,4]]}},"content":{"1":{"position":[[352,6]]},"2":{"position":[[6,4]]},"8":{"position":[[758,7]]},"13":{"position":[[1,4],[230,4],[336,5]]},"14":{"position":[[948,4],[1081,4],[1201,4]]},"16":{"position":[[367,5]]},"19":{"position":[[982,4]]},"24":{"position":[[514,4]]},"28":{"position":[[641,4],[791,4]]},"33":{"position":[[304,5],[528,4],[617,4]]},"34":{"position":[[393,4],[538,4],[677,4]]},"35":{"position":[[468,4]]},"37":{"position":[[301,4]]},"39":{"position":[[606,5]]},"40":{"position":[[615,5],[823,4]]},"42":{"position":[[200,4],[229,4],[331,4]]},"43":{"position":[[195,4],[241,4]]},"47":{"position":[[774,5],[974,4],[1272,4]]},"49":{"position":[[17,4],[74,4]]},"50":{"position":[[1,4],[218,4]]},"51":{"position":[[1,4]]},"53":{"position":[[18,4]]},"55":{"position":[[54,4]]},"56":{"position":[[28,4],[79,4]]},"57":{"position":[[44,4],[132,4],[184,4],[305,4],[376,4],[478,4]]},"58":{"position":[[209,4]]},"59":{"position":[[150,4],[288,4]]},"60":{"position":[[87,5]]},"61":{"position":[[30,4],[119,4],[165,4],[182,4],[254,4],[419,4]]},"71":{"position":[[1,4]]},"72":{"position":[[1,4]]},"73":{"position":[[31,5]]},"74":{"position":[[1,4]]},"75":{"position":[[1,4]]},"76":{"position":[[70,4]]},"79":{"position":[[1,4]]},"80":{"position":[[47,4]]},"83":{"position":[[16,4],[351,4]]},"84":{"position":[[23,4],[115,4],[179,4],[290,4],[405,4]]},"94":{"position":[[30,5]]},"95":{"position":[[119,5]]},"99":{"position":[[289,4]]},"102":{"position":[[1,4],[97,4]]},"103":{"position":[[1,4]]},"104":{"position":[[1,4]]},"105":{"position":[[88,5]]},"106":{"position":[[1,4]]},"107":{"position":[[1,4]]},"108":{"position":[[1,4]]},"109":{"position":[[1,4]]},"110":{"position":[[1,4]]},"111":{"position":[[28,4]]},"112":{"position":[[1,4]]},"113":{"position":[[1,4]]},"114":{"position":[[23,4],[128,4],[192,4],[303,4],[418,4],[442,4]]},"118":{"position":[[1,4],[234,4]]},"119":{"position":[[27,5]]},"120":{"position":[[1,4],[206,4]]},"121":{"position":[[16,4],[63,4],[170,5]]},"122":{"position":[[33,4],[152,4]]},"123":{"position":[[1,4],[189,4]]},"124":{"position":[[1,4]]},"125":{"position":[[1,4],[144,4]]},"126":{"position":[[76,4]]},"127":{"position":[[42,4]]},"128":{"position":[[8,4],[109,4],[179,4],[223,4]]},"129":{"position":[[234,4],[507,5],[522,4]]},"130":{"position":[[159,5],[206,4],[349,4]]},"131":{"position":[[1,4],[211,4],[390,4],[767,4],[1000,4]]},"132":{"position":[[87,4],[258,5]]},"133":{"position":[[29,4],[146,4]]},"134":{"position":[[105,4],[262,4]]},"135":{"position":[[1,4],[216,4]]},"136":{"position":[[1,4]]},"137":{"position":[[1,4]]},"138":{"position":[[31,4]]},"139":{"position":[[1,4],[168,4]]},"140":{"position":[[1,4]]},"141":{"position":[[58,4],[116,4]]},"142":{"position":[[21,4]]},"143":{"position":[[171,4]]},"144":{"position":[[1,4]]},"145":{"position":[[148,4]]},"146":{"position":[[1,4],[329,5]]},"147":{"position":[[162,4]]},"148":{"position":[[1,4],[175,4]]},"149":{"position":[[23,4],[128,4],[192,4],[303,4],[418,4]]},"151":{"position":[[37,5],[297,5],[401,4]]},"153":{"position":[[1,5],[177,4],[269,5]]},"155":{"position":[[1,4]]},"156":{"position":[[33,4]]},"157":{"position":[[1,4]]},"158":{"position":[[1,4]]},"159":{"position":[[1,4]]},"160":{"position":[[1,4]]},"161":{"position":[[143,5],[306,4]]},"162":{"position":[[1,4]]},"164":{"position":[[23,4]]},"165":{"position":[[1,4]]},"166":{"position":[[71,4],[314,4]]},"167":{"position":[[48,4],[246,4]]},"168":{"position":[[1,4]]},"169":{"position":[[47,4]]},"170":{"position":[[1,4],[252,4],[597,4]]},"173":{"position":[[1198,5],[1944,5],[2231,5]]},"174":{"position":[[1,4],[133,4],[190,4],[465,4],[983,4],[1295,4],[1561,4],[1800,4],[2093,5],[2380,4],[2609,4]]},"175":{"position":[[20,4],[121,4],[185,4],[296,4],[409,4],[446,4]]},"179":{"position":[[1,4],[264,4]]},"180":{"position":[[19,4]]},"181":{"position":[[1,4]]},"182":{"position":[[29,4],[206,5]]},"183":{"position":[[1,4]]},"184":{"position":[[77,4],[228,4]]},"185":{"position":[[1,4]]},"186":{"position":[[170,4]]},"187":{"position":[[45,5]]},"188":{"position":[[1,4],[166,4],[415,5],[586,4],[671,7],[1994,4],[2066,4],[2241,4],[2304,5],[2403,4]]},"189":{"position":[[1,4],[203,5],[392,4]]},"190":{"position":[[29,4]]},"192":{"position":[[1,4]]},"193":{"position":[[1,4]]},"194":{"position":[[100,4]]},"195":{"position":[[38,4]]},"196":{"position":[[1,4]]},"197":{"position":[[60,4]]},"198":{"position":[[1,4],[187,4],[285,4],[516,4]]},"201":{"position":[[92,4]]},"202":{"position":[[68,4]]},"203":{"position":[[88,5],[217,4]]},"204":{"position":[[150,5]]},"205":{"position":[[61,4]]},"206":{"position":[[127,5]]},"208":{"position":[[1,4]]},"210":{"position":[[45,4]]},"211":{"position":[[9,4],[27,4]]},"212":{"position":[[219,4]]},"222":{"position":[[31,5]]},"226":{"position":[[356,5]]},"229":{"position":[[1,4],[175,4]]},"230":{"position":[[1,4],[92,4]]},"231":{"position":[[1,4],[205,4]]},"232":{"position":[[80,4]]},"233":{"position":[[1,4]]},"234":{"position":[[1,4],[212,4]]},"235":{"position":[[1,4]]},"236":{"position":[[1,4]]},"237":{"position":[[1,4]]},"238":{"position":[[208,4]]},"239":{"position":[[1,4],[222,4]]},"240":{"position":[[122,4]]},"241":{"position":[[20,4],[121,4],[177,4],[284,5],[365,4]]},"247":{"position":[[148,5]]},"248":{"position":[[1,4]]},"249":{"position":[[19,4]]},"250":{"position":[[160,4]]},"251":{"position":[[55,5],[238,4]]},"252":{"position":[[110,5]]},"253":{"position":[[120,4]]},"254":{"position":[[1,4]]},"255":{"position":[[1,4],[320,4],[1783,4]]},"257":{"position":[[13,4]]},"260":{"position":[[117,4],[313,4]]},"261":{"position":[[47,4],[554,4]]},"262":{"position":[[233,5],[395,5]]},"263":{"position":[[224,4],[394,4],[464,4],[570,4]]},"265":{"position":[[36,4],[382,5],[520,4],[756,4]]},"266":{"position":[[7,4],[573,7]]},"267":{"position":[[1124,4],[1562,4]]},"271":{"position":[[1,4],[282,4]]},"273":{"position":[[14,4],[243,4]]},"274":{"position":[[37,4],[265,4]]},"277":{"position":[[1,4]]},"278":{"position":[[96,4],[213,4]]},"279":{"position":[[23,5]]},"280":{"position":[[110,4],[322,4]]},"281":{"position":[[137,4],[278,4]]},"282":{"position":[[137,5]]},"283":{"position":[[194,4]]},"284":{"position":[[140,5]]},"285":{"position":[[22,4],[74,4],[179,4],[403,4]]},"286":{"position":[[1,4],[210,4]]},"287":{"position":[[1,4],[1199,4]]},"288":{"position":[[198,4]]},"289":{"position":[[323,4],[788,4],[1099,5],[1177,4],[1673,5]]},"290":{"position":[[70,4],[171,4]]},"291":{"position":[[1,4],[138,4]]},"292":{"position":[[49,4]]},"293":{"position":[[109,4],[253,4]]},"294":{"position":[[51,4]]},"295":{"position":[[39,4],[76,4],[289,4]]},"296":{"position":[[13,4],[51,4],[75,4]]},"303":{"position":[[294,4]]},"306":{"position":[[230,4]]},"309":{"position":[[131,4],[282,4]]},"310":{"position":[[75,4],[312,4]]},"312":{"position":[[43,4],[240,4]]},"313":{"position":[[1,4]]},"314":{"position":[[215,4],[246,4],[264,4],[1012,4]]},"315":{"position":[[1115,4]]},"316":{"position":[[36,4],[422,4]]},"318":{"position":[[142,4],[378,4],[409,4],[475,4],[544,4],[555,4]]},"321":{"position":[[457,5]]},"322":{"position":[[1,4],[161,5]]},"323":{"position":[[25,4],[591,4]]},"325":{"position":[[1,4]]},"327":{"position":[[233,4]]},"328":{"position":[[1,4]]},"329":{"position":[[28,4],[105,4]]},"330":{"position":[[43,4]]},"331":{"position":[[221,4]]},"333":{"position":[[9,4],[55,4],[177,4],[236,4]]},"334":{"position":[[48,4],[198,7]]},"335":{"position":[[20,4]]},"336":{"position":[[1,4]]},"338":{"position":[[168,4]]},"339":{"position":[[51,4]]},"340":{"position":[[6,5]]},"343":{"position":[[1,4]]},"346":{"position":[[52,4],[291,4]]},"347":{"position":[[23,4],[128,4],[192,4],[303,4],[416,4],[485,4]]},"350":{"position":[[183,4]]},"357":{"position":[[632,4]]},"359":{"position":[[53,4]]},"360":{"position":[[21,4],[254,4],[685,4]]},"362":{"position":[[737,4],[958,4],[1103,4],[1199,4],[1263,4],[1374,4],[1487,4],[1556,4]]},"365":{"position":[[422,5],[827,5],[1533,4]]},"366":{"position":[[392,4]]},"367":{"position":[[292,4],[442,4],[557,4],[674,4]]},"368":{"position":[[1,4],[100,4],[259,5]]},"369":{"position":[[63,4],[130,4],[588,4],[1327,4]]},"370":{"position":[[78,4]]},"371":{"position":[[54,4]]},"372":{"position":[[95,4]]},"373":{"position":[[20,4],[121,4],[177,4],[284,5],[366,4]]},"378":{"position":[[1,4],[186,4]]},"379":{"position":[[16,4]]},"380":{"position":[[124,4]]},"381":{"position":[[23,4],[361,4],[495,4]]},"382":{"position":[[46,4]]},"383":{"position":[[501,4]]},"384":{"position":[[1,4]]},"385":{"position":[[81,4],[202,4]]},"386":{"position":[[1,4]]},"387":{"position":[[17,4],[413,4]]},"388":{"position":[[111,4],[134,4],[244,4],[483,4]]},"390":{"position":[[1792,4]]},"392":{"position":[[54,4],[240,7],[1186,5],[2362,4]]},"393":{"position":[[307,4],[909,5]]},"397":{"position":[[63,4]]},"400":{"position":[[321,4]]},"402":{"position":[[2648,4],[2662,4]]},"403":{"position":[[184,4],[300,4]]},"405":{"position":[[110,4],[124,4],[153,4]]},"408":{"position":[[4663,5]]},"411":{"position":[[3392,4]]},"412":{"position":[[1842,4],[4427,5]]},"420":{"position":[[152,4],[955,4],[1025,4]]},"422":{"position":[[111,5],[450,5]]},"429":{"position":[[479,4]]},"432":{"position":[[1047,4]]},"440":{"position":[[481,5]]},"441":{"position":[[466,5]]},"442":{"position":[[40,4],[52,4]]},"445":{"position":[[3,5],[223,4],[369,4],[457,4],[822,4],[1253,4],[1695,4],[1930,4],[1977,4],[2156,4],[2418,5]]},"446":{"position":[[29,4],[187,4],[316,4],[588,5],[1013,4],[1263,4]]},"447":{"position":[[97,5],[373,4],[551,4],[658,4]]},"453":{"position":[[810,4]]},"456":{"position":[[136,4]]},"458":{"position":[[1319,5]]},"460":{"position":[[331,4]]},"469":{"position":[[493,4],[604,4],[909,4],[1331,4]]},"471":{"position":[[95,4],[109,4],[138,4]]},"479":{"position":[[1,4],[296,4],[491,4]]},"480":{"position":[[43,4]]},"481":{"position":[[1,4],[447,4]]},"482":{"position":[[57,4]]},"483":{"position":[[199,5],[356,4],[570,4],[940,4],[1186,5]]},"488":{"position":[[64,5]]},"489":{"position":[[57,5],[223,4],[463,4]]},"490":{"position":[[203,4],[348,4],[490,4],[590,4]]},"491":{"position":[[115,4],[269,4],[481,4],[850,4],[1922,5]]},"494":{"position":[[98,4],[550,4]]},"495":{"position":[[217,4]]},"496":{"position":[[650,5]]},"498":{"position":[[53,5],[93,4],[131,5],[257,4],[410,4],[431,4]]},"501":{"position":[[58,4],[125,4],[306,4]]},"502":{"position":[[1,4],[517,4],[1148,4]]},"503":{"position":[[13,4],[126,4]]},"504":{"position":[[1,4],[554,4],[668,4],[713,4],[741,4],[924,4],[1087,4],[1300,4]]},"506":{"position":[[1,4]]},"507":{"position":[[54,4]]},"508":{"position":[[1,4]]},"509":{"position":[[1,4]]},"510":{"position":[[124,4],[339,4],[482,4],[636,5]]},"511":{"position":[[23,4],[128,4],[192,4],[303,4],[418,4]]},"513":{"position":[[1,5],[166,4]]},"514":{"position":[[1,5]]},"515":{"position":[[205,5]]},"516":{"position":[[1,4],[139,4],[289,4]]},"517":{"position":[[125,4]]},"518":{"position":[[1,4]]},"519":{"position":[[69,4]]},"520":{"position":[[60,4],[254,4],[420,4]]},"521":{"position":[[359,5],[582,4]]},"522":{"position":[[28,4],[98,4],[131,4],[156,4],[311,7]]},"523":{"position":[[5,4]]},"524":{"position":[[1,4],[314,4]]},"525":{"position":[[122,4],[392,4]]},"526":{"position":[[83,4]]},"527":{"position":[[76,4]]},"528":{"position":[[1,4]]},"529":{"position":[[1,4]]},"530":{"position":[[140,4],[288,5],[439,4],[608,4]]},"531":{"position":[[23,4],[128,4],[192,4],[303,4],[418,4]]},"535":{"position":[[506,4],[774,4],[945,4],[1243,4]]},"536":{"position":[[12,4]]},"537":{"position":[[16,4],[53,4]]},"538":{"position":[[1,4],[191,4]]},"540":{"position":[[1,4],[149,5]]},"541":{"position":[[1,4]]},"542":{"position":[[1,4],[250,4],[696,4]]},"543":{"position":[[34,4],[86,4],[217,4]]},"544":{"position":[[1,4],[76,4],[163,4]]},"546":{"position":[[183,4],[222,4],[337,4]]},"547":{"position":[[87,5]]},"548":{"position":[[18,4],[32,4],[88,4],[168,4],[423,4]]},"551":{"position":[[173,4]]},"553":{"position":[[9,4],[91,4]]},"554":{"position":[[1,4],[272,4],[508,7],[655,5]]},"556":{"position":[[645,4]]},"557":{"position":[[18,4],[32,4],[100,4],[152,4],[219,4],[304,4]]},"562":{"position":[[34,7]]},"563":{"position":[[1,4],[138,4]]},"564":{"position":[[143,4],[219,7]]},"565":{"position":[[62,4]]},"567":{"position":[[173,4],[338,4],[403,4],[438,4],[611,4]]},"570":{"position":[[910,4],[923,4]]},"571":{"position":[[687,4],[1285,4],[1718,4]]},"572":{"position":[[15,4],[54,4],[104,4]]},"574":{"position":[[813,4]]},"575":{"position":[[1,4]]},"576":{"position":[[76,4],[323,4]]},"577":{"position":[[43,4]]},"578":{"position":[[17,4],[84,4]]},"579":{"position":[[44,4],[200,7],[815,4]]},"580":{"position":[[1,4],[479,4]]},"581":{"position":[[1,4]]},"582":{"position":[[1,4],[155,4],[551,4]]},"585":{"position":[[31,4]]},"586":{"position":[[50,4]]},"589":{"position":[[59,4]]},"590":{"position":[[54,4],[137,4]]},"591":{"position":[[23,4],[128,4],[192,4],[303,4],[416,4],[476,4],[640,4]]},"595":{"position":[[526,4],[861,4],[1020,4],[1296,4]]},"596":{"position":[[12,4]]},"597":{"position":[[16,4],[55,4]]},"598":{"position":[[1,4],[192,4],[300,7]]},"600":{"position":[[1,4]]},"602":{"position":[[61,4]]},"603":{"position":[[34,4],[84,4],[215,4]]},"604":{"position":[[1,4],[76,4]]},"606":{"position":[[183,4],[222,4],[327,4]]},"607":{"position":[[88,5]]},"608":{"position":[[18,4],[32,4],[88,4],[168,4],[421,4]]},"616":{"position":[[956,4]]},"617":{"position":[[2178,4],[2368,5]]},"619":{"position":[[22,4]]},"626":{"position":[[606,4]]},"628":{"position":[[148,4],[197,4],[211,4],[240,4]]},"631":{"position":[[1,4]]},"632":{"position":[[1224,4]]},"634":{"position":[[41,5]]},"635":{"position":[[110,4],[210,4]]},"636":{"position":[[79,4],[307,4]]},"638":{"position":[[137,4]]},"641":{"position":[[94,4]]},"644":{"position":[[15,4],[284,4],[434,4]]},"646":{"position":[[29,7]]},"652":{"position":[[29,7]]},"653":{"position":[[150,7],[1007,4],[1363,4]]},"662":{"position":[[3,4],[368,4],[1267,4],[1277,4],[1608,4],[1872,4],[1893,4],[1903,4],[2054,4],[2064,4]]},"663":{"position":[[58,4]]},"666":{"position":[[219,4]]},"676":{"position":[[166,5],[324,5]]},"678":{"position":[[4,5],[130,4],[172,4]]},"680":{"position":[[19,5],[439,4],[472,7],[563,7]]},"685":{"position":[[133,4],[555,4]]},"686":{"position":[[86,5],[698,4],[783,4]]},"688":{"position":[[123,5],[403,4]]},"690":{"position":[[500,5]]},"693":{"position":[[8,4],[140,4],[274,4]]},"701":{"position":[[1173,5]]},"703":{"position":[[242,5],[262,4]]},"705":{"position":[[20,4],[143,4]]},"710":{"position":[[3,4],[102,4],[448,5],[914,4],[996,5],[1088,4],[1261,5],[1461,4],[1573,7],[2472,4]]},"712":{"position":[[18,4],[90,4]]},"714":{"position":[[1,4],[210,4],[672,4]]},"715":{"position":[[1,4]]},"716":{"position":[[480,4]]},"717":{"position":[[1,4],[441,4]]},"718":{"position":[[163,5],[247,5]]},"723":{"position":[[460,4],[2444,4]]},"724":{"position":[[28,4],[98,4],[165,5],[209,5],[469,5]]},"726":{"position":[[34,4],[106,4]]},"728":{"position":[[1,4]]},"729":{"position":[[14,4],[176,4]]},"731":{"position":[[45,5]]},"732":{"position":[[11,5],[97,4],[153,7]]},"737":{"position":[[509,4]]},"738":{"position":[[105,7]]},"745":{"position":[[233,5],[302,5]]},"749":{"position":[[1335,4],[7376,5],[9252,5],[12602,4],[20966,5],[21071,4],[21871,4],[23655,4],[23722,5]]},"754":{"position":[[221,7]]},"755":{"position":[[12,4]]},"756":{"position":[[259,4]]},"759":{"position":[[190,5],[273,5]]},"760":{"position":[[28,4],[78,4],[369,5],[439,4]]},"761":{"position":[[1,4],[91,4],[248,4],[407,4],[425,4],[488,5],[549,4],[614,5],[736,5]]},"763":{"position":[[1,4]]},"772":{"position":[[99,4],[301,4],[506,4],[585,4],[667,7],[1454,7],[1518,5],[2162,7]]},"773":{"position":[[31,4],[350,4],[469,7]]},"774":{"position":[[472,7],[599,5]]},"775":{"position":[[195,4]]},"776":{"position":[[15,4],[92,4],[370,4]]},"779":{"position":[[363,5]]},"781":{"position":[[736,4]]},"786":{"position":[[40,4],[52,4]]},"793":{"position":[[0,4],[898,4]]},"796":{"position":[[27,4]]},"798":{"position":[[953,4]]},"799":{"position":[[214,4],[360,4]]},"800":{"position":[[27,5],[377,4],[666,4]]},"801":{"position":[[109,4],[880,4]]},"802":{"position":[[38,4]]},"804":{"position":[[5,4],[50,4]]},"806":{"position":[[243,4]]},"815":{"position":[[12,4]]},"820":{"position":[[31,5],[109,5]]},"824":{"position":[[39,5],[442,4]]},"825":{"position":[[964,4],[1103,5],[1129,4]]},"826":{"position":[[24,4],[333,4]]},"828":{"position":[[1,4],[175,4],[271,4]]},"829":{"position":[[25,4],[62,4],[167,4],[505,7],[913,4],[3083,4],[3860,4]]},"831":{"position":[[52,4],[285,4]]},"832":{"position":[[1,4]]},"834":{"position":[[106,4]]},"838":{"position":[[3,4],[408,4],[754,4],[845,4],[1187,4],[1572,4],[1798,4],[1808,4],[1925,4],[1975,7],[2033,4],[2043,4],[2395,4],[3196,4],[3276,4],[3395,4]]},"841":{"position":[[44,4]]},"842":{"position":[[27,4],[79,4],[192,4]]},"846":{"position":[[812,5]]},"855":{"position":[[1,4]]},"856":{"position":[[165,4],[178,4]]},"857":{"position":[[22,4],[490,4]]},"860":{"position":[[156,4],[338,4],[481,4],[747,4],[984,4]]},"861":{"position":[[1362,4],[1462,4],[1533,4],[1642,4],[1758,5],[2185,5]]},"862":{"position":[[91,4],[149,6],[177,4],[212,5],[1477,4]]},"863":{"position":[[883,4],[971,4]]},"865":{"position":[[234,4]]},"866":{"position":[[147,4]]},"867":{"position":[[1,4]]},"868":{"position":[[4,4]]},"870":{"position":[[41,4],[194,4]]},"871":{"position":[[319,4],[621,4]]},"872":{"position":[[76,4],[135,4],[140,4],[1350,4],[1397,4],[1586,7],[1682,4],[2219,4],[3131,5],[3200,5],[3808,7],[3912,5]]},"873":{"position":[[21,4],[103,4]]},"875":{"position":[[32,4],[45,4],[1382,4],[1512,5],[1914,4],[6746,4]]},"876":{"position":[[81,4]]},"878":{"position":[[52,4],[212,5]]},"884":{"position":[[74,4]]},"885":{"position":[[321,4]]},"886":{"position":[[273,4],[1303,4],[1584,4]]},"887":{"position":[[63,4]]},"888":{"position":[[118,5],[359,7]]},"889":{"position":[[811,4]]},"890":{"position":[[1004,4]]},"892":{"position":[[34,7]]},"896":{"position":[[156,4],[296,4]]},"898":{"position":[[37,4],[675,4],[1549,4],[1597,4],[3153,4],[4279,4]]},"903":{"position":[[481,4],[576,4]]},"904":{"position":[[201,4],[500,4],[1775,5],[2228,4],[2663,4]]},"906":{"position":[[38,4],[183,4]]},"908":{"position":[[387,4]]},"911":{"position":[[358,4],[498,5]]},"912":{"position":[[63,4],[216,4]]},"913":{"position":[[15,4],[63,4],[180,4],[244,4]]},"915":{"position":[[97,7]]},"917":{"position":[[108,7]]},"922":{"position":[[20,4]]},"927":{"position":[[83,5]]},"932":{"position":[[809,5]]},"936":{"position":[[72,4],[143,4]]},"952":{"position":[[200,7]]},"958":{"position":[[543,5],[779,5]]},"960":{"position":[[86,4]]},"962":{"position":[[1,4]]},"965":{"position":[[208,4],[401,4]]},"966":{"position":[[183,4]]},"968":{"position":[[13,4]]},"971":{"position":[[312,7]]},"977":{"position":[[572,7]]},"978":{"position":[[116,7]]},"981":{"position":[[72,4],[342,5],[483,4],[609,5],[1517,4]]},"985":{"position":[[302,4]]},"986":{"position":[[1230,4]]},"988":{"position":[[209,7],[361,4],[1150,4],[1856,4],[3984,4],[4577,5]]},"989":{"position":[[72,4],[385,4]]},"990":{"position":[[61,4]]},"995":{"position":[[549,4]]},"1002":{"position":[[916,4]]},"1004":{"position":[[44,4]]},"1005":{"position":[[143,4]]},"1007":{"position":[[27,4],[181,4],[655,4]]},"1012":{"position":[[105,7]]},"1041":{"position":[[178,7]]},"1044":{"position":[[108,4]]},"1064":{"position":[[135,7]]},"1065":{"position":[[465,4],[1529,4],[1663,4],[1820,4]]},"1068":{"position":[[253,4]]},"1069":{"position":[[9,4]]},"1071":{"position":[[34,4]]},"1072":{"position":[[56,4],[72,4],[130,4],[420,4],[621,4],[659,4],[765,4],[946,4],[1019,4],[1181,4],[1224,4],[1622,4],[1660,4],[2028,4]]},"1078":{"position":[[938,4]]},"1079":{"position":[[1,4],[331,4],[489,4]]},"1080":{"position":[[1041,4]]},"1084":{"position":[[439,4]]},"1085":{"position":[[30,4],[323,5],[730,4],[912,4],[1619,4],[1687,4],[1924,4],[2391,4],[3174,4]]},"1088":{"position":[[100,4],[147,4]]},"1090":{"position":[[620,5],[709,5]]},"1091":{"position":[[14,4]]},"1092":{"position":[[50,4]]},"1093":{"position":[[197,4]]},"1094":{"position":[[211,4]]},"1095":{"position":[[34,4],[296,4]]},"1097":{"position":[[48,4],[85,4],[362,5],[458,4],[643,5]]},"1098":{"position":[[17,4],[202,5],[271,5]]},"1099":{"position":[[17,4],[184,5],[249,5]]},"1101":{"position":[[102,4]]},"1102":{"position":[[89,4],[882,5]]},"1107":{"position":[[8,4],[157,4]]},"1112":{"position":[[230,4]]},"1114":{"position":[[229,4],[478,7],[599,4]]},"1119":{"position":[[387,7]]},"1120":{"position":[[394,4]]},"1121":{"position":[[92,4]]},"1123":{"position":[[666,4]]},"1124":{"position":[[7,4],[130,4],[604,4],[989,4],[1212,4],[1330,4],[1506,4],[1896,4],[2098,4],[2180,4]]},"1125":{"position":[[34,5],[186,7],[903,5]]},"1129":{"position":[[19,4]]},"1130":{"position":[[34,7],[85,5]]},"1132":{"position":[[7,4],[118,4],[329,4],[1065,4],[1346,4]]},"1134":{"position":[[34,7]]},"1135":{"position":[[202,4]]},"1138":{"position":[[53,4],[176,7],[222,5]]},"1139":{"position":[[274,7],[320,5]]},"1140":{"position":[[343,4],[490,7],[536,5]]},"1141":{"position":[[19,4]]},"1147":{"position":[[74,5]]},"1148":{"position":[[497,4],[1092,4]]},"1149":{"position":[[529,4],[623,4],[862,4]]},"1150":{"position":[[173,4],[340,5],[492,4]]},"1151":{"position":[[388,4],[503,4],[901,5]]},"1154":{"position":[[101,4],[252,5],[350,5]]},"1158":{"position":[[626,5]]},"1159":{"position":[[138,5]]},"1162":{"position":[[893,4],[940,4],[997,4],[1046,4]]},"1163":{"position":[[40,5],[123,5]]},"1164":{"position":[[110,7]]},"1168":{"position":[[50,7]]},"1172":{"position":[[34,7],[493,4]]},"1174":{"position":[[322,4]]},"1175":{"position":[[248,4],[475,4]]},"1177":{"position":[[145,5],[216,4]]},"1178":{"position":[[387,4],[502,4],[898,5]]},"1181":{"position":[[845,4],[892,4]]},"1182":{"position":[[40,5],[123,5]]},"1184":{"position":[[10,4],[406,5],[489,5],[588,5]]},"1188":{"position":[[135,4],[189,4],[226,4],[277,4]]},"1189":{"position":[[301,7]]},"1191":{"position":[[112,4],[504,4]]},"1192":{"position":[[72,4]]},"1193":{"position":[[129,4],[285,4]]},"1198":{"position":[[27,4],[152,4],[887,4],[1163,4],[1266,4],[1648,4],[1736,4],[1871,4],[2152,4],[2331,4]]},"1201":{"position":[[34,7]]},"1202":{"position":[[14,4]]},"1204":{"position":[[146,5],[217,4]]},"1208":{"position":[[1202,7]]},"1209":{"position":[[389,4]]},"1210":{"position":[[171,4],[235,4],[316,7],[359,5]]},"1211":{"position":[[254,4],[565,7],[616,5]]},"1212":{"position":[[328,5],[403,5]]},"1213":{"position":[[625,5]]},"1214":{"position":[[444,4],[854,4]]},"1222":{"position":[[38,5]]},"1225":{"position":[[166,5],[243,5]]},"1226":{"position":[[34,7],[83,5]]},"1227":{"position":[[135,4],[299,4],[584,7],[633,5]]},"1231":{"position":[[479,5],[556,5],[644,7]]},"1233":{"position":[[121,4]]},"1236":{"position":[[24,4]]},"1237":{"position":[[772,5]]},"1238":{"position":[[480,5],[556,5],[633,5],[729,5]]},"1239":{"position":[[530,5],[631,5],[720,5]]},"1242":{"position":[[162,5]]},"1244":{"position":[[131,4]]},"1245":{"position":[[57,4]]},"1246":{"position":[[1889,4],[2034,4],[2166,4]]},"1247":{"position":[[59,4],[259,4],[444,4],[614,4]]},"1249":{"position":[[283,4]]},"1250":{"position":[[359,4]]},"1253":{"position":[[29,4]]},"1258":{"position":[[133,4]]},"1263":{"position":[[52,5],[129,5]]},"1264":{"position":[[34,7],[77,5]]},"1265":{"position":[[128,4],[292,4],[578,7],[621,5]]},"1268":{"position":[[607,5],[684,5]]},"1271":{"position":[[60,5],[119,4],[187,4],[298,4],[549,4],[780,4],[1066,4]]},"1272":{"position":[[146,4],[219,4]]},"1274":{"position":[[34,7],[98,5]]},"1275":{"position":[[152,7],[222,5]]},"1276":{"position":[[424,7],[488,5]]},"1277":{"position":[[175,7],[246,5],[488,4],[775,5]]},"1278":{"position":[[278,7],[353,5],[730,7],[800,5]]},"1279":{"position":[[343,7],[412,5]]},"1280":{"position":[[274,7]]},"1281":{"position":[[145,5]]},"1284":{"position":[[20,4],[59,4],[129,4],[284,4]]},"1292":{"position":[[5,4],[529,4]]},"1294":{"position":[[2112,4]]},"1295":{"position":[[1538,4]]},"1296":{"position":[[1852,4]]},"1300":{"position":[[568,4]]},"1304":{"position":[[1035,4],[1233,4],[1628,5],[1939,4]]},"1305":{"position":[[357,4],[385,4],[730,4]]},"1306":{"position":[[37,5]]},"1307":{"position":[[447,4]]},"1308":{"position":[[234,4]]},"1309":{"position":[[259,5],[393,4]]},"1313":{"position":[[1020,4]]},"1318":{"position":[[803,4]]},"1324":{"position":[[903,4]]}},"keywords":{}}],["rxdb""wher",{"_index":1537,"title":{},"content":{"245":{"position":[[124,21]]}},"keywords":{}}],["rxdb""whi",{"_index":1534,"title":{},"content":{"245":{"position":[[37,19]]}},"keywords":{}}],["rxdb'",{"_index":622,"title":{"208":{"position":[[4,6]]},"255":{"position":[[9,6]]},"980":{"position":[[0,6]]}},"content":{"39":{"position":[[297,6]]},"51":{"position":[[1038,6]]},"61":{"position":[[317,6]]},"77":{"position":[[1,6]]},"78":{"position":[[1,6]]},"82":{"position":[[1,6]]},"114":{"position":[[614,6]]},"124":{"position":[[196,6]]},"126":{"position":[[230,6]]},"129":{"position":[[92,6]]},"148":{"position":[[420,6]]},"164":{"position":[[286,6]]},"174":{"position":[[740,6],[2179,6],[2935,6],[3220,6]]},"175":{"position":[[608,6]]},"181":{"position":[[223,6]]},"186":{"position":[[212,6]]},"191":{"position":[[1,6]]},"201":{"position":[[348,6]]},"205":{"position":[[300,6]]},"207":{"position":[[8,6],[220,6]]},"212":{"position":[[78,6]]},"238":{"position":[[1,6]]},"241":{"position":[[580,6]]},"248":{"position":[[217,6]]},"252":{"position":[[293,6]]},"262":{"position":[[79,6]]},"267":{"position":[[1,6],[153,6],[507,6],[873,6]]},"275":{"position":[[8,6],[200,6]]},"276":{"position":[[1,6]]},"283":{"position":[[1,6],[396,6]]},"284":{"position":[[1,6]]},"286":{"position":[[405,6]]},"289":{"position":[[17,6],[469,6],[699,6],[1397,6]]},"311":{"position":[[83,6]]},"326":{"position":[[1,6]]},"327":{"position":[[8,6]]},"328":{"position":[[193,6]]},"338":{"position":[[1,6]]},"346":{"position":[[243,6]]},"366":{"position":[[64,6]]},"369":{"position":[[405,6],[889,6],[1098,6]]},"370":{"position":[[42,6],[212,6]]},"371":{"position":[[165,6]]},"373":{"position":[[597,6]]},"380":{"position":[[1,6]]},"382":{"position":[[261,6]]},"383":{"position":[[8,6]]},"433":{"position":[[452,6]]},"446":{"position":[[790,6]]},"487":{"position":[[336,6]]},"490":{"position":[[1,6]]},"491":{"position":[[1249,6]]},"493":{"position":[[44,6]]},"495":{"position":[[660,6]]},"496":{"position":[[666,6]]},"498":{"position":[[469,6]]},"502":{"position":[[261,6],[685,6]]},"514":{"position":[[261,6]]},"515":{"position":[[8,6]]},"523":{"position":[[124,6]]},"525":{"position":[[58,6]]},"556":{"position":[[1394,6],[1730,6]]},"557":{"position":[[379,6]]},"580":{"position":[[190,6]]},"582":{"position":[[283,6]]},"584":{"position":[[64,6]]},"632":{"position":[[1,6],[621,6]]},"634":{"position":[[482,6]]},"639":{"position":[[86,6]]},"640":{"position":[[1,6]]},"688":{"position":[[171,6]]},"698":{"position":[[1719,6]]},"723":{"position":[[1043,6]]},"805":{"position":[[57,6]]},"806":{"position":[[9,6]]},"831":{"position":[[118,6],[467,6]]},"908":{"position":[[1,6]]},"1132":{"position":[[890,6]]},"1147":{"position":[[521,6]]},"1149":{"position":[[92,6],[574,6]]},"1284":{"position":[[422,6]]}},"keywords":{}}],["rxdb)you",{"_index":5194,"title":{},"content":{"898":{"position":[[244,8]]}},"keywords":{}}],["rxdb+foundationdb",{"_index":6025,"title":{"1132":{"position":[[12,18]]}},"content":{},"keywords":{}}],["rxdb+node.j",{"_index":2132,"title":{"776":{"position":[[13,13]]}},"content":{"370":{"position":[[333,13]]}},"keywords":{}}],["rxdb+react",{"_index":2133,"title":{},"content":{"371":{"position":[[338,10]]}},"keywords":{}}],["rxdb.check",{"_index":4588,"title":{},"content":{"776":{"position":[[244,10]]}},"keywords":{}}],["rxdb.client",{"_index":5251,"title":{},"content":{"903":{"position":[[397,12]]}},"keywords":{}}],["rxdb.limit",{"_index":3301,"title":{},"content":{"535":{"position":[[1161,12]]},"595":{"position":[[1238,12]]}},"keywords":{}}],["rxdb/plugins/attach",{"_index":5285,"title":{},"content":{"915":{"position":[[143,27]]},"932":{"position":[[731,25]]}},"keywords":{}}],["rxdb/plugins/backup",{"_index":3728,"title":{},"content":{"646":{"position":[[70,22]]}},"keywords":{}}],["rxdb/plugins/cleanup",{"_index":3744,"title":{},"content":{"652":{"position":[[71,23]]},"1119":{"position":[[429,23]]}},"keywords":{}}],["rxdb/plugins/cor",{"_index":764,"title":{},"content":{"51":{"position":[[212,20]]},"55":{"position":[[213,20],[701,20]]},"209":{"position":[[34,20]]},"211":{"position":[[96,20]]},"255":{"position":[[381,20]]},"258":{"position":[[34,20]]},"314":{"position":[[333,20]]},"315":{"position":[[362,20]]},"394":{"position":[[567,20]]},"480":{"position":[[191,20]]},"482":{"position":[[192,20]]},"538":{"position":[[292,20]]},"542":{"position":[[412,20]]},"556":{"position":[[771,20]]},"563":{"position":[[231,20]]},"632":{"position":[[1072,20]]},"662":{"position":[[1658,20]]},"717":{"position":[[1085,20]]},"724":{"position":[[272,20]]},"734":{"position":[[442,20]]},"862":{"position":[[349,20]]},"875":{"position":[[2049,20],[4295,20]]},"898":{"position":[[2198,20]]},"904":{"position":[[598,20]]},"960":{"position":[[166,20]]},"1118":{"position":[[394,20]]},"1144":{"position":[[62,20]]},"1145":{"position":[[266,20]]},"1148":{"position":[[552,20]]},"1149":{"position":[[829,20]]},"1158":{"position":[[56,20]]},"1159":{"position":[[242,20]]}},"keywords":{}}],["rxdb/plugins/crdt",{"_index":3874,"title":{},"content":{"680":{"position":[[392,20]]}},"keywords":{}}],["rxdb/plugins/dev",{"_index":3861,"title":{},"content":{"675":{"position":[[251,17]]}},"keywords":{}}],["rxdb/plugins/encrypt",{"_index":1895,"title":{},"content":{"315":{"position":[[214,24]]},"482":{"position":[[343,24]]},"554":{"position":[[568,24]]},"564":{"position":[[279,24]]},"638":{"position":[[273,24]]},"717":{"position":[[601,24]]},"1237":{"position":[[697,24]]}},"keywords":{}}],["rxdb/plugins/flutt",{"_index":1250,"title":{},"content":{"188":{"position":[[814,23]]}},"keywords":{}}],["rxdb/plugins/json",{"_index":5369,"title":{},"content":{"952":{"position":[[243,18]]},"971":{"position":[[355,18]]}},"keywords":{}}],["rxdb/plugins/key",{"_index":4082,"title":{},"content":{"734":{"position":[[170,17]]},"1237":{"position":[[613,17]]}},"keywords":{}}],["rxdb/plugins/lead",{"_index":4091,"title":{},"content":{"738":{"position":[[154,20]]},"740":{"position":[[467,20]]}},"keywords":{}}],["rxdb/plugins/loc",{"_index":5595,"title":{},"content":{"1012":{"position":[[154,19]]}},"keywords":{}}],["rxdb/plugins/migr",{"_index":4487,"title":{},"content":{"759":{"position":[[118,23]]},"760":{"position":[[294,23]]}},"keywords":{}}],["rxdb/plugins/pouchdb",{"_index":27,"title":{},"content":{"1":{"position":[[393,23]]},"8":{"position":[[816,23]]},"1201":{"position":[[92,23]]},"1204":{"position":[[269,23]]}},"keywords":{}}],["rxdb/plugins/queri",{"_index":5760,"title":{},"content":{"1064":{"position":[[182,19]]}},"keywords":{}}],["rxdb/plugins/react",{"_index":3323,"title":{},"content":{"542":{"position":[[337,24]]},"563":{"position":[[379,24]]},"825":{"position":[[133,24]]},"829":{"position":[[1328,21],[1925,21],[2344,21],[3260,21]]}},"keywords":{}}],["rxdb/plugins/repl",{"_index":1343,"title":{},"content":{"209":{"position":[[171,27]]},"210":{"position":[[210,25]]},"255":{"position":[[518,27]]},"261":{"position":[[278,25]]},"481":{"position":[[614,27]]},"632":{"position":[[2146,27]]},"846":{"position":[[81,25]]},"848":{"position":[[1233,25]]},"862":{"position":[[252,25]]},"866":{"position":[[374,25]]},"872":{"position":[[2313,25]]},"875":{"position":[[365,27]]},"886":{"position":[[949,25]]},"892":{"position":[[79,25]]},"893":{"position":[[134,25]]},"898":{"position":[[3265,25]]},"904":{"position":[[1369,25]]},"906":{"position":[[933,25]]},"988":{"position":[[153,27]]},"1090":{"position":[[549,27]]},"1121":{"position":[[393,25]]},"1149":{"position":[[696,25]]},"1231":{"position":[[697,25]]}},"keywords":{}}],["rxdb/plugins/st",{"_index":5981,"title":{},"content":{"1114":{"position":[[636,21]]}},"keywords":{}}],["rxdb/plugins/storag",{"_index":777,"title":{},"content":{"51":{"position":[[591,21]]},"55":{"position":[[763,21]]},"188":{"position":[[712,21]]},"209":{"position":[[96,21]]},"211":{"position":[[158,21]]},"255":{"position":[[443,21]]},"258":{"position":[[96,21]]},"266":{"position":[[616,21]]},"314":{"position":[[395,21]]},"315":{"position":[[292,21]]},"334":{"position":[[247,21]]},"392":{"position":[[289,21]]},"480":{"position":[[253,21]]},"482":{"position":[[254,21]]},"522":{"position":[[360,21]]},"538":{"position":[[354,21]]},"542":{"position":[[474,21]]},"554":{"position":[[774,21]]},"562":{"position":[[83,21]]},"563":{"position":[[293,21]]},"564":{"position":[[357,21]]},"579":{"position":[[249,21]]},"598":{"position":[[349,21]]},"632":{"position":[[1134,21]]},"653":{"position":[[199,21]]},"662":{"position":[[1985,21]]},"680":{"position":[[612,21]]},"710":{"position":[[1622,21]]},"717":{"position":[[679,21]]},"734":{"position":[[243,21]]},"739":{"position":[[230,21]]},"772":{"position":[[716,21],[2288,21]]},"773":{"position":[[512,21]]},"774":{"position":[[521,21]]},"829":{"position":[[554,21]]},"838":{"position":[[2125,21]]},"862":{"position":[[411,21]]},"872":{"position":[[1629,21],[3850,21]]},"898":{"position":[[2260,21]]},"904":{"position":[[660,21]]},"960":{"position":[[228,21]]},"962":{"position":[[699,21],[915,21]]},"1090":{"position":[[480,21]]},"1114":{"position":[[527,21]]},"1125":{"position":[[229,21]]},"1134":{"position":[[83,21]]},"1144":{"position":[[117,21]]},"1145":{"position":[[321,21]]},"1148":{"position":[[607,21]]},"1149":{"position":[[766,21]]},"1158":{"position":[[118,21]]},"1159":{"position":[[325,21]]},"1168":{"position":[[93,21]]},"1172":{"position":[[75,21]]},"1189":{"position":[[345,21]]},"1218":{"position":[[320,21],[657,21],[732,21]]},"1219":{"position":[[298,21],[381,21],[821,21]]},"1222":{"position":[[120,21]]},"1226":{"position":[[160,21]]},"1271":{"position":[[1184,21]]},"1280":{"position":[[339,21]]},"1286":{"position":[[303,21]]},"1287":{"position":[[349,21]]},"1288":{"position":[[309,21]]}},"keywords":{}}],["rxdb/plugins/upd",{"_index":5685,"title":{},"content":{"1041":{"position":[[219,22]]},"1059":{"position":[[158,22]]}},"keywords":{}}],["rxdb/plugins/util",{"_index":2688,"title":{},"content":{"412":{"position":[[4459,21]]},"1309":{"position":[[462,21]]}},"keywords":{}}],["rxdb/plugins/valid",{"_index":6284,"title":{},"content":{"1237":{"position":[[539,22]]},"1286":{"position":[[233,22]]},"1287":{"position":[[274,22]]},"1288":{"position":[[226,22]]},"1290":{"position":[[24,22]]},"1291":{"position":[[30,22]]}},"keywords":{}}],["rxdb/plugins/vector",{"_index":2296,"title":{},"content":{"393":{"position":[[950,22]]},"394":{"position":[[501,22]]},"397":{"position":[[1653,22]]}},"keywords":{}}],["rxdbattachmentsplugin",{"_index":5284,"title":{},"content":{"915":{"position":[[114,21]]}},"keywords":{}}],["rxdbbackupplugin",{"_index":3727,"title":{},"content":{"646":{"position":[[46,16]]}},"keywords":{}}],["rxdbcleanupplugin",{"_index":3743,"title":{},"content":{"652":{"position":[[46,17]]},"1119":{"position":[[404,17]]}},"keywords":{}}],["rxdbcrdtplugin",{"_index":3873,"title":{},"content":{"680":{"position":[[370,14]]}},"keywords":{}}],["rxdbdata",{"_index":3439,"title":{},"content":{"566":{"position":[[39,8]]}},"keywords":{}}],["rxdbflexsearchplugin",{"_index":4045,"title":{},"content":{"724":{"position":[[141,20],[181,20]]}},"keywords":{}}],["rxdbjsondumpplugin",{"_index":5368,"title":{},"content":{"952":{"position":[[217,18]]},"971":{"position":[[329,18]]}},"keywords":{}}],["rxdbleaderelectionplugin",{"_index":4090,"title":{},"content":{"738":{"position":[[122,24]]}},"keywords":{}}],["rxdblocaldocumentsplugin",{"_index":5594,"title":{},"content":{"1012":{"position":[[122,24]]}},"keywords":{}}],["rxdbquerybuilderplugin",{"_index":5759,"title":{},"content":{"1064":{"position":[[152,22]]}},"keywords":{}}],["rxdbreplicationgraphqlplugin",{"_index":6275,"title":{},"content":{"1231":{"position":[[661,28]]}},"keywords":{}}],["rxdbstateplugin",{"_index":5979,"title":{},"content":{"1114":{"position":[[199,15],[613,15]]}},"keywords":{}}],["rxdbupdateplugin",{"_index":5684,"title":{},"content":{"1041":{"position":[[195,16]]},"1059":{"position":[[134,16]]}},"keywords":{}}],["rxdb’",{"_index":1567,"title":{},"content":{"254":{"position":[[220,6]]},"361":{"position":[[307,6]]},"562":{"position":[[811,6]]},"567":{"position":[[89,6]]},"860":{"position":[[618,6],[1084,6]]},"903":{"position":[[125,6]]}},"keywords":{}}],["rxdocument",{"_index":1278,"title":{"1034":{"position":[[0,10]]}},"content":{"188":{"position":[[2823,10]]},"714":{"position":[[101,11]]},"749":{"position":[[11046,11]]},"764":{"position":[[164,11]]},"766":{"position":[[87,10]]},"767":{"position":[[791,12],[871,12],[947,12]]},"768":{"position":[[324,12],[467,12],[540,12],[684,12],[797,12],[875,12],[949,12]]},"769":{"position":[[343,12],[422,12],[497,12],[645,12],[762,12],[842,12],[918,12]]},"770":{"position":[[32,10],[98,10],[353,12]]},"790":{"position":[[73,11]]},"792":{"position":[[96,11]]},"793":{"position":[[130,10]]},"808":{"position":[[398,11]]},"810":{"position":[[21,11]]},"811":{"position":[[32,10]]},"812":{"position":[[314,10]]},"826":{"position":[[362,10]]},"917":{"position":[[25,11]]},"920":{"position":[[44,11]]},"921":{"position":[[143,11]]},"923":{"position":[[5,10]]},"942":{"position":[[157,11]]},"943":{"position":[[320,10]]},"944":{"position":[[319,12],[332,12]]},"945":{"position":[[214,12],[227,12],[319,10]]},"946":{"position":[[129,11]]},"947":{"position":[[290,12],[303,11]]},"948":{"position":[[49,10]]},"982":{"position":[[8,10]]},"1018":{"position":[[41,11]]},"1040":{"position":[[21,10]]},"1044":{"position":[[55,10]]},"1045":{"position":[[39,11]]},"1046":{"position":[[83,11]]},"1049":{"position":[[49,10]]},"1052":{"position":[[299,10],[365,11]]},"1053":{"position":[[52,11]]},"1056":{"position":[[35,10]]},"1057":{"position":[[361,10],[577,10]]},"1059":{"position":[[25,10]]},"1060":{"position":[[47,10]]},"1061":{"position":[[48,10]]},"1084":{"position":[[555,10],[635,10]]},"1085":{"position":[[1895,10],[2210,12]]},"1311":{"position":[[1293,10]]}},"keywords":{}}],["rxdocument,rxdocument,rxdocu",{"_index":5738,"title":{},"content":{"1057":{"position":[[169,36]]}},"keywords":{}}],["rxdocument.allattach",{"_index":4313,"title":{},"content":{"749":{"position":[[13637,26]]}},"keywords":{}}],["rxdocument.clos",{"_index":4276,"title":{},"content":{"749":{"position":[[10804,18]]}},"keywords":{}}],["rxdocument.get",{"_index":4257,"title":{},"content":{"749":{"position":[[9512,15],[9829,15],[13760,17],[13858,15]]}},"keywords":{}}],["rxdocument.incrementalmodifi",{"_index":4419,"title":{},"content":{"749":{"position":[[22721,30]]},"948":{"position":[[343,29]]}},"keywords":{}}],["rxdocument.insert",{"_index":4220,"title":{},"content":{"749":{"position":[[6717,19]]}},"keywords":{}}],["rxdocument.modifi",{"_index":5750,"title":{},"content":{"1061":{"position":[[10,19]]}},"keywords":{}}],["rxdocument.myfield",{"_index":4734,"title":{},"content":{"826":{"position":[[101,19]]}},"keywords":{}}],["rxdocument.patch",{"_index":5747,"title":{},"content":{"1060":{"position":[[10,18]]}},"keywords":{}}],["rxdocument.popul",{"_index":4263,"title":{},"content":{"749":{"position":[[9936,21],[10050,21],[10168,21]]}},"keywords":{}}],["rxdocument.prepar",{"_index":4196,"title":{},"content":{"749":{"position":[[4723,21]]}},"keywords":{}}],["rxdocument.remov",{"_index":3888,"title":{},"content":{"684":{"position":[[86,19]]},"749":{"position":[[10698,20]]},"769":{"position":[[69,17]]}},"keywords":{}}],["rxdocument.sav",{"_index":4273,"title":{},"content":{"749":{"position":[[10594,18],[11135,17]]},"768":{"position":[[64,15]]}},"keywords":{}}],["rxdocument.set",{"_index":4267,"title":{},"content":{"749":{"position":[[10277,17],[10471,17],[10997,16],[14085,16]]}},"keywords":{}}],["rxdocument[alic",{"_index":4683,"title":{},"content":{"810":{"position":[[472,17]]},"811":{"position":[[467,17]]}},"keywords":{}}],["rxerror",{"_index":5486,"title":{},"content":{"990":{"position":[[724,7]]}},"keywords":{}}],["rxfulltextsearch",{"_index":4048,"title":{},"content":{"724":{"position":[[346,16]]}},"keywords":{}}],["rxgraphqlreplicationst",{"_index":5170,"title":{"890":{"position":[[0,26]]}},"content":{"890":{"position":[[55,25]]}},"keywords":{}}],["rxgraphqlreplicationstate<rxdoctype>",{"_index":5150,"title":{},"content":{"887":{"position":[[250,42]]},"888":{"position":[[391,42]]},"889":{"position":[[440,42]]}},"keywords":{}}],["rxj",{"_index":722,"title":{"54":{"position":[[5,4]]},"77":{"position":[[19,6]]},"103":{"position":[[19,6]]},"144":{"position":[[49,4]]},"541":{"position":[[5,4]]},"601":{"position":[[6,4]]},"822":{"position":[[54,4]]}},"content":{"47":{"position":[[212,4]]},"50":{"position":[[14,4],[157,4],[231,4],[302,4],[408,4],[513,6]]},"55":{"position":[[122,4]]},"103":{"position":[[46,5]]},"120":{"position":[[165,4]]},"129":{"position":[[535,4],[603,4],[733,6]]},"144":{"position":[[119,4]]},"174":{"position":[[182,7],[238,5]]},"211":{"position":[[32,4]]},"233":{"position":[[63,5]]},"257":{"position":[[18,4]]},"314":{"position":[[269,4]]},"322":{"position":[[79,4]]},"333":{"position":[[19,5],[60,4]]},"445":{"position":[[180,4],[1412,4]]},"537":{"position":[[25,4],[58,4]]},"540":{"position":[[161,4]]},"541":{"position":[[33,4]]},"562":{"position":[[1237,4]]},"563":{"position":[[39,4],[1033,4]]},"578":{"position":[[27,5],[89,4]]},"580":{"position":[[21,4]]},"597":{"position":[[26,5],[60,4]]},"632":{"position":[[1785,4]]},"662":{"position":[[1272,4]]},"710":{"position":[[1466,5]]},"727":{"position":[[46,4],[95,4]]},"828":{"position":[[51,4]]},"831":{"position":[[230,4]]},"838":{"position":[[1803,4]]},"875":{"position":[[4340,7],[8063,7],[9482,7]]},"941":{"position":[[29,4]]},"970":{"position":[[29,4]]},"1046":{"position":[[29,4]]},"1117":{"position":[[80,4],[151,4]]},"1118":{"position":[[136,5]]}},"keywords":{}}],["rxjsonc",{"_index":3261,"title":{},"content":{"522":{"position":[[136,8]]}},"keywords":{}}],["rxjsonschema",{"_index":4876,"title":{},"content":{"854":{"position":[[1561,13]]},"889":{"position":[[1033,13]]},"934":{"position":[[157,13]]}},"keywords":{}}],["rxjsonschema<herodoctype>",{"_index":6499,"title":{},"content":{"1311":{"position":[[258,31]]}},"keywords":{}}],["rxlocaldocu",{"_index":4741,"title":{"1018":{"position":[[0,16]]}},"content":{"826":{"position":[[936,15]]},"1014":{"position":[[159,16]]},"1015":{"position":[[135,16]]},"1016":{"position":[[8,15],[72,15]]},"1017":{"position":[[215,15]]},"1018":{"position":[[3,15]]}},"keywords":{}}],["rxmongodbreplicationst",{"_index":4958,"title":{},"content":{"872":{"position":[[2697,25]]}},"keywords":{}}],["rxpipelin",{"_index":2377,"title":{"1019":{"position":[[0,10]]},"1020":{"position":[[11,11]]},"1021":{"position":[[14,11]]},"1025":{"position":[[0,10]]},"1029":{"position":[[6,10]]}},"content":{"397":{"position":[[1368,10]]},"793":{"position":[[1043,11]]},"1021":{"position":[[5,10]]},"1022":{"position":[[365,10]]}},"keywords":{}}],["rxqueri",{"_index":4165,"title":{"1054":{"position":[[0,7]]}},"content":{"749":{"position":[[2299,8],[3227,7]]},"793":{"position":[[141,7]]},"817":{"position":[[114,7],[316,7]]},"818":{"position":[[215,7]]},"826":{"position":[[725,7]]},"1036":{"position":[[92,8]]},"1055":{"position":[[19,8]]},"1069":{"position":[[203,7],[250,7],[322,7],[526,7]]},"1070":{"position":[[52,8]]},"1107":{"position":[[73,9]]}},"keywords":{}}],["rxquery<rxherodoctype>",{"_index":1287,"title":{},"content":{"188":{"position":[[3028,28]]}},"keywords":{}}],["rxquery'",{"_index":5784,"title":{"1069":{"position":[[0,9]]}},"content":{"1069":{"position":[[143,9],[399,9]]}},"keywords":{}}],["rxquery._execoverdatabas",{"_index":4153,"title":{},"content":{"749":{"position":[[1655,28]]}},"keywords":{}}],["rxquery.find",{"_index":5352,"title":{},"content":{"949":{"position":[[60,15]]},"950":{"position":[[206,15]]}},"keywords":{}}],["rxquery.limit",{"_index":4160,"title":{},"content":{"749":{"position":[[1995,16]]}},"keywords":{}}],["rxquery.regex",{"_index":4156,"title":{},"content":{"749":{"position":[[1752,16]]}},"keywords":{}}],["rxquery.sort",{"_index":4158,"title":{},"content":{"749":{"position":[[1869,15]]}},"keywords":{}}],["rxreactivityfactori",{"_index":831,"title":{},"content":{"55":{"position":[[186,19]]},"1118":{"position":[[349,20]]}},"keywords":{}}],["rxreactivityfactory<reactivitytype>",{"_index":6002,"title":{},"content":{"1118":{"position":[[495,41]]}},"keywords":{}}],["rxreactivityfactory<signal<any>>",{"_index":838,"title":{},"content":{"55":{"position":[[411,44]]}},"keywords":{}}],["rxreplic",{"_index":4339,"title":{},"content":{"749":{"position":[[15474,13],[15608,13],[15740,13],[15878,13],[16014,13]]},"756":{"position":[[23,13]]},"886":{"position":[[1932,13]]}},"keywords":{}}],["rxreplicationst",{"_index":4832,"title":{"992":{"position":[[0,19]]}},"content":{"846":{"position":[[1476,18]]},"862":{"position":[[1713,19]]},"872":{"position":[[2815,18]]},"886":{"position":[[3382,18]]},"890":{"position":[[172,18]]},"898":{"position":[[4631,19]]},"904":{"position":[[3241,19]]},"992":{"position":[[48,18]]},"993":{"position":[[33,18]]}},"keywords":{}}],["rxreplicationstate.emitev",{"_index":5149,"title":{},"content":{"886":{"position":[[5112,31]]}},"keywords":{}}],["rxreplicationstate.start",{"_index":5524,"title":{},"content":{"998":{"position":[[73,27]]}},"keywords":{}}],["rxschema",{"_index":4614,"title":{"1073":{"position":[[0,8]]}},"content":{"793":{"position":[[108,8]]}},"keywords":{}}],["rxserver",{"_index":4617,"title":{"872":{"position":[[22,8]]},"1086":{"position":[[12,8]]},"1097":{"position":[[11,9]]},"1098":{"position":[[6,8]]},"1099":{"position":[[6,8]]},"1100":{"position":[[0,8]]}},"content":{"793":{"position":[[654,8],[868,8],[877,8]]},"871":{"position":[[70,9],[115,8],[244,8],[430,9],[495,8],[638,8]]},"872":{"position":[[2898,9],[3001,8],[3609,9],[3748,9],[4355,8],[4509,10]]},"1097":{"position":[[14,9]]},"1098":{"position":[[52,8]]},"1099":{"position":[[52,8]]},"1100":{"position":[[15,8]]},"1102":{"position":[[71,8],[308,9]]},"1105":{"position":[[856,8]]},"1112":{"position":[[76,8]]}},"keywords":{}}],["rxserver.start",{"_index":5978,"title":{},"content":{"1112":{"position":[[437,16]]}},"keywords":{}}],["rxserveradapterexpress",{"_index":4961,"title":{},"content":{"872":{"position":[[3170,22],[3300,23]]},"1097":{"position":[[613,22],[755,23]]}},"keywords":{}}],["rxserveradapterfastifi",{"_index":5924,"title":{},"content":{"1098":{"position":[[241,22],[391,23]]}},"keywords":{}}],["rxserveradapterkoa",{"_index":5927,"title":{},"content":{"1099":{"position":[[223,18],[365,19]]}},"keywords":{}}],["rxserverauthhandl",{"_index":5961,"title":{},"content":{"1105":{"position":[[1189,19]]}},"keywords":{}}],["rxstate",{"_index":4619,"title":{"1113":{"position":[[0,7]]},"1114":{"position":[[11,8]]},"1118":{"position":[[0,7]]},"1119":{"position":[[8,7]]},"1121":{"position":[[0,7]]}},"content":{"793":{"position":[[1073,7]]},"1114":{"position":[[3,7],[415,7],[581,7]]},"1116":{"position":[[30,7]]},"1118":{"position":[[330,8]]},"1120":{"position":[[1,7],[95,7],[375,7],[549,7],[693,7]]},"1121":{"position":[[285,7]]}},"keywords":{}}],["rxstorag",{"_index":408,"title":{"131":{"position":[[10,9]]},"162":{"position":[[10,9]]},"189":{"position":[[10,9]]},"287":{"position":[[10,9]]},"336":{"position":[[10,9]]},"504":{"position":[[20,9]]},"524":{"position":[[10,9]]},"581":{"position":[[10,9]]},"693":{"position":[[0,9]]},"1095":{"position":[[19,10]]},"1125":{"position":[[17,10]]},"1127":{"position":[[16,9]]},"1136":{"position":[[10,9]]},"1138":{"position":[[20,10]]},"1141":{"position":[[29,10]]},"1142":{"position":[[0,9]]},"1152":{"position":[[34,9]]},"1153":{"position":[[0,9]]},"1155":{"position":[[0,9]]},"1158":{"position":[[28,9]]},"1160":{"position":[[14,9]]},"1166":{"position":[[7,9]]},"1169":{"position":[[0,9]]},"1179":{"position":[[14,9]]},"1182":{"position":[[24,10]]},"1187":{"position":[[8,9]]},"1188":{"position":[[27,10]]},"1189":{"position":[[18,10]]},"1191":{"position":[[0,9]]},"1197":{"position":[[0,9]]},"1198":{"position":[[19,9]]},"1205":{"position":[[62,9]]},"1210":{"position":[[14,9]]},"1217":{"position":[[7,9]]},"1221":{"position":[[9,9]]},"1223":{"position":[[13,9]]},"1234":{"position":[[0,9]]},"1240":{"position":[[4,9]]},"1262":{"position":[[7,9]]},"1269":{"position":[[7,9]]},"1271":{"position":[[17,10]]},"1273":{"position":[[17,9]]}},"content":{"24":{"position":[[650,9]]},"28":{"position":[[672,9]]},"131":{"position":[[121,10],[200,10],[356,10],[376,9],[713,10]]},"162":{"position":[[48,10],[166,10],[233,10],[359,10],[533,10],[664,9]]},"188":{"position":[[284,9]]},"189":{"position":[[48,9],[120,10],[286,10],[469,10],[509,9],[678,9]]},"266":{"position":[[760,9],[807,10]]},"287":{"position":[[86,9],[318,9],[351,10],[451,10],[511,9],[663,10],[723,9],[888,10],[906,9],[1081,10]]},"336":{"position":[[41,10],[97,10],[174,10],[243,10],[338,10],[413,10]]},"365":{"position":[[439,9]]},"369":{"position":[[1302,9]]},"392":{"position":[[195,10]]},"402":{"position":[[2754,10],[2774,10]]},"433":{"position":[[464,10]]},"504":{"position":[[50,9],[82,10],[176,10],[256,10],[353,10]]},"521":{"position":[[384,9],[415,10]]},"522":{"position":[[511,9]]},"524":{"position":[[224,10],[291,10],[391,10],[497,10],[594,10]]},"581":{"position":[[144,10],[200,10],[249,10],[342,10],[417,10]]},"642":{"position":[[95,9]]},"662":{"position":[[425,9],[543,9],[1001,9],[1112,9],[1191,9],[1557,9]]},"693":{"position":[[55,9],[185,9],[399,10],[431,9]]},"703":{"position":[[327,10]]},"709":{"position":[[1383,9],[1410,10]]},"710":{"position":[[521,9],[754,9],[1043,9],[1307,9],[1346,9],[1498,9],[2256,10],[2322,9],[2350,9]]},"714":{"position":[[366,9],[1024,9]]},"717":{"position":[[494,10],[518,9]]},"721":{"position":[[25,9],[51,9]]},"734":{"position":[[58,10],[82,9]]},"745":{"position":[[56,10]]},"749":{"position":[[23070,10]]},"759":{"position":[[48,9],[75,10],[701,9]]},"760":{"position":[[697,9]]},"772":{"position":[[566,9],[1118,9],[1775,9],[1897,9]]},"773":{"position":[[68,10]]},"774":{"position":[[394,9]]},"775":{"position":[[279,10],[639,9]]},"776":{"position":[[271,9]]},"793":{"position":[[161,9],[472,9],[489,9],[515,9],[542,9],[1276,9]]},"820":{"position":[[252,10]]},"821":{"position":[[258,9],[375,9]]},"838":{"position":[[1225,9],[1322,9],[1412,9],[1874,9],[3098,9]]},"844":{"position":[[43,10]]},"927":{"position":[[121,10]]},"932":{"position":[[384,10]]},"960":{"position":[[379,9]]},"961":{"position":[[128,10]]},"962":{"position":[[47,9],[344,9],[498,9],[542,9],[573,9],[857,9]]},"1066":{"position":[[43,10]]},"1067":{"position":[[241,9]]},"1068":{"position":[[306,9]]},"1079":{"position":[[161,10],[456,9]]},"1085":{"position":[[3641,11]]},"1095":{"position":[[82,9]]},"1124":{"position":[[467,9]]},"1125":{"position":[[19,9]]},"1130":{"position":[[330,9]]},"1139":{"position":[[58,9]]},"1143":{"position":[[16,9],[114,9]]},"1145":{"position":[[54,9]]},"1146":{"position":[[120,9]]},"1147":{"position":[[144,10]]},"1148":{"position":[[704,9]]},"1151":{"position":[[118,9],[779,9]]},"1152":{"position":[[33,9]]},"1154":{"position":[[50,10],[422,9],[554,10],[604,9],[708,10]]},"1162":{"position":[[972,9],[1121,9]]},"1163":{"position":[[201,9],[247,9],[512,9]]},"1170":{"position":[[286,9]]},"1178":{"position":[[117,9],[776,9]]},"1182":{"position":[[201,9],[247,9],[516,9]]},"1184":{"position":[[105,10]]},"1189":{"position":[[80,10]]},"1191":{"position":[[25,9]]},"1196":{"position":[[96,9]]},"1198":{"position":[[801,9],[1183,9],[1379,9],[1426,9],[1538,10],[1781,9],[2061,10],[2116,9],[2222,9]]},"1210":{"position":[[10,9],[84,9],[210,9]]},"1214":{"position":[[890,9]]},"1219":{"position":[[641,9]]},"1222":{"position":[[187,9],[215,10],[312,10],[362,9],[598,9],[1141,10],[1355,10]]},"1225":{"position":[[67,9],[346,9],[411,10]]},"1231":{"position":[[21,9],[841,9]]},"1233":{"position":[[191,9]]},"1235":{"position":[[162,9],[297,9],[357,9],[408,9]]},"1236":{"position":[[5,9]]},"1242":{"position":[[207,10]]},"1243":{"position":[[15,9]]},"1244":{"position":[[10,9]]},"1246":{"position":[[24,9],[64,9],[368,9],[408,9],[679,9],[978,9],[1173,9],[1255,9],[1295,10],[1629,9],[1697,10],[1738,9],[2081,9],[2211,9]]},"1247":{"position":[[296,9],[469,9],[656,9]]},"1263":{"position":[[240,9],[305,10]]},"1282":{"position":[[329,9]]},"1284":{"position":[[436,9]]},"1286":{"position":[[379,9]]},"1287":{"position":[[425,9]]},"1288":{"position":[[385,9]]},"1294":{"position":[[2155,10]]},"1296":{"position":[[1894,10]]}},"keywords":{}}],["rxstorage.it",{"_index":6067,"title":{},"content":{"1143":{"position":[[435,12]]}},"keywords":{}}],["rxstorage.y",{"_index":3091,"title":{},"content":{"469":{"position":[[503,13]]}},"keywords":{}}],["rxstoragesupport",{"_index":6177,"title":{},"content":{"1199":{"position":[[20,17]]}},"keywords":{}}],["rxstorageth",{"_index":3989,"title":{},"content":{"710":{"position":[[614,12],[637,12],[663,12],[685,12]]}},"keywords":{}}],["rxsupabasereplicationst",{"_index":5229,"title":{},"content":{"898":{"position":[[4511,26]]}},"keywords":{}}],["s",{"_index":343,"title":{},"content":{"19":{"position":[[877,1]]}},"keywords":{}}],["s.rating(sortdirection.ascending).title(sortdirection.descend",{"_index":344,"title":{},"content":{"19":{"position":[[885,65]]}},"keywords":{}}],["s0vlu0uhi",{"_index":5067,"title":{},"content":{"878":{"position":[[520,13]]},"880":{"position":[[432,13]]}},"keywords":{}}],["s0vlu0uhiexfq0",{"_index":4840,"title":{},"content":{"848":{"position":[[512,19]]}},"keywords":{}}],["s1",{"_index":4413,"title":{},"content":{"749":{"position":[[22230,2]]}},"keywords":{}}],["s3",{"_index":6135,"title":{},"content":{"1173":{"position":[[125,3]]}},"keywords":{}}],["saa",{"_index":2675,"title":{},"content":{"412":{"position":[[2856,4]]},"1148":{"position":[[28,4]]}},"keywords":{}}],["sacrif",{"_index":2944,"title":{},"content":{"445":{"position":[[2078,11]]}},"keywords":{}}],["safari",{"_index":1708,"title":{},"content":{"298":{"position":[[172,7],[665,6]]},"299":{"position":[[585,6],[715,6],[881,6],[1491,6]]},"305":{"position":[[165,6],[552,6]]},"408":{"position":[[1137,6]]},"412":{"position":[[7868,6]]},"462":{"position":[[383,6]]},"613":{"position":[[757,6]]},"624":{"position":[[1010,7]]},"696":{"position":[[1397,6]]},"1207":{"position":[[105,7]]},"1211":{"position":[[386,7]]},"1301":{"position":[[952,6],[1108,6]]}},"keywords":{}}],["safe",{"_index":1039,"title":{},"content":{"105":{"position":[[161,4]]},"382":{"position":[[352,7]]},"412":{"position":[[8836,4]]},"557":{"position":[[513,5]]},"897":{"position":[[422,6]]},"1007":{"position":[[1077,6]]},"1317":{"position":[[308,6]]}},"keywords":{}}],["safeguard",{"_index":1687,"title":{},"content":{"290":{"position":[[205,12]]},"298":{"position":[[52,9]]},"377":{"position":[[197,9]]},"506":{"position":[[88,12]]},"569":{"position":[[837,12]]}},"keywords":{}}],["safeti",{"_index":966,"title":{},"content":{"74":{"position":[[91,6]]},"174":{"position":[[920,6]]},"281":{"position":[[304,6]]},"711":{"position":[[2369,6]]}},"keywords":{}}],["same",{"_index":88,"title":{},"content":{"6":{"position":[[217,4]]},"7":{"position":[[188,4]]},"16":{"position":[[247,4]]},"17":{"position":[[545,4]]},"26":{"position":[[79,4]]},"30":{"position":[[267,4]]},"32":{"position":[[133,4]]},"42":{"position":[[119,4]]},"47":{"position":[[1325,4]]},"109":{"position":[[136,4]]},"134":{"position":[[79,4]]},"203":{"position":[[362,4],[379,4]]},"210":{"position":[[657,4]]},"239":{"position":[[251,4]]},"250":{"position":[[132,4]]},"261":{"position":[[425,4],[1065,4]]},"299":{"position":[[1119,4]]},"314":{"position":[[1141,5]]},"339":{"position":[[36,4]]},"357":{"position":[[435,4]]},"358":{"position":[[289,4]]},"396":{"position":[[196,4],[1443,4]]},"397":{"position":[[96,4]]},"408":{"position":[[3012,4]]},"411":{"position":[[251,4],[4234,4],[4275,4],[4767,4]]},"412":{"position":[[2269,4],[3034,4],[3115,4],[3155,4],[5919,4]]},"416":{"position":[[277,4]]},"421":{"position":[[495,4]]},"446":{"position":[[674,4]]},"458":{"position":[[157,4]]},"461":{"position":[[1500,4]]},"467":{"position":[[587,4]]},"475":{"position":[[103,4]]},"490":{"position":[[343,4]]},"491":{"position":[[470,4],[1361,4]]},"495":{"position":[[150,4]]},"502":{"position":[[1267,4]]},"535":{"position":[[1285,4]]},"559":{"position":[[1376,4]]},"566":{"position":[[915,4]]},"570":{"position":[[543,4]]},"582":{"position":[[521,4]]},"595":{"position":[[1348,4]]},"616":{"position":[[138,4]]},"617":{"position":[[225,4]]},"624":{"position":[[218,4]]},"632":{"position":[[551,4]]},"635":{"position":[[81,4]]},"683":{"position":[[353,4]]},"684":{"position":[[126,4]]},"686":{"position":[[591,4]]},"691":{"position":[[61,4],[82,4]]},"698":{"position":[[38,4],[216,4],[761,4],[1686,4],[3244,4]]},"699":{"position":[[186,4]]},"701":{"position":[[80,4]]},"702":{"position":[[737,4]]},"740":{"position":[[302,4]]},"743":{"position":[[127,4],[178,4],[227,4]]},"749":{"position":[[1421,4],[1474,4],[5605,4],[9148,4],[14696,4]]},"756":{"position":[[295,4]]},"779":{"position":[[448,4]]},"785":{"position":[[82,4],[654,4]]},"798":{"position":[[300,4]]},"799":{"position":[[462,4]]},"817":{"position":[[264,4]]},"820":{"position":[[396,4]]},"826":{"position":[[479,4]]},"829":{"position":[[190,4]]},"830":{"position":[[57,4]]},"832":{"position":[[317,4]]},"863":{"position":[[648,4]]},"872":{"position":[[3658,4]]},"875":{"position":[[2381,4]]},"886":{"position":[[259,4],[1689,4]]},"890":{"position":[[423,4],[562,4]]},"898":{"position":[[1703,5]]},"902":{"position":[[775,4]]},"904":{"position":[[1958,4]]},"908":{"position":[[163,4]]},"918":{"position":[[1,4]]},"935":{"position":[[139,4],[172,4]]},"943":{"position":[[114,4]]},"947":{"position":[[1,4]]},"948":{"position":[[44,4],[547,4]]},"951":{"position":[[524,4]]},"961":{"position":[[101,4],[123,4]]},"964":{"position":[[62,4],[340,4]]},"966":{"position":[[70,4],[84,4],[448,4]]},"967":{"position":[[72,4]]},"981":{"position":[[1078,4],[1568,4]]},"986":{"position":[[174,4]]},"987":{"position":[[50,4],[71,4]]},"1002":{"position":[[746,4]]},"1004":{"position":[[700,4]]},"1009":{"position":[[51,4]]},"1014":{"position":[[94,4]]},"1030":{"position":[[212,4]]},"1033":{"position":[[314,4]]},"1048":{"position":[[74,4],[284,4]]},"1052":{"position":[[1,4]]},"1058":{"position":[[154,4]]},"1067":{"position":[[1778,4]]},"1072":{"position":[[796,4],[1461,4],[1504,4]]},"1088":{"position":[[287,4],[398,4],[710,4]]},"1093":{"position":[[64,4],[340,4]]},"1095":{"position":[[331,4]]},"1105":{"position":[[411,4],[575,4]]},"1115":{"position":[[626,4]]},"1121":{"position":[[154,4]]},"1135":{"position":[[83,4],[138,4],[234,4]]},"1140":{"position":[[237,4]]},"1146":{"position":[[146,4]]},"1164":{"position":[[567,4]]},"1165":{"position":[[515,4],[976,4]]},"1175":{"position":[[168,4]]},"1183":{"position":[[72,4]]},"1188":{"position":[[36,4]]},"1230":{"position":[[256,4],[310,4]]},"1233":{"position":[[78,4]]},"1267":{"position":[[558,4]]},"1271":{"position":[[1724,4]]},"1301":{"position":[[133,4]]},"1305":{"position":[[109,4]]},"1307":{"position":[[230,4]]},"1308":{"position":[[67,4]]},"1315":{"position":[[506,5],[1032,4]]},"1316":{"position":[[255,4],[599,4],[654,4],[671,4],[1049,4],[2404,4],[3380,4]]},"1318":{"position":[[204,4]]},"1321":{"position":[[848,4],[937,4],[1021,4]]}},"keywords":{}}],["sampl",{"_index":1341,"title":{"209":{"position":[[0,6]]}},"content":{"396":{"position":[[799,8],[894,6],[1861,8],[1909,8],[1979,6]]},"397":{"position":[[1418,7],[1995,7]]},"543":{"position":[[135,6]]},"603":{"position":[[133,6]]}},"keywords":{}}],["samplevector",{"_index":2379,"title":{},"content":{"397":{"position":[[1682,14]]}},"keywords":{}}],["sandbox",{"_index":1106,"title":{},"content":{"131":{"position":[[515,9]]},"433":{"position":[[110,9]]},"1206":{"position":[[130,10]]},"1215":{"position":[[569,9]]}},"keywords":{}}],["satellit",{"_index":2548,"title":{},"content":{"408":{"position":[[2429,9]]},"780":{"position":[[283,10]]}},"keywords":{}}],["satisfact",{"_index":1002,"title":{},"content":{"87":{"position":[[276,13]]},"93":{"position":[[234,12]]}},"keywords":{}}],["save",{"_index":30,"title":{"768":{"position":[[0,5]]}},"content":{"1":{"position":[[457,4]]},"2":{"position":[[123,4],[169,4]]},"3":{"position":[[143,4]]},"4":{"position":[[315,4]]},"5":{"position":[[228,4]]},"6":{"position":[[282,4],[328,4]]},"7":{"position":[[255,4]]},"9":{"position":[[168,4]]},"10":{"position":[[102,4]]},"11":{"position":[[137,4],[1023,4]]},"49":{"position":[[81,4]]},"65":{"position":[[655,5]]},"128":{"position":[[186,4]]},"352":{"position":[[128,6]]},"358":{"position":[[664,4]]},"366":{"position":[[336,6]]},"399":{"position":[[333,6]]},"412":{"position":[[7811,4],[10709,6]]},"419":{"position":[[460,6]]},"424":{"position":[[216,4]]},"445":{"position":[[2377,6]]},"537":{"position":[[65,7]]},"542":{"position":[[237,4]]},"559":{"position":[[328,5],[377,5]]},"597":{"position":[[67,4]]},"647":{"position":[[351,5]]},"661":{"position":[[547,4]]},"703":{"position":[[1421,4]]},"726":{"position":[[64,4],[113,4]]},"727":{"position":[[102,4]]},"728":{"position":[[190,4]]},"739":{"position":[[91,5]]},"749":{"position":[[10619,4]]},"767":{"position":[[394,6]]},"768":{"position":[[3,4],[44,6],[363,6],[628,4]]},"778":{"position":[[69,6]]},"866":{"position":[[48,4]]},"872":{"position":[[162,4]]},"902":{"position":[[797,7]]},"911":{"position":[[429,5]]},"1003":{"position":[[175,4]]},"1068":{"position":[[507,4]]},"1072":{"position":[[2313,5]]},"1085":{"position":[[1983,6],[3071,5],[3372,5],[3584,5]]},"1097":{"position":[[99,4]]},"1102":{"position":[[775,4]]},"1139":{"position":[[398,4]]},"1145":{"position":[[387,4]]},"1177":{"position":[[548,4]]},"1189":{"position":[[54,4]]},"1192":{"position":[[334,4]]},"1250":{"position":[[256,5]]},"1300":{"position":[[415,5]]}},"keywords":{}}],["savedatabas",{"_index":6140,"title":{},"content":{"1175":{"position":[[740,14]]}},"keywords":{}}],["sc1",{"_index":4353,"title":{},"content":{"749":{"position":[[16832,3]]}},"keywords":{}}],["sc10",{"_index":4364,"title":{},"content":{"749":{"position":[[17642,4]]}},"keywords":{}}],["sc11",{"_index":4366,"title":{},"content":{"749":{"position":[[17765,4]]}},"keywords":{}}],["sc13",{"_index":4368,"title":{},"content":{"749":{"position":[[17874,4]]}},"keywords":{}}],["sc14",{"_index":4369,"title":{},"content":{"749":{"position":[[17995,4]]}},"keywords":{}}],["sc15",{"_index":4370,"title":{},"content":{"749":{"position":[[18117,4]]}},"keywords":{}}],["sc16",{"_index":4371,"title":{},"content":{"749":{"position":[[18214,4]]}},"keywords":{}}],["sc17",{"_index":4372,"title":{},"content":{"749":{"position":[[18314,4]]}},"keywords":{}}],["sc18",{"_index":4374,"title":{},"content":{"749":{"position":[[18496,4]]}},"keywords":{}}],["sc19",{"_index":4375,"title":{},"content":{"749":{"position":[[18590,4]]}},"keywords":{}}],["sc2",{"_index":4354,"title":{},"content":{"749":{"position":[[16921,3]]}},"keywords":{}}],["sc20",{"_index":4376,"title":{},"content":{"749":{"position":[[18709,4]]}},"keywords":{}}],["sc21",{"_index":4378,"title":{},"content":{"749":{"position":[[18813,4]]}},"keywords":{}}],["sc22",{"_index":4379,"title":{},"content":{"749":{"position":[[18919,4]]}},"keywords":{}}],["sc23",{"_index":4382,"title":{},"content":{"749":{"position":[[19022,4]]}},"keywords":{}}],["sc24",{"_index":4383,"title":{},"content":{"749":{"position":[[19116,4]]}},"keywords":{}}],["sc25",{"_index":4386,"title":{},"content":{"749":{"position":[[19318,4]]}},"keywords":{}}],["sc26",{"_index":4388,"title":{},"content":{"749":{"position":[[19446,4]]}},"keywords":{}}],["sc28",{"_index":4389,"title":{},"content":{"749":{"position":[[19572,4]]}},"keywords":{}}],["sc29",{"_index":4390,"title":{},"content":{"749":{"position":[[19687,4]]}},"keywords":{}}],["sc3",{"_index":4357,"title":{},"content":{"749":{"position":[[17027,3]]}},"keywords":{}}],["sc30",{"_index":4391,"title":{},"content":{"749":{"position":[[19788,4]]}},"keywords":{}}],["sc32",{"_index":4392,"title":{},"content":{"749":{"position":[[19880,4]]}},"keywords":{}}],["sc33",{"_index":4394,"title":{},"content":{"749":{"position":[[20004,4]]}},"keywords":{}}],["sc34",{"_index":4395,"title":{},"content":{"749":{"position":[[20122,4]]}},"keywords":{}}],["sc35",{"_index":4396,"title":{},"content":{"749":{"position":[[20279,4]]}},"keywords":{}}],["sc36",{"_index":4399,"title":{},"content":{"749":{"position":[[20445,4]]}},"keywords":{}}],["sc37",{"_index":4400,"title":{},"content":{"749":{"position":[[20546,4]]}},"keywords":{}}],["sc38",{"_index":4401,"title":{},"content":{"749":{"position":[[20713,4]]}},"keywords":{}}],["sc39",{"_index":4402,"title":{},"content":{"749":{"position":[[20850,4]]}},"keywords":{}}],["sc4",{"_index":4358,"title":{},"content":{"749":{"position":[[17150,3]]}},"keywords":{}}],["sc40",{"_index":4403,"title":{},"content":{"749":{"position":[[21023,4]]}},"keywords":{}}],["sc41",{"_index":4406,"title":{},"content":{"749":{"position":[[21307,4]]}},"keywords":{}}],["sc42",{"_index":4407,"title":{},"content":{"749":{"position":[[21461,4]]}},"keywords":{}}],["sc6",{"_index":4361,"title":{},"content":{"749":{"position":[[17299,3]]}},"keywords":{}}],["sc7",{"_index":4362,"title":{},"content":{"749":{"position":[[17408,3]]}},"keywords":{}}],["sc8",{"_index":4363,"title":{},"content":{"749":{"position":[[17524,3]]}},"keywords":{}}],["scalabl",{"_index":428,"title":{"224":{"position":[[9,12]]},"623":{"position":[[0,11]]}},"content":{"26":{"position":[[281,8]]},"46":{"position":[[551,12]]},"91":{"position":[[184,11]]},"114":{"position":[[723,12]]},"118":{"position":[[192,8]]},"148":{"position":[[240,8]]},"165":{"position":[[370,8]]},"173":{"position":[[1884,11],[2071,12]]},"175":{"position":[[702,8]]},"178":{"position":[[388,12]]},"186":{"position":[[394,8]]},"198":{"position":[[239,8]]},"224":{"position":[[35,11]]},"241":{"position":[[707,8]]},"267":{"position":[[890,11],[1273,12]]},"369":{"position":[[518,12],[761,11]]},"373":{"position":[[735,8]]},"378":{"position":[[256,11]]},"395":{"position":[[16,11]]},"430":{"position":[[855,11]]},"441":{"position":[[677,8]]},"445":{"position":[[1620,12]]},"446":{"position":[[813,11]]},"447":{"position":[[426,9]]},"485":{"position":[[233,12]]},"530":{"position":[[518,12]]},"620":{"position":[[185,11],[788,12]]},"623":{"position":[[127,11],[197,8],[471,8],[640,9]]},"860":{"position":[[879,8]]},"873":{"position":[[79,8]]},"1247":{"position":[[341,8],[514,8]]},"1295":{"position":[[379,12]]}},"keywords":{}}],["scalablemor",{"_index":3420,"title":{},"content":{"560":{"position":[[530,12]]}},"keywords":{}}],["scale",{"_index":1007,"title":{"91":{"position":[[22,5]]},"487":{"position":[[7,7]]},"782":{"position":[[0,6]]},"1086":{"position":[[0,7]]},"1087":{"position":[[9,8]]},"1091":{"position":[[11,8]]},"1095":{"position":[[11,7]]}},"content":{"100":{"position":[[49,5]]},"224":{"position":[[311,5]]},"318":{"position":[[250,5]]},"353":{"position":[[388,7]]},"358":{"position":[[188,6]]},"369":{"position":[[593,6]]},"385":{"position":[[231,5]]},"386":{"position":[[115,5]]},"394":{"position":[[1421,5],[1658,5]]},"399":{"position":[[58,7]]},"411":{"position":[[544,5],[792,6],[1778,5],[3314,5],[3711,6]]},"417":{"position":[[282,6]]},"418":{"position":[[397,5]]},"477":{"position":[[75,7],[351,8]]},"483":{"position":[[390,5]]},"566":{"position":[[737,6]]},"626":{"position":[[415,6]]},"643":{"position":[[260,5]]},"772":{"position":[[379,6],[1401,6]]},"775":{"position":[[420,7]]},"782":{"position":[[256,5],[314,5]]},"793":{"position":[[886,7]]},"860":{"position":[[996,6],[1230,6]]},"1087":{"position":[[10,7],[150,7],[213,6]]},"1088":{"position":[[68,5]]},"1091":{"position":[[4,5]]},"1092":{"position":[[549,5]]},"1094":{"position":[[121,5]]},"1095":{"position":[[19,7],[98,6]]},"1321":{"position":[[477,6]]}},"keywords":{}}],["scan",{"_index":2060,"title":{"394":{"position":[[48,5]]}},"content":{"358":{"position":[[401,8]]},"394":{"position":[[1363,4]]},"398":{"position":[[126,5]]},"400":{"position":[[62,4]]},"411":{"position":[[3907,8]]},"559":{"position":[[1274,8]]}},"keywords":{}}],["scan.for",{"_index":2485,"title":{},"content":{"402":{"position":[[1391,8]]}},"keywords":{}}],["scatter",{"_index":3523,"title":{},"content":{"590":{"position":[[372,9]]}},"keywords":{}}],["scenario",{"_index":564,"title":{},"content":{"35":{"position":[[616,9]]},"98":{"position":[[59,10]]},"111":{"position":[[176,9]]},"122":{"position":[[141,10]]},"125":{"position":[[52,10]]},"126":{"position":[[348,10]]},"131":{"position":[[846,9]]},"133":{"position":[[135,10]]},"134":{"position":[[163,10]]},"162":{"position":[[726,10]]},"167":{"position":[[4,9]]},"169":{"position":[[4,9]]},"174":{"position":[[1979,9]]},"206":{"position":[[178,9]]},"225":{"position":[[42,10]]},"261":{"position":[[137,9]]},"287":{"position":[[607,9]]},"289":{"position":[[675,10],[1825,9]]},"321":{"position":[[204,9]]},"325":{"position":[[252,10]]},"336":{"position":[[492,10]]},"354":{"position":[[148,9]]},"365":{"position":[[1424,9]]},"378":{"position":[[201,9]]},"380":{"position":[[373,9]]},"411":{"position":[[383,9],[5569,9]]},"412":{"position":[[6092,9],[12238,9]]},"418":{"position":[[39,9]]},"429":{"position":[[361,9]]},"436":{"position":[[4,9]]},"439":{"position":[[200,9]]},"441":{"position":[[296,9]]},"469":{"position":[[570,9]]},"473":{"position":[[237,10]]},"482":{"position":[[1251,10]]},"491":{"position":[[1790,9]]},"502":{"position":[[1186,10]]},"504":{"position":[[1457,9]]},"516":{"position":[[103,10]]},"519":{"position":[[92,8]]},"526":{"position":[[281,10]]},"554":{"position":[[387,9]]},"582":{"position":[[464,10]]},"584":{"position":[[253,9]]},"590":{"position":[[692,10]]},"611":{"position":[[527,9]]},"612":{"position":[[217,9]]},"622":{"position":[[709,9]]},"623":{"position":[[210,9]]},"624":{"position":[[650,9]]},"631":{"position":[[96,10]]},"643":{"position":[[290,9]]},"902":{"position":[[573,10]]},"912":{"position":[[540,9]]},"1009":{"position":[[88,9]]},"1209":{"position":[[335,10]]},"1299":{"position":[[382,8]]}},"keywords":{}}],["scene",{"_index":1162,"title":{},"content":{"152":{"position":[[137,7]]},"361":{"position":[[1130,7]]}},"keywords":{}}],["scenes.offlin",{"_index":3154,"title":{},"content":{"486":{"position":[[160,14]]}},"keywords":{}}],["schedul",{"_index":6485,"title":{},"content":{"1304":{"position":[[550,8]]}},"keywords":{}}],["schema",{"_index":765,"title":{"79":{"position":[[12,6]]},"110":{"position":[[12,6]]},"240":{"position":[[9,6]]},"282":{"position":[[7,6]]},"351":{"position":[[10,6]]},"367":{"position":[[0,6],[40,6]]},"382":{"position":[[0,6]]},"636":{"position":[[0,6]]},"750":{"position":[[25,6]]},"808":{"position":[[0,6]]},"916":{"position":[[26,7]]},"936":{"position":[[0,7]]},"1075":{"position":[[29,7]]},"1260":{"position":[[9,6]]},"1285":{"position":[[0,6]]},"1287":{"position":[[11,7]]},"1291":{"position":[[2,6]]}},"content":{"51":{"position":[[248,6],[289,8],[859,7]]},"57":{"position":[[168,6],[218,6]]},"79":{"position":[[45,6]]},"110":{"position":[[25,6],[127,6]]},"174":{"position":[[2041,6],[2108,6],[2186,6]]},"188":{"position":[[1210,7]]},"209":{"position":[[393,7],[416,8]]},"211":{"position":[[354,7],[378,8]]},"240":{"position":[[87,6],[194,6],[226,6],[325,6]]},"255":{"position":[[737,7],[760,8]]},"259":{"position":[[36,7],[60,8]]},"282":{"position":[[1,6],[282,6]]},"314":{"position":[[702,7],[726,8]]},"315":{"position":[[677,7],[702,8]]},"316":{"position":[[101,7],[144,7],[167,8]]},"334":{"position":[[589,7],[612,8]]},"350":{"position":[[119,7]]},"351":{"position":[[77,6],[377,7]]},"354":{"position":[[398,6],[995,8],[1700,6]]},"356":{"position":[[731,7]]},"357":{"position":[[440,6]]},"360":{"position":[[644,6],[728,6]]},"361":{"position":[[6,7],[35,7]]},"362":{"position":[[110,8],[898,7]]},"367":{"position":[[276,6],[394,6],[679,6]]},"382":{"position":[[66,6],[277,6],[345,6]]},"392":{"position":[[561,7],[1340,6],[1425,6],[1527,7]]},"397":{"position":[[369,6],[384,6],[527,6]]},"403":{"position":[[200,6],[329,6],[432,6],[531,6],[764,7]]},"412":{"position":[[11301,6],[11536,6],[11636,6]]},"480":{"position":[[502,7],[526,8]]},"482":{"position":[[795,7]]},"502":{"position":[[29,6]]},"538":{"position":[[549,6],[590,8],[882,7]]},"544":{"position":[[202,6]]},"554":{"position":[[1216,6],[1287,7],[1317,8]]},"555":{"position":[[83,6]]},"556":{"position":[[1439,6]]},"562":{"position":[[298,8],[510,7]]},"564":{"position":[[730,7],[755,8]]},"566":{"position":[[192,6]]},"567":{"position":[[271,8]]},"579":{"position":[[597,7],[620,8]]},"595":{"position":[[692,6]]},"598":{"position":[[556,6],[597,8],[889,7]]},"604":{"position":[[174,6]]},"632":{"position":[[1487,7],[1510,8]]},"636":{"position":[[103,6],[169,6]]},"638":{"position":[[568,7],[594,8],[863,7]]},"639":{"position":[[285,7],[328,7],[350,8]]},"662":{"position":[[2372,7]]},"680":{"position":[[106,6],[763,6],[1168,7]]},"686":{"position":[[909,6]]},"702":{"position":[[190,6],[397,6]]},"717":{"position":[[1395,7],[1409,6],[1634,6]]},"720":{"position":[[109,7]]},"734":{"position":[[882,7]]},"739":{"position":[[448,7]]},"749":{"position":[[703,6],[819,6],[1933,6],[2414,6],[2531,6],[5171,6],[5443,7],[8599,6],[12348,6],[12826,6],[13074,6],[13452,6],[15209,6],[17660,6],[17783,6],[18861,6],[19508,6],[19629,6],[20064,6],[20221,6],[20387,6],[20655,6],[20792,6],[21047,6],[21099,7],[21788,6],[21928,6],[22034,6],[22087,7],[22172,6],[22390,6],[22656,7]]},"751":{"position":[[226,6],[505,7],[809,7],[1130,6],[1607,7]]},"752":{"position":[[410,7]]},"757":{"position":[[181,6],[314,6]]},"772":{"position":[[959,7]]},"789":{"position":[[204,7],[451,7]]},"791":{"position":[[60,7],[319,7]]},"792":{"position":[[187,7]]},"793":{"position":[[410,6],[996,6]]},"806":{"position":[[612,7]]},"812":{"position":[[65,7]]},"813":{"position":[[65,7]]},"818":{"position":[[531,7]]},"820":{"position":[[185,7]]},"829":{"position":[[291,6],[757,7]]},"836":{"position":[[2058,6]]},"838":{"position":[[984,6],[2586,7]]},"841":{"position":[[1114,6],[1139,7],[1175,7],[1207,7],[1253,7],[1288,7]]},"861":{"position":[[1367,6],[1538,7]]},"862":{"position":[[642,8],[843,7]]},"872":{"position":[[1807,6],[1850,7],[4080,7]]},"878":{"position":[[460,6]]},"879":{"position":[[22,6],[123,6],[356,6]]},"886":{"position":[[1726,7]]},"887":{"position":[[118,6]]},"889":{"position":[[1016,7]]},"898":{"position":[[873,6],[1640,6],[1951,6],[2430,7],[4373,6]]},"904":{"position":[[826,7],[849,8]]},"916":{"position":[[94,6],[376,7]]},"932":{"position":[[1164,6]]},"934":{"position":[[293,7]]},"936":{"position":[[5,6],[84,6],[115,7],[148,6]]},"938":{"position":[[105,6]]},"939":{"position":[[186,7]]},"942":{"position":[[86,6]]},"954":{"position":[[101,8]]},"979":{"position":[[346,7]]},"1013":{"position":[[503,7]]},"1018":{"position":[[386,7]]},"1067":{"position":[[932,7],[1526,7]]},"1074":{"position":[[17,6],[108,6]]},"1075":{"position":[[45,7]]},"1076":{"position":[[162,7]]},"1078":{"position":[[225,6]]},"1079":{"position":[[58,6]]},"1080":{"position":[[55,6]]},"1081":{"position":[[88,7]]},"1084":{"position":[[5,6],[229,6],[499,6]]},"1085":{"position":[[772,7],[890,6],[1192,7],[1761,6],[2701,6],[2753,6],[2895,7],[3011,7],[3045,6],[3195,6],[3249,6],[3417,6],[3449,6],[3570,6]]},"1100":{"position":[[575,6],[847,6],[890,6],[938,7]]},"1107":{"position":[[13,6],[509,6]]},"1108":{"position":[[309,6],[339,6]]},"1149":{"position":[[284,6],[1039,7]]},"1158":{"position":[[326,7],[350,8]]},"1164":{"position":[[690,7]]},"1222":{"position":[[463,7]]},"1237":{"position":[[181,6],[264,6],[309,6]]},"1286":{"position":[[35,6]]},"1287":{"position":[[183,6],[299,8]]},"1288":{"position":[[154,6]]},"1289":{"position":[[5,6]]},"1291":{"position":[[55,8]]},"1292":{"position":[[375,6],[733,6],[995,6]]},"1309":{"position":[[1456,7]]},"1311":{"position":[[308,8],[1006,7]]},"1319":{"position":[[68,6],[506,7]]},"1321":{"position":[[719,6]]},"1322":{"position":[[299,7]]}},"keywords":{}}],["schema"",{"_index":5814,"title":{},"content":{"1074":{"position":[[708,13]]}},"keywords":{}}],["schema'",{"_index":4441,"title":{},"content":{"751":{"position":[[82,8]]}},"keywords":{}}],["schema.do",{"_index":3871,"title":{},"content":{"680":{"position":[[213,9]]}},"keywords":{}}],["schema.html?console=qa#faq",{"_index":4206,"title":{},"content":{"749":{"position":[[5481,26]]}},"keywords":{}}],["schema.html?console=toplevel#non",{"_index":4373,"title":{},"content":{"749":{"position":[[18393,32]]}},"keywords":{}}],["schema.org",{"_index":5847,"title":{},"content":{"1084":{"position":[[278,11]]}},"keywords":{}}],["schema.schema",{"_index":6026,"title":{},"content":{"1132":{"position":[[334,13]]}},"keywords":{}}],["schema/reference/object.html#requir",{"_index":4385,"title":{},"content":{"749":{"position":[[19229,37]]}},"keywords":{}}],["schemacheck",{"_index":4355,"title":{},"content":{"749":{"position":[[16925,12],[17031,12],[17154,12],[17303,12],[17412,12],[17528,12],[17647,12],[17770,12],[17879,12],[18000,12],[18122,12],[18219,12],[18319,12],[18501,12],[18595,12],[18714,12],[18818,12],[18924,12],[19027,12],[19121,12],[19323,12],[19451,12],[19577,12],[19692,12],[19793,12],[19885,12],[20009,12]]}},"keywords":{}}],["schemaless",{"_index":5891,"title":{},"content":{"1085":{"position":[[702,10]]}},"keywords":{}}],["schemapath",{"_index":4411,"title":{},"content":{"749":{"position":[[22061,10]]}},"keywords":{}}],["schemav1",{"_index":2494,"title":{},"content":{"403":{"position":[[476,8],[772,9]]}},"keywords":{}}],["schemavers",{"_index":5375,"title":{},"content":{"954":{"position":[[120,15]]}},"keywords":{}}],["schemawithdefaultag",{"_index":5844,"title":{},"content":{"1082":{"position":[[147,20]]}},"keywords":{}}],["schemawithfinalag",{"_index":5846,"title":{},"content":{"1083":{"position":[[349,18]]}},"keywords":{}}],["schemawithindex",{"_index":5836,"title":{},"content":{"1080":{"position":[[7,17]]}},"keywords":{}}],["schemawithonetomanyrefer",{"_index":4677,"title":{},"content":{"808":{"position":[[499,28]]}},"keywords":{}}],["school/univers",{"_index":6291,"title":{},"content":{"1249":{"position":[[203,17]]}},"keywords":{}}],["scope",{"_index":1156,"title":{},"content":{"151":{"position":[[81,5]]},"302":{"position":[[538,5]]},"411":{"position":[[1711,6]]},"412":{"position":[[12588,6]]},"436":{"position":[[356,5]]},"1009":{"position":[[536,6],[564,5]]},"1311":{"position":[[1226,5]]}},"keywords":{}}],["score",{"_index":3583,"title":{},"content":{"612":{"position":[[256,7]]},"691":{"position":[[133,6],[427,6]]}},"keywords":{}}],["scratch",{"_index":4043,"title":{},"content":{"723":{"position":[[1824,8]]},"756":{"position":[[250,8]]},"1028":{"position":[[171,8]]}},"keywords":{}}],["scratch"",{"_index":5528,"title":{},"content":{"999":{"position":[[131,14]]}},"keywords":{}}],["scream",{"_index":4599,"title":{},"content":{"789":{"position":[[233,7]]},"791":{"position":[[89,7]]},"792":{"position":[[220,7]]},"1311":{"position":[[662,7],[741,8]]}},"keywords":{}}],["screen",{"_index":3216,"title":{},"content":{"500":{"position":[[170,7]]}},"keywords":{}}],["script",{"_index":1264,"title":{},"content":{"188":{"position":[[1742,6]]},"282":{"position":[[444,8]]},"301":{"position":[[204,7]]},"479":{"position":[[447,7]]},"602":{"position":[[332,7]]},"612":{"position":[[798,6],[1446,6]]},"666":{"position":[[414,7]]},"861":{"position":[[424,7],[449,6]]}},"keywords":{}}],["script.leverag",{"_index":1971,"title":{},"content":{"346":{"position":[[158,15]]}},"keywords":{}}],["sdk",{"_index":677,"title":{},"content":{"43":{"position":[[476,5]]},"412":{"position":[[947,3]]},"861":{"position":[[1112,3]]},"862":{"position":[[141,3],[204,3]]},"863":{"position":[[265,3]]},"1278":{"position":[[89,3],[182,3],[641,3]]}},"keywords":{}}],["seamless",{"_index":617,"title":{},"content":{"39":{"position":[[180,8]]},"65":{"position":[[970,8]]},"70":{"position":[[227,8]]},"82":{"position":[[95,8]]},"107":{"position":[[91,8]]},"113":{"position":[[146,8]]},"118":{"position":[[246,8]]},"125":{"position":[[292,8]]},"148":{"position":[[129,8]]},"153":{"position":[[361,8]]},"155":{"position":[[96,8]]},"186":{"position":[[219,8]]},"191":{"position":[[287,8]]},"221":{"position":[[276,8]]},"230":{"position":[[104,8]]},"240":{"position":[[316,8]]},"241":{"position":[[549,8]]},"267":{"position":[[434,8]]},"285":{"position":[[317,8]]},"288":{"position":[[259,8]]},"366":{"position":[[270,9]]},"437":{"position":[[222,8]]},"445":{"position":[[261,8],[1169,8]]},"446":{"position":[[275,8]]},"447":{"position":[[172,8]]},"483":{"position":[[1277,8]]},"489":{"position":[[113,8]]},"491":{"position":[[940,8]]},"502":{"position":[[1301,8]]},"504":{"position":[[325,8],[605,8]]},"510":{"position":[[731,8]]},"519":{"position":[[273,8]]},"530":{"position":[[101,8]]},"548":{"position":[[357,8]]},"608":{"position":[[355,8]]},"1132":{"position":[[1425,8]]}},"keywords":{}}],["seamlessli",{"_index":553,"title":{},"content":{"35":{"position":[[252,10]]},"47":{"position":[[1304,10]]},"72":{"position":[[47,10]]},"76":{"position":[[75,10]]},"89":{"position":[[309,10]]},"90":{"position":[[265,10]]},"94":{"position":[[36,10]]},"99":{"position":[[382,11]]},"110":{"position":[[145,11]]},"122":{"position":[[119,10]]},"133":{"position":[[108,10]]},"135":{"position":[[117,11]]},"157":{"position":[[72,10]]},"160":{"position":[[66,10]]},"164":{"position":[[96,10]]},"167":{"position":[[262,10]]},"173":{"position":[[1554,11],[2247,10],[2816,10]]},"174":{"position":[[530,10],[1396,10],[1918,11],[2245,10]]},"179":{"position":[[69,10]]},"183":{"position":[[190,10]]},"190":{"position":[[106,11]]},"222":{"position":[[63,10]]},"226":{"position":[[397,10]]},"237":{"position":[[210,10]]},"238":{"position":[[220,10]]},"263":{"position":[[266,11]]},"274":{"position":[[134,10]]},"280":{"position":[[372,11]]},"283":{"position":[[492,11]]},"286":{"position":[[6,10]]},"289":{"position":[[900,10]]},"292":{"position":[[114,10]]},"309":{"position":[[186,10]]},"313":{"position":[[48,10]]},"360":{"position":[[586,10]]},"364":{"position":[[154,10]]},"368":{"position":[[309,10]]},"380":{"position":[[39,10]]},"412":{"position":[[2525,10]]},"419":{"position":[[266,10]]},"445":{"position":[[1700,10],[2233,10]]},"446":{"position":[[1344,10]]},"487":{"position":[[369,10]]},"500":{"position":[[57,10],[731,10]]},"501":{"position":[[130,10]]},"502":{"position":[[166,10],[505,11]]},"510":{"position":[[158,10]]},"514":{"position":[[79,10]]},"516":{"position":[[76,10]]},"530":{"position":[[179,10]]},"535":{"position":[[963,10]]},"541":{"position":[[17,10]]},"544":{"position":[[139,11]]},"574":{"position":[[902,10]]},"575":{"position":[[549,10]]},"584":{"position":[[22,10]]},"595":{"position":[[1038,10]]},"604":{"position":[[139,11]]},"632":{"position":[[2699,10]]},"723":{"position":[[1027,10]]},"838":{"position":[[702,10]]},"912":{"position":[[185,10]]},"981":{"position":[[1386,10]]}},"keywords":{}}],["seamlessly.handl",{"_index":1919,"title":{},"content":{"321":{"position":[[214,17]]}},"keywords":{}}],["search",{"_index":1327,"title":{"394":{"position":[[0,9]]},"398":{"position":[[0,9]]},"722":{"position":[[9,6]]},"723":{"position":[[35,7]]},"724":{"position":[[24,7]]},"1023":{"position":[[18,7]]}},"content":{"205":{"position":[[227,8]]},"252":{"position":[[226,7]]},"263":{"position":[[16,9]]},"383":{"position":[[192,7],[224,6]]},"390":{"position":[[1217,7],[1692,6],[1919,6]]},"393":{"position":[[1138,6]]},"394":{"position":[[1747,6]]},"396":{"position":[[249,8],[649,7],[750,6]]},"398":{"position":[[69,8],[349,6],[565,6],[1906,6],[3027,6]]},"402":{"position":[[549,6],[1107,6],[1413,6],[1622,6],[2156,6],[2264,6],[2327,6]]},"408":{"position":[[3641,6],[4501,9],[4810,6]]},"427":{"position":[[969,8]]},"559":{"position":[[1233,9]]},"560":{"position":[[405,9]]},"566":{"position":[[270,8]]},"587":{"position":[[35,8]]},"696":{"position":[[649,6]]},"714":{"position":[[794,6]]},"723":{"position":[[11,6],[137,6],[208,6],[284,6],[392,6],[521,6],[684,6],[1152,6],[1197,6],[1353,6],[1844,6],[2131,6],[2183,9],[2219,8],[2306,9],[2515,6],[2573,6],[2776,6]]},"724":{"position":[[16,6],[653,8],[710,6],[1247,6],[1519,6],[1686,6]]},"749":{"position":[[46,6],[393,6],[520,6],[611,6],[764,6],[901,6],[1036,6],[1260,6],[1348,6],[1497,6],[1600,6],[1697,6],[1814,6],[1940,6],[2043,6],[2149,6],[2243,6],[2336,6],[2421,6],[2538,6],[2779,6],[2892,6],[3125,6],[3245,6],[3601,6],[3798,6],[3885,6],[3957,6],[4072,6],[4188,6],[4310,6],[4487,6],[4561,6],[4668,6],[4803,6],[4935,6],[5087,6],[5189,6],[5301,6],[5508,6],[6016,6],[6152,6],[6288,6],[6407,6],[6549,6],[6661,6],[6776,6],[6900,6],[7008,6],[7127,6],[7218,6],[7251,6],[7434,6],[7514,6],[7591,6],[7690,6],[7794,6],[7889,6],[7989,6],[8083,6],[8181,6],[8289,6],[8384,6],[8484,6],[8606,6],[8683,6],[8857,6],[9007,6],[9165,6],[9456,6],[9601,6],[9685,6],[9773,6],[9880,6],[9994,6],[10112,6],[10221,6],[10326,6],[10414,6],[10537,6],[10641,6],[10747,6],[10838,6],[10920,6],[11058,6],[11199,6],[11310,6],[11409,6],[11485,6],[11630,6],[11727,6],[11836,6],[12137,6],[12228,6],[12355,6],[12436,6],[12509,6],[12724,6],[12833,6],[12910,6],[13019,6],[13136,6],[13210,6],[13330,6],[13459,6],[13582,6],[13705,6],[13803,6],[13947,6],[14030,6],[14124,6],[14236,6],[14321,6],[14517,6],[14599,6],[14714,6],[14870,6],[15081,6],[15240,6],[15415,6],[15547,6],[15681,6],[15813,6],[15948,6],[16050,6],[16198,6],[16317,6],[16439,6],[16588,6],[16781,6],[16870,6],[16976,6],[17099,6],[17248,6],[17357,6],[17473,6],[17591,6],[17714,6],[17823,6],[17944,6],[18066,6],[18163,6],[18263,6],[18445,6],[18539,6],[18658,6],[18762,6],[18868,6],[18971,6],[19065,6],[19267,6],[19395,6],[19521,6],[19636,6],[19737,6],[19829,6],[19953,6],[20071,6],[20228,6],[20394,6],[20495,6],[20662,6],[20799,6],[20972,6],[21256,6],[21410,6],[21673,6],[21975,6],[22095,6],[22179,6],[22297,6],[22404,6],[22524,6],[22664,6],[22793,6],[22953,6],[23146,6],[23272,6],[23404,6],[23537,6],[23728,6],[23910,6],[24030,6],[24191,6],[24321,6],[24401,6]]},"793":{"position":[[1168,6]]},"1023":{"position":[[79,7],[169,8]]},"1065":{"position":[[195,6],[1214,6]]},"1072":{"position":[[1652,7],[1783,6],[2086,7],[2169,7],[2204,7],[2605,9]]},"1107":{"position":[[102,6]]},"1167":{"position":[[26,6]]},"1284":{"position":[[118,6]]},"1296":{"position":[[120,6]]}},"keywords":{}}],["search.us",{"_index":1561,"title":{},"content":{"252":{"position":[[282,10]]}},"keywords":{}}],["searchabl",{"_index":4052,"title":{},"content":{"724":{"position":[[803,10]]}},"keywords":{}}],["searchembed",{"_index":2399,"title":{},"content":{"398":{"position":[[954,17],[1564,17],[2240,17],[2717,17]]}},"keywords":{}}],["searchstr",{"_index":4062,"title":{},"content":{"724":{"position":[[1566,12]]}},"keywords":{}}],["second",{"_index":173,"title":{},"content":{"11":{"position":[[934,6]]},"392":{"position":[[3080,7]]},"394":{"position":[[1727,8]]},"398":{"position":[[3280,6]]},"412":{"position":[[10136,6]]},"460":{"position":[[518,6]]},"463":{"position":[[1210,7]]},"468":{"position":[[547,7]]},"571":{"position":[[1606,6]]},"612":{"position":[[2196,7]]},"653":{"position":[[765,8],[816,7]]},"656":{"position":[[264,7]]},"703":{"position":[[1007,6],[1376,7]]},"724":{"position":[[1704,6]]},"736":{"position":[[257,8]]},"739":{"position":[[79,7]]},"766":{"position":[[110,6]]},"818":{"position":[[174,7]]},"885":{"position":[[1674,6]]},"986":{"position":[[286,6]]},"988":{"position":[[1065,8]]},"996":{"position":[[523,8]]},"1300":{"position":[[938,7]]}},"keywords":{}}],["secondari",{"_index":59,"title":{},"content":{"4":{"position":[[63,9]]},"1079":{"position":[[15,9]]}},"keywords":{}}],["secondsit",{"_index":4701,"title":{},"content":{"816":{"position":[[362,9]]}},"keywords":{}}],["secret",{"_index":1900,"title":{},"content":{"315":{"position":[[666,8],[694,7]]},"551":{"position":[[265,9]]},"555":{"position":[[365,6],[602,6],[677,6]]},"564":{"position":[[719,8],[747,7]]},"638":{"position":[[557,8],[585,8]]},"717":{"position":[[1520,7],[1579,10]]},"1074":{"position":[[368,6]]},"1108":{"position":[[553,9]]}},"keywords":{}}],["secretdata",{"_index":3139,"title":{},"content":{"482":{"position":[[919,11],[982,14],[1107,10]]}},"keywords":{}}],["secretfield",{"_index":3352,"title":{},"content":{"554":{"position":[[1459,12],[1526,14]]},"555":{"position":[[339,12],[655,12]]},"638":{"position":[[703,12],[767,15]]}},"keywords":{}}],["secretinfo",{"_index":3438,"title":{},"content":{"564":{"position":[[848,11],[911,14]]}},"keywords":{}}],["secretss",{"_index":5970,"title":{},"content":{"1108":{"position":[[491,9]]}},"keywords":{}}],["section",{"_index":3231,"title":{},"content":{"502":{"position":[[1337,8]]},"617":{"position":[[448,7]]}},"keywords":{}}],["secur",{"_index":932,"title":{"290":{"position":[[33,6]]},"377":{"position":[[0,8]]},"482":{"position":[[0,8]]},"991":{"position":[[0,9]]},"1237":{"position":[[31,9]]}},"content":{"65":{"position":[[1666,6]]},"95":{"position":[[1,8]]},"139":{"position":[[231,6]]},"167":{"position":[[25,8],[192,6]]},"170":{"position":[[503,9]]},"195":{"position":[[28,9]]},"218":{"position":[[1,8],[268,8]]},"290":{"position":[[18,8],[124,6]]},"291":{"position":[[70,8],[521,7]]},"292":{"position":[[1,8],[358,7]]},"293":{"position":[[435,9]]},"294":{"position":[[16,8]]},"295":{"position":[[20,8],[130,6],[217,8],[346,8]]},"310":{"position":[[1,8],[382,9]]},"315":{"position":[[4,6]]},"318":{"position":[[627,7]]},"343":{"position":[[29,6]]},"365":{"position":[[1485,8]]},"377":{"position":[[48,8],[266,8],[314,6]]},"383":{"position":[[123,6]]},"407":{"position":[[1108,9]]},"408":{"position":[[1697,8]]},"412":{"position":[[12051,8],[12116,8]]},"450":{"position":[[198,8]]},"460":{"position":[[801,8]]},"482":{"position":[[121,6]]},"483":{"position":[[518,8],[1227,8]]},"506":{"position":[[75,8]]},"526":{"position":[[26,8]]},"544":{"position":[[291,6]]},"551":{"position":[[40,6],[206,6]]},"554":{"position":[[219,9],[1304,7]]},"556":{"position":[[1,6],[76,6],[249,8],[1537,6],[1572,6],[1771,6]]},"557":{"position":[[429,7]]},"586":{"position":[[110,8]]},"604":{"position":[[244,6]]},"616":{"position":[[857,8]]},"631":{"position":[[442,6]]},"644":{"position":[[521,6]]},"697":{"position":[[606,6]]},"709":{"position":[[733,8],[1095,8]]},"717":{"position":[[262,6]]},"718":{"position":[[85,7]]},"838":{"position":[[835,9]]},"860":{"position":[[15,7],[894,7]]},"897":{"position":[[503,8]]},"899":{"position":[[192,8]]},"901":{"position":[[467,8]]},"912":{"position":[[128,8],[712,8]]},"1112":{"position":[[602,8]]},"1206":{"position":[[633,8]]},"1237":{"position":[[78,6],[210,8]]},"1247":{"position":[[333,7],[506,7],[693,7]]},"1287":{"position":[[144,8]]},"1297":{"position":[[137,6]]}},"keywords":{}}],["securedata",{"_index":3350,"title":{},"content":{"554":{"position":[[1273,11]]}},"keywords":{}}],["securedb",{"_index":3713,"title":{},"content":{"638":{"position":[[455,11]]}},"keywords":{}}],["secureionicdb",{"_index":1898,"title":{},"content":{"315":{"position":[[563,16]]}},"keywords":{}}],["secureofflinedb",{"_index":3136,"title":{},"content":{"482":{"position":[[638,18]]}},"keywords":{}}],["securereactstorag",{"_index":3436,"title":{},"content":{"564":{"position":[[608,21]]}},"keywords":{}}],["securesetup",{"_index":3435,"title":{},"content":{"564":{"position":[[410,13]]}},"keywords":{}}],["securityrealtim",{"_index":5233,"title":{},"content":{"899":{"position":[[257,16]]}},"keywords":{}}],["see",{"_index":861,"title":{"422":{"position":[[0,3]]}},"content":{"57":{"position":[[301,3],[372,3]]},"58":{"position":[[325,3]]},"59":{"position":[[284,3]]},"301":{"position":[[375,3],[690,3]]},"304":{"position":[[442,3]]},"340":{"position":[[152,3]]},"347":{"position":[[481,3]]},"361":{"position":[[1001,4]]},"362":{"position":[[1552,3]]},"388":{"position":[[107,3]]},"394":{"position":[[1197,3]]},"408":{"position":[[4209,3]]},"411":{"position":[[4267,3]]},"412":{"position":[[5911,3],[12134,3]]},"415":{"position":[[64,3]]},"419":{"position":[[698,4]]},"420":{"position":[[43,3]]},"421":{"position":[[80,3],[614,3],[1075,3]]},"446":{"position":[[723,4]]},"464":{"position":[[842,3]]},"469":{"position":[[1289,3]]},"489":{"position":[[247,3]]},"491":{"position":[[748,3]]},"495":{"position":[[301,3],[888,3]]},"498":{"position":[[350,3]]},"544":{"position":[[260,4]]},"545":{"position":[[222,4]]},"560":{"position":[[622,4]]},"567":{"position":[[461,3]]},"591":{"position":[[636,3]]},"605":{"position":[[222,4]]},"620":{"position":[[395,3]]},"632":{"position":[[477,4]]},"724":{"position":[[1108,3]]},"749":{"position":[[194,3],[1168,3],[12663,3],[15354,3],[15518,3],[15652,3],[15784,3],[18368,3],[19173,3]]},"796":{"position":[[251,3]]},"805":{"position":[[224,3]]},"806":{"position":[[147,3]]},"831":{"position":[[543,3]]},"849":{"position":[[330,3]]},"890":{"position":[[883,3]]},"913":{"position":[[34,3],[206,3]]},"937":{"position":[[158,3]]},"938":{"position":[[137,3]]},"949":{"position":[[56,3]]},"950":{"position":[[202,3]]},"988":{"position":[[4764,3]]},"1009":{"position":[[315,4]]},"1036":{"position":[[88,3]]},"1081":{"position":[[96,3]]},"1097":{"position":[[533,4],[815,4]]},"1108":{"position":[[152,3]]},"1137":{"position":[[234,3]]},"1191":{"position":[[547,3]]},"1271":{"position":[[988,3]]}},"keywords":{}}],["seed",{"_index":1331,"title":{},"content":{"206":{"position":[[110,4]]}},"keywords":{}}],["seek",{"_index":1433,"title":{},"content":{"241":{"position":[[685,7]]},"295":{"position":[[202,7]]},"318":{"position":[[604,7]]}},"keywords":{}}],["seem",{"_index":2345,"title":{},"content":{"396":{"position":[[1218,5]]}},"keywords":{}}],["seemingli",{"_index":2056,"title":{},"content":{"358":{"position":[[153,9]]}},"keywords":{}}],["seen",{"_index":1863,"title":{},"content":{"304":{"position":[[399,4]]},"412":{"position":[[6546,4]]},"421":{"position":[[963,4]]},"701":{"position":[[200,4],[837,4]]},"839":{"position":[[162,4]]},"1116":{"position":[[54,4]]}},"keywords":{}}],["seen/edit",{"_index":5958,"title":{},"content":{"1105":{"position":[[986,11]]}},"keywords":{}}],["select",{"_index":2136,"title":{},"content":{"373":{"position":[[673,9]]},"525":{"position":[[656,6]]},"705":{"position":[[721,7]]},"749":{"position":[[10528,8]]},"759":{"position":[[1435,11]]},"821":{"position":[[1023,10]]},"829":{"position":[[247,10]]},"1215":{"position":[[333,6],[661,6]]},"1250":{"position":[[96,6]]},"1315":{"position":[[379,6]]},"1321":{"position":[[260,6]]}},"keywords":{}}],["selector",{"_index":804,"title":{},"content":{"52":{"position":[[409,9],[499,9],[646,9]]},"54":{"position":[[157,9]]},"77":{"position":[[232,9]]},"103":{"position":[[272,9]]},"130":{"position":[[512,9]]},"143":{"position":[[452,9],[633,9]]},"234":{"position":[[332,9]]},"276":{"position":[[429,9]]},"398":{"position":[[1048,9],[1210,9],[2348,9]]},"480":{"position":[[731,9]]},"502":{"position":[[938,9]]},"518":{"position":[[405,9]]},"539":{"position":[[409,9],[499,9],[646,9]]},"555":{"position":[[498,9]]},"556":{"position":[[840,9]]},"571":{"position":[[879,9]]},"580":{"position":[[506,9]]},"599":{"position":[[436,9],[526,9],[677,9]]},"662":{"position":[[2710,9],[2798,9]]},"681":{"position":[[424,8],[546,8],[659,8],[708,9],[774,8],[835,8]]},"682":{"position":[[348,9],[405,9],[462,9],[519,9]]},"683":{"position":[[758,9]]},"710":{"position":[[2017,9],[2105,9]]},"749":{"position":[[2681,8]]},"772":{"position":[[1034,9]]},"796":{"position":[[434,9],[859,9],[1152,9]]},"797":{"position":[[271,9]]},"798":{"position":[[566,9]]},"820":{"position":[[561,9],[613,9]]},"825":{"position":[[697,9]]},"829":{"position":[[2413,9],[3329,9]]},"838":{"position":[[2924,9],[3012,9]]},"950":{"position":[[279,9]]},"951":{"position":[[143,9]]},"1055":{"position":[[68,10],[211,9]]},"1056":{"position":[[122,9],[218,9]]},"1059":{"position":[[246,9]]},"1060":{"position":[[114,9]]},"1061":{"position":[[115,9]]},"1062":{"position":[[171,9]]},"1063":{"position":[[129,9],[233,9]]},"1065":{"position":[[229,9],[801,9],[1055,9],[1299,9]]},"1066":{"position":[[372,9]]},"1067":{"position":[[311,9],[806,8],[886,8],[1305,9],[1572,9],[1984,9],[2128,9]]},"1072":{"position":[[2484,9],[2662,9]]},"1102":{"position":[[659,9],[1048,9]]},"1158":{"position":[[698,9]]},"1249":{"position":[[483,9]]},"1252":{"position":[[218,8],[339,9]]}},"keywords":{}}],["self",{"_index":238,"title":{"1095":{"position":[[6,4]]}},"content":{"14":{"position":[[1109,4]]},"174":{"position":[[3046,4]]},"840":{"position":[[566,4]]},"861":{"position":[[42,4],[202,4],[267,4]]},"862":{"position":[[944,4]]},"870":{"position":[[220,4]]},"896":{"position":[[24,4]]},"1124":{"position":[[2060,4]]},"1227":{"position":[[32,4]]},"1265":{"position":[[25,4]]},"1313":{"position":[[77,4]]},"1319":{"position":[[214,4],[384,4]]}},"keywords":{}}],["sell",{"_index":475,"title":{},"content":{"29":{"position":[[114,7]]},"412":{"position":[[2851,4]]}},"keywords":{}}],["semant",{"_index":2186,"title":{},"content":{"390":{"position":[[401,8]]},"689":{"position":[[165,10]]}},"keywords":{}}],["semi",{"_index":1637,"title":{"1192":{"position":[[14,4]]}},"content":{"276":{"position":[[233,4]]},"975":{"position":[[180,4]]},"1192":{"position":[[245,4],[693,4]]}},"keywords":{}}],["send",{"_index":1339,"title":{"616":{"position":[[0,7]]},"1220":{"position":[[0,7]]}},"content":{"208":{"position":[[198,7]]},"255":{"position":[[154,4],[1109,4]]},"392":{"position":[[3431,5],[3731,4]]},"407":{"position":[[117,7]]},"408":{"position":[[2521,4],[3869,4]]},"411":{"position":[[514,5]]},"415":{"position":[[464,7]]},"458":{"position":[[1105,4],[1192,4]]},"460":{"position":[[659,7]]},"461":{"position":[[87,4]]},"463":{"position":[[909,7],[1001,4]]},"464":{"position":[[850,7]]},"466":{"position":[[286,7],[481,7]]},"476":{"position":[[251,5]]},"481":{"position":[[779,4]]},"487":{"position":[[36,7]]},"610":{"position":[[451,5]]},"611":{"position":[[447,4],[753,7]]},"612":{"position":[[339,7],[456,4],[550,7],[601,4],[2174,4]]},"613":{"position":[[216,7]]},"616":{"position":[[43,4],[112,4],[247,7],[403,4],[569,7],[675,4],[1090,7],[1177,4]]},"618":{"position":[[602,4]]},"621":{"position":[[290,4],[561,4]]},"622":{"position":[[191,7]]},"626":{"position":[[528,4]]},"670":{"position":[[111,7]]},"704":{"position":[[569,4]]},"711":{"position":[[600,4]]},"736":{"position":[[218,5],[385,4]]},"780":{"position":[[261,7],[555,7]]},"784":{"position":[[209,4]]},"846":{"position":[[1215,7]]},"849":{"position":[[171,7]]},"875":{"position":[[3583,4],[7890,4]]},"876":{"position":[[247,4]]},"882":{"position":[[16,4],[165,7]]},"885":{"position":[[354,7]]},"886":{"position":[[1501,4],[2204,4],[3033,4],[5097,4]]},"888":{"position":[[872,4]]},"890":{"position":[[367,7]]},"982":{"position":[[408,7]]},"983":{"position":[[443,4]]},"984":{"position":[[233,4]]},"986":{"position":[[1283,4]]},"987":{"position":[[449,7]]},"988":{"position":[[3234,4],[4979,7],[5290,5]]},"990":{"position":[[6,7],[71,4],[654,4]]},"993":{"position":[[244,4]]},"996":{"position":[[336,7]]},"1068":{"position":[[383,4]]},"1102":{"position":[[1221,4]]},"1174":{"position":[[586,4]]},"1218":{"position":[[176,6],[517,4],[864,4]]},"1220":{"position":[[40,4]]},"1230":{"position":[[140,7]]},"1239":{"position":[[388,7]]},"1250":{"position":[[73,4],[228,4]]},"1270":{"position":[[155,7]]},"1276":{"position":[[270,7]]},"1308":{"position":[[328,4]]},"1317":{"position":[[148,5]]}},"keywords":{}}],["send(msg",{"_index":6248,"title":{},"content":{"1218":{"position":[[502,9],[850,10]]}},"keywords":{}}],["sender",{"_index":4451,"title":{},"content":{"751":{"position":[[1249,6]]}},"keywords":{}}],["sendercountri",{"_index":4449,"title":{},"content":{"751":{"position":[[1161,15]]}},"keywords":{}}],["sendev",{"_index":3600,"title":{},"content":{"612":{"position":[[2004,9]]}},"keywords":{}}],["sendevent(messag",{"_index":3609,"title":{},"content":{"612":{"position":[[2335,19]]}},"keywords":{}}],["sens",{"_index":187,"title":{},"content":{"13":{"position":[[88,5],[281,5]]},"399":{"position":[[583,5]]},"402":{"position":[[612,5]]},"453":{"position":[[683,5]]},"454":{"position":[[580,5]]},"462":{"position":[[981,5]]},"614":{"position":[[728,5]]},"617":{"position":[[927,5]]},"682":{"position":[[141,5]]},"703":{"position":[[1098,5]]},"798":{"position":[[736,5]]},"800":{"position":[[50,5]]},"815":{"position":[[333,6]]},"821":{"position":[[210,5],[433,5],[756,5]]},"932":{"position":[[323,5]]},"1066":{"position":[[542,5]]},"1093":{"position":[[120,5]]},"1194":{"position":[[104,5]]},"1213":{"position":[[424,5]]},"1249":{"position":[[136,6]]}},"keywords":{}}],["sensit",{"_index":863,"title":{},"content":{"57":{"position":[[348,9]]},"65":{"position":[[1596,9]]},"95":{"position":[[72,9],[230,9]]},"139":{"position":[[117,9]]},"167":{"position":[[162,9]]},"173":{"position":[[1277,9]]},"195":{"position":[[146,9]]},"218":{"position":[[97,9]]},"290":{"position":[[27,9]]},"291":{"position":[[235,9]]},"310":{"position":[[52,9]]},"343":{"position":[[108,9]]},"377":{"position":[[207,9]]},"396":{"position":[[105,9],[1828,9]]},"410":{"position":[[553,9]]},"479":{"position":[[268,9]]},"482":{"position":[[34,9],[1217,9]]},"483":{"position":[[297,9]]},"506":{"position":[[101,9]]},"526":{"position":[[62,9],[255,9]]},"550":{"position":[[176,9]]},"555":{"position":[[982,9]]},"564":{"position":[[57,9]]},"586":{"position":[[27,9]]},"638":{"position":[[48,9]]},"912":{"position":[[284,9]]}},"keywords":{}}],["sensor",{"_index":3459,"title":{},"content":{"569":{"position":[[677,7]]}},"keywords":{}}],["sent",{"_index":2589,"title":{"609":{"position":[[21,4]]},"612":{"position":[[16,4]]}},"content":{"410":{"position":[[578,4]]},"450":{"position":[[368,4]]},"491":{"position":[[636,4],[1675,4]]},"612":{"position":[[8,4],[392,4]]},"613":{"position":[[322,4]]},"616":{"position":[[542,4]]},"619":{"position":[[268,4]]},"620":{"position":[[49,4]]},"621":{"position":[[196,4]]},"622":{"position":[[209,4]]},"623":{"position":[[179,4]]},"624":{"position":[[129,4]]},"628":{"position":[[109,4]]},"698":{"position":[[1773,4],[1856,4]]},"875":{"position":[[7048,4],[7976,4]]},"886":{"position":[[332,4]]},"988":{"position":[[5049,4]]},"1066":{"position":[[31,4]]}},"keywords":{}}],["sentenc",{"_index":6206,"title":{},"content":{"1208":{"position":[[1125,8]]}},"keywords":{}}],["seo",{"_index":1436,"title":{"243":{"position":[[0,3]]},"244":{"position":[[0,4]]},"245":{"position":[[4,4]]}},"content":{},"keywords":{}}],["separ",{"_index":1141,"title":{},"content":{"145":{"position":[[18,10]]},"172":{"position":[[249,8]]},"328":{"position":[[160,8]]},"392":{"position":[[2055,8],[2583,8]]},"445":{"position":[[2318,8]]},"460":{"position":[[574,8],[843,8]]},"476":{"position":[[91,8]]},"487":{"position":[[46,8],[447,8]]},"801":{"position":[[374,8]]},"829":{"position":[[316,10],[1113,8]]},"1007":{"position":[[276,8]]},"1022":{"position":[[407,8]]},"1072":{"position":[[587,8]]},"1078":{"position":[[423,9],[476,10]]},"1093":{"position":[[308,9]]}},"keywords":{}}],["sequenc",{"_index":3901,"title":{},"content":{"689":{"position":[[403,8]]}},"keywords":{}}],["sequenti",{"_index":2350,"title":{},"content":{"396":{"position":[[1608,10]]}},"keywords":{}}],["seri",{"_index":4523,"title":{},"content":{"767":{"position":[[114,6],[218,6],[319,6],[740,6]]},"768":{"position":[[97,6],[179,6],[276,6],[748,6]]},"769":{"position":[[106,6],[192,6],[293,6],[711,6]]}},"keywords":{}}],["serial",{"_index":2036,"title":{"426":{"position":[[45,14]]}},"content":{"356":{"position":[[342,6]]},"426":{"position":[[124,14]]},"464":{"position":[[937,11]]},"759":{"position":[[879,6]]},"1194":{"position":[[530,9],[603,9],[642,6]]}},"keywords":{}}],["seriou",{"_index":2578,"title":{},"content":{"408":{"position":[[5519,7]]}},"keywords":{}}],["serv",{"_index":1180,"title":{},"content":{"162":{"position":[[64,5]]},"173":{"position":[[57,6]]},"216":{"position":[[25,5]]},"267":{"position":[[1129,6]]},"333":{"position":[[171,5]]},"412":{"position":[[8373,6]]},"432":{"position":[[20,6]]},"441":{"position":[[54,6]]},"461":{"position":[[462,5]]},"479":{"position":[[500,5]]},"502":{"position":[[662,5]]},"624":{"position":[[1512,5]]},"875":{"position":[[740,6]]},"1090":{"position":[[16,5],[211,7]]},"1100":{"position":[[138,6]]},"1123":{"position":[[309,7]]},"1151":{"position":[[157,6]]},"1178":{"position":[[156,6]]},"1210":{"position":[[526,6]]},"1227":{"position":[[382,6]]},"1265":{"position":[[375,6]]},"1320":{"position":[[880,6]]}},"keywords":{}}],["server",{"_index":240,"title":{"69":{"position":[[14,6]]},"100":{"position":[[14,6]]},"132":{"position":[[49,8]]},"163":{"position":[[49,8]]},"190":{"position":[[49,8]]},"202":{"position":[[22,6]]},"288":{"position":[[50,8]]},"337":{"position":[[49,8]]},"477":{"position":[[11,6]]},"491":{"position":[[19,7]]},"525":{"position":[[49,8]]},"582":{"position":[[49,8]]},"609":{"position":[[14,6]]},"612":{"position":[[9,6]]},"623":{"position":[[16,6]]},"708":{"position":[[0,6]]},"861":{"position":[[23,7]]},"874":{"position":[[31,6]]},"877":{"position":[[5,6]]},"885":{"position":[[30,7]]},"892":{"position":[[23,7]]},"893":{"position":[[25,7]]},"902":{"position":[[52,6]]},"906":{"position":[[10,7]]},"986":{"position":[[19,7]]},"1096":{"position":[[5,6]]},"1107":{"position":[[0,6]]},"1108":{"position":[[0,6]]},"1219":{"position":[[23,7]]},"1250":{"position":[[25,8]]},"1317":{"position":[[0,6]]}},"content":{"14":{"position":[[1129,6]]},"23":{"position":[[23,6],[254,6],[285,6]]},"26":{"position":[[193,8]]},"29":{"position":[[197,7]]},"37":{"position":[[64,6]]},"38":{"position":[[312,6]]},"43":{"position":[[160,6]]},"46":{"position":[[344,6],[616,7]]},"65":{"position":[[357,7]]},"66":{"position":[[251,6]]},"67":{"position":[[46,6]]},"69":{"position":[[1,6]]},"70":{"position":[[33,6]]},"82":{"position":[[149,7]]},"87":{"position":[[136,6]]},"91":{"position":[[129,6],[226,7]]},"92":{"position":[[118,6]]},"93":{"position":[[124,7]]},"98":{"position":[[47,6]]},"99":{"position":[[66,6],[136,7]]},"100":{"position":[[1,6]]},"101":{"position":[[44,6]]},"113":{"position":[[226,8]]},"122":{"position":[[225,6]]},"123":{"position":[[73,8]]},"132":{"position":[[55,6],[245,6]]},"133":{"position":[[219,6]]},"135":{"position":[[93,6],[208,7]]},"147":{"position":[[60,8]]},"151":{"position":[[264,7]]},"153":{"position":[[411,8]]},"157":{"position":[[218,6]]},"158":{"position":[[69,8]]},"164":{"position":[[358,7]]},"165":{"position":[[114,8]]},"172":{"position":[[267,6]]},"173":{"position":[[296,6],[1748,7],[2017,6]]},"174":{"position":[[3058,8]]},"181":{"position":[[337,8]]},"183":{"position":[[226,6]]},"184":{"position":[[189,8]]},"190":{"position":[[98,7]]},"191":{"position":[[182,6]]},"192":{"position":[[116,8]]},"202":{"position":[[156,7]]},"208":{"position":[[85,8]]},"209":{"position":[[779,6],[1073,6]]},"210":{"position":[[748,6]]},"217":{"position":[[165,6]]},"220":{"position":[[111,6]]},"224":{"position":[[164,6],[263,6]]},"225":{"position":[[30,6]]},"226":{"position":[[62,6]]},"227":{"position":[[28,6]]},"228":{"position":[[1,6]]},"238":{"position":[[141,8]]},"249":{"position":[[108,6],[475,8]]},"261":{"position":[[39,7],[205,7],[569,6],[1168,6]]},"262":{"position":[[546,6]]},"279":{"position":[[158,8]]},"280":{"position":[[365,6]]},"288":{"position":[[48,7],[302,8]]},"289":{"position":[[140,8],[577,8],[822,7],[1784,7]]},"293":{"position":[[284,7]]},"318":{"position":[[689,7]]},"321":{"position":[[296,7],[323,6]]},"322":{"position":[[263,6]]},"325":{"position":[[132,8]]},"327":{"position":[[268,6]]},"338":{"position":[[186,7]]},"340":{"position":[[56,6],[72,6]]},"357":{"position":[[554,6]]},"359":{"position":[[37,7]]},"360":{"position":[[513,7]]},"365":{"position":[[944,6],[1096,6],[1235,6],[1309,7],[1525,7],[1597,7]]},"367":{"position":[[148,6]]},"369":{"position":[[1089,8]]},"370":{"position":[[199,6],[292,6]]},"375":{"position":[[336,8]]},"381":{"position":[[451,6]]},"384":{"position":[[160,6]]},"399":{"position":[[4,6],[90,8]]},"400":{"position":[[774,6]]},"407":{"position":[[97,7],[576,6]]},"408":{"position":[[2757,6],[5341,7]]},"410":{"position":[[263,6],[597,8],[812,6],[1746,6],[2010,7],[2104,6]]},"411":{"position":[[9,6],[194,6],[581,7],[698,6],[1052,6],[1483,6],[2517,6],[5164,8]]},"412":{"position":[[1067,7],[2013,6],[2211,6],[4303,7],[5234,6],[5293,6],[5803,8],[7771,6],[8322,6],[8354,6],[8852,6],[8870,7],[9069,6],[9561,7],[9768,6],[10428,8],[10829,6],[10939,6],[11155,6],[11216,6],[12159,7],[12474,6],[12966,6],[13312,6],[14128,6]]},"414":{"position":[[206,6],[345,6]]},"415":{"position":[[304,7]]},"416":{"position":[[233,6],[351,6],[482,6]]},"421":{"position":[[688,6]]},"422":{"position":[[195,6]]},"424":{"position":[[466,6]]},"444":{"position":[[655,7]]},"445":{"position":[[714,6]]},"450":{"position":[[404,7]]},"455":{"position":[[229,6]]},"457":{"position":[[179,6]]},"461":{"position":[[99,6],[293,6]]},"474":{"position":[[31,7],[248,6]]},"476":{"position":[[28,6],[244,6]]},"477":{"position":[[67,7],[252,6]]},"481":{"position":[[58,6],[154,6],[755,6],[800,6]]},"483":{"position":[[166,6],[858,6]]},"486":{"position":[[116,6]]},"487":{"position":[[7,6],[152,6],[242,6]]},"489":{"position":[[574,6]]},"490":{"position":[[134,7]]},"491":{"position":[[315,6],[362,6],[629,6],[687,6],[1558,6],[1668,6]]},"495":{"position":[[352,7],[376,6],[508,6],[534,6]]},"496":{"position":[[15,6],[84,6],[638,6]]},"497":{"position":[[354,6],[831,6]]},"504":{"position":[[583,7],[659,8],[861,8],[993,8],[1473,6]]},"514":{"position":[[252,8]]},"517":{"position":[[116,8]]},"525":{"position":[[98,6],[196,6],[492,8]]},"534":{"position":[[597,6],[660,6]]},"556":{"position":[[1676,7]]},"570":{"position":[[803,6]]},"571":{"position":[[571,9]]},"574":{"position":[[420,6],[805,7]]},"575":{"position":[[380,6],[513,6]]},"582":{"position":[[206,7],[668,6],[701,6]]},"584":{"position":[[166,7]]},"594":{"position":[[595,6],[658,6]]},"610":{"position":[[57,6],[151,6],[283,6],[357,6],[420,6],[722,6]]},"611":{"position":[[116,7],[161,7],[778,6],[804,10],[881,9]]},"612":{"position":[[1,6],[57,6],[177,6],[359,7],[385,6],[786,6],[1109,6],[1428,6],[2322,9]]},"613":{"position":[[110,8]]},"614":{"position":[[219,6],[622,6],[660,6],[883,6]]},"616":{"position":[[96,6],[445,6],[535,6],[604,7],[902,6]]},"617":{"position":[[99,6],[591,7],[673,6],[742,6],[1083,6],[2004,6],[2303,6]]},"618":{"position":[[617,7],[662,7]]},"619":{"position":[[147,6],[261,6]]},"620":{"position":[[42,6],[168,6],[360,6]]},"621":{"position":[[239,6],[316,6],[545,6]]},"622":{"position":[[170,6],[370,6],[536,6]]},"623":{"position":[[92,6],[256,6],[496,6],[744,6]]},"624":{"position":[[21,6],[122,6],[440,6],[523,6],[945,6]]},"626":{"position":[[99,6],[196,6],[1193,7]]},"628":{"position":[[102,6]]},"630":{"position":[[72,6],[441,7],[786,6]]},"632":{"position":[[210,7],[312,6],[979,6],[2019,6],[2315,6],[2460,6],[2570,6],[2717,6]]},"634":{"position":[[240,6],[433,6]]},"640":{"position":[[544,6]]},"661":{"position":[[1762,6]]},"696":{"position":[[64,6],[574,6],[1772,7]]},"698":{"position":[[163,7],[732,7],[1706,7],[1785,6]]},"703":{"position":[[1055,6]]},"708":{"position":[[215,6]]},"711":{"position":[[2076,7],[2205,7]]},"723":{"position":[[569,6]]},"736":{"position":[[205,6],[504,7]]},"751":{"position":[[1265,6]]},"756":{"position":[[317,7]]},"772":{"position":[[431,7]]},"775":{"position":[[130,6]]},"778":{"position":[[133,7],[251,6]]},"780":{"position":[[453,7],[730,6]]},"781":{"position":[[371,6],[465,6]]},"782":{"position":[[94,6],[476,7]]},"784":{"position":[[471,6]]},"785":{"position":[[147,7]]},"793":{"position":[[861,6]]},"829":{"position":[[2888,6]]},"837":{"position":[[85,6],[921,7]]},"849":{"position":[[863,6]]},"851":{"position":[[110,6],[278,6]]},"854":{"position":[[1422,6]]},"860":{"position":[[43,6]]},"861":{"position":[[65,7],[1683,6],[1882,7]]},"862":{"position":[[38,7]]},"865":{"position":[[166,6]]},"866":{"position":[[809,8]]},"872":{"position":[[145,6],[186,7],[246,7],[291,6],[519,6],[671,6],[771,7],[1670,6],[2136,7],[3029,6],[3245,6],[3554,7],[3945,8],[4388,7]]},"875":{"position":[[666,6],[699,6],[1530,6],[1762,6],[1870,6],[1970,6],[3013,6],[3614,7],[3789,7],[3908,6],[4144,6],[4897,6],[6772,6],[6854,6],[7041,6],[7124,6],[7904,6],[7969,6],[8927,6]]},"876":{"position":[[100,7],[221,7]]},"878":{"position":[[17,6],[57,6],[245,8],[359,6],[441,7]]},"879":{"position":[[36,6],[323,6]]},"880":{"position":[[67,6]]},"881":{"position":[[128,6],[331,7]]},"882":{"position":[[9,6],[223,6]]},"885":{"position":[[8,6]]},"886":{"position":[[1829,7],[2216,7],[2914,6],[3334,7],[4979,6]]},"888":{"position":[[649,6]]},"889":{"position":[[83,6]]},"890":{"position":[[648,7],[1034,6]]},"892":{"position":[[229,6],[351,6]]},"893":{"position":[[347,6]]},"896":{"position":[[36,6]]},"897":{"position":[[597,8]]},"898":{"position":[[1825,6],[2853,7]]},"901":{"position":[[197,6],[684,6]]},"902":{"position":[[41,6],[339,6],[469,8],[599,6],[849,6]]},"903":{"position":[[70,7],[212,6],[310,6],[727,6]]},"904":{"position":[[2613,6],[2644,6],[2726,6]]},"906":{"position":[[82,6],[116,6],[219,6],[289,6],[450,6],[494,6],[657,6],[794,6],[1078,7]]},"907":{"position":[[73,6]]},"981":{"position":[[22,7]]},"983":{"position":[[105,6],[956,6]]},"984":{"position":[[128,6]]},"985":{"position":[[348,6]]},"987":{"position":[[31,7]]},"988":{"position":[[448,7],[487,6],[2486,7],[3680,6],[5042,6],[5934,7]]},"990":{"position":[[1070,6]]},"996":{"position":[[455,6]]},"1002":{"position":[[972,6]]},"1005":{"position":[[217,6]]},"1006":{"position":[[303,6]]},"1007":{"position":[[478,6]]},"1024":{"position":[[70,7]]},"1080":{"position":[[1053,6]]},"1087":{"position":[[92,6],[124,7]]},"1088":{"position":[[39,7],[105,6],[317,6]]},"1089":{"position":[[30,6]]},"1090":{"position":[[1190,6]]},"1091":{"position":[[19,6]]},"1092":{"position":[[37,7],[74,6],[213,7],[337,6]]},"1093":{"position":[[318,7],[527,7]]},"1094":{"position":[[309,7],[343,6]]},"1095":{"position":[[39,7],[235,7],[348,6]]},"1097":{"position":[[53,6],[90,6],[171,6],[248,7],[322,7],[868,6]]},"1100":{"position":[[343,6],[835,6],[931,6],[993,7]]},"1101":{"position":[[87,6],[150,6],[254,6],[574,6],[732,6]]},"1102":{"position":[[1214,6]]},"1103":{"position":[[17,6],[107,6]]},"1104":{"position":[[67,6]]},"1105":{"position":[[127,7],[274,7],[416,7]]},"1106":{"position":[[328,7]]},"1107":{"position":[[167,7]]},"1108":{"position":[[107,7],[323,6],[518,6],[667,6]]},"1109":{"position":[[58,7]]},"1110":{"position":[[46,6]]},"1112":{"position":[[13,6],[536,6]]},"1123":{"position":[[627,6]]},"1124":{"position":[[1304,6],[1342,6],[2078,7]]},"1133":{"position":[[245,6]]},"1135":{"position":[[189,7]]},"1148":{"position":[[411,6]]},"1149":{"position":[[1272,7]]},"1188":{"position":[[18,7]]},"1191":{"position":[[90,6]]},"1196":{"position":[[162,7]]},"1198":{"position":[[1443,6],[1581,7],[1716,6]]},"1213":{"position":[[487,7]]},"1219":{"position":[[97,7],[451,6],[618,6]]},"1247":{"position":[[271,6],[626,6]]},"1250":{"position":[[61,7],[139,6],[154,6]]},"1295":{"position":[[43,6],[284,6],[355,7],[503,8]]},"1301":{"position":[[360,6]]},"1304":{"position":[[471,7],[669,8],[731,7],[890,6],[1017,7],[1817,6]]},"1307":{"position":[[395,6]]},"1308":{"position":[[145,7],[621,6]]},"1313":{"position":[[8,6],[245,6]]},"1314":{"position":[[327,8],[628,7]]},"1315":{"position":[[818,6]]},"1316":{"position":[[68,7],[2556,8],[2624,6]]},"1317":{"position":[[66,7],[182,7],[198,6]]},"1324":{"position":[[738,8]]}},"keywords":{}}],["server'",{"_index":3552,"title":{},"content":{"610":{"position":[[547,8]]}},"keywords":{}}],["server.addreplicationendpoint",{"_index":4965,"title":{},"content":{"872":{"position":[[3367,31]]},"1100":{"position":[[650,31]]},"1101":{"position":[[462,31]]},"1103":{"position":[[305,31]]},"1105":{"position":[[731,31]]},"1106":{"position":[[669,31]]},"1108":{"position":[[399,31]]}},"keywords":{}}],["server.addrestendpoint",{"_index":5935,"title":{},"content":{"1102":{"position":[[342,24]]}},"keywords":{}}],["server.conflict",{"_index":3172,"title":{},"content":{"491":{"position":[[1304,15]]}},"keywords":{}}],["server.graphql",{"_index":2157,"title":{},"content":{"381":{"position":[[223,14]]}},"keywords":{}}],["server.handl",{"_index":1918,"title":{},"content":{"321":{"position":[[182,13]]}},"keywords":{}}],["server.j",{"_index":6250,"title":{},"content":{"1219":{"position":[[253,9]]}},"keywords":{}}],["server.l",{"_index":1573,"title":{},"content":{"255":{"position":[[185,11]]}},"keywords":{}}],["server.no",{"_index":3410,"title":{},"content":{"559":{"position":[[1442,9]]}},"keywords":{}}],["server.push",{"_index":1338,"title":{},"content":{"208":{"position":[[185,12]]},"255":{"position":[[141,12]]}},"keywords":{}}],["server.start",{"_index":4968,"title":{},"content":{"872":{"position":[[3568,15]]}},"keywords":{}}],["server.t",{"_index":4946,"title":{},"content":{"872":{"position":[[835,9],[1530,9],[2270,9],[3090,9]]},"875":{"position":[[788,9],[2011,9],[4257,9],[7211,9]]},"1101":{"position":[[435,9]]}},"keywords":{}}],["server/blob/master/package.json",{"_index":5922,"title":{},"content":{"1097":{"position":[[569,31]]}},"keywords":{}}],["server/databas",{"_index":3164,"title":{},"content":{"491":{"position":[[206,15]]}},"keywords":{}}],["server/plugins/adapt",{"_index":4962,"title":{},"content":{"872":{"position":[[3206,22]]},"1097":{"position":[[649,22]]}},"keywords":{}}],["server/plugins/cli",{"_index":5940,"title":{},"content":{"1102":{"position":[[888,21]]}},"keywords":{}}],["server/plugins/repl",{"_index":4972,"title":{},"content":{"872":{"position":[[3918,26]]},"878":{"position":[[218,26]]}},"keywords":{}}],["server/plugins/serv",{"_index":4960,"title":{},"content":{"872":{"position":[[3137,23]]},"1097":{"position":[[368,23]]},"1098":{"position":[[208,23]]},"1099":{"position":[[190,23]]}},"keywords":{}}],["serverbasedon",{"_index":6253,"title":{},"content":{"1219":{"position":[[657,13]]}},"keywords":{}}],["serverbasedondatabas",{"_index":6252,"title":{},"content":{"1219":{"position":[[486,21]]},"1220":{"position":[[165,21]]}},"keywords":{}}],["serverdata",{"_index":5647,"title":{},"content":{"1024":{"position":[[433,10],[528,10]]}},"keywords":{}}],["serverdatacollect",{"_index":5645,"title":{},"content":{"1024":{"position":[[277,21]]}},"keywords":{}}],["serverdatacollection.upsert",{"_index":5648,"title":{},"content":{"1024":{"position":[[475,29]]}},"keywords":{}}],["serverdb",{"_index":4954,"title":{},"content":{"872":{"position":[[1738,11]]}},"keywords":{}}],["servergraphql",{"_index":6081,"title":{},"content":{"1149":{"position":[[183,13]]}},"keywords":{}}],["serveronlyfield",{"_index":5968,"title":{},"content":{"1108":{"position":[[39,16],[206,16],[256,16],[530,17],[635,17]]}},"keywords":{}}],["servers.custom",{"_index":2158,"title":{},"content":{"381":{"position":[[336,14]]}},"keywords":{}}],["servers.two",{"_index":5182,"title":{},"content":{"896":{"position":[[100,11]]}},"keywords":{}}],["serverst",{"_index":5176,"title":{},"content":{"892":{"position":[[242,11]]},"906":{"position":[[974,11]]}},"keywords":{}}],["serverstate.clos",{"_index":5178,"title":{},"content":{"892":{"position":[[364,20]]}},"keywords":{}}],["servertimestamp",{"_index":4875,"title":{},"content":{"854":{"position":[[1466,17],[1630,17]]},"857":{"position":[[161,15],[230,15],[404,16],[421,17]]},"858":{"position":[[600,16]]}},"keywords":{}}],["servertimestampfield",{"_index":4332,"title":{},"content":{"749":{"position":[[15152,20]]},"854":{"position":[[1502,20],[1608,21]]}},"keywords":{}}],["server—rxdb",{"_index":3424,"title":{},"content":{"561":{"position":[[92,11]]}},"keywords":{}}],["server’",{"_index":5210,"title":{},"content":{"898":{"position":[[1863,8]]}},"keywords":{}}],["servic",{"_index":423,"title":{"145":{"position":[[12,8]]}},"content":{"26":{"position":[[27,7]]},"36":{"position":[[446,7]]},"39":{"position":[[426,7]]},"51":{"position":[[968,8]]},"145":{"position":[[111,7],[177,7]]},"152":{"position":[[116,9]]},"249":{"position":[[62,8]]},"380":{"position":[[348,7]]},"412":{"position":[[2861,8],[12016,7]]},"417":{"position":[[389,7]]},"418":{"position":[[426,8],[656,8]]},"500":{"position":[[581,7]]},"839":{"position":[[199,8]]},"840":{"position":[[128,7]]},"871":{"position":[[664,10]]},"897":{"position":[[564,7]]},"898":{"position":[[2877,7]]},"1219":{"position":[[178,8]]},"1233":{"position":[[30,7],[52,7]]}},"keywords":{}}],["service"",{"_index":313,"title":{},"content":{"18":{"position":[[361,14]]}},"keywords":{}}],["services"",{"_index":2824,"title":{},"content":{"419":{"position":[[1871,14]]}},"keywords":{}}],["services.if",{"_index":3376,"title":{},"content":{"556":{"position":[[1633,11]]}},"keywords":{}}],["services.react",{"_index":2167,"title":{},"content":{"384":{"position":[[196,14]]}},"keywords":{}}],["servicework",{"_index":3006,"title":{},"content":{"460":{"position":[[298,13]]},"1233":{"position":[[138,14],[172,13]]}},"keywords":{}}],["session",{"_index":1751,"title":{},"content":{"299":{"position":[[541,8]]},"305":{"position":[[338,8]]},"323":{"position":[[626,9]]},"365":{"position":[[361,8],[603,9],[728,9]]},"430":{"position":[[1009,9]]},"436":{"position":[[46,7],[189,8]]},"450":{"position":[[122,7]]},"451":{"position":[[371,8]]},"559":{"position":[[948,8]]},"890":{"position":[[495,7]]}},"keywords":{}}],["sessionstorag",{"_index":2917,"title":{"436":{"position":[[16,15]]}},"content":{"436":{"position":[[95,15],[327,14]]},"451":{"position":[[721,14],[840,14]]}},"keywords":{}}],["set",{"_index":171,"title":{"48":{"position":[[0,3]]},"210":{"position":[[0,7]]},"536":{"position":[[0,3]]},"552":{"position":[[0,7]]},"554":{"position":[[3,3]]},"596":{"position":[[0,3]]},"797":{"position":[[0,3]]},"856":{"position":[[7,3]]},"862":{"position":[[0,7]]},"872":{"position":[[0,7]]},"898":{"position":[[0,7]]},"1002":{"position":[[0,7]]},"1066":{"position":[[0,7]]},"1213":{"position":[[0,7]]},"1230":{"position":[[0,3]]}},"content":{"11":{"position":[[911,8]]},"52":{"position":[[556,5]]},"84":{"position":[[384,7]]},"114":{"position":[[397,7]]},"116":{"position":[[221,3]]},"149":{"position":[[397,7]]},"175":{"position":[[388,7]]},"178":{"position":[[174,9]]},"184":{"position":[[259,7]]},"192":{"position":[[64,7]]},"241":{"position":[[170,3]]},"261":{"position":[[1002,4]]},"284":{"position":[[133,3]]},"287":{"position":[[406,3]]},"298":{"position":[[678,4]]},"301":{"position":[[94,4]]},"303":{"position":[[426,4]]},"310":{"position":[[307,4]]},"314":{"position":[[643,3]]},"329":{"position":[[134,4]]},"333":{"position":[[88,3]]},"336":{"position":[[157,3]]},"342":{"position":[[85,5]]},"346":{"position":[[776,4]]},"347":{"position":[[395,7]]},"353":{"position":[[406,4]]},"361":{"position":[[224,8]]},"362":{"position":[[1466,7]]},"367":{"position":[[896,3]]},"373":{"position":[[170,3],[647,3]]},"376":{"position":[[571,4]]},"392":{"position":[[2414,3],[4953,7]]},"396":{"position":[[901,3]]},"397":{"position":[[1501,3]]},"398":{"position":[[257,3],[1803,3]]},"402":{"position":[[938,7],[1479,3]]},"407":{"position":[[899,3]]},"411":{"position":[[1339,3]]},"412":{"position":[[2412,7],[6957,3]]},"417":{"position":[[142,4]]},"427":{"position":[[56,3]]},"430":{"position":[[1082,6]]},"450":{"position":[[207,8]]},"455":{"position":[[884,7]]},"480":{"position":[[819,3]]},"498":{"position":[[197,7]]},"502":{"position":[[1046,3]]},"511":{"position":[[397,7]]},"518":{"position":[[513,3]]},"523":{"position":[[35,3]]},"531":{"position":[[397,7]]},"536":{"position":[[1,7]]},"538":{"position":[[171,7]]},"539":{"position":[[556,5]]},"542":{"position":[[243,3]]},"554":{"position":[[265,3]]},"555":{"position":[[13,3]]},"559":{"position":[[115,3],[1654,5]]},"560":{"position":[[340,8]]},"561":{"position":[[36,4]]},"566":{"position":[[1427,8]]},"567":{"position":[[228,7]]},"571":{"position":[[850,4],[994,3]]},"575":{"position":[[671,3]]},"579":{"position":[[34,3]]},"591":{"position":[[395,7]]},"596":{"position":[[1,7]]},"598":{"position":[[172,7]]},"599":{"position":[[583,5]]},"612":{"position":[[1062,3],[1458,3],[1692,3]]},"617":{"position":[[1456,7]]},"644":{"position":[[34,3],[235,4]]},"648":{"position":[[20,4],[120,3]]},"653":{"position":[[9,3],[992,3]]},"654":{"position":[[248,7],[407,7]]},"659":{"position":[[1006,9]]},"661":{"position":[[589,3]]},"662":{"position":[[1386,9]]},"674":{"position":[[96,3]]},"678":{"position":[[314,3],[345,5]]},"680":{"position":[[227,3]]},"681":{"position":[[451,4]]},"683":{"position":[[115,4],[307,5],[901,5]]},"684":{"position":[[52,7],[192,5]]},"688":{"position":[[1007,3]]},"696":{"position":[[237,4]]},"701":{"position":[[146,3]]},"709":{"position":[[176,3],[201,4]]},"710":{"position":[[822,3]]},"711":{"position":[[1407,3]]},"717":{"position":[[938,3]]},"719":{"position":[[17,3]]},"720":{"position":[[54,3]]},"721":{"position":[[296,7],[360,3]]},"734":{"position":[[638,3],[817,3]]},"740":{"position":[[400,3]]},"746":{"position":[[212,8],[348,9],[453,8]]},"749":{"position":[[684,3],[2721,3],[3426,3],[3457,8],[5803,3],[5865,3],[10496,3],[14406,3],[16566,3],[19158,3],[20186,3],[20351,3],[20610,3],[20905,4],[21642,3],[22645,3],[22876,3]]},"754":{"position":[[435,3]]},"764":{"position":[[136,3]]},"767":{"position":[[373,3]]},"772":{"position":[[493,7],[1259,3],[1823,3]]},"775":{"position":[[337,3]]},"780":{"position":[[235,7]]},"796":{"position":[[113,4]]},"799":{"position":[[44,3]]},"806":{"position":[[86,3]]},"821":{"position":[[268,11],[889,3]]},"825":{"position":[[222,3],[250,3]]},"826":{"position":[[780,3],[878,3]]},"828":{"position":[[243,3]]},"829":{"position":[[815,7]]},"835":{"position":[[1060,8]]},"838":{"position":[[1480,3],[2366,3]]},"841":{"position":[[954,5],[1349,8]]},"848":{"position":[[940,3]]},"849":{"position":[[466,3],[787,8]]},"854":{"position":[[1445,3]]},"855":{"position":[[175,3],[276,7]]},"857":{"position":[[121,3]]},"861":{"position":[[170,3],[226,3],[2053,4],[2193,3],[2364,8],[2400,3]]},"862":{"position":[[18,3],[84,3],[1451,3]]},"867":{"position":[[170,3],[271,7]]},"870":{"position":[[252,4]]},"871":{"position":[[859,3]]},"872":{"position":[[169,3],[370,3]]},"875":{"position":[[537,8],[578,8],[2972,8],[6071,8]]},"882":{"position":[[313,3]]},"887":{"position":[[533,3]]},"890":{"position":[[302,3]]},"894":{"position":[[168,9]]},"903":{"position":[[650,7]]},"904":{"position":[[2595,3]]},"905":{"position":[[177,3]]},"908":{"position":[[220,3]]},"913":{"position":[[45,3]]},"916":{"position":[[83,3]]},"932":{"position":[[1132,3]]},"963":{"position":[[93,3]]},"964":{"position":[[119,3],[377,3]]},"965":{"position":[[330,3]]},"966":{"position":[[297,7],[338,7],[501,3]]},"982":{"position":[[590,3]]},"986":{"position":[[394,3],[1502,3]]},"987":{"position":[[1020,7]]},"988":{"position":[[677,8],[1486,3],[1830,3],[1920,7],[4815,3]]},"989":{"position":[[135,7],[259,8],[326,4]]},"1002":{"position":[[124,7],[790,7]]},"1007":{"position":[[206,7]]},"1009":{"position":[[109,4]]},"1013":{"position":[[147,3],[720,3]]},"1022":{"position":[[356,3]]},"1041":{"position":[[339,5],[370,4]]},"1043":{"position":[[117,7]]},"1047":{"position":[[112,3]]},"1048":{"position":[[158,3],[220,7],[365,7],[452,5]]},"1051":{"position":[[316,3]]},"1055":{"position":[[90,3]]},"1056":{"position":[[64,4]]},"1057":{"position":[[49,3]]},"1058":{"position":[[58,3]]},"1060":{"position":[[180,3]]},"1067":{"position":[[376,3],[1749,3],[2293,7],[2441,3]]},"1068":{"position":[[72,7]]},"1074":{"position":[[71,9],[1034,3]]},"1078":{"position":[[152,3],[596,3],[905,3]]},"1079":{"position":[[254,3]]},"1080":{"position":[[219,3],[340,3],[530,3]]},"1082":{"position":[[304,3]]},"1083":{"position":[[4,7],[504,3]]},"1084":{"position":[[408,3]]},"1085":{"position":[[1638,3],[1706,4]]},"1088":{"position":[[581,3]]},"1089":{"position":[[194,3]]},"1090":{"position":[[1311,7],[1376,9]]},"1094":{"position":[[557,7]]},"1105":{"position":[[587,4]]},"1107":{"position":[[434,3],[1039,3]]},"1108":{"position":[[56,3],[226,4]]},"1114":{"position":[[133,7]]},"1115":{"position":[[295,3],[835,3]]},"1125":{"position":[[103,3]]},"1126":{"position":[[89,3],[598,8]]},"1130":{"position":[[296,3]]},"1134":{"position":[[395,3]]},"1156":{"position":[[168,4]]},"1164":{"position":[[513,7],[745,3],[832,3]]},"1172":{"position":[[432,3]]},"1174":{"position":[[739,7]]},"1175":{"position":[[36,3]]},"1176":{"position":[[494,7]]},"1185":{"position":[[256,7]]},"1193":{"position":[[113,3]]},"1213":{"position":[[523,3],[748,3]]},"1229":{"position":[[12,7]]},"1230":{"position":[[104,3],[222,3]]},"1236":{"position":[[103,9]]},"1242":{"position":[[108,3]]},"1257":{"position":[[159,3]]},"1268":{"position":[[12,7]]},"1277":{"position":[[450,3]]},"1282":{"position":[[128,3],[1058,7]]},"1284":{"position":[[33,3]]},"1294":{"position":[[2035,3]]},"1297":{"position":[[34,3]]},"1314":{"position":[[649,3]]},"1315":{"position":[[907,4]]},"1316":{"position":[[883,3],[1100,4]]},"1318":{"position":[[645,4]]},"1321":{"position":[[756,3]]}},"keywords":{}}],["set<rxdocument>",{"_index":2393,"title":{},"content":{"398":{"position":[[804,24],[2072,24]]}},"keywords":{}}],["setdatabas",{"_index":4747,"title":{},"content":{"829":{"position":[[1432,12]]}},"keywords":{}}],["setdatabase(db",{"_index":4748,"title":{},"content":{"829":{"position":[[1544,16]]}},"keywords":{}}],["setflutterrxdatabaseconnector",{"_index":1247,"title":{},"content":{"188":{"position":[[604,32],[752,30],[1563,30]]}},"keywords":{}}],["sethead",{"_index":5172,"title":{},"content":{"890":{"position":[[228,14]]}},"keywords":{}}],["sethero",{"_index":3307,"title":{},"content":{"541":{"position":[[268,10]]},"562":{"position":[[1139,10]]}},"keywords":{}}],["setheroes(newhero",{"_index":3310,"title":{},"content":{"541":{"position":[[436,21]]},"562":{"position":[[1334,21]]}},"keywords":{}}],["setinterv",{"_index":3606,"title":{},"content":{"612":{"position":[[2223,14]]},"996":{"position":[[532,14]]}},"keywords":{}}],["setinterval(async",{"_index":4097,"title":{},"content":{"739":{"position":[[585,17]]}},"keywords":{}}],["setitem",{"_index":2867,"title":{},"content":{"425":{"position":[[167,8],[268,7]]},"451":{"position":[[194,8]]}},"keywords":{}}],["setitem('mykey",{"_index":4769,"title":{},"content":{"835":{"position":[[456,16]]}},"keywords":{}}],["setpremiumflag",{"_index":3863,"title":{},"content":{"676":{"position":[[245,16],[302,14],[355,17]]},"958":{"position":[[694,16],[757,14],[810,17]]},"1151":{"position":[[823,16],[879,14],[932,17]]},"1178":{"position":[[820,16],[876,14],[929,17]]}},"keywords":{}}],["sets.corrupt",{"_index":2064,"title":{},"content":{"358":{"position":[[606,15]]}},"keywords":{}}],["setstat",{"_index":1291,"title":{},"content":{"188":{"position":[[3251,11]]}},"keywords":{}}],["settimeout",{"_index":5271,"title":{},"content":{"910":{"position":[[427,13]]}},"keywords":{}}],["settimeout(longpol",{"_index":3562,"title":{},"content":{"610":{"position":[[1329,20]]}},"keywords":{}}],["settimeout(r",{"_index":4532,"title":{},"content":{"767":{"position":[[580,15],[989,15]]},"768":{"position":[[582,15],[991,15]]},"769":{"position":[[539,15],[960,15]]}},"keywords":{}}],["settings_max_concurrent_stream",{"_index":3647,"title":{},"content":{"617":{"position":[[1424,31]]}},"keywords":{}}],["setup",{"_index":1663,"title":{"285":{"position":[[0,5]]},"293":{"position":[[8,5]]},"480":{"position":[[6,5]]},"638":{"position":[[0,5]]},"639":{"position":[[0,5]]},"730":{"position":[[8,5]]},"875":{"position":[[0,6]]}},"content":{"285":{"position":[[285,5]]},"293":{"position":[[175,6]]},"299":{"position":[[1744,7]]},"390":{"position":[[1734,5]]},"392":{"position":[[4871,5]]},"402":{"position":[[823,6]]},"454":{"position":[[607,5]]},"463":{"position":[[52,5],[279,5]]},"477":{"position":[[141,6]]},"522":{"position":[[270,6]]},"556":{"position":[[1461,5]]},"601":{"position":[[347,5]]},"632":{"position":[[1011,5],[2081,5]]},"830":{"position":[[200,5]]},"832":{"position":[[420,5]]},"871":{"position":[[478,6]]},"886":{"position":[[887,5],[2588,5]]},"1007":{"position":[[710,6]]},"1128":{"position":[[8,5]]},"1147":{"position":[[207,7]]},"1156":{"position":[[251,6]]},"1189":{"position":[[61,6]]},"1235":{"position":[[57,5]]}},"keywords":{}}],["setup>",{"_index":3493,"title":{},"content":{"580":{"position":[[289,9]]}},"keywords":{}}],["setup.join",{"_index":5283,"title":{},"content":{"913":{"position":[[229,10]]}},"keywords":{}}],["setuprxdb",{"_index":3425,"title":{},"content":{"562":{"position":[[136,11]]}},"keywords":{}}],["setuprxdbwithsign",{"_index":3432,"title":{},"content":{"563":{"position":[[437,22]]}},"keywords":{}}],["setusernam",{"_index":3389,"title":{},"content":{"559":{"position":[[287,12]]}},"keywords":{}}],["setusername(e.target.valu",{"_index":3398,"title":{},"content":{"559":{"position":[[645,28]]}},"keywords":{}}],["sever",{"_index":479,"title":{},"content":{"29":{"position":[[213,7]]},"37":{"position":[[126,7]]},"47":{"position":[[61,7]]},"65":{"position":[[1847,7]]},"118":{"position":[[304,7]]},"137":{"position":[[13,7]]},"186":{"position":[[182,7]]},"356":{"position":[[46,7]]},"365":{"position":[[67,7]]},"425":{"position":[[124,7]]},"450":{"position":[[190,7],[289,7]]},"453":{"position":[[864,7]]},"535":{"position":[[63,7]]},"595":{"position":[[63,7]]},"836":{"position":[[1222,7]]},"849":{"position":[[398,7]]},"860":{"position":[[304,7]]},"1065":{"position":[[1596,7]]},"1079":{"position":[[448,7]]},"1085":{"position":[[1852,7]]},"1300":{"position":[[930,7]]},"1316":{"position":[[532,7]]}},"keywords":{}}],["sha256",{"_index":5403,"title":{},"content":{"968":{"position":[[382,6]]}},"keywords":{}}],["shape",{"_index":3422,"title":{},"content":{"561":{"position":[[11,6]]},"898":{"position":[[3494,5]]}},"keywords":{}}],["shard",{"_index":1843,"title":{"643":{"position":[[0,8]]},"1221":{"position":[[0,8]]},"1222":{"position":[[10,8]]},"1295":{"position":[[10,9]]}},"content":{"303":{"position":[[995,8]]},"402":{"position":[[2789,8]]},"408":{"position":[[4703,8]]},"469":{"position":[[182,8],[1188,8]]},"643":{"position":[[66,8]]},"793":{"position":[[555,8]]},"870":{"position":[[261,7]]},"871":{"position":[[866,7]]},"1222":{"position":[[68,10],[206,8],[438,8],[559,9],[587,6],[680,5],[758,6],[833,6],[935,7],[953,8],[985,5],[1077,5]]},"1238":{"position":[[150,8],[510,10]]},"1246":{"position":[[959,9],[1068,8],[1134,8],[1190,7]]},"1295":{"position":[[1,8],[211,6],[227,5],[543,9],[797,8],[929,6],[1163,8],[1295,7],[1375,6],[1456,8],[1512,8],[1552,8]]},"1304":{"position":[[2010,8]]}},"keywords":{}}],["shardedrxstorag",{"_index":6263,"title":{},"content":{"1222":{"position":[[235,16],[1440,16]]}},"keywords":{}}],["share",{"_index":432,"title":{"775":{"position":[[0,5]]}},"content":{"26":{"position":[[365,6]]},"174":{"position":[[1891,5]]},"207":{"position":[[307,7]]},"210":{"position":[[124,5]]},"289":{"position":[[972,8],[1988,7]]},"299":{"position":[[334,6]]},"306":{"position":[[292,5]]},"365":{"position":[[1335,8]]},"390":{"position":[[1444,6]]},"411":{"position":[[4208,6],[4420,6]]},"422":{"position":[[226,5]]},"450":{"position":[[263,5],[739,6]]},"458":{"position":[[273,5],[518,5],[597,5]]},"469":{"position":[[983,6]]},"471":{"position":[[1,5]]},"475":{"position":[[93,5]]},"579":{"position":[[838,5]]},"617":{"position":[[177,6],[272,6],[2120,6]]},"644":{"position":[[324,5]]},"775":{"position":[[75,5],[148,5]]},"779":{"position":[[408,5]]},"890":{"position":[[516,6]]},"913":{"position":[[313,5]]},"961":{"position":[[188,5]]},"964":{"position":[[173,7],[286,6]]},"1123":{"position":[[377,6],[398,6]]},"1124":{"position":[[1040,6],[1255,5]]},"1126":{"position":[[813,5],[883,6]]},"1225":{"position":[[111,6]]},"1226":{"position":[[441,6]]},"1227":{"position":[[5,6]]},"1228":{"position":[[155,6]]},"1230":{"position":[[71,6],[342,6]]},"1231":{"position":[[424,6]]},"1233":{"position":[[88,6]]},"1301":{"position":[[700,6]]}},"keywords":{}}],["shared/lik",{"_index":2509,"title":{},"content":{"405":{"position":[[1,11]]}},"keywords":{}}],["shared_prefer",{"_index":1245,"title":{},"content":{"188":{"position":[[382,18]]}},"keywords":{}}],["sharedwork",{"_index":2492,"title":{"1223":{"position":[[0,12]]},"1225":{"position":[[7,12]]},"1229":{"position":[[13,12]]},"1231":{"position":[[17,13]]}},"content":{"402":{"position":[[2824,12]]},"458":{"position":[[1455,12],[1573,12]]},"460":{"position":[[278,12],[365,12],[762,12]]},"721":{"position":[[38,12]]},"757":{"position":[[108,12]]},"793":{"position":[[502,12]]},"801":{"position":[[912,12]]},"1183":{"position":[[277,12],[348,12]]},"1207":{"position":[[426,13]]},"1226":{"position":[[357,12]]},"1227":{"position":[[535,14]]},"1229":{"position":[[94,12]]},"1231":{"position":[[8,12]]},"1232":{"position":[[5,12]]},"1246":{"position":[[342,13],[455,12]]},"1265":{"position":[[529,14]]},"1301":{"position":[[584,13],[600,12],[684,12],[771,12],[904,12],[1086,13]]}},"keywords":{}}],["shed",{"_index":3220,"title":{},"content":{"501":{"position":[[259,5]]}},"keywords":{}}],["shell",{"_index":4940,"title":{},"content":{"872":{"position":[[435,5]]}},"keywords":{}}],["shift",{"_index":2539,"title":{"445":{"position":[[29,5]]}},"content":{"408":{"position":[[1357,5]]},"412":{"position":[[4323,6]]},"416":{"position":[[78,6]]}},"keywords":{}}],["shim",{"_index":95,"title":{},"content":{"7":{"position":[[35,4]]}},"keywords":{}}],["ship",{"_index":2969,"title":{},"content":{"454":{"position":[[359,7]]},"496":{"position":[[495,8]]},"708":{"position":[[189,4],[427,8]]},"898":{"position":[[2904,4]]},"904":{"position":[[1762,7]]},"906":{"position":[[188,5]]},"1210":{"position":[[158,7]]},"1227":{"position":[[140,5]]},"1265":{"position":[[133,5]]},"1270":{"position":[[504,4]]},"1271":{"position":[[106,7]]},"1272":{"position":[[233,5]]},"1275":{"position":[[96,7]]}},"keywords":{}}],["short",{"_index":1166,"title":{},"content":{"153":{"position":[[7,5]]},"301":{"position":[[587,5]]},"322":{"position":[[6,6]]},"354":{"position":[[1403,6]]},"396":{"position":[[465,5]]},"408":{"position":[[1207,6]]},"412":{"position":[[7547,6],[13049,6]]},"480":{"position":[[12,5]]},"514":{"position":[[7,5]]},"570":{"position":[[666,6]]},"575":{"position":[[8,5]]},"698":{"position":[[3053,5]]},"709":{"position":[[235,5]]},"783":{"position":[[42,5]]},"948":{"position":[[70,5]]}},"keywords":{}}],["shortcom",{"_index":4775,"title":{},"content":{"836":{"position":[[1230,12]]}},"keywords":{}}],["shorten",{"_index":1825,"title":{},"content":{"303":{"position":[[336,7]]},"316":{"position":[[427,8]]},"361":{"position":[[360,8]]},"402":{"position":[[96,7],[575,10],[666,9]]},"588":{"position":[[19,8]]}},"keywords":{}}],["shorter",{"_index":1130,"title":{},"content":{"141":{"position":[[145,7]]},"639":{"position":[[151,7]]}},"keywords":{}}],["shortli",{"_index":3685,"title":{},"content":{"626":{"position":[[996,7]]}},"keywords":{}}],["shouldretri",{"_index":5144,"title":{},"content":{"886":{"position":[[4586,14]]}},"keywords":{}}],["show",{"_index":402,"title":{},"content":{"24":{"position":[[472,4]]},"31":{"position":[[207,5]]},"299":{"position":[[1280,7]]},"300":{"position":[[125,5]]},"301":{"position":[[602,5]]},"302":{"position":[[1011,4]]},"400":{"position":[[687,4]]},"408":{"position":[[3110,5]]},"410":{"position":[[1645,4]]},"411":{"position":[[5404,4]]},"412":{"position":[[3614,7],[5085,4]]},"420":{"position":[[416,4]]},"458":{"position":[[319,4]]},"474":{"position":[[68,4]]},"476":{"position":[[57,4]]},"554":{"position":[[250,7]]},"700":{"position":[[590,4]]},"752":{"position":[[289,4],[1333,4]]},"753":{"position":[[177,4]]},"832":{"position":[[307,5]]},"995":{"position":[[725,4]]},"1058":{"position":[[145,4]]},"1207":{"position":[[814,7]]},"1209":{"position":[[412,5]]},"1294":{"position":[[1840,5]]},"1298":{"position":[[418,5]]}},"keywords":{}}],["showcas",{"_index":3212,"title":{},"content":{"498":{"position":[[278,9]]},"543":{"position":[[156,10]]},"603":{"position":[[154,10]]}},"keywords":{}}],["showloadingspinn",{"_index":5514,"title":{},"content":{"995":{"position":[[1820,21]]}},"keywords":{}}],["shown",{"_index":420,"title":{},"content":{"25":{"position":[[295,5]]},"43":{"position":[[370,5]]},"400":{"position":[[127,6]]},"456":{"position":[[97,5]]},"467":{"position":[[442,5]]},"524":{"position":[[958,5]]},"610":{"position":[[1472,5]]},"611":{"position":[[969,5]]},"619":{"position":[[41,5]]},"831":{"position":[[32,5]]},"838":{"position":[[3133,5]]},"861":{"position":[[1146,5]]},"1098":{"position":[[106,5]]},"1099":{"position":[[98,5]]},"1156":{"position":[[217,5]]},"1215":{"position":[[228,5]]},"1271":{"position":[[1665,5]]},"1295":{"position":[[629,5],[758,5]]},"1296":{"position":[[1595,6]]},"1297":{"position":[[388,5]]},"1300":{"position":[[1007,5]]}},"keywords":{}}],["shrimp",{"_index":2843,"title":{},"content":{"420":{"position":[[1293,6]]}},"keywords":{}}],["shrink",{"_index":5918,"title":{},"content":{"1092":{"position":[[652,7]]}},"keywords":{}}],["shut",{"_index":352,"title":{},"content":{"20":{"position":[[131,4]]},"28":{"position":[[508,4]]},"1300":{"position":[[1175,4]]}},"keywords":{}}],["side",{"_index":206,"title":{"69":{"position":[[21,4]]},"100":{"position":[[21,4]]},"271":{"position":[[29,4]]},"278":{"position":[[37,4]]},"294":{"position":[[22,4]]},"501":{"position":[[29,4]]},"708":{"position":[[7,4]]},"1317":{"position":[[7,4]]}},"content":{"14":{"position":[[153,4]]},"16":{"position":[[77,5]]},"19":{"position":[[102,4]]},"20":{"position":[[177,4]]},"21":{"position":[[23,4]]},"22":{"position":[[326,4]]},"23":{"position":[[30,5]]},"38":{"position":[[24,4],[319,5],[384,5]]},"41":{"position":[[329,4]]},"45":{"position":[[52,4]]},"46":{"position":[[685,5]]},"66":{"position":[[258,4]]},"69":{"position":[[8,4]]},"98":{"position":[[54,4]]},"100":{"position":[[8,4]]},"101":{"position":[[51,4]]},"120":{"position":[[18,4]]},"139":{"position":[[153,4]]},"153":{"position":[[49,4]]},"157":{"position":[[183,4]]},"172":{"position":[[41,4]]},"181":{"position":[[18,4]]},"188":{"position":[[1057,4]]},"225":{"position":[[37,4]]},"227":{"position":[[35,4]]},"228":{"position":[[8,4]]},"244":{"position":[[655,4]]},"249":{"position":[[375,4]]},"271":{"position":[[117,4],[226,4]]},"278":{"position":[[71,4]]},"280":{"position":[[40,4]]},"293":{"position":[[47,4]]},"320":{"position":[[225,4]]},"321":{"position":[[516,4]]},"325":{"position":[[18,4]]},"359":{"position":[[78,4]]},"365":{"position":[[951,4]]},"370":{"position":[[206,5],[299,4]]},"384":{"position":[[167,4]]},"399":{"position":[[11,4]]},"400":{"position":[[781,4]]},"402":{"position":[[1470,5]]},"408":{"position":[[4378,4],[5307,4]]},"410":{"position":[[687,4],[2111,4]]},"412":{"position":[[189,5],[4356,5],[4397,4],[8926,4],[9020,5],[10523,4],[10836,6],[14135,4],[14269,5],[14427,4],[14999,4]]},"424":{"position":[[473,4]]},"434":{"position":[[42,4]]},"435":{"position":[[59,4]]},"455":{"position":[[95,4],[212,5],[236,4]]},"457":{"position":[[186,4]]},"464":{"position":[[984,6]]},"478":{"position":[[68,4]]},"495":{"position":[[827,4]]},"496":{"position":[[853,5]]},"501":{"position":[[104,4]]},"502":{"position":[[87,4],[382,5]]},"534":{"position":[[643,5]]},"571":{"position":[[35,4]]},"575":{"position":[[159,4]]},"594":{"position":[[641,5]]},"610":{"position":[[1446,4]]},"612":{"position":[[708,4],[793,4],[1116,4],[1435,5]]},"626":{"position":[[589,4]]},"628":{"position":[[143,4]]},"632":{"position":[[319,4],[2724,4],[2740,4]]},"663":{"position":[[133,4]]},"698":{"position":[[1758,4]]},"699":{"position":[[81,4],[126,5],[776,4]]},"712":{"position":[[152,4]]},"784":{"position":[[588,4],[630,5]]},"829":{"position":[[2895,4]]},"837":{"position":[[307,4]]},"842":{"position":[[267,4]]},"860":{"position":[[256,4],[1049,5]]},"862":{"position":[[70,4]]},"871":{"position":[[192,4],[238,5]]},"872":{"position":[[1677,4],[3633,4]]},"875":{"position":[[673,5],[3595,4]]},"885":{"position":[[15,5]]},"981":{"position":[[30,5],[1103,4],[1255,5]]},"983":{"position":[[455,4]]},"988":{"position":[[3337,4],[4666,4]]},"991":{"position":[[22,4]]},"1007":{"position":[[485,5]]},"1072":{"position":[[147,4],[692,5],[1241,4]]},"1080":{"position":[[1060,5]]},"1088":{"position":[[324,4]]},"1100":{"position":[[842,4],[885,4]]},"1101":{"position":[[191,4]]},"1107":{"position":[[1078,4]]},"1112":{"position":[[249,4]]},"1124":{"position":[[1367,5],[1419,5]]},"1148":{"position":[[418,5]]},"1191":{"position":[[97,4]]},"1196":{"position":[[17,4],[137,4]]},"1198":{"position":[[105,4],[1450,5]]},"1206":{"position":[[528,4]]},"1218":{"position":[[200,5],[878,4]]},"1247":{"position":[[278,5],[633,5]]},"1249":{"position":[[306,4]]},"1250":{"position":[[293,4],[376,4]]},"1295":{"position":[[50,4],[291,4]]},"1305":{"position":[[132,4]]},"1308":{"position":[[302,5]]},"1313":{"position":[[15,5],[252,4]]},"1316":{"position":[[1943,4]]},"1317":{"position":[[26,4]]},"1319":{"position":[[626,4]]},"1321":{"position":[[58,4]]},"1324":{"position":[[63,4]]}},"keywords":{}}],["side.en",{"_index":5196,"title":{},"content":{"898":{"position":[[719,11]]}},"keywords":{}}],["side/offlin",{"_index":2762,"title":{},"content":{"412":{"position":[[13451,12]]}},"keywords":{}}],["sidestep",{"_index":2519,"title":{},"content":{"407":{"position":[[548,8]]}},"keywords":{}}],["side—or",{"_index":2054,"title":{},"content":{"357":{"position":[[561,7]]}},"keywords":{}}],["sign",{"_index":849,"title":{},"content":{"55":{"position":[[1024,4]]},"542":{"position":[[733,4]]},"749":{"position":[[6544,4]]},"826":{"position":[[60,4],[248,5]]},"1117":{"position":[[280,4]]},"1118":{"position":[[24,4]]}},"keywords":{}}],["signal",{"_index":826,"title":{"55":{"position":[[13,8]]},"144":{"position":[[30,7]]},"542":{"position":[[12,8]]},"563":{"position":[[21,7]]},"602":{"position":[[10,8]]},"822":{"position":[[0,7]]},"831":{"position":[[0,8]]},"906":{"position":[[0,9]]},"1118":{"position":[[13,7]]}},"content":{"55":{"position":[[9,7],[142,7],[243,7],[1043,6]]},"144":{"position":[[80,7]]},"261":{"position":[[559,9]]},"494":{"position":[[29,7],[128,7],[230,6],[599,6]]},"540":{"position":[[215,8]]},"542":{"position":[[27,7],[107,7],[267,7],[369,9],[674,7]]},"563":{"position":[[129,8],[411,9],[620,6],[745,7],[853,7],[869,7],[1091,8]]},"566":{"position":[[591,7]]},"567":{"position":[[563,8],[749,7],[819,7]]},"602":{"position":[[52,8],[174,7]]},"614":{"position":[[873,9]]},"804":{"position":[[19,7]]},"825":{"position":[[45,7],[510,6],[985,6],[1070,7]]},"826":{"position":[[380,6],[437,6],[499,6],[538,6],[592,6],[625,6],[688,6],[740,6],[800,6],[838,6],[898,6],[959,6],[1019,6],[1057,6],[1103,6]]},"831":{"position":[[109,8],[295,6]]},"902":{"position":[[681,9]]},"903":{"position":[[300,9]]},"904":{"position":[[2603,9]]},"906":{"position":[[72,9],[106,9],[209,9],[440,9],[484,9],[647,9],[784,9],[1068,9]]},"907":{"position":[[63,9]]},"1117":{"position":[[132,7]]},"1118":{"position":[[82,7],[228,8],[315,7]]}},"keywords":{}}],["signaldb",{"_index":657,"title":{"42":{"position":[[0,9]]}},"content":{"42":{"position":[[1,8],[276,8]]}},"keywords":{}}],["signalingserverurl",{"_index":1368,"title":{},"content":{"210":{"position":[[393,19]]},"261":{"position":[[576,19]]},"904":{"position":[[2742,19]]},"911":{"position":[[720,19]]}},"keywords":{}}],["signatur",{"_index":6365,"title":{},"content":{"1281":{"position":[[205,10]]}},"keywords":{}}],["signific",{"_index":911,"title":{},"content":{"65":{"position":[[449,11]]},"69":{"position":[[42,11]]},"100":{"position":[[80,11]]},"228":{"position":[[49,11]]},"331":{"position":[[128,11]]},"394":{"position":[[1386,11]]},"412":{"position":[[39,11],[7165,11]]},"427":{"position":[[140,11]]},"430":{"position":[[490,11]]},"533":{"position":[[42,11]]},"593":{"position":[[42,11]]},"611":{"position":[[373,11]]},"618":{"position":[[178,11]]},"624":{"position":[[1627,11]]},"821":{"position":[[951,11]]},"1072":{"position":[[2779,11]]},"1296":{"position":[[52,12]]}},"keywords":{}}],["significantli",{"_index":918,"title":{},"content":{"65":{"position":[[843,13]]},"92":{"position":[[137,13]]},"166":{"position":[[259,13]]},"169":{"position":[[147,13]]},"173":{"position":[[1761,13]]},"178":{"position":[[350,13]]},"204":{"position":[[261,13]]},"234":{"position":[[217,13]]},"251":{"position":[[274,13]]},"265":{"position":[[222,13]]},"299":{"position":[[30,13],[1466,14]]},"311":{"position":[[30,13]]},"316":{"position":[[460,13]]},"369":{"position":[[931,13]]},"400":{"position":[[174,13]]},"401":{"position":[[719,13]]},"408":{"position":[[2550,13]]},"411":{"position":[[2440,13]]},"432":{"position":[[367,13]]},"446":{"position":[[1380,13]]},"464":{"position":[[1120,14]]},"621":{"position":[[680,13]]},"623":{"position":[[69,13]]},"641":{"position":[[168,13]]},"800":{"position":[[545,14]]},"801":{"position":[[46,13]]},"1072":{"position":[[374,13]]},"1124":{"position":[[1458,14]]}},"keywords":{}}],["significantly.compress",{"_index":3095,"title":{},"content":{"469":{"position":[[1034,25]]}},"keywords":{}}],["silent",{"_index":1780,"title":{},"content":{"300":{"position":[[717,8]]}},"keywords":{}}],["similar",{"_index":189,"title":{},"content":{"13":{"position":[[102,7]]},"16":{"position":[[160,7]]},"18":{"position":[[104,7]]},"23":{"position":[[465,7]]},"299":{"position":[[747,7],[1033,7]]},"347":{"position":[[620,8]]},"362":{"position":[[1691,8]]},"390":{"position":[[410,11],[715,7],[822,7],[1206,10],[1334,7],[1681,10]]},"393":{"position":[[159,10],[260,11],[284,10]]},"394":{"position":[[214,7],[454,11],[1074,10],[1269,7]]},"396":{"position":[[154,7],[1245,7],[1265,7],[1368,7]]},"398":{"position":[[338,10],[481,10]]},"400":{"position":[[83,10],[144,10]]},"411":{"position":[[3787,7]]},"412":{"position":[[7736,8]]},"455":{"position":[[218,7]]},"462":{"position":[[395,7]]},"465":{"position":[[445,7]]},"470":{"position":[[312,7]]},"570":{"position":[[879,7]]},"621":{"position":[[745,7]]},"659":{"position":[[119,7]]},"693":{"position":[[377,7]]},"704":{"position":[[145,7]]},"705":{"position":[[222,7]]},"711":{"position":[[210,7]]},"801":{"position":[[117,7]]},"802":{"position":[[46,7]]},"835":{"position":[[61,7]]},"861":{"position":[[1833,7]]},"936":{"position":[[99,7]]},"948":{"position":[[332,7]]},"975":{"position":[[75,7]]},"1071":{"position":[[67,7]]},"1112":{"position":[[358,7]]},"1124":{"position":[[569,7]]},"1143":{"position":[[541,8]]},"1212":{"position":[[159,7]]},"1305":{"position":[[446,7]]},"1318":{"position":[[300,7]]},"1321":{"position":[[801,7]]}},"keywords":{}}],["similarli",{"_index":1798,"title":{},"content":{"302":{"position":[[126,9]]},"410":{"position":[[2050,10]]},"411":{"position":[[4679,10]]},"1007":{"position":[[673,9]]}},"keywords":{}}],["simpl",{"_index":440,"title":{"1239":{"position":[[26,6]]}},"content":{"27":{"position":[[180,6]]},"34":{"position":[[91,7]]},"35":{"position":[[81,7]]},"51":{"position":[[54,6]]},"57":{"position":[[8,6]]},"63":{"position":[[114,6]]},"120":{"position":[[222,6]]},"181":{"position":[[122,6]]},"203":{"position":[[58,6]]},"223":{"position":[[168,6]]},"255":{"position":[[58,6]]},"314":{"position":[[7,6]]},"320":{"position":[[19,6]]},"358":{"position":[[163,7]]},"395":{"position":[[423,7]]},"412":{"position":[[3412,6],[12400,6]]},"414":{"position":[[309,6]]},"424":{"position":[[169,6],[249,6]]},"426":{"position":[[42,6]]},"427":{"position":[[484,6]]},"429":{"position":[[547,6]]},"451":{"position":[[114,6]]},"462":{"position":[[205,6]]},"491":{"position":[[576,6],[1631,6]]},"538":{"position":[[184,6]]},"560":{"position":[[23,7],[585,6]]},"567":{"position":[[1153,6]]},"598":{"position":[[185,6]]},"610":{"position":[[1461,7]]},"612":{"position":[[1701,6]]},"659":{"position":[[58,7],[984,6]]},"688":{"position":[[873,6]]},"689":{"position":[[464,6]]},"709":{"position":[[302,6]]},"723":{"position":[[2243,6]]},"772":{"position":[[530,7]]},"784":{"position":[[694,6],[842,6]]},"835":{"position":[[1048,6]]},"838":{"position":[[2239,6]]},"839":{"position":[[334,7]]},"875":{"position":[[144,6]]},"898":{"position":[[1763,6]]},"904":{"position":[[1732,6],[2369,6],[2404,7],[2522,7]]},"906":{"position":[[252,6]]},"910":{"position":[[92,6]]},"981":{"position":[[176,6],[299,6]]},"1074":{"position":[[789,6]]},"1080":{"position":[[868,6]]},"1085":{"position":[[2497,6]]},"1115":{"position":[[67,6]]},"1124":{"position":[[1923,6]]},"1235":{"position":[[50,6]]},"1239":{"position":[[83,6]]},"1272":{"position":[[356,7]]},"1284":{"position":[[373,6]]},"1317":{"position":[[674,6]]}},"keywords":{}}],["simplep",{"_index":4334,"title":{"910":{"position":[[0,10]]}},"content":{"749":{"position":[[15295,10]]}},"keywords":{}}],["simpler",{"_index":1197,"title":{"478":{"position":[[3,7]]}},"content":{"173":{"position":[[420,7]]},"207":{"position":[[350,7]]},"282":{"position":[[307,7]]},"362":{"position":[[758,8]]},"432":{"position":[[62,7]]},"534":{"position":[[494,7]]},"594":{"position":[[492,7]]},"688":{"position":[[284,7]]},"838":{"position":[[526,7]]},"860":{"position":[[810,7]]}},"keywords":{}}],["simplest",{"_index":3188,"title":{},"content":{"496":{"position":[[30,8]]},"1157":{"position":[[517,8]]}},"keywords":{}}],["simpli",{"_index":727,"title":{},"content":{"47":{"position":[[393,6]]},"302":{"position":[[223,6]]},"310":{"position":[[185,6]]},"408":{"position":[[1448,6]]},"409":{"position":[[238,6]]},"412":{"position":[[1617,6],[2580,6],[6779,6]]},"421":{"position":[[668,6]]},"535":{"position":[[350,6]]},"585":{"position":[[8,6]]},"759":{"position":[[1354,6]]},"1189":{"position":[[115,6]]}},"keywords":{}}],["simplic",{"_index":626,"title":{},"content":{"39":{"position":[[486,10]]},"179":{"position":[[282,10]]},"429":{"position":[[242,10]]},"441":{"position":[[114,10]]},"860":{"position":[[1055,10]]},"875":{"position":[[4859,10],[5627,10]]},"1156":{"position":[[1,11]]}},"keywords":{}}],["simplifi",{"_index":973,"title":{"223":{"position":[[0,10]]},"348":{"position":[[41,8]]}},"content":{"77":{"position":[[170,10]]},"79":{"position":[[61,11]]},"89":{"position":[[19,8]]},"96":{"position":[[154,10]]},"104":{"position":[[190,11]]},"132":{"position":[[92,10]]},"158":{"position":[[6,10]]},"165":{"position":[[51,8]]},"170":{"position":[[257,10]]},"173":{"position":[[1039,10],[3167,10]]},"174":{"position":[[367,10],[2810,10]]},"184":{"position":[[233,10]]},"192":{"position":[[40,8]]},"198":{"position":[[192,10]]},"219":{"position":[[273,10]]},"279":{"position":[[110,10]]},"293":{"position":[[114,10]]},"354":{"position":[[409,8]]},"364":{"position":[[794,11]]},"411":{"position":[[1152,10],[1842,10]]},"433":{"position":[[366,8]]},"445":{"position":[[1313,10]]},"515":{"position":[[360,10]]},"518":{"position":[[273,8]]},"523":{"position":[[59,8]]},"560":{"position":[[627,10]]},"576":{"position":[[118,10]]},"585":{"position":[[157,8]]},"591":{"position":[[524,11]]},"860":{"position":[[55,10]]},"1085":{"position":[[3470,10]]},"1094":{"position":[[546,10]]}},"keywords":{}}],["simul",{"_index":1786,"title":{},"content":{"301":{"position":[[470,8],[538,8]]},"346":{"position":[[621,8]]},"453":{"position":[[230,9]]},"590":{"position":[[753,10]]},"614":{"position":[[672,9]]},"749":{"position":[[5760,8]]}},"keywords":{}}],["simultan",{"_index":1115,"title":{},"content":{"134":{"position":[[89,15]]},"267":{"position":[[650,14]]},"328":{"position":[[299,15]]},"411":{"position":[[411,12]]},"446":{"position":[[684,15]]},"566":{"position":[[873,14]]},"582":{"position":[[535,15]]},"617":{"position":[[536,12],[784,14]]},"1307":{"position":[[203,12]]}},"keywords":{}}],["sincer",{"_index":6089,"title":{},"content":{"1151":{"position":[[323,9]]},"1178":{"position":[[322,9]]}},"keywords":{}}],["singl",{"_index":736,"title":{"304":{"position":[[24,6]]},"1048":{"position":[[23,6]]},"1092":{"position":[[0,6]]}},"content":{"47":{"position":[[835,6]]},"116":{"position":[[111,6]]},"177":{"position":[[180,6]]},"188":{"position":[[1676,6]]},"202":{"position":[[390,6]]},"207":{"position":[[379,6]]},"287":{"position":[[29,6]]},"303":{"position":[[64,6],[1299,6]]},"304":{"position":[[357,6]]},"346":{"position":[[380,6]]},"354":{"position":[[351,6]]},"358":{"position":[[50,6],[630,6]]},"362":{"position":[[576,6]]},"367":{"position":[[141,6]]},"376":{"position":[[379,6]]},"381":{"position":[[559,6]]},"386":{"position":[[81,6]]},"393":{"position":[[793,6]]},"395":{"position":[[431,6]]},"401":{"position":[[50,6]]},"404":{"position":[[758,6]]},"411":{"position":[[1300,6],[2037,6],[2138,6]]},"412":{"position":[[1499,6],[1724,6],[4273,6],[5603,6],[5697,6],[12806,6]]},"416":{"position":[[336,6]]},"421":{"position":[[302,6]]},"455":{"position":[[396,6]]},"457":{"position":[[377,6]]},"458":{"position":[[1566,6]]},"463":{"position":[[849,6],[1178,6]]},"464":{"position":[[1075,6]]},"465":{"position":[[80,6]]},"466":{"position":[[443,6]]},"469":{"position":[[383,6]]},"478":{"position":[[232,6]]},"487":{"position":[[78,6]]},"559":{"position":[[1221,6]]},"611":{"position":[[63,7]]},"612":{"position":[[409,6],[560,6]]},"617":{"position":[[601,6],[1239,6],[1320,6],[2098,6]]},"621":{"position":[[83,7]]},"622":{"position":[[662,6]]},"662":{"position":[[188,6]]},"682":{"position":[[64,6],[204,6]]},"696":{"position":[[662,6]]},"698":{"position":[[1691,6],[2415,6]]},"699":{"position":[[834,6]]},"700":{"position":[[38,6]]},"701":{"position":[[643,6],[975,6]]},"710":{"position":[[223,6]]},"724":{"position":[[856,6]]},"754":{"position":[[621,6]]},"781":{"position":[[793,6]]},"783":{"position":[[260,6]]},"785":{"position":[[494,6]]},"795":{"position":[[99,6]]},"826":{"position":[[46,6]]},"838":{"position":[[217,6]]},"849":{"position":[[429,6]]},"875":{"position":[[288,6]]},"886":{"position":[[2926,6]]},"898":{"position":[[2739,6]]},"904":{"position":[[1861,6],[3234,6]]},"941":{"position":[[195,6]]},"944":{"position":[[543,6]]},"950":{"position":[[61,6],[117,6]]},"964":{"position":[[81,6],[404,6],[428,6],[491,6]]},"988":{"position":[[36,6]]},"1007":{"position":[[20,6]]},"1038":{"position":[[17,6]]},"1056":{"position":[[28,6]]},"1074":{"position":[[245,6]]},"1084":{"position":[[145,6]]},"1087":{"position":[[85,6]]},"1091":{"position":[[34,6]]},"1100":{"position":[[160,6]]},"1114":{"position":[[408,6]]},"1116":{"position":[[68,6],[161,6],[367,6]]},"1119":{"position":[[245,6]]},"1124":{"position":[[768,6]]},"1132":{"position":[[292,6]]},"1140":{"position":[[275,6]]},"1161":{"position":[[150,6]]},"1164":{"position":[[239,6]]},"1170":{"position":[[149,6]]},"1180":{"position":[[150,6]]},"1183":{"position":[[430,6]]},"1186":{"position":[[83,6],[215,6]]},"1194":{"position":[[298,6],[381,6],[489,6],[763,6],[988,6]]},"1238":{"position":[[268,6]]},"1295":{"position":[[991,6],[1184,6]]},"1296":{"position":[[678,6],[1514,6]]},"1299":{"position":[[348,6]]},"1304":{"position":[[464,6],[1552,6]]},"1307":{"position":[[266,6]]},"1315":{"position":[[1185,6]]},"1316":{"position":[[2617,6]]},"1317":{"position":[[723,6]]},"1319":{"position":[[441,6]]},"1321":{"position":[[336,6]]},"1323":{"position":[[59,6],[137,6]]},"1324":{"position":[[1002,6]]}},"keywords":{}}],["site",{"_index":1869,"title":{},"content":{"305":{"position":[[213,5]]},"402":{"position":[[2134,5]]},"408":{"position":[[1103,4]]},"412":{"position":[[7940,4],[8128,4]]},"421":{"position":[[228,5],[366,5],[560,5]]},"736":{"position":[[285,5]]},"781":{"position":[[183,5]]},"1140":{"position":[[44,5],[163,5]]}},"keywords":{}}],["situat",{"_index":1787,"title":{},"content":{"301":{"position":[[495,11]]},"430":{"position":[[106,10]]},"497":{"position":[[83,10]]},"612":{"position":[[271,9]]},"1003":{"position":[[86,10]]},"1300":{"position":[[614,11]]}},"keywords":{}}],["six",{"_index":3630,"title":{},"content":{"617":{"position":[[28,3],[153,3],[283,3]]}},"keywords":{}}],["size",{"_index":958,"title":{"69":{"position":[[6,4]]},"100":{"position":[[6,4]]},"228":{"position":[[6,4]]},"297":{"position":[[22,4]]},"303":{"position":[[29,4]]},"304":{"position":[[14,4]]},"461":{"position":[[8,4]]},"782":{"position":[[17,5]]},"1186":{"position":[[6,4]]}},"content":{"69":{"position":[[60,5]]},"100":{"position":[[98,5],[323,6]]},"141":{"position":[[191,5]]},"169":{"position":[[28,4]]},"197":{"position":[[119,4]]},"227":{"position":[[72,5]]},"228":{"position":[[67,5],[134,4],[346,6],[406,4]]},"243":{"position":[[663,4]]},"299":{"position":[[11,4]]},"306":{"position":[[343,4]]},"311":{"position":[[133,4]]},"316":{"position":[[492,5]]},"345":{"position":[[107,4]]},"387":{"position":[[455,6]]},"392":{"position":[[3052,4],[4971,4]]},"401":{"position":[[175,4],[186,4],[714,4]]},"408":{"position":[[1121,6]]},"412":{"position":[[6670,4],[6984,5],[7259,4],[8957,5],[9170,4]]},"430":{"position":[[573,4]]},"454":{"position":[[673,4]]},"461":{"position":[[633,4],[770,4],[951,4],[1006,4],[1256,4],[1438,4],[1513,4]]},"495":{"position":[[788,4]]},"581":{"position":[[548,4]]},"696":{"position":[[756,4],[1997,5]]},"717":{"position":[[364,4]]},"752":{"position":[[801,5]]},"759":{"position":[[756,4]]},"760":{"position":[[752,4]]},"773":{"position":[[809,4]]},"774":{"position":[[958,4]]},"962":{"position":[[300,4]]},"988":{"position":[[2904,5]]},"1125":{"position":[[682,5]]},"1137":{"position":[[154,4]]},"1143":{"position":[[174,4]]},"1167":{"position":[[63,4]]},"1198":{"position":[[629,4]]},"1207":{"position":[[616,4]]},"1208":{"position":[[1698,4]]},"1222":{"position":[[643,4]]},"1235":{"position":[[79,5]]},"1237":{"position":[[246,5]]},"1242":{"position":[[138,5]]},"1282":{"position":[[265,4]]},"1286":{"position":[[184,5]]},"1292":{"position":[[822,5],[880,4],[907,4],[930,4]]},"1294":{"position":[[1934,4],[2047,4]]},"1321":{"position":[[1118,5]]}},"keywords":{}}],["size"",{"_index":1469,"title":{},"content":{"243":{"position":[[768,10]]}},"keywords":{}}],["size.in",{"_index":6279,"title":{},"content":{"1235":{"position":[[248,7]]}},"keywords":{}}],["size=8192",{"_index":4581,"title":{},"content":{"773":{"position":[[885,9]]}},"keywords":{}}],["sizeslow",{"_index":6180,"title":{},"content":{"1200":{"position":[[12,8]]}},"keywords":{}}],["sizewrit",{"_index":4584,"title":{},"content":{"774":{"position":[[988,10]]}},"keywords":{}}],["skeletor",{"_index":4608,"title":{},"content":{"791":{"position":[[441,10],[535,11]]}},"keywords":{}}],["skill",{"_index":1416,"title":{},"content":{"230":{"position":[[239,7]]},"1074":{"position":[[487,6],[607,6]]}},"keywords":{}}],["skip",{"_index":3114,"title":{},"content":{"478":{"position":[[268,4]]},"749":{"position":[[2878,4]]},"759":{"position":[[1364,7]]},"886":{"position":[[3085,4]]},"902":{"position":[[22,8]]},"988":{"position":[[964,7],[3218,7]]},"1067":{"position":[[357,6]]},"1126":{"position":[[588,4]]},"1318":{"position":[[263,4],[784,4]]}},"keywords":{}}],["slash",{"_index":4137,"title":{},"content":{"749":{"position":[[371,5],[6282,5],[16153,5]]}},"keywords":{}}],["slave",{"_index":383,"title":{},"content":{"23":{"position":[[153,5]]},"903":{"position":[[351,5]]}},"keywords":{}}],["slight",{"_index":2390,"title":{},"content":{"398":{"position":[[207,6]]},"875":{"position":[[9411,6]]},"1298":{"position":[[49,6]]}},"keywords":{}}],["slightli",{"_index":3019,"title":{},"content":{"461":{"position":[[883,8]]},"1211":{"position":[[179,8]]},"1295":{"position":[[742,9]]},"1297":{"position":[[458,9]]}},"keywords":{}}],["slogan",{"_index":3948,"title":{},"content":{"699":{"position":[[323,6]]}},"keywords":{}}],["slow",{"_index":391,"title":{"429":{"position":[[16,6]]},"1293":{"position":[[17,4]]}},"content":{"23":{"position":[[374,4]]},"43":{"position":[[382,4]]},"58":{"position":[[93,5],[214,4]]},"309":{"position":[[116,4]]},"311":{"position":[[44,4]]},"354":{"position":[[894,4]]},"358":{"position":[[430,4]]},"396":{"position":[[1640,5]]},"402":{"position":[[1831,5]]},"411":{"position":[[3298,4]]},"412":{"position":[[10506,4],[14248,4]]},"415":{"position":[[411,4]]},"421":{"position":[[386,4],[923,4]]},"427":{"position":[[824,7]]},"430":{"position":[[394,4]]},"432":{"position":[[752,4]]},"442":{"position":[[84,4]]},"464":{"position":[[694,4]]},"469":{"position":[[271,4]]},"470":{"position":[[424,4]]},"486":{"position":[[111,4]]},"491":{"position":[[1006,4]]},"545":{"position":[[95,4],[137,4]]},"605":{"position":[[95,4],[137,4]]},"653":{"position":[[701,6]]},"656":{"position":[[361,4]]},"696":{"position":[[904,4]]},"704":{"position":[[355,4]]},"709":{"position":[[673,5]]},"749":{"position":[[2621,4]]},"793":{"position":[[1321,4]]},"801":{"position":[[229,4]]},"802":{"position":[[234,4]]},"1013":{"position":[[784,4]]},"1093":{"position":[[245,4]]},"1164":{"position":[[1435,4]]},"1191":{"position":[[321,4]]},"1198":{"position":[[532,5]]},"1238":{"position":[[333,4]]},"1276":{"position":[[329,4]]},"1316":{"position":[[3614,4]]}},"keywords":{}}],["slow.indexeddb",{"_index":3099,"title":{},"content":{"470":{"position":[[517,14]]}},"keywords":{}}],["slower",{"_index":940,"title":{},"content":{"66":{"position":[[132,6],[294,6]]},"69":{"position":[[205,6]]},"404":{"position":[[380,6]]},"408":{"position":[[3999,6]]},"412":{"position":[[9754,6]]},"427":{"position":[[330,6]]},"434":{"position":[[190,6]]},"435":{"position":[[281,6]]},"454":{"position":[[458,6]]},"464":{"position":[[578,6],[897,6]]},"467":{"position":[[361,6]]},"703":{"position":[[1134,7],[1156,7]]},"709":{"position":[[870,7]]},"1072":{"position":[[2883,7]]},"1143":{"position":[[402,6]]},"1211":{"position":[[188,6]]},"1222":{"position":[[1266,7]]},"1267":{"position":[[396,6]]},"1270":{"position":[[29,6]]},"1276":{"position":[[205,6]]},"1295":{"position":[[1260,6]]}},"keywords":{}}],["small",{"_index":527,"title":{"464":{"position":[[11,5]]},"465":{"position":[[11,5]]},"696":{"position":[[19,5]]}},"content":{"34":{"position":[[12,6],[282,5]]},"63":{"position":[[48,5]]},"287":{"position":[[426,5]]},"317":{"position":[[69,5]]},"386":{"position":[[75,5]]},"396":{"position":[[336,5],[557,5]]},"401":{"position":[[243,5]]},"411":{"position":[[151,5],[667,5],[1333,5]]},"412":{"position":[[12759,5]]},"424":{"position":[[97,5]]},"429":{"position":[[190,5]]},"432":{"position":[[1432,5]]},"441":{"position":[[167,5]]},"450":{"position":[[66,5]]},"451":{"position":[[321,5]]},"464":{"position":[[31,5],[80,5]]},"555":{"position":[[905,5]]},"559":{"position":[[166,5],[1020,5]]},"560":{"position":[[307,5]]},"566":{"position":[[1412,5]]},"567":{"position":[[985,5]]},"630":{"position":[[798,5]]},"659":{"position":[[720,5]]},"709":{"position":[[195,5]]},"772":{"position":[[2059,5]]},"828":{"position":[[237,5]]},"835":{"position":[[825,5]]},"841":{"position":[[886,5],[1338,5]]},"1156":{"position":[[126,5],[162,5]]},"1157":{"position":[[296,5]]},"1170":{"position":[[191,5]]},"1186":{"position":[[59,5]]},"1192":{"position":[[765,5]]},"1193":{"position":[[107,5]]},"1235":{"position":[[67,5]]},"1242":{"position":[[125,5]]},"1297":{"position":[[529,5]]}},"keywords":{}}],["smaller",{"_index":1029,"title":{},"content":{"100":{"position":[[309,7]]},"228":{"position":[[332,7]]},"357":{"position":[[521,7]]},"402":{"position":[[364,7],[1855,7]]},"643":{"position":[[204,7]]},"717":{"position":[[350,7]]},"796":{"position":[[195,7]]},"1157":{"position":[[450,7]]},"1235":{"position":[[234,7]]}},"keywords":{}}],["smallest",{"_index":2322,"title":{},"content":{"394":{"position":[[1046,9]]},"490":{"position":[[610,8]]},"1137":{"position":[[139,8]]}},"keywords":{}}],["smarter",{"_index":690,"title":{"44":{"position":[[6,7]]}},"content":{},"keywords":{}}],["smartphon",{"_index":2430,"title":{},"content":{"399":{"position":[[312,11]]},"500":{"position":[[788,12]]},"700":{"position":[[869,10]]},"1270":{"position":[[389,11]]}},"keywords":{}}],["smooth",{"_index":1031,"title":{},"content":{"101":{"position":[[260,6]]},"152":{"position":[[326,6]]},"277":{"position":[[209,6]]},"280":{"position":[[418,6]]},"379":{"position":[[306,6]]},"412":{"position":[[11692,6]]},"446":{"position":[[1061,6]]},"504":{"position":[[941,6]]},"642":{"position":[[208,6]]}},"keywords":{}}],["smooth.perform",{"_index":1979,"title":{},"content":{"346":{"position":[[731,18]]}},"keywords":{}}],["smoother",{"_index":909,"title":{},"content":{"65":{"position":[[383,8]]},"87":{"position":[[227,8]]},"411":{"position":[[1811,8]]},"445":{"position":[[1935,8]]},"474":{"position":[[281,8]]},"801":{"position":[[547,8]]}},"keywords":{}}],["smoothli",{"_index":1430,"title":{},"content":{"240":{"position":[[251,8]]},"350":{"position":[[271,8]]},"376":{"position":[[647,9]]},"489":{"position":[[670,8]]},"493":{"position":[[30,8]]}},"keywords":{}}],["snappi",{"_index":1330,"title":{},"content":{"205":{"position":[[411,6]]},"342":{"position":[[160,7]]},"410":{"position":[[299,6]]},"489":{"position":[[523,6]]},"495":{"position":[[27,7]]},"498":{"position":[[569,7]]}},"keywords":{}}],["snappier",{"_index":3241,"title":{},"content":{"507":{"position":[[156,8]]}},"keywords":{}}],["snapshot",{"_index":4808,"title":{},"content":{"841":{"position":[[668,10]]}},"keywords":{}}],["snh",{"_index":4440,"title":{},"content":{"749":{"position":[[24372,3]]}},"keywords":{}}],["snippet",{"_index":1769,"title":{},"content":{"300":{"position":[[111,7]]},"425":{"position":[[236,8]]},"493":{"position":[[315,8]]},"522":{"position":[[242,7]]}},"keywords":{}}],["social",{"_index":3197,"title":{},"content":{"497":{"position":[[52,6]]}},"keywords":{}}],["socket",{"_index":3567,"title":{},"content":{"611":{"position":[[633,6],[1013,6]]},"892":{"position":[[325,9]]},"988":{"position":[[5206,6],[5637,6]]}},"keywords":{}}],["socket.clos",{"_index":5483,"title":{},"content":{"988":{"position":[[5736,15]]}},"keywords":{}}],["socket.io",{"_index":3580,"title":{},"content":{"611":{"position":[[1330,9]]},"906":{"position":[[547,11]]}},"keywords":{}}],["socket.onclos",{"_index":5481,"title":{},"content":{"988":{"position":[[5667,14]]}},"keywords":{}}],["socket.onerror",{"_index":5482,"title":{},"content":{"988":{"position":[[5710,14]]}},"keywords":{}}],["socket.onmessag",{"_index":3573,"title":{},"content":{"611":{"position":[[818,16]]},"988":{"position":[[5542,16]]}},"keywords":{}}],["socket.onopen",{"_index":3569,"title":{},"content":{"611":{"position":[[677,13]]},"988":{"position":[[5752,13]]}},"keywords":{}}],["socket.send('hello",{"_index":3572,"title":{},"content":{"611":{"position":[[785,18]]}},"keywords":{}}],["soft",{"_index":3455,"title":{},"content":{"569":{"position":[[459,4]]},"861":{"position":[[1653,4]]}},"keywords":{}}],["softwar",{"_index":1228,"title":{"406":{"position":[[16,8]]}},"content":{"177":{"position":[[30,8]]},"267":{"position":[[1631,8]]},"407":{"position":[[16,9],[887,9],[921,8]]},"419":{"position":[[1690,9]]},"422":{"position":[[362,8]]},"444":{"position":[[34,8]]},"473":{"position":[[30,8]]},"644":{"position":[[662,8]]},"1320":{"position":[[113,8]]}},"keywords":{}}],["software"",{"_index":2812,"title":{},"content":{"419":{"position":[[1538,14]]}},"keywords":{}}],["software,"",{"_index":2803,"title":{},"content":{"419":{"position":[[682,15]]}},"keywords":{}}],["sole",{"_index":1009,"title":{},"content":{"91":{"position":[[119,6]]},"321":{"position":[[313,6]]},"698":{"position":[[1594,6]]}},"keywords":{}}],["solid",{"_index":3232,"title":{},"content":{"503":{"position":[[193,5]]}},"keywords":{}}],["solut",{"_index":437,"title":{"118":{"position":[[31,9]]},"153":{"position":[[32,9]]},"179":{"position":[[31,9]]},"212":{"position":[[18,8]]},"295":{"position":[[15,9]]},"322":{"position":[[31,9]]},"441":{"position":[[39,9]]},"445":{"position":[[54,10]]},"479":{"position":[[47,9]]},"575":{"position":[[31,9]]},"658":{"position":[[9,9]]},"737":{"position":[[0,9]]},"834":{"position":[[9,9]]}},"content":{"27":{"position":[[21,8]]},"40":{"position":[[731,8]]},"43":{"position":[[67,10]]},"66":{"position":[[203,9],[620,9]]},"83":{"position":[[52,8]]},"102":{"position":[[76,9]]},"117":{"position":[[242,8]]},"118":{"position":[[224,9]]},"148":{"position":[[29,8]]},"153":{"position":[[64,8]]},"161":{"position":[[132,10]]},"170":{"position":[[40,8]]},"173":{"position":[[88,9]]},"174":{"position":[[3027,10]]},"178":{"position":[[100,8]]},"179":{"position":[[35,8]]},"198":{"position":[[46,8]]},"229":{"position":[[121,8]]},"241":{"position":[[729,10]]},"263":{"position":[[520,8]]},"271":{"position":[[29,8]]},"278":{"position":[[46,8]]},"287":{"position":[[44,9]]},"290":{"position":[[139,10]]},"295":{"position":[[145,10]]},"318":{"position":[[167,9]]},"320":{"position":[[339,8]]},"321":{"position":[[475,8]]},"331":{"position":[[106,9],[266,9]]},"350":{"position":[[133,9]]},"351":{"position":[[146,9]]},"354":{"position":[[186,9],[1172,9],[1652,9]]},"357":{"position":[[508,8]]},"368":{"position":[[31,9]]},"371":{"position":[[79,8]]},"372":{"position":[[66,8]]},"373":{"position":[[393,9],[757,10]]},"386":{"position":[[132,10]]},"388":{"position":[[165,9]]},"412":{"position":[[462,9],[887,8],[1210,9],[3657,9],[14597,9]]},"429":{"position":[[134,9]]},"430":{"position":[[635,9],[810,9]]},"432":{"position":[[49,8]]},"436":{"position":[[255,8]]},"437":{"position":[[64,9]]},"441":{"position":[[516,10]]},"445":{"position":[[248,8],[2061,8]]},"447":{"position":[[281,8],[582,8]]},"458":{"position":[[1031,10],[1432,8]]},"476":{"position":[[153,9]]},"513":{"position":[[76,8]]},"520":{"position":[[176,9],[287,8],[448,8]]},"524":{"position":[[994,8]]},"530":{"position":[[169,9]]},"546":{"position":[[77,9]]},"554":{"position":[[82,8]]},"556":{"position":[[91,9]]},"574":{"position":[[676,9]]},"576":{"position":[[385,8]]},"606":{"position":[[77,9]]},"644":{"position":[[407,10]]},"661":{"position":[[1667,8]]},"698":{"position":[[937,8]]},"711":{"position":[[2109,8]]},"737":{"position":[[5,8]]},"834":{"position":[[29,9]]},"835":{"position":[[41,8]]},"836":{"position":[[2006,8],[2235,8],[2487,9]]},"839":{"position":[[29,8],[1194,8]]},"849":{"position":[[406,10]]},"912":{"position":[[260,8]]},"1091":{"position":[[85,9]]},"1147":{"position":[[187,9]]},"1148":{"position":[[33,8]]},"1151":{"position":[[219,9]]},"1178":{"position":[[218,9]]},"1249":{"position":[[264,10]]},"1270":{"position":[[473,8]]},"1305":{"position":[[226,8]]}},"keywords":{}}],["solutions.vendor",{"_index":4800,"title":{},"content":{"839":{"position":[[819,16]]}},"keywords":{}}],["solutions—particularli",{"_index":2015,"title":{},"content":{"354":{"position":[[7,22]]}},"keywords":{}}],["solv",{"_index":1072,"title":{},"content":{"118":{"position":[[389,6]]},"323":{"position":[[647,6]]},"411":{"position":[[4454,6]]},"412":{"position":[[482,5],[3871,5],[15294,6]]},"535":{"position":[[779,6]]},"595":{"position":[[866,6]]},"698":{"position":[[1524,7],[1911,5],[3116,5]]},"737":{"position":[[430,5]]},"1183":{"position":[[257,5]]},"1198":{"position":[[70,6]]},"1301":{"position":[[552,5]]}},"keywords":{}}],["solvabl",{"_index":2776,"title":{},"content":{"412":{"position":[[15304,8]]}},"keywords":{}}],["somehow",{"_index":3057,"title":{},"content":{"464":{"position":[[1265,7]]}},"keywords":{}}],["somekey",{"_index":1809,"title":{},"content":{"302":{"position":[[809,9]]}},"keywords":{}}],["someon",{"_index":2760,"title":{},"content":{"412":{"position":[[13197,7]]},"1316":{"position":[[2783,7]]}},"keywords":{}}],["somet",{"_index":3809,"title":{},"content":{"661":{"position":[[1318,12]]},"836":{"position":[[984,12]]}},"keywords":{}}],["someth",{"_index":2560,"title":{},"content":{"408":{"position":[[3939,9],[4556,9]]},"411":{"position":[[4520,9]]},"412":{"position":[[8101,9],[10375,9],[12982,9],[14317,9]]},"458":{"position":[[448,9]]},"569":{"position":[[1130,9]]},"613":{"position":[[999,9]]},"661":{"position":[[1847,9]]},"704":{"position":[[135,9]]},"709":{"position":[[1300,9]]},"966":{"position":[[134,9]]},"996":{"position":[[228,9]]},"1051":{"position":[[96,9]]},"1135":{"position":[[285,9]]},"1249":{"position":[[92,9]]},"1322":{"position":[[152,9]]}},"keywords":{}}],["sometim",{"_index":1086,"title":{},"content":{"129":{"position":[[148,9]]},"402":{"position":[[565,9]]},"404":{"position":[[362,9]]},"412":{"position":[[3970,9]]},"569":{"position":[[595,9]]},"655":{"position":[[256,9]]},"698":{"position":[[1882,9],[2489,9]]},"775":{"position":[[518,9]]},"797":{"position":[[1,8]]},"806":{"position":[[193,9]]},"1022":{"position":[[1,9]]},"1048":{"position":[[1,9]]},"1066":{"position":[[189,9]]},"1085":{"position":[[2781,9]]},"1185":{"position":[[171,9]]},"1198":{"position":[[954,9]]}},"keywords":{}}],["somevalu",{"_index":3808,"title":{},"content":{"661":{"position":[[1303,9]]},"836":{"position":[[969,9]]}},"keywords":{}}],["somewher",{"_index":6229,"title":{},"content":{"1210":{"position":[[585,9]]}},"keywords":{}}],["soon",{"_index":1926,"title":{},"content":{"326":{"position":[[206,4]]},"379":{"position":[[271,4]]},"570":{"position":[[368,4]]},"634":{"position":[[182,4]]},"701":{"position":[[543,4],[753,4]]},"709":{"position":[[263,4]]},"778":{"position":[[513,4]]},"1009":{"position":[[437,4]]},"1297":{"position":[[276,4]]},"1304":{"position":[[617,4]]},"1316":{"position":[[3818,4]]}},"keywords":{}}],["sooner",{"_index":3960,"title":{},"content":{"702":{"position":[[28,6]]},"1085":{"position":[[2675,7]]},"1319":{"position":[[1,6]]}},"keywords":{}}],["sophist",{"_index":640,"title":{},"content":{"40":{"position":[[473,13]]},"203":{"position":[[137,13]]},"205":{"position":[[184,13]]},"289":{"position":[[56,13]]},"353":{"position":[[111,13]]},"354":{"position":[[742,13]]},"412":{"position":[[14583,13]]},"510":{"position":[[443,13]]},"530":{"position":[[239,13]]},"723":{"position":[[2117,13]]}},"keywords":{}}],["sort",{"_index":341,"title":{},"content":{"19":{"position":[[800,4],[871,5]]},"54":{"position":[[171,5]]},"130":{"position":[[526,5]]},"143":{"position":[[466,5],[647,5]]},"393":{"position":[[1086,4]]},"394":{"position":[[426,7],[1009,7],[1107,7]]},"395":{"position":[[180,4]]},"397":{"position":[[329,7]]},"398":{"position":[[635,7],[1118,5],[1280,5],[1618,6],[2473,5],[2771,6]]},"400":{"position":[[254,4],[282,5],[346,6]]},"402":{"position":[[781,4]]},"580":{"position":[[546,5]]},"723":{"position":[[2369,8]]},"749":{"position":[[4020,6],[4375,4],[4457,7],[4550,4],[4626,4]]},"829":{"position":[[2427,5],[3343,5]]},"885":{"position":[[1634,6]]},"986":{"position":[[220,4],[293,4],[930,6]]},"1056":{"position":[[232,5]]},"1065":{"position":[[1576,4],[1714,4],[1868,4],[1987,7]]},"1069":{"position":[[689,6],[850,6]]},"1079":{"position":[[569,4]]},"1249":{"position":[[532,5]]},"1320":{"position":[[897,6]]}},"keywords":{}}],["sort([['field",{"_index":4192,"title":{},"content":{"749":{"position":[[4419,16]]}},"keywords":{}}],["sort({updateat",{"_index":4996,"title":{},"content":{"875":{"position":[[2535,16]]}},"keywords":{}}],["sortabl",{"_index":2330,"title":{},"content":{"395":{"position":[[326,8]]},"396":{"position":[[1800,8]]},"397":{"position":[[156,8]]},"986":{"position":[[84,8],[1184,8]]},"1085":{"position":[[598,9]]}},"keywords":{}}],["sortbyobjectnumberproperti",{"_index":2305,"title":{},"content":{"394":{"position":[[533,26]]}},"keywords":{}}],["sorted.slice(0",{"_index":2413,"title":{},"content":{"398":{"position":[[1717,15],[2870,15]]}},"keywords":{}}],["sorteddocu",{"_index":5097,"title":{},"content":{"885":{"position":[[1687,15]]}},"keywords":{}}],["sorteddocuments.filter(doc",{"_index":5104,"title":{},"content":{"885":{"position":[[2031,26]]}},"keywords":{}}],["sound",{"_index":6558,"title":{},"content":{"1316":{"position":[[2428,6]]}},"keywords":{}}],["sourc",{"_index":366,"title":{"1024":{"position":[[32,6]]}},"content":{"22":{"position":[[43,6],[105,6]]},"29":{"position":[[379,7],[410,6]]},"38":{"position":[[798,6],[822,6]]},"50":{"position":[[424,7]]},"61":{"position":[[207,7]]},"84":{"position":[[198,6]]},"113":{"position":[[56,6]]},"114":{"position":[[211,6]]},"149":{"position":[[211,6]]},"155":{"position":[[17,6]]},"174":{"position":[[2972,6]]},"175":{"position":[[204,6]]},"177":{"position":[[20,6]]},"198":{"position":[[489,6]]},"255":{"position":[[1775,7]]},"347":{"position":[[211,6]]},"362":{"position":[[1282,6]]},"386":{"position":[[267,6]]},"403":{"position":[[276,6]]},"405":{"position":[[43,6]]},"411":{"position":[[2044,6],[2342,7],[3995,6]]},"412":{"position":[[5610,6]]},"420":{"position":[[968,7]]},"455":{"position":[[449,6]]},"478":{"position":[[239,6]]},"511":{"position":[[211,6]]},"514":{"position":[[47,6]]},"531":{"position":[[211,6]]},"567":{"position":[[469,6]]},"571":{"position":[[357,7]]},"591":{"position":[[211,6]]},"614":{"position":[[49,6]]},"661":{"position":[[508,7]]},"670":{"position":[[423,6]]},"674":{"position":[[253,6]]},"698":{"position":[[2581,9]]},"700":{"position":[[45,6],[73,6]]},"724":{"position":[[669,6]]},"749":{"position":[[9234,6]]},"835":{"position":[[783,7]]},"839":{"position":[[1076,6]]},"840":{"position":[[691,6]]},"860":{"position":[[28,6]]},"904":{"position":[[2494,6]]},"906":{"position":[[1129,6]]},"958":{"position":[[525,6]]},"1020":{"position":[[35,6],[306,6]]},"1028":{"position":[[149,6]]},"1272":{"position":[[374,6]]}},"keywords":{}}],["sourcecod",{"_index":3622,"title":{},"content":{"613":{"position":[[1104,11]]}},"keywords":{}}],["spa",{"_index":1059,"title":{},"content":{"116":{"position":[[136,6]]}},"keywords":{}}],["space",{"_index":944,"title":{},"content":{"66":{"position":[[393,5]]},"81":{"position":[[83,5]]},"111":{"position":[[21,6]]},"236":{"position":[[199,5]]},"298":{"position":[[248,6],[560,6]]},"299":{"position":[[779,5],[1011,6],[1133,5]]},"300":{"position":[[184,5],[366,8],[413,8],[642,6]]},"301":{"position":[[146,5]]},"302":{"position":[[644,5],[966,9]]},"305":{"position":[[250,5]]},"361":{"position":[[430,5]]},"366":{"position":[[330,5]]},"396":{"position":[[278,6]]},"402":{"position":[[2163,6],[2271,5]]},"408":{"position":[[1008,5]]},"412":{"position":[[7816,5]]},"420":{"position":[[1384,5]]},"461":{"position":[[1121,5],[1205,6],[1583,6]]},"528":{"position":[[53,5]]},"588":{"position":[[91,5]]},"660":{"position":[[243,6]]},"696":{"position":[[1077,5],[1346,5],[1712,5]]},"773":{"position":[[803,5],[879,5]]},"780":{"position":[[297,6]]},"796":{"position":[[209,5],[387,5],[683,5],[1103,5]]},"837":{"position":[[526,5]]},"932":{"position":[[268,5]]},"977":{"position":[[64,6]]},"1143":{"position":[[318,5]]}},"keywords":{}}],["span",{"_index":3986,"title":{},"content":{"709":{"position":[[241,4]]}},"keywords":{}}],["spanner",{"_index":2772,"title":{},"content":{"412":{"position":[[14687,9]]},"1324":{"position":[[661,8]]}},"keywords":{}}],["spare",{"_index":5551,"title":{},"content":{"1004":{"position":[[512,6]]}},"keywords":{}}],["sparsiti",{"_index":2425,"title":{},"content":{"398":{"position":[[3354,8]]}},"keywords":{}}],["spawn",{"_index":1242,"title":{},"content":{"188":{"position":[[130,5]]},"392":{"position":[[3701,5]]},"460":{"position":[[469,8],[559,7]]},"463":{"position":[[91,8]]},"872":{"position":[[2993,5]]},"1088":{"position":[[349,5]]}},"keywords":{}}],["spec",{"_index":5174,"title":{},"content":{"890":{"position":[[897,4]]},"1084":{"position":[[265,4]]}},"keywords":{}}],["special",{"_index":2075,"title":{},"content":{"359":{"position":[[127,11]]},"381":{"position":[[439,11]]},"390":{"position":[[24,11]]},"444":{"position":[[22,11]]},"563":{"position":[[163,7]]},"569":{"position":[[324,11]]},"685":{"position":[[40,7]]}},"keywords":{}}],["specif",{"_index":92,"title":{"299":{"position":[[8,8]]},"797":{"position":[[6,8]]},"1066":{"position":[[10,8]]}},"content":{"6":{"position":[[624,8]]},"7":{"position":[[459,8]]},"33":{"position":[[425,8]]},"38":{"position":[[447,8]]},"100":{"position":[[185,12]]},"106":{"position":[[125,8]]},"138":{"position":[[68,8]]},"140":{"position":[[190,8]]},"146":{"position":[[223,8]]},"147":{"position":[[261,8]]},"151":{"position":[[24,9]]},"153":{"position":[[82,12]]},"159":{"position":[[161,8]]},"162":{"position":[[805,8]]},"168":{"position":[[166,8]]},"174":{"position":[[1100,8]]},"189":{"position":[[707,8]]},"194":{"position":[[83,8]]},"196":{"position":[[237,8]]},"222":{"position":[[228,8]]},"228":{"position":[[207,12]]},"235":{"position":[[131,8]]},"260":{"position":[[98,8]]},"356":{"position":[[248,8]]},"369":{"position":[[284,8]]},"393":{"position":[[591,8]]},"402":{"position":[[1128,8]]},"411":{"position":[[1623,8]]},"412":{"position":[[15322,8]]},"427":{"position":[[1008,8]]},"430":{"position":[[249,8]]},"441":{"position":[[484,8]]},"451":{"position":[[67,13]]},"455":{"position":[[403,8],[533,8],[892,8]]},"456":{"position":[[69,8]]},"461":{"position":[[936,8]]},"462":{"position":[[231,8]]},"482":{"position":[[96,8]]},"520":{"position":[[457,12]]},"527":{"position":[[122,8]]},"535":{"position":[[835,8]]},"569":{"position":[[182,8],[1459,8]]},"570":{"position":[[122,8]]},"595":{"position":[[916,8]]},"612":{"position":[[1552,14]]},"617":{"position":[[1658,8]]},"653":{"position":[[15,8]]},"686":{"position":[[833,8]]},"690":{"position":[[131,8]]},"701":{"position":[[699,8]]},"719":{"position":[[30,8]]},"723":{"position":[[2335,8]]},"729":{"position":[[198,8]]},"826":{"position":[[338,8]]},"830":{"position":[[134,8],[168,8]]},"832":{"position":[[399,8]]},"875":{"position":[[66,8]]},"890":{"position":[[209,8]]},"1009":{"position":[[151,8],[374,8]]},"1067":{"position":[[1207,8],[1437,8]]},"1072":{"position":[[1937,8]]},"1101":{"position":[[317,8]]},"1104":{"position":[[40,8]]},"1106":{"position":[[184,8]]},"1132":{"position":[[688,8]]},"1138":{"position":[[481,8]]},"1198":{"position":[[49,8]]},"1201":{"position":[[276,8]]},"1202":{"position":[[237,8]]},"1206":{"position":[[148,8]]}},"keywords":{}}],["specifi",{"_index":2079,"title":{"746":{"position":[[0,7]]}},"content":{"361":{"position":[[17,10]]},"392":{"position":[[1352,9]]},"398":{"position":[[1861,9]]},"482":{"position":[[1149,9]]},"555":{"position":[[65,9]]},"612":{"position":[[1581,10]]},"681":{"position":[[414,7]]},"746":{"position":[[135,7]]},"749":{"position":[[325,9],[19364,9],[19484,9]]},"770":{"position":[[169,7]]},"797":{"position":[[200,7],[310,7]]},"886":{"position":[[1343,9]]},"911":{"position":[[139,7]]},"932":{"position":[[1303,7]]},"938":{"position":[[65,7]]},"987":{"position":[[983,7]]},"1066":{"position":[[275,7]]},"1067":{"position":[[2277,7]]},"1068":{"position":[[56,7]]},"1072":{"position":[[7,7]]},"1103":{"position":[[53,7]]},"1133":{"position":[[557,7]]},"1134":{"position":[[355,7]]},"1229":{"position":[[56,7]]},"1268":{"position":[[56,7]]},"1309":{"position":[[1273,7]]}},"keywords":{}}],["speed",{"_index":1427,"title":{"265":{"position":[[0,5]]}},"content":{"236":{"position":[[277,7]]},"266":{"position":[[441,5]]},"267":{"position":[[880,5],[1249,6]]},"342":{"position":[[48,5]]},"356":{"position":[[282,5]]},"365":{"position":[[750,5]]},"369":{"position":[[731,5]]},"376":{"position":[[492,5]]},"385":{"position":[[100,5]]},"408":{"position":[[2080,5],[2373,5],[3605,6]]},"412":{"position":[[8687,5]]},"418":{"position":[[713,5]]},"430":{"position":[[1109,5]]},"441":{"position":[[129,5]]},"462":{"position":[[602,6]]},"465":{"position":[[453,5]]},"469":{"position":[[73,5]]},"483":{"position":[[1203,6]]},"500":{"position":[[218,6]]},"527":{"position":[[155,5]]},"587":{"position":[[60,5]]},"590":{"position":[[662,5]]},"639":{"position":[[196,8]]},"640":{"position":[[347,5]]},"641":{"position":[[406,5]]},"723":{"position":[[90,5]]},"780":{"position":[[414,5]]},"783":{"position":[[184,6]]},"975":{"position":[[243,5]]},"1080":{"position":[[1107,5]]},"1120":{"position":[[459,5]]},"1137":{"position":[[177,6]]},"1206":{"position":[[580,6]]},"1316":{"position":[[1990,5]]}},"keywords":{}}],["speed.they",{"_index":6540,"title":{},"content":{"1316":{"position":[[455,10]]}},"keywords":{}}],["spend",{"_index":2613,"title":{},"content":{"411":{"position":[[1653,8]]}},"keywords":{}}],["spent",{"_index":2001,"title":{},"content":{"352":{"position":[[164,5]]}},"keywords":{}}],["spin",{"_index":5585,"title":{},"content":{"1009":{"position":[[178,4]]},"1135":{"position":[[172,4]]}},"keywords":{}}],["spinner",{"_index":713,"title":{"474":{"position":[[16,9]]},"778":{"position":[[29,9]]}},"content":{"46":{"position":[[389,9]]},"227":{"position":[[416,8]]},"400":{"position":[[702,8]]},"410":{"position":[[336,9]]},"421":{"position":[[626,8],[762,9]]},"427":{"position":[[1418,7]]},"474":{"position":[[81,9]]},"483":{"position":[[417,9]]},"486":{"position":[[12,9]]},"534":{"position":[[362,9]]},"594":{"position":[[360,9]]},"634":{"position":[[652,7]]},"778":{"position":[[285,8],[494,7]]},"995":{"position":[[740,7],[1806,7]]}},"keywords":{}}],["split",{"_index":2043,"title":{"1089":{"position":[[17,5]]}},"content":{"356":{"position":[[703,6]]},"412":{"position":[[12743,5]]},"643":{"position":[[184,9]]},"1022":{"position":[[88,5]]},"1092":{"position":[[61,5]]},"1120":{"position":[[600,5]]},"1295":{"position":[[190,5],[459,5]]},"1304":{"position":[[637,5]]}},"keywords":{}}],["sport",{"_index":3582,"title":{},"content":{"612":{"position":[[249,6]]},"624":{"position":[[825,6]]}},"keywords":{}}],["spotti",{"_index":3520,"title":{},"content":{"584":{"position":[[268,6]]}},"keywords":{}}],["spread",{"_index":6449,"title":{},"content":{"1295":{"position":[[313,6]]}},"keywords":{}}],["sql",{"_index":417,"title":{"31":{"position":[[7,4]]},"67":{"position":[[4,3]]},"74":{"position":[[48,4]]},"98":{"position":[[4,3]]},"105":{"position":[[48,4]]},"225":{"position":[[4,3]]},"232":{"position":[[38,4]]},"353":{"position":[[23,5]]},"354":{"position":[[15,3]]},"355":{"position":[[28,3]]},"1249":{"position":[[8,3]]},"1250":{"position":[[0,3]]}},"content":{"25":{"position":[[154,3]]},"31":{"position":[[8,3]]},"36":{"position":[[225,3]]},"67":{"position":[[1,3]]},"68":{"position":[[1,3]]},"70":{"position":[[1,3]]},"83":{"position":[[298,3]]},"98":{"position":[[7,3],[167,3]]},"99":{"position":[[1,3]]},"126":{"position":[[215,3]]},"174":{"position":[[735,4]]},"224":{"position":[[71,3]]},"225":{"position":[[7,3],[128,3]]},"226":{"position":[[1,3]]},"227":{"position":[[1,3]]},"228":{"position":[[13,3]]},"229":{"position":[[83,3]]},"232":{"position":[[273,3]]},"281":{"position":[[363,3]]},"351":{"position":[[13,3]]},"353":{"position":[[33,3]]},"354":{"position":[[182,3],[460,3],[653,3],[846,3],[1097,3],[1258,3],[1526,3]]},"356":{"position":[[54,3],[644,4]]},"360":{"position":[[249,4]]},"362":{"position":[[308,3],[464,3]]},"364":{"position":[[648,3]]},"412":{"position":[[13655,3],[14725,3]]},"435":{"position":[[28,3]]},"455":{"position":[[70,3],[194,3]]},"661":{"position":[[13,3],[139,3]]},"705":{"position":[[297,3],[659,3],[1269,3]]},"711":{"position":[[13,3],[191,3],[609,3],[1836,3],[2186,3]]},"836":{"position":[[15,3],[141,3],[921,3]]},"841":{"position":[[124,3],[310,3],[1135,3]]},"1065":{"position":[[340,3]]},"1071":{"position":[[203,3],[290,3]]},"1249":{"position":[[102,3],[143,3],[329,3]]},"1250":{"position":[[1,3],[80,3]]},"1251":{"position":[[1,3]]},"1252":{"position":[[276,3]]},"1257":{"position":[[106,3]]},"1280":{"position":[[15,3],[130,3],[410,5]]},"1282":{"position":[[628,3]]},"1315":{"position":[[340,4],[768,3],[1083,3],[1141,3],[1158,3],[1279,3]]},"1316":{"position":[[711,3],[1512,3],[2552,3],[3390,3]]},"1317":{"position":[[328,3],[422,3]]},"1320":{"position":[[374,3],[714,4]]},"1321":{"position":[[245,3]]},"1322":{"position":[[391,3]]},"1324":{"position":[[16,3],[514,3],[690,3]]}},"keywords":{}}],["sql"",{"_index":1490,"title":{},"content":{"244":{"position":[[441,9]]}},"keywords":{}}],["sql.j",{"_index":488,"title":{"30":{"position":[[0,7]]}},"content":{"30":{"position":[[1,6],[194,6]]},"31":{"position":[[76,7]]},"1324":{"position":[[113,7],[354,6]]}},"keywords":{}}],["sql1",{"_index":4425,"title":{},"content":{"749":{"position":[[23197,4]]}},"keywords":{}}],["sql2",{"_index":4427,"title":{},"content":{"749":{"position":[[23323,4]]}},"keywords":{}}],["sql3",{"_index":4429,"title":{},"content":{"749":{"position":[[23455,4]]}},"keywords":{}}],["sqlite",{"_index":100,"title":{"8":{"position":[[13,7]]},"11":{"position":[[8,7]]},"67":{"position":[[23,6]]},"98":{"position":[[23,6]]},"278":{"position":[[93,7]]},"357":{"position":[[16,7]]},"372":{"position":[[6,6]]},"448":{"position":[[57,6]]},"454":{"position":[[13,7]]},"657":{"position":[[21,7]]},"661":{"position":[[0,7]]},"706":{"position":[[52,7]]},"709":{"position":[[53,6]]},"711":{"position":[[0,6]]},"836":{"position":[[0,7]]},"1269":{"position":[[0,6]]},"1271":{"position":[[10,6]]},"1273":{"position":[[10,6],[42,6]]},"1278":{"position":[[16,7]]},"1279":{"position":[[11,6]]},"1280":{"position":[[17,7]]},"1282":{"position":[[18,6]]}},"content":{"8":{"position":[[18,6],[194,6],[218,6],[270,6],[290,6],[367,6],[847,6],[873,6],[946,7],[1188,8]]},"11":{"position":[[128,6],[190,10],[893,8],[985,6]]},"16":{"position":[[347,7]]},"17":{"position":[[308,6]]},"24":{"position":[[214,7]]},"30":{"position":[[39,6],[225,6],[284,7]]},"36":{"position":[[173,6]]},"43":{"position":[[327,6],[404,6]]},"59":{"position":[[178,7],[268,6],[298,7]]},"67":{"position":[[20,7]]},"69":{"position":[[28,6]]},"98":{"position":[[30,7]]},"186":{"position":[[111,6]]},"189":{"position":[[297,6],[406,6]]},"228":{"position":[[370,6]]},"266":{"position":[[114,7]]},"278":{"position":[[162,7]]},"279":{"position":[[381,7]]},"281":{"position":[[382,7]]},"282":{"position":[[490,7]]},"287":{"position":[[1092,6],[1192,6],[1232,6]]},"314":{"position":[[185,6]]},"318":{"position":[[274,6],[457,6]]},"336":{"position":[[429,6]]},"357":{"position":[[1,6],[106,6],[272,6],[322,6],[608,6],[654,6]]},"372":{"position":[[38,6],[131,7]]},"383":{"position":[[396,6]]},"384":{"position":[[228,6]]},"412":{"position":[[8493,6],[9855,6]]},"444":{"position":[[453,6]]},"454":{"position":[[515,6],[660,6],[1044,6]]},"455":{"position":[[118,7],[442,6],[553,6],[637,7]]},"457":{"position":[[255,6]]},"459":{"position":[[257,6]]},"463":{"position":[[388,6],[726,6],[751,6],[1156,6]]},"464":{"position":[[376,6],[402,6],[639,6]]},"465":{"position":[[237,6],[263,6]]},"466":{"position":[[200,6],[226,6],[385,6]]},"467":{"position":[[175,6],[201,6],[390,6],[462,6]]},"470":{"position":[[299,6]]},"483":{"position":[[1039,6]]},"489":{"position":[[277,7]]},"524":{"position":[[623,6],[687,6],[743,6],[806,6],[1044,7]]},"546":{"position":[[342,6]]},"551":{"position":[[140,6]]},"554":{"position":[[452,6],[706,6]]},"581":{"position":[[433,7]]},"606":{"position":[[332,6]]},"641":{"position":[[345,6]]},"661":{"position":[[1,6],[162,6],[218,6],[316,6],[816,6],[1092,6],[1348,6],[1653,6]]},"662":{"position":[[536,6],[784,6],[837,6],[910,6],[994,6],[1184,6],[1617,7],[1811,6],[1877,6],[2007,8]]},"705":{"position":[[1160,6]]},"710":{"position":[[607,6],[747,6],[2315,6]]},"711":{"position":[[1,6],[251,6],[523,6],[696,7],[821,6],[964,6],[1715,7],[1825,6],[2095,6]]},"714":{"position":[[381,7]]},"749":{"position":[[23227,6],[23353,6],[23485,6]]},"772":{"position":[[1111,6],[1161,6],[1192,6],[1296,6],[1548,8],[1768,6]]},"793":{"position":[[291,6],[1393,6]]},"836":{"position":[[3,6],[164,6],[220,6],[274,6],[415,6],[536,7],[663,8],[717,6],[1068,6],[1147,6],[1179,6],[1357,6],[1652,6],[1809,6],[2214,6]]},"837":{"position":[[1085,6],[1239,6],[1362,6],[1388,6],[1775,8],[2153,7]]},"838":{"position":[[1315,6],[1360,6],[1405,6],[1678,6],[1840,7],[1934,7],[2024,8],[2147,8],[3091,6]]},"841":{"position":[[29,6]]},"1137":{"position":[[113,7]]},"1143":{"position":[[553,7]]},"1191":{"position":[[406,6]]},"1196":{"position":[[89,6]]},"1214":{"position":[[883,6],[916,6]]},"1235":{"position":[[290,6],[350,6],[401,6]]},"1247":{"position":[[4,7],[17,6]]},"1249":{"position":[[117,7]]},"1270":{"position":[[5,6],[122,6],[199,6],[276,6],[338,6],[509,6]]},"1271":{"position":[[31,6],[145,6],[216,7],[614,6],[718,6],[869,6],[1034,6],[1102,6],[1206,8],[1273,6],[1296,6],[1688,6]]},"1272":{"position":[[11,6],[73,6],[151,6],[278,6]]},"1274":{"position":[[128,8],[166,6],[193,8],[443,7],[521,6],[612,6]]},"1275":{"position":[[71,6],[252,8]]},"1276":{"position":[[35,6],[57,6],[87,6],[179,6],[518,8],[560,6],[591,7],[629,6],[711,6],[769,6],[795,6],[811,8]]},"1277":{"position":[[32,6],[92,6],[276,8],[326,8],[616,6],[690,6],[805,8],[821,6],[847,6]]},"1278":{"position":[[18,6],[383,8],[404,6],[422,8],[830,8],[874,8]]},"1279":{"position":[[13,6],[293,6],[442,8],[464,6],[633,6],[830,7],[908,6],[999,6]]},"1280":{"position":[[65,6],[145,6],[224,6],[361,8]]},"1281":{"position":[[175,7]]},"1282":{"position":[[71,6],[322,6],[348,6],[374,6],[442,6],[607,7]]},"1316":{"position":[[3592,6]]},"1320":{"position":[[214,6],[308,7]]},"1324":{"position":[[193,6],[230,6],[367,6]]}},"keywords":{}}],["sqlite"",{"_index":1486,"title":{},"content":{"244":{"position":[[336,12],[1355,12]]}},"keywords":{}}],["sqlite.factory(modul",{"_index":6346,"title":{},"content":{"1276":{"position":[[883,23]]}},"keywords":{}}],["sqlite/dist/wa",{"_index":6343,"title":{},"content":{"1276":{"position":[[754,14]]}},"keywords":{}}],["sqlite3",{"_index":3992,"title":{"1274":{"position":[[15,7]]}},"content":{"711":{"position":[[712,7],[916,7],[1108,7]]},"772":{"position":[[1564,7],[1577,10],[2326,7],[2339,10]]},"1272":{"position":[[438,7]]},"1274":{"position":[[270,7],[283,10]]},"1276":{"position":[[873,7]]},"1280":{"position":[[377,7]]}},"keywords":{}}],["sqlite3.database('/path/to/database/file.db",{"_index":4000,"title":{},"content":{"711":{"position":[[1153,46]]}},"keywords":{}}],["sqlite3in",{"_index":3998,"title":{},"content":{"711":{"position":[[1019,9]]}},"keywords":{}}],["sqlite_error[1",{"_index":6371,"title":{},"content":{"1282":{"position":[[553,17]]}},"keywords":{}}],["sqliteadapt",{"_index":128,"title":{},"content":{"8":{"position":[[960,13]]},"837":{"position":[[1841,13]]}},"keywords":{}}],["sqliteadapterfactori",{"_index":127,"title":{},"content":{"8":{"position":[[890,20]]},"837":{"position":[[1719,20]]}},"keywords":{}}],["sqliteadapterfactory(sqlit",{"_index":129,"title":{},"content":{"8":{"position":[[976,28]]}},"keywords":{}}],["sqliteadapterfactory(websqlit",{"_index":4783,"title":{},"content":{"837":{"position":[[1857,32]]}},"keywords":{}}],["sqlitebas",{"_index":3814,"title":{"1272":{"position":[[0,13]]}},"content":{"662":{"position":[[2199,13]]},"772":{"position":[[1705,13]]},"838":{"position":[[2446,13]]},"1271":{"position":[[829,12],[1340,12],[1447,13]]},"1272":{"position":[[195,12]]},"1274":{"position":[[634,13]]},"1275":{"position":[[400,13]]},"1276":{"position":[[1002,13]]},"1277":{"position":[[539,13],[895,13]]},"1278":{"position":[[548,13],[1000,13]]},"1279":{"position":[[1021,13]]},"1280":{"position":[[511,13]]},"1281":{"position":[[240,13]]},"1282":{"position":[[788,13],[1159,13]]}},"keywords":{}}],["sqlitebasics<any>",{"_index":6366,"title":{},"content":{"1281":{"position":[[254,24]]}},"keywords":{}}],["sqliteconnect",{"_index":3798,"title":{},"content":{"661":{"position":[[925,17]]},"662":{"position":[[1705,16]]},"1279":{"position":[[527,16]]}},"keywords":{}}],["sqliteconnection(capacitorsqlit",{"_index":3805,"title":{},"content":{"661":{"position":[[1105,34]]},"662":{"position":[[1824,34]]},"1279":{"position":[[646,34]]}},"keywords":{}}],["sqlitedbconnect",{"_index":3797,"title":{},"content":{"661":{"position":[[905,19],[1156,18]]}},"keywords":{}}],["sqliteesmfactori",{"_index":6342,"title":{},"content":{"1276":{"position":[[728,16],[847,19]]}},"keywords":{}}],["sqlitefast",{"_index":6022,"title":{},"content":{"1128":{"position":[[26,10]]}},"keywords":{}}],["sqlitemodul",{"_index":6345,"title":{},"content":{"1276":{"position":[[826,12]]}},"keywords":{}}],["sqlitesqlit",{"_index":3971,"title":{},"content":{"703":{"position":[[548,12]]}},"keywords":{}}],["sqlite’",{"_index":2093,"title":{},"content":{"362":{"position":[[396,8]]}},"keywords":{}}],["sqlqueri",{"_index":4006,"title":{},"content":{"711":{"position":[[1527,9]]}},"keywords":{}}],["sqlsql.j",{"_index":6467,"title":{},"content":{"1299":{"position":[[534,9]]}},"keywords":{}}],["sqlsqlite",{"_index":6480,"title":{},"content":{"1302":{"position":[[98,9]]}},"keywords":{}}],["src",{"_index":3839,"title":{},"content":{"670":{"position":[[466,3]]},"1280":{"position":[[159,3]]}},"keywords":{}}],["src/index.t",{"_index":3852,"title":{},"content":{"674":{"position":[[54,17]]}},"keywords":{}}],["sse",{"_index":3167,"title":{},"content":{"491":{"position":[[648,6],[1499,4],[1687,6]]},"612":{"position":[[20,5],[116,4],[670,3],[1548,3],[1708,3]]},"614":{"position":[[941,3]]},"620":{"position":[[61,6]]},"623":{"position":[[783,4]]},"624":{"position":[[141,5],[1582,4]]},"875":{"position":[[7060,5]]}},"keywords":{}}],["ssl",{"_index":3377,"title":{},"content":{"556":{"position":[[1813,3],[1835,3],[1897,3]]}},"keywords":{}}],["sspl",{"_index":5976,"title":{},"content":{"1112":{"position":[[281,6]]}},"keywords":{}}],["stabl",{"_index":2044,"title":{},"content":{"356":{"position":[[755,6]]},"412":{"position":[[8538,6]]},"414":{"position":[[139,6]]}},"keywords":{}}],["stack",{"_index":586,"title":{},"content":{"38":{"position":[[140,7],[398,6]]},"76":{"position":[[118,7]]},"299":{"position":[[1392,5]]},"381":{"position":[[587,6]]},"413":{"position":[[126,6]]},"481":{"position":[[436,6]]},"644":{"position":[[449,6]]},"779":{"position":[[49,5]]}},"keywords":{}}],["stage",{"_index":2573,"title":{},"content":{"408":{"position":[[5279,6]]}},"keywords":{}}],["stale",{"_index":2705,"title":{},"content":{"412":{"position":[[6001,5]]},"476":{"position":[[62,5]]},"483":{"position":[[435,5]]},"1003":{"position":[[134,5]]}},"keywords":{}}],["stand",{"_index":1032,"title":{},"content":{"102":{"position":[[6,6]]},"118":{"position":[[6,6]]},"126":{"position":[[81,6]]},"161":{"position":[[182,6]]},"179":{"position":[[134,6]]},"212":{"position":[[115,6]]},"300":{"position":[[26,6]]},"317":{"position":[[234,6]]},"470":{"position":[[52,5]]},"520":{"position":[[65,6]]},"901":{"position":[[8,6]]},"1304":{"position":[[1273,5]]}},"keywords":{}}],["standalon",{"_index":3651,"title":{},"content":{"617":{"position":[[2348,10]]},"825":{"position":[[725,11]]}},"keywords":{}}],["standard",{"_index":2118,"title":{},"content":{"367":{"position":[[582,15]]},"397":{"position":[[250,15]]},"408":{"position":[[4922,8]]},"455":{"position":[[354,12]]},"510":{"position":[[593,9]]},"513":{"position":[[156,9]]},"612":{"position":[[36,8]]},"614":{"position":[[72,8]]},"841":{"position":[[301,8]]},"901":{"position":[[62,8]]},"912":{"position":[[721,10]]},"1215":{"position":[[435,8]]},"1286":{"position":[[147,8]]}},"keywords":{}}],["standard.websql",{"_index":2974,"title":{},"content":{"455":{"position":[[490,15]]}},"keywords":{}}],["standout",{"_index":1078,"title":{},"content":{"122":{"position":[[12,8]]},"156":{"position":[[12,8]]},"275":{"position":[[15,8]]},"381":{"position":[[3,8]]},"515":{"position":[[15,8]]}},"keywords":{}}],["star",{"_index":885,"title":{},"content":{"61":{"position":[[71,4],[232,4]]},"405":{"position":[[182,4]]},"471":{"position":[[167,4]]},"498":{"position":[[368,4],[418,8]]},"548":{"position":[[123,4]]},"557":{"position":[[254,4]]},"608":{"position":[[123,4]]},"628":{"position":[[269,4]]},"824":{"position":[[404,4]]}},"keywords":{}}],["stare",{"_index":3104,"title":{},"content":{"474":{"position":[[207,5]]}},"keywords":{}}],["starlink",{"_index":4593,"title":{},"content":{"780":{"position":[[274,8]]}},"keywords":{}}],["start",{"_index":886,"title":{"93":{"position":[[27,5]]},"119":{"position":[[8,7]]},"154":{"position":[[8,7]]},"180":{"position":[[8,7]]},"211":{"position":[[19,8]]},"217":{"position":[[30,5]]},"253":{"position":[[16,5]]},"256":{"position":[[8,7]]},"261":{"position":[[9,5]]},"272":{"position":[[8,7]]},"314":{"position":[[6,6]]},"324":{"position":[[8,7]]},"502":{"position":[[8,7]]},"577":{"position":[[8,7]]},"892":{"position":[[0,8]]},"1097":{"position":[[0,8]]}},"content":{"61":{"position":[[140,7]]},"65":{"position":[[1293,5],[1428,5]]},"84":{"position":[[269,7]]},"93":{"position":[[61,5],[262,6]]},"114":{"position":[[282,7]]},"128":{"position":[[262,5]]},"149":{"position":[[282,7]]},"173":{"position":[[1637,5]]},"175":{"position":[[275,7]]},"188":{"position":[[502,6],[1483,5],[2570,5]]},"206":{"position":[[172,5]]},"209":{"position":[[595,5]]},"217":{"position":[[64,5]]},"241":{"position":[[33,7],[202,5]]},"255":{"position":[[935,5]]},"262":{"position":[[63,6]]},"285":{"position":[[9,7],[120,5]]},"318":{"position":[[177,5]]},"347":{"position":[[282,7]]},"362":{"position":[[1353,7]]},"373":{"position":[[33,7],[202,5]]},"388":{"position":[[14,8]]},"392":{"position":[[3292,5]]},"403":{"position":[[291,8]]},"408":{"position":[[3427,6]]},"409":{"position":[[310,5]]},"412":{"position":[[15375,5]]},"421":{"position":[[866,5]]},"454":{"position":[[491,7]]},"463":{"position":[[174,6],[468,5]]},"468":{"position":[[510,5],[604,7]]},"498":{"position":[[10,5],[677,7]]},"511":{"position":[[282,7]]},"531":{"position":[[282,7]]},"591":{"position":[[282,7]]},"647":{"position":[[128,5]]},"653":{"position":[[884,7],[1272,5],[1424,5]]},"663":{"position":[[37,5]]},"666":{"position":[[16,5]]},"667":{"position":[[12,5]]},"700":{"position":[[203,6]]},"703":{"position":[[1685,8]]},"705":{"position":[[3,7]]},"708":{"position":[[266,5]]},"710":{"position":[[985,5]]},"711":{"position":[[514,5]]},"715":{"position":[[245,5],[333,5]]},"716":{"position":[[386,5]]},"723":{"position":[[1906,7]]},"737":{"position":[[335,5]]},"739":{"position":[[126,6]]},"749":{"position":[[4911,5],[8265,5],[11599,5],[17567,5]]},"752":{"position":[[255,5],[731,5],[900,7]]},"757":{"position":[[208,7]]},"776":{"position":[[71,5]]},"793":{"position":[[27,7]]},"796":{"position":[[744,5]]},"816":{"position":[[20,6]]},"824":{"position":[[46,5]]},"829":{"position":[[842,8]]},"840":{"position":[[309,5],[595,7]]},"842":{"position":[[171,5]]},"846":{"position":[[1,5]]},"854":{"position":[[476,5],[499,5]]},"861":{"position":[[817,5],[895,5]]},"862":{"position":[[1086,5]]},"863":{"position":[[98,5]]},"865":{"position":[[142,5]]},"866":{"position":[[55,5],[81,5],[299,8]]},"872":{"position":[[509,5],[2155,5],[2890,5],[3544,5],[4330,5]]},"875":{"position":[[3,5],[161,5],[249,5],[609,5],[682,5]]},"878":{"position":[[86,5]]},"886":{"position":[[3773,5]]},"892":{"position":[[211,5]]},"893":{"position":[[27,7],[175,5]]},"898":{"position":[[3121,5],[3194,5]]},"904":{"position":[[1406,5],[1436,5],[1664,5],[1833,5]]},"988":{"position":[[9,5],[1379,5],[1527,5]]},"995":{"position":[[369,6],[1026,6],[1071,7]]},"1002":{"position":[[39,5],[424,5],[1077,5]]},"1004":{"position":[[124,5]]},"1007":{"position":[[426,5],[900,5]]},"1009":{"position":[[514,5]]},"1028":{"position":[[128,5]]},"1030":{"position":[[189,7]]},"1076":{"position":[[32,8]]},"1097":{"position":[[298,5],[858,5]]},"1101":{"position":[[564,5]]},"1121":{"position":[[218,5]]},"1123":{"position":[[202,5]]},"1147":{"position":[[444,7]]},"1157":{"position":[[46,8]]},"1158":{"position":[[613,7]]},"1195":{"position":[[150,5]]},"1198":{"position":[[8,7]]},"1214":{"position":[[906,6]]},"1222":{"position":[[784,5]]},"1231":{"position":[[207,8],[297,5],[977,5]]},"1242":{"position":[[179,5]]},"1305":{"position":[[616,6]]},"1315":{"position":[[1531,7]]}},"keywords":{}}],["start/stop",{"_index":4899,"title":{},"content":{"861":{"position":[[747,11]]},"872":{"position":[[2865,10]]},"1007":{"position":[[2013,10]]}},"keywords":{}}],["startchunkreplication(chunkid",{"_index":5566,"title":{},"content":{"1007":{"position":[[1229,30]]}},"keywords":{}}],["starter",{"_index":2663,"title":{},"content":{"412":{"position":[[1417,8]]}},"keywords":{}}],["startrxserv",{"_index":5912,"title":{},"content":{"1090":{"position":[[1021,15]]},"1103":{"position":[[201,15]]}},"keywords":{}}],["startrxstorageremotewebsocketserv",{"_index":6251,"title":{},"content":{"1219":{"position":[[338,35],[516,37],[679,37]]},"1220":{"position":[[195,37]]}},"keywords":{}}],["startsignalingserversimplep",{"_index":5264,"title":{},"content":{"906":{"position":[[895,30],[994,32]]}},"keywords":{}}],["startup",{"_index":1205,"title":{},"content":{"173":{"position":[[1801,7]]},"217":{"position":[[179,8]]},"469":{"position":[[776,7]]},"772":{"position":[[2029,8]]},"964":{"position":[[541,7]]},"1192":{"position":[[168,7],[222,8],[317,7]]}},"keywords":{}}],["startwebsocketserv",{"_index":5175,"title":{},"content":{"892":{"position":[[51,20],[262,22]]}},"keywords":{}}],["state",{"_index":18,"title":{"89":{"position":[[46,6]]},"96":{"position":[[27,5]]},"219":{"position":[[19,5]]},"223":{"position":[[35,6]]},"478":{"position":[[50,5]]},"857":{"position":[[66,6]]},"1113":{"position":[[30,5]]},"1116":{"position":[[4,5]]}},"content":{"1":{"position":[[280,6]]},"18":{"position":[[269,5]]},"32":{"position":[[246,5]]},"38":{"position":[[610,6]]},"89":{"position":[[56,5]]},"96":{"position":[[40,5],[93,5],[248,5]]},"117":{"position":[[217,6]]},"173":{"position":[[335,5],[556,5],[2899,6],[3003,5],[3054,5],[3144,5],[3178,5]]},"219":{"position":[[58,5],[180,5]]},"223":{"position":[[22,5],[211,6]]},"233":{"position":[[301,6]]},"237":{"position":[[75,5]]},"251":{"position":[[100,5]]},"346":{"position":[[638,6]]},"360":{"position":[[114,6]]},"407":{"position":[[328,6]]},"410":{"position":[[1906,5]]},"411":{"position":[[1853,5],[1934,6],[1972,5],[2110,5],[2224,5],[2498,5],[2524,5],[2678,5],[4297,6],[4638,5],[4772,6]]},"412":{"position":[[5216,5],[5241,6]]},"415":{"position":[[369,6]]},"424":{"position":[[414,5]]},"458":{"position":[[279,5]]},"478":{"position":[[73,5],[282,5]]},"489":{"position":[[79,5]]},"490":{"position":[[59,5]]},"494":{"position":[[46,5]]},"495":{"position":[[434,6]]},"518":{"position":[[282,5]]},"520":{"position":[[340,5]]},"571":{"position":[[251,6]]},"574":{"position":[[93,5]]},"576":{"position":[[190,5]]},"585":{"position":[[166,5]]},"626":{"position":[[1180,5]]},"634":{"position":[[372,6]]},"662":{"position":[[137,5]]},"666":{"position":[[106,6]]},"681":{"position":[[76,6],[529,6]]},"687":{"position":[[208,7]]},"688":{"position":[[779,6],[1060,5]]},"696":{"position":[[389,6]]},"697":{"position":[[487,5]]},"698":{"position":[[1360,6],[2404,5],[2482,6],[2700,5]]},"699":{"position":[[107,5]]},"700":{"position":[[229,5],[346,6],[611,5],[1111,5]]},"701":{"position":[[92,5]]},"709":{"position":[[554,5]]},"710":{"position":[[1127,5]]},"719":{"position":[[273,5]]},"723":{"position":[[1263,5]]},"731":{"position":[[36,5]]},"749":{"position":[[12585,5],[12650,5]]},"752":{"position":[[308,5],[958,5],[1089,6],[1342,5]]},"753":{"position":[[77,6],[192,5],[401,5]]},"756":{"position":[[102,5]]},"761":{"position":[[165,6]]},"774":{"position":[[1073,5]]},"775":{"position":[[167,5]]},"778":{"position":[[564,5]]},"779":{"position":[[198,5],[298,5],[418,5]]},"780":{"position":[[575,5]]},"783":{"position":[[643,5]]},"784":{"position":[[456,5],[681,5]]},"785":{"position":[[200,5],[264,5],[466,5]]},"826":{"position":[[660,5],[1007,5]]},"828":{"position":[[154,5],[276,5]]},"829":{"position":[[3222,6]]},"837":{"position":[[380,6]]},"838":{"position":[[138,6],[166,5]]},"846":{"position":[[1582,6]]},"855":{"position":[[104,5],[246,6]]},"856":{"position":[[78,6]]},"861":{"position":[[1711,5],[2170,5]]},"862":{"position":[[1494,6],[1582,6]]},"867":{"position":[[104,5],[241,6]]},"872":{"position":[[2687,5]]},"875":{"position":[[4032,5],[4111,5],[5821,5]]},"881":{"position":[[180,5]]},"885":{"position":[[384,5],[418,6]]},"898":{"position":[[4500,6]]},"904":{"position":[[3306,6]]},"973":{"position":[[42,5]]},"977":{"position":[[284,5]]},"982":{"position":[[173,5],[234,5],[266,5],[302,5],[440,5],[467,5],[505,5],[543,5],[579,5]]},"983":{"position":[[15,6],[639,6]]},"984":{"position":[[135,6]]},"986":{"position":[[443,5]]},"987":{"position":[[201,5],[231,5],[312,5],[388,5],[480,5],[615,5],[698,5],[736,5],[799,5],[824,6]]},"988":{"position":[[744,5],[779,6],[2051,5],[3475,6]]},"995":{"position":[[167,6]]},"999":{"position":[[69,6]]},"1004":{"position":[[745,5]]},"1007":{"position":[[297,6]]},"1008":{"position":[[44,5],[92,5]]},"1009":{"position":[[805,7],[1016,5]]},"1020":{"position":[[139,5],[228,6]]},"1044":{"position":[[219,5]]},"1045":{"position":[[26,5]]},"1046":{"position":[[70,5]]},"1049":{"position":[[156,7]]},"1058":{"position":[[159,5]]},"1114":{"position":[[59,5],[266,5],[801,5],[882,6]]},"1115":{"position":[[21,5],[613,5]]},"1116":{"position":[[5,5],[322,5]]},"1117":{"position":[[25,5],[62,5]]},"1119":{"position":[[35,5],[178,5],[221,5]]},"1120":{"position":[[78,5],[193,5],[738,5]]},"1121":{"position":[[13,5],[664,5]]},"1123":{"position":[[409,5]]},"1124":{"position":[[1511,6]]},"1174":{"position":[[187,5]]},"1175":{"position":[[115,5],[216,5],[295,5],[587,5]]},"1180":{"position":[[406,6]]},"1184":{"position":[[230,6]]},"1185":{"position":[[121,5]]},"1192":{"position":[[143,6]]},"1219":{"position":[[242,6]]},"1222":{"position":[[887,6]]},"1271":{"position":[[470,5]]},"1299":{"position":[[307,5]]},"1300":{"position":[[262,5],[476,6],[719,5],[894,6]]},"1301":{"position":[[175,5]]},"1304":{"position":[[213,5]]},"1305":{"position":[[56,5]]},"1307":{"position":[[90,6],[914,6]]},"1308":{"position":[[480,5],[546,5],[588,5]]},"1309":{"position":[[88,6],[1012,5],[1037,5]]},"1314":{"position":[[244,6]]},"1316":{"position":[[269,5],[1240,5],[1459,6]]}},"keywords":{}}],["state.if",{"_index":5439,"title":{},"content":{"982":{"position":[[615,8]]}},"keywords":{}}],["state.overhead",{"_index":3903,"title":{},"content":{"689":{"position":[[445,14]]}},"keywords":{}}],["statement",{"_index":328,"title":{},"content":{"19":{"position":[[376,10]]},"333":{"position":[[264,11]]},"841":{"position":[[314,10]]},"1065":{"position":[[926,9]]},"1176":{"position":[[152,9]]}},"keywords":{}}],["states.revis",{"_index":3191,"title":{},"content":{"496":{"position":[[185,15]]}},"keywords":{}}],["static",{"_index":1040,"title":{"788":{"position":[[0,8]]},"789":{"position":[[4,7]]}},"content":{"105":{"position":[[208,6]]},"232":{"position":[[156,6]]},"281":{"position":[[67,6]]},"329":{"position":[[12,6]]},"421":{"position":[[49,6]]},"687":{"position":[[88,6]]},"749":{"position":[[8146,6],[8238,6],[8352,6],[8459,7]]},"788":{"position":[[1,7]]},"789":{"position":[[8,6],[33,7],[222,8],[469,8]]},"806":{"position":[[70,7]]},"829":{"position":[[2874,6]]},"934":{"position":[[311,8]]},"937":{"position":[[21,8]]},"1210":{"position":[[515,10]]},"1311":{"position":[[1051,8],[1684,6]]}},"keywords":{}}],["statist",{"_index":2828,"title":{},"content":{"420":{"position":[[28,11]]}},"keywords":{}}],["statu",{"_index":917,"title":{},"content":{"65":{"position":[[734,7]]},"632":{"position":[[2820,7]]},"752":{"position":[[1114,7]]},"796":{"position":[[1191,6],[1325,7],[1336,7],[1428,6]]}},"keywords":{}}],["stay",{"_index":410,"title":{},"content":{"24":{"position":[[774,4]]},"61":{"position":[[104,4]]},"130":{"position":[[298,5]]},"201":{"position":[[232,5]]},"263":{"position":[[316,4]]},"286":{"position":[[329,4]]},"328":{"position":[[179,4]]},"410":{"position":[[1507,4]]},"412":{"position":[[8198,4]]},"697":{"position":[[96,4]]},"737":{"position":[[201,5]]},"897":{"position":[[335,5]]},"902":{"position":[[385,5]]},"1150":{"position":[[591,5]]},"1192":{"position":[[648,4],[760,4]]},"1198":{"position":[[2183,5]]}},"keywords":{}}],["steadfast",{"_index":3289,"title":{},"content":{"530":{"position":[[623,9]]}},"keywords":{}}],["steadi",{"_index":3631,"title":{},"content":{"617":{"position":[[92,6]]}},"keywords":{}}],["steadili",{"_index":2774,"title":{},"content":{"412":{"position":[[15112,8]]}},"keywords":{}}],["stefe",{"_index":5680,"title":{},"content":{"1040":{"position":[[418,6]]}},"keywords":{}}],["stem",{"_index":1660,"title":{},"content":{"283":{"position":[[30,5]]}},"keywords":{}}],["step",{"_index":105,"title":{"211":{"position":[[6,5]]},"824":{"position":[[5,6]]}},"content":{"8":{"position":[[124,5]]},"84":{"position":[[354,4],[362,4]]},"114":{"position":[[367,4],[375,4]]},"149":{"position":[[367,4],[375,4]]},"175":{"position":[[358,4],[366,4]]},"241":{"position":[[140,4],[148,4]]},"271":{"position":[[6,5]]},"347":{"position":[[365,4],[373,4]]},"362":{"position":[[1436,4],[1444,4]]},"373":{"position":[[140,4],[148,4]]},"388":{"position":[[42,6]]},"391":{"position":[[15,4]]},"393":{"position":[[66,4]]},"402":{"position":[[633,4]]},"404":{"position":[[698,4]]},"412":{"position":[[3580,4]]},"421":{"position":[[1143,6]]},"466":{"position":[[9,5]]},"498":{"position":[[78,6]]},"501":{"position":[[63,5]]},"511":{"position":[[367,4],[375,4]]},"531":{"position":[[367,4],[375,4]]},"567":{"position":[[360,4],[368,4],[1055,6]]},"591":{"position":[[365,4],[373,4]]},"724":{"position":[[125,4],[329,4],[1505,4]]},"872":{"position":[[203,5],[591,4]]},"912":{"position":[[99,4]]},"1085":{"position":[[3293,6]]},"1087":{"position":[[178,4]]},"1088":{"position":[[57,4]]},"1313":{"position":[[50,5]]}},"keywords":{}}],["steve",{"_index":5682,"title":{},"content":{"1040":{"position":[[471,10],[500,6]]},"1043":{"position":[[90,8],[203,7]]}},"keywords":{}}],["still",{"_index":452,"title":{"428":{"position":[[11,5]]}},"content":{"28":{"position":[[172,5]]},"38":{"position":[[903,5]]},"305":{"position":[[492,5]]},"333":{"position":[[125,5]]},"353":{"position":[[451,5]]},"354":{"position":[[1224,5]]},"357":{"position":[[409,5]]},"360":{"position":[[822,5]]},"362":{"position":[[316,5]]},"398":{"position":[[2991,5]]},"404":{"position":[[571,5]]},"408":{"position":[[3176,5],[5257,5]]},"410":{"position":[[1283,5],[1411,5]]},"411":{"position":[[4920,5]]},"412":{"position":[[1671,5],[8361,5],[10809,5]]},"418":{"position":[[741,5]]},"419":{"position":[[444,5]]},"420":{"position":[[553,5]]},"421":{"position":[[570,5]]},"450":{"position":[[471,5],[704,5]]},"454":{"position":[[442,5]]},"469":{"position":[[795,5]]},"470":{"position":[[58,6]]},"563":{"position":[[1020,5]]},"610":{"position":[[751,5]]},"611":{"position":[[1117,5]]},"621":{"position":[[594,5]]},"648":{"position":[[291,5],[354,5]]},"686":{"position":[[672,5]]},"705":{"position":[[50,5]]},"817":{"position":[[125,5],[239,5]]},"834":{"position":[[137,5]]},"875":{"position":[[2403,5]]},"879":{"position":[[176,5]]},"898":{"position":[[646,5]]},"902":{"position":[[707,5]]},"948":{"position":[[224,5]]},"955":{"position":[[272,5]]},"958":{"position":[[55,5]]},"976":{"position":[[296,5]]},"988":{"position":[[1866,5]]},"1006":{"position":[[207,5]]},"1009":{"position":[[657,5]]},"1030":{"position":[[234,5]]},"1072":{"position":[[307,5],[776,5]]},"1120":{"position":[[383,5]]},"1139":{"position":[[34,5]]},"1145":{"position":[[34,5]]},"1180":{"position":[[343,5]]},"1213":{"position":[[761,5]]},"1231":{"position":[[291,5]]},"1246":{"position":[[1543,5]]},"1271":{"position":[[1704,5]]},"1295":{"position":[[524,5]]},"1304":{"position":[[1279,5]]},"1314":{"position":[[527,5]]}},"keywords":{}}],["stock",{"_index":3677,"title":{},"content":{"624":{"position":[[569,5]]},"626":{"position":[[275,5]]},"699":{"position":[[656,5]]},"1316":{"position":[[845,5]]}},"keywords":{}}],["stolen",{"_index":1880,"title":{},"content":{"310":{"position":[[274,6]]}},"keywords":{}}],["stop",{"_index":2783,"title":{},"content":{"414":{"position":[[284,4]]},"655":{"position":[[220,4]]},"700":{"position":[[678,8]]},"702":{"position":[[338,4]]},"767":{"position":[[617,4]]},"768":{"position":[[619,4]]},"769":{"position":[[576,4]]},"861":{"position":[[808,4],[868,4]]},"881":{"position":[[253,4]]},"892":{"position":[[342,4]]},"893":{"position":[[443,4]]},"904":{"position":[[3539,4],[3586,4]]},"955":{"position":[[93,4]]},"976":{"position":[[69,4]]},"1000":{"position":[[36,8]]},"1007":{"position":[[839,4]]},"1009":{"position":[[485,4]]},"1027":{"position":[[28,5]]},"1058":{"position":[[542,4]]},"1296":{"position":[[182,4]]},"1299":{"position":[[81,4]]}},"keywords":{}}],["stopchunkreplication(chunkid",{"_index":5573,"title":{},"content":{"1007":{"position":[[1804,29]]}},"keywords":{}}],["stopchunkreplication(cid",{"_index":5580,"title":{},"content":{"1007":{"position":[[2246,26]]}},"keywords":{}}],["storag",{"_index":37,"title":{"60":{"position":[[42,9]]},"62":{"position":[[8,7]]},"66":{"position":[[8,7]]},"71":{"position":[[34,8]]},"72":{"position":[[9,7]]},"112":{"position":[[9,7]]},"213":{"position":[[50,7]]},"239":{"position":[[9,7]]},"268":{"position":[[6,7]]},"290":{"position":[[40,8]]},"297":{"position":[[14,7]]},"298":{"position":[[20,7]]},"303":{"position":[[21,7]]},"307":{"position":[[19,7]]},"308":{"position":[[19,9]]},"309":{"position":[[23,8]]},"314":{"position":[[49,8]]},"317":{"position":[[21,7]]},"365":{"position":[[0,7]]},"366":{"position":[[12,7]]},"417":{"position":[[19,7]]},"425":{"position":[[16,7]]},"427":{"position":[[39,8]]},"441":{"position":[[31,7]]},"449":{"position":[[14,7]]},"461":{"position":[[0,7]]},"547":{"position":[[42,9]]},"558":{"position":[[8,7]]},"561":{"position":[[28,8]]},"564":{"position":[[23,7]]},"607":{"position":[[42,9]]},"640":{"position":[[15,8]]},"643":{"position":[[26,9]]},"697":{"position":[[8,7]]},"706":{"position":[[40,7]]},"713":{"position":[[19,7]]},"758":{"position":[[0,7]]},"774":{"position":[[36,8]]},"962":{"position":[[0,8]]},"1090":{"position":[[17,7]]},"1126":{"position":[[17,8]]},"1140":{"position":[[0,7]]},"1143":{"position":[[22,8]]},"1144":{"position":[[25,7]]},"1165":{"position":[[49,8]]},"1190":{"position":[[17,7]]},"1192":{"position":[[30,9]]},"1195":{"position":[[14,8]]},"1196":{"position":[[18,8]]},"1246":{"position":[[0,7]]},"1247":{"position":[[18,9]]},"1270":{"position":[[34,9]]}},"content":{"1":{"position":[[575,8]]},"2":{"position":[[378,8]]},"3":{"position":[[258,8]]},"4":{"position":[[436,8]]},"5":{"position":[[346,8]]},"6":{"position":[[245,8],[541,8],[739,8]]},"7":{"position":[[378,8],[574,8]]},"8":{"position":[[28,8],[1147,8]]},"9":{"position":[[292,8]]},"10":{"position":[[330,8]]},"11":{"position":[[856,8]]},"16":{"position":[[290,7]]},"18":{"position":[[199,7]]},"22":{"position":[[331,7]]},"24":{"position":[[155,7],[565,7]]},"28":{"position":[[201,7],[263,7],[761,7]]},"33":{"position":[[569,7]]},"35":{"position":[[57,7],[136,7],[560,7]]},"39":{"position":[[563,7],[635,7]]},"40":{"position":[[377,7]]},"42":{"position":[[178,7]]},"43":{"position":[[290,7]]},"45":{"position":[[57,7],[163,7]]},"46":{"position":[[136,7]]},"47":{"position":[[1284,7]]},"51":{"position":[[24,7],[102,8],[169,8],[764,8]]},"55":{"position":[[906,8]]},"57":{"position":[[35,8],[413,7]]},"58":{"position":[[230,7],[335,7]]},"59":{"position":[[97,7],[169,8]]},"60":{"position":[[61,7]]},"61":{"position":[[304,7]]},"63":{"position":[[224,7]]},"64":{"position":[[98,8]]},"65":{"position":[[482,7],[1347,8],[1620,7]]},"66":{"position":[[15,8],[195,7],[385,7],[563,7]]},"71":{"position":[[47,7]]},"72":{"position":[[24,7]]},"81":{"position":[[16,7],[75,7]]},"83":{"position":[[79,8],[468,8]]},"84":{"position":[[70,8]]},"95":{"position":[[38,8]]},"111":{"position":[[13,7],[107,7]]},"112":{"position":[[24,7]]},"131":{"position":[[24,7],[82,7],[249,7],[615,7],[750,7],[801,7],[924,7]]},"139":{"position":[[261,7]]},"141":{"position":[[15,7],[183,7]]},"162":{"position":[[23,7],[108,7],[339,7],[438,7],[593,7]]},"167":{"position":[[222,7]]},"169":{"position":[[20,7],[172,7],[307,7]]},"170":{"position":[[524,7]]},"173":{"position":[[80,7],[927,8]]},"174":{"position":[[2464,7],[2561,7],[2634,7]]},"178":{"position":[[92,7]]},"188":{"position":[[325,7],[1082,8]]},"189":{"position":[[22,7],[185,7],[370,7],[418,7],[641,8],[789,7]]},"197":{"position":[[13,7],[182,7]]},"207":{"position":[[237,7]]},"209":{"position":[[278,8]]},"211":{"position":[[250,8]]},"212":{"position":[[679,8]]},"218":{"position":[[38,8]]},"229":{"position":[[148,8]]},"236":{"position":[[78,7],[154,7],[344,8]]},"239":{"position":[[26,7]]},"241":{"position":[[448,7],[721,7]]},"243":{"position":[[559,7],[626,7],[727,7],[826,7],[923,7]]},"244":{"position":[[773,7]]},"249":{"position":[[385,7]]},"254":{"position":[[227,7],[496,7]]},"255":{"position":[[622,8]]},"258":{"position":[[183,8]]},"265":{"position":[[109,7]]},"266":{"position":[[32,7],[76,9],[460,7],[702,8],[851,7],[959,7]]},"267":{"position":[[1320,8]]},"279":{"position":[[82,8]]},"283":{"position":[[209,7]]},"284":{"position":[[223,7]]},"287":{"position":[[36,7],[143,7],[492,8],[560,7],[960,8],[1204,7]]},"290":{"position":[[131,7]]},"294":{"position":[[177,7]]},"295":{"position":[[137,7]]},"298":{"position":[[449,8],[913,7]]},"299":{"position":[[1098,7],[1679,7]]},"300":{"position":[[51,7],[83,7],[162,7],[539,8],[837,7]]},"301":{"position":[[60,7],[487,7],[551,7],[650,7]]},"303":{"position":[[49,7]]},"304":{"position":[[243,7]]},"305":{"position":[[427,7]]},"306":{"position":[[335,7]]},"310":{"position":[[345,7]]},"313":{"position":[[150,7]]},"314":{"position":[[108,8],[192,7],[513,8],[1031,7]]},"315":{"position":[[481,8],[580,8]]},"316":{"position":[[17,7]]},"317":{"position":[[14,7]]},"318":{"position":[[11,7],[281,7],[464,7]]},"321":{"position":[[357,7]]},"334":{"position":[[370,8]]},"336":{"position":[[24,7],[529,7]]},"357":{"position":[[661,8]]},"358":{"position":[[123,8]]},"360":{"position":[[12,7]]},"361":{"position":[[292,7]]},"365":{"position":[[75,7],[153,8],[215,8],[408,8],[536,8],[861,8],[931,8],[993,7],[1034,8]]},"366":{"position":[[13,7],[130,7],[176,7]]},"368":{"position":[[23,7],[83,7],[122,7]]},"369":{"position":[[1359,7],[1376,7],[1548,7]]},"372":{"position":[[58,7],[217,8]]},"373":{"position":[[460,8],[749,7]]},"377":{"position":[[321,7]]},"383":{"position":[[349,7]]},"385":{"position":[[64,7]]},"388":{"position":[[510,7]]},"392":{"position":[[90,7],[382,8],[1228,7]]},"395":{"position":[[122,7]]},"398":{"position":[[2977,7]]},"402":{"position":[[416,7],[1255,8],[1575,7],[2681,8],[2837,9]]},"408":{"position":[[181,7],[266,7],[309,7],[456,7],[1218,7],[1366,7],[1491,7],[3814,7],[4146,7],[4690,7]]},"410":{"position":[[42,7]]},"411":{"position":[[4177,7]]},"412":{"position":[[1116,8],[7297,7],[7365,8],[7647,7],[8071,7],[8514,8],[9093,9],[9967,7]]},"417":{"position":[[169,7]]},"420":{"position":[[347,8]]},"424":{"position":[[478,8]]},"426":{"position":[[103,7]]},"427":{"position":[[727,7],[1496,7]]},"429":{"position":[[126,7],[408,7],[636,7]]},"430":{"position":[[802,7]]},"432":{"position":[[41,7],[303,7],[616,7],[823,7]]},"434":{"position":[[52,8],[379,7]]},"435":{"position":[[69,8]]},"436":{"position":[[116,7]]},"438":{"position":[[367,7]]},"439":{"position":[[283,7],[367,7],[550,7],[578,7],[647,7]]},"441":{"position":[[101,8],[267,7],[585,7]]},"444":{"position":[[75,7]]},"451":{"position":[[407,7]]},"453":{"position":[[798,7]]},"454":{"position":[[812,7]]},"455":{"position":[[100,8]]},"456":{"position":[[159,8]]},"458":{"position":[[474,7],[656,7],[754,7],[1174,8]]},"459":{"position":[[347,7]]},"460":{"position":[[399,7]]},"461":{"position":[[625,7],[998,7],[1248,7],[1426,7],[1505,7]]},"462":{"position":[[46,7],[790,8]]},"469":{"position":[[891,7],[1336,7]]},"470":{"position":[[217,7],[555,7]]},"480":{"position":[[408,8]]},"482":{"position":[[424,7],[521,8],[657,8]]},"483":{"position":[[1046,7]]},"489":{"position":[[172,7],[228,7]]},"491":{"position":[[13,7]]},"495":{"position":[[731,7],[832,8],[892,7]]},"502":{"position":[[343,7]]},"504":{"position":[[481,7]]},"508":{"position":[[62,7]]},"520":{"position":[[211,8],[245,8]]},"522":{"position":[[465,8]]},"524":{"position":[[22,7],[114,7],[319,7],[359,7],[446,8]]},"528":{"position":[[45,7]]},"533":{"position":[[205,7],[301,7]]},"535":{"position":[[1265,8]]},"538":{"position":[[24,7],[111,8],[234,7],[494,8]]},"542":{"position":[[567,8]]},"544":{"position":[[66,8],[388,7]]},"545":{"position":[[235,7]]},"546":{"position":[[69,7],[349,7]]},"547":{"position":[[61,7]]},"551":{"position":[[213,7],[350,8]]},"554":{"position":[[336,7],[424,7],[465,8],[644,7],[719,7],[865,7],[969,8],[1100,8]]},"556":{"position":[[83,7],[154,7]]},"560":{"position":[[147,7]]},"561":{"position":[[143,8]]},"562":{"position":[[202,8]]},"563":{"position":[[522,8]]},"564":{"position":[[27,7],[489,8],[630,8],[1153,8]]},"566":{"position":[[106,7],[794,8]]},"567":{"position":[[47,7],[239,7],[912,7],[1090,7]]},"574":{"position":[[460,7]]},"576":{"position":[[66,7]]},"579":{"position":[[141,7],[379,8]]},"581":{"position":[[24,7],[308,7],[621,7]]},"584":{"position":[[86,8]]},"588":{"position":[[83,7]]},"593":{"position":[[205,7],[301,7]]},"595":{"position":[[1318,8]]},"598":{"position":[[24,7],[111,8],[235,7],[501,8]]},"604":{"position":[[66,8],[322,7]]},"605":{"position":[[235,7]]},"606":{"position":[[69,7],[339,7]]},"607":{"position":[[61,7]]},"632":{"position":[[1263,7],[1330,8]]},"638":{"position":[[373,8],[467,8]]},"639":{"position":[[178,7]]},"640":{"position":[[8,7],[445,7]]},"641":{"position":[[99,7],[155,8],[352,7]]},"643":{"position":[[103,8]]},"653":{"position":[[290,8]]},"660":{"position":[[159,8],[418,8]]},"661":{"position":[[323,7],[363,7],[597,7]]},"662":{"position":[[1884,8],[2045,8],[2164,8]]},"666":{"position":[[359,7],[454,9]]},"680":{"position":[[711,8]]},"693":{"position":[[538,7],[597,7],[925,9],[935,8],[1199,8],[1245,9]]},"696":{"position":[[813,8]]},"697":{"position":[[58,7]]},"698":{"position":[[524,7]]},"703":{"position":[[387,7],[406,7]]},"704":{"position":[[456,7]]},"709":{"position":[[106,7],[906,7]]},"710":{"position":[[431,7],[1733,8]]},"714":{"position":[[1102,7]]},"717":{"position":[[735,7],[833,8],[912,8],[1194,8]]},"718":{"position":[[308,7],[416,8],[697,8]]},"719":{"position":[[224,7]]},"721":{"position":[[453,7]]},"723":{"position":[[1938,7]]},"734":{"position":[[345,8],[519,8]]},"739":{"position":[[322,8]]},"745":{"position":[[77,7],[143,7],[354,7],[424,8],[504,7],[568,8]]},"746":{"position":[[312,8],[596,7]]},"747":{"position":[[129,8]]},"749":{"position":[[756,7],[893,7],[3376,7],[3487,7],[8663,7],[21760,7],[23234,7],[23360,7],[23492,7]]},"756":{"position":[[108,8]]},"759":{"position":[[142,9],[397,8],[544,7]]},"760":{"position":[[243,8],[318,9],[540,7]]},"772":{"position":[[141,7],[205,7],[808,8],[1096,7],[1199,7],[1675,8],[2437,8],[2568,8]]},"773":{"position":[[598,8]]},"774":{"position":[[129,8],[294,7],[363,7],[700,8],[736,8]]},"775":{"position":[[709,7]]},"778":{"position":[[362,7]]},"793":{"position":[[152,8],[393,7],[1013,7]]},"801":{"position":[[17,7]]},"820":{"position":[[279,7],[315,8]]},"825":{"position":[[374,8]]},"829":{"position":[[239,7],[681,8]]},"830":{"position":[[246,7]]},"832":{"position":[[408,7]]},"835":{"position":[[33,7]]},"836":{"position":[[1075,7],[2281,7]]},"837":{"position":[[980,8]]},"838":{"position":[[1629,7],[1685,7],[2416,8]]},"841":{"position":[[990,8]]},"860":{"position":[[106,8],[1018,7]]},"862":{"position":[[572,8]]},"872":{"position":[[1456,8],[1506,7],[1750,8],[4011,8]]},"898":{"position":[[2070,7],[2146,8],[2354,8]]},"904":{"position":[[430,7],[525,8],[751,8]]},"932":{"position":[[871,7],[989,8],[1082,8]]},"960":{"position":[[333,8]]},"961":{"position":[[238,7]]},"962":{"position":[[244,7],[792,8],[1008,8]]},"966":{"position":[[574,8],[692,8]]},"967":{"position":[[159,8],[277,8]]},"977":{"position":[[30,8],[472,8]]},"981":{"position":[[1108,7]]},"1002":{"position":[[921,8]]},"1009":{"position":[[613,7]]},"1013":{"position":[[69,7],[337,8]]},"1067":{"position":[[738,8]]},"1068":{"position":[[203,7]]},"1072":{"position":[[293,8],[1683,7],[1725,7]]},"1085":{"position":[[3524,7]]},"1089":{"position":[[60,7]]},"1090":{"position":[[78,7],[159,8],[411,7],[815,8],[851,8],[1368,7]]},"1095":{"position":[[149,7]]},"1114":{"position":[[106,7],[748,8]]},"1118":{"position":[[678,8]]},"1120":{"position":[[129,7],[437,8],[629,7]]},"1121":{"position":[[488,8]]},"1123":{"position":[[43,8],[384,7],[489,8]]},"1124":{"position":[[151,7],[209,7],[376,7],[634,7]]},"1125":{"position":[[113,7],[325,8]]},"1126":{"position":[[20,8],[45,7],[410,8],[723,8]]},"1130":{"position":[[198,8]]},"1132":{"position":[[143,7],[1116,7],[1364,7]]},"1134":{"position":[[175,8]]},"1137":{"position":[[48,9],[85,8],[292,9]]},"1138":{"position":[[22,7],[319,8]]},"1139":{"position":[[574,8]]},"1140":{"position":[[5,7],[318,7],[358,8],[633,8]]},"1141":{"position":[[85,7],[195,7],[225,7]]},"1143":{"position":[[622,7]]},"1144":{"position":[[20,8],[223,8]]},"1145":{"position":[[563,8]]},"1146":{"position":[[268,8]]},"1148":{"position":[[743,7],[1157,7]]},"1149":{"position":[[891,8],[950,8]]},"1151":{"position":[[211,7],[581,7]]},"1152":{"position":[[87,8]]},"1154":{"position":[[115,7],[626,8],[784,8]]},"1157":{"position":[[100,7]]},"1158":{"position":[[14,8],[231,8]]},"1159":{"position":[[85,7],[417,8]]},"1161":{"position":[[296,8]]},"1162":{"position":[[224,8],[557,7],[738,7]]},"1163":{"position":[[226,8],[348,7],[390,7],[427,8],[577,8]]},"1164":{"position":[[124,7],[161,8],[330,7],[469,8],[579,7],[657,8],[720,8],[1241,8]]},"1165":{"position":[[19,7],[130,8],[190,8],[235,7],[390,8],[768,8],[1106,8]]},"1168":{"position":[[179,8]]},"1172":{"position":[[344,8]]},"1178":{"position":[[210,7],[580,7]]},"1181":{"position":[[290,8],[375,7],[645,7],[826,7]]},"1182":{"position":[[226,8],[348,7],[379,8],[394,7],[431,8],[581,8]]},"1183":{"position":[[26,7],[77,7],[323,7],[555,7]]},"1184":{"position":[[270,7],[308,8],[346,7],[640,7],[677,8],[725,8],[820,8]]},"1185":{"position":[[41,7],[300,7],[366,8]]},"1186":{"position":[[35,7],[258,7],[317,8]]},"1188":{"position":[[396,7]]},"1189":{"position":[[102,8],[442,8]]},"1191":{"position":[[413,8],[619,8]]},"1192":{"position":[[24,8],[261,8],[540,8],[671,8]]},"1194":{"position":[[70,8]]},"1195":{"position":[[47,8],[88,7],[231,7]]},"1196":{"position":[[186,7]]},"1198":{"position":[[621,7],[1245,7],[1838,8]]},"1201":{"position":[[219,8]]},"1206":{"position":[[59,7],[252,8]]},"1209":{"position":[[161,7],[394,9]]},"1210":{"position":[[460,8]]},"1211":{"position":[[715,8]]},"1212":{"position":[[46,7],[246,7],[448,7],[502,7]]},"1213":{"position":[[668,7]]},"1214":{"position":[[527,7],[644,7]]},"1218":{"position":[[12,7],[357,7],[415,10],[532,7],[587,7],[787,8]]},"1219":{"position":[[12,7],[72,7],[729,8],[900,8]]},"1220":{"position":[[12,7],[462,7]]},"1222":{"position":[[384,8],[1431,8]]},"1225":{"position":[[425,8]]},"1226":{"position":[[256,8]]},"1227":{"position":[[734,8]]},"1228":{"position":[[125,7]]},"1229":{"position":[[261,7]]},"1230":{"position":[[261,7]]},"1231":{"position":[[890,8],[1065,8]]},"1235":{"position":[[38,7],[130,7],[480,8]]},"1237":{"position":[[135,8],[858,8],[895,8],[935,8],[982,8]]},"1238":{"position":[[38,8],[159,7],[192,8],[833,8],[882,8],[914,8],[978,8]]},"1239":{"position":[[18,7],[134,7],[202,7],[803,8],[852,8],[888,8]]},"1241":{"position":[[3,7]]},"1242":{"position":[[24,7]]},"1243":{"position":[[127,8]]},"1244":{"position":[[117,8]]},"1245":{"position":[[21,7]]},"1246":{"position":[[98,7],[442,7],[713,7],[907,8],[1198,8],[1339,7],[1446,7]]},"1247":{"position":[[24,7],[171,7],[365,7],[538,7],[731,8]]},"1263":{"position":[[319,8]]},"1264":{"position":[[178,8]]},"1265":{"position":[[722,8]]},"1267":{"position":[[563,7],[658,8],[752,8]]},"1268":{"position":[[424,7],[750,8]]},"1270":{"position":[[12,7],[68,8],[97,7],[283,7]]},"1271":{"position":[[38,7],[152,7],[303,7],[462,7],[621,8],[725,7],[925,7],[1109,7],[1227,7],[1411,7],[1535,7],[1608,8],[1617,7],[1695,8]]},"1272":{"position":[[158,8]]},"1274":{"position":[[359,8]]},"1275":{"position":[[370,8]]},"1276":{"position":[[230,8],[972,8]]},"1277":{"position":[[509,8],[864,7]]},"1278":{"position":[[518,8],[970,8]]},"1279":{"position":[[746,8]]},"1280":{"position":[[481,8]]},"1282":{"position":[[757,7],[1128,7]]},"1286":{"position":[[395,7],[433,8],[538,7]]},"1287":{"position":[[441,7],[483,8],[588,7]]},"1288":{"position":[[401,7],[449,8],[554,7]]},"1292":{"position":[[52,7],[216,7],[280,7],[403,8],[634,7]]},"1296":{"position":[[103,7]]},"1300":{"position":[[580,7]]},"1311":{"position":[[200,8]]},"1324":{"position":[[456,8]]}},"keywords":{}}],["storage"",{"_index":1453,"title":{},"content":{"243":{"position":[[341,13],[1027,13]]},"244":{"position":[[52,13],[116,13],[1154,13]]}},"keywords":{}}],["storage+databasenam",{"_index":4208,"title":{},"content":{"749":{"position":[[5680,20]]}},"keywords":{}}],["storage+nam",{"_index":5398,"title":{},"content":{"967":{"position":[[77,12]]}},"keywords":{}}],["storage."",{"_index":2826,"title":{},"content":{"419":{"position":[[1912,14]]}},"keywords":{}}],["storage.can",{"_index":6154,"title":{},"content":{"1180":{"position":[[296,11]]}},"keywords":{}}],["storage.customrequest",{"_index":6260,"title":{},"content":{"1220":{"position":[[556,23]]}},"keywords":{}}],["storage.decreas",{"_index":6105,"title":{},"content":{"1161":{"position":[[84,17]]},"1180":{"position":[[84,17]]}},"keywords":{}}],["storage.html?console=storag",{"_index":4298,"title":{},"content":{"749":{"position":[[12695,28]]}},"keywords":{}}],["storage.indexeddb",{"_index":3233,"title":{},"content":{"504":{"position":[[158,17]]}},"keywords":{}}],["storage.memori",{"_index":1673,"title":{},"content":{"287":{"position":[[873,14]]}},"keywords":{}}],["storage.opf",{"_index":3234,"title":{},"content":{"504":{"position":[[243,12]]}},"keywords":{}}],["storage.th",{"_index":6112,"title":{},"content":{"1162":{"position":[[849,11]]}},"keywords":{}}],["storageflex",{"_index":3141,"title":{},"content":{"483":{"position":[[236,15]]}},"keywords":{}}],["storageful",{"_index":2434,"title":{},"content":{"400":{"position":[[50,11]]}},"keywords":{}}],["storageinst",{"_index":6144,"title":{},"content":{"1177":{"position":[[234,15]]}},"keywords":{}}],["storageinstance.internals.localst",{"_index":6147,"title":{},"content":{"1177":{"position":[[309,37]]}},"keywords":{}}],["storages.in",{"_index":1570,"title":{},"content":{"254":{"position":[[382,11]]}},"keywords":{}}],["storages.split",{"_index":3096,"title":{},"content":{"469":{"position":[[1129,18]]}},"keywords":{}}],["storagesingl",{"_index":3417,"title":{},"content":{"560":{"position":[[370,13]]}},"keywords":{}}],["storagesqlit",{"_index":3330,"title":{},"content":{"546":{"position":[[232,14]]},"606":{"position":[[232,14]]}},"keywords":{}}],["storageth",{"_index":3302,"title":{},"content":{"538":{"position":[[70,10]]},"598":{"position":[[70,10]]}},"keywords":{}}],["storagewithattachmentscompress",{"_index":5315,"title":{},"content":{"932":{"position":[[914,33],[1091,33]]}},"keywords":{}}],["storagewithkeycompress",{"_index":4083,"title":{},"content":{"734":{"position":[[286,25],[528,25]]}},"keywords":{}}],["store",{"_index":5,"title":{"65":{"position":[[4,5]]},"81":{"position":[[0,7]]},"86":{"position":[[22,5]]},"95":{"position":[[0,5]]},"111":{"position":[[0,7]]},"214":{"position":[[22,5]]},"236":{"position":[[0,7]]},"270":{"position":[[0,7]]},"294":{"position":[[27,6]]},"305":{"position":[[31,6]]},"355":{"position":[[0,7]]},"357":{"position":[[0,7]]},"368":{"position":[[0,5]]},"371":{"position":[[8,5]]},"392":{"position":[[0,7]]},"397":{"position":[[0,7]]},"426":{"position":[[0,7]]},"457":{"position":[[0,7]]},"559":{"position":[[8,7]]},"800":{"position":[[0,5]]},"912":{"position":[[0,7]]},"1122":{"position":[[39,5]]},"1237":{"position":[[0,7]]}},"content":{"1":{"position":[[56,6]]},"3":{"position":[[23,6]]},"5":{"position":[[14,6]]},"6":{"position":[[44,5],[643,5]]},"7":{"position":[[43,5],[478,5]]},"10":{"position":[[26,6]]},"13":{"position":[[172,5]]},"14":{"position":[[489,6],[745,6]]},"16":{"position":[[183,6]]},"17":{"position":[[437,5]]},"24":{"position":[[738,5]]},"30":{"position":[[90,6]]},"31":{"position":[[173,6]]},"35":{"position":[[319,7]]},"36":{"position":[[207,5]]},"45":{"position":[[146,5]]},"47":{"position":[[420,6],[692,7]]},"58":{"position":[[290,5]]},"63":{"position":[[42,5]]},"65":{"position":[[40,7],[150,7],[813,6],[1530,5],[1677,6],[1731,6],[1812,7]]},"66":{"position":[[475,6]]},"86":{"position":[[42,7]]},"87":{"position":[[73,7]]},"88":{"position":[[1,7]]},"93":{"position":[[1,7]]},"95":{"position":[[149,5]]},"97":{"position":[[14,6]]},"110":{"position":[[59,6]]},"111":{"position":[[70,7]]},"117":{"position":[[100,6]]},"122":{"position":[[157,6]]},"131":{"position":[[561,5]]},"133":{"position":[[151,6]]},"139":{"position":[[132,6]]},"152":{"position":[[179,7]]},"173":{"position":[[1225,5],[1327,6],[1675,6]]},"174":{"position":[[2407,5]]},"178":{"position":[[113,7]]},"183":{"position":[[171,6]]},"188":{"position":[[250,5],[3118,5]]},"189":{"position":[[69,5],[519,6]]},"195":{"position":[[101,6]]},"215":{"position":[[26,5]]},"216":{"position":[[67,7]]},"217":{"position":[[1,7]]},"218":{"position":[[277,6]]},"219":{"position":[[151,5]]},"221":{"position":[[81,7]]},"236":{"position":[[29,5]]},"240":{"position":[[43,6]]},"245":{"position":[[149,5]]},"248":{"position":[[105,6]]},"252":{"position":[[131,6]]},"254":{"position":[[307,5]]},"265":{"position":[[152,7]]},"270":{"position":[[1,7],[136,5]]},"273":{"position":[[117,6]]},"274":{"position":[[85,7]]},"291":{"position":[[120,6]]},"292":{"position":[[156,6]]},"294":{"position":[[111,6]]},"302":{"position":[[168,5],[745,5]]},"303":{"position":[[150,5],[412,7],[1154,5]]},"304":{"position":[[144,5]]},"306":{"position":[[66,5]]},"309":{"position":[[136,6]]},"311":{"position":[[138,6]]},"315":{"position":[[877,6]]},"316":{"position":[[514,6]]},"317":{"position":[[51,6]]},"321":{"position":[[57,5]]},"322":{"position":[[175,5]]},"325":{"position":[[43,6]]},"331":{"position":[[77,7]]},"334":{"position":[[129,5]]},"336":{"position":[[349,6]]},"338":{"position":[[65,5]]},"343":{"position":[[41,6]]},"345":{"position":[[91,6]]},"346":{"position":[[107,5]]},"350":{"position":[[19,6],[188,5]]},"352":{"position":[[98,5]]},"353":{"position":[[631,7]]},"356":{"position":[[201,5],[749,5]]},"357":{"position":[[20,7],[256,7],[480,6]]},"358":{"position":[[26,7]]},"360":{"position":[[26,6],[557,6]]},"362":{"position":[[322,5],[552,7]]},"364":{"position":[[297,7],[581,5],[688,6]]},"365":{"position":[[621,6],[1290,6]]},"367":{"position":[[1,7],[533,6]]},"376":{"position":[[239,7]]},"377":{"position":[[1,7]]},"390":{"position":[[59,7]]},"391":{"position":[[909,6]]},"392":{"position":[[4,5],[103,6],[459,6],[505,6],[1163,6],[1389,6],[1775,7],[1886,6],[2037,7],[2457,6],[2566,6]]},"393":{"position":[[18,6]]},"394":{"position":[[41,6],[1450,6]]},"395":{"position":[[46,5]]},"396":{"position":[[1092,6],[1176,5],[1788,6]]},"397":{"position":[[20,5],[1578,6],[2007,5]]},"398":{"position":[[25,6],[3507,5]]},"402":{"position":[[120,7],[2590,5]]},"403":{"position":[[154,6],[406,6]]},"407":{"position":[[166,5]]},"408":{"position":[[621,7],[881,5],[4463,6]]},"410":{"position":[[513,7],[2142,5]]},"411":{"position":[[2151,6],[2753,7]]},"412":{"position":[[2069,7],[2731,5],[7690,7],[13130,6]]},"414":{"position":[[33,5],[410,5]]},"416":{"position":[[42,7]]},"417":{"position":[[252,7]]},"419":{"position":[[798,7]]},"424":{"position":[[91,5],[424,5]]},"425":{"position":[[249,7]]},"426":{"position":[[191,5],[272,7],[365,7]]},"427":{"position":[[501,6],[549,7],[655,7]]},"429":{"position":[[577,7]]},"430":{"position":[[431,7],[604,5]]},"432":{"position":[[206,5],[1264,6]]},"434":{"position":[[153,5]]},"439":{"position":[[130,5]]},"440":{"position":[[148,6],[347,5]]},"442":{"position":[[14,5]]},"444":{"position":[[666,5]]},"445":{"position":[[538,5]]},"450":{"position":[[60,5],[338,6],[433,5]]},"451":{"position":[[128,5],[272,6],[313,7],[420,7]]},"452":{"position":[[111,7]]},"453":{"position":[[95,5],[693,7],[733,5]]},"455":{"position":[[167,5]]},"457":{"position":[[10,5],[66,5],[168,5],[275,5],[441,5]]},"459":{"position":[[43,7],[1183,7]]},"461":{"position":[[68,6],[1332,5]]},"462":{"position":[[691,5],[836,7]]},"463":{"position":[[16,5],[363,5],[628,7],[856,5],[1250,5]]},"464":{"position":[[1321,7]]},"465":{"position":[[18,6]]},"469":{"position":[[361,5],[656,6],[822,6],[1072,7]]},"473":{"position":[[39,6]]},"480":{"position":[[970,5]]},"489":{"position":[[88,6]]},"491":{"position":[[1192,6]]},"495":{"position":[[560,7],[747,7]]},"500":{"position":[[443,5]]},"504":{"position":[[364,7]]},"516":{"position":[[117,7]]},"524":{"position":[[508,6],[605,6]]},"526":{"position":[[136,6]]},"533":{"position":[[34,7],[150,5]]},"534":{"position":[[204,7]]},"535":{"position":[[365,5]]},"545":{"position":[[214,7]]},"551":{"position":[[503,7]]},"555":{"position":[[135,7],[836,6],[970,7]]},"556":{"position":[[269,6],[511,6],[572,5],[1236,5]]},"559":{"position":[[44,7],[1190,5]]},"560":{"position":[[233,5],[441,6]]},"561":{"position":[[155,6]]},"564":{"position":[[117,6],[1060,5]]},"566":{"position":[[64,5],[133,6],[1318,7]]},"574":{"position":[[612,5],[637,6]]},"575":{"position":[[341,6]]},"580":{"position":[[132,5]]},"581":{"position":[[353,6]]},"586":{"position":[[103,6]]},"588":{"position":[[43,6]]},"590":{"position":[[263,6],[295,5]]},"593":{"position":[[34,7],[150,5]]},"594":{"position":[[202,7]]},"595":{"position":[[376,5]]},"605":{"position":[[214,7]]},"630":{"position":[[1014,5]]},"635":{"position":[[377,7]]},"638":{"position":[[6,7]]},"647":{"position":[[274,6]]},"659":{"position":[[91,5],[753,6],[976,7]]},"660":{"position":[[307,6],[396,7]]},"661":{"position":[[1698,5]]},"662":{"position":[[458,5],[564,6],[661,7]]},"680":{"position":[[135,5],[1013,5]]},"685":{"position":[[21,6],[575,5]]},"693":{"position":[[628,5]]},"696":{"position":[[80,6],[994,5],[1417,5],[1586,7],[1921,5],[1962,6],[2041,7]]},"697":{"position":[[14,6],[252,6],[505,6],[553,5]]},"698":{"position":[[2384,7],[2436,5]]},"701":{"position":[[765,5]]},"702":{"position":[[218,6]]},"703":{"position":[[59,5],[287,5],[577,5]]},"709":{"position":[[187,7],[760,7]]},"710":{"position":[[536,6]]},"711":{"position":[[140,6],[2140,5]]},"715":{"position":[[37,5]]},"716":{"position":[[119,7],[327,5]]},"720":{"position":[[4,5]]},"723":{"position":[[442,6],[1997,6]]},"724":{"position":[[579,5]]},"749":{"position":[[6401,5],[14460,5],[21892,5]]},"754":{"position":[[10,5]]},"772":{"position":[[1133,6],[1312,6],[1955,5]]},"773":{"position":[[103,6]]},"775":{"position":[[558,5]]},"779":{"position":[[369,5]]},"784":{"position":[[798,6]]},"785":{"position":[[507,6]]},"786":{"position":[[14,5]]},"821":{"position":[[116,5],[703,5]]},"835":{"position":[[858,6],[1040,7]]},"836":{"position":[[767,6]]},"837":{"position":[[360,5],[750,5],[2066,5]]},"838":{"position":[[1093,7],[1240,6],[3355,5]]},"840":{"position":[[55,6]]},"841":{"position":[[88,6],[161,6],[1332,5],[1408,6]]},"844":{"position":[[181,5],[230,6]]},"846":{"position":[[796,7]]},"856":{"position":[[195,5]]},"865":{"position":[[79,5]]},"866":{"position":[[669,6]]},"898":{"position":[[282,6],[383,6]]},"902":{"position":[[441,7]]},"903":{"position":[[229,6]]},"904":{"position":[[443,6]]},"912":{"position":[[1,7],[318,6]]},"932":{"position":[[212,7],[364,7],[1413,5]]},"962":{"position":[[630,6]]},"977":{"position":[[453,6]]},"988":{"position":[[1872,5]]},"995":{"position":[[1216,5]]},"1002":{"position":[[260,5]]},"1005":{"position":[[209,7]]},"1006":{"position":[[100,7]]},"1007":{"position":[[1084,6]]},"1013":{"position":[[189,5],[421,5],[573,5],[640,5]]},"1028":{"position":[[80,7]]},"1047":{"position":[[102,5]]},"1068":{"position":[[239,6]]},"1072":{"position":[[550,7],[2128,5],[2220,5]]},"1074":{"position":[[381,6],[653,5]]},"1078":{"position":[[310,6]]},"1085":{"position":[[11,5],[48,5],[103,5],[307,5],[477,7],[696,5],[1075,5],[1511,5]]},"1104":{"position":[[770,5]]},"1105":{"position":[[1213,5]]},"1106":{"position":[[310,7]]},"1116":{"position":[[11,6]]},"1121":{"position":[[27,6]]},"1124":{"position":[[481,5],[1656,6],[1698,6],[2048,6]]},"1126":{"position":[[857,6]]},"1140":{"position":[[70,6]]},"1143":{"position":[[247,6]]},"1162":{"position":[[644,7],[690,5]]},"1170":{"position":[[228,7]]},"1171":{"position":[[364,6]]},"1173":{"position":[[53,5]]},"1180":{"position":[[308,5]]},"1181":{"position":[[41,7],[732,7],[778,5]]},"1184":{"position":[[124,5]]},"1186":{"position":[[203,6]]},"1191":{"position":[[233,5],[305,5]]},"1192":{"position":[[289,5]]},"1194":{"position":[[465,6],[739,6],[832,6],[964,6]]},"1198":{"position":[[488,5],[1271,6]]},"1199":{"position":[[81,7]]},"1207":{"position":[[671,5]]},"1222":{"position":[[1181,6]]},"1237":{"position":[[48,5],[234,6]]},"1239":{"position":[[155,5]]},"1241":{"position":[[16,6]]},"1242":{"position":[[32,6]]},"1246":{"position":[[1413,6],[1565,6],[1849,5]]},"1247":{"position":[[574,6]]},"1267":{"position":[[249,5]]},"1271":{"position":[[420,5]]},"1282":{"position":[[81,5],[184,5]]},"1292":{"position":[[412,6]]},"1294":{"position":[[245,6],[342,6],[897,5]]},"1295":{"position":[[125,7],[236,6],[617,7],[923,5],[998,6],[1191,5]]},"1300":{"position":[[975,5]]},"1305":{"position":[[491,6],[917,6],[1048,6]]},"1307":{"position":[[120,6]]},"1319":{"position":[[108,6]]},"1320":{"position":[[785,5]]},"1321":{"position":[[556,5],[763,6]]},"1324":{"position":[[263,5],[479,6]]}},"keywords":{}}],["store.add(hugedata",{"_index":1808,"title":{},"content":{"302":{"position":[[789,19]]}},"keywords":{}}],["store.index('ag",{"_index":6431,"title":{},"content":{"1294":{"position":[[946,16]]}},"keywords":{}}],["store.put(docdata",{"_index":6461,"title":{},"content":{"1296":{"position":[[941,19]]}},"keywords":{}}],["storeattachmentsasbase64str",{"_index":6369,"title":{},"content":{"1282":{"position":[[132,31]]}},"keywords":{}}],["stored/queri",{"_index":4716,"title":{},"content":{"821":{"position":[[658,14]]}},"keywords":{}}],["storedus",{"_index":2880,"title":{},"content":{"426":{"position":[[487,10]]}},"keywords":{}}],["storedusernam",{"_index":2872,"title":{},"content":{"425":{"position":[[361,14]]}},"keywords":{}}],["stores—provid",{"_index":2016,"title":{},"content":{"354":{"position":[[50,14]]}},"keywords":{}}],["straightforward",{"_index":529,"title":{},"content":{"34":{"position":[[116,16]]},"35":{"position":[[522,15]]},"47":{"position":[[644,15]]},"63":{"position":[[19,15]]},"90":{"position":[[77,16]]},"174":{"position":[[2162,16]]},"219":{"position":[[338,15]]},"285":{"position":[[32,15]]},"293":{"position":[[147,15]]},"306":{"position":[[127,15]]},"336":{"position":[[553,16]]},"387":{"position":[[31,15]]},"429":{"position":[[387,15]]},"491":{"position":[[517,15]]},"503":{"position":[[86,15]]},"522":{"position":[[61,16]]},"536":{"position":[[31,16]]},"554":{"position":[[66,15]]},"559":{"position":[[96,15]]},"563":{"position":[[932,15]]},"596":{"position":[[29,16]]},"612":{"position":[[677,16]]},"624":{"position":[[166,15]]},"690":{"position":[[163,16]]},"836":{"position":[[1381,15],[2248,16]]},"903":{"position":[[633,16]]},"906":{"position":[[504,16]]},"1208":{"position":[[24,15]]}},"keywords":{}}],["strang",{"_index":2847,"title":{},"content":{"421":{"position":[[169,7]]},"749":{"position":[[21948,7]]},"1085":{"position":[[264,7],[3130,7]]},"1305":{"position":[[275,7]]}},"keywords":{}}],["strateg",{"_index":1120,"title":{},"content":{"138":{"position":[[211,13]]},"166":{"position":[[182,13]]}},"keywords":{}}],["strategi",{"_index":227,"title":{"147":{"position":[[21,11]]},"496":{"position":[[20,11]]},"751":{"position":[[10,11]]}},"content":{"14":{"position":[[817,8]]},"65":{"position":[[111,8]]},"134":{"position":[[209,10]]},"135":{"position":[[298,11]]},"146":{"position":[[306,10]]},"147":{"position":[[96,10],[286,10]]},"165":{"position":[[249,10]]},"192":{"position":[[169,11]]},"202":{"position":[[431,8]]},"250":{"position":[[58,9]]},"287":{"position":[[239,8]]},"328":{"position":[[220,10]]},"339":{"position":[[81,11]]},"367":{"position":[[316,10]]},"381":{"position":[[409,10]]},"396":{"position":[[841,11]]},"403":{"position":[[367,8]]},"408":{"position":[[2677,10]]},"412":{"position":[[3260,9],[5311,9],[5533,9],[12407,8]]},"473":{"position":[[87,8]]},"501":{"position":[[375,10]]},"525":{"position":[[547,11]]},"567":{"position":[[1098,8]]},"618":{"position":[[444,8]]},"636":{"position":[[297,9]]},"688":{"position":[[858,9]]},"698":{"position":[[456,9],[1430,11],[2544,9],[3296,11]]},"702":{"position":[[637,8]]},"751":{"position":[[391,8],[739,10]]},"757":{"position":[[287,10]]},"860":{"position":[[788,11]]},"899":{"position":[[137,10]]},"1085":{"position":[[3497,11]]},"1149":{"position":[[63,9]]},"1305":{"position":[[173,8]]},"1313":{"position":[[982,11]]},"1321":{"position":[[400,8]]}},"keywords":{}}],["strategy.opf",{"_index":3090,"title":{},"content":{"469":{"position":[[254,13]]}},"keywords":{}}],["stream",{"_index":356,"title":{"140":{"position":[[7,7]]},"168":{"position":[[7,7]]},"196":{"position":[[7,7]]},"344":{"position":[[7,7]]},"509":{"position":[[7,7]]},"529":{"position":[[7,7]]},"585":{"position":[[30,8]]}},"content":{"20":{"position":[[195,7]]},"121":{"position":[[103,7]]},"140":{"position":[[21,8],[133,8],[268,7]]},"156":{"position":[[106,6]]},"168":{"position":[[20,7],[130,8]]},"170":{"position":[[423,8]]},"196":{"position":[[22,8],[99,8]]},"208":{"position":[[278,9]]},"255":{"position":[[259,9]]},"267":{"position":[[537,7]]},"283":{"position":[[341,7]]},"303":{"position":[[240,7]]},"344":{"position":[[12,7]]},"408":{"position":[[2511,6]]},"445":{"position":[[1012,7],[1389,8]]},"464":{"position":[[154,6]]},"491":{"position":[[1703,9]]},"509":{"position":[[24,8]]},"529":{"position":[[48,8]]},"570":{"position":[[772,6]]},"612":{"position":[[1127,6],[1500,6],[1928,8]]},"613":{"position":[[243,8],[468,10]]},"614":{"position":[[325,9]]},"617":{"position":[[1540,7],[2011,6],[2273,6]]},"622":{"position":[[645,7],[738,8]]},"623":{"position":[[714,8]]},"624":{"position":[[599,10]]},"625":{"position":[[25,9]]},"626":{"position":[[123,8],[206,9],[321,6],[888,6]]},"627":{"position":[[81,9]]},"632":{"position":[[415,7]]},"643":{"position":[[223,9]]},"749":{"position":[[15627,7]]},"781":{"position":[[276,7]]},"866":{"position":[[552,6],[583,7]]},"871":{"position":[[124,7]]},"875":{"position":[[6629,6],[7103,6],[7312,8],[7732,7],[8461,8],[9309,7],[9750,8]]},"885":{"position":[[448,6]]},"886":{"position":[[3223,7],[3292,6],[3351,6]]},"888":{"position":[[732,8]]},"921":{"position":[[34,6]]},"932":{"position":[[622,7]]},"941":{"position":[[51,7]]},"970":{"position":[[51,7]]},"988":{"position":[[4723,6],[4793,7],[4832,8],[4899,6],[5352,8]]},"990":{"position":[[702,6]]},"1005":{"position":[[246,8]]},"1198":{"position":[[1926,7]]},"1206":{"position":[[353,10]]}},"keywords":{}}],["streamhero(head",{"_index":5136,"title":{},"content":{"886":{"position":[[3567,19]]}},"keywords":{}}],["streamhuman",{"_index":5078,"title":{},"content":{"885":{"position":[[505,12]]}},"keywords":{}}],["streamhuman(head",{"_index":5089,"title":{},"content":{"885":{"position":[[1348,20]]}},"keywords":{}}],["streamlin",{"_index":986,"title":{},"content":{"80":{"position":[[117,12]]},"89":{"position":[[193,12]]},"112":{"position":[[193,11]]},"161":{"position":[[325,11]]},"279":{"position":[[429,11]]},"283":{"position":[[83,10]]},"362":{"position":[[963,11]]},"369":{"position":[[896,11]]},"387":{"position":[[382,10]]},"485":{"position":[[82,12]]},"521":{"position":[[510,11]]},"802":{"position":[[692,11]]}},"keywords":{}}],["streamnam",{"_index":4927,"title":{},"content":{"866":{"position":[[571,11]]}},"keywords":{}}],["streamquerybuild",{"_index":5139,"title":{},"content":{"886":{"position":[[4205,19]]}},"keywords":{}}],["streamsconflict",{"_index":4934,"title":{},"content":{"870":{"position":[[152,15]]}},"keywords":{}}],["strength",{"_index":799,"title":{},"content":{"52":{"position":[[285,9],[582,9]]},"133":{"position":[[16,9]]},"162":{"position":[[688,9]]},"182":{"position":[[16,9]]},"190":{"position":[[16,9]]},"207":{"position":[[20,9]]},"269":{"position":[[46,9]]},"383":{"position":[[24,9]]},"441":{"position":[[548,9]]},"444":{"position":[[403,9]]},"539":{"position":[[285,9],[582,9]]},"599":{"position":[[312,9],[609,9]]}},"keywords":{}}],["stress",{"_index":3111,"title":{},"content":{"477":{"position":[[227,6]]}},"keywords":{}}],["strict",{"_index":2022,"title":{},"content":{"354":{"position":[[582,6]]},"408":{"position":[[1158,7]]},"841":{"position":[[1281,6]]},"1085":{"position":[[2644,6]]}},"keywords":{}}],["stricter",{"_index":1752,"title":{},"content":{"299":{"position":[[639,9]]},"300":{"position":[[729,8]]}},"keywords":{}}],["strictli",{"_index":2665,"title":{},"content":{"412":{"position":[[1583,8]]}},"keywords":{}}],["string",{"_index":773,"title":{},"content":{"51":{"position":[[415,9],[457,8],[484,8]]},"188":{"position":[[1292,9],[1334,9],[1377,9]]},"209":{"position":[[497,9],[540,8]]},"211":{"position":[[459,9],[504,8]]},"255":{"position":[[841,9],[884,8]]},"259":{"position":[[141,9],[183,8]]},"314":{"position":[[807,8],[836,8]]},"315":{"position":[[783,8],[809,8]]},"316":{"position":[[292,8],[321,8],[352,9]]},"334":{"position":[[693,8],[719,8]]},"367":{"position":[[836,9],[927,9],[1001,9]]},"392":{"position":[[643,9],[684,8],[1609,9],[1679,8],[4078,8]]},"397":{"position":[[199,7],[494,9],[1567,6]]},"412":{"position":[[4955,7]]},"424":{"position":[[221,8]]},"439":{"position":[[624,8]]},"451":{"position":[[484,6]]},"457":{"position":[[156,7],[447,7],[520,6]]},"459":{"position":[[1083,7]]},"460":{"position":[[610,7]]},"480":{"position":[[607,8],[634,8]]},"482":{"position":[[907,8],[939,8]]},"538":{"position":[[716,9],[758,8],[785,8]]},"554":{"position":[[1398,9],[1447,8],[1480,8]]},"560":{"position":[[47,6]]},"562":{"position":[[379,8],[405,8],[432,8]]},"564":{"position":[[836,8],[868,8]]},"566":{"position":[[76,8]]},"579":{"position":[[701,8],[727,8]]},"598":{"position":[[723,9],[765,8],[792,8]]},"632":{"position":[[1591,9],[1634,8]]},"638":{"position":[[675,9],[724,8]]},"639":{"position":[[453,9],[498,8]]},"662":{"position":[[2454,9],[2496,8]]},"680":{"position":[[883,9]]},"696":{"position":[[669,7]]},"717":{"position":[[1492,9],[1536,8]]},"724":{"position":[[814,7],[863,6]]},"734":{"position":[[757,9]]},"746":{"position":[[390,8]]},"749":{"position":[[30,6],[2984,7],[3868,6],[4047,7],[7353,7],[7403,7],[8174,6],[13796,6],[17092,6],[17203,7],[18256,6],[18629,7],[18650,7],[18754,7],[20142,6],[21512,8],[23863,6]]},"751":{"position":[[685,6],[928,6],[1195,8],[1787,6]]},"808":{"position":[[236,8],[312,8],[350,6],[471,6],[608,8],[675,8]]},"812":{"position":[[131,8],[199,9]]},"813":{"position":[[131,8],[198,8]]},"838":{"position":[[2668,9],[2710,8]]},"862":{"position":[[723,9],[765,8]]},"872":{"position":[[631,6],[1948,9],[1995,8],[2025,8],[4178,9],[4225,8],[4255,8]]},"875":{"position":[[1676,6]]},"885":{"position":[[553,8],[572,8],[648,8],[667,8],[738,8],[1317,8]]},"898":{"position":[[233,7],[2528,9],[2575,8],[2605,8]]},"904":{"position":[[930,9],[973,8],[1045,9],[2055,6]]},"917":{"position":[[187,8],[325,8]]},"918":{"position":[[52,6]]},"924":{"position":[[11,6]]},"925":{"position":[[13,6]]},"927":{"position":[[37,7]]},"932":{"position":[[59,7]]},"961":{"position":[[24,6]]},"963":{"position":[[139,6]]},"968":{"position":[[255,6],[309,7],[439,7]]},"1018":{"position":[[765,6],[930,6],[948,6]]},"1022":{"position":[[207,6],[227,6]]},"1065":{"position":[[514,6]]},"1074":{"position":[[199,6]]},"1077":{"position":[[175,7]]},"1078":{"position":[[300,6],[536,9],[632,8],[662,8]]},"1079":{"position":[[128,7],[364,6]]},"1080":{"position":[[159,9],[255,9],[289,6],[376,8],[437,8]]},"1082":{"position":[[244,9],[340,8],[370,8]]},"1083":{"position":[[444,9],[540,8],[570,8]]},"1085":{"position":[[350,6],[546,6]]},"1100":{"position":[[455,6]]},"1103":{"position":[[68,7]]},"1149":{"position":[[1121,9],[1163,8]]},"1158":{"position":[[431,8],[458,8]]},"1171":{"position":[[429,7]]},"1189":{"position":[[260,7],[498,6],[570,7]]},"1208":{"position":[[304,7],[1296,7]]},"1213":{"position":[[66,7],[145,7],[294,7]]},"1250":{"position":[[84,6]]},"1251":{"position":[[8,6]]},"1252":{"position":[[280,7]]},"1281":{"position":[[293,6]]},"1282":{"position":[[221,6]]},"1290":{"position":[[106,9]]},"1291":{"position":[[114,7]]},"1296":{"position":[[685,6],[732,8],[1521,6]]},"1305":{"position":[[525,7],[845,7]]},"1311":{"position":[[467,8],[498,8],[528,8],[705,7]]},"1321":{"position":[[326,7]]}},"keywords":{}}],["string','nul",{"_index":4676,"title":{},"content":{"808":{"position":[[360,17]]}},"keywords":{}}],["string,nul",{"_index":4359,"title":{},"content":{"749":{"position":[[17211,13]]}},"keywords":{}}],["string.fromcharcode(65535",{"_index":6435,"title":{},"content":{"1294":{"position":[[1403,26]]}},"keywords":{}}],["string/number/boolean",{"_index":5209,"title":{},"content":{"898":{"position":[[1776,24]]}},"keywords":{}}],["string/number/integ",{"_index":4393,"title":{},"content":{"749":{"position":[[19931,21]]}},"keywords":{}}],["stringent",{"_index":5281,"title":{},"content":{"912":{"position":[[702,9]]}},"keywords":{}}],["stringifi",{"_index":2884,"title":{},"content":{"427":{"position":[[698,12]]},"462":{"position":[[761,11]]},"559":{"position":[[1196,11]]},"749":{"position":[[3062,11]]}},"keywords":{}}],["strings.mango",{"_index":5792,"title":{},"content":{"1071":{"position":[[207,13]]}},"keywords":{}}],["strings.queri",{"_index":5793,"title":{},"content":{"1071":{"position":[[294,15]]}},"keywords":{}}],["string|blob",{"_index":5289,"title":{},"content":{"917":{"position":[[266,13]]}},"keywords":{}}],["strip",{"_index":2480,"title":{},"content":{"402":{"position":[[234,5]]},"898":{"position":[[1970,6]]}},"keywords":{}}],["strong",{"_index":546,"title":{},"content":{"34":{"position":[[684,6]]},"47":{"position":[[585,6]]},"320":{"position":[[138,6]]},"412":{"position":[[6403,6]]},"1125":{"position":[[387,8],[461,9]]}},"keywords":{}}],["strongli",{"_index":2011,"title":{},"content":{"353":{"position":[[539,8]]},"1123":{"position":[[13,8]]}},"keywords":{}}],["structur",{"_index":695,"title":{},"content":{"45":{"position":[[85,10]]},"47":{"position":[[626,10]]},"57":{"position":[[290,10]]},"64":{"position":[[56,10]]},"73":{"position":[[118,9]]},"117":{"position":[[68,10]]},"126":{"position":[[248,9]]},"174":{"position":[[2279,11]]},"178":{"position":[[200,11]]},"231":{"position":[[72,10]]},"276":{"position":[[238,10]]},"281":{"position":[[242,10]]},"282":{"position":[[235,9],[385,9]]},"321":{"position":[[254,10]]},"351":{"position":[[181,11]]},"352":{"position":[[313,11]]},"354":{"position":[[376,10]]},"361":{"position":[[203,9]]},"364":{"position":[[546,11]]},"369":{"position":[[393,11]]},"382":{"position":[[92,11]]},"392":{"position":[[1253,11]]},"395":{"position":[[314,11]]},"396":{"position":[[364,9]]},"408":{"position":[[438,10],[2106,10]]},"426":{"position":[[210,10]]},"427":{"position":[[412,10],[570,10]]},"430":{"position":[[1049,10]]},"441":{"position":[[350,11]]},"446":{"position":[[917,11]]},"452":{"position":[[136,10]]},"495":{"position":[[706,9]]},"533":{"position":[[65,10]]},"559":{"position":[[1626,10]]},"593":{"position":[[65,10]]},"612":{"position":[[1017,10]]},"636":{"position":[[392,9]]},"749":{"position":[[11926,10]]},"772":{"position":[[2230,10]]},"800":{"position":[[511,9]]},"836":{"position":[[2129,9]]},"841":{"position":[[1364,10]]},"865":{"position":[[105,10]]},"936":{"position":[[60,11]]},"1085":{"position":[[1099,9]]},"1132":{"position":[[434,10],[1494,10]]}},"keywords":{}}],["struggl",{"_index":2735,"title":{},"content":{"412":{"position":[[9398,8]]}},"keywords":{}}],["stuck",{"_index":2893,"title":{},"content":{"427":{"position":[[1431,5]]},"1031":{"position":[[239,5]]}},"keywords":{}}],["stuff",{"_index":1251,"title":{},"content":{"188":{"position":[[866,5]]},"451":{"position":[[618,6]]},"460":{"position":[[920,5]]},"463":{"position":[[148,6]]},"699":{"position":[[18,5]]},"705":{"position":[[978,5]]},"785":{"position":[[122,5]]},"829":{"position":[[797,5]]},"1027":{"position":[[77,6]]}},"keywords":{}}],["stun",{"_index":3625,"title":{},"content":{"614":{"position":[[470,5]]}},"keywords":{}}],["stutter",{"_index":3720,"title":{},"content":{"642":{"position":[[289,10]]}},"keywords":{}}],["style",{"_index":3898,"title":{},"content":{"689":{"position":[[293,5]]},"841":{"position":[[561,5]]},"902":{"position":[[932,5]]}},"keywords":{}}],["style="color",{"_index":6183,"title":{},"content":{"1202":{"position":[[102,18]]}},"keywords":{}}],["sub",{"_index":1987,"title":{},"content":{"350":{"position":[[86,3]]},"496":{"position":[[345,3]]},"562":{"position":[[1292,3]]},"749":{"position":[[22030,3],[22386,3]]},"979":{"position":[[224,3]]},"1085":{"position":[[1112,3]]},"1215":{"position":[[407,3]]}},"keywords":{}}],["sub.unsubscrib",{"_index":3431,"title":{},"content":{"562":{"position":[[1376,18]]},"979":{"position":[[394,18]]}},"keywords":{}}],["sub1.yoursite.com",{"_index":1849,"title":{},"content":{"303":{"position":[[1183,17]]}},"keywords":{}}],["sub2.yoursite.com",{"_index":1851,"title":{},"content":{"303":{"position":[[1225,18]]}},"keywords":{}}],["subdirectori",{"_index":6198,"title":{},"content":{"1208":{"position":[[767,13]]}},"keywords":{}}],["subdomain",{"_index":1844,"title":{},"content":{"303":{"position":[[1025,10]]},"450":{"position":[[297,11]]},"849":{"position":[[536,10]]}},"keywords":{}}],["subfield",{"_index":3418,"title":{},"content":{"560":{"position":[[418,9]]}},"keywords":{}}],["subject",{"_index":4928,"title":{},"content":{"866":{"position":[[621,7],[744,7]]},"875":{"position":[[4325,7],[4427,10],[8048,7],[8097,10],[9467,7],[9516,10]]},"1218":{"position":[[491,10],[839,10]]}},"keywords":{}}],["subject<rxreplicationpullstreamitem<ani",{"_index":5474,"title":{},"content":{"988":{"position":[[5089,46]]}},"keywords":{}}],["subjectprefix",{"_index":4930,"title":{},"content":{"866":{"position":[[770,14]]}},"keywords":{}}],["submit",{"_index":3160,"title":{},"content":{"489":{"position":[[397,10]]}},"keywords":{}}],["suboptim",{"_index":959,"title":{},"content":{"69":{"position":[[149,10]]},"101":{"position":[[73,10]]},"435":{"position":[[316,10]]}},"keywords":{}}],["subresult",{"_index":6441,"title":{},"content":{"1294":{"position":[[1600,10]]}},"keywords":{}}],["subresult.length",{"_index":6445,"title":{},"content":{"1294":{"position":[[1682,17]]}},"keywords":{}}],["subscrib",{"_index":538,"title":{},"content":{"34":{"position":[[450,9],[604,9]]},"47":{"position":[[788,9]]},"53":{"position":[[46,9]]},"121":{"position":[[191,9]]},"130":{"position":[[63,9]]},"136":{"position":[[198,9]]},"140":{"position":[[111,11]]},"143":{"position":[[140,9],[328,11]]},"159":{"position":[[148,9]]},"182":{"position":[[246,9]]},"185":{"position":[[221,11]]},"188":{"position":[[3201,9]]},"252":{"position":[[314,9]]},"323":{"position":[[449,11]]},"326":{"position":[[152,9]]},"329":{"position":[[147,9]]},"335":{"position":[[221,11]]},"346":{"position":[[262,9],[421,9]]},"360":{"position":[[302,9]]},"379":{"position":[[62,9]]},"411":{"position":[[2792,9],[2989,10]]},"458":{"position":[[1534,9]]},"493":{"position":[[127,9],[325,10]]},"515":{"position":[[243,11]]},"529":{"position":[[28,9]]},"541":{"position":[[138,10],[755,10]]},"562":{"position":[[786,9],[907,9]]},"571":{"position":[[755,9],[1268,9]]},"575":{"position":[[273,10]]},"580":{"position":[[118,9],[463,9]]},"600":{"position":[[88,11]]},"601":{"position":[[43,10],[602,9],[736,10]]},"662":{"position":[[120,9]]},"710":{"position":[[193,9]]},"781":{"position":[[763,9]]},"799":{"position":[[138,11]]},"816":{"position":[[176,11]]},"829":{"position":[[2163,9]]},"838":{"position":[[149,9]]},"846":{"position":[[1406,9]]},"890":{"position":[[102,9]]},"898":{"position":[[1431,9]]},"1058":{"position":[[487,13]]},"1117":{"position":[[406,9]]},"1150":{"position":[[387,11]]}},"keywords":{}}],["subscribe((hero",{"_index":1944,"title":{},"content":{"335":{"position":[[292,19]]}},"keywords":{}}],["subscribe((newhero",{"_index":3498,"title":{},"content":{"580":{"position":[[651,22]]}},"keywords":{}}],["subscribe(alivehero",{"_index":3228,"title":{},"content":{"502":{"position":[[1071,22]]},"518":{"position":[[538,22]]},"571":{"position":[[1007,22]]}},"keywords":{}}],["subscribe(alltask",{"_index":3705,"title":{},"content":{"632":{"position":[[1801,19]]}},"keywords":{}}],["subscribe(currentrxdocu",{"_index":5708,"title":{},"content":{"1046":{"position":[[133,28]]}},"keywords":{}}],["subscribe(doc",{"_index":1135,"title":{},"content":{"143":{"position":[[493,17]]}},"keywords":{}}],["subscribe(newnam",{"_index":5674,"title":{},"content":{"1039":{"position":[[220,18],[394,18]]}},"keywords":{}}],["subscribe(result",{"_index":3819,"title":{},"content":{"662":{"position":[[2824,21]]},"710":{"position":[[2131,21]]},"838":{"position":[[3038,21]]}},"keywords":{}}],["subscribe(undonetask",{"_index":3125,"title":{},"content":{"480":{"position":[[831,22]]}},"keywords":{}}],["subscript",{"_index":360,"title":{"143":{"position":[[19,13]]}},"content":{"21":{"position":[[129,12]]},"38":{"position":[[537,13]]},"130":{"position":[[103,12]]},"143":{"position":[[215,12]]},"346":{"position":[[332,14],[361,13]]},"411":{"position":[[2322,15]]},"412":{"position":[[2881,12]]},"490":{"position":[[187,12]]},"541":{"position":[[385,12]]},"542":{"position":[[1026,13]]},"562":{"position":[[1407,12]]},"563":{"position":[[1044,13]]},"590":{"position":[[334,13],[382,12],[407,14],[491,14],[515,13]]},"649":{"position":[[242,12]]},"781":{"position":[[713,13]]},"816":{"position":[[258,13]]},"828":{"position":[[458,14]]},"829":{"position":[[3704,13]]},"860":{"position":[[600,13]]},"863":{"position":[[286,13]]},"875":{"position":[[7387,12]]},"885":{"position":[[485,12],[1256,13],[1333,12]]},"886":{"position":[[3523,13],[4405,12]]},"1017":{"position":[[97,12]]},"1058":{"position":[[392,12]]},"1117":{"position":[[495,12]]}},"keywords":{}}],["subscription.unsubscrib",{"_index":3311,"title":{},"content":{"541":{"position":[[478,27]]},"875":{"position":[[7521,28]]}},"keywords":{}}],["subselect",{"_index":5795,"title":{},"content":{"1072":{"position":[[344,12]]}},"keywords":{}}],["subsequ",{"_index":3110,"title":{},"content":{"477":{"position":[[187,10]]},"495":{"position":[[365,10]]},"723":{"position":[[1741,10]]},"1297":{"position":[[359,10]]}},"keywords":{}}],["subset",{"_index":2717,"title":{},"content":{"412":{"position":[[7083,6]]},"555":{"position":[[911,6]]},"643":{"position":[[212,7]]},"858":{"position":[[36,6]]},"984":{"position":[[160,6]]},"1009":{"position":[[160,7]]},"1296":{"position":[[133,6]]}},"keywords":{}}],["substanti",{"_index":1672,"title":{},"content":{"287":{"position":[[856,11]]},"430":{"position":[[658,11]]},"508":{"position":[[151,11]]},"1151":{"position":[[402,11]]},"1178":{"position":[[401,11]]}},"keywords":{}}],["succe",{"_index":610,"title":{},"content":{"38":{"position":[[1123,7]]},"1305":{"position":[[965,8]]}},"keywords":{}}],["success",{"_index":3196,"title":{},"content":{"496":{"position":[[710,10]]},"497":{"position":[[105,7],[519,7]]},"944":{"position":[[150,7],[310,8]]},"945":{"position":[[91,7],[205,8]]},"947":{"position":[[137,7],[281,8]]},"994":{"position":[[117,10]]}},"keywords":{}}],["successfulli",{"_index":3683,"title":{},"content":{"626":{"position":[[515,12]]},"1297":{"position":[[250,12]]}},"keywords":{}}],["successor",{"_index":221,"title":{},"content":{"14":{"position":[[636,9]]}},"keywords":{}}],["such",{"_index":551,"title":{},"content":{"35":{"position":[[155,4]]},"51":{"position":[[977,4]]},"66":{"position":[[24,4]]},"94":{"position":[[92,4]]},"98":{"position":[[22,4]]},"113":{"position":[[214,4]]},"134":{"position":[[158,4]]},"140":{"position":[[208,4]]},"146":{"position":[[63,4]]},"155":{"position":[[191,4]]},"165":{"position":[[191,4]]},"172":{"position":[[170,4]]},"173":{"position":[[1936,4]]},"174":{"position":[[3038,4]]},"179":{"position":[[114,4]]},"186":{"position":[[103,4]]},"192":{"position":[[181,4]]},"196":{"position":[[162,4]]},"202":{"position":[[256,4]]},"218":{"position":[[119,4]]},"222":{"position":[[109,4]]},"227":{"position":[[352,4]]},"236":{"position":[[178,4]]},"266":{"position":[[95,4]]},"300":{"position":[[676,4]]},"303":{"position":[[168,4]]},"350":{"position":[[143,4]]},"354":{"position":[[496,4]]},"362":{"position":[[933,4]]},"375":{"position":[[159,4],[448,4]]},"377":{"position":[[73,4]]},"381":{"position":[[119,4]]},"382":{"position":[[169,4]]},"390":{"position":[[215,4]]},"392":{"position":[[1265,4]]},"393":{"position":[[205,4]]},"396":{"position":[[1669,4]]},"400":{"position":[[648,4]]},"408":{"position":[[700,4]]},"418":{"position":[[110,4],[383,4]]},"420":{"position":[[1234,4]]},"432":{"position":[[1116,4]]},"444":{"position":[[445,4]]},"446":{"position":[[503,4]]},"450":{"position":[[586,4]]},"520":{"position":[[186,4]]},"525":{"position":[[559,4]]},"529":{"position":[[213,4]]},"550":{"position":[[196,4]]},"551":{"position":[[132,4]]},"569":{"position":[[801,4]]},"613":{"position":[[208,4],[437,4]]},"618":{"position":[[120,4]]},"620":{"position":[[139,4]]},"624":{"position":[[549,4]]},"627":{"position":[[234,4]]},"686":{"position":[[901,4]]},"802":{"position":[[357,4]]},"831":{"position":[[101,4]]},"1282":{"position":[[517,4]]}},"keywords":{}}],["suddenli",{"_index":2849,"title":{},"content":{"421":{"position":[[321,8]]}},"keywords":{}}],["sudoletmein",{"_index":3348,"title":{},"content":{"554":{"position":[[1143,13]]},"717":{"position":[[1231,13]]}},"keywords":{}}],["suffer",{"_index":2441,"title":{},"content":{"400":{"position":[[365,7]]},"622":{"position":[[93,6]]}},"keywords":{}}],["suffic",{"_index":3481,"title":{},"content":{"574":{"position":[[694,7]]}},"keywords":{}}],["suffici",{"_index":6008,"title":{},"content":{"1120":{"position":[[478,11]]},"1300":{"position":[[961,10]]}},"keywords":{}}],["suffix",{"_index":4685,"title":{},"content":{"811":{"position":[[107,6]]},"1085":{"position":[[3713,6]]},"1117":{"position":[[257,8]]}},"keywords":{}}],["suggest",{"_index":1294,"title":{},"content":{"189":{"position":[[492,9]]},"299":{"position":[[1579,7]]},"390":{"position":[[1420,8]]},"444":{"position":[[771,9]]}},"keywords":{}}],["suit",{"_index":21,"title":{},"content":{"1":{"position":[[312,5]]},"34":{"position":[[271,6]]},"73":{"position":[[46,6]]},"126":{"position":[[297,6]]},"131":{"position":[[948,5]]},"162":{"position":[[705,6]]},"225":{"position":[[155,6]]},"254":{"position":[[438,6]]},"262":{"position":[[371,4]]},"266":{"position":[[408,5]]},"267":{"position":[[34,6]]},"281":{"position":[[184,6]]},"285":{"position":[[257,4]]},"288":{"position":[[214,5]]},"325":{"position":[[209,6]]},"418":{"position":[[270,6]]},"436":{"position":[[374,4]]},"489":{"position":[[296,4]]},"524":{"position":[[138,5]]},"688":{"position":[[985,6]]},"829":{"position":[[2863,6]]},"906":{"position":[[708,4]]},"1147":{"position":[[401,5]]},"1159":{"position":[[200,7]]},"1245":{"position":[[37,6]]},"1271":{"position":[[316,6]]}},"keywords":{}}],["suitabl",{"_index":232,"title":{"624":{"position":[[29,12]]}},"content":{"14":{"position":[[893,8]]},"47":{"position":[[325,8]]},"63":{"position":[[200,8]]},"287":{"position":[[578,8]]},"336":{"position":[[209,8]]},"365":{"position":[[380,8],[545,8],[1411,8]]},"393":{"position":[[400,8]]},"430":{"position":[[54,8]]},"446":{"position":[[833,8]]},"451":{"position":[[300,8]]},"524":{"position":[[455,8]]},"528":{"position":[[157,8]]},"533":{"position":[[280,8]]},"593":{"position":[[280,8]]},"623":{"position":[[566,8]]},"624":{"position":[[109,12]]},"640":{"position":[[436,8]]},"659":{"position":[[944,8]]},"711":{"position":[[2227,8]]},"835":{"position":[[1008,8]]},"1198":{"position":[[378,8]]},"1284":{"position":[[406,8]]}},"keywords":{}}],["sum",{"_index":6293,"title":{},"content":{"1250":{"position":[[469,5]]}},"keywords":{}}],["sum(column_nam",{"_index":6292,"title":{},"content":{"1250":{"position":[[103,19]]}},"keywords":{}}],["summar",{"_index":1736,"title":{},"content":{"299":{"position":[[131,10]]}},"keywords":{}}],["summari",{"_index":935,"title":{"83":{"position":[[0,8]]},"841":{"position":[[0,8]]}},"content":{"65":{"position":[[1803,8]]},"412":{"position":[[14919,8]]},"432":{"position":[[1277,7]]}},"keywords":{}}],["supabas",{"_index":362,"title":{"22":{"position":[[0,9]]},"895":{"position":[[0,8]]},"896":{"position":[[25,8]]},"898":{"position":[[18,8]]}},"content":{"22":{"position":[[3,8],[303,8]]},"392":{"position":[[827,8]]},"705":{"position":[[1227,9]]},"793":{"position":[[802,8]]},"896":{"position":[[91,8],[136,8],[235,8]]},"897":{"position":[[10,8],[68,8],[297,8],[367,8]]},"898":{"position":[[75,8],[113,8],[465,9],[1660,8],[2715,8],[2746,8],[3041,8],[3176,8],[3291,10],[3371,9],[3435,10],[4228,8]]},"899":{"position":[[336,8]]},"1284":{"position":[[206,8]]}},"keywords":{}}],["supabase.rxdb",{"_index":6381,"title":{},"content":{"1284":{"position":[[240,13]]}},"keywords":{}}],["supabase/gt",{"_index":2450,"title":{},"content":{"401":{"position":[[230,12]]}},"keywords":{}}],["supabase/supabas",{"_index":5186,"title":{},"content":{"896":{"position":[[347,18]]},"898":{"position":[[42,18],[3003,19]]}},"keywords":{}}],["supabase_realtim",{"_index":5208,"title":{},"content":{"898":{"position":[[1470,17]]}},"keywords":{}}],["superhuman",{"_index":798,"title":{},"content":{"52":{"position":[[273,11]]},"539":{"position":[[273,11]]},"599":{"position":[[300,11]]}},"keywords":{}}],["superior",{"_index":1645,"title":{},"content":{"278":{"position":[[223,8]]},"354":{"position":[[1563,9]]}},"keywords":{}}],["superset",{"_index":1654,"title":{},"content":{"281":{"position":[[23,8]]}},"keywords":{}}],["support",{"_index":297,"title":{"74":{"position":[[28,7]]},"80":{"position":[[19,8]]},"105":{"position":[[28,7]]},"109":{"position":[[19,8]]},"125":{"position":[[10,8]]},"160":{"position":[[10,8]]},"232":{"position":[[18,7]]},"237":{"position":[[19,8]]},"253":{"position":[[22,8]]},"281":{"position":[[28,8]]},"330":{"position":[[10,8]]},"380":{"position":[[14,8]]},"458":{"position":[[10,8]]},"459":{"position":[[9,8]]},"460":{"position":[[10,8]]},"519":{"position":[[10,8]]},"589":{"position":[[10,8]]},"989":{"position":[[10,8]]},"1174":{"position":[[10,8]]},"1183":{"position":[[10,8]]},"1251":{"position":[[11,8]]},"1301":{"position":[[21,8]]},"1322":{"position":[[11,8]]}},"content":{"17":{"position":[[505,7]]},"19":{"position":[[502,7]]},"21":{"position":[[174,7]]},"28":{"position":[[646,9]]},"33":{"position":[[268,7],[328,7],[533,8]]},"36":{"position":[[78,7]]},"39":{"position":[[80,8],[618,8]]},"43":{"position":[[210,8]]},"45":{"position":[[210,8]]},"47":{"position":[[564,8],[1002,7],[1091,7]]},"51":{"position":[[6,8]]},"55":{"position":[[59,8]]},"57":{"position":[[49,9],[189,8]]},"59":{"position":[[155,8]]},"74":{"position":[[31,8]]},"77":{"position":[[8,7]]},"79":{"position":[[24,7]]},"80":{"position":[[38,8]]},"83":{"position":[[141,8]]},"105":{"position":[[121,8]]},"109":{"position":[[15,8]]},"120":{"position":[[318,8]]},"123":{"position":[[24,7]]},"124":{"position":[[48,7]]},"125":{"position":[[30,7]]},"131":{"position":[[6,8],[225,8]]},"132":{"position":[[138,7]]},"135":{"position":[[6,8]]},"139":{"position":[[24,7]]},"141":{"position":[[63,8]]},"144":{"position":[[6,8]]},"160":{"position":[[23,8]]},"162":{"position":[[329,9]]},"174":{"position":[[609,7],[715,7],[792,8],[1791,8],[1833,8]]},"195":{"position":[[43,8]]},"210":{"position":[[50,8]]},"222":{"position":[[200,7]]},"232":{"position":[[115,8],[324,8]]},"235":{"position":[[6,8]]},"237":{"position":[[32,8]]},"241":{"position":[[343,8]]},"254":{"position":[[372,9]]},"261":{"position":[[57,8]]},"263":{"position":[[163,8]]},"280":{"position":[[138,10]]},"287":{"position":[[624,9]]},"289":{"position":[[1404,7]]},"303":{"position":[[299,8]]},"312":{"position":[[48,8]]},"318":{"position":[[24,8]]},"320":{"position":[[155,8]]},"323":{"position":[[524,8]]},"328":{"position":[[6,8]]},"334":{"position":[[497,7]]},"336":{"position":[[6,8],[312,9]]},"343":{"position":[[6,8]]},"354":{"position":[[1208,8]]},"356":{"position":[[108,7]]},"357":{"position":[[340,7]]},"364":{"position":[[233,9]]},"365":{"position":[[1538,8]]},"367":{"position":[[447,8]]},"368":{"position":[[105,8]]},"373":{"position":[[343,8]]},"377":{"position":[[167,7]]},"381":{"position":[[66,8]]},"384":{"position":[[61,8]]},"386":{"position":[[301,8]]},"387":{"position":[[236,8]]},"400":{"position":[[326,8]]},"404":{"position":[[137,9],[280,8]]},"408":{"position":[[1064,8]]},"412":{"position":[[2596,7],[2766,7],[13570,7]]},"419":{"position":[[620,7],[1444,10]]},"422":{"position":[[122,7]]},"426":{"position":[[74,8]]},"432":{"position":[[415,7]]},"437":{"position":[[135,8],[178,7]]},"439":{"position":[[49,7]]},"440":{"position":[[209,7],[468,7]]},"445":{"position":[[2147,8]]},"452":{"position":[[262,7]]},"455":{"position":[[760,9]]},"457":{"position":[[573,7]]},"458":{"position":[[487,7]]},"459":{"position":[[264,7]]},"462":{"position":[[933,7]]},"470":{"position":[[543,7]]},"498":{"position":[[398,7]]},"502":{"position":[[1138,8]]},"504":{"position":[[1305,8]]},"515":{"position":[[40,7]]},"519":{"position":[[132,8]]},"525":{"position":[[515,7]]},"526":{"position":[[88,8]]},"530":{"position":[[394,8]]},"533":{"position":[[240,8]]},"535":{"position":[[557,8],[591,7],[1183,8]]},"542":{"position":[[11,8]]},"546":{"position":[[188,8]]},"551":{"position":[[14,8]]},"556":{"position":[[650,8]]},"563":{"position":[[143,8]]},"566":{"position":[[1241,9],[1264,9],[1356,8]]},"575":{"position":[[540,8]]},"579":{"position":[[506,7]]},"581":{"position":[[6,8]]},"586":{"position":[[55,8]]},"593":{"position":[[240,8]]},"595":{"position":[[584,8],[618,7],[1260,8]]},"606":{"position":[[188,8]]},"613":{"position":[[707,10],[800,7],[934,10]]},"614":{"position":[[287,8]]},"616":{"position":[[561,7]]},"622":{"position":[[579,7]]},"624":{"position":[[719,7],[932,9],[1159,8],[1217,7],[1556,7]]},"631":{"position":[[110,8]]},"634":{"position":[[57,8]]},"638":{"position":[[142,8]]},"640":{"position":[[214,7]]},"641":{"position":[[320,10]]},"659":{"position":[[898,9]]},"689":{"position":[[278,9]]},"709":{"position":[[402,8]]},"723":{"position":[[2069,7],[2420,7],[2529,8]]},"728":{"position":[[91,7]]},"730":{"position":[[263,10]]},"749":{"position":[[23251,7]]},"763":{"position":[[6,8]]},"824":{"position":[[491,7]]},"831":{"position":[[62,8]]},"835":{"position":[[969,9]]},"838":{"position":[[602,7],[801,8],[850,8]]},"840":{"position":[[278,7]]},"845":{"position":[[10,7]]},"863":{"position":[[278,7]]},"870":{"position":[[71,7],[232,7]]},"871":{"position":[[742,9]]},"882":{"position":[[157,7]]},"911":{"position":[[27,7],[130,8]]},"917":{"position":[[421,7],[502,8]]},"932":{"position":[[648,9]]},"962":{"position":[[308,9]]},"968":{"position":[[148,9]]},"981":{"position":[[1197,8],[1280,8],[1503,8]]},"1004":{"position":[[27,9],[105,7]]},"1072":{"position":[[86,7],[626,7],[1190,7],[1627,7],[1758,7],[2057,7]]},"1079":{"position":[[6,8]]},"1088":{"position":[[179,7]]},"1112":{"position":[[526,9]]},"1123":{"position":[[506,8]]},"1124":{"position":[[609,8],[744,8]]},"1132":{"position":[[589,8],[1351,8]]},"1141":{"position":[[242,7]]},"1143":{"position":[[448,8],[610,7]]},"1151":{"position":[[705,8]]},"1162":{"position":[[13,7],[762,7]]},"1165":{"position":[[43,7]]},"1171":{"position":[[13,7]]},"1178":{"position":[[704,8]]},"1181":{"position":[[13,7]]},"1188":{"position":[[178,10]]},"1207":{"position":[[67,9],[169,9],[205,8]]},"1211":{"position":[[259,7],[373,9]]},"1214":{"position":[[136,7]]},"1271":{"position":[[208,7],[397,8],[698,8]]},"1282":{"position":[[1003,7]]},"1288":{"position":[[55,9]]},"1301":{"position":[[971,7]]},"1304":{"position":[[1201,7],[1526,7],[1665,7]]}},"keywords":{}}],["support.rxdb",{"_index":997,"title":{},"content":{"84":{"position":[[240,12]]},"114":{"position":[[253,12]]},"149":{"position":[[253,12]]},"175":{"position":[[246,12]]},"347":{"position":[[253,12]]},"362":{"position":[[1324,12]]},"511":{"position":[[253,12]]},"531":{"position":[[253,12]]},"591":{"position":[[253,12]]}},"keywords":{}}],["supporteddo",{"_index":6159,"title":{},"content":{"1188":{"position":[[116,14]]}},"keywords":{}}],["supportedrxattach",{"_index":6158,"title":{},"content":{"1188":{"position":[[75,22]]}},"keywords":{}}],["supportperform",{"_index":6243,"title":{},"content":{"1216":{"position":[[68,18]]}},"keywords":{}}],["suppos",{"_index":3173,"title":{},"content":{"493":{"position":[[64,7]]},"1006":{"position":[[1,7]]}},"keywords":{}}],["sure",{"_index":1089,"title":{},"content":{"129":{"position":[[456,4]]},"554":{"position":[[1165,4]]},"590":{"position":[[708,4]]},"627":{"position":[[263,4]]},"666":{"position":[[58,4],[251,4]]},"709":{"position":[[967,4]]},"737":{"position":[[89,4]]},"749":{"position":[[5648,4]]},"770":{"position":[[606,4]]},"795":{"position":[[59,4]]},"861":{"position":[[2319,4]]},"872":{"position":[[784,4]]},"884":{"position":[[46,4]]},"886":{"position":[[4706,4]]},"904":{"position":[[34,4]]},"917":{"position":[[457,4]]},"1083":{"position":[[39,4]]},"1097":{"position":[[475,4]]},"1107":{"position":[[1010,4]]},"1124":{"position":[[1115,4]]},"1126":{"position":[[80,4]]},"1164":{"position":[[1398,4]]},"1175":{"position":[[76,4]]},"1184":{"position":[[242,4]]},"1192":{"position":[[733,4]]},"1280":{"position":[[53,4]]}},"keywords":{}}],["surg",{"_index":3244,"title":{},"content":{"510":{"position":[[475,6]]}},"keywords":{}}],["surpass",{"_index":3413,"title":{},"content":{"559":{"position":[[1704,7]]}},"keywords":{}}],["surprisingli",{"_index":2898,"title":{},"content":{"429":{"position":[[79,12]]},"463":{"position":[[868,12]]},"467":{"position":[[400,12]]}},"keywords":{}}],["survey",{"_index":2945,"title":{},"content":{"446":{"position":[[167,6]]}},"keywords":{}}],["surviv",{"_index":2920,"title":{},"content":{"436":{"position":[[201,8]]},"473":{"position":[[113,9]]}},"keywords":{}}],["sustain",{"_index":2836,"title":{},"content":{"420":{"position":[[1017,7]]},"1151":{"position":[[466,15]]},"1178":{"position":[[465,15]]}},"keywords":{}}],["svelt",{"_index":259,"title":{},"content":{"15":{"position":[[338,7]]},"94":{"position":[[131,7]]},"173":{"position":[[2329,7]]},"222":{"position":[[148,7]]}},"keywords":{}}],["swagger",{"_index":2120,"title":{},"content":{"367":{"position":[[660,9]]},"784":{"position":[[122,7]]}},"keywords":{}}],["swap",{"_index":1580,"title":{},"content":{"255":{"position":[[1614,8]]},"369":{"position":[[1346,4]]},"383":{"position":[[325,4]]},"556":{"position":[[1990,8]]},"846":{"position":[[514,7]]},"988":{"position":[[3097,4]]},"1124":{"position":[[185,4],[367,4]]},"1198":{"position":[[1221,4]]}},"keywords":{}}],["swappabl",{"_index":1335,"title":{},"content":{"207":{"position":[[227,9]]},"254":{"position":[[244,9]]},"535":{"position":[[1255,9]]},"595":{"position":[[1308,9]]},"640":{"position":[[25,10]]},"1124":{"position":[[141,9]]}},"keywords":{}}],["swift",{"_index":680,"title":{},"content":{"43":{"position":[[520,5]]},"70":{"position":[[196,5]]},"283":{"position":[[120,5]]}},"keywords":{}}],["swiftli",{"_index":928,"title":{},"content":{"65":{"position":[[1462,8]]},"569":{"position":[[709,7]]},"571":{"position":[[1469,8],[1781,7]]}},"keywords":{}}],["switch",{"_index":397,"title":{},"content":{"24":{"position":[[129,6]]},"249":{"position":[[468,6]]},"314":{"position":[[171,6]]},"330":{"position":[[120,6]]},"402":{"position":[[2077,6]]},"420":{"position":[[651,9]]},"626":{"position":[[823,6],[1004,8]]},"710":{"position":[[2232,6]]},"875":{"position":[[8866,9]]},"887":{"position":[[196,6]]},"981":{"position":[[447,9]]},"984":{"position":[[657,6]]},"988":{"position":[[996,6],[4086,6]]},"1009":{"position":[[450,6]]},"1095":{"position":[[70,6]]},"1143":{"position":[[82,6]]},"1195":{"position":[[213,6]]}},"keywords":{}}],["symbol",{"_index":2819,"title":{},"content":{"419":{"position":[[1749,7]]},"1290":{"position":[[187,6]]},"1291":{"position":[[185,6]]}},"keywords":{}}],["symmetr",{"_index":4019,"title":{},"content":{"716":{"position":[[35,9]]}},"keywords":{}}],["sync",{"_index":315,"title":{"199":{"position":[[59,4]]},"208":{"position":[[11,7]]},"209":{"position":[[13,4]]},"246":{"position":[[42,4]]},"255":{"position":[[16,4]]},"260":{"position":[[0,5]]},"307":{"position":[[58,4]]},"312":{"position":[[13,4]]},"472":{"position":[[42,4]]},"481":{"position":[[12,4]]},"565":{"position":[[8,5]]},"629":{"position":[[42,5]]},"632":{"position":[[10,4]]},"774":{"position":[[29,6]]},"869":{"position":[[63,4]]},"872":{"position":[[39,5]]},"895":{"position":[[64,4]]},"898":{"position":[[27,5]]},"900":{"position":[[35,4]]},"902":{"position":[[16,4]]},"980":{"position":[[16,4]]},"981":{"position":[[24,4]]},"982":{"position":[[4,4]]},"983":{"position":[[4,4]]},"1006":{"position":[[8,4]]},"1008":{"position":[[6,4]]},"1009":{"position":[[8,4]]},"1147":{"position":[[0,4]]},"1148":{"position":[[19,5]]},"1160":{"position":[[7,6]]},"1165":{"position":[[42,6]]}},"content":{"18":{"position":[[440,4]]},"36":{"position":[[357,4]]},"38":{"position":[[29,4]]},"39":{"position":[[131,6],[363,5],[421,4]]},"41":{"position":[[94,7]]},"42":{"position":[[88,5],[348,4]]},"46":{"position":[[214,4]]},"47":{"position":[[1033,5]]},"57":{"position":[[73,4]]},"125":{"position":[[181,4]]},"130":{"position":[[307,4]]},"182":{"position":[[308,4]]},"201":{"position":[[355,7]]},"204":{"position":[[238,4]]},"206":{"position":[[311,4]]},"208":{"position":[[22,4]]},"245":{"position":[[27,4]]},"249":{"position":[[274,8]]},"251":{"position":[[187,7]]},"255":{"position":[[40,4],[315,4]]},"261":{"position":[[16,7],[169,4],[441,4],[964,4],[1090,4]]},"262":{"position":[[114,4],[292,4]]},"263":{"position":[[84,4],[575,4]]},"275":{"position":[[293,4]]},"288":{"position":[[348,5]]},"311":{"position":[[267,7]]},"312":{"position":[[116,4]]},"318":{"position":[[116,7],[677,4]]},"323":{"position":[[610,4]]},"328":{"position":[[187,5]]},"331":{"position":[[192,4]]},"338":{"position":[[173,5]]},"360":{"position":[[409,4],[440,4],[578,4]]},"375":{"position":[[256,4],[803,7]]},"407":{"position":[[234,4],[690,6]]},"408":{"position":[[5477,4]]},"410":{"position":[[1095,4],[1515,4],[2072,4]]},"411":{"position":[[126,5],[141,4],[725,4],[2507,4],[2937,4],[4716,4],[4952,8],[5010,8],[5072,4],[5238,5]]},"412":{"position":[[983,5],[1168,8],[1273,4],[1322,4],[1996,4],[2198,5],[2957,4],[3188,5],[5821,4],[5943,6],[6852,7],[7289,4],[7453,4],[8452,6],[9117,4],[9247,4],[10950,4],[11592,4],[12335,4],[12889,4],[12961,4],[13093,4],[13521,7],[14554,4]]},"414":{"position":[[192,4]]},"415":{"position":[[185,7]]},"419":{"position":[[1135,5]]},"420":{"position":[[690,7],[1582,6]]},"421":{"position":[[817,7]]},"439":{"position":[[455,4]]},"445":{"position":[[690,5]]},"480":{"position":[[151,5]]},"481":{"position":[[13,4],[394,5],[718,6],[840,4]]},"483":{"position":[[506,7]]},"486":{"position":[[333,6]]},"487":{"position":[[129,4],[197,7]]},"489":{"position":[[795,4]]},"491":{"position":[[86,4],[166,4]]},"495":{"position":[[166,7]]},"498":{"position":[[321,8]]},"559":{"position":[[1430,4]]},"561":{"position":[[82,4]]},"562":{"position":[[1736,5],[1761,4]]},"566":{"position":[[1055,4]]},"567":{"position":[[1200,8]]},"572":{"position":[[68,4]]},"574":{"position":[[308,4]]},"575":{"position":[[365,5]]},"626":{"position":[[611,4],[799,4],[926,5],[1065,4],[1156,4]]},"631":{"position":[[378,4]]},"632":{"position":[[2007,4],[2279,5]]},"644":{"position":[[103,7]]},"661":{"position":[[1745,4]]},"696":{"position":[[457,7]]},"705":{"position":[[931,4]]},"710":{"position":[[336,4],[382,4]]},"711":{"position":[[2059,4]]},"793":{"position":[[625,4]]},"836":{"position":[[1847,7],[1942,7]]},"838":{"position":[[587,5],[614,7],[713,4]]},"839":{"position":[[408,4],[492,4],[874,5],[945,4],[1256,7]]},"841":{"position":[[425,4],[645,4],[755,4],[769,4],[817,4],[1526,4]]},"855":{"position":[[316,4]]},"857":{"position":[[542,5]]},"860":{"position":[[568,5]]},"867":{"position":[[311,4]]},"870":{"position":[[199,4]]},"872":{"position":[[2099,4],[2571,6],[3586,4]]},"875":{"position":[[8913,4]]},"896":{"position":[[77,4],[301,4]]},"898":{"position":[[4062,4]]},"902":{"position":[[243,4]]},"903":{"position":[[672,4]]},"905":{"position":[[75,4]]},"913":{"position":[[224,4]]},"981":{"position":[[77,4],[153,4],[393,4],[1381,4]]},"985":{"position":[[657,4]]},"988":{"position":[[758,4],[6059,4]]},"995":{"position":[[635,5],[1234,4],[1389,4],[1460,4],[1498,4],[1543,6],[1732,6]]},"996":{"position":[[101,4]]},"1004":{"position":[[49,4]]},"1006":{"position":[[286,4]]},"1007":{"position":[[980,5]]},"1009":{"position":[[279,4]]},"1033":{"position":[[545,6]]},"1094":{"position":[[245,4]]},"1101":{"position":[[107,4]]},"1121":{"position":[[112,4],[276,4]]},"1124":{"position":[[1901,4]]},"1147":{"position":[[27,4]]},"1148":{"position":[[201,5],[249,4]]},"1149":{"position":[[217,4],[1237,4]]},"1150":{"position":[[600,4]]},"1162":{"position":[[731,6],[868,6],[965,6],[1024,6]]},"1163":{"position":[[160,8],[372,6]]},"1165":{"position":[[12,6],[637,6],[951,6]]},"1198":{"position":[[1741,4]]},"1316":{"position":[[553,6]]},"1320":{"position":[[863,4]]}},"keywords":{}}],["sync"",{"_index":1507,"title":{},"content":{"244":{"position":[[980,10],[1108,10]]}},"keywords":{}}],["sync').pip",{"_index":5518,"title":{},"content":{"995":{"position":[[1932,12]]}},"keywords":{}}],["syncfirestor",{"_index":4331,"title":{},"content":{"749":{"position":[[15136,15]]}},"keywords":{}}],["synchron",{"_index":613,"title":{"132":{"position":[[0,13]]},"135":{"position":[[14,16]]},"147":{"position":[[5,15]]},"163":{"position":[[0,13]]},"190":{"position":[[0,13]]},"337":{"position":[[0,13]]},"340":{"position":[[14,16]]},"525":{"position":[[0,13]]},"582":{"position":[[0,13]]}},"content":{"39":{"position":[[42,15]]},"40":{"position":[[256,15]]},"47":{"position":[[868,16]]},"68":{"position":[[52,16]]},"80":{"position":[[135,16]]},"82":{"position":[[109,15]]},"89":{"position":[[320,12]]},"103":{"position":[[166,15]]},"109":{"position":[[62,15]]},"113":{"position":[[160,15]]},"121":{"position":[[148,16]]},"122":{"position":[[195,12]]},"123":{"position":[[101,11]]},"126":{"position":[[166,15]]},"132":{"position":[[155,16]]},"133":{"position":[[189,12]]},"135":{"position":[[34,16]]},"147":{"position":[[24,15],[270,15]]},"148":{"position":[[143,16]]},"151":{"position":[[228,15]]},"152":{"position":[[298,16]]},"153":{"position":[[375,15]]},"155":{"position":[[285,16]]},"157":{"position":[[192,13],[359,12]]},"158":{"position":[[126,15]]},"161":{"position":[[253,15]]},"164":{"position":[[326,13]]},"165":{"position":[[75,13],[379,15]]},"170":{"position":[[143,12],[328,15]]},"173":{"position":[[385,15]]},"174":{"position":[[411,15],[1901,11]]},"181":{"position":[[292,15]]},"183":{"position":[[201,12]]},"184":{"position":[[135,15],[285,16]]},"190":{"position":[[52,11],[141,15]]},"191":{"position":[[160,12]]},"192":{"position":[[80,15],[153,15],[365,15]]},"198":{"position":[[129,16]]},"208":{"position":[[334,16]]},"210":{"position":[[72,15]]},"211":{"position":[[526,11]]},"223":{"position":[[283,15]]},"233":{"position":[[270,12]]},"235":{"position":[[240,12]]},"237":{"position":[[55,15],[170,16]]},"238":{"position":[[246,12]]},"241":{"position":[[563,16]]},"248":{"position":[[254,12]]},"267":{"position":[[196,15],[371,12],[714,13]]},"274":{"position":[[282,15]]},"279":{"position":[[234,11],[445,15]]},"280":{"position":[[340,15]]},"289":{"position":[[104,15],[540,11],[759,15],[835,15],[1654,15]]},"293":{"position":[[218,15]]},"309":{"position":[[301,12]]},"321":{"position":[[546,15]]},"322":{"position":[[229,11]]},"323":{"position":[[273,12],[367,15]]},"325":{"position":[[87,12]]},"327":{"position":[[238,12]]},"330":{"position":[[62,12]]},"340":{"position":[[105,15]]},"365":{"position":[[1174,15],[1344,16]]},"368":{"position":[[382,16]]},"369":{"position":[[1050,13]]},"373":{"position":[[580,16]]},"375":{"position":[[547,16]]},"380":{"position":[[250,12]]},"381":{"position":[[75,15]]},"408":{"position":[[1724,11]]},"411":{"position":[[1371,15],[2240,13]]},"412":{"position":[[511,16],[533,15]]},"419":{"position":[[510,13]]},"420":{"position":[[793,16]]},"444":{"position":[[700,15],[902,16]]},"445":{"position":[[316,15],[805,16],[865,16],[1145,15]]},"446":{"position":[[284,15],[608,15]]},"447":{"position":[[151,16]]},"475":{"position":[[273,15]]},"491":{"position":[[833,16]]},"501":{"position":[[199,15]]},"502":{"position":[[125,15],[547,15]]},"504":{"position":[[530,13],[619,15],[825,15],[1032,15],[1092,12],[1356,15]]},"514":{"position":[[214,13]]},"516":{"position":[[294,12]]},"517":{"position":[[71,15],[200,15]]},"525":{"position":[[105,16],[456,15],[531,15],[715,15]]},"530":{"position":[[417,16]]},"544":{"position":[[94,11]]},"556":{"position":[[1652,13]]},"559":{"position":[[1072,12]]},"560":{"position":[[89,11]]},"565":{"position":[[45,16]]},"566":{"position":[[658,11]]},"567":{"position":[[321,16]]},"570":{"position":[[302,12]]},"574":{"position":[[782,15]]},"575":{"position":[[466,12]]},"582":{"position":[[187,11],[261,16]]},"589":{"position":[[80,12]]},"604":{"position":[[94,11]]},"630":{"position":[[468,15]]},"631":{"position":[[394,11]]},"836":{"position":[[2325,15]]},"849":{"position":[[27,15],[115,15],[585,16]]},"860":{"position":[[536,12]]},"871":{"position":[[462,15]]},"903":{"position":[[31,15]]},"1132":{"position":[[968,16]]},"1148":{"position":[[90,16]]},"1207":{"position":[[264,11],[510,11]]},"1208":{"position":[[159,13],[278,13],[509,11]]}},"keywords":{}}],["synchronization.conflict",{"_index":3701,"title":{},"content":{"632":{"position":[[443,24]]}},"keywords":{}}],["syncincrement",{"_index":4933,"title":{},"content":{"870":{"position":[[109,15]]}},"keywords":{}}],["syncliv",{"_index":5183,"title":{},"content":{"896":{"position":[[214,8]]}},"keywords":{}}],["synclocaltasks(db",{"_index":3708,"title":{},"content":{"632":{"position":[[2189,18]]}},"keywords":{}}],["synergi",{"_index":4815,"title":{},"content":{"841":{"position":[[1415,7]]}},"keywords":{}}],["syntax",{"_index":274,"title":{"1249":{"position":[[12,7]]}},"content":{"16":{"position":[[258,7]]},"19":{"position":[[305,6]]},"23":{"position":[[458,6]]},"32":{"position":[[144,6]]},"661":{"position":[[202,7]]},"686":{"position":[[279,6]]},"711":{"position":[[236,7]]},"749":{"position":[[4380,9],[4631,9]]},"836":{"position":[[204,7]]},"1041":{"position":[[48,7]]},"1065":{"position":[[364,6]]},"1071":{"position":[[60,6],[133,6]]},"1249":{"position":[[428,6]]},"1251":{"position":[[141,6]]},"1317":{"position":[[426,6]]}},"keywords":{}}],["system",{"_index":395,"title":{"433":{"position":[[5,6]]},"1205":{"position":[[20,6]]},"1215":{"position":[[24,6],[66,6]]}},"content":{"24":{"position":[[103,6]]},"40":{"position":[[681,7]]},"59":{"position":[[66,6]]},"82":{"position":[[77,8]]},"113":{"position":[[111,8]]},"131":{"position":[[423,6],[538,6]]},"134":{"position":[[18,7]]},"162":{"position":[[408,7],[426,6]]},"172":{"position":[[55,6]]},"207":{"position":[[394,7]]},"238":{"position":[[102,8],[276,6]]},"250":{"position":[[369,8]]},"267":{"position":[[308,8]]},"287":{"position":[[710,7]]},"302":{"position":[[592,6]]},"336":{"position":[[268,6]]},"339":{"position":[[224,8]]},"354":{"position":[[569,6],[950,7],[1061,7]]},"364":{"position":[[379,8]]},"369":{"position":[[233,6]]},"372":{"position":[[192,6]]},"375":{"position":[[601,7]]},"390":{"position":[[1926,7]]},"408":{"position":[[1552,6],[1584,6],[4195,7]]},"410":{"position":[[1731,6]]},"411":{"position":[[905,7],[1074,8],[1754,6]]},"412":{"position":[[813,8],[1731,6],[2573,6],[3225,7],[3275,7],[5642,6],[6439,7]]},"418":{"position":[[281,7]]},"433":{"position":[[45,6]]},"444":{"position":[[43,7]]},"453":{"position":[[25,6],[245,7]]},"454":{"position":[[998,7]]},"463":{"position":[[520,6]]},"476":{"position":[[115,6]]},"491":{"position":[[150,6]]},"495":{"position":[[641,8]]},"504":{"position":[[314,6]]},"524":{"position":[[428,6]]},"533":{"position":[[134,6]]},"546":{"position":[[121,6]]},"569":{"position":[[287,8],[346,7],[418,7],[474,7],[1377,7],[1568,7]]},"574":{"position":[[935,7]]},"581":{"position":[[274,6]]},"593":{"position":[[134,6]]},"606":{"position":[[121,6]]},"618":{"position":[[60,7],[218,7]]},"632":{"position":[[649,6]]},"635":{"position":[[518,7]]},"640":{"position":[[189,7]]},"688":{"position":[[205,7]]},"690":{"position":[[202,6]]},"703":{"position":[[199,7]]},"737":{"position":[[366,6]]},"772":{"position":[[87,7]]},"802":{"position":[[69,7],[650,6]]},"831":{"position":[[141,6],[485,6]]},"837":{"position":[[969,6]]},"908":{"position":[[134,6]]},"1094":{"position":[[644,7]]},"1132":{"position":[[411,6],[582,6]]},"1146":{"position":[[29,6]]},"1198":{"position":[[268,7]]},"1206":{"position":[[25,6]]},"1207":{"position":[[53,6]]},"1208":{"position":[[694,7]]},"1209":{"position":[[33,6]]},"1214":{"position":[[21,6]]},"1215":{"position":[[69,6],[115,6],[140,6],[206,7],[272,7],[296,6],[388,6],[428,6]]},"1216":{"position":[[18,6]]},"1244":{"position":[[41,6]]},"1297":{"position":[[343,7]]},"1313":{"position":[[119,6],[406,6],[1042,6]]},"1322":{"position":[[215,8]]}},"keywords":{}}],["system'",{"_index":3653,"title":{},"content":{"618":{"position":[[415,8]]}},"keywords":{}}],["system.then",{"_index":6566,"title":{},"content":{"1317":{"position":[[498,11]]}},"keywords":{}}],["systembrows",{"_index":6242,"title":{},"content":{"1216":{"position":[[54,13]]}},"keywords":{}}],["t",{"_index":4727,"title":{},"content":{"825":{"position":[[815,1]]}},"keywords":{}}],["t.titl",{"_index":4729,"title":{},"content":{"825":{"position":[[848,7]]}},"keywords":{}}],["tab",{"_index":281,"title":{"80":{"position":[[15,3]]},"109":{"position":[[15,3]]},"125":{"position":[[6,3]]},"160":{"position":[[6,3]]},"237":{"position":[[15,3]]},"330":{"position":[[6,3]]},"458":{"position":[[6,3]]},"475":{"position":[[9,3]]},"519":{"position":[[6,3]]},"589":{"position":[[6,3]]},"755":{"position":[[19,3]]},"779":{"position":[[6,3]]},"989":{"position":[[6,3]]},"1174":{"position":[[6,3]]},"1183":{"position":[[6,3]]},"1301":{"position":[[17,3]]}},"content":{"16":{"position":[[522,5]]},"33":{"position":[[264,3]]},"47":{"position":[[864,3],[942,4],[998,3],[1025,4]]},"53":{"position":[[147,5]]},"80":{"position":[[34,3],[111,5]]},"109":{"position":[[30,3],[111,4]]},"120":{"position":[[314,3]]},"125":{"position":[[48,3],[138,5],[197,5],[239,3]]},"160":{"position":[[19,3],[101,5],[153,3],[201,5]]},"174":{"position":[[1787,3],[1829,3],[2013,4]]},"237":{"position":[[28,3],[116,5],[238,4]]},"314":{"position":[[600,3]]},"323":{"position":[[363,3],[520,3],[585,5]]},"325":{"position":[[273,3]]},"328":{"position":[[152,4]]},"330":{"position":[[37,5],[97,5]]},"334":{"position":[[493,3]]},"340":{"position":[[147,4]]},"368":{"position":[[344,5]]},"392":{"position":[[2178,4]]},"410":{"position":[[1535,4]]},"411":{"position":[[2396,5],[3949,3],[4070,4],[4222,4],[4262,4],[4355,4],[4370,3],[4498,3],[4549,4],[4578,3]]},"427":{"position":[[1128,3],[1215,4]]},"436":{"position":[[174,3]]},"451":{"position":[[888,3]]},"458":{"position":[[145,4],[545,5],[624,4],[1134,5],[1221,4],[1520,4]]},"467":{"position":[[615,3]]},"468":{"position":[[715,4]]},"475":{"position":[[54,5],[88,4],[157,3],[234,4]]},"483":{"position":[[103,3]]},"490":{"position":[[314,3],[387,5],[408,3]]},"502":{"position":[[1134,3],[1182,3],[1244,4]]},"519":{"position":[[52,4],[128,3],[182,3],[222,5],[353,5]]},"535":{"position":[[866,3],[900,3],[989,3]]},"541":{"position":[[883,5]]},"548":{"position":[[372,3]]},"559":{"position":[[1339,4]]},"562":{"position":[[1716,4]]},"566":{"position":[[862,4],[897,4]]},"571":{"position":[[417,4]]},"575":{"position":[[495,5],[536,3],[591,4]]},"579":{"position":[[502,3]]},"589":{"position":[[29,4],[148,3]]},"595":{"position":[[941,3],[975,3],[1066,3]]},"600":{"position":[[204,5]]},"601":{"position":[[858,4]]},"608":{"position":[[370,3]]},"617":{"position":[[199,4],[247,5],[1950,4],[2033,3],[2138,5],[2163,4]]},"634":{"position":[[419,5]]},"709":{"position":[[398,3],[524,3]]},"710":{"position":[[1149,5],[2213,4]]},"723":{"position":[[828,5],[895,4],[978,5]]},"736":{"position":[[344,4]]},"737":{"position":[[118,3],[171,3],[253,4],[394,5]]},"739":{"position":[[164,3]]},"740":{"position":[[278,4]]},"742":{"position":[[43,3]]},"743":{"position":[[166,4]]},"749":{"position":[[5775,3],[8853,3]]},"755":{"position":[[97,3],[202,5]]},"779":{"position":[[84,3],[130,4],[188,5],[233,5],[327,5],[436,4]]},"785":{"position":[[612,4]]},"849":{"position":[[247,3]]},"956":{"position":[[130,4],[166,3]]},"979":{"position":[[211,5]]},"981":{"position":[[1499,3],[1556,4]]},"988":{"position":[[1175,5],[1249,5]]},"989":{"position":[[105,4],[194,3],[442,3]]},"995":{"position":[[248,3],[335,3],[384,4],[893,3],[992,3]]},"1003":{"position":[[122,3],[198,3],[264,3]]},"1030":{"position":[[88,4]]},"1088":{"position":[[269,4]]},"1115":{"position":[[656,4]]},"1117":{"position":[[561,4]]},"1120":{"position":[[316,4]]},"1174":{"position":[[89,5],[226,5],[413,5],[429,3],[461,3],[498,4],[579,3],[627,3]]},"1183":{"position":[[248,5],[409,5]]},"1301":{"position":[[121,4],[248,4],[476,5],[805,4],[1190,4],[1295,4],[1321,3],[1620,3]]},"1307":{"position":[[281,4],[303,4]]}},"keywords":{}}],["tab"",{"_index":3983,"title":{},"content":{"707":{"position":[[328,10]]}},"keywords":{}}],["tab'",{"_index":2890,"title":{},"content":{"427":{"position":[[1149,5]]}},"keywords":{}}],["tab.your",{"_index":5506,"title":{},"content":{"995":{"position":[[1041,8]]}},"keywords":{}}],["tabeasi",{"_index":6300,"title":{},"content":{"1258":{"position":[[58,9]]}},"keywords":{}}],["tabl",{"_index":1651,"title":{"394":{"position":[[42,5]]}},"content":{"279":{"position":[[344,6]]},"282":{"position":[[250,6]]},"299":{"position":[[125,5]]},"350":{"position":[[113,5]]},"351":{"position":[[17,6]]},"352":{"position":[[399,7]]},"353":{"position":[[352,5]]},"356":{"position":[[322,5]]},"360":{"position":[[204,6]]},"364":{"position":[[652,5],[733,7]]},"398":{"position":[[120,5]]},"402":{"position":[[1385,5]]},"412":{"position":[[13636,6]]},"463":{"position":[[1185,5],[1368,6]]},"500":{"position":[[403,6]]},"705":{"position":[[700,6],[1057,6]]},"711":{"position":[[1212,5],[1279,5]]},"896":{"position":[[145,6]]},"898":{"position":[[98,6],[144,6],[773,6],[823,6],[899,5],[1396,5],[1492,5],[1669,6],[3185,5]]},"1253":{"position":[[88,7]]},"1282":{"position":[[920,6],[1011,6]]},"1315":{"position":[[83,7],[189,6],[996,6],[1237,6],[1441,5]]},"1318":{"position":[[388,5],[469,5],[1007,5],[1047,7]]},"1319":{"position":[[478,6],[541,5]]},"1323":{"position":[[43,6]]}},"keywords":{}}],["table/collect",{"_index":6448,"title":{},"content":{"1295":{"position":[[154,17],[250,17]]}},"keywords":{}}],["table_a",{"_index":6545,"title":{},"content":{"1316":{"position":[[875,7],[916,7]]}},"keywords":{}}],["table_a.amountinstock",{"_index":6547,"title":{},"content":{"1316":{"position":[[930,21]]}},"keywords":{}}],["table_a.instock",{"_index":6546,"title":{},"content":{"1316":{"position":[[887,15]]}},"keywords":{}}],["tablenam",{"_index":5218,"title":{},"content":{"898":{"position":[[3342,10]]}},"keywords":{}}],["tabs"",{"_index":2633,"title":{},"content":{"411":{"position":[[4667,11]]}},"keywords":{}}],["tabs.th",{"_index":2991,"title":{},"content":{"458":{"position":[[1417,8]]}},"keywords":{}}],["tackl",{"_index":1429,"title":{},"content":{"240":{"position":[[127,7]]}},"keywords":{}}],["tactic",{"_index":1820,"title":{},"content":{"303":{"position":[[121,7]]}},"keywords":{}}],["tailor",{"_index":1150,"title":{},"content":{"147":{"position":[[297,8]]},"271":{"position":[[180,8]]},"287":{"position":[[211,6]]},"412":{"position":[[1355,8]]},"576":{"position":[[394,6]]},"1132":{"position":[[676,8]]}},"keywords":{}}],["take",{"_index":888,"title":{},"content":{"61":{"position":[[424,5]]},"114":{"position":[[652,4]]},"143":{"position":[[197,5]]},"151":{"position":[[49,4]]},"164":{"position":[[313,4]]},"284":{"position":[[193,4]]},"362":{"position":[[779,4]]},"375":{"position":[[172,6]]},"388":{"position":[[433,6]]},"391":{"position":[[324,5]]},"392":{"position":[[2509,5],[3063,5],[3138,4]]},"394":{"position":[[1621,5]]},"399":{"position":[[622,4]]},"400":{"position":[[168,5]]},"401":{"position":[[666,4]]},"404":{"position":[[888,4]]},"408":{"position":[[4592,4]]},"411":{"position":[[5790,5]]},"412":{"position":[[10629,5],[10668,4]]},"446":{"position":[[134,6]]},"463":{"position":[[587,5],[862,5],[1191,5]]},"464":{"position":[[756,4],[1202,5]]},"465":{"position":[[66,5]]},"467":{"position":[[691,5]]},"468":{"position":[[528,5]]},"567":{"position":[[66,4]]},"699":{"position":[[456,5]]},"704":{"position":[[76,5],[218,5]]},"721":{"position":[[182,4]]},"752":{"position":[[215,4],[567,5]]},"810":{"position":[[71,5]]},"824":{"position":[[533,4]]},"1150":{"position":[[497,5]]},"1192":{"position":[[487,4]]},"1246":{"position":[[189,4],[509,4]]},"1301":{"position":[[1396,5]]},"1313":{"position":[[295,6],[568,6]]},"1316":{"position":[[2131,5]]}},"keywords":{}}],["taken",{"_index":2325,"title":{},"content":{"394":{"position":[[1487,5]]},"401":{"position":[[29,5]]}},"keywords":{}}],["talk",{"_index":2507,"title":{},"content":{"404":{"position":[[736,6]]},"422":{"position":[[205,4]]},"569":{"position":[[989,4]]},"570":{"position":[[6,7]]},"1304":{"position":[[6,7]]}},"keywords":{}}],["tanstack",{"_index":4621,"title":{},"content":{"793":{"position":[[1252,8]]}},"keywords":{}}],["tap",{"_index":2135,"title":{},"content":{"373":{"position":[[411,3]]},"504":{"position":[[187,7]]}},"keywords":{}}],["target",{"_index":1216,"title":{},"content":{"174":{"position":[[1138,8]]},"1266":{"position":[[512,7]]}},"keywords":{}}],["task",{"_index":1157,"title":{},"content":{"151":{"position":[[357,4]]},"209":{"position":[[384,6],[410,5],[699,5]]},"255":{"position":[[728,6],[754,5],[1046,5]]},"364":{"position":[[836,6]]},"392":{"position":[[3740,5]]},"408":{"position":[[3706,5]]},"411":{"position":[[619,6]]},"412":{"position":[[10797,5]]},"446":{"position":[[148,4]]},"480":{"position":[[493,6],[519,6],[892,8],[941,5]]},"481":{"position":[[711,6]]},"569":{"position":[[210,5],[1385,4]]},"632":{"position":[[1478,6],[1504,5],[1846,5],[2285,7],[2445,5]]},"634":{"position":[[296,4]]},"653":{"position":[[687,5]]},"765":{"position":[[199,5]]},"801":{"position":[[673,5]]},"860":{"position":[[74,5]]},"904":{"position":[[1207,6]]},"975":{"position":[[195,5],[262,6]]},"1158":{"position":[[317,6],[343,6],[590,5]]},"1175":{"position":[[460,6]]},"1313":{"position":[[848,6]]}},"keywords":{}}],["tasks—databas",{"_index":2100,"title":{},"content":{"362":{"position":[[657,15]]}},"keywords":{}}],["tauri",{"_index":4615,"title":{"1280":{"position":[[11,5]]}},"content":{"793":{"position":[[330,6]]},"1280":{"position":[[9,5],[34,5],[117,5],[218,5],[390,7]]}},"keywords":{}}],["tauri.us",{"_index":6360,"title":{},"content":{"1280":{"position":[[163,9]]}},"keywords":{}}],["team",{"_index":2094,"title":{},"content":{"362":{"position":[[431,6]]},"384":{"position":[[378,5]]},"387":{"position":[[442,5]]},"644":{"position":[[588,6]]},"835":{"position":[[640,4]]},"1133":{"position":[[338,6]]},"1148":{"position":[[64,5]]},"1292":{"position":[[10,4]]}},"keywords":{}}],["technic",{"_index":2586,"title":{},"content":{"409":{"position":[[259,11]]},"419":{"position":[[771,9],[1265,9]]},"624":{"position":[[333,9]]},"699":{"position":[[337,9]]}},"keywords":{}}],["techniqu",{"_index":1119,"title":{"137":{"position":[[27,11]]},"166":{"position":[[27,11]]},"193":{"position":[[27,11]]},"341":{"position":[[27,11]]},"505":{"position":[[27,11]]},"526":{"position":[[27,11]]},"583":{"position":[[27,11]]}},"content":{"137":{"position":[[43,10]]},"146":{"position":[[134,10]]},"148":{"position":[[440,10]]},"169":{"position":[[107,10]]},"193":{"position":[[46,10]]},"194":{"position":[[15,9]]},"198":{"position":[[361,10]]},"376":{"position":[[604,10]]},"402":{"position":[[26,10]]},"408":{"position":[[4776,11]]},"528":{"position":[[89,9]]},"610":{"position":[[132,9]]},"624":{"position":[[1366,10]]},"643":{"position":[[50,10]]},"901":{"position":[[275,10]]},"1009":{"position":[[56,9]]},"1132":{"position":[[1095,10]]},"1295":{"position":[[15,10]]},"1298":{"position":[[366,9]]}},"keywords":{}}],["technolog",{"_index":248,"title":{"615":{"position":[[19,13]]}},"content":{"15":{"position":[[44,12]]},"38":{"position":[[657,12]]},"43":{"position":[[584,13]]},"155":{"position":[[177,13]]},"162":{"position":[[116,13]]},"269":{"position":[[63,12],[193,12]]},"367":{"position":[[629,12]]},"381":{"position":[[576,10]]},"408":{"position":[[53,13],[2646,13]]},"412":{"position":[[219,10],[1632,10]]},"422":{"position":[[51,13],[89,12]]},"435":{"position":[[94,10]]},"445":{"position":[[134,12]]},"459":{"position":[[220,12]]},"462":{"position":[[880,12]]},"463":{"position":[[637,10]]},"464":{"position":[[250,10]]},"465":{"position":[[111,10],[413,12]]},"466":{"position":[[77,10]]},"467":{"position":[[49,10]]},"469":{"position":[[532,12]]},"503":{"position":[[56,12]]},"524":{"position":[[76,11]]},"610":{"position":[[834,12]]},"611":{"position":[[129,10]]},"614":{"position":[[1030,13]]},"620":{"position":[[526,10]]},"624":{"position":[[49,13]]},"625":{"position":[[35,13]]},"627":{"position":[[91,13],[294,10]]},"840":{"position":[[39,10]]},"1320":{"position":[[469,12]]}},"keywords":{}}],["tell",{"_index":3951,"title":{},"content":{"700":{"position":[[631,4]]},"772":{"position":[[580,4]]},"781":{"position":[[362,4]]},"796":{"position":[[773,4]]},"875":{"position":[[9057,4]]},"879":{"position":[[412,4],[491,4]]},"907":{"position":[[80,5]]},"985":{"position":[[297,4]]},"987":{"position":[[275,4]]},"1002":{"position":[[173,4]]},"1176":{"position":[[215,7]]}},"keywords":{}}],["temp",{"_index":4098,"title":{},"content":{"739":{"position":[[620,4],[706,5]]}},"keywords":{}}],["temperatur",{"_index":4084,"title":{},"content":{"736":{"position":[[54,11],[236,11]]},"739":{"position":[[47,11],[433,12]]}},"keywords":{}}],["templat",{"_index":1093,"title":{},"content":{"130":{"position":[[263,9]]},"143":{"position":[[69,10]]},"493":{"position":[[144,9]]},"602":{"position":[[320,8]]},"825":{"position":[[768,9]]}},"keywords":{}}],["temporari",{"_index":1295,"title":{},"content":{"189":{"position":[[611,9]]},"287":{"position":[[931,9]]},"365":{"position":[[200,9],[393,9]]},"436":{"position":[[268,9]]},"504":{"position":[[398,9]]},"749":{"position":[[11036,9],[11179,9]]}},"keywords":{}}],["temporarili",{"_index":5655,"title":{"1033":{"position":[[10,11]]}},"content":{},"keywords":{}}],["ten",{"_index":2535,"title":{},"content":{"408":{"position":[[1025,5]]},"739":{"position":[[75,3]]}},"keywords":{}}],["tend",{"_index":1408,"title":{},"content":{"227":{"position":[[46,4]]},"412":{"position":[[8981,5]]},"435":{"position":[[253,5]]}},"keywords":{}}],["terabyt",{"_index":3935,"title":{},"content":{"696":{"position":[[609,9]]}},"keywords":{}}],["term",{"_index":676,"title":{},"content":{"43":{"position":[[460,5]]},"131":{"position":[[882,4]]},"266":{"position":[[482,4]]},"287":{"position":[[1057,4]]},"407":{"position":[[1132,4]]},"419":{"position":[[1212,4]]},"420":{"position":[[1040,4]]},"723":{"position":[[2163,4]]},"839":{"position":[[1400,4]]}},"keywords":{}}],["term.cross",{"_index":2503,"title":{},"content":{"404":{"position":[[445,10]]}},"keywords":{}}],["termin",{"_index":13,"title":{},"content":{"1":{"position":[[176,11]]},"1162":{"position":[[140,11]]},"1181":{"position":[[206,11]]}},"keywords":{}}],["terminated.al",{"_index":6127,"title":{},"content":{"1171":{"position":[[157,14]]}},"keywords":{}}],["terms.clust",{"_index":2200,"title":{},"content":{"390":{"position":[[1309,17]]}},"keywords":{}}],["terseropt",{"_index":6322,"title":{},"content":{"1266":{"position":[[1005,14]]}},"keywords":{}}],["terserplugin",{"_index":6306,"title":{},"content":{"1266":{"position":[[201,12],[990,14]]}},"keywords":{}}],["test",{"_index":20,"title":{"301":{"position":[[0,7]]},"667":{"position":[[7,6]]},"1159":{"position":[[33,7]]}},"content":{"1":{"position":[[307,4]]},"15":{"position":[[449,8]]},"29":{"position":[[311,7]]},"131":{"position":[[835,7]]},"162":{"position":[[563,7]]},"301":{"position":[[47,4],[183,4]]},"304":{"position":[[387,4]]},"314":{"position":[[34,7]]},"318":{"position":[[235,7]]},"336":{"position":[[382,5]]},"346":{"position":[[538,8],[558,4]]},"386":{"position":[[16,6]]},"392":{"position":[[904,4]]},"394":{"position":[[1591,4]]},"396":{"position":[[814,7]]},"399":{"position":[[494,6]]},"412":{"position":[[10748,7],[11810,8]]},"427":{"position":[[1299,4]]},"455":{"position":[[869,5]]},"461":{"position":[[170,4],[747,4],[1607,6]]},"462":{"position":[[212,5],[455,4],[529,5],[685,5],[812,4]]},"464":{"position":[[11,4],[1346,5]]},"524":{"position":[[554,7]]},"554":{"position":[[348,7],[614,8]]},"581":{"position":[[386,5]]},"620":{"position":[[322,5],[725,7]]},"627":{"position":[[278,4]]},"640":{"position":[[396,5]]},"662":{"position":[[1128,7]]},"666":{"position":[[265,5],[342,5],[433,5]]},"667":{"position":[[70,4],[92,5],[178,4]]},"668":{"position":[[115,4],[366,6],[384,4]]},"670":{"position":[[52,4],[357,4]]},"710":{"position":[[329,6]]},"730":{"position":[[40,6]]},"749":{"position":[[4440,8],[4475,5],[5796,6]]},"773":{"position":[[371,5]]},"798":{"position":[[233,5]]},"820":{"position":[[303,8]]},"821":{"position":[[908,4]]},"836":{"position":[[1207,7]]},"861":{"position":[[2479,8]]},"863":{"position":[[895,7]]},"898":{"position":[[2114,5]]},"966":{"position":[[255,6]]},"996":{"position":[[137,5]]},"1125":{"position":[[661,4]]},"1139":{"position":[[104,6]]},"1145":{"position":[[100,6]]},"1159":{"position":[[180,5],[195,4]]},"1195":{"position":[[200,8]]},"1209":{"position":[[181,5]]},"1216":{"position":[[87,4]]},"1222":{"position":[[724,4]]},"1266":{"position":[[743,5]]},"1271":{"position":[[311,4]]},"1292":{"position":[[134,7]]},"1294":{"position":[[1827,4]]},"1295":{"position":[[783,4]]},"1298":{"position":[[412,5]]}},"keywords":{}}],["test/unit",{"_index":3829,"title":{},"content":{"667":{"position":[[109,9]]}},"keywords":{}}],["test:node:memori",{"_index":3827,"title":{},"content":{"666":{"position":[[319,16]]}},"keywords":{}}],["testabl",{"_index":2943,"title":{},"content":{"445":{"position":[[1637,12]]}},"keywords":{}}],["testdata",{"_index":4714,"title":{},"content":{"820":{"position":[[681,9]]}},"keywords":{}}],["testdocu",{"_index":6442,"title":{},"content":{"1294":{"position":[[1611,14]]}},"keywords":{}}],["text",{"_index":631,"title":{"358":{"position":[[37,4]]}},"content":{"40":{"position":[[129,4]]},"205":{"position":[[222,4]]},"252":{"position":[[221,4]]},"259":{"position":[[169,5]]},"315":{"position":[[795,5],[906,8],[963,4]]},"356":{"position":[[367,5]]},"357":{"position":[[52,4],[185,5]]},"358":{"position":[[387,4]]},"362":{"position":[[599,4]]},"383":{"position":[[187,4],[219,4]]},"390":{"position":[[223,5],[916,5],[1703,5]]},"391":{"position":[[341,4],[805,4]]},"392":{"position":[[489,4],[670,5],[715,7],[4503,4]]},"394":{"position":[[244,5],[312,5]]},"404":{"position":[[650,4]]},"412":{"position":[[3769,4],[10456,4]]},"457":{"position":[[291,4]]},"556":{"position":[[593,4]]},"698":{"position":[[1958,4]]},"754":{"position":[[719,6]]},"898":{"position":[[199,4],[968,4],[1008,4],[1044,4]]},"1023":{"position":[[46,4]]},"1072":{"position":[[2283,4]]},"1284":{"position":[[113,4]]}},"keywords":{}}],["text/ev",{"_index":3590,"title":{},"content":{"612":{"position":[[1489,10],[1916,11]]},"875":{"position":[[7300,11]]}},"keywords":{}}],["text/plain",{"_index":3372,"title":{},"content":{"556":{"position":[[999,14],[1020,13]]},"792":{"position":[[403,12]]},"917":{"position":[[248,14],[309,12]]},"918":{"position":[[180,12]]}},"keywords":{}}],["textdecod",{"_index":6194,"title":{},"content":{"1208":{"position":[[368,11]]}},"keywords":{}}],["textdecoder().decode(readbuff",{"_index":6216,"title":{},"content":{"1208":{"position":[[1437,33]]}},"keywords":{}}],["textencod",{"_index":6193,"title":{},"content":{"1208":{"position":[[352,11]]}},"keywords":{}}],["textencoder().encod",{"_index":6218,"title":{},"content":{"1208":{"position":[[1542,26]]}},"keywords":{}}],["textencoder().encode('hello",{"_index":6208,"title":{},"content":{"1208":{"position":[[1169,27]]}},"keywords":{}}],["textual",{"_index":1824,"title":{},"content":{"303":{"position":[[257,7]]}},"keywords":{}}],["thank",{"_index":2642,"title":{},"content":{"411":{"position":[[5477,6]]},"670":{"position":[[592,5]]},"700":{"position":[[1000,5]]},"1151":{"position":[[668,5]]},"1178":{"position":[[667,5]]}},"keywords":{}}],["that'",{"_index":2426,"title":{},"content":{"398":{"position":[[3415,6]]},"402":{"position":[[338,6]]},"412":{"position":[[8459,6],[14882,6]]}},"keywords":{}}],["that’",{"_index":6096,"title":{},"content":{"1156":{"position":[[354,6]]}},"keywords":{}}],["theft",{"_index":2147,"title":{},"content":{"377":{"position":[[102,5]]}},"keywords":{}}],["them.flex",{"_index":3166,"title":{},"content":{"491":{"position":[[544,13]]}},"keywords":{}}],["themself",{"_index":2115,"title":{},"content":{"366":{"position":[[582,8]]},"1092":{"position":[[278,8]]},"1094":{"position":[[531,9]]},"1095":{"position":[[47,9]]}},"keywords":{}}],["themselv",{"_index":2605,"title":{},"content":{"410":{"position":[[1840,10]]},"698":{"position":[[2011,10]]}},"keywords":{}}],["themthen",{"_index":6567,"title":{},"content":{"1317":{"position":[[610,8]]}},"keywords":{}}],["then(data",{"_index":3556,"title":{},"content":{"610":{"position":[[997,10]]}},"keywords":{}}],["then(json",{"_index":5372,"title":{},"content":{"952":{"position":[[329,10]]},"971":{"position":[[439,10]]}},"keywords":{}}],["then(respons",{"_index":3555,"title":{},"content":{"610":{"position":[[959,14]]},"751":{"position":[[1390,14]]}},"keywords":{}}],["theoret",{"_index":2758,"title":{},"content":{"412":{"position":[[13154,13]]}},"keywords":{}}],["theori",{"_index":418,"title":{},"content":{"25":{"position":[[207,6]]},"459":{"position":[[304,6]]},"616":{"position":[[209,7]]},"617":{"position":[[1577,6]]},"696":{"position":[[251,6]]},"708":{"position":[[171,7]]}},"keywords":{}}],["there'",{"_index":762,"title":{},"content":{"51":{"position":[[135,7]]},"327":{"position":[[171,7]]},"410":{"position":[[100,7]]},"411":{"position":[[4612,7]]},"490":{"position":[[264,7]]},"714":{"position":[[426,7]]},"723":{"position":[[1779,7]]},"1072":{"position":[[861,7]]}},"keywords":{}}],["therebi",{"_index":2590,"title":{},"content":{"410":{"position":[[704,7]]},"588":{"position":[[66,7]]},"624":{"position":[[269,7]]}},"keywords":{}}],["therefor",{"_index":375,"title":{},"content":{"22":{"position":[[366,9]]},"270":{"position":[[206,10]]},"396":{"position":[[1409,9],[1707,10]]},"399":{"position":[[346,10]]},"451":{"position":[[625,9]]},"455":{"position":[[779,9]]},"458":{"position":[[168,9]]},"460":{"position":[[900,9],[1309,9]]},"464":{"position":[[1329,9]]},"468":{"position":[[112,9]]},"569":{"position":[[1414,9]]},"619":{"position":[[241,9]]},"660":{"position":[[250,9]]},"764":{"position":[[256,9]]},"811":{"position":[[67,9]]},"817":{"position":[[71,9]]},"836":{"position":[[812,9]]},"879":{"position":[[281,9]]},"887":{"position":[[99,10]]},"905":{"position":[[156,9]]},"911":{"position":[[185,9]]},"932":{"position":[[301,9]]},"985":{"position":[[533,9]]},"1032":{"position":[[223,9]]},"1067":{"position":[[747,9]]},"1072":{"position":[[409,10],[850,10]]},"1084":{"position":[[197,9]]},"1115":{"position":[[772,9]]},"1191":{"position":[[423,9]]},"1192":{"position":[[374,9]]},"1208":{"position":[[338,9]]},"1210":{"position":[[56,9]]},"1211":{"position":[[100,9]]},"1215":{"position":[[616,9]]},"1251":{"position":[[25,9]]},"1272":{"position":[[90,9]]},"1296":{"position":[[1269,9]]},"1301":{"position":[[451,9]]}},"keywords":{}}],["they'll",{"_index":2857,"title":{},"content":{"421":{"position":[[1023,7]]}},"keywords":{}}],["they'r",{"_index":3162,"title":{},"content":{"489":{"position":[[819,7]]},"1009":{"position":[[296,7]]}},"keywords":{}}],["they'v",{"_index":2856,"title":{},"content":{"421":{"position":[[955,7]]}},"keywords":{}}],["thing",{"_index":482,"title":{"633":{"position":[[0,6]]}},"content":{"29":{"position":[[351,6]]},"396":{"position":[[1253,6],[1292,7]]},"400":{"position":[[630,6]]},"404":{"position":[[81,6]]},"408":{"position":[[1249,5]]},"412":{"position":[[14779,7]]},"457":{"position":[[601,6]]},"463":{"position":[[800,7]]},"464":{"position":[[452,7]]},"465":{"position":[[313,7]]},"466":{"position":[[277,7]]},"467":{"position":[[272,7]]},"570":{"position":[[887,5]]},"623":{"position":[[382,6]]},"698":{"position":[[3004,5]]},"700":{"position":[[1055,7]]},"704":{"position":[[317,6]]},"709":{"position":[[375,5],[638,5]]},"737":{"position":[[535,6]]},"785":{"position":[[57,6],[168,6]]},"862":{"position":[[1554,6]]},"872":{"position":[[2659,6]]},"898":{"position":[[4472,6]]},"1052":{"position":[[472,6]]},"1084":{"position":[[189,7]]},"1085":{"position":[[216,5]]},"1094":{"position":[[420,6]]},"1198":{"position":[[991,6]]},"1215":{"position":[[470,6]]},"1304":{"position":[[1608,5]]},"1320":{"position":[[122,6]]}},"keywords":{}}],["think",{"_index":3448,"title":{},"content":{"569":{"position":[[77,5]]},"612":{"position":[[376,5]]},"703":{"position":[[1644,5]]},"708":{"position":[[56,5]]},"1315":{"position":[[103,5]]}},"keywords":{}}],["thinner",{"_index":2788,"title":{},"content":{"416":{"position":[[406,8]]}},"keywords":{}}],["third",{"_index":1102,"title":{"1247":{"position":[[0,5]]},"1284":{"position":[[0,5]]}},"content":{"131":{"position":[[170,5]]},"412":{"position":[[1594,5]]},"793":{"position":[[1213,5]]},"902":{"position":[[457,5]]},"1102":{"position":[[258,5]]},"1284":{"position":[[0,5]]}},"keywords":{}}],["this.amount",{"_index":1138,"title":{},"content":{"143":{"position":[[586,12]]}},"keywords":{}}],["this.dbservic",{"_index":1097,"title":{},"content":{"130":{"position":[[457,14]]},"143":{"position":[[420,14],[601,14]]}},"keywords":{}}],["this.dbservice.db.heroes.find",{"_index":817,"title":{},"content":{"54":{"position":[[125,31]]}},"keywords":{}}],["this.dbservice.db.todos.find",{"_index":4733,"title":{},"content":{"825":{"position":[[1015,34]]}},"keywords":{}}],["this.find().exec",{"_index":6509,"title":{},"content":{"1311":{"position":[[914,19]]}},"keywords":{}}],["this.firstnam",{"_index":6503,"title":{},"content":{"1311":{"position":[[722,14]]}},"keywords":{}}],["this.hero",{"_index":816,"title":{},"content":{"54":{"position":[[110,12]]},"130":{"position":[[442,12]]}},"keywords":{}}],["this.nam",{"_index":4603,"title":{},"content":{"789":{"position":[[507,10]]},"791":{"position":[[385,9]]},"1311":{"position":[[1335,9]]}},"keywords":{}}],["this.sqlite.createconnect",{"_index":3806,"title":{},"content":{"661":{"position":[[1183,29]]}},"keywords":{}}],["this.your",{"_index":1591,"title":{},"content":{"262":{"position":[[137,9]]}},"keywords":{}}],["thishttps://rxdb.info/rx",{"_index":4205,"title":{},"content":{"749":{"position":[[5456,24]]}},"keywords":{}}],["thor",{"_index":794,"title":{},"content":{"52":{"position":[[215,7],[664,6]]},"539":{"position":[[215,7],[664,6]]},"599":{"position":[[233,7],[695,6]]}},"keywords":{}}],["thordoc",{"_index":3537,"title":{},"content":{"599":{"position":[[641,7]]}},"keywords":{}}],["thordoc.remov",{"_index":3538,"title":{},"content":{"599":{"position":[[721,17]]}},"keywords":{}}],["thoroughli",{"_index":1977,"title":{},"content":{"346":{"position":[[547,10]]},"399":{"position":[[483,10]]}},"keywords":{}}],["those",{"_index":1422,"title":{},"content":{"235":{"position":[[193,5]]},"330":{"position":[[91,5]]},"408":{"position":[[4171,5]]},"412":{"position":[[711,5]]},"421":{"position":[[330,5],[1123,5]]},"432":{"position":[[940,5]]},"445":{"position":[[1090,5]]},"570":{"position":[[574,5]]},"618":{"position":[[128,5]]},"898":{"position":[[4300,5]]},"981":{"position":[[1362,5]]}},"keywords":{}}],["though",{"_index":1846,"title":{},"content":{"303":{"position":[[1065,6]]},"354":{"position":[[1624,7]]},"360":{"position":[[652,6]]},"410":{"position":[[1228,6]]},"412":{"position":[[9696,6]]},"495":{"position":[[858,7]]},"1009":{"position":[[1,6]]},"1133":{"position":[[450,7],[591,6]]},"1157":{"position":[[179,6]]}},"keywords":{}}],["thread",{"_index":2254,"title":{"642":{"position":[[30,7]]},"1211":{"position":[[23,6]]}},"content":{"392":{"position":[[3475,7],[3691,6],[3799,7]]},"408":{"position":[[3911,7]]},"427":{"position":[[311,7]]},"454":{"position":[[895,6]]},"460":{"position":[[105,7],[649,6],[889,6],[953,7],[1219,7],[1387,6]]},"463":{"position":[[691,6],[936,6]]},"464":{"position":[[339,6]]},"465":{"position":[[200,6]]},"466":{"position":[[165,6]]},"467":{"position":[[136,6],[373,6]]},"470":{"position":[[398,6]]},"559":{"position":[[1136,6]]},"642":{"position":[[176,7]]},"721":{"position":[[216,6],[408,7]]},"801":{"position":[[203,7],[424,7],[452,6],[832,9],[980,7]]},"1068":{"position":[[438,7]]},"1089":{"position":[[82,6],[118,6]]},"1157":{"position":[[263,7]]},"1207":{"position":[[398,7],[557,7]]},"1211":{"position":[[156,7],[246,7],[420,6]]},"1213":{"position":[[181,7],[314,6]]},"1230":{"position":[[377,7]]},"1231":{"position":[[327,6],[397,6]]},"1239":{"position":[[230,6],[415,6]]},"1246":{"position":[[147,6]]},"1276":{"position":[[297,6]]}},"keywords":{}}],["thread.j",{"_index":6266,"title":{},"content":{"1226":{"position":[[385,9]]},"1264":{"position":[[295,9]]}},"keywords":{}}],["thread.sqlit",{"_index":3088,"title":{},"content":{"468":{"position":[[424,13]]}},"keywords":{}}],["threador",{"_index":2963,"title":{},"content":{"453":{"position":[[318,8]]}},"keywords":{}}],["three",{"_index":3785,"title":{},"content":{"661":{"position":[[249,5]]},"780":{"position":[[474,5]]},"871":{"position":[[26,5]]},"981":{"position":[[293,5]]}},"keywords":{}}],["threw",{"_index":4340,"title":{},"content":{"749":{"position":[[15501,5],[15635,5],[15767,5]]}},"keywords":{}}],["thrive",{"_index":1681,"title":{},"content":{"289":{"position":[[1501,6]]},"353":{"position":[[245,6]]}},"keywords":{}}],["throttl",{"_index":1146,"title":{},"content":{"146":{"position":[[105,11]]},"462":{"position":[[538,8]]}},"keywords":{}}],["through",{"_index":660,"title":{},"content":{"42":{"position":[[219,7]]},"81":{"position":[[36,7]]},"174":{"position":[[230,7]]},"205":{"position":[[292,7]]},"210":{"position":[[88,7]]},"283":{"position":[[326,7]]},"298":{"position":[[99,7]]},"381":{"position":[[249,7]]},"391":{"position":[[810,7]]},"398":{"position":[[105,7]]},"408":{"position":[[3931,7],[4511,7]]},"411":{"position":[[2409,7]]},"412":{"position":[[9939,7]]},"426":{"position":[[111,7]]},"432":{"position":[[604,7]]},"498":{"position":[[172,7]]},"504":{"position":[[30,7]]},"614":{"position":[[412,7]]},"617":{"position":[[1310,7]]},"662":{"position":[[864,7]]},"703":{"position":[[744,7]]},"709":{"position":[[707,7],[1171,7]]},"723":{"position":[[853,7]]},"836":{"position":[[1599,7]]},"849":{"position":[[43,7]]},"901":{"position":[[345,7]]},"1088":{"position":[[698,7]]},"1150":{"position":[[268,7]]},"1316":{"position":[[3840,7]]}},"keywords":{}}],["throughout",{"_index":1144,"title":{},"content":{"145":{"position":[[285,10]]},"367":{"position":[[383,10]]},"632":{"position":[[2782,11]]}},"keywords":{}}],["throughput",{"_index":1608,"title":{"622":{"position":[[0,11]]}},"content":{"265":{"position":[[918,10]]},"408":{"position":[[2231,10],[3138,10]]},"620":{"position":[[156,11],[769,10]]},"622":{"position":[[29,10],[78,10],[340,10],[438,10],[592,10]]},"641":{"position":[[189,10],[306,10]]}},"keywords":{}}],["throw",{"_index":1796,"title":{"1031":{"position":[[27,6]]}},"content":{"302":{"position":[[95,5]]},"556":{"position":[[482,5]]},"719":{"position":[[160,5]]},"761":{"position":[[272,5]]},"767":{"position":[[687,5]]},"768":{"position":[[697,5]]},"769":{"position":[[658,5]]},"911":{"position":[[104,5]]},"944":{"position":[[532,5]]},"948":{"position":[[506,6]]},"966":{"position":[[193,5],[780,5]]},"1014":{"position":[[58,6]]},"1031":{"position":[[30,6],[209,7]]},"1057":{"position":[[514,5]]},"1067":{"position":[[1144,5],[1374,5]]},"1084":{"position":[[459,5]]},"1085":{"position":[[3218,6]]},"1109":{"position":[[310,5]]},"1305":{"position":[[1091,5]]},"1307":{"position":[[457,5]]}},"keywords":{}}],["throwifmiss",{"_index":4162,"title":{},"content":{"749":{"position":[[2098,14],[2222,15]]}},"keywords":{}}],["thrown",{"_index":5489,"title":{},"content":{"990":{"position":[[952,6]]},"1207":{"position":[[758,6]]}},"keywords":{}}],["thu",{"_index":1581,"title":{},"content":{"255":{"position":[[1788,4]]},"521":{"position":[[576,5]]}},"keywords":{}}],["thunder",{"_index":796,"title":{},"content":{"52":{"position":[[238,8]]},"539":{"position":[[238,8]]},"599":{"position":[[256,8]]}},"keywords":{}}],["ti",{"_index":1303,"title":{},"content":{"202":{"position":[[34,4]]},"207":{"position":[[369,4]]},"902":{"position":[[433,4]]}},"keywords":{}}],["ticker",{"_index":3678,"title":{},"content":{"624":{"position":[[575,8]]},"626":{"position":[[281,7]]}},"keywords":{}}],["tier",{"_index":4937,"title":{},"content":{"871":{"position":[[32,4]]}},"keywords":{}}],["tight",{"_index":575,"title":{},"content":{"36":{"position":[[410,5]]},"1009":{"position":[[824,5]]}},"keywords":{}}],["tighter",{"_index":1725,"title":{},"content":{"298":{"position":[[683,7]]}},"keywords":{}}],["tightli",{"_index":2660,"title":{},"content":{"412":{"position":[[917,7]]},"839":{"position":[[420,7],[976,7]]}},"keywords":{}}],["time",{"_index":301,"title":{"70":{"position":[[15,4]]},"90":{"position":[[14,4]]},"93":{"position":[[33,5]]},"101":{"position":[[15,4]]},"136":{"position":[[5,4]]},"174":{"position":[[42,4]]},"217":{"position":[[36,5]]},"227":{"position":[[15,4]]},"264":{"position":[[50,4]]},"305":{"position":[[11,4]]},"312":{"position":[[8,4]]},"379":{"position":[[5,4]]},"463":{"position":[[15,5]]},"476":{"position":[[8,4]]},"490":{"position":[[5,4]]},"570":{"position":[[5,4]]},"632":{"position":[[5,4]]},"647":{"position":[[4,4]]},"869":{"position":[[43,5]]},"895":{"position":[[44,5]]}},"content":{"17":{"position":[[550,5]]},"23":{"position":[[327,5]]},"34":{"position":[[410,4]]},"35":{"position":[[391,4]]},"39":{"position":[[32,4],[506,4]]},"40":{"position":[[91,4],[492,4]]},"42":{"position":[[83,4]]},"53":{"position":[[122,4]]},"65":{"position":[[754,4],[782,4],[1299,5],[1388,4]]},"68":{"position":[[137,4]]},"69":{"position":[[102,4]]},"77":{"position":[[97,4]]},"83":{"position":[[111,4]]},"89":{"position":[[254,4]]},"90":{"position":[[46,4],[244,4]]},"93":{"position":[[67,5]]},"99":{"position":[[234,4]]},"101":{"position":[[20,4]]},"103":{"position":[[201,4]]},"109":{"position":[[250,4]]},"114":{"position":[[550,4]]},"121":{"position":[[126,4]]},"124":{"position":[[297,5]]},"126":{"position":[[313,4]]},"136":{"position":[[20,4],[167,5],[278,4]]},"140":{"position":[[288,4]]},"148":{"position":[[332,4]]},"151":{"position":[[182,4]]},"155":{"position":[[263,4]]},"156":{"position":[[316,4]]},"158":{"position":[[158,5]]},"162":{"position":[[507,4]]},"165":{"position":[[149,4]]},"168":{"position":[[112,5],[308,4]]},"170":{"position":[[300,4]]},"173":{"position":[[166,4],[375,4],[857,4],[941,4],[1074,4],[1643,5],[1809,4]]},"174":{"position":[[96,4],[406,4],[1974,4]]},"175":{"position":[[563,4]]},"179":{"position":[[413,4]]},"184":{"position":[[275,4]]},"185":{"position":[[285,4]]},"192":{"position":[[355,4]]},"198":{"position":[[119,4]]},"203":{"position":[[384,5]]},"205":{"position":[[274,4]]},"208":{"position":[[329,4]]},"217":{"position":[[70,4]]},"220":{"position":[[214,6],[288,4]]},"227":{"position":[[97,6],[323,6]]},"244":{"position":[[259,4]]},"252":{"position":[[349,5]]},"255":{"position":[[202,5],[1860,4]]},"263":{"position":[[506,4]]},"265":{"position":[[327,4],[897,4]]},"266":{"position":[[1060,6]]},"267":{"position":[[58,4],[137,4],[191,4],[293,4],[416,5],[575,4],[746,4],[846,4],[935,4],[1046,5],[1214,4],[1447,4],[1535,4]]},"275":{"position":[[158,4]]},"281":{"position":[[424,4]]},"282":{"position":[[400,4]]},"283":{"position":[[280,6],[313,4]]},"289":{"position":[[1263,4]]},"301":{"position":[[268,4]]},"305":{"position":[[291,5]]},"312":{"position":[[212,4]]},"316":{"position":[[376,5]]},"318":{"position":[[672,4]]},"321":{"position":[[541,4]]},"322":{"position":[[219,5]]},"323":{"position":[[41,4]]},"325":{"position":[[225,4]]},"328":{"position":[[20,4]]},"330":{"position":[[156,4]]},"335":{"position":[[845,4]]},"340":{"position":[[100,4]]},"342":{"position":[[130,6]]},"352":{"position":[[135,4]]},"353":{"position":[[698,4]]},"367":{"position":[[1025,5]]},"368":{"position":[[365,4]]},"375":{"position":[[373,4]]},"378":{"position":[[166,4]]},"385":{"position":[[136,6]]},"388":{"position":[[454,4]]},"392":{"position":[[5141,4]]},"394":{"position":[[1482,4]]},"400":{"position":[[14,4],[570,4]]},"401":{"position":[[24,4],[141,4],[788,4]]},"408":{"position":[[2591,4]]},"410":{"position":[[427,4],[1624,4]]},"411":{"position":[[1662,4],[2826,5],[3379,5],[3879,4],[4818,5]]},"412":{"position":[[4938,4],[5742,6],[6489,4],[8046,4],[11391,4]]},"418":{"position":[[306,4]]},"419":{"position":[[592,5],[1111,4]]},"420":{"position":[[388,5],[1346,4]]},"421":{"position":[[143,5],[245,4],[444,4]]},"434":{"position":[[184,5]]},"435":{"position":[[275,5]]},"445":{"position":[[306,4],[795,4],[855,4],[1140,4],[2396,4]]},"446":{"position":[[432,4],[483,4],[603,4],[755,5],[1415,4]]},"447":{"position":[[141,4]]},"450":{"position":[[223,4]]},"457":{"position":[[671,5]]},"458":{"position":[[162,5]]},"462":{"position":[[130,6]]},"463":{"position":[[206,4],[552,4],[648,4]]},"464":{"position":[[261,4],[572,5]]},"465":{"position":[[122,4]]},"466":{"position":[[88,4]]},"467":{"position":[[60,4]]},"468":{"position":[[649,5],[725,6]]},"469":{"position":[[784,4],[1029,4]]},"476":{"position":[[105,4],[210,4]]},"480":{"position":[[709,4]]},"483":{"position":[[140,4],[339,4]]},"489":{"position":[[763,5]]},"490":{"position":[[698,4]]},"491":{"position":[[263,5],[828,4],[1531,4]]},"497":{"position":[[18,4]]},"498":{"position":[[316,4]]},"500":{"position":[[547,6]]},"501":{"position":[[189,4]]},"502":{"position":[[115,4],[796,5],[1030,4]]},"504":{"position":[[1140,4]]},"509":{"position":[[80,5]]},"517":{"position":[[195,4]]},"518":{"position":[[497,4]]},"529":{"position":[[140,4]]},"530":{"position":[[412,4]]},"540":{"position":[[69,4]]},"566":{"position":[[404,4]]},"567":{"position":[[116,4]]},"569":{"position":[[91,4],[118,4],[200,5],[413,4],[469,4],[519,4],[646,4],[924,4],[1405,4],[1477,6]]},"571":{"position":[[1068,4],[1844,5]]},"574":{"position":[[275,4]]},"575":{"position":[[234,4]]},"582":{"position":[[256,4]]},"585":{"position":[[127,4]]},"589":{"position":[[122,5]]},"595":{"position":[[855,5]]},"600":{"position":[[69,4]]},"610":{"position":[[829,4]]},"611":{"position":[[258,4]]},"612":{"position":[[326,4],[577,4],[1664,7],[2264,5]]},"613":{"position":[[450,4]]},"614":{"position":[[18,4],[99,4]]},"617":{"position":[[868,5]]},"620":{"position":[[341,5]]},"621":{"position":[[129,4],[504,4]]},"626":{"position":[[238,4]]},"631":{"position":[[79,4]]},"636":{"position":[[6,5]]},"647":{"position":[[71,6],[194,4]]},"653":{"position":[[362,4]]},"654":{"position":[[270,5]]},"656":{"position":[[454,6]]},"660":{"position":[[214,4]]},"670":{"position":[[213,4]]},"679":{"position":[[190,5]]},"681":{"position":[[488,4]]},"691":{"position":[[87,5]]},"698":{"position":[[1088,4]]},"699":{"position":[[606,6],[998,4]]},"700":{"position":[[516,4]]},"702":{"position":[[742,5]]},"709":{"position":[[249,5]]},"723":{"position":[[990,4],[1073,4],[1173,5],[1574,5]]},"736":{"position":[[402,5]]},"739":{"position":[[712,5]]},"740":{"position":[[187,5]]},"746":{"position":[[499,7],[549,6]]},"749":{"position":[[21250,5]]},"752":{"position":[[227,5]]},"759":{"position":[[1070,4]]},"772":{"position":[[109,4]]},"776":{"position":[[380,4]]},"778":{"position":[[434,4]]},"780":{"position":[[85,4]]},"781":{"position":[[158,4]]},"783":{"position":[[48,5],[137,4],[444,4],[511,5],[596,4]]},"785":{"position":[[87,5]]},"796":{"position":[[401,4],[455,5],[481,5],[531,5],[1117,4]]},"799":{"position":[[256,4]]},"800":{"position":[[540,4],[709,4]]},"802":{"position":[[539,4],[794,5],[893,4]]},"806":{"position":[[329,4]]},"816":{"position":[[434,4]]},"820":{"position":[[401,4]]},"821":{"position":[[17,4],[101,5],[192,5],[223,4],[975,4]]},"826":{"position":[[581,4],[789,4],[887,4]]},"836":{"position":[[1474,4],[2308,4]]},"837":{"position":[[392,4],[537,5]]},"838":{"position":[[446,4]]},"839":{"position":[[213,5]]},"841":{"position":[[663,4],[975,4],[1536,4]]},"846":{"position":[[369,4],[887,4]]},"848":{"position":[[926,5]]},"854":{"position":[[1036,4],[1429,4]]},"860":{"position":[[145,4],[563,4],[595,4]]},"898":{"position":[[559,5],[1174,4]]},"901":{"position":[[28,4]]},"902":{"position":[[125,5]]},"903":{"position":[[21,4]]},"904":{"position":[[1069,5]]},"905":{"position":[[70,4]]},"906":{"position":[[391,5]]},"921":{"position":[[93,4]]},"944":{"position":[[118,6]]},"958":{"position":[[241,4],[449,4]]},"964":{"position":[[549,4]]},"975":{"position":[[482,4]]},"981":{"position":[[1648,5]]},"985":{"position":[[596,4]]},"986":{"position":[[113,4],[190,5]]},"987":{"position":[[76,4],[890,5]]},"988":{"position":[[866,4],[951,4],[3304,5],[4633,5]]},"990":{"position":[[105,5]]},"994":{"position":[[151,5]]},"995":{"position":[[1239,4],[1475,4],[1552,5],[1741,5]]},"996":{"position":[[481,4]]},"1002":{"position":[[67,4]]},"1008":{"position":[[159,4]]},"1010":{"position":[[151,5]]},"1030":{"position":[[46,5]]},"1039":{"position":[[115,4]]},"1069":{"position":[[114,5]]},"1085":{"position":[[247,4],[590,4],[906,5],[2580,5]]},"1087":{"position":[[205,4]]},"1114":{"position":[[351,5]]},"1115":{"position":[[631,5]]},"1119":{"position":[[100,4]]},"1124":{"position":[[1453,4]]},"1132":{"position":[[951,4]]},"1135":{"position":[[143,5]]},"1138":{"position":[[470,4]]},"1150":{"position":[[150,5]]},"1161":{"position":[[225,4]]},"1162":{"position":[[600,4]]},"1170":{"position":[[98,4],[253,4]]},"1171":{"position":[[222,4],[334,4]]},"1180":{"position":[[225,4]]},"1181":{"position":[[688,4]]},"1188":{"position":[[428,5]]},"1194":{"position":[[43,4],[125,4],[210,4]]},"1198":{"position":[[658,5],[2015,5]]},"1209":{"position":[[204,5]]},"1238":{"position":[[436,5]]},"1246":{"position":[[1819,5]]},"1251":{"position":[[342,4],[362,5]]},"1292":{"position":[[288,4],[642,4]]},"1295":{"position":[[1020,4]]},"1299":{"position":[[267,4]]},"1300":{"position":[[91,5],[546,5],[695,4],[946,4]]},"1301":{"position":[[138,5],[1407,4],[1554,5]]},"1304":{"position":[[1192,5]]},"1305":{"position":[[114,5]]},"1309":{"position":[[213,5],[277,4],[862,4]]},"1313":{"position":[[822,4]]},"1316":{"position":[[659,4],[1054,4],[2704,4],[2815,4],[3188,4]]},"1319":{"position":[[717,4]]},"1320":{"position":[[923,4]]},"1322":{"position":[[135,4]]},"1324":{"position":[[348,5]]}},"keywords":{}}],["time"",{"_index":5889,"title":{},"content":{"1085":{"position":[[459,10]]}},"keywords":{}}],["time)flex",{"_index":3117,"title":{},"content":{"479":{"position":[[187,13]]}},"keywords":{}}],["time.cli",{"_index":6541,"title":{},"content":{"1316":{"position":[[498,12]]}},"keywords":{}}],["time.th",{"_index":6543,"title":{},"content":{"1316":{"position":[[604,8]]}},"keywords":{}}],["time.to",{"_index":3836,"title":{},"content":{"668":{"position":[[329,7]]}},"keywords":{}}],["timeout",{"_index":456,"title":{},"content":{"28":{"position":[[313,7]]},"610":{"position":[[1216,7]]},"975":{"position":[[436,7],[590,7]]}},"keywords":{}}],["times.dur",{"_index":6561,"title":{},"content":{"1316":{"position":[[2943,12]]}},"keywords":{}}],["times.lack",{"_index":2885,"title":{},"content":{"427":{"position":[[860,10]]}},"keywords":{}}],["times.offlin",{"_index":3693,"title":{},"content":{"630":{"position":[[636,13]]}},"keywords":{}}],["timespan",{"_index":5347,"title":{},"content":{"948":{"position":[[76,9]]},"1194":{"position":[[250,8]]}},"keywords":{}}],["timestamp",{"_index":1889,"title":{},"content":{"314":{"position":[[848,10]]},"367":{"position":[[982,10],[1069,12]]},"495":{"position":[[617,9]]},"496":{"position":[[239,10]]},"639":{"position":[[510,10]]},"688":{"position":[[609,11]]},"854":{"position":[[1218,9]]},"875":{"position":[[1650,9]]},"898":{"position":[[311,9],[1159,9],[1239,9]]},"986":{"position":[[887,9]]},"988":{"position":[[2216,9]]},"990":{"position":[[532,10]]},"991":{"position":[[143,9]]},"1048":{"position":[[174,10],[233,9]]},"1085":{"position":[[3700,9]]},"1104":{"position":[[540,9]]},"1284":{"position":[[302,11]]},"1316":{"position":[[1830,9],[2077,10],[2213,9],[2297,10]]}},"keywords":{}}],["timeui",{"_index":1968,"title":{},"content":{"344":{"position":[[112,6]]}},"keywords":{}}],["tini",{"_index":2526,"title":{},"content":{"408":{"position":[[358,4]]}},"keywords":{}}],["tip",{"_index":1875,"title":{"794":{"position":[[12,4]]}},"content":{"306":{"position":[[298,4]]},"793":{"position":[[1316,4]]}},"keywords":{}}],["titl",{"_index":767,"title":{},"content":{"51":{"position":[[276,6]]},"209":{"position":[[403,6],[525,6]]},"211":{"position":[[364,6]]},"255":{"position":[[747,6],[869,6]]},"259":{"position":[[46,6]]},"314":{"position":[[712,6]]},"315":{"position":[[687,6]]},"316":{"position":[[154,6]]},"334":{"position":[[599,6]]},"480":{"position":[[512,6],[619,6]]},"482":{"position":[[805,6]]},"538":{"position":[[577,6]]},"554":{"position":[[1297,6]]},"562":{"position":[[285,6]]},"564":{"position":[[740,6]]},"579":{"position":[[607,6]]},"598":{"position":[[584,6]]},"632":{"position":[[1497,6],[1619,6]]},"638":{"position":[[578,6]]},"639":{"position":[[338,6]]},"808":{"position":[[137,6]]},"862":{"position":[[631,6]]},"904":{"position":[[836,6],[958,6],[1097,8],[1190,6]]},"1078":{"position":[[211,6]]},"1080":{"position":[[41,6]]},"1158":{"position":[[336,6],[443,6],[516,8],[601,6]]},"1311":{"position":[[294,6]]}},"keywords":{}}],["today",{"_index":2532,"title":{},"content":{"408":{"position":[[850,6],[4619,6]]},"498":{"position":[[685,5]]},"702":{"position":[[879,5]]},"783":{"position":[[191,5]]}},"keywords":{}}],["today'",{"_index":1624,"title":{},"content":{"267":{"position":[[1666,7]]},"289":{"position":[[1511,7]]},"410":{"position":[[1478,7]]}},"keywords":{}}],["todo",{"_index":3987,"title":{},"content":{"709":{"position":[[309,4]]},"825":{"position":[[712,5]]},"904":{"position":[[93,4],[118,4],[817,6],[843,5],[1180,5]]}},"keywords":{}}],["todoslistcompon",{"_index":4730,"title":{},"content":{"825":{"position":[[901,18]]}},"keywords":{}}],["todossign",{"_index":4732,"title":{},"content":{"825":{"position":[[1001,11]]}},"keywords":{}}],["todossignal();"",{"_index":4728,"title":{},"content":{"825":{"position":[[820,20]]}},"keywords":{}}],["togeth",{"_index":368,"title":{},"content":{"22":{"position":[[123,8]]},"188":{"position":[[302,8]]},"404":{"position":[[634,8],[869,8]]},"661":{"position":[[1430,8]]},"668":{"position":[[94,8]]},"685":{"position":[[248,8]]},"701":{"position":[[783,8]]},"711":{"position":[[1927,8]]},"754":{"position":[[30,8]]},"761":{"position":[[124,8]]},"772":{"position":[[1907,8]]},"829":{"position":[[3198,8]]},"1058":{"position":[[108,8]]},"1130":{"position":[[342,8]]},"1238":{"position":[[167,8]]},"1243":{"position":[[104,8]]},"1270":{"position":[[516,8]]},"1305":{"position":[[498,8]]}},"keywords":{}}],["toggl",{"_index":5513,"title":{},"content":{"995":{"position":[[1791,6]]}},"keywords":{}}],["toggleondocumentvis",{"_index":5543,"title":{"1003":{"position":[[0,24]]}},"content":{"1003":{"position":[[409,24]]}},"keywords":{}}],["tojson",{"_index":5614,"title":{"1051":{"position":[[0,9]]}},"content":{"1018":{"position":[[713,8]]},"1052":{"position":[[9,8]]},"1085":{"position":[[1974,8]]}},"keywords":{}}],["token",{"_index":3339,"title":{},"content":{"551":{"position":[[255,6]]},"639":{"position":[[159,7]]},"848":{"position":[[54,5],[446,5],[907,5]]},"1104":{"position":[[739,5]]},"1305":{"position":[[702,6]]}},"keywords":{}}],["token?"",{"_index":1539,"title":{},"content":{"245":{"position":[[164,12]]}},"keywords":{}}],["tokyo",{"_index":6530,"title":{},"content":{"1315":{"position":[[328,6],[416,7]]}},"keywords":{}}],["toler",{"_index":2709,"title":{},"content":{"412":{"position":[[6347,8]]},"421":{"position":[[914,8]]},"569":{"position":[[486,8]]},"1247":{"position":[[707,8]]}},"keywords":{}}],["tomutablejson",{"_index":5720,"title":{"1052":{"position":[[0,16]]}},"content":{"1051":{"position":[[132,15]]}},"keywords":{}}],["took",{"_index":2965,"title":{},"content":{"453":{"position":[[856,4]]}},"keywords":{}}],["tool",{"_index":304,"title":{},"content":{"18":{"position":[[34,5]]},"22":{"position":[[112,5]]},"37":{"position":[[134,5]]},"38":{"position":[[181,6]]},"65":{"position":[[1990,5]]},"116":{"position":[[228,5]]},"143":{"position":[[36,4]]},"151":{"position":[[349,5]]},"159":{"position":[[71,5]]},"177":{"position":[[254,5]]},"232":{"position":[[213,8]]},"254":{"position":[[201,4]]},"267":{"position":[[921,4]]},"286":{"position":[[235,5]]},"301":{"position":[[439,5],[681,5]]},"346":{"position":[[667,5]]},"362":{"position":[[726,5]]},"364":{"position":[[369,5]]},"375":{"position":[[504,5],[634,5]]},"380":{"position":[[356,6]]},"382":{"position":[[309,5]]},"408":{"position":[[4277,8],[4383,7]]},"411":{"position":[[2587,6]]},"412":{"position":[[1831,5],[2754,5],[2912,5],[13240,7],[14471,5],[14808,5],[15217,5]]},"418":{"position":[[151,5]]},"419":{"position":[[111,5],[1036,5]]},"420":{"position":[[227,5],[511,6],[922,7],[1406,5]]},"441":{"position":[[75,4]]},"445":{"position":[[1878,5]]},"446":{"position":[[556,6],[981,5]]},"494":{"position":[[63,6]]},"510":{"position":[[512,4]]},"548":{"position":[[450,4]]},"576":{"position":[[151,5]]},"608":{"position":[[448,4]]},"613":{"position":[[376,4]]},"696":{"position":[[555,4]]},"821":{"position":[[22,5]]},"836":{"position":[[1988,5]]},"1102":{"position":[[94,5],[270,6]]},"1216":{"position":[[92,4]]},"1251":{"position":[[59,7]]},"1282":{"position":[[977,5]]}},"keywords":{}}],["toolkit",{"_index":1153,"title":{},"content":{"148":{"position":[[507,8]]},"318":{"position":[[575,7]]},"388":{"position":[[304,7]]}},"keywords":{}}],["top",{"_index":234,"title":{"1122":{"position":[[17,3]]},"1131":{"position":[[17,3]]},"1299":{"position":[[13,3]]}},"content":{"14":{"position":[[1007,3]]},"29":{"position":[[255,3]]},"120":{"position":[[100,3]]},"131":{"position":[[407,3]]},"155":{"position":[[143,3]]},"161":{"position":[[164,3]]},"162":{"position":[[186,3]]},"181":{"position":[[41,3]]},"318":{"position":[[492,3]]},"322":{"position":[[48,3]]},"353":{"position":[[459,3]]},"387":{"position":[[62,3]]},"394":{"position":[[1293,4]]},"412":{"position":[[1904,3],[2708,3]]},"433":{"position":[[516,3]]},"445":{"position":[[115,3]]},"459":{"position":[[336,3]]},"507":{"position":[[31,3]]},"513":{"position":[[135,3]]},"524":{"position":[[244,3]]},"548":{"position":[[176,3]]},"555":{"position":[[361,3],[598,3]]},"608":{"position":[[176,3]]},"611":{"position":[[1307,3]]},"613":{"position":[[1041,3]]},"625":{"position":[[102,3]]},"703":{"position":[[541,3]]},"705":{"position":[[1153,3],[1356,3]]},"724":{"position":[[375,3]]},"742":{"position":[[77,3]]},"749":{"position":[[2479,3],[17347,3],[17463,3],[18332,3],[21813,3]]},"772":{"position":[[365,3]]},"776":{"position":[[397,3]]},"872":{"position":[[3013,3]]},"875":{"position":[[189,3]]},"898":{"position":[[1753,3]]},"962":{"position":[[15,3]]},"1020":{"position":[[26,3]]},"1084":{"position":[[584,3]]},"1085":{"position":[[858,3],[965,3],[1677,3],[1746,3],[1787,3],[1997,3],[2030,3],[2226,3],[2418,3]]},"1090":{"position":[[286,3]]},"1095":{"position":[[180,3]]},"1100":{"position":[[4,3]]},"1108":{"position":[[603,3]]},"1114":{"position":[[34,3]]},"1117":{"position":[[238,3]]},"1123":{"position":[[674,3],[768,3]]},"1124":{"position":[[534,3],[997,3]]},"1125":{"position":[[770,3]]},"1132":{"position":[[15,3]]},"1165":{"position":[[170,3]]},"1237":{"position":[[289,3]]},"1316":{"position":[[1780,3]]},"1320":{"position":[[643,3],[707,3],[731,3],[766,3]]}},"keywords":{}}],["topic",{"_index":1365,"title":{},"content":{"210":{"position":[[310,6],[322,5],[662,5]]},"261":{"position":[[383,6],[430,5],[1070,5]]},"390":{"position":[[723,6]]},"422":{"position":[[20,5]]},"461":{"position":[[1480,6]]},"567":{"position":[[55,6]]},"904":{"position":[[1543,5],[1908,5],[1963,5],[2049,5],[2099,5],[2250,6]]},"1121":{"position":[[653,6]]},"1324":{"position":[[1085,5]]}},"keywords":{}}],["topic.inc&switch",{"_index":2863,"title":{},"content":{"422":{"position":[[249,21]]}},"keywords":{}}],["tosign",{"_index":830,"title":{},"content":{"55":{"position":[[166,9],[304,8]]},"1118":{"position":[[424,8]]}},"keywords":{}}],["tosignal(ob",{"_index":6004,"title":{},"content":{"1118":{"position":[[584,13]]}},"keywords":{}}],["tosignal(observ",{"_index":841,"title":{},"content":{"55":{"position":[[537,21]]}},"keywords":{}}],["total",{"_index":1710,"title":{},"content":{"298":{"position":[[237,5]]},"300":{"position":[[178,5],[350,5]]},"411":{"position":[[328,5]]},"461":{"position":[[1194,5]]},"696":{"position":[[1335,5],[1986,5]]},"711":{"position":[[2380,7]]},"752":{"position":[[1179,6]]}},"keywords":{}}],["totalspac",{"_index":1772,"title":{},"content":{"300":{"position":[[273,10],[375,12]]}},"keywords":{}}],["touch",{"_index":2129,"title":{},"content":{"369":{"position":[[1459,8]]},"698":{"position":[[2364,8]]}},"keywords":{}}],["toward",{"_index":5277,"title":{},"content":{"912":{"position":[[104,7]]}},"keywords":{}}],["trace",{"_index":3900,"title":{},"content":{"689":{"position":[[393,5]]}},"keywords":{}}],["track",{"_index":972,"title":{"676":{"position":[[12,8]]}},"content":{"75":{"position":[[104,8]]},"106":{"position":[[113,8]]},"129":{"position":[[368,6]]},"174":{"position":[[1088,8]]},"235":{"position":[[66,5]]},"250":{"position":[[249,5]]},"301":{"position":[[311,5]]},"412":{"position":[[2088,8]]},"450":{"position":[[163,9]]},"496":{"position":[[253,5]]},"635":{"position":[[115,6]]},"676":{"position":[[74,8],[118,5]]},"975":{"position":[[110,6]]},"1304":{"position":[[504,5]]}},"keywords":{}}],["traction",{"_index":2522,"title":{"408":{"position":[[27,9]]}},"content":{},"keywords":{}}],["trade",{"_index":2421,"title":{},"content":{"398":{"position":[[3133,5]]},"401":{"position":[[821,5]]},"412":{"position":[[110,5],[3955,5]]},"611":{"position":[[331,7]]},"689":{"position":[[81,5]]},"699":{"position":[[662,7]]},"1162":{"position":[[1148,5]]},"1324":{"position":[[790,5]]}},"keywords":{}}],["tradeoff",{"_index":2389,"title":{"1248":{"position":[[5,9]]}},"content":{"398":{"position":[[195,9]]},"962":{"position":[[267,9]]},"1067":{"position":[[1057,8]]}},"keywords":{}}],["tradit",{"_index":991,"title":{"355":{"position":[[16,11]]},"413":{"position":[[16,11]]}},"content":{"83":{"position":[[286,11]]},"96":{"position":[[81,11]]},"126":{"position":[[203,11]]},"173":{"position":[[284,11]]},"210":{"position":[[729,11]]},"219":{"position":[[46,11]]},"224":{"position":[[59,11]]},"239":{"position":[[196,11]]},"265":{"position":[[255,11],[592,11],[618,11]]},"276":{"position":[[123,11]]},"278":{"position":[[137,11]]},"281":{"position":[[351,11]]},"290":{"position":[[112,11]]},"351":{"position":[[1,11]]},"390":{"position":[[302,11]]},"395":{"position":[[149,11]]},"410":{"position":[[2244,11]]},"411":{"position":[[1062,11]]},"420":{"position":[[499,11],[599,11]]},"477":{"position":[[6,11]]},"515":{"position":[[76,11]]},"520":{"position":[[164,11]]},"567":{"position":[[1009,11]]},"576":{"position":[[13,11]]},"602":{"position":[[193,11]]},"610":{"position":[[211,11]]},"611":{"position":[[402,11]]},"624":{"position":[[243,11]]},"630":{"position":[[6,11]]}},"keywords":{}}],["tradition",{"_index":5249,"title":{},"content":{"903":{"position":[[1,14]]}},"keywords":{}}],["traffic",{"_index":3109,"title":{},"content":{"477":{"position":[[112,7]]},"610":{"position":[[710,7]]},"627":{"position":[[136,7]]},"902":{"position":[[917,7]]}},"keywords":{}}],["train",{"_index":2196,"title":{},"content":{"390":{"position":[[1042,5]]},"391":{"position":[[824,7]]}},"keywords":{}}],["trait",{"_index":1929,"title":{},"content":{"327":{"position":[[30,6]]}},"keywords":{}}],["transact",{"_index":501,"title":{"1258":{"position":[[7,13]]},"1298":{"position":[[9,11]]},"1303":{"position":[[0,13]]},"1304":{"position":[[23,13]]},"1313":{"position":[[0,12]]},"1314":{"position":[[0,12]]}},"content":{"31":{"position":[[302,12]]},"33":{"position":[[146,12]]},"45":{"position":[[219,12]]},"353":{"position":[[125,11]]},"354":{"position":[[1196,11],[1262,11]]},"358":{"position":[[976,13]]},"376":{"position":[[392,11]]},"412":{"position":[[13607,12]]},"459":{"position":[[623,11]]},"497":{"position":[[291,12],[410,12]]},"506":{"position":[[208,13]]},"533":{"position":[[111,13]]},"593":{"position":[[111,13]]},"700":{"position":[[984,12]]},"703":{"position":[[990,12],[1359,12]]},"705":{"position":[[1072,11]]},"793":{"position":[[909,12]]},"802":{"position":[[754,12]]},"863":{"position":[[494,12]]},"875":{"position":[[5670,13],[5753,11]]},"1044":{"position":[[145,13]]},"1072":{"position":[[1313,13]]},"1093":{"position":[[542,12]]},"1258":{"position":[[119,13]]},"1297":{"position":[[87,12],[115,11],[234,11],[535,12],[577,11]]},"1298":{"position":[[28,12],[150,12]]},"1299":{"position":[[12,11],[361,12]]},"1304":{"position":[[20,13],[47,12],[156,11],[307,11],[333,11],[446,12],[528,12],[565,12],[678,11],[807,11],[928,11],[1214,12],[1673,13]]},"1305":{"position":[[17,12]]},"1313":{"position":[[21,12],[148,12],[329,11],[703,11],[785,11]]},"1314":{"position":[[196,12],[267,11]]},"1315":{"position":[[1192,12]]},"1316":{"position":[[3751,12],[3783,12]]},"1324":{"position":[[862,13],[984,12]]}},"keywords":{}}],["transaction.commit",{"_index":6464,"title":{},"content":{"1298":{"position":[[295,20],[318,20]]}},"keywords":{}}],["transaction.objectstore('product",{"_index":2997,"title":{},"content":{"459":{"position":[[697,36]]}},"keywords":{}}],["transaction.y",{"_index":6575,"title":{},"content":{"1323":{"position":[[66,15],[144,15]]}},"keywords":{}}],["transaction_set",{"_index":6429,"title":{},"content":{"1294":{"position":[[868,22]]}},"keywords":{}}],["transfer",{"_index":579,"title":{"983":{"position":[[23,8]]}},"content":{"37":{"position":[[40,8]]},"236":{"position":[[268,8]]},"283":{"position":[[251,8]]},"408":{"position":[[2264,8],[2920,12],[3076,11],[3384,8]]},"411":{"position":[[66,8]]},"412":{"position":[[6194,8],[6279,8]]},"611":{"position":[[268,8]]},"613":{"position":[[185,8]]},"700":{"position":[[797,8]]},"780":{"position":[[393,8]]},"782":{"position":[[366,11]]},"981":{"position":[[890,8]]},"983":{"position":[[26,12]]},"1213":{"position":[[132,12]]},"1214":{"position":[[390,8]]}},"keywords":{}}],["transform",{"_index":1183,"title":{"887":{"position":[[0,12]]}},"content":{"162":{"position":[[388,14]]},"212":{"position":[[304,15]]},"252":{"position":[[251,15]]},"303":{"position":[[480,9]]},"350":{"position":[[344,15]]},"360":{"position":[[145,15]]},"361":{"position":[[488,9]]},"390":{"position":[[969,11],[1112,11]]},"391":{"position":[[350,10]]},"392":{"position":[[846,11]]},"401":{"position":[[110,12]]},"408":{"position":[[5390,15]]},"451":{"position":[[461,12]]},"457":{"position":[[489,9]]},"459":{"position":[[1135,9]]},"483":{"position":[[361,10]]},"501":{"position":[[278,14]]},"561":{"position":[[108,9]]},"602":{"position":[[38,10]]},"630":{"position":[[951,10]]},"636":{"position":[[242,9]]},"724":{"position":[[763,10],[926,12]]},"749":{"position":[[12102,10]]},"751":{"position":[[357,11],[570,10],[981,10],[1672,10]]},"887":{"position":[[167,9]]},"986":{"position":[[608,9]]},"1071":{"position":[[256,9]]},"1085":{"position":[[512,9]]},"1208":{"position":[[1278,9]]},"1319":{"position":[[314,10]]}},"keywords":{}}],["transformations.transact",{"_index":2028,"title":{},"content":{"354":{"position":[[1117,27]]}},"keywords":{}}],["transformers.j",{"_index":2180,"title":{"389":{"position":[[36,15]]}},"content":{"391":{"position":[[134,15]]}},"keywords":{}}],["transient",{"_index":2905,"title":{},"content":{"430":{"position":[[1134,9]]}},"keywords":{}}],["transit",{"_index":1211,"title":{},"content":{"173":{"position":[[2827,10]]},"262":{"position":[[508,10]]},"367":{"position":[[345,11]]},"445":{"position":[[1916,10]]},"502":{"position":[[1310,10]]},"556":{"position":[[1721,8]]}},"keywords":{}}],["translat",{"_index":1316,"title":{},"content":{"204":{"position":[[73,9]]},"828":{"position":[[261,9]]}},"keywords":{}}],["transmiss",{"_index":1048,"title":{},"content":{"108":{"position":[[124,14]]},"621":{"position":[[456,13]]},"624":{"position":[[1263,13]]},"990":{"position":[[352,14]]},"1132":{"position":[[1149,12]]}},"keywords":{}}],["transpar",{"_index":1122,"title":{},"content":{"139":{"position":[[173,13]]},"714":{"position":[[287,11]]},"1151":{"position":[[15,11]]},"1178":{"position":[[15,11]]}},"keywords":{}}],["transpil",{"_index":4067,"title":{},"content":{"728":{"position":[[28,10]]},"1322":{"position":[[60,10]]}},"keywords":{}}],["transport",{"_index":1905,"title":{},"content":{"316":{"position":[[538,9]]},"491":{"position":[[558,10]]}},"keywords":{}}],["travel",{"_index":5238,"title":{},"content":{"902":{"position":[[58,7]]}},"keywords":{}}],["travers",{"_index":5236,"title":{},"content":{"901":{"position":[[265,9]]}},"keywords":{}}],["treat",{"_index":497,"title":{},"content":{"31":{"position":[[140,6]]},"419":{"position":[[340,5]]},"861":{"position":[[2091,5]]}},"keywords":{}}],["treatment",{"_index":6057,"title":{},"content":{"1140":{"position":[[242,9]]}},"keywords":{}}],["tree",{"_index":218,"title":{},"content":{"14":{"position":[[528,4]]},"24":{"position":[[434,4],[766,4]]},"411":{"position":[[3535,5]]},"571":{"position":[[809,4]]},"1092":{"position":[[88,4],[634,4]]},"1093":{"position":[[52,4]]},"1198":{"position":[[507,5]]}},"keywords":{}}],["trend",{"_index":2827,"title":{"420":{"position":[[51,7]]}},"content":{},"keywords":{}}],["tri",{"_index":1697,"title":{"742":{"position":[[0,3]]},"798":{"position":[[0,3]]}},"content":{"296":{"position":[[1,3]]},"302":{"position":[[158,6],[679,3]]},"354":{"position":[[1365,5]]},"358":{"position":[[269,3]]},"388":{"position":[[50,3]]},"393":{"position":[[694,3]]},"402":{"position":[[1837,3]]},"440":{"position":[[250,6]]},"461":{"position":[[1369,5]]},"535":{"position":[[646,6]]},"595":{"position":[[673,6]]},"666":{"position":[[295,3]]},"710":{"position":[[906,3]]},"712":{"position":[[192,3]]},"749":{"position":[[16735,5]]},"798":{"position":[[120,3]]},"816":{"position":[[207,5]]},"836":{"position":[[1047,3]]},"838":{"position":[[1564,3]]},"873":{"position":[[1,3]]},"879":{"position":[[307,5]]},"904":{"position":[[247,3]]},"948":{"position":[[142,5]]},"1007":{"position":[[238,5]]},"1031":{"position":[[146,3]]},"1271":{"position":[[179,3]]}},"keywords":{}}],["trial",{"_index":4426,"title":{},"content":{"749":{"position":[[23206,5],[23332,5],[23464,5]]},"1235":{"position":[[344,5]]},"1271":{"position":[[71,5],[265,5],[1052,5],[1096,5],[1738,5]]},"1282":{"position":[[735,5]]}},"keywords":{}}],["trick",{"_index":1819,"title":{"303":{"position":[[0,6]]}},"content":{"303":{"position":[[1058,6]]}},"keywords":{}}],["tricki",{"_index":3576,"title":{},"content":{"611":{"position":[[1150,7]]}},"keywords":{}}],["trickl",{"_index":3584,"title":{},"content":{"612":{"position":[[527,8]]}},"keywords":{}}],["trigger",{"_index":751,"title":{},"content":{"50":{"position":[[94,7]]},"140":{"position":[[235,10]]},"168":{"position":[[204,7]]},"196":{"position":[[189,10]]},"226":{"position":[[294,7]]},"326":{"position":[[99,7]]},"344":{"position":[[99,7]]},"354":{"position":[[551,9]]},"410":{"position":[[2030,7]]},"427":{"position":[[1336,7]]},"477":{"position":[[41,8]]},"496":{"position":[[797,8]]},"518":{"position":[[335,7]]},"630":{"position":[[49,8]]},"631":{"position":[[269,7]]},"829":{"position":[[2828,7]]},"857":{"position":[[587,8]]},"898":{"position":[[1256,7]]},"996":{"position":[[1,8],[500,7]]},"1177":{"position":[[536,7]]}},"keywords":{}}],["triggerstrigg",{"_index":4519,"title":{},"content":{"765":{"position":[[227,18]]}},"keywords":{}}],["trip",{"_index":1012,"title":{},"content":{"92":{"position":[[131,5]]},"173":{"position":[[2030,6]]},"220":{"position":[[124,5]]},"224":{"position":[[276,5]]},"375":{"position":[[320,5]]},"408":{"position":[[2339,4],[2586,4],[2905,5],[3309,4]]},"410":{"position":[[117,4]]},"411":{"position":[[350,4]]},"415":{"position":[[292,4]]},"574":{"position":[[433,5]]},"630":{"position":[[631,4]]},"902":{"position":[[120,4]]}},"keywords":{}}],["trips.autom",{"_index":3157,"title":{},"content":{"487":{"position":[[255,15]]}},"keywords":{}}],["trivial",{"_index":2099,"title":{},"content":{"362":{"position":[[649,7]]},"559":{"position":[[143,7]]},"668":{"position":[[237,7]]},"1317":{"position":[[128,8]]}},"keywords":{}}],["troublesom",{"_index":3985,"title":{},"content":{"708":{"position":[[501,12]]}},"keywords":{}}],["true",{"_index":124,"title":{"206":{"position":[[3,4]]},"253":{"position":[[3,4]]}},"content":{"8":{"position":[[676,5]]},"55":{"position":[[599,4]]},"209":{"position":[[330,5],[349,4],[1257,4]]},"255":{"position":[[674,5],[693,4],[1559,4]]},"314":{"position":[[577,4]]},"316":{"position":[[204,5],[416,5]]},"334":{"position":[[478,5],[518,4]]},"354":{"position":[[1375,4]]},"391":{"position":[[710,5]]},"408":{"position":[[210,4]]},"412":{"position":[[14538,4]]},"481":{"position":[[819,4]]},"483":{"position":[[92,4]]},"522":{"position":[[589,5],[638,5],[657,5]]},"579":{"position":[[487,5],[527,4]]},"632":{"position":[[2589,5]]},"634":{"position":[[319,5]]},"639":{"position":[[261,4],[387,5]]},"647":{"position":[[320,5],[370,4]]},"648":{"position":[[12,4],[130,4],[167,5],[219,4]]},"649":{"position":[[175,4]]},"653":{"position":[[999,5],[1238,5],[1253,5],[1482,4]]},"678":{"position":[[340,4],[363,4]]},"684":{"position":[[72,5],[210,4]]},"696":{"position":[[1645,4]]},"700":{"position":[[336,5]]},"703":{"position":[[1606,4]]},"720":{"position":[[69,4],[218,4],[229,5]]},"734":{"position":[[629,5],[650,5]]},"739":{"position":[[398,4]]},"746":{"position":[[466,5],[481,5],[556,5],[661,5],[692,5],[717,5],[730,5],[743,5],[755,5],[780,5],[812,5],[827,5],[840,5],[854,4]]},"749":{"position":[[691,4],[2238,4],[14865,4]]},"759":{"position":[[787,4]]},"767":{"position":[[491,6],[887,6]]},"768":{"position":[[483,6],[891,6]]},"769":{"position":[[438,6],[858,6]]},"804":{"position":[[90,5]]},"825":{"position":[[737,5]]},"846":{"position":[[324,4],[413,5]]},"854":{"position":[[1079,5]]},"858":{"position":[[424,4]]},"861":{"position":[[2133,4]]},"866":{"position":[[844,5]]},"872":{"position":[[1123,4],[2634,4],[4588,5]]},"875":{"position":[[8195,4],[9614,4]]},"878":{"position":[[563,4]]},"885":{"position":[[2161,5],[2275,5]]},"886":{"position":[[1980,5],[2028,5],[2046,5]]},"898":{"position":[[3452,5]]},"907":{"position":[[208,4],[357,5]]},"916":{"position":[[230,4],[241,5]]},"934":{"position":[[615,5]]},"939":{"position":[[296,4]]},"957":{"position":[[9,4]]},"960":{"position":[[484,5],[533,5],[552,5]]},"964":{"position":[[140,5]]},"965":{"position":[[347,5]]},"966":{"position":[[324,5],[363,4],[628,4],[746,4]]},"967":{"position":[[213,4],[331,4]]},"971":{"position":[[119,4]]},"978":{"position":[[9,4]]},"986":{"position":[[401,5]]},"988":{"position":[[839,5],[854,5],[1126,5],[1281,5],[1463,5],[1631,4],[1650,5],[5167,5]]},"993":{"position":[[485,4],[622,4]]},"995":{"position":[[203,4],[231,4],[838,4],[866,4]]},"1000":{"position":[[9,4]]},"1001":{"position":[[9,4]]},"1003":{"position":[[434,5]]},"1013":{"position":[[167,4],[390,4],[542,4],[740,4]]},"1045":{"position":[[276,4]]},"1048":{"position":[[503,4],[599,5]]},"1049":{"position":[[251,4]]},"1050":{"position":[[154,4]]},"1051":{"position":[[336,4]]},"1053":{"position":[[9,4]]},"1063":{"position":[[9,4],[208,4]]},"1067":{"position":[[2432,5],[2453,4]]},"1068":{"position":[[96,4]]},"1070":{"position":[[9,4]]},"1074":{"position":[[1374,5],[1545,5],[1924,4]]},"1078":{"position":[[143,5],[164,5]]},"1080":{"position":[[93,5]]},"1083":{"position":[[613,4]]},"1088":{"position":[[588,4]]},"1090":{"position":[[1342,4]]},"1106":{"position":[[636,5]]},"1126":{"position":[[466,4],[550,5],[625,4]]},"1148":{"position":[[1053,4]]},"1164":{"position":[[544,5],[772,5],[817,5],[839,5],[1124,5]]},"1165":{"position":[[435,4]]},"1170":{"position":[[182,4]]},"1171":{"position":[[257,4]]},"1175":{"position":[[63,4]]},"1185":{"position":[[287,5],[360,5]]},"1208":{"position":[[857,5],[988,5]]},"1213":{"position":[[553,5],[721,4]]},"1266":{"position":[[638,5],[968,5]]},"1282":{"position":[[164,4]]},"1294":{"position":[[1433,5],[1716,5]]},"1296":{"position":[[1409,5],[1574,5]]},"1311":{"position":[[385,5]]},"1321":{"position":[[42,4]]}},"keywords":{}}],["true"",{"_index":4210,"title":{},"content":{"749":{"position":[[5830,11],[5892,10]]}},"keywords":{}}],["true/fals",{"_index":5532,"title":{},"content":{"1000":{"position":[[160,10]]},"1001":{"position":[[77,10]]}},"keywords":{}}],["truli",{"_index":1562,"title":{},"content":{"253":{"position":[[128,5]]},"263":{"position":[[172,5]]},"303":{"position":[[1116,5]]},"408":{"position":[[5443,5]]},"411":{"position":[[5218,5]]},"412":{"position":[[10404,5],[14713,5]]},"483":{"position":[[1271,5]]},"491":{"position":[[1520,5]]},"1085":{"position":[[811,5]]}},"keywords":{}}],["truncat",{"_index":6219,"title":{},"content":{"1208":{"position":[[1623,8]]}},"keywords":{}}],["trust",{"_index":2728,"title":{},"content":{"412":{"position":[[8187,7]]},"417":{"position":[[406,5]]},"556":{"position":[[1928,6]]},"697":{"position":[[85,7]]},"897":{"position":[[589,7]]},"898":{"position":[[2845,7]]},"991":{"position":[[47,8]]}},"keywords":{}}],["truth",{"_index":2617,"title":{},"content":{"411":{"position":[[2054,5],[4005,5]]},"412":{"position":[[5620,7]]},"418":{"position":[[821,5]]},"478":{"position":[[249,6]]},"700":{"position":[[55,6],[172,6]]},"705":{"position":[[591,5]]}},"keywords":{}}],["truthi",{"_index":5458,"title":{},"content":{"988":{"position":[[2103,6]]}},"keywords":{}}],["try/catch",{"_index":1800,"title":{},"content":{"302":{"position":[[388,9]]}},"keywords":{}}],["tryout",{"_index":5261,"title":{},"content":{"904":{"position":[[2672,8]]},"906":{"position":[[335,8]]}},"keywords":{}}],["tryouts.in",{"_index":6280,"title":{},"content":{"1235":{"position":[[371,10]]}},"keywords":{}}],["ts",{"_index":1380,"title":{},"content":{"211":{"position":[[307,2]]},"1266":{"position":[[881,6]]}},"keywords":{}}],["tsx",{"_index":6317,"title":{},"content":{"1266":{"position":[[749,10],[872,8]]}},"keywords":{}}],["tune",{"_index":1551,"title":{},"content":{"250":{"position":[[302,4]]},"383":{"position":[[496,4]]},"412":{"position":[[9476,6],[10737,6]]},"644":{"position":[[215,6]]},"1164":{"position":[[38,4]]}},"keywords":{}}],["tunnel",{"_index":3972,"title":{},"content":{"703":{"position":[[728,6]]}},"keywords":{}}],["turn",{"_index":2918,"title":{},"content":{"436":{"position":[[87,4]]},"614":{"position":[[480,4]]},"871":{"position":[[89,4]]}},"keywords":{}}],["turnkey",{"_index":2662,"title":{},"content":{"412":{"position":[[1202,7]]}},"keywords":{}}],["tutori",{"_index":106,"title":{},"content":{"8":{"position":[[140,9]]},"299":{"position":[[1569,9]]},"301":{"position":[[593,8]]},"387":{"position":[[171,10]]},"388":{"position":[[69,8]]},"390":{"position":[[1625,9]]},"393":{"position":[[446,9]]},"402":{"position":[[1940,8]]},"567":{"position":[[373,8]]},"861":{"position":[[81,8],[1190,8]]},"875":{"position":[[5646,9],[7620,9]]},"876":{"position":[[9,8]]}},"keywords":{}}],["tutorial.check",{"_index":3383,"title":{},"content":{"557":{"position":[[196,14]]},"712":{"position":[[67,14]]}},"keywords":{}}],["tutorial.i",{"_index":4587,"title":{},"content":{"776":{"position":[[117,10]]}},"keywords":{}}],["tutorial.if",{"_index":4816,"title":{},"content":{"842":{"position":[[123,11]]}},"keywords":{}}],["tutorial.ther",{"_index":3820,"title":{},"content":{"663":{"position":[[83,14]]},"842":{"position":[[217,14]]}},"keywords":{}}],["tweet",{"_index":2715,"title":{},"content":{"412":{"position":[[6866,5]]},"471":{"position":[[23,5]]}},"keywords":{}}],["tweetlearn",{"_index":3689,"title":{},"content":{"628":{"position":[[80,10]]}},"keywords":{}}],["tweetread",{"_index":2511,"title":{},"content":{"405":{"position":[[29,9]]}},"keywords":{}}],["twice",{"_index":3075,"title":{},"content":{"466":{"position":[[366,5]]},"467":{"position":[[331,5]]}},"keywords":{}}],["twitter",{"_index":2716,"title":{},"content":{"412":{"position":[[6875,7]]}},"keywords":{}}],["two",{"_index":204,"title":{},"content":{"14":{"position":[[129,3]]},"65":{"position":[[1977,3]]},"192":{"position":[[210,3]]},"393":{"position":[[192,3],[758,3],[863,3]]},"398":{"position":[[441,3]]},"408":{"position":[[3030,3]]},"412":{"position":[[822,3],[2244,3],[3097,3],[3128,3],[4553,3],[5891,3],[13881,3]]},"427":{"position":[[1312,3]]},"453":{"position":[[274,3]]},"458":{"position":[[1027,3]]},"525":{"position":[[588,3]]},"538":{"position":[[15,3]]},"540":{"position":[[98,3]]},"554":{"position":[[13,3]]},"582":{"position":[[498,3]]},"598":{"position":[[15,3]]},"617":{"position":[[407,3]]},"624":{"position":[[679,3]]},"626":{"position":[[640,3]]},"691":{"position":[[22,3],[535,3]]},"696":{"position":[[1024,3]]},"698":{"position":[[9,3],[184,3]]},"707":{"position":[[41,3]]},"711":{"position":[[2269,3]]},"717":{"position":[[20,3]]},"774":{"position":[[923,3]]},"775":{"position":[[209,3]]},"817":{"position":[[312,3]]},"828":{"position":[[212,3]]},"837":{"position":[[153,3],[999,3]]},"838":{"position":[[1710,3]]},"860":{"position":[[291,3]]},"870":{"position":[[1,3]]},"872":{"position":[[2187,3]]},"875":{"position":[[2356,3]]},"935":{"position":[[106,3]]},"961":{"position":[[76,3]]},"964":{"position":[[193,3]]},"983":{"position":[[1111,3]]},"984":{"position":[[452,3]]},"986":{"position":[[151,3]]},"1072":{"position":[[2104,3]]},"1080":{"position":[[985,3]]},"1100":{"position":[[203,3]]},"1147":{"position":[[89,3]]},"1214":{"position":[[162,3]]},"1267":{"position":[[746,5]]},"1271":{"position":[[11,3]]},"1292":{"position":[[48,3]]},"1296":{"position":[[709,3]]},"1306":{"position":[[11,3]]},"1309":{"position":[[38,3],[75,3]]},"1315":{"position":[[185,3],[992,3],[1233,3]]}},"keywords":{}}],["tx",{"_index":1804,"title":{},"content":{"302":{"position":[[691,2]]},"1294":{"position":[[807,3]]}},"keywords":{}}],["tx.done",{"_index":1810,"title":{},"content":{"302":{"position":[[825,8]]}},"keywords":{}}],["tx.objectstore('largestor",{"_index":1807,"title":{},"content":{"302":{"position":[[753,29]]}},"keywords":{}}],["tx.objectstore(storenam",{"_index":6430,"title":{},"content":{"1294":{"position":[[905,26]]}},"keywords":{}}],["type",{"_index":630,"title":{"925":{"position":[[0,5]]},"1311":{"position":[[10,6]]}},"content":{"40":{"position":[[52,5],[177,5]]},"47":{"position":[[603,5]]},"51":{"position":[[373,5],[409,5],[451,5],[478,5]]},"74":{"position":[[86,4]]},"105":{"position":[[156,4],[215,7]]},"151":{"position":[[452,5]]},"174":{"position":[[861,6],[915,4]]},"188":{"position":[[1250,5],[1286,5],[1328,5],[1371,5]]},"209":{"position":[[437,5],[491,5],[534,5],[564,5]]},"211":{"position":[[417,5],[453,5],[498,5]]},"232":{"position":[[163,6]]},"255":{"position":[[781,5],[835,5],[878,5],[904,5]]},"259":{"position":[[99,5],[135,5],[177,5]]},"281":{"position":[[74,6],[263,8],[299,4]]},"314":{"position":[[747,5],[801,5],[830,5],[861,5]]},"315":{"position":[[723,5],[777,5],[803,5]]},"316":{"position":[[232,5],[286,5],[315,5],[346,5]]},"334":{"position":[[651,5],[687,5],[713,5],[741,5]]},"356":{"position":[[171,6]]},"360":{"position":[[762,4]]},"361":{"position":[[120,6]]},"367":{"position":[[794,5],[830,5],[921,5],[963,5],[995,5]]},"390":{"position":[[895,5],[1182,5]]},"392":{"position":[[601,5],[637,5],[678,5],[1567,5],[1603,5],[1649,5],[1673,5]]},"393":{"position":[[600,4]]},"397":{"position":[[488,5]]},"411":{"position":[[837,4]]},"412":{"position":[[3712,6]]},"415":{"position":[[101,6]]},"424":{"position":[[261,6]]},"444":{"position":[[348,5]]},"480":{"position":[[547,5],[601,5],[628,5],[654,5]]},"482":{"position":[[847,5],[901,5],[933,5]]},"533":{"position":[[263,6]]},"535":{"position":[[673,4]]},"538":{"position":[[674,5],[710,5],[752,5],[779,5]]},"554":{"position":[[1338,5],[1392,5],[1441,5],[1474,5]]},"556":{"position":[[1014,5]]},"562":{"position":[[319,5],[373,5],[399,5],[426,5]]},"564":{"position":[[776,5],[830,5],[862,5]]},"569":{"position":[[138,4]]},"579":{"position":[[659,5],[695,5],[721,5],[755,5]]},"593":{"position":[[263,6]]},"598":{"position":[[681,5],[717,5],[759,5],[786,5]]},"612":{"position":[[1474,4],[1598,6],[1909,6]]},"617":{"position":[[2382,4]]},"632":{"position":[[1531,5],[1585,5],[1628,5],[1654,5]]},"636":{"position":[[52,6]]},"638":{"position":[[615,5],[669,5],[718,5]]},"639":{"position":[[393,5],[447,5],[492,5],[523,5]]},"662":{"position":[[2394,5],[2448,5],[2490,5],[2515,5]]},"680":{"position":[[841,5],[877,5],[921,5]]},"688":{"position":[[949,6]]},"698":{"position":[[3047,5]]},"711":{"position":[[2364,4]]},"717":{"position":[[1450,5],[1486,5],[1530,5]]},"720":{"position":[[149,5]]},"734":{"position":[[715,5],[751,5]]},"749":{"position":[[17080,4],[17198,4],[18250,5],[19926,4],[20137,4],[20294,4],[20466,4],[20561,4],[20728,4]]},"792":{"position":[[397,5]]},"796":{"position":[[289,6],[1217,4]]},"800":{"position":[[991,5]]},"808":{"position":[[230,5],[306,5],[564,5],[602,5],[631,5],[669,5]]},"812":{"position":[[87,5],[125,5],[153,5],[193,5]]},"813":{"position":[[87,5],[125,5],[154,5],[192,5]]},"818":{"position":[[77,4]]},"838":{"position":[[2608,5],[2662,5],[2704,5],[2729,5]]},"841":{"position":[[73,4],[1215,5]]},"854":{"position":[[931,4]]},"862":{"position":[[681,5],[717,5],[759,5]]},"872":{"position":[[1898,5],[1942,5],[1989,5],[2019,5],[4128,5],[4172,5],[4219,5],[4249,5]]},"875":{"position":[[1549,4],[2786,6],[5550,6],[6339,6],[7293,6]]},"885":{"position":[[620,4],[767,4],[833,4],[1054,4],[1328,4]]},"889":{"position":[[136,4],[224,4],[265,4]]},"898":{"position":[[194,4],[1725,6],[1770,5],[2478,5],[2522,5],[2569,5],[2599,5],[2624,5]]},"904":{"position":[[870,5],[924,5],[967,5],[993,5],[1039,5]]},"916":{"position":[[156,5]]},"917":{"position":[[303,5],[334,4]]},"918":{"position":[[174,5]]},"922":{"position":[[48,4]]},"925":{"position":[[5,4]]},"932":{"position":[[1208,5]]},"941":{"position":[[208,5]]},"948":{"position":[[256,5]]},"988":{"position":[[2634,6]]},"1007":{"position":[[169,6]]},"1018":{"position":[[681,5],[731,4]]},"1057":{"position":[[356,4],[572,4]]},"1072":{"position":[[1946,5]]},"1078":{"position":[[494,5],[530,5],[626,5],[656,5]]},"1079":{"position":[[122,5],[234,5]]},"1080":{"position":[[117,5],[153,5],[249,5],[370,5],[398,5],[431,5],[460,5],[630,5],[654,5],[691,5]]},"1082":{"position":[[202,5],[238,5],[334,5],[364,5],[389,5]]},"1083":{"position":[[402,5],[438,5],[534,5],[564,5],[589,5]]},"1085":{"position":[[1159,5],[2379,8],[2449,4],[2651,6]]},"1100":{"position":[[46,5]]},"1102":{"position":[[607,6],[770,4]]},"1149":{"position":[[1061,5],[1115,5],[1157,5],[1182,5]]},"1158":{"position":[[389,5],[425,5],[452,5],[478,5]]},"1226":{"position":[[668,5]]},"1257":{"position":[[71,4]]},"1264":{"position":[[548,5]]},"1290":{"position":[[100,5]]},"1306":{"position":[[15,5]]},"1311":{"position":[[34,6],[417,5],[461,5],[492,5],[522,5],[547,5]]},"1318":{"position":[[698,5]]},"1322":{"position":[[83,5],[228,7],[380,5],[426,7],[526,4]]}},"keywords":{}}],["type:str",{"_index":4381,"title":{},"content":{"749":{"position":[[18959,11]]}},"keywords":{}}],["type="text"",{"_index":3395,"title":{},"content":{"559":{"position":[[588,21]]}},"keywords":{}}],["typeerror",{"_index":5408,"title":{},"content":{"968":{"position":[[602,10]]},"1213":{"position":[[872,10]]}},"keywords":{}}],["typesaf",{"_index":5740,"title":{},"content":{"1057":{"position":[[415,9]]}},"keywords":{}}],["typescript",{"_index":300,"title":{"74":{"position":[[17,10]]},"105":{"position":[[17,10]]},"232":{"position":[[7,10]]},"281":{"position":[[17,10]]},"1251":{"position":[[0,10]]},"1257":{"position":[[19,11]]},"1310":{"position":[[16,10]]},"1322":{"position":[[0,10]]}},"content":{"17":{"position":[[527,10]]},"34":{"position":[[236,11]]},"47":{"position":[[553,10],[592,10]]},"74":{"position":[[20,10]]},"83":{"position":[[130,10]]},"105":{"position":[[1,10],[110,10]]},"174":{"position":[[704,10],[781,10]]},"188":{"position":[[20,10]]},"232":{"position":[[1,10],[104,10],[313,10]]},"281":{"position":[[1,11],[195,10]]},"445":{"position":[[164,11]]},"535":{"position":[[580,10]]},"595":{"position":[[607,10]]},"711":{"position":[[2353,10]]},"730":{"position":[[184,10]]},"793":{"position":[[72,10]]},"1018":{"position":[[642,11],[895,10]]},"1057":{"position":[[298,10]]},"1071":{"position":[[180,10]]},"1085":{"position":[[2368,10],[2621,10]]},"1251":{"position":[[157,10]]},"1257":{"position":[[41,10]]},"1322":{"position":[[32,10]]}},"keywords":{}}],["typescript"",{"_index":1530,"title":{},"content":{"244":{"position":[[1613,16]]}},"keywords":{}}],["typescript/j",{"_index":654,"title":{},"content":{"41":{"position":[[247,13]]}},"keywords":{}}],["typic",{"_index":636,"title":{"349":{"position":[[29,9]]}},"content":{"40":{"position":[[344,9]]},"99":{"position":[[15,9]]},"203":{"position":[[28,9]]},"226":{"position":[[15,9]]},"228":{"position":[[27,9]]},"265":{"position":[[566,9]]},"298":{"position":[[496,9]]},"299":{"position":[[888,9]]},"302":{"position":[[335,7]]},"303":{"position":[[78,9]]},"305":{"position":[[268,10]]},"336":{"position":[[470,7]]},"357":{"position":[[39,9]]},"358":{"position":[[68,9]]},"408":{"position":[[871,9]]},"410":{"position":[[1588,7]]},"411":{"position":[[56,9]]},"412":{"position":[[8826,9],[10316,7],[11122,9]]},"414":{"position":[[274,9]]},"419":{"position":[[1767,9]]},"427":{"position":[[1477,9]]},"461":{"position":[[1083,9],[1314,9]]},"478":{"position":[[1,7]]},"563":{"position":[[6,9]]},"570":{"position":[[388,9]]},"581":{"position":[[514,9]]},"641":{"position":[[237,9]]},"723":{"position":[[742,9]]},"830":{"position":[[264,9]]},"841":{"position":[[1039,9]]},"1150":{"position":[[223,9]]}},"keywords":{}}],["typo",{"_index":5898,"title":{},"content":{"1085":{"position":[[2504,4]]}},"keywords":{}}],["ubuntu",{"_index":6394,"title":{},"content":{"1292":{"position":[[74,6]]}},"keywords":{}}],["ui",{"_index":544,"title":{"73":{"position":[[42,4]]},"77":{"position":[[54,2]]},"103":{"position":[[54,2]]},"104":{"position":[[42,4]]},"173":{"position":[[21,2]]},"231":{"position":[[27,4]]},"233":{"position":[[33,2]]},"484":{"position":[[23,2]]},"485":{"position":[[26,3]]},"486":{"position":[[39,3]]},"488":{"position":[[20,2]]},"489":{"position":[[46,3]]},"490":{"position":[[10,2]]},"492":{"position":[[11,2]]},"495":{"position":[[24,2]]},"497":{"position":[[38,3]]},"634":{"position":[[11,2]]},"1312":{"position":[[4,2]]}},"content":{"34":{"position":[[645,2]]},"37":{"position":[[74,2]]},"53":{"position":[[81,2]]},"77":{"position":[[181,2]]},"103":{"position":[[71,2]]},"104":{"position":[[64,2],[202,2]]},"106":{"position":[[164,2]]},"124":{"position":[[246,2]]},"129":{"position":[[52,2]]},"130":{"position":[[295,2]]},"140":{"position":[[229,2]]},"146":{"position":[[198,2]]},"173":{"position":[[19,2]]},"174":{"position":[[378,2],[460,4],[573,2],[674,2],[1147,2]]},"175":{"position":[[478,2]]},"177":{"position":[[27,2]]},"182":{"position":[[169,2],[292,2]]},"185":{"position":[[182,2]]},"196":{"position":[[183,2]]},"205":{"position":[[377,2]]},"217":{"position":[[224,2]]},"221":{"position":[[260,3]]},"226":{"position":[[327,3]]},"231":{"position":[[263,2]]},"233":{"position":[[113,2],[221,2]]},"234":{"position":[[136,2]]},"235":{"position":[[185,2]]},"277":{"position":[[123,2]]},"302":{"position":[[1018,2]]},"320":{"position":[[245,2]]},"326":{"position":[[107,2]]},"329":{"position":[[232,3]]},"342":{"position":[[157,2]]},"352":{"position":[[11,3]]},"354":{"position":[[108,2]]},"360":{"position":[[343,2]]},"362":{"position":[[154,2]]},"369":{"position":[[1274,2]]},"379":{"position":[[130,2]]},"410":{"position":[[2038,2]]},"411":{"position":[[2069,3],[2258,2],[2495,2],[3023,2],[3884,3]]},"412":{"position":[[3638,4],[5093,2],[10036,2]]},"415":{"position":[[388,4]]},"420":{"position":[[1351,3]]},"451":{"position":[[683,2]]},"476":{"position":[[319,2]]},"479":{"position":[[168,2]]},"483":{"position":[[344,2]]},"485":{"position":[[12,3]]},"486":{"position":[[198,2]]},"488":{"position":[[37,2]]},"489":{"position":[[48,3],[515,2]]},"490":{"position":[[153,2],[236,2]]},"491":{"position":[[45,3],[891,2]]},"495":{"position":[[18,3],[405,2]]},"497":{"position":[[641,2]]},"498":{"position":[[45,2],[549,3]]},"541":{"position":[[808,2]]},"562":{"position":[[843,2],[962,2],[1755,2]]},"566":{"position":[[549,2]]},"574":{"position":[[297,2]]},"601":{"position":[[789,2]]},"630":{"position":[[599,2]]},"631":{"position":[[277,2]]},"634":{"position":[[80,2],[329,2],[555,2]]},"642":{"position":[[197,2]]},"661":{"position":[[1447,2]]},"662":{"position":[[234,2]]},"698":{"position":[[2118,2]]},"700":{"position":[[624,2],[1141,3]]},"703":{"position":[[1309,2],[1562,2]]},"707":{"position":[[140,2]]},"709":{"position":[[625,3]]},"710":{"position":[[120,2],[2442,3]]},"711":{"position":[[1941,2]]},"778":{"position":[[542,2]]},"781":{"position":[[531,2],[866,2]]},"785":{"position":[[30,2],[399,2],[600,3]]},"801":{"position":[[421,2],[739,2]]},"836":{"position":[[1157,2],[1281,2],[1500,2],[2403,2]]},"838":{"position":[[263,2],[470,2]]},"841":{"position":[[602,2]]},"1058":{"position":[[122,3]]},"1117":{"position":[[487,2]]},"1150":{"position":[[588,2]]},"1313":{"position":[[473,2]]},"1321":{"position":[[171,3]]}},"keywords":{}}],["ui"",{"_index":1440,"title":{},"content":{"243":{"position":[[21,8]]}},"keywords":{}}],["uint8array(writes",{"_index":6212,"title":{},"content":{"1208":{"position":[[1327,22]]}},"keywords":{}}],["ultim",{"_index":1643,"title":{"472":{"position":[[11,8]]}},"content":{"277":{"position":[[308,11]]},"318":{"position":[[566,8]]},"388":{"position":[[232,11]]},"491":{"position":[[67,10]]}},"keywords":{}}],["umd",{"_index":1939,"title":{},"content":{"333":{"position":[[187,3]]}},"keywords":{}}],["un",{"_index":5469,"title":{},"content":{"988":{"position":[[4020,2]]},"1316":{"position":[[550,2]]}},"keywords":{}}],["unauthor",{"_index":1299,"title":{"880":{"position":[[0,14]]}},"content":{"195":{"position":[[180,12]]},"377":{"position":[[111,12]]},"526":{"position":[[178,12]]},"550":{"position":[[37,12]]},"586":{"position":[[154,12]]},"749":{"position":[[16506,12]]},"880":{"position":[[190,13]]},"912":{"position":[[371,12]]}},"keywords":{}}],["unavail",{"_index":1393,"title":{},"content":{"215":{"position":[[256,12]]},"300":{"position":[[848,12]]},"323":{"position":[[238,12]]},"445":{"position":[[650,12]]},"860":{"position":[[437,12]]}},"keywords":{}}],["unavoid",{"_index":3691,"title":{},"content":{"630":{"position":[[131,11]]}},"keywords":{}}],["unbound",{"_index":5896,"title":{},"content":{"1085":{"position":[[2252,10]]}},"keywords":{}}],["uncach",{"_index":4698,"title":{},"content":{"816":{"position":[[150,7],[299,7],[383,7]]},"817":{"position":[[105,8],[217,8]]},"818":{"position":[[237,8]]}},"keywords":{}}],["uncacherxquery(rxqueri",{"_index":4704,"title":{},"content":{"818":{"position":[[268,24]]}},"keywords":{}}],["uncaught",{"_index":4071,"title":{},"content":{"729":{"position":[[91,8]]}},"keywords":{}}],["uncompress",{"_index":1828,"title":{},"content":{"303":{"position":[[522,12]]},"361":{"position":[[519,12]]}},"keywords":{}}],["undefin",{"_index":280,"title":{"887":{"position":[[21,9]]}},"content":{"16":{"position":[[453,9]]},"729":{"position":[[406,9]]},"749":{"position":[[3718,12]]},"829":{"position":[[2096,10]]},"886":{"position":[[1318,10]]},"887":{"position":[[88,10],[215,9],[570,9]]},"898":{"position":[[4399,9]]},"968":{"position":[[639,9]]},"981":{"position":[[1474,9]]},"1018":{"position":[[492,9]]},"1043":{"position":[[104,9],[141,9]]},"1065":{"position":[[702,9]]},"1188":{"position":[[328,9]]},"1202":{"position":[[445,9]]},"1213":{"position":[[909,9]]},"1305":{"position":[[46,9]]}},"keywords":{}}],["undefined/miss",{"_index":5227,"title":{},"content":{"898":{"position":[[4344,19]]}},"keywords":{}}],["under",{"_index":683,"title":{},"content":{"43":{"position":[[611,5]]},"303":{"position":[[1177,5],[1219,5]]},"305":{"position":[[515,5]]},"412":{"position":[[9862,5]]},"490":{"position":[[474,5]]},"545":{"position":[[100,5]]},"566":{"position":[[803,5]]},"571":{"position":[[1575,5]]},"605":{"position":[[100,5]]},"620":{"position":[[197,5]]},"703":{"position":[[1505,5]]}},"keywords":{}}],["underli",{"_index":399,"title":{},"content":{"24":{"position":[[144,10]]},"90":{"position":[[222,10]]},"124":{"position":[[157,10]]},"139":{"position":[[250,10]]},"159":{"position":[[226,10]]},"162":{"position":[[97,10]]},"167":{"position":[[211,10]]},"181":{"position":[[230,10]]},"185":{"position":[[105,10]]},"233":{"position":[[150,10]]},"266":{"position":[[948,10]]},"314":{"position":[[97,10]]},"383":{"position":[[338,10]]},"485":{"position":[[99,10]]},"514":{"position":[[268,10]]},"524":{"position":[[65,10]]},"541":{"position":[[838,10]]},"585":{"position":[[95,10]]},"600":{"position":[[158,10]]},"601":{"position":[[819,10]]},"641":{"position":[[144,10]]},"703":{"position":[[316,10],[376,10]]},"829":{"position":[[2789,10]]},"838":{"position":[[486,10]]},"890":{"position":[[389,10]]},"962":{"position":[[134,10]]},"1124":{"position":[[198,10]]},"1150":{"position":[[614,10]]},"1162":{"position":[[831,10]]},"1165":{"position":[[112,10]]},"1198":{"position":[[1234,10]]},"1246":{"position":[[1435,10]]}},"keywords":{}}],["underpin",{"_index":2805,"title":{},"content":{"419":{"position":[[781,13]]}},"keywords":{}}],["underscor",{"_index":4199,"title":{},"content":{"749":{"position":[[4922,10],[8276,10],[17578,10]]},"811":{"position":[[96,10]]},"863":{"position":[[72,10],[119,12]]}},"keywords":{}}],["underscore_",{"_index":4687,"title":{},"content":{"811":{"position":[[423,11]]}},"keywords":{}}],["understand",{"_index":486,"title":{"427":{"position":[[0,13]]},"444":{"position":[[0,13]]}},"content":{"29":{"position":[[458,10]]},"119":{"position":[[39,10]]},"127":{"position":[[25,13]]},"151":{"position":[[66,10]]},"180":{"position":[[4,10]]},"187":{"position":[[13,10]]},"298":{"position":[[835,13]]},"364":{"position":[[782,11]]},"404":{"position":[[522,10]]},"412":{"position":[[81,10]]},"425":{"position":[[55,10]]},"441":{"position":[[530,13]]},"483":{"position":[[776,13]]},"688":{"position":[[738,11]]},"689":{"position":[[138,13]]},"707":{"position":[[361,10]]},"904":{"position":[[48,10]]},"981":{"position":[[137,11],[224,10],[278,10]]},"1151":{"position":[[263,10],[687,13]]},"1178":{"position":[[262,10],[686,13]]},"1252":{"position":[[255,10]]}},"keywords":{}}],["understood",{"_index":2649,"title":{},"content":{"412":{"position":[[206,10]]},"569":{"position":[[544,10]]}},"keywords":{}}],["undon",{"_index":3127,"title":{},"content":{"480":{"position":[[885,6]]}},"keywords":{}}],["undonetask",{"_index":3128,"title":{},"content":{"480":{"position":[[901,13]]}},"keywords":{}}],["undoubtedli",{"_index":2948,"title":{},"content":{"447":{"position":[[559,11]]}},"keywords":{}}],["unencrypt",{"_index":3361,"title":{},"content":{"555":{"position":[[952,11]]},"714":{"position":[[192,11]]}},"keywords":{}}],["unexpect",{"_index":5897,"title":{},"content":{"1085":{"position":[[2338,10]]}},"keywords":{}}],["unexpectedli",{"_index":6472,"title":{},"content":{"1300":{"position":[[1104,12]]}},"keywords":{}}],["unfamiliar",{"_index":2834,"title":{},"content":{"420":{"position":[[721,11]]}},"keywords":{}}],["unfortun",{"_index":3008,"title":{},"content":{"460":{"position":[[693,13]]},"1301":{"position":[[886,13]]}},"keywords":{}}],["ungracefulli",{"_index":461,"title":{},"content":{"28":{"position":[[458,12]]},"1162":{"position":[[71,12]]},"1171":{"position":[[88,12]]},"1181":{"position":[[137,12]]}},"keywords":{}}],["unidirect",{"_index":3668,"title":{},"content":{"622":{"position":[[355,14],[612,14]]}},"keywords":{}}],["unifi",{"_index":588,"title":{},"content":{"38":{"position":[[279,5]]},"317":{"position":[[287,7]]},"384":{"position":[[333,7]]},"445":{"position":[[2459,7]]},"446":{"position":[[1317,7]]},"517":{"position":[[372,7]]},"589":{"position":[[200,7]]}},"keywords":{}}],["uninstal",{"_index":2732,"title":{},"content":{"412":{"position":[[8580,10]]}},"keywords":{}}],["unintellig",{"_index":5279,"title":{},"content":{"912":{"position":[[444,14]]}},"keywords":{}}],["unintention",{"_index":3686,"title":{},"content":{"627":{"position":[[147,15]]}},"keywords":{}}],["uninterrupt",{"_index":1004,"title":{},"content":{"88":{"position":[[169,13]]},"274":{"position":[[198,13]]},"292":{"position":[[418,13]]},"445":{"position":[[578,13]]}},"keywords":{}}],["uniqu",{"_index":474,"title":{},"content":{"29":{"position":[[107,6]]},"118":{"position":[[312,6]]},"271":{"position":[[196,6]]},"276":{"position":[[354,6]]},"287":{"position":[[738,6]]},"354":{"position":[[518,6]]},"377":{"position":[[41,6]]},"388":{"position":[[210,6]]},"399":{"position":[[134,6]]},"432":{"position":[[581,6]]},"444":{"position":[[161,6]]},"504":{"position":[[502,6]]},"520":{"position":[[87,6]]},"567":{"position":[[1126,6]]},"724":{"position":[[552,6]]},"749":{"position":[[18031,7]]},"875":{"position":[[2340,6]]},"904":{"position":[[2115,6]]},"935":{"position":[[10,8]]},"943":{"position":[[183,10]]},"961":{"position":[[37,8]]},"990":{"position":[[552,6]]},"1008":{"position":[[104,6]]},"1074":{"position":[[173,7]]},"1077":{"position":[[183,7]]},"1294":{"position":[[640,7]]}},"keywords":{}}],["unit",{"_index":1648,"title":{},"content":{"279":{"position":[[204,5]]},"668":{"position":[[110,4],[345,4]]},"749":{"position":[[5791,4]]},"773":{"position":[[366,4]]},"966":{"position":[[250,4]]},"996":{"position":[[132,4]]},"1091":{"position":[[59,5]]},"1139":{"position":[[99,4]]},"1145":{"position":[[95,4]]},"1159":{"position":[[175,4]]},"1313":{"position":[[92,4]]}},"keywords":{}}],["univers",{"_index":1735,"title":{},"content":{"299":{"position":[[95,9]]},"1072":{"position":[[1975,9]]}},"keywords":{}}],["unix",{"_index":4447,"title":{},"content":{"751":{"position":[[695,4],[938,4],[1797,4]]},"875":{"position":[[1645,4]]},"1104":{"position":[[535,4]]}},"keywords":{}}],["unknown",{"_index":2424,"title":{},"content":{"398":{"position":[[3307,7]]},"778":{"position":[[214,7]]},"985":{"position":[[321,7]]},"1085":{"position":[[879,7],[2022,7],[2601,7]]},"1316":{"position":[[409,7],[438,7]]}},"keywords":{}}],["unless",{"_index":78,"title":{},"content":{"5":{"position":[[149,6]]},"412":{"position":[[8841,6]]},"476":{"position":[[73,6]]},"563":{"position":[[1058,6]]}},"keywords":{}}],["unlik",{"_index":1082,"title":{},"content":{"126":{"position":[[196,6]]},"201":{"position":[[1,6]]},"249":{"position":[[1,6]]},"390":{"position":[[295,6]]},"427":{"position":[[423,6]]},"432":{"position":[[262,6]]},"453":{"position":[[535,8]]},"500":{"position":[[225,6]]},"520":{"position":[[157,6]]},"610":{"position":[[204,6]]},"612":{"position":[[97,6]]},"656":{"position":[[108,8]]},"688":{"position":[[956,6]]},"1206":{"position":[[177,6]]}},"keywords":{}}],["unlimit",{"_index":808,"title":{},"content":{"52":{"position":[[571,10]]},"412":{"position":[[7349,9]]},"539":{"position":[[571,10]]},"599":{"position":[[598,10]]}},"keywords":{}}],["unlock",{"_index":1057,"title":{},"content":{"114":{"position":[[470,6]]},"241":{"position":[[405,6]]},"408":{"position":[[1391,8]]},"447":{"position":[[667,6]]},"483":{"position":[[1196,6]]}},"keywords":{}}],["unmaintain",{"_index":266,"title":{},"content":{"15":{"position":[[589,13]]},"28":{"position":[[613,13]]}},"keywords":{}}],["unmanageable.no",{"_index":2061,"title":{},"content":{"358":{"position":[[455,15]]}},"keywords":{}}],["unmount",{"_index":3525,"title":{},"content":{"590":{"position":[[545,7]]},"829":{"position":[[3808,9]]}},"keywords":{}}],["unnecessari",{"_index":1047,"title":{},"content":{"108":{"position":[[107,11]]},"146":{"position":[[186,11]]},"234":{"position":[[188,11]]},"289":{"position":[[421,11]]},"383":{"position":[[564,11]]},"385":{"position":[[306,11]]},"436":{"position":[[57,12]]},"610":{"position":[[690,11]]},"689":{"position":[[554,11]]}},"keywords":{}}],["unpredict",{"_index":2045,"title":{},"content":{"356":{"position":[[792,13]]},"399":{"position":[[219,14]]},"412":{"position":[[10532,13]]},"1304":{"position":[[1463,13]]}},"keywords":{}}],["unreach",{"_index":5245,"title":{},"content":{"902":{"position":[[609,12]]}},"keywords":{}}],["unread",{"_index":3140,"title":{},"content":{"482":{"position":[[1126,10]]},"638":{"position":[[892,10]]}},"keywords":{}}],["unreason",{"_index":1717,"title":{},"content":{"298":{"position":[[421,12]]}},"keywords":{}}],["unreli",{"_index":1079,"title":{},"content":{"122":{"position":[[369,10]]},"133":{"position":[[362,10]]},"289":{"position":[[1876,11]]},"309":{"position":[[102,10]]},"415":{"position":[[419,11]]},"613":{"position":[[273,10]]},"624":{"position":[[1247,10]]}},"keywords":{}}],["unsaf",{"_index":6385,"title":{},"content":{"1287":{"position":[[104,7]]}},"keywords":{}}],["unsent",{"_index":2786,"title":{},"content":{"416":{"position":[[163,6]]}},"keywords":{}}],["unset",{"_index":5843,"title":{},"content":{"1082":{"position":[[91,5]]}},"keywords":{}}],["unstructur",{"_index":216,"title":{},"content":{"14":{"position":[[510,12]]},"276":{"position":[[217,12]]}},"keywords":{}}],["unsubscrib",{"_index":1132,"title":{"143":{"position":[[55,12]]}},"content":{"143":{"position":[[154,11]]}},"keywords":{}}],["unsuit",{"_index":1027,"title":{},"content":{"100":{"position":[[113,10]]},"408":{"position":[[389,10]]},"412":{"position":[[7569,10]]},"427":{"position":[[534,10]]}},"keywords":{}}],["unsync",{"_index":3519,"title":{},"content":{"584":{"position":[[135,8]]}},"keywords":{}}],["unthink",{"_index":2579,"title":{},"content":{"408":{"position":[[5576,11]]}},"keywords":{}}],["until",{"_index":148,"title":{},"content":{"11":{"position":[[245,5],[341,5],[722,5]]},"24":{"position":[[555,5]]},"301":{"position":[[239,5]]},"412":{"position":[[11652,5]]},"451":{"position":[[808,5]]},"461":{"position":[[563,5]]},"463":{"position":[[593,5]]},"610":{"position":[[382,5]]},"626":{"position":[[776,5],[1042,5]]},"698":{"position":[[3153,5]]},"699":{"position":[[488,5]]},"702":{"position":[[322,5]]},"737":{"position":[[214,5]]},"775":{"position":[[57,5]]},"875":{"position":[[8898,5]]},"948":{"position":[[692,5]]},"988":{"position":[[728,5],[1300,5],[6036,5]]},"995":{"position":[[319,5],[607,5],[748,5],[976,5]]},"996":{"position":[[78,5]]},"1007":{"position":[[1113,5]]},"1032":{"position":[[160,5]]},"1164":{"position":[[1157,5]]},"1175":{"position":[[497,5]]},"1194":{"position":[[282,5]]},"1288":{"position":[[65,5]]},"1294":{"position":[[1032,5]]}},"keywords":{}}],["untrack",{"_index":832,"title":{},"content":{"55":{"position":[[251,10],[518,12]]}},"keywords":{}}],["untyp",{"_index":733,"title":{},"content":{"47":{"position":[[677,7]]}},"keywords":{}}],["unus",{"_index":1870,"title":{},"content":{"305":{"position":[[219,6]]},"416":{"position":[[440,8]]}},"keywords":{}}],["unwieldi",{"_index":721,"title":{},"content":{"47":{"position":[[173,8]]},"321":{"position":[[404,8]]},"356":{"position":[[920,9]]}},"keywords":{}}],["up",{"_index":191,"title":{"48":{"position":[[4,2]]},"61":{"position":[[7,3]]},"84":{"position":[[7,3]]},"114":{"position":[[7,3]]},"149":{"position":[[7,3]]},"175":{"position":[[7,3]]},"210":{"position":[[8,2]]},"241":{"position":[[7,3]]},"263":{"position":[[7,3]]},"296":{"position":[[7,3]]},"306":{"position":[[7,3]]},"318":{"position":[[7,3]]},"347":{"position":[[7,3]]},"362":{"position":[[7,3]]},"373":{"position":[[7,3]]},"388":{"position":[[7,3]]},"405":{"position":[[7,3]]},"442":{"position":[[7,3]]},"471":{"position":[[7,3]]},"483":{"position":[[7,3]]},"498":{"position":[[7,3]]},"511":{"position":[[7,3]]},"531":{"position":[[7,3]]},"536":{"position":[[4,2]]},"548":{"position":[[7,3]]},"552":{"position":[[8,2]]},"554":{"position":[[7,2]]},"557":{"position":[[7,3]]},"567":{"position":[[7,3]]},"572":{"position":[[7,3]]},"591":{"position":[[7,3]]},"596":{"position":[[4,2]]},"608":{"position":[[7,3]]},"628":{"position":[[7,3]]},"644":{"position":[[7,3]]},"663":{"position":[[7,3]]},"712":{"position":[[7,3]]},"776":{"position":[[7,2]]},"786":{"position":[[7,3]]},"832":{"position":[[7,3]]},"842":{"position":[[7,3]]},"862":{"position":[[8,2]]},"872":{"position":[[8,2]]},"873":{"position":[[7,3]]},"898":{"position":[[8,2]]},"899":{"position":[[7,3]]},"913":{"position":[[7,3]]},"1089":{"position":[[23,2]]}},"content":{"13":{"position":[[208,2]]},"84":{"position":[[392,2]]},"114":{"position":[[405,2]]},"149":{"position":[[405,2]]},"158":{"position":[[321,2]]},"168":{"position":[[273,2]]},"175":{"position":[[396,2]]},"184":{"position":[[267,2]]},"185":{"position":[[185,2]]},"192":{"position":[[72,2]]},"204":{"position":[[123,2]]},"241":{"position":[[174,2]]},"255":{"position":[[227,3]]},"261":{"position":[[1007,2]]},"267":{"position":[[805,2]]},"284":{"position":[[53,2],[137,2]]},"287":{"position":[[410,2]]},"288":{"position":[[149,2]]},"293":{"position":[[356,2]]},"299":{"position":[[254,2]]},"301":{"position":[[139,2]]},"318":{"position":[[256,2]]},"333":{"position":[[92,2]]},"340":{"position":[[168,2]]},"342":{"position":[[54,2]]},"346":{"position":[[476,2]]},"347":{"position":[[403,2]]},"360":{"position":[[583,2]]},"362":{"position":[[1474,2]]},"373":{"position":[[174,2]]},"376":{"position":[[498,2]]},"392":{"position":[[875,2],[2418,2],[3143,2]]},"393":{"position":[[681,2]]},"394":{"position":[[1664,2]]},"408":{"position":[[984,2],[4086,2]]},"410":{"position":[[1100,2]]},"411":{"position":[[4280,2]]},"412":{"position":[[2420,2],[4280,2],[6074,4],[6990,3]]},"419":{"position":[[1833,2]]},"427":{"position":[[851,2]]},"461":{"position":[[243,2],[509,2],[593,2],[1181,2]]},"468":{"position":[[519,2],[612,2]]},"469":{"position":[[79,2],[525,2],[1153,2]]},"477":{"position":[[83,2]]},"498":{"position":[[205,2]]},"504":{"position":[[1202,2]]},"511":{"position":[[405,2]]},"531":{"position":[[405,2]]},"536":{"position":[[9,2]]},"538":{"position":[[179,2]]},"542":{"position":[[247,2]]},"554":{"position":[[269,2]]},"555":{"position":[[17,2]]},"562":{"position":[[1404,2]]},"567":{"position":[[236,2],[1052,2]]},"579":{"position":[[38,2]]},"587":{"position":[[66,2]]},"590":{"position":[[512,2],[668,2]]},"591":{"position":[[403,2]]},"596":{"position":[[9,2]]},"598":{"position":[[180,2]]},"602":{"position":[[505,2]]},"612":{"position":[[1069,2],[1696,2],[2374,2]]},"617":{"position":[[709,2]]},"632":{"position":[[82,2]]},"639":{"position":[[205,2]]},"644":{"position":[[38,2]]},"660":{"position":[[150,2]]},"662":{"position":[[741,2]]},"696":{"position":[[378,2],[1318,2],[1379,2],[1423,2],[1969,2]]},"697":{"position":[[245,2]]},"709":{"position":[[180,2]]},"710":{"position":[[826,3]]},"711":{"position":[[520,2],[1411,2]]},"723":{"position":[[1223,2]]},"772":{"position":[[501,2],[1263,2],[1827,2]]},"773":{"position":[[409,2]]},"780":{"position":[[243,2]]},"782":{"position":[[262,2],[320,2]]},"786":{"position":[[110,2]]},"799":{"position":[[26,2],[200,2]]},"815":{"position":[[22,2],[91,2]]},"816":{"position":[[36,2]]},"829":{"position":[[823,2],[3772,2]]},"837":{"position":[[518,2]]},"838":{"position":[[1484,3]]},"861":{"position":[[174,3],[230,2],[371,2],[916,2]]},"862":{"position":[[22,2],[88,2]]},"872":{"position":[[173,2]]},"875":{"position":[[5805,2],[8860,2]]},"879":{"position":[[72,2]]},"886":{"position":[[480,2]]},"887":{"position":[[15,2]]},"890":{"position":[[306,3]]},"897":{"position":[[341,2]]},"903":{"position":[[658,2]]},"908":{"position":[[224,3]]},"913":{"position":[[49,2]]},"955":{"position":[[79,2]]},"976":{"position":[[55,2]]},"977":{"position":[[56,2]]},"984":{"position":[[116,2]]},"997":{"position":[[91,3]]},"1007":{"position":[[214,2]]},"1009":{"position":[[183,2],[1060,2]]},"1022":{"position":[[360,2]]},"1030":{"position":[[244,2]]},"1080":{"position":[[1113,2]]},"1089":{"position":[[198,2]]},"1092":{"position":[[67,2],[555,3]]},"1094":{"position":[[565,2]]},"1095":{"position":[[27,2],[105,2]]},"1114":{"position":[[141,2]]},"1124":{"position":[[1138,2]]},"1126":{"position":[[244,2]]},"1135":{"position":[[177,2]]},"1143":{"position":[[182,2]]},"1198":{"position":[[2000,2]]},"1209":{"position":[[195,2],[433,2]]},"1242":{"position":[[112,2]]},"1302":{"position":[[43,2]]},"1311":{"position":[[1823,2]]},"1316":{"position":[[237,2],[1211,2]]},"1317":{"position":[[341,2]]}},"keywords":{}}],["up"",{"_index":5907,"title":{},"content":{"1087":{"position":[[36,8]]}},"keywords":{}}],["up.indexeddb",{"_index":1960,"title":{},"content":{"336":{"position":[[161,12]]}},"keywords":{}}],["updat",{"_index":545,"title":{"53":{"position":[[26,8]]},"77":{"position":[[43,6]]},"103":{"position":[[43,6]]},"136":{"position":[[10,8]]},"233":{"position":[[36,8]]},"335":{"position":[[0,8]]},"490":{"position":[[24,8]]},"540":{"position":[[26,8]]},"600":{"position":[[26,8]]},"1041":{"position":[[0,9]]},"1048":{"position":[[11,6]]},"1059":{"position":[[0,9]]}},"content":{"34":{"position":[[648,8]]},"39":{"position":[[200,7]]},"52":{"position":[[454,6]]},"53":{"position":[[106,7]]},"61":{"position":[[109,8]]},"68":{"position":[[186,7]]},"75":{"position":[[117,8]]},"77":{"position":[[68,6]]},"79":{"position":[[98,7]]},"99":{"position":[[80,7],[244,8]]},"103":{"position":[[74,7]]},"106":{"position":[[167,8]]},"121":{"position":[[131,7]]},"124":{"position":[[141,6]]},"129":{"position":[[45,6]]},"135":{"position":[[60,7]]},"136":{"position":[[25,7],[217,7],[229,6]]},"140":{"position":[[216,8]]},"141":{"position":[[285,8]]},"146":{"position":[[80,8],[201,8]]},"151":{"position":[[192,8]]},"152":{"position":[[285,8]]},"155":{"position":[[273,7]]},"156":{"position":[[140,7]]},"159":{"position":[[205,7]]},"164":{"position":[[208,7]]},"173":{"position":[[171,8],[970,6]]},"174":{"position":[[301,6],[381,7],[1150,8]]},"175":{"position":[[568,8]]},"181":{"position":[[193,7]]},"182":{"position":[[158,6]]},"185":{"position":[[89,6],[290,7]]},"196":{"position":[[170,8]]},"203":{"position":[[38,7]]},"205":{"position":[[284,7],[380,7]]},"208":{"position":[[141,7],[256,8]]},"220":{"position":[[293,7]]},"221":{"position":[[47,7],[249,6]]},"226":{"position":[[193,8],[312,7]]},"233":{"position":[[102,6],[224,7]]},"234":{"position":[[139,7]]},"235":{"position":[[174,6]]},"240":{"position":[[233,7]]},"250":{"position":[[121,6]]},"255":{"position":[[114,7]]},"275":{"position":[[142,7]]},"283":{"position":[[318,7]]},"289":{"position":[[869,7],[1268,7]]},"312":{"position":[[121,7]]},"323":{"position":[[46,7]]},"326":{"position":[[110,8],[183,6]]},"327":{"position":[[149,6],[251,7]]},"329":{"position":[[166,7]]},"330":{"position":[[161,8]]},"339":{"position":[[25,6]]},"344":{"position":[[119,8]]},"346":{"position":[[798,8]]},"357":{"position":[[238,8]]},"358":{"position":[[479,8]]},"360":{"position":[[414,8],[545,7]]},"367":{"position":[[401,8]]},"368":{"position":[[370,7]]},"369":{"position":[[1038,8],[1277,7]]},"375":{"position":[[783,7]]},"376":{"position":[[102,7]]},"379":{"position":[[133,7]]},"386":{"position":[[324,8]]},"403":{"position":[[45,6],[268,7],[395,6]]},"410":{"position":[[1629,7],[1874,7],[2041,8]]},"411":{"position":[[685,8],[1261,7],[2381,8],[2977,7],[3552,7],[3678,7]]},"412":{"position":[[11425,7],[11670,9],[13919,6]]},"415":{"position":[[485,8]]},"418":{"position":[[620,8]]},"421":{"position":[[266,8]]},"445":{"position":[[973,8]]},"446":{"position":[[739,7]]},"455":{"position":[[617,6]]},"461":{"position":[[468,7]]},"475":{"position":[[137,7]]},"476":{"position":[[215,7]]},"479":{"position":[[171,7]]},"481":{"position":[[82,7],[742,7]]},"483":{"position":[[145,8],[347,7]]},"487":{"position":[[117,7]]},"489":{"position":[[134,8],[744,6]]},"490":{"position":[[318,8],[628,7]]},"491":{"position":[[369,7],[459,6],[1736,7]]},"493":{"position":[[379,7]]},"494":{"position":[[242,7],[586,8]]},"496":{"position":[[65,6]]},"497":{"position":[[756,7]]},"498":{"position":[[299,7]]},"500":{"position":[[467,8]]},"502":{"position":[[862,7]]},"509":{"position":[[119,7]]},"515":{"position":[[154,9]]},"516":{"position":[[206,7]]},"518":{"position":[[191,7],[343,7]]},"523":{"position":[[159,6]]},"529":{"position":[[244,8]]},"535":{"position":[[904,7]]},"539":{"position":[[454,6]]},"541":{"position":[[162,8],[795,8]]},"542":{"position":[[965,7]]},"555":{"position":[[618,6],[668,8]]},"562":{"position":[[860,6],[920,7]]},"566":{"position":[[557,7]]},"570":{"position":[[451,8],[580,7]]},"571":{"position":[[220,6],[789,6]]},"574":{"position":[[280,8]]},"575":{"position":[[265,7]]},"580":{"position":[[66,6]]},"582":{"position":[[510,6]]},"585":{"position":[[190,7]]},"590":{"position":[[352,8]]},"595":{"position":[[827,6],[979,7]]},"599":{"position":[[481,6]]},"600":{"position":[[125,7]]},"601":{"position":[[67,8],[776,8]]},"610":{"position":[[670,7],[1618,7]]},"611":{"position":[[581,8]]},"612":{"position":[[64,7],[310,7]]},"618":{"position":[[731,7]]},"621":{"position":[[509,8]]},"623":{"position":[[243,7],[403,7]]},"624":{"position":[[540,8],[832,8]]},"626":{"position":[[266,8],[862,7]]},"630":{"position":[[550,8],[602,7]]},"631":{"position":[[280,7]]},"632":{"position":[[164,7],[368,8],[1716,7],[1852,10],[2437,7]]},"634":{"position":[[286,7],[565,7]]},"678":{"position":[[49,6],[105,6],[135,6]]},"679":{"position":[[348,6]]},"685":{"position":[[399,6],[474,7]]},"688":{"position":[[67,8]]},"689":{"position":[[299,6]]},"691":{"position":[[97,7],[123,7],[617,8]]},"696":{"position":[[1875,6]]},"700":{"position":[[418,6]]},"702":{"position":[[170,6],[455,7],[799,7]]},"703":{"position":[[1554,7]]},"723":{"position":[[1131,7],[1504,7],[1558,7],[1979,7]]},"749":{"position":[[8926,6],[16397,6],[16527,6],[23713,8]]},"754":{"position":[[594,6]]},"757":{"position":[[306,7]]},"781":{"position":[[284,7],[419,7],[481,7],[520,6],[858,7]]},"801":{"position":[[511,7]]},"802":{"position":[[377,8]]},"829":{"position":[[2836,8],[2932,7],[3031,6]]},"836":{"position":[[1484,7],[2406,7]]},"838":{"position":[[473,7]]},"841":{"position":[[610,7]]},"860":{"position":[[685,6]]},"861":{"position":[[2527,6]]},"870":{"position":[[125,7]]},"871":{"position":[[197,7],[405,7]]},"876":{"position":[[473,6],[601,7]]},"879":{"position":[[10,6],[458,8],[510,6]]},"880":{"position":[[177,8],[244,6]]},"881":{"position":[[49,6]]},"885":{"position":[[326,6]]},"896":{"position":[[223,7]]},"898":{"position":[[1218,6],[1296,6]]},"903":{"position":[[103,8]]},"941":{"position":[[227,7]]},"944":{"position":[[397,6]]},"948":{"position":[[533,6]]},"965":{"position":[[167,7]]},"981":{"position":[[840,7],[1368,7]]},"995":{"position":[[1445,6]]},"1004":{"position":[[756,7]]},"1039":{"position":[[159,8]]},"1041":{"position":[[1,7],[41,6],[132,6]]},"1042":{"position":[[1,7]]},"1044":{"position":[[270,6]]},"1048":{"position":[[411,8]]},"1059":{"position":[[9,6],[73,8],[110,6]]},"1106":{"position":[[407,8]]},"1115":{"position":[[427,6]]},"1117":{"position":[[476,6]]},"1132":{"position":[[956,7]]},"1150":{"position":[[64,7]]},"1188":{"position":[[237,6]]},"1198":{"position":[[2145,6]]},"1278":{"position":[[121,6]]},"1314":{"position":[[415,6],[637,6]]},"1316":{"position":[[868,6],[1082,7]]},"1318":{"position":[[189,7],[1182,7]]},"1319":{"position":[[57,6]]},"1320":{"position":[[916,6]]}},"keywords":{}}],["update:appl",{"_index":6474,"title":{},"content":{"1301":{"position":[[1067,12]]}},"keywords":{}}],["update_modified_datetim",{"_index":5205,"title":{},"content":{"898":{"position":[[1264,24]]}},"keywords":{}}],["updateat",{"_index":4994,"title":{},"content":{"875":{"position":[[2318,8],[2386,9],[2449,9],[2483,9],[4924,8]]}},"keywords":{}}],["updatecrdt",{"_index":3882,"title":{},"content":{"682":{"position":[[256,12]]}},"keywords":{}}],["updated/ad",{"_index":5549,"title":{},"content":{"1004":{"position":[[458,13]]}},"keywords":{}}],["updatedat",{"_index":2693,"title":{},"content":{"412":{"position":[[4928,9]]},"875":{"position":[[1660,9],[2137,9],[2277,9],[2466,9],[2500,9],[2669,9],[2716,10],[3192,9],[5408,10]]},"885":{"position":[[581,10],[676,10],[747,10],[1644,9],[2211,9],[2555,10]]},"886":{"position":[[542,10],[713,9],[749,9],[2427,9],[3626,10],[3664,9]]},"888":{"position":[[1159,10]]},"984":{"position":[[429,9]]},"986":{"position":[[1196,10]]},"988":{"position":[[4413,10],[5456,10],[5515,10]]},"991":{"position":[[133,9]]},"1309":{"position":[[852,9]]}},"keywords":{}}],["updatedat+id",{"_index":5449,"title":{},"content":{"986":{"position":[[1299,12]]}},"keywords":{}}],["updates.transpar",{"_index":3895,"title":{},"content":{"688":{"position":[[1017,20]]}},"keywords":{}}],["updates.y",{"_index":3909,"title":{},"content":{"690":{"position":[[393,11]]}},"keywords":{}}],["updates—keep",{"_index":3107,"title":{},"content":{"476":{"position":[[298,15]]}},"keywords":{}}],["upfront",{"_index":2432,"title":{},"content":{"399":{"position":[[501,8]]}},"keywords":{}}],["upgrad",{"_index":1890,"title":{},"content":{"314":{"position":[[929,7]]},"412":{"position":[[11287,9],[11463,7]]},"483":{"position":[[978,7]]},"636":{"position":[[132,7]]},"876":{"position":[[399,9]]},"990":{"position":[[1102,7]]}},"keywords":{}}],["upload",{"_index":3027,"title":{},"content":{"462":{"position":[[636,7]]}},"keywords":{}}],["upon",{"_index":1406,"title":{},"content":{"226":{"position":[[95,4]]},"287":{"position":[[1227,4]]},"480":{"position":[[112,4]]},"631":{"position":[[288,4]]},"636":{"position":[[337,4]]},"751":{"position":[[1,4]]}},"keywords":{}}],["upper",{"_index":2718,"title":{},"content":{"412":{"position":[[7236,5]]},"461":{"position":[[1068,5]]}},"keywords":{}}],["uproot",{"_index":2664,"title":{},"content":{"412":{"position":[[1467,8]]}},"keywords":{}}],["upsert",{"_index":5342,"title":{"946":{"position":[[0,9]]}},"content":{"947":{"position":[[9,8],[98,8]]},"948":{"position":[[19,6],[157,9],[203,6],[297,6],[703,6]]}},"keywords":{}}],["upsertloc",{"_index":5602,"title":{"1015":{"position":[[0,14]]}},"content":{},"keywords":{}}],["upsid",{"_index":2661,"title":{},"content":{"412":{"position":[[1181,6]]}},"keywords":{}}],["url",{"_index":3586,"title":{},"content":{"612":{"position":[[775,3]]},"616":{"position":[[803,3]]},"749":{"position":[[16133,3]]},"846":{"position":[[242,3],[281,4]]},"848":{"position":[[200,5],[607,4],[756,4],[1391,4]]},"851":{"position":[[227,4]]},"852":{"position":[[274,4]]},"872":{"position":[[4543,4]]},"875":{"position":[[3020,3],[7952,3]]},"876":{"position":[[455,5]]},"878":{"position":[[145,3],[380,4],[428,3]]},"879":{"position":[[104,3]]},"886":{"position":[[1061,4],[1091,4],[2693,4],[2723,4],[3880,4],[3910,4],[4036,4],[4579,6]]},"887":{"position":[[343,4]]},"888":{"position":[[484,4]]},"889":{"position":[[533,4]]},"893":{"position":[[402,4]]},"904":{"position":[[2620,4]]},"988":{"position":[[494,3]]},"1100":{"position":[[512,4],[531,4]]},"1101":{"position":[[753,4]]},"1149":{"position":[[1403,3],[1432,4]]},"1219":{"position":[[939,4]]},"1220":{"position":[[502,4]]},"1229":{"position":[[23,3]]},"1268":{"position":[[23,3]]}},"keywords":{}}],["url("worker.js"",{"_index":2265,"title":{},"content":{"392":{"position":[[3936,26]]}},"keywords":{}}],["url('./mi",{"_index":6329,"title":{},"content":{"1268":{"position":[[492,9]]}},"keywords":{}}],["us",{"_index":4,"title":{"46":{"position":[[4,3]]},"47":{"position":[[4,5]]},"87":{"position":[[0,3]]},"96":{"position":[[0,5]]},"127":{"position":[[0,5]]},"130":{"position":[[0,3]]},"142":{"position":[[19,5]]},"143":{"position":[[0,3]]},"144":{"position":[[0,3]]},"145":{"position":[[0,3]]},"171":{"position":[[0,5]]},"187":{"position":[[0,5]]},"202":{"position":[[14,3]]},"249":{"position":[[14,3]]},"267":{"position":[[0,3]]},"284":{"position":[[0,5]]},"286":{"position":[[0,5]]},"332":{"position":[[0,5]]},"346":{"position":[[19,5]]},"372":{"position":[[0,5]]},"375":{"position":[[0,3]]},"420":{"position":[[19,3]]},"423":{"position":[[0,5]]},"428":{"position":[[17,3]]},"430":{"position":[[12,3]]},"431":{"position":[[8,3]]},"446":{"position":[[0,3]]},"497":{"position":[[23,3]]},"503":{"position":[[0,5]]},"522":{"position":[[0,5]]},"523":{"position":[[0,5]]},"534":{"position":[[4,3]]},"535":{"position":[[11,3]]},"563":{"position":[[8,5]]},"590":{"position":[[19,5]]},"594":{"position":[[4,3]]},"595":{"position":[[11,3]]},"601":{"position":[[0,5]]},"602":{"position":[[0,5]]},"624":{"position":[[20,3]]},"655":{"position":[[0,5]]},"687":{"position":[[12,3]]},"717":{"position":[[0,5]]},"718":{"position":[[0,5]]},"723":{"position":[[12,5]]},"724":{"position":[[0,5]]},"736":{"position":[[0,3]]},"745":{"position":[[0,5]]},"747":{"position":[[0,5]]},"765":{"position":[[0,3]]},"795":{"position":[[0,3]]},"802":{"position":[[0,3]]},"818":{"position":[[0,5]]},"857":{"position":[[0,5]]},"860":{"position":[[15,3]]},"904":{"position":[[0,5]]},"1021":{"position":[[0,3]]},"1029":{"position":[[0,5]]},"1089":{"position":[[0,5]]},"1090":{"position":[[0,3]]},"1095":{"position":[[0,3]]},"1098":{"position":[[0,5]]},"1099":{"position":[[0,5]]},"1124":{"position":[[0,3]]},"1125":{"position":[[0,5]]},"1126":{"position":[[0,5]]},"1138":{"position":[[0,5]]},"1144":{"position":[[7,3]]},"1146":{"position":[[0,5]]},"1148":{"position":[[3,3]]},"1149":{"position":[[3,3]]},"1158":{"position":[[7,3]]},"1177":{"position":[[0,5]]},"1182":{"position":[[0,5]]},"1189":{"position":[[0,5]]},"1204":{"position":[[0,5]]},"1210":{"position":[[0,5]]},"1211":{"position":[[0,5]]},"1213":{"position":[[57,4]]},"1222":{"position":[[0,5]]},"1257":{"position":[[10,3]]},"1271":{"position":[[0,5]]},"1273":{"position":[[0,5]]},"1293":{"position":[[34,3]]},"1310":{"position":[[0,5]]},"1311":{"position":[[0,5]]}},"content":{"1":{"position":[[29,3],[189,3]]},"2":{"position":[[24,3]]},"3":{"position":[[59,3]]},"4":{"position":[[51,4],[253,3]]},"5":{"position":[[126,3]]},"6":{"position":[[14,4],[170,4],[618,3]]},"7":{"position":[[14,4],[144,4],[180,3],[453,3]]},"8":{"position":[[1,4],[96,3],[629,5],[696,3]]},"9":{"position":[[1,4],[113,3]]},"11":{"position":[[1,4],[55,4]]},"13":{"position":[[296,3]]},"14":{"position":[[911,3],[999,4]]},"15":{"position":[[354,4]]},"16":{"position":[[477,4]]},"17":{"position":[[135,4],[290,4],[399,4]]},"19":{"position":[[1007,3]]},"21":{"position":[[65,6]]},"24":{"position":[[636,3]]},"25":{"position":[[111,4]]},"26":{"position":[[221,4]]},"27":{"position":[[215,4]]},"28":{"position":[[656,5]]},"29":{"position":[[245,6]]},"30":{"position":[[61,4]]},"33":{"position":[[469,4],[542,5]]},"34":{"position":[[107,4]]},"35":{"position":[[504,6]]},"36":{"position":[[481,3]]},"38":{"position":[[635,4],[768,4],[917,3]]},"39":{"position":[[388,4]]},"42":{"position":[[272,3]]},"43":{"position":[[267,4],[322,4],[653,3]]},"45":{"position":[[296,3]]},"46":{"position":[[170,5]]},"51":{"position":[[73,5]]},"55":{"position":[[150,5],[1002,3]]},"56":{"position":[[171,5]]},"57":{"position":[[441,5]]},"58":{"position":[[37,3],[123,3]]},"59":{"position":[[264,3]]},"63":{"position":[[163,4]]},"65":{"position":[[209,4],[622,3],[1434,5]]},"68":{"position":[[21,3]]},"73":{"position":[[23,4]]},"84":{"position":[[399,5]]},"105":{"position":[[22,4]]},"114":{"position":[[412,5]]},"122":{"position":[[300,6]]},"128":{"position":[[4,3],[114,5],[268,5]]},"129":{"position":[[9,4],[312,5]]},"130":{"position":[[173,3]]},"131":{"position":[[132,4],[824,6]]},"132":{"position":[[252,5]]},"133":{"position":[[294,6]]},"139":{"position":[[58,5]]},"141":{"position":[[231,6]]},"143":{"position":[[83,5]]},"149":{"position":[[412,5]]},"162":{"position":[[554,4],[814,3]]},"165":{"position":[[166,5]]},"173":{"position":[[243,5],[3129,4]]},"175":{"position":[[403,5]]},"177":{"position":[[172,5]]},"185":{"position":[[159,6]]},"188":{"position":[[122,4],[297,4],[411,3],[535,4],[1622,3],[2058,3]]},"189":{"position":[[175,4],[328,4],[600,6]]},"194":{"position":[[25,4]]},"197":{"position":[[132,4]]},"202":{"position":[[295,5]]},"203":{"position":[[178,5]]},"207":{"position":[[122,4]]},"210":{"position":[[16,5]]},"211":{"position":[[539,3]]},"212":{"position":[[14,4],[589,4]]},"215":{"position":[[198,5],[298,6]]},"218":{"position":[[169,5]]},"225":{"position":[[80,4]]},"230":{"position":[[67,5]]},"231":{"position":[[31,5],[182,5]]},"238":{"position":[[126,5]]},"239":{"position":[[173,5]]},"241":{"position":[[46,5]]},"251":{"position":[[232,5]]},"254":{"position":[[351,3]]},"255":{"position":[[1658,5]]},"260":{"position":[[1,3]]},"261":{"position":[[96,5],[525,3]]},"265":{"position":[[30,5]]},"266":{"position":[[867,4],[1003,3],[1082,6]]},"267":{"position":[[90,3],[1452,3]]},"269":{"position":[[183,5]]},"284":{"position":[[146,3]]},"287":{"position":[[126,3],[819,6]]},"298":{"position":[[212,3],[519,3]]},"299":{"position":[[1498,4]]},"300":{"position":[[75,3],[157,4],[408,4]]},"303":{"position":[[137,4],[1244,5]]},"313":{"position":[[108,3]]},"314":{"position":[[72,3]]},"315":{"position":[[128,5]]},"320":{"position":[[130,3]]},"321":{"position":[[440,3]]},"325":{"position":[[277,3]]},"326":{"position":[[8,3]]},"331":{"position":[[39,3]]},"333":{"position":[[131,3]]},"334":{"position":[[159,4]]},"335":{"position":[[69,3],[134,5]]},"336":{"position":[[108,4],[254,4],[424,4]]},"344":{"position":[[1,3]]},"347":{"position":[[410,5]]},"357":{"position":[[637,4]]},"360":{"position":[[259,4]]},"362":{"position":[[1481,5]]},"364":{"position":[[90,4],[125,5]]},"365":{"position":[[1008,5]]},"366":{"position":[[601,4]]},"367":{"position":[[562,4]]},"372":{"position":[[34,3]]},"373":{"position":[[46,5]]},"376":{"position":[[463,5]]},"383":{"position":[[148,5]]},"386":{"position":[[60,3]]},"390":{"position":[[1080,3],[1719,3]]},"391":{"position":[[382,5]]},"392":{"position":[[181,3],[790,3],[862,4],[2213,3],[3212,5],[5028,6]]},"393":{"position":[[464,3]]},"396":{"position":[[660,4],[870,5],[1736,3],[1893,3]]},"398":{"position":[[356,3]]},"399":{"position":[[297,5]]},"400":{"position":[[518,3],[541,4]]},"401":{"position":[[930,3]]},"402":{"position":[[1004,5],[1159,4],[1198,5],[1704,3],[1927,4],[2012,4],[2055,4],[2357,3]]},"403":{"position":[[78,4]]},"405":{"position":[[106,3]]},"408":{"position":[[3334,3],[3342,5],[4677,3],[4758,3],[5229,6]]},"409":{"position":[[74,3]]},"410":{"position":[[1021,5]]},"411":{"position":[[2295,6],[3507,5],[4171,3],[4926,3]]},"412":{"position":[[256,3],[856,3],[1757,3],[2918,3],[3283,3],[3754,5],[3911,5],[4535,4],[4588,4],[4663,4],[5226,3],[6386,3],[7128,3],[7931,4],[9058,4],[10039,4],[12976,5],[13231,4],[14416,3],[14477,3],[14814,3],[15331,3]]},"416":{"position":[[293,4]]},"418":{"position":[[198,3]]},"419":{"position":[[1516,3],[1706,5]]},"420":{"position":[[455,5],[591,4],[1135,5],[1454,3]]},"422":{"position":[[159,3],[381,4]]},"425":{"position":[[262,5],[341,5],[429,5]]},"429":{"position":[[484,4]]},"430":{"position":[[73,3],[1028,5]]},"432":{"position":[[766,3],[1018,5]]},"433":{"position":[[423,5]]},"436":{"position":[[383,3]]},"439":{"position":[[104,3],[305,4],[637,5]]},"440":{"position":[[260,3],[384,3],[430,3]]},"444":{"position":[[417,3]]},"445":{"position":[[985,4]]},"447":{"position":[[546,4]]},"449":{"position":[[75,3]]},"450":{"position":[[113,4]]},"452":{"position":[[189,4],[801,7]]},"453":{"position":[[266,4],[561,3]]},"454":{"position":[[502,3]]},"455":{"position":[[66,3],[188,5],[527,3],[918,5]]},"456":{"position":[[130,5]]},"457":{"position":[[373,3]]},"458":{"position":[[420,5],[683,4],[1066,3],[1311,4],[1381,4],[1447,3]]},"460":{"position":[[259,3],[344,3],[457,3],[741,4],[1073,4],[1178,4]]},"461":{"position":[[1177,3]]},"462":{"position":[[240,3]]},"463":{"position":[[313,5],[1218,5]]},"464":{"position":[[1369,5]]},"468":{"position":[[136,4],[217,3],[320,4],[394,5],[628,4]]},"469":{"position":[[235,3],[950,5]]},"471":{"position":[[91,3]]},"481":{"position":[[6,4]]},"490":{"position":[[495,4]]},"491":{"position":[[1652,3]]},"494":{"position":[[488,3]]},"495":{"position":[[222,4]]},"496":{"position":[[215,3]]},"497":{"position":[[9,3],[272,3]]},"511":{"position":[[412,5]]},"520":{"position":[[415,4]]},"521":{"position":[[1,5],[267,4]]},"524":{"position":[[402,4],[647,4],[679,5],[737,5],[903,5]]},"531":{"position":[[412,5]]},"534":{"position":[[154,5],[311,5]]},"535":{"position":[[1277,3]]},"538":{"position":[[205,5]]},"540":{"position":[[155,5]]},"542":{"position":[[709,5]]},"543":{"position":[[28,5],[234,3]]},"544":{"position":[[396,5]]},"548":{"position":[[14,3],[145,7]]},"551":{"position":[[283,3]]},"554":{"position":[[106,3],[277,5],[317,4],[407,3],[626,3],[687,3]]},"555":{"position":[[803,4]]},"556":{"position":[[218,5],[1097,5],[1366,3],[1559,3]]},"557":{"position":[[14,3],[94,5],[182,3]]},"559":{"position":[[1550,3]]},"560":{"position":[[558,3]]},"562":{"position":[[1606,5]]},"563":{"position":[[650,5]]},"566":{"position":[[770,4]]},"567":{"position":[[898,5]]},"570":{"position":[[737,3]]},"577":{"position":[[37,5]]},"579":{"position":[[115,5]]},"580":{"position":[[186,3]]},"581":{"position":[[155,4],[260,4]]},"590":{"position":[[270,3],[429,5]]},"591":{"position":[[410,5]]},"594":{"position":[[152,5],[309,5]]},"598":{"position":[[206,5]]},"603":{"position":[[28,5],[232,3]]},"604":{"position":[[330,5]]},"608":{"position":[[14,3],[145,7]]},"610":{"position":[[100,4]]},"611":{"position":[[958,3],[1290,3]]},"613":{"position":[[733,3],[972,3],[1066,5]]},"614":{"position":[[554,4],[744,3],[990,5]]},"616":{"position":[[973,4],[1196,3]]},"617":{"position":[[482,3],[705,3],[964,5],[1126,3],[1178,3],[1277,3],[1899,3],[2331,3]]},"618":{"position":[[134,4]]},"619":{"position":[[251,5],[349,4]]},"620":{"position":[[690,3]]},"623":{"position":[[280,4],[337,4]]},"624":{"position":[[100,3],[1326,3],[1591,3]]},"626":{"position":[[635,4],[741,4],[899,4]]},"627":{"position":[[64,5]]},"628":{"position":[[98,3],[193,3]]},"632":{"position":[[1238,5]]},"635":{"position":[[215,4]]},"642":{"position":[[78,5]]},"653":{"position":[[78,3],[1371,4]]},"655":{"position":[[335,3]]},"656":{"position":[[381,3]]},"659":{"position":[[190,3]]},"660":{"position":[[199,3]]},"661":{"position":[[214,3],[424,3],[808,3],[1413,5],[1843,3]]},"662":{"position":[[450,4],[528,3],[936,3],[1091,3],[1176,3]]},"675":{"position":[[117,3]]},"676":{"position":[[6,4],[110,4]]},"678":{"position":[[177,4]]},"679":{"position":[[168,4]]},"680":{"position":[[4,3],[274,3],[995,3]]},"681":{"position":[[228,5],[607,5]]},"682":{"position":[[150,3]]},"683":{"position":[[533,3],[655,3]]},"686":{"position":[[76,4],[161,3],[302,3],[413,4],[499,5],[731,5],[779,3]]},"687":{"position":[[18,3],[227,3],[268,5]]},"688":{"position":[[167,3],[218,3]]},"689":{"position":[[534,5]]},"690":{"position":[[1,3],[233,3]]},"693":{"position":[[4,3],[530,3]]},"696":{"position":[[944,3],[1054,4],[1314,3]]},"697":{"position":[[176,4]]},"698":{"position":[[955,3],[3065,5],[3163,3]]},"700":{"position":[[919,3],[1018,3]]},"703":{"position":[[686,3],[1256,3],[1619,3]]},"705":{"position":[[310,3]]},"707":{"position":[[424,3]]},"708":{"position":[[92,3],[533,3]]},"709":{"position":[[18,4],[890,5],[1184,5],[1232,5],[1296,3]]},"710":{"position":[[110,4],[360,4],[487,3],[739,3],[952,3],[1020,5],[1233,3],[2307,3],[2466,5]]},"711":{"position":[[245,5],[427,3],[704,3],[1910,5]]},"712":{"position":[[14,3],[199,3]]},"714":{"position":[[518,4],[1002,3]]},"716":{"position":[[30,4],[446,3]]},"717":{"position":[[272,4],[380,4],[1046,5]]},"719":{"position":[[216,3]]},"721":{"position":[[12,5],[251,3]]},"723":{"position":[[803,4],[1919,5],[2291,3]]},"724":{"position":[[571,4],[1682,3]]},"728":{"position":[[135,3]]},"729":{"position":[[10,3]]},"730":{"position":[[85,3]]},"736":{"position":[[266,5]]},"737":{"position":[[505,3]]},"746":{"position":[[367,4],[619,4]]},"749":{"position":[[744,4],[881,4],[1031,4],[1780,3],[2125,4],[2874,3],[3207,4],[3575,4],[4258,4],[4390,3],[4641,3],[5046,3],[5656,3],[6133,4],[6881,4],[7233,3],[12065,3],[12782,3],[13670,3],[20022,4],[20158,4],[20323,4],[20481,4],[20582,4],[20750,4],[20921,3],[21773,3],[22607,4],[22762,4],[22853,3],[22948,4],[23793,4]]},"751":{"position":[[762,5]]},"752":{"position":[[1374,3]]},"753":{"position":[[119,3]]},"755":{"position":[[8,3]]},"756":{"position":[[8,3]]},"759":{"position":[[534,5]]},"760":{"position":[[530,5]]},"761":{"position":[[77,3],[256,3]]},"764":{"position":[[276,6]]},"765":{"position":[[16,6]]},"770":{"position":[[67,3],[218,3]]},"772":{"position":[[593,3],[1882,3],[2108,4]]},"773":{"position":[[27,3],[53,3],[340,4],[358,4]]},"774":{"position":[[107,3],[374,5],[411,4]]},"775":{"position":[[1,5],[624,3]]},"776":{"position":[[240,3],[286,4]]},"783":{"position":[[17,4],[250,3],[310,4]]},"785":{"position":[[260,3]]},"789":{"position":[[336,3]]},"791":{"position":[[237,3]]},"795":{"position":[[68,3]]},"796":{"position":[[791,3]]},"797":{"position":[[228,5]]},"798":{"position":[[753,5],[1001,4]]},"799":{"position":[[356,3],[404,3]]},"800":{"position":[[613,4]]},"801":{"position":[[105,3],[893,3]]},"802":{"position":[[594,3]]},"806":{"position":[[731,3]]},"808":{"position":[[463,5]]},"810":{"position":[[41,3]]},"815":{"position":[[284,3]]},"816":{"position":[[418,4]]},"817":{"position":[[164,4]]},"820":{"position":[[234,3],[294,4],[512,3]]},"821":{"position":[[39,3],[160,3],[294,3],[483,3],[555,3],[770,3]]},"824":{"position":[[436,5]]},"825":{"position":[[33,3],[502,3],[1082,4]]},"828":{"position":[[376,4]]},"829":{"position":[[909,3],[1025,5],[2292,3]]},"830":{"position":[[274,5]]},"831":{"position":[[192,5]]},"834":{"position":[[51,4],[102,3],[120,3]]},"835":{"position":[[665,3]]},"836":{"position":[[216,3],[357,5],[388,3],[1141,5],[1260,5]]},"837":{"position":[[290,4],[834,3],[1014,3],[1048,3],[1224,3],[2013,4]]},"838":{"position":[[970,4],[1183,3],[1210,3],[1397,3],[1614,3],[2263,3],[2389,5],[3081,5],[3190,5],[3391,3]]},"839":{"position":[[477,3],[1208,4]]},"840":{"position":[[471,5],[656,3]]},"842":{"position":[[21,5],[109,3]]},"846":{"position":[[1398,4],[1527,4],[1550,4]]},"847":{"position":[[86,5]]},"849":{"position":[[418,3],[563,3],[698,3],[733,3],[777,3]]},"854":{"position":[[1125,3],[1207,4],[1699,3]]},"857":{"position":[[17,4],[569,3]]},"858":{"position":[[113,5],[467,3]]},"861":{"position":[[16,3],[93,3],[1458,3],[2019,3],[2249,4]]},"863":{"position":[[919,3]]},"865":{"position":[[179,3]]},"871":{"position":[[777,3]]},"872":{"position":[[309,5],[429,5],[1489,3],[3048,4]]},"875":{"position":[[1370,4],[1541,3],[1581,4],[1639,3],[1711,4],[4223,4],[4351,4],[5666,3],[6566,4],[6927,3],[7037,3],[7091,4]]},"882":{"position":[[60,4]]},"884":{"position":[[12,3]]},"885":{"position":[[103,4],[1231,4],[2421,3]]},"886":{"position":[[283,3],[1448,5],[1795,4],[4020,3],[5011,3]]},"888":{"position":[[260,3]]},"889":{"position":[[986,4],[1063,3]]},"890":{"position":[[94,4],[416,4]]},"894":{"position":[[4,3],[39,3]]},"897":{"position":[[77,5],[151,5],[235,5],[291,5],[528,3]]},"898":{"position":[[574,3],[2053,3],[2128,3],[2808,3],[2869,3]]},"901":{"position":[[256,4]]},"902":{"position":[[938,3]]},"904":{"position":[[12,3],[1723,4],[2030,3],[2220,3],[2361,3],[2395,4],[2636,3],[2713,3]]},"906":{"position":[[238,4],[427,3],[542,4],[813,4]]},"910":{"position":[[104,4],[162,3]]},"911":{"position":[[289,3],[457,3]]},"912":{"position":[[53,5]]},"916":{"position":[[16,3]]},"917":{"position":[[466,3],[535,5],[558,3]]},"932":{"position":[[565,3]]},"934":{"position":[[547,4],[811,4]]},"935":{"position":[[59,4]]},"936":{"position":[[77,4]]},"942":{"position":[[1,3]]},"943":{"position":[[163,6]]},"944":{"position":[[49,3]]},"945":{"position":[[49,3],[311,3]]},"949":{"position":[[39,3]]},"950":{"position":[[185,3]]},"952":{"position":[[1,3],[127,5]]},"953":{"position":[[47,3]]},"958":{"position":[[356,3]]},"961":{"position":[[115,3],[274,4]]},"962":{"position":[[120,3],[209,3],[228,3],[382,4],[477,3],[526,3],[604,3],[841,3]]},"963":{"position":[[26,3]]},"965":{"position":[[213,4]]},"968":{"position":[[23,3]]},"971":{"position":[[1,3],[239,5]]},"972":{"position":[[46,3]]},"975":{"position":[[167,3]]},"977":{"position":[[39,3],[196,5],[230,6]]},"981":{"position":[[729,3],[1525,4]]},"983":{"position":[[52,3]]},"984":{"position":[[102,4],[463,4]]},"986":{"position":[[4,3],[262,5],[546,4],[1444,4]]},"987":{"position":[[809,3]]},"988":{"position":[[1146,3],[1786,4],[2196,5],[3089,4],[4569,4],[4942,3],[5013,5]]},"989":{"position":[[80,4],[234,4]]},"990":{"position":[[385,3],[614,4],[988,3],[1147,4]]},"991":{"position":[[156,3]]},"992":{"position":[[79,4]]},"995":{"position":[[498,4],[1191,5],[1350,5],[1427,3]]},"996":{"position":[[124,4]]},"999":{"position":[[88,4]]},"1006":{"position":[[143,3]]},"1014":{"position":[[284,3]]},"1020":{"position":[[118,4],[274,4]]},"1021":{"position":[[86,3]]},"1024":{"position":[[86,3]]},"1033":{"position":[[354,5]]},"1040":{"position":[[106,5]]},"1044":{"position":[[113,4],[237,3]]},"1047":{"position":[[207,3]]},"1048":{"position":[[114,6],[130,3]]},"1051":{"position":[[128,3]]},"1052":{"position":[[468,3]]},"1058":{"position":[[103,4]]},"1059":{"position":[[65,3]]},"1064":{"position":[[4,3],[44,3],[264,3]]},"1065":{"position":[[113,3],[157,3],[334,5],[562,5],[908,5]]},"1066":{"position":[[134,5],[303,5],[559,5]]},"1067":{"position":[[118,3],[269,5],[1073,5],[1261,5],[1720,3]]},"1071":{"position":[[39,4],[102,3]]},"1072":{"position":[[2537,3]]},"1074":{"position":[[219,4]]},"1077":{"position":[[74,4]]},"1078":{"position":[[351,4],[442,4],[756,5]]},"1079":{"position":[[181,3]]},"1080":{"position":[[312,4],[502,4],[777,4],[1037,3],[1084,3]]},"1081":{"position":[[4,3]]},"1082":{"position":[[443,4]]},"1084":{"position":[[24,4],[101,4],[219,3],[576,4]]},"1085":{"position":[[668,3],[3509,3]]},"1088":{"position":[[390,3]]},"1089":{"position":[[213,5]]},"1090":{"position":[[61,3],[389,3]]},"1091":{"position":[[135,3]]},"1092":{"position":[[24,3],[386,6]]},"1093":{"position":[[284,5]]},"1094":{"position":[[203,3]]},"1097":{"position":[[401,3]]},"1098":{"position":[[44,3]]},"1099":{"position":[[44,3]]},"1101":{"position":[[172,4]]},"1102":{"position":[[135,3],[821,5]]},"1104":{"position":[[181,4],[443,4],[816,4]]},"1105":{"position":[[53,4],[251,4],[394,3],[447,3],[870,3]]},"1106":{"position":[[55,4],[265,4]]},"1107":{"position":[[153,3],[384,4],[472,3],[976,3]]},"1108":{"position":[[252,3],[354,4],[627,4]]},"1111":{"position":[[89,5]]},"1112":{"position":[[226,3]]},"1114":{"position":[[123,4],[163,3]]},"1115":{"position":[[232,3],[508,4]]},"1117":{"position":[[193,5]]},"1118":{"position":[[120,3],[190,6],[224,3]]},"1120":{"position":[[389,4],[540,3]]},"1121":{"position":[[84,3]]},"1123":{"position":[[660,5]]},"1124":{"position":[[1,5],[96,3],[446,3],[1217,4],[1326,3],[2094,3]]},"1125":{"position":[[4,3],[491,4],[899,3]]},"1126":{"position":[[10,3],[447,3],[768,3]]},"1130":{"position":[[321,3]]},"1132":{"position":[[1,5],[71,5],[170,4]]},"1133":{"position":[[46,4],[360,3],[606,5],[661,3]]},"1134":{"position":[[523,3]]},"1135":{"position":[[75,3],[226,3]]},"1138":{"position":[[4,3],[84,3]]},"1139":{"position":[[155,5]]},"1140":{"position":[[304,3],[375,3]]},"1141":{"position":[[174,3]]},"1143":{"position":[[33,4],[313,4],[343,3]]},"1145":{"position":[[151,5]]},"1146":{"position":[[91,3],[138,3]]},"1147":{"position":[[125,5]]},"1149":{"position":[[81,3],[254,6],[568,5]]},"1151":{"position":[[88,5],[635,3],[762,3]]},"1152":{"position":[[67,3]]},"1154":{"position":[[536,3],[590,3]]},"1157":{"position":[[369,4]]},"1159":{"position":[[107,5],[167,4]]},"1161":{"position":[[206,4]]},"1162":{"position":[[308,4],[1080,5]]},"1163":{"position":[[183,3],[269,5]]},"1164":{"position":[[559,3]]},"1165":{"position":[[160,3],[543,3],[1004,3]]},"1167":{"position":[[14,4]]},"1171":{"position":[[232,4]]},"1172":{"position":[[169,3]]},"1174":{"position":[[10,3],[64,4]]},"1175":{"position":[[6,5]]},"1176":{"position":[[131,4]]},"1177":{"position":[[156,3]]},"1178":{"position":[[88,5],[634,3],[761,3]]},"1180":{"position":[[206,4]]},"1181":{"position":[[395,4]]},"1182":{"position":[[183,3],[269,5]]},"1183":{"position":[[136,3],[223,4],[269,3],[533,3]]},"1184":{"position":[[83,3],[251,3]]},"1188":{"position":[[26,5]]},"1189":{"position":[[94,3],[164,3]]},"1191":{"position":[[398,3],[500,3]]},"1192":{"position":[[561,4],[689,3]]},"1193":{"position":[[189,3],[281,3]]},"1195":{"position":[[126,3]]},"1196":{"position":[[79,5],[170,3]]},"1198":{"position":[[58,3],[1322,3],[1477,3],[1522,3],[1726,5],[1822,3],[2043,5]]},"1202":{"position":[[10,3]]},"1204":{"position":[[157,3]]},"1206":{"position":[[602,3]]},"1207":{"position":[[381,4]]},"1208":{"position":[[43,4],[227,4],[392,5],[576,3]]},"1210":{"position":[[69,3]]},"1211":{"position":[[121,3],[327,4],[395,5]]},"1213":{"position":[[10,3],[62,3],[345,4],[374,5],[778,3]]},"1214":{"position":[[259,3],[342,3],[757,3],[875,3],[966,4]]},"1215":{"position":[[283,3]]},"1219":{"position":[[119,4]]},"1220":{"position":[[32,4]]},"1222":{"position":[[291,3],[348,3],[1049,3]]},"1225":{"position":[[393,3]]},"1226":{"position":[[330,4]]},"1227":{"position":[[194,4],[417,3],[501,4]]},"1228":{"position":[[145,4]]},"1229":{"position":[[144,4]]},"1231":{"position":[[34,5]]},"1233":{"position":[[7,3],[117,3],[164,3]]},"1235":{"position":[[17,3],[106,3],[282,3],[393,3],[459,3]]},"1237":{"position":[[110,3],[256,3],[408,4]]},"1238":{"position":[[142,3],[374,3]]},"1239":{"position":[[111,4],[213,4],[368,3]]},"1241":{"position":[[113,4]]},"1243":{"position":[[63,3]]},"1244":{"position":[[139,4]]},"1245":{"position":[[53,3]]},"1246":{"position":[[700,3],[882,4],[1355,4],[1490,3],[1720,4],[1828,4],[1961,4],[2030,3]]},"1247":{"position":[[67,4],[255,3],[440,3],[610,3]]},"1249":{"position":[[323,5]]},"1250":{"position":[[19,4]]},"1251":{"position":[[119,5],[175,4]]},"1252":{"position":[[4,5]]},"1263":{"position":[[287,3]]},"1264":{"position":[[246,4]]},"1265":{"position":[[187,4],[410,3],[495,4]]},"1266":{"position":[[57,5],[112,4],[787,4]]},"1267":{"position":[[309,3],[550,3]]},"1271":{"position":[[364,5],[502,3],[710,3],[895,4],[917,4],[1251,3],[1318,4]]},"1272":{"position":[[313,5]]},"1274":{"position":[[158,3]]},"1275":{"position":[[44,3]]},"1276":{"position":[[24,3],[116,3],[552,3]]},"1277":{"position":[[110,3],[482,5],[669,3]]},"1278":{"position":[[35,4],[80,3],[154,3],[195,3],[673,3]]},"1279":{"position":[[230,3]]},"1281":{"position":[[70,3]]},"1282":{"position":[[63,4],[370,3],[433,4]]},"1284":{"position":[[134,5],[418,3]]},"1286":{"position":[[66,5]]},"1287":{"position":[[40,3],[175,5],[217,3]]},"1288":{"position":[[128,4]]},"1292":{"position":[[42,5],[515,4]]},"1294":{"position":[[1846,5],[2117,4]]},"1295":{"position":[[35,4],[402,3],[1528,4]]},"1296":{"position":[[493,3],[1189,3],[1602,5],[1725,5],[1857,4]]},"1297":{"position":[[400,5]]},"1299":{"position":[[86,5],[404,4]]},"1300":{"position":[[30,5]]},"1301":{"position":[[89,3],[578,3],[1138,3]]},"1304":{"position":[[2026,5]]},"1307":{"position":[[678,5]]},"1309":{"position":[[167,4],[589,4],[1022,3]]},"1311":{"position":[[48,3],[1412,3],[1637,3],[1678,3]]},"1313":{"position":[[38,4],[502,4],[695,5],[970,5],[1036,3]]},"1314":{"position":[[183,3]]},"1315":{"position":[[355,3],[1135,5]]},"1316":{"position":[[2099,3],[2993,4],[3579,3]]},"1320":{"position":[[4,3],[304,3],[332,3],[485,3]]},"1324":{"position":[[221,4],[566,4]]}},"keywords":{}}],["us/docs/web/api/sharedworker?retiredlocale=d",{"_index":6268,"title":{},"content":{"1226":{"position":[[515,45]]}},"keywords":{}}],["us/docs/web/api/worker/work",{"_index":6302,"title":{},"content":{"1264":{"position":[[418,29]]}},"keywords":{}}],["usabl",{"_index":584,"title":{},"content":{"37":{"position":[[398,6]]},"323":{"position":[[199,6]]},"375":{"position":[[110,6]]},"411":{"position":[[5760,10]]},"421":{"position":[[1007,6]]},"432":{"position":[[1173,9]]},"582":{"position":[[93,7]]},"611":{"position":[[1123,6]]},"613":{"position":[[836,9]]},"617":{"position":[[75,9]]},"749":{"position":[[14210,6]]},"1031":{"position":[[262,7]]},"1040":{"position":[[292,6]]}},"keywords":{}}],["usag",{"_index":581,"title":{"300":{"position":[[32,6]]},"414":{"position":[[25,6]]},"672":{"position":[[0,5]]},"673":{"position":[[0,5]]},"674":{"position":[[0,5]]},"759":{"position":[[0,6]]},"766":{"position":[[0,6]]},"779":{"position":[[10,5]]},"820":{"position":[[0,6]]},"829":{"position":[[0,6]]},"846":{"position":[[0,6]]},"854":{"position":[[0,6]]},"866":{"position":[[0,6]]},"878":{"position":[[0,6]]},"884":{"position":[[0,6]]},"1130":{"position":[[0,6]]},"1134":{"position":[[0,6]]},"1154":{"position":[[0,6]]},"1163":{"position":[[0,6]]},"1172":{"position":[[0,6]]},"1201":{"position":[[0,6]]},"1218":{"position":[[0,6]]},"1219":{"position":[[0,5]]},"1224":{"position":[[0,6]]},"1274":{"position":[[0,5]]},"1275":{"position":[[0,5]]},"1276":{"position":[[0,5]]},"1277":{"position":[[0,5]]},"1278":{"position":[[0,5]]},"1279":{"position":[[0,5]]},"1280":{"position":[[0,5]]}},"content":{"37":{"position":[[282,6]]},"46":{"position":[[645,5]]},"57":{"position":[[435,5]]},"227":{"position":[[40,5]]},"236":{"position":[[205,6]]},"277":{"position":[[297,6]]},"298":{"position":[[42,5]]},"299":{"position":[[362,5]]},"301":{"position":[[35,5],[273,5]]},"306":{"position":[[106,6]]},"314":{"position":[[604,5]]},"315":{"position":[[1143,6]]},"336":{"position":[[202,6]]},"358":{"position":[[731,6]]},"361":{"position":[[300,6]]},"366":{"position":[[530,6]]},"412":{"position":[[9298,5],[10324,6]]},"433":{"position":[[379,5],[636,6]]},"473":{"position":[[231,5]]},"477":{"position":[[95,5],[259,5]]},"523":{"position":[[241,5]]},"559":{"position":[[172,5]]},"560":{"position":[[648,5]]},"563":{"position":[[190,6],[833,5]]},"566":{"position":[[610,5],[1220,5],[1396,5]]},"581":{"position":[[218,5]]},"587":{"position":[[105,6]]},"632":{"position":[[237,5]]},"639":{"position":[[186,5]]},"643":{"position":[[284,5]]},"696":{"position":[[718,6]]},"737":{"position":[[40,5]]},"779":{"position":[[88,5]]},"798":{"position":[[102,6]]},"832":{"position":[[149,5]]},"839":{"position":[[395,6]]},"841":{"position":[[1320,5]]},"886":{"position":[[4639,5]]},"995":{"position":[[554,5],[601,5]]},"1009":{"position":[[853,5]]},"1018":{"position":[[631,5]]},"1088":{"position":[[201,5]]},"1193":{"position":[[240,5]]}},"keywords":{}}],["usageacceler",{"_index":1882,"title":{},"content":{"311":{"position":[[209,17]]}},"keywords":{}}],["usagereact",{"_index":3116,"title":{},"content":{"479":{"position":[[140,13]]}},"keywords":{}}],["usage—brows",{"_index":2074,"title":{},"content":{"359":{"position":[[83,15]]}},"keywords":{}}],["usecas",{"_index":5623,"title":{"1022":{"position":[[0,8]]},"1023":{"position":[[0,8]]},"1024":{"position":[[0,8]]}},"content":{},"keywords":{}}],["usedspac",{"_index":1774,"title":{},"content":{"300":{"position":[[305,9],[422,11]]}},"keywords":{}}],["useeffect",{"_index":3305,"title":{},"content":{"541":{"position":[[191,9],[295,12]]},"559":{"position":[[211,9],[413,12]]},"562":{"position":[[1052,10],[1166,12]]},"829":{"position":[[1257,10],[1459,12]]}},"keywords":{}}],["useful.learn",{"_index":3384,"title":{},"content":{"557":{"position":[[276,12]]}},"keywords":{}}],["useliverxqueri",{"_index":4761,"title":{},"content":{"829":{"position":[[3101,14],[3238,14]]},"832":{"position":[[210,15]]}},"keywords":{}}],["useliverxquery(queri",{"_index":4762,"title":{},"content":{"829":{"position":[[3429,22]]}},"keywords":{}}],["user",{"_index":70,"title":{"97":{"position":[[46,5]]},"352":{"position":[[22,4]]},"410":{"position":[[0,4]]},"486":{"position":[[7,4]]},"782":{"position":[[46,4]]},"1090":{"position":[[32,4]]}},"content":{"4":{"position":[[180,5]]},"19":{"position":[[578,4]]},"35":{"position":[[642,4]]},"37":{"position":[[414,4]]},"39":{"position":[[147,4]]},"46":{"position":[[151,5],[533,4]]},"61":{"position":[[508,4]]},"65":{"position":[[412,4],[557,4],[600,5],[935,4],[994,4],[1418,5],[1928,4],[2108,4]]},"68":{"position":[[201,4]]},"69":{"position":[[160,4],[194,5]]},"70":{"position":[[236,4]]},"73":{"position":[[57,4]]},"77":{"position":[[50,4],[150,4]]},"83":{"position":[[393,4]]},"87":{"position":[[236,4],[271,4]]},"88":{"position":[[108,5],[200,4]]},"89":{"position":[[339,6]]},"90":{"position":[[168,4],[322,4]]},"91":{"position":[[52,6]]},"93":{"position":[[229,4]]},"95":{"position":[[240,4]]},"97":{"position":[[86,5],[110,5]]},"101":{"position":[[267,4]]},"103":{"position":[[221,4]]},"114":{"position":[[582,4]]},"117":{"position":[[156,4],[301,4]]},"125":{"position":[[301,4]]},"136":{"position":[[240,4],[350,4]]},"148":{"position":[[286,4]]},"152":{"position":[[333,4]]},"156":{"position":[[321,4]]},"157":{"position":[[277,5]]},"160":{"position":[[229,4]]},"173":{"position":[[981,4],[1480,5],[1825,5],[2748,5],[2807,5]]},"174":{"position":[[312,4]]},"175":{"position":[[590,4]]},"178":{"position":[[155,4],[405,4]]},"183":{"position":[[283,5]]},"185":{"position":[[322,4]]},"191":{"position":[[296,4]]},"198":{"position":[[449,4]]},"205":{"position":[[418,4]]},"206":{"position":[[188,5]]},"212":{"position":[[27,5],[627,5]]},"215":{"position":[[180,5]]},"216":{"position":[[212,4]]},"217":{"position":[[239,5]]},"218":{"position":[[127,4]]},"221":{"position":[[300,4]]},"237":{"position":[[196,5]]},"250":{"position":[[104,5],[286,4]]},"253":{"position":[[259,4]]},"265":{"position":[[487,4]]},"267":{"position":[[640,5],[1101,6],[1674,6]]},"269":{"position":[[345,4]]},"270":{"position":[[142,4],[189,4]]},"274":{"position":[[187,5]]},"275":{"position":[[109,4],[261,4]]},"277":{"position":[[328,6]]},"280":{"position":[[425,4],[485,5]]},"283":{"position":[[440,4]]},"289":{"position":[[1345,5]]},"292":{"position":[[222,5],[345,4]]},"295":{"position":[[262,6]]},"298":{"position":[[62,4],[444,4],[604,5]]},"299":{"position":[[399,4],[571,4]]},"300":{"position":[[659,5]]},"302":{"position":[[496,4],[953,4]]},"305":{"position":[[55,4],[471,4]]},"310":{"position":[[226,6]]},"312":{"position":[[217,4],[310,4]]},"318":{"position":[[436,4]]},"321":{"position":[[114,4]]},"323":{"position":[[538,4]]},"328":{"position":[[280,5]]},"330":{"position":[[103,5]]},"338":{"position":[[95,5]]},"340":{"position":[[138,5]]},"343":{"position":[[118,4]]},"346":{"position":[[707,4]]},"353":{"position":[[678,4]]},"354":{"position":[[1585,4]]},"361":{"position":[[996,4]]},"362":{"position":[[993,4]]},"369":{"position":[[836,4]]},"375":{"position":[[207,5],[692,5],[946,4]]},"377":{"position":[[17,4],[342,4]]},"380":{"position":[[405,4]]},"385":{"position":[[348,4]]},"386":{"position":[[88,4]]},"388":{"position":[[360,4]]},"394":{"position":[[233,4]]},"399":{"position":[[194,5],[239,5]]},"403":{"position":[[169,5]]},"407":{"position":[[519,6],[606,5],[712,4],[980,6],[1155,4]]},"408":{"position":[[588,4],[683,4],[3243,4]]},"409":{"position":[[289,5]]},"410":{"position":[[409,5],[485,4],[610,5],[1002,5],[1486,5],[2161,4]]},"411":{"position":[[424,5],[604,5],[986,4],[2361,5],[4036,4],[4322,4],[4787,5],[5316,5],[5471,5]]},"412":{"position":[[762,4],[3101,5],[3120,4],[3626,4],[5116,4],[5895,5],[5960,5],[6965,4],[7640,5],[7919,4],[8029,5],[8727,4],[9582,4],[10586,5],[11896,4],[12285,4],[12324,5],[12432,4],[12560,4],[12681,5],[15153,4]]},"414":{"position":[[416,4]]},"415":{"position":[[431,5]]},"416":{"position":[[519,6]]},"417":{"position":[[14,5],[369,5]]},"418":{"position":[[213,5],[568,5]]},"419":{"position":[[383,4]]},"420":{"position":[[1184,5]]},"421":{"position":[[34,5],[780,5],[902,5],[1159,6]]},"424":{"position":[[311,4],[430,4]]},"426":{"position":[[299,4],[375,4],[469,4]]},"427":{"position":[[383,4]]},"439":{"position":[[224,5],[525,4]]},"445":{"position":[[1205,4],[1538,4],[2504,4]]},"446":{"position":[[205,5],[653,5],[1068,4]]},"447":{"position":[[496,4]]},"454":{"position":[[739,5]]},"458":{"position":[[92,4],[345,5],[360,6]]},"461":{"position":[[495,4],[558,4]]},"469":{"position":[[1261,5]]},"473":{"position":[[184,4]]},"474":{"position":[[191,5]]},"475":{"position":[[132,4]]},"477":{"position":[[313,4]]},"481":{"position":[[553,4]]},"482":{"position":[[823,4]]},"483":{"position":[[831,4],[1286,4]]},"485":{"position":[[63,4]]},"486":{"position":[[41,5],[242,5]]},"487":{"position":[[85,4],[475,4]]},"489":{"position":[[346,5],[716,5]]},"491":{"position":[[949,4]]},"495":{"position":[[275,4],[291,5],[466,4]]},"496":{"position":[[560,4]]},"497":{"position":[[492,5]]},"498":{"position":[[590,4],[623,5],[705,5]]},"500":{"position":[[269,4],[645,5]]},"501":{"position":[[400,4]]},"502":{"position":[[466,5],[828,4],[885,5]]},"506":{"position":[[180,4]]},"507":{"position":[[165,4]]},"509":{"position":[[134,4]]},"510":{"position":[[106,4],[606,4],[769,5]]},"514":{"position":[[392,4]]},"516":{"position":[[157,5]]},"517":{"position":[[380,4]]},"519":{"position":[[297,5]]},"524":{"position":[[896,6]]},"526":{"position":[[72,4]]},"530":{"position":[[123,4]]},"534":{"position":[[103,4],[548,4]]},"550":{"position":[[186,4]]},"557":{"position":[[501,6]]},"559":{"position":[[1347,5],[1533,4]]},"560":{"position":[[335,4]]},"564":{"position":[[67,4],[1066,4]]},"565":{"position":[[35,4]]},"567":{"position":[[695,4],[1160,4]]},"569":{"position":[[1201,5]]},"571":{"position":[[270,4],[372,4],[1660,5]]},"574":{"position":[[215,5]]},"582":{"position":[[459,4],[743,4]]},"589":{"position":[[9,5],[208,4]]},"590":{"position":[[841,4]]},"594":{"position":[[101,4],[546,4]]},"617":{"position":[[608,4],[806,6],[1888,5]]},"619":{"position":[[27,6]]},"630":{"position":[[37,4],[189,4],[325,4],[357,4],[527,4],[1028,4]]},"634":{"position":[[194,4],[281,4],[631,4]]},"635":{"position":[[418,5]]},"638":{"position":[[43,4]]},"642":{"position":[[307,4]]},"643":{"position":[[341,4]]},"644":{"position":[[257,4],[710,4]]},"659":{"position":[[1001,4]]},"680":{"position":[[1159,6]]},"686":{"position":[[246,5]]},"687":{"position":[[139,4]]},"688":{"position":[[664,4]]},"690":{"position":[[126,4]]},"691":{"position":[[26,5]]},"696":{"position":[[347,4],[484,4],[1465,4],[1666,6]]},"697":{"position":[[284,4],[563,5]]},"698":{"position":[[21,5],[1947,5],[2005,5],[2137,5],[2772,5]]},"699":{"position":[[889,4]]},"700":{"position":[[198,4],[407,4],[533,4],[640,4]]},"701":{"position":[[113,6],[125,4],[212,5],[360,4],[694,4],[1073,6]]},"702":{"position":[[832,4]]},"703":{"position":[[86,5],[1397,4]]},"707":{"position":[[261,4]]},"711":{"position":[[1285,5],[1341,5]]},"715":{"position":[[233,4]]},"719":{"position":[[438,4]]},"723":{"position":[[313,5],[494,5],[2193,5],[2744,5]]},"752":{"position":[[321,4],[1355,5]]},"753":{"position":[[223,5]]},"759":{"position":[[1169,9],[1235,9],[1265,5]]},"772":{"position":[[950,6]]},"778":{"position":[[36,4],[196,4],[525,4]]},"779":{"position":[[112,4]]},"781":{"position":[[28,6],[167,4]]},"782":{"position":[[30,4],[135,5],[284,4],[397,4]]},"783":{"position":[[453,4],[604,4]]},"785":{"position":[[97,4],[659,5]]},"796":{"position":[[502,5],[697,4],[871,5]]},"798":{"position":[[362,4]]},"801":{"position":[[243,4],[482,4],[576,4]]},"817":{"position":[[149,5]]},"821":{"position":[[719,5],[840,5]]},"835":{"position":[[351,4],[1055,4]]},"839":{"position":[[342,4]]},"841":{"position":[[1344,4]]},"854":{"position":[[1383,4]]},"860":{"position":[[85,4],[861,5]]},"863":{"position":[[903,5]]},"904":{"position":[[2066,5],[2177,5],[2261,5]]},"912":{"position":[[141,4],[556,4],[645,5]]},"964":{"position":[[229,4]]},"977":{"position":[[278,5]]},"981":{"position":[[1309,5]]},"1009":{"position":[[133,4],[268,5],[406,4],[669,5]]},"1030":{"position":[[66,4]]},"1085":{"position":[[2141,4]]},"1088":{"position":[[236,4]]},"1090":{"position":[[48,6]]},"1092":{"position":[[364,6]]},"1093":{"position":[[178,6],[277,6]]},"1104":{"position":[[17,5],[35,4],[761,4],[780,4]]},"1121":{"position":[[130,5],[159,5],[312,5]]},"1123":{"position":[[333,5]]},"1140":{"position":[[149,4]]},"1148":{"position":[[107,4],[313,4]]},"1151":{"position":[[441,5]]},"1178":{"position":[[440,5]]},"1198":{"position":[[892,6],[1212,5]]},"1207":{"position":[[846,5]]},"1215":{"position":[[312,4],[610,5],[630,4]]},"1252":{"position":[[157,4]]},"1294":{"position":[[283,4]]},"1296":{"position":[[266,4]]},"1297":{"position":[[201,4]]},"1301":{"position":[[79,5]]},"1304":{"position":[[1110,5]]},"1313":{"position":[[579,4],[673,4]]},"1314":{"position":[[77,4]]},"1316":{"position":[[84,5],[398,5],[586,5],[613,5],[740,6]]},"1317":{"position":[[227,4],[583,4]]},"1318":{"position":[[228,4]]}},"keywords":{}}],["user'",{"_index":697,"title":{},"content":{"45":{"position":[[184,6]]},"63":{"position":[[77,6]]},"65":{"position":[[1745,6]]},"323":{"position":[[220,6]]},"365":{"position":[[635,6]]},"376":{"position":[[133,6]]},"391":{"position":[[105,6]]},"411":{"position":[[2905,6]]},"412":{"position":[[625,6],[3436,6],[6892,6],[7062,6]]},"419":{"position":[[1016,6]]},"424":{"position":[[137,6]]},"444":{"position":[[494,6]]},"461":{"position":[[1134,6]]},"497":{"position":[[586,6]]},"500":{"position":[[158,6]]},"575":{"position":[[603,6]]},"636":{"position":[[142,6]]}},"keywords":{}}],["user.onlin",{"_index":2784,"title":{},"content":{"415":{"position":[[239,11]]}},"keywords":{}}],["user.us",{"_index":1212,"title":{},"content":{"173":{"position":[[2971,10]]}},"keywords":{}}],["userid",{"_index":4888,"title":{},"content":{"858":{"position":[[361,7]]},"1105":{"position":[[481,6],[580,6]]}},"keywords":{}}],["userinput",{"_index":2306,"title":{},"content":{"394":{"position":[[594,9]]}},"keywords":{}}],["usernam",{"_index":3388,"title":{},"content":{"559":{"position":[[276,10],[497,12]]}},"keywords":{}}],["username"",{"_index":3400,"title":{},"content":{"559":{"position":[[703,14]]}},"keywords":{}}],["username}</p>",{"_index":3402,"title":{},"content":{"559":{"position":[[741,20]]}},"keywords":{}}],["users"",{"_index":4012,"title":{},"content":{"711":{"position":[[1794,13]]}},"keywords":{}}],["users.serv",{"_index":3671,"title":{},"content":{"623":{"position":[[166,12]]}},"keywords":{}}],["userscollect",{"_index":5065,"title":{},"content":{"878":{"position":[[315,16]]},"1101":{"position":[[688,16]]}},"keywords":{}}],["usersecret",{"_index":3138,"title":{},"content":{"482":{"position":[[780,12]]}},"keywords":{}}],["userxcollect",{"_index":3264,"title":{},"content":{"523":{"position":[[254,15]]},"829":{"position":[[1902,15]]},"832":{"position":[[230,17]]}},"keywords":{}}],["userxcollection('charact",{"_index":3266,"title":{},"content":{"523":{"position":[[346,30]]}},"keywords":{}}],["userxcollection('hero",{"_index":4756,"title":{},"content":{"829":{"position":[[1966,26]]}},"keywords":{}}],["userxqueri",{"_index":3265,"title":{},"content":{"523":{"position":[[274,10]]},"829":{"position":[[2300,10],[2326,10]]},"832":{"position":[[198,11]]}},"keywords":{}}],["userxquery(queri",{"_index":3271,"title":{},"content":{"523":{"position":[[514,17]]},"829":{"position":[[2514,18]]}},"keywords":{}}],["user’",{"_index":1719,"title":{},"content":{"298":{"position":[[543,6]]},"300":{"position":[[616,6]]},"302":{"position":[[10,6]]},"407":{"position":[[219,6]]},"559":{"position":[[75,6]]},"902":{"position":[[402,6]]}},"keywords":{}}],["usesign",{"_index":3185,"title":{},"content":{"494":{"position":[[504,10]]}},"keywords":{}}],["usesrxdatabaseinwork",{"_index":4178,"title":{"1213":{"position":[[8,22]]}},"content":{"749":{"position":[[3434,22],[3526,22]]},"1213":{"position":[[527,22],[697,23]]}},"keywords":{}}],["usest",{"_index":3304,"title":{},"content":{"541":{"position":[[181,9],[281,13]]},"559":{"position":[[201,9],[302,11]]},"562":{"position":[[1063,8],[1152,13]]},"829":{"position":[[1268,8],[1447,11]]}},"keywords":{}}],["usual",{"_index":1965,"title":{},"content":{"336":{"position":[[540,7]]},"358":{"position":[[171,7]]},"412":{"position":[[8294,7],[12930,7],[15024,7]]},"432":{"position":[[289,7]]},"495":{"position":[[866,7]]},"560":{"position":[[517,7]]},"561":{"position":[[175,9]]},"829":{"position":[[43,6],[1100,7]]},"898":{"position":[[4430,8]]},"932":{"position":[[1403,5]]},"1157":{"position":[[279,7]]}},"keywords":{}}],["ut1",{"_index":4132,"title":{},"content":{"749":{"position":[[9,3]]}},"keywords":{}}],["ut2",{"_index":4135,"title":{},"content":{"749":{"position":[[97,3]]}},"keywords":{}}],["ut3",{"_index":4139,"title":{},"content":{"749":{"position":[[444,3]]}},"keywords":{}}],["ut4",{"_index":4140,"title":{},"content":{"749":{"position":[[571,3]]}},"keywords":{}}],["ut5",{"_index":4141,"title":{},"content":{"749":{"position":[[662,3]]}},"keywords":{}}],["ut6",{"_index":4142,"title":{},"content":{"749":{"position":[[815,3]]}},"keywords":{}}],["ut7",{"_index":4143,"title":{},"content":{"749":{"position":[[952,3]]}},"keywords":{}}],["ut8",{"_index":4145,"title":{},"content":{"749":{"position":[[1087,3]]}},"keywords":{}}],["util",{"_index":936,"title":{"398":{"position":[[35,11]]}},"content":{"65":{"position":[[2016,7]]},"96":{"position":[[1,9]]},"104":{"position":[[6,8]]},"156":{"position":[[72,8]]},"162":{"position":[[264,8]]},"173":{"position":[[665,8]]},"174":{"position":[[470,8]]},"175":{"position":[[436,9]]},"180":{"position":[[31,8]]},"189":{"position":[[397,8]]},"219":{"position":[[108,9]]},"221":{"position":[[106,9]]},"228":{"position":[[316,11]]},"289":{"position":[[689,9]]},"365":{"position":[[456,8]]},"385":{"position":[[46,7]]},"390":{"position":[[1867,7]]},"392":{"position":[[4890,7]]},"393":{"position":[[321,7],[894,9]]},"402":{"position":[[2173,9]]},"426":{"position":[[142,9]]},"445":{"position":[[1967,9]]},"446":{"position":[[1253,9]]},"452":{"position":[[208,7]]},"469":{"position":[[1224,9]]},"480":{"position":[[1059,7]]},"494":{"position":[[21,7]]},"508":{"position":[[219,12]]},"540":{"position":[[198,9]]},"554":{"position":[[157,8]]},"559":{"position":[[1727,8]]},"571":{"position":[[1723,8]]},"614":{"position":[[440,9]]},"723":{"position":[[43,8]]},"802":{"position":[[1,9]]},"824":{"position":[[609,10]]},"1023":{"position":[[9,7]]},"1087":{"position":[[102,9]]},"1088":{"position":[[4,7]]},"1132":{"position":[[366,9]]},"1149":{"position":[[306,7]]},"1238":{"position":[[13,7]]},"1284":{"position":[[254,5]]},"1294":{"position":[[62,8]]}},"keywords":{}}],["ux",{"_index":2587,"title":{"778":{"position":[[0,2]]}},"content":{"410":{"position":[[19,3],[306,2]]}},"keywords":{}}],["v",{"_index":3503,"title":{},"content":{"580":{"position":[[767,1]]},"601":{"position":[[155,1]]},"602":{"position":[[530,1]]},"861":{"position":[[399,1]]},"887":{"position":[[613,3],[628,2]]},"1115":{"position":[[342,1],[408,1],[416,1],[478,1]]},"1290":{"position":[[126,1]]},"1291":{"position":[[110,3]]}},"keywords":{}}],["v.includ",{"_index":6390,"title":{},"content":{"1290":{"position":[[134,15]]},"1291":{"position":[[131,16]]}},"keywords":{}}],["v1",{"_index":2468,"title":{},"content":{"401":{"position":[[493,2],[530,2]]}},"keywords":{}}],["v14",{"_index":4506,"title":{},"content":{"761":{"position":[[562,4]]}},"keywords":{}}],["v15",{"_index":4504,"title":{},"content":{"761":{"position":[[438,3]]}},"keywords":{}}],["v2",{"_index":2215,"title":{},"content":{"391":{"position":[[413,2],[556,5]]},"401":{"position":[[216,2],[302,2],[341,2],[388,2],[435,2]]},"402":{"position":[[1915,2]]},"1141":{"position":[[264,3]]}},"keywords":{}}],["v2.x.x",{"_index":6034,"title":{},"content":{"1133":{"position":[[194,7]]}},"keywords":{}}],["v6.3.x).due",{"_index":6039,"title":{},"content":{"1133":{"position":[[484,11]]}},"keywords":{}}],["v7.3.x",{"_index":6035,"title":{},"content":{"1133":{"position":[[263,6]]}},"keywords":{}}],["val",{"_index":5991,"title":{},"content":{"1116":{"position":[[339,3],[389,3],[425,3],[477,3],[524,3],[593,3],[644,3]]}},"keywords":{}}],["valid",{"_index":2023,"title":{"367":{"position":[[7,10]]},"382":{"position":[[7,10]]},"764":{"position":[[16,8]]},"907":{"position":[[5,11]]},"1106":{"position":[[7,10]]},"1285":{"position":[[7,10]]},"1286":{"position":[[0,8]]},"1287":{"position":[[0,8]]},"1288":{"position":[[0,8],[20,6]]},"1292":{"position":[[30,11]]},"1317":{"position":[[12,11]]}},"content":{"354":{"position":[[594,10]]},"360":{"position":[[767,11]]},"364":{"position":[[446,8]]},"367":{"position":[[422,10],[476,10],[519,5]]},"491":{"position":[[1048,11]]},"495":{"position":[[383,10]]},"497":{"position":[[361,11],[690,11]]},"556":{"position":[[1425,8],[2003,5]]},"686":{"position":[[916,10]]},"703":{"position":[[274,8]]},"749":{"position":[[597,5],[2311,5],[12904,5],[13204,5],[16293,5],[21795,10],[21915,5],[23983,5],[24302,5]]},"764":{"position":[[28,10],[185,10],[291,8]]},"767":{"position":[[157,10]]},"793":{"position":[[417,10]]},"872":{"position":[[614,5]]},"880":{"position":[[35,5],[55,7]]},"888":{"position":[[183,5]]},"907":{"position":[[216,5]]},"934":{"position":[[151,5]]},"942":{"position":[[73,8]]},"944":{"position":[[577,10]]},"1084":{"position":[[32,8],[251,5]]},"1085":{"position":[[986,11]]},"1104":{"position":[[607,5]]},"1106":{"position":[[12,9],[273,8]]},"1132":{"position":[[486,10]]},"1227":{"position":[[462,5]]},"1237":{"position":[[271,10]]},"1251":{"position":[[112,6],[180,8]]},"1265":{"position":[[456,5]]},"1286":{"position":[[3,10],[42,11],[79,9],[352,10]]},"1287":{"position":[[17,5],[27,8],[62,10],[193,9],[398,10]]},"1288":{"position":[[25,5],[31,10],[95,8],[115,5],[144,5],[161,11],[260,7],[358,10]]},"1289":{"position":[[12,10]]},"1290":{"position":[[116,9]]},"1292":{"position":[[333,9],[687,9],[766,9],[946,9]]},"1317":{"position":[[49,9],[95,10],[315,10],[662,6]]}},"keywords":{}}],["validatepassword",{"_index":4302,"title":{},"content":{"749":{"position":[[12965,17]]}},"keywords":{}}],["validationremov",{"_index":4516,"title":{},"content":{"765":{"position":[[127,18]]}},"keywords":{}}],["validuntil",{"_index":5952,"title":{},"content":{"1104":{"position":[[367,11],[505,10]]}},"keywords":{}}],["valu",{"_index":557,"title":{"1122":{"position":[[33,5]]}},"content":{"35":{"position":[[349,5]]},"45":{"position":[[130,5]]},"63":{"position":[[125,5]]},"317":{"position":[[45,5]]},"356":{"position":[[461,6]]},"369":{"position":[[368,6]]},"390":{"position":[[484,7]]},"395":{"position":[[438,7]]},"396":{"position":[[1206,6],[1454,6]]},"397":{"position":[[32,6],[140,6],[284,6]]},"398":{"position":[[671,6],[3386,5]]},"402":{"position":[[956,7],[1182,5],[1212,5],[1487,5],[1534,5]]},"403":{"position":[[710,7]]},"424":{"position":[[180,5]]},"426":{"position":[[53,5]]},"427":{"position":[[495,5]]},"429":{"position":[[200,5],[558,6]]},"432":{"position":[[225,5],[1258,5],[1442,5]]},"441":{"position":[[177,5]]},"450":{"position":[[86,5],[318,6]]},"451":{"position":[[138,5],[266,5]]},"457":{"position":[[127,6]]},"459":{"position":[[1056,7]]},"468":{"position":[[174,5]]},"494":{"position":[[535,5]]},"533":{"position":[[160,5]]},"551":{"position":[[238,5]]},"559":{"position":[[56,5]]},"560":{"position":[[64,5],[388,5]]},"566":{"position":[[58,5]]},"567":{"position":[[995,5]]},"593":{"position":[[160,5]]},"659":{"position":[[529,6],[564,5]]},"681":{"position":[[358,5]]},"711":{"position":[[1347,6]]},"719":{"position":[[369,5]]},"749":{"position":[[3712,5],[4555,5],[11367,5],[17433,6],[21343,6],[23870,5],[24258,5]]},"764":{"position":[[144,5]]},"772":{"position":[[287,5]]},"804":{"position":[[67,5]]},"808":{"position":[[71,5],[328,6]]},"811":{"position":[[160,7]]},"829":{"position":[[2083,5]]},"831":{"position":[[185,6]]},"835":{"position":[[491,5]]},"837":{"position":[[1531,8]]},"841":{"position":[[82,5]]},"875":{"position":[[4933,6]]},"881":{"position":[[68,6]]},"886":{"position":[[1676,5]]},"887":{"position":[[40,6],[514,6]]},"898":{"position":[[4206,6]]},"950":{"position":[[101,5]]},"951":{"position":[[42,7]]},"986":{"position":[[945,5]]},"988":{"position":[[2032,6],[2094,5],[2164,6]]},"995":{"position":[[1280,5]]},"1039":{"position":[[56,6],[75,5],[168,5]]},"1040":{"position":[[88,6],[225,7]]},"1042":{"position":[[96,6]]},"1048":{"position":[[42,5]]},"1049":{"position":[[17,6]]},"1050":{"position":[[29,5]]},"1058":{"position":[[65,6]]},"1077":{"position":[[124,5]]},"1078":{"position":[[468,7]]},"1082":{"position":[[9,6],[132,7]]},"1107":{"position":[[264,5]]},"1109":{"position":[[133,5]]},"1115":{"position":[[116,5],[161,6],[197,5],[274,6],[299,5],[366,5],[434,5]]},"1123":{"position":[[37,5],[483,5]]},"1124":{"position":[[971,5]]},"1132":{"position":[[825,5]]},"1138":{"position":[[529,5]]},"1151":{"position":[[494,5]]},"1164":{"position":[[1174,5]]},"1177":{"position":[[390,6]]},"1178":{"position":[[493,5]]},"1206":{"position":[[246,5]]},"1222":{"position":[[746,6],[775,5],[824,5]]},"1226":{"position":[[312,5]]},"1246":{"position":[[1869,5]]},"1247":{"position":[[568,5]]},"1264":{"position":[[228,5]]},"1284":{"position":[[322,7]]},"1294":{"position":[[1295,7]]},"1296":{"position":[[1502,6],[1783,6]]},"1320":{"position":[[779,5]]}},"keywords":{}}],["valuabl",{"_index":899,"title":{},"content":{"64":{"position":[[170,8]]},"65":{"position":[[1981,8]]},"148":{"position":[[461,8]]},"267":{"position":[[912,8]]},"276":{"position":[[190,8]]},"370":{"position":[[280,8]]},"441":{"position":[[66,8]]},"526":{"position":[[228,8]]},"802":{"position":[[423,8]]}},"keywords":{}}],["value."",{"_index":4015,"title":{},"content":{"714":{"position":[[659,12]]}},"keywords":{}}],["value={usernam",{"_index":3396,"title":{},"content":{"559":{"position":[[610,16]]}},"keywords":{}}],["valueth",{"_index":5807,"title":{},"content":{"1074":{"position":[[401,8]]}},"keywords":{}}],["var",{"_index":3855,"title":{},"content":{"674":{"position":[[275,3]]},"1039":{"position":[[184,3]]},"1040":{"position":[[174,3],[233,3]]}},"keywords":{}}],["var/run/docker.sock:/var/run/docker.sock",{"_index":4895,"title":{},"content":{"861":{"position":[[577,41]]}},"keywords":{}}],["vari",{"_index":1705,"title":{},"content":{"298":{"position":[[144,4]]},"393":{"position":[[540,4]]},"461":{"position":[[654,6],[875,7]]},"696":{"position":[[1279,5]]},"841":{"position":[[980,6]]}},"keywords":{}}],["variabl",{"_index":1254,"title":{"729":{"position":[[20,9]]},"1202":{"position":[[20,9]]}},"content":{"188":{"position":[[1013,8]]},"299":{"position":[[615,10]]},"402":{"position":[[806,9],[861,9]]},"440":{"position":[[320,9]]},"674":{"position":[[109,8]]},"729":{"position":[[214,8]]},"817":{"position":[[60,10]]},"886":{"position":[[214,9],[811,10],[2458,9],[2535,9],[3698,10]]},"910":{"position":[[45,8]]},"1202":{"position":[[253,8]]},"1267":{"position":[[297,8]]}},"keywords":{}}],["variant",{"_index":3721,"title":{},"content":{"643":{"position":[[142,7]]}},"keywords":{}}],["varieti",{"_index":671,"title":{},"content":{"43":{"position":[[279,7]]},"179":{"position":[[176,7]]},"381":{"position":[[98,7]]},"613":{"position":[[169,7]]}},"keywords":{}}],["variou",{"_index":554,"title":{"72":{"position":[[27,7]]},"112":{"position":[[27,7]]},"492":{"position":[[17,7]]}},"content":{"35":{"position":[[270,7]]},"39":{"position":[[627,7]]},"60":{"position":[[39,7]]},"67":{"position":[[132,7]]},"72":{"position":[[131,7]]},"82":{"position":[[61,7]]},"113":{"position":[[95,7]]},"146":{"position":[[15,7]]},"162":{"position":[[15,7]]},"165":{"position":[[172,7]]},"174":{"position":[[2674,7],[3011,7]]},"192":{"position":[[145,7]]},"238":{"position":[[86,7]]},"267":{"position":[[45,7]]},"269":{"position":[[263,7]]},"280":{"position":[[494,7]]},"286":{"position":[[33,7]]},"288":{"position":[[167,7]]},"365":{"position":[[800,7]]},"368":{"position":[[114,7]]},"390":{"position":[[1174,7]]},"393":{"position":[[114,7]]},"396":{"position":[[1,7]]},"401":{"position":[[74,7]]},"420":{"position":[[1416,7]]},"441":{"position":[[577,7]]},"444":{"position":[[340,7]]},"469":{"position":[[1323,7]]},"479":{"position":[[218,7]]},"481":{"position":[[252,7]]},"483":{"position":[[267,7]]},"500":{"position":[[754,7]]},"502":{"position":[[1329,7]]},"504":{"position":[[42,7]]},"525":{"position":[[523,7]]},"543":{"position":[[226,7]]},"547":{"position":[[39,7]]},"565":{"position":[[100,7]]},"603":{"position":[[224,7]]},"607":{"position":[[39,7]]},"620":{"position":[[203,7]]},"736":{"position":[[94,7]]},"860":{"position":[[1010,7]]},"1072":{"position":[[1675,7]]},"1102":{"position":[[27,7]]},"1209":{"position":[[381,7]]},"1249":{"position":[[247,7]]},"1272":{"position":[[270,7]]}},"keywords":{}}],["vary.synchron",{"_index":6097,"title":{},"content":{"1157":{"position":[[199,16]]}},"keywords":{}}],["vd1",{"_index":4410,"title":{},"content":{"749":{"position":[[22026,3]]}},"keywords":{}}],["vd2",{"_index":4412,"title":{},"content":{"749":{"position":[[22146,3]]}},"keywords":{}}],["vector",{"_index":1501,"title":{"389":{"position":[[6,6]]},"390":{"position":[[10,6]]},"393":{"position":[[10,7]]},"394":{"position":[[14,6]]},"396":{"position":[[0,6]]},"398":{"position":[[14,6]]},"404":{"position":[[44,6]]}},"content":{"244":{"position":[[808,6]]},"252":{"position":[[275,6]]},"390":{"position":[[3,6],[117,8],[375,6],[495,7],[753,6],[834,7],[862,6],[1133,6],[1380,6],[1651,6],[1825,6],[1912,6]]},"391":{"position":[[43,6],[953,6]]},"392":{"position":[[1140,6],[1517,7],[2064,6],[2592,6]]},"393":{"position":[[91,7],[196,8],[498,8],[762,7],[887,6],[1151,7]]},"394":{"position":[[71,6]]},"395":{"position":[[381,6]]},"396":{"position":[[42,7],[1064,8],[1106,6],[1164,7]]},"397":{"position":[[1516,8],[1724,7]]},"398":{"position":[[527,7],[1892,6],[3475,6],[3523,6]]},"400":{"position":[[786,6]]},"401":{"position":[[168,6],[651,6]]},"402":{"position":[[78,6],[263,7],[676,7],[721,7],[2513,6]]},"403":{"position":[[753,8]]},"404":{"position":[[13,6]]},"408":{"position":[[3660,6]]},"412":{"position":[[10876,6]]},"689":{"position":[[184,8]]},"793":{"position":[[1178,6]]}},"keywords":{}}],["vector'",{"_index":2208,"title":{},"content":{"390":{"position":[[1588,8]]}},"keywords":{}}],["vector.j",{"_index":2257,"title":{},"content":{"392":{"position":[[3531,14]]}},"keywords":{}}],["vectorcollect",{"_index":2237,"title":{},"content":{"392":{"position":[[1739,16],[2716,17],[4622,17]]}},"keywords":{}}],["vectorcollection.find",{"_index":2402,"title":{},"content":{"398":{"position":[[1024,23],[1186,23],[2324,23]]}},"keywords":{}}],["vectorcollection.find().exec",{"_index":2312,"title":{},"content":{"394":{"position":[[709,31]]}},"keywords":{}}],["vectorcollection.upsert",{"_index":2248,"title":{},"content":{"392":{"position":[[2884,25]]}},"keywords":{}}],["vectorcollection.upsert(docdata",{"_index":2388,"title":{},"content":{"397":{"position":[[2211,33]]}},"keywords":{}}],["vectorsearchindexrange(searchembed",{"_index":2416,"title":{},"content":{"398":{"position":[[1940,39]]}},"keywords":{}}],["vectorsearchindexsimilarity(searchembed",{"_index":2391,"title":{},"content":{"398":{"position":[[694,44]]}},"keywords":{}}],["vendor",{"_index":236,"title":{},"content":{"14":{"position":[[1065,6]]},"202":{"position":[[397,6]]},"212":{"position":[[369,6]]},"249":{"position":[[333,6]]},"262":{"position":[[485,6],[564,6]]},"381":{"position":[[566,6]]},"412":{"position":[[1372,7],[1606,6],[2492,6]]},"839":{"position":[[1307,6]]},"840":{"position":[[497,6]]},"841":{"position":[[1574,6]]},"1112":{"position":[[311,7]]},"1124":{"position":[[114,6]]}},"keywords":{}}],["verbos",{"_index":2082,"title":{},"content":{"361":{"position":[[262,7]]},"566":{"position":[[318,8]]},"639":{"position":[[126,7]]}},"keywords":{}}],["veri",{"_index":484,"title":{},"content":{"29":{"position":[[440,4]]},"58":{"position":[[172,4]]},"305":{"position":[[574,4]]},"408":{"position":[[245,4],[1297,4]]},"412":{"position":[[15190,4]]},"415":{"position":[[132,4]]},"417":{"position":[[151,4]]},"468":{"position":[[639,4]]},"497":{"position":[[620,4]]},"570":{"position":[[117,4]]},"611":{"position":[[1145,4]]},"613":{"position":[[956,4]]},"721":{"position":[[153,4]]},"752":{"position":[[573,4]]},"797":{"position":[[155,4]]},"798":{"position":[[48,4],[211,4]]},"800":{"position":[[472,4],[477,4]]},"821":{"position":[[531,4]]},"836":{"position":[[1113,4]]},"948":{"position":[[65,4]]},"966":{"position":[[103,4]]},"981":{"position":[[537,4]]},"987":{"position":[[880,4]]},"1009":{"position":[[885,4]]},"1071":{"position":[[321,4]]},"1192":{"position":[[393,4]]},"1195":{"position":[[60,4]]},"1236":{"position":[[32,4]]},"1321":{"position":[[484,4]]}},"keywords":{}}],["verif",{"_index":6463,"title":{},"content":{"1297":{"position":[[370,13]]}},"keywords":{}}],["versatil",{"_index":962,"title":{},"content":{"72":{"position":[[104,9]]},"365":{"position":[[786,9]]},"368":{"position":[[13,9]]},"384":{"position":[[357,11]]},"445":{"position":[[2282,11]]},"447":{"position":[[522,11]]},"500":{"position":[[317,9]]},"1132":{"position":[[449,9]]}},"keywords":{}}],["version",{"_index":271,"title":{"382":{"position":[[22,11]]},"760":{"position":[[35,8]]},"761":{"position":[[8,7]]},"1076":{"position":[[0,8]]},"1145":{"position":[[62,8]]}},"content":{"16":{"position":[[105,7]]},"24":{"position":[[601,7]]},"28":{"position":[[796,7]]},"51":{"position":[[298,8]]},"188":{"position":[[1220,8]]},"209":{"position":[[425,8]]},"211":{"position":[[387,8]]},"250":{"position":[[255,9]]},"255":{"position":[[769,8]]},"259":{"position":[[69,8]]},"267":{"position":[[816,7]]},"295":{"position":[[278,7]]},"299":{"position":[[473,8],[722,8],[939,8],[1234,8],[1548,9]]},"314":{"position":[[735,8]]},"315":{"position":[[65,8],[711,8]]},"316":{"position":[[176,8]]},"334":{"position":[[621,8]]},"367":{"position":[[713,8]]},"382":{"position":[[284,10]]},"391":{"position":[[1013,8]]},"392":{"position":[[571,8],[1537,8]]},"403":{"position":[[336,7],[439,7],[538,7]]},"408":{"position":[[562,8]]},"412":{"position":[[3479,8],[11520,8],[11643,8]]},"450":{"position":[[753,10]]},"452":{"position":[[443,7],[633,7]]},"455":{"position":[[542,7],[560,8],[928,8]]},"457":{"position":[[309,7]]},"460":{"position":[[1112,7]]},"461":{"position":[[900,9]]},"462":{"position":[[345,8]]},"480":{"position":[[535,8]]},"482":{"position":[[835,8]]},"495":{"position":[[630,10]]},"496":{"position":[[607,7],[744,8]]},"538":{"position":[[599,8]]},"554":{"position":[[1326,8]]},"562":{"position":[[307,8]]},"563":{"position":[[753,7]]},"564":{"position":[[764,8]]},"579":{"position":[[629,8]]},"598":{"position":[[606,8]]},"632":{"position":[[1519,8]]},"636":{"position":[[176,7]]},"638":{"position":[[603,8]]},"639":{"position":[[359,8]]},"661":{"position":[[1244,8]]},"662":{"position":[[2382,8]]},"666":{"position":[[98,7]]},"680":{"position":[[811,8]]},"688":{"position":[[437,7]]},"689":{"position":[[176,7]]},"691":{"position":[[539,8]]},"696":{"position":[[1896,8]]},"698":{"position":[[200,8],[283,7],[483,8],[1226,8],[1281,8]]},"711":{"position":[[876,8]]},"717":{"position":[[1420,8]]},"720":{"position":[[137,8]]},"730":{"position":[[238,8]]},"734":{"position":[[685,8]]},"749":{"position":[[9241,7],[10983,7],[11121,7],[12607,8],[17815,7],[23212,7],[23338,7],[23470,7],[23660,8]]},"751":{"position":[[91,7],[233,7],[591,7],[604,7],[1002,7],[1015,7],[1137,9],[1693,7],[1706,7]]},"754":{"position":[[378,8]]},"756":{"position":[[471,9]]},"757":{"position":[[321,9]]},"760":{"position":[[39,8],[444,7]]},"761":{"position":[[116,7],[236,8],[288,7]]},"773":{"position":[[716,9]]},"786":{"position":[[113,7]]},"808":{"position":[[176,8],[532,8]]},"812":{"position":[[75,8]]},"813":{"position":[[75,8]]},"838":{"position":[[2596,8]]},"844":{"position":[[248,8]]},"861":{"position":[[359,7]]},"862":{"position":[[651,8]]},"872":{"position":[[1860,8],[4090,8]]},"876":{"position":[[426,7],[484,7],[622,8]]},"878":{"position":[[467,7]]},"879":{"position":[[130,7],[200,7],[363,8]]},"898":{"position":[[2440,8]]},"904":{"position":[[858,8]]},"916":{"position":[[144,8]]},"932":{"position":[[1196,8]]},"938":{"position":[[112,8]]},"954":{"position":[[59,9]]},"958":{"position":[[532,7]]},"965":{"position":[[406,8]]},"1044":{"position":[[42,7]]},"1074":{"position":[[86,7]]},"1076":{"position":[[5,7],[58,7]]},"1078":{"position":[[199,8]]},"1080":{"position":[[29,8]]},"1082":{"position":[[172,8]]},"1083":{"position":[[372,8]]},"1085":{"position":[[3313,7]]},"1097":{"position":[[522,8]]},"1100":{"position":[[582,7],[854,7],[897,8]]},"1133":{"position":[[289,7],[373,7]]},"1134":{"position":[[217,7],[328,9],[371,8]]},"1149":{"position":[[1049,8]]},"1158":{"position":[[359,8]]},"1162":{"position":[[1002,7],[1051,7]]},"1198":{"position":[[1148,7],[2175,7]]},"1270":{"position":[[345,7]]},"1271":{"position":[[15,8],[77,7],[271,7],[565,7],[1058,7],[1744,8]]},"1275":{"position":[[14,7]]},"1278":{"position":[[93,7],[131,7],[186,8],[645,9]]},"1282":{"position":[[384,7],[596,7],[741,8]]},"1292":{"position":[[107,7]]},"1305":{"position":[[414,7]]},"1311":{"position":[[357,8]]},"1315":{"position":[[772,7]]},"1319":{"position":[[261,7],[341,8]]}},"keywords":{}}],["versions—ensur",{"_index":1312,"title":{},"content":{"203":{"position":[[270,17]]}},"keywords":{}}],["vertic",{"_index":4571,"title":{"1087":{"position":[[0,8]]}},"content":{"772":{"position":[[1408,11]]},"1087":{"position":[[1,8],[141,8]]},"1088":{"position":[[74,10]]}},"keywords":{}}],["vf",{"_index":2973,"title":{},"content":{"454":{"position":[[980,3]]},"463":{"position":[[1243,3]]}},"keywords":{}}],["via",{"_index":319,"title":{"810":{"position":[[0,3]]},"811":{"position":[[0,3]]}},"content":{"19":{"position":[[147,3],[257,3]]},"33":{"position":[[602,3]]},"39":{"position":[[683,3]]},"49":{"position":[[52,3]]},"55":{"position":[[73,3]]},"174":{"position":[[2742,4]]},"188":{"position":[[600,3]]},"250":{"position":[[213,3]]},"289":{"position":[[1600,3]]},"303":{"position":[[220,3]]},"333":{"position":[[25,3],[253,3]]},"336":{"position":[[449,3]]},"357":{"position":[[615,3]]},"381":{"position":[[138,3]]},"411":{"position":[[4412,3],[5086,3]]},"412":{"position":[[2355,3],[3510,3],[7718,4],[8097,3]]},"464":{"position":[[677,3]]},"466":{"position":[[333,3]]},"469":{"position":[[1184,3]]},"504":{"position":[[1276,3]]},"535":{"position":[[1157,3]]},"562":{"position":[[807,3]]},"563":{"position":[[35,3],[157,3]]},"566":{"position":[[565,3]]},"574":{"position":[[647,3]]},"578":{"position":[[54,3]]},"595":{"position":[[1234,3]]},"640":{"position":[[302,3]]},"662":{"position":[[1251,3]]},"680":{"position":[[70,3],[161,3]]},"687":{"position":[[84,3]]},"710":{"position":[[1445,3]]},"743":{"position":[[36,3]]},"749":{"position":[[19162,3]]},"828":{"position":[[47,3]]},"829":{"position":[[997,3]]},"832":{"position":[[194,3]]},"836":{"position":[[501,3]]},"837":{"position":[[1317,3]]},"838":{"position":[[639,3],[1782,3]]},"846":{"position":[[23,3]]},"854":{"position":[[1462,3]]},"863":{"position":[[818,3]]},"870":{"position":[[133,3]]},"890":{"position":[[679,4]]},"896":{"position":[[231,3]]},"903":{"position":[[452,3]]},"911":{"position":[[394,3]]},"984":{"position":[[253,3]]},"985":{"position":[[88,3],[394,3],[679,3]]},"986":{"position":[[1257,3]]},"988":{"position":[[1017,3]]},"1018":{"position":[[430,3]]},"1101":{"position":[[94,3]]},"1102":{"position":[[100,3],[1210,3]]},"1123":{"position":[[122,3]]},"1133":{"position":[[146,3]]},"1150":{"position":[[418,3]]},"1177":{"position":[[208,3]]},"1204":{"position":[[209,3]]},"1276":{"position":[[186,3]]},"1294":{"position":[[2097,3]]}},"keywords":{}}],["viabl",{"_index":2541,"title":{},"content":{"408":{"position":[[1463,6]]},"429":{"position":[[452,6]]},"624":{"position":[[1303,6]]},"698":{"position":[[930,6]]},"708":{"position":[[402,6]]},"1270":{"position":[[466,6]]},"1305":{"position":[[219,6]]}},"keywords":{}}],["video",{"_index":1823,"title":{},"content":{"303":{"position":[[186,7]]},"390":{"position":[[940,7]]},"408":{"position":[[3057,5]]},"614":{"position":[[342,6]]},"861":{"position":[[1160,6]]},"901":{"position":[[128,6]]}},"keywords":{}}],["view",{"_index":915,"title":{},"content":{"65":{"position":[[644,4]]},"412":{"position":[[12701,4]]},"469":{"position":[[1381,4]]},"489":{"position":[[726,5]]},"660":{"position":[[35,5]]},"829":{"position":[[2881,6],[3006,5]]},"1284":{"position":[[330,4]]},"1316":{"position":[[3655,5]]}},"keywords":{}}],["violat",{"_index":3950,"title":{},"content":{"699":{"position":[[985,8]]}},"keywords":{}}],["virtual",{"_index":489,"title":{},"content":{"30":{"position":[[68,7]]},"408":{"position":[[1933,7]]},"454":{"position":[[984,8]]},"463":{"position":[[507,7]]},"491":{"position":[[192,9]]},"617":{"position":[[1362,9]]},"1206":{"position":[[157,7]]},"1211":{"position":[[213,7]]}},"keywords":{}}],["visibl",{"_index":5544,"title":{},"content":{"1003":{"position":[[60,8],[276,7]]},"1215":{"position":[[595,7]]}},"keywords":{}}],["visit",{"_index":995,"title":{},"content":{"84":{"position":[[139,5]]},"114":{"position":[[152,5]]},"149":{"position":[[152,5]]},"175":{"position":[[145,5]]},"347":{"position":[[152,5]]},"362":{"position":[[1223,5]]},"511":{"position":[[152,5]]},"531":{"position":[[152,5]]},"591":{"position":[[152,5]]},"702":{"position":[[837,7]]}},"keywords":{}}],["visitor",{"_index":3641,"title":{},"content":{"617":{"position":[[976,8]]},"736":{"position":[[73,8]]}},"keywords":{}}],["visual",{"_index":1232,"title":{},"content":{"177":{"position":[[293,8]]},"267":{"position":[[1083,14]]},"446":{"position":[[967,13]]},"495":{"position":[[447,6]]},"571":{"position":[[1703,14]]}},"keywords":{}}],["vital",{"_index":1063,"title":{},"content":{"117":{"position":[[18,5]]},"178":{"position":[[18,5]]},"447":{"position":[[25,5]]},"912":{"position":[[531,5]]}},"keywords":{}}],["vite",{"_index":5213,"title":{},"content":{"898":{"position":[[2937,4]]}},"keywords":{}}],["void",{"_index":4129,"title":{},"content":{"747":{"position":[[219,5],[277,5],[344,4]]}},"keywords":{}}],["volum",{"_index":1050,"title":{},"content":{"111":{"position":[[202,8]]},"267":{"position":[[981,7]]},"287":{"position":[[780,7]]},"294":{"position":[[323,7]]},"369":{"position":[[691,7]]},"441":{"position":[[370,6]]},"487":{"position":[[232,6]]},"508":{"position":[[168,8]]},"861":{"position":[[570,6],[623,6]]},"1132":{"position":[[1237,7]]}},"keywords":{}}],["volumes.seamless",{"_index":1208,"title":{},"content":{"173":{"position":[[2144,16]]}},"keywords":{}}],["voxel",{"_index":5554,"title":{},"content":{"1006":{"position":[[42,5]]},"1007":{"position":[[257,7],[536,6],[1325,7]]},"1009":{"position":[[10,5]]}},"keywords":{}}],["vs",{"_index":670,"title":{"68":{"position":[[16,3]]},"99":{"position":[[16,3]]},"126":{"position":[[5,3]]},"161":{"position":[[5,3]]},"186":{"position":[[5,3]]},"226":{"position":[[16,3]]},"317":{"position":[[5,3]]},"331":{"position":[[5,3]]},"358":{"position":[[5,3]]},"413":{"position":[[12,3]]},"419":{"position":[[14,3]]},"432":{"position":[[13,2]]},"434":{"position":[[13,2]]},"435":{"position":[[13,2]]},"436":{"position":[[13,2]]},"448":{"position":[[13,3],[27,3],[39,3],[48,3]]},"520":{"position":[[5,3]]},"560":{"position":[[21,3]]},"566":{"position":[[23,2],[36,2]]},"576":{"position":[[5,3]]},"609":{"position":[[11,2],[33,2],[49,2],[59,2]]},"1143":{"position":[[9,2]]},"1192":{"position":[[11,2]]}},"content":{"43":{"position":[[192,2]]},"243":{"position":[[992,2]]},"244":{"position":[[504,2],[700,2],[1191,2],[1389,2]]},"432":{"position":[[1312,2]]},"793":{"position":[[1349,3],[1363,3],[1375,3],[1384,3]]},"1072":{"position":[[951,3]]}},"keywords":{}}],["vue",{"_index":2002,"title":{"573":{"position":[[24,3]]},"574":{"position":[[4,3]]},"576":{"position":[[15,3]]},"580":{"position":[[0,3]]},"590":{"position":[[33,4]]},"592":{"position":[[22,3]]},"594":{"position":[[21,4]]},"596":{"position":[[15,4]]},"601":{"position":[[28,3]]},"602":{"position":[[6,3]]},"603":{"position":[[0,3]]}},"content":{"352":{"position":[[253,4]]},"574":{"position":[[1,3],[151,3]]},"576":{"position":[[433,3]]},"577":{"position":[[57,3]]},"579":{"position":[[13,3],[83,3],[937,5]]},"580":{"position":[[44,3],[149,3],[219,4],[238,3],[330,6]]},"581":{"position":[[663,3]]},"582":{"position":[[77,3]]},"584":{"position":[[1,3]]},"585":{"position":[[222,3]]},"589":{"position":[[42,3]]},"590":{"position":[[67,3]]},"591":{"position":[[458,4],[514,3],[558,3],[578,3],[621,3],[664,3]]},"594":{"position":[[15,3]]},"595":{"position":[[839,3]]},"596":{"position":[[22,3]]},"598":{"position":[[248,3]]},"600":{"position":[[138,3]]},"601":{"position":[[24,3],[408,6]]},"602":{"position":[[316,3]]},"603":{"position":[[48,3]]},"608":{"position":[[244,3]]},"825":{"position":[[15,3]]}},"keywords":{}}],["vue'",{"_index":3482,"title":{},"content":{"574":{"position":[[918,5]]},"590":{"position":[[229,5],[435,5]]},"602":{"position":[[21,5]]}},"keywords":{}}],["vue.j",{"_index":258,"title":{"286":{"position":[[42,8]]}},"content":{"15":{"position":[[328,6]]},"94":{"position":[[119,7]]},"173":{"position":[[2317,7]]},"222":{"position":[[136,7]]},"286":{"position":[[202,7]]},"749":{"position":[[12038,6]]}},"keywords":{}}],["vuex",{"_index":3486,"title":{},"content":{"576":{"position":[[162,4]]}},"keywords":{}}],["vuex/pinia",{"_index":3480,"title":{},"content":{"574":{"position":[[626,10]]}},"keywords":{}}],["vulner",{"_index":2759,"title":{},"content":{"412":{"position":[[13168,10]]}},"keywords":{}}],["w",{"_index":3997,"title":{},"content":{"711":{"position":[[1017,1]]},"841":{"position":[[1012,2]]}},"keywords":{}}],["wa",{"_index":6339,"title":{},"content":{"1276":{"position":[[32,2],[84,2],[587,3],[750,3],[807,3]]}},"keywords":{}}],["wait",{"_index":147,"title":{},"content":{"11":{"position":[[240,4],[335,5],[717,4]]},"93":{"position":[[84,7]]},"408":{"position":[[2878,7]]},"410":{"position":[[249,7]]},"421":{"position":[[408,4],[675,4]]},"474":{"position":[[239,4]]},"630":{"position":[[617,4]]},"634":{"position":[[231,4]]},"696":{"position":[[356,4]]},"702":{"position":[[317,4]]},"898":{"position":[[4043,4]]},"948":{"position":[[687,4]]},"988":{"position":[[1295,4],[1558,4]]},"1033":{"position":[[710,6]]},"1175":{"position":[[492,4]]},"1298":{"position":[[108,7]]},"1304":{"position":[[844,5]]}},"keywords":{}}],["waitbeforepersist",{"_index":6116,"title":{},"content":{"1164":{"position":[[1501,18]]}},"keywords":{}}],["waitforleadership",{"_index":3759,"title":{"974":{"position":[[0,20]]}},"content":{"653":{"position":[[1463,18]]},"886":{"position":[[2008,17]]},"988":{"position":[[1260,17],[1343,17],[1444,18]]},"989":{"position":[[143,18]]},"995":{"position":[[212,18],[847,18]]}},"keywords":{}}],["wal",{"_index":6069,"title":{},"content":{"1143":{"position":[[527,3]]}},"keywords":{}}],["walk",{"_index":3210,"title":{},"content":{"498":{"position":[[163,4]]}},"keywords":{}}],["want",{"_index":14,"title":{"86":{"position":[[14,4]]},"214":{"position":[[14,4]]}},"content":{"1":{"position":[[217,4],[264,4]]},"260":{"position":[[163,4],[265,4]]},"262":{"position":[[5,4],[477,4]]},"372":{"position":[[26,4]]},"392":{"position":[[2247,4]]},"410":{"position":[[1614,4]]},"412":{"position":[[5367,4],[10902,4]]},"420":{"position":[[1197,4]]},"421":{"position":[[70,6]]},"453":{"position":[[190,4],[553,4]]},"457":{"position":[[58,4]]},"459":{"position":[[407,4]]},"460":{"position":[[47,4],[1359,4]]},"496":{"position":[[420,4]]},"535":{"position":[[357,4]]},"556":{"position":[[1854,4]]},"561":{"position":[[69,4]]},"564":{"position":[[101,4]]},"567":{"position":[[792,4]]},"595":{"position":[[368,4]]},"655":{"position":[[51,4]]},"661":{"position":[[1690,4],[1737,4]]},"667":{"position":[[134,4]]},"676":{"position":[[203,4]]},"681":{"position":[[307,4]]},"690":{"position":[[52,4],[405,4]]},"696":{"position":[[400,4],[540,4]]},"701":{"position":[[555,4],[965,4]]},"702":{"position":[[48,4],[84,4]]},"704":{"position":[[124,4]]},"705":{"position":[[253,4]]},"707":{"position":[[479,4]]},"710":{"position":[[944,4],[2502,4]]},"711":{"position":[[568,4],[2132,4]]},"749":{"position":[[7210,4],[14452,4]]},"752":{"position":[[1325,4]]},"753":{"position":[[169,4]]},"759":{"position":[[14,4]]},"766":{"position":[[135,4]]},"772":{"position":[[1815,4]]},"773":{"position":[[759,4]]},"774":{"position":[[8,4]]},"775":{"position":[[550,4]]},"776":{"position":[[232,4]]},"797":{"position":[[181,4]]},"799":{"position":[[84,4]]},"805":{"position":[[92,4]]},"806":{"position":[[213,4]]},"836":{"position":[[1039,4],[2462,4]]},"837":{"position":[[875,4]]},"838":{"position":[[1606,4],[3230,4]]},"839":{"position":[[469,4],[1287,4]]},"861":{"position":[[2441,4]]},"875":{"position":[[4963,4]]},"876":{"position":[[239,4]]},"879":{"position":[[567,4]]},"893":{"position":[[69,4]]},"904":{"position":[[2022,4]]},"906":{"position":[[618,4]]},"913":{"position":[[305,4]]},"945":{"position":[[10,4]]},"963":{"position":[[18,4]]},"966":{"position":[[266,4]]},"977":{"position":[[244,4]]},"988":{"position":[[2327,4],[3429,4]]},"995":{"position":[[579,4],[1323,4]]},"1006":{"position":[[213,4]]},"1013":{"position":[[181,4],[632,4]]},"1022":{"position":[[15,4],[80,4]]},"1048":{"position":[[15,4],[150,4]]},"1067":{"position":[[1641,4]]},"1068":{"position":[[154,7],[375,4]]},"1080":{"position":[[1076,4]]},"1100":{"position":[[916,4]]},"1112":{"position":[[198,4]]},"1147":{"position":[[432,4]]},"1149":{"position":[[298,4]]},"1151":{"position":[[4,4],[754,4]]},"1172":{"position":[[128,4]]},"1178":{"position":[[4,4],[753,4]]},"1185":{"position":[[191,4]]},"1210":{"position":[[563,4]]},"1212":{"position":[[10,4]]},"1213":{"position":[[451,4]]},"1226":{"position":[[413,4]]},"1230":{"position":[[96,4]]},"1249":{"position":[[47,4]]},"1252":{"position":[[131,4]]},"1264":{"position":[[323,4]]},"1271":{"position":[[887,4]]},"1282":{"position":[[176,4]]},"1287":{"position":[[92,6]]},"1294":{"position":[[265,4]]},"1309":{"position":[[1099,4]]},"1314":{"position":[[10,4]]},"1315":{"position":[[18,4],[285,4]]},"1316":{"position":[[98,4],[1338,5],[3571,4]]},"1318":{"position":[[483,4]]},"1320":{"position":[[241,4],[430,4]]},"1321":{"position":[[142,4]]},"1322":{"position":[[51,4]]}},"keywords":{}}],["warn",{"_index":1090,"title":{"675":{"position":[[21,8]]}},"content":{"129":{"position":[[514,7]]},"299":{"position":[[1071,8]]},"675":{"position":[[165,7]]},"917":{"position":[[386,7]]},"995":{"position":[[175,7],[432,7]]},"1288":{"position":[[1,8]]}},"keywords":{}}],["wasm",{"_index":672,"title":{"448":{"position":[[52,4]]},"454":{"position":[[8,4]]}},"content":{"43":{"position":[[399,4]]},"404":{"position":[[399,4]]},"408":{"position":[[3483,7],[3775,4],[3879,4],[4112,4]]},"454":{"position":[[15,6],[97,4],[342,4],[769,4],[878,4]]},"457":{"position":[[262,4]]},"459":{"position":[[252,4]]},"463":{"position":[[383,4],[415,4],[721,4],[746,4],[1151,4]]},"464":{"position":[[371,4],[397,4],[634,4]]},"465":{"position":[[232,4],[258,4]]},"466":{"position":[[195,4],[221,4],[501,4]]},"467":{"position":[[170,4],[196,4],[457,4]]},"468":{"position":[[438,4]]},"524":{"position":[[813,4]]},"793":{"position":[[1388,4]]},"1137":{"position":[[108,4]]},"1276":{"position":[[307,4]]},"1299":{"position":[[586,4]]}},"keywords":{}}],["wast",{"_index":3835,"title":{},"content":{"668":{"position":[[318,5]]},"736":{"position":[[439,5],[488,6]]}},"keywords":{}}],["watch",{"_index":1579,"title":{},"content":{"255":{"position":[[1572,8]]},"411":{"position":[[3177,8]]},"705":{"position":[[1096,5]]},"1058":{"position":[[547,8]]},"1124":{"position":[[951,5]]}},"keywords":{}}],["watcher",{"_index":3522,"title":{},"content":{"590":{"position":[[274,9]]}},"keywords":{}}],["watermelondb",{"_index":283,"title":{"17":{"position":[[0,13]]}},"content":{"17":{"position":[[3,12],[191,12],[277,12],[358,13],[386,12],[459,12]]},"1316":{"position":[[3448,12],[3502,13]]},"1324":{"position":[[553,12]]}},"keywords":{}}],["way",{"_index":894,"title":{},"content":{"63":{"position":[[35,3]]},"73":{"position":[[111,3]]},"117":{"position":[[93,3]]},"130":{"position":[[56,3]]},"131":{"position":[[683,3]]},"192":{"position":[[193,3],[214,3]]},"250":{"position":[[153,5]]},"270":{"position":[[249,3]]},"285":{"position":[[309,3]]},"289":{"position":[[533,3]]},"298":{"position":[[17,3]]},"301":{"position":[[10,3]]},"306":{"position":[[143,3]]},"340":{"position":[[35,5]]},"395":{"position":[[68,3]]},"396":{"position":[[924,3],[1809,4]]},"397":{"position":[[13,3]]},"398":{"position":[[387,4]]},"402":{"position":[[888,4],[1738,4]]},"409":{"position":[[189,3]]},"412":{"position":[[14023,3]]},"418":{"position":[[846,3]]},"421":{"position":[[208,4]]},"424":{"position":[[398,3]]},"441":{"position":[[655,3]]},"455":{"position":[[160,3]]},"458":{"position":[[497,3],[576,3]]},"468":{"position":[[304,3]]},"469":{"position":[[834,3]]},"470":{"position":[[181,3]]},"525":{"position":[[571,3],[592,3]]},"551":{"position":[[32,4]]},"557":{"position":[[81,3]]},"612":{"position":[[45,3],[154,3]]},"619":{"position":[[300,3]]},"624":{"position":[[683,3]]},"655":{"position":[[110,3]]},"662":{"position":[[270,3]]},"686":{"position":[[203,3]]},"688":{"position":[[95,3],[310,3]]},"693":{"position":[[265,4]]},"696":{"position":[[1691,3],[1927,3]]},"697":{"position":[[368,3],[613,4]]},"698":{"position":[[246,3],[1904,3]]},"700":{"position":[[557,3]]},"701":{"position":[[316,3]]},"705":{"position":[[1299,3]]},"708":{"position":[[409,3],[478,3]]},"709":{"position":[[366,4],[885,4]]},"711":{"position":[[2273,3]]},"714":{"position":[[717,3]]},"736":{"position":[[276,3]]},"770":{"position":[[158,3]]},"773":{"position":[[20,3]]},"783":{"position":[[243,3]]},"784":{"position":[[382,3]]},"829":{"position":[[195,3]]},"830":{"position":[[62,3]]},"836":{"position":[[1397,3]]},"837":{"position":[[157,3]]},"838":{"position":[[299,3],[1175,4]]},"842":{"position":[[8,3]]},"860":{"position":[[1186,3]]},"861":{"position":[[156,3]]},"865":{"position":[[135,3]]},"870":{"position":[[5,3]]},"872":{"position":[[2191,3]]},"875":{"position":[[7096,3]]},"876":{"position":[[517,4]]},"896":{"position":[[112,3]]},"898":{"position":[[626,3]]},"951":{"position":[[61,3]]},"981":{"position":[[204,3]]},"988":{"position":[[4972,3]]},"1022":{"position":[[279,3]]},"1085":{"position":[[1068,3]]},"1089":{"position":[[9,3]]},"1090":{"position":[[9,3]]},"1092":{"position":[[17,3]]},"1093":{"position":[[345,4]]},"1124":{"position":[[944,3]]},"1140":{"position":[[36,3]]},"1143":{"position":[[201,3]]},"1152":{"position":[[105,3]]},"1157":{"position":[[35,3],[526,3]]},"1177":{"position":[[182,3]]},"1204":{"position":[[183,3]]},"1211":{"position":[[195,3]]},"1213":{"position":[[192,3]]},"1247":{"position":[[317,3],[490,3],[677,3]]},"1266":{"position":[[13,3]]},"1294":{"position":[[662,3]]},"1295":{"position":[[452,3]]},"1301":{"position":[[545,3],[1586,3]]},"1304":{"position":[[707,3]]},"1307":{"position":[[824,3]]},"1316":{"position":[[3488,3]]},"1317":{"position":[[377,3]]}},"keywords":{}}],["we'll",{"_index":2351,"title":{},"content":{"396":{"position":[[1887,5]]},"421":{"position":[[1062,5]]}},"keywords":{}}],["we'v",{"_index":900,"title":{},"content":{"65":{"position":[[10,5]]},"462":{"position":[[10,5]]}},"keywords":{}}],["weak",{"_index":2940,"title":{},"content":{"445":{"position":[[642,4]]}},"keywords":{}}],["weatherdb",{"_index":4093,"title":{},"content":{"739":{"position":[[309,12]]}},"keywords":{}}],["web",{"_index":200,"title":{"116":{"position":[[8,3]]},"150":{"position":[[32,3]]},"151":{"position":[[12,3]]},"320":{"position":[[7,3]]},"499":{"position":[[35,3]]},"500":{"position":[[22,3]]},"503":{"position":[[28,3]]},"718":{"position":[[6,3]]}},"content":{"14":{"position":[[70,3]]},"18":{"position":[[65,3]]},"26":{"position":[[290,3]]},"30":{"position":[[53,4]]},"33":{"position":[[486,4]]},"38":{"position":[[94,3]]},"63":{"position":[[84,3]]},"64":{"position":[[204,3]]},"65":{"position":[[124,3],[248,3],[1401,3],[2062,3]]},"68":{"position":[[152,3]]},"69":{"position":[[110,3]]},"70":{"position":[[153,3]]},"73":{"position":[[148,3]]},"76":{"position":[[102,3]]},"83":{"position":[[230,3],[407,3]]},"112":{"position":[[162,3]]},"116":{"position":[[283,3]]},"139":{"position":[[68,3]]},"148":{"position":[[249,3],[369,3]]},"151":{"position":[[90,3],[147,3]]},"153":{"position":[[99,3]]},"161":{"position":[[40,3],[379,3]]},"170":{"position":[[53,3],[549,3]]},"172":{"position":[[180,3]]},"207":{"position":[[109,3]]},"215":{"position":[[332,3]]},"239":{"position":[[208,3]]},"244":{"position":[[264,3],[1074,3]]},"254":{"position":[[99,3]]},"269":{"position":[[59,3],[189,3],[308,4],[432,3]]},"291":{"position":[[481,3]]},"298":{"position":[[393,3]]},"315":{"position":[[89,3]]},"364":{"position":[[63,3]]},"375":{"position":[[902,3]]},"384":{"position":[[120,3]]},"408":{"position":[[227,3],[305,3],[1278,3],[1434,3],[1665,3],[1752,3],[4728,3],[4931,3]]},"411":{"position":[[4479,3]]},"412":{"position":[[8550,3],[15009,3]]},"419":{"position":[[38,3]]},"421":{"position":[[29,4]]},"424":{"position":[[47,3],[73,3]]},"434":{"position":[[96,3],[412,3]]},"441":{"position":[[24,3]]},"445":{"position":[[130,3]]},"450":{"position":[[624,4]]},"451":{"position":[[162,3]]},"453":{"position":[[75,3]]},"454":{"position":[[92,4]]},"455":{"position":[[14,3]]},"457":{"position":[[26,3]]},"458":{"position":[[34,3]]},"460":{"position":[[999,3]]},"461":{"position":[[289,3]]},"468":{"position":[[663,3]]},"470":{"position":[[39,3]]},"483":{"position":[[1072,3]]},"500":{"position":[[13,3],[40,3],[95,3]]},"501":{"position":[[157,3]]},"503":{"position":[[37,3]]},"510":{"position":[[35,3],[76,3]]},"511":{"position":[[457,3]]},"519":{"position":[[1,3]]},"520":{"position":[[207,3]]},"530":{"position":[[571,3]]},"533":{"position":[[321,3]]},"548":{"position":[[465,3]]},"551":{"position":[[465,3]]},"554":{"position":[[177,3]]},"556":{"position":[[1115,3]]},"567":{"position":[[908,3]]},"569":{"position":[[1038,3]]},"584":{"position":[[233,3]]},"593":{"position":[[321,3]]},"608":{"position":[[463,3]]},"613":{"position":[[94,3]]},"614":{"position":[[8,4],[153,3]]},"624":{"position":[[255,3]]},"640":{"position":[[528,4]]},"642":{"position":[[67,3]]},"660":{"position":[[31,3],[41,3]]},"662":{"position":[[385,3]]},"703":{"position":[[19,3]]},"709":{"position":[[39,3],[102,3],[902,3]]},"717":{"position":[[170,3],[216,3]]},"718":{"position":[[32,3],[196,3]]},"778":{"position":[[13,3]]},"783":{"position":[[197,3]]},"784":{"position":[[11,3]]},"801":{"position":[[83,3]]},"901":{"position":[[19,3]]},"1104":{"position":[[735,3]]},"1184":{"position":[[621,3]]},"1206":{"position":[[83,3]]},"1301":{"position":[[30,3]]},"1302":{"position":[[86,4]]},"1322":{"position":[[8,3]]}},"keywords":{}}],["web.major",{"_index":2977,"title":{},"content":{"455":{"position":[[722,9]]}},"keywords":{}}],["webassembl",{"_index":492,"title":{"1276":{"position":[[11,11]]}},"content":{"30":{"position":[[235,11]]},"228":{"position":[[377,11]]},"336":{"position":[[453,13]]},"357":{"position":[[619,12]]},"391":{"position":[[240,12]]},"408":{"position":[[3435,12],[3471,11],[5053,11]]},"454":{"position":[[3,11],[269,11]]},"463":{"position":[[100,11]]},"470":{"position":[[239,11]]},"524":{"position":[[724,12]]},"581":{"position":[[466,11]]},"1276":{"position":[[67,12],[190,11],[658,11]]}},"keywords":{}}],["webgpu",{"_index":2500,"title":{},"content":{"404":{"position":[[117,6],[289,6],[334,6]]},"408":{"position":[[5236,7]]}},"keywords":{}}],["webkit",{"_index":6241,"title":{},"content":{"1216":{"position":[[1,7]]}},"keywords":{}}],["weblock",{"_index":2989,"title":{},"content":{"458":{"position":[[1355,8]]}},"keywords":{}}],["webpack",{"_index":1263,"title":{"674":{"position":[[11,8]]}},"content":{"188":{"position":[[1725,7]]},"333":{"position":[[149,7]]},"729":{"position":[[41,7]]},"730":{"position":[[153,8]]},"910":{"position":[[146,7]]},"1176":{"position":[[40,8],[223,7],[293,7]]},"1202":{"position":[[41,7]]},"1228":{"position":[[49,7]]},"1266":{"position":[[63,8],[84,7],[232,7],[321,7]]}},"keywords":{}}],["webpack.config.j",{"_index":3849,"title":{},"content":{"674":{"position":[[8,18]]},"1176":{"position":[[321,17],[427,17]]},"1266":{"position":[[147,17]]}},"keywords":{}}],["webpack.defineplugin",{"_index":3853,"title":{},"content":{"674":{"position":[[158,22]]}},"keywords":{}}],["webpack.provideplugin",{"_index":5267,"title":{},"content":{"910":{"position":[[243,23]]}},"keywords":{}}],["webpag",{"_index":2607,"title":{},"content":{"410":{"position":[[2256,8]]}},"keywords":{}}],["webrtc",{"_index":1361,"title":{"210":{"position":[[32,7]]},"261":{"position":[[17,6]]},"609":{"position":[[52,6]]},"614":{"position":[[8,8]]},"868":{"position":[[64,6]]},"900":{"position":[[4,6]]},"901":{"position":[[8,8]]},"902":{"position":[[26,6]]},"903":{"position":[[19,6]]},"904":{"position":[[20,6]]},"908":{"position":[[22,6]]},"911":{"position":[[27,6]]}},"content":{"210":{"position":[[96,7],[236,8]]},"212":{"position":[[594,6]]},"261":{"position":[[102,7],[304,8],[661,6]]},"289":{"position":[[1549,6],[1604,6],[1893,6]]},"481":{"position":[[369,6]]},"504":{"position":[[1280,6]]},"614":{"position":[[1,6],[385,6],[533,6],[784,6],[846,6],[996,6]]},"620":{"position":[[435,6]]},"632":{"position":[[786,7]]},"749":{"position":[[16028,6]]},"793":{"position":[[737,6]]},"868":{"position":[[64,6]]},"901":{"position":[[1,6],[249,6],[548,6],[701,6]]},"903":{"position":[[132,6],[456,6]]},"904":{"position":[[63,6],[1278,6],[1395,8],[2331,6],[2877,6],[3176,6]]},"905":{"position":[[5,6]]},"906":{"position":[[43,6],[959,8]]},"911":{"position":[[39,6],[123,6],[237,6],[326,6]]},"912":{"position":[[159,6]]},"913":{"position":[[328,6]]},"1121":{"position":[[191,6],[419,8]]},"1124":{"position":[[2280,7]]}},"keywords":{}}],["webrtc.html",{"_index":1461,"title":{},"content":{"243":{"position":[[527,11]]}},"keywords":{}}],["webrtc.html?console=webrtc",{"_index":4337,"title":{},"content":{"749":{"position":[[15388,26]]}},"keywords":{}}],["webrtcpool",{"_index":1364,"title":{},"content":{"210":{"position":[[251,10]]}},"keywords":{}}],["webrtcpool.error$.subscribe((error",{"_index":1375,"title":{},"content":{"210":{"position":[[540,35]]}},"keywords":{}}],["webserv",{"_index":3680,"title":{},"content":{"624":{"position":[[1107,10]]},"702":{"position":[[347,10]]},"799":{"position":[[382,10]]},"1089":{"position":[[134,9]]},"1210":{"position":[[540,10]]},"1227":{"position":[[398,9],[875,10]]},"1265":{"position":[[391,9],[849,10]]}},"keywords":{}}],["websit",{"_index":444,"title":{},"content":{"27":{"position":[[361,7]]},"458":{"position":[[431,8]]},"475":{"position":[[6,8]]},"617":{"position":[[944,7],[1000,9]]},"656":{"position":[[344,7]]},"697":{"position":[[160,7]]},"702":{"position":[[850,7]]},"736":{"position":[[19,7],[168,7]]},"779":{"position":[[16,8],[142,7]]},"781":{"position":[[6,8],[234,7]]},"783":{"position":[[22,8]]}},"keywords":{}}],["websocket",{"_index":1055,"title":{"609":{"position":[[0,10]]},"611":{"position":[[9,12]]},"891":{"position":[[0,9]]},"892":{"position":[[13,9]]},"893":{"position":[[15,9]]},"911":{"position":[[13,9]]},"1219":{"position":[[13,9]]}},"content":{"113":{"position":[[262,10]]},"165":{"position":[[199,9]]},"174":{"position":[[3092,11]]},"238":{"position":[[175,10]]},"261":{"position":[[674,9]]},"410":{"position":[[1710,9]]},"464":{"position":[[173,9]]},"476":{"position":[[128,12]]},"491":{"position":[[617,11],[1487,11],[1656,11]]},"570":{"position":[[743,9]]},"610":{"position":[[852,11]]},"611":{"position":[[1,10],[350,10],[594,9],[932,9],[1314,10]]},"612":{"position":[[104,11],[1344,11]]},"614":{"position":[[929,11]]},"616":{"position":[[6,10]]},"618":{"position":[[143,10]]},"619":{"position":[[137,9]]},"620":{"position":[[30,11],[423,11]]},"621":{"position":[[1,11],[756,11]]},"622":{"position":[[1,11],[298,11],[695,10]]},"623":{"position":[[1,11],[43,9],[315,10],[768,10]]},"624":{"position":[[630,10],[1568,10]]},"736":{"position":[[184,9],[368,10]]},"781":{"position":[[261,9],[498,9]]},"793":{"position":[[695,9]]},"871":{"position":[[289,9]]},"875":{"position":[[7175,10]]},"885":{"position":[[1277,11]]},"886":{"position":[[4003,9],[4321,10],[4335,9],[4969,9]]},"892":{"position":[[105,11],[219,9]]},"893":{"position":[[160,11]]},"901":{"position":[[560,10],[636,10]]},"904":{"position":[[2965,9],[3023,9]]},"906":{"position":[[563,9]]},"911":{"position":[[50,9],[248,9],[443,9],[579,9],[819,9]]},"988":{"position":[[4948,9]]},"1124":{"position":[[2260,10]]},"1219":{"position":[[87,9],[410,11],[850,11]]}},"keywords":{}}],["websocket"",{"_index":1498,"title":{},"content":{"244":{"position":[[703,15]]}},"keywords":{}}],["websocket('ws://example.com",{"_index":3568,"title":{},"content":{"611":{"position":[[646,30]]}},"keywords":{}}],["websocket('wss://example.com/api/sync/stream",{"_index":5478,"title":{},"content":{"988":{"position":[[5219,47]]}},"keywords":{}}],["websocketconstructor",{"_index":1373,"title":{},"content":{"210":{"position":[[487,21]]},"261":{"position":[[728,21]]},"904":{"position":[[3038,21]]},"911":{"position":[[797,21]]}},"keywords":{}}],["websocketimpl",{"_index":5145,"title":{},"content":{"886":{"position":[[4601,15]]}},"keywords":{}}],["websockets.long",{"_index":3672,"title":{},"content":{"623":{"position":[[436,15]]}},"keywords":{}}],["websql",{"_index":75,"title":{"5":{"position":[[0,7]]},"7":{"position":[[5,7]]},"435":{"position":[[16,7]]},"455":{"position":[[9,7]]},"709":{"position":[[27,6]]}},"content":{"5":{"position":[[40,7],[89,6],[134,6],[219,6],[273,10]]},"7":{"position":[[28,6],[246,6],[305,10]]},"16":{"position":[[322,7]]},"35":{"position":[[174,7]]},"435":{"position":[[1,7],[246,6]]},"455":{"position":[[1,6],[252,6],[339,6],[685,6],[770,7],[826,6]]},"660":{"position":[[83,6]]},"696":{"position":[[845,6],[913,6]]},"709":{"position":[[152,7],[854,6]]},"837":{"position":[[1414,7],[1826,8]]},"1324":{"position":[[104,6],[143,6]]}},"keywords":{}}],["websqlit",{"_index":4782,"title":{},"content":{"837":{"position":[[1791,9]]}},"keywords":{}}],["webstorag",{"_index":2956,"title":{},"content":{"451":{"position":[[56,10]]}},"keywords":{}}],["webtransport",{"_index":3546,"title":{"609":{"position":[[62,12]]},"613":{"position":[[12,12]]}},"content":{"613":{"position":[[1,12],[352,12],[545,12],[657,12],[737,12],[902,12],[1048,13]]},"614":{"position":[[948,13]]},"616":{"position":[[21,12]]},"620":{"position":[[85,12],[446,12],[497,12],[661,12]]},"624":{"position":[[851,13],[1277,12]]},"901":{"position":[[575,13],[650,12]]}},"keywords":{}}],["webwork",{"_index":1028,"title":{"460":{"position":[[0,9]]}},"content":{"100":{"position":[[285,10]]},"227":{"position":[[259,10]]},"392":{"position":[[3218,11],[3232,9],[3822,9]]},"433":{"position":[[352,10]]},"453":{"position":[[332,9]]},"460":{"position":[[267,10],[352,9],[480,9],[749,9],[823,10],[1092,10],[1188,10]]},"463":{"position":[[706,9],[948,9]]},"464":{"position":[[356,9],[872,9]]},"465":{"position":[[217,9]]},"466":{"position":[[181,9],[308,9]]},"467":{"position":[[154,9],[312,9]]},"468":{"position":[[332,9]]},"469":{"position":[[221,10],[1173,10]]},"470":{"position":[[411,9]]},"801":{"position":[[32,9],[347,10],[607,10]]},"1068":{"position":[[346,9]]},"1115":{"position":[[664,11]]},"1117":{"position":[[569,11]]},"1130":{"position":[[360,9]]},"1207":{"position":[[355,10]]},"1210":{"position":[[45,10]]},"1211":{"position":[[89,10]]},"1246":{"position":[[111,9]]},"1266":{"position":[[520,12]]},"1301":{"position":[[623,9]]}},"keywords":{}}],["week",{"_index":2830,"title":{},"content":{"420":{"position":[[142,5],[396,5]]},"702":{"position":[[897,6]]}},"keywords":{}}],["weekli",{"_index":2832,"title":{},"content":{"420":{"position":[[191,6]]}},"keywords":{}}],["well",{"_index":533,"title":{},"content":{"34":{"position":[[266,4]]},"40":{"position":[[186,5]]},"58":{"position":[[23,4]]},"68":{"position":[[118,4]]},"73":{"position":[[41,4]]},"126":{"position":[[292,4]]},"222":{"position":[[178,4]]},"225":{"position":[[150,4]]},"231":{"position":[[95,4]]},"267":{"position":[[29,4]]},"281":{"position":[[179,4],[224,4]]},"289":{"position":[[597,4]]},"303":{"position":[[18,5]]},"325":{"position":[[204,4]]},"354":{"position":[[371,4],[1241,4]]},"362":{"position":[[537,5]]},"369":{"position":[[209,4]]},"394":{"position":[[1427,5]]},"411":{"position":[[3320,5]]},"412":{"position":[[8214,4],[12308,5]]},"418":{"position":[[265,4]]},"546":{"position":[[205,5]]},"606":{"position":[[205,5]]},"641":{"position":[[256,4]]},"829":{"position":[[2858,4]]},"836":{"position":[[1202,4]]},"902":{"position":[[497,4]]},"1313":{"position":[[225,4]]}},"keywords":{}}],["weren't",{"_index":2540,"title":{},"content":{"408":{"position":[[1455,7]]}},"keywords":{}}],["what'",{"_index":2433,"title":{},"content":{"399":{"position":[[631,6]]}},"keywords":{}}],["what.touppercas",{"_index":6504,"title":{},"content":{"1311":{"position":[[754,19]]}},"keywords":{}}],["whatev",{"_index":3189,"title":{},"content":{"496":{"position":[[56,8]]},"1085":{"position":[[619,8]]}},"keywords":{}}],["whatsapp",{"_index":521,"title":{},"content":{"33":{"position":[[477,8]]},"414":{"position":[[24,8]]},"416":{"position":[[100,9]]},"418":{"position":[[134,10]]},"696":{"position":[[435,9]]}},"keywords":{}}],["whenev",{"_index":1170,"title":{},"content":{"156":{"position":[[148,8]]},"159":{"position":[[213,8]]},"168":{"position":[[225,8]]},"196":{"position":[[49,8]]},"233":{"position":[[116,8]]},"253":{"position":[[246,8]]},"322":{"position":[[270,8]]},"323":{"position":[[54,8]]},"329":{"position":[[62,8]]},"344":{"position":[[159,8]]},"411":{"position":[[3242,8]]},"421":{"position":[[635,8]]},"455":{"position":[[589,8]]},"458":{"position":[[1143,8]]},"480":{"position":[[799,8]]},"493":{"position":[[387,8]]},"494":{"position":[[250,8],[562,8]]},"515":{"position":[[255,8]]},"518":{"position":[[216,8]]},"529":{"position":[[75,8]]},"541":{"position":[[825,8]]},"542":{"position":[[973,8]]},"562":{"position":[[1264,8]]},"565":{"position":[[240,8]]},"571":{"position":[[814,8],[966,8]]},"575":{"position":[[295,8]]},"580":{"position":[[617,8]]},"601":{"position":[[806,8]]},"626":{"position":[[932,8]]},"627":{"position":[[193,8]]},"711":{"position":[[555,8]]},"770":{"position":[[21,8]]},"781":{"position":[[869,8]]},"829":{"position":[[3669,8]]},"979":{"position":[[14,8]]},"1007":{"position":[[1958,8]]},"1082":{"position":[[60,8]]},"1148":{"position":[[800,8]]},"1208":{"position":[[146,8]]},"1313":{"position":[[899,8]]},"1317":{"position":[[1,8]]}},"keywords":{}}],["where('ag",{"_index":5354,"title":{},"content":{"949":{"position":[[162,13]]}},"keywords":{}}],["where('ownerid",{"_index":4887,"title":{},"content":{"858":{"position":[[338,16]]}},"keywords":{}}],["wherea",{"_index":1720,"title":{},"content":{"298":{"position":[[567,7]]},"359":{"position":[[45,7]]},"535":{"position":[[483,7]]}},"keywords":{}}],["whereisai/ua",{"_index":2472,"title":{},"content":{"401":{"position":[[510,13]]}},"keywords":{}}],["wherev",{"_index":3123,"title":{},"content":{"479":{"position":[[456,8]]}},"keywords":{}}],["whether",{"_index":1065,"title":{},"content":{"117":{"position":[[134,7]]},"148":{"position":[[303,7]]},"151":{"position":[[303,7]]},"178":{"position":[[142,7]]},"207":{"position":[[83,7]]},"212":{"position":[[541,7]]},"238":{"position":[[111,7]]},"239":{"position":[[92,7]]},"254":{"position":[[73,7]]},"267":{"position":[[1463,7]]},"286":{"position":[[132,7]]},"361":{"position":[[78,7]]},"369":{"position":[[333,7],[989,7]]},"371":{"position":[[112,7]]},"388":{"position":[[387,7]]},"412":{"position":[[2347,7]]},"446":{"position":[[114,7],[929,7]]},"490":{"position":[[75,7]]},"567":{"position":[[1140,7]]},"574":{"position":[[341,7]]},"785":{"position":[[568,7]]},"839":{"position":[[1094,7]]},"1049":{"position":[[37,7]]},"1147":{"position":[[420,7]]}},"keywords":{}}],["whitespac",{"_index":4287,"title":{},"content":{"749":{"position":[[11619,10]]}},"keywords":{}}],["whoami",{"_index":4602,"title":{},"content":{"789":{"position":[[480,7]]},"791":{"position":[[348,7]]}},"keywords":{}}],["whole",{"_index":249,"title":{},"content":{"15":{"position":[[125,5]]},"352":{"position":[[104,5]]},"365":{"position":[[835,5]]},"403":{"position":[[56,5]]},"469":{"position":[[1238,5]]},"501":{"position":[[423,5]]},"612":{"position":[[465,5]]},"647":{"position":[[11,5]]},"764":{"position":[[240,5]]},"775":{"position":[[322,5]]},"783":{"position":[[324,5]]},"784":{"position":[[450,5]]},"800":{"position":[[119,5]]},"826":{"position":[[561,5],[986,5]]},"888":{"position":[[51,5]]},"1077":{"position":[[102,5]]},"1094":{"position":[[638,5]]},"1116":{"position":[[129,5]]},"1124":{"position":[[332,5]]},"1184":{"position":[[359,6]]},"1194":{"position":[[244,5]]},"1198":{"position":[[787,5]]},"1271":{"position":[[456,5]]},"1295":{"position":[[901,5]]},"1300":{"position":[[470,5]]},"1304":{"position":[[1261,5]]},"1316":{"position":[[3071,5],[3676,5]]},"1318":{"position":[[673,5]]}},"keywords":{}}],["whose",{"_index":2676,"title":{},"content":{"412":{"position":[[3194,5]]},"724":{"position":[[690,5],[1560,5]]},"898":{"position":[[1634,5]]}},"keywords":{}}],["wide",{"_index":1038,"title":{},"content":{"105":{"position":[[15,6]]},"162":{"position":[[322,6]]},"177":{"position":[[228,4]]},"189":{"position":[[321,6]]},"267":{"position":[[1428,4]]},"287":{"position":[[593,4]]},"320":{"position":[[96,6]]},"364":{"position":[[226,6]]},"454":{"position":[[169,4]]},"469":{"position":[[12,4]]},"613":{"position":[[700,6],[927,6]]},"624":{"position":[[925,6]]},"788":{"position":[[32,4]]},"790":{"position":[[41,5]]},"792":{"position":[[43,5]]},"904":{"position":[[511,4]]},"1124":{"position":[[55,4],[620,4]]},"1134":{"position":[[314,4]]},"1272":{"position":[[246,4]]}},"keywords":{}}],["widespread",{"_index":3620,"title":{},"content":{"613":{"position":[[612,10]]}},"keywords":{}}],["widget",{"_index":1231,"title":{},"content":{"177":{"position":[[242,7]]}},"keywords":{}}],["wifi",{"_index":5246,"title":{},"content":{"902":{"position":[[780,4]]}},"keywords":{}}],["wiki",{"_index":2231,"title":{},"content":{"392":{"position":[[798,4]]}},"keywords":{}}],["wild",{"_index":2746,"title":{},"content":{"412":{"position":[[11550,5]]}},"keywords":{}}],["wildcard",{"_index":5947,"title":{},"content":{"1103":{"position":[[139,8]]}},"keywords":{}}],["win",{"_index":231,"title":{},"content":{"14":{"position":[[860,4]]},"203":{"position":[[73,4]]},"250":{"position":[[33,4]]},"412":{"position":[[2370,5],[3208,4],[3298,4]]},"432":{"position":[[1344,3]]},"496":{"position":[[22,5],[645,4]]},"635":{"position":[[233,4]]},"688":{"position":[[891,4]]},"698":{"position":[[645,7],[1352,7],[1832,7],[2041,7]]},"1305":{"position":[[168,4]]}},"keywords":{}}],["window",{"_index":1178,"title":{},"content":{"160":{"position":[[270,8]]},"299":{"position":[[806,7]]},"330":{"position":[[127,7]]},"427":{"position":[[1324,7]]},"451":{"position":[[895,6]]},"475":{"position":[[266,6]]},"502":{"position":[[1252,7]]},"519":{"position":[[60,8]]},"729":{"position":[[331,7],[356,7],[364,7]]},"958":{"position":[[27,7]]},"964":{"position":[[262,8],[319,7],[498,6]]},"1202":{"position":[[370,7],[395,7],[403,7]]},"1300":{"position":[[768,6]]}},"keywords":{}}],["window.process",{"_index":5268,"title":{},"content":{"910":{"position":[[378,14]]}},"keywords":{}}],["window.sqliteplugin",{"_index":150,"title":{},"content":{"11":{"position":[[278,21]]}},"keywords":{}}],["windows.handl",{"_index":1222,"title":{},"content":{"174":{"position":[[2021,16]]}},"keywords":{}}],["windows.storag",{"_index":2894,"title":{},"content":{"427":{"position":[[1445,15]]}},"keywords":{}}],["winner",{"_index":3941,"title":{},"content":{"698":{"position":[[571,6],[766,7]]}},"keywords":{}}],["wins"",{"_index":2697,"title":{},"content":{"412":{"position":[[5300,10],[5522,10]]}},"keywords":{}}],["wipe",{"_index":2723,"title":{},"content":{"412":{"position":[[7887,5],[8716,6]]},"977":{"position":[[1,5]]}},"keywords":{}}],["wire",{"_index":374,"title":{},"content":{"22":{"position":[[276,5]]},"585":{"position":[[263,7]]},"700":{"position":[[792,4]]},"871":{"position":[[793,4]]},"1022":{"position":[[59,4]]}},"keywords":{}}],["wish",{"_index":6091,"title":{},"content":{"1151":{"position":[[512,4]]},"1178":{"position":[[511,4]]}},"keywords":{}}],["withcredenti",{"_index":5050,"title":{},"content":{"875":{"position":[[8178,16],[9597,16]]}},"keywords":{}}],["withdist",{"_index":2313,"title":{},"content":{"394":{"position":[[747,12]]}},"keywords":{}}],["withdistance.sort(sortbyobjectnumberproperty('distance')).revers",{"_index":2318,"title":{},"content":{"394":{"position":[[876,68]]}},"keywords":{}}],["withhold",{"_index":1878,"title":{},"content":{"310":{"position":[[192,11]]}},"keywords":{}}],["within",{"_index":291,"title":{},"content":{"17":{"position":[[219,6]]},"65":{"position":[[1060,6]]},"94":{"position":[[224,6]]},"101":{"position":[[217,6]]},"107":{"position":[[164,6]]},"172":{"position":[[90,6],[139,6]]},"173":{"position":[[3224,6]]},"174":{"position":[[1035,6]]},"201":{"position":[[115,6]]},"219":{"position":[[364,6]]},"222":{"position":[[347,6]]},"228":{"position":[[240,6]]},"235":{"position":[[100,6]]},"275":{"position":[[179,6]]},"286":{"position":[[334,6]]},"287":{"position":[[684,6]]},"291":{"position":[[127,6]]},"329":{"position":[[174,6]]},"354":{"position":[[632,6]]},"356":{"position":[[263,6]]},"369":{"position":[[305,6]]},"371":{"position":[[291,6]]},"392":{"position":[[1285,6]]},"397":{"position":[[85,6]]},"398":{"position":[[1852,6]]},"408":{"position":[[1637,6]]},"433":{"position":[[343,6]]},"438":{"position":[[295,6]]},"445":{"position":[[1982,6]]},"446":{"position":[[1268,6]]},"503":{"position":[[237,6]]},"522":{"position":[[193,6]]},"523":{"position":[[84,6]]},"543":{"position":[[39,6]]},"569":{"position":[[780,6]]},"570":{"position":[[398,6]]},"571":{"position":[[1486,6]]},"577":{"position":[[48,6]]},"579":{"position":[[1,6]]},"591":{"position":[[655,6]]},"603":{"position":[[39,6]]},"614":{"position":[[146,6]]},"622":{"position":[[653,6]]},"723":{"position":[[449,6],[1391,6]]},"871":{"position":[[631,6]]},"902":{"position":[[391,6]]},"946":{"position":[[43,6]]},"1072":{"position":[[758,6]]},"1132":{"position":[[1510,6]]},"1151":{"position":[[229,6]]},"1178":{"position":[[228,6]]}},"keywords":{}}],["withmetafield",{"_index":5726,"title":{},"content":{"1051":{"position":[[320,15]]}},"keywords":{}}],["without",{"_index":385,"title":{"711":{"position":[[22,7]]},"778":{"position":[[13,7]]},"1319":{"position":[[10,7]]}},"content":{"23":{"position":[[230,7]]},"27":{"position":[[89,7]]},"29":{"position":[[165,7]]},"131":{"position":[[158,7]]},"162":{"position":[[628,7]]},"164":{"position":[[221,7]]},"183":{"position":[[118,7]]},"185":{"position":[[337,7]]},"210":{"position":[[709,7]]},"212":{"position":[[46,7],[462,7],[642,7]]},"237":{"position":[[243,7]]},"261":{"position":[[188,7]]},"274":{"position":[[145,7]]},"276":{"position":[[88,7]]},"279":{"position":[[279,7]]},"280":{"position":[[261,7]]},"282":{"position":[[405,7]]},"289":{"position":[[413,7]]},"291":{"position":[[278,7]]},"292":{"position":[[269,7]]},"295":{"position":[[226,7]]},"309":{"position":[[197,7]]},"321":{"position":[[265,7]]},"330":{"position":[[135,7]]},"346":{"position":[[591,7]]},"362":{"position":[[96,7]]},"369":{"position":[[707,7]]},"375":{"position":[[117,7]]},"381":{"position":[[532,7]]},"383":{"position":[[440,7]]},"408":{"position":[[675,7],[1325,7],[2870,7]]},"410":{"position":[[1552,7]]},"411":{"position":[[3037,7],[3888,7]]},"412":{"position":[[31,7]]},"414":{"position":[[129,7]]},"415":{"position":[[218,7]]},"419":{"position":[[277,7]]},"424":{"position":[[447,7]]},"430":{"position":[[978,7]]},"433":{"position":[[602,7]]},"445":{"position":[[2070,7]]},"455":{"position":[[692,7]]},"467":{"position":[[231,7]]},"482":{"position":[[1137,7]]},"487":{"position":[[427,7]]},"489":{"position":[[684,7]]},"504":{"position":[[1388,7]]},"534":{"position":[[267,7]]},"542":{"position":[[1000,7]]},"548":{"position":[[263,7]]},"550":{"position":[[148,7]]},"570":{"position":[[599,7]]},"571":{"position":[[258,7]]},"574":{"position":[[246,7]]},"582":{"position":[[106,7]]},"585":{"position":[[237,7]]},"594":{"position":[[265,7]]},"608":{"position":[[261,7]]},"611":{"position":[[186,7]]},"612":{"position":[[331,7]]},"614":{"position":[[190,7]]},"616":{"position":[[484,7]]},"617":{"position":[[2359,8]]},"618":{"position":[[739,7]]},"621":{"position":[[323,7]]},"623":{"position":[[374,7]]},"638":{"position":[[911,7]]},"643":{"position":[[300,7]]},"644":{"position":[[726,7]]},"705":{"position":[[771,7]]},"707":{"position":[[130,7]]},"710":{"position":[[584,7],[1253,7]]},"723":{"position":[[536,7],[930,7],[1281,7]]},"749":{"position":[[5985,7],[6992,7],[7111,7]]},"782":{"position":[[450,7]]},"801":{"position":[[519,7]]},"816":{"position":[[250,7]]},"838":{"position":[[1288,7]]},"875":{"position":[[9169,7]]},"902":{"position":[[193,7]]},"912":{"position":[[459,7]]},"943":{"position":[[194,7]]},"977":{"position":[[163,7],[378,7]]},"981":{"position":[[1438,7]]},"1008":{"position":[[275,7]]},"1065":{"position":[[55,7],[1979,7]]},"1068":{"position":[[211,7]]},"1071":{"position":[[274,7]]},"1072":{"position":[[1579,7]]},"1092":{"position":[[468,7]]},"1093":{"position":[[504,7]]},"1094":{"position":[[596,7]]},"1107":{"position":[[446,7]]},"1120":{"position":[[265,7]]},"1150":{"position":[[630,7]]},"1151":{"position":[[789,7]]},"1164":{"position":[[354,7]]},"1178":{"position":[[786,7]]},"1219":{"position":[[196,7]]},"1252":{"position":[[227,7]]},"1282":{"position":[[293,7],[952,7]]},"1295":{"position":[[1427,7]]},"1297":{"position":[[351,7]]},"1300":{"position":[[136,7]]},"1304":{"position":[[1720,7]]},"1305":{"position":[[9,7]]},"1324":{"position":[[840,7]]}},"keywords":{}}],["withoutrowid",{"_index":6375,"title":{},"content":{"1282":{"position":[[1066,13],[1218,13]]}},"keywords":{}}],["won't",{"_index":750,"title":{},"content":{"50":{"position":[[74,5]]},"357":{"position":[[415,5]]},"421":{"position":[[908,5]]}},"keywords":{}}],["word",{"_index":2192,"title":{},"content":{"390":{"position":[[647,4]]},"396":{"position":[[1316,5]]},"569":{"position":[[45,4]]},"699":{"position":[[249,4]]},"1023":{"position":[[406,5],[520,5],[526,4]]}},"keywords":{}}],["word"",{"_index":5642,"title":{},"content":{"1023":{"position":[[627,10]]}},"keywords":{}}],["words.map(word",{"_index":5641,"title":{},"content":{"1023":{"position":[[474,14]]}},"keywords":{}}],["work",{"_index":46,"title":{"207":{"position":[[3,5]]},"255":{"position":[[21,6]]},"292":{"position":[[0,5]]},"481":{"position":[[17,5]]},"642":{"position":[[11,4]]},"696":{"position":[[8,5]]},"779":{"position":[[21,6]]},"1208":{"position":[[17,6]]},"1254":{"position":[[22,4]]},"1313":{"position":[[20,4]]},"1314":{"position":[[20,4]]}},"content":{"2":{"position":[[275,4]]},"6":{"position":[[434,4]]},"10":{"position":[[208,4]]},"15":{"position":[[226,6]]},"19":{"position":[[317,5]]},"20":{"position":[[264,4]]},"35":{"position":[[247,4]]},"38":{"position":[[117,4],[208,4],[1086,7]]},"47":{"position":[[34,7],[1196,5]]},"50":{"position":[[340,5]]},"58":{"position":[[17,5]]},"94":{"position":[[216,7]]},"104":{"position":[[145,7]]},"122":{"position":[[114,4]]},"129":{"position":[[653,5]]},"130":{"position":[[146,7]]},"138":{"position":[[179,7]]},"141":{"position":[[243,7]]},"147":{"position":[[6,7]]},"157":{"position":[[67,4],[296,7]]},"174":{"position":[[820,7]]},"179":{"position":[[64,4]]},"206":{"position":[[204,7]]},"212":{"position":[[41,4]]},"231":{"position":[[154,5]]},"237":{"position":[[205,4]]},"362":{"position":[[531,5]]},"368":{"position":[[304,4]]},"369":{"position":[[85,7],[965,7]]},"371":{"position":[[27,7],[221,4]]},"372":{"position":[[121,4]]},"380":{"position":[[34,4]]},"390":{"position":[[329,4]]},"392":{"position":[[2151,4]]},"394":{"position":[[89,5]]},"396":{"position":[[1227,4]]},"404":{"position":[[29,5]]},"407":{"position":[[621,7],[1029,4]]},"408":{"position":[[5486,4]]},"410":{"position":[[969,4]]},"411":{"position":[[4587,5],[5558,7]]},"412":{"position":[[4418,5],[6932,5],[9354,5]]},"419":{"position":[[261,4]]},"420":{"position":[[852,4]]},"421":{"position":[[196,6],[791,7]]},"433":{"position":[[276,7]]},"439":{"position":[[379,5]]},"440":{"position":[[35,7],[127,4]]},"445":{"position":[[480,4]]},"446":{"position":[[224,7],[662,4]]},"452":{"position":[[655,8]]},"457":{"position":[[217,5]]},"460":{"position":[[505,4]]},"469":{"position":[[1148,4]]},"493":{"position":[[24,5]]},"498":{"position":[[361,6]]},"556":{"position":[[1761,4]]},"574":{"position":[[233,7]]},"590":{"position":[[732,5]]},"613":{"position":[[573,7],[678,7]]},"614":{"position":[[407,4],[856,5]]},"627":{"position":[[312,5]]},"632":{"position":[[856,4]]},"634":{"position":[[389,5]]},"666":{"position":[[271,4]]},"668":{"position":[[145,5],[411,5]]},"688":{"position":[[541,5],[754,4]]},"696":{"position":[[691,5]]},"697":{"position":[[478,4]]},"698":{"position":[[803,5]]},"704":{"position":[[100,5]]},"705":{"position":[[80,6],[450,5],[1308,4]]},"714":{"position":[[89,4],[351,5]]},"723":{"position":[[913,4]]},"749":{"position":[[1894,4],[6987,4],[7106,4],[8977,4]]},"772":{"position":[[170,4],[2043,5]]},"775":{"position":[[45,5]]},"781":{"position":[[335,5]]},"784":{"position":[[421,5],[743,5]]},"793":{"position":[[903,5]]},"811":{"position":[[139,5]]},"817":{"position":[[245,5]]},"830":{"position":[[48,4]]},"831":{"position":[[492,5]]},"835":{"position":[[55,5]]},"836":{"position":[[1015,4]]},"838":{"position":[[685,4]]},"840":{"position":[[392,5]]},"842":{"position":[[305,4]]},"863":{"position":[[217,5]]},"875":{"position":[[9399,4]]},"882":{"position":[[291,4]]},"884":{"position":[[91,6]]},"893":{"position":[[289,5]]},"901":{"position":[[669,4]]},"904":{"position":[[70,6]]},"906":{"position":[[24,4]]},"908":{"position":[[26,5]]},"913":{"position":[[212,7]]},"948":{"position":[[775,5]]},"956":{"position":[[95,5]]},"962":{"position":[[6,5]]},"975":{"position":[[69,5]]},"981":{"position":[[165,5],[1139,5]]},"982":{"position":[[42,5]]},"988":{"position":[[2186,4]]},"1018":{"position":[[456,5],[538,6],[579,5],[616,5]]},"1065":{"position":[[1923,5]]},"1071":{"position":[[163,4]]},"1088":{"position":[[299,5]]},"1093":{"position":[[235,4],[331,4]]},"1095":{"position":[[172,4]]},"1117":{"position":[[508,5]]},"1133":{"position":[[474,4]]},"1141":{"position":[[98,5],[280,4]]},"1176":{"position":[[174,4]]},"1183":{"position":[[34,6]]},"1191":{"position":[[628,4]]},"1198":{"position":[[191,6],[1767,4]]},"1208":{"position":[[615,4]]},"1229":{"position":[[216,5]]},"1258":{"position":[[10,4],[42,4],[138,5]]},"1259":{"position":[[10,4]]},"1271":{"position":[[1715,4]]},"1272":{"position":[[132,4]]},"1277":{"position":[[632,4]]},"1278":{"position":[[59,5]]},"1282":{"position":[[283,4],[339,5],[721,4]]},"1300":{"position":[[1016,4]]},"1301":{"position":[[501,4],[930,4]]},"1304":{"position":[[1370,4]]},"1305":{"position":[[1,7],[441,4]]},"1313":{"position":[[100,5],[219,5],[889,5]]},"1316":{"position":[[1529,5],[1805,5],[2504,5],[2577,4],[3117,5]]},"1318":{"position":[[764,4],[964,4]]},"1320":{"position":[[529,5]]}},"keywords":{}}],["work"",{"_index":3658,"title":{},"content":{"619":{"position":[[93,11]]}},"keywords":{}}],["work.complex",{"_index":5428,"title":{},"content":{"981":{"position":[[316,12]]}},"keywords":{}}],["workaround",{"_index":2542,"title":{},"content":{"408":{"position":[[2043,12]]},"458":{"position":[[992,10],[1286,10]]},"459":{"position":[[1107,10]]},"617":{"position":[[1140,10]]},"845":{"position":[[168,11]]},"1072":{"position":[[2115,12]]},"1135":{"position":[[263,11]]},"1198":{"position":[[828,11]]},"1315":{"position":[[1558,11]]}},"keywords":{}}],["worker",{"_index":2253,"title":{"721":{"position":[[15,8]]},"801":{"position":[[21,6]]},"1089":{"position":[[6,7]]},"1211":{"position":[[43,7]]},"1213":{"position":[[76,7]]},"1227":{"position":[[10,8]]},"1228":{"position":[[18,7]]},"1262":{"position":[[0,6]]},"1263":{"position":[[7,6]]},"1265":{"position":[[10,8]]},"1266":{"position":[[18,7]]},"1267":{"position":[[4,6]]},"1268":{"position":[[13,6]]}},"content":{"392":{"position":[[3337,6],[3711,6],[3753,6],[3847,7],[4117,6],[4183,6],[5090,6]]},"402":{"position":[[2813,6]]},"408":{"position":[[1756,8],[4732,7]]},"458":{"position":[[1500,7]]},"460":{"position":[[419,7],[549,6]]},"463":{"position":[[476,6]]},"469":{"position":[[990,6]]},"500":{"position":[[589,7]]},"642":{"position":[[71,6],[88,6]]},"693":{"position":[[392,6]]},"721":{"position":[[18,6],[127,7],[255,8],[331,7],[468,6]]},"749":{"position":[[3407,6],[3594,6],[23700,7]]},"757":{"position":[[98,6],[172,8]]},"793":{"position":[[482,6]]},"801":{"position":[[901,6]]},"1068":{"position":[[418,6]]},"1089":{"position":[[75,6]]},"1207":{"position":[[575,7]]},"1210":{"position":[[77,6],[389,8]]},"1211":{"position":[[477,6]]},"1212":{"position":[[92,7],[176,7],[239,6],[433,8]]},"1213":{"position":[[35,7],[162,6],[408,6],[809,7]]},"1225":{"position":[[8,6],[196,8],[375,7]]},"1226":{"position":[[113,8],[640,7]]},"1227":{"position":[[163,6],[523,7],[663,8]]},"1228":{"position":[[71,6],[97,6],[118,6],[162,6]]},"1229":{"position":[[172,6],[254,6]]},"1230":{"position":[[78,7],[349,6]]},"1231":{"position":[[95,7],[412,7],[509,8]]},"1233":{"position":[[38,7],[60,6],[95,7]]},"1238":{"position":[[185,6],[307,6],[586,8]]},"1239":{"position":[[372,7],[425,7],[750,8]]},"1246":{"position":[[4,7],[17,6],[140,6],[361,6],[921,6]]},"1263":{"position":[[82,8],[269,7]]},"1264":{"position":[[107,8],[273,6],[520,7]]},"1265":{"position":[[156,6],[517,7],[651,8]]},"1266":{"position":[[134,8],[553,8]]},"1267":{"position":[[59,6],[166,6],[196,6],[335,6]]},"1268":{"position":[[94,6],[250,6],[390,6],[637,8]]},"1301":{"position":[[828,6]]}},"keywords":{}}],["worker'",{"_index":6288,"title":{},"content":{"1246":{"position":[[246,8],[566,8]]}},"keywords":{}}],["worker('path/to/worker.j",{"_index":6327,"title":{},"content":{"1268":{"position":[[171,27]]}},"keywords":{}}],["worker(new",{"_index":2264,"title":{},"content":{"392":{"position":[[3925,10]]},"1268":{"position":[[481,10]]}},"keywords":{}}],["worker.addeventlistener('messag",{"_index":2278,"title":{},"content":{"392":{"position":[[4432,34]]}},"keywords":{}}],["worker.j",{"_index":2255,"title":{"1212":{"position":[[18,10]]}},"content":{"392":{"position":[[3487,9]]},"1212":{"position":[[127,9],[280,9]]},"1213":{"position":[[577,9]]},"1226":{"position":[[448,9],[593,11]]},"1227":{"position":[[12,9],[468,9],[921,10]]},"1228":{"position":[[19,9]]},"1264":{"position":[[351,9]]},"1265":{"position":[[5,9],[462,9]]},"1266":{"position":[[36,9],[583,11]]}},"keywords":{}}],["worker.postmessag",{"_index":2279,"title":{},"content":{"392":{"position":[[4478,20]]}},"keywords":{}}],["worker.removeeventlistener('messag",{"_index":2277,"title":{},"content":{"392":{"position":[[4378,37]]}},"keywords":{}}],["worker.t",{"_index":6264,"title":{},"content":{"1225":{"position":[[118,9]]},"1231":{"position":[[431,9]]},"1263":{"position":[[4,9]]}},"keywords":{}}],["workerinput",{"_index":6231,"title":{},"content":{"1210":{"position":[[637,12]]},"1226":{"position":[[564,12]]},"1227":{"position":[[889,12]]},"1229":{"position":[[30,12],[235,11]]},"1238":{"position":[[944,12]]},"1264":{"position":[[451,12]]},"1265":{"position":[[863,12]]},"1267":{"position":[[510,12]]},"1268":{"position":[[30,12],[145,12],[455,12]]}},"keywords":{}}],["workeropt",{"_index":6270,"title":{},"content":{"1226":{"position":[[651,14]]},"1264":{"position":[[531,14]]}},"keywords":{}}],["workers[lastworkerid",{"_index":2271,"title":{},"content":{"392":{"position":[[4126,24],[4192,24]]}},"keywords":{}}],["workerstorag",{"_index":6324,"title":{},"content":{"1267":{"position":[[473,13],[667,13],[761,13]]}},"keywords":{}}],["workflow",{"_index":2243,"title":{},"content":{"392":{"position":[[2423,8]]},"408":{"position":[[2785,10]]},"496":{"position":[[478,9]]},"644":{"position":[[765,9]]}},"keywords":{}}],["workload",{"_index":1008,"title":{},"content":{"91":{"position":[[40,8]]},"801":{"position":[[403,8]]}},"keywords":{}}],["world",{"_index":1610,"title":{},"content":{"266":{"position":[[356,7]]},"284":{"position":[[58,5]]},"301":{"position":[[29,5]]},"356":{"position":[[637,6]]},"396":{"position":[[342,6],[563,6]]},"441":{"position":[[8,5]]},"469":{"position":[[1394,5]]},"500":{"position":[[114,7]]},"510":{"position":[[786,6]]},"569":{"position":[[1054,6]]},"699":{"position":[[238,6]]},"798":{"position":[[247,5]]},"839":{"position":[[81,6]]},"1006":{"position":[[63,5],[268,5]]},"1007":{"position":[[326,5]]},"1009":{"position":[[16,5]]},"1123":{"position":[[358,6]]},"1209":{"position":[[329,5]]},"1304":{"position":[[1267,5]]}},"keywords":{}}],["worldwid",{"_index":6010,"title":{},"content":{"1123":{"position":[[104,9],[237,9]]}},"keywords":{}}],["worri",{"_index":1885,"title":{},"content":{"312":{"position":[[289,5]]},"721":{"position":[[284,5]]},"839":{"position":[[1051,5]]},"1084":{"position":[[432,6]]}},"keywords":{}}],["wors",{"_index":2486,"title":{},"content":{"402":{"position":[[1687,5]]},"521":{"position":[[300,5]]}},"keywords":{}}],["worst",{"_index":2749,"title":{},"content":{"412":{"position":[[11824,5]]}},"keywords":{}}],["worth",{"_index":1597,"title":{},"content":{"263":{"position":[[232,5]]},"432":{"position":[[513,5]]},"447":{"position":[[591,5]]}},"keywords":{}}],["wrap",{"_index":1628,"title":{},"content":{"269":{"position":[[215,7]]},"302":{"position":[[358,4]]},"482":{"position":[[415,4]]},"554":{"position":[[849,4]]},"693":{"position":[[416,4]]},"717":{"position":[[508,4],[719,4],[904,7]]},"718":{"position":[[292,4]]},"734":{"position":[[72,4]]},"745":{"position":[[37,7],[88,8],[135,7],[347,4],[496,7]]},"749":{"position":[[24151,7]]},"785":{"position":[[357,4]]},"932":{"position":[[863,7]]},"1031":{"position":[[115,4]]},"1154":{"position":[[25,7],[404,4],[700,7]]},"1163":{"position":[[328,4]]},"1182":{"position":[[328,4]]},"1222":{"position":[[169,4],[1347,7]]},"1225":{"position":[[49,4],[315,4]]},"1246":{"position":[[1158,4]]},"1263":{"position":[[209,4]]},"1270":{"position":[[113,8]]},"1286":{"position":[[343,4]]},"1287":{"position":[[389,4]]},"1288":{"position":[[349,4]]}},"keywords":{}}],["wrappedattachmentscompressionstorag",{"_index":5314,"title":{},"content":{"932":{"position":[[687,36],[950,38]]}},"keywords":{}}],["wrappedkeycompressionstorag",{"_index":4081,"title":{},"content":{"734":{"position":[[134,28],[314,30]]},"1237":{"position":[[577,28],[904,30]]}},"keywords":{}}],["wrappedkeyencryptioncryptojsstorag",{"_index":1894,"title":{},"content":{"315":{"position":[[171,35],[443,37]]},"482":{"position":[[300,35],[483,37]]},"554":{"position":[[525,35],[931,37]]},"564":{"position":[[236,35],[451,37]]},"638":{"position":[[230,35],[335,37]]},"717":{"position":[[558,35],[795,37]]},"1237":{"position":[[654,35],[944,37]]}},"keywords":{}}],["wrappedkeyencryptionwebcryptostorag",{"_index":4025,"title":{},"content":{"718":{"position":[[103,37],[377,38]]},"1184":{"position":[[544,36],[686,38]]}},"keywords":{}}],["wrappedloggerstorag",{"_index":4113,"title":{},"content":{"745":{"position":[[205,20],[401,22]]},"746":{"position":[[241,23],[289,22]]},"747":{"position":[[106,22]]}},"keywords":{}}],["wrappedvalidateajvstorag",{"_index":6283,"title":{},"content":{"1237":{"position":[[506,25],[867,27]]},"1286":{"position":[[200,25],[405,27]]}},"keywords":{}}],["wrappedvalidateismyjsonvalidstorag",{"_index":6387,"title":{},"content":{"1288":{"position":[[183,35],[411,37]]}},"keywords":{}}],["wrappedvalidatezschemastorag",{"_index":6386,"title":{},"content":{"1287":{"position":[[237,29],[451,31]]}},"keywords":{}}],["wrapper",{"_index":370,"title":{"1246":{"position":[[8,7]]}},"content":{"22":{"position":[[190,7]]},"33":{"position":[[28,7]]},"266":{"position":[[782,7],[822,7]]},"432":{"position":[[1024,7]]},"433":{"position":[[431,7]]},"441":{"position":[[418,7]]},"717":{"position":[[469,7]]},"734":{"position":[[33,7]]},"745":{"position":[[17,7]]},"793":{"position":[[401,8]]},"1184":{"position":[[278,7]]},"1198":{"position":[[162,7]]},"1212":{"position":[[54,8]]},"1246":{"position":[[39,7],[383,7],[1270,7],[1310,7],[1672,7],[1712,7]]},"1247":{"position":[[214,7]]},"1279":{"position":[[300,8]]},"1280":{"position":[[231,8]]}},"keywords":{}}],["write",{"_index":230,"title":{"464":{"position":[[17,7]]},"466":{"position":[[9,7]]},"1033":{"position":[[47,7]]},"1115":{"position":[[0,7]]},"1185":{"position":[[6,5]]},"1239":{"position":[[15,6]]}},"content":{"14":{"position":[[854,5]]},"27":{"position":[[107,5]]},"28":{"position":[[340,6]]},"31":{"position":[[104,7]]},"35":{"position":[[219,5]]},"41":{"position":[[276,5]]},"43":{"position":[[442,5]]},"201":{"position":[[294,6]]},"250":{"position":[[27,5]]},"253":{"position":[[176,5]]},"262":{"position":[[282,6]]},"265":{"position":[[656,6]]},"266":{"position":[[886,5]]},"301":{"position":[[164,7]]},"302":{"position":[[368,5],[671,6],[1140,5]]},"304":{"position":[[370,6]]},"358":{"position":[[276,5],[548,5],[647,5],[1063,6]]},"360":{"position":[[191,7]]},"362":{"position":[[717,7]]},"365":{"position":[[281,5]]},"376":{"position":[[335,7],[386,5]]},"380":{"position":[[165,7]]},"386":{"position":[[215,7]]},"392":{"position":[[1964,6]]},"407":{"position":[[138,5]]},"408":{"position":[[2863,6]]},"411":{"position":[[1190,7]]},"412":{"position":[[1265,7],[2364,5],[3292,5],[5516,5],[10125,6],[11326,5],[12944,7]]},"421":{"position":[[1200,6]]},"430":{"position":[[726,5]]},"433":{"position":[[193,5]]},"445":{"position":[[1445,5]]},"453":{"position":[[198,5]]},"458":{"position":[[524,5],[603,5],[1161,5],[1479,6]]},"459":{"position":[[95,7]]},"464":{"position":[[37,7],[489,5],[552,6],[728,6],[787,5],[1232,6]]},"465":{"position":[[468,5]]},"466":{"position":[[450,5]]},"467":{"position":[[573,6],[643,6]]},"469":{"position":[[279,7]]},"474":{"position":[[126,5]]},"477":{"position":[[213,6]]},"481":{"position":[[790,6]]},"489":{"position":[[333,7],[499,5]]},"490":{"position":[[94,6]]},"491":{"position":[[1171,6]]},"496":{"position":[[6,5],[629,5]]},"497":{"position":[[152,6]]},"559":{"position":[[1096,7]]},"566":{"position":[[867,5]]},"630":{"position":[[92,7],[691,5]]},"632":{"position":[[1916,6]]},"634":{"position":[[100,6]]},"635":{"position":[[227,5]]},"642":{"position":[[256,5]]},"647":{"position":[[1,5]]},"648":{"position":[[41,5],[322,6]]},"659":{"position":[[487,5]]},"682":{"position":[[80,6],[173,5],[227,6]]},"685":{"position":[[358,5]]},"686":{"position":[[661,6]]},"687":{"position":[[313,6]]},"688":{"position":[[885,5]]},"690":{"position":[[283,6]]},"696":{"position":[[495,6]]},"698":{"position":[[1095,5],[2309,5]]},"709":{"position":[[490,6],[1133,5]]},"711":{"position":[[584,5]]},"749":{"position":[[6383,5],[8671,5],[16744,5]]},"773":{"position":[[211,5]]},"774":{"position":[[204,6],[225,5],[267,5],[1053,5]]},"775":{"position":[[388,7]]},"785":{"position":[[326,5],[683,6]]},"795":{"position":[[14,5]]},"835":{"position":[[269,6]]},"854":{"position":[[1212,5]]},"857":{"position":[[474,6]]},"863":{"position":[[344,5]]},"875":{"position":[[1422,6],[1613,7],[3600,6],[4009,5],[5189,5],[5837,6],[8013,7]]},"885":{"position":[[200,6],[1121,5]]},"886":{"position":[[3318,6]]},"898":{"position":[[759,6]]},"908":{"position":[[322,5]]},"932":{"position":[[476,5]]},"970":{"position":[[63,5]]},"973":{"position":[[1,6]]},"981":{"position":[[1151,7]]},"982":{"position":[[97,6]]},"983":{"position":[[460,6],[565,5],[779,6],[819,5]]},"986":{"position":[[107,5],[184,5],[881,5],[916,6]]},"987":{"position":[[440,5]]},"988":{"position":[[4754,7]]},"990":{"position":[[153,5],[418,5],[526,5],[559,5]]},"1002":{"position":[[207,6]]},"1004":{"position":[[244,5]]},"1020":{"position":[[324,7],[529,5]]},"1022":{"position":[[381,6]]},"1032":{"position":[[278,7]]},"1033":{"position":[[44,6],[297,5]]},"1065":{"position":[[41,5]]},"1090":{"position":[[114,5],[1148,5],[1251,5]]},"1093":{"position":[[388,6]]},"1094":{"position":[[478,6]]},"1102":{"position":[[1303,5]]},"1106":{"position":[[87,6],[235,6],[518,6]]},"1108":{"position":[[182,6]]},"1115":{"position":[[1,7],[600,5]]},"1119":{"position":[[12,7]]},"1120":{"position":[[149,5],[453,5],[514,5],[606,6]]},"1137":{"position":[[171,5]]},"1143":{"position":[[572,6]]},"1156":{"position":[[142,7]]},"1162":{"position":[[185,6]]},"1164":{"position":[[849,5],[889,6],[971,6],[1045,6],[1144,6]]},"1165":{"position":[[1015,6]]},"1175":{"position":[[132,5]]},"1177":{"position":[[576,5]]},"1181":{"position":[[251,6]]},"1185":{"position":[[206,5]]},"1186":{"position":[[65,5]]},"1188":{"position":[[140,6],[206,6],[282,6]]},"1192":{"position":[[77,5]]},"1194":{"position":[[314,5]]},"1207":{"position":[[300,7]]},"1208":{"position":[[173,5],[292,5],[1117,5],[1474,5]]},"1209":{"position":[[269,6]]},"1211":{"position":[[523,7]]},"1214":{"position":[[800,5]]},"1215":{"position":[[557,6]]},"1239":{"position":[[100,7]]},"1246":{"position":[[1374,5]]},"1249":{"position":[[390,6]]},"1292":{"position":[[469,7]]},"1295":{"position":[[676,5]]},"1296":{"position":[[641,6]]},"1299":{"position":[[205,6],[280,5],[355,5]]},"1300":{"position":[[425,6],[660,5],[736,6]]},"1301":{"position":[[213,5]]},"1304":{"position":[[1330,5],[1559,5],[1709,5],[1760,5]]},"1305":{"position":[[162,5],[185,5],[657,5],[945,5]]},"1307":{"position":[[36,5],[216,6],[308,5],[332,5],[791,5]]},"1308":{"position":[[54,5]]},"1309":{"position":[[239,5]]},"1314":{"position":[[100,5],[212,6]]},"1315":{"position":[[528,5],[1313,5]]},"1316":{"position":[[640,6]]},"1318":{"position":[[28,5]]},"1320":{"position":[[576,6]]},"1322":{"position":[[416,5]]}},"keywords":{}}],["write.indexeddb",{"_index":3053,"title":{},"content":{"464":{"position":[[536,15]]}},"keywords":{}}],["write/read",{"_index":3775,"title":{},"content":{"659":{"position":[[302,10]]}},"keywords":{}}],["writebuff",{"_index":6207,"title":{},"content":{"1208":{"position":[[1151,11],[1524,11]]}},"keywords":{}}],["writeev",{"_index":3736,"title":{"649":{"position":[[0,13]]}},"content":{"649":{"position":[[23,12]]}},"keywords":{}}],["writerow",{"_index":5132,"title":{},"content":{"886":{"position":[[2401,11],[2472,10]]}},"keywords":{}}],["writes",{"_index":6209,"title":{},"content":{"1208":{"position":[[1216,9]]}},"keywords":{}}],["writes.it",{"_index":6065,"title":{},"content":{"1143":{"position":[[237,9]]}},"keywords":{}}],["writes/sec",{"_index":2737,"title":{},"content":{"412":{"position":[[10077,10]]}},"keywords":{}}],["writessqlit",{"_index":6479,"title":{},"content":{"1302":{"position":[[66,12]]}},"keywords":{}}],["written",{"_index":483,"title":{},"content":{"29":{"position":[[425,8]]},"34":{"position":[[225,7]]},"39":{"position":[[437,7]]},"41":{"position":[[236,7],[373,7]]},"188":{"position":[[9,7]]},"358":{"position":[[87,7]]},"489":{"position":[[433,7]]},"647":{"position":[[214,7]]},"649":{"position":[[69,7]]},"650":{"position":[[47,7]]},"661":{"position":[[43,7],[124,7]]},"688":{"position":[[1075,7]]},"698":{"position":[[1167,7]]},"711":{"position":[[43,7],[176,7]]},"723":{"position":[[1092,7]]},"759":{"position":[[1407,8]]},"764":{"position":[[325,7]]},"767":{"position":[[188,7]]},"768":{"position":[[151,7]]},"769":{"position":[[162,7]]},"836":{"position":[[45,7],[126,7]]},"875":{"position":[[3774,7]]},"983":{"position":[[282,7],[360,7]]},"984":{"position":[[342,7]]},"987":{"position":[[640,7]]},"1058":{"position":[[176,7]]},"1084":{"position":[[65,7]]},"1119":{"position":[[50,7],[140,7]]},"1192":{"position":[[95,7]]},"1207":{"position":[[725,8]]},"1251":{"position":[[87,7]]},"1297":{"position":[[318,7]]},"1300":{"position":[[271,7]]},"1304":{"position":[[406,7]]}},"keywords":{}}],["wrong",{"_index":487,"title":{},"content":{"29":{"position":[[483,6]]},"143":{"position":[[401,6]]},"291":{"position":[[218,5]]},"458":{"position":[[458,6]]},"521":{"position":[[272,6]]},"697":{"position":[[626,6]]},"700":{"position":[[445,5]]},"702":{"position":[[440,5]]},"749":{"position":[[16667,5]]},"761":{"position":[[85,5]]},"781":{"position":[[72,5]]},"795":{"position":[[131,5]]},"799":{"position":[[512,5]]},"837":{"position":[[623,5]]},"881":{"position":[[25,5],[421,8]]},"966":{"position":[[144,6]]},"1126":{"position":[[308,5]]},"1198":{"position":[[1066,5]]}},"keywords":{}}],["wrote",{"_index":1761,"title":{},"content":{"299":{"position":[[1357,5]]},"786":{"position":[[95,5]]}},"keywords":{}}],["wrtc",{"_index":1370,"title":{},"content":{"210":{"position":[[443,5]]},"261":{"position":[[684,5]]},"904":{"position":[[2824,4],[2889,5]]},"911":{"position":[[766,5]]}},"keywords":{}}],["ws",{"_index":5137,"title":{},"content":{"886":{"position":[[3953,3],[4462,2]]},"894":{"position":[[12,2]]},"911":{"position":[[465,2],[596,5]]}},"keywords":{}}],["ws://example.com/subscript",{"_index":5138,"title":{},"content":{"886":{"position":[[3957,32]]}},"keywords":{}}],["ws://example.com:8080",{"_index":6256,"title":{},"content":{"1219":{"position":[[944,23]]},"1220":{"position":[[507,23]]}},"keywords":{}}],["ws://localhost:1337/socket",{"_index":5180,"title":{},"content":{"893":{"position":[[407,28]]}},"keywords":{}}],["wsoption",{"_index":5147,"title":{},"content":{"886":{"position":[[4691,9],[4863,10]]}},"keywords":{}}],["wss://example.com:8080",{"_index":5276,"title":{},"content":{"911":{"position":[[740,25]]}},"keywords":{}}],["wss://signaling.rxdb.info",{"_index":1369,"title":{},"content":{"210":{"position":[[413,29]]},"261":{"position":[[596,29]]},"904":{"position":[[2762,29]]}},"keywords":{}}],["x",{"_index":1438,"title":{},"content":{"243":{"position":[[1,1],[30,1],[72,1],[111,1],[151,1],[182,1],[211,1],[277,1],[326,1],[367,1],[397,1],[429,1],[461,1],[540,1],[943,1],[978,1],[1010,1]]},"412":{"position":[[13926,1]]},"849":{"position":[[1046,1]]},"854":{"position":[[1338,3]]},"987":{"position":[[185,1],[678,1]]}},"keywords":{}}],["xenova/al",{"_index":2213,"title":{},"content":{"391":{"position":[[392,10],[534,11]]},"402":{"position":[[1894,10]]}},"keywords":{}}],["xenova/multilingu",{"_index":2474,"title":{},"content":{"401":{"position":[[547,19]]}},"keywords":{}}],["xenova/paraphras",{"_index":2453,"title":{},"content":{"401":{"position":[[260,17]]}},"keywords":{}}],["xhr",{"_index":3549,"title":{},"content":{"610":{"position":[[190,3]]}},"keywords":{}}],["xy",{"_index":6577,"title":{"1324":{"position":[[22,3]]}},"content":{},"keywords":{}}],["y",{"_index":2765,"title":{},"content":{"412":{"position":[[13934,1]]}},"keywords":{}}],["yarn",{"_index":1083,"title":{},"content":{"128":{"position":[[127,4]]},"333":{"position":[[36,5]]},"578":{"position":[[65,5]]}},"keywords":{}}],["ye",{"_index":2740,"title":{},"content":{"412":{"position":[[10308,3]]},"703":{"position":[[1281,4]]},"875":{"position":[[3993,4]]},"1324":{"position":[[1,4]]}},"keywords":{}}],["year",{"_index":442,"title":{},"content":{"27":{"position":[[344,4]]},"118":{"position":[[430,5]]},"323":{"position":[[688,5]]},"402":{"position":[[1960,4],[2438,5]]},"408":{"position":[[1476,5],[5599,5]]},"455":{"position":[[305,5]]},"705":{"position":[[30,5]]},"780":{"position":[[151,6]]},"1198":{"position":[[335,6]]}},"keywords":{}}],["yj",{"_index":629,"title":{"40":{"position":[[0,4]]},"686":{"position":[[24,5]]}},"content":{"40":{"position":[[1,3],[288,3],[362,3],[621,3]]},"412":{"position":[[3832,3]]},"686":{"position":[[127,4],[737,3]]}},"keywords":{}}],["york",{"_index":2307,"title":{},"content":{"394":{"position":[[611,4]]}},"keywords":{}}],["you'd",{"_index":2603,"title":{},"content":{"410":{"position":[[1684,5]]},"412":{"position":[[11116,5]]},"906":{"position":[[612,5]]}},"keywords":{}}],["you'll",{"_index":1940,"title":{},"content":{"333":{"position":[[214,6]]},"412":{"position":[[7433,6],[11049,6]]},"836":{"position":[[2448,6]]},"1151":{"position":[[51,6]]},"1178":{"position":[[51,6]]}},"keywords":{}}],["you'r",{"_index":1151,"title":{},"content":{"148":{"position":[[311,6]]},"202":{"position":[[365,6]]},"207":{"position":[[91,6]]},"238":{"position":[[119,6]]},"239":{"position":[[100,6]]},"255":{"position":[[213,6]]},"286":{"position":[[140,6]]},"346":{"position":[[482,6]]},"369":{"position":[[341,6],[997,6]]},"371":{"position":[[120,6]]},"388":{"position":[[395,6]]},"412":{"position":[[9026,6]]},"498":{"position":[[111,6]]},"556":{"position":[[1645,6]]},"602":{"position":[[4,6]]},"1006":{"position":[[9,6]]}},"keywords":{}}],["you'v",{"_index":1321,"title":{},"content":{"205":{"position":[[4,6]]},"263":{"position":[[4,6]]},"555":{"position":[[6,6]]},"884":{"position":[[51,6]]}},"keywords":{}}],["youngest",{"_index":5735,"title":{},"content":{"1056":{"position":[[167,8]]}},"keywords":{}}],["your_appwrite_collection_id",{"_index":4909,"title":{},"content":{"862":{"position":[[1267,30]]}},"keywords":{}}],["your_appwrite_database_id",{"_index":4907,"title":{},"content":{"862":{"position":[[1224,28]]}},"keywords":{}}],["yourself",{"_index":2197,"title":{},"content":{"390":{"position":[[1059,8]]},"459":{"position":[[426,9]]},"462":{"position":[[463,8]]},"566":{"position":[[459,9]]},"851":{"position":[[172,8]]},"1031":{"position":[[159,8]]}},"keywords":{}}],["yourself.fix",{"_index":6176,"title":{},"content":{"1198":{"position":[[2259,12]]}},"keywords":{}}],["youtub",{"_index":2557,"title":{},"content":{"408":{"position":[[3049,7]]}},"keywords":{}}],["you’ll",{"_index":1861,"title":{},"content":{"304":{"position":[[271,6]]},"560":{"position":[[615,6]]}},"keywords":{}}],["you’r",{"_index":1565,"title":{},"content":{"254":{"position":[[81,6]]},"567":{"position":[[4,6]]}},"keywords":{}}],["you’v",{"_index":2050,"title":{},"content":{"357":{"position":[[306,6]]}},"keywords":{}}],["z",{"_index":2766,"title":{"1287":{"position":[[9,1]]},"1291":{"position":[[0,1]]}},"content":{"412":{"position":[[13941,1]]},"863":{"position":[[55,2],[60,2]]},"1287":{"position":[[181,1],[297,1]]},"1291":{"position":[[53,1]]},"1292":{"position":[[373,1],[731,1],[993,1]]}},"keywords":{}}],["z0",{"_index":5320,"title":{},"content":{"935":{"position":[[241,2]]},"1084":{"position":[[351,2],[366,2]]}},"keywords":{}}],["z][[a",{"_index":5849,"title":{},"content":{"1084":{"position":[[342,5]]}},"keywords":{}}],["z][a",{"_index":5319,"title":{},"content":{"935":{"position":[[236,4]]}},"keywords":{}}],["za",{"_index":5848,"title":{},"content":{"1084":{"position":[[339,2],[348,2],[363,2]]}},"keywords":{}}],["zero",{"_index":709,"title":{"474":{"position":[[3,4]]},"629":{"position":[[0,4]]},"630":{"position":[[4,4]]},"631":{"position":[[18,4]]}},"content":{"46":{"position":[[299,4]]},"254":{"position":[[509,4]]},"410":{"position":[[186,4]]},"486":{"position":[[27,4]]},"534":{"position":[[334,4]]},"594":{"position":[[332,4]]},"630":{"position":[[722,4]]},"632":{"position":[[1960,4]]},"640":{"position":[[479,4]]},"641":{"position":[[52,4]]},"643":{"position":[[328,4]]},"644":{"position":[[394,4],[600,4]]},"654":{"position":[[437,5]]},"723":{"position":[[2799,4]]},"780":{"position":[[762,4]]},"1115":{"position":[[308,4]]}},"keywords":{}}],["zerosync",{"_index":609,"title":{},"content":{"38":{"position":[[1103,8]]}},"keywords":{}}],["zh",{"_index":2462,"title":{},"content":{"401":{"position":[[396,2]]}},"keywords":{}}],["zone",{"_index":749,"title":{},"content":{"50":{"position":[[52,5],[269,4]]},"129":{"position":[[572,4]]},"286":{"position":[[353,4]]},"898":{"position":[[1179,4]]}},"keywords":{}}],["zone.j",{"_index":746,"title":{"50":{"position":[[28,8]]},"129":{"position":[[28,8]]}},"content":{"50":{"position":[[167,8]]},"129":{"position":[[318,8],[327,7],[435,8]]}},"keywords":{}}],["zone.js/plugins/zon",{"_index":760,"title":{},"content":{"50":{"position":[[485,21]]},"129":{"position":[[705,21]]}},"keywords":{}}],["zschemaclass",{"_index":6391,"title":{},"content":{"1291":{"position":[[10,12]]}},"keywords":{}}],["zschemaclass.registerformat('email",{"_index":6392,"title":{},"content":{"1291":{"position":[[64,36]]}},"keywords":{}}]],"pipeline":["stemmer"]}
\ No newline at end of file
diff --git a/docs/markdown-page/index.html b/docs/markdown-page/index.html
deleted file mode 100644
index b5b32513e7f..00000000000
--- a/docs/markdown-page/index.html
+++ /dev/null
@@ -1,40 +0,0 @@
-
-
-
-
-
-Markdown page example | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
RxDB middleware-hooks (also called pre and post hooks) are functions which are passed control during execution of asynchronous functions.
-The hooks are specified on RxCollection-level and help to create a clear what-happens-when-structure of your code.
-
Hooks can be defined to run parallel or as series one after another.
-Hooks can be synchronous or asynchronous when they return a Promise.
-To stop the operation at a specific hook, throw an error.
Different to mongoose, the validation on document-data is running on the field-level for every change to a document.
-This means if you set the value lastName of a RxDocument, then the validation will only run on the changed field, not the whole document.
-Therefore it is not useful to have validate-hooks when a document is written to the database.
All hooks have the plain data as first parameter, and all but preInsert also have the RxDocument-instance as second parameter. If you want to modify the data in the hook, change attributes of the first parameter.
-
All hook functions are also this-bind to the RxCollection-instance.
This hook is called whenever a RxDocument is constructed.
-You can use postCreate to modify every RxDocument-instance of the collection.
-This adds a flexible way to add specify behavior to every document. You can also use it to add custom getter/setter to documents. PostCreate-hooks cannot be asynchronous.
-
-
\ No newline at end of file
diff --git a/docs/middleware.md b/docs/middleware.md
deleted file mode 100644
index 6fdc25c6d36..00000000000
--- a/docs/middleware.md
+++ /dev/null
@@ -1,232 +0,0 @@
-# Streamlined RxDB Middleware
-
-> Enhance your RxDB workflow with pre and post hooks. Quickly add custom validations, triggers, and events to streamline your asynchronous operations.
-
-# Middleware
-RxDB middleware-hooks (also called pre and post hooks) are functions which are passed control during execution of asynchronous functions.
-The hooks are specified on RxCollection-level and help to create a clear what-happens-when-structure of your code.
-
-Hooks can be defined to run **parallel** or as **series** one after another.
-Hooks can be **synchronous** or **asynchronous** when they return a `Promise`.
-To stop the operation at a specific hook, throw an error.
-
-## List
-RxDB supports the following hooks:
-- preInsert
-- postInsert
-- preSave
-- postSave
-- preRemove
-- postRemove
-- postCreate
-
-### Why is there no validate-hook?
-Different to mongoose, the validation on document-data is running on the field-level for every change to a document.
-This means if you set the value ```lastName``` of a RxDocument, then the validation will only run on the changed field, not the whole document.
-Therefore it is not useful to have validate-hooks when a document is written to the database.
-
-## Use Cases
-Middleware are useful for atomizing model logic and avoiding nested blocks of async code.
-Here are some other ideas:
-
-- complex validation
-- removing dependent documents
-- asynchronous defaults
-- asynchronous tasks that a certain action triggers
-- triggering custom events
-- notifications
-
-## Usage
-All hooks have the plain data as first parameter, and all but `preInsert` also have the `RxDocument`-instance as second parameter. If you want to modify the data in the hook, change attributes of the first parameter.
-
-All hook functions are also `this`-bind to the `RxCollection`-instance.
-
-### Insert
-An insert-hook receives the data-object of the new document.
-
-#### lifecycle
-- RxCollection.insert is called
-- preInsert series-hooks
-- preInsert parallel-hooks
-- schema validation runs
-- new document is written to database
-- postInsert series-hooks
-- postInsert parallel-hooks
-- event is emitted to RxDatabase and RxCollection
-
-#### preInsert
-
-```js
-// series
-myCollection.preInsert(function(plainData){
- // set age to 50 before saving
- plainData.age = 50;
-}, false);
-
-// parallel
-myCollection.preInsert(function(plainData){
-
-}, true);
-
-// async
-myCollection.preInsert(function(plainData){
- return new Promise(res => setTimeout(res, 100));
-}, false);
-
-// stop the insert-operation
-myCollection.preInsert(function(plainData){
- throw new Error('stop');
-}, false);
-```
-
-#### postInsert
-
-```js
-// series
-myCollection.postInsert(function(plainData, rxDocument){
-
-}, false);
-
-// parallel
-myCollection.postInsert(function(plainData, rxDocument){
-
-}, true);
-
-// async
-myCollection.postInsert(function(plainData, rxDocument){
- return new Promise(res => setTimeout(res, 100));
-}, false);
-```
-
-### Save
-A save-hook receives the document which is saved.
-
-#### lifecycle
-- RxDocument.save is called
-- preSave series-hooks
-- preSave parallel-hooks
-- updated document is written to database
-- postSave series-hooks
-- postSave parallel-hooks
-- event is emitted to RxDatabase and RxCollection
-
-#### preSave
-
-```js
-// series
-myCollection.preSave(function(plainData, rxDocument){
- // modify anyField before saving
- plainData.anyField = 'anyValue';
-}, false);
-
-// parallel
-myCollection.preSave(function(plainData, rxDocument){
-
-}, true);
-
-// async
-myCollection.preSave(function(plainData, rxDocument){
- return new Promise(res => setTimeout(res, 100));
-}, false);
-
-// stop the save-operation
-myCollection.preSave(function(plainData, rxDocument){
- throw new Error('stop');
-}, false);
-```
-
-#### postSave
-
-```js
-// series
-myCollection.postSave(function(plainData, rxDocument){
-
-}, false);
-
-// parallel
-myCollection.postSave(function(plainData, rxDocument){
-
-}, true);
-
-// async
-myCollection.postSave(function(plainData, rxDocument){
- return new Promise(res => setTimeout(res, 100));
-}, false);
-```
-
-### Remove
-An remove-hook receives the document which is removed.
-
-#### lifecycle
-- RxDocument.remove is called
-- preRemove series-hooks
-- preRemove parallel-hooks
-- deleted document is written to database
-- postRemove series-hooks
-- postRemove parallel-hooks
-- event is emitted to RxDatabase and RxCollection
-
-#### preRemove
-
-```js
-// series
-myCollection.preRemove(function(plainData, rxDocument){
-
-}, false);
-
-// parallel
-myCollection.preRemove(function(plainData, rxDocument){
-
-}, true);
-
-// async
-myCollection.preRemove(function(plainData, rxDocument){
- return new Promise(res => setTimeout(res, 100));
-}, false);
-
-// stop the remove-operation
-myCollection.preRemove(function(plainData, rxDocument){
- throw new Error('stop');
-}, false);
-```
-
-#### postRemove
-
-```js
-// series
-myCollection.postRemove(function(plainData, rxDocument){
-
-}, false);
-
-// parallel
-myCollection.postRemove(function(plainData, rxDocument){
-
-}, true);
-
-// async
-myCollection.postRemove(function(plainData, rxDocument){
- return new Promise(res => setTimeout(res, 100));
-}, false);
-```
-
-### postCreate
-This hook is called whenever a `RxDocument` is constructed.
-You can use `postCreate` to modify every RxDocument-instance of the collection.
-This adds a flexible way to add specify behavior to every document. You can also use it to add custom getter/setter to documents. PostCreate-hooks cannot be **asynchronous**.
-
-```js
-myCollection.postCreate(function(plainData, rxDocument){
- Object.defineProperty(rxDocument, 'myField', {
- get: () => 'foobar',
- });
-});
-
-const doc = await myCollection.findOne().exec();
-
-console.log(doc.myField);
-// 'foobar'
-```
-
-:::note
-This hook does not run on already created or cached documents. Make sure to add `postCreate`-hooks before interacting with the collection.
-:::
diff --git a/docs/migration-schema.html b/docs/migration-schema.html
deleted file mode 100644
index 743324e16f4..00000000000
--- a/docs/migration-schema.html
+++ /dev/null
@@ -1,201 +0,0 @@
-
-
-
-
-
-Seamless Schema Data Migration with RxDB | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
The RxDB Data Migration Plugin helps developers easily update stored data in their apps when they make changes to the data structure by changing the schema of a RxCollection. This is useful when developers release a new version of the app with a different schema.
-
Imagine you have your awesome messenger-app distributed to many users. After a while, you decide that in your new version, you want to change the schema of the messages-collection. Instead of saving the message-date like 2017-02-12T23:03:05+00:00 you want to have the unix-timestamp like 1486940585 to make it easier to compare dates. To accomplish this, you change the schema and increase the version-number and you also change your code where you save the incoming messages. But one problem remains: what happens with the messages which are already stored in the database on the user's device in the old schema?
-
With RxDB you can provide migrationStrategies for your collections that automatically (or on call) transform your existing data from older to newer schemas. This assures that the client's data always matches your newest code-version.
-
Add the migration plugin
-
To enable the data migration, you have to add the migration-schema plugin.
-
import { addRxPlugin } from 'rxdb';
-import { RxDBMigrationSchemaPlugin } from 'rxdb/plugins/migration-schema';
-addRxPlugin(RxDBMigrationSchemaPlugin);
Upon creation of a collection, you have to provide migrationStrategies when your schema's version-number is greater than 0. To do this, you have to add an object to the migrationStrategies property where a function for every schema-version is assigned. A migrationStrategy is a function which gets the old document-data as a parameter and returns the new, transformed document-data. If the strategy returns null, the document will be removed instead of migrated.
-
myDatabase.addCollections({
- messages: {
- schema: messageSchemaV1,
- migrationStrategies: {
- // 1 means, this transforms data from version 0 to version 1
- 1: function(oldDoc){
- oldDoc.time = new Date(oldDoc.time).getTime(); // string to unix
- return oldDoc;
- }
- }
- }
-});
-
Asynchronous strategies can also be used:
-
myDatabase.addCollections({
- messages: {
- schema: messageSchemaV1,
- migrationStrategies: {
- 1: function(oldDoc){
- oldDoc.time = new Date(oldDoc.time).getTime(); // string to unix
- return oldDoc;
- },
- /**
- * 2 means, this transforms data from version 1 to version 2
- * this returns a promise which resolves with the new document-data
- */
- 2: function(oldDoc){
- // in the new schema (version: 2) we defined 'senderCountry' as required field (string)
- // so we must get the country of the message-sender from the server
- const coordinates = oldDoc.coordinates;
- return fetch('http://myserver.com/api/countryByCoordinates/'+coordinates+'/')
- .then(response => {
- const response = response.json();
- oldDoc.senderCountry = response;
- return oldDoc;
- });
- }
- }
- }
-});
-
you can also filter which documents should be migrated:
-
myDatabase.addCollections({
- messages: {
- schema: messageSchemaV1,
- migrationStrategies: {
- // 1 means, this transforms data from version 0 to version 1
- 1: function(oldDoc){
- oldDoc.time = new Date(oldDoc.time).getTime(); // string to unix
- return oldDoc;
- },
- /**
- * this removes all documents older then 2017-02-12
- * they will not appear in the new collection
- */
- 2: function(oldDoc){
- if(oldDoc.time < 1486940585) return null;
- else return oldDoc;
- }
- }
- }
-});
By default, the migration automatically happens when the collection is created. Calling RxDatabase.addCollections() returns only when the migration has finished.
-If you have lots of data or the migrationStrategies take a long time, it might be better to start the migration 'by hand' and show the migration-state to the user as a loading-bar.
-
const messageCol = await myDatabase.addCollections({
- messages: {
- schema: messageSchemaV1,
- autoMigrate: false, // <- migration will not run at creation
- migrationStrategies: {
- 1: async function(oldDoc){
- ...
- anything that takes very long
- ...
- return oldDoc;
- }
- }
- }
-});
-
-// check if migration is needed
-const needed = await messageCol.migrationNeeded();
-if(needed === false) {
- return;
-}
-
-// start the migration
-messageCol.startMigration(10); // 10 is the batch-size, how many docs will run at parallel
-
-const migrationState = messageCol.getMigrationState();
-
-// 'start' the observable
-migrationState.$.subscribe({
- next: state => console.dir(state),
- error: error => console.error(error),
- complete: () => console.log('done')
-});
-
-// the emitted states look like this:
-{
- status: 'RUNNING' // oneOf 'RUNNING' | 'DONE' | 'ERROR'
- count: {
- total: 50, // amount of documents which must be migrated
- handled: 0, // amount of handled docs
- percent: 0 // percentage [0-100]
- }
-}
-
If you don't want to show the state to the user, you can also use .migratePromise():
RxDatabase.migrationStates() returns an Observable that emits all migration states of any collection of the database.
-Use this when you add collections dynamically and want to show a loading-state of the migrations to the user.
When you store RxAttachments together with your document, they can also be changed, added or removed while running the migration.
-You can do this by mutating the oldDoc._attachments property.
-
import { createBlob } from 'rxdb';
-const migrationStrategies = {
- 1: async function(oldDoc){
- // do nothing with _attachments to keep all attachments and have them in the new collection version.
- return oldDoc;
- },
- 2: async function(oldDoc){
- // set _attachments to an empty object to delete all existing ones during the migration.
- oldDoc._attachments = {};
- return oldDoc;
- }
- 3: async function(oldDoc){
- // update the data field of a single attachment to change its data.
- oldDoc._attachments.myFile.data = await createBlob(
- 'my new text',
- oldDoc._attachments.myFile.content_type
- );
- return oldDoc;
- }
-}
If you use RxDB in a multiInstance environment, like a browser, it will ensure that exactly one tab is running a migration of a collection.
-Also the migrationState.$ events are emitted between browser tabs.
If you use any of the RxReplication plugins, the migration will also run on the internal replication-state storage. It will migrate all assumedMasterState documents
-so that after the migration is done, you do not have to re-run the replication from scratch.
-RxDB assumes that you run the exact same migration on the servers and the clients. Notice that the replication pull-checkpoint will not be migrated. Your backend must be compatible with pull-checkpoints of older versions.
-
Migration should be run on all database instances
-
If you have multiple database instances (for example, if you are running replication inside of a Worker or SharedWorker and have created a database instance inside of the worker), schema migration should be started on all database instances. All instances must know about all migration strategies and any updated schema versions.
-
-
\ No newline at end of file
diff --git a/docs/migration-schema.md b/docs/migration-schema.md
deleted file mode 100644
index 442a6ae5e62..00000000000
--- a/docs/migration-schema.md
+++ /dev/null
@@ -1,213 +0,0 @@
-# Seamless Schema Data Migration with RxDB
-
-> Upgrade your RxDB collections without losing data. Learn how to seamlessly migrate schema changes and keep your apps running smoothly.
-
-# Migrate Database Data on schema changes
-
-The RxDB Data Migration Plugin helps developers easily update stored data in their apps when they make changes to the data structure by changing the schema of a [RxCollection](./rx-collection.md). This is useful when developers release a new version of the app with a different schema.
-
-Imagine you have your awesome messenger-app distributed to many users. After a while, you decide that in your new version, you want to change the schema of the messages-collection. Instead of saving the message-date like `2017-02-12T23:03:05+00:00` you want to have the unix-timestamp like `1486940585` to make it easier to compare dates. To accomplish this, you change the schema and **increase the version-number** and you also change your code where you save the incoming messages. But one problem remains: what happens with the messages which are already stored in the database on the user's device in the old schema?
-
-With RxDB you can provide migrationStrategies for your collections that automatically (or on call) transform your existing data from older to newer schemas. This assures that the client's data always matches your newest code-version.
-
-# Add the migration plugin
-
-To enable the data migration, you have to add the `migration-schema` plugin.
-
-```ts
-import { addRxPlugin } from 'rxdb';
-import { RxDBMigrationSchemaPlugin } from 'rxdb/plugins/migration-schema';
-addRxPlugin(RxDBMigrationSchemaPlugin);
-```
-
-## Providing strategies
-
-Upon creation of a collection, you have to provide migrationStrategies when your schema's version-number is greater than `0`. To do this, you have to add an object to the `migrationStrategies` property where a function for every schema-version is assigned. A migrationStrategy is a function which gets the old document-data as a parameter and returns the new, transformed document-data. If the strategy returns `null`, the document will be removed instead of migrated.
-
-```javascript
-myDatabase.addCollections({
- messages: {
- schema: messageSchemaV1,
- migrationStrategies: {
- // 1 means, this transforms data from version 0 to version 1
- 1: function(oldDoc){
- oldDoc.time = new Date(oldDoc.time).getTime(); // string to unix
- return oldDoc;
- }
- }
- }
-});
-```
-
-Asynchronous strategies can also be used:
-
-```javascript
-myDatabase.addCollections({
- messages: {
- schema: messageSchemaV1,
- migrationStrategies: {
- 1: function(oldDoc){
- oldDoc.time = new Date(oldDoc.time).getTime(); // string to unix
- return oldDoc;
- },
- /**
- * 2 means, this transforms data from version 1 to version 2
- * this returns a promise which resolves with the new document-data
- */
- 2: function(oldDoc){
- // in the new schema (version: 2) we defined 'senderCountry' as required field (string)
- // so we must get the country of the message-sender from the server
- const coordinates = oldDoc.coordinates;
- return fetch('http://myserver.com/api/countryByCoordinates/'+coordinates+'/')
- .then(response => {
- const response = response.json();
- oldDoc.senderCountry = response;
- return oldDoc;
- });
- }
- }
- }
-});
-```
-
-you can also filter which documents should be migrated:
-
-```js
-myDatabase.addCollections({
- messages: {
- schema: messageSchemaV1,
- migrationStrategies: {
- // 1 means, this transforms data from version 0 to version 1
- 1: function(oldDoc){
- oldDoc.time = new Date(oldDoc.time).getTime(); // string to unix
- return oldDoc;
- },
- /**
- * this removes all documents older then 2017-02-12
- * they will not appear in the new collection
- */
- 2: function(oldDoc){
- if(oldDoc.time < 1486940585) return null;
- else return oldDoc;
- }
- }
- }
-});
-```
-
-## autoMigrate
-
-By default, the migration automatically happens when the collection is created. Calling `RxDatabase.addCollections()` returns only when the migration has finished.
-If you have lots of data or the migrationStrategies take a long time, it might be better to start the migration 'by hand' and show the migration-state to the user as a loading-bar.
-
-```javascript
-const messageCol = await myDatabase.addCollections({
- messages: {
- schema: messageSchemaV1,
- autoMigrate: false, // <- migration will not run at creation
- migrationStrategies: {
- 1: async function(oldDoc){
- ...
- anything that takes very long
- ...
- return oldDoc;
- }
- }
- }
-});
-
-// check if migration is needed
-const needed = await messageCol.migrationNeeded();
-if(needed === false) {
- return;
-}
-
-// start the migration
-messageCol.startMigration(10); // 10 is the batch-size, how many docs will run at parallel
-
-const migrationState = messageCol.getMigrationState();
-
-// 'start' the observable
-migrationState.$.subscribe({
- next: state => console.dir(state),
- error: error => console.error(error),
- complete: () => console.log('done')
-});
-
-// the emitted states look like this:
-{
- status: 'RUNNING' // oneOf 'RUNNING' | 'DONE' | 'ERROR'
- count: {
- total: 50, // amount of documents which must be migrated
- handled: 0, // amount of handled docs
- percent: 0 // percentage [0-100]
- }
-}
-```
-
-If you don't want to show the state to the user, you can also use `.migratePromise()`:
-
-```js
-const migrationPromise = messageCol.migratePromise(10);
-await migratePromise;
-```
-
-## migrationStates()
-
-`RxDatabase.migrationStates()` returns an `Observable` that emits all migration states of any collection of the database.
-Use this when you add collections dynamically and want to show a loading-state of the migrations to the user.
-
-```js
-const allStatesObservable = myDatabase.migrationStates();
-allStatesObservable.subscribe(allStates => {
- allStates.forEach(migrationState => {
- console.log(
- 'migration state of ' +
- migrationState.collection.name
- );
- });
-});
-```
-
-## Migrating attachments
-
-When you store `RxAttachment`s together with your document, they can also be changed, added or removed while running the migration.
-You can do this by mutating the `oldDoc._attachments` property.
-
-```js
-import { createBlob } from 'rxdb';
-const migrationStrategies = {
- 1: async function(oldDoc){
- // do nothing with _attachments to keep all attachments and have them in the new collection version.
- return oldDoc;
- },
- 2: async function(oldDoc){
- // set _attachments to an empty object to delete all existing ones during the migration.
- oldDoc._attachments = {};
- return oldDoc;
- }
- 3: async function(oldDoc){
- // update the data field of a single attachment to change its data.
- oldDoc._attachments.myFile.data = await createBlob(
- 'my new text',
- oldDoc._attachments.myFile.content_type
- );
- return oldDoc;
- }
-}
-```
-
-## Migration on multi-tab in browsers
-
-If you use RxDB in a multiInstance environment, like a browser, it will ensure that exactly one tab is running a migration of a collection.
-Also the `migrationState.$` events are emitted between browser tabs.
-
-## Migration and Replication
-
-If you use any of the [RxReplication](./replication.md) plugins, the migration will also run on the internal replication-state storage. It will migrate all `assumedMasterState` documents
-so that after the migration is done, you do not have to re-run the replication from scratch.
-RxDB assumes that you run the exact same migration on the servers and the clients. Notice that the replication `pull-checkpoint` will not be migrated. Your backend must be compatible with pull-checkpoints of older versions.
-
-## Migration should be run on all database instances
-
-If you have multiple database instances (for example, if you are running replication inside of a [Worker](./rx-storage-worker.md) or [SharedWorker](./rx-storage-shared-worker.md) and have created a database instance inside of the worker), schema migration should be started on all database instances. All instances must know about all migration strategies and any updated schema versions.
diff --git a/docs/migration-storage.html b/docs/migration-storage.html
deleted file mode 100644
index 15f7a5c6bc9..00000000000
--- a/docs/migration-storage.html
+++ /dev/null
@@ -1,130 +0,0 @@
-
-
-
-
-
-Migration Storage | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
The storage migration plugin can be used to migrate all data from one existing RxStorage into another. This is useful when:
-
-
You want to migrate from one RxStorage to another one.
-
You want to migrate to a new major RxDB version while keeping the previous saved data. This function only works from the previous major version upwards. Do not use it to migrate like rxdb v9 to v14.
-
-
The storage migration drops deleted documents and filters them out during the migration.
-
Do never change the schema while doing a storage migration
When you migrate between storages, you might want to change the schema in the same process. You should never do that because it will lead to problems afterwards and might make your database unusable.
When you also want to change your schema, first run the storage migration and afterwards run a normal schema migration.
import { migrateStorage } from 'rxdb/plugins/migration-storage';
-import { getRxStorageIndexedDB } from 'rxdb-premium/plugins/storage-indexeddb';
-import { getRxStorageLocalstorage } from 'rxdb-old/plugins/storage-localstorage';
-
-// create the new RxDatabase
-const db = await createRxDatabase({
- name: dbLocation,
- storage: getRxStorageIndexedDB(),
- multiInstance: false
-});
-
-await migrateStorage({
- database: db as any,
- /**
- * Name of the old database,
- * using the storage migration requires that the
- * new database has a different name.
- */
- oldDatabaseName: 'myOldDatabaseName',
- oldStorage: getRxStorageLocalstorage(), // RxStorage of the old database
- batchSize: 500, // batch size
- parallel: false, // <- true if it should migrate all collections in parallel. False (default) if should migrate in serial
- afterMigrateBatch: (input: AfterMigrateBatchHandlerInput) => {
- console.log('storage migration: batch processed');
- }
-});
-
note
Only collections that exist in the new database at the time you call migrateStorage() will have their data migrated.
-
If your old database had collections ['users', 'posts', 'comments'] but your new database only defines ['users', 'posts'], then only users and posts data will be migrated.
-
Any collections missing from the new database will simply be skipped - no data for them will be read or written.
-
This allows you to selectively migrate only certain collections if desired, by choosing which collections to define before invoking migrateStorage().
Then you can run the migration by providing the old storage:
-
/* ... */
-import { migrateStorage } from 'rxdb/plugins/migration-storage';
-import { getRxStorageLocalstorage } from 'rxdb-old/plugins/storage-localstorage'; // <- import from the old RxDB version
-
-await migrateStorage({
- database: db as any,
- /**
- * Name of the old database,
- * using the storage migration requires that the
- * new database has a different name.
- */
- oldDatabaseName: 'myOldDatabaseName',
- oldStorage: getRxStorageLocalstorage(), // RxStorage of the old database
- batchSize: 500, // batch size
- parallel: false,
- afterMigrateBatch: (input: AfterMigrateBatchHandlerInput) => {
- console.log('storage migration: batch processed');
- }
-});
-/* ... */
RxDB Premium has a check in place that ensures that you do not accidentally use the wrong RxDB core and 👑 Premium version together which could break your database state.
-This can be a problem during migrations where you have multiple versions of RxDB in use and it will throw the error Version mismatch detected.
-You can disable that check by importing and running the disableVersionCheck() function from RxDB Premium.
-
// RxDB Premium v15 or newer:
-import {
- disableVersionCheck
-} from 'rxdb-premium-old/plugins/shared';
-disableVersionCheck();
-
-
-// RxDB Premium v14:
-
-// for esm
-import {
- disableVersionCheck
-} from 'rxdb-premium-old/dist/es/shared/version-check.js';
-disableVersionCheck();
-
-// for cjs
-import {
- disableVersionCheck
-} from 'rxdb-premium-old/dist/lib/shared/version-check.js';
-disableVersionCheck();
-
-
\ No newline at end of file
diff --git a/docs/migration-storage.md b/docs/migration-storage.md
deleted file mode 100644
index cc4b2806abe..00000000000
--- a/docs/migration-storage.md
+++ /dev/null
@@ -1,127 +0,0 @@
-# Migration Storage
-
-> Effortlessly migrate your data between storages in RxDB using the Storage Migration plugin. Retain your documents when switching storages or major versions.
-
-# Storage Migration
-
-The storage migration plugin can be used to migrate all data from one existing RxStorage into another. This is useful when:
-
-- You want to migrate from one [RxStorage](./rx-storage.md) to another one.
-- You want to migrate to a new major RxDB version while keeping the previous saved data. This function only works from the previous major version upwards. Do not use it to migrate like rxdb v9 to v14.
-
-
-The storage migration **drops deleted documents** and filters them out during the migration.
-
-:::warning Do never change the schema while doing a storage migration
-
-When you migrate between storages, you might want to change the schema in the same process. You should never do that because it will lead to problems afterwards and might make your database unusable.
-
-When you also want to change your schema, first run the storage migration and afterwards run a normal [schema migration](./migration-schema.md).
-:::
-
-## Usage
-
-Lets say you want to migrate from [LocalStorage RxStorage](./rx-storage-localstorage.md) to the [IndexedDB RxStorage](./rx-storage-indexeddb.md).
-
-```ts
-import { migrateStorage } from 'rxdb/plugins/migration-storage';
-import { getRxStorageIndexedDB } from 'rxdb-premium/plugins/storage-indexeddb';
-import { getRxStorageLocalstorage } from 'rxdb-old/plugins/storage-localstorage';
-
-// create the new RxDatabase
-const db = await createRxDatabase({
- name: dbLocation,
- storage: getRxStorageIndexedDB(),
- multiInstance: false
-});
-
-await migrateStorage({
- database: db as any,
- /**
- * Name of the old database,
- * using the storage migration requires that the
- * new database has a different name.
- */
- oldDatabaseName: 'myOldDatabaseName',
- oldStorage: getRxStorageLocalstorage(), // RxStorage of the old database
- batchSize: 500, // batch size
- parallel: false, // <- true if it should migrate all collections in parallel. False (default) if should migrate in serial
- afterMigrateBatch: (input: AfterMigrateBatchHandlerInput) => {
- console.log('storage migration: batch processed');
- }
-});
-```
-
-:::note
-Only collections that exist in the new database at the time you call migrateStorage() will have their data migrated.
-
-- If your old database had collections `['users', 'posts', 'comments']` but your new database only defines `['users', 'posts']`, then only users and posts data will be migrated.
-- Any collections missing from the new database will simply be skipped - no data for them will be read or written.
-
-This allows you to selectively migrate only certain collections if desired, by choosing which collections to define before invoking `migrateStorage()`.
-:::
-
-## Migrate from a previous RxDB major version
-
-To migrate from a previous RxDB major version, you have to install the 'old' RxDB in the `package.json`
-
-```json
-{
- "dependencies": {
- "rxdb-old": "npm:rxdb@14.17.1",
- }
-}
-```
-
-Then you can run the migration by providing the old storage:
-
-```ts
-/* ... */
-import { migrateStorage } from 'rxdb/plugins/migration-storage';
-import { getRxStorageLocalstorage } from 'rxdb-old/plugins/storage-localstorage'; // <- import from the old RxDB version
-
-await migrateStorage({
- database: db as any,
- /**
- * Name of the old database,
- * using the storage migration requires that the
- * new database has a different name.
- */
- oldDatabaseName: 'myOldDatabaseName',
- oldStorage: getRxStorageLocalstorage(), // RxStorage of the old database
- batchSize: 500, // batch size
- parallel: false,
- afterMigrateBatch: (input: AfterMigrateBatchHandlerInput) => {
- console.log('storage migration: batch processed');
- }
-});
-/* ... */
-```
-
-## Disable Version Check on [RxDB Premium 👑](/premium/)
-
-RxDB Premium has a check in place that ensures that you do not accidentally use the wrong RxDB core and 👑 Premium version together which could break your database state.
-This can be a problem during migrations where you have multiple versions of RxDB in use and it will throw the error `Version mismatch detected`.
-You can disable that check by importing and running the `disableVersionCheck()` function from RxDB Premium.
-
-```ts
-// RxDB Premium v15 or newer:
-import {
- disableVersionCheck
-} from 'rxdb-premium-old/plugins/shared';
-disableVersionCheck();
-
-// RxDB Premium v14:
-
-// for esm
-import {
- disableVersionCheck
-} from 'rxdb-premium-old/dist/es/shared/version-check.js';
-disableVersionCheck();
-
-// for cjs
-import {
- disableVersionCheck
-} from 'rxdb-premium-old/dist/lib/shared/version-check.js';
-disableVersionCheck();
-```
diff --git a/docs/newsletter/index.html b/docs/newsletter/index.html
deleted file mode 100644
index e2c3f2ed319..00000000000
--- a/docs/newsletter/index.html
+++ /dev/null
@@ -1,39 +0,0 @@
-
-
-
-
-
-Newsletter - RxDB - JavaScript Database | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
RxDB is a fast, reactive realtime NoSQL database made for JavaScript applications like Websites, hybrid Apps, Electron-Apps, Progressive Web Apps and Node.js. While RxDB was initially created to be used with UI applications, it has been matured and optimized to make it useful for pure server-side use cases. It can be used as embedded, local database inside of the Node.js JavaScript process, or it can be used similar to a database server that Node.js can connect to. The RxStorage layer makes it possible to switch out the underlying storage engine which makes RxDB a very flexible database that can be optimized for many scenarios.
To get a "normal" database connection where the data is persisted to a file system, the RxDB real time database provides multiple storage implementations that work in Node.js.
-
The FoundationDB storage connects to a FoundationDB cluster which itself is just a distributed key-value engine. RxDB adds the NoSQL query-engine, indexes and other features on top of it.
-It scales horizontally because you can always add more servers to the FoundationDB cluster to increase the capacity.
-Setting up a RxDB database is pretty simple. You import the FoundationDB RxStorage and tell RxDB to use that when calling createRxDatabase:
-
import { createRxDatabase } from 'rxdb';
-import { getRxStorageFoundationDB } from 'rxdb/plugins/storage-foundationdb';
-
-const db = await createRxDatabase({
- name: 'exampledb',
- storage: getRxStorageFoundationDB({
- apiVersion: 620,
- clusterFile: '/path/to/fdb.cluster'
- })
-});
-
-// add a collection
-await db.addCollections({
- users: {
- schema: mySchema
- }
-});
-
-// run a query
-const result = await db.users.find({
- selector: {
- name: 'foobar'
- }
-}).exec();
-
-
Another alternative storage is the SQLite RxStorage that stores the data inside of a SQLite filebased database. The SQLite storage is faster than FoundationDB and does not require to set up a cluster or anything because SQLite directly stores and reads the data inside of the filesystem. The downside of that is that it only scales vertically.
Because the SQLite RxStorage is not free and you might not want to set up a FoundationDB cluster, there is also the option to use the LokiJS RxStorage together with the filesystem adapter. This will store the data as plain json in a file and load everything into memory on startup. This works great for small prototypes but it is not recommended to be used in production.
-
import { createRxDatabase } from 'rxdb';
-const LokiFsStructuredAdapter = require('lokijs/src/loki-fs-structured-adapter.js');
-import { getRxStorageLoki } from 'rxdb/plugins/storage-lokijs';
-import sqlite3 from 'sqlite3';
-const myRxDatabase = await createRxDatabase({
- name: 'path/to/database/file/foobar.db',
- storage: getRxStorageLoki({
- adapter: new LokiFsStructuredAdapter()
- })
-});
-
Here is a performance comparison chart of the different storages (lower is better):
One of the easiest way to use RxDB in Node.js is to use the Memory RxStorage. As the name implies, it stores the data directly in-memory of the Node.js JavaScript process. This makes it really fast to read and write data but of course the data is not persisted and will be lost when the nodejs process exits. Often the in-memory option is used when RxDB is used in unit tests because it automatically cleans up everything afterwards.
-
import { createRxDatabase } from 'rxdb';
-import { getRxStorageMemory } from 'rxdb/plugins/storage-memory';
-
-const db = await createRxDatabase({
- name: 'exampledb',
- storage: getRxStorageMemory()
-});
-
Also notice that the default memory limit of Node.js is 4gb (might change of newer versions) so for bigger datasets you might want to increase the limit with the max-old-space-size flag:
-
# increase the Node.js memory limit to 8GB
-node --max-old-space-size=8192 index.js
If you want to have the performance of an in-memory database but require persistency of the data, you can use the memory-mapped storage. On database creation it will load all data into the memory and on writes it will first write the data into memory and later also write it to the persistent storage in the background. In the following example the FoundationDB storage is used, but any other RxStorage can be used as persistence layer.
Using a local, embedded database in Node.js works great until you have to share the data with another Node.js process or another server at all.
-To share the database state with other instances, RxDB provides two different methods. One is replication and the other is the remote RxStorage.
-The replication copies over the whole database set to other instances live-replicates all ongoing writes. This has the benefit of scaling better because each of your microservice will run queries on its own copy of the dataset.
-Sometimes however you might not want to store the full dataset on each microservice. Then it is better to use the remote RxStorage and connect it to the "main" database. The remote storage will run all operations the main database and return the result to the calling database.
Check out the MongoDB RxStorage that uses MongoDB for the database connection from your Node.js application and runs the RxDB real time database on top of it.
-
-
\ No newline at end of file
diff --git a/docs/nodejs-database.md b/docs/nodejs-database.md
deleted file mode 100644
index fd69f9ee4e0..00000000000
--- a/docs/nodejs-database.md
+++ /dev/null
@@ -1,140 +0,0 @@
-# RxDB - The Real-Time Database for Node.js
-
-> Discover how RxDB brings flexible, reactive NoSQL to Node.js. Scale effortlessly, persist data, and power your server-side apps with ease.
-
-# Node.js Database
-
-[RxDB](https://rxdb.info) is a fast, reactive realtime NoSQL **database** made for **JavaScript** applications like Websites, hybrid Apps, [Electron-Apps](./electron-database.md), Progressive Web Apps and **Node.js**. While RxDB was initially created to be used with UI applications, it has been matured and optimized to make it useful for pure server-side use cases. It can be used as embedded, local database inside of the Node.js JavaScript process, or it can be used similar to a database server that Node.js can connect to. The [RxStorage](./rx-storage.md) layer makes it possible to switch out the underlying storage engine which makes RxDB a very flexible database that can be optimized for many scenarios.
-
-
-
-## Persistent Database
-
-To get a "normal" database connection where the data is persisted to a file system, the RxDB real time database provides multiple [storage implementations](./rx-storage.md) that work in Node.js.
-
-The [FoundationDB](./rx-storage-foundationdb.md) storage connects to a [FoundationDB](https://github.com/apple/foundationdb) cluster which itself is just a distributed key-value engine. RxDB adds the NoSQL query-engine, indexes and other features on top of it.
-It scales horizontally because you can always add more servers to the FoundationDB cluster to increase the capacity.
-Setting up a RxDB database is pretty simple. You import the FoundationDB RxStorage and tell RxDB to use that when calling `createRxDatabase`:
-
-```typescript
-import { createRxDatabase } from 'rxdb';
-import { getRxStorageFoundationDB } from 'rxdb/plugins/storage-foundationdb';
-
-const db = await createRxDatabase({
- name: 'exampledb',
- storage: getRxStorageFoundationDB({
- apiVersion: 620,
- clusterFile: '/path/to/fdb.cluster'
- })
-});
-
-// add a collection
-await db.addCollections({
- users: {
- schema: mySchema
- }
-});
-
-// run a query
-const result = await db.users.find({
- selector: {
- name: 'foobar'
- }
-}).exec();
-
-```
-
-Another alternative storage is the [SQLite RxStorage](./rx-storage-sqlite.md) that stores the data inside of a SQLite filebased database. The SQLite storage is faster than FoundationDB and does not require to set up a cluster or anything because SQLite directly stores and reads the data inside of the filesystem. The downside of that is that it only scales vertically.
-
-```ts
-import { createRxDatabase } from 'rxdb';
-import {
- getRxStorageSQLite,
- getSQLiteBasicsNode
-} from 'rxdb-premium/plugins/storage-sqlite';
-import sqlite3 from 'sqlite3';
-const myRxDatabase = await createRxDatabase({
- name: 'path/to/database/file/foobar.db',
- storage: getRxStorageSQLite({
- sqliteBasics: getSQLiteBasicsNode(sqlite3)
- })
-});
-```
-
-Because the SQLite RxStorage is not free and you might not want to set up a FoundationDB cluster, there is also the option to use the [LokiJS RxStorage](./rx-storage-lokijs.md) together with the filesystem adapter. This will store the data as plain json in a file and load everything into memory on startup. This works great for small prototypes but it is not recommended to be used in production.
-
-```ts
-import { createRxDatabase } from 'rxdb';
-const LokiFsStructuredAdapter = require('lokijs/src/loki-fs-structured-adapter.js');
-import { getRxStorageLoki } from 'rxdb/plugins/storage-lokijs';
-import sqlite3 from 'sqlite3';
-const myRxDatabase = await createRxDatabase({
- name: 'path/to/database/file/foobar.db',
- storage: getRxStorageLoki({
- adapter: new LokiFsStructuredAdapter()
- })
-});
-```
-
-Here is a performance comparison chart of the different storages (lower is better):
-
-
-
-## RxDB as Node.js In-Memory Database
-
-One of the easiest way to use RxDB in Node.js is to use the [Memory RxStorage](./rx-storage-memory.md). As the name implies, it stores the data directly **in-memory** of the Node.js JavaScript process. This makes it really fast to read and write data but of course the data is not persisted and will be lost when the nodejs process exits. Often the in-memory option is used when RxDB is used in unit tests because it automatically cleans up everything afterwards.
-
-```ts
-import { createRxDatabase } from 'rxdb';
-import { getRxStorageMemory } from 'rxdb/plugins/storage-memory';
-
-const db = await createRxDatabase({
- name: 'exampledb',
- storage: getRxStorageMemory()
-});
-```
-
-Also notice that the [default memory limit](https://medium.com/geekculture/node-js-default-memory-settings-3c0fe8a9ba1) of Node.js is 4gb (might change of newer versions) so for bigger datasets you might want to increase the limit with the `max-old-space-size` flag:
-
-```bash
-# increase the Node.js memory limit to 8GB
-node --max-old-space-size=8192 index.js
-```
-
-## Hybrid In-memory-persistence-synced storage
-
-If you want to have the performance of an **in-memory database** but require persistency of the data, you can use the [memory-mapped storage](./rx-storage-memory-mapped.md). On database creation it will load all data into the memory and on writes it will first write the data into memory and later also write it to the persistent storage in the background. In the following example the FoundationDB storage is used, but any other RxStorage can be used as persistence layer.
-
-```typescript
-import { createRxDatabase } from 'rxdb';
-import { getRxStorageFoundationDB } from 'rxdb/plugins/storage-foundationdb';
-import { getMemoryMappedRxStorage } from 'rxdb-premium/plugins/storage-memory-mapped';
-
-const db = await createRxDatabase({
- name: 'exampledb',
- storage: getMemoryMappedRxStorage({
- storage: getRxStorageFoundationDB({
- apiVersion: 620,
- clusterFile: '/path/to/fdb.cluster'
- })
- })
-});
-```
-
-While this approach gives you a database with great performance and persistent, it has two major downsides:
-- The database size is limited to the memory size
-- Writes can be lost when the Node.js process exists between a write to the memory state and the background persisting.
-
-## Share database between microservices with RxDB
-
-Using a local, embedded database in Node.js works great until you have to share the data with another Node.js process or another server at all.
-To share the database state with other instances, RxDB provides two different methods. One is [replication](./replication.md) and the other is the [remote RxStorage](./rx-storage-remote.md).
-The replication copies over the whole database set to other instances live-replicates all ongoing writes. This has the benefit of scaling better because each of your microservice will run queries on its own copy of the dataset.
-Sometimes however you might not want to store the full dataset on each microservice. Then it is better to use the remote RxStorage and connect it to the "main" database. The remote storage will run all operations the main database and return the result to the calling database.
-
-## Follow up on RxDB+Node.js
-
-- Check out the [RxDB Nodejs example](https://github.com/pubkey/rxdb/tree/master/examples/node).
-- If you haven't done yet, you should start learning about RxDB with the [Quickstart Tutorial](./quickstart.md).
-- I created [a list of embedded JavaSCript databases](./alternatives.md) that you will help you to pick a database if you do not want to use RxDB.
-- Check out the [MongoDB RxStorage](./rx-storage-mongodb.md) that uses MongoDB for the database connection from your Node.js application and runs the RxDB real time database on top of it.
diff --git a/docs/nosql-performance-tips.html b/docs/nosql-performance-tips.html
deleted file mode 100644
index d3dc8aabd2b..00000000000
--- a/docs/nosql-performance-tips.html
+++ /dev/null
@@ -1,176 +0,0 @@
-
-
-
-
-
-RxDB NoSQL Performance Tips | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Performance tips for RxDB and other NoSQL databases
-
In this guide, you'll find techniques to improve the performance of RxDB operations and queries. Notice that all your performance optimizations should be done with a correct tracking of the metrics, otherwise you might change stuff into the wrong direction.
When you run write operations on multiple documents, make sure you use bulk operations instead of single document operations.
-
// wrong ❌
-for(const docData of dataAr){
- await myCollection.insert(docData);
-}
-
-// right ✔️
-await myCollection.bulkInsert(dataAr);
-
Help the query planner by adding operators that better restrict the index range
-
Often on complex queries, RxDB (and other databases) do not pick the optimal index range when querying a result set.
-You can add additional restrictive operators to ensure the query runs over a smaller index space and has a better performance.
-
Lets see some examples for different query types.
-
/**
- * Adding a restrictive operator for an $or query
- * so that it better limits the index space for the time-field.
- */
-const orQuery = {
- selector: {
- $or: [
- {
- time: { $gt: 1234 },
- },
- {
- time: { $eg: 1234 },
- user: { $gt: 'foobar' }
- },
- ]
- time: { $gte: 1234 } // <- add restrictive operator
- }
-}
-
-/**
- * Adding a restrictive operator for an $regex query
- * so that it better limits the index space for the user-field.
- * We know that all matching fields start with 'foo' so we can
- * tell the query to use that as lower constraint for the index.
- */
-const regexQuery = {
- selector: {
- user: {
- $regex: '^foo(.*)0-9$', // a complex regex with a ^ in the beginning
- $gte: 'foo' // <- add restrictive operator
- }
- }
-}
-
-/**
- * Adding a restrictive operator for a query on an enum field.
- * so that it better limits the index space for the time-field.
- */
-
-const enumQuery = {
- selector: {
- /**
- * Here lets assume our status field has the enum type ['idle', 'in-progress', 'done']
- * so our restrictive operator can exclude all documents with 'done' as status.
- */
- status: {
- $in: {
- 'idle',
- 'in-progress',
- },
- $gt: 'done' // <- add restrictive operator on status
- }
- }
-}
Sometime the query planner of the database itself has no chance in picking the best index of the possible given indexes.
-For queries where performance is very important, you might want to explicitly specify which index must be used.
The order of the fields in a compound index is very important for performance. When optimizing index usage, you should try out different orders on the index fields and measure which runs faster. For that it is very important to run tests on real-world data where the distribution of the data is the same as in production.
-For example when there is a query on a user collection with an age and a gender field, it depends if the index ['gender', 'age'] performance better as ['age', 'gender'] based on the distribution of data:
-
const query = myCollection
- .findOne({
- selector: {
- age: {
- $gt: 18
- },
- gender: {
- $eq: 'm'
- }
- },
- /**
- * Because the developer knows that 50% of the documents are 'male',
- * but only 20% are below age 18,
- * it makes sense to enforce using the ['gender', 'age'] index to improve performance.
- * This could not be known by the query planer which might have chosen ['age', 'gender'] instead.
- */
- index: ['gender', 'age']
- });
-
Notice that RxDB has the Query Optimizer Plugin that can be used to automatically find the best indexes.
Having a query where the up-to-date result set is needed more than once, you might want to make the query "hot" by permanently subscribing to it. This ensures that the query result is kept up to date by RxDB ant the EventReduce algorithm at any time so that at the moment you need the current results, it has them already.
-
For example when you use RxDB at Node.js for a webserver, you should use an outer "hot" query instead of running the same query again on every request to a route.
-
// wrong ❌
-app.get('/list', (req, res) => {
- const result = await myCollection.find({/* ... */}).exec();
- res.send(JSON.stringify(result));
-});
-
-// right ✔️
-const query = myCollection.find({/* ... */});
-query.subscribe(); // <- make it hot
-
-app.get('/list', (req, res) => {
- const result = await query.exec();
- res.send(JSON.stringify(result));
-});
For in-app databases like RxDB, it does not make sense to partially parse the JSON of a document. Instead, always the whole document json is parsed and handled. This has a better performance because JSON.parse() in JavaScript directly calls a C++ binding which can parse really fast compared to a partial parsing in JavaScript itself. Also by always having the full document, RxDB can de-duplicate memory caches of document across multiple queries.
-
The downside is that very very big documents with a complex structure can increase query time significantly. Documents fields with complex that are mostly not in use, can be move into an attachment. This would lead RxDB to not fetch the attachment data each time the document is loaded from disc. Instead only when explicitly asked for.
Moving database storage into a WebWorker can significantly improve performance in web applications that use RxDB or similar NoSQL databases. When database operations are executed in the main JavaScript thread, they can block or slow down the User Interface, especially during heavy or complex data operations. By offloading these operations to a WebWorker, you effectively separate the data processing workload from the UI thread. This means the main thread remains free to handle user interactions and render updates without delay, leading to a smoother and more responsive user experience. Additionally, WebWorkers allow for parallel data processing, which can expedite tasks like querying and indexing. This approach not only enhances UI responsiveness but also optimizes overall application performance by leveraging the multi-threading capabilities of modern browsers.
-With RxDB you can use the Worker and SharedWorker plugin to move the query processing away from the main thread.
Utilizing fewer hooks and plugins in RxDB or similar NoSQL database systems can lead to markedly better performance. Each additional hook or plugin introduces extra layers of processing and potential overhead, which can cumulatively slow down database operations. These extensions often execute additional code or enforce extra checks with each operation, such as insertions, updates, or deletions. While they can provide valuable functionalities or custom behaviors, their overuse can inadvertently increase the complexity and execution time of basic database operations. By minimizing their use and only employing essential hooks and plugins, the system can operate more efficiently. This streamlined approach reduces the computational burden on each transaction, leading to faster response times and a more efficient overall data handling process, especially critical in high-load or real-time applications where performance is paramount.
-
-
\ No newline at end of file
diff --git a/docs/nosql-performance-tips.md b/docs/nosql-performance-tips.md
deleted file mode 100644
index 0a2af288573..00000000000
--- a/docs/nosql-performance-tips.md
+++ /dev/null
@@ -1,181 +0,0 @@
-# RxDB NoSQL Performance Tips
-
-> Skyrocket your NoSQL speed with RxDB tips. Learn about bulk writes, optimized queries, and lean plugin usage for peak performance.
-
-# Performance tips for RxDB and other NoSQL databases
-
-In this guide, you'll find techniques to improve the performance of RxDB operations and queries. Notice that all your performance optimizations should be done with a correct tracking of the metrics, otherwise you might change stuff into the wrong direction.
-
-## Use bulk operations
-
-When you run write operations on multiple documents, make sure you use bulk operations instead of single document operations.
-
-```ts
-// wrong ❌
-for(const docData of dataAr){
- await myCollection.insert(docData);
-}
-
-// right ✔️
-await myCollection.bulkInsert(dataAr);
-```
-
-## Help the query planner by adding operators that better restrict the index range
-
-Often on complex queries, RxDB (and other databases) do not pick the optimal index range when querying a result set.
-You can add additional restrictive operators to ensure the query runs over a smaller index space and has a better performance.
-
-Lets see some examples for different query types.
-
-```ts
-/**
- * Adding a restrictive operator for an $or query
- * so that it better limits the index space for the time-field.
- */
-const orQuery = {
- selector: {
- $or: [
- {
- time: { $gt: 1234 },
- },
- {
- time: { $eg: 1234 },
- user: { $gt: 'foobar' }
- },
- ]
- time: { $gte: 1234 } // <- add restrictive operator
- }
-}
-
-/**
- * Adding a restrictive operator for an $regex query
- * so that it better limits the index space for the user-field.
- * We know that all matching fields start with 'foo' so we can
- * tell the query to use that as lower constraint for the index.
- */
-const regexQuery = {
- selector: {
- user: {
- $regex: '^foo(.*)0-9$', // a complex regex with a ^ in the beginning
- $gte: 'foo' // <- add restrictive operator
- }
- }
-}
-
-/**
- * Adding a restrictive operator for a query on an enum field.
- * so that it better limits the index space for the time-field.
- */
-
-const enumQuery = {
- selector: {
- /**
- * Here lets assume our status field has the enum type ['idle', 'in-progress', 'done']
- * so our restrictive operator can exclude all documents with 'done' as status.
- */
- status: {
- $in: {
- 'idle',
- 'in-progress',
- },
- $gt: 'done' // <- add restrictive operator on status
- }
- }
-}
-```
-
-## Set a specific index
-
-Sometime the query planner of the database itself has no chance in picking the best index of the possible given indexes.
-For queries where performance is very important, you might want to explicitly specify which index must be used.
-
-```ts
-const myQuery = myCollection.find({
- selector: {
- /* ... */
- },
- // explicitly specify index
- index: [
- 'fieldA',
- 'fieldB'
- ]
-
-});
-```
-
-## Try different ordering of index fields
-
-The order of the fields in a compound index is very important for performance. When optimizing index usage, you should try out different orders on the index fields and measure which runs faster. For that it is very important to run tests on real-world data where the distribution of the data is the same as in production.
-For example when there is a query on a user collection with an `age` and a `gender` field, it depends if the index `['gender', 'age']` performance better as `['age', 'gender']` based on the distribution of data:
-
-```ts
-const query = myCollection
- .findOne({
- selector: {
- age: {
- $gt: 18
- },
- gender: {
- $eq: 'm'
- }
- },
- /**
- * Because the developer knows that 50% of the documents are 'male',
- * but only 20% are below age 18,
- * it makes sense to enforce using the ['gender', 'age'] index to improve performance.
- * This could not be known by the query planer which might have chosen ['age', 'gender'] instead.
- */
- index: ['gender', 'age']
- });
-```
-
-Notice that RxDB has the [Query Optimizer Plugin](./query-optimizer.md) that can be used to automatically find the best indexes.
-
-## Make a Query "hot" to reduce load
-
-Having a query where the up-to-date result set is needed more than once, you might want to make the query "hot" by permanently subscribing to it. This ensures that the query result is kept up to date by RxDB ant the [EventReduce algorithm](https://github.com/pubkey/event-reduce) at any time so that at the moment you need the current results, it has them already.
-
-For example when you use RxDB at Node.js for a webserver, you should use an outer "hot" query instead of running the same query again on every request to a route.
-
-```ts
-// wrong ❌
-app.get('/list', (req, res) => {
- const result = await myCollection.find({/* ... */}).exec();
- res.send(JSON.stringify(result));
-});
-
-// right ✔️
-const query = myCollection.find({/* ... */});
-query.subscribe(); // <- make it hot
-
-app.get('/list', (req, res) => {
- const result = await query.exec();
- res.send(JSON.stringify(result));
-});
-```
-
-## Store parts of your document data as attachment
-
-For in-app databases like RxDB, it does not make sense to partially parse the `JSON` of a document. Instead, always the whole document json is parsed and handled. This has a better performance because `JSON.parse()` in JavaScript directly calls a C++ binding which can parse really fast compared to a partial parsing in JavaScript itself. Also by always having the full document, RxDB can de-duplicate memory caches of document across multiple queries.
-
-The downside is that very very big documents with a complex structure can increase query time significantly. Documents fields with complex that are mostly not in use, can be move into an [attachment](./rx-attachment.md). This would lead RxDB to not fetch the attachment data each time the document is loaded from disc. Instead only when explicitly asked for.
-
-```ts
-const myDocument = await myCollection.insert({/* ... */});
-const attachment = await myDocument.putAttachment(
- {
- id: 'otherStuff.json',
- data: createBlob(JSON.stringify({/* ... */}), 'application/json'),
- type: 'application/json'
- }
-);
-```
-
-## Process queries in a worker process
-
-Moving database storage into a WebWorker can significantly improve performance in web applications that use RxDB or similar NoSQL databases. When database operations are executed in the main JavaScript thread, they can block or slow down the User Interface, especially during heavy or complex data operations. By offloading these operations to a WebWorker, you effectively separate the data processing workload from the UI thread. This means the main thread remains free to handle user interactions and render updates without delay, leading to a smoother and more responsive user experience. Additionally, WebWorkers allow for parallel data processing, which can expedite tasks like querying and indexing. This approach not only enhances UI responsiveness but also optimizes overall application performance by leveraging the multi-threading capabilities of modern browsers.
-With RxDB you can use the [Worker](./rx-storage-worker.md) and [SharedWorker](./rx-storage-shared-worker.md) plugin to move the query processing away from the main thread.
-
-## Use less plugins and hooks
-
-Utilizing fewer [hooks](./middleware.md) and plugins in RxDB or similar NoSQL database systems can lead to markedly better performance. Each additional hook or plugin introduces extra layers of processing and potential overhead, which can cumulatively slow down database operations. These extensions often execute additional code or enforce extra checks with each operation, such as insertions, updates, or deletions. While they can provide valuable functionalities or custom behaviors, their overuse can inadvertently increase the complexity and execution time of basic database operations. By minimizing their use and only employing essential hooks and plugins, the system can operate more efficiently. This streamlined approach reduces the computational burden on each transaction, leading to faster response times and a more efficient overall data handling process, especially critical in high-load or real-time applications where performance is paramount.
diff --git a/docs/offline-first.html b/docs/offline-first.html
deleted file mode 100644
index 43fbb0d70c3..00000000000
--- a/docs/offline-first.html
+++ /dev/null
@@ -1,97 +0,0 @@
-
-
-
-
-
-Local First / Offline First | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Local-First (aka offline first) is a software paradigm where the software stores data locally at the clients device and must work as well offline as it does online.
-To implement this, you have to store data at the client side, so that your application can still access it when the internet goes away.
-This can be either done with complex caching strategies, or by using an local-first, offline database (like RxDB) that stores the data inside of a local database like IndexedDB and replicates it from and to the backend in the background. This makes the local database, not the server, the gateway for all persistent changes in application state.
-
-
Offline first is not about having no internet connection
While in the past, internet connection was an unstable, things are changing especially for mobile devices.
-Mobile networks become better and having no internet becomes less common even in remote locations.
-So if we did not care about offline first applications in the past, why should we even care now?
-In the following I will point out why offline first applications are better, not because they support offline usage, but because of other reasons.
In 'normal' web applications, most user interactions like fetching, saving or deleting data, correspond to a request to the backend server. This means that each of these interactions require the user to await the unknown latency to and from a remote server while looking at a loading spinner.
-In offline-first apps, the operations go directly against the local storage which happens almost instantly. There is no perceptible loading time and so it is not even necessary to implement a loading spinner at all. As soon as the user clicks, the UI represents the new state as if it was already changed in the backend.
Many, even big websites like amazon, reddit and stack overflow do not handle multi tab usage correctly. When a user has multiple tabs of the website open and does a login on one of these tabs, the state does not change on the other tabs.
-On offline first applications, there is always exactly one state of the data across all tabs. Offline first databases (like RxDB) store the data inside of IndexedDb and share the state between all tabs of the same origin.
In the past, often the bandwidth was the limiting factor on determining the loading time of an application.
-But while bandwidth has improved over the years, latency became the limiting factor.
-You can always increase the bandwidth by setting up more cables or sending more Starlink satellites to space.
-But reducing the latency is not so easy. It is defined by the physical properties of the transfer medium, the speed of light and the distance to the server. All of these three are hard to optimize.
-
Offline first application benefit from that because sending the initial state to the client can be done much faster with more bandwidth. And once the data is there, we do no longer have to care about the latency to the backend server because you can run near zero latency queries locally.
Most websites lie to their users. They do not lie because they display wrong data, but because they display old data that was loaded from the backend at the time the user opened the site.
-To overcome this, you could build a realtime website where you create a websocket that streams updates from the backend to the client. This means work. Your client needs to tell the server which page is currently opened and which updates the client is interested to. Then the server can push updates over the websocket and you can update the UI accordingly.
-
With offline first applications, you already have a realtime replication with the backend. Most offline first databases provide some concept of changestream or data subscriptions and with RxDB you can even directly subscribe to query results or single fields of documents. This makes it easy to have an always updated UI whenever data on the backend changes.
-
-
Scales with data size, not with the amount of user interaction
-
On normal applications, each user interaction can result in multiple requests to the backend server which increase its load.
-The more users interact with your application, the more backend resources you have to provide.
-
Offline first applications do not scale up with the amount of user actions but instead they scale up with the amount of data.
-Once that data is transferred to the client, the user can do as many interactions with it as required without connecting to the server.
In the past you used websites only for a short time. You open it, perform some action and then close it again. This made the first load time the important metric when evaluating page speed.
-Today web applications have changed and with it the way we use them. Single page applications are opened once and then used over the whole day. Chat apps, email clients, PWAs and hybrid apps. All of these were made to have long runtimes.
-This makes the time for user interactions more important than the initial loading time. Offline first applications benefit from that because there is often no loading time on user actions while loading the initial state to the client is not that relevant.
On normal web applications, you make different requests for each kind of data interaction.
-For that you have to define a swagger route, implement a route handler on the backend and create some client code to send or fetch data from that route. The more complex your application becomes, the more REST routes you have to maintain and implement.
-
With offline first apps, you have a way to hack around all this cumbersome work. You just replicate the whole state from the server to the client. The replication does not only run once, you have a realtime replication and all changes at one side are automatically there on the other side. On the client, you can access every piece of state with a simple database query.
-While this of course only works for amounts of data that the client can load and store, it makes implementing prototypes and simple apps much faster.
Data is hard, especially for UI applications where many things can happen at the same time.
-The user is clicking around. Stuff is loaded from the server. All of these things interact with the global state of the app.
-To manage this complexity it is common to use state management libraries like Redux or MobX. With them, you write all this lasagna code to wrap the mutation of data and to make the UI react to all these changes.
-
On offline first apps, your global state is already there in a single place stored inside of the local database.
-You do not have to care whether this data came from the UI, another tab, the backend or another device of the same user. You can just make writes to the database and fetch data out of it.
-
-
\ No newline at end of file
diff --git a/docs/offline-first.md b/docs/offline-first.md
deleted file mode 100644
index b959b7ad5d9..00000000000
--- a/docs/offline-first.md
+++ /dev/null
@@ -1,97 +0,0 @@
-# Local First / Offline First
-
-> Local-First software stores data on client devices for seamless offline and online functionality, enhancing user experience and efficiency.
-
-# Local First / Offline First
-
-Local-First (aka offline first) is a software paradigm where the software stores data locally at the clients device and must work as well offline as it does online.
-To implement this, you have to store data at the client side, so that your application can still access it when the internet goes away.
-This can be either done with complex caching strategies, or by using an local-first, [offline database](./articles/offline-database.md) (like [RxDB](https://rxdb.info)) that stores the data inside of a local database like [IndexedDB](./rx-storage-indexeddb.md) and replicates it from and to the backend in the background. This makes the local database, not the server, the gateway for all persistent changes in application state.
-
-> **Offline first is not about having no internet connection**
-
-:::note
-I wrote a follow-up version of offline/first local first about [Why Local-First Is the Future and what are Its Limitations](./articles/local-first-future.md)
-:::
-
-While in the past, internet connection was an unstable, things are changing especially for mobile devices.
-Mobile networks become better and having no internet becomes less common even in remote locations.
-So if we did not care about offline first applications in the past, why should we even care now?
-In the following I will point out why offline first applications are better, not because they support offline usage, but because of other reasons.
-
-
-
-
-
-
-
-## UX is better without loading spinners
-
-In 'normal' web applications, most user interactions like fetching, saving or deleting data, correspond to a request to the backend server. This means that each of these interactions require the user to await the unknown latency to and from a remote server while looking at a loading spinner.
-In offline-first apps, the operations go directly against the local storage which happens almost instantly. There is no perceptible loading time and so it is not even necessary to implement a loading spinner at all. As soon as the user clicks, the UI represents the new state as if it was already changed in the backend.
-
-
-
-## Multi-tab usage just works
-
-Many, even big websites like amazon, reddit and stack overflow do not handle multi tab usage correctly. When a user has multiple tabs of the website open and does a login on one of these tabs, the state does not change on the other tabs.
-On offline first applications, there is always exactly one state of the data across all tabs. Offline first databases (like RxDB) store the data inside of IndexedDb and **share the state** between all tabs of the same origin.
-
-
-
-## Latency is more important than bandwidth
-
-In the past, often the bandwidth was the limiting factor on determining the loading time of an application.
-But while bandwidth has improved over the years, latency became the limiting factor.
-You can always increase the bandwidth by setting up more cables or sending more Starlink satellites to space.
-But reducing the latency is not so easy. It is defined by the physical properties of the transfer medium, the speed of light and the distance to the server. All of these three are hard to optimize.
-
-Offline first application benefit from that because sending the initial state to the client can be done much faster with more bandwidth. And once the data is there, we do no longer have to care about the latency to the backend server because you can run near [zero](./articles/zero-latency-local-first.md) latency queries locally.
-
-
-
-## Realtime comes for free
-
-Most websites lie to their users. They do not lie because they display wrong data, but because they display **old data** that was loaded from the backend at the time the user opened the site.
-To overcome this, you could build a realtime website where you create a websocket that streams updates from the backend to the client. This means work. Your client needs to tell the server which page is currently opened and which updates the client is interested to. Then the server can push updates over the websocket and you can update the UI accordingly.
-
-With offline first applications, you already have a realtime replication with the backend. Most offline first databases provide some concept of changestream or data subscriptions and with [RxDB](https://github.com/pubkey/rxdb) you can even directly subscribe to query results or single fields of documents. This makes it easy to have an always updated UI whenever data on the backend changes.
-
-
-
-## Scales with data size, not with the amount of user interaction
-
-On normal applications, each user interaction can result in multiple requests to the backend server which increase its load.
-The more users interact with your application, the more backend resources you have to provide.
-
-Offline first applications do not scale up with the amount of user actions but instead they scale up with the amount of data.
-Once that data is transferred to the client, the user can do as many interactions with it as required without connecting to the server.
-
-## Modern apps have longer runtimes
-
-In the past you used websites only for a short time. You open it, perform some action and then close it again. This made the first load time the important metric when evaluating page speed.
-Today web applications have changed and with it the way we use them. Single page applications are opened once and then used over the whole day. Chat apps, email clients, PWAs and hybrid apps. All of these were made to have long runtimes.
-This makes the time for user interactions more important than the initial loading time. Offline first applications benefit from that because there is often no loading time on user actions while loading the initial state to the client is not that relevant.
-
-## You might not need REST
-
-On normal web applications, you make different requests for each kind of data interaction.
-For that you have to define a swagger route, implement a route handler on the backend and create some client code to send or fetch data from that route. The more complex your application becomes, the more REST routes you have to maintain and implement.
-
-With offline first apps, you have a way to hack around all this cumbersome work. You just replicate the whole state from the server to the client. The replication does not only run once, you have a **realtime replication** and all changes at one side are automatically there on the other side. On the client, you can access every piece of state with a simple database query.
-While this of course only works for amounts of data that the client can load and store, it makes implementing prototypes and simple apps much faster.
-
-## You might not need Redux
-
-Data is hard, especially for UI applications where many things can happen at the same time.
-The user is clicking around. Stuff is loaded from the server. All of these things interact with the global state of the app.
-To manage this complexity it is common to use state management libraries like Redux or MobX. With them, you write all this lasagna code to wrap the mutation of data and to make the UI react to all these changes.
-
-On offline first apps, your global state is already there in a single place stored inside of the local database.
-You do not have to care whether this data came from the UI, another tab, the backend or another device of the same user. You can just make writes to the database and fetch data out of it.
-
-## Follow up
-
-- Learn how to store and query data with RxDB in the [RxDB Quickstart](./quickstart.md)
-- [Downsides of Offline First](./downsides-of-offline-first.md)
-- I wrote a follow-up version of offline/first local first about [Why Local-First Is the Future and what are Its Limitations](./articles/local-first-future.md)
diff --git a/docs/orm.html b/docs/orm.html
deleted file mode 100644
index 64895e72e08..00000000000
--- a/docs/orm.html
+++ /dev/null
@@ -1,123 +0,0 @@
-
-
-
-
-
-ORM | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Creating your own plugin is very simple. A plugin is basically a javascript-object which overwrites or extends RxDB's internal classes, prototypes, and hooks.
-
A basic plugin:
-
-const myPlugin = {
- rxdb: true, // this must be true so rxdb knows that this is a rxdb-plugin
- /**
- * (optional) init() method
- * that is called when the plugin is added to RxDB for the first time.
- */
- init() {
- // import other plugins or initialize stuff
- },
- /**
- * every value in this object can manipulate the prototype of the keynames class
- * You can manipulate every prototype in this list:
- * @link https://github.com/pubkey/rxdb/blob/master/src/plugin.ts#L22
- */
- prototypes: {
- /**
- * add a function to RxCollection so you can call 'myCollection.hello()'
- *
- * @param {object} prototype of RxCollection
- */
- RxCollection: (proto) => {
- proto.hello = function() {
- return 'world';
- };
- }
- },
- /**
- * some methods are static and can be overwritten in the overwritable-object
- */
- overwritable: {
- validatePassword: function(password) {
- if (password && typeof password !== 'string' || password.length < 10)
- throw new TypeError('password is not valid');
- }
- },
- /**
- * you can add hooks to the hook-list
- */
- hooks: {
- /**
- * add a `foo` property to each document. You can then call myDocument.foo (='bar')
- */
- createRxDocument: {
- /**
- * You can either add the hook running 'before' or 'after'
- * the hooks of other plugins.
- */
- after: function(doc) {
- doc.foo = 'bar';
- }
- }
- }
-};
-
-// now you can import the plugin into rxdb
-addRxPlugin(myPlugin);
The prototypes-property contains a function for each of RxDB's internal prototype that you want to manipulate. Each function gets the prototype-object of the corresponding class as parameter and then can modify it. You can see a list of all available prototypes here
Some of RxDB's functions are not inside of a class-prototype but are static. You can set and overwrite them with the overwritable-object. You can see a list of all overwritables here.
-
hooks
-
Sometimes you don't want to overwrite an existing RxDB-method, but extend it. You can do this by adding hooks which will be called each time the code jumps into the hooks corresponding call. You can find a list of all hooks here.
-
options
-
RxDatabase and RxCollection have an additional options-parameter, which can be filled with any data required be the plugin.
-
const collection = myDatabase.addCollections({
- foo: {
- schema: mySchema,
- options: { // anything can be passed into the options
- foo: ()=>'bar'
- }
- }
-})
-
-// Afterwards you can use these options in your plugin.
-
-collection.options.foo(); // 'bar'
-
-
\ No newline at end of file
diff --git a/docs/plugins.md b/docs/plugins.md
deleted file mode 100644
index ec421a97818..00000000000
--- a/docs/plugins.md
+++ /dev/null
@@ -1,106 +0,0 @@
-# Creating Plugins
-
-> Creating your own plugin is very simple. A plugin is basically a javascript-object which overwrites or extends RxDB's internal classes, prototypes, and hooks.
-
-# Creating Plugins
-
-Creating your own plugin is very simple. A plugin is basically a javascript-object which overwrites or extends RxDB's internal classes, prototypes, and hooks.
-
-A basic plugin:
-
-```javascript
-
-const myPlugin = {
- rxdb: true, // this must be true so rxdb knows that this is a rxdb-plugin
- /**
- * (optional) init() method
- * that is called when the plugin is added to RxDB for the first time.
- */
- init() {
- // import other plugins or initialize stuff
- },
- /**
- * every value in this object can manipulate the prototype of the keynames class
- * You can manipulate every prototype in this list:
- * @link https://github.com/pubkey/rxdb/blob/master/src/plugin.ts#L22
- */
- prototypes: {
- /**
- * add a function to RxCollection so you can call 'myCollection.hello()'
- *
- * @param {object} prototype of RxCollection
- */
- RxCollection: (proto) => {
- proto.hello = function() {
- return 'world';
- };
- }
- },
- /**
- * some methods are static and can be overwritten in the overwritable-object
- */
- overwritable: {
- validatePassword: function(password) {
- if (password && typeof password !== 'string' || password.length < 10)
- throw new TypeError('password is not valid');
- }
- },
- /**
- * you can add hooks to the hook-list
- */
- hooks: {
- /**
- * add a `foo` property to each document. You can then call myDocument.foo (='bar')
- */
- createRxDocument: {
- /**
- * You can either add the hook running 'before' or 'after'
- * the hooks of other plugins.
- */
- after: function(doc) {
- doc.foo = 'bar';
- }
- }
- }
-};
-
-// now you can import the plugin into rxdb
-addRxPlugin(myPlugin);
-```
-
-# Properties
-
-## rxdb
-
-The `rxdb`-property signals that this plugin is an rxdb-plugin. The value should always be `true`.
-
-## prototypes
-
-The `prototypes`-property contains a function for each of RxDB's internal prototype that you want to manipulate. Each function gets the prototype-object of the corresponding class as parameter and then can modify it. You can see a list of all available prototypes [here](https://github.com/pubkey/rxdb/blob/master/src/plugin.ts)
-
-## overwritable
-
-Some of RxDB's functions are not inside of a class-prototype but are static. You can set and overwrite them with the `overwritable`-object. You can see a list of all overwritables [here](https://github.com/pubkey/rxdb/blob/master/src/overwritable.ts).
-
-# hooks
-
-Sometimes you don't want to overwrite an existing RxDB-method, but extend it. You can do this by adding hooks which will be called each time the code jumps into the hooks corresponding call. You can find a list of all hooks [here](https://github.com/pubkey/rxdb/blob/master/src/hooks.ts).
-
-# options
-
-RxDatabase and RxCollection have an additional options-parameter, which can be filled with any data required be the plugin.
-
-```javascript
-const collection = myDatabase.addCollections({
- foo: {
- schema: mySchema,
- options: { // anything can be passed into the options
- foo: ()=>'bar'
- }
- }
-})
-
-// Afterwards you can use these options in your plugin.
-
-collection.options.foo(); // 'bar'
-```
diff --git a/docs/population.html b/docs/population.html
deleted file mode 100644
index cd7ce121307..00000000000
--- a/docs/population.html
+++ /dev/null
@@ -1,167 +0,0 @@
-
-
-
-
-
-Populate and Link Docs in RxDB | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
There are no joins in RxDB but sometimes we still want references to documents in other collections. This is where population comes in. You can specify a relation from one RxDocument to another RxDocument in the same or another RxCollection of the same database.
-Then you can get the referenced document with the population-getter.
To get the referred RxDocument, you can use the populate()-method.
-It takes the field-path as attribute and returns a Promise which resolves to the foreign document or null if not found.
You can also get the populated RxDocument with the direct getter. Therefore you have to add an underscore suffix _ to the fieldname.
-This works also on nested values.
-
-
\ No newline at end of file
diff --git a/docs/population.md b/docs/population.md
deleted file mode 100644
index 1a8f098d783..00000000000
--- a/docs/population.md
+++ /dev/null
@@ -1,161 +0,0 @@
-# Populate and Link Docs in RxDB
-
-> Learn how to reference and link documents across collections in RxDB. Discover easy population without joins and handle complex relationships.
-
-# Population
-
-There are no joins in RxDB but sometimes we still want references to documents in other collections. This is where population comes in. You can specify a relation from one RxDocument to another RxDocument in the same or another RxCollection of the same database.
-Then you can get the referenced document with the population-getter.
-
-This works exactly like population with [mongoose](http://mongoosejs.com/docs/populate.html).
-
-## Schema with ref
-
-The `ref`-keyword in properties describes to which collection the field-value belongs to (has a relationship).
-
-```javascript
-export const refHuman = {
- title: 'human related to other human',
- version: 0,
- primaryKey: 'name',
- properties: {
- name: {
- type: 'string'
- },
- bestFriend: {
- ref: 'human', // refers to collection human
- type: 'string' // ref-values must always be string or ['string','null'] (primary of foreign RxDocument)
- }
- }
-};
-```
-
-You can also have a one-to-many reference by using a string-array.
-
-```js
-export const schemaWithOneToManyReference = {
- version: 0,
- primaryKey: 'name',
- type: 'object',
- properties: {
- name: {
- type: 'string'
- },
- friends: {
- type: 'array',
- ref: 'human',
- items: {
- type: 'string'
- }
- }
- }
-};
-```
-
-## populate()
-
-### via method
-To get the referred RxDocument, you can use the populate()-method.
-It takes the field-path as attribute and returns a Promise which resolves to the foreign document or null if not found.
-
-```javascript
-await humansCollection.insert({
- name: 'Alice',
- bestFriend: 'Carol'
-});
-await humansCollection.insert({
- name: 'Bob',
- bestFriend: 'Alice'
-});
-const doc = await humansCollection.findOne('Bob').exec();
-const bestFriend = await doc.populate('bestFriend');
-console.dir(bestFriend); //> RxDocument[Alice]
-```
-
-### via getter
-You can also get the populated RxDocument with the direct getter. Therefore you have to add an underscore suffix `_` to the fieldname.
-This works also on nested values.
-
-```javascript
-await humansCollection.insert({
- name: 'Alice',
- bestFriend: 'Carol'
-});
-await humansCollection.insert({
- name: 'Bob',
- bestFriend: 'Alice'
-});
-const doc = await humansCollection.findOne('Bob').exec();
-const bestFriend = await doc.bestFriend_; // notice the underscore_
-console.dir(bestFriend); //> RxDocument[Alice]
-```
-
-## Example with nested reference
-
-```javascript
-const myCollection = await myDatabase.addCollections({
- human: {
- schema: {
- version: 0,
- type: 'object',
- properties: {
- name: {
- type: 'string'
- },
- family: {
- type: 'object',
- properties: {
- mother: {
- type: 'string',
- ref: 'human'
- }
- }
- }
- }
- }
- }
-});
-
-const mother = await myDocument.family.mother_;
-console.dir(mother); //> RxDocument
-```
-
-## Example with array
-
-```javascript
-const myCollection = await myDatabase.addCollections({
- human: {
- schema: {
- version: 0,
- type: 'object',
- properties: {
- name: {
- type: 'string'
- },
- friends: {
- type: 'array',
- ref: 'human',
- items: {
- type: 'string'
- }
- }
- }
- }
- }
-});
-
-//[insert other humans here]
-
-await myCollection.insert({
- name: 'Alice',
- friends: [
- 'Bob',
- 'Carol',
- 'Dave'
- ]
-});
-
-const doc = await humansCollection.findOne('Alice').exec();
-const friends = await myDocument.friends_;
-console.dir(friends); //> Array.
-```
diff --git a/docs/premium-submitted/index.html b/docs/premium-submitted/index.html
deleted file mode 100644
index 1f5f38fa83b..00000000000
--- a/docs/premium-submitted/index.html
+++ /dev/null
@@ -1,39 +0,0 @@
-
-
-
-
-
-RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
RxDB Premium Form Submitted
Thank you for submitting the form. You will directly get a confirmation email. Please check your spam folder!. In the next 24 hours you will get an email with a preview of the license agreement.
RxDB's Premium plugins offer advanced features and performance improvements designed for businesses and professionals. They are ideal for commercial or critical projects, providing better performance, a smaller build size, flexible storage engines, secure encryption and other features.
Price Calculator
Calculated Price:
€XX/month
(billed yearly: €)
Buy Now »
If you have any questions, see the FAQ below or fill out the Buy-Now Form to get in contact.
F.A.Q. (click to toggle)
What is the process for making a purchase?
Fill out the Buy now form.
You will get a license agreement that you can sign online.
You will get an invoice via stripe.com.
After payment you get the access token that you can use to add the Premium plugins to your project with these instructions.
Do I need the Premium Plugins?RxDB Core is open source and many use cases can be implemented with the Open Core part of RxDB. There are many RxStorage options and all core plugins that are required for replication, schema validation, encryption and so on, are totally free. As soon as your application is more than a side project you can consider using the premium plugins as an easy way to improve your applications performance and reduce the build size. The main benefit of the Premium Plugins is performance. The Premium RxStorage implementations have a better performance so reading and writing data is much faster especially on low-end devices. You can find a performance comparison here. Also there are additional Premium Plugins that can be used to further optimize the performance of your application like the Query Optimizer or the Sharding plugin.Can I get a free trial period?
We do not currently offer a free trial. Instead, we encourage you to explore RxDB's open-source core to evaluate the technology before purchasing the Premium Plugins.
Access to the Premium Plugins requires a signed licensing agreement, which safeguards both parties but also adds administrative overhead. For this reason, we cannot offer free trials or monthly subscriptions; Premium licenses are provided on an annual basis.
Can I install/build the premium plugins in my CI?Yes, you can safely install and use the Premium Plugins in your CI without additional payment.Which payment methods are accepted?Stripe.com is used as payment processor so most known payment options like credit card, PayPal, SEPA transfer and others are available. A list of all options can be found here.Is there any tracking code inside of the premium plugins?No, the premium plugins themself do not contain any tracking code. When you build your application with RxDB and deploy it to production, it will not make requests from your users to any RxDB server.Can I add more Premium Packages later if I've already purchased some?Yes! You can upgrade or add additional Premium Packages at any time. When you decide to purchase more, we'll calculate a fair upgrade price, meaning you only pay the difference between your existing purchase and the new package total. Your previous payments are fully credited, so you never pay twice for the same plugins.Can I get a discount?There are multiple ways to get a discount:
Contribute to the RxDB github repository
If you have made significant contributions to the RxDB github repository, you can apply for a discount depending on your contribution.
Get 25% off by writing about how you use RxDB
On your company/project website, publish an article/blogpost about how you use RxDB in your project. Include how your setup looks like, how you use RxDB in that setup and what problems you had and how did you overcome them. You also need to link to the RxDB website or documentation pages.
Be active in the RxDB community
If you are active in the RxDB community and discord channel by helping others out or creating educational content like videos and tutorials, feel free to apply for a discount.
Solve one of the free-premium-tasks
For private personal projects there is the option to solve one of the Premium Tasks to get a free 2 years access to the Premium Plugins.
RxDB uses a QueryCache which optimizes the reuse of queries at runtime. This makes sense especially when RxDB is used in UI-applications where people move for- and backwards on different routes or pages and the same queries are used many times. Because of the event-reduce algorithm cached queries are even valuable for optimization, when changes to the database occur between now and the last execution.
To not let RxDB fill up all the memory, a cache replacement policy is defined that clears up the cached queries. This is implemented as a function which runs regularly, depending on when queries are created and the database is idle. The default policy should be good enough for most use cases but defining custom ones can also make sense.
With JavaScript, it is not possible to count references to variables. Therefore it might happen that an uncached RxQuery is still referenced by the users code and used to get results. This should never be a problem, uncached queries must still work. Creating the same query again however, will result in having two RxQuery instances instead of one.
A cache replacement policy is a normal JavaScript function according to the type RxCacheReplacementPolicy.
-It gets the RxCollection as first parameter and the QueryCache as second. Then it iterates over the cached RxQuery instances and uncaches the desired ones with uncacheRxQuery(rxQuery). When you create your custom policy, you should have a look at the default.
-
To apply a custom policy to a RxCollection, add the function as attribute cacheReplacementPolicy.
-
-
\ No newline at end of file
diff --git a/docs/query-cache.md b/docs/query-cache.md
deleted file mode 100644
index 147d795b234..00000000000
--- a/docs/query-cache.md
+++ /dev/null
@@ -1,40 +0,0 @@
-# Efficient RxDB Queries via Query Cache
-
-> Learn how RxDB's Query Cache boosts performance by reusing queries. Discover its default replacement policy and how to define your own.
-
-# QueryCache
-
-RxDB uses a `QueryCache` which optimizes the reuse of queries at runtime. This makes sense especially when RxDB is used in UI-applications where people move for- and backwards on different routes or pages and the same queries are used many times. Because of the [event-reduce algorithm](https://github.com/pubkey/event-reduce) cached queries are even valuable for optimization, when changes to the database occur between now and the last execution.
-
-## Cache Replacement Policy
-
-To not let RxDB fill up all the memory, a `cache replacement policy` is defined that clears up the cached queries. This is implemented as a function which runs regularly, depending on when queries are created and the database is idle. The default policy should be good enough for most use cases but defining custom ones can also make sense.
-
-## The default policy
-
-The default policy starts cleaning up queries depending on how much queries are in the cache and how much document data they contain.
-
-* It will never uncache queries that have subscribers to their results
-* It tries to always have less than 100 queries without subscriptions in the cache.
-* It prefers to uncache queries that have never executed and are older than 30 seconds
-* It prefers to uncache queries that have not been used for longer time
-
-## Other references to queries
-
-With JavaScript, it is not possible to count references to variables. Therefore it might happen that an uncached `RxQuery` is still referenced by the users code and used to get results. This should never be a problem, uncached queries must still work. Creating the same query again however, will result in having two `RxQuery` instances instead of one.
-
-## Using a custom policy
-
-A cache replacement policy is a normal JavaScript function according to the type `RxCacheReplacementPolicy`.
-It gets the `RxCollection` as first parameter and the `QueryCache` as second. Then it iterates over the cached `RxQuery` instances and uncaches the desired ones with `uncacheRxQuery(rxQuery)`. When you create your custom policy, you should have a look at the [default](https://github.com/pubkey/rxdb/blob/master/src/query-cache.ts).
-
-To apply a custom policy to a `RxCollection`, add the function as attribute `cacheReplacementPolicy`.
-
-```ts
-const collection = await myDatabase.addCollections({
- humans: {
- schema: mySchema,
- cacheReplacementPolicy: function(){ /* ... */ }
- }
-});
-```
diff --git a/docs/query-optimizer.html b/docs/query-optimizer.html
deleted file mode 100644
index d4b443506a1..00000000000
--- a/docs/query-optimizer.html
+++ /dev/null
@@ -1,103 +0,0 @@
-
-
-
-
-
-Optimize Client-Side Queries with RxDB | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
The query optimizer can be used to determine which index is the best to use for a given query.
-Because RxDB is used in client side applications, it cannot do any background checks or measurements to optimize the query plan because that would cause significant performance problems.
-
note
The query optimizer is part of the RxDB Premium 👑 plugin that must be purchased. It is not part of the default RxDB module.
import {
- findBestIndex
-} from 'rxdb-premium/plugins/query-optimizer';
-
-import {
- getRxStorageIndexedDB
-} from 'rxdb-premium/plugins/indexeddb';
-
-const bestIndexes = await findBestIndex({
- schema: myRxJsonSchema,
- /**
- * In this example we use the IndexedDB RxStorage,
- * but any other storage can be used for testing.
- */
- storage: getRxStorageIndexedDB(),
- /**
- * Multiple queries can be optimized at the same time
- * which decreases the overall runtime.
- */
- queries: {
- /**
- * Queries can be mapped by a query id,
- * here we use myFirstQuery as query id.
- */
- myFirstQuery: {
- selector: {
- age: {
- $gt: 10
- }
- },
- },
- mySecondQuery: {
- selector: {
- age: {
- $gt: 10
- },
- lastName: {
- $eq: 'Nakamoto'
- }
- },
- }
- },
- testData: [/** data for the documents. **/]
-});
-
This is a build time tool. You should use it to find the best indexes for your queries during build time. Then you store these results and you application can use the best indexes during run time.
-
-
-
It makes no sense to run time optimization with a different RxStorage (+settings) that what you use in production. The result of the query optimizer is heavily dependent on the RxStorage and JavaScript runtime. For example it makes no sense to run the optimization in Node.js and then use the optimized indexes in the browser.
-
-
-
It is very important that you use production liketestData. Finding the best index heavily depends on data distribution and amount of stored/queried documents. For example if you store and query users with an age field, it makes no sense to just use a random number for the age because in production the age of your users is not equally distributed.
-
-
-
The higher you set runs, the more test cycles will be performed and the more significant will be the time measurements which leads to a better index selection.
-
-
\ No newline at end of file
diff --git a/docs/query-optimizer.md b/docs/query-optimizer.md
deleted file mode 100644
index 9d14c851172..00000000000
--- a/docs/query-optimizer.md
+++ /dev/null
@@ -1,72 +0,0 @@
-# Optimize Client-Side Queries with RxDB
-
-> Harness real-world data to fine-tune queries. The build-time RxDB Optimizer finds the perfect index, boosting query speed in any environment.
-
-# Query Optimizer
-
-The query optimizer can be used to determine which index is the best to use for a given query.
-Because RxDB is used in client side applications, it cannot do any background checks or measurements to optimize the query plan because that would cause significant performance problems.
-
-:::note
-The query optimizer is part of the [RxDB Premium 👑](/premium/) plugin that must be purchased. It is not part of the default RxDB module.
-:::
-
-## Usage
-
-```ts
-import {
- findBestIndex
-} from 'rxdb-premium/plugins/query-optimizer';
-
-import {
- getRxStorageIndexedDB
-} from 'rxdb-premium/plugins/indexeddb';
-
-const bestIndexes = await findBestIndex({
- schema: myRxJsonSchema,
- /**
- * In this example we use the IndexedDB RxStorage,
- * but any other storage can be used for testing.
- */
- storage: getRxStorageIndexedDB(),
- /**
- * Multiple queries can be optimized at the same time
- * which decreases the overall runtime.
- */
- queries: {
- /**
- * Queries can be mapped by a query id,
- * here we use myFirstQuery as query id.
- */
- myFirstQuery: {
- selector: {
- age: {
- $gt: 10
- }
- },
- },
- mySecondQuery: {
- selector: {
- age: {
- $gt: 10
- },
- lastName: {
- $eq: 'Nakamoto'
- }
- },
- }
- },
- testData: [/** data for the documents. **/]
-});
-
-```
-
-## Important details
-
-- This is a build time tool. You should use it to find the best indexes for your queries during **build time**. Then you store these results and you application can use the best indexes during **run time**.
-
-- It makes no sense to run time optimization with a different `RxStorage` (+settings) that what you use in production. The result of the query optimizer is heavily dependent on the RxStorage and JavaScript runtime. For example it makes no sense to run the optimization in Node.js and then use the optimized indexes in the browser.
-
-- It is very important that you use **production like** `testData`. Finding the best index heavily depends on data distribution and amount of stored/queried documents. For example if you store and query users with an `age` field, it makes no sense to just use a random number for the age because in production the `age` of your users is not equally distributed.
-
-- The higher you set `runs`, the more test cycles will be performed and the more **significant** will be the time measurements which leads to a better index selection.
diff --git a/docs/quickstart.html b/docs/quickstart.html
deleted file mode 100644
index a8f01eb8dda..00000000000
--- a/docs/quickstart.html
+++ /dev/null
@@ -1,149 +0,0 @@
-
-
-
-
-
-🚀 Quickstart | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Welcome to the RxDB Quickstart. Here we'll learn how to create a simple real-time app with the RxDB database that is able to store and query data persistently in a browser and does realtime updates to the UI on changes.
RxDB is able to run in a wide range of JavaScript runtimes like browsers, mobile apps, desktop and servers. Therefore different storage engines exist that ensure the best performance depending on where RxDB is used.
LocalStorage
IndexedDB 👑
Dexie.js
SQLite
And more...
Use this for the simplest browser setup and very small datasets. It has a tiny bundle size and works anywhere localStorage is available, but is not optimized for large data or heavy writes.
When you use RxDB in development, you should always enable the dev-mode plugin, which adds helpful checks and validations, and tells you if you do something wrong.
import { addRxPlugin } from 'rxdb/plugins/core';
-import { RxDBDevModePlugin } from 'rxdb/plugins/dev-mode';
-
-addRxPlugin(RxDBDevModePlugin);
Schema validation is required when using dev-mode and recommended (but optional) in production. Wrap your storage with the AJV schema validator to ensure all documents match your schema before being saved.
An RxDatabase contains RxCollections for storing and querying data. A collection is similar to an SQL table, and individual records are stored in the collection as JSON documents. An RxDatabase can have as many collections as you need.
-Add a collection with a schema to the database:
await myDatabase.addCollections({
- // name of the collection
- todos: {
- // we use the JSON-schema standard
- schema: {
- version: 0,
- primaryKey: 'id',
- type: 'object',
- properties: {
- id: {
- type: 'string',
- maxLength: 100 // <- the primary key must have maxLength
- },
- name: {
- type: 'string'
- },
- done: {
- type: 'boolean'
- },
- timestamp: {
- type: 'string',
- format: 'date-time'
- }
- },
- required: ['id', 'name', 'done', 'timestamp']
- }
- }
-});
Subscribe to data changes so that your UI is always up-to-date with the data stored on disk. RxDB allows you to subscribe to data changes even when the change happens in another part of your application, another browser tab, or during database replication/synchronization:
const observable = myDatabase.todos.find({
- selector: {
- done: {
- $eq: false
- }
- }
-}).$ // get the observable via RxQuery.$;
-observable.subscribe(notDoneDocs => {
- console.log('Currently have ' + notDoneDocs.length + ' things to do');
- // -> here you would re-render your app to show the updated document list
-});
There is a full implementation of the quickstart guide so you can clone that repository and play with the code.
-
For frameworks and runtimes like Angular, React Native and others, check out the list of example implementations.
-
Also please continue reading the documentation, join the community on our Discord chat, and star the GitHub repo.
-
If you are using RxDB in a production environment and are able to support its continued development, please take a look at the 👑 Premium package which includes additional plugins and utilities.
-
-
\ No newline at end of file
diff --git a/docs/quickstart.md b/docs/quickstart.md
deleted file mode 100644
index a881d0890da..00000000000
--- a/docs/quickstart.md
+++ /dev/null
@@ -1,370 +0,0 @@
-# 🚀 Quickstart
-
-> Learn how to build a realtime app with RxDB. Follow this quickstart for setup, schema creation, data operations, and real-time syncing.
-
-import {Steps} from '@site/src/components/steps';
-import {TriggerEvent} from '@site/src/components/trigger-event';
-import {Tabs} from '@site/src/components/tabs';
-import {NavbarDropdownSyncList} from '@site/src/components/navbar-dropdowns';
-
-
-
-# RxDB Quickstart
-
-Welcome to the RxDB Quickstart. Here we'll learn how to create a simple real-time app with the RxDB database that is able to store and query data persistently in a browser and does realtime updates to the UI on changes.
-
-
-
-
-
-
-
-
-
-### Installation
-Install the RxDB library and the RxJS dependency:
-
-```bash
-npm install rxdb rxjs
-```
-
-### Pick a Storage
-
-RxDB is able to run in a wide range of JavaScript runtimes like browsers, mobile apps, desktop and servers. Therefore different storage engines exist that ensure the best performance depending on where RxDB is used.
-
-
-
-#### LocalStorage
-
-Use this for the simplest browser setup and very small datasets. It has a tiny bundle size and works anywhere [localStorage](./articles/localstorage.md) is available, but is not optimized for large data or heavy writes.
-
-```ts
-import {
- getRxStorageLocalstorage
-} from 'rxdb/plugins/storage-localstorage';
-
-let storage = getRxStorageLocalstorage();
-```
-
-#### IndexedDB 👑
-
-The premium [IndexedDB storage](./rx-storage-indexeddb.md) is a high-performance, browser-native storage with a smaller bundle and faster startup compared to Dexie-based IndexedDB. Recommended when you have [👑 premium](/premium/) access and care about performance and bundle size.
-
-```ts
-import {
- getRxStorageIndexedDB
-} from 'rxdb-premium/plugins/storage-indexeddb';
-
-let storage = getRxStorageDexie();
-```
-
-#### Dexie.js
-
-[Dexie.js](./rx-storage-dexie.md) is a friendly wrapper around IndexedDB and is a great default for browser apps when you don’t use premium. It’s reliable, works well for medium-sized datasets, and is free to use.
-
-```ts
-import {
- getRxStorageDexie
-} from 'rxdb/plugins/storage-dexie';
-
-let storage = getRxStorageDexie();
-```
-
-#### SQLite
-
-[SQLite](./rx-storage-sqlite.md) is ideal for React Native, Capacitor, Electron, Node.js and other hybrid or native environments. It gives you a fast, durable database on disk. Use the 👑 premium storage for production; a trial version exists for quick experimentation.
-
-**Premium SQLite (Node.js example)**
-
-```ts
-import {
- getRxStorageSQLite,
- getSQLiteBasicsNode
-} from 'rxdb-premium/plugins/storage-sqlite';
-
-// Provide the sqliteBasics adapter for your runtime, e.g. Node.js, React Native, etc.
-// For example in Node.js you would derive sqliteBasics from a sqlite3-compatible library:
-import sqlite3 from 'sqlite3';
-
-const storage = getRxStorageSQLite({
- sqliteBasics: getSQLiteBasicsNode(sqlite3)
-});
-```
-
-**SQLite trial storage (Node.js, free)**
-
-```ts
-import {
- getRxStorageSQLiteTrial,
- getSQLiteBasicsNodeNative
-} from 'rxdb/plugins/storage-sqlite';
-import { DatabaseSync } from 'node:sqlite';
-
-const storage = getRxStorageSQLiteTrial({
-sqliteBasics: getSQLiteBasicsNodeNative(DatabaseSync)
-});
-```
-
-#### And more...
-
-There are many more storages such as [MongoDB](./rx-storage-mongodb.md), [DenoKV](./rx-storage-denokv.md), [Filesystem](./rx-storage-filesystem-node.md), [Memory](./rx-storage-memory.md), [Memory-Mapped](./rx-storage-memory-mapped.md), [FoundationDB](./rx-storage-foundationdb.md) and more. [Browse the full list of storages](/rx-storage.html).
-
-
-
-
- Which storage should I use?
-
- RxDB provides a wide range of storages depending on your JavaScript runtime and performance needs.
-
- In the Browser: Use the LocalStorage storage for simple setup and small build size. For bigger datasets, use either the dexie.js storage (free) or the IndexedDB RxStorage if you have 👑 premium access which is a bit faster and has a smaller build size.
- In Electron and ReactNative: Use the SQLite RxStorage if you have 👑 premium access or the trial-SQLite RxStorage for tryouts.
- In Capacitor: Use the SQLite RxStorage if you have 👑 premium access, otherwise use the localStorage storage.
-
-
-
-
-### Dev-Mode
-
-When you use RxDB in development, you should always enable the [dev-mode plugin](./dev-mode.md), which adds helpful checks and validations, and tells you if you do something wrong.
-
-```ts
-import { addRxPlugin } from 'rxdb/plugins/core';
-import { RxDBDevModePlugin } from 'rxdb/plugins/dev-mode';
-
-addRxPlugin(RxDBDevModePlugin);
-```
-
-### Schema Validation
-
-[Schema validation](./schema-validation.md) is required when using dev-mode and recommended (but optional) in production. Wrap your storage with the AJV schema validator to ensure all documents match your schema before being saved.
-
-```ts
-import { wrappedValidateAjvStorage } from 'rxdb/plugins/validate-ajv';
-
-storage = wrappedValidateAjvStorage({ storage });
-```
-
-### Create a Database
-
-A database is the top‑level container in RxDB, responsible for managing collections, coordinating persistence, and providing reactive change streams.
-
-```ts
-import { createRxDatabase } from 'rxdb/plugins/core';
-
-const myDatabase = await createRxDatabase({
- name: 'mydatabase',
- storage: storage
-});
-```
-
-### Add a Collection
-
-An RxDatabase contains [RxCollection](./rx-collection.md)s for storing and querying data. A collection is similar to an SQL table, and individual records are stored in the collection as JSON documents. An [RxDatabase](./rx-database.md) can have as many collections as you need.
-Add a collection with a [schema](./rx-schema.md) to the database:
-
-```ts
-await myDatabase.addCollections({
- // name of the collection
- todos: {
- // we use the JSON-schema standard
- schema: {
- version: 0,
- primaryKey: 'id',
- type: 'object',
- properties: {
- id: {
- type: 'string',
- maxLength: 100 // <- the primary key must have maxLength
- },
- name: {
- type: 'string'
- },
- done: {
- type: 'boolean'
- },
- timestamp: {
- type: 'string',
- format: 'date-time'
- }
- },
- required: ['id', 'name', 'done', 'timestamp']
- }
- }
-});
-```
-
-### Insert a document
-
-Now that we have an RxCollection we can store some [documents](./rx-document.md) in it.
-
-```ts
-const myDocument = await myDatabase.todos.insert({
- id: 'todo1',
- name: 'Learn RxDB',
- done: false,
- timestamp: new Date().toISOString()
-});
-```
-
-### Run a Query
-
-Execute a [query](./rx-query.md) that returns all found documents once:
-
-```ts
-const foundDocuments = await myDatabase.todos.find({
- selector: {
- done: {
- $eq: false
- }
- }
-}).exec();
-```
-
-### Update a Document
-
-In the first found document, set `done` to `true`:
-
-```ts
-const firstDocument = foundDocuments[0];
-await firstDocument.patch({
- done: true
-});
-```
-
-### Delete a document
-
-Delete the document so that it can no longer be found in queries:
-
-```ts
-await firstDocument.remove();
-```
-
-### Observe a Query
-
-Subscribe to data changes so that your UI is always up-to-date with the data stored on disk. RxDB allows you to subscribe to data changes even when the change happens in another part of your application, another browser tab, or during database [replication/synchronization](./replication.md):
-
-```ts
-const observable = myDatabase.todos.find({
- selector: {
- done: {
- $eq: false
- }
- }
-}).$ // get the observable via RxQuery.$;
-observable.subscribe(notDoneDocs => {
- console.log('Currently have ' + notDoneDocs.length + ' things to do');
- // -> here you would re-render your app to show the updated document list
-});
-```
-
-### Observe a Document value
-
-You can also subscribe to the fields of a single RxDocument. Add the `$` sign to the desired field and then subscribe to the returned observable.
-
-```ts
-myDocument.done$.subscribe(isDone => {
- console.log('done: ' + isDone);
-});
-```
-
-### Sync the Client
-
-RxDB has multiple [replication plugins](./replication.md) to replicate database state with a server.
-
-
-
-#### HTTP
-
-```ts
-import {
- replicateHTTP,
- pullQueryBuilderFromRxSchema,
-} from "rxdb/plugins/replication-http";
-
-replicateHTTP({
- collection: db.todos,
- push: {
- handler: async (rows) => {
- return fetch("https:/example.com/api/todos/push", {
- method: "POST",
- headers: { "Content-Type": "application/json" },
- body: JSON.stringify(rows),
- }).then((res) => res.json());
- },
- },
-
- pull: {
- handler: async (lastCheckpoint) => {
- return fetch(
- "https://example.com/api/todos/pull?" +
- new URLSearchParams({
- checkpoint: JSON.stringify(lastCheckpoint)
- }),
- ).then((res) => res.json());
- },
- },
-});
-```
-
-#### GraphQL
-
-```ts
-import { replicateGraphQL } from 'rxdb/plugins/replication-graphql';
-
-replicateGraphQL({
- collection: db.todos,
- url: 'https://example.com/graphql',
- push: { batchSize: 50 },
- pull: { batchSize: 50 }
-});
-```
-
-#### WebRTC (P2P)
-
-The easiest way to replicate data between your clients' devices is the [WebRTC replication plugin](./replication-webrtc.md) that replicates data between devices without a centralized server. This makes it easy to try out replication without having to host anything:
-
-```ts
-import {
- replicateWebRTC,
- getConnectionHandlerSimplePeer
-} from 'rxdb/plugins/replication-webrtc';
-replicateWebRTC({
- collection: myDatabase.todos,
- connectionHandlerCreator: getConnectionHandlerSimplePeer({}),
- topic: '', // <- set any app-specific room id here.
- secret: 'mysecret',
- pull: {},
- push: {}
-})
-```
-
-#### CouchDB
-
-```ts
-import { replicateCouchDB } from 'rxdb/plugins/replication-couchdb';
-
-replicateCouchDB({
- collection: db.todos,
- url: 'http://example.com/todos/',
- push: {},
- pull: {}
-});
-```
-
-#### And more...
-
-Explore all [replication plugins](/replication.html), including advanced conflict handling and custom protocols.
-
-
-
-
-
-
-## Next steps
-
-You are now ready to dive deeper into RxDB.
-- Start reading the full documentation [here](./install.md).
-- There is a full implementation of the [quickstart guide](https://github.com/pubkey/rxdb-quickstart) so you can clone that repository and play with the code.
-- For frameworks and runtimes like Angular, React Native and others, check out the list of [example implementations](https://github.com/pubkey/rxdb/tree/master/examples).
-- Also please continue reading the documentation, join the community on our [Discord chat](/chat/), and star the [GitHub repo](https://github.com/pubkey/rxdb).
-- If you are using RxDB in a production environment and are able to support its continued development, please take a look at the [👑 Premium package](/premium/) which includes additional plugins and utilities.
diff --git a/docs/react-native-database.html b/docs/react-native-database.html
deleted file mode 100644
index 9f1c322dfaa..00000000000
--- a/docs/react-native-database.html
+++ /dev/null
@@ -1,199 +0,0 @@
-
-
-
-
-
-React Native Database - Sync & Store Like a Pro | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
React Native provides a cross-platform JavaScript runtime that runs on different operating systems like Android, iOS, Windows and others. Mostly it is used to create hybrid Apps that run on mobile devices at Android (Google) and iOS (Apple).
-
In difference to the JavaScript runtime of browsers, React Native does not support all HTML5 APIs and so it is not possible to use browser storage possibilities like localstorage, cookies, WebSQL or IndexedDB.
-Instead a different storage solution must be chosen that does not come directly with React Native itself but has to be installed as a library or plugin.
There are multiple database solutions that can be used with React Native. While I would recommend to use RxDB for most use cases, it is still helpful to learn about other alternatives.
AsyncStorage is a key->value storage solution that works similar to the browsers localstorage API. The big difference is that access to the AsyncStorage is not a blocking operation but instead everything is Promise based. This is a big benefit because long running writes and reads will not block your JavaScript process which would cause a laggy user interface.
-
/**
- * Because it is Promise-based,
- * you have to 'await' the call to getItem()
- */
-await setItem('myKey', 'myValue');
-const value = await AsyncStorage.getItem('myKey');
-
AsyncStorage was originally included in React Native itself. But it was deprecated by the React Native Team which recommends to use a community based package instead. There is a community fork of AsyncStorage that is actively maintained and open source.
-
AsyncStorage is fine when only a small amount of data needs to be stored and when no query capabilities besides the key-access are required. Complex queries or features are not supported which makes AsyncStorage not suitable for anything more than storing simple user settings data.
SQLite is a SQL based relational database written in C that was crafted to be embed inside of applications. Operations are written in the SQL query language and SQLite generally follows the PostgreSQL syntax.
-
To use SQLite in React Native, you first have to include the SQLite library itself as a plugin. There a different project out there that can be used, but I would recommend to use the react-native-quick-sqlite project.
-
First you have to install the library into your React Native project via npm install react-native-quick-sqlite.
-In your code you can then import the library and create a database connection:
-
import {open} from 'react-native-quick-sqlite';
-const db = open('myDb.sqlite');
-
Notice that SQLite is a file based database where all data is stored directly in the filesystem of the OS. Therefore to create a connection, you have to provide a filename.
-
With the open connection you can then run SQL queries:
-
let { rows } = db.execute('SELECT somevalue FROM sometable');
-
If that does not work for you, you might want to try the react-native-sqlite-storage project instead which is also very popular.
While SQLite is reliable and well-tested, it has several shortcomings when it comes to using it directly in UI-based React Native applications:
-
-
Lack of Observability: Out of the box, SQLite does not offer a straightforward way to observe queries or document fields. This means that implementing real-time data updates in your UI requires additional layers or libraries.
-
Bridging Overhead: Each query or data operation must go through the React Native bridge to access the native SQLite module. This can introduce performance bottlenecks or responsiveness issues, especially for large or complex data operations.
-
No Built-In Replication: SQLite on its own is not designed for syncing data across multiple devices or with a backend. If your app requires multi-device data syncing or offline-first features, additional tools or a custom solution are necessary.
-
Version Management: Handling schema changes often requires a custom migration process. If your data structure evolves frequently, managing these migrations can be cumbersome.
-
-
Overall, SQLite can be a good solution for straightforward, local-only data storage where complex real-time features or synchronization are not needed. For more advanced requirements, like reactive UI updates or multi-client data replication, you'll likely want a more feature-rich solution.
PouchDB is a JavaScript NoSQL database that follows the API of the Apache CouchDB server database.
-The core feature of PouchDB is the ability to do a two-way replication with any CouchDB compliant endpoint.
-While PouchDB is pretty mature, it has some drawbacks that blocks it from being used in a client-side React Native application. For example it has to store all documents states over time which is required to replicate with CouchDB. Also it is not easily possible to fully purge documents and so it will fill up disc space over time. A big problem is also that PouchDB is not really maintained and major bugs like wrong query results are not fixed anymore. The performance of PouchDB is a general bottleneck which is caused by how it has to store and fetch documents while being compliant to CouchDB. The only real reason to use PouchDB in React Native, is when you want to replicate with a CouchDB or Couchbase server.
-
Because PouchDB is based on an adapter system for storage, there are two options to use it with React Native:
Because the asyncstorage adapter is no longer maintained, it is recommended to use the native-sqlite adapter:
-
First you have to install the adapter and other dependencies via npm install pouchdb-adapter-react-native-sqlite react-native-quick-sqlite react-native-quick-websql.
-
Then you have to craft a custom PouchDB class that combines these plugins:
-
import 'react-native-get-random-values';
-import PouchDB from 'pouchdb-core';
-import HttpPouch from 'pouchdb-adapter-http';
-import replication from 'pouchdb-replication';
-import mapreduce from 'pouchdb-mapreduce';
-import SQLiteAdapterFactory from 'pouchdb-adapter-react-native-sqlite';
-import WebSQLite from 'react-native-quick-websql';
-
-const SQLiteAdapter = SQLiteAdapterFactory(WebSQLite);
-export default PouchDB.plugin(HttpPouch)
- .plugin(replication)
- .plugin(mapreduce)
- .plugin(SQLiteAdapter);
-
This can then be used to create a PouchDB database instance which can store and query documents:
-
const db = new PouchDB('mydb.db', {
- adapter: 'react-native-sqlite'
-});
RxDB is an local-first, NoSQL-database for JavaScript applications. It is reactive which means that you can not only query the current state, but subscribe to all state changes like the result of a query or even a single field of a document. This is great for UI-based realtime applications in a way that makes it easy to develop realtime applications like what you need in React Native.
-
Key benefits of RxDB include:
-
-
Observability and Real-Time Queries: Automatic UI updates when underlying data changes, making it much simpler to build responsive, reactive apps.
It is recommended to use the SQLite RxStorage because it has the best performance and is the easiest to set up. However it is part of the 👑 Premium Plugins which must be purchased, so to try out RxDB with React Native, you might want to use the memory storage first. Later you can replace it with the SQLite storage by just changing two lines of configuration.
-
First you have to install all dependencies via npm install rxdb rxjs rxdb-premium react-native-quick-sqlite.
-Then you can assemble the RxStorage and create a database with it:
const myRxDatabase = await createRxDatabase({
- // Instead of a simple name,
- // you can use a folder path to determine the database location
- name: 'exampledb',
- multiInstance: false, // <- Set this to false when using RxDB in React Native
- storage: getRxStorageSQLite({
- sqliteBasics: getSQLiteBasicsQuickSQLite(open)
- })
-});
-
Using the SQLite RxStorage is pretty fast, which is shown in the performance comparison.
-To learn more about using RxDB with React Native, you might want to check out this example project.
-
Also RxDB provides many other features like encryption or compression. You can even store binary data as attachments or use RxDB as an ORM in React Native.
Realm is another database solution that is particularly popular in the mobile world. Originally an independent project, Realm is now owned by MongoDB, and has seen deeper integration with MongoDB services over time.
-
Pros:
-
-
Fast, object-based database approach with an easy data model.
-
Historically known for good performance and a simple, user-friendly API.
-
-
Downsides:
-
-
Forced MongoDB Cloud Usage: Realm Sync is now tightly coupled with MongoDB Realm Cloud. If you want to use their full sync or advanced features, you are essentially locked into MongoDB's ecosystem, which can be a downside if you need on-premise or custom hosting.
-
Missing or Limited Features: While Realm covers many basic needs, some developers find that advanced queries or certain offline-first features are not as robust or flexible as other solutions.
-
Vendor Lock-In: If you rely heavily on Realm Sync, migrating away from MongoDB's cloud can be difficult because the sync logic and data format are tightly integrated.
-
Community Concerns: Since the MongoDB acquisition, some worry about Realm's open-source future and whether large changes or new features will remain community-friendly.
-
-
Although Realm can be a good solution when used purely as a local database, if you plan on syncing data across clients or want to avoid cloud vendor lock-in, you should consider carefully how MongoDB's ownership might affect your long-term plans.
Firestore is a cloud based database technology that stores data on clients devices and replicates it with the Firebase cloud service that is run by google. It has many features like observability and authentication.
-The main feature lacking is the non-complete offline first support because clients cannot start the application while being offline because then the authentication does not work. After they are authenticated, being offline is no longer a problem.
-Also using firestore creates a vendor lock-in because it is not possible to replicate with a custom self hosted backend.
-
To get started with Firestore in React Native, it is recommended to use the React Native Firebase open-source project.
-
-
\ No newline at end of file
diff --git a/docs/react-native-database.md b/docs/react-native-database.md
deleted file mode 100644
index bd53d128a1b..00000000000
--- a/docs/react-native-database.md
+++ /dev/null
@@ -1,292 +0,0 @@
-# React Native Database - Sync & Store Like a Pro
-
-> Discover top React Native local database solutions - AsyncStorage, SQLite, RxDB, and more. Build offline-ready apps for iOS, Android, and Windows with easy sync.
-
-import {Steps} from '@site/src/components/steps';
-import {Tabs} from '@site/src/components/tabs';
-
-# React Native Database
-
-React Native provides a cross-platform JavaScript runtime that runs on different operating systems like Android, iOS, Windows and others. Mostly it is used to create hybrid Apps that run on mobile devices at Android (Google) and iOS (Apple).
-
-In difference to the JavaScript runtime of browsers, React Native does not support all HTML5 APIs and so it is not possible to use browser storage possibilities like localstorage, cookies, WebSQL or IndexedDB.
-Instead a different storage solution must be chosen that does not come directly with React Native itself but has to be installed as a library or plugin.
-
-
-
-## Database Solutions for React-Native
-
-There are multiple database solutions that can be used with React Native. While I would recommend to use [RxDB](./) for most use cases, it is still helpful to learn about other alternatives.
-
-
-
-
-
-
-
-### AsyncStorage
-
-AsyncStorage is a key->value storage solution that works similar to the browsers [localstorage API](./articles/localstorage.md). The big difference is that access to the AsyncStorage is not a blocking operation but instead everything is `Promise` based. This is a big benefit because long running writes and reads will not block your JavaScript process which would cause a laggy user interface.
-
-```ts
-/**
- * Because it is Promise-based,
- * you have to 'await' the call to getItem()
- */
-await setItem('myKey', 'myValue');
-const value = await AsyncStorage.getItem('myKey');
-```
-
-AsyncStorage was originally included in [React Native itself](https://reactnative.dev/docs/asyncstorage). But it was deprecated by the React Native Team which recommends to use a community based package instead. There is a [community fork of AsyncStorage](https://github.com/react-native-async-storage/async-storage) that is actively maintained and open source.
-
-AsyncStorage is fine when only a small amount of data needs to be stored and when no query capabilities besides the key-access are required. Complex queries or features are not supported which makes AsyncStorage not suitable for anything more than storing simple user settings data.
-
-### SQLite
-
-
-
-SQLite is a SQL based relational database written in C that was crafted to be embed inside of applications. Operations are written in the SQL query language and SQLite generally follows the PostgreSQL syntax.
-
-To use SQLite in React Native, you first have to include the SQLite library itself as a plugin. There a different project out there that can be used, but I would recommend to use the [react-native-quick-sqlite](https://github.com/ospfranco/react-native-quick-sqlite) project.
-
-First you have to install the library into your React Native project via `npm install react-native-quick-sqlite`.
-In your code you can then import the library and create a database connection:
-
-```ts
-import {open} from 'react-native-quick-sqlite';
-const db = open('myDb.sqlite');
-```
-
-Notice that SQLite is a file based database where all data is stored directly in the filesystem of the OS. Therefore to create a connection, you have to provide a filename.
-
-With the open connection you can then run SQL queries:
-
-```ts
-let { rows } = db.execute('SELECT somevalue FROM sometable');
-```
-
-If that does not work for you, you might want to try the [react-native-sqlite-storage](https://github.com/andpor/react-native-sqlite-storage) project instead which is also very popular.
-
-#### Downsides of Using SQLite in UI-Based Apps
-
-While SQLite is reliable and well-tested, it has several shortcomings when it comes to using it directly in UI-based React Native applications:
-
-- **Lack of Observability**: Out of the box, SQLite does not offer a straightforward way to observe queries or document fields. This means that implementing [real-time data updates](./articles/realtime-database.md) in your UI requires additional layers or libraries.
-- **Bridging Overhead**: Each query or data operation must go through the React Native bridge to access the native SQLite module. This can introduce performance bottlenecks or responsiveness issues, especially for large or complex data operations.
-- **No Built-In Replication**: SQLite on its own is not designed for syncing data across multiple devices or with a backend. If your app requires multi-device data syncing or [offline-first](./offline-first.md) features, additional tools or a custom solution are necessary.
-- **Version Management**: Handling schema changes often requires a custom migration process. If your data structure evolves frequently, managing these migrations can be cumbersome.
-
-Overall, SQLite can be a good solution for straightforward, local-only data storage where complex real-time features or synchronization are not needed. For more advanced requirements, like reactive UI updates or multi-client [data replication](./replication.md), you'll likely want a more feature-rich solution.
-
-### PouchDB
-
-
-
-PouchDB is a JavaScript NoSQL database that follows the API of the [Apache CouchDB](https://couchdb.apache.org/) server database.
-The core feature of PouchDB is the ability to do a two-way replication with any CouchDB compliant endpoint.
-While PouchDB is pretty mature, it has some drawbacks that blocks it from being used in a client-side React Native application. For example it has to store all documents states over time which is required to replicate with CouchDB. Also it is not easily possible to fully purge documents and so it will fill up disc space over time. A big problem is also that PouchDB is not really maintained and major bugs like wrong query results are not fixed anymore. The performance of PouchDB is a general bottleneck which is caused by how it has to store and fetch documents while being compliant to CouchDB. The only real reason to use [PouchDB](./rx-storage-pouchdb.md) in React Native, is when you want to replicate with a [CouchDB or Couchbase server](./replication-couchdb.md).
-
-Because PouchDB is based on an [adapter system](./adapters.md) for storage, there are two options to use it with React Native:
-
-- Either use the [pouchdb-adapter-react-native-sqlite](https://github.com/craftzdog/pouchdb-react-native) adapter
-- or the [pouchdb-adapter-asyncstorage](https://github.com/seigel/pouchdb-react-native) adapter.
-
-Because the `asyncstorage` adapter is no longer maintained, it is recommended to use the `native-sqlite` adapter:
-
-First you have to install the adapter and other dependencies via `npm install pouchdb-adapter-react-native-sqlite react-native-quick-sqlite react-native-quick-websql`.
-
-Then you have to craft a custom PouchDB class that combines these plugins:
-
-```ts
-import 'react-native-get-random-values';
-import PouchDB from 'pouchdb-core';
-import HttpPouch from 'pouchdb-adapter-http';
-import replication from 'pouchdb-replication';
-import mapreduce from 'pouchdb-mapreduce';
-import SQLiteAdapterFactory from 'pouchdb-adapter-react-native-sqlite';
-import WebSQLite from 'react-native-quick-websql';
-
-const SQLiteAdapter = SQLiteAdapterFactory(WebSQLite);
-export default PouchDB.plugin(HttpPouch)
- .plugin(replication)
- .plugin(mapreduce)
- .plugin(SQLiteAdapter);
-```
-
-This can then be used to create a PouchDB database instance which can store and query documents:
-
-```ts
-const db = new PouchDB('mydb.db', {
- adapter: 'react-native-sqlite'
-});
-```
-
-### RxDB
-
-
-
-
-
-
-
-[RxDB](https://rxdb.info/) is an [local-first](./articles/local-first-future.md), NoSQL-database for JavaScript applications. It is reactive which means that you can not only query the current state, but subscribe to all state changes like the result of a [query](./rx-query.md) or even a single field of a [document](./rx-document.md). This is great for UI-based realtime applications in a way that makes it easy to develop realtime applications like what you need in React Native.
-
-**Key benefits of RxDB include:**
-
-- Observability and Real-Time Queries: Automatic UI updates when underlying data changes, making it much simpler to build responsive, reactive apps.
-- Offline-First and Sync: Built-in support for [syncing with CouchDB](./replication-couchdb.md), or via [GraphQL replication](./replication-graphql.md), allowing your app to work offline and seamlessly sync when online. It is easy to make the RxDB [replication](./replication.md) compatible with anything that [supports HTTP](./replication-http.md).
-- Encryption and Data Security: RxDB supports [field-level encryption](./articles//react-native-encryption.md) and a robust plugin ecosystem for [compression](./key-compression.md) and [attachments](./rx-attachment.md).
-- Data Modeling and Ease of Use: Offers a schema-based approach that helps catch invalid data early and ensures consistency.
-- **Performance**: Optimized for storing and querying large amounts of data on [mobile devices](./articles/mobile-database.md).
-
-There are multiple ways to use RxDB in React Native:
-
-- Use the [memory RxStorage](./rx-storage-memory.md) that stores the data inside of the JavaScript memory without persistence
-- Use the [SQLite RxStorage](./rx-storage-sqlite.md) with the [react-native-quick-sqlite](https://github.com/ospfranco/react-native-quick-sqlite) plugin.
-
-It is recommended to use the [SQLite RxStorage](./rx-storage-sqlite.md) because it has the best performance and is the easiest to set up. However it is part of the [👑 Premium Plugins](/premium/) which must be purchased, so to try out RxDB with React Native, you might want to use the memory storage first. Later you can replace it with the SQLite storage by just changing two lines of configuration.
-
-First you have to install all dependencies via `npm install rxdb rxjs rxdb-premium react-native-quick-sqlite`.
-Then you can assemble the RxStorage and create a database with it:
-
-
-
-### Import RxDB and SQLite
-```ts
-import {
- createRxDatabase
-} from 'rxdb';
-import { open } from 'react-native-quick-sqlite';
-```
-
-
-
-#### RxDB Core
-
-```ts
-import {
- getRxStorageSQLiteTrial,
- getSQLiteBasicsCapacitor
-} from 'rxdb/plugins/storage-sqlite';
-```
-
-#### RxDB Premium 👑
-
-```ts
-import {
- getRxStorageSQLite,
- getSQLiteBasicsCapacitor
-} from 'rxdb-premium/plugins/storage-sqlite';
-```
-
-
-
-### Create a database
-```ts
-const myRxDatabase = await createRxDatabase({
- // Instead of a simple name,
- // you can use a folder path to determine the database location
- name: 'exampledb',
- multiInstance: false, // <- Set this to false when using RxDB in React Native
- storage: getRxStorageSQLite({
- sqliteBasics: getSQLiteBasicsQuickSQLite(open)
- })
-});
-
-```
-
-### Add a Collection
-```ts
-const collections = await myRxDatabase.addCollections({
- humans: {
- schema: {
- version: 0,
- type: 'object',
- primaryKey: 'id',
- properties: {
- id: { type: 'string', maxLength: 100 },
- name: { type: 'string' },
- age: { type: 'number' }
- },
- required: ['id', 'name']
- }
- }
-});
-```
-
-### Insert a Document
-```ts
-await collections.humans.insert({id: 'foo', name: 'bar'});
-
-```
-
-### Run a Query
-```ts
-const result = await collections.humans.find({
- selector: {
- name: 'bar'
- }
-}).exec();
-
-```
-
-### Observe a Query
-```ts
-await collections.humans.find({
- selector: {
- name: 'bar'
- }
-}).$.subscribe(result => {/* ... */});
-```
-
-
-Using the SQLite RxStorage is pretty fast, which is shown in the [performance comparison](./rx-storage.md#performance-comparison).
-To learn more about using RxDB with React Native, you might want to check out [this example project](https://github.com/pubkey/rxdb/tree/master/examples/react-native).
-
-Also RxDB provides many other features like [encryption](./encryption.md) or [compression](./key-compression.md). You can even store binary data as [attachments](./rx-attachment.md) or use RxDB as an [ORM](./orm.md) in React Native.
-
-### Realm
-
-
-
-Realm is another database solution that is particularly popular in the mobile world. Originally an independent project, Realm is now owned by MongoDB, and has seen deeper integration with MongoDB services over time.
-
-**Pros**:
-- Fast, object-based database approach with an easy data model.
-- Historically known for good performance and a simple, user-friendly API.
-
-**Downsides**:
-- **Forced MongoDB Cloud Usage**: Realm Sync is now tightly coupled with MongoDB Realm Cloud. If you want to use their full sync or advanced features, you are essentially locked into MongoDB's ecosystem, which can be a downside if you need on-premise or custom hosting.
-- **Missing or Limited Features**: While Realm covers many basic needs, some developers find that advanced queries or certain offline-first features are not as robust or flexible as other solutions.
-- **Vendor Lock-In**: If you rely heavily on Realm Sync, migrating away from MongoDB's cloud can be difficult because the sync logic and data format are tightly integrated.
-- **Community Concerns**: Since the MongoDB acquisition, some worry about Realm's open-source future and whether large changes or new features will remain community-friendly.
-
-Although Realm can be a good solution when used purely as a local database, if you plan on syncing data across clients or want to avoid cloud vendor lock-in, you should consider carefully how MongoDB's ownership might affect your long-term plans.
-
-### Firebase / Firestore
-
-
-
-Firestore is a cloud based database technology that stores data on clients devices and replicates it with the Firebase cloud service that is run by google. It has many features like observability and authentication.
-The main feature lacking is the non-complete offline first support because clients cannot start the application while being offline because then the authentication does not work. After they are authenticated, being offline is no longer a problem.
-Also using firestore creates a vendor lock-in because it is not possible to replicate with a custom self hosted backend.
-
-To get started with Firestore in React Native, it is recommended to use the [React Native Firebase](https://github.com/invertase/react-native-firebase) open-source project.
-
-### Summary
-
-| **Characteristic** | **AsyncStorage** | **SQLite** | **PouchDB** | **RxDB** | **Realm** | **Firestore** |
-| ----------------------- | ------------------------------------ | --------------------------------------- | ----------------------------------------- | ---------------------------------------------------------- | --------------------------------------------- | --------------------------------------------------------- |
-| **Database Type** | Key-value store, no advanced queries | Embedded SQL engine in a local file | NoSQL doc store, revision-based | NoSQL doc-based (JSON) | Object-based (MongoDB-owned) | NoSQL doc-based, cloud by Google |
-| **Query Model** | getItem/setItem only | Standard SQL statements | Map/reduce or basic Mango queries | JSON-based query language, optional indexes | Object-level queries, sync with MongoDB Realm | Document queries, limited advanced ops |
-| **Observability** | None built-in | No direct reactivity | Changes feed from Couch-style backend | Built-in reactive queries, UI auto-updates | Local reactivity, or realm sync (cloud) | Real-time snapshots, partial offline |
-| **Offline Replication** | None | None by default | CouchDB-compatible sync | Built-in sync (HTTP, GraphQL, CouchDB, etc.) | Realm Cloud sync only | Basic offline caching, re-auth needed |
-| **Performance** | Fine for small keys/values | Generally good; bridging overhead | OK for mid data sets; can bloat over time | Varies by storage; Dexie/SQLite w/ compression can be fast | Typically fast on mobile | Good read-heavy perf; can be rate-limited, costly |
-| **Schema Handling** | None | SQL schema, migrations needed | No formal schema, doc-based | Optional JSON-Schema, typed checks, compression | Declarative schema, migration needed | No strict schema; rules in console mostly |
-| **Usage Cases** | Store small user settings | Local structured data, moderate queries | Basic doc store, synergy with CouchDB | Reactive offline-first for large or dynamic data | Local object DB, locked to MongoDB realm sync | Real-time Google backend, partial offline, vendor lock-in |
-
-## Follow up
-
-- A good way to learn using RxDB database with React Native is to check out the [RxDB React Native example](https://github.com/pubkey/rxdb/tree/master/examples/react-native) and use that as a tutorial.
-- If you haven't done so yet, you should start learning about RxDB with the [Quickstart Tutorial](./quickstart.md).
-- There is a followup list of other [client side database alternatives](./alternatives.md) that might work with React Native.
diff --git a/docs/react.html b/docs/react.html
deleted file mode 100644
index c7550510ffc..00000000000
--- a/docs/react.html
+++ /dev/null
@@ -1,159 +0,0 @@
-
-
-
-
-
-React | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
RxDB provides first-class support for both React and React Native via a dedicated React integration. This integration makes it possible to use RxDB inside functional components using React Context and hooks, without manually subscribing to observables or managing cleanup logic.
-
The same APIs work in React for the web and in React Native. The only difference between platforms is the storage and environment setup. The React integration itself behaves identically in both.
RxDB is internally reactive and emits changes via RxJS observables. React and React Native, however, are render-driven frameworks that rely on component state and hooks. The RxDB React integration bridges these two models by exposing a small set of hooks that translate RxDB state into React renders.
-
Instead of hiding reactivity behind configuration flags, the integration uses explicit hooks. This makes component behavior predictable, avoids accidental subscriptions, and keeps performance characteristics easy to reason about.
Database creation is not part of the React integration itself. RxDB is created in the same way as in non-React applications, including storage selection, plugins, replication, hooks, and schema definitions.
This separation is intentional. React components should never be responsible for creating or configuring the database. They should only consume it.
import {
- createRxDatabase,
- addRxPlugin
-} from 'rxdb';
-import {
- getRxStorageLocalstorage
-} from 'rxdb/plugins/storage-localstorage';
-
-async function getDatabase() {
- const db = await createRxDatabase({
- name: 'heroesreactdb',
- storage: getRxStorageLocalstorage()
- });
- await db.addCollections({
- heroes: {
- schema: myRxSchema
- }
- });
-
- /**
- * Do other stuff here
- * like setting up middleware
- * or starting replication.
- */
-
- return db;
-}
To use RxDB in a React or React Native application, the database instance must be provided via a context. This is done using RxDatabaseProvider.
The database itself is created outside of React, usually in a separate module. The provider is only responsible for making the database available to components once it has been initialized.
The query is executed when the component renders. If the component re-renders, the query may be re-executed, but changes in the underlying data will not automatically trigger updates.
This hook is well suited for static views, server-side rendering, and cases where live updates are not required.
The component automatically re-renders whenever the query result changes. Subscriptions are created when the component mounts and are cleaned up automatically when the component unmounts.
The returned documents are fully reactive RxDB documents and can be modified or removed directly.
All hooks and providers described on this page work the same way in React Native. The React integration does not rely on any browser-specific APIs.
-
The only platform-specific part of a React Native setup is database creation, where a different storage plugin is typically used. Once the database is created, the React integration behaves identically.
In addition to the React hooks shown on this page, RxDB also supports alternative reactivity models such as signals. RxDB's core reactivity system can be configured to expose reactive values using different primitives instead of RxJS observables, which makes it possible to integrate RxDB with signal-based approaches in React or other frameworks. This is an advanced capability and is independent of the React integration described here. For more details about how RxDB's reactivity system works and how custom reactivity can be configured, see the Reactivity documentation.
RxDB includes a full React example application that demonstrates the patterns described on this page, including database creation outside of React, usage of RxDatabaseProvider, and data access via useRxQuery, useLiveRxQuery, and `useRxCollection.
-
-
-
A corresponding React Native example is also available and shows the same integration concepts applied in a mobile environment, with only the platform-specific storage and setup differing.
-
-
\ No newline at end of file
diff --git a/docs/react.md b/docs/react.md
deleted file mode 100644
index 1198190ee44..00000000000
--- a/docs/react.md
+++ /dev/null
@@ -1,203 +0,0 @@
-# React
-
-> import {Tabs} from '@site/src/components/tabs';
-import {Steps} from '@site/src/components/steps';
-
-import {Tabs} from '@site/src/components/tabs';
-import {Steps} from '@site/src/components/steps';
-
-# React
-
-RxDB provides first-class support for both React and React Native via a dedicated React integration. This integration makes it possible to use RxDB inside functional components using React Context and hooks, without manually subscribing to observables or managing cleanup logic.
-
-The same APIs work in **React** for the web and in [React Native](./react-native-database.md). The only difference between platforms is the storage and environment setup. The React integration itself behaves identically in both.
-
-## General concept
-
-RxDB is internally reactive and emits changes via RxJS observables. React and React Native, however, are render-driven frameworks that rely on component state and hooks. The RxDB React integration bridges these two models by exposing a small set of hooks that translate RxDB state into React renders.
-
-Instead of hiding reactivity behind configuration flags, the integration uses explicit hooks. This makes component behavior predictable, avoids accidental subscriptions, and keeps performance characteristics easy to reason about.
-
-## Usage
-
-
-
-### Installation
-
-Install RxDB and React as usual:
-
-```bash
-npm install rxdb react react-dom
-```
-
-### Database creation
-
-Database creation is not part of the React integration itself. RxDB is created in the same way as in non-React applications, including storage selection, plugins, replication, hooks, and schema definitions.
-
-This separation is intentional. React components should never be responsible for creating or configuring the database. They should only consume it.
-
-```ts
-import {
- createRxDatabase,
- addRxPlugin
-} from 'rxdb';
-import {
- getRxStorageLocalstorage
-} from 'rxdb/plugins/storage-localstorage';
-
-async function getDatabase() {
- const db = await createRxDatabase({
- name: 'heroesreactdb',
- storage: getRxStorageLocalstorage()
- });
- await db.addCollections({
- heroes: {
- schema: myRxSchema
- }
- });
-
- /**
- * Do other stuff here
- * like setting up middleware
- * or starting replication.
- */
-
- return db;
-}
-```
-
-### Providing the database
-
-To use RxDB in a React or React Native application, the database instance must be provided via a context. This is done using `RxDatabaseProvider`.
-
-The database itself is created outside of React, usually in a separate module. The provider is only responsible for making the database available to components once it has been initialized.
-
-```tsx
-import React, { useEffect, useState } from 'react';
-import { RxDatabaseProvider } from 'rxdb/plugins/react';
-import { getDatabase } from './Database';
-
-const App = () => {
- const [database, setDatabase] = useState();
-
- useEffect(() => {
- const initDb = async () => {
- const db = await getDatabase();
- setDatabase(db);
- };
- initDb();
- }, []);
-
- if (database == null) {
- return
- Loading RxDB database...
- ;
- }
-
- return (
-
- {/* your application */}
-
- );
-};
-
-export default App;
-```
-
-### Accessing collections
-
-```ts
-import { useRxCollection } from 'rxdb/plugins/react';
-
-const collection = useRxCollection('heroes');
-```
-
-The hook returns the collection once it becomes available. During the initial render, the value may be `undefined`, so components must handle this case.
-
-This hook does not subscribe to any data. It only provides access to the collection instance.
-
-### Queries
-
-To render query results in your component, use the `useRxQuery` hook.
-
-```tsx
-import { useRxQuery } from 'rxdb/plugins/react';
-
-const query = {
- collection: 'heroes',
- query: {
- selector: {},
- sort: [{ name: 'asc' }]
- }
-};
-
-const HeroCount = () => {
- const { results, loading } = useRxQuery(query);
-
- if (loading) {
- return Loading...;
- }
-
- return Total heroes: {results.length};
-};
-```
-
-The query is executed when the component renders. If the component re-renders, the query may be re-executed, but changes in the underlying data will not automatically trigger updates.
-
-This hook is well suited for static views, server-side rendering, and cases where live updates are not required.
-
-### Live queries
-
-Most React applications require views that automatically update when the database changes. For this purpose, RxDB provides the `useLiveRxQuery` hook.
-
-The hook accepts a query description object and returns the current results together with a loading state.
-
-```tsx
-import { useLiveRxQuery } from 'rxdb/plugins/react';
-
-const query = {
- collection: 'heroes',
- query: {
- selector: {},
- sort: [{ name: 'asc' }]
- }
-};
-
-const HeroList = () => {
- const { results, loading } = useLiveRxQuery(query);
-
- if (loading) {
- return Loading...;
- }
-
- return (
-
- {results.map(hero => (
- {hero.name}
- ))}
-
- );
-};
-```
-
-The component automatically re-renders whenever the query result changes. Subscriptions are created when the component mounts and are cleaned up automatically when the component unmounts.
-
-The returned documents are fully reactive RxDB documents and can be modified or removed directly.
-
-
-
-## React Native compatibility
-
-All hooks and providers described on this page work the same way in React Native. The React integration does not rely on any browser-specific APIs.
-
-The only platform-specific part of a React Native setup is database creation, where a different storage plugin is typically used. Once the database is created, the React integration behaves identically.
-
-## Signals
-
-In addition to the React hooks shown on this page, RxDB also supports alternative reactivity models such as [signals](./reactivity.md#react). RxDB's core reactivity system can be configured to expose reactive values using different primitives instead of RxJS observables, which makes it possible to integrate RxDB with signal-based approaches in React or other frameworks. This is an advanced capability and is independent of the React integration described here. For more details about how RxDB's reactivity system works and how custom reactivity can be configured, see the [Reactivity documentation](./reactivity.md).
-
-## Follow Up
-
-- RxDB includes a full [React example application](https://github.com/pubkey/rxdb/tree/master/examples/react) that demonstrates the patterns described on this page, including database creation outside of React, usage of `RxDatabaseProvider`, and data access via `useRxQuery`, `useLiveRxQuery`, and `useRxCollection.
-
-- A corresponding [React Native example](https://github.com/pubkey/rxdb/tree/master/examples/react-native) is also available and shows the same integration concepts applied in a mobile environment, with only the platform-specific storage and setup differing.
diff --git a/docs/reactivity.html b/docs/reactivity.html
deleted file mode 100644
index 6ed733a39dd..00000000000
--- a/docs/reactivity.html
+++ /dev/null
@@ -1,102 +0,0 @@
-
-
-
-
-
-Signals & Custom Reactivity with RxDB | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
RxDB internally uses the rxjs library for observables and streams. All functionalities of RxDB like query results or document fields that expose values that change over time return a rxjs Observable that allows you to observe the values and update your UI accordingly depending on the changes to the database state.
-
However there are many reasons to use other reactivity libraries that use a different datatype to represent changing values. For example when you use signals in angular or react, the template refs of vue or state libraries like MobX and redux.
-
RxDB allows you to pass a custom reactivity factory on RxDatabase creation so that you can easily access values wrapped with your custom datatype in a convenient way.
All observable data in RxDB is marked by the single dollar sign $ like RxCollection.$ for events or RxDocument.myField$ to get the observable for a document field. To make custom reactivity objects distinguable, they are marked with double-dollar signs $$ instead. Here are some example on how to get custom reactivity objects from RxDB specific instances:
-
// RxDocument
-
-// get signal that represents the document field 'foobar'
-const signal = myRxDocument.get$$('foobar');
-
-// same as above
-const signal = myRxDocument.foobar$$;
-
-// get signal that represents whole document over time
-const signal = myRxDocument.$$;
-
-// get signal that represents the deleted state of the document
-const signal = myRxDocument.deleted$$;
-
// RxQuery
-
-// get signal that represents the query result set over time
-const signal = collection.find().$$;
-
-// get signal that represents the query result set over time
-const signal = collection.findOne().$$;
-
// RxLocalDocument
-
-// get signal that represents the whole local document state
-const signal = myRxLocalDocument.$$;
-
-// get signal that represents the foobar field
-const signal = myRxLocalDocument.get$$('foobar');
-
-
\ No newline at end of file
diff --git a/docs/reactivity.md b/docs/reactivity.md
deleted file mode 100644
index 30c818922e5..00000000000
--- a/docs/reactivity.md
+++ /dev/null
@@ -1,227 +0,0 @@
-# Signals & Custom Reactivity with RxDB
-
-> Level up reactivity with Angular signals, Vue refs, or Preact signals in RxDB. Learn how to integrate custom reactivity to power your dynamic UI.
-
-import {Tabs} from '@site/src/components/tabs';
-import {Steps} from '@site/src/components/steps';
-
-# Signals & Co. - Custom reactivity adapters instead of RxJS Observables
-
-RxDB internally uses the [rxjs library](https://rxjs.dev/) for observables and streams. All functionalities of RxDB like [query](./rx-query.md#observe) results or [document fields](./rx-document.md#observe) that expose values that change over time return a rxjs `Observable` that allows you to observe the values and update your UI accordingly depending on the changes to the database state.
-
-However there are many reasons to use other reactivity libraries that use a different datatype to represent changing values. For example when you use **signals** in angular or react, the **template refs** of vue or state libraries like MobX and redux.
-
-RxDB allows you to pass a custom reactivity factory on [RxDatabase](./rx-database.md) creation so that you can easily access values wrapped with your custom datatype in a convenient way.
-
-## Adding a reactivity factory
-
-
-
-### Angular
-
-In angular we use [Angular Signals](https://angular.dev/guide/signals) as custom reactivity objects.
-
-
-
-#### Import
-
-```ts
-import { createReactivityFactory } from 'rxdb/plugins/reactivity-angular';
-import { Injectable, inject } from '@angular/core';
-```
-
-#### Set the reactivity factory
-
-Set the factory as `reactivity` option when calling `createRxDatabase`.
-
-```ts
-const database = await createRxDatabase({
- name: 'mydb',
- storage: getRxStorageLocalstorage(),
- reactivity: createReactivityFactory(inject(Injector))
-});
-
-// add collections/sync etc...
-```
-
-#### Use the Signal in an Angular component
-
-```ts
-import { Component, inject } from '@angular/core';
-import { CommonModule } from '@angular/common';
-import { DbService } from '../db.service';
-
-@Component({
- selector: 'app-todos-list',
- standalone: true,
- imports: [CommonModule],
- template: `
-
- {{ t.title }}
-
- `,
-})
-export class TodosListComponent {
- private dbService = inject(DbService);
-
- // RxDB query - Angular Signal
- readonly todosSignal = this.dbService.db.todos.find().$$;
-}
-
-```
-
-
-
-An example of how signals are used in angular with RxDB, can be found at the [RxDB Angular Example](https://github.com/pubkey/rxdb/blob/master/examples/angular/src/app/components/heroes-list/heroes-list.component.ts#L46)
-
-### React
-
-For React, we use the [Preact Signals](https://preactjs.com/guide/v10/signals/) for custom reactivity.
-
-
-
-#### Install Preact Signals
-
-```bash
-npm install @preact/signals-core --save
-```
-
-#### Import
-
-```ts
-import {
- PreactSignalsRxReactivityFactory
-} from 'rxdb/plugins/reactivity-preact-signals';
-```
-
-#### Set the reactivity factory
-
-```ts
-const database = await createRxDatabase({
- name: 'mydb',
- storage: getRxStorageLocalstorage(),
- reactivity: PreactSignalsRxReactivityFactory
-});
-
-// add collections/sync etc...
-```
-
-#### Use the Signal in a React component
-
-```tsx
-import { useEffect, useState } from 'preact/hooks';
-import { getDatabase } from './db';
-
-export function TodosList() {
- const [db, setDb] = useState(null);
-
- useEffect(() => {
- getDatabase().then(setDb);
- }, []);
-
- if (!db) return null;
-
- // RxQuery -> Preact Signal
- const todosSignal = db.todos.find().$$;
-
- return (
-
- {todosSignal.value.map((doc: any) => (
-
- {doc.title}
-
- ))}
-
- );
-}
-```
-
-
-
-### Vue
-
-For Vue, we use the [Vue Shallow Refs](https://vuejs.org/api/reactivity-advanced) for custom reactivity.
-
-
-
-#### Import
-```ts
-import { VueRxReactivityFactory } from 'rxdb/plugins/reactivity-vue';
-```
-
-#### Set the reactivity factory
-
-```ts
-const database = await createRxDatabase({
- name: 'mydb',
- storage: getRxStorageLocalstorage(),
- reactivity: VueRxReactivityFactory
-});
-
-// add collections/sync etc...
-```
-
-#### Use the Shallow Ref in a Vue component
-
-```html
-
-
-
-
-
-
-
-
-
-```
-
-
-
-
-
-## Accessing custom reactivity objects
-
-All observable data in RxDB is marked by the single dollar sign `$` like `RxCollection.$` for events or `RxDocument.myField$` to get the observable for a document field. To make custom reactivity objects distinguable, they are marked with double-dollar signs `$$` instead. Here are some example on how to get custom reactivity objects from RxDB specific instances:
-
-```ts
-// RxDocument
-
-// get signal that represents the document field 'foobar'
-const signal = myRxDocument.get$$('foobar');
-
-// same as above
-const signal = myRxDocument.foobar$$;
-
-// get signal that represents whole document over time
-const signal = myRxDocument.$$;
-
-// get signal that represents the deleted state of the document
-const signal = myRxDocument.deleted$$;
-```
-
-```ts
-// RxQuery
-
-// get signal that represents the query result set over time
-const signal = collection.find().$$;
-
-// get signal that represents the query result set over time
-const signal = collection.findOne().$$;
-```
-
-```ts
-// RxLocalDocument
-
-// get signal that represents the whole local document state
-const signal = myRxLocalDocument.$$;
-
-// get signal that represents the foobar field
-const signal = myRxLocalDocument.get$$('foobar');
-```
diff --git a/docs/releases/10.0.0.html b/docs/releases/10.0.0.html
deleted file mode 100644
index eba0b3526ff..00000000000
--- a/docs/releases/10.0.0.html
+++ /dev/null
@@ -1,202 +0,0 @@
-
-
-
-
-
-RxDB 10.0.0 - Built for the Future | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
In the past, RxDB was build around Pouchdb. Before I started making RxDB I tried to solve the problems of my current project with other existing databases out there. I evaluated all of them and then started using Pouchdb and added many features via plugin. Then I realised it will be easier to create a separate project that wraps around Pouchdb, that was RxDB. Back then pouchdb was the most major browser database out there and it was well maintained and had a big community.
-But in the last 5 years, things have changed. A big part of the RxDB users do not use couchdb in the backend and do not need the couchdb replication.
-Therefore they do not really need the overhead with revision handling that slows down the performance of pouchdb. Also there where many other problems with using pouchdb. It is not actively developed, many bugs are not fixed and no new features get added. Also there are many unsolved problems like how to finally delete document data or how to replicate more than 6 databases at the same time, how to use replication without attachments data, and so on...
-
So for this release, I abstracted all parts that we use from pouchdb into the RxStorage interface. RxDB works on top of any implementation of the RxStorage interface. This means it is now possible to use RxDB together with other underlying storages like SQLite, PostgreSQL, Minimongo, MongoDB, and so on, as long as someone writes the RxStorage class for it.
-
This means, to create a RxDatabase you have to pass the storage class instead of pouchdb specific settings:
-
-// import pouchdb specific stuff and add pouchdb adapters
-import {
- addPouchPlugin,
- getRxStoragePouch
-} from 'rxdb/plugins/pouchdb';
-
-// IMPORTANT: Do not use addRxPlugin to add pouchdb adapter, instead use addPouchPlugin
-addPouchPlugin(require('pouchdb-adapter-memory'));
-
-import {
- addRxPlugin,
- createRxDatabase,
- randomCouchString,
-} from 'rxdb/plugins/core';
-
-// create the database with the storage creator.
-const db = await createRxDatabase({
- name: 'mydatabase',
- storage: getRxStoragePouch('memory'),
-});
-
-
To access the internal pouch instance of a collection, you have to go over the storageInstance:
In the past, using a primary key was optional. When no primary key was defined, RxDB filled up the _id field with an uuid-like string which was then used as primary. When I researched on github how people use RxDB, I found out that many use a secondary index for what should be the primary key.
-Also having the primary key optional, caused much confusing when using RxDB with typescript.
-
So now the primary key MUST be set when creating a schema for RxDB.
-Also the primary key is defined with the primaryKey property at the top level of the schema. This ensures that typescript will complain if no primaryKey is defined.
-
-// when using the type `RxJsonSchema<DocType>` the `DocType` is now required
-const mySchema: RxJsonSchema<MyDocumentData> = {
- version: 0,
- primaryKey: 'passportId',
- type: 'object',
- properties: {
- passportId: {
- type: 'string'
- }
- },
- // primaryKey is always required
- required: ['passportId']
-}
-
In the past, an RxAttachment could be stored with Blob, Buffer and string data. If a string was passed, pouchdb internally transformed the data to a Blob or Buffer, depending on in which environment it is running.
-This behavior caused much trouble and weird edge cases because of how the data is transformed from and to string.
-So now you can only store Blob or Buffer as attachment data. string is no longer allowed. You can still transform a string to a Blob or Buffer by yourself and then store it.
Also putAttachment() now defaults to skipIfSame=true. This means when you write attachment data that already is exactly the same in the database, no write will be done.
RxDB often uses outgoing data also in the internals. For example the result of a query is not only send to the user, but also used inside of RxDB's query-change-detection. To ensure that mutation of the outgoing data is not changing internal stuff, which would cause strange bugs, outgoing data was always deep-cloned before handing it out to the user. This is a common practice on many javascript libraries.
-
The problem is that deep-cloning big objects can be very CPU/Memory expensive. So instead of doing a deep-clone, RxDB does now assume that outgoing data is immutable. If the users wants to modify that data, it has to be deep-cloned by the user.
-To ensure immutability, RxDB runs a deep-freeze in the dev-mode (about same expensive as deep clone). Also typescript will throw a build-time error because we use ReadonlyArray and readonly to define outgoing data immutable. In production-mode, there will be nothing besides typescript that ensures immutability to have best performance.
-
const data = myRxDocument.toJSON();
-data.foo = bar; // This does NOT work!
-
-// instead clone the data before changing it
-import { clone } from 'rxjs';
-const clonedData = clone(data);
-data.foo = bar; // This works!
The in-memory plugin was used to spawn in-memory collections on top of a normal RxCollection. The benefit is to have the data replicated into the memory of the javascript runtime, which allows for faster queries.
-
After doing many tests and observations, I found out that the in-memory plugin was slow. Really slow, even slower then just using the indexeddb adapter in the browser. You can reproduce my observations at the event-reduce testpage. Here you can see that random-writes+query are slower on the memory-adapter then on indexeddb.
-The reason for this are the big abstraction layers. Pouchdb uses the adapter system. The memory adapter uses the leveldown abstraction layer. Each write/read goes to the memdown module.
-
So the in-memory plugin is not working for now. In the future it will be reimplemented in a custom memory based RxStorage class.
-
note
You can of course still use the pouchdb memory adapter as usual. It is not affected by this change.
Removed the deprecated atomicSet(), use atomicPatch() instead.
-
Removed the deprecated RxDatabase.collection() use RxDatabase().addCollections() instead.
-
Removed plugin hook preCreatePouchDb because it is no longer needed.
-
Removed the watch-for-changes plugin. We now overwrite pouchdbs bulkDocs method to generate events. This is faster and more reliable.
-
Removed the adapter-check plugin. (The function adapterCheck is move to the pouchdb plugin).
-
Calling RxDatabase.server() now returns a promise that resolves when the server is started up.
-
Changed the defaults of PouchDBExpressServerOptions from the server() method, by default we now store logs in the tmp folder and the config is in memory.
-
Renamed replication-plugin to replication-couchdb to be more consistent in naming like with replication-graphql
-
-
For the same reason, renamed RxCollection().sync() to RxCollection().syncCouchDB()
-
-
-
Renamed the functions of the json import/export plugin to be less confusing.
-
-
dump() is now exportJSON()
-
importDump() is now importJSON()
-
-
-
RxCollection uses a separate pouchdb instance for local documents, so that they can persist during migrations.
-
A JsonSchema must have the required array at the top level and it must contain the primary key.
With these changes, RxDB is now ready for the future plans:
-
-
I want to replace the revision handling of documents with conflict resolution strategies that can always directly resolve conflicts instead of maintaining the revision tree.
-
Implement different implementations for RxStorage. I will first work on a memory based version. I am in good hope that the community will create other implementations depending on their needs.
There are many things that can be done by you to improve RxDB:
-
-
Check the BACKLOG for features that would be great to have.
-
Check the breaking backlog for breaking changes that must be implemented in the future but where I did not had the time yet.
-
Check the todos in the code. There are many small improvements that can be done for performance and build size.
-
Review the code and add tests. I am only a single dude with a laptop. My code is not perfect and much small improvements can be done when people review the code and help me to clarify undefined behaviors.
-
Improve the documentation. In the last user survey many users told me that the documentation is not good enough. But I reviewed the docs and could not find clear flaws. The problem is that I am way to deep into RxDB so that I am not able to understand which documentation a newcomer to the project needs. Likely I assume too much knowledge or focus writing about the wrong parts.
-
Update the example projects many of them are outdated and need updates.
-
-
\ No newline at end of file
diff --git a/docs/releases/10.0.0.md b/docs/releases/10.0.0.md
deleted file mode 100644
index 5e1097384ab..00000000000
--- a/docs/releases/10.0.0.md
+++ /dev/null
@@ -1,210 +0,0 @@
-# RxDB 10.0.0 - Built for the Future
-
-> Experience faster, future-proof data handling in RxDB 10.0. Explore new storage interfaces, composite keys, and major performance upgrades.
-
-# 10.0.0
-
-One year after version `9.0.0` we now have RxDB version `10.0.0`.
-The main goal of version 10 was to change things that make RxDB ready for the future.
-
-Notice that I use major releases to bundle stuff that breaks the RxDB usage in your project, not to add new features.
-
-## The main thing first
-
-In the past, RxDB was build around Pouchdb. Before I started making RxDB I tried to solve the problems of my current project with other existing databases out there. I evaluated all of them and then started using Pouchdb and added many features via plugin. Then I realised it will be easier to create a separate project that wraps around Pouchdb, that was RxDB. Back then pouchdb was the most major browser database out there and it was well maintained and had a big community.
-But in the last 5 years, things have changed. A big part of the RxDB users do not use couchdb in the backend and do not need the couchdb replication.
-Therefore they do not really need the overhead with revision handling that slows down the performance of pouchdb. Also there where many other problems with using pouchdb. It is not actively developed, many bugs are not fixed and no new features get added. Also there are many unsolved problems like how to finally delete document data or how to replicate more than 6 databases at the same time, how to use replication without attachments data, and so on...
-
-So for this release, I abstracted all parts that we use from pouchdb into the `RxStorage` interface. RxDB works on top of any implementation of the `RxStorage` interface. This means it is now possible to use RxDB together with other underlying storages like SQLite, PostgreSQL, Minimongo, MongoDB, and so on, as long as someone writes the `RxStorage` class for it.
-
-This means, to create a `RxDatabase` you have to pass the storage class instead of pouchdb specific settings:
-
-```ts
-
-// import pouchdb specific stuff and add pouchdb adapters
-import {
- addPouchPlugin,
- getRxStoragePouch
-} from 'rxdb/plugins/pouchdb';
-
-// IMPORTANT: Do not use addRxPlugin to add pouchdb adapter, instead use addPouchPlugin
-addPouchPlugin(require('pouchdb-adapter-memory'));
-
-import {
- addRxPlugin,
- createRxDatabase,
- randomCouchString,
-} from 'rxdb/plugins/core';
-
-// create the database with the storage creator.
-const db = await createRxDatabase({
- name: 'mydatabase',
- storage: getRxStoragePouch('memory'),
-});
-
-```
-
-To access the internal `pouch` instance of a collection, you have to go over the `storageInstance`:
-
-```ts
-const pouch = myRxCollection.storageInstance.internals.pouch;
-```
-
-## Other breaking changes
-
-### Primary key is required
-In the past, using a primary key was optional. When no primary key was defined, RxDB filled up the `_id` field with an uuid-like string which was then used as primary. When I researched on github how people use RxDB, I found out that many use a secondary index for what should be the primary key.
-Also having the primary key optional, caused much confusing when using RxDB with typescript.
-
-So now the primary key MUST be set when creating a schema for RxDB.
-Also the primary key is defined with the `primaryKey` property at the top level of the schema. This ensures that typescript will complain if no `primaryKey` is defined.
-
-```ts
-
-// when using the type `RxJsonSchema` the `DocType` is now required
-const mySchema: RxJsonSchema = {
- version: 0,
- primaryKey: 'passportId',
- type: 'object',
- properties: {
- passportId: {
- type: 'string'
- }
- },
- // primaryKey is always required
- required: ['passportId']
-}
-
-```
-
-### Attachment data must be Blob or Buffer
-
-In the past, an `RxAttachment` could be stored with `Blob`, `Buffer` and `string` data. If a `string` was passed, pouchdb internally transformed the data to a `Blob` or `Buffer`, depending on in which environment it is running.
-This behavior caused much trouble and weird edge cases because of how the data is transformed from and to `string`.
-So now you can only store `Blob` or `Buffer` as attachment data. `string` is no longer allowed. You can still transform a string to a Blob or Buffer by yourself and then store it.
-
-```ts
-import { blobBufferUtil } from 'rxdb';
-
-const attachment = await myDocument.putAttachment(
- {
- id: 'cat.txt',
- data: blobBufferUtil.createBlobBuffer('miau', 'text/plain')
- type: 'text/plain'
- }
-);
-
-```
-
-Also `putAttachment()` now defaults to `skipIfSame=true`. This means when you write attachment data that already is exactly the same in the database, no write will be done.
-
-### Outgoing data is now readonly and deep-frozen
-
-RxDB often uses outgoing data also in the internals. For example the result of a query is not only send to the user, but also used inside of RxDB's query-change-detection. To ensure that mutation of the outgoing data is not changing internal stuff, which would cause strange bugs, outgoing data was always deep-cloned before handing it out to the user. This is a common practice on many javascript libraries.
-
-The problem is that deep-cloning big objects can be very CPU/Memory expensive. So instead of doing a deep-clone, RxDB does now assume that outgoing data is **immutable**. If the users wants to modify that data, it has to be deep-cloned by the user.
-To ensure immutability, RxDB runs a [deep-freeze](https://developer.mozilla.org/de/docs/Web/JavaScript/Reference/Global_Objects/Object/freeze) in the dev-mode (about same expensive as deep clone). Also typescript will throw a build-time error because we use `ReadonlyArray` and `readonly` to define outgoing data immutable. In production-mode, there will be nothing besides typescript that ensures immutability to have best performance.
-
-```ts
-const data = myRxDocument.toJSON();
-data.foo = bar; // This does NOT work!
-
-// instead clone the data before changing it
-import { clone } from 'rxjs';
-const clonedData = clone(data);
-data.foo = bar; // This works!
-```
-
-### The in-memory plugin does no longer work.
-
-The in-memory plugin was used to spawn in-memory collections on top of a normal `RxCollection`. The benefit is to have the data replicated into the memory of the javascript runtime, which allows for faster queries.
-
-After doing many tests and observations, I found out that the in-memory plugin was slow. Really slow, even slower then just using the indexeddb adapter in the browser. You can reproduce my observations at the event-reduce testpage. Here you can see that random-writes+query are slower on the [memory-adapter](https://pubkey.github.io/event-reduce/?tech=pouchdb:memory) then on [indexeddb](https://pubkey.github.io/event-reduce/?tech=pouchdb:indexeddb).
-The reason for this are the big abstraction layers. Pouchdb uses the adapter system. The memory adapter uses the [leveldown abstraction layer](https://github.com/Level/levelup). Each write/read goes to the [memdown module](https://github.com/Level/memdown).
-
-So the in-memory plugin is not working for now. In the future it will be reimplemented in a custom memory based `RxStorage` class.
-
-:::note
-You can of course still use the pouchdb `memory` adapter as usual. It is not affected by this change.
-:::
-
-## What else is a breaking change?
-
-- Removed the deprecated `atomicSet()`, use `atomicPatch()` instead.
-- Removed the deprecated `RxDatabase.collection()` use `RxDatabase().addCollections()` instead.
-- Removed plugin hook `preCreatePouchDb` because it is no longer needed.
-- Removed the `watch-for-changes` plugin. We now overwrite pouchdbs `bulkDocs` method to generate events. This is faster and more reliable.
-- Removed the `adapter-check` plugin. (The function `adapterCheck` is move to the pouchdb plugin).
-- Calling `RxDatabase.server()` now returns a promise that resolves when the server is started up.
-- Changed the defaults of `PouchDBExpressServerOptions` from the `server()` method, by default we now store logs in the `tmp` folder and the config is in memory.
-- Renamed `replication`-plugin to [replication-couchdb](../replication-couchdb.md) to be more consistent in naming like with `replication-graphql`
- - For the same reason, renamed `RxCollection().sync()` to `RxCollection().syncCouchDB()`
-- Renamed the functions of the json import/export plugin to be less confusing.
- - `dump()` is now `exportJSON()`
- - `importDump()` is now `importJSON()`
-- `RxCollection` uses a separate pouchdb instance for local documents, so that they can persist during migrations.
-- A JsonSchema must have the `required` array at the top level and it must contain the primary key.
-
-## New features
-
-### Composite primary key
-
-You can now use a composite primary key for the schema where you can join different properties of the document data to create a primary key.
-
-```javascript
-const mySchema = {
- keyCompression: true, // set this to true, to enable the keyCompression
- version: 0,
- title: 'human schema with composite primary',
- primaryKey: {
- // where should the composed string be stored
- key: 'id',
- // fields that will be used to create the composed key
- fields: [
- 'firstName',
- 'lastName'
- ],
- // separator which is used to concat the fields values.
- separator: '|'
- }
- type: 'object',
- properties: {
- id: {
- type: 'string'
- },
- firstName: {
- type: 'string'
- },
- lastName: {
- type: 'string'
- }
- },
- required: [
- 'id',
- 'firstName',
- 'lastName'
- ]
-};
-```
-
-## For the future
-
-With these changes, RxDB is now ready for the future plans:
-
-- I want to replace the `revision` handling of documents with conflict resolution strategies that can always directly resolve conflicts instead of maintaining the revision tree.
-- Implement different implementations for `RxStorage`. I will first work on a memory based version. I am in good hope that the community will create other implementations depending on their needs.
-
-## You can help!
-
-There are many things that can be done by **you** to improve RxDB:
-
-- Check the [BACKLOG](https://github.com/pubkey/rxdb/blob/master/orga/BACKLOG.md) for features that would be great to have.
-- Check the [breaking backlog](https://github.com/pubkey/rxdb/blob/master/orga/before-next-major.md) for breaking changes that must be implemented in the future but where I did not had the time yet.
-- Check the [todos](https://github.com/pubkey/rxdb/search?q=todo) in the code. There are many small improvements that can be done for performance and build size.
-- Review the code and add tests. I am only a single dude with a laptop. My code is not perfect and much small improvements can be done when people review the code and help me to clarify undefined behaviors.
-- Improve the documentation. In the last user survey many users told me that the documentation is not good enough. But I reviewed the docs and could not find clear flaws. The problem is that I am way to deep into RxDB so that I am not able to understand which documentation a newcomer to the project needs. Likely I assume too much knowledge or focus writing about the wrong parts.
-- Update the [example projects](https://github.com/pubkey/rxdb/tree/master/examples) many of them are outdated and need updates.
-
-## Discuss!
-
-Please [discuss here](https://github.com/pubkey/rxdb/issues/3279).
diff --git a/docs/releases/11.0.0.html b/docs/releases/11.0.0.html
deleted file mode 100644
index 922b909ac0a..00000000000
--- a/docs/releases/11.0.0.html
+++ /dev/null
@@ -1,108 +0,0 @@
-
-
-
-
-
-RxDB 11 - WebWorker Support & More | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
The last major release was only about 6 month ago. But to further improve RxDB, it was necessary to make some more breaking changes and release the next major version.
-In the last version 10.0.0 the storage layer was abstracted in a way to make it possible to not only use PouchDB as storage, but instead we can use different storage engines like the one based on LokiJS or any custom implementation of the RxStorage interface.
-
In the new version 11.0.0 the focus is on making it possible to put the RxStorage into a WebWorker to take CPU load from the main process into the worker's process. This can improve the perceived performance of your application, especially when you have to handle many documents or when you need the main process CPU cycles to manage the DOM with your frontend framework.
Performance was always something RxDB had a struggle with. Not because RxDB itself is slow, but because the underlying storage engine (mostly PouchDB) or IndexedDB is slow. This never was a problem for 'normal' applications that have to store some documents. But on big applications with much data, there was a bottleneck.
-
With the Worker plugin, you can move the RxStorage out of the main JavaScript process. This makes it pretty easy to utilize more than one CPU core and speed up your application.
-
// worker.ts
-import { wrappedRxStorage } from 'rxdb/plugins/worker';
-import { getRxStorageLoki } from 'rxdb/plugins/storage-lokijs';
-wrappedRxStorage({
- storage: getRxStorageLoki()
-});
-
// main process
-import { createRxDatabase } from 'rxdb/plugins/core';
-import { getRxStorageWorker } from 'rxdb/plugins/worker';
-const database = await createRxDatabase({
- name: 'mydatabase',
- storage: getRxStorageWorker(
- {
- workerInput: 'path/to/worker.js'
- }
- )
-});
-
The whole documentation about the worker plugin can be found here.
-
Transpile async/await to promises instead of generators
-
The RxDB source-code is transpiled from TypeScript to es5/es6 JavaScript code via babel.
-In the past we transpiled the async and await keywords with the babel plugin plugin-transform-async-to-generator.
-Now we use the babel-plugin-transform-async-to-promises plugin instead.
-It transpiles async/await into native Promises instead of using JavaScript generators. This has shown to decrease build size by about 10% and also improves the performance.
In the past there was a typo in all getters and methods that are called received.
-This was renamed to received and all mistyped methods have been deprecated.
-We now removed all deprecated methods, so you have to use the correctly spelled methods instead.
-See #3392
All events that are generated from writing to the storage instance are now handled in bulks instead of each event for its own. This has shown to save performance when the events are send over a data layer like a WebWorker or the BroadcastChannel. This change only affects you if you have created custom RxDB plugins.
To make the RxStorage abstraction compatible with Webworkers, we had to do some changes. These will only affect you if you use a custom RxStorage implementation.
-
-
The non async functions prepareQuery, getSortComparator and getQueryMatcher have been moved out of RxStorageInstance into the statics property of RxStorage. This makes it possible to split the code when using the worker plugin. You only need to load the static methods at the main process, and the whole storage engine is only loaded inside of the worker.
-
All data communication with the RxStorage now happens only via plain JSON objects. Instead of returning a JavaScript Map or Set, only JSON datatypes are allowed. This makes it easier to properly serialize the data when transferring it over to or from a WebWorker.
-
Events that are created from a write operation, must be emitted before the write operation resolves. This ensures that RxDB always knows about all events before it runs another operation. So when you do an insert and a query directly after the insert, the query will return the correct results.
-
The meta data digest and length of attachments is now created by RxDB, not by the RxStorage. #3548
-
Added the statics hashKey property to identify the used hash function.
In the past, RxDB required you to add one schema validation plugin. For production, it was useful to not have any schema validation for better performance and a smaller build size. For that, the no-validate plugin could be added which was just a dummy plugin that did no do any validation. To remove this unnecessary complexity, RxDB no longer requires you to add a validation plugin. Therefore the no-validate plugin is now removed as it is no longer needed.
The LokiJS RxStorage no longer uses the IdleQueue to determine if the database is idle. Because LokiJS is in-memory, we can just wait for CPU idleness via requestIdleCallback()
-
Bugfix: Do not throw an error when database is destroyed while a GraphQL replication is running.
-
Compound primary key migration throws "Value of primary key(s) cannot be changed" #3546
There are many things that can be done by you to improve RxDB:
-
-
Check the BACKLOG for features that would be great to have.
-
Check the breaking backlog for breaking changes that must be implemented in the future but where I did not had the time yet.
-
Check the todos in the code. There are many small improvements that can be done for performance and build size.
-
Review the code and add tests. I am only a single human with a laptop. My code is not perfect and much small improvements can be done when people review the code and help me to clarify undefined behaviors.
-
Improve the documentation. In the last user survey many users told me that the documentation is not good enough. But I reviewed the docs and could not find clear flaws. The problem is that I am way to deep into RxDB so that I am not able to understand which documentation a newcomer to the project needs. Likely I assume too much knowledge or focus writing about the wrong parts.
-
Update the example projects many of them are outdated and need updates.
-
-
\ No newline at end of file
diff --git a/docs/releases/11.0.0.md b/docs/releases/11.0.0.md
deleted file mode 100644
index 4722772fb91..00000000000
--- a/docs/releases/11.0.0.md
+++ /dev/null
@@ -1,100 +0,0 @@
-# RxDB 11 - WebWorker Support & More
-
-> RxDB 11.0 brings Worker-based storage for multi-core performance gains. Explore the major changes and migrate seamlessly to harness new speeds.
-
-# 11.0.0
-
-The last major release was only about [6 month ago](./10.0.0.md). But to further improve RxDB, it was necessary to make some more breaking changes and release the next major version.
-In the last version `10.0.0` the storage layer was abstracted in a way to make it possible to not only use PouchDB as storage, but instead we can use different storage engines like the one based on [LokiJS](../rx-storage-lokijs.md) or any custom implementation of the `RxStorage` interface.
-
-In the new version `11.0.0` the focus is on making it possible to put the RxStorage into a **WebWorker** to take CPU load from the main process into the worker's process. This can improve the perceived performance of your application, especially when you have to handle many documents or when you need the main process CPU cycles to manage the DOM with your frontend framework.
-
-## Worker plugin
-
-Performance was always something RxDB had a struggle with. Not because RxDB itself is slow, but because the underlying storage engine (mostly PouchDB) or [IndexedDB is slow](../slow-indexeddb.md). This never was a problem for 'normal' applications that have to store some documents. But on big applications with much data, there was a bottleneck.
-
-With the Worker plugin, you can move the `RxStorage` out of the main JavaScript process. This makes it pretty easy to utilize more than one CPU core and speed up your application.
-
-```ts
-// worker.ts
-import { wrappedRxStorage } from 'rxdb/plugins/worker';
-import { getRxStorageLoki } from 'rxdb/plugins/storage-lokijs';
-wrappedRxStorage({
- storage: getRxStorageLoki()
-});
-```
-
-```ts
-// main process
-import { createRxDatabase } from 'rxdb/plugins/core';
-import { getRxStorageWorker } from 'rxdb/plugins/worker';
-const database = await createRxDatabase({
- name: 'mydatabase',
- storage: getRxStorageWorker(
- {
- workerInput: 'path/to/worker.js'
- }
- )
-});
-```
-
-The whole documentation about the worker plugin can be found [here](../rx-storage-worker.md).
-
-## Transpile `async`/`await` to promises instead of generators
-
-The RxDB source-code is transpiled from TypeScript to es5/es6 JavaScript code via babel.
-In the past we transpiled the `async` and `await` keywords with the babel plugin `plugin-transform-async-to-generator`.
-Now we use the [babel-plugin-transform-async-to-promises](https://github.com/rpetrich/babel-plugin-transform-async-to-promises) plugin instead.
-It transpiles `async`/`await` into native `Promise`s instead of using JavaScript generators. This has shown to decrease build size by about 10% and also improves the performance.
-
-## Removed deprecated `received` methods
-
-In the past there was a typo in all getters and methods that are called `received`.
-This was renamed to `received` and all mistyped methods have been deprecated.
-We now removed all deprecated methods, so you have to use the correctly spelled methods instead.
-[See #3392](https://github.com/pubkey/rxdb/pull/3392)
-
-## All internal events are handled as bulks
-
-All events that are generated from writing to the storage instance are now handled in bulks instead of each event for its own. This has shown to save performance when the events are send over a data layer like a `WebWorker` or the `BroadcastChannel`. This change only affects you if you have created custom RxDB plugins.
-
-## RxStorage interface changes
-
-To make the RxStorage abstraction compatible with Webworkers, we had to do some changes. These will only affect you if you use a custom RxStorage implementation.
-
-- The non async functions `prepareQuery`, `getSortComparator` and `getQueryMatcher` have been moved out of `RxStorageInstance` into the `statics` property of `RxStorage`. This makes it possible to split the code when using the worker plugin. You only need to load the static methods at the main process, and the whole storage engine is only loaded inside of the worker.
-- All data communication with the RxStorage now happens only via plain JSON objects. Instead of returning a JavaScript `Map` or `Set`, only [JSON datatypes](https://www.w3schools.com/js/js_json_datatypes.asp) are allowed. This makes it easier to properly serialize the data when transferring it over to or from a WebWorker.
-- Events that are created from a write operation, must be emitted **before** the write operation resolves. This ensures that RxDB always knows about all events before it runs another operation. So when you do an insert and a query directly after the insert, the query will return the correct results.
-- The meta data `digest` and `length` of attachments is now created by RxDB, not by the RxStorage. [#3548](https://github.com/pubkey/rxdb/issues/3548)
-- Added the statics `hashKey` property to identify the used hash function.
-
-## Removed the `no-validate` plugin.
-
-In the past, RxDB required you to add one schema validation plugin. For production, it was useful to not have any schema validation for better performance and a smaller build size. For that, the `no-validate` plugin could be added which was just a dummy plugin that did no do any validation. To remove this unnecessary complexity, RxDB no longer requires you to add a validation plugin. Therefore the no-validate plugin is now removed as it is no longer needed.
-
-## Other changes
-
-- The LokiJS RxStorage no longer uses the `IdleQueue` to determine if the database is idle. Because LokiJS is in-memory, we can just wait for CPU idleness via [requestIdleCallback()](https://developer.mozilla.org/en-US/docs/Web/API/Window/requestIdleCallback)
-- Bugfix: Do not throw an error when database is destroyed while a GraphQL replication is running.
-- Compound primary key migration throws "Value of primary key(s) cannot be changed" [#3546](https://github.com/pubkey/rxdb/pull/3546)
-- Allow `_id` as primaryKey [#3562](https://github.com/pubkey/rxdb/pull/3562) Thanks [@SuperKirik](https://github.com/SuperKirik)
-- LokiJS: Remote operations do never resolve when remote instance was leader and died.
-
-## Migration from `10.x.x`
-
-The migration should be pretty easy. Nothing in the datalayer has been changed, so you can use the stored data of v10 together with the new v11 RxDB.
-
-## You can help!
-
-There are many things that can be done by **you** to improve RxDB:
-
-- Check the [BACKLOG](https://github.com/pubkey/rxdb/blob/master/orga/BACKLOG.md) for features that would be great to have.
-- Check the [breaking backlog](https://github.com/pubkey/rxdb/blob/master/orga/before-next-major.md) for breaking changes that must be implemented in the future but where I did not had the time yet.
-- Check the [todos](https://github.com/pubkey/rxdb/search?q=todo) in the code. There are many small improvements that can be done for performance and build size.
-- Review the code and add tests. I am only a single human with a laptop. My code is not perfect and much small improvements can be done when people review the code and help me to clarify undefined behaviors.
-- Improve the documentation. In the last user survey many users told me that the documentation is not good enough. But I reviewed the docs and could not find clear flaws. The problem is that I am way to deep into RxDB so that I am not able to understand which documentation a newcomer to the project needs. Likely I assume too much knowledge or focus writing about the wrong parts.
-- Update the [example projects](https://github.com/pubkey/rxdb/tree/master/examples) many of them are outdated and need updates.
-
-## Discuss!
-
-Please [discuss here](https://github.com/pubkey/rxdb/issues/3555).
diff --git a/docs/releases/12.0.0.html b/docs/releases/12.0.0.html
deleted file mode 100644
index 20f0be83e6e..00000000000
--- a/docs/releases/12.0.0.html
+++ /dev/null
@@ -1,200 +0,0 @@
-
-
-
-
-
-RxDB 12.0.0 - Clean, Lean & Mean | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
For the last few months, I worked hard on the new RxDB version 12 release. I mostly focused on performance related features and refactored much of the code.
In the past, RxDB exported all bundled plugins when doing import from 'rxdb';.
-This increased the bundle size, so optionally people could import from 'rxdb/plugins/core'; to create a custom build that only contains the plugin that they really need.
-But very often this lead to accidental imports of 'rxdb'. For example, when the code editor auto imported methods.
-So now, the default import from 'rxdb'; only exports RxDB core. Every plugin must be imported afterwards if needed.
-
Unified the replication primitives and the GraphQL replication plugin
-
Most of the GraphQL replication code has been replaced by using the replication primitives plugin internally.
-This means many bugs and undefined behavior that was already fixed in the replication primitives, are now also fixed in the GraphQL replication.
-
Also, the GraphQL replication now runs push in bulk. This means you either have to update your backend to accept bulk mutations, or set push.batchSize: 1 and transform the array into a single document inside push.queryBuilder().
To make replication work, and for other reasons, RxDB has to keep deleted documents in storage.
-This ensures that when a client is offline, the deletion state is still known and can be replicated with the backend when the client goes online again.
-
Keeping too many deleted documents in the storage can slow down queries or fill up too much disk space.
-With the cleanup plugin, RxDB will run cleanup cycles that clean up deleted documents when it can be done safely.
By default, the query will be sent to RxStorage, where a query planner will determine which one of the available indexes must be used.
-But the query planner cannot know everything and sometimes will not pick the most optimal index.
-To improve query performance, you can specify which index must be used, when running the query.
-
const queryResults = await myCollection
- .find({
- selector: {
- age: {
- $gt: 18
- },
- gender: {
- $eq: 'm'
- }
- },
- /**
- * Because the developer knows that 50% of the documents are 'male',
- * but only 20% are below age 18,
- * it makes sense to enforce using the ['gender', 'age'] index to improve performance.
- * This could not be known by the query planner which might have chosen ['age', 'gender'] instead.
- */
- index: ['gender', 'age']
- }).exec();
For various performance optimizations, like the EventReduce algorithm, RxDB needs a deterministic sort order for all query results.
-To ensure a deterministic sorting, RxDB now automatically adds the primary key as last sort attribute to every query, if it is not there already. This ensures that all documents that have the same attributes on all query relevant fields, still can be sorted in a deterministic way, not depending on which was written first to the database.
-
In the past, this often lead to slow queries, because indexes where not constructed with that in mind.
-Now RxDB will add the primaryKey to all indexes that do not contain it already.
-If you have any collection with a custom index set, you need to run a migration when updating to RxDB version 12.0.0 so that RxDB can rebuild the indexes.
-
Fields that are used in indexes need some meta attributes
-
When using a schema with indexes, depending on the field type, you must have set some meta attributes like maxLength or minimum. This is required so that RxDB
-is able to know the maximum string representation length of a field, which is needed to craft custom indexes on several RxStorage implementations.
-
const schemaWithIndexes = {
- version: 0,
- primaryKey: 'id',
- type: 'object',
- properties: {
- id: {
- type: 'string',
- maxLength: 100 // <- the primary key must set `maxLength`
- },
- firstName: {
- type: 'string',
- maxLength: 100 // <- string-fields that are used as an index, must set `maxLength`.
- },
- active: {
- type: 'boolean'
- },
- balance: {
- type: 'number',
-
- // number fields that are used in an index, must set `minimum`, `maximum` and `multipleOf`
- minimum: 0,
- maximum: 100000,
- multipleOf: '0.01'
- }
- },
- required: [
- 'active' // <- boolean fields that are used in an index, must be required.
- ],
- indexes: [
- 'firstName',
- ['active', 'firstName']
- ]
-};
In the past, RxDB used a hacky way to mark documents as being from the remote instance during replication.
-This is needed to ensure that pulled documents are not sent to the backend again.
-RxDB crafted a specific revision string and stored the data with that string.
-This meant that it was not possible to replicate with multiple endpoints at the same time.
-From now on, all document data is stored with an _meta field that can contain various flags and other values.
-This makes it easier for plugins to remember stuff that belongs to the document.
-
In the future, the other meta fields like _rev, _deleted and _attachments will be moved from the root level
-to the _meta field. This is not done in release 12.0.0 to ensure that there is a migration path.
In the past, we stored local documents and internal data in a RxStorageKeyObjectInstance of the RxStorage interface.
-In PouchDB, this has a slight performance improvement compared to storing that data in 'normal' documents because it does not have to handle the revision tree.
-But this improved performance is only possible because normal document handling on PouchDB is so slow.
-For every other RxStorage implementation, it does not really matter if documents are stored in a query-able way or not. Therefore, the whole RxStorageKeyObjectInstance is removed. Instead, RxDB now stores local documents and internal data in normal storage instances. This removes complexity and makes things easier in the future. For example, we could now migrate local documents or query them in plugins.
In the past, an RxPlugin could add plugins hooks which where always added as last.
-This meant that some plugins depended on having the correct order when calling addRxPlugin().
-Now each plugin hook can be either defined as before or after to specify at which position of the current hooks
-the new hook must be added.
-
Local documents must be activated per RxDatabase/RxCollection
-
For better performance, the local document plugin does not create a storage for every database or collection that is created.
-Instead, you have to set localDocuments: true when you want to store local documents in the instance.
-
// activate local documents on a RxDatabase
-const myDatabase = await createRxDatabase({
- name: 'mydatabase',
- storage: getRxStoragePouch('memory'),
- localDocuments: true // <- activate this to store local documents in the database
-});
-
-myDatabase.addCollections({
- messages: {
- schema: messageSchema,
- localDocuments: true // <- activate this to store local documents in the collection
- }
-});
RxStorage SQLite a really fast RxStorage implementation based on SQLite. Made to be used on Node.js, Electron, React Native, Cordova or Capacitor.
-
RxStorage Sharding a wrapper around any other RxStorage that improves performance by applying the sharding technique.
-
migrateRxDBV11ToV12 A plugin that migrates data from any RxDB v11 storage to a new RxDB v12 database. Use this when you upgrade from RxDB 11->12 and you have to keep your database state.
dev-mode: Add check to ensure all top-level fields in a query are defined in the schema.
-
Support for array field based indexes like data.[].subfield was removed, as it anyway never really worked.
-
Refactored the usage of RxCollection.storageInstance to ensure all hooks run properly.
-
Refactored the encryption plugin so no more plugin specific code is in the RxDB core.
-
Removed the encrypted export from the json-import-export plugin. This was barely used and made everything more complex. All exports are now non-encrypted. If you need them encrypted, you can still run by encryption after the export is done.
-
RxPlugin hooks now can be defined as running before or after other plugin hooks.
-
Attachments are now internally handled as string instead of Blob or Buffer
-
Fix (replication primitives) only drop pulled documents when a relevant document was changed locally.
-
Fix dexie.js was not able to query over an index when keyCompression: true
-
-
Changes to RxStorageInterface:
-
-
RxStorageInstance must have the RxStorage in the storage property.
-
The _deleted field is now required for each data interaction with RxStorage.
-
Removed RxStorageInstance.getChangedDocuments() and added RxStorageInstance.getChangedDocumentsSince() for better performance.
-
Added doesBroadcastChangestream() to RxStorageStatics
-
Added withDeleted parameter to RxStorageKeyObjectInstance.findLocalDocumentsById()
-
Added internal _meta property to stored document data that contains internal document related data like last-write-time and replication checkpoints.
There are many things that can be done by you to improve RxDB:
-
-
Check the BACKLOG for features that would be great to have.
-
Check the breaking backlog for breaking changes that must be implemented in the future but where I did not have the time yet.
-
Check the todos in the code. There are many small improvements that can be done for performance and build size.
-
Review the code and add tests. I am only a single human with a laptop. My code is not perfect and much small improvements can be done when people review the code and help me to clarify undefined behaviors.
-
Improve the documentation. In the last user survey, many users told me that the documentation is not good enough. But I reviewed the docs and could not find clear flaws. The problem is that I am way too deep into RxDB so that I am not able to understand which documentation a newcomer to the project needs. Likely I assume too much knowledge or focus writing about the wrong parts.
-
Update the example projects many of them are outdated and need updates.
-
-
\ No newline at end of file
diff --git a/docs/releases/12.0.0.md b/docs/releases/12.0.0.md
deleted file mode 100644
index 1e93483672f..00000000000
--- a/docs/releases/12.0.0.md
+++ /dev/null
@@ -1,204 +0,0 @@
-# RxDB 12.0.0 - Clean, Lean & Mean
-
-> Upgrade to RxDB 12.0.0 for blazing-fast queries, streamlined replication, and better index usage. Explore new features and power up your app.
-
-# [RxDB](https://rxdb.info/) 12.0.0
-
-For the last few months, I worked hard on the new RxDB version 12 release. I mostly focused on performance related features and refactored much of the code.
-
-## Removed the `core` plugin
-
-In the past, RxDB exported all bundled plugins when doing `import from 'rxdb';`.
-This increased the bundle size, so optionally people could `import from 'rxdb/plugins/core';` to create a custom build that only contains the plugin that they really need.
-But very often this lead to accidental imports of `'rxdb'`. For example, when the code editor auto imported methods.
-So now, the default `import from 'rxdb';` only exports RxDB core. Every plugin must be imported afterwards if needed.
-
-## Unified the replication primitives and the GraphQL replication plugin
-
-Most of the GraphQL replication code has been replaced by using the replication primitives plugin internally.
-This means many bugs and undefined behavior that was already fixed in the replication primitives, are now also fixed in the GraphQL replication.
-
-Also, the GraphQL replication now runs `push` in bulk. This means you either have to update your backend to accept bulk mutations, or set `push.batchSize: 1` and transform the array into a single document inside `push.queryBuilder()`.
-
-## Added the cleanup plugin
-
-To make replication work, and for other reasons, RxDB has to keep deleted documents in storage.
-This ensures that when a client is offline, the deletion state is still known and can be replicated with the backend when the client goes online again.
-
-Keeping too many deleted documents in the storage can slow down queries or fill up too much disk space.
-With the [cleanup plugin](https://rxdb.info/cleanup.html), RxDB will run cleanup cycles that clean up deleted documents when it can be done safely.
-
-## Allow to set a specific index
-
-By default, the query will be sent to RxStorage, where a query planner will determine which one of the available indexes must be used.
-But the query planner cannot know everything and sometimes will not pick the most optimal index.
-To improve query performance, you can specify which index must be used, when running the query.
-
-```ts
-const queryResults = await myCollection
- .find({
- selector: {
- age: {
- $gt: 18
- },
- gender: {
- $eq: 'm'
- }
- },
- /**
- * Because the developer knows that 50% of the documents are 'male',
- * but only 20% are below age 18,
- * it makes sense to enforce using the ['gender', 'age'] index to improve performance.
- * This could not be known by the query planner which might have chosen ['age', 'gender'] instead.
- */
- index: ['gender', 'age']
- }).exec();
-```
-
-## Enforce primaryKey in the index
-
-For various performance optimizations, like the [EventReduce](https://github.com/pubkey/event-reduce) algorithm, RxDB needs a **deterministic sort order** for all query results.
-To ensure a deterministic sorting, RxDB now automatically adds the primary key as last sort attribute to every query, if it is not there already. This ensures that all documents that have the same attributes on all query relevant fields, still can be sorted in a deterministic way, not depending on which was written first to the database.
-
-In the past, this often lead to slow queries, because indexes where not constructed with that in mind.
-Now RxDB will add the `primaryKey` to all indexes that do not contain it already.
-If you have any collection with a custom index set, you need to run a [migration](https://rxdb.info/migration-schema.html) when updating to RxDB version `12.0.0` so that RxDB can rebuild the indexes.
-
-## Fields that are used in indexes need some meta attributes
-
-When using a schema with indexes, depending on the field type, you must have set some meta attributes like `maxLength` or `minimum`. This is required so that RxDB
-is able to know the maximum string representation length of a field, which is needed to craft custom indexes on several `RxStorage` implementations.
-
-```javascript
-const schemaWithIndexes = {
- version: 0,
- primaryKey: 'id',
- type: 'object',
- properties: {
- id: {
- type: 'string',
- maxLength: 100 // <- the primary key must set `maxLength`
- },
- firstName: {
- type: 'string',
- maxLength: 100 // <- string-fields that are used as an index, must set `maxLength`.
- },
- active: {
- type: 'boolean'
- },
- balance: {
- type: 'number',
-
- // number fields that are used in an index, must set `minimum`, `maximum` and `multipleOf`
- minimum: 0,
- maximum: 100000,
- multipleOf: '0.01'
- }
- },
- required: [
- 'active' // <- boolean fields that are used in an index, must be required.
- ],
- indexes: [
- 'firstName',
- ['active', 'firstName']
- ]
-};
-```
-
-## Introduce `_meta` field
-
-In the past, RxDB used a hacky way to mark documents as being from the remote instance during replication.
-This is needed to ensure that pulled documents are not sent to the backend again.
-RxDB crafted a specific revision string and stored the data with that string.
-This meant that it was not possible to replicate with multiple endpoints at the same time.
-From now on, all document data is stored with an `_meta` field that can contain various flags and other values.
-This makes it easier for plugins to remember stuff that belongs to the document.
-
-**In the future**, the other meta fields like `_rev`, `_deleted` and `_attachments` will be moved from the root level
-to the `_meta` field. This is **not** done in release `12.0.0` to ensure that there is a migration path.
-
-## Removed RxStorage RxKeyObjectInstance
-
-In the past, we stored local documents and internal data in a `RxStorageKeyObjectInstance` of the `RxStorage` interface.
-In PouchDB, this has a [slight performance](https://pouchdb.com/guides/local-documents.html#advantages-of-local%E2%80%93docs) improvement compared to storing that data in 'normal' documents because it does not have to handle the revision tree.
-But this improved performance is only possible because normal document handling on PouchDB is so slow.
-For every other RxStorage implementation, it does not really matter if documents are stored in a query-able way or not. Therefore, the whole `RxStorageKeyObjectInstance` is removed. Instead, RxDB now stores local documents and internal data in normal storage instances. This removes complexity and makes things easier in the future. For example, we could now migrate local documents or query them in plugins.
-
-## Refactor plugin hooks
-
-In the past, an `RxPlugin` could add plugins hooks which where always added as last.
-This meant that some plugins depended on having the correct order when calling `addRxPlugin()`.
-Now each plugin hook can be either defined as `before` or `after` to specify at which position of the current hooks
-the new hook must be added.
-
-## Local documents must be activated per RxDatabase/RxCollection
-
-For better performance, the local document plugin does not create a storage for every database or collection that is created.
-Instead, you have to set `localDocuments: true` when you want to store local documents in the instance.
-
-```js
-// activate local documents on a RxDatabase
-const myDatabase = await createRxDatabase({
- name: 'mydatabase',
- storage: getRxStoragePouch('memory'),
- localDocuments: true // <- activate this to store local documents in the database
-});
-
-myDatabase.addCollections({
- messages: {
- schema: messageSchema,
- localDocuments: true // <- activate this to store local documents in the collection
- }
-});
-```
-
-## Added Memory RxStorage
-
-The [Memory RxStorage](https://rxdb.info/rx-storage-memory.html) is based on plain in-memory arrays and objects. It can be used in all environments and is made for performance.
-
-## RxDB Premium 👑
-
-You can now purchase access to additional RxDB plugins that are part of the [RxDB Premium 👑](/premium/) package.
-
-**If you have [sponsored](https://github.com/sponsors/pubkey) RxDB in the past (before the April 2022), you can get free lifetime access to RxDB Premium 👑 by writing me via [Twitter](https://twitter.com/rxdbjs)**
-
-- [RxStorage IndexedDB](https://rxdb.info/rx-storage-indexeddb.html) a really fast [RxStorage](https://rxdb.info/rx-storage.html) implementation based on **IndexedDB**. Made to be used in browsers.
-- [RxStorage SQLite](https://rxdb.info/rx-storage-sqlite.html) a really fast [RxStorage](https://rxdb.info/rx-storage.html) implementation based on **SQLite**. Made to be used on **Node.js**, **Electron**, **React Native**, **Cordova** or **Capacitor**.
-- [RxStorage Sharding](https://rxdb.info/rx-storage-sharding.html) a wrapper around any other [RxStorage](https://rxdb.info/rx-storage.html) that improves performance by applying the sharding technique.
-- **migrateRxDBV11ToV12** A plugin that migrates data from any RxDB v11 storage to a new RxDB v12 database. Use this when you upgrade from RxDB 11->12 and you have to keep your database state.
-
-## Other changes
-
-- The Dexie.js RxStorage is no longer in beta mode.
-- Added `RxDocument().toMutableJSON()`
-- Added `RxCollection().bulkUpsert()`
-- Added optional `init()` function to `RxPlugin`.
-- dev-mode: Add check to ensure all top-level fields in a query are defined in the schema.
-- Support for array field based indexes like `data.[].subfield` was removed, as it anyway never really worked.
-- Refactored the usage of RxCollection.storageInstance to ensure all hooks run properly.
-- Refactored the encryption plugin so no more plugin specific code is in the RxDB core.
-- Removed the encrypted export from the json-import-export plugin. This was barely used and made everything more complex. All exports are now non-encrypted. If you need them encrypted, you can still run by encryption after the export is done.
-- RxPlugin hooks now can be defined as running `before` or `after` other plugin hooks.
-- Attachments are now internally handled as string instead of `Blob` or `Buffer`
-- Fix (replication primitives) only drop pulled documents when a relevant document was changed locally.
-- Fix dexie.js was not able to query over an index when `keyCompression: true`
-
-Changes to `RxStorageInterface`:
-- `RxStorageInstance` must have the `RxStorage` in the `storage` property.
-- The `_deleted` field is now required for each data interaction with `RxStorage`.
-- Removed `RxStorageInstance.getChangedDocuments()` and added `RxStorageInstance.getChangedDocumentsSince()` for better performance.
-- Added `doesBroadcastChangestream()` to `RxStorageStatics`
-- Added `withDeleted` parameter to `RxStorageKeyObjectInstance.findLocalDocumentsById()`
-- Added internal `_meta` property to stored document data that contains internal document related data like last-write-time and replication checkpoints.
-
-## You can help!
-
-There are many things that can be done by **you** to improve RxDB:
-
-- Check the [BACKLOG](https://github.com/pubkey/rxdb/blob/master/orga/BACKLOG.md) for features that would be great to have.
-- Check the [breaking backlog](https://github.com/pubkey/rxdb/blob/master/orga/before-next-major.md) for breaking changes that must be implemented in the future but where I did not have the time yet.
-- Check the [todos](https://github.com/pubkey/rxdb/search?q=todo) in the code. There are many small improvements that can be done for performance and build size.
-- Review the code and add tests. I am only a single human with a laptop. My code is not perfect and much small improvements can be done when people review the code and help me to clarify undefined behaviors.
-- Improve the documentation. In the last user survey, many users told me that the documentation is not good enough. But I reviewed the docs and could not find clear flaws. The problem is that I am way too deep into RxDB so that I am not able to understand which documentation a newcomer to the project needs. Likely I assume too much knowledge or focus writing about the wrong parts.
-- Update the [example projects](https://github.com/pubkey/rxdb/tree/master/examples) many of them are outdated and need updates.
-- Help the next [PouchDB release](https://github.com/pouchdb/pouchdb/issues/8408) to improve RxDBs performance.
diff --git a/docs/releases/13.0.0.html b/docs/releases/13.0.0.html
deleted file mode 100644
index 6abbb2ebb25..00000000000
--- a/docs/releases/13.0.0.html
+++ /dev/null
@@ -1,160 +0,0 @@
-
-
-
-
-
-RxDB 13.0.0 - A New Era of Replication | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
So in the last major RxDB versions, the focus was set to improvements of the storage engine. This is done. RxDB has now multiple RxStorage implementations, a better query planner and an improved test suite to ensure everything works correct.
-This let to huge improvements in write and query performance and decreased the initial pageload of RxDB based applications.
-
In the new major version 13.0.0, the focus was set to improvements to the replication protocol.
-When I first implemented the GraphQL replication a few years ago, I had a specific use case in mind and designed the whole protocol and replication plugins around that use case.
-
But the time has shown, that the old replication protocol is a big downside of RxDB:
-
-
The replication relied on the backend to solve all conflicts. This was easy to implement into RxDB because the whole responsibility was given away to the person that has to implement a compatible backend.
-
In each point in time, the replication did either push or pull documents, but never in parallel. This slows done the whole replication process and makes RxDB not usable for the implementation of features like multi-user-real-time-collaboration or when many read- and write operations have to happen in a short timespan.
-
After each push, a pull had to be run to check if the backend had changed the state to solve a conflict.
-
The replication protocol did not support attachments and was not designed to ever support them.
-
-
So in version 13.0.0 I replaced the whole replication plugins with a new replication protocol. The main goals have been:
-
-
Push- and Pull in parallel.
-
Use the data in the changestream (optional) to decrease replication latency.
-
Implement the conflict resolution into RxDB so that the client resolves its own conflicts and does not rely on the backend.
-
Decrease the complexity for a compatible backend implementation. The new protocol relies on a dumb backend. This will open compatibility with many other use cases like implementing Offline-First in Supabase or using CouchDB but having a faster replication compared to the native CouchDB replication.
-
Make it possible to use CRDTs instead of a conflict resolution.
-
Design a the protocol in a way to make it possible to add attachments replication in the future.
-
-
On the RxDocument level, the replication works like git, where the fork/client contains all new writes and must be merged with the master/server before it can push its new state to the master/server.
-
A---B1---C1---X master/server state
- \ /
- B1---C2 fork/client state
-
Backends that have been compatible with the previous RxDB versions 12 and older, will not work with the new replication protocol. To learn how to do that, either read the docs or check out the GraphQL example.
RENAMED the ajv-validate plugin to validate-ajv to be in equal with the other validation plugins.
-
-
-
The is-my-json-valid validation is no longer supported until this bug is fixed.
-
-
-
REFACTORED the schema validation plugins, they are no longer plugins but now they get wrapped around any other RxStorage.
-
-
It allows us to run the validation inside of a Worker RxStorage instead of running it in the main JavaScript process.
-
It allows us to configure which RxDatabase instance must use the validation and which does not. In production it often makes sense to validate user data, but you might not need the validation for data that is only replicated from the backend.
-
-
-
-
REFACTORED the key compression plugin, it is no longer a plugin but now a wrapper around any other RxStorage.
-
-
It allows to run the key-compression inside of a Worker RxStorage instead of running it in the main JavaScript process.
-
-
-
-
REFACTORED the encryption plugin, it is no longer a plugin but now a wrapper around any other RxStorage.
-
-
It allows to run the encryption inside of a Worker RxStorage instead of running it in the main JavaScript process.
-
It allows do use asynchronous crypto function like WebCrypto
-
-
-
-
Store the password hash in the same write request as the database token to improve performance.
REMOVED RxDatabase.broadcastChannel The broadcast channel has been moved out of the RxDatabase and is part of the RxStorage. So it is no longer exposed via RxDatabase.broadcastChannel.
-
-
-
Removed the liveInterval option of the replication plugins. It was an edge case feature with wrong defaults. If you want to run the pull replication on interval, you can send a RESYNC event manually in a loop.
-
-
-
REPLACED RxReplicationPullError and RxReplicationPushError with normal RxError like in the rest of the RxDB code.
-
-
-
REMOVED the option to filter out replication documents with the push/pull modifiers #2552 because this does not work with the new replication protocol.
-
-
-
CHANGE default of replication live to be set to true. Because most people want to do a live replication, not a one time replication.
-
-
-
RENAMED the server plugin is now called server-couchdb and RxDatabase.server() is now RxDatabase.serverCouchDB()
-
-
-
CHANGED Attachment data is now always handled as Blob because Node.js does support Blob since version 18.0.0 so we no longer have to use a Buffer but instead can use Blob for browsers and Node.js
-
-
-
REFACTORED the layout of RxChangeEvent to better match the RxDB requirements and to fix the 'deleted-document-is-modified-but-still-deleted' bug.
-
-
-
When used with Node.js, RxDB now requires Node.js version 18.0.0 or higher.
Stored data of the previous RxDB versions is not compatible with RxDB 13.0.0. So if you want to keep that data, you have to migrate it in a way. For most use cases you might want to just drop the data from the client and re-sync it again from the backend. To keep the data locally, you might want to use the storage migration plugin.
-
-
\ No newline at end of file
diff --git a/docs/releases/13.0.0.md b/docs/releases/13.0.0.md
deleted file mode 100644
index 6779dc6d082..00000000000
--- a/docs/releases/13.0.0.md
+++ /dev/null
@@ -1,94 +0,0 @@
-# RxDB 13.0.0 - A New Era of Replication
-
-> Discover RxDB 13.0's brand-new replication protocol, faster performance, and real-time collaboration for a seamless offline-first experience.
-
-# 13.0.0
-
-So in the last major RxDB versions, the focus was set to **improvements of the storage engine**. This is done. RxDB has now [multiple RxStorage implementations](../rx-storage.md), a better query planner and an improved test suite to ensure everything works correct.
-This let to huge improvements in write and query performance and decreased the initial pageload of RxDB based applications.
-
-In the new major version `13.0.0`, the focus was set to improvements to the **replication protocol**.
-When I first implemented the GraphQL replication a few years ago, I had a specific use case in mind and designed the whole protocol and replication plugins around that use case.
-
-But the time has shown, that the old replication protocol is a big downside of RxDB:
- - The replication relied on the backend to solve all **conflicts**. This was easy to implement into RxDB because the whole responsibility was given away to the person that has to implement a compatible backend.
- - In each point in time, the replication did either push or pull documents, but **never in parallel**. This slows done the whole replication process and makes RxDB not usable for the implementation of features like **multi-user-real-time-collaboration** or when many read- and write operations have to happen in a short timespan.
- - After each `push`, a `pull` had to be run to check if the backend had changed the state to solve a conflict.
- - The replication protocol did not support attachments and was not designed to ever support them.
-
-So in version `13.0.0` I replaced the whole replication plugins with a new replication protocol. The main goals have been:
- - Push- and Pull in parallel.
- - Use the data in the changestream (optional) to decrease replication latency.
- - Implement the conflict resolution into RxDB so that the **client resolves its own conflicts** and does not rely on the backend.
- - Decrease the complexity for a compatible backend implementation. The new protocol relies on a *dumb* backend. This will open compatibility with many other use cases like implementing [Offline-First in Supabase](https://github.com/supabase/supabase/discussions/357) or using CouchDB but having a faster replication compared to the native CouchDB replication.
- - Make it possible to use [CRDTs](https://en.wikipedia.org/wiki/Conflict-free_replicated_data_type) instead of a conflict resolution.
- - Design a the protocol in a way to make it possible to add attachments replication in the future.
-
-On the RxDocument level, the replication works like git, where the fork/client contains all new writes and must be merged with the master/server before it can push its new state to the master/server.
-
-```
-A---B1---C1---X master/server state
- \ /
- B1---C2 fork/client state
-```
-
-For more details, read the [documentation about the new RxDB Sync Engine](../replication.md).
-
-Backends that have been compatible with the previous RxDB versions `12` and older, will not work with the new replication protocol. To learn how to do that, either read the [docs](../replication.md) or check out the [GraphQL example](https://github.com/pubkey/rxdb/tree/master/examples/graphql).
-
-## Other breaking changes
-
-- RENAMED the `ajv-validate` plugin to `validate-ajv` to be in equal with the other validation plugins.
-- The `is-my-json-valid` validation is no longer supported until [this bug](https://github.com/mafintosh/is-my-json-valid/pull/192) is fixed.
-
-- REFACTORED the [schema validation plugins](https://rxdb.info/schema-validation.html), they are no longer plugins but now they get wrapped around any other RxStorage.
- - It allows us to run the validation inside of a [Worker RxStorage](../rx-storage-worker.md) instead of running it in the main JavaScript process.
- - It allows us to configure which `RxDatabase` instance must use the validation and which does not. In production it often makes sense to validate user data, but you might not need the validation for data that is only replicated from the backend.
-
-- REFACTORED the [key compression plugin](../key-compression.md), it is no longer a plugin but now a wrapper around any other RxStorage.
- - It allows to run the key-compression inside of a [Worker RxStorage](../rx-storage-worker.md) instead of running it in the main JavaScript process.
-
-- REFACTORED the encryption plugin, it is no longer a plugin but now a wrapper around any other RxStorage.
- - It allows to run the encryption inside of a [Worker RxStorage](../rx-storage-worker.md) instead of running it in the main JavaScript process.
- - It allows do use asynchronous crypto function like [WebCrypto](https://developer.mozilla.org/en-US/docs/Web/API/Web_Crypto_API)
-- Store the password hash in the same write request as the database token to improve performance.
-
-- REMOVED support for temporary documents [see here](https://github.com/pubkey/rxdb/pull/3777#issuecomment-1120669088)
-
-- REMOVED RxDatabase.broadcastChannel The broadcast channel has been moved out of the RxDatabase and is part of the RxStorage. So it is no longer exposed via `RxDatabase.broadcastChannel`.
-
-- Removed the `liveInterval` option of the replication plugins. It was an edge case feature with wrong defaults. If you want to run the pull replication on interval, you can send a `RESYNC` event manually in a loop.
-
-- REPLACED `RxReplicationPullError` and `RxReplicationPushError` with normal `RxError` like in the rest of the RxDB code.
-- REMOVED the option to filter out replication documents with the push/pull modifiers [#2552](https://github.com/pubkey/rxdb/issues/2552) because this does not work with the new replication protocol.
-- CHANGE default of replication `live` to be set to `true`. Because most people want to do a live replication, not a one time replication.
-
-- RENAMED the `server` plugin is now called `server-couchdb` and `RxDatabase.server()` is now `RxDatabase.serverCouchDB()`
-
-- CHANGED Attachment data is now always handled as `Blob` because Node.js does support `Blob` since version 18.0.0 so we no longer have to use a `Buffer` but instead can use Blob for browsers and Node.js
-
-- REFACTORED the layout of `RxChangeEvent` to better match the RxDB requirements and to fix the 'deleted-document-is-modified-but-still-deleted' bug.
-
-When used with Node.js, RxDB now requires Node.js version `18.0.0` or higher.
-
-## Other non breaking or internal changes
-
-- REMOVED many unused plugin hooks because they decreased the performance.
-- REMOVE RxStorageStatics `.hash` and `.hashKey`
-- CHANGE removed default usage of `md5` as default hashing. Use a faster non-cryptographic hash instead.
- - ADD option to pass a custom hash function when calling `createRxDatabase`.
-- CHANGE use `Float` instead of `Int` to represent timestamps in GraphQL.
-
-- FIXED multiple problems with encoding attachments data. We now use the `js-base64` library which properly handles utf-8/binary/ascii transformations.
-
-- In the RxDB internal `_meta.lwt` field, we now use 2 decimals number of the unix timestamp in milliseconds.
-- ADDED `checkpointSchema` to the `RxStorage.statics` interface.
-
-## New Features
-
-- ADDED the [websocket replication plugin](../replication-websocket.md)
-- ADDED the [FoundationDB RxStorage](../rx-storage-foundationdb.md)
-
-## Migration to the new version
-
-Stored data of the previous RxDB versions is not compatible with RxDB `13.0.0`. So if you want to keep that data, you have to migrate it in a way. For most use cases you might want to just drop the data from the client and re-sync it again from the backend. To keep the data locally, you might want to use the [storage migration plugin](../migration-storage.md).
diff --git a/docs/releases/14.0.0.html b/docs/releases/14.0.0.html
deleted file mode 100644
index 33d665ea362..00000000000
--- a/docs/releases/14.0.0.html
+++ /dev/null
@@ -1,163 +0,0 @@
-
-
-
-
-
-RxDB 14.0 - Major Changes & New Features | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
The PouchDB RxStorage was deprecated in 13 and has now finally been removed, see here.
-Also the old replication-couchdb plugin was removed. Instead we had the replication-couchdb-new plugin which was now renamed to replication-couchdb.
At the previous version of RxDB, RxDocuments mutate themself when they receive ChangeEvents from the database. For example when you have a document where name = 'foo' and some update changes the state to name = 'bar' in the database, then the previous JavaScript object changed its own property to the have doc.name === 'bar'.
-This feature was great when you use a RxDocument with some change-detection like in angular or vue templates. You can use document properties directly in the template and all updates will be reflected in the view, without having to use observables or subscriptions.
-
However this behavior is also confusing many times. When the state in the database is changed, it is not clear at which exact point of time the objects attribute changes. Also the self mutating behavior created some problem with vue- and react-devtools because of how they clone objects.
-
In RxDB v14, all RxDocuments are immutable. When you subscribe to a query and the same document is returned in the results, this will always be a new JavaScript object.
-
Also RxDocument.$ now emits RxDocument instances instead of the plain document data.
In the past, the functions findByIds and findByIds$ directly returned the result set. This was confusing, instead they now return a RxQuery object that works exactly like any other database query.
In the past the naming of the document mutation methods is confusing.
-For example update() works completely different to atomicUpdate() and so on.
-The naming of all functions was unified and all methods do now have an incremental and a non-incremental version (previously known as atomic):
-
-
RENAME atomicUpdate() to incrementalModify()
-
RENAME atomicPatch() to incrementalPatch()
-
RENAME atomicUpsert() to incrementalUpsert()
-
ADD RxDocument().incrementalUpdate()
-
ADD RxDocument.incrementalRemove()
-
ADD non-incremental RxDocument methods patch() and modify()
In the past, to start a replication, the replication plugin was added to RxDB and a method on the RxCollection was called like myRxCollection.syncGraphQL().
-This caused many problems with tree shaking bailouts and having the correct typings.
-So instead of having class method on the RxCollection, the replications are now started like:
For better naming, all storage plugins have been prefixed with storage- so the imports have been changed:
-
// Instead of
-import { getRxStorageDexie } from 'rxdb/plugins/dexie';
-// it is now
-import { getRxStorageDexie } from 'rxdb/plugins/storage-dexie';
-
Encryption plugin was renamed to encryption-crypto-js
-
To make it possible to have alternative encryption plugins, the encryption plugin was renamed to encryption-crypto-js.
-
// Instead of
-import { wrappedKeyEncryptionStorage } from 'rxdb/plugins/encryption';
-// it is now
-import { wrappedKeyEncryptionCryptoJsStorage } from 'rxdb/plugins/encryption-crypto-js';
In the past, the worker plugin was based on the threads library. It was completely rewritten and uses the plain JavaScript API together with the remote storage plugin. BUT notice that the worker plugin has moved into the RxDB Premium 👑 package.
In the past, the _rev field of a RxDocument data was filled with a hash of the documents data. This was not the best solution because:
-
-
Hashing in JavaScript is slow, not running hashes on insert improves performance by about 33%
-
When 2 clients do the exact same write to the document, it is not clear from comparing the document states because they will have the exact same hash which makes some conflict resolution strategies impossible to implement.
-
-
Instead we now use just use the RxDatabase.token together with the revision height.
When making multiple writes to different (or the same) document, in the past RxDB made one write call to the storage. When doing fast writes, like when you writhe the current mouse position to a document, the writes could have queued up to the point where the users recognizes performance lag.
-In RxDB v14, pending document updates are batched up into single storage writes for better performance.
The whole RxDocument cache was refactored. It now runs based on the WeakRef API and automatically cleans up cached documents that are no longer referenced. This reduces the use memory and makes RxDB more suitable for being used in Node.js on the server side.
-
Notice that the WeakRef API is only featured in modern browsers so RxDB will no longer run on ie11.
-
No longer transpile some modern JavaScript features
-
To reduce the bundle size and improve performance, the following JavaScript features will no longer be transpiled because they are natively supported in modern browsers anyway:
The way RxDB hashes and normalizes a schema has changed. To migrate stored data between the RxDB versions, therefore you have to increase your schema version by 1 and add a migration strategy.
-
For some storages, the stored data of the previous RxDB versions is not compatible with RxDB 14.0.0. So if you want to keep that data, you have to migrate it in a way. For most use cases you might want to just drop the data from the client and re-sync it again from the backend. To keep the data locally, you might want to use the storage migration plugin.
There are many things that can be done by you to improve RxDB:
-
-
Check the BACKLOG for features that would be great to have.
-
Check the breaking backlog for breaking changes that must be implemented in the future but where I did not have the time yet.
-
Check the todos in the code. There are many small improvements that can be done for performance and build size.
-
Review the code and add tests. I am only a single human with a laptop. My code is not perfect and much small improvements can be done when people review the code and help me to clarify undefined behaviors.
-
Update the example projects many of them are outdated and need updates.
-
-
\ No newline at end of file
diff --git a/docs/releases/14.0.0.md b/docs/releases/14.0.0.md
deleted file mode 100644
index dd8a0df1ba6..00000000000
--- a/docs/releases/14.0.0.md
+++ /dev/null
@@ -1,171 +0,0 @@
-# RxDB 14.0 - Major Changes & New Features
-
-> Discover RxDB 14.0, a major release packed with API changes, improved performance, and streamlined storage, ensuring faster data operations than ever.
-
-# 14.0.0
-
-The release [14.0.0](https://rxdb.info/releases/14.0.0.html) is used for major refactorings and API changes.
-The replication or the storage layer have only been touched marginally.
-
-Notice that only the major changes are listed here. All minor changes can be found in the [changelog](https://github.com/pubkey/rxdb/blob/master/CHANGELOG.md).
-
-## Removing deprecated features
-
-The PouchDB RxStorage was deprecated in 13 and has now finally been removed, see [here](../rx-storage-pouchdb.md).
-Also the old `replication-couchdb` plugin was removed. Instead we had the `replication-couchdb-new` plugin which was now renamed to `replication-couchdb`.
-
-## API changes
-
-### RxDocument objects are now immutable
-
-At the previous version of RxDB, RxDocuments mutate themself when they receive ChangeEvents from the database. For example when you have a document where `name = 'foo'` and some update changes the state to `name = 'bar'` in the database, then the previous JavaScript object changed its own property to the have `doc.name === 'bar'`.
-This feature was great when you use a RxDocument with some change-detection like in angular or vue templates. You can use document properties directly in the template and all updates will be reflected in the view, without having to use observables or subscriptions.
-
-However this behavior is also confusing many times. When the state in the database is changed, it is not clear at which exact point of time the objects attribute changes. Also the self mutating behavior created some problem with vue- and react-devtools because of how they clone objects.
-
-In RxDB v14, all RxDocuments are immutable. When you subscribe to a query and the same document is returned in the results, this will always be a new JavaScript object.
-
-Also `RxDocument.$` now emits `RxDocument` instances instead of the plain document data.
-
-### Refactor `findByIds()`
-
-In the past, the functions `findByIds` and `findByIds$` directly returned the result set. This was confusing, instead they now return a `RxQuery` object that works exactly like any other database query.
-
-```ts
-const results = await myRxCollection.findByIds(['foo', 'bar']).exec();
-const results$ = await myRxCollection.findByIds(['foo', 'bar']).$;
-```
-
-### Rename to RxDocument update/modify functions
-
-Related issue [#4180](https://github.com/pubkey/rxdb/issues/4180).
-
-In the past the naming of the document mutation methods is confusing.
-For example `update()` works completely different to `atomicUpdate()` and so on.
-The naming of all functions was unified and all methods do now have an incremental and a non-incremental version (previously known as `atomic`):
-- RENAME `atomicUpdate()` to `incrementalModify()`
-- RENAME `atomicPatch()` to `incrementalPatch()`
-- RENAME `atomicUpsert()` to `incrementalUpsert()`
-- ADD `RxDocument().incrementalUpdate()`
-- ADD `RxDocument.incrementalRemove()`
-- ADD non-incremental `RxDocument` methods `patch()` and `modify()`
-
-### Replication is started with a pure function
-
-In the past, to start a replication, the replication plugin was added to RxDB and a method on the RxCollection was called like `myRxCollection.syncGraphQL()`.
-This caused many problems with tree shaking bailouts and having the correct typings.
-So instead of having class method on the RxCollection, the replications are now started like:
-
-```ts
-import { replicateCouchDB } from 'rxdb/plugins/replication-couchdb';
-const replicationState = replicateCouchDB({ /* ... */ });
-```
-
-### Storage plugins are prefixed with `storage-`
-
-For better naming, all storage plugins have been prefixed with `storage-` so the imports have been changed:
-
-```ts
-// Instead of
-import { getRxStorageDexie } from 'rxdb/plugins/dexie';
-// it is now
-import { getRxStorageDexie } from 'rxdb/plugins/storage-dexie';
-```
-
-### Encryption plugin was renamed to `encryption-crypto-js`
-
-To make it possible to have alternative encryption plugins, the `encryption` plugin was renamed to `encryption-crypto-js`.
-
-```ts
-// Instead of
-import { wrappedKeyEncryptionStorage } from 'rxdb/plugins/encryption';
-// it is now
-import { wrappedKeyEncryptionCryptoJsStorage } from 'rxdb/plugins/encryption-crypto-js';
-```
-
-### Rewrite the `worker` plugin
-
-In the past, the [worker plugin](../rx-storage-worker.html) was based on the [threads](https://www.npmjs.com/package/threads) library. It was completely rewritten and uses the plain JavaScript API together with the [remote storage plugin](../rx-storage-remote.md). **BUT** notice that the worker plugin has moved into the [RxDB Premium 👑](/premium/) package.
-
-## Performance improvements
-
-### Do not use hash for revisions
-
-In the past, the `_rev` field of a RxDocument data was filled with a hash of the documents data. This was not the best solution because:
-- Hashing in JavaScript is slow, not running hashes on insert improves performance by about 33%
-- When 2 clients do the exact same write to the document, it is not clear from comparing the document states because they will have the exact same hash which makes some conflict resolution strategies impossible to implement.
-
-Instead we now use just use the RxDatabase.token together with the revision height.
-
-### Batch up incremental operations
-
-When making multiple writes to different (or the same) document, in the past RxDB made one write call to the storage. When doing fast writes, like when you writhe the current mouse position to a document, the writes could have queued up to the point where the users recognizes performance lag.
-In RxDB v14, pending document updates are batched up into single storage writes for better performance.
-
-### Improved tree shaking
-
-Many changes have been made to improve [tree shakability](https://webpack.js.org/guides/tree-shaking/) of RxDB which results in smaller bundle sizes and a faster application startup.
-
-### Refactor the document cache
-
-The whole RxDocument cache was refactored. It now runs based on the [WeakRef API](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakRef) and automatically cleans up cached documents that are no longer referenced. This reduces the use memory and makes RxDB more suitable for being used in Node.js on the server side.
-
-Notice that the WeakRef API is only featured in [modern browsers](https://caniuse.com/?search=weakref) so RxDB will no longer run on ie11.
-
-### No longer transpile some modern JavaScript features
-
-To reduce the bundle size and improve performance, the following JavaScript features will no longer be transpiled because they are natively supported in modern browsers anyway:
- - [async/await](https://caniuse.com/async-functions)
- - [Arrow functions](https://caniuse.com/arrow-functions)
- - [for...of](https://caniuse.com/?search=for...of)
- - [shorthand properties](https://caniuse.com/mdn-javascript_operators_object_initializer_shorthand_property_names)
- - [Spread operator](https://caniuse.com/?search=spread%20operator)
- - [destructuring](https://caniuse.com/?search=destructuring)
- - [default parameters](https://caniuse.com/?search=default%20parameters)
- - [object spread](https://caniuse.com/?search=Object%20spread)
-
-All these optimizations together reduced the [test-bundle](https://github.com/pubkey/rxdb/blob/master/config/bundle-size.js) size from `74148` bytes down to `36007` bytes.
-
-## Other changes
-- ADD `push/pull.initialCheckpoint` to start a replication from a given checkpoint.
-- The following plugins are out of beta mode:
- - [RxStorage Sharding](../rx-storage-sharding.md)
- - [RxStorage Remote](../rx-storage-remote.md)
- - [RxStorage FoundationDB](../rx-storage-foundationdb.md)
- - [New Replication CouchDB](../replication-couchdb.md)
- - [Cleanup Plugin](../cleanup.md)
-
-## Bugfixes
-- CHANGE (memory RxStorage) do not clean up database state on closing of the storage, only on `remove()`.
-- FIX CouchDB replication: Use correct default fetch method.
-- FIX schema hashing should respect the sort order [#4005](https://github.com/pubkey/rxdb/pull/4005)
-- FIX replication does not provide a `._rev` to the storage write when a conflict is resolved.
-- FIX(remote storage) ensure caching works properly even on parallel create-calls
-- FIX(replication) Composite Primary Keys broken on replicated collections [#4190](https://github.com/pubkey/rxdb/pull/4190)
-- FIX(sqlite) $in Query not working SQLite [#4278](https://github.com/pubkey/rxdb/issues/4278)
-- FIX CouchDB push is throwing error because of missing revision [#4299](https://github.com/pubkey/rxdb/pull/4299)
-- ADD dev-mode shows a `console.warn()` to ensure people do not use it in production.
-- Remove the usage of `Buffer`. We now use `Blob` everywhere.
-- FIX import of socket.io [#4307](https://github.com/pubkey/rxdb/pull/4307)
-- FIX Id length limit reached with composite key [#4315](https://github.com/pubkey/rxdb/issues/4315)
-- FIX `$regex` query not working on remote storage.
-- FIX SQLite must store attachments data as Blob instead of base64 string to reduce the database size.
-- FIX CouchDB replication conflict handling
-- CHANGE Encryption plugin was renamed to `encryption-crypto-js`
-- FIX replication state meta data must also be encrypted.
-
-## Migration from 13.x.x to 14.0.0
-
-The way RxDB hashes and normalizes a schema has changed. To migrate stored data between the RxDB versions, therefore you have to increase your schema version by `1` and add a migration strategy.
-
-For some storages, the stored data of the previous RxDB versions is not compatible with RxDB `14.0.0`. So if you want to keep that data, you have to migrate it in a way. For most use cases you might want to just drop the data from the client and re-sync it again from the backend. To keep the data locally, you might want to use the [storage migration plugin](../migration-storage.md).
-
-## You can help!
-
-There are many things that can be done by **you** to improve RxDB:
-
-- Check the [BACKLOG](https://github.com/pubkey/rxdb/blob/master/orga/BACKLOG.md) for features that would be great to have.
-- Check the [breaking backlog](https://github.com/pubkey/rxdb/blob/master/orga/before-next-major.md) for breaking changes that must be implemented in the future but where I did not have the time yet.
-- Check the [todos](https://github.com/pubkey/rxdb/search?q=todo) in the code. There are many small improvements that can be done for performance and build size.
-- Review the code and add tests. I am only a single human with a laptop. My code is not perfect and much small improvements can be done when people review the code and help me to clarify undefined behaviors.
-- Update the [example projects](https://github.com/pubkey/rxdb/tree/master/examples) many of them are outdated and need updates.
diff --git a/docs/releases/15.0.0.html b/docs/releases/15.0.0.html
deleted file mode 100644
index 88ce7823ae2..00000000000
--- a/docs/releases/15.0.0.html
+++ /dev/null
@@ -1,160 +0,0 @@
-
-
-
-
-
-RxDB 15.0.0 - Major Migration Overhaul | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Performance has improved a lot. Much work has been done to reduce the CPU footprint of RxDB so that when writes and reads are performed on the database, the JavaScript process can start updating the UI much faster.
-Also there have been a lot of improvements to the IndexedDB RxStorage which now runs in a Write-Ahead Logging (WAL) mode which makes write operations about 4x as fast.
-The whole RxStorage interface has been optimized so that it has to run less operations which improves overall performance. Read more
Replication options (like url), are no longer used as replication state identifier. Changing the url without having to restart the replication, is now possible. This is useful if you change your replication url (like path/v3/) on schema changes and you do not want to restart the replication from scratch. You can even swap the replication plugin while still keeping the replication state. The couchdb replication now also requires an replicationIdentifier.
-
The replication meta data is now also compressed when the KeyCompression Plugin is used.
-
The replication-protocol does now support attachment replication. This clears the path to add the attachment replication to the other RxDB replication plugins.
From now on it internally uses the replication protocol to do a one-time replication from the old collection to the new one. This makes the code more simple and ensures that canceled migrations (when the user closes the browser), can continue from the correct position.
-
Replication states from the RxReplication are also migrated together with the normal data.
-Previously a migration dropped the replication state which required a new replication of all data from scratch, even if the
-client already had the same data as the server. Now the assumedMasterState and checkpoint are also migrated so that
-the replication will continue from where it was before the migration has run.
-
Also it now handles multi-instance runtimes correctly. If multiple browser tabs are open, only one of them (per RxCollection) will run the migration.
-Migration state events are propagated across browser tabs.
-
Documents with _deleted: true will also be migrated. This ensures that non-pushed deletes are not dropped during migrations and will
-still be replicated if the client goes online again.
Using crypto.subtle.digest from the native WebCrypto API is much faster, so RxDB now uses that as a default. If the API is not available, like in React-Native, the ohash module is used instead. Also any custom hashFunction can be provided when creating the RxDatabase. The hashFunction must now be async and return a Promise.
Hashing of attachment data to calculate the digest is now done from the RxDB side, not the RxStorage. If you set a custom hashFunction for the database, it will also be used for attachments digest meta data.
Queries with a $regex operator must now be defined as strings, not with RegExp objects. You can still pass RegExp's flags in $options parameter. RegExp are mutable objects, which was dangerous and caused hard-to-debug problems.
-Also stringification of the $regex had bad performance but is required to send queries from RxDB to the RxStorage.
Equal to other bulk operations, bulkUpsert will now return an error and a success array. This allows to filter for validation errors and handle them properly.
RxDB cannot resolve $ref fields in the schema because it would have a negative performance impact.
-We now have a dev-mode check to throw a helpful error message if $refs are used in the schema.
Memory-Synced storage no longer supports replication+migration
-
The memory-synced storage itself does not support replication and migration. This was allowed in the past, but dangerous so now there is an error that throws.
-Instead you should replicate the underlying parent storage. Notice that this is only for the memory-synced storage, NOT for the normal memory storage. There the replication works like before.
In the past we used gitbook which is no longer maintained and had some major issues. Now the documentation of RxDB is rendered and served with docusaurus which has a better design and maintenance.
In the past, the modifyjs was used for the update plugin. This was replaced with the mingo library which is more up to date and already used in RxDB for the query engine.
We no longer have RxStorage.statics.prepareQuery(). Instead all storages get the same prepared query as input for the .query() method. If a storage requires some transformations, it has to do them by itself before running the query. This change simplifies the whole RxDB code base a lot and the previous assumption of having a better performance by pre-running the query preparation, turned out to be not true because the query planning is quite fast.
-
Removed the RxStorage.statics property. This makes configuration easier especially for the remote storage plugins.
-
The RxStorage itself will now return _deleted=true documents on the .query() method. This is required for upcoming plugins like the server plugin where it must be able to run queries on deleted documents.
-Notice that this is only for the RxStorage itself, RxDB queries will run like normal and NOT contain deleted documents in their results.
-
Changed the response type of RxStorageInstance.bulkWrite() from indexed (by id) objects to arrays for better performance.
storage-migration plugin moved from premium to open-core
-
The storage migration plugin can be used to migrate data between different RxStorage implementation or to migrate data between major RxDB versions. This previously was a 👑 premium plugin, but now it is part of the open-core. Also the params syntax changed a bit read more.
By default you are not allowed to use the premium plugins after the
-license has expired and you will no longer be able to install them. But
-you can choose the Perpetual license option. With the perpetual
-license option, you can still use the plugins even after the license is
-expired. But you will no longer get any updates from newer RxDB
-versions.
There are many things that can be done by you to improve RxDB:
-
-
Check the BACKLOG for features that would be great to have.
-
Check the breaking backlog for breaking changes that must be implemented in the future but where I did not have the time yet.
-
Check the todos in the code. There are many small improvements that can be done for performance and build size.
-
Review the code and add tests. I am only a single human with a laptop. My code is not perfect and much small improvements can be done when people review the code and help me to clarify undefined behaviors.
-
Update the example projects some of them are outdated and need updates.
-
-
\ No newline at end of file
diff --git a/docs/releases/15.0.0.md b/docs/releases/15.0.0.md
deleted file mode 100644
index da74505062a..00000000000
--- a/docs/releases/15.0.0.md
+++ /dev/null
@@ -1,183 +0,0 @@
-# RxDB 15.0.0 - Major Migration Overhaul
-
-> Discover RxDB 15.0.0, featuring new migration strategies, replication improvements, and lightning-fast performance to supercharge your app.
-
-# 15.0.0
-
-The release [15.0.0](https://rxdb.info/releases/15.0.0.html) is used for major refactorings in the migration plugins and performance improvements of the RxStorage implementations.
-
-## LinkedIn
-
-Stay connected with the latest updates and network with professionals in the RxDB community by following RxDB's [official LinkedIn page](https://www.linkedin.com/company/rxdb)!
-
-## Performance
-
-Performance has improved a lot. Much work has been done to reduce the CPU footprint of RxDB so that when writes and reads are performed on the database, the JavaScript process can start updating the UI much faster.
-Also there have been a lot of improvements to the [IndexedDB RxStorage](../rx-storage-indexeddb.md) which now runs in a **Write-Ahead Logging (WAL)** mode which makes write operations about 4x as fast.
-The whole RxStorage interface has been optimized so that it has to run less operations which improves overall performance. [Read more](../rx-storage-performance.md)
-
-
-
-
-
-## Replication
-
-Replication options (like url), are no longer used as replication state identifier. Changing the url without having to restart the replication, is now possible. This is useful if you change your replication url (like `path/v3/`) on schema changes and you do not want to restart the replication from scratch. You can even swap the replication plugin while still keeping the replication state. The [couchdb replication](../replication-couchdb.md) now also requires an `replicationIdentifier`.
-
-The replication meta data is now also compressed when the [KeyCompression Plugin](../key-compression.md) is used.
-
-The replication-protocol does now support attachment replication. This clears the path to add the attachment replication to the other RxDB replication plugins.
-
-## Rewrite schema version migration
-
-The [schema migration plugin](../migration-schema.md) has been fully rewritten from scratch.
-
-From now on it internally uses the replication protocol to do a one-time replication from the old collection to the new one. This makes the code more simple and ensures that canceled migrations (when the user closes the browser), can continue from the correct position.
-
-Replication states from the [RxReplication](../replication.md) are also migrated together with the normal data.
-Previously a migration dropped the replication state which required a new replication of all data from scratch, even if the
-client already had the same data as the server. Now the `assumedMasterState` and `checkpoint` are also migrated so that
-the replication will continue from where it was before the migration has run.
-
-Also it now handles multi-instance runtimes correctly. If multiple browser tabs are open, only one of them (per RxCollection) will run the migration.
-Migration state events are propagated across browser tabs.
-
-Documents with `_deleted: true` will also be migrated. This ensures that non-pushed deletes are not dropped during migrations and will
-still be replicated if the client goes online again.
-
-## Set `eventReduce:true` as default
-
-The [EventReduce algorithm](https://github.com/pubkey/event-reduce) is now enabled by default.
-
-## Use `crypto.subtle.digest` for hashing
-
-Using `crypto.subtle.digest` from the native WebCrypto API is much faster, so RxDB now uses that as a default. If the API is not available, like in React-Native, the [ohash](https://github.com/unjs/ohash) module is used instead. Also any custom `hashFunction` can be provided when creating the [RxDatabase](../rx-database.md). The `hashFunction` must now be async and return a Promise.
-
-## Fix attachment hashing
-
-Hashing of attachment data to calculate the `digest` is now done from the RxDB side, not the RxStorage. If you set a custom `hashFunction` for the database, it will also be used for attachments `digest` meta data.
-
-## Requires at least typescript version 5.0.0
-
-We now use `export type * from './types';` so RxDB will not work on typescript versions older than 5.0.0.
-
-## Require string based `$regex`
-
-Queries with a `$regex` operator must now be defined as strings, not with `RegExp` objects. You can still pass RegExp's flags in `$options` parameter. `RegExp` are mutable objects, which was dangerous and caused hard-to-debug problems.
-Also stringification of the $regex had bad performance but is required to send queries from RxDB to the RxStorage.
-
-## Refactor dexie.js RxStorage
-
-The [dexie.js storage](../rx-storage-dexie.md) was refactored to add some missing features:
-- [Attachment](../rx-attachment.md) support
-- Support for boolean indexes
-
-## RxLocalDocument.$ emits a document instance, not the plain data
-
-This was changed in [v14](./14.0.0.md) for a normal RxDocument.$ which emits RxDocument instances. Same is now also done for [local documents](../rx-local-document.md).
-
-## Fix return type of .bulkUpsert
-
-Equal to other bulk operations, `bulkUpsert` will now return an `error` and a `success` array. This allows to filter for validation errors and handle them properly.
-
-## Add dev-mode check for disallowed $ref fields
-
-RxDB cannot resolve `$ref` fields in the schema because it would have a negative performance impact.
-We now have a dev-mode check to throw a helpful error message if $refs are used in the schema.
-
-## Improve RxDocument property access performance
-
-We now use the Proxy API instead of defining getters on each nested property. Also fixed [#4949](https://github.com/pubkey/rxdb/pull/4949)
-
-`patternProperties` is now allowed on the non-top-level of a schema [#4951](https://github.com/pubkey/rxdb/pull/4951)
-
-## Add deno support
-
-The RxDB test suite now also runs in the [deno](https://deno.com/) runtime. Also there is a [DenoKV](https://rxdb.info/rx-storage-denokv.html) based RxStorage to use with Deno Deploy.
-
-## Memory RxStorage
-
-Rewrites of the [Memory RxStorage](../rx-storage-memory.md) for better performance.
-- Writes are 3x faster
-- Find-by id is 2x faster
-
-## Memory-Synced storage no longer supports replication+migration
-
-The [memory-synced storage](../rx-storage-memory-synced.md) itself does not support replication and migration. This was allowed in the past, but dangerous so now there is an error that throws.
-Instead you should replicate the underlying parent storage. Notice that this is only for the [memory-synced storage](../rx-storage-memory-synced.md), NOT for the normal [memory storage](../rx-storage-memory.md). There the replication works like before.
-
-## Added Logger Plugin
-
-I added a [logger plugin](../logger.md) to detect performance problems and errors.
-
-## Documentation is now served by docusaurus
-
-In the past we used gitbook which is no longer maintained and had some major issues. Now the documentation of RxDB is rendered and served with [docusaurus](https://docusaurus.io/) which has a better design and maintenance.
-
-## Replaced `modfijs` with `mingo` package
-
-In the past, the [modifyjs](https://github.com/lgandecki/modifyjs) was used for the `update` plugin. This was replaced with the [mingo library](https://github.com/kofrasa/mingo) which is more up to date and already used in RxDB for the query engine.
-
-## Changes to the RxStorage interface
-
-We no longer have `RxStorage.statics.prepareQuery()`. Instead all storages get the same prepared query as input for the `.query()` method. If a storage requires some transformations, it has to do them by itself before running the query. This change simplifies the whole RxDB code base a lot and the previous assumption of having a better performance by pre-running the query preparation, turned out to be not true because the query planning is quite fast.
-
-Removed the `RxStorage.statics` property. This makes configuration easier especially for the remote storage plugins.
-
-The RxStorage itself will now return `_deleted=true` documents on the `.query()` method. This is required for upcoming plugins like the server plugin where it must be able to run queries on deleted documents.
-Notice that this is only for the RxStorage itself, RxDB queries will run like normal and NOT contain deleted documents in their results.
-
-Changed the response type of RxStorageInstance.bulkWrite() from indexed (by id) objects to arrays for better performance.
-
-## Other changes
-
-- Added `RxCollection.cleanup()` to manually call the [cleanup functions](../cleanup.md).
-- Rename send$ to sent$: `myRxReplicationState.send$.subscribe` works only if the sending is successful. Therefore, it is renamed to `sent$`, not `send$`.
-- We no longer ship `dist/rxdb.browserify.js` and `dist/rxdb.browserify.min.js`. If you need these, build them by yourself.
-- The example project for vanilla javascript was outdated. I removed it to no longer confuse new users.
-- REPLACE `new Date().getTime()` with `Date.now()` which is [2x faster](https://stackoverflow.com/questions/12517359/performance-date-now-vs-date-gettime).
-- Renamed replication-p2p to replication-webrtc. I will add more p2p replication plugins in the future, which are not based on [WebRTC](../replication-webrtc.md).
-- REMOVED `RxChangeEvent.eventId`. If you really need a unique ID, you can craft your own one based on the document `_rev` and `primary`.
-- REMOVED `RxChangeEvent.startTime` and `RxChangeEvent.endTime` so we do not have to call `Date.now()` once per write row.
-- ADDED `EventBulk.startTime` and `EventBulk.endTime`.
-- FIX `database.remove()` does not work on databases with encrypted fields.
-- FIX [react-native: replaceAll is not a function](https://github.com/pubkey/rxdb/pull/5187)
-- FIX Throttle calls to forkInstance on push-replication to not cause memory spikes and lagging UI
-- FIX PushModifier applied to pre-change legacy document, resulting in old document sent to endpoint [#5256](https://github.com/pubkey/rxdb/issues/5256)
-- [Attachment compression](../rx-attachment.md#attachment-compression) is now using the native `Compression Streams API`.
-- FIX [#5311](https://github.com/pubkey/rxdb/issues/5311) URL.createObjectURL is not a function in a browser plugin environment(background.js)
-- FIX `structuredClone` not available in ReactNative [#5046](https://github.com/pubkey/rxdb/issues/5046#issuecomment-1827374498)
-- The following things moved out of beta:
- - [Firestore replication](../replication-firestore.md)
- - [WebRTC replication](../replication-webrtc.md)
- - [NATS replication](../replication-nats.md)
- - [OPFS RxStorage](../rx-storage-opfs.md)
-
-## Changes to the 👑 Premium Plugins
-
-### storage-migration plugin moved from premium to open-core
-
-The storage migration plugin can be used to migrate data between different RxStorage implementation or to migrate data between major RxDB versions. This previously was a 👑 premium plugin, but now it is part of the open-core. Also the params syntax changed a bit [read more](../migration-storage.md).
-
-### Changes in pricing
-
-The pricing of the premium plugins was changed. This makes it cheaper for smaller companies and single individuals.
-
-### Added perpetual license option
-
-By default you are not allowed to use the premium plugins after the
-license has expired and you will no longer be able to install them. But
-you can choose the **Perpetual license** option. With the perpetual
-license option, you can still use the plugins even after the license is
-expired. But you will no longer get any updates from newer RxDB
-versions.
-
-## You can help!
-
-There are many things that can be done by **you** to improve RxDB:
-
-- Check the [BACKLOG](https://github.com/pubkey/rxdb/blob/master/orga/BACKLOG.md) for features that would be great to have.
-- Check the [breaking backlog](https://github.com/pubkey/rxdb/blob/master/orga/before-next-major.md) for breaking changes that must be implemented in the future but where I did not have the time yet.
-- Check the [todos](https://github.com/pubkey/rxdb/search?q=todo) in the code. There are many small improvements that can be done for performance and build size.
-- Review the code and add tests. I am only a single human with a laptop. My code is not perfect and much small improvements can be done when people review the code and help me to clarify undefined behaviors.
-- Update the [example projects](https://github.com/pubkey/rxdb/tree/master/examples) some of them are outdated and need updates.
diff --git a/docs/releases/16.0.0.html b/docs/releases/16.0.0.html
deleted file mode 100644
index ea16b6d32cc..00000000000
--- a/docs/releases/16.0.0.html
+++ /dev/null
@@ -1,127 +0,0 @@
-
-
-
-
-
-RxDB 16.0.0 - Efficiency Redefined | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
The release 16.0.0 is used for major refactorings. We did not change that much, mostly renaming things and fixing confusing implementation details.
-
Data stored in the previous version 15 is compatible with the code of the new version 16 for most RxStorage implementation. So migration will be easy.
-Only the following RxStorage implementations are required to migrate the data itself with the storage migration plugin:
CHANGE rename randomCouchString() to randomToken()
-
FIX (GraphQL replication) datapath must be equivalent for pull and push #6019
-
REMOVE fallback to the ohash package when crypto.subtle does not exist. All modern runtimes (also react-native) now support crypto.subtle, so we do not need that fallback anymore.
The LokiJS RxStorage was deprecated because LokiJS itself is no longer maintained. Therefore it will be removed completely. If you still need that, you can fork the code of it and publish it in an own package and link to it from the third party plugins page.
Destroy was adapted from PouchDB, but people often think this deletes the written data. close is a better name for that functionality.
-
-
Also renamed similar functions/attributes:
-
-
.destroy() to .close()
-
.onDestroy() to .onClose()
-
postDestroyRxCollection to postCloseRxCollection
-
preDestroyRxDatabase to preCloseRxDatabase
-
-
-
-
ignoreDuplicate: true on createRxDatabase() must only be allowed in dev-mode.
-
The ignoreDuplicate flag is only useful for tests and should never be used in production. We now throw an error if it is set to true in non-dev-mode.
-
When dev-mode is enabled, a schema validator must be used.
-
Many reported issues come from people storing data that is not valid to their schema.
-To fix this, in dev-mode it is now required that at least one schema validator is used.
The memory-synced RxStorage was removed in RxDB version 16. Please use the memory-mapped storage instead which has better trade-offs and is easier to configure.
-
Split conflict handler functionality into isEqual() and resolve().
-
Because the handler is used in so many places it becomes confusing to write a proper conflict handler.
-Also having a handler that requires user interaction is only possible by hackingly using the context param.
-By splitting the functionalities it is easier to learn where the handlers are used and how to define them properly.
-
Full rewrite of the OPFS and Filesystem-Node RxStorages
-
The OPFS and Filesystem-Node RxStorage had problems with storing emojis and other special characters inside of indexed fields.
-I completely rewrote them and improved performance especially on initial load when a lot of data is stored already and when doing many small writes/reads at the same time on in series.
Having a lot of documents pulled in the replication could in some cases slow down the database initialization because upstreamInitialSync() did not set a checkpoint and each time checked all documents if they are equal to the master.
-
If the handler of a RxPipeline throws an error, block the whole pipeline and emit the error to the outside.
-
Throw error when dexie.js RxStorage is used with optional index fields #6643.
-
Fix IndexedDB bug: Some people had problems with the IndexedDB RxStorage that opened up collections very slowly. If you had this problem, please try out this new version.
-
Add check to ensure remote instances are build with the same RxDB version. This is to ensure if you update RxDB and forget to rebuild your workers, it will throw instead of causing strange problems.
-
When the pulled documents in the replication do not match the schema, do not update the checkpoint.
-
When the pushed document conflict results in the replication do not match the schema, do not update the checkpoint.
There are many things that can be done by you to improve RxDB:
-
-
Check the BACKLOG for features that would be great to have.
-
Check the breaking backlog for breaking changes that must be implemented in the future but where I did not have the time yet.
-
Check the todos in the code. There are many small improvements that can be done for performance and build size.
-
Review the code and add tests. I am only a single human with a laptop. My code is not perfect and much small improvements can be done when people review the code and help me to clarify undefined behaviors.
-
Update the example projects some of them are outdated and need updates.
-
-
\ No newline at end of file
diff --git a/docs/releases/16.0.0.md b/docs/releases/16.0.0.md
deleted file mode 100644
index 2f7dc157c66..00000000000
--- a/docs/releases/16.0.0.md
+++ /dev/null
@@ -1,101 +0,0 @@
-# RxDB 16.0.0 - Efficiency Redefined
-
-> Meet RxDB 16.0.0 - major refactorings, improved performance, and easy migrations. Experience a better, faster, and more stable database solution today.
-
-# 16.0.0
-
-The release [16.0.0](https://rxdb.info/releases/16.0.0.html) is used for major refactorings. We did not change that much, mostly renaming things and fixing confusing implementation details.
-
-Data stored in the previous version `15` is compatible with the code of the new version `16` for most RxStorage implementation. So migration will be easy.
-Only the following RxStorage implementations are required to migrate the data itself with the [storage migration plugin](../migration-storage.md):
-- SQLite RxStorage
-- NodeFilesystem RxStorage
-- OPFS RxStorage
-
-## Breaking Changes
-- CHANGE [RxServer](https://rxdb.info/rx-server.html) is no longer in beta mode.
-- CHANGE [Fulltext Search](https://rxdb.info/fulltext-search.html) is no longer in beta mode.
-- CHANGE [Custom Reactivity](https://rxdb.info/reactivity.html) is no longer in beta mode.
-- CHANGE [initialCheckpoint in replications](https://rxdb.info/replication.html) is no longer in beta mode.
-- CHANGE [RxState](https://rxdb.info/rx-state.html) is no longer in beta mode.
-- CHANGE [MemoryMapped RxStorage](https://rxdb.info/rx-storage-memory-mapped.html) is no longer in beta mode.
-- CHANGE rename `randomCouchString()` to `randomToken()`
-- FIX (GraphQL replication) datapath must be equivalent for pull and push [#6019](https://github.com/pubkey/rxdb/pull/6019)
-- REMOVE fallback to the `ohash` package when `crypto.subtle` does not exist. All modern runtimes (also react-native) now support `crypto.subtle`, so we do not need that fallback anymore.
-
-### Removed deprecated LokiJS RxStorage
-
-The [LokiJS RxStorage](https://rxdb.info/rx-storage-lokijs.html) was deprecated because LokiJS itself is no longer maintained. Therefore it will be removed completely. If you still need that, you can fork the code of it and publish it in an own package and link to it from the [third party plugins page](https://rxdb.info/third-party-plugins.html).
-
-### Renamed `.destroy()` to `.close()`
-Destroy was adapted from PouchDB, but people often think this deletes the written data. `close` is a better name for that functionality.
-- Also renamed similar functions/attributes:
- - `.destroy()` to `.close()`
- - `.onDestroy()` to `.onClose()`
- - `postDestroyRxCollection` to `postCloseRxCollection`
- - `preDestroyRxDatabase` to `preCloseRxDatabase`
-
-### `ignoreDuplicate: true` on `createRxDatabase()` must only be allowed in dev-mode.
-The `ignoreDuplicate` flag is only useful for tests and should never be used in production. We now throw an error if it is set to `true` in non-dev-mode.
-
-### When dev-mode is enabled, a schema validator must be used.
-Many reported issues come from people storing data that is not valid to their schema.
-To fix this, in dev-mode it is now required that at least one schema validator is used.
-
-### Removed the memory-synced storage
-
-The memory-synced RxStorage was removed in RxDB version 16. Please use the `memory-mapped` storage instead which has better trade-offs and is easier to configure.
-
-### Split conflict handler functionality into `isEqual()` and `resolve()`.
-
-Because the handler is used in so many places it becomes confusing to write a proper conflict handler.
-Also having a handler that requires user interaction is only possible by hackingly using the context param.
-By splitting the functionalities it is easier to learn where the handlers are used and how to define them properly.
-
-## Full rewrite of the OPFS and Filesystem-Node RxStorages
-
-The [OPFS](../rx-storage-opfs.md) and [Filesystem-Node](../rx-storage-filesystem-node.md) RxStorage had problems with storing emojis and other special characters inside of indexed fields.
-I completely rewrote them and improved performance especially on initial load when a lot of data is stored already and when doing many small writes/reads at the same time on in series.
-
-## Internal Changes
-
-- CHANGE (internal) migration-storage plugin: Remove catch from cleanup
-- CHANGE (internal) rename RX_PIPELINE_CHECKPOINT_CONTEXT to `rx-pipeline-checkpoint`
-- CHANGE (internal) remove `conflictResultionTasks()` and `resolveConflictResultionTask()` from the RxStorage interface.
-- REMOVED (internal) do not check for duplicate event bulks, all RxStorage implementations must guarantee to not emit the same events twice.
-- REFACTOR (internal) Only use event-bulks internally and only transform to single emitted events if actually someone has subscribed to the eventstream.
-
-## Bugfixes
-
-- Having a lot of documents pulled in the replication could in some cases slow down the database initialization because `upstreamInitialSync()` did not set a checkpoint and each time checked all documents if they are equal to the master.
-- If the handler of a [RxPipeline](../rx-pipeline.md) throws an error, block the whole pipeline and emit the error to the outside.
-- Throw error when dexie.js RxStorage is used with optional index fields [#6643](https://github.com/pubkey/rxdb/pull/6643#issuecomment-2505310082).
-- Fix IndexedDB bug: Some people had problems with the IndexedDB RxStorage that opened up collections very slowly. If you had this problem, please try out this new version.
-- Add check to ensure remote instances are build with the same RxDB version. This is to ensure if you update RxDB and forget to rebuild your workers, it will throw instead of causing strange problems.
-- When the pulled documents in the replication do not match the schema, do not update the checkpoint.
-- When the pushed document conflict results in the replication do not match the schema, do not update the checkpoint.
-
-## Other
-
-- Added more [performance tests](https://rxdb.info/rx-storage-performance.html)
-- The amount of collections in the open source version has been limited to `16`.
-- Moved RxQuery checks into dev-mode.
-- RxQuery.remove() now internally does a bulk operation for better performance.
-- Lazily process bulkWrite() results for less CPU usage.
-- Only run interval cleanup on the storage of a collection if there actually have been writes to it.
-- Schema validation errors (code: 422) now include the `RxJsonSchema` for easier debugging.
-- Added an interval to prevent browser tab hibernation while a replication is running.
-
-## You can help!
-
-There are many things that can be done by **you** to improve RxDB:
-
-- Check the [BACKLOG](https://github.com/pubkey/rxdb/blob/master/orga/BACKLOG.md) for features that would be great to have.
-- Check the [breaking backlog](https://github.com/pubkey/rxdb/blob/master/orga/before-next-major.md) for breaking changes that must be implemented in the future but where I did not have the time yet.
-- Check the [todos](https://github.com/pubkey/rxdb/search?q=todo) in the code. There are many small improvements that can be done for performance and build size.
-- Review the code and add tests. I am only a single human with a laptop. My code is not perfect and much small improvements can be done when people review the code and help me to clarify undefined behaviors.
-- Update the [example projects](https://github.com/pubkey/rxdb/tree/master/examples) some of them are outdated and need updates.
-
-## LinkedIn
-
-Stay connected with the latest updates and network with professionals in the RxDB community by following RxDB's [official LinkedIn page](https://www.linkedin.com/company/rxdb)!
diff --git a/docs/releases/17.0.0.html b/docs/releases/17.0.0.html
deleted file mode 100644
index 94b63797812..00000000000
--- a/docs/releases/17.0.0.html
+++ /dev/null
@@ -1,137 +0,0 @@
-
-
-
-
-
-RxDB 17.0.0 | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
RxDB 17 focuses on better reactivity, improved debugging, and important storage fixes, while also graduating several long-standing plugins out of beta.
-
Most applications can upgrade easily, but users of OPFS and filesystem-based storages must review the migration notes carefully.
-
note
RxDB version 17 is currently in beta. For testing, please install the latest beta version from npm and provide feedback or report issues on GitHub.
There are many things that can be done by you to improve RxDB:
-
-
Check the BACKLOG for features that would be great to have.
-
Check the breaking backlog for breaking changes that must be implemented in the future but where I did not have the time yet.
-
Check the todos in the code. There are many small improvements that can be done for performance and build size.
-
Review the code and add tests. I am only a single human with a laptop. My code is not perfect and much small improvements can be done when people review the code and help me to clarify undefined behaviors.
-
Update the example projects some of them are outdated and need updates.
-
-
\ No newline at end of file
diff --git a/docs/releases/17.0.0.md b/docs/releases/17.0.0.md
deleted file mode 100644
index 543d7023726..00000000000
--- a/docs/releases/17.0.0.md
+++ /dev/null
@@ -1,168 +0,0 @@
-# RxDB 17.0.0
-
-> RxDB 17 introduces improved reactivity APIs, better debugging, breaking storage fixes, and multiple plugins graduating from beta.
-
-# RxDB 17.0.0 (beta)
-
-RxDB 17 focuses on **better reactivity**, **improved debugging**, and **important storage fixes**, while also graduating several long-standing plugins out of beta.
-
-Most applications can upgrade easily, but **users of OPFS and filesystem-based storages must review the migration notes carefully**.
-
-:::note
-RxDB version 17 is currently in **beta**. For testing, please install the latest beta version [from npm](https://www.npmjs.com/package/rxdb?activeTab=versions) and provide feedback or report issues [on GitHub](https://github.com/pubkey/rxdb/issues/7574).
-:::
-
-## Migration
-
-RxDB 17 is mostly backward-compatible, but please review the following points before upgrading:
-
-### Storage migration required
-If you use any of the following storages, **you must migrate your data** using the [storage migrator](../migration-storage.md):
-
-- OPFS RxStorage
-- Filesystem RxStorage (Node)
-- IndexedDB RxStorage (if you use attachments)
-
-For all other RxStorages, data created with RxDB v16 can be reused directly in RxDB v17.
-
-### Other migration notes
-
-- The GitHub repository **no longer contains prebuilt `dist` files**.
- Install RxDB from npm or run the build scripts locally.
-- `toggleOnDocumentVisible` now defaults to **`true`**. [#6810](https://github.com/pubkey/rxdb/issues/6810)
-- Schema fields marked as `final` **no longer need to be explicitly listed as `required`**.
-- Some integrations now use **optional peer dependencies**. You may need to install them manually:
- - `firebase`
- - `mongodb`
- - `nats`
-
-## CHANGES
-
-### Features
-
-- Added [react-hooks plugin](../react.md).
-
-### 🔁 Reactivity & APIs
-
-- **ADD** `RxDatabase.collections$` observable for reactive access to collections
-- **ADD** support for the JavaScript `using` keyword to automatically remove databases in tests
-- **ADD** new `reactivity-angular` package
-- **CHANGE** moved `reactivity-vue` and `reactivity-preact-signals` from premium to core
-- **FIX** query results becoming incorrect when changes occur faster than query update [#7067](https://github.com/pubkey/rxdb/issues/7067)
-
-### 🧠 Debugging & Developer Experience
-
-- **ADD** `context` field to all RxDB write errors for easier debugging
-- **ADD** improved OPFS RxStorage error logging in `devMode`, including:
- - strict `TextDecoder` mode
- - detailed decoding error output
-- **ADD** internal `WeakRef` TypeScript types so users no longer need to enable `ES2021.WeakRef`
-- **ADD** [llms.txt](https://rxdb.info/llms.txt) for LLM-friendly documentation access
-- **CHANGE** `toggleOnDocumentVisible` now defaults to `true` [#6810](https://github.com/pubkey/rxdb/issues/6810)
-
-### 🗄️ Storage & Replication Fixes
-
-- **FIX** OPFS RxStorage memory and cleanup leaks
-- **FIX** memory-mapped storage not purging deleted documents
-- **FIX** `RxCollection.cleanup()` ignoring `minimumDeletedTime`
-- **FIX** short primary key lengths not matching replication schema [#7587](https://github.com/pubkey/rxdb/issues/7587)
-- **FIX** retry DenoKV commits when encountering `"database is locked"` errors
-- **FIX** close broadcast channels and leader election **after** database shutdown, not during
-- **CHANGE**: Store data as binary in IndexedDB to use less disc space.
-- **CHANGE**: Pull-Only replications no longer store the server metadata on the client.
-
-### 📐 Schema & Index Validation
-
-- **ADD** enforce maximum length for indexes and primary keys (`maxLength: 2048`)
-- **CHANGE** `final` schema fields no longer need to be marked as `required`
-
-### ⚙️ Performance & Internal Changes
-
-- **CHANGE** replace `appendToArray()` with `Array.concat()` for better browser-level optimizations
-- **ADD** ensure indexes and primary keys are validated consistently across replication schemas
-
-### 🔌 Plugins Graduating from Beta
-
-The following plugins are **no longer in beta** and are now considered production-ready:
-
-- Replication Appwrite
-- Replication Supabase
-- Replication MongoDB
-- RxStorage MongoDB
-- RxStorage Filesystem (Node)
-- RxStorage DenoKV
-- Attachment replication
-- CRDT Plugin
-- RxPipeline
-
-## You can help!
-
-There are many things that can be done by **you** to improve RxDB:
-
-- Check the [BACKLOG](https://github.com/pubkey/rxdb/blob/master/orga/BACKLOG.md) for features that would be great to have.
-- Check the [breaking backlog](https://github.com/pubkey/rxdb/blob/master/orga/before-next-major.md) for breaking changes that must be implemented in the future but where I did not have the time yet.
-- Check the [todos](https://github.com/pubkey/rxdb/search?q=todo) in the code. There are many small improvements that can be done for performance and build size.
-- Review the code and add tests. I am only a single human with a laptop. My code is not perfect and much small improvements can be done when people review the code and help me to clarify undefined behaviors.
-- Update the [example projects](https://github.com/pubkey/rxdb/tree/master/examples) some of them are outdated and need updates.
-
-## LinkedIn
-
-Stay connected with the latest updates and network with professionals in the RxDB community by following RxDB's [official LinkedIn page](https://www.linkedin.com/company/rxdb)!
-
-
diff --git a/docs/releases/8.0.0.html b/docs/releases/8.0.0.html
deleted file mode 100644
index 00cd490f29c..00000000000
--- a/docs/releases/8.0.0.html
+++ /dev/null
@@ -1,84 +0,0 @@
-
-
-
-
-
-Meet RxDB 8.0.0 - New Defaults & Performance | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
When I created RxDB, two years ago, there where some things that I did not consider and other things that I just decided wrong.
-With the breaking version 8.0.0 I rewrote some parts of RxDB and changed the API a bit. The focus laid on better defaults and better performance.
Because the keyCompression was confusing and most users do not use it, it is now disabled by default. Also the naming was bad, so disableKeyCompression is now renamed to keyCompression which defaults to false.
-
collection() now only accepts a RxJsonSchema as schema
-
In the past, it was allowed to set an RxSchema or an RxJsonSchema as schema-field when creating a collection. This was confusing and so it is now only allowed to use RxJsonSchema.
In the past it was allowed to set a field as required by setting the boolean value required: true.
-This is against the json-schema-standard and will make problems when switching between different schema-validation-plugins. Therefore required fields must now be set via required: ['fieldOne', 'fieldTwo'].
To be similar to mongoosejs, there was the possibility to set a documents value via myDoc.foo = 'bar' and later call myDoc.save() to persist these changes.
-But there was the problem that we have no weak pointers in javascript and therefore we have to store all document-instances in a cache to run change-events on them and make them 'reactive'. To save memory-space, we reuse the same documents when they are used multiple times. This made it hard to determine what happens when multiple parts of an application used the setters at the same time. Also there was an undefined behavior what should happen when a field is changed via setter and also via replication before save() was called.
-
-
myDoc.age = 50;, myDoc.set('age', 50); and myDoc.save() is no more allowed on non-temporary-documents
-
Instead, to change document-data, use RxDocument.atomicUpdate() or RxDocument.atomicSet() or RxDocument.update().
-
The following document-methods no longer exist: synced$, resync()
-
-
middleware-hooks contain plain json as first parameter and RxDocument as second
-
When the middleware-hooks where created, the goal was to work equal then mongoose. But this is not possible because mongoose is more 'static' and its documents never change their attributes. RxDB is a reactive database and when the state on disc changes, the attributes of the document also change. This caused some undefined behavior especially with async middleware-hooks. To solve this, hooks now can only modify the plain data, not the RxDocument itself.
-
myCollection.preSave(function(data, rxDocument) {
- // to set age to 50 before saving, change the first parameter
- data.age = 50;
-}, false);
Because the BroadcastChannel-API is not usable in all browsers and also not in NodeJs, multiInstance-communication was hard. The hacky workaround was to use a pseudo-socket and regularly check if an other instance has emitted a RxChangeEvent.
-This was expensive because even when the database did nothing, we wasted disk-IO and CPU by handling this.
-
To solve this waste, I spend one month creating a module that polyfills the broadcast-channel-api so it works on old browsers, new browsers and even NodeJs. This does not only waste less resources but also has a lower latency. Also the module is used by more projects than RxDB which allows use the fix bugs and improve performance together.
In the past, the QueryChangeDetection had to be enabled by importing the QueryChangeDetection and calling a function on it. This was strange and also did not allow to toggle the QueryChangeDetection on specific databases.
-Now we set the QueryChangeDetection by adding the boolean field queryChangeDetection: true when creating the database.
Reuse an RxDocument-prototype per collection instead of adding getters/setters to each document
-
Because the fields of an RxDocument are defined dynamically by the schema and we could not use the Proxy-Object because it is not supported in IE11, there was one workaround used: Each time a document is created, all getters and setters where applied on it. This was expensive and now we use a different approach.
-Once per collection, a custom RxDocument-prototype and constructor is created and each RxDocument of this collection is created with the constructor. This change is a rewrite internally and should not change anything for RxDB-users. If you use RxDB with vuejs, you might get some problems that can be fixed by upgrading vuejs to the latest version.
The inMemory-plugin was written with some wrong estimations. I rewrote it and added much more tests. Also awaitPersistence() can now be used to check if all writes have already been replicated into the parent collection. Also RxCollection.watchForChanges() got split out from the replication-plugin into its own watch-for-changes-plugin because it is used in the inMemory and the replication functionality.
-
-
\ No newline at end of file
diff --git a/docs/releases/8.0.0.md b/docs/releases/8.0.0.md
deleted file mode 100644
index 180edc54e4e..00000000000
--- a/docs/releases/8.0.0.md
+++ /dev/null
@@ -1,84 +0,0 @@
-# Meet RxDB 8.0.0 - New Defaults & Performance
-
-> Discover how RxDB 8.0.0 boosts performance, simplifies schema handling, and streamlines reactive data updates for modern apps.
-
-# 8.0.0
-
-When I created RxDB, two years ago, there where some things that I did not consider and other things that I just decided wrong.
-With the breaking version `8.0.0` I rewrote some parts of RxDB and changed the API a bit. The focus laid on **better defaults** and **better performance**.
-
-## disableKeyCompression by default
-
-Because the keyCompression was confusing and most users do not use it, it is now disabled by default. Also the naming was bad, so `disableKeyCompression` is now renamed to `keyCompression` which defaults to `false`.
-
-## collection() now only accepts a RxJsonSchema as schema
-
-In the past, it was allowed to set an `RxSchema` or an `RxJsonSchema` as `schema`-field when creating a collection. This was confusing and so it is now only allowed to use `RxJsonSchema`.
-
-## required fields have to be set via array
-
-In the past it was allowed to set a field as required by setting the boolean value `required: true`.
-This is against the [json-schema-standard](https://json-schema.org/understanding-json-schema/reference/object.html#required-properties) and will make problems when switching between different schema-validation-plugins. Therefore required fields must now be set via `required: ['fieldOne', 'fieldTwo']`.
-
-## Setters are only callable on temporary documents
-
-To be similar to mongoosejs, there was the possibility to set a documents value via `myDoc.foo = 'bar'` and later call `myDoc.save()` to persist these changes.
-But there was the problem that we have no weak pointers in javascript and therefore we have to store all document-instances in a cache to run change-events on them and make them 'reactive'. To save memory-space, we reuse the same documents when they are used multiple times. This made it hard to determine what happens when multiple parts of an application used the setters at the same time. Also there was an undefined behavior what should happen when a field is changed via setter and also via replication before `save()` was called.
-
-- `myDoc.age = 50;`, `myDoc.set('age', 50);` and `myDoc.save()` is no more allowed on non-temporary-documents
-- Instead, to change document-data, use `RxDocument.atomicUpdate()` or `RxDocument.atomicSet()` or `RxDocument.update()`.
-- The following document-methods no longer exist: `synced$`, `resync()`
-
-## middleware-hooks contain plain json as first parameter and RxDocument as second
-
-When the middleware-hooks where created, the goal was to work equal then [mongoose](http://mongoosejs.com/docs/middleware.html). But this is not possible because mongoose is more 'static' and its documents never change their attributes. RxDB is a reactive database and when the state on disc changes, the attributes of the document also change. This caused some undefined behavior especially with async middleware-hooks. To solve this, hooks now can only modify the plain data, not the `RxDocument` itself.
-
-```javascript
-myCollection.preSave(function(data, rxDocument) {
- // to set age to 50 before saving, change the first parameter
- data.age = 50;
-}, false);
-```
-
-## multiInstance is now done via broadcast-channel
-
-Because the [BroadcastChannel-API](https://developer.mozilla.org/en-US/docs/Web/API/Broadcast_Channel_API) is not usable in all browsers and also not in NodeJs, multiInstance-communication was hard. The hacky workaround was to use a pseudo-socket and regularly check if an other instance has emitted a `RxChangeEvent`.
-This was expensive because even when the database did nothing, we wasted disk-IO and CPU by handling this.
-
-To solve this waste, I spend one month creating [a module that polyfills the broadcast-channel-api](https://github.com/pubkey/broadcast-channel) so it works on old browsers, new browsers and even NodeJs. This does not only waste less resources but also has a lower latency. Also the module is used by more projects than RxDB which allows use the fix bugs and improve performance together.
-
-## Set QueryChangeDetection via RxDatabase-option
-
-In the past, the QueryChangeDetection had to be enabled by importing the QueryChangeDetection and calling a function on it. This was strange and also did not allow to toggle the QueryChangeDetection on specific databases.
-Now we set the QueryChangeDetection by adding the boolean field `queryChangeDetection: true` when creating the database.
-
-```javascript
-const db = await RxDB.create({
- name: 'heroesdb',
- adapter: 'idb',
- queryChangeDetection: false // <- queryChangeDetection (optional, default: false)
-});
-console.dir(db);
-```
-
-## Reuse an RxDocument-prototype per collection instead of adding getters/setters to each document
-
-Because the fields of an `RxDocument` are defined dynamically by the schema and we could not use the `Proxy`-Object because it is not supported in IE11, there was one workaround used: Each time a document is created, all getters and setters where applied on it. This was expensive and now we use a different approach.
-Once per collection, a custom RxDocument-prototype and constructor is created and each RxDocument of this collection is created with the constructor. This change is a rewrite internally and should not change anything for RxDB-users. If you use RxDB with vuejs, you might get some problems that can be fixed by upgrading vuejs to the latest version.
-
-## Rewritten the inMemory-plugin
-
-The inMemory-plugin was written with some wrong estimations. I rewrote it and added much more tests. Also `awaitPersistence()` can now be used to check if all writes have already been replicated into the parent collection. Also `RxCollection.watchForChanges()` got split out from the `replication`-plugin into its own `watch-for-changes`-plugin because it is used in the inMemory and the replication functionality.
-
-## Some comparisons
-
-(Tested with node 10.6.0 and the memory-adapter, lower is better)
-
-Reproduce with `npm run build:size` and `npm run test:performance`
-
-| | 7.7.1 | 8.0.0 |
-| :-------------------------------------------: | :-----: | ---------- |
-| Bundle-Size (Webpack+minify+gzip) | 110 kb | 101.962 kb |
-| Spawn 1000 databases with 5 collections each | 8744 ms | 9906 ms |
-| insert 2000 documents | 8006 ms | 5781 ms |
-| find 10.000 documents | 3202 ms | 1312 ms |
diff --git a/docs/releases/9.0.0.html b/docs/releases/9.0.0.html
deleted file mode 100644
index 9eb0558a2fc..00000000000
--- a/docs/releases/9.0.0.html
+++ /dev/null
@@ -1,164 +0,0 @@
-
-
-
-
-
-RxDB 9.0.0 - Faster & Simpler | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
So I was working hard the past month to prepare everything for the next major release of RxDB. The last major release was 1,5 years ago by the way.
-
When I started listing up the planned changes I had big ambitions about basically rewriting everything. But I found out this time has not come yet. There is some work to be done first. So version 9.0.0 was more about fixing all these small things that made improving the codebase difficult. Much has been refactored and moved. Some API-parts have been changed to have a more simple project with a cleaner codebase.
-
Notice that I use major releases to bundle stuff that breaks the RxDB usage in your project. By having only few major releases you can be sure that you can upgrade in one big block instead of changing stuff each few months. Big features are released in non-major releases because they mostly can be implemented without side effects.
Using default exports and imports can be helpful when you want to write code fast.
-But using them also disabled the tree-shaking of your bundler which means you added much code to your bundle that was not even used. To prevent this common behavior, I removed all default exports and renamed functions so that they are more unlikely to clash with other non-RxDB function names.
This made it complex to list up the index fields which had a bad performance on startup.
-To fix this the indexes are now specified at the top level of the schema like
In the past we had stuff that is only wanted for development in the two plugins error-messages and schema-check.
-
Now we have a single plugin dev-mode that contains all these checks and development helper functions. I also moved many other checks out of the core-module into dev-mode.
-
import { RxDBDevModePlugin } from 'rxdb/plugins/dev-mode';
-addRxPlugin(RxDBDevModePlugin);
The data migration was not used by all users of this project. Often it was easier to just wipe the local data store and let the client sync everything from the server. Because the migration has so much code, it is now in a separate plugin so that you do not have to ship this code to the clients if not necessary.
-
import { RxDBMigrationPlugin } from 'rxdb/plugins/migration';
-addRxPlugin(RxDBMigrationPlugin);
The key-compression logic was fully coded only for RxDB. This was a problem because it was not usable for other stuff and also badly tested. We had a known problem with nested arrays that caused much confusion because some queries did not find the correct documents.
-
I now created a npm-package jsonschema-key-compression that has cleaner code, better tests and can also be used for non-RxDB stuff.
-
If you used the key-compression in the past and have clients out there with old data, you have to find a way to migrate that data by using the json-import or other solutions depending on your project.
One big benefit of having a realtime database is that big performance optimizations can be done when the database knows a query is observed and the updated results are needed continuously. In the past this optimization was done by the internal queryChangeDetection which was a big tree of if-else-statements that hopefully worked. This was also the reason why queryChangeDetection was in beta mode and not enabled by default.
-
After months of research and testing I was able to create Event-Reduce: An algorithm to optimize database queries that run multiple times. This JavaScript module contains an algorithm that is able to optimize realtime queries in a way that was not possible before. The algorithm is not RxDB specific and also heavily tested.
-
Instead of setting queryChangeDetection when creating a RxDatabase, you now set eventReduce which defaults to true.
-
find() and findOne() now accepts the full mango query
-
In the past, only the selector of a query could be passed to find() and findOne() if you wanted to also do sort, skip or limit, you had to call additional functions like
The query builder that allowed to create queries like .where('foo').eq('bar') etc. was not really used by many people. Most of the time it is better to just pass the full query as simple json object. Also the code for the query builder was big and increased the build size much more than its value added. Only some edge-cases where recursive query modification was needed made the query builder useful. If you still want to use the query builder, you have to import the plugin.
-
import { RxDBQueryBuilderPlugin } from 'rxdb/plugins/query-builder';
-addRxPlugin(RxDBQueryBuilderPlugin);
The whole data structure of RxChangeEvent was way more complicated than it had to be. I refactored the whole class to be more simple. If you directly use RxChangeEvent in your project you have to adapt to these changes. Also the stream of RxDatabase().$ will no longer emit the COLLECTION event when a new collection is created.
The internal hash function was used to store hashes of database passwords to compare them and directly throw errors when the wrong password was used with an existing data set. This was dangerous because you could use rainbow tables or even just google the hash to find out the plain password. So now the internal hashing is using a salt to prevent these attacks. If you have used the encryption in the past, you have to migrate your internal schema storage.
By default RxDocument.toJSON() always returned also the _rev field and the _attachments. This was confusing behavior which is why I changed the default to RxDocument().toJSON(withRevAndAttachments = false)
RxDB is an open source project an heavily relies on the contribution of its users. There are some things that must be done, but I have no time for them.
The react example has no end-to-end tests which is why the CI does not ensure that it works all the time. We should add some basic tests like we did for the other example projects.
There is a bug in pouchdb that prevents the upgrade of pouchdb-find. This is why RxDB relies on an old version of pouchdb-find that also requires different sub-dependencies. This increases the build size a lot because for example we ship multiple version of spark-md5 and others.
At the moment RxDB is a realtime database based on pouchdb. In the future I want RxDB to be a wrapper around pull-based databases that also works with other source-dbs like mongoDB or PostgreSQL. As a start I defined the RxStorage interface and created a RxStoragePouchdb class that implements it and contains all pouchdb-specific logic. I want to move every direct storage usage into that interface so that later we can create other implementations of it for other source databases.
-
-
\ No newline at end of file
diff --git a/docs/releases/9.0.0.md b/docs/releases/9.0.0.md
deleted file mode 100644
index 36a10f3f05d..00000000000
--- a/docs/releases/9.0.0.md
+++ /dev/null
@@ -1,213 +0,0 @@
-# RxDB 9.0.0 - Faster & Simpler
-
-> Discover RxDB 9.0.0's streamlined plugins, top-level schema definitions, and improved dev-mode. Experience a simpler, faster real-time database.
-
-# 9.0.0
-
-So I was working hard the past month to prepare everything for the next major release of RxDB. The last major release was 1,5 years ago by the way.
-
-When I started [listing up the planned changes](https://github.com/pubkey/rxdb/issues/1636) I had big ambitions about basically rewriting everything. But I found out this time has not come yet. There is some work to be done first. So version `9.0.0` was more about fixing all these small things that made improving the codebase difficult. Much has been refactored and moved. Some API-parts have been changed to have a more simple project with a cleaner codebase.
-
-Notice that I use major releases to bundle stuff that breaks the RxDB usage in your project. By having only few major releases you can be sure that you can upgrade in one big block instead of changing stuff each few months. Big features are released in non-major releases because they mostly can be implemented without side effects.
-
-## Breaking changes
-
-You have to apply these changes to your codebase when upgrading RxDB.
-
-### All default exports have been removed
-
-Using default exports and imports can be helpful when you want to write code fast.
-But using them also disabled the tree-shaking of your bundler which means you added much code to your bundle that was not even used. To prevent this common behavior, I removed all default exports and renamed functions so that they are more unlikely to clash with other non-RxDB function names.
-
-Instead of doing
-
-```typescript
-import RxDB from 'rxdb';
-RxDB.plugin(/* ... */);
-await RxDB.create({/* ... */});
-```
-
-You now do
-
-```typescript
-import { createRxDatabase, addRxPlugin } from 'rxdb';
-addRxPlugin(/* ... */);
-await createRxDatabase({/* ... */});
-```
-
-Also `removeDatabase()` is renamed to `removeRxDatabase()` and `plugin()` is now `addRxPlugin()`.
-
-Same goes for all previous default exports of the plugins.
-
-### Indexes are specified at the top level of the schema definition
-
-[related issue](https://github.com/pubkey/rxdb/issues/1655)
-
-In the past the indexes of a collection had to be specified at the field level of the schema like
-
-```json
-{
- "firstName": {
- "type": "string",
- "index": true
- }
-}
-```
-
-This made it complex to list up the index fields which had a bad performance on startup.
-To fix this the indexes are now specified at the top level of the schema like
-
-```json
-{
- "title": "my schema",
- "version": 0,
- "type": "object",
- "properties": {},
- "indexes": [
- "firstName",
- ["compound", "index"]
- ]
-}
-```
-
-### Encrypted fields at the top level of the schema
-
-Same as the indexes, encrypted fields are now also defined in the top level like
-
-```json
-{
- "title": "my schema",
- "version": 0,
- "type": "object",
- "properties": {},
- "encrypted": [
- "password"
- ]
-}
-```
-
-### New dev-mode plugin
-
-In the past we had stuff that is only wanted for development in the two plugins `error-messages` and `schema-check`.
-
-Now we have a single plugin `dev-mode` that contains all these checks and development helper functions. I also moved many other checks out of the core-module into dev-mode.
-
-```typescript
-import { RxDBDevModePlugin } from 'rxdb/plugins/dev-mode';
-addRxPlugin(RxDBDevModePlugin);
-```
-
-### New migration plugin
-
-The data migration was not used by all users of this project. Often it was easier to just wipe the local data store and let the client sync everything from the server. Because the migration has so much code, it is now in a separate plugin so that you do not have to ship this code to the clients if not necessary.
-
-```typescript
-import { RxDBMigrationPlugin } from 'rxdb/plugins/migration';
-addRxPlugin(RxDBMigrationPlugin);
-```
-
-### Rewritten key-compression
-
-The key-compression logic was fully coded only for RxDB. This was a problem because it was not usable for other stuff and also badly tested. We had a known problem with nested arrays that caused much confusion because some queries did not find the correct documents.
-
-I now created a npm-package [jsonschema-key-compression](https://github.com/pubkey/jsonschema-key-compression) that has cleaner code, better tests and can also be used for non-RxDB stuff.
-
-If you used the key-compression in the past and have clients out there with old data, you have to find a way to migrate that data by using the json-import or other solutions depending on your project.
-
-### Rewritten query-change-detection to event-reduce
-
-One big benefit of having a [realtime database](../articles/realtime-database.md) is that big performance optimizations can be done when the database knows a query is observed and the updated results are needed continuously. In the past this optimization was done by the internal `queryChangeDetection` which was a big tree of if-else-statements that hopefully worked. This was also the reason why queryChangeDetection was in beta mode and not enabled by default.
-
-After months of research and testing I was able to create [Event-Reduce: An algorithm to optimize database queries that run multiple times](https://github.com/pubkey/event-reduce). This JavaScript module contains an algorithm that is able to optimize realtime queries in a way that was not possible before. The algorithm is not RxDB specific and also heavily tested.
-
-Instead of setting `queryChangeDetection` when creating a `RxDatabase`, you now set `eventReduce` which defaults to `true`.
-
-### find() and findOne() now accepts the full mango query
-
-In the past, only the selector of a query could be passed to `find()` and `findOne()` if you wanted to also do `sort`, `skip` or `limit`, you had to call additional functions like
-
-```typescript
-const query = myRxCollection.find({
- age: {
- $gt: 10
- }
-}).sort('name').skip(5).limit(10);
-```
-
-Now you can pass the full query to the function call like
-
-```typescript
-const query = myRxCollection.find({
- selector: {
- age: {
- $gt: 10
- }
- },
- sort: [{name: 'asc'}],
- skip: 5,
- limit: 10
-});
-```
-
-### moved query builder to own plugin
-
-The query builder that allowed to create queries like `.where('foo').eq('bar')` etc. was not really used by many people. Most of the time it is better to just pass the full query as simple json object. Also the code for the query builder was big and increased the build size much more than its value added. Only some edge-cases where recursive query modification was needed made the query builder useful. If you still want to use the query builder, you have to import the plugin.
-
-```typescript
-import { RxDBQueryBuilderPlugin } from 'rxdb/plugins/query-builder';
-addRxPlugin(RxDBQueryBuilderPlugin);
-```
-### Refactored RxChangeEvent
-
-The whole data structure of `RxChangeEvent` was way more complicated than it had to be. I refactored the whole class to be more simple. If you directly use `RxChangeEvent` in your project you have to adapt to these changes. Also the stream of `RxDatabase().$` will no longer emit the `COLLECTION` event when a new collection is created.
-
-### Internal hash() is now using a salt
-
-The internal hash function was used to store hashes of database passwords to compare them and directly throw errors when the wrong password was used with an existing data set. This was dangerous because you could use rainbow tables or even [just google](https://www.google.com/search?q=e5e9fa1ba31ecd1ae84f75caaa474f3a663f05f4) the hash to find out the plain password. So now the internal hashing is using a salt to prevent these attacks. If you have used the encryption in the past, you have to migrate your internal schema storage.
-
-### Changed default of RxDocument.toJSON()
-
-By default `RxDocument.toJSON()` always returned also the `_rev` field and the `_attachments`. This was confusing behavior which is why I changed the default to `RxDocument().toJSON(withRevAndAttachments = false)`
-
-### Typescript 3.8.0 or newer is required
-
-Because RxDB and some subdependencies extensively use `export type ...` you now need typescript `3.8.0` or newer.
-
-### GraphQL replication will run a schema validation of incoming data
-In dev-mode, the GraphQL-replication will run a schema validation of each document that comes from the server before it is saved to the database.
-
-## Internal and other changes
-
-I refactored much internal stuff and moved much code out of the core into the specific plugins.
-
-* Renamed `RxSchema.jsonID` to `RxSchema.jsonSchema`
-* Moved remaining stuff of leader-election from core into the plugin
-* Merged multiple internal databases for metadata into one `internalStore`
-* Removed many runtime type checks that now should be covered by typescript in buildtime
-* The GraphQL replication is now out of beta mode
-* Removed documentation examples for `require()` CommonJS loading
-* Removed `RxCollection.docChanges$()` because all events are from the docs
-
-## Help wanted
-
-RxDB is an open source project an heavily relies on the contribution of its users. There are some things that must be done, but I have no time for them.
-
-### Refactor data-migrator
-
-The current implementation has some flaws and should be completely rewritten.
-
-* It does not use pouchdb's bulkDocs which is much faster
-* It could have been written without rxjs and with less code that is easier to understand
-* It does not migrate the revisions of documents which causes a problem when replication is used
-
-### Add e2e tests to the react example
-
-The [react example](https://github.com/pubkey/rxdb/tree/master/examples/react) has no end-to-end tests which is why the CI does not ensure that it works all the time. We should add some basic tests like we did for the other example projects.
-
-### Fix pouchdb bug so we can upgrade pouchdb-find
-
-There is a [bug in pouchdb](https://github.com/pouchdb/pouchdb/issues/7810) that prevents the upgrade of `pouchdb-find`. This is why RxDB relies on an old version of `pouchdb-find` that also requires different sub-dependencies. This increases the build size a lot because for example we ship multiple version of `spark-md5` and others.
-
-## About the future of RxDB
-
-At the moment RxDB is a realtime database based on pouchdb. In the future I want RxDB to be a wrapper around pull-based databases that also works with other source-dbs like mongoDB or PostgreSQL. As a start I defined the `RxStorage` interface and created a `RxStoragePouchdb` class that implements it and contains all pouchdb-specific logic. I want to move every direct storage usage into that interface so that later we can create other implementations of it for other source databases.
diff --git a/docs/replication-appwrite.html b/docs/replication-appwrite.html
deleted file mode 100644
index 7e164e662bd..00000000000
--- a/docs/replication-appwrite.html
+++ /dev/null
@@ -1,246 +0,0 @@
-
-
-
-
-
-Appwrite Realtime Sync for Local-First Apps | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
This replication plugin allows you to synchronize documents between RxDB and an Appwrite server. It supports both push and pull replication, live updates via Appwrite's real-time subscriptions, offline-capability and conflict resolution.
Appwrite is a secure, open-source backend server that simplifies backend tasks like user authentication, storage, database management, and real-time APIs.
-RxDB is a reactive database for the frontend that offers offline-first capabilities and rich client-side data handling.
-
Combining the two provides several benefits:
-
-
-
Offline-First: RxDB keeps all data locally, so your application remains fully functional even when the network is unavailable. When connectivity returns, the RxDB ↔ Appwrite replication automatically resolves and synchronizes changes.
-
-
-
Real-Time Sync: With Appwrite’s real-time subscriptions and RxDB’s live replication, you can build collaborative features that update across all clients instantaneously.
-
-
-
Conflict Handling: RxDB offers flexible conflict resolution strategies, making it simpler to handle concurrent edits across multiple users or devices.
-
-
-
Scalable & Secure: Appwrite is built to handle production loads with granular access controls, while RxDB easily scales across various storage backends on the client side.
-
-
-
Simplicity & Modularity: RxDB’s plugin-based architecture, combined with Appwrite’s Cloud offering makes it one of the easiest way to build local-first realtime apps that scale.
You can either use the appwrite cloud or self-host the Appwrite server. In this tutorial we use the Cloud which is recommended for beginners because it is way easier to set up. You can later decide to self-host if needed.
After creating an Appwrite project you have to create an Appwrite Database and a collection, you can either do this in code with the node-appwrite SDK or in the Appwrite Console as shown in this video:
In the appwrite collection, create all attributes of your documents. You have to define all the fields that your document in your RxDB schema knows about. Notice that Appwrite does not allow for nested attributes. So when you use RxDB with Appwrite, you should also not have nested attributes in your RxDB schema.
Appwrite (natively) hard-deletes documents. But for offline-handling RxDB needs soft-deleted documents on the server so that the deletion state can be replicated with other clients.
In RxDB, _deleted indicates that a document is removed locally and you need a similar field in your Appwrite collection on the Server: You must define a deletedField with any name to mark documents as "deleted" in the remote collection. Mostly you would use a boolean field named deleted (set it to required). The plugin will treat any document with { [deletedField]: true } as deleted and replicate that state to local RxDB.
Appwrite uses permissions to control data access on the collection level. Make sure that in the Console at Collection -> Settings -> Permissions you have set the permission according to what you want to allow your clients to do. For testing, just enable all of them (Create, Read, Update and Delete).
Appwrite primary keys only allow for the characters a-z, A-Z, 0-9, and underscore _ (They cannot start with a leading underscore). Also the primary key has a max length of 36 characters.
-
The Appwrite replication only works on browsers. This is because the Appwrite SDK does not support subscriptions in Node.js.
-
Appwrite does not allow for bulk write operations so on push one HTTP request will be made per document. Reads run in bulk so this is mostly not a problem.
-
Appwrite does not allow for transactions or "update-if" calls which can lead to overwriting documents instead of properly handling conflicts when multiple clients edit the same document in parallel. This is not a problem for inserts because "insert-if-not" calls are made.
-
Nested attributes in Appwrite collections are only possible via experimental relationship attributes, and compatibility with RxDB is not tested. Users opting to use these experimental relationship attributes with RxDB do so at their own risk.
-
-
\ No newline at end of file
diff --git a/docs/replication-appwrite.md b/docs/replication-appwrite.md
deleted file mode 100644
index 2660a81ceb1..00000000000
--- a/docs/replication-appwrite.md
+++ /dev/null
@@ -1,247 +0,0 @@
-# Appwrite Realtime Sync for Local-First Apps
-
-> Sync RxDB with Appwrite for local-first apps. Supports real-time updates, offline mode, conflict resolution, and secure push/pull replication.
-
-import {Tabs} from '@site/src/components/tabs';
-import {Steps} from '@site/src/components/steps';
-import {VideoBox} from '@site/src/components/video-box';
-import {RxdbMongoDiagramPlain} from '@site/src/components/mongodb-sync';
-
-# RxDB Appwrite Replication
-
-This replication plugin allows you to synchronize documents between RxDB and an Appwrite server. It supports both push and pull replication, live updates via Appwrite's real-time subscriptions, [offline-capability](./offline-first.md) and [conflict resolution](./transactions-conflicts-revisions.md).
-
-
-
-
-
-## Why you should use RxDB with Appwrite?
-
-**Appwrite** is a secure, open-source backend server that simplifies backend tasks like user authentication, storage, database management, and real-time APIs.
-**RxDB** is a reactive database for the frontend that offers offline-first capabilities and rich client-side data handling.
-
-Combining the two provides several benefits:
-
-1. [Offline-First](./offline-first.md): RxDB keeps all data locally, so your application remains fully functional even when the network is unavailable. When connectivity returns, the RxDB ↔ Appwrite replication automatically resolves and synchronizes changes.
-
-2. **Real-Time Sync**: With Appwrite’s real-time subscriptions and RxDB’s live replication, you can build collaborative features that update across all clients instantaneously.
-
-3. [Conflict Handling](./transactions-conflicts-revisions.md): RxDB offers flexible conflict resolution strategies, making it simpler to handle concurrent edits across multiple users or devices.
-
-4. **Scalable & Secure**: Appwrite is built to handle production loads with granular access controls, while RxDB easily scales across various storage backends on the client side.
-
-5. **Simplicity & Modularity**: RxDB’s plugin-based architecture, combined with Appwrite’s Cloud offering makes it one of the easiest way to build local-first [realtime apps](./articles/realtime-database.md) that scale.
-
-
-
-## Preparing the Appwrite Server
-
-You can either use the appwrite cloud or self-host the Appwrite server. In this tutorial we use the Cloud which is recommended for beginners because it is way easier to set up. You can later decide to self-host if needed.
-
-
-
-### Set up an Appwrite Endpoint and Project
-
-
-
-#### Self-Hosted
-
-
-
-##### Docker
-
-Ensure docker and docker-compose is installed and your version are up to date:
-
-```bash
-docker-compose -v
-```
-
-##### Run the installation script
-
-The installation script runs inside of a docker container. It will create a docker-compose file and an `.env` file.
-
-```bash
-docker run -it --rm \
- --volume /var/run/docker.sock:/var/run/docker.sock \
- --volume "$(pwd)"/appwrite:/usr/src/code/appwrite:rw \
- --entrypoint="install" \
- appwrite/appwrite:1.6.1
-```
-
-##### Start/Stop
-
-After the installation is done, you can manually stop and start the appwrite instance with docker compose:
-
-```bash
-# stop
-docker-compose down
-
-# start
-docker-compose up
-```
-
-
-
-#### Appwrite Cloud
-
-
-
-##### Create a Cloud Account
-
-Got to the Appwrite Console, create an account and login.
-
-#### Create a Project
-
-At the console click the `+ Create Project` button to create a new project. Remember the `project-id` which will be used later.
-
-
-
-
-
-### Create an Appwrite Database and Collection
-
-After creating an Appwrite project you have to create an Appwrite Database and a collection, you can either do this in code with the node-appwrite SDK or in the Appwrite Console as shown in this video:
-
-
-
-
-
-### Add your documents attributes
-
-In the appwrite collection, create all attributes of your documents. You have to define all the fields that your document in your [RxDB schema](./rx-schema.md) knows about. Notice that Appwrite does not allow for nested attributes. So when you use RxDB with Appwrite, you should also not have nested attributes in your RxDB schema.
-
-### Add a `deleted` attribute
-
-Appwrite (natively) hard-deletes documents. But for offline-handling RxDB needs soft-deleted documents on the server so that the deletion state can be replicated with other clients.
-
-In RxDB, `_deleted` indicates that a document is removed locally and you need a similar field in your Appwrite collection on the Server: You must define a deletedField with any name to mark documents as "deleted" in the remote collection. Mostly you would use a boolean field named `deleted` (set it to `required`). The plugin will treat any document with `{ [deletedField]: true }` as deleted and replicate that state to local RxDB.
-
-### Set the Permission on the Appwrite Collection
-
-Appwrite uses permissions to control data access on the collection level. Make sure that in the Console at `Collection -> Settings -> Permissions` you have set the permission according to what you want to allow your clients to do. For testing, just enable all of them (Create, Read, Update and Delete).
-
-
-
-## Setting up the RxDB - Appwrite Replication
-
-Now that we have set up the Appwrite server, we can go to the client side code and set up RxDB and the replication:
-
-
-
-### Install the Appwrite SDK and RxDB:
-
-```bash
-npm install appwrite rxdb
-```
-
-### Import the Appwrite SDK and RxDB
-
-```ts
-import {
- replicateAppwrite
-} from 'rxdb/plugins/replication-appwrite';
-import {
- createRxDatabase,
- addRxPlugin,
- RxCollection
-} from 'rxdb/plugins/core';
-import {
- getRxStorageLocalstorage
-} from 'rxdb/plugins/storage-localstorage';
-
-import { Client } from 'appwrite';
-```
-
-### Create a Database with a Collection
-
-```ts
-const db = await createRxDatabase({
- name: 'mydb',
- storage: getRxStorageLocalstorage()
-});
-const mySchema = {
- title: 'my schema',
- version: 0,
- primaryKey: 'id',
- type: 'object',
- properties: {
- id: {
- type: 'string',
- maxLength: 100
- },
- name: {
- type: 'string'
- }
- },
- required: ['id', 'name']
-};
-await db.addCollections({
- humans: {
- schema: mySchema
- }
-});
-const collection = db.humans;
-```
-
-### Configure the Appwrite Client
-
-
-
-#### Appwrite Cloud
-
-```ts
-const client = new Client();
-client.setEndpoint('https://cloud.appwrite.io/v1');
-client.setProject('YOUR_APPWRITE_PROJECT_ID');
-```
-
-#### Self-Hosted
-
-```ts
-const client = new Client();
-client.setEndpoint('http://localhost/v1');
-client.setProject('YOUR_APPWRITE_PROJECT_ID');
-```
-
-
-
-### Start the Replication
-
-```ts
-const replicationState = replicateAppwrite({
- replicationIdentifier: 'my-appwrite-replication',
- client,
- databaseId: 'YOUR_APPWRITE_DATABASE_ID',
- collectionId: 'YOUR_APPWRITE_COLLECTION_ID',
- deletedField: 'deleted', // Field that represents deletion in Appwrite
- collection,
- pull: {
- batchSize: 10,
- },
- push: {
- batchSize: 10
- },
- /*
- * ...
- * You can set all other options for RxDB replication states
- * like 'live' or 'retryTime'
- * ...
- */
-});
-```
-
-### Do other things with the replication state
-
-The `RxAppwriteReplicationState` which is returned from `replicateAppwrite()` allows you to run all functionality of the normal [RxReplicationState](./replication.md).
-
-
-
-
-
-## Limitations of the Appwrite Replication Plugin
-
-- Appwrite primary keys only allow for the characters `a-z`, `A-Z`, `0-9`, and underscore `_` (They cannot start with a leading underscore). Also the primary key has a max length of 36 characters.
-- The Appwrite replication **only works on browsers**. This is because the Appwrite SDK does not support subscriptions in Node.js.
-- Appwrite does not allow for bulk write operations so on push one HTTP request will be made per document. Reads run in bulk so this is mostly not a problem.
-- Appwrite does not allow for transactions or "update-if" calls which can lead to overwriting documents instead of properly handling [conflicts](./transactions-conflicts-revisions.md#conflicts) when multiple clients edit the same document in parallel. This is not a problem for inserts because "insert-if-not" calls are made.
-- Nested attributes in Appwrite collections are only possible via experimental relationship attributes, and compatibility with RxDB is not tested. Users opting to use these experimental relationship attributes with RxDB do so at their own risk.
diff --git a/docs/replication-couchdb.html b/docs/replication-couchdb.html
deleted file mode 100644
index ea5dbf6d012..00000000000
--- a/docs/replication-couchdb.html
+++ /dev/null
@@ -1,219 +0,0 @@
-
-
-
-
-
-RxDB's CouchDB Replication Plugin | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
A plugin to replicate between a RxCollection and a CouchDB server.
-
This plugins uses the RxDB Sync Engine to replicate with a CouchDB endpoint. This plugin does NOT use the official CouchDB replication protocol because the CouchDB protocol was optimized for server-to-server replication and is not suitable for fast client side applications, mostly because it has to run many HTTP-requests (at least one per document) and also it has to store the whole revision tree of the documents at the client. This makes initial replication and querying very slow.
-
Because the way how RxDB handles revisions and documents is very similar to CouchDB, using the RxDB replication with a CouchDB endpoint is pretty straightforward.
import { replicateCouchDB } from 'rxdb/plugins/replication-couchdb';
-
-const replicationState = replicateCouchDB(
- {
- replicationIdentifier: 'my-couchdb-replication',
- collection: myRxCollection,
- // url to the CouchDB endpoint (required)
- url: 'http://example.com/db/humans',
- /**
- * true for live replication,
- * false for a one-time replication.
- * [default=true]
- */
- live: true,
- /**
- * A custom fetch() method can be provided
- * to add authentication or credentials.
- * Can be swapped out dynamically
- * by running 'replicationState.fetch = newFetchMethod;'.
- * (optional)
- */
- fetch: myCustomFetchMethod,
- pull: {
- /**
- * Amount of documents to be fetched in one HTTP request
- * (optional)
- */
- batchSize: 60,
- /**
- * Custom modifier to mutate pulled documents
- * before storing them in RxDB.
- * (optional)
- */
- modifier: docData => {/* ... */},
- /**
- * Heartbeat time in milliseconds
- * for the long polling of the changestream.
- * @link https://docs.couchdb.org/en/3.2.2-docs/api/database/changes.html
- * (optional, default=60000)
- */
- heartbeat: 60000
- },
- push: {
- /**
- * How many local changes to process at once.
- * (optional)
- */
- batchSize: 60,
- /**
- * Custom modifier to mutate documents
- * before sending them to the CouchDB endpoint.
- * (optional)
- */
- modifier: docData => {/* ... */}
- }
- }
-);
-
When you call replicateCouchDB() it returns a RxCouchDBReplicationState which can be used to subscribe to events, for debugging or other functions. It extends the RxReplicationState so any other method that can be used there can also be used on the CouchDB replication state.
When conflicts appear during replication, the conflictHandler of the RxCollection is used, equal to the other replication plugins. Read more about conflict handling here.
Lets say for authentication you need to add a bearer token as HTTP header to each request. You can achieve that by crafting a custom fetch() method that add the header field.
-
-const myCustomFetch = (url, options) => {
-
- // flat clone the given options to not mutate the input
- const optionsWithAuth = Object.assign({}, options);
- // ensure the headers property exists
- if(!optionsWithAuth.headers) {
- optionsWithAuth.headers = {};
- }
- // add bearer token to headers
- optionsWithAuth.headers['Authorization'] ='Basic S0VLU0UhIExFQ0...';
-
- // call the original fetch function with our custom options.
- return fetch(
- url,
- optionsWithAuth
- );
-};
-
-const replicationState = replicateCouchDB(
- {
- replicationIdentifier: 'my-couchdb-replication',
- collection: myRxCollection,
- url: 'http://example.com/db/humans',
- /**
- * Add the custom fetch function here.
- */
- fetch: myCustomFetch,
- pull: {},
- push: {}
- }
-);
-
Also when your bearer token changes over time, you can set a new custom fetch method while the replication is running:
-
replicationState.fetch = newCustomFetchMethod;
-
Also there is a helper method getFetchWithCouchDBAuthorization() to create a fetch handler with authorization:
Since CouchDB only allows synchronization through HTTP1.1 long polling requests there is a limitation of 6 active synchronization connections before the browser prevents sending any further request. This limitation is at the level of browser per tab per domain (some browser, especially older ones, might have a different limit, see here).
-
Since this limitation is at the browser level there are several solutions:
-
-
Use only a single database for all entities and set a "type" field for each of the documents
-
Create multiple subdomains for CouchDB and use a max of 6 active synchronizations (or less) for each
-
Use a proxy (ex: HAProxy) between the browser and CouchDB and configure it to use HTTP2.0, since HTTP2.0
-
-
If you use nginx in front of your CouchDB, you can use these settings to enable http2-proxying to prevent the connection limit problem:
In contrast to PouchDB, this plugin does NOT automatically create missing CouchDB databases.
-If your CouchDB server does not have a database yet, you have to create it by yourself by running a PUT request to the database name url:
-
// create a 'humans' CouchDB database on the server
-const remoteDatabaseName = 'humans';
-await fetch(
- 'http://example.com/db/' + remoteDatabaseName,
- {
- method: 'PUT'
- }
-);
-
-
\ No newline at end of file
diff --git a/docs/replication-couchdb.md b/docs/replication-couchdb.md
deleted file mode 100644
index 3991b2042ba..00000000000
--- a/docs/replication-couchdb.md
+++ /dev/null
@@ -1,223 +0,0 @@
-# RxDB's CouchDB Replication Plugin
-
-> Replicate your RxDB collections with CouchDB the fast way. Enjoy faster sync, easier conflict handling, and flexible storage using this modern plugin.
-
-# Replication with CouchDB
-
-A plugin to replicate between a RxCollection and a CouchDB server.
-
-This plugins uses the RxDB [Sync Engine](./replication.md) to replicate with a CouchDB endpoint. This plugin **does NOT** use the official [CouchDB replication protocol](https://docs.couchdb.org/en/stable/replication/protocol.html) because the CouchDB protocol was optimized for server-to-server replication and is not suitable for fast client side applications, mostly because it has to run many HTTP-requests (at least one per document) and also it has to store the whole revision tree of the documents at the client. This makes initial replication and querying very slow.
-
-Because the way how RxDB handles revisions and documents is very similar to CouchDB, using the RxDB replication with a CouchDB endpoint is pretty straightforward.
-
-## Pros
-
-- Faster initial replication.
-- Works with any [RxStorage](./rx-storage.md), not just PouchDB.
-- Easier conflict handling because conflicts are handled during replication and not afterwards.
-- Does not have to store all document revisions on the client, only stores the newest version.
-
-## Cons
-
-- Does not support the replication of [attachments](./rx-attachment.md).
-- Like all CouchDB replication plugins, this one is also limited to replicating 6 collections in parallel. [Read this for workarounds](./replication-couchdb.md#limitations)
-
-## Usage
-
-Start the replication via `replicateCouchDB()`.
-
-```ts
-import { replicateCouchDB } from 'rxdb/plugins/replication-couchdb';
-
-const replicationState = replicateCouchDB(
- {
- replicationIdentifier: 'my-couchdb-replication',
- collection: myRxCollection,
- // url to the CouchDB endpoint (required)
- url: 'http://example.com/db/humans',
- /**
- * true for live replication,
- * false for a one-time replication.
- * [default=true]
- */
- live: true,
- /**
- * A custom fetch() method can be provided
- * to add authentication or credentials.
- * Can be swapped out dynamically
- * by running 'replicationState.fetch = newFetchMethod;'.
- * (optional)
- */
- fetch: myCustomFetchMethod,
- pull: {
- /**
- * Amount of documents to be fetched in one HTTP request
- * (optional)
- */
- batchSize: 60,
- /**
- * Custom modifier to mutate pulled documents
- * before storing them in RxDB.
- * (optional)
- */
- modifier: docData => {/* ... */},
- /**
- * Heartbeat time in milliseconds
- * for the long polling of the changestream.
- * @link https://docs.couchdb.org/en/3.2.2-docs/api/database/changes.html
- * (optional, default=60000)
- */
- heartbeat: 60000
- },
- push: {
- /**
- * How many local changes to process at once.
- * (optional)
- */
- batchSize: 60,
- /**
- * Custom modifier to mutate documents
- * before sending them to the CouchDB endpoint.
- * (optional)
- */
- modifier: docData => {/* ... */}
- }
- }
-);
-```
-
-When you call `replicateCouchDB()` it returns a `RxCouchDBReplicationState` which can be used to subscribe to events, for debugging or other functions. It extends the [RxReplicationState](./replication.md) so any other method that can be used there can also be used on the CouchDB replication state.
-
-## Conflict handling
-
-When conflicts appear during replication, the `conflictHandler` of the `RxCollection` is used, equal to the other replication plugins. Read more about conflict handling [here](./replication.md#conflict-handling).
-
-## Auth example
-
-Lets say for authentication you need to add a [bearer token](https://swagger.io/docs/specification/authentication/bearer-authentication/) as HTTP header to each request. You can achieve that by crafting a custom `fetch()` method that add the header field.
-
-```ts
-
-const myCustomFetch = (url, options) => {
-
- // flat clone the given options to not mutate the input
- const optionsWithAuth = Object.assign({}, options);
- // ensure the headers property exists
- if(!optionsWithAuth.headers) {
- optionsWithAuth.headers = {};
- }
- // add bearer token to headers
- optionsWithAuth.headers['Authorization'] ='Basic S0VLU0UhIExFQ0...';
-
- // call the original fetch function with our custom options.
- return fetch(
- url,
- optionsWithAuth
- );
-};
-
-const replicationState = replicateCouchDB(
- {
- replicationIdentifier: 'my-couchdb-replication',
- collection: myRxCollection,
- url: 'http://example.com/db/humans',
- /**
- * Add the custom fetch function here.
- */
- fetch: myCustomFetch,
- pull: {},
- push: {}
- }
-);
-```
-
-Also when your bearer token changes over time, you can set a new custom `fetch` method while the replication is running:
-
-```ts
-replicationState.fetch = newCustomFetchMethod;
-```
-
-Also there is a helper method `getFetchWithCouchDBAuthorization()` to create a fetch handler with authorization:
-
-```ts
-
-import {
- replicateCouchDB,
- getFetchWithCouchDBAuthorization
-} from 'rxdb/plugins/replication-couchdb';
-
-const replicationState = replicateCouchDB(
- {
- replicationIdentifier: 'my-couchdb-replication',
- collection: myRxCollection,
- url: 'http://example.com/db/humans',
- /**
- * Add the custom fetch function here.
- */
- fetch: getFetchWithCouchDBAuthorization('myUsername', 'myPassword'),
- pull: {},
- push: {}
- }
-);
-```
-
-## Limitations
-
-Since CouchDB only allows synchronization through HTTP1.1 long polling requests there is a limitation of 6 active synchronization connections before the browser prevents sending any further request. This limitation is at the level of browser per tab per domain (some browser, especially older ones, might have a different limit, [see here](https://docs.pushtechnology.com/cloud/latest/manual/html/designguide/solution/support/connection_limitations.html)).
-
-Since this limitation is at the **browser** level there are several solutions:
- - Use only a single database for all entities and set a "type" field for each of the documents
- - Create multiple subdomains for CouchDB and use a max of 6 active synchronizations (or less) for each
- - Use a proxy (ex: HAProxy) between the browser and CouchDB and configure it to use HTTP2.0, since HTTP2.0
-
-If you use nginx in front of your CouchDB, you can use these settings to enable http2-proxying to prevent the connection limit problem:
-```
-server {
- http2 on;
- location /db {
- rewrite /db/(.*) /$1 break;
- proxy_pass http://172.0.0.1:5984;
- proxy_redirect off;
- proxy_buffering off;
- proxy_set_header Host $host;
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded
- proxy_set_header Connection "keep_alive"
- }
-}
-```
-
-## Known problems
-
-### Database missing
-
-In contrast to PouchDB, this plugin **does NOT** automatically create missing CouchDB databases.
-If your CouchDB server does not have a database yet, you have to create it by yourself by running a `PUT` request to the database `name` url:
-
-```ts
-// create a 'humans' CouchDB database on the server
-const remoteDatabaseName = 'humans';
-await fetch(
- 'http://example.com/db/' + remoteDatabaseName,
- {
- method: 'PUT'
- }
-);
-```
-
-## React Native
-
-React Native does not have a global `fetch` method. You have to import fetch method with the [cross-fetch](https://www.npmjs.com/package/cross-fetch) package:
-
-```ts
-import crossFetch from 'cross-fetch';
-const replicationState = replicateCouchDB(
- {
- replicationIdentifier: 'my-couchdb-replication',
- collection: myRxCollection,
- url: 'http://example.com/db/humans',
- fetch: crossFetch,
- pull: {},
- push: {}
- }
-);
-```
diff --git a/docs/replication-firestore.html b/docs/replication-firestore.html
deleted file mode 100644
index e90c26712c1..00000000000
--- a/docs/replication-firestore.html
+++ /dev/null
@@ -1,143 +0,0 @@
-
-
-
-
-
-Smooth Firestore Sync for Offline Apps | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
With the replication-firestore plugin you can do a two-way realtime replication
-between your client side RxDB Database and a Cloud Firestore database that is hosted on the Firebase platform. It will use the RxDB Sync Engine to manage the replication streams, error- and conflict handling.
-
-
Replicating your Firestore state to RxDB can bring multiple benefits compared to using the Firestore directly:
-
-
It can reduce your cloud fees because your queries run against the local state of the documents without touching a server and writes can be batched up locally and send to the backend in bulks. This is mostly the case for read heavy applications.
-
You can run complex NoSQL queries on your documents because you are not bound to the Firestore Query handling. You can also use local indexes, compression and encryption and do things like fulltext search, fully locally.
-
Your application can be truly Offline-First because your data is stored in a client side database. In contrast Firestore by itself only provides options to support offline also which more works like a cache and requires the user to be online at application start to run authentication.
-
It reduces the vendor lock in because you can switch out the backend server afterwards without having to rebuild big parts of the application. RxDB supports replication plugins with multiple technologies and it is even easy to set up with your custom backend.
Start the replication by calling replicateFirestore() on your RxCollection.
const replicationState = replicateFirestore({
- replicationIdentifier: `https://firestore.googleapis.com/${projectId}`,
- collection: myRxCollection,
- firestore: {
- projectId,
- database: firestoreDatabase,
- collection: firestoreCollection
- },
- /**
- * (required) Enable push and pull replication with firestore by
- * providing an object with optional filter
- * for each type of replication desired.
- * [default=disabled]
- */
- pull: {},
- push: {},
- /**
- * Either do a live or a one-time replication
- * [default=true]
- */
- live: true,
- /**
- * (optional) likely you should just use the default.
- *
- * In firestore it is not possible to read out
- * the internally used write timestamp of a document.
- * Even if we could read it out, it is not indexed which
- * is required for fetch 'changes-since-x'.
- * So instead we have to rely on a custom user defined field
- * that contains the server time
- * which is set by firestore via serverTimestamp()
- * Notice that the serverTimestampField MUST NOT be
- * part of the collections RxJsonSchema!
- * [default='serverTimestamp']
- */
- serverTimestampField: 'serverTimestamp'
-});
To observe and cancel the replication, you can use any other methods from the ReplicationState like error$, cancel() and awaitInitialReplication().
RxDB requires you to never fully delete documents. This is needed to be able to replicate the deletion state of a document to other instances. The firestore replication will set a boolean _deleted field to all documents to indicate the deletion state. You can change this by setting a different deletedField in the sync options.
Firestore has the enableIndexedDbPersistence() feature which caches document states locally to IndexedDB. This is not needed when you replicate your Firestore with RxDB because RxDB itself will store the data locally already.
-
Using the replication with an already existing Firestore Database State
-
If you have not used RxDB before and you already have documents inside of your Firestore database, you have
-to manually set the _deleted field to false and the serverTimestamp to all existing documents.
Also notice that if you do writes from non-RxDB applications, you have to keep these fields in sync. It is recommended to use the Firestore triggers to ensure that.
You might need to replicate only a subset of your collection, either to or from Firestore. You can achieve this using push.filter and pull.filter options.
Keep in mind that you can not use inequality operators (<, <=, !=, not-in, >, or >=) in pull.filter since that would cause a conflict with ordering by serverTimestamp.
-
-
\ No newline at end of file
diff --git a/docs/replication-firestore.md b/docs/replication-firestore.md
deleted file mode 100644
index 7471ee50310..00000000000
--- a/docs/replication-firestore.md
+++ /dev/null
@@ -1,154 +0,0 @@
-# Smooth Firestore Sync for Offline Apps
-
-> Leverage RxDB to enable real-time, offline-first replication with Firestore. Cut cloud costs, resolve conflicts, and speed up your app.
-
-import {Steps} from '@site/src/components/steps';
-
-# Replication with Firestore from Firebase
-
-With the `replication-firestore` plugin you can do a two-way realtime replication
-between your client side [RxDB](./) Database and a [Cloud Firestore](https://firebase.google.com/docs/firestore) database that is hosted on the Firebase platform. It will use the [RxDB Sync Engine](./replication.md) to manage the replication streams, error- and conflict handling.
-
-
-
-Replicating your Firestore state to RxDB can bring multiple benefits compared to using the Firestore directly:
-- It can reduce your cloud fees because your queries run against the local state of the documents without touching a server and writes can be batched up locally and send to the backend in bulks. This is mostly the case for read heavy applications.
-- You can run complex [NoSQL queries](./why-nosql.md) on your documents because you are not bound to the [Firestore Query](https://firebase.google.com/docs/firestore/query-data/queries) handling. You can also use local indexes, [compression](./key-compression.md) and [encryption](./encryption.md) and do things like fulltext search, fully locally.
-- Your application can be truly [Offline-First](./offline-first.md) because your data is stored in a client side database. In contrast Firestore by itself only provides options to support [offline also](https://cloud.google.com/firestore/docs/manage-data/enable-offline) which more works like a cache and requires the user to be online at application start to run authentication.
-- It reduces the vendor lock in because you can switch out the backend server afterwards without having to rebuild big parts of the application. RxDB supports replication plugins with multiple technologies and it is even easy to set up with your [custom backend](./replication.md).
-- You can use sophisticated [conflict resolution strategies](./replication.md#conflict-handling) so you are not bound to the Firestore [last-write-wins](https://stackoverflow.com/a/47781502/3443137) strategy which is not suitable for many applications.
-- The initial load time of your application can be decreased because it will do an incremental replication on restarts.
-
-## Usage
-
-
-
-### Install the firebase package
-
-```bash
-npm install firebase
-```
-
-### Initialize your Firestore Database
-
-```ts
-import * as firebase from 'firebase/app';
-import {
- getFirestore,
- collection
-} from 'firebase/firestore';
-
-const projectId = 'my-project-id';
-const app = firebase.initializeApp({
- projectId,
- databaseURL: 'http://localhost:8080?ns=' + projectId,
- /* ... */
-});
-const firestoreDatabase = getFirestore(app);
-const firestoreCollection = collection(firestoreDatabase, 'my-collection-name');
-```
-
-### Start the Replication
-
-Start the replication by calling `replicateFirestore()` on your [RxCollection](./rx-collection.md).
-
-```ts
-const replicationState = replicateFirestore({
- replicationIdentifier: `https://firestore.googleapis.com/${projectId}`,
- collection: myRxCollection,
- firestore: {
- projectId,
- database: firestoreDatabase,
- collection: firestoreCollection
- },
- /**
- * (required) Enable push and pull replication with firestore by
- * providing an object with optional filter
- * for each type of replication desired.
- * [default=disabled]
- */
- pull: {},
- push: {},
- /**
- * Either do a live or a one-time replication
- * [default=true]
- */
- live: true,
- /**
- * (optional) likely you should just use the default.
- *
- * In firestore it is not possible to read out
- * the internally used write timestamp of a document.
- * Even if we could read it out, it is not indexed which
- * is required for fetch 'changes-since-x'.
- * So instead we have to rely on a custom user defined field
- * that contains the server time
- * which is set by firestore via serverTimestamp()
- * Notice that the serverTimestampField MUST NOT be
- * part of the collections RxJsonSchema!
- * [default='serverTimestamp']
- */
- serverTimestampField: 'serverTimestamp'
-});
-```
-
-To observe and cancel the replication, you can use any other methods from the [ReplicationState](./replication.md) like `error$`, `cancel()` and `awaitInitialReplication()`.
-
-
-
-## Handling deletes
-
-RxDB requires you to never [fully delete documents](./replication.md#data-layout-on-the-server). This is needed to be able to replicate the deletion state of a document to other instances. The firestore replication will set a boolean `_deleted` field to all documents to indicate the deletion state. You can change this by setting a different `deletedField` in the sync options.
-
-## Do not set `enableIndexedDbPersistence()`
-
-Firestore has the `enableIndexedDbPersistence()` feature which caches document states locally to IndexedDB. This is not needed when you replicate your Firestore with RxDB because RxDB itself will store the data locally already.
-
-## Using the replication with an already existing Firestore Database State
-
-If you have not used RxDB before and you already have documents inside of your Firestore database, you have
-to manually set the `_deleted` field to `false` and the `serverTimestamp` to all existing documents.
-
-```ts
-import {
- getDocs,
- query,
- serverTimestamp
-} from 'firebase/firestore';
-const allDocsResult = await getDocs(query(firestoreCollection));
-allDocsResult.forEach(doc => {
- doc.update({
- _deleted: false,
- serverTimestamp: serverTimestamp()
- })
-});
-```
-
-Also notice that if you do writes from non-RxDB applications, you have to keep these fields in sync. It is recommended to use the [Firestore triggers](https://firebase.google.com/docs/functions/firestore-events) to ensure that.
-
-## Filtered Replication
-
-You might need to replicate only a subset of your collection, either to or from Firestore. You can achieve this using `push.filter` and `pull.filter` options.
-
-```ts
-const replicationState = replicateFirestore(
- {
- collection: myRxCollection,
- firestore: {
- projectId,
- database: firestoreDatabase,
- collection: firestoreCollection
- },
- pull: {
- filter: [
- where('ownerId', '==', userId)
- ]
- },
- push: {
- filter: (item) => item.syncEnabled === true
- }
- }
-);
-```
-
-Keep in mind that you can not use inequality operators `(<, <=, !=, not-in, >, or >=)` in `pull.filter` since that would cause a conflict with ordering by `serverTimestamp`.
diff --git a/docs/replication-graphql.html b/docs/replication-graphql.html
deleted file mode 100644
index 7561e3bcd54..00000000000
--- a/docs/replication-graphql.html
+++ /dev/null
@@ -1,445 +0,0 @@
-
-
-
-
-
-GraphQL Replication | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
The GraphQL replication provides handlers for GraphQL to run replication with GraphQL as the transportation layer.
-
The GraphQL replication is mostly used when you already have a backend that exposes a GraphQL API that can be adjusted to serve as a replication endpoint. If you do not already have a GraphQL endpoint, using the HTTP replication is an easier solution.
At the server-side, there must exist an endpoint which returns newer rows when the last checkpoint is used as input. For example lets say you create a QuerypullHuman which returns a list of document writes that happened after the given checkpoint.
-
For the push-replication, you also need a MutationpushHuman which lets RxDB update data of documents by sending the previous document state and the new client document state.
-Also for being able to stream all ongoing events, we need a Subscription called streamHuman.
-
input HumanInput {
- id: ID!,
- name: String!,
- lastName: String!,
- updatedAt: Float!,
- deleted: Boolean!
-}
-type Human {
- id: ID!,
- name: String!,
- lastName: String!,
- updatedAt: Float!,
- deleted: Boolean!
-}
-input Checkpoint {
- id: String!,
- updatedAt: Float!
-}
-type HumanPullBulk {
- documents: [Human]!
- checkpoint: Checkpoint
-}
-
-type Query {
- pullHuman(checkpoint: Checkpoint, limit: Int!): HumanPullBulk!
-}
-
-input HumanInputPushRow {
- assumedMasterState: HeroInputPushRowT0AssumedMasterStateT0
- newDocumentState: HeroInputPushRowT0NewDocumentStateT0!
-}
-
-type Mutation {
- # Returns a list of all conflicts
- # If no document write caused a conflict, return an empty list.
- pushHuman(rows: [HumanInputPushRow!]): [Human]
-}
-
-# headers are used to authenticate the subscriptions
-# over websockets.
-input Headers {
- AUTH_TOKEN: String!;
-}
-type Subscription {
- streamHuman(headers: Headers): HumanPullBulk!
-}
-
-
The GraphQL resolver for the pullHuman would then look like:
-
const rootValue = {
- pullHuman: args => {
- const minId = args.checkpoint ? args.checkpoint.id : '';
- const minUpdatedAt = args.checkpoint ? args.checkpoint.updatedAt : 0;
-
- // sorted by updatedAt first and the id as second
- const sortedDocuments = documents.sort((a, b) => {
- if (a.updatedAt > b.updatedAt) return 1;
- if (a.updatedAt < b.updatedAt) return -1;
- if (a.updatedAt === b.updatedAt) {
- if (a.id > b.id) return 1;
- if (a.id < b.id) return -1;
- else return 0;
- }
- });
-
- // only return documents newer than the input document
- const filterForMinUpdatedAtAndId = sortedDocuments.filter(doc => {
- if (doc.updatedAt < minUpdatedAt) return false;
- if (doc.updatedAt > minUpdatedAt) return true;
- if (doc.updatedAt === minUpdatedAt) {
- // if updatedAt is equal, compare by id
- if (doc.id > minId) return true;
- else return false;
- }
- });
-
- // only return some documents in one batch
- const limitedDocs = filterForMinUpdatedAtAndId.slice(0, args.limit);
-
- // use the last document for the checkpoint
- const lastDoc = limitedDocs[limitedDocs.length - 1];
- const retCheckpoint = {
- id: lastDoc.id,
- updatedAt: lastDoc.updatedAt
- }
-
- return {
- documents: limitedDocs,
- checkpoint: retCheckpoint
- }
-
- return limited;
- }
-}
For the pull-replication, you first need a pullQueryBuilder. This is a function that gets the last replication checkpoint and a limit as input and returns an object with a GraphQL-query and its variables (or a promise that resolves to the same object). RxDB will use the query builder to construct what is later sent to the GraphQL endpoint.
-
const pullQueryBuilder = (checkpoint, limit) => {
- /**
- * The first pull does not have a checkpoint
- * so we fill it up with defaults
- */
- if (!checkpoint) {
- checkpoint = {
- id: '',
- updatedAt: 0
- };
- }
- const query = `query PullHuman($checkpoint: CheckpointInput, $limit: Int!) {
- pullHuman(checkpoint: $checkpoint, limit: $limit) {
- documents {
- id
- name
- age
- updatedAt
- deleted
- }
- checkpoint {
- id
- updatedAt
- }
- }
- }`;
- return {
- query,
- operationName: 'PullHuman',
- variables: {
- checkpoint,
- limit
- }
- };
-};
-
With the queryBuilder, you can then setup the pull-replication.
-
import { replicateGraphQL } from 'rxdb/plugins/replication-graphql';
-const replicationState = replicateGraphQL(
- {
- collection: myRxCollection,
- // urls to the GraphQL endpoints
- url: {
- http: 'http://example.com/graphql'
- },
- pull: {
- queryBuilder: pullQueryBuilder, // the queryBuilder from above
- modifier: doc => doc, // (optional) modifies all pulled documents before they are handled by RxDB
- dataPath: undefined, // (optional) specifies the object path to access the document(s). Otherwise, the first result of the response data is used.
- /**
- * Amount of documents that the remote will send in one request.
- * If the response contains less than [batchSize] documents,
- * RxDB will assume there are no more changes on the backend
- * that are not replicated.
- * This value is the same as the limit in the pullHuman() schema.
- * [default=100]
- */
- batchSize: 50
- },
- // headers which will be used in http requests against the server.
- headers: {
- Authorization: 'Bearer abcde...'
- },
-
- /**
- * Options that have been inherited from the RxReplication
- */
- deletedField: 'deleted',
- live: true,
- retryTime = 1000 * 5,
- waitForLeadership = true,
- autoStart = true,
- }
-);
For the push-replication, you also need a queryBuilder. Here, the builder receives a changed document as input which has to be send to the server. It also returns a GraphQL-Query and its data.
To create a realtime replication, you need to create a pull stream that pulls ongoing writes from the server.
-The pull stream gets the headers of the RxReplicationState as input, so that it can be authenticated on the backend.
With the pullStreamQueryBuilder you can then start a realtime replication.
-
const replicationState = replicateGraphQL(
- {
- collection: myRxCollection,
- // urls to the GraphQL endpoints
- url: {
- http: 'http://example.com/graphql',
- ws: 'ws://example.com/subscriptions' // <- The websocket has to use a different url.
- },
- push: {
- batchSize: 100,
- queryBuilder: pushQueryBuilder
- },
- headers: {
- Authorization: 'Bearer abcde...'
- },
- pull: {
- batchSize: 100,
- queryBuilder: pullQueryBuilder,
- streamQueryBuilder: pullStreamQueryBuilder,
- includeWsHeaders: false, // Includes headers as connection parameter to Websocket.
-
- // Websocket options that can be passed as a parameter to initialize the subscription
- // Can be applied anything from the graphql-ws ClientOptions - https://the-guild.dev/graphql/ws/docs/interfaces/client.ClientOptions
- // Except these parameters: 'url', 'shouldRetry', 'webSocketImpl' - locked for internal usage
- // Note: if you provide connectionParams as a wsOption, make sure it returns any necessary headers (e.g. authorization)
- // because providing your own connectionParams prevents headers from being included automatically
- wsOptions: {
- retryAttempts: 10,
- }
- },
- deletedField: 'deleted'
- }
-);
-
note
If it is not possible to create a websocket server on your backend, you can use any other method of pull out the ongoing events from the backend and then you can send them into RxReplicationState.emitEvent().
-
Transforming null to undefined in optional fields
-
GraphQL fills up non-existent optional values with null while RxDB required them to be undefined.
-Therefore, if your schema contains optional properties, you have to transform the pulled data to switch out null to undefined
-
const replicationState: RxGraphQLReplicationState<RxDocType> = replicateGraphQL(
- {
- collection: myRxCollection,
- url: {/* ... */},
- headers: {/* ... */},
- push: {/* ... */},
- pull: {
- queryBuilder: pullQueryBuilder,
- modifier: (doc => {
- // We have to remove optional non-existent field values
- // they are set as null by GraphQL but should be undefined
- Object.entries(doc).forEach(([k, v]) => {
- if (v === null) {
- delete doc[k];
- }
- });
- return doc;
- })
- },
- /* ... */
- }
-);
With the pull.responseModifier you can modify the whole response from the GraphQL endpoint before it is processed by RxDB.
-For example if your endpoint is not capable of returning a valid checkpoint, but instead only returns the plain document array, you can use the responseModifier to aggregate the checkpoint from the returned documents.
-
import {
-
-} from 'rxdb';
-const replicationState: RxGraphQLReplicationState<RxDocType> = replicateGraphQL(
- {
- collection: myRxCollection,
- url: {/* ... */},
- headers: {/* ... */},
- push: {/* ... */},
- pull: {
- responseModifier: async function(
- plainResponse, // the exact response that was returned from the server
- origin, // either 'handler' if plainResponse came from the pull.handler, or 'stream' if it came from the pull.stream
- requestCheckpoint // if origin==='handler', the requestCheckpoint contains the checkpoint that was send to the backend
- ) {
- /**
- * In this example we aggregate the checkpoint from the documents array
- * that was returned from the graphql endpoint.
- */
- const docs = plainResponse;
- return {
- documents: docs,
- checkpoint: docs.length === 0 ? requestCheckpoint : {
- name: lastOfArray(docs).name,
- updatedAt: lastOfArray(docs).updatedAt
- }
- };
- }
- },
- /* ... */
- }
-);
It's also possible to modify the response of a push mutation. For example if your server returns more than the just conflicting docs:
-
type PushResponse {
- conflicts: [Human]
- conflictMessages: [ReplicationConflictMessage]
-}
-
-type Mutation {
- # Returns a PushResponse type that contains the conflicts along with other information
- pushHuman(rows: [HumanInputPushRow!]): PushResponse!
-}
-
import {} from "rxdb";
-const replicationState: RxGraphQLReplicationState<RxDocType> = replicateGraphQL(
- {
- collection: myRxCollection,
- url: {/* ... */},
- headers: {/* ... */},
- push: {
- responseModifier: async function (plainResponse) {
- /**
- * In this example we aggregate the conflicting documents from a response object
- */
- return plainResponse.conflicts;
- },
- },
- pull: {/* ... */},
- /* ... */
- }
-);
RxDB provides the helper functions graphQLSchemaFromRxSchema(), pullQueryBuilderFromRxSchema(), pullStreamBuilderFromRxSchema() and pushQueryBuilderFromRxSchema() that can be used to generate handlers and schemas from the RxJsonSchema. To learn how to use them, please inspect the GraphQL Example.
When you call myCollection.syncGraphQL() it returns a RxGraphQLReplicationState which can be used to subscribe to events, for debugging or other functions. It extends the RxReplicationState with some GraphQL specific methods.
The underlying fetch framework uses a same-origin policy for credentials per default. That means, cookies and session data is only shared if you backend and frontend run on the same domain and port. Pass the credential parameter to include cookies in requests to servers from different origins via:
-
replicationState.setCredentials('include');
-
or directly pass it in the replicateGraphQL function:
-
-
\ No newline at end of file
diff --git a/docs/replication-graphql.md b/docs/replication-graphql.md
deleted file mode 100644
index 1236fb009d6..00000000000
--- a/docs/replication-graphql.md
+++ /dev/null
@@ -1,499 +0,0 @@
-# GraphQL Replication
-
-> The GraphQL replication provides handlers for GraphQL to run [replication](./replication.md) with GraphQL as the transportation layer.
-
-# Replication with GraphQL
-
-The GraphQL replication provides handlers for GraphQL to run [replication](./replication.md) with GraphQL as the transportation layer.
-
-The GraphQL replication is mostly used when you already have a backend that exposes a GraphQL API that can be adjusted to serve as a replication endpoint. If you do not already have a GraphQL endpoint, using the [HTTP replication](./replication-http.md) is an easier solution.
-
-:::note
-To play around, check out the full example of the RxDB [GraphQL replication with server and client](https://github.com/pubkey/rxdb/tree/master/examples/graphql)
-:::
-
-## Usage
-
-Before you use the GraphQL replication, make sure you've learned how the [RxDB replication](./replication.md) works.
-
-### Creating a compatible GraphQL Server
-
-At the server-side, there must exist an endpoint which returns newer rows when the last `checkpoint` is used as input. For example lets say you create a `Query` `pullHuman` which returns a list of document writes that happened after the given checkpoint.
-
-For the push-replication, you also need a `Mutation` `pushHuman` which lets RxDB update data of documents by sending the previous document state and the new client document state.
-Also for being able to stream all ongoing events, we need a `Subscription` called `streamHuman`.
-
-```graphql
-input HumanInput {
- id: ID!,
- name: String!,
- lastName: String!,
- updatedAt: Float!,
- deleted: Boolean!
-}
-type Human {
- id: ID!,
- name: String!,
- lastName: String!,
- updatedAt: Float!,
- deleted: Boolean!
-}
-input Checkpoint {
- id: String!,
- updatedAt: Float!
-}
-type HumanPullBulk {
- documents: [Human]!
- checkpoint: Checkpoint
-}
-
-type Query {
- pullHuman(checkpoint: Checkpoint, limit: Int!): HumanPullBulk!
-}
-
-input HumanInputPushRow {
- assumedMasterState: HeroInputPushRowT0AssumedMasterStateT0
- newDocumentState: HeroInputPushRowT0NewDocumentStateT0!
-}
-
-type Mutation {
- # Returns a list of all conflicts
- # If no document write caused a conflict, return an empty list.
- pushHuman(rows: [HumanInputPushRow!]): [Human]
-}
-
-# headers are used to authenticate the subscriptions
-# over websockets.
-input Headers {
- AUTH_TOKEN: String!;
-}
-type Subscription {
- streamHuman(headers: Headers): HumanPullBulk!
-}
-
-```
-
-The GraphQL resolver for the `pullHuman` would then look like:
-
-```js
-const rootValue = {
- pullHuman: args => {
- const minId = args.checkpoint ? args.checkpoint.id : '';
- const minUpdatedAt = args.checkpoint ? args.checkpoint.updatedAt : 0;
-
- // sorted by updatedAt first and the id as second
- const sortedDocuments = documents.sort((a, b) => {
- if (a.updatedAt > b.updatedAt) return 1;
- if (a.updatedAt < b.updatedAt) return -1;
- if (a.updatedAt === b.updatedAt) {
- if (a.id > b.id) return 1;
- if (a.id < b.id) return -1;
- else return 0;
- }
- });
-
- // only return documents newer than the input document
- const filterForMinUpdatedAtAndId = sortedDocuments.filter(doc => {
- if (doc.updatedAt < minUpdatedAt) return false;
- if (doc.updatedAt > minUpdatedAt) return true;
- if (doc.updatedAt === minUpdatedAt) {
- // if updatedAt is equal, compare by id
- if (doc.id > minId) return true;
- else return false;
- }
- });
-
- // only return some documents in one batch
- const limitedDocs = filterForMinUpdatedAtAndId.slice(0, args.limit);
-
- // use the last document for the checkpoint
- const lastDoc = limitedDocs[limitedDocs.length - 1];
- const retCheckpoint = {
- id: lastDoc.id,
- updatedAt: lastDoc.updatedAt
- }
-
- return {
- documents: limitedDocs,
- checkpoint: retCheckpoint
- }
-
- return limited;
- }
-}
-```
-
-For examples for the other resolvers, consult the [GraphQL Example Project](https://github.com/pubkey/rxdb/blob/master/examples/graphql/server/index.js).
-
-### RxDB Client
-
-#### Pull replication
-
-For the pull-replication, you first need a `pullQueryBuilder`. This is a function that gets the last replication `checkpoint` and a `limit` as input and returns an object with a GraphQL-query and its variables (or a promise that resolves to the same object). RxDB will use the query builder to construct what is later sent to the GraphQL endpoint.
-
-```js
-const pullQueryBuilder = (checkpoint, limit) => {
- /**
- * The first pull does not have a checkpoint
- * so we fill it up with defaults
- */
- if (!checkpoint) {
- checkpoint = {
- id: '',
- updatedAt: 0
- };
- }
- const query = `query PullHuman($checkpoint: CheckpointInput, $limit: Int!) {
- pullHuman(checkpoint: $checkpoint, limit: $limit) {
- documents {
- id
- name
- age
- updatedAt
- deleted
- }
- checkpoint {
- id
- updatedAt
- }
- }
- }`;
- return {
- query,
- operationName: 'PullHuman',
- variables: {
- checkpoint,
- limit
- }
- };
-};
-```
-
-With the queryBuilder, you can then setup the pull-replication.
-
-```js
-import { replicateGraphQL } from 'rxdb/plugins/replication-graphql';
-const replicationState = replicateGraphQL(
- {
- collection: myRxCollection,
- // urls to the GraphQL endpoints
- url: {
- http: 'http://example.com/graphql'
- },
- pull: {
- queryBuilder: pullQueryBuilder, // the queryBuilder from above
- modifier: doc => doc, // (optional) modifies all pulled documents before they are handled by RxDB
- dataPath: undefined, // (optional) specifies the object path to access the document(s). Otherwise, the first result of the response data is used.
- /**
- * Amount of documents that the remote will send in one request.
- * If the response contains less than [batchSize] documents,
- * RxDB will assume there are no more changes on the backend
- * that are not replicated.
- * This value is the same as the limit in the pullHuman() schema.
- * [default=100]
- */
- batchSize: 50
- },
- // headers which will be used in http requests against the server.
- headers: {
- Authorization: 'Bearer abcde...'
- },
-
- /**
- * Options that have been inherited from the RxReplication
- */
- deletedField: 'deleted',
- live: true,
- retryTime = 1000 * 5,
- waitForLeadership = true,
- autoStart = true,
- }
-);
-```
-
-#### Push replication
-
-For the push-replication, you also need a `queryBuilder`. Here, the builder receives a changed document as input which has to be send to the server. It also returns a GraphQL-Query and its data.
-
-```js
-const pushQueryBuilder = rows => {
- const query = `
- mutation PushHuman($writeRows: [HumanInputPushRow!]) {
- pushHuman(writeRows: $writeRows) {
- id
- name
- age
- updatedAt
- deleted
- }
- }
- `;
- const variables = {
- writeRows: rows
- };
- return {
- query,
- operationName: 'PushHuman',
- variables
- };
-};
-```
-
-With the queryBuilder, you can then setup the push-replication.
-
-```js
-const replicationState = replicateGraphQL(
- {
- collection: myRxCollection,
- // urls to the GraphQL endpoints
- url: {
- http: 'http://example.com/graphql'
- },
- push: {
- queryBuilder: pushQueryBuilder, // the queryBuilder from above
- /**
- * batchSize (optional)
- * Amount of document that will be pushed to the server in a single request.
- */
- batchSize: 5,
- /**
- * modifier (optional)
- * Modifies all pushed documents before they are send to the GraphQL endpoint.
- * Returning null will skip the document.
- */
- modifier: doc => doc
- },
- headers: {
- Authorization: 'Bearer abcde...'
- },
- pull: {
- /* ... */
- },
- /* ... */
- }
-);
-```
-
-#### Pull Stream
-
-To create a **realtime** replication, you need to create a pull stream that pulls ongoing writes from the server.
-The pull stream gets the `headers` of the `RxReplicationState` as input, so that it can be authenticated on the backend.
-
-```js
-const pullStreamQueryBuilder = (headers) => {
- const query = `subscription onStream($headers: Headers) {
- streamHero(headers: $headers) {
- documents {
- id,
- name,
- age,
- updatedAt,
- deleted
- },
- checkpoint {
- id
- updatedAt
- }
- }
- }`;
- return {
- query,
- variables: {
- headers
- }
- };
-};
-```
-
-With the `pullStreamQueryBuilder` you can then start a realtime replication.
-
-```js
-const replicationState = replicateGraphQL(
- {
- collection: myRxCollection,
- // urls to the GraphQL endpoints
- url: {
- http: 'http://example.com/graphql',
- ws: 'ws://example.com/subscriptions' // <- The websocket has to use a different url.
- },
- push: {
- batchSize: 100,
- queryBuilder: pushQueryBuilder
- },
- headers: {
- Authorization: 'Bearer abcde...'
- },
- pull: {
- batchSize: 100,
- queryBuilder: pullQueryBuilder,
- streamQueryBuilder: pullStreamQueryBuilder,
- includeWsHeaders: false, // Includes headers as connection parameter to Websocket.
-
- // Websocket options that can be passed as a parameter to initialize the subscription
- // Can be applied anything from the graphql-ws ClientOptions - https://the-guild.dev/graphql/ws/docs/interfaces/client.ClientOptions
- // Except these parameters: 'url', 'shouldRetry', 'webSocketImpl' - locked for internal usage
- // Note: if you provide connectionParams as a wsOption, make sure it returns any necessary headers (e.g. authorization)
- // because providing your own connectionParams prevents headers from being included automatically
- wsOptions: {
- retryAttempts: 10,
- }
- },
- deletedField: 'deleted'
- }
-);
-```
-
-:::note
-If it is not possible to create a websocket server on your backend, you can use any other method of pull out the ongoing events from the backend and then you can send them into `RxReplicationState.emitEvent()`.
-:::
-
-### Transforming null to undefined in optional fields
-
-GraphQL fills up non-existent optional values with `null` while RxDB required them to be `undefined`.
-Therefore, if your schema contains optional properties, you have to transform the pulled data to switch out `null` to `undefined`
-```js
-const replicationState: RxGraphQLReplicationState = replicateGraphQL(
- {
- collection: myRxCollection,
- url: {/* ... */},
- headers: {/* ... */},
- push: {/* ... */},
- pull: {
- queryBuilder: pullQueryBuilder,
- modifier: (doc => {
- // We have to remove optional non-existent field values
- // they are set as null by GraphQL but should be undefined
- Object.entries(doc).forEach(([k, v]) => {
- if (v === null) {
- delete doc[k];
- }
- });
- return doc;
- })
- },
- /* ... */
- }
-);
-```
-
-### pull.responseModifier
-
-With the `pull.responseModifier` you can modify the whole response from the GraphQL endpoint **before** it is processed by RxDB.
-For example if your endpoint is not capable of returning a valid checkpoint, but instead only returns the plain document array, you can use the `responseModifier` to aggregate the checkpoint from the returned documents.
-
-```ts
-import {
-
-} from 'rxdb';
-const replicationState: RxGraphQLReplicationState = replicateGraphQL(
- {
- collection: myRxCollection,
- url: {/* ... */},
- headers: {/* ... */},
- push: {/* ... */},
- pull: {
- responseModifier: async function(
- plainResponse, // the exact response that was returned from the server
- origin, // either 'handler' if plainResponse came from the pull.handler, or 'stream' if it came from the pull.stream
- requestCheckpoint // if origin==='handler', the requestCheckpoint contains the checkpoint that was send to the backend
- ) {
- /**
- * In this example we aggregate the checkpoint from the documents array
- * that was returned from the graphql endpoint.
- */
- const docs = plainResponse;
- return {
- documents: docs,
- checkpoint: docs.length === 0 ? requestCheckpoint : {
- name: lastOfArray(docs).name,
- updatedAt: lastOfArray(docs).updatedAt
- }
- };
- }
- },
- /* ... */
- }
-);
-```
-
-### push.responseModifier
-
-It's also possible to modify the response of a push mutation. For example if your server returns more than the just conflicting docs:
-
-```graphql
-type PushResponse {
- conflicts: [Human]
- conflictMessages: [ReplicationConflictMessage]
-}
-
-type Mutation {
- # Returns a PushResponse type that contains the conflicts along with other information
- pushHuman(rows: [HumanInputPushRow!]): PushResponse!
-}
-```
-
-```ts
-import {} from "rxdb";
-const replicationState: RxGraphQLReplicationState = replicateGraphQL(
- {
- collection: myRxCollection,
- url: {/* ... */},
- headers: {/* ... */},
- push: {
- responseModifier: async function (plainResponse) {
- /**
- * In this example we aggregate the conflicting documents from a response object
- */
- return plainResponse.conflicts;
- },
- },
- pull: {/* ... */},
- /* ... */
- }
-);
-```
-
-#### Helper Functions
-
-RxDB provides the helper functions `graphQLSchemaFromRxSchema()`, `pullQueryBuilderFromRxSchema()`, `pullStreamBuilderFromRxSchema()` and `pushQueryBuilderFromRxSchema()` that can be used to generate handlers and schemas from the `RxJsonSchema`. To learn how to use them, please inspect the [GraphQL Example](https://github.com/pubkey/rxdb/tree/master/examples/graphql).
-
-### RxGraphQLReplicationState
-
-When you call `myCollection.syncGraphQL()` it returns a `RxGraphQLReplicationState` which can be used to subscribe to events, for debugging or other functions. It extends the [RxReplicationState](./replication.md) with some GraphQL specific methods.
-
-#### .setHeaders()
-
-Changes the headers for the replication after it has been set up.
-
-```js
-replicationState.setHeaders({
- Authorization: `...`
-});
-```
-
-#### Sending Cookies
-
-The underlying fetch framework uses a `same-origin` policy for credentials per default. That means, cookies and session data is only shared if you backend and frontend run on the same domain and port. Pass the credential parameter to `include` cookies in requests to servers from different origins via:
-
-```js
-replicationState.setCredentials('include');
-```
-
-or directly pass it in the `replicateGraphQL` function:
-
-```js
-replicateGraphQL(
- {
- collection: myRxCollection,
- /* ... */
- credentials: 'include',
- /* ... */
- }
-);
-```
-
-See [the fetch spec](https://fetch.spec.whatwg.org/#concept-request-credentials-mode) for more information about available options.
-
-:::note
-To play around, check out the full example of the RxDB [GraphQL replication with server and client](https://github.com/pubkey/rxdb/tree/master/examples/graphql)
-:::
diff --git a/docs/replication-http.html b/docs/replication-http.html
deleted file mode 100644
index be773d646f0..00000000000
--- a/docs/replication-http.html
+++ /dev/null
@@ -1,237 +0,0 @@
-
-
-
-
-
-HTTP Replication | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
HTTP Replication from a custom server to RxDB clients
-
While RxDB has a range of backend-specific replication plugins (like GraphQL or Firestore), the replication is build in a way to make it very easy to replicate data from a custom server to RxDB clients.
-
-
Using HTTP as a transport protocol makes it simple to create a compatible backend on top of your existing infrastructure. For events that must be sent from the server to the client, we can use Server Send Events.
-
In this tutorial we will implement a HTTP replication between an RxDB client and a MongoDB express server. You can adapt this for any other backend database technology like PostgreSQL or even a non-Node.js server like go or java.
-
To create a compatible server for replication, we will start a server and implement the correct HTTP routes and replication handlers. We need a push-handler, a pull-handler and for the ongoing changes pull.stream we use Server Send Events.
RxDB does not have a specific HTTP-replication plugin because the replication primitives plugin is simple enough to start a HTTP replication on top of it.
-We import the replicateRxCollection function and start the replication from there for a single RxCollection.
As first HTTP Endpoint, we need to implement the pull handler. This is used by the RxDB replication to fetch all documents writes that happened after a given checkpoint.
The checkpoint format is not determined by RxDB, instead the server can use any type of changepoint that can be used to iterate across document writes. Here we will just use a unix timestamp updatedAt and a string id which is the most common used format.
When the pull endpoint is called, the server responds with an array of document data based on the given checkpoint and a new checkpoint.
-Also the server has to respect the batchSize so that RxDB knows when there are no more new documents and the server returns a non-full array.
// > server.ts
-import { lastOfArray } from 'rxdb/plugins/core';
-app.get('/pull', (req, res) => {
- const id = req.query.id;
- const updatedAt = parseFloat(req.query.updatedAt);
- const documents = await mongoCollection.find({
- $or: [
- /**
- * Notice that we have to compare the updatedAt AND the id field
- * because the updateAt field is not unique and when two documents
- * have the same updateAt, we can still "sort" them by their id.
- */
- {
- updateAt: { $gt: updatedAt }
- },
- {
- updateAt: { $eq: updatedAt }
- id: { $gt: id }
- }
- ]
- })
- .sort({updateAt: 1, id: 1})
- .limit(parseInt(req.query.batchSize, 10)).toArray();
- const newCheckpoint = documents.length === 0 ? { id, updatedAt } : {
- id: lastOfArray(documents).id,
- updatedAt: lastOfArray(documents).updatedAt
- };
- res.setHeader('Content-Type', 'application/json');
- res.end(JSON.stringify({ documents, checkpoint: newCheckpoint }));
-});
To send client side writes to the server, we have to implement the push.handler. It gets an array of change rows as input and has to return only the conflicting documents that did not have been written to the server. Each change row contains a newDocumentState and an optional assumedMasterState.
For conflict detection, on the server we first have to detect if the assumedMasterState is correct for each row. If yes, we have to write the new document state to the database, otherwise we have to return the "real" master state in the conflict array.
The server also creates an event that is emitted to the pullStream$ which is later used in the pull.stream$.
// > server.ts
-import { lastOfArray } from 'rxdb/plugins/core';
-import { Subject } from 'rxjs';
-
-// used in the pull.stream$ below
-let lastEventId = 0;
-const pullStream$ = new Subject();
-
-app.get('/push', (req, res) => {
- const changeRows = req.body;
- const conflicts = [];
- const event = {
- id: lastEventId++,
- documents: [],
- checkpoint: null
- };
- for(const changeRow of changeRows){
- const realMasterState = mongoCollection.findOne({id: changeRow.newDocumentState.id});
- if(
- realMasterState && !changeRow.assumedMasterState ||
- (
- realMasterState && changeRow.assumedMasterState &&
- /*
- * For simplicity we detect conflicts on the server by only compare the updateAt value.
- * In reality you might want to do a more complex check or do a deep-equal comparison.
- */
- realMasterState.updatedAt !== changeRow.assumedMasterState.updatedAt
- )
- ) {
- // we have a conflict
- conflicts.push(realMasterState);
- } else {
- // no conflict -> write the document
- mongoCollection.updateOne(
- {id: changeRow.newDocumentState.id},
- changeRow.newDocumentState
- );
- event.documents.push(changeRow.newDocumentState);
- event.checkpoint = { id: changeRow.newDocumentState.id, updatedAt: changeRow.newDocumentState.updatedAt };
- }
- }
- if(event.documents.length > 0){
- myPullStream$.next(event);
- }
- res.setHeader('Content-Type', 'application/json');
- res.end(JSON.stringify(conflicts));
-});
note
For simplicity in this tutorial, we do not use transactions. In reality you should run the full push function inside of a MongoDB transaction to ensure that no other process can mix up the document state while the writes are processed. Also you should call batch operations on MongoDB instead of running the operations for each change row.
While the normal pull handler is used when the replication is in iteration mode, we also need a stream of ongoing changes when the replication is in event observation mode. This brings the realtime replication to RxDB where changes on the server or on a client will directly get propagated to the other instances.
On the server we have to implement the pullStream route and emit the events. We use the pullStream$ observable from above to fetch all ongoing events and respond them to the client. Here we use Server-Sent-Events (SSE) which is the most common used way to stream data from the server to the client. Other method also exist like WebSockets or Long-Polling.
How the build the pullStream$ Observable is not part of this tutorial. This heavily depends on your backend and infrastructure. Likely you have to observe the MongoDB event stream.
From the client we can observe this endpoint and create a pull.stream$ observable that emits all events that are send from the server to the client.
-The client connects to an url and receives server-sent-events that contain all ongoing writes.
In case the client looses the connection, the EventSource will automatically reconnect but there might have been some changes that have been missed out in the meantime. The replication has to be informed that it might have missed events by emitting a RESYNC flag from the pull.stream$.
-The replication will then catch up by switching to the iteration mode until it is in sync with the server again.
The purpose of the RESYNC flag is to tell the client that "something might have changed" and then the client can react on that information without having to run operations in an interval.
If your backend is not capable of emitting the actual documents and checkpoint in the pull stream, you could just map all events to the RESYNC flag. This would make the replication work with a slight performance drawback:
In this tutorial we only covered the basics of doing a HTTP replication between RxDB clients and a server. We did not cover the following aspects of the implementation:
-
-
Authentication: To authenticate the client on the server, you might want to send authentication headers with the HTTP requests
-
Skip events on the pull.stream$ for the client that caused the changes to improve performance.
-
Version upgrades: You should add a version-flag to the endpoint urls. If you then update the version of your endpoints in any way, your old endpoints should emit a Code 426 to outdated clients so that they can updated their client version.
-
-
\ No newline at end of file
diff --git a/docs/replication-http.md b/docs/replication-http.md
deleted file mode 100644
index 3063e11cb2f..00000000000
--- a/docs/replication-http.md
+++ /dev/null
@@ -1,314 +0,0 @@
-# HTTP Replication
-
-> Learn how to establish HTTP replication between RxDB clients and a Node.js Express server for data synchronization.
-
-import {Steps} from '@site/src/components/steps';
-import {Tabs} from '@site/src/components/tabs';
-
-# HTTP Replication from a custom server to RxDB clients
-
-While RxDB has a range of backend-specific replication plugins (like [GraphQL](./replication-graphql.md) or [Firestore](./replication-firestore.md)), the replication is build in a way to make it very easy to replicate data from a custom server to RxDB clients.
-
-
-
-Using **HTTP** as a transport protocol makes it simple to create a compatible backend on top of your existing infrastructure. For events that must be sent from the server to the client, we can use [Server Send Events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events).
-
-In this tutorial we will implement a HTTP replication between an RxDB client and a MongoDB express server. You can adapt this for any other backend database technology like PostgreSQL or even a non-Node.js server like go or java.
-
-To create a compatible server for replication, we will start a server and implement the correct HTTP routes and replication handlers. We need a push-handler, a pull-handler and for the ongoing changes `pull.stream` we use **Server Send Events**.
-
-## Setup
-
-
-
-### Start the Replication on the RxDB Client
-
-RxDB does not have a specific HTTP-replication plugin because the [replication primitives plugin](./replication.md) is simple enough to start a HTTP replication on top of it.
-We import the `replicateRxCollection` function and start the replication from there for a single [RxCollection](./rx-collection.md).
-
-```ts
-// > client.ts
-import { replicateRxCollection } from 'rxdb/plugins/replication';
-const replicationState = await replicateRxCollection({
- collection: myRxCollection,
- replicationIdentifier: 'my-http-replication',
- push: { /* add settings from below */ },
- pull: { /* add settings from below */ }
-});
-```
-
-### Start a Node.js process with Express and MongoDB
-
-On the server side, we start an express server that has a MongoDB connection and serves the HTTP requests of the client.
-
-```ts
-// > server.ts
-import { MongoClient } from 'mongodb';
-import express from 'express';
-const mongoClient = new MongoClient('mongodb://localhost:27017/');
-const mongoConnection = await mongoClient.connect();
-const mongoDatabase = mongoConnection.db('myDatabase');
-const mongoCollection = await mongoDatabase.collection('myDocs');
-
-const app = express();
-app.use(express.json());
-
-/* ... add routes from below */
-
-app.listen(80, () => {
- console.log(`Example app listening on port 80`)
-});
-```
-
-### Implement the Pull Endpoint
-
-As first HTTP Endpoint, we need to implement the pull handler. This is used by the RxDB replication to fetch all documents writes that happened after a given `checkpoint`.
-
-The `checkpoint` format is not determined by RxDB, instead the server can use any type of changepoint that can be used to iterate across document writes. Here we will just use a unix timestamp `updatedAt` and a string `id` which is the most common used format.
-
-When the pull endpoint is called, the server responds with an array of document data based on the given checkpoint and a new checkpoint.
-Also the server has to respect the batchSize so that RxDB knows when there are no more new documents and the server returns a non-full array.
-
-```ts
-// > server.ts
-import { lastOfArray } from 'rxdb/plugins/core';
-app.get('/pull', (req, res) => {
- const id = req.query.id;
- const updatedAt = parseFloat(req.query.updatedAt);
- const documents = await mongoCollection.find({
- $or: [
- /**
- * Notice that we have to compare the updatedAt AND the id field
- * because the updateAt field is not unique and when two documents
- * have the same updateAt, we can still "sort" them by their id.
- */
- {
- updateAt: { $gt: updatedAt }
- },
- {
- updateAt: { $eq: updatedAt }
- id: { $gt: id }
- }
- ]
- })
- .sort({updateAt: 1, id: 1})
- .limit(parseInt(req.query.batchSize, 10)).toArray();
- const newCheckpoint = documents.length === 0 ? { id, updatedAt } : {
- id: lastOfArray(documents).id,
- updatedAt: lastOfArray(documents).updatedAt
- };
- res.setHeader('Content-Type', 'application/json');
- res.end(JSON.stringify({ documents, checkpoint: newCheckpoint }));
-});
-```
-
-### Implement the Pull Handler
-
-On the client we add the `pull.handler` to the replication setting. The handler request the correct server url and fetches the documents.
-
-```ts
-// > client.ts
-const replicationState = await replicateRxCollection({
- /* ... */
- pull: {
- async handler(checkpointOrNull, batchSize){
- const updatedAt = checkpointOrNull ? checkpointOrNull.updatedAt : 0;
- const id = checkpointOrNull ? checkpointOrNull.id : '';
- const response = await fetch(
- `https://localhost/pull?updatedAt=${updatedAt}&id=${id}&limit=${batchSize}`
- );
- const data = await response.json();
- return {
- documents: data.documents,
- checkpoint: data.checkpoint
- };
- }
-
- }
- /* ... */
-});
-```
-
-### Implement the Push Endpoint
-
-To send client side writes to the server, we have to implement the `push.handler`. It gets an array of change rows as input and has to return only the conflicting documents that did not have been written to the server. Each change row contains a `newDocumentState` and an optional `assumedMasterState`.
-
-For [conflict detection](./transactions-conflicts-revisions.md), on the server we first have to detect if the `assumedMasterState` is correct for each row. If yes, we have to write the new document state to the database, otherwise we have to return the "real" master state in the conflict array.
-
-The server also creates an `event` that is emitted to the `pullStream$` which is later used in the [pull.stream$](#pullstream-for-ongoing-changes).
-
-```ts
-// > server.ts
-import { lastOfArray } from 'rxdb/plugins/core';
-import { Subject } from 'rxjs';
-
-// used in the pull.stream$ below
-let lastEventId = 0;
-const pullStream$ = new Subject();
-
-app.get('/push', (req, res) => {
- const changeRows = req.body;
- const conflicts = [];
- const event = {
- id: lastEventId++,
- documents: [],
- checkpoint: null
- };
- for(const changeRow of changeRows){
- const realMasterState = mongoCollection.findOne({id: changeRow.newDocumentState.id});
- if(
- realMasterState && !changeRow.assumedMasterState ||
- (
- realMasterState && changeRow.assumedMasterState &&
- /*
- * For simplicity we detect conflicts on the server by only compare the updateAt value.
- * In reality you might want to do a more complex check or do a deep-equal comparison.
- */
- realMasterState.updatedAt !== changeRow.assumedMasterState.updatedAt
- )
- ) {
- // we have a conflict
- conflicts.push(realMasterState);
- } else {
- // no conflict -> write the document
- mongoCollection.updateOne(
- {id: changeRow.newDocumentState.id},
- changeRow.newDocumentState
- );
- event.documents.push(changeRow.newDocumentState);
- event.checkpoint = { id: changeRow.newDocumentState.id, updatedAt: changeRow.newDocumentState.updatedAt };
- }
- }
- if(event.documents.length > 0){
- myPullStream$.next(event);
- }
- res.setHeader('Content-Type', 'application/json');
- res.end(JSON.stringify(conflicts));
-});
-```
-
-:::note
-For simplicity in this tutorial, we do not use transactions. In reality you should run the full push function inside of a MongoDB transaction to ensure that no other process can mix up the document state while the writes are processed. Also you should call batch operations on MongoDB instead of running the operations for each change row.
-:::
-
-### Implement the Push Handler
-
-With the push endpoint in place, we can add a `push.handler` to the replication settings on the client.
-
-```ts
-// > client.ts
-const replicationState = await replicateRxCollection({
- /* ... */
- push: {
- async handler(changeRows){
- const rawResponse = await fetch('https://localhost/push', {
- method: 'POST',
- headers: {
- 'Accept': 'application/json',
- 'Content-Type': 'application/json'
- },
- body: JSON.stringify(changeRows)
- });
- const conflictsArray = await rawResponse.json();
- return conflictsArray;
- }
- }
- /* ... */
-});
-```
-
-### Implement the pullStream$ Endpoint
-
-While the normal pull handler is used when the replication is in [iteration mode](./replication.md#checkpoint-iteration), we also need a stream of ongoing changes when the replication is in [event observation mode](./replication.md#event-observation). This brings the realtime replication to RxDB where changes on the server or on a client will directly get propagated to the other instances.
-
-On the server we have to implement the `pullStream` route and emit the events. We use the `pullStream$` observable from [above](#push-from-the-client-to-the-server) to fetch all ongoing events and respond them to the client. Here we use Server-Sent-Events (SSE) which is the most common used way to stream data from the server to the client. Other method also exist like [WebSockets or Long-Polling](./articles/websockets-sse-polling-webrtc-webtransport.md).
-
-```ts
-// > server.ts
-app.get('/pullStream', (req, res) => {
- res.writeHead(200, {
- 'Content-Type': 'text/event-stream',
- 'Connection': 'keep-alive',
- 'Cache-Control': 'no-cache'
- });
- const subscription = pullStream$.subscribe(event => {
- res.write('data: ' + JSON.stringify(event) + '\n\n');
- });
- req.on('close', () => subscription.unsubscribe());
-});
-```
-
-:::note
-How the build the `pullStream$` Observable is not part of this tutorial. This heavily depends on your backend and infrastructure. Likely you have to observe the MongoDB event stream.
-:::
-
-### Implement the pullStream$ Handler
-
-From the client we can observe this endpoint and create a `pull.stream$` observable that emits all events that are send from the server to the client.
-The client connects to an url and receives server-sent-events that contain all ongoing writes.
-
-```ts
-// > client.ts
-import { Subject } from 'rxjs';
-const myPullStream$ = new Subject();
-const eventSource = new EventSource(
- 'http://localhost/pullStream',
- { withCredentials: true }
-);
-eventSource.onmessage = event => {
- const eventData = JSON.parse(event.data);
- myPullStream$.next({
- documents: eventData.documents,
- checkpoint: eventData.checkpoint
- });
-};
-
-const replicationState = await replicateRxCollection({
- /* ... */
- pull: {
- /* ... */
- stream$: myPullStream$.asObservable()
- }
- /* ... */
-});
-```
-
-### pullStream$ RESYNC flag
-
-In case the client looses the connection, the EventSource will automatically reconnect but there might have been some changes that have been missed out in the meantime. The replication has to be informed that it might have missed events by emitting a `RESYNC` flag from the `pull.stream$`.
-The replication will then catch up by switching to the [iteration mode](./replication.md#checkpoint-iteration) until it is in sync with the server again.
-
-```ts
-// > client.ts
-eventSource.onerror = () => myPullStream$.next('RESYNC');
-```
-
-The purpose of the `RESYNC` flag is to tell the client that "something might have changed" and then the client can react on that information without having to run operations in an interval.
-
-If your backend is not capable of emitting the actual documents and checkpoint in the pull stream, you could just map all events to the `RESYNC` flag. This would make the replication work with a slight performance drawback:
-
-```ts
-// > client.ts
-import { Subject } from 'rxjs';
-const myPullStream$ = new Subject();
-const eventSource = new EventSource(
- 'http://localhost/pullStream',
- { withCredentials: true }
-);
-eventSource.onmessage = () => myPullStream$.next('RESYNC');
-const replicationState = await replicateRxCollection({
- pull: {
- stream$: myPullStream$.asObservable()
- }
-});
-```
-
-
-
-## Missing implementation details
-
-In this tutorial we only covered the basics of doing a HTTP replication between RxDB clients and a server. We did not cover the following aspects of the implementation:
-
-- Authentication: To authenticate the client on the server, you might want to send authentication headers with the HTTP requests
-- Skip events on the `pull.stream$` for the client that caused the changes to improve performance.
-- Version upgrades: You should add a version-flag to the endpoint urls. If you then update the version of your endpoints in any way, your old endpoints should emit a `Code 426` to outdated clients so that they can updated their client version.
diff --git a/docs/replication-mongodb.html b/docs/replication-mongodb.html
deleted file mode 100644
index 5d68f3f3346..00000000000
--- a/docs/replication-mongodb.html
+++ /dev/null
@@ -1,272 +0,0 @@
-
-
-
-
-
-MongoDB Realtime Sync Engine for Local-First Apps | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
MongoDB Replication Plugin for RxDB - Real-Time, Offline-First Sync
-
-
The MongoDB Replication Plugin for RxDB delivers seamless, two-way synchronization between MongoDB and RxDB, enabling real-time updates and offline-first functionality for your applications. Built on MongoDB Change Streams, it supports both Atlas and self-hosted deployments, ensuring your data stays consistent across every device and service.
-
Behind the scenes, the plugin is powered by the RxDB Sync Engine, which manages the complexities of real-world data replication for you. It automatically handles conflict detection and resolution, maintains precise checkpoints for incremental updates, and gracefully manages transitions between offline and online states. This means you don't need to manually implement retry logic, reconcile divergent changes, or worry about data loss during connectivity drops, the Sync Engine ensures consistency and reliability in every sync cycle.
The plugin operates in a three-tier architecture: Clients connect to RxServer, which in turn connects to MongoDB. RxServer streams changes from MongoDB to connected clients and pushes client-side updates back to MongoDB.
-
For the client side, RxServer exposes a replication endpoint over WebSocket or HTTP, which your RxDB-powered applications can consume.
-
The following diagram illustrates the flow of updates between clients, RxServer, and MongoDB in a live synchronization setup:
-
Client A
RxServer
MongoDB
Client B
Client C
-
-
-
note
The MongoDB Replication Plugin is optimized for Node.js environments (e.g., when RxDB runs within RxServer or other backend services). Direct connections from browsers or mobile apps to MongoDB are not supported because MongoDB does not use HTTP as its wire protocol and requires a driver-level connection to a replica set or sharded cluster.
As first step, you need access to a running MongoDB Server. This can be done by either running a server locally or using the Atlas Cloud. Notice that we need to have a replica set because only on these, the MongoDB changestream can be used.
Shell
Docker
MongoDB Atlas
If you have installed MongoDB locally, you can start the server with this command:
mongod --replSet rs0 --bind_ip_all
After this step you should have a valid connection string that points to a running MongoDB Server like mongodb://localhost:27017/.
To observe document deletions on the changestream, changeStreamPreAndPostImages must be enabled. This is not required if you have an insert/update-only collection where no documents are deleted ever.
The RxMongoDBReplicationState which is returned from replicateMongoDB() allows you to run all functionality of the normal RxReplicationState like observing errors or doing start/stop operations.
Now that we have a RxDatabase and Collection that is replicated with MongoDB, we can spawn a RxServer on top of it. This server can then be used by client devices to connect.
//> server.ts
-
-import { createRxServer } from 'rxdb-server/plugins/server';
-import { RxServerAdapterExpress } from 'rxdb-server/plugins/adapter-express';
-
-const server = await createRxServer({
- database: db,
- adapter: RxServerAdapterExpress,
- port: 8080,
- cors: '*'
-});
-
-const endpoint = server.addReplicationEndpoint({
- name: 'humans',
- collection: db.humans
-});
-console.log('Replication endpoint:', `http://localhost:8080/${endpoint.urlPath}`);
-
-// do not forget to start the server!
-await server.start();
-
-
\ No newline at end of file
diff --git a/docs/replication-mongodb.md b/docs/replication-mongodb.md
deleted file mode 100644
index b0a521382be..00000000000
--- a/docs/replication-mongodb.md
+++ /dev/null
@@ -1,241 +0,0 @@
-# MongoDB Realtime Sync Engine for Local-First Apps
-
-> Build real-time, offline-capable apps with RxDB + MongoDB replication. Push/pull changes, use change streams, and keep data in sync across devices.
-
-import {Tabs} from '@site/src/components/tabs';
-import {Steps} from '@site/src/components/steps';
-import {VideoBox} from '@site/src/components/video-box';
-import {RxdbMongoDiagramPlain} from '@site/src/components/mongodb-sync';
-
-# MongoDB Replication Plugin for RxDB - Real-Time, Offline-First Sync
-
-
-
-The [MongoDB](https://www.mongodb.com/) Replication Plugin for RxDB delivers seamless, two-way synchronization between MongoDB and RxDB, enabling [real-time](./articles/realtime-database.md) updates and [offline-first](./offline-first.md) functionality for your applications. Built on **MongoDB Change Streams**, it supports both Atlas and self-hosted deployments, ensuring your data stays consistent across every device and service.
-
-Behind the scenes, the plugin is powered by the RxDB [Sync Engine](./replication.md), which manages the complexities of real-world data replication for you. It automatically handles [conflict detection and resolution](./transactions-conflicts-revisions.md), maintains precise checkpoints for incremental updates, and gracefully manages transitions between offline and online states. This means you don't need to manually implement retry logic, reconcile divergent changes, or worry about data loss during connectivity drops, the Sync Engine ensures consistency and reliability in every sync cycle.
-
-## Key Features
-
-- **Two-way replication** between MongoDB and RxDB collections
-- **Offline-first support** with automatic incremental re-sync
-- **Incremental updates** via MongoDB Change Streams
-- **Conflict resolution** handled by the RxDB Sync Engine
-- **Atlas and self-hosted support** for replica sets and sharded clusters
-
-## Architecture Overview
-
-The plugin operates in a three-tier architecture: Clients connect to [RxServer](./rx-server.md), which in turn connects to MongoDB. RxServer streams changes from MongoDB to connected clients and pushes client-side updates back to MongoDB.
-
-For the client side, RxServer exposes a [replication endpoint](./rx-server.md#replication-endpoint) over WebSocket or HTTP, which your RxDB-powered applications can consume.
-
-The following diagram illustrates the flow of updates between clients, RxServer, and MongoDB in a live synchronization setup:
-
-
-
-:::note
-The MongoDB Replication Plugin is optimized for Node.js environments (e.g., when RxDB runs within RxServer or other backend services). Direct connections from browsers or mobile apps to MongoDB are not supported because MongoDB does not use HTTP as its wire protocol and requires a driver-level connection to a replica set or sharded cluster.
-:::
-
-## Setting up the Client-RxServer-MongoDB Sync
-
-
-
-### Install the Client Dependencies
-
-In your JavaScript project, install the RxDB libraries and the MongoDB node.js driver:
-
-```npm install rxdb rxdb-server mongodb --save```
-
-### Set up a MongoDB Server
-
-As first step, you need access to a running MongoDB Server. This can be done by either running a server locally or using the Atlas Cloud. Notice that we need to have a [replica set](https://www.mongodb.com/docs/manual/tutorial/deploy-replica-set/) because only on these, the MongoDB changestream can be used.
-
-
-
-### Shell
-
-If you have installed MongoDB locally, you can start the server with this command:
-
-```mongod --replSet rs0 --bind_ip_all```
-
-### Docker
-
-If you have docker installed, you can start a container that runs the MongoDB server:
-
-```docker run -p 27017:27017 -p 27018:27018 -p 27019:27019 --rm --name rxdb-mongodb mongo:8.0.4 mongod --replSet rs0 --bind_ip_all```
-
-### MongoDB Atlas
-
-Learn here how to create a MongoDB atlas account and how to start a MongoDB cluster that runs in the cloud:
-
-
-
-
-
-
-
-After this step you should have a valid connection string that points to a running MongoDB Server like `mongodb://localhost:27017/`.
-
-### Create a MongoDB Database and Collection
-
-On your MongoDB server, make sure to create a database and a collection.
-
-```ts
-//> server.ts
-
-import { MongoClient } from 'mongodb';
-const mongoClient = new MongoClient('mongodb://localhost:27017/?directConnection=true');
-const mongoDatabase = mongoClient.db('my-database');
-await mongoDatabase.createCollection('my-collection', {
- changeStreamPreAndPostImages: { enabled: true }
-});
-```
-
-:::note
-To observe document deletions on the changestream, `changeStreamPreAndPostImages` must be enabled. This is not required if you have an insert/update-only collection where no documents are deleted ever.
-:::
-
-### Create a RxDB Database and Collection
-
-Now we create an RxDB [database](./rx-database.md) and a [collection](./rx-collection.md). In this example the [memory storage](./rx-storage-memory.md), in production you would use a [persistent storage](./rx-storage.md) instead.
-
-```ts
-//> server.ts
-
-import { createRxDatabase, addRxPlugin } from 'rxdb';
-import { getRxStorageMemory } from 'rxdb/plugins/storage-memory';
-
-// Create server-side RxDB instance
-const db = await createRxDatabase({
- name: 'serverdb',
- storage: getRxStorageMemory()
-});
-
-// Add your collection schema
-await db.addCollections({
- humans: {
- schema: {
- version: 0,
- primaryKey: 'passportId',
- type: 'object',
- properties: {
- passportId: { type: 'string', maxLength: 100 },
- firstName: { type: 'string' },
- lastName: { type: 'string' }
- },
- required: ['passportId', 'firstName', 'lastName']
- }
- }
-});
-```
-
-### Sync the Collection with the MongoDB Server
-
-Now we can start a [replication](./replication.md) that does a two-way replication between the RxDB Collection and the MongoDB Collection.
-
-```ts
-//> server.ts
-
-import { replicateMongoDB } from 'rxdb/plugins/replication-mongodb';
-
-const replicationState = replicateMongoDB({
- mongodb: {
- collectionName: 'my-collection',
- connection: 'mongodb://localhost:27017',
- databaseName: 'my-database'
- },
- collection: db.humans,
- replicationIdentifier: 'humans-mongodb-sync',
- pull: { batchSize: 50 },
- push: { batchSize: 50 },
- live: true
-});
-
-```
-
-:::note You can do many things with the replication state
-The `RxMongoDBReplicationState` which is returned from `replicateMongoDB()` allows you to run all functionality of the normal [RxReplicationState](./replication.md) like observing errors or doing start/stop operations.
-:::
-
-### Start a RxServer
-
-Now that we have a RxDatabase and Collection that is replicated with MongoDB, we can spawn a [RxServer](./rx-server.md) on top of it. This server can then be used by client devices to connect.
-
-```ts
-//> server.ts
-
-import { createRxServer } from 'rxdb-server/plugins/server';
-import { RxServerAdapterExpress } from 'rxdb-server/plugins/adapter-express';
-
-const server = await createRxServer({
- database: db,
- adapter: RxServerAdapterExpress,
- port: 8080,
- cors: '*'
-});
-
-const endpoint = server.addReplicationEndpoint({
- name: 'humans',
- collection: db.humans
-});
-console.log('Replication endpoint:', `http://localhost:8080/${endpoint.urlPath}`);
-
-// do not forget to start the server!
-await server.start();
-```
-
-### Sync a Client with the RxServer
-
-On the client-side we create the exact same RxDatabase and collection and then replicate it with the replication endpoint of the RxServer.
-
-```ts
-//> client.ts
-
-import { createRxDatabase } from 'rxdb';
-import { getRxStorageDexie } from 'rxdb/plugins/storage-dexie';
-import { replicateServer } from 'rxdb-server/plugins/replication-server';
-
-const db = await createRxDatabase({
- name: 'mydb-client',
- storage: getRxStorageDexie()
-});
-
-await db.addCollections({
- humans: {
- schema: {
- version: 0,
- primaryKey: 'passportId',
- type: 'object',
- properties: {
- passportId: { type: 'string', maxLength: 100 },
- firstName: { type: 'string' },
- lastName: { type: 'string' }
- },
- required: ['passportId', 'firstName', 'lastName']
- }
- }
-});
-
-// Start replication to the RxServer endpoint printed by the server:
-// e.g. http://localhost:8080/humans/0
-const replicationState = replicateServer({
- replicationIdentifier: 'humans-rxserver',
- collection: db.humans,
- url: 'http://localhost:8080/humans/0',
- live: true,
- pull: { batchSize: 50 },
- push: { batchSize: 50 }
-});
-
-```
-
-
-
-## Follow Up
-
-- Try it out with the [RxDB-MongoDB example repository](https://github.com/pubkey/rxdb-mongodb-sync-example)
-- Read [From Local to Global: Scalable Edge Apps with RxDB + MongoDB](https://www.mongodb.com/company/blog/innovation/from-local-global-scalable-edge-apps-rxdb)
-- [Replication API Reference](./replication.md)
-- [RxServer Documentation](./rx-server.md)
-- Join our [Discord Forum](./chat) for questions and feedback
diff --git a/docs/replication-nats.html b/docs/replication-nats.html
deleted file mode 100644
index d52b947f1bd..00000000000
--- a/docs/replication-nats.html
+++ /dev/null
@@ -1,77 +0,0 @@
-
-
-
-
-
-RxDB & NATS - Realtime Sync | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
With this RxDB plugin you can run a two-way realtime replication with a NATS server.
-
The replication itself uses the RxDB Sync Engine which handles conflicts, errors and retries.
-On the client side the official NATS npm package is used to connect to the NATS server.
-
NATS is a messaging system that by itself does not have a validation or granulary access control build in.
-Therefore it is not recommended to directly replicate the NATS server with an untrusted RxDB client application. Instead you should replicated from NATS to your Node.js server side RxDB database.
To start the replication, import the replicateNats() method from the RxDB plugin and call it with the collection
-that must be replicated.
-The replication runs per RxCollection, you can replicate multiple RxCollections by starting a new replication for each of them.
import {
- replicateNats
-} from 'rxdb/plugins/replication-nats';
-
-const replicationState = replicateNats({
- collection: myRxCollection,
- replicationIdentifier: 'my-nats-replication-collection-A',
- // in NATS, each stream need a name
- streamName: 'stream-for-replication-A',
- /**
- * The subject prefix determines how the documents are stored in NATS.
- * For example the document with id 'alice'
- * will have the subject 'foobar.alice'
- */
- subjectPrefix: 'foobar',
- connection: { servers: 'localhost:4222' },
- live: true,
- pull: {
- batchSize: 30
- },
- push: {
- batchSize: 30
- }
-});
RxDB requires you to never fully delete documents. This is needed to be able to replicate the deletion state of a document to other instances. The NATS replication will set a boolean _deleted field to all documents to indicate the deletion state. You can change this by setting a different deletedField in the sync options.
-
-
\ No newline at end of file
diff --git a/docs/replication-nats.md b/docs/replication-nats.md
deleted file mode 100644
index cd709c23002..00000000000
--- a/docs/replication-nats.md
+++ /dev/null
@@ -1,72 +0,0 @@
-# RxDB & NATS - Realtime Sync
-
-> Seamlessly sync your RxDB data with NATS for real-time, two-way replication. Handle conflicts, errors, and retries with ease.
-
-import {Steps} from '@site/src/components/steps';
-
-# Replication with NATS
-
-With this RxDB plugin you can run a two-way realtime replication with a [NATS](https://nats.io/) server.
-
-The replication itself uses the [RxDB Sync Engine](./replication.md) which handles conflicts, errors and retries.
-On the client side the official [NATS npm package](https://www.npmjs.com/package/nats) is used to connect to the NATS server.
-
-NATS is a messaging system that by itself does not have a validation or granulary access control build in.
-Therefore it is not recommended to directly replicate the NATS server with an untrusted RxDB client application. Instead you should replicated from NATS to your Node.js server side RxDB database.
-
-## Precondition
-
-For the replication endpoint the NATS cluster must have enabled [JetStream](https://docs.nats.io/nats-concepts/jetstream) and store all message data as [structured JSON](https://docs.nats.io/using-nats/developer/sending/structure).
-
-The easiest way to start a compatible NATS server is to use the official docker image:
-
-```docker run --rm --name rxdb-nats -p 4222:4222 nats:2.9.17 -js```
-
-## Usage
-
-
-
-### Install the nats package
-
-```bash
-npm install nats --save
-```
-
-### Start the Replication
-
-To start the replication, import the `replicateNats()` method from the RxDB plugin and call it with the collection
-that must be replicated.
-The replication runs *per RxCollection*, you can replicate multiple RxCollections by starting a new replication for each of them.
-
-```typescript
-import {
- replicateNats
-} from 'rxdb/plugins/replication-nats';
-
-const replicationState = replicateNats({
- collection: myRxCollection,
- replicationIdentifier: 'my-nats-replication-collection-A',
- // in NATS, each stream need a name
- streamName: 'stream-for-replication-A',
- /**
- * The subject prefix determines how the documents are stored in NATS.
- * For example the document with id 'alice'
- * will have the subject 'foobar.alice'
- */
- subjectPrefix: 'foobar',
- connection: { servers: 'localhost:4222' },
- live: true,
- pull: {
- batchSize: 30
- },
- push: {
- batchSize: 30
- }
-});
-```
-
-
-
-## Handling deletes
-
-RxDB requires you to never [fully delete documents](./replication.md#data-layout-on-the-server). This is needed to be able to replicate the deletion state of a document to other instances. The NATS replication will set a boolean `_deleted` field to all documents to indicate the deletion state. You can change this by setting a different `deletedField` in the sync options.
diff --git a/docs/replication-p2p.html b/docs/replication-p2p.html
deleted file mode 100644
index 97f27a2e685..00000000000
--- a/docs/replication-p2p.html
+++ /dev/null
@@ -1,41 +0,0 @@
-
-
-
-
-
-Seamless P2P Data Sync | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
The Server Replication Plugin connects to the replication endpoint of an RxDB Server Replication Endpoint and replicates data between the client and the server.
The replication server plugin is imported from the rxdb-server npm package. Then you start the replication with a given collection and endpoint url by calling replicateServer().
-
import { replicateServer } from 'rxdb-server/plugins/replication-server';
-
-const replicationState = await replicateServer({
- collection: usersCollection,
- replicationIdentifier: 'my-server-replication',
- url: 'http://localhost:80/users/0', // endpoint url with the servers collection schema version at the end
- headers: {
- Authorization: 'Bearer S0VLU0UhI...'
- },
- push: {},
- pull: {},
- live: true
-});
When you update your schema at the server and run a migration, you end up with a different replication url that has a new schema version number at the end.
-Your clients might still be running an old version of your application that will no longer be compatible with the endpoint. Therefore when the client tries to call a server endpoint with an outdated schema version, the outdatedClient$ observable emits to tell your client that the application must be updated. With that event you can tell the client to update the application.
-On browser application you might want to just reload the page on that event:
When you clients auth data is not valid (or no longer valid), the server will no longer accept any requests from you client and inform the client that the auth headers must be updated.
-The unauthorized$ observable will emit and expects you to update the headers accordingly so that following requests will be accepted again.
When you client behaves wrong in any case, like update non-allowed values or changing documents that it is not allowed to,
-the server will drop the connection and the replication state will emit on the forbidden$ observable.
-It will also automatically stop the replication so that your client does not accidentally DOS attack the server.
-
replicationState.forbidden$.subscribe(() => {
- console.log('Client is behaving wrong');
-});
For the server send events, the eventsource npm package is used instead of the native EventSource API. We need this because the native browser API does not support sending headers with the request which is required by the server to parse the auth data.
-
If the eventsource package does not work for you, you can set an own implementation when creating the replication.
-
-
\ No newline at end of file
diff --git a/docs/replication-server.md b/docs/replication-server.md
deleted file mode 100644
index 2fe634582f5..00000000000
--- a/docs/replication-server.md
+++ /dev/null
@@ -1,78 +0,0 @@
-# RxDB Server Replication
-
-> The *Server Replication Plugin* connects to the replication endpoint of an [RxDB Server Replication Endpoint](./rx-server.md#replication-endpoint) and replicates data between the client and the server.
-
-# RxDB Server Replication
-
-The *Server Replication Plugin* connects to the replication endpoint of an [RxDB Server Replication Endpoint](./rx-server.md#replication-endpoint) and replicates data between the client and the server.
-
-## Usage
-
-The replication server plugin is imported from the `rxdb-server` npm package. Then you start the replication with a given collection and endpoint url by calling `replicateServer()`.
-
-```ts
-import { replicateServer } from 'rxdb-server/plugins/replication-server';
-
-const replicationState = await replicateServer({
- collection: usersCollection,
- replicationIdentifier: 'my-server-replication',
- url: 'http://localhost:80/users/0', // endpoint url with the servers collection schema version at the end
- headers: {
- Authorization: 'Bearer S0VLU0UhI...'
- },
- push: {},
- pull: {},
- live: true
-});
-```
-
-## outdatedClient$
-
-When you update your schema at the server and run a migration, you end up with a different replication url that has a new schema version number at the end.
-Your clients might still be running an old version of your application that will no longer be compatible with the endpoint. Therefore when the client tries to call a server endpoint with an outdated schema version, the `outdatedClient$` observable emits to tell your client that the application must be updated. With that event you can tell the client to update the application.
-On browser application you might want to just reload the page on that event:
-
-```ts
-replicationState.outdatedClient$.subscribe(() => {
- location.reload();
-});
-```
-
-## unauthorized$
-
-When you clients auth data is not valid (or no longer valid), the server will no longer accept any requests from you client and inform the client that the auth headers must be updated.
-The `unauthorized$` observable will emit and expects you to update the headers accordingly so that following requests will be accepted again.
-
-```ts
-replicationState.unauthorized$.subscribe(() => {
- replicationState.setHeaders({
- Authorization: 'Bearer S0VLU0UhI...'
- });
-});
-```
-
-## forbidden$
-
-When you client behaves wrong in any case, like update non-allowed values or changing documents that it is not allowed to,
-the server will drop the connection and the replication state will emit on the `forbidden$` observable.
-It will also automatically stop the replication so that your client does not accidentally DOS attack the server.
-
-```ts
-replicationState.forbidden$.subscribe(() => {
- console.log('Client is behaving wrong');
-});
-```
-
-## Custom EventSource implementation
-
-For the server send events, the [eventsource](https://github.com/EventSource/eventsource) npm package is used instead of the native `EventSource` API. We need this because the native browser API does not support sending headers with the request which is required by the server to parse the auth data.
-
-If the eventsource package does not work for you, you can set an own implementation when creating the replication.
-
-```ts
-const replicationState = await replicateServer({
- /* ... */
- eventSource: MyEventSourceConstructor
- /* ... */
-});
-```
diff --git a/docs/replication-supabase.html b/docs/replication-supabase.html
deleted file mode 100644
index 4146e93a9c9..00000000000
--- a/docs/replication-supabase.html
+++ /dev/null
@@ -1,264 +0,0 @@
-
-
-
-
-
-Supabase Replication Plugin for RxDB - Real-Time, Offline-First Sync | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Supabase Replication Plugin for RxDB - Real-Time, Offline-First Sync
-
-
The Supabase Replication Plugin for RxDB delivers seamless, two-way synchronization between your RxDB collections and a Supabase (Postgres) table. It uses PostgREST for pull/push and Supabase Realtime (logical replication) to stream live updates, so your data stays consistent across devices with first-class local-first, offline-ready support.
-
Under the hood, the plugin is powered by the RxDB Sync Engine. It handles checkpointed incremental pulls, robust retry logic, and conflict detection/resolution for you. You focus on features—RxDB takes care of sync.
Clients connect directly to Supabase using the official JS client. The plugin:
-
-
Pulls documents over PostgREST using a checkpoint (modified, id) and deterministic ordering.
-
Pushes inserts/updates using optimistic concurrency guards.
-
Streams new changes using Supabase Realtime so live replication stays up to date.
-
-
note
Because Supabase exposes Postgres over HTTP/WebSocket, you can safely replicate from browsers and mobile apps. Protect your data with Row Level Security (RLS) policies; use the anon key on clients and the service role key only on trusted servers.
In your supabase project, create a new table. Ensure that:
-
The primary key must have the type text (Primary keys must always be strings in RxDB)
-
You have an modified field which stores the last modification timestamp of a row (default is _modified)
-
You have a boolean field which stores if a row should is "deleted". You should not hard-delete rows in Supabase, because clients would miss the deletion if they haven't been online at the deletion time. Instead, use a deleted boolean to mark rows as deleted. This way all clients can still pull the deletion, and RxDB will hide the complexity on the client side.
-
Enable the realtime observation of writes to the table.
-
Here is an example for a "human" table:
create extension if not exists moddatetime schema extensions;
-
-create table "public"."humans" (
- "passportId" text primary key,
- "firstName" text not null,
- "lastName" text not null,
- "age" integer,
-
- "_deleted" boolean DEFAULT false NOT NULL,
- "_modified" timestamp with time zone DEFAULT now() NOT NULL
-);
-
--- auto-update the _modified timestamp
-CREATE TRIGGER update_modified_datetime BEFORE UPDATE ON public.humans FOR EACH ROW
-EXECUTE FUNCTION extensions.moddatetime('_modified');
-
--- add a table to the publication so we can subscribe to changes
-alter publication supabase_realtime add table "public"."humans";
Create a normal RxDB database, then add a collection whose schema mirrors your Supabase table. The primary key must match (same column name and type), and fields should be top-level simple types (string/number/boolean). You don’t need to model server internals: the plugin maps the server’s _deleted flag to doc._deleted automatically, and _modified is optional in your schema (the plugin strips it on push and will include it on pull only if you define it). For browsers use a persistent storage like Localstorage or IndexedDB. For tests you can use the in-memory storage.
Make a single Supabase client and reuse it across your app. In the browser, use the anon key (RLS-protected). On trusted servers you may use the service role key—but never ship that to clients.
Connect your RxDB collection to the Supabase table to start the replication.
//> client
-
-import { replicateSupabase } from 'rxdb/plugins/replication-supabase';
-
-const replication = replicateSupabase({
- tableName: 'humans',
- client: supabase,
- collection: db.humans,
- replicationIdentifier: 'humans-supabase',
- live: true,
- pull: {
- batchSize: 50,
- // optional: shape incoming docs
- modifier: (doc) => {
- // map nullable age-field
- if (!doc.age) delete doc.age;
- return doc;
- }
- // optional: customize the pull query before fetching
- queryBuilder: ({ query }) => {
- // Add filters, joins, or other PostgREST query modifiers
- // This runs before checkpoint filtering and ordering
- return query.eq("status", "active");
- },
- },
- push: {
- batchSize: 50
- },
- // optional overrides if your column names differ:
- // modifiedField: '_modified',
- // deletedField: '_deleted'
-});
-
-// (optional) observe errors and wait for the first sync barrier
-replication.error$.subscribe(err => console.error('[replication]', err));
-await replication.awaitInitialReplication();
Nullable values must be mapped
Supabase returns null for nullable columns, but in RxDB you often model those fields as optional (i.e., they can be undefined/missing). To avoid schema errors, map null → undefined in the pull.modifier (usually by deleting the key).
-
-
\ No newline at end of file
diff --git a/docs/replication-supabase.md b/docs/replication-supabase.md
deleted file mode 100644
index ee4ed0eb41a..00000000000
--- a/docs/replication-supabase.md
+++ /dev/null
@@ -1,227 +0,0 @@
-# Supabase Replication Plugin for RxDB - Real-Time, Offline-First Sync
-
-> Build real-time, offline-capable apps with RxDB + Supabase. Push/pull changes via PostgREST, stream updates with Realtime, and keep data in sync across devices.
-
-import {Tabs} from '@site/src/components/tabs';
-import {Steps} from '@site/src/components/steps';
-import {VideoBox} from '@site/src/components/video-box';
-import {RxdbMongoDiagramPlain} from '@site/src/components/mongodb-sync';
-
-# Supabase Replication Plugin for RxDB - Real-Time, Offline-First Sync
-
-
-
-The **Supabase Replication Plugin** for RxDB delivers seamless, two-way synchronization between your RxDB collections and a Supabase (Postgres) table. It uses **PostgREST** for pull/push and **Supabase Realtime** (logical replication) to stream live updates, so your data stays consistent across devices with first-class [local-first](./articles/local-first-future.md), offline-ready support.
-
-Under the hood, the plugin is powered by the RxDB [Sync Engine](./replication.md). It handles checkpointed incremental pulls, robust retry logic, and [conflict detection/resolution](./transactions-conflicts-revisions.md) for you. You focus on features—RxDB takes care of sync.
-
-
-
-
-
-## Key Features of the RxDB-Supabase Plugin
-
-- **Cloud Only Backend**: No self-hosted server required. Client devices directly sync with the Supabase Servers.
-- **Two-way replication** between Supabase tables and RxDB [collections](./rx-collection.md)
-- **Offline-first** with resumable, incremental sync
-- **Live updates** via Supabase Realtime channels
-- **Conflict resolution** handled by the [RxDB Sync Engine](./replication.md)
-- **Works in browsers and Node.js** with `@supabase/supabase-js`
-
-## Architecture Overview
-
-
-
-Clients connect **directly to Supabase** using the official JS client. The plugin:
-
-- **Pulls** documents over PostgREST using a checkpoint `(modified, id)` and deterministic ordering.
-- **Pushes** inserts/updates using optimistic concurrency guards.
-- **Streams** new changes using Supabase Realtime so live replication stays up to date.
-
-:::note
-Because Supabase exposes Postgres over **HTTP/WebSocket**, you can safely replicate from browsers and mobile apps. Protect your data with **Row Level Security (RLS)** policies; use the **anon** key on clients and the **service role** key only on trusted servers.
-:::
-
-## Setting up RxDB ↔ Supabase Sync
-
-
-
-### Install Dependencies
-
-```bash
-npm install rxdb @supabase/supabase-js
-```
-
-### Create a Supabase Project & Table
-
-In your supabase project, create a new table. Ensure that:
-- The primary key must have the type text (Primary keys must always be strings in RxDB)
-- You have an modified field which stores the last modification timestamp of a row (default is `_modified`)
-- You have a boolean field which stores if a row should is "deleted". You should not hard-delete rows in Supabase, because clients would miss the deletion if they haven't been online at the deletion time. Instead, use a deleted `boolean` to mark rows as deleted. This way all clients can still pull the deletion, and RxDB will hide the complexity on the client side.
-- Enable the realtime observation of writes to the table.
-
-Here is an example for a "human" table:
-
-```sql
-create extension if not exists moddatetime schema extensions;
-
-create table "public"."humans" (
- "passportId" text primary key,
- "firstName" text not null,
- "lastName" text not null,
- "age" integer,
-
- "_deleted" boolean DEFAULT false NOT NULL,
- "_modified" timestamp with time zone DEFAULT now() NOT NULL
-);
-
--- auto-update the _modified timestamp
-CREATE TRIGGER update_modified_datetime BEFORE UPDATE ON public.humans FOR EACH ROW
-EXECUTE FUNCTION extensions.moddatetime('_modified');
-
--- add a table to the publication so we can subscribe to changes
-alter publication supabase_realtime add table "public"."humans";
-```
-
-### Create an RxDB Database & Collection
-
-Create a normal RxDB database, then add a collection whose **schema mirrors your Supabase table**. The **primary key must match** (same column name and type), and fields should be **top-level simple types** (string/number/boolean). You don’t need to model server internals: the plugin maps the server’s \_deleted flag to doc.\_deleted automatically, and \_modified is optional in your schema (the plugin strips it on push and will include it on pull only if you define it). For browsers use a persistent storage like Localstorage or IndexedDB. For tests you can use the [in-memory storage](./rx-storage-memory.md).
-
-```ts
-// client
-import { createRxDatabase } from 'rxdb/plugins/core';
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-
-export const db = await createRxDatabase({
- name: 'mydb',
- storage: getRxStorageLocalstorage()
-});
-
-await db.addCollections({
- humans: {
- schema: {
- version: 0,
- primaryKey: 'passportId',
- type: 'object',
- properties: {
- passportId: { type: 'string', maxLength: 100 },
- firstName: { type: 'string' },
- lastName: { type: 'string' },
- age: { type: 'number' }
- },
- required: ['passportId', 'firstName', 'lastName']
- }
- }
-});
-```
-
-### Create the Supabase Client
-
-Make a single Supabase client and reuse it across your app. In the browser, use the anon key (RLS-protected). On trusted servers you may use the service role key—but never ship that to clients.
-
-
-
-#### Production
-
-```ts
-//> client
-
-import { createClient } from '@supabase/supabase-js';
-
-export const supabase = createClient(
- 'https://xyzcompany.supabase.co',
- 'eyJhbGciOi...'
-);
-```
-
-#### Vite
-
-```ts
-//> client
-
-import { createClient } from '@supabase/supabase-js';
-
-export const supabase = createClient(
- import.meta.env.VITE_SUPABASE_URL!, // e.g. https://xyzcompany.supabase.co
- import.meta.env.VITE_SUPABASE_ANON_KEY! // anon key for browsers
- // optional options object here
-);
-```
-
-#### Local Development
-
-```ts
-//> client
-
-import { createClient } from '@supabase/supabase-js';
-
-export const supabase = createClient(
- 'http://127.0.0.1:54321',
- 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...'
-);
-```
-
-
-
-### Start Replication
-
-Connect your RxDB collection to the Supabase table to start the replication.
-
-```ts
-//> client
-
-import { replicateSupabase } from 'rxdb/plugins/replication-supabase';
-
-const replication = replicateSupabase({
- tableName: 'humans',
- client: supabase,
- collection: db.humans,
- replicationIdentifier: 'humans-supabase',
- live: true,
- pull: {
- batchSize: 50,
- // optional: shape incoming docs
- modifier: (doc) => {
- // map nullable age-field
- if (!doc.age) delete doc.age;
- return doc;
- }
- // optional: customize the pull query before fetching
- queryBuilder: ({ query }) => {
- // Add filters, joins, or other PostgREST query modifiers
- // This runs before checkpoint filtering and ordering
- return query.eq("status", "active");
- },
- },
- push: {
- batchSize: 50
- },
- // optional overrides if your column names differ:
- // modifiedField: '_modified',
- // deletedField: '_deleted'
-});
-
-// (optional) observe errors and wait for the first sync barrier
-replication.error$.subscribe(err => console.error('[replication]', err));
-await replication.awaitInitialReplication();
-```
-
-:::note Nullable values must be mapped
-Supabase returns `null` for nullable columns, but in RxDB you often model those fields as optional (i.e., they can be undefined/missing). To avoid schema errors, map `null` → `undefined` in the `pull.modifier` (usually by deleting the key).
-:::
-
-### Do other things with the replication state
-
-The `RxSupabaseReplicationState` which is returned from `replicateSupabase()` allows you to run all functionality of the normal [RxReplicationState](./replication.md).
-
-
-
-## Follow Up
-
-- **Replication API Reference:** Learn the core concepts and lifecycle hooks — [Replication](./replication.md)
-- **Offline-First Guide:** Caching, retries, and conflict strategies — [Local-First](./articles/local-first-future.md)
-- **Supabase Essentials:**
- - Row Level Security (RLS) — https://supabase.com/docs/guides/auth/row-level-security
- - Realtime — https://supabase.com/docs/guides/realtime
- - Local dev with the Supabase CLI — https://supabase.com/docs/guides/cli
-- **Community:** Questions or feedback? Join our Discord — [Chat](./chat)
diff --git a/docs/replication-webrtc.html b/docs/replication-webrtc.html
deleted file mode 100644
index bbfe8b70682..00000000000
--- a/docs/replication-webrtc.html
+++ /dev/null
@@ -1,212 +0,0 @@
-
-
-
-
-
-WebRTC P2P Replication with RxDB - Sync Browsers and Devices | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
P2P WebRTC Replication with RxDB - Sync Data between Browsers and Devices in JavaScript
-
WebRTC P2P data connections are revolutionizing real-time web and mobile development by eliminating central servers in scenarios where clients can communicate directly. With the RxDBSync Engine, you can sync your local database state across multiple browsers or devices via WebRTC P2P (Peer-to-Peer) connections, ensuring scalable, secure, and low-latency data flows without traditional server bottlenecks.
WebRTC stands for Web Real-Time Communication. It is an open standard that enables browsers and native apps to exchange audio, video, or arbitrary data directly between peers, bypassing a central server after the initial connection is established. WebRTC uses NAT traversal techniques like ICE (Interactive Connectivity Establishment) to punch through firewalls and establish direct links. This peer-to-peer nature drastically reduces latency while maintaining high security and end-to-end encryption capabilities.
-
For a deeper look at comparing WebRTC with WebSockets and WebTransport, you can read our comprehensive overview. While WebSockets or WebTransport often work in client-server contexts, WebRTC offers direct peer-to-peer connections ideal for fully decentralized data flows.
-
-
Benefits of P2P Sync with WebRTC Compared to Client-Server Architecture
-
-
Reduced Latency - By skipping a central server hop, data travels directly from one client to another, minimizing round-trip times and improving responsiveness.
-
Scalability - New peers can join without overloading a central infrastructure. The sync overhead increases linearly with the number of connections rather than requiring a massive server cluster.
-
Privacy & Ownership - Data stays within the user’s devices, avoiding risks tied to storing data on third-party servers. This design aligns well with local-first or "zero-latency" apps.
-
Resilience - In some scenarios, if the central server is unreachable, P2P connections remain operational (assuming a functioning signaling path). Apps can still replicate data among local networks like when they are in the same Wifi or LAN.
-
Cost Savings - Reducing the reliance on a high-bandwidth server can cut hosting and bandwidth expenses, particularly in high-traffic or IoT-style use cases.
-
-
-
Peer-to-Peer (P2P) WebRTC Replication with the RxDB JavaScript Database
-
Traditionally, real-time data synchronization depends on centralized servers to manage and distribute updates. In contrast, RxDB’s WebRTC P2P replication allows data to flow directly among clients, removing the server as a data store. This approach is live and fully decentralized, requiring only a signaling server for initial discovery:
-
-
No master-slave concept - each peer hosts its own local RxDB.
-
Clients (browsers, devices) connect to each other via WebRTC data channels.
Because RxDB is a NoSQL database and the replication protocol is straightforward, setting up robust P2P sync is far easier than orchestrating a complex client-server database architecture.
Here we create a database with the localstorage based storage that stores data inside of the LocalStorage API in a browser. RxDB has a wide range of storages for other JavaScript runtimes.
To start the replication you have to call replicateWebRTC on the collection.
As options you have to provide a topic and a connection handler function that implements the P2PConnectionHandlerCreator interface. As default you should start with the getConnectionHandlerSimplePeer method which uses the simple-peer library and comes shipped with RxDB.
const replicationPool = await replicateWebRTC(
- {
- // Start the replication for a single collection
- collection: db.todos,
-
- // The topic is like a 'room-name'. All clients with the same topic
- // will replicate with each other. In most cases you want to use
- // a different topic string per user. Also you should prefix the topic with
- // a unique identifier for your app, to ensure you do not let your users connect
- // with other apps that also use the RxDB P2P Replication.
- topic: 'my-users-pool',
- /**
- * You need a collection handler to be able to create WebRTC connections.
- * Here we use the simple peer handler which uses the 'simple-peer' npm library.
- * To learn how to create a custom connection handler, read the source code,
- * it is pretty simple.
- */
- connectionHandlerCreator: getConnectionHandlerSimplePeer({
- // Set the signaling server url.
- // You can use the server provided by RxDB for tryouts,
- // but in production you should use your own server instead.
- signalingServerUrl: 'wss://signaling.rxdb.info/',
-
- // only in Node.js, we need the wrtc library
- // because Node.js does not contain the WebRTC API.
- wrtc: require('node-datachannel/polyfill'),
-
- // only in Node.js, we need the WebSocket library
- // because Node.js does not contain the WebSocket API.
- webSocketConstructor: require('ws').WebSocket
- }),
- pull: {},
- push: {}
- }
-);
Notice that in difference to the other replication plugins, the WebRTC replication returns a replicationPool instead of a single RxReplicationState. The replicationPool contains all replication states of the connected peers in the P2P network.
The WebRTC replication is always live because there can not be a one-time sync when it is always possible to have new Peers that join the connection pool. Therefore you cannot set the live: false option like in the other replication plugins.
For P2P replication to work with the RxDB WebRTC Replication Plugin, a signaling server is required. The signaling server helps peers discover each other and establish connections.
-
RxDB ships with a default signaling server that can be used with the simple-peer connection handler. This server is made for demonstration purposes and tryouts. It is not reliable and might be offline at any time.
-In production you must always use your own signaling server instead!
-
Creating a basic signaling server is straightforward. The provided example uses 'socket.io' for WebSocket communication. However, in production, you'd want to create a more robust signaling server with authentication and additional logic to suit your application's needs.
-
Here is a quick example implementation of a signaling server that can be used with the connection handler from getConnectionHandlerSimplePeer():
-
import {
- startSignalingServerSimplePeer
-} from 'rxdb/plugins/replication-webrtc';
-
-const serverState = await startSignalingServerSimplePeer({
- port: 8080 // <- port
-});
By default the replication will replicate with every peer the signaling server tells them about.
-You can prevent invalid peers from replication by passing a custom isPeerValid() function that either returns true on valid peers and false on invalid peers.
RxDB's conflict handling works by detecting and resolving conflicts that may arise when multiple clients in a decentralized database system attempt to modify the same data concurrently.
-A custom conflict handler can be set up, which is a plain JavaScript function. The conflict handler is run on each replicated document write and resolves the conflict if required. Find out more about RxDB conflict handling here
While all modern browsers support the WebRTC and WebSocket APIs, they is missing in Node.js which will throw the error No WebRTC support: Specify opts.wrtc option in this environment. Therefore you have to polyfill it with a compatible WebRTC and WebSocket polyfill. It is recommended to use the node-datachannel package for WebRTC which does not come with RxDB but has to be installed before via npm install node-datachannel --save.
-For the Websocket API use the ws package that is included into RxDB.
Storing replicated data encrypted on client device
-
Storing replicated data encrypted on client devices using the RxDB Encryption Plugin is a pivotal step towards bolstering data security and user privacy.
-The WebRTC replication plugin seamlessly integrates with the RxDB encryption plugins, providing a robust solution for encrypting sensitive information before it's stored locally. By doing so, it ensures that even if unauthorized access to the device occurs, the data remains protected and unintelligible without the encryption key (or password). This approach is particularly vital in scenarios where user-generated content or confidential data is replicated across devices, as it empowers users with control over their own data while adhering to stringent security standards. Read more about the encryption plugins here.
-
-
\ No newline at end of file
diff --git a/docs/replication-webrtc.md b/docs/replication-webrtc.md
deleted file mode 100644
index 8d90bb07cd9..00000000000
--- a/docs/replication-webrtc.md
+++ /dev/null
@@ -1,284 +0,0 @@
-# WebRTC P2P Replication with RxDB - Sync Browsers and Devices
-
-> Learn to set up peer-to-peer WebRTC replication with RxDB. Bypass central servers and enjoy secure, low-latency data sync across all clients.
-
-import {Steps} from '@site/src/components/steps';
-
-# P2P WebRTC Replication with RxDB - Sync Data between Browsers and Devices in JavaScript
-
-WebRTC P2P data connections are revolutionizing real-time web and mobile development by **eliminating central servers** in scenarios where clients can communicate directly. With the **RxDB** [Sync Engine](./replication.md), you can sync your local database state across multiple browsers or devices via **WebRTC P2P (Peer-to-Peer)** connections, ensuring scalable, secure, and **low-latency** data flows without traditional server bottlenecks.
-
-## What is WebRTC?
-
-[WebRTC](https://developer.mozilla.org/en-US/docs/Web/API/WebRTC_API) stands for Web [Real-Time](./articles/realtime-database.md) Communication. It is an open standard that enables browsers and native apps to exchange audio, video, or **arbitrary data** directly between peers, bypassing a central server after the initial connection is established. WebRTC uses NAT traversal techniques like [ICE](https://developer.liveswitch.io/liveswitch-server/guides/what-are-stun-turn-and-ice.html) (Interactive Connectivity Establishment) to punch through firewalls and establish direct links. This peer-to-peer nature drastically reduces latency while maintaining **high security** and **end-to-end encryption** capabilities.
-
-For a deeper look at comparing WebRTC with **WebSockets** and **WebTransport**, you can read our [comprehensive overview](./articles/websockets-sse-polling-webrtc-webtransport.md). While WebSockets or WebTransport often work in client-server contexts, WebRTC offers direct peer-to-peer connections ideal for fully decentralized data flows.
-
-
-
-
-
-
-
-## Benefits of P2P Sync with WebRTC Compared to Client-Server Architecture
-
-1. **Reduced Latency** - By skipping a central server hop, data travels directly from one client to another, minimizing round-trip times and improving responsiveness.
-2. **Scalability** - New peers can join without overloading a central infrastructure. The sync overhead increases linearly with the number of connections rather than requiring a massive server cluster.
-3. **Privacy & Ownership** - Data stays within the user’s devices, avoiding risks tied to storing data on third-party servers. This design aligns well with [local-first](./articles/local-first-future.md) or "[zero-latency](./articles/zero-latency-local-first.md)" apps.
-4. **Resilience** - In some scenarios, if the central server is unreachable, P2P connections remain operational (assuming a functioning signaling path). Apps can still replicate data among local networks like when they are in the same Wifi or LAN.
-5. **Cost Savings** - Reducing the reliance on a high-bandwidth server can cut hosting and bandwidth expenses, particularly in high-traffic or IoT-style use cases.
-
-
-
-
-
-
-
-## Peer-to-Peer (P2P) WebRTC Replication with the RxDB JavaScript Database
-
-Traditionally, real-time data synchronization depends on **centralized servers** to manage and distribute updates. In contrast, RxDB’s WebRTC P2P replication allows data to flow **directly** among clients, removing the server as a data store. This approach is **live** and **fully decentralized**, requiring only a [signaling server](#signaling-server) for initial discovery:
-
-- **No master-slave** concept - each peer hosts its own local RxDB.
-- Clients ([browsers](./articles/browser-database.md), devices) connect to each other via WebRTC data channels.
-- The [RxDB replication protocol](./replication.md) then handles pushing/pulling document changes across peers.
-
-Because RxDB is a NoSQL database and the replication protocol is straightforward, setting up robust P2P sync is far **easier** than orchestrating a complex client-server database architecture.
-
-## Using RxDB with the WebRTC Replication Plugin
-
-Before you use this plugin, make sure that you understand how [WebRTC works](https://developer.mozilla.org/en-US/docs/Web/API/WebRTC_API). Here we build a todo-app that replicates todo-entries between clients:
-
-
-
-
-
-
-
-You can find a fully build example of this at the [RxDB Quickstart Repository](https://github.com/pubkey/rxdb-quickstart) which you can also [try out online](https://pubkey.github.io/rxdb-quickstart/).
-
-Four you create the [database](./rx-database.md) and then you can configure the replication:
-
-
-
-### Create the Database and Collection
-
-Here we create a database with the [localstorage](./rx-storage-localstorage.md) based storage that stores data inside of the [LocalStorage API](./articles/localstorage.md) in a browser. RxDB has a wide [range of storages](./rx-storage.md) for other JavaScript runtimes.
-
-```ts
-import { createRxDatabase } from 'rxdb/plugins/core';
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-const db = await createRxDatabase({
- name: 'myTodoDB',
- storage: getRxStorageLocalstorage()
-});
-
-await db.addCollections({
- todos: {
- schema: {
- title: 'todo schema',
- version: 0,
- type: 'object',
- primaryKey: 'id',
- properties: {
- id: { type: 'string', maxLength: 100 },
- title: { type: 'string' },
- done: { type: 'boolean', default: false },
- created: { type: 'string', format: 'date-time' }
- },
- required: ['id', 'title', 'done']
- }
- }
-});
-
-// insert an example document
-await db.todos.insert({
- id: 'todo-1',
- title: 'P2P demo task',
- done: false,
- created: new Date().toISOString()
-});
-```
-
-### Import the WebRTC replication plugin
-
-```ts
-import {
- replicateWebRTC,
- getConnectionHandlerSimplePeer
-} from 'rxdb/plugins/replication-webrtc';
-```
-
-### Start the P2P replication
-
-To start the replication you have to call `replicateWebRTC` on the [collection](./rx-collection.md).
-
-As options you have to provide a `topic` and a connection handler function that implements the `P2PConnectionHandlerCreator` interface. As default you should start with the `getConnectionHandlerSimplePeer` method which uses the [simple-peer](https://github.com/feross/simple-peer) library and comes shipped with RxDB.
-
-```ts
-const replicationPool = await replicateWebRTC(
- {
- // Start the replication for a single collection
- collection: db.todos,
-
- // The topic is like a 'room-name'. All clients with the same topic
- // will replicate with each other. In most cases you want to use
- // a different topic string per user. Also you should prefix the topic with
- // a unique identifier for your app, to ensure you do not let your users connect
- // with other apps that also use the RxDB P2P Replication.
- topic: 'my-users-pool',
- /**
- * You need a collection handler to be able to create WebRTC connections.
- * Here we use the simple peer handler which uses the 'simple-peer' npm library.
- * To learn how to create a custom connection handler, read the source code,
- * it is pretty simple.
- */
- connectionHandlerCreator: getConnectionHandlerSimplePeer({
- // Set the signaling server url.
- // You can use the server provided by RxDB for tryouts,
- // but in production you should use your own server instead.
- signalingServerUrl: 'wss://signaling.rxdb.info/',
-
- // only in Node.js, we need the wrtc library
- // because Node.js does not contain the WebRTC API.
- wrtc: require('node-datachannel/polyfill'),
-
- // only in Node.js, we need the WebSocket library
- // because Node.js does not contain the WebSocket API.
- webSocketConstructor: require('ws').WebSocket
- }),
- pull: {},
- push: {}
- }
-);
-```
-
-Notice that in difference to the other [replication plugins](./replication.md), the WebRTC replication returns a `replicationPool` instead of a single `RxReplicationState`. The `replicationPool` contains all replication states of the connected peers in the P2P network.
-
-### Observe Errors
-
-To ensure we log out potential errors, observe the `error$` observable of the pool.
-
-```ts
-replicationPool.error$.subscribe(err => console.error('WebRTC Error:', err));
-```
-
-### Stop the Replication
-
-You can also dynamically stop the replication.
-```ts
-replicationPool.cancel();
-```
-
-
-## Live replications
-
-The WebRTC replication is **always live** because there can not be a one-time sync when it is always possible to have new Peers that join the connection pool. Therefore you cannot set the `live: false` option like in the other replication plugins.
-
-## Signaling Server
-
-For P2P replication to work with the RxDB WebRTC Replication Plugin, a [signaling server](https://developer.mozilla.org/en-US/docs/Web/API/WebRTC_API/Signaling_and_video_calling) is required. The signaling server helps peers discover each other and establish connections.
-
-RxDB ships with a default signaling server that can be used with the simple-peer connection handler. This server is made for demonstration purposes and tryouts. It is not reliable and might be offline at any time.
-In production you must always use your own signaling server instead!
-
-Creating a basic signaling server is straightforward. The provided example uses 'socket.io' for WebSocket communication. However, in production, you'd want to create a more robust signaling server with authentication and additional logic to suit your application's needs.
-
-Here is a quick example implementation of a signaling server that can be used with the connection handler from `getConnectionHandlerSimplePeer()`:
-
-```ts
-import {
- startSignalingServerSimplePeer
-} from 'rxdb/plugins/replication-webrtc';
-
-const serverState = await startSignalingServerSimplePeer({
- port: 8080 // <- port
-});
-```
-
-For custom signaling servers with more complex logic, you can check the [source code of the default one](https://github.com/pubkey/rxdb/blob/master/src/plugins/replication-webrtc/signaling-server.ts).
-
-## Peer Validation
-
-By default the replication will replicate with every peer the signaling server tells them about.
-You can prevent invalid peers from replication by passing a custom `isPeerValid()` function that either returns `true` on valid peers and `false` on invalid peers.
-
-```ts
-const replicationPool = await replicateWebRTC(
- {
- /* ... */
- isPeerValid: async (peer) => {
- return true;
- }
- pull: {},
- push: {}
- /* ... */
- }
-);
-```
-
-## Conflict detection in WebRTC replication
-
-RxDB's conflict handling works by detecting and resolving conflicts that may arise when multiple clients in a decentralized database system attempt to modify the same data concurrently.
-A **custom conflict handler** can be set up, which is a plain JavaScript function. The conflict handler is run on each replicated document write and resolves the conflict if required. [Find out more about RxDB conflict handling here](https://rxdb.info/transactions-conflicts-revisions.html)
-
-## Known problems
-
-### SimplePeer requires to have `process.nextTick()`
-
-In the browser you might not have a process variable or process.nextTick() method. But the [simple peer](https://github.com/feross/simple-peer) uses that so you have to polyfill it.
-
-In webpack you can use the `process/browser` package to polyfill it:
-
-```js
-const plugins = [
- /* ... */
- new webpack.ProvidePlugin({
- process: 'process/browser',
- })
- /* ... */
-];
-```
-
-In angular or other libraries you can add the polyfill manually:
-
-```js
-window.process = {
- nextTick: (fn, ...args) => setTimeout(() => fn(...args)),
-};
-
-```
-
-### Polyfill the WebSocket and WebRTC API in Node.js
-
-While all modern browsers support the WebRTC and WebSocket APIs, they is missing in Node.js which will throw the error `No WebRTC support: Specify opts.wrtc option in this environment`. Therefore you have to polyfill it with a compatible WebRTC and WebSocket polyfill. It is recommended to use the [node-datachannel package](https://github.com/murat-dogan/node-datachannel/tree/master/src/polyfill) for WebRTC which **does not** come with RxDB but has to be installed before via `npm install node-datachannel --save`.
-For the Websocket API use the `ws` package that is included into RxDB.
-
-```ts
-import nodeDatachannelPolyfill from 'node-datachannel/polyfill';
-import { WebSocket } from 'ws';
-const replicationPool = await replicateWebRTC(
- {
- /* ... */
- connectionHandlerCreator: getConnectionHandlerSimplePeer({
- signalingServerUrl: 'wss://example.com:8080',
- wrtc: nodeDatachannelPolyfill,
- webSocketConstructor: WebSocket
- }),
- pull: {},
- push: {}
- /* ... */
- }
-);
-```
-
-## Storing replicated data encrypted on client device
-
-Storing replicated data encrypted on client devices using the RxDB Encryption Plugin is a pivotal step towards bolstering **data security** and **user privacy**.
-The WebRTC replication plugin seamlessly integrates with the [RxDB encryption plugins](./encryption.md), providing a robust solution for encrypting sensitive information before it's stored locally. By doing so, it ensures that even if unauthorized access to the device occurs, the data remains protected and unintelligible without the encryption key (or password). This approach is particularly vital in scenarios where user-generated content or confidential data is replicated across devices, as it empowers users with control over their own data while adhering to stringent security standards. [Read more about the encryption plugins here](./encryption.md).
-
-## Follow Up
-
-- **Check out the [RxDB Quickstart](./quickstart.md)** to see how to set up your first RxDB database.
-- **Explore advanced features** like [Custom Conflict Handling](./transactions-conflicts-revisions.md) or [Offline-First Performance](./rx-storage-performance.md).
-- **Try an example** at [RxDB Quickstart GitHub](https://github.com/pubkey/rxdb-quickstart) to see a working P2P Sync setup.
-- **Join the RxDB Community** on [GitHub](/code/) or [Discord](/chat/) if you have questions or want to share your P2P WebRTC experiences.
diff --git a/docs/replication-websocket.html b/docs/replication-websocket.html
deleted file mode 100644
index a5d4e5de18a..00000000000
--- a/docs/replication-websocket.html
+++ /dev/null
@@ -1,81 +0,0 @@
-
-
-
-
-
-Websocket Replication | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
With the websocket replication plugin, you can spawn a websocket server from a RxDB database in Node.js and replicate with it.
-
note
The websocket replication plugin does not have any concept for authentication or permission handling. It is designed to create an easy server-to-server replication. It is not made for client-server replication. Make a pull request if you need that feature.
The replication has to be started once for each collection that you want to replicate.
-
import {
- replicateWithWebsocketServer
-} from 'rxdb/plugins/replication-websocket';
-
-// start the replication
-const replicationState = await replicateWithWebsocketServer({
- /**
- * To make the replication work,
- * the client collection name must be equal
- * to the server collection name.
- */
- collection: myRxCollection,
- url: 'ws://localhost:1337/socket'
-});
-
-// stop the replication
-await replicationState.cancel();
We use the ws npm library, so you can use all optional configuration provided by it.
-This is especially important to improve performance by opting in of some optional settings.
-
-
\ No newline at end of file
diff --git a/docs/replication-websocket.md b/docs/replication-websocket.md
deleted file mode 100644
index 3f7e3bb0e85..00000000000
--- a/docs/replication-websocket.md
+++ /dev/null
@@ -1,62 +0,0 @@
-# Websocket Replication
-
-> With the websocket replication plugin, you can spawn a websocket server from a RxDB database in Node.js and replicate with it.
-
-# Websocket Replication
-
-With the websocket replication plugin, you can spawn a websocket server from a RxDB database in Node.js and replicate with it.
-
-:::note
-The websocket replication plugin does not have any concept for authentication or permission handling. It is designed to create an easy **server-to-server** replication. It is **not** made for client-server replication. Make a pull request if you need that feature.
-:::
-
-## Starting the Websocket Server
-
-```ts
-import { createRxDatabase } from 'rxdb';
-import {
- startWebsocketServer
-} from 'rxdb/plugins/replication-websocket';
-
-// create a RxDatabase like normal
-const myDatabase = await createRxDatabase({/* ... */});
-
-// start a websocket server
-const serverState = await startWebsocketServer({
- database: myDatabase,
- port: 1337,
- path: '/socket'
-});
-
-// stop the server
-await serverState.close();
-```
-
-## Connect to the Websocket Server
-
-The replication has to be started once for each collection that you want to replicate.
-
-```ts
-import {
- replicateWithWebsocketServer
-} from 'rxdb/plugins/replication-websocket';
-
-// start the replication
-const replicationState = await replicateWithWebsocketServer({
- /**
- * To make the replication work,
- * the client collection name must be equal
- * to the server collection name.
- */
- collection: myRxCollection,
- url: 'ws://localhost:1337/socket'
-});
-
-// stop the replication
-await replicationState.cancel();
-```
-
-## Customize
-
-We use the [ws](https://www.npmjs.com/package/ws) npm library, so you can use all optional configuration provided by it.
-This is especially important to improve performance by opting in of some optional settings.
diff --git a/docs/replication.html b/docs/replication.html
deleted file mode 100644
index a73cb684090..00000000000
--- a/docs/replication.html
+++ /dev/null
@@ -1,559 +0,0 @@
-
-
-
-
-
-⚙️ RxDB realtime Sync Engine for Local-First Apps | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
The RxDB Sync Engine provides the ability to sync the database state in realtime between the clients and the server.
-
The backend server does not have to be a RxDB instance; you can build a replication with any infrastructure.
-For example you can replicate with a custom GraphQL endpoint or a HTTP server on top of a PostgreSQL or MongoDB database.
-
The replication is made to support the Local-First paradigm, so that when the client goes offline, the RxDB database can still read and write locally and will continue the replication when the client goes online again.
In contrast to other (server-side) database replication protocols, the RxDB Sync Engine was designed with these goals in mind:
-
-
Easy to Understand: The sync engine works in a simple "git-like" way that is easy to understand for an average developer. You only have to understand how three simple endpoints work.
-
Complex Parts are in RxDB, not in the Backend: The complex parts of the Sync Engine, like conflict handling or offline-online switches, are implemented inside of RxDB itself. This makes creating a compatible backend very easy.
-
Compatible with any Backend: Because the complex parts are in RxDB, the backend can be "dump" which makes the protocol compatible to almost every backend. No matter if you use PostgreSQL, MongoDB or anything else.
-
Performance is optimized for Client Devices and Browsers: By grouping updates and fetches into batches, it is faster to transfer and easier to compress. Client devices and browsers can also process this data faster, for example running JSON.parse() on a chunk of data is faster than calling it once per row. Same goes for how client side storage like IndexedDB or OPFS works where writing data in bulks is faster.
-
Offline-First Support: By incorporating conflict handling at the client side, the protocol fully supports offline-first apps. Users can continue making changes while offline, and those updates will sync seamlessly once a connection is reestablished - all without risking data loss or having undefined behavior.
-
Multi-Tab Support: When RxDB is used in a browser and multiple tabs of the same application are opened, only exactly one runs the replication at any given time. This reduces client- and backend resources.
On the RxDocument level, the replication works like git, where the fork/client contains all new writes and must be merged with the master/server before it can push its new state to the master/server.
-
A---B-----------D master/server state
- \ /
- B---C---D fork/client state
-
-
-
The client pulls the latest state B from the master.
-
The client does some changes C+D.
-
The client pushes these changes to the master by sending the latest known master state B and the new client state D of the document.
-
If the master state is equal to the latest master B state of the client, the new client state D is set as the latest master state.
-
If the master also had changes and so the latest master change is different then the one that the client assumes, we have a conflict that has to be resolved on the client.
When document states are transferred, all handlers use batches of documents for better performance.
-The server must implement the following methods to be compatible with the replication:
-
-
pullHandler Get the last checkpoint (or null) as input. Returns all documents that have been written after the given checkpoint. Also returns the checkpoint of the latest written returned document.
-
pushHandler a method that can be called by the client to send client side writes to the master. It gets an array with the assumedMasterState and the newForkState of each document write as input. It must return an array that contains the master document states of all conflicts. If there are no conflicts, it must return an empty array.
-
pullStream an observable that emits batches of all master writes and the latest checkpoint of the write batches.
On first initial replication, or when the client comes online again, a checkpoint based iteration is used to catch up with the server state.
-A checkpoint is a subset of the fields of the last pulled document. When the checkpoint is send to the backend via pullHandler(), the backend must be able to respond with all documents that have been written after the given checkpoint.
-For example if your documents contain an id and an updatedAt field, these two can be used as checkpoint.
-
When the checkpoint iteration reaches the last checkpoint, where the backend returns an empty array because there are no newer documents, the replication will automatically switch to the event observation mode.
While the client is connected to the backend, the events from the backend are observed via pullStream$ and persisted to the client.
-
If your backend for any reason is not able to provide a full pullStream$ that contains all events and the checkpoint, you can instead only emit RESYNC events that tell RxDB that anything unknown has changed on the server and it should run the pull replication via checkpoint iteration.
-
When the client goes offline and online again, it might happen that the pullStream$ has missed out some events. Therefore the pullStream$ should also emit a RESYNC event each time the client reconnects, so that the client can become in sync with the backend via the checkpoint iteration mode.
To use the replication you first have to ensure that:
-
-
-
documents are deterministic sortable by their last write time
-
deterministic means that even if two documents have the same last write time, they have a predictable sort order.
-This is most often ensured by using the primaryKey as second sort parameter as part of the checkpoint.
-
-
-
documents are never deleted, instead the _deleted field is set to true.
-
This is needed so that the deletion state of a document exists in the database and can be replicated with other instances. If your backend uses a different field to mark deleted documents, you have to transform the data in the push/pull handlers or with the modifiers.
-
-
-
For example if your documents look like this:
-
const docData = {
- "id": "foobar",
- "name": "Alice",
- "lastName": "Wilson",
- /**
- * Contains the last write timestamp
- * so all documents writes can be sorted by that value
- * when they are fetched from the remote instance.
- */
- "updatedAt": 1564483474,
- /**
- * Instead of physically deleting documents,
- * a deleted document gets replicated.
- */
- "_deleted": false
-}
-
Then your data is always sortable by updatedAt. This ensures that when RxDB fetches 'new' changes via pullHandler(), it can send the latest updatedAt+id checkpoint to the remote endpoint and then receive all newer documents.
-
By default, the field is _deleted. If your remote endpoint uses a different field to mark deleted documents, you can set the deletedField in the replication options which will automatically map the field on all pull and push requests.
When multiple clients (or the server) modify the same document at the same time (or when they are offline), it can happen that a conflict arises during the replication.
-
A---B1---C1---X master/server state
- \ /
- B1---C2 fork/client state
-
-
In the case above, the client would tell the master to move the document state from B1 to C2 by calling pushHandler(). But because the actual master state is C1 and not B1, the master would reject the write by sending back the actual master state C1.
-RxDB resolves all conflicts on the client so it would call the conflict handler of the RxCollection and create a new document state D that can then be written to the master.
-
A---B1---C1---X---D master/server state
- \ / \ /
- B1---C2---D fork/client state
-
-
The default conflict handler will always drop the fork state and use the master state. This ensures that clients that are offline for a very long time, do not accidentally overwrite other peoples changes when they go online again.
-You can specify a custom conflict handler by setting the property conflictHandler when calling addCollection().
You can start the replication of a single RxCollection by calling replicateRxCollection() like in the following:
-
import { replicateRxCollection } from 'rxdb/plugins/replication';
-import {
- lastOfArray
-} from 'rxdb';
-const replicationState = await replicateRxCollection({
- collection: myRxCollection,
- /**
- * An id for the replication to identify it
- * and so that RxDB is able to resume the replication on app reload.
- * If you replicate with a remote server, it is recommended to put the
- * server url into the replicationIdentifier.
- */
- replicationIdentifier: 'my-rest-replication-to-https://example.com/api/sync',
- /**
- * By default it will do an ongoing realtime replication.
- * By settings live: false the replication will run once until the local state
- * is in sync with the remote state, then it will cancel itself.
- * (optional), default is true.
- */
- live: true,
- /**
- * Time in milliseconds after when a failed backend request
- * has to be retried.
- * This time will be skipped if a offline->online switch is detected
- * via navigator.onLine
- * (optional), default is 5 seconds.
- */
- retryTime: 5 * 1000,
- /**
- * When multiInstance is true, like when you use RxDB in multiple browser tabs,
- * the replication should always run in only one of the open browser tabs.
- * If waitForLeadership is true, it will wait until the current instance is leader.
- * If waitForLeadership is false, it will start replicating, even if it is not leader.
- * [default=true]
- */
- waitForLeadership: true,
- /**
- * If this is set to false,
- * the replication will not start automatically
- * but will wait for replicationState.start() being called.
- * (optional), default is true
- */
- autoStart: true,
-
- /**
- * Custom deleted field, the boolean property of the document data that
- * marks a document as being deleted.
- * If your backend uses a different fieldname then '_deleted', set the fieldname here.
- * RxDB will still store the documents internally with '_deleted', setting this field
- * only maps the data on the data layer.
- *
- * If a custom deleted field contains a non-boolean value, the deleted state
- * of the documents depends on if the value is truthy or not. So instead of providing a boolean * * deleted value, you could also work with using a 'deletedAt' timestamp instead.
- *
- * [default='_deleted']
- */
- deletedField: 'deleted',
-
- /**
- * Optional,
- * only needed when you want to replicate local changes to the remote instance.
- */
- push: {
- /**
- * Push handler
- */
- async handler(docs) {
- /**
- * Push the local documents to a remote REST server.
- */
- const rawResponse = await fetch('https://example.com/api/sync/push', {
- method: 'POST',
- headers: {
- 'Accept': 'application/json',
- 'Content-Type': 'application/json'
- },
- body: JSON.stringify({ docs })
- });
- /**
- * Contains an array with all conflicts that appeared during this push.
- * If there were no conflicts, return an empty array.
- */
- const response = await rawResponse.json();
- return response;
- },
- /**
- * Batch size, optional
- * Defines how many documents will be given to the push handler at once.
- */
- batchSize: 5,
- /**
- * Modifies all documents before they are given to the push handler.
- * Can be used to swap out a custom deleted flag instead of the '_deleted' field.
- * If the push modifier return null, the document will be skipped and not send to the remote.
- * Notice that the modifier can be called multiple times and should not contain any side effects.
- * (optional)
- */
- modifier: d => d
- },
- /**
- * Optional,
- * only needed when you want to replicate remote changes to the local state.
- */
- pull: {
- /**
- * Pull handler
- */
- async handler(lastCheckpoint, batchSize) {
- const minTimestamp = lastCheckpoint ? lastCheckpoint.updatedAt : 0;
- /**
- * In this example we replicate with a remote REST server
- */
- const response = await fetch(
- `https://example.com/api/sync/?minUpdatedAt=${minTimestamp}&limit=${batchSize}`
- );
- const documentsFromRemote = await response.json();
- return {
- /**
- * Contains the pulled documents from the remote.
- * Not that if documentsFromRemote.length < batchSize,
- * then RxDB assumes that there are no more un-replicated documents
- * on the backend, so the replication will switch to 'Event observation' mode.
- */
- documents: documentsFromRemote,
- /**
- * The last checkpoint of the returned documents.
- * On the next call to the pull handler,
- * this checkpoint will be passed as 'lastCheckpoint'
- */
- checkpoint: documentsFromRemote.length === 0 ? lastCheckpoint : {
- id: lastOfArray(documentsFromRemote).id,
- updatedAt: lastOfArray(documentsFromRemote).updatedAt
- }
- };
- },
- batchSize: 10,
- /**
- * Modifies all documents after they have been pulled
- * but before they are used by RxDB.
- * Notice that the modifier can be called multiple times and should not contain any side effects.
- * (optional)
- */
- modifier: d => d,
- /**
- * Stream of the backend document writes.
- * See below.
- * You only need a stream$ when you have set live=true
- */
- stream$: pullStream$.asObservable()
- },
-});
-
-
-/**
- * Creating the pull stream for realtime replication.
- * Here we use a websocket but any other way of sending data to the client can be used,
- * like long polling or server-sent events.
- */
-const pullStream$ = new Subject<RxReplicationPullStreamItem<any, any>>();
-let firstOpen = true;
-function connectSocket() {
- const socket = new WebSocket('wss://example.com/api/sync/stream');
- /**
- * When the backend sends a new batch of documents+checkpoint,
- * emit it into the stream$.
- *
- * event.data must look like this
- * {
- * documents: [
- * {
- * id: 'foobar',
- * _deleted: false,
- * updatedAt: 1234
- * }
- * ],
- * checkpoint: {
- * id: 'foobar',
- * updatedAt: 1234
- * }
- * }
- */
- socket.onmessage = event => pullStream$.next(event.data);
- /**
- * Automatically reconnect the socket on close and error.
- */
- socket.onclose = () => connectSocket();
- socket.onerror = () => socket.close();
-
- socket.onopen = () => {
- if(firstOpen) {
- firstOpen = false;
- } else {
- /**
- * When the client is offline and goes online again,
- * it might have missed out events that happened on the server.
- * So we have to emit a RESYNC so that the replication goes
- * into 'Checkpoint iteration' mode until the client is in sync
- * and then it will go back into 'Event observation' mode again.
- */
- pullStream$.next('RESYNC');
- }
- }
-}
-
For better performance, the replication runs only in one instance when RxDB is used in multiple browser tabs or Node.js processes.
-By setting waitForLeadership: false you can enforce that each tab runs its own replication cycles.
-If used in a multi instance setting, so when at database creation multiInstance: false was not set,
-you need to import the leader election plugin so that RxDB can know how many instances exist and which browser tab should run the replication.
When sending a document to the remote fails for any reason, RxDB will send it again in a later point in time.
-This happens for all errors. The document write could have already reached the remote instance and be processed, while only the answering fails.
-The remote instance must be designed to handle this properly and to not crash on duplicate data transmissions.
-Depending on your use case, it might be ok to just write the duplicate document data again.
-But for a more resilient error handling you could compare the last write timestamps or add a unique write id field to the document. This field can then be used to detect duplicates and ignore re-send data.
-
Also the replication has an .error$ stream that emits all RxError objects that arise during replication.
-Notice that these errors contain an inner .parameters.errors field that contains the original error. Also they contain a .parameters.direction field that indicates if the error was thrown during pull or push. You can use these to properly handle errors. For example when the client is outdated, the server might respond with a 426 Upgrade Required error code that can then be used to force a page reload.
Be aware that client side clocks can never be trusted. When you have a client-backend replication, the backend should overwrite the updatedAt timestamp or use another field, when it receives the change from the client.
To observe the replication, the RxReplicationState has some Observable properties:
-
// emits each document that was received from the remote
-myRxReplicationState.received$.subscribe(doc => console.dir(doc));
-
-// emits each document that was send to the remote
-myRxReplicationState.sent$.subscribe(doc => console.dir(doc));
-
-// emits all errors that happen when running the push- & pull-handlers.
-myRxReplicationState.error$.subscribe(error => console.dir(error));
-
-// emits true when the replication was canceled, false when not.
-myRxReplicationState.canceled$.subscribe(bool => console.dir(bool));
-
-// emits true when a replication cycle is running, false when not.
-myRxReplicationState.active$.subscribe(bool => console.dir(bool));
With awaitInitialReplication() you can await the initial replication that is done when a full replication cycle was successful finished for the first time. The returned promise will never resolve if you cancel the replication before the initial replication can be done.
No replication cycle is running or in retry-state.
-
-
warning
When multiInstance: true and waitForLeadership: true and another tab is already running the replication, awaitInSync() will not resolve until the other tab is closed and the replication starts in this tab.
await myRxReplicationState.awaitInSync();
-
warning
awaitInitialReplication() and awaitInSync() should not be used to block the application
A common mistake in RxDB usage is when developers want to block the app usage until the application is in sync.
-Often they just await the promise of awaitInitialReplication() or awaitInSync() and show a loading spinner until they resolve. This is dangerous and should not be done because:
-
When multiInstance: true and waitForLeadership: true (default) and another tab is already running the replication, awaitInitialReplication() will not resolve until the other tab is closed and the replication starts in this tab.
-
Your app can no longer be started when the device is offline because there the awaitInitialReplication() will never resolve and the app cannot be used.
-
Instead you should store the last in-sync time in a local document and observe its value on all instances.
For example if you want to block clients from using the app if they have not been in sync for the last 24 hours, you could use this code:
-// update last-in-sync-flag each time replication is in sync
-await myCollection.insertLocal('last-in-sync', { time: 0 }).catch(); // ensure flag exists
-myReplicationState.active$.pipe(
- mergeMap(async() => {
- await myReplicationState.awaitInSync();
- await myCollection.upsertLocal('last-in-sync', { time: Date.now() })
- })
-);
-
-// observe the flag and toggle loading spinner
-await showLoadingSpinner();
-const oneDay = 1000 * 60 * 60 * 24;
-await firstValueFrom(
- myCollection.getLocal$('last-in-sync').pipe(
- filter(d => d.get('time') > (Date.now() - oneDay))
- )
-);
-await hideLoadingSpinner();
Triggers a RESYNC cycle where the replication goes into checkpoint iteration until the client is in sync with the backend. Used in unit tests or when no proper pull.stream$ can be implemented so that the client only knows that something has been changed but not what.
-
myRxReplicationState.reSync();
-
If your backend is not capable of sending events to the client at all, you could run reSync() in an interval so that the client will automatically fetch server changes after some time at least.
Cancels the replication and deletes the metadata of the replication state. This can be used to restart the replication "from scratch". Calling .remove() will only delete the replication metadata, it will NOT delete the documents from the collection of the replication.
By default, the push replication will start from the beginning of time and push all documents from there to the remote.
-By setting a custom push.initialCheckpoint, you can tell the replication to only push writes that are newer than the given checkpoint.
-
// store the latest checkpoint of a collection
-let lastLocalCheckpoint: any;
-myCollection.checkpoint$.subscribe(checkpoint => lastLocalCheckpoint = checkpoint);
-
-// start the replication but only push documents that are newer than the lastLocalCheckpoint
-const replicationState = replicateRxCollection({
- collection: myCollection,
- replicationIdentifier: 'my-custom-replication-with-init-checkpoint',
- /* ... */
- push: {
- handler: /* ... */,
- initialCheckpoint: lastLocalCheckpoint
- }
-});
-
The same can be done for the other direction by setting a pull.initialCheckpoint. Notice that here we need the remote checkpoint from the backend instead of the one from the RxDB storage.
-
// get the last pull checkpoint from the server
-const lastRemoteCheckpoint = await (await fetch('http://example.com/pull-checkpoint')).json();
-
-// start the replication but only pull documents that are newer than the lastRemoteCheckpoint
-const replicationState = replicateRxCollection({
- collection: myCollection,
- replicationIdentifier: 'my-custom-replication-with-init-checkpoint',
- /* ... */
- pull: {
- handler: /* ... */,
- initialCheckpoint: lastRemoteCheckpoint
- }
-});
Ensures replication continues running when the document is visible. This helps avoid situations where the leader-elected tab becomes stale or is hibernated by the browser to save battery.
-When the tab becomes hidden, replication is automatically paused; when the tab becomes visible again (or the instance becomes leader), replication resumes.
Attachment replication is supported in the RxDB Sync Engine itself. However not all replication plugins support it.
-If you start the replication with a collection which has enabled RxAttachments attachments data will be added to all push- and write data.
-
The pushed documents will contain an _attachments object which contains:
-
-
The attachment meta data (id, length, digest) of all non-attachments
-
The full attachment data of all attachments that have been updated/added from the client.
-
Deleted attachments are spared out in the pushed document.
-
-
With this data, the backend can decide onto which attachments must be deleted, added or overwritten.
-
Accordingly, the pulled document must contain the same data, if the backend has a new document state with updated attachments.
With the replication protocol it is possible to do pull only replications where data is pulled from a backend but not pushed from the client. RxDB implements some performance optimizations for these like not storing server metadata on pull only streams.
Suppose you're building a Minecraft-like voxel game where the world can expand in every direction. Storing the entire map locally for offline use is impossible because the dataset could be massive. Yet you still want a local-first design so players can edit the game world offline and sync back to the server later.
You might define a single RxDB collection called db.voxels, where each document represents a block or "voxel" (with fields like id, chunkId, coordinates, and type). With RxDB you can, instead of setting up one replication that tries to fetch all voxels, you create separate replication states for each chunk of the world the player is currently near.
-
When the player enters a particular chunk (say chunk-123), you start a replication dedicated to that chunk. On the server side, you have endpoints to pull only that chunk's voxels (e.g., GET /api/voxels/pull?chunkId=123) and push local changes back (e.g., POST /api/voxels/push?chunkId=123). RxDB handles them similarly to any other offline-first setup, but each replication is filtered to only that chunk's data.
-
When the player leaves chunk-123 and no longer needs it, you stop that replication. If the player moves to chunk-124, you start a new replication for chunk 124. This ensures the game only downloads and syncs data relevant to the player's immediate location. Meanwhile, all edits made offline remain safely stored in the local database until a network connection is available.
An added benefit of this multi-replication-state design is checkpointing. Each replication state has a unique "replication identifier," so the next time the player returns to chunk-123, the local database knows what it already has and only fetches the differences without the need to re-download the entire chunk.
-
Partial Sync in a Local-First Business Application
-
Though a voxel world is an intuitive example, the same technique applies in enterprise scenarios where data sets are large but each user only needs a specific subset. You could spin up a new replication for each "permission group" or "region," so users only sync the records they're allowed to see. Or in a CRM, the replication might be filtered by the specific accounts or projects a user is currently handling. As soon as they switch to a different project, you stop the old replication and start one for the new scope.
-
This chunk-based or scope-based replication pattern keeps your local storage lean, reduces network overhead, and still gives users the offline, instant-feedback experience that local-first apps are known for. By dynamically creating (and canceling) replication states, you retain tight control over bandwidth usage and make the infinite (or very large) feasible. In a production app you would also "flag" the entities (with a pull.modifier) by which replication state they came from, so that you can clean up the parts that you no longer need. -->
-I have infinite loops in my replication, how to debug?
When you have infinite loops in your replication or random re-runs of http requests after some time, the reason is likely that your pull-handler
-is crashing. The debug this, add a log to the error$ handler to debug it. myRxReplicationState.error$.subscribe(err => console.log('error$', err)).
-
-
\ No newline at end of file
diff --git a/docs/replication.md b/docs/replication.md
deleted file mode 100644
index 98e12b25a1d..00000000000
--- a/docs/replication.md
+++ /dev/null
@@ -1,679 +0,0 @@
-# ⚙️ RxDB realtime Sync Engine for Local-First Apps
-
-> Replicate data in real-time with RxDB's offline-first Sync Engine. Learn about efficient syncing, conflict resolution, and advanced multi-tab support.
-
-# RxDB's realtime Sync Engine for Local-First Apps
-
-The RxDB Sync Engine provides the ability to sync the database state in **realtime** between the clients and the server.
-
-The backend server does not have to be a RxDB instance; you can build a replication with **any infrastructure**.
-For example you can replicate with a [custom GraphQL endpoint](./replication-graphql.md) or a [HTTP server](./replication-http.md) on top of a PostgreSQL or MongoDB database.
-
-The replication is made to support the [Local-First](./articles/local-first-future.md) paradigm, so that when the client goes [offline](./offline-first.md), the RxDB [database](./rx-database.md) can still read and write [locally](./articles/local-database.md) and will continue the replication when the client goes online again.
-
-## Design Decisions of the Sync Engine
-
-In contrast to other (server-side) database replication protocols, the RxDB Sync Engine was designed with these goals in mind:
-
-- **Easy to Understand**: The sync engine works in a simple "git-like" way that is easy to understand for an average developer. You only have to understand how three simple endpoints work.
-- **Complex Parts are in RxDB, not in the Backend**: The complex parts of the Sync Engine, like [conflict handling](./transactions-conflicts-revisions.md) or offline-online switches, are implemented inside of RxDB itself. This makes creating a compatible backend very easy.
-- **Compatible with any Backend**: Because the complex parts are in RxDB, the backend can be "dump" which makes the protocol compatible to almost every backend. No matter if you use PostgreSQL, MongoDB or anything else.
-- **Performance is optimized for Client Devices and Browsers**: By grouping updates and fetches into batches, it is faster to transfer and easier to compress. Client devices and browsers can also process this data faster, for example running `JSON.parse()` on a chunk of data is faster than calling it once per row. Same goes for how client side storage like [IndexedDB](./rx-storage-indexeddb.md) or [OPFS](./rx-storage-opfs.md) works where writing data in bulks is faster.
-- **Offline-First Support**: By incorporating conflict handling at the client side, the protocol fully supports [offline-first apps](./offline-first.md). Users can continue making changes while offline, and those updates will sync seamlessly once a connection is reestablished - all without risking data loss or having undefined behavior.
-- **Multi-Tab Support**: When RxDB is used in a browser and multiple tabs of the same application are opened, only exactly one runs the replication at any given time. This reduces client- and backend resources.
-
-## The Sync Engine on the document level
-
-On the RxDocument level, the replication works like git, where the fork/client contains all new writes and must be merged with the master/server before it can push its new state to the master/server.
-
-```
-A---B-----------D master/server state
- \ /
- B---C---D fork/client state
-```
-
-- The client pulls the latest state `B` from the master.
-- The client does some changes `C+D`.
-- The client pushes these changes to the master by sending the latest known master state `B` and the new client state `D` of the document.
-- If the master state is equal to the latest master `B` state of the client, the new client state `D` is set as the latest master state.
-- If the master also had changes and so the latest master change is different then the one that the client assumes, we have a conflict that has to be resolved on the client.
-
-## The Sync Engine on the transfer level
-
-When document states are transferred, all handlers use batches of documents for better performance.
-The server **must** implement the following methods to be compatible with the replication:
-
-- **pullHandler** Get the last checkpoint (or null) as input. Returns all documents that have been written **after** the given checkpoint. Also returns the checkpoint of the latest written returned document.
-- **pushHandler** a method that can be called by the client to send client side writes to the master. It gets an array with the `assumedMasterState` and the `newForkState` of each document write as input. It must return an array that contains the master document states of all conflicts. If there are no conflicts, it must return an empty array.
-- **pullStream** an observable that emits batches of all master writes and the latest checkpoint of the write batches.
-
-```
- +--------+ +--------+
- | | pullHandler() | |
- | |---------------------> | |
- | | | |
- | | | |
- | Client | pushHandler() | Server |
- | |---------------------> | |
- | | | |
- | | pullStream$ | |
- | | <-------------------------| |
- +--------+ +--------+
-```
-
-The replication runs in two **different modes**:
-
-### Checkpoint iteration
-
-On first initial replication, or when the client comes online again, a checkpoint based iteration is used to catch up with the server state.
-A checkpoint is a subset of the fields of the last pulled document. When the checkpoint is send to the backend via `pullHandler()`, the backend must be able to respond with all documents that have been written **after** the given checkpoint.
-For example if your documents contain an `id` and an `updatedAt` field, these two can be used as checkpoint.
-
-When the checkpoint iteration reaches the last checkpoint, where the backend returns an empty array because there are no newer documents, the replication will automatically switch to the `event observation` mode.
-
-### Event observation
-
-While the client is connected to the backend, the events from the backend are observed via `pullStream$` and persisted to the client.
-
-If your backend for any reason is not able to provide a full `pullStream$` that contains all events and the checkpoint, you can instead only emit `RESYNC` events that tell RxDB that anything unknown has changed on the server and it should run the pull replication via [checkpoint iteration](#checkpoint-iteration).
-
-When the client goes offline and online again, it might happen that the `pullStream$` has missed out some events. Therefore the `pullStream$` should also emit a `RESYNC` event each time the client reconnects, so that the client can become in sync with the backend via the [checkpoint iteration](#checkpoint-iteration) mode.
-
-## Data layout on the server
-
-To use the replication you first have to ensure that:
-- **documents are deterministic sortable by their last write time**
-
- *deterministic* means that even if two documents have the same *last write time*, they have a predictable sort order.
- This is most often ensured by using the *primaryKey* as second sort parameter as part of the checkpoint.
-
-- **documents are never deleted, instead the `_deleted` field is set to `true`.**
-
- This is needed so that the deletion state of a document exists in the database and can be replicated with other instances. If your backend uses a different field to mark deleted documents, you have to transform the data in the push/pull handlers or with the modifiers.
-
-For example if your documents look like this:
-
-```ts
-const docData = {
- "id": "foobar",
- "name": "Alice",
- "lastName": "Wilson",
- /**
- * Contains the last write timestamp
- * so all documents writes can be sorted by that value
- * when they are fetched from the remote instance.
- */
- "updatedAt": 1564483474,
- /**
- * Instead of physically deleting documents,
- * a deleted document gets replicated.
- */
- "_deleted": false
-}
-```
-
-Then your data is always sortable by `updatedAt`. This ensures that when RxDB fetches 'new' changes via `pullHandler()`, it can send the latest `updatedAt+id` checkpoint to the remote endpoint and then receive all newer documents.
-
-By default, the field is `_deleted`. If your remote endpoint uses a different field to mark deleted documents, you can set the `deletedField` in the replication options which will automatically map the field on all pull and push requests.
-
-## Conflict handling
-
-When multiple clients (or the server) modify the same document at the same time (or when they are offline), it can happen that a conflict arises during the replication.
-
-```
-A---B1---C1---X master/server state
- \ /
- B1---C2 fork/client state
-```
-
-In the case above, the client would tell the master to move the document state from `B1` to `C2` by calling `pushHandler()`. But because the actual master state is `C1` and not `B1`, the master would reject the write by sending back the actual master state `C1`.
-**RxDB resolves all conflicts on the client** so it would call the conflict handler of the `RxCollection` and create a new document state `D` that can then be written to the master.
-
-```
-A---B1---C1---X---D master/server state
- \ / \ /
- B1---C2---D fork/client state
-```
-
-The default conflict handler will always drop the fork state and use the master state. This ensures that clients that are offline for a very long time, do not accidentally overwrite other peoples changes when they go online again.
-You can specify a custom conflict handler by setting the property `conflictHandler` when calling `addCollection()`.
-
-Learn how to create a [custom conflict handler](./transactions-conflicts-revisions.md#custom-conflict-handler).
-
-## replicateRxCollection()
-
-You can start the replication of a single `RxCollection` by calling `replicateRxCollection()` like in the following:
-
-```ts
-import { replicateRxCollection } from 'rxdb/plugins/replication';
-import {
- lastOfArray
-} from 'rxdb';
-const replicationState = await replicateRxCollection({
- collection: myRxCollection,
- /**
- * An id for the replication to identify it
- * and so that RxDB is able to resume the replication on app reload.
- * If you replicate with a remote server, it is recommended to put the
- * server url into the replicationIdentifier.
- */
- replicationIdentifier: 'my-rest-replication-to-https://example.com/api/sync',
- /**
- * By default it will do an ongoing realtime replication.
- * By settings live: false the replication will run once until the local state
- * is in sync with the remote state, then it will cancel itself.
- * (optional), default is true.
- */
- live: true,
- /**
- * Time in milliseconds after when a failed backend request
- * has to be retried.
- * This time will be skipped if a offline->online switch is detected
- * via navigator.onLine
- * (optional), default is 5 seconds.
- */
- retryTime: 5 * 1000,
- /**
- * When multiInstance is true, like when you use RxDB in multiple browser tabs,
- * the replication should always run in only one of the open browser tabs.
- * If waitForLeadership is true, it will wait until the current instance is leader.
- * If waitForLeadership is false, it will start replicating, even if it is not leader.
- * [default=true]
- */
- waitForLeadership: true,
- /**
- * If this is set to false,
- * the replication will not start automatically
- * but will wait for replicationState.start() being called.
- * (optional), default is true
- */
- autoStart: true,
-
- /**
- * Custom deleted field, the boolean property of the document data that
- * marks a document as being deleted.
- * If your backend uses a different fieldname then '_deleted', set the fieldname here.
- * RxDB will still store the documents internally with '_deleted', setting this field
- * only maps the data on the data layer.
- *
- * If a custom deleted field contains a non-boolean value, the deleted state
- * of the documents depends on if the value is truthy or not. So instead of providing a boolean * * deleted value, you could also work with using a 'deletedAt' timestamp instead.
- *
- * [default='_deleted']
- */
- deletedField: 'deleted',
-
- /**
- * Optional,
- * only needed when you want to replicate local changes to the remote instance.
- */
- push: {
- /**
- * Push handler
- */
- async handler(docs) {
- /**
- * Push the local documents to a remote REST server.
- */
- const rawResponse = await fetch('https://example.com/api/sync/push', {
- method: 'POST',
- headers: {
- 'Accept': 'application/json',
- 'Content-Type': 'application/json'
- },
- body: JSON.stringify({ docs })
- });
- /**
- * Contains an array with all conflicts that appeared during this push.
- * If there were no conflicts, return an empty array.
- */
- const response = await rawResponse.json();
- return response;
- },
- /**
- * Batch size, optional
- * Defines how many documents will be given to the push handler at once.
- */
- batchSize: 5,
- /**
- * Modifies all documents before they are given to the push handler.
- * Can be used to swap out a custom deleted flag instead of the '_deleted' field.
- * If the push modifier return null, the document will be skipped and not send to the remote.
- * Notice that the modifier can be called multiple times and should not contain any side effects.
- * (optional)
- */
- modifier: d => d
- },
- /**
- * Optional,
- * only needed when you want to replicate remote changes to the local state.
- */
- pull: {
- /**
- * Pull handler
- */
- async handler(lastCheckpoint, batchSize) {
- const minTimestamp = lastCheckpoint ? lastCheckpoint.updatedAt : 0;
- /**
- * In this example we replicate with a remote REST server
- */
- const response = await fetch(
- `https://example.com/api/sync/?minUpdatedAt=${minTimestamp}&limit=${batchSize}`
- );
- const documentsFromRemote = await response.json();
- return {
- /**
- * Contains the pulled documents from the remote.
- * Not that if documentsFromRemote.length < batchSize,
- * then RxDB assumes that there are no more un-replicated documents
- * on the backend, so the replication will switch to 'Event observation' mode.
- */
- documents: documentsFromRemote,
- /**
- * The last checkpoint of the returned documents.
- * On the next call to the pull handler,
- * this checkpoint will be passed as 'lastCheckpoint'
- */
- checkpoint: documentsFromRemote.length === 0 ? lastCheckpoint : {
- id: lastOfArray(documentsFromRemote).id,
- updatedAt: lastOfArray(documentsFromRemote).updatedAt
- }
- };
- },
- batchSize: 10,
- /**
- * Modifies all documents after they have been pulled
- * but before they are used by RxDB.
- * Notice that the modifier can be called multiple times and should not contain any side effects.
- * (optional)
- */
- modifier: d => d,
- /**
- * Stream of the backend document writes.
- * See below.
- * You only need a stream$ when you have set live=true
- */
- stream$: pullStream$.asObservable()
- },
-});
-
-/**
- * Creating the pull stream for realtime replication.
- * Here we use a websocket but any other way of sending data to the client can be used,
- * like long polling or server-sent events.
- */
-const pullStream$ = new Subject>();
-let firstOpen = true;
-function connectSocket() {
- const socket = new WebSocket('wss://example.com/api/sync/stream');
- /**
- * When the backend sends a new batch of documents+checkpoint,
- * emit it into the stream$.
- *
- * event.data must look like this
- * {
- * documents: [
- * {
- * id: 'foobar',
- * _deleted: false,
- * updatedAt: 1234
- * }
- * ],
- * checkpoint: {
- * id: 'foobar',
- * updatedAt: 1234
- * }
- * }
- */
- socket.onmessage = event => pullStream$.next(event.data);
- /**
- * Automatically reconnect the socket on close and error.
- */
- socket.onclose = () => connectSocket();
- socket.onerror = () => socket.close();
-
- socket.onopen = () => {
- if(firstOpen) {
- firstOpen = false;
- } else {
- /**
- * When the client is offline and goes online again,
- * it might have missed out events that happened on the server.
- * So we have to emit a RESYNC so that the replication goes
- * into 'Checkpoint iteration' mode until the client is in sync
- * and then it will go back into 'Event observation' mode again.
- */
- pullStream$.next('RESYNC');
- }
- }
-}
-
-```
-
-## Multi Tab support
-
-For better performance, the replication runs only in one instance when RxDB is used in multiple browser tabs or Node.js processes.
-By setting `waitForLeadership: false` you can enforce that each tab runs its own replication cycles.
-If used in a multi instance setting, so when at database creation `multiInstance: false` was not set,
-you need to import the [leader election plugin](./leader-election.md) so that RxDB can know how many instances exist and which browser tab should run the replication.
-
-## Error handling
-
-When sending a document to the remote fails for any reason, RxDB will send it again in a later point in time.
-This happens for **all** errors. The document write could have already reached the remote instance and be processed, while only the answering fails.
-The remote instance must be designed to handle this properly and to not crash on duplicate data transmissions.
-Depending on your use case, it might be ok to just write the duplicate document data again.
-But for a more resilient error handling you could compare the last write timestamps or add a unique write id field to the document. This field can then be used to detect duplicates and ignore re-send data.
-
-Also the replication has an `.error$` stream that emits all `RxError` objects that arise during replication.
-Notice that these errors contain an inner `.parameters.errors` field that contains the original error. Also they contain a `.parameters.direction` field that indicates if the error was thrown during `pull` or `push`. You can use these to properly handle errors. For example when the client is outdated, the server might respond with a `426 Upgrade Required` error code that can then be used to force a page reload.
-
-```ts
-replicationState.error$.subscribe((error) => {
- if(
- error.parameters.errors &&
- error.parameters.errors[0] &&
- error.parameters.errors[0].code === 426
- ) {
- // client is outdated -> enforce a page reload
- location.reload();
- }
-});
-```
-
-## Security
-
-Be aware that client side clocks can never be trusted. When you have a client-backend replication, the backend should overwrite the `updatedAt` timestamp or use another field, when it receives the change from the client.
-
-## RxReplicationState
-
-The function `replicateRxCollection()` returns a `RxReplicationState` that can be used to manage and observe the replication.
-
-### Observable
-
-To observe the replication, the `RxReplicationState` has some `Observable` properties:
-
-```ts
-// emits each document that was received from the remote
-myRxReplicationState.received$.subscribe(doc => console.dir(doc));
-
-// emits each document that was send to the remote
-myRxReplicationState.sent$.subscribe(doc => console.dir(doc));
-
-// emits all errors that happen when running the push- & pull-handlers.
-myRxReplicationState.error$.subscribe(error => console.dir(error));
-
-// emits true when the replication was canceled, false when not.
-myRxReplicationState.canceled$.subscribe(bool => console.dir(bool));
-
-// emits true when a replication cycle is running, false when not.
-myRxReplicationState.active$.subscribe(bool => console.dir(bool));
-```
-
-### awaitInitialReplication()
-
-With `awaitInitialReplication()` you can await the initial replication that is done when a full replication cycle was successful finished for the first time. The returned promise will never resolve if you cancel the replication before the initial replication can be done.
-
-```ts
-await myRxReplicationState.awaitInitialReplication();
-```
-
-### awaitInSync()
-
-Returns a `Promise` that resolves when:
-- `awaitInitialReplication()` has emitted.
-- All local data is replicated with the remote.
-- No replication cycle is running or in retry-state.
-
-:::warning
-When `multiInstance: true` and `waitForLeadership: true` and another tab is already running the replication, `awaitInSync()` will not resolve until the other tab is closed and the replication starts in this tab.
-
-```ts
-await myRxReplicationState.awaitInSync();
-```
-:::
-
-:::warning
-
-#### `awaitInitialReplication()` and `awaitInSync()` should not be used to block the application
-
-A common mistake in RxDB usage is when developers want to block the app usage until the application is in sync.
-Often they just `await` the promise of `awaitInitialReplication()` or `awaitInSync()` and show a loading spinner until they resolve. This is dangerous and should not be done because:
-- When `multiInstance: true` and `waitForLeadership: true (default)` and another tab is already running the replication, `awaitInitialReplication()` will not resolve until the other tab is closed and the replication starts in this tab.
-- Your app can no longer be started when the device is offline because there the `awaitInitialReplication()` will never resolve and the app cannot be used.
-
-Instead you should store the last in-sync time in a [local document](./rx-local-document.md) and observe its value on all instances.
-
-For example if you want to block clients from using the app if they have not been in sync for the last 24 hours, you could use this code:
-```ts
-
-// update last-in-sync-flag each time replication is in sync
-await myCollection.insertLocal('last-in-sync', { time: 0 }).catch(); // ensure flag exists
-myReplicationState.active$.pipe(
- mergeMap(async() => {
- await myReplicationState.awaitInSync();
- await myCollection.upsertLocal('last-in-sync', { time: Date.now() })
- })
-);
-
-// observe the flag and toggle loading spinner
-await showLoadingSpinner();
-const oneDay = 1000 * 60 * 60 * 24;
-await firstValueFrom(
- myCollection.getLocal$('last-in-sync').pipe(
- filter(d => d.get('time') > (Date.now() - oneDay))
- )
-);
-await hideLoadingSpinner();
-```
-
-:::
-
-### reSync()
-
-Triggers a `RESYNC` cycle where the replication goes into [checkpoint iteration](#checkpoint-iteration) until the client is in sync with the backend. Used in unit tests or when no proper `pull.stream$` can be implemented so that the client only knows that something has been changed but not what.
-
-```ts
-myRxReplicationState.reSync();
-```
-
-If your backend is not capable of sending events to the client at all, you could run `reSync()` in an interval so that the client will automatically fetch server changes after some time at least.
-
-```ts
-// trigger RESYNC each 10 seconds.
-setInterval(() => myRxReplicationState.reSync(), 10 * 1000);
-```
-
-### cancel()
-
-Cancels the replication. Returns a promise that resolved when everything has been cleaned up.
-
-```ts
-await myRxReplicationState.cancel();
-```
-
-### pause()
-
-Pauses a running replication. The replication can later be resumed with `RxReplicationState.start()`.
-
-```ts
-await myRxReplicationState.pause();
-await myRxReplicationState.start(); // restart
-```
-
-### remove()
-
-Cancels the replication and deletes the metadata of the replication state. This can be used to restart the replication "from scratch". Calling `.remove()` will only delete the replication metadata, it will NOT delete the documents from the collection of the replication.
-
-```ts
-await myRxReplicationState.remove();
-```
-
-### isStopped()
-
-Returns `true` if the replication is stopped. This can be if a non-live replication is finished or a replication got canceled.
-
-```js
-replicationState.isStopped(); // true/false
-```
-
-### isPaused()
-
-Returns `true` if the replication is paused.
-
-```js
-replicationState.isPaused(); // true/false
-```
-
-### Setting a custom initialCheckpoint
-
-By default, the push replication will start from the beginning of time and push all documents from there to the remote.
-By setting a custom `push.initialCheckpoint`, you can tell the replication to only push writes that are newer than the given checkpoint.
-
-```ts
-// store the latest checkpoint of a collection
-let lastLocalCheckpoint: any;
-myCollection.checkpoint$.subscribe(checkpoint => lastLocalCheckpoint = checkpoint);
-
-// start the replication but only push documents that are newer than the lastLocalCheckpoint
-const replicationState = replicateRxCollection({
- collection: myCollection,
- replicationIdentifier: 'my-custom-replication-with-init-checkpoint',
- /* ... */
- push: {
- handler: /* ... */,
- initialCheckpoint: lastLocalCheckpoint
- }
-});
-```
-
-The same can be done for the other direction by setting a `pull.initialCheckpoint`. Notice that here we need the remote checkpoint from the backend instead of the one from the RxDB storage.
-
-```ts
-// get the last pull checkpoint from the server
-const lastRemoteCheckpoint = await (await fetch('http://example.com/pull-checkpoint')).json();
-
-// start the replication but only pull documents that are newer than the lastRemoteCheckpoint
-const replicationState = replicateRxCollection({
- collection: myCollection,
- replicationIdentifier: 'my-custom-replication-with-init-checkpoint',
- /* ... */
- pull: {
- handler: /* ... */,
- initialCheckpoint: lastRemoteCheckpoint
- }
-});
-```
-
-### toggleOnDocumentVisible
-
-Ensures replication continues running when the document is `visible`. This helps avoid situations where the leader-elected tab becomes stale or is hibernated by the browser to save battery.
-When the tab becomes hidden, replication is automatically paused; when the tab becomes visible again (or the instance becomes leader), replication resumes.
-
-**Default:** `true`
-
-```ts
-const replicationState = replicateRxCollection({
- toggleOnDocumentVisible: true,
- /* ... */
-});
-```
-
-## Attachment replication
-
-Attachment replication is supported in the RxDB Sync Engine itself. However not all replication plugins support it.
-If you start the replication with a collection which has [enabled RxAttachments](./rx-attachment.md) attachments data will be added to all push- and write data.
-
-The pushed documents will contain an `_attachments` object which contains:
-
-- The attachment meta data (id, length, digest) of all non-attachments
-- The full attachment data of all attachments that have been updated/added from the client.
-- Deleted attachments are spared out in the pushed document.
-
-With this data, the backend can decide onto which attachments must be deleted, added or overwritten.
-
-Accordingly, the pulled document must contain the same data, if the backend has a new document state with updated attachments.
-
-## Pull-Only Replication
-
-With the replication protocol it is possible to do pull only replications where data is pulled from a backend but not pushed from the client. RxDB implements some performance optimizations for these like not storing server metadata on pull only streams.
-
-## Partial Sync with RxDB
-
-Suppose you're building a Minecraft-like voxel game where the world can expand in every direction. Storing the entire map locally for offline use is impossible because the dataset could be massive. Yet you still want a local-first design so players can edit the game world offline and sync back to the server later.
-
-### Idea: One Collection, Multiple Replications
-
-You might define a single RxDB collection called `db.voxels`, where each document represents a block or "voxel" (with fields like id, chunkId, coordinates, and type). With RxDB you can, instead of setting up _one_ replication that tries to fetch _all_ voxels, you create **separate replication states** for each _chunk_ of the world the player is currently near.
-
-When the player enters a particular chunk (say `chunk-123`), you **start a replication** dedicated to that chunk. On the server side, you have endpoints to **pull** only that chunk's voxels (e.g., GET `/api/voxels/pull?chunkId=123`) and **push** local changes back (e.g., POST `/api/voxels/push?chunkId=123`). RxDB handles them similarly to any other offline-first setup, but each replication is filtered to only that chunk's data.
-
-When the player leaves `chunk-123` and no longer needs it, you **stop** that replication. If the player moves to `chunk-124`, you start a new replication for chunk 124. This ensures the game only downloads and syncs data relevant to the player's immediate location. Meanwhile, all edits made offline remain safely stored in the local database until a network connection is available.
-
-```ts
-const activeReplications = {}; // chunkId -> replicationState
-
-function startChunkReplication(chunkId) {
- if (activeReplications[chunkId]) return;
- const replicationId = 'voxels-chunk-' + chunkId;
-
- const replicationState = replicateRxCollection({
- collection: db.voxels,
- replicationIdentifier: replicationId,
- pull: {
- async handler(checkpoint, limit) {
- const res = await fetch(
- `/api/voxels/pull?chunkId=${chunkId}&cp=${checkpoint}&limit=${limit}`
- );
- /* ... */
- }
- },
- push: {
- async handler(changedDocs) {
- const res = await fetch(`/api/voxels/push?chunkId=${chunkId}`);
- /* ... */
- }
- }
- });
- activeReplications[chunkId] = replicationState;
-}
-
-function stopChunkReplication(chunkId) {
- const rep = await activeReplications[chunkId];
- if (rep) {
- rep.cancel();
- delete activeReplications[chunkId];
- }
-}
-
-// Called whenever the player's location changes;
-// dynamically start/stop replication for nearby chunks.
-function onPlayerMove(neighboringChunkIds) {
- neighboringChunkIds.forEach(startChunkReplication);
- Object.keys(activeReplications).forEach(cid => {
- if (!neighboringChunkIds.includes(cid)) {
- stopChunkReplication(cid);
- }
- });
-}
-```
-
-### Diffy-Sync when Revisiting a Chunk
-
-An added benefit of this multi-replication-state design is checkpointing. Each replication state has a unique "replication identifier," so the next time the player returns to `chunk-123`, the local database knows what it already has and only fetches the differences without the need to re-download the entire chunk.
-
-### Partial Sync in a Local-First Business Application
-
-Though a voxel world is an intuitive example, the same technique applies in enterprise scenarios where data sets are large but each user only needs a specific subset. You could spin up a new replication for each "permission group" or "region," so users only sync the records they're allowed to see. Or in a CRM, the replication might be filtered by the specific accounts or projects a user is currently handling. As soon as they switch to a different project, you stop the old replication and start one for the new scope.
-
-This **chunk-based** or **scope-based** replication pattern keeps your local storage lean, reduces network overhead, and still gives users the offline, instant-feedback experience that local-first apps are known for. By dynamically creating (and canceling) replication states, you retain tight control over bandwidth usage and make the infinite (or very large) feasible. In a production app you would also "flag" the entities (with a `pull.modifier`) by which replication state they came from, so that you can clean up the parts that you no longer need. -->
-
-## FAQ
-
-
- I have infinite loops in my replication, how to debug?
-
- When you have infinite loops in your replication or random re-runs of http requests after some time, the reason is likely that your pull-handler
- is crashing. The debug this, add a log to the error$ handler to debug it. `myRxReplicationState.error$.subscribe(err => console.log('error$', err))`.
-
-
diff --git a/docs/rx-attachment.html b/docs/rx-attachment.html
deleted file mode 100644
index 0c6605a02d0..00000000000
--- a/docs/rx-attachment.html
+++ /dev/null
@@ -1,175 +0,0 @@
-
-
-
-
-
-Attachments | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Attachments are binary data files that can be attachment to an RxDocument, like a file that is attached to an email.
-
Using attachments instead of adding the data to the normal document, ensures that you still have a good performance when querying and writing documents, even when a big amount of data, like an image file has to be stored.
-
-
You can store string, binary files, images and whatever you want side by side with your documents.
-
Deleted documents automatically loose all their attachments data.
-
Not all replication plugins support the replication of attachments.
Adds an attachment to a RxDocument. Returns a Promise with the new attachment.
-
import { createBlob } from 'rxdb';
-
-const attachment = await myDocument.putAttachment(
- {
- id: 'cat.txt', // (string) name of the attachment
- data: createBlob('meowmeow', 'text/plain'), // (string|Blob) data of the attachment
- type: 'text/plain' // (string) type of the attachment-data like 'image/jpeg'
- }
-);
-
warning
Expo/React-Native does not support the Blob API natively. Make sure you use your own polyfill that properly supports blob.arrayBuffer() when using RxAttachments or use the putAttachmentBase64() and getDataBase64() so that you do not have to create blobs.
Gets an Observable which emits a stream of all attachments from the document. Re-emits each time an attachment gets added or removed from the RxDocument.
-
const all = [];
-myDocument.allAttachments$.subscribe(
- attachments => all = attachments
-);
The digest is NOT calculated by RxDB, instead it is calculated by the RxStorage. The only guarantee is that the digest will change when the attachments data changes.
Storing many attachments can be a problem when the disc space of the device is exceeded.
-Therefore it can make sense to compress the attachments before storing them in the RxStorage.
-With the attachments-compression plugin you can compress the attachments data on write and decompress it on reads.
-This happens internally and will now change on how you use the api. The compression is run with the Compression Streams API which is only supported on newer browsers.
-
import {
- wrappedAttachmentsCompressionStorage
-} from 'rxdb/plugins/attachments-compression';
-
-import { getRxStorageIndexedDB } from 'rxdb-premium/plugins/storage-indexeddb';
-
-// create a wrapped storage with attachment-compression.
-const storageWithAttachmentsCompression = wrappedAttachmentsCompressionStorage({
- storage: getRxStorageIndexedDB()
-});
-
-const db = await createRxDatabase({
- name: 'mydatabase',
- storage: storageWithAttachmentsCompression
-});
-
-
-// set the compression mode at the schema level
-const mySchema = {
- version: 0,
- type: 'object',
- properties: {
- // .
- // .
- // .
- },
- attachments: {
- compression: 'deflate' // <- Specify the compression mode here. OneOf ['deflate', 'gzip']
- }
-};
-
-/* ... create your collections as usual and store attachments in them. */
-
-
-
\ No newline at end of file
diff --git a/docs/rx-attachment.md b/docs/rx-attachment.md
deleted file mode 100644
index 09e3742bf77..00000000000
--- a/docs/rx-attachment.md
+++ /dev/null
@@ -1,222 +0,0 @@
-# Attachments
-
-> Learn how to store and manage binary data like images or files in RxDB using attachments. Discover features, performance benefits, encryption, compression, and usage examples with code.
-
-# Attachments
-
-Attachments are binary data files that can be attachment to an `RxDocument`, like a file that is attached to an email.
-
-Using attachments instead of adding the data to the normal document, ensures that you still have a good **performance** when querying and writing documents, even when a big amount of data, like an image file has to be stored.
-
-- You can store string, binary files, images and whatever you want side by side with your documents.
-- Deleted documents automatically loose all their attachments data.
-- Not all replication plugins support the replication of attachments.
-- Attachments can be stored [encrypted](./encryption.md).
-
-Internally, attachments in RxDB are stored and handled similar to how [CouchDB, PouchDB](https://pouchdb.com/guides/attachments.html#how-attachments-are-stored) does it.
-
-## Add the attachments plugin
-
-To enable the attachments, you have to add the `attachments` plugin.
-
-```ts
-import { addRxPlugin } from 'rxdb';
-import { RxDBAttachmentsPlugin } from 'rxdb/plugins/attachments';
-addRxPlugin(RxDBAttachmentsPlugin);
-```
-
-## Enable attachments in the schema
-
-Before you can use attachments, you have to ensure that the attachments-object is set in the schema of your `RxCollection`.
-
-```javascript
-
-const mySchema = {
- version: 0,
- type: 'object',
- properties: {
- // .
- // .
- // .
- },
- attachments: {
- encrypted: true // if true, the attachment-data will be encrypted with the db-password
- }
-};
-
-const myCollection = await myDatabase.addCollections({
- humans: {
- schema: mySchema
- }
-});
-```
-
-## putAttachment()
-
-Adds an attachment to a `RxDocument`. Returns a Promise with the new attachment.
-
-```javascript
-import { createBlob } from 'rxdb';
-
-const attachment = await myDocument.putAttachment(
- {
- id: 'cat.txt', // (string) name of the attachment
- data: createBlob('meowmeow', 'text/plain'), // (string|Blob) data of the attachment
- type: 'text/plain' // (string) type of the attachment-data like 'image/jpeg'
- }
-);
-```
-
-:::warning
-Expo/React-Native does not support the `Blob` API natively. Make sure you use your own polyfill that properly supports `blob.arrayBuffer()` when using RxAttachments or use the `putAttachmentBase64()` and `getDataBase64()` so that you do not have to create blobs.
-:::
-
-## putAttachmentBase64()
-
-Same as `putAttachment()` but accepts a plain base64 string instead of a `Blob`.
-
-```ts
-const attachment = await doc.putAttachmentBase64({
- id: 'cat.txt',
- length: 4,
- data: 'bWVvdw==',
- type: 'text/plain'
-});
-```
-
-## getAttachment()
-
-Returns an `RxAttachment` by its id. Returns `null` when the attachment does not exist.
-
-```javascript
-const attachment = myDocument.getAttachment('cat.jpg');
-```
-
-## allAttachments()
-
-Returns an array of all attachments of the `RxDocument`.
-
-```javascript
-const attachments = myDocument.allAttachments();
-```
-
-## allAttachments$
-
-Gets an Observable which emits a stream of all attachments from the document. Re-emits each time an attachment gets added or removed from the RxDocument.
-
-```javascript
-const all = [];
-myDocument.allAttachments$.subscribe(
- attachments => all = attachments
-);
-```
-
-## RxAttachment
-
-The attachments of RxDB are represented by the type `RxAttachment` which has the following attributes/methods.
-
-### doc
-
-The `RxDocument` which the attachment is assigned to.
-
-### id
-
-The id as `string` of the attachment.
-
-### type
-
-The type as `string` of the attachment.
-
-### length
-
-The length of the data of the attachment as `number`.
-
-### digest
-
-The hash of the attachments data as `string`.
-
-:::note
-The digest is NOT calculated by RxDB, instead it is calculated by the RxStorage. The only guarantee is that the digest will change when the attachments data changes.
-:::
-
-### rev
-
-The revision-number of the attachment as `number`.
-
-### remove()
-
-Removes the attachment. Returns a Promise that resolves when done.
-
-```javascript
-const attachment = myDocument.getAttachment('cat.jpg');
-await attachment.remove();
-```
-
-## getData()
-
-Returns a Promise which resolves the attachment's data as `Blob`. (async)
-
-```javascript
-const attachment = myDocument.getAttachment('cat.jpg');
-const blob = await attachment.getData(); // Blob
-```
-
-## getDataBase64()
-
-Returns a Promise which resolves the attachment's data as **base64** `string`.
-
-```javascript
-const attachment = myDocument.getAttachment('cat.jpg');
-const base64Database = await attachment.getDataBase64(); // 'bWVvdw=='
-```
-
-## getStringData()
-
-Returns a Promise which resolves the attachment's data as `string`.
-
-```javascript
-const attachment = await myDocument.getAttachment('cat.jpg');
-const data = await attachment.getStringData(); // 'meow'
-```
-
-# Attachment compression
-
-Storing many attachments can be a problem when the disc space of the device is exceeded.
-Therefore it can make sense to compress the attachments before storing them in the [RxStorage](./rx-storage.md).
-With the `attachments-compression` plugin you can compress the attachments data on write and decompress it on reads.
-This happens internally and will now change on how you use the api. The compression is run with the [Compression Streams API](https://developer.mozilla.org/en-US/docs/Web/API/Compression_Streams_API) which is only supported on [newer browsers](https://caniuse.com/?search=compressionstream).
-
-```ts
-import {
- wrappedAttachmentsCompressionStorage
-} from 'rxdb/plugins/attachments-compression';
-
-import { getRxStorageIndexedDB } from 'rxdb-premium/plugins/storage-indexeddb';
-
-// create a wrapped storage with attachment-compression.
-const storageWithAttachmentsCompression = wrappedAttachmentsCompressionStorage({
- storage: getRxStorageIndexedDB()
-});
-
-const db = await createRxDatabase({
- name: 'mydatabase',
- storage: storageWithAttachmentsCompression
-});
-
-// set the compression mode at the schema level
-const mySchema = {
- version: 0,
- type: 'object',
- properties: {
- // .
- // .
- // .
- },
- attachments: {
- compression: 'deflate' // <- Specify the compression mode here. OneOf ['deflate', 'gzip']
- }
-};
-
-/* ... create your collections as usual and store attachments in them. */
-
-```
diff --git a/docs/rx-collection.html b/docs/rx-collection.html
deleted file mode 100644
index a787039f2a0..00000000000
--- a/docs/rx-collection.html
+++ /dev/null
@@ -1,251 +0,0 @@
-
-
-
-
-
-Master Data - Create and Manage RxCollections | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
To create one or more collections you need a RxDatabase object which has the .addCollections()-method. Every collection needs a collection name and a valid RxJsonSchema. Other attributes are optional.
-
const myCollections = await myDatabase.addCollections({
- // key = collectionName
- humans: {
- schema: mySchema,
- statics: {}, // (optional) ORM-functions for this collection
- methods: {}, // (optional) ORM-functions for documents
- attachments: {}, // (optional) ORM-functions for attachments
- options: {}, // (optional) Custom parameters that might be used in plugins
- migrationStrategies: {}, // (optional)
- autoMigrate: true, // (optional) [default=true]
- cacheReplacementPolicy: function(){}, // (optional) custom cache replacement policy
- conflictHandler: function(){} // (optional) a custom conflict handler can be used
- },
- // you can create multiple collections at once
- animals: {
- // ...
- }
-});
The name uniquely identifies the collection and should be used to refine the collection in the database. Two different collections in the same database can never have the same name. Collection names must match the following regex: ^[a-z][a-z0-9]*$.
The schema defines how the documents of the collection are structured. RxDB uses a schema format, similar to JSON schema. Read more about the RxDB schema format here.
With the parameters statics, methods and attachments, you can define ORM-functions that are applied to each of these objects that belong to this collection. See ORM/DRM.
Calling this will return an rxjs-Observable which streams every change to data of this collection.
-
myCollection.$.subscribe(changeEvent => console.dir(changeEvent));
-
-// you can also observe single event-types with insert$ update$ remove$
-myCollection.insert$.subscribe(changeEvent => console.dir(changeEvent));
-myCollection.update$.subscribe(changeEvent => console.dir(changeEvent));
-myCollection.remove$.subscribe(changeEvent => console.dir(changeEvent));
-
Use this to insert new documents into the database. The collection will validate the schema and automatically encrypt any encrypted fields. Returns the new RxDocument.
The insertIfNotExists() method attempts to insert a new document into the collection only if a document with the same primary key does not already exist. This is useful for ensuring uniqueness without having to manually check for existing records before inserting or handling conflicts.
-
Returns either the newly added RxDocument or the previous existing document.
When you have to insert many documents at once, use bulk insert. This is much faster than calling .insert() multiple times.
-Returns an object with a success- and error-array.
bulkInsert will not fail on update conflicts and you cannot expect that on failure the other documents are not inserted. Also the call to bulkInsert() it will not throw if a single document errors because of validation errors. Instead it will return the error in the .error property of the returned object.
Instead of providing the document ids, you can also use the RxDocument instances. This can have better performance if your code knows them already at the moment of removing them:
Same as upsert() but runs over multiple documents. Improves performance compared to running many upsert() calls.
-Returns an error and a success array.
When you run many upsert operations on the same RxDocument in a very short timespan, you might get a 409 Conflict error.
-This means that you tried to run a .upsert() on the document, while the previous upsert operation was still running.
-To prevent these types of errors, you can run incremental upsert operations.
-The behavior is similar to RxDocument.incrementalModify.
-
const docData = {
- name: 'Bob', // primary
- lastName: 'Kelso'
-};
-
-myCollection.upsert(docData);
-myCollection.upsert(docData);
-// -> throws because of parallel update to the same document
-
-myCollection.incrementalUpsert(docData);
-myCollection.incrementalUpsert(docData);
-myCollection.incrementalUpsert(docData);
-
-// wait until last upsert finished
-await myCollection.incrementalUpsert(docData);
-// -> works
Find many documents by their id (primary value). This has a way better performance than running multiple findOne() or a find() with a big $or selector.
-
Returns a Map where the primary key of the document is mapped to the document. Documents that do not exist or are deleted, will not be inside of the returned Map.
Removes the collection's object instance from the RxDatabase. This is to free up memory and stop all observers and replications. It will not delete the collections data. When you create the collection again with database.addCollections(), the newly added collection will still have all data.
With these you can add a function that is run when the collection was closed or removed.
-This works even across multiple browser tabs so you can detect when another tab removes the collection
-and you application can behave accordingly.
-
await myCollection.onClose(() => console.log('I am closed'));
-await myCollection.onRemove(() => console.log('I am removed'));
-When I reload the browser window, will my collections still be in the database?
No, the javascript instance of the collections will not automatically load into the database on page reloads.
-You have to call the addCollections() method each time you create your database. This will create the JavaScript object instance of the RxCollection so that you can use it in the RxDatabase. The persisted data will be automatically in your RxCollection each time you create it.
-How to remove the limit of 16 collections?
In the open-source version of RxDB, the amount of RxCollections that can exist in parallel is limited to 16.
-To remove this limit, you can purchase the Premium Plugins and call the setPremiumFlag() function before creating a database:
import { setPremiumFlag } from 'rxdb-premium/plugins/shared';
-setPremiumFlag();
-
-
\ No newline at end of file
diff --git a/docs/rx-collection.md b/docs/rx-collection.md
deleted file mode 100644
index c5e000db159..00000000000
--- a/docs/rx-collection.md
+++ /dev/null
@@ -1,333 +0,0 @@
-# Master Data - Create and Manage RxCollections
-
-> Discover how to create, manage, and migrate documents in RxCollections. Harness real-time data flows, secure encryption, and powerful performance in RxDB.
-
-# RxCollection
-A collection stores documents of the same type.
-
-## Creating a Collection
-To create one or more collections you need a RxDatabase object which has the `.addCollections()`-method. Every collection needs a collection name and a valid `RxJsonSchema`. Other attributes are optional.
-
-```js
-const myCollections = await myDatabase.addCollections({
- // key = collectionName
- humans: {
- schema: mySchema,
- statics: {}, // (optional) ORM-functions for this collection
- methods: {}, // (optional) ORM-functions for documents
- attachments: {}, // (optional) ORM-functions for attachments
- options: {}, // (optional) Custom parameters that might be used in plugins
- migrationStrategies: {}, // (optional)
- autoMigrate: true, // (optional) [default=true]
- cacheReplacementPolicy: function(){}, // (optional) custom cache replacement policy
- conflictHandler: function(){} // (optional) a custom conflict handler can be used
- },
- // you can create multiple collections at once
- animals: {
- // ...
- }
-});
-```
-
-### name
-
-The name uniquely identifies the collection and should be used to refine the collection in the database. Two different collections in the same database can never have the same name. Collection names must match the following regex: `^[a-z][a-z0-9]*$`.
-
-### schema
-
-The schema defines how the documents of the collection are structured. RxDB uses a schema format, similar to [JSON schema](https://json-schema.org/). Read more about the RxDB schema format [here](./rx-schema.md).
-
-### ORM-functions
-With the parameters `statics`, `methods` and `attachments`, you can define ORM-functions that are applied to each of these objects that belong to this collection. See [ORM/DRM](./orm.md).
-
-### Migration
-With the parameters `migrationStrategies` and `autoMigrate` you can specify how migration between different schema-versions should be done. [See Migration](./migration-schema.md).
-
-## Get a collection from the database
-To get an existing collection from the database, call the collection name directly on the database:
-
-```javascript
-// newly created collection
-const collections = await db.addCollections({
- heroes: {
- schema: mySchema
- }
-});
-const collection2 = db.heroes;
-console.log(collections.heroes === collection2); //> true
-```
-
-## Functions
-
-### Observe $
-Calling this will return an [rxjs-Observable](https://rxjs.dev/guide/observable) which streams every change to data of this collection.
-
-```js
-myCollection.$.subscribe(changeEvent => console.dir(changeEvent));
-
-// you can also observe single event-types with insert$ update$ remove$
-myCollection.insert$.subscribe(changeEvent => console.dir(changeEvent));
-myCollection.update$.subscribe(changeEvent => console.dir(changeEvent));
-myCollection.remove$.subscribe(changeEvent => console.dir(changeEvent));
-
-```
-
-### insert()
-Use this to insert new documents into the database. The collection will validate the schema and automatically encrypt any encrypted fields. Returns the new RxDocument.
-
-```js
-const doc = await myCollection.insert({
- name: 'foo',
- lastname: 'bar'
-});
-```
-
-### insertIfNotExists()
-
-The insertIfNotExists() method attempts to insert a new document into the collection only if a document with the same primary key does not already exist. This is useful for ensuring uniqueness without having to manually check for existing records before inserting or handling [conflicts](./transactions-conflicts-revisions.md).
-
-Returns either the newly added [RxDocument](./rx-document.md) or the previous existing document.
-
-```js
-const doc = await myCollection.insertIfNotExists({
- name: 'foo',
- lastname: 'bar'
-});
-```
-
-### bulkInsert()
-
-When you have to insert many documents at once, use bulk insert. This is much faster than calling `.insert()` multiple times.
-Returns an object with a `success`- and `error`-array.
-
-```js
-const result = await myCollection.bulkInsert([{
- name: 'foo1',
- lastname: 'bar1'
-},
-{
- name: 'foo2',
- lastname: 'bar2'
-}]);
-
-// > {
-// success: [RxDocument, RxDocument],
-// error: []
-// }
-```
-
-:::note
-`bulkInsert` will not fail on update conflicts and you cannot expect that on failure the other documents are not inserted. Also the call to `bulkInsert()` it will not throw if a single document errors because of validation errors. Instead it will return the error in the `.error` property of the returned object.
-:::
-
-### bulkRemove()
-
-When you want to remove many documents at once, use bulk remove. Returns an object with a `success`- and `error`-array.
-
-```js
-const result = await myCollection.bulkRemove([
- 'primary1',
- 'primary2'
-]);
-
-// > {
-// success: [RxDocument, RxDocument],
-// error: []
-// }
-```
-
-Instead of providing the document ids, you can also use the [RxDocument](./rx-document.md) instances. This can have better performance if your code knows them already at the moment of removing them:
-```js
-const result = await myCollection.bulkRemove([
- myRxDocument1,
- myRxDocument2,
- /* ... */
-]);
-```
-
-### upsert()
-Inserts the document if it does not exist within the collection, otherwise it will overwrite it. Returns the new or overwritten RxDocument.
-```js
-const doc = await myCollection.upsert({
- name: 'foo',
- lastname: 'bar2'
-});
-```
-
-### bulkUpsert()
-Same as `upsert()` but runs over multiple documents. Improves performance compared to running many `upsert()` calls.
-Returns an `error` and a `success` array.
-
-```js
-const docs = await myCollection.bulkUpsert([
- {
- name: 'foo',
- lastname: 'bar2'
- },
- {
- name: 'bar',
- lastname: 'foo2'
- }
-]);
-/**
- * {
- * success: [RxDocument, RxDocument]
- * error: [],
- * }
- */
-```
-
-### incrementalUpsert()
-
-When you run many upsert operations on the same RxDocument in a very short timespan, you might get a `409 Conflict` error.
-This means that you tried to run a `.upsert()` on the document, while the previous upsert operation was still running.
-To prevent these types of errors, you can run incremental upsert operations.
-The behavior is similar to [RxDocument.incrementalModify](./rx-document.md#incrementalModify).
-
-```js
-const docData = {
- name: 'Bob', // primary
- lastName: 'Kelso'
-};
-
-myCollection.upsert(docData);
-myCollection.upsert(docData);
-// -> throws because of parallel update to the same document
-
-myCollection.incrementalUpsert(docData);
-myCollection.incrementalUpsert(docData);
-myCollection.incrementalUpsert(docData);
-
-// wait until last upsert finished
-await myCollection.incrementalUpsert(docData);
-// -> works
-```
-
-### find()
-To find documents in your collection, use this method. [See RxQuery.find()](./rx-query.md#find).
-
-```js
-// find all that are older than 18
-const olderDocuments = await myCollection
- .find()
- .where('age')
- .gt(18)
- .exec(); // execute
-```
-
-### findOne()
-This does basically what find() does, but it returns only a single document. You can pass a primary value to find a single document more easily.
-
-To find documents in your collection, use this method. [See RxQuery.find()](./rx-query.md#findOne).
-
-```js
-// get document with name:foobar
-myCollection.findOne({
- selector: {
- name: 'foo'
- }
-}).exec().then(doc => console.dir(doc));
-
-// get document by primary, functionally identical to above query
-myCollection.findOne('foo')
- .exec().then(doc => console.dir(doc));
-```
-
-### findByIds()
-
-Find many documents by their id (primary value). This has a way better performance than running multiple `findOne()` or a `find()` with a big `$or` selector.
-
-Returns a `Map` where the primary key of the document is mapped to the document. Documents that do not exist or are deleted, will not be inside of the returned Map.
-
-```js
-const ids = [
- 'alice',
- 'bob',
- /* ... */
-];
-const docsMap = await myCollection.findByIds(ids);
-
-console.dir(docsMap); // Map(2)
-```
-
-:::note
-The `Map` returned by `findByIds` is not guaranteed to return elements in the same order as the list of ids passed to it.
-:::
-
-### exportJSON()
-Use this function to create a json export from every document in the collection.
-
-Before `exportJSON()` and `importJSON()` can be used, you have to add the `json-dump` plugin.
-
-```javascript
-import { addRxPlugin } from 'rxdb';
-import { RxDBJsonDumpPlugin } from 'rxdb/plugins/json-dump';
-addRxPlugin(RxDBJsonDumpPlugin);
-```
-
-```js
-myCollection.exportJSON()
- .then(json => console.dir(json));
-```
-
-### importJSON()
-To import the json dump into your collection, use this function.
-```js
-// import the dump to the database
-myCollection.importJSON(json)
- .then(() => console.log('done'));
-```
-Note that importing will fire events for each inserted document.
-
-### remove()
-
-Removes all known data of the collection and its previous versions.
-This removes the documents, the schemas, and older schemaVersions.
-
-```js
-await myCollection.remove();
-// collection is now removed and can be re-created
-```
-
-### close()
-Removes the collection's object instance from the [RxDatabase](./rx-database.md). This is to free up memory and stop all observers and replications. It will not delete the collections data. When you create the collection again with `database.addCollections()`, the newly added collection will still have all data.
-```js
-await myCollection.close();
-```
-
-### onClose / onRemove()
-With these you can add a function that is run when the collection was closed or removed.
-This works even across multiple browser tabs so you can detect when another tab removes the collection
-and you application can behave accordingly.
-
-```js
-await myCollection.onClose(() => console.log('I am closed'));
-await myCollection.onRemove(() => console.log('I am removed'));
-```
-
-### isRxCollection
-Returns true if the given object is an instance of RxCollection. Returns false if not.
-```js
-const is = isRxCollection(myObj);
-```
-
-## FAQ
-
-
- When I reload the browser window, will my collections still be in the database?
-
- No, the javascript instance of the collections will not automatically load into the database on page reloads.
- You have to call the `addCollections()` method each time you create your database. This will create the JavaScript object instance of the RxCollection so that you can use it in the RxDatabase. The persisted data will be automatically in your RxCollection each time you create it.
-
-
-
- How to remove the limit of 16 collections?
-
- In the open-source version of RxDB, the amount of RxCollections that can exist in parallel is limited to `16`.
- To remove this limit, you can purchase the [Premium Plugins](/premium/) and call the `setPremiumFlag()` function before creating a database:
- ```ts
- import { setPremiumFlag } from 'rxdb-premium/plugins/shared';
- setPremiumFlag();
- ```
-
-
diff --git a/docs/rx-database.html b/docs/rx-database.html
deleted file mode 100644
index fc176fd442e..00000000000
--- a/docs/rx-database.html
+++ /dev/null
@@ -1,207 +0,0 @@
-
-
-
-
-
-RxDatabase - The Core of Your Realtime Data | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
The database-name is a string which uniquely identifies the database. When two RxDatabases have the same name and use the same RxStorage, their data can be assumed as equal and they will share events between each other.
-Depending on the storage or adapter this can also be used to define the filesystem folder of your data.
RxDB works on top of an implementation of the RxStorage interface. This interface is an abstraction that allows you to use different underlying databases that actually handle the documents. Depending on your use case you might use a different storage with different tradeoffs in performance, bundle size or supported runtimes.
-
There are many RxStorage implementations that can be used depending on the JavaScript environment and performance requirements.
-For example you can use the LocalStorage RxStorage in the browser or use the MongoDB RxStorage in Node.js.
(optional)
-If you want to use encrypted fields in the collections of a database, you have to set a password for it. The password must be a string with at least 12 characters.
(optional=true)
-When you create more than one instance of the same database in a single javascript-runtime, you should set multiInstance to true. This will enable the event sharing between the two instances. For example when the user has opened multiple browser windows, events will be shared between them so that both windows react to the same changes.
-multiInstance should be set to false when you have single-instances like a single Node.js-process, a react-native-app, a cordova-app or a single-window electron app which can decrease the startup time because no instance coordination has to be done.
One big benefit of having a realtime database is that big performance optimizations can be done when the database knows a query is observed and the updated results are needed continuously. RxDB uses the EventReduce Algorithm to optimize observer or recurring queries.
-
For better performance, you should always set eventReduce: true. This will also be the default in the next major RxDB version.
(optional=false)
-If you create multiple RxDatabase-instances with the same name and same adapter, it's very likely that you have done something wrong.
-To prevent this common mistake, RxDB will throw an error when you do this.
-In some rare cases like unit-tests, you want to do this intentional by setting ignoreDuplicate to true. Because setting ignoreDuplicate: true in production will decrease the performance by having multiple instances of the same database, ignoreDuplicate is only allowed to be set in dev-mode.
-
const db1 = await createRxDatabase({
- name: 'heroesdb',
- storage: getRxStorageLocalstorage(),
- ignoreDuplicate: true
-});
-const db2 = await createRxDatabase({
- name: 'heroesdb',
- storage: getRxStorageLocalstorage(),
- ignoreDuplicate: true // this create-call will not throw because you explicitly allow it
-});
By default, RxDB will use crypto.subtle.digest('SHA-256', data) for hashing. If you need a different hash function or the crypto.subtle API is not supported in your JavaScript runtime, you can provide an own hash function instead. A hash function gets a string as input and returns a Promise that resolves a string.
-
// example hash function that runs in plain JavaScript
-import { sha256 } from 'ohash';
-function myOwnHashFunction(input: string) {
- return Promise.resolve(sha256(input));
-}
-const db = await createRxDatabase({
- hashFunction: myOwnHashFunction
- /* ... */
-});
-
If you get the error message TypeError: Cannot read properties of undefined (reading 'digest') this likely means that you are neither running on localhost nor on https which is why your browser might not allow access to crypto.subtle.digest.
Use this function to create a json-export from every piece of data in every collection of this database. You can pass true as a parameter to decrypt the encrypted data-fields of your document.
-
Before exportJSON() and importJSON() can be used, you have to add the json-dump plugin.
-
import { addRxPlugin } from 'rxdb';
-import { RxDBJsonDumpPlugin } from 'rxdb/plugins/json-dump';
-addRxPlugin(RxDBJsonDumpPlugin);
Returns a promise which resolves when the database is in idle. This works similar to requestIdleCallback but tracks the idle-ness of the database instead of the CPU.
-Use this for semi-important tasks like cleanups which should not affect the speed of important tasks.
-
-myDatabase.requestIdlePromise().then(() => {
- // this will run at the moment the database has nothing else to do
- myCollection.customCleanupFunction();
-});
-
-// with timeout
-myDatabase.requestIdlePromise(1000 /* time in ms */).then(() => {
- // this will run at the moment the database has nothing else to do
- // or the timeout has passed
- myCollection.customCleanupFunction();
-});
-
Closes the databases object-instance. This is to free up memory and stop all observers and replications.
-Returns a Promise that resolves when the database is closed.
-Closing a database will not remove the databases data. When you create the database again with createRxDatabase(), all data will still be there.
Wipes all documents from the storage. Use this to free up disc space.
-
await myDatabase.remove();
-// database instance is now gone
-
You can also clear a database without removing its instance by using removeRxDatabase(). This is useful if you want to migrate data or reset the users state by renaming the database. Then you can remove the previous data with removeRxDatabase() without creating a RxDatabase first. Notice that this will only remove the
-stored data on the storage. It will not clear the cache of any RxDatabase instances.
-
import { removeRxDatabase } from 'rxdb';
-removeRxDatabase('mydatabasename', 'localstorage');
Emits events whenever a RxCollection is added or removed to the instance of the RxDatabase. Notice that this only emits the JavaScript instance of the RxCollection class, it does not emit events across browser tabs.
-
-
\ No newline at end of file
diff --git a/docs/rx-database.md b/docs/rx-database.md
deleted file mode 100644
index 1b65198b6fe..00000000000
--- a/docs/rx-database.md
+++ /dev/null
@@ -1,248 +0,0 @@
-# RxDatabase - The Core of Your Realtime Data
-
-> Get started with RxDatabase and integrate multiple storages. Learn to create, encrypt, and optimize your realtime database today.
-
-# RxDatabase
-
-A RxDatabase-Object contains your collections and handles the synchronization of change-events.
-
-## Creation
-
-The database is created by the asynchronous `.createRxDatabase()` function of the core RxDB module. It has the following parameters:
-
-```javascript
-import { createRxDatabase } from 'rxdb/plugins/core';
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-
-const db = await createRxDatabase({
- name: 'heroesdb', // <- name
- storage: getRxStorageLocalstorage(), // <- RxStorage
-
- /* Optional parameters: */
- password: 'myPassword', // <- password (optional)
- multiInstance: true, // <- multiInstance (optional, default: true)
- eventReduce: true, // <- eventReduce (optional, default: false)
- cleanupPolicy: {} // <- custom cleanup policy (optional)
-});
-```
-
-### name
-
-The database-name is a string which uniquely identifies the database. When two RxDatabases have the same name and use the same `RxStorage`, their data can be assumed as equal and they will share events between each other.
-Depending on the storage or adapter this can also be used to define the filesystem folder of your data.
-
-### storage
-
-RxDB works on top of an implementation of the [RxStorage](./rx-storage.md) interface. This interface is an abstraction that allows you to use different underlying databases that actually handle the documents. Depending on your use case you might use a different `storage` with different tradeoffs in performance, bundle size or supported runtimes.
-
-There are many `RxStorage` implementations that can be used depending on the JavaScript environment and performance requirements.
-For example you can use the [LocalStorage RxStorage](./rx-storage-localstorage.md) in the browser or use the [MongoDB RxStorage](./rx-storage-mongodb.md) in Node.js.
-
-- [List of RxStorage implementations](./rx-storage.md)
-
-```javascript
-
-// use the LocalStroage that stores data in the browser.
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-
-const db = await createRxDatabase({
- name: 'mydatabase',
- storage: getRxStorageLocalstorage()
-});
-
-// ...or use the MongoDB RxStorage in Node.js.
-import { getRxStorageMongoDB } from 'rxdb/plugins/storage-mongodb';
-
-const dbMongo = await createRxDatabase({
- name: 'mydatabase',
- storage: getRxStorageMongoDB({
- connection: 'mongodb://localhost:27017,localhost:27018,localhost:27019'
- })
-});
-```
-
-### password
-`(optional)`
-If you want to use encrypted fields in the collections of a database, you have to set a password for it. The password must be a string with at least 12 characters.
-
-[Read more about encryption here](./encryption.md).
-
-### multiInstance
-`(optional=true)`
-When you create more than one instance of the same database in a single javascript-runtime, you should set `multiInstance` to ```true```. This will enable the event sharing between the two instances. For example when the user has opened multiple browser windows, events will be shared between them so that both windows react to the same changes.
-`multiInstance` should be set to `false` when you have single-instances like a single Node.js-process, a react-native-app, a cordova-app or a single-window [electron](./electron-database.md) app which can decrease the startup time because no instance coordination has to be done.
-
-### eventReduce
-`(optional=false)`
-
-One big benefit of having a realtime database is that big performance optimizations can be done when the database knows a query is observed and the updated results are needed continuously. RxDB uses the [EventReduce Algorithm](https://github.com/pubkey/event-reduce) to optimize observer or recurring queries.
-
-For better performance, you should always set `eventReduce: true`. This will also be the default in the next major RxDB version.
-
-### ignoreDuplicate
-`(optional=false)`
-If you create multiple RxDatabase-instances with the same name and same adapter, it's very likely that you have done something wrong.
-To prevent this common mistake, RxDB will throw an error when you do this.
-In some rare cases like unit-tests, you want to do this intentional by setting `ignoreDuplicate` to `true`. Because setting `ignoreDuplicate: true` in production will decrease the performance by having multiple instances of the same database, `ignoreDuplicate` is only allowed to be set in [dev-mode](./dev-mode.md).
-
-```js
-const db1 = await createRxDatabase({
- name: 'heroesdb',
- storage: getRxStorageLocalstorage(),
- ignoreDuplicate: true
-});
-const db2 = await createRxDatabase({
- name: 'heroesdb',
- storage: getRxStorageLocalstorage(),
- ignoreDuplicate: true // this create-call will not throw because you explicitly allow it
-});
-```
-
-### closeDuplicates
-`(optional=false)`
-
-Closes all other RxDatabases instances that have the same storage+name combination.
-
-```js
-const db1 = await createRxDatabase({
- name: 'heroesdb',
- storage: getRxStorageLocalstorage(),
- closeDuplicates: true
-});
-const db2 = await createRxDatabase({
- name: 'heroesdb',
- storage: getRxStorageLocalstorage(),
- closeDuplicates: true // this create-call will close db1
-});
-
-// db1 is now closed.
-```
-
-### hashFunction
-
-By default, RxDB will use `crypto.subtle.digest('SHA-256', data)` for hashing. If you need a different hash function or the `crypto.subtle` API is not supported in your JavaScript runtime, you can provide an own hash function instead. A hash function gets a string as input and returns a `Promise` that resolves a string.
-
-```ts
-// example hash function that runs in plain JavaScript
-import { sha256 } from 'ohash';
-function myOwnHashFunction(input: string) {
- return Promise.resolve(sha256(input));
-}
-const db = await createRxDatabase({
- hashFunction: myOwnHashFunction
- /* ... */
-});
-```
-
-If you get the error message `TypeError: Cannot read properties of undefined (reading 'digest')` this likely means that you are neither running on `localhost` nor on `https` which is why your browser might not allow access to `crypto.subtle.digest`.
-
-## Methods
-
-### Observe with $
-Calling this will return an [rxjs-Observable](http://reactivex.io/documentation/observable.html) which streams all write events of the `RxDatabase`.
-
-```javascript
-myDb.$.subscribe(changeEvent => console.dir(changeEvent));
-```
-
-### exportJSON()
-Use this function to create a json-export from every piece of data in every collection of this database. You can pass `true` as a parameter to decrypt the encrypted data-fields of your document.
-
-Before `exportJSON()` and `importJSON()` can be used, you have to add the `json-dump` plugin.
-
-```javascript
-import { addRxPlugin } from 'rxdb';
-import { RxDBJsonDumpPlugin } from 'rxdb/plugins/json-dump';
-addRxPlugin(RxDBJsonDumpPlugin);
-```
-
-```javascript
-myDatabase.exportJSON()
- .then(json => console.dir(json));
-```
-
-### importJSON()
-To import the json-dumps into your database, use this function.
-
-```javascript
-// import the dump to the database
-emptyDatabase.importJSON(json)
- .then(() => console.log('done'));
-```
-
-### backup()
-
-Writes the current (or ongoing) database state to the filesystem. [Read more](./backup.md)
-
-### waitForLeadership()
-Returns a Promise which resolves when the RxDatabase becomes [elected leader](./leader-election.md).
-
-### requestIdlePromise()
-Returns a promise which resolves when the database is in idle. This works similar to [requestIdleCallback](https://developer.mozilla.org/de/docs/Web/API/Window/requestIdleCallback) but tracks the idle-ness of the database instead of the CPU.
-Use this for semi-important tasks like cleanups which should not affect the speed of important tasks.
-
-```javascript
-
-myDatabase.requestIdlePromise().then(() => {
- // this will run at the moment the database has nothing else to do
- myCollection.customCleanupFunction();
-});
-
-// with timeout
-myDatabase.requestIdlePromise(1000 /* time in ms */).then(() => {
- // this will run at the moment the database has nothing else to do
- // or the timeout has passed
- myCollection.customCleanupFunction();
-});
-
-```
-
-### close()
-Closes the databases object-instance. This is to free up memory and stop all observers and replications.
-Returns a `Promise` that resolves when the database is closed.
-Closing a database will not remove the databases data. When you create the database again with `createRxDatabase()`, all data will still be there.
-```javascript
-await myDatabase.close();
-```
-
-### remove()
-Wipes all documents from the storage. Use this to free up disc space.
-
-```javascript
-await myDatabase.remove();
-// database instance is now gone
-```
-
-You can also clear a database without removing its instance by using `removeRxDatabase()`. This is useful if you want to migrate data or reset the users state by renaming the database. Then you can remove the previous data with `removeRxDatabase()` without creating a RxDatabase first. Notice that this will only remove the
-stored data on the storage. It will not clear the cache of any [RxDatabase](./rx-database.md) instances.
-```javascript
-import { removeRxDatabase } from 'rxdb';
-removeRxDatabase('mydatabasename', 'localstorage');
-```
-
-### isRxDatabase
-Returns true if the given object is an instance of RxDatabase. Returns false if not.
-```javascript
-import { isRxDatabase } from 'rxdb';
-const is = isRxDatabase(myObj);
-```
-
-### collections$
-
-Emits events whenever a [RxCollection](./rx-collection.md) is added or removed to the instance of the RxDatabase. Notice that this only emits the JavaScript instance of the RxCollection class, it does not emit events across browser tabs.
-
-```javascript
-const sub = myDatabase.collections$.subscribe(event => {
- console.dir(event);
-});
-
-await myDatabase.addCollections({
- heroes: {
- schema: mySchema
- }
-});
-
-// -> emits the event
-
-sub.unsubscribe();
-```
diff --git a/docs/rx-document.html b/docs/rx-document.html
deleted file mode 100644
index 59447ef6d6c..00000000000
--- a/docs/rx-document.html
+++ /dev/null
@@ -1,233 +0,0 @@
-
-
-
-
-
-RxDocument | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
A RxDocument is a object which represents the data of a single JSON document is stored in a collection. It can be compared to a single record in a relational database table. You get an RxDocument either as return on inserts/updates, or as result-set of queries.
-
RxDB works on RxDocuments instead of plain JSON data to have more convenient operations on the documents. Also Documents that are fetched multiple times by different queries or operations are automatically de-duplicated by RxDB in memory.
All properties of a RxDocument are assigned as getters so you can also directly access values instead of using the get()-function.
-
// Identical to myDocument.get('name');
- var name = myDocument.name;
- // Can also get nested values.
- var nestedValue = myDocument.whatever.nestedfield;
-
- // Also usable with observables:
- myDocument.firstName$.subscribe(newName => console.log('name is: ' + newName));
- // > 'name is: Stefe'
- await myDocument.incrementalPatch({firstName: 'Steve'});
- // > 'name is: Steve'
Making a normal change to the non-latest version of a RxDocument will lead to a 409 CONFLICT error because RxDB
-uses revision checks instead of transactions.
-
To make a change to a document, no matter what the current state is, you can use the incremental methods:
This removes the document from the collection. Notice that this will not purge the document from the store but set _deleted:true so that it will be no longer returned on queries.
-To fully purge a document, use the cleanup plugin.
Sometimes you want to change a documents value and also remove it in the same operation. For example this can be useful when you use replication and want to set a deletedAt timestamp. Then you might have to ensure that setting this timestamp and deleting the document happens in the same atomic operation.
-
To do this the modifying operations of a document accept setting the _deleted field. For example:
Returns the document's data as plain json object. This will return an immutable object. To get something that can be modified, use toMutableJSON() instead.
Same as toJSON() but returns a deep cloned object that can be mutated afterwards.
-Remember that deep cloning is performance expensive and should only be done when necessary.
-
const json = myDocument.toMutableJSON();
-json.firstName = 'Alice'; // The returned document can be mutated
-
All methods of RxDocument are bound to the instance
When you get a method from a RxDocument, the method is automatically bound to the documents instance. This means you do not have to use things like myMethod.bind(myDocument) like you would do in jsx.
-
-
\ No newline at end of file
diff --git a/docs/rx-document.md b/docs/rx-document.md
deleted file mode 100644
index 4dff291d006..00000000000
--- a/docs/rx-document.md
+++ /dev/null
@@ -1,283 +0,0 @@
-# RxDocument
-
-> Master RxDB's RxDocument - Insert, find, update, remove, and more for streamlined data handling in modern apps.
-
-# RxDocument
-A RxDocument is a object which represents the data of a single JSON document is stored in a collection. It can be compared to a single record in a relational database table. You get an `RxDocument` either as return on inserts/updates, or as result-set of [queries](./rx-query.md).
-
-RxDB works on RxDocuments instead of plain JSON data to have more convenient operations on the documents. Also Documents that are fetched multiple times by different queries or operations are automatically de-duplicated by RxDB in memory.
-
-## insert
-To insert a document into a collection, you have to call the collection's .insert()-function.
-```js
-await myCollection.insert({
- name: 'foo',
- lastname: 'bar'
-});
-```
-
-## find
-To find documents in a collection, you have to call the collection's .find()-function. [See RxQuery](./rx-query.md).
-```js
-const docs = await myCollection.find().exec(); // <- find all documents
-```
-
-## Functions
-
-### get()
-This will get a single field of the document. If the field is encrypted, it will be automatically decrypted before returning.
-
-```js
-const name = myDocument.get('name'); // returns the name
-// OR
-const name = myDocument.name;
-```
-
-### get$()
-This function returns an observable of the given paths-value.
-The current value of this path will be emitted each time the document changes.
-```js
-// get the live-updating value of 'name'
-var isName;
-myDocument.get$('name')
- .subscribe(newName => {
- isName = newName;
- });
-
-await myDocument.incrementalPatch({name: 'foobar2'});
-console.dir(isName); // isName is now 'foobar2'
-
-// OR
-
-myDocument.name$
- .subscribe(newName => {
- isName = newName;
- });
-
-```
-
-### proxy-get
-All properties of a `RxDocument` are assigned as getters so you can also directly access values instead of using the get()-function.
-
-```js
- // Identical to myDocument.get('name');
- var name = myDocument.name;
- // Can also get nested values.
- var nestedValue = myDocument.whatever.nestedfield;
-
- // Also usable with observables:
- myDocument.firstName$.subscribe(newName => console.log('name is: ' + newName));
- // > 'name is: Stefe'
- await myDocument.incrementalPatch({firstName: 'Steve'});
- // > 'name is: Steve'
-```
-
-### update()
-Updates the document based on the [mongo-update-syntax](https://docs.mongodb.com/manual/reference/operator/update-field/), based on the [mingo library](https://github.com/kofrasa/mingo#updating-documents).
-
-```js
-
-/**
- * If not done before, you have to add the update plugin.
- */
-import { addRxPlugin } from 'rxdb';
-import { RxDBUpdatePlugin } from 'rxdb/plugins/update';
-addRxPlugin(RxDBUpdatePlugin);
-
-await myDocument.update({
- $inc: {
- age: 1 // increases age by 1
- },
- $set: {
- firstName: 'foobar' // sets firstName to foobar
- }
-});
-```
-
-### modify()
-Updates a documents data based on a function that mutates the current data and returns the new value.
-
-```js
-
-const changeFunction = (oldData) => {
- oldData.age = oldData.age + 1;
- oldData.name = 'foooobarNew';
- return oldData;
-}
-await myDocument.modify(changeFunction);
-console.log(myDocument.name); // 'foooobarNew'
-```
-
-### patch()
-
-Overwrites the given attributes over the documents data.
-
-```js
-await myDocument.patch({
- name: 'Steve',
- age: undefined // setting an attribute to undefined will remove it
-});
-console.log(myDocument.name); // 'Steve'
-```
-
-### Prevent conflicts with the incremental methods
-
-Making a normal change to the non-latest version of a `RxDocument` will lead to a `409 CONFLICT` error because RxDB
-uses [revision checks](./transactions-conflicts-revisions.md) instead of transactions.
-
-To make a change to a document, no matter what the current state is, you can use the `incremental` methods:
-
-```js
-// update
-await myDocument.incrementalUpdate({
- $inc: {
- age: 1 // increases age by 1
- }
-});
-
-// modify
-await myDocument.incrementalModify(docData => {
- docData.age = docData.age + 1;
- return docData;
-});
-
-// patch
-await myDocument.incrementalPatch({
- age: 100
-});
-
-// remove
-await myDocument.incrementalRemove({
- age: 100
-});
-```
-
-### getLatest()
-
-Returns the latest known state of the `RxDocument`.
-
-```js
-const myDocument = await myCollection.findOne('foobar').exec();
-const docAfterEdit = await myDocument.incrementalPatch({
- age: 10
-});
-const latestDoc = myDocument.getLatest();
-console.log(docAfterEdit === latestDoc); // > true
-```
-
-### Observe $
-Calling this will return an [RxJS-Observable](https://rxjs.dev/guide/observable) which the current newest state of the RxDocument.
-
-```js
-// get all changeEvents
-myDocument.$
- .subscribe(currentRxDocument => console.dir(currentRxDocument));
-```
-
-### remove()
-This removes the document from the collection. Notice that this will not purge the document from the store but set `_deleted:true` so that it will be no longer returned on queries.
-To fully purge a document, use the [cleanup plugin](./cleanup.md).
-```js
-myDocument.remove();
-```
-
-### Remove and update in a single atomic operation
-
-Sometimes you want to change a documents value and also remove it in the same operation. For example this can be useful when you use [replication](./replication.md) and want to set a `deletedAt` timestamp. Then you might have to ensure that setting this timestamp and deleting the document happens in the same atomic operation.
-
-To do this the modifying operations of a document accept setting the `_deleted` field. For example:
-
-```ts
-
-// update() and remove()
-await doc.update({
- $set: {
- deletedAt: new Date().getTime(),
- _deleted: true
- }
-});
-
-// modify() and remove()
-await doc.modify(data => {
- data.age = 1;
- data._deleted = true;
- return data;
-});
-```
-
-### deleted$
-Emits a boolean value, depending on whether the RxDocument is deleted or not.
-
-```js
-let lastState = null;
-myDocument.deleted$.subscribe(state => lastState = state);
-
-console.log(lastState);
-// false
-
-await myDocument.remove();
-
-console.log(lastState);
-// true
-```
-
-### get deleted
-A getter to get the current value of `deleted$`.
-
-```js
-console.log(myDocument.deleted);
-// false
-
-await myDocument.remove();
-
-console.log(myDocument.deleted);
-// true
-```
-
-### toJSON()
-
-Returns the document's data as plain json object. This will return an **immutable** object. To get something that can be modified, use `toMutableJSON()` instead.
-
-```js
-const json = myDocument.toJSON();
-console.dir(json);
-/* { passportId: 'h1rg9ugdd30o',
- firstName: 'Carolina',
- lastName: 'Gibson',
- age: 33 ...
-*/
-```
-
-You can also set `withMetaFields: true` to get additional meta fields like the revision, attachments or the deleted flag.
-
-```js
-const json = myDocument.toJSON(true);
-console.dir(json);
-/* { passportId: 'h1rg9ugdd30o',
- firstName: 'Carolina',
- lastName: 'Gibson',
- _deleted: false,
- _attachments: { ... },
- _rev: '1-aklsdjfhaklsdjhf...'
-*/
-```
-
-### toMutableJSON()
-
-Same as `toJSON()` but returns a deep cloned object that can be mutated afterwards.
-Remember that deep cloning is performance expensive and should only be done when necessary.
-
-```js
-const json = myDocument.toMutableJSON();
-json.firstName = 'Alice'; // The returned document can be mutated
-```
-
-:::note All methods of RxDocument are bound to the instance
-When you get a method from a `RxDocument`, the method is automatically bound to the documents instance. This means you do not have to use things like `myMethod.bind(myDocument)` like you would do in jsx.
-:::
-
-### isRxDocument
-Returns true if the given object is an instance of RxDocument. Returns false if not.
-```js
-const is = isRxDocument(myObj);
-```
diff --git a/docs/rx-local-document.html b/docs/rx-local-document.html
deleted file mode 100644
index 97fca8ea5c3..00000000000
--- a/docs/rx-local-document.html
+++ /dev/null
@@ -1,140 +0,0 @@
-
-
-
-
-
-Master Local Documents in RxDB | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Local documents are a special class of documents which are used to store local metadata.
-They come in handy when you want to store settings or additional data next to your documents.
To enable the local documents, you have to add the local-documents plugin.
-
import { addRxPlugin } from 'rxdb';
-import { RxDBLocalDocumentsPlugin } from 'rxdb/plugins/local-documents';
-addRxPlugin(RxDBLocalDocumentsPlugin);
-
Activate the plugin for a RxDatabase or RxCollection
-
For better performance, the local document plugin does not create a storage for every database or collection that is created.
-Instead you have to set localDocuments: true when you want to store local documents in the instance.
-
// activate local documents on a RxDatabase
-const myDatabase = await createRxDatabase({
- name: 'mydatabase',
- storage: getRxStorageLocalstorage(),
- localDocuments: true // <- activate this to store local documents in the database
-});
-
-myDatabase.addCollections({
- messages: {
- schema: messageSchema,
- localDocuments: true // <- activate this to store local documents in the collection
- }
-});
-
note
If you want to store local documents in a RxCollection but NOT in the RxDatabase, you MUST NOT set localDocuments: true in the RxDatabase because it will only slow down the initial database creation.
Creates a local document for the database or collection. Throws if a local document with the same id already exists. Returns a Promise which resolves the new RxLocalDocument.
-
const localDoc = await myCollection.insertLocal(
- 'foobar', // id
- { // data
- foo: 'bar'
- }
-);
-
-// you can also use local-documents on a database
-const localDoc = await myDatabase.insertLocal(
- 'foobar', // id
- { // data
- foo: 'bar'
- }
-);
-
-
\ No newline at end of file
diff --git a/docs/rx-local-document.md b/docs/rx-local-document.md
deleted file mode 100644
index f4bb364eb56..00000000000
--- a/docs/rx-local-document.md
+++ /dev/null
@@ -1,157 +0,0 @@
-# Master Local Documents in RxDB
-
-> Effortlessly store custom metadata and app settings in RxDB. Learn how Local Documents keep data flexible, secure, and easy to manage.
-
-# Local Documents
-
-Local documents are a special class of documents which are used to store local metadata.
-They come in handy when you want to store settings or additional data next to your documents.
-
-- Local Documents can exist on a [RxDatabase](./rx-database.md) or [RxCollection](./rx-collection.md).
-- Local Document do not have to match the collections schema.
-- Local Documents do not get replicated.
-- Local Documents will not be found on queries.
-- Local Documents can not have attachments.
-- Local Documents will not get handled by the [migration-schema](./migration-schema.md).
-- The id of a local document has the `maxLength` of `128` characters.
-
-:::note
-While local documents can be very useful, in many cases the [RxState](./rx-state.md) API is more convenient.
-:::
-
-## Add the local documents plugin
-
-To enable the local documents, you have to add the `local-documents` plugin.
-
-```ts
-import { addRxPlugin } from 'rxdb';
-import { RxDBLocalDocumentsPlugin } from 'rxdb/plugins/local-documents';
-addRxPlugin(RxDBLocalDocumentsPlugin);
-```
-
-## Activate the plugin for a RxDatabase or RxCollection
-
-For better performance, the local document plugin does not create a storage for every database or collection that is created.
-Instead you have to set `localDocuments: true` when you want to store local documents in the instance.
-
-```js
-// activate local documents on a RxDatabase
-const myDatabase = await createRxDatabase({
- name: 'mydatabase',
- storage: getRxStorageLocalstorage(),
- localDocuments: true // <- activate this to store local documents in the database
-});
-
-myDatabase.addCollections({
- messages: {
- schema: messageSchema,
- localDocuments: true // <- activate this to store local documents in the collection
- }
-});
-```
-
-:::note
-If you want to store local documents in a `RxCollection` but **NOT** in the `RxDatabase`, you **MUST NOT** set `localDocuments: true` in the `RxDatabase` because it will only slow down the initial database creation.
-:::
-
-## insertLocal()
-
-Creates a local document for the database or collection. Throws if a local document with the same id already exists. Returns a Promise which resolves the new `RxLocalDocument`.
-
-```javascript
-const localDoc = await myCollection.insertLocal(
- 'foobar', // id
- { // data
- foo: 'bar'
- }
-);
-
-// you can also use local-documents on a database
-const localDoc = await myDatabase.insertLocal(
- 'foobar', // id
- { // data
- foo: 'bar'
- }
-);
-```
-
-## upsertLocal()
-
-Creates a local document for the database or collection if not exists. Overwrites the if exists. Returns a Promise which resolves the `RxLocalDocument`.
-
-```javascript
-const localDoc = await myCollection.upsertLocal(
- 'foobar', // id
- { // data
- foo: 'bar'
- }
-);
-```
-
-## getLocal()
-
-Find a `RxLocalDocument` by its id. Returns a Promise which resolves the `RxLocalDocument` or `null` if not exists.
-
-```javascript
-const localDoc = await myCollection.getLocal('foobar');
-```
-
-## getLocal$()
-
-Like `getLocal()` but returns an `Observable` that emits the document or `null` if not exists.
-
-```javascript
-const subscription = myCollection.getLocal$('foobar').subscribe(documentOrNull => {
- console.dir(documentOrNull); // > RxLocalDocument or null
-});
-```
-
-## RxLocalDocument
-
-A `RxLocalDocument` behaves like a normal `RxDocument`.
-
-```javascript
-const localDoc = await myCollection.getLocal('foobar');
-
-// access data
-const foo = localDoc.get('foo');
-
-// change data
-localDoc.set('foo', 'bar2');
-await localDoc.save();
-
-// observe data
-localDoc.get$('foo').subscribe(value => { /* .. */ });
-
-// remove it
-await localDoc.remove();
-```
-
-:::note
-Because the local document does not have a schema, accessing the documents data-fields via pseudo-proxy will not work.
-:::
-
-```javascript
-const foo = localDoc.foo; // undefined
-const foo = localDoc.get('foo'); // works!
-
-localDoc.foo = 'bar'; // does not work!
-localDoc.set('foo', 'bar'); // works
-```
-
-For the usage with typescript, you can have access to the typed data of the document over `toJSON()`
-
-```ts
-declare type MyLocalDocumentType = {
- foo: string
-}
-const localDoc = await myCollection.upsertLocal(
- 'foobar', // id
- { // data
- foo: 'bar'
- }
-);
-
-// typescript will know that foo is a string
-const foo: string = localDoc.toJSON().foo;
-```
diff --git a/docs/rx-pipeline.html b/docs/rx-pipeline.html
deleted file mode 100644
index d518c47133c..00000000000
--- a/docs/rx-pipeline.html
+++ /dev/null
@@ -1,191 +0,0 @@
-
-
-
-
-
-RxPipeline - Automate Data Flows in RxDB | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
The RxPipeline plugin enables you to run operations depending on writes to a collection.
-Whenever a write happens on the source collection of a pipeline, a handler is called to process the writes and run operations on another collection.
-
You could have a similar behavior by observing the collection stream and process data on emits:
While this could work in some cases, it causes many problems that are fixed by using the pipeline plugin instead:
-
-
In an RxPipeline, only the Leading Instance runs the operations. For example when you have multiple browser tabs open, only one will run the processing and when that tab is closed, another tab will become elected leader and continue the pipeline processing.
-
On sudden stops and restarts of the JavaScript process, the processing will continue at the correct checkpoint and not miss out any documents even on unexpected crashes.
-
Reads/Writes on the destination collection are halted while the pipeline is processing. This ensures your queries only return fully processed documents and no partial results. So when you run a query to the destination collection directly after a write to the source collection, you can be sure your query results are up to date and the pipeline has already been run at the moment the query resolved:
-
-
await mySourceCollection.insert({/* ... */});
-
-/**
- * Because our pipeline blocks reads to the destination,
- * we know that the result array contains data created
- * on top of the previously inserted documents.
- */
-const result = myDestinationCollection.find().exec();
Pipelines are created on top of a source RxCollection and have another RxCollection as destination. An identifier is used to identify the state of the pipeline so that different pipelines have a different processing checkpoint state. A plain JavaScript function handler is used to process the data of the source collection writes.
-
const pipeline = await mySourceCollection.addPipeline({
- identifier: 'my-pipeline',
- destination: myDestinationCollection,
- handler: async (docs) => {
- /**
- * Here you can process the documents and write to
- * the destination collection.
- */
- for (const doc of docs) {
- await myDestinationCollection.insert({
- id: doc.primary,
- category: doc.category
- });
- }
- }
-});
The RxPipeline is a handy building block for different features and plugins. You can use it to aggregate data or restructure local data.
-
UseCase: Re-Index data that comes from replication
-
Sometimes you want to replicate atomic documents over the wire but locally you want to split these documents for better indexing. For example you replicate email documents that have multiple receivers in a string-array. While string-arrays cannot be indexed, locally you need a way to query for all emails of a given receiver.
-To handle this case you can set up a RxPipeline that writes the mapping into a separate collection:
When you have to fetch data for each document of a collection from a server, you can use the pipeline to ensure all documents have their data downloaded and no document is missed.
You can await the idleness of a pipeline with await myRxPipeline.awaitIdle(). This will await a promise that resolves when the pipeline has processed all documents and is not running anymore.
await myRxPipeline.close() stops the pipeline so that it is no longer doing stuff. This is automatically called when the RxCollection or RxDatabase of the pipeline is closed.
await myRxPipeline.remove() removes the pipeline and all metadata which it has stored. Recreating the pipeline afterwards will start processing all source documents from scratch.
Because a JavaScript process can exit at any time, like when the user closes a browser tab, the pipeline handler function must be idempotent. This means when it only runs partially and is started again with the same input, it should still end up in the correct result.
Pipeline handlers must never throw. If you run operations inside of the handler that might cause errors, you must wrap the handler's code with a try-catch by yourself and also handle retries. If your handler throws, your pipeline will be stuck and no longer be usable, which should never happen.
-
Be careful when doing http requests in the handler
-
When you run http requests inside of your handler, you no longer have an offline first application because reads to the destination collection will be blocked until all handlers have finished. When your client is offline, therefore the collection will be blocked for reads and writes.
-
Pipelines temporarily block external reads and writes
-
While a pipeline is running, all reads and writes to its destination collection are blocked. This guarantees that queries never observe partially processed data, but it also means that pipelines can block each other if they interact incorrectly.
-
Problems occur when multiple pipelines:
-
-
read or write across the same collections, or
-
wait for each other using awaitIdle() from inside a pipeline handler.
-
-
\ No newline at end of file
diff --git a/docs/rx-pipeline.md b/docs/rx-pipeline.md
deleted file mode 100644
index 5dc089771f1..00000000000
--- a/docs/rx-pipeline.md
+++ /dev/null
@@ -1,213 +0,0 @@
-# RxPipeline - Automate Data Flows in RxDB
-
-> Discover how RxPipeline automates your data workflows. Seamlessly process writes, manage leader election, and ensure crash-safe operations in RxDB.
-
-# RxPipeline
-
-The RxPipeline plugin enables you to run operations depending on writes to a collection.
-Whenever a write happens on the source collection of a pipeline, a handler is called to process the writes and run operations on another collection.
-
-You could have a similar behavior by observing the collection stream and process data on emits:
-
-```ts
-mySourceCollection.$.subscribe(event => {/* ...process...*/});
-```
-
-While this could work in some cases, it causes many problems that are fixed by using the pipeline plugin instead:
-- In an RxPipeline, only the [Leading Instance](./leader-election.md) runs the operations. For example when you have multiple browser tabs open, only one will run the processing and when that tab is closed, another tab will become elected leader and continue the pipeline processing.
-- On sudden stops and restarts of the JavaScript process, the processing will continue at the correct checkpoint and not miss out any documents even on unexpected crashes.
-- Reads/Writes on the destination collection are halted while the pipeline is processing. This ensures your queries only return fully processed documents and no partial results. So when you run a query to the destination collection directly after a write to the source collection, you can be sure your query results are up to date and the pipeline has already been run at the moment the query resolved:
-
-```ts
-await mySourceCollection.insert({/* ... */});
-
-/**
- * Because our pipeline blocks reads to the destination,
- * we know that the result array contains data created
- * on top of the previously inserted documents.
- */
-const result = myDestinationCollection.find().exec();
-```
-
-## Creating a RxPipeline
-
-Pipelines are created on top of a source [RxCollection](./rx-collection.md) and have another `RxCollection` as destination. An identifier is used to identify the state of the pipeline so that different pipelines have a different processing checkpoint state. A plain JavaScript function `handler` is used to process the data of the source collection writes.
-
-```ts
-const pipeline = await mySourceCollection.addPipeline({
- identifier: 'my-pipeline',
- destination: myDestinationCollection,
- handler: async (docs) => {
- /**
- * Here you can process the documents and write to
- * the destination collection.
- */
- for (const doc of docs) {
- await myDestinationCollection.insert({
- id: doc.primary,
- category: doc.category
- });
- }
- }
-});
-```
-
-## Use Cases for RxPipeline
-
-The RxPipeline is a handy building block for different features and plugins. You can use it to aggregate data or restructure local data.
-
-### UseCase: Re-Index data that comes from replication
-
-Sometimes you want to [replicate](./replication.md) atomic documents over the wire but locally you want to split these documents for better indexing. For example you replicate email documents that have multiple receivers in a string-array. While string-arrays cannot be indexed, locally you need a way to query for all emails of a given receiver.
-To handle this case you can set up a RxPipeline that writes the mapping into a separate collection:
-
-```ts
-const pipeline = await emailCollection.addPipeline({
- identifier: 'map-email-receivers',
- destination: emailByReceiverCollection,
- handler: async (docs) => {
- for (const doc of docs) {
- // remove previous mapping
- await emailByReceiverCollection.find({emailId: doc.primary}).remove();
- // add new mapping
- if(!doc.deleted) {
- await emailByReceiverCollection.bulkInsert(
- doc.receivers.map(receiver => ({
- emailId: doc.primary,
- receiver: receiver
- }))
- );
- }
- }
- }
-});
-```
-
-With this you can efficiently query for "all emails that a person received" by running:
-
-```ts
-const mailIds = await emailByReceiverCollection.find({
- receiver: 'foobar@example.com'
-}).exec();
-```
-
-### UseCase: Fulltext Search
-
-You can utilize the pipeline plugin to index text data for efficient fulltext search.
-
-```ts
-const pipeline = await emailCollection.addPipeline({
- identifier: 'email-fulltext-search',
- destination: mailByWordCollection,
- handler: async (docs) => {
- for (const doc of docs) {
- // remove previous mapping
- await mailByWordCollection.find({emailId: doc.primary}).remove();
- // add new mapping
- if(!doc.deleted) {
- const words = doc.text.split(' ');
- await mailByWordCollection.bulkInsert(
- words.map(word => ({
- emailId: doc.primary,
- word: word
- }))
- );
- }
- }
- }
-});
-```
-
-With this you can efficiently query for "all emails that contain a given word" by running:
-
-```ts
-const mailIds = await emailByReceiverCollection.find({word: 'foobar'}).exec();
-```
-
-### UseCase: Download data based on source documents
-
-When you have to fetch data for each document of a collection from a server, you can use the pipeline to ensure all documents have their data downloaded and no document is missed.
-
-```ts
-const pipeline = await emailCollection.addPipeline({
- identifier: 'download-data',
- destination: serverDataCollection,
- handler: async (docs) => {
- for (const doc of docs) {
- const response = await fetch('https://example.com/doc/' + doc.primary);
- const serverData = await response.json();
- await serverDataCollection.upsert({
- id: doc.primary,
- data: serverData
- });
- }
- }
-});
-```
-
-## RxPipeline methods
-
-### awaitIdle()
-
-You can await the idleness of a pipeline with `await myRxPipeline.awaitIdle()`. This will await a promise that resolves when the pipeline has processed all documents and is not running anymore.
-
-### close()
-
-`await myRxPipeline.close()` stops the pipeline so that it is no longer doing stuff. This is automatically called when the RxCollection or RxDatabase of the pipeline is closed.
-
-### remove()
-
-`await myRxPipeline.remove()` removes the pipeline and all metadata which it has stored. Recreating the pipeline afterwards will start processing all source documents from scratch.
-
-## Using RxPipeline correctly
-
-### Pipeline handlers must be idempotent
-
-Because a JavaScript process can exit at any time, like when the user closes a browser tab, the pipeline handler function must be idempotent. This means when it only runs partially and is started again with the same input, it should still end up in the correct result.
-
-### Pipeline handlers must not throw
-
-Pipeline handlers must never throw. If you run operations inside of the handler that might cause errors, you must wrap the handler's code with a `try-catch` by yourself and also handle retries. If your handler throws, your pipeline will be stuck and no longer be usable, which should never happen.
-
-### Be careful when doing http requests in the handler
-
-When you run http requests inside of your handler, you no longer have an [offline first](./offline-first.md) application because reads to the destination collection will be blocked until all handlers have finished. When your client is offline, therefore the collection will be blocked for reads and writes.
-
-### Pipelines temporarily block external reads and writes
-
-While a pipeline is running, **all reads and writes to its destination collection are blocked**. This guarantees that queries never observe partially processed data, but it also means that pipelines can block each other if they interact incorrectly.
-
-Problems occur when multiple pipelines:
-
-- read or write across the same collections, or
-- wait for each other using `awaitIdle()` from inside a pipeline handler.
-
-```ts
-// Example of a deadlock
-
-// Pipeline A: files → files (reads folders)
-const pipelineA = await db.files.addPipeline({
- identifier: 'file-path-sync',
- destination: db.files,
- handler: async (docs) => {
- const folders = await folders.find().exec(); // can block
- /* ... */
- }
-});
-
-// Pipeline B: files → folders (waits for A)
-await db.folders.addPipeline({
- identifier: 'file-count',
- destination: db.folders,
- handler: async () => {
- await pipelineA.awaitIdle(); // ❌ may deadlock
- /* ... */
- }
-});
-```
-
-To prevent deadlocks, consider:
-
-- Never call `awaitIdle()` inside a pipeline handler.
-- Avoid circular dependencies between pipelines.
-- Prefer one-directional data flow.
diff --git a/docs/rx-query.html b/docs/rx-query.html
deleted file mode 100644
index b22cd1ab8aa..00000000000
--- a/docs/rx-query.html
+++ /dev/null
@@ -1,390 +0,0 @@
-
-
-
-
-
-RxQuery | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
To find documents inside of an RxCollection, RxDB uses the RxQuery interface that handles all query operations: it serves as the main interface for fetching documents, relies on a MongoDB-like Mango Query Syntax, and provides three types of queries: find(), findOne() and count(). By caching and de-duplicating results, RxQuery ensures efficient in-memory handling, and when queries are observed or re-run, the EventReduce algorithm speeds up updates for a fast real-time experience and queries that run more than once.
On .findOne() queries, you can call .exec(true) to ensure your document exists and to make TypeScript handling easier:
-
// docOrUndefined can be the type RxDocument or null which then has to be handled to be typesafe.
-const docOrUndefined = await myCollection.findOne().exec();
-
-// with .exec(true), it will throw if the document cannot be found and always have the type RxDocument
-const doc = await myCollection.findOne().exec(true);
An BehaviorSubjectsee that always has the current result-set as value.
-This is extremely helpful when used together with UIs that should always show the same state as what is written in the database.
-
const query = myCollection.find();
-const querySub = query.$.subscribe(results => {
- console.log('got results: ' + results.length);
-});
-// > 'got results: 5' // BehaviorSubjects emit on subscription
-
-await myCollection.insert({/* ... */}); // insert one
-// > 'got results: 6' // $.subscribe() was called again with the new results
-
-// stop watching this query
-querySub.unsubscribe()
Runs an update on every RxDocument of the query-result.
-
-// to use the update() method, you need to add the update plugin.
-import { RxDBUpdatePlugin } from 'rxdb/plugins/update';
-addRxPlugin(RxDBUpdatePlugin);
-
-const query = myCollection.find({
- selector: {
- age: {
- $gt: 18
- }
- }
-});
-await query.update({
- $inc: {
- age: 1 // increases age of every found document by 1
- }
-});
Runs the RxDocument.patch() function on every RxDocument of the query result.
-
const query = myCollection.find({
- selector: {
- age: {
- $gt: 18
- }
- }
-});
-await query.patch({
- age: 12 // set the age of every found to 12
-});
Deletes all found documents. Returns a promise which resolves to the deleted documents.
-
// All documents where the age is less than 18
-const query = myCollection.find({
- selector: {
- age: {
- $lt: 18
- }
- }
-});
-// Remove the documents from the collection
-const removedDocs = await query.remove();
To use chained query methods, you can also use the query-builder plugin.
-
// add the query builder plugin
-import { addRxPlugin } from 'rxdb';
-import { RxDBQueryBuilderPlugin } from 'rxdb/plugins/query-builder';
-addRxPlugin(RxDBQueryBuilderPlugin);
-
-// now you can use chained query methods
-
-const query = myCollection.find().where('age').gt(18);
-const result = await query.exec();
// directly pass search-object
-myCollection.find({
- selector: {
- name: { $eq: 'foo' }
- }
-})
-.exec().then(documents => console.dir(documents));
-
-/*
- * find by using sql equivalent '%like%' syntax
- * This example will fe: match 'foo' but also 'fifoo' or 'foofa' or 'fifoofa'
- * Notice that in RxDB queries, a regex is represented as a $regex string with the $options parameter for flags.
- * Using a RegExp instance is not allowed because they are not JSON.stringify()-able and also
- * RegExp instances are mutable which could cause undefined behavior when the RegExp is mutated
- * after the query was parsed.
- */
-myCollection.find({
- selector: {
- name: { $regex: '.*foo.*' }
- }
-})
-.exec().then(documents => console.dir(documents));
-
-// find using a composite statement eg: $or
-// This example checks where name is either foo or if name is not existent on the document
-myCollection.find({
- selector: { $or: [ { name: { $eq: 'foo' } }, { name: { $exists: false } }] }
-})
-.exec().then(documents => console.dir(documents));
-
-// do a case insensitive search
-// This example will match 'foo' or 'FOO' or 'FoO' etc...
-myCollection.find({
- selector: { name: { $regex: '^foo$', $options: 'i' } }
-})
-.exec().then(documents => console.dir(documents));
-
-// chained queries
-myCollection.find().where('name').eq('foo')
-.exec().then(documents => console.dir(documents));
-
RxDB will always append the primary key to the sort parameters
For several performance optimizations, like the EventReduce algorithm, RxDB expects all queries to return a deterministic sort order that does not depend on the insert order of the documents. To ensure a deterministic ordering, RxDB will always append the primary key as last sort parameter to all queries and to all indexes.
-This works in contrast to most other databases where a query without sorting would return the documents in the order in which they had been inserted to the database.
By default, the query will be sent to the RxStorage, where a query planner will determine which one of the available indexes must be used.
-But the query planner cannot know everything and sometimes will not pick the most optimal index.
-To improve query performance, you can specify which index must be used, when running the query.
-
const query = myCollection
- .findOne({
- selector: {
- age: {
- $gt: 18
- },
- gender: {
- $eq: 'm'
- }
- },
- /**
- * Because the developer knows that 50% of the documents are 'male',
- * but only 20% are below age 18,
- * it makes sense to enforce using the ['gender', 'age'] index to improve performance.
- * This could not be known by the query planer which might have chosen ['age', 'gender'] instead.
- */
- index: ['gender', 'age']
- });
When you only need the amount of documents that match a query, but you do not need the document data itself, you can use a count query for better performance.
-The performance difference compared to a normal query differs depending on which RxStorage implementation is used.
-
const query = myCollection.count({
- selector: {
- age: {
- $gt: 18
- }
- }
- // 'limit' and 'skip' MUST NOT be set for count queries.
-});
-
-// get the count result once
-const matchingAmount = await query.exec(); // > number
-
-// observe the result
-query.$.subscribe(amount => {
- console.log('Currently has ' + amount + ' documents');
-});
-
note
Count queries have a better performance than normal queries because they do not have to fetch the full document data out of the storage. Therefore it is not possible to run a count() query with a selector that requires to fetch and compare the document data. So if your query selector does not fully match an index of the schema, it is not allowed to run it. These queries would have no performance benefit compared to normal queries but have the tradeoff of not using the fetched document data for caching.
-
/**
- * The following will throw an error because
- * the count operation cannot run on any specific index range
- * because the $regex operator is used.
- */
-const query = myCollection.count({
- selector: {
- age: {
- $regex: 'foobar'
- }
- }
-});
-
-/**
- * The following will throw an error because
- * the count operation cannot run on any specific index range
- * because there is no ['age' ,'otherNumber'] index
- * defined in the schema.
- */
-const query = myCollection.count({
- selector: {
- age: {
- $gt: 20
- },
- otherNumber: {
- $gt: 10
- }
- }
-});
-
If you want to count these kinds of queries, you should do a normal query instead and use the length of the result set as counter. This has the same performance as running a non-fully-indexed count which has to fetch all document data from the database and run a query matcher.
-
// get count manually once
-const resultSet = await myCollection.find({
- selector: {
- age: {
- $regex: 'foobar'
- }
- }
-}).exec();
-const count = resultSet.length;
-
-// observe count manually
-const count$ = myCollection.find({
- selector: {
- age: {
- $regex: 'foobar'
- }
- }
-}).$.pipe(
- map(result => result.length)
-);
-
-/**
- * To allow non-fully-indexed count queries,
- * you can also specify that by setting allowSlowCount=true
- * when creating the database.
- */
-const database = await createRxDatabase({
- name: 'mydatabase',
- allowSlowCount: true, // set this to true [default=false]
- /* ... */
-});
To allow non-fully-indexed count queries, you can also specify that by setting allowSlowCount: true when creating the database.
-Doing this is mostly not wanted, because it would run the counting on the storage without having the document stored in the RxDB document cache.
-This is only recommended if the RxStorage is running remotely like in a WebWorker and you not always want to send the document-data between the worker and the main thread. In this case you might only need the count-result instead to save performance.
Because RxDB is a reactive database, we can do heavy performance-optimisation on query-results which change over time. To be able to do this, RxQuery's have to be immutable.
-This means, when you have a RxQuery and run a .where() on it, the original RxQuery-Object is not changed. Instead the where-function returns a new RxQuery-Object with the changed where-field. Keep this in mind if you create RxQuery's and change them afterwards.
-
Example:
-
const queryObject = myCollection.find().where('age').gt(18);
-// Creates a new RxQuery object, does not modify previous one
-queryObject.sort('name');
-const results = await queryObject.exec();
-console.dir(results); // result-documents are not sorted by name
-
-const queryObjectSort = queryObject.sort('name');
-const results = await queryObjectSort.exec();
-console.dir(results); // result-documents are now sorted
-Can I specify which document fields are returned by an RxDB query?
No, RxDB does not support partial document retrieval. Because RxDB is a client-side database with limited memory, it caches and de-duplicates entire documents across multiple queries. Even if you only need a few fields, most storages must still fetch the entire JSON data, so subselecting fields would not significantly improve performance. Therefore, RxDB always returns full documents. If you only need certain fields, you can filter them out in your application code or consider storing just the necessary data in a separate collection.
-Why doesn't RxDB support aggregations on queries?
RxDB runs entirely on the client side. Any "aggregation" or data processing you might do within RxDB would still happen in the same JavaScript environment as your application code. Therefore, there's no real performance advantage or difference between doing the aggregation in RxDB vs. doing it in your own code after fetching the data. As a result, RxDB doesn't provide built-in aggregation methods. Instead, just query the documents you need and perform any calculations directly in your app's code.
-Why does RxDB not support cross-collection queries?
RxDB is a client-side database and does not provide built-in cross-collection queries or transactions. Instead, you can execute multiple queries in your JavaScript code and combine their results as needed. Because everything runs in the same environment, this approach offers the same performance you would get if cross-collection queries were built in - without the added complexity.
-Why Doesn't RxDB Support Case-Insensitive Search?
RxDB relies on various storage engines as its backend, and these storage engines generally do not support case-insensitive search natively, like IndexedDB or FoundationDB. This limitation arises from the design of these engines, which prioritize efficiency and flexibility for specific types of queries rather than universal features like case-insensitivity. Although RxDB does not offer built-in support for case-insensitive search, there are two common workarounds:
-
Store Data in a Meta-Field for Lowercase Search: To enable case-insensitive search, you can store an additional field in your documents where the relevant text data is preprocessed and saved in lowercase.
However, this method has a significant downside: regex queries often cannot leverage indexes efficiently. As a result, they may be slower, especially for large datasets.
-
-
\ No newline at end of file
diff --git a/docs/rx-query.md b/docs/rx-query.md
deleted file mode 100644
index c555d191767..00000000000
--- a/docs/rx-query.md
+++ /dev/null
@@ -1,472 +0,0 @@
-# RxQuery
-
-> Master RxQuery in RxDB - find, update, remove documents using Mango syntax, chained queries, real-time observations, indexing, and more.
-
-# RxQuery
-
-To find documents inside of an [RxCollection](./rx-collection.md), RxDB uses the RxQuery interface that handles all query operations: it serves as the main interface for fetching documents, relies on a MongoDB-like [Mango Query Syntax](https://github.com/cloudant/mango), and provides three types of queries: [find()](#find), [findOne()](#findone) and [count()](#count). By caching and de-duplicating results, RxQuery ensures efficient in-memory handling, and when queries are observed or re-run, the [EventReduce algorithm](https://github.com/pubkey/event-reduce) speeds up updates for a fast real-time experience and queries that run more than once.
-
-## find()
-To create a basic `RxQuery`, call `.find()` on a collection and insert selectors. The result-set of normal queries is an array with documents.
-
-```js
-// find all that are older then 18
-const query = myCollection
- .find({
- selector: {
- age: {
- $gt: 18
- }
- }
- });
-```
-
-## findOne()
-A findOne-query has only a single `RxDocument` or `null` as result-set.
-
-```js
-// find alice
-const query = myCollection
- .findOne({
- selector: {
- name: 'alice'
- }
- });
-```
-
-```js
-// find the youngest one
-const query = myCollection
- .findOne({
- selector: {},
- sort: [
- {age: 'asc'}
- ]
- });
-```
-
-```js
-// find one document by the primary key
-const query = myCollection.findOne('foobar');
-```
-## exec()
-Returns a `Promise` that resolves with the result-set of the query.
-
-```js
-const query = myCollection.find();
-const results = await query.exec();
-console.dir(results); // > [RxDocument,RxDocument,RxDocument..]
-```
-
-On `.findOne()` queries, you can call `.exec(true)` to ensure your document exists and to make TypeScript handling easier:
-
-```ts
-// docOrUndefined can be the type RxDocument or null which then has to be handled to be typesafe.
-const docOrUndefined = await myCollection.findOne().exec();
-
-// with .exec(true), it will throw if the document cannot be found and always have the type RxDocument
-const doc = await myCollection.findOne().exec(true);
-```
-
-## Observe $
-An `BehaviorSubject` [see](https://medium.com/@luukgruijs/understanding-rxjs-behaviorsubject-replaysubject-and-asyncsubject-8cc061f1cfc0) that always has the current result-set as value.
-This is extremely helpful when used together with UIs that should always show the same state as what is written in the database.
-
-```js
-const query = myCollection.find();
-const querySub = query.$.subscribe(results => {
- console.log('got results: ' + results.length);
-});
-// > 'got results: 5' // BehaviorSubjects emit on subscription
-
-await myCollection.insert({/* ... */}); // insert one
-// > 'got results: 6' // $.subscribe() was called again with the new results
-
-// stop watching this query
-querySub.unsubscribe()
-```
-
-## update()
-Runs an [update](./rx-document.md#update) on every RxDocument of the query-result.
-
-```js
-
-// to use the update() method, you need to add the update plugin.
-import { RxDBUpdatePlugin } from 'rxdb/plugins/update';
-addRxPlugin(RxDBUpdatePlugin);
-
-const query = myCollection.find({
- selector: {
- age: {
- $gt: 18
- }
- }
-});
-await query.update({
- $inc: {
- age: 1 // increases age of every found document by 1
- }
-});
-```
-
-## patch() / incrementalPatch()
-
-Runs the [RxDocument.patch()](./rx-document.md#patch) function on every RxDocument of the query result.
-
-```js
-const query = myCollection.find({
- selector: {
- age: {
- $gt: 18
- }
- }
-});
-await query.patch({
- age: 12 // set the age of every found to 12
-});
-```
-
-## modify() / incrementalModify()
-
-Runs the [RxDocument.modify()](./rx-document.md#modify) function on every RxDocument of the query result.
-
-```js
-const query = myCollection.find({
- selector: {
- age: {
- $gt: 18
- }
- }
-});
-await query.modify((docData) => {
- docData.age = docData.age + 1; // increases age of every found document by 1
- return docData;
-});
-```
-
-## remove() / incrementalRemove()
-
-Deletes all found documents. Returns a promise which resolves to the deleted documents.
-
-```javascript
-// All documents where the age is less than 18
-const query = myCollection.find({
- selector: {
- age: {
- $lt: 18
- }
- }
-});
-// Remove the documents from the collection
-const removedDocs = await query.remove();
-```
-
-## doesDocumentDataMatch()
-Returns `true` if the given document data matches the query.
-
-```js
-const documentData = {
- id: 'foobar',
- age: 19
-};
-
-myCollection.find({
- selector: {
- age: {
- $gt: 18
- }
- }
-}).doesDocumentDataMatch(documentData); // > true
-
-myCollection.find({
- selector: {
- age: {
- $gt: 20
- }
- }
-}).doesDocumentDataMatch(documentData); // > false
-```
-
-## Query Builder Plugin
-
-To use chained query methods, you can also use the `query-builder` plugin.
-
-```ts
-// add the query builder plugin
-import { addRxPlugin } from 'rxdb';
-import { RxDBQueryBuilderPlugin } from 'rxdb/plugins/query-builder';
-addRxPlugin(RxDBQueryBuilderPlugin);
-
-// now you can use chained query methods
-
-const query = myCollection.find().where('age').gt(18);
-const result = await query.exec();
-```
-
-## Query Examples
-Here some examples to fast learn how to write queries without reading the docs.
-- [Pouch-find-docs](https://github.com/pouchdb/pouchdb/blob/master/packages/node_modules/pouchdb-find/README.md) - learn how to use mango-queries
-- [mquery-docs](https://github.com/aheckmann/mquery/blob/master/README.md) - learn how to use chained-queries
-
-```js
-// directly pass search-object
-myCollection.find({
- selector: {
- name: { $eq: 'foo' }
- }
-})
-.exec().then(documents => console.dir(documents));
-
-/*
- * find by using sql equivalent '%like%' syntax
- * This example will fe: match 'foo' but also 'fifoo' or 'foofa' or 'fifoofa'
- * Notice that in RxDB queries, a regex is represented as a $regex string with the $options parameter for flags.
- * Using a RegExp instance is not allowed because they are not JSON.stringify()-able and also
- * RegExp instances are mutable which could cause undefined behavior when the RegExp is mutated
- * after the query was parsed.
- */
-myCollection.find({
- selector: {
- name: { $regex: '.*foo.*' }
- }
-})
-.exec().then(documents => console.dir(documents));
-
-// find using a composite statement eg: $or
-// This example checks where name is either foo or if name is not existent on the document
-myCollection.find({
- selector: { $or: [ { name: { $eq: 'foo' } }, { name: { $exists: false } }] }
-})
-.exec().then(documents => console.dir(documents));
-
-// do a case insensitive search
-// This example will match 'foo' or 'FOO' or 'FoO' etc...
-myCollection.find({
- selector: { name: { $regex: '^foo$', $options: 'i' } }
-})
-.exec().then(documents => console.dir(documents));
-
-// chained queries
-myCollection.find().where('name').eq('foo')
-.exec().then(documents => console.dir(documents));
-```
-
-:::note RxDB will always append the primary key to the sort parameters
-For several performance optimizations, like the [EventReduce algorithm](https://github.com/pubkey/event-reduce), RxDB expects all queries to return a deterministic sort order that does not depend on the insert order of the documents. To ensure a deterministic ordering, RxDB will always append the primary key as last sort parameter to all queries and to all indexes.
-This works in contrast to most other databases where a query without sorting would return the documents in the order in which they had been inserted to the database.
-:::
-
-## Setting a specific index
-
-By default, the query will be sent to the RxStorage, where a query planner will determine which one of the available indexes must be used.
-But the query planner cannot know everything and sometimes will not pick the most optimal index.
-To improve query performance, you can specify which index must be used, when running the query.
-
-```ts
-const query = myCollection
- .findOne({
- selector: {
- age: {
- $gt: 18
- },
- gender: {
- $eq: 'm'
- }
- },
- /**
- * Because the developer knows that 50% of the documents are 'male',
- * but only 20% are below age 18,
- * it makes sense to enforce using the ['gender', 'age'] index to improve performance.
- * This could not be known by the query planer which might have chosen ['age', 'gender'] instead.
- */
- index: ['gender', 'age']
- });
-```
-
-## Count
-
-When you only need the amount of documents that match a query, but you do not need the document data itself, you can use a count query for **better performance**.
-The performance difference compared to a normal query differs depending on which [RxStorage](./rx-storage.md) implementation is used.
-
-```ts
-const query = myCollection.count({
- selector: {
- age: {
- $gt: 18
- }
- }
- // 'limit' and 'skip' MUST NOT be set for count queries.
-});
-
-// get the count result once
-const matchingAmount = await query.exec(); // > number
-
-// observe the result
-query.$.subscribe(amount => {
- console.log('Currently has ' + amount + ' documents');
-});
-```
-
-:::note
-Count queries have a better performance than normal queries because they do not have to fetch the full document data out of the storage. Therefore it is **not** possible to run a `count()` query with a selector that requires to fetch and compare the document data. So if your query selector **does not** fully match an index of the schema, it is not allowed to run it. These queries would have no performance benefit compared to normal queries but have the tradeoff of not using the fetched document data for caching.
-:::
-
-```ts
-/**
- * The following will throw an error because
- * the count operation cannot run on any specific index range
- * because the $regex operator is used.
- */
-const query = myCollection.count({
- selector: {
- age: {
- $regex: 'foobar'
- }
- }
-});
-
-/**
- * The following will throw an error because
- * the count operation cannot run on any specific index range
- * because there is no ['age' ,'otherNumber'] index
- * defined in the schema.
- */
-const query = myCollection.count({
- selector: {
- age: {
- $gt: 20
- },
- otherNumber: {
- $gt: 10
- }
- }
-});
-```
-
-If you want to count these kinds of queries, you should do a normal query instead and use the length of the result set as counter. This has the same performance as running a non-fully-indexed count which has to fetch all document data from the database and run a query matcher.
-
-```ts
-// get count manually once
-const resultSet = await myCollection.find({
- selector: {
- age: {
- $regex: 'foobar'
- }
- }
-}).exec();
-const count = resultSet.length;
-
-// observe count manually
-const count$ = myCollection.find({
- selector: {
- age: {
- $regex: 'foobar'
- }
- }
-}).$.pipe(
- map(result => result.length)
-);
-
-/**
- * To allow non-fully-indexed count queries,
- * you can also specify that by setting allowSlowCount=true
- * when creating the database.
- */
-const database = await createRxDatabase({
- name: 'mydatabase',
- allowSlowCount: true, // set this to true [default=false]
- /* ... */
-});
-```
-
-### `allowSlowCount`
-To allow non-fully-indexed count queries, you can also specify that by setting `allowSlowCount: true` when creating the database.
-Doing this is mostly not wanted, because it would run the counting on the storage without having the document stored in the RxDB document cache.
-This is only recommended if the RxStorage is running remotely like in a WebWorker and you not always want to send the document-data between the worker and the main thread. In this case you might only need the count-result instead to save performance.
-
-## RxQuery's are immutable
-Because RxDB is a reactive database, we can do heavy performance-optimisation on query-results which change over time. To be able to do this, RxQuery's have to be immutable.
-This means, when you have a `RxQuery` and run a `.where()` on it, the original RxQuery-Object is not changed. Instead the where-function returns a new `RxQuery`-Object with the changed where-field. Keep this in mind if you create RxQuery's and change them afterwards.
-
-Example:
-
-```javascript
-const queryObject = myCollection.find().where('age').gt(18);
-// Creates a new RxQuery object, does not modify previous one
-queryObject.sort('name');
-const results = await queryObject.exec();
-console.dir(results); // result-documents are not sorted by name
-
-const queryObjectSort = queryObject.sort('name');
-const results = await queryObjectSort.exec();
-console.dir(results); // result-documents are now sorted
-```
-
-### isRxQuery
-Returns true if the given object is an instance of RxQuery. Returns false if not.
-```js
-const is = isRxQuery(myObj);
-```
-
-## Design Decisions
-
-Like most other noSQL-Databases, RxDB uses the [mango-query-syntax](https://github.com/cloudant/mango) similar to MongoDB and others.
-
-- We use the JSON based Mango Query Syntax because:
- - Mango Queries work better with TypeScript compared to SQL strings.
- - Mango Queries are composable and easy to transform by code without joining SQL strings.
- - Queries can be run very fast and efficient with only a minimal query planer to plan the best indexes and operations.
- - NoSQL queries can be optimized with the [EventReduce](https://github.com/pubkey/event-reduce) algorithm to improve performance of observed and cached queries.
-
-## FAQ
-
-
- Can I specify which document fields are returned by an RxDB query?
-
- No, RxDB does not support partial document retrieval. Because RxDB is a client-side database with limited memory, it caches and de-duplicates entire documents across multiple queries. Even if you only need a few fields, most storages must still fetch the entire JSON data, so subselecting fields would not significantly improve performance. Therefore, RxDB always returns full documents. If you only need certain fields, you can filter them out in your application code or consider storing just the necessary data in a separate collection.
-
-
-
-
- Why doesn't RxDB support aggregations on queries?
-
- RxDB runs entirely on the client side. Any "aggregation" or data processing you might do within RxDB would still happen in the same JavaScript environment as your application code. Therefore, there's no real performance advantage or difference between doing the aggregation in RxDB vs. doing it in your own code after fetching the data. As a result, RxDB doesn't provide built-in aggregation methods. Instead, just query the documents you need and perform any calculations directly in your app's code.
-
-
-
-
- Why does RxDB not support cross-collection queries?
-
- RxDB is a client-side database and does not provide built-in cross-collection queries or transactions. Instead, you can execute multiple queries in your JavaScript code and combine their results as needed. Because everything runs in the same environment, this approach offers the same performance you would get if cross-collection queries were built in - without the added complexity.
-
-
-
-
- Why Doesn't RxDB Support Case-Insensitive Search?
-
- RxDB relies on various storage engines as its backend, and these storage engines generally do not support case-insensitive search natively, like [IndexedDB](./rx-storage-indexeddb.md) or [FoundationDB](./rx-storage-foundationdb.md). This limitation arises from the design of these engines, which prioritize efficiency and flexibility for specific types of queries rather than universal features like case-insensitivity. Although RxDB does not offer built-in support for case-insensitive search, there are two common workarounds:
- - **Store Data in a Meta-Field for Lowercase Search**: To enable case-insensitive search, you can store an additional field in your documents where the relevant text data is preprocessed and saved in lowercase.
-```ts
-const document = {
- name: 'John Doe',
- nameLowercase: 'john doe' // Meta-field
-};
-await myCollection.insert(document);
-
-const query = myCollection.find({
- selector: {
- nameLowercase: { $eq: 'john doe' }
- }
-});
-```
- - **Use a Regex Query**: Regular expressions can perform case-insensitive searches. For example:
-```ts
-const query = myCollection.find({
- selector: {
- name: { $regex: '^john doe$', $options: 'i' } // Case-insensitive regex
- }
-});
-```
-However, this method has a significant downside: regex queries often cannot leverage indexes efficiently. As a result, they may be slower, especially for large datasets.
-
-
diff --git a/docs/rx-schema.html b/docs/rx-schema.html
deleted file mode 100644
index 10a6454ebed..00000000000
--- a/docs/rx-schema.html
+++ /dev/null
@@ -1,384 +0,0 @@
-
-
-
-
-
-Design Perfect Schemas in RxDB | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Schemas define the structure of the documents of a collection. Which field should be used as primary, which fields should be used as indexes and what should be encrypted. Every collection has its own schema. With RxDB, schemas are defined with the jsonschema-standard which you might know from other projects.
The version field is a number, starting with 0.
-When the version is greater than 0, you have to provide the migrationStrategies to create a collection with this schema.
The primaryKey field contains the fieldname of the property that will be used as primary key for the whole collection.
-The value of the primary key of the document must be a string, unique, final and is required.
You can define a composite primary key which gets composed from multiple properties of the document data.
-
const mySchema = {
- keyCompression: true, // set this to true, to enable the keyCompression
- version: 0,
- title: 'human schema with composite primary',
- primaryKey: {
- // where should the composed string be stored
- key: 'id',
- // fields that will be used to create the composed key
- fields: [
- 'firstName',
- 'lastName'
- ],
- // separator which is used to concat the fields values.
- separator: '|'
- },
- type: 'object',
- properties: {
- id: {
- type: 'string',
- maxLength: 100 // <- the primary key must have set maxLength
- },
- firstName: {
- type: 'string'
- },
- lastName: {
- type: 'string'
- }
- },
- required: [
- 'id',
- 'firstName',
- 'lastName'
- ]
-};
-
You can then find a document by using the relevant parts to create the composite primaryKey:
-
-// inserting with composite primary
-await myRxCollection.insert({
- // id, <- do not set the id, it will be filled by RxDB
- firstName: 'foo',
- lastName: 'bar'
-});
-
-// find by composite primary
-const id = myRxCollection.schema.getPrimaryOfDocumentData({
- firstName: 'foo',
- lastName: 'bar'
-});
-const myRxDocument = myRxCollection.findOne(id).exec();
-
RxDB supports secondary indexes which are defined at the schema-level of the collection.
-
Index is only allowed on field types string, integer and number. Some RxStorages allow to use boolean fields as index.
-
Depending on the field type, you must have set some meta attributes like maxLength or minimum. This is required so that RxDB
-is able to know the maximum string representation length of a field, which is needed to craft custom indexes on several RxStorage implementations.
-
note
RxDB will always append the primaryKey to all indexes to ensure a deterministic sort order of query results. You do not have to add the primaryKey to any index.
const schemaWithIndexes = {
- version: 0,
- title: 'human schema with indexes',
- keyCompression: true,
- primaryKey: 'id',
- type: 'object',
- properties: {
- id: {
- type: 'string',
- maxLength: 100 // <- the primary key must have set maxLength
- },
- firstName: {
- type: 'string',
- maxLength: 100 // <- string-fields that are used as an index, must have set maxLength.
- },
- lastName: {
- type: 'string'
- },
- active: {
- type: 'boolean'
- },
- familyName: {
- type: 'string'
- },
- balance: {
- type: 'number',
-
- // number fields that are used in an index, must have set minimum, maximum and multipleOf
- minimum: 0,
- maximum: 100000,
- multipleOf: 0.01
- },
- creditCards: {
- type: 'array',
- items: {
- type: 'object',
- properties: {
- cvc: {
- type: 'number'
- }
- }
- }
- }
- },
- required: [
- 'id',
- 'active' // <- boolean fields that are used in an index, must be required.
- ],
- indexes: [
- 'firstName', // <- this will create a simple index for the `firstName` field
- ['active', 'firstName'], // <- this will create a compound-index for these two fields
- 'active'
- ]
-};
-
internalIndexes
-
When you use RxDB on the server-side, you might want to use internalIndexes to speed up internal queries. Read more
By setting a field to final, you make sure it cannot be modified later. Final fields are always required.
-Final fields cannot be observed because they will not change.
-
Advantages:
-
-
With final fields you can ensure that no-one accidentally modifies the data.
-
When you enable the eventReduce algorithm, some performance-improvements are done.
The schema is not only used to validate objects before they are written into the database, but also used to map getters to observe and populate single fieldnames, keycompression and other things. Therefore you can not use every schema which would be valid for the spec of json-schema.org.
-For example, fieldnames must match the regex ^[a-zA-Z][[a-zA-Z0-9_]*]?[a-zA-Z0-9]$ and additionalProperties is always set to false. But don't worry, RxDB will instantly throw an error when you pass an invalid schema into it.
-
Also the following class properties of RxDocument cannot be used as top level fields because they would clash when the RxDocument property is accessed:
With RxDB you can only store plain JSON data inside of a document. You cannot store a JavaScript new Date() instance directly. This is for performance reasons and because Date() is a mutable thing where changing it at any time might cause strange problem that are hard to debug.
To store a date in RxDB, you have to define a string field with a format attribute:
{
- "type": "string",
- "format": "date-time"
-}
When storing the data you have to first transform your Date object into a string Date.toISOString().
-Because the date-time is sortable, you can do whatever query operations on that field and even use it as an index.
-How to store schemaless data?
By design, RxDB requires that every collection has a schema. This means you cannot create a truly "schema-less" collection where top-level fields are unknown at schema creation time. RxDB must know about all fields of a document at the top level to perform validation, index creation, and other internal optimizations.
-However, there is a way to store data of arbitrary structure at sub-fields. To do this, define a property with type: "object" in your schema. For example:
{
- "version": 0,
- "primaryKey": "id",
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "maxLength": 100
- },
- "myDynamicData": {
- "type": "object"
- // Here you can store any JSON data
- // because it's an open object.
- }
- },
- "required": ["id"]
-}
-Why does RxDB automatically set additionalProperties: false at the top level
RxDB automatically sets additionalProperties: false at the top level of a schema to ensure that all top-level fields are known in advance. This design choice offers several benefits:
-
-
Prevents collisions with RxDocument class properties:
-RxDB documents have built-in class methods (e.g., .toJSON, .save) at the top level. By forbidding unknown top-level properties, we avoid accidental naming collisions with these built-in methods.
-
-
-
Avoids conflicts with user-defined ORM functions:
-Developers can add custom ORM methods to RxDocuments. If top-level properties were unbounded, a property name could accidentally conflict with a method name, leading to unexpected behavior.
-
-
-
Improves TypeScript typings:
-If RxDB didn't know about all top-level fields, the document type would effectively become any. That means a simple typo like myDocument.toJOSN() would only be caught at runtime, not at build time. By disallowing unknown properties, TypeScript can provide strict typing and catch errors sooner.
-
-
-Can't change the schema of a collection
When you make changes to the schema of a collection, you sometimes can get an error like
-Error: addCollections(): another instance created this collection with a different schema.
This means you have created a collection before and added document-data to it.
-When you now just change the schema, it is likely that the new schema does not match the saved documents inside of the collection.
-This would cause strange bugs and would be hard to debug, so RxDB check's if your schema has changed and throws an error.
To change the schema in production-mode, do the following steps:
-
Increase the version by 1
-
Add the appropriate migrationStrategies so the saved data will be modified to match the new schema
-
In development-mode, the schema-change can be simplified by one of these strategies:
-
Use the memory-storage so your db resets on restart and your schema is not saved permanently
-
Call removeRxDatabase('mydatabasename', RxStorage); before creating a new RxDatabase-instance
-
Add a timestamp as suffix to the database-name to create a new one each run like name: 'heroesDB' + new Date().getTime()
-
-
\ No newline at end of file
diff --git a/docs/rx-schema.md b/docs/rx-schema.md
deleted file mode 100644
index 3902ee779f2..00000000000
--- a/docs/rx-schema.md
+++ /dev/null
@@ -1,434 +0,0 @@
-# Design Perfect Schemas in RxDB
-
-> Learn how to define, secure, and validate your data in RxDB. Master primary keys, indexes, encryption, and more with the RxSchema approach.
-
-# RxSchema
-
-Schemas define the structure of the documents of a collection. Which field should be used as primary, which fields should be used as indexes and what should be encrypted. Every collection has its own schema. With RxDB, schemas are defined with the [jsonschema](https://json-schema.org/blog/posts/rxdb-case-study)-standard which you might know from other projects.
-
-## Example
-
-In this example-schema we define a hero-collection with the following settings:
-
-- the version-number of the schema is 0
-- the name-property is the **primaryKey**. This means its a unique, indexed, required `string` which can be used to definitely find a single document.
-- the color-field is required for every document
-- the healthpoints-field must be a number between 0 and 100
-- the secret-field stores an encrypted value
-- the birthyear-field is final which means it is required and cannot be changed
-- the skills-attribute must be an array with objects which contain the name and the damage-attribute. There is a maximum of 5 skills per hero.
-- Allows adding attachments and store them encrypted
-
-```json
- {
- "title": "hero schema",
- "version": 0,
- "description": "describes a simple hero",
- "primaryKey": "name",
- "type": "object",
- "properties": {
- "name": {
- "type": "string",
- "maxLength": 100 // <- the primary key must have set maxLength
- },
- "color": {
- "type": "string"
- },
- "healthpoints": {
- "type": "number",
- "minimum": 0,
- "maximum": 100
- },
- "secret": {
- "type": "string"
- },
- "birthyear": {
- "type": "number",
- "final": true,
- "minimum": 1900,
- "maximum": 2050
- },
- "skills": {
- "type": "array",
- "maxItems": 5,
- "uniqueItems": true,
- "items": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "damage": {
- "type": "number"
- }
- }
- }
- }
- },
- "required": [
- "name",
- "color"
- ],
- "encrypted": ["secret"],
- "attachments": {
- "encrypted": true
- }
- }
-```
-
-## Create a collection with the schema
-
-```javascript
-await myDatabase.addCollections({
- heroes: {
- schema: myHeroSchema
- }
-});
-console.dir(myDatabase.heroes.name);
-// heroes
-```
-
-## version
-The `version` field is a number, starting with `0`.
-When the version is greater than 0, you have to provide the migrationStrategies to create a collection with this schema.
-
-## primaryKey
-
-The `primaryKey` field contains the fieldname of the property that will be used as primary key for the whole collection.
-The value of the primary key of the document must be a `string`, unique, final and is required.
-
-### composite primary key
-
-You can define a composite primary key which gets composed from multiple properties of the document data.
-
-```javascript
-const mySchema = {
- keyCompression: true, // set this to true, to enable the keyCompression
- version: 0,
- title: 'human schema with composite primary',
- primaryKey: {
- // where should the composed string be stored
- key: 'id',
- // fields that will be used to create the composed key
- fields: [
- 'firstName',
- 'lastName'
- ],
- // separator which is used to concat the fields values.
- separator: '|'
- },
- type: 'object',
- properties: {
- id: {
- type: 'string',
- maxLength: 100 // <- the primary key must have set maxLength
- },
- firstName: {
- type: 'string'
- },
- lastName: {
- type: 'string'
- }
- },
- required: [
- 'id',
- 'firstName',
- 'lastName'
- ]
-};
-```
-
-You can then find a document by using the relevant parts to create the composite primaryKey:
-
-```ts
-
-// inserting with composite primary
-await myRxCollection.insert({
- // id, <- do not set the id, it will be filled by RxDB
- firstName: 'foo',
- lastName: 'bar'
-});
-
-// find by composite primary
-const id = myRxCollection.schema.getPrimaryOfDocumentData({
- firstName: 'foo',
- lastName: 'bar'
-});
-const myRxDocument = myRxCollection.findOne(id).exec();
-
-```
-
-## Indexes
-RxDB supports secondary indexes which are defined at the schema-level of the collection.
-
-Index is only allowed on field types `string`, `integer` and `number`. Some RxStorages allow to use `boolean` fields as index.
-
-Depending on the field type, you must have set some meta attributes like `maxLength` or `minimum`. This is required so that RxDB
-is able to know the maximum string representation length of a field, which is needed to craft custom indexes on several `RxStorage` implementations.
-
-:::note
-RxDB will always append the `primaryKey` to all indexes to ensure a deterministic sort order of query results. You do not have to add the `primaryKey` to any index.
-:::
-
-### Index-example
-
-```javascript
-const schemaWithIndexes = {
- version: 0,
- title: 'human schema with indexes',
- keyCompression: true,
- primaryKey: 'id',
- type: 'object',
- properties: {
- id: {
- type: 'string',
- maxLength: 100 // <- the primary key must have set maxLength
- },
- firstName: {
- type: 'string',
- maxLength: 100 // <- string-fields that are used as an index, must have set maxLength.
- },
- lastName: {
- type: 'string'
- },
- active: {
- type: 'boolean'
- },
- familyName: {
- type: 'string'
- },
- balance: {
- type: 'number',
-
- // number fields that are used in an index, must have set minimum, maximum and multipleOf
- minimum: 0,
- maximum: 100000,
- multipleOf: 0.01
- },
- creditCards: {
- type: 'array',
- items: {
- type: 'object',
- properties: {
- cvc: {
- type: 'number'
- }
- }
- }
- }
- },
- required: [
- 'id',
- 'active' // <- boolean fields that are used in an index, must be required.
- ],
- indexes: [
- 'firstName', // <- this will create a simple index for the `firstName` field
- ['active', 'firstName'], // <- this will create a compound-index for these two fields
- 'active'
- ]
-};
-```
-
-# internalIndexes
-
-When you use RxDB on the server-side, you might want to use internalIndexes to speed up internal queries. [Read more](./rx-server.md#server-only-indexes)
-
-## attachments
-To use attachments in the collection, you have to add the `attachments`-attribute to the schema. [See RxAttachment](./rx-attachment.md).
-
-## default
-Default values can only be defined for first-level fields.
-Whenever you insert a document unset fields will be filled with default-values.
-
-```javascript
-const schemaWithDefaultAge = {
- version: 0,
- primaryKey: 'id',
- type: 'object',
- properties: {
- id: {
- type: 'string',
- maxLength: 100 // <- the primary key must have set maxLength
- },
- firstName: {
- type: 'string'
- },
- lastName: {
- type: 'string'
- },
- age: {
- type: 'integer',
- default: 20 // <- default will be used
- }
- },
- required: ['id']
-};
-```
-
-## final
-By setting a field to `final`, you make sure it cannot be modified later. Final fields are always required.
-Final fields cannot be observed because they will not change.
-
-Advantages:
-
-- With final fields you can ensure that no-one accidentally modifies the data.
-- When you enable the `eventReduce` algorithm, some performance-improvements are done.
-
-```javascript
-const schemaWithFinalAge = {
- version: 0,
- primaryKey: 'id',
- type: 'object',
- properties: {
- id: {
- type: 'string',
- maxLength: 100 // <- the primary key must have set maxLength
- },
- firstName: {
- type: 'string'
- },
- lastName: {
- type: 'string'
- },
- age: {
- type: 'integer',
- final: true
- }
- },
- required: ['id']
-};
-```
-
-## Non allowed properties
-
-The schema is not only used to validate objects before they are written into the database, but also used to map getters to observe and populate single fieldnames, keycompression and other things. Therefore you can not use every schema which would be valid for the spec of [json-schema.org](http://json-schema.org/).
-For example, fieldnames must match the regex `^[a-zA-Z][[a-zA-Z0-9_]*]?[a-zA-Z0-9]$` and `additionalProperties` is always set to `false`. But don't worry, RxDB will instantly throw an error when you pass an invalid schema into it.
-
-Also the following class properties of `RxDocument` cannot be used as top level fields because they would clash when the RxDocument property is accessed:
-```json
-[
- "collection",
- "_data",
- "_propertyCache",
- "isInstanceOfRxDocument",
- "primaryPath",
- "primary",
- "revision",
- "deleted$",
- "deleted$$",
- "deleted",
- "getLatest",
- "$",
- "$$",
- "get$",
- "get$$",
- "populate",
- "get",
- "toJSON",
- "toMutableJSON",
- "update",
- "incrementalUpdate",
- "updateCRDT",
- "putAttachment",
- "putAttachmentBase64",
- "getAttachment",
- "allAttachments",
- "allAttachments$",
- "modify",
- "incrementalModify",
- "patch",
- "incrementalPatch",
- "_saveData",
- "remove",
- "incrementalRemove",
- "close",
- "deleted",
- "synced"
-]
-```
-
-## FAQ
-
-
- How can I store a Date?
-
- With RxDB you can only store plain JSON data inside of a document. You cannot store a JavaScript `new Date()` instance directly. This is for performance reasons and because `Date()` is a mutable thing where changing it at any time might cause strange problem that are hard to debug.
-
- To store a date in RxDB, you have to define a string field with a `format` attribute:
- ```json
- {
- "type": "string",
- "format": "date-time"
- }
- ```
-
- When storing the data you have to first transform your `Date` object into a string `Date.toISOString()`.
- Because the `date-time` is sortable, you can do whatever query operations on that field and even use it as an index.
-
-
-
-
- How to store schemaless data?
-
- By design, RxDB requires that every collection has a schema. This means you cannot create a truly "schema-less" collection where top-level fields are unknown at schema creation time. RxDB must know about all fields of a document at the top level to perform validation, index creation, and other internal optimizations.
- However, there is a way to store data of arbitrary structure at sub-fields. To do this, define a property with `type: "object"` in your schema. For example:
- ```ts
- {
- "version": 0,
- "primaryKey": "id",
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "maxLength": 100
- },
- "myDynamicData": {
- "type": "object"
- // Here you can store any JSON data
- // because it's an open object.
- }
- },
- "required": ["id"]
- }
- ```
-
-
-
-
- Why does RxDB automatically set `additionalProperties: false` at the top level
-
- RxDB automatically sets `additionalProperties: false` at the top level of a schema to ensure that all top-level fields are known in advance. This design choice offers several benefits:
-
-- Prevents collisions with RxDocument class properties:
-RxDB documents have built-in class methods (e.g., .toJSON, .save) at the top level. By forbidding unknown top-level properties, we avoid accidental naming collisions with these built-in methods.
-
-- Avoids conflicts with user-defined ORM functions:
-Developers can add custom [ORM methods](./orm.md) to RxDocuments. If top-level properties were unbounded, a property name could accidentally conflict with a method name, leading to unexpected behavior.
-
-- Improves TypeScript typings:
-If RxDB didn't know about all top-level fields, the document type would effectively become `any`. That means a simple typo like `myDocument.toJOSN()` would only be caught at runtime, not at build time. By disallowing unknown properties, TypeScript can provide strict typing and catch errors sooner.
-
-
-
-
- Can't change the schema of a collection
-
- When you make changes to the schema of a collection, you sometimes can get an error like
-`Error: addCollections(): another instance created this collection with a different schema`.
-
-This means you have created a collection before and added document-data to it.
-When you now just change the schema, it is likely that the new schema does not match the saved documents inside of the collection.
-This would cause strange bugs and would be hard to debug, so RxDB check's if your schema has changed and throws an error.
-
-To change the schema in **production**-mode, do the following steps:
-
-- Increase the `version` by 1
-- Add the appropriate [migrationStrategies](https://pubkey.github.io/rxdb/migration-schema.html) so the saved data will be modified to match the new schema
-
-In **development**-mode, the schema-change can be simplified by **one of these** strategies:
-
-- Use the memory-storage so your db resets on restart and your schema is not saved permanently
-- Call `removeRxDatabase('mydatabasename', RxStorage);` before creating a new RxDatabase-instance
-- Add a timestamp as suffix to the database-name to create a new one each run like `name: 'heroesDB' + new Date().getTime()`
-
-
diff --git a/docs/rx-server-scaling.html b/docs/rx-server-scaling.html
deleted file mode 100644
index aaa8269ec4f..00000000000
--- a/docs/rx-server-scaling.html
+++ /dev/null
@@ -1,82 +0,0 @@
-
-
-
-
-
-RxServer Scaling - Vertical or Horizontal | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
The RxDB Server run in JavaScript and JavaScript runs on a single process on the operating system. This can make the CPU performance limit to be the main bottleneck when serving requests to your users. To mitigate that problem, there are a wide range of methods to scale up the server so that it can serve more requests at the same time faster.
Vertical Scaling aka "scaling up" has the goal to get more power out of a single server by utilizing more of the servers compute. Vertical scaling should be the first step when you decide it is time to scale.
To utilize more compute power of your server, the first step is to scale vertically by running the RxDB server on multiple processes in parallel.
-RxDB itself is already build to support multiInstance-usage on the client, like when the user has opened multiple browser tabs at once. The same method works also on the server side in Node.js. You can spawn multiple JavaScript processes that use the same RxDatabase and the instances will automatically communicate with each other and distribute their data and events with the BroadcastChannel.
-By default the multiInstance param is set to true when calling createRxDatabase(), so you do not have to change anything. To make all processes accessible through the same endpoint, you can put a load-balancer like nginx in front of them.
Another way to increases the server capacity is to put the storage into a Worker thread so that the "main" thread with the webserver can handle more requests. This might be easier to set up compared to using multiple JavaScript processes and a load balancer.
-
Use an in-memory storage at the user facing level
-
Another way to serve more requests to your end users, is to use an in-memory storage that has the best read- and write performance. It outperforms persistent storages by a factor of 10x.
-So instead of directly serving requests from the persistence layer, you add an in-memory layer on top of that. You could either do a replication from your memory database to the persistent one, or you use the memory mapped storage which has this build in.
But notice that you have to check your persistence requirements. When a write happens to the memory layer and the server crashes while it has not persisted, in rare cases the write operation might get lost. You can remove that risk by setting awaitWritePersistence: true on the memory mapped storage settings.
The most common way to use multiple servers with RxDB is to split up the server into a tree with a root "datastore" and multiple "branches". The datastore contains the persisted data and only servers as a replication endpoint for the branches. The branches themself will replicate data to and from the datastore and server requests to the end users.
-This is mostly useful on read-heavy applications because reads will directly run on the branches without ever reaching the main datastore and you can always add more branches to scale up. Even adding additional layers of "datastores" is possible so the tree can grow (or shrink) with the demand.
Instead of running the "branches" of the tree on the same physical location as the datastore, it often makes sense to move the branches into a datacenter near the end users. Because the RxDB replication algorithm is made to work with slow and even partially offline users, using it for physically separated servers will work the same way. Latency is not that important because writes and reads will not decrease performance by blocking each other and the replication can run in the background without blocking other servers during transaction.
If your application is build with a microservice architecture and your microservices are also build in Node.js, you can scale the database horizontally by moving the database into the microservices and use the RxDB replication to do a realtime sync between the microservices and a main "datastore" server. The "datastore" server would then only handle the replication requests or do some additional things like logging or backups. The compute for reads and writes will then mainly be done on the microservices themself. This simplifies setting up more and more microservices without decreasing the performance of the whole system.
An alternative to scaling up the RxDB servers themself, you can also switch to a RxStorage which scales up internally. For example the FoundationDB storage or MongoDB can work on top of a cluster that can increase load by adding more servers to itself. With that you can always add more Node.js RxDB processes that connect to the same cluster and server requests from it.
-
-
\ No newline at end of file
diff --git a/docs/rx-server-scaling.md b/docs/rx-server-scaling.md
deleted file mode 100644
index a8a5bfd15b6..00000000000
--- a/docs/rx-server-scaling.md
+++ /dev/null
@@ -1,70 +0,0 @@
-# RxServer Scaling - Vertical or Horizontal
-
-> Discover vertical and horizontal techniques to boost RxServer. Learn multiple processes, worker threads, and replication for limitless performance.
-
-# Scaling the RxServer
-
-The [RxDB Server](./rx-server.md) run in JavaScript and JavaScript runs on a single process on the operating system. This can make the CPU performance limit to be the main bottleneck when serving requests to your users. To mitigate that problem, there are a wide range of methods to scale up the server so that it can serve more requests at the same time faster.
-
-## Vertical Scaling
-
-Vertical Scaling aka "scaling up" has the goal to get more power out of a single server by utilizing more of the servers compute. Vertical scaling should be the first step when you decide it is time to scale.
-
-### Run multiple JavaScript processes
-To utilize more compute power of your server, the first step is to scale vertically by running the RxDB server on **multiple processes** in parallel.
-RxDB itself is already build to support multiInstance-usage on the client, like when the user has opened multiple browser tabs at once. The same method works also on the server side in Node.js. You can spawn multiple JavaScript processes that use the same [RxDatabase](./rx-database.md) and the instances will automatically communicate with each other and distribute their data and events with the [BroadcastChannel](https://github.com/pubkey/broadcast-channel).
-By default the [multiInstance param](./rx-database.md#multiinstance) is set to `true` when calling `createRxDatabase()`, so you do not have to change anything. To make all processes accessible through the same endpoint, you can put a load-balancer like [nginx](https://nginx.org/en/docs/http/load_balancing.html) in front of them.
-
-### Using workers to split up the load
-
-Another way to increases the server capacity is to put the storage into a [Worker thread](./rx-storage-worker.md) so that the "main" thread with the webserver can handle more requests. This might be easier to set up compared to using multiple JavaScript processes and a load balancer.
-
-### Use an in-memory storage at the user facing level
-
-Another way to serve more requests to your end users, is to use an [in-memory](./rx-storage-memory.md) storage that has the [best](./rx-storage-performance.md) read- and write performance. It outperforms persistent storages by a factor of 10x.
-So instead of directly serving requests from the persistence layer, you add an in-memory layer on top of that. You could either do a [replication](./replication.md) from your memory database to the persistent one, or you use the [memory mapped](./rx-storage-memory-mapped.md) storage which has this build in.
-
-```ts
-import { getRxStorageMemory } from 'rxdb/plugins/storage-memory';
-import { replicateRxCollection } from 'rxdb/plugins/replication';
-import { getRxStorageFilesystemNode } from 'rxdb-premium/plugins/storage-filesystem-node';
-import { getMemoryMappedRxStorage } from 'rxdb-premium/plugins/storage-memory-mapped';
-const myRxDatabase = await createRxDatabase({
- name: 'mydb',
- storage: getMemoryMappedRxStorage({
- storage: getRxStorageFilesystemNode({
- basePath: path.join(__dirname, 'my-database-folder')
- })
- })
-});
-await myDatabase.addCollections({/* ... */});
-
-const myServer = await startRxServer({
- database: myRxDatabase,
- port: 443
-});
-```
-
-But notice that you have to check your persistence requirements. When a write happens to the memory layer and the server crashes while it has not persisted, in rare cases the write operation might get lost. You can remove that risk by setting `awaitWritePersistence: true` on the [memory mapped storage](./rx-storage-memory-mapped.md) settings.
-
-## Horizontal Scaling
-
-To scale the RxDB Server above a single physical hardware unit, there are different solutions where the decision depends on the exact use case.
-
-### Single Datastore with multiple branches
-The most common way to use multiple servers with RxDB is to split up the server into a tree with a root "datastore" and multiple "branches". The datastore contains the persisted data and only servers as a replication endpoint for the branches. The branches themself will replicate data to and from the datastore and server requests to the end users.
-This is mostly useful on read-heavy applications because reads will directly run on the branches without ever reaching the main datastore and you can always add more branches to **scale up**. Even adding additional layers of "datastores" is possible so the tree can grow (or shrink) with the demand.
-
-
-
-### Moving the branches to "the edge"
-
-Instead of running the "branches" of the tree on the same physical location as the datastore, it often makes sense to move the branches into a datacenter near the end users. Because the RxDB [replication algorithm](./replication.md) is made to work with slow and even partially offline users, using it for physically separated servers will work the same way. Latency is not that important because writes and reads will not decrease performance by blocking each other and the replication can run in the background without blocking other servers during transaction.
-
-### Replicate Databases for Microservices
-
-If your application is build with a [microservice architecture](https://en.wikipedia.org/wiki/Microservices) and your microservices are also build in Node.js, you can scale the database horizontally by moving the database into the microservices and use the [RxDB replication](./replication.md) to do a realtime sync between the microservices and a main "datastore" server. The "datastore" server would then only handle the replication requests or do some additional things like logging or [backups](./backup.md). The compute for reads and writes will then mainly be done on the microservices themself. This simplifies setting up more and more microservices without decreasing the performance of the whole system.
-
-### Use a self-scaling RxStorage
-
-An alternative to scaling up the RxDB servers themself, you can also switch to a [RxStorage](./rx-storage.md) which scales up internally. For example the [FoundationDB storage](./rx-storage-foundationdb.md) or [MongoDB](./rx-storage-mongodb.md) can work on top of a cluster that can increase load by adding more servers to itself. With that you can always add more Node.js RxDB processes that connect to the same cluster and server requests from it.
diff --git a/docs/rx-server.html b/docs/rx-server.html
deleted file mode 100644
index 1a50cddf4d2..00000000000
--- a/docs/rx-server.html
+++ /dev/null
@@ -1,247 +0,0 @@
-
-
-
-
-
-RxDB Server - Deploy Your Data | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
The RxDB Server Plugin makes it possible to spawn a server on top of a RxDB database that offers multiple types of endpoints for various usages. It can spawn basic CRUD REST endpoints or even realtime replication endpoints that can be used by the client devices to replicate data. The RxServer plugin is designed to be used in Node.js but you can also use it in Deno, Bun or the Electron "main" process. You can use it either as a standalone server or add it on top of an existing http server (like express) in nodejs.
To create an RxServer, you have to install the rxdb-server package with npm install rxdb-server --save and then you can import the createRxServer() function and create a server on a given RxDatabase and adapter.
-
After adding the endpoints to the server, do not forget to call myServer.start() to start the actually http-server.
-
import { createRxServer } from 'rxdb-server/plugins/server';
-
-/**
- * We use the express adapter which is the one that comes with RxDB core
- * Make sure you have express installed in the correct version!
- * @see https://github.com/pubkey/rxdb-server/blob/master/package.json
- */
-import { RxServerAdapterExpress } from 'rxdb-server/plugins/adapter-express';
-
-const myServer = await createRxServer({
- database: myRxDatabase,
- adapter: RxServerAdapterExpress,
- port: 443
-});
-
-// add endpoints here (see below)
-
-// after adding the endpoints, start the server
-await myServer.start();
There is also a RxDB Premium 👑 adapter to use the RxServer with Fastify instead of express. Fastify has shown to have better performance and in general is more modern.
On top of the RxServer you can add different types of endpoints. An endpoint is always connected to exactly one RxCollection and it only serves data from that single collection.
-
For now there are only two endpoints implemented, the replication endpoint and the REST endpoint. Others will be added in the future.
-
An endpoint is added to the server by calling the add endpoint method like myRxServer.addReplicationEndpoint(). Each needs a different name string as input which will define the resulting endpoint url.
-
The endpoint urls is a combination of the given name and schema version of the collection, like /my-endpoint/0.
Notice that it is not required that the server side schema version is equal to the client side schema version. You might want to change server schemas more often and then only do a migration on the server, not on the clients.
The replication endpoint allows clients that connect to it to replicate data with the server via the RxDB Sync Engine. There is also the Replication Server plugin that is used on the client side to connect to the endpoint.
-
The endpoint is added to the server with the addReplicationEndpoint() method. It requires a specific collection and the endpoint will only provided replication for documents inside of that collection.
The REST endpoint exposes various methods to access the data from the RxServer with non-RxDB tools via plain HTTP operations. You can use it to connect apps that are programmed in different programming languages than JavaScript or to access data from other third party tools.
When creating a server or adding endpoints, you can specify a CORS string.
-Endpoint cors always overwrite server cors. The default is the wildcard * which allows all requests.
To authenticate users and to make user-specific data available on server requests, an authHandler must be provided that parses the headers and returns the actual auth data that is used to authenticate the client and in the queryModifier and changeValidator.
-
An auth handler gets the given headers object as input and returns the auth data in the format { data: {}, validUntil: 1706579817126}.
-The data field can contain any data that can be used afterwards in the queryModifier and changeValidator.
-The validUntil field contains the unix timestamp in milliseconds at which the authentication is no longer valid and the client will get disconnected.
-
For example your authHandler could get the Authorization header and parse the JSON web token to identify the user and store the user id in the data field for later use.
The query modifier is a JavaScript function that is used to restrict which documents a client can fetch or replicate from the server.
-It gets the auth data and the actual NoSQL query as input parameter and returns a modified NoSQL query that is then used internally by the server.
-You can pass a different query modifier to each endpoint so that you can have different endpoints for different use cases on the same server.
-
For example you could use a query modifier that get the userId from the auth data and then restricts the query to only return documents that have the same userId set.
The RxServer will use the queryModifier at many places internally to determine which queries to run or if a document is allowed to be seen/edited by a client.
-
note
For performance reasons the queryModifier and changeValidatorMUST NOT be async and return a promise. If you need async data to run them, you should gather that data in the RxServerAuthHandler and store it in the auth data to access it later.
The change validator is a JavaScript function that is used to restrict which document writes are allowed to be done by a client.
-For example you could restrict clients to only change specific document fields or to not do any document writes at all.
-It can also be used to validate change document data before storing it at the server.
-
In this example we restrict clients from doing inserts and only allow updates. For that we check if the change contains an assumedMasterState property and return false to block the write.
Normal RxDB schema indexes get the _deleted field prepended because all RxQueries automatically only search for documents with _deleted=false.
-When you use RxDB on a server, this might not be optimal because there can be the need to query for documents where the value of _deleted does not matter. Mostly this is required in the pull.stream$ of a replication when a queryModifier is used to add an additional field to the query.
-
To set indexes without _deleted, you can use the internalIndexes field of the schema like the following:
Indexes come with a performance burden. You should only use the indexes you need and make sure you do not accidentally set the internalIndexes in your client side RxCollections.
All endpoints can be created with the serverOnlyFields set which defines some fields to only exist on the server, not on the clients. Clients will not see that fields and cannot do writes where one of the serverOnlyFields is set.
-Notice that when you use serverOnlyFields you likely need to have a different schema on the server than the schema that is used on the clients.
-
const endpoint = await server.addReplicationEndpoint({
- name: 'my-endpoint',
- collection: col,
- // here the field 'my-secretss' is defined to be server-only
- serverOnlyFields: ['my-secrets']
-});
-
note
For performance reasons, only top-level fields can be used as serverOnlyFields. Otherwise the server would have to deep-clone all document data which is too expensive.
When you have fields that should only be modified by the server, but not by the client, you can ensure that by comparing the fields value in the changeValidator.
-
-const myChangeValidator = function(authData, change){
- if(change.newDocumentState.myReadonlyField !== change.assumedMasterState.myReadonlyField){
- throw new Error('myReadonlyField is readonly');
- }
-}
-Why are the server plugins in a different github repo and npm package?
The RxServer and its other plugins are in a different github repository because:
It has too many dependencies that you do not want to install if you only use RxDB at the client side
It has a different license (SSPL) to prevent large cloud vendors from "stealing" the revenue, similar to MongoDB's license.
-Why can't endpoints be added dynamically?
After RxServer.start() is called, you can no longer add endpoints. This is because many of the supported
-server libraries do not allow dynamic routing for performance and security reasons.
-
-
\ No newline at end of file
diff --git a/docs/rx-server.md b/docs/rx-server.md
deleted file mode 100644
index 2047f6c4a38..00000000000
--- a/docs/rx-server.md
+++ /dev/null
@@ -1,332 +0,0 @@
-# RxDB Server - Deploy Your Data
-
-> Launch a secure, high-performance server on top of your RxDB database. Enable REST, replication endpoints, and seamless data syncing with RxServer.
-
-# RxDB Server
-
-The RxDB Server Plugin makes it possible to spawn a server on top of a RxDB database that offers multiple types of endpoints for various usages. It can spawn basic CRUD REST endpoints or even realtime replication endpoints that can be used by the client devices to replicate data. The RxServer plugin is designed to be used in Node.js but you can also use it in Deno, Bun or the [Electron](./electron-database.md) "main" process. You can use it either as a **standalone server** or add it on top of an **existing http server** (like express) in nodejs.
-
-## Starting a RxServer
-
-To create an `RxServer`, you have to install the `rxdb-server` package with `npm install rxdb-server --save` and then you can import the `createRxServer()` function and create a server on a given [RxDatabase](./rx-database.md) and adapter.
-
-After adding the endpoints to the server, do not forget to call `myServer.start()` to start the actually http-server.
-
-```ts
-import { createRxServer } from 'rxdb-server/plugins/server';
-
-/**
- * We use the express adapter which is the one that comes with RxDB core
- * Make sure you have express installed in the correct version!
- * @see https://github.com/pubkey/rxdb-server/blob/master/package.json
- */
-import { RxServerAdapterExpress } from 'rxdb-server/plugins/adapter-express';
-
-const myServer = await createRxServer({
- database: myRxDatabase,
- adapter: RxServerAdapterExpress,
- port: 443
-});
-
-// add endpoints here (see below)
-
-// after adding the endpoints, start the server
-await myServer.start();
-```
-
-### Using RxServer with Fastify
-
-There is also a [RxDB Premium 👑](/premium/) adapter to use the RxServer with [Fastify](https://fastify.dev/) instead of express. Fastify has shown to have better performance and in general is more modern.
-
-```ts
-import { createRxServer } from 'rxdb-server/plugins/server';
-import { RxServerAdapterFastify } from 'rxdb-premium/plugins/server-adapter-fastify';
-
-const myServer = await createRxServer({
- database: myRxDatabase,
- adapter: RxServerAdapterFastify,
- port: 443
-});
-await myServer.start();
-```
-
-### Using RxServer with Koa
-
-There is also a [RxDB Premium 👑](/premium/) adapter to use the RxServer with [Koa](https://koajs.com/) instead of express. Koa has shown to have better performance compared to express.
-
-```ts
-import { createRxServer } from 'rxdb-server/plugins/server';
-import { RxServerAdapterKoa } from 'rxdb-premium/plugins/server-adapter-koa';
-
-const myServer = await createRxServer({
- database: myRxDatabase,
- adapter: RxServerAdapterKoa,
- port: 443
-});
-await myServer.start();
-```
-
-## RxServer Endpoints
-
-On top of the RxServer you can add different types of **endpoints**. An endpoint is always connected to exactly one [RxCollection](./rx-collection.md) and it only serves data from that single collection.
-
-For now there are only two endpoints implemented, the [replication endpoint](#replication-endpoint) and the [REST endpoint](#rest-endpoint). Others will be added in the future.
-
-An endpoint is added to the server by calling the add endpoint method like `myRxServer.addReplicationEndpoint()`. Each needs a different `name` string as input which will define the resulting endpoint url.
-
-The endpoint urls is a combination of the given `name` and schema `version` of the collection, like `/my-endpoint/0`.
-
-```ts
-const myEndpoint = server.addReplicationEndpoint({
- name: 'my-endpoint',
- collection: myServerCollection
-});
-
-console.log(myEndpoint.urlPath) // > 'my-endpoint/0'
-```
-
-Notice that it is **not required** that the server side schema version is equal to the client side schema version. You might want to change server schemas more often and then only do a [migration](./migration-schema.md) on the server, not on the clients.
-
-## Replication Endpoint
-
-The replication endpoint allows clients that connect to it to replicate data with the server via the [RxDB Sync Engine](./replication.md). There is also the [Replication Server](./replication-server.md) plugin that is used on the client side to connect to the endpoint.
-
-The endpoint is added to the server with the `addReplicationEndpoint()` method. It requires a specific collection and the endpoint will only provided replication for documents inside of that collection.
-
-```ts
-// > server.ts
-const endpoint = server.addReplicationEndpoint({
- name: 'my-endpoint',
- collection: myServerCollection
-});
-```
-
-Then you can start the [Server Replication](./replication-server.md) on the client:
-```ts
-// > client.ts
-const replicationState = await replicateServer({
- collection: usersCollection,
- replicationIdentifier: 'my-server-replication',
- url: 'http://localhost:80/my-endpoint/0',
- push: {},
- pull: {}
-});
-```
-
-## REST endpoint
-
-The REST endpoint exposes various methods to access the data from the RxServer with non-RxDB tools via plain HTTP operations. You can use it to connect apps that are programmed in different programming languages than JavaScript or to access data from other third party tools.
-
-Creating a REST endpoint on a RxServer:
-```ts
-const endpoint = await server.addRestEndpoint({
- name: 'my-endpoint',
- collection: myServerCollection
-});
-```
-
-```ts
-// plain http request with fetch
-const request = await fetch('http://localhost:80/' + endpoint.urlPath + '/query', {
- method: 'POST',
- headers: {
- 'Accept': 'application/json',
- 'Content-Type': 'application/json'
- },
- body: JSON.stringify({ selector: {} })
-});
-const response = await request.json();
-```
-
-There is also the `client-rest` plugin that provides type-save interactions with the REST endpoint:
-
-```ts
-// using the client (optional)
-import { createRestClient } from 'rxdb-server/plugins/client-rest';
-const client = createRestClient('http://localhost:80/' + endpoint.urlPath, {/* headers */});
-const response = await client.query({ selector: {} });
-```
-
-The REST endpoint exposes the following paths:
-
-- **query [POST]**: Fetch the results of a NoSQL query.
-- **query/observe [GET]**: Observe a query's results via [Server Send Events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events).
-- **get [POST]**: Fetch multiple documents by their primary key.
-- **set [POST]**: Write multiple documents at once.
-- **delete [POST]**: Delete multiple documents by their primary key.
-
-## CORS
-
-When creating a server or adding endpoints, you can specify a [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) string.
-Endpoint cors always overwrite server cors. The default is the wildcard `*` which allows all requests.
-
-```ts
-const myServer = await startRxServer({
- database: myRxDatabase,
- cors: 'http://example.com'
- port: 443
-});
-const endpoint = await server.addReplicationEndpoint({
- name: 'my-endpoint',
- collection: myServerCollection,
- cors: 'http://example.com'
-});
-```
-
-## Auth handler
-
-To authenticate users and to make user-specific data available on server requests, an `authHandler` must be provided that parses the headers and returns the actual auth data that is used to authenticate the client and in the [queryModifier](#query-modifier) and [changeValidator](#change-validator).
-
-An auth handler gets the given headers object as input and returns the auth data in the format `{ data: {}, validUntil: 1706579817126}`.
-The `data` field can contain any data that can be used afterwards in the queryModifier and changeValidator.
-The `validUntil` field contains the unix timestamp in milliseconds at which the authentication is no longer valid and the client will get disconnected.
-
-For example your authHandler could get the `Authorization` header and parse the [JSON web token](https://jwt.io/) to identify the user and store the user id in the `data` field for later use.
-
-## Query modifier
-
-The query modifier is a JavaScript function that is used to restrict which documents a client can fetch or replicate from the server.
-It gets the auth data and the actual NoSQL query as input parameter and returns a modified NoSQL query that is then used internally by the server.
-You can pass a different query modifier to each endpoint so that you can have different endpoints for different use cases on the same server.
-
-For example you could use a query modifier that get the `userId` from the auth data and then restricts the query to only return documents that have the same `userId` set.
-
-```ts
-function myQueryModifier(authData, query) {
- query.selector.userId = { $eq: authData.data.userid };
- return query;
-}
-
-const endpoint = await server.addReplicationEndpoint({
- name: 'my-endpoint',
- collection: myServerCollection,
- queryModifier: myQueryModifier
-});
-```
-
-The RxServer will use the queryModifier at many places internally to determine which queries to run or if a document is allowed to be seen/edited by a client.
-
-:::note
-For performance reasons the `queryModifier` and `changeValidator` **MUST NOT** be `async` and return a promise. If you need async data to run them, you should gather that data in the `RxServerAuthHandler` and store it in the auth data to access it later.
-:::
-
-## Change validator
-
-The change validator is a JavaScript function that is used to restrict which document writes are allowed to be done by a client.
-For example you could restrict clients to only change specific document fields or to not do any document writes at all.
-It can also be used to validate change document data before storing it at the server.
-
-In this example we restrict clients from doing inserts and only allow updates. For that we check if the change contains an `assumedMasterState` property and return false to block the write.
-
-```ts
-
-function myChangeValidator(authData, change) {
- if(change.assumedMasterState) {
- return false;
- } else {
- return true;
- }
-}
-
-const endpoint = await server.addReplicationEndpoint({
- name: 'my-endpoint',
- collection: myServerCollection,
- changeValidator: myChangeValidator
-});
-```
-
-## Server-only indexes
-
-Normal RxDB schema indexes get the `_deleted` field prepended because all [RxQueries](./rx-query.md) automatically only search for documents with `_deleted=false`.
-When you use RxDB on a server, this might not be optimal because there can be the need to query for documents where the value of `_deleted` does not matter. Mostly this is required in the [pull.stream$](./replication.md#checkpoint-iteration) of a replication when a [queryModifier](#query-modifier) is used to add an additional field to the query.
-
-To set indexes without `_deleted`, you can use the `internalIndexes` field of the schema like the following:
-
-```json
- {
- "version": 0,
- "primaryKey": "id",
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "maxLength": 100
- },
- "name": {
- "type": "string",
- "maxLength": 100
- }
- },
- "internalIndexes": [
- ["name", "id"]
- ]
-}
-```
-
-:::note
-Indexes come with a performance burden. You should only use the indexes you need and make sure you **do not** accidentally set the `internalIndexes` in your client side [RxCollections](./rx-collection.md).
-:::
-
-## Server-only fields
-
-All endpoints can be created with the `serverOnlyFields` set which defines some fields to only exist on the server, not on the clients. Clients will not see that fields and cannot do writes where one of the `serverOnlyFields` is set.
-Notice that when you use `serverOnlyFields` you likely need to have a different schema on the server than the schema that is used on the clients.
-
-```ts
-const endpoint = await server.addReplicationEndpoint({
- name: 'my-endpoint',
- collection: col,
- // here the field 'my-secretss' is defined to be server-only
- serverOnlyFields: ['my-secrets']
-});
-```
-
-:::note
-For performance reasons, only top-level fields can be used as `serverOnlyFields`. Otherwise the server would have to deep-clone all document data which is too expensive.
-:::
-
-## Readonly fields
-
-When you have fields that should only be modified by the server, but not by the client, you can ensure that by comparing the fields value in the [changeValidator](#change-validator).
-
-```ts
-
-const myChangeValidator = function(authData, change){
- if(change.newDocumentState.myReadonlyField !== change.assumedMasterState.myReadonlyField){
- throw new Error('myReadonlyField is readonly');
- }
-}
-```
-
-## $regex queries not allowed
-
-`$regex` queries are not allowed to run at the server to prevent [ReDos Attacks](https://owasp.org/www-community/attacks/Regular_expression_Denial_of_Service_-_ReDoS).
-
-## Conflict handling
-
-To [detect and handle conflicts](./replication.md#conflict-handling), the conflict handler from the endpoints RxCollection is used.
-
-## FAQ
-
-
- Why are the server plugins in a different github repo and npm package?
-
- The RxServer and its other plugins are in a different github repository because:
-
-
- It has too many dependencies that you do not want to install if you only use RxDB at the client side
-
-
- It has a different license (SSPL) to prevent large cloud vendors from "stealing" the revenue, similar to MongoDB's license.
-
-
-
-
-
-
- Why can't endpoints be added dynamically?
-
- After `RxServer.start()` is called, you can no longer add endpoints. This is because many of the supported
- server libraries do not allow dynamic routing for performance and security reasons.
-
-
diff --git a/docs/rx-state.html b/docs/rx-state.html
deleted file mode 100644
index 792cd3521bc..00000000000
--- a/docs/rx-state.html
+++ /dev/null
@@ -1,155 +0,0 @@
-
-
-
-
-
-RxState - Reactive Persistent State with RxDB | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
RxState is a flexible state library build on top of the RxDB Database. While RxDB stores similar documents inside of collections, RxState can store any complex JSON data without having a predefined schema.
-
The state is automatically persisted through RxDB and states changes are propagated between browser tabs. Even setting up replication is simple by using the RxDB Replication feature.
A RxState instance is created on top of a RxDatabase. The state will automatically be persisted with the storage that was used when setting up the RxDatabase. To use it you first have to import the RxDBStatePlugin and add it to RxDB with addRxPlugin().
-To create a state call the addState() method on the database instance. Calling addState multiple times will automatically de-duplicated and only create a single RxState object.
-
import { createRxDatabase, addRxPlugin } from 'rxdb';
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-
-// first add the RxState plugin to RxDB
-import { RxDBStatePlugin } from 'rxdb/plugins/state';
-addRxPlugin(RxDBStatePlugin);
-
-const database = await createRxDatabase({
- name: 'heroesdb',
- storage: getRxStorageLocalstorage(),
-});
-
-// create a state instance
-const myState = await database.addState();
-
-// you can also create states with a given namespace
-const myChildState = await database.addState('myNamepsace');
Writing data to the state happen by a so called modifier. It is a simple JavaScript function that gets the current value as input and returns the new, modified value.
-
For example to increase the value of myField by one, you would use a modifier that increases the current value:
-
// initially set value to zero
-await myState.set('myField', v => 0);
-
-// increase value by one
-await myState.set('myField', v => v + 1);
-
-// update value to be 42
-await myState.set('myField', v => 42);
-
The modifier is used instead of a direct assignment to ensure correct behavior when other JavaScript realms write to the state at the same time, like other browser tabs or webworkers. On conflicts, the modifier will just be run again to ensure deterministic and correct behavior. Therefore mutation is async, you have to await the call to the set function when you care about the moment when the change actually happened.
The state stored inside of a RxState instance can be seen as a big single JSON object that contains all data.
-You can fetch the whole object or partially get a single properties or nested ones.
-Fetching data can either happen with the .get() method or by accessing the field directly like myRxState.myField.
-
// get root state data
-const val = myState.get();
-
-// get single property
-const val = myState.get('myField');
-const val = myState.myField;
-
-// get nested property
-const val = myState.get('myField.childfield');
-const val = myState.myField.childfield;
-
-// get nested array property
-const val = myState.get('myArrayField[0].foobar');
-const val = myState.myArrayField[0].foobar;
Instead of fetching the state once, you can also observe the state with either rxjs observables or custom reactivity handlers like signals or hooks.
-
Rxjs observables can be created by either using the .get$() method or by accessing the top level property suffixed with a dollar sign like myState.myField$.
-
const observable = myState.get$('myField');
-const observable = myState.myField$;
-
-// then you can subscribe to that observable
-observable.subscribe(newValue => {
- // update the UI
-});
-
Subscription works across multiple JavaScript realms like browser tabs or Webworkers.
With the double-dollar sign you can also access custom reactivity instances like signals or hooks. These are easier to use compared to rxjs, depending on which JavaScript framework you are using.
-
For example in angular to use signals, you would first add a reactivity factory to your database and then access the signals of the RxState:
For faster writes, changes to the state are only written as list of operations to disc. After some time you might have too
-many operations written which would delay the initial state creation. To automatically merge the state operations into a single operation and clear the old operations, you should add the Cleanup Plugin before creating the RxDatabase:
-
import { addRxPlugin } from 'rxdb';
-import { RxDBCleanupPlugin } from 'rxdb/plugins/cleanup';
-addRxPlugin(RxDBCleanupPlugin);
RxState is optimized for correctness, not for performance. Compared to other state libraries, RxState directly persists data to storage and ensures write conflicts are handled properly. Other state libraries are handles mainly in-memory and lazily persist to disc without caring about conflicts or multiple browser tabs which can cause problems and hard to reproduce bugs.
-
RxState still uses RxDB which has a range of great performing storages so the write speed is more than sufficient. Also to further improve write performance you can use more RxState instances (with an different namespace) to split writes across multiple storage instances.
-
Reads happen directly in-memory which makes RxState read performance comparable to other state libraries.
Because the state data is stored inside of an internal RxCollection you can easily use the RxDB Replication to sync data between users or devices of the same user.
-
For example with the P2P WebRTC replication you can start the replication on the collection and automatically sync the RxState operations between users directly:
-
-
\ No newline at end of file
diff --git a/docs/rx-state.md b/docs/rx-state.md
deleted file mode 100644
index 6890667c6c6..00000000000
--- a/docs/rx-state.md
+++ /dev/null
@@ -1,166 +0,0 @@
-# RxState - Reactive Persistent State with RxDB
-
-> Get real-time, persistent state without the hassle. RxState integrates easily with signals and hooks, ensuring smooth updates across tabs and devices.
-
-# RxState - Reactive Persistent State with RxDB
-
-RxState is a flexible state library build on top of the [RxDB Database](https://rxdb.info/). While RxDB stores similar documents inside of collections, RxState can store any complex JSON data without having a predefined schema.
-
-The state is automatically persisted through RxDB and states changes are propagated between browser tabs. Even setting up replication is simple by using the RxDB [Replication feature](./replication.md).
-
-## Creating a RxState
-
-A `RxState` instance is created on top of a [RxDatabase](./rx-database.md). The state will automatically be persisted with the [storage](./rx-storage.md) that was used when setting up the RxDatabase. To use it you first have to import the `RxDBStatePlugin` and add it to RxDB with `addRxPlugin()`.
-To create a state call the `addState()` method on the database instance. Calling `addState` multiple times will automatically de-duplicated and only create a single RxState object.
-
-```javascript
-import { createRxDatabase, addRxPlugin } from 'rxdb';
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-
-// first add the RxState plugin to RxDB
-import { RxDBStatePlugin } from 'rxdb/plugins/state';
-addRxPlugin(RxDBStatePlugin);
-
-const database = await createRxDatabase({
- name: 'heroesdb',
- storage: getRxStorageLocalstorage(),
-});
-
-// create a state instance
-const myState = await database.addState();
-
-// you can also create states with a given namespace
-const myChildState = await database.addState('myNamepsace');
-```
-
-## Writing data and Persistence
-
-Writing data to the state happen by a so called `modifier`. It is a simple JavaScript function that gets the current value as input and returns the new, modified value.
-
-For example to increase the value of `myField` by one, you would use a modifier that increases the current value:
-```ts
-// initially set value to zero
-await myState.set('myField', v => 0);
-
-// increase value by one
-await myState.set('myField', v => v + 1);
-
-// update value to be 42
-await myState.set('myField', v => 42);
-```
-
-The modifier is used instead of a direct assignment to ensure correct behavior when other JavaScript realms write to the state at the same time, like other browser tabs or webworkers. On conflicts, the modifier will just be run again to ensure deterministic and correct behavior. Therefore mutation is `async`, you have to `await` the call to the set function when you care about the moment when the change actually happened.
-
-## Get State Data
-
-The state stored inside of a RxState instance can be seen as a big single JSON object that contains all data.
-You can fetch the whole object or partially get a single properties or nested ones.
-Fetching data can either happen with the `.get()` method or by accessing the field directly like `myRxState.myField`.
-
-```ts
-// get root state data
-const val = myState.get();
-
-// get single property
-const val = myState.get('myField');
-const val = myState.myField;
-
-// get nested property
-const val = myState.get('myField.childfield');
-const val = myState.myField.childfield;
-
-// get nested array property
-const val = myState.get('myArrayField[0].foobar');
-const val = myState.myArrayField[0].foobar;
-```
-
-## Observability
-
-Instead of fetching the state once, you can also observe the state with either rxjs observables or [custom reactivity handlers](#rxstate-with-signals-and-hooks) like signals or hooks.
-
-Rxjs observables can be created by either using the `.get$()` method or by accessing the top level property suffixed with a dollar sign like `myState.myField$`.
-
-```ts
-const observable = myState.get$('myField');
-const observable = myState.myField$;
-
-// then you can subscribe to that observable
-observable.subscribe(newValue => {
- // update the UI
-});
-```
-Subscription works across multiple JavaScript realms like browser tabs or Webworkers.
-
-## RxState with signals and hooks
-
-With the double-dollar sign you can also access [custom reactivity](./reactivity.md) instances like signals or hooks. These are easier to use compared to rxjs, depending on which JavaScript framework you are using.
-
-For example in angular to use signals, you would first add a reactivity factory to your database and then access the signals of the RxState:
-
-```ts
-import { RxReactivityFactory, createRxDatabase } from 'rxdb/plugins/core';
-import { toSignal } from '@angular/core/rxjs-interop';
-const reactivityFactory: RxReactivityFactory = {
- fromObservable(obs, initialValue) {
- return toSignal(obs, { initialValue });
- }
-};
-const database = await createRxDatabase({
- name: 'mydb',
- storage: getRxStorageLocalstorage(),
- reactivity: reactivityFactory
-});
-const myState = await database.addState();
-
-const mySignal = myState.get$$('myField');
-const mySignal = myState.myField$$;
-```
-
-## Cleanup RxState operations
-
-For faster writes, changes to the state are only written as list of operations to disc. After some time you might have too
-many operations written which would delay the initial state creation. To automatically merge the state operations into a single operation and clear the old operations, you should add the [Cleanup Plugin](./cleanup.md) before creating the [RxDatabase](./rx-database.md):
-
-```ts
-import { addRxPlugin } from 'rxdb';
-import { RxDBCleanupPlugin } from 'rxdb/plugins/cleanup';
-addRxPlugin(RxDBCleanupPlugin);
-```
-
-## Correctness over Performance
-
-RxState is optimized for correctness, not for performance. Compared to other state libraries, RxState directly persists data to storage and ensures write conflicts are handled properly. Other state libraries are handles mainly in-memory and lazily persist to disc without caring about conflicts or multiple browser tabs which can cause problems and hard to reproduce bugs.
-
-RxState still uses RxDB which has a range of [great performing storages](./rx-storage-performance.md) so the write speed is more than sufficient. Also to further improve write performance you can use more RxState instances (with an different namespace) to split writes across multiple storage instances.
-
-Reads happen directly in-memory which makes RxState read performance comparable to other state libraries.
-
-## RxState Replication
-
-Because the state data is stored inside of an internal [RxCollection](./rx-collection.md) you can easily use the [RxDB Replication](./replication.md) to sync data between users or devices of the same user.
-
-For example with the [P2P WebRTC replication](./replication-webrtc.md) you can start the replication on the collection and automatically sync the RxState operations between users directly:
-
-```ts
-import {
- replicateWebRTC,
- getConnectionHandlerSimplePeer
-} from 'rxdb/plugins/replication-webrtc';
-
-const database = await createRxDatabase({
- name: 'heroesdb',
- storage: getRxStorageLocalstorage(),
-});
-
-const myState = await database.addState();
-
-const replicationPool = await replicateWebRTC(
- {
- collection: myState.collection,
- topic: 'my-state-replication-pool',
- connectionHandlerCreator: getConnectionHandlerSimplePeer({}),
- pull: {},
- push: {}
- }
-);
-```
diff --git a/docs/rx-storage-denokv.html b/docs/rx-storage-denokv.html
deleted file mode 100644
index 373811f60bc..00000000000
--- a/docs/rx-storage-denokv.html
+++ /dev/null
@@ -1,120 +0,0 @@
-
-
-
-
-
-DenoKV RxStorage | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
With the DenoKV RxStorage layer for RxDB, you can run a fully featured NoSQL database on top of the DenoKV API.
-This gives you the benefits and features of the RxDB JavaScript Database, combined with the global availability and distribution features of the DenoKV.
DenoKV is a strongly consistent key-value storage, globally replicated for low-latency reads across 35 worldwide regions via Deno Deploy.
-When you release your Deno application on Deno Deploy, it will start a instance on each of the 35 worldwide regions. This edge deployment guarantees minimal latency when serving requests to end users devices around the world. DenoKV is a shared storage which shares its state across all instances.
-But, because DenoKV is "only" a Key-Value storage, it only supports basic CRUD operations on datasets and indexes. Complex features like queries, encryption, compression or client-server replication, are missing. Using RxDB on top of DenoKV fills this gap and makes it easy to build realtime offline-first application on top of Deno backend.
Using RxDB-DenoKV instead of plain DenoKV, can have a wide range of benefits depending on your use case.
-
-
-
Reduce vendor lock-in: RxDB has a swappable storage layer which allows you to swap out the underlying storage of your database. If you ever decide to move away from DenoDeploy or Deno at all, you do not have to refactor your whole application and instead just swap the storage plugin. For example if you decide migrate to Node.js, you can use the FoundationDB RxStorage and store your data there. DenoKV is also implemented on top of FoundationDB so you can get similar performance. Alternatively RxDB supports a wide range of storage plugins you can decide from.
-
-
-
Add reactiveness: DenoKV is a plain request-response datastore. While it supports observation of single rows by id, it does not allow to observe row-ranges or events. This makes it hard to impossible to build realtime applications with it because polling would be the only way to watch ranges of key-value pairs. With RxDB on top of DenoKV, changes to the database are shared between DenoDeploy instances so when you observe a query you can be sure that it is always up to date, no matter which instance has changed the document. Internally RxDB uses the Deno BroadcastChannel API to share events between instances.
-
-
-
Reuse Client and Server Code: When you use RxDB on the server and on the client side, many parts of your code can be reused on both sides which decreases development time significantly.
-
-
-
Replicate from DenoKV to a local RxDB state: Instead of running all operations against the global DenoKV, you can run a realtime-replication between a DenoKV-RxDatabase and a locally stored dataset or maybe even an in-memory stored one. This improves query performance and can reduce your Deno Deploy cloud costs because less operations run against the DenoKV, they only locally instead.
-
-
-
Replicate with other backends: The RxDB Sync Engine is pretty simple and allows you to easily build a replication with any backend architecture. For example if you already have your data stored in a self-hosted MySQL server, you can use RxDB to do a realtime replication of that data into a DenoKV RxDatabase instance. RxDB also has many plugins for replication with backend/protocols like GraphQL, Websocket, CouchDB, WebRTC, Firestore and NATS.
To use the DenoKV RxStorage with RxDB, you import the getRxStorageDenoKV function from the plugin and set it as storage when calling createRxDatabase
-
-import { createRxDatabase } from 'rxdb';
-import { getRxStorageDenoKV } from 'rxdb/plugins/storage-denokv';
-
-const myRxDatabase = await createRxDatabase({
- name: 'exampledb',
- storage: getRxStorageDenoKV({
- /**
- * Consistency level, either 'strong' or 'eventual'
- * (Optional) default='strong'
- */
- consistencyLevel: 'strong',
- /**
- * Path which is used in the first argument of Deno.openKv(settings.openKvPath)
- * (Optional) default=''
- */
- openKvPath: './foobar',
- /**
- * Some operations have to run in batches,
- * you can test different batch sizes to improve performance.
- * (Optional) default=100
- */
- batchSize: number
- })
-});
-
-
On top of that RxDatabase you can then create your collections and run operations. Follow the quickstart to learn more about how to use RxDB.
When you use other storages than the DenoKV storage inside of a Deno app, make sure you set multiInstance: false when creating the database. Also you should only run one process per Deno-Deploy instance. This ensures your events are not mixed up by the BroadcastChannel across instances which would lead to wrong behavior.
-
// DenoKV based database
-const db = await createRxDatabase({
- name: 'denokvdatabase',
- storage: getRxStorageDenoKV(),
- /**
- * Use multiInstance: true so that the Deno Broadcast Channel
- * emits event across DenoDeploy instances
- * (true is also the default, so you can skip this setting)
- */
- multiInstance: true
-});
-
-// Non-DenoKV based database
-const db = await createRxDatabase({
- name: 'denokvdatabase',
- storage: getRxStorageFilesystemNode(),
- /**
- * Use multiInstance: false so that it does not share events
- * across instances because the stored data is anyway not shared
- * between them.
- */
- multiInstance: false
-});
-
-
\ No newline at end of file
diff --git a/docs/rx-storage-denokv.md b/docs/rx-storage-denokv.md
deleted file mode 100644
index d6ed67327ea..00000000000
--- a/docs/rx-storage-denokv.md
+++ /dev/null
@@ -1,98 +0,0 @@
-# DenoKV RxStorage
-
-> With the DenoKV [RxStorage](./rx-storage.md) layer for [RxDB](https://rxdb.info), you can run a fully featured **NoSQL database** on top of the [DenoKV API](https://docs.deno.com/kv/manual).
-This gives you the benefits and features of the RxDB JavaScript Database, combined with the global availability and distribution features of the DenoKV.
-
-# RxDB Database on top of Deno Key Value Store
-
-With the DenoKV [RxStorage](./rx-storage.md) layer for [RxDB](https://rxdb.info), you can run a fully featured **NoSQL database** on top of the [DenoKV API](https://docs.deno.com/kv/manual).
-This gives you the benefits and features of the RxDB JavaScript Database, combined with the global availability and distribution features of the DenoKV.
-
-
-
-## What is DenoKV
-
-[DenoKV](https://deno.com/kv) is a strongly consistent key-value storage, globally replicated for low-latency reads across 35 worldwide regions via [Deno Deploy](https://deno.com/deploy).
-When you release your Deno application on Deno Deploy, it will start a instance on each of the [35 worldwide regions](https://docs.deno.com/deploy/manual/regions). This edge deployment guarantees minimal latency when serving requests to end users devices around the world. DenoKV is a shared storage which shares its state across all instances.
-But, because DenoKV is "only" a **Key-Value storage**, it only supports basic CRUD operations on datasets and indexes. Complex features like queries, encryption, compression or client-server replication, are missing. Using RxDB on top of DenoKV fills this gap and makes it easy to build realtime [offline-first](./offline-first.md) application on top of Deno backend.
-
-## Use cases
-
-Using RxDB-DenoKV instead of plain DenoKV, can have a wide range of benefits depending on your use case.
-
-- **Reduce vendor lock-in**: RxDB has a swappable [storage layer](./rx-storage.md) which allows you to swap out the underlying storage of your database. If you ever decide to move away from DenoDeploy or Deno at all, you do not have to refactor your whole application and instead just **swap the storage plugin**. For example if you decide migrate to Node.js, you can use the [FoundationDB RxStorage](./rx-storage-foundationdb.md) and store your data there. DenoKV is also implemented on top of FoundationDB so you can get similar performance. Alternatively RxDB supports a wide range of [storage plugins](./rx-storage.md) you can decide from.
-
-- **Add reactiveness**: DenoKV is a plain request-response datastore. While it supports observation of single rows by id, it does not allow to observe row-ranges or events. This makes it hard to impossible to build realtime applications with it because polling would be the only way to watch ranges of key-value pairs. With RxDB on top of DenoKV, changes to the database are **shared between DenoDeploy instances** so when you **observe a [query](./rx-query.md)** you can be sure that it is always up to date, no matter which instance has changed the document. Internally RxDB uses the [Deno BroadcastChannel API](https://docs.deno.com/deploy/api/runtime-broadcast-channel) to share events between instances.
-
-- **Reuse Client and Server Code**: When you use RxDB on the server and on the client side, many parts of your code can be reused on both sides which decreases development time significantly.
-
-- **Replicate from DenoKV to a local RxDB state**: Instead of running all operations against the global DenoKV, you can run a [realtime-replication](./replication.md) between a DenoKV-RxDatabase and a [locally stored dataset](./rx-storage-filesystem-node.md) or maybe even an [in-memory](./rx-storage-memory.md) stored one. This improves **query performance** and can **reduce your Deno Deploy cloud costs** because less operations run against the DenoKV, they only locally instead.
-
-- **Replicate with other backends**: The RxDB [Sync Engine](./replication.md) is pretty simple and allows you to easily build a replication with any backend architecture. For example if you already have your data stored in a self-hosted MySQL server, you can use RxDB to do a realtime replication of that data into a DenoKV RxDatabase instance. RxDB also has many plugins for replication with backend/protocols like [GraphQL](./replication-graphql.md), [Websocket](./replication-websocket.md), [CouchDB](./replication-couchdb.md), [WebRTC](./replication-webrtc.md), [Firestore](./replication-firestore.md) and [NATS](./replication-nats.md).
-
-
-
-## Using the DenoKV RxStorage
-
-To use the DenoKV RxStorage with RxDB, you import the `getRxStorageDenoKV` function from the plugin and set it as storage when calling [createRxDatabase](./rx-database.md#creation)
-
-```ts
-
-import { createRxDatabase } from 'rxdb';
-import { getRxStorageDenoKV } from 'rxdb/plugins/storage-denokv';
-
-const myRxDatabase = await createRxDatabase({
- name: 'exampledb',
- storage: getRxStorageDenoKV({
- /**
- * Consistency level, either 'strong' or 'eventual'
- * (Optional) default='strong'
- */
- consistencyLevel: 'strong',
- /**
- * Path which is used in the first argument of Deno.openKv(settings.openKvPath)
- * (Optional) default=''
- */
- openKvPath: './foobar',
- /**
- * Some operations have to run in batches,
- * you can test different batch sizes to improve performance.
- * (Optional) default=100
- */
- batchSize: number
- })
-});
-
-```
-
-On top of that [RxDatabase](./rx-database.md) you can then create your collections and run operations. Follow the [quickstart](./quickstart.md) to learn more about how to use RxDB.
-
-## Using non-DenoKV storages in Deno
-
-When you use other storages than the DenoKV storage inside of a Deno app, make sure you set `multiInstance: false` when creating the database. Also you should only run one process per Deno-Deploy instance. This ensures your events are not mixed up by the [BroadcastChannel](https://docs.deno.com/deploy/api/runtime-broadcast-channel) across instances which would lead to wrong behavior.
-
-```ts
-// DenoKV based database
-const db = await createRxDatabase({
- name: 'denokvdatabase',
- storage: getRxStorageDenoKV(),
- /**
- * Use multiInstance: true so that the Deno Broadcast Channel
- * emits event across DenoDeploy instances
- * (true is also the default, so you can skip this setting)
- */
- multiInstance: true
-});
-
-// Non-DenoKV based database
-const db = await createRxDatabase({
- name: 'denokvdatabase',
- storage: getRxStorageFilesystemNode(),
- /**
- * Use multiInstance: false so that it does not share events
- * across instances because the stored data is anyway not shared
- * between them.
- */
- multiInstance: false
-});
-```
diff --git a/docs/rx-storage-dexie.html b/docs/rx-storage-dexie.html
deleted file mode 100644
index 335bea39f80..00000000000
--- a/docs/rx-storage-dexie.html
+++ /dev/null
@@ -1,158 +0,0 @@
-
-
-
-
-
-RxDB Dexie.js Database - Fast, Reactive, Sync with Any Backend | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
To store the data inside of and RxDB Database in IndexedDB in the browser, you can use the Dexie.js based RxStorage. Dexie.js is a minimal wrapper around IndexedDB and the Dexie.js RxStorage wraps that again to use it for an RxDB database in the browser. For side projects and prototypes that run in a browser, you should use the dexie RxStorage as a default.
Overwrite/Polyfill the native IndexedDB API with an in-memory version
-
Node.js has no IndexedDB API. To still run the Dexie RxStorage in Node.js, for example to run unit tests, you have to polyfill it.
-You can do that by using the fake-indexeddb module and pass it to the getRxStorageDexie() function.
Dexie.js has its own plugin system with many plugins for encryption, replication or other use cases. With the Dexie.js RxStorage you can use the same plugins by passing them to the getRxStorageDexie() function.
Having your local data in sync with a remote backend is a key feature of RxDB. Here are two approaches to achieve this when using the Dexie.js RxStorage:
-
-
Dexie Cloud provides a managed solution: For quick setups, letting you rely on its Cloud backend and conflict resolution.
Choose the approach that best suits your needs - whether you want to get started quickly with Dexie Cloud or require the adaptability and autonomy of RxDB's native replication.
Dexie Cloud is an official SaaS solution provided by the Dexie team. It offers automatic synchronization, user management, and conflict resolution out of the box. The primary benefits are:
-
-
Automatic Sync: Dexie Cloud keeps your local IndexedDB in sync with its cloud-based backend.
-
User Authentication: Built-in user management (auth, roles, permissions).
-
Conflict Resolution: Automated resolution logic on the server side.
GraphQL Replication Plugin: Sync data with any GraphQL endpoint. Useful when you have a custom schema or you want to utilize GraphQL's powerful query features.
-
Custom Replication with REST APIs: Implement your own replication by building a pull/push handler that communicates with any RESTful backend.
-
-
Below is an example of replicating an RxDB collection with a CouchDB backend using RxDB's CouchDB replication plugin:
-
1
Import the RxDB with dexie and the CouchDB plugin
import { replicateCouchDB } from 'rxdb/plugins/replication-couchdb';
-import { getRxStorageDexie } from 'rxdb/plugins/storage-dexie';
-import { createRxDatabase } from 'rxdb/plugins/core';
Dexie.js offers a feature called liveQuery which automatically updates query results as data changes, allowing you to react to these changes in real-time. However, because RxDB intrinsically provides reactive queries, you typically do not need to enable live queries through Dexie. Once you have created your database and collections with RxDB, any query you perform can be observed by subscribing to it, for example via collection.find().$.subscribe(results => { /*... */ }). This means RxDB takes care of listening for changes and automatically emitting new results - ensuring your UI stays in sync with the underlying data without requiring extra plugins or manual polling.
We want to be transparent with our community, and you'll notice a console message when using the free Dexie.js based RxStorage implementation. This message serves to inform you about the availability of faster storage solutions within our 👑 Premium Plugins. We understand that this might be a minor inconvenience, and we sincerely apologize for that. However, maintaining and improving RxDB requires substantial resources, and our premium users help us ensure its sustainability. If you find value in RxDB and wish to remove this message, we encourage you to explore our premium storage options, which are optimized for professional use and production environments. Thank you for your understanding and support.
-
If you already have premium access and want to use the Dexie.js RxStorage without the log, you can call the setPremiumFlag() function to disable the log.
-
import { setPremiumFlag } from 'rxdb-premium/plugins/shared';
-setPremiumFlag();
-
Performance comparison with other RxStorage plugins
-
The performance of the Dexie.js RxStorage is good enough for most use cases but other storages can have way better performance metrics:
-
-
\ No newline at end of file
diff --git a/docs/rx-storage-dexie.md b/docs/rx-storage-dexie.md
deleted file mode 100644
index 0d3eb6e0f85..00000000000
--- a/docs/rx-storage-dexie.md
+++ /dev/null
@@ -1,216 +0,0 @@
-# RxDB Dexie.js Database - Fast, Reactive, Sync with Any Backend
-
-> Use Dexie.js to power RxDB in the browser. Enjoy quick setup, Dexie addons, and reliable storage for small apps or prototypes.
-
-import {Steps} from '@site/src/components/steps';
-
-# RxStorage Dexie.js
-
-To store the data inside of and RxDB Database in IndexedDB in the [browser](./articles/browser-database.md), you can use the [Dexie.js](https://github.com/dexie/Dexie.js) based [RxStorage](./rx-storage.md). Dexie.js is a minimal wrapper around IndexedDB and the Dexie.js RxStorage wraps that again to use it for an RxDB database in the browser. For side projects and prototypes that run in a browser, you should use the dexie RxStorage as a default.
-
-## Dexie.js vs IndexedDB Storage
-
-While Dexie.js [RxStorage](./rx-storage.md) can be used for free, most professional projects should switch to our **premium [IndexedDB RxStorage](./rx-storage-indexeddb.md) 👑** in production:
-
-- It is faster and reduces build size by up to **36%**.
-- It has a way [better performance](./rx-storage-performance.md) on reads and writes.
-- It stores attachments data as binary instead of base64 which reduces used space by 33%.
-- It does not use a [Batched Cursor](./slow-indexeddb.md#batched-cursor) or [custom indexes](./slow-indexeddb.md#custom-indexes) which makes queries slower compared to the [IndexedDB RxStorage](./rx-storage-indexeddb.md).
-- It supports **non-required indexes** which is [not possible](https://github.com/pubkey/rxdb/pull/6643#issuecomment-2505310082) with Dexie.js.
-- It runs in a **WAL-like mode** (similar to SQLite) for faster writes and improved responsiveness.
-- It support the [Storage Buckets API](./rx-storage-indexeddb.md#storage-buckets)
-
-## How to use Dexie.js as a Storage for RxDB
-
-
-
-### Import the Dexie Storage
-```ts
-import { createRxDatabase } from 'rxdb/plugins/core';
-import { getRxStorageDexie } from 'rxdb/plugins/storage-dexie';
-```
-
-### Create a Database
-```ts
-const db = await createRxDatabase({
- name: 'exampledb',
- storage: getRxStorageDexie()
-});
-```
-
-
-## Overwrite/Polyfill the native IndexedDB API with an in-memory version
-
-Node.js has no IndexedDB API. To still run the Dexie `RxStorage` in Node.js, for example to run unit tests, you have to polyfill it.
-You can do that by using the [fake-indexeddb](https://github.com/dumbmatter/fakeIndexedDB) module and pass it to the `getRxStorageDexie()` function.
-
-```ts
-import { createRxDatabase } from 'rxdb/plugins/core';
-import { getRxStorageDexie } from 'rxdb/plugins/storage-dexie';
-
-//> npm install fake-indexeddb --save
-const fakeIndexedDB = require('fake-indexeddb');
-const fakeIDBKeyRange = require('fake-indexeddb/lib/FDBKeyRange');
-
-const db = await createRxDatabase({
- name: 'exampledb',
- storage: getRxStorageDexie({
- indexedDB: fakeIndexedDB,
- IDBKeyRange: fakeIDBKeyRange
- })
-});
-
-```
-
-## Using Dexie Addons
-
-Dexie.js has its own plugin system with [many plugins](https://dexie.org/docs/DerivedWork#known-addons) for encryption, replication or other use cases. With the Dexie.js `RxStorage` you can use the same plugins by passing them to the `getRxStorageDexie()` function.
-
-```ts
-const db = await createRxDatabase({
- name: 'exampledb',
- storage: getRxStorageDexie({
- addons: [ /* Your Dexie.js plugins */ ]
- })
-});
-```
-
-## Sync Dexie.js with your Backend in RxDB
-
-Having your local data in sync with a remote backend is a key feature of RxDB. Here are two approaches to achieve this when using the Dexie.js RxStorage:
-
-* **Dexie Cloud** provides a **managed solution**: For quick setups, letting you rely on its Cloud backend and conflict resolution.
-* [RxDB's replication](./replication.md): Offers **full control** over your backend, data flow, and [conflict handling](./transactions-conflicts-revisions.md).
-
-Choose the approach that best suits your needs - whether you want to get started quickly with Dexie Cloud or require the adaptability and autonomy of RxDB's native replication.
-
-### A. Use Dexie Cloud Sync
-
-**Dexie Cloud** is an official SaaS solution provided by the Dexie team. It offers automatic synchronization, user management, and conflict resolution out of the box. The primary benefits are:
-
-- **Automatic Sync**: Dexie Cloud keeps your local IndexedDB in sync with its cloud-based backend.
-- **User Authentication**: Built-in user management (auth, roles, permissions).
-- **Conflict Resolution**: Automated resolution logic on the server side.
-
-
-
-#### Install the Dexie Cloud Addon
-
-```bash
-npm install dexie-cloud-addon
-```
-
-#### Import RxDB and dexie-cloud
-```ts
-import { createRxDatabase } from 'rxdb/plugins/core';
-import { getRxStorageDexie } from 'rxdb/plugins/storage-dexie';
-import dexieCloud from 'dexie-cloud-addon';
-```
-
-#### Create a Dexie based RxStorage with the Cloud Plugin
-
-```ts
-const storage = getRxStorageDexie({
- addons: [dexieCloud],
- /*
- * Whenever a new dexie database instance is created,
- * this method will be called.
- */
- async onCreate(dexieDatabase, dexieDatabaseName) {
- await dexieDatabase.cloud.configure({
- databaseUrl: "https://.dexie.cloud",
- requireAuth: true // optional
- });
- }
-});
-```
-
-#### Create an RxDB Database
-
-```ts
-const db = await createRxDatabase({
- name: 'mydb',
- storage
-});
-```
-
-
-### B. Use the RxDB Replication
-
-For **full flexibility** over your backend or conflict resolution strategy, you can use one of **RxDB's many replication plugins** like
-
-- [CouchDB Replication](./replication-couchdb.md) Plugin: Replicate with a CouchDB Server
-- [GraphQL Replication](./replication-graphql.md) Plugin: Sync data with any GraphQL endpoint. Useful when you have a custom schema or you want to utilize GraphQL's powerful query features.
-- [Custom Replication with REST APIs](./replication-http.md): Implement your own replication by building a pull/push handler that communicates with any RESTful backend.
-
-Below is an example of replicating an RxDB collection with a CouchDB backend using RxDB's CouchDB replication plugin:
-
-
-
-#### Import the RxDB with dexie and the CouchDB plugin
-```ts
-import { replicateCouchDB } from 'rxdb/plugins/replication-couchdb';
-import { getRxStorageDexie } from 'rxdb/plugins/storage-dexie';
-import { createRxDatabase } from 'rxdb/plugins/core';
-```
-
-#### Create an RxDB Database with the Dexie Storage
-
-```ts
-const db = await createRxDatabase({
- name: 'mydb',
- storage: getRxStorageDexie()
-});
-```
-
-#### Add a Collection
-
-```ts
-await db.addCollections({
- humans: {
- schema: {
- version: 0,
- type: 'object',
- primaryKey: 'id',
- properties: {
- id: { type: 'string', maxLength: 100 },
- name: { type: 'string' },
- age: { type: 'number' }
- },
- required: ['id', 'name']
- }
- }
-});
-```
-
-#### Sync the Collection with a CouchDB Server
-
-```ts
-const replicationState = replicateCouchDB({
- replicationIdentifier: 'my-couchdb-replication',
- collection: db.humans,
- // The URL to your CouchDB endpoint
- url: 'http://example.com/db/humans'
-});
-```
-
-
-
-## liveQuery - Realtime Queries
-
-Dexie.js offers a feature called `liveQuery` which automatically updates query results as data changes, allowing you to react to these changes in real-time. However, because RxDB intrinsically provides [reactive queries](./rx-query.md#observe), you typically do **not** need to enable live queries through Dexie. Once you have created your database and collections with RxDB, any query you perform can be observed by subscribing to it, for example via `collection.find().$.subscribe(results => { /*... */ })`. This means RxDB takes care of listening for changes and automatically emitting new results - ensuring your UI stays in sync with the underlying data without requiring extra plugins or manual polling.
-
-## Disabling the non-premium console log
-
-We want to be transparent with our community, and you'll notice a console message when using the free Dexie.js based RxStorage implementation. This message serves to inform you about the availability of faster storage solutions within our [👑 Premium Plugins](/premium/). We understand that this might be a minor inconvenience, and we sincerely apologize for that. However, maintaining and improving RxDB requires substantial resources, and our premium users help us ensure its sustainability. If you find value in RxDB and wish to remove this message, we encourage you to explore our premium storage options, which are optimized for professional use and production environments. Thank you for your understanding and support.
-
-If you already have premium access and want to use the Dexie.js [RxStorage](./rx-storage.md) without the log, you can call the `setPremiumFlag()` function to disable the log.
-
-```js
-import { setPremiumFlag } from 'rxdb-premium/plugins/shared';
-setPremiumFlag();
-```
-
-## Performance comparison with other RxStorage plugins
-
-The performance of the Dexie.js RxStorage is good enough for most use cases but other storages can have way better performance metrics:
diff --git a/docs/rx-storage-filesystem-node.html b/docs/rx-storage-filesystem-node.html
deleted file mode 100644
index 8909015bb13..00000000000
--- a/docs/rx-storage-filesystem-node.html
+++ /dev/null
@@ -1,72 +0,0 @@
-
-
-
-
-
-Blazing-Fast Node Filesystem Storage | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
The Filesystem Node RxStorage for RxDB is built on top of the Node.js Filesystem API.
-It stores data in plain json/txt files like any "normal" database does. It is a bit faster compared to the SQLite storage and its setup is less complex.
-Using the same database folder in parallel with multiple Node.js processes is supported when you set multiInstance: true while creating the RxDatabase.
-
-
\ No newline at end of file
diff --git a/docs/rx-storage-filesystem-node.md b/docs/rx-storage-filesystem-node.md
deleted file mode 100644
index 2a2e0341645..00000000000
--- a/docs/rx-storage-filesystem-node.md
+++ /dev/null
@@ -1,44 +0,0 @@
-# Blazing-Fast Node Filesystem Storage
-
-> Get up and running quickly with RxDB's Filesystem Node RxStorage. Store data in JSON, embrace multi-instance support, and enjoy a simpler database.
-
-# Filesystem Node RxStorage
-
-The Filesystem Node [RxStorage](./rx-storage.md) for RxDB is built on top of the [Node.js Filesystem API](https://nodejs.org/api/fs.html).
-It stores data in plain json/txt files like any "normal" database does. It is a bit faster compared to the [SQLite storage](./rx-storage-sqlite.md) and its setup is less complex.
-Using the same database folder in parallel with multiple Node.js processes is supported when you set `multiInstance: true` while creating the [RxDatabase](./rx-database.md).
-
-### Pros
-
-- Easier setup compared to [SQLite](./rx-storage-sqlite.md)
-- [Fast](./rx-storage-performance.md)
-
-### Cons
-
-- It is part of the [RxDB Premium 👑](/premium/) plugin that must be purchased.
-
-
-
-## Usage
-
-```ts
-import {
- createRxDatabase
-} from 'rxdb';
-import {
- getRxStorageFilesystemNode
-} from 'rxdb-premium/plugins/storage-filesystem-node';
-
-const myRxDatabase = await createRxDatabase({
- name: 'exampledb',
- storage: getRxStorageFilesystemNode({
- basePath: path.join(__dirname, 'my-database-folder'),
- /**
- * Set inWorker=true if you use this RxStorage
- * together with the WebWorker plugin.
- */
- inWorker: false
- })
-});
-/* ... */
-```
diff --git a/docs/rx-storage-foundationdb.html b/docs/rx-storage-foundationdb.html
deleted file mode 100644
index 40501f928e5..00000000000
--- a/docs/rx-storage-foundationdb.html
+++ /dev/null
@@ -1,93 +0,0 @@
-
-
-
-
-
-RxDB on FoundationDB - Performance at Scale | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
FoundationDB is a distributed key-value store designed to handle large volumes of structured data across clusters of computers while maintaining high levels of performance, scalability, and fault tolerance. While FoundationDB itself only can store and query key-value pairs, it lacks more advanced features like complex queries, encryption and replication.
-
With the FoundationDB based RxStorage of RxDB you can combine the benefits of FoundationDB while having a fully featured, high performance NoSQL database.
Using RxDB on top of FoundationDB, gives you many benefits compare to using the plain FoundationDB API:
-
-
Indexes: In RxDB with a FoundationDB storage layer, indexes are used to optimize query performance, allowing for fast and efficient data retrieval even in large datasets. You can define single and compound indexes with the RxDB schema.
-
Schema Based Data Model: Utilizing a jsonschema based data model, the system offers a highly structured and versatile approach to organizing and validating data, ensuring consistency and clarity in database interactions.
-
Complex Queries: The system supports complex NoSQL queries, allowing for advanced data manipulation and retrieval, tailored to specific needs and intricate data relationships. For example you can do $regex or $or queries which is hardy possible with the plain key-value access of FoundationDB.
-
Observable Queries & Documents: RxDB's observable queries and documents feature ensures real-time updates and synchronization, providing dynamic and responsive data interactions in applications.
-
Compression: RxDB employs data compression techniques to reduce storage requirements and enhance transmission efficiency, making it more cost-effective and faster, especially for large volumes of data. You can compress the NoSQL document data, but also the binary attachments data.
-
Attachments: RxDB supports the storage and management of attachments which allowing for the seamless inclusion of binary data like images or documents alongside structured data within the database.
Install the FoundationDB client cli which is used to communicate with the FoundationDB cluster.
-
Install the FoundationDB node bindings npm module via npm install foundationdb. This will install v2.x.x, which is only compatible with FoundationDB server and client v7.3.x (which is the only version currently maintained by the FoundationDB team). If you need to use an older version (e.g. 7.1.x or 6.3.x), you should run npm install foundationdb@1.1.4 (though this might only work with v6.3.x).
-
Due to an outstanding bug in node foundationdb, you will need to specify an apiVersion of 720 even though you are using 730. When this PR is merged, you will be able to use 730.
import {
- createRxDatabase
-} from 'rxdb';
-import {
- getRxStorageFoundationDB
-} from 'rxdb/plugins/storage-foundationdb';
-
-const db = await createRxDatabase({
- name: 'exampledb',
- storage: getRxStorageFoundationDB({
- /**
- * Version of the API of the FoundationDB cluster..
- * FoundationDB is backwards compatible across a wide range of versions,
- * so you have to specify the api version.
- * If in doubt, set it to 720.
- */
- apiVersion: 720,
- /**
- * Path to the FoundationDB cluster file.
- * (optional)
- * If in doubt, leave this empty to use the default location.
- */
- clusterFile: '/path/to/fdb.cluster',
- /**
- * Amount of documents to be fetched in batch requests.
- * You can change this to improve performance depending on
- * your database access patterns.
- * (optional)
- * [default=50]
- */
- batchSize: 50
- })
-});
Because FoundationDB does not offer a changestream, it is not possible to use the same cluster from more than one Node.js process at the same time. For example you cannot spin up multiple servers with RxDB databases that all use the same cluster. There might be workarounds to create something like a FoundationDB changestream and you can make a Pull Request if you need that feature.
-
-
\ No newline at end of file
diff --git a/docs/rx-storage-foundationdb.md b/docs/rx-storage-foundationdb.md
deleted file mode 100644
index f766315ae4c..00000000000
--- a/docs/rx-storage-foundationdb.md
+++ /dev/null
@@ -1,68 +0,0 @@
-# RxDB on FoundationDB - Performance at Scale
-
-> Combine FoundationDB's reliability with RxDB's indexing and schema validation. Build scalable apps with faster queries and real-time data.
-
-# RxDB Database on top of FoundationDB
-
-[FoundationDB](https://www.foundationdb.org/) is a distributed key-value store designed to handle large volumes of structured data across clusters of computers while maintaining high levels of performance, scalability, and fault tolerance. While FoundationDB itself only can store and query key-value pairs, it lacks more advanced features like complex queries, encryption and replication.
-
-With the FoundationDB based [RxStorage](./rx-storage.md) of [RxDB](https://rxdb.info/) you can combine the benefits of FoundationDB while having a fully featured, high performance NoSQL database.
-
-## Features of RxDB+FoundationDB
-
-Using RxDB on top of FoundationDB, gives you many benefits compare to using the plain FoundationDB API:
-
-- **Indexes**: In RxDB with a FoundationDB storage layer, indexes are used to optimize query performance, allowing for fast and efficient data retrieval even in large datasets. You can define single and compound indexes with the [RxDB schema](./rx-schema.md).
-- **Schema Based Data Model**: Utilizing a [jsonschema](./rx-schema.md) based data model, the system offers a highly structured and versatile approach to organizing and [validating data](./schema-validation.md), ensuring consistency and clarity in database interactions.
-- **Complex Queries**: The system supports complex [NoSQL queries](./rx-query.md), allowing for advanced data manipulation and retrieval, tailored to specific needs and intricate data relationships. For example you can do `$regex` or `$or` queries which is hardy possible with the plain key-value access of FoundationDB.
-- **Observable Queries & Documents**: RxDB's observable queries and documents feature ensures real-time updates and synchronization, providing dynamic and responsive data interactions in applications.
-- **Compression**: RxDB employs data [compression techniques](./key-compression.md) to reduce storage requirements and enhance transmission efficiency, making it more cost-effective and faster, especially for large volumes of data. You can compress the [NoSQL document](./key-compression.md) data, but also the [binary attachments](./rx-attachment.md#attachment-compression) data.
-- **Attachments**: RxDB supports the storage and management of [attachments](./rx-attachment.md) which allowing for the seamless inclusion of binary data like images or documents alongside structured data within the database.
-
-## Installation
-
-- Install the [FoundationDB client cli](https://apple.github.io/foundationdb/getting-started-linux.html) which is used to communicate with the FoundationDB cluster.
-- Install the [FoundationDB node bindings npm module](https://www.npmjs.com/package/foundationdb) via `npm install foundationdb`. This will install `v2.x.x`, which is only compatible with FoundationDB server and client `v7.3.x` (which is the only version currently maintained by the FoundationDB team). If you need to use an older version (e.g. `7.1.x` or `6.3.x`), you should run `npm install foundationdb@1.1.4` (though this might only work with `v6.3.x`).
-- Due to an outstanding bug in node foundationdb, you will need to specify an `apiVersion` of `720` even though you are using `730`. When [this PR](https://github.com/josephg/node-foundationdb/pull/86) is merged, you will be able to use `730`.
-
-## Usage
-
-```typescript
-import {
- createRxDatabase
-} from 'rxdb';
-import {
- getRxStorageFoundationDB
-} from 'rxdb/plugins/storage-foundationdb';
-
-const db = await createRxDatabase({
- name: 'exampledb',
- storage: getRxStorageFoundationDB({
- /**
- * Version of the API of the FoundationDB cluster..
- * FoundationDB is backwards compatible across a wide range of versions,
- * so you have to specify the api version.
- * If in doubt, set it to 720.
- */
- apiVersion: 720,
- /**
- * Path to the FoundationDB cluster file.
- * (optional)
- * If in doubt, leave this empty to use the default location.
- */
- clusterFile: '/path/to/fdb.cluster',
- /**
- * Amount of documents to be fetched in batch requests.
- * You can change this to improve performance depending on
- * your database access patterns.
- * (optional)
- * [default=50]
- */
- batchSize: 50
- })
-});
-```
-
-## Multi Instance
-
-Because FoundationDB does not offer a [changestream](https://forums.foundationdb.org/t/streaming-data-out-of-foundationdb/683/2), it is not possible to use the same cluster from more than one Node.js process at the same time. For example you cannot spin up multiple servers with RxDB databases that all use the same cluster. There might be workarounds to create something like a FoundationDB changestream and you can make a Pull Request if you need that feature.
diff --git a/docs/rx-storage-indexeddb.html b/docs/rx-storage-indexeddb.html
deleted file mode 100644
index aa2ab0aeccc..00000000000
--- a/docs/rx-storage-indexeddb.html
+++ /dev/null
@@ -1,107 +0,0 @@
-
-
-
-
-
-Instant Performance with IndexedDB RxStorage | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
The IndexedDB RxStorage is based on plain IndexedDB and can be used in browsers, electron or hybrid apps.
-Compared to other browser based storages, the IndexedDB storage has the smallest write- and read latency, the fastest initial page load
-and the smallest build size. Only for big datasets (more than 10k documents), the OPFS storage is better suited.
-
While the IndexedDB API itself can be very slow, the IndexedDB storage uses many tricks and performance optimizations, some of which are described here. For example it uses custom index strings instead of the native IndexedDB indexes, batches cursor for faster bulk reads and many other improvements. The IndexedDB storage also operates on Write-ahead logging similar to SQLite, to improve write latency while still ensuring consistency on writes.
Here is some performance comparison with other storages. Compared to the non-memory storages like OPFS and WASM SQLite. IndexedDB has the smallest build size and fastest write speed. Only OPFS is faster on queries over big datasets. See performance comparison page for a comparison with all storages.
To use the indexedDB storage you import it from the RxDB Premium 👑 npm module and use getRxStorageIndexedDB() when creating the RxDatabase.
-
import {
- createRxDatabase
-} from 'rxdb';
-import {
- getRxStorageIndexedDB
-} from 'rxdb-premium/plugins/storage-indexeddb';
-
-const db = await createRxDatabase({
- name: 'exampledb',
- storage: getRxStorageIndexedDB({
- /**
- * For better performance, queries run with a batched cursor.
- * You can change the batchSize to optimize the query time
- * for specific queries.
- * You should only change this value when you are also doing performance measurements.
- * [default=300]
- */
- batchSize: 300
- })
-});
Node.js has no IndexedDB API. To still run the IndexedDB RxStorage in Node.js, for example to run unit tests, you have to polyfill it.
-You can do that by using the fake-indexeddb module and pass it to the getRxStorageIndexedDB() function.
The Storage Buckets API provides a way for sites to organize locally stored data into groupings called "storage buckets". This allows the user agent or sites to manage and delete buckets independently rather than applying the same treatment to all the data from a single origin. Read More
-
To use different storage buckets with the RxDB IndexedDB Storage, you can use a function instead of a plain object when providing the indexedDB attribute:
It is part of the RxDB Premium 👑 plugin that must be purchased. If you just need a storage that works in the browser and you do not have to care about performance, you can use the LocalStorage storage instead.
-
The IndexedDB storage requires support for IndexedDB v2, it does not work on Internet Explorer.
-
-
\ No newline at end of file
diff --git a/docs/rx-storage-indexeddb.md b/docs/rx-storage-indexeddb.md
deleted file mode 100644
index 6c0ec90a4cf..00000000000
--- a/docs/rx-storage-indexeddb.md
+++ /dev/null
@@ -1,94 +0,0 @@
-# Instant Performance with IndexedDB RxStorage
-
-> Choose IndexedDB RxStorage for unmatched speed and minimal build size. Perfect for fast-performing apps that demand reliable, lightweight data solutions.
-
-# IndexedDB RxStorage
-
-The IndexedDB [RxStorage](./rx-storage.md) is based on plain IndexedDB and can be used in browsers, [electron](./electron-database.md) or hybrid apps.
-Compared to other browser based storages, the IndexedDB storage has the smallest write- and read latency, the fastest initial page load
-and the smallest build size. Only for big datasets (more than 10k documents), the [OPFS storage](./rx-storage-opfs.md) is better suited.
-
-While the IndexedDB API itself can be very slow, the IndexedDB storage uses many tricks and performance optimizations, some of which are described [here](./slow-indexeddb.md). For example it uses custom index strings instead of the native IndexedDB indexes, batches cursor for faster bulk reads and many other improvements. The IndexedDB storage also operates on [Write-ahead logging](https://en.wikipedia.org/wiki/Write-ahead_logging) similar to SQLite, to improve write latency while still ensuring consistency on writes.
-
-## IndexedDB performance comparison
-
-Here is some performance comparison with other storages. Compared to the non-memory storages like [OPFS](./rx-storage-opfs.md) and [WASM SQLite](./rx-storage-sqlite.md). IndexedDB has the smallest build size and fastest write speed. Only OPFS is faster on queries over big datasets. See [performance comparison](./rx-storage-performance.md) page for a comparison with all storages.
-
-
-
-## Using the IndexedDB RxStorage
-
-To use the indexedDB storage you import it from the [RxDB Premium 👑](/premium/) npm module and use `getRxStorageIndexedDB()` when creating the [RxDatabase](./rx-database.md).
-
-```ts
-import {
- createRxDatabase
-} from 'rxdb';
-import {
- getRxStorageIndexedDB
-} from 'rxdb-premium/plugins/storage-indexeddb';
-
-const db = await createRxDatabase({
- name: 'exampledb',
- storage: getRxStorageIndexedDB({
- /**
- * For better performance, queries run with a batched cursor.
- * You can change the batchSize to optimize the query time
- * for specific queries.
- * You should only change this value when you are also doing performance measurements.
- * [default=300]
- */
- batchSize: 300
- })
-});
-```
-
-## Overwrite/Polyfill the native IndexedDB
-
-Node.js has no IndexedDB API. To still run the IndexedDB `RxStorage` in Node.js, for example to run unit tests, you have to polyfill it.
-You can do that by using the [fake-indexeddb](https://github.com/dumbmatter/fakeIndexedDB) module and pass it to the `getRxStorageIndexedDB()` function.
-
-```ts
-import { createRxDatabase } from 'rxdb';
-import { getRxStorageIndexedDB } from 'rxdb-premium/plugins/storage-indexeddb';
-
-//> npm install fake-indexeddb --save
-const fakeIndexedDB = require('fake-indexeddb');
-const fakeIDBKeyRange = require('fake-indexeddb/lib/FDBKeyRange');
-
-const db = await createRxDatabase({
- name: 'exampledb',
- storage: getRxStorageIndexedDB({
- indexedDB: fakeIndexedDB,
- IDBKeyRange: fakeIDBKeyRange
- })
-});
-
-```
-
-## Storage Buckets
-
-The [Storage Buckets API](https://wicg.github.io/storage-buckets/) provides a way for sites to organize locally stored data into groupings called "storage buckets". This allows the user agent or sites to manage and delete buckets independently rather than applying the same treatment to all the data from a single origin. [Read More](https://developer.chrome.com/docs/web-platform/storage-buckets?hl=en)
-
-To use different storage buckets with the RxDB IndexedDB Storage, you can use a function instead of a plain object when providing the `indexedDB` attribute:
-
-```ts
-import { createRxDatabase } from 'rxdb';
-import { getRxStorageIndexedDB } from 'rxdb-premium/plugins/storage-indexeddb';
-
-const db = await createRxDatabase({
- name: 'exampledb',
- storage: getRxStorageIndexedDB({
- indexedDB: async(params) => {
- const myStorageBucket = await navigator.storageBuckets.open('myApp-' + params.databaseName);
- return myStorageBucket.indexedDB;
- },
- IDBKeyRange
- })
-});
-```
-
-## Limitations of the IndexedDB RxStorage
-
-- It is part of the [RxDB Premium 👑](/premium/) plugin that must be purchased. If you just need a storage that works in the browser and you do not have to care about performance, you can use the [LocalStorage storage](./rx-storage-localstorage.md) instead.
-- The IndexedDB storage requires support for [IndexedDB v2](https://caniuse.com/indexeddb2), it does not work on Internet Explorer.
diff --git a/docs/rx-storage-localstorage-meta-optimizer.html b/docs/rx-storage-localstorage-meta-optimizer.html
deleted file mode 100644
index 27b25370bb6..00000000000
--- a/docs/rx-storage-localstorage-meta-optimizer.html
+++ /dev/null
@@ -1,71 +0,0 @@
-
-
-
-
-
-Fastest RxDB Starts - Localstorage Meta Optimizer | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
The RxStorage Localstorage Meta Optimizer is a wrapper around any other RxStorage. The wrapper uses the original RxStorage for normal collection documents. But to optimize the initial page load time, it uses localstorage to store the plain key-value metadata that RxDB needs to create databases and collections. This plugin can only be used in browsers.
-
Depending on your database usage and the collection amount, this can save about 200 milliseconds on the initial pageload. It is recommended to use this when you create more than 4 RxCollections.
-
Premium
This plugin is part of RxDB Premium 👑. It is not part of the default RxDB module.
The meta optimizer gets wrapped around any other RxStorage. It will than automatically detect if an RxDB internal storage instance is created, and replace that with a localstorage based instance.
-
import {
- getLocalstorageMetaOptimizerRxStorage
-} from 'rxdb-premium/plugins/storage-localstorage-meta-optimizer';
-
-import { getRxStorageIndexedDB } from 'rxdb-premium/plugins/storage-indexeddb';
-
-
-/**
- * First wrap the original RxStorage with the optimizer.
- */
-const optimizedRxStorage = getLocalstorageMetaOptimizerRxStorage({
-
- /**
- * Here we use the IndexedDB RxStorage,
- * it is also possible to use any other RxStorage instead.
- */
- storage: getRxStorageIndexedDB()
-});
-
-/**
- * Create the RxDatabase with the wrapped RxStorage.
- */
-const database = await createRxDatabase({
- name: 'mydatabase',
- storage: optimizedRxStorage
-});
-
-
-
\ No newline at end of file
diff --git a/docs/rx-storage-localstorage-meta-optimizer.md b/docs/rx-storage-localstorage-meta-optimizer.md
deleted file mode 100644
index 4c781c3d2e1..00000000000
--- a/docs/rx-storage-localstorage-meta-optimizer.md
+++ /dev/null
@@ -1,46 +0,0 @@
-# Fastest RxDB Starts - Localstorage Meta Optimizer
-
-> Wrap any RxStorage with localStorage metadata to slash initial load by up to 200ms. Unlock speed with this must-have RxDB Premium plugin.
-
-# RxStorage Localstorage Meta Optimizer
-
-The [RxStorage](./rx-storage.md) Localstorage Meta Optimizer is a wrapper around any other RxStorage. The wrapper uses the original RxStorage for normal collection documents. But to optimize the initial page load time, it uses [localstorage](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage?retiredLocale=de) to store the plain key-value metadata that RxDB needs to create databases and collections. This plugin can only be used in browsers.
-
-Depending on your database usage and the collection amount, this can save about 200 milliseconds on the initial pageload. It is recommended to use this when you create more than 4 RxCollections.
-
-:::note Premium
-This plugin is part of [RxDB Premium 👑](/premium/). It is not part of the default RxDB module.
-:::
-
-## Usage
-
-The meta optimizer gets wrapped around any other RxStorage. It will than automatically detect if an RxDB internal storage instance is created, and replace that with a [localstorage](./articles/localstorage.md) based instance.
-
-```ts
-import {
- getLocalstorageMetaOptimizerRxStorage
-} from 'rxdb-premium/plugins/storage-localstorage-meta-optimizer';
-
-import { getRxStorageIndexedDB } from 'rxdb-premium/plugins/storage-indexeddb';
-
-/**
- * First wrap the original RxStorage with the optimizer.
- */
-const optimizedRxStorage = getLocalstorageMetaOptimizerRxStorage({
-
- /**
- * Here we use the IndexedDB RxStorage,
- * it is also possible to use any other RxStorage instead.
- */
- storage: getRxStorageIndexedDB()
-});
-
-/**
- * Create the RxDatabase with the wrapped RxStorage.
- */
-const database = await createRxDatabase({
- name: 'mydatabase',
- storage: optimizedRxStorage
-});
-
-```
diff --git a/docs/rx-storage-localstorage.html b/docs/rx-storage-localstorage.html
deleted file mode 100644
index 772f2b24d49..00000000000
--- a/docs/rx-storage-localstorage.html
+++ /dev/null
@@ -1,100 +0,0 @@
-
-
-
-
-
-RxDB LocalStorage - The Easiest Way to Persist Data in Your Web App | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
RxDB can persist data in various ways. One of the simplest methods is using the browser’s built-in LocalStorage. This storage engine allows you to store and retrieve RxDB documents directly from the browser without needing additional plugins or libraries.
-
-
Recommended Default for using RxDB in the Browser
-
We highly recommend using LocalStorage for a quick and easy RxDB setup, especially when you want a minimal project configuration. For professional projects, the IndexedDB RxStorage is recommended in most cases.
While LocalStorage is the easiest way to get started, it does come with some constraints:
-
-
Limited Storage Capacity: Browsers often limit LocalStorage to around 5 MB per domain, though exact limits vary.
-
Synchronous Access: LocalStorage operations block the main thread. This is usually fine for small amounts of data but can cause performance bottlenecks with heavier use.
-
-
Despite these limitations, LocalStorage remains a great default option for smaller projects, prototypes, or cases where you need the absolute simplest way to persist data in the browser.
Mocking the LocalStorage API for testing in Node.js
-
While the localStorage API only exists in browsers, your can the LocalStorage based storage in Node.js by using the mock that comes with RxDB.
-This is intended to be used in unit tests or other test suites:
-
-
\ No newline at end of file
diff --git a/docs/rx-storage-localstorage.md b/docs/rx-storage-localstorage.md
deleted file mode 100644
index 64613d4de65..00000000000
--- a/docs/rx-storage-localstorage.md
+++ /dev/null
@@ -1,107 +0,0 @@
-# RxDB LocalStorage - The Easiest Way to Persist Data in Your Web App
-
-> Discover how to quickly set up RxDB's LocalStorage-based storage as the recommended default. Learn its benefits, limitations, and why it’s perfect for demos, prototypes, and lightweight applications.
-
-import {Steps} from '@site/src/components/steps';
-
-# RxStorage LocalStorage
-
-RxDB can persist data in various ways. One of the simplest methods is using the browser’s built-in [LocalStorage](./articles/localstorage.md). This storage engine allows you to store and retrieve RxDB documents directly from the browser without needing additional plugins or libraries.
-
-> **Recommended Default for using RxDB in the Browser**
->
-> We highly recommend using LocalStorage for a quick and easy RxDB setup, especially when you want a minimal project configuration. For professional projects, the [IndexedDB RxStorage](./rx-storage-indexeddb.md) is recommended in most cases.
-
-## Key Benefits
-
-1. **Simplicity**: No complicated configurations or external dependencies - LocalStorage is already built into the browser.
-2. **Fast for small Datasets**: Writing and Reading small sets of data from localStorage is really fast as shown in [these benchmarks](./articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm.md#performance-comparison).
-4. **Ease of Setup**: Just import the plugin, import it, and pass `getRxStorageLocalstorage()` into `createRxDatabase()`. That’s it!
-
-## Limitations
-
-While LocalStorage is the easiest way to get started, it does come with some constraints:
-
-1. **Limited Storage Capacity**: Browsers often limit LocalStorage to around [5 MB per domain](./articles/localstorage.md#understanding-the-limitations-of-local-storage), though exact limits vary.
-2. **Synchronous Access**: LocalStorage operations block the main thread. This is usually fine for small amounts of data but can cause performance bottlenecks with heavier use.
-
-Despite these limitations, LocalStorage remains a great default option for smaller projects, prototypes, or cases where you need the absolute simplest way to persist data in the browser.
-
-## How to use the LocalStorage RxStorage with RxDB
-
-
-
-### Import the Storage
-```ts
-import { createRxDatabase } from 'rxdb/plugins/core';
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-```
-
-### Create a Database
-```ts
-const db = await createRxDatabase({
- name: 'exampledb',
- storage: getRxStorageLocalstorage()
-});
-```
-
-### Add a Collection
-
-```ts
-await db.addCollections({
- tasks: {
- schema: {
- title: 'tasks schema',
- version: 0,
- primaryKey: 'id',
- type: 'object',
- properties: {
- id: { type: 'string' },
- title: { type: 'string' },
- done: { type: 'boolean' }
- },
- required: ['id', 'title', 'done']
- }
- }
-});
-```
-
-### Insert a document
-
-```ts
-await db.tasks.insert({ id: 'task-01', title: 'Get started with RxDB' });
-```
-
-### Query documents
-```ts
-const nonDoneTasks = await db.tasks.find({
- selector: {
- done: {
- $eq: false
- }
- }
-}).exec();
-```
-
-
-
-## Mocking the LocalStorage API for testing in Node.js
-
-While the `localStorage` API only exists in browsers, your can the LocalStorage based storage in Node.js by using the mock that comes with RxDB.
-This is intended to be used in unit tests or other test suites:
-
-```ts
-import { createRxDatabase } from 'rxdb/plugins/core';
-import {
- getRxStorageLocalstorage,
- getLocalStorageMock
-} from 'rxdb/plugins/storage-localstorage';
-
-const db = await createRxDatabase({
- name: 'exampledb',
- storage: getRxStorageLocalstorage({
- localStorage: getLocalStorageMock()
- })
-});
-
-```
diff --git a/docs/rx-storage-lokijs.html b/docs/rx-storage-lokijs.html
deleted file mode 100644
index 182b8ea7056..00000000000
--- a/docs/rx-storage-lokijs.html
+++ /dev/null
@@ -1,134 +0,0 @@
-
-
-
-
-
-Empower RxDB with the LokiJS RxStorage | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
The LokiJS RxStorage is based on LokiJS which is an in-memory database that processes all data in memory and only saves to disc when the app is closed or an interval is reached. This makes it very fast but you have the possibility to lose seemingly persisted writes when the JavaScript process ends before the persistence loop has been done.
-
LokiJS was removed in RxDB version 16
The LokiJS project itself is no longer in development or maintained and therefore the lokijs RxStorage is removed. There are known bugs like having wrong query results of losing data. LokiJS bugs that occur outside of the RxDB layer will not be fixed and the LokiJS RxStorage was removed in RxDB version 16. Using LokiJS as storage is no longer possible. In production it is recommended to use another RxStorage instead. For browsers better use the IndexedDB storage. For fast lazy persistence in memory data (similar to how lokijs works) you can use the Memory Mapped storage. If you really need the lokijs RxStorage, you can fork the open-source code from the previous RxDB version.
Queries can run faster because all data is processed in memory.
-
It has a much faster initial load time because it loads all data from IndexedDB in a single request. But this is only true for small datasets. If much data must is stored, the initial load time can be higher than on other RxStorage implementations.
import {
- createRxDatabase
-} from 'rxdb';
-import {
- getRxStorageLoki
-} from 'rxdb/plugins/storage-lokijs';
-
-// in the browser, we want to persist data in IndexedDB, so we use the indexeddb adapter.
-const LokiIncrementalIndexedDBAdapter = require('lokijs/src/incremental-indexeddb-adapter');
-
-const db = await createRxDatabase({
- name: 'exampledb',
- storage: getRxStorageLoki({
- adapter: new LokiIncrementalIndexedDBAdapter(),
- /*
- * Do not set lokiJS persistence options like autoload and autosave,
- * RxDB will pick proper defaults based on the given adapter
- */
- })
-});
LokiJS is based on adapters that determine where to store persistent data. For LokiJS there are adapters for IndexedDB, AWS S3, the NodeJS filesystem or NativeScript.
-Find more about the possible adapters at the LokiJS docs. For react native there is also the loki-async-reference-adapter.
When you use plain LokiJS, you cannot build an app that can be used in multiple browser tabs. The reason is that LokiJS loads data in bulk and then only regularly persists the in-memory state to disc. When opened in multiple tabs, it would happen that the LokiJS instances overwrite each other and data is lost.
-With the RxDB LokiJS-plugin, this problem is fixed with the LeaderElection module. Between all open tabs, a leading tab is elected and only in this tab a database is created. All other tabs do not run queries against their own database, but instead call the leading tab to send and retrieve data. When the leading tab is closed, a new leader is elected that reopens the database and processes queries. You can disable this by setting multiInstance: false when creating the RxDatabase.
When using plain LokiJS, you could set the autosave option to true to make sure that LokiJS persists the database state after each write into the persistence adapter. Same goes to autoload which loads the persisted state on database creation.
-But RxDB knows better when to persist the database state and when to load it, so it has its own autosave logic. This will ensure that running the persistence handler does not affect the performance of more important tasks. Instead RxDB will always wait until the database is idle and then runs the persistence handler.
-A load of the persisted state is done on database or collection creation and it is ensured that multiple load calls do not run in parallel and interfere with each other or with saveDatabase() calls.
When you bundle the LokiJS Plugin with webpack, you might get the error Cannot find module "fs". This is because LokiJS uses a require('fs') statement that cannot work in the browser.
-You can fix that by telling webpack to not resolve the fs module with the following block in your webpack config:
-
// in your webpack.config.js
-{
- /* ... */
- resolve: {
- fallback: {
- fs: false
- }
- }
- /* ... */
-}
-
-// Or if you do not have a webpack.config.js like you do with angular,
-// you might fix it by setting the browser field in the package.json
-{
- /* ... */
- "browser": {
- "fs": false
- }
- /* ... */
-}
-
For custom operations, you can access the internal LokiJS database.
-This is dangerous because you might do changes that are not compatible with RxDB.
-Only use this when there is no way to achieve your goals via the RxDB API.
-
-const storageInstance = myRxCollection.storageInstance;
-const localState = await storageInstance.internals.localState;
-localState.collection.insert({
- key: 'foo',
- value: 'bar',
- _deleted: false,
- _attachments: {},
- _rev: '1-62080c42d471e3d2625e49dcca3b8e3e',
- _meta: {
- lwt: new Date().getTime()
- }
-});
-
-// manually trigger the save queue because we did a write to the internal loki db.
-await localState.databaseState.saveQueue.addWrite();
We want to be transparent with our community, and you'll notice a console message when using the free Loki.js based RxStorage implementation. This message serves to inform you about the availability of faster storage solutions within our 👑 Premium Plugins. We understand that this might be a minor inconvenience, and we sincerely apologize for that. However, maintaining and improving RxDB requires substantial resources, and our premium users help us ensure its sustainability. If you find value in RxDB and wish to remove this message, we encourage you to explore our premium storage options, which are optimized for professional use and production environments. Thank you for your understanding and support.
-
If you already have premium access and want to use the LokiJS RxStorage without the log, you can call the setPremiumFlag() function to disable the log.
-
import { setPremiumFlag } from 'rxdb-premium/plugins/shared';
-setPremiumFlag();
The memory mapped RxStorage is a wrapper around any other RxStorage. The wrapper creates an in-memory storage that is used for query and write operations. This memory instance is kept persistent with a given underlying storage.
Improves read/write performance because these operations run against the in-memory storage.
-
Decreases initial page load because it load all data in a single bulk request. It even detects if the database is used for the first time and then it does not have to await the creation of the persistent storage.
-
Can store encrypted data on disc while still being able to run queries on the non-encrypted in-memory state.
It does not support attachments because storing big attachments data in-memory should not be done.
-
When the JavaScript process is killed ungracefully like when the browser crashes or the power of the PC is terminated, it might happen that some memory writes are not persisted to the parent storage. This can be prevented with the awaitWritePersistence flag.
-
The memory-mapped storage can only be used if all data fits into the memory of the JavaScript process. This is normally not a problem because a browser has much memory these days and plain JSON document data is not that big.
-
Because it has to await an initial data loading from the parent storage into the memory, initial page load time can increase when much data is already stored. This is likely not a problem when you store less than 10k documents.
-
The memory-mapped storage is part of RxDB Premium 👑. It is not part of the default RxDB core module.
-import {
- getRxStorageIndexedDB
-} from 'rxdb-premium/plugins/storage-indexeddb';
-import {
- getMemoryMappedRxStorage
-} from 'rxdb-premium/plugins/storage-memory-mapped';
-
-/**
- * Here we use the IndexedDB RxStorage as persistence storage.
- * Any other RxStorage can also be used.
- */
-const parentStorage = getRxStorageIndexedDB();
-
-// wrap the persistent storage with the memory-mapped storage.
-const storage = getMemoryMappedRxStorage({
- storage: parentStorage
-});
-
-// create the RxDatabase like you would do with any other RxStorage
-const db = await createRxDatabase({
- name: 'myDatabase,
- storage,
-});
-/** ... **/
By how the memory-mapped storage works, it is not possible to have the same storage open in multiple JavaScript processes. So when you use this in a browser application, you can not open multiple databases when the app is used in multiple browser tabs.
-To solve this, use the SharedWorker Plugin so that the memory-mapped storage runs inside of a SharedWorker exactly once and is then reused for all browser tabs.
-
If you have a single JavaScript process, like in a React Native app, you do not have to care about this and can just use the memory-mapped storage in the main process.
Normally RxDB is not capable of running queries on encrypted fields. But when you use the memory-mapped RxStorage, you can store the document data encrypted on disc, while being able to run queries on the not encrypted in-memory state. Make sure you use the encryption storage wrapper around the persistent storage, NOT around the memory-mapped storage as a whole.
Running operations on the memory-mapped storage by default returns directly when the operation has run on the in-memory state and then persist changes in the background.
-Sometimes you might want to ensure write operations is persisted, you can do this by setting awaitWritePersistence: true.
During cleanup, the memory-mapped storage will merge many small write-blocks into single big blocks for better initial load performance.
-The blockSizeLimit defines the maximum of how many documents get stored in a single block. The default is 10000.
-
-
\ No newline at end of file
diff --git a/docs/rx-storage-memory-mapped.md b/docs/rx-storage-memory-mapped.md
deleted file mode 100644
index 781ddec7e6d..00000000000
--- a/docs/rx-storage-memory-mapped.md
+++ /dev/null
@@ -1,108 +0,0 @@
-# Blazing-Fast Memory Mapped RxStorage
-
-> Boost your app's performance with Memory Mapped RxStorage. Query and write in-memory while seamlessly persisting data to your chosen storage.
-
-# Memory Mapped RxStorage
-
-The memory mapped [RxStorage](./rx-storage.md) is a wrapper around any other RxStorage. The wrapper creates an in-memory storage that is used for query and write operations. This memory instance is kept persistent with a given underlying storage.
-
-## Pros
-
-- Improves read/write performance because these operations run against the in-memory storage.
-- Decreases initial page load because it load all data in a single bulk request. It even detects if the database is used for the first time and then it does not have to await the creation of the persistent storage.
-- Can store encrypted data on disc while still being able to run queries on the non-encrypted in-memory state.
-
-## Cons
-
-- It does not support attachments because storing big attachments data in-memory should not be done.
-- When the JavaScript process is killed ungracefully like when the browser crashes or the power of the PC is terminated, it might happen that some memory writes are not persisted to the parent storage. This can be prevented with the `awaitWritePersistence` flag.
-- The memory-mapped storage can only be used if all data fits into the memory of the JavaScript process. This is normally not a problem because a browser has much memory these days and plain JSON document data is not that big.
-- Because it has to await an initial data loading from the parent storage into the memory, initial page load time can increase when much data is already stored. This is likely not a problem when you store less than `10k` documents.
-- The `memory-mapped` storage is part of [RxDB Premium 👑](/premium/). It is not part of the default RxDB core module.
-
-## Using the Memory-Mapped RxStorage
-
-```ts
-
-import {
- getRxStorageIndexedDB
-} from 'rxdb-premium/plugins/storage-indexeddb';
-import {
- getMemoryMappedRxStorage
-} from 'rxdb-premium/plugins/storage-memory-mapped';
-
-/**
- * Here we use the IndexedDB RxStorage as persistence storage.
- * Any other RxStorage can also be used.
- */
-const parentStorage = getRxStorageIndexedDB();
-
-// wrap the persistent storage with the memory-mapped storage.
-const storage = getMemoryMappedRxStorage({
- storage: parentStorage
-});
-
-// create the RxDatabase like you would do with any other RxStorage
-const db = await createRxDatabase({
- name: 'myDatabase,
- storage,
-});
-/** ... **/
-```
-
-## Multi-Tab Support
-
-By how the memory-mapped storage works, it is not possible to have the same storage open in multiple JavaScript processes. So when you use this in a browser application, you can not open multiple databases when the app is used in multiple browser tabs.
-To solve this, use the [SharedWorker Plugin](./rx-storage-shared-worker.md) so that the memory-mapped storage runs inside of a SharedWorker exactly once and is then reused for all browser tabs.
-
-If you have a single JavaScript process, like in a React Native app, you do not have to care about this and can just use the memory-mapped storage in the main process.
-
-## Encryption of the persistent data
-
-Normally RxDB is not capable of running queries on encrypted fields. But when you use the memory-mapped RxStorage, you can store the document data encrypted on disc, while being able to run queries on the not encrypted in-memory state. Make sure you use the encryption storage wrapper around the persistent storage, **NOT** around the memory-mapped storage as a whole.
-
-```ts
-
-import {
- getRxStorageIndexedDB
-} from 'rxdb-premium/plugins/storage-indexeddb';
-import {
- getMemoryMappedRxStorage
-} from 'rxdb-premium/plugins/storage-memory-mapped';
-import { wrappedKeyEncryptionWebCryptoStorage } from 'rxdb-premium/plugins/encryption-web-crypto';
-
-const storage = getMemoryMappedRxStorage({
- storage: wrappedKeyEncryptionWebCryptoStorage({
- storage: getRxStorageIndexedDB()
- })
-});
-
-const db = await createRxDatabase({
- name: 'myDatabase,
- storage,
-});
-/** ... **/
-```
-
-## Await Write Persistence
-Running operations on the memory-mapped storage by default returns directly when the operation has run on the in-memory state and then persist changes in the background.
-Sometimes you might want to ensure write operations is persisted, you can do this by setting `awaitWritePersistence: true`.
-
-```ts
-const storage = getMemoryMappedRxStorage({
- awaitWritePersistence: true,
- storage: getRxStorageIndexedDB()
-});
-```
-
-## Block Size Limit
-
-During cleanup, the memory-mapped storage will merge many small write-blocks into single big blocks for better initial load performance.
-The `blockSizeLimit` defines the maximum of how many documents get stored in a single block. The default is `10000`.
-
-```ts
-const storage = getMemoryMappedRxStorage({
- blockSizeLimit: 1000,
- storage: getRxStorageIndexedDB()
-});
-```
diff --git a/docs/rx-storage-memory-synced.html b/docs/rx-storage-memory-synced.html
deleted file mode 100644
index f023b3d1842..00000000000
--- a/docs/rx-storage-memory-synced.html
+++ /dev/null
@@ -1,174 +0,0 @@
-
-
-
-
-
-Instant Performance with Memory Synced RxStorage | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
The memory synced RxStorage is a wrapper around any other RxStorage. The wrapper creates an in-memory storage that is used for query and write operations. This memory instance is replicated with the underlying storage for persistence.
-The main reason to use this is to improve initial page load and query/write times. This is mostly useful in browser based applications.
Improves read/write performance because these operations run against the in-memory storage.
-
Decreases initial page load because it load all data in a single bulk request. It even detects if the database is used for the first time and then it does not have to await the creation of the persistent storage.
When the JavaScript process is killed ungracefully like when the browser crashes or the power of the PC is terminated, it might happen that some memory writes are not persisted to the parent storage. This can be prevented with the awaitWritePersistence flag.
-
This can only be used if all data fits into the memory of the JavaScript process. This is normally not a problem because a browser has much memory these days and plain json document data is not that big.
-
Because it has to await an initial replication from the parent storage into the memory, initial page load time can increase when much data is already stored. This is likely not a problem when you store less than 10k documents.
-
The memory-synced storage itself does not support replication and migration. Instead you have to replicate the underlying parent storage.
-
The memory-synced plugin is part of RxDB Premium 👑. It is not part of the default RxDB module.
-
-
The memory-synced RxStorage was removed in RxDB version 16
The memory-synced was removed in RxDB version 16. Instead consider using the newer and better memory-mapped RxStorage which has better trade-offs and is easier to configure.
-import {
- getRxStorageIndexedDB
-} from 'rxdb-premium/plugins/storage-indexeddb';
-import {
- getMemorySyncedRxStorage
-} from 'rxdb-premium/plugins/storage-memory-synced';
-
-/**
- * Here we use the IndexedDB RxStorage as persistence storage.
- * Any other RxStorage can also be used.
- */
-const parentStorage = getRxStorageIndexedDB();
-
-// wrap the persistent storage with the memory synced one.
-const storage = getMemorySyncedRxStorage({
- storage: parentStorage
-});
-
-// create the RxDatabase like you would do with any other RxStorage
-const db = await createRxDatabase({
- name: 'myDatabase,
- storage,
-});
-/** ... **/
-
Some options can be provided to fine tune the performance and behavior.
-
-import {
- requestIdlePromise
-} from 'rxdb';
-
-const storage = getMemorySyncedRxStorage({
- storage: parentStorage,
-
- /**
- * Defines how many document
- * get replicated in a single batch.
- * [default=50]
- *
- * (optional)
- */
- batchSize: 50,
-
- /**
- * By default, the parent storage will be created without indexes for a faster page load.
- * Indexes are not needed because the queries will anyway run on the memory storage.
- * You can disable this behavior by setting keepIndexesOnParent to true.
- * If you use the same parent storage for multiple RxDatabase instances where one is not
- * a asynced-memory storage, you will get the error: 'schema not equal to existing storage'
- * if you do not set keepIndexesOnParent to true.
- *
- * (optional)
- */
- keepIndexesOnParent: true,
-
- /**
- * If set to true, all write operations will resolve AFTER the writes
- * have been persisted from the memory to the parentStorage.
- * This ensures writes are not lost even if the JavaScript process exits
- * between memory writes and the persistence interval.
- * default=false
- */
- awaitWritePersistence: true,
-
- /**
- * After a write, await until the return value of this method resolves
- * before replicating with the master storage.
- *
- * By returning requestIdlePromise() we can ensure that the CPU is idle
- * and no other, more important operation is running. By doing so we can be sure
- * that the replication does not slow down any rendering of the browser process.
- *
- * (optional)
- */
- waitBeforePersist: () => requestIdlePromise();
-});
-
Replication and Migration with the memory-synced storage
-
The memory-synced storage itself does not support replication and migration. Instead you have to replicate the underlying parent storage.
-For example when you use it on top of an IndexedDB storage, you have to run replication on that storage instead by creating a different RxDatabase.
-
const parentStorage = getRxStorageIndexedDB();
-
-const memorySyncedStorage = getMemorySyncedRxStorage({
- storage: parentStorage,
- keepIndexesOnParent: true
-});
-
-const databaseName = 'mydata';
-
-/**
- * Create a parent database with the same name+collections
- * and use it for replication and migration.
- * The parent database must be created BEFORE the memory-synced database
- * to ensure migration has already been run.
- */
-const parentDatabase = await createRxDatabase({
- name: databaseName,
- storage: parentStorage
-});
-await parentDatabase.addCollections(/* ... */);
-
-replicateRxCollection({
- collection: parentDatabase.myCollection,
- /* ... */
-});
-
-
-/**
- * Create an equal memory-synced database with the same name+collections
- * and use it for writes and queries.
- */
-const memoryDatabase = await createRxDatabase({
- name: databaseName,
- storage: memorySyncedStorage
-});
-await memoryDatabase.addCollections(/* ... */);
-
-
\ No newline at end of file
diff --git a/docs/rx-storage-memory-synced.md b/docs/rx-storage-memory-synced.md
deleted file mode 100644
index 628a1a126b1..00000000000
--- a/docs/rx-storage-memory-synced.md
+++ /dev/null
@@ -1,158 +0,0 @@
-# Instant Performance with Memory Synced RxStorage
-
-> Accelerate RxDB with in-memory storage replicated to disk. Enjoy instant queries, faster loads, and unstoppable performance for your web apps.
-
-# Memory Synced RxStorage
-
-The memory synced [RxStorage](./rx-storage.md) is a wrapper around any other RxStorage. The wrapper creates an in-memory storage that is used for query and write operations. This memory instance is replicated with the underlying storage for persistence.
-The main reason to use this is to improve initial page load and query/write times. This is mostly useful in browser based applications.
-
-## Pros
-
-- Improves read/write performance because these operations run against the in-memory storage.
-- Decreases initial page load because it load all data in a single bulk request. It even detects if the database is used for the first time and then it does not have to await the creation of the persistent storage.
-
-## Cons
-
-- It does not support attachments.
-- When the JavaScript process is killed ungracefully like when the browser crashes or the power of the PC is terminated, it might happen that some memory writes are not persisted to the parent storage. This can be prevented with the `awaitWritePersistence` flag.
-- This can only be used if all data fits into the memory of the JavaScript process. This is normally not a problem because a browser has much memory these days and plain json document data is not that big.
-- Because it has to await an initial replication from the parent storage into the memory, initial page load time can increase when much data is already stored. This is likely not a problem when you store less than `10k` documents.
-- The memory-synced storage itself does not support replication and migration. Instead you have to replicate the underlying parent storage.
-- The `memory-synced` plugin is part of [RxDB Premium 👑](/premium/). It is not part of the default RxDB module.
-
-:::note The memory-synced RxStorage was removed in RxDB version 16
-
-The `memory-synced` was removed in RxDB version 16. Instead consider using the newer and better [memory-mapped RxStorage](./rx-storage-memory-mapped.md) which has better trade-offs and is easier to configure.
-:::
-
-## Usage
-
-```ts
-
-import {
- getRxStorageIndexedDB
-} from 'rxdb-premium/plugins/storage-indexeddb';
-import {
- getMemorySyncedRxStorage
-} from 'rxdb-premium/plugins/storage-memory-synced';
-
-/**
- * Here we use the IndexedDB RxStorage as persistence storage.
- * Any other RxStorage can also be used.
- */
-const parentStorage = getRxStorageIndexedDB();
-
-// wrap the persistent storage with the memory synced one.
-const storage = getMemorySyncedRxStorage({
- storage: parentStorage
-});
-
-// create the RxDatabase like you would do with any other RxStorage
-const db = await createRxDatabase({
- name: 'myDatabase,
- storage,
-});
-/** ... **/
-
-```
-
-## Options
-
-Some options can be provided to fine tune the performance and behavior.
-
-```ts
-
-import {
- requestIdlePromise
-} from 'rxdb';
-
-const storage = getMemorySyncedRxStorage({
- storage: parentStorage,
-
- /**
- * Defines how many document
- * get replicated in a single batch.
- * [default=50]
- *
- * (optional)
- */
- batchSize: 50,
-
- /**
- * By default, the parent storage will be created without indexes for a faster page load.
- * Indexes are not needed because the queries will anyway run on the memory storage.
- * You can disable this behavior by setting keepIndexesOnParent to true.
- * If you use the same parent storage for multiple RxDatabase instances where one is not
- * a asynced-memory storage, you will get the error: 'schema not equal to existing storage'
- * if you do not set keepIndexesOnParent to true.
- *
- * (optional)
- */
- keepIndexesOnParent: true,
-
- /**
- * If set to true, all write operations will resolve AFTER the writes
- * have been persisted from the memory to the parentStorage.
- * This ensures writes are not lost even if the JavaScript process exits
- * between memory writes and the persistence interval.
- * default=false
- */
- awaitWritePersistence: true,
-
- /**
- * After a write, await until the return value of this method resolves
- * before replicating with the master storage.
- *
- * By returning requestIdlePromise() we can ensure that the CPU is idle
- * and no other, more important operation is running. By doing so we can be sure
- * that the replication does not slow down any rendering of the browser process.
- *
- * (optional)
- */
- waitBeforePersist: () => requestIdlePromise();
-});
-```
-
-## Replication and Migration with the memory-synced storage
-
-The memory-synced storage itself does not support replication and migration. Instead you have to replicate the underlying parent storage.
-For example when you use it on top of an [IndexedDB storage](./rx-storage-indexeddb.md), you have to run replication on that storage instead by creating a different [RxDatabase](./rx-database.md).
-
-```js
-const parentStorage = getRxStorageIndexedDB();
-
-const memorySyncedStorage = getMemorySyncedRxStorage({
- storage: parentStorage,
- keepIndexesOnParent: true
-});
-
-const databaseName = 'mydata';
-
-/**
- * Create a parent database with the same name+collections
- * and use it for replication and migration.
- * The parent database must be created BEFORE the memory-synced database
- * to ensure migration has already been run.
- */
-const parentDatabase = await createRxDatabase({
- name: databaseName,
- storage: parentStorage
-});
-await parentDatabase.addCollections(/* ... */);
-
-replicateRxCollection({
- collection: parentDatabase.myCollection,
- /* ... */
-});
-
-/**
- * Create an equal memory-synced database with the same name+collections
- * and use it for writes and queries.
- */
-const memoryDatabase = await createRxDatabase({
- name: databaseName,
- storage: memorySyncedStorage
-});
-await memoryDatabase.addCollections(/* ... */);
-```
diff --git a/docs/rx-storage-memory.html b/docs/rx-storage-memory.html
deleted file mode 100644
index 27afa9c23b3..00000000000
--- a/docs/rx-storage-memory.html
+++ /dev/null
@@ -1,61 +0,0 @@
-
-
-
-
-
-Lightning-Fast Memory Storage for RxDB | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
The Memory RxStorage is based on plain in memory arrays and objects. It can be used in all environments and is made for performance.
-Use this storage when you need a really fast database like in your unit tests or when you use RxDB with server side rendering.
-
-
\ No newline at end of file
diff --git a/docs/rx-storage-memory.md b/docs/rx-storage-memory.md
deleted file mode 100644
index 9999b02976c..00000000000
--- a/docs/rx-storage-memory.md
+++ /dev/null
@@ -1,40 +0,0 @@
-# Lightning-Fast Memory Storage for RxDB
-
-> Use Memory RxStorage for a high-performance, JavaScript in-memory database. Built for speed, making it perfect for unit tests and rapid prototyping.
-
-# Memory RxStorage
-
-
-
-The Memory `RxStorage` is based on plain in memory arrays and objects. It can be used in all environments and is made for performance.
-Use this storage when you need a really fast database like in your unit tests or when you use RxDB with server side rendering.
-
-### Pros
-
-- Really fast. Uses binary search on all operations.
-- Small build size
-
-### Cons
-
-- No persistence
-
-```ts
-import {
- createRxDatabase
-} from 'rxdb';
-import {
- getRxStorageMemory
-} from 'rxdb/plugins/storage-memory';
-
-const db = await createRxDatabase({
- name: 'exampledb',
- storage: getRxStorageMemory()
-});
-```
diff --git a/docs/rx-storage-mongodb.html b/docs/rx-storage-mongodb.html
deleted file mode 100644
index d68a6f16d2a..00000000000
--- a/docs/rx-storage-mongodb.html
+++ /dev/null
@@ -1,66 +0,0 @@
-
-
-
-
-
-Unlock MongoDB Power with RxDB | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
RxDB MongoDB RxStorage is an RxDB RxStorage that allows you to use MongoDB as the underlying storage engine for your RxDB database. With this you can take advantage of MongoDB's features and scalability while benefiting from RxDB's real-time data synchronization capabilities.
Doing non-RxDB writes on the MongoDB database is not supported. RxDB expects all writes to come from RxDB which update the required metadata. Doing non-RxDB writes can confuse the RxDatabase and lead to undefined behavior. But you can perform read-queries on the MongoDB storage from the outside at any time.
To use the storage, you simply import the getRxStorageMongoDB method and use that when creating the RxDatabase. The connection parameter contains the MongoDB connection string.
-
-
\ No newline at end of file
diff --git a/docs/rx-storage-mongodb.md b/docs/rx-storage-mongodb.md
deleted file mode 100644
index c5da0f10102..00000000000
--- a/docs/rx-storage-mongodb.md
+++ /dev/null
@@ -1,54 +0,0 @@
-# Unlock MongoDB Power with RxDB
-
-> Combine RxDB's real-time sync with MongoDB's scalability. Harness the MongoDB RxStorage to seamlessly expand your database capabilities.
-
-import {Steps} from '@site/src/components/steps';
-
-# MongoDB RxStorage
-
-RxDB MongoDB RxStorage is an RxDB [RxStorage](./rx-storage.md) that allows you to use [MongoDB](https://www.mongodb.com/) as the underlying storage engine for your RxDB database. With this you can take advantage of MongoDB's features and scalability while benefiting from RxDB's real-time data synchronization capabilities.
-
-
-
-The storage is made to work with any plain MongoDB Server, [MongoDB Replica Set](https://www.mongodb.com/docs/manual/tutorial/deploy-replica-set/), [Sharded MongoDB Cluster](https://www.mongodb.com/docs/manual/sharding/) or [Atlas Cloud Database](https://www.mongodb.com/atlas/database).
-
-## Limitations of the MongoDB RxStorage
-- Multiple Node.js servers using the same MongoDB database is currently not supported
-- [RxAttachments](./rx-attachment.md) are currently not supported
-- Doing non-RxDB writes on the MongoDB database is not supported. RxDB expects all writes to come from RxDB which update the required metadata. Doing non-RxDB writes can confuse the RxDatabase and lead to undefined behavior. But you can perform read-queries on the MongoDB storage from the outside at any time.
-
-## Using the MongoDB RxStorage
-
-
-
-### Install the mongodb package
-
-```bash
-npm install mongodb --save
-```
-
-### Setups the MongoDB RxStorage
-
-To use the storage, you simply import the `getRxStorageMongoDB` method and use that when creating the [RxDatabase](./rx-database.md). The `connection` parameter contains the [MongoDB connection string](https://www.mongodb.com/docs/manual/reference/connection-string/).
-
-```ts
-import {
- createRxDatabase
-} from 'rxdb';
-import {
- getRxStorageMongoDB
-} from 'rxdb/plugins/storage-mongodb';
-
-const myRxDatabase = await createRxDatabase({
- name: 'exampledb',
- storage: getRxStorageMongoDB({
- /**
- * MongoDB connection string
- * @link https://www.mongodb.com/docs/manual/reference/connection-string/
- */
- connection: 'mongodb://localhost:27017,localhost:27018,localhost:27019'
- })
-});
-```
-
-
diff --git a/docs/rx-storage-opfs.html b/docs/rx-storage-opfs.html
deleted file mode 100644
index 8ad9e63f7a4..00000000000
--- a/docs/rx-storage-opfs.html
+++ /dev/null
@@ -1,169 +0,0 @@
-
-
-
-
-
-Supercharged OPFS Database with RxDB | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Origin Private File System (OPFS) Database with the RxDB OPFS-RxStorage
-
With the RxDB OPFS storage you can build a fully featured database on top of the Origin Private File System (OPFS) browser API. Compared to other storage solutions, it has a way better performance.
The Origin Private File System (OPFS) is a native browser storage API that allows web applications to manage files in a private, sandboxed, origin-specific virtual filesystem. Unlike IndexedDB and LocalStorage, which are optimized as object/key-value storage, OPFS provides more granular control for file operations, enabling byte-by-byte access, file streaming, and even low-level manipulations.
-OPFS is ideal for applications requiring high-performance file operations (3x-4x faster compared to IndexedDB) inside of a client-side application, offering advantages like improved speed, more efficient use of resources, and enhanced security and privacy features.
From the beginning of 2023, the Origin Private File System API is supported by all modern browsers like Safari, Chrome, Edge and Firefox. Only Internet Explorer is not supported and likely will never get support.
-
It is important to know that the most performant synchronous methods like read() and write() of the OPFS API are only available inside of a WebWorker.
-They cannot be used in the main thread, an iFrame or even a SharedWorker.
-The OPFS createSyncAccessHandle() method that gives you access to the synchronous methods is not exposed in the main thread, only in a Worker.
-
While there is no concrete data size limit defined by the API, browsers will refuse to store more data at some point.
-If no more data can be written, a QuotaExceededError is thrown which should be handled by the application, like showing an error message to the user.
The OPFS API is pretty straightforward to use. First you get the root filesystem. Then you can create files and directories on that. Notice that whenever you synchronously write to, or read from a file, an ArrayBuffer must be used that contains the data. It is not possible to synchronously write plain strings or objects into the file. Therefore the TextEncoder and TextDecoder API must be used.
-
Also notice that some of the methods of FileSystemSyncAccessHandlehave been asynchronous in the past, but are synchronous since Chromium 108. To make it less confusing, we just use await in front of them, so it will work in both cases.
-
// Access the root directory of the origin's private file system.
-const root = await navigator.storage.getDirectory();
-
-// Create a subdirectory.
-const diaryDirectory = await root.getDirectoryHandle('subfolder', {
- create: true,
-});
-
-// Create a new file named 'example.txt'.
-const fileHandle = await diaryDirectory.getFileHandle('example.txt', {
- create: true,
-});
-
-// Create a FileSystemSyncAccessHandle on the file.
-const accessHandle = await fileHandle.createSyncAccessHandle();
-
-// Write a sentence to the file.
-let writeBuffer = new TextEncoder().encode('Hello from RxDB');
-const writeSize = accessHandle.write(writeBuffer);
-
-// Read file and transform data to string.
-const readBuffer = new Uint8Array(writeSize);
-const readSize = accessHandle.read(readBuffer, { at: 0 });
-const contentAsString = new TextDecoder().decode(readBuffer);
-
-// Write an exclamation mark to the end of the file.
-writeBuffer = new TextEncoder().encode('!');
-accessHandle.write(writeBuffer, { at: readSize });
-
-// Truncate file to 10 bytes.
-await accessHandle.truncate(10);
-
-// Get the new size of the file.
-const fileSize = await accessHandle.getSize();
-
-// Persist changes to disk.
-await accessHandle.flush();
-
-// Always close FileSystemSyncAccessHandle if done, so others can open the file again.
-await accessHandle.close();
-
A more detailed description of the OPFS API can be found on MDN.
Because the Origin Private File System API provides low-level access to binary files, it is much faster compared to IndexedDB or localStorage. According to the storage performance test, OPFS is up to 2x times faster on plain inserts when a new file is created on each write. Reads are even faster.
-
A good comparison about real world scenarios, are the performance results of the various RxDB storages. Here it shows that reads are up to 4x faster compared to IndexedDB, even with complex queries:
The OPFS RxStorage itself must run inside a WebWorker. Therefore we use the Worker RxStorage and let it point to the prebuild opfs.worker.js file that comes shipped with RxDB Premium 👑.
-
Notice that the OPFS RxStorage is part of the RxDB Premium 👑 plugin that must be purchased.
-
import {
- createRxDatabase
-} from 'rxdb';
-import { getRxStorageWorker } from 'rxdb-premium/plugins/storage-worker';
-
-const database = await createRxDatabase({
- name: 'mydatabase',
- storage: getRxStorageWorker(
- {
- /**
- * This file must be statically served from a webserver.
- * You might want to first copy it somewhere outside of
- * your node_modules folder.
- */
- workerInput: 'node_modules/rxdb-premium/dist/workers/opfs.worker.js'
- }
- )
-});
-
Using OPFS in the main thread instead of a worker
-
The createSyncAccessHandle method from the Filesystem API is only available inside of a Webworker. Therefore you cannot use getRxStorageOPFS() in the main thread. But there is a slightly slower way to access the virtual filesystem from the main thread. RxDB support the getRxStorageOPFSMainThread() for that. Notice that this uses the createWritable function which is not supported in safari.
-
Using OPFS from the main thread can have benefits because not having to cross the worker bridge can reduce latence in reads and writes.
When you want to run additional plugins like storage wrappers or replication inside of the worker, you have to build your own worker.js file. You can do that similar to other workers by calling exposeWorkerRxStorage like described in the worker storage plugin.
-
// inside of the worker.js file
-import { getRxStorageOPFS } from 'rxdb-premium/plugins/storage-opfs';
-import { exposeWorkerRxStorage } from 'rxdb-premium/plugins/storage-worker';
-
-const storage = getRxStorageOPFS();
-exposeWorkerRxStorage({
- storage
-});
-
Setting usesRxDatabaseInWorker when a RxDatabase is also used inside of the worker
-
When you use the OPFS inside of a worker, it will internally use strings to represent operation results. This has the benefit that transferring strings from the worker to the main thread, is way faster compared to complex json objects. The getRxStorageWorker() will automatically decode these strings on the main thread so that the data can be used by the RxDatabase.
-
But using a RxDatabase inside of your worker can make sense for example when you want to move the replication with a server. To enable this, you have to set usesRxDatabaseInWorker to true:
-
// inside of the worker.js file
-import { getRxStorageOPFS } from 'rxdb-premium/plugins/storage-opfs';
-const storage = getRxStorageOPFS({
- usesRxDatabaseInWorker: true
-});
-
If you forget to set this and still create and use a RxDatabase inside of the worker, you might get the error messageorUncaught (in promise) TypeError: Cannot read properties of undefined (reading 'length')`.
Origin Private File System is a browser API that is only accessible in browsers. Other JavaScript like React-Native or Node.js, do not support it.
-
Electron has two JavaScript contexts: the browser (chromium) context and the Node.js context. While you could use the OPFS API in the browser context, it is not recommended. Instead you should use the Filesystem API of Node.js and then only transfer the relevant data with the ipcRenderer. With RxDB that is pretty easy to configure:
-
-
In the main.js, expose the Node Filesystem storage with the exposeIpcMainRxStorage() that comes with the electron plugin
-
In the browser context, access the main storage with the getRxStorageIpcRenderer() method.
-
-
React Native (and Expo) does not have an OPFS API. You could use the ReactNative Filesystem to directly write data. But to get a fully featured database like RxDB it is easier to use the SQLite RxStorage which starts an SQLite database inside of the ReactNative app and uses that to do the database operations.
-
Capacitor.js is able to access the OPFS API.
-
Difference between File System Access API and Origin Private File System (OPFS)
-
Often developers are confused with the differences between the File System Access API and the Origin Private File System (OPFS).
-
-
The File System Access API provides access to the files on the device file system, like the ones shown in the file explorer of the operating system. To use the File System API, the user has to actively select the files from a filepicker.
-
Origin Private File System (OPFS) is a sub-part of the File System Standard and it only describes the things you can do with the filesystem root from navigator.storage.getDirectory(). OPFS writes to a sandboxed filesystem, not visible to the user. Therefore the user does not have to actively select or allow the data access.
-
-
\ No newline at end of file
diff --git a/docs/rx-storage-opfs.md b/docs/rx-storage-opfs.md
deleted file mode 100644
index cc06f54ab0d..00000000000
--- a/docs/rx-storage-opfs.md
+++ /dev/null
@@ -1,181 +0,0 @@
-# Supercharged OPFS Database with RxDB
-
-> Discover how to harness the Origin Private File System with RxDB's OPFS RxStorage for unrivaled performance and security in client-side data storage.
-
-# Origin Private File System (OPFS) Database with the RxDB OPFS-RxStorage
-
-With the [RxDB](https://rxdb.info/) OPFS storage you can build a fully featured database on top of the [Origin Private File System](https://web.dev/opfs) (OPFS) browser API. Compared to other storage solutions, it has a way better performance.
-
-## What is OPFS
-
-The **Origin Private File System (OPFS)** is a native browser storage API that allows web applications to manage files in a private, sandboxed, **origin-specific virtual filesystem**. Unlike [IndexedDB](./rx-storage-indexeddb.md) and [LocalStorage](./articles/localstorage.md), which are optimized as object/key-value storage, OPFS provides more granular control for file operations, enabling byte-by-byte access, file streaming, and even low-level manipulations.
-OPFS is ideal for applications requiring **high-performance** file operations (**3x-4x faster compared to IndexedDB**) inside of a client-side application, offering advantages like improved speed, more efficient use of resources, and enhanced security and privacy features.
-
-### OPFS limitations
-
-From the beginning of 2023, the Origin Private File System API is supported by [all modern browsers](https://caniuse.com/native-filesystem-api) like Safari, Chrome, Edge and Firefox. Only Internet Explorer is not supported and likely will never get support.
-
-It is important to know that the most performant synchronous methods like [`read()`](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemSyncAccessHandle/read) and [`write()`](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemSyncAccessHandle/write) of the OPFS API are **only available inside of a [WebWorker](./rx-storage-worker.md)**.
-They cannot be used in the main thread, an iFrame or even a [SharedWorker](./rx-storage-shared-worker.md).
-The OPFS [`createSyncAccessHandle()`](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemFileHandle/createSyncAccessHandle) method that gives you access to the synchronous methods is not exposed in the main thread, only in a Worker.
-
-While there is no concrete **data size limit** defined by the API, browsers will refuse to store more [data at some point](./articles/indexeddb-max-storage-limit.md).
-If no more data can be written, a `QuotaExceededError` is thrown which should be handled by the application, like showing an error message to the user.
-
-## How the OPFS API works
-
-The OPFS API is pretty straightforward to use. First you get the root filesystem. Then you can create files and directories on that. Notice that whenever you _synchronously_ write to, or read from a file, an `ArrayBuffer` must be used that contains the data. It is not possible to synchronously write plain strings or objects into the file. Therefore the `TextEncoder` and `TextDecoder` API must be used.
-
-Also notice that some of the methods of `FileSystemSyncAccessHandle` [have been asynchronous](https://developer.chrome.com/blog/sync-methods-for-accesshandles) in the past, but are synchronous since Chromium 108. To make it less confusing, we just use `await` in front of them, so it will work in both cases.
-
-```ts
-// Access the root directory of the origin's private file system.
-const root = await navigator.storage.getDirectory();
-
-// Create a subdirectory.
-const diaryDirectory = await root.getDirectoryHandle('subfolder', {
- create: true,
-});
-
-// Create a new file named 'example.txt'.
-const fileHandle = await diaryDirectory.getFileHandle('example.txt', {
- create: true,
-});
-
-// Create a FileSystemSyncAccessHandle on the file.
-const accessHandle = await fileHandle.createSyncAccessHandle();
-
-// Write a sentence to the file.
-let writeBuffer = new TextEncoder().encode('Hello from RxDB');
-const writeSize = accessHandle.write(writeBuffer);
-
-// Read file and transform data to string.
-const readBuffer = new Uint8Array(writeSize);
-const readSize = accessHandle.read(readBuffer, { at: 0 });
-const contentAsString = new TextDecoder().decode(readBuffer);
-
-// Write an exclamation mark to the end of the file.
-writeBuffer = new TextEncoder().encode('!');
-accessHandle.write(writeBuffer, { at: readSize });
-
-// Truncate file to 10 bytes.
-await accessHandle.truncate(10);
-
-// Get the new size of the file.
-const fileSize = await accessHandle.getSize();
-
-// Persist changes to disk.
-await accessHandle.flush();
-
-// Always close FileSystemSyncAccessHandle if done, so others can open the file again.
-await accessHandle.close();
-```
-
-A more detailed description of the OPFS API can be found [on MDN](https://developer.mozilla.org/en-US/docs/Web/API/File_System_API/Origin_private_file_system).
-
-## OPFS performance
-
-Because the Origin Private File System API provides low-level access to binary files, it is much faster compared to [IndexedDB](./slow-indexeddb.md) or [localStorage](./articles/localstorage.md). According to the [storage performance test](https://pubkey.github.io/client-side-databases/database-comparison/index.html), OPFS is up to 2x times faster on plain inserts when a new file is created on each write. Reads are even faster.
-
-A good comparison about real world scenarios, are the [performance results](./rx-storage-performance.md) of the various RxDB storages. Here it shows that reads are up to 4x faster compared to IndexedDB, even with complex queries:
-
-
-
-## Using OPFS as RxStorage in RxDB
-
-The OPFS [RxStorage](./rx-storage.md) itself must run inside a WebWorker. Therefore we use the [Worker RxStorage](./rx-storage-worker.md) and let it point to the prebuild `opfs.worker.js` file that comes shipped with RxDB Premium 👑.
-
-Notice that the OPFS RxStorage is part of the [RxDB Premium 👑](/premium/) plugin that must be purchased.
-
-```ts
-import {
- createRxDatabase
-} from 'rxdb';
-import { getRxStorageWorker } from 'rxdb-premium/plugins/storage-worker';
-
-const database = await createRxDatabase({
- name: 'mydatabase',
- storage: getRxStorageWorker(
- {
- /**
- * This file must be statically served from a webserver.
- * You might want to first copy it somewhere outside of
- * your node_modules folder.
- */
- workerInput: 'node_modules/rxdb-premium/dist/workers/opfs.worker.js'
- }
- )
-});
-```
-
-## Using OPFS in the main thread instead of a worker
-
-The `createSyncAccessHandle` method from the Filesystem API is only available inside of a Webworker. Therefore you cannot use `getRxStorageOPFS()` in the main thread. But there is a slightly slower way to access the virtual filesystem from the main thread. RxDB support the `getRxStorageOPFSMainThread()` for that. Notice that this uses the [createWritable](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemFileHandle/createWritable) function which is not supported in safari.
-
-Using OPFS from the main thread can have benefits because not having to cross the worker bridge can reduce latence in reads and writes.
-
-```ts
-import { createRxDatabase } from 'rxdb';
-import { getRxStorageOPFSMainThread } from 'rxdb-premium/plugins/storage-opfs';
-
-const database = await createRxDatabase({
- name: 'mydatabase',
- storage: getRxStorageOPFSMainThread()
-});
-```
-
-## Building a custom `worker.js`
-
-When you want to run additional plugins like storage wrappers or replication **inside** of the worker, you have to build your own `worker.js` file. You can do that similar to other workers by calling `exposeWorkerRxStorage` like described in the [worker storage plugin](./rx-storage-worker.md).
-
-```ts
-// inside of the worker.js file
-import { getRxStorageOPFS } from 'rxdb-premium/plugins/storage-opfs';
-import { exposeWorkerRxStorage } from 'rxdb-premium/plugins/storage-worker';
-
-const storage = getRxStorageOPFS();
-exposeWorkerRxStorage({
- storage
-});
-```
-
-## Setting `usesRxDatabaseInWorker` when a RxDatabase is also used inside of the worker
-
-When you use the OPFS inside of a worker, it will internally use strings to represent operation results. This has the benefit that transferring strings from the worker to the main thread, is way faster compared to complex json objects. The `getRxStorageWorker()` will automatically decode these strings on the main thread so that the data can be used by the RxDatabase.
-
-But using a RxDatabase **inside** of your worker can make sense for example when you want to move the [replication](./replication.md) with a server. To enable this, you have to set `usesRxDatabaseInWorker` to `true`:
-
-```ts
-// inside of the worker.js file
-import { getRxStorageOPFS } from 'rxdb-premium/plugins/storage-opfs';
-const storage = getRxStorageOPFS({
- usesRxDatabaseInWorker: true
-});
-```
-
-If you forget to set this and still create and use a [RxDatabase](./rx-database.md) inside of the worker, you might get the error message` or `Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'length')`.
-
-## OPFS in Electron, React-Native or Capacitor.js
-
-Origin Private File System is a browser API that is only accessible in browsers. Other JavaScript like React-Native or Node.js, do not support it.
-
-**Electron** has two JavaScript contexts: the browser (chromium) context and the Node.js context. While you could use the OPFS API in the browser context, it is not recommended. Instead you should use the Filesystem API of Node.js and then only transfer the relevant data with the [ipcRenderer](https://www.electronjs.org/de/docs/latest/api/ipc-renderer). With RxDB that is pretty easy to configure:
-- In the `main.js`, expose the [Node Filesystem](./rx-storage-filesystem-node.md) storage with the `exposeIpcMainRxStorage()` that comes with the [electron plugin](./electron.md)
-- In the browser context, access the main storage with the `getRxStorageIpcRenderer()` method.
-
-**React Native** (and Expo) does not have an OPFS API. You could use the ReactNative Filesystem to directly write data. But to get a fully featured database like RxDB it is easier to use the [SQLite RxStorage](./rx-storage-sqlite.md) which starts an SQLite database inside of the ReactNative app and uses that to do the database operations.
-
-**Capacitor.js** is able to access the OPFS API.
-
-## Difference between `File System Access API` and `Origin Private File System (OPFS)`
-
-Often developers are confused with the differences between the `File System Access API` and the `Origin Private File System (OPFS)`.
-
-- The `File System Access API` provides access to the files on the device file system, like the ones shown in the file explorer of the operating system. To use the File System API, the user has to actively select the files from a filepicker.
-- `Origin Private File System (OPFS)` is a sub-part of the `File System Standard` and it only describes the things you can do with the filesystem root from `navigator.storage.getDirectory()`. OPFS writes to a **sandboxed** filesystem, not visible to the user. Therefore the user does not have to actively select or allow the data access.
-
-## Learn more about OPFS:
-
-- [WebKit: The File System API with Origin Private File System](https://webkit.org/blog/12257/the-file-system-access-api-with-origin-private-file-system/)
-- [Browser Support](https://caniuse.com/native-filesystem-api)
-- [Performance Test Tool](https://pubkey.github.io/client-side-databases/database-comparison/index.html)
diff --git a/docs/rx-storage-performance.html b/docs/rx-storage-performance.html
deleted file mode 100644
index 5d1dd410a81..00000000000
--- a/docs/rx-storage-performance.html
+++ /dev/null
@@ -1,64 +0,0 @@
-
-
-
-
-
-📈 Discover RxDB Storage Benchmarks | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
A big difference in the RxStorage implementations is the performance. In difference to a server side database, RxDB is bound to the limits of the JavaScript runtime and depending on the runtime, there are different possibilities to store and fetch data. For example in the browser it is only possible to store data in a slow IndexedDB or OPFS instead of a filesystem while on React-Native you can use the SQLite storage.
-
Therefore the performance can be completely different depending on where you use RxDB and what you do with it. Here you can see some performance measurements and descriptions on how the different storages work and how their performance is different.
The "normal" storages are always persistent. This means each RxDB write is directly written to disc and all queries run on the disc state. This means a good startup performance because nothing has to be done on startup.
-
In contrast, semi-persistent storages like memory mapped store all data in memory on startup and only save to disc occasionally (or on exit). Therefore it has a very fast read/write performance, but loading all data into memory on the first page load can take longer for big amounts of documents. Also these storages can only be used when all data fits into the memory at least once. In general it is recommended to stay on the persistent storages and only use semi-persistent ones, when you know for sure that the dataset will stay small (less than 2k documents).
In the following you can find some performance measurements and comparisons. Notice that these are only a small set of possible RxDB operations. If performance is really relevant for your use case, you should do your own measurements with usage-patterns that are equal to how you use RxDB in production.
time-to-first-insert: Many storages run lazy, so it makes no sense to compare the time which is required to create a database with collections. Instead we measure the time-to-first-insert which is the whole timespan from database creation until the first single document write is done.
-
insert documents (bulk): Insert 500 documents with a single bulk-insert operation.
-
find documents by id (bulk): Here we fetch 100% of the stored documents with a single findByIds() call.
-
insert documents (serial): Insert 50 documents, one after each other.
-
find documents by id (serial): Here we find 50 documents in serial with one findByIds() call per document.
-
find documents by query: Here we fetch 100% of the stored documents with a single find() call.
-
find documents by query: Here we fetch all of the stored documents with a 4 find() calls that run in parallel. Each fetching 25% of the documents.
-
count documents: Counts 100% of the stored documents with a single count() call. Here we measure 4 runs at once to have a higher number that is easier to compare.
The performance patterns of the browser based storages are very diverse. The IndexedDB storage is recommended for mostly all use cases so you should start with that one. Later you can do performance testings and switch to another storage like OPFS or memory-mapped.
-
-
Node/Native based Storages Performance Comparison
-
-
\ No newline at end of file
diff --git a/docs/rx-storage-performance.md b/docs/rx-storage-performance.md
deleted file mode 100644
index 53ddfd44516..00000000000
--- a/docs/rx-storage-performance.md
+++ /dev/null
@@ -1,42 +0,0 @@
-# 📈 Discover RxDB Storage Benchmarks
-
-> Explore real-world benchmarks comparing RxDB's persistent and semi-persistent storages. Discover which storage option delivers the fastest performance.
-
-## RxStorage Performance comparison
-
-A big difference in the RxStorage implementations is the **performance**. In difference to a server side database, RxDB is bound to the limits of the JavaScript runtime and depending on the runtime, there are different possibilities to store and fetch data. For example in the browser it is only possible to store data in a [slow IndexedDB](./slow-indexeddb.md) or OPFS instead of a filesystem while on React-Native you can use the [SQLite storage](./rx-storage-sqlite.md).
-
-Therefore the performance can be completely different depending on where you use RxDB and what you do with it. Here you can see some performance measurements and descriptions on how the different [storages](./rx-storage.md) work and how their performance is different.
-
-## Persistent vs Semi-Persistent storages
-
-The "normal" storages are always persistent. This means each RxDB write is directly written to disc and all queries run on the disc state. This means a good startup performance because nothing has to be done on startup.
-
-In contrast, semi-persistent storages like [memory mapped](./rx-storage-memory-mapped.md) store all data in memory on startup and only save to disc occasionally (or on exit). Therefore it has a very fast read/write performance, but loading all data into memory on the first page load can take longer for big amounts of documents. Also these storages can only be used when all data fits into the memory at least once. In general it is recommended to stay on the persistent storages and only use semi-persistent ones, when you know for sure that the dataset will stay small (less than 2k documents).
-
-## Performance comparison
-
-In the following you can find some performance measurements and comparisons. Notice that these are only a small set of possible RxDB operations. If performance is really relevant for your use case, you should do your own measurements with usage-patterns that are equal to how you use RxDB in production.
-
-### Measurements
-
-Here the following metrics are measured:
-
-- time-to-first-insert: Many storages run lazy, so it makes no sense to compare the time which is required to create a database with collections. Instead we measure the **time-to-first-insert** which is the whole timespan from database creation until the first single document write is done.
-- insert documents (bulk): Insert 500 documents with a single bulk-insert operation.
-- find documents by id (bulk): Here we fetch 100% of the stored documents with a single `findByIds()` call.
-- insert documents (serial): Insert 50 documents, one after each other.
-- find documents by id (serial): Here we find 50 documents in serial with one `findByIds()` call per document.
-- find documents by query: Here we fetch 100% of the stored documents with a single `find()` call.
-- find documents by query: Here we fetch all of the stored documents with a 4 `find()` calls that run in parallel. Each fetching 25% of the documents.
-- count documents: Counts 100% of the stored documents with a single `count()` call. Here we measure 4 runs at once to have a higher number that is easier to compare.
-
-## Browser based Storages Performance Comparison
-
-The performance patterns of the browser based storages are very diverse. The [IndexedDB storage](./rx-storage-indexeddb.md) is recommended for mostly all use cases so you should start with that one. Later you can do performance testings and switch to another storage like [OPFS](./rx-storage-opfs.md) or [memory-mapped](./rx-storage-memory-mapped.md).
-
-
-
-## Node/Native based Storages Performance Comparison
-
-For most client-side native applications ([react-native](./react-native-database.md), [electron](./electron-database.md), [capacitor](./capacitor-database.md)), using the [SQLite RxStorage](./rx-storage-sqlite.md) is recommended. For non-client side applications like a server, use the [MongoDB storage](./rx-storage-mongodb.md) instead.
diff --git a/docs/rx-storage-pouchdb.html b/docs/rx-storage-pouchdb.html
deleted file mode 100644
index 0e340a1b0ce..00000000000
--- a/docs/rx-storage-pouchdb.html
+++ /dev/null
@@ -1,118 +0,0 @@
-
-
-
-
-
-PouchDB RxStorage - Migrate for Better Performance | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
The PouchDB RxStorage is based on the PouchDB database. It is the most battle proven RxStorage and has a big ecosystem of adapters. PouchDB does a lot of overhead to enable CouchDB replication which makes the PouchDB RxStorage one of the slowest.
-
warning
The PouchDB RxStorage is removed from RxDB and can no longer be used in new projects. You should switch to a different RxStorage.
When I started developing RxDB in 2016, I had a specific use case to solve.
-Because there was no client-side database out there that fitted, I created
-RxDB as a wrapper around PouchDB. This worked great and all the PouchDB features
-like the query engine, the adapter system, CouchDB-replication and so on, came for free.
-But over the years, it became clear that PouchDB is not suitable for many applications,
-mostly because of its performance: To be compliant to CouchDB, PouchDB has to store all
-revision trees of documents which slows down queries. Also purging these document revisions is not possible
-so the database storage size will only increase over time.
-Another problem was that many issues in PouchDB have never been fixed, but only closed by the issue-bot like this one. The whole PouchDB RxStorage code was full of workarounds and monkey patches to resolve
-these issues for RxDB users. Many these patches decreased performance even further. Sometimes it was not possible to fix things from the outside, for example queries with $gt operators return the wrong documents which is a no-go for a production database
-and hard to debug.
-
In version 10.0.0 RxDB introduced the RxStorage layer which
-allows users to swap out the underlying storage engine where RxDB stores and queries documents from.
-This allowed to use alternatives from PouchDB, for example the IndexedDB RxStorage in browsers
-or even the FoundationDB RxStorage on the server side.
-There where not many use cases left where it was a good choice to use the PouchDB RxStorage. Only replicating with a
-CouchDB server, was only possible with PouchDB. But this has also changed. RxDB has a plugin that allows
-to replicate clients with any CouchDB server by using the RxDB Sync Engine. This plugins work with any RxStorage so that it is not necessary to use the PouchDB storage.
-Removing PouchDB allows RxDB to add many awaited features like filtered change streams for easier replication and permission handling. It will also free up development time.
-
If you are currently using the PouchDB RxStorage, you have these options:
When you use RxDB with angular or other webpack based frameworks, you might get the error:
-
<span style="color: red;">Uncaught ReferenceError: global is not defined</span>
-
This is because pouchdb assumes a nodejs-specific global variable that is not added to browser runtimes by some bundlers.
-You have to add them by your own, like we do here.
-
(window as any).global = window;
-(window as any).process = {
- env: { DEBUG: undefined },
-};
For custom operations, you can access the internal PouchDB database.
-This is dangerous because you might do changes that are not compatible with RxDB.
-Only use this when there is no way to achieve your goals via the RxDB API.
-
-
\ No newline at end of file
diff --git a/docs/rx-storage-pouchdb.md b/docs/rx-storage-pouchdb.md
deleted file mode 100644
index 647a56278fc..00000000000
--- a/docs/rx-storage-pouchdb.md
+++ /dev/null
@@ -1,106 +0,0 @@
-# PouchDB RxStorage - Migrate for Better Performance
-
-> Discover why PouchDB RxStorage is deprecated in RxDB. Learn its legacy, performance drawbacks, and how to upgrade to a faster solution.
-
-# RxStorage PouchDB
-
-The PouchDB RxStorage is based on the [PouchDB](https://github.com/pouchdb/pouchdb) database. It is the most battle proven RxStorage and has a big ecosystem of adapters. PouchDB does a lot of overhead to enable CouchDB replication which makes the PouchDB RxStorage one of the slowest.
-
-:::warning
-The PouchDB RxStorage is removed from RxDB and can no longer be used in new projects. You should switch to a different [RxStorage](./rx-storage.md).
-:::
-
-## Why is the PouchDB RxStorage deprecated?
-When I started developing RxDB in 2016, I had a specific use case to solve.
-Because there was no client-side database out there that fitted, I created
-RxDB as a wrapper around PouchDB. This worked great and all the PouchDB features
-like the query engine, the adapter system, CouchDB-replication and so on, came for free.
-But over the years, it became clear that PouchDB is not suitable for many applications,
-mostly because of its performance: To be compliant to CouchDB, PouchDB has to store all
-revision trees of documents which slows down queries. Also purging these document revisions [is not possible](https://github.com/pouchdb/pouchdb/issues/802)
-so the database storage size will only increase over time.
-Another problem was that many issues in PouchDB have never been fixed, but only closed by the issue-bot like [this one](https://github.com/pouchdb/pouchdb/issues/6454). The whole PouchDB RxStorage code was full of [workarounds and monkey patches](https://github.com/pubkey/rxdb/blob/285c3cf6008b3cc83bd9b9946118a621434f0cff/src/plugins/pouchdb/pouch-statics.ts#L181) to resolve
-these issues for RxDB users. Many these patches decreased performance even further. Sometimes it was not possible to fix things from the outside, for example queries with `$gt` operators return [the wrong documents](https://github.com/pouchdb/pouchdb/pull/8471) which is a no-go for a production database
-and hard to debug.
-
-In version [10.0.0](./releases/10.0.0.md) RxDB introduced the [RxStorage](./rx-storage.md) layer which
-allows users to swap out the underlying storage engine where RxDB stores and queries documents from.
-This allowed to use alternatives from PouchDB, for example the [IndexedDB RxStorage](./rx-storage-indexeddb.md) in browsers
-or even the [FoundationDB RxStorage](./rx-storage-foundationdb.md) on the server side.
-There where not many use cases left where it was a good choice to use the PouchDB RxStorage. Only replicating with a
-CouchDB server, was only possible with PouchDB. But this has also changed. RxDB has [a plugin](./replication-couchdb.md) that allows
-to replicate clients with any CouchDB server by using the [RxDB Sync Engine](./replication.md). This plugins work with any RxStorage so that it is not necessary to use the PouchDB storage.
-Removing PouchDB allows RxDB to add many awaited features like filtered change streams for easier replication and permission handling. It will also free up development time.
-
-If you are currently using the PouchDB RxStorage, you have these options:
-
-- Migrate to another [RxStorage](./rx-storage.md) (recommended)
-- Never update RxDB to the next major version (stay on older 14.0.0)
-- Fork the [PouchDB RxStorage](./rx-storage-pouchdb.md) and maintain the plugin by yourself.
-- Fix all the [PouchDB problems](https://github.com/pouchdb/pouchdb/issues?q=author%3Apubkey) so that we can add PouchDB to the RxDB Core again.
-
-## Pros
- - Most battle proven RxStorage
- - Supports replication with a CouchDB endpoint
- - Support storing [attachments](./rx-attachment.md)
- - Big ecosystem of adapters
-
-## Cons
- - Big bundle size
- - Slow performance because of revision handling overhead
-
-## Usage
-
-```ts
-import { createRxDatabase } from 'rxdb';
-import { getRxStoragePouch, addPouchPlugin } from 'rxdb/plugins/pouchdb';
-
-addPouchPlugin(require('pouchdb-adapter-idb'));
-
-const db = await createRxDatabase({
- name: 'exampledb',
- storage: getRxStoragePouch(
- 'idb',
- {
- /**
- * other pouchdb specific options
- * @link https://pouchdb.com/api.html#create_database
- */
- }
- )
-});
-```
-
-## Polyfill the `global` variable
-
-When you use RxDB with **angular** or other **webpack** based frameworks, you might get the error:
-```html
-Uncaught ReferenceError: global is not defined
-```
-This is because pouchdb assumes a nodejs-specific `global` variable that is not added to browser runtimes by some bundlers.
-You have to add them by your own, like we do [here](https://github.com/pubkey/rxdb/blob/master/examples/angular/src/polyfills.ts).
-
-```ts
-(window as any).global = window;
-(window as any).process = {
- env: { DEBUG: undefined },
-};
-```
-
-## Adapters
-
-[PouchDB has many adapters for all JavaScript runtimes](./adapters.md).
-
-## Using the internal PouchDB Database
-
-For custom operations, you can access the internal PouchDB database.
-This is dangerous because you might do changes that are not compatible with RxDB.
-Only use this when there is no way to achieve your goals via the RxDB API.
-
-```javascript
-import {
- getPouchDBOfRxCollection
-} from 'rxdb/plugins/pouchdb';
-
-const pouch = getPouchDBOfRxCollection(myRxCollection);
-```
diff --git a/docs/rx-storage-remote.html b/docs/rx-storage-remote.html
deleted file mode 100644
index e7e73062728..00000000000
--- a/docs/rx-storage-remote.html
+++ /dev/null
@@ -1,115 +0,0 @@
-
-
-
-
-
-Remote RxStorage | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
The Remote RxStorage is made to use a remote storage and communicate with it over an asynchronous message channel.
-The remote part could be on another JavaScript process or even on a different host machine.
-The remote storage plugin is used in many RxDB plugins like the worker or the electron plugin.
The remote storage communicates over a message channel which has to implement the messageChannelCreator function which returns an object that has a messages$ observable and a send() function on both sides and a close() function that closes the RemoteMessageChannel.
-
// on the client
-import { getRxStorageRemote } from 'rxdb/plugins/storage-remote';
-const storage = getRxStorageRemote({
- identifier: 'my-id',
- mode: 'storage',
- messageChannelCreator: () => Promise.resolve({
- messages$: new Subject(),
- send(msg) {
- // send to remote storage
- }
- })
-});
-const myDb = await createRxDatabase({
- storage
-});
-
-// on the remote
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-import { exposeRxStorageRemote } from 'rxdb/plugins/storage-remote';
-exposeRxStorageRemote({
- storage: getRxStorageLocalstorage(),
- messages$: new Subject(),
- send(msg){
- // send to other side
- }
-});
The remote storage plugin contains helper functions to create a remote storage over a WebSocket server.
-This is often used in Node.js to give one microservice access to another services database without having to replicate the full database state.
-
// server.js
-import { getRxStorageMemory } from 'rxdb/plugins/storage-memory';
-import { startRxStorageRemoteWebsocketServer } from 'rxdb/plugins/storage-remote-websocket';
-
-// either you can create the server based on a RxDatabase
-const serverBasedOnDatabase = await startRxStorageRemoteWebsocketServer({
- port: 8080,
- database: myRxDatabase
-});
-
-// or you can create the server based on a pure RxStorage
-const serverBasedOn = await startRxStorageRemoteWebsocketServer({
- port: 8080,
- storage: getRxStorageMemory()
-});
-
-
\ No newline at end of file
diff --git a/docs/rx-storage-remote.md b/docs/rx-storage-remote.md
deleted file mode 100644
index 71e94b1ea73..00000000000
--- a/docs/rx-storage-remote.md
+++ /dev/null
@@ -1,107 +0,0 @@
-# Remote RxStorage
-
-> The Remote [RxStorage](./rx-storage.md) is made to use a remote storage and communicate with it over an asynchronous message channel.
-The remote part could be on another JavaScript process or even on a different host machine.
-The remote storage plugin is used in many RxDB plugins like the [worker](./rx-storage-worker.md) or the [electron](./electron.md) plugin.
-
-# Remote RxStorage
-
-The Remote [RxStorage](./rx-storage.md) is made to use a remote storage and communicate with it over an asynchronous message channel.
-The remote part could be on another JavaScript process or even on a different host machine.
-The remote storage plugin is used in many RxDB plugins like the [worker](./rx-storage-worker.md) or the [electron](./electron.md) plugin.
-
-## Usage
-
-The remote storage communicates over a message channel which has to implement the `messageChannelCreator` function which returns an object that has a `messages$` observable and a `send()` function on both sides and a `close()` function that closes the RemoteMessageChannel.
-
-```ts
-// on the client
-import { getRxStorageRemote } from 'rxdb/plugins/storage-remote';
-const storage = getRxStorageRemote({
- identifier: 'my-id',
- mode: 'storage',
- messageChannelCreator: () => Promise.resolve({
- messages$: new Subject(),
- send(msg) {
- // send to remote storage
- }
- })
-});
-const myDb = await createRxDatabase({
- storage
-});
-
-// on the remote
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-import { exposeRxStorageRemote } from 'rxdb/plugins/storage-remote';
-exposeRxStorageRemote({
- storage: getRxStorageLocalstorage(),
- messages$: new Subject(),
- send(msg){
- // send to other side
- }
-});
-```
-
-## Usage with a Websocket server
-
-The remote storage plugin contains helper functions to create a remote storage over a WebSocket server.
-This is often used in Node.js to give one microservice access to another services database **without** having to replicate the full database state.
-
-```ts
-// server.js
-import { getRxStorageMemory } from 'rxdb/plugins/storage-memory';
-import { startRxStorageRemoteWebsocketServer } from 'rxdb/plugins/storage-remote-websocket';
-
-// either you can create the server based on a RxDatabase
-const serverBasedOnDatabase = await startRxStorageRemoteWebsocketServer({
- port: 8080,
- database: myRxDatabase
-});
-
-// or you can create the server based on a pure RxStorage
-const serverBasedOn = await startRxStorageRemoteWebsocketServer({
- port: 8080,
- storage: getRxStorageMemory()
-});
-```
-
-```ts
-// client.js
-
-import { getRxStorageRemoteWebsocket } from 'rxdb/plugins/storage-remote-websocket';
-const myDb = await createRxDatabase({
- storage: getRxStorageRemoteWebsocket({
- url: 'ws://example.com:8080'
- })
-});
-```
-
-## Sending custom messages
-
-The remote storage can also be used to send custom messages to and from the remote instance.
-
-One the remote you have to define a `customRequestHandler` like:
-
-```ts
-const serverBasedOnDatabase = await startRxStorageRemoteWebsocketServer({
- port: 8080,
- database: myRxDatabase,
- async customRequestHandler(msg){
- // here you can return any JSON object as an 'answer'
- return {
- foo: 'bar'
- };
- }
-});
-```
-
-On the client instance you can then call the `customRequest()` method:
-
-```ts
-const storage = getRxStorageRemoteWebsocket({
- url: 'ws://example.com:8080'
-});
-const answer = await storage.customRequest({ bar: 'foo' });
-console.dir(answer); // > { foo: 'bar' }
-```
diff --git a/docs/rx-storage-sharding.html b/docs/rx-storage-sharding.html
deleted file mode 100644
index c90f95a76d3..00000000000
--- a/docs/rx-storage-sharding.html
+++ /dev/null
@@ -1,102 +0,0 @@
-
-
-
-
-
-Sharding RxStorage 👑 | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
With the sharding plugin, you can improve the write and query times of someRxStorage implementations.
-For example on slow IndexedDB, a performance gain of 30-50% on reads, and 25% on writes can be achieved by using multiple IndexedDB Stores instead of putting all documents into the same store.
-
The sharding plugin works as a wrapper around any other RxStorage. The sharding plugin will automatically create multiple shards per storage instance and it will merge and split read and write calls to it.
-
Premium
The sharding plugin is part of RxDB Premium 👑. It is not part of the default RxDB module.
import {
- getRxStorageSharding
-} from 'rxdb-premium/plugins/storage-sharding';
-
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-
-
-/**
- * First wrap the original RxStorage with the sharding RxStorage.
- */
-const shardedRxStorage = getRxStorageSharding({
-
- /**
- * Here we use the localStorage RxStorage,
- * it is also possible to use any other RxStorage instead.
- */
- storage: getRxStorageLocalstorage()
-});
-
-
-/**
- * Add the sharding options to your schema.
- * Changing these options will require a data migration.
- */
-const mySchema = {
- /* ... */
- sharding: {
- /**
- * Amount of shards per RxStorage instance.
- * Depending on your data size and query patterns, the optimal shard amount may differ.
- * Do a performance test to optimize that value.
- * 10 Shards is a good value to start with.
- *
- * IMPORTANT: Changing the value of shards is not possible on a already existing database state,
- * you will loose access to your data.
- */
- shards: 10,
- /**
- * Sharding mode,
- * you can either shard by collection or by database.
- * For most cases you should use 'collection' which will shard on the collection level.
- * For example with the IndexedDB RxStorage, it will then create multiple stores per IndexedDB database
- * and not multiple IndexedDB databases, which would be slower.
- */
- mode: 'collection'
- }
- /* ... */
-}
-
-
-/**
- * Create the RxDatabase with the wrapped RxStorage.
- */
-const database = await createRxDatabase({
- name: 'mydatabase',
- storage: shardedRxStorage
-});
-
-
-
\ No newline at end of file
diff --git a/docs/rx-storage-sharding.md b/docs/rx-storage-sharding.md
deleted file mode 100644
index 0c926627457..00000000000
--- a/docs/rx-storage-sharding.md
+++ /dev/null
@@ -1,75 +0,0 @@
-# Sharding RxStorage 👑
-
-> With the sharding plugin, you can improve the write and query times of **some** `RxStorage` implementations.
-For example on [slow IndexedDB](./slow-indexeddb.md), a performance gain of **30-50% on reads**, and **25% on writes** can be achieved by using multiple IndexedDB Stores instead of putting all documents into the same store.
-
-# Sharding RxStorage
-
-With the sharding plugin, you can improve the write and query times of **some** `RxStorage` implementations.
-For example on [slow IndexedDB](./slow-indexeddb.md), a performance gain of **30-50% on reads**, and **25% on writes** can be achieved by using multiple IndexedDB Stores instead of putting all documents into the same store.
-
-The sharding plugin works as a wrapper around any other `RxStorage`. The sharding plugin will automatically create multiple shards per storage instance and it will merge and split read and write calls to it.
-
-:::note Premium
-The sharding plugin is part of [RxDB Premium 👑](/premium/). It is not part of the default RxDB module.
-:::
-
-## Using the sharding plugin
-
-```ts
-import {
- getRxStorageSharding
-} from 'rxdb-premium/plugins/storage-sharding';
-
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-
-/**
- * First wrap the original RxStorage with the sharding RxStorage.
- */
-const shardedRxStorage = getRxStorageSharding({
-
- /**
- * Here we use the localStorage RxStorage,
- * it is also possible to use any other RxStorage instead.
- */
- storage: getRxStorageLocalstorage()
-});
-
-/**
- * Add the sharding options to your schema.
- * Changing these options will require a data migration.
- */
-const mySchema = {
- /* ... */
- sharding: {
- /**
- * Amount of shards per RxStorage instance.
- * Depending on your data size and query patterns, the optimal shard amount may differ.
- * Do a performance test to optimize that value.
- * 10 Shards is a good value to start with.
- *
- * IMPORTANT: Changing the value of shards is not possible on a already existing database state,
- * you will loose access to your data.
- */
- shards: 10,
- /**
- * Sharding mode,
- * you can either shard by collection or by database.
- * For most cases you should use 'collection' which will shard on the collection level.
- * For example with the IndexedDB RxStorage, it will then create multiple stores per IndexedDB database
- * and not multiple IndexedDB databases, which would be slower.
- */
- mode: 'collection'
- }
- /* ... */
-}
-
-/**
- * Create the RxDatabase with the wrapped RxStorage.
- */
-const database = await createRxDatabase({
- name: 'mydatabase',
- storage: shardedRxStorage
-});
-
-```
diff --git a/docs/rx-storage-shared-worker.html b/docs/rx-storage-shared-worker.html
deleted file mode 100644
index cb050a490a9..00000000000
--- a/docs/rx-storage-shared-worker.html
+++ /dev/null
@@ -1,160 +0,0 @@
-
-
-
-
-
-Boost Performance with SharedWorker RxStorage | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
The SharedWorker RxStorage uses the SharedWorker API to run the storage inside of a separate JavaScript process in browsers. Compared to a normal WebWorker, the SharedWorker is created exactly once, even when there are multiple browser tabs opened. Because of having exactly one worker, multiple performance optimizations can be done because the storage itself does not have to handle multiple opened database connections.
-
Premium
This plugin is part of RxDB Premium 👑. It is not part of the default RxDB module.
In the worker process JavaScript file, you have wrap the original RxStorage with getRxStorageIndexedDB().
-
// shared-worker.ts
-
-import { exposeWorkerRxStorage } from 'rxdb-premium/plugins/storage-worker';
-import {
- getRxStorageIndexedDB
-} from 'rxdb-premium/plugins/indexeddb';
-
-exposeWorkerRxStorage({
- /**
- * You can wrap any implementation of the RxStorage interface
- * into a worker.
- * Here we use the IndexedDB RxStorage.
- */
- storage: getRxStorageIndexedDB()
-});
import {
- createRxDatabase
-} from 'rxdb';
-import { getRxStorageSharedWorker } from 'rxdb-premium/plugins/storage-worker';
-import { getRxStorageIndexedDB } from 'rxdb/plugins/storage-indexeddb';
-
-
-const database = await createRxDatabase({
- name: 'mydatabase',
- storage: getRxStorageSharedWorker(
- {
- /**
- * Contains any value that can be used as parameter
- * to the SharedWorker constructor of thread.js
- * Most likely you want to put the path to the shared-worker.js file in here.
- *
- * @link https://developer.mozilla.org/en-US/docs/Web/API/SharedWorker?retiredLocale=de
- */
- workerInput: 'path/to/shared-worker.js',
- /**
- * (Optional) options
- * for the worker.
- */
- workerOptions: {
- type: 'module',
- credentials: 'omit'
- }
- }
- )
-});
The shared-worker.js must be a self containing JavaScript file that contains all dependencies in a bundle.
-To make it easier for you, RxDB ships with pre-bundles worker files that are ready to use.
-You can find them in the folder node_modules/rxdb-premium/dist/workers after you have installed the RxDB Premium 👑 Plugin. From there you can copy them to a location where it can be served from the webserver and then use their path to create the RxDatabase
-
Any valid worker.js JavaScript file can be used both, for normal Workers and SharedWorkers.
-
import {
- createRxDatabase
-} from 'rxdb';
-import { getRxStorageSharedWorker } from 'rxdb-premium/plugins/storage-worker';
-const database = await createRxDatabase({
- name: 'mydatabase',
- storage: getRxStorageSharedWorker(
- {
- /**
- * Path to where the copied file from node_modules/rxdb-premium/dist/workers
- * is reachable from the webserver.
- */
- workerInput: '/indexeddb.shared-worker.js'
- }
- )
-});
To build a custom worker.js file, check out the webpack config at the worker documentation. Any worker file form the worker storage can also be used in a shared worker because exposeWorkerRxStorage detects where it runs and exposes the correct messaging endpoints.
Instead of setting an url as workerInput, you can also specify a function that returns a new SharedWorker instance when called. This is mostly used when you have a custom worker file and dynamically import it.
-This works equal to the workerInput of the Worker Storage
When you know that you only ever create your RxDatabase inside of the shared worker, you might want to set multiInstance: false to prevent sending change events across JavaScript realms and to improve performance. Do not set this when you also create the same storage on another realm, like when you have the same RxDatabase once inside the shared worker and once on the main thread.
When a SharedWorker RxStorage is used, it is recommended to run the replication inside of the worker. This is the best option for performance. You can do that by opening another RxDatabase inside of it and starting the replication there. If you are not concerned about performance, you can still start replication on the main thread instead. But you should never run replication on both the main thread and the worker.
-
// shared-worker.ts
-
-import { exposeWorkerRxStorage } from 'rxdb-premium/plugins/storage-worker';
-import {
- getRxStorageIndexedDB
-} from 'rxdb-premium/plugins/storage-indexeddb';
-import {
- createRxDatabase,
- addRxPlugin
-} from 'rxdb';
-import {
- RxDBReplicationGraphQLPlugin
-} from 'rxdb/plugins/replication-graphql';
-addRxPlugin(RxDBReplicationGraphQLPlugin);
-
-const baseStorage = getRxStorageIndexedDB();
-
-// first expose the RxStorage to the outside
-exposeWorkerRxStorage({
- storage: baseStorage
-});
-
-/**
- * Then create a normal RxDatabase and RxCollections
- * and start the replication.
- */
-const database = await createRxDatabase({
- name: 'mydatabase',
- storage: baseStorage
-});
-await db.addCollections({
- humans: {/* ... */}
-});
-const replicationState = db.humans.syncGraphQL({/* ... */});
No. A Service Worker is not the same as a Shared Worker. While you can use RxDB inside of a ServiceWorker, you cannot use the ServiceWorker as a RxStorage that gets accessed by an outside RxDatabase instance.
-
-
\ No newline at end of file
diff --git a/docs/rx-storage-shared-worker.md b/docs/rx-storage-shared-worker.md
deleted file mode 100644
index d76335f2861..00000000000
--- a/docs/rx-storage-shared-worker.md
+++ /dev/null
@@ -1,163 +0,0 @@
-# Boost Performance with SharedWorker RxStorage
-
-> Tap into single-instance storage with RxDB's SharedWorker. Improve efficiency, cut duplication, and keep your app lightning-fast across tabs.
-
-# SharedWorker RxStorage
-
-The SharedWorker [RxStorage](./rx-storage.md) uses the [SharedWorker API](https://developer.mozilla.org/en-US/docs/Web/API/SharedWorker) to run the storage inside of a separate JavaScript process **in browsers**. Compared to a normal [WebWorker](./rx-storage-worker.md), the SharedWorker is created exactly once, even when there are multiple browser tabs opened. Because of having exactly one worker, multiple performance optimizations can be done because the storage itself does not have to handle multiple opened database connections.
-
-:::note Premium
-This plugin is part of [RxDB Premium 👑](/premium/). It is not part of the default RxDB module.
-:::
-
-## Usage
-
-### On the SharedWorker process
-
-In the worker process JavaScript file, you have wrap the original RxStorage with `getRxStorageIndexedDB()`.
-
-```ts
-// shared-worker.ts
-
-import { exposeWorkerRxStorage } from 'rxdb-premium/plugins/storage-worker';
-import {
- getRxStorageIndexedDB
-} from 'rxdb-premium/plugins/indexeddb';
-
-exposeWorkerRxStorage({
- /**
- * You can wrap any implementation of the RxStorage interface
- * into a worker.
- * Here we use the IndexedDB RxStorage.
- */
- storage: getRxStorageIndexedDB()
-});
-```
-
-### On the main process
-
-```ts
-import {
- createRxDatabase
-} from 'rxdb';
-import { getRxStorageSharedWorker } from 'rxdb-premium/plugins/storage-worker';
-import { getRxStorageIndexedDB } from 'rxdb/plugins/storage-indexeddb';
-
-const database = await createRxDatabase({
- name: 'mydatabase',
- storage: getRxStorageSharedWorker(
- {
- /**
- * Contains any value that can be used as parameter
- * to the SharedWorker constructor of thread.js
- * Most likely you want to put the path to the shared-worker.js file in here.
- *
- * @link https://developer.mozilla.org/en-US/docs/Web/API/SharedWorker?retiredLocale=de
- */
- workerInput: 'path/to/shared-worker.js',
- /**
- * (Optional) options
- * for the worker.
- */
- workerOptions: {
- type: 'module',
- credentials: 'omit'
- }
- }
- )
-});
-```
-
-## Pre-build workers
-
-The `shared-worker.js` must be a self containing JavaScript file that contains all dependencies in a bundle.
-To make it easier for you, RxDB ships with pre-bundles worker files that are ready to use.
-You can find them in the folder `node_modules/rxdb-premium/dist/workers` after you have installed the [RxDB Premium 👑 Plugin](/premium/). From there you can copy them to a location where it can be served from the webserver and then use their path to create the `RxDatabase`
-
-Any valid `worker.js` JavaScript file can be used both, for normal Workers and SharedWorkers.
-
-```ts
-import {
- createRxDatabase
-} from 'rxdb';
-import { getRxStorageSharedWorker } from 'rxdb-premium/plugins/storage-worker';
-const database = await createRxDatabase({
- name: 'mydatabase',
- storage: getRxStorageSharedWorker(
- {
- /**
- * Path to where the copied file from node_modules/rxdb-premium/dist/workers
- * is reachable from the webserver.
- */
- workerInput: '/indexeddb.shared-worker.js'
- }
- )
-});
-```
-
-## Building a custom worker
-
-To build a custom `worker.js` file, check out the webpack config at the [worker](./rx-storage-worker.md#building-a-custom-worker) documentation. Any worker file form the worker storage can also be used in a shared worker because `exposeWorkerRxStorage` detects where it runs and exposes the correct messaging endpoints.
-
-## Passing in a SharedWorker instance
-
-Instead of setting an url as `workerInput`, you can also specify a function that returns a new `SharedWorker` instance when called. This is mostly used when you have a custom worker file and dynamically import it.
-This works equal to the [workerInput of the Worker Storage](./rx-storage-worker.md#passing-in-a-worker-instance)
-
-## Set multiInstance: false
-
-When you know that you only ever create your RxDatabase inside of the shared worker, you might want to set `multiInstance: false` to prevent sending change events across JavaScript realms and to improve performance. Do not set this when you also create the same storage on another realm, like when you have the same RxDatabase once inside the shared worker and once on the main thread.
-
-## Replication with SharedWorker
-
-When a SharedWorker RxStorage is used, it is recommended to run the replication **inside** of the worker. This is the best option for performance. You can do that by opening another [RxDatabase](./rx-database.md) inside of it and starting the replication there. If you are not concerned about performance, you can still start replication on the main thread instead. But you should never run replication on both the main thread **and** the worker.
-
-```ts
-// shared-worker.ts
-
-import { exposeWorkerRxStorage } from 'rxdb-premium/plugins/storage-worker';
-import {
- getRxStorageIndexedDB
-} from 'rxdb-premium/plugins/storage-indexeddb';
-import {
- createRxDatabase,
- addRxPlugin
-} from 'rxdb';
-import {
- RxDBReplicationGraphQLPlugin
-} from 'rxdb/plugins/replication-graphql';
-addRxPlugin(RxDBReplicationGraphQLPlugin);
-
-const baseStorage = getRxStorageIndexedDB();
-
-// first expose the RxStorage to the outside
-exposeWorkerRxStorage({
- storage: baseStorage
-});
-
-/**
- * Then create a normal RxDatabase and RxCollections
- * and start the replication.
- */
-const database = await createRxDatabase({
- name: 'mydatabase',
- storage: baseStorage
-});
-await db.addCollections({
- humans: {/* ... */}
-});
-const replicationState = db.humans.syncGraphQL({/* ... */});
-```
-
-### Limitations
-
-- The SharedWorker API is [not available in some mobile browser](https://caniuse.com/sharedworkers)
-
-### FAQ
-
-
- Can I use this plugin with a Service Worker?
-
- No. A Service Worker is not the same as a Shared Worker. While you can use RxDB inside of a ServiceWorker, you cannot use the ServiceWorker as a RxStorage that gets accessed by an outside RxDatabase instance.
-
-
diff --git a/docs/rx-storage-sqlite.html b/docs/rx-storage-sqlite.html
deleted file mode 100644
index 8bda0a47715..00000000000
--- a/docs/rx-storage-sqlite.html
+++ /dev/null
@@ -1,318 +0,0 @@
-
-
-
-
-
-RxDB SQLite RxStorage for Hybrid Apps | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
This RxStorage is based on SQLite and is made to work with Node.js, Electron, React Native and Capacitor or SQLite via webassembly in the browser. It can be used with different so called sqliteBasics adapters to account for the differences in the various SQLite bundles and libraries that exist.
-
SQLite is a natural fit for RxDB because most platforms - Android, iOS, Node.js, and beyond - already ship with a built-in SQLite engine, delivering robust performance and minimal setup overhead. Its proven reliability, having powered countless applications over the years, ensures a battle-tested foundation for local data. By placing RxDB on top of SQLite, you gain advanced features suited for building interactive, offline-capable UI apps: real-time queries, reactive state updates, conflict handling, data encryption, and straightforward schema management. This combination offers a unified NoSQL-like experience without sacrificing the speed and broad availability that SQLite brings.
The SQLite storage is a bit slower compared to other Node.js based storages like the Filesystem Storage because wrapping SQLite has a bit of overhead and sending data from the JavaScript process to SQLite and backwards increases the latency. However for most hybrid apps the SQLite storage is the best option because it can leverage the SQLite version that comes already installed on the smartphones OS (iOS and android). Also for desktop electron apps it can be a viable solution because it is easy to ship SQLite together inside of the electron bundle.
There are two versions of the SQLite storage available for RxDB:
-
-
-
The trial version which comes directly shipped with RxDB Core. It contains an SQLite storage that allows you to try out RxDB on devices that support SQLite, like React Native or Electron. While the trial version does pass the full RxDB storage test-suite, it is not made for production. It is not using indexes, has no attachment support, is limited to store 300 documents and fetches the whole storage state to run queries in memory. Use it for evaluation and prototypes only!
-
-
-
The RxDB Premium 👑 version which contains the full production-ready SQLite storage. It contains a full load of performance optimizations and full query support. To use the SQLite storage you have to import getRxStorageSQLite from the RxDB Premium 👑 package and then add the correct sqliteBasics adapter depending on which sqlite module you want to use. This can then be used as storage when creating the RxDatabase. In the following you can see some examples for some of the most common SQLite packages.
-
-
-
Trial Version
RxDB Premium 👑
// Import the Trial SQLite Storage
-import {
- getRxStorageSQLiteTrial,
- getSQLiteBasicsNodeNative
-} from 'rxdb/plugins/storage-sqlite';
-
-// Create a Storage for it, here we use the nodejs-native SQLite module
-// other SQLite modules can be used with a different sqliteBasics adapter
-import { DatabaseSync } from 'node:sqlite';
-const storage = getRxStorageSQLiteTrial({
- sqliteBasics: getSQLiteBasicsNodeNative(DatabaseSync)
-});
-
-// Create a Database with the Storage
-const myRxDatabase = await createRxDatabase({
- name: 'exampledb',
- storage: storage
-});
-
In the following, all examples are shown with the premium SQLite storage. Still they work the same with the trial version.
Different SQLite libraries have different APIs to create and access the SQLite database. Therefore the library must be massaged to work with the RxDB SQlite storage. This is done in a so called SQLiteBasics interface. RxDB directly ships with a wide range of these for various SQLite libraries that are commonly used. Also creating your own one is pretty simple, check the source code of the existing ones for that.
-
For example for the sqlite3 npm library we have the getSQLiteBasicsNode() implementation. For node:sqlite we have the getSQLiteBasicsNodeNative() implementation and so on..
-
Using the SQLite RxStorage with different SQLite libraries
import {
- createRxDatabase
-} from 'rxdb';
-import {
- getRxStorageSQLite,
- getSQLiteBasicsNode
-} from 'rxdb-premium/plugins/storage-sqlite';
-
-/**
- * In Node.js, we use the SQLite database
- * from the 'sqlite' npm module.
- * @link https://www.npmjs.com/package/sqlite3
- */
-import sqlite3 from 'sqlite3';
-
-const myRxDatabase = await createRxDatabase({
- name: 'exampledb',
- storage: getRxStorageSQLite({
- /**
- * Different runtimes have different interfaces to SQLite.
- * For example in node.js we have a callback API,
- * while in capacitor sqlite we have Promises.
- * So we need a helper object that is capable of doing the basic
- * sqlite operations.
- */
- sqliteBasics: getSQLiteBasicsNode(sqlite3)
- })
-});
In the browser you can use the wa-sqlite package to run sQLite in Webassembly. The wa-sqlite module also allows to use persistence with IndexedDB or OPFS. Notice that in general SQLite via Webassembly is slower compared to other storages like IndexedDB or OPFS because sending data from the main thread to wasm and backwards is slow in the browser. Have a look the performance comparison.
-
import {
- createRxDatabase
-} from 'rxdb';
-import {
- getRxStorageSQLite,
- getSQLiteBasicsWasm
-} from 'rxdb-premium/plugins/storage-sqlite';
-
-/**
- * In the Browser, we use the SQLite database
- * from the 'wa-sqlite' npm module. This contains the SQLite library
- * compiled to Webassembly
- * @link https://www.npmjs.com/package/wa-sqlite
- */
-import SQLiteESMFactory from 'wa-sqlite/dist/wa-sqlite-async.mjs';
-import SQLite from 'wa-sqlite';
-const sqliteModule = await SQLiteESMFactory();
-const sqlite3 = SQLite.Factory(module);
-
-const myRxDatabase = await createRxDatabase({
- name: 'exampledb',
- storage: getRxStorageSQLite({
- sqliteBasics: getSQLiteBasicsWasm(sqlite3)
- })
-});
Notice that expo-sqlite cannot be used on android (but it works on iOS) if you use Expo SDK version 50 or older. Please update to Version 50 or newer to use it.
-
In the latest expo SDK version, use the getSQLiteBasicsExpoSQLiteAsync() method:
Use the function getSQLiteBasicsCapacitor to get the capacitor sqlite wrapper.
-
-
import {
- createRxDatabase
-} from 'rxdb';
-import {
- getRxStorageSQLite,
- getSQLiteBasicsCapacitor
-} from 'rxdb-premium/plugins/storage-sqlite';
-
-/**
- * Import SQLite from the capacitor plugin.
- */
-import {
- CapacitorSQLite,
- SQLiteConnection
-} from '@capacitor-community/sqlite';
-import { Capacitor } from '@capacitor/core';
-
-const sqlite = new SQLiteConnection(CapacitorSQLite);
-
-const myRxDatabase = await createRxDatabase({
- name: 'exampledb',
- storage: getRxStorageSQLite({
- /**
- * Different runtimes have different interfaces to SQLite.
- * For example in node.js we have a callback API,
- * while in capacitor sqlite we have Promises.
- * So we need a helper object that is capable of doing the basic
- * sqlite operations.
- */
- sqliteBasics: getSQLiteBasicsCapacitor(sqlite, Capacitor)
- })
-});
Some JavaScript runtimes do not contain a Buffer API which is used by SQLite to store binary attachments data as BLOB. You can set storeAttachmentsAsBase64String: true if you want to store the attachments data as base64 string instead. This increases the database size but makes it work even without having a Buffer.
-
-
-
The SQlite RxStorage works on SQLite libraries that use SQLite in version 3.38.0 (2022-02-22) or newer, because it uses the SQLite JSON methods like JSON_EXTRACT. If you get an error like [Error: no such function: JSON_EXTRACT (code 1 SQLITE_ERROR[1]), you might have a too old version of SQLite.
-
-
-
To debug all SQL operations, you can pass a log function to getRxStorageSQLite() like this. This does not work with the trial version:
By default, all tables will be created with the WITHOUT ROWID flag. Some tools like drizzle do not support tables with that option. You can disable it by setting withoutRowId: false when calling getRxStorageSQLite():
-
-
\ No newline at end of file
diff --git a/docs/rx-storage-sqlite.md b/docs/rx-storage-sqlite.md
deleted file mode 100644
index f8679ee4a83..00000000000
--- a/docs/rx-storage-sqlite.md
+++ /dev/null
@@ -1,373 +0,0 @@
-# RxDB SQLite RxStorage for Hybrid Apps
-
-> Unlock seamless persistence with SQLite RxStorage. Explore usage in hybrid apps, compare performance, and leverage advanced features like attachments.
-
-import {Steps} from '@site/src/components/steps';
-import {Tabs} from '@site/src/components/tabs';
-
-# SQLite RxStorage
-
-This [RxStorage](./rx-storage.md) is based on [SQLite](https://www.sqlite.org/index.html) and is made to work with **Node.js**, [Electron](./electron-database.md), [React Native](./react-native-database.md) and [Capacitor](./capacitor-database.md) or SQLite via webassembly in the browser. It can be used with different so called `sqliteBasics` adapters to account for the differences in the various SQLite bundles and libraries that exist.
-
-SQLite is a natural fit for RxDB because most platforms - Android, iOS, Node.js, and beyond - already ship with a built-in SQLite engine, delivering robust performance and minimal setup overhead. Its proven reliability, having powered countless applications over the years, ensures a battle-tested foundation for local data. By placing RxDB on top of SQLite, you gain advanced features suited for building interactive, offline-capable UI apps: [real-time queries](./rx-query.md#observe), reactive state updates, [conflict handling](./transactions-conflicts-revisions.md), [data encryption](./encryption.md), and straightforward [schema management](./rx-schema.md). This combination offers a unified NoSQL-like experience without sacrificing the speed and broad availability that SQLite brings.
-
-## Performance comparison with other storages
-
-The SQLite storage is a bit slower compared to other Node.js based storages like the [Filesystem Storage](./rx-storage-filesystem-node.md) because wrapping SQLite has a bit of overhead and sending data from the JavaScript process to SQLite and backwards increases the latency. However for most hybrid apps the SQLite storage is the best option because it can leverage the SQLite version that comes already installed on the smartphones OS (iOS and android). Also for desktop electron apps it can be a viable solution because it is easy to ship SQLite together inside of the electron bundle.
-
-
-
-## Using the SQLite RxStorage
-
-There are two versions of the SQLite storage available for RxDB:
-
-- The **trial version** which comes directly shipped with RxDB Core. It contains an SQLite storage that allows you to try out RxDB on devices that support SQLite, like React Native or Electron. While the trial version does pass the full RxDB storage test-suite, it is not made for production. It is not using indexes, has no attachment support, is limited to store 300 documents and fetches the whole storage state to run queries in memory. **Use it for evaluation and prototypes only!**
-
-- The **[RxDB Premium 👑](/premium/) version** which contains the full production-ready SQLite storage. It contains a full load of performance optimizations and full query support. To use the SQLite storage you have to import `getRxStorageSQLite` from the [RxDB Premium 👑](/premium/) package and then add the correct `sqliteBasics` adapter depending on which sqlite module you want to use. This can then be used as storage when creating the [RxDatabase](./rx-database.md). In the following you can see some examples for some of the most common SQLite packages.
-
-
-
-## Trial Version
-```ts
-// Import the Trial SQLite Storage
-import {
- getRxStorageSQLiteTrial,
- getSQLiteBasicsNodeNative
-} from 'rxdb/plugins/storage-sqlite';
-
-// Create a Storage for it, here we use the nodejs-native SQLite module
-// other SQLite modules can be used with a different sqliteBasics adapter
-import { DatabaseSync } from 'node:sqlite';
-const storage = getRxStorageSQLiteTrial({
- sqliteBasics: getSQLiteBasicsNodeNative(DatabaseSync)
-});
-
-// Create a Database with the Storage
-const myRxDatabase = await createRxDatabase({
- name: 'exampledb',
- storage: storage
-});
-```
-
-## RxDB Premium 👑
-
-```ts
-// Import the SQLite Storage from the premium plugins.
-import {
- getRxStorageSQLite,
- getSQLiteBasicsNodeNative
-} from 'rxdb-premium/plugins/storage-sqlite';
-
-// Create a Storage for it, here we use the nodejs-native SQLite module
-// other SQLite modules can be used with a different sqliteBasics adapter
-import { DatabaseSync } from 'node:sqlite';
-const storage = getRxStorageSQLite({
- sqliteBasics: getSQLiteBasicsNodeNative(DatabaseSync)
-});
-
-// Create a Database with the Storage
-const myRxDatabase = await createRxDatabase({
- name: 'exampledb',
- storage: storage
-});
-```
-
-
-
-In the following, all examples are shown with the premium SQLite storage. Still they work the same with the trial version.
-
-## SQLiteBasics
-
-Different SQLite libraries have different APIs to create and access the SQLite database. Therefore the library must be massaged to work with the RxDB SQlite storage. This is done in a so called `SQLiteBasics` interface. RxDB directly ships with a wide range of these for various SQLite libraries that are commonly used. Also creating your own one is pretty simple, check the source code of the existing ones for that.
-
-For example for the `sqlite3` npm library we have the `getSQLiteBasicsNode()` implementation. For `node:sqlite` we have the `getSQLiteBasicsNodeNative()` implementation and so on..
-
-## Using the SQLite RxStorage with different SQLite libraries
-
-### Usage with the **sqlite3 npm package**
-
-```ts
-import {
- createRxDatabase
-} from 'rxdb';
-import {
- getRxStorageSQLite,
- getSQLiteBasicsNode
-} from 'rxdb-premium/plugins/storage-sqlite';
-
-/**
- * In Node.js, we use the SQLite database
- * from the 'sqlite' npm module.
- * @link https://www.npmjs.com/package/sqlite3
- */
-import sqlite3 from 'sqlite3';
-
-const myRxDatabase = await createRxDatabase({
- name: 'exampledb',
- storage: getRxStorageSQLite({
- /**
- * Different runtimes have different interfaces to SQLite.
- * For example in node.js we have a callback API,
- * while in capacitor sqlite we have Promises.
- * So we need a helper object that is capable of doing the basic
- * sqlite operations.
- */
- sqliteBasics: getSQLiteBasicsNode(sqlite3)
- })
-});
-```
-
-### Usage with the **node:sqlite** package
-
-With Node.js version 22 and newer, you can use the "native" [sqlite module](https://nodejs.org/api/sqlite.html) that comes shipped with Node.js.
-
-```ts
-import { createRxDatabase } from 'rxdb';
-import {
- getRxStorageSQLite,
- getSQLiteBasicsNodeNative
-} from 'rxdb-premium/plugins/storage-sqlite';
-import { DatabaseSync } from 'node:sqlite';
-const myRxDatabase = await createRxDatabase({
- name: 'exampledb',
- storage: getRxStorageSQLite({
- sqliteBasics: getSQLiteBasicsNodeNative(DatabaseSync)
- })
-});
-```
-
-### Usage with Webassembly in the Browser
-
-In the browser you can use the [wa-sqlite](https://github.com/rhashimoto/wa-sqlite) package to run sQLite in Webassembly. The wa-sqlite module also allows to use persistence with IndexedDB or OPFS. Notice that in general SQLite via Webassembly is slower compared to other storages like [IndexedDB](./rx-storage-indexeddb.md) or [OPFS](./rx-storage-opfs.md) because sending data from the main thread to wasm and backwards is slow in the browser. Have a look the [performance comparison](./rx-storage-performance.md).
-
-```ts
-import {
- createRxDatabase
-} from 'rxdb';
-import {
- getRxStorageSQLite,
- getSQLiteBasicsWasm
-} from 'rxdb-premium/plugins/storage-sqlite';
-
-/**
- * In the Browser, we use the SQLite database
- * from the 'wa-sqlite' npm module. This contains the SQLite library
- * compiled to Webassembly
- * @link https://www.npmjs.com/package/wa-sqlite
- */
-import SQLiteESMFactory from 'wa-sqlite/dist/wa-sqlite-async.mjs';
-import SQLite from 'wa-sqlite';
-const sqliteModule = await SQLiteESMFactory();
-const sqlite3 = SQLite.Factory(module);
-
-const myRxDatabase = await createRxDatabase({
- name: 'exampledb',
- storage: getRxStorageSQLite({
- sqliteBasics: getSQLiteBasicsWasm(sqlite3)
- })
-});
-```
-
-### Usage with **React Native**
-
-1. Install the [react-native-quick-sqlite npm module](https://www.npmjs.com/package/react-native-quick-sqlite)
-2. Import `getSQLiteBasicsQuickSQLite` from the SQLite plugin and use it to create a [RxDatabase](./rx-database.md):
-
-```ts
-import {
- createRxDatabase
-} from 'rxdb';
-import {
- getRxStorageSQLite,
- getSQLiteBasicsQuickSQLite
-} from 'rxdb-premium/plugins/storage-sqlite';
-import { open } from 'react-native-quick-sqlite';
-
-// create database
-const myRxDatabase = await createRxDatabase({
- name: 'exampledb',
- multiInstance: false, // <- Set multiInstance to false when using RxDB in React Native
- storage: getRxStorageSQLite({
- sqliteBasics: getSQLiteBasicsQuickSQLite(open)
- })
-});
-```
-
-If `react-native-quick-sqlite` does not work for you, as alternative you can use the [react-native-sqlite-2](https://www.npmjs.com/package/react-native-sqlite-2) library instead:
-
-```ts
-import {
- getRxStorageSQLite,
- getSQLiteBasicsWebSQL
-} from 'rxdb-premium/plugins/storage-sqlite';
-import SQLite from 'react-native-sqlite-2';
-const storage = getRxStorageSQLite({
- sqliteBasics: getSQLiteBasicsWebSQL(SQLite.openDatabase)
-});
-```
-
-### Usage with **Expo SQLite**
-
-Notice that [expo-sqlite](https://www.npmjs.com/package/expo-sqlite) cannot be used on android (but it works on iOS) if you use Expo SDK version 50 or older. Please update to Version 50 or newer to use it.
-
-In the latest expo SDK version, use the `getSQLiteBasicsExpoSQLiteAsync()` method:
-
-```ts
-import {
- createRxDatabase
-} from 'rxdb';
-import {
- getRxStorageSQLite,
- getSQLiteBasicsExpoSQLiteAsync
-} from 'rxdb-premium/plugins/storage-sqlite';
-import * as SQLite from 'expo-sqlite';
-
-const myRxDatabase = await createRxDatabase({
- name: 'exampledb',
- multiInstance: false,
- storage: getRxStorageSQLite({
- sqliteBasics: getSQLiteBasicsExpoSQLiteAsync(SQLite.openDatabaseAsync)
- })
-});
-```
-
-In older Expo SDK versions, you might have to use the non-async API:
-
-```ts
-import {
- createRxDatabase
-} from 'rxdb';
-import {
- getRxStorageSQLite,
- getSQLiteBasicsExpoSQLite
-} from 'rxdb-premium/plugins/storage-sqlite';
-import { openDatabase } from 'expo-sqlite';
-
-const myRxDatabase = await createRxDatabase({
- name: 'exampledb',
- multiInstance: false,
- storage: getRxStorageSQLite({
- sqliteBasics: getSQLiteBasicsExpoSQLite(openDatabase)
- })
-});
-```
-
-### Usage with **SQLite Capacitor**
-
-1. Install the [sqlite capacitor npm module](https://github.com/capacitor-community/sqlite)
-2. Add the iOS database location to your capacitor config
-
-```json
-{
- "plugins": {
- "CapacitorSQLite": {
- "iosDatabaseLocation": "Library/CapacitorDatabase"
- }
- }
-}
-```
-
-3. Use the function `getSQLiteBasicsCapacitor` to get the capacitor sqlite wrapper.
-
-```ts
-import {
- createRxDatabase
-} from 'rxdb';
-import {
- getRxStorageSQLite,
- getSQLiteBasicsCapacitor
-} from 'rxdb-premium/plugins/storage-sqlite';
-
-/**
- * Import SQLite from the capacitor plugin.
- */
-import {
- CapacitorSQLite,
- SQLiteConnection
-} from '@capacitor-community/sqlite';
-import { Capacitor } from '@capacitor/core';
-
-const sqlite = new SQLiteConnection(CapacitorSQLite);
-
-const myRxDatabase = await createRxDatabase({
- name: 'exampledb',
- storage: getRxStorageSQLite({
- /**
- * Different runtimes have different interfaces to SQLite.
- * For example in node.js we have a callback API,
- * while in capacitor sqlite we have Promises.
- * So we need a helper object that is capable of doing the basic
- * sqlite operations.
- */
- sqliteBasics: getSQLiteBasicsCapacitor(sqlite, Capacitor)
- })
-});
-```
-
-### Usage with Tauri SQLite
-
-1. Add the [Tauri SQL plugin](https://tauri.app/plugin/sql/#setup) to your Tauri project.
-2. Make sure to add `sqlite` as your database engine by running `cargo add tauri-plugin-sql --features sqlite` inside `src-tauri`.
-3. Use the `getSQLiteBasicsTauri` function to get the Tauri SQLite wrapper.
-
-```ts
-import {
- createRxDatabase
-} from 'rxdb';
-import {
- getRxStorageSQLite,
- getSQLiteBasicsTauri
-} from 'rxdb/plugins/storage-sqlite';
-import sqlite3 from '@tauri-apps/plugin-sql';
-
-const myRxDatabase = await createRxDatabase({
- name: 'exampledb',
- storage: getRxStorageSQLite({
- sqliteBasics: getSQLiteBasicsTauri(sqlite3)
- })
-});
-```
-
-## Database Connection
-
-If you need to access the database connection for any reason you can use `getDatabaseConnection` to do so:
-
-```ts
-import { getDatabaseConnection } from 'rxdb-premium/plugins/storage-sqlite'
-```
-
-It has the following signature:
-
-```ts
-getDatabaseConnection(
- sqliteBasics: SQLiteBasics,
- databaseName: string
-): Promise;
-```
-
-## Known Problems of SQLite in JavaScript apps
-
-- Some JavaScript runtimes do not contain a `Buffer` API which is used by SQLite to store binary attachments data as `BLOB`. You can set `storeAttachmentsAsBase64String: true` if you want to store the attachments data as base64 string instead. This increases the database size but makes it work even without having a `Buffer`.
-
-- The SQlite RxStorage works on SQLite libraries that use SQLite in version `3.38.0 (2022-02-22)` or newer, because it uses the [SQLite JSON](https://www.sqlite.org/json1.html) methods like `JSON_EXTRACT`. If you get an error like `[Error: no such function: JSON_EXTRACT (code 1 SQLITE_ERROR[1])`, you might have a too old version of SQLite.
-
-- To debug all SQL operations, you can pass a log function to `getRxStorageSQLite()` like this. This does not work with the trial version:
-```ts
-const storage = getRxStorageSQLite({
- sqliteBasics: getSQLiteBasicsCapacitor(sqlite, Capacitor),
- // pass log function
- log: console.log.bind(console)
-});
-```
-
-- By default, all tables will be created with the `WITHOUT ROWID` flag. Some tools like drizzle do not support tables with that option. You can disable it by setting `withoutRowId: false` when calling `getRxStorageSQLite()`:
-
-```ts
-const storage = getRxStorageSQLite({
- sqliteBasics: getSQLiteBasicsCapacitor(sqlite, Capacitor),
- withoutRowId: false
-});
-```
-
-## Related
-- [React Native Databases](./react-native-database.md)
diff --git a/docs/rx-storage-worker.html b/docs/rx-storage-worker.html
deleted file mode 100644
index c543031e517..00000000000
--- a/docs/rx-storage-worker.html
+++ /dev/null
@@ -1,192 +0,0 @@
-
-
-
-
-
-Turbocharge RxDB with Worker RxStorage | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
With the worker plugin, you can put the RxStorage of your database inside of a WebWorker (in browsers) or a Worker Thread (in node.js). By doing so, you can take CPU load from the main process and move it into the worker's process which can improve the perceived performance of your application. Notice that for browsers, it is recommend to use the SharedWorker instead to get a better performance.
-
Premium
This plugin is part of RxDB Premium 👑. It is not part of the default RxDB module.
// worker.ts
-
-import { exposeWorkerRxStorage } from 'rxdb-premium/plugins/storage-worker';
-import { getRxStorageIndexedDB } from 'rxdb-premium/plugins/storage-indexeddb';
-
-exposeWorkerRxStorage({
- /**
- * You can wrap any implementation of the RxStorage interface
- * into a worker.
- * Here we use the IndexedDB RxStorage.
- */
- storage: getRxStorageIndexedDB()
-});
import {
- createRxDatabase
-} from 'rxdb';
-import { getRxStorageWorker } from 'rxdb-premium/plugins/storage-worker';
-
-const database = await createRxDatabase({
- name: 'mydatabase',
- storage: getRxStorageWorker(
- {
- /**
- * Contains any value that can be used as parameter
- * to the Worker constructor of thread.js
- * Most likely you want to put the path to the worker.js file in here.
- *
- * @link https://developer.mozilla.org/en-US/docs/Web/API/Worker/Worker
- */
- workerInput: 'path/to/worker.js',
- /**
- * (Optional) options
- * for the worker.
- */
- workerOptions: {
- type: 'module',
- credentials: 'omit'
- }
- }
- )
-});
The worker.js must be a self containing JavaScript file that contains all dependencies in a bundle.
-To make it easier for you, RxDB ships with pre-bundles worker files that are ready to use.
-You can find them in the folder node_modules/rxdb-premium/dist/workers after you have installed the RxDB Premium 👑 Plugin. From there you can copy them to a location where it can be served from the webserver and then use their path to create the RxDatabase.
-
Any valid worker.js JavaScript file can be used both, for normal Workers and SharedWorkers.
-
import {
- createRxDatabase
-} from 'rxdb';
-import { getRxStorageWorker } from 'rxdb-premium/plugins/storage-worker';
-const database = await createRxDatabase({
- name: 'mydatabase',
- storage: getRxStorageWorker(
- {
- /**
- * Path to where the copied file from node_modules/rxdb/dist/workers
- * is reachable from the webserver.
- */
- workerInput: '/indexeddb.worker.js'
- }
- )
-});
Each call to getRxStorageWorker() will create a different worker instance so that when you have more than one RxDatabase, each database will have its own JavaScript worker process.
-
To reuse the worker instance in more than one RxDatabase, you can store the output of getRxStorageWorker() into a variable an use that one. Reusing the worker can decrease the initial page load, but you might get slower database operations.
-
// Call getRxStorageWorker() exactly once
-const workerStorage = getRxStorageWorker({
- workerInput: 'path/to/worker.js'
-});
-
-// use the same storage for both databases.
-const databaseOne = await createRxDatabase({
- name: 'database-one',
- storage: workerStorage
-});
-const databaseTwo = await createRxDatabase({
- name: 'database-two',
- storage: workerStorage
-});
-
Instead of setting an url as workerInput, you can also specify a function that returns a new Worker instance when called.
-
getRxStorageWorker({
- workerInput: () => new Worker('path/to/worker.js')
-})
-
This can be helpful for environments where the worker is build dynamically by the bundler. For example in angular you would create a my-custom.worker.ts file that contains a custom build worker and then import it.
-
-
\ No newline at end of file
diff --git a/docs/rx-storage-worker.md b/docs/rx-storage-worker.md
deleted file mode 100644
index 6bad75fc615..00000000000
--- a/docs/rx-storage-worker.md
+++ /dev/null
@@ -1,199 +0,0 @@
-# Turbocharge RxDB with Worker RxStorage
-
-> Offload RxDB queries to WebWorkers or Worker Threads, freeing the main thread and boosting performance. Experience smoother apps with Worker RxStorage.
-
-# Worker RxStorage
-
-With the worker plugin, you can put the `RxStorage` of your database inside of a WebWorker (in browsers) or a Worker Thread (in node.js). By doing so, you can take CPU load from the main process and move it into the worker's process which can improve the perceived performance of your application. Notice that for browsers, it is recommend to use the [SharedWorker](./rx-storage-shared-worker.md) instead to get a better performance.
-
-:::note Premium
-This plugin is part of [RxDB Premium 👑](/premium/). It is not part of the default RxDB module.
-:::
-
-## On the worker process
-
-```ts
-// worker.ts
-
-import { exposeWorkerRxStorage } from 'rxdb-premium/plugins/storage-worker';
-import { getRxStorageIndexedDB } from 'rxdb-premium/plugins/storage-indexeddb';
-
-exposeWorkerRxStorage({
- /**
- * You can wrap any implementation of the RxStorage interface
- * into a worker.
- * Here we use the IndexedDB RxStorage.
- */
- storage: getRxStorageIndexedDB()
-});
-```
-
-## On the main process
-
-```ts
-import {
- createRxDatabase
-} from 'rxdb';
-import { getRxStorageWorker } from 'rxdb-premium/plugins/storage-worker';
-
-const database = await createRxDatabase({
- name: 'mydatabase',
- storage: getRxStorageWorker(
- {
- /**
- * Contains any value that can be used as parameter
- * to the Worker constructor of thread.js
- * Most likely you want to put the path to the worker.js file in here.
- *
- * @link https://developer.mozilla.org/en-US/docs/Web/API/Worker/Worker
- */
- workerInput: 'path/to/worker.js',
- /**
- * (Optional) options
- * for the worker.
- */
- workerOptions: {
- type: 'module',
- credentials: 'omit'
- }
- }
- )
-});
-```
-
-## Pre-build workers
-
-The `worker.js` must be a self containing JavaScript file that contains all dependencies in a bundle.
-To make it easier for you, RxDB ships with pre-bundles worker files that are ready to use.
-You can find them in the folder `node_modules/rxdb-premium/dist/workers` after you have installed the [RxDB Premium 👑 Plugin](/premium/). From there you can copy them to a location where it can be served from the webserver and then use their path to create the `RxDatabase`.
-
-Any valid `worker.js` JavaScript file can be used both, for normal Workers and SharedWorkers.
-
-```ts
-import {
- createRxDatabase
-} from 'rxdb';
-import { getRxStorageWorker } from 'rxdb-premium/plugins/storage-worker';
-const database = await createRxDatabase({
- name: 'mydatabase',
- storage: getRxStorageWorker(
- {
- /**
- * Path to where the copied file from node_modules/rxdb/dist/workers
- * is reachable from the webserver.
- */
- workerInput: '/indexeddb.worker.js'
- }
- )
-});
-```
-
-## Building a custom worker
-
-The easiest way to bundle a custom `worker.js` file is by using webpack. Here is the webpack-config that is also used for the prebuild workers:
-
-```ts
-// webpack.config.js
-const path = require('path');
-const TerserPlugin = require('terser-webpack-plugin');
-const projectRootPath = path.resolve(
- __dirname,
- '../../' // path from webpack-config to the root folder of the repo
-);
-const babelConfig = require(path.join(projectRootPath, 'babel.config'));
-const baseDir = './dist/workers/'; // output path
-module.exports = {
- target: 'webworker',
- entry: {
- 'my-custom-worker': baseDir + 'my-custom-worker.js',
- },
- output: {
- filename: '[name].js',
- clean: true,
- path: path.resolve(
- projectRootPath,
- 'dist/workers'
- ),
- },
- mode: 'production',
- module: {
- rules: [
- {
- test: /\.tsx?$/,
- exclude: /(node_modules)/,
- use: {
- loader: 'babel-loader',
- options: babelConfig
- }
- }
- ],
- },
- resolve: {
- extensions: ['.tsx', '.ts', '.js', '.mjs', '.mts']
- },
- optimization: {
- moduleIds: 'deterministic',
- minimize: true,
- minimizer: [new TerserPlugin({
- terserOptions: {
- format: {
- comments: false,
- },
- },
- extractComments: false,
- })],
- }
-};
-```
-
-## One worker per database
-
-Each call to `getRxStorageWorker()` will create a different worker instance so that when you have more than one `RxDatabase`, each database will have its own JavaScript worker process.
-
-To reuse the worker instance in more than one `RxDatabase`, you can store the output of `getRxStorageWorker()` into a variable an use that one. Reusing the worker can decrease the initial page load, but you might get slower database operations.
-
-```ts
-// Call getRxStorageWorker() exactly once
-const workerStorage = getRxStorageWorker({
- workerInput: 'path/to/worker.js'
-});
-
-// use the same storage for both databases.
-const databaseOne = await createRxDatabase({
- name: 'database-one',
- storage: workerStorage
-});
-const databaseTwo = await createRxDatabase({
- name: 'database-two',
- storage: workerStorage
-});
-
-```
-
-## Passing in a Worker instance
-
-Instead of setting an url as `workerInput`, you can also specify a function that returns a new `Worker` instance when called.
-
-```ts
-getRxStorageWorker({
- workerInput: () => new Worker('path/to/worker.js')
-})
-```
-
-This can be helpful for environments where the worker is build dynamically by the bundler. For example in angular you would create a `my-custom.worker.ts` file that contains a custom build worker and then import it.
-
-```ts
-const storage = getRxStorageWorker({
- workerInput: () => new Worker(new URL('./my-custom.worker', import.meta.url)),
-});
-```
-
-```ts
-//> my-custom.worker.ts
-import { exposeWorkerRxStorage } from 'rxdb-premium/plugins/storage-worker';
-import { getRxStorageIndexedDB } from 'rxdb-premium/plugins/storage-indexeddb';
-
-exposeWorkerRxStorage({
- storage: getRxStorageIndexedDB()
-});
-```
diff --git a/docs/rx-storage.html b/docs/rx-storage.html
deleted file mode 100644
index d73ff97c3c4..00000000000
--- a/docs/rx-storage.html
+++ /dev/null
@@ -1,134 +0,0 @@
-
-
-
-
-
-⚙️ RxStorage Layer - Choose the Perfect RxDB Storage for Every Use Case | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
RxDB is not a self contained database. Instead the data is stored in an implementation of the RxStorage interface. This allows you to switch out the underlying data layer, depending on the JavaScript environment and performance requirements. For example you can use the SQLite storage for a capacitor app or you can use the LocalStorage RxStorage to store data in localstorage in a browser based application. There are also storages for other JavaScript runtimes like Node.js, React-Native, NativeScript and more.
Lets say you build a browser app that needs to store a big amount of data as secure as possible. Here we can use a combination of the storages (encryption, IndexedDB, compression, schema-checks) that increase security and reduce the stored data size.
-
We use the schema-validation on the top level to ensure schema-errors are clearly readable and do not contain encrypted/compressed data. The encryption is used inside of the compression because encryption of compressed data is more efficient.
Also we can utilize a combination of storages to create a database that is optimized to run complex queries on the data really fast. Here we use the sharding storage together with the worker storage. This allows to run queries in parallel multithreading instead of a single JavaScript process. Because the worker initialization can slow down the initial page load, we also use the localstorage-meta-optimizer to improve initialization time.
Here we create a storage configuration that is optimized to have a low latency on simple reads and writes. It uses the memory-mapped storage to fetch and store data in memory. For persistence the OPFS storage is used in the main thread which has lower latency for fetching big chunks of data when at initialization the data is loaded from disc into memory. We do not use workers because sending data from the main thread to workers and backwards would increase the latency.
The localstroage based storage stores the data inside of a browsers localStorage API. It is the easiest to set up and has a small bundle size. If you are new to RxDB, you should start with the LocalStorage RxStorage. Read more
The OPFS RxStorage is based on the File System Access API. This has the best performance of all other non-in-memory storage, when RxDB is used inside of a browser. Read more
The worker RxStorage is a wrapper around any other RxStorage which allows to run the storage in a WebWorker (in browsers) or a Worker Thread (in Node.js). By doing so, you can take CPU load from the main process and move it into the worker's process which can improve the perceived performance of your application. Read more
The worker RxStorage is a wrapper around any other RxStorage which allows to run the storage in a SharedWorker (only in browsers). By doing so, you can take CPU load from the main process and move it into the worker's process which can improve the perceived performance of your application. Read more
The Remote RxStorage is made to use a remote storage and communicate with it over an asynchronous message channel. The remote part could be on another JavaScript process or even on a different host machine. Mostly used internally in other storages like Worker or Electron-ipc. Read more
On some RxStorage implementations (like IndexedDB), a huge performance improvement can be done by sharding the documents into multiple database instances. With the sharding plugin you can wrap any other RxStorage into a sharded storage. Read more
The memory-mapped RxStorage is a wrapper around any other RxStorage. The wrapper creates an in-memory storage that is used for query and write operations. This memory instance stores its data in an underlying storage for persistence.
-The main reason to use this is to improve query/write performance while still having the data stored on disc. Read more
The RxStorage Localstorage Meta Optimizer is a wrapper around any other RxStorage. The wrapper uses the original RxStorage for normal collection documents. But to optimize the initial page load time, it uses localstorage to store the plain key-value metadata that RxDB needs to create databases and collections. This plugin can only be used in browsers. Read more
To use RxDB in electron, it is recommended to run the RxStorage in the main process and the RxDatabase in the renderer processes. With the rxdb electron plugin you can create a remote RxStorage and consume it from the renderer process. Read more
To use RxDB on the server side, the MongoDB RxStorage provides a way of having a secure, scalable and performant storage based on the popular MongoDB NoSQL database Read more
To use RxDB in Deno. The DenoKV RxStorage provides a way of having a secure, scalable and performant storage based on the Deno Key Value Store. Read more
-
-
\ No newline at end of file
diff --git a/docs/rx-storage.md b/docs/rx-storage.md
deleted file mode 100644
index a97309fc308..00000000000
--- a/docs/rx-storage.md
+++ /dev/null
@@ -1,154 +0,0 @@
-# ⚙️ RxStorage Layer - Choose the Perfect RxDB Storage for Every Use Case
-
-> Discover how RxDB's modular RxStorage lets you swap engines and unlock top performance, no matter the environment or use case.
-
-# RxStorage
-
-RxDB is not a self contained database. Instead the data is stored in an implementation of the [RxStorage interface](https://github.com/pubkey/rxdb/blob/master/src/types/rx-storage.interface.d.ts). This allows you to **switch out** the underlying data layer, depending on the JavaScript environment and performance requirements. For example you can use the SQLite storage for a capacitor app or you can use the LocalStorage RxStorage to store data in localstorage in a browser based application. There are also storages for other JavaScript runtimes like Node.js, React-Native, NativeScript and more.
-
-## Quick Recommendations
-
-- In the Browser: Use the [LocalStorage](./rx-storage-localstorage.md) storage for simple setup and small build size. For bigger datasets, use either the [dexie.js storage](./rx-storage-dexie.md) (free) or the [IndexedDB RxStorage](./rx-storage-indexeddb.md) if you have [👑 premium access](/premium/) which is a bit faster and has a smaller build size.
-- In [Electron](./electron-database.md) and [ReactNative](./react-native-database.md): Use the [SQLite RxStorage](./rx-storage-sqlite.md) if you have [👑 premium access](/premium/) or the [trial-SQLite RxStorage](./rx-storage-sqlite.md) for tryouts.
-- In Capacitor: Use the [SQLite RxStorage](./rx-storage-sqlite.md) if you have [👑 premium access](/premium/), otherwise use the [localStorage](./rx-storage-localstorage.md) storage.
-
-## Configuration Examples
-
-The RxStorage layer of RxDB is very flexible. Here are some examples on how to configure more complex settings:
-
-### Storing much data in a browser securely
-
-Lets say you build a browser app that needs to store a big amount of data as secure as possible. Here we can use a combination of the storages (encryption, IndexedDB, compression, schema-checks) that increase security and reduce the stored data size.
-
-We use the schema-validation on the top level to ensure schema-errors are clearly readable and do not contain [encrypted](./encryption.md)/[compressed](./key-compression.md) data. The encryption is used inside of the compression because encryption of compressed data is more efficient.
-
-```ts
-import { wrappedValidateAjvStorage } from 'rxdb/plugins/validate-ajv';
-import { wrappedKeyCompressionStorage } from 'rxdb/plugins/key-compression';
-import { wrappedKeyEncryptionCryptoJsStorage } from 'rxdb/plugins/encryption-crypto-js';
-import { getRxStorageIndexedDB } from 'rxdb-premium/plugins/storage-indexeddb';
-
-const myDatabase = await createRxDatabase({
- storage: wrappedValidateAjvStorage({
- storage: wrappedKeyCompressionStorage({
- storage: wrappedKeyEncryptionCryptoJsStorage({
- storage: getRxStorageIndexedDB()
- })
- })
- })
-});
-```
-
-### High query Load
-
-Also we can utilize a combination of storages to create a database that is optimized to run complex queries on the data really fast. Here we use the sharding storage together with the worker storage. This allows to run queries in parallel multithreading instead of a single JavaScript process. Because the worker initialization can slow down the initial page load, we also use the [localstorage-meta-optimizer](./rx-storage-localstorage-meta-optimizer.md) to improve initialization time.
-
-```ts
-import { getRxStorageSharding } from 'rxdb-premium/plugins/storage-sharding';
-import { getRxStorageWorker } from 'rxdb-premium/plugins/storage-worker';
-import { getRxStorageIndexedDB } from 'rxdb-premium/plugins/storage-indexeddb';
-import { getLocalstorageMetaOptimizerRxStorage } from 'rxdb-premium/plugins/storage-localstorage-meta-optimizer';
-
-const myDatabase = await createRxDatabase({
- storage: getLocalstorageMetaOptimizerRxStorage({
- storage: getRxStorageSharding({
- storage: getRxStorageWorker({
- workerInput: 'path/to/worker.js',
- storage: getRxStorageIndexedDB()
- })
- })
- })
-});
-```
-
-### Low Latency on Writes and Simple Reads
-
-Here we create a storage configuration that is optimized to have a low latency on simple reads and writes. It uses the memory-mapped storage to fetch and store data in memory. For persistence the OPFS storage is used in the main thread which has lower latency for fetching big chunks of data when at initialization the data is loaded from disc into memory. We do not use workers because sending data from the main thread to workers and backwards would increase the latency.
-
-```ts
-import { getLocalstorageMetaOptimizerRxStorage } from 'rxdb-premium/plugins/storage-localstorage-meta-optimizer';
-import { getMemoryMappedRxStorage } from 'rxdb-premium/plugins/storage-memory-mapped';
-import { getRxStorageOPFSMainThread } from 'rxdb-premium/plugins/storage-worker';
-
-const myDatabase = await createRxDatabase({
- storage: getLocalstorageMetaOptimizerRxStorage({
- storage: getMemoryMappedRxStorage({
- storage: getRxStorageOPFSMainThread()
- })
- })
-});
-```
-
-## All RxStorage Implementations List
-
-### Memory
-
-A storage that stores the data in as plain data in the memory of the JavaScript process. Really fast and can be used in all environments. [Read more](./rx-storage-memory.md)
-
-### LocalStorage
-
-The localstroage based storage stores the data inside of a browsers [localStorage API](./articles/localstorage.md). It is the easiest to set up and has a small bundle size. **If you are new to RxDB, you should start with the LocalStorage RxStorage**. [Read more](./rx-storage-localstorage.md)
-
-### 👑 IndexedDB
-
-The IndexedDB `RxStorage` is based on plain IndexedDB. For most use cases, this has the best performance together with the OPFS storage. [Read more](./rx-storage-indexeddb.md)
-
-### 👑 OPFS
-
-The OPFS `RxStorage` is based on the File System Access API. This has the best performance of all other non-in-memory storage, when RxDB is used inside of a browser. [Read more](./rx-storage-opfs.md)
-
-### 👑 Filesystem Node
-
-The Filesystem Node storage is best suited when you use RxDB in a Node.js process or with [electron.js](./electron.md). [Read more](./rx-storage-filesystem-node.md)
-
-### Storage Wrapper Plugins
-
-#### 👑 Worker
-
-The worker RxStorage is a wrapper around any other RxStorage which allows to run the storage in a WebWorker (in browsers) or a Worker Thread (in Node.js). By doing so, you can take CPU load from the main process and move it into the worker's process which can improve the perceived performance of your application. [Read more](./rx-storage-worker.md)
-
-#### 👑 SharedWorker
-
-The worker RxStorage is a wrapper around any other RxStorage which allows to run the storage in a SharedWorker (only in browsers). By doing so, you can take CPU load from the main process and move it into the worker's process which can improve the perceived performance of your application. [Read more](./rx-storage-shared-worker.md)
-
-#### Remote
-The Remote RxStorage is made to use a remote storage and communicate with it over an asynchronous message channel. The remote part could be on another JavaScript process or even on a different host machine. Mostly used internally in other storages like Worker or Electron-ipc. [Read more](./rx-storage-remote.md)
-
-#### 👑 Sharding
-
-On some `RxStorage` implementations (like IndexedDB), a huge performance improvement can be done by sharding the documents into multiple database instances. With the sharding plugin you can wrap any other `RxStorage` into a sharded storage. [Read more](./rx-storage-sharding.md)
-
-#### 👑 Memory Mapped
-
-The memory-mapped [RxStorage](./rx-storage.md) is a wrapper around any other RxStorage. The wrapper creates an in-memory storage that is used for query and write operations. This memory instance stores its data in an underlying storage for persistence.
-The main reason to use this is to improve query/write performance while still having the data stored on disc. [Read more](./rx-storage-memory-mapped.md)
-
-#### 👑 Localstorage Meta Optimizer
-
-The [RxStorage](./rx-storage.md) Localstorage Meta Optimizer is a wrapper around any other RxStorage. The wrapper uses the original RxStorage for normal collection documents. But to optimize the initial page load time, it uses [localstorage](./articles/localstorage.md) to store the plain key-value metadata that RxDB needs to create databases and collections. This plugin can only be used in browsers. [Read more](./rx-storage-localstorage-meta-optimizer.md)
-
-#### Electron IpcRenderer & IpcMain
-
-To use RxDB in [electron](./electron-database.md), it is recommended to run the RxStorage in the main process and the RxDatabase in the renderer processes. With the rxdb electron plugin you can create a remote RxStorage and consume it from the renderer process. [Read more](./electron.md)
-
-### Third Party based Storages
-
-#### 👑 SQLite
-
-The SQLite storage has great performance when RxDB is used on **Node.js**, **Electron**, **React Native**, **Cordova** or **Capacitor**. [Read more](./rx-storage-sqlite.md)
-
-#### Dexie.js
-
-The Dexie.js based storage is based on the Dexie.js IndexedDB wrapper library. [Read more](./rx-storage-dexie.md)
-
-#### MongoDB
-
-To use RxDB on the server side, the MongoDB RxStorage provides a way of having a secure, scalable and performant storage based on the popular MongoDB NoSQL database [Read more](./rx-storage-mongodb.md)
-
-#### DenoKV
-
-To use RxDB in Deno. The DenoKV RxStorage provides a way of having a secure, scalable and performant storage based on the Deno Key Value Store. [Read more](./rx-storage-denokv.md)
-
-#### FoundationDB
-
-To use RxDB on the server side, the FoundationDB RxStorage provides a way of having a secure, fault-tolerant and performant storage. [Read more](./rx-storage-foundationdb.md)
diff --git a/docs/rxdb-tradeoffs.html b/docs/rxdb-tradeoffs.html
deleted file mode 100644
index 54232da763a..00000000000
--- a/docs/rxdb-tradeoffs.html
+++ /dev/null
@@ -1,99 +0,0 @@
-
-
-
-
-
-RxDB Tradeoffs - Why NoSQL Triumphs on the Client | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
RxDB is client-side, offline first Database for JavaScript applications.
-While RxDB could be used on the server side, most people use it on the client side together with an UI based application.
-Therefore RxDB was optimized for client side applications and had to take completely different tradeoffs than what a server side database would do.
When you ask people which database they would want for browsers, the most answer I hear is something SQL based like SQLite.
-This makes sense, SQL is a query language that most developers had learned in school/university and it is reusable across various database solutions.
-But for RxDB (and other client side databases), using SQL is not a good option and instead it operates on document writes and the JSON based Mango-query syntax for querying.
SQL is made to be used to run operations against a database server. You send a SQL string like SELECT SUM(column_name)... to the database server and the server then runs all operations required to calculate the result and only send back that result.
-This saves performance on the application side and ensures that the application itself is not blocked.
-
But RxDB is a client-side database that runs inside of the application. There is no performance difference if the SUM() query is run inside of the database or at the application level where a Array.reduce() call calculates the result.
SQL is string based and therefore you need additional IDE tooling to ensure that your written database code is valid.
-Using the Mango Query syntax instead, TypeScript can be used validate the queries and to autocomplete code and knows which fields do exist and which do not. By doing so, the correctness of queries can be ensured at compile-time instead of run-time.
By using JSON based Mango Queries, it is easy to compose queries in plain JavaScript.
-For example if you have any given query and want to add the condition user MUST BE 'foobar', you can just add the condition to the selector without having to parse and understand a complex SQL string.
-
query.selector.user = 'foobar';
-
Even merging the selectors of multiple queries is not a problem:
Like other NoSQL databases, RxDB operates data on document level. It has no concept of tables, rows and columns. Instead we have collections, documents and fields.
Because of the document based approach, TypeScript can know the exact type of the query response while a SQL query could return anything from a number over a set of rows or a complex construct.
-
-
\ No newline at end of file
diff --git a/docs/rxdb-tradeoffs.md b/docs/rxdb-tradeoffs.md
deleted file mode 100644
index 021b0a7b0f4..00000000000
--- a/docs/rxdb-tradeoffs.md
+++ /dev/null
@@ -1,94 +0,0 @@
-# RxDB Tradeoffs - Why NoSQL Triumphs on the Client
-
-> Uncover RxDB's approach to modern database needs. From JSON-based queries to conflict handling without transactions, learn RxDB's unique tradeoffs.
-
-# RxDB Tradeoffs
-
-[RxDB](https://rxdb.info) is client-side, [offline first](./offline-first.md) Database for JavaScript applications.
-While RxDB could be used on the server side, most people use it on the client side together with an UI based application.
-Therefore RxDB was optimized for client side applications and had to take completely different tradeoffs than what a server side database would do.
-
-## Why not SQL syntax
-
-When you ask people which database they would want for browsers, the most answer I hear is *something SQL based like SQLite*.
-This makes sense, SQL is a query language that most developers had learned in school/university and it is reusable across various database solutions.
-But for RxDB (and other client side databases), using SQL is not a good option and instead it operates on document writes and the JSON based **Mango-query** syntax for querying.
-
-```ts
-// A Mango Query
-const query = {
- selector: {
- age: {
- $gt: 10
- },
- lastName: 'foo'
- },
- sort: [{ age: 'asc' }]
-};
-```
-
-### SQL is made for database servers
-
-SQL is made to be used to run operations against a database server. You send a SQL string like ```SELECT SUM(column_name)...``` to the database server and the server then runs all operations required to calculate the result and only send back that result.
-This saves performance on the application side and ensures that the application itself is not blocked.
-
-But RxDB is a client-side database that runs **inside** of the application. There is no performance difference if the `SUM()` query is run inside of the database or at the application level where a `Array.reduce()` call calculates the result.
-
-### Typescript support
-
-SQL is `string` based and therefore you need additional IDE tooling to ensure that your written database code is valid.
-Using the Mango Query syntax instead, TypeScript can be used validate the queries and to autocomplete code and knows which fields do exist and which do not. By doing so, the correctness of queries can be ensured at compile-time instead of run-time.
-
-
-
-### Composeable queries
-
-By using JSON based Mango Queries, it is easy to compose queries in plain JavaScript.
-For example if you have any given query and want to add the condition `user MUST BE 'foobar'`, you can just add the condition to the selector without having to parse and understand a complex SQL string.
-
-```ts
-query.selector.user = 'foobar';
-```
-
-Even merging the selectors of multiple queries is not a problem:
-
-```ts
-queryA.selector = {
- $and: [
- queryA.selector,
- queryB.selector
- ]
-};
-```
-
-## Why Document based (NoSQL)
-
-Like other NoSQL databases, RxDB operates data on document level. It has no concept of tables, rows and columns. Instead we have collections, documents and fields.
-
-### Javascript is made to work with objects
-### Caching
-
-### EventReduce
-
-### Easier to use with typescript
-
-Because of the document based approach, TypeScript can know the exact type of the query response while a SQL query could return anything from a number over a set of rows or a complex construct.
-
-## Why no transactions
-
-- Does not work with offline-first
-- Does not work with multi-tab
-- Easier conflict handling on document level
-
--- Instead of transactions, rxdb works with revisions
-
-## Why no relations
-
-- Does not work with easy replication
-
-## Why is a schema required
-
-- migration of data on clients is hard
-- Why jsonschema
-
-##
diff --git a/docs/schema-validation.html b/docs/schema-validation.html
deleted file mode 100644
index 7c524573722..00000000000
--- a/docs/schema-validation.html
+++ /dev/null
@@ -1,115 +0,0 @@
-
-
-
-
-
-Schema Validation | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
RxDB has multiple validation implementations that can be used to ensure that your document data is always matching the provided JSON
-schema of your RxCollection.
-
The schema validation is not a plugin but comes in as a wrapper around any other RxStorage and it will then validate all data that is written into that storage. This is required for multiple reasons:
-
-
It allows us to run the validation inside of a Worker RxStorage instead of running it in the main JavaScript process.
-
It allows us to configure which RxDatabase instance must use the validation and which does not. In production it often makes sense to validate user data, but you might not need the validation for data that is only replicated from the backend.
-
-
warning
Schema validation can be CPU expensive and increases your build size. You should always use a schema validation in development mode. For most use cases, you should not use a validation in production for better performance.
-
When no validation is used, any document data can be saved but there might be undefined behavior when saving data that does not comply to the schema of a RxCollection.
-
RxDB has different implementations to validate data, each of them is based on a different JSON Schema library. In this example we use the LocalStorage RxStorage, but you can wrap the validation around any otherRxStorage.
A validation-module that does the schema-validation. This one is using ajv as validator which is a bit faster. Better compliant to the jsonschema-standard but also has a bigger build-size.
-
import { wrappedValidateAjvStorage } from 'rxdb/plugins/validate-ajv';
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-
-// wrap the validation around the main RxStorage
-const storage = wrappedValidateAjvStorage({
- storage: getRxStorageLocalstorage()
-});
-
-const db = await createRxDatabase({
- name: randomCouchString(10),
- storage
-});
Both is-my-json-valid and validate-ajv use eval() to perform validation which might not be wanted when 'unsafe-eval' is not allowed in Content Security Policies. This one is using z-schema as validator which doesn't use eval.
-
import { wrappedValidateZSchemaStorage } from 'rxdb/plugins/validate-z-schema';
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-
-// wrap the validation around the main RxStorage
-const storage = wrappedValidateZSchemaStorage({
- storage: getRxStorageLocalstorage()
-});
-
-const db = await createRxDatabase({
- name: randomCouchString(10),
- storage
-});
The RxDB team ran performance benchmarks using two storage options on an Ubuntu 24.04 machine with Chrome version 131.0.6778.85. The testing machine has 32 core 13th Gen Intel(R) Core(TM) i9-13900HX CPU.
-
IndexedDB Storage (based on the IndexedDB API in the browser):
-
IndexedDB Storage
Time to First insert
Insert 3000 documents
no validator
68 ms
213 ms
ajv
67 ms
216 ms
z-schema
71 ms
230 ms
-
Memory Storage: stores everything in memory for extremely fast reads and writes, with no persistence by default. Often used with the RxDB memory-mapped plugin that processes data in memory an later persists to disc in background:
-
Memory Storage
Time to First insert
Insert 3000 documents
no validator
1.15 ms
0.8 ms
ajv
3.05 ms
2.7 ms
z-schema
0.9 ms
18 ms
-
Including a validator library also increases your JavaScript bundle size. Here's how it breaks down (minified + gzip):
-
-
\ No newline at end of file
diff --git a/docs/schema-validation.md b/docs/schema-validation.md
deleted file mode 100644
index f0b214eee40..00000000000
--- a/docs/schema-validation.md
+++ /dev/null
@@ -1,133 +0,0 @@
-# Schema Validation
-
-> RxDB has multiple validation implementations that can be used to ensure that your document data is always matching the provided JSON
-schema of your `RxCollection`.
-
-# Schema validation
-
-RxDB has multiple validation implementations that can be used to ensure that your document data is always matching the provided JSON
-schema of your `RxCollection`.
-
-The schema validation is **not a plugin** but comes in as a wrapper around any other `RxStorage` and it will then validate all data that is written into that storage. This is required for multiple reasons:
-- It allows us to run the validation inside of a [Worker RxStorage](./rx-storage-worker.md) instead of running it in the main JavaScript process.
-- It allows us to configure which `RxDatabase` instance must use the validation and which does not. In production it often makes sense to validate user data, but you might not need the validation for data that is only replicated from the backend.
-
-:::warning
-Schema validation can be **CPU expensive** and increases your build size. You should always use a schema validation in development mode. For most use cases, you **should not** use a validation in production for better performance.
-:::
-
-When no validation is used, any document data can be saved but there might be **undefined behavior** when saving data that does not comply to the schema of a `RxCollection`.
-
-RxDB has different implementations to validate data, each of them is based on a different [JSON Schema library](https://json-schema.org/tools). In this example we use the [LocalStorage RxStorage](./rx-storage-localstorage.md), but you can wrap the validation around **any other** [RxStorage](./rx-storage.md).
-
-### validate-ajv
-
-A validation-module that does the schema-validation. This one is using [ajv](https://github.com/epoberezkin/ajv) as validator which is a bit faster. Better compliant to the jsonschema-standard but also has a bigger build-size.
-
-```javascript
-import { wrappedValidateAjvStorage } from 'rxdb/plugins/validate-ajv';
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-
-// wrap the validation around the main RxStorage
-const storage = wrappedValidateAjvStorage({
- storage: getRxStorageLocalstorage()
-});
-
-const db = await createRxDatabase({
- name: randomCouchString(10),
- storage
-});
-```
-
-### validate-z-schema
-
-Both `is-my-json-valid` and `validate-ajv` use `eval()` to perform validation which might not be wanted when `'unsafe-eval'` is not allowed in Content Security Policies. This one is using [z-schema](https://github.com/zaggino/z-schema) as validator which doesn't use `eval`.
-
-```javascript
-import { wrappedValidateZSchemaStorage } from 'rxdb/plugins/validate-z-schema';
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-
-// wrap the validation around the main RxStorage
-const storage = wrappedValidateZSchemaStorage({
- storage: getRxStorageLocalstorage()
-});
-
-const db = await createRxDatabase({
- name: randomCouchString(10),
- storage
-});
-```
-
-### validate-is-my-json-valid
-
-**WARNING**: The `is-my-json-valid` validation is no longer supported until [this bug](https://github.com/mafintosh/is-my-json-valid/pull/192) is fixed.
-
-The `validate-is-my-json-valid` plugin uses [is-my-json-valid](https://www.npmjs.com/package/is-my-json-valid) for schema validation.
-
-```javascript
-import { wrappedValidateIsMyJsonValidStorage } from 'rxdb/plugins/validate-is-my-json-valid';
-import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage';
-
-// wrap the validation around the main RxStorage
-const storage = wrappedValidateIsMyJsonValidStorage({
- storage: getRxStorageLocalstorage()
-});
-
-const db = await createRxDatabase({
- name: randomCouchString(10),
- storage
-});
-```
-
-## Custom Formats
-
-The schema validators provide methods to add custom formats like a `email` format.
-You have to add these formats **before** you create your database.
-
-### Ajv Custom Format
-
-```ts
-import { getAjv } from 'rxdb/plugins/validate-ajv';
-const ajv = getAjv();
-ajv.addFormat('email', {
- type: 'string',
- validate: v => v.includes('@') // ensure email fields contain the @ symbol
-});
-```
-
-### Z-Schema Custom Format
-
-```ts
-import { ZSchemaClass } from 'rxdb/plugins/validate-z-schema';
-ZSchemaClass.registerFormat('email', function (v: string) {
- return v.includes('@'); // ensure email fields contain the @ symbol
-});
-```
-
-## Performance comparison of the validators
-
-The RxDB team ran performance benchmarks using two storage options on an Ubuntu 24.04 machine with Chrome version `131.0.6778.85`. The testing machine has 32 core `13th Gen Intel(R) Core(TM) i9-13900HX` CPU.
-
-IndexedDB Storage (based on the IndexedDB API in the browser):
-
-| **IndexedDB Storage** | Time to First insert | Insert 3000 documents |
-| ----------------- | :------------------: | --------------------: |
-| no validator | 68 ms | 213 ms |
-| ajv | 67 ms | 216 ms |
-| z-schema | 71 ms | 230 ms |
-
-Memory Storage: stores everything in memory for extremely fast reads and writes, with no persistence by default. Often used with the RxDB memory-mapped plugin that processes data in memory an later persists to disc in background:
-
-| **Memory Storage** | Time to First insert | Insert 3000 documents |
-| ------------------ | :------------------: | --------------------: |
-| no validator | 1.15 ms | 0.8 ms |
-| ajv | 3.05 ms | 2.7 ms |
-| z-schema | 0.9 ms | 18 ms |
-
-Including a validator library also increases your JavaScript bundle size. Here's how it breaks down (minified + gzip):
-
-| **Build Size** (minified+gzip) | Build Size (IndexedDB) | Build Size (memory) |
-| ------------------------------ | :----------------: | ------------------: |
-| no validator | 73103 B | 39976 B |
-| ajv | 106135 B | 72773 B |
-| z-schema | 125186 B | 91882 B |
diff --git a/docs/search-doc-1769435561373.json b/docs/search-doc-1769435561373.json
deleted file mode 100644
index bd3a87f577b..00000000000
--- a/docs/search-doc-1769435561373.json
+++ /dev/null
@@ -1 +0,0 @@
-{"searchDocs":[{"title":"PouchDB Adapters","type":0,"sectionRef":"#","url":"/adapters.html","content":"","keywords":"","version":"Next"},{"title":"Memory","type":1,"pageTitle":"PouchDB Adapters","url":"/adapters.html#memory","content":" In any environment, you can use the memory-adapter. It stores the data in the javascript runtime memory. This means it is not persistent and the data is lost when the process terminates. Use this adapter when: You want to have really good performanceYou do not want persistent state, for example in your test suite import { createRxDatabase } from 'rxdb' import { getRxStoragePouch } from 'rxdb/plugins/pouchdb'; // npm install pouchdb-adapter-memory --save addPouchPlugin(require('pouchdb-adapter-memory')); const database = await createRxDatabase({ name: 'mydatabase', storage: getRxStoragePouch('memory') }); ","version":"Next","tagName":"h2"},{"title":"Memdown","type":1,"pageTitle":"PouchDB Adapters","url":"/adapters.html#memdown","content":" With RxDB you can also use adapters that implement abstract-leveldown like the memdown-adapter. // npm install memdown --save // npm install pouchdb-adapter-leveldb --save addPouchPlugin(require('pouchdb-adapter-leveldb')); // leveldown adapters need the leveldb plugin to work const memdown = require('memdown'); const database = await createRxDatabase({ name: 'mydatabase', storage: getRxStoragePouch(memdown) // the full leveldown-module }); Browser ","version":"Next","tagName":"h2"},{"title":"IndexedDB","type":1,"pageTitle":"PouchDB Adapters","url":"/adapters.html#indexeddb","content":" The IndexedDB adapter stores the data inside of IndexedDB use this in browsers environments as default. // npm install pouchdb-adapter-idb --save addPouchPlugin(require('pouchdb-adapter-idb')); const database = await createRxDatabase({ name: 'mydatabase', storage: getRxStoragePouch('idb') }); ","version":"Next","tagName":"h2"},{"title":"IndexedDB","type":1,"pageTitle":"PouchDB Adapters","url":"/adapters.html#indexeddb-1","content":" A reimplementation of the indexeddb adapter which uses native secondary indexes. Should have a much better performance but can behave different on some edge cases. note Multiple users have reported problems with this adapter. It is not recommended to use this adapter. // npm install pouchdb-adapter-indexeddb --save addPouchPlugin(require('pouchdb-adapter-indexeddb')); const database = await createRxDatabase({ name: 'mydatabase', storage: getRxStoragePouch('indexeddb') }); ","version":"Next","tagName":"h2"},{"title":"Websql","type":1,"pageTitle":"PouchDB Adapters","url":"/adapters.html#websql","content":" This adapter stores the data inside of websql. It has a different performance behavior. Websql is deprecated. You should not use the websql adapter unless you have a really good reason. // npm install pouchdb-adapter-websql --save addPouchPlugin(require('pouchdb-adapter-websql')); const database = await createRxDatabase({ name: 'mydatabase', storage: getRxStoragePouch('websql') }); NodeJS ","version":"Next","tagName":"h2"},{"title":"leveldown","type":1,"pageTitle":"PouchDB Adapters","url":"/adapters.html#leveldown","content":" This adapter uses a LevelDB C++ binding to store that data on the filesystem. It has the best performance compared to other filesystem adapters. This adapter can not be used when multiple nodejs-processes access the same filesystem folders for storage. // npm install leveldown --save // npm install pouchdb-adapter-leveldb --save addPouchPlugin(require('pouchdb-adapter-leveldb')); // leveldown adapters need the leveldb plugin to work const leveldown = require('leveldown'); const database = await createRxDatabase({ name: 'mydatabase', storage: getRxStoragePouch(leveldown) // the full leveldown-module }); // or use a specific folder to store the data const database = await createRxDatabase({ name: '/root/user/project/mydatabase', storage: getRxStoragePouch(leveldown) // the full leveldown-module }); ","version":"Next","tagName":"h2"},{"title":"Node-Websql","type":1,"pageTitle":"PouchDB Adapters","url":"/adapters.html#node-websql","content":" This adapter uses the node-websql-shim to store data on the filesystem. Its advantages are that it does not need a leveldb build and it can be used when multiple nodejs-processes use the same database-files. // npm install pouchdb-adapter-node-websql --save addPouchPlugin(require('pouchdb-adapter-node-websql')); const database = await createRxDatabase({ name: 'mydatabase', storage: getRxStoragePouch('websql') // the name of your adapter }); // or use a specific folder to store the data const database = await createRxDatabase({ name: '/root/user/project/mydatabase', storage: getRxStoragePouch('websql') // the name of your adapter }); React-Native ","version":"Next","tagName":"h2"},{"title":"react-native-sqlite","type":1,"pageTitle":"PouchDB Adapters","url":"/adapters.html#react-native-sqlite","content":" Uses ReactNative SQLite as storage. Claims to be much faster than the asyncstorage adapter. To use it, you have to do some steps from this tutorial. First install pouchdb-adapter-react-native-sqlite and react-native-sqlite-2. npm install pouchdb-adapter-react-native-sqlite react-native-sqlite-2 Then you have to link the library. react-native link react-native-sqlite-2 You also have to add some polyfills which are need but not included in react-native. npm install base-64 events import { decode, encode } from 'base-64' if (!global.btoa) { global.btoa = encode; } if (!global.atob) { global.atob = decode; } // Avoid using node dependent modules process.browser = true; Then you can use it inside of your code. import { createRxDatabase } from 'rxdb'; import { addPouchPlugin, getRxStoragePouch } from 'rxdb/plugins/pouchdb'; import SQLite from 'react-native-sqlite-2' import SQLiteAdapterFactory from 'pouchdb-adapter-react-native-sqlite' const SQLiteAdapter = SQLiteAdapterFactory(SQLite) addPouchPlugin(SQLiteAdapter); addPouchPlugin(require('pouchdb-adapter-http')); const database = await createRxDatabase({ name: 'mydatabase', storage: getRxStoragePouch('react-native-sqlite') // the name of your adapter }); ","version":"Next","tagName":"h2"},{"title":"asyncstorage","type":1,"pageTitle":"PouchDB Adapters","url":"/adapters.html#asyncstorage","content":" Uses react-native's asyncstorage. note There are known problems with this adapter and it is not recommended to use it. // npm install pouchdb-adapter-asyncstorage --save addPouchPlugin(require('pouchdb-adapter-asyncstorage')); const database = await createRxDatabase({ name: 'mydatabase', storage: getRxStoragePouch('node-asyncstorage') // the name of your adapter }); ","version":"Next","tagName":"h2"},{"title":"asyncstorage-down","type":1,"pageTitle":"PouchDB Adapters","url":"/adapters.html#asyncstorage-down","content":" A leveldown adapter that stores on asyncstorage. // npm install pouchdb-adapter-asyncstorage-down --save addPouchPlugin(require('pouchdb-adapter-leveldb')); // leveldown adapters need the leveldb plugin to work const asyncstorageDown = require('asyncstorage-down'); const database = await createRxDatabase({ name: 'mydatabase', storage: getRxStoragePouch(asyncstorageDown) // the full leveldown-module }); Cordova / Phonegap / Capacitor ","version":"Next","tagName":"h2"},{"title":"cordova-sqlite","type":1,"pageTitle":"PouchDB Adapters","url":"/adapters.html#cordova-sqlite","content":" Uses cordova's global cordova.sqlitePlugin. It can be used with cordova and capacitor. // npm install pouchdb-adapter-cordova-sqlite --save addPouchPlugin(require('pouchdb-adapter-cordova-sqlite')); /** * In capacitor/cordova you have to wait until all plugins are loaded and 'window.sqlitePlugin' * can be accessed. * This function waits until document deviceready is called which ensures that everything is loaded. * @link https://cordova.apache.org/docs/de/latest/cordova/events/events.deviceready.html */ export function awaitCapacitorDeviceReady(): Promise<void> { return new Promise(res => { document.addEventListener('deviceready', () => { res(); }); }); } async function getDatabase(){ // first wait until the deviceready event is fired await awaitCapacitorDeviceReady(); const database = await createRxDatabase({ name: 'mydatabase', storage: getRxStoragePouch( 'cordova-sqlite', // pouch settings are passed as second parameter { // for ios devices, the cordova-sqlite adapter needs to know where to save the data. iosDatabaseLocation: 'Library' } ) }); } ","version":"Next","tagName":"h2"},{"title":"Alternatives for realtime offline-first JavaScript applications","type":0,"sectionRef":"#","url":"/alternatives.html","content":"","keywords":"","version":"Next"},{"title":"Alternatives to RxDB","type":1,"pageTitle":"Alternatives for realtime offline-first JavaScript applications","url":"/alternatives.html#alternatives-to-rxdb","content":" RxDB is an observable, replicating, local first, JavaScript database. So it makes only sense to list similar projects as alternatives, not just any database or JavaScript store library. However, I will list up some projects that RxDB is often compared with, even if it only makes sense for some use cases. Here are the alternatives to RxDB: ","version":"Next","tagName":"h2"},{"title":"Firebase","type":1,"pageTitle":"Alternatives for realtime offline-first JavaScript applications","url":"/alternatives.html#firebase","content":" Firebase is a platform developed by Google for creating mobile and web applications. Firebase has many features and products, two of which are client side databases. The Realtime Database and the Cloud Firestore. Firebase - Realtime Database The firebase realtime database was the first database in firestore. It has to be mentioned that in this context, "realtime" means "realtime replication", not "realtime computing". The firebase realtime database stores data as a big unstructured JSON tree that is replicated between clients and the backend. Firebase - Cloud Firestore The firestore is the successor to the realtime database. The big difference is that it behaves more like a 'normal' database that stores data as documents inside of collections. The conflict resolution strategy of firestore is always last-write-wins which might or might not be suitable for your use case. The biggest difference to RxDB is that firebase products are only able to be used on top of the Firebase cloud hosted backend, which creates a vendor lock-in. RxDB can replicate with any self hosted CouchDB server or custom GraphQL endpoints. You can even replicate Firestore to RxDB with the Firestore Replication Plugin. ","version":"Next","tagName":"h3"},{"title":"Meteor","type":1,"pageTitle":"Alternatives for realtime offline-first JavaScript applications","url":"/alternatives.html#meteor","content":" Meteor (since 2012) is one of the oldest technologies for JavaScript realtime applications. Meteor is not a library but a whole framework with its own package manager, database management and replication. Because of how it works, it has proven to be hard to integrate it with other modern JavaScript frameworks like angular, vue.js or svelte. Meteor uses MongoDB in the backend and can replicate with a Minimongo database in the frontend. While testing, it has proven to be impossible to make a meteor app offline first capable. There are some projects that might do this, but all are unmaintained. ","version":"Next","tagName":"h3"},{"title":"Minimongo","type":1,"pageTitle":"Alternatives for realtime offline-first JavaScript applications","url":"/alternatives.html#minimongo","content":" Forked in Jan 2014 from meteorJSs' minimongo package, Minimongo is a client-side, in-memory, JavaScript version of MongoDB with backend replication over HTTP. Similar to MongoDB, it stores data in documents inside of collections and also has the same query syntax. Minimongo has different storage adapters for IndexedDB, WebSQL, LocalStorage and SQLite. Compared to RxDB, Minimongo has no concept of revisions or conflict handling, which might lead to undefined behavior when used with replication or in multiple browser tabs. Minimongo has no observable queries or changestream. ","version":"Next","tagName":"h3"},{"title":"WatermelonDB","type":1,"pageTitle":"Alternatives for realtime offline-first JavaScript applications","url":"/alternatives.html#watermelondb","content":" WatermelonDB is a reactive & asynchronous JavaScript database. While originally made for React and React Native, it can also be used with other JavaScript frameworks. The main goal of WatermelonDB is performance within an application with lots of data. In React Native, WatermelonDB uses the provided SQLite database. Also there is an Expo plugin for WatermelonDB. In a browser, WatermelonDB uses the LokiJS in-memory database to store and query data. WatermelonDB is one of the rare projects that support both Flow and Typescript at the same time. ","version":"Next","tagName":"h3"},{"title":"AWS Amplify","type":1,"pageTitle":"Alternatives for realtime offline-first JavaScript applications","url":"/alternatives.html#aws-amplify","content":" AWS Amplify is a collection of tools and libraries to develop web- and mobile frontend applications. Similar to firebase, it provides everything needed like authentication, analytics, a REST API, storage and so on. Everything hosted in the AWS Cloud, even when they state that "AWS Amplify is designed to be open and pluggable for any custom backend or service". For realtime replication, AWS Amplify can connect to an AWS App-Sync GraphQL endpoint. ","version":"Next","tagName":"h3"},{"title":"AWS Datastore","type":1,"pageTitle":"Alternatives for realtime offline-first JavaScript applications","url":"/alternatives.html#aws-datastore","content":" Since December 2019 the Amplify library includes the AWS Datastore which is a document-based, client side database that is able to replicate data via AWS AppSync in the background. The main difference to other projects is the complex project configuration via the amplify cli and the bit confusing query syntax that works over functions. Complex Queries with multiple OR/AND statements are not possible which might change in the future. Local development is hard because the AWS AppSync mock does not support realtime replication. It also is not really offline-first because a user login is always required. // An AWS datastore OR query const posts = await DataStore.query(Post, c => c.or( c => c.rating("gt", 4).status("eq", PostStatus.PUBLISHED) )); // An AWS datastore SORT query const posts = await DataStore.query(Post, Predicates.ALL, { sort: s => s.rating(SortDirection.ASCENDING).title(SortDirection.DESCENDING) }); The biggest difference to RxDB is that you have to use the AWS cloud backends. This might not be a problem if your data is at AWS anyway. ","version":"Next","tagName":"h3"},{"title":"RethinkDB","type":1,"pageTitle":"Alternatives for realtime offline-first JavaScript applications","url":"/alternatives.html#rethinkdb","content":" RethinkDB is a backend database that pushed dynamic JSON data to the client in realtime. It was founded in 2009 and the company shut down in 2016. Rethink db is not a client side database, it streams data from the backend to the client which of course does not work while offline. ","version":"Next","tagName":"h3"},{"title":"Horizon","type":1,"pageTitle":"Alternatives for realtime offline-first JavaScript applications","url":"/alternatives.html#horizon","content":" Horizon is the client side library for RethinkDB which provides useful functions like authentication, permission management and subscription to a RethinkDB backend. Offline support never made it to horizon. ","version":"Next","tagName":"h3"},{"title":"Supabase","type":1,"pageTitle":"Alternatives for realtime offline-first JavaScript applications","url":"/alternatives.html#supabase","content":" Supabase labels itself as "an open source Firebase alternative". It is a collection of open source tools that together mimic many Firebase features, most of them by providing a wrapper around a PostgreSQL database. While it has realtime queries that run over the wire, like with RethinkDB, Supabase has no client-side storage or replication feature and therefore is not offline first. ","version":"Next","tagName":"h3"},{"title":"CouchDB","type":1,"pageTitle":"Alternatives for realtime offline-first JavaScript applications","url":"/alternatives.html#couchdb","content":" Apache CouchDB is a server-side, document-oriented database that is mostly known for its multi-master replication feature. Instead of having a master-slave replication, with CouchDB you can run replication in any constellation without having a master server as bottleneck where the server even can go off- and online at any time. This comes with the drawback of having a slow replication with much network overhead. CouchDB has a changestream and a query syntax similar to MongoDB. ","version":"Next","tagName":"h3"},{"title":"PouchDB","type":1,"pageTitle":"Alternatives for realtime offline-first JavaScript applications","url":"/alternatives.html#pouchdb","content":" PouchDB is a JavaScript database that is compatible with most of the CouchDB API. It has an adapter system that allows you to switch out the underlying storage layer. There are many adapters like for IndexedDB, SQLite, the Filesystem and so on. The main benefit is to be able to replicate data with any CouchDB compatible endpoint. Because of the CouchDB compatibility, PouchDB has to do a lot of overhead in handling the revision tree of document, which is why it can show bad performance for bigger datasets. RxDB was originally build around PouchDB until the storage layer was abstracted out in version 10.0.0 so it now allows to use different RxStorage implementations. PouchDB has some performance issues because of how it has to store the document revision tree to stay compatible with the CouchDB API. ","version":"Next","tagName":"h3"},{"title":"Couchbase","type":1,"pageTitle":"Alternatives for realtime offline-first JavaScript applications","url":"/alternatives.html#couchbase","content":" Couchbase (originally known as Membase) is another NoSQL document database made for realtime applications. It uses the N1QL query language which is more SQL like compared to other NoSQL query languages. In theory you can achieve replication of a Couchbase with a PouchDB database, but this has shown to be not that easy. ","version":"Next","tagName":"h3"},{"title":"Cloudant","type":1,"pageTitle":"Alternatives for realtime offline-first JavaScript applications","url":"/alternatives.html#cloudant","content":" Cloudant is a cloud-based service that is based on CouchDB and has mostly the same features. It was originally designed for cloud computing where data can automatically be distributed between servers. But it can also be used to replicate with frontend PouchDB instances to create scalable web applications. It was bought by IBM in 2014 and since 2018 the Cloudant Shared Plan is retired and migrated to IBM Cloud. ","version":"Next","tagName":"h3"},{"title":"Hoodie","type":1,"pageTitle":"Alternatives for realtime offline-first JavaScript applications","url":"/alternatives.html#hoodie","content":" Hoodie is a backend solution that enables offline-first JavaScript frontend development without having to write backend code. Its main goal is to abstract away configuration into simple calls to the Hoodie API. It uses CouchDB in the backend and PouchDB in the frontend to enable offline-first capabilities. The last commit for hoodie was one year ago and the website (hood.ie) is offline which indicates it is not an active project anymore. ","version":"Next","tagName":"h3"},{"title":"LokiJS","type":1,"pageTitle":"Alternatives for realtime offline-first JavaScript applications","url":"/alternatives.html#lokijs","content":" LokiJS is a JavaScript embeddable, in-memory database. And because everything is handled in-memory, LokiJS has awesome performance when mutating or querying data. You can still persist to a permanent storage (IndexedDB, Filesystem etc.) with one of the provided storage adapters. The persistence happens after a timeout is reached after a write, or before the JavaScript process exits. This also means you could loose data when the JavaScript process exits ungracefully like when the power of the device is shut down or the browser crashes. While the project is not that active anymore, it is more finished than unmaintained. In the past, RxDB supported using LokiJS as RxStorage but because the LokiJS is not maintained anymore and had too many issues, this storage option was removed in RxDB version 16. ","version":"Next","tagName":"h3"},{"title":"Gundb","type":1,"pageTitle":"Alternatives for realtime offline-first JavaScript applications","url":"/alternatives.html#gundb","content":" GUN is a JavaScript graph database. While having many features, the decentralized replication is the main unique selling point. You can replicate data Peer-to-Peer without any centralized backend server. GUN has several other features that are useful on top of that, like encryption and authentication. While testing it was really hard to get basic things running. GUN is open source, but because of how the source code is written, it is very difficult to understand what is going wrong. ","version":"Next","tagName":"h3"},{"title":"sql.js","type":1,"pageTitle":"Alternatives for realtime offline-first JavaScript applications","url":"/alternatives.html#sqljs","content":" sql.js is a javascript library to run SQLite on the web. It uses a virtual database file stored in memory and does not have any persistence. All data is lost once the JavaScript process exits. sql.js is created by compiling SQLite to WebAssembly so it has about the same features as SQLite. For older browsers there is a JavaScript fallback. ","version":"Next","tagName":"h3"},{"title":"absurd-sQL","type":1,"pageTitle":"Alternatives for realtime offline-first JavaScript applications","url":"/alternatives.html#absurd-sql","content":" Absurd-sql is a project that implements an IndexedDB-based persistence for sql.js. Instead of directly writing data into the IndexedDB, it treats IndexedDB like a disk and stores data in blocks there which shows to have a much better performance, mostly because of how performance expensive IndexedDB transactions are. ","version":"Next","tagName":"h3"},{"title":"NeDB","type":1,"pageTitle":"Alternatives for realtime offline-first JavaScript applications","url":"/alternatives.html#nedb","content":" NeDB was a embedded persistent or in-memory database for Node.js, nw.js, Electron and browsers. It is document-oriented and had the same query syntax as MongoDB. Like LokiJS it has persistence adapters for IndexedDB etc. to persist the database state on the disc. The last commit to NeDB was in 2016. ","version":"Next","tagName":"h3"},{"title":"Dexie.js","type":1,"pageTitle":"Alternatives for realtime offline-first JavaScript applications","url":"/alternatives.html#dexiejs","content":" Dexie.js is a minimalistic wrapper for IndexedDB. While providing a better API than plain IndexedDB, Dexie also improves performance by batching transactions and other optimizations. It also adds additional non-IndexedDB features like observable queries or multi tab support or react hooks. Compared to RxDB, Dexie.js does not support complex (MongoDB-like) queries and requires a lot of fiddling when a document range of a specific index must be fetched. Dexie.js is used by Whatsapp Web, Microsoft To Do and Github Desktop. RxDB supports using Dexie.js as Database storage which enhances IndexedDB via dexie with RxDB features like MongoDB-like queries etc. ","version":"Next","tagName":"h3"},{"title":"LowDB","type":1,"pageTitle":"Alternatives for realtime offline-first JavaScript applications","url":"/alternatives.html#lowdb","content":" LowDB is a small, local JSON database powered by the Lodash library. It is designed to be simple, easy to use, and straightforward. LowDB allows you to perform native JavaScript queries and persist data in a flat JSON file. Written in TypeScript, it's particularly well-suited for small projects, prototyping, or when you need a lightweight, file-based database. As an alternative to LowDB, RxDB offers real-time reactivity, allowing developers to subscribe to database changes, a feature not natively available in LowDB. Additionally, RxDB provides robust query capabilities, including the ability to subscribe to query results for automatic UI updates. These features make RxDB a strong alternative to LowDB for more complex and dynamic applications. ","version":"Next","tagName":"h3"},{"title":"localForage","type":1,"pageTitle":"Alternatives for realtime offline-first JavaScript applications","url":"/alternatives.html#localforage","content":" localForage is a popular JavaScript library for offline storage that provides a simple, promise-based API. It abstracts over different storage mechanisms such as IndexedDB, WebSQL, or localStorage, making it easier to write code once and have it work seamlessly across various browsers. While localForage is great for storing data locally in a key-value manner, it doesn't provide the real-time reactive queries, conflict handling, or revision-based replication that RxDB does. This makes localForage a useful choice for straightforward caching or persistent storage needs, but not ideal for advanced offline-first scenarios requiring multi-user collaboration or complex querying. ","version":"Next","tagName":"h3"},{"title":"MongoDB Realm","type":1,"pageTitle":"Alternatives for realtime offline-first JavaScript applications","url":"/alternatives.html#mongodb-realm","content":" Originally Realm was a mobile database for Android and iOS. Later they added support for other languages and runtimes, also for JavaScript. It was meant as replacement for SQLite but is more like an object store than a full SQL database. In 2019 MongoDB bought Realm and changed the projects focus. Now Realm is made for replication with the MongoDB Realm Sync based on the MongoDB Atlas Cloud platform. This tight coupling to the MongoDB cloud service is a big downside for most use cases. ","version":"Next","tagName":"h3"},{"title":"Apollo","type":1,"pageTitle":"Alternatives for realtime offline-first JavaScript applications","url":"/alternatives.html#apollo","content":" The Apollo GraphQL platform is made to transfer data between a server to UI applications over GraphQL endpoints. It contains several tools like GraphQL clients in different languages or libraries to create GraphQL endpoints. While it is has different caching features for offline usage, compared to RxDB it is not fully offline first because caching alone does not mean your application is fully usable when the user is offline. ","version":"Next","tagName":"h3"},{"title":"Replicache","type":1,"pageTitle":"Alternatives for realtime offline-first JavaScript applications","url":"/alternatives.html#replicache","content":" Replicache is a client-side sync framework for building realtime, collaborative, local-first web apps. It claims to work with most backend stacks. In contrast to other local first tools, replicache does not work like a local database. Instead it runs on so called mutators that unify behavior on the client and server side. So instead of implementing and calling REST routes on both sides of your stack, you will implement mutators that define a specific delta behavior based on the input data. To observe data in replicache, there are subscriptions that notify your frontend application about changes to the state. Replicache can be used in most frontend technologies like browsers, React/Remix, NextJS/Vercel and React Native. While Replicache can be installed and used from npm, the Replicache source code is not open source and the Replicache github repo does not allow you to inspect or debug it. Still you can use replicache for in non-commercial projects, or for companies with < $200k revenue (ARR) and < $500k in funding. (2024: Replicache will be free and Rocicorp are working on a new Zerosync product to succeed Replicache and Reflect.) ","version":"Next","tagName":"h3"},{"title":"InstantDB","type":1,"pageTitle":"Alternatives for realtime offline-first JavaScript applications","url":"/alternatives.html#instantdb","content":" InstantDB is designed for real-time data synchronization with built-in offline support, allowing changes to be queued locally and synced when the user reconnects. While it offers seamless optimistic updates and rollback capabilities, its offline-first design is not as mature or comprehensive as RxDB's - the offline data is more of a cache, not a full-database sync. The query language used is Datalog, and the backend sync service is written in Clojure. InstantDB is focused more on simplicity and real-time collaboration, with fewer customization options for storage or conflict resolution compared to RxDB, which supports various storage adapters and advanced conflict handling via CRDTs. ","version":"Next","tagName":"h3"},{"title":"Yjs","type":1,"pageTitle":"Alternatives for realtime offline-first JavaScript applications","url":"/alternatives.html#yjs","content":" Yjs is a CRDT-based (Conflict-free Replicated Data Type) library focused on enabling real-time collaboration - particularly for text editing, although it can handle other data types as well. While it provides powerful conflict resolution and peer-to-peer synchronization out of the box, Yjs itself is not a full-fledged database. Instead, you typically combine Yjs with other storage or networking layers to achieve a local-first architecture. This flexibility allows for sophisticated real-time features, but also means you must handle indexing, queries, and persistence on your own if you need them. Compared to RxDB, Yjs does not offer built-in replication adapters or a query system, so developers who require a more complete solution for conflict resolution, data persistence, and offline-first capabilities may find RxDB more convenient. ","version":"Next","tagName":"h3"},{"title":"ElectricSQL","type":1,"pageTitle":"Alternatives for realtime offline-first JavaScript applications","url":"/alternatives.html#electricsql","content":" 2024: ElectricSQL is being rewritten in a new Electric-Next branch, which focuses on partial syncing of ("shapes", which makes is basically a NoSQL like document database) of data from a remote Postgres DB to a local clients written in TypeScript/JS or Elixir. The write path is not yet implemented, neither is client-side reactivity. The ElectricSQL backend is written in Elixir. ","version":"Next","tagName":"h3"},{"title":"SignalDB","type":1,"pageTitle":"Alternatives for realtime offline-first JavaScript applications","url":"/alternatives.html#signaldb","content":" SignalDB provides a reactive, in-memory local-lirst JavaScript database with real-time sync, bit it doesn't offer the same level of multi-client replication or flexibility with storage backends that RxDB provides, and through a RxDB persistence adapters you can actually use SignalDB for the front-end reactivity while relying on RxDB for backend sync and persistence. ","version":"Next","tagName":"h3"},{"title":"PowerSync","type":1,"pageTitle":"Alternatives for realtime offline-first JavaScript applications","url":"/alternatives.html#powersync","content":" PowerSync is a "framework" for implementing local-first solutions. It centralizes business logic and conflict resolution on a central, authoritative server (PostgreSQL or MongoDB), vs RxDB that also supports custom backends. Both RxDB and PowerSync can be used with a variety of storage backends, but PowerSync uses SQLite as the front-end database which has shown to be slow because the WASM-SQLite abstraction increases read and write latency. In terms of client SDKs, PowerSync offers Flutter, Kotlin, and Swift in addition to JS/TypeScript. PowerSync offers man client technologies, PowerSync is under a license that restricts commercial use that competes with PowerSync and the JourneyApps Platform. Read further Offline First Database Comparison ","version":"Next","tagName":"h3"},{"title":"Build Smarter Offline-First Angular Apps: How RxDB Beats IndexedDB Alone","type":0,"sectionRef":"#","url":"/articles/angular-indexeddb.html","content":"","keywords":"","version":"Next"},{"title":"What Is IndexedDB?","type":1,"pageTitle":"Build Smarter Offline-First Angular Apps: How RxDB Beats IndexedDB Alone","url":"/articles/angular-indexeddb.html#what-is-indexeddb","content":" IndexedDB is a low-level JavaScript API for client-side storage of large amounts of structured data. It allows you to create key-value or object store-based data storage right in the user's browser. IndexedDB supports transactions and indexing but lacks a robust query API and can be complex to use due to its callback-based nature. ","version":"Next","tagName":"h2"},{"title":"Why Use IndexedDB in Angular","type":1,"pageTitle":"Build Smarter Offline-First Angular Apps: How RxDB Beats IndexedDB Alone","url":"/articles/angular-indexeddb.html#why-use-indexeddb-in-angular","content":" Offline-First/Local-First: If your app needs to function with limited or no internet connectivity, IndexedDB provides a reliable local storage layer. Users can continue using the application offline, and data can sync when the connection is restored. Performance: Local data access comes with near-zero latency, removing the need for constant server requests and eliminating most loading spinners. Easier to Implement: By replicating all necessary data to the client once, you avoid implementing numerous backend endpoints for each user interaction. Scalability: Local data queries remove processing load from your servers and reduce bandwidth usage by handling queries on the client side. ","version":"Next","tagName":"h2"},{"title":"Why Using Plain IndexedDB is a Problem","type":1,"pageTitle":"Build Smarter Offline-First Angular Apps: How RxDB Beats IndexedDB Alone","url":"/articles/angular-indexeddb.html#why-using-plain-indexeddb-is-a-problem","content":" Despite the advantages, directly working with IndexedDB has several drawbacks: Callback-Based: IndexedDB was originally designed around a callback-based API, which can be unwieldy compared to modern Promise or RxJS-based flows. Difficult to Implement: IndexedDB is often described as a "low-level" API. It's more suitable for library authors rather than application developers who simply need a robust local store. Rudimentary Query API: Complex or dynamic queries are cumbersome with IndexedDB's basic get/put approach and limited indexes. TypeScript Support: Maintaining strong TypeScript types for all document structures is not straightforward with IndexedDB's untyped object stores. No Observable API: IndexedDB cannot directly emit live data changes. With RxDB, you can subscribe to changes on a collection or even a single document field. Cross-Tab Synchronization: Handling concurrent data changes across multiple browser tabs is difficult in IndexedDB. RxDB has built-in multi-tab support that keeps all tabs in sync. Advanced Features Missing: IndexedDB lacks built-in support for encryption, compression, or other advanced data management features. Browser-Only: IndexedDB works in the browser but not in environments like React Native or Electron. RxDB offers storage adapters to seamlessly reuse the same code on different platforms. ","version":"Next","tagName":"h2"},{"title":"Set Up RxDB in Angular","type":1,"pageTitle":"Build Smarter Offline-First Angular Apps: How RxDB Beats IndexedDB Alone","url":"/articles/angular-indexeddb.html#set-up-rxdb-in-angular","content":" ","version":"Next","tagName":"h2"},{"title":"Installing RxDB","type":1,"pageTitle":"Build Smarter Offline-First Angular Apps: How RxDB Beats IndexedDB Alone","url":"/articles/angular-indexeddb.html#installing-rxdb","content":" You can install RxDB into your Angular application via npm: npm install rxdb --save ","version":"Next","tagName":"h3"},{"title":"Patch Change Detection with zone.js","type":1,"pageTitle":"Build Smarter Offline-First Angular Apps: How RxDB Beats IndexedDB Alone","url":"/articles/angular-indexeddb.html#patch-change-detection-with-zonejs","content":" RxDB creates RxJS observables outside of Angular's zone, meaning Angular won't automatically trigger change detection when new data arrives. You must patch RxJS with zone.js: //> app.component.ts /** * IMPORTANT: RxDB creates rxjs observables outside of Angular's zone * So you have to import the rxjs patch to ensure change detection works correctly. * @link https://www.bennadel.com/blog/3448-binding-rxjs-observable-sources-outside-of-the-ngzone-in-angular-6-0-2.htm */ import 'zone.js/plugins/zone-patch-rxjs'; ","version":"Next","tagName":"h3"},{"title":"Create a Database and Collections","type":1,"pageTitle":"Build Smarter Offline-First Angular Apps: How RxDB Beats IndexedDB Alone","url":"/articles/angular-indexeddb.html#create-a-database-and-collections","content":" RxDB supports multiple storage options. The free and simple approach is using the localstorage-based storage. For higher performance, there's a premium plain IndexedDB storage. import { createRxDatabase } from 'rxdb/plugins/core'; // Define your schema const heroSchema = { title: 'hero schema', version: 0, description: 'Describes a hero in your app', primaryKey: 'id', type: 'object', properties: { id: { type: 'string', maxLength: 100 }, name: { type: 'string' }, power: { type: 'string' } }, required: ['id', 'name'] }; Localstorage IndexedDB import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage'; export async function initDB() { // Create a database const db = await createRxDatabase({ name: 'heroesdb', // the name of the database storage: getRxStorageLocalstorage() }); // Add collections await db.addCollections({ heroes: { schema: heroSchema } }); return db; } It's recommended to encapsulate database creation logic in an Angular service, such as in a DatabaseService. A full example is available in RxDB's Angular example. ","version":"Next","tagName":"h3"},{"title":"CRUD Operations","type":1,"pageTitle":"Build Smarter Offline-First Angular Apps: How RxDB Beats IndexedDB Alone","url":"/articles/angular-indexeddb.html#crud-operations","content":" Once your database is initialized, you can perform all CRUD operations: // insert await db.heroes.insert({ name: 'Iron Man', power: 'Genius-level intellect' }); // bulk insert await db.heroes.bulkInsert([ { name: 'Thor', power: 'God of Thunder' }, { name: 'Hulk', power: 'Superhuman Strength' } ]); // find and findOne const heroes = await db.heroes.find().exec(); const ironMan = await db.heroes.findOne({ selector: { name: 'Iron Man' } }).exec(); // update const doc = await db.heroes.findOne({ selector: { name: 'Hulk' } }).exec(); await doc.update({ $set: { power: 'Unlimited Strength' } }); // delete const doc = await db.heroes.findOne({ selector: { name: 'Thor' } }).exec(); await doc.remove(); ","version":"Next","tagName":"h3"},{"title":"Reactive Queries and Live Updates","type":1,"pageTitle":"Build Smarter Offline-First Angular Apps: How RxDB Beats IndexedDB Alone","url":"/articles/angular-indexeddb.html#reactive-queries-and-live-updates","content":" A key benefit of RxDB is reactivity. You can subscribe to changes and have your UI automatically reflect updates in real time even across browser tabs. ","version":"Next","tagName":"h2"},{"title":"With RxJS Observables and Async Pipes","type":1,"pageTitle":"Build Smarter Offline-First Angular Apps: How RxDB Beats IndexedDB Alone","url":"/articles/angular-indexeddb.html#with-rxjs-observables-and-async-pipes","content":" In Angular, you can display this data with the AsyncPipe: constructor(private dbService: DatabaseService) { this.heroes$ = this.dbService.db.heroes.find({ selector: {}, sort: [{ name: 'asc' }] }).$; } <ul> <li *ngFor="let hero of heroes$ | async"> {{ hero.name }} </li> </ul> ","version":"Next","tagName":"h3"},{"title":"With Angular Signals","type":1,"pageTitle":"Build Smarter Offline-First Angular Apps: How RxDB Beats IndexedDB Alone","url":"/articles/angular-indexeddb.html#with-angular-signals","content":" Angular Signals are a newer approach for reactivity. RxDB supports them via a custom reactivity factory. You can convert RxJS Observables to Signals using Angular's toSignal: import { RxReactivityFactory } from 'rxdb/plugins/core'; import { Signal, untracked, Injector } from '@angular/core'; import { toSignal } from '@angular/core/rxjs-interop'; export function createReactivityFactory(injector: Injector): RxReactivityFactory<Signal<any>> { return { fromObservable(observable$, initialValue) { return untracked(() => toSignal(observable$, { initialValue, injector, rejectErrors: true }) ); } }; } Pass this factory when creating your RxDatabase: import { createRxDatabase } from 'rxdb/plugins/core'; import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage'; import { inject, Injector } from '@angular/core'; const database = await createRxDatabase({ name: 'mydb', storage: getRxStorageLocalstorage(), reactivity: createReactivityFactory(inject(Injector)) }); Use the double-dollar sign ($$) to get a Signal instead of an Observable: const heroesSignal = database.heroes.find().$$; <ul> <li *ngFor="let hero of heroesSignal()"> {{ hero.name }} </li> </ul> ","version":"Next","tagName":"h3"},{"title":"Angular IndexedDB Example with RxDB","type":1,"pageTitle":"Build Smarter Offline-First Angular Apps: How RxDB Beats IndexedDB Alone","url":"/articles/angular-indexeddb.html#angular-indexeddb-example-with-rxdb","content":" A comprehensive example of RxDB in an Angular application is available in the RxDB GitHub repository. It demonstrates database creation, queries, and Angular integration using best practices. ","version":"Next","tagName":"h2"},{"title":"Advanced RxDB Features","type":1,"pageTitle":"Build Smarter Offline-First Angular Apps: How RxDB Beats IndexedDB Alone","url":"/articles/angular-indexeddb.html#advanced-rxdb-features","content":" Beyond simple CRUD and local data storage, RxDB supports: Replication: Sync your local data with a remote database. Learn more at RxDB Replication. Data Migration on Schema Changes: RxDB supports automatic or manual schema migrations to manage backward-compatibility and evolve your data structure. See RxDB Migration. Encryption: Easily encrypt sensitive data at rest. See RxDB Encryption. Compression: Reduce storage and bandwidth usage using key compression. Learn more at RxDB Key Compression. ","version":"Next","tagName":"h2"},{"title":"Limitations of IndexedDB","type":1,"pageTitle":"Build Smarter Offline-First Angular Apps: How RxDB Beats IndexedDB Alone","url":"/articles/angular-indexeddb.html#limitations-of-indexeddb","content":" While IndexedDB works well for many use cases, it does have a few constraints: Potentially Slow: While adequate for most use cases, IndexedDB performance can degrade for very large datasets. More details at RxDB Slow IndexedDB. Storage Limits: Browsers may cap the amount of data you can store in IndexedDB. For more info, see Local Storage Limits of IndexedDB. ","version":"Next","tagName":"h2"},{"title":"Alternatives to IndexedDB","type":1,"pageTitle":"Build Smarter Offline-First Angular Apps: How RxDB Beats IndexedDB Alone","url":"/articles/angular-indexeddb.html#alternatives-to-indexeddb","content":" Depending on your needs, you might explore: Origin Private File System (OPFS): A newer browser storage mechanism that can offer better performance. RxDB supports OPFS storage. SQLite: When building a mobile or hybrid app (e.g., with Capacitor or Ionic), you can use SQLite locally. See RxDB with SQLite. ","version":"Next","tagName":"h2"},{"title":"Performance comparison with other browser storages","type":1,"pageTitle":"Build Smarter Offline-First Angular Apps: How RxDB Beats IndexedDB Alone","url":"/articles/angular-indexeddb.html#performance-comparison-with-other-browser-storages","content":" Here is a performance overview of the various browser based storage implementation of RxDB: ","version":"Next","tagName":"h2"},{"title":"Follow Up","type":1,"pageTitle":"Build Smarter Offline-First Angular Apps: How RxDB Beats IndexedDB Alone","url":"/articles/angular-indexeddb.html#follow-up","content":" Continue your deep dive into RxDB with official quickstart guides and star the repository on GitHub to stay updated. RxDB Quickstart: Get started quickly with the RxDB Quickstart. RxDB GitHub: Explore the source, open issues, and star ⭐ the project at RxDB GitHub Repo. By combining IndexedDB's local storage with RxDB's powerful features, you can build performant, robust, and offline-capable Angular applications. RxDB takes care of the lower-level complexities, letting you focus on delivering a great user experience-online or off. ","version":"Next","tagName":"h2"},{"title":"Browser Storage - RxDB as a Database for Browsers","type":0,"sectionRef":"#","url":"/articles/browser-storage.html","content":"","keywords":"","version":"Next"},{"title":"Localstorage","type":1,"pageTitle":"Browser Storage - RxDB as a Database for Browsers","url":"/articles/browser-storage.html#localstorage","content":" Localstorage is a straightforward way to store small amounts of data in the user's web browser. It operates on a simple key-value basis and is relatively easy to use. While it has limitations, it is suitable for basic data storage requirements. ","version":"Next","tagName":"h3"},{"title":"IndexedDB","type":1,"pageTitle":"Browser Storage - RxDB as a Database for Browsers","url":"/articles/browser-storage.html#indexeddb","content":" IndexedDB, on the other hand, offers a more robust and structured approach to browser-based data storage. It can handle larger datasets and complex queries, making it a valuable choice for more advanced web applications. ","version":"Next","tagName":"h3"},{"title":"Why Store Data in the Browser","type":1,"pageTitle":"Browser Storage - RxDB as a Database for Browsers","url":"/articles/browser-storage.html#why-store-data-in-the-browser","content":" Now that we've explored the methods of storing data in the browser, let's delve into why this is a beneficial strategy for web developers: Caching: Storing data in the browser allows you to cache frequently used information. This means that your web application can access essential data more quickly because it doesn't need to repeatedly fetch it from a server. This results in a smoother and more responsive user experience. Offline Access: One significant advantage of browser storage is that data becomes portable and remains accessible even when the user is offline. This feature ensures that users can continue to use your application, view their saved information, and make changes, irrespective of their internet connection status. Faster Real-time Applications: For real-time applications, having data stored locally in the browser significantly enhances performance. Local data allows your application to respond faster to user interactions, creating a more seamless and responsive user interface. Low Latency Queries: When you run queries locally within the browser, you minimize the latency associated with network requests. This results in near-instant access to data, which is particularly crucial for applications that require rapid data retrieval. Faster Initial Application Start Time: By preloading essential data into browser storage, you can reduce the initial load time of your web application. Users can start using your application more swiftly, which is essential for making a positive first impression. Store Local Data with Encryption: For applications that deal with sensitive data, browser storage allows you to implement encryption to secure the stored information. This ensures that even if data is stored on the user's device, it remains confidential and protected. In summary, storing data in the browser offers several advantages, including improved performance, offline access, and enhanced user experiences. Localstorage and IndexedDB are two valuable tools that developers can utilize to leverage these benefits and create web applications that are more responsive and user-friendly. ","version":"Next","tagName":"h2"},{"title":"Browser Storage Limitations","type":1,"pageTitle":"Browser Storage - RxDB as a Database for Browsers","url":"/articles/browser-storage.html#browser-storage-limitations","content":" While browser storage, such as Localstorage and IndexedDB, offers many advantages, it's important to be aware of its limitations: Slower Performance Compared to Native Databases: Browser-based storage solutions can't match the performance of native server-side databases. They may experience slower data retrieval and processing, especially for large datasets or complex operations. Storage Space Limitations: Browsers impose restrictions on the amount of data that can be stored locally. This limitation can be problematic for applications with extensive data storage requirements, potentially necessitating creative solutions to manage data effectively. ","version":"Next","tagName":"h2"},{"title":"Why SQL Databases Like SQLite Aren't a Good Fit for the Browser","type":1,"pageTitle":"Browser Storage - RxDB as a Database for Browsers","url":"/articles/browser-storage.html#why-sql-databases-like-sqlite-arent-a-good-fit-for-the-browser","content":" SQL databases like SQLite, while powerful in server environments, may not be the best choice for browser-based applications due to various reasons: ","version":"Next","tagName":"h2"},{"title":"Push/Pull Based vs. Reactive","type":1,"pageTitle":"Browser Storage - RxDB as a Database for Browsers","url":"/articles/browser-storage.html#pushpull-based-vs-reactive","content":" SQL databases often use a push/pull model for data synchronization. This approach is less reactive and may not align well with the real-time nature of web applications, where immediate updates to the user interface are crucial. ","version":"Next","tagName":"h3"},{"title":"Build Size of Server-Side Databases","type":1,"pageTitle":"Browser Storage - RxDB as a Database for Browsers","url":"/articles/browser-storage.html#build-size-of-server-side-databases","content":" Server-side databases like SQLite have a significant build size, which can increase the initial load time of web applications. This can result in a suboptimal user experience, particularly for users with slower internet connections. ","version":"Next","tagName":"h3"},{"title":"Initialization Time and Performance","type":1,"pageTitle":"Browser Storage - RxDB as a Database for Browsers","url":"/articles/browser-storage.html#initialization-time-and-performance","content":" SQL databases are optimized for server environments, and their initialization processes and performance characteristics may not align with the needs of web applications. They might not offer the swift performance required for seamless user interactions. ","version":"Next","tagName":"h3"},{"title":"Why RxDB Is a Good Fit as Browser Storage","type":1,"pageTitle":"Browser Storage - RxDB as a Database for Browsers","url":"/articles/browser-storage.html#why-rxdb-is-a-good-fit-as-browser-storage","content":" RxDB is an excellent choice for browser-based storage due to its numerous features and advantages: ","version":"Next","tagName":"h2"},{"title":"Flexible Storage Layer for Various Platforms","type":1,"pageTitle":"Browser Storage - RxDB as a Database for Browsers","url":"/articles/browser-storage.html#flexible-storage-layer-for-various-platforms","content":" RxDB offers a flexible storage layer that can seamlessly integrate with different platforms, making it versatile and adaptable to various application needs. ","version":"Next","tagName":"h3"},{"title":"NoSQL JSON Documents Are a Better Fit for UIs","type":1,"pageTitle":"Browser Storage - RxDB as a Database for Browsers","url":"/articles/browser-storage.html#nosql-json-documents-are-a-better-fit-for-uis","content":" NoSQL JSON documents, used by RxDB, are well-suited for user interfaces. They provide a natural and efficient way to structure and display data in web applications. ","version":"Next","tagName":"h3"},{"title":"NoSQL Has Better TypeScript Support Compared to SQL","type":1,"pageTitle":"Browser Storage - RxDB as a Database for Browsers","url":"/articles/browser-storage.html#nosql-has-better-typescript-support-compared-to-sql","content":" RxDB boasts robust TypeScript support, which is beneficial for developers who prefer type safety and code predictability in their projects. ","version":"Next","tagName":"h3"},{"title":"Observable Document Fields","type":1,"pageTitle":"Browser Storage - RxDB as a Database for Browsers","url":"/articles/browser-storage.html#observable-document-fields","content":" RxDB enables developers to observe individual document fields, offering fine-grained control over data tracking and updates. ","version":"Next","tagName":"h3"},{"title":"Made in JavaScript, Optimized for JavaScript Applications","type":1,"pageTitle":"Browser Storage - RxDB as a Database for Browsers","url":"/articles/browser-storage.html#made-in-javascript-optimized-for-javascript-applications","content":" Being built in JavaScript and optimized for JavaScript applications, RxDB seamlessly integrates into web development stacks, minimizing compatibility issues. ","version":"Next","tagName":"h3"},{"title":"Observable Queries (rxjs) to Automatically Update the UI on Changes","type":1,"pageTitle":"Browser Storage - RxDB as a Database for Browsers","url":"/articles/browser-storage.html#observable-queries-rxjs-to-automatically-update-the-ui-on-changes","content":" RxDB's support for Observable Queries allows the user interface to update automatically in real-time when data changes. This reactivity enhances the user experience and simplifies UI development. const query = myCollection.find({ selector: { age: { $gt: 21 } } }); const querySub = query.$.subscribe(results => { console.log('got results: ' + results.length); }); ","version":"Next","tagName":"h3"},{"title":"Optimized Observed Queries with the EventReduce Algorithm","type":1,"pageTitle":"Browser Storage - RxDB as a Database for Browsers","url":"/articles/browser-storage.html#optimized-observed-queries-with-the-eventreduce-algorithm","content":" RxDB's EventReduce Algorithm ensures efficient data handling and rendering, improving overall performance and responsiveness. ","version":"Next","tagName":"h3"},{"title":"Handling of Schema Changes","type":1,"pageTitle":"Browser Storage - RxDB as a Database for Browsers","url":"/articles/browser-storage.html#handling-of-schema-changes","content":" RxDB provides built-in support for handling schema changes, simplifying database management when updates are required. ","version":"Next","tagName":"h3"},{"title":"Built-In Multi-Tab Support","type":1,"pageTitle":"Browser Storage - RxDB as a Database for Browsers","url":"/articles/browser-storage.html#built-in-multi-tab-support","content":" For applications requiring multi-tab support, RxDB natively handles data consistency across different browser tabs, streamlining data synchronization. ","version":"Next","tagName":"h3"},{"title":"Storing Documents Compressed","type":1,"pageTitle":"Browser Storage - RxDB as a Database for Browsers","url":"/articles/browser-storage.html#storing-documents-compressed","content":" Efficient data storage is achieved through document compression, reducing storage space requirements and enhancing overall performance. ","version":"Next","tagName":"h3"},{"title":"Replication Algorithm for Compatibility with Any Backend","type":1,"pageTitle":"Browser Storage - RxDB as a Database for Browsers","url":"/articles/browser-storage.html#replication-algorithm-for-compatibility-with-any-backend","content":" RxDB's Replication Algorithm facilitates compatibility with various backend systems, ensuring seamless data synchronization between the browser and server. ","version":"Next","tagName":"h3"},{"title":"Summary","type":1,"pageTitle":"Browser Storage - RxDB as a Database for Browsers","url":"/articles/browser-storage.html#summary","content":" In conclusion, RxDB is a powerful and feature-rich solution for browser-based storage. Its adaptability, real-time capabilities, TypeScript support, and optimization for JavaScript applications make it an ideal choice for modern web development projects, addressing the limitations of traditional SQL databases in the browser. Developers can harness RxDB to create efficient, responsive, and user-friendly web applications that leverage the full potential of browser storage. ","version":"Next","tagName":"h2"},{"title":"Follow Up","type":1,"pageTitle":"Browser Storage - RxDB as a Database for Browsers","url":"/articles/browser-storage.html#follow-up","content":" To explore more about RxDB and leverage its capabilities for browser storage, check out the following resources: RxDB GitHub Repository: Visit the official GitHub repository of RxDB to access the source code, documentation, and community support.RxDB Quickstart: Get started quickly with RxDB by following the provided quickstart guide, which provides step-by-step instructions for setting up and using RxDB in your projects. ","version":"Next","tagName":"h2"},{"title":"RxDB: The benefits of Browser Databases","type":0,"sectionRef":"#","url":"/articles/browser-database.html","content":"","keywords":"","version":"Next"},{"title":"Why you might want to store data in the browser","type":1,"pageTitle":"RxDB: The benefits of Browser Databases","url":"/articles/browser-database.html#why-you-might-want-to-store-data-in-the-browser","content":" There are compelling reasons to consider storing data in the browser: ","version":"Next","tagName":"h2"},{"title":"Use the database for caching","type":1,"pageTitle":"RxDB: The benefits of Browser Databases","url":"/articles/browser-database.html#use-the-database-for-caching","content":" By leveraging a browser database, you can harness the power of caching. Storing frequently accessed data locally enables you to reduce server requests and greatly improve application performance. Caching provides a faster and smoother user experience, enhancing overall user satisfaction. ","version":"Next","tagName":"h3"},{"title":"Data is offline accessible","type":1,"pageTitle":"RxDB: The benefits of Browser Databases","url":"/articles/browser-database.html#data-is-offline-accessible","content":" Storing data in the browser allows for offline accessibility. Regardless of an active internet connection, users can access and interact with the application, ensuring uninterrupted productivity and user engagement. ","version":"Next","tagName":"h3"},{"title":"Easier implementation of replicating database state","type":1,"pageTitle":"RxDB: The benefits of Browser Databases","url":"/articles/browser-database.html#easier-implementation-of-replicating-database-state","content":" Browser databases simplify the replication of database state across multiple devices or instances of the application. Compared to complex REST routes, replicating data becomes easier and more streamlined. This capability enables the development of real-time and collaborative applications, where changes are seamlessly synchronized among users. ","version":"Next","tagName":"h3"},{"title":"Building real-time applications is easier with local data","type":1,"pageTitle":"RxDB: The benefits of Browser Databases","url":"/articles/browser-database.html#building-real-time-applications-is-easier-with-local-data","content":" With a local browser database, building real-time applications becomes more straightforward. The availability of local data allows for reactive data flows and dynamic user interfaces that instantly reflect changes in the underlying data. Real-time features can be seamlessly implemented, providing a rich and interactive user experience. ","version":"Next","tagName":"h3"},{"title":"Browser databases can scale better","type":1,"pageTitle":"RxDB: The benefits of Browser Databases","url":"/articles/browser-database.html#browser-databases-can-scale-better","content":" Browser databases distribute the query workload to users' devices, allowing queries to run locally instead of relying solely on server resources. This decentralized approach improves scalability by reducing the burden on the server, resulting in a more efficient and responsive application. ","version":"Next","tagName":"h3"},{"title":"Running queries locally has low latency","type":1,"pageTitle":"RxDB: The benefits of Browser Databases","url":"/articles/browser-database.html#running-queries-locally-has-low-latency","content":" Browser databases offer the advantage of running queries locally, resulting in low latency. Eliminating the need for server round-trips significantly improves query performance, ensuring faster data retrieval and a more responsive application. ","version":"Next","tagName":"h3"},{"title":"Faster initial application start time","type":1,"pageTitle":"RxDB: The benefits of Browser Databases","url":"/articles/browser-database.html#faster-initial-application-start-time","content":" Storing data in the browser reduces the initial application start time. Instead of waiting for data to be fetched from the server, the application can leverage the local database, resulting in faster initialization and improved user satisfaction right from the start. ","version":"Next","tagName":"h3"},{"title":"Easier integration with JavaScript frameworks","type":1,"pageTitle":"RxDB: The benefits of Browser Databases","url":"/articles/browser-database.html#easier-integration-with-javascript-frameworks","content":" Browser databases, including RxDB, seamlessly integrate with popular JavaScript frameworks such as Angular, React.js, Vue.js, and Svelte. This integration allows developers to leverage the power of a database while working within the familiar environment of their preferred framework, enhancing productivity and ease of development. ","version":"Next","tagName":"h3"},{"title":"Store local data with encryption","type":1,"pageTitle":"RxDB: The benefits of Browser Databases","url":"/articles/browser-database.html#store-local-data-with-encryption","content":" Security is a crucial aspect of data storage, especially when handling sensitive information. Browser databases, like RxDB, offer the capability to store local data with encryption, ensuring the confidentiality and protection of sensitive user data. ","version":"Next","tagName":"h3"},{"title":"Using a local database for state management","type":1,"pageTitle":"RxDB: The benefits of Browser Databases","url":"/articles/browser-database.html#using-a-local-database-for-state-management","content":" Utilizing a local browser database for state management eliminates the need for traditional state management libraries like Redux or NgRx. This approach simplifies the application's architecture by leveraging the database's capabilities to handle state-related operations efficiently. ","version":"Next","tagName":"h3"},{"title":"Data is portable and always accessible by the user","type":1,"pageTitle":"RxDB: The benefits of Browser Databases","url":"/articles/browser-database.html#data-is-portable-and-always-accessible-by-the-user","content":" When data is stored in the browser, it becomes portable and always accessible by the user. This ensures that users have control and ownership of their data, enhancing data privacy and accessibility. ","version":"Next","tagName":"h3"},{"title":"Why SQL databases like SQLite are not a good fit for the browser","type":1,"pageTitle":"RxDB: The benefits of Browser Databases","url":"/articles/browser-database.html#why-sql-databases-like-sqlite-are-not-a-good-fit-for-the-browser","content":" While SQL databases, such as SQLite, excel in server-side scenarios, they are not always the optimal choice for browser-based applications. Here are some reasons why SQL databases may not be the best fit for the browser: ","version":"Next","tagName":"h2"},{"title":"Push/Pull based vs. reactive","type":1,"pageTitle":"RxDB: The benefits of Browser Databases","url":"/articles/browser-database.html#pushpull-based-vs-reactive","content":" SQL databases typically rely on a push/pull mechanism, where the server pushes updates to the client or the client pulls data from the server. This approach is not inherently reactive and requires additional effort to implement real-time data updates. In contrast, browser databases like RxDB provide built-in reactive mechanisms, allowing the application to react to data changes seamlessly. ","version":"Next","tagName":"h3"},{"title":"Build size of server-side databases","type":1,"pageTitle":"RxDB: The benefits of Browser Databases","url":"/articles/browser-database.html#build-size-of-server-side-databases","content":" Server-side databases, designed to handle large-scale applications, often have significant build sizes that are unsuitable for browser applications. In contrast, browser databases are specifically optimized for browser environments and leverage browser APIs like IndexedDB, OPFS, and Webworker, resulting in smaller build sizes. ","version":"Next","tagName":"h3"},{"title":"Initialization time and performance","type":1,"pageTitle":"RxDB: The benefits of Browser Databases","url":"/articles/browser-database.html#initialization-time-and-performance","content":" The initialization time and performance of server-side databases can be suboptimal in browser applications. Browser databases, on the other hand, are designed to provide fast initialization and efficient performance within the browser environment, ensuring a smooth user experience. ","version":"Next","tagName":"h3"},{"title":"Why RxDB is a good fit for the browser","type":1,"pageTitle":"RxDB: The benefits of Browser Databases","url":"/articles/browser-database.html#why-rxdb-is-a-good-fit-for-the-browser","content":" RxDB stands out as an excellent choice for implementing a browser database solution. Here's why RxDB is a perfect fit for browser applications: ","version":"Next","tagName":"h2"},{"title":"Observable Queries (rxjs) to automatically update the UI on changes","type":1,"pageTitle":"RxDB: The benefits of Browser Databases","url":"/articles/browser-database.html#observable-queries-rxjs-to-automatically-update-the-ui-on-changes","content":" RxDB provides Observable Queries, powered by RxJS, enabling automatic UI updates when data changes occur. This reactive approach eliminates the need for manual data synchronization and ensures a real-time and responsive user interface. const query = myCollection.find({ selector: { age: { $gt: 21 } } }); const querySub = query.$.subscribe(results => { console.log('got results: ' + results.length); }); ","version":"Next","tagName":"h3"},{"title":"NoSQL JSON documents are a better fit for UIs","type":1,"pageTitle":"RxDB: The benefits of Browser Databases","url":"/articles/browser-database.html#nosql-json-documents-are-a-better-fit-for-uis","content":" RxDB utilizes NoSQL JSON documents, which align naturally with UI development in JavaScript. JavaScript's native handling of JSON objects makes working with NoSQL documents more intuitive, simplifying UI-related operations. ","version":"Next","tagName":"h3"},{"title":"NoSQL has better TypeScript support compared to SQL","type":1,"pageTitle":"RxDB: The benefits of Browser Databases","url":"/articles/browser-database.html#nosql-has-better-typescript-support-compared-to-sql","content":" TypeScript is widely used in modern JavaScript development. NoSQL databases, including RxDB, offer excellent TypeScript support, making it easier to build type-safe applications and leverage the benefits of static typing. ","version":"Next","tagName":"h3"},{"title":"Observable document fields","type":1,"pageTitle":"RxDB: The benefits of Browser Databases","url":"/articles/browser-database.html#observable-document-fields","content":" RxDB allows observing individual document fields, providing granular reactivity. This feature enables efficient tracking of specific data changes and fine-grained UI updates, optimizing performance and responsiveness. ","version":"Next","tagName":"h3"},{"title":"Made in JavaScript, optimized for JavaScript applications","type":1,"pageTitle":"RxDB: The benefits of Browser Databases","url":"/articles/browser-database.html#made-in-javascript-optimized-for-javascript-applications","content":" RxDB is built entirely in JavaScript, optimized for JavaScript applications. This ensures seamless integration with JavaScript codebases and maximizes performance within the browser environment. ","version":"Next","tagName":"h3"},{"title":"Optimized observed queries with the EventReduce Algorithm","type":1,"pageTitle":"RxDB: The benefits of Browser Databases","url":"/articles/browser-database.html#optimized-observed-queries-with-the-eventreduce-algorithm","content":" RxDB employs the EventReduce Algorithm to optimize observed queries. This algorithm intelligently reduces unnecessary data transmissions, resulting in efficient query execution and improved performance. ","version":"Next","tagName":"h3"},{"title":"Built-in multi-tab support","type":1,"pageTitle":"RxDB: The benefits of Browser Databases","url":"/articles/browser-database.html#built-in-multi-tab-support","content":" RxDB natively supports multi-tab applications, allowing data synchronization and replication across different tabs or instances of the same application. This feature ensures consistent data across the application and enhances collaboration and real-time experiences. ","version":"Next","tagName":"h3"},{"title":"Handling of schema changes","type":1,"pageTitle":"RxDB: The benefits of Browser Databases","url":"/articles/browser-database.html#handling-of-schema-changes","content":" RxDB excels in handling schema changes, even when data is stored on multiple client devices. It provides mechanisms to handle schema migrations seamlessly, ensuring data integrity and compatibility as the application evolves. ","version":"Next","tagName":"h3"},{"title":"Storing documents compressed","type":1,"pageTitle":"RxDB: The benefits of Browser Databases","url":"/articles/browser-database.html#storing-documents-compressed","content":" To optimize storage space, RxDB allows the compression of documents. Storing compressed documents reduces storage requirements and improves overall performance, especially in scenarios with large data volumes. ","version":"Next","tagName":"h3"},{"title":"Flexible storage layer for various platforms","type":1,"pageTitle":"RxDB: The benefits of Browser Databases","url":"/articles/browser-database.html#flexible-storage-layer-for-various-platforms","content":" RxDB offers a flexible storage layer, enabling code reuse across different platforms, including Electron.js, React Native, hybrid apps (e.g., Capacitor.js), and web browsers. This flexibility streamlines development efforts and ensures consistent data management across multiple platforms. ","version":"Next","tagName":"h3"},{"title":"Replication Algorithm for compatibility with any backend","type":1,"pageTitle":"RxDB: The benefits of Browser Databases","url":"/articles/browser-database.html#replication-algorithm-for-compatibility-with-any-backend","content":" RxDB incorporates a Replication Algorithm that is open-source and can be made compatible with various backend systems. This compatibility allows seamless data synchronization with different backend architectures, such as own servers, Firebase, CouchDB, NATS or WebSocket. ","version":"Next","tagName":"h3"},{"title":"Follow Up","type":1,"pageTitle":"RxDB: The benefits of Browser Databases","url":"/articles/browser-database.html#follow-up","content":" To explore more about RxDB and leverage its capabilities for browser database development, check out the following resources: RxDB GitHub Repository: Visit the official GitHub repository of RxDB to access the source code, documentation, and community support.RxDB Quickstart: Get started quickly with RxDB by following the provided quickstart guide, which provides step-by-step instructions for setting up and using RxDB in your projects. RxDB empowers developers to unlock the power of browser databases, enabling efficient data management, real-time applications, and enhanced user experiences. By leveraging RxDB's features and benefits, you can take your browser-based applications to the next level of performance, scalability, and responsiveness. ","version":"Next","tagName":"h2"},{"title":"RxDB as a Database in an Angular Application","type":0,"sectionRef":"#","url":"/articles/angular-database.html","content":"","keywords":"","version":"Next"},{"title":"Angular Web Applications","type":1,"pageTitle":"RxDB as a Database in an Angular Application","url":"/articles/angular-database.html#angular-web-applications","content":" Angular is a powerful JavaScript framework developed and maintained by Google. It enables developers to build single-page applications (SPAs) with a modular and component-based approach. Angular provides a comprehensive set of tools and features for creating dynamic and responsive web applications. ","version":"Next","tagName":"h2"},{"title":"Importance of Databases in Angular Applications","type":1,"pageTitle":"RxDB as a Database in an Angular Application","url":"/articles/angular-database.html#importance-of-databases-in-angular-applications","content":" Databases play a vital role in Angular applications by providing a structured and efficient way to store, retrieve, and manage data. Whether it's handling user authentication, caching data, or persisting application state, a robust database solution is essential for ensuring optimal performance and user experience. ","version":"Next","tagName":"h2"},{"title":"Introducing RxDB as a Database Solution","type":1,"pageTitle":"RxDB as a Database in an Angular Application","url":"/articles/angular-database.html#introducing-rxdb-as-a-database-solution","content":" RxDB stands for Reactive Database and is built on the principles of reactive programming. It combines the best features of NoSQL databases with the power of reactive programming to provide a scalable and efficient database solution. RxDB offers seamless integration with Angular applications and brings several unique features that make it an attractive choice for developers. 3:45 This solved a problem I've had in Angular for years ","version":"Next","tagName":"h2"},{"title":"Getting Started with RxDB","type":1,"pageTitle":"RxDB as a Database in an Angular Application","url":"/articles/angular-database.html#getting-started-with-rxdb","content":" To begin our journey with RxDB, let's understand its key concepts and features. ","version":"Next","tagName":"h2"},{"title":"What is RxDB?","type":1,"pageTitle":"RxDB as a Database in an Angular Application","url":"/articles/angular-database.html#what-is-rxdb","content":" RxDB is a client-side database that follows the principles of reactive programming. It is built on top of IndexedDB, the native browser database, and leverages the RxJS library for reactive data handling. RxDB provides a simple and intuitive API for managing data and offers features like data replication, multi-tab support, and efficient query handling. ","version":"Next","tagName":"h3"},{"title":"Reactive Data Handling","type":1,"pageTitle":"RxDB as a Database in an Angular Application","url":"/articles/angular-database.html#reactive-data-handling","content":" At the core of RxDB is the concept of reactive data handling. RxDB leverages observables and reactive streams to enable real-time updates and data synchronization. With RxDB, you can easily subscribe to data changes and react to them in a reactive and efficient manner. ","version":"Next","tagName":"h3"},{"title":"Offline-First Approach","type":1,"pageTitle":"RxDB as a Database in an Angular Application","url":"/articles/angular-database.html#offline-first-approach","content":" One of the standout features of RxDB is its offline-first approach. It allows you to build applications that can work seamlessly in offline scenarios. RxDB stores data locally and automatically synchronizes changes with the server when the network becomes available. This capability is particularly useful for applications that need to function in low-connectivity or unreliable network environments. ","version":"Next","tagName":"h3"},{"title":"Data Replication","type":1,"pageTitle":"RxDB as a Database in an Angular Application","url":"/articles/angular-database.html#data-replication","content":" RxDB provides built-in support for data replication between clients and servers. This means you can synchronize data across multiple devices or instances of your application effortlessly. RxDB handles conflict resolution and ensures that data remains consistent across all connected clients. ","version":"Next","tagName":"h3"},{"title":"Observable Queries","type":1,"pageTitle":"RxDB as a Database in an Angular Application","url":"/articles/angular-database.html#observable-queries","content":" RxDB offers a powerful querying mechanism with support for observable queries. This allows you to create dynamic queries that automatically update when the underlying data changes. By leveraging RxDB's observable queries, you can build reactive UI components that respond to data changes in real-time. ","version":"Next","tagName":"h3"},{"title":"Multi-Tab Support","type":1,"pageTitle":"RxDB as a Database in an Angular Application","url":"/articles/angular-database.html#multi-tab-support","content":" RxDB provides out-of-the-box support for multi-tab scenarios. This means that if your Angular application is running in multiple browser tabs, RxDB automatically keeps the data in sync across all tabs. It ensures that changes made in one tab are immediately reflected in others, providing a seamless user experience. ","version":"Next","tagName":"h3"},{"title":"RxDB vs. Other Angular Database Options","type":1,"pageTitle":"RxDB as a Database in an Angular Application","url":"/articles/angular-database.html#rxdb-vs-other-angular-database-options","content":" While there are other database options available for Angular applications, RxDB stands out with its reactive programming model, offline-first approach, and built-in synchronization capabilities. Unlike traditional SQL databases, RxDB's NoSQL-like structure and observables-based API make it well-suited for real-time applications and complex data scenarios. ","version":"Next","tagName":"h3"},{"title":"Using RxDB in an Angular Application","type":1,"pageTitle":"RxDB as a Database in an Angular Application","url":"/articles/angular-database.html#using-rxdb-in-an-angular-application","content":" Now that we have a good understanding of RxDB and its features, let's explore how to integrate it into an Angular application. ","version":"Next","tagName":"h2"},{"title":"Installing RxDB in an Angular App","type":1,"pageTitle":"RxDB as a Database in an Angular Application","url":"/articles/angular-database.html#installing-rxdb-in-an-angular-app","content":" To use RxDB in an Angular application, we first need to install the necessary dependencies. You can install RxDB using npm or yarn by running the following command: npm install rxdb --save Once installed, you can import RxDB into your Angular application and start using its API to create and manage databases. ","version":"Next","tagName":"h3"},{"title":"Patch Change Detection with zone.js","type":1,"pageTitle":"RxDB as a Database in an Angular Application","url":"/articles/angular-database.html#patch-change-detection-with-zonejs","content":" Angular uses change detection to detect and update UI elements when data changes. However, RxDB's data handling is based on observables, which can sometimes bypass Angular's change detection mechanism. To ensure that changes made in RxDB are detected by Angular, we need to patch the change detection mechanism using zone.js. Zone.js is a library that intercepts and tracks asynchronous operations, including observables. By patching zone.js, we can make sure that Angular is aware of changes happening in RxDB. warning RxDB creates rxjs observables outside of angulars zone So you have to import the rxjs patch to ensure the angular change detection works correctly.link //> app.component.ts import 'zone.js/plugins/zone-patch-rxjs'; ","version":"Next","tagName":"h3"},{"title":"Use the Angular async pipe to observe an RxDB Query","type":1,"pageTitle":"RxDB as a Database in an Angular Application","url":"/articles/angular-database.html#use-the-angular-async-pipe-to-observe-an-rxdb-query","content":" Angular provides the async pipe, which is a convenient way to subscribe to observables and handle the subscription lifecycle automatically. When working with RxDB, you can use the async pipe to observe an RxDB query and bind the results directly to your Angular template. This ensures that the UI stays in sync with the data changes emitted by the RxDB query. constructor( private dbService: DatabaseService, private dialog: MatDialog ) { this.heroes$ = this.dbService .db.hero // collection .find({ // query selector: {}, sort: [{ name: 'asc' }] }) .$; } <ul *ngFor="let hero of heroes$ | async as heroes;"> <li>{{hero.name}}</li> </ul> ","version":"Next","tagName":"h3"},{"title":"Different RxStorage layers for RxDB","type":1,"pageTitle":"RxDB as a Database in an Angular Application","url":"/articles/angular-database.html#different-rxstorage-layers-for-rxdb","content":" RxDB supports multiple storage layers for persisting data. Some of the available storage options include: LocalStorage RxStorage: Uses the LocalStorage API without any third party plugins.IndexedDB RxStorage: RxDB directly supports IndexedDB as a storage layer. IndexedDB is a low-level browser database that offers good performance and reliability.OPFS RxStorage: The OPFS RxStorage for RxDB is built on top of the File System Access API which is available in all modern browsers. It provides an API to access a sandboxed private file system to persistently store and retrieve data. Compared to other persistent storage options in the browser (like IndexedDB), the OPFS API has a way better performance.Memory RxStorage: In addition to persistent storage options, RxDB also provides a memory-based storage layer. This is useful for testing or scenarios where you don't need long-term data persistence. You can choose the storage layer that best suits your application's requirements and configure RxDB accordingly. ","version":"Next","tagName":"h3"},{"title":"Synchronizing Data with RxDB between Clients and Servers","type":1,"pageTitle":"RxDB as a Database in an Angular Application","url":"/articles/angular-database.html#synchronizing-data-with-rxdb-between-clients-and-servers","content":" Data replication between an Angular application and a server is a common requirement. RxDB simplifies this process and provides built-in support for data synchronization. Let's explore how to replicate data between an Angular application and a server using RxDB. ","version":"Next","tagName":"h2"},{"title":"Offline-First Approach","type":1,"pageTitle":"RxDB as a Database in an Angular Application","url":"/articles/angular-database.html#offline-first-approach-1","content":" One of the key strengths of RxDB is its offline-first approach. It allows Angular applications to function seamlessly even in offline scenarios. RxDB stores data locally and automatically synchronizes changes with the server when the network becomes available. This capability is particularly useful for applications that need to operate in low-connectivity or unreliable network environments. ","version":"Next","tagName":"h3"},{"title":"Conflict Resolution","type":1,"pageTitle":"RxDB as a Database in an Angular Application","url":"/articles/angular-database.html#conflict-resolution","content":" In a distributed system, conflicts can arise when multiple clients modify the same data simultaneously. RxDB offers conflict resolution mechanisms to handle such scenarios. You can define conflict resolution strategies based on your application's requirements. RxDB provides hooks and events to detect conflicts and resolve them in a consistent manner. ","version":"Next","tagName":"h3"},{"title":"Bidirectional Synchronization","type":1,"pageTitle":"RxDB as a Database in an Angular Application","url":"/articles/angular-database.html#bidirectional-synchronization","content":" RxDB supports bidirectional data synchronization, allowing updates from both the client and server to be replicated seamlessly. This ensures that data remains consistent across all connected clients and the server. RxDB handles conflicts and resolves them based on the defined conflict resolution strategies. ","version":"Next","tagName":"h3"},{"title":"Real-Time Updates","type":1,"pageTitle":"RxDB as a Database in an Angular Application","url":"/articles/angular-database.html#real-time-updates","content":" RxDB provides real-time updates by leveraging reactive programming principles. Changes made to the data are automatically propagated to all connected clients in real-time. Angular applications can subscribe to these updates and update the user interface accordingly. This real-time capability enables collaborative features and enhances the overall user experience. ","version":"Next","tagName":"h3"},{"title":"Advanced RxDB Features and Techniques","type":1,"pageTitle":"RxDB as a Database in an Angular Application","url":"/articles/angular-database.html#advanced-rxdb-features-and-techniques","content":" RxDB offers several advanced features and techniques that can further enhance your Angular application. ","version":"Next","tagName":"h2"},{"title":"Indexing and Performance Optimization","type":1,"pageTitle":"RxDB as a Database in an Angular Application","url":"/articles/angular-database.html#indexing-and-performance-optimization","content":" To improve query performance, RxDB allows you to define indexes on specific fields of your documents. Indexing enables faster data retrieval and query execution, especially when working with large datasets. By strategically creating indexes, you can optimize the performance of your Angular application. ","version":"Next","tagName":"h3"},{"title":"Encryption of Local Data","type":1,"pageTitle":"RxDB as a Database in an Angular Application","url":"/articles/angular-database.html#encryption-of-local-data","content":" RxDB provides built-in support for encrypting local data using the Web Crypto API. With encryption, you can protect sensitive data stored in the client-side database. RxDB transparently encrypts the data, ensuring that it remains secure even if the underlying storage is compromised. ","version":"Next","tagName":"h3"},{"title":"Change Streams and Event Handling","type":1,"pageTitle":"RxDB as a Database in an Angular Application","url":"/articles/angular-database.html#change-streams-and-event-handling","content":" RxDB exposes change streams, which allow you to listen for data changes at a database or collection level. By subscribing to change streams, you can react to data modifications and perform specific actions, such as updating the UI or triggering notifications. Change streams enable real-time event handling in your Angular application. ","version":"Next","tagName":"h3"},{"title":"JSON Key Compression","type":1,"pageTitle":"RxDB as a Database in an Angular Application","url":"/articles/angular-database.html#json-key-compression","content":" To reduce the storage footprint and improve performance, RxDB supports JSON key compression. With key compression, RxDB replaces long keys with shorter aliases, reducing the overall storage size. This optimization is particularly useful when working with large datasets or frequently updating data. ","version":"Next","tagName":"h3"},{"title":"Best Practices for Using RxDB in Angular Applications","type":1,"pageTitle":"RxDB as a Database in an Angular Application","url":"/articles/angular-database.html#best-practices-for-using-rxdb-in-angular-applications","content":" To make the most of RxDB in your Angular application, consider the following best practices: ","version":"Next","tagName":"h2"},{"title":"Use Async Pipe for Subscriptions so you do not have to unsubscribe","type":1,"pageTitle":"RxDB as a Database in an Angular Application","url":"/articles/angular-database.html#use-async-pipe-for-subscriptions-so-you-do-not-have-to-unsubscribe","content":" Angular's async pipe is a powerful tool for handling observables in templates. By using the async pipe, you can avoid the need to manually subscribe and unsubscribe from RxDB observables. Angular takes care of the subscription lifecycle, ensuring that resources are released when they are no longer needed. Instead of manually subscribing to Observables, you should always prefer the async pipe. // WRONG: let amount; this.dbService .db.hero .find({ selector: {}, sort: [{ name: 'asc' }] }) .$.subscribe(docs => { amount = 0; docs.forEach(d => amount = d.points); }); // RIGHT: this.amount$ = this.dbService .db.hero .find({ selector: {}, sort: [{ name: 'asc' }] }) .$.pipe( map(docs => { let amount = 0; docs.forEach(d => amount = d.points); return amount; }) ); ","version":"Next","tagName":"h3"},{"title":"Use custom reactivity to have signals instead of rxjs observables","type":1,"pageTitle":"RxDB as a Database in an Angular Application","url":"/articles/angular-database.html#use-custom-reactivity-to-have-signals-instead-of-rxjs-observables","content":" RxDB supports adding custom reactivity factories that allow you to get angular signals out of the database instead of rxjs observables. read more. ","version":"Next","tagName":"h3"},{"title":"Use Angular Services for Database creation","type":1,"pageTitle":"RxDB as a Database in an Angular Application","url":"/articles/angular-database.html#use-angular-services-for-database-creation","content":" To ensure proper separation of concerns and maintain a clean codebase, it is recommended to create an Angular service responsible for managing the RxDB database instance. This service can handle database creation, initialization, and provide methods for interacting with the database throughout your application. ","version":"Next","tagName":"h3"},{"title":"Efficient Data Handling","type":1,"pageTitle":"RxDB as a Database in an Angular Application","url":"/articles/angular-database.html#efficient-data-handling","content":" RxDB provides various mechanisms for efficient data handling, such as batching updates, debouncing, and throttling. Leveraging these techniques can help optimize performance and reduce unnecessary UI updates. Consider the specific data handling requirements of your application and choose the appropriate strategies provided by RxDB. ","version":"Next","tagName":"h3"},{"title":"Data Synchronization Strategies","type":1,"pageTitle":"RxDB as a Database in an Angular Application","url":"/articles/angular-database.html#data-synchronization-strategies","content":" When working with data synchronization between clients and servers, it's important to consider strategies for conflict resolution and handling network failures. RxDB provides plugins and hooks that allow you to customize the replication behavior and implement specific synchronization strategies tailored to your application's needs. ","version":"Next","tagName":"h3"},{"title":"Conclusion","type":1,"pageTitle":"RxDB as a Database in an Angular Application","url":"/articles/angular-database.html#conclusion","content":" RxDB is a powerful database solution for Angular applications, offering reactive data handling, offline-first capabilities, and seamless data synchronization. By integrating RxDB into your Angular application, you can build responsive and scalable web applications that provide a rich user experience. Whether you're building real-time collaborative apps, progressive web applications, or offline-capable applications, RxDB's features and techniques make it a valuable addition to your Angular development toolkit. ","version":"Next","tagName":"h2"},{"title":"Follow Up","type":1,"pageTitle":"RxDB as a Database in an Angular Application","url":"/articles/angular-database.html#follow-up","content":" To explore more about RxDB and leverage its capabilities for browser database development, check out the following resources: RxDB GitHub Repository: Visit the official GitHub repository of RxDB to access the source code, documentation, and community support.RxDB Quickstart: Get started quickly with RxDB by following the provided quickstart guide, which provides step-by-step instructions for setting up and using RxDB in your projects.RxDB Angular Example at GitHub ","version":"Next","tagName":"h2"},{"title":"RxDB as a data base: Empowering Web Applications with Reactive Data Handling","type":0,"sectionRef":"#","url":"/articles/data-base.html","content":"","keywords":"","version":"Next"},{"title":"Overview of Web Applications that can benefit from RxDB","type":1,"pageTitle":"RxDB as a data base: Empowering Web Applications with Reactive Data Handling","url":"/articles/data-base.html#overview-of-web-applications-that-can-benefit-from-rxdb","content":" Before diving into the specifics of RxDB, let's take a moment to understand the scope of web applications that can leverage its capabilities. Any web application that requires real-time data updates, offline functionality, and synchronization between clients and servers can greatly benefit from RxDB. Whether it's a collaborative document editing tool, a task management app, or a chat application, RxDB offers a robust foundation for building these types of applications. ","version":"Next","tagName":"h2"},{"title":"Importance of data bases in Mobile Applications","type":1,"pageTitle":"RxDB as a data base: Empowering Web Applications with Reactive Data Handling","url":"/articles/data-base.html#importance-of-data-bases-in-mobile-applications","content":" Mobile applications have become an integral part of our lives, providing us with instant access to information and services. Behind the scenes, data bases play a pivotal role in storing and managing the data that powers these applications. data bases enable efficient data retrieval, updates, and synchronization, ensuring a smooth user experience even in challenging network conditions. ","version":"Next","tagName":"h2"},{"title":"Introducing RxDB as a data base Solution","type":1,"pageTitle":"RxDB as a data base: Empowering Web Applications with Reactive Data Handling","url":"/articles/data-base.html#introducing-rxdb-as-a-data-base-solution","content":" RxDB, short for Reactive data base, is a client-side data base solution designed specifically for web and mobile applications. Built on the principles of reactive programming, RxDB brings the power of observables and event-driven architecture to data management. With RxDB, developers can create applications that are responsive, offline-ready, and capable of seamless data synchronization between clients and servers. ","version":"Next","tagName":"h2"},{"title":"Getting Started with RxDB","type":1,"pageTitle":"RxDB as a data base: Empowering Web Applications with Reactive Data Handling","url":"/articles/data-base.html#getting-started-with-rxdb","content":" ","version":"Next","tagName":"h2"},{"title":"What is RxDB?","type":1,"pageTitle":"RxDB as a data base: Empowering Web Applications with Reactive Data Handling","url":"/articles/data-base.html#what-is-rxdb","content":" RxDB is an open-source JavaScript data base that leverages reactive programming and provides a seamless API for handling data. It is built on top of existing popular data base technologies, such as IndexedDB, and adds a layer of reactive features to enable real-time data updates and synchronization. ","version":"Next","tagName":"h3"},{"title":"Reactive Data Handling","type":1,"pageTitle":"RxDB as a data base: Empowering Web Applications with Reactive Data Handling","url":"/articles/data-base.html#reactive-data-handling","content":" One of the standout features of RxDB is its reactive data handling. It utilizes observables to provide a stream of data that automatically updates whenever a change occurs. This reactive approach allows developers to build applications that respond instantly to data changes, ensuring a highly interactive and real-time user experience. ","version":"Next","tagName":"h3"},{"title":"Offline-First Approach","type":1,"pageTitle":"RxDB as a data base: Empowering Web Applications with Reactive Data Handling","url":"/articles/data-base.html#offline-first-approach","content":" RxDB embraces an offline-first approach, enabling applications to work seamlessly even when there is no internet connectivity. It achieves this by caching data locally on the client-side and synchronizing it with the server when the connection is available. This ensures that users can continue working with the application and have their data automatically synchronized when they come back online. ","version":"Next","tagName":"h3"},{"title":"Data Replication","type":1,"pageTitle":"RxDB as a data base: Empowering Web Applications with Reactive Data Handling","url":"/articles/data-base.html#data-replication","content":" RxDB simplifies the process of data replication between clients and servers. It provides replication plugins that handle the synchronization of data in real-time. These plugins allow applications to keep data consistent across multiple clients, enabling collaborative features and ensuring that each client has the most up-to-date information. ","version":"Next","tagName":"h3"},{"title":"Observable Queries","type":1,"pageTitle":"RxDB as a data base: Empowering Web Applications with Reactive Data Handling","url":"/articles/data-base.html#observable-queries","content":" RxDB introduces the concept of observable queries, which are powerful tools for efficiently querying data. With observable queries, developers can subscribe to specific data queries and receive automatic updates whenever the underlying data changes. This eliminates the need for manual polling and ensures that applications always have access to the latest data. ","version":"Next","tagName":"h3"},{"title":"Multi-Tab support","type":1,"pageTitle":"RxDB as a data base: Empowering Web Applications with Reactive Data Handling","url":"/articles/data-base.html#multi-tab-support","content":" RxDB offers multi-tab support, allowing applications to function seamlessly across multiple browser tabs. This feature ensures that data changes in one tab are immediately reflected in all other open tabs, enabling a consistent user experience across different browser windows. ","version":"Next","tagName":"h3"},{"title":"RxDB vs. Other data base Options","type":1,"pageTitle":"RxDB as a data base: Empowering Web Applications with Reactive Data Handling","url":"/articles/data-base.html#rxdb-vs-other-data-base-options","content":" When considering data base options for web applications, developers often encounter choices like IndexedDB, OPFS, and Memory-based solutions. RxDB, while built on top of IndexedDB, stands out due to its reactive data handling capabilities and advanced synchronization features. Compared to other options, RxDB offers a more streamlined and powerful approach to managing data in web applications. ","version":"Next","tagName":"h3"},{"title":"Different RxStorage layers for RxDB","type":1,"pageTitle":"RxDB as a data base: Empowering Web Applications with Reactive Data Handling","url":"/articles/data-base.html#different-rxstorage-layers-for-rxdb","content":" RxDB provides various storage layers, known as RxStorage, that serve as interfaces to different underlying storage technologies. These layers include: LocalStorage RxStorage: Built on top of the browsers localStorage API.IndexedDB RxStorage: This layer directly utilizes IndexedDB as its backend, providing a robust and widely supported storage option.OPFS RxStorage: OPFS (Operational Transformation File System) is a file system-like storage layer that allows for efficient conflict resolution and real-time collaboration.Memory RxStorage: Primarily used for testing and development, this storage layer keeps data in memory without persisting it to disk. Each RxStorage layer has its strengths and is suited for different scenarios, enabling developers to choose the most appropriate option for their specific use case. ","version":"Next","tagName":"h3"},{"title":"Synchronizing Data with RxDB between Clients and Servers","type":1,"pageTitle":"RxDB as a data base: Empowering Web Applications with Reactive Data Handling","url":"/articles/data-base.html#synchronizing-data-with-rxdb-between-clients-and-servers","content":" ","version":"Next","tagName":"h2"},{"title":"Offline-First Approach","type":1,"pageTitle":"RxDB as a data base: Empowering Web Applications with Reactive Data Handling","url":"/articles/data-base.html#offline-first-approach-1","content":" As mentioned earlier, RxDB adopts an offline-first approach, allowing applications to function seamlessly in disconnected environments. By caching data locally, applications can continue to operate and make updates even without an internet connection. Once the connection is restored, RxDB's replication plugins take care of synchronizing the data with the server, ensuring consistency across all clients. ","version":"Next","tagName":"h3"},{"title":"RxDB Replication Plugins","type":1,"pageTitle":"RxDB as a data base: Empowering Web Applications with Reactive Data Handling","url":"/articles/data-base.html#rxdb-replication-plugins","content":" RxDB provides a range of replication plugins that simplify the process of synchronizing data between clients and servers. These plugins enable real-time replication using various protocols, such as WebSocket or HTTP, and handle conflict resolution strategies to ensure data integrity. By leveraging these replication plugins, developers can easily implement robust and scalable synchronization capabilities in their applications. ","version":"Next","tagName":"h3"},{"title":"Advanced RxDB Features and Techniques","type":1,"pageTitle":"RxDB as a data base: Empowering Web Applications with Reactive Data Handling","url":"/articles/data-base.html#advanced-rxdb-features-and-techniques","content":" Indexing and Performance Optimization To achieve optimal performance, RxDB offers indexing capabilities. Indexing allows for efficient data retrieval and faster query execution. By strategically defining indexes on frequently accessed fields, developers can significantly enhance the overall performance of their RxDB-powered applications. ","version":"Next","tagName":"h3"},{"title":"Encryption of Local Data","type":1,"pageTitle":"RxDB as a data base: Empowering Web Applications with Reactive Data Handling","url":"/articles/data-base.html#encryption-of-local-data","content":" In scenarios where data security is paramount, RxDB provides options for encrypting local data. By encrypting the data base contents, developers can ensure that sensitive information remains secure even if the underlying storage is compromised. RxDB integrates seamlessly with encryption libraries, making it easy to implement end-to-end encryption in applications. ","version":"Next","tagName":"h3"},{"title":"Change Streams and Event Handling","type":1,"pageTitle":"RxDB as a data base: Empowering Web Applications with Reactive Data Handling","url":"/articles/data-base.html#change-streams-and-event-handling","content":" RxDB offers change streams and event handling mechanisms, enabling developers to react to data changes in real-time. With change streams, applications can listen to specific collections or documents and trigger custom logic whenever a change occurs. This capability opens up possibilities for building real-time collaboration features, notifications, or other reactive behaviors. ","version":"Next","tagName":"h3"},{"title":"JSON Key Compression","type":1,"pageTitle":"RxDB as a data base: Empowering Web Applications with Reactive Data Handling","url":"/articles/data-base.html#json-key-compression","content":" In scenarios where storage size is a concern, RxDB provides JSON key compression. By applying compression techniques to JSON keys, developers can significantly reduce the storage footprint of their data bases. This feature is particularly beneficial for applications dealing with large datasets or limited storage capacities. ","version":"Next","tagName":"h3"},{"title":"Conclusion","type":1,"pageTitle":"RxDB as a data base: Empowering Web Applications with Reactive Data Handling","url":"/articles/data-base.html#conclusion","content":" RxDB provides an exceptional data base solution for web and mobile applications, empowering developers to create reactive, offline-ready, and synchronized applications. With its reactive data handling, offline-first approach, and replication plugins, RxDB simplifies the challenges of building real-time applications with data synchronization requirements. By embracing advanced features like indexing, encryption, change streams, and JSON key compression, developers can optimize performance, enhance security, and reduce storage requirements. As web and mobile applications continue to evolve, RxDB proves to be a reliable and powerful ","version":"Next","tagName":"h2"},{"title":"Using RxDB as an Embedded Database","type":0,"sectionRef":"#","url":"/articles/embedded-database.html","content":"","keywords":"","version":"Next"},{"title":"What is an Embedded Database?","type":1,"pageTitle":"Using RxDB as an Embedded Database","url":"/articles/embedded-database.html#what-is-an-embedded-database","content":" An embedded database refers to a client-side database system that is integrated directly within an application. It is designed to operate within the client environment, such as a web browser or a mobile app. This approach eliminates the need for a separate database server and allows the database to run locally on the client device. ","version":"Next","tagName":"h2"},{"title":"Embedded Database in UI Applications","type":1,"pageTitle":"Using RxDB as an Embedded Database","url":"/articles/embedded-database.html#embedded-database-in-ui-applications","content":" In the context of UI applications, an embedded database serves as a local data storage solution. It enables applications to efficiently manage data, facilitate real-time updates, and enhance performance. Let's explore some of the benefits of using an embedded database compared to a traditional server database: Replicating database state becomes easier: Implementing real-time data synchronization and replication is simpler with an embedded database compared to complex REST routes. The embedded nature allows for efficient replication of the database state across multiple instances of the application.Use the database for caching: An embedded database can be utilized for caching frequently accessed data. This caching mechanism enhances performance and reduces the need for repeated network requests, resulting in faster data retrieval.Building real-time applications is easier with local data: By leveraging local data storage, real-time applications can easily update the user interface in response to data changes. This approach simplifies the development of real-time features and enhances the responsiveness of the application.Store local data with encryption: Embedded databases, like RxDB, offer the ability to store local data with encryption. This ensures that sensitive information remains protected even when stored locally on the client device.Data is offline accessible: With an embedded database, data remains accessible even when the application is offline. Users can continue to interact with the application and access their data seamlessly, irrespective of their internet connectivity.Faster initial application start time: Since the data is already stored locally, there is no need for initial data fetching from a remote server. This significantly reduces the application's startup time and allows users to engage with the application more quickly.Improved scalability with local queries: Embedded databases, such as RxDB, perform queries locally on the client device instead of relying on server round-trips. This reduces latency and enhances scalability, particularly when dealing with large datasets or high query volumes.Seamless integration with JavaScript frameworks: Embedded databases, including RxDB, integrate seamlessly with popular JavaScript frameworks like Angular, React.js, Vue.js, and Svelte. This compatibility allows developers to leverage the capabilities of these frameworks while benefiting from embedded database functionality.Running queries locally has low latency: With an embedded database, queries are executed locally on the client device, resulting in minimal latency. This improves the overall performance and responsiveness of the application.Data is portable and always accessible by the user: Embedded databases enable data portability, allowing users to seamlessly transition between devices while maintaining their data and application state. This ensures that data is always accessible and available to the user.Using a local database for state management: Instead of relying on additional state management libraries like Redux or NgRx, an embedded database can be used for local state management. This simplifies state management and ensures data consistency within the application. ","version":"Next","tagName":"h2"},{"title":"Why RxDB as an Embedded Database for Real-time Applications","type":1,"pageTitle":"Using RxDB as an Embedded Database","url":"/articles/embedded-database.html#why-rxdb-as-an-embedded-database-for-real-time-applications","content":" RxDB is a JavaScript-based embedded database that offers numerous advantages for building real-time applications. Let's explore why RxDB is a compelling choice: Observable Queries (RxJS): RxDB leverages the power of Observables through RxJS, enabling developers to create queries that automatically update the user interface on data changes. This reactive approach simplifies UI updates and ensures real-time synchronization of data.NoSQL JSON Documents for UIs: RxDB utilizes NoSQL (JSON) documents as its data model, aligning seamlessly with the requirements of modern UI development. JavaScript's native support for JSON objects makes NoSQL documents a natural fit for UI-driven applications.Better TypeScript Support Compared to SQL: RxDB's NoSQL approach provides excellent TypeScript support. The flexibility of working with JSON objects enables robust typing and enhanced development experiences, ensuring type safety and reducing runtime errors.Observable Document Fields: RxDB allows developers to observe individual fields within documents. This granularity enables efficient tracking of specific data changes and facilitates targeted UI updates, enhancing performance and responsiveness.Made in JavaScript, Optimized for JavaScript Applications: Being built entirely in JavaScript, RxDB is optimized for JavaScript applications. It leverages JavaScript's capabilities and integrates seamlessly with JavaScript frameworks and libraries, making it a natural choice for JavaScript developers.Optimized Observed Queries with the EventReduce Algorithm: RxDB incorporates the EventReduce algorithm to optimize observed queries. This algorithm reduces the number of emitted events during query execution, resulting in enhanced query performance and reduced overhead.Built-in Multi-tab Support: RxDB provides built-in multi-tab support, allowing multiple instances of an application to share and synchronize data seamlessly. This feature enables collaborative and real-time scenarios across multiple browser tabs or windows.Handling of Schema Changes across Multiple Client Devices: With RxDB, handling schema changes across multiple client devices becomes straightforward. RxDB's schema migration capabilities ensure that applications can seamlessly adapt to evolving data structures, providing a consistent experience across different devices.Storing Documents Compressed: RxDB offers the ability to store documents in a compressed format. This reduces the storage footprint and improves performance, especially when dealing with large datasets.Flexible Storage Layer and Cross-platform Compatibility: RxDB provides a flexible storage layer that can be reused across various platforms, including Electron.js, React Native, hybrid apps (via Capacitor.js), and browsers. This cross-platform compatibility simplifies development and enables code reuse across different environments.Replication Algorithm for Backend Compatibility: RxDB's replication algorithm is open-source and can be made compatible with various backend solutions, such as self-hosted servers, Firebase, CouchDB, NATS, WebSockets, and more. This flexibility allows developers to choose their preferred backend infrastructure while benefiting from RxDB's embedded database capabilities. ","version":"Next","tagName":"h2"},{"title":"Follow Up","type":1,"pageTitle":"Using RxDB as an Embedded Database","url":"/articles/embedded-database.html#follow-up","content":" To further explore RxDB and leverage its capabilities as an embedded database, the following resources can be helpful: RxDB GitHub Repository: Visit the official GitHub repository of RxDB to access the source code, documentation, and community support.RxDB Quickstart: Get started quickly with RxDB by following the provided quickstart guide, which offers step-by-step instructions for setting up and using RxDB in your projects. By utilizing RxDB as an embedded database in UI applications, developers can harness the power of efficient data management, real-time updates, and enhanced user experiences. RxDB's features and benefits make it a compelling choice for building modern, responsive, and scalable applications. ","version":"Next","tagName":"h2"},{"title":"RxDB as a Database in a Flutter Application","type":0,"sectionRef":"#","url":"/articles/flutter-database.html","content":"","keywords":"","version":"Next"},{"title":"Overview of Flutter Mobile Applications","type":1,"pageTitle":"RxDB as a Database in a Flutter Application","url":"/articles/flutter-database.html#overview-of-flutter-mobile-applications","content":" Flutter is an open-source UI software development kit created by Google that allows developers to build high-performance mobile applications for iOS and Android platforms using a single codebase. Flutter's framework provides a wide range of widgets and tools that enable developers to create visually appealing and responsive applications. ","version":"Next","tagName":"h3"},{"title":"Importance of Databases in Flutter Applications","type":1,"pageTitle":"RxDB as a Database in a Flutter Application","url":"/articles/flutter-database.html#importance-of-databases-in-flutter-applications","content":" Databases play a vital role in Flutter applications by providing a persistent and reliable storage solution for storing and retrieving data. Whether it's user profiles, app settings, or complex data structures, a database helps in efficiently managing and organizing the application's data. Choosing the right database for a Flutter application can significantly impact the performance, scalability, and user experience of the app. ","version":"Next","tagName":"h3"},{"title":"Introducing RxDB as a Database Solution","type":1,"pageTitle":"RxDB as a Database in a Flutter Application","url":"/articles/flutter-database.html#introducing-rxdb-as-a-database-solution","content":" RxDB is a powerful NoSQL database solution that is designed to work seamlessly with JavaScript-based frameworks, such as Flutter. It stands for Reactive Database and offers a variety of features that make it an excellent choice for building Flutter applications. RxDB combines the simplicity of JavaScript's document-based database model with the reactive programming paradigm, enabling developers to build real-time and offline-first applications with ease. ","version":"Next","tagName":"h3"},{"title":"Getting Started with RxDB","type":1,"pageTitle":"RxDB as a Database in a Flutter Application","url":"/articles/flutter-database.html#getting-started-with-rxdb","content":" To understand how RxDB can be utilized in a Flutter application, let's explore its core features and advantages. ","version":"Next","tagName":"h2"},{"title":"What is RxDB?","type":1,"pageTitle":"RxDB as a Database in a Flutter Application","url":"/articles/flutter-database.html#what-is-rxdb","content":" RxDB is a client-side database built on top of IndexedDB, which is a low-level browser-based database API. It provides a simple and intuitive API for performing CRUD operations (Create, Read, Update, Delete) on documents. RxDB's underlying architecture allows for efficient handling of data synchronization between multiple clients and servers. ","version":"Next","tagName":"h3"},{"title":"Reactive Data Handling","type":1,"pageTitle":"RxDB as a Database in a Flutter Application","url":"/articles/flutter-database.html#reactive-data-handling","content":" One of the key strengths of RxDB is its reactive data handling. It leverages the power of Observables, a concept from reactive programming, to automatically update the UI in response to data changes. With RxDB, developers can define queries and subscribe to their results, ensuring that the UI is always in sync with the database. ","version":"Next","tagName":"h3"},{"title":"Offline-First Approach","type":1,"pageTitle":"RxDB as a Database in a Flutter Application","url":"/articles/flutter-database.html#offline-first-approach","content":" RxDB follows an offline-first approach, making it ideal for building Flutter applications that need to function even without an internet connection. It allows data to be stored locally and seamlessly synchronizes it with the server when a connection is available. This ensures that users can access and interact with their data regardless of network availability. ","version":"Next","tagName":"h3"},{"title":"Data Replication","type":1,"pageTitle":"RxDB as a Database in a Flutter Application","url":"/articles/flutter-database.html#data-replication","content":" Data replication is a critical aspect of building distributed applications. RxDB provides robust replication capabilities that enable synchronization of data between different clients and servers. With its replication plugins, RxDB simplifies the process of setting up real-time data synchronization, ensuring consistency across all connected devices. ","version":"Next","tagName":"h3"},{"title":"Observable Queries","type":1,"pageTitle":"RxDB as a Database in a Flutter Application","url":"/articles/flutter-database.html#observable-queries","content":" RxDB introduces the concept of observable queries, which are queries that automatically update when the underlying data changes. This feature is particularly useful for keeping the UI up to date with the latest data. By subscribing to an observable query, developers can receive real-time updates and reflect them in the user interface without manual intervention. ","version":"Next","tagName":"h3"},{"title":"RxDB vs. Other Flutter Database Options","type":1,"pageTitle":"RxDB as a Database in a Flutter Application","url":"/articles/flutter-database.html#rxdb-vs-other-flutter-database-options","content":" When considering database options for Flutter applications, developers often come across alternatives such as SQLite or LokiJS. While these databases have their merits, RxDB offers several advantages over them. RxDB's seamless integration with Flutter, its offline-first approach, reactive data handling, and built-in data replication make it a compelling choice for building feature-rich and scalable Flutter applications. ","version":"Next","tagName":"h3"},{"title":"Using RxDB in a Flutter Application","type":1,"pageTitle":"RxDB as a Database in a Flutter Application","url":"/articles/flutter-database.html#using-rxdb-in-a-flutter-application","content":" Now that we understand the core features of RxDB, let's explore how to integrate it into a Flutter application. ","version":"Next","tagName":"h2"},{"title":"How RxDB can run in Flutter","type":1,"pageTitle":"RxDB as a Database in a Flutter Application","url":"/articles/flutter-database.html#how-rxdb-can-run-in-flutter","content":" RxDB is written in TypeScript and compiled to JavaScript. To run it in a Flutter application, the flutter_qjs library is used to spawn a QuickJS JavaScript runtime. RxDB itself runs in that runtime and communicates with the flutter dart runtime. To store data persistent, the LokiJS RxStorage is used together with a custom storage adapter that persists the database inside of the shared_preferences data. To use RxDB, you have to create a compatible JavaScript file that creates your RxDatabase and starts some connectors which are used by Flutter to communicate with the JavaScript RxDB database via setFlutterRxDatabaseConnector(). import { createRxDatabase } from 'rxdb'; import { getRxStorageLoki } from 'rxdb/plugins/storage-lokijs'; import { setFlutterRxDatabaseConnector, getLokijsAdapterFlutter } from 'rxdb/plugins/flutter'; // do all database creation stuff in this method. async function createDB(databaseName) { // create the RxDatabase const db = await createRxDatabase({ // the database.name is variable so we can change it on the flutter side name: databaseName, storage: getRxStorageLoki({ adapter: getLokijsAdapterFlutter() }), multiInstance: false }); await db.addCollections({ heroes: { schema: { version: 0, primaryKey: 'id', type: 'object', properties: { id: { type: 'string', maxLength: 100 }, name: { type: 'string', maxLength: 100 }, color: { type: 'string', maxLength: 30 } }, indexes: ['name'], required: ['id', 'name', 'color'] } } }); return db; } // start the connector so that flutter can communicate with the JavaScript process setFlutterRxDatabaseConnector( createDB ); Before you can use the JavaScript code, you have to bundle it into a single .js file. In this example we do that with webpack in a npm script here which bundles everything into the javascript/dist/index.js file. To allow Flutter to access that file during runtime, add it to the assets inside of your pubspec.yaml: flutter: assets: - javascript/dist/index.js Also you need to install RxDB in your flutter part of the application. First you have to use the rxdb dart package as a flutter dependency. Currently the package is not published at the dart pub.dev. Instead you have to install it from the local filesystem inside of your RxDB npm installation. # inside of pubspec.yaml dependencies: rxdb: path: path/to/your/node_modules/rxdb/src/plugins/flutter/dart Afterwards you can import the rxdb library in your dart code and connect to the JavaScript process from there. For reference, check out the lib/main.dart file. import 'package:rxdb/rxdb.dart'; // start the javascript process and connect to the database RxDatabase database = await getRxDatabase("javascript/dist/index.js", databaseName); // get a collection RxCollection collection = database.getCollection('heroes'); // insert a document RxDocument document = await collection.insert({ "id": "zflutter-${DateTime.now()}", "name": nameController.text, "color": colorController.text }); // create a query RxQuery<RxHeroDocType> query = RxDatabaseState.collection.find(); // create list to store query results List<RxDocument<RxHeroDocType>> documents = []; // subscribe to a query query.$().listen((results) { setState(() { documents = results; }); }); ","version":"Next","tagName":"h2"},{"title":"Different RxStorage layers for RxDB","type":1,"pageTitle":"RxDB as a Database in a Flutter Application","url":"/articles/flutter-database.html#different-rxstorage-layers-for-rxdb","content":" RxDB offers multiple storage options, known as RxStorage layers, to store data locally. These options include: LokiJS RxStorage: LokiJS is an in-memory database that can be used as a storage layer for RxDB. It provides fast and efficient in-memory data management capabilities.SQLite RxStorage: SQLite is a popular and widely used embedded database that offers robust storage capabilities. RxDB utilizes SQLite as a storage layer to persist data on the device.Memory RxStorage: As the name suggests, Memory RxStorage stores data in memory. While this option does not provide persistence, it can be useful for temporary or cache-based data storage. By choosing the appropriate RxStorage layer based on the specific requirements of the application, developers can optimize performance and storage efficiency. ","version":"Next","tagName":"h3"},{"title":"Synchronizing Data with RxDB between Clients and Servers","type":1,"pageTitle":"RxDB as a Database in a Flutter Application","url":"/articles/flutter-database.html#synchronizing-data-with-rxdb-between-clients-and-servers","content":" One of the key strengths of RxDB is its ability to synchronize data between multiple clients and servers seamlessly. Let's explore how this synchronization can be achieved. ","version":"Next","tagName":"h2"},{"title":"Offline-First Approach","type":1,"pageTitle":"RxDB as a Database in a Flutter Application","url":"/articles/flutter-database.html#offline-first-approach-1","content":" RxDB's offline-first approach ensures that data can be accessed and modified even when there is no internet connection. Changes made offline are automatically synchronized with the server once a connection is reestablished. This ensures data consistency across all devices, providing a seamless user experience. ","version":"Next","tagName":"h3"},{"title":"RxDB Replication Plugins","type":1,"pageTitle":"RxDB as a Database in a Flutter Application","url":"/articles/flutter-database.html#rxdb-replication-plugins","content":" RxDB provides replication plugins that simplify the process of setting up data synchronization between clients and servers. These plugins offer various synchronization strategies, such as one-way replication, two-way replication, and conflict resolution mechanisms. By configuring the appropriate replication plugin, developers can easily establish real-time data synchronization in their Flutter applications. ","version":"Next","tagName":"h3"},{"title":"Advanced RxDB Features and Techniques","type":1,"pageTitle":"RxDB as a Database in a Flutter Application","url":"/articles/flutter-database.html#advanced-rxdb-features-and-techniques","content":" RxDB offers a range of advanced features and techniques that enhance its functionality and performance. Let's explore a few of these features: ","version":"Next","tagName":"h2"},{"title":"Indexing and Performance Optimization","type":1,"pageTitle":"RxDB as a Database in a Flutter Application","url":"/articles/flutter-database.html#indexing-and-performance-optimization","content":" Indexing is a technique used to optimize query performance by creating indexes on specific fields. RxDB allows developers to define indexes on document fields, improving the efficiency of queries and data retrieval. ","version":"Next","tagName":"h3"},{"title":"Encryption of Local Data","type":1,"pageTitle":"RxDB as a Database in a Flutter Application","url":"/articles/flutter-database.html#encryption-of-local-data","content":" To ensure data privacy and security, RxDB supports encryption of local data. By encrypting the data stored on the device, developers can protect sensitive information and prevent unauthorized access. ","version":"Next","tagName":"h3"},{"title":"Change Streams and Event Handling","type":1,"pageTitle":"RxDB as a Database in a Flutter Application","url":"/articles/flutter-database.html#change-streams-and-event-handling","content":" RxDB provides change streams, which emit events whenever data changes occur. By leveraging change streams, developers can implement custom event handling logic, such as updating the UI or triggering background processes, in response to specific data changes. ","version":"Next","tagName":"h3"},{"title":"JSON Key Compression","type":1,"pageTitle":"RxDB as a Database in a Flutter Application","url":"/articles/flutter-database.html#json-key-compression","content":" To minimize storage requirements and optimize performance, RxDB offers JSON key compression. This feature reduces the size of keys used in the database, resulting in more efficient storage and improved query performance. ","version":"Next","tagName":"h3"},{"title":"Conclusion","type":1,"pageTitle":"RxDB as a Database in a Flutter Application","url":"/articles/flutter-database.html#conclusion","content":" RxDB offers a powerful and flexible database solution for Flutter applications. With its offline-first approach, real-time data synchronization, and reactive data handling capabilities, RxDB simplifies the development of feature-rich and scalable Flutter applications. By integrating RxDB into your Flutter projects, you can leverage its advanced features and techniques to build responsive and data-driven applications that provide an exceptional user experience. note You can find the source code for an example RxDB Flutter Application at the github repo ","version":"Next","tagName":"h2"},{"title":"RxDB - The Firebase Realtime Database Alternative That Can Sync With Your Own Backend","type":0,"sectionRef":"#","url":"/articles/firebase-realtime-database-alternative.html","content":"","keywords":"","version":"Next"},{"title":"Why RxDB Is an Excellent Firebase Realtime Database Alternative","type":1,"pageTitle":"RxDB - The Firebase Realtime Database Alternative That Can Sync With Your Own Backend","url":"/articles/firebase-realtime-database-alternative.html#why-rxdb-is-an-excellent-firebase-realtime-database-alternative","content":" ","version":"Next","tagName":"h2"},{"title":"1. Complete Offline-First Experience","type":1,"pageTitle":"RxDB - The Firebase Realtime Database Alternative That Can Sync With Your Own Backend","url":"/articles/firebase-realtime-database-alternative.html#1-complete-offline-first-experience","content":" Unlike Firebase Realtime Database, which relies on central infrastructure to process data, RxDB is fully embedded within your client application (including browsers, Node.js, Electron, and React Native). This design means your app stays completely functional offline, since all data reads and writes happen locally. When connectivity is restored, RxDB's syncing framework automatically reconciles local changes with your remote backend. ","version":"Next","tagName":"h3"},{"title":"2. Freedom to Use Any Server or Cloud","type":1,"pageTitle":"RxDB - The Firebase Realtime Database Alternative That Can Sync With Your Own Backend","url":"/articles/firebase-realtime-database-alternative.html#2-freedom-to-use-any-server-or-cloud","content":" While Firebase Realtime Database ties you into Google's ecosystem, RxDB allows you to choose any hosting environment. You can: Host your data on your own servers or private cloud.Integrate with relational databases like PostgreSQL or other NoSQL options such as CouchDB.Build custom endpoints using REST, GraphQL, or any other protocol. This flexibility ensures you're not locked into a single vendor and can adapt your backend strategy as your project evolves. ","version":"Next","tagName":"h3"},{"title":"3. Advanced Conflict Handling","type":1,"pageTitle":"RxDB - The Firebase Realtime Database Alternative That Can Sync With Your Own Backend","url":"/articles/firebase-realtime-database-alternative.html#3-advanced-conflict-handling","content":" Firebase Realtime Database typically updates data with a simple last-in-wins approach. RxDB, on the other hand, lets you implement more sophisticated conflict resolution logic. Using revisions and conflict handlers, RxDB can merge concurrent edits or preserve multiple versions—ensuring your application remains consistent even when multiple clients modify the same data at the same time. ","version":"Next","tagName":"h3"},{"title":"4. Lower Cloud Costs for Read-Heavy Apps","type":1,"pageTitle":"RxDB - The Firebase Realtime Database Alternative That Can Sync With Your Own Backend","url":"/articles/firebase-realtime-database-alternative.html#4-lower-cloud-costs-for-read-heavy-apps","content":" When you rely on Firebase Realtime Database, each query or listener can translate into ongoing reads, potentially running up your monthly bill. With RxDB, all queries are performed locally. Your app only communicates with the backend to sync document changes, significantly reducing bandwidth and hosting expenses for applications that frequently read data. ","version":"Next","tagName":"h3"},{"title":"5. Powerful Local Queries","type":1,"pageTitle":"RxDB - The Firebase Realtime Database Alternative That Can Sync With Your Own Backend","url":"/articles/firebase-realtime-database-alternative.html#5-powerful-local-queries","content":" If you've hit Firebase Realtime Database's querying limits, RxDB offers a far more robust approach to data retrieval. You can: Define custom indexes for faster local lookups.Perform sophisticated filters, joins, or full-text searches right on the client.Subscribe to real-time data updates through RxDB's reactive query engine. Because these operations happen locally, your UI updates instantly, providing a snappy user experience. ","version":"Next","tagName":"h3"},{"title":"6. True Offline Initialization","type":1,"pageTitle":"RxDB - The Firebase Realtime Database Alternative That Can Sync With Your Own Backend","url":"/articles/firebase-realtime-database-alternative.html#6-true-offline-initialization","content":" While Firebase offers some offline caching, it often requires an initial connection for authentication or to seed local data. RxDB, however, is built to handle an offline-start scenario. Users can begin working with the application immediately, regardless of connectivity, and any modifications they make will sync once the network is available again. ","version":"Next","tagName":"h3"},{"title":"7. Works Everywhere JavaScript Runs","type":1,"pageTitle":"RxDB - The Firebase Realtime Database Alternative That Can Sync With Your Own Backend","url":"/articles/firebase-realtime-database-alternative.html#7-works-everywhere-javascript-runs","content":" One of RxDB's core strengths is its ability to run in any JavaScript environment. Whether you're building a web app that uses IndexedDB in the browser, an Electron desktop program, or a React Native mobile application, RxDB's swappable storage adapts to your runtime of choice. This consistency makes code-sharing and cross-platform development far simpler than being tied to a single backend system. ","version":"Next","tagName":"h3"},{"title":"How RxDB's Syncing Mechanism Operates","type":1,"pageTitle":"RxDB - The Firebase Realtime Database Alternative That Can Sync With Your Own Backend","url":"/articles/firebase-realtime-database-alternative.html#how-rxdbs-syncing-mechanism-operates","content":" RxDB employs its own Sync Engine to manage data flow between your client and remote servers. Replication revolves around: Pull: Retrieving updated or newly created documents from the server.Push: Sending local changes to the backend for persistence.Live Updates: Continuously streaming changes to and from the backend for real-time synchronization. ","version":"Next","tagName":"h2"},{"title":"Sample Code: Sync RxDB With a Custom Endpoint","type":1,"pageTitle":"RxDB - The Firebase Realtime Database Alternative That Can Sync With Your Own Backend","url":"/articles/firebase-realtime-database-alternative.html#sample-code-sync-rxdb-with-a-custom-endpoint","content":" import { createRxDatabase } from 'rxdb/plugins/core'; import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage'; import { replicateRxCollection } from 'rxdb/plugins/replication'; async function initDB() { const db = await createRxDatabase({ name: 'localdb', storage: getRxStorageLocalstorage(), multiInstance: true, eventReduce: true }); await db.addCollections({ tasks: { schema: { title: 'task schema', version: 0, type: 'object', primaryKey: 'id', properties: { id: { type: 'string', maxLength: 100 }, title: { type: 'string' }, complete: { type: 'boolean' } } } } }); // Start a custom replication replicateRxCollection({ collection: db.tasks, replicationIdentifier: 'custom-tasks-api', push: { handler: async (docs) => { // post local changes to your server const resp = await fetch('https://yourapi.com/tasks/push', { method: 'POST', body: JSON.stringify({ changes: docs }) }); return await resp.json(); // return conflicting documents if any } }, pull: { handler: async (lastCheckpoint, batchSize) => { // fetch new/updated items from your server const response = await fetch( `https://yourapi.com/tasks/pull?checkpoint=${JSON.stringify( lastCheckpoint )}&limit=${batchSize}` ); return await response.json(); } }, live: true }); return db; } ","version":"Next","tagName":"h2"},{"title":"Setting Up P2P Replication Over WebRTC","type":1,"pageTitle":"RxDB - The Firebase Realtime Database Alternative That Can Sync With Your Own Backend","url":"/articles/firebase-realtime-database-alternative.html#setting-up-p2p-replication-over-webrtc","content":" In addition to using a centralized backend, RxDB supports peer-to-peer synchronization through WebRTC, enabling devices to share data directly. import { replicateWebRTC, getConnectionHandlerSimplePeer } from 'rxdb/plugins/replication-webrtc'; const webrtcPool = await replicateWebRTC({ collection: db.tasks, topic: 'p2p-topic-123', connectionHandlerCreator: getConnectionHandlerSimplePeer({ signalingServerUrl: 'wss://signaling.rxdb.info/', wrtc: require('node-datachannel/polyfill'), webSocketConstructor: require('ws').WebSocket }) }); webrtcPool.error$.subscribe((error) => { console.error('P2P error:', error); }); Here, any client that joins the same topic communicates changes to other peers, all without requiring a traditional client-server model. ","version":"Next","tagName":"h3"},{"title":"Quick Steps to Get Started","type":1,"pageTitle":"RxDB - The Firebase Realtime Database Alternative That Can Sync With Your Own Backend","url":"/articles/firebase-realtime-database-alternative.html#quick-steps-to-get-started","content":" Install RxDB npm install rxdb rxjs Create a Local Database import { createRxDatabase } from 'rxdb/plugins/core'; import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage'; const db = await createRxDatabase({ name: 'myLocalDB', storage: getRxStorageLocalstorage() }); Add a Collection ts Kopieren await db.addCollections({ notes: { schema: { title: 'notes schema', version: 0, primaryKey: 'id', type: 'object', properties: { id: { type: 'string', maxLenght: 100 }, content: { type: 'string' } } } } }); Synchronize Use one of the Replication Plugins to connect with your preferred backend. ","version":"Next","tagName":"h2"},{"title":"Is RxDB the Right Solution for You?","type":1,"pageTitle":"RxDB - The Firebase Realtime Database Alternative That Can Sync With Your Own Backend","url":"/articles/firebase-realtime-database-alternative.html#is-rxdb-the-right-solution-for-you","content":" Long Offline Use: If your users need to work without an internet connection, RxDB's built-in offline-first design stands out compared to Firebase Realtime Database's partial offline approach.Custom or Complex Queries: RxDB lets you perform your queries locally, define indexing, and handle even complex transformations locally - no extra call to an external API.Avoid Vendor Lock-In: If you anticipate needing to move or adapt your backend later, you can do so without rewriting how your client manages its data.Peer-to-Peer Collaboration: Whether you need quick demos or real production use, WebRTC replication can link your users directly without central coordination of data storage. ","version":"Next","tagName":"h3"},{"title":"RxDB JavaScript Frontend Database: Efficient Data Storage in Frontend Applications","type":0,"sectionRef":"#","url":"/articles/frontend-database.html","content":"","keywords":"","version":"Next"},{"title":"Why you might want to store data in the frontend","type":1,"pageTitle":"RxDB JavaScript Frontend Database: Efficient Data Storage in Frontend Applications","url":"/articles/frontend-database.html#why-you-might-want-to-store-data-in-the-frontend","content":" ","version":"Next","tagName":"h2"},{"title":"Offline accessibility","type":1,"pageTitle":"RxDB JavaScript Frontend Database: Efficient Data Storage in Frontend Applications","url":"/articles/frontend-database.html#offline-accessibility","content":" One compelling reason to store data in the frontend is to enable offline accessibility. By leveraging a frontend database, applications can cache essential data locally, allowing users to continue using the application even when an internet connection is unavailable. This feature is particularly useful for mobile applications or web apps with limited or intermittent connectivity. ","version":"Next","tagName":"h3"},{"title":"Caching","type":1,"pageTitle":"RxDB JavaScript Frontend Database: Efficient Data Storage in Frontend Applications","url":"/articles/frontend-database.html#caching","content":" Frontend databases also serve as efficient caching mechanisms. By storing frequently accessed data locally, applications can minimize network requests and reduce latency, resulting in faster and more responsive user experiences. Caching is particularly beneficial for applications that heavily rely on remote data or perform computationally intensive operations. ","version":"Next","tagName":"h3"},{"title":"Decreased initial application start time","type":1,"pageTitle":"RxDB JavaScript Frontend Database: Efficient Data Storage in Frontend Applications","url":"/articles/frontend-database.html#decreased-initial-application-start-time","content":" Storing data in the frontend decreases the initial application start time because the data is already present locally. By eliminating the need to fetch data from a server during startup, applications can quickly render the UI and provide users with an immediate interactive experience. This is especially advantageous for applications with large datasets or complex data retrieval processes. ","version":"Next","tagName":"h3"},{"title":"Password encryption for local data","type":1,"pageTitle":"RxDB JavaScript Frontend Database: Efficient Data Storage in Frontend Applications","url":"/articles/frontend-database.html#password-encryption-for-local-data","content":" Security is a crucial aspect of data storage. With a front end database, developers can encrypt sensitive local data, such as user credentials or personal information, using encryption algorithms. This ensures that even if the device is compromised, the data remains securely stored and protected. ","version":"Next","tagName":"h3"},{"title":"Local database for state management","type":1,"pageTitle":"RxDB JavaScript Frontend Database: Efficient Data Storage in Frontend Applications","url":"/articles/frontend-database.html#local-database-for-state-management","content":" Frontend databases provide an alternative to traditional state management libraries like Redux or NgRx. By utilizing a local database, developers can store and manage application state directly in the frontend, eliminating the need for additional libraries. This approach simplifies the codebase, reduces complexity, and provides a more straightforward data flow within the application. ","version":"Next","tagName":"h3"},{"title":"Low-latency local queries","type":1,"pageTitle":"RxDB JavaScript Frontend Database: Efficient Data Storage in Frontend Applications","url":"/articles/frontend-database.html#low-latency-local-queries","content":" Frontend databases enable low-latency queries that run entirely on the client's device. Instead of relying on server round-trips for each query, the database executes queries locally, resulting in faster response times. This is particularly beneficial for applications that require real-time updates or frequent data retrieval. ","version":"Next","tagName":"h3"},{"title":"Building realtime applications with local data","type":1,"pageTitle":"RxDB JavaScript Frontend Database: Efficient Data Storage in Frontend Applications","url":"/articles/frontend-database.html#building-realtime-applications-with-local-data","content":" Realtime applications often require immediate updates based on data changes. By storing data locally and utilizing a frontend database, developers can build realtime applications more easily. The database can observe data changes and automatically update the UI, providing a seamless and responsive user experience. ","version":"Next","tagName":"h3"},{"title":"Easier integration with JavaScript frameworks","type":1,"pageTitle":"RxDB JavaScript Frontend Database: Efficient Data Storage in Frontend Applications","url":"/articles/frontend-database.html#easier-integration-with-javascript-frameworks","content":" Frontend databases, including RxDB, are designed to integrate seamlessly with popular JavaScript frameworks such as Angular, React.js, Vue.js, and Svelte. These databases offer well-defined APIs and support that align with the specific requirements of these frameworks, enabling developers to leverage the full potential of the frontend database within their preferred development environment. ","version":"Next","tagName":"h3"},{"title":"Simplified replication of database state","type":1,"pageTitle":"RxDB JavaScript Frontend Database: Efficient Data Storage in Frontend Applications","url":"/articles/frontend-database.html#simplified-replication-of-database-state","content":" Replicating database state between the frontend and backend can be challenging, especially when dealing with complex REST routes. Frontend databases, however, provide simple mechanisms for replicating database state. They offer intuitive replication algorithms that facilitate data synchronization between the frontend and backend, reducing the complexity and potential pitfalls associated with complex REST-based replication. ","version":"Next","tagName":"h3"},{"title":"Improved scalability","type":1,"pageTitle":"RxDB JavaScript Frontend Database: Efficient Data Storage in Frontend Applications","url":"/articles/frontend-database.html#improved-scalability","content":" Frontend databases offer improved scalability compared to traditional SQL databases. By leveraging the computational capabilities of client devices, the burden on server resources is reduced. Queries and operations are performed locally, minimizing the need for server round-trips and enabling applications to scale more efficiently. ","version":"Next","tagName":"h3"},{"title":"Why SQL databases are not a good fit for the front end of an application","type":1,"pageTitle":"RxDB JavaScript Frontend Database: Efficient Data Storage in Frontend Applications","url":"/articles/frontend-database.html#why-sql-databases-are-not-a-good-fit-for-the-front-end-of-an-application","content":" While SQL databases excel in server-side scenarios, they pose limitations when used on the frontend. Here are some reasons why SQL databases are not well-suited for frontend applications: ","version":"Next","tagName":"h2"},{"title":"Push/Pull based vs. reactive","type":1,"pageTitle":"RxDB JavaScript Frontend Database: Efficient Data Storage in Frontend Applications","url":"/articles/frontend-database.html#pushpull-based-vs-reactive","content":" SQL databases typically rely on a push/pull model, where the server pushes data to the client upon request. This approach is not inherently reactive, as it requires explicit requests for data updates. In contrast, frontend applications often require reactive data flows, where changes in data trigger automatic updates in the UI. Frontend databases, like RxDB, provide reactive capabilities that seamlessly integrate with the dynamic nature of frontend development. ","version":"Next","tagName":"h3"},{"title":"Initialization time and performance","type":1,"pageTitle":"RxDB JavaScript Frontend Database: Efficient Data Storage in Frontend Applications","url":"/articles/frontend-database.html#initialization-time-and-performance","content":" SQL databases designed for server-side usage tend to have larger build sizes and initialization times, making them less efficient for browser-based applications. Frontend databases, on the other hand, directly leverage browser APIs like IndexedDB, OPFS, and WebWorker, resulting in leaner builds and faster initialization times. Often the queries are such fast, that it is not even necessary to implement a loading spinner. ","version":"Next","tagName":"h3"},{"title":"Build size considerations","type":1,"pageTitle":"RxDB JavaScript Frontend Database: Efficient Data Storage in Frontend Applications","url":"/articles/frontend-database.html#build-size-considerations","content":" Server-side SQL databases typically come with a significant build size, which can be impractical for browser applications where code size optimization is crucial. Frontend databases, on the other hand, are specifically designed to operate within the constraints of browser environments, ensuring efficient resource utilization and smaller build sizes. For example the SQLite Webassembly file alone has a size of over 0.8 Megabyte with an additional 0.2 Megabyte in JavaScript code for connection. ","version":"Next","tagName":"h3"},{"title":"Why RxDB is a good fit for the frontend","type":1,"pageTitle":"RxDB JavaScript Frontend Database: Efficient Data Storage in Frontend Applications","url":"/articles/frontend-database.html#why-rxdb-is-a-good-fit-for-the-frontend","content":" RxDB is a powerful frontend JavaScript database that addresses the limitations of SQL databases and provides an optimal solution for frontend data storage. Let's explore why RxDB is an excellent fit for frontend applications: ","version":"Next","tagName":"h2"},{"title":"Made in JavaScript, optimized for JavaScript applications","type":1,"pageTitle":"RxDB JavaScript Frontend Database: Efficient Data Storage in Frontend Applications","url":"/articles/frontend-database.html#made-in-javascript-optimized-for-javascript-applications","content":" RxDB is designed and optimized for JavaScript applications. Built using JavaScript itself, RxDB offers seamless integration with JavaScript frameworks and libraries, allowing developers to leverage their existing JavaScript knowledge and skills. ","version":"Next","tagName":"h3"},{"title":"NoSQL (JSON) documents for UIs","type":1,"pageTitle":"RxDB JavaScript Frontend Database: Efficient Data Storage in Frontend Applications","url":"/articles/frontend-database.html#nosql-json-documents-for-uis","content":" RxDB adopts a NoSQL approach, using JSON documents as its primary data structure. This aligns well with the JavaScript ecosystem, as JavaScript natively works with JSON objects. By using NoSQL documents, RxDB provides a more natural and intuitive data model for UI-centric applications. ","version":"Next","tagName":"h3"},{"title":"Better TypeScript support compared to SQL","type":1,"pageTitle":"RxDB JavaScript Frontend Database: Efficient Data Storage in Frontend Applications","url":"/articles/frontend-database.html#better-typescript-support-compared-to-sql","content":" TypeScript has become increasingly popular for building frontend applications. RxDB provides excellent TypeScript support, allowing developers to leverage static typing and benefit from enhanced code quality and tooling. This is particularly advantageous when compared to SQL databases, which often have limited TypeScript support. ","version":"Next","tagName":"h3"},{"title":"Observable Queries for automatic UI updates","type":1,"pageTitle":"RxDB JavaScript Frontend Database: Efficient Data Storage in Frontend Applications","url":"/articles/frontend-database.html#observable-queries-for-automatic-ui-updates","content":" RxDB introduces the concept of observable queries, powered by RxJS. Observable queries automatically update the UI whenever there are changes in the underlying data. This reactive approach eliminates the need for manual UI updates and ensures that the frontend remains synchronized with the database state. ","version":"Next","tagName":"h3"},{"title":"Optimized observed queries with the EventReduce Algorithm","type":1,"pageTitle":"RxDB JavaScript Frontend Database: Efficient Data Storage in Frontend Applications","url":"/articles/frontend-database.html#optimized-observed-queries-with-the-eventreduce-algorithm","content":" RxDB optimizes observed queries with its EventReduce Algorithm. This algorithm intelligently reduces redundant events and ensures that UI updates are performed efficiently. By minimizing unnecessary re-renders, RxDB significantly improves performance and responsiveness in frontend applications. const query = myCollection.find({ selector: { age: { $gt: 21 } } }); const querySub = query.$.subscribe(results => { console.log('got results: ' + results.length); }); ","version":"Next","tagName":"h3"},{"title":"Observable document fields","type":1,"pageTitle":"RxDB JavaScript Frontend Database: Efficient Data Storage in Frontend Applications","url":"/articles/frontend-database.html#observable-document-fields","content":" RxDB supports observable document fields, enabling developers to track changes at a granular level within documents. By observing specific fields, developers can reactively update the UI when those fields change, ensuring a responsive and synchronized frontend interface. myDocument.firstName$.subscribe(newName => console.log('name is: ' + newName)); ","version":"Next","tagName":"h3"},{"title":"Storing Documents Compressed","type":1,"pageTitle":"RxDB JavaScript Frontend Database: Efficient Data Storage in Frontend Applications","url":"/articles/frontend-database.html#storing-documents-compressed","content":" RxDB provides the option to store documents in a compressed format, reducing storage requirements and improving overall database performance. Compressed storage offers benefits such as reduced disk space usage, faster data read/write operations, and improved network transfer speeds, making it an essential feature for efficient frontend data storage. ","version":"Next","tagName":"h3"},{"title":"Built-in Multi-tab support","type":1,"pageTitle":"RxDB JavaScript Frontend Database: Efficient Data Storage in Frontend Applications","url":"/articles/frontend-database.html#built-in-multi-tab-support","content":" RxDB offers built-in multi-tab support, allowing data synchronization and state management across multiple browser tabs. This feature ensures consistent data access and synchronization, enabling users to work seamlessly across different tabs without conflicts or data inconsistencies. ","version":"Next","tagName":"h3"},{"title":"Replication Algorithm can be made compatible with any backend","type":1,"pageTitle":"RxDB JavaScript Frontend Database: Efficient Data Storage in Frontend Applications","url":"/articles/frontend-database.html#replication-algorithm-can-be-made-compatible-with-any-backend","content":" RxDB's realtime replication algorithm is designed to be flexible and compatible with various backend systems. Whether you're using your own servers, Firebase, CouchDB, NATS, WebSocket, or any other backend, RxDB can be seamlessly integrated and synchronized with the backend system of your choice. ","version":"Next","tagName":"h3"},{"title":"Flexible storage layer for code reuse","type":1,"pageTitle":"RxDB JavaScript Frontend Database: Efficient Data Storage in Frontend Applications","url":"/articles/frontend-database.html#flexible-storage-layer-for-code-reuse","content":" RxDB provides a flexible storage layer that enables code reuse across different platforms. Whether you're building applications with Electron.js, React Native, hybrid apps using Capacitor.js, or traditional web browsers, RxDB allows you to reuse the same codebase and leverage the power of a frontend database across different environments. ","version":"Next","tagName":"h3"},{"title":"Handling schema changes in distributed environments","type":1,"pageTitle":"RxDB JavaScript Frontend Database: Efficient Data Storage in Frontend Applications","url":"/articles/frontend-database.html#handling-schema-changes-in-distributed-environments","content":" In distributed environments where data is stored on multiple client devices, handling schema changes can be challenging. RxDB tackles this challenge by providing robust mechanisms for handling schema changes. It ensures that schema updates propagate smoothly across devices, maintaining data integrity and enabling seamless schema evolution. ","version":"Next","tagName":"h3"},{"title":"Follow Up","type":1,"pageTitle":"RxDB JavaScript Frontend Database: Efficient Data Storage in Frontend Applications","url":"/articles/frontend-database.html#follow-up","content":" To further explore RxDB and get started with using it in your frontend applications, consider the following resources: RxDB Quickstart: A step-by-step guide to quickly set up RxDB in your project and start leveraging its features.RxDB GitHub Repository: The official repository for RxDB, where you can find the code, examples, and community support. By adopting RxDB as your frontend database, you can unlock the full potential of frontend data storage and empower your applications with offline accessibility, caching, improved performance, and seamless data synchronization. RxDB's JavaScript-centric approach and powerful features make it an ideal choice for frontend developers seeking efficient and scalable data storage solutions. ","version":"Next","tagName":"h2"},{"title":"ideas for articles","type":0,"sectionRef":"#","url":"/articles/ideas","content":"","keywords":"","version":"Next"},{"title":"Seo keywords:","type":1,"pageTitle":"ideas for articles","url":"/articles/ideas#seo-keywords","content":" X- "optimistic ui" X- "local database" (rddt done) X- "react-native encryption" X- "vue database" (rddt done) X- "jquery database" X- "vue indexeddb" X- "firebase realtime database alternative" (rddt done) X- "firestore alternative" (rddt done) X- "ionic storage" (rddt done) X- "local database" X- "offline database" X- "zero local first" X- "webrtc p2p" - 390 http://localhost:3000/replication-webrtc.html X- "indexeddb storage limit" - 590 https://rxdb.info/articles/indexeddb-max-storage-limit.htmlX- "indexeddb size limit" - 260 https://rxdb.info/articles/indexeddb-max-storage-limit.htmlX- "indexeddb max size" - 590 https://rxdb.info/articles/indexeddb-max-storage-limit.htmlX- "indexeddb limits" - 170 https://rxdb.info/articles/indexeddb-max-storage-limit.html X- "json based database" X- "json vs database" X- "reactjs storage" ","version":"Next","tagName":"h2"},{"title":"Seo","type":1,"pageTitle":"ideas for articles","url":"/articles/ideas#seo","content":" "supabase alternative" "store local storage" "react localstorage" "react-native storage" "supabase offline" - 260 "store array in localstorage", "localStorage array of objects" "real time web apps" - 170 "reactive database" - 210 "electron sqlite" "in browser database" - 90 "offline first app" - 260 "react native sql" - 110 "sqlite electron" "localstorage vs indexeddb" "react native nosql database" - 30 "indexeddb library" - 260 "indexeddb encryption" - 90 "client side database" - 140 "webtransport vs websocket" "local first development" - 210 "local storage examples" "local vector database" - 590 "mobile app database" - 590 "web based database" "livequery" - 210 "expo database" - 390 "database sync" - 8100 "p2p database" - 170 "reactive app" - 260 "offline web app" - 320 "offline sync" - 320 "react native encrypted storage" - 1000 "firestore vs firebase" - 1300 "ionic alternatives" - 480 "react native backend" - 720 "react native alternative" - 1000 "react native sqlite" - 1900 "flutter vs react native" - 5400 "react native redux" - 3600 "redux alternative" - 1300 "Awesome local first" - 10 "tauri database" - 170 "sqlite javascript" - 2900 "sqlite typescript" - 260 "sync engine" - 390 "indexeddb alternative" - 70 ","version":"Next","tagName":"h2"},{"title":"Non Seo","type":1,"pageTitle":"ideas for articles","url":"/articles/ideas#non-seo","content":" "Local-First Partial Sync with RxDB""why the indexeddb API is almost perfekt""how to do auth with RxDB""Where to store that JWT token?" ","version":"Next","tagName":"h2"},{"title":"RxDB - The Firestore Alternative That Can Sync with Your Own Backend","type":0,"sectionRef":"#","url":"/articles/firestore-alternative.html","content":"","keywords":"","version":"Next"},{"title":"What Makes RxDB a Great Firestore Alternative?","type":1,"pageTitle":"RxDB - The Firestore Alternative That Can Sync with Your Own Backend","url":"/articles/firestore-alternative.html#what-makes-rxdb-a-great-firestore-alternative","content":" Firestore is convenient for many projects, but it does lock you into Google's ecosystem. Below are some of the key advantages you gain by choosing RxDB: ","version":"Next","tagName":"h2"},{"title":"1. Fully Offline-First","type":1,"pageTitle":"RxDB - The Firestore Alternative That Can Sync with Your Own Backend","url":"/articles/firestore-alternative.html#1-fully-offline-first","content":" RxDB runs directly in your client application (browser, Node.js, Electron, React Native, etc.). Data is stored locally, so your application remains fully functional even when offline. When the device returns online, RxDB's flexible replication protocol synchronizes your local changes with any remote endpoint. ","version":"Next","tagName":"h3"},{"title":"2. Freedom to Use Any Backend","type":1,"pageTitle":"RxDB - The Firestore Alternative That Can Sync with Your Own Backend","url":"/articles/firestore-alternative.html#2-freedom-to-use-any-backend","content":" Unlike Firestore, RxDB doesn't require a proprietary hosting service. You can: Host your data on your own server (Node.js, Go, Python, etc.).Use existing databases like PostgreSQL, CouchDB, or MongoDB with custom endpoints.Implement a custom GraphQL or REST-based API for syncing. This backend-agnostic approach protects you from vendor lock-in. Your application's client-side data storage remains consistent; only your replication logic (or plugin) changes if you switch servers. ","version":"Next","tagName":"h3"},{"title":"3. Advanced Conflict Resolution","type":1,"pageTitle":"RxDB - The Firestore Alternative That Can Sync with Your Own Backend","url":"/articles/firestore-alternative.html#3-advanced-conflict-resolution","content":" Firestore enforces a last-write-wins conflict resolution strategy. This might cause issues if multiple users or devices update the same data in complex ways. RxDB lets you: Implement custom conflict resolution via revisions.Store partial merges, track versions, or preserve multiple user edits.Fine-tune how your data merges to ensure consistency across distributed systems. ","version":"Next","tagName":"h3"},{"title":"4. Reduced Cloud Costs","type":1,"pageTitle":"RxDB - The Firestore Alternative That Can Sync with Your Own Backend","url":"/articles/firestore-alternative.html#4-reduced-cloud-costs","content":" Firestore queries often count as billable reads. With RxDB, queries run locally against your local state - no repeated network calls or extra charges. You pay only for the data actually synced, not every read. For read-heavy apps, using RxDB as a Firestore alternative can significantly reduce costs. ","version":"Next","tagName":"h3"},{"title":"5. No Limits on Query Features","type":1,"pageTitle":"RxDB - The Firestore Alternative That Can Sync with Your Own Backend","url":"/articles/firestore-alternative.html#5-no-limits-on-query-features","content":" Firestore's query engine is limited by certain constraints (e.g., no advanced joins, limited indexing). With RxDB: NoSQL data is stored locally, and you can define any indexes you need.Perform complex queries, run full-text search, or do aggregated transformations or even vector search.Use RxDB's reactivity to subscribe to query results in real time. ","version":"Next","tagName":"h3"},{"title":"6. True Offline-Start Support","type":1,"pageTitle":"RxDB - The Firestore Alternative That Can Sync with Your Own Backend","url":"/articles/firestore-alternative.html#6-true-offline-start-support","content":" While Firestore does have offline caching, it often requires an online check at app initialization for authentication. RxDB is truly offline-first; you can launch the app and write data even if the device never goes online initially. It's ready whenever the user is. ","version":"Next","tagName":"h3"},{"title":"7. Cross-Platform: Any JavaScript Runtime","type":1,"pageTitle":"RxDB - The Firestore Alternative That Can Sync with Your Own Backend","url":"/articles/firestore-alternative.html#7-cross-platform-any-javascript-runtime","content":" RxDB is designed to run in any environment that can execute JavaScript. Whether you’re building a web app in the browser, an Electron desktop application, a React Native mobile app, or a command-line tool with Node.js, RxDB’s storage layer is swappable to fit your runtime’s capabilities. In the browser, store data in IndexedDB or OPFS.In Node.js, use LevelDB or other supported storages.In React Native, pick from a range of adapters suited for mobile devices.In Electron, rely on fast local storage with zero changes to your application code. ","version":"Next","tagName":"h3"},{"title":"How Does RxDB's Sync Work?","type":1,"pageTitle":"RxDB - The Firestore Alternative That Can Sync with Your Own Backend","url":"/articles/firestore-alternative.html#how-does-rxdbs-sync-work","content":" RxDB replication is powered by its own Sync Engine. This simple yet robust protocol enables: Pull: Fetch new or updated documents from the server.Push: Send local changes back to the server.Live Real-Time: Once you're caught up, you can opt for event-based streaming instead of continuous polling. Code Example: Sync RxDB with a Custom Backend import { createRxDatabase } from 'rxdb/plugins/core'; import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage'; import { replicateRxCollection } from 'rxdb/plugins/replication'; async function initDB() { const db = await createRxDatabase({ name: 'mydb', storage: getRxStorageLocalstorage(), multiInstance: true, eventReduce: true }); await db.addCollections({ tasks: { schema: { title: 'task schema', version: 0, type: 'object', primaryKey: 'id', properties: { id: { type: 'string', maxLength: 100 }, title: { type: 'string' }, done: { type: 'boolean' } } } } }); // Start a custom REST-based replication replicateRxCollection({ collection: db.tasks, replicationIdentifier: 'my-tasks-rest-api', push: { handler: async (documents) => { // Send docs to your REST endpoint const res = await fetch('https://myapi.com/push', { method: 'POST', body: JSON.stringify({ docs: documents }) }); // Return conflicts if any return await res.json(); } }, pull: { handler: async (lastCheckpoint, batchSize) => { // Fetch from your REST endpoint const res = await fetch(`https://myapi.com/pull?checkpoint=${JSON.stringify(lastCheckpoint)}&limit=${batchSize}`); return await res.json(); } }, live: true // keep watching for changes }); return db; } By swapping out the handler implementations or using an official plugin (e.g., GraphQL, CouchDB, Firestore replication, etc.), you can adapt to any backend or data source. RxDB thus becomes a flexible alternative to Firestore while maintaining real-time capabilities. ","version":"Next","tagName":"h2"},{"title":"Getting Started with RxDB as a Firestore Alternative","type":1,"pageTitle":"RxDB - The Firestore Alternative That Can Sync with Your Own Backend","url":"/articles/firestore-alternative.html#getting-started-with-rxdb-as-a-firestore-alternative","content":" ","version":"Next","tagName":"h2"},{"title":"Install RxDB:","type":1,"pageTitle":"RxDB - The Firestore Alternative That Can Sync with Your Own Backend","url":"/articles/firestore-alternative.html#install-rxdb","content":" npm install rxdb rxjs ","version":"Next","tagName":"h3"},{"title":"Create a Database:","type":1,"pageTitle":"RxDB - The Firestore Alternative That Can Sync with Your Own Backend","url":"/articles/firestore-alternative.html#create-a-database","content":" import { createRxDatabase } from 'rxdb/plugins/core'; import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage'; const db = await createRxDatabase({ name: 'mydb', storage: getRxStorageLocalstorage() }); ","version":"Next","tagName":"h3"},{"title":"Define Collections:","type":1,"pageTitle":"RxDB - The Firestore Alternative That Can Sync with Your Own Backend","url":"/articles/firestore-alternative.html#define-collections","content":" await db.addCollections({ items: { schema: { title: 'items schema', version: 0, primaryKey: 'id', type: 'object', properties: { id: { type: 'string', maxLength: 100 }, text: { type: 'string' } } } } }); ","version":"Next","tagName":"h3"},{"title":"Sync","type":1,"pageTitle":"RxDB - The Firestore Alternative That Can Sync with Your Own Backend","url":"/articles/firestore-alternative.html#sync","content":" Use a Replication Plugin to connect with a custom backend or existing database. For a Firestore-specific approach, RxDB Firestore Replication also exists if you want to combine local indexing and advanced queries with a Cloud Firestore backend. But if you really want to replace Firestore entirely - just point RxDB to your new backend. ","version":"Next","tagName":"h3"},{"title":"Example: Start a WebRTC P2P Replication","type":1,"pageTitle":"RxDB - The Firestore Alternative That Can Sync with Your Own Backend","url":"/articles/firestore-alternative.html#example-start-a-webrtc-p2p-replication","content":" In addition to syncing with a central server, RxDB also supports pure peer-to-peer replication using WebRTC. This can be invaluable for scenarios where clients need to sync data directly without a master server. import { replicateWebRTC, getConnectionHandlerSimplePeer } from 'rxdb/plugins/replication-webrtc'; const replicationPool = await replicateWebRTC({ collection: db.tasks, topic: 'my-p2p-room', // Clients with the same topic will sync with each other. connectionHandlerCreator: getConnectionHandlerSimplePeer({ // Use your own or the official RxDB signaling server signalingServerUrl: 'wss://signaling.rxdb.info/', // Node.js requires a polyfill for WebRTC & WebSocket wrtc: require('node-datachannel/polyfill'), webSocketConstructor: require('ws').WebSocket }), pull: {}, // optional pull config push: {} // optional push config }); // The replicationPool manages all connected peers replicationPool.error$.subscribe(err => { console.error('P2P Sync Error:', err); }); This example sets up a live P2P replication where any new peers joining the same topic automatically sync local data with each other, eliminating the need for a dedicated central server for the actual data exchange. ","version":"Next","tagName":"h3"},{"title":"Is RxDB Right for Your Project?","type":1,"pageTitle":"RxDB - The Firestore Alternative That Can Sync with Your Own Backend","url":"/articles/firestore-alternative.html#is-rxdb-right-for-your-project","content":" You want offline-first: If you need an offline-first app that starts offline, RxDB's local database approach and sync protocol excel at this.Your project is read-heavy: Reading from Firestore for every query can get expensive. With RxDB, reads are free and local; you only pay for writes or sync overhead.You need advanced queries: Firestore's query constraints may not suit complex data. With RxDB, you can define your own indexing logic or run arbitrary queries locally.You want no vendor lock-in: Easily transition from Firestore to your own server or another vendor - just change the replication layer. ","version":"Next","tagName":"h2"},{"title":"Follow Up","type":1,"pageTitle":"RxDB - The Firestore Alternative That Can Sync with Your Own Backend","url":"/articles/firestore-alternative.html#follow-up","content":" If you've been searching for a Firestore alternative that gives you the freedom to sync your data with any backend, offers robust offline-first capabilities, and supports truly customizable conflict resolution and queries, RxDB is worth exploring. You can adopt it seamlessly, ensure local reads, reduce costs, and stay in complete control of your data layer. Ready to dive in? Check out the RxDB Quickstart Guide, join our Discord community, and experience how RxDB can be the perfect local-first, real-time database solution for your next project. More resources: RxDB Sync EngineFirestore Replication PluginCustom Conflict ResolutionRxDB GitHub Repository ","version":"Next","tagName":"h2"},{"title":"RxDB as In-memory NoSQL Database: Empowering Real-Time Applications","type":0,"sectionRef":"#","url":"/articles/in-memory-nosql-database.html","content":"","keywords":"","version":"Next"},{"title":"Speed and Performance Benefits","type":1,"pageTitle":"RxDB as In-memory NoSQL Database: Empowering Real-Time Applications","url":"/articles/in-memory-nosql-database.html#speed-and-performance-benefits","content":" One of the key advantages of using RxDB as an in-memory NoSQL database is its ability to leverage in-memory storage for faster database operations. By storing data directly in memory, database operations can be performed significantly faster compared to traditional disk-based databases. This is especially important for real-time applications where every millisecond counts. With RxDB, developers can achieve near-instantaneous data access and manipulation, enabling highly responsive user experiences. Additionally, RxDB eliminates disk I/O bottlenecks that are typically associated with traditional databases. In traditional databases, disk reads and writes can become a bottleneck as the amount of data grows. In contrast, an in-memory database like RxDB keeps the entire dataset in RAM, eliminating disk access overhead. This makes it an excellent choice for applications dealing with real-time analytics, high-throughput data processing, and caching. ","version":"Next","tagName":"h2"},{"title":"Persistence Options","type":1,"pageTitle":"RxDB as In-memory NoSQL Database: Empowering Real-Time Applications","url":"/articles/in-memory-nosql-database.html#persistence-options","content":" While RxDB offers an in-memory storage adapter, it also offers persistence storages. Adapters such as IndexedDB, SQLite, and OPFS enable developers to persist data locally in the browser, making applications accessible even when offline. This hybrid approach combines the benefits of in-memory performance with data durability, providing the best of both worlds. Developers can choose the adapter that best suits their needs, balancing the speed of in-memory storage with the long-term data persistence required for certain applications. import { createRxDatabase } from 'rxdb'; import { getRxStorageMemory } from 'rxdb/plugins/storage-memory'; const db = await createRxDatabase({ name: 'exampledb', storage: getRxStorageMemory() }); Also the memory mapped RxStorage exists as a wrapper around any other RxStorage. The wrapper creates an in-memory storage that is used for query and write operations. This memory instance is replicated with the underlying storage for persistence. The main reason to use this is to improve initial page load and query/write times. This is mostly useful in browser based applications. ","version":"Next","tagName":"h2"},{"title":"Use Cases for RxDB","type":1,"pageTitle":"RxDB as In-memory NoSQL Database: Empowering Real-Time Applications","url":"/articles/in-memory-nosql-database.html#use-cases-for-rxdb","content":" RxDB's capabilities make it well-suited for various real-time applications. Some notable use cases include: Chat Applications and Real-Time Messaging: RxDB's in-memory performance and real-time synchronization capabilities make it an excellent choice for building chat applications and real-time messaging systems. Developers can ensure that messages are delivered and synchronized across multiple clients in real-time, providing a seamless and responsive chat experience. Collaborative Document Editors: RxDB's ability to handle data streams and propagate changes in real-time makes it ideal for collaborative document editing. Multiple users can simultaneously edit a document, and their changes are instantly synchronized, allowing for real-time collaboration and ensuring that everyone has the most up-to-date version of the document. Real-Time Analytics Dashboards: RxDB's speed and scalability make it a valuable tool for real-time analytics dashboards. It can handle high volumes of data and perform complex analytics operations in real-time, providing instant insights and visualizations to users. In conclusion, RxDB serves as a powerful in-memory NoSQL database that empowers developers to build real-time applications with exceptional speed, flexibility, and scalability. Its ability to leverage in-memory storage, eliminate disk I/O bottlenecks, and provide persistence options make it an attractive choice for a wide range of real-time use cases. Whether it's chat applications, collaborative document editors, or real-time analytics dashboards, RxDB provides the foundation for building responsive and interactive software that meets the demands of today's users. ","version":"Next","tagName":"h2"},{"title":"Ionic Storage - RxDB as database for hybrid apps","type":0,"sectionRef":"#","url":"/articles/ionic-database.html","content":"","keywords":"","version":"Next"},{"title":"What are Ionic Hybrid Apps?","type":1,"pageTitle":"Ionic Storage - RxDB as database for hybrid apps","url":"/articles/ionic-database.html#what-are-ionic-hybrid-apps","content":" Ionic (aka Ionic 2 ) hybrid apps combine the strengths of web technologies (HTML, CSS, JavaScript) with native app development to deliver cross-platform applications. They are built using web technologies and then wrapped in a native container to be deployed on various platforms like iOS, Android, and the web. These apps provide a consistent user experience across devices while benefiting from the efficiency and familiarity of web development. ","version":"Next","tagName":"h2"},{"title":"Storing and Querying Data in an Ionic App","type":1,"pageTitle":"Ionic Storage - RxDB as database for hybrid apps","url":"/articles/ionic-database.html#storing-and-querying-data-in-an-ionic-app","content":" Storing and querying data is a fundamental aspect of any application, including hybrid apps. These apps often need to operate offline, store user-generated content, and provide responsive user interfaces. Therefore, having a reliable and efficient way to manage data on the client's device is crucial. ","version":"Next","tagName":"h2"},{"title":"Introducing RxDB as a Client-Side Database for Ionic Apps","type":1,"pageTitle":"Ionic Storage - RxDB as database for hybrid apps","url":"/articles/ionic-database.html#introducing-rxdb-as-a-client-side-database-for-ionic-apps","content":" RxDB steps in as a powerful solution to address the data management needs of ionic hybrid apps. It's a NoSQL client-side database that offers exceptional performance and features tailored to the unique requirements of client-side applications. Let's delve into the key features of RxDB that make it a great fit for these apps. ","version":"Next","tagName":"h2"},{"title":"Getting Started with RxDB","type":1,"pageTitle":"Ionic Storage - RxDB as database for hybrid apps","url":"/articles/ionic-database.html#getting-started-with-rxdb","content":" ","version":"Next","tagName":"h3"},{"title":"What is RxDB?","type":1,"pageTitle":"Ionic Storage - RxDB as database for hybrid apps","url":"/articles/ionic-database.html#what-is-rxdb","content":" At its core, RxDB is a NoSQL database that operates with a local-first approach. This means that your app's data is stored and processed primarily on the client's device, reducing the dependency on constant network connectivity. By doing so, RxDB ensures your app remains responsive and functional, even when offline. ","version":"Next","tagName":"h3"},{"title":"Local-First Approach","type":1,"pageTitle":"Ionic Storage - RxDB as database for hybrid apps","url":"/articles/ionic-database.html#local-first-approach","content":" The local-first approach adopted by RxDB is a game-changer for hybrid applications. Storing data locally allows your app to function seamlessly without an internet connection, providing users with uninterrupted access to their data. When connectivity is restored, RxDB handles the synchronization of data, ensuring that any changes made offline are appropriately propagated. ","version":"Next","tagName":"h3"},{"title":"Observable Queries","type":1,"pageTitle":"Ionic Storage - RxDB as database for hybrid apps","url":"/articles/ionic-database.html#observable-queries","content":" One of RxDB's standout features is its implementation of observable queries. This concept allows your app's user interface to be dynamically updated in real time as data changes within the database. RxDB's observables create a bridge between your database and user interface, keeping them in sync effortlessly. ","version":"Next","tagName":"h3"},{"title":"NoSQL Query Engine","type":1,"pageTitle":"Ionic Storage - RxDB as database for hybrid apps","url":"/articles/ionic-database.html#nosql-query-engine","content":" RxDB's NoSQL query engine empowers you to perform powerful queries on your app's data, without the constraints imposed by traditional relational databases. This flexibility is particularly valuable when dealing with unstructured or semi-structured data. With the NoSQL query engine, you can retrieve, filter, and manipulate data according to your app's unique requirements. const foundDocuments = await myDatabase.todos.find({ selector: { done: { $eq: false } } }).exec(); ","version":"Next","tagName":"h3"},{"title":"Great Observe Performance with EventReduce","type":1,"pageTitle":"Ionic Storage - RxDB as database for hybrid apps","url":"/articles/ionic-database.html#great-observe-performance-with-eventreduce","content":" RxDB introduces a concept called EventReduce, which optimizes the observation process. Instead of overwhelming your app's UI with every data change, EventReduce filters and batches these changes to provide a smooth and efficient experience. This leads to enhanced app performance, lower resource usage, and ultimately, happier users. ","version":"Next","tagName":"h3"},{"title":"Why NoSQL is a Better Fit for Client-Side Applications Compared to relational databases like SQLite","type":1,"pageTitle":"Ionic Storage - RxDB as database for hybrid apps","url":"/articles/ionic-database.html#why-nosql-is-a-better-fit-for-client-side-applications-compared-to-relational-databases-like-sqlite","content":" When it comes to choosing the right database solution for your client-side applications, NoSQL RxDB presents compelling advantages over traditional options like SQLite. Let's delve into the key reasons why NoSQL RxDB is a superior fit for your ionic hybrid app development. ","version":"Next","tagName":"h2"},{"title":"Easier Document-Based Replication","type":1,"pageTitle":"Ionic Storage - RxDB as database for hybrid apps","url":"/articles/ionic-database.html#easier-document-based-replication","content":" NoSQL databases, like RxDB, inherently embrace a document-based approach to data storage. This design choice simplifies data replication between clients and servers. With documents representing discrete units of data, you can easily synchronize individual pieces of information without the complexity that can arise when dealing with rows and tables in a relational database like SQLite. This document-centric replication model streamlines the synchronization process and ensures that your app's data remains consistent across devices. ","version":"Next","tagName":"h3"},{"title":"Offline Capable","type":1,"pageTitle":"Ionic Storage - RxDB as database for hybrid apps","url":"/articles/ionic-database.html#offline-capable","content":" One of the defining features of client-side applications is the ability to function even when offline. NoSQL RxDB excels in this area by supporting a local-first approach. Data is cached on the client's device, enabling the app to remain fully functional even without an internet connection. As connectivity is restored, RxDB handles data synchronization with the server seamlessly. This offline capability ensures a smooth user experience, critical for ionic hybrid apps catering to users in various network conditions. ","version":"Next","tagName":"h3"},{"title":"NoSQL Has Better TypeScript Support","type":1,"pageTitle":"Ionic Storage - RxDB as database for hybrid apps","url":"/articles/ionic-database.html#nosql-has-better-typescript-support","content":" TypeScript, a popular superset of JavaScript, is renowned for its static typing and enhanced developer experience. NoSQL databases like RxDB are inherently flexible, making them well-suited for TypeScript integration. With well-defined data structures and clear typings, NoSQL RxDB offers improved type safety and easier development when compared to traditional SQL databases like SQLite. This results in reduced debugging time and increased code reliability. ","version":"Next","tagName":"h3"},{"title":"Easier Schema Migration with NoSQL Documents","type":1,"pageTitle":"Ionic Storage - RxDB as database for hybrid apps","url":"/articles/ionic-database.html#easier-schema-migration-with-nosql-documents","content":" Schema changes are a common occurrence in application development, and dealing with them can be challenging. NoSQL databases, including RxDB, are more forgiving in this aspect. Since documents in NoSQL databases don't enforce a rigid structure like tables in relational databases, schema changes are often simpler to manage. This flexibility makes it easier to evolve your app's data structure over time without the need for complex migration scripts, a notable advantage when compared to SQLite. ","version":"Next","tagName":"h3"},{"title":"Great Performance","type":1,"pageTitle":"Ionic Storage - RxDB as database for hybrid apps","url":"/articles/ionic-database.html#great-performance","content":" RxDB's excellent performance stems from its advanced indexing capabilities, which streamline data retrieval and ensure swift query execution. Additionally, the JSON key compression employed by RxDB minimizes storage overhead, enabling efficient data transfer and quicker loading times. The incorporation of real-time updates through change streams and the EventReduce mechanism further enhances RxDB's performance, delivering a responsive user experience even as data changes are propagated seamlessly. ","version":"Next","tagName":"h2"},{"title":"Using RxDB in an Ionic Hybrid App","type":1,"pageTitle":"Ionic Storage - RxDB as database for hybrid apps","url":"/articles/ionic-database.html#using-rxdb-in-an-ionic-hybrid-app","content":" RxDB's integration into your ionic hybrid app opens up a world of possibilities for efficient data management. Let's explore how to set up RxDB, use it with popular JavaScript frameworks, and take advantage of its diverse storage options. ","version":"Next","tagName":"h2"},{"title":"Setup RxDB","type":1,"pageTitle":"Ionic Storage - RxDB as database for hybrid apps","url":"/articles/ionic-database.html#setup-rxdb","content":" Getting started with RxDB is a straightforward process. By including the RxDB library in your project, you can quickly start harnessing its capabilities. Begin by installing the RxDB package from the npm registry. Then, configure your database instance to suit your app's needs. This setup process paves the way for seamless data management in your ionic hybrid app. For a full instruction, follow the RxDB Quickstart. ","version":"Next","tagName":"h3"},{"title":"Using RxDB in Frameworks (React, Angular, Vue.js)","type":1,"pageTitle":"Ionic Storage - RxDB as database for hybrid apps","url":"/articles/ionic-database.html#using-rxdb-in-frameworks-react-angular-vuejs","content":" RxDB seamlessly integrates with various JavaScript frameworks, ensuring compatibility with your preferred development environment. Whether you're building your ionic hybrid app with React, Angular, or Vue.js, RxDB offers bindings and tools that enable you to leverage its features effortlessly. This compatibility allows you to stay within the comfort zone of your chosen framework while benefiting from RxDB's powerful data management capabilities. ","version":"Next","tagName":"h3"},{"title":"Different RxStorage Layers for RxDB","type":1,"pageTitle":"Ionic Storage - RxDB as database for hybrid apps","url":"/articles/ionic-database.html#different-rxstorage-layers-for-rxdb","content":" RxDB doesn't limit you to a single storage solution. Instead, it provides a range of RxStorage layers to accommodate diverse use cases. These storage layers offer flexibility and customization, enabling you to tailor your data management strategy to match your app's requirements. Let's explore some of the available RxStorage options: LocalStorage RxStorage: Based on the browsers localStorage. Easy to set up and fast for small datasets.IndexedDB RxStorage: Leveraging the native browser storage, IndexedDB RxStorage offers reliable data persistence. This storage option is suitable for a wide range of scenarios and is supported by most modern browsers.OPFS RxStorage: Operating within the browser's file system, OPFS RxStorage is a unique choice that can handle larger data volumes efficiently. It's particularly useful for applications that require substantial data storage.Memory RxStorage: Memory RxStorage is perfect for temporary or cache-like data storage. It keeps data in memory, which can result in rapid data access but doesn't provide long-term persistence.SQLite RxStorage: SQLite is the goto database for mobile applications. It is build in on android and iOS devices. The SQLite RxDB storage layer is build upon SQLite and offers the best performance on hybrid apps, like ionic. ","version":"Next","tagName":"h3"},{"title":"Replication of Data with RxDB between Clients and Servers","type":1,"pageTitle":"Ionic Storage - RxDB as database for hybrid apps","url":"/articles/ionic-database.html#replication-of-data-with-rxdb-between-clients-and-servers","content":" Efficient data replication between clients and servers is the backbone of modern application development, ensuring that data remains consistent and up-to-date across various devices and platforms. RxDB provides a suite of replication methods that facilitate seamless communication between clients and servers, ensuring that your data is always in sync. ","version":"Next","tagName":"h2"},{"title":"RxDB Replication Algorithm","type":1,"pageTitle":"Ionic Storage - RxDB as database for hybrid apps","url":"/articles/ionic-database.html#rxdb-replication-algorithm","content":" At the heart of RxDB's replication capabilities lies a sophisticated algorithm designed to manage data synchronization between clients and servers. This algorithm intelligently handles data changes, conflict resolution, and network connectivity fluctuations, resulting in reliable and efficient data replication. With the RxDB replication algorithm, your application can maintain data consistency across devices without unnecessary complexities. CouchDB Replication: RxDB's integration with CouchDB replication presents a powerful way to synchronize data between clients and servers. CouchDB, a well-established NoSQL database, excels at distributed and decentralized data scenarios. By utilizing RxDB's CouchDB replication, you can establish bidirectional synchronization between your RxDB-powered client and a CouchDB server. This synchronization ensures that data updates made on either end are seamlessly propagated to the other, facilitating collaboration and data sharing. Firestore Replication: Firestore, Google's cloud-hosted NoSQL database, offers another avenue for data replication in RxDB. With Firestore replication, you can establish a connection between your RxDB-powered app and Firestore's cloud infrastructure. This integration provides real-time updates to data across multiple instances of your application, ensuring that users always have access to the latest information. RxDB's support for Firestore replication empowers you to build dynamic and responsive applications that thrive in today's fast-paced digital landscape. WebRTC Replication: Peer-to-peer (P2P) replication via WebRTC introduces a cutting-edge approach to data synchronization in RxDB. P2P replication allows devices to communicate directly with each other, bypassing the need for a central server. This method proves invaluable in scenarios where network connectivity is limited or unreliable. With WebRTC replication, devices can exchange data directly, enabling collaboration and information sharing even in challenging network conditions. ","version":"Next","tagName":"h3"},{"title":"RxDB as an Alternative for Ionic Secure Storage","type":1,"pageTitle":"Ionic Storage - RxDB as database for hybrid apps","url":"/articles/ionic-database.html#rxdb-as-an-alternative-for-ionic-secure-storage","content":" When it comes to securing sensitive data in your Ionic applications, RxDB emerges as a powerful alternative to traditional secure storage solutions. Let's delve into why RxDB is an exceptional choice for safeguarding your data while providing additional benefits. ","version":"Next","tagName":"h2"},{"title":"RxDB On-Device Encryption Plugin","type":1,"pageTitle":"Ionic Storage - RxDB as database for hybrid apps","url":"/articles/ionic-database.html#rxdb-on-device-encryption-plugin","content":" RxDB offers an on-device encryption plugin, adding an extra layer of security to your app's data. This means that data stored within the RxDB database can be encrypted, ensuring that even if the device falls into the wrong hands, the sensitive information remains inaccessible without the proper decryption key. This level of data protection is crucial for applications that deal with personal or confidential information. Encryption runs either with AES on crypto-js or with the Web Crypto API which is faster and more secure. ","version":"Next","tagName":"h3"},{"title":"Works Offline","type":1,"pageTitle":"Ionic Storage - RxDB as database for hybrid apps","url":"/articles/ionic-database.html#works-offline","content":" Security should never compromise functionality. RxDB excels in this area by allowing your application to operate seamlessly even when offline. The locally stored encrypted data remains accessible and functional, enabling users to interact with the app's features even without an active internet connection. This offline capability ensures that user data is secure, while the app continues to deliver a responsive and uninterrupted experience. ","version":"Next","tagName":"h3"},{"title":"Easy-to-Setup Replication with Your Backend","type":1,"pageTitle":"Ionic Storage - RxDB as database for hybrid apps","url":"/articles/ionic-database.html#easy-to-setup-replication-with-your-backend","content":" Ensuring data consistency between your client-side application and backend is a key concern for developers. RxDB simplifies this process with its straightforward replication setup. You can effortlessly configure data synchronization between your local RxDB instance and your backend server. This replication capability ensures that encrypted data remains up-to-date and aligned with the central database, enhancing data integrity and security. ","version":"Next","tagName":"h3"},{"title":"Compression of Client-Side Stored Data","type":1,"pageTitle":"Ionic Storage - RxDB as database for hybrid apps","url":"/articles/ionic-database.html#compression-of-client-side-stored-data","content":" In addition to security and offline capabilities, RxDB also offers data compression. This means that the data stored on the client's device is efficiently compressed, reducing storage requirements and improving overall app performance. This compression ensures that your app remains responsive and efficient, even as data volumes grow. ","version":"Next","tagName":"h3"},{"title":"Cost-Effective Solution","type":1,"pageTitle":"Ionic Storage - RxDB as database for hybrid apps","url":"/articles/ionic-database.html#cost-effective-solution","content":" In addition to its security features, RxDB offers cost-effective benefits. RxDB is priced more affordably compared to some other secure storage solutions, making it an attractive option for developers seeking robust security without breaking the bank. For many users, the free version of RxDB provides ample features to meet their application's security and data management needs. ","version":"Next","tagName":"h3"},{"title":"Follow Up","type":1,"pageTitle":"Ionic Storage - RxDB as database for hybrid apps","url":"/articles/ionic-database.html#follow-up","content":" Try out the RxDB ionic example projectTry out the RxDB QuickstartJoin the RxDB Chat ","version":"Next","tagName":"h2"},{"title":"IndexedDB Max Storage Size Limit","type":0,"sectionRef":"#","url":"/articles/indexeddb-max-storage-limit.html","content":"","keywords":"","version":"Next"},{"title":"Why IndexedDB Has a Storage Limit","type":1,"pageTitle":"IndexedDB Max Storage Size Limit","url":"/articles/indexeddb-max-storage-limit.html#why-indexeddb-has-a-storage-limit","content":" Browsers need a way to curb runaway disk usage and safeguard user resources. This is accomplished through quota management policies, which can vary among Chrome, Firefox, Safari, Edge, and others. Some browsers use a percentage of your total disk space, while others rely on a fixed maximum or dynamic approach per origin. These policies are designed to prevent malicious or poorly optimized web pages from consuming an unreasonable amount of user storage. Chrome (and Chromium-based browsers) typically allow you to use a percentage of the user’s free disk space, whereas Firefox historically prompts users to allow more than 5 MB in mobile or 50 MB in desktop. Safari often sets tighter maximum caps, especially on iOS devices. Edge aligns closely with Chrome’s rules but can also include enterprise or corporate policy overrides. Understanding these default or dynamic limits prepares you to plan your app’s storage needs appropriately. ","version":"Next","tagName":"h2"},{"title":"Browser-Specific IndexedDB Limits","type":1,"pageTitle":"IndexedDB Max Storage Size Limit","url":"/articles/indexeddb-max-storage-limit.html#browser-specific-indexeddb-limits","content":" IndexedDB size quotas differ significantly across browsers and platforms. While there isn’t a universal rule, the following table summarizes approximate limits and any notes or caveats you should be aware of: Browser\tApprox. Limit\tNotesChrome/Chromium\tUp to ~80% of free disk, per origin cap\tOften cited as 60 GB on a 100 GB drive. Shared pool approach. Quota usage can prompt partial or extended user approvals. Firefox\t~2 GB (desktop) or ~5 MB initial for mobile\tOlder versions asked permission at 50 MB for desktop. Ephemeral/incognito sessions may require repeated user prompts. Safari (iOS)\t~1 GB per origin (variable)\tHistorically stricter. iOS devices limit quotas further. Behavior can differ between iOS Safari versions or iPadOS. Edge\tSimilar to Chrome’s 80% of free space\tCan be influenced by Windows enterprise policies. Generally aligned with Chromium approach. iOS Safari\tTypically 1 GB, can be less on older iOS\tEarly iOS versions were known for more aggressive quotas and data eviction on low space. Android Chrome\tSimilar to desktop Chrome\tMay exhibit warnings in especially low-storage devices. The same 80% free space logic generally applies. Historically, these limits have evolved. For instance, older Firefox versions included dom.indexedDB.warningQuota, showing a 50 MB prompt on desktop or a 5 MB prompt on mobile—many developers wrote about these notifications on Stack Overflow. Since around 2015, Firefox has changed its quota approach significantly. Likewise, Safari used to limit data more aggressively on older iOS versions. Some older tutorials suggest comparing IndexedDB to localStorage, but modern browsers allow far larger and more flexible storage with IndexedDB than the old localStorage or cookie-based setups. ","version":"Next","tagName":"h2"},{"title":"Checking Your Current IndexedDB Usage","type":1,"pageTitle":"IndexedDB Max Storage Size Limit","url":"/articles/indexeddb-max-storage-limit.html#checking-your-current-indexeddb-usage","content":" To assess where your app stands relative to these storage limits, you can use the Storage Estimation API. The snippet below shows how to estimate both your used storage and the total space allocated to your origin: const quota = await navigator.storage.estimate(); const totalSpace = quota.quota; const usedSpace = quota.usage; console.log('Approx total allocated space:', totalSpace); console.log('Approx used space:', usedSpace); Some browsers (all modern ones) also provide a navigator.storage.persist() method to request persistent storage, preventing the browser from automatically clearing your data if the user’s device runs low on space. Note that users might deny such requests, or the request might fail silently on stricter environments. Always handle these outcomes gracefully and design your app to degrade if persistent storage is unavailable. ","version":"Next","tagName":"h2"},{"title":"Testing Your App’s IndexedDB Quotas","type":1,"pageTitle":"IndexedDB Max Storage Size Limit","url":"/articles/indexeddb-max-storage-limit.html#testing-your-apps-indexeddb-quotas","content":" The best way to handle real-world usage is to test for low storage conditions and large data sets in different environments. You can fill up the space manually by writing repetitive test data or running scripts that bulk-insert documents until an error occurs. Real-time usage monitors or dashboards can keep track of your navigator.storage.estimate() results, letting you see how close you are to the max limit in production. Developer tools in Chrome or Firefox can simulate limited storage situations, which is crucial for QA: 0:42 Simulate low storage quota with DevTools This short tutorial shows how you can artificially reduce available storage in Google Chrome’s dev tools to see how your app behaves when nearing or exceeding the quota. ","version":"Next","tagName":"h2"},{"title":"Handling Errors When Limits Are Reached","type":1,"pageTitle":"IndexedDB Max Storage Size Limit","url":"/articles/indexeddb-max-storage-limit.html#handling-errors-when-limits-are-reached","content":" When the user’s device is too full or your app exceeds the allotted quota, most browsers will throw a QuotaExceededError (or similarly named exception) when trying to store additional data. Often, the request to IndexedDB simply fails with an error event. Handling this gracefully is essential to avoid crashes or data corruption. A typical approach is to wrap your write operations in try/catch blocks or in onsuccess / onerror event callbacks. If you detect a quota error, you can prompt the user to clear out old items or reduce the scope of offline data. Some apps implement a fallback system that removes less critical documents to free space and then retries the write. try { const tx = db.transaction('largeStore', 'readwrite'); const store = tx.objectStore('largeStore'); await store.add(hugeData, someKey); await tx.done; } catch (error) { if (error.name === 'QuotaExceededError') { console.warn('IndexedDB quota exceeded. Cleanup or prompt user to free space.'); // Optionally remove older data or show a UI hint: // removeOldDocuments(); // displayStorageFullDialog(); } else { // handle other errors console.error('IndexedDB write error:', error); } } ","version":"Next","tagName":"h2"},{"title":"Tricks to Exceed the Storage Size Limitation","type":1,"pageTitle":"IndexedDB Max Storage Size Limit","url":"/articles/indexeddb-max-storage-limit.html#tricks-to-exceed-the-storage-size-limitation","content":" Even if you plan well, your app might need more storage than a single origin typically allows. There are a few advanced tactics you can use: If you store binary data such as images or videos, consider compressing them via the Compression Streams API. For textual or JSON data, a library like RxDB supports built-in key-compression to shorten field names or entire documents. This can be extremely helpful when storing large sets of objects: // Example: How key-compression can transform your documents internally const uncompressed = { "firstName": "Corrine", "lastName": "Ziemann", "shoppingCartItems": [ { "productNumber": 29857, "amount": 1 }, { "productNumber": 53409, "amount": 6 } ] }; const compressed = { "|e": "Corrine", "|g": "Ziemann", "|i": [ { "|h": 29857, "|b": 1 }, { "|h": 53409, "|b": 6 } ] }; Sharding data across multiple subdomains or iframes is another trick, though it complicates communication. When you need truly massive offline data, you might store part of the data under sub1.yoursite.com and another chunk under sub2.yoursite.com, using postMessage() to coordinate. This can circumvent single-origin limitations, but it introduces extra complexity. Another effective method is to let data expire automatically—perhaps older records are removed if they haven’t been accessed for a certain period. ","version":"Next","tagName":"h2"},{"title":"IndexedDB Max Size of a Single Object","type":1,"pageTitle":"IndexedDB Max Storage Size Limit","url":"/articles/indexeddb-max-storage-limit.html#indexeddb-max-size-of-a-single-object","content":" There is no explicit cap on how large an individual object or record in IndexedDB can be, other than the overall disk quota. If you attempt to store one extremely large object, you will eventually hit browser memory constraints or the global storage quota. In practice, you’ll encounter out-of-memory issues in JavaScript before IndexedDB itself refuses a single large write. A helpful test can be seen in this JSFiddle experiment where you see browsers can crash when creating massive in-memory objects. ","version":"Next","tagName":"h2"},{"title":"Is There a Time Limit for Data Stored in IndexedDB?","type":1,"pageTitle":"IndexedDB Max Storage Size Limit","url":"/articles/indexeddb-max-storage-limit.html#is-there-a-time-limit-for-data-stored-in-indexeddb","content":" IndexedDB data can remain indefinitely as long as the user does not clear the browser’s data or the origin does not run afoul of automated eviction policies (e.g., Safari or Android might remove large caches for sites unused over a long period when space is needed). Typically, there is no “time limit,” but ephemeral modes or incognito sessions have their own rules. If you rely on permanent offline data, request persistent storage and handle the possibility that the user or the OS could still remove your data under extreme conditions. Especially Safari is known to be very fast in deleting local data. ","version":"Next","tagName":"h2"},{"title":"Follow Up","type":1,"pageTitle":"IndexedDB Max Storage Size Limit","url":"/articles/indexeddb-max-storage-limit.html#follow-up","content":" Learn more by checking the IndexedDB official docs, which detail store design, error handling, and quota usage. If you need a straightforward way to manage large offline data with compression and conflict resolution, explore the RxDB Quickstart. You can also join the community on GitHub to share tips on overcoming the IndexedDB max storage size limit in production environments. ","version":"Next","tagName":"h2"},{"title":"RxDB - Local Ionic Storage with Encryption, Compression & Sync","type":0,"sectionRef":"#","url":"/articles/ionic-storage.html","content":"","keywords":"","version":"Next"},{"title":"Why RxDB for Ionic Storage?","type":1,"pageTitle":"RxDB - Local Ionic Storage with Encryption, Compression & Sync","url":"/articles/ionic-storage.html#why-rxdb-for-ionic-storage","content":" ","version":"Next","tagName":"h2"},{"title":"1. Offline-Ready NoSQL Storage","type":1,"pageTitle":"RxDB - Local Ionic Storage with Encryption, Compression & Sync","url":"/articles/ionic-storage.html#1-offline-ready-nosql-storage","content":" Offline functionality is crucial for modern mobile applications, particularly when devices encounter unreliable or slow networks. RxDB stores all data locally so your Ionic app can run seamlessly without needing a continuous internet connection. When a network is available again, RxDB automatically synchronizes changes with your backend - no extra code required. ","version":"Next","tagName":"h3"},{"title":"2. Powerful Encryption","type":1,"pageTitle":"RxDB - Local Ionic Storage with Encryption, Compression & Sync","url":"/articles/ionic-storage.html#2-powerful-encryption","content":" Securing on-device data is paramount when handling sensitive information. RxDB includes encryption plugins that let you: Encrypt data fields at rest with AESInvalidate data access by simply withholding the passwordKeep your users' data confidential, even if the device is stolen This built-in encryption sets RxDB apart from many other Ionic storage options that lack integrated security. ","version":"Next","tagName":"h3"},{"title":"3. Built-In Data Compression","type":1,"pageTitle":"RxDB - Local Ionic Storage with Encryption, Compression & Sync","url":"/articles/ionic-storage.html#3-built-in-data-compression","content":" Large or repetitive data can significantly slow down devices with minimal memory. RxDB's key-compression feature decreases document size stored on the device, improving overall performance by: Reducing disk usageAccelerating queriesMinimizing network overhead when syncing ","version":"Next","tagName":"h3"},{"title":"4. Real-Time Sync & Conflict Handling","type":1,"pageTitle":"RxDB - Local Ionic Storage with Encryption, Compression & Sync","url":"/articles/ionic-storage.html#4-real-time-sync--conflict-handling","content":" In addition to functioning fully offline, RxDB supports advanced replication options. Your Ionic app can instantly sync updates with any backend (CouchDB, Firestore, GraphQL, or custom REST), maintaining a real-time user experience. Plus, RxDB handles conflicts gracefully - meaning less worry about clashing user edits. ","version":"Next","tagName":"h3"},{"title":"5. Easy to Adopt and Extend","type":1,"pageTitle":"RxDB - Local Ionic Storage with Encryption, Compression & Sync","url":"/articles/ionic-storage.html#5-easy-to-adopt-and-extend","content":" RxDB runs with a NoSQL approach and integrates seamlessly into Ionic Angular or other frameworks you might use with Ionic. You can extend or replace storage backends, add encryption, or build advanced offline-first features with minimal overhead. ","version":"Next","tagName":"h3"},{"title":"Quick Start: Implementing RxDB with LocalSTorage Storage","type":1,"pageTitle":"RxDB - Local Ionic Storage with Encryption, Compression & Sync","url":"/articles/ionic-storage.html#quick-start-implementing-rxdb-with-localstorage-storage","content":" For a simple proof-of-concept or testing environment in Ionic, you can use localstorage as your underlying storage. Later, if you need better native performance, you can switch to the SQLite storage offered by the RxDB Premium plugins. Install RxDB npm install rxdb rxjs Initialize the Database import { createRxDatabase } from 'rxdb/plugins/core'; import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage'; async function initDB() { const db = await createRxDatabase({ name: 'myionicdb', storage: getRxStorageLocalstorage(), multiInstance: false // or true if you plan multi-tab usage // Note: If you need encryption, set `password` here }); await db.addCollections({ notes: { schema: { title: 'notes schema', version: 0, type: 'object', primaryKey: 'id', properties: { id: { type: 'string' }, content: { type: 'string' }, timestamp: { type: 'number' } }, required: ['id'] } } }); return db; } Ready to Upgrade Later? When you need the best performance on mobile devices, purchase the RxDB PremiumSQLite Storage and replace getRxStorageLocalstorage() with getRxStorageSQLite() - your app logic remains largely the same. You only have to change the configuration. ","version":"Next","tagName":"h2"},{"title":"Encryption Example","type":1,"pageTitle":"RxDB - Local Ionic Storage with Encryption, Compression & Sync","url":"/articles/ionic-storage.html#encryption-example","content":" To secure local data, add the crypto-js encryption plugin (free version) or the premium web-crypto plugin. Below is an example using the free crypto-js plugin: import { wrappedKeyEncryptionCryptoJsStorage } from 'rxdb/plugins/encryption-crypto-js'; import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage'; import { createRxDatabase } from 'rxdb/plugins/core'; async function initEncryptedDB() { const encryptedStorage = wrappedKeyEncryptionCryptoJsStorage({ storage: getRxStorageLocalstorage() }); const db = await createRxDatabase({ name: 'secureIonicDB', storage: encryptedStorage, password: 'myS3cretP4ssw0rd' }); await db.addCollections({ secrets: { schema: { title: 'secret schema', version: 0, type: 'object', primaryKey: 'id', properties: { id: { type: 'string' }, text: { type: 'string' } }, required: ['id'], // all fields in this array will be stored encrypted: encrypted: ['text'] } } }); return db; } With encryption enabled: text is automatically encrypted at rest.Queries on encrypted fields are not directly possible (since data is encrypted), but once a document is loaded, RxDB decrypts it for normal usage. ","version":"Next","tagName":"h2"},{"title":"Compression Example","type":1,"pageTitle":"RxDB - Local Ionic Storage with Encryption, Compression & Sync","url":"/articles/ionic-storage.html#compression-example","content":" To minimize the storage footprint, RxDB offers a key-compression feature. You can enable it in your schema: await db.addCollections({ logs: { schema: { title: 'logs schema', version: 0, keyCompression: true, // enable compression type: 'object', primaryKey: 'id', properties: { id: { type: 'string' }, message: { type: 'string' }, createdAt: { type: 'string', format: 'date-time' } } } } }); With keyCompression: true, RxDB shortens field names internally, significantly reducing document size. This helps both stored data and network transport during replication. ","version":"Next","tagName":"h2"},{"title":"RxDB vs. Other Ionic Storage Options","type":1,"pageTitle":"RxDB - Local Ionic Storage with Encryption, Compression & Sync","url":"/articles/ionic-storage.html#rxdb-vs-other-ionic-storage-options","content":" Ionic Native Storage or Capacitor-based key-value stores may handle small amounts of data but lack advanced features like: Complex queriesFull NoSQL document modelOffline-firstsyncEncryption & key compression out of the boxRxDB stands out by delivering all these capabilities in a unified library. ","version":"Next","tagName":"h2"},{"title":"Follow Up","type":1,"pageTitle":"RxDB - Local Ionic Storage with Encryption, Compression & Sync","url":"/articles/ionic-storage.html#follow-up","content":" For Ionic storage that supports offline-first operations, built-in encryption, optional data compression, and live syncing with any backend, RxDB provides a powerful solution. Start quickly with localstorage for local development and testing - then scale up to the premium SQLite storage for optimal performance on production mobile devices. Ready to learn more? Explore the RxDB Quickstart GuideCheck out RxDB Encryption to protect user dataLearn about SQLite Storage in RxDB Premium for top performance on mobile.Join our community on the RxDB Chat RxDB - The ultimate toolkit for Ionic developers seeking offline-first, secure, and compressed local data, with real-time sync to any server. ","version":"Next","tagName":"h2"},{"title":"RxDB as a Database in a jQuery Application","type":0,"sectionRef":"#","url":"/articles/jquery-database.html","content":"","keywords":"","version":"Next"},{"title":"jQuery Web Applications","type":1,"pageTitle":"RxDB as a Database in a jQuery Application","url":"/articles/jquery-database.html#jquery-web-applications","content":" jQuery provides a simple API for DOM manipulation, event handling, and AJAX calls. It has been widely adopted due to its ease of use and strong community support. Many projects continue to rely on jQuery for handling client-side functionality, UI interactions, and animations. As these applications evolve, the need for a robust database solution that can manage data locally (and offline) becomes increasingly important. ","version":"Next","tagName":"h2"},{"title":"Importance of Databases in jQuery Applications","type":1,"pageTitle":"RxDB as a Database in a jQuery Application","url":"/articles/jquery-database.html#importance-of-databases-in-jquery-applications","content":" Modern, data-driven jQuery applications often need to: Store and retrieve data locally for quick and responsive user experiences.Synchronize data between clients or with a central server.Handle offline scenarios seamlessly.Handle large or complex data structures without repeatedly hitting the server. Relying solely on server endpoints or basic browser storage (like localStorage) can quickly become unwieldy for larger or more complex use cases. Enter RxDB, a dedicated solution that manages data on the client side while offering real-time synchronization and offline-first capabilities. ","version":"Next","tagName":"h2"},{"title":"Introducing RxDB as a Database Solution","type":1,"pageTitle":"RxDB as a Database in a jQuery Application","url":"/articles/jquery-database.html#introducing-rxdb-as-a-database-solution","content":" RxDB (short for Reactive Database) is built on top of IndexedDB and leverages RxJS to provide a modern, reactive approach to handling data in the browser. With RxDB, you can store documents locally, query them in real-time, and synchronize changes with a remote server whenever an internet connection is available. ","version":"Next","tagName":"h2"},{"title":"Key Features","type":1,"pageTitle":"RxDB as a Database in a jQuery Application","url":"/articles/jquery-database.html#key-features","content":" Reactive Data Handling: RxDB emits real-time updates whenever your data changes, allowing you to instantly reflect these changes in the DOM with jQuery.Offline-First Approach: Keep your application usable even when the user's network is unavailable. Data is automatically synchronized once connectivity is restored.Data Replication: Enable multi-device or multi-tab synchronization with minimal effort.Observable Queries: Reduce code complexity by subscribing to queries instead of constantly polling for changes.Multi-Tab Support: If a user opens your jQuery application in multiple tabs, RxDB keeps data in sync across all sessions. 3:45 This solved a problem I've had in Angular for years ","version":"Next","tagName":"h3"},{"title":"Getting Started with RxDB","type":1,"pageTitle":"RxDB as a Database in a jQuery Application","url":"/articles/jquery-database.html#getting-started-with-rxdb","content":" ","version":"Next","tagName":"h2"},{"title":"What is RxDB?","type":1,"pageTitle":"RxDB as a Database in a jQuery Application","url":"/articles/jquery-database.html#what-is-rxdb","content":" RxDB is a client-side NoSQL database that stores data in the browser (or node.js) and synchronizes changes with other instances or servers. Its design embraces reactive programming principles, making it well-suited for real-time applications, offline scenarios, and multi-tab use cases. ","version":"Next","tagName":"h3"},{"title":"Reactive Data Handling","type":1,"pageTitle":"RxDB as a Database in a jQuery Application","url":"/articles/jquery-database.html#reactive-data-handling","content":" RxDB's use of observables enables an event-driven architecture where data mutations automatically trigger UI updates. In a jQuery application, you can subscribe to these changes and update DOM elements as soon as data changes occur - no need for manual refresh or complicated change detection logic. ","version":"Next","tagName":"h3"},{"title":"Offline-First Approach","type":1,"pageTitle":"RxDB as a Database in a jQuery Application","url":"/articles/jquery-database.html#offline-first-approach","content":" One of RxDB's distinguishing traits is its emphasis on offline-first design. This means your jQuery application continues to function, display, and update data even when there's no network connection. When connectivity is restored, RxDB synchronizes updates with the server or other peers, ensuring consistency across all instances. ","version":"Next","tagName":"h3"},{"title":"Data Replication","type":1,"pageTitle":"RxDB as a Database in a jQuery Application","url":"/articles/jquery-database.html#data-replication","content":" RxDB supports real-time data replication with different backends. By enabling replication, you ensure that multiple clients - be they multiple browser tabs or separate devices - stay in sync. RxDB's conflict resolution strategies help keep the data consistent even when multiple users make changes simultaneously. ","version":"Next","tagName":"h3"},{"title":"Observable Queries","type":1,"pageTitle":"RxDB as a Database in a jQuery Application","url":"/articles/jquery-database.html#observable-queries","content":" Instead of static queries, RxDB provides observable queries. Whenever data relevant to a query changes, RxDB re-emits the new result set. You can subscribe to these updates within your jQuery code and instantly reflect them in the UI. ","version":"Next","tagName":"h3"},{"title":"Multi-Tab Support","type":1,"pageTitle":"RxDB as a Database in a jQuery Application","url":"/articles/jquery-database.html#multi-tab-support","content":" Running your jQuery app in multiple tabs? RxDB automatically synchronizes changes between those tabs. Users can freely switch windows without missing real-time updates. ","version":"Next","tagName":"h3"},{"title":"RxDB vs. Other jQuery Database Options","type":1,"pageTitle":"RxDB as a Database in a jQuery Application","url":"/articles/jquery-database.html#rxdb-vs-other-jquery-database-options","content":" Historically, jQuery developers might use localStorage or raw IndexedDB for storing data. However, these solutions can require significant boilerplate, lack reactivity, and offer no built-in sync or conflict resolution. RxDB fills these gaps with an out-of-the-box solution, abstracting away low-level database complexities and providing an event-driven, offline-capable approach. ","version":"Next","tagName":"h3"},{"title":"Using RxDB in a jQuery Application","type":1,"pageTitle":"RxDB as a Database in a jQuery Application","url":"/articles/jquery-database.html#using-rxdb-in-a-jquery-application","content":" ","version":"Next","tagName":"h2"},{"title":"Installing RxDB","type":1,"pageTitle":"RxDB as a Database in a jQuery Application","url":"/articles/jquery-database.html#installing-rxdb","content":" Install RxDB (and rxjs) via npm or yarn: npm install rxdb rxjs If your project isn't set up with a build process, you can still use bundlers like Webpack or Rollup, or serve RxDB as a UMD bundle. Once included, you'll have access to RxDB globally or via import statements. ","version":"Next","tagName":"h3"},{"title":"Creating and Configuring a Database","type":1,"pageTitle":"RxDB as a Database in a jQuery Application","url":"/articles/jquery-database.html#creating-and-configuring-a-database","content":" Below is a minimal example of how to create an RxDB instance and collection. You can call this when your page initializes, then store the db object for later use: import { createRxDatabase } from 'rxdb'; import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage'; async function initDatabase() { const db = await createRxDatabase({ name: 'heroesdb', storage: getRxStorageLocalstorage(), password: 'myPassword', // optional encryption password multiInstance: true, // multi-tab support eventReduce: true // optimizes event handling }); await db.addCollections({ hero: { schema: { title: 'hero schema', version: 0, primaryKey: 'id', type: 'object', properties: { id: { type: 'string' }, name: { type: 'string' }, points: { type: 'number' } } } } }); return db; } ","version":"Next","tagName":"h2"},{"title":"Updating the DOM with jQuery","type":1,"pageTitle":"RxDB as a Database in a jQuery Application","url":"/articles/jquery-database.html#updating-the-dom-with-jquery","content":" Once you have your RxDB instance, you can query data reactively and use jQuery to manipulate the DOM: // Example: Displaying heroes using jQuery $(document).ready(async function () { const db = await initDatabase(); // Subscribing to all hero documents db.hero .find() .$ // the observable .subscribe((heroes) => { // Clear the list $('#heroList').empty(); // Append each hero to the DOM heroes.forEach((hero) => { $('#heroList').append(` <li> <strong>${hero.name}</strong> - Points: ${hero.points} </li> `); }); }); // Example of adding a new hero $('#addHeroBtn').on('click', async () => { const heroName = $('#heroName').val(); const heroPoints = parseInt($('#heroPoints').val(), 10); await db.hero.insert({ id: Date.now().toString(), name: heroName, points: heroPoints }); }); }); With this approach, any time data in the hero collection changes - like when a new hero is added - your jQuery code re-renders the list of heroes automatically. ","version":"Next","tagName":"h2"},{"title":"Different RxStorage layers for RxDB","type":1,"pageTitle":"RxDB as a Database in a jQuery Application","url":"/articles/jquery-database.html#different-rxstorage-layers-for-rxdb","content":" RxDB supports multiple storage backends (RxStorage layers). Some popular ones: LocalStorage.js RxStorage: Uses the browsers localstorage. Fast and easy to set up.IndexedDB RxStorage: Direct IndexedDB usage, suitable for modern browsers.OPFS RxStorage: Uses the File System Access API for better performance in supported browsers.Memory RxStorage: Stores data in memory, handy for tests or ephemeral data.SQLite RxStorage: Uses SQLite (potentially via WebAssembly). In typical browser-based scenarios, localstorage or IndexedDB storage is usually more straightforward. ","version":"Next","tagName":"h2"},{"title":"Synchronizing Data with RxDB between Clients and Servers","type":1,"pageTitle":"RxDB as a Database in a jQuery Application","url":"/articles/jquery-database.html#synchronizing-data-with-rxdb-between-clients-and-servers","content":" ","version":"Next","tagName":"h2"},{"title":"Offline-First Approach","type":1,"pageTitle":"RxDB as a Database in a jQuery Application","url":"/articles/jquery-database.html#offline-first-approach-1","content":" RxDB's offline-first approach allows your jQuery application to store and query data locally. Users can continue interacting, even offline. When connectivity returns, RxDB syncs to the server. ","version":"Next","tagName":"h3"},{"title":"Conflict Resolution","type":1,"pageTitle":"RxDB as a Database in a jQuery Application","url":"/articles/jquery-database.html#conflict-resolution","content":" Should multiple clients update the same document, RxDB offers conflict handling strategies. You decide how to resolve conflicts - like keeping the latest edit or merging changes - ensuring data integrity across distributed systems. ","version":"Next","tagName":"h3"},{"title":"Bidirectional Synchronization","type":1,"pageTitle":"RxDB as a Database in a jQuery Application","url":"/articles/jquery-database.html#bidirectional-synchronization","content":" With RxDB, data changes flow both ways: from client to server and from server to client. This real-time synchronization ensures that all users or tabs see consistent, up-to-date data. ","version":"Next","tagName":"h3"},{"title":"Advanced RxDB Features and Techniques","type":1,"pageTitle":"RxDB as a Database in a jQuery Application","url":"/articles/jquery-database.html#advanced-rxdb-features-and-techniques","content":" ","version":"Next","tagName":"h2"},{"title":"Indexing and Performance Optimization","type":1,"pageTitle":"RxDB as a Database in a jQuery Application","url":"/articles/jquery-database.html#indexing-and-performance-optimization","content":" Create indexes on frequently queried fields to speed up performance. For large data sets, indexing can drastically improve query times, keeping your jQuery UI snappy. ","version":"Next","tagName":"h3"},{"title":"Encryption of Local Data","type":1,"pageTitle":"RxDB as a Database in a jQuery Application","url":"/articles/jquery-database.html#encryption-of-local-data","content":" RxDB supports encryption to secure data stored in the browser. This is crucial if your application handles sensitive user information. ","version":"Next","tagName":"h3"},{"title":"Change Streams and Event Handling","type":1,"pageTitle":"RxDB as a Database in a jQuery Application","url":"/articles/jquery-database.html#change-streams-and-event-handling","content":" Use change streams to listen for data modifications at the database or collection level. This can trigger real-timeUI updates, notifications, or custom logic whenever the data changes. ","version":"Next","tagName":"h3"},{"title":"JSON Key Compression","type":1,"pageTitle":"RxDB as a Database in a jQuery Application","url":"/articles/jquery-database.html#json-key-compression","content":" If your data model has large or repetitive field names, JSON key compression can minimize stored document size and potentially boost performance. ","version":"Next","tagName":"h3"},{"title":"Best Practices for Using RxDB in jQuery Applications","type":1,"pageTitle":"RxDB as a Database in a jQuery Application","url":"/articles/jquery-database.html#best-practices-for-using-rxdb-in-jquery-applications","content":" Centralize Your Database: Initialize and configure RxDB in one place. Expose the instance where needed or store it globally to avoid re-creating it on every script.Leverage Observables: Instead of polling or manually refreshing data, rely on RxDB's reactivity. Subscribe to queries and let RxDB inform you when data changes.Handle Subscriptions: If you create subscriptions in a single-page context, ensure you don't re-subscribe endlessly or create memory leaks. Clean them up if you're navigating away or removing DOM elements.Offline Testing: Thoroughly test how your jQuery app behaves without a network connection. Simulate offline states in your browser's dev tools or with flight mode to ensure the user experience remains smooth.Performance Profiling: For large data sets or frequent data updates, add indexes and carefully measure query performance. Optimize only where needed. ","version":"Next","tagName":"h2"},{"title":"Follow Up","type":1,"pageTitle":"RxDB as a Database in a jQuery Application","url":"/articles/jquery-database.html#follow-up","content":" To explore more about RxDB and leverage its capabilities for browser database development, check out the following resources: RxDB GitHub Repository: Visit the official GitHub repository of RxDB to access the source code, documentation, and community support.RxDB Quickstart: Get started quickly with RxDB by following the provided quickstart guide, which offers step-by-step instructions for setting up and using RxDB in your projects.RxDB Examples: Browse official examples to see RxDB in action and learn best practices you can apply to your own project - even if jQuery isn't explicitly featured, the patterns are similar. ","version":"Next","tagName":"h2"},{"title":"JSON-Based Databases: Why NoSQL and RxDB Simplify App Development","type":0,"sectionRef":"#","url":"/articles/json-based-database.html","content":"","keywords":"","version":"Next"},{"title":"Why JSON-Based Databases Are Typically NoSQL","type":1,"pageTitle":"JSON-Based Databases: Why NoSQL and RxDB Simplify App Development","url":"/articles/json-based-database.html#why-json-based-databases-are-typically-nosql","content":" ","version":"Next","tagName":"h2"},{"title":"Document-Oriented by Nature","type":1,"pageTitle":"JSON-Based Databases: Why NoSQL and RxDB Simplify App Development","url":"/articles/json-based-database.html#document-oriented-by-nature","content":" When your data is stored as JSON, each record or document can hold nested arrays and sub-objects with no forced table schema. NoSQL solutions such as MongoDB, CouchDB, Firebase, and RxDB store and retrieve these documents in their “raw” JSON form. This model integrates smoothly with how front-end applications already handle data, minimizing transformations and improving developer productivity. ","version":"Next","tagName":"h3"},{"title":"Flexible, Schema-Agnostic","type":1,"pageTitle":"JSON-Based Databases: Why NoSQL and RxDB Simplify App Development","url":"/articles/json-based-database.html#flexible-schema-agnostic","content":" Traditional SQL tables enforce rigid column definitions and demand explicit schema migrations when you add or rename a field. By contrast, NoSQL solutions accept more dynamic data structures, allowing changes on the fly. This means a front-end developer can add a new field to a JSON object—perhaps for a new feature—without the friction of redefining or migrating a database schema. While this is possible, it is often not recommended. ","version":"Next","tagName":"h3"},{"title":"Aligned With Evolving User Interfaces","type":1,"pageTitle":"JSON-Based Databases: Why NoSQL and RxDB Simplify App Development","url":"/articles/json-based-database.html#aligned-with-evolving-user-interfaces","content":" As modern UIs frequently manipulate deeply nested or changing data, developers find it easier to store whole objects directly, saving time that might otherwise be spent performing complex joins or normalizing data. For instance, frameworks like React, Vue, or Angular are inherently comfortable with nested JSON structures, which map more directly to NoSQL’s “document” approach than to relational tables. ","version":"Next","tagName":"h3"},{"title":"Is NoSQL “Better” Than SQL?","type":1,"pageTitle":"JSON-Based Databases: Why NoSQL and RxDB Simplify App Development","url":"/articles/json-based-database.html#is-nosql-better-than-sql","content":" It depends on your application. SQL remains exceptional for complex aggregations, enforced relationships, and sophisticated transaction handling. But NoSQL is often more intuitive and easier to maintain for “document-first” applications that: Thrive on flexible or rapidly evolving data models.Rely on hierarchical or nested JSON objects.Avoid multi-table joins.Require easy horizontal scaling for large sets of documents. Relational databases are still a top choice for many enterprise back-ends, especially when advanced analytics or strongly enforced referential integrity is needed. But if your application is predominantly storing and manipulating JSON documents (e.g., user profiles, real-time chat logs, embedded items), a JSON-based or document-oriented approach can greatly reduce friction during development. ","version":"Next","tagName":"h2"},{"title":"When to Prefer SQL Instead of JSON/NoSQL","type":1,"pageTitle":"JSON-Based Databases: Why NoSQL and RxDB Simplify App Development","url":"/articles/json-based-database.html#when-to-prefer-sql-instead-of-jsonnosql","content":" NoSQL solutions—particularly JSON-based document stores—provide a natural fit for flexible, nested data in UI-heavy applications. However, certain scenarios may benefit more from a SQL solution: Complex Relationships: If your data demands intricate joins across multiple entities (e.g., many-to-many relationships that can’t easily be embedded in a single document), a well-structured relational schema can simplify queries.Strong Integrity and Constraints: SQL excels at enforcing constraints such as foreign keys, unique constraints, and advanced triggers. If your system needs strict data validation and complex business logic within the database, SQL might prove more robust.High-End Analytical Queries: Relational databases can handle sophisticated aggregations, groupings, and joins more efficiently. If your app frequently runs advanced SQL queries, a NoSQL approach may complicate or slow down analytics.Legacy Integration: Many enterprise systems are built around existing relational schemas. A purely NoSQL approach might mean rewriting or bridging systems that are heavily reliant on SQL constraints and transformations.Transaction Handling: While many NoSQL solutions have improved transaction support, it can still lag behind well-established SQL transaction models. If ACID properties and multi-operation atomicity are paramount, you might prefer a tried-and-true relational engine. In short, if you prioritize advanced relational queries, robust constraints, or complex business rules at the database level, SQL remains a powerful, and possibly superior, choice. For user-centric, fast-evolving JSON data, though, NoSQL or JSON-based solutions often reduce the friction of frequent schema changes. ","version":"Next","tagName":"h2"},{"title":"Storing JSON in Traditional SQL Databases","type":1,"pageTitle":"JSON-Based Databases: Why NoSQL and RxDB Simplify App Development","url":"/articles/json-based-database.html#storing-json-in-traditional-sql-databases","content":" ","version":"Next","tagName":"h2"},{"title":"JSON Columns in PostgreSQL or MySQL","type":1,"pageTitle":"JSON-Based Databases: Why NoSQL and RxDB Simplify App Development","url":"/articles/json-based-database.html#json-columns-in-postgresql-or-mysql","content":" To accommodate the demand for flexible data, several SQL engines (notably PostgreSQL and MySQL) introduced support for JSON columns. PostgreSQL offers the JSON and JSONB types, enabling developers to store raw JSON in a column. You can also index specific paths within the JSON to speed lookups on nested fields: CREATE TABLE products ( id SERIAL PRIMARY KEY, name TEXT, details JSONB ); -- Insert a record with JSON data INSERT INTO products (name, details) VALUES ('Laptop', '{"brand": "BrandX", "features": ["Touchscreen", "SSD"]}'); Although this approach merges the best of both worlds (SQL queries + flexible JSON fields), it can also create a “split personality” in your schema. You might store stable data in normal columns, while unpredictable or nested details live inside a JSONB field. Some projects flourish with this hybrid design, others find it a bit unwieldy. ","version":"Next","tagName":"h3"},{"title":"Storing JSON in SQLite","type":1,"pageTitle":"JSON-Based Databases: Why NoSQL and RxDB Simplify App Development","url":"/articles/json-based-database.html#storing-json-in-sqlite","content":" SQLite also allows storing JSON data, typically as text columns, but with some additional features since SQLite 3.9 (2015) including the JSON1 extension. This extension can parse JSON text, perform queries on JSON fields, and do partial updates. However, storing JSON in SQLite does require you to ensure you’ve compiled SQLite with JSON1 support or to rely on a library that bundles it. While possible, you still won't get quite the same schema-agnostic ease as a full document store, but it’s a pragmatic solution for smaller or embedded needs on the server side—or occasionally in the browser if you run SQLite via WebAssembly. RxDB uses this in its SQLite storage. ","version":"Next","tagName":"h2"},{"title":"JSON vs. Database - Why a Plain JSON Text File is a Problem","type":1,"pageTitle":"JSON-Based Databases: Why NoSQL and RxDB Simplify App Development","url":"/articles/json-based-database.html#json-vs-database---why-a-plain-json-text-file-is-a-problem","content":" Some developers consider storing everything in a single JSON file, typically read and written directly from disk or local storage. This approach, while seemingly simple, usually does not scale. Key issues include: No Concurrency: If multiple parts of the application try to write to the same JSON file, you risk overwriting changes.No Indexes: Finding or filtering items in large JSON text requires scanning everything. This is slow and quickly becomes unmanageable.No Partial Updates: You often reload the entire file, modify it in memory, then write it back, which is highly inefficient for large data sets.Corruption Risk: A single corrupted write or partial save might break the entire JSON file, losing all data.High Memory Usage: The entire file may need to be parsed into memory, even if you only need a fraction of the data. Databases—relational or NoSQL—solve these issues by handling concurrency, enabling partial reads/writes, establishing indexes, and ensuring transactional integrity so you don’t lose everything if the process is interrupted mid-write. ","version":"Next","tagName":"h2"},{"title":"RxDB: A JSON-Focused Database for JavaScript Apps","type":1,"pageTitle":"JSON-Based Databases: Why NoSQL and RxDB Simplify App Development","url":"/articles/json-based-database.html#rxdb-a-json-focused-database-for-javascript-apps","content":" Many NoSQL databases operate on the server, whereas RxDB is built for client-side usage—browsers, mobile apps, or Node.js. It specializes in JSON documents and embraces an offline-first philosophy. ","version":"Next","tagName":"h2"},{"title":"Key Characteristics","type":1,"pageTitle":"JSON-Based Databases: Why NoSQL and RxDB Simplify App Development","url":"/articles/json-based-database.html#key-characteristics","content":" Local JSON Storage RxDB stores each record as a JSON document, closely matching how front-end frameworks handle state. This eliminates complex transformations or manual JSON parsing before writing to a table. Reactive Queries Instead of complex SQL, RxDB uses JSON-based query definitions. You can subscribe to query results, letting your UI automatically refresh when data changes locally or from remote sync updates: Offline-First Sync Built-in replication plugins push/pull changes to or from a remote server. If your app is offline, updates get stored locally, then sync up seamlessly once a connection is available. Optional JSON-Schema Though it’s a document database, RxDB encourages you to define a JSON-based schema for clarity, indexing, and type validation. This helps maintain data consistency while still allowing a measure of flexibility for new fields. ","version":"Next","tagName":"h3"},{"title":"Advanced JSON Features in RxDB","type":1,"pageTitle":"JSON-Based Databases: Why NoSQL and RxDB Simplify App Development","url":"/articles/json-based-database.html#advanced-json-features-in-rxdb","content":" JSON-Schema: By specifying a JSON-Schema, you can define which fields exist, whether they are required, and their data types. This is invaluable for catching malformed documents early and imposing mild structure in a NoSQL setting. JSON Key-Compression: Large, verbose field names can bloat storage usage. RxDB’s optional key-compression plugin automatically shortens field names in your JSON documents internally, reducing disk space and bandwidth: // Example: how key-compression can transform your documents const uncompressed = { "firstName": "Corrine", "lastName": "Ziemann", "shoppingCartItems": [ { "productNumber": 29857, "amount": 1 }, { "productNumber": 53409, "amount": 6 } ] }; const compressed = { "|e": "Corrine", "|g": "Ziemann", "|i": [ { "|h": 29857, "|b": 1 }, { "|h": 53409, "|b": 6 } ] }; The user sees no difference in their code—RxDB automatically decompresses data on read—but the overhead is drastically reduced behind the scenes. ","version":"Next","tagName":"h3"},{"title":"Follow Up","type":1,"pageTitle":"JSON-Based Databases: Why NoSQL and RxDB Simplify App Development","url":"/articles/json-based-database.html#follow-up","content":" JSON-based databases naturally align with NoSQL because they accommodate evolving, nested data without rigid schemas. This makes them appealing for many UI-centric or offline-first applications where flexible documents and agile development cycles matter more than heavy relational queries or constraints. SQL can still store JSON—whether in PostgreSQL’s JSONB columns, MySQL’s JSON fields, or SQLite’s JSON1 extension. For some teams, a hybrid approach pairing SQL for relational data with JSON columns for more flexible fields works well. However, storing everything in a single monolithic JSON text file is rarely advisable for anything beyond trivial tasks—databases excel at concurrency, indexing, and partial writes. Tools like RxDB provide an even simpler, local-first take on JSON documents—particularly for JavaScript projects. With offline replication, reactive queries, optional JSON-Schema, and advanced optimizations such as key-compression, RxDB streamlines building dynamic, user-facing features while preserving the core benefits of a robust document database. To explore more about RxDB and its capabilities for browser database development, check out the following resources: RxDB GitHub Repository: Visit the official GitHub repository of RxDB to access the source code, documentation, and community support.RxDB Quickstart: Get started quickly with RxDB by following the provided quickstart guide, which offers step-by-step instructions for setting up and using RxDB in your projects.RxDB Examples: Browse official examples to see RxDB in action and learn best practices you can apply to your own project - even if jQuery isn't explicitly featured, the patterns are similar. ","version":"Next","tagName":"h2"},{"title":"RxDB - JSON Database for JavaScript","type":0,"sectionRef":"#","url":"/articles/json-database.html","content":"","keywords":"","version":"Next"},{"title":"Why Choose a JSON Database?","type":1,"pageTitle":"RxDB - JSON Database for JavaScript","url":"/articles/json-database.html#why-choose-a-json-database","content":" JavaScript Friendliness: JavaScript, a prevalent language for web development, naturally uses JSON for data representation. Using a JSON database aligns seamlessly with JavaScript's native data format. Compatibility: JSON is widely supported across different programming languages and platforms. Storing data in JSON format ensures compatibility with a broad range of tools and systems. All modern programming ecosystems have packages to parse, validate and process JSON data. Flexibility: JSON documents can accommodate complex and nested data structures, allowing developers to store data in a more intuitive and hierarchical manner compared to SQL table rows. Nested data can be just stored in-document instead of having related tables. Human-Readable: JSON is easy to read and understand, simplifying debugging and data inspection tasks. ","version":"Next","tagName":"h2"},{"title":"Storage and Access Options for JSON Documents","type":1,"pageTitle":"RxDB - JSON Database for JavaScript","url":"/articles/json-database.html#storage-and-access-options-for-json-documents","content":" When incorporating JSON documents into your application, you have several storage and access options to consider: Local In-App Database with In-Memory Storage: Ideal for lightweight applications or temporary data storage, this option keeps data in memory, ensuring fast read and write operations. However, data is not persistet beyond the current application session, making it suitable for temporary data storage. With RxDB, the memory RxStorage can be utilized to create an in-memory database. Local In-App Database with Persistent Storage: Suitable for applications requiring data retention across sessions. Data is stored on the user's device or inside of the Node.js application, offering persistence between application sessions. It balances speed and data retention, making it versatile for various applications. With RxDB, a whole range of persistent storages is available. As example, for browser there is the IndexedDB storage. For server side applications, the Node.js Filesystem storage can be used. There are many more storages for React-Native, Flutter, Capacitors.js and others. Server Database Connected to the Application: For applications requiring data synchronization and accessibility from multiple processes, a server-based database is the preferred choice. Data is stored on a remote server, facilitating data sharing, synchronization, and accessibility across multiple processes. It's suitable for scenarios requiring centralized data management and enhanced security and backup capabilities on the server. RxDB supports the FoundationDB and MongoDB as a remote database server. ","version":"Next","tagName":"h2"},{"title":"Compression Storage for JSON Documents","type":1,"pageTitle":"RxDB - JSON Database for JavaScript","url":"/articles/json-database.html#compression-storage-for-json-documents","content":" Compression storage for JSON documents is made effortless with RxDB's key-compression plugin. This feature enables the efficient storage of compressed document data, reducing storage requirements while maintaining data integrity. Queries on compressed documents remain seamless, ensuring that your application benefits from both space-saving advantages and optimal query performance, making RxDB a compelling choice for managing JSON data efficiently. The compression happens inside of the RxDatabase and does not affect the API usage. The only limitation is that encrypted fields themself cannot be used inside a query. ","version":"Next","tagName":"h2"},{"title":"Schema Validation and Data Migration on Schema Changes","type":1,"pageTitle":"RxDB - JSON Database for JavaScript","url":"/articles/json-database.html#schema-validation-and-data-migration-on-schema-changes","content":" Storing JSON documents inside of a database in an application, can cause a problem when the format of the data changes. Instead of having a single server where the data must be migrated, many client devices are out there that have to run a migration. When your application's schema evolves, RxDB provides migration strategies to facilitate the transition, ensuring data consistency throughout schema updates. JSONSchema Validation Plugins: RxDB supports multiple JSONSchema validation plugins, guaranteeing that only valid data is stored in the database. RxDB uses the JsonSchema standardization that you might know from other technologies like OpenAPI (aka Swagger). // RxDB Schema example const mySchema = { version: 0, primaryKey: 'id', // <- define the primary key for your documents type: 'object', properties: { id: { type: 'string', maxLength: 100 // <- the primary key must have set maxLength }, name: { type: 'string', maxLength: 100 }, done: { type: 'boolean' }, timestamp: { type: 'string', format: 'date-time' } }, required: ['id', 'name', 'done', 'timestamp'] } ","version":"Next","tagName":"h2"},{"title":"Store JSON with RxDB in Browser Applications","type":1,"pageTitle":"RxDB - JSON Database for JavaScript","url":"/articles/json-database.html#store-json-with-rxdb-in-browser-applications","content":" RxDB offers versatile storage solutions for browser-based applications: Multiple Storage Plugins: RxDB supports various storage backends, including IndexedDB, localstorage and In-Memory, catering to a range of browser environments. Observable Queries: With RxDB, you can create observable queries that work seamlessly across multiple browser tabs, providing real-time updates and synchronization. ","version":"Next","tagName":"h2"},{"title":"RxDB JSON Database Performance","type":1,"pageTitle":"RxDB - JSON Database for JavaScript","url":"/articles/json-database.html#rxdb-json-database-performance","content":" Certainly! Let's delve deeper into the performance aspects of RxDB when it comes to working with JSON data. Efficient Querying: RxDB is engineered for rapid and efficient querying of JSON data. It employs a well-optimized indexing system that allows for lightning-fast retrieval of specific data points within your JSON documents. Whether you're fetching individual values or complex nested structures, RxDB's query performance is designed to keep your application responsive, even when dealing with large datasets. Scalability: As your application grows and your JSON dataset expands, RxDB scales gracefully. Its performance remains consistent, enabling you to handle increasingly larger volumes of data without compromising on speed or responsiveness. This scalability is essential for applications that need to accommodate growing user bases and evolving data needs. Reduced Latency: RxDB's streamlined data access mechanisms significantly reduce latency when working with JSON data. Whether you're reading from the database, making updates, or synchronizing data between clients and servers, RxDB's optimized operations help minimize the delays often associated with data access. Observed queries are optimized with the EventReduce algorithm to provide nearly-instand UI updates on data changes. RxStorage Layer: Because RxDB allows you to swap out the storage layer. A storage with the most optimal performance can be chosen for each runtime while not touching other database code. Depending on the access patterns, you can pick exactly the storage that is best: ","version":"Next","tagName":"h2"},{"title":"RxDB in Node.js","type":1,"pageTitle":"RxDB - JSON Database for JavaScript","url":"/articles/json-database.html#rxdb-in-nodejs","content":" Node.js developers can also benefit from RxDB's capabilities. By integrating RxDB into your Node.js applications, you can harness the power of a NoSQL JSON db to efficiently manage your data on the server-side. RxDB's flexibility, performance, and essential features are equally valuable in server-side development. Read more about RxDB+Node.js. ","version":"Next","tagName":"h2"},{"title":"RxDB to store JSON documents in React Native","type":1,"pageTitle":"RxDB - JSON Database for JavaScript","url":"/articles/json-database.html#rxdb-to-store-json-documents-in-react-native","content":" For mobile app developers working with React Native, RxDB offers a convenient solution for handling JSON data. Whether you're building Android or iOS applications, RxDB's compatibility with JavaScript and its ability to work with JSON documents make it a natural choice for data management within your React Native apps. Read more about RxDB+React-Native. ","version":"Next","tagName":"h2"},{"title":"Using SQLite as a JSON Database","type":1,"pageTitle":"RxDB - JSON Database for JavaScript","url":"/articles/json-database.html#using-sqlite-as-a-json-database","content":" In some cases, you might want to use SQLite as a backend storage solution for your JSON data. RxDB can be configured to work with SQLite, providing the benefits of both a relational database system and JSON document storage. This hybrid approach can be advantageous when dealing with complex data relationships while retaining the flexibility of JSON data representation. ","version":"Next","tagName":"h2"},{"title":"Follow Up","type":1,"pageTitle":"RxDB - JSON Database for JavaScript","url":"/articles/json-database.html#follow-up","content":" To further explore RxDB and get started with using it in your frontend applications, consider the following resources: RxDB Quickstart: A step-by-step guide to quickly set up RxDB in your project and start leveraging its features.RxDB GitHub Repository: The official repository for RxDB, where you can find the code, examples, and community support. By embracing RxDB as your JSON database solution, you can tap into the extensive capabilities of JSON data storage. This empowers your applications with offline accessibility, caching, enhanced performance, and effortless data synchronization. RxDB's focus on JavaScript and its robust feature set render it the perfect selection for frontend developers in pursuit of efficient and scalable data storage solutions. ","version":"Next","tagName":"h2"},{"title":"What is a Local Database and Why RxDB is the Best Local Database for JavaScript Applications","type":0,"sectionRef":"#","url":"/articles/local-database.html","content":"","keywords":"","version":"Next"},{"title":"Use Cases of Local Databases","type":1,"pageTitle":"What is a Local Database and Why RxDB is the Best Local Database for JavaScript Applications","url":"/articles/local-database.html#use-cases-of-local-databases","content":" Local databases are particularly beneficial for: Offline Functionality: Essential for apps that must remain usable without a consistent internet connection, such as note-taking apps or offline-first CRMs. Users can continue adding and editing data, then sync changes once they reconnect.Low Latency: By reducing round-trips to remote servers, local databases enable real-time responsiveness. This feature is critical for interactive applications such as gaming platforms, data dashboards, or analytics tools that need near-instant feedback.Data Synchronization: Many modern applications - like chat systems or collaborative editing tools - require continuous data exchange between multiple users or devices. Local databases can handle intermittent connectivity gracefully, queuing updates locally and syncing them when possible. In addition, local databases are increasingly integral to Progressive Web Apps (PWAs), offering a native app-like user experience that is fast and available, even when offline. ","version":"Next","tagName":"h3"},{"title":"Performance Optimization","type":1,"pageTitle":"What is a Local Database and Why RxDB is the Best Local Database for JavaScript Applications","url":"/articles/local-database.html#performance-optimization","content":" The primary performance benefit of a local database is its proximity to the application: queries and updates happen directly on the user's device, eliminating the overhead of multiple network hops. Common optimizations include: Caching: Storing frequently accessed data in memory or on disk to minimize expensive operations.Batching Writes: Grouping database operations into a single write transaction to reduce overhead and lock contention.Efficient Indexing: Using appropriate indexes to speed up queries, especially important for applications that handle large data sets or frequent lookups. These techniques ensure that local databases run smoothly, even on lower-powered or mobile devices. ","version":"Next","tagName":"h3"},{"title":"Security and Encryption","type":1,"pageTitle":"What is a Local Database and Why RxDB is the Best Local Database for JavaScript Applications","url":"/articles/local-database.html#security-and-encryption","content":" Storing data on user devices introduces unique security considerations, such as the risk of physical theft or unauthorized access. Consequently, many local databases support encryption options to safeguard sensitive information. Developers can implement additional security measures like device-level encryption, secure storage plugins, and user authentication to further protect data from prying eyes. ","version":"Next","tagName":"h3"},{"title":"Why RxDB is Optimized for JavaScript Applications","type":1,"pageTitle":"What is a Local Database and Why RxDB is the Best Local Database for JavaScript Applications","url":"/articles/local-database.html#why-rxdb-is-optimized-for-javascript-applications","content":" RxDB (Reactive Database) is an offline-first, NoSQL database designed to meet the needs of modern JavaScript applications. Built with a focus on reactivity and real-time data handling, RxDB excels in scenarios where low-latency, offline availability, and scalability are essential. ","version":"Next","tagName":"h2"},{"title":"Real-Time Reactivity","type":1,"pageTitle":"What is a Local Database and Why RxDB is the Best Local Database for JavaScript Applications","url":"/articles/local-database.html#real-time-reactivity","content":" At the core of RxDB is reactive programming, allowing you to subscribe to changes in your data collections and receive immediate UI updates when records change - no manual polling or refetching required. For instance, a chat application can display incoming messages as soon as they arrive, maintaining a smooth and responsive experience. ","version":"Next","tagName":"h3"},{"title":"Offline-First Support","type":1,"pageTitle":"What is a Local Database and Why RxDB is the Best Local Database for JavaScript Applications","url":"/articles/local-database.html#offline-first-support","content":" RxDB's primary design goal is to work seamlessly in offline environments. Even if your device loses internet connectivity, RxDB enables you to continue reading and writing data. Once the connection is restored, all pending changes are automatically synchronized with your backend. This offline-first approach is ideal for productivity apps, field service tools, and other scenarios where reliability and user autonomy are paramount. ","version":"Next","tagName":"h3"},{"title":"Flexible Data Replication","type":1,"pageTitle":"What is a Local Database and Why RxDB is the Best Local Database for JavaScript Applications","url":"/articles/local-database.html#flexible-data-replication","content":" A standout feature of RxDB is its bi-directional replication. It supports synchronization with a variety of backends, such as: CouchDB: Via the CouchDB replication, facilitating easy integration with any Couch-compatible server.GraphQL Endpoints: Through community plugins, developers can replicate JSON documents to and from GraphQL servers.Custom Backends: RxDB provides hooks to build custom replication strategies for proprietary or specialized server APIs. This flexibility ensures that RxDB fits into diverse architectures without locking you into a single vendor or technology stack. ","version":"Next","tagName":"h3"},{"title":"Schema Validation and Versioning","type":1,"pageTitle":"What is a Local Database and Why RxDB is the Best Local Database for JavaScript Applications","url":"/articles/local-database.html#schema-validation-and-versioning","content":" Rather than relying on implicit data models, RxDB leverages JSON schema to define document structures. This approach promotes data consistency by enforcing constraints such as required fields and acceptable data formats. As your application grows and changes, RxDB's built-in schema versioning and migration tools help you evolve your database schema safely, minimizing risks of data corruption or loss. ","version":"Next","tagName":"h3"},{"title":"Rich Plugin Ecosystem","type":1,"pageTitle":"What is a Local Database and Why RxDB is the Best Local Database for JavaScript Applications","url":"/articles/local-database.html#rich-plugin-ecosystem","content":" One of RxDB's greatest strengths is its pluggable architecture, allowing you to add functionality as needed: Encryption: Secure your data at rest using advanced encryption plugins.Full-Text Search: Integrate powerful text search capabilities for applications that require quick and flexible query options.Storage Adapters: Swap out the underlying storage layer (e.g., IndexedDB in the browser, SQLite in React Native, or a custom engine) without rewriting your application logic. You can fine-tune RxDB to your exact needs, avoiding the performance overhead of unnecessary features. ","version":"Next","tagName":"h3"},{"title":"Multi-Platform Compatibility","type":1,"pageTitle":"What is a Local Database and Why RxDB is the Best Local Database for JavaScript Applications","url":"/articles/local-database.html#multi-platform-compatibility","content":" RxDB is a perfect fit for cross-platform development, as it supports numerous environments: Browsers (IndexedDB): For web and PWA projects.Node.js: Ideal for server-side rendering or background services.React Native: Leverage SQLite or other adapters for mobile app development.Electron: Create offline-capable desktop apps with a unified codebase. This versatility empowers teams to reuse application logic across multiple platforms while maintaining a consistent data model. ","version":"Next","tagName":"h3"},{"title":"Performance Optimization","type":1,"pageTitle":"What is a Local Database and Why RxDB is the Best Local Database for JavaScript Applications","url":"/articles/local-database.html#performance-optimization-1","content":" With lazy loading of data and the ability to utilize efficient storage engines, RxDB delivers high-speed operations and quick response times. By minimizing disk I/O and leveraging indexes effectively, RxDB ensures that even large-scale applications remain performant. Its reactive nature also helps avoid unnecessary re-renders, improving the end-user experience. ","version":"Next","tagName":"h3"},{"title":"Proven Reliability","type":1,"pageTitle":"What is a Local Database and Why RxDB is the Best Local Database for JavaScript Applications","url":"/articles/local-database.html#proven-reliability","content":" RxDB is battle-tested in production environments, handling use cases from small single-user applications to large-scale enterprise solutions. Its robust replication mechanism resolves conflicts, manages concurrent writes, and ensures data integrity. The active open-source community provides ongoing support, documentation updates, and feature improvements. ","version":"Next","tagName":"h3"},{"title":"Developer-Friendly Features","type":1,"pageTitle":"What is a Local Database and Why RxDB is the Best Local Database for JavaScript Applications","url":"/articles/local-database.html#developer-friendly-features","content":" For developers, RxDB offers: Straightforward APIs: Built on top of familiar JavaScript paradigms like promises and observables.Excellent Documentation: Detailed guides, tutorials, and references for every major feature.Rich Community Support: Benefit from an active ecosystem of contributors creating plugins, answering questions, and maintaining core libraries. These qualities streamline development, making RxDB an appealing choice for teams of all sizes. ","version":"Next","tagName":"h3"},{"title":"Follow Up","type":1,"pageTitle":"What is a Local Database and Why RxDB is the Best Local Database for JavaScript Applications","url":"/articles/local-database.html#follow-up","content":" Ready to get started? Here are some next steps: Try the Quickstart Tutorial and build a basic project to see RxDB in action.Compare RxDB with other local database solutions to determine the best fit for your unique requirements. Ultimately, RxDB is more than just a database - it's a robust, reactive toolkit that empowers you to build fast, resilient, and user-centric applications. Whether you're creating an offline-first note-taking app or a real-time collaborative platform, RxDB can handle your local storage needs with ease and flexibility. ","version":"Next","tagName":"h2"},{"title":"Local Vector Database with RxDB and transformers.js in JavaScript","type":0,"sectionRef":"#","url":"/articles/javascript-vector-database.html","content":"","keywords":"","version":"Next"},{"title":"What is a Vector Database?","type":1,"pageTitle":"Local Vector Database with RxDB and transformers.js in JavaScript","url":"/articles/javascript-vector-database.html#what-is-a-vector-database","content":" A vector database is a specialized database optimized for storing and querying data in the form of high-dimensional vectors, often referred to as embeddings. These embeddings are numerical representations of data, such as text, images, or audio, created by machine learning models like MiniLM. Unlike traditional databases that work with exact matches on predefined fields, vector databases focus on semantic similarity, allowing you to query data based on meaning rather than exact values. A vector, or embedding, is essentially an array of numbers, like [0.56, 0.12, -0.34, -0.90]. For example, instead of asking "Which document has the word 'database'?", you can query "Which documents discuss similar topics to this one?" The vector database compares embeddings and returns results based on how similar the vectors are to each other. Vector databases handle multiple types of data beyond text, including images, videos, and audio files, all transformed into embeddings for efficient querying. Mostly you would not train a model by yourself and instead use one of the public available transformer models. Vector databases are highly effective in various types of applications: Similarity Search: Finds the closest matches to a query, even when the query doesn't contain the exact terms.Clustering: Groups similar items based on the proximity of their vector representations.Recommendations: Suggests items based on shared characteristics.Anomaly Detection: Identifies outliers that differ from the norm.Classification: Assigns categories to data based on its vector's nearest neighbors. In this tutorial, we will build a vector database designed as a Similarity Search for text. For other use cases, the setup can be adapted accordingly. This flexibility is why RxDB doesn't provide a dedicated vector-database plugin, but rather offers utility functions to help you build your own vector search system. ","version":"Next","tagName":"h2"},{"title":"Generating Embeddings Locally in a Browser","type":1,"pageTitle":"Local Vector Database with RxDB and transformers.js in JavaScript","url":"/articles/javascript-vector-database.html#generating-embeddings-locally-in-a-browser","content":" For the first step to build a local-first vector database we need to compute embeddings directly on the user's device. This is where transformers.js from huggingface comes in, allowing us to run machine learning models in the browser with WebAssembly. Below is an implementation of a getEmbeddingFromText() function, which takes a piece of text and transforms it into an embedding using the Xenova/all-MiniLM-L6-v2 model: import { pipeline } from "@xenova/transformers"; const pipePromise = pipeline('feature-extraction', 'Xenova/all-MiniLM-L6-v2'); async function getEmbeddingFromText(text) { const pipe = await pipePromise; const output = await pipe(text, { pooling: "mean", normalize: true, }); return Array.from(output.data); } This function creates an embedding by running the text through a pre-trained model and returning it in the form of an array of numbers, which can then be stored and further processed locally. note Vector embeddings from different machine learning models or versions are not compatible with each other. When you change your model, you have to recreate all embeddings for your data. ","version":"Next","tagName":"h2"},{"title":"Storing the Embeddings in RxDB","type":1,"pageTitle":"Local Vector Database with RxDB and transformers.js in JavaScript","url":"/articles/javascript-vector-database.html#storing-the-embeddings-in-rxdb","content":" To store the embeddings, first we have to create our RxDB Database with the localstorage storage that stores data in the browsers localstorage. For more advanced projects, you can use any other RxStorage. import { createRxDatabase } from 'rxdb'; import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage'; const db = await createRxDatabase({ name: 'mydatabase', storage: getRxStorageLocalstorage() }); Then we add a items collection that stores our documents with the text field that stores the content. await db.addCollections({ items: { schema: { version: 0, primaryKey: 'id', type: 'object', properties: { id: { type: 'string', maxLength: 20 }, text: { type: 'string' } }, required: ['id', 'text'] } } }); const itemsCollection = db.items; In our example repo, we use the Wiki Embeddings dataset from supabase which was transformed and used to fill up the items collection with test data. const imported = await itemsCollection.count().exec(); const response = await fetch('./files/items.json'); const items = await response.json(); const insertResult = await itemsCollection.bulkInsert( items ); Also we need a vector collection that stores our embeddings. RxDB, as a NoSQL database, allows for the storage of flexible data structures, such as embeddings, within documents. To achieve this, we need to define a schema that specifies how the embeddings will be stored alongside each document. The schema includes fields for an id and the embedding array itself. await db.addCollections({ vector: { schema: { version: 0, primaryKey: 'id', type: 'object', properties: { id: { type: 'string', maxLength: 20 }, embedding: { type: 'array', items: { type: 'string' } } }, required: ['id', 'embedding'] } } }); const vectorCollection = db.vector; When storing documents in the database, we need to ensure that the embeddings for these documents are generated and stored automatically. This requires a handler that runs during every document write, calling the machine learning model to generate the embeddings and storing them in a separate vector collection. Since our app runs in a browser, it's essential to avoid duplicate work when multiple browser tabs are open and ensure efficient use of resources. Furthermore, we want the app to resume processing documents from where it left off if it's closed or interrupted. To achieve this, RxDB provides a pipeline plugin, which allows us to set up a workflow that processes items and stores their embeddings. In our example, a pipeline takes batches of 10 documents, generates embeddings, and stores them in a separate vector collection. const pipeline = await itemsCollection.addPipeline({ identifier: 'my-embeddings-pipeline', destination: vectorCollection, batchSize: 10, handler: async (docs) => { await Promise.all(docs.map(async(doc) => { const embedding = await getVectorFromText(doc.text); await vectorCollection.upsert({ id: doc.primary, embedding }); })); } }); However, processing data locally presents performance challenges. Running the handler with a batch size of 10 takes around 2-4 seconds per batch, meaning processing 10k documents would take up to an hour. To improve performance, we can do parallel processing using WebWorkers. A WebWorker runs on a different JavaScript process and we can start and run many of them in parallel. Our worker listens for messages and performance the embedding generation on each request. It then sends the result embedding back to the main thread. // worker.js import { getVectorFromText } from './vector.js'; onmessage = async (e) => { const embedding = await getVectorFromText(e.data.text); postMessage({ id: e.data.id, embedding }); }; On the main thread we spawn one worker per core and send the tasks to the worker instead of processing them on the main thread. // create one WebWorker per core const workers = new Array(navigator.hardwareConcurrency) .fill(0) .map(() => new Worker(new URL("worker.js", import.meta.url))); let lastWorkerId = 0; let lastId = 0; export async function getVectorFromTextWithWorker(text: string): Promise<number[]> { let worker = workers[lastWorkerId++]; if(!worker) { lastWorkerId = 0; worker = workers[lastWorkerId++]; } const id = (lastId++) + ''; return new Promise<number[]>(res => { const listener = (ev: any) => { if (ev.data.id === id) { res(ev.data.embedding); worker.removeEventListener('message', listener); } }; worker.addEventListener('message', listener); worker.postMessage({ id, text }); }); } const pipeline = await itemsCollection.addPipeline({ identifier: 'my-embeddings-pipeline', destination: vectorCollection, batchSize: navigator.hardwareConcurrency, // one per CPU core handler: async (docs) => { await Promise.all(docs.map(async (doc, i) => { const embedding = await getVectorFromTextWithWorker(doc.body); /* ... */ }); } }); This setup allows us to utilize the full hardware capacity of the client's machine. By setting the batch size to match the number of logical processors available (using the navigator.hardwareConcurrency API) and running one worker per processor, we can reduce the processing time for 10k embeddings to about 5 minutes on my developer laptop with 32 CPU cores. ","version":"Next","tagName":"h2"},{"title":"Comparing Vectors by calculating the distance","type":1,"pageTitle":"Local Vector Database with RxDB and transformers.js in JavaScript","url":"/articles/javascript-vector-database.html#comparing-vectors-by-calculating-the-distance","content":" Now that we have stored our embeddings in the database, the next step is to compare these vectors to each other. Various methods are available to measure the similarity or difference between two vectors, such as Euclidean distance, Manhattan distance, Cosine similarity, and Jaccard similarity (and more). RxDB provides utility functions for each of these methods, making it easy to choose the most suitable method for your application. In this tutorial, we will use Euclidean distance to compare vectors. However, the ideal algorithm may vary depending on your data's distribution and the specific type of query you are performing. To find the optimal method for your app, it is up to you to try out all of these and compare the results. Each method gets two vectors as input and returns a single number. Here's how to calculate the Euclidean distance between two embeddings with the vector utilities from RxDB: import { euclideanDistance } from 'rxdb/plugins/vector'; const distance = euclideanDistance(embedding1, embedding2); console.log(distance); // 25.20443 With this we can sort multiple embeddings by how good they match our search query vector. ","version":"Next","tagName":"h2"},{"title":"Searching the Vector database with a full table scan","type":1,"pageTitle":"Local Vector Database with RxDB and transformers.js in JavaScript","url":"/articles/javascript-vector-database.html#searching-the-vector-database-with-a-full-table-scan","content":" To find out if our embeddings have been stored correctly and that our vector comparison works as should, let's run a basic query to ensure everything functions as expected. In this query, we aim to find documents similar to a given user input text. The process involves calculating the embedding from the input text, fetching all documents, calculating the distance between their embeddings and the query embedding, and then sorting them based on their similarity. import { euclideanDistance } from 'rxdb/plugins/vector'; import { sortByObjectNumberProperty } from 'rxdb/plugins/core'; const userInput = 'new york people'; const queryVector = await getEmbeddingFromText(userInput); const candidates = await vectorCollection.find().exec(); const withDistance = candidates.map(doc => ({ doc, distance: euclideanDistance(queryVector, doc.embedding) })); const queryResult = withDistance.sort(sortByObjectNumberProperty('distance')).reverse(); console.dir(queryResult); note For distance-based comparisons, sorting should be in ascending order (smallest first), while for similarity-based algorithms, the sorting should be in descending order (largest first). If we inspect the results, we can see that the documents returned are ordered by relevance, with the most similar document at the top: note This demo page can be run online here. However our full-scan method presents a significant challenge: it does not scale well. As the number of stored documents increases, the time taken to fetch and compare embeddings grows proportionally. For example, retrieving embeddings from our test dataset of 10k documents takes around 700 milliseconds. If we scale up to 100k documents, this delay would rise to approximately 7 seconds, making the search process inefficient for larger datasets. ","version":"Next","tagName":"h2"},{"title":"Indexing the Embeddings for Better Performance","type":1,"pageTitle":"Local Vector Database with RxDB and transformers.js in JavaScript","url":"/articles/javascript-vector-database.html#indexing-the-embeddings-for-better-performance","content":" To address the scalability issue, we need to store embeddings in a way that allows us to avoid fetching all of them from storage during a query. In traditional databases, you can sort documents by an index field, allowing efficient queries that retrieve only the necessary documents. An index organizes data in a structured, sortable manner, much like a phone book. However, with vector embeddings we are not dealing with simple, single values. Instead, we have large lists of numbers, which makes indexing more complex because we have more than one dimension. ","version":"Next","tagName":"h2"},{"title":"Vector Indexing Methods","type":1,"pageTitle":"Local Vector Database with RxDB and transformers.js in JavaScript","url":"/articles/javascript-vector-database.html#vector-indexing-methods","content":" Various methods exist for indexing these vectors to improve query efficiency and performance: Locality Sensitive Hashing (LSH): LSH hashes data so that similar items are likely to fall into the same bucket, optimizing approximate nearest neighbor searches in high-dimensional spaces by reducing the number of comparisons.Hierarchical Small World: HSW is a graph structure designed for efficient navigation, allowing quick jumps across the graph while maintaining short paths between nodes, forming the basis for HNSW's optimization.Hierarchical Navigable Small Worlds (HNSW): HNSW builds a hierarchical graph for fast approximate nearest neighbor search. It uses multiple layers where higher layers represent fewer, more connected nodes, improving search efficiency in large datasets.Distance to samples: While testing different indexing strategies, I found out that using the distance to a sample set of items is a good way to index embeddings. You pick like 5 random items of your data and get the embeddings for them out of the model. These are your 5 index vectors. For each embedding stored in the vector database, we calculate the distance to our 5 index vectors and store that number as an index value. This seems to work good because similar things have similar distances to other things. For example the words "shoe" and "socks" have a similar distance to "boat" and therefore should have roughly the same index value. When building local-first applications, performance is often a challenge, especially in JavaScript. With IndexedDB, certain operations, like many sequential get by id calls, are slow, while bulk operations, such as get by index range, are fast. Therefore, it's essential to use an indexing method that allows embeddings to be stored in a sortable way, like Locality Sensitive Hashing or Distance to Samples. In this article, we'll use Distance to Samples, because for me it provides the best default behavior for the sample dataset. ","version":"Next","tagName":"h3"},{"title":"Storing indexed embeddings in RxDB","type":1,"pageTitle":"Local Vector Database with RxDB and transformers.js in JavaScript","url":"/articles/javascript-vector-database.html#storing-indexed-embeddings-in-rxdb","content":" The optimal way to store index values alongside embeddings in RxDB is to place them within the same RxCollection. To ensure that the index values are both sortable and precise, we convert them into strings with a fixed length of 10 characters. This standardization helps in managing values with many decimals and ensures proper sorting in the database. Here's is our schema example schema where each document contains an embedding and corresponding index fields: const indexSchema = { type: 'string', maxLength: 10 }; const schema = { "version": 0, "primaryKey": "id", "type": "object", "properties": { "id": { "type": "string", "maxLength": 100 }, "embedding": { "type": "array", "items": { "type": "number" } }, // index fields "idx0": indexSchema, "idx1": indexSchema, "idx2": indexSchema, "idx3": indexSchema, "idx4": indexSchema }, "required": [ "id", "embedding", "idx0", "idx1", "idx2", "idx3", "idx4" ], "indexes": [ "idx0", "idx1", "idx2", "idx3", "idx4" ] } To populate these index fields, we modify the RxPipeline handler accordingly to the Distance to samples method. We calculate the distance between the document's embedding and our set of 5 index vectors. The calculated distances are converted to string and stored in the appropriate index fields: import { euclideanDistance } from 'rxdb/plugins/vector'; const sampleVectors: number[][] = [/* the index vectors */]; const pipeline = await itemsCollection.addPipeline({ handler: async (docs) => { await Promise.all(docs.map(async(doc) => { const embedding = await getEmbedding(doc.text); const docData = { id: doc.primary, embedding }; // calculate the distance to all samples and store them in the index fields new Array(5).fill(0).map((_, idx) => { const indexValue = euclideanDistance(sampleVectors[idx], embedding); docData['idx' + idx] = indexNrToString(indexValue); }); await vectorCollection.upsert(docData); })); } }); ","version":"Next","tagName":"h3"},{"title":"Searching the Vector database with utilization of the indexes","type":1,"pageTitle":"Local Vector Database with RxDB and transformers.js in JavaScript","url":"/articles/javascript-vector-database.html#searching-the-vector-database-with-utilization-of-the-indexes","content":" Once our embeddings are stored in an indexed format, we can perform searches much more efficiently than through a full table scan. While this indexing method boosts performance, it comes with a tradeoff: a slight loss in precision, meaning that the result set may not always be the optimal one. However, this is generally acceptable for similarity search use cases. There are multiple ways to leverage indexes for faster queries. Here are two effective methods: Query for Index Similarity in Both Directions: For each index vector, calculate the distance to the search embedding and fetch all relevant embeddings in both directions (sorted before and after) from that value. async function vectorSearchIndexSimilarity(searchEmbedding: number[]) { const docsPerIndexSide = 100; const candidates = new Set<RxDocument>(); await Promise.all( new Array(5).fill(0).map(async (_, i) => { const distanceToIndex = euclideanDistance(sampleVectors[i], searchEmbedding); const [docsBefore, docsAfter] = await Promise.all([ vectorCollection.find({ selector: { ['idx' + i]: { $lt: indexNrToString(distanceToIndex) } }, sort: [{ ['idx' + i]: 'desc' }], limit: docsPerIndexSide }).exec(), vectorCollection.find({ selector: { ['idx' + i]: { $gt: indexNrToString(distanceToIndex) } }, sort: [{ ['idx' + i]: 'asc' }], limit: docsPerIndexSide }).exec() ]); docsBefore.map(d => candidates.add(d)); docsAfter.map(d => candidates.add(d)); }) ); const docsWithDistance = Array.from(candidates).map(doc => { const distance = euclideanDistance((doc as any).embedding, searchEmbedding); return { distance, doc }; }); const sorted = docsWithDistance.sort(sortByObjectNumberProperty('distance')).reverse(); return { result: sorted.slice(0, 10), docReads }; } Query for an Index Range with a Defined Distance: Set an indexDistance and retrieve all embeddings within a specified range from the index vector to the search embedding. async function vectorSearchIndexRange(searchEmbedding: number[]) { await pipeline.awaitIdle(); const indexDistance = 0.003; const candidates = new Set<RxDocument>(); let docReads = 0; await Promise.all( new Array(5).fill(0).map(async (_, i) => { const distanceToIndex = euclideanDistance(sampleVectors[i], searchEmbedding); const range = distanceToIndex * indexDistance; const docs = await vectorCollection.find({ selector: { ['idx' + i]: { $gt: indexNrToString(distanceToIndex - range), $lt: indexNrToString(distanceToIndex + range) } }, sort: [{ ['idx' + i]: 'asc' }], }).exec(); docs.map(d => candidates.add(d)); docReads = docReads + docs.length; }) ); const docsWithDistance = Array.from(candidates).map(doc => { const distance = euclideanDistance((doc as any).embedding, searchEmbedding); return { distance, doc }; }); const sorted = docsWithDistance.sort(sortByObjectNumberProperty('distance')).reverse(); return { result: sorted.slice(0, 10), docReads }; }; Both methods allow you to limit the number of embeddings fetched from storage while still ensuring a reasonably precise search result. However, they differ in how many embeddings are read and how precise the results are, with trade-offs between performance and accuracy. The first method has a known embedding read amount of docsPerIndexSide * 2 * [amount of indexes]. The second method reads out an unknown amount of embeddings, depending on the sparsity of the dataset and the value of indexDistance. And that's it for the implementation. We now have a local first vector database that is able to store and query vector data. ","version":"Next","tagName":"h2"},{"title":"Performance benchmarks","type":1,"pageTitle":"Local Vector Database with RxDB and transformers.js in JavaScript","url":"/articles/javascript-vector-database.html#performance-benchmarks","content":" In server-side databases, performance can be improved by scaling hardware or adding more servers. However, local-first apps face the unique challenge that the hardware is determined by the end user, making performance unpredictable. Some users may have high-end gaming PCs, while others might be using outdated smartphones in power-saving mode. Therefore, when building a local-first app that processes more than a few documents, performance becomes a critical factor and should be thoroughly tested upfront. Let's run performance benchmarks on my high-end gaming PC to give you a sense of how long different operations take and what's achievable. ","version":"Next","tagName":"h2"},{"title":"Performance of the Query Methods","type":1,"pageTitle":"Local Vector Database with RxDB and transformers.js in JavaScript","url":"/articles/javascript-vector-database.html#performance-of-the-query-methods","content":" Query Method\tTime in milliseconds\tDocs read from storageFull Scan\t765\t10000 Index Similarity\t1647\t934 Index Range\t88\t2187 As shown, the index similarity query method takes significantly longer compared to others. This is due to the need for descending sort orders in some queries sort: [{ ['idx' + i]: 'desc' }]. While RxDB supports descending sorts, performance suffers because IndexedDB does not efficiently handle reverse indexed bulk operations. As a result, the index range method performs much better for this use case and should be used instead. With its query time of only 88 milliseconds it is fast enough for all most things and likely such fast that you do not even need to show a loading spinner. Also it is faster compared to fetching the query result from a server-side vector database over the internet. ","version":"Next","tagName":"h3"},{"title":"Performance of the Models","type":1,"pageTitle":"Local Vector Database with RxDB and transformers.js in JavaScript","url":"/articles/javascript-vector-database.html#performance-of-the-models","content":" Let's also look at the time taken to calculate a single embedding across various models from the huggingface transformers list: Model Name\tTime per Embedding in (ms)\tVector Size\tModel Size (MB)Xenova/all-MiniLM-L6-v2\t173\t384\t23 Supabase/gte-small\t341\t384\t34 Xenova/paraphrase-multilingual-mpnet-base-v2\t1000\t768\t279 jinaai/jina-embeddings-v2-base-de\t1291\t768\t162 jinaai/jina-embeddings-v2-base-zh\t1437\t768\t162 jinaai/jina-embeddings-v2-base-code\t1769\t768\t162 mixedbread-ai/mxbai-embed-large-v1\t3359\t1024\t337 WhereIsAI/UAE-Large-V1\t3499\t1024\t337 Xenova/multilingual-e5-large\t4215\t1024\t562 From these benchmarks, it's evident that models with larger vector outputs take longer to process. Additionally, the model size significantly affects performance, with larger models requiring more time to compute embeddings. This trade-off between model complexity and performance must be considered when choosing the right model for your use case. ","version":"Next","tagName":"h3"},{"title":"Potential Performance Optimizations","type":1,"pageTitle":"Local Vector Database with RxDB and transformers.js in JavaScript","url":"/articles/javascript-vector-database.html#potential-performance-optimizations","content":" There are multiple other techniques to improve the performance of your local vector database: Shorten embeddings: The storing and retrieval of embeddings can be improved by "shortening" the embedding. To do that, you just strip away numbers from your vector. For example [0.56, 0.12, -0.34, 0.78, -0.90] becomes [0.56, 0.12]. That's it, you now have a smaller embedding that is faster to read out of the storage and calculating distances is faster because it has to process less numbers. The downside is that you loose precision in your search results. Sometimes shortening the embeddings makes more sense as a pre-query step where you first compare the shortened vectors and later fetch the "real" vectors for the 10 most matching documents to improve their sort order. Optimize the variables in our Setup: In this examples we picked our variables in a non-optimal way. You can get huge performance improvements by setting different values: We picked 5 indexes for the embeddings. Using less indexes improves your query performance with the cost of less good results.For queries that search by fetching a specific embedding distance we used the indexDistance value of 0.003. Using a lower value means we read less document from the storage. This is faster but reduces the precision of the results which means we will get a less optimal result compared to a full table scan.For queries that search by fetching a given amount of documents per index side, we set the value docsPerIndexSide to 100. Increasing this value means you fetch more data from the storage but also get a better precision in the search results. Decreasing it can improve query performance with worse precision. Use faster models: There are many ways to improve performance of machine learning models. If your embedding calculation is too slow, try other models. Smaller mostly means faster. The model Xenova/all-MiniLM-L6-v2 which is used in this tutorial is about 1 year old. There exist better, more modern models to use. Huggingface makes these convenient to use. You only have to switch out the model name with any other model from that site. Narrow down the search space: By utilizing other "normal" filter operators to your query, you can narrow down the search space and optimize performance. For example in an email search you could additionally use a operator that limits the results to all emails that are not older than one year. Dimensionality Reduction with an autoencoder: An autoencoder encodes vector data with minimal loss which can improve the performance by having to store and compare less numbers in an embedding. Different RxDB Plugins: RxDB has different storages and plugins that can improve the performance like the IndexedDB RxStorage, the OPFS RxStorage, the sharding plugin and the Worker and SharedWorker storages. ","version":"Next","tagName":"h2"},{"title":"Migrating Data on Model/Index Changes","type":1,"pageTitle":"Local Vector Database with RxDB and transformers.js in JavaScript","url":"/articles/javascript-vector-database.html#migrating-data-on-modelindex-changes","content":" When you change the index parameter or even update the whole model which was used to create the embeddings, you have to migrate the data that is already stored on your users devices. RxDB offers the Schema Migration Plugin for that. When the app is reloaded and the updated source code is started, RxDB detects changes in your schema version and runs the migration strategy accordingly. So to update the stored data, increase the schema version and define a handler: const schemaV1 = { "version": 1, // <- increase schema version by 1 "primaryKey": "id", "properties": { /* ... */ }, /* ... */ }; In the migration handler we recreate the new embeddings and index values. await myDatabase.addCollections({ vectors: { schema: schemaV1, migrationStrategies: { 1: function(docData){ const embedding = await getEmbedding(docData.body); new Array(5).fill(0).map((_, idx) => { docData['idx' + idx] = euclideanDistance(mySampleVectors[idx], embedding); }); return docData; }, } } }); ","version":"Next","tagName":"h2"},{"title":"Possible Future Improvements to Local-First Vector Databases","type":1,"pageTitle":"Local Vector Database with RxDB and transformers.js in JavaScript","url":"/articles/javascript-vector-database.html#possible-future-improvements-to-local-first-vector-databases","content":" For now our vector database works and we are good to go. However there are some things to consider for the future: WebGPU is not fully supported yet. When this changes, creating embeddings in the browser have the potential to become faster. You can check if your current chrome supports WebGPU by opening chrome://gpu/. Notice that WebGPU has been reported to sometimes be even slower compared to WASM but likely it will be faster in the long term.Cross-Modal AI Models: While progress is being made, AI models that can understand and integrate multiple modalities are still in development. For example you could query for an image together with a text prompt to get a more detailed output.Multi-Step queries: In this article we only talked about having a single query as input and an ordered list of outputs. But there is big potential in chaining models or queries together where you take the results of one query and input them into a different model with different embeddings or outputs. ","version":"Next","tagName":"h2"},{"title":"Follow Up","type":1,"pageTitle":"Local Vector Database with RxDB and transformers.js in JavaScript","url":"/articles/javascript-vector-database.html#follow-up","content":" Shared/Like my announcement tweetRead the source code that belongs to this article at githubLearn how to use RxDB with the RxDB QuickstartCheck out the RxDB github repo and leave a star ⭐ ","version":"Next","tagName":"h2"},{"title":"Why Local-First Software Is the Future and what are its Limitations","type":0,"sectionRef":"#","url":"/articles/local-first-future.html","content":"","keywords":"","version":"Next"},{"title":"What is the Local-First Paradigm","type":1,"pageTitle":"Why Local-First Software Is the Future and what are its Limitations","url":"/articles/local-first-future.html#what-is-the-local-first-paradigm","content":" In local-first software, the primary copy of your data lives on the client rather than a remote server. Rather than sending each read or write over the network, you store and manipulate data in a local database on the user’s device. Sync then happens in the background, ensuring all devices eventually converge to a consistent state. This approach is increasingly popular because it leads to instant app responses (no network delay for most operations), genuine offline capability, and more direct data ownership for users. Local-first apps also sidestep outages and if the server or internet goes down, users can keep working with their local data. When connectivity returns, everything syncs. This makes the user experience more resilient and gives them control of their data, which is especially appealing when privacy concerns or limited connectivity are key factors. Local-First software: A set of principles for software that enables both collaboration and ownership for users. Local-first ideals include the ability to work offline and collaborate across multiple devices, while also improving the security, privacy, long-term preservation, and user control of data. –Ink&Switch, 2019 ","version":"Next","tagName":"h2"},{"title":"Why Local-First is Gaining Traction","type":1,"pageTitle":"Why Local-First Software Is the Future and what are its Limitations","url":"/articles/local-first-future.html#why-local-first-is-gaining-traction","content":" The push for local-first is driven by a few key new technological capabilities that previously restricted client devices from running heavy local-first computing: Relaxed Browser Storage Limits: In the past, true local-first web apps were not very feasible due to storage limitations in browsers. Early web storage options like cookies or localStorage had tiny limits (~5-10MB) and were unsuitable for complex data. Even IndexedDB, the structured client storage introduced over a decade ago, had restrictive quotas on many browsers: For example, older Firefox versions would prompt the user if more than 50MB was being stored. Mobile browsers often capped IndexedDB to 5MB without user permission. Such limits made it impractical to cache large application datasets on the client. However, modern browsers have dramatically increased these limits. Today, IndexedDB can typically store hundreds of megabytes to multiple gigabytes of data, depending on device capacity. Chrome allows up to ~80% of free disk space per origin (tens of GB on a desktop), Firefox now supports on the order of gigabytes per site (10% of disk size), and even Safari (historically strict) permits around 1GB per origin on iOS. In short, the storage quotas of 5-50MB are a thing of the past and modern web apps can cache very large datasets locally without hitting a ceiling. This shift in storage capabilities has unlocked new possibilities for local-first web apps that simply weren't viable a few years ago. New Storage APIs (OPFS): The new Browser API Origin Private File System (OPFS), part of the File System Access API, enables near-native file I/O from within a browser. It allows web apps to manage file handles securely and perform fast, synchronous reads/writes in Web Workers. This is a huge deal for local-first computing because it makes it feasible to embed robust database engines directly in the browser, persisting data to real files on a virtual filesystem. With OPFS, you can avoid some of the performance overhead that comes with IndexedDB-based workarounds, providing a near-native speed experience for file-structured data. Bandwidth Has Grown, But Latency Is Capped: Internet infrastructure has rapidly expanded to provide higher throughput making it possible to transfer large amounts of data more quickly. However, latency (i.e., round-trip delay) is constrained by the speed of light and other physical limitations in fiber, satellite links, and routing. We can always build out bigger "pipes" to stream or send bulk data, but we can't significantly reduce the base round-trip time for each request. This is a physical limit, not a technological one. Local-first strategies mitigate this fundamental latency limit by avoiding excessive client-server calls in interactive workflows, once data is on the client, it's instantly available for reads and writes without waiting on a network round-trip. Imagine, transferring around 100,000 "average" JSON documents might only consume about the same bandwidth as two frames of a 4K YouTube video which can be transferred in milliseconds. This shows just how far raw data throughput has come. Yet each request still has a 100-200ms latency or more, which becomes noticeable in user interactions. Local-first mitigates this by minimizing round-trip calls during active use and using the available bandwidth to directly transfer most of the data on the first app start. WebAssembly: Another advancement is WebAssembly (WASM), which allows developers to compile low-level languages (C, C++, Rust) for execution in the browser at near-native speed. This means database engines, search algorithms, vector databases, and other performance-heavy tasks can run right on the client. However, a key limitation is that WASM cannot directly access persistent storage APIs in the browser. Instead, all data must be send from WASM to JavaScript (or the main thread) and then go through something like IndexedDB or OPFS. This extra indirection is slower compared to plain JavaScript->storage calls. Looking ahead, there might come up future APIs that allow WASM to interface with persistent storage directly, and if those land, local-first systems could see another major boost in performance. Improvements in Local-First Tooling: A major factor fueling the rise of local-first architectures is the dramatic leap in client-side tooling and performance. For instance, consider a local-first email client that stores one million messages. In 2014, searching through that many documents, especially with something like early PouchDB, could take minutes in a browser. Today, with advanced offline databases like RxDB, you can use the OPFS storage with sharding across multiple web workers (one per CPU) and use memory-mapped techniques. The result is a regex search of one million of these email documents in around 120 milliseconds - all in JavaScript, running inside a standard web browser, on a mobile phone. Better yet, this performance ceiling is likely to keep rising. Newer browser features and WebAssembly optimizations could enable even faster indexing and query operations, closing the gap with native desktop clients. I even experimented with GPU-accelarated queries (using WebGPU) which, while still in experimental stage, might deliver client-side performance that outperforms servers which do not have a graphics card. These transformations highlight why local-first has become truly practical: not only can you sync and work offline, but you can handle serious data loads with performance that would have been unthinkable just a few years ago. ","version":"Next","tagName":"h2"},{"title":"What you can expect from a Local First App","type":1,"pageTitle":"Why Local-First Software Is the Future and what are its Limitations","url":"/articles/local-first-future.html#what-you-can-expect-from-a-local-first-app","content":" Jevons' Paradox says that making a resource cheaper or more efficient to use often leads to greater overall consumption. Originally about coal, it applies to the local-first paradigm in a way where we require apps to have more features, simply because it is technically possible, the app users and developers start to expect them: ","version":"Next","tagName":"h2"},{"title":"User Experience Benefits","type":1,"pageTitle":"Why Local-First Software Is the Future and what are its Limitations","url":"/articles/local-first-future.html#user-experience-benefits","content":" Performance & UX: Running from local storage means low latency and instantaneous interactions. There's no round-trip delay for most operations. Local-first apps aim to provide near-zero latency responses by querying a local database instead of waiting for a server response. This results in a snappy UX (often no need for loading spinners) because data reads/writes happen immediately on-device. Modern users expect real-time feedback, and local-first delivers that by default. User Control & Privacy: Storing data locally can limit how much sensitive information is sent off to remote servers. End users have greater control over their data, and the app can implement client-side encryption, thereby reducing the risk of mass data breaches. Its even possible to only replicated encrypted data with a server so that the backend does not know about the data at all and just acts as a backup/replication endpoint. Offline Resilience: Obviously, being able to work offline is a major benefit. Users can continue using the app with no internet (or flaky connectivity), and their changes sync up once online. This is increasingly important not just for remote areas, but for any app that needs to be available 24/7. Even though mobile networks have improved, connectivity can still drop; local-first ensures the app doesn't grind to a halt. The app "stores data locally at the client so that it can still access it when the internet goes away." Realtime Apps: Today's users expect data to stay in sync across browser tabs and devices without constant page reloads. In a typical cloud app, if you want real-time updates (say to show that a friend edited a document), you'd need to implement a websocket or polling system for the server to push changes to clients, which is complex. Local-first architectures naturally lend themselves to realtime-by-default updates because the application state lives in a local database that can be observed for changes. Any edits (local or incoming from the server) immediately trigger UI updates. Similarly, background sync mechanisms ensure that new server-side data flows into the local store and into the user interface right away, no need to hit F5 to fetch the latest changes like on a traditional webpage. ","version":"Next","tagName":"h3"},{"title":"Developer Experience Benefits","type":1,"pageTitle":"Why Local-First Software Is the Future and what are its Limitations","url":"/articles/local-first-future.html#developer-experience-benefits","content":" Reduced Server Load: Because local-first architectures typically transfer large chunks of data once (e.g., during an initial sync) and then sync only small diffs (delta changes) afterward, the server does not have to handle repeated requests for the same dataset. This bulk-first, diff-later approach drastically decreases the total number of round-trip requests to the backend. In scenarios where hundreds of simultaneous users each require continuous data access, an offline-ready client that only periodically sends or receives changes can scale more efficiently, freeing your servers to handle more users or other tasks. Instead of being bombarded with frequent small queries and updates, the server focuses on periodic sync operations, which can be more easily optimized or batched. It Scales with Data, Not Load. In fact for most type of apps, most of the data itself rarely changes. Imagine a CRM system, how often does the data of a customer really change compared to how of a user open the customer-overview page which would load data from a server in traditional systems? Less Need for Custom API Endpoints: A local-first architecture often simplifies backend design. Instead of writing extensive REST routes for each client operation (create, read, update, delete, etc.), you can build a single replication endpoint or a small set of endpoints to handle data synchronization for each entity. The client manages local data, merges edits, and pushes/pulls changes with the server automatically. This not only reduces boilerplate code on the backend but also frees developers to focus on business logic and domain-specific concerns rather than spending time creating and maintaining dozens of narrowly scoped endpoints. As a result, the overall system can be easier to scale and maintain, delivering a smoother developer experience. Simplified State Management in Frontend: Because the local database holds the authoritative state, you might rely less on complex state management libraries (Redux, MobX, etc.). The DB becomes a single source of truth for your UI. In an offline-first app, your global state is already there in a single place stored inside of the local database, so you don't need as many in-memory state layers to synchronize. The UI can directly bind to the database (using queries or reactive subscriptions). All sources of changes (user input, remote updates, other tabs) funnel through the database. This can significantly reduce the "glue code" to keep UI state in sync with server state because the local DB does that for you. With Local-First tools, "you might not need Redux" because the reactive DB fulfills that role of state management already. Observable Queries: One of the big advantages of storing data locally is the ability to subscribe to data changes in real time, often called observable queries. When the data changes - either from the user's actions or from a remote sync - the local database automatically updates the subscribed query results, and the UI can redraw without a manual refresh. This reactive pattern can make apps feel much more live and responsive. In the beginnings this was mostly done by watching a changes feed (like in PouchDB) and re-running queries whenever data changed. However, this early approach was slow and didn't scale well, because the entire query had to be recalculated each time. Later, RxDB introduced the EventReduce Algorithm, which merges incoming document changes into an existing query result by using a big binary decision tree. With this, updated query results can be "calculated" on the CPU instead of re-running them over the database. This makes query updates almost instantaneous and scales better as your data grows. Nowadays, many local databases have added similar features: for example, dexie.js introduced liveQuery, letting developers build real-time UIs without repeatedly scanning the entire dataset. Better Multi-Tab and Multi-Device Consistency: Because the source of truth is on the client, if the user has the app open in multiple tabs or even multiple devices, each has a full copy of the data. In browsers, many offline databases use a storage like IndexedDB that is shared across tabs of the same origin. This means all tabs see the same up-to-date local state. For example, if a user logs in or adds data in one tab, the other tab can automatically reflect that change via the shared local DB and events. This solves a common issue in web apps where one tab doesn't know that something changed in another tab. With local-first, multi-tab just works by default because there's "exactly one state of the data across all tabs". Similarly, on multiple devices, once sync runs, each device eventually converges to the same state. If your users have to press F5 all the time, your app is broken! Potential for P2P and Decentralization: While most current local-first apps still use a central backend for syncing, the paradigm opens the door to peer-to-peer data syncing. Because each device has the full data, devices could sync directly via LAN or other P2P channels for collaboration, reducing reliance on central servers. There are experimental frameworks that allow truly decentralized sync. This is a more advanced benefit, but it aligns with the ethos of giving users more control and reducing dependence on any one cloud provider. These advantages show why developers are excited about local-first. You get happier users thanks to a fast, offline-capable app, and you can differentiate your product by working in scenarios where others fail (e.g. poor connectivity). Companies like Google, Amazon, etc., invest heavily in reducing latency and adding offline modes for a reason: it improves retention and usability. Local-first design takes that to the extreme by default. ","version":"Next","tagName":"h3"},{"title":"Challenges and Limitations of Local-First","type":1,"pageTitle":"Why Local-First Software Is the Future and what are its Limitations","url":"/articles/local-first-future.html#challenges-and-limitations-of-local-first","content":" However, this approach is not without significant challenges. It's important to understand the drawbacks and trade-offs before deciding to go all-in on local-first. Let's examine the flip side. You fully understood a technology when you know when not to use it –Daniel, 2024 Critics of local-first approaches often point out these challenges. Here's a comprehensive list of cons, criticisms, and obstacles associated with local-first development and proposed solutions on how to solve these obstacles: Data Synchronization: Data synchronization is arguably the hardest part of local-first development, because when every user's device can be offline for extended periods, data inevitably diverges. Ensuring those changes propagate and reconcile with minimal user headaches is a major challenge in distributed systems. Two main approaches have emerged: Use a bundled frontend+backend solution where the backend is tightly coupled to the client SDK and knows exactly how to handle sync. A common example is Firestore (part of the Firebase ecosystem) where Google's servers and client libraries collectively manage storage, change detection, conflict resolution, and syncing. The upside is you have a turnkey solution, developers can focus on features rather than writing sync logic. The downside is lock-in, because the sync protocol is proprietary and tailored to that vendor. In many organizations, this is a non-starter: existing company infrastructure can't be uprooted or replaced just for a single offline-capable app. This lock-in issue can arise even if the backend is not strictly a third-party vendor but simply another technology like PostgreSQL, because it still forces you to consolidate all your data into a single system that you might not use otherwise. Custom Replication with Your Own Endpoints: Alternatively, tools like RxDB allow you to implement your own replication endpoints on top of your existing infrastructure. This is the approach relies on a lightweight, git-like Sync Engine. The server remains relatively "dumb," focusing on storing revisions, tracking changes, and marking conflicts, while the client library does the actual conflict resolution. During sync, if the server detects a conflict (e.g., two offline edits to the same document), it notifies the client, which then decides how to merge them, whether via last-write-wins, a custom merge function, or a CRDT. Setting up custom endpoints does require more development effort, but you avoid vendor lock-in and can integrate seamlessly with your existing database(s). Your system simply needs to support incrementally fetching changes (pull) and accepting local modifications (push), which can be layered on top of nearly any data store or architecture. Tools which support "any backend" are of course harder to monetize because they cannot sell SaaS services or a Cloud Subscription which is why most tools use a fixed backend instead of an open Sync Engine. Conflict Resolution: When multiple offline edits happen on the same data, you inevitably get merge conflicts. For example, if two users (or the same user on two devices) both edit the same document offline, when both sync, whose changes win? Local-first systems need a conflict resolution strategy. Some systems use last-write-wins (firestore) or deterministic revision hashing to pick a "winner" (as in CouchDB/PouchDB). This is simple but may drop one user's changes. Other approaches keep both versions and merge them either via an implement "merge-function" or require a manual merge step (e.g., like git conflicts or showing the user a diff UI). More advanced solutions involve CRDTs (Conflict-free Replicated Data Types) which mathematically merge changes (used for rich text collaboration, for instance). Libraries like Automerge or Yjs implement CRDTs to "magically solve conflicts". But in practice, using CRDTs is also complex and has its own trade-offs and sometimes not even possible like when you need additional data from another instance for a "correct" merge. No matter which route, handling conflicts adds complexity to your app logic or infrastructure. In cloud-based (online-first) apps, you avoid this because everyone is always editing the single up-to-date copy on the server. Local-first shifts that burden to the client side. Here is an example on how a client-side merge functions works in RxDB: import { deepEqual } from 'rxdb/plugins/utils'; export const myConflictHandler = { /** * isEqual() is used to detect if two documents are * equal. This is used internally to detect conflicts. */ isEqual(a, b) { /** * isEqual() is used to detect conflicts or to detect if a * document has to be pushed to the remote. * If the documents are deep equal, * we have no conflict. * Because deepEqual is CPU expensive, * on your custom conflict handler you might only * check some properties, like the updatedAt time or revision-strings * for better performance. */ return deepEqual(a, b); }, /** * resolve() a conflict. This can be async so * you could even show an UI element to let your user * resolve the conflict manually. */ async resolve(i) { /** * In this example we drop the local state and use the server-state. * This basically implements a "first-on-server-wins" strategy. * * In your custom conflict handler you could want to merge properties * of the i.realMasterState, i.assumedMasterState and i.newDocumentState * or return i.newDocumentState to have a "last-write-wins" strategy. */ return i.realMasterState; } }; Eventual Consistency (No Single Source of Truth): A local-first system is eventually consistent by nature. There is no single authoritative copy of the data at all times. Instead you have one per device (and maybe one on the server), and they sync to become consistent eventually. This means at any given moment, two users might not see the same data if one hasn't synced recently. Users could even make decisions based on stale data. In many applications this is acceptable (the data will catch up), but for some scenarios it's problematic. For instance, an offline-first banking app that lets you initiate a money transfer offline could be dangerous if the account balance was out-of-date or if the transfer needs immediate consistency. Essentially, not all apps can tolerate eventual consistency. If your use case demands strong consistency (e.g., inventory systems where overselling is a big issue, or real-time collaborative editing where every keystroke must be seen by others instantly), a purely local-first approach might need augmentation or may not fit. Initial Data Load and Data Size Limits: Local-first requires pulling data down to the client. If your dataset is huge (gigabytes), it's simply not feasible to download everything to every client. For example, syncing every tweet on Twitter to every user's phone is impossible. Local-first works best when the data set per user is reasonably sized (up to 2 Gigabytes). In practice, you often limit the data to just that user's own data or a subset relevant to them. Even then, on first use the app might need to download a significant chunk of data to initialize the local database. There is a upper bound on dataset size beyond which the initial sync or storage needs become impractical. You cannot assume unlimited local storage. If your data is too large, local-first will either fail or you'll need to only sync partial data (and then handle what happens if the needed data isn't present locally). In short, local-first is unsuitable for massive datasets or data that cannot be partitioned per user. Storage Persistence (Browser Limitations): Storing data in the browser (via IndexedDB or similar) is not as durable as on a server disk. Browsers may evict data to save space (especially on mobile devices). For instance, Safari notoriously wipes out IndexedDB data if the user hasn't used the site in ~7 days. Other browsers have their own eviction policies for offline data. Also, users can at any time clear their browser storage (intentionally or via something like "Clear site data"). This means the local data cannot be 100% trusted to stay forever. A well-behaved local-first app needs to be able to recover if local data is lost, usually by pulling from the server again. Essentially, the server still often serves as a backup. But if your app had any purely local data (not intended to sync), that's at risk. Mobile apps (with SQLite or filesystem storage) are a bit more stable than web browsers, but even there, uninstalls or certain OS actions can remove local data. This is a challenge: How to cache data offline for speed while ensuring if it's wiped, the user doesn't lose everything important. Cloud-only apps by contrast keep data in the cloud so it's typically safe unless the server fails (and servers are easier to backup reliably). Complex Client-Side Logic & Increased App Size: A local-first app tends to be more complex on the client side. You're essentially putting what used to be server responsibilities (storage, query engine, sync logic) into the frontend. This can increase the size of your frontend bundle (including a database library, possibly CRDT or sync code, etc.). It also increases memory and CPU usage on the client, as the browser/phone is doing more work. Low-end devices or older phones might struggle if the app is not optimized. Developers need to consider performance tuning for the local database (indexing, query efficiency) just like they would on a server. So while the user gains benefits, the app developer has to manage this complexity. Performance Constraints in JavaScript: Even though devices are fast, a local JS database is generally slower than a server DB on robust hardware. There are many layers (JS -> IndexedDB -> possibly SQLite under the hood) that add overhead. For example, inserting a record might go through the DB library, the storage engine, the browser's implementation, down to disk. For most UI uses this is fine (you don't need 10k writes/sec in a to-do app, you need maybe a few writes per second at most). But if your app does heavy data processing, the browser might become a bottleneck. The key question is "Is it fast enough?". Often the answer is yes for typical usage, but developers must be mindful of not doing something on the client that truly requires big iron servers. For instance, full-text indexing of a million documents might be too slow in a client-side DB. Unpredictable performance is also a factor: Different users have different devices. A query that takes 50ms on a high-end desktop might take 500ms on a low-end phone in battery saving mode. So performance tuning and testing across devices is needed, and some heavy tasks might still belong on the server side. For example if you build a local vector database you might want to create the embeddings on the server and sync them instead of creating them on the client. Client Database Migrations: As your app evolves, you'll change data models or add new fields. In a cloud-first app, you'd typically run a migration on the server database. In a local-first app, you have not only the server DB (if any) but also every client's local database to consider. Upgrading the schema means you need to write migration logic that runs on each client, perhaps the next time they launch the app after an update. Clients may be offline or not upgrade the app immediately, so you could have different versions of the schema in the wild. This complicates data handling (the sync protocol might need to handle multiple schema versions until everyone is updated). Providing a smooth migration path for local data is doable (many libraries provide migration facilities), but it requires careful testing. In a worst case, a failed migration on a client could brick the app for that user or force a full resync. This is a much bigger headache than just migrating a centralized DB at midnight while your service is in maintenance mode. 🌃 Security and Access Control: In cloud-based apps, enforcing data security (who can see what) is done on the server. The client only gets the data it's authorized to get. In a local-first scenario, you often need to partition data per user on the backend as well, to ensure users only sync down their own data (or data they have permission for). One simple strategy is to give each user their own database or dataset on the server and only replicate that. For example, CouchDB allows creating one database per user and replication can be scoped to that DB which makes permission handling easy. But if you ever need to query across users (say an admin view or aggregate analytics), having data split into many small DBs becomes a pain. The alternative is a single backend database with a fine-grained access control, and the client asks to sync only certain documents/fields. That usually means writing a custom sync server or using something like GraphQL with resolvers that respect permissions. In short, implementing auth and permissions in sync adds complexity. Also, any data stored on the client is theoretically vulnerable to extraction (if someone compromises the device or uses dev tools). You can encrypt local databases to prevent extraction after the server "revokes" the decryption password to mitigate the data extraction risk. Relational Data and Complex Queries: Most client-side/offline databases are NoSQL/document oriented for flexibility in syncing and easy conflict handling. They may not support complex join queries or ACID transactions across multiple tables like a full SQL database would. This is partly because replicating a full relational model is much harder (maintaining referential integrity, etc., when data is partial on a client) or not even logically possible. For example if you have two offline clients running a complex UPDATE X WHERE Y FROM Z INNER JOIN Alice INNER JOIN Bob query and then they go online, you have no easy way of handling these conflicts. If your app has heavy relational data requirements or relies on complex server-side queries (aggregations, multi-join reports), you might find the local database either cannot do it or is too slow to do it client-side. The lack of robust relational querying is something to plan for and you might need to adjust your data model to be more document-oriented or use client-side libraries to run joins in memory. Most tools use NoSQL because it makes replication easy and implementing true relational sync would require extremely sophisticated solutions and even needing an atomic clock for full consistency across nodes (like google spanner). So, if your app truly needs SQL power on the client, local-first might complicate things. In Local-First, most tools use NoSQL because it makes replication and conflict handling easy. That's a long list of challenges! In summary, local-first approaches introduce distributed data issues on the client side that web developers usually didn't have to deal with. Despite these challenges, the local-first movement is steadily growing because the benefits to user experience and data control are very compelling and modern tools are emerging to mitigate a lot of these difficulties. All of these are solved or solvable for your specific use-case, just keep them in mind before you start architecting your local-first app. ","version":"Next","tagName":"h2"},{"title":"Local-First vs. Traditional Online-First Approaches","type":1,"pageTitle":"Why Local-First Software Is the Future and what are its Limitations","url":"/articles/local-first-future.html#local-first-vs-traditional-online-first-approaches","content":" So now that you know the pros and cons about Local-First. Lets directly compare it to your previous "online-first" stack: ","version":"Next","tagName":"h2"},{"title":"Connectivity and Offline Usage","type":1,"pageTitle":"Why Local-First Software Is the Future and what are its Limitations","url":"/articles/local-first-future.html#connectivity-and-offline-usage","content":" Local-first: Apps like WhatsApp store messages locally on your device, letting you read past messages and even compose new ones without a stable network connection. Once online, the messages sync with the server and other participants.Online-first: Purely cloud-based apps typically stop functioning (beyond simple caching) when the network or server goes down. They rely on a constant connection to fetch or store user data. ","version":"Next","tagName":"h3"},{"title":"Latency and Performance","type":1,"pageTitle":"Why Local-First Software Is the Future and what are its Limitations","url":"/articles/local-first-future.html#latency-and-performance","content":" Local-first: Because data operations happen on the device, you see near-instant interactions (e.g., typing and reading chats feels very responsive, as the messages are on your phone). Syncing occurs in the background without delaying the user.Online-first: Most interactions involve a round-trip to the server, adding network latency and potentially requiring loading states or fallback UIs. If the network is slow or unreliable, users can experience delays when sending or receiving updates. ","version":"Next","tagName":"h3"},{"title":"Complexity and Conflict Resolution","type":1,"pageTitle":"Why Local-First Software Is the Future and what are its Limitations","url":"/articles/local-first-future.html#complexity-and-conflict-resolution","content":" Local-first: Much of the complexity like storing data or handling conflicts, shifts to the client. WhatsApp, for instance, caches all messages locally and queues unsent messages offline. Once reconnected, it must reconcile with the server and other devices, especially if the same account is used on multiple platforms.Online-first: A single central server manages data and concurrency, so clients remain thinner. However, the app becomes unusable if connectivity is lost, and any server downtime directly impacts all users. ","version":"Next","tagName":"h3"},{"title":"Data Ownership and Storage Limits","type":1,"pageTitle":"Why Local-First Software Is the Future and what are its Limitations","url":"/articles/local-first-future.html#data-ownership-and-storage-limits","content":" Local-first: Users hold a complete copy of data on their own device, retaining control and quick access. This can raise challenges when data sets are very large; phone storage might be insufficient, or backups may be harder to guarantee.Online-first: Storing all data in the cloud scales more easily, and providers often manage backups automatically. On the downside, users depend on the service and must trust it to protect their data. ","version":"Next","tagName":"h3"},{"title":"When to Choose Which","type":1,"pageTitle":"Why Local-First Software Is the Future and what are its Limitations","url":"/articles/local-first-future.html#when-to-choose-which","content":" Local-first: Particularly helpful for scenarios where offline operation and immediate responsiveness matter, such as chat apps (like WhatsApp), field tools in low-connectivity environments, or any use case where users can't rely on being online 24/7.Online-first: Well-suited for systems that demand real-time central control or massive data aggregation with minimal offline needs, such as large-scale analytics platforms or services where guaranteed immediate global consistency is essential.Hybrid: In reality, most modern apps often blend these approaches, giving users partial offline capabilities (caching, queued updates) alongside a robust central service. This hybrid method offers the benefits of local speed and resilience, while still leveraging cloud infrastructure for collaboration and global reach. But a truth local-first app is way more than just a cache. ","version":"Next","tagName":"h3"},{"title":"Offline-First vs. Local-First","type":1,"pageTitle":"Why Local-First Software Is the Future and what are its Limitations","url":"/articles/local-first-future.html#offline-first-vs-local-first","content":" In the early days of offline-capable web apps (around 2014), the common phrase was "Offline-First". Tools like PouchDB popularized the notion that developers should assume devices are often offline or have flaky connections, so apps must continue to work seamlessly without a network. The guiding principle was "apps should treat being online as optional." If a user has no internet access, the application's core features still function, saving or queuing data locally, and automatically synchronizing once connectivity is restored. 4:18 What is Offline First? Over time, this focus on offline support evolved into the broader concept of "Local-First Software," (see Ink&Switch) emphasizing not just offline operation but also the technical underpinnings of storing data locally in the client application. While offline-first is primarily about resilience to network loss, local-first highlights ownership, privacy, and performance benefits of keeping the primary data on the user's device. Most tools these days extended the original offline-first concepts, adding real-time reactivity, custom sync, and more nuances like conflict resolution or encryption. However, the term "local-first" can be confusing to non-technical audiences because many people (especially in the US) associate "local first" with community-oriented movements that encourage buying from nearby businesses or supporting local initiatives. To reduce ambiguity, it may be clearer to use "local first software" or "local first development" in your documentation and marketing materials. When creating branding or logos around local-first software, avoid using the "Google Maps Pin" as a symbol. This icon typically implies geolocation or physical locality further mixing up the notion of "location-based services" with "on-device data storage." ","version":"Next","tagName":"h2"},{"title":"Do People Actually Use Local-First or Is It Just a Trend?","type":1,"pageTitle":"Why Local-First Software Is the Future and what are its Limitations","url":"/articles/local-first-future.html#do-people-actually-use-local-first-or-is-it-just-a-trend","content":" If we look at npm download statistics, we see that PouchDB - one of the oldest libraries for local-first apps - has about 53k downloads each week, and RxDB - a newer library - has about 22k weekly downloads. Other local-first tools often have even fewer downloads. In comparison, a popular library like react-query, which does not focus on local storage, is downloaded about 1.6 million times a week. These numbers show that local-first libraries, while used, are not as common as some of the more traditional tools. One reason is that local-first is still a new idea. Many developers are used to traditional "online-first" approaches, so switching to a local database and then syncing changes later can feel unfamiliar. Developers must learn different patterns, deal with offline synchronization, and handle possible conflicts. That extra work can be a barrier to adoption which might change in the future as tooling improves. While most of RxDB is open source, there are also premium plugins that help sustain RxDB as a long-term project. Because people purchase these plugins, we gains insights into how developers are using local-first features: About half of these users mainly want offline functionality for cases such as farming equipment, mining, construction, or even a shrimp farm app.The other half focus on faster, real-time UIs for to-do or reading apps, a space launch planning tool, and various dashboard apps. This range of use cases highlights both the resilience offline mode can offer and the performance boost that local databases can provide when synced in the background. ","version":"Next","tagName":"h2"},{"title":"Why Local-First Is the Future","type":1,"pageTitle":"Why Local-First Software Is the Future and what are its Limitations","url":"/articles/local-first-future.html#why-local-first-is-the-future","content":" Early in the history of the web, users expected static pages. If you wanted to see new content, you reloaded the page. That was normal at the time, and nobody found it strange because everything worked that way. Then, as more sites added real-time features - auto-updating feeds, live notifications, single-page apps - suddenly those older "reload-only" sites began to feel slow or outdated. Why wait for a manual refresh when real-time data was possible and readily available? The same pattern is happening with local-first apps. Right now, most sites are still built around network availability. We see loading spinners whenever data is fetched, and we simply wait for the server response. As local-first experiences become commonplace - removing spinners, letting users keep working when offline, and syncing in the background - everything else will start to feel frustratingly behind. Users won't tolerate slow or blocked interactions if they've seen apps that respond instantly and remain usable offline. They'll expect that as the default and we'll likely see growing pressure on developers to eliminate those extra loading steps. For many users, the experience of immediate local writes will become not just a perk, but an expectation! ","version":"Next","tagName":"h2"},{"title":"See also","type":1,"pageTitle":"Why Local-First Software Is the Future and what are its Limitations","url":"/articles/local-first-future.html#see-also","content":" Discuss this topic on HackerNewsLocal-First Technologies: A list of databases and technologies (besides RxDB) that support offline-first or local-first use cases.Discord: Join our Discord server to talk with people and share ideas about this topic.Inc&Switch: The "original" paper about Local-First from 2019 where the naming of local-first Software was first used and described.Learn how to build a local-first Application with RxDB. ","version":"Next","tagName":"h2"},{"title":"Using localStorage in Modern Applications: A Comprehensive Guide","type":0,"sectionRef":"#","url":"/articles/localstorage.html","content":"","keywords":"","version":"Next"},{"title":"What is the localStorage API?","type":1,"pageTitle":"Using localStorage in Modern Applications: A Comprehensive Guide","url":"/articles/localstorage.html#what-is-the-localstorage-api","content":" The localStorage API is a built-in feature of web browsers that enables web developers to store small amounts of data persistently on a user's device. It operates on a simple key-value basis, allowing developers to save strings, numbers, and other simple data types. This data remains available even after the user closes the browser or navigates away from the page. The API provides a convenient way to maintain state and store user preferences without relying on server-side storage. ","version":"Next","tagName":"h2"},{"title":"Exploring local storage Methods: A Practical Example","type":1,"pageTitle":"Using localStorage in Modern Applications: A Comprehensive Guide","url":"/articles/localstorage.html#exploring-local-storage-methods-a-practical-example","content":" Let's dive into some hands-on code examples to better understand how to leverage the power of localStorage. The API offers several methods for interaction, including setItem, getItem, removeItem, and clear. Consider the following code snippet: // Storing data using setItem localStorage.setItem('username', 'john_doe'); // Retrieving data using getItem const storedUsername = localStorage.getItem('username'); // Removing data using removeItem localStorage.removeItem('username'); // Clearing all data localStorage.clear(); ","version":"Next","tagName":"h2"},{"title":"Storing Complex Data in JavaScript with JSON Serialization","type":1,"pageTitle":"Using localStorage in Modern Applications: A Comprehensive Guide","url":"/articles/localstorage.html#storing-complex-data-in-javascript-with-json-serialization","content":" While js localStorage excels at handling simple key-value pairs, it also supports more intricate data storage through JSON serialization. By utilizing JSON.stringify and JSON.parse, you can store and retrieve structured data like objects and arrays. Here's an example of storing a document: const user = { name: 'Alice', age: 30, email: 'alice@example.com' }; // Storing a user object localStorage.setItem('user', JSON.stringify(user)); // Retrieving and parsing the user object const storedUser = JSON.parse(localStorage.getItem('user')); ","version":"Next","tagName":"h2"},{"title":"Understanding the Limitations of local storage","type":1,"pageTitle":"Using localStorage in Modern Applications: A Comprehensive Guide","url":"/articles/localstorage.html#understanding-the-limitations-of-local-storage","content":" Despite its convenience, localStorage does come with a set of limitations that developers should be aware of: Non-Async Blocking API: One significant drawback is that js localStorage operates as a non-async blocking API. This means that any operations performed on localStorage can potentially block the main thread, leading to slower application performance and a less responsive user experience.Limited Data Structure: Unlike more advanced databases, localStorage is limited to a simple key-value store. This restriction makes it unsuitable for storing complex data structures or managing relationships between data elements.Stringification Overhead: Storing JSON data in localStorage requires stringifying the data before storage and parsing it when retrieved. This process introduces performance overhead, potentially slowing down operations by up to 10 times.Lack of Indexing: localStorage lacks indexing capabilities, making it challenging to perform efficient searches or iterate over data based on specific criteria. This limitation can hinder applications that rely on complex data retrieval.Tab Blocking: In a multi-tab environment, one tab's localStorage operations can impact the performance of other tabs by monopolizing CPU resources. You can reproduce this behavior by opening this test file in two browser windows and trigger localstorage inserts in one of them. You will observe that the indication spinner will stuck in both windows.Storage Limit: Browsers typically impose a storage limit of around 5 MiB for each origin's localStorage. ","version":"Next","tagName":"h2"},{"title":"Reasons to Still Use localStorage","type":1,"pageTitle":"Using localStorage in Modern Applications: A Comprehensive Guide","url":"/articles/localstorage.html#reasons-to-still-use-localstorage","content":" ","version":"Next","tagName":"h2"},{"title":"Is localStorage Slow?","type":1,"pageTitle":"Using localStorage in Modern Applications: A Comprehensive Guide","url":"/articles/localstorage.html#is-localstorage-slow","content":" Contrary to concerns about performance, the localStorage API in JavaScript is surprisingly fast when compared to alternative storage solutions like IndexedDB or OPFS. It excels in handling small key-value assignments efficiently. Due to its simplicity and direct integration with browsers, accessing and modifying localStorage data incur minimal overhead. For scenarios where quick and straightforward data storage is required, localStorage remains a viable option. For example RxDB uses localStorage in the localStorage meta optimizer to manage simple key values pairs while storing the "normal" documents inside of another storage like IndexedDB. ","version":"Next","tagName":"h3"},{"title":"When Not to Use localStorage","type":1,"pageTitle":"Using localStorage in Modern Applications: A Comprehensive Guide","url":"/articles/localstorage.html#when-not-to-use-localstorage","content":" While localStorage offers convenience, it may not be suitable for every use case. Consider the following situations where alternatives might be more appropriate: Data Must Be Queryable: If your application relies heavily on querying data based on specific criteria, localStorage might not provide the necessary querying capabilities. Complex data retrieval might lead to inefficient code and slow performance.Big JSON Documents: Storing large JSON documents in localStorage can consume a significant amount of memory and degrade performance. It's essential to assess the size of the data you intend to store and consider more robust solutions for handling substantial datasets.Many Read/Write Operations: Excessive read and write operations on localStorage can lead to performance bottlenecks. Other storage solutions might offer better performance and scalability for applications that require frequent data manipulation.Lack of Persistence: If your application can function without persistent data across sessions, consider using in-memory data structures like new Map() or new Set(). These options offer speed and efficiency for transient data. ","version":"Next","tagName":"h2"},{"title":"What to use instead of the localStorage API in JavaScript","type":1,"pageTitle":"Using localStorage in Modern Applications: A Comprehensive Guide","url":"/articles/localstorage.html#what-to-use-instead-of-the-localstorage-api-in-javascript","content":" ","version":"Next","tagName":"h2"},{"title":"localStorage vs IndexedDB","type":1,"pageTitle":"Using localStorage in Modern Applications: A Comprehensive Guide","url":"/articles/localstorage.html#localstorage-vs-indexeddb","content":" While localStorage serves as a reliable storage solution for simpler data needs, it's essential to explore alternatives like IndexedDB when dealing with more complex requirements. IndexedDB is designed to store not only key-value pairs but also JSON documents. Unlike localStorage, which usually has a storage limit of around 5-10MB per domain, IndexedDB can handle significantly larger datasets. IndexDB with its support for indexing facilitates efficient querying, making range queries possible. However, it's worth noting that IndexedDB lacks observability, which is a feature unique to localStorage through the storage event. Also, complex queries can pose a challenge with IndexedDB, and while its performance is acceptable, IndexedDB can be too slow for some use cases. // localStorage can observe changes with the storage event. // This feature is missing in IndexedDB addEventListener("storage", (event) => {}); For those looking to harness the full power of IndexedDB with added capabilities, using wrapper libraries like RxDB is recommended. These libraries augment IndexedDB with features such as complex queries and observability, enhancing its usability for modern applications by providing a real database instead of only a key-value store. In summary when you compare IndexedDB vs localStorage, IndexedDB will win at any case where much data is handled while localStorage has better performance on small key-value datasets. ","version":"Next","tagName":"h3"},{"title":"File System API (OPFS)","type":1,"pageTitle":"Using localStorage in Modern Applications: A Comprehensive Guide","url":"/articles/localstorage.html#file-system-api-opfs","content":" Another intriguing option is the OPFS (File System API). This API provides direct access to an origin-based, sandboxed filesystem which is highly optimized for performance and offers in-place write access to its content. OPFS offers impressive performance benefits. However, working with the OPFS API can be complex, and it's only accessible within a WebWorker. To simplify its usage and extend its capabilities, consider using a wrapper library like RxDB's OPFS RxStorage, which builds a comprehensive database on top of the OPFS API. This abstraction allows you to harness the power of the OPFS API without the intricacies of direct usage. ","version":"Next","tagName":"h3"},{"title":"localStorage vs Cookies","type":1,"pageTitle":"Using localStorage in Modern Applications: A Comprehensive Guide","url":"/articles/localstorage.html#localstorage-vs-cookies","content":" Cookies, once a primary method of client-side data storage, have fallen out of favor in modern web development due to their limitations. While they can store data, they are about 100 times slower when compared to the localStorage API. Additionally, cookies are included in the HTTP header, which can impact network performance. As a result, cookies are not recommended for data storage purposes in contemporary web applications. ","version":"Next","tagName":"h3"},{"title":"localStorage vs WebSQL","type":1,"pageTitle":"Using localStorage in Modern Applications: A Comprehensive Guide","url":"/articles/localstorage.html#localstorage-vs-websql","content":" WebSQL, despite offering a SQL-based interface for client-side data storage, is a deprecated technology and should be avoided. Its API has been phased out of modern browsers, and it lacks the robustness of alternatives like IndexedDB. Moreover, WebSQL tends to be around 10 times slower than IndexedDB, making it a suboptimal choice for applications that demand efficient data manipulation and retrieval. ","version":"Next","tagName":"h3"},{"title":"localStorage vs sessionStorage","type":1,"pageTitle":"Using localStorage in Modern Applications: A Comprehensive Guide","url":"/articles/localstorage.html#localstorage-vs-sessionstorage","content":" In scenarios where data persistence beyond a session is unnecessary, developers often turn to sessionStorage. This storage mechanism retains data only for the duration of a tab or browser session. It survives page reloads and restores, providing a handy solution for temporary data needs. However, it's important to note that sessionStorage is limited in scope and may not suit all use cases. ","version":"Next","tagName":"h3"},{"title":"AsyncStorage for React Native","type":1,"pageTitle":"Using localStorage in Modern Applications: A Comprehensive Guide","url":"/articles/localstorage.html#asyncstorage-for-react-native","content":" For React Native developers, the AsyncStorage API is the go-to solution, mirroring the behavior of localStorage but with asynchronous support. Since not all JavaScript runtimes support localStorage, AsyncStorage offers a seamless alternative for data persistence in React Native applications. ","version":"Next","tagName":"h3"},{"title":"node-localstorage for Node.js","type":1,"pageTitle":"Using localStorage in Modern Applications: A Comprehensive Guide","url":"/articles/localstorage.html#node-localstorage-for-nodejs","content":" Because native localStorage is absent in the Node.js JavaScript runtime, you will get the error ReferenceError: localStorage is not defined in Node.js or node based runtimes like Next.js. The node-localstorage npm package bridges the gap. This package replicates the browser's localStorage API within the Node.js environment, ensuring consistent and compatible data storage capabilities. ","version":"Next","tagName":"h3"},{"title":"localStorage in browser extensions","type":1,"pageTitle":"Using localStorage in Modern Applications: A Comprehensive Guide","url":"/articles/localstorage.html#localstorage-in-browser-extensions","content":" While browser extensions for chrome and firefox support the localStorage API, it is not recommended to use it in that context to store extension-related data. The browser will clear the data in many scenarios like when the users clear their browsing history. Instead the Extension Storage API should be used for browser extensions. In contrast to localStorage, the storage API works async and all operations return a Promise. Also it provides automatic sync to replicate data between all instances of that browser that the user is logged into. The storage API is even able to storage JSON-ifiable objects instead of plain strings. // Using the storage API in chrome await chrome.storage.local.set({ foobar: {nr: 1} }); const result = await chrome.storage.local.get('foobar'); console.log(result.foobar); // {nr: 1} ","version":"Next","tagName":"h2"},{"title":"localStorage in Deno and Bun","type":1,"pageTitle":"Using localStorage in Modern Applications: A Comprehensive Guide","url":"/articles/localstorage.html#localstorage-in-deno-and-bun","content":" The Deno JavaScript runtime has a working localStorage API so running localStorage.setItem() and the other methods, will just work and the locally stored data is persisted across multiple runs. Bun does not support the localStorage JavaScript API. Trying to use localStorage will error with ReferenceError: Can't find variable: localStorage. To store data locally in Bun, you could use the bun:sqlite module instead or directly use a in-JavaScript database with Bun support like RxDB. ","version":"Next","tagName":"h2"},{"title":"Conclusion: Choosing the Right Storage Solution","type":1,"pageTitle":"Using localStorage in Modern Applications: A Comprehensive Guide","url":"/articles/localstorage.html#conclusion-choosing-the-right-storage-solution","content":" In the world of modern web development, localStorage serves as a valuable tool for lightweight data storage. Its simplicity and speed make it an excellent choice for small key-value assignments. However, as application complexity grows, developers must assess their storage needs carefully. For scenarios that demand advanced querying, complex data structures, or high-volume operations, alternatives like IndexedDB, wrapper libraries with additional features like RxDB, or platform-specific APIs offer more robust solutions. By understanding the strengths and limitations of various storage options, developers can make informed decisions that pave the way for efficient and scalable applications. ","version":"Next","tagName":"h2"},{"title":"Follow up","type":1,"pageTitle":"Using localStorage in Modern Applications: A Comprehensive Guide","url":"/articles/localstorage.html#follow-up","content":" Learn how to store and query data with RxDB in the RxDB QuickstartWhy IndexedDB is slow and how to fix itRxStorage performance comparison ","version":"Next","tagName":"h2"},{"title":"Mobile Database - RxDB as Database for Mobile Applications","type":0,"sectionRef":"#","url":"/articles/mobile-database.html","content":"","keywords":"","version":"Next"},{"title":"Understanding Mobile Databases","type":1,"pageTitle":"Mobile Database - RxDB as Database for Mobile Applications","url":"/articles/mobile-database.html#understanding-mobile-databases","content":" Mobile databases are specialized software systems designed to handle data storage and management for mobile applications. These databases are optimized for the unique requirements of mobile environments, which often include limited device resources, fluctuations in network connectivity, and the need for offline functionality. There are various types of mobile databases available, each with its own strengths and use cases. Local databases, such as SQLite and Realm, reside directly on the user's device, providing offline capabilities and faster data access. Cloud-based databases, like Firebase Realtime Database and Amazon DynamoDB, rely on remote servers to store and retrieve data, enabling synchronization across multiple devices. Hybrid databases, as the name suggests, combine the benefits of both local and cloud-based approaches, offering a balance between offline functionality and data synchronization. ","version":"Next","tagName":"h2"},{"title":"Introducing RxDB: A Paradigm Shift in Mobile Database Solutions","type":1,"pageTitle":"Mobile Database - RxDB as Database for Mobile Applications","url":"/articles/mobile-database.html#introducing-rxdb-a-paradigm-shift-in-mobile-database-solutions","content":" RxDB, also known as Reactive Database, has emerged as a game-changer in the realm of mobile databases. Built on top of popular web technologies like JavaScript, TypeScript, and RxJS (Reactive Extensions for JavaScript), RxDB provides an elegant solution for seamless offline-first capabilities and real-time data synchronization in mobile applications. Benefits of RxDB for Hybrid App Development Offline-First Approach: One of the major advantages of RxDB is its ability to work in an offline mode. It allows mobile applications to store and access data locally, ensuring uninterrupted functionality even when the network connection is weak or unavailable. The database automatically syncs the data with the server once the connection is reestablished, guaranteeing data consistency. Real-Time Data Synchronization: RxDB leverages the power of real-time data synchronization, making it an excellent choice for applications that require collaborative features or live updates. It uses the concept of change streams to detect modifications made to the database and instantly propagates those changes across connected devices. This real-time synchronization enables seamless collaboration and enhances user experience. Reactive Programming Paradigm: RxDB embraces the principles of reactive programming, which simplifies the development process by handling asynchronous events and data streams. By leveraging RxJS observables, developers can write concise, declarative code that reacts to changes in data, ensuring a highly responsive user experience. The reactive programming paradigm enhances code maintainability, scalability, and testability. Easy Integration with Hybrid App Frameworks: RxDB seamlessly integrates with popular hybrid app development frameworks like React Native and Capacitor. This compatibility allows developers to leverage the existing ecosystem and tools of these frameworks, making the transition to RxDB smoother and more efficient. By utilizing RxDB within these frameworks, developers can harness the power of a robust database solution without sacrificing the advantages of hybrid app development. Cross-Platform Support: RxDB enables developers to build cross-platform mobile applications that run seamlessly on both iOS and Android devices. This versatility eliminates the need for separate database implementations for different platforms, saving development time and effort. With RxDB, developers can focus on building a unified codebase and delivering a consistent user experience across platforms. ","version":"Next","tagName":"h2"},{"title":"Use Cases for RxDB in Hybrid App Development","type":1,"pageTitle":"Mobile Database - RxDB as Database for Mobile Applications","url":"/articles/mobile-database.html#use-cases-for-rxdb-in-hybrid-app-development","content":" Offline-First Applications: RxDB is an ideal choice for applications that heavily rely on offline functionality. Whether it's a note-taking app, a task manager, or a survey application, RxDB ensures that users can continue working even when connectivity is compromised. The seamless synchronization capabilities of RxDB ensure that changes made offline are automatically propagated once the device reconnects to the internet. Real-Time Collaboration: Applications that require real-time collaboration, such as messaging platforms or collaborative editing tools, can greatly benefit from RxDB. The real-time synchronization capabilities enable multiple users to work on the same data simultaneously, ensuring that everyone sees the latest updates in real-time. Data-Intensive Applications: RxDB's performance and scalability make it suitable for data-intensive applications that handle large datasets or complex data structures. Whether it's a media-rich app, a data visualization tool, or an analytics platform, RxDB can handle the heavy lifting and provide a smooth user experience. Cross-Platform Applications: Hybrid app frameworks like React Native and Capacitor have gained popularity due to their ability to build cross-platform applications. By utilizing RxDB within these frameworks, developers can create a unified codebase that runs seamlessly on both iOS and Android, significantly reducing development time and effort. ","version":"Next","tagName":"h2"},{"title":"Conclusion","type":1,"pageTitle":"Mobile Database - RxDB as Database for Mobile Applications","url":"/articles/mobile-database.html#conclusion","content":" Mobile databases play a vital role in the performance and functionality of mobile applications. RxDB, with its offline-first approach, real-time data synchronization, and seamless integration with hybrid app development frameworks like React Native and Capacitor, offers a robust solution for managing data in mobile apps. By leveraging the power of reactive programming, RxDB empowers developers to build highly responsive, scalable, and cross-platform applications that deliver an exceptional user experience. With its versatility and ease of use, RxDB is undoubtedly a database solution worth considering for hybrid app development. Embrace the power of RxDB and unlock the full potential of your mobile applications. ","version":"Next","tagName":"h2"},{"title":"LocalStorage vs. IndexedDB vs. Cookies vs. OPFS vs. WASM-SQLite","type":0,"sectionRef":"#","url":"/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm.html","content":"","keywords":"","version":"Next"},{"title":"The available Storage APIs in a modern Browser","type":1,"pageTitle":"LocalStorage vs. IndexedDB vs. Cookies vs. OPFS vs. WASM-SQLite","url":"/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm.html#the-available-storage-apis-in-a-modern-browser","content":" First lets have a brief overview of the different APIs, their intentional use case and history: ","version":"Next","tagName":"h2"},{"title":"What are Cookies","type":1,"pageTitle":"LocalStorage vs. IndexedDB vs. Cookies vs. OPFS vs. WASM-SQLite","url":"/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm.html#what-are-cookies","content":" Cookies were first introduced by netscape in 1994. Cookies store small pieces of key-value data that are mainly used for session management, personalization, and tracking. Cookies can have several security settings like a time-to-live or the domain attribute to share the cookies between several subdomains. Cookies values are not only stored at the client but also sent with every http request to the server. This means we cannot store much data in a cookie but it is still interesting how good cookie access performance compared to the other methods. Especially because cookies are such an important base feature of the web, many performance optimizations have been done and even these days there is still progress being made like the Shared Memory Versioning by chromium or the asynchronous CookieStore API. ","version":"Next","tagName":"h3"},{"title":"What is LocalStorage","type":1,"pageTitle":"LocalStorage vs. IndexedDB vs. Cookies vs. OPFS vs. WASM-SQLite","url":"/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm.html#what-is-localstorage","content":" The localStorage API was first proposed as part of the WebStorage specification in 2009. LocalStorage provides a simple API to store key-value pairs inside of a web browser. It has the methods setItem, getItem, removeItem and clear which is all you need from a key-value store. LocalStorage is only suitable for storing small amounts of data that need to persist across sessions and it is limited by a 5MB storage cap. Storing complex data is only possible by transforming it into a string for example with JSON.stringify(). The API is not asynchronous which means if fully blocks your JavaScript process while doing stuff. Therefore running heavy operations on it might block your UI from rendering. There is also the SessionStorage API. The key difference is that localStorage data persists indefinitely until explicitly cleared, while sessionStorage data is cleared when the browser tab or window is closed. ","version":"Next","tagName":"h3"},{"title":"What is IndexedDB","type":1,"pageTitle":"LocalStorage vs. IndexedDB vs. Cookies vs. OPFS vs. WASM-SQLite","url":"/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm.html#what-is-indexeddb","content":" IndexedDB was first introduced as "Indexed Database API" in 2015. IndexedDB is a low-level API for storing large amounts of structured JSON data. While the API is a bit hard to use, IndexedDB can utilize indexes and asynchronous operations. It lacks support for complex queries and only allows to iterate over the indexes which makes it more like a base layer for other libraries then a fully fledged database. In 2018, IndexedDB version 2.0 was introduced. This added some major improvements. Most noticeable the getAll() method which improves performance dramatically when fetching bulks of JSON documents. IndexedDB version 3.0 is in the workings which contains many improvements. Most important the addition of Promise based calls that makes modern JS features like async/await more useful. ","version":"Next","tagName":"h3"},{"title":"What is OPFS","type":1,"pageTitle":"LocalStorage vs. IndexedDB vs. Cookies vs. OPFS vs. WASM-SQLite","url":"/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm.html#what-is-opfs","content":" The Origin Private File System (OPFS) is a relatively new API that allows web applications to store large files directly in the browser. It is designed for data-intensive applications that want to write and read binary data in a simulated file system. OPFS can be used in two modes: Either asynchronous on the main threadOr in a WebWorker with the faster, asynchronous access with the createSyncAccessHandle() method. Because only binary data can be processed, OPFS is made to be a base filesystem for library developers. You will unlikely directly want to use the OPFS in your code when you build a "normal" application because it is too complex. That would only make sense for storing plain files like images, not to store and query JSON data efficiently. I have build a OPFS based storage for RxDB with proper indexing and querying and it took me several months. ","version":"Next","tagName":"h3"},{"title":"What is WASM SQLite","type":1,"pageTitle":"LocalStorage vs. IndexedDB vs. Cookies vs. OPFS vs. WASM-SQLite","url":"/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm.html#what-is-wasm-sqlite","content":" WebAssembly (Wasm) is a binary format that allows high-performance code execution on the web. Wasm was added to major browsers over the course of 2017 which opened a wide range of opportunities on what to run inside of a browser. You can compile native libraries to WebAssembly and just run them on the client with just a few adjustments. WASM code can be shipped to browser apps and generally runs much faster compared to JavaScript, but still about 10% slower then native. Many people started to use compiled SQLite as a database inside of the browser which is why it makes sense to also compare this setup to the native APIs. The compiled byte code of SQLite has a size of about 938.9 kB which must be downloaded and parsed by the users on the first page load. WASM cannot directly access any persistent storage API in the browser. Instead it requires data to flow from WASM to the main-thread and then can be put into one of the browser APIs. This is done with so called VFS (virtual file system) adapters that handle data access from SQLite to anything else. ","version":"Next","tagName":"h3"},{"title":"What was WebSQL","type":1,"pageTitle":"LocalStorage vs. IndexedDB vs. Cookies vs. OPFS vs. WASM-SQLite","url":"/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm.html#what-was-websql","content":" WebSQL was a web API introduced in 2009 that allowed browsers to use SQL databases for client-side storage, based on SQLite. The idea was to give developers a way to store and query data using SQL on the client side, similar to server-side databases. WebSQL has been removed from browsers in the current years for multiple good reasons: WebSQL was not standardized and having an API based on a single specific implementation in form of the SQLite source code is hard to ever make it to a standard.WebSQL required browsers to use a specific version of SQLite (version 3.6.19) which means whenever there would be any update or bugfix to SQLite, it would not be possible to add that to WebSQL without possible breaking the web.Major browsers like firefox never supported WebSQL. Therefore in the following we will just ignore WebSQL even if it would be possible to run tests on in by setting specific browser flags or using old versions of chromium. ","version":"Next","tagName":"h3"},{"title":"Feature Comparison","type":1,"pageTitle":"LocalStorage vs. IndexedDB vs. Cookies vs. OPFS vs. WASM-SQLite","url":"/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm.html#feature-comparison","content":" Now that you know the basic concepts of the APIs, lets compare some specific features that have shown to be important for people using RxDB and browser based storages in general. ","version":"Next","tagName":"h2"},{"title":"Storing complex JSON Documents","type":1,"pageTitle":"LocalStorage vs. IndexedDB vs. Cookies vs. OPFS vs. WASM-SQLite","url":"/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm.html#storing-complex-json-documents","content":" When you store data in a web application, most often you want to store complex JSON documents and not only "normal" values like the integers and strings you store in a server side database. Only IndexedDB works with JSON objects natively.With SQLite WASM you can store JSON in a text column since version 3.38.0 (2022-02-22) and even run deep queries on it and use single attributes as indexes. Every of the other APIs can only store strings or binary data. Of course you can transform any JSON object to a string with JSON.stringify() but not having the JSON support in the API can make things complex when running queries and running JSON.stringify() many times can cause performance problems. ","version":"Next","tagName":"h3"},{"title":"Multi-Tab Support","type":1,"pageTitle":"LocalStorage vs. IndexedDB vs. Cookies vs. OPFS vs. WASM-SQLite","url":"/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm.html#multi-tab-support","content":" A big difference when building a Web App compared to Electron or React-Native, is that the user will open and close the app in multiple browser tabs at the same time. Therefore you have not only one JavaScript process running, but many of them can exist and might have to share state changes between each other to not show outdated data to the user. If your users' muscle memory puts the left hand on the F5 key while using your website, you did something wrong! Not all storage APIs support a way to automatically share write events between tabs. Only localstorage has a way to automatically share write events between tabs by the API itself with the storage-event which can be used to observe changes. // localStorage can observe changes with the storage event. // This feature is missing in IndexedDB and others addEventListener("storage", (event) => {}); There was the experimental IndexedDB observers API for chrome, but the proposal repository has been archived. To workaround this problem, there are two solutions: The first option is to use the BroadcastChannel API which can send messages across browser tabs. So whenever you do a write to the storage, you also send a notification to other tabs to inform them about these changes. This is the most common workaround which is also used by RxDB. Notice that there is also the WebLocks API which can be used to have mutexes across browser tabs.The other solution is to use the SharedWorker and do all writes inside of the worker. All browser tabs can then subscribe to messages from that single SharedWorker and know about changes. ","version":"Next","tagName":"h3"},{"title":"Indexing Support","type":1,"pageTitle":"LocalStorage vs. IndexedDB vs. Cookies vs. OPFS vs. WASM-SQLite","url":"/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm.html#indexing-support","content":" The big difference between a database and storing data in a plain file, is that a database is writing data in a format that allows running operations over indexes to facilitate fast performant queries. From our list of technologies only IndexedDB and WASM SQLite support for indexing out of the box. In theory you can build indexes on top of any storage like localstorage or OPFS but you likely should not want to do that by yourself. In IndexedDB for example, we can fetch a bulk of documents by a given index range: // find all products with a price between 10 and 50 const keyRange = IDBKeyRange.bound(10, 50); const transaction = db.transaction('products', 'readonly'); const objectStore = transaction.objectStore('products'); const index = objectStore.index('priceIndex'); const request = index.getAll(keyRange); const result = await new Promise((res, rej) => { request.onsuccess = (event) => res(event.target.result); request.onerror = (event) => rej(event); }); Notice that IndexedDB has the limitation of not having indexes on boolean values. You can only index strings and numbers. To workaround that you have to transform boolean to numbers and backwards when storing the data. ","version":"Next","tagName":"h3"},{"title":"WebWorker Support","type":1,"pageTitle":"LocalStorage vs. IndexedDB vs. Cookies vs. OPFS vs. WASM-SQLite","url":"/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm.html#webworker-support","content":" When running heavy data operations, you might want to move the processing away from the JavaScript main thread. This ensures that our app keeps being responsive and fast while the processing can run in parallel in the background. In a browser you can either use the WebWorker, SharedWorker or the ServiceWorker API to do that. In RxDB you can use the WebWorker or SharedWorker plugins to move your storage inside of a worker. The most common API for that use case is spawning a WebWorker and doing most work on that second JavaScript process. The worker is spawned from a separate JavaScript file (or base64 string) and communicates with the main thread by sending data with postMessage(). Unfortunately LocalStorage and Cookiescannot be used in WebWorker or SharedWorker because of the design and security constraints. WebWorkers run in a separate global context from the main browser thread and therefore cannot do stuff that might impact the main thread. They have no direct access to certain web APIs, like the DOM, localStorage, or cookies. Everything else can be used from inside a WebWorker. The fast version of OPFS with the createSyncAccessHandle method can onlybe used in a WebWorker, and not on the main thread. This is because all the operations of the returned AccessHandle are not async and therefore block the JavaScript process, so you do want to do that on the main thread and block everything. ","version":"Next","tagName":"h3"},{"title":"Storage Size Limits","type":1,"pageTitle":"LocalStorage vs. IndexedDB vs. Cookies vs. OPFS vs. WASM-SQLite","url":"/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm.html#storage-size-limits","content":" Cookies are limited to about 4 KB of data in RFC-6265. Because the stored cookies are send to the server with every HTTP request, this limitation is reasonable. You can test your browsers cookie limits here. Notice that you should never fill up the full 4 KB of your cookies because your web server will not accept too long headers and reject the requests with HTTP ERROR 431 - Request header fields too large. Once you have reached that point you can not even serve updated JavaScript to your user to clean up the cookies and you will have locked out that user until the cookies get cleaned up manually. LocalStorage has a storage size limitation that varies depending on the browser, but generally ranges from 4 MB to 10 MB per origin. You can test your localStorage size limit here. Chrome/Chromium/Edge: 5 MB per domainFirefox: 10 MB per domainSafari: 4-5 MB per domain (varies slightly between versions) IndexedDB does not have a specific fixed size limitation like localStorage. The maximum storage size for IndexedDB depends on the browser implementation. The upper limit is typically based on the available disc space on the user's device. In chromium browsers it can use up to 80% of total disk space. You can get an estimation about the storage size limit by calling await navigator.storage.estimate(). Typically you can store gigabytes of data which can be tried out here. Notice that we have a full article about storage max size limits of IndexedDB that covers this topic. OPFS has the same storage size limitation as IndexedDB. Its limit depends on the available disc space. This can also be tested here. ","version":"Next","tagName":"h2"},{"title":"Performance Comparison","type":1,"pageTitle":"LocalStorage vs. IndexedDB vs. Cookies vs. OPFS vs. WASM-SQLite","url":"/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm.html#performance-comparison","content":" Now that we've reviewed the features of each storage method, let's dive into performance comparisons, focusing on initialization times, read/write latencies, and bulk operations. Notice that we only run simple tests and for your specific use case in your application the results might differ. Also we only compare performance in google chrome (version 128.0.6613.137). Firefox and Safari have similar but not equal performance patterns. You can run the test by yourself on your own machine from this github repository. For all tests we throttle the network to behave like the average german internet speed. (download: 135,900 kbit/s, upload: 28,400 kbit/s, latency: 125ms). Also all tests store an "average" JSON object that might be required to be stringified depending on the storage. We also only test the performance of storing documents by id because some of the technologies (cookies, OPFS and localstorage) do not support indexed range operations so it makes no sense to compare the performance of these. ","version":"Next","tagName":"h2"},{"title":"Initialization Time","type":1,"pageTitle":"LocalStorage vs. IndexedDB vs. Cookies vs. OPFS vs. WASM-SQLite","url":"/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm.html#initialization-time","content":" Before you can store any data, many APIs require a setup process like creating databases, spawning WebAssembly processes or downloading additional stuff. To ensure your app starts fast, the initialization time is important. The APIs of localStorage and Cookies do not have any setup process and can be directly used. IndexedDB requires to open a database and a store inside of it. WASM SQLite needs to download a WASM file and process it. OPFS needs to download and start a worker file and initialize the virtual file system directory. Here are the time measurements from how long it takes until the first bit of data can be stored: Technology\tTime in MillisecondsIndexedDB\t46 OPFS Main Thread\t23 OPFS WebWorker\t26.8 WASM SQLite (memory)\t504 WASM SQLite (IndexedDB)\t535 Here we can notice a few things: Opening a new IndexedDB database with a single store takes surprisingly longThe latency overhead of sending data from the main thread to a WebWorker OPFS is about 4 milliseconds. Here we only send minimal data to init the OPFS file handler. It will be interesting if that latency increases when more data is processed.Downloading and parsing WASM SQLite and creating a single table takes about half a second. Using also the IndexedDB VFS to store data persistently adds additional 31 milliseconds. Reloading the page with enabled caching and already prepared tables is a bit faster with 420 milliseconds (memory). ","version":"Next","tagName":"h3"},{"title":"Latency of small Writes","type":1,"pageTitle":"LocalStorage vs. IndexedDB vs. Cookies vs. OPFS vs. WASM-SQLite","url":"/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm.html#latency-of-small-writes","content":" Next lets test the latency of small writes. This is important when you do many small data changes that happen independent from each other. Like when you stream data from a websocket or persist pseudo randomly happening events like mouse movements. Technology\tTime in MillisecondsCookies\t0.058 LocalStorage\t0.017 IndexedDB\t0.17 OPFS Main Thread\t1.46 OPFS WebWorker\t1.54 WASM SQLite (memory)\t0.17 WASM SQLite (IndexedDB)\t3.17 Here we can notice a few things: LocalStorage has the lowest write latency with only 0.017 milliseconds per write.IndexedDB writes are about 10 times slower compared to localStorage.Sending the data to the WASM SQLite process and letting it persist via IndexedDB is slow with over 3 milliseconds per write. The OPFS operations take about 1.5 milliseconds to write the JSON data into one document per file. We can see the sending the data to a webworker first is a bit slower which comes from the overhead of serializing and deserializing the data on both sides. If we would not create on OPFS file per document but instead append everything to a single file, the performance pattern changes significantly. Then the faster file handle from the createSyncAccessHandle() only takes about 1 millisecond per write. But this would require to somehow remember at which position the each document is stored. Therefore in our tests we will continue using one file per document. ","version":"Next","tagName":"h3"},{"title":"Latency of small Reads","type":1,"pageTitle":"LocalStorage vs. IndexedDB vs. Cookies vs. OPFS vs. WASM-SQLite","url":"/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm.html#latency-of-small-reads","content":" Now that we have stored some documents, lets measure how long it takes to read single documents by their id. Technology\tTime in MillisecondsCookies\t0.132 LocalStorage\t0.0052 IndexedDB\t0.1 OPFS Main Thread\t1.28 OPFS WebWorker\t1.41 WASM SQLite (memory)\t0.45 WASM SQLite (IndexedDB)\t2.93 Here we can notice a few things: LocalStorage reads are really really fast with only 0.0052 milliseconds per read.The other technologies perform reads in a similar speed to their write latency. ","version":"Next","tagName":"h3"},{"title":"Big Bulk Writes","type":1,"pageTitle":"LocalStorage vs. IndexedDB vs. Cookies vs. OPFS vs. WASM-SQLite","url":"/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm.html#big-bulk-writes","content":" As next step, lets do some big bulk operations with 200 documents at once. Technology\tTime in MillisecondsCookies\t20.6 LocalStorage\t5.79 IndexedDB\t13.41 OPFS Main Thread\t280 OPFS WebWorker\t104 WASM SQLite (memory)\t19.1 WASM SQLite (IndexedDB)\t37.12 Here we can notice a few things: Sending the data to a WebWorker and running it via the faster OPFS API is about twice as fast.WASM SQLite performs better on bulk operations compared to its single write latency. This is because sending the data to WASM and backwards is faster if it is done all at once instead of once per document. ","version":"Next","tagName":"h3"},{"title":"Big Bulk Reads","type":1,"pageTitle":"LocalStorage vs. IndexedDB vs. Cookies vs. OPFS vs. WASM-SQLite","url":"/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm.html#big-bulk-reads","content":" Now lets read 100 documents in a bulk request. Technology\tTime in MillisecondsCookies\t6.34 LocalStorage\t0.39 IndexedDB\t4.99 OPFS Main Thread\t54.79 OPFS WebWorker\t25.61 WASM SQLite (memory)\t3.59 WASM SQLite (IndexedDB)\t5.84 (35ms without cache) Here we can notice a few things: Reading many files in the OPFS webworker is about twice as fast compared to the slower main thread mode.WASM SQLite is surprisingly fast. Further inspection has shown that the WASM SQLite process keeps the documents in memory cached which improves the latency when we do reads directly after writes on the same data. When the browser tab is reloaded between the writes and the reads, finding the 100 documents takes about 35 milliseconds instead. ","version":"Next","tagName":"h3"},{"title":"Performance Conclusions","type":1,"pageTitle":"LocalStorage vs. IndexedDB vs. Cookies vs. OPFS vs. WASM-SQLite","url":"/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm.html#performance-conclusions","content":" LocalStorage is really fast but remember that is has some downsides: It blocks the main JavaScript process and therefore should not be used for big bulk operations.Only Key-Value assignments are possible, you cannot use it efficiently when you need to do index based range queries on your data. OPFS is way faster when used in the WebWorker with the createSyncAccessHandle() method compare to using it directly in the main thread.SQLite WASM can be fast but you have to initially download the full binary and start it up which takes about half a second. This might not be relevant at all if your app is started up once and the used for a very long time. But for web-apps that are opened and closed in many browser tabs many times, this might be a problem. ","version":"Next","tagName":"h2"},{"title":"Possible Improvements","type":1,"pageTitle":"LocalStorage vs. IndexedDB vs. Cookies vs. OPFS vs. WASM-SQLite","url":"/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm.html#possible-improvements","content":" There is a wide range of possible improvements and performance hacks to speed up the operations. For IndexedDB I have made a list of performance hacks here. For example you can do sharding between multiple database and webworkers or use a custom index strategy.OPFS is slow in writing one file per document. But you do not have to do that and instead you can store everything at a single file like a normal database would do. This improves performance dramatically like it was done with the RxDB OPFS RxStorage.You can mix up the technologies to optimize for multiple scenarios at once. For example in RxDB there is the localstorage meta optimizer which stores initial metadata in localstorage and "normal" documents inside of IndexedDB. This improves the initial startup time while still having the documents stored in a way to query them efficiently.There is the memory-mapped storage plugin in RxDB which maps data directly to memory. Using this in combination with a shared worker can improve pageloads and query time significantly.Compressing data before storing it might improve the performance for some of the storages.Splitting work up between multiple WebWorkers via sharding can improve performance by utilizing the whole capacity of your users device. Here you can see the performance comparison of various RxDB storage implementations which gives a better view of real world performance: ","version":"Next","tagName":"h2"},{"title":"Future Improvements","type":1,"pageTitle":"LocalStorage vs. IndexedDB vs. Cookies vs. OPFS vs. WASM-SQLite","url":"/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm.html#future-improvements","content":" You are reading this in 2024, but the web does not stand still. There is a good chance that browser get enhanced to allow faster and better data operations. Currently there is no way to directly access a persistent storage from inside a WebAssembly process. If this changes in the future, running SQLite (or a similar database) in a browser might be the best option.Sending data between the main thread and a WebWorker is slow but might be improved in the future. There is a good article about why postMessage() is slow.IndexedDB lately got support for storage buckets (chrome only) which might improve performance. ","version":"Next","tagName":"h2"},{"title":"Follow Up","type":1,"pageTitle":"LocalStorage vs. IndexedDB vs. Cookies vs. OPFS vs. WASM-SQLite","url":"/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm.html#follow-up","content":" Share my announcement tweet -->Reproduce the benchmarks at the github repoLearn how to use RxDB with the RxDB QuickstartCheck out the RxDB github repo and leave a star ⭐ ","version":"Next","tagName":"h2"},{"title":"RxDB – The Ultimate Offline Database with Sync and Encryption","type":0,"sectionRef":"#","url":"/articles/offline-database.html","content":"","keywords":"","version":"Next"},{"title":"Why Choose an Offline Database?","type":1,"pageTitle":"RxDB – The Ultimate Offline Database with Sync and Encryption","url":"/articles/offline-database.html#why-choose-an-offline-database","content":" Offline-first or local-first software stores data directly on the client device. This strategy isn’t just about surviving network outages; it also makes your application faster, more user-friendly, and better at handling multiple usage scenarios. ","version":"Next","tagName":"h2"},{"title":"1. Zero Loading Spinners","type":1,"pageTitle":"RxDB – The Ultimate Offline Database with Sync and Encryption","url":"/articles/offline-database.html#1-zero-loading-spinners","content":" Applications that call remote servers for every request inevitably show loading spinners. With an offline database, read and write operations happen locally—providing near-instant feedback. Users no longer stare at progress indicators or wait for server responses, resulting in a smoother and more fluid experience. ","version":"Next","tagName":"h3"},{"title":"2. Multi-Tab Consistency","type":1,"pageTitle":"RxDB – The Ultimate Offline Database with Sync and Encryption","url":"/articles/offline-database.html#2-multi-tab-consistency","content":" Many websites mishandle data across multiple browser tabs. In an offline database, all tabs share the same local datastore. If the user updates data in one tab (like completing a to-do item), changes instantly reflect in every other tab. This removes complex multi-window synchronization problems. ","version":"Next","tagName":"h3"},{"title":"3. Real-Time Data Feeds","type":1,"pageTitle":"RxDB – The Ultimate Offline Database with Sync and Encryption","url":"/articles/offline-database.html#3-real-time-data-feeds","content":" Apps that rely on a purely server-driven approach often show stale data unless they add a separate real-time push system (like websockets). Local-first solutions with built-in replication essentially get real-time updates “for free.” Once the server sends any changes, your local offline database updates—keeping your UI live and accurate. ","version":"Next","tagName":"h3"},{"title":"4. Reduced Server Load","type":1,"pageTitle":"RxDB – The Ultimate Offline Database with Sync and Encryption","url":"/articles/offline-database.html#4-reduced-server-load","content":" In a traditional app, every interaction triggers a request to the server, scaling up resource usage quickly as traffic grows. Offline-first setups replicate data to the client once, and subsequent local reads or writes do not stress the backend. Your server usage grows with the amount of data—rather than every user action—leading to more efficient scaling. ","version":"Next","tagName":"h3"},{"title":"5. Simpler Development: Fewer Endpoints, No Extra State Library","type":1,"pageTitle":"RxDB – The Ultimate Offline Database with Sync and Encryption","url":"/articles/offline-database.html#5-simpler-development-fewer-endpoints-no-extra-state-library","content":" Typical apps require numerous REST endpoints and possibly a client-side state manager (like Redux) to handle data flow. If you adopt an offline database, you can replicate nearly everything to the client. The local DB becomes your single source of truth, and you may skip advanced state libraries altogether. ","version":"Next","tagName":"h3"},{"title":"Introducing RxDB – A Powerful Offline Database Solution","type":1,"pageTitle":"RxDB – The Ultimate Offline Database with Sync and Encryption","url":"/articles/offline-database.html#introducing-rxdb--a-powerful-offline-database-solution","content":" RxDB (Reactive Database) is a NoSQL JavaScript database that lives entirely in your client environment. It’s optimized for: Offline-first usageReactive queries (your UI updates in real time)Flexible replication with various backendsField-level encryption to protect sensitive data You can run RxDB in: Browsers (IndexedDB, OPFS)Mobile hybrid apps (Ionic, Capacitor)Native modules (React Native)Desktop environments (Electron)Node.jsServers or Scripts Wherever your JavaScript executes, RxDB can serve as a robust offline database. ","version":"Next","tagName":"h2"},{"title":"Quick Setup Example","type":1,"pageTitle":"RxDB – The Ultimate Offline Database with Sync and Encryption","url":"/articles/offline-database.html#quick-setup-example","content":" Below is a short demo of how to create an RxDB database, add a collection, and observe a query. You can expand upon this to enable encryption or full sync. import { createRxDatabase } from 'rxdb/plugins/core'; import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage'; async function initDB() { // Create a local offline database const db = await createRxDatabase({ name: 'myOfflineDB', storage: getRxStorageLocalstorage() }); // Add collections await db.addCollections({ tasks: { schema: { title: 'tasks schema', version: 0, type: 'object', primaryKey: 'id', properties: { id: { type: 'string' }, title: { type: 'string' }, done: { type: 'boolean' } } } } }); // Observe changes in real time db.tasks .find({ selector: { done: false } }) .$ // returns an observable that emits whenever the result set changes .subscribe(undoneTasks => { console.log('Currently undone tasks:', undoneTasks); }); return db; } Now the tasks collection is ready to store data offline. You could also replicate it to a backend, encrypt certain fields, or utilize more advanced features like conflict resolution. ","version":"Next","tagName":"h2"},{"title":"How Offline Sync Works in RxDB","type":1,"pageTitle":"RxDB – The Ultimate Offline Database with Sync and Encryption","url":"/articles/offline-database.html#how-offline-sync-works-in-rxdb","content":" RxDB uses a Sync Engine that pushes local changes to the server and pulls remote updates back down. This ensures local data is always fresh and that the server has the latest offline edits once the device reconnects. Multiple Plugins exist to handle various backends or replication methods: CouchDB or PouchDBGoogle FirestoreGraphQL endpointsREST / HTTPWebSocket or WebRTC (for peer-to-peer sync) You pick the plugin that fits your stack, and RxDB handles everything from conflict detection to event emission, allowing you to focus on building your user-facing features. import { replicateRxCollection } from 'rxdb/plugins/replication'; replicateRxCollection({ collection: db.tasks, replicationIdentifier: 'tasks-sync', pull: { /* fetch updates from server */ }, push: { /* send local writes to server */ }, live: true // keep them in sync constantly }); ","version":"Next","tagName":"h2"},{"title":"Securing Your Offline Database with Encryption","type":1,"pageTitle":"RxDB – The Ultimate Offline Database with Sync and Encryption","url":"/articles/offline-database.html#securing-your-offline-database-with-encryption","content":" Local data can be a risk if it’s sensitive or personal. RxDB offers encryption plugins to keep specific document fields secure at rest. Encryption Example import { createRxDatabase } from 'rxdb/plugins/core'; import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage'; import { wrappedKeyEncryptionCryptoJsStorage } from 'rxdb/plugins/encryption-crypto-js'; async function initSecureDB() { // Wrap the storage with crypto-js encryption const encryptedStorage = wrappedKeyEncryptionCryptoJsStorage({ storage: getRxStorageLocalstorage() }); // Create database with a password const db = await createRxDatabase({ name: 'secureOfflineDB', storage: encryptedStorage, password: 'myTopSecretPassword' }); // Define an encrypted collection await db.addCollections({ userSecrets: { schema: { title: 'encrypted user data', version: 0, type: 'object', primaryKey: 'id', properties: { id: { type: 'string' }, secretData: { type: 'string' } }, required: ['id'], encrypted: ['secretData'] // field is encrypted at rest } } }); return db; } When the device is off or the database file is extracted, secretData remains unreadable without the specified password. This ensures only authorized parties can access sensitive fields, even in offline scenarios. ","version":"Next","tagName":"h2"},{"title":"Follow Up","type":1,"pageTitle":"RxDB – The Ultimate Offline Database with Sync and Encryption","url":"/articles/offline-database.html#follow-up","content":" Integrating an offline database approach into your app delivers near-instant interactions, true multi-tab data consistency, automatic real-time updates, and reduced server dependencies. By choosing RxDB, you gain: Offline-first local storageFlexible replication to various backendsEncryption of sensitive fieldsReactive queries for real-time UI updates RxDB transforms how you build and scale apps—no more loading spinners, no more stale data, no more complicated offline handling. Everything is local, synced, and secured. Continue your learning path: Explore the RxDB EcosystemDive into additional features like Compression or advanced Conflict Handling to optimize your offline database. Learn More About Offline-FirstRead our Offline First documentation for a deeper understanding of why local-first architectures improve user experience and reduce server load. Join the CommunityHave questions or feedback? Connect with us on the RxDB Chat or open an issue on GitHub. Upgrade to PremiumIf you need high-performance features—like SQLite storage for mobile or the Web Crypto-based encryption plugin—consider our premium offerings. By adopting an offline database approach with RxDB, you unlock speed, reliability, and security for your applications—leading to a truly seamless user experience. ","version":"Next","tagName":"h2"},{"title":"Building an Optimistic UI with RxDB","type":0,"sectionRef":"#","url":"/articles/optimistic-ui.html","content":"","keywords":"","version":"Next"},{"title":"Benefits of an Optimistic UI","type":1,"pageTitle":"Building an Optimistic UI with RxDB","url":"/articles/optimistic-ui.html#benefits-of-an-optimistic-ui","content":" Optimistic UIs offer a host of advantages, from improving the user experience to streamlining the underlying infrastructure. Below are some key reasons why an optimistic approach can revolutionize your application's performance and scalability. ","version":"Next","tagName":"h2"},{"title":"Better User Experience with Optimistic UI","type":1,"pageTitle":"Building an Optimistic UI with RxDB","url":"/articles/optimistic-ui.html#better-user-experience-with-optimistic-ui","content":" No loading spinners, near-zero latency: Users perceive their actions as instant. Any actual network delays or slow server operations can be handled behind the scenes.Offline capability: Optimistic UI pairs perfectly with offline-first apps. Users can continue to interact with the application even when offline, and changes will be synced automatically once the network is available again. ","version":"Next","tagName":"h3"},{"title":"Better Scaling and Easier to Implement","type":1,"pageTitle":"Building an Optimistic UI with RxDB","url":"/articles/optimistic-ui.html#better-scaling-and-easier-to-implement","content":" Fewer server endpoints: Instead of sending a separate HTTP request for every single user interaction, you can batch updates and sync them in bulk.Less server load: By handling changes locally and syncing in batches, you reduce the volume of server round-trips.Automated error handling: If a request fails or a document is in conflict, RxDB's replication mechanism can seamlessly retry and resolve conflicts in the background, without requiring a separate endpoint or manual user intervention. ","version":"Next","tagName":"h3"},{"title":"Building Optimistic UI Apps with RxDB","type":1,"pageTitle":"Building an Optimistic UI with RxDB","url":"/articles/optimistic-ui.html#building-optimistic-ui-apps-with-rxdb","content":" Now that we know what an optimistic UI is, lets build one with RxDB. ","version":"Next","tagName":"h2"},{"title":"Local Database: The Backbone of an Optimistic UI","type":1,"pageTitle":"Building an Optimistic UI with RxDB","url":"/articles/optimistic-ui.html#local-database-the-backbone-of-an-optimistic-ui","content":" A local database is the heart of an Optimistic UI. With RxDB, all application state is stored locally, ensuring seamless and instant updates. You can choose from multiple storage backends based on your runtime - check out RxDB Storage Options to see which engines (IndexedDB, SQLite, or custom) suit your environment best. Instant Writes: When users perform an action (like clicking a button or submitting a form), the changes are written directly to the local RxDB database. This immediate local write makes the UI feel snappy and removes the dependency on instantaneous server responses. Offline-First: Because data is managed locally, your app continues to operate smoothly even without an internet connection. Users can view, create, and update data at any time, assured that changes will sync automatically once they're back online. ","version":"Next","tagName":"h3"},{"title":"Real-Time UI Changes on Updates","type":1,"pageTitle":"Building an Optimistic UI with RxDB","url":"/articles/optimistic-ui.html#real-time-ui-changes-on-updates","content":" RxDB's core is built around observables that react to any state changes - whether from local writes or incoming replication from the server. Automatic UI refresh: Any query or document subscription in RxDB automatically notifies your UI layer when data changes. There's no need to manually poll or refetch.Cross-tab updates: If you have the same RxDB database open in multiple browser tabs, changes in one tab instantly propagate to the others. Event-Reduce Algorithm: Under the hood, RxDB uses the event-reduce algorithm to minimize overhead. Instead of re-running expensive queries, RxDB calculates the smallest possible updates needed to keep query results accurate - further boosting real-time performance. ","version":"Next","tagName":"h3"},{"title":"Replication with a Server","type":1,"pageTitle":"Building an Optimistic UI with RxDB","url":"/articles/optimistic-ui.html#replication-with-a-server","content":" While local storage is key to an Optimistic UI, most applications ultimately need to sync with a remote back end. RxDB offers a powerful replication system that can sync your local data with virtually any server/database in the background: Incremental and real-time: RxDB continuously pushes local changes to the server when a network is available and fetches server updates as they happen.Conflict resolution: If changes happen offline or multiple clients update the same data, RxDB detects conflicts and makes it straightforward to resolve them.Flexible transport: Beyond simple HTTP polling, you can incorporate WebSockets, Server-Sent Events (SSE), or other protocols for instant, server-confirmed changes broadcast to all connected clients. See this guide to learn more. By combining local-first data handling with real-time synchronization, RxDB delivers most of what an Optimistic UI needs - right out of the box. The result is a seamless user experience where interactions never feel blocked by slow networks, and any conflicts or final validations are quietly handled in the background. Handling Offline Changes and Conflicts Offline-first approach: All writes are initially stored in the local database. When connectivity returns, RxDB's replication automatically pushes changes to the server.Conflict resolution: If multiple clients edit the same documents while offline, conflicts are automatically detected and can be resolved gracefully (more on conflicts below). WebSockets, SSE, or Beyond For truly real-time communication - where server-confirmed changes instantly reach all clients - you can go beyond simple HTTP polling. Use WebSockets, Server-Sent Events (SSE), or other streaming protocols to broadcast updates the moment they occur. This pattern excels in scenarios like chats, collaborative editors, or dynamic dashboards. To learn more about these protocols and their integration with RxDB, check out this guide. ","version":"Next","tagName":"h3"},{"title":"Optimistic UI in Various Frameworks","type":1,"pageTitle":"Building an Optimistic UI with RxDB","url":"/articles/optimistic-ui.html#optimistic-ui-in-various-frameworks","content":" ","version":"Next","tagName":"h2"},{"title":"Angular Example","type":1,"pageTitle":"Building an Optimistic UI with RxDB","url":"/articles/optimistic-ui.html#angular-example","content":" Angular's async pipe works smoothly with RxDB's observables. Suppose you have a myCollection of documents, you can directly subscribe in the template: <ul *ngIf="(myCollection.find().$ | async) as docs"> <li *ngFor="let doc of docs"> {{ doc.name }} </li> </ul> This snippet: Subscribes to myCollection.find().$, which emits live updates whenever documents in the collection change.Passes the emitted array of documents into docs.Renders each document in a list item, instantly reflecting any changes. ","version":"Next","tagName":"h3"},{"title":"React Example","type":1,"pageTitle":"Building an Optimistic UI with RxDB","url":"/articles/optimistic-ui.html#react-example","content":" In React, you can utilize signals or other state management tools. For instance, if we have an RxDB extension that exposes a signal: import React from 'react'; function MyComponent({ myCollection }) { // .find().$$ provides a signal that updates whenever data changes const docsSignal = myCollection.find().$$; return ( <ul> {docs.map((doc) => ( <li key={doc.id}>{doc.name}</li> ))} </ul> ); } export default MyComponent; When you call docsSignal.value or use a hook like useSignal, it pulls the latest value from the RxDB query. Whenever the collection updates, the signal emits the new data, and React re-renders the component instantly. ","version":"Next","tagName":"h3"},{"title":"Downsides of Optimistic UI Apps","type":1,"pageTitle":"Building an Optimistic UI with RxDB","url":"/articles/optimistic-ui.html#downsides-of-optimistic-ui-apps","content":" While Optimistic UIs feel snappy, there are some caveats: Conflict Resolution: With an optimistic approach, multiple offline devices might edit the same data. When syncing back, conflicts occur that must be merged. RxDB uses revisions to detect and handle these conflicts. User Confusion: Users may see changes that haven't yet been confirmed by the server. If a subsequent server validation fails, the UI must revert to a previous state. Clear visual feedback or user notifications help reduce confusion. Server Compatibility: The server must be capable of storing and returning revision metadata (for instance, a timestamp or versioning system). Check out RxDB's replication docs for details on how to structure your back end. Storage Limits: Storing data in the client has practical size limits. IndexedDB or other client-side storages have constraints (though usually quite large). See storage comparisons. ","version":"Next","tagName":"h2"},{"title":"Conflict Resolution Strategies","type":1,"pageTitle":"Building an Optimistic UI with RxDB","url":"/articles/optimistic-ui.html#conflict-resolution-strategies","content":" Last Write to Server Wins: A simplest-possible method: whatever update reaches the server last overrides previous data. Good for non-critical data like “like" counts or ephemeral states.Revision-Based Merges: Use revision numbers or timestamps to track concurrent edits. Merge them intelligently by combining fields or choosing the latest sub-document changes. This is ideal for collaborative apps where you don't want to overwrite entire records.User Prompts: In certain workflows (e.g., shipping forms, e-commerce checkout), you may need to notify the user about conflicts and let them choose which version to keep.First Write to Server Wins (RxDB Default): RxDB's default approach is to let the first successful push define the latest version. Any incoming push with an outdated revision triggers a conflict that must be resolved on the client side. Learn more at here. ","version":"Next","tagName":"h2"},{"title":"When (and When Not) to Use Optimistic UI","type":1,"pageTitle":"Building an Optimistic UI with RxDB","url":"/articles/optimistic-ui.html#when-and-when-not-to-use-optimistic-ui","content":" When to Use Real-time interactions like chat apps, social feeds, or “Likes." Situations where high success rates of operations are expected (most writes don't fail).Apps that need an offline-first approach or handle intermittent connectivity gracefully. When Not to Use Large, complex transactions with high failure rates.Scenarios requiring heavy server validations or approvals (for example, financial transactions with complex rules).Workflows where immediate feedback could mislead users about an operation's success probability. Assessing Risk Consider the likelihood that a user's action might fail. If it's very low, optimistic UI is often best.If frequent failures or complex validations occur, consider a hybrid approach: partial optimistic updates for some actions, while more critical operations rely on immediate server confirmation. ","version":"Next","tagName":"h2"},{"title":"Follow Up","type":1,"pageTitle":"Building an Optimistic UI with RxDB","url":"/articles/optimistic-ui.html#follow-up","content":" Ready to start building your own Optimistic UI with RxDB? Here are some next steps: Do the RxDB QuickstartIf you're brand new to RxDB, the quickstart guide will walk you through installation and setting up your first project. Check Out the Demo AppA live RxDB Quickstart Demo showcases optimistic updates and real-time syncing. Explore the code to see how it works. Star the GitHub RepoShow your support for RxDB by starring the RxDB GitHub Repository. By combining RxDB's powerful offline-first capabilities with the principles of an Optimistic UI, you can deliver snappy, near-instant user interactions that keep your users engaged - no matter the network conditions. Get started today and give your users the experience they deserve! ","version":"Next","tagName":"h2"},{"title":"RxDB as a Database for Progressive Web Apps (PWA)","type":0,"sectionRef":"#","url":"/articles/progressive-web-app-database.html","content":"","keywords":"","version":"Next"},{"title":"What is a Progressive Web App","type":1,"pageTitle":"RxDB as a Database for Progressive Web Apps (PWA)","url":"/articles/progressive-web-app-database.html#what-is-a-progressive-web-app","content":" Progressive Web Apps are the future of web development, seamlessly combining the best of both web and mobile app worlds. They can be easily installed on the user's home screen, function offline, and load at lightning speed. Unlike hybrid apps, PWAs offer a consistent user experience across platforms, making them a versatile choice for modern applications. PWAs bring a plethora of advantages to the table. They eliminate the hassle of app store installations and updates, reduce dependency on network connectivity, and prioritize fast loading times. By harnessing the power of service workers and intelligent caching mechanisms, PWAs ensure users can access content even in offline mode. Furthermore, PWAs are device-agnostic, seamlessly adapting to various devices, from desktops to smartphones. ","version":"Next","tagName":"h2"},{"title":"Introducing RxDB as a Client-Side Database for PWAs","type":1,"pageTitle":"RxDB as a Database for Progressive Web Apps (PWA)","url":"/articles/progressive-web-app-database.html#introducing-rxdb-as-a-client-side-database-for-pwas","content":" At the heart of PWAs lies efficient data management, and RxDB steps in as a reliable ally. As a client-side NoSQL database, RxDB seamlessly integrates into web applications, offering real-time data synchronization and manipulation capabilities. This article sheds light on the transformative potential of RxDB as it collaborates harmoniously with PWAs, enabling local-first strategies and elevating user interactions to a whole new level. ","version":"Next","tagName":"h2"},{"title":"Getting Started with RxDB","type":1,"pageTitle":"RxDB as a Database for Progressive Web Apps (PWA)","url":"/articles/progressive-web-app-database.html#getting-started-with-rxdb","content":" RxDB emerges as a reactive, schema-based NoSQL database crafted explicitly for client-side applications. Its real-time data synchronization and responsiveness align seamlessly with the dynamic demands of modern PWAs. Local-First Approach The cornerstone of RxDB's philosophy is the local-first approach, empowering PWAs to prioritize data storage and manipulation on the client side. This paradigm ensures that PWAs remain functional even when offline, allowing users to access and interact with data seamlessly. RxDB bridges any gaps in data synchronization once network connectivity is restored. Observable Queries Observable queries (aka Live-Queries) serve as the engine of RxDB's dynamic capabilities. By leveraging these queries, PWAs can monitor and respond to data changes in real time. The result is an engaging user interface with instantaneous updates that captivate users and keep them engaged. await db.heroes.find({ selector: { healthpoints: { $gt: 0 } } }) .$ // the $ returns an observable that emits each time the result set of the query changes .subscribe(aliveHeroes => console.dir(aliveHeroes)); Multi-Tab Support RxDB extends its prowess to multi-tab scenarios, guaranteeing data consistency across different tabs or windows of the same PWA. This feature promotes a seamless transition between various sections of the application, while minimizing data conflicts. ","version":"Next","tagName":"h3"},{"title":"Using RxDB in a Progressive Web App","type":1,"pageTitle":"RxDB as a Database for Progressive Web Apps (PWA)","url":"/articles/progressive-web-app-database.html#using-rxdb-in-a-progressive-web-app","content":" Integrating RxDB into a Progressive Web App, driven by technologies like React, is a straightforward process. By configuring RxDB and installing the necessary packages, developers establish a solid foundation for robust data management within their PWA. ","version":"Next","tagName":"h3"},{"title":"Exploring Different RxStorage Layers","type":1,"pageTitle":"RxDB as a Database for Progressive Web Apps (PWA)","url":"/articles/progressive-web-app-database.html#exploring-different-rxstorage-layers","content":" RxDB caters to diverse needs through its various RxStorage layers: localstorage RxStorage: Leveraging the capabilities of the browsers localstorage API for storage.IndexedDB RxStorage: Tapping into the browser's IndexedDB for efficient data storage.OPFS RxStorage: Interfacing with the Offline-First Persistence System for seamless persistence.Memory RxStorage: Storing data in memory, ideal for temporary data requirements. This flexibility empowers developers to optimize data storage based on the unique needs of their PWA. Synchronizing Data with RxDB between PWA Clients and Servers To facilitate seamless data synchronization between PWA clients and servers, RxDB offers a range of replication options: RxDB Replication Algorithm: RxDB introduces its own replication algorithm, enabling efficient and reliable data synchronization between clients and servers. CouchDB Replication: Leveraging its roots in CouchDB, RxDB facilitates smooth data replication between clients and CouchDB servers, ensuring data consistency and synchronization across devices. Firestore Replication: RxDB synchronizes data with Google Firestore, a real-time cloud-hosted NoSQL database. This integration guarantees up-to-date data across different instances of the PWA. Peer-to-Peer (P2P) via WebRTC Replication: RxDB supports P2P replication, facilitating direct data synchronization between clients without intermediaries. This decentralized approach is invaluable in scenarios where server infrastructure is limited. ","version":"Next","tagName":"h2"},{"title":"Advanced RxDB Features and Techniques","type":1,"pageTitle":"RxDB as a Database for Progressive Web Apps (PWA)","url":"/articles/progressive-web-app-database.html#advanced-rxdb-features-and-techniques","content":" ","version":"Next","tagName":"h2"},{"title":"Encryption of Local Data","type":1,"pageTitle":"RxDB as a Database for Progressive Web Apps (PWA)","url":"/articles/progressive-web-app-database.html#encryption-of-local-data","content":" RxDB empowers PWAs with the ability to encrypt local data, enhancing data security and safeguarding sensitive information. This feature is indispensable for applications handling user credentials, financial transactions, and other confidential data. ","version":"Next","tagName":"h3"},{"title":"Indexing and Performance Optimization","type":1,"pageTitle":"RxDB as a Database for Progressive Web Apps (PWA)","url":"/articles/progressive-web-app-database.html#indexing-and-performance-optimization","content":" Performance optimization is a top priority for PWAs. RxDB addresses this concern by offering indexing options that expedite data retrieval, resulting in a snappier user interface and heightened responsiveness. ","version":"Next","tagName":"h3"},{"title":"JSON Key Compression","type":1,"pageTitle":"RxDB as a Database for Progressive Web Apps (PWA)","url":"/articles/progressive-web-app-database.html#json-key-compression","content":" RxDB introduces JSON key compression, a feature that reduces storage requirements. This optimization is particularly beneficial for PWAs dealing with substantial data volumes, enhancing overall efficiency and resource utilization. ","version":"Next","tagName":"h3"},{"title":"Change Streams and Event Handling","type":1,"pageTitle":"RxDB as a Database for Progressive Web Apps (PWA)","url":"/articles/progressive-web-app-database.html#change-streams-and-event-handling","content":" RxDB introduces change streams, enabling PWAs to react to data changes in real time. This capability empowers dynamic updates to the user interface, promoting interactivity and engagement. ","version":"Next","tagName":"h3"},{"title":"Conclusion","type":1,"pageTitle":"RxDB as a Database for Progressive Web Apps (PWA)","url":"/articles/progressive-web-app-database.html#conclusion","content":" In the ever-evolving landscape of web application development, Progressive Web Apps continue to redefine user experiences. RxDB emerges as a pivotal player, seamlessly integrating with PWAs and enhancing their capabilities. With features like the local-first approach, observable queries, replication mechanisms, and advanced encryption, RxDB empowers developers to create responsive, offline-capable, and data-driven PWAs. As the demand for sophisticated PWAs continues to surge, RxDB remains an indispensable tool for developers aiming to push the boundaries of innovation and redefine the standards of user engagement. By embracing RxDB, developers ensure their PWAs remain at the forefront of the digital revolution, offering seamless and immersive experiences to users around the world. ","version":"Next","tagName":"h2"},{"title":"Follow Up","type":1,"pageTitle":"RxDB as a Database for Progressive Web Apps (PWA)","url":"/articles/progressive-web-app-database.html#follow-up","content":" To explore more about RxDB and leverage its capabilities for browser database development, check out the following resources: RxDB GitHub Repository: Visit the official GitHub repository of RxDB to access the source code, documentation, and community support.RxDB Quickstart: Get started quickly with RxDB by following the provided quickstart guide, which provides step-by-step instructions for setting up and using RxDB in your projects.RxDB Progressive Web App in Angular Example ","version":"Next","tagName":"h2"},{"title":"RxDB as a Database for React Applications","type":0,"sectionRef":"#","url":"/articles/react-database.html","content":"","keywords":"","version":"Next"},{"title":"Introducing RxDB as a JavaScript Database","type":1,"pageTitle":"RxDB as a Database for React Applications","url":"/articles/react-database.html#introducing-rxdb-as-a-javascript-database","content":" RxDB, a powerful JavaScript database, has garnered attention as an optimal solution for managing data in React applications. Built on top of the IndexedDB standard, RxDB combines the principles of reactive programming with database management. Its core features include reactive data handling, offline-first capabilities, and robust data replication. ","version":"Next","tagName":"h2"},{"title":"What is RxDB?","type":1,"pageTitle":"RxDB as a Database for React Applications","url":"/articles/react-database.html#what-is-rxdb","content":" RxDB, short for Reactive Database, is an open-source JavaScript database that seamlessly integrates reactive programming with database operations. It offers a comprehensive API for performing database actions and synchronizing data across clients and servers. RxDB's underlying philosophy revolves around observables, allowing developers to reactively manage data changes and create dynamic user interfaces. ","version":"Next","tagName":"h2"},{"title":"Reactive Data Handling","type":1,"pageTitle":"RxDB as a Database for React Applications","url":"/articles/react-database.html#reactive-data-handling","content":" One of RxDB's standout features is its support for reactive data handling. Traditional databases often require manual intervention for data fetching and updating, leading to complex and error-prone code. RxDB, however, automatically notifies subscribers whenever data changes occur, eliminating the need for explicit data manipulation. This reactive approach simplifies code and enhances the responsiveness of React components. ","version":"Next","tagName":"h3"},{"title":"Local-First Approach","type":1,"pageTitle":"RxDB as a Database for React Applications","url":"/articles/react-database.html#local-first-approach","content":" RxDB embraces a local-first methodology, enabling applications to function seamlessly even in offline scenarios. By storing data locally, RxDB ensures that users can interact with the application and make updates regardless of internet connectivity. Once the connection is reestablished, RxDB synchronizes the local changes with the remote database, maintaining data consistency across devices. ","version":"Next","tagName":"h3"},{"title":"Data Replication","type":1,"pageTitle":"RxDB as a Database for React Applications","url":"/articles/react-database.html#data-replication","content":" Data replication is a cornerstone of modern applications that require synchronization between multiple clients and servers. RxDB provides robust data replication mechanisms that facilitate real-time synchronization between different instances of the database. This ensures that changes made on one client are promptly propagated to others, contributing to a cohesive and unified user experience. ","version":"Next","tagName":"h3"},{"title":"Observable Queries","type":1,"pageTitle":"RxDB as a Database for React Applications","url":"/articles/react-database.html#observable-queries","content":" RxDB extends the concept of observables beyond data changes. It introduces observable queries, allowing developers to observe the results of database queries. This feature enables automatic updates to query results whenever relevant data changes occur. Observable queries simplify state management by eliminating the need to manually trigger updates in response to changing data. await db.heroes.find({ selector: { healthpoints: { $gt: 0 } } }) .$ // the $ returns an observable that emits each time the result set of the query changes .subscribe(aliveHeroes => console.dir(aliveHeroes)); ","version":"Next","tagName":"h3"},{"title":"Multi-Tab Support","type":1,"pageTitle":"RxDB as a Database for React Applications","url":"/articles/react-database.html#multi-tab-support","content":" Web applications often operate in multiple browser tabs or windows. RxDB accommodates this scenario by offering built-in multi-tab support. It ensures that data changes made in one tab are efficiently propagated to other tabs, maintaining data consistency and providing a seamless experience for users interacting with the application across different tabs. ","version":"Next","tagName":"h3"},{"title":"RxDB vs. Other React Database Options","type":1,"pageTitle":"RxDB as a Database for React Applications","url":"/articles/react-database.html#rxdb-vs-other-react-database-options","content":" While considering database options for React applications, RxDB stands out due to its unique combination of reactive programming and database capabilities. Unlike traditional solutions such as IndexedDB or Web Storage, which provide basic data storage, RxDB offers a dedicated database solution with advanced features. Additionally, while state management libraries like Redux and MobX can be adapted for database use, RxDB provides an integrated solution specifically designed for handling data. ","version":"Next","tagName":"h3"},{"title":"IndexedDB in React and the Advantage of RxDB","type":1,"pageTitle":"RxDB as a Database for React Applications","url":"/articles/react-database.html#indexeddb-in-react-and-the-advantage-of-rxdb","content":" Using IndexedDB directly in React can be challenging due to its low-level, callback-based API which doesn't align neatly with modern React's Promise and async/await patterns. This intricacy often leads to bulky and complex implementations for developers. Also, when used wrong, IndexedDB can have a worse performance profile then it could have. In contrast, RxDB, with the IndexedDB RxStorage and the LocalStorage RxStorage, abstracts these complexities, integrating reactive programming and providing a more streamlined experience for data management in React applications. Thus, RxDB offers a more intuitive approach, eliminating much of the manual overhead required with IndexedDB. ","version":"Next","tagName":"h3"},{"title":"Using RxDB in a React Application","type":1,"pageTitle":"RxDB as a Database for React Applications","url":"/articles/react-database.html#using-rxdb-in-a-react-application","content":" The process of integrating RxDB into a React application is straightforward. Begin by installing RxDB as a dependency:npm install rxdb rxjsOnce installed, RxDB can be imported and initialized within your React components. The following code snippet illustrates a basic setup: import { createRxDatabase } from 'rxdb'; import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage'; const db = await createRxDatabase({ name: 'heroesdb', // <- name storage: getRxStorageLocalstorage(), // <- RxStorage password: 'myPassword', // <- password (optional) multiInstance: true, // <- multiInstance (optional, default: true) eventReduce: true, // <- eventReduce (optional, default: false) cleanupPolicy: {} // <- custom cleanup policy (optional) }); ","version":"Next","tagName":"h3"},{"title":"Using RxDB React Hooks","type":1,"pageTitle":"RxDB as a Database for React Applications","url":"/articles/react-database.html#using-rxdb-react-hooks","content":" The rxdb-hooks package provides a set of React hooks that simplify data management within components. These hooks leverage RxDB's reactivity to automatically update components when data changes occur. The following example demonstrates the usage of the useRxCollection and useRxQuery hooks to query and observe a collection: const collection = useRxCollection('characters'); const query = collection.find().where('affiliation').equals('Jedi'); const { result: characters, isFetching, fetchMore, isExhausted, } = useRxQuery(query, { pageSize: 5, pagination: 'Infinite', }); if (isFetching) { return 'Loading...'; } return ( <CharacterList> {characters.map((character, index) => ( <Character character={character} key={index} /> ))} {!isExhausted && <button onClick={fetchMore}>load more</button>} </CharacterList> ); ","version":"Next","tagName":"h3"},{"title":"Different RxStorage Layers for RxDB","type":1,"pageTitle":"RxDB as a Database for React Applications","url":"/articles/react-database.html#different-rxstorage-layers-for-rxdb","content":" RxDB offers multiple storage layers, each backed by a different underlying technology. Developers can choose the storage layer that best suits their application's requirements. Some available options include: LocalStorage RxStorage: Built on top of the browsers localstorage API.IndexedDB RxStorage: The default RxDB storage layer, providing efficient data storage in modern browsers.OPFS RxStorage: Uses the Operational File System (OPFS) for storage, suitable for Electron applications.Memory RxStorage: Stores data in memory, primarily intended for testing and development purposes.SQLite RxStorage: Stores data in an SQLite database. Can be used in a browser with react by using a SQLite database that was compiled to WebAssembly. Using SQLite in react might not be the best idea, because a compiled SQLite wasm file is about one megabyte of code that has to be loaded and rendered by your users. Using native browser APIs like IndexedDB and OPFS have shown to be a more optimal database solution for browser based react apps compared to SQLite. ","version":"Next","tagName":"h3"},{"title":"Synchronizing Data with RxDB between Clients and Servers","type":1,"pageTitle":"RxDB as a Database for React Applications","url":"/articles/react-database.html#synchronizing-data-with-rxdb-between-clients-and-servers","content":" The offline-first approach is a fundamental principle of RxDB's design. When dealing with client-server synchronization, RxDB ensures that changes made offline are captured and propagated to the server once connectivity is reestablished. This mechanism guarantees that data remains consistent across different client instances, even when operating in an occasionally connected environment. RxDB offers a range of replication plugins that facilitate data synchronization between clients and servers. These plugins support various synchronization strategies, such as one-way replication, two-way replication, and custom conflict resolution. Developers can select the appropriate plugin based on their application's synchronization requirements. ","version":"Next","tagName":"h3"},{"title":"Advanced RxDB Features and Techniques","type":1,"pageTitle":"RxDB as a Database for React Applications","url":"/articles/react-database.html#advanced-rxdb-features-and-techniques","content":" Encryption of Local Data Security is paramount when handling sensitive user data. RxDB supports data encryption, ensuring that locally stored information remains protected from unauthorized access. This feature is particularly valuable when dealing with sensitive data in offline scenarios. ","version":"Next","tagName":"h3"},{"title":"Indexing and Performance Optimization","type":1,"pageTitle":"RxDB as a Database for React Applications","url":"/articles/react-database.html#indexing-and-performance-optimization","content":" Efficient indexing is critical for achieving optimal database performance. RxDB provides mechanisms to define indexes on specific fields, enhancing query speed and reducing the computational overhead of data retrieval. ","version":"Next","tagName":"h3"},{"title":"JSON Key Compression","type":1,"pageTitle":"RxDB as a Database for React Applications","url":"/articles/react-database.html#json-key-compression","content":" RxDB employs JSON key compression to reduce storage space and improve performance. This technique minimizes the memory footprint of the database, making it suitable for applications with limited resources. ","version":"Next","tagName":"h3"},{"title":"Change Streams and Event Handling","type":1,"pageTitle":"RxDB as a Database for React Applications","url":"/articles/react-database.html#change-streams-and-event-handling","content":" RxDB enables developers to subscribe to change streams, which emit events whenever data changes occur. This functionality facilitates real-time event handling and provides opportunities for implementing features such as notifications and live updates. ","version":"Next","tagName":"h3"},{"title":"Conclusion","type":1,"pageTitle":"RxDB as a Database for React Applications","url":"/articles/react-database.html#conclusion","content":" In the realm of React application development, efficient data management is pivotal to delivering a seamless and engaging user experience. RxDB emerges as a compelling solution, seamlessly integrating reactive programming principles with sophisticated database capabilities. By adopting RxDB, React developers can harness its powerful features, including reactive data handling, offline-first support, and real-time synchronization. With RxDB as a foundational pillar, React applications can excel in responsiveness, scalability, and data integrity. As the landscape of web development continues to evolve, RxDB remains a steadfast companion for creating robust and dynamic React applications. ","version":"Next","tagName":"h2"},{"title":"Follow Up","type":1,"pageTitle":"RxDB as a Database for React Applications","url":"/articles/react-database.html#follow-up","content":" To explore more about RxDB and leverage its capabilities for browser database development, check out the following resources: RxDB GitHub Repository: Visit the official GitHub repository of RxDB to access the source code, documentation, and community support.RxDB Quickstart: Get started quickly with RxDB by following the provided quickstart guide, which provides step-by-step instructions for setting up and using RxDB in your projects.RxDB React Example at GitHub ","version":"Next","tagName":"h2"},{"title":"IndexedDB Database in React Apps - The Power of RxDB","type":0,"sectionRef":"#","url":"/articles/react-indexeddb.html","content":"","keywords":"","version":"Next"},{"title":"What is IndexedDB?","type":1,"pageTitle":"IndexedDB Database in React Apps - The Power of RxDB","url":"/articles/react-indexeddb.html#what-is-indexeddb","content":" IndexedDB is a low-level API for storing significant amounts of structured data in the browser. It provides a transactional database system that can store key-value pairs, complex objects, and more. This storage engine is asynchronous and supports advanced data types, making it suitable for offline storage and complex web applications. ","version":"Next","tagName":"h2"},{"title":"Why Use IndexedDB in React","type":1,"pageTitle":"IndexedDB Database in React Apps - The Power of RxDB","url":"/articles/react-indexeddb.html#why-use-indexeddb-in-react","content":" When building React applications, IndexedDB can play a crucial role in enhancing both performance and user experience. Here are some reasons to consider using IndexedDB: Offline-First / Local-First: By storing data locally, your application remains functional even without an internet connection.Performance: Using local data means zero latency and no loading spinners, as data doesn't need to be fetched over a network.Easier Implementation: Replicating all data to the client once is often simpler than implementing multiple endpoints for each user interaction.Scalability: Local data reduces server load because queries run on the client side, decreasing server bandwidth and processing requirements. ","version":"Next","tagName":"h2"},{"title":"Why To Not Use Plain IndexedDB","type":1,"pageTitle":"IndexedDB Database in React Apps - The Power of RxDB","url":"/articles/react-indexeddb.html#why-to-not-use-plain-indexeddb","content":" While IndexedDB itself is powerful, its native API comes with several drawbacks for everyday application developers: Callback-Based API: IndexedDB was designed with callbacks rather than modern Promises, making asynchronous code more cumbersome.Complexity: IndexedDB is low-level, intended for library developers rather than for app developers who simply want to store data.Basic Query API: Its rudimentary query capabilities limit how you can efficiently perform complex queries, whereas libraries like RxDB offer more advanced query features.TypeScript Support: Ensuring good TypeScript support with IndexedDB is challenging, especially when trying to enforce document type consistency.Lack of Observable API: IndexedDB doesn't provide an observable API out of the box. RxDB solves this by enabling you to observe query results or specific document fields.Cross-Tab Communication: Managing cross-tab updates in plain IndexedDB is difficult. RxDB handles this seamlessly-changes in one tab automatically affect observed data in others.Missing Advanced Features: Features like encryption or compression aren't built into IndexedDB, but they are available via RxDB.Limited Platform Support: IndexedDB exists only in the browser. In contrast, RxDB offers swappable storages to use the same code in React Native, Capacitor, or Electron. ","version":"Next","tagName":"h2"},{"title":"Set up RxDB in React","type":1,"pageTitle":"IndexedDB Database in React Apps - The Power of RxDB","url":"/articles/react-indexeddb.html#set-up-rxdb-in-react","content":" Setting up RxDB with React is straightforward. It abstracts IndexedDB complexities and adds a layer of powerful features over it. ","version":"Next","tagName":"h2"},{"title":"Installing RxDB","type":1,"pageTitle":"IndexedDB Database in React Apps - The Power of RxDB","url":"/articles/react-indexeddb.html#installing-rxdb","content":" First, install RxDB and RxJS from npm: npm install rxdb rxjs --save``` ","version":"Next","tagName":"h3"},{"title":"Create a Database and Collections","type":1,"pageTitle":"IndexedDB Database in React Apps - The Power of RxDB","url":"/articles/react-indexeddb.html#create-a-database-and-collections","content":" RxDB provides two main storage options: The free localstorage-based storageThe premium plain IndexedDB-based storage, offering faster performance Below is an example of setting up a simple RxDB database using the localstorage-based storage in a React app: import { createRxDatabase } from 'rxdb/plugins/core'; import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage'; // create a database const db = await createRxDatabase({ name: 'heroesdb', // the name of the database storage: getRxStorageLocalstorage() }); // Define your schema const heroSchema = { title: 'hero schema', version: 0, description: 'Describes a hero in your app', primaryKey: 'id', type: 'object', properties: { id: { type: 'string', maxLength: 100 }, name: { type: 'string' }, power: { type: 'string' } }, required: ['id', 'name'] }; // add collections await db.addCollections({ heroes: { schema: heroSchema } }); ","version":"Next","tagName":"h3"},{"title":"CRUD Operations","type":1,"pageTitle":"IndexedDB Database in React Apps - The Power of RxDB","url":"/articles/react-indexeddb.html#crud-operations","content":" Once your database is initialized, you can perform all CRUD operations: // insert await db.heroes.insert({ name: 'Iron Man', power: 'Genius-level intellect' }); // bulk insert await db.heroes.bulkInsert([ { name: 'Thor', power: 'God of Thunder' }, { name: 'Hulk', power: 'Superhuman Strength' } ]); // find and findOne const heroes = await db.heroes.find().exec(); const ironMan = await db.heroes.findOne({ selector: { name: 'Iron Man' } }).exec(); // update const doc = await db.heroes.findOne({ selector: { name: 'Hulk' } }).exec(); await doc.update({ $set: { power: 'Unlimited Strength' } }); // delete const doc = await db.heroes.findOne({ selector: { name: 'Thor' } }).exec(); await doc.remove(); ","version":"Next","tagName":"h3"},{"title":"Reactive Queries and Live Updates","type":1,"pageTitle":"IndexedDB Database in React Apps - The Power of RxDB","url":"/articles/react-indexeddb.html#reactive-queries-and-live-updates","content":" RxDB excels in providing reactive data capabilities, ideal for real-time applications. There are two main approaches to achieving live queries with RxDB: using RxJS Observables with React Hooks or utilizing Preact Signals. ","version":"Next","tagName":"h2"},{"title":"With RxJS Observables and React Hooks","type":1,"pageTitle":"IndexedDB Database in React Apps - The Power of RxDB","url":"/articles/react-indexeddb.html#with-rxjs-observables-and-react-hooks","content":" RxDB integrates seamlessly with RxJS Observables, allowing you to build reactive components. Here's an example of a React component that subscribes to live data updates: import { useState, useEffect } from 'react'; function HeroList({ collection }) { const [heroes, setHeroes] = useState([]); useEffect(() => { // create an observable query const query = collection.find(); const subscription = query.$.subscribe(newHeroes => { setHeroes(newHeroes); }); return () => subscription.unsubscribe(); }, [collection]); return ( <div> <h2>Hero List</h2> <ul> {heroes.map(hero => ( <li key={hero.id}> <strong>{hero.name}</strong> - {hero.power} </li> ))} </ul> </div> ); } This component subscribes to the collection's changes, updating the UI automatically whenever the underlying data changes, even across browser tabs. ","version":"Next","tagName":"h3"},{"title":"With Preact Signals","type":1,"pageTitle":"IndexedDB Database in React Apps - The Power of RxDB","url":"/articles/react-indexeddb.html#with-preact-signals","content":" RxDB also supports Preact Signals for reactivity, which can be integrated into React applications. Preact Signals offer a modern, fine-grained reactivity model. First, install the necessary package: npm install @preact/signals-core --save Set up RxDB with Preact Signals reactivity: import { PreactSignalsRxReactivityFactory } from 'rxdb/plugins/reactivity-preact-signals'; import { createRxDatabase } from 'rxdb/plugins/core'; import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage'; const database = await createRxDatabase({ name: 'mydb', storage: getRxStorageLocalstorage(), reactivity: PreactSignalsRxReactivityFactory }); Now, you can obtain signals directly from RxDB queries using the double-dollar sign ($$): function HeroList({ collection }) { const heroes = collection.find().$$; return ( <ul> {heroes.map(hero => ( <li key={hero.id}>{hero.name}</li> ))} </ul> ); } This approach provides automatic updates whenever the data changes, without needing to manage subscriptions manually. ","version":"Next","tagName":"h3"},{"title":"React IndexedDB Example with RxDB","type":1,"pageTitle":"IndexedDB Database in React Apps - The Power of RxDB","url":"/articles/react-indexeddb.html#react-indexeddb-example-with-rxdb","content":" A comprehensive example of using RxDB within a React application can be found in the RxDB GitHub repository. This repository contains sample applications, showcasing best practices and demonstrating how to integrate RxDB for various use cases. ","version":"Next","tagName":"h2"},{"title":"Advanced RxDB Features","type":1,"pageTitle":"IndexedDB Database in React Apps - The Power of RxDB","url":"/articles/react-indexeddb.html#advanced-rxdb-features","content":" RxDB offers many advanced features that extend beyond basic data storage: RxDB Replication: Synchronize local data with remote databases seamlessly. Learn more: RxDB ReplicationData Migration: Handle schema changes gracefully with automatic data migrations. See: Data migrationEncryption: Secure your data with built-in encryption capabilities. Explore: EncryptionCompression: Optimize storage using key compression. Details: Compression ","version":"Next","tagName":"h2"},{"title":"Limitations of IndexedDB","type":1,"pageTitle":"IndexedDB Database in React Apps - The Power of RxDB","url":"/articles/react-indexeddb.html#limitations-of-indexeddb","content":" While IndexedDB is powerful, it has some inherent limitations: Performance: IndexedDB can be slow under certain conditions. Read more: Slow IndexedDBStorage Limits: Browsers impose limits on how much data can be stored. See: Browser storage limits ","version":"Next","tagName":"h2"},{"title":"Alternatives to IndexedDB","type":1,"pageTitle":"IndexedDB Database in React Apps - The Power of RxDB","url":"/articles/react-indexeddb.html#alternatives-to-indexeddb","content":" Depending on your application's requirements, there are alternative storage solutions to consider: Origin Private File System (OPFS): A newer API that can offer better performance. RxDB supports OPFS as well. More info: RxDB OPFS StorageSQLite: Ideal for React applications on Capacitor or Ionic, offering native performance. Explore: RxDB SQLite Storage ","version":"Next","tagName":"h2"},{"title":"Performance comparison with other browser storages","type":1,"pageTitle":"IndexedDB Database in React Apps - The Power of RxDB","url":"/articles/react-indexeddb.html#performance-comparison-with-other-browser-storages","content":" Here is a performance overview of the various browser based storage implementation of RxDB: ","version":"Next","tagName":"h2"},{"title":"Follow Up","type":1,"pageTitle":"IndexedDB Database in React Apps - The Power of RxDB","url":"/articles/react-indexeddb.html#follow-up","content":" Learn how to use RxDB with the RxDB Quickstart for a guided introduction.Check out the RxDB GitHub repository and leave a star ⭐ if you find it useful. By leveraging RxDB on top of IndexedDB, you can create highly responsive, offline-capable React applications without dealing with the low-level complexities of IndexedDB directly. With reactive queries, seamless cross-tab communication, and powerful advanced features, RxDB becomes an invaluable tool in modern web development. ","version":"Next","tagName":"h2"},{"title":"React Native Encryption and Encrypted Database/Storage","type":0,"sectionRef":"#","url":"/articles/react-native-encryption.html","content":"","keywords":"","version":"Next"},{"title":"🔒 Why Encryption Matters","type":1,"pageTitle":"React Native Encryption and Encrypted Database/Storage","url":"/articles/react-native-encryption.html#-why-encryption-matters","content":" Encryption ensures that, even if an unauthorized party obtains physical access to your device or intercepts data, they cannot read the information without the encryption key. Sensitive user data such as credentials, personal information, or financial details should always be encrypted. Proper encryption practices reduce the risk of data breaches and help your application remain compliant with regulations like GDPR or HIPAA. ","version":"Next","tagName":"h2"},{"title":"React Native Encryption Overview","type":1,"pageTitle":"React Native Encryption and Encrypted Database/Storage","url":"/articles/react-native-encryption.html#react-native-encryption-overview","content":" React Native supports multiple ways to secure local data: Encrypted DatabasesUse databases with built-in encryption capabilities, such as SQLite with encryption layers or RxDB with its encryption plugin. Secure Storage LibrariesFor key-value data (like tokens or secrets), you can use libraries like react-native-keychain or react-native-encrypted-storage. Custom EncryptionIf you need more fine-grained control, you can integrate libraries like crypto-js or the Web Crypto API to encrypt data before storing it in a database or file. ","version":"Next","tagName":"h2"},{"title":"Setting Up Encryption in RxDB for React Native","type":1,"pageTitle":"React Native Encryption and Encrypted Database/Storage","url":"/articles/react-native-encryption.html#setting-up-encryption-in-rxdb-for-react-native","content":" ","version":"Next","tagName":"h2"},{"title":"1. Install RxDB and Required Plugins","type":1,"pageTitle":"React Native Encryption and Encrypted Database/Storage","url":"/articles/react-native-encryption.html#1-install-rxdb-and-required-plugins","content":" Install RxDB and the encryption plugin(s) you need. For the CryptoJS plugin: npm install rxdb npm install crypto-js ","version":"Next","tagName":"h3"},{"title":"2. Set Up Your RxDB Database with Encryption","type":1,"pageTitle":"React Native Encryption and Encrypted Database/Storage","url":"/articles/react-native-encryption.html#2-set-up-your-rxdb-database-with-encryption","content":" RxDB offers two encryption plugins: CryptoJS Plugin: A free and straightforward solution for most basic use cases.Web Crypto Plugin: A premium plugin that utilizes the native Web Crypto API for better performance and security. Below is an example showing how to set up RxDB using the CryptoJS plugin. This example uses the in-memory storage for testing purposes. In a real production scenario, you would use a persistent storage adapter, mostly the SQLite-based storage. import { createRxDatabase } from 'rxdb'; import { wrappedKeyEncryptionCryptoJsStorage } from 'rxdb/plugins/encryption-crypto-js'; /* * For testing, we use the in-memory storage of RxDB. * In production you would use the persistent SQLite based storage instead. */ import { getRxStorageMemory } from 'rxdb/plugins/storage-memory'; async function initEncryptedDatabase() { // Wrap the normal storage with the encryption plugin const encryptedMemoryStorage = wrappedKeyEncryptionCryptoJsStorage({ storage: getRxStorageMemory() }); // Create an encrypted database const db = await createRxDatabase({ name: 'myEncryptedDatabase', storage: encryptedMemoryStorage, password: 'sudoLetMeIn' // Make sure not to hardcode in production }); // Define a schema and create a collection await db.addCollections({ secureData: { schema: { title: 'secure data schema', version: 0, type: 'object', primaryKey: 'id', properties: { id: { type: 'string', maxLength: 100 }, normalField: { type: 'string' }, secretField: { type: 'string' } }, required: ['id', 'normalField', 'secretField'] } } }); return db; } ","version":"Next","tagName":"h3"},{"title":"3. Inserting and Querying Encrypted Data","type":1,"pageTitle":"React Native Encryption and Encrypted Database/Storage","url":"/articles/react-native-encryption.html#3-inserting-and-querying-encrypted-data","content":" Once you've set up the database with encryption, data in fields specified by your schema will be encrypted automatically before it is stored, and decrypted when queried. (async () => { const db = await initEncryptedDatabase(); // Insert encrypted data const doc = await db.secureData.insert({ id: 'mySecretId', normalField: 'foobar', secretField: 'This is top secret data' }); // Query encrypted data by its primary key or non-encrypted fields const fetchedDoc = await db.secureData.findOne({ selector: { normalField: 'foobar' } }).exec(true); console.log(fetchedDoc.secretField); // 'This is top secret data' // Update data await fetchedDoc.patch({ secretField: 'Updated secret data' }); })(); Note: You can only query directly by non-encrypted fields or primary keys. Encrypted fields cannot be used in queries because they are stored as ciphertext in the database. A common approach is to have a small subset of fields that need to be queried unencrypted while storing any sensitive data in encrypted fields. ","version":"Next","tagName":"h3"},{"title":"Best Practices for React Native Encryption","type":1,"pageTitle":"React Native Encryption and Encrypted Database/Storage","url":"/articles/react-native-encryption.html#best-practices-for-react-native-encryption","content":" Secure Password Handling Avoid hardcoding passwords or encryption keys.Use secure storage solutions like React Native Keychain or react-native-encrypted-storage to fetch the database password at runtime: // Example: using react-native-keychain to securely retrieve a stored password import * as Keychain from 'react-native-keychain'; async function getDatabasePassword() { const credentials = await Keychain.getGenericPassword(); if (credentials) { return credentials.password; } throw new Error('No password stored in Keychain'); } Encrypt Attachments: If you need to store files (images, text files, etc.), consider encrypting attachments. RxDB supports attachments that can be encrypted automatically, ensuring your files are protected: import { createBlob } from 'rxdb/plugins/core'; const doc = await await db.secureData.findOne({ selector: { normalField: 'foobar' } }).exec(true); const attachment = await doc.putAttachment({ id: 'encryptedFile.txt', data: createBlob('Sensitive content', 'text/plain'), type: 'text/plain', }); Optimize Performance If performance is critical, consider using the premium Web Crypto plugin, which leverages native APIs for faster encryption and decryption.If big chunks of data are encrypted, store them in attachments instead of document fields. Attachments will only be decrypted on explicit fetches, not during queries. Use DevMode in Development: RxDB's DevMode Plugin can help validate your schema and encryption setup during development. Disable it in production for performance reasons. Secure Communication: Use HTTPS to secure network communication between the app and any backend services.If you're synchronizing data to a server, ensure the data is also encrypted in transit. RxDB's replication plugins can work with secure endpoints to keep data consistent. SSL Pinning: Consider SSL Pinning if you want to prevent man-in-the-middle attacks. SSL Pinning ensures the device trusts only the pinned certificate, preventing attackers from swapping out valid certificates with their own. ","version":"Next","tagName":"h2"},{"title":"Follow Up","type":1,"pageTitle":"React Native Encryption and Encrypted Database/Storage","url":"/articles/react-native-encryption.html#follow-up","content":" Learn how to use RxDB with the RxDB Quickstart for a guided introduction.A good way to learn using RxDB database with React Native is to check out the RxDB React Native example and use that as a tutorial.Check out the RxDB GitHub repository and leave a star ⭐ if you find it useful.Learn more about the RxDB encryption plugins. By following these best practices and leveraging RxDB's powerful encryption plugins, you can build secure, performant, and robust React Native applications that keep your users' data safe. ","version":"Next","tagName":"h2"},{"title":"ReactJS Storage – From Basic LocalStorage to Advanced Offline Apps with RxDB","type":0,"sectionRef":"#","url":"/articles/reactjs-storage.html","content":"","keywords":"","version":"Next"},{"title":"Part 1: Storing Data in ReactJS with LocalStorage","type":1,"pageTitle":"ReactJS Storage – From Basic LocalStorage to Advanced Offline Apps with RxDB","url":"/articles/reactjs-storage.html#part-1-storing-data-in-reactjs-with-localstorage","content":" localStorage is a built-in browser API for storing key-value pairs in the user’s browser. It’s straightforward to set and get items—ideal for trivial preferences or small usage data. import React, { useState, useEffect } from 'react'; function LocalStorageExample() { const [username, setUsername] = useState(() => { const saved = localStorage.getItem('username'); return saved ? JSON.parse(saved) : ''; }); useEffect(() => { localStorage.setItem('username', JSON.stringify(username)); }, [username]); return ( <div> <h2>ReactJS LocalStorage Demo</h2> <input type="text" value={username} onChange={e => setUsername(e.target.value)} placeholder="Enter your username" /> <p>Stored: {username}</p> </div> ); } export default LocalStorageExample; Pros of localStorage in ReactJS: Easy to implement quickly for minimal dataBuilt-in to the browser—no extra libsPersistent across sessions Downsides of localStorageWhile localStorage is convenient for small amounts of data, it has certain limitations: Synchronous: Reading or writing localStorage can block the main thread if data is large.No advanced queries: You only store stringified objects by a single key. Searching or filtering requires manually scanning everything.No concurrency or offline logic: If multiple tabs or users need to manipulate the same data, localStorage doesn’t handle concurrency or sync with a server.No indexing: You can’t perform partial lookups or advanced matching. For “remember user preference” use cases, localStorage is excellent. But if your app grows complex—needing structured data, large data sets, or offline-first features—you might quickly surpass localStorage’s utility. ","version":"Next","tagName":"h2"},{"title":"Part 2: LocalStorage vs. IndexedDB","type":1,"pageTitle":"ReactJS Storage – From Basic LocalStorage to Advanced Offline Apps with RxDB","url":"/articles/reactjs-storage.html#part-2-localstorage-vs-indexeddb","content":" While localStorage is simple, it’s limited to string-based key-value lookups and can be synchronous for all reads/writes. For more robust ReactJS storage needs, browsers also provide IndexedDB—a low-level, asynchronous API that can store larger amounts of JSON data with indexing. LocalStorage: Good for small amounts of data (like user settings or flags)String-only storageSingle key-value access, no searching by subfields IndexedDB: Stores large JSON objects, able to index by multiple fieldsAsynchronous and usually more scalableMore complicated to use directly (i.e., not as simple as .getItem())RxDB, as you’ll see, simplifies IndexedDB usage in ReactJS by adding a more intuitive layer for queries, reactivity, and advanced capabilities like encryption. ","version":"Next","tagName":"h2"},{"title":"Part 3: Moving Beyond Basic Storage: RxDB for ReactJS","type":1,"pageTitle":"ReactJS Storage – From Basic LocalStorage to Advanced Offline Apps with RxDB","url":"/articles/reactjs-storage.html#part-3-moving-beyond-basic-storage-rxdb-for-reactjs","content":" When data shapes get complex—large sets of nested documents, or you want offline sync to a server—RxDB can transform your approach to ReactJS storage. It stores documents in (usually) IndexedDB or alternative backends but offers a reactive, NoSQL-based interface. ","version":"Next","tagName":"h2"},{"title":"RxDB Quick Example (Observables)","type":1,"pageTitle":"ReactJS Storage – From Basic LocalStorage to Advanced Offline Apps with RxDB","url":"/articles/reactjs-storage.html#rxdb-quick-example-observables","content":" import { createRxDatabase } from 'rxdb'; import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage'; (async function setUpRxDB() { const db = await createRxDatabase({ name: 'heroDB', storage: getRxStorageLocalstorage(), multiInstance: false }); const heroSchema = { title: 'hero schema', version: 0, type: 'object', primaryKey: 'id', properties: { id: { type: 'string' }, name: { type: 'string' }, power: { type: 'string' } }, required: ['id', 'name'] }; await db.addCollections({ heroes: { schema: heroSchema } }); // Insert a doc await db.heroes.insert({ id: '1', name: 'AlphaHero', power: 'Lightning' }); // Query docs once const allHeroes = await db.heroes.find().exec(); console.log('Heroes: ', allHeroes); })(); Reactive Queries: In a React component, you can subscribe to a query via RxDB’s $ property, letting your UI automatically update when data changes. React components can subscribe to updates from .find() queries, letting the UI automatically reflect changes—perfect for dynamic offline-first apps. import React, { useEffect, useState } from 'react'; function HeroList({ collection }) { const [heroes, setHeroes] = useState([]); useEffect(() => { const query = collection.find(); // query.$ is an RxJS Observable that emits whenever data changes const sub = query.$.subscribe(newHeroes => { setHeroes(newHeroes); }); return () => sub.unsubscribe(); // clean up subscription }, [collection]); return ( <ul> {heroes.map(hero => ( <li key={hero.id}> {hero.name} - Power: {hero.power} </li> ))} </ul> ); } export default HeroList; By using these reactive queries, your React app knows exactly when data changes locally (or from another browser tab) or from remote sync, keeping your UI in sync effortlessly. ","version":"Next","tagName":"h3"},{"title":"Part 4: Using Preact Signals Instead of Observables","type":1,"pageTitle":"ReactJS Storage – From Basic LocalStorage to Advanced Offline Apps with RxDB","url":"/articles/reactjs-storage.html#part-4-using-preact-signals-instead-of-observables","content":" RxDB typically exposes reactivity via RxJS observables. However, some developers prefer newer reactivity approaches like Preact Signals. RxDB supports them via a special plugin or advanced usage: import { createRxDatabase } from 'rxdb/plugins/core'; import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage'; import { PreactSignalsRxReactivityFactory } from 'rxdb/plugins/reactivity-preact-signals'; (async function setUpRxDBWithSignals() { const db = await createRxDatabase({ name: 'heroDB_signals', storage: getRxStorageLocalstorage(), reactivity: PreactSignalsRxReactivityFactory }); // Create a signal-based query instead of using Observables: const collection = db.heroes; const heroesSignal = collection.find().$$; // signals version // Now you can reference heroesSignal() in Preact or React with adapter usage })(); Preact Signals rely on signals instead of Observables. Some developers find them more straightforward to adopt, especially for fine-grained reactivity. In ReactJS, you might still prefer RxJS-based subscriptions unless you add bridging code for signals. ","version":"Next","tagName":"h2"},{"title":"Part 5: Encrypting the Storage with RxDB","type":1,"pageTitle":"ReactJS Storage – From Basic LocalStorage to Advanced Offline Apps with RxDB","url":"/articles/reactjs-storage.html#part-5-encrypting-the-storage-with-rxdb","content":" For more advanced ReactJS storage needs—especially when sensitive user data is involved - you might want to encrypt stored documents at rest. RxDB provides a robust encryption plugin: import { createRxDatabase } from 'rxdb'; import { wrappedKeyEncryptionCryptoJsStorage } from 'rxdb/plugins/encryption-crypto-js'; import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage'; (async function secureSetup() { const encryptedStorage = wrappedKeyEncryptionCryptoJsStorage({ storage: getRxStorageLocalstorage() }); // Provide a password for encryption const db = await createRxDatabase({ name: 'secureReactStorage', storage: encryptedStorage, password: 'MyStrongPassword123' }); await db.addCollections({ secrets: { schema: { title: 'secret schema', version: 0, type: 'object', primaryKey: 'id', properties: { id: { type: 'string' }, secretInfo: { type: 'string' } }, required: ['id'], encrypted: ['secretInfo'] // field to encrypt } } }); })(); All data in the marked encrypted fields is automatically encrypted at rest. This is crucial if you store user credentials, private messages, or other personal data in your ReactJS application storage. ","version":"Next","tagName":"h2"},{"title":"Offline Sync","type":1,"pageTitle":"ReactJS Storage – From Basic LocalStorage to Advanced Offline Apps with RxDB","url":"/articles/reactjs-storage.html#offline-sync","content":" If you need multi-device or multi-user data synchronization, RxDB provides replication plugins for various endpoints (HTTP, GraphQL, CouchDB, Firestore, etc.). Your local offline changes can then merge automatically with a remote database whenever internet connectivity is restored. ","version":"Next","tagName":"h2"},{"title":"Overview: localStorage vs IndexedDB vs RxDB","type":1,"pageTitle":"ReactJS Storage – From Basic LocalStorage to Advanced Offline Apps with RxDB","url":"/articles/reactjs-storage.html#overview-localstorage-vs-indexeddb-vs-rxdb","content":" Characteristic\tlocalStorage\tIndexedDB\tRxDBData Model\tKey-value store (only strings)\tLow-level, JSON-like storage engine with object stores and indexes\tNoSQL JSON documents with optional JSON-Schema Query Capabilities\tBasic get/set by key; manual parse for more complex searches\tIndex-based queries, but API is fairly verbose; lacks a high-level query language\tJSON-based queries, optional indexes, real-time reactivity Observability\tNone. Must re-fetch data yourself.\tNone natively. Must implement eventing or manual re-check.\tBuilt-in reactivity. UI auto-updates via Observables or Preact signals Large Data Usage\tNot recommended for large data (blocking, synchronous calls)\tBetter for large amounts of data, asynchronous reads/writes\tScales for medium to large data. Uses IndexedDB or other storages under the hood Concurrency\tMinimal. Overwrites if multiple tabs write simultaneously\tMultiple tabs can open the same DB, but must handle concurrency logic carefully\tMulti-instance concurrency with built-in conflict resolution plugins if needed Offline Sync\tNone. Purely local.\tNone out of the box. Must be implemented manually\tBuilt-in replication to remote endpoints (HTTP, GraphQL, CouchDB, etc.) for offline-first usage Encryption\tNot supported natively\tNot supported natively; must encrypt data manually before storing\tEncryption plugins available. Supports field-level encryption at rest Usage\tGreat for small flags or settings ","version":"Next","tagName":"h2"},{"title":"Follow Up","type":1,"pageTitle":"ReactJS Storage – From Basic LocalStorage to Advanced Offline Apps with RxDB","url":"/articles/reactjs-storage.html#follow-up","content":" If you’re looking to dive deeper into ReactJS storage topics and take full advantage of RxDB’s offline-first, real-time capabilities, here are some recommended resources: RxDB Official Documentation Explore detailed guides on setting up storage adapters, defining JSON schemas, handling conflicts, and enabling offline synchronization. RxDB Quickstart Get a step-by-step tutorial to create your first RxDB-based application in minutes. RxDB GitHub Repository See the source code, open issues, and browse community-driven examples that integrate ReactJS, Preact Signals, and advanced features like encryption. RxDB Encryption Plugins Learn how to encrypt fields in your collections, protecting user data and meeting compliance requirements. Preact Signals React Integration (Example) If you want to combine React with signals-based reactivity, check out example code and bridging approaches. MDN: Using the Web Storage API Refresh on localStorage basics, including best practices for small key-value data in traditional React apps. With these follow-up steps, you can refine your reactjs storage strategy to meet your app’s unique needs, whether it’s simple user preferences or robust offline data syncing. ","version":"Next","tagName":"h2"},{"title":"What is a realtime database?","type":0,"sectionRef":"#","url":"/articles/realtime-database.html","content":"","keywords":"","version":"Next"},{"title":"Realtime as in realtime computing","type":1,"pageTitle":"What is a realtime database?","url":"/articles/realtime-database.html#realtime-as-in-realtime-computing","content":" When "normal" developers hear the word "realtime", they think of Real-time computing (RTC). Real-time computing is a type of computer processing that guarantees specific response times for tasks or events, crucial in applications like industrial control, automotive systems, and aerospace. It relies on specialized operating systems (RTOS) to ensure predictability and low latency. Hard real-time systems must never miss deadlines, while soft real-time systems can tolerate occasional delays. Real-time responses are often understood to be in the order of milliseconds, and sometimes microseconds. Consider the role of real-time computing in car airbags: sensors detect collision force, swiftly process the data, and immediately decide to deploy the airbags within milliseconds. Such rapid action is imperative for safeguarding passengers. Hence, the controlling chip must guarantee a certain response time - it must operate in "realtime". But when people talk about realtime databases, especially in the web-development world, they almost never mean realtime, as in realtime computing, they mean something else. In fact, with any programming language that run on end users devices, it is not even possible to built a "real" realtime database. A program, like a JavaScript (browser or Node.js) process, can be halted by the operating systems task manager at any time and therefore it will never be able to guarantee specific response times. To build a realtime computing database, you would need a realtime capable operating system. ","version":"Next","tagName":"h2"},{"title":"Real time Database as in realtime replication","type":1,"pageTitle":"What is a realtime database?","url":"/articles/realtime-database.html#real-time-database-as-in-realtime-replication","content":" When talking about realtime databases, most people refer to realtime, as in realtime replication. Often they mean a very specific product which is the Firebase Realtime Database (not the Firestore). In the context of the Firebase Realtime Database, "realtime" means that data changes are synchronized and delivered to all connected clients or devices as soon as they occur, typically within milliseconds. This means that when any client updates, adds, or removes data in the database, all other clients that are connected to the same database instance receive those updates instantly, without the need for manual polling or frequent HTTP requests. In short, when replicating data between databases, instead of polling, we use a websocket connection to live-stream all changes between the server and the clients, this is labeled as "realtime database". A similar thing can be done with RxDB and the RxDB Replication Plugins. ","version":"Next","tagName":"h2"},{"title":"Realtime as in realtime applications","type":1,"pageTitle":"What is a realtime database?","url":"/articles/realtime-database.html#realtime-as-in-realtime-applications","content":" In the context of realtime client-side applications, "realtime" refers to the immediate or near-instantaneous processing and response to events or data inputs. When data changes, the application must directly update to reflect the new data state, without any user interaction or delay. Notice that the change to the data could have come from any source, like a user action, an operation in another browser tab, or even an operation from another device that has been replicated to the client. In contrast to push-pull based databases (e.g., MySQL or MongoDB servers), a realtime database contains features which make it easy to build realtime applications. For example with RxDB you can not only fetch query results once, but instead you can subscribe to a query and directly update the HTML dom tree whenever the query has a new result set: await db.heroes.find({ selector: { healthpoints: { $gt: 0 } } }) .$ // The $ returns an observable that emits whenever the query's result set changes. .subscribe(aliveHeroes => { // Refresh the HTML list each time there are new query results. const newContent = aliveHeroes.map(doc => '<li>' + doc.name + '</li>'); document.getElementById('#myList').innerHTML = newContent; }); // You can even subscribe to any RxDB document's fields. myDocument.firstName$.subscribe(newName => console.log('name is: ' + newName)); A competent realtime application is engineered to offer feedback or results swiftly, ideally within milliseconds to microseconds. Ideally, a data modification should be processed in under 16 milliseconds (since 1 second divided by 60 frames equals 16.66ms) to ensure users don't perceive any lag from input to visualization. RxDB utilizes the EventReduce algorithm to manage changes more swiftly than 16ms. However, it can never assure fixed response times as a "realtime computing database" would. ","version":"Next","tagName":"h2"},{"title":"Follow Up","type":1,"pageTitle":"What is a realtime database?","url":"/articles/realtime-database.html#follow-up","content":" Dive into the RxDB QuickstartDiscover more about the RxDB realtime Sync EngineJoin the conversation at RxDB Chat ","version":"Next","tagName":"h2"},{"title":"RxDB as a Database in a Vue Application","type":0,"sectionRef":"#","url":"/articles/vue-database.html","content":"","keywords":"","version":"Next"},{"title":"Why Vue Applications Need a Database","type":1,"pageTitle":"RxDB as a Database in a Vue Application","url":"/articles/vue-database.html#why-vue-applications-need-a-database","content":" Vue is renowned for its lightweight core and flexible architecture centered around reactive state management and reusable components. However, modern Vue applications often require: Offline Capabilities: Allowing users to continue working even without internet access.Real-Time Updates: Keeping UI data in sync with changes as they occur, whether locally or from other connected clients.Improved Performance: Reducing server round trips and leveraging local storage for faster data operations.Scalable Data Handling: Managing increasingly large datasets or complex queries right in the browser. While you can store data in Vuex/Pinia stores or via direct AJAX calls, these solutions may not suffice when your application demands a full-featured offline-first database or complex synchronization with a server. RxDB addresses these needs with a dedicated, reactive, browser-based database that pairs seamlessly with Vue's reactivity system. ","version":"Next","tagName":"h2"},{"title":"Introducing RxDB as a Database Solution","type":1,"pageTitle":"RxDB as a Database in a Vue Application","url":"/articles/vue-database.html#introducing-rxdb-as-a-database-solution","content":" RxDB - short for Reactive Database - is built on the principle of combining NoSQL database capabilities with reactive programming. It runs inside your client-side environment (browser, Node.js, or mobile devices) and provides: Real-Time Reactivity: Automatically updates subscribed components whenever data changes.Offline-First Approach: Stores data locally and syncs with the server when online connectivity is restored.Data Replication: Effortlessly keeps data synchronized across multiple tabs, devices, or server instances.Multi-Tab Support: Seamlessly propagates changes to all open tabs in the user's browser.Observable Queries: Automatically refresh the result set when documents in your queried collection change. ","version":"Next","tagName":"h2"},{"title":"RxDB vs. Other Vue Database Options","type":1,"pageTitle":"RxDB as a Database in a Vue Application","url":"/articles/vue-database.html#rxdb-vs-other-vue-database-options","content":" Compared to traditional approaches - like raw IndexedDB or local storage - RxDB adds a powerful, reactive layer that simplifies your data flow. While tools like Vuex or Pinia are great for state management, they are not fully fledged databases with features like replication, conflict resolution, and offline persistence. RxDB bridges the gap by providing an integrated data handling solution tailor-made for modern, data-intensive Vue applications. ","version":"Next","tagName":"h3"},{"title":"Getting Started with RxDB","type":1,"pageTitle":"RxDB as a Database in a Vue Application","url":"/articles/vue-database.html#getting-started-with-rxdb","content":" Let's break down the essentials for using RxDB within a Vue application. ","version":"Next","tagName":"h2"},{"title":"Installation","type":1,"pageTitle":"RxDB as a Database in a Vue Application","url":"/articles/vue-database.html#installation","content":" You can install RxDB (and RxJS, which it depends on) via npm or yarn: npm install rxdb rxjs ","version":"Next","tagName":"h3"},{"title":"Creating and Configuring Your Database","type":1,"pageTitle":"RxDB as a Database in a Vue Application","url":"/articles/vue-database.html#creating-and-configuring-your-database","content":" Within your Vue project, you can set up an RxDB instance in a dedicated file or a Vue plugin. Below is an example using Localstorage as the storage engine: // db.js import { createRxDatabase } from 'rxdb'; import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage'; export async function initDatabase() { const db = await createRxDatabase({ name: 'heroesdb', storage: getRxStorageLocalstorage(), password: 'myPassword', // optional encryption password multiInstance: true, // multi-tab support eventReduce: true // optimize event handling }); await db.addCollections({ hero: { schema: { title: 'hero schema', version: 0, primaryKey: 'id', type: 'object', properties: { id: { type: 'string' }, name: { type: 'string' }, healthpoints: { type: 'number' } } } } }); return db; } After creating the RxDB instance, you can share it across your application (for example, by providing it in a plugin or a global property in Vue). ","version":"Next","tagName":"h2"},{"title":"Vue Reactivity and RxDB Observables","type":1,"pageTitle":"RxDB as a Database in a Vue Application","url":"/articles/vue-database.html#vue-reactivity-and-rxdb-observables","content":" RxDB queries return RxJS observables (.$). Vue can automatically update components when data changes if you manually subscribe and store results in Vue refs/reactive objects, or if you use RxDB's custom reactivity for Vue. Example with Vue 3 Composition API: // HeroList.vue <script setup> import { ref, onMounted } from 'vue'; import { initDatabase } from '@/db'; const heroes = ref([]); let db; onMounted(async () => { db = await initDatabase(); // Subscribe to an RxDB query db.hero .find({ selector: { healthpoints: { $gt: 0 } }, sort: [{ name: 'asc' }] }) .$ // the dot-$ is an observable that emits whenever the query results change .subscribe((newHeroes) => { heroes.value = newHeroes; }); }); </script> <template> <ul> <li v-for="hero in heroes" :key="hero.id"> {{ hero.name }} - HP: {{ hero.healthpoints }} </li> </ul> </template> ","version":"Next","tagName":"h2"},{"title":"Different RxStorage Layers for RxDB","type":1,"pageTitle":"RxDB as a Database in a Vue Application","url":"/articles/vue-database.html#different-rxstorage-layers-for-rxdb","content":" RxDB supports multiple storage backends - called "RxStorage layers" - giving you flexibility in how data is persisted: LocalStorage RxStorage: Uses the browsers localstorage API.IndexedDB RxStorage: Direct usage of native IndexedDB.OPFS RxStorage: Uses the File System Access API for even faster storage in modern browsers.Memory RxStorage: Stores data in memory, ideal for tests or ephemeral data.SQLite RxStorage: Runs SQLite, which can be compiled to WebAssembly for the browser. While possible, it typically carries a larger bundle size compared to native browser APIs like IndexedDB or OPFS. Choose the storage option that best aligns with your Vue application's requirements for performance, persistence, and platform compatibility. ","version":"Next","tagName":"h2"},{"title":"Synchronizing Data with RxDB between Clients and Servers","type":1,"pageTitle":"RxDB as a Database in a Vue Application","url":"/articles/vue-database.html#synchronizing-data-with-rxdb-between-clients-and-servers","content":" RxDB champions an offline-first approach: data is kept locally so that your Vue app remains usable, even without internet. When connectivity is restored, RxDB ensures your local changes synchronize to the server, resolving conflicts as necessary. Real-Time Synchronization: With RxDB's replication plugins, any local change can be instantly pushed to a remote endpoint while pulling down remote changes to ensure consistency.Conflict Resolution: In multi-user scenarios, conflicts may arise if two clients update the same document simultaneously. RxDB provides hooks to handle and resolve these gracefully.Scalable Architecture: By reducing reliance on continuous server requests, you can lighten server load and deliver a more responsive user experience. ","version":"Next","tagName":"h2"},{"title":"Advanced RxDB Features and Techniques","type":1,"pageTitle":"RxDB as a Database in a Vue Application","url":"/articles/vue-database.html#advanced-rxdb-features-and-techniques","content":" ","version":"Next","tagName":"h2"},{"title":"Offline-First Approach","type":1,"pageTitle":"RxDB as a Database in a Vue Application","url":"/articles/vue-database.html#offline-first-approach","content":" Vue applications can seamlessly function offline by leveraging RxDB's local database storage. The moment the network is restored, all unsynced data is pushed to the server. This capability is particularly beneficial for Progressive Web Apps (PWAs) and scenarios with spotty connectivity. ","version":"Next","tagName":"h3"},{"title":"Observable Queries and Change Streams","type":1,"pageTitle":"RxDB as a Database in a Vue Application","url":"/articles/vue-database.html#observable-queries-and-change-streams","content":" Beyond simply returning data, RxDB queries emit observables that respond to any change in the underlying documents. This real-time approach can drastically simplify state management, since updates flow directly into your Vue components without additional manual wiring. ","version":"Next","tagName":"h3"},{"title":"Encryption of Local Data","type":1,"pageTitle":"RxDB as a Database in a Vue Application","url":"/articles/vue-database.html#encryption-of-local-data","content":" For applications handling sensitive information, RxDB supports encryption of local data. Your data is stored securely in the browser, protecting it from unauthorized access. ","version":"Next","tagName":"h3"},{"title":"Indexing and Performance Optimization","type":1,"pageTitle":"RxDB as a Database in a Vue Application","url":"/articles/vue-database.html#indexing-and-performance-optimization","content":" By defining indexes on frequently searched fields, you can speed up queries and reduce overall resource usage. This is crucial for larger datasets where performance might otherwise degrade. ","version":"Next","tagName":"h3"},{"title":"JSON Key Compression","type":1,"pageTitle":"RxDB as a Database in a Vue Application","url":"/articles/vue-database.html#json-key-compression","content":" This optimization shortens field names in stored JSON documents, thereby reducing storage space and potentially improving performance for read/write operations. ","version":"Next","tagName":"h3"},{"title":"Multi-Tab Support","type":1,"pageTitle":"RxDB as a Database in a Vue Application","url":"/articles/vue-database.html#multi-tab-support","content":" If your users open multiple tabs of your Vue application, RxDB ensures data is synchronized across all instances in real time. Changes made in one tab are immediately reflected in others, creating a unified user experience. ","version":"Next","tagName":"h3"},{"title":"Best Practices for Using RxDB in Vue","type":1,"pageTitle":"RxDB as a Database in a Vue Application","url":"/articles/vue-database.html#best-practices-for-using-rxdb-in-vue","content":" Here are some recommendations to get the most out of RxDB in your Vue projects: Centralize Database Creation: Initialize and configure RxDB in a dedicated file or plugin, ensuring only one database instance is created.Leverage Vue's Composition API or a Global Store: Use watchers, refs, or a store like Pinia to neatly manage data subscriptions and updates, preventing scattered subscription logic.Async Subscriptions: Prefer using Vue's lifecycle hooks and the Composition API to manage subscriptions. Clean up subscriptions when components unmount or no longer need the data.Optimize Queries and Indexes: Only query the data you need, and define indexes to speed up lookups.Test Offline Scenarios: Make sure your offline logic works as expected by simulating network disconnections and reconnections.Plan Conflict Resolution: For multi-user apps, decide how to merge concurrent changes to prevent data inconsistencies. ","version":"Next","tagName":"h2"},{"title":"Follow Up","type":1,"pageTitle":"RxDB as a Database in a Vue Application","url":"/articles/vue-database.html#follow-up","content":" To explore more about RxDB and leverage its capabilities for browser database development, check out the following resources: RxDB GitHub Repository: Visit the official GitHub repository of RxDB to access the source code, documentation, and community support.RxDB Quickstart: Get started quickly with RxDB by following the provided quickstart guide, which offers step-by-step instructions for setting up and using RxDB in your projects.RxDB Reactivity for Vue: Discover how RxDB observables can directly produce Vue refs, simplifying integration with your Vue components.RxDB Vue Example at GitHub: Explore an official Vue example to see RxDB in action within a Vue application.RxDB Examples: Browse even more official examples to learn best practices you can apply to your own projects. ","version":"Next","tagName":"h2"},{"title":"IndexedDB Database in Vue Apps - The Power of RxDB","type":0,"sectionRef":"#","url":"/articles/vue-indexeddb.html","content":"","keywords":"","version":"Next"},{"title":"What is IndexedDB?","type":1,"pageTitle":"IndexedDB Database in Vue Apps - The Power of RxDB","url":"/articles/vue-indexeddb.html#what-is-indexeddb","content":" IndexedDB is a low-level API for storing significant amounts of structured data in the browser. It provides a transactional database system that can store key-value pairs, complex objects, and more. This storage engine is asynchronous and supports advanced data types, making it suitable for offline storage and complex web applications. ","version":"Next","tagName":"h2"},{"title":"Why Use IndexedDB in Vue","type":1,"pageTitle":"IndexedDB Database in Vue Apps - The Power of RxDB","url":"/articles/vue-indexeddb.html#why-use-indexeddb-in-vue","content":" When building Vue applications, IndexedDB can play a crucial role in enhancing both performance and user experience. Here are some reasons to consider using IndexedDB: Offline-First / Local-First: By storing data locally, your application remains functional even without an internet connection.Performance: Using local data means zero latency and no loading spinners, as data doesn't need to be fetched over a network.Easier Implementation: Replicating all data to the client once is often simpler than implementing multiple endpoints for each user interaction.Scalability: Local data reduces server load because queries run on the client side, decreasing server bandwidth and processing requirements. ","version":"Next","tagName":"h2"},{"title":"Why To Not Use Plain IndexedDB","type":1,"pageTitle":"IndexedDB Database in Vue Apps - The Power of RxDB","url":"/articles/vue-indexeddb.html#why-to-not-use-plain-indexeddb","content":" While IndexedDB itself is powerful, its native API comes with several drawbacks for everyday application developers: Callback-Based API: IndexedDB was originally designed around callbacks rather than modern Promises, making asynchronous code more cumbersome.Complexity: IndexedDB is low-level, intended for library developers rather than for app developers who just want to store and query data easily.Basic Query API: Its rudimentary query capabilities limit how you can efficiently perform complex queries. Libraries like RxDB offer more advanced querying and indexing.TypeScript Support: Ensuring good TypeScript support with IndexedDB is challenging, especially when trying to maintain schema consistency.Lack of Observable API: IndexedDB doesn't provide an observable API out of the box, making it hard to automatically update your Vue app in real time. RxDB solves this by enabling you to observe queries or specific documents.Cross-Tab Communication: Managing cross-tab updates in plain IndexedDB is difficult. RxDB handles this seamlessly - changes in one tab automatically affect observed data in others.Missing Advanced Features: Features like encryption or compression aren't built into IndexedDB, but they are available via RxDB.Limited Platform Support: IndexedDB is browser-only. RxDB offers swappable storages so you can reuse the same data layer code in mobile or desktop environments. ","version":"Next","tagName":"h2"},{"title":"Set up RxDB in Vue","type":1,"pageTitle":"IndexedDB Database in Vue Apps - The Power of RxDB","url":"/articles/vue-indexeddb.html#set-up-rxdb-in-vue","content":" Setting up RxDB with Vue is straightforward. It abstracts IndexedDB complexities and adds a layer of powerful features over it. ","version":"Next","tagName":"h2"},{"title":"Installing RxDB","type":1,"pageTitle":"IndexedDB Database in Vue Apps - The Power of RxDB","url":"/articles/vue-indexeddb.html#installing-rxdb","content":" First, install RxDB (and RxJS) from npm: npm install rxdb rxjs --save ","version":"Next","tagName":"h3"},{"title":"Create a Database and Collections","type":1,"pageTitle":"IndexedDB Database in Vue Apps - The Power of RxDB","url":"/articles/vue-indexeddb.html#create-a-database-and-collections","content":" RxDB provides two main storage options: The free LocalStorage-based storageThe premium plain IndexedDB-based storage, offering faster performance Below is an example of setting up a simple RxDB database using the localstorage-based storage in a Vue app: // db.ts import { createRxDatabase } from 'rxdb'; import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage'; export async function initDB() { const db = await createRxDatabase({ name: 'heroesdb', // the name of the database storage: getRxStorageLocalstorage() }); // Define your schema const heroSchema = { title: 'hero schema', version: 0, description: 'Describes a hero in your app', primaryKey: 'id', type: 'object', properties: { id: { type: 'string', maxLength: 100 }, name: { type: 'string' }, power: { type: 'string' } }, required: ['id', 'name'] }; // add collections await db.addCollections({ heroes: { schema: heroSchema } }); return db; } ","version":"Next","tagName":"h3"},{"title":"CRUD Operations","type":1,"pageTitle":"IndexedDB Database in Vue Apps - The Power of RxDB","url":"/articles/vue-indexeddb.html#crud-operations","content":" Once your database is initialized, you can perform all CRUD operations: // insert await db.heroes.insert({ id: '1', name: 'Iron Man', power: 'Genius-level intellect' }); // bulk insert await db.heroes.bulkInsert([ { id: '2', name: 'Thor', power: 'God of Thunder' }, { id: '3', name: 'Hulk', power: 'Superhuman Strength' } ]); // find and findOne const heroes = await db.heroes.find().exec(); const ironMan = await db.heroes.findOne({ selector: { name: 'Iron Man' } }).exec(); // update const doc = await db.heroes.findOne({ selector: { name: 'Hulk' } }).exec(); await doc.update({ $set: { power: 'Unlimited Strength' } }); // delete const thorDoc = await db.heroes.findOne({ selector: { name: 'Thor' } }).exec(); await thorDoc.remove(); ","version":"Next","tagName":"h3"},{"title":"Reactive Queries and Live Updates","type":1,"pageTitle":"IndexedDB Database in Vue Apps - The Power of RxDB","url":"/articles/vue-indexeddb.html#reactive-queries-and-live-updates","content":" RxDB excels in providing reactive data capabilities, ideal for real-time applications. Subscribing to queries automatically updates your Vue components when underlying data changes - even across browser tabs. ","version":"Next","tagName":"h2"},{"title":"Using RxJS Observables with Vue 3 Composition API","type":1,"pageTitle":"IndexedDB Database in Vue Apps - The Power of RxDB","url":"/articles/vue-indexeddb.html#using-rxjs-observables-with-vue-3-composition-api","content":" Here's an example of a Vue component that subscribes to live data updates: <template> <div> <h2>Hero List</h2> <ul> <li v-for="hero in heroes" :key="hero.id"> <strong>{{ hero.name }}</strong> - {{ hero.power }} </li> </ul> </div> </template> <script setup lang="ts"> import { ref, onMounted } from 'vue'; import { initDB } from '@/db'; const heroes = ref<any[]>([]); onMounted(async () => { const db = await initDB(); // create an observable query const query = db.heroes.find(); // subscribe to the query query.$.subscribe((newHeroes: any[]) => { heroes.value = newHeroes; }); }); </script> This component subscribes to the collection's changes, updating the UI automatically whenever the underlying data changes in any browser tab. ","version":"Next","tagName":"h3"},{"title":"Using Vue Signals","type":1,"pageTitle":"IndexedDB Database in Vue Apps - The Power of RxDB","url":"/articles/vue-indexeddb.html#using-vue-signals","content":" If you're exploring Vue's reactivity transforms or signals, RxDB also offers custom reactivity factories (premium plugins are required). This allows queries to emit data as signals instead of traditional Observables. const heroesSignal = db.heroes.find().$$; // $$ indicates a reactive result With this, in your Vue template or script, you can directly read from heroesSignal() <template> <div> <h2>Hero List</h2> <ul> <!-- we read heroesSignal.value which is always up to date --> <li v-for="hero in heroesSignal.value" :key="hero.id"> <strong>{{ hero.name }}</strong> - {{ hero.power }} </li> </ul> </div> </template> ","version":"Next","tagName":"h3"},{"title":"Vue IndexedDB Example with RxDB","type":1,"pageTitle":"IndexedDB Database in Vue Apps - The Power of RxDB","url":"/articles/vue-indexeddb.html#vue-indexeddb-example-with-rxdb","content":" A comprehensive example of using RxDB within a Vue application can be found in the RxDB GitHub repository. This repository contains sample applications, showcasing best practices and demonstrating how to integrate RxDB for various use cases. ","version":"Next","tagName":"h2"},{"title":"Advanced RxDB Features","type":1,"pageTitle":"IndexedDB Database in Vue Apps - The Power of RxDB","url":"/articles/vue-indexeddb.html#advanced-rxdb-features","content":" RxDB offers many advanced features that extend beyond basic data storage: RxDB Replication: Synchronize local data with remote databases seamlessly. Data Migration: Handle schema changes gracefully with automatic data migrations. Encryption: Secure your data with built-in encryption capabilities. Compression: Optimize storage using key compression. ","version":"Next","tagName":"h2"},{"title":"Limitations of IndexedDB","type":1,"pageTitle":"IndexedDB Database in Vue Apps - The Power of RxDB","url":"/articles/vue-indexeddb.html#limitations-of-indexeddb","content":" While IndexedDB is powerful, it has some inherent limitations: Performance: IndexedDB can be slow under certain conditions. Read more: Slow IndexedDBStorage Limits: Browsers impose limits on how much data can be stored. See: Browser storage limits. ","version":"Next","tagName":"h2"},{"title":"Alternatives to IndexedDB","type":1,"pageTitle":"IndexedDB Database in Vue Apps - The Power of RxDB","url":"/articles/vue-indexeddb.html#alternatives-to-indexeddb","content":" Depending on your application's requirements, there are alternative storage solutions to consider: Origin Private File System (OPFS): A newer API that can offer better performance. RxDB supports OPFS as well. More info: RxDB OPFS StorageSQLite: Ideal for hybrid frameworks or Capacitor, offering native performance. Explore: RxDB SQLite Storage ","version":"Next","tagName":"h2"},{"title":"Performance Comparison with Other Browser Storages","type":1,"pageTitle":"IndexedDB Database in Vue Apps - The Power of RxDB","url":"/articles/vue-indexeddb.html#performance-comparison-with-other-browser-storages","content":" Here is a performance overview of the various browser-based storage implementations of RxDB: ","version":"Next","tagName":"h2"},{"title":"Follow Up","type":1,"pageTitle":"IndexedDB Database in Vue Apps - The Power of RxDB","url":"/articles/vue-indexeddb.html#follow-up","content":" Learn how to use RxDB with the RxDB Quickstart for a guided introduction.Check out the RxDB GitHub repository and leave a star ⭐ if you find it useful. By leveraging RxDB on top of IndexedDB, you can create highly responsive, offline-capable Vue applications without dealing with the low-level complexities of IndexedDB directly. With reactive queries, seamless cross-tab communication, and powerful advanced features, RxDB becomes an invaluable tool in modern web development. ","version":"Next","tagName":"h2"},{"title":"WebSockets vs Server-Sent-Events vs Long-Polling vs WebRTC vs WebTransport","type":0,"sectionRef":"#","url":"/articles/websockets-sse-polling-webrtc-webtransport.html","content":"","keywords":"","version":"Next"},{"title":"What is Long Polling?","type":1,"pageTitle":"WebSockets vs Server-Sent-Events vs Long-Polling vs WebRTC vs WebTransport","url":"/articles/websockets-sse-polling-webrtc-webtransport.html#what-is-long-polling","content":" Long polling was the first "hack" to enable a server-client messaging method that can be used in browsers over HTTP. The technique emulates server push communications with normal XHR requests. Unlike traditional polling, where the client repeatedly requests data from the server at regular intervals, long polling establishes a connection to the server that remains open until new data is available. Once the server has new information, it sends the response to the client, and the connection is closed. Immediately after receiving the server's response, the client initiates a new request, and the process repeats. This method allows for more immediate data updates and reduces unnecessary network traffic and server load. However, it can still introduce delays in communication and is less efficient than other real-time technologies like WebSockets. // long-polling in a JavaScript client function longPoll() { fetch('http://example.com/poll') .then(response => response.json()) .then(data => { console.log("Received data:", data); longPoll(); // Immediately establish a new long polling request }) .catch(error => { /** * Errors can appear in normal conditions when a * connection timeout is reached or when the client goes offline. * On errors we just restart the polling after some delay. */ setTimeout(longPoll, 10000); }); } longPoll(); // Initiate the long polling Implementing long-polling on the client side is pretty simple, as shown in the code above. However on the backend there can be multiple difficulties to ensure the client receives all events and does not miss out updates when the client is currently reconnecting. ","version":"Next","tagName":"h3"},{"title":"What are WebSockets?","type":1,"pageTitle":"WebSockets vs Server-Sent-Events vs Long-Polling vs WebRTC vs WebTransport","url":"/articles/websockets-sse-polling-webrtc-webtransport.html#what-are-websockets","content":" WebSockets provide a full-duplex communication channel over a single, long-lived connection between the client and server. This technology enables browsers and servers to exchange data without the overhead of HTTP request-response cycles, facilitating real-time data transfer for applications like live chat, gaming, or financial trading platforms. WebSockets represent a significant advancement over traditional HTTP by allowing both parties to send data independently once the connection is established, making it ideal for scenarios that require low latency and high-frequency updates. // WebSocket in a JavaScript client const socket = new WebSocket('ws://example.com'); socket.onopen = function(event) { console.log('Connection established'); // Sending a message to the server socket.send('Hello Server!'); }; socket.onmessage = function(event) { console.log('Message from server:', event.data); }; While the basics of the WebSocket API are easy to use it has shown to be rather complex in production. A socket can loose connection and must be re-created accordingly. Especially detecting if a connection is still usable or not, can be very tricky. Mostly you would add a ping-and-pong heartbeat to ensure that the open connection is not closed. This complexity is why most people use a library on top of WebSockets like Socket.IO which handles all these cases and even provides fallbacks to long-polling if required. ","version":"Next","tagName":"h3"},{"title":"What are Server-Sent-Events?","type":1,"pageTitle":"WebSockets vs Server-Sent-Events vs Long-Polling vs WebRTC vs WebTransport","url":"/articles/websockets-sse-polling-webrtc-webtransport.html#what-are-server-sent-events","content":" Server-Sent Events (SSE) provide a standard way to push server updates to the client over HTTP. Unlike WebSockets, SSEs are designed exclusively for one-way communication from server to client, making them ideal for scenarios like live news feeds, sports scores, or any situation where the client needs to be updated in real time without sending data to the server. You can think of Server-Sent-Events as a single HTTP request where the backend does not send the whole body at once, but instead keeps the connection open and trickles the answer by sending a single line each time an event has to be send to the client. Creating a connection for receiving events with SSE is straightforward. On the client side in a browser, you initialize an EventSource instance with the URL of the server-side script that generates the events. Listening for messages involves attaching event handlers directly to the EventSource instance. The API distinguishes between generic message events and named events, allowing for more structured communication. Here's how you can set it up in JavaScript: // Connecting to the server-side event stream const evtSource = new EventSource("https://example.com/events"); // Handling generic message events evtSource.onmessage = event => { console.log('got message: ' + event.data); }; In difference to WebSockets, an EventSource will automatically reconnect on connection loss. On the server side, your script must set the Content-Type header to text/event-stream and format each message according to the SSE specification. This includes specifying event types, data payloads, and optional fields like event ID and retry timing. Here's how you can set up a simple SSE endpoint in a Node.js Express app: import express from 'express'; const app = express(); const PORT = process.env.PORT || 3000; app.get('/events', (req, res) => { res.writeHead(200, { 'Content-Type': 'text/event-stream', 'Cache-Control': 'no-cache', 'Connection': 'keep-alive', }); const sendEvent = (data) => { // all message lines must be prefixed with 'data: ' const formattedData = `data: ${JSON.stringify(data)}\\n\\n`; res.write(formattedData); }; // Send an event every 2 seconds const intervalId = setInterval(() => { const message = { time: new Date().toTimeString(), message: 'Hello from the server!', }; sendEvent(message); }, 2000); // Clean up when the connection is closed req.on('close', () => { clearInterval(intervalId); res.end(); }); }); app.listen(PORT, () => console.log(`Server running on http://localhost:${PORT}`)); ","version":"Next","tagName":"h3"},{"title":"What is the WebTransport API?","type":1,"pageTitle":"WebSockets vs Server-Sent-Events vs Long-Polling vs WebRTC vs WebTransport","url":"/articles/websockets-sse-polling-webrtc-webtransport.html#what-is-the-webtransport-api","content":" WebTransport is a cutting-edge API designed for efficient, low-latency communication between web clients and servers. It leverages the HTTP/3 QUIC protocol to enable a variety of data transfer capabilities, such as sending data over multiple streams, in both reliable and unreliable manners, and even allowing data to be sent out of order. This makes WebTransport a powerful tool for applications requiring high-performance networking, such as real-time gaming, live streaming, and collaborative platforms. However, it's important to note that WebTransport is currently a working draft and has not yet achieved widespread adoption. As of now (March 2024), WebTransport is in a Working Draft and not widely supported. You cannot yet use WebTransport in the Safari browser and there is also no native support in Node.js. This limits its usability across different platforms and environments. Even when WebTransport will become widely supported, its API is very complex to use and likely it would be something where people build libraries on top of WebTransport, not using it directly in an application's sourcecode. ","version":"Next","tagName":"h3"},{"title":"What is WebRTC?","type":1,"pageTitle":"WebSockets vs Server-Sent-Events vs Long-Polling vs WebRTC vs WebTransport","url":"/articles/websockets-sse-polling-webrtc-webtransport.html#what-is-webrtc","content":" WebRTC (Web Real-Time Communication) is an open-source project and API standard that enables real-time communication (RTC) capabilities directly within web browsers and mobile applications without the need for complex server infrastructure or the installation of additional plugins. It supports peer-to-peer connections for streaming audio, video, and data exchange between browsers. WebRTC is designed to work through NATs and firewalls, utilizing protocols like ICE, STUN, and TURN to establish a connection between peers. While WebRTC is made to be used for client-client interactions, it could also be leveraged for server-client communication where the server just simulated being also a client. This approach only makes sense for niche use cases which is why in the following WebRTC will be ignored as an option. The problem is that for WebRTC to work, you need a signaling-server anyway which would then again run over websockets, SSE or WebTransport. This defeats the purpose of using WebRTC as a replacement for these technologies. ","version":"Next","tagName":"h3"},{"title":"Limitations of the technologies","type":1,"pageTitle":"WebSockets vs Server-Sent-Events vs Long-Polling vs WebRTC vs WebTransport","url":"/articles/websockets-sse-polling-webrtc-webtransport.html#limitations-of-the-technologies","content":" ","version":"Next","tagName":"h2"},{"title":"Sending Data in both directions","type":1,"pageTitle":"WebSockets vs Server-Sent-Events vs Long-Polling vs WebRTC vs WebTransport","url":"/articles/websockets-sse-polling-webrtc-webtransport.html#sending-data-in-both-directions","content":" Only WebSockets and WebTransport allow to send data in both directions so that you can receive server-data and send client-data over the same connection. While it would also be possible with Long-Polling in theory, it is not recommended because sending "new" data to an existing long-polling connection would require to do an additional http-request anyway. So instead of doing that you can send data directly from the client to the server with an additional http-request without interrupting the long-polling connection. Server-Sent-Events do not support sending any additional data to the server. You can only do the initial request, and even there you cannot send POST-like data in the http-body by default with the native EventSource API. Instead you have to put all data inside of the url parameters which is considered a bad practice for security because credentials might leak into server logs, proxies and caches. To fix this problem, RxDB for example uses the eventsource polyfill instead of the native EventSource API. This library adds additional functionality like sending custom http headers. Also there is this library from microsoft which allows to send body data and use POST requests instead of GET. ","version":"Next","tagName":"h3"},{"title":"6-Requests per Domain Limit","type":1,"pageTitle":"WebSockets vs Server-Sent-Events vs Long-Polling vs WebRTC vs WebTransport","url":"/articles/websockets-sse-polling-webrtc-webtransport.html#6-requests-per-domain-limit","content":" Most modern browsers allow six connections per domain () which limits the usability of all steady server-to-client messaging methods. The limitation of six connections is even shared across browser tabs so when you open the same page in multiple tabs, they would have to shared the six-connection-pool with each other. This limitation is part of the HTTP/1.1-RFC (which even defines a lower number of only two connections). Quote From RFC 2616 - Section 8.1.4: "Clients that use persistent connections SHOULD limit the number of simultaneous connections that they maintain to a given server. A single-user client SHOULD NOT maintain more than 2 connections with any server or proxy. A proxy SHOULD use up to 2*N connections to another server or proxy, where N is the number of simultaneously active users. These guidelines are intended to improve HTTP response times and avoid congestion." While that policy makes sense to prevent website owners from using their visitors to D-DOS other websites, it can be a big problem when multiple connections are required to handle server-client communication for legitimate use cases. To workaround the limitation you have to use HTTP/2 or HTTP/3 with which the browser will only open a single connection per domain and then use multiplexing to run all data through a single connection. While this gives you a virtually infinity amount of parallel connections, there is a SETTINGS_MAX_CONCURRENT_STREAMS setting which limits the actually connections amount. The default is 100 concurrent streams for most configurations. In theory the connection limit could also be increased by the browser, at least for specific APIs like EventSource, but the issues have been marked as "won't fix" by chromium and firefox. Lower the amount of connections in Browser Apps When you build a browser application, you have to assume that your users will use the app not only once, but in multiple browser tabs in parallel. By default you likely will open one server-stream-connection per tab which is often not necessary at all. Instead you open only a single connection and shared it between tabs, no matter how many tabs are open. RxDB does that with the LeaderElection from the broadcast-channel npm package to only have one stream of replication between server and clients. You can use that package standalone (without RxDB) for any type of application. ","version":"Next","tagName":"h3"},{"title":"Connections are not kept open on mobile apps","type":1,"pageTitle":"WebSockets vs Server-Sent-Events vs Long-Polling vs WebRTC vs WebTransport","url":"/articles/websockets-sse-polling-webrtc-webtransport.html#connections-are-not-kept-open-on-mobile-apps","content":" In the context of mobile applications running on operating systems like Android and iOS, maintaining open connections, such as those used for WebSockets and the others, poses a significant challenge. Mobile operating systems are designed to automatically move applications into the background after a certain period of inactivity, effectively closing any open connections. This behavior is a part of the operating system's resource management strategy to conserve battery and optimize performance. As a result, developers often rely on mobile push notifications as an efficient and reliable method to send data from servers to clients. Push notifications allow servers to alert the application of new data, prompting an action or update, without the need for a persistent open connection. ","version":"Next","tagName":"h3"},{"title":"Proxies and Firewalls","type":1,"pageTitle":"WebSockets vs Server-Sent-Events vs Long-Polling vs WebRTC vs WebTransport","url":"/articles/websockets-sse-polling-webrtc-webtransport.html#proxies-and-firewalls","content":" From consulting many RxDB users, it was shown that in enterprise environments (aka "at work") it is often hard to implement a WebSocket server into the infrastructure because many proxies and firewalls block non-HTTP connections. Therefore using the Server-Sent-Events provides and easier way of enterprise integration. Also long-polling uses only plain HTTP-requests and might be an option. ","version":"Next","tagName":"h3"},{"title":"Performance Comparison","type":1,"pageTitle":"WebSockets vs Server-Sent-Events vs Long-Polling vs WebRTC vs WebTransport","url":"/articles/websockets-sse-polling-webrtc-webtransport.html#performance-comparison","content":" Comparing the performance of WebSockets, Server-Sent Events (SSE), Long-Polling and WebTransport directly involves evaluating key aspects such as latency, throughput, server load, and scalability under various conditions. First lets look at the raw numbers. A good performance comparison can be found in this repo which tests the messages times in a Go Lang server implementation. Here we can see that the performance of WebSockets, WebRTC and WebTransport are comparable: note Remember that WebTransport is a pretty new technology based on the also new HTTP/3 protocol. In the future (after March 2024) there might be more performance optimizations. Also WebTransport is optimized to use less power which metric is not tested. Lets also compare the Latency, the throughput and the scalability: ","version":"Next","tagName":"h2"},{"title":"Latency","type":1,"pageTitle":"WebSockets vs Server-Sent-Events vs Long-Polling vs WebRTC vs WebTransport","url":"/articles/websockets-sse-polling-webrtc-webtransport.html#latency","content":" WebSockets: Offers the lowest latency due to its full-duplex communication over a single, persistent connection. Ideal for real-time applications where immediate data exchange is critical.Server-Sent Events: Also provides low latency for server-to-client communication but cannot natively send messages back to the server without additional HTTP requests.Long-Polling: Incurs higher latency as it relies on establishing new HTTP connections for each data transmission, making it less efficient for real-time updates. Also it can occur that the server wants to send an event when the client is still in the process of opening a new connection. In these cases the latency would be significantly larger.WebTransport: Promises to offer low latency similar to WebSockets, with the added benefits of leveraging the HTTP/3 protocol for more efficient multiplexing and congestion control. ","version":"Next","tagName":"h3"},{"title":"Throughput","type":1,"pageTitle":"WebSockets vs Server-Sent-Events vs Long-Polling vs WebRTC vs WebTransport","url":"/articles/websockets-sse-polling-webrtc-webtransport.html#throughput","content":" WebSockets: Capable of high throughput due to its persistent connection, but throughput can suffer from backpressure where the client cannot process data as fast as the server is capable of sending it.Server-Sent Events: Efficient for broadcasting messages to many clients with less overhead than WebSockets, leading to potentially higher throughput for unidirectional server-to-client communication.Long-Polling: Generally offers lower throughput due to the overhead of frequently opening and closing connections, which consumes more server resources.WebTransport: Expected to support high throughput for both unidirectional and bidirectional streams within a single connection, outperforming WebSockets in scenarios requiring multiple streams. ","version":"Next","tagName":"h3"},{"title":"Scalability and Server Load","type":1,"pageTitle":"WebSockets vs Server-Sent-Events vs Long-Polling vs WebRTC vs WebTransport","url":"/articles/websockets-sse-polling-webrtc-webtransport.html#scalability-and-server-load","content":" WebSockets: Maintaining a large number of WebSocket connections can significantly increase server load, potentially affecting scalability for applications with many users.Server-Sent Events: More scalable for scenarios that primarily require updates from server to client, as it uses less connection overhead than WebSockets because it uses "normal" HTTP request without things like protocol updates that have to be run with WebSockets.Long-Polling: The least scalable due to the high server load generated by frequent connection establishment, making it suitable only as a fallback mechanism.WebTransport: Designed to be highly scalable, benefiting from HTTP/3's efficiency in handling connections and streams, potentially reducing server load compared to WebSockets and SSE. ","version":"Next","tagName":"h3"},{"title":"Recommendations and Use-Case Suitability","type":1,"pageTitle":"WebSockets vs Server-Sent-Events vs Long-Polling vs WebRTC vs WebTransport","url":"/articles/websockets-sse-polling-webrtc-webtransport.html#recommendations-and-use-case-suitability","content":" In the landscape of server-client communication technologies, each has its distinct advantages and use case suitability. Server-Sent Events (SSE) emerge as the most straightforward option to implement, leveraging the same HTTP/S protocols as traditional web requests, thereby circumventing corporate firewall restrictions and other technical problems that can appear with other protocols. They are easily integrated into Node.js and other server frameworks, making them an ideal choice for applications requiring frequent server-to-client updates, such as news feeds, stock tickers, and live event streaming. On the other hand, WebSockets excel in scenarios demanding ongoing, two-way communication. Their ability to support continuous interaction makes them the prime choice for browser games, chat applications, and live sports updates. However, WebTransport, despite its potential, faces adoption challenges. It is not widely supported by server frameworks including Node.js and lacks compatibility with safari. Moreover, its reliance on HTTP/3 further limits its immediate applicability because many WebServers like nginx only have experimental HTTP/3 support. While promising for future applications with its support for both reliable and unreliable data transmission, WebTransport is not yet a viable option for most use cases. Long-Polling, once a common technique, is now largely outdated due to its inefficiency and the high overhead of repeatedly establishing new HTTP connections. Although it may serve as a fallback in environments lacking support for WebSockets or SSE, its use is generally discouraged due to significant performance limitations. ","version":"Next","tagName":"h2"},{"title":"Known Problems","type":1,"pageTitle":"WebSockets vs Server-Sent-Events vs Long-Polling vs WebRTC vs WebTransport","url":"/articles/websockets-sse-polling-webrtc-webtransport.html#known-problems","content":" For all of the realtime streaming technologies, there are known problems. When you build anything on top of them, keep these in mind. ","version":"Next","tagName":"h2"},{"title":"A client can miss out events when reconnecting","type":1,"pageTitle":"WebSockets vs Server-Sent-Events vs Long-Polling vs WebRTC vs WebTransport","url":"/articles/websockets-sse-polling-webrtc-webtransport.html#a-client-can-miss-out-events-when-reconnecting","content":" When a client is connecting, reconnecting or offline, it can miss out events that happened on the server but could not be streamed to the client. This missed out events are not relevant when the server is streaming the full content each time anyway, like on a live updating stock ticker. But when the backend is made to stream partial results, you have to account for missed out events. Fixing that on the backend scales pretty bad because the backend would have to remember for each client which events have been successfully send already. Instead this should be implemented with client side logic. The RxDB Sync Engine for example uses two modes of operation for that. One is the checkpoint iteration mode where normal http requests are used to iterate over backend data, until the client is in sync again. Then it can switch to event observation mode where updates from the realtime-stream are used to keep the client in sync. Whenever a client disconnects or has any error, the replication shortly switches to checkpoint iteration mode until the client is in sync again. This method accounts for missed out events and ensures that clients can always sync to the exact equal state of the server. ","version":"Next","tagName":"h3"},{"title":"Company firewalls can cause problems","type":1,"pageTitle":"WebSockets vs Server-Sent-Events vs Long-Polling vs WebRTC vs WebTransport","url":"/articles/websockets-sse-polling-webrtc-webtransport.html#company-firewalls-can-cause-problems","content":" There are many known problems with company infrastructure when using any of the streaming technologies. Proxies and firewall can block traffic or unintentionally break requests and responses. Whenever you implement a realtime app in such an infrastructure, make sure you first test out if the technology itself works for you. ","version":"Next","tagName":"h3"},{"title":"Follow Up","type":1,"pageTitle":"WebSockets vs Server-Sent-Events vs Long-Polling vs WebRTC vs WebTransport","url":"/articles/websockets-sse-polling-webrtc-webtransport.html#follow-up","content":" Check out the hackernews discussion of this articleShared/Like my announcement tweetLearn how to use Server-Sent-Events to replicate a client side RxDB database with your backend.Learn how to use RxDB with the RxDB QuickstartCheck out the RxDB github repo and leave a star ⭐ ","version":"Next","tagName":"h2"},{"title":"Zero Latency Local First Apps with RxDB – Sync, Encryption and Compression","type":0,"sectionRef":"#","url":"/articles/zero-latency-local-first.html","content":"","keywords":"","version":"Next"},{"title":"Why Zero Latency with a Local First Approach?","type":1,"pageTitle":"Zero Latency Local First Apps with RxDB – Sync, Encryption and Compression","url":"/articles/zero-latency-local-first.html#why-zero-latency-with-a-local-first-approach","content":" In a traditional architecture, each user action triggers requests to a server for reads or writes. Despite network optimizations, unavoidable latencies can delay responses and disrupt the user flow. By contrast, a local first model maintains data in the client's environment (browser, mobile, desktop), drastically reducing user-perceived delays. Once the user re-connects or resumes activity online, changes propagate automatically to the server, eliminating manual synchronization overhead. Instant Responsiveness: Because user actions (queries, updates, etc.) happen against a local datastore, UI updates do not wait on round-trip times.Offline Operation: Apps can continue to read and write data, even when there is zero connectivity.Reduced Backend Load: Instead of flooding the server with small requests, replication can combine and push or pull changes in batches.Simplified Caching: Instead of implementing multi-layer caching, local first transforms your data layer into a reliable, quickly accessible store for all user actions. ","version":"Next","tagName":"h2"},{"title":"RxDB: Your Key to Zero-Latency Local First Apps","type":1,"pageTitle":"Zero Latency Local First Apps with RxDB – Sync, Encryption and Compression","url":"/articles/zero-latency-local-first.html#rxdb-your-key-to-zero-latency-local-first-apps","content":" RxDB is a JavaScript-based NoSQL database designed for offline-first and real-time replication scenarios. It supports a range of environments - browsers (IndexedDB or OPFS), mobile (Ionic, React Native), Electron, Node.js - and is built around: Reactive Queries that trigger UI updates upon data changesSchema-based NoSQL Documents for flexible but robust data modelsAdvanced Sync Engine: to synchronize with diverse backendsEncryption for secure data at restCompression to reduce local and network overhead ","version":"Next","tagName":"h2"},{"title":"Real-Time Sync and Offline-First","type":1,"pageTitle":"Zero Latency Local First Apps with RxDB – Sync, Encryption and Compression","url":"/articles/zero-latency-local-first.html#real-time-sync-and-offline-first","content":" RxDB's replication logic revolves around pulling down remote changes and pushing up local modifications. It maintains a checkpoint-based mechanism, so only new or updated documents flow between the client and server, reducing bandwidth usage and latency. This ensures: Live Data: Queries automatically reflect server-side changes once they arrive locally.Background Updates: No manual polling needed; replication streams or intervals handle synchronization.Conflict Handling (see below) ensures data merges gracefully when multiple clients edit the same document offline. Multiple Replication Plugins and Approaches RxDB's flexible replication system lets you connect to different backends or even peer-to-peer networks. There are official plugins for CouchDB, Firestore, GraphQL, WebRTC, and more. Many developers create a custom HTTP replication to work with their existing REST-based backend, ensuring a painless integration that doesn't require adopting an entirely new server infrastructure. Example Setup of a local database import { createRxDatabase } from 'rxdb/plugins/core'; import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage'; async function initZeroLocalDB() { // Create a local RxDB instance using localstorage-based storage const db = await createRxDatabase({ name: 'myZeroLocalDB', storage: getRxStorageLocalstorage(), // optional: password for encryption if needed }); // Define one or more collections await db.addCollections({ tasks: { schema: { title: 'task schema', version: 0, type: 'object', primaryKey: 'id', properties: { id: { type: 'string', maxLength: 100 }, title: { type: 'string' }, done: { type: 'boolean' } } } } }); // Reactive query - automatically updates on local or remote changes db.tasks .find() .$ // returns an RxJS Observable .subscribe(allTasks => { console.log('All tasks updated:', allTasks); }); return db; } When offline, reads and writes to db.tasks happen locally with near-zero delay. Once connectivity resumes, changes sync to the server automatically (if replication is configured). Example Setup of the replication import { replicateRxCollection } from 'rxdb/plugins/replication'; async function syncLocalTasks(db) { replicateRxCollection({ collection: db.tasks, replicationIdentifier: 'sync-tasks', // Define how to pull server documents and push local documents pull: { handler: async (lastCheckpoint, batchSize) => { // logic to retrieve updated tasks from the server since lastCheckpoint }, }, push: { handler: async (docs) => { // logic to post local changes to the server }, }, live: true, // continuously replicate retryTime: 5000, // retry on errors or disconnections }); } This replication seamlessly merges server-side and client-side changes. Your app remains responsive throughout, regardless of the network status. ","version":"Next","tagName":"h3"},{"title":"Things you should also know about","type":1,"pageTitle":"Zero Latency Local First Apps with RxDB – Sync, Encryption and Compression","url":"/articles/zero-latency-local-first.html#things-you-should-also-know-about","content":" ","version":"Next","tagName":"h2"},{"title":"Optimistic UI on Local Data Changes","type":1,"pageTitle":"Zero Latency Local First Apps with RxDB – Sync, Encryption and Compression","url":"/articles/zero-latency-local-first.html#optimistic-ui-on-local-data-changes","content":" A local first approach, especially with RxDB, naturally supports an optimistic UI pattern. Because writes occur on the client, you can instantly reflect changes in the interface as soon as the user performs an action - no need to wait for server confirmation. For example, when a user updates a task document to done: true, the UI can re-render immediately with that new state. This even works across multiple browser tabs. If a server conflict arises later during replication, RxDB's conflict handling logic determines which changes to keep, and the UI can be updated accordingly. This is far more efficient than blocking the user or displaying a spinner while the backend processes the request. ","version":"Next","tagName":"h3"},{"title":"Conflict Handling","type":1,"pageTitle":"Zero Latency Local First Apps with RxDB – Sync, Encryption and Compression","url":"/articles/zero-latency-local-first.html#conflict-handling","content":" In local first models, conflicts emerge if multiple devices or clients edit the same document while offline. RxDB tracks document revisions so you can detect collisions and merge them effectively. By default, RxDB uses a last-write-wins approach, but developers can override it with a custom conflict handler. This provides fine-grained control - like merging partial fields, storing revision histories, or prompting users for resolution. Proper conflict handling keeps distributed data consistent across your entire system. ","version":"Next","tagName":"h3"},{"title":"Schema Migrations","type":1,"pageTitle":"Zero Latency Local First Apps with RxDB – Sync, Encryption and Compression","url":"/articles/zero-latency-local-first.html#schema-migrations","content":" Over time, apps evolve - new fields, changed field types, or altered indexes. RxDB allows incremental schema migrations so you can upgrade a user's local data from one schema version to another. You might, for instance, rename a property or transform data formats. Once you define your migration strategy, RxDB automatically applies it upon app initialization, ensuring the local database's structure aligns with your latest codebase. ","version":"Next","tagName":"h3"},{"title":"Advanced Features","type":1,"pageTitle":"Zero Latency Local First Apps with RxDB – Sync, Encryption and Compression","url":"/articles/zero-latency-local-first.html#advanced-features","content":" ","version":"Next","tagName":"h2"},{"title":"Setup Encryption","type":1,"pageTitle":"Zero Latency Local First Apps with RxDB – Sync, Encryption and Compression","url":"/articles/zero-latency-local-first.html#setup-encryption","content":" When storing data locally, you may handle user-sensitive information like PII (Personal Identifiable Information) or financial details. RxDB supports on-device encryption to protect fields. For example, you can define: import { wrappedKeyEncryptionCryptoJsStorage } from 'rxdb/plugins/encryption-crypto-js'; const encryptedStorage = wrappedKeyEncryptionCryptoJsStorage({ storage: getRxStorageLocalstorage() }); const db = await createRxDatabase({ name: 'secureDB', storage: encryptedStorage, password: 'myEncryptionPassword' }); await db.addCollections({ secrets: { schema: { title: 'secrets schema', version: 0, type: 'object', primaryKey: 'id', properties: { id: { type: 'string', maxLength: 100 }, secretField: { type: 'string' } }, required: ['id'], encrypted: ['secretField'] // define which fields to encrypt } } }); Then mark fields as encrypted in the schema. This ensures data is unreadable on disk without the correct password. ","version":"Next","tagName":"h3"},{"title":"Setup Compression","type":1,"pageTitle":"Zero Latency Local First Apps with RxDB – Sync, Encryption and Compression","url":"/articles/zero-latency-local-first.html#setup-compression","content":" Local data can expand quickly, especially for large documents or repeated key names. RxDB's key compression feature replaces verbose field names with shorter tokens, decreasing storage usage and speeding up replication. You enable it by adding keyCompression: true to your collection schema: await db.addCollections({ logs: { schema: { title: 'log schema', version: 0, keyCompression: true, type: 'object', primaryKey: 'id', properties: { id: { type: 'string'. maxLength: 100 }, message: { type: 'string' }, timestamp: { type: 'number' } } } } }); ","version":"Next","tagName":"h3"},{"title":"Different RxDB Storages Depending on the Runtime","type":1,"pageTitle":"Zero Latency Local First Apps with RxDB – Sync, Encryption and Compression","url":"/articles/zero-latency-local-first.html#different-rxdb-storages-depending-on-the-runtime","content":" RxDB's storage layer is swappable, so you can pick the optimal adapter for each environment. Some common choices include: IndexedDB in modern browsers (default).OPFS (Origin Private File System) in browsers that support it for potentially better performance.SQLite for mobile or desktop environments via the premium plugin, offering native-like speed on Android, iOS, or Electron.In-Memory for tests or ephemeral data. By choosing a suitable storage layer, you can adapt your zero-latency local first design to any runtime - web, mobile, or server-like contexts in Node.js. ","version":"Next","tagName":"h2"},{"title":"Performance Considerations","type":1,"pageTitle":"Zero Latency Local First Apps with RxDB – Sync, Encryption and Compression","url":"/articles/zero-latency-local-first.html#performance-considerations","content":" Performant local data operations are crucial for a zero-latency experience. According to the RxDB storage performance overview, differences in underlying storages can significantly impact throughput and latency. For instance, IndexedDB typically performs well across modern browsers, OPFS offers improved throughput in supporting browsers, and SQLite storage (a premium plugin) often delivers near-native speed for mobile or desktop. ","version":"Next","tagName":"h2"},{"title":"Offloading Work from the Main Thread","type":1,"pageTitle":"Zero Latency Local First Apps with RxDB – Sync, Encryption and Compression","url":"/articles/zero-latency-local-first.html#offloading-work-from-the-main-thread","content":" In a browser environment, you can move database operations into a Web Worker using the Worker RxStorage plugin. This approach lets you keep heavy data processing off the main thread, ensuring the UI remains smooth and responsive. Complex queries or large write operations no longer cause stuttering in the user interface. ","version":"Next","tagName":"h3"},{"title":"Sharding or Memory-Mapped Storages","type":1,"pageTitle":"Zero Latency Local First Apps with RxDB – Sync, Encryption and Compression","url":"/articles/zero-latency-local-first.html#sharding-or-memory-mapped-storages","content":" For large datasets or high concurrency, advanced techniques like sharding collections across multiple storages or leveraging a memory-mapped variant can further boost performance. By splitting data into smaller subsets or streaming it only as needed, you can scale to handle complex usage scenarios without compromising on the zero-latency user experience. ","version":"Next","tagName":"h3"},{"title":"Follow Up","type":1,"pageTitle":"Zero Latency Local First Apps with RxDB – Sync, Encryption and Compression","url":"/articles/zero-latency-local-first.html#follow-up","content":" Dive into the RxDB Quickstart to set up your own local first database.Explore Replication Plugins for syncing with platforms like CouchDB, Firestore, or GraphQL.Check out Advanced Conflict Handling and Performance Tuning for big data sets or complex multi-user interactions.Join the RxDB Community on GitHub and Discord to share insights, file issues, and learn from other developers building zero-latency solutions. By integrating RxDB into your stack, you achieve millisecond interactions, full offline capabilities, secure data at rest, and minimal overhead for large or distributed teams. This zero-latency local first architecture is the future of modern software - delivering a fluid, always-available user experience without overcomplicating the developer workflow. ","version":"Next","tagName":"h2"},{"title":"📥 Backup Plugin","type":0,"sectionRef":"#","url":"/backup.html","content":"","keywords":"","version":"Next"},{"title":"Installation","type":1,"pageTitle":"📥 Backup Plugin","url":"/backup.html#installation","content":" import { addRxPlugin } from 'rxdb'; import { RxDBBackupPlugin } from 'rxdb/plugins/backup'; addRxPlugin(RxDBBackupPlugin); ","version":"Next","tagName":"h2"},{"title":"one-time backup","type":1,"pageTitle":"📥 Backup Plugin","url":"/backup.html#one-time-backup","content":" Write the whole database to the filesystem once. When called multiple times, it will continue from the last checkpoint and not start all over again. const backupOptions = { // if false, a one-time backup will be written live: false, // the folder where the backup will be stored directory: '/my-backup-folder/', // if true, attachments will also be saved attachments: true } const backupState = myDatabase.backup(backupOptions); await backupState.awaitInitialBackup(); // call again to run from the last checkpoint const backupState2 = myDatabase.backup(backupOptions); await backupState2.awaitInitialBackup(); ","version":"Next","tagName":"h2"},{"title":"live backup","type":1,"pageTitle":"📥 Backup Plugin","url":"/backup.html#live-backup","content":" When live: true is set, the backup will write all ongoing changes to the backup directory. const backupOptions = { // set live: true to have an ongoing backup live: true, directory: '/my-backup-folder/', attachments: true } const backupState = myDatabase.backup(backupOptions); // you can still await the initial backup write, but further changes will still be processed. await backupState.awaitInitialBackup(); ","version":"Next","tagName":"h2"},{"title":"writeEvents$","type":1,"pageTitle":"📥 Backup Plugin","url":"/backup.html#writeevents","content":" You can listen to the writeEvents$ Observable to get notified about written backup files. const backupOptions = { live: false, directory: '/my-backup-folder/', attachments: true } const backupState = myDatabase.backup(backupOptions); const subscription = backupState.writeEvents$.subscribe(writeEvent => console.dir(writeEvent)); /* > { collectionName: 'humans', documentId: 'foobar', files: [ '/my-backup-folder/foobar/document.json' ], deleted: false } */ ","version":"Next","tagName":"h2"},{"title":"Limitations","type":1,"pageTitle":"📥 Backup Plugin","url":"/backup.html#limitations","content":" It is currently not possible to import from a written backup. If you need this functionality, please make a pull request. ","version":"Next","tagName":"h2"},{"title":"🧹 Cleanup","type":0,"sectionRef":"#","url":"/cleanup.html","content":"","keywords":"","version":"Next"},{"title":"Installation","type":1,"pageTitle":"🧹 Cleanup","url":"/cleanup.html#installation","content":" import { addRxPlugin } from 'rxdb'; import { RxDBCleanupPlugin } from 'rxdb/plugins/cleanup'; addRxPlugin(RxDBCleanupPlugin); ","version":"Next","tagName":"h2"},{"title":"Create a database with cleanup options","type":1,"pageTitle":"🧹 Cleanup","url":"/cleanup.html#create-a-database-with-cleanup-options","content":" You can set a specific cleanup policy when a RxDatabase is created. For most use cases, the defaults should be ok. import { createRxDatabase } from 'rxdb'; import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage'; const db = await createRxDatabase({ name: 'heroesdb', storage: getRxStorageLocalstorage(), cleanupPolicy: { /** * The minimum time in milliseconds for how long * a document has to be deleted before it is * purged by the cleanup. * [default=one month] */ minimumDeletedTime: 1000 * 60 * 60 * 24 * 31, // one month, /** * The minimum amount of that that the RxCollection must have existed. * This ensures that at the initial page load, more important * tasks are not slowed down because a cleanup process is running. * [default=60 seconds] */ minimumCollectionAge: 1000 * 60, // 60 seconds /** * After the initial cleanup is done, * a new cleanup is started after [runEach] milliseconds * [default=5 minutes] */ runEach: 1000 * 60 * 5, // 5 minutes /** * If set to true, * RxDB will await all running replications * to not have a replication cycle running. * This ensures we do not remove deleted documents * when they might not have already been replicated. * [default=true] */ awaitReplicationsInSync: true, /** * If true, it will only start the cleanup * when the current instance is also the leader. * This ensures that when RxDB is used in multiInstance mode, * only one instance will start the cleanup. * [default=true] */ waitForLeadership: true } }); ","version":"Next","tagName":"h2"},{"title":"Calling cleanup manually","type":1,"pageTitle":"🧹 Cleanup","url":"/cleanup.html#calling-cleanup-manually","content":" You can manually run a cleanup per collection by calling RxCollection.cleanup(). /** * Manually run the cleanup with the * minimumDeletedTime from the cleanupPolicy. */ await myRxCollection.cleanup(); /** * Overwrite the minimumDeletedTime * be setting it explicitly (time in milliseconds) */ await myRxCollection.cleanup(1000); /** * Purge all deleted documents no * matter when they where deleted * by setting minimumDeletedTime to zero. */ await myRxCollection.cleanup(0); ","version":"Next","tagName":"h2"},{"title":"Using the cleanup plugin to empty a collection","type":1,"pageTitle":"🧹 Cleanup","url":"/cleanup.html#using-the-cleanup-plugin-to-empty-a-collection","content":" When you have a collection with documents and you want to empty it by purging all documents, the recommended way is to call myRxCollection.remove(). However, this will destroy the JavaScript class of the collection and stop all listeners and observables. Sometimes the better option might be to manually delete all documents and then use the cleanup plugin to purge the deleted documents: // delete all documents await myRxCollection.find().remove(); // purge all deleted documents await myRxCollection.cleanup(0); ","version":"Next","tagName":"h2"},{"title":"FAQ","type":1,"pageTitle":"🧹 Cleanup","url":"/cleanup.html#faq","content":" When does the cleanup run The cleanup cycles are optimized to run only when the database is idle and it is unlikely that another database interaction performance will be decreased in the meantime. For example, by default, the cleanup does not run in the first 60 seconds of the creation of a collection to ensure the initial page load of your website does not slow down. Also, we use mechanisms like the requestIdleCallback() API to improve the correct timing of the cleanup cycle. ","version":"Next","tagName":"h2"},{"title":"Capacitor Database - SQLite, RxDB and others","type":0,"sectionRef":"#","url":"/capacitor-database.html","content":"","keywords":"","version":"Next"},{"title":"Database Solutions for Capacitor","type":1,"pageTitle":"Capacitor Database - SQLite, RxDB and others","url":"/capacitor-database.html#database-solutions-for-capacitor","content":" ","version":"Next","tagName":"h2"},{"title":"Preferences API","type":1,"pageTitle":"Capacitor Database - SQLite, RxDB and others","url":"/capacitor-database.html#preferences-api","content":" Capacitor comes with a native Preferences API which is a simple, persistent key->value store for lightweight data, similar to the browsers localstorage or React Native AsyncStorage. To use it, you first have to install it from npm npm install @capacitor/preferences and then you can import it and write/read data. Notice that all calls to the preferences API are asynchronous so they return a Promise that must be await-ed. import { Preferences } from '@capacitor/preferences'; // write await Preferences.set({ key: 'foo', value: 'baar', }); // read const { value } = await Preferences.get({ key: 'foo' }); // > 'bar' // delete await Preferences.remove({ key: 'foo' }); The preferences API is good when only a small amount of data needs to be stored and when no query capabilities besides the key access are required. Complex queries or other features like indexes or replication are not supported which makes the preferences API not suitable for anything more than storing simple data like user settings. ","version":"Next","tagName":"h3"},{"title":"Localstorage/IndexedDB/WebSQL","type":1,"pageTitle":"Capacitor Database - SQLite, RxDB and others","url":"/capacitor-database.html#localstorageindexeddbwebsql","content":" Since Capacitor apps run in a web view, Web APIs like IndexedDB, Localstorage and WebSQL are available. But the default browser behavior is to clean up these storages regularly when they are not in use for a long time or the device is low on space. Therefore you cannot 100% rely on the persistence of the stored data and your application needs to expect that the data will be lost eventually. Storing data in these storages can be done in browsers, because there is no other option. But in Capacitor iOS and Android, you should not rely on these. ","version":"Next","tagName":"h3"},{"title":"SQLite","type":1,"pageTitle":"Capacitor Database - SQLite, RxDB and others","url":"/capacitor-database.html#sqlite","content":" SQLite is a SQL based relational database written in C that was crafted to be embed inside of applications. Operations are written in the SQL query language and SQLite generally follows the PostgreSQL syntax. To use SQLite in Capacitor, there are three options: The @capacitor-community/sqlite packageThe cordova-sqlite-storage packageThe non-free IonicSecure Storage which comes at 999$ per month. It is recommended to use the @capacitor-community/sqlite because it has the best maintenance and is open source. Install it first npm install --save @capacitor-community/sqlite and then set the storage location for iOS apps: { "plugins": { "CapacitorSQLite": { "iosDatabaseLocation": "Library/CapacitorDatabase" } } } Now you can create a database connection and use the SQLite database. import { Capacitor } from '@capacitor/core'; import { CapacitorSQLite, SQLiteDBConnection, SQLiteConnection, capSQLiteSet, capSQLiteChanges, capSQLiteValues, capEchoResult, capSQLiteResult, capNCDatabasePathResult } from '@capacitor-community/sqlite'; const sqlite = new SQLiteConnection(CapacitorSQLite); const database: SQLiteDBConnection = await this.sqlite.createConnection( databaseName, encrypted, mode, version, readOnly ); let { rows } = database.query('SELECT somevalue FROM sometable'); The downside of SQLite is that it is lacking many features that are handful when using a database together with an UI based application like your Capacitor app. For example it is not possible to observe queries or document fields. Also there is no realtime replication feature, you can only import json files. This makes SQLite a good solution when you just want to store data on the client, but when you want to sync data with a server or other clients or create big complex realtime applications, you have to use something else. ","version":"Next","tagName":"h3"},{"title":"RxDB","type":1,"pageTitle":"Capacitor Database - SQLite, RxDB and others","url":"/capacitor-database.html#rxdb","content":" RxDB is an local first, NoSQL database for JavaScript Applications like hybrid apps. Because it is reactive, you can subscribe to all state changes like the result of a query or even a single field of a document. This is great for UI-based realtime applications in a way that makes it easy to develop realtime applications like what you need in Capacitor. Because RxDB is made for Web applications, most of the available RxStorage plugins can be used to store and query data in a Capacitor app. However it is recommended to use the SQLite RxStorage because it stores the data on the filesystem of the device, not in the JavaScript runtime (like IndexedDB). Storing data on the filesystem ensures it is persistent and will not be cleaned up by any process. Also the performance of SQLite is much faster compared to IndexedDB, because SQLite does not have to go through a browsers permission layers. For the SQLite binding you should use the @capacitor-community/sqlite package. Because the SQLite RxStorage is part of the 👑 Premium Plugins which must be purchased, it is recommended to use the LocalStorage RxStorage while testing and prototyping your Capacitor app. To use the SQLite RxStorage in Capacitor you have to install all dependencies via npm install rxdb rxjs rxdb-premium @capacitor-community/sqlite. For iOS apps you should add a database location in your Capacitor settings: { "plugins": { "CapacitorSQLite": { "iosDatabaseLocation": "Library/CapacitorDatabase" } } } Then you can assemble the RxStorage and create a database with it: 1 Import RxDB and SQLite import { createRxDatabase } from 'rxdb/plugins/core'; import { CapacitorSQLite, SQLiteConnection } from '@capacitor-community/sqlite'; import { Capacitor } from '@capacitor/core'; const sqlite = new SQLiteConnection(CapacitorSQLite); 2 Import the RxDB SQLite Storage RxDB Core RxDB Premium 👑 import { getRxStorageSQLiteTrial, getSQLiteBasicsCapacitor } from 'rxdb/plugins/storage-sqlite'; 3 Create a Database with the Storage RxDB Core RxDB Premium 👑 // create database const myRxDatabase = await createRxDatabase({ name: 'exampledb', storage: getRxStorageSQLiteTrial({ sqliteBasics: getSQLiteBasicsCapacitor(sqlite, Capacitor) }) }); 4 Add a Collection // create collections const collections = await myRxDatabase.addCollections({ humans: { schema: { version: 0, type: 'object', primaryKey: 'id', properties: { id: { type: 'string', maxLength: 100 }, name: { type: 'string' }, age: { type: 'number' } }, required: ['id', 'name'] } } }); 5 Insert a Document await collections.humans.insert({id: 'foo', name: 'bar'}); 6 Run a Query const result = await collections.humans.find({ selector: { name: 'bar' } }).exec(); 7 Observe a Query await collections.humans.find({ selector: { name: 'bar' } }).$.subscribe(result => {/* ... */}); ","version":"Next","tagName":"h3"},{"title":"Follow up","type":1,"pageTitle":"Capacitor Database - SQLite, RxDB and others","url":"/capacitor-database.html#follow-up","content":" If you haven't done yet, you should start learning about RxDB with the Quickstart Tutorial.There is a followup list of other client side database alternatives. ","version":"Next","tagName":"h2"},{"title":"Data Migration","type":0,"sectionRef":"#","url":"/data-migration.html","content":"Data Migration This documentation page has been moved to here","keywords":"","version":"Next"},{"title":"Contribution","type":0,"sectionRef":"#","url":"/contribution.html","content":"","keywords":"","version":"Next"},{"title":"Requirements","type":1,"pageTitle":"Contribution","url":"/contribution.html#requirements","content":" Before you can start developing, do the following: Make sure you have installed nodejs with the version stated in the .nvmrcClone the repository git clone https://github.com/pubkey/rxdb.gitInstall the dependencies cd rxdb && npm installMake sure that the tests work for you. At first, try it out with npm run test:node:memory which tests the memory storage in node. In the package.json you can find more scripts to run the tests with different storages. ","version":"Next","tagName":"h2"},{"title":"Adding tests","type":1,"pageTitle":"Contribution","url":"/contribution.html#adding-tests","content":" Before you start creating a bugfix or a feature, you should create a test to reproduce it. Tests are in the test/unit-folder. If you want to reproduce a bug, you can modify the test in this file. ","version":"Next","tagName":"h2"},{"title":"Making a PR","type":1,"pageTitle":"Contribution","url":"/contribution.html#making-a-pr","content":" If you make a pull-request, ensure the following: Every feature or bugfix must be committed together with a unit-test which ensures everything works as expected.Do not commit build-files (anything in the dist-folder)Before you add non-trivial changes, create an issue to discuss if this will be merged and you don't waste your time.To run the unit and integration-tests, do npm run test and ensure everything works as expected ","version":"Next","tagName":"h2"},{"title":"Getting help","type":1,"pageTitle":"Contribution","url":"/contribution.html#getting-help","content":" If you need help with your contribution, ask at discord. ","version":"Next","tagName":"h2"},{"title":"No-Go","type":1,"pageTitle":"Contribution","url":"/contribution.html#no-go","content":" When reporting a bug, you need to make a PR with a test case that runs in the CI and reproduces your problem. Sending a link with a repo does not help the maintainer because installing random peoples projects is time consuming and dangerous. Also the maintainer will never go on a bug hunt based on your plain description. Either you report the bug with a test case, or the maintainer will likely not help you. Docs The source of the documentation is at the docs-src-folder. To read the docs locally, run npm run docs:install && npm run docs:serve and open http://localhost:4000/ Thank you for contributing! ","version":"Next","tagName":"h2"},{"title":"Dev Mode","type":0,"sectionRef":"#","url":"/dev-mode.html","content":"","keywords":"","version":"Next"},{"title":"Usage with Node.js","type":1,"pageTitle":"Dev Mode","url":"/dev-mode.html#usage-with-nodejs","content":" async function createDb() { if (process.env.NODE_ENV !== "production") { await import('rxdb/plugins/dev-mode').then( module => addRxPlugin(module.RxDBDevModePlugin) ); } const db = createRxDatabase( /* ... */ ); } ","version":"Next","tagName":"h2"},{"title":"Usage with Angular","type":1,"pageTitle":"Dev Mode","url":"/dev-mode.html#usage-with-angular","content":" import { isDevMode } from '@angular/core'; async function createDb() { if (isDevMode()){ await import('rxdb/plugins/dev-mode').then( module => addRxPlugin(module.RxDBDevModePlugin) ); } const db = createRxDatabase( /* ... */ ); // ... } ","version":"Next","tagName":"h2"},{"title":"Usage with webpack","type":1,"pageTitle":"Dev Mode","url":"/dev-mode.html#usage-with-webpack","content":" In the webpack.config.js: module.exports = { entry: './src/index.ts', /* ... */ plugins: [ // set a global variable that can be accessed during runtime new webpack.DefinePlugin({ MODE: JSON.stringify("production") }) ] /* ... */ }; In your source code: declare var MODE: 'production' | 'development'; async function createDb() { if (MODE === 'development') { await import('rxdb/plugins/dev-mode').then( module => addRxPlugin(module.RxDBDevModePlugin) ); } const db = createRxDatabase( /* ... */ ); // ... } ","version":"Next","tagName":"h2"},{"title":"Disable the dev-mode warning","type":1,"pageTitle":"Dev Mode","url":"/dev-mode.html#disable-the-dev-mode-warning","content":" When the dev-mode is enabled, it will print a console.warn() message to the console so that you do not accidentally use the dev-mode in production. To disable this warning you can call the disableWarnings() function. import { disableWarnings } from 'rxdb/plugins/dev-mode'; disableWarnings(); ","version":"Next","tagName":"h2"},{"title":"Disable the tracking iframe","type":1,"pageTitle":"Dev Mode","url":"/dev-mode.html#disable-the-tracking-iframe","content":" When used in localhost and in the browser, the dev-mode plugin can add a tracking iframe to the DOM. This is used to track the effectiveness of marketing efforts of RxDB. If you have premium access and want to disable this iframe, you can call setPremiumFlag() before creating the database. import { setPremiumFlag } from 'rxdb-premium/plugins/shared'; setPremiumFlag(); ","version":"Next","tagName":"h2"},{"title":"RxDB CRDT Plugin","type":0,"sectionRef":"#","url":"/crdt.html","content":"","keywords":"","version":"Next"},{"title":"RxDB CRDT operations","type":1,"pageTitle":"RxDB CRDT Plugin","url":"/crdt.html#rxdb-crdt-operations","content":" In RxDB, a CRDT operation is defined with NoSQL update operators, like you might know them from MongoDB update operations or the RxDB update plugin. To run the operators, RxDB uses the mingo library. A CRDT operator example: const myCRDTOperation = { // increment the points field by +1 $inc: { points: 1 }, // set the modified field to true $set: { modified: true } }; ","version":"Next","tagName":"h2"},{"title":"Operators","type":1,"pageTitle":"RxDB CRDT Plugin","url":"/crdt.html#operators","content":" At the moment, not all possible operators are implemented in mingo, if you need additional ones, you should make a pull request there. The following operators can be used at this point in time: $min$max$inc$set$unset$push$addToSet$pop$pullAll$rename For the exact definition on how each operator behaves, check out the MongoDB documentation on update operators. ","version":"Next","tagName":"h3"},{"title":"Installation","type":1,"pageTitle":"RxDB CRDT Plugin","url":"/crdt.html#installation","content":" To use CRDTs with RxDB, you need the following: Add the CRDT plugin via addRxPlugin.Add a field to your schema that defines where to store the CRDT operations via getCRDTSchemaPart()Set the crdt options in your schema.Do NOT set a custom conflict handler, the plugin will use its own one. // import the relevant parts from the CRDT plugin import { getCRDTSchemaPart, RxDBcrdtPlugin } from 'rxdb/plugins/crdt'; // add the CRDT plugin to RxDB import { addRxPlugin } from 'rxdb'; addRxPlugin(RxDBcrdtPlugin); // create a database import { createRxDatabase } from 'rxdb'; import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage'; const myDatabase = await createRxDatabase({ name: 'heroesdb', storage: getRxStorageLocalstorage() }); // create a schema with the CRDT options const mySchema = { version: 0, primaryKey: 'id', type: 'object', properties: { id: { type: 'string', maxLength: 100 }, points: { type: 'number', maximum: 100, minimum: 0 }, crdts: getCRDTSchemaPart() // use this field to store the CRDT operations }, required: ['id', 'points'], crdt: { // CRDT options field: 'crdts' } } // add a collection await db.addCollections({ users: { schema: mySchema } }); // insert a document const myDocument = await db.users.insert({id: 'alice', points: 0}); // run a CRDT operation that increments the 'points' by one await myDocument.updateCRDT({ ifMatch: { $inc: { points: 1 } } }); ","version":"Next","tagName":"h2"},{"title":"Conditional CRDT operations","type":1,"pageTitle":"RxDB CRDT Plugin","url":"/crdt.html#conditional-crdt-operations","content":" By default, all CRDTs operations will be run to build the current document state. But in many cases, more granular operations are required to better reflect the desired business logic. For these cases, conditional CRDTs can be used. For example if you have a field points with a maximum of 100, you might want to only run the $inc operation, if the points value is less than 100. In an conditional CRDT, you can specify a selector and the operation sets ifMatch and ifNotMatch. At each time the CRDT is applied to the document state, first the selector will run and evaluate which operations path must be used. await myDocument.updateCRDT({ // only if the selector matches, the ifMatch operation will run selector: { age: { $lt: 100 } }, // an operation that runs if the selector matches ifMatch: { $inc: { points: 1 } }, // if the selector does NOT match, you could run a different operation instead ifNotMatch: { // ... } }); ","version":"Next","tagName":"h2"},{"title":"Running multiples operations at once","type":1,"pageTitle":"RxDB CRDT Plugin","url":"/crdt.html#running-multiples-operations-at-once","content":" By default, one CRDT operation is applied to the document in a single database write. To represent more complex logic chains, it might make sense to use multiple CRDTs and write them at once inside of a single atomic document write. For these cases, the updateCRDT() method allows to pass an array of operations. await myDocument.updateCRDT([ { selector: { /** ... **/ }, ifMatch: { /** ... **/ } }, { selector: { /** ... **/ }, ifMatch: { /** ... **/ } }, { selector: { /** ... **/ }, ifMatch: { /** ... **/ } }, { selector: { /** ... **/ }, ifMatch: { /** ... **/ } } ]); ","version":"Next","tagName":"h2"},{"title":"CRDTs on inserts","type":1,"pageTitle":"RxDB CRDT Plugin","url":"/crdt.html#crdts-on-inserts","content":" When CRDTs are enabled with the plugin, all insert operations are automatically mapped as CRDT operation with the $set operator. // Calling RxCollection.insert() await myRxCollection.insert({ id: 'foo' points: 1 }); // is exactly equal to calling insertCRDT() await myRxCollection.insertCRDT({ ifMatch: { $set: { id: 'foo' points: 1 } } }); When the same document is inserted in multiple client instances and then replicated, a conflict will emerge and the insert-CRDTs will overwrite each other in a deterministic order. You can use insertCRDT() to make conditional insert operations with any logic. To check for the previous existence of a document, use the $exists query operation on the primary key of the document. await myRxCollection.insertCRDT({ selector: { // only run if the document did not exist before. id: { $exists: false } }, ifMatch: { // if the document did not exist, insert it $set: { id: 'foo' points: 1 } }, ifNotMatch: { // if document existed already, increment the points by +1 $inc: { points: 1 } } }); ","version":"Next","tagName":"h2"},{"title":"Deleting documents","type":1,"pageTitle":"RxDB CRDT Plugin","url":"/crdt.html#deleting-documents","content":" You can delete a document with a CRDT operation by setting _deleted to true. Calling RxDocument.remove() will do exactly the same when CRDTs are activated. await doc.updateCRDT({ ifMatch: { $set: { _deleted: true } } }); // OR await doc.remove(); ","version":"Next","tagName":"h2"},{"title":"CRDTs with replication","type":1,"pageTitle":"RxDB CRDT Plugin","url":"/crdt.html#crdts-with-replication","content":" CRDT operations are stored inside of a special field besides your 'normal' document fields. When replicating document data with the RxDB replication or the CouchDB replication or even any custom replication, the CRDT operations must be replicated together with the document data as if they would be 'normal' a document property. When any instances makes a write to the document, it is required to update the CRDT operations accordingly. For example if your custom backend updates a document, it must also do that by adding a CRDT operation. In dev-mode RxDB will refuse to store any document data where the document properties do not match the result of the CRDT operations. ","version":"Next","tagName":"h2"},{"title":"Why not automerge.js or yjs?","type":1,"pageTitle":"RxDB CRDT Plugin","url":"/crdt.html#why-not-automergejs-or-yjs","content":" There are already CRDT libraries out there that have been considered to be used with RxDB. The biggest ones are automerge and yjs. The decision was made to not use these but instead go for a more NoSQL way of designing the CRDT format because: Users do not have to learn a new syntax but instead can use the NoSQL query operations which they already know to manipulate the JSON data of a document.RxDB is often used to replicate data with any custom backend on an already existing infrastructure. Using NoSQL operators instead of binary data in CRDTs, makes it easy to implement the exact same logic on these backends so that the backend can also do document writes and still be compliant to the RxDB CRDT plugin. So instead of using YJS or Automerge with a database, you can use RxDB with the CRDT plugin to have a more database specific CRDT approach. This gives you additional features for free such as schema validation or data migration. ","version":"Next","tagName":"h2"},{"title":"When to not use CRDTs","type":1,"pageTitle":"RxDB CRDT Plugin","url":"/crdt.html#when-to-not-use-crdts","content":" CRDT can only be use when your business logic allows to represent document changes via static json operators. If you can have cases where user interaction is required to correctly merge conflicting document states, you cannot use CRDTs for that. Also when CRDTs are used, it is no longer allowed to do non-CRDT writes to the document properties. ","version":"Next","tagName":"h2"},{"title":"CRDT Alternative","type":1,"pageTitle":"RxDB CRDT Plugin","url":"/crdt.html#crdt-alternative","content":" While the CRDT plugin can automatically merge concurrent document updates, it is not the only way to resolve conflicts in RxDB. An alternative approach to CRDT is to use RxDB's built-in conflict handling system. Why use conflict handlers instead of CRDT? Conflict handlers offer a simpler and more flexible way to manage data conflicts. Instead of encoding changes as CRDT operations, you define how RxDB should decide which document version "wins" with plain JavaScript code. This approach is easier to reason about because it works directly with your domain logic. For example, you can compare timestamps, prioritize certain fields, or even involve user interaction to resolve conflicts. Conflict handlers are: Easier to understand: you work with plain document states instead of CRDT operations.Fully customizable: you can define any merge strategy, from simple last-write-wins to complex rule-based logic.Compatible with all data types: unlike CRDTs, which are best suited for numeric or set-based updates.Transparent: you always know which state is being written and why. ","version":"Next","tagName":"h2"},{"title":"Downsides of CRDTs","type":1,"pageTitle":"RxDB CRDT Plugin","url":"/crdt.html#downsides-of-crdts","content":" CRDTs are powerful for automatic conflict-free merging, but they also come with trade-offs: Higher conceptual complexity: CRDTs require understanding of operation semantics, version vectors, and merge determinism.Limited flexibility: you can only express changes that fit the supported JSON-style update operators.Difficult debugging: when merges don't behave as expected, it can be hard to trace the sequence of CRDT operations that led to a state.Overhead for simple cases: if your data rarely conflicts or needs human oversight, using CRDTs can add unnecessary complexity. ","version":"Next","tagName":"h3"},{"title":"When to choose conflict handlers","type":1,"pageTitle":"RxDB CRDT Plugin","url":"/crdt.html#when-to-choose-conflict-handlers","content":" Use conflict handlers as CRDT alternative if: You want full control over merge logic.Your data model includes contextual or user-specific decisions.You prefer a straightforward, rule-based resolution system over automatic merges. Use CRDTs if: Your app performs frequent offline writes that can be merged deterministically.Your data can be represented as additive, numeric, or array-based updates.You want minimal manual intervention during replication. Both methods are first-class citizens in RxDB. CRDTs focus on automatic, deterministic merging, while conflict handlers emphasize clarity, flexibility, and control. ","version":"Next","tagName":"h3"},{"title":"Example: merging different fields with conflict handlers instead of CRDT","type":1,"pageTitle":"RxDB CRDT Plugin","url":"/crdt.html#example-merging-different-fields-with-conflict-handlers-instead-of-crdt","content":" For example, imagine two users edit different fields of the same document at the same time. One updates a name, the other updates a score. A custom conflict handler can merge both changes so no data is lost: const mergeFieldsHandler = { isEqual: (a, b) => JSON.stringify(a) === JSON.stringify(b), resolve: (input) => { return { ...input.realMasterState, name: input.newDocumentState.name ?? input.realMasterState.name, score: Math.max(input.newDocumentState.score, input.realMasterState.score) }; } }; In this example, if the two versions change different properties, the final merged document includes both updates. This kind of logic is often easier to reason about than designing equivalent CRDT operations. ","version":"Next","tagName":"h3"},{"title":"Electron Plugin","type":0,"sectionRef":"#","url":"/electron.html","content":"","keywords":"","version":"Next"},{"title":"RxStorage Electron IpcRenderer & IpcMain","type":1,"pageTitle":"Electron Plugin","url":"/electron.html#rxstorage-electron-ipcrenderer--ipcmain","content":" To use RxDB in electron, it is recommended to run the RxStorage in the main process and the RxDatabase in the renderer processes. With the rxdb electron plugin you can create a remote RxStorage and consume it from the renderer process. To do this in a convenient way, the RxDB electron plugin provides the helper functions exposeIpcMainRxStorage and getRxStorageIpcRenderer. Similar to the Worker RxStorage, these wrap any other RxStorage once in the main process and once in each renderer process. In the renderer you can then use the storage to create a RxDatabase which communicates with the storage of the main process to store and query data. note nodeIntegration must be enabled in Electron. // main.js const { exposeIpcMainRxStorage } = require('rxdb/plugins/electron'); const { getRxStorageMemory } = require('rxdb/plugins/storage-memory'); app.on('ready', async function () { exposeIpcMainRxStorage({ key: 'main-storage', storage: getRxStorageMemory(), ipcMain: electron.ipcMain }); }); // renderer.js const { getRxStorageIpcRenderer } = require('rxdb/plugins/electron'); const { getRxStorageMemory } = require('rxdb/plugins/storage-memory'); const db = await createRxDatabase({ name, storage: getRxStorageIpcRenderer({ key: 'main-storage', ipcRenderer: electron.ipcRenderer }) }); /* ... */ ","version":"Next","tagName":"h2"},{"title":"Related","type":1,"pageTitle":"Electron Plugin","url":"/electron.html#related","content":" Comparison of Electron Databases ","version":"Next","tagName":"h2"},{"title":"Downsides of Local First / Offline First","type":0,"sectionRef":"#","url":"/downsides-of-offline-first.html","content":"","keywords":"","version":"Next"},{"title":"It only works with small datasets","type":1,"pageTitle":"Downsides of Local First / Offline First","url":"/downsides-of-offline-first.html#it-only-works-with-small-datasets","content":" Making data available offline means it must be loaded from the server and then stored at the clients device. You need to load the full dataset on the first pageload and on every ongoing load you need to download the new changes to that set. While in theory you could download in infinite amount of data, in practice you have a limit how long the user can wait before having an up-to-date state. You want to display chat messages like Whatsapp? No problem. Syncing all the messages a user could write, can be done with a few HTTP requests. Want to make a tool that displays server logs? Good luck downloading terabytes of data to the client just to search for a single string. This will not work. Besides the network usage, there is another limit for the size of your data. In browsers you have some options for storage: Cookies, Localstorage, WebSQL and IndexedDB. Because Cookies and Localstorage is slow and WebSQL is deprecated, you will use IndexedDB. The limit of how much data you can store in IndexedDB depends on two factors: Which browser is used and how much disc space is left on the device. You can assume that at least a couple of hundred megabytes are available at least. The maximum is potentially hundreds of gigabytes or more, but the browser implementations vary. Chrome allows the browser to use up to 60% of the total disc space per origin. Firefox allows up to 50%. But on safari you can only store up to 1GB and the browser will prompt the user on each additional 200MB increment. The problem is, that you have no chance to really predict how much data can be stored. So you have to make assumptions that are hopefully true for all of your users. Also, you have no way to increase that space like you would add another hard drive to your backend server. Once your clients reach the limit, you likely have to rewrite big parts of your applications. UPDATE (2023): Newer versions of browsers can store way more data, for example firefox stores up to 10% of the total disk size. For an overview about how much can be stored, read this guide ","version":"Next","tagName":"h2"},{"title":"Browser storage is not really persistent","type":1,"pageTitle":"Downsides of Local First / Offline First","url":"/downsides-of-offline-first.html#browser-storage-is-not-really-persistent","content":" When data is stored inside IndexedDB or one of the other storage APIs, it cannot be trusted to stay there forever. Apple for example deletes the data when the website was not used in the last 7 days. The other browsers also have logic to clean up the stored data, and in the end the user itself could be the one that deletes the browsers local data. The most common way to handle this, is to replicate everything from the backend to the client again. Of course, this does not work for state that is not stored at the backend. So if you assume you can store the users private data inside the browser in a secure way, you are wrong. ","version":"Next","tagName":"h2"},{"title":"There can be conflicts","type":1,"pageTitle":"Downsides of Local First / Offline First","url":"/downsides-of-offline-first.html#there-can-be-conflicts","content":" Imagine two of your users modify the same JSON document, while both are offline. After they go online again, their clients replicate the modified document to the server. Now you have two conflicting versions of the same document, and you need a way to determine how the correct new version of that document should look like. This process is called conflict resolution. The default in many offline first databases is a deterministic conflict resolution strategy. Both conflicting versions of the document are kept in the storage and when you query for the document, a winner is determined by comparing the hashes of the document and only the winning document is returned. Because the comparison is deterministic, all clients and servers will always pick the same winner. This kind of resolution only works when it is not that important that one of the document changes gets dropped. Because conflicts are rare, this might be a viable solution for some use cases. A better resolution can be applied by listening to the changestream of the database. The changestream emits an event each time a write happens to the database. The event contains information about the written document and also a flag if there is a conflicting version. For each event with a conflict, you fetch all versions for that document and create a new document that contains the winning state. With that you can implement pretty complex conflict resolution strategies, but you have to manually code it for each collection of documents. Instead of the solving conflict once at every client, it can be made a bit easier by solely relying on the backend. This can be done when all of your clients replicate with the same single backend server. With RxDB's Graphql Replication each client side change is sent to the server where conflicts can be resolved and the winning document can be sent back to the clients. Sometimes there is no way to solve a conflict with code. If your users edit text based documents or images, often only the users themselves can decide how the winning revision has to look. For these cases, you have to implement complex UI parts where the users can inspect the conflict and manage its resolution. You do not have to handle conflicts if they cannot happen in the first place. You can achieve that by designing a write only database where existing documents cannot be touched. Instead of storing the current state in a single document, you store all the events that lead to the current state. Sometimes called the "everything is a delta" strategy, others would call it Event Sourcing. Like an accountant that does not need an eraser, you append all changes and afterwards aggregate the current state at the client. // create one new document for each change to the users balance {id: new Date().toJSON(), change: 100} // balance increased by $100 {id: new Date().toJSON(), change: -50} // balance decreased by $50 {id: new Date().toJSON(), change: 200} // balance increased by $200 There is this thing called conflict-free replicated data type, short CRDT. Using a CRDT library like automerge will magically solve all of your conflict problems. Until you use it in production where you observe that implementing CRDTs has basically the same complexity as implementing conflict resolution strategies. ","version":"Next","tagName":"h2"},{"title":"Realtime is a lie","type":1,"pageTitle":"Downsides of Local First / Offline First","url":"/downsides-of-offline-first.html#realtime-is-a-lie","content":" So you replicate stuff between the clients and your backend. Each change on one side directly changes the state of the other sides in realtime. But this "realtime" is not the same as in realtime computing. In the offline first world, the word realtime was introduced by firebase and is more meant as a marketing slogan than a technical description. There is an internet between your backend and your clients and everything you do on one machine takes at least once the latency until it can affect anything on the other machines. You have to keep this in mind when you develop anything where the timing is important, like a multiplayer game or a stock trading app. Even when you run a query against the local database, there is no "real" realtime. Client side databases run on JavaScript and JavaScript runs on a single CPU that might be partially blocked because the user is running some background processes. So you can never guarantee a response deadline which violates the time constraint of realtime computing. ","version":"Next","tagName":"h2"},{"title":"Eventual consistency","type":1,"pageTitle":"Downsides of Local First / Offline First","url":"/downsides-of-offline-first.html#eventual-consistency","content":" An offline first app does not have a single source of truth. There is a source on the backend, one on the own client, and also each other client has its own definition of truth. At the moment your user starts the app, the local state is hopefully already replicated with the backend and all other clients. But this does not have to be true, the states can have converged and you have to plan for that. The user could update a document based on wrong assumptions because it was not fully replicated at that point in time because the user is offline. A good way to handle this problem is to show the replication state in the UI and tell the user when the replication is running, stopped, paused or finished. And some data is just too important to be "eventual consistent". Create a wire transfer in your online banking app while you are offline. You keep the smartphone laying at your night desk and when you use again in the next morning, it goes online and replicates the transaction. No thank you, do not use offline first for these kinds of things, or at least you have to display the replication state of each document in the UI. ","version":"Next","tagName":"h2"},{"title":"Permissions and authentication","type":1,"pageTitle":"Downsides of Local First / Offline First","url":"/downsides-of-offline-first.html#permissions-and-authentication","content":" Every offline first app that goes beyond a prototype, does likely not have the same global state for all of its users. Each user has a different set of documents that are allowed to be replicated or seen by the user. So you need some kind of authentication and permission handling to divide the documents. The easy way is to just create one database for each user on the backend and only allow to replicate that one. Creating that many databases is not really a problem with for example CouchDB, and it makes permission handling easy. But as soon as you want to query all of your data in the backend, it will bite back. Your data is not at a single place, it is distributed between all of the user specific databases. This becomes even more complex as soon as you store information together with the documents that is not allowed to be seen by outsiders. You not only have to decide which documents to replicate, but also which fields of them. So what you really want is a single datastore in the backend and then replicate only the allowed document parts to each of the users. This always requires you to implement your custom replication endpoint like what you do with RxDBs GraphQL Replication. ","version":"Next","tagName":"h2"},{"title":"You have to migrate the client database","type":1,"pageTitle":"Downsides of Local First / Offline First","url":"/downsides-of-offline-first.html#you-have-to-migrate-the-client-database","content":" While developing your app, sooner or later you want to change the data layout. You want to add some new fields to documents or change the format of them. So you have to update the database schema and also migrate the stored documents. With 'normal' applications, this is already hard enough and often dangerous. You wait until midnight, stop the webserver, make a database backup, deploy the new schema and then you hope that nothing goes wrong while it updates that many documents. With offline first applications, it is even more fun. You do not only have to migrate your local backend database, you also have to provide a migration strategy for all of these client databases out there. And you also cannot migrate everything at the same time. The clients can only migrate when the new code was updated from the appstore or the user visited your website again. This could be today or in a few weeks. ","version":"Next","tagName":"h2"},{"title":"Performance is not native","type":1,"pageTitle":"Downsides of Local First / Offline First","url":"/downsides-of-offline-first.html#performance-is-not-native","content":" When you create a web based offline first app, you cannot store data directly on the users filesystem. In fact there are many layers between your JavaScript code and the filesystem of the operation system. Let's say you insert a document in RxDB: You call the RxDB API to validate and store the dataRxDB calls the underlying RxStorage, for example PouchDB.Pouchdb calls its underlying storage adapterThe storage adapter calls IndexedDBThe browser runs its internal handling of the IndexedDB APIIn most browsers IndexedDB is implemented on top of SQLiteSQLite calls the OS to store the data in the filesystem All these layers are abstractions. They are not build for exactly that one use case, so you lose some performance to tunnel the data through the layer itself, and you also lose some performance because the abstraction does not exactly provide the functions that are needed by the layer above and it will overfetch data. You will not find a benchmark comparison between how many transactions per second you can run on the browser compared to a server based database. Because it makes no sense to compare them. Browsers are slower, JavaScript is slower. Is it fast enough? What you really care about is "Is it fast enough?". For most use cases, the answer is yes. Offline first apps are UI based and you do not need to process a million transactions per second, because your user will not click the save button that often. "Fast enough" means that the data is processed in under 16 milliseconds so that you can render the updated UI in the next frame. This is of course not true for all use cases, so you better think about the performance limit before starting with the implementation. ","version":"Next","tagName":"h2"},{"title":"Nothing is predictable","type":1,"pageTitle":"Downsides of Local First / Offline First","url":"/downsides-of-offline-first.html#nothing-is-predictable","content":" You have a PostgreSQL database and run a query over 1000ths of rows, which takes 200 milliseconds. Works great, so you now want to do something similar at the client device in your offline first app. How long does it take? You cannot know because people have different devices, and even equal devices have different things running in the background that slow the CPUs. So you cannot predict performance and as described above, you cannot even predict the storage limit. So if your app does heavy data analytics, you might better run everything on the backend and just send the results to the client. ","version":"Next","tagName":"h2"},{"title":"There is no relational data","type":1,"pageTitle":"Downsides of Local First / Offline First","url":"/downsides-of-offline-first.html#there-is-no-relational-data","content":" I started creating RxDB many years ago and while still maintaining it, I often worked with all these other offline first databases out there. RxDB and all of these other ones, are based on some kind of document databases similar to NoSQL. Often people want to have a relational database like the SQL one they use at the backend. So why are there no real relations in offline first databases? I could answer with these arguments like how JavaScript works better with document based data, how performance is better when having no joins or even how NoSQL queries are more composable. But the truth is, everything is NoSQL because it makes replication easy. An SQL query that mutates data in different tables based on some selects and joins, cannot be partially replicated without breaking the client. You have foreign keys that point to other rows and if these rows are not replicated yet, you have a problem. To implement a robust Sync Engine for relational data, you need some stuff like a reliable atomic clock and you have to block queries over multiple tables while a transaction replicated. Watch this guy implementing offline first replication on top of SQLite or read this discussion about implementing offline first in supabase. So creating replication for an SQL offline first database is way more work than just adding some network protocols on top of PostgreSQL. It might not even be possible for clients that have no reliable clock. ","version":"Next","tagName":"h2"},{"title":"Electron Database - RxDB with different storage for SQLite, Filesystem and In-Memory","type":0,"sectionRef":"#","url":"/electron-database.html","content":"","keywords":"","version":"Next"},{"title":"Databases for Electron","type":1,"pageTitle":"Electron Database - RxDB with different storage for SQLite, Filesystem and In-Memory","url":"/electron-database.html#databases-for-electron","content":" An Electron runtime can be divided into two parts: The "main" process which is a Node.js JavaScript process that runs without a UI in the background.One or multiple "renderer" processes that consist of a Chrome browser engine and runs the user interface. Each renderer process represents one "browser tab". This is important to understand because choosing the right database depends on your use case and on which of these JavaScript runtimes you want to keep the data. ","version":"Next","tagName":"h2"},{"title":"Server Side Databases in Electron.js","type":1,"pageTitle":"Electron Database - RxDB with different storage for SQLite, Filesystem and In-Memory","url":"/electron-database.html#server-side-databases-in-electronjs","content":" Because Electron runs on a desktop computer, you might think that it should be possible to use a common "server" database like MySQL, PostgreSQL or MongoDB. In theory, you could ship the correct database server binaries with your electron application and start a process on the client's device that exposes a port to the database that can be consumed by Electron. In practice, this is not a viable way to go because shipping the correct binaries and opening ports is way to complicated and troublesome. Instead you should use a database that can be bundled and run inside of Electron, either in the main or in the renderer process. ","version":"Next","tagName":"h3"},{"title":"Localstorage / IndexedDB / WebSQL as alternatives to SQLite in Electron","type":1,"pageTitle":"Electron Database - RxDB with different storage for SQLite, Filesystem and In-Memory","url":"/electron-database.html#localstorage--indexeddb--websql-as-alternatives-to-sqlite-in-electron","content":" Because Electron uses a common Chrome web browser in the renderer process, you can access the common Web Storage APIs like Localstorage, IndexedDB and WebSQL. This is easy to set up and storing small sets of data can be achieved in a short span of time. But as soon as your application goes beyond a simple todo-app, there are multiple obstacles that come in your way. One thing is the bad multi-tab support. If you have more than one renderer process, it becomes hard to manage database writes between them. Each browser tab could modify the database state while the others do not know of the changes and keep an outdated UI. Another thing is performance. IndexedDB is slow, mostly because it has to go through layers of browser security and abstractions. Storing and querying a lot of data might become your performance bottleneck. Localstorage and WebSQL are even slower, by the way. Using these Web Storage APIs is generally only recommended when you know for sure that there will be always only one rendering process and performance is not that relevant. The main reason for that is the security- and abstraction layers that write- and read operations have to go through when using the browsers IndexedDB API. So instead of using IndexedDB in Electron in the renderer process, you should use something that runs in the "main" process in Node.js like the Filesystem RxStorage or the In Memory RxStorage. ","version":"Next","tagName":"h3"},{"title":"RxDB","type":1,"pageTitle":"Electron Database - RxDB with different storage for SQLite, Filesystem and In-Memory","url":"/electron-database.html#rxdb","content":" RxDB is a NoSQL database for JavaScript applications. It has many features that come in handy when RxDB is used with UI based applications like your Electron app. For example, it is able to subscribe to query results of single fields of documents. It has encryption and compression features and most important it has a battle tested Sync Engine that can be used to do a realtime sync with your backend. Because of the flexible storage layer of RxDB, there are many options on how to use it with Electron: The memory RxStorage that stores the data inside of the JavaScript memory without persistenceThe SQLite RxStorageThe IndexedDB RxStorageThe LocalStorage RxStorageThe Dexie.js RxStorageThe Node.js Filesystem It is recommended to use the SQLite RxStorage because it has the best performance and is the easiest to set up. However it is part of the 👑 Premium Plugins which must be purchased, so to try out RxDB with Electron, you might want to use one of the other options. To start with RxDB, I would recommend using the LocalStorage RxStorage in the renderer processes. Because RxDB is able to broadcast the database state between browser tabs, having multiple renderer processes is not a problem like it would be when you use plain IndexedDB without RxDB. In production, you would always run the RxStorage in the main process with the RxStorage Electron IpcRenderer & IpcMain plugins. First, you have to install all dependencies via npm install rxdb rxjs. Then you can assemble the RxStorage and create a database with it: import { createRxDatabase } from 'rxdb'; import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage'; // create database const db = await createRxDatabase({ name: 'exampledb', storage: getRxStorageLocalstorage() }); // create collections const collections = await myRxDatabase.addCollections({ humans: { /* ... */ } }); // insert document await collections.humans.insert({id: 'foo', name: 'bar'}); // run a query const result = await collections.humans.find({ selector: { name: 'bar' } }).exec(); // observe a query await collections.humans.find({ selector: { name: 'bar' } }).$.subscribe(result => {/* ... */}); For better performance in the renderer tab, you can later switch to the IndexedDB RxStorage. But in production, it is recommended to use the SQLite RxStorage or the Filesystem RxStorage in the main process so that database operations do not block the rendering of the UI. To learn more about using RxDB with Electron, you might want to check out this example project. ","version":"Next","tagName":"h3"},{"title":"SQLite in Electron.js without RxDB","type":1,"pageTitle":"Electron Database - RxDB with different storage for SQLite, Filesystem and In-Memory","url":"/electron-database.html#sqlite-in-electronjs-without-rxdb","content":" SQLite is a SQL based relational database written in the C programming language that was crafted to be embedded inside of applications and stores data locally. Operations are written in the SQL query language similar to the PostgreSQL syntax. Using SQLite in Electron is not possible in the renderer process, only in the main process. To communicate data operations between your main and your renderer processes, you have to use either @electron/remote (not recommended) or the ipcRenderer (recommended). So you start up SQLite in your main process and whenever you want to read or write data, you send the SQL queries to the main process and retrieve the result back as JSON data. To install SQLite, use the SQLite3 package which is a native Node.js module. You also need the @electron/rebuild package to rebuild the SQLite module against the currently installed Electron version. Install them with npm install sqlite3 @electron/rebuild. Then you can rebuild SQLite with ./node_modules/.bin/electron-rebuild -f -w sqlite3In the JavaScript code of your main process you can now create a database: const sqlite3 = require('sqlite3'); const db = new sqlite3.Database('/path/to/database/file.db'); // create a table and insert a row db.serialize(() => { db.run("CREATE TABLE Users (name, lastName)"); db.run("INSERT INTO Users VALUES (?, ?)", ['foo', 'bar']); }); Also you have to set up the ipcRenderer so that message from the renderer process are handled: ipcMain.handle('db-query', async (event, sqlQuery) => { return new Promise(res => { db.all(sqlQuery, (err, rows) => { res(rows); }); }); }); In your renderer process, you can now call the ipcHandler and fetch data from SQLite: const rows = await ipcRenderer.invoke('db-query', "SELECT * FROM Users"); The downside of SQLite (or SQL in general) is that it is lacking many features that are handful when using a database together with UI based applications. It is not possible to observe queries or document fields and there is no replication method to sync data with a server. This makes SQLite a good solution when you just want to store data on the client or process expensive SQL queries on the server, but it is not suitable for more complex operations like two-way replication, encryption, compression and so on. Also developer helpers like TypeScript type safety are totally out of reach. ","version":"Next","tagName":"h3"},{"title":"Follow up","type":1,"pageTitle":"Electron Database - RxDB with different storage for SQLite, Filesystem and In-Memory","url":"/electron-database.html#follow-up","content":" Learn how to use RxDB as database in electron with the Quickstart Tutorial.Check out the RxDB Electron exampleThere is a followup list of other client side database alternatives that you can try to use with Electron. ","version":"Next","tagName":"h2"},{"title":"🔒 Encrypted Local Storage with RxDB","type":0,"sectionRef":"#","url":"/encryption.html","content":"","keywords":"","version":"Next"},{"title":"Querying encrypted data","type":1,"pageTitle":"🔒 Encrypted Local Storage with RxDB","url":"/encryption.html#querying-encrypted-data","content":" RxDB handles the encryption and decryption of data internally. This means that when you work with a RxDocument, you can access the properties of the document just like you would with normal, unencrypted data. RxDB automatically decrypts the data for you when you retrieve it, making it transparent to your application code. This means the encryption works with all RxStorage like SQLite, IndexedDB, OPFS and so on. However, there's a limitation when it comes to querying encrypted fields. Encrypted fields cannot be used as operators in queries. This means you cannot perform queries like "find all documents where the encrypted field equals a certain value." RxDB does not expose the encrypted data in a way that allows direct querying based on the encrypted content. To filter or search for documents based on the contents of encrypted fields, you would need to first decrypt the data and then perform the query, which might not be efficient or practical in some cases. You could however use the memory mapped RxStorage to replicate the encrypted documents into a non-encrypted in-memory storage and then query them like normal. ","version":"Next","tagName":"h2"},{"title":"Password handling","type":1,"pageTitle":"🔒 Encrypted Local Storage with RxDB","url":"/encryption.html#password-handling","content":" RxDB does not define how you should store or retrieve the encryption password. It only requires you to provide the password on database creation which grants you flexibility in how you manage encryption passwords. You could ask the user on app-start to insert the password, or you can retrieve the password from your backend on app start (or revoke access by no longer providing the password). ","version":"Next","tagName":"h2"},{"title":"Asymmetric encryption","type":1,"pageTitle":"🔒 Encrypted Local Storage with RxDB","url":"/encryption.html#asymmetric-encryption","content":" The encryption plugin itself uses symmetric encryption with a password to guarantee best performance when reading and storing data. It is not able to do Asymmetric encryption by itself. If you need Asymmetric encryption with a private/publicKey, it is recommended to encrypted the password itself with the asymmetric keys and store the encrypted password beside the other data. On app-start you can decrypt the password with the private key and use the decrypted password in the RxDB encryption plugin ","version":"Next","tagName":"h2"},{"title":"Using the RxDB Encryption Plugins","type":1,"pageTitle":"🔒 Encrypted Local Storage with RxDB","url":"/encryption.html#using-the-rxdb-encryption-plugins","content":" RxDB currently has two plugins for encryption: The free encryption-crypto-js plugin that is based on the AES algorithm of the crypto-js libraryThe 👑 premiumencryption-web-crypto plugin that is based on the native Web Crypto API which makes it faster and more secure to use. Document inserts are about 10x faster compared to crypto-js and it has a smaller build size because it uses the browsers API instead of bundling an npm module. An RxDB encryption plugin is a wrapper around any other RxStorage. 1 Wrap your RxStorage with the encryption import { wrappedKeyEncryptionCryptoJsStorage } from 'rxdb/plugins/encryption-crypto-js'; import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage'; // wrap the normal storage with the encryption plugin const encryptedStorage = wrappedKeyEncryptionCryptoJsStorage({ storage: getRxStorageLocalstorage() }); 2 Create a RxDatabase with the wrapped storage Also you have to set a password when creating the database. The format of the password depends on which encryption plugin is used. import { createRxDatabase } from 'rxdb/plugins/core'; // create an encrypted database const db = await createRxDatabase({ name: 'mydatabase', storage: encryptedStorage, password: 'sudoLetMeIn' }); 3 Create an RxCollection with an encrypted property To define a field as being encrypted, you have to add it to the encrypted fields list in the schema. const schema = { version: 0, primaryKey: 'id', type: 'object', properties: { id: { type: 'string', maxLength: 100 }, secret: { type: 'string' }, }, required: ['id'] encrypted: ['secret'] }; await db.addCollections({ myDocuments: { schema } }) ","version":"Next","tagName":"h2"},{"title":"Using Web-Crypto API","type":1,"pageTitle":"🔒 Encrypted Local Storage with RxDB","url":"/encryption.html#using-web-crypto-api","content":" For professionals, we have the web-crypto👑 premium plugin which is faster and more secure: import { wrappedKeyEncryptionWebCryptoStorage, createPassword } from 'rxdb-premium/plugins/encryption-web-crypto'; import { getRxStorageIndexedDB } from 'rxdb-premium/plugins/storage-indexeddb'; // wrap the normal storage with the encryption plugin const encryptedIndexedDbStorage = wrappedKeyEncryptionWebCryptoStorage({ storage: getRxStorageIndexedDB() }); const myPasswordObject = { // Algorithm can be oneOf: 'AES-CTR' | 'AES-CBC' | 'AES-GCM' algorithm: 'AES-CTR', password: 'myRandomPasswordWithMin8Length' }; // create an encrypted database const db = await createRxDatabase({ name: 'mydatabase', storage: encryptedIndexedDbStorage, password: myPasswordObject }); /* ... */ ","version":"Next","tagName":"h2"},{"title":"Changing the password","type":1,"pageTitle":"🔒 Encrypted Local Storage with RxDB","url":"/encryption.html#changing-the-password","content":" The password is set database specific and it is not possible to change the password of a database. Opening an existing database with a different password will throw an error. To change the password you can either: Use the storage migration plugin to migrate the database state into a new database.Store a randomly created meta-password in a different RxDatabase as a value of a local document. Encrypt the meta password with the actual user password and read it out before creating the actual database. ","version":"Next","tagName":"h2"},{"title":"Encrypted attachments","type":1,"pageTitle":"🔒 Encrypted Local Storage with RxDB","url":"/encryption.html#encrypted-attachments","content":" To store the attachments data encrypted, you have to set encrypted: true in the attachments property of the schema. const mySchema = { version: 0, type: 'object', properties: { /* ... */ }, attachments: { encrypted: true // if true, the attachment-data will be encrypted with the db-password } }; ","version":"Next","tagName":"h2"},{"title":"Encryption and workers","type":1,"pageTitle":"🔒 Encrypted Local Storage with RxDB","url":"/encryption.html#encryption-and-workers","content":" If you are using Worker RxStorage or SharedWorker RxStorage with encryption, it's recommended to run encryption inside of the worker. Encryption can be very cpu intensive and would take away CPU-power from the main thread which is the main reason to use workers. You do not need to worry about setting the password inside of the worker. The password will be set when calling createRxDatabase from the main thread, and will be passed internally to the storage in the worker automatically. ","version":"Next","tagName":"h2"},{"title":"Fulltext Search","type":0,"sectionRef":"#","url":"/fulltext-search.html","content":"","keywords":"","version":"Next"},{"title":"Benefits of using a local fulltext search","type":1,"pageTitle":"Fulltext Search","url":"/fulltext-search.html#benefits-of-using-a-local-fulltext-search","content":" Efficient Search and Indexing The plugin utilizes the FlexSearch library, known for its speed and memory efficiency. This ensures that search operations are performed quickly, even with large datasets. The search engine can handle multi-field queries, partial matching, and complex search operations, providing users with highly relevant results. Local Data Indexing With the plugin, all search operations are performed on the local data stored within the RxDB collections. This means that users can execute fulltext search queries without the need for an external server or database, which is especially beneficial for offline-first applications. The local indexing ensures that search queries are executed quickly, reducing the latency typically associated with remote database queries. Also when used in multiple browser tabs, it is ensured that through Leader Election, only exactly one tabs is doing the work of indexing without having an overhead in the other browser tabs. Real-time Indexing The plugin integrates seamlessly with RxDB's reactive nature. Every time a document is written to an RxCollection, an indexer updates the fulltext search index in real-time. This ensures that search results are always up-to-date, reflecting the most current state of the data without requiring manual reindexing. Persistent indexing The fulltext search index is efficiently persisted within the RxCollection, ensuring that the index remains intact across app restarts. When documents are added or updated in the collection, the index is incrementally updated in real-time, meaning only the changes are processed rather than reindexing the entire dataset. This incremental approach not only optimizes performance but also ensures that subsequent app launches are quick, as there's no need to reindex all the data from scratch, making the search feature both reliable and fast from the moment the app starts. When using an encrypted storage the index itself and incremental updates to it are stored fully encrypted and are only decrypted in-memory. Complex Query Support The FlexSearch-based plugin allows for sophisticated search queries, including multi-term and contextual searches. Users can perform complex searches that go beyond simple keyword matching, enabling more advanced use cases like searching for documents with specific phrases, relevance-based sorting, or even phonetic matching. Offline-First Support and Privacy As RxDB is designed with offline-first applications in mind, the fulltext search plugin supports this paradigm by ensuring that all search operations can be performed offline. This is crucial for applications that need to function in environments with intermittent or no internet connectivity, offering users a consistent and reliable search experience with zero latency. ","version":"Next","tagName":"h2"},{"title":"Using the RxDB Fulltext Search","type":1,"pageTitle":"Fulltext Search","url":"/fulltext-search.html#using-the-rxdb-fulltext-search","content":" The flexsearch search is a RxDB Premium Package 👑 which must be purchased and imported from the rxdb-premium npm package. Step 1: Add the RxDBFlexSearchPlugin to RxDB. import { RxDBFlexSearchPlugin } from 'rxdb-premium/plugins/flexsearch'; import { addRxPlugin } from 'rxdb/plugins/core'; addRxPlugin(RxDBFlexSearchPlugin); Step 2: Create a RxFulltextSearch instance on top of a collection with the addFulltextSearch() function. import { addFulltextSearch } from 'rxdb-premium/plugins/flexsearch'; const flexSearch = await addFulltextSearch({ // unique identifier. Used to store metadata and continue indexing on restarts/reloads. identifier: 'my-search', // The source collection on whose documents the search is based on collection: myRxCollection, /** * Transforms the document data to a given searchable string. * This can be done by returning a single string property of the document * or even by concatenating and transforming multiple fields like: * doc => doc.firstName + ' ' + doc.lastName */ docToString: doc => doc.firstName, /** * (Optional) * Amount of documents to index at once. * See https://rxdb.info/rx-pipeline.html */ batchSize: number; /** * (Optional) * lazy: Initialize the in memory fulltext index at the first search query. * instant: Directly initialize so that the index is already there on the first query. * Default: 'instant' */ initialization: 'instant', /** * (Optional) * @link https://github.com/nextapps-de/flexsearch#index-options */ indexOptions: {}, }); Step 3: Run a search operation: // find all documents whose searchstring contains "foobar" const foundDocuments = await flexSearch.find('foobar'); /** * You can also use search options as second parameter * @link https://github.com/nextapps-de/flexsearch#search-options */ const foundDocuments = await flexSearch.find('foobar', { limit: 10 }); ","version":"Next","tagName":"h2"},{"title":"Install RxDB","type":0,"sectionRef":"#","url":"/install.html","content":"","keywords":"","version":"Next"},{"title":"npm","type":1,"pageTitle":"Install RxDB","url":"/install.html#npm","content":" To install the latest release of rxdb and its dependencies and save it to your package.json, run: npm i rxdb --save ","version":"Next","tagName":"h2"},{"title":"peer-dependency","type":1,"pageTitle":"Install RxDB","url":"/install.html#peer-dependency","content":" You also need to install the peer-dependency rxjs if you have not installed it before. npm i rxjs --save ","version":"Next","tagName":"h2"},{"title":"polyfills","type":1,"pageTitle":"Install RxDB","url":"/install.html#polyfills","content":" RxDB is coded with es8 and transpiled to es5. This means you have to install polyfills to support older browsers. For example you can use the babel-polyfills with: npm i @babel/polyfill --save If you need polyfills, you have to import them in your code. import '@babel/polyfill'; ","version":"Next","tagName":"h2"},{"title":"Polyfill the global variable","type":1,"pageTitle":"Install RxDB","url":"/install.html#polyfill-the-global-variable","content":" When you use RxDB with angular or other webpack based frameworks, you might get the error Uncaught ReferenceError: global is not defined. This is because some dependencies of RxDB assume a Node.js-specific global variable that is not added to browser runtimes by some bundlers. You have to add them by your own, like we do here. (window as any).global = window; (window as any).process = { env: { DEBUG: undefined }, }; ","version":"Next","tagName":"h2"},{"title":"Project Setup and Configuration","type":1,"pageTitle":"Install RxDB","url":"/install.html#project-setup-and-configuration","content":" In the examples folder you can find CI tested projects for different frameworks and use cases, while in the /config folder base configuration files for Webpack, Rollup, Mocha, Karma, Typescript are exposed. Consult package.json for the versions of the packages supported. ","version":"Next","tagName":"h2"},{"title":"Installing the latest RxDB build","type":1,"pageTitle":"Install RxDB","url":"/install.html#installing-the-latest-rxdb-build","content":" If you need the latest development state of RxDB, add it as git-dependency into your package.json. "dependencies": { "rxdb": "git+https://git@github.com/pubkey/rxdb.git#commitHash" } Replace commitHash with the hash of the latest build-commit. ","version":"Next","tagName":"h2"},{"title":"Import","type":1,"pageTitle":"Install RxDB","url":"/install.html#import","content":" To import rxdb, add this to your JavaScript file to import the default bundle that contains the RxDB core: import { createRxDatabase, /* ... */ } from 'rxdb'; ","version":"Next","tagName":"h2"},{"title":"Key Compression","type":0,"sectionRef":"#","url":"/key-compression.html","content":"","keywords":"","version":"Next"},{"title":"Enable key compression","type":1,"pageTitle":"Key Compression","url":"/key-compression.html#enable-key-compression","content":" The key compression plugin is a wrapper around any other RxStorage. 1 Wrap your RxStorage with the key compression plugin import { wrappedKeyCompressionStorage } from 'rxdb/plugins/key-compression'; import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage'; const storageWithKeyCompression = wrappedKeyCompressionStorage({ storage: getRxStorageLocalstorage() }); 2 Create an RxDatabase import { createRxDatabase } from 'rxdb/plugins/core'; const db = await createRxDatabase({ name: 'mydatabase', storage: storageWithKeyCompression }); 3 Create a compressed RxCollection const mySchema = { keyCompression: true, // set this to true, to enable the keyCompression version: 0, primaryKey: 'id', type: 'object', properties: { id: { type: 'string', maxLength: 100 // <- the primary key must have set maxLength } /* ... */ } }; await db.addCollections({ docs: { schema: mySchema } }); ","version":"Next","tagName":"h2"},{"title":"Leader-Election","type":0,"sectionRef":"#","url":"/leader-election.html","content":"","keywords":"","version":"Next"},{"title":"Use-case-example","type":1,"pageTitle":"Leader-Election","url":"/leader-election.html#use-case-example","content":" Imagine we have a website which displays the current temperature of the visitors location in various charts, numbers or heatmaps. To always display the live-data, the website opens a websocket to our API-Server which sends the current temperature every 10 seconds. Using the way most sites are currently build, we can now open it in 5 browser-tabs and it will open 5 websockets which send data 6*5=30 times per minute. This will not only waste the power of your clients device, but also wastes your api-servers resources by opening redundant connections. ","version":"Next","tagName":"h2"},{"title":"Solution","type":1,"pageTitle":"Leader-Election","url":"/leader-election.html#solution","content":" The solution to this redundancy is the usage of a leader-election-algorithm which makes sure that always exactly one tab is managing the remote-data-access. The managing tab is the elected leader and stays leader until it is closed. No matter how many tabs are opened or closed, there must be always exactly one leader. You could now start implementing a messaging-system between your browser-tabs, hand out which one is leader, solve conflicts and reassign a new leader when the old one 'dies'. Or just use RxDB which does all these things for you. ","version":"Next","tagName":"h2"},{"title":"Add the leader election plugin","type":1,"pageTitle":"Leader-Election","url":"/leader-election.html#add-the-leader-election-plugin","content":" To enable the leader election, you have to add the leader-election plugin. import { addRxPlugin } from 'rxdb'; import { RxDBLeaderElectionPlugin } from 'rxdb/plugins/leader-election'; addRxPlugin(RxDBLeaderElectionPlugin); ","version":"Next","tagName":"h2"},{"title":"Code-example","type":1,"pageTitle":"Leader-Election","url":"/leader-election.html#code-example","content":" To make it easy, here is an example where the temperature is pulled every ten seconds and saved to a collection. The pulling starts at the moment where the opened tab becomes the leader. import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage'; const db = await createRxDatabase({ name: 'weatherDB', storage: getRxStorageLocalstorage(), password: 'myPassword', multiInstance: true }); await db.addCollections({ temperature: { schema: mySchema } }); db.waitForLeadership() .then(() => { console.log('Long lives the king!'); // <- runs when db becomes leader setInterval(async () => { const temp = await fetch('https://example.com/api/temp/'); db.temperature.insert({ degrees: temp, time: new Date().getTime() }); }, 1000 * 10); }); ","version":"Next","tagName":"h2"},{"title":"Handle Duplicate Leaders","type":1,"pageTitle":"Leader-Election","url":"/leader-election.html#handle-duplicate-leaders","content":" On rare occasions, it can happen that more than one leader is elected. This can happen when the CPU is on 100% or for any other reason the JavaScript process is fully blocked for a long time. For most cases this is not really problem because on duplicate leaders, both browser tabs replicate with the same backend anyways. To handle the duplicate leader event, you can access the leader elector and set a handler: import { getLeaderElectorByBroadcastChannel } from 'rxdb/plugins/leader-election'; const leaderElector = getLeaderElectorByBroadcastChannel(broadcastChannel); leaderElector.onduplicate = async () => { // Duplicate leader detected -> reload the page. location.reload(); } ","version":"Next","tagName":"h2"},{"title":"Live-Example","type":1,"pageTitle":"Leader-Election","url":"/leader-election.html#live-example","content":" In this example the leader is marked with the crown ♛ ","version":"Next","tagName":"h2"},{"title":"Try it out","type":1,"pageTitle":"Leader-Election","url":"/leader-election.html#try-it-out","content":" Run the angular-example where the leading tab is marked with a crown on the top-right-corner. ","version":"Next","tagName":"h2"},{"title":"Notice","type":1,"pageTitle":"Leader-Election","url":"/leader-election.html#notice","content":" The leader election is implemented via the broadcast-channel module. The leader is elected between different processes on the same javascript-runtime. Like multiple tabs in the same browser or multiple NodeJs-processes on the same machine. It will not run between different replicated instances. ","version":"Next","tagName":"h2"},{"title":"RxDB Logger Plugin","type":0,"sectionRef":"#","url":"/logger.html","content":"","keywords":"","version":"Next"},{"title":"Using the logger plugin","type":1,"pageTitle":"RxDB Logger Plugin","url":"/logger.html#using-the-logger-plugin","content":" The logger is a wrapper that can be wrapped around any RxStorage. Once your storage is wrapped, you can create your database with the wrapped storage and the logging will automatically happen. import { wrappedLoggerStorage } from 'rxdb-premium/plugins/logger'; import { getRxStorageIndexedDB } from 'rxdb-premium/plugins/storage-indexeddb'; // wrap a storage with the logger const loggingStorage = wrappedLoggerStorage({ storage: getRxStorageIndexedDB({}) }); // create your database with the wrapped storage const db = await createRxDatabase({ name: 'mydatabase', storage: loggingStorage }); // create collections etc... ","version":"Next","tagName":"h2"},{"title":"Specify what to be logged","type":1,"pageTitle":"RxDB Logger Plugin","url":"/logger.html#specify-what-to-be-logged","content":" By default, the plugin will log all operations and it will also run a console.time()/console.timeEnd() around each operation. You can specify what to log so that your logs are less noisy. For this you provide a settings object when calling wrappedLoggerStorage(). const loggingStorage = wrappedLoggerStorage({ storage: getRxStorageIndexedDB({}), settings: { // can used to prefix all log strings, default='' prefix: 'my-prefix', /** * Be default, all settings are true. */ // if true, it will log timings with console.time() and console.timeEnd() times: true, // if false, it will not log meta storage instances like used in replication metaStorageInstances: true, // operations bulkWrite: true, findDocumentsById: true, query: true, count: true, info: true, getAttachmentData: true, getChangedDocumentsSince: true, cleanup: true, close: true, remove: true } }); ","version":"Next","tagName":"h2"},{"title":"Using custom logging functions","type":1,"pageTitle":"RxDB Logger Plugin","url":"/logger.html#using-custom-logging-functions","content":" With the logger plugin you can also run custom log functions for all operations. const loggingStorage = wrappedLoggerStorage({ storage: getRxStorageIndexedDB({}), onOperationStart: (operationsName, logId, args) => void, onOperationEnd: (operationsName, logId, args) => void, onOperationError: (operationsName, logId, args, error) => void }); ","version":"Next","tagName":"h2"},{"title":"RxDB Error Messages","type":0,"sectionRef":"#","url":"/errors.html","content":"","keywords":"","version":"Next"},{"title":"All RxDB error messages","type":1,"pageTitle":"RxDB Error Messages","url":"/errors.html#all-rxdb-error-messages","content":" Code: UT1 Given name is no string or empty Search In CodeSearch In IssuesSearch In Chat Code: UT2 Collection- and database-names must match the regex to be compatible with couchdb databases. See https://neighbourhood.ie/blog/2020/10/13/everything-you-need-to-know-about-couchdb-database-names/ info: if your database-name specifies a folder, the name must contain the slash-char '/' or '\\' Search In CodeSearch In IssuesSearch In Chat Code: UT3 Replication-direction must either be push or pull or both. But not none Search In CodeSearch In IssuesSearch In Chat Code: UT4 Given leveldown is no valid adapter Search In CodeSearch In IssuesSearch In Chat Code: UT5 KeyCompression is set to true in the schema but no key-compression handler is used in the storage Search In CodeSearch In IssuesSearch In Chat Code: UT6 Schema contains encrypted fields but no encryption handler is used in the storage Search In CodeSearch In IssuesSearch In Chat Code: UT7 Attachments.compression is enabled but no attachment-compression plugin is used Search In CodeSearch In IssuesSearch In Chat Code: UT8 Crypto.subtle.digest is not available in your runtime. For expo/react-native see https://discord.com/channels/969553741705539624/1341392686267109458/1343639513850843217 Search In CodeSearch In IssuesSearch In Chat Code: PL1 Given plugin is not RxDB plugin. Search In CodeSearch In IssuesSearch In Chat Code: PL3 A plugin with the same name was already added but it was not the exact same JavaScript object Search In CodeSearch In IssuesSearch In Chat Code: P2 BulkWrite() cannot be called with an empty array Search In CodeSearch In IssuesSearch In Chat Code: QU1 RxQuery._execOverDatabase(): op not known Search In CodeSearch In IssuesSearch In Chat Code: QU4 RxQuery.regex(): You cannot use .regex() on the primary field Search In CodeSearch In IssuesSearch In Chat Code: QU5 RxQuery.sort(): does not work because key is not defined in the schema Search In CodeSearch In IssuesSearch In Chat Code: QU6 RxQuery.limit(): cannot be called on .findOne() Search In CodeSearch In IssuesSearch In Chat Code: QU9 ThrowIfMissing can only be used in findOne queries Search In CodeSearch In IssuesSearch In Chat Code: QU10 Result empty and throwIfMissing: true Search In CodeSearch In IssuesSearch In Chat Code: QU11 RxQuery: no valid query params given Search In CodeSearch In IssuesSearch In Chat Code: QU12 Given index is not in schema Search In CodeSearch In IssuesSearch In Chat Code: QU13 A top level field of the query is not included in the schema Search In CodeSearch In IssuesSearch In Chat Code: QU14 Running a count() query in slow mode is now allowed. Either run a count() query with a selector that fully matches an index or set allowSlowCount=true when calling the createRxDatabase Search In CodeSearch In IssuesSearch In Chat Code: QU15 For count queries it is not allowed to use skip or limit Search In CodeSearch In IssuesSearch In Chat Code: QU16 $regex queries must be defined by a string, not an RegExp instance. This is because RegExp objects cannot be JSON stringified and also they are mutable which would be dangerous Search In CodeSearch In IssuesSearch In Chat Code: QU17 Chained queries cannot be used on findByIds() RxQuery instances Search In CodeSearch In IssuesSearch In Chat Code: QU18 Malformed query result data. This likely happens because you create a OPFS-storage RxDatabase inside of a worker but did not set the usesRxDatabaseInWorker setting. https://rxdb.info/rx-storage-opfs.html?console=opfs#setting-usesrxdatabaseinworker-when-a-rxdatabase-is-also-used-inside-of-the-worker Search In CodeSearch In IssuesSearch In Chat Code: QU19 Queries must not contain fields or properties with the value `undefined`: https://github.com/pubkey/rxdb/issues/6792#issuecomment-2624555824 Search In CodeSearch In IssuesSearch In Chat Code: MQ1 Path must be a string or object Search In CodeSearch In IssuesSearch In Chat Code: MQ2 Invalid argument Search In CodeSearch In IssuesSearch In Chat Code: MQ3 Invalid sort() argument. Must be a string, object, or array Search In CodeSearch In IssuesSearch In Chat Code: MQ4 Invalid argument. Expected instanceof mquery or plain object Search In CodeSearch In IssuesSearch In Chat Code: MQ5 Method must be used after where() when called with these arguments Search In CodeSearch In IssuesSearch In Chat Code: MQ6 Can't mix sort syntaxes. Use either array or object | .sort([['field', 1], ['test', -1]]) | .sort({ field: 1, test: -1 }) Search In CodeSearch In IssuesSearch In Chat Code: MQ7 Invalid sort value Search In CodeSearch In IssuesSearch In Chat Code: MQ8 Can't mix sort syntaxes. Use either array or object Search In CodeSearch In IssuesSearch In Chat Code: DB1 RxDocument.prepare(): another instance on this adapter has a different password Search In CodeSearch In IssuesSearch In Chat Code: DB2 RxDatabase.addCollections(): collection-names cannot start with underscore _ Search In CodeSearch In IssuesSearch In Chat Code: DB3 RxDatabase.addCollections(): collection already exists. use myDatabase[collectionName] to get it Search In CodeSearch In IssuesSearch In Chat Code: DB4 RxDatabase.addCollections(): schema is missing Search In CodeSearch In IssuesSearch In Chat Code: DB5 RxDatabase.addCollections(): collection-name not allowed Search In CodeSearch In IssuesSearch In Chat Code: DB6 RxDatabase.addCollections(): another instance created this collection with a different schema. Read thishttps://rxdb.info/rx-schema.html?console=qa#faq Search In CodeSearch In IssuesSearch In Chat Code: DB8 CreateRxDatabase(): A RxDatabase with the same name and adapter already exists. Make sure to use this combination of storage+databaseName only once If you have the duplicate database on purpose to simulate multi-tab behavior in unit tests, set "ignoreDuplicate: true". As alternative you can set "closeDuplicates: true" like if this happens in your react projects with hot reload that reloads the code without reloading the process. Search In CodeSearch In IssuesSearch In Chat Code: DB9 IgnoreDuplicate is only allowed in dev-mode and must never be used in production Search In CodeSearch In IssuesSearch In Chat Code: DB11 CreateRxDatabase(): Invalid db-name, folder-paths must not have an ending slash Search In CodeSearch In IssuesSearch In Chat Code: DB12 RxDatabase.addCollections(): could not write to internal store Search In CodeSearch In IssuesSearch In Chat Code: DB13 CreateRxDatabase(): Invalid db-name or collection name, name contains the dollar sign Search In CodeSearch In IssuesSearch In Chat Code: DB14 No custom reactivity factory added on database creation Search In CodeSearch In IssuesSearch In Chat Code: COL1 RxDocument.insert() You cannot insert an existing document Search In CodeSearch In IssuesSearch In Chat Code: COL2 RxCollection.insert() fieldName ._id can only be used as primaryKey Search In CodeSearch In IssuesSearch In Chat Code: COL3 RxCollection.upsert() does not work without primary Search In CodeSearch In IssuesSearch In Chat Code: COL4 RxCollection.incrementalUpsert() does not work without primary Search In CodeSearch In IssuesSearch In Chat Code: COL5 RxCollection.find() if you want to search by _id, use .findOne(_id) Search In CodeSearch In IssuesSearch In Chat Code: COL6 RxCollection.findOne() needs a queryObject or string. Notice that in RxDB, primary keys must be strings and cannot be numbers. Search In CodeSearch In IssuesSearch In Chat Code: COL7 Hook must be a function Search In CodeSearch In IssuesSearch In Chat Code: COL8 Hooks-when not known Search In CodeSearch In IssuesSearch In Chat Code: COL9 RxCollection.addHook() hook-name not known Search In CodeSearch In IssuesSearch In Chat Code: COL10 RxCollection .postCreate-hooks cannot be async Search In CodeSearch In IssuesSearch In Chat Code: COL11 MigrationStrategies must be an object Search In CodeSearch In IssuesSearch In Chat Code: COL12 A migrationStrategy is missing or too much Search In CodeSearch In IssuesSearch In Chat Code: COL13 MigrationStrategy must be a function Search In CodeSearch In IssuesSearch In Chat Code: COL14 Given static method-name is not a string Search In CodeSearch In IssuesSearch In Chat Code: COL15 Static method-names cannot start with underscore _ Search In CodeSearch In IssuesSearch In Chat Code: COL16 Given static method is not a function Search In CodeSearch In IssuesSearch In Chat Code: COL17 RxCollection.ORM: statics-name not allowed Search In CodeSearch In IssuesSearch In Chat Code: COL18 Collection-method not allowed because fieldname is in the schema Search In CodeSearch In IssuesSearch In Chat Code: COL20 Storage write error Search In CodeSearch In IssuesSearch In Chat Code: COL21 The RxCollection is closed or removed already, either from this JavaScript realm or from another, like a browser tab Search In CodeSearch In IssuesSearch In Chat Code: CONFLICT Document update conflict. When changing a document you must work on the previous revision Search In CodeSearch In IssuesSearch In Chat Code: COL22 .bulkInsert() and .bulkUpsert() cannot be run with multiple documents that have the same primary key Search In CodeSearch In IssuesSearch In Chat Code: COL23 In the open-source version of RxDB, the amount of collections that can exist in parallel is limited to 16. If you already purchased the premium access, you can remove this limit: https://rxdb.info/rx-collection.html?console=limit#faq Search In CodeSearch In IssuesSearch In Chat Code: DOC1 RxDocument.get$ cannot get observable of in-array fields because order cannot be guessed Search In CodeSearch In IssuesSearch In Chat Code: DOC2 Cannot observe primary path Search In CodeSearch In IssuesSearch In Chat Code: DOC3 Final fields cannot be observed Search In CodeSearch In IssuesSearch In Chat Code: DOC4 RxDocument.get$ cannot observe a non-existed field Search In CodeSearch In IssuesSearch In Chat Code: DOC5 RxDocument.populate() cannot populate a non-existed field Search In CodeSearch In IssuesSearch In Chat Code: DOC6 RxDocument.populate() cannot populate because path has no ref Search In CodeSearch In IssuesSearch In Chat Code: DOC7 RxDocument.populate() ref-collection not in database Search In CodeSearch In IssuesSearch In Chat Code: DOC8 RxDocument.set(): primary-key cannot be modified Search In CodeSearch In IssuesSearch In Chat Code: DOC9 Final fields cannot be modified Search In CodeSearch In IssuesSearch In Chat Code: DOC10 RxDocument.set(): cannot set childpath when rootPath not selected Search In CodeSearch In IssuesSearch In Chat Code: DOC11 RxDocument.save(): can't save deleted document Search In CodeSearch In IssuesSearch In Chat Code: DOC13 RxDocument.remove(): Document is already deleted Search In CodeSearch In IssuesSearch In Chat Code: DOC14 RxDocument.close() does not exist Search In CodeSearch In IssuesSearch In Chat Code: DOC15 Query cannot be an array Search In CodeSearch In IssuesSearch In Chat Code: DOC16 Since version 8.0.0 RxDocument.set() can only be called on temporary RxDocuments Search In CodeSearch In IssuesSearch In Chat Code: DOC17 Since version 8.0.0 RxDocument.save() can only be called on non-temporary documents Search In CodeSearch In IssuesSearch In Chat Code: DOC18 Document property for composed primary key is missing Search In CodeSearch In IssuesSearch In Chat Code: DOC19 Value of primary key(s) cannot be changed Search In CodeSearch In IssuesSearch In Chat Code: DOC20 PrimaryKey missing Search In CodeSearch In IssuesSearch In Chat Code: DOC21 PrimaryKey must be equal to PrimaryKey.trim(). It cannot start or end with a whitespace Search In CodeSearch In IssuesSearch In Chat Code: DOC22 PrimaryKey must not contain a linebreak Search In CodeSearch In IssuesSearch In Chat Code: DOC23 PrimaryKey must not contain a double-quote ["] Search In CodeSearch In IssuesSearch In Chat Code: DOC24 Given document data could not be structured cloned. This happens if you pass non-plain-json data into it, like a Date() object or a Function. In vue.js this happens if you use ref() on the document data which transforms it into a Proxy object. Search In CodeSearch In IssuesSearch In Chat Code: DM1 Migrate() Migration has already run Search In CodeSearch In IssuesSearch In Chat Code: DM2 Migration of document failed final document does not match final schema Search In CodeSearch In IssuesSearch In Chat Code: DM3 Migration already running Search In CodeSearch In IssuesSearch In Chat Code: DM4 Migration errored Search In CodeSearch In IssuesSearch In Chat Code: DM5 Cannot open database state with newer RxDB version. You have to migrate your database state first. See https://rxdb.info/migration-storage.html?console=storage Search In CodeSearch In IssuesSearch In Chat Code: AT1 To use attachments, please define this in your schema Search In CodeSearch In IssuesSearch In Chat Code: EN1 Password is not valid Search In CodeSearch In IssuesSearch In Chat Code: EN2 ValidatePassword: min-length of password not complied Search In CodeSearch In IssuesSearch In Chat Code: EN3 Schema contains encrypted properties but no password is given Search In CodeSearch In IssuesSearch In Chat Code: EN4 Password not valid Search In CodeSearch In IssuesSearch In Chat Code: JD1 You must create the collections before you can import their data Search In CodeSearch In IssuesSearch In Chat Code: JD2 RxCollection.importJSON(): the imported json relies on a different schema Search In CodeSearch In IssuesSearch In Chat Code: JD3 RxCollection.importJSON(): json.passwordHash does not match the own Search In CodeSearch In IssuesSearch In Chat Code: LD1 RxDocument.allAttachments$ can't use attachments on local documents Search In CodeSearch In IssuesSearch In Chat Code: LD2 RxDocument.get(): objPath must be a string Search In CodeSearch In IssuesSearch In Chat Code: LD3 RxDocument.get$ cannot get observable of in-array fields because order cannot be guessed Search In CodeSearch In IssuesSearch In Chat Code: LD4 Cannot observe primary path Search In CodeSearch In IssuesSearch In Chat Code: LD5 RxDocument.set() id cannot be modified Search In CodeSearch In IssuesSearch In Chat Code: LD6 LocalDocument: Function is not usable on local documents Search In CodeSearch In IssuesSearch In Chat Code: LD7 Local document already exists Search In CodeSearch In IssuesSearch In Chat Code: LD8 LocalDocuments not activated. Set localDocuments=true on creation, when you want to store local documents on the RxDatabase or RxCollection. Search In CodeSearch In IssuesSearch In Chat Code: RC1 Replication: already added Search In CodeSearch In IssuesSearch In Chat Code: RC2 ReplicateCouchDB() query must be from the same RxCollection Search In CodeSearch In IssuesSearch In Chat Code: RC4 RxCouchDBReplicationState.awaitInitialReplication() cannot await initial replication when live: true Search In CodeSearch In IssuesSearch In Chat Code: RC5 RxCouchDBReplicationState.awaitInitialReplication() cannot await initial replication if multiInstance because the replication might run on another instance Search In CodeSearch In IssuesSearch In Chat Code: RC6 SyncFirestore() serverTimestampField MUST NOT be part of the collections schema and MUST NOT be nested. Search In CodeSearch In IssuesSearch In Chat Code: RC7 SimplePeer requires to have process.nextTick() polyfilled, see https://rxdb.info/replication-webrtc.html?console=webrtc Search In CodeSearch In IssuesSearch In Chat Code: RC_PULL RxReplication pull handler threw an error - see .errors for more details Search In CodeSearch In IssuesSearch In Chat Code: RC_STREAM RxReplication pull stream$ threw an error - see .errors for more details Search In CodeSearch In IssuesSearch In Chat Code: RC_PUSH RxReplication push handler threw an error - see .errors for more details Search In CodeSearch In IssuesSearch In Chat Code: RC_PUSH_NO_AR RxReplication push handler did not return an array with the conflicts Search In CodeSearch In IssuesSearch In Chat Code: RC_WEBRTC_PEER RxReplication WebRTC Peer has error Search In CodeSearch In IssuesSearch In Chat Code: RC_COUCHDB_1 ReplicateCouchDB() url must end with a slash like 'https://example.com/mydatabase/' Search In CodeSearch In IssuesSearch In Chat Code: RC_COUCHDB_2 ReplicateCouchDB() did not get valid result with rows. Search In CodeSearch In IssuesSearch In Chat Code: RC_OUTDATED Outdated client, update required. Replication was canceled Search In CodeSearch In IssuesSearch In Chat Code: RC_UNAUTHORIZED Unauthorized client, update the replicationState.headers to set correct auth data Search In CodeSearch In IssuesSearch In Chat Code: RC_FORBIDDEN Client behaves wrong so the replication was canceled. Mostly happens if the client tries to write data that it is not allowed to Search In CodeSearch In IssuesSearch In Chat Code: SC1 Fieldnames do not match the regex Search In CodeSearch In IssuesSearch In Chat Code: SC2 SchemaCheck: name 'item' reserved for array-fields Search In CodeSearch In IssuesSearch In Chat Code: SC3 SchemaCheck: fieldname has a ref-array but items-type is not string Search In CodeSearch In IssuesSearch In Chat Code: SC4 SchemaCheck: fieldname has a ref but is not type string, [string,null] or array<string> Search In CodeSearch In IssuesSearch In Chat Code: SC6 SchemaCheck: primary can only be defined at top-level Search In CodeSearch In IssuesSearch In Chat Code: SC7 SchemaCheck: default-values can only be defined at top-level Search In CodeSearch In IssuesSearch In Chat Code: SC8 SchemaCheck: first level-fields cannot start with underscore _ Search In CodeSearch In IssuesSearch In Chat Code: SC10 SchemaCheck: schema defines ._rev, this will be done automatically Search In CodeSearch In IssuesSearch In Chat Code: SC11 SchemaCheck: schema needs a number >=0 as version Search In CodeSearch In IssuesSearch In Chat Code: SC13 SchemaCheck: primary is always index, do not declare it as index Search In CodeSearch In IssuesSearch In Chat Code: SC14 SchemaCheck: primary is always unique, do not declare it as index Search In CodeSearch In IssuesSearch In Chat Code: SC15 SchemaCheck: primary cannot be encrypted Search In CodeSearch In IssuesSearch In Chat Code: SC16 SchemaCheck: primary must have type: string Search In CodeSearch In IssuesSearch In Chat Code: SC17 SchemaCheck: top-level fieldname is not allowed. See https://rxdb.info/rx-schema.html?console=toplevel#non-allowed-properties Search In CodeSearch In IssuesSearch In Chat Code: SC18 SchemaCheck: indexes must be an array Search In CodeSearch In IssuesSearch In Chat Code: SC19 SchemaCheck: indexes must contain strings or arrays of strings Search In CodeSearch In IssuesSearch In Chat Code: SC20 SchemaCheck: indexes.array must contain strings Search In CodeSearch In IssuesSearch In Chat Code: SC21 SchemaCheck: given index is not defined in schema Search In CodeSearch In IssuesSearch In Chat Code: SC22 SchemaCheck: given indexKey is not type:string Search In CodeSearch In IssuesSearch In Chat Code: SC23 SchemaCheck: fieldname is not allowed Search In CodeSearch In IssuesSearch In Chat Code: SC24 SchemaCheck: required fields must be set via array. See https://spacetelescope.github.io/understanding-json-schema/reference/object.html#required Search In CodeSearch In IssuesSearch In Chat Code: SC25 SchemaCheck: compoundIndexes needs to be specified in the indexes field Search In CodeSearch In IssuesSearch In Chat Code: SC26 SchemaCheck: indexes needs to be specified at collection schema level Search In CodeSearch In IssuesSearch In Chat Code: SC28 SchemaCheck: encrypted fields is not defined in the schema Search In CodeSearch In IssuesSearch In Chat Code: SC29 SchemaCheck: missing object key 'properties' Search In CodeSearch In IssuesSearch In Chat Code: SC30 SchemaCheck: primaryKey is required Search In CodeSearch In IssuesSearch In Chat Code: SC32 SchemaCheck: primary field must have the type string/number/integer Search In CodeSearch In IssuesSearch In Chat Code: SC33 SchemaCheck: used primary key is not a property in the schema Search In CodeSearch In IssuesSearch In Chat Code: SC34 Fields of type string that are used in an index, must have set the maxLength attribute in the schema Search In CodeSearch In IssuesSearch In Chat Code: SC35 Fields of type number/integer that are used in an index, must have set the multipleOf attribute in the schema Search In CodeSearch In IssuesSearch In Chat Code: SC36 A field of this type cannot be used as index Search In CodeSearch In IssuesSearch In Chat Code: SC37 Fields of type number that are used in an index, must have set the minimum and maximum attribute in the schema Search In CodeSearch In IssuesSearch In Chat Code: SC38 Fields of type boolean that are used in an index, must be required in the schema Search In CodeSearch In IssuesSearch In Chat Code: SC39 The primary key must have the maxLength attribute set. Ensure you use the dev-mode plugin when developing with RxDB. Search In CodeSearch In IssuesSearch In Chat Code: SC40 $ref fields in the schema are not allowed. RxDB cannot resolve related schemas because it would have a negative performance impact.It would have to run http requests on runtime. $ref fields should be resolved during build time. Search In CodeSearch In IssuesSearch In Chat Code: SC41 Minimum, maximum and maxLength values for indexes must be real numbers, not Infinity or -Infinity Search In CodeSearch In IssuesSearch In Chat Code: SC42 Primary key and also indexed fields which are strings, must have a maxLength that is <= 2048. Notice that having a big maxLength can negatively affect the performance. Only set it as big as it has to be. Search In CodeSearch In IssuesSearch In Chat Code: DVM1 When dev-mode is enabled, your storage must use one of the schema validators at the top level. This is because most problems people have with RxDB is because they store data that is not valid to the schema which causes strange bugs and problems. Search In CodeSearch In IssuesSearch In Chat Code: VD1 Sub-schema not found, does the schemaPath exists in your schema? Search In CodeSearch In IssuesSearch In Chat Code: VD2 Object does not match schema Search In CodeSearch In IssuesSearch In Chat Code: S1 You cannot create collections after calling RxDatabase.server() Search In CodeSearch In IssuesSearch In Chat Code: GQL1 GraphQL replication: cannot find sub schema by key Search In CodeSearch In IssuesSearch In Chat Code: GQL3 GraphQL replication: pull returns more documents then batchSize Search In CodeSearch In IssuesSearch In Chat Code: CRDT1 CRDT operations cannot be used because the crdt options are not set in the schema. Search In CodeSearch In IssuesSearch In Chat Code: CRDT2 RxDocument.incrementalModify() cannot be used when CRDTs are activated. Search In CodeSearch In IssuesSearch In Chat Code: CRDT3 To use CRDTs you MUST NOT set a conflictHandler because the default CRDT conflict handler must be used Search In CodeSearch In IssuesSearch In Chat Code: DXE1 Non-required index fields are not possible with the dexie.js RxStorage: https://github.com/pubkey/rxdb/pull/6643#issuecomment-2505310082 Search In CodeSearch In IssuesSearch In Chat Code: SQL1 The trial version of the SQLite storage does not support attachments. Search In CodeSearch In IssuesSearch In Chat Code: SQL2 The trial version of the SQLite storage is limited to contain 300 documents Search In CodeSearch In IssuesSearch In Chat Code: SQL3 The trial version of the SQLite storage is limited to running 500 operations Search In CodeSearch In IssuesSearch In Chat Code: RM1 Cannot communicate with a remote that was build on a different RxDB version. Did you forget to rebuild your workers when updating RxDB? Search In CodeSearch In IssuesSearch In Chat Code: MG1 If _id is used as primaryKey, all documents in the MongoDB instance must have a string-value as _id, not an ObjectId or number Search In CodeSearch In IssuesSearch In Chat Code: R1 You must provide a valid RxDatabase to the the RxDatabaseProvider Search In CodeSearch In IssuesSearch In Chat Code: R2 Could not find database in context, please ensure the component is wrapped in a <RxDatabaseProvider> Search In CodeSearch In IssuesSearch In Chat Code: R3 The provided value for the collection parameter is not a valid RxCollection Search In CodeSearch In IssuesSearch In Chat Code: SNH This should never happen Search In CodeSearch In IssuesSearch In Chat ","version":"Next","tagName":"h2"},{"title":"Migrate Database Data on schema changes","type":0,"sectionRef":"#","url":"/migration-schema.html","content":"","keywords":"","version":"Next"},{"title":"Providing strategies","type":1,"pageTitle":"Migrate Database Data on schema changes","url":"/migration-schema.html#providing-strategies","content":" Upon creation of a collection, you have to provide migrationStrategies when your schema's version-number is greater than 0. To do this, you have to add an object to the migrationStrategies property where a function for every schema-version is assigned. A migrationStrategy is a function which gets the old document-data as a parameter and returns the new, transformed document-data. If the strategy returns null, the document will be removed instead of migrated. myDatabase.addCollections({ messages: { schema: messageSchemaV1, migrationStrategies: { // 1 means, this transforms data from version 0 to version 1 1: function(oldDoc){ oldDoc.time = new Date(oldDoc.time).getTime(); // string to unix return oldDoc; } } } }); Asynchronous strategies can also be used: myDatabase.addCollections({ messages: { schema: messageSchemaV1, migrationStrategies: { 1: function(oldDoc){ oldDoc.time = new Date(oldDoc.time).getTime(); // string to unix return oldDoc; }, /** * 2 means, this transforms data from version 1 to version 2 * this returns a promise which resolves with the new document-data */ 2: function(oldDoc){ // in the new schema (version: 2) we defined 'senderCountry' as required field (string) // so we must get the country of the message-sender from the server const coordinates = oldDoc.coordinates; return fetch('http://myserver.com/api/countryByCoordinates/'+coordinates+'/') .then(response => { const response = response.json(); oldDoc.senderCountry = response; return oldDoc; }); } } } }); you can also filter which documents should be migrated: myDatabase.addCollections({ messages: { schema: messageSchemaV1, migrationStrategies: { // 1 means, this transforms data from version 0 to version 1 1: function(oldDoc){ oldDoc.time = new Date(oldDoc.time).getTime(); // string to unix return oldDoc; }, /** * this removes all documents older then 2017-02-12 * they will not appear in the new collection */ 2: function(oldDoc){ if(oldDoc.time < 1486940585) return null; else return oldDoc; } } } }); ","version":"Next","tagName":"h2"},{"title":"autoMigrate","type":1,"pageTitle":"Migrate Database Data on schema changes","url":"/migration-schema.html#automigrate","content":" By default, the migration automatically happens when the collection is created. Calling RxDatabase.addCollections() returns only when the migration has finished. If you have lots of data or the migrationStrategies take a long time, it might be better to start the migration 'by hand' and show the migration-state to the user as a loading-bar. const messageCol = await myDatabase.addCollections({ messages: { schema: messageSchemaV1, autoMigrate: false, // <- migration will not run at creation migrationStrategies: { 1: async function(oldDoc){ ... anything that takes very long ... return oldDoc; } } } }); // check if migration is needed const needed = await messageCol.migrationNeeded(); if(needed === false) { return; } // start the migration messageCol.startMigration(10); // 10 is the batch-size, how many docs will run at parallel const migrationState = messageCol.getMigrationState(); // 'start' the observable migrationState.$.subscribe({ next: state => console.dir(state), error: error => console.error(error), complete: () => console.log('done') }); // the emitted states look like this: { status: 'RUNNING' // oneOf 'RUNNING' | 'DONE' | 'ERROR' count: { total: 50, // amount of documents which must be migrated handled: 0, // amount of handled docs percent: 0 // percentage [0-100] } } If you don't want to show the state to the user, you can also use .migratePromise(): const migrationPromise = messageCol.migratePromise(10); await migratePromise; ","version":"Next","tagName":"h2"},{"title":"migrationStates()","type":1,"pageTitle":"Migrate Database Data on schema changes","url":"/migration-schema.html#migrationstates","content":" RxDatabase.migrationStates() returns an Observable that emits all migration states of any collection of the database. Use this when you add collections dynamically and want to show a loading-state of the migrations to the user. const allStatesObservable = myDatabase.migrationStates(); allStatesObservable.subscribe(allStates => { allStates.forEach(migrationState => { console.log( 'migration state of ' + migrationState.collection.name ); }); }); ","version":"Next","tagName":"h2"},{"title":"Migrating attachments","type":1,"pageTitle":"Migrate Database Data on schema changes","url":"/migration-schema.html#migrating-attachments","content":" When you store RxAttachments together with your document, they can also be changed, added or removed while running the migration. You can do this by mutating the oldDoc._attachments property. import { createBlob } from 'rxdb'; const migrationStrategies = { 1: async function(oldDoc){ // do nothing with _attachments to keep all attachments and have them in the new collection version. return oldDoc; }, 2: async function(oldDoc){ // set _attachments to an empty object to delete all existing ones during the migration. oldDoc._attachments = {}; return oldDoc; } 3: async function(oldDoc){ // update the data field of a single attachment to change its data. oldDoc._attachments.myFile.data = await createBlob( 'my new text', oldDoc._attachments.myFile.content_type ); return oldDoc; } } ","version":"Next","tagName":"h2"},{"title":"Migration on multi-tab in browsers","type":1,"pageTitle":"Migrate Database Data on schema changes","url":"/migration-schema.html#migration-on-multi-tab-in-browsers","content":" If you use RxDB in a multiInstance environment, like a browser, it will ensure that exactly one tab is running a migration of a collection. Also the migrationState.$ events are emitted between browser tabs. ","version":"Next","tagName":"h2"},{"title":"Migration and Replication","type":1,"pageTitle":"Migrate Database Data on schema changes","url":"/migration-schema.html#migration-and-replication","content":" If you use any of the RxReplication plugins, the migration will also run on the internal replication-state storage. It will migrate all assumedMasterState documents so that after the migration is done, you do not have to re-run the replication from scratch. RxDB assumes that you run the exact same migration on the servers and the clients. Notice that the replication pull-checkpoint will not be migrated. Your backend must be compatible with pull-checkpoints of older versions. ","version":"Next","tagName":"h2"},{"title":"Migration should be run on all database instances","type":1,"pageTitle":"Migrate Database Data on schema changes","url":"/migration-schema.html#migration-should-be-run-on-all-database-instances","content":" If you have multiple database instances (for example, if you are running replication inside of a Worker or SharedWorker and have created a database instance inside of the worker), schema migration should be started on all database instances. All instances must know about all migration strategies and any updated schema versions. ","version":"Next","tagName":"h2"},{"title":"Storage Migration","type":0,"sectionRef":"#","url":"/migration-storage.html","content":"","keywords":"","version":"Next"},{"title":"Usage","type":1,"pageTitle":"Storage Migration","url":"/migration-storage.html#usage","content":" Lets say you want to migrate from LocalStorage RxStorage to the IndexedDB RxStorage. import { migrateStorage } from 'rxdb/plugins/migration-storage'; import { getRxStorageIndexedDB } from 'rxdb-premium/plugins/storage-indexeddb'; import { getRxStorageLocalstorage } from 'rxdb-old/plugins/storage-localstorage'; // create the new RxDatabase const db = await createRxDatabase({ name: dbLocation, storage: getRxStorageIndexedDB(), multiInstance: false }); await migrateStorage({ database: db as any, /** * Name of the old database, * using the storage migration requires that the * new database has a different name. */ oldDatabaseName: 'myOldDatabaseName', oldStorage: getRxStorageLocalstorage(), // RxStorage of the old database batchSize: 500, // batch size parallel: false, // <- true if it should migrate all collections in parallel. False (default) if should migrate in serial afterMigrateBatch: (input: AfterMigrateBatchHandlerInput) => { console.log('storage migration: batch processed'); } }); note Only collections that exist in the new database at the time you call migrateStorage() will have their data migrated. If your old database had collections ['users', 'posts', 'comments'] but your new database only defines ['users', 'posts'], then only users and posts data will be migrated.Any collections missing from the new database will simply be skipped - no data for them will be read or written. This allows you to selectively migrate only certain collections if desired, by choosing which collections to define before invoking migrateStorage(). ","version":"Next","tagName":"h2"},{"title":"Migrate from a previous RxDB major version","type":1,"pageTitle":"Storage Migration","url":"/migration-storage.html#migrate-from-a-previous-rxdb-major-version","content":" To migrate from a previous RxDB major version, you have to install the 'old' RxDB in the package.json { "dependencies": { "rxdb-old": "npm:rxdb@14.17.1", } } Then you can run the migration by providing the old storage: /* ... */ import { migrateStorage } from 'rxdb/plugins/migration-storage'; import { getRxStorageLocalstorage } from 'rxdb-old/plugins/storage-localstorage'; // <- import from the old RxDB version await migrateStorage({ database: db as any, /** * Name of the old database, * using the storage migration requires that the * new database has a different name. */ oldDatabaseName: 'myOldDatabaseName', oldStorage: getRxStorageLocalstorage(), // RxStorage of the old database batchSize: 500, // batch size parallel: false, afterMigrateBatch: (input: AfterMigrateBatchHandlerInput) => { console.log('storage migration: batch processed'); } }); /* ... */ ","version":"Next","tagName":"h2"},{"title":"Disable Version Check on RxDB Premium 👑","type":1,"pageTitle":"Storage Migration","url":"/migration-storage.html#disable-version-check-on-rxdb-premium-","content":" RxDB Premium has a check in place that ensures that you do not accidentally use the wrong RxDB core and 👑 Premium version together which could break your database state. This can be a problem during migrations where you have multiple versions of RxDB in use and it will throw the error Version mismatch detected. You can disable that check by importing and running the disableVersionCheck() function from RxDB Premium. // RxDB Premium v15 or newer: import { disableVersionCheck } from 'rxdb-premium-old/plugins/shared'; disableVersionCheck(); // RxDB Premium v14: // for esm import { disableVersionCheck } from 'rxdb-premium-old/dist/es/shared/version-check.js'; disableVersionCheck(); // for cjs import { disableVersionCheck } from 'rxdb-premium-old/dist/lib/shared/version-check.js'; disableVersionCheck(); ","version":"Next","tagName":"h2"},{"title":"Middleware","type":0,"sectionRef":"#","url":"/middleware.html","content":"","keywords":"","version":"Next"},{"title":"List","type":1,"pageTitle":"Middleware","url":"/middleware.html#list","content":" RxDB supports the following hooks: preInsertpostInsertpreSavepostSavepreRemovepostRemovepostCreate ","version":"Next","tagName":"h2"},{"title":"Why is there no validate-hook?","type":1,"pageTitle":"Middleware","url":"/middleware.html#why-is-there-no-validate-hook","content":" Different to mongoose, the validation on document-data is running on the field-level for every change to a document. This means if you set the value lastName of a RxDocument, then the validation will only run on the changed field, not the whole document. Therefore it is not useful to have validate-hooks when a document is written to the database. ","version":"Next","tagName":"h3"},{"title":"Use Cases","type":1,"pageTitle":"Middleware","url":"/middleware.html#use-cases","content":" Middleware are useful for atomizing model logic and avoiding nested blocks of async code. Here are some other ideas: complex validationremoving dependent documentsasynchronous defaultsasynchronous tasks that a certain action triggerstriggering custom eventsnotifications ","version":"Next","tagName":"h2"},{"title":"Usage","type":1,"pageTitle":"Middleware","url":"/middleware.html#usage","content":" All hooks have the plain data as first parameter, and all but preInsert also have the RxDocument-instance as second parameter. If you want to modify the data in the hook, change attributes of the first parameter. All hook functions are also this-bind to the RxCollection-instance. ","version":"Next","tagName":"h2"},{"title":"Insert","type":1,"pageTitle":"Middleware","url":"/middleware.html#insert","content":" An insert-hook receives the data-object of the new document. lifecycle RxCollection.insert is calledpreInsert series-hookspreInsert parallel-hooksschema validation runsnew document is written to databasepostInsert series-hookspostInsert parallel-hooksevent is emitted to RxDatabase and RxCollection preInsert // series myCollection.preInsert(function(plainData){ // set age to 50 before saving plainData.age = 50; }, false); // parallel myCollection.preInsert(function(plainData){ }, true); // async myCollection.preInsert(function(plainData){ return new Promise(res => setTimeout(res, 100)); }, false); // stop the insert-operation myCollection.preInsert(function(plainData){ throw new Error('stop'); }, false); postInsert // series myCollection.postInsert(function(plainData, rxDocument){ }, false); // parallel myCollection.postInsert(function(plainData, rxDocument){ }, true); // async myCollection.postInsert(function(plainData, rxDocument){ return new Promise(res => setTimeout(res, 100)); }, false); ","version":"Next","tagName":"h3"},{"title":"Save","type":1,"pageTitle":"Middleware","url":"/middleware.html#save","content":" A save-hook receives the document which is saved. lifecycle RxDocument.save is calledpreSave series-hookspreSave parallel-hooksupdated document is written to databasepostSave series-hookspostSave parallel-hooksevent is emitted to RxDatabase and RxCollection preSave // series myCollection.preSave(function(plainData, rxDocument){ // modify anyField before saving plainData.anyField = 'anyValue'; }, false); // parallel myCollection.preSave(function(plainData, rxDocument){ }, true); // async myCollection.preSave(function(plainData, rxDocument){ return new Promise(res => setTimeout(res, 100)); }, false); // stop the save-operation myCollection.preSave(function(plainData, rxDocument){ throw new Error('stop'); }, false); postSave // series myCollection.postSave(function(plainData, rxDocument){ }, false); // parallel myCollection.postSave(function(plainData, rxDocument){ }, true); // async myCollection.postSave(function(plainData, rxDocument){ return new Promise(res => setTimeout(res, 100)); }, false); ","version":"Next","tagName":"h3"},{"title":"Remove","type":1,"pageTitle":"Middleware","url":"/middleware.html#remove","content":" An remove-hook receives the document which is removed. lifecycle RxDocument.remove is calledpreRemove series-hookspreRemove parallel-hooksdeleted document is written to databasepostRemove series-hookspostRemove parallel-hooksevent is emitted to RxDatabase and RxCollection preRemove // series myCollection.preRemove(function(plainData, rxDocument){ }, false); // parallel myCollection.preRemove(function(plainData, rxDocument){ }, true); // async myCollection.preRemove(function(plainData, rxDocument){ return new Promise(res => setTimeout(res, 100)); }, false); // stop the remove-operation myCollection.preRemove(function(plainData, rxDocument){ throw new Error('stop'); }, false); postRemove // series myCollection.postRemove(function(plainData, rxDocument){ }, false); // parallel myCollection.postRemove(function(plainData, rxDocument){ }, true); // async myCollection.postRemove(function(plainData, rxDocument){ return new Promise(res => setTimeout(res, 100)); }, false); ","version":"Next","tagName":"h3"},{"title":"postCreate","type":1,"pageTitle":"Middleware","url":"/middleware.html#postcreate","content":" This hook is called whenever a RxDocument is constructed. You can use postCreate to modify every RxDocument-instance of the collection. This adds a flexible way to add specify behavior to every document. You can also use it to add custom getter/setter to documents. PostCreate-hooks cannot be asynchronous. myCollection.postCreate(function(plainData, rxDocument){ Object.defineProperty(rxDocument, 'myField', { get: () => 'foobar', }); }); const doc = await myCollection.findOne().exec(); console.log(doc.myField); // 'foobar' note This hook does not run on already created or cached documents. Make sure to add postCreate-hooks before interacting with the collection. ","version":"Next","tagName":"h3"},{"title":"Node.js Database","type":0,"sectionRef":"#","url":"/nodejs-database.html","content":"","keywords":"","version":"Next"},{"title":"Persistent Database","type":1,"pageTitle":"Node.js Database","url":"/nodejs-database.html#persistent-database","content":" To get a "normal" database connection where the data is persisted to a file system, the RxDB real time database provides multiple storage implementations that work in Node.js. The FoundationDB storage connects to a FoundationDB cluster which itself is just a distributed key-value engine. RxDB adds the NoSQL query-engine, indexes and other features on top of it. It scales horizontally because you can always add more servers to the FoundationDB cluster to increase the capacity. Setting up a RxDB database is pretty simple. You import the FoundationDB RxStorage and tell RxDB to use that when calling createRxDatabase: import { createRxDatabase } from 'rxdb'; import { getRxStorageFoundationDB } from 'rxdb/plugins/storage-foundationdb'; const db = await createRxDatabase({ name: 'exampledb', storage: getRxStorageFoundationDB({ apiVersion: 620, clusterFile: '/path/to/fdb.cluster' }) }); // add a collection await db.addCollections({ users: { schema: mySchema } }); // run a query const result = await db.users.find({ selector: { name: 'foobar' } }).exec(); Another alternative storage is the SQLite RxStorage that stores the data inside of a SQLite filebased database. The SQLite storage is faster than FoundationDB and does not require to set up a cluster or anything because SQLite directly stores and reads the data inside of the filesystem. The downside of that is that it only scales vertically. import { createRxDatabase } from 'rxdb'; import { getRxStorageSQLite, getSQLiteBasicsNode } from 'rxdb-premium/plugins/storage-sqlite'; import sqlite3 from 'sqlite3'; const myRxDatabase = await createRxDatabase({ name: 'path/to/database/file/foobar.db', storage: getRxStorageSQLite({ sqliteBasics: getSQLiteBasicsNode(sqlite3) }) }); Because the SQLite RxStorage is not free and you might not want to set up a FoundationDB cluster, there is also the option to use the LokiJS RxStorage together with the filesystem adapter. This will store the data as plain json in a file and load everything into memory on startup. This works great for small prototypes but it is not recommended to be used in production. import { createRxDatabase } from 'rxdb'; const LokiFsStructuredAdapter = require('lokijs/src/loki-fs-structured-adapter.js'); import { getRxStorageLoki } from 'rxdb/plugins/storage-lokijs'; import sqlite3 from 'sqlite3'; const myRxDatabase = await createRxDatabase({ name: 'path/to/database/file/foobar.db', storage: getRxStorageLoki({ adapter: new LokiFsStructuredAdapter() }) }); Here is a performance comparison chart of the different storages (lower is better): ","version":"Next","tagName":"h2"},{"title":"RxDB as Node.js In-Memory Database","type":1,"pageTitle":"Node.js Database","url":"/nodejs-database.html#rxdb-as-nodejs-in-memory-database","content":" One of the easiest way to use RxDB in Node.js is to use the Memory RxStorage. As the name implies, it stores the data directly in-memory of the Node.js JavaScript process. This makes it really fast to read and write data but of course the data is not persisted and will be lost when the nodejs process exits. Often the in-memory option is used when RxDB is used in unit tests because it automatically cleans up everything afterwards. import { createRxDatabase } from 'rxdb'; import { getRxStorageMemory } from 'rxdb/plugins/storage-memory'; const db = await createRxDatabase({ name: 'exampledb', storage: getRxStorageMemory() }); Also notice that the default memory limit of Node.js is 4gb (might change of newer versions) so for bigger datasets you might want to increase the limit with the max-old-space-size flag: # increase the Node.js memory limit to 8GB node --max-old-space-size=8192 index.js ","version":"Next","tagName":"h2"},{"title":"Hybrid In-memory-persistence-synced storage","type":1,"pageTitle":"Node.js Database","url":"/nodejs-database.html#hybrid-in-memory-persistence-synced-storage","content":" If you want to have the performance of an in-memory database but require persistency of the data, you can use the memory-mapped storage. On database creation it will load all data into the memory and on writes it will first write the data into memory and later also write it to the persistent storage in the background. In the following example the FoundationDB storage is used, but any other RxStorage can be used as persistence layer. import { createRxDatabase } from 'rxdb'; import { getRxStorageFoundationDB } from 'rxdb/plugins/storage-foundationdb'; import { getMemoryMappedRxStorage } from 'rxdb-premium/plugins/storage-memory-mapped'; const db = await createRxDatabase({ name: 'exampledb', storage: getMemoryMappedRxStorage({ storage: getRxStorageFoundationDB({ apiVersion: 620, clusterFile: '/path/to/fdb.cluster' }) }) }); While this approach gives you a database with great performance and persistent, it has two major downsides: The database size is limited to the memory sizeWrites can be lost when the Node.js process exists between a write to the memory state and the background persisting. ","version":"Next","tagName":"h2"},{"title":"Share database between microservices with RxDB","type":1,"pageTitle":"Node.js Database","url":"/nodejs-database.html#share-database-between-microservices-with-rxdb","content":" Using a local, embedded database in Node.js works great until you have to share the data with another Node.js process or another server at all. To share the database state with other instances, RxDB provides two different methods. One is replication and the other is the remote RxStorage. The replication copies over the whole database set to other instances live-replicates all ongoing writes. This has the benefit of scaling better because each of your microservice will run queries on its own copy of the dataset. Sometimes however you might not want to store the full dataset on each microservice. Then it is better to use the remote RxStorage and connect it to the "main" database. The remote storage will run all operations the main database and return the result to the calling database. ","version":"Next","tagName":"h2"},{"title":"Follow up on RxDB+Node.js","type":1,"pageTitle":"Node.js Database","url":"/nodejs-database.html#follow-up-on-rxdbnodejs","content":" Check out the RxDB Nodejs example.If you haven't done yet, you should start learning about RxDB with the Quickstart Tutorial.I created a list of embedded JavaSCript databases that you will help you to pick a database if you do not want to use RxDB.Check out the MongoDB RxStorage that uses MongoDB for the database connection from your Node.js application and runs the RxDB real time database on top of it. ","version":"Next","tagName":"h2"},{"title":"Local First / Offline First","type":0,"sectionRef":"#","url":"/offline-first.html","content":"","keywords":"","version":"Next"},{"title":"UX is better without loading spinners","type":1,"pageTitle":"Local First / Offline First","url":"/offline-first.html#ux-is-better-without-loading-spinners","content":" In 'normal' web applications, most user interactions like fetching, saving or deleting data, correspond to a request to the backend server. This means that each of these interactions require the user to await the unknown latency to and from a remote server while looking at a loading spinner. In offline-first apps, the operations go directly against the local storage which happens almost instantly. There is no perceptible loading time and so it is not even necessary to implement a loading spinner at all. As soon as the user clicks, the UI represents the new state as if it was already changed in the backend. ","version":"Next","tagName":"h2"},{"title":"Multi-tab usage just works","type":1,"pageTitle":"Local First / Offline First","url":"/offline-first.html#multi-tab-usage-just-works","content":" Many, even big websites like amazon, reddit and stack overflow do not handle multi tab usage correctly. When a user has multiple tabs of the website open and does a login on one of these tabs, the state does not change on the other tabs. On offline first applications, there is always exactly one state of the data across all tabs. Offline first databases (like RxDB) store the data inside of IndexedDb and share the state between all tabs of the same origin. ","version":"Next","tagName":"h2"},{"title":"Latency is more important than bandwidth","type":1,"pageTitle":"Local First / Offline First","url":"/offline-first.html#latency-is-more-important-than-bandwidth","content":" In the past, often the bandwidth was the limiting factor on determining the loading time of an application. But while bandwidth has improved over the years, latency became the limiting factor. You can always increase the bandwidth by setting up more cables or sending more Starlink satellites to space. But reducing the latency is not so easy. It is defined by the physical properties of the transfer medium, the speed of light and the distance to the server. All of these three are hard to optimize. Offline first application benefit from that because sending the initial state to the client can be done much faster with more bandwidth. And once the data is there, we do no longer have to care about the latency to the backend server because you can run near zero latency queries locally. ","version":"Next","tagName":"h2"},{"title":"Realtime comes for free","type":1,"pageTitle":"Local First / Offline First","url":"/offline-first.html#realtime-comes-for-free","content":" Most websites lie to their users. They do not lie because they display wrong data, but because they display old data that was loaded from the backend at the time the user opened the site. To overcome this, you could build a realtime website where you create a websocket that streams updates from the backend to the client. This means work. Your client needs to tell the server which page is currently opened and which updates the client is interested to. Then the server can push updates over the websocket and you can update the UI accordingly. With offline first applications, you already have a realtime replication with the backend. Most offline first databases provide some concept of changestream or data subscriptions and with RxDB you can even directly subscribe to query results or single fields of documents. This makes it easy to have an always updated UI whenever data on the backend changes. ","version":"Next","tagName":"h2"},{"title":"Scales with data size, not with the amount of user interaction","type":1,"pageTitle":"Local First / Offline First","url":"/offline-first.html#scales-with-data-size-not-with-the-amount-of-user-interaction","content":" On normal applications, each user interaction can result in multiple requests to the backend server which increase its load. The more users interact with your application, the more backend resources you have to provide. Offline first applications do not scale up with the amount of user actions but instead they scale up with the amount of data. Once that data is transferred to the client, the user can do as many interactions with it as required without connecting to the server. ","version":"Next","tagName":"h2"},{"title":"Modern apps have longer runtimes","type":1,"pageTitle":"Local First / Offline First","url":"/offline-first.html#modern-apps-have-longer-runtimes","content":" In the past you used websites only for a short time. You open it, perform some action and then close it again. This made the first load time the important metric when evaluating page speed. Today web applications have changed and with it the way we use them. Single page applications are opened once and then used over the whole day. Chat apps, email clients, PWAs and hybrid apps. All of these were made to have long runtimes. This makes the time for user interactions more important than the initial loading time. Offline first applications benefit from that because there is often no loading time on user actions while loading the initial state to the client is not that relevant. ","version":"Next","tagName":"h2"},{"title":"You might not need REST","type":1,"pageTitle":"Local First / Offline First","url":"/offline-first.html#you-might-not-need-rest","content":" On normal web applications, you make different requests for each kind of data interaction. For that you have to define a swagger route, implement a route handler on the backend and create some client code to send or fetch data from that route. The more complex your application becomes, the more REST routes you have to maintain and implement. With offline first apps, you have a way to hack around all this cumbersome work. You just replicate the whole state from the server to the client. The replication does not only run once, you have a realtime replication and all changes at one side are automatically there on the other side. On the client, you can access every piece of state with a simple database query. While this of course only works for amounts of data that the client can load and store, it makes implementing prototypes and simple apps much faster. ","version":"Next","tagName":"h2"},{"title":"You might not need Redux","type":1,"pageTitle":"Local First / Offline First","url":"/offline-first.html#you-might-not-need-redux","content":" Data is hard, especially for UI applications where many things can happen at the same time. The user is clicking around. Stuff is loaded from the server. All of these things interact with the global state of the app. To manage this complexity it is common to use state management libraries like Redux or MobX. With them, you write all this lasagna code to wrap the mutation of data and to make the UI react to all these changes. On offline first apps, your global state is already there in a single place stored inside of the local database. You do not have to care whether this data came from the UI, another tab, the backend or another device of the same user. You can just make writes to the database and fetch data out of it. ","version":"Next","tagName":"h2"},{"title":"Follow up","type":1,"pageTitle":"Local First / Offline First","url":"/offline-first.html#follow-up","content":" Learn how to store and query data with RxDB in the RxDB QuickstartDownsides of Offline FirstI wrote a follow-up version of offline/first local first about Why Local-First Is the Future and what are Its Limitations ","version":"Next","tagName":"h2"},{"title":"Object-Data-Relational-Mapping","type":0,"sectionRef":"#","url":"/orm.html","content":"","keywords":"","version":"Next"},{"title":"statics","type":1,"pageTitle":"Object-Data-Relational-Mapping","url":"/orm.html#statics","content":" Statics are defined collection-wide and can be called on the collection. ","version":"Next","tagName":"h2"},{"title":"Add statics to a collection","type":1,"pageTitle":"Object-Data-Relational-Mapping","url":"/orm.html#add-statics-to-a-collection","content":" To add static functions, pass a statics-object when you create your collection. The object contains functions, mapped to their function-names. const heroes = await myDatabase.addCollections({ heroes: { schema: mySchema, statics: { scream: function(){ return 'AAAH!!'; } } } }); console.log(heroes.scream()); // 'AAAH!!' You can also use the this-keyword which resolves to the collection: const heroes = await myDatabase.addCollections({ heroes: { schema: mySchema, statics: { whoAmI: function(){ return this.name; } } } }); console.log(heroes.whoAmI()); // 'heroes' ","version":"Next","tagName":"h3"},{"title":"instance-methods","type":1,"pageTitle":"Object-Data-Relational-Mapping","url":"/orm.html#instance-methods","content":" Instance-methods are defined collection-wide. They can be called on the RxDocuments of the collection. ","version":"Next","tagName":"h2"},{"title":"Add instance-methods to a collection","type":1,"pageTitle":"Object-Data-Relational-Mapping","url":"/orm.html#add-instance-methods-to-a-collection","content":" const heroes = await myDatabase.addCollections({ heroes: { schema: mySchema, methods: { scream: function(){ return 'AAAH!!'; } } } }); const doc = await heroes.findOne().exec(); console.log(doc.scream()); // 'AAAH!!' Here you can also use the this-keyword: const heroes = await myDatabase.addCollections({ heroes: { schema: mySchema, methods: { whoAmI: function(){ return 'I am ' + this.name + '!!'; } } } }); await heroes.insert({ name: 'Skeletor' }); const doc = await heroes.findOne().exec(); console.log(doc.whoAmI()); // 'I am Skeletor!!' ","version":"Next","tagName":"h3"},{"title":"attachment-methods","type":1,"pageTitle":"Object-Data-Relational-Mapping","url":"/orm.html#attachment-methods","content":" Attachment-methods are defined collection-wide. They can be called on the RxAttachments of the RxDocuments of the collection. const heroes = await myDatabase.addCollections({ heroes: { schema: mySchema, attachments: { scream: function(){ return 'AAAH!!'; } } } }); const doc = await heroes.findOne().exec(); const attachment = await doc.putAttachment({ id: 'cat.txt', data: 'meow I am a kitty', type: 'text/plain' }); console.log(attachment.scream()); // 'AAAH!!' ","version":"Next","tagName":"h2"},{"title":"RxDB Documentation","type":0,"sectionRef":"#","url":"/overview.html","content":"RxDB Documentation Getting Started Overview Quickstart Install Dev-mode Typescript Core Entities RxDatabase RxSchema RxCollection RxDocument RxQuery 💾 Storages RxStorage Overview LocalStorage (Browser) IndexedDB 👑 (Browser, Capacitor) OPFS 👑 (Browser) Memory Filesystem Node 👑 (Node.js) SQLite (Capacitor, React-Native, Expo, Tauri, Electron, Node.js) Dexie.js MongoDB DenoKV FoundationDB Storage Wrappers Schema Validation Encryption Key Compression Logger 👑 Remote RxStorage Worker RxStorage 👑 SharedWorker RxStorage 👑 Memory Mapped RxStorage 👑 Sharding 👑 Localstorage Meta Optimizer 👑 Electron 🔄 Replication ⚙️ Sync Engine HTTP Replication RxServer Replication GraphQL Replication WebSocket Replication CouchDB Replication WebRTC P2P Replication Firestore Replication MongoDB Replication Supabase Replication NATS Replication Appwrite Replication Server RxServer RxServer Scaling How RxDB works Transactions Conflicts Revisions Query Cache Creating Plugins Errors Advanced Features Schema Migration Storage Migration Attachments RxPipelines Custom Reactivity RxState Local Documents Cleanup Backup Leader Election Middleware CRDT Population ORM Fulltext Search 👑 Vector Database Query Optimizer 👑 Third Party Plugins Integrations React TanStack DB Performance RxStorage Performance NoSQL Performance Tips Slow IndexedDB LocalStorage vs. IndexedDB vs. Cookies vs. OPFS vs. WASM-SQLite Releases 17.0.0 16.0.0 15.0.0 14.0.0 13.0.0 12.0.0 11.0.0 10.0.0 9.0.0 8.0.0 Contact Consulting Discord LinkedIn","keywords":"","version":"Next"},{"title":"Performance tips for RxDB and other NoSQL databases","type":0,"sectionRef":"#","url":"/nosql-performance-tips.html","content":"","keywords":"","version":"Next"},{"title":"Use bulk operations","type":1,"pageTitle":"Performance tips for RxDB and other NoSQL databases","url":"/nosql-performance-tips.html#use-bulk-operations","content":" When you run write operations on multiple documents, make sure you use bulk operations instead of single document operations. // wrong ❌ for(const docData of dataAr){ await myCollection.insert(docData); } // right ✔️ await myCollection.bulkInsert(dataAr); ","version":"Next","tagName":"h2"},{"title":"Help the query planner by adding operators that better restrict the index range","type":1,"pageTitle":"Performance tips for RxDB and other NoSQL databases","url":"/nosql-performance-tips.html#help-the-query-planner-by-adding-operators-that-better-restrict-the-index-range","content":" Often on complex queries, RxDB (and other databases) do not pick the optimal index range when querying a result set. You can add additional restrictive operators to ensure the query runs over a smaller index space and has a better performance. Lets see some examples for different query types. /** * Adding a restrictive operator for an $or query * so that it better limits the index space for the time-field. */ const orQuery = { selector: { $or: [ { time: { $gt: 1234 }, }, { time: { $eg: 1234 }, user: { $gt: 'foobar' } }, ] time: { $gte: 1234 } // <- add restrictive operator } } /** * Adding a restrictive operator for an $regex query * so that it better limits the index space for the user-field. * We know that all matching fields start with 'foo' so we can * tell the query to use that as lower constraint for the index. */ const regexQuery = { selector: { user: { $regex: '^foo(.*)0-9$', // a complex regex with a ^ in the beginning $gte: 'foo' // <- add restrictive operator } } } /** * Adding a restrictive operator for a query on an enum field. * so that it better limits the index space for the time-field. */ const enumQuery = { selector: { /** * Here lets assume our status field has the enum type ['idle', 'in-progress', 'done'] * so our restrictive operator can exclude all documents with 'done' as status. */ status: { $in: { 'idle', 'in-progress', }, $gt: 'done' // <- add restrictive operator on status } } } ","version":"Next","tagName":"h2"},{"title":"Set a specific index","type":1,"pageTitle":"Performance tips for RxDB and other NoSQL databases","url":"/nosql-performance-tips.html#set-a-specific-index","content":" Sometime the query planner of the database itself has no chance in picking the best index of the possible given indexes. For queries where performance is very important, you might want to explicitly specify which index must be used. const myQuery = myCollection.find({ selector: { /* ... */ }, // explicitly specify index index: [ 'fieldA', 'fieldB' ] }); ","version":"Next","tagName":"h2"},{"title":"Try different ordering of index fields","type":1,"pageTitle":"Performance tips for RxDB and other NoSQL databases","url":"/nosql-performance-tips.html#try-different-ordering-of-index-fields","content":" The order of the fields in a compound index is very important for performance. When optimizing index usage, you should try out different orders on the index fields and measure which runs faster. For that it is very important to run tests on real-world data where the distribution of the data is the same as in production. For example when there is a query on a user collection with an age and a gender field, it depends if the index ['gender', 'age'] performance better as ['age', 'gender'] based on the distribution of data: const query = myCollection .findOne({ selector: { age: { $gt: 18 }, gender: { $eq: 'm' } }, /** * Because the developer knows that 50% of the documents are 'male', * but only 20% are below age 18, * it makes sense to enforce using the ['gender', 'age'] index to improve performance. * This could not be known by the query planer which might have chosen ['age', 'gender'] instead. */ index: ['gender', 'age'] }); Notice that RxDB has the Query Optimizer Plugin that can be used to automatically find the best indexes. ","version":"Next","tagName":"h2"},{"title":"Make a Query \"hot\" to reduce load","type":1,"pageTitle":"Performance tips for RxDB and other NoSQL databases","url":"/nosql-performance-tips.html#make-a-query-hot-to-reduce-load","content":" Having a query where the up-to-date result set is needed more than once, you might want to make the query "hot" by permanently subscribing to it. This ensures that the query result is kept up to date by RxDB ant the EventReduce algorithm at any time so that at the moment you need the current results, it has them already. For example when you use RxDB at Node.js for a webserver, you should use an outer "hot" query instead of running the same query again on every request to a route. // wrong ❌ app.get('/list', (req, res) => { const result = await myCollection.find({/* ... */}).exec(); res.send(JSON.stringify(result)); }); // right ✔️ const query = myCollection.find({/* ... */}); query.subscribe(); // <- make it hot app.get('/list', (req, res) => { const result = await query.exec(); res.send(JSON.stringify(result)); }); ","version":"Next","tagName":"h2"},{"title":"Store parts of your document data as attachment","type":1,"pageTitle":"Performance tips for RxDB and other NoSQL databases","url":"/nosql-performance-tips.html#store-parts-of-your-document-data-as-attachment","content":" For in-app databases like RxDB, it does not make sense to partially parse the JSON of a document. Instead, always the whole document json is parsed and handled. This has a better performance because JSON.parse() in JavaScript directly calls a C++ binding which can parse really fast compared to a partial parsing in JavaScript itself. Also by always having the full document, RxDB can de-duplicate memory caches of document across multiple queries. The downside is that very very big documents with a complex structure can increase query time significantly. Documents fields with complex that are mostly not in use, can be move into an attachment. This would lead RxDB to not fetch the attachment data each time the document is loaded from disc. Instead only when explicitly asked for. const myDocument = await myCollection.insert({/* ... */}); const attachment = await myDocument.putAttachment( { id: 'otherStuff.json', data: createBlob(JSON.stringify({/* ... */}), 'application/json'), type: 'application/json' } ); ","version":"Next","tagName":"h2"},{"title":"Process queries in a worker process","type":1,"pageTitle":"Performance tips for RxDB and other NoSQL databases","url":"/nosql-performance-tips.html#process-queries-in-a-worker-process","content":" Moving database storage into a WebWorker can significantly improve performance in web applications that use RxDB or similar NoSQL databases. When database operations are executed in the main JavaScript thread, they can block or slow down the User Interface, especially during heavy or complex data operations. By offloading these operations to a WebWorker, you effectively separate the data processing workload from the UI thread. This means the main thread remains free to handle user interactions and render updates without delay, leading to a smoother and more responsive user experience. Additionally, WebWorkers allow for parallel data processing, which can expedite tasks like querying and indexing. This approach not only enhances UI responsiveness but also optimizes overall application performance by leveraging the multi-threading capabilities of modern browsers. With RxDB you can use the Worker and SharedWorker plugin to move the query processing away from the main thread. ","version":"Next","tagName":"h2"},{"title":"Use less plugins and hooks","type":1,"pageTitle":"Performance tips for RxDB and other NoSQL databases","url":"/nosql-performance-tips.html#use-less-plugins-and-hooks","content":" Utilizing fewer hooks and plugins in RxDB or similar NoSQL database systems can lead to markedly better performance. Each additional hook or plugin introduces extra layers of processing and potential overhead, which can cumulatively slow down database operations. These extensions often execute additional code or enforce extra checks with each operation, such as insertions, updates, or deletions. While they can provide valuable functionalities or custom behaviors, their overuse can inadvertently increase the complexity and execution time of basic database operations. By minimizing their use and only employing essential hooks and plugins, the system can operate more efficiently. This streamlined approach reduces the computational burden on each transaction, leading to faster response times and a more efficient overall data handling process, especially critical in high-load or real-time applications where performance is paramount. ","version":"Next","tagName":"h2"},{"title":"Creating Plugins","type":0,"sectionRef":"#","url":"/plugins.html","content":"","keywords":"","version":"Next"},{"title":"rxdb","type":1,"pageTitle":"Creating Plugins","url":"/plugins.html#rxdb","content":" The rxdb-property signals that this plugin is an rxdb-plugin. The value should always be true. ","version":"Next","tagName":"h2"},{"title":"prototypes","type":1,"pageTitle":"Creating Plugins","url":"/plugins.html#prototypes","content":" The prototypes-property contains a function for each of RxDB's internal prototype that you want to manipulate. Each function gets the prototype-object of the corresponding class as parameter and then can modify it. You can see a list of all available prototypes here ","version":"Next","tagName":"h2"},{"title":"overwritable","type":1,"pageTitle":"Creating Plugins","url":"/plugins.html#overwritable","content":" Some of RxDB's functions are not inside of a class-prototype but are static. You can set and overwrite them with the overwritable-object. You can see a list of all overwritables here. hooks Sometimes you don't want to overwrite an existing RxDB-method, but extend it. You can do this by adding hooks which will be called each time the code jumps into the hooks corresponding call. You can find a list of all hooks here. options RxDatabase and RxCollection have an additional options-parameter, which can be filled with any data required be the plugin. const collection = myDatabase.addCollections({ foo: { schema: mySchema, options: { // anything can be passed into the options foo: ()=>'bar' } } }) // Afterwards you can use these options in your plugin. collection.options.foo(); // 'bar' ","version":"Next","tagName":"h2"},{"title":"Population","type":0,"sectionRef":"#","url":"/population.html","content":"","keywords":"","version":"Next"},{"title":"Schema with ref","type":1,"pageTitle":"Population","url":"/population.html#schema-with-ref","content":" The ref-keyword in properties describes to which collection the field-value belongs to (has a relationship). export const refHuman = { title: 'human related to other human', version: 0, primaryKey: 'name', properties: { name: { type: 'string' }, bestFriend: { ref: 'human', // refers to collection human type: 'string' // ref-values must always be string or ['string','null'] (primary of foreign RxDocument) } } }; You can also have a one-to-many reference by using a string-array. export const schemaWithOneToManyReference = { version: 0, primaryKey: 'name', type: 'object', properties: { name: { type: 'string' }, friends: { type: 'array', ref: 'human', items: { type: 'string' } } } }; ","version":"Next","tagName":"h2"},{"title":"populate()","type":1,"pageTitle":"Population","url":"/population.html#populate","content":" ","version":"Next","tagName":"h2"},{"title":"via method","type":1,"pageTitle":"Population","url":"/population.html#via-method","content":" To get the referred RxDocument, you can use the populate()-method. It takes the field-path as attribute and returns a Promise which resolves to the foreign document or null if not found. await humansCollection.insert({ name: 'Alice', bestFriend: 'Carol' }); await humansCollection.insert({ name: 'Bob', bestFriend: 'Alice' }); const doc = await humansCollection.findOne('Bob').exec(); const bestFriend = await doc.populate('bestFriend'); console.dir(bestFriend); //> RxDocument[Alice] ","version":"Next","tagName":"h3"},{"title":"via getter","type":1,"pageTitle":"Population","url":"/population.html#via-getter","content":" You can also get the populated RxDocument with the direct getter. Therefore you have to add an underscore suffix _ to the fieldname. This works also on nested values. await humansCollection.insert({ name: 'Alice', bestFriend: 'Carol' }); await humansCollection.insert({ name: 'Bob', bestFriend: 'Alice' }); const doc = await humansCollection.findOne('Bob').exec(); const bestFriend = await doc.bestFriend_; // notice the underscore_ console.dir(bestFriend); //> RxDocument[Alice] ","version":"Next","tagName":"h3"},{"title":"Example with nested reference","type":1,"pageTitle":"Population","url":"/population.html#example-with-nested-reference","content":" const myCollection = await myDatabase.addCollections({ human: { schema: { version: 0, type: 'object', properties: { name: { type: 'string' }, family: { type: 'object', properties: { mother: { type: 'string', ref: 'human' } } } } } } }); const mother = await myDocument.family.mother_; console.dir(mother); //> RxDocument ","version":"Next","tagName":"h2"},{"title":"Example with array","type":1,"pageTitle":"Population","url":"/population.html#example-with-array","content":" const myCollection = await myDatabase.addCollections({ human: { schema: { version: 0, type: 'object', properties: { name: { type: 'string' }, friends: { type: 'array', ref: 'human', items: { type: 'string' } } } } } }); //[insert other humans here] await myCollection.insert({ name: 'Alice', friends: [ 'Bob', 'Carol', 'Dave' ] }); const doc = await humansCollection.findOne('Alice').exec(); const friends = await myDocument.friends_; console.dir(friends); //> Array.<RxDocument> ","version":"Next","tagName":"h2"},{"title":"QueryCache","type":0,"sectionRef":"#","url":"/query-cache.html","content":"","keywords":"","version":"Next"},{"title":"Cache Replacement Policy","type":1,"pageTitle":"QueryCache","url":"/query-cache.html#cache-replacement-policy","content":" To not let RxDB fill up all the memory, a cache replacement policy is defined that clears up the cached queries. This is implemented as a function which runs regularly, depending on when queries are created and the database is idle. The default policy should be good enough for most use cases but defining custom ones can also make sense. ","version":"Next","tagName":"h2"},{"title":"The default policy","type":1,"pageTitle":"QueryCache","url":"/query-cache.html#the-default-policy","content":" The default policy starts cleaning up queries depending on how much queries are in the cache and how much document data they contain. It will never uncache queries that have subscribers to their resultsIt tries to always have less than 100 queries without subscriptions in the cache.It prefers to uncache queries that have never executed and are older than 30 secondsIt prefers to uncache queries that have not been used for longer time ","version":"Next","tagName":"h2"},{"title":"Other references to queries","type":1,"pageTitle":"QueryCache","url":"/query-cache.html#other-references-to-queries","content":" With JavaScript, it is not possible to count references to variables. Therefore it might happen that an uncached RxQuery is still referenced by the users code and used to get results. This should never be a problem, uncached queries must still work. Creating the same query again however, will result in having two RxQuery instances instead of one. ","version":"Next","tagName":"h2"},{"title":"Using a custom policy","type":1,"pageTitle":"QueryCache","url":"/query-cache.html#using-a-custom-policy","content":" A cache replacement policy is a normal JavaScript function according to the type RxCacheReplacementPolicy. It gets the RxCollection as first parameter and the QueryCache as second. Then it iterates over the cached RxQuery instances and uncaches the desired ones with uncacheRxQuery(rxQuery). When you create your custom policy, you should have a look at the default. To apply a custom policy to a RxCollection, add the function as attribute cacheReplacementPolicy. const collection = await myDatabase.addCollections({ humans: { schema: mySchema, cacheReplacementPolicy: function(){ /* ... */ } } }); ","version":"Next","tagName":"h2"},{"title":"Query Optimizer","type":0,"sectionRef":"#","url":"/query-optimizer.html","content":"","keywords":"","version":"Next"},{"title":"Usage","type":1,"pageTitle":"Query Optimizer","url":"/query-optimizer.html#usage","content":" import { findBestIndex } from 'rxdb-premium/plugins/query-optimizer'; import { getRxStorageIndexedDB } from 'rxdb-premium/plugins/indexeddb'; const bestIndexes = await findBestIndex({ schema: myRxJsonSchema, /** * In this example we use the IndexedDB RxStorage, * but any other storage can be used for testing. */ storage: getRxStorageIndexedDB(), /** * Multiple queries can be optimized at the same time * which decreases the overall runtime. */ queries: { /** * Queries can be mapped by a query id, * here we use myFirstQuery as query id. */ myFirstQuery: { selector: { age: { $gt: 10 } }, }, mySecondQuery: { selector: { age: { $gt: 10 }, lastName: { $eq: 'Nakamoto' } }, } }, testData: [/** data for the documents. **/] }); ","version":"Next","tagName":"h2"},{"title":"Important details","type":1,"pageTitle":"Query Optimizer","url":"/query-optimizer.html#important-details","content":" This is a build time tool. You should use it to find the best indexes for your queries during build time. Then you store these results and you application can use the best indexes during run time. It makes no sense to run time optimization with a different RxStorage (+settings) that what you use in production. The result of the query optimizer is heavily dependent on the RxStorage and JavaScript runtime. For example it makes no sense to run the optimization in Node.js and then use the optimized indexes in the browser. It is very important that you use production liketestData. Finding the best index heavily depends on data distribution and amount of stored/queried documents. For example if you store and query users with an age field, it makes no sense to just use a random number for the age because in production the age of your users is not equally distributed. The higher you set runs, the more test cycles will be performed and the more significant will be the time measurements which leads to a better index selection. ","version":"Next","tagName":"h2"},{"title":"Signals & Co. - Custom reactivity adapters instead of RxJS Observables","type":0,"sectionRef":"#","url":"/reactivity.html","content":"","keywords":"","version":"Next"},{"title":"RxDB Quickstart","type":0,"sectionRef":"#","url":"/quickstart.html","content":"","keywords":"","version":"Next"},{"title":"Next steps","type":1,"pageTitle":"RxDB Quickstart","url":"/quickstart.html#next-steps","content":" You are now ready to dive deeper into RxDB. Start reading the full documentation here.There is a full implementation of the quickstart guide so you can clone that repository and play with the code.For frameworks and runtimes like Angular, React Native and others, check out the list of example implementations.Also please continue reading the documentation, join the community on our Discord chat, and star the GitHub repo.If you are using RxDB in a production environment and are able to support its continued development, please take a look at the 👑 Premium package which includes additional plugins and utilities. ","version":"Next","tagName":"h2"},{"title":"Adding a reactivity factory","type":1,"pageTitle":"Signals & Co. - Custom reactivity adapters instead of RxJS Observables","url":"/reactivity.html#adding-a-reactivity-factory","content":" Angular React Vue In angular we use Angular Signals as custom reactivity objects. 1 Import import { createReactivityFactory } from 'rxdb/plugins/reactivity-angular'; import { Injectable, inject } from '@angular/core'; 2 Set the reactivity factory Set the factory as reactivity option when calling createRxDatabase. const database = await createRxDatabase({ name: 'mydb', storage: getRxStorageLocalstorage(), reactivity: createReactivityFactory(inject(Injector)) }); // add collections/sync etc... 3 Use the Signal in an Angular component import { Component, inject } from '@angular/core'; import { CommonModule } from '@angular/common'; import { DbService } from '../db.service'; @Component({ selector: 'app-todos-list', standalone: true, imports: [CommonModule], template: ` <ul> <li *ngFor="let t of todosSignal();" >{{ t.title }}</li> </ul> `, }) export class TodosListComponent { private dbService = inject(DbService); // RxDB query - Angular Signal readonly todosSignal = this.dbService.db.todos.find().$$; } An example of how signals are used in angular with RxDB, can be found at the RxDB Angular Example ","version":"Next","tagName":"h2"},{"title":"Accessing custom reactivity objects","type":1,"pageTitle":"Signals & Co. - Custom reactivity adapters instead of RxJS Observables","url":"/reactivity.html#accessing-custom-reactivity-objects","content":" All observable data in RxDB is marked by the single dollar sign $ like RxCollection.$ for events or RxDocument.myField$ to get the observable for a document field. To make custom reactivity objects distinguable, they are marked with double-dollar signs $$ instead. Here are some example on how to get custom reactivity objects from RxDB specific instances: // RxDocument // get signal that represents the document field 'foobar' const signal = myRxDocument.get$$('foobar'); // same as above const signal = myRxDocument.foobar$$; // get signal that represents whole document over time const signal = myRxDocument.$$; // get signal that represents the deleted state of the document const signal = myRxDocument.deleted$$; // RxQuery // get signal that represents the query result set over time const signal = collection.find().$$; // get signal that represents the query result set over time const signal = collection.findOne().$$; // RxLocalDocument // get signal that represents the whole local document state const signal = myRxLocalDocument.$$; // get signal that represents the foobar field const signal = myRxLocalDocument.get$$('foobar'); ","version":"Next","tagName":"h2"},{"title":"React","type":0,"sectionRef":"#","url":"/react.html","content":"","keywords":"","version":"Next"},{"title":"General concept","type":1,"pageTitle":"React","url":"/react.html#general-concept","content":" RxDB is internally reactive and emits changes via RxJS observables. React and React Native, however, are render-driven frameworks that rely on component state and hooks. The RxDB React integration bridges these two models by exposing a small set of hooks that translate RxDB state into React renders. Instead of hiding reactivity behind configuration flags, the integration uses explicit hooks. This makes component behavior predictable, avoids accidental subscriptions, and keeps performance characteristics easy to reason about. ","version":"Next","tagName":"h2"},{"title":"Usage","type":1,"pageTitle":"React","url":"/react.html#usage","content":" 1 Installation Install RxDB and React as usual: npm install rxdb react react-dom 2 Database creation Database creation is not part of the React integration itself. RxDB is created in the same way as in non-React applications, including storage selection, plugins, replication, hooks, and schema definitions. This separation is intentional. React components should never be responsible for creating or configuring the database. They should only consume it. import { createRxDatabase, addRxPlugin } from 'rxdb'; import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage'; async function getDatabase() { const db = await createRxDatabase({ name: 'heroesreactdb', storage: getRxStorageLocalstorage() }); await db.addCollections({ heroes: { schema: myRxSchema } }); /** * Do other stuff here * like setting up middleware * or starting replication. */ return db; } 3 Providing the database To use RxDB in a React or React Native application, the database instance must be provided via a context. This is done using RxDatabaseProvider. The database itself is created outside of React, usually in a separate module. The provider is only responsible for making the database available to components once it has been initialized. import React, { useEffect, useState } from 'react'; import { RxDatabaseProvider } from 'rxdb/plugins/react'; import { getDatabase } from './Database'; const App = () => { const [database, setDatabase] = useState(); useEffect(() => { const initDb = async () => { const db = await getDatabase(); setDatabase(db); }; initDb(); }, []); if (database == null) { return <span> Loading <a href="https://rxdb.info/react.html">RxDB</a> database... </span>; } return ( <RxDatabaseProvider database={database}> {/* your application */} </RxDatabaseProvider> ); }; export default App; 4 Accessing collections import { useRxCollection } from 'rxdb/plugins/react'; const collection = useRxCollection('heroes'); The hook returns the collection once it becomes available. During the initial render, the value may be undefined, so components must handle this case. This hook does not subscribe to any data. It only provides access to the collection instance. 5 Queries To render query results in your component, use the useRxQuery hook. import { useRxQuery } from 'rxdb/plugins/react'; const query = { collection: 'heroes', query: { selector: {}, sort: [{ name: 'asc' }] } }; const HeroCount = () => { const { results, loading } = useRxQuery(query); if (loading) { return <span>Loading...</span>; } return <span>Total heroes: {results.length}</span>; }; The query is executed when the component renders. If the component re-renders, the query may be re-executed, but changes in the underlying data will not automatically trigger updates. This hook is well suited for static views, server-side rendering, and cases where live updates are not required. 6 Live queries Most React applications require views that automatically update when the database changes. For this purpose, RxDB provides the useLiveRxQuery hook. The hook accepts a query description object and returns the current results together with a loading state. import { useLiveRxQuery } from 'rxdb/plugins/react'; const query = { collection: 'heroes', query: { selector: {}, sort: [{ name: 'asc' }] } }; const HeroList = () => { const { results, loading } = useLiveRxQuery(query); if (loading) { return <span>Loading...</span>; } return ( <ul> {results.map(hero => ( <li key={hero.name}>{hero.name}</li> ))} </ul> ); }; The component automatically re-renders whenever the query result changes. Subscriptions are created when the component mounts and are cleaned up automatically when the component unmounts. The returned documents are fully reactive RxDB documents and can be modified or removed directly. ","version":"Next","tagName":"h2"},{"title":"React Native compatibility","type":1,"pageTitle":"React","url":"/react.html#react-native-compatibility","content":" All hooks and providers described on this page work the same way in React Native. The React integration does not rely on any browser-specific APIs. The only platform-specific part of a React Native setup is database creation, where a different storage plugin is typically used. Once the database is created, the React integration behaves identically. ","version":"Next","tagName":"h2"},{"title":"Signals","type":1,"pageTitle":"React","url":"/react.html#signals","content":" In addition to the React hooks shown on this page, RxDB also supports alternative reactivity models such as signals. RxDB's core reactivity system can be configured to expose reactive values using different primitives instead of RxJS observables, which makes it possible to integrate RxDB with signal-based approaches in React or other frameworks. This is an advanced capability and is independent of the React integration described here. For more details about how RxDB's reactivity system works and how custom reactivity can be configured, see the Reactivity documentation. ","version":"Next","tagName":"h2"},{"title":"Follow Up","type":1,"pageTitle":"React","url":"/react.html#follow-up","content":" RxDB includes a full React example application that demonstrates the patterns described on this page, including database creation outside of React, usage of RxDatabaseProvider, and data access via useRxQuery, useLiveRxQuery, and `useRxCollection. A corresponding React Native example is also available and shows the same integration concepts applied in a mobile environment, with only the platform-specific storage and setup differing. ","version":"Next","tagName":"h2"},{"title":"React Native Database","type":0,"sectionRef":"#","url":"/react-native-database.html","content":"","keywords":"","version":"Next"},{"title":"Database Solutions for React-Native","type":1,"pageTitle":"React Native Database","url":"/react-native-database.html#database-solutions-for-react-native","content":" There are multiple database solutions that can be used with React Native. While I would recommend to use RxDB for most use cases, it is still helpful to learn about other alternatives. ","version":"Next","tagName":"h2"},{"title":"AsyncStorage","type":1,"pageTitle":"React Native Database","url":"/react-native-database.html#asyncstorage","content":" AsyncStorage is a key->value storage solution that works similar to the browsers localstorage API. The big difference is that access to the AsyncStorage is not a blocking operation but instead everything is Promise based. This is a big benefit because long running writes and reads will not block your JavaScript process which would cause a laggy user interface. /** * Because it is Promise-based, * you have to 'await' the call to getItem() */ await setItem('myKey', 'myValue'); const value = await AsyncStorage.getItem('myKey'); AsyncStorage was originally included in React Native itself. But it was deprecated by the React Native Team which recommends to use a community based package instead. There is a community fork of AsyncStorage that is actively maintained and open source. AsyncStorage is fine when only a small amount of data needs to be stored and when no query capabilities besides the key-access are required. Complex queries or features are not supported which makes AsyncStorage not suitable for anything more than storing simple user settings data. ","version":"Next","tagName":"h3"},{"title":"SQLite","type":1,"pageTitle":"React Native Database","url":"/react-native-database.html#sqlite","content":" SQLite is a SQL based relational database written in C that was crafted to be embed inside of applications. Operations are written in the SQL query language and SQLite generally follows the PostgreSQL syntax. To use SQLite in React Native, you first have to include the SQLite library itself as a plugin. There a different project out there that can be used, but I would recommend to use the react-native-quick-sqlite project. First you have to install the library into your React Native project via npm install react-native-quick-sqlite. In your code you can then import the library and create a database connection: import {open} from 'react-native-quick-sqlite'; const db = open('myDb.sqlite'); Notice that SQLite is a file based database where all data is stored directly in the filesystem of the OS. Therefore to create a connection, you have to provide a filename. With the open connection you can then run SQL queries: let { rows } = db.execute('SELECT somevalue FROM sometable'); If that does not work for you, you might want to try the react-native-sqlite-storage project instead which is also very popular. Downsides of Using SQLite in UI-Based Apps While SQLite is reliable and well-tested, it has several shortcomings when it comes to using it directly in UI-based React Native applications: Lack of Observability: Out of the box, SQLite does not offer a straightforward way to observe queries or document fields. This means that implementing real-time data updates in your UI requires additional layers or libraries.Bridging Overhead: Each query or data operation must go through the React Native bridge to access the native SQLite module. This can introduce performance bottlenecks or responsiveness issues, especially for large or complex data operations.No Built-In Replication: SQLite on its own is not designed for syncing data across multiple devices or with a backend. If your app requires multi-device data syncing or offline-first features, additional tools or a custom solution are necessary.Version Management: Handling schema changes often requires a custom migration process. If your data structure evolves frequently, managing these migrations can be cumbersome. Overall, SQLite can be a good solution for straightforward, local-only data storage where complex real-time features or synchronization are not needed. For more advanced requirements, like reactive UI updates or multi-client data replication, you'll likely want a more feature-rich solution. ","version":"Next","tagName":"h3"},{"title":"PouchDB","type":1,"pageTitle":"React Native Database","url":"/react-native-database.html#pouchdb","content":" PouchDB is a JavaScript NoSQL database that follows the API of the Apache CouchDB server database. The core feature of PouchDB is the ability to do a two-way replication with any CouchDB compliant endpoint. While PouchDB is pretty mature, it has some drawbacks that blocks it from being used in a client-side React Native application. For example it has to store all documents states over time which is required to replicate with CouchDB. Also it is not easily possible to fully purge documents and so it will fill up disc space over time. A big problem is also that PouchDB is not really maintained and major bugs like wrong query results are not fixed anymore. The performance of PouchDB is a general bottleneck which is caused by how it has to store and fetch documents while being compliant to CouchDB. The only real reason to use PouchDB in React Native, is when you want to replicate with a CouchDB or Couchbase server. Because PouchDB is based on an adapter system for storage, there are two options to use it with React Native: Either use the pouchdb-adapter-react-native-sqlite adapteror the pouchdb-adapter-asyncstorage adapter. Because the asyncstorage adapter is no longer maintained, it is recommended to use the native-sqlite adapter: First you have to install the adapter and other dependencies via npm install pouchdb-adapter-react-native-sqlite react-native-quick-sqlite react-native-quick-websql. Then you have to craft a custom PouchDB class that combines these plugins: import 'react-native-get-random-values'; import PouchDB from 'pouchdb-core'; import HttpPouch from 'pouchdb-adapter-http'; import replication from 'pouchdb-replication'; import mapreduce from 'pouchdb-mapreduce'; import SQLiteAdapterFactory from 'pouchdb-adapter-react-native-sqlite'; import WebSQLite from 'react-native-quick-websql'; const SQLiteAdapter = SQLiteAdapterFactory(WebSQLite); export default PouchDB.plugin(HttpPouch) .plugin(replication) .plugin(mapreduce) .plugin(SQLiteAdapter); This can then be used to create a PouchDB database instance which can store and query documents: const db = new PouchDB('mydb.db', { adapter: 'react-native-sqlite' }); ","version":"Next","tagName":"h3"},{"title":"RxDB","type":1,"pageTitle":"React Native Database","url":"/react-native-database.html#rxdb","content":" RxDB is an local-first, NoSQL-database for JavaScript applications. It is reactive which means that you can not only query the current state, but subscribe to all state changes like the result of a query or even a single field of a document. This is great for UI-based realtime applications in a way that makes it easy to develop realtime applications like what you need in React Native. Key benefits of RxDB include: Observability and Real-Time Queries: Automatic UI updates when underlying data changes, making it much simpler to build responsive, reactive apps.Offline-First and Sync: Built-in support for syncing with CouchDB, or via GraphQL replication, allowing your app to work offline and seamlessly sync when online. It is easy to make the RxDB replication compatible with anything that supports HTTP.Encryption and Data Security: RxDB supports field-level encryption and a robust plugin ecosystem for compression and attachments.Data Modeling and Ease of Use: Offers a schema-based approach that helps catch invalid data early and ensures consistency.Performance: Optimized for storing and querying large amounts of data on mobile devices. There are multiple ways to use RxDB in React Native: Use the memory RxStorage that stores the data inside of the JavaScript memory without persistenceUse the SQLite RxStorage with the react-native-quick-sqlite plugin. It is recommended to use the SQLite RxStorage because it has the best performance and is the easiest to set up. However it is part of the 👑 Premium Plugins which must be purchased, so to try out RxDB with React Native, you might want to use the memory storage first. Later you can replace it with the SQLite storage by just changing two lines of configuration. First you have to install all dependencies via npm install rxdb rxjs rxdb-premium react-native-quick-sqlite. Then you can assemble the RxStorage and create a database with it: 1 Import RxDB and SQLite import { createRxDatabase } from 'rxdb'; import { open } from 'react-native-quick-sqlite'; RxDB Core RxDB Premium 👑 import { getRxStorageSQLiteTrial, getSQLiteBasicsCapacitor } from 'rxdb/plugins/storage-sqlite'; 2 Create a database const myRxDatabase = await createRxDatabase({ // Instead of a simple name, // you can use a folder path to determine the database location name: 'exampledb', multiInstance: false, // <- Set this to false when using RxDB in React Native storage: getRxStorageSQLite({ sqliteBasics: getSQLiteBasicsQuickSQLite(open) }) }); 3 Add a Collection const collections = await myRxDatabase.addCollections({ humans: { schema: { version: 0, type: 'object', primaryKey: 'id', properties: { id: { type: 'string', maxLength: 100 }, name: { type: 'string' }, age: { type: 'number' } }, required: ['id', 'name'] } } }); 4 Insert a Document await collections.humans.insert({id: 'foo', name: 'bar'}); 5 Run a Query const result = await collections.humans.find({ selector: { name: 'bar' } }).exec(); 6 Observe a Query await collections.humans.find({ selector: { name: 'bar' } }).$.subscribe(result => {/* ... */}); Using the SQLite RxStorage is pretty fast, which is shown in the performance comparison. To learn more about using RxDB with React Native, you might want to check out this example project. Also RxDB provides many other features like encryption or compression. You can even store binary data as attachments or use RxDB as an ORM in React Native. ","version":"Next","tagName":"h3"},{"title":"Realm","type":1,"pageTitle":"React Native Database","url":"/react-native-database.html#realm","content":" Realm is another database solution that is particularly popular in the mobile world. Originally an independent project, Realm is now owned by MongoDB, and has seen deeper integration with MongoDB services over time. Pros: Fast, object-based database approach with an easy data model.Historically known for good performance and a simple, user-friendly API. Downsides: Forced MongoDB Cloud Usage: Realm Sync is now tightly coupled with MongoDB Realm Cloud. If you want to use their full sync or advanced features, you are essentially locked into MongoDB's ecosystem, which can be a downside if you need on-premise or custom hosting.Missing or Limited Features: While Realm covers many basic needs, some developers find that advanced queries or certain offline-first features are not as robust or flexible as other solutions.Vendor Lock-In: If you rely heavily on Realm Sync, migrating away from MongoDB's cloud can be difficult because the sync logic and data format are tightly integrated.Community Concerns: Since the MongoDB acquisition, some worry about Realm's open-source future and whether large changes or new features will remain community-friendly. Although Realm can be a good solution when used purely as a local database, if you plan on syncing data across clients or want to avoid cloud vendor lock-in, you should consider carefully how MongoDB's ownership might affect your long-term plans. ","version":"Next","tagName":"h3"},{"title":"Firebase / Firestore","type":1,"pageTitle":"React Native Database","url":"/react-native-database.html#firebase--firestore","content":" Firestore is a cloud based database technology that stores data on clients devices and replicates it with the Firebase cloud service that is run by google. It has many features like observability and authentication. The main feature lacking is the non-complete offline first support because clients cannot start the application while being offline because then the authentication does not work. After they are authenticated, being offline is no longer a problem. Also using firestore creates a vendor lock-in because it is not possible to replicate with a custom self hosted backend. To get started with Firestore in React Native, it is recommended to use the React Native Firebase open-source project. ","version":"Next","tagName":"h3"},{"title":"Summary","type":1,"pageTitle":"React Native Database","url":"/react-native-database.html#summary","content":" Characteristic\tAsyncStorage\tSQLite\tPouchDB\tRxDB\tRealm\tFirestoreDatabase Type\tKey-value store, no advanced queries\tEmbedded SQL engine in a local file\tNoSQL doc store, revision-based\tNoSQL doc-based (JSON)\tObject-based (MongoDB-owned)\tNoSQL doc-based, cloud by Google Query Model\tgetItem/setItem only\tStandard SQL statements\tMap/reduce or basic Mango queries\tJSON-based query language, optional indexes\tObject-level queries, sync with MongoDB Realm\tDocument queries, limited advanced ops Observability\tNone built-in\tNo direct reactivity\tChanges feed from Couch-style backend\tBuilt-in reactive queries, UI auto-updates\tLocal reactivity, or realm sync (cloud)\tReal-time snapshots, partial offline Offline Replication\tNone\tNone by default\tCouchDB-compatible sync\tBuilt-in sync (HTTP, GraphQL, CouchDB, etc.)\tRealm Cloud sync only\tBasic offline caching, re-auth needed Performance\tFine for small keys/values\tGenerally good; bridging overhead\tOK for mid data sets; can bloat over time\tVaries by storage; Dexie/SQLite w/ compression can be fast\tTypically fast on mobile\tGood read-heavy perf; can be rate-limited, costly Schema Handling\tNone\tSQL schema, migrations needed\tNo formal schema, doc-based\tOptional JSON-Schema, typed checks, compression\tDeclarative schema, migration needed\tNo strict schema; rules in console mostly Usage Cases\tStore small user settings\tLocal structured data, moderate queries\tBasic doc store, synergy with CouchDB\tReactive offline-first for large or dynamic data\tLocal object DB, locked to MongoDB realm sync\tReal-time Google backend, partial offline, vendor lock-in ","version":"Next","tagName":"h3"},{"title":"Follow up","type":1,"pageTitle":"React Native Database","url":"/react-native-database.html#follow-up","content":" A good way to learn using RxDB database with React Native is to check out the RxDB React Native example and use that as a tutorial.If you haven't done so yet, you should start learning about RxDB with the Quickstart Tutorial.There is a followup list of other client side database alternatives that might work with React Native. ","version":"Next","tagName":"h2"},{"title":"Replication with CouchDB","type":0,"sectionRef":"#","url":"/replication-couchdb.html","content":"","keywords":"","version":"Next"},{"title":"Pros","type":1,"pageTitle":"Replication with CouchDB","url":"/replication-couchdb.html#pros","content":" Faster initial replication.Works with any RxStorage, not just PouchDB.Easier conflict handling because conflicts are handled during replication and not afterwards.Does not have to store all document revisions on the client, only stores the newest version. ","version":"Next","tagName":"h2"},{"title":"Cons","type":1,"pageTitle":"Replication with CouchDB","url":"/replication-couchdb.html#cons","content":" Does not support the replication of attachments.Like all CouchDB replication plugins, this one is also limited to replicating 6 collections in parallel. Read this for workarounds ","version":"Next","tagName":"h2"},{"title":"Usage","type":1,"pageTitle":"Replication with CouchDB","url":"/replication-couchdb.html#usage","content":" Start the replication via replicateCouchDB(). import { replicateCouchDB } from 'rxdb/plugins/replication-couchdb'; const replicationState = replicateCouchDB( { replicationIdentifier: 'my-couchdb-replication', collection: myRxCollection, // url to the CouchDB endpoint (required) url: 'http://example.com/db/humans', /** * true for live replication, * false for a one-time replication. * [default=true] */ live: true, /** * A custom fetch() method can be provided * to add authentication or credentials. * Can be swapped out dynamically * by running 'replicationState.fetch = newFetchMethod;'. * (optional) */ fetch: myCustomFetchMethod, pull: { /** * Amount of documents to be fetched in one HTTP request * (optional) */ batchSize: 60, /** * Custom modifier to mutate pulled documents * before storing them in RxDB. * (optional) */ modifier: docData => {/* ... */}, /** * Heartbeat time in milliseconds * for the long polling of the changestream. * @link https://docs.couchdb.org/en/3.2.2-docs/api/database/changes.html * (optional, default=60000) */ heartbeat: 60000 }, push: { /** * How many local changes to process at once. * (optional) */ batchSize: 60, /** * Custom modifier to mutate documents * before sending them to the CouchDB endpoint. * (optional) */ modifier: docData => {/* ... */} } } ); When you call replicateCouchDB() it returns a RxCouchDBReplicationState which can be used to subscribe to events, for debugging or other functions. It extends the RxReplicationState so any other method that can be used there can also be used on the CouchDB replication state. ","version":"Next","tagName":"h2"},{"title":"Conflict handling","type":1,"pageTitle":"Replication with CouchDB","url":"/replication-couchdb.html#conflict-handling","content":" When conflicts appear during replication, the conflictHandler of the RxCollection is used, equal to the other replication plugins. Read more about conflict handling here. ","version":"Next","tagName":"h2"},{"title":"Auth example","type":1,"pageTitle":"Replication with CouchDB","url":"/replication-couchdb.html#auth-example","content":" Lets say for authentication you need to add a bearer token as HTTP header to each request. You can achieve that by crafting a custom fetch() method that add the header field. const myCustomFetch = (url, options) => { // flat clone the given options to not mutate the input const optionsWithAuth = Object.assign({}, options); // ensure the headers property exists if(!optionsWithAuth.headers) { optionsWithAuth.headers = {}; } // add bearer token to headers optionsWithAuth.headers['Authorization'] ='Basic S0VLU0UhIExFQ0...'; // call the original fetch function with our custom options. return fetch( url, optionsWithAuth ); }; const replicationState = replicateCouchDB( { replicationIdentifier: 'my-couchdb-replication', collection: myRxCollection, url: 'http://example.com/db/humans', /** * Add the custom fetch function here. */ fetch: myCustomFetch, pull: {}, push: {} } ); Also when your bearer token changes over time, you can set a new custom fetch method while the replication is running: replicationState.fetch = newCustomFetchMethod; Also there is a helper method getFetchWithCouchDBAuthorization() to create a fetch handler with authorization: import { replicateCouchDB, getFetchWithCouchDBAuthorization } from 'rxdb/plugins/replication-couchdb'; const replicationState = replicateCouchDB( { replicationIdentifier: 'my-couchdb-replication', collection: myRxCollection, url: 'http://example.com/db/humans', /** * Add the custom fetch function here. */ fetch: getFetchWithCouchDBAuthorization('myUsername', 'myPassword'), pull: {}, push: {} } ); ","version":"Next","tagName":"h2"},{"title":"Limitations","type":1,"pageTitle":"Replication with CouchDB","url":"/replication-couchdb.html#limitations","content":" Since CouchDB only allows synchronization through HTTP1.1 long polling requests there is a limitation of 6 active synchronization connections before the browser prevents sending any further request. This limitation is at the level of browser per tab per domain (some browser, especially older ones, might have a different limit, see here). Since this limitation is at the browser level there are several solutions: Use only a single database for all entities and set a "type" field for each of the documentsCreate multiple subdomains for CouchDB and use a max of 6 active synchronizations (or less) for eachUse a proxy (ex: HAProxy) between the browser and CouchDB and configure it to use HTTP2.0, since HTTP2.0 If you use nginx in front of your CouchDB, you can use these settings to enable http2-proxying to prevent the connection limit problem: server { http2 on; location /db { rewrite /db/(.*) /$1 break; proxy_pass http://172.0.0.1:5984; proxy_redirect off; proxy_buffering off; proxy_set_header Host $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded proxy_set_header Connection "keep_alive" } } ","version":"Next","tagName":"h2"},{"title":"Known problems","type":1,"pageTitle":"Replication with CouchDB","url":"/replication-couchdb.html#known-problems","content":" ","version":"Next","tagName":"h2"},{"title":"Database missing","type":1,"pageTitle":"Replication with CouchDB","url":"/replication-couchdb.html#database-missing","content":" In contrast to PouchDB, this plugin does NOT automatically create missing CouchDB databases. If your CouchDB server does not have a database yet, you have to create it by yourself by running a PUT request to the database name url: // create a 'humans' CouchDB database on the server const remoteDatabaseName = 'humans'; await fetch( 'http://example.com/db/' + remoteDatabaseName, { method: 'PUT' } ); ","version":"Next","tagName":"h3"},{"title":"React Native","type":1,"pageTitle":"Replication with CouchDB","url":"/replication-couchdb.html#react-native","content":" React Native does not have a global fetch method. You have to import fetch method with the cross-fetch package: import crossFetch from 'cross-fetch'; const replicationState = replicateCouchDB( { replicationIdentifier: 'my-couchdb-replication', collection: myRxCollection, url: 'http://example.com/db/humans', fetch: crossFetch, pull: {}, push: {} } ); ","version":"Next","tagName":"h2"},{"title":"Replication with Firestore from Firebase","type":0,"sectionRef":"#","url":"/replication-firestore.html","content":"","keywords":"","version":"Next"},{"title":"Usage","type":1,"pageTitle":"Replication with Firestore from Firebase","url":"/replication-firestore.html#usage","content":" 1 Install the firebase package npm install firebase 2 Initialize your Firestore Database import * as firebase from 'firebase/app'; import { getFirestore, collection } from 'firebase/firestore'; const projectId = 'my-project-id'; const app = firebase.initializeApp({ projectId, databaseURL: 'http://localhost:8080?ns=' + projectId, /* ... */ }); const firestoreDatabase = getFirestore(app); const firestoreCollection = collection(firestoreDatabase, 'my-collection-name'); 3 Start the Replication Start the replication by calling replicateFirestore() on your RxCollection. const replicationState = replicateFirestore({ replicationIdentifier: `https://firestore.googleapis.com/${projectId}`, collection: myRxCollection, firestore: { projectId, database: firestoreDatabase, collection: firestoreCollection }, /** * (required) Enable push and pull replication with firestore by * providing an object with optional filter * for each type of replication desired. * [default=disabled] */ pull: {}, push: {}, /** * Either do a live or a one-time replication * [default=true] */ live: true, /** * (optional) likely you should just use the default. * * In firestore it is not possible to read out * the internally used write timestamp of a document. * Even if we could read it out, it is not indexed which * is required for fetch 'changes-since-x'. * So instead we have to rely on a custom user defined field * that contains the server time * which is set by firestore via serverTimestamp() * Notice that the serverTimestampField MUST NOT be * part of the collections RxJsonSchema! * [default='serverTimestamp'] */ serverTimestampField: 'serverTimestamp' }); To observe and cancel the replication, you can use any other methods from the ReplicationState like error$, cancel() and awaitInitialReplication(). ","version":"Next","tagName":"h2"},{"title":"Handling deletes","type":1,"pageTitle":"Replication with Firestore from Firebase","url":"/replication-firestore.html#handling-deletes","content":" RxDB requires you to never fully delete documents. This is needed to be able to replicate the deletion state of a document to other instances. The firestore replication will set a boolean _deleted field to all documents to indicate the deletion state. You can change this by setting a different deletedField in the sync options. ","version":"Next","tagName":"h2"},{"title":"Do not set enableIndexedDbPersistence()","type":1,"pageTitle":"Replication with Firestore from Firebase","url":"/replication-firestore.html#do-not-set-enableindexeddbpersistence","content":" Firestore has the enableIndexedDbPersistence() feature which caches document states locally to IndexedDB. This is not needed when you replicate your Firestore with RxDB because RxDB itself will store the data locally already. ","version":"Next","tagName":"h2"},{"title":"Using the replication with an already existing Firestore Database State","type":1,"pageTitle":"Replication with Firestore from Firebase","url":"/replication-firestore.html#using-the-replication-with-an-already-existing-firestore-database-state","content":" If you have not used RxDB before and you already have documents inside of your Firestore database, you have to manually set the _deleted field to false and the serverTimestamp to all existing documents. import { getDocs, query, serverTimestamp } from 'firebase/firestore'; const allDocsResult = await getDocs(query(firestoreCollection)); allDocsResult.forEach(doc => { doc.update({ _deleted: false, serverTimestamp: serverTimestamp() }) }); Also notice that if you do writes from non-RxDB applications, you have to keep these fields in sync. It is recommended to use the Firestore triggers to ensure that. ","version":"Next","tagName":"h2"},{"title":"Filtered Replication","type":1,"pageTitle":"Replication with Firestore from Firebase","url":"/replication-firestore.html#filtered-replication","content":" You might need to replicate only a subset of your collection, either to or from Firestore. You can achieve this using push.filter and pull.filter options. const replicationState = replicateFirestore( { collection: myRxCollection, firestore: { projectId, database: firestoreDatabase, collection: firestoreCollection }, pull: { filter: [ where('ownerId', '==', userId) ] }, push: { filter: (item) => item.syncEnabled === true } } ); Keep in mind that you can not use inequality operators (<, <=, !=, not-in, >, or >=) in pull.filter since that would cause a conflict with ordering by serverTimestamp. ","version":"Next","tagName":"h2"},{"title":"RxDB Appwrite Replication","type":0,"sectionRef":"#","url":"/replication-appwrite.html","content":"","keywords":"","version":"Next"},{"title":"Why you should use RxDB with Appwrite?","type":1,"pageTitle":"RxDB Appwrite Replication","url":"/replication-appwrite.html#why-you-should-use-rxdb-with-appwrite","content":" Appwrite is a secure, open-source backend server that simplifies backend tasks like user authentication, storage, database management, and real-time APIs. RxDB is a reactive database for the frontend that offers offline-first capabilities and rich client-side data handling. Combining the two provides several benefits: Offline-First: RxDB keeps all data locally, so your application remains fully functional even when the network is unavailable. When connectivity returns, the RxDB ↔ Appwrite replication automatically resolves and synchronizes changes. Real-Time Sync: With Appwrite’s real-time subscriptions and RxDB’s live replication, you can build collaborative features that update across all clients instantaneously. Conflict Handling: RxDB offers flexible conflict resolution strategies, making it simpler to handle concurrent edits across multiple users or devices. Scalable & Secure: Appwrite is built to handle production loads with granular access controls, while RxDB easily scales across various storage backends on the client side. Simplicity & Modularity: RxDB’s plugin-based architecture, combined with Appwrite’s Cloud offering makes it one of the easiest way to build local-first realtime apps that scale. Client A Client B Client C ","version":"Next","tagName":"h2"},{"title":"Preparing the Appwrite Server","type":1,"pageTitle":"RxDB Appwrite Replication","url":"/replication-appwrite.html#preparing-the-appwrite-server","content":" You can either use the appwrite cloud or self-host the Appwrite server. In this tutorial we use the Cloud which is recommended for beginners because it is way easier to set up. You can later decide to self-host if needed. 1 Set up an Appwrite Endpoint and Project Self-Hosted Appwrite Cloud 1 Docker Ensure docker and docker-compose is installed and your version are up to date: docker-compose -v 2 Run the installation script The installation script runs inside of a docker container. It will create a docker-compose file and an .env file. docker run -it --rm \\ --volume /var/run/docker.sock:/var/run/docker.sock \\ --volume "$(pwd)"/appwrite:/usr/src/code/appwrite:rw \\ --entrypoint="install" \\ appwrite/appwrite:1.6.1 3 Start/Stop After the installation is done, you can manually stop and start the appwrite instance with docker compose: # stop docker-compose down # start docker-compose up 2 Create an Appwrite Database and Collection After creating an Appwrite project you have to create an Appwrite Database and a collection, you can either do this in code with the node-appwrite SDK or in the Appwrite Console as shown in this video: 9:47 Appwrite Database Tutorial 3 Add your documents attributes In the appwrite collection, create all attributes of your documents. You have to define all the fields that your document in your RxDB schema knows about. Notice that Appwrite does not allow for nested attributes. So when you use RxDB with Appwrite, you should also not have nested attributes in your RxDB schema. 4 Add a deleted attribute Appwrite (natively) hard-deletes documents. But for offline-handling RxDB needs soft-deleted documents on the server so that the deletion state can be replicated with other clients. In RxDB, _deleted indicates that a document is removed locally and you need a similar field in your Appwrite collection on the Server: You must define a deletedField with any name to mark documents as "deleted" in the remote collection. Mostly you would use a boolean field named deleted (set it to required). The plugin will treat any document with { [deletedField]: true } as deleted and replicate that state to local RxDB. 5 Set the Permission on the Appwrite Collection Appwrite uses permissions to control data access on the collection level. Make sure that in the Console at Collection -> Settings -> Permissions you have set the permission according to what you want to allow your clients to do. For testing, just enable all of them (Create, Read, Update and Delete). ","version":"Next","tagName":"h2"},{"title":"Setting up the RxDB - Appwrite Replication","type":1,"pageTitle":"RxDB Appwrite Replication","url":"/replication-appwrite.html#setting-up-the-rxdb---appwrite-replication","content":" Now that we have set up the Appwrite server, we can go to the client side code and set up RxDB and the replication: 1 Install the Appwrite SDK and RxDB: npm install appwrite rxdb 2 Import the Appwrite SDK and RxDB import { replicateAppwrite } from 'rxdb/plugins/replication-appwrite'; import { createRxDatabase, addRxPlugin, RxCollection } from 'rxdb/plugins/core'; import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage'; import { Client } from 'appwrite'; 3 Create a Database with a Collection const db = await createRxDatabase({ name: 'mydb', storage: getRxStorageLocalstorage() }); const mySchema = { title: 'my schema', version: 0, primaryKey: 'id', type: 'object', properties: { id: { type: 'string', maxLength: 100 }, name: { type: 'string' } }, required: ['id', 'name'] }; await db.addCollections({ humans: { schema: mySchema } }); const collection = db.humans; 4 Configure the Appwrite Client Appwrite Cloud Self-Hosted const client = new Client(); client.setEndpoint('https://cloud.appwrite.io/v1'); client.setProject('YOUR_APPWRITE_PROJECT_ID'); 5 Start the Replication const replicationState = replicateAppwrite({ replicationIdentifier: 'my-appwrite-replication', client, databaseId: 'YOUR_APPWRITE_DATABASE_ID', collectionId: 'YOUR_APPWRITE_COLLECTION_ID', deletedField: 'deleted', // Field that represents deletion in Appwrite collection, pull: { batchSize: 10, }, push: { batchSize: 10 }, /* * ... * You can set all other options for RxDB replication states * like 'live' or 'retryTime' * ... */ }); 6 Do other things with the replication state The RxAppwriteReplicationState which is returned from replicateAppwrite() allows you to run all functionality of the normal RxReplicationState. ","version":"Next","tagName":"h2"},{"title":"Limitations of the Appwrite Replication Plugin","type":1,"pageTitle":"RxDB Appwrite Replication","url":"/replication-appwrite.html#limitations-of-the-appwrite-replication-plugin","content":" Appwrite primary keys only allow for the characters a-z, A-Z, 0-9, and underscore _ (They cannot start with a leading underscore). Also the primary key has a max length of 36 characters.The Appwrite replication only works on browsers. This is because the Appwrite SDK does not support subscriptions in Node.js.Appwrite does not allow for bulk write operations so on push one HTTP request will be made per document. Reads run in bulk so this is mostly not a problem.Appwrite does not allow for transactions or "update-if" calls which can lead to overwriting documents instead of properly handling conflicts when multiple clients edit the same document in parallel. This is not a problem for inserts because "insert-if-not" calls are made.Nested attributes in Appwrite collections are only possible via experimental relationship attributes, and compatibility with RxDB is not tested. Users opting to use these experimental relationship attributes with RxDB do so at their own risk. ","version":"Next","tagName":"h2"},{"title":"Replication with NATS","type":0,"sectionRef":"#","url":"/replication-nats.html","content":"","keywords":"","version":"Next"},{"title":"Precondition","type":1,"pageTitle":"Replication with NATS","url":"/replication-nats.html#precondition","content":" For the replication endpoint the NATS cluster must have enabled JetStream and store all message data as structured JSON. The easiest way to start a compatible NATS server is to use the official docker image: docker run --rm --name rxdb-nats -p 4222:4222 nats:2.9.17 -js ","version":"Next","tagName":"h2"},{"title":"Usage","type":1,"pageTitle":"Replication with NATS","url":"/replication-nats.html#usage","content":" 1 Install the nats package npm install nats --save 2 Start the Replication To start the replication, import the replicateNats() method from the RxDB plugin and call it with the collection that must be replicated. The replication runs per RxCollection, you can replicate multiple RxCollections by starting a new replication for each of them. import { replicateNats } from 'rxdb/plugins/replication-nats'; const replicationState = replicateNats({ collection: myRxCollection, replicationIdentifier: 'my-nats-replication-collection-A', // in NATS, each stream need a name streamName: 'stream-for-replication-A', /** * The subject prefix determines how the documents are stored in NATS. * For example the document with id 'alice' * will have the subject 'foobar.alice' */ subjectPrefix: 'foobar', connection: { servers: 'localhost:4222' }, live: true, pull: { batchSize: 30 }, push: { batchSize: 30 } }); ","version":"Next","tagName":"h2"},{"title":"Handling deletes","type":1,"pageTitle":"Replication with NATS","url":"/replication-nats.html#handling-deletes","content":" RxDB requires you to never fully delete documents. This is needed to be able to replicate the deletion state of a document to other instances. The NATS replication will set a boolean _deleted field to all documents to indicate the deletion state. You can change this by setting a different deletedField in the sync options. ","version":"Next","tagName":"h2"},{"title":"The RxDB Plugin replication-p2p has been renamed to replication-webrtc","type":0,"sectionRef":"#","url":"/replication-p2p.html","content":"The RxDB Plugin replication-p2p has been renamed to replication-webrtc The new documentation page has been moved to here","keywords":"","version":"Next"},{"title":"MongoDB Replication Plugin for RxDB - Real-Time, Offline-First Sync","type":0,"sectionRef":"#","url":"/replication-mongodb.html","content":"","keywords":"","version":"Next"},{"title":"Key Features","type":1,"pageTitle":"MongoDB Replication Plugin for RxDB - Real-Time, Offline-First Sync","url":"/replication-mongodb.html#key-features","content":" Two-way replication between MongoDB and RxDB collectionsOffline-first support with automatic incremental re-syncIncremental updates via MongoDB Change StreamsConflict resolution handled by the RxDB Sync EngineAtlas and self-hosted support for replica sets and sharded clusters ","version":"Next","tagName":"h2"},{"title":"Architecture Overview","type":1,"pageTitle":"MongoDB Replication Plugin for RxDB - Real-Time, Offline-First Sync","url":"/replication-mongodb.html#architecture-overview","content":" The plugin operates in a three-tier architecture: Clients connect to RxServer, which in turn connects to MongoDB. RxServer streams changes from MongoDB to connected clients and pushes client-side updates back to MongoDB. For the client side, RxServer exposes a replication endpoint over WebSocket or HTTP, which your RxDB-powered applications can consume. The following diagram illustrates the flow of updates between clients, RxServer, and MongoDB in a live synchronization setup: Client A RxServer MongoDB Client B Client C note The MongoDB Replication Plugin is optimized for Node.js environments (e.g., when RxDB runs within RxServer or other backend services). Direct connections from browsers or mobile apps to MongoDB are not supported because MongoDB does not use HTTP as its wire protocol and requires a driver-level connection to a replica set or sharded cluster. ","version":"Next","tagName":"h2"},{"title":"Setting up the Client-RxServer-MongoDB Sync","type":1,"pageTitle":"MongoDB Replication Plugin for RxDB - Real-Time, Offline-First Sync","url":"/replication-mongodb.html#setting-up-the-client-rxserver-mongodb-sync","content":" 1 Install the Client Dependencies In your JavaScript project, install the RxDB libraries and the MongoDB node.js driver: npm install rxdb rxdb-server mongodb --save 2 Set up a MongoDB Server As first step, you need access to a running MongoDB Server. This can be done by either running a server locally or using the Atlas Cloud. Notice that we need to have a replica set because only on these, the MongoDB changestream can be used. Shell Docker MongoDB Atlas If you have installed MongoDB locally, you can start the server with this command: mongod --replSet rs0 --bind_ip_all After this step you should have a valid connection string that points to a running MongoDB Server like mongodb://localhost:27017/. 3 Create a MongoDB Database and Collection On your MongoDB server, make sure to create a database and a collection. //> server.ts import { MongoClient } from 'mongodb'; const mongoClient = new MongoClient('mongodb://localhost:27017/?directConnection=true'); const mongoDatabase = mongoClient.db('my-database'); await mongoDatabase.createCollection('my-collection', { changeStreamPreAndPostImages: { enabled: true } }); note To observe document deletions on the changestream, changeStreamPreAndPostImages must be enabled. This is not required if you have an insert/update-only collection where no documents are deleted ever. 4 Create a RxDB Database and Collection Now we create an RxDB database and a collection. In this example the memory storage, in production you would use a persistent storage instead. //> server.ts import { createRxDatabase, addRxPlugin } from 'rxdb'; import { getRxStorageMemory } from 'rxdb/plugins/storage-memory'; // Create server-side RxDB instance const db = await createRxDatabase({ name: 'serverdb', storage: getRxStorageMemory() }); // Add your collection schema await db.addCollections({ humans: { schema: { version: 0, primaryKey: 'passportId', type: 'object', properties: { passportId: { type: 'string', maxLength: 100 }, firstName: { type: 'string' }, lastName: { type: 'string' } }, required: ['passportId', 'firstName', 'lastName'] } } }); 5 Sync the Collection with the MongoDB Server Now we can start a replication that does a two-way replication between the RxDB Collection and the MongoDB Collection. //> server.ts import { replicateMongoDB } from 'rxdb/plugins/replication-mongodb'; const replicationState = replicateMongoDB({ mongodb: { collectionName: 'my-collection', connection: 'mongodb://localhost:27017', databaseName: 'my-database' }, collection: db.humans, replicationIdentifier: 'humans-mongodb-sync', pull: { batchSize: 50 }, push: { batchSize: 50 }, live: true }); You can do many things with the replication state The RxMongoDBReplicationState which is returned from replicateMongoDB() allows you to run all functionality of the normal RxReplicationState like observing errors or doing start/stop operations. 6 Start a RxServer Now that we have a RxDatabase and Collection that is replicated with MongoDB, we can spawn a RxServer on top of it. This server can then be used by client devices to connect. //> server.ts import { createRxServer } from 'rxdb-server/plugins/server'; import { RxServerAdapterExpress } from 'rxdb-server/plugins/adapter-express'; const server = await createRxServer({ database: db, adapter: RxServerAdapterExpress, port: 8080, cors: '*' }); const endpoint = server.addReplicationEndpoint({ name: 'humans', collection: db.humans }); console.log('Replication endpoint:', `http://localhost:8080/${endpoint.urlPath}`); // do not forget to start the server! await server.start(); 7 Sync a Client with the RxServer On the client-side we create the exact same RxDatabase and collection and then replicate it with the replication endpoint of the RxServer. //> client.ts import { createRxDatabase } from 'rxdb'; import { getRxStorageDexie } from 'rxdb/plugins/storage-dexie'; import { replicateServer } from 'rxdb-server/plugins/replication-server'; const db = await createRxDatabase({ name: 'mydb-client', storage: getRxStorageDexie() }); await db.addCollections({ humans: { schema: { version: 0, primaryKey: 'passportId', type: 'object', properties: { passportId: { type: 'string', maxLength: 100 }, firstName: { type: 'string' }, lastName: { type: 'string' } }, required: ['passportId', 'firstName', 'lastName'] } } }); // Start replication to the RxServer endpoint printed by the server: // e.g. http://localhost:8080/humans/0 const replicationState = replicateServer({ replicationIdentifier: 'humans-rxserver', collection: db.humans, url: 'http://localhost:8080/humans/0', live: true, pull: { batchSize: 50 }, push: { batchSize: 50 } }); ","version":"Next","tagName":"h2"},{"title":"Follow Up","type":1,"pageTitle":"MongoDB Replication Plugin for RxDB - Real-Time, Offline-First Sync","url":"/replication-mongodb.html#follow-up","content":" Try it out with the RxDB-MongoDB example repositoryRead From Local to Global: Scalable Edge Apps with RxDB + MongoDBReplication API ReferenceRxServer DocumentationJoin our Discord Forum for questions and feedback ","version":"Next","tagName":"h2"},{"title":"HTTP Replication from a custom server to RxDB clients","type":0,"sectionRef":"#","url":"/replication-http.html","content":"","keywords":"","version":"Next"},{"title":"Setup","type":1,"pageTitle":"HTTP Replication from a custom server to RxDB clients","url":"/replication-http.html#setup","content":" 1 Start the Replication on the RxDB Client RxDB does not have a specific HTTP-replication plugin because the replication primitives plugin is simple enough to start a HTTP replication on top of it. We import the replicateRxCollection function and start the replication from there for a single RxCollection. // > client.ts import { replicateRxCollection } from 'rxdb/plugins/replication'; const replicationState = await replicateRxCollection({ collection: myRxCollection, replicationIdentifier: 'my-http-replication', push: { /* add settings from below */ }, pull: { /* add settings from below */ } }); 2 Start a Node.js process with Express and MongoDB On the server side, we start an express server that has a MongoDB connection and serves the HTTP requests of the client. // > server.ts import { MongoClient } from 'mongodb'; import express from 'express'; const mongoClient = new MongoClient('mongodb://localhost:27017/'); const mongoConnection = await mongoClient.connect(); const mongoDatabase = mongoConnection.db('myDatabase'); const mongoCollection = await mongoDatabase.collection('myDocs'); const app = express(); app.use(express.json()); /* ... add routes from below */ app.listen(80, () => { console.log(`Example app listening on port 80`) }); 3 Implement the Pull Endpoint As first HTTP Endpoint, we need to implement the pull handler. This is used by the RxDB replication to fetch all documents writes that happened after a given checkpoint. The checkpoint format is not determined by RxDB, instead the server can use any type of changepoint that can be used to iterate across document writes. Here we will just use a unix timestamp updatedAt and a string id which is the most common used format. When the pull endpoint is called, the server responds with an array of document data based on the given checkpoint and a new checkpoint. Also the server has to respect the batchSize so that RxDB knows when there are no more new documents and the server returns a non-full array. // > server.ts import { lastOfArray } from 'rxdb/plugins/core'; app.get('/pull', (req, res) => { const id = req.query.id; const updatedAt = parseFloat(req.query.updatedAt); const documents = await mongoCollection.find({ $or: [ /** * Notice that we have to compare the updatedAt AND the id field * because the updateAt field is not unique and when two documents * have the same updateAt, we can still "sort" them by their id. */ { updateAt: { $gt: updatedAt } }, { updateAt: { $eq: updatedAt } id: { $gt: id } } ] }) .sort({updateAt: 1, id: 1}) .limit(parseInt(req.query.batchSize, 10)).toArray(); const newCheckpoint = documents.length === 0 ? { id, updatedAt } : { id: lastOfArray(documents).id, updatedAt: lastOfArray(documents).updatedAt }; res.setHeader('Content-Type', 'application/json'); res.end(JSON.stringify({ documents, checkpoint: newCheckpoint })); }); 4 Implement the Pull Handler On the client we add the pull.handler to the replication setting. The handler request the correct server url and fetches the documents. // > client.ts const replicationState = await replicateRxCollection({ /* ... */ pull: { async handler(checkpointOrNull, batchSize){ const updatedAt = checkpointOrNull ? checkpointOrNull.updatedAt : 0; const id = checkpointOrNull ? checkpointOrNull.id : ''; const response = await fetch( `https://localhost/pull?updatedAt=${updatedAt}&id=${id}&limit=${batchSize}` ); const data = await response.json(); return { documents: data.documents, checkpoint: data.checkpoint }; } } /* ... */ }); 5 Implement the Push Endpoint To send client side writes to the server, we have to implement the push.handler. It gets an array of change rows as input and has to return only the conflicting documents that did not have been written to the server. Each change row contains a newDocumentState and an optional assumedMasterState. For conflict detection, on the server we first have to detect if the assumedMasterState is correct for each row. If yes, we have to write the new document state to the database, otherwise we have to return the "real" master state in the conflict array. The server also creates an event that is emitted to the pullStream$ which is later used in the pull.stream$. // > server.ts import { lastOfArray } from 'rxdb/plugins/core'; import { Subject } from 'rxjs'; // used in the pull.stream$ below let lastEventId = 0; const pullStream$ = new Subject(); app.get('/push', (req, res) => { const changeRows = req.body; const conflicts = []; const event = { id: lastEventId++, documents: [], checkpoint: null }; for(const changeRow of changeRows){ const realMasterState = mongoCollection.findOne({id: changeRow.newDocumentState.id}); if( realMasterState && !changeRow.assumedMasterState || ( realMasterState && changeRow.assumedMasterState && /* * For simplicity we detect conflicts on the server by only compare the updateAt value. * In reality you might want to do a more complex check or do a deep-equal comparison. */ realMasterState.updatedAt !== changeRow.assumedMasterState.updatedAt ) ) { // we have a conflict conflicts.push(realMasterState); } else { // no conflict -> write the document mongoCollection.updateOne( {id: changeRow.newDocumentState.id}, changeRow.newDocumentState ); event.documents.push(changeRow.newDocumentState); event.checkpoint = { id: changeRow.newDocumentState.id, updatedAt: changeRow.newDocumentState.updatedAt }; } } if(event.documents.length > 0){ myPullStream$.next(event); } res.setHeader('Content-Type', 'application/json'); res.end(JSON.stringify(conflicts)); }); note For simplicity in this tutorial, we do not use transactions. In reality you should run the full push function inside of a MongoDB transaction to ensure that no other process can mix up the document state while the writes are processed. Also you should call batch operations on MongoDB instead of running the operations for each change row. 6 Implement the Push Handler With the push endpoint in place, we can add a push.handler to the replication settings on the client. // > client.ts const replicationState = await replicateRxCollection({ /* ... */ push: { async handler(changeRows){ const rawResponse = await fetch('https://localhost/push', { method: 'POST', headers: { 'Accept': 'application/json', 'Content-Type': 'application/json' }, body: JSON.stringify(changeRows) }); const conflictsArray = await rawResponse.json(); return conflictsArray; } } /* ... */ }); 7 Implement the pullStream$ Endpoint While the normal pull handler is used when the replication is in iteration mode, we also need a stream of ongoing changes when the replication is in event observation mode. This brings the realtime replication to RxDB where changes on the server or on a client will directly get propagated to the other instances. On the server we have to implement the pullStream route and emit the events. We use the pullStream$ observable from above to fetch all ongoing events and respond them to the client. Here we use Server-Sent-Events (SSE) which is the most common used way to stream data from the server to the client. Other method also exist like WebSockets or Long-Polling. // > server.ts app.get('/pullStream', (req, res) => { res.writeHead(200, { 'Content-Type': 'text/event-stream', 'Connection': 'keep-alive', 'Cache-Control': 'no-cache' }); const subscription = pullStream$.subscribe(event => { res.write('data: ' + JSON.stringify(event) + '\\n\\n'); }); req.on('close', () => subscription.unsubscribe()); }); note How the build the pullStream$ Observable is not part of this tutorial. This heavily depends on your backend and infrastructure. Likely you have to observe the MongoDB event stream. 8 Implement the pullStream$ Handler From the client we can observe this endpoint and create a pull.stream$ observable that emits all events that are send from the server to the client. The client connects to an url and receives server-sent-events that contain all ongoing writes. // > client.ts import { Subject } from 'rxjs'; const myPullStream$ = new Subject(); const eventSource = new EventSource( 'http://localhost/pullStream', { withCredentials: true } ); eventSource.onmessage = event => { const eventData = JSON.parse(event.data); myPullStream$.next({ documents: eventData.documents, checkpoint: eventData.checkpoint }); }; const replicationState = await replicateRxCollection({ /* ... */ pull: { /* ... */ stream$: myPullStream$.asObservable() } /* ... */ }); 9 pullStream$ RESYNC flag In case the client looses the connection, the EventSource will automatically reconnect but there might have been some changes that have been missed out in the meantime. The replication has to be informed that it might have missed events by emitting a RESYNC flag from the pull.stream$. The replication will then catch up by switching to the iteration mode until it is in sync with the server again. // > client.ts eventSource.onerror = () => myPullStream$.next('RESYNC'); The purpose of the RESYNC flag is to tell the client that "something might have changed" and then the client can react on that information without having to run operations in an interval. If your backend is not capable of emitting the actual documents and checkpoint in the pull stream, you could just map all events to the RESYNC flag. This would make the replication work with a slight performance drawback: // > client.ts import { Subject } from 'rxjs'; const myPullStream$ = new Subject(); const eventSource = new EventSource( 'http://localhost/pullStream', { withCredentials: true } ); eventSource.onmessage = () => myPullStream$.next('RESYNC'); const replicationState = await replicateRxCollection({ pull: { stream$: myPullStream$.asObservable() } }); ","version":"Next","tagName":"h2"},{"title":"Missing implementation details","type":1,"pageTitle":"HTTP Replication from a custom server to RxDB clients","url":"/replication-http.html#missing-implementation-details","content":" In this tutorial we only covered the basics of doing a HTTP replication between RxDB clients and a server. We did not cover the following aspects of the implementation: Authentication: To authenticate the client on the server, you might want to send authentication headers with the HTTP requestsSkip events on the pull.stream$ for the client that caused the changes to improve performance.Version upgrades: You should add a version-flag to the endpoint urls. If you then update the version of your endpoints in any way, your old endpoints should emit a Code 426 to outdated clients so that they can updated their client version. ","version":"Next","tagName":"h2"},{"title":"RxDB Server Replication","type":0,"sectionRef":"#","url":"/replication-server.html","content":"","keywords":"","version":"Next"},{"title":"Usage","type":1,"pageTitle":"RxDB Server Replication","url":"/replication-server.html#usage","content":" The replication server plugin is imported from the rxdb-server npm package. Then you start the replication with a given collection and endpoint url by calling replicateServer(). import { replicateServer } from 'rxdb-server/plugins/replication-server'; const replicationState = await replicateServer({ collection: usersCollection, replicationIdentifier: 'my-server-replication', url: 'http://localhost:80/users/0', // endpoint url with the servers collection schema version at the end headers: { Authorization: 'Bearer S0VLU0UhI...' }, push: {}, pull: {}, live: true }); ","version":"Next","tagName":"h2"},{"title":"outdatedClient$","type":1,"pageTitle":"RxDB Server Replication","url":"/replication-server.html#outdatedclient","content":" When you update your schema at the server and run a migration, you end up with a different replication url that has a new schema version number at the end. Your clients might still be running an old version of your application that will no longer be compatible with the endpoint. Therefore when the client tries to call a server endpoint with an outdated schema version, the outdatedClient$ observable emits to tell your client that the application must be updated. With that event you can tell the client to update the application. On browser application you might want to just reload the page on that event: replicationState.outdatedClient$.subscribe(() => { location.reload(); }); ","version":"Next","tagName":"h2"},{"title":"unauthorized$","type":1,"pageTitle":"RxDB Server Replication","url":"/replication-server.html#unauthorized","content":" When you clients auth data is not valid (or no longer valid), the server will no longer accept any requests from you client and inform the client that the auth headers must be updated. The unauthorized$ observable will emit and expects you to update the headers accordingly so that following requests will be accepted again. replicationState.unauthorized$.subscribe(() => { replicationState.setHeaders({ Authorization: 'Bearer S0VLU0UhI...' }); }); ","version":"Next","tagName":"h2"},{"title":"forbidden$","type":1,"pageTitle":"RxDB Server Replication","url":"/replication-server.html#forbidden","content":" When you client behaves wrong in any case, like update non-allowed values or changing documents that it is not allowed to, the server will drop the connection and the replication state will emit on the forbidden$ observable. It will also automatically stop the replication so that your client does not accidentally DOS attack the server. replicationState.forbidden$.subscribe(() => { console.log('Client is behaving wrong'); }); ","version":"Next","tagName":"h2"},{"title":"Custom EventSource implementation","type":1,"pageTitle":"RxDB Server Replication","url":"/replication-server.html#custom-eventsource-implementation","content":" For the server send events, the eventsource npm package is used instead of the native EventSource API. We need this because the native browser API does not support sending headers with the request which is required by the server to parse the auth data. If the eventsource package does not work for you, you can set an own implementation when creating the replication. const replicationState = await replicateServer({ /* ... */ eventSource: MyEventSourceConstructor /* ... */ }); ","version":"Next","tagName":"h2"},{"title":"Replication with GraphQL","type":0,"sectionRef":"#","url":"/replication-graphql.html","content":"","keywords":"","version":"Next"},{"title":"Usage","type":1,"pageTitle":"Replication with GraphQL","url":"/replication-graphql.html#usage","content":" Before you use the GraphQL replication, make sure you've learned how the RxDB replication works. ","version":"Next","tagName":"h2"},{"title":"Creating a compatible GraphQL Server","type":1,"pageTitle":"Replication with GraphQL","url":"/replication-graphql.html#creating-a-compatible-graphql-server","content":" At the server-side, there must exist an endpoint which returns newer rows when the last checkpoint is used as input. For example lets say you create a QuerypullHuman which returns a list of document writes that happened after the given checkpoint. For the push-replication, you also need a MutationpushHuman which lets RxDB update data of documents by sending the previous document state and the new client document state. Also for being able to stream all ongoing events, we need a Subscription called streamHuman. input HumanInput { id: ID!, name: String!, lastName: String!, updatedAt: Float!, deleted: Boolean! } type Human { id: ID!, name: String!, lastName: String!, updatedAt: Float!, deleted: Boolean! } input Checkpoint { id: String!, updatedAt: Float! } type HumanPullBulk { documents: [Human]! checkpoint: Checkpoint } type Query { pullHuman(checkpoint: Checkpoint, limit: Int!): HumanPullBulk! } input HumanInputPushRow { assumedMasterState: HeroInputPushRowT0AssumedMasterStateT0 newDocumentState: HeroInputPushRowT0NewDocumentStateT0! } type Mutation { # Returns a list of all conflicts # If no document write caused a conflict, return an empty list. pushHuman(rows: [HumanInputPushRow!]): [Human] } # headers are used to authenticate the subscriptions # over websockets. input Headers { AUTH_TOKEN: String!; } type Subscription { streamHuman(headers: Headers): HumanPullBulk! } The GraphQL resolver for the pullHuman would then look like: const rootValue = { pullHuman: args => { const minId = args.checkpoint ? args.checkpoint.id : ''; const minUpdatedAt = args.checkpoint ? args.checkpoint.updatedAt : 0; // sorted by updatedAt first and the id as second const sortedDocuments = documents.sort((a, b) => { if (a.updatedAt > b.updatedAt) return 1; if (a.updatedAt < b.updatedAt) return -1; if (a.updatedAt === b.updatedAt) { if (a.id > b.id) return 1; if (a.id < b.id) return -1; else return 0; } }); // only return documents newer than the input document const filterForMinUpdatedAtAndId = sortedDocuments.filter(doc => { if (doc.updatedAt < minUpdatedAt) return false; if (doc.updatedAt > minUpdatedAt) return true; if (doc.updatedAt === minUpdatedAt) { // if updatedAt is equal, compare by id if (doc.id > minId) return true; else return false; } }); // only return some documents in one batch const limitedDocs = filterForMinUpdatedAtAndId.slice(0, args.limit); // use the last document for the checkpoint const lastDoc = limitedDocs[limitedDocs.length - 1]; const retCheckpoint = { id: lastDoc.id, updatedAt: lastDoc.updatedAt } return { documents: limitedDocs, checkpoint: retCheckpoint } return limited; } } For examples for the other resolvers, consult the GraphQL Example Project. ","version":"Next","tagName":"h3"},{"title":"RxDB Client","type":1,"pageTitle":"Replication with GraphQL","url":"/replication-graphql.html#rxdb-client","content":" Pull replication For the pull-replication, you first need a pullQueryBuilder. This is a function that gets the last replication checkpoint and a limit as input and returns an object with a GraphQL-query and its variables (or a promise that resolves to the same object). RxDB will use the query builder to construct what is later sent to the GraphQL endpoint. const pullQueryBuilder = (checkpoint, limit) => { /** * The first pull does not have a checkpoint * so we fill it up with defaults */ if (!checkpoint) { checkpoint = { id: '', updatedAt: 0 }; } const query = `query PullHuman($checkpoint: CheckpointInput, $limit: Int!) { pullHuman(checkpoint: $checkpoint, limit: $limit) { documents { id name age updatedAt deleted } checkpoint { id updatedAt } } }`; return { query, operationName: 'PullHuman', variables: { checkpoint, limit } }; }; With the queryBuilder, you can then setup the pull-replication. import { replicateGraphQL } from 'rxdb/plugins/replication-graphql'; const replicationState = replicateGraphQL( { collection: myRxCollection, // urls to the GraphQL endpoints url: { http: 'http://example.com/graphql' }, pull: { queryBuilder: pullQueryBuilder, // the queryBuilder from above modifier: doc => doc, // (optional) modifies all pulled documents before they are handled by RxDB dataPath: undefined, // (optional) specifies the object path to access the document(s). Otherwise, the first result of the response data is used. /** * Amount of documents that the remote will send in one request. * If the response contains less than [batchSize] documents, * RxDB will assume there are no more changes on the backend * that are not replicated. * This value is the same as the limit in the pullHuman() schema. * [default=100] */ batchSize: 50 }, // headers which will be used in http requests against the server. headers: { Authorization: 'Bearer abcde...' }, /** * Options that have been inherited from the RxReplication */ deletedField: 'deleted', live: true, retryTime = 1000 * 5, waitForLeadership = true, autoStart = true, } ); Push replication For the push-replication, you also need a queryBuilder. Here, the builder receives a changed document as input which has to be send to the server. It also returns a GraphQL-Query and its data. const pushQueryBuilder = rows => { const query = ` mutation PushHuman($writeRows: [HumanInputPushRow!]) { pushHuman(writeRows: $writeRows) { id name age updatedAt deleted } } `; const variables = { writeRows: rows }; return { query, operationName: 'PushHuman', variables }; }; With the queryBuilder, you can then setup the push-replication. const replicationState = replicateGraphQL( { collection: myRxCollection, // urls to the GraphQL endpoints url: { http: 'http://example.com/graphql' }, push: { queryBuilder: pushQueryBuilder, // the queryBuilder from above /** * batchSize (optional) * Amount of document that will be pushed to the server in a single request. */ batchSize: 5, /** * modifier (optional) * Modifies all pushed documents before they are send to the GraphQL endpoint. * Returning null will skip the document. */ modifier: doc => doc }, headers: { Authorization: 'Bearer abcde...' }, pull: { /* ... */ }, /* ... */ } ); Pull Stream To create a realtime replication, you need to create a pull stream that pulls ongoing writes from the server. The pull stream gets the headers of the RxReplicationState as input, so that it can be authenticated on the backend. const pullStreamQueryBuilder = (headers) => { const query = `subscription onStream($headers: Headers) { streamHero(headers: $headers) { documents { id, name, age, updatedAt, deleted }, checkpoint { id updatedAt } } }`; return { query, variables: { headers } }; }; With the pullStreamQueryBuilder you can then start a realtime replication. const replicationState = replicateGraphQL( { collection: myRxCollection, // urls to the GraphQL endpoints url: { http: 'http://example.com/graphql', ws: 'ws://example.com/subscriptions' // <- The websocket has to use a different url. }, push: { batchSize: 100, queryBuilder: pushQueryBuilder }, headers: { Authorization: 'Bearer abcde...' }, pull: { batchSize: 100, queryBuilder: pullQueryBuilder, streamQueryBuilder: pullStreamQueryBuilder, includeWsHeaders: false, // Includes headers as connection parameter to Websocket. // Websocket options that can be passed as a parameter to initialize the subscription // Can be applied anything from the graphql-ws ClientOptions - https://the-guild.dev/graphql/ws/docs/interfaces/client.ClientOptions // Except these parameters: 'url', 'shouldRetry', 'webSocketImpl' - locked for internal usage // Note: if you provide connectionParams as a wsOption, make sure it returns any necessary headers (e.g. authorization) // because providing your own connectionParams prevents headers from being included automatically wsOptions: { retryAttempts: 10, } }, deletedField: 'deleted' } ); note If it is not possible to create a websocket server on your backend, you can use any other method of pull out the ongoing events from the backend and then you can send them into RxReplicationState.emitEvent(). ","version":"Next","tagName":"h3"},{"title":"Transforming null to undefined in optional fields","type":1,"pageTitle":"Replication with GraphQL","url":"/replication-graphql.html#transforming-null-to-undefined-in-optional-fields","content":" GraphQL fills up non-existent optional values with null while RxDB required them to be undefined. Therefore, if your schema contains optional properties, you have to transform the pulled data to switch out null to undefined const replicationState: RxGraphQLReplicationState<RxDocType> = replicateGraphQL( { collection: myRxCollection, url: {/* ... */}, headers: {/* ... */}, push: {/* ... */}, pull: { queryBuilder: pullQueryBuilder, modifier: (doc => { // We have to remove optional non-existent field values // they are set as null by GraphQL but should be undefined Object.entries(doc).forEach(([k, v]) => { if (v === null) { delete doc[k]; } }); return doc; }) }, /* ... */ } ); ","version":"Next","tagName":"h3"},{"title":"pull.responseModifier","type":1,"pageTitle":"Replication with GraphQL","url":"/replication-graphql.html#pullresponsemodifier","content":" With the pull.responseModifier you can modify the whole response from the GraphQL endpoint before it is processed by RxDB. For example if your endpoint is not capable of returning a valid checkpoint, but instead only returns the plain document array, you can use the responseModifier to aggregate the checkpoint from the returned documents. import { } from 'rxdb'; const replicationState: RxGraphQLReplicationState<RxDocType> = replicateGraphQL( { collection: myRxCollection, url: {/* ... */}, headers: {/* ... */}, push: {/* ... */}, pull: { responseModifier: async function( plainResponse, // the exact response that was returned from the server origin, // either 'handler' if plainResponse came from the pull.handler, or 'stream' if it came from the pull.stream requestCheckpoint // if origin==='handler', the requestCheckpoint contains the checkpoint that was send to the backend ) { /** * In this example we aggregate the checkpoint from the documents array * that was returned from the graphql endpoint. */ const docs = plainResponse; return { documents: docs, checkpoint: docs.length === 0 ? requestCheckpoint : { name: lastOfArray(docs).name, updatedAt: lastOfArray(docs).updatedAt } }; } }, /* ... */ } ); ","version":"Next","tagName":"h3"},{"title":"push.responseModifier","type":1,"pageTitle":"Replication with GraphQL","url":"/replication-graphql.html#pushresponsemodifier","content":" It's also possible to modify the response of a push mutation. For example if your server returns more than the just conflicting docs: type PushResponse { conflicts: [Human] conflictMessages: [ReplicationConflictMessage] } type Mutation { # Returns a PushResponse type that contains the conflicts along with other information pushHuman(rows: [HumanInputPushRow!]): PushResponse! } import {} from "rxdb"; const replicationState: RxGraphQLReplicationState<RxDocType> = replicateGraphQL( { collection: myRxCollection, url: {/* ... */}, headers: {/* ... */}, push: { responseModifier: async function (plainResponse) { /** * In this example we aggregate the conflicting documents from a response object */ return plainResponse.conflicts; }, }, pull: {/* ... */}, /* ... */ } ); Helper Functions RxDB provides the helper functions graphQLSchemaFromRxSchema(), pullQueryBuilderFromRxSchema(), pullStreamBuilderFromRxSchema() and pushQueryBuilderFromRxSchema() that can be used to generate handlers and schemas from the RxJsonSchema. To learn how to use them, please inspect the GraphQL Example. ","version":"Next","tagName":"h3"},{"title":"RxGraphQLReplicationState","type":1,"pageTitle":"Replication with GraphQL","url":"/replication-graphql.html#rxgraphqlreplicationstate","content":" When you call myCollection.syncGraphQL() it returns a RxGraphQLReplicationState which can be used to subscribe to events, for debugging or other functions. It extends the RxReplicationState with some GraphQL specific methods. .setHeaders() Changes the headers for the replication after it has been set up. replicationState.setHeaders({ Authorization: `...` }); Sending Cookies The underlying fetch framework uses a same-origin policy for credentials per default. That means, cookies and session data is only shared if you backend and frontend run on the same domain and port. Pass the credential parameter to include cookies in requests to servers from different origins via: replicationState.setCredentials('include'); or directly pass it in the replicateGraphQL function: replicateGraphQL( { collection: myRxCollection, /* ... */ credentials: 'include', /* ... */ } ); See the fetch spec for more information about available options. note To play around, check out the full example of the RxDB GraphQL replication with server and client ","version":"Next","tagName":"h3"},{"title":"Websocket Replication","type":0,"sectionRef":"#","url":"/replication-websocket.html","content":"","keywords":"","version":"Next"},{"title":"Starting the Websocket Server","type":1,"pageTitle":"Websocket Replication","url":"/replication-websocket.html#starting-the-websocket-server","content":" import { createRxDatabase } from 'rxdb'; import { startWebsocketServer } from 'rxdb/plugins/replication-websocket'; // create a RxDatabase like normal const myDatabase = await createRxDatabase({/* ... */}); // start a websocket server const serverState = await startWebsocketServer({ database: myDatabase, port: 1337, path: '/socket' }); // stop the server await serverState.close(); ","version":"Next","tagName":"h2"},{"title":"Connect to the Websocket Server","type":1,"pageTitle":"Websocket Replication","url":"/replication-websocket.html#connect-to-the-websocket-server","content":" The replication has to be started once for each collection that you want to replicate. import { replicateWithWebsocketServer } from 'rxdb/plugins/replication-websocket'; // start the replication const replicationState = await replicateWithWebsocketServer({ /** * To make the replication work, * the client collection name must be equal * to the server collection name. */ collection: myRxCollection, url: 'ws://localhost:1337/socket' }); // stop the replication await replicationState.cancel(); ","version":"Next","tagName":"h2"},{"title":"Customize","type":1,"pageTitle":"Websocket Replication","url":"/replication-websocket.html#customize","content":" We use the ws npm library, so you can use all optional configuration provided by it. This is especially important to improve performance by opting in of some optional settings. ","version":"Next","tagName":"h2"},{"title":"Supabase Replication Plugin for RxDB - Real-Time, Offline-First Sync","type":0,"sectionRef":"#","url":"/replication-supabase.html","content":"","keywords":"","version":"Next"},{"title":"Key Features of the RxDB-Supabase Plugin","type":1,"pageTitle":"Supabase Replication Plugin for RxDB - Real-Time, Offline-First Sync","url":"/replication-supabase.html#key-features-of-the-rxdb-supabase-plugin","content":" Cloud Only Backend: No self-hosted server required. Client devices directly sync with the Supabase Servers.Two-way replication between Supabase tables and RxDB collectionsOffline-first with resumable, incremental syncLive updates via Supabase Realtime channelsConflict resolution handled by the RxDB Sync EngineWorks in browsers and Node.js with @supabase/supabase-js ","version":"Next","tagName":"h2"},{"title":"Architecture Overview","type":1,"pageTitle":"Supabase Replication Plugin for RxDB - Real-Time, Offline-First Sync","url":"/replication-supabase.html#architecture-overview","content":" Client A Supabase Client B Client C Clients connect directly to Supabase using the official JS client. The plugin: Pulls documents over PostgREST using a checkpoint (modified, id) and deterministic ordering.Pushes inserts/updates using optimistic concurrency guards.Streams new changes using Supabase Realtime so live replication stays up to date. note Because Supabase exposes Postgres over HTTP/WebSocket, you can safely replicate from browsers and mobile apps. Protect your data with Row Level Security (RLS) policies; use the anon key on clients and the service role key only on trusted servers. ","version":"Next","tagName":"h2"},{"title":"Setting up RxDB ↔ Supabase Sync","type":1,"pageTitle":"Supabase Replication Plugin for RxDB - Real-Time, Offline-First Sync","url":"/replication-supabase.html#setting-up-rxdb--supabase-sync","content":" 1 Install Dependencies npm install rxdb @supabase/supabase-js 2 Create a Supabase Project & Table In your supabase project, create a new table. Ensure that: The primary key must have the type text (Primary keys must always be strings in RxDB)You have an modified field which stores the last modification timestamp of a row (default is _modified)You have a boolean field which stores if a row should is "deleted". You should not hard-delete rows in Supabase, because clients would miss the deletion if they haven't been online at the deletion time. Instead, use a deleted boolean to mark rows as deleted. This way all clients can still pull the deletion, and RxDB will hide the complexity on the client side.Enable the realtime observation of writes to the table. Here is an example for a "human" table: create extension if not exists moddatetime schema extensions; create table "public"."humans" ( "passportId" text primary key, "firstName" text not null, "lastName" text not null, "age" integer, "_deleted" boolean DEFAULT false NOT NULL, "_modified" timestamp with time zone DEFAULT now() NOT NULL ); -- auto-update the _modified timestamp CREATE TRIGGER update_modified_datetime BEFORE UPDATE ON public.humans FOR EACH ROW EXECUTE FUNCTION extensions.moddatetime('_modified'); -- add a table to the publication so we can subscribe to changes alter publication supabase_realtime add table "public"."humans"; 3 Create an RxDB Database & Collection Create a normal RxDB database, then add a collection whose schema mirrors your Supabase table. The primary key must match (same column name and type), and fields should be top-level simple types (string/number/boolean). You don’t need to model server internals: the plugin maps the server’s _deleted flag to doc._deleted automatically, and _modified is optional in your schema (the plugin strips it on push and will include it on pull only if you define it). For browsers use a persistent storage like Localstorage or IndexedDB. For tests you can use the in-memory storage. // client import { createRxDatabase } from 'rxdb/plugins/core'; import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage'; export const db = await createRxDatabase({ name: 'mydb', storage: getRxStorageLocalstorage() }); await db.addCollections({ humans: { schema: { version: 0, primaryKey: 'passportId', type: 'object', properties: { passportId: { type: 'string', maxLength: 100 }, firstName: { type: 'string' }, lastName: { type: 'string' }, age: { type: 'number' } }, required: ['passportId', 'firstName', 'lastName'] } } }); 4 Create the Supabase Client Make a single Supabase client and reuse it across your app. In the browser, use the anon key (RLS-protected). On trusted servers you may use the service role key—but never ship that to clients. Production Vite Local Development //> client import { createClient } from '@supabase/supabase-js'; export const supabase = createClient( 'https://xyzcompany.supabase.co', 'eyJhbGciOi...' ); 5 Start Replication Connect your RxDB collection to the Supabase table to start the replication. //> client import { replicateSupabase } from 'rxdb/plugins/replication-supabase'; const replication = replicateSupabase({ tableName: 'humans', client: supabase, collection: db.humans, replicationIdentifier: 'humans-supabase', live: true, pull: { batchSize: 50, // optional: shape incoming docs modifier: (doc) => { // map nullable age-field if (!doc.age) delete doc.age; return doc; } // optional: customize the pull query before fetching queryBuilder: ({ query }) => { // Add filters, joins, or other PostgREST query modifiers // This runs before checkpoint filtering and ordering return query.eq("status", "active"); }, }, push: { batchSize: 50 }, // optional overrides if your column names differ: // modifiedField: '_modified', // deletedField: '_deleted' }); // (optional) observe errors and wait for the first sync barrier replication.error$.subscribe(err => console.error('[replication]', err)); await replication.awaitInitialReplication(); Nullable values must be mapped Supabase returns null for nullable columns, but in RxDB you often model those fields as optional (i.e., they can be undefined/missing). To avoid schema errors, map null → undefined in the pull.modifier (usually by deleting the key). 6 Do other things with the replication state The RxSupabaseReplicationState which is returned from replicateSupabase() allows you to run all functionality of the normal RxReplicationState. ","version":"Next","tagName":"h2"},{"title":"Follow Up","type":1,"pageTitle":"Supabase Replication Plugin for RxDB - Real-Time, Offline-First Sync","url":"/replication-supabase.html#follow-up","content":" Replication API Reference: Learn the core concepts and lifecycle hooks — ReplicationOffline-First Guide: Caching, retries, and conflict strategies — Local-FirstSupabase Essentials: Row Level Security (RLS) — https://supabase.com/docs/guides/auth/row-level-securityRealtime — https://supabase.com/docs/guides/realtimeLocal dev with the Supabase CLI — https://supabase.com/docs/guides/cli Community: Questions or feedback? Join our Discord — Chat ","version":"Next","tagName":"h2"},{"title":"P2P WebRTC Replication with RxDB - Sync Data between Browsers and Devices in JavaScript","type":0,"sectionRef":"#","url":"/replication-webrtc.html","content":"","keywords":"","version":"Next"},{"title":"What is WebRTC?","type":1,"pageTitle":"P2P WebRTC Replication with RxDB - Sync Data between Browsers and Devices in JavaScript","url":"/replication-webrtc.html#what-is-webrtc","content":" WebRTC stands for Web Real-Time Communication. It is an open standard that enables browsers and native apps to exchange audio, video, or arbitrary data directly between peers, bypassing a central server after the initial connection is established. WebRTC uses NAT traversal techniques like ICE (Interactive Connectivity Establishment) to punch through firewalls and establish direct links. This peer-to-peer nature drastically reduces latency while maintaining high security and end-to-end encryption capabilities. For a deeper look at comparing WebRTC with WebSockets and WebTransport, you can read our comprehensive overview. While WebSockets or WebTransport often work in client-server contexts, WebRTC offers direct peer-to-peer connections ideal for fully decentralized data flows. ","version":"Next","tagName":"h2"},{"title":"Benefits of P2P Sync with WebRTC Compared to Client-Server Architecture","type":1,"pageTitle":"P2P WebRTC Replication with RxDB - Sync Data between Browsers and Devices in JavaScript","url":"/replication-webrtc.html#benefits-of-p2p-sync-with-webrtc-compared-to-client-server-architecture","content":" Reduced Latency - By skipping a central server hop, data travels directly from one client to another, minimizing round-trip times and improving responsiveness.Scalability - New peers can join without overloading a central infrastructure. The sync overhead increases linearly with the number of connections rather than requiring a massive server cluster.Privacy & Ownership - Data stays within the user’s devices, avoiding risks tied to storing data on third-party servers. This design aligns well with local-first or "zero-latency" apps.Resilience - In some scenarios, if the central server is unreachable, P2P connections remain operational (assuming a functioning signaling path). Apps can still replicate data among local networks like when they are in the same Wifi or LAN.Cost Savings - Reducing the reliance on a high-bandwidth server can cut hosting and bandwidth expenses, particularly in high-traffic or IoT-style use cases. ","version":"Next","tagName":"h2"},{"title":"Peer-to-Peer (P2P) WebRTC Replication with the RxDB JavaScript Database","type":1,"pageTitle":"P2P WebRTC Replication with RxDB - Sync Data between Browsers and Devices in JavaScript","url":"/replication-webrtc.html#peer-to-peer-p2p-webrtc-replication-with-the-rxdb-javascript-database","content":" Traditionally, real-time data synchronization depends on centralized servers to manage and distribute updates. In contrast, RxDB’s WebRTC P2P replication allows data to flow directly among clients, removing the server as a data store. This approach is live and fully decentralized, requiring only a signaling server for initial discovery: No master-slave concept - each peer hosts its own local RxDB.Clients (browsers, devices) connect to each other via WebRTC data channels.The RxDB replication protocol then handles pushing/pulling document changes across peers. Because RxDB is a NoSQL database and the replication protocol is straightforward, setting up robust P2P sync is far easier than orchestrating a complex client-server database architecture. ","version":"Next","tagName":"h2"},{"title":"Using RxDB with the WebRTC Replication Plugin","type":1,"pageTitle":"P2P WebRTC Replication with RxDB - Sync Data between Browsers and Devices in JavaScript","url":"/replication-webrtc.html#using-rxdb-with-the-webrtc-replication-plugin","content":" Before you use this plugin, make sure that you understand how WebRTC works. Here we build a todo-app that replicates todo-entries between clients: You can find a fully build example of this at the RxDB Quickstart Repository which you can also try out online. Four you create the database and then you can configure the replication: 1 Create the Database and Collection Here we create a database with the localstorage based storage that stores data inside of the LocalStorage API in a browser. RxDB has a wide range of storages for other JavaScript runtimes. import { createRxDatabase } from 'rxdb/plugins/core'; import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage'; const db = await createRxDatabase({ name: 'myTodoDB', storage: getRxStorageLocalstorage() }); await db.addCollections({ todos: { schema: { title: 'todo schema', version: 0, type: 'object', primaryKey: 'id', properties: { id: { type: 'string', maxLength: 100 }, title: { type: 'string' }, done: { type: 'boolean', default: false }, created: { type: 'string', format: 'date-time' } }, required: ['id', 'title', 'done'] } } }); // insert an example document await db.todos.insert({ id: 'todo-1', title: 'P2P demo task', done: false, created: new Date().toISOString() }); 2 Import the WebRTC replication plugin import { replicateWebRTC, getConnectionHandlerSimplePeer } from 'rxdb/plugins/replication-webrtc'; 3 Start the P2P replication To start the replication you have to call replicateWebRTC on the collection. As options you have to provide a topic and a connection handler function that implements the P2PConnectionHandlerCreator interface. As default you should start with the getConnectionHandlerSimplePeer method which uses the simple-peer library and comes shipped with RxDB. const replicationPool = await replicateWebRTC( { // Start the replication for a single collection collection: db.todos, // The topic is like a 'room-name'. All clients with the same topic // will replicate with each other. In most cases you want to use // a different topic string per user. Also you should prefix the topic with // a unique identifier for your app, to ensure you do not let your users connect // with other apps that also use the RxDB P2P Replication. topic: 'my-users-pool', /** * You need a collection handler to be able to create WebRTC connections. * Here we use the simple peer handler which uses the 'simple-peer' npm library. * To learn how to create a custom connection handler, read the source code, * it is pretty simple. */ connectionHandlerCreator: getConnectionHandlerSimplePeer({ // Set the signaling server url. // You can use the server provided by RxDB for tryouts, // but in production you should use your own server instead. signalingServerUrl: 'wss://signaling.rxdb.info/', // only in Node.js, we need the wrtc library // because Node.js does not contain the WebRTC API. wrtc: require('node-datachannel/polyfill'), // only in Node.js, we need the WebSocket library // because Node.js does not contain the WebSocket API. webSocketConstructor: require('ws').WebSocket }), pull: {}, push: {} } ); Notice that in difference to the other replication plugins, the WebRTC replication returns a replicationPool instead of a single RxReplicationState. The replicationPool contains all replication states of the connected peers in the P2P network. 4 Observe Errors To ensure we log out potential errors, observe the error$ observable of the pool. replicationPool.error$.subscribe(err => console.error('WebRTC Error:', err)); 5 Stop the Replication You can also dynamically stop the replication. replicationPool.cancel(); ","version":"Next","tagName":"h2"},{"title":"Live replications","type":1,"pageTitle":"P2P WebRTC Replication with RxDB - Sync Data between Browsers and Devices in JavaScript","url":"/replication-webrtc.html#live-replications","content":" The WebRTC replication is always live because there can not be a one-time sync when it is always possible to have new Peers that join the connection pool. Therefore you cannot set the live: false option like in the other replication plugins. ","version":"Next","tagName":"h2"},{"title":"Signaling Server","type":1,"pageTitle":"P2P WebRTC Replication with RxDB - Sync Data between Browsers and Devices in JavaScript","url":"/replication-webrtc.html#signaling-server","content":" For P2P replication to work with the RxDB WebRTC Replication Plugin, a signaling server is required. The signaling server helps peers discover each other and establish connections. RxDB ships with a default signaling server that can be used with the simple-peer connection handler. This server is made for demonstration purposes and tryouts. It is not reliable and might be offline at any time. In production you must always use your own signaling server instead! Creating a basic signaling server is straightforward. The provided example uses 'socket.io' for WebSocket communication. However, in production, you'd want to create a more robust signaling server with authentication and additional logic to suit your application's needs. Here is a quick example implementation of a signaling server that can be used with the connection handler from getConnectionHandlerSimplePeer(): import { startSignalingServerSimplePeer } from 'rxdb/plugins/replication-webrtc'; const serverState = await startSignalingServerSimplePeer({ port: 8080 // <- port }); For custom signaling servers with more complex logic, you can check the source code of the default one. ","version":"Next","tagName":"h2"},{"title":"Peer Validation","type":1,"pageTitle":"P2P WebRTC Replication with RxDB - Sync Data between Browsers and Devices in JavaScript","url":"/replication-webrtc.html#peer-validation","content":" By default the replication will replicate with every peer the signaling server tells them about. You can prevent invalid peers from replication by passing a custom isPeerValid() function that either returns true on valid peers and false on invalid peers. const replicationPool = await replicateWebRTC( { /* ... */ isPeerValid: async (peer) => { return true; } pull: {}, push: {} /* ... */ } ); ","version":"Next","tagName":"h2"},{"title":"Conflict detection in WebRTC replication","type":1,"pageTitle":"P2P WebRTC Replication with RxDB - Sync Data between Browsers and Devices in JavaScript","url":"/replication-webrtc.html#conflict-detection-in-webrtc-replication","content":" RxDB's conflict handling works by detecting and resolving conflicts that may arise when multiple clients in a decentralized database system attempt to modify the same data concurrently. A custom conflict handler can be set up, which is a plain JavaScript function. The conflict handler is run on each replicated document write and resolves the conflict if required. Find out more about RxDB conflict handling here ","version":"Next","tagName":"h2"},{"title":"Known problems","type":1,"pageTitle":"P2P WebRTC Replication with RxDB - Sync Data between Browsers and Devices in JavaScript","url":"/replication-webrtc.html#known-problems","content":" ","version":"Next","tagName":"h2"},{"title":"SimplePeer requires to have process.nextTick()","type":1,"pageTitle":"P2P WebRTC Replication with RxDB - Sync Data between Browsers and Devices in JavaScript","url":"/replication-webrtc.html#simplepeer-requires-to-have-processnexttick","content":" In the browser you might not have a process variable or process.nextTick() method. But the simple peer uses that so you have to polyfill it. In webpack you can use the process/browser package to polyfill it: const plugins = [ /* ... */ new webpack.ProvidePlugin({ process: 'process/browser', }) /* ... */ ]; In angular or other libraries you can add the polyfill manually: window.process = { nextTick: (fn, ...args) => setTimeout(() => fn(...args)), }; ","version":"Next","tagName":"h3"},{"title":"Polyfill the WebSocket and WebRTC API in Node.js","type":1,"pageTitle":"P2P WebRTC Replication with RxDB - Sync Data between Browsers and Devices in JavaScript","url":"/replication-webrtc.html#polyfill-the-websocket-and-webrtc-api-in-nodejs","content":" While all modern browsers support the WebRTC and WebSocket APIs, they is missing in Node.js which will throw the error No WebRTC support: Specify opts.wrtc option in this environment. Therefore you have to polyfill it with a compatible WebRTC and WebSocket polyfill. It is recommended to use the node-datachannel package for WebRTC which does not come with RxDB but has to be installed before via npm install node-datachannel --save. For the Websocket API use the ws package that is included into RxDB. import nodeDatachannelPolyfill from 'node-datachannel/polyfill'; import { WebSocket } from 'ws'; const replicationPool = await replicateWebRTC( { /* ... */ connectionHandlerCreator: getConnectionHandlerSimplePeer({ signalingServerUrl: 'wss://example.com:8080', wrtc: nodeDatachannelPolyfill, webSocketConstructor: WebSocket }), pull: {}, push: {} /* ... */ } ); ","version":"Next","tagName":"h3"},{"title":"Storing replicated data encrypted on client device","type":1,"pageTitle":"P2P WebRTC Replication with RxDB - Sync Data between Browsers and Devices in JavaScript","url":"/replication-webrtc.html#storing-replicated-data-encrypted-on-client-device","content":" Storing replicated data encrypted on client devices using the RxDB Encryption Plugin is a pivotal step towards bolstering data security and user privacy. The WebRTC replication plugin seamlessly integrates with the RxDB encryption plugins, providing a robust solution for encrypting sensitive information before it's stored locally. By doing so, it ensures that even if unauthorized access to the device occurs, the data remains protected and unintelligible without the encryption key (or password). This approach is particularly vital in scenarios where user-generated content or confidential data is replicated across devices, as it empowers users with control over their own data while adhering to stringent security standards. Read more about the encryption plugins here. ","version":"Next","tagName":"h2"},{"title":"Follow Up","type":1,"pageTitle":"P2P WebRTC Replication with RxDB - Sync Data between Browsers and Devices in JavaScript","url":"/replication-webrtc.html#follow-up","content":" Check out the RxDB Quickstart to see how to set up your first RxDB database.Explore advanced features like Custom Conflict Handling or Offline-First Performance.Try an example at RxDB Quickstart GitHub to see a working P2P Sync setup.Join the RxDB Community on GitHub or Discord if you have questions or want to share your P2P WebRTC experiences. ","version":"Next","tagName":"h2"},{"title":"Attachments","type":0,"sectionRef":"#","url":"/rx-attachment.html","content":"","keywords":"","version":"Next"},{"title":"Add the attachments plugin","type":1,"pageTitle":"Attachments","url":"/rx-attachment.html#add-the-attachments-plugin","content":" To enable the attachments, you have to add the attachments plugin. import { addRxPlugin } from 'rxdb'; import { RxDBAttachmentsPlugin } from 'rxdb/plugins/attachments'; addRxPlugin(RxDBAttachmentsPlugin); ","version":"Next","tagName":"h2"},{"title":"Enable attachments in the schema","type":1,"pageTitle":"Attachments","url":"/rx-attachment.html#enable-attachments-in-the-schema","content":" Before you can use attachments, you have to ensure that the attachments-object is set in the schema of your RxCollection. const mySchema = { version: 0, type: 'object', properties: { // . // . // . }, attachments: { encrypted: true // if true, the attachment-data will be encrypted with the db-password } }; const myCollection = await myDatabase.addCollections({ humans: { schema: mySchema } }); ","version":"Next","tagName":"h2"},{"title":"putAttachment()","type":1,"pageTitle":"Attachments","url":"/rx-attachment.html#putattachment","content":" Adds an attachment to a RxDocument. Returns a Promise with the new attachment. import { createBlob } from 'rxdb'; const attachment = await myDocument.putAttachment( { id: 'cat.txt', // (string) name of the attachment data: createBlob('meowmeow', 'text/plain'), // (string|Blob) data of the attachment type: 'text/plain' // (string) type of the attachment-data like 'image/jpeg' } ); warning Expo/React-Native does not support the Blob API natively. Make sure you use your own polyfill that properly supports blob.arrayBuffer() when using RxAttachments or use the putAttachmentBase64() and getDataBase64() so that you do not have to create blobs. ","version":"Next","tagName":"h2"},{"title":"putAttachmentBase64()","type":1,"pageTitle":"Attachments","url":"/rx-attachment.html#putattachmentbase64","content":" Same as putAttachment() but accepts a plain base64 string instead of a Blob. const attachment = await doc.putAttachmentBase64({ id: 'cat.txt', length: 4, data: 'bWVvdw==', type: 'text/plain' }); ","version":"Next","tagName":"h2"},{"title":"getAttachment()","type":1,"pageTitle":"Attachments","url":"/rx-attachment.html#getattachment","content":" Returns an RxAttachment by its id. Returns null when the attachment does not exist. const attachment = myDocument.getAttachment('cat.jpg'); ","version":"Next","tagName":"h2"},{"title":"allAttachments()","type":1,"pageTitle":"Attachments","url":"/rx-attachment.html#allattachments","content":" Returns an array of all attachments of the RxDocument. const attachments = myDocument.allAttachments(); ","version":"Next","tagName":"h2"},{"title":"allAttachments$","type":1,"pageTitle":"Attachments","url":"/rx-attachment.html#allattachments-1","content":" Gets an Observable which emits a stream of all attachments from the document. Re-emits each time an attachment gets added or removed from the RxDocument. const all = []; myDocument.allAttachments$.subscribe( attachments => all = attachments ); ","version":"Next","tagName":"h2"},{"title":"RxAttachment","type":1,"pageTitle":"Attachments","url":"/rx-attachment.html#rxattachment","content":" The attachments of RxDB are represented by the type RxAttachment which has the following attributes/methods. ","version":"Next","tagName":"h2"},{"title":"doc","type":1,"pageTitle":"Attachments","url":"/rx-attachment.html#doc","content":" The RxDocument which the attachment is assigned to. ","version":"Next","tagName":"h3"},{"title":"id","type":1,"pageTitle":"Attachments","url":"/rx-attachment.html#id","content":" The id as string of the attachment. ","version":"Next","tagName":"h3"},{"title":"type","type":1,"pageTitle":"Attachments","url":"/rx-attachment.html#type","content":" The type as string of the attachment. ","version":"Next","tagName":"h3"},{"title":"length","type":1,"pageTitle":"Attachments","url":"/rx-attachment.html#length","content":" The length of the data of the attachment as number. ","version":"Next","tagName":"h3"},{"title":"digest","type":1,"pageTitle":"Attachments","url":"/rx-attachment.html#digest","content":" The hash of the attachments data as string. note The digest is NOT calculated by RxDB, instead it is calculated by the RxStorage. The only guarantee is that the digest will change when the attachments data changes. ","version":"Next","tagName":"h3"},{"title":"rev","type":1,"pageTitle":"Attachments","url":"/rx-attachment.html#rev","content":" The revision-number of the attachment as number. ","version":"Next","tagName":"h3"},{"title":"remove()","type":1,"pageTitle":"Attachments","url":"/rx-attachment.html#remove","content":" Removes the attachment. Returns a Promise that resolves when done. const attachment = myDocument.getAttachment('cat.jpg'); await attachment.remove(); ","version":"Next","tagName":"h3"},{"title":"getData()","type":1,"pageTitle":"Attachments","url":"/rx-attachment.html#getdata","content":" Returns a Promise which resolves the attachment's data as Blob. (async) const attachment = myDocument.getAttachment('cat.jpg'); const blob = await attachment.getData(); // Blob ","version":"Next","tagName":"h2"},{"title":"getDataBase64()","type":1,"pageTitle":"Attachments","url":"/rx-attachment.html#getdatabase64","content":" Returns a Promise which resolves the attachment's data as base64string. const attachment = myDocument.getAttachment('cat.jpg'); const base64Database = await attachment.getDataBase64(); // 'bWVvdw==' ","version":"Next","tagName":"h2"},{"title":"getStringData()","type":1,"pageTitle":"Attachments","url":"/rx-attachment.html#getstringdata","content":" Returns a Promise which resolves the attachment's data as string. const attachment = await myDocument.getAttachment('cat.jpg'); const data = await attachment.getStringData(); // 'meow' Attachment compression Storing many attachments can be a problem when the disc space of the device is exceeded. Therefore it can make sense to compress the attachments before storing them in the RxStorage. With the attachments-compression plugin you can compress the attachments data on write and decompress it on reads. This happens internally and will now change on how you use the api. The compression is run with the Compression Streams API which is only supported on newer browsers. import { wrappedAttachmentsCompressionStorage } from 'rxdb/plugins/attachments-compression'; import { getRxStorageIndexedDB } from 'rxdb-premium/plugins/storage-indexeddb'; // create a wrapped storage with attachment-compression. const storageWithAttachmentsCompression = wrappedAttachmentsCompressionStorage({ storage: getRxStorageIndexedDB() }); const db = await createRxDatabase({ name: 'mydatabase', storage: storageWithAttachmentsCompression }); // set the compression mode at the schema level const mySchema = { version: 0, type: 'object', properties: { // . // . // . }, attachments: { compression: 'deflate' // <- Specify the compression mode here. OneOf ['deflate', 'gzip'] } }; /* ... create your collections as usual and store attachments in them. */ ","version":"Next","tagName":"h2"},{"title":"RxCollection","type":0,"sectionRef":"#","url":"/rx-collection.html","content":"","keywords":"","version":"Next"},{"title":"Creating a Collection","type":1,"pageTitle":"RxCollection","url":"/rx-collection.html#creating-a-collection","content":" To create one or more collections you need a RxDatabase object which has the .addCollections()-method. Every collection needs a collection name and a valid RxJsonSchema. Other attributes are optional. const myCollections = await myDatabase.addCollections({ // key = collectionName humans: { schema: mySchema, statics: {}, // (optional) ORM-functions for this collection methods: {}, // (optional) ORM-functions for documents attachments: {}, // (optional) ORM-functions for attachments options: {}, // (optional) Custom parameters that might be used in plugins migrationStrategies: {}, // (optional) autoMigrate: true, // (optional) [default=true] cacheReplacementPolicy: function(){}, // (optional) custom cache replacement policy conflictHandler: function(){} // (optional) a custom conflict handler can be used }, // you can create multiple collections at once animals: { // ... } }); ","version":"Next","tagName":"h2"},{"title":"name","type":1,"pageTitle":"RxCollection","url":"/rx-collection.html#name","content":" The name uniquely identifies the collection and should be used to refine the collection in the database. Two different collections in the same database can never have the same name. Collection names must match the following regex: ^[a-z][a-z0-9]*$. ","version":"Next","tagName":"h3"},{"title":"schema","type":1,"pageTitle":"RxCollection","url":"/rx-collection.html#schema","content":" The schema defines how the documents of the collection are structured. RxDB uses a schema format, similar to JSON schema. Read more about the RxDB schema format here. ","version":"Next","tagName":"h3"},{"title":"ORM-functions","type":1,"pageTitle":"RxCollection","url":"/rx-collection.html#orm-functions","content":" With the parameters statics, methods and attachments, you can define ORM-functions that are applied to each of these objects that belong to this collection. See ORM/DRM. ","version":"Next","tagName":"h3"},{"title":"Migration","type":1,"pageTitle":"RxCollection","url":"/rx-collection.html#migration","content":" With the parameters migrationStrategies and autoMigrate you can specify how migration between different schema-versions should be done. See Migration. ","version":"Next","tagName":"h3"},{"title":"Get a collection from the database","type":1,"pageTitle":"RxCollection","url":"/rx-collection.html#get-a-collection-from-the-database","content":" To get an existing collection from the database, call the collection name directly on the database: // newly created collection const collections = await db.addCollections({ heroes: { schema: mySchema } }); const collection2 = db.heroes; console.log(collections.heroes === collection2); //> true ","version":"Next","tagName":"h2"},{"title":"Functions","type":1,"pageTitle":"RxCollection","url":"/rx-collection.html#functions","content":" ","version":"Next","tagName":"h2"},{"title":"Observe $","type":1,"pageTitle":"RxCollection","url":"/rx-collection.html#observe-","content":" Calling this will return an rxjs-Observable which streams every change to data of this collection. myCollection.$.subscribe(changeEvent => console.dir(changeEvent)); // you can also observe single event-types with insert$ update$ remove$ myCollection.insert$.subscribe(changeEvent => console.dir(changeEvent)); myCollection.update$.subscribe(changeEvent => console.dir(changeEvent)); myCollection.remove$.subscribe(changeEvent => console.dir(changeEvent)); ","version":"Next","tagName":"h3"},{"title":"insert()","type":1,"pageTitle":"RxCollection","url":"/rx-collection.html#insert","content":" Use this to insert new documents into the database. The collection will validate the schema and automatically encrypt any encrypted fields. Returns the new RxDocument. const doc = await myCollection.insert({ name: 'foo', lastname: 'bar' }); ","version":"Next","tagName":"h3"},{"title":"insertIfNotExists()","type":1,"pageTitle":"RxCollection","url":"/rx-collection.html#insertifnotexists","content":" The insertIfNotExists() method attempts to insert a new document into the collection only if a document with the same primary key does not already exist. This is useful for ensuring uniqueness without having to manually check for existing records before inserting or handling conflicts. Returns either the newly added RxDocument or the previous existing document. const doc = await myCollection.insertIfNotExists({ name: 'foo', lastname: 'bar' }); ","version":"Next","tagName":"h3"},{"title":"bulkInsert()","type":1,"pageTitle":"RxCollection","url":"/rx-collection.html#bulkinsert","content":" When you have to insert many documents at once, use bulk insert. This is much faster than calling .insert() multiple times. Returns an object with a success- and error-array. const result = await myCollection.bulkInsert([{ name: 'foo1', lastname: 'bar1' }, { name: 'foo2', lastname: 'bar2' }]); // > { // success: [RxDocument, RxDocument], // error: [] // } note bulkInsert will not fail on update conflicts and you cannot expect that on failure the other documents are not inserted. Also the call to bulkInsert() it will not throw if a single document errors because of validation errors. Instead it will return the error in the .error property of the returned object. ","version":"Next","tagName":"h3"},{"title":"bulkRemove()","type":1,"pageTitle":"RxCollection","url":"/rx-collection.html#bulkremove","content":" When you want to remove many documents at once, use bulk remove. Returns an object with a success- and error-array. const result = await myCollection.bulkRemove([ 'primary1', 'primary2' ]); // > { // success: [RxDocument, RxDocument], // error: [] // } Instead of providing the document ids, you can also use the RxDocument instances. This can have better performance if your code knows them already at the moment of removing them: const result = await myCollection.bulkRemove([ myRxDocument1, myRxDocument2, /* ... */ ]); ","version":"Next","tagName":"h3"},{"title":"upsert()","type":1,"pageTitle":"RxCollection","url":"/rx-collection.html#upsert","content":" Inserts the document if it does not exist within the collection, otherwise it will overwrite it. Returns the new or overwritten RxDocument. const doc = await myCollection.upsert({ name: 'foo', lastname: 'bar2' }); ","version":"Next","tagName":"h3"},{"title":"bulkUpsert()","type":1,"pageTitle":"RxCollection","url":"/rx-collection.html#bulkupsert","content":" Same as upsert() but runs over multiple documents. Improves performance compared to running many upsert() calls. Returns an error and a success array. const docs = await myCollection.bulkUpsert([ { name: 'foo', lastname: 'bar2' }, { name: 'bar', lastname: 'foo2' } ]); /** * { * success: [RxDocument, RxDocument] * error: [], * } */ ","version":"Next","tagName":"h3"},{"title":"incrementalUpsert()","type":1,"pageTitle":"RxCollection","url":"/rx-collection.html#incrementalupsert","content":" When you run many upsert operations on the same RxDocument in a very short timespan, you might get a 409 Conflict error. This means that you tried to run a .upsert() on the document, while the previous upsert operation was still running. To prevent these types of errors, you can run incremental upsert operations. The behavior is similar to RxDocument.incrementalModify. const docData = { name: 'Bob', // primary lastName: 'Kelso' }; myCollection.upsert(docData); myCollection.upsert(docData); // -> throws because of parallel update to the same document myCollection.incrementalUpsert(docData); myCollection.incrementalUpsert(docData); myCollection.incrementalUpsert(docData); // wait until last upsert finished await myCollection.incrementalUpsert(docData); // -> works ","version":"Next","tagName":"h3"},{"title":"find()","type":1,"pageTitle":"RxCollection","url":"/rx-collection.html#find","content":" To find documents in your collection, use this method. See RxQuery.find(). // find all that are older than 18 const olderDocuments = await myCollection .find() .where('age') .gt(18) .exec(); // execute ","version":"Next","tagName":"h3"},{"title":"findOne()","type":1,"pageTitle":"RxCollection","url":"/rx-collection.html#findone","content":" This does basically what find() does, but it returns only a single document. You can pass a primary value to find a single document more easily. To find documents in your collection, use this method. See RxQuery.find(). // get document with name:foobar myCollection.findOne({ selector: { name: 'foo' } }).exec().then(doc => console.dir(doc)); // get document by primary, functionally identical to above query myCollection.findOne('foo') .exec().then(doc => console.dir(doc)); ","version":"Next","tagName":"h3"},{"title":"findByIds()","type":1,"pageTitle":"RxCollection","url":"/rx-collection.html#findbyids","content":" Find many documents by their id (primary value). This has a way better performance than running multiple findOne() or a find() with a big $or selector. Returns a Map where the primary key of the document is mapped to the document. Documents that do not exist or are deleted, will not be inside of the returned Map. const ids = [ 'alice', 'bob', /* ... */ ]; const docsMap = await myCollection.findByIds(ids); console.dir(docsMap); // Map(2) note The Map returned by findByIds is not guaranteed to return elements in the same order as the list of ids passed to it. ","version":"Next","tagName":"h3"},{"title":"exportJSON()","type":1,"pageTitle":"RxCollection","url":"/rx-collection.html#exportjson","content":" Use this function to create a json export from every document in the collection. Before exportJSON() and importJSON() can be used, you have to add the json-dump plugin. import { addRxPlugin } from 'rxdb'; import { RxDBJsonDumpPlugin } from 'rxdb/plugins/json-dump'; addRxPlugin(RxDBJsonDumpPlugin); myCollection.exportJSON() .then(json => console.dir(json)); ","version":"Next","tagName":"h3"},{"title":"importJSON()","type":1,"pageTitle":"RxCollection","url":"/rx-collection.html#importjson","content":" To import the json dump into your collection, use this function. // import the dump to the database myCollection.importJSON(json) .then(() => console.log('done')); Note that importing will fire events for each inserted document. ","version":"Next","tagName":"h3"},{"title":"remove()","type":1,"pageTitle":"RxCollection","url":"/rx-collection.html#remove","content":" Removes all known data of the collection and its previous versions. This removes the documents, the schemas, and older schemaVersions. await myCollection.remove(); // collection is now removed and can be re-created ","version":"Next","tagName":"h3"},{"title":"close()","type":1,"pageTitle":"RxCollection","url":"/rx-collection.html#close","content":" Removes the collection's object instance from the RxDatabase. This is to free up memory and stop all observers and replications. It will not delete the collections data. When you create the collection again with database.addCollections(), the newly added collection will still have all data. await myCollection.close(); ","version":"Next","tagName":"h3"},{"title":"onClose / onRemove()","type":1,"pageTitle":"RxCollection","url":"/rx-collection.html#onclose--onremove","content":" With these you can add a function that is run when the collection was closed or removed. This works even across multiple browser tabs so you can detect when another tab removes the collection and you application can behave accordingly. await myCollection.onClose(() => console.log('I am closed')); await myCollection.onRemove(() => console.log('I am removed')); ","version":"Next","tagName":"h3"},{"title":"isRxCollection","type":1,"pageTitle":"RxCollection","url":"/rx-collection.html#isrxcollection","content":" Returns true if the given object is an instance of RxCollection. Returns false if not. const is = isRxCollection(myObj); ","version":"Next","tagName":"h3"},{"title":"FAQ","type":1,"pageTitle":"RxCollection","url":"/rx-collection.html#faq","content":" When I reload the browser window, will my collections still be in the database? No, the javascript instance of the collections will not automatically load into the database on page reloads. You have to call the addCollections() method each time you create your database. This will create the JavaScript object instance of the RxCollection so that you can use it in the RxDatabase. The persisted data will be automatically in your RxCollection each time you create it. How to remove the limit of 16 collections? In the open-source version of RxDB, the amount of RxCollections that can exist in parallel is limited to 16. To remove this limit, you can purchase the Premium Plugins and call the setPremiumFlag() function before creating a database: import { setPremiumFlag } from 'rxdb-premium/plugins/shared'; setPremiumFlag(); ","version":"Next","tagName":"h2"},{"title":"RxDatabase","type":0,"sectionRef":"#","url":"/rx-database.html","content":"","keywords":"","version":"Next"},{"title":"Creation","type":1,"pageTitle":"RxDatabase","url":"/rx-database.html#creation","content":" The database is created by the asynchronous .createRxDatabase() function of the core RxDB module. It has the following parameters: import { createRxDatabase } from 'rxdb/plugins/core'; import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage'; const db = await createRxDatabase({ name: 'heroesdb', // <- name storage: getRxStorageLocalstorage(), // <- RxStorage /* Optional parameters: */ password: 'myPassword', // <- password (optional) multiInstance: true, // <- multiInstance (optional, default: true) eventReduce: true, // <- eventReduce (optional, default: false) cleanupPolicy: {} // <- custom cleanup policy (optional) }); ","version":"Next","tagName":"h2"},{"title":"name","type":1,"pageTitle":"RxDatabase","url":"/rx-database.html#name","content":" The database-name is a string which uniquely identifies the database. When two RxDatabases have the same name and use the same RxStorage, their data can be assumed as equal and they will share events between each other. Depending on the storage or adapter this can also be used to define the filesystem folder of your data. ","version":"Next","tagName":"h3"},{"title":"storage","type":1,"pageTitle":"RxDatabase","url":"/rx-database.html#storage","content":" RxDB works on top of an implementation of the RxStorage interface. This interface is an abstraction that allows you to use different underlying databases that actually handle the documents. Depending on your use case you might use a different storage with different tradeoffs in performance, bundle size or supported runtimes. There are many RxStorage implementations that can be used depending on the JavaScript environment and performance requirements. For example you can use the LocalStorage RxStorage in the browser or use the MongoDB RxStorage in Node.js. List of RxStorage implementations // use the LocalStroage that stores data in the browser. import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage'; const db = await createRxDatabase({ name: 'mydatabase', storage: getRxStorageLocalstorage() }); // ...or use the MongoDB RxStorage in Node.js. import { getRxStorageMongoDB } from 'rxdb/plugins/storage-mongodb'; const dbMongo = await createRxDatabase({ name: 'mydatabase', storage: getRxStorageMongoDB({ connection: 'mongodb://localhost:27017,localhost:27018,localhost:27019' }) }); ","version":"Next","tagName":"h3"},{"title":"password","type":1,"pageTitle":"RxDatabase","url":"/rx-database.html#password","content":" (optional)If you want to use encrypted fields in the collections of a database, you have to set a password for it. The password must be a string with at least 12 characters. Read more about encryption here. ","version":"Next","tagName":"h3"},{"title":"multiInstance","type":1,"pageTitle":"RxDatabase","url":"/rx-database.html#multiinstance","content":" (optional=true)When you create more than one instance of the same database in a single javascript-runtime, you should set multiInstance to true. This will enable the event sharing between the two instances. For example when the user has opened multiple browser windows, events will be shared between them so that both windows react to the same changes.multiInstance should be set to false when you have single-instances like a single Node.js-process, a react-native-app, a cordova-app or a single-window electron app which can decrease the startup time because no instance coordination has to be done. ","version":"Next","tagName":"h3"},{"title":"eventReduce","type":1,"pageTitle":"RxDatabase","url":"/rx-database.html#eventreduce","content":" (optional=false) One big benefit of having a realtime database is that big performance optimizations can be done when the database knows a query is observed and the updated results are needed continuously. RxDB uses the EventReduce Algorithm to optimize observer or recurring queries. For better performance, you should always set eventReduce: true. This will also be the default in the next major RxDB version. ","version":"Next","tagName":"h3"},{"title":"ignoreDuplicate","type":1,"pageTitle":"RxDatabase","url":"/rx-database.html#ignoreduplicate","content":" (optional=false)If you create multiple RxDatabase-instances with the same name and same adapter, it's very likely that you have done something wrong. To prevent this common mistake, RxDB will throw an error when you do this. In some rare cases like unit-tests, you want to do this intentional by setting ignoreDuplicate to true. Because setting ignoreDuplicate: true in production will decrease the performance by having multiple instances of the same database, ignoreDuplicate is only allowed to be set in dev-mode. const db1 = await createRxDatabase({ name: 'heroesdb', storage: getRxStorageLocalstorage(), ignoreDuplicate: true }); const db2 = await createRxDatabase({ name: 'heroesdb', storage: getRxStorageLocalstorage(), ignoreDuplicate: true // this create-call will not throw because you explicitly allow it }); ","version":"Next","tagName":"h3"},{"title":"closeDuplicates","type":1,"pageTitle":"RxDatabase","url":"/rx-database.html#closeduplicates","content":" (optional=false) Closes all other RxDatabases instances that have the same storage+name combination. const db1 = await createRxDatabase({ name: 'heroesdb', storage: getRxStorageLocalstorage(), closeDuplicates: true }); const db2 = await createRxDatabase({ name: 'heroesdb', storage: getRxStorageLocalstorage(), closeDuplicates: true // this create-call will close db1 }); // db1 is now closed. ","version":"Next","tagName":"h3"},{"title":"hashFunction","type":1,"pageTitle":"RxDatabase","url":"/rx-database.html#hashfunction","content":" By default, RxDB will use crypto.subtle.digest('SHA-256', data) for hashing. If you need a different hash function or the crypto.subtle API is not supported in your JavaScript runtime, you can provide an own hash function instead. A hash function gets a string as input and returns a Promise that resolves a string. // example hash function that runs in plain JavaScript import { sha256 } from 'ohash'; function myOwnHashFunction(input: string) { return Promise.resolve(sha256(input)); } const db = await createRxDatabase({ hashFunction: myOwnHashFunction /* ... */ }); If you get the error message TypeError: Cannot read properties of undefined (reading 'digest') this likely means that you are neither running on localhost nor on https which is why your browser might not allow access to crypto.subtle.digest. ","version":"Next","tagName":"h3"},{"title":"Methods","type":1,"pageTitle":"RxDatabase","url":"/rx-database.html#methods","content":" ","version":"Next","tagName":"h2"},{"title":"Observe with $","type":1,"pageTitle":"RxDatabase","url":"/rx-database.html#observe-with-","content":" Calling this will return an rxjs-Observable which streams all write events of the RxDatabase. myDb.$.subscribe(changeEvent => console.dir(changeEvent)); ","version":"Next","tagName":"h3"},{"title":"exportJSON()","type":1,"pageTitle":"RxDatabase","url":"/rx-database.html#exportjson","content":" Use this function to create a json-export from every piece of data in every collection of this database. You can pass true as a parameter to decrypt the encrypted data-fields of your document. Before exportJSON() and importJSON() can be used, you have to add the json-dump plugin. import { addRxPlugin } from 'rxdb'; import { RxDBJsonDumpPlugin } from 'rxdb/plugins/json-dump'; addRxPlugin(RxDBJsonDumpPlugin); myDatabase.exportJSON() .then(json => console.dir(json)); ","version":"Next","tagName":"h3"},{"title":"importJSON()","type":1,"pageTitle":"RxDatabase","url":"/rx-database.html#importjson","content":" To import the json-dumps into your database, use this function. // import the dump to the database emptyDatabase.importJSON(json) .then(() => console.log('done')); ","version":"Next","tagName":"h3"},{"title":"backup()","type":1,"pageTitle":"RxDatabase","url":"/rx-database.html#backup","content":" Writes the current (or ongoing) database state to the filesystem. Read more ","version":"Next","tagName":"h3"},{"title":"waitForLeadership()","type":1,"pageTitle":"RxDatabase","url":"/rx-database.html#waitforleadership","content":" Returns a Promise which resolves when the RxDatabase becomes elected leader. ","version":"Next","tagName":"h3"},{"title":"requestIdlePromise()","type":1,"pageTitle":"RxDatabase","url":"/rx-database.html#requestidlepromise","content":" Returns a promise which resolves when the database is in idle. This works similar to requestIdleCallback but tracks the idle-ness of the database instead of the CPU. Use this for semi-important tasks like cleanups which should not affect the speed of important tasks. myDatabase.requestIdlePromise().then(() => { // this will run at the moment the database has nothing else to do myCollection.customCleanupFunction(); }); // with timeout myDatabase.requestIdlePromise(1000 /* time in ms */).then(() => { // this will run at the moment the database has nothing else to do // or the timeout has passed myCollection.customCleanupFunction(); }); ","version":"Next","tagName":"h3"},{"title":"close()","type":1,"pageTitle":"RxDatabase","url":"/rx-database.html#close","content":" Closes the databases object-instance. This is to free up memory and stop all observers and replications. Returns a Promise that resolves when the database is closed. Closing a database will not remove the databases data. When you create the database again with createRxDatabase(), all data will still be there. await myDatabase.close(); ","version":"Next","tagName":"h3"},{"title":"remove()","type":1,"pageTitle":"RxDatabase","url":"/rx-database.html#remove","content":" Wipes all documents from the storage. Use this to free up disc space. await myDatabase.remove(); // database instance is now gone You can also clear a database without removing its instance by using removeRxDatabase(). This is useful if you want to migrate data or reset the users state by renaming the database. Then you can remove the previous data with removeRxDatabase() without creating a RxDatabase first. Notice that this will only remove the stored data on the storage. It will not clear the cache of any RxDatabase instances. import { removeRxDatabase } from 'rxdb'; removeRxDatabase('mydatabasename', 'localstorage'); ","version":"Next","tagName":"h3"},{"title":"isRxDatabase","type":1,"pageTitle":"RxDatabase","url":"/rx-database.html#isrxdatabase","content":" Returns true if the given object is an instance of RxDatabase. Returns false if not. import { isRxDatabase } from 'rxdb'; const is = isRxDatabase(myObj); ","version":"Next","tagName":"h3"},{"title":"collections$","type":1,"pageTitle":"RxDatabase","url":"/rx-database.html#collections","content":" Emits events whenever a RxCollection is added or removed to the instance of the RxDatabase. Notice that this only emits the JavaScript instance of the RxCollection class, it does not emit events across browser tabs. const sub = myDatabase.collections$.subscribe(event => { console.dir(event); }); await myDatabase.addCollections({ heroes: { schema: mySchema } }); // -> emits the event sub.unsubscribe(); ","version":"Next","tagName":"h3"},{"title":"RxDB's realtime Sync Engine for Local-First Apps","type":0,"sectionRef":"#","url":"/replication.html","content":"","keywords":"","version":"Next"},{"title":"Design Decisions of the Sync Engine","type":1,"pageTitle":"RxDB's realtime Sync Engine for Local-First Apps","url":"/replication.html#design-decisions-of-the-sync-engine","content":" In contrast to other (server-side) database replication protocols, the RxDB Sync Engine was designed with these goals in mind: Easy to Understand: The sync engine works in a simple "git-like" way that is easy to understand for an average developer. You only have to understand how three simple endpoints work.Complex Parts are in RxDB, not in the Backend: The complex parts of the Sync Engine, like conflict handling or offline-online switches, are implemented inside of RxDB itself. This makes creating a compatible backend very easy.Compatible with any Backend: Because the complex parts are in RxDB, the backend can be "dump" which makes the protocol compatible to almost every backend. No matter if you use PostgreSQL, MongoDB or anything else.Performance is optimized for Client Devices and Browsers: By grouping updates and fetches into batches, it is faster to transfer and easier to compress. Client devices and browsers can also process this data faster, for example running JSON.parse() on a chunk of data is faster than calling it once per row. Same goes for how client side storage like IndexedDB or OPFS works where writing data in bulks is faster.Offline-First Support: By incorporating conflict handling at the client side, the protocol fully supports offline-first apps. Users can continue making changes while offline, and those updates will sync seamlessly once a connection is reestablished - all without risking data loss or having undefined behavior.Multi-Tab Support: When RxDB is used in a browser and multiple tabs of the same application are opened, only exactly one runs the replication at any given time. This reduces client- and backend resources. ","version":"Next","tagName":"h2"},{"title":"The Sync Engine on the document level","type":1,"pageTitle":"RxDB's realtime Sync Engine for Local-First Apps","url":"/replication.html#the-sync-engine-on-the-document-level","content":" On the RxDocument level, the replication works like git, where the fork/client contains all new writes and must be merged with the master/server before it can push its new state to the master/server. A---B-----------D master/server state \\ / B---C---D fork/client state The client pulls the latest state B from the master.The client does some changes C+D.The client pushes these changes to the master by sending the latest known master state B and the new client state D of the document.If the master state is equal to the latest master B state of the client, the new client state D is set as the latest master state.If the master also had changes and so the latest master change is different then the one that the client assumes, we have a conflict that has to be resolved on the client. ","version":"Next","tagName":"h2"},{"title":"The Sync Engine on the transfer level","type":1,"pageTitle":"RxDB's realtime Sync Engine for Local-First Apps","url":"/replication.html#the-sync-engine-on-the-transfer-level","content":" When document states are transferred, all handlers use batches of documents for better performance. The server must implement the following methods to be compatible with the replication: pullHandler Get the last checkpoint (or null) as input. Returns all documents that have been written after the given checkpoint. Also returns the checkpoint of the latest written returned document.pushHandler a method that can be called by the client to send client side writes to the master. It gets an array with the assumedMasterState and the newForkState of each document write as input. It must return an array that contains the master document states of all conflicts. If there are no conflicts, it must return an empty array.pullStream an observable that emits batches of all master writes and the latest checkpoint of the write batches. +--------+ +--------+ | | pullHandler() | | | |---------------------> | | | | | | | | | | | Client | pushHandler() | Server | | |---------------------> | | | | | | | | pullStream$ | | | | <-------------------------| | +--------+ +--------+ The replication runs in two different modes: ","version":"Next","tagName":"h2"},{"title":"Checkpoint iteration","type":1,"pageTitle":"RxDB's realtime Sync Engine for Local-First Apps","url":"/replication.html#checkpoint-iteration","content":" On first initial replication, or when the client comes online again, a checkpoint based iteration is used to catch up with the server state. A checkpoint is a subset of the fields of the last pulled document. When the checkpoint is send to the backend via pullHandler(), the backend must be able to respond with all documents that have been written after the given checkpoint. For example if your documents contain an id and an updatedAt field, these two can be used as checkpoint. When the checkpoint iteration reaches the last checkpoint, where the backend returns an empty array because there are no newer documents, the replication will automatically switch to the event observation mode. ","version":"Next","tagName":"h3"},{"title":"Event observation","type":1,"pageTitle":"RxDB's realtime Sync Engine for Local-First Apps","url":"/replication.html#event-observation","content":" While the client is connected to the backend, the events from the backend are observed via pullStream$ and persisted to the client. If your backend for any reason is not able to provide a full pullStream$ that contains all events and the checkpoint, you can instead only emit RESYNC events that tell RxDB that anything unknown has changed on the server and it should run the pull replication via checkpoint iteration. When the client goes offline and online again, it might happen that the pullStream$ has missed out some events. Therefore the pullStream$ should also emit a RESYNC event each time the client reconnects, so that the client can become in sync with the backend via the checkpoint iteration mode. ","version":"Next","tagName":"h3"},{"title":"Data layout on the server","type":1,"pageTitle":"RxDB's realtime Sync Engine for Local-First Apps","url":"/replication.html#data-layout-on-the-server","content":" To use the replication you first have to ensure that: documents are deterministic sortable by their last write time deterministic means that even if two documents have the same last write time, they have a predictable sort order. This is most often ensured by using the primaryKey as second sort parameter as part of the checkpoint. documents are never deleted, instead the _deleted field is set to true. This is needed so that the deletion state of a document exists in the database and can be replicated with other instances. If your backend uses a different field to mark deleted documents, you have to transform the data in the push/pull handlers or with the modifiers. For example if your documents look like this: const docData = { "id": "foobar", "name": "Alice", "lastName": "Wilson", /** * Contains the last write timestamp * so all documents writes can be sorted by that value * when they are fetched from the remote instance. */ "updatedAt": 1564483474, /** * Instead of physically deleting documents, * a deleted document gets replicated. */ "_deleted": false } Then your data is always sortable by updatedAt. This ensures that when RxDB fetches 'new' changes via pullHandler(), it can send the latest updatedAt+id checkpoint to the remote endpoint and then receive all newer documents. By default, the field is _deleted. If your remote endpoint uses a different field to mark deleted documents, you can set the deletedField in the replication options which will automatically map the field on all pull and push requests. ","version":"Next","tagName":"h2"},{"title":"Conflict handling","type":1,"pageTitle":"RxDB's realtime Sync Engine for Local-First Apps","url":"/replication.html#conflict-handling","content":" When multiple clients (or the server) modify the same document at the same time (or when they are offline), it can happen that a conflict arises during the replication. A---B1---C1---X master/server state \\ / B1---C2 fork/client state In the case above, the client would tell the master to move the document state from B1 to C2 by calling pushHandler(). But because the actual master state is C1 and not B1, the master would reject the write by sending back the actual master state C1.RxDB resolves all conflicts on the client so it would call the conflict handler of the RxCollection and create a new document state D that can then be written to the master. A---B1---C1---X---D master/server state \\ / \\ / B1---C2---D fork/client state The default conflict handler will always drop the fork state and use the master state. This ensures that clients that are offline for a very long time, do not accidentally overwrite other peoples changes when they go online again. You can specify a custom conflict handler by setting the property conflictHandler when calling addCollection(). Learn how to create a custom conflict handler. ","version":"Next","tagName":"h2"},{"title":"replicateRxCollection()","type":1,"pageTitle":"RxDB's realtime Sync Engine for Local-First Apps","url":"/replication.html#replicaterxcollection","content":" You can start the replication of a single RxCollection by calling replicateRxCollection() like in the following: import { replicateRxCollection } from 'rxdb/plugins/replication'; import { lastOfArray } from 'rxdb'; const replicationState = await replicateRxCollection({ collection: myRxCollection, /** * An id for the replication to identify it * and so that RxDB is able to resume the replication on app reload. * If you replicate with a remote server, it is recommended to put the * server url into the replicationIdentifier. */ replicationIdentifier: 'my-rest-replication-to-https://example.com/api/sync', /** * By default it will do an ongoing realtime replication. * By settings live: false the replication will run once until the local state * is in sync with the remote state, then it will cancel itself. * (optional), default is true. */ live: true, /** * Time in milliseconds after when a failed backend request * has to be retried. * This time will be skipped if a offline->online switch is detected * via navigator.onLine * (optional), default is 5 seconds. */ retryTime: 5 * 1000, /** * When multiInstance is true, like when you use RxDB in multiple browser tabs, * the replication should always run in only one of the open browser tabs. * If waitForLeadership is true, it will wait until the current instance is leader. * If waitForLeadership is false, it will start replicating, even if it is not leader. * [default=true] */ waitForLeadership: true, /** * If this is set to false, * the replication will not start automatically * but will wait for replicationState.start() being called. * (optional), default is true */ autoStart: true, /** * Custom deleted field, the boolean property of the document data that * marks a document as being deleted. * If your backend uses a different fieldname then '_deleted', set the fieldname here. * RxDB will still store the documents internally with '_deleted', setting this field * only maps the data on the data layer. * * If a custom deleted field contains a non-boolean value, the deleted state * of the documents depends on if the value is truthy or not. So instead of providing a boolean * * deleted value, you could also work with using a 'deletedAt' timestamp instead. * * [default='_deleted'] */ deletedField: 'deleted', /** * Optional, * only needed when you want to replicate local changes to the remote instance. */ push: { /** * Push handler */ async handler(docs) { /** * Push the local documents to a remote REST server. */ const rawResponse = await fetch('https://example.com/api/sync/push', { method: 'POST', headers: { 'Accept': 'application/json', 'Content-Type': 'application/json' }, body: JSON.stringify({ docs }) }); /** * Contains an array with all conflicts that appeared during this push. * If there were no conflicts, return an empty array. */ const response = await rawResponse.json(); return response; }, /** * Batch size, optional * Defines how many documents will be given to the push handler at once. */ batchSize: 5, /** * Modifies all documents before they are given to the push handler. * Can be used to swap out a custom deleted flag instead of the '_deleted' field. * If the push modifier return null, the document will be skipped and not send to the remote. * Notice that the modifier can be called multiple times and should not contain any side effects. * (optional) */ modifier: d => d }, /** * Optional, * only needed when you want to replicate remote changes to the local state. */ pull: { /** * Pull handler */ async handler(lastCheckpoint, batchSize) { const minTimestamp = lastCheckpoint ? lastCheckpoint.updatedAt : 0; /** * In this example we replicate with a remote REST server */ const response = await fetch( `https://example.com/api/sync/?minUpdatedAt=${minTimestamp}&limit=${batchSize}` ); const documentsFromRemote = await response.json(); return { /** * Contains the pulled documents from the remote. * Not that if documentsFromRemote.length < batchSize, * then RxDB assumes that there are no more un-replicated documents * on the backend, so the replication will switch to 'Event observation' mode. */ documents: documentsFromRemote, /** * The last checkpoint of the returned documents. * On the next call to the pull handler, * this checkpoint will be passed as 'lastCheckpoint' */ checkpoint: documentsFromRemote.length === 0 ? lastCheckpoint : { id: lastOfArray(documentsFromRemote).id, updatedAt: lastOfArray(documentsFromRemote).updatedAt } }; }, batchSize: 10, /** * Modifies all documents after they have been pulled * but before they are used by RxDB. * Notice that the modifier can be called multiple times and should not contain any side effects. * (optional) */ modifier: d => d, /** * Stream of the backend document writes. * See below. * You only need a stream$ when you have set live=true */ stream$: pullStream$.asObservable() }, }); /** * Creating the pull stream for realtime replication. * Here we use a websocket but any other way of sending data to the client can be used, * like long polling or server-sent events. */ const pullStream$ = new Subject<RxReplicationPullStreamItem<any, any>>(); let firstOpen = true; function connectSocket() { const socket = new WebSocket('wss://example.com/api/sync/stream'); /** * When the backend sends a new batch of documents+checkpoint, * emit it into the stream$. * * event.data must look like this * { * documents: [ * { * id: 'foobar', * _deleted: false, * updatedAt: 1234 * } * ], * checkpoint: { * id: 'foobar', * updatedAt: 1234 * } * } */ socket.onmessage = event => pullStream$.next(event.data); /** * Automatically reconnect the socket on close and error. */ socket.onclose = () => connectSocket(); socket.onerror = () => socket.close(); socket.onopen = () => { if(firstOpen) { firstOpen = false; } else { /** * When the client is offline and goes online again, * it might have missed out events that happened on the server. * So we have to emit a RESYNC so that the replication goes * into 'Checkpoint iteration' mode until the client is in sync * and then it will go back into 'Event observation' mode again. */ pullStream$.next('RESYNC'); } } } ","version":"Next","tagName":"h2"},{"title":"Multi Tab support","type":1,"pageTitle":"RxDB's realtime Sync Engine for Local-First Apps","url":"/replication.html#multi-tab-support","content":" For better performance, the replication runs only in one instance when RxDB is used in multiple browser tabs or Node.js processes. By setting waitForLeadership: false you can enforce that each tab runs its own replication cycles. If used in a multi instance setting, so when at database creation multiInstance: false was not set, you need to import the leader election plugin so that RxDB can know how many instances exist and which browser tab should run the replication. ","version":"Next","tagName":"h2"},{"title":"Error handling","type":1,"pageTitle":"RxDB's realtime Sync Engine for Local-First Apps","url":"/replication.html#error-handling","content":" When sending a document to the remote fails for any reason, RxDB will send it again in a later point in time. This happens for all errors. The document write could have already reached the remote instance and be processed, while only the answering fails. The remote instance must be designed to handle this properly and to not crash on duplicate data transmissions. Depending on your use case, it might be ok to just write the duplicate document data again. But for a more resilient error handling you could compare the last write timestamps or add a unique write id field to the document. This field can then be used to detect duplicates and ignore re-send data. Also the replication has an .error$ stream that emits all RxError objects that arise during replication. Notice that these errors contain an inner .parameters.errors field that contains the original error. Also they contain a .parameters.direction field that indicates if the error was thrown during pull or push. You can use these to properly handle errors. For example when the client is outdated, the server might respond with a 426 Upgrade Required error code that can then be used to force a page reload. replicationState.error$.subscribe((error) => { if( error.parameters.errors && error.parameters.errors[0] && error.parameters.errors[0].code === 426 ) { // client is outdated -> enforce a page reload location.reload(); } }); ","version":"Next","tagName":"h2"},{"title":"Security","type":1,"pageTitle":"RxDB's realtime Sync Engine for Local-First Apps","url":"/replication.html#security","content":" Be aware that client side clocks can never be trusted. When you have a client-backend replication, the backend should overwrite the updatedAt timestamp or use another field, when it receives the change from the client. ","version":"Next","tagName":"h2"},{"title":"RxReplicationState","type":1,"pageTitle":"RxDB's realtime Sync Engine for Local-First Apps","url":"/replication.html#rxreplicationstate","content":" The function replicateRxCollection() returns a RxReplicationState that can be used to manage and observe the replication. ","version":"Next","tagName":"h2"},{"title":"Observable","type":1,"pageTitle":"RxDB's realtime Sync Engine for Local-First Apps","url":"/replication.html#observable","content":" To observe the replication, the RxReplicationState has some Observable properties: // emits each document that was received from the remote myRxReplicationState.received$.subscribe(doc => console.dir(doc)); // emits each document that was send to the remote myRxReplicationState.sent$.subscribe(doc => console.dir(doc)); // emits all errors that happen when running the push- & pull-handlers. myRxReplicationState.error$.subscribe(error => console.dir(error)); // emits true when the replication was canceled, false when not. myRxReplicationState.canceled$.subscribe(bool => console.dir(bool)); // emits true when a replication cycle is running, false when not. myRxReplicationState.active$.subscribe(bool => console.dir(bool)); ","version":"Next","tagName":"h3"},{"title":"awaitInitialReplication()","type":1,"pageTitle":"RxDB's realtime Sync Engine for Local-First Apps","url":"/replication.html#awaitinitialreplication","content":" With awaitInitialReplication() you can await the initial replication that is done when a full replication cycle was successful finished for the first time. The returned promise will never resolve if you cancel the replication before the initial replication can be done. await myRxReplicationState.awaitInitialReplication(); ","version":"Next","tagName":"h3"},{"title":"awaitInSync()","type":1,"pageTitle":"RxDB's realtime Sync Engine for Local-First Apps","url":"/replication.html#awaitinsync","content":" Returns a Promise that resolves when: awaitInitialReplication() has emitted.All local data is replicated with the remote.No replication cycle is running or in retry-state. warning When multiInstance: true and waitForLeadership: true and another tab is already running the replication, awaitInSync() will not resolve until the other tab is closed and the replication starts in this tab. await myRxReplicationState.awaitInSync(); warning awaitInitialReplication() and awaitInSync() should not be used to block the application A common mistake in RxDB usage is when developers want to block the app usage until the application is in sync. Often they just await the promise of awaitInitialReplication() or awaitInSync() and show a loading spinner until they resolve. This is dangerous and should not be done because: When multiInstance: true and waitForLeadership: true (default) and another tab is already running the replication, awaitInitialReplication() will not resolve until the other tab is closed and the replication starts in this tab.Your app can no longer be started when the device is offline because there the awaitInitialReplication() will never resolve and the app cannot be used. Instead you should store the last in-sync time in a local document and observe its value on all instances. For example if you want to block clients from using the app if they have not been in sync for the last 24 hours, you could use this code: // update last-in-sync-flag each time replication is in sync await myCollection.insertLocal('last-in-sync', { time: 0 }).catch(); // ensure flag exists myReplicationState.active$.pipe( mergeMap(async() => { await myReplicationState.awaitInSync(); await myCollection.upsertLocal('last-in-sync', { time: Date.now() }) }) ); // observe the flag and toggle loading spinner await showLoadingSpinner(); const oneDay = 1000 * 60 * 60 * 24; await firstValueFrom( myCollection.getLocal$('last-in-sync').pipe( filter(d => d.get('time') > (Date.now() - oneDay)) ) ); await hideLoadingSpinner(); ","version":"Next","tagName":"h3"},{"title":"reSync()","type":1,"pageTitle":"RxDB's realtime Sync Engine for Local-First Apps","url":"/replication.html#resync","content":" Triggers a RESYNC cycle where the replication goes into checkpoint iteration until the client is in sync with the backend. Used in unit tests or when no proper pull.stream$ can be implemented so that the client only knows that something has been changed but not what. myRxReplicationState.reSync(); If your backend is not capable of sending events to the client at all, you could run reSync() in an interval so that the client will automatically fetch server changes after some time at least. // trigger RESYNC each 10 seconds. setInterval(() => myRxReplicationState.reSync(), 10 * 1000); ","version":"Next","tagName":"h3"},{"title":"cancel()","type":1,"pageTitle":"RxDB's realtime Sync Engine for Local-First Apps","url":"/replication.html#cancel","content":" Cancels the replication. Returns a promise that resolved when everything has been cleaned up. await myRxReplicationState.cancel(); ","version":"Next","tagName":"h3"},{"title":"pause()","type":1,"pageTitle":"RxDB's realtime Sync Engine for Local-First Apps","url":"/replication.html#pause","content":" Pauses a running replication. The replication can later be resumed with RxReplicationState.start(). await myRxReplicationState.pause(); await myRxReplicationState.start(); // restart ","version":"Next","tagName":"h3"},{"title":"remove()","type":1,"pageTitle":"RxDB's realtime Sync Engine for Local-First Apps","url":"/replication.html#remove","content":" Cancels the replication and deletes the metadata of the replication state. This can be used to restart the replication "from scratch". Calling .remove() will only delete the replication metadata, it will NOT delete the documents from the collection of the replication. await myRxReplicationState.remove(); ","version":"Next","tagName":"h3"},{"title":"isStopped()","type":1,"pageTitle":"RxDB's realtime Sync Engine for Local-First Apps","url":"/replication.html#isstopped","content":" Returns true if the replication is stopped. This can be if a non-live replication is finished or a replication got canceled. replicationState.isStopped(); // true/false ","version":"Next","tagName":"h3"},{"title":"isPaused()","type":1,"pageTitle":"RxDB's realtime Sync Engine for Local-First Apps","url":"/replication.html#ispaused","content":" Returns true if the replication is paused. replicationState.isPaused(); // true/false ","version":"Next","tagName":"h3"},{"title":"Setting a custom initialCheckpoint","type":1,"pageTitle":"RxDB's realtime Sync Engine for Local-First Apps","url":"/replication.html#setting-a-custom-initialcheckpoint","content":" By default, the push replication will start from the beginning of time and push all documents from there to the remote. By setting a custom push.initialCheckpoint, you can tell the replication to only push writes that are newer than the given checkpoint. // store the latest checkpoint of a collection let lastLocalCheckpoint: any; myCollection.checkpoint$.subscribe(checkpoint => lastLocalCheckpoint = checkpoint); // start the replication but only push documents that are newer than the lastLocalCheckpoint const replicationState = replicateRxCollection({ collection: myCollection, replicationIdentifier: 'my-custom-replication-with-init-checkpoint', /* ... */ push: { handler: /* ... */, initialCheckpoint: lastLocalCheckpoint } }); The same can be done for the other direction by setting a pull.initialCheckpoint. Notice that here we need the remote checkpoint from the backend instead of the one from the RxDB storage. // get the last pull checkpoint from the server const lastRemoteCheckpoint = await (await fetch('http://example.com/pull-checkpoint')).json(); // start the replication but only pull documents that are newer than the lastRemoteCheckpoint const replicationState = replicateRxCollection({ collection: myCollection, replicationIdentifier: 'my-custom-replication-with-init-checkpoint', /* ... */ pull: { handler: /* ... */, initialCheckpoint: lastRemoteCheckpoint } }); ","version":"Next","tagName":"h3"},{"title":"toggleOnDocumentVisible","type":1,"pageTitle":"RxDB's realtime Sync Engine for Local-First Apps","url":"/replication.html#toggleondocumentvisible","content":" Ensures replication continues running when the document is visible. This helps avoid situations where the leader-elected tab becomes stale or is hibernated by the browser to save battery. When the tab becomes hidden, replication is automatically paused; when the tab becomes visible again (or the instance becomes leader), replication resumes. Default:true const replicationState = replicateRxCollection({ toggleOnDocumentVisible: true, /* ... */ }); ","version":"Next","tagName":"h3"},{"title":"Attachment replication","type":1,"pageTitle":"RxDB's realtime Sync Engine for Local-First Apps","url":"/replication.html#attachment-replication","content":" Attachment replication is supported in the RxDB Sync Engine itself. However not all replication plugins support it. If you start the replication with a collection which has enabled RxAttachments attachments data will be added to all push- and write data. The pushed documents will contain an _attachments object which contains: The attachment meta data (id, length, digest) of all non-attachmentsThe full attachment data of all attachments that have been updated/added from the client.Deleted attachments are spared out in the pushed document. With this data, the backend can decide onto which attachments must be deleted, added or overwritten. Accordingly, the pulled document must contain the same data, if the backend has a new document state with updated attachments. ","version":"Next","tagName":"h2"},{"title":"Pull-Only Replication","type":1,"pageTitle":"RxDB's realtime Sync Engine for Local-First Apps","url":"/replication.html#pull-only-replication","content":" With the replication protocol it is possible to do pull only replications where data is pulled from a backend but not pushed from the client. RxDB implements some performance optimizations for these like not storing server metadata on pull only streams. ","version":"Next","tagName":"h2"},{"title":"Partial Sync with RxDB","type":1,"pageTitle":"RxDB's realtime Sync Engine for Local-First Apps","url":"/replication.html#partial-sync-with-rxdb","content":" Suppose you're building a Minecraft-like voxel game where the world can expand in every direction. Storing the entire map locally for offline use is impossible because the dataset could be massive. Yet you still want a local-first design so players can edit the game world offline and sync back to the server later. ","version":"Next","tagName":"h2"},{"title":"Idea: One Collection, Multiple Replications","type":1,"pageTitle":"RxDB's realtime Sync Engine for Local-First Apps","url":"/replication.html#idea-one-collection-multiple-replications","content":" You might define a single RxDB collection called db.voxels, where each document represents a block or "voxel" (with fields like id, chunkId, coordinates, and type). With RxDB you can, instead of setting up one replication that tries to fetch all voxels, you create separate replication states for each chunk of the world the player is currently near. When the player enters a particular chunk (say chunk-123), you start a replication dedicated to that chunk. On the server side, you have endpoints to pull only that chunk's voxels (e.g., GET /api/voxels/pull?chunkId=123) and push local changes back (e.g., POST /api/voxels/push?chunkId=123). RxDB handles them similarly to any other offline-first setup, but each replication is filtered to only that chunk's data. When the player leaves chunk-123 and no longer needs it, you stop that replication. If the player moves to chunk-124, you start a new replication for chunk 124. This ensures the game only downloads and syncs data relevant to the player's immediate location. Meanwhile, all edits made offline remain safely stored in the local database until a network connection is available. const activeReplications = {}; // chunkId -> replicationState function startChunkReplication(chunkId) { if (activeReplications[chunkId]) return; const replicationId = 'voxels-chunk-' + chunkId; const replicationState = replicateRxCollection({ collection: db.voxels, replicationIdentifier: replicationId, pull: { async handler(checkpoint, limit) { const res = await fetch( `/api/voxels/pull?chunkId=${chunkId}&cp=${checkpoint}&limit=${limit}` ); /* ... */ } }, push: { async handler(changedDocs) { const res = await fetch(`/api/voxels/push?chunkId=${chunkId}`); /* ... */ } } }); activeReplications[chunkId] = replicationState; } function stopChunkReplication(chunkId) { const rep = await activeReplications[chunkId]; if (rep) { rep.cancel(); delete activeReplications[chunkId]; } } // Called whenever the player's location changes; // dynamically start/stop replication for nearby chunks. function onPlayerMove(neighboringChunkIds) { neighboringChunkIds.forEach(startChunkReplication); Object.keys(activeReplications).forEach(cid => { if (!neighboringChunkIds.includes(cid)) { stopChunkReplication(cid); } }); } ","version":"Next","tagName":"h3"},{"title":"Diffy-Sync when Revisiting a Chunk","type":1,"pageTitle":"RxDB's realtime Sync Engine for Local-First Apps","url":"/replication.html#diffy-sync-when-revisiting-a-chunk","content":" An added benefit of this multi-replication-state design is checkpointing. Each replication state has a unique "replication identifier," so the next time the player returns to chunk-123, the local database knows what it already has and only fetches the differences without the need to re-download the entire chunk. ","version":"Next","tagName":"h3"},{"title":"Partial Sync in a Local-First Business Application","type":1,"pageTitle":"RxDB's realtime Sync Engine for Local-First Apps","url":"/replication.html#partial-sync-in-a-local-first-business-application","content":" Though a voxel world is an intuitive example, the same technique applies in enterprise scenarios where data sets are large but each user only needs a specific subset. You could spin up a new replication for each "permission group" or "region," so users only sync the records they're allowed to see. Or in a CRM, the replication might be filtered by the specific accounts or projects a user is currently handling. As soon as they switch to a different project, you stop the old replication and start one for the new scope. This chunk-based or scope-based replication pattern keeps your local storage lean, reduces network overhead, and still gives users the offline, instant-feedback experience that local-first apps are known for. By dynamically creating (and canceling) replication states, you retain tight control over bandwidth usage and make the infinite (or very large) feasible. In a production app you would also "flag" the entities (with a pull.modifier) by which replication state they came from, so that you can clean up the parts that you no longer need. --> ","version":"Next","tagName":"h3"},{"title":"FAQ","type":1,"pageTitle":"RxDB's realtime Sync Engine for Local-First Apps","url":"/replication.html#faq","content":" I have infinite loops in my replication, how to debug? When you have infinite loops in your replication or random re-runs of http requests after some time, the reason is likely that your pull-handler is crashing. The debug this, add a log to the error$ handler to debug it. myRxReplicationState.error$.subscribe(err => console.log('error$', err)). ","version":"Next","tagName":"h2"},{"title":"Local Documents","type":0,"sectionRef":"#","url":"/rx-local-document.html","content":"","keywords":"","version":"Next"},{"title":"Add the local documents plugin","type":1,"pageTitle":"Local Documents","url":"/rx-local-document.html#add-the-local-documents-plugin","content":" To enable the local documents, you have to add the local-documents plugin. import { addRxPlugin } from 'rxdb'; import { RxDBLocalDocumentsPlugin } from 'rxdb/plugins/local-documents'; addRxPlugin(RxDBLocalDocumentsPlugin); ","version":"Next","tagName":"h2"},{"title":"Activate the plugin for a RxDatabase or RxCollection","type":1,"pageTitle":"Local Documents","url":"/rx-local-document.html#activate-the-plugin-for-a-rxdatabase-or-rxcollection","content":" For better performance, the local document plugin does not create a storage for every database or collection that is created. Instead you have to set localDocuments: true when you want to store local documents in the instance. // activate local documents on a RxDatabase const myDatabase = await createRxDatabase({ name: 'mydatabase', storage: getRxStorageLocalstorage(), localDocuments: true // <- activate this to store local documents in the database }); myDatabase.addCollections({ messages: { schema: messageSchema, localDocuments: true // <- activate this to store local documents in the collection } }); note If you want to store local documents in a RxCollection but NOT in the RxDatabase, you MUST NOT set localDocuments: true in the RxDatabase because it will only slow down the initial database creation. ","version":"Next","tagName":"h2"},{"title":"insertLocal()","type":1,"pageTitle":"Local Documents","url":"/rx-local-document.html#insertlocal","content":" Creates a local document for the database or collection. Throws if a local document with the same id already exists. Returns a Promise which resolves the new RxLocalDocument. const localDoc = await myCollection.insertLocal( 'foobar', // id { // data foo: 'bar' } ); // you can also use local-documents on a database const localDoc = await myDatabase.insertLocal( 'foobar', // id { // data foo: 'bar' } ); ","version":"Next","tagName":"h2"},{"title":"upsertLocal()","type":1,"pageTitle":"Local Documents","url":"/rx-local-document.html#upsertlocal","content":" Creates a local document for the database or collection if not exists. Overwrites the if exists. Returns a Promise which resolves the RxLocalDocument. const localDoc = await myCollection.upsertLocal( 'foobar', // id { // data foo: 'bar' } ); ","version":"Next","tagName":"h2"},{"title":"getLocal()","type":1,"pageTitle":"Local Documents","url":"/rx-local-document.html#getlocal","content":" Find a RxLocalDocument by its id. Returns a Promise which resolves the RxLocalDocument or null if not exists. const localDoc = await myCollection.getLocal('foobar'); ","version":"Next","tagName":"h2"},{"title":"getLocal$()","type":1,"pageTitle":"Local Documents","url":"/rx-local-document.html#getlocal-1","content":" Like getLocal() but returns an Observable that emits the document or null if not exists. const subscription = myCollection.getLocal$('foobar').subscribe(documentOrNull => { console.dir(documentOrNull); // > RxLocalDocument or null }); ","version":"Next","tagName":"h2"},{"title":"RxLocalDocument","type":1,"pageTitle":"Local Documents","url":"/rx-local-document.html#rxlocaldocument","content":" A RxLocalDocument behaves like a normal RxDocument. const localDoc = await myCollection.getLocal('foobar'); // access data const foo = localDoc.get('foo'); // change data localDoc.set('foo', 'bar2'); await localDoc.save(); // observe data localDoc.get$('foo').subscribe(value => { /* .. */ }); // remove it await localDoc.remove(); note Because the local document does not have a schema, accessing the documents data-fields via pseudo-proxy will not work. const foo = localDoc.foo; // undefined const foo = localDoc.get('foo'); // works! localDoc.foo = 'bar'; // does not work! localDoc.set('foo', 'bar'); // works For the usage with typescript, you can have access to the typed data of the document over toJSON() declare type MyLocalDocumentType = { foo: string } const localDoc = await myCollection.upsertLocal<MyLocalDocumentType>( 'foobar', // id { // data foo: 'bar' } ); // typescript will know that foo is a string const foo: string = localDoc.toJSON().foo; ","version":"Next","tagName":"h2"},{"title":"RxPipeline","type":0,"sectionRef":"#","url":"/rx-pipeline.html","content":"","keywords":"","version":"Next"},{"title":"Creating a RxPipeline","type":1,"pageTitle":"RxPipeline","url":"/rx-pipeline.html#creating-a-rxpipeline","content":" Pipelines are created on top of a source RxCollection and have another RxCollection as destination. An identifier is used to identify the state of the pipeline so that different pipelines have a different processing checkpoint state. A plain JavaScript function handler is used to process the data of the source collection writes. const pipeline = await mySourceCollection.addPipeline({ identifier: 'my-pipeline', destination: myDestinationCollection, handler: async (docs) => { /** * Here you can process the documents and write to * the destination collection. */ for (const doc of docs) { await myDestinationCollection.insert({ id: doc.primary, category: doc.category }); } } }); ","version":"Next","tagName":"h2"},{"title":"Use Cases for RxPipeline","type":1,"pageTitle":"RxPipeline","url":"/rx-pipeline.html#use-cases-for-rxpipeline","content":" The RxPipeline is a handy building block for different features and plugins. You can use it to aggregate data or restructure local data. ","version":"Next","tagName":"h2"},{"title":"UseCase: Re-Index data that comes from replication","type":1,"pageTitle":"RxPipeline","url":"/rx-pipeline.html#usecase-re-index-data-that-comes-from-replication","content":" Sometimes you want to replicate atomic documents over the wire but locally you want to split these documents for better indexing. For example you replicate email documents that have multiple receivers in a string-array. While string-arrays cannot be indexed, locally you need a way to query for all emails of a given receiver. To handle this case you can set up a RxPipeline that writes the mapping into a separate collection: const pipeline = await emailCollection.addPipeline({ identifier: 'map-email-receivers', destination: emailByReceiverCollection, handler: async (docs) => { for (const doc of docs) { // remove previous mapping await emailByReceiverCollection.find({emailId: doc.primary}).remove(); // add new mapping if(!doc.deleted) { await emailByReceiverCollection.bulkInsert( doc.receivers.map(receiver => ({ emailId: doc.primary, receiver: receiver })) ); } } } }); With this you can efficiently query for "all emails that a person received" by running: const mailIds = await emailByReceiverCollection.find({ receiver: 'foobar@example.com' }).exec(); ","version":"Next","tagName":"h3"},{"title":"UseCase: Fulltext Search","type":1,"pageTitle":"RxPipeline","url":"/rx-pipeline.html#usecase-fulltext-search","content":" You can utilize the pipeline plugin to index text data for efficient fulltext search. const pipeline = await emailCollection.addPipeline({ identifier: 'email-fulltext-search', destination: mailByWordCollection, handler: async (docs) => { for (const doc of docs) { // remove previous mapping await mailByWordCollection.find({emailId: doc.primary}).remove(); // add new mapping if(!doc.deleted) { const words = doc.text.split(' '); await mailByWordCollection.bulkInsert( words.map(word => ({ emailId: doc.primary, word: word })) ); } } } }); With this you can efficiently query for "all emails that contain a given word" by running: const mailIds = await emailByReceiverCollection.find({word: 'foobar'}).exec(); ","version":"Next","tagName":"h3"},{"title":"UseCase: Download data based on source documents","type":1,"pageTitle":"RxPipeline","url":"/rx-pipeline.html#usecase-download-data-based-on-source-documents","content":" When you have to fetch data for each document of a collection from a server, you can use the pipeline to ensure all documents have their data downloaded and no document is missed. const pipeline = await emailCollection.addPipeline({ identifier: 'download-data', destination: serverDataCollection, handler: async (docs) => { for (const doc of docs) { const response = await fetch('https://example.com/doc/' + doc.primary); const serverData = await response.json(); await serverDataCollection.upsert({ id: doc.primary, data: serverData }); } } }); ","version":"Next","tagName":"h3"},{"title":"RxPipeline methods","type":1,"pageTitle":"RxPipeline","url":"/rx-pipeline.html#rxpipeline-methods","content":" ","version":"Next","tagName":"h2"},{"title":"awaitIdle()","type":1,"pageTitle":"RxPipeline","url":"/rx-pipeline.html#awaitidle","content":" You can await the idleness of a pipeline with await myRxPipeline.awaitIdle(). This will await a promise that resolves when the pipeline has processed all documents and is not running anymore. ","version":"Next","tagName":"h3"},{"title":"close()","type":1,"pageTitle":"RxPipeline","url":"/rx-pipeline.html#close","content":" await myRxPipeline.close() stops the pipeline so that it is no longer doing stuff. This is automatically called when the RxCollection or RxDatabase of the pipeline is closed. ","version":"Next","tagName":"h3"},{"title":"remove()","type":1,"pageTitle":"RxPipeline","url":"/rx-pipeline.html#remove","content":" await myRxPipeline.remove() removes the pipeline and all metadata which it has stored. Recreating the pipeline afterwards will start processing all source documents from scratch. ","version":"Next","tagName":"h3"},{"title":"Using RxPipeline correctly","type":1,"pageTitle":"RxPipeline","url":"/rx-pipeline.html#using-rxpipeline-correctly","content":" ","version":"Next","tagName":"h2"},{"title":"Pipeline handlers must be idempotent","type":1,"pageTitle":"RxPipeline","url":"/rx-pipeline.html#pipeline-handlers-must-be-idempotent","content":" Because a JavaScript process can exit at any time, like when the user closes a browser tab, the pipeline handler function must be idempotent. This means when it only runs partially and is started again with the same input, it should still end up in the correct result. ","version":"Next","tagName":"h3"},{"title":"Pipeline handlers must not throw","type":1,"pageTitle":"RxPipeline","url":"/rx-pipeline.html#pipeline-handlers-must-not-throw","content":" Pipeline handlers must never throw. If you run operations inside of the handler that might cause errors, you must wrap the handler's code with a try-catch by yourself and also handle retries. If your handler throws, your pipeline will be stuck and no longer be usable, which should never happen. ","version":"Next","tagName":"h3"},{"title":"Be careful when doing http requests in the handler","type":1,"pageTitle":"RxPipeline","url":"/rx-pipeline.html#be-careful-when-doing-http-requests-in-the-handler","content":" When you run http requests inside of your handler, you no longer have an offline first application because reads to the destination collection will be blocked until all handlers have finished. When your client is offline, therefore the collection will be blocked for reads and writes. ","version":"Next","tagName":"h3"},{"title":"Pipelines temporarily block external reads and writes","type":1,"pageTitle":"RxPipeline","url":"/rx-pipeline.html#pipelines-temporarily-block-external-reads-and-writes","content":" While a pipeline is running, all reads and writes to its destination collection are blocked. This guarantees that queries never observe partially processed data, but it also means that pipelines can block each other if they interact incorrectly. Problems occur when multiple pipelines: read or write across the same collections, orwait for each other using awaitIdle() from inside a pipeline handler. // Example of a deadlock // Pipeline A: files → files (reads folders) const pipelineA = await db.files.addPipeline({ identifier: 'file-path-sync', destination: db.files, handler: async (docs) => { const folders = await folders.find().exec(); // can block /* ... */ } }); // Pipeline B: files → folders (waits for A) await db.folders.addPipeline({ identifier: 'file-count', destination: db.folders, handler: async () => { await pipelineA.awaitIdle(); // ❌ may deadlock /* ... */ } }); To prevent deadlocks, consider: Never call awaitIdle() inside a pipeline handler.Avoid circular dependencies between pipelines.Prefer one-directional data flow. ","version":"Next","tagName":"h3"},{"title":"RxDocument","type":0,"sectionRef":"#","url":"/rx-document.html","content":"","keywords":"","version":"Next"},{"title":"insert","type":1,"pageTitle":"RxDocument","url":"/rx-document.html#insert","content":" To insert a document into a collection, you have to call the collection's .insert()-function. await myCollection.insert({ name: 'foo', lastname: 'bar' }); ","version":"Next","tagName":"h2"},{"title":"find","type":1,"pageTitle":"RxDocument","url":"/rx-document.html#find","content":" To find documents in a collection, you have to call the collection's .find()-function. See RxQuery. const docs = await myCollection.find().exec(); // <- find all documents ","version":"Next","tagName":"h2"},{"title":"Functions","type":1,"pageTitle":"RxDocument","url":"/rx-document.html#functions","content":" ","version":"Next","tagName":"h2"},{"title":"get()","type":1,"pageTitle":"RxDocument","url":"/rx-document.html#get","content":" This will get a single field of the document. If the field is encrypted, it will be automatically decrypted before returning. const name = myDocument.get('name'); // returns the name // OR const name = myDocument.name; ","version":"Next","tagName":"h3"},{"title":"get$()","type":1,"pageTitle":"RxDocument","url":"/rx-document.html#get-1","content":" This function returns an observable of the given paths-value. The current value of this path will be emitted each time the document changes. // get the live-updating value of 'name' var isName; myDocument.get$('name') .subscribe(newName => { isName = newName; }); await myDocument.incrementalPatch({name: 'foobar2'}); console.dir(isName); // isName is now 'foobar2' // OR myDocument.name$ .subscribe(newName => { isName = newName; }); ","version":"Next","tagName":"h3"},{"title":"proxy-get","type":1,"pageTitle":"RxDocument","url":"/rx-document.html#proxy-get","content":" All properties of a RxDocument are assigned as getters so you can also directly access values instead of using the get()-function. // Identical to myDocument.get('name'); var name = myDocument.name; // Can also get nested values. var nestedValue = myDocument.whatever.nestedfield; // Also usable with observables: myDocument.firstName$.subscribe(newName => console.log('name is: ' + newName)); // > 'name is: Stefe' await myDocument.incrementalPatch({firstName: 'Steve'}); // > 'name is: Steve' ","version":"Next","tagName":"h3"},{"title":"update()","type":1,"pageTitle":"RxDocument","url":"/rx-document.html#update","content":" Updates the document based on the mongo-update-syntax, based on the mingo library. /** * If not done before, you have to add the update plugin. */ import { addRxPlugin } from 'rxdb'; import { RxDBUpdatePlugin } from 'rxdb/plugins/update'; addRxPlugin(RxDBUpdatePlugin); await myDocument.update({ $inc: { age: 1 // increases age by 1 }, $set: { firstName: 'foobar' // sets firstName to foobar } }); ","version":"Next","tagName":"h3"},{"title":"modify()","type":1,"pageTitle":"RxDocument","url":"/rx-document.html#modify","content":" Updates a documents data based on a function that mutates the current data and returns the new value. const changeFunction = (oldData) => { oldData.age = oldData.age + 1; oldData.name = 'foooobarNew'; return oldData; } await myDocument.modify(changeFunction); console.log(myDocument.name); // 'foooobarNew' ","version":"Next","tagName":"h3"},{"title":"patch()","type":1,"pageTitle":"RxDocument","url":"/rx-document.html#patch","content":" Overwrites the given attributes over the documents data. await myDocument.patch({ name: 'Steve', age: undefined // setting an attribute to undefined will remove it }); console.log(myDocument.name); // 'Steve' ","version":"Next","tagName":"h3"},{"title":"Prevent conflicts with the incremental methods","type":1,"pageTitle":"RxDocument","url":"/rx-document.html#prevent-conflicts-with-the-incremental-methods","content":" Making a normal change to the non-latest version of a RxDocument will lead to a 409 CONFLICT error because RxDB uses revision checks instead of transactions. To make a change to a document, no matter what the current state is, you can use the incremental methods: // update await myDocument.incrementalUpdate({ $inc: { age: 1 // increases age by 1 } }); // modify await myDocument.incrementalModify(docData => { docData.age = docData.age + 1; return docData; }); // patch await myDocument.incrementalPatch({ age: 100 }); // remove await myDocument.incrementalRemove({ age: 100 }); ","version":"Next","tagName":"h3"},{"title":"getLatest()","type":1,"pageTitle":"RxDocument","url":"/rx-document.html#getlatest","content":" Returns the latest known state of the RxDocument. const myDocument = await myCollection.findOne('foobar').exec(); const docAfterEdit = await myDocument.incrementalPatch({ age: 10 }); const latestDoc = myDocument.getLatest(); console.log(docAfterEdit === latestDoc); // > true ","version":"Next","tagName":"h3"},{"title":"Observe $","type":1,"pageTitle":"RxDocument","url":"/rx-document.html#observe-","content":" Calling this will return an RxJS-Observable which the current newest state of the RxDocument. // get all changeEvents myDocument.$ .subscribe(currentRxDocument => console.dir(currentRxDocument)); ","version":"Next","tagName":"h3"},{"title":"remove()","type":1,"pageTitle":"RxDocument","url":"/rx-document.html#remove","content":" This removes the document from the collection. Notice that this will not purge the document from the store but set _deleted:true so that it will be no longer returned on queries. To fully purge a document, use the cleanup plugin. myDocument.remove(); ","version":"Next","tagName":"h3"},{"title":"Remove and update in a single atomic operation","type":1,"pageTitle":"RxDocument","url":"/rx-document.html#remove-and-update-in-a-single-atomic-operation","content":" Sometimes you want to change a documents value and also remove it in the same operation. For example this can be useful when you use replication and want to set a deletedAt timestamp. Then you might have to ensure that setting this timestamp and deleting the document happens in the same atomic operation. To do this the modifying operations of a document accept setting the _deleted field. For example: // update() and remove() await doc.update({ $set: { deletedAt: new Date().getTime(), _deleted: true } }); // modify() and remove() await doc.modify(data => { data.age = 1; data._deleted = true; return data; }); ","version":"Next","tagName":"h3"},{"title":"deleted$","type":1,"pageTitle":"RxDocument","url":"/rx-document.html#deleted","content":" Emits a boolean value, depending on whether the RxDocument is deleted or not. let lastState = null; myDocument.deleted$.subscribe(state => lastState = state); console.log(lastState); // false await myDocument.remove(); console.log(lastState); // true ","version":"Next","tagName":"h3"},{"title":"get deleted","type":1,"pageTitle":"RxDocument","url":"/rx-document.html#get-deleted","content":" A getter to get the current value of deleted$. console.log(myDocument.deleted); // false await myDocument.remove(); console.log(myDocument.deleted); // true ","version":"Next","tagName":"h3"},{"title":"toJSON()","type":1,"pageTitle":"RxDocument","url":"/rx-document.html#tojson","content":" Returns the document's data as plain json object. This will return an immutable object. To get something that can be modified, use toMutableJSON() instead. const json = myDocument.toJSON(); console.dir(json); /* { passportId: 'h1rg9ugdd30o', firstName: 'Carolina', lastName: 'Gibson', age: 33 ... */ You can also set withMetaFields: true to get additional meta fields like the revision, attachments or the deleted flag. const json = myDocument.toJSON(true); console.dir(json); /* { passportId: 'h1rg9ugdd30o', firstName: 'Carolina', lastName: 'Gibson', _deleted: false, _attachments: { ... }, _rev: '1-aklsdjfhaklsdjhf...' */ ","version":"Next","tagName":"h3"},{"title":"toMutableJSON()","type":1,"pageTitle":"RxDocument","url":"/rx-document.html#tomutablejson","content":" Same as toJSON() but returns a deep cloned object that can be mutated afterwards. Remember that deep cloning is performance expensive and should only be done when necessary. const json = myDocument.toMutableJSON(); json.firstName = 'Alice'; // The returned document can be mutated All methods of RxDocument are bound to the instance When you get a method from a RxDocument, the method is automatically bound to the documents instance. This means you do not have to use things like myMethod.bind(myDocument) like you would do in jsx. ","version":"Next","tagName":"h3"},{"title":"isRxDocument","type":1,"pageTitle":"RxDocument","url":"/rx-document.html#isrxdocument","content":" Returns true if the given object is an instance of RxDocument. Returns false if not. const is = isRxDocument(myObj); ","version":"Next","tagName":"h3"},{"title":"RxQuery","type":0,"sectionRef":"#","url":"/rx-query.html","content":"","keywords":"","version":"Next"},{"title":"find()","type":1,"pageTitle":"RxQuery","url":"/rx-query.html#find","content":" To create a basic RxQuery, call .find() on a collection and insert selectors. The result-set of normal queries is an array with documents. // find all that are older then 18 const query = myCollection .find({ selector: { age: { $gt: 18 } } }); ","version":"Next","tagName":"h2"},{"title":"findOne()","type":1,"pageTitle":"RxQuery","url":"/rx-query.html#findone","content":" A findOne-query has only a single RxDocument or null as result-set. // find alice const query = myCollection .findOne({ selector: { name: 'alice' } }); // find the youngest one const query = myCollection .findOne({ selector: {}, sort: [ {age: 'asc'} ] }); // find one document by the primary key const query = myCollection.findOne('foobar'); ","version":"Next","tagName":"h2"},{"title":"exec()","type":1,"pageTitle":"RxQuery","url":"/rx-query.html#exec","content":" Returns a Promise that resolves with the result-set of the query. const query = myCollection.find(); const results = await query.exec(); console.dir(results); // > [RxDocument,RxDocument,RxDocument..] On .findOne() queries, you can call .exec(true) to ensure your document exists and to make TypeScript handling easier: // docOrUndefined can be the type RxDocument or null which then has to be handled to be typesafe. const docOrUndefined = await myCollection.findOne().exec(); // with .exec(true), it will throw if the document cannot be found and always have the type RxDocument const doc = await myCollection.findOne().exec(true); ","version":"Next","tagName":"h2"},{"title":"Observe $","type":1,"pageTitle":"RxQuery","url":"/rx-query.html#observe-","content":" An BehaviorSubjectsee that always has the current result-set as value. This is extremely helpful when used together with UIs that should always show the same state as what is written in the database. const query = myCollection.find(); const querySub = query.$.subscribe(results => { console.log('got results: ' + results.length); }); // > 'got results: 5' // BehaviorSubjects emit on subscription await myCollection.insert({/* ... */}); // insert one // > 'got results: 6' // $.subscribe() was called again with the new results // stop watching this query querySub.unsubscribe() ","version":"Next","tagName":"h2"},{"title":"update()","type":1,"pageTitle":"RxQuery","url":"/rx-query.html#update","content":" Runs an update on every RxDocument of the query-result. // to use the update() method, you need to add the update plugin. import { RxDBUpdatePlugin } from 'rxdb/plugins/update'; addRxPlugin(RxDBUpdatePlugin); const query = myCollection.find({ selector: { age: { $gt: 18 } } }); await query.update({ $inc: { age: 1 // increases age of every found document by 1 } }); ","version":"Next","tagName":"h2"},{"title":"patch() / incrementalPatch()","type":1,"pageTitle":"RxQuery","url":"/rx-query.html#patch--incrementalpatch","content":" Runs the RxDocument.patch() function on every RxDocument of the query result. const query = myCollection.find({ selector: { age: { $gt: 18 } } }); await query.patch({ age: 12 // set the age of every found to 12 }); ","version":"Next","tagName":"h2"},{"title":"modify() / incrementalModify()","type":1,"pageTitle":"RxQuery","url":"/rx-query.html#modify--incrementalmodify","content":" Runs the RxDocument.modify() function on every RxDocument of the query result. const query = myCollection.find({ selector: { age: { $gt: 18 } } }); await query.modify((docData) => { docData.age = docData.age + 1; // increases age of every found document by 1 return docData; }); ","version":"Next","tagName":"h2"},{"title":"remove() / incrementalRemove()","type":1,"pageTitle":"RxQuery","url":"/rx-query.html#remove--incrementalremove","content":" Deletes all found documents. Returns a promise which resolves to the deleted documents. // All documents where the age is less than 18 const query = myCollection.find({ selector: { age: { $lt: 18 } } }); // Remove the documents from the collection const removedDocs = await query.remove(); ","version":"Next","tagName":"h2"},{"title":"doesDocumentDataMatch()","type":1,"pageTitle":"RxQuery","url":"/rx-query.html#doesdocumentdatamatch","content":" Returns true if the given document data matches the query. const documentData = { id: 'foobar', age: 19 }; myCollection.find({ selector: { age: { $gt: 18 } } }).doesDocumentDataMatch(documentData); // > true myCollection.find({ selector: { age: { $gt: 20 } } }).doesDocumentDataMatch(documentData); // > false ","version":"Next","tagName":"h2"},{"title":"Query Builder Plugin","type":1,"pageTitle":"RxQuery","url":"/rx-query.html#query-builder-plugin","content":" To use chained query methods, you can also use the query-builder plugin. // add the query builder plugin import { addRxPlugin } from 'rxdb'; import { RxDBQueryBuilderPlugin } from 'rxdb/plugins/query-builder'; addRxPlugin(RxDBQueryBuilderPlugin); // now you can use chained query methods const query = myCollection.find().where('age').gt(18); const result = await query.exec(); ","version":"Next","tagName":"h2"},{"title":"Query Examples","type":1,"pageTitle":"RxQuery","url":"/rx-query.html#query-examples","content":" Here some examples to fast learn how to write queries without reading the docs. Pouch-find-docs - learn how to use mango-queriesmquery-docs - learn how to use chained-queries // directly pass search-object myCollection.find({ selector: { name: { $eq: 'foo' } } }) .exec().then(documents => console.dir(documents)); /* * find by using sql equivalent '%like%' syntax * This example will fe: match 'foo' but also 'fifoo' or 'foofa' or 'fifoofa' * Notice that in RxDB queries, a regex is represented as a $regex string with the $options parameter for flags. * Using a RegExp instance is not allowed because they are not JSON.stringify()-able and also * RegExp instances are mutable which could cause undefined behavior when the RegExp is mutated * after the query was parsed. */ myCollection.find({ selector: { name: { $regex: '.*foo.*' } } }) .exec().then(documents => console.dir(documents)); // find using a composite statement eg: $or // This example checks where name is either foo or if name is not existent on the document myCollection.find({ selector: { $or: [ { name: { $eq: 'foo' } }, { name: { $exists: false } }] } }) .exec().then(documents => console.dir(documents)); // do a case insensitive search // This example will match 'foo' or 'FOO' or 'FoO' etc... myCollection.find({ selector: { name: { $regex: '^foo$', $options: 'i' } } }) .exec().then(documents => console.dir(documents)); // chained queries myCollection.find().where('name').eq('foo') .exec().then(documents => console.dir(documents)); RxDB will always append the primary key to the sort parameters For several performance optimizations, like the EventReduce algorithm, RxDB expects all queries to return a deterministic sort order that does not depend on the insert order of the documents. To ensure a deterministic ordering, RxDB will always append the primary key as last sort parameter to all queries and to all indexes. This works in contrast to most other databases where a query without sorting would return the documents in the order in which they had been inserted to the database. ","version":"Next","tagName":"h2"},{"title":"Setting a specific index","type":1,"pageTitle":"RxQuery","url":"/rx-query.html#setting-a-specific-index","content":" By default, the query will be sent to the RxStorage, where a query planner will determine which one of the available indexes must be used. But the query planner cannot know everything and sometimes will not pick the most optimal index. To improve query performance, you can specify which index must be used, when running the query. const query = myCollection .findOne({ selector: { age: { $gt: 18 }, gender: { $eq: 'm' } }, /** * Because the developer knows that 50% of the documents are 'male', * but only 20% are below age 18, * it makes sense to enforce using the ['gender', 'age'] index to improve performance. * This could not be known by the query planer which might have chosen ['age', 'gender'] instead. */ index: ['gender', 'age'] }); ","version":"Next","tagName":"h2"},{"title":"Count","type":1,"pageTitle":"RxQuery","url":"/rx-query.html#count","content":" When you only need the amount of documents that match a query, but you do not need the document data itself, you can use a count query for better performance. The performance difference compared to a normal query differs depending on which RxStorage implementation is used. const query = myCollection.count({ selector: { age: { $gt: 18 } } // 'limit' and 'skip' MUST NOT be set for count queries. }); // get the count result once const matchingAmount = await query.exec(); // > number // observe the result query.$.subscribe(amount => { console.log('Currently has ' + amount + ' documents'); }); note Count queries have a better performance than normal queries because they do not have to fetch the full document data out of the storage. Therefore it is not possible to run a count() query with a selector that requires to fetch and compare the document data. So if your query selector does not fully match an index of the schema, it is not allowed to run it. These queries would have no performance benefit compared to normal queries but have the tradeoff of not using the fetched document data for caching. /** * The following will throw an error because * the count operation cannot run on any specific index range * because the $regex operator is used. */ const query = myCollection.count({ selector: { age: { $regex: 'foobar' } } }); /** * The following will throw an error because * the count operation cannot run on any specific index range * because there is no ['age' ,'otherNumber'] index * defined in the schema. */ const query = myCollection.count({ selector: { age: { $gt: 20 }, otherNumber: { $gt: 10 } } }); If you want to count these kinds of queries, you should do a normal query instead and use the length of the result set as counter. This has the same performance as running a non-fully-indexed count which has to fetch all document data from the database and run a query matcher. // get count manually once const resultSet = await myCollection.find({ selector: { age: { $regex: 'foobar' } } }).exec(); const count = resultSet.length; // observe count manually const count$ = myCollection.find({ selector: { age: { $regex: 'foobar' } } }).$.pipe( map(result => result.length) ); /** * To allow non-fully-indexed count queries, * you can also specify that by setting allowSlowCount=true * when creating the database. */ const database = await createRxDatabase({ name: 'mydatabase', allowSlowCount: true, // set this to true [default=false] /* ... */ }); ","version":"Next","tagName":"h2"},{"title":"allowSlowCount","type":1,"pageTitle":"RxQuery","url":"/rx-query.html#allowslowcount","content":" To allow non-fully-indexed count queries, you can also specify that by setting allowSlowCount: true when creating the database. Doing this is mostly not wanted, because it would run the counting on the storage without having the document stored in the RxDB document cache. This is only recommended if the RxStorage is running remotely like in a WebWorker and you not always want to send the document-data between the worker and the main thread. In this case you might only need the count-result instead to save performance. ","version":"Next","tagName":"h3"},{"title":"RxQuery's are immutable","type":1,"pageTitle":"RxQuery","url":"/rx-query.html#rxquerys-are-immutable","content":" Because RxDB is a reactive database, we can do heavy performance-optimisation on query-results which change over time. To be able to do this, RxQuery's have to be immutable. This means, when you have a RxQuery and run a .where() on it, the original RxQuery-Object is not changed. Instead the where-function returns a new RxQuery-Object with the changed where-field. Keep this in mind if you create RxQuery's and change them afterwards. Example: const queryObject = myCollection.find().where('age').gt(18); // Creates a new RxQuery object, does not modify previous one queryObject.sort('name'); const results = await queryObject.exec(); console.dir(results); // result-documents are not sorted by name const queryObjectSort = queryObject.sort('name'); const results = await queryObjectSort.exec(); console.dir(results); // result-documents are now sorted ","version":"Next","tagName":"h2"},{"title":"isRxQuery","type":1,"pageTitle":"RxQuery","url":"/rx-query.html#isrxquery","content":" Returns true if the given object is an instance of RxQuery. Returns false if not. const is = isRxQuery(myObj); ","version":"Next","tagName":"h3"},{"title":"Design Decisions","type":1,"pageTitle":"RxQuery","url":"/rx-query.html#design-decisions","content":" Like most other noSQL-Databases, RxDB uses the mango-query-syntax similar to MongoDB and others. We use the JSON based Mango Query Syntax because: Mango Queries work better with TypeScript compared to SQL strings.Mango Queries are composable and easy to transform by code without joining SQL strings.Queries can be run very fast and efficient with only a minimal query planer to plan the best indexes and operations.NoSQL queries can be optimized with the EventReduce algorithm to improve performance of observed and cached queries. ","version":"Next","tagName":"h2"},{"title":"FAQ","type":1,"pageTitle":"RxQuery","url":"/rx-query.html#faq","content":" Can I specify which document fields are returned by an RxDB query? No, RxDB does not support partial document retrieval. Because RxDB is a client-side database with limited memory, it caches and de-duplicates entire documents across multiple queries. Even if you only need a few fields, most storages must still fetch the entire JSON data, so subselecting fields would not significantly improve performance. Therefore, RxDB always returns full documents. If you only need certain fields, you can filter them out in your application code or consider storing just the necessary data in a separate collection. Why doesn't RxDB support aggregations on queries? RxDB runs entirely on the client side. Any "aggregation" or data processing you might do within RxDB would still happen in the same JavaScript environment as your application code. Therefore, there's no real performance advantage or difference between doing the aggregation in RxDB vs. doing it in your own code after fetching the data. As a result, RxDB doesn't provide built-in aggregation methods. Instead, just query the documents you need and perform any calculations directly in your app's code. Why does RxDB not support cross-collection queries? RxDB is a client-side database and does not provide built-in cross-collection queries or transactions. Instead, you can execute multiple queries in your JavaScript code and combine their results as needed. Because everything runs in the same environment, this approach offers the same performance you would get if cross-collection queries were built in - without the added complexity. Why Doesn't RxDB Support Case-Insensitive Search? RxDB relies on various storage engines as its backend, and these storage engines generally do not support case-insensitive search natively, like IndexedDB or FoundationDB. This limitation arises from the design of these engines, which prioritize efficiency and flexibility for specific types of queries rather than universal features like case-insensitivity. Although RxDB does not offer built-in support for case-insensitive search, there are two common workarounds: Store Data in a Meta-Field for Lowercase Search: To enable case-insensitive search, you can store an additional field in your documents where the relevant text data is preprocessed and saved in lowercase. const document = { name: 'John Doe', nameLowercase: 'john doe' // Meta-field }; await myCollection.insert(document); const query = myCollection.find({ selector: { nameLowercase: { $eq: 'john doe' } } }); Use a Regex Query: Regular expressions can perform case-insensitive searches. For example: const query = myCollection.find({ selector: { name: { $regex: '^john doe$', $options: 'i' } // Case-insensitive regex } }); However, this method has a significant downside: regex queries often cannot leverage indexes efficiently. As a result, they may be slower, especially for large datasets. ","version":"Next","tagName":"h2"},{"title":"RxSchema","type":0,"sectionRef":"#","url":"/rx-schema.html","content":"","keywords":"","version":"Next"},{"title":"Example","type":1,"pageTitle":"RxSchema","url":"/rx-schema.html#example","content":" In this example-schema we define a hero-collection with the following settings: the version-number of the schema is 0the name-property is the primaryKey. This means its a unique, indexed, required string which can be used to definitely find a single document.the color-field is required for every documentthe healthpoints-field must be a number between 0 and 100the secret-field stores an encrypted valuethe birthyear-field is final which means it is required and cannot be changedthe skills-attribute must be an array with objects which contain the name and the damage-attribute. There is a maximum of 5 skills per hero.Allows adding attachments and store them encrypted { "title": "hero schema", "version": 0, "description": "describes a simple hero", "primaryKey": "name", "type": "object", "properties": { "name": { "type": "string", "maxLength": 100 // <- the primary key must have set maxLength }, "color": { "type": "string" }, "healthpoints": { "type": "number", "minimum": 0, "maximum": 100 }, "secret": { "type": "string" }, "birthyear": { "type": "number", "final": true, "minimum": 1900, "maximum": 2050 }, "skills": { "type": "array", "maxItems": 5, "uniqueItems": true, "items": { "type": "object", "properties": { "name": { "type": "string" }, "damage": { "type": "number" } } } } }, "required": [ "name", "color" ], "encrypted": ["secret"], "attachments": { "encrypted": true } } ","version":"Next","tagName":"h2"},{"title":"Create a collection with the schema","type":1,"pageTitle":"RxSchema","url":"/rx-schema.html#create-a-collection-with-the-schema","content":" await myDatabase.addCollections({ heroes: { schema: myHeroSchema } }); console.dir(myDatabase.heroes.name); // heroes ","version":"Next","tagName":"h2"},{"title":"version","type":1,"pageTitle":"RxSchema","url":"/rx-schema.html#version","content":" The version field is a number, starting with 0. When the version is greater than 0, you have to provide the migrationStrategies to create a collection with this schema. ","version":"Next","tagName":"h2"},{"title":"primaryKey","type":1,"pageTitle":"RxSchema","url":"/rx-schema.html#primarykey","content":" The primaryKey field contains the fieldname of the property that will be used as primary key for the whole collection. The value of the primary key of the document must be a string, unique, final and is required. ","version":"Next","tagName":"h2"},{"title":"composite primary key","type":1,"pageTitle":"RxSchema","url":"/rx-schema.html#composite-primary-key","content":" You can define a composite primary key which gets composed from multiple properties of the document data. const mySchema = { keyCompression: true, // set this to true, to enable the keyCompression version: 0, title: 'human schema with composite primary', primaryKey: { // where should the composed string be stored key: 'id', // fields that will be used to create the composed key fields: [ 'firstName', 'lastName' ], // separator which is used to concat the fields values. separator: '|' }, type: 'object', properties: { id: { type: 'string', maxLength: 100 // <- the primary key must have set maxLength }, firstName: { type: 'string' }, lastName: { type: 'string' } }, required: [ 'id', 'firstName', 'lastName' ] }; You can then find a document by using the relevant parts to create the composite primaryKey: // inserting with composite primary await myRxCollection.insert({ // id, <- do not set the id, it will be filled by RxDB firstName: 'foo', lastName: 'bar' }); // find by composite primary const id = myRxCollection.schema.getPrimaryOfDocumentData({ firstName: 'foo', lastName: 'bar' }); const myRxDocument = myRxCollection.findOne(id).exec(); ","version":"Next","tagName":"h3"},{"title":"Indexes","type":1,"pageTitle":"RxSchema","url":"/rx-schema.html#indexes","content":" RxDB supports secondary indexes which are defined at the schema-level of the collection. Index is only allowed on field types string, integer and number. Some RxStorages allow to use boolean fields as index. Depending on the field type, you must have set some meta attributes like maxLength or minimum. This is required so that RxDB is able to know the maximum string representation length of a field, which is needed to craft custom indexes on several RxStorage implementations. note RxDB will always append the primaryKey to all indexes to ensure a deterministic sort order of query results. You do not have to add the primaryKey to any index. ","version":"Next","tagName":"h2"},{"title":"Index-example","type":1,"pageTitle":"RxSchema","url":"/rx-schema.html#index-example","content":" const schemaWithIndexes = { version: 0, title: 'human schema with indexes', keyCompression: true, primaryKey: 'id', type: 'object', properties: { id: { type: 'string', maxLength: 100 // <- the primary key must have set maxLength }, firstName: { type: 'string', maxLength: 100 // <- string-fields that are used as an index, must have set maxLength. }, lastName: { type: 'string' }, active: { type: 'boolean' }, familyName: { type: 'string' }, balance: { type: 'number', // number fields that are used in an index, must have set minimum, maximum and multipleOf minimum: 0, maximum: 100000, multipleOf: 0.01 }, creditCards: { type: 'array', items: { type: 'object', properties: { cvc: { type: 'number' } } } } }, required: [ 'id', 'active' // <- boolean fields that are used in an index, must be required. ], indexes: [ 'firstName', // <- this will create a simple index for the `firstName` field ['active', 'firstName'], // <- this will create a compound-index for these two fields 'active' ] }; internalIndexes When you use RxDB on the server-side, you might want to use internalIndexes to speed up internal queries. Read more ","version":"Next","tagName":"h3"},{"title":"attachments","type":1,"pageTitle":"RxSchema","url":"/rx-schema.html#attachments","content":" To use attachments in the collection, you have to add the attachments-attribute to the schema. See RxAttachment. ","version":"Next","tagName":"h2"},{"title":"default","type":1,"pageTitle":"RxSchema","url":"/rx-schema.html#default","content":" Default values can only be defined for first-level fields. Whenever you insert a document unset fields will be filled with default-values. const schemaWithDefaultAge = { version: 0, primaryKey: 'id', type: 'object', properties: { id: { type: 'string', maxLength: 100 // <- the primary key must have set maxLength }, firstName: { type: 'string' }, lastName: { type: 'string' }, age: { type: 'integer', default: 20 // <- default will be used } }, required: ['id'] }; ","version":"Next","tagName":"h2"},{"title":"final","type":1,"pageTitle":"RxSchema","url":"/rx-schema.html#final","content":" By setting a field to final, you make sure it cannot be modified later. Final fields are always required. Final fields cannot be observed because they will not change. Advantages: With final fields you can ensure that no-one accidentally modifies the data.When you enable the eventReduce algorithm, some performance-improvements are done. const schemaWithFinalAge = { version: 0, primaryKey: 'id', type: 'object', properties: { id: { type: 'string', maxLength: 100 // <- the primary key must have set maxLength }, firstName: { type: 'string' }, lastName: { type: 'string' }, age: { type: 'integer', final: true } }, required: ['id'] }; ","version":"Next","tagName":"h2"},{"title":"Non allowed properties","type":1,"pageTitle":"RxSchema","url":"/rx-schema.html#non-allowed-properties","content":" The schema is not only used to validate objects before they are written into the database, but also used to map getters to observe and populate single fieldnames, keycompression and other things. Therefore you can not use every schema which would be valid for the spec of json-schema.org. For example, fieldnames must match the regex ^[a-zA-Z][[a-zA-Z0-9_]*]?[a-zA-Z0-9]$ and additionalProperties is always set to false. But don't worry, RxDB will instantly throw an error when you pass an invalid schema into it. Also the following class properties of RxDocument cannot be used as top level fields because they would clash when the RxDocument property is accessed: [ "collection", "_data", "_propertyCache", "isInstanceOfRxDocument", "primaryPath", "primary", "revision", "deleted$", "deleted$$", "deleted", "getLatest", "$", "$$", "get$", "get$$", "populate", "get", "toJSON", "toMutableJSON", "update", "incrementalUpdate", "updateCRDT", "putAttachment", "putAttachmentBase64", "getAttachment", "allAttachments", "allAttachments$", "modify", "incrementalModify", "patch", "incrementalPatch", "_saveData", "remove", "incrementalRemove", "close", "deleted", "synced" ] ","version":"Next","tagName":"h2"},{"title":"FAQ","type":1,"pageTitle":"RxSchema","url":"/rx-schema.html#faq","content":" How can I store a Date? With RxDB you can only store plain JSON data inside of a document. You cannot store a JavaScript new Date() instance directly. This is for performance reasons and because Date() is a mutable thing where changing it at any time might cause strange problem that are hard to debug. To store a date in RxDB, you have to define a string field with a format attribute: { "type": "string", "format": "date-time" } When storing the data you have to first transform your Date object into a string Date.toISOString(). Because the date-time is sortable, you can do whatever query operations on that field and even use it as an index. How to store schemaless data? By design, RxDB requires that every collection has a schema. This means you cannot create a truly "schema-less" collection where top-level fields are unknown at schema creation time. RxDB must know about all fields of a document at the top level to perform validation, index creation, and other internal optimizations. However, there is a way to store data of arbitrary structure at sub-fields. To do this, define a property with type: "object" in your schema. For example: { "version": 0, "primaryKey": "id", "type": "object", "properties": { "id": { "type": "string", "maxLength": 100 }, "myDynamicData": { "type": "object" // Here you can store any JSON data // because it's an open object. } }, "required": ["id"] } Why does RxDB automatically set additionalProperties: false at the top level RxDB automatically sets additionalProperties: false at the top level of a schema to ensure that all top-level fields are known in advance. This design choice offers several benefits: Prevents collisions with RxDocument class properties: RxDB documents have built-in class methods (e.g., .toJSON, .save) at the top level. By forbidding unknown top-level properties, we avoid accidental naming collisions with these built-in methods. Avoids conflicts with user-defined ORM functions: Developers can add custom ORM methods to RxDocuments. If top-level properties were unbounded, a property name could accidentally conflict with a method name, leading to unexpected behavior. Improves TypeScript typings: If RxDB didn't know about all top-level fields, the document type would effectively become any. That means a simple typo like myDocument.toJOSN() would only be caught at runtime, not at build time. By disallowing unknown properties, TypeScript can provide strict typing and catch errors sooner. Can't change the schema of a collection When you make changes to the schema of a collection, you sometimes can get an error likeError: addCollections(): another instance created this collection with a different schema. This means you have created a collection before and added document-data to it. When you now just change the schema, it is likely that the new schema does not match the saved documents inside of the collection. This would cause strange bugs and would be hard to debug, so RxDB check's if your schema has changed and throws an error. To change the schema in production-mode, do the following steps: Increase the version by 1Add the appropriate migrationStrategies so the saved data will be modified to match the new schema In development-mode, the schema-change can be simplified by one of these strategies: Use the memory-storage so your db resets on restart and your schema is not saved permanentlyCall removeRxDatabase('mydatabasename', RxStorage); before creating a new RxDatabase-instanceAdd a timestamp as suffix to the database-name to create a new one each run like name: 'heroesDB' + new Date().getTime() ","version":"Next","tagName":"h2"},{"title":"Scaling the RxServer","type":0,"sectionRef":"#","url":"/rx-server-scaling.html","content":"","keywords":"","version":"Next"},{"title":"Vertical Scaling","type":1,"pageTitle":"Scaling the RxServer","url":"/rx-server-scaling.html#vertical-scaling","content":" Vertical Scaling aka "scaling up" has the goal to get more power out of a single server by utilizing more of the servers compute. Vertical scaling should be the first step when you decide it is time to scale. ","version":"Next","tagName":"h2"},{"title":"Run multiple JavaScript processes","type":1,"pageTitle":"Scaling the RxServer","url":"/rx-server-scaling.html#run-multiple-javascript-processes","content":" To utilize more compute power of your server, the first step is to scale vertically by running the RxDB server on multiple processes in parallel. RxDB itself is already build to support multiInstance-usage on the client, like when the user has opened multiple browser tabs at once. The same method works also on the server side in Node.js. You can spawn multiple JavaScript processes that use the same RxDatabase and the instances will automatically communicate with each other and distribute their data and events with the BroadcastChannel. By default the multiInstance param is set to true when calling createRxDatabase(), so you do not have to change anything. To make all processes accessible through the same endpoint, you can put a load-balancer like nginx in front of them. ","version":"Next","tagName":"h3"},{"title":"Using workers to split up the load","type":1,"pageTitle":"Scaling the RxServer","url":"/rx-server-scaling.html#using-workers-to-split-up-the-load","content":" Another way to increases the server capacity is to put the storage into a Worker thread so that the "main" thread with the webserver can handle more requests. This might be easier to set up compared to using multiple JavaScript processes and a load balancer. ","version":"Next","tagName":"h3"},{"title":"Use an in-memory storage at the user facing level","type":1,"pageTitle":"Scaling the RxServer","url":"/rx-server-scaling.html#use-an-in-memory-storage-at-the-user-facing-level","content":" Another way to serve more requests to your end users, is to use an in-memory storage that has the best read- and write performance. It outperforms persistent storages by a factor of 10x. So instead of directly serving requests from the persistence layer, you add an in-memory layer on top of that. You could either do a replication from your memory database to the persistent one, or you use the memory mapped storage which has this build in. import { getRxStorageMemory } from 'rxdb/plugins/storage-memory'; import { replicateRxCollection } from 'rxdb/plugins/replication'; import { getRxStorageFilesystemNode } from 'rxdb-premium/plugins/storage-filesystem-node'; import { getMemoryMappedRxStorage } from 'rxdb-premium/plugins/storage-memory-mapped'; const myRxDatabase = await createRxDatabase({ name: 'mydb', storage: getMemoryMappedRxStorage({ storage: getRxStorageFilesystemNode({ basePath: path.join(__dirname, 'my-database-folder') }) }) }); await myDatabase.addCollections({/* ... */}); const myServer = await startRxServer({ database: myRxDatabase, port: 443 }); But notice that you have to check your persistence requirements. When a write happens to the memory layer and the server crashes while it has not persisted, in rare cases the write operation might get lost. You can remove that risk by setting awaitWritePersistence: true on the memory mapped storage settings. ","version":"Next","tagName":"h3"},{"title":"Horizontal Scaling","type":1,"pageTitle":"Scaling the RxServer","url":"/rx-server-scaling.html#horizontal-scaling","content":" To scale the RxDB Server above a single physical hardware unit, there are different solutions where the decision depends on the exact use case. ","version":"Next","tagName":"h2"},{"title":"Single Datastore with multiple branches","type":1,"pageTitle":"Scaling the RxServer","url":"/rx-server-scaling.html#single-datastore-with-multiple-branches","content":" The most common way to use multiple servers with RxDB is to split up the server into a tree with a root "datastore" and multiple "branches". The datastore contains the persisted data and only servers as a replication endpoint for the branches. The branches themself will replicate data to and from the datastore and server requests to the end users. This is mostly useful on read-heavy applications because reads will directly run on the branches without ever reaching the main datastore and you can always add more branches to scale up. Even adding additional layers of "datastores" is possible so the tree can grow (or shrink) with the demand. ","version":"Next","tagName":"h3"},{"title":"Moving the branches to \"the edge\"","type":1,"pageTitle":"Scaling the RxServer","url":"/rx-server-scaling.html#moving-the-branches-to-the-edge","content":" Instead of running the "branches" of the tree on the same physical location as the datastore, it often makes sense to move the branches into a datacenter near the end users. Because the RxDB replication algorithm is made to work with slow and even partially offline users, using it for physically separated servers will work the same way. Latency is not that important because writes and reads will not decrease performance by blocking each other and the replication can run in the background without blocking other servers during transaction. ","version":"Next","tagName":"h3"},{"title":"Replicate Databases for Microservices","type":1,"pageTitle":"Scaling the RxServer","url":"/rx-server-scaling.html#replicate-databases-for-microservices","content":" If your application is build with a microservice architecture and your microservices are also build in Node.js, you can scale the database horizontally by moving the database into the microservices and use the RxDB replication to do a realtime sync between the microservices and a main "datastore" server. The "datastore" server would then only handle the replication requests or do some additional things like logging or backups. The compute for reads and writes will then mainly be done on the microservices themself. This simplifies setting up more and more microservices without decreasing the performance of the whole system. ","version":"Next","tagName":"h3"},{"title":"Use a self-scaling RxStorage","type":1,"pageTitle":"Scaling the RxServer","url":"/rx-server-scaling.html#use-a-self-scaling-rxstorage","content":" An alternative to scaling up the RxDB servers themself, you can also switch to a RxStorage which scales up internally. For example the FoundationDB storage or MongoDB can work on top of a cluster that can increase load by adding more servers to itself. With that you can always add more Node.js RxDB processes that connect to the same cluster and server requests from it. ","version":"Next","tagName":"h3"},{"title":"RxDB Server","type":0,"sectionRef":"#","url":"/rx-server.html","content":"","keywords":"","version":"Next"},{"title":"Starting a RxServer","type":1,"pageTitle":"RxDB Server","url":"/rx-server.html#starting-a-rxserver","content":" To create an RxServer, you have to install the rxdb-server package with npm install rxdb-server --save and then you can import the createRxServer() function and create a server on a given RxDatabase and adapter. After adding the endpoints to the server, do not forget to call myServer.start() to start the actually http-server. import { createRxServer } from 'rxdb-server/plugins/server'; /** * We use the express adapter which is the one that comes with RxDB core * Make sure you have express installed in the correct version! * @see https://github.com/pubkey/rxdb-server/blob/master/package.json */ import { RxServerAdapterExpress } from 'rxdb-server/plugins/adapter-express'; const myServer = await createRxServer({ database: myRxDatabase, adapter: RxServerAdapterExpress, port: 443 }); // add endpoints here (see below) // after adding the endpoints, start the server await myServer.start(); ","version":"Next","tagName":"h2"},{"title":"Using RxServer with Fastify","type":1,"pageTitle":"RxDB Server","url":"/rx-server.html#using-rxserver-with-fastify","content":" There is also a RxDB Premium 👑 adapter to use the RxServer with Fastify instead of express. Fastify has shown to have better performance and in general is more modern. import { createRxServer } from 'rxdb-server/plugins/server'; import { RxServerAdapterFastify } from 'rxdb-premium/plugins/server-adapter-fastify'; const myServer = await createRxServer({ database: myRxDatabase, adapter: RxServerAdapterFastify, port: 443 }); await myServer.start(); ","version":"Next","tagName":"h3"},{"title":"Using RxServer with Koa","type":1,"pageTitle":"RxDB Server","url":"/rx-server.html#using-rxserver-with-koa","content":" There is also a RxDB Premium 👑 adapter to use the RxServer with Koa instead of express. Koa has shown to have better performance compared to express. import { createRxServer } from 'rxdb-server/plugins/server'; import { RxServerAdapterKoa } from 'rxdb-premium/plugins/server-adapter-koa'; const myServer = await createRxServer({ database: myRxDatabase, adapter: RxServerAdapterKoa, port: 443 }); await myServer.start(); ","version":"Next","tagName":"h3"},{"title":"RxServer Endpoints","type":1,"pageTitle":"RxDB Server","url":"/rx-server.html#rxserver-endpoints","content":" On top of the RxServer you can add different types of endpoints. An endpoint is always connected to exactly one RxCollection and it only serves data from that single collection. For now there are only two endpoints implemented, the replication endpoint and the REST endpoint. Others will be added in the future. An endpoint is added to the server by calling the add endpoint method like myRxServer.addReplicationEndpoint(). Each needs a different name string as input which will define the resulting endpoint url. The endpoint urls is a combination of the given name and schema version of the collection, like /my-endpoint/0. const myEndpoint = server.addReplicationEndpoint({ name: 'my-endpoint', collection: myServerCollection }); console.log(myEndpoint.urlPath) // > 'my-endpoint/0' Notice that it is not required that the server side schema version is equal to the client side schema version. You might want to change server schemas more often and then only do a migration on the server, not on the clients. ","version":"Next","tagName":"h2"},{"title":"Replication Endpoint","type":1,"pageTitle":"RxDB Server","url":"/rx-server.html#replication-endpoint","content":" The replication endpoint allows clients that connect to it to replicate data with the server via the RxDB Sync Engine. There is also the Replication Server plugin that is used on the client side to connect to the endpoint. The endpoint is added to the server with the addReplicationEndpoint() method. It requires a specific collection and the endpoint will only provided replication for documents inside of that collection. // > server.ts const endpoint = server.addReplicationEndpoint({ name: 'my-endpoint', collection: myServerCollection }); Then you can start the Server Replication on the client: // > client.ts const replicationState = await replicateServer({ collection: usersCollection, replicationIdentifier: 'my-server-replication', url: 'http://localhost:80/my-endpoint/0', push: {}, pull: {} }); ","version":"Next","tagName":"h2"},{"title":"REST endpoint","type":1,"pageTitle":"RxDB Server","url":"/rx-server.html#rest-endpoint","content":" The REST endpoint exposes various methods to access the data from the RxServer with non-RxDB tools via plain HTTP operations. You can use it to connect apps that are programmed in different programming languages than JavaScript or to access data from other third party tools. Creating a REST endpoint on a RxServer: const endpoint = await server.addRestEndpoint({ name: 'my-endpoint', collection: myServerCollection }); // plain http request with fetch const request = await fetch('http://localhost:80/' + endpoint.urlPath + '/query', { method: 'POST', headers: { 'Accept': 'application/json', 'Content-Type': 'application/json' }, body: JSON.stringify({ selector: {} }) }); const response = await request.json(); There is also the client-rest plugin that provides type-save interactions with the REST endpoint: // using the client (optional) import { createRestClient } from 'rxdb-server/plugins/client-rest'; const client = createRestClient('http://localhost:80/' + endpoint.urlPath, {/* headers */}); const response = await client.query({ selector: {} }); The REST endpoint exposes the following paths: query [POST]: Fetch the results of a NoSQL query.query/observe [GET]: Observe a query's results via Server Send Events.get [POST]: Fetch multiple documents by their primary key.set [POST]: Write multiple documents at once.delete [POST]: Delete multiple documents by their primary key. ","version":"Next","tagName":"h2"},{"title":"CORS","type":1,"pageTitle":"RxDB Server","url":"/rx-server.html#cors","content":" When creating a server or adding endpoints, you can specify a CORS string. Endpoint cors always overwrite server cors. The default is the wildcard * which allows all requests. const myServer = await startRxServer({ database: myRxDatabase, cors: 'http://example.com' port: 443 }); const endpoint = await server.addReplicationEndpoint({ name: 'my-endpoint', collection: myServerCollection, cors: 'http://example.com' }); ","version":"Next","tagName":"h2"},{"title":"Auth handler","type":1,"pageTitle":"RxDB Server","url":"/rx-server.html#auth-handler","content":" To authenticate users and to make user-specific data available on server requests, an authHandler must be provided that parses the headers and returns the actual auth data that is used to authenticate the client and in the queryModifier and changeValidator. An auth handler gets the given headers object as input and returns the auth data in the format { data: {}, validUntil: 1706579817126}. The data field can contain any data that can be used afterwards in the queryModifier and changeValidator. The validUntil field contains the unix timestamp in milliseconds at which the authentication is no longer valid and the client will get disconnected. For example your authHandler could get the Authorization header and parse the JSON web token to identify the user and store the user id in the data field for later use. ","version":"Next","tagName":"h2"},{"title":"Query modifier","type":1,"pageTitle":"RxDB Server","url":"/rx-server.html#query-modifier","content":" The query modifier is a JavaScript function that is used to restrict which documents a client can fetch or replicate from the server. It gets the auth data and the actual NoSQL query as input parameter and returns a modified NoSQL query that is then used internally by the server. You can pass a different query modifier to each endpoint so that you can have different endpoints for different use cases on the same server. For example you could use a query modifier that get the userId from the auth data and then restricts the query to only return documents that have the same userId set. function myQueryModifier(authData, query) { query.selector.userId = { $eq: authData.data.userid }; return query; } const endpoint = await server.addReplicationEndpoint({ name: 'my-endpoint', collection: myServerCollection, queryModifier: myQueryModifier }); The RxServer will use the queryModifier at many places internally to determine which queries to run or if a document is allowed to be seen/edited by a client. note For performance reasons the queryModifier and changeValidatorMUST NOT be async and return a promise. If you need async data to run them, you should gather that data in the RxServerAuthHandler and store it in the auth data to access it later. ","version":"Next","tagName":"h2"},{"title":"Change validator","type":1,"pageTitle":"RxDB Server","url":"/rx-server.html#change-validator","content":" The change validator is a JavaScript function that is used to restrict which document writes are allowed to be done by a client. For example you could restrict clients to only change specific document fields or to not do any document writes at all. It can also be used to validate change document data before storing it at the server. In this example we restrict clients from doing inserts and only allow updates. For that we check if the change contains an assumedMasterState property and return false to block the write. function myChangeValidator(authData, change) { if(change.assumedMasterState) { return false; } else { return true; } } const endpoint = await server.addReplicationEndpoint({ name: 'my-endpoint', collection: myServerCollection, changeValidator: myChangeValidator }); ","version":"Next","tagName":"h2"},{"title":"Server-only indexes","type":1,"pageTitle":"RxDB Server","url":"/rx-server.html#server-only-indexes","content":" Normal RxDB schema indexes get the _deleted field prepended because all RxQueries automatically only search for documents with _deleted=false. When you use RxDB on a server, this might not be optimal because there can be the need to query for documents where the value of _deleted does not matter. Mostly this is required in the pull.stream$ of a replication when a queryModifier is used to add an additional field to the query. To set indexes without _deleted, you can use the internalIndexes field of the schema like the following: { "version": 0, "primaryKey": "id", "type": "object", "properties": { "id": { "type": "string", "maxLength": 100 }, "name": { "type": "string", "maxLength": 100 } }, "internalIndexes": [ ["name", "id"] ] } note Indexes come with a performance burden. You should only use the indexes you need and make sure you do not accidentally set the internalIndexes in your client side RxCollections. ","version":"Next","tagName":"h2"},{"title":"Server-only fields","type":1,"pageTitle":"RxDB Server","url":"/rx-server.html#server-only-fields","content":" All endpoints can be created with the serverOnlyFields set which defines some fields to only exist on the server, not on the clients. Clients will not see that fields and cannot do writes where one of the serverOnlyFields is set. Notice that when you use serverOnlyFields you likely need to have a different schema on the server than the schema that is used on the clients. const endpoint = await server.addReplicationEndpoint({ name: 'my-endpoint', collection: col, // here the field 'my-secretss' is defined to be server-only serverOnlyFields: ['my-secrets'] }); note For performance reasons, only top-level fields can be used as serverOnlyFields. Otherwise the server would have to deep-clone all document data which is too expensive. ","version":"Next","tagName":"h2"},{"title":"Readonly fields","type":1,"pageTitle":"RxDB Server","url":"/rx-server.html#readonly-fields","content":" When you have fields that should only be modified by the server, but not by the client, you can ensure that by comparing the fields value in the changeValidator. const myChangeValidator = function(authData, change){ if(change.newDocumentState.myReadonlyField !== change.assumedMasterState.myReadonlyField){ throw new Error('myReadonlyField is readonly'); } } ","version":"Next","tagName":"h2"},{"title":"$regex queries not allowed","type":1,"pageTitle":"RxDB Server","url":"/rx-server.html#regex-queries-not-allowed","content":" $regex queries are not allowed to run at the server to prevent ReDos Attacks. ","version":"Next","tagName":"h2"},{"title":"Conflict handling","type":1,"pageTitle":"RxDB Server","url":"/rx-server.html#conflict-handling","content":" To detect and handle conflicts, the conflict handler from the endpoints RxCollection is used. ","version":"Next","tagName":"h2"},{"title":"FAQ","type":1,"pageTitle":"RxDB Server","url":"/rx-server.html#faq","content":" Why are the server plugins in a different github repo and npm package? The RxServer and its other plugins are in a different github repository because: It has too many dependencies that you do not want to install if you only use RxDB at the client side It has a different license (SSPL) to prevent large cloud vendors from "stealing" the revenue, similar to MongoDB's license. Why can't endpoints be added dynamically? After RxServer.start() is called, you can no longer add endpoints. This is because many of the supported server libraries do not allow dynamic routing for performance and security reasons. ","version":"Next","tagName":"h2"},{"title":"RxState - Reactive Persistent State with RxDB","type":0,"sectionRef":"#","url":"/rx-state.html","content":"","keywords":"","version":"Next"},{"title":"Creating a RxState","type":1,"pageTitle":"RxState - Reactive Persistent State with RxDB","url":"/rx-state.html#creating-a-rxstate","content":" A RxState instance is created on top of a RxDatabase. The state will automatically be persisted with the storage that was used when setting up the RxDatabase. To use it you first have to import the RxDBStatePlugin and add it to RxDB with addRxPlugin(). To create a state call the addState() method on the database instance. Calling addState multiple times will automatically de-duplicated and only create a single RxState object. import { createRxDatabase, addRxPlugin } from 'rxdb'; import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage'; // first add the RxState plugin to RxDB import { RxDBStatePlugin } from 'rxdb/plugins/state'; addRxPlugin(RxDBStatePlugin); const database = await createRxDatabase({ name: 'heroesdb', storage: getRxStorageLocalstorage(), }); // create a state instance const myState = await database.addState(); // you can also create states with a given namespace const myChildState = await database.addState('myNamepsace'); ","version":"Next","tagName":"h2"},{"title":"Writing data and Persistence","type":1,"pageTitle":"RxState - Reactive Persistent State with RxDB","url":"/rx-state.html#writing-data-and-persistence","content":" Writing data to the state happen by a so called modifier. It is a simple JavaScript function that gets the current value as input and returns the new, modified value. For example to increase the value of myField by one, you would use a modifier that increases the current value: // initially set value to zero await myState.set('myField', v => 0); // increase value by one await myState.set('myField', v => v + 1); // update value to be 42 await myState.set('myField', v => 42); The modifier is used instead of a direct assignment to ensure correct behavior when other JavaScript realms write to the state at the same time, like other browser tabs or webworkers. On conflicts, the modifier will just be run again to ensure deterministic and correct behavior. Therefore mutation is async, you have to await the call to the set function when you care about the moment when the change actually happened. ","version":"Next","tagName":"h2"},{"title":"Get State Data","type":1,"pageTitle":"RxState - Reactive Persistent State with RxDB","url":"/rx-state.html#get-state-data","content":" The state stored inside of a RxState instance can be seen as a big single JSON object that contains all data. You can fetch the whole object or partially get a single properties or nested ones. Fetching data can either happen with the .get() method or by accessing the field directly like myRxState.myField. // get root state data const val = myState.get(); // get single property const val = myState.get('myField'); const val = myState.myField; // get nested property const val = myState.get('myField.childfield'); const val = myState.myField.childfield; // get nested array property const val = myState.get('myArrayField[0].foobar'); const val = myState.myArrayField[0].foobar; ","version":"Next","tagName":"h2"},{"title":"Observability","type":1,"pageTitle":"RxState - Reactive Persistent State with RxDB","url":"/rx-state.html#observability","content":" Instead of fetching the state once, you can also observe the state with either rxjs observables or custom reactivity handlers like signals or hooks. Rxjs observables can be created by either using the .get$() method or by accessing the top level property suffixed with a dollar sign like myState.myField$. const observable = myState.get$('myField'); const observable = myState.myField$; // then you can subscribe to that observable observable.subscribe(newValue => { // update the UI }); Subscription works across multiple JavaScript realms like browser tabs or Webworkers. ","version":"Next","tagName":"h2"},{"title":"RxState with signals and hooks","type":1,"pageTitle":"RxState - Reactive Persistent State with RxDB","url":"/rx-state.html#rxstate-with-signals-and-hooks","content":" With the double-dollar sign you can also access custom reactivity instances like signals or hooks. These are easier to use compared to rxjs, depending on which JavaScript framework you are using. For example in angular to use signals, you would first add a reactivity factory to your database and then access the signals of the RxState: import { RxReactivityFactory, createRxDatabase } from 'rxdb/plugins/core'; import { toSignal } from '@angular/core/rxjs-interop'; const reactivityFactory: RxReactivityFactory<ReactivityType> = { fromObservable(obs, initialValue) { return toSignal(obs, { initialValue }); } }; const database = await createRxDatabase({ name: 'mydb', storage: getRxStorageLocalstorage(), reactivity: reactivityFactory }); const myState = await database.addState(); const mySignal = myState.get$$('myField'); const mySignal = myState.myField$$; ","version":"Next","tagName":"h2"},{"title":"Cleanup RxState operations","type":1,"pageTitle":"RxState - Reactive Persistent State with RxDB","url":"/rx-state.html#cleanup-rxstate-operations","content":" For faster writes, changes to the state are only written as list of operations to disc. After some time you might have too many operations written which would delay the initial state creation. To automatically merge the state operations into a single operation and clear the old operations, you should add the Cleanup Plugin before creating the RxDatabase: import { addRxPlugin } from 'rxdb'; import { RxDBCleanupPlugin } from 'rxdb/plugins/cleanup'; addRxPlugin(RxDBCleanupPlugin); ","version":"Next","tagName":"h2"},{"title":"Correctness over Performance","type":1,"pageTitle":"RxState - Reactive Persistent State with RxDB","url":"/rx-state.html#correctness-over-performance","content":" RxState is optimized for correctness, not for performance. Compared to other state libraries, RxState directly persists data to storage and ensures write conflicts are handled properly. Other state libraries are handles mainly in-memory and lazily persist to disc without caring about conflicts or multiple browser tabs which can cause problems and hard to reproduce bugs. RxState still uses RxDB which has a range of great performing storages so the write speed is more than sufficient. Also to further improve write performance you can use more RxState instances (with an different namespace) to split writes across multiple storage instances. Reads happen directly in-memory which makes RxState read performance comparable to other state libraries. ","version":"Next","tagName":"h2"},{"title":"RxState Replication","type":1,"pageTitle":"RxState - Reactive Persistent State with RxDB","url":"/rx-state.html#rxstate-replication","content":" Because the state data is stored inside of an internal RxCollection you can easily use the RxDB Replication to sync data between users or devices of the same user. For example with the P2P WebRTC replication you can start the replication on the collection and automatically sync the RxState operations between users directly: import { replicateWebRTC, getConnectionHandlerSimplePeer } from 'rxdb/plugins/replication-webrtc'; const database = await createRxDatabase({ name: 'heroesdb', storage: getRxStorageLocalstorage(), }); const myState = await database.addState(); const replicationPool = await replicateWebRTC( { collection: myState.collection, topic: 'my-state-replication-pool', connectionHandlerCreator: getConnectionHandlerSimplePeer({}), pull: {}, push: {} } ); ","version":"Next","tagName":"h2"},{"title":"RxDB Database on top of Deno Key Value Store","type":0,"sectionRef":"#","url":"/rx-storage-denokv.html","content":"","keywords":"","version":"Next"},{"title":"What is DenoKV","type":1,"pageTitle":"RxDB Database on top of Deno Key Value Store","url":"/rx-storage-denokv.html#what-is-denokv","content":" DenoKV is a strongly consistent key-value storage, globally replicated for low-latency reads across 35 worldwide regions via Deno Deploy. When you release your Deno application on Deno Deploy, it will start a instance on each of the 35 worldwide regions. This edge deployment guarantees minimal latency when serving requests to end users devices around the world. DenoKV is a shared storage which shares its state across all instances. But, because DenoKV is "only" a Key-Value storage, it only supports basic CRUD operations on datasets and indexes. Complex features like queries, encryption, compression or client-server replication, are missing. Using RxDB on top of DenoKV fills this gap and makes it easy to build realtime offline-first application on top of Deno backend. ","version":"Next","tagName":"h2"},{"title":"Use cases","type":1,"pageTitle":"RxDB Database on top of Deno Key Value Store","url":"/rx-storage-denokv.html#use-cases","content":" Using RxDB-DenoKV instead of plain DenoKV, can have a wide range of benefits depending on your use case. Reduce vendor lock-in: RxDB has a swappable storage layer which allows you to swap out the underlying storage of your database. If you ever decide to move away from DenoDeploy or Deno at all, you do not have to refactor your whole application and instead just swap the storage plugin. For example if you decide migrate to Node.js, you can use the FoundationDB RxStorage and store your data there. DenoKV is also implemented on top of FoundationDB so you can get similar performance. Alternatively RxDB supports a wide range of storage plugins you can decide from. Add reactiveness: DenoKV is a plain request-response datastore. While it supports observation of single rows by id, it does not allow to observe row-ranges or events. This makes it hard to impossible to build realtime applications with it because polling would be the only way to watch ranges of key-value pairs. With RxDB on top of DenoKV, changes to the database are shared between DenoDeploy instances so when you observe a query you can be sure that it is always up to date, no matter which instance has changed the document. Internally RxDB uses the Deno BroadcastChannel API to share events between instances. Reuse Client and Server Code: When you use RxDB on the server and on the client side, many parts of your code can be reused on both sides which decreases development time significantly. Replicate from DenoKV to a local RxDB state: Instead of running all operations against the global DenoKV, you can run a realtime-replication between a DenoKV-RxDatabase and a locally stored dataset or maybe even an in-memory stored one. This improves query performance and can reduce your Deno Deploy cloud costs because less operations run against the DenoKV, they only locally instead. Replicate with other backends: The RxDB Sync Engine is pretty simple and allows you to easily build a replication with any backend architecture. For example if you already have your data stored in a self-hosted MySQL server, you can use RxDB to do a realtime replication of that data into a DenoKV RxDatabase instance. RxDB also has many plugins for replication with backend/protocols like GraphQL, Websocket, CouchDB, WebRTC, Firestore and NATS. ","version":"Next","tagName":"h2"},{"title":"Using the DenoKV RxStorage","type":1,"pageTitle":"RxDB Database on top of Deno Key Value Store","url":"/rx-storage-denokv.html#using-the-denokv-rxstorage","content":" To use the DenoKV RxStorage with RxDB, you import the getRxStorageDenoKV function from the plugin and set it as storage when calling createRxDatabase import { createRxDatabase } from 'rxdb'; import { getRxStorageDenoKV } from 'rxdb/plugins/storage-denokv'; const myRxDatabase = await createRxDatabase({ name: 'exampledb', storage: getRxStorageDenoKV({ /** * Consistency level, either 'strong' or 'eventual' * (Optional) default='strong' */ consistencyLevel: 'strong', /** * Path which is used in the first argument of Deno.openKv(settings.openKvPath) * (Optional) default='' */ openKvPath: './foobar', /** * Some operations have to run in batches, * you can test different batch sizes to improve performance. * (Optional) default=100 */ batchSize: number }) }); On top of that RxDatabase you can then create your collections and run operations. Follow the quickstart to learn more about how to use RxDB. ","version":"Next","tagName":"h2"},{"title":"Using non-DenoKV storages in Deno","type":1,"pageTitle":"RxDB Database on top of Deno Key Value Store","url":"/rx-storage-denokv.html#using-non-denokv-storages-in-deno","content":" When you use other storages than the DenoKV storage inside of a Deno app, make sure you set multiInstance: false when creating the database. Also you should only run one process per Deno-Deploy instance. This ensures your events are not mixed up by the BroadcastChannel across instances which would lead to wrong behavior. // DenoKV based database const db = await createRxDatabase({ name: 'denokvdatabase', storage: getRxStorageDenoKV(), /** * Use multiInstance: true so that the Deno Broadcast Channel * emits event across DenoDeploy instances * (true is also the default, so you can skip this setting) */ multiInstance: true }); // Non-DenoKV based database const db = await createRxDatabase({ name: 'denokvdatabase', storage: getRxStorageFilesystemNode(), /** * Use multiInstance: false so that it does not share events * across instances because the stored data is anyway not shared * between them. */ multiInstance: false }); ","version":"Next","tagName":"h2"},{"title":"Filesystem Node RxStorage","type":0,"sectionRef":"#","url":"/rx-storage-filesystem-node.html","content":"","keywords":"","version":"Next"},{"title":"Pros","type":1,"pageTitle":"Filesystem Node RxStorage","url":"/rx-storage-filesystem-node.html#pros","content":" Easier setup compared to SQLiteFast ","version":"Next","tagName":"h3"},{"title":"Cons","type":1,"pageTitle":"Filesystem Node RxStorage","url":"/rx-storage-filesystem-node.html#cons","content":" It is part of the RxDB Premium 👑 plugin that must be purchased. ","version":"Next","tagName":"h3"},{"title":"Usage","type":1,"pageTitle":"Filesystem Node RxStorage","url":"/rx-storage-filesystem-node.html#usage","content":" import { createRxDatabase } from 'rxdb'; import { getRxStorageFilesystemNode } from 'rxdb-premium/plugins/storage-filesystem-node'; const myRxDatabase = await createRxDatabase({ name: 'exampledb', storage: getRxStorageFilesystemNode({ basePath: path.join(__dirname, 'my-database-folder'), /** * Set inWorker=true if you use this RxStorage * together with the WebWorker plugin. */ inWorker: false }) }); /* ... */ ","version":"Next","tagName":"h2"},{"title":"RxDB Database on top of FoundationDB","type":0,"sectionRef":"#","url":"/rx-storage-foundationdb.html","content":"","keywords":"","version":"Next"},{"title":"Features of RxDB+FoundationDB","type":1,"pageTitle":"RxDB Database on top of FoundationDB","url":"/rx-storage-foundationdb.html#features-of-rxdbfoundationdb","content":" Using RxDB on top of FoundationDB, gives you many benefits compare to using the plain FoundationDB API: Indexes: In RxDB with a FoundationDB storage layer, indexes are used to optimize query performance, allowing for fast and efficient data retrieval even in large datasets. You can define single and compound indexes with the RxDB schema.Schema Based Data Model: Utilizing a jsonschema based data model, the system offers a highly structured and versatile approach to organizing and validating data, ensuring consistency and clarity in database interactions.Complex Queries: The system supports complex NoSQL queries, allowing for advanced data manipulation and retrieval, tailored to specific needs and intricate data relationships. For example you can do $regex or $or queries which is hardy possible with the plain key-value access of FoundationDB.Observable Queries & Documents: RxDB's observable queries and documents feature ensures real-time updates and synchronization, providing dynamic and responsive data interactions in applications.Compression: RxDB employs data compression techniques to reduce storage requirements and enhance transmission efficiency, making it more cost-effective and faster, especially for large volumes of data. You can compress the NoSQL document data, but also the binary attachments data.Attachments: RxDB supports the storage and management of attachments which allowing for the seamless inclusion of binary data like images or documents alongside structured data within the database. ","version":"Next","tagName":"h2"},{"title":"Installation","type":1,"pageTitle":"RxDB Database on top of FoundationDB","url":"/rx-storage-foundationdb.html#installation","content":" Install the FoundationDB client cli which is used to communicate with the FoundationDB cluster.Install the FoundationDB node bindings npm module via npm install foundationdb. This will install v2.x.x, which is only compatible with FoundationDB server and client v7.3.x (which is the only version currently maintained by the FoundationDB team). If you need to use an older version (e.g. 7.1.x or 6.3.x), you should run npm install foundationdb@1.1.4 (though this might only work with v6.3.x).Due to an outstanding bug in node foundationdb, you will need to specify an apiVersion of 720 even though you are using 730. When this PR is merged, you will be able to use 730. ","version":"Next","tagName":"h2"},{"title":"Usage","type":1,"pageTitle":"RxDB Database on top of FoundationDB","url":"/rx-storage-foundationdb.html#usage","content":" import { createRxDatabase } from 'rxdb'; import { getRxStorageFoundationDB } from 'rxdb/plugins/storage-foundationdb'; const db = await createRxDatabase({ name: 'exampledb', storage: getRxStorageFoundationDB({ /** * Version of the API of the FoundationDB cluster.. * FoundationDB is backwards compatible across a wide range of versions, * so you have to specify the api version. * If in doubt, set it to 720. */ apiVersion: 720, /** * Path to the FoundationDB cluster file. * (optional) * If in doubt, leave this empty to use the default location. */ clusterFile: '/path/to/fdb.cluster', /** * Amount of documents to be fetched in batch requests. * You can change this to improve performance depending on * your database access patterns. * (optional) * [default=50] */ batchSize: 50 }) }); ","version":"Next","tagName":"h2"},{"title":"Multi Instance","type":1,"pageTitle":"RxDB Database on top of FoundationDB","url":"/rx-storage-foundationdb.html#multi-instance","content":" Because FoundationDB does not offer a changestream, it is not possible to use the same cluster from more than one Node.js process at the same time. For example you cannot spin up multiple servers with RxDB databases that all use the same cluster. There might be workarounds to create something like a FoundationDB changestream and you can make a Pull Request if you need that feature. ","version":"Next","tagName":"h2"},{"title":"IndexedDB RxStorage","type":0,"sectionRef":"#","url":"/rx-storage-indexeddb.html","content":"","keywords":"","version":"Next"},{"title":"IndexedDB performance comparison","type":1,"pageTitle":"IndexedDB RxStorage","url":"/rx-storage-indexeddb.html#indexeddb-performance-comparison","content":" Here is some performance comparison with other storages. Compared to the non-memory storages like OPFS and WASM SQLite. IndexedDB has the smallest build size and fastest write speed. Only OPFS is faster on queries over big datasets. See performance comparison page for a comparison with all storages. ","version":"Next","tagName":"h2"},{"title":"Using the IndexedDB RxStorage","type":1,"pageTitle":"IndexedDB RxStorage","url":"/rx-storage-indexeddb.html#using-the-indexeddb-rxstorage","content":" To use the indexedDB storage you import it from the RxDB Premium 👑 npm module and use getRxStorageIndexedDB() when creating the RxDatabase. import { createRxDatabase } from 'rxdb'; import { getRxStorageIndexedDB } from 'rxdb-premium/plugins/storage-indexeddb'; const db = await createRxDatabase({ name: 'exampledb', storage: getRxStorageIndexedDB({ /** * For better performance, queries run with a batched cursor. * You can change the batchSize to optimize the query time * for specific queries. * You should only change this value when you are also doing performance measurements. * [default=300] */ batchSize: 300 }) }); ","version":"Next","tagName":"h2"},{"title":"Overwrite/Polyfill the native IndexedDB","type":1,"pageTitle":"IndexedDB RxStorage","url":"/rx-storage-indexeddb.html#overwritepolyfill-the-native-indexeddb","content":" Node.js has no IndexedDB API. To still run the IndexedDB RxStorage in Node.js, for example to run unit tests, you have to polyfill it. You can do that by using the fake-indexeddb module and pass it to the getRxStorageIndexedDB() function. import { createRxDatabase } from 'rxdb'; import { getRxStorageIndexedDB } from 'rxdb-premium/plugins/storage-indexeddb'; //> npm install fake-indexeddb --save const fakeIndexedDB = require('fake-indexeddb'); const fakeIDBKeyRange = require('fake-indexeddb/lib/FDBKeyRange'); const db = await createRxDatabase({ name: 'exampledb', storage: getRxStorageIndexedDB({ indexedDB: fakeIndexedDB, IDBKeyRange: fakeIDBKeyRange }) }); ","version":"Next","tagName":"h2"},{"title":"Storage Buckets","type":1,"pageTitle":"IndexedDB RxStorage","url":"/rx-storage-indexeddb.html#storage-buckets","content":" The Storage Buckets API provides a way for sites to organize locally stored data into groupings called "storage buckets". This allows the user agent or sites to manage and delete buckets independently rather than applying the same treatment to all the data from a single origin. Read More To use different storage buckets with the RxDB IndexedDB Storage, you can use a function instead of a plain object when providing the indexedDB attribute: import { createRxDatabase } from 'rxdb'; import { getRxStorageIndexedDB } from 'rxdb-premium/plugins/storage-indexeddb'; const db = await createRxDatabase({ name: 'exampledb', storage: getRxStorageIndexedDB({ indexedDB: async(params) => { const myStorageBucket = await navigator.storageBuckets.open('myApp-' + params.databaseName); return myStorageBucket.indexedDB; }, IDBKeyRange }) }); ","version":"Next","tagName":"h2"},{"title":"Limitations of the IndexedDB RxStorage","type":1,"pageTitle":"IndexedDB RxStorage","url":"/rx-storage-indexeddb.html#limitations-of-the-indexeddb-rxstorage","content":" It is part of the RxDB Premium 👑 plugin that must be purchased. If you just need a storage that works in the browser and you do not have to care about performance, you can use the LocalStorage storage instead.The IndexedDB storage requires support for IndexedDB v2, it does not work on Internet Explorer. ","version":"Next","tagName":"h2"},{"title":"RxStorage Dexie.js","type":0,"sectionRef":"#","url":"/rx-storage-dexie.html","content":"","keywords":"","version":"Next"},{"title":"Dexie.js vs IndexedDB Storage","type":1,"pageTitle":"RxStorage Dexie.js","url":"/rx-storage-dexie.html#dexiejs-vs-indexeddb-storage","content":" While Dexie.js RxStorage can be used for free, most professional projects should switch to our premium IndexedDB RxStorage 👑 in production: It is faster and reduces build size by up to 36%.It has a way better performance on reads and writes.It stores attachments data as binary instead of base64 which reduces used space by 33%.It does not use a Batched Cursor or custom indexes which makes queries slower compared to the IndexedDB RxStorage.It supports non-required indexes which is not possible with Dexie.js.It runs in a WAL-like mode (similar to SQLite) for faster writes and improved responsiveness.It support the Storage Buckets API ","version":"Next","tagName":"h2"},{"title":"How to use Dexie.js as a Storage for RxDB","type":1,"pageTitle":"RxStorage Dexie.js","url":"/rx-storage-dexie.html#how-to-use-dexiejs-as-a-storage-for-rxdb","content":" 1 Import the Dexie Storage import { createRxDatabase } from 'rxdb/plugins/core'; import { getRxStorageDexie } from 'rxdb/plugins/storage-dexie'; 2 Create a Database const db = await createRxDatabase({ name: 'exampledb', storage: getRxStorageDexie() }); ","version":"Next","tagName":"h2"},{"title":"Overwrite/Polyfill the native IndexedDB API with an in-memory version","type":1,"pageTitle":"RxStorage Dexie.js","url":"/rx-storage-dexie.html#overwritepolyfill-the-native-indexeddb-api-with-an-in-memory-version","content":" Node.js has no IndexedDB API. To still run the Dexie RxStorage in Node.js, for example to run unit tests, you have to polyfill it. You can do that by using the fake-indexeddb module and pass it to the getRxStorageDexie() function. import { createRxDatabase } from 'rxdb/plugins/core'; import { getRxStorageDexie } from 'rxdb/plugins/storage-dexie'; //> npm install fake-indexeddb --save const fakeIndexedDB = require('fake-indexeddb'); const fakeIDBKeyRange = require('fake-indexeddb/lib/FDBKeyRange'); const db = await createRxDatabase({ name: 'exampledb', storage: getRxStorageDexie({ indexedDB: fakeIndexedDB, IDBKeyRange: fakeIDBKeyRange }) }); ","version":"Next","tagName":"h2"},{"title":"Using Dexie Addons","type":1,"pageTitle":"RxStorage Dexie.js","url":"/rx-storage-dexie.html#using-dexie-addons","content":" Dexie.js has its own plugin system with many plugins for encryption, replication or other use cases. With the Dexie.js RxStorage you can use the same plugins by passing them to the getRxStorageDexie() function. const db = await createRxDatabase({ name: 'exampledb', storage: getRxStorageDexie({ addons: [ /* Your Dexie.js plugins */ ] }) }); ","version":"Next","tagName":"h2"},{"title":"Sync Dexie.js with your Backend in RxDB","type":1,"pageTitle":"RxStorage Dexie.js","url":"/rx-storage-dexie.html#sync-dexiejs-with-your-backend-in-rxdb","content":" Having your local data in sync with a remote backend is a key feature of RxDB. Here are two approaches to achieve this when using the Dexie.js RxStorage: Dexie Cloud provides a managed solution: For quick setups, letting you rely on its Cloud backend and conflict resolution.RxDB's replication: Offers full control over your backend, data flow, and conflict handling. Choose the approach that best suits your needs - whether you want to get started quickly with Dexie Cloud or require the adaptability and autonomy of RxDB's native replication. ","version":"Next","tagName":"h2"},{"title":"A. Use Dexie Cloud Sync","type":1,"pageTitle":"RxStorage Dexie.js","url":"/rx-storage-dexie.html#a-use-dexie-cloud-sync","content":" Dexie Cloud is an official SaaS solution provided by the Dexie team. It offers automatic synchronization, user management, and conflict resolution out of the box. The primary benefits are: Automatic Sync: Dexie Cloud keeps your local IndexedDB in sync with its cloud-based backend.User Authentication: Built-in user management (auth, roles, permissions).Conflict Resolution: Automated resolution logic on the server side. 1 Install the Dexie Cloud Addon npm install dexie-cloud-addon 2 Import RxDB and dexie-cloud import { createRxDatabase } from 'rxdb/plugins/core'; import { getRxStorageDexie } from 'rxdb/plugins/storage-dexie'; import dexieCloud from 'dexie-cloud-addon'; 3 Create a Dexie based RxStorage with the Cloud Plugin const storage = getRxStorageDexie({ addons: [dexieCloud], /* * Whenever a new dexie database instance is created, * this method will be called. */ async onCreate(dexieDatabase, dexieDatabaseName) { await dexieDatabase.cloud.configure({ databaseUrl: "https://<yourdatabase>.dexie.cloud", requireAuth: true // optional }); } }); 4 Create an RxDB Database const db = await createRxDatabase({ name: 'mydb', storage }); ","version":"Next","tagName":"h3"},{"title":"B. Use the RxDB Replication","type":1,"pageTitle":"RxStorage Dexie.js","url":"/rx-storage-dexie.html#b-use-the-rxdb-replication","content":" For full flexibility over your backend or conflict resolution strategy, you can use one of RxDB's many replication plugins like CouchDB Replication Plugin: Replicate with a CouchDB ServerGraphQL Replication Plugin: Sync data with any GraphQL endpoint. Useful when you have a custom schema or you want to utilize GraphQL's powerful query features.Custom Replication with REST APIs: Implement your own replication by building a pull/push handler that communicates with any RESTful backend. Below is an example of replicating an RxDB collection with a CouchDB backend using RxDB's CouchDB replication plugin: 1 Import the RxDB with dexie and the CouchDB plugin import { replicateCouchDB } from 'rxdb/plugins/replication-couchdb'; import { getRxStorageDexie } from 'rxdb/plugins/storage-dexie'; import { createRxDatabase } from 'rxdb/plugins/core'; 2 Create an RxDB Database with the Dexie Storage const db = await createRxDatabase({ name: 'mydb', storage: getRxStorageDexie() }); 3 Add a Collection await db.addCollections({ humans: { schema: { version: 0, type: 'object', primaryKey: 'id', properties: { id: { type: 'string', maxLength: 100 }, name: { type: 'string' }, age: { type: 'number' } }, required: ['id', 'name'] } } }); 4 Sync the Collection with a CouchDB Server const replicationState = replicateCouchDB({ replicationIdentifier: 'my-couchdb-replication', collection: db.humans, // The URL to your CouchDB endpoint url: 'http://example.com/db/humans' }); ","version":"Next","tagName":"h3"},{"title":"liveQuery - Realtime Queries","type":1,"pageTitle":"RxStorage Dexie.js","url":"/rx-storage-dexie.html#livequery---realtime-queries","content":" Dexie.js offers a feature called liveQuery which automatically updates query results as data changes, allowing you to react to these changes in real-time. However, because RxDB intrinsically provides reactive queries, you typically do not need to enable live queries through Dexie. Once you have created your database and collections with RxDB, any query you perform can be observed by subscribing to it, for example via collection.find().$.subscribe(results => { /*... */ }). This means RxDB takes care of listening for changes and automatically emitting new results - ensuring your UI stays in sync with the underlying data without requiring extra plugins or manual polling. ","version":"Next","tagName":"h2"},{"title":"Disabling the non-premium console log","type":1,"pageTitle":"RxStorage Dexie.js","url":"/rx-storage-dexie.html#disabling-the-non-premium-console-log","content":" We want to be transparent with our community, and you'll notice a console message when using the free Dexie.js based RxStorage implementation. This message serves to inform you about the availability of faster storage solutions within our 👑 Premium Plugins. We understand that this might be a minor inconvenience, and we sincerely apologize for that. However, maintaining and improving RxDB requires substantial resources, and our premium users help us ensure its sustainability. If you find value in RxDB and wish to remove this message, we encourage you to explore our premium storage options, which are optimized for professional use and production environments. Thank you for your understanding and support. If you already have premium access and want to use the Dexie.js RxStorage without the log, you can call the setPremiumFlag() function to disable the log. import { setPremiumFlag } from 'rxdb-premium/plugins/shared'; setPremiumFlag(); ","version":"Next","tagName":"h2"},{"title":"Performance comparison with other RxStorage plugins","type":1,"pageTitle":"RxStorage Dexie.js","url":"/rx-storage-dexie.html#performance-comparison-with-other-rxstorage-plugins","content":" The performance of the Dexie.js RxStorage is good enough for most use cases but other storages can have way better performance metrics: ","version":"Next","tagName":"h2"},{"title":"RxStorage Localstorage Meta Optimizer","type":0,"sectionRef":"#","url":"/rx-storage-localstorage-meta-optimizer.html","content":"","keywords":"","version":"Next"},{"title":"Usage","type":1,"pageTitle":"RxStorage Localstorage Meta Optimizer","url":"/rx-storage-localstorage-meta-optimizer.html#usage","content":" The meta optimizer gets wrapped around any other RxStorage. It will than automatically detect if an RxDB internal storage instance is created, and replace that with a localstorage based instance. import { getLocalstorageMetaOptimizerRxStorage } from 'rxdb-premium/plugins/storage-localstorage-meta-optimizer'; import { getRxStorageIndexedDB } from 'rxdb-premium/plugins/storage-indexeddb'; /** * First wrap the original RxStorage with the optimizer. */ const optimizedRxStorage = getLocalstorageMetaOptimizerRxStorage({ /** * Here we use the IndexedDB RxStorage, * it is also possible to use any other RxStorage instead. */ storage: getRxStorageIndexedDB() }); /** * Create the RxDatabase with the wrapped RxStorage. */ const database = await createRxDatabase({ name: 'mydatabase', storage: optimizedRxStorage }); ","version":"Next","tagName":"h2"},{"title":"RxStorage LocalStorage","type":0,"sectionRef":"#","url":"/rx-storage-localstorage.html","content":"","keywords":"","version":"Next"},{"title":"Key Benefits","type":1,"pageTitle":"RxStorage LocalStorage","url":"/rx-storage-localstorage.html#key-benefits","content":" Simplicity: No complicated configurations or external dependencies - LocalStorage is already built into the browser.Fast for small Datasets: Writing and Reading small sets of data from localStorage is really fast as shown in these benchmarks.Ease of Setup: Just import the plugin, import it, and pass getRxStorageLocalstorage() into createRxDatabase(). That’s it! ","version":"Next","tagName":"h2"},{"title":"Limitations","type":1,"pageTitle":"RxStorage LocalStorage","url":"/rx-storage-localstorage.html#limitations","content":" While LocalStorage is the easiest way to get started, it does come with some constraints: Limited Storage Capacity: Browsers often limit LocalStorage to around 5 MB per domain, though exact limits vary.Synchronous Access: LocalStorage operations block the main thread. This is usually fine for small amounts of data but can cause performance bottlenecks with heavier use. Despite these limitations, LocalStorage remains a great default option for smaller projects, prototypes, or cases where you need the absolute simplest way to persist data in the browser. ","version":"Next","tagName":"h2"},{"title":"How to use the LocalStorage RxStorage with RxDB","type":1,"pageTitle":"RxStorage LocalStorage","url":"/rx-storage-localstorage.html#how-to-use-the-localstorage-rxstorage-with-rxdb","content":" 1 Import the Storage import { createRxDatabase } from 'rxdb/plugins/core'; import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage'; 2 Create a Database const db = await createRxDatabase({ name: 'exampledb', storage: getRxStorageLocalstorage() }); 3 Add a Collection await db.addCollections({ tasks: { schema: { title: 'tasks schema', version: 0, primaryKey: 'id', type: 'object', properties: { id: { type: 'string' }, title: { type: 'string' }, done: { type: 'boolean' } }, required: ['id', 'title', 'done'] } } }); 4 Insert a document await db.tasks.insert({ id: 'task-01', title: 'Get started with RxDB' }); 5 Query documents const nonDoneTasks = await db.tasks.find({ selector: { done: { $eq: false } } }).exec(); ","version":"Next","tagName":"h2"},{"title":"Mocking the LocalStorage API for testing in Node.js","type":1,"pageTitle":"RxStorage LocalStorage","url":"/rx-storage-localstorage.html#mocking-the-localstorage-api-for-testing-in-nodejs","content":" While the localStorage API only exists in browsers, your can the LocalStorage based storage in Node.js by using the mock that comes with RxDB. This is intended to be used in unit tests or other test suites: import { createRxDatabase } from 'rxdb/plugins/core'; import { getRxStorageLocalstorage, getLocalStorageMock } from 'rxdb/plugins/storage-localstorage'; const db = await createRxDatabase({ name: 'exampledb', storage: getRxStorageLocalstorage({ localStorage: getLocalStorageMock() }) }); ","version":"Next","tagName":"h2"},{"title":"Memory Synced RxStorage","type":0,"sectionRef":"#","url":"/rx-storage-memory-synced.html","content":"","keywords":"","version":"Next"},{"title":"Pros","type":1,"pageTitle":"Memory Synced RxStorage","url":"/rx-storage-memory-synced.html#pros","content":" Improves read/write performance because these operations run against the in-memory storage.Decreases initial page load because it load all data in a single bulk request. It even detects if the database is used for the first time and then it does not have to await the creation of the persistent storage. ","version":"Next","tagName":"h2"},{"title":"Cons","type":1,"pageTitle":"Memory Synced RxStorage","url":"/rx-storage-memory-synced.html#cons","content":" It does not support attachments.When the JavaScript process is killed ungracefully like when the browser crashes or the power of the PC is terminated, it might happen that some memory writes are not persisted to the parent storage. This can be prevented with the awaitWritePersistence flag.This can only be used if all data fits into the memory of the JavaScript process. This is normally not a problem because a browser has much memory these days and plain json document data is not that big.Because it has to await an initial replication from the parent storage into the memory, initial page load time can increase when much data is already stored. This is likely not a problem when you store less than 10k documents.The memory-synced storage itself does not support replication and migration. Instead you have to replicate the underlying parent storage.The memory-synced plugin is part of RxDB Premium 👑. It is not part of the default RxDB module. The memory-synced RxStorage was removed in RxDB version 16 The memory-synced was removed in RxDB version 16. Instead consider using the newer and better memory-mapped RxStorage which has better trade-offs and is easier to configure. ","version":"Next","tagName":"h2"},{"title":"Usage","type":1,"pageTitle":"Memory Synced RxStorage","url":"/rx-storage-memory-synced.html#usage","content":" import { getRxStorageIndexedDB } from 'rxdb-premium/plugins/storage-indexeddb'; import { getMemorySyncedRxStorage } from 'rxdb-premium/plugins/storage-memory-synced'; /** * Here we use the IndexedDB RxStorage as persistence storage. * Any other RxStorage can also be used. */ const parentStorage = getRxStorageIndexedDB(); // wrap the persistent storage with the memory synced one. const storage = getMemorySyncedRxStorage({ storage: parentStorage }); // create the RxDatabase like you would do with any other RxStorage const db = await createRxDatabase({ name: 'myDatabase, storage, }); /** ... **/ ","version":"Next","tagName":"h2"},{"title":"Options","type":1,"pageTitle":"Memory Synced RxStorage","url":"/rx-storage-memory-synced.html#options","content":" Some options can be provided to fine tune the performance and behavior. import { requestIdlePromise } from 'rxdb'; const storage = getMemorySyncedRxStorage({ storage: parentStorage, /** * Defines how many document * get replicated in a single batch. * [default=50] * * (optional) */ batchSize: 50, /** * By default, the parent storage will be created without indexes for a faster page load. * Indexes are not needed because the queries will anyway run on the memory storage. * You can disable this behavior by setting keepIndexesOnParent to true. * If you use the same parent storage for multiple RxDatabase instances where one is not * a asynced-memory storage, you will get the error: 'schema not equal to existing storage' * if you do not set keepIndexesOnParent to true. * * (optional) */ keepIndexesOnParent: true, /** * If set to true, all write operations will resolve AFTER the writes * have been persisted from the memory to the parentStorage. * This ensures writes are not lost even if the JavaScript process exits * between memory writes and the persistence interval. * default=false */ awaitWritePersistence: true, /** * After a write, await until the return value of this method resolves * before replicating with the master storage. * * By returning requestIdlePromise() we can ensure that the CPU is idle * and no other, more important operation is running. By doing so we can be sure * that the replication does not slow down any rendering of the browser process. * * (optional) */ waitBeforePersist: () => requestIdlePromise(); }); ","version":"Next","tagName":"h2"},{"title":"Replication and Migration with the memory-synced storage","type":1,"pageTitle":"Memory Synced RxStorage","url":"/rx-storage-memory-synced.html#replication-and-migration-with-the-memory-synced-storage","content":" The memory-synced storage itself does not support replication and migration. Instead you have to replicate the underlying parent storage. For example when you use it on top of an IndexedDB storage, you have to run replication on that storage instead by creating a different RxDatabase. const parentStorage = getRxStorageIndexedDB(); const memorySyncedStorage = getMemorySyncedRxStorage({ storage: parentStorage, keepIndexesOnParent: true }); const databaseName = 'mydata'; /** * Create a parent database with the same name+collections * and use it for replication and migration. * The parent database must be created BEFORE the memory-synced database * to ensure migration has already been run. */ const parentDatabase = await createRxDatabase({ name: databaseName, storage: parentStorage }); await parentDatabase.addCollections(/* ... */); replicateRxCollection({ collection: parentDatabase.myCollection, /* ... */ }); /** * Create an equal memory-synced database with the same name+collections * and use it for writes and queries. */ const memoryDatabase = await createRxDatabase({ name: databaseName, storage: memorySyncedStorage }); await memoryDatabase.addCollections(/* ... */); ","version":"Next","tagName":"h2"},{"title":"Memory RxStorage","type":0,"sectionRef":"#","url":"/rx-storage-memory.html","content":"","keywords":"","version":"Next"},{"title":"Pros","type":1,"pageTitle":"Memory RxStorage","url":"/rx-storage-memory.html#pros","content":" Really fast. Uses binary search on all operations.Small build size ","version":"Next","tagName":"h3"},{"title":"Cons","type":1,"pageTitle":"Memory RxStorage","url":"/rx-storage-memory.html#cons","content":" No persistence import { createRxDatabase } from 'rxdb'; import { getRxStorageMemory } from 'rxdb/plugins/storage-memory'; const db = await createRxDatabase({ name: 'exampledb', storage: getRxStorageMemory() }); ","version":"Next","tagName":"h3"},{"title":"RxStorage LokiJS","type":0,"sectionRef":"#","url":"/rx-storage-lokijs.html","content":"","keywords":"","version":"Next"},{"title":"Pros","type":1,"pageTitle":"RxStorage LokiJS","url":"/rx-storage-lokijs.html#pros","content":" Queries can run faster because all data is processed in memory.It has a much faster initial load time because it loads all data from IndexedDB in a single request. But this is only true for small datasets. If much data must is stored, the initial load time can be higher than on other RxStorage implementations. ","version":"Next","tagName":"h3"},{"title":"Cons","type":1,"pageTitle":"RxStorage LokiJS","url":"/rx-storage-lokijs.html#cons","content":" It does not support attachments.Data can be lost when the JavaScript process is killed ungracefully like when the browser crashes or the power of the PC is terminated.All data must fit into the memory.Slow initialisation time when used with multiInstance: true because it has to await the leader election process.Slow initialisation time when really much data is stored inside of the database because it has to parse a big JSON string. ","version":"Next","tagName":"h3"},{"title":"Usage","type":1,"pageTitle":"RxStorage LokiJS","url":"/rx-storage-lokijs.html#usage","content":" import { createRxDatabase } from 'rxdb'; import { getRxStorageLoki } from 'rxdb/plugins/storage-lokijs'; // in the browser, we want to persist data in IndexedDB, so we use the indexeddb adapter. const LokiIncrementalIndexedDBAdapter = require('lokijs/src/incremental-indexeddb-adapter'); const db = await createRxDatabase({ name: 'exampledb', storage: getRxStorageLoki({ adapter: new LokiIncrementalIndexedDBAdapter(), /* * Do not set lokiJS persistence options like autoload and autosave, * RxDB will pick proper defaults based on the given adapter */ }) }); ","version":"Next","tagName":"h2"},{"title":"Adapters","type":1,"pageTitle":"RxStorage LokiJS","url":"/rx-storage-lokijs.html#adapters","content":" LokiJS is based on adapters that determine where to store persistent data. For LokiJS there are adapters for IndexedDB, AWS S3, the NodeJS filesystem or NativeScript. Find more about the possible adapters at the LokiJS docs. For react native there is also the loki-async-reference-adapter. ","version":"Next","tagName":"h2"},{"title":"Multi-Tab support","type":1,"pageTitle":"RxStorage LokiJS","url":"/rx-storage-lokijs.html#multi-tab-support","content":" When you use plain LokiJS, you cannot build an app that can be used in multiple browser tabs. The reason is that LokiJS loads data in bulk and then only regularly persists the in-memory state to disc. When opened in multiple tabs, it would happen that the LokiJS instances overwrite each other and data is lost. With the RxDB LokiJS-plugin, this problem is fixed with the LeaderElection module. Between all open tabs, a leading tab is elected and only in this tab a database is created. All other tabs do not run queries against their own database, but instead call the leading tab to send and retrieve data. When the leading tab is closed, a new leader is elected that reopens the database and processes queries. You can disable this by setting multiInstance: false when creating the RxDatabase. ","version":"Next","tagName":"h2"},{"title":"Autosave and autoload","type":1,"pageTitle":"RxStorage LokiJS","url":"/rx-storage-lokijs.html#autosave-and-autoload","content":" When using plain LokiJS, you could set the autosave option to true to make sure that LokiJS persists the database state after each write into the persistence adapter. Same goes to autoload which loads the persisted state on database creation. But RxDB knows better when to persist the database state and when to load it, so it has its own autosave logic. This will ensure that running the persistence handler does not affect the performance of more important tasks. Instead RxDB will always wait until the database is idle and then runs the persistence handler. A load of the persisted state is done on database or collection creation and it is ensured that multiple load calls do not run in parallel and interfere with each other or with saveDatabase() calls. ","version":"Next","tagName":"h2"},{"title":"Known problems","type":1,"pageTitle":"RxStorage LokiJS","url":"/rx-storage-lokijs.html#known-problems","content":" When you bundle the LokiJS Plugin with webpack, you might get the error Cannot find module "fs". This is because LokiJS uses a require('fs') statement that cannot work in the browser. You can fix that by telling webpack to not resolve the fs module with the following block in your webpack config: // in your webpack.config.js { /* ... */ resolve: { fallback: { fs: false } } /* ... */ } // Or if you do not have a webpack.config.js like you do with angular, // you might fix it by setting the browser field in the package.json { /* ... */ "browser": { "fs": false } /* ... */ } ","version":"Next","tagName":"h2"},{"title":"Using the internal LokiJS database","type":1,"pageTitle":"RxStorage LokiJS","url":"/rx-storage-lokijs.html#using-the-internal-lokijs-database","content":" For custom operations, you can access the internal LokiJS database. This is dangerous because you might do changes that are not compatible with RxDB. Only use this when there is no way to achieve your goals via the RxDB API. const storageInstance = myRxCollection.storageInstance; const localState = await storageInstance.internals.localState; localState.collection.insert({ key: 'foo', value: 'bar', _deleted: false, _attachments: {}, _rev: '1-62080c42d471e3d2625e49dcca3b8e3e', _meta: { lwt: new Date().getTime() } }); // manually trigger the save queue because we did a write to the internal loki db. await localState.databaseState.saveQueue.addWrite(); ","version":"Next","tagName":"h2"},{"title":"Disabling the non-premium console log","type":1,"pageTitle":"RxStorage LokiJS","url":"/rx-storage-lokijs.html#disabling-the-non-premium-console-log","content":" We want to be transparent with our community, and you'll notice a console message when using the free Loki.js based RxStorage implementation. This message serves to inform you about the availability of faster storage solutions within our 👑 Premium Plugins. We understand that this might be a minor inconvenience, and we sincerely apologize for that. However, maintaining and improving RxDB requires substantial resources, and our premium users help us ensure its sustainability. If you find value in RxDB and wish to remove this message, we encourage you to explore our premium storage options, which are optimized for professional use and production environments. Thank you for your understanding and support. If you already have premium access and want to use the LokiJS RxStorage without the log, you can call the setPremiumFlag() function to disable the log. import { setPremiumFlag } from 'rxdb-premium/plugins/shared'; setPremiumFlag(); ","version":"Next","tagName":"h2"},{"title":"Memory Mapped RxStorage","type":0,"sectionRef":"#","url":"/rx-storage-memory-mapped.html","content":"","keywords":"","version":"Next"},{"title":"Pros","type":1,"pageTitle":"Memory Mapped RxStorage","url":"/rx-storage-memory-mapped.html#pros","content":" Improves read/write performance because these operations run against the in-memory storage.Decreases initial page load because it load all data in a single bulk request. It even detects if the database is used for the first time and then it does not have to await the creation of the persistent storage.Can store encrypted data on disc while still being able to run queries on the non-encrypted in-memory state. ","version":"Next","tagName":"h2"},{"title":"Cons","type":1,"pageTitle":"Memory Mapped RxStorage","url":"/rx-storage-memory-mapped.html#cons","content":" It does not support attachments because storing big attachments data in-memory should not be done.When the JavaScript process is killed ungracefully like when the browser crashes or the power of the PC is terminated, it might happen that some memory writes are not persisted to the parent storage. This can be prevented with the awaitWritePersistence flag.The memory-mapped storage can only be used if all data fits into the memory of the JavaScript process. This is normally not a problem because a browser has much memory these days and plain JSON document data is not that big.Because it has to await an initial data loading from the parent storage into the memory, initial page load time can increase when much data is already stored. This is likely not a problem when you store less than 10k documents.The memory-mapped storage is part of RxDB Premium 👑. It is not part of the default RxDB core module. ","version":"Next","tagName":"h2"},{"title":"Using the Memory-Mapped RxStorage","type":1,"pageTitle":"Memory Mapped RxStorage","url":"/rx-storage-memory-mapped.html#using-the-memory-mapped-rxstorage","content":" import { getRxStorageIndexedDB } from 'rxdb-premium/plugins/storage-indexeddb'; import { getMemoryMappedRxStorage } from 'rxdb-premium/plugins/storage-memory-mapped'; /** * Here we use the IndexedDB RxStorage as persistence storage. * Any other RxStorage can also be used. */ const parentStorage = getRxStorageIndexedDB(); // wrap the persistent storage with the memory-mapped storage. const storage = getMemoryMappedRxStorage({ storage: parentStorage }); // create the RxDatabase like you would do with any other RxStorage const db = await createRxDatabase({ name: 'myDatabase, storage, }); /** ... **/ ","version":"Next","tagName":"h2"},{"title":"Multi-Tab Support","type":1,"pageTitle":"Memory Mapped RxStorage","url":"/rx-storage-memory-mapped.html#multi-tab-support","content":" By how the memory-mapped storage works, it is not possible to have the same storage open in multiple JavaScript processes. So when you use this in a browser application, you can not open multiple databases when the app is used in multiple browser tabs. To solve this, use the SharedWorker Plugin so that the memory-mapped storage runs inside of a SharedWorker exactly once and is then reused for all browser tabs. If you have a single JavaScript process, like in a React Native app, you do not have to care about this and can just use the memory-mapped storage in the main process. ","version":"Next","tagName":"h2"},{"title":"Encryption of the persistent data","type":1,"pageTitle":"Memory Mapped RxStorage","url":"/rx-storage-memory-mapped.html#encryption-of-the-persistent-data","content":" Normally RxDB is not capable of running queries on encrypted fields. But when you use the memory-mapped RxStorage, you can store the document data encrypted on disc, while being able to run queries on the not encrypted in-memory state. Make sure you use the encryption storage wrapper around the persistent storage, NOT around the memory-mapped storage as a whole. import { getRxStorageIndexedDB } from 'rxdb-premium/plugins/storage-indexeddb'; import { getMemoryMappedRxStorage } from 'rxdb-premium/plugins/storage-memory-mapped'; import { wrappedKeyEncryptionWebCryptoStorage } from 'rxdb-premium/plugins/encryption-web-crypto'; const storage = getMemoryMappedRxStorage({ storage: wrappedKeyEncryptionWebCryptoStorage({ storage: getRxStorageIndexedDB() }) }); const db = await createRxDatabase({ name: 'myDatabase, storage, }); /** ... **/ ","version":"Next","tagName":"h2"},{"title":"Await Write Persistence","type":1,"pageTitle":"Memory Mapped RxStorage","url":"/rx-storage-memory-mapped.html#await-write-persistence","content":" Running operations on the memory-mapped storage by default returns directly when the operation has run on the in-memory state and then persist changes in the background. Sometimes you might want to ensure write operations is persisted, you can do this by setting awaitWritePersistence: true. const storage = getMemoryMappedRxStorage({ awaitWritePersistence: true, storage: getRxStorageIndexedDB() }); ","version":"Next","tagName":"h2"},{"title":"Block Size Limit","type":1,"pageTitle":"Memory Mapped RxStorage","url":"/rx-storage-memory-mapped.html#block-size-limit","content":" During cleanup, the memory-mapped storage will merge many small write-blocks into single big blocks for better initial load performance. The blockSizeLimit defines the maximum of how many documents get stored in a single block. The default is 10000. const storage = getMemoryMappedRxStorage({ blockSizeLimit: 1000, storage: getRxStorageIndexedDB() }); ","version":"Next","tagName":"h2"},{"title":"MongoDB RxStorage","type":0,"sectionRef":"#","url":"/rx-storage-mongodb.html","content":"","keywords":"","version":"Next"},{"title":"Limitations of the MongoDB RxStorage","type":1,"pageTitle":"MongoDB RxStorage","url":"/rx-storage-mongodb.html#limitations-of-the-mongodb-rxstorage","content":" Multiple Node.js servers using the same MongoDB database is currently not supportedRxAttachments are currently not supportedDoing non-RxDB writes on the MongoDB database is not supported. RxDB expects all writes to come from RxDB which update the required metadata. Doing non-RxDB writes can confuse the RxDatabase and lead to undefined behavior. But you can perform read-queries on the MongoDB storage from the outside at any time. ","version":"Next","tagName":"h2"},{"title":"Using the MongoDB RxStorage","type":1,"pageTitle":"MongoDB RxStorage","url":"/rx-storage-mongodb.html#using-the-mongodb-rxstorage","content":" 1 Install the mongodb package npm install mongodb --save 2 Setups the MongoDB RxStorage To use the storage, you simply import the getRxStorageMongoDB method and use that when creating the RxDatabase. The connection parameter contains the MongoDB connection string. import { createRxDatabase } from 'rxdb'; import { getRxStorageMongoDB } from 'rxdb/plugins/storage-mongodb'; const myRxDatabase = await createRxDatabase({ name: 'exampledb', storage: getRxStorageMongoDB({ /** * MongoDB connection string * @link https://www.mongodb.com/docs/manual/reference/connection-string/ */ connection: 'mongodb://localhost:27017,localhost:27018,localhost:27019' }) }); ","version":"Next","tagName":"h2"},{"title":"📈 Discover RxDB Storage Benchmarks","type":0,"sectionRef":"#","url":"/rx-storage-performance.html","content":"","keywords":"","version":"Next"},{"title":"RxStorage Performance comparison","type":1,"pageTitle":"📈 Discover RxDB Storage Benchmarks","url":"/rx-storage-performance.html#rxstorage-performance-comparison","content":" A big difference in the RxStorage implementations is the performance. In difference to a server side database, RxDB is bound to the limits of the JavaScript runtime and depending on the runtime, there are different possibilities to store and fetch data. For example in the browser it is only possible to store data in a slow IndexedDB or OPFS instead of a filesystem while on React-Native you can use the SQLite storage. Therefore the performance can be completely different depending on where you use RxDB and what you do with it. Here you can see some performance measurements and descriptions on how the different storages work and how their performance is different. ","version":"Next","tagName":"h2"},{"title":"Persistent vs Semi-Persistent storages","type":1,"pageTitle":"📈 Discover RxDB Storage Benchmarks","url":"/rx-storage-performance.html#persistent-vs-semi-persistent-storages","content":" The "normal" storages are always persistent. This means each RxDB write is directly written to disc and all queries run on the disc state. This means a good startup performance because nothing has to be done on startup. In contrast, semi-persistent storages like memory mapped store all data in memory on startup and only save to disc occasionally (or on exit). Therefore it has a very fast read/write performance, but loading all data into memory on the first page load can take longer for big amounts of documents. Also these storages can only be used when all data fits into the memory at least once. In general it is recommended to stay on the persistent storages and only use semi-persistent ones, when you know for sure that the dataset will stay small (less than 2k documents). ","version":"Next","tagName":"h2"},{"title":"Performance comparison","type":1,"pageTitle":"📈 Discover RxDB Storage Benchmarks","url":"/rx-storage-performance.html#performance-comparison","content":" In the following you can find some performance measurements and comparisons. Notice that these are only a small set of possible RxDB operations. If performance is really relevant for your use case, you should do your own measurements with usage-patterns that are equal to how you use RxDB in production. ","version":"Next","tagName":"h2"},{"title":"Measurements","type":1,"pageTitle":"📈 Discover RxDB Storage Benchmarks","url":"/rx-storage-performance.html#measurements","content":" Here the following metrics are measured: time-to-first-insert: Many storages run lazy, so it makes no sense to compare the time which is required to create a database with collections. Instead we measure the time-to-first-insert which is the whole timespan from database creation until the first single document write is done.insert documents (bulk): Insert 500 documents with a single bulk-insert operation.find documents by id (bulk): Here we fetch 100% of the stored documents with a single findByIds() call.insert documents (serial): Insert 50 documents, one after each other.find documents by id (serial): Here we find 50 documents in serial with one findByIds() call per document.find documents by query: Here we fetch 100% of the stored documents with a single find() call.find documents by query: Here we fetch all of the stored documents with a 4 find() calls that run in parallel. Each fetching 25% of the documents.count documents: Counts 100% of the stored documents with a single count() call. Here we measure 4 runs at once to have a higher number that is easier to compare. ","version":"Next","tagName":"h3"},{"title":"Browser based Storages Performance Comparison","type":1,"pageTitle":"📈 Discover RxDB Storage Benchmarks","url":"/rx-storage-performance.html#browser-based-storages-performance-comparison","content":" The performance patterns of the browser based storages are very diverse. The IndexedDB storage is recommended for mostly all use cases so you should start with that one. Later you can do performance testings and switch to another storage like OPFS or memory-mapped. ","version":"Next","tagName":"h2"},{"title":"Node/Native based Storages Performance Comparison","type":1,"pageTitle":"📈 Discover RxDB Storage Benchmarks","url":"/rx-storage-performance.html#nodenative-based-storages-performance-comparison","content":" For most client-side native applications (react-native, electron, capacitor), using the SQLite RxStorage is recommended. For non-client side applications like a server, use the MongoDB storage instead. ","version":"Next","tagName":"h2"},{"title":"RxStorage PouchDB","type":0,"sectionRef":"#","url":"/rx-storage-pouchdb.html","content":"","keywords":"","version":"Next"},{"title":"Why is the PouchDB RxStorage deprecated?","type":1,"pageTitle":"RxStorage PouchDB","url":"/rx-storage-pouchdb.html#why-is-the-pouchdb-rxstorage-deprecated","content":" When I started developing RxDB in 2016, I had a specific use case to solve. Because there was no client-side database out there that fitted, I created RxDB as a wrapper around PouchDB. This worked great and all the PouchDB features like the query engine, the adapter system, CouchDB-replication and so on, came for free. But over the years, it became clear that PouchDB is not suitable for many applications, mostly because of its performance: To be compliant to CouchDB, PouchDB has to store all revision trees of documents which slows down queries. Also purging these document revisions is not possibleso the database storage size will only increase over time. Another problem was that many issues in PouchDB have never been fixed, but only closed by the issue-bot like this one. The whole PouchDB RxStorage code was full of workarounds and monkey patches to resolve these issues for RxDB users. Many these patches decreased performance even further. Sometimes it was not possible to fix things from the outside, for example queries with $gt operators return the wrong documents which is a no-go for a production database and hard to debug. In version 10.0.0 RxDB introduced the RxStorage layer which allows users to swap out the underlying storage engine where RxDB stores and queries documents from. This allowed to use alternatives from PouchDB, for example the IndexedDB RxStorage in browsers or even the FoundationDB RxStorage on the server side. There where not many use cases left where it was a good choice to use the PouchDB RxStorage. Only replicating with a CouchDB server, was only possible with PouchDB. But this has also changed. RxDB has a plugin that allows to replicate clients with any CouchDB server by using the RxDB Sync Engine. This plugins work with any RxStorage so that it is not necessary to use the PouchDB storage. Removing PouchDB allows RxDB to add many awaited features like filtered change streams for easier replication and permission handling. It will also free up development time. If you are currently using the PouchDB RxStorage, you have these options: Migrate to another RxStorage (recommended)Never update RxDB to the next major version (stay on older 14.0.0)Fork the PouchDB RxStorage and maintain the plugin by yourself.Fix all the PouchDB problems so that we can add PouchDB to the RxDB Core again. ","version":"Next","tagName":"h2"},{"title":"Pros","type":1,"pageTitle":"RxStorage PouchDB","url":"/rx-storage-pouchdb.html#pros","content":" Most battle proven RxStorageSupports replication with a CouchDB endpointSupport storing attachmentsBig ecosystem of adapters ","version":"Next","tagName":"h2"},{"title":"Cons","type":1,"pageTitle":"RxStorage PouchDB","url":"/rx-storage-pouchdb.html#cons","content":" Big bundle sizeSlow performance because of revision handling overhead ","version":"Next","tagName":"h2"},{"title":"Usage","type":1,"pageTitle":"RxStorage PouchDB","url":"/rx-storage-pouchdb.html#usage","content":" import { createRxDatabase } from 'rxdb'; import { getRxStoragePouch, addPouchPlugin } from 'rxdb/plugins/pouchdb'; addPouchPlugin(require('pouchdb-adapter-idb')); const db = await createRxDatabase({ name: 'exampledb', storage: getRxStoragePouch( 'idb', { /** * other pouchdb specific options * @link https://pouchdb.com/api.html#create_database */ } ) }); ","version":"Next","tagName":"h2"},{"title":"Polyfill the global variable","type":1,"pageTitle":"RxStorage PouchDB","url":"/rx-storage-pouchdb.html#polyfill-the-global-variable","content":" When you use RxDB with angular or other webpack based frameworks, you might get the error: <span style="color: red;">Uncaught ReferenceError: global is not defined</span> This is because pouchdb assumes a nodejs-specific global variable that is not added to browser runtimes by some bundlers. You have to add them by your own, like we do here. (window as any).global = window; (window as any).process = { env: { DEBUG: undefined }, }; ","version":"Next","tagName":"h2"},{"title":"Adapters","type":1,"pageTitle":"RxStorage PouchDB","url":"/rx-storage-pouchdb.html#adapters","content":" PouchDB has many adapters for all JavaScript runtimes. ","version":"Next","tagName":"h2"},{"title":"Using the internal PouchDB Database","type":1,"pageTitle":"RxStorage PouchDB","url":"/rx-storage-pouchdb.html#using-the-internal-pouchdb-database","content":" For custom operations, you can access the internal PouchDB database. This is dangerous because you might do changes that are not compatible with RxDB. Only use this when there is no way to achieve your goals via the RxDB API. import { getPouchDBOfRxCollection } from 'rxdb/plugins/pouchdb'; const pouch = getPouchDBOfRxCollection(myRxCollection); ","version":"Next","tagName":"h2"},{"title":"Origin Private File System (OPFS) Database with the RxDB OPFS-RxStorage","type":0,"sectionRef":"#","url":"/rx-storage-opfs.html","content":"","keywords":"","version":"Next"},{"title":"What is OPFS","type":1,"pageTitle":"Origin Private File System (OPFS) Database with the RxDB OPFS-RxStorage","url":"/rx-storage-opfs.html#what-is-opfs","content":" The Origin Private File System (OPFS) is a native browser storage API that allows web applications to manage files in a private, sandboxed, origin-specific virtual filesystem. Unlike IndexedDB and LocalStorage, which are optimized as object/key-value storage, OPFS provides more granular control for file operations, enabling byte-by-byte access, file streaming, and even low-level manipulations. OPFS is ideal for applications requiring high-performance file operations (3x-4x faster compared to IndexedDB) inside of a client-side application, offering advantages like improved speed, more efficient use of resources, and enhanced security and privacy features. ","version":"Next","tagName":"h2"},{"title":"OPFS limitations","type":1,"pageTitle":"Origin Private File System (OPFS) Database with the RxDB OPFS-RxStorage","url":"/rx-storage-opfs.html#opfs-limitations","content":" From the beginning of 2023, the Origin Private File System API is supported by all modern browsers like Safari, Chrome, Edge and Firefox. Only Internet Explorer is not supported and likely will never get support. It is important to know that the most performant synchronous methods like read() and write() of the OPFS API are only available inside of a WebWorker. They cannot be used in the main thread, an iFrame or even a SharedWorker. The OPFS createSyncAccessHandle() method that gives you access to the synchronous methods is not exposed in the main thread, only in a Worker. While there is no concrete data size limit defined by the API, browsers will refuse to store more data at some point. If no more data can be written, a QuotaExceededError is thrown which should be handled by the application, like showing an error message to the user. ","version":"Next","tagName":"h3"},{"title":"How the OPFS API works","type":1,"pageTitle":"Origin Private File System (OPFS) Database with the RxDB OPFS-RxStorage","url":"/rx-storage-opfs.html#how-the-opfs-api-works","content":" The OPFS API is pretty straightforward to use. First you get the root filesystem. Then you can create files and directories on that. Notice that whenever you synchronously write to, or read from a file, an ArrayBuffer must be used that contains the data. It is not possible to synchronously write plain strings or objects into the file. Therefore the TextEncoder and TextDecoder API must be used. Also notice that some of the methods of FileSystemSyncAccessHandlehave been asynchronous in the past, but are synchronous since Chromium 108. To make it less confusing, we just use await in front of them, so it will work in both cases. // Access the root directory of the origin's private file system. const root = await navigator.storage.getDirectory(); // Create a subdirectory. const diaryDirectory = await root.getDirectoryHandle('subfolder', { create: true, }); // Create a new file named 'example.txt'. const fileHandle = await diaryDirectory.getFileHandle('example.txt', { create: true, }); // Create a FileSystemSyncAccessHandle on the file. const accessHandle = await fileHandle.createSyncAccessHandle(); // Write a sentence to the file. let writeBuffer = new TextEncoder().encode('Hello from RxDB'); const writeSize = accessHandle.write(writeBuffer); // Read file and transform data to string. const readBuffer = new Uint8Array(writeSize); const readSize = accessHandle.read(readBuffer, { at: 0 }); const contentAsString = new TextDecoder().decode(readBuffer); // Write an exclamation mark to the end of the file. writeBuffer = new TextEncoder().encode('!'); accessHandle.write(writeBuffer, { at: readSize }); // Truncate file to 10 bytes. await accessHandle.truncate(10); // Get the new size of the file. const fileSize = await accessHandle.getSize(); // Persist changes to disk. await accessHandle.flush(); // Always close FileSystemSyncAccessHandle if done, so others can open the file again. await accessHandle.close(); A more detailed description of the OPFS API can be found on MDN. ","version":"Next","tagName":"h2"},{"title":"OPFS performance","type":1,"pageTitle":"Origin Private File System (OPFS) Database with the RxDB OPFS-RxStorage","url":"/rx-storage-opfs.html#opfs-performance","content":" Because the Origin Private File System API provides low-level access to binary files, it is much faster compared to IndexedDB or localStorage. According to the storage performance test, OPFS is up to 2x times faster on plain inserts when a new file is created on each write. Reads are even faster. A good comparison about real world scenarios, are the performance results of the various RxDB storages. Here it shows that reads are up to 4x faster compared to IndexedDB, even with complex queries: ","version":"Next","tagName":"h2"},{"title":"Using OPFS as RxStorage in RxDB","type":1,"pageTitle":"Origin Private File System (OPFS) Database with the RxDB OPFS-RxStorage","url":"/rx-storage-opfs.html#using-opfs-as-rxstorage-in-rxdb","content":" The OPFS RxStorage itself must run inside a WebWorker. Therefore we use the Worker RxStorage and let it point to the prebuild opfs.worker.js file that comes shipped with RxDB Premium 👑. Notice that the OPFS RxStorage is part of the RxDB Premium 👑 plugin that must be purchased. import { createRxDatabase } from 'rxdb'; import { getRxStorageWorker } from 'rxdb-premium/plugins/storage-worker'; const database = await createRxDatabase({ name: 'mydatabase', storage: getRxStorageWorker( { /** * This file must be statically served from a webserver. * You might want to first copy it somewhere outside of * your node_modules folder. */ workerInput: 'node_modules/rxdb-premium/dist/workers/opfs.worker.js' } ) }); ","version":"Next","tagName":"h2"},{"title":"Using OPFS in the main thread instead of a worker","type":1,"pageTitle":"Origin Private File System (OPFS) Database with the RxDB OPFS-RxStorage","url":"/rx-storage-opfs.html#using-opfs-in-the-main-thread-instead-of-a-worker","content":" The createSyncAccessHandle method from the Filesystem API is only available inside of a Webworker. Therefore you cannot use getRxStorageOPFS() in the main thread. But there is a slightly slower way to access the virtual filesystem from the main thread. RxDB support the getRxStorageOPFSMainThread() for that. Notice that this uses the createWritable function which is not supported in safari. Using OPFS from the main thread can have benefits because not having to cross the worker bridge can reduce latence in reads and writes. import { createRxDatabase } from 'rxdb'; import { getRxStorageOPFSMainThread } from 'rxdb-premium/plugins/storage-opfs'; const database = await createRxDatabase({ name: 'mydatabase', storage: getRxStorageOPFSMainThread() }); ","version":"Next","tagName":"h2"},{"title":"Building a custom worker.js","type":1,"pageTitle":"Origin Private File System (OPFS) Database with the RxDB OPFS-RxStorage","url":"/rx-storage-opfs.html#building-a-custom-workerjs","content":" When you want to run additional plugins like storage wrappers or replication inside of the worker, you have to build your own worker.js file. You can do that similar to other workers by calling exposeWorkerRxStorage like described in the worker storage plugin. // inside of the worker.js file import { getRxStorageOPFS } from 'rxdb-premium/plugins/storage-opfs'; import { exposeWorkerRxStorage } from 'rxdb-premium/plugins/storage-worker'; const storage = getRxStorageOPFS(); exposeWorkerRxStorage({ storage }); ","version":"Next","tagName":"h2"},{"title":"Setting usesRxDatabaseInWorker when a RxDatabase is also used inside of the worker","type":1,"pageTitle":"Origin Private File System (OPFS) Database with the RxDB OPFS-RxStorage","url":"/rx-storage-opfs.html#setting-usesrxdatabaseinworker-when-a-rxdatabase-is-also-used-inside-of-the-worker","content":" When you use the OPFS inside of a worker, it will internally use strings to represent operation results. This has the benefit that transferring strings from the worker to the main thread, is way faster compared to complex json objects. The getRxStorageWorker() will automatically decode these strings on the main thread so that the data can be used by the RxDatabase. But using a RxDatabase inside of your worker can make sense for example when you want to move the replication with a server. To enable this, you have to set usesRxDatabaseInWorker to true: // inside of the worker.js file import { getRxStorageOPFS } from 'rxdb-premium/plugins/storage-opfs'; const storage = getRxStorageOPFS({ usesRxDatabaseInWorker: true }); If you forget to set this and still create and use a RxDatabase inside of the worker, you might get the error messageorUncaught (in promise) TypeError: Cannot read properties of undefined (reading 'length')`. ","version":"Next","tagName":"h2"},{"title":"OPFS in Electron, React-Native or Capacitor.js","type":1,"pageTitle":"Origin Private File System (OPFS) Database with the RxDB OPFS-RxStorage","url":"/rx-storage-opfs.html#opfs-in-electron-react-native-or-capacitorjs","content":" Origin Private File System is a browser API that is only accessible in browsers. Other JavaScript like React-Native or Node.js, do not support it. Electron has two JavaScript contexts: the browser (chromium) context and the Node.js context. While you could use the OPFS API in the browser context, it is not recommended. Instead you should use the Filesystem API of Node.js and then only transfer the relevant data with the ipcRenderer. With RxDB that is pretty easy to configure: In the main.js, expose the Node Filesystem storage with the exposeIpcMainRxStorage() that comes with the electron pluginIn the browser context, access the main storage with the getRxStorageIpcRenderer() method. React Native (and Expo) does not have an OPFS API. You could use the ReactNative Filesystem to directly write data. But to get a fully featured database like RxDB it is easier to use the SQLite RxStorage which starts an SQLite database inside of the ReactNative app and uses that to do the database operations. Capacitor.js is able to access the OPFS API. ","version":"Next","tagName":"h2"},{"title":"Difference between File System Access API and Origin Private File System (OPFS)","type":1,"pageTitle":"Origin Private File System (OPFS) Database with the RxDB OPFS-RxStorage","url":"/rx-storage-opfs.html#difference-between-file-system-access-api-and-origin-private-file-system-opfs","content":" Often developers are confused with the differences between the File System Access API and the Origin Private File System (OPFS). The File System Access API provides access to the files on the device file system, like the ones shown in the file explorer of the operating system. To use the File System API, the user has to actively select the files from a filepicker.Origin Private File System (OPFS) is a sub-part of the File System Standard and it only describes the things you can do with the filesystem root from navigator.storage.getDirectory(). OPFS writes to a sandboxed filesystem, not visible to the user. Therefore the user does not have to actively select or allow the data access. ","version":"Next","tagName":"h2"},{"title":"Learn more about OPFS:","type":1,"pageTitle":"Origin Private File System (OPFS) Database with the RxDB OPFS-RxStorage","url":"/rx-storage-opfs.html#learn-more-about-opfs","content":" WebKit: The File System API with Origin Private File SystemBrowser SupportPerformance Test Tool ","version":"Next","tagName":"h2"},{"title":"Remote RxStorage","type":0,"sectionRef":"#","url":"/rx-storage-remote.html","content":"","keywords":"","version":"Next"},{"title":"Usage","type":1,"pageTitle":"Remote RxStorage","url":"/rx-storage-remote.html#usage","content":" The remote storage communicates over a message channel which has to implement the messageChannelCreator function which returns an object that has a messages$ observable and a send() function on both sides and a close() function that closes the RemoteMessageChannel. // on the client import { getRxStorageRemote } from 'rxdb/plugins/storage-remote'; const storage = getRxStorageRemote({ identifier: 'my-id', mode: 'storage', messageChannelCreator: () => Promise.resolve({ messages$: new Subject(), send(msg) { // send to remote storage } }) }); const myDb = await createRxDatabase({ storage }); // on the remote import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage'; import { exposeRxStorageRemote } from 'rxdb/plugins/storage-remote'; exposeRxStorageRemote({ storage: getRxStorageLocalstorage(), messages$: new Subject(), send(msg){ // send to other side } }); ","version":"Next","tagName":"h2"},{"title":"Usage with a Websocket server","type":1,"pageTitle":"Remote RxStorage","url":"/rx-storage-remote.html#usage-with-a-websocket-server","content":" The remote storage plugin contains helper functions to create a remote storage over a WebSocket server. This is often used in Node.js to give one microservice access to another services database without having to replicate the full database state. // server.js import { getRxStorageMemory } from 'rxdb/plugins/storage-memory'; import { startRxStorageRemoteWebsocketServer } from 'rxdb/plugins/storage-remote-websocket'; // either you can create the server based on a RxDatabase const serverBasedOnDatabase = await startRxStorageRemoteWebsocketServer({ port: 8080, database: myRxDatabase }); // or you can create the server based on a pure RxStorage const serverBasedOn = await startRxStorageRemoteWebsocketServer({ port: 8080, storage: getRxStorageMemory() }); // client.js import { getRxStorageRemoteWebsocket } from 'rxdb/plugins/storage-remote-websocket'; const myDb = await createRxDatabase({ storage: getRxStorageRemoteWebsocket({ url: 'ws://example.com:8080' }) }); ","version":"Next","tagName":"h2"},{"title":"Sending custom messages","type":1,"pageTitle":"Remote RxStorage","url":"/rx-storage-remote.html#sending-custom-messages","content":" The remote storage can also be used to send custom messages to and from the remote instance. One the remote you have to define a customRequestHandler like: const serverBasedOnDatabase = await startRxStorageRemoteWebsocketServer({ port: 8080, database: myRxDatabase, async customRequestHandler(msg){ // here you can return any JSON object as an 'answer' return { foo: 'bar' }; } }); On the client instance you can then call the customRequest() method: const storage = getRxStorageRemoteWebsocket({ url: 'ws://example.com:8080' }); const answer = await storage.customRequest({ bar: 'foo' }); console.dir(answer); // > { foo: 'bar' } ","version":"Next","tagName":"h2"},{"title":"Sharding RxStorage","type":0,"sectionRef":"#","url":"/rx-storage-sharding.html","content":"","keywords":"","version":"Next"},{"title":"Using the sharding plugin","type":1,"pageTitle":"Sharding RxStorage","url":"/rx-storage-sharding.html#using-the-sharding-plugin","content":" import { getRxStorageSharding } from 'rxdb-premium/plugins/storage-sharding'; import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage'; /** * First wrap the original RxStorage with the sharding RxStorage. */ const shardedRxStorage = getRxStorageSharding({ /** * Here we use the localStorage RxStorage, * it is also possible to use any other RxStorage instead. */ storage: getRxStorageLocalstorage() }); /** * Add the sharding options to your schema. * Changing these options will require a data migration. */ const mySchema = { /* ... */ sharding: { /** * Amount of shards per RxStorage instance. * Depending on your data size and query patterns, the optimal shard amount may differ. * Do a performance test to optimize that value. * 10 Shards is a good value to start with. * * IMPORTANT: Changing the value of shards is not possible on a already existing database state, * you will loose access to your data. */ shards: 10, /** * Sharding mode, * you can either shard by collection or by database. * For most cases you should use 'collection' which will shard on the collection level. * For example with the IndexedDB RxStorage, it will then create multiple stores per IndexedDB database * and not multiple IndexedDB databases, which would be slower. */ mode: 'collection' } /* ... */ } /** * Create the RxDatabase with the wrapped RxStorage. */ const database = await createRxDatabase({ name: 'mydatabase', storage: shardedRxStorage }); ","version":"Next","tagName":"h2"},{"title":"SharedWorker RxStorage","type":0,"sectionRef":"#","url":"/rx-storage-shared-worker.html","content":"","keywords":"","version":"Next"},{"title":"Usage","type":1,"pageTitle":"SharedWorker RxStorage","url":"/rx-storage-shared-worker.html#usage","content":" ","version":"Next","tagName":"h2"},{"title":"On the SharedWorker process","type":1,"pageTitle":"SharedWorker RxStorage","url":"/rx-storage-shared-worker.html#on-the-sharedworker-process","content":" In the worker process JavaScript file, you have wrap the original RxStorage with getRxStorageIndexedDB(). // shared-worker.ts import { exposeWorkerRxStorage } from 'rxdb-premium/plugins/storage-worker'; import { getRxStorageIndexedDB } from 'rxdb-premium/plugins/indexeddb'; exposeWorkerRxStorage({ /** * You can wrap any implementation of the RxStorage interface * into a worker. * Here we use the IndexedDB RxStorage. */ storage: getRxStorageIndexedDB() }); ","version":"Next","tagName":"h3"},{"title":"On the main process","type":1,"pageTitle":"SharedWorker RxStorage","url":"/rx-storage-shared-worker.html#on-the-main-process","content":" import { createRxDatabase } from 'rxdb'; import { getRxStorageSharedWorker } from 'rxdb-premium/plugins/storage-worker'; import { getRxStorageIndexedDB } from 'rxdb/plugins/storage-indexeddb'; const database = await createRxDatabase({ name: 'mydatabase', storage: getRxStorageSharedWorker( { /** * Contains any value that can be used as parameter * to the SharedWorker constructor of thread.js * Most likely you want to put the path to the shared-worker.js file in here. * * @link https://developer.mozilla.org/en-US/docs/Web/API/SharedWorker?retiredLocale=de */ workerInput: 'path/to/shared-worker.js', /** * (Optional) options * for the worker. */ workerOptions: { type: 'module', credentials: 'omit' } } ) }); ","version":"Next","tagName":"h3"},{"title":"Pre-build workers","type":1,"pageTitle":"SharedWorker RxStorage","url":"/rx-storage-shared-worker.html#pre-build-workers","content":" The shared-worker.js must be a self containing JavaScript file that contains all dependencies in a bundle. To make it easier for you, RxDB ships with pre-bundles worker files that are ready to use. You can find them in the folder node_modules/rxdb-premium/dist/workers after you have installed the RxDB Premium 👑 Plugin. From there you can copy them to a location where it can be served from the webserver and then use their path to create the RxDatabase Any valid worker.js JavaScript file can be used both, for normal Workers and SharedWorkers. import { createRxDatabase } from 'rxdb'; import { getRxStorageSharedWorker } from 'rxdb-premium/plugins/storage-worker'; const database = await createRxDatabase({ name: 'mydatabase', storage: getRxStorageSharedWorker( { /** * Path to where the copied file from node_modules/rxdb-premium/dist/workers * is reachable from the webserver. */ workerInput: '/indexeddb.shared-worker.js' } ) }); ","version":"Next","tagName":"h2"},{"title":"Building a custom worker","type":1,"pageTitle":"SharedWorker RxStorage","url":"/rx-storage-shared-worker.html#building-a-custom-worker","content":" To build a custom worker.js file, check out the webpack config at the worker documentation. Any worker file form the worker storage can also be used in a shared worker because exposeWorkerRxStorage detects where it runs and exposes the correct messaging endpoints. ","version":"Next","tagName":"h2"},{"title":"Passing in a SharedWorker instance","type":1,"pageTitle":"SharedWorker RxStorage","url":"/rx-storage-shared-worker.html#passing-in-a-sharedworker-instance","content":" Instead of setting an url as workerInput, you can also specify a function that returns a new SharedWorker instance when called. This is mostly used when you have a custom worker file and dynamically import it. This works equal to the workerInput of the Worker Storage ","version":"Next","tagName":"h2"},{"title":"Set multiInstance: false","type":1,"pageTitle":"SharedWorker RxStorage","url":"/rx-storage-shared-worker.html#set-multiinstance-false","content":" When you know that you only ever create your RxDatabase inside of the shared worker, you might want to set multiInstance: false to prevent sending change events across JavaScript realms and to improve performance. Do not set this when you also create the same storage on another realm, like when you have the same RxDatabase once inside the shared worker and once on the main thread. ","version":"Next","tagName":"h2"},{"title":"Replication with SharedWorker","type":1,"pageTitle":"SharedWorker RxStorage","url":"/rx-storage-shared-worker.html#replication-with-sharedworker","content":" When a SharedWorker RxStorage is used, it is recommended to run the replication inside of the worker. This is the best option for performance. You can do that by opening another RxDatabase inside of it and starting the replication there. If you are not concerned about performance, you can still start replication on the main thread instead. But you should never run replication on both the main thread and the worker. // shared-worker.ts import { exposeWorkerRxStorage } from 'rxdb-premium/plugins/storage-worker'; import { getRxStorageIndexedDB } from 'rxdb-premium/plugins/storage-indexeddb'; import { createRxDatabase, addRxPlugin } from 'rxdb'; import { RxDBReplicationGraphQLPlugin } from 'rxdb/plugins/replication-graphql'; addRxPlugin(RxDBReplicationGraphQLPlugin); const baseStorage = getRxStorageIndexedDB(); // first expose the RxStorage to the outside exposeWorkerRxStorage({ storage: baseStorage }); /** * Then create a normal RxDatabase and RxCollections * and start the replication. */ const database = await createRxDatabase({ name: 'mydatabase', storage: baseStorage }); await db.addCollections({ humans: {/* ... */} }); const replicationState = db.humans.syncGraphQL({/* ... */}); ","version":"Next","tagName":"h2"},{"title":"Limitations","type":1,"pageTitle":"SharedWorker RxStorage","url":"/rx-storage-shared-worker.html#limitations","content":" The SharedWorker API is not available in some mobile browser ","version":"Next","tagName":"h3"},{"title":"FAQ","type":1,"pageTitle":"SharedWorker RxStorage","url":"/rx-storage-shared-worker.html#faq","content":" Can I use this plugin with a Service Worker? No. A Service Worker is not the same as a Shared Worker. While you can use RxDB inside of a ServiceWorker, you cannot use the ServiceWorker as a RxStorage that gets accessed by an outside RxDatabase instance. ","version":"Next","tagName":"h3"},{"title":"RxStorage","type":0,"sectionRef":"#","url":"/rx-storage.html","content":"","keywords":"","version":"Next"},{"title":"Quick Recommendations","type":1,"pageTitle":"RxStorage","url":"/rx-storage.html#quick-recommendations","content":" In the Browser: Use the LocalStorage storage for simple setup and small build size. For bigger datasets, use either the dexie.js storage (free) or the IndexedDB RxStorage if you have 👑 premium access which is a bit faster and has a smaller build size.In Electron and ReactNative: Use the SQLite RxStorage if you have 👑 premium access or the trial-SQLite RxStorage for tryouts.In Capacitor: Use the SQLite RxStorage if you have 👑 premium access, otherwise use the localStorage storage. ","version":"Next","tagName":"h2"},{"title":"Configuration Examples","type":1,"pageTitle":"RxStorage","url":"/rx-storage.html#configuration-examples","content":" The RxStorage layer of RxDB is very flexible. Here are some examples on how to configure more complex settings: ","version":"Next","tagName":"h2"},{"title":"Storing much data in a browser securely","type":1,"pageTitle":"RxStorage","url":"/rx-storage.html#storing-much-data-in-a-browser-securely","content":" Lets say you build a browser app that needs to store a big amount of data as secure as possible. Here we can use a combination of the storages (encryption, IndexedDB, compression, schema-checks) that increase security and reduce the stored data size. We use the schema-validation on the top level to ensure schema-errors are clearly readable and do not contain encrypted/compressed data. The encryption is used inside of the compression because encryption of compressed data is more efficient. import { wrappedValidateAjvStorage } from 'rxdb/plugins/validate-ajv'; import { wrappedKeyCompressionStorage } from 'rxdb/plugins/key-compression'; import { wrappedKeyEncryptionCryptoJsStorage } from 'rxdb/plugins/encryption-crypto-js'; import { getRxStorageIndexedDB } from 'rxdb-premium/plugins/storage-indexeddb'; const myDatabase = await createRxDatabase({ storage: wrappedValidateAjvStorage({ storage: wrappedKeyCompressionStorage({ storage: wrappedKeyEncryptionCryptoJsStorage({ storage: getRxStorageIndexedDB() }) }) }) }); ","version":"Next","tagName":"h3"},{"title":"High query Load","type":1,"pageTitle":"RxStorage","url":"/rx-storage.html#high-query-load","content":" Also we can utilize a combination of storages to create a database that is optimized to run complex queries on the data really fast. Here we use the sharding storage together with the worker storage. This allows to run queries in parallel multithreading instead of a single JavaScript process. Because the worker initialization can slow down the initial page load, we also use the localstorage-meta-optimizer to improve initialization time. import { getRxStorageSharding } from 'rxdb-premium/plugins/storage-sharding'; import { getRxStorageWorker } from 'rxdb-premium/plugins/storage-worker'; import { getRxStorageIndexedDB } from 'rxdb-premium/plugins/storage-indexeddb'; import { getLocalstorageMetaOptimizerRxStorage } from 'rxdb-premium/plugins/storage-localstorage-meta-optimizer'; const myDatabase = await createRxDatabase({ storage: getLocalstorageMetaOptimizerRxStorage({ storage: getRxStorageSharding({ storage: getRxStorageWorker({ workerInput: 'path/to/worker.js', storage: getRxStorageIndexedDB() }) }) }) }); ","version":"Next","tagName":"h3"},{"title":"Low Latency on Writes and Simple Reads","type":1,"pageTitle":"RxStorage","url":"/rx-storage.html#low-latency-on-writes-and-simple-reads","content":" Here we create a storage configuration that is optimized to have a low latency on simple reads and writes. It uses the memory-mapped storage to fetch and store data in memory. For persistence the OPFS storage is used in the main thread which has lower latency for fetching big chunks of data when at initialization the data is loaded from disc into memory. We do not use workers because sending data from the main thread to workers and backwards would increase the latency. import { getLocalstorageMetaOptimizerRxStorage } from 'rxdb-premium/plugins/storage-localstorage-meta-optimizer'; import { getMemoryMappedRxStorage } from 'rxdb-premium/plugins/storage-memory-mapped'; import { getRxStorageOPFSMainThread } from 'rxdb-premium/plugins/storage-worker'; const myDatabase = await createRxDatabase({ storage: getLocalstorageMetaOptimizerRxStorage({ storage: getMemoryMappedRxStorage({ storage: getRxStorageOPFSMainThread() }) }) }); ","version":"Next","tagName":"h3"},{"title":"All RxStorage Implementations List","type":1,"pageTitle":"RxStorage","url":"/rx-storage.html#all-rxstorage-implementations-list","content":" ","version":"Next","tagName":"h2"},{"title":"Memory","type":1,"pageTitle":"RxStorage","url":"/rx-storage.html#memory","content":" A storage that stores the data in as plain data in the memory of the JavaScript process. Really fast and can be used in all environments. Read more ","version":"Next","tagName":"h3"},{"title":"LocalStorage","type":1,"pageTitle":"RxStorage","url":"/rx-storage.html#localstorage","content":" The localstroage based storage stores the data inside of a browsers localStorage API. It is the easiest to set up and has a small bundle size. If you are new to RxDB, you should start with the LocalStorage RxStorage. Read more ","version":"Next","tagName":"h3"},{"title":"👑 IndexedDB","type":1,"pageTitle":"RxStorage","url":"/rx-storage.html#-indexeddb","content":" The IndexedDB RxStorage is based on plain IndexedDB. For most use cases, this has the best performance together with the OPFS storage. Read more ","version":"Next","tagName":"h3"},{"title":"👑 OPFS","type":1,"pageTitle":"RxStorage","url":"/rx-storage.html#-opfs","content":" The OPFS RxStorage is based on the File System Access API. This has the best performance of all other non-in-memory storage, when RxDB is used inside of a browser. Read more ","version":"Next","tagName":"h3"},{"title":"👑 Filesystem Node","type":1,"pageTitle":"RxStorage","url":"/rx-storage.html#-filesystem-node","content":" The Filesystem Node storage is best suited when you use RxDB in a Node.js process or with electron.js. Read more ","version":"Next","tagName":"h3"},{"title":"Storage Wrapper Plugins","type":1,"pageTitle":"RxStorage","url":"/rx-storage.html#storage-wrapper-plugins","content":" 👑 Worker The worker RxStorage is a wrapper around any other RxStorage which allows to run the storage in a WebWorker (in browsers) or a Worker Thread (in Node.js). By doing so, you can take CPU load from the main process and move it into the worker's process which can improve the perceived performance of your application. Read more 👑 SharedWorker The worker RxStorage is a wrapper around any other RxStorage which allows to run the storage in a SharedWorker (only in browsers). By doing so, you can take CPU load from the main process and move it into the worker's process which can improve the perceived performance of your application. Read more Remote The Remote RxStorage is made to use a remote storage and communicate with it over an asynchronous message channel. The remote part could be on another JavaScript process or even on a different host machine. Mostly used internally in other storages like Worker or Electron-ipc. Read more 👑 Sharding On some RxStorage implementations (like IndexedDB), a huge performance improvement can be done by sharding the documents into multiple database instances. With the sharding plugin you can wrap any other RxStorage into a sharded storage. Read more 👑 Memory Mapped The memory-mapped RxStorage is a wrapper around any other RxStorage. The wrapper creates an in-memory storage that is used for query and write operations. This memory instance stores its data in an underlying storage for persistence. The main reason to use this is to improve query/write performance while still having the data stored on disc. Read more 👑 Localstorage Meta Optimizer The RxStorage Localstorage Meta Optimizer is a wrapper around any other RxStorage. The wrapper uses the original RxStorage for normal collection documents. But to optimize the initial page load time, it uses localstorage to store the plain key-value metadata that RxDB needs to create databases and collections. This plugin can only be used in browsers. Read more Electron IpcRenderer & IpcMain To use RxDB in electron, it is recommended to run the RxStorage in the main process and the RxDatabase in the renderer processes. With the rxdb electron plugin you can create a remote RxStorage and consume it from the renderer process. Read more ","version":"Next","tagName":"h3"},{"title":"Third Party based Storages","type":1,"pageTitle":"RxStorage","url":"/rx-storage.html#third-party-based-storages","content":" 👑 SQLite The SQLite storage has great performance when RxDB is used on Node.js, Electron, React Native, Cordova or Capacitor. Read more Dexie.js The Dexie.js based storage is based on the Dexie.js IndexedDB wrapper library. Read more MongoDB To use RxDB on the server side, the MongoDB RxStorage provides a way of having a secure, scalable and performant storage based on the popular MongoDB NoSQL database Read more DenoKV To use RxDB in Deno. The DenoKV RxStorage provides a way of having a secure, scalable and performant storage based on the Deno Key Value Store. Read more FoundationDB To use RxDB on the server side, the FoundationDB RxStorage provides a way of having a secure, fault-tolerant and performant storage. Read more ","version":"Next","tagName":"h3"},{"title":"RxDB Tradeoffs","type":0,"sectionRef":"#","url":"/rxdb-tradeoffs.html","content":"","keywords":"","version":"Next"},{"title":"Why not SQL syntax","type":1,"pageTitle":"RxDB Tradeoffs","url":"/rxdb-tradeoffs.html#why-not-sql-syntax","content":" When you ask people which database they would want for browsers, the most answer I hear is something SQL based like SQLite. This makes sense, SQL is a query language that most developers had learned in school/university and it is reusable across various database solutions. But for RxDB (and other client side databases), using SQL is not a good option and instead it operates on document writes and the JSON based Mango-query syntax for querying. // A Mango Query const query = { selector: { age: { $gt: 10 }, lastName: 'foo' }, sort: [{ age: 'asc' }] }; ","version":"Next","tagName":"h2"},{"title":"SQL is made for database servers","type":1,"pageTitle":"RxDB Tradeoffs","url":"/rxdb-tradeoffs.html#sql-is-made-for-database-servers","content":" SQL is made to be used to run operations against a database server. You send a SQL string like SELECT SUM(column_name)... to the database server and the server then runs all operations required to calculate the result and only send back that result. This saves performance on the application side and ensures that the application itself is not blocked. But RxDB is a client-side database that runs inside of the application. There is no performance difference if the SUM() query is run inside of the database or at the application level where a Array.reduce() call calculates the result. ","version":"Next","tagName":"h3"},{"title":"Typescript support","type":1,"pageTitle":"RxDB Tradeoffs","url":"/rxdb-tradeoffs.html#typescript-support","content":" SQL is string based and therefore you need additional IDE tooling to ensure that your written database code is valid. Using the Mango Query syntax instead, TypeScript can be used validate the queries and to autocomplete code and knows which fields do exist and which do not. By doing so, the correctness of queries can be ensured at compile-time instead of run-time. ","version":"Next","tagName":"h3"},{"title":"Composeable queries","type":1,"pageTitle":"RxDB Tradeoffs","url":"/rxdb-tradeoffs.html#composeable-queries","content":" By using JSON based Mango Queries, it is easy to compose queries in plain JavaScript. For example if you have any given query and want to add the condition user MUST BE 'foobar', you can just add the condition to the selector without having to parse and understand a complex SQL string. query.selector.user = 'foobar'; Even merging the selectors of multiple queries is not a problem: queryA.selector = { $and: [ queryA.selector, queryB.selector ] }; ","version":"Next","tagName":"h3"},{"title":"Why Document based (NoSQL)","type":1,"pageTitle":"RxDB Tradeoffs","url":"/rxdb-tradeoffs.html#why-document-based-nosql","content":" Like other NoSQL databases, RxDB operates data on document level. It has no concept of tables, rows and columns. Instead we have collections, documents and fields. ","version":"Next","tagName":"h2"},{"title":"Javascript is made to work with objects","type":1,"pageTitle":"RxDB Tradeoffs","url":"/rxdb-tradeoffs.html#javascript-is-made-to-work-with-objects","content":" ","version":"Next","tagName":"h3"},{"title":"Caching","type":1,"pageTitle":"RxDB Tradeoffs","url":"/rxdb-tradeoffs.html#caching","content":" ","version":"Next","tagName":"h3"},{"title":"EventReduce","type":1,"pageTitle":"RxDB Tradeoffs","url":"/rxdb-tradeoffs.html#eventreduce","content":" ","version":"Next","tagName":"h3"},{"title":"Easier to use with typescript","type":1,"pageTitle":"RxDB Tradeoffs","url":"/rxdb-tradeoffs.html#easier-to-use-with-typescript","content":" Because of the document based approach, TypeScript can know the exact type of the query response while a SQL query could return anything from a number over a set of rows or a complex construct. ","version":"Next","tagName":"h3"},{"title":"Why no transactions","type":1,"pageTitle":"RxDB Tradeoffs","url":"/rxdb-tradeoffs.html#why-no-transactions","content":" Does not work with offline-firstDoes not work with multi-tabEasier conflict handling on document level -- Instead of transactions, rxdb works with revisions ","version":"Next","tagName":"h2"},{"title":"Why no relations","type":1,"pageTitle":"RxDB Tradeoffs","url":"/rxdb-tradeoffs.html#why-no-relations","content":" Does not work with easy replication ","version":"Next","tagName":"h2"},{"title":"Why is a schema required","type":1,"pageTitle":"RxDB Tradeoffs","url":"/rxdb-tradeoffs.html#why-is-a-schema-required","content":" migration of data on clients is hardWhy jsonschema ","version":"Next","tagName":"h2"},{"title":"","type":1,"pageTitle":"RxDB Tradeoffs","url":"/rxdb-tradeoffs.html##","content":"","version":"Next","tagName":"h2"},{"title":"Worker RxStorage","type":0,"sectionRef":"#","url":"/rx-storage-worker.html","content":"","keywords":"","version":"Next"},{"title":"On the worker process","type":1,"pageTitle":"Worker RxStorage","url":"/rx-storage-worker.html#on-the-worker-process","content":" // worker.ts import { exposeWorkerRxStorage } from 'rxdb-premium/plugins/storage-worker'; import { getRxStorageIndexedDB } from 'rxdb-premium/plugins/storage-indexeddb'; exposeWorkerRxStorage({ /** * You can wrap any implementation of the RxStorage interface * into a worker. * Here we use the IndexedDB RxStorage. */ storage: getRxStorageIndexedDB() }); ","version":"Next","tagName":"h2"},{"title":"On the main process","type":1,"pageTitle":"Worker RxStorage","url":"/rx-storage-worker.html#on-the-main-process","content":" import { createRxDatabase } from 'rxdb'; import { getRxStorageWorker } from 'rxdb-premium/plugins/storage-worker'; const database = await createRxDatabase({ name: 'mydatabase', storage: getRxStorageWorker( { /** * Contains any value that can be used as parameter * to the Worker constructor of thread.js * Most likely you want to put the path to the worker.js file in here. * * @link https://developer.mozilla.org/en-US/docs/Web/API/Worker/Worker */ workerInput: 'path/to/worker.js', /** * (Optional) options * for the worker. */ workerOptions: { type: 'module', credentials: 'omit' } } ) }); ","version":"Next","tagName":"h2"},{"title":"Pre-build workers","type":1,"pageTitle":"Worker RxStorage","url":"/rx-storage-worker.html#pre-build-workers","content":" The worker.js must be a self containing JavaScript file that contains all dependencies in a bundle. To make it easier for you, RxDB ships with pre-bundles worker files that are ready to use. You can find them in the folder node_modules/rxdb-premium/dist/workers after you have installed the RxDB Premium 👑 Plugin. From there you can copy them to a location where it can be served from the webserver and then use their path to create the RxDatabase. Any valid worker.js JavaScript file can be used both, for normal Workers and SharedWorkers. import { createRxDatabase } from 'rxdb'; import { getRxStorageWorker } from 'rxdb-premium/plugins/storage-worker'; const database = await createRxDatabase({ name: 'mydatabase', storage: getRxStorageWorker( { /** * Path to where the copied file from node_modules/rxdb/dist/workers * is reachable from the webserver. */ workerInput: '/indexeddb.worker.js' } ) }); ","version":"Next","tagName":"h2"},{"title":"Building a custom worker","type":1,"pageTitle":"Worker RxStorage","url":"/rx-storage-worker.html#building-a-custom-worker","content":" The easiest way to bundle a custom worker.js file is by using webpack. Here is the webpack-config that is also used for the prebuild workers: // webpack.config.js const path = require('path'); const TerserPlugin = require('terser-webpack-plugin'); const projectRootPath = path.resolve( __dirname, '../../' // path from webpack-config to the root folder of the repo ); const babelConfig = require(path.join(projectRootPath, 'babel.config')); const baseDir = './dist/workers/'; // output path module.exports = { target: 'webworker', entry: { 'my-custom-worker': baseDir + 'my-custom-worker.js', }, output: { filename: '[name].js', clean: true, path: path.resolve( projectRootPath, 'dist/workers' ), }, mode: 'production', module: { rules: [ { test: /\\.tsx?$/, exclude: /(node_modules)/, use: { loader: 'babel-loader', options: babelConfig } } ], }, resolve: { extensions: ['.tsx', '.ts', '.js', '.mjs', '.mts'] }, optimization: { moduleIds: 'deterministic', minimize: true, minimizer: [new TerserPlugin({ terserOptions: { format: { comments: false, }, }, extractComments: false, })], } }; ","version":"Next","tagName":"h2"},{"title":"One worker per database","type":1,"pageTitle":"Worker RxStorage","url":"/rx-storage-worker.html#one-worker-per-database","content":" Each call to getRxStorageWorker() will create a different worker instance so that when you have more than one RxDatabase, each database will have its own JavaScript worker process. To reuse the worker instance in more than one RxDatabase, you can store the output of getRxStorageWorker() into a variable an use that one. Reusing the worker can decrease the initial page load, but you might get slower database operations. // Call getRxStorageWorker() exactly once const workerStorage = getRxStorageWorker({ workerInput: 'path/to/worker.js' }); // use the same storage for both databases. const databaseOne = await createRxDatabase({ name: 'database-one', storage: workerStorage }); const databaseTwo = await createRxDatabase({ name: 'database-two', storage: workerStorage }); ","version":"Next","tagName":"h2"},{"title":"Passing in a Worker instance","type":1,"pageTitle":"Worker RxStorage","url":"/rx-storage-worker.html#passing-in-a-worker-instance","content":" Instead of setting an url as workerInput, you can also specify a function that returns a new Worker instance when called. getRxStorageWorker({ workerInput: () => new Worker('path/to/worker.js') }) This can be helpful for environments where the worker is build dynamically by the bundler. For example in angular you would create a my-custom.worker.ts file that contains a custom build worker and then import it. const storage = getRxStorageWorker({ workerInput: () => new Worker(new URL('./my-custom.worker', import.meta.url)), }); //> my-custom.worker.ts import { exposeWorkerRxStorage } from 'rxdb-premium/plugins/storage-worker'; import { getRxStorageIndexedDB } from 'rxdb-premium/plugins/storage-indexeddb'; exposeWorkerRxStorage({ storage: getRxStorageIndexedDB() }); ","version":"Next","tagName":"h2"},{"title":"SQLite RxStorage","type":0,"sectionRef":"#","url":"/rx-storage-sqlite.html","content":"","keywords":"","version":"Next"},{"title":"Performance comparison with other storages","type":1,"pageTitle":"SQLite RxStorage","url":"/rx-storage-sqlite.html#performance-comparison-with-other-storages","content":" The SQLite storage is a bit slower compared to other Node.js based storages like the Filesystem Storage because wrapping SQLite has a bit of overhead and sending data from the JavaScript process to SQLite and backwards increases the latency. However for most hybrid apps the SQLite storage is the best option because it can leverage the SQLite version that comes already installed on the smartphones OS (iOS and android). Also for desktop electron apps it can be a viable solution because it is easy to ship SQLite together inside of the electron bundle. ","version":"Next","tagName":"h2"},{"title":"Using the SQLite RxStorage","type":1,"pageTitle":"SQLite RxStorage","url":"/rx-storage-sqlite.html#using-the-sqlite-rxstorage","content":" There are two versions of the SQLite storage available for RxDB: The trial version which comes directly shipped with RxDB Core. It contains an SQLite storage that allows you to try out RxDB on devices that support SQLite, like React Native or Electron. While the trial version does pass the full RxDB storage test-suite, it is not made for production. It is not using indexes, has no attachment support, is limited to store 300 documents and fetches the whole storage state to run queries in memory. Use it for evaluation and prototypes only! The RxDB Premium 👑 version which contains the full production-ready SQLite storage. It contains a full load of performance optimizations and full query support. To use the SQLite storage you have to import getRxStorageSQLite from the RxDB Premium 👑 package and then add the correct sqliteBasics adapter depending on which sqlite module you want to use. This can then be used as storage when creating the RxDatabase. In the following you can see some examples for some of the most common SQLite packages. Trial Version RxDB Premium 👑 // Import the Trial SQLite Storage import { getRxStorageSQLiteTrial, getSQLiteBasicsNodeNative } from 'rxdb/plugins/storage-sqlite'; // Create a Storage for it, here we use the nodejs-native SQLite module // other SQLite modules can be used with a different sqliteBasics adapter import { DatabaseSync } from 'node:sqlite'; const storage = getRxStorageSQLiteTrial({ sqliteBasics: getSQLiteBasicsNodeNative(DatabaseSync) }); // Create a Database with the Storage const myRxDatabase = await createRxDatabase({ name: 'exampledb', storage: storage }); In the following, all examples are shown with the premium SQLite storage. Still they work the same with the trial version. ","version":"Next","tagName":"h2"},{"title":"SQLiteBasics","type":1,"pageTitle":"SQLite RxStorage","url":"/rx-storage-sqlite.html#sqlitebasics","content":" Different SQLite libraries have different APIs to create and access the SQLite database. Therefore the library must be massaged to work with the RxDB SQlite storage. This is done in a so called SQLiteBasics interface. RxDB directly ships with a wide range of these for various SQLite libraries that are commonly used. Also creating your own one is pretty simple, check the source code of the existing ones for that. For example for the sqlite3 npm library we have the getSQLiteBasicsNode() implementation. For node:sqlite we have the getSQLiteBasicsNodeNative() implementation and so on.. ","version":"Next","tagName":"h2"},{"title":"Using the SQLite RxStorage with different SQLite libraries","type":1,"pageTitle":"SQLite RxStorage","url":"/rx-storage-sqlite.html#using-the-sqlite-rxstorage-with-different-sqlite-libraries","content":" ","version":"Next","tagName":"h2"},{"title":"Usage with the sqlite3 npm package","type":1,"pageTitle":"SQLite RxStorage","url":"/rx-storage-sqlite.html#usage-with-the-sqlite3-npm-package","content":" import { createRxDatabase } from 'rxdb'; import { getRxStorageSQLite, getSQLiteBasicsNode } from 'rxdb-premium/plugins/storage-sqlite'; /** * In Node.js, we use the SQLite database * from the 'sqlite' npm module. * @link https://www.npmjs.com/package/sqlite3 */ import sqlite3 from 'sqlite3'; const myRxDatabase = await createRxDatabase({ name: 'exampledb', storage: getRxStorageSQLite({ /** * Different runtimes have different interfaces to SQLite. * For example in node.js we have a callback API, * while in capacitor sqlite we have Promises. * So we need a helper object that is capable of doing the basic * sqlite operations. */ sqliteBasics: getSQLiteBasicsNode(sqlite3) }) }); ","version":"Next","tagName":"h3"},{"title":"Usage with the node:sqlite package","type":1,"pageTitle":"SQLite RxStorage","url":"/rx-storage-sqlite.html#usage-with-the-node-package","content":" With Node.js version 22 and newer, you can use the "native" sqlite module that comes shipped with Node.js. import { createRxDatabase } from 'rxdb'; import { getRxStorageSQLite, getSQLiteBasicsNodeNative } from 'rxdb-premium/plugins/storage-sqlite'; import { DatabaseSync } from 'node:sqlite'; const myRxDatabase = await createRxDatabase({ name: 'exampledb', storage: getRxStorageSQLite({ sqliteBasics: getSQLiteBasicsNodeNative(DatabaseSync) }) }); ","version":"Next","tagName":"h3"},{"title":"Usage with Webassembly in the Browser","type":1,"pageTitle":"SQLite RxStorage","url":"/rx-storage-sqlite.html#usage-with-webassembly-in-the-browser","content":" In the browser you can use the wa-sqlite package to run sQLite in Webassembly. The wa-sqlite module also allows to use persistence with IndexedDB or OPFS. Notice that in general SQLite via Webassembly is slower compared to other storages like IndexedDB or OPFS because sending data from the main thread to wasm and backwards is slow in the browser. Have a look the performance comparison. import { createRxDatabase } from 'rxdb'; import { getRxStorageSQLite, getSQLiteBasicsWasm } from 'rxdb-premium/plugins/storage-sqlite'; /** * In the Browser, we use the SQLite database * from the 'wa-sqlite' npm module. This contains the SQLite library * compiled to Webassembly * @link https://www.npmjs.com/package/wa-sqlite */ import SQLiteESMFactory from 'wa-sqlite/dist/wa-sqlite-async.mjs'; import SQLite from 'wa-sqlite'; const sqliteModule = await SQLiteESMFactory(); const sqlite3 = SQLite.Factory(module); const myRxDatabase = await createRxDatabase({ name: 'exampledb', storage: getRxStorageSQLite({ sqliteBasics: getSQLiteBasicsWasm(sqlite3) }) }); ","version":"Next","tagName":"h3"},{"title":"Usage with React Native","type":1,"pageTitle":"SQLite RxStorage","url":"/rx-storage-sqlite.html#usage-with-react-native","content":" Install the react-native-quick-sqlite npm moduleImport getSQLiteBasicsQuickSQLite from the SQLite plugin and use it to create a RxDatabase: import { createRxDatabase } from 'rxdb'; import { getRxStorageSQLite, getSQLiteBasicsQuickSQLite } from 'rxdb-premium/plugins/storage-sqlite'; import { open } from 'react-native-quick-sqlite'; // create database const myRxDatabase = await createRxDatabase({ name: 'exampledb', multiInstance: false, // <- Set multiInstance to false when using RxDB in React Native storage: getRxStorageSQLite({ sqliteBasics: getSQLiteBasicsQuickSQLite(open) }) }); If react-native-quick-sqlite does not work for you, as alternative you can use the react-native-sqlite-2 library instead: import { getRxStorageSQLite, getSQLiteBasicsWebSQL } from 'rxdb-premium/plugins/storage-sqlite'; import SQLite from 'react-native-sqlite-2'; const storage = getRxStorageSQLite({ sqliteBasics: getSQLiteBasicsWebSQL(SQLite.openDatabase) }); ","version":"Next","tagName":"h3"},{"title":"Usage with Expo SQLite","type":1,"pageTitle":"SQLite RxStorage","url":"/rx-storage-sqlite.html#usage-with-expo-sqlite","content":" Notice that expo-sqlite cannot be used on android (but it works on iOS) if you use Expo SDK version 50 or older. Please update to Version 50 or newer to use it. In the latest expo SDK version, use the getSQLiteBasicsExpoSQLiteAsync() method: import { createRxDatabase } from 'rxdb'; import { getRxStorageSQLite, getSQLiteBasicsExpoSQLiteAsync } from 'rxdb-premium/plugins/storage-sqlite'; import * as SQLite from 'expo-sqlite'; const myRxDatabase = await createRxDatabase({ name: 'exampledb', multiInstance: false, storage: getRxStorageSQLite({ sqliteBasics: getSQLiteBasicsExpoSQLiteAsync(SQLite.openDatabaseAsync) }) }); In older Expo SDK versions, you might have to use the non-async API: import { createRxDatabase } from 'rxdb'; import { getRxStorageSQLite, getSQLiteBasicsExpoSQLite } from 'rxdb-premium/plugins/storage-sqlite'; import { openDatabase } from 'expo-sqlite'; const myRxDatabase = await createRxDatabase({ name: 'exampledb', multiInstance: false, storage: getRxStorageSQLite({ sqliteBasics: getSQLiteBasicsExpoSQLite(openDatabase) }) }); ","version":"Next","tagName":"h3"},{"title":"Usage with SQLite Capacitor","type":1,"pageTitle":"SQLite RxStorage","url":"/rx-storage-sqlite.html#usage-with-sqlite-capacitor","content":" Install the sqlite capacitor npm moduleAdd the iOS database location to your capacitor config { "plugins": { "CapacitorSQLite": { "iosDatabaseLocation": "Library/CapacitorDatabase" } } } Use the function getSQLiteBasicsCapacitor to get the capacitor sqlite wrapper. import { createRxDatabase } from 'rxdb'; import { getRxStorageSQLite, getSQLiteBasicsCapacitor } from 'rxdb-premium/plugins/storage-sqlite'; /** * Import SQLite from the capacitor plugin. */ import { CapacitorSQLite, SQLiteConnection } from '@capacitor-community/sqlite'; import { Capacitor } from '@capacitor/core'; const sqlite = new SQLiteConnection(CapacitorSQLite); const myRxDatabase = await createRxDatabase({ name: 'exampledb', storage: getRxStorageSQLite({ /** * Different runtimes have different interfaces to SQLite. * For example in node.js we have a callback API, * while in capacitor sqlite we have Promises. * So we need a helper object that is capable of doing the basic * sqlite operations. */ sqliteBasics: getSQLiteBasicsCapacitor(sqlite, Capacitor) }) }); ","version":"Next","tagName":"h3"},{"title":"Usage with Tauri SQLite","type":1,"pageTitle":"SQLite RxStorage","url":"/rx-storage-sqlite.html#usage-with-tauri-sqlite","content":" Add the Tauri SQL plugin to your Tauri project.Make sure to add sqlite as your database engine by running cargo add tauri-plugin-sql --features sqlite inside src-tauri.Use the getSQLiteBasicsTauri function to get the Tauri SQLite wrapper. import { createRxDatabase } from 'rxdb'; import { getRxStorageSQLite, getSQLiteBasicsTauri } from 'rxdb/plugins/storage-sqlite'; import sqlite3 from '@tauri-apps/plugin-sql'; const myRxDatabase = await createRxDatabase({ name: 'exampledb', storage: getRxStorageSQLite({ sqliteBasics: getSQLiteBasicsTauri(sqlite3) }) }); ","version":"Next","tagName":"h3"},{"title":"Database Connection","type":1,"pageTitle":"SQLite RxStorage","url":"/rx-storage-sqlite.html#database-connection","content":" If you need to access the database connection for any reason you can use getDatabaseConnection to do so: import { getDatabaseConnection } from 'rxdb-premium/plugins/storage-sqlite' It has the following signature: getDatabaseConnection( sqliteBasics: SQLiteBasics<any>, databaseName: string ): Promise<SQLiteDatabaseClass>; ","version":"Next","tagName":"h2"},{"title":"Known Problems of SQLite in JavaScript apps","type":1,"pageTitle":"SQLite RxStorage","url":"/rx-storage-sqlite.html#known-problems-of-sqlite-in-javascript-apps","content":" Some JavaScript runtimes do not contain a Buffer API which is used by SQLite to store binary attachments data as BLOB. You can set storeAttachmentsAsBase64String: true if you want to store the attachments data as base64 string instead. This increases the database size but makes it work even without having a Buffer. The SQlite RxStorage works on SQLite libraries that use SQLite in version 3.38.0 (2022-02-22) or newer, because it uses the SQLite JSON methods like JSON_EXTRACT. If you get an error like [Error: no such function: JSON_EXTRACT (code 1 SQLITE_ERROR[1]), you might have a too old version of SQLite. To debug all SQL operations, you can pass a log function to getRxStorageSQLite() like this. This does not work with the trial version: const storage = getRxStorageSQLite({ sqliteBasics: getSQLiteBasicsCapacitor(sqlite, Capacitor), // pass log function log: console.log.bind(console) }); By default, all tables will be created with the WITHOUT ROWID flag. Some tools like drizzle do not support tables with that option. You can disable it by setting withoutRowId: false when calling getRxStorageSQLite(): const storage = getRxStorageSQLite({ sqliteBasics: getSQLiteBasicsCapacitor(sqlite, Capacitor), withoutRowId: false }); ","version":"Next","tagName":"h2"},{"title":"Related","type":1,"pageTitle":"SQLite RxStorage","url":"/rx-storage-sqlite.html#related","content":" React Native Databases ","version":"Next","tagName":"h2"},{"title":"Third Party Plugins","type":0,"sectionRef":"#","url":"/third-party-plugins.html","content":"Third Party Plugins rxdb-hooks A set of hooks to integrate RxDB into react applications.rxdb-flexsearch The full text search for RxDB using FlexSearch.rxdb-orion Enables replication with Laravel Orion.rxdb-supabase Enables replication with Supabase.rxdb-utils Additional features for RxDB like models, timestamps, default values, view and more.loki-async-reference-adapter Simple async adapter for LokiJS, suitable to use RxDB's Lokijs RxStorage with React Native.","keywords":"","version":"Next"},{"title":"Schema validation","type":0,"sectionRef":"#","url":"/schema-validation.html","content":"","keywords":"","version":"Next"},{"title":"validate-ajv","type":1,"pageTitle":"Schema validation","url":"/schema-validation.html#validate-ajv","content":" A validation-module that does the schema-validation. This one is using ajv as validator which is a bit faster. Better compliant to the jsonschema-standard but also has a bigger build-size. import { wrappedValidateAjvStorage } from 'rxdb/plugins/validate-ajv'; import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage'; // wrap the validation around the main RxStorage const storage = wrappedValidateAjvStorage({ storage: getRxStorageLocalstorage() }); const db = await createRxDatabase({ name: randomCouchString(10), storage }); ","version":"Next","tagName":"h3"},{"title":"validate-z-schema","type":1,"pageTitle":"Schema validation","url":"/schema-validation.html#validate-z-schema","content":" Both is-my-json-valid and validate-ajv use eval() to perform validation which might not be wanted when 'unsafe-eval' is not allowed in Content Security Policies. This one is using z-schema as validator which doesn't use eval. import { wrappedValidateZSchemaStorage } from 'rxdb/plugins/validate-z-schema'; import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage'; // wrap the validation around the main RxStorage const storage = wrappedValidateZSchemaStorage({ storage: getRxStorageLocalstorage() }); const db = await createRxDatabase({ name: randomCouchString(10), storage }); ","version":"Next","tagName":"h3"},{"title":"validate-is-my-json-valid","type":1,"pageTitle":"Schema validation","url":"/schema-validation.html#validate-is-my-json-valid","content":" WARNING: The is-my-json-valid validation is no longer supported until this bug is fixed. The validate-is-my-json-valid plugin uses is-my-json-valid for schema validation. import { wrappedValidateIsMyJsonValidStorage } from 'rxdb/plugins/validate-is-my-json-valid'; import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage'; // wrap the validation around the main RxStorage const storage = wrappedValidateIsMyJsonValidStorage({ storage: getRxStorageLocalstorage() }); const db = await createRxDatabase({ name: randomCouchString(10), storage }); ","version":"Next","tagName":"h3"},{"title":"Custom Formats","type":1,"pageTitle":"Schema validation","url":"/schema-validation.html#custom-formats","content":" The schema validators provide methods to add custom formats like a email format. You have to add these formats before you create your database. ","version":"Next","tagName":"h2"},{"title":"Ajv Custom Format","type":1,"pageTitle":"Schema validation","url":"/schema-validation.html#ajv-custom-format","content":" import { getAjv } from 'rxdb/plugins/validate-ajv'; const ajv = getAjv(); ajv.addFormat('email', { type: 'string', validate: v => v.includes('@') // ensure email fields contain the @ symbol }); ","version":"Next","tagName":"h3"},{"title":"Z-Schema Custom Format","type":1,"pageTitle":"Schema validation","url":"/schema-validation.html#z-schema-custom-format","content":" import { ZSchemaClass } from 'rxdb/plugins/validate-z-schema'; ZSchemaClass.registerFormat('email', function (v: string) { return v.includes('@'); // ensure email fields contain the @ symbol }); ","version":"Next","tagName":"h3"},{"title":"Performance comparison of the validators","type":1,"pageTitle":"Schema validation","url":"/schema-validation.html#performance-comparison-of-the-validators","content":" The RxDB team ran performance benchmarks using two storage options on an Ubuntu 24.04 machine with Chrome version 131.0.6778.85. The testing machine has 32 core 13th Gen Intel(R) Core(TM) i9-13900HX CPU. IndexedDB Storage (based on the IndexedDB API in the browser): IndexedDB Storage\tTime to First insert\tInsert 3000 documentsno validator\t68 ms\t213 ms ajv\t67 ms\t216 ms z-schema\t71 ms\t230 ms Memory Storage: stores everything in memory for extremely fast reads and writes, with no persistence by default. Often used with the RxDB memory-mapped plugin that processes data in memory an later persists to disc in background: Memory Storage\tTime to First insert\tInsert 3000 documentsno validator\t1.15 ms\t0.8 ms ajv\t3.05 ms\t2.7 ms z-schema\t0.9 ms\t18 ms Including a validator library also increases your JavaScript bundle size. Here's how it breaks down (minified + gzip): Build Size (minified+gzip)\tBuild Size (IndexedDB)\tBuild Size (memory)no validator\t73103 B\t39976 B ajv\t106135 B\t72773 B z-schema\t125186 B\t91882 B ","version":"Next","tagName":"h2"},{"title":"Why IndexedDB is slow and what to use instead","type":0,"sectionRef":"#","url":"/slow-indexeddb.html","content":"","keywords":"","version":"Next"},{"title":"Batched Cursor","type":1,"pageTitle":"Why IndexedDB is slow and what to use instead","url":"/slow-indexeddb.html#batched-cursor","content":" With IndexedDB 2.0, new methods were introduced which can be utilized to improve performance. With the getAll() method, a faster alternative to the old openCursor() can be created which improves performance when reading data from the IndexedDB store. Lets say we want to query all user documents that have an age greater than 25 out of the store. To implement a fast batched cursor that only needs calls to getAll() and not to getAllKeys(), we first need to create an age index that contains the primary id as last field. myIndexedDBObjectStore.createIndex( 'age-index', [ 'age', 'id' ] ); This is required because the age field is not unique, and we need a way to checkpoint the last returned batch so we can continue from there in the next call to getAll(). const maxAge = 25; let result = []; const tx: IDBTransaction = db.transaction([storeName], 'readonly', TRANSACTION_SETTINGS); const store = tx.objectStore(storeName); const index = store.index('age-index'); let lastDoc; let done = false; /** * Run the batched cursor until all results are retrieved * or the end of the index is reached. */ while (done === false) { await new Promise((res, rej) => { const range = IDBKeyRange.bound( /** * If we have a previous document as checkpoint, * we have to continue from it's age and id values. */ [ lastDoc ? lastDoc.age : -Infinity, lastDoc ? lastDoc.id : -Infinity, ], [ maxAge + 0.00000001, String.fromCharCode(65535) ], true, false ); const openCursorRequest = index.getAll(range, batchSize); openCursorRequest.onerror = err => rej(err); openCursorRequest.onsuccess = e => { const subResult: TestDocument[] = e.target.result; lastDoc = lastOfArray(subResult); if (subResult.length === 0) { done = true; } else { result = result.concat(subResult); } res(); }; }); } console.dir(result); As the performance test results show, using a batched cursor can give a huge improvement. Interestingly choosing a high batch size is important. When you known that all results of a given IDBKeyRange are needed, you should not set a batch size at all and just directly query all documents via getAll(). RxDB uses batched cursors in the IndexedDB RxStorage. ","version":"Next","tagName":"h2"},{"title":"IndexedDB Sharding","type":1,"pageTitle":"Why IndexedDB is slow and what to use instead","url":"/slow-indexeddb.html#indexeddb-sharding","content":" Sharding is a technique, normally used in server side databases, where the database is partitioned horizontally. Instead of storing all documents at one table/collection, the documents are split into so called shards and each shard is stored on one table/collection. This is done in server side architectures to spread the load between multiple physical servers which increases scalability. When you use IndexedDB in a browser, there is of course no way to split the load between the client and other servers. But you can still benefit from sharding. Partitioning the documents horizontally into multiple IndexedDB stores, has shown to have a big performance improvement in write- and read operations while only increasing initial pageload slightly. As shown in the performance test results, sharding should always be done by IDBObjectStore and not by database. Running a batched cursor over the whole dataset with 10 store shards in parallel is about 28% faster then running it over a single store. Initialization time increases minimal from 9 to 17 milliseconds. Getting a quarter of the dataset by batched iterating over an index, is even 43% faster with sharding then when a single store is queried. As downside, getting 10k documents by their id is slower when it has to run over the shards. Also it can be much effort to recombined the results from the different shards into the required query result. When a query without a limit is done, the sharding method might cause a data load huge overhead. Sharding can be used with RxDB with the Sharding Plugin. ","version":"Next","tagName":"h2"},{"title":"Custom Indexes","type":1,"pageTitle":"Why IndexedDB is slow and what to use instead","url":"/slow-indexeddb.html#custom-indexes","content":" Indexes improve the query performance of IndexedDB significant. Instead of fetching all data from the storage when you search for a subset of it, you can iterate over the index and stop iterating when all relevant data has been found. For example to query for all user documents that have an age greater than 25, you would create an age+id index. To be able to run a batched cursor over the index, we always need our primary key (id) as the last index field. Instead of doing this, you can use a custom index which can improve the performance. The custom index runs over a helper field ageIdCustomIndex which is added to each document on write. Our index now only contains a single string field instead of two (age-number and id-string). // On document insert add the ageIdCustomIndex field. const idMaxLength = 20; // must be known to craft a custom index docData.ageIdCustomIndex = docData.age + docData.id.padStart(idMaxLength, ' '); store.put(docData); // ... // normal index myIndexedDBObjectStore.createIndex( 'age-index', [ 'age', 'id' ] ); // custom index myIndexedDBObjectStore.createIndex( 'age-index-custom', [ 'ageIdCustomIndex' ] ); To iterate over the index, you also use a custom crafted keyrange, depending on the last batched cursor checkpoint. Therefore the maxLength of id must be known. // keyrange for normal index const range = IDBKeyRange.bound( [25, ''], [Infinity, Infinity], true, false ); // keyrange for custom index const range = IDBKeyRange.bound( // combine both values to a single string 25 + ''.padStart(idMaxLength, ' '), Infinity, true, false ); As shown, using a custom index can further improve the performance of running a batched cursor by about 10%. Another big benefit of using custom indexes, is that you can also encode boolean values in them, which cannot be done with normal IndexedDB indexes. RxDB uses custom indexes in the IndexedDB RxStorage. ","version":"Next","tagName":"h2"},{"title":"Relaxed durability","type":1,"pageTitle":"Why IndexedDB is slow and what to use instead","url":"/slow-indexeddb.html#relaxed-durability","content":" Chromium based browsers allow to set durability to relaxed when creating an IndexedDB transaction. Which runs the transaction in a less secure durability mode, which can improve the performance. The user agent may consider that the transaction has successfully committed as soon as all outstanding changes have been written to the operating system, without subsequent verification. As shown here, using the relaxed durability mode can improve performance slightly. The best performance improvement could be measured when many small transactions have to be run. Less, bigger transaction do not benefit that much. ","version":"Next","tagName":"h2"},{"title":"Explicit transaction commits","type":1,"pageTitle":"Why IndexedDB is slow and what to use instead","url":"/slow-indexeddb.html#explicit-transaction-commits","content":" By explicitly committing a transaction, another slight performance improvement can be achieved. Instead of waiting for the browser to commit an open transaction, we call the commit() method to explicitly close it. // .commit() is not available on all browsers, so first check if it exists. if (transaction.commit) { transaction.commit() } The improvement of this technique is minimal, but observable as these tests show. ","version":"Next","tagName":"h2"},{"title":"In-Memory on top of IndexedDB","type":1,"pageTitle":"Why IndexedDB is slow and what to use instead","url":"/slow-indexeddb.html#in-memory-on-top-of-indexeddb","content":" To prevent transaction handling and to fix the performance problems, we need to stop using IndexedDB as a database. Instead all data is loaded into the memory on the initial page load. Here all reads and writes happen in memory which is about 100x faster. Only some time after a write occurred, the memory state is persisted into IndexedDB with a single write transaction. In this scenario IndexedDB is used as a filesystem, not as a database. There are some libraries that already do that: LokiJS with the IndexedDB AdapterAbsurd-SQLSQL.js with the empscripten Filesystem APIDuckDB Wasm ","version":"Next","tagName":"h2"},{"title":"In-Memory: Persistence","type":1,"pageTitle":"Why IndexedDB is slow and what to use instead","url":"/slow-indexeddb.html#in-memory-persistence","content":" One downside of not directly using IndexedDB, is that your data is not persistent all the time. And when the JavaScript process exists without having persisted to IndexedDB, data can be lost. To prevent this from happening, we have to ensure that the in-memory state is written down to the disc. One point is make persisting as fast as possible. LokiJS for example has the incremental-indexeddb-adapter which only saves new writes to the disc instead of persisting the whole state. Another point is to run the persisting at the correct point in time. For example the RxDB LokiJS storage persists in the following situations: When the database is idle and no write or query is running. In that time we can persist the state if any new writes appeared before.When the window fires the beforeunload event we can assume that the JavaScript process is exited any moment and we have to persist the state. After beforeunload there are several seconds time which are sufficient to store all new changes. This has shown to work quite reliable. The only missing event that can happen is when the browser exists unexpectedly like when it crashes or when the power of the computer is shut of. ","version":"Next","tagName":"h3"},{"title":"In-Memory: Multi Tab Support","type":1,"pageTitle":"Why IndexedDB is slow and what to use instead","url":"/slow-indexeddb.html#in-memory-multi-tab-support","content":" One big difference between a web application and a 'normal' app, is that your users can use the app in multiple browser tabs at the same time. But when you have all database state in memory and only periodically write it to disc, multiple browser tabs could overwrite each other and you would loose data. This might not be a problem when you rely on a client-server replication, because the lost data might already be replicated with the backend and therefore with the other tabs. But this would not work when the client is offline. The ideal way to solve that problem, is to use a SharedWorker. A SharedWorker is like a WebWorker that runs its own JavaScript process only that the SharedWorker is shared between multiple contexts. You could create the database in the SharedWorker and then all browser tabs could request the Worker for data instead of having their own database. But unfortunately the SharedWorker API does not work in all browsers. Safari dropped its support and InternetExplorer or Android Chrome, never adopted it. Also it cannot be polyfilled. UPDATE:Apple added SharedWorkers back in Safari 142 Instead, we could use the BroadcastChannel API to communicate between tabs and then apply a leader election between them. The leader election ensures that, no matter how many tabs are open, always one tab is the Leader. The disadvantage is that the leader election process takes some time on the initial page load (about 150 milliseconds). Also the leader election can break when a JavaScript process is fully blocked for a longer time. When this happens, a good way is to just reload the browser tab to restart the election process. ","version":"Next","tagName":"h3"},{"title":"Further read","type":1,"pageTitle":"Why IndexedDB is slow and what to use instead","url":"/slow-indexeddb.html#further-read","content":" Offline First Database ComparisonSpeeding up IndexedDB reads and writesSQLITE ON THE WEB: ABSURD-SQLSQLite in a PWA with FileSystemAccessAPIResponse to this article by Oren Eini ","version":"Next","tagName":"h2"},{"title":"Transactions, Conflicts and Revisions","type":0,"sectionRef":"#","url":"/transactions-conflicts-revisions.html","content":"","keywords":"","version":"Next"},{"title":"Why RxDB does not have transactions","type":1,"pageTitle":"Transactions, Conflicts and Revisions","url":"/transactions-conflicts-revisions.html#why-rxdb-does-not-have-transactions","content":" When talking about transactions, we mean ACID transactions that guarantee the properties of atomicity, consistency, isolation and durability. With an ACID transaction you can mutate data dependent on the current state of the database. It is ensured that no other database operations happen in between your transaction and after the transaction has finished, it is guaranteed that the new data is actually written to the disc. To implement ACID transactions on a single server, the database has to keep track on who is running transactions and then schedule these transactions so that they can run in isolation. As soon as you have to split your database on multiple servers, transaction handling becomes way more difficult. The servers have to communicate with each other to find a consensus about which transaction can run and which has to wait. Network connections might break, or one server might complete its part of the transaction and then be required to roll back its changes because of an error on another server. But with RxDB you have multiple clients that can go randomly online or offline. The users can have different devices and the clock of these devices can go off by any time. To support ACID transactions here, RxDB would have to make the whole world stand still for all clients, while one client is doing a write operation. And even that can only work when all clients are online. Implementing that might be possible, but at the cost of an unpredictable amount of performance loss and not being able to support offline-first. A single write operation to a document is the only atomic thing you can do in RxDB. The benefits of not having to support transactions: Clients can read and write data without blocking each other.Clients can write data while being offline and then replicate with a server when they are online again, called offline-first.Creating a compatible backend for the replication is easy so that RxDB can replicate with any existing infrastructure.Optimizations like Sharding can be used. ","version":"Next","tagName":"h2"},{"title":"Revisions","type":1,"pageTitle":"Transactions, Conflicts and Revisions","url":"/transactions-conflicts-revisions.html#revisions","content":" Working without transactions leads to having undefined state when doing multiple database operations at the same time. Most client side databases rely on a last-write-wins strategy on write operations. This might be a viable solution for some cases, but often this leads to strange problems that are hard to debug. Instead, to ensure that the behavior of RxDB is always predictable, RxDB relies on revisions for version control. Revisions work similar to Lamport Clocks. Each document is stored together with its revision string, that looks like 1-9dcca3b8e1a and consists of: The revision height, a number that starts with 1 and is increased with each write to that document.The database instance token. An operation to the RxDB data layer does not only contain the new document data, but also the previous document data with its revision string. If the previous revision matches the revision that is currently stored in the database, the write operation can succeed. If the previous revision is different than the revision that is currently stored in the database, the operation will throw a 409 CONFLICT error. ","version":"Next","tagName":"h2"},{"title":"Conflicts","type":1,"pageTitle":"Transactions, Conflicts and Revisions","url":"/transactions-conflicts-revisions.html#conflicts","content":" There are two types of conflicts in RxDB, the local conflict and the replication conflict. ","version":"Next","tagName":"h2"},{"title":"Local conflicts","type":1,"pageTitle":"Transactions, Conflicts and Revisions","url":"/transactions-conflicts-revisions.html#local-conflicts","content":" A local conflict can happen when a write operation assumes a different previous document state, than what is currently stored in the database. This can happen when multiple parts of your application do simultaneous writes to the same document. This can happen on a single browser tab, or when multiple tabs write at once or when a write appears while the document gets replicated from a remote server replication. When a local conflict appears, RxDB will throw a 409 CONFLICT error. The calling code must then handle the error properly, depending on the application logic. Instead of handling local conflicts, in most cases it is easier to ensure that they cannot happen, by using incremental database operations like incrementalModify(), incrementalPatch() or incrementalUpsert(). These write operations have a built-in way to handle conflicts by re-applying the mutation functions to the conflicting document state. ","version":"Next","tagName":"h3"},{"title":"Replication conflicts","type":1,"pageTitle":"Transactions, Conflicts and Revisions","url":"/transactions-conflicts-revisions.html#replication-conflicts","content":" A replication conflict appears when multiple clients write to the same documents at once and these documents are then replicated to the backend server. When you replicate with the Graphql replication and the replication primitives, RxDB assumes that conflicts are detected and resolved at the client side. When a document is send to the backend and the backend detected a conflict (by comparing revisions or other properties), the backend will respond with the actual document state so that the client can compare this with the local document state and create a new, resolved document state that is then pushed to the server again. You can read more about the replication conflicts here. ","version":"Next","tagName":"h2"},{"title":"Custom conflict handler","type":1,"pageTitle":"Transactions, Conflicts and Revisions","url":"/transactions-conflicts-revisions.html#custom-conflict-handler","content":" A conflict handler is an object with two JavaScript functions: Detect if two document states are equalSolve existing conflicts Because the conflict handler also is used for conflict detection, it will run many times on pull-, push- and write operations of RxDB. Most of the time it will detect that there is no conflict and then return. Lets have a look at the default conflict handler of RxDB to learn how to create a custom one: import { deepEqual } from 'rxdb/plugins/utils'; export const defaultConflictHandler: RxConflictHandler<any> = { isEqual(a, b) { /** * isEqual() is used to detect conflicts or to detect if a * document has to be pushed to the remote. * If the documents are deep equal, * we have no conflict. * Because deepEqual is CPU expensive, on your custom conflict handler you might only * check some properties, like the updatedAt time or revisions * for better performance. */ return deepEqual(a, b); }, resolve(i) { /** * The default conflict handler will always * drop the fork state and use the master state instead. * * In your custom conflict handler you likely want to merge properties * of the realMasterState and the newDocumentState instead. */ return i.realMasterState; } }; To overwrite the default conflict handler, you have to specify a custom conflictHandler property when creating a collection with addCollections(). const myCollections = await myDatabase.addCollections({ // key = collectionName humans: { schema: mySchema, conflictHandler: myCustomConflictHandler } }); ","version":"Next","tagName":"h2"},{"title":"Using RxDB with TypeScript","type":0,"sectionRef":"#","url":"/tutorials/typescript.html","content":"","keywords":"","version":"Next"},{"title":"Using the types","type":1,"pageTitle":"Using RxDB with TypeScript","url":"/tutorials/typescript.html#using-the-types","content":" Now that we have declare all our types, we can use them. /** * create database and collections */ const myDatabase: MyDatabase = await createRxDatabase<MyDatabaseCollections>({ name: 'mydb', storage: getRxStorageLocalstorage() }); const heroSchema: RxJsonSchema<HeroDocType> = { title: 'human schema', description: 'describes a human being', version: 0, keyCompression: true, primaryKey: 'passportId', type: 'object', properties: { passportId: { type: 'string' }, firstName: { type: 'string' }, lastName: { type: 'string' }, age: { type: 'integer' } }, required: ['passportId', 'firstName', 'lastName'] }; const heroDocMethods: HeroDocMethods = { scream: function(this: HeroDocument, what: string) { return this.firstName + ' screams: ' + what.toUpperCase(); } }; const heroCollectionMethods: HeroCollectionMethods = { countAllDocuments: async function(this: HeroCollection) { const allDocs = await this.find().exec(); return allDocs.length; } }; await myDatabase.addCollections({ heroes: { schema: heroSchema, methods: heroDocMethods, statics: heroCollectionMethods } }); // add a postInsert-hook myDatabase.heroes.postInsert( function myPostInsertHook( this: HeroCollection, // own collection is bound to the scope docData: HeroDocType, // documents data doc: HeroDocument // RxDocument ) { console.log('insert to ' + this.name + '-collection: ' + doc.firstName); }, false // not async ); /** * use the database */ // insert a document const hero: HeroDocument = await myDatabase.heroes.insert({ passportId: 'myId', firstName: 'piotr', lastName: 'potter', age: 5 }); // access a property console.log(hero.firstName); // use a orm method hero.scream('AAH!'); // use a static orm method from the collection const amount: number = await myDatabase.heroes.countAllDocuments(); console.log(amount); /** * clean up */ myDatabase.close(); ","version":"Next","tagName":"h2"},{"title":"Why UI applications need NoSQL","type":0,"sectionRef":"#","url":"/why-nosql.html","content":"","keywords":"","version":"Next"},{"title":"Transactions do not work with humans involved","type":1,"pageTitle":"Why UI applications need NoSQL","url":"/why-nosql.html#transactions-do-not-work-with-humans-involved","content":" On the server side, transactions are used to run steps of logic inside of a self contained unit of work. The database system ensures that multiple transactions do not run in parallel or interfere with each other. This works well because on the server side you can predict how longer everything takes. It can be ensured that one transaction does not block everything else for too long which would make the system not responding anymore to other requests. When you build a UI based application that is used by a real human, you can no longer predict how long anything takes. The user clicks the edit button and expects to not have anyone else change the document while the user is in edit mode. Using a transaction to ensure nothing is changed in between, is not an option because the transaction could be open for a long time and other background tasks, like replication, would no longer work. So whenever a human is involved, this kind of logic has to be implemented using other strategies. Most NoSQL databases like RxDB or CouchDB use a system based on revision and conflicts to handle these. ","version":"Next","tagName":"h2"},{"title":"Transactions do not work with offline-first","type":1,"pageTitle":"Why UI applications need NoSQL","url":"/why-nosql.html#transactions-do-not-work-with-offline-first","content":" When you want to build an offline-first application, it is assumed that the user can also read and write data, even when the device has lost the connection to the backend. You could use database transactions on writes to the client's database state, but enforcing a transaction boundary across other instances like clients or servers, is not possible when there is no connection. On the client you could run an update query where all color: red rows are changed to color: blue, but this would not guarantee that there will still be other red documents when the client goes online again and restarts the replication with the server. UPDATE docs SET docs.color = 'red' WHERE docs.color = 'blue'; ","version":"Next","tagName":"h2"},{"title":"Relational queries in NoSQL","type":1,"pageTitle":"Why UI applications need NoSQL","url":"/why-nosql.html#relational-queries-in-nosql","content":" What most people want from a relational database, is to run queries over multiple tables. Some people think that they cannot do that with NoSQL, so let me explain. Let's say you have two tables with customers and cities where each city has an id and each customer has a city_id. You want to get every customer that resides in Tokyo. With SQL, you would use a query like this: SELECT * FROM city WHERE city.name = 'Tokyo' LEFT JOIN customer ON customer.city_id = city.id; With NoSQL you can just do the same, but you have to write it manually: const cityDocument = await db.cities.findOne().where('name').equals('Tokyo').exec(); const customerDocuments = await db.customers.find().where('city_id').equals(cityDocument.id).exec(); So what are the differences? The SQL version would run faster on a remote database server because it would aggregate all data there and return only the customers as result set. But when you have a local database, it is not really a difference. Querying the two tables by hand would have about the same performance as a JavaScript implementation of SQL that is running locally. The main benefit from using SQL is, that the SQL query runs inside of a single transaction. When a change to one of our two tables happens, while our query runs, the SQL database will ensure that the write does not affect the result of the query. This could happen with NoSQL, while you retrieve the city document, the customer table gets changed and your result is not correct for the dataset that was there when you started the querying. As a workaround, you could observe the database for changes and if a change happened in between, you have to re-run everything. ","version":"Next","tagName":"h2"},{"title":"Reliable replication","type":1,"pageTitle":"Why UI applications need NoSQL","url":"/why-nosql.html#reliable-replication","content":" In an offline first app, your data is replicated from your backend servers to your users and you want it to be reliable. The replication is reliable when, no matter what happens, every online client is able to run a replication and end up with the exact same database state as any other client. Implementing a reliable replication protocol is hard because of the circumstances of your app: Your users have unknown devices.They have an unknown internet speed.They can go offline or online at any time.Clients can be offline for a several days with un-synced changes.You can have many users at the same time.The users can do many database writes at the same time to the same entities. Now lets say you have a SQL database and one of your users, called Alice, runs a query that mutates some rows, based on a condition. # mark all items out of stock as inStock=FALSE UPDATE Table_A SET Table_A.inStock = FALSE FROM Table_A WHERE Table_A.amountInStock = 0 At first, the query runs on the local database of Alice and everything is fine. But at the same time Bob, the other client, updates a row and sets amountInStock from 0 to 1. Now Bob's client replicates the changes from Alice and runs them. Bob will end up with a different database state than Alice because on one of the rows, the WHERE condition was not met. This is not what we want, so our replication protocol should be able to fix it. For that it has to reduce all mutations into a deterministic state. Let me loosely describe how "many" SQL replications work: Instead of just running all replicated queries, we remember a list of all past queries. When a new query comes in that happened before our last query, we roll back the previous queries, run the new query, and then re-execute our own queries on top of that. For that to work, all queries need a timestamp so we can order them correctly. But you cannot rely on the clock that is running at the client. Client side clocks drift, they can run in a different speed or even a malicious client modifies the clock on purpose. So instead of a normal timestamp, we have to use a Hybrid Logical Clock that takes a client generated id and the number of the clients query into account. Our timestamp will then look like 2021-10-04T15:29.40.273Z-0000-eede1195b7d94dd5. These timestamps can be brought into a deterministic order and each client can run the replicated queries in the same order. While this sounds easy and realizable, we have some problems: This kind of replication works great when you replicate between multiple SQL servers. It does not work great when you replicate between a single server and many clients. As mentioned above, clients can be offline for a long time which could require us to do many and heavy rollbacks on each client when someone comes back after a long time and replicates the change.We have many clients where many changes can appear and our database would have to roll back many times.During the rollback, the database cannot be used for read queries.It is required that each client downloads and keeps the whole query history. With NoSQL, replication works different. A new client downloads all current documents and each time a document changes, that document is downloaded again. Instead of replicating the query that leads to a data change, we just replicate the changed data itself. Of course, we could do the same with SQL and just replicate the affected rows of a query, like WatermelonDB does it. This was a clever way to go for WatermelonDB, because it was initially made for React Native and did want to use the fast SQLite instead of the slow AsyncStorage. But in a more general view, it defeats the whole purpose of having a replicating relational database because you have transactions locally, but these transactions become meaningless as soon as the data goes through the replication layer. ","version":"Next","tagName":"h2"},{"title":"Server side validation","type":1,"pageTitle":"Why UI applications need NoSQL","url":"/why-nosql.html#server-side-validation","content":" Whenever there is client-side input, it must be validated on the server. On a NoSQL database, validating a changed document is trivial. The client sends the changed document to the server, and the server can then check if the user was allowed to modify that one document and if the applied changes are ok. Safely validating a SQL query is up to impossible. You first need a way to parse the query with all this complex SQL syntax and keywords.You have to ensure that the query does not DOS your system.Then you check which rows would be affected when running the query and if the user was allowed to change themThen you check if the mutation to that rows are valid. For simple queries like an insert/update/delete to a single row, this might be doable. But a query with 4 LEFT JOIN will be hard. ","version":"Next","tagName":"h2"},{"title":"Event optimization","type":1,"pageTitle":"Why UI applications need NoSQL","url":"/why-nosql.html#event-optimization","content":" With NoSQL databases, each write event always affects exactly one document. This makes it easy to optimize the processing of events at the client. For example instead of handling multiple updates to the same document, when the user comes online again, you could skip everything but the last event. Similar to that you can optimize observable query results. When you query the customers table you get a query result of 10 customers. Now a new customer is added to the table and you want to know how the new query results look like. You could analyze the event and now you know that you only have to add the new customer to the previous results set, instead of running the whole query again. These types of optimizations can be run with all NoSQL queries and even work with limit and skip operators. In RxDB this all happens in the background with the EventReduce algorithm that calculates new query results on incoming changes. These optimizations do not really work with relational data. A change to one table could affect a query to any other tables. and you could not just calculate the new results based on the event. You would always have to re-run the full query to get the updated results. ","version":"Next","tagName":"h2"},{"title":"Migration without relations","type":1,"pageTitle":"Why UI applications need NoSQL","url":"/why-nosql.html#migration-without-relations","content":" Sooner or later you change the layout of your data. You update the schema and you also have to migrate the stored rows/documents. In NoSQL this is often not a big deal because all of your documents are modeled as self containing piece of data. There is an old version of the document and you have a function that transforms it into the new version. With relational data, nothing is self-contained. The relevant data for the migration of a single row could be inside any other table. So when changing the schema, it will be important which table to migrate first and how to orchestrate the migration or relations. On client side applications, this is even harder because the client can close the application at any time and the migration must be able to continue. ","version":"Next","tagName":"h2"},{"title":"Everything can be downgraded to NoSQL","type":1,"pageTitle":"Why UI applications need NoSQL","url":"/why-nosql.html#everything-can-be-downgraded-to-nosql","content":" To use an offline first database in the frontend, you have to make it compatible with your backend APIs. Making software things compatible often means you have to find the lowest common denominator. When you have SQLite in the frontend and want to replicate it with the backend, the backend also has to use SQLite. You cannot even use PostgreSQL because it has a different SQL dialect and some queries might fail. But you do not want to let the frontend dictate which technologies to use in the backend just to make replication work. With NoSQL, you just have documents and writes to these documents. You can build a document based layer on top of everything by removing functionality. It can be built on top of SQL, but also on top of a graph database or even on top of a key-value store like levelDB or FoundationDB. With that document layer you can build a Sync Engine that serves documents sorted by the last update time and there you have a realtime replication. ","version":"Next","tagName":"h2"},{"title":"Caching query results","type":1,"pageTitle":"Why UI applications need NoSQL","url":"/why-nosql.html#caching-query-results","content":" Memory is limited and this is especially true for client side applications where you never know how much free RAM the device really has. You want to have a fast realtime UI, so your database must be able to cache query results. When you run a SQL query like SELECT .. the result of it can be anything. An array, a number, a string, a single row, it depends on how the query goes on. So the caching strategy can only be to keep the result in memory, once for each query. This scales very bad because the more queries you run, the more results you have to store in memory. When you make a query to a NoSQL collection, you always know how the result will look like. It is a list of documents, based on the collection's schema (if you have one). The result set is stored in memory, but because you get similar documents for different queries to the same collection, we can de-duplicated the documents. So when multiple queries return the same document, we only have it in the cache once and each query caches point to the same memory object. So no matter how many queries you make, your cache maximum is the collection size. ","version":"Next","tagName":"h2"},{"title":"TypeScript support","type":1,"pageTitle":"Why UI applications need NoSQL","url":"/why-nosql.html#typescript-support","content":" Modern web apps are build with TypeScript and you want the transpiler to know the types of your query result so it can give you build time errors when something does not match. This is quite easy on document based systems. The typings of for each document of a collection can be generated from the schema, and all queries to that collection will always return the given document type. With SQL you have to manually write the typings for each query by hand because it can contain all these aggregate functions that affect the type of the query's result. ","version":"Next","tagName":"h2"},{"title":"What you lose with NoSQL","type":1,"pageTitle":"Why UI applications need NoSQL","url":"/why-nosql.html#what-you-lose-with-nosql","content":" You can not run relational queries across tables inside a single transaction.You can not mutate documents based on a WHERE clause, in a single transaction.You need to resolve replication conflicts on a per-document basis. ","version":"Next","tagName":"h2"},{"title":"But there is database XY","type":1,"pageTitle":"Why UI applications need NoSQL","url":"/why-nosql.html#but-there-is-database-xy","content":" Yes, there are SQL databases out there that run on the client side or have replication, but not both. WebSQL / sql.js: In the past there was WebSQL in the browser. It was a direct mapping to SQLite because all browsers used the SQLite implementation. You could store relational data in it, but there was no concept of replication at any point in time. sql.js is an SQLite complied to JavaScript. It has not replication and it has (for now) no persistent storage, everything is stored in memory.WatermelonDB is a SQL databases that runs in the client. WatermelonDB uses a document-based replication that is not able to replicate relational queries.Cockroach / Spanner/ PostgreSQL etc. are SQL databases with replication. But they run on servers, not on clients, so they can make different trade offs. Further read Cockroach Labs: Living Without Atomic Clocks Transactions, Conflicts and Revisions in RxDB Why MongoDB, Cassandra, HBase, DynamoDB, and Riak will only let you perform transactions on a single data item Make a PR to this file if you have more interesting links to that topic ","version":"Next","tagName":"h2"}],"options":{"excludeRoutes":["blog","releases"],"id":"default"}}
\ No newline at end of file
diff --git a/docs/search-doc.json b/docs/search-doc.json
deleted file mode 100644
index bd3a87f577b..00000000000
--- a/docs/search-doc.json
+++ /dev/null
@@ -1 +0,0 @@
-{"searchDocs":[{"title":"PouchDB Adapters","type":0,"sectionRef":"#","url":"/adapters.html","content":"","keywords":"","version":"Next"},{"title":"Memory","type":1,"pageTitle":"PouchDB Adapters","url":"/adapters.html#memory","content":" In any environment, you can use the memory-adapter. It stores the data in the javascript runtime memory. This means it is not persistent and the data is lost when the process terminates. Use this adapter when: You want to have really good performanceYou do not want persistent state, for example in your test suite import { createRxDatabase } from 'rxdb' import { getRxStoragePouch } from 'rxdb/plugins/pouchdb'; // npm install pouchdb-adapter-memory --save addPouchPlugin(require('pouchdb-adapter-memory')); const database = await createRxDatabase({ name: 'mydatabase', storage: getRxStoragePouch('memory') }); ","version":"Next","tagName":"h2"},{"title":"Memdown","type":1,"pageTitle":"PouchDB Adapters","url":"/adapters.html#memdown","content":" With RxDB you can also use adapters that implement abstract-leveldown like the memdown-adapter. // npm install memdown --save // npm install pouchdb-adapter-leveldb --save addPouchPlugin(require('pouchdb-adapter-leveldb')); // leveldown adapters need the leveldb plugin to work const memdown = require('memdown'); const database = await createRxDatabase({ name: 'mydatabase', storage: getRxStoragePouch(memdown) // the full leveldown-module }); Browser ","version":"Next","tagName":"h2"},{"title":"IndexedDB","type":1,"pageTitle":"PouchDB Adapters","url":"/adapters.html#indexeddb","content":" The IndexedDB adapter stores the data inside of IndexedDB use this in browsers environments as default. // npm install pouchdb-adapter-idb --save addPouchPlugin(require('pouchdb-adapter-idb')); const database = await createRxDatabase({ name: 'mydatabase', storage: getRxStoragePouch('idb') }); ","version":"Next","tagName":"h2"},{"title":"IndexedDB","type":1,"pageTitle":"PouchDB Adapters","url":"/adapters.html#indexeddb-1","content":" A reimplementation of the indexeddb adapter which uses native secondary indexes. Should have a much better performance but can behave different on some edge cases. note Multiple users have reported problems with this adapter. It is not recommended to use this adapter. // npm install pouchdb-adapter-indexeddb --save addPouchPlugin(require('pouchdb-adapter-indexeddb')); const database = await createRxDatabase({ name: 'mydatabase', storage: getRxStoragePouch('indexeddb') }); ","version":"Next","tagName":"h2"},{"title":"Websql","type":1,"pageTitle":"PouchDB Adapters","url":"/adapters.html#websql","content":" This adapter stores the data inside of websql. It has a different performance behavior. Websql is deprecated. You should not use the websql adapter unless you have a really good reason. // npm install pouchdb-adapter-websql --save addPouchPlugin(require('pouchdb-adapter-websql')); const database = await createRxDatabase({ name: 'mydatabase', storage: getRxStoragePouch('websql') }); NodeJS ","version":"Next","tagName":"h2"},{"title":"leveldown","type":1,"pageTitle":"PouchDB Adapters","url":"/adapters.html#leveldown","content":" This adapter uses a LevelDB C++ binding to store that data on the filesystem. It has the best performance compared to other filesystem adapters. This adapter can not be used when multiple nodejs-processes access the same filesystem folders for storage. // npm install leveldown --save // npm install pouchdb-adapter-leveldb --save addPouchPlugin(require('pouchdb-adapter-leveldb')); // leveldown adapters need the leveldb plugin to work const leveldown = require('leveldown'); const database = await createRxDatabase({ name: 'mydatabase', storage: getRxStoragePouch(leveldown) // the full leveldown-module }); // or use a specific folder to store the data const database = await createRxDatabase({ name: '/root/user/project/mydatabase', storage: getRxStoragePouch(leveldown) // the full leveldown-module }); ","version":"Next","tagName":"h2"},{"title":"Node-Websql","type":1,"pageTitle":"PouchDB Adapters","url":"/adapters.html#node-websql","content":" This adapter uses the node-websql-shim to store data on the filesystem. Its advantages are that it does not need a leveldb build and it can be used when multiple nodejs-processes use the same database-files. // npm install pouchdb-adapter-node-websql --save addPouchPlugin(require('pouchdb-adapter-node-websql')); const database = await createRxDatabase({ name: 'mydatabase', storage: getRxStoragePouch('websql') // the name of your adapter }); // or use a specific folder to store the data const database = await createRxDatabase({ name: '/root/user/project/mydatabase', storage: getRxStoragePouch('websql') // the name of your adapter }); React-Native ","version":"Next","tagName":"h2"},{"title":"react-native-sqlite","type":1,"pageTitle":"PouchDB Adapters","url":"/adapters.html#react-native-sqlite","content":" Uses ReactNative SQLite as storage. Claims to be much faster than the asyncstorage adapter. To use it, you have to do some steps from this tutorial. First install pouchdb-adapter-react-native-sqlite and react-native-sqlite-2. npm install pouchdb-adapter-react-native-sqlite react-native-sqlite-2 Then you have to link the library. react-native link react-native-sqlite-2 You also have to add some polyfills which are need but not included in react-native. npm install base-64 events import { decode, encode } from 'base-64' if (!global.btoa) { global.btoa = encode; } if (!global.atob) { global.atob = decode; } // Avoid using node dependent modules process.browser = true; Then you can use it inside of your code. import { createRxDatabase } from 'rxdb'; import { addPouchPlugin, getRxStoragePouch } from 'rxdb/plugins/pouchdb'; import SQLite from 'react-native-sqlite-2' import SQLiteAdapterFactory from 'pouchdb-adapter-react-native-sqlite' const SQLiteAdapter = SQLiteAdapterFactory(SQLite) addPouchPlugin(SQLiteAdapter); addPouchPlugin(require('pouchdb-adapter-http')); const database = await createRxDatabase({ name: 'mydatabase', storage: getRxStoragePouch('react-native-sqlite') // the name of your adapter }); ","version":"Next","tagName":"h2"},{"title":"asyncstorage","type":1,"pageTitle":"PouchDB Adapters","url":"/adapters.html#asyncstorage","content":" Uses react-native's asyncstorage. note There are known problems with this adapter and it is not recommended to use it. // npm install pouchdb-adapter-asyncstorage --save addPouchPlugin(require('pouchdb-adapter-asyncstorage')); const database = await createRxDatabase({ name: 'mydatabase', storage: getRxStoragePouch('node-asyncstorage') // the name of your adapter }); ","version":"Next","tagName":"h2"},{"title":"asyncstorage-down","type":1,"pageTitle":"PouchDB Adapters","url":"/adapters.html#asyncstorage-down","content":" A leveldown adapter that stores on asyncstorage. // npm install pouchdb-adapter-asyncstorage-down --save addPouchPlugin(require('pouchdb-adapter-leveldb')); // leveldown adapters need the leveldb plugin to work const asyncstorageDown = require('asyncstorage-down'); const database = await createRxDatabase({ name: 'mydatabase', storage: getRxStoragePouch(asyncstorageDown) // the full leveldown-module }); Cordova / Phonegap / Capacitor ","version":"Next","tagName":"h2"},{"title":"cordova-sqlite","type":1,"pageTitle":"PouchDB Adapters","url":"/adapters.html#cordova-sqlite","content":" Uses cordova's global cordova.sqlitePlugin. It can be used with cordova and capacitor. // npm install pouchdb-adapter-cordova-sqlite --save addPouchPlugin(require('pouchdb-adapter-cordova-sqlite')); /** * In capacitor/cordova you have to wait until all plugins are loaded and 'window.sqlitePlugin' * can be accessed. * This function waits until document deviceready is called which ensures that everything is loaded. * @link https://cordova.apache.org/docs/de/latest/cordova/events/events.deviceready.html */ export function awaitCapacitorDeviceReady(): Promise<void> { return new Promise(res => { document.addEventListener('deviceready', () => { res(); }); }); } async function getDatabase(){ // first wait until the deviceready event is fired await awaitCapacitorDeviceReady(); const database = await createRxDatabase({ name: 'mydatabase', storage: getRxStoragePouch( 'cordova-sqlite', // pouch settings are passed as second parameter { // for ios devices, the cordova-sqlite adapter needs to know where to save the data. iosDatabaseLocation: 'Library' } ) }); } ","version":"Next","tagName":"h2"},{"title":"Alternatives for realtime offline-first JavaScript applications","type":0,"sectionRef":"#","url":"/alternatives.html","content":"","keywords":"","version":"Next"},{"title":"Alternatives to RxDB","type":1,"pageTitle":"Alternatives for realtime offline-first JavaScript applications","url":"/alternatives.html#alternatives-to-rxdb","content":" RxDB is an observable, replicating, local first, JavaScript database. So it makes only sense to list similar projects as alternatives, not just any database or JavaScript store library. However, I will list up some projects that RxDB is often compared with, even if it only makes sense for some use cases. Here are the alternatives to RxDB: ","version":"Next","tagName":"h2"},{"title":"Firebase","type":1,"pageTitle":"Alternatives for realtime offline-first JavaScript applications","url":"/alternatives.html#firebase","content":" Firebase is a platform developed by Google for creating mobile and web applications. Firebase has many features and products, two of which are client side databases. The Realtime Database and the Cloud Firestore. Firebase - Realtime Database The firebase realtime database was the first database in firestore. It has to be mentioned that in this context, "realtime" means "realtime replication", not "realtime computing". The firebase realtime database stores data as a big unstructured JSON tree that is replicated between clients and the backend. Firebase - Cloud Firestore The firestore is the successor to the realtime database. The big difference is that it behaves more like a 'normal' database that stores data as documents inside of collections. The conflict resolution strategy of firestore is always last-write-wins which might or might not be suitable for your use case. The biggest difference to RxDB is that firebase products are only able to be used on top of the Firebase cloud hosted backend, which creates a vendor lock-in. RxDB can replicate with any self hosted CouchDB server or custom GraphQL endpoints. You can even replicate Firestore to RxDB with the Firestore Replication Plugin. ","version":"Next","tagName":"h3"},{"title":"Meteor","type":1,"pageTitle":"Alternatives for realtime offline-first JavaScript applications","url":"/alternatives.html#meteor","content":" Meteor (since 2012) is one of the oldest technologies for JavaScript realtime applications. Meteor is not a library but a whole framework with its own package manager, database management and replication. Because of how it works, it has proven to be hard to integrate it with other modern JavaScript frameworks like angular, vue.js or svelte. Meteor uses MongoDB in the backend and can replicate with a Minimongo database in the frontend. While testing, it has proven to be impossible to make a meteor app offline first capable. There are some projects that might do this, but all are unmaintained. ","version":"Next","tagName":"h3"},{"title":"Minimongo","type":1,"pageTitle":"Alternatives for realtime offline-first JavaScript applications","url":"/alternatives.html#minimongo","content":" Forked in Jan 2014 from meteorJSs' minimongo package, Minimongo is a client-side, in-memory, JavaScript version of MongoDB with backend replication over HTTP. Similar to MongoDB, it stores data in documents inside of collections and also has the same query syntax. Minimongo has different storage adapters for IndexedDB, WebSQL, LocalStorage and SQLite. Compared to RxDB, Minimongo has no concept of revisions or conflict handling, which might lead to undefined behavior when used with replication or in multiple browser tabs. Minimongo has no observable queries or changestream. ","version":"Next","tagName":"h3"},{"title":"WatermelonDB","type":1,"pageTitle":"Alternatives for realtime offline-first JavaScript applications","url":"/alternatives.html#watermelondb","content":" WatermelonDB is a reactive & asynchronous JavaScript database. While originally made for React and React Native, it can also be used with other JavaScript frameworks. The main goal of WatermelonDB is performance within an application with lots of data. In React Native, WatermelonDB uses the provided SQLite database. Also there is an Expo plugin for WatermelonDB. In a browser, WatermelonDB uses the LokiJS in-memory database to store and query data. WatermelonDB is one of the rare projects that support both Flow and Typescript at the same time. ","version":"Next","tagName":"h3"},{"title":"AWS Amplify","type":1,"pageTitle":"Alternatives for realtime offline-first JavaScript applications","url":"/alternatives.html#aws-amplify","content":" AWS Amplify is a collection of tools and libraries to develop web- and mobile frontend applications. Similar to firebase, it provides everything needed like authentication, analytics, a REST API, storage and so on. Everything hosted in the AWS Cloud, even when they state that "AWS Amplify is designed to be open and pluggable for any custom backend or service". For realtime replication, AWS Amplify can connect to an AWS App-Sync GraphQL endpoint. ","version":"Next","tagName":"h3"},{"title":"AWS Datastore","type":1,"pageTitle":"Alternatives for realtime offline-first JavaScript applications","url":"/alternatives.html#aws-datastore","content":" Since December 2019 the Amplify library includes the AWS Datastore which is a document-based, client side database that is able to replicate data via AWS AppSync in the background. The main difference to other projects is the complex project configuration via the amplify cli and the bit confusing query syntax that works over functions. Complex Queries with multiple OR/AND statements are not possible which might change in the future. Local development is hard because the AWS AppSync mock does not support realtime replication. It also is not really offline-first because a user login is always required. // An AWS datastore OR query const posts = await DataStore.query(Post, c => c.or( c => c.rating("gt", 4).status("eq", PostStatus.PUBLISHED) )); // An AWS datastore SORT query const posts = await DataStore.query(Post, Predicates.ALL, { sort: s => s.rating(SortDirection.ASCENDING).title(SortDirection.DESCENDING) }); The biggest difference to RxDB is that you have to use the AWS cloud backends. This might not be a problem if your data is at AWS anyway. ","version":"Next","tagName":"h3"},{"title":"RethinkDB","type":1,"pageTitle":"Alternatives for realtime offline-first JavaScript applications","url":"/alternatives.html#rethinkdb","content":" RethinkDB is a backend database that pushed dynamic JSON data to the client in realtime. It was founded in 2009 and the company shut down in 2016. Rethink db is not a client side database, it streams data from the backend to the client which of course does not work while offline. ","version":"Next","tagName":"h3"},{"title":"Horizon","type":1,"pageTitle":"Alternatives for realtime offline-first JavaScript applications","url":"/alternatives.html#horizon","content":" Horizon is the client side library for RethinkDB which provides useful functions like authentication, permission management and subscription to a RethinkDB backend. Offline support never made it to horizon. ","version":"Next","tagName":"h3"},{"title":"Supabase","type":1,"pageTitle":"Alternatives for realtime offline-first JavaScript applications","url":"/alternatives.html#supabase","content":" Supabase labels itself as "an open source Firebase alternative". It is a collection of open source tools that together mimic many Firebase features, most of them by providing a wrapper around a PostgreSQL database. While it has realtime queries that run over the wire, like with RethinkDB, Supabase has no client-side storage or replication feature and therefore is not offline first. ","version":"Next","tagName":"h3"},{"title":"CouchDB","type":1,"pageTitle":"Alternatives for realtime offline-first JavaScript applications","url":"/alternatives.html#couchdb","content":" Apache CouchDB is a server-side, document-oriented database that is mostly known for its multi-master replication feature. Instead of having a master-slave replication, with CouchDB you can run replication in any constellation without having a master server as bottleneck where the server even can go off- and online at any time. This comes with the drawback of having a slow replication with much network overhead. CouchDB has a changestream and a query syntax similar to MongoDB. ","version":"Next","tagName":"h3"},{"title":"PouchDB","type":1,"pageTitle":"Alternatives for realtime offline-first JavaScript applications","url":"/alternatives.html#pouchdb","content":" PouchDB is a JavaScript database that is compatible with most of the CouchDB API. It has an adapter system that allows you to switch out the underlying storage layer. There are many adapters like for IndexedDB, SQLite, the Filesystem and so on. The main benefit is to be able to replicate data with any CouchDB compatible endpoint. Because of the CouchDB compatibility, PouchDB has to do a lot of overhead in handling the revision tree of document, which is why it can show bad performance for bigger datasets. RxDB was originally build around PouchDB until the storage layer was abstracted out in version 10.0.0 so it now allows to use different RxStorage implementations. PouchDB has some performance issues because of how it has to store the document revision tree to stay compatible with the CouchDB API. ","version":"Next","tagName":"h3"},{"title":"Couchbase","type":1,"pageTitle":"Alternatives for realtime offline-first JavaScript applications","url":"/alternatives.html#couchbase","content":" Couchbase (originally known as Membase) is another NoSQL document database made for realtime applications. It uses the N1QL query language which is more SQL like compared to other NoSQL query languages. In theory you can achieve replication of a Couchbase with a PouchDB database, but this has shown to be not that easy. ","version":"Next","tagName":"h3"},{"title":"Cloudant","type":1,"pageTitle":"Alternatives for realtime offline-first JavaScript applications","url":"/alternatives.html#cloudant","content":" Cloudant is a cloud-based service that is based on CouchDB and has mostly the same features. It was originally designed for cloud computing where data can automatically be distributed between servers. But it can also be used to replicate with frontend PouchDB instances to create scalable web applications. It was bought by IBM in 2014 and since 2018 the Cloudant Shared Plan is retired and migrated to IBM Cloud. ","version":"Next","tagName":"h3"},{"title":"Hoodie","type":1,"pageTitle":"Alternatives for realtime offline-first JavaScript applications","url":"/alternatives.html#hoodie","content":" Hoodie is a backend solution that enables offline-first JavaScript frontend development without having to write backend code. Its main goal is to abstract away configuration into simple calls to the Hoodie API. It uses CouchDB in the backend and PouchDB in the frontend to enable offline-first capabilities. The last commit for hoodie was one year ago and the website (hood.ie) is offline which indicates it is not an active project anymore. ","version":"Next","tagName":"h3"},{"title":"LokiJS","type":1,"pageTitle":"Alternatives for realtime offline-first JavaScript applications","url":"/alternatives.html#lokijs","content":" LokiJS is a JavaScript embeddable, in-memory database. And because everything is handled in-memory, LokiJS has awesome performance when mutating or querying data. You can still persist to a permanent storage (IndexedDB, Filesystem etc.) with one of the provided storage adapters. The persistence happens after a timeout is reached after a write, or before the JavaScript process exits. This also means you could loose data when the JavaScript process exits ungracefully like when the power of the device is shut down or the browser crashes. While the project is not that active anymore, it is more finished than unmaintained. In the past, RxDB supported using LokiJS as RxStorage but because the LokiJS is not maintained anymore and had too many issues, this storage option was removed in RxDB version 16. ","version":"Next","tagName":"h3"},{"title":"Gundb","type":1,"pageTitle":"Alternatives for realtime offline-first JavaScript applications","url":"/alternatives.html#gundb","content":" GUN is a JavaScript graph database. While having many features, the decentralized replication is the main unique selling point. You can replicate data Peer-to-Peer without any centralized backend server. GUN has several other features that are useful on top of that, like encryption and authentication. While testing it was really hard to get basic things running. GUN is open source, but because of how the source code is written, it is very difficult to understand what is going wrong. ","version":"Next","tagName":"h3"},{"title":"sql.js","type":1,"pageTitle":"Alternatives for realtime offline-first JavaScript applications","url":"/alternatives.html#sqljs","content":" sql.js is a javascript library to run SQLite on the web. It uses a virtual database file stored in memory and does not have any persistence. All data is lost once the JavaScript process exits. sql.js is created by compiling SQLite to WebAssembly so it has about the same features as SQLite. For older browsers there is a JavaScript fallback. ","version":"Next","tagName":"h3"},{"title":"absurd-sQL","type":1,"pageTitle":"Alternatives for realtime offline-first JavaScript applications","url":"/alternatives.html#absurd-sql","content":" Absurd-sql is a project that implements an IndexedDB-based persistence for sql.js. Instead of directly writing data into the IndexedDB, it treats IndexedDB like a disk and stores data in blocks there which shows to have a much better performance, mostly because of how performance expensive IndexedDB transactions are. ","version":"Next","tagName":"h3"},{"title":"NeDB","type":1,"pageTitle":"Alternatives for realtime offline-first JavaScript applications","url":"/alternatives.html#nedb","content":" NeDB was a embedded persistent or in-memory database for Node.js, nw.js, Electron and browsers. It is document-oriented and had the same query syntax as MongoDB. Like LokiJS it has persistence adapters for IndexedDB etc. to persist the database state on the disc. The last commit to NeDB was in 2016. ","version":"Next","tagName":"h3"},{"title":"Dexie.js","type":1,"pageTitle":"Alternatives for realtime offline-first JavaScript applications","url":"/alternatives.html#dexiejs","content":" Dexie.js is a minimalistic wrapper for IndexedDB. While providing a better API than plain IndexedDB, Dexie also improves performance by batching transactions and other optimizations. It also adds additional non-IndexedDB features like observable queries or multi tab support or react hooks. Compared to RxDB, Dexie.js does not support complex (MongoDB-like) queries and requires a lot of fiddling when a document range of a specific index must be fetched. Dexie.js is used by Whatsapp Web, Microsoft To Do and Github Desktop. RxDB supports using Dexie.js as Database storage which enhances IndexedDB via dexie with RxDB features like MongoDB-like queries etc. ","version":"Next","tagName":"h3"},{"title":"LowDB","type":1,"pageTitle":"Alternatives for realtime offline-first JavaScript applications","url":"/alternatives.html#lowdb","content":" LowDB is a small, local JSON database powered by the Lodash library. It is designed to be simple, easy to use, and straightforward. LowDB allows you to perform native JavaScript queries and persist data in a flat JSON file. Written in TypeScript, it's particularly well-suited for small projects, prototyping, or when you need a lightweight, file-based database. As an alternative to LowDB, RxDB offers real-time reactivity, allowing developers to subscribe to database changes, a feature not natively available in LowDB. Additionally, RxDB provides robust query capabilities, including the ability to subscribe to query results for automatic UI updates. These features make RxDB a strong alternative to LowDB for more complex and dynamic applications. ","version":"Next","tagName":"h3"},{"title":"localForage","type":1,"pageTitle":"Alternatives for realtime offline-first JavaScript applications","url":"/alternatives.html#localforage","content":" localForage is a popular JavaScript library for offline storage that provides a simple, promise-based API. It abstracts over different storage mechanisms such as IndexedDB, WebSQL, or localStorage, making it easier to write code once and have it work seamlessly across various browsers. While localForage is great for storing data locally in a key-value manner, it doesn't provide the real-time reactive queries, conflict handling, or revision-based replication that RxDB does. This makes localForage a useful choice for straightforward caching or persistent storage needs, but not ideal for advanced offline-first scenarios requiring multi-user collaboration or complex querying. ","version":"Next","tagName":"h3"},{"title":"MongoDB Realm","type":1,"pageTitle":"Alternatives for realtime offline-first JavaScript applications","url":"/alternatives.html#mongodb-realm","content":" Originally Realm was a mobile database for Android and iOS. Later they added support for other languages and runtimes, also for JavaScript. It was meant as replacement for SQLite but is more like an object store than a full SQL database. In 2019 MongoDB bought Realm and changed the projects focus. Now Realm is made for replication with the MongoDB Realm Sync based on the MongoDB Atlas Cloud platform. This tight coupling to the MongoDB cloud service is a big downside for most use cases. ","version":"Next","tagName":"h3"},{"title":"Apollo","type":1,"pageTitle":"Alternatives for realtime offline-first JavaScript applications","url":"/alternatives.html#apollo","content":" The Apollo GraphQL platform is made to transfer data between a server to UI applications over GraphQL endpoints. It contains several tools like GraphQL clients in different languages or libraries to create GraphQL endpoints. While it is has different caching features for offline usage, compared to RxDB it is not fully offline first because caching alone does not mean your application is fully usable when the user is offline. ","version":"Next","tagName":"h3"},{"title":"Replicache","type":1,"pageTitle":"Alternatives for realtime offline-first JavaScript applications","url":"/alternatives.html#replicache","content":" Replicache is a client-side sync framework for building realtime, collaborative, local-first web apps. It claims to work with most backend stacks. In contrast to other local first tools, replicache does not work like a local database. Instead it runs on so called mutators that unify behavior on the client and server side. So instead of implementing and calling REST routes on both sides of your stack, you will implement mutators that define a specific delta behavior based on the input data. To observe data in replicache, there are subscriptions that notify your frontend application about changes to the state. Replicache can be used in most frontend technologies like browsers, React/Remix, NextJS/Vercel and React Native. While Replicache can be installed and used from npm, the Replicache source code is not open source and the Replicache github repo does not allow you to inspect or debug it. Still you can use replicache for in non-commercial projects, or for companies with < $200k revenue (ARR) and < $500k in funding. (2024: Replicache will be free and Rocicorp are working on a new Zerosync product to succeed Replicache and Reflect.) ","version":"Next","tagName":"h3"},{"title":"InstantDB","type":1,"pageTitle":"Alternatives for realtime offline-first JavaScript applications","url":"/alternatives.html#instantdb","content":" InstantDB is designed for real-time data synchronization with built-in offline support, allowing changes to be queued locally and synced when the user reconnects. While it offers seamless optimistic updates and rollback capabilities, its offline-first design is not as mature or comprehensive as RxDB's - the offline data is more of a cache, not a full-database sync. The query language used is Datalog, and the backend sync service is written in Clojure. InstantDB is focused more on simplicity and real-time collaboration, with fewer customization options for storage or conflict resolution compared to RxDB, which supports various storage adapters and advanced conflict handling via CRDTs. ","version":"Next","tagName":"h3"},{"title":"Yjs","type":1,"pageTitle":"Alternatives for realtime offline-first JavaScript applications","url":"/alternatives.html#yjs","content":" Yjs is a CRDT-based (Conflict-free Replicated Data Type) library focused on enabling real-time collaboration - particularly for text editing, although it can handle other data types as well. While it provides powerful conflict resolution and peer-to-peer synchronization out of the box, Yjs itself is not a full-fledged database. Instead, you typically combine Yjs with other storage or networking layers to achieve a local-first architecture. This flexibility allows for sophisticated real-time features, but also means you must handle indexing, queries, and persistence on your own if you need them. Compared to RxDB, Yjs does not offer built-in replication adapters or a query system, so developers who require a more complete solution for conflict resolution, data persistence, and offline-first capabilities may find RxDB more convenient. ","version":"Next","tagName":"h3"},{"title":"ElectricSQL","type":1,"pageTitle":"Alternatives for realtime offline-first JavaScript applications","url":"/alternatives.html#electricsql","content":" 2024: ElectricSQL is being rewritten in a new Electric-Next branch, which focuses on partial syncing of ("shapes", which makes is basically a NoSQL like document database) of data from a remote Postgres DB to a local clients written in TypeScript/JS or Elixir. The write path is not yet implemented, neither is client-side reactivity. The ElectricSQL backend is written in Elixir. ","version":"Next","tagName":"h3"},{"title":"SignalDB","type":1,"pageTitle":"Alternatives for realtime offline-first JavaScript applications","url":"/alternatives.html#signaldb","content":" SignalDB provides a reactive, in-memory local-lirst JavaScript database with real-time sync, bit it doesn't offer the same level of multi-client replication or flexibility with storage backends that RxDB provides, and through a RxDB persistence adapters you can actually use SignalDB for the front-end reactivity while relying on RxDB for backend sync and persistence. ","version":"Next","tagName":"h3"},{"title":"PowerSync","type":1,"pageTitle":"Alternatives for realtime offline-first JavaScript applications","url":"/alternatives.html#powersync","content":" PowerSync is a "framework" for implementing local-first solutions. It centralizes business logic and conflict resolution on a central, authoritative server (PostgreSQL or MongoDB), vs RxDB that also supports custom backends. Both RxDB and PowerSync can be used with a variety of storage backends, but PowerSync uses SQLite as the front-end database which has shown to be slow because the WASM-SQLite abstraction increases read and write latency. In terms of client SDKs, PowerSync offers Flutter, Kotlin, and Swift in addition to JS/TypeScript. PowerSync offers man client technologies, PowerSync is under a license that restricts commercial use that competes with PowerSync and the JourneyApps Platform. Read further Offline First Database Comparison ","version":"Next","tagName":"h3"},{"title":"Build Smarter Offline-First Angular Apps: How RxDB Beats IndexedDB Alone","type":0,"sectionRef":"#","url":"/articles/angular-indexeddb.html","content":"","keywords":"","version":"Next"},{"title":"What Is IndexedDB?","type":1,"pageTitle":"Build Smarter Offline-First Angular Apps: How RxDB Beats IndexedDB Alone","url":"/articles/angular-indexeddb.html#what-is-indexeddb","content":" IndexedDB is a low-level JavaScript API for client-side storage of large amounts of structured data. It allows you to create key-value or object store-based data storage right in the user's browser. IndexedDB supports transactions and indexing but lacks a robust query API and can be complex to use due to its callback-based nature. ","version":"Next","tagName":"h2"},{"title":"Why Use IndexedDB in Angular","type":1,"pageTitle":"Build Smarter Offline-First Angular Apps: How RxDB Beats IndexedDB Alone","url":"/articles/angular-indexeddb.html#why-use-indexeddb-in-angular","content":" Offline-First/Local-First: If your app needs to function with limited or no internet connectivity, IndexedDB provides a reliable local storage layer. Users can continue using the application offline, and data can sync when the connection is restored. Performance: Local data access comes with near-zero latency, removing the need for constant server requests and eliminating most loading spinners. Easier to Implement: By replicating all necessary data to the client once, you avoid implementing numerous backend endpoints for each user interaction. Scalability: Local data queries remove processing load from your servers and reduce bandwidth usage by handling queries on the client side. ","version":"Next","tagName":"h2"},{"title":"Why Using Plain IndexedDB is a Problem","type":1,"pageTitle":"Build Smarter Offline-First Angular Apps: How RxDB Beats IndexedDB Alone","url":"/articles/angular-indexeddb.html#why-using-plain-indexeddb-is-a-problem","content":" Despite the advantages, directly working with IndexedDB has several drawbacks: Callback-Based: IndexedDB was originally designed around a callback-based API, which can be unwieldy compared to modern Promise or RxJS-based flows. Difficult to Implement: IndexedDB is often described as a "low-level" API. It's more suitable for library authors rather than application developers who simply need a robust local store. Rudimentary Query API: Complex or dynamic queries are cumbersome with IndexedDB's basic get/put approach and limited indexes. TypeScript Support: Maintaining strong TypeScript types for all document structures is not straightforward with IndexedDB's untyped object stores. No Observable API: IndexedDB cannot directly emit live data changes. With RxDB, you can subscribe to changes on a collection or even a single document field. Cross-Tab Synchronization: Handling concurrent data changes across multiple browser tabs is difficult in IndexedDB. RxDB has built-in multi-tab support that keeps all tabs in sync. Advanced Features Missing: IndexedDB lacks built-in support for encryption, compression, or other advanced data management features. Browser-Only: IndexedDB works in the browser but not in environments like React Native or Electron. RxDB offers storage adapters to seamlessly reuse the same code on different platforms. ","version":"Next","tagName":"h2"},{"title":"Set Up RxDB in Angular","type":1,"pageTitle":"Build Smarter Offline-First Angular Apps: How RxDB Beats IndexedDB Alone","url":"/articles/angular-indexeddb.html#set-up-rxdb-in-angular","content":" ","version":"Next","tagName":"h2"},{"title":"Installing RxDB","type":1,"pageTitle":"Build Smarter Offline-First Angular Apps: How RxDB Beats IndexedDB Alone","url":"/articles/angular-indexeddb.html#installing-rxdb","content":" You can install RxDB into your Angular application via npm: npm install rxdb --save ","version":"Next","tagName":"h3"},{"title":"Patch Change Detection with zone.js","type":1,"pageTitle":"Build Smarter Offline-First Angular Apps: How RxDB Beats IndexedDB Alone","url":"/articles/angular-indexeddb.html#patch-change-detection-with-zonejs","content":" RxDB creates RxJS observables outside of Angular's zone, meaning Angular won't automatically trigger change detection when new data arrives. You must patch RxJS with zone.js: //> app.component.ts /** * IMPORTANT: RxDB creates rxjs observables outside of Angular's zone * So you have to import the rxjs patch to ensure change detection works correctly. * @link https://www.bennadel.com/blog/3448-binding-rxjs-observable-sources-outside-of-the-ngzone-in-angular-6-0-2.htm */ import 'zone.js/plugins/zone-patch-rxjs'; ","version":"Next","tagName":"h3"},{"title":"Create a Database and Collections","type":1,"pageTitle":"Build Smarter Offline-First Angular Apps: How RxDB Beats IndexedDB Alone","url":"/articles/angular-indexeddb.html#create-a-database-and-collections","content":" RxDB supports multiple storage options. The free and simple approach is using the localstorage-based storage. For higher performance, there's a premium plain IndexedDB storage. import { createRxDatabase } from 'rxdb/plugins/core'; // Define your schema const heroSchema = { title: 'hero schema', version: 0, description: 'Describes a hero in your app', primaryKey: 'id', type: 'object', properties: { id: { type: 'string', maxLength: 100 }, name: { type: 'string' }, power: { type: 'string' } }, required: ['id', 'name'] }; Localstorage IndexedDB import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage'; export async function initDB() { // Create a database const db = await createRxDatabase({ name: 'heroesdb', // the name of the database storage: getRxStorageLocalstorage() }); // Add collections await db.addCollections({ heroes: { schema: heroSchema } }); return db; } It's recommended to encapsulate database creation logic in an Angular service, such as in a DatabaseService. A full example is available in RxDB's Angular example. ","version":"Next","tagName":"h3"},{"title":"CRUD Operations","type":1,"pageTitle":"Build Smarter Offline-First Angular Apps: How RxDB Beats IndexedDB Alone","url":"/articles/angular-indexeddb.html#crud-operations","content":" Once your database is initialized, you can perform all CRUD operations: // insert await db.heroes.insert({ name: 'Iron Man', power: 'Genius-level intellect' }); // bulk insert await db.heroes.bulkInsert([ { name: 'Thor', power: 'God of Thunder' }, { name: 'Hulk', power: 'Superhuman Strength' } ]); // find and findOne const heroes = await db.heroes.find().exec(); const ironMan = await db.heroes.findOne({ selector: { name: 'Iron Man' } }).exec(); // update const doc = await db.heroes.findOne({ selector: { name: 'Hulk' } }).exec(); await doc.update({ $set: { power: 'Unlimited Strength' } }); // delete const doc = await db.heroes.findOne({ selector: { name: 'Thor' } }).exec(); await doc.remove(); ","version":"Next","tagName":"h3"},{"title":"Reactive Queries and Live Updates","type":1,"pageTitle":"Build Smarter Offline-First Angular Apps: How RxDB Beats IndexedDB Alone","url":"/articles/angular-indexeddb.html#reactive-queries-and-live-updates","content":" A key benefit of RxDB is reactivity. You can subscribe to changes and have your UI automatically reflect updates in real time even across browser tabs. ","version":"Next","tagName":"h2"},{"title":"With RxJS Observables and Async Pipes","type":1,"pageTitle":"Build Smarter Offline-First Angular Apps: How RxDB Beats IndexedDB Alone","url":"/articles/angular-indexeddb.html#with-rxjs-observables-and-async-pipes","content":" In Angular, you can display this data with the AsyncPipe: constructor(private dbService: DatabaseService) { this.heroes$ = this.dbService.db.heroes.find({ selector: {}, sort: [{ name: 'asc' }] }).$; } <ul> <li *ngFor="let hero of heroes$ | async"> {{ hero.name }} </li> </ul> ","version":"Next","tagName":"h3"},{"title":"With Angular Signals","type":1,"pageTitle":"Build Smarter Offline-First Angular Apps: How RxDB Beats IndexedDB Alone","url":"/articles/angular-indexeddb.html#with-angular-signals","content":" Angular Signals are a newer approach for reactivity. RxDB supports them via a custom reactivity factory. You can convert RxJS Observables to Signals using Angular's toSignal: import { RxReactivityFactory } from 'rxdb/plugins/core'; import { Signal, untracked, Injector } from '@angular/core'; import { toSignal } from '@angular/core/rxjs-interop'; export function createReactivityFactory(injector: Injector): RxReactivityFactory<Signal<any>> { return { fromObservable(observable$, initialValue) { return untracked(() => toSignal(observable$, { initialValue, injector, rejectErrors: true }) ); } }; } Pass this factory when creating your RxDatabase: import { createRxDatabase } from 'rxdb/plugins/core'; import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage'; import { inject, Injector } from '@angular/core'; const database = await createRxDatabase({ name: 'mydb', storage: getRxStorageLocalstorage(), reactivity: createReactivityFactory(inject(Injector)) }); Use the double-dollar sign ($$) to get a Signal instead of an Observable: const heroesSignal = database.heroes.find().$$; <ul> <li *ngFor="let hero of heroesSignal()"> {{ hero.name }} </li> </ul> ","version":"Next","tagName":"h3"},{"title":"Angular IndexedDB Example with RxDB","type":1,"pageTitle":"Build Smarter Offline-First Angular Apps: How RxDB Beats IndexedDB Alone","url":"/articles/angular-indexeddb.html#angular-indexeddb-example-with-rxdb","content":" A comprehensive example of RxDB in an Angular application is available in the RxDB GitHub repository. It demonstrates database creation, queries, and Angular integration using best practices. ","version":"Next","tagName":"h2"},{"title":"Advanced RxDB Features","type":1,"pageTitle":"Build Smarter Offline-First Angular Apps: How RxDB Beats IndexedDB Alone","url":"/articles/angular-indexeddb.html#advanced-rxdb-features","content":" Beyond simple CRUD and local data storage, RxDB supports: Replication: Sync your local data with a remote database. Learn more at RxDB Replication. Data Migration on Schema Changes: RxDB supports automatic or manual schema migrations to manage backward-compatibility and evolve your data structure. See RxDB Migration. Encryption: Easily encrypt sensitive data at rest. See RxDB Encryption. Compression: Reduce storage and bandwidth usage using key compression. Learn more at RxDB Key Compression. ","version":"Next","tagName":"h2"},{"title":"Limitations of IndexedDB","type":1,"pageTitle":"Build Smarter Offline-First Angular Apps: How RxDB Beats IndexedDB Alone","url":"/articles/angular-indexeddb.html#limitations-of-indexeddb","content":" While IndexedDB works well for many use cases, it does have a few constraints: Potentially Slow: While adequate for most use cases, IndexedDB performance can degrade for very large datasets. More details at RxDB Slow IndexedDB. Storage Limits: Browsers may cap the amount of data you can store in IndexedDB. For more info, see Local Storage Limits of IndexedDB. ","version":"Next","tagName":"h2"},{"title":"Alternatives to IndexedDB","type":1,"pageTitle":"Build Smarter Offline-First Angular Apps: How RxDB Beats IndexedDB Alone","url":"/articles/angular-indexeddb.html#alternatives-to-indexeddb","content":" Depending on your needs, you might explore: Origin Private File System (OPFS): A newer browser storage mechanism that can offer better performance. RxDB supports OPFS storage. SQLite: When building a mobile or hybrid app (e.g., with Capacitor or Ionic), you can use SQLite locally. See RxDB with SQLite. ","version":"Next","tagName":"h2"},{"title":"Performance comparison with other browser storages","type":1,"pageTitle":"Build Smarter Offline-First Angular Apps: How RxDB Beats IndexedDB Alone","url":"/articles/angular-indexeddb.html#performance-comparison-with-other-browser-storages","content":" Here is a performance overview of the various browser based storage implementation of RxDB: ","version":"Next","tagName":"h2"},{"title":"Follow Up","type":1,"pageTitle":"Build Smarter Offline-First Angular Apps: How RxDB Beats IndexedDB Alone","url":"/articles/angular-indexeddb.html#follow-up","content":" Continue your deep dive into RxDB with official quickstart guides and star the repository on GitHub to stay updated. RxDB Quickstart: Get started quickly with the RxDB Quickstart. RxDB GitHub: Explore the source, open issues, and star ⭐ the project at RxDB GitHub Repo. By combining IndexedDB's local storage with RxDB's powerful features, you can build performant, robust, and offline-capable Angular applications. RxDB takes care of the lower-level complexities, letting you focus on delivering a great user experience-online or off. ","version":"Next","tagName":"h2"},{"title":"Browser Storage - RxDB as a Database for Browsers","type":0,"sectionRef":"#","url":"/articles/browser-storage.html","content":"","keywords":"","version":"Next"},{"title":"Localstorage","type":1,"pageTitle":"Browser Storage - RxDB as a Database for Browsers","url":"/articles/browser-storage.html#localstorage","content":" Localstorage is a straightforward way to store small amounts of data in the user's web browser. It operates on a simple key-value basis and is relatively easy to use. While it has limitations, it is suitable for basic data storage requirements. ","version":"Next","tagName":"h3"},{"title":"IndexedDB","type":1,"pageTitle":"Browser Storage - RxDB as a Database for Browsers","url":"/articles/browser-storage.html#indexeddb","content":" IndexedDB, on the other hand, offers a more robust and structured approach to browser-based data storage. It can handle larger datasets and complex queries, making it a valuable choice for more advanced web applications. ","version":"Next","tagName":"h3"},{"title":"Why Store Data in the Browser","type":1,"pageTitle":"Browser Storage - RxDB as a Database for Browsers","url":"/articles/browser-storage.html#why-store-data-in-the-browser","content":" Now that we've explored the methods of storing data in the browser, let's delve into why this is a beneficial strategy for web developers: Caching: Storing data in the browser allows you to cache frequently used information. This means that your web application can access essential data more quickly because it doesn't need to repeatedly fetch it from a server. This results in a smoother and more responsive user experience. Offline Access: One significant advantage of browser storage is that data becomes portable and remains accessible even when the user is offline. This feature ensures that users can continue to use your application, view their saved information, and make changes, irrespective of their internet connection status. Faster Real-time Applications: For real-time applications, having data stored locally in the browser significantly enhances performance. Local data allows your application to respond faster to user interactions, creating a more seamless and responsive user interface. Low Latency Queries: When you run queries locally within the browser, you minimize the latency associated with network requests. This results in near-instant access to data, which is particularly crucial for applications that require rapid data retrieval. Faster Initial Application Start Time: By preloading essential data into browser storage, you can reduce the initial load time of your web application. Users can start using your application more swiftly, which is essential for making a positive first impression. Store Local Data with Encryption: For applications that deal with sensitive data, browser storage allows you to implement encryption to secure the stored information. This ensures that even if data is stored on the user's device, it remains confidential and protected. In summary, storing data in the browser offers several advantages, including improved performance, offline access, and enhanced user experiences. Localstorage and IndexedDB are two valuable tools that developers can utilize to leverage these benefits and create web applications that are more responsive and user-friendly. ","version":"Next","tagName":"h2"},{"title":"Browser Storage Limitations","type":1,"pageTitle":"Browser Storage - RxDB as a Database for Browsers","url":"/articles/browser-storage.html#browser-storage-limitations","content":" While browser storage, such as Localstorage and IndexedDB, offers many advantages, it's important to be aware of its limitations: Slower Performance Compared to Native Databases: Browser-based storage solutions can't match the performance of native server-side databases. They may experience slower data retrieval and processing, especially for large datasets or complex operations. Storage Space Limitations: Browsers impose restrictions on the amount of data that can be stored locally. This limitation can be problematic for applications with extensive data storage requirements, potentially necessitating creative solutions to manage data effectively. ","version":"Next","tagName":"h2"},{"title":"Why SQL Databases Like SQLite Aren't a Good Fit for the Browser","type":1,"pageTitle":"Browser Storage - RxDB as a Database for Browsers","url":"/articles/browser-storage.html#why-sql-databases-like-sqlite-arent-a-good-fit-for-the-browser","content":" SQL databases like SQLite, while powerful in server environments, may not be the best choice for browser-based applications due to various reasons: ","version":"Next","tagName":"h2"},{"title":"Push/Pull Based vs. Reactive","type":1,"pageTitle":"Browser Storage - RxDB as a Database for Browsers","url":"/articles/browser-storage.html#pushpull-based-vs-reactive","content":" SQL databases often use a push/pull model for data synchronization. This approach is less reactive and may not align well with the real-time nature of web applications, where immediate updates to the user interface are crucial. ","version":"Next","tagName":"h3"},{"title":"Build Size of Server-Side Databases","type":1,"pageTitle":"Browser Storage - RxDB as a Database for Browsers","url":"/articles/browser-storage.html#build-size-of-server-side-databases","content":" Server-side databases like SQLite have a significant build size, which can increase the initial load time of web applications. This can result in a suboptimal user experience, particularly for users with slower internet connections. ","version":"Next","tagName":"h3"},{"title":"Initialization Time and Performance","type":1,"pageTitle":"Browser Storage - RxDB as a Database for Browsers","url":"/articles/browser-storage.html#initialization-time-and-performance","content":" SQL databases are optimized for server environments, and their initialization processes and performance characteristics may not align with the needs of web applications. They might not offer the swift performance required for seamless user interactions. ","version":"Next","tagName":"h3"},{"title":"Why RxDB Is a Good Fit as Browser Storage","type":1,"pageTitle":"Browser Storage - RxDB as a Database for Browsers","url":"/articles/browser-storage.html#why-rxdb-is-a-good-fit-as-browser-storage","content":" RxDB is an excellent choice for browser-based storage due to its numerous features and advantages: ","version":"Next","tagName":"h2"},{"title":"Flexible Storage Layer for Various Platforms","type":1,"pageTitle":"Browser Storage - RxDB as a Database for Browsers","url":"/articles/browser-storage.html#flexible-storage-layer-for-various-platforms","content":" RxDB offers a flexible storage layer that can seamlessly integrate with different platforms, making it versatile and adaptable to various application needs. ","version":"Next","tagName":"h3"},{"title":"NoSQL JSON Documents Are a Better Fit for UIs","type":1,"pageTitle":"Browser Storage - RxDB as a Database for Browsers","url":"/articles/browser-storage.html#nosql-json-documents-are-a-better-fit-for-uis","content":" NoSQL JSON documents, used by RxDB, are well-suited for user interfaces. They provide a natural and efficient way to structure and display data in web applications. ","version":"Next","tagName":"h3"},{"title":"NoSQL Has Better TypeScript Support Compared to SQL","type":1,"pageTitle":"Browser Storage - RxDB as a Database for Browsers","url":"/articles/browser-storage.html#nosql-has-better-typescript-support-compared-to-sql","content":" RxDB boasts robust TypeScript support, which is beneficial for developers who prefer type safety and code predictability in their projects. ","version":"Next","tagName":"h3"},{"title":"Observable Document Fields","type":1,"pageTitle":"Browser Storage - RxDB as a Database for Browsers","url":"/articles/browser-storage.html#observable-document-fields","content":" RxDB enables developers to observe individual document fields, offering fine-grained control over data tracking and updates. ","version":"Next","tagName":"h3"},{"title":"Made in JavaScript, Optimized for JavaScript Applications","type":1,"pageTitle":"Browser Storage - RxDB as a Database for Browsers","url":"/articles/browser-storage.html#made-in-javascript-optimized-for-javascript-applications","content":" Being built in JavaScript and optimized for JavaScript applications, RxDB seamlessly integrates into web development stacks, minimizing compatibility issues. ","version":"Next","tagName":"h3"},{"title":"Observable Queries (rxjs) to Automatically Update the UI on Changes","type":1,"pageTitle":"Browser Storage - RxDB as a Database for Browsers","url":"/articles/browser-storage.html#observable-queries-rxjs-to-automatically-update-the-ui-on-changes","content":" RxDB's support for Observable Queries allows the user interface to update automatically in real-time when data changes. This reactivity enhances the user experience and simplifies UI development. const query = myCollection.find({ selector: { age: { $gt: 21 } } }); const querySub = query.$.subscribe(results => { console.log('got results: ' + results.length); }); ","version":"Next","tagName":"h3"},{"title":"Optimized Observed Queries with the EventReduce Algorithm","type":1,"pageTitle":"Browser Storage - RxDB as a Database for Browsers","url":"/articles/browser-storage.html#optimized-observed-queries-with-the-eventreduce-algorithm","content":" RxDB's EventReduce Algorithm ensures efficient data handling and rendering, improving overall performance and responsiveness. ","version":"Next","tagName":"h3"},{"title":"Handling of Schema Changes","type":1,"pageTitle":"Browser Storage - RxDB as a Database for Browsers","url":"/articles/browser-storage.html#handling-of-schema-changes","content":" RxDB provides built-in support for handling schema changes, simplifying database management when updates are required. ","version":"Next","tagName":"h3"},{"title":"Built-In Multi-Tab Support","type":1,"pageTitle":"Browser Storage - RxDB as a Database for Browsers","url":"/articles/browser-storage.html#built-in-multi-tab-support","content":" For applications requiring multi-tab support, RxDB natively handles data consistency across different browser tabs, streamlining data synchronization. ","version":"Next","tagName":"h3"},{"title":"Storing Documents Compressed","type":1,"pageTitle":"Browser Storage - RxDB as a Database for Browsers","url":"/articles/browser-storage.html#storing-documents-compressed","content":" Efficient data storage is achieved through document compression, reducing storage space requirements and enhancing overall performance. ","version":"Next","tagName":"h3"},{"title":"Replication Algorithm for Compatibility with Any Backend","type":1,"pageTitle":"Browser Storage - RxDB as a Database for Browsers","url":"/articles/browser-storage.html#replication-algorithm-for-compatibility-with-any-backend","content":" RxDB's Replication Algorithm facilitates compatibility with various backend systems, ensuring seamless data synchronization between the browser and server. ","version":"Next","tagName":"h3"},{"title":"Summary","type":1,"pageTitle":"Browser Storage - RxDB as a Database for Browsers","url":"/articles/browser-storage.html#summary","content":" In conclusion, RxDB is a powerful and feature-rich solution for browser-based storage. Its adaptability, real-time capabilities, TypeScript support, and optimization for JavaScript applications make it an ideal choice for modern web development projects, addressing the limitations of traditional SQL databases in the browser. Developers can harness RxDB to create efficient, responsive, and user-friendly web applications that leverage the full potential of browser storage. ","version":"Next","tagName":"h2"},{"title":"Follow Up","type":1,"pageTitle":"Browser Storage - RxDB as a Database for Browsers","url":"/articles/browser-storage.html#follow-up","content":" To explore more about RxDB and leverage its capabilities for browser storage, check out the following resources: RxDB GitHub Repository: Visit the official GitHub repository of RxDB to access the source code, documentation, and community support.RxDB Quickstart: Get started quickly with RxDB by following the provided quickstart guide, which provides step-by-step instructions for setting up and using RxDB in your projects. ","version":"Next","tagName":"h2"},{"title":"RxDB: The benefits of Browser Databases","type":0,"sectionRef":"#","url":"/articles/browser-database.html","content":"","keywords":"","version":"Next"},{"title":"Why you might want to store data in the browser","type":1,"pageTitle":"RxDB: The benefits of Browser Databases","url":"/articles/browser-database.html#why-you-might-want-to-store-data-in-the-browser","content":" There are compelling reasons to consider storing data in the browser: ","version":"Next","tagName":"h2"},{"title":"Use the database for caching","type":1,"pageTitle":"RxDB: The benefits of Browser Databases","url":"/articles/browser-database.html#use-the-database-for-caching","content":" By leveraging a browser database, you can harness the power of caching. Storing frequently accessed data locally enables you to reduce server requests and greatly improve application performance. Caching provides a faster and smoother user experience, enhancing overall user satisfaction. ","version":"Next","tagName":"h3"},{"title":"Data is offline accessible","type":1,"pageTitle":"RxDB: The benefits of Browser Databases","url":"/articles/browser-database.html#data-is-offline-accessible","content":" Storing data in the browser allows for offline accessibility. Regardless of an active internet connection, users can access and interact with the application, ensuring uninterrupted productivity and user engagement. ","version":"Next","tagName":"h3"},{"title":"Easier implementation of replicating database state","type":1,"pageTitle":"RxDB: The benefits of Browser Databases","url":"/articles/browser-database.html#easier-implementation-of-replicating-database-state","content":" Browser databases simplify the replication of database state across multiple devices or instances of the application. Compared to complex REST routes, replicating data becomes easier and more streamlined. This capability enables the development of real-time and collaborative applications, where changes are seamlessly synchronized among users. ","version":"Next","tagName":"h3"},{"title":"Building real-time applications is easier with local data","type":1,"pageTitle":"RxDB: The benefits of Browser Databases","url":"/articles/browser-database.html#building-real-time-applications-is-easier-with-local-data","content":" With a local browser database, building real-time applications becomes more straightforward. The availability of local data allows for reactive data flows and dynamic user interfaces that instantly reflect changes in the underlying data. Real-time features can be seamlessly implemented, providing a rich and interactive user experience. ","version":"Next","tagName":"h3"},{"title":"Browser databases can scale better","type":1,"pageTitle":"RxDB: The benefits of Browser Databases","url":"/articles/browser-database.html#browser-databases-can-scale-better","content":" Browser databases distribute the query workload to users' devices, allowing queries to run locally instead of relying solely on server resources. This decentralized approach improves scalability by reducing the burden on the server, resulting in a more efficient and responsive application. ","version":"Next","tagName":"h3"},{"title":"Running queries locally has low latency","type":1,"pageTitle":"RxDB: The benefits of Browser Databases","url":"/articles/browser-database.html#running-queries-locally-has-low-latency","content":" Browser databases offer the advantage of running queries locally, resulting in low latency. Eliminating the need for server round-trips significantly improves query performance, ensuring faster data retrieval and a more responsive application. ","version":"Next","tagName":"h3"},{"title":"Faster initial application start time","type":1,"pageTitle":"RxDB: The benefits of Browser Databases","url":"/articles/browser-database.html#faster-initial-application-start-time","content":" Storing data in the browser reduces the initial application start time. Instead of waiting for data to be fetched from the server, the application can leverage the local database, resulting in faster initialization and improved user satisfaction right from the start. ","version":"Next","tagName":"h3"},{"title":"Easier integration with JavaScript frameworks","type":1,"pageTitle":"RxDB: The benefits of Browser Databases","url":"/articles/browser-database.html#easier-integration-with-javascript-frameworks","content":" Browser databases, including RxDB, seamlessly integrate with popular JavaScript frameworks such as Angular, React.js, Vue.js, and Svelte. This integration allows developers to leverage the power of a database while working within the familiar environment of their preferred framework, enhancing productivity and ease of development. ","version":"Next","tagName":"h3"},{"title":"Store local data with encryption","type":1,"pageTitle":"RxDB: The benefits of Browser Databases","url":"/articles/browser-database.html#store-local-data-with-encryption","content":" Security is a crucial aspect of data storage, especially when handling sensitive information. Browser databases, like RxDB, offer the capability to store local data with encryption, ensuring the confidentiality and protection of sensitive user data. ","version":"Next","tagName":"h3"},{"title":"Using a local database for state management","type":1,"pageTitle":"RxDB: The benefits of Browser Databases","url":"/articles/browser-database.html#using-a-local-database-for-state-management","content":" Utilizing a local browser database for state management eliminates the need for traditional state management libraries like Redux or NgRx. This approach simplifies the application's architecture by leveraging the database's capabilities to handle state-related operations efficiently. ","version":"Next","tagName":"h3"},{"title":"Data is portable and always accessible by the user","type":1,"pageTitle":"RxDB: The benefits of Browser Databases","url":"/articles/browser-database.html#data-is-portable-and-always-accessible-by-the-user","content":" When data is stored in the browser, it becomes portable and always accessible by the user. This ensures that users have control and ownership of their data, enhancing data privacy and accessibility. ","version":"Next","tagName":"h3"},{"title":"Why SQL databases like SQLite are not a good fit for the browser","type":1,"pageTitle":"RxDB: The benefits of Browser Databases","url":"/articles/browser-database.html#why-sql-databases-like-sqlite-are-not-a-good-fit-for-the-browser","content":" While SQL databases, such as SQLite, excel in server-side scenarios, they are not always the optimal choice for browser-based applications. Here are some reasons why SQL databases may not be the best fit for the browser: ","version":"Next","tagName":"h2"},{"title":"Push/Pull based vs. reactive","type":1,"pageTitle":"RxDB: The benefits of Browser Databases","url":"/articles/browser-database.html#pushpull-based-vs-reactive","content":" SQL databases typically rely on a push/pull mechanism, where the server pushes updates to the client or the client pulls data from the server. This approach is not inherently reactive and requires additional effort to implement real-time data updates. In contrast, browser databases like RxDB provide built-in reactive mechanisms, allowing the application to react to data changes seamlessly. ","version":"Next","tagName":"h3"},{"title":"Build size of server-side databases","type":1,"pageTitle":"RxDB: The benefits of Browser Databases","url":"/articles/browser-database.html#build-size-of-server-side-databases","content":" Server-side databases, designed to handle large-scale applications, often have significant build sizes that are unsuitable for browser applications. In contrast, browser databases are specifically optimized for browser environments and leverage browser APIs like IndexedDB, OPFS, and Webworker, resulting in smaller build sizes. ","version":"Next","tagName":"h3"},{"title":"Initialization time and performance","type":1,"pageTitle":"RxDB: The benefits of Browser Databases","url":"/articles/browser-database.html#initialization-time-and-performance","content":" The initialization time and performance of server-side databases can be suboptimal in browser applications. Browser databases, on the other hand, are designed to provide fast initialization and efficient performance within the browser environment, ensuring a smooth user experience. ","version":"Next","tagName":"h3"},{"title":"Why RxDB is a good fit for the browser","type":1,"pageTitle":"RxDB: The benefits of Browser Databases","url":"/articles/browser-database.html#why-rxdb-is-a-good-fit-for-the-browser","content":" RxDB stands out as an excellent choice for implementing a browser database solution. Here's why RxDB is a perfect fit for browser applications: ","version":"Next","tagName":"h2"},{"title":"Observable Queries (rxjs) to automatically update the UI on changes","type":1,"pageTitle":"RxDB: The benefits of Browser Databases","url":"/articles/browser-database.html#observable-queries-rxjs-to-automatically-update-the-ui-on-changes","content":" RxDB provides Observable Queries, powered by RxJS, enabling automatic UI updates when data changes occur. This reactive approach eliminates the need for manual data synchronization and ensures a real-time and responsive user interface. const query = myCollection.find({ selector: { age: { $gt: 21 } } }); const querySub = query.$.subscribe(results => { console.log('got results: ' + results.length); }); ","version":"Next","tagName":"h3"},{"title":"NoSQL JSON documents are a better fit for UIs","type":1,"pageTitle":"RxDB: The benefits of Browser Databases","url":"/articles/browser-database.html#nosql-json-documents-are-a-better-fit-for-uis","content":" RxDB utilizes NoSQL JSON documents, which align naturally with UI development in JavaScript. JavaScript's native handling of JSON objects makes working with NoSQL documents more intuitive, simplifying UI-related operations. ","version":"Next","tagName":"h3"},{"title":"NoSQL has better TypeScript support compared to SQL","type":1,"pageTitle":"RxDB: The benefits of Browser Databases","url":"/articles/browser-database.html#nosql-has-better-typescript-support-compared-to-sql","content":" TypeScript is widely used in modern JavaScript development. NoSQL databases, including RxDB, offer excellent TypeScript support, making it easier to build type-safe applications and leverage the benefits of static typing. ","version":"Next","tagName":"h3"},{"title":"Observable document fields","type":1,"pageTitle":"RxDB: The benefits of Browser Databases","url":"/articles/browser-database.html#observable-document-fields","content":" RxDB allows observing individual document fields, providing granular reactivity. This feature enables efficient tracking of specific data changes and fine-grained UI updates, optimizing performance and responsiveness. ","version":"Next","tagName":"h3"},{"title":"Made in JavaScript, optimized for JavaScript applications","type":1,"pageTitle":"RxDB: The benefits of Browser Databases","url":"/articles/browser-database.html#made-in-javascript-optimized-for-javascript-applications","content":" RxDB is built entirely in JavaScript, optimized for JavaScript applications. This ensures seamless integration with JavaScript codebases and maximizes performance within the browser environment. ","version":"Next","tagName":"h3"},{"title":"Optimized observed queries with the EventReduce Algorithm","type":1,"pageTitle":"RxDB: The benefits of Browser Databases","url":"/articles/browser-database.html#optimized-observed-queries-with-the-eventreduce-algorithm","content":" RxDB employs the EventReduce Algorithm to optimize observed queries. This algorithm intelligently reduces unnecessary data transmissions, resulting in efficient query execution and improved performance. ","version":"Next","tagName":"h3"},{"title":"Built-in multi-tab support","type":1,"pageTitle":"RxDB: The benefits of Browser Databases","url":"/articles/browser-database.html#built-in-multi-tab-support","content":" RxDB natively supports multi-tab applications, allowing data synchronization and replication across different tabs or instances of the same application. This feature ensures consistent data across the application and enhances collaboration and real-time experiences. ","version":"Next","tagName":"h3"},{"title":"Handling of schema changes","type":1,"pageTitle":"RxDB: The benefits of Browser Databases","url":"/articles/browser-database.html#handling-of-schema-changes","content":" RxDB excels in handling schema changes, even when data is stored on multiple client devices. It provides mechanisms to handle schema migrations seamlessly, ensuring data integrity and compatibility as the application evolves. ","version":"Next","tagName":"h3"},{"title":"Storing documents compressed","type":1,"pageTitle":"RxDB: The benefits of Browser Databases","url":"/articles/browser-database.html#storing-documents-compressed","content":" To optimize storage space, RxDB allows the compression of documents. Storing compressed documents reduces storage requirements and improves overall performance, especially in scenarios with large data volumes. ","version":"Next","tagName":"h3"},{"title":"Flexible storage layer for various platforms","type":1,"pageTitle":"RxDB: The benefits of Browser Databases","url":"/articles/browser-database.html#flexible-storage-layer-for-various-platforms","content":" RxDB offers a flexible storage layer, enabling code reuse across different platforms, including Electron.js, React Native, hybrid apps (e.g., Capacitor.js), and web browsers. This flexibility streamlines development efforts and ensures consistent data management across multiple platforms. ","version":"Next","tagName":"h3"},{"title":"Replication Algorithm for compatibility with any backend","type":1,"pageTitle":"RxDB: The benefits of Browser Databases","url":"/articles/browser-database.html#replication-algorithm-for-compatibility-with-any-backend","content":" RxDB incorporates a Replication Algorithm that is open-source and can be made compatible with various backend systems. This compatibility allows seamless data synchronization with different backend architectures, such as own servers, Firebase, CouchDB, NATS or WebSocket. ","version":"Next","tagName":"h3"},{"title":"Follow Up","type":1,"pageTitle":"RxDB: The benefits of Browser Databases","url":"/articles/browser-database.html#follow-up","content":" To explore more about RxDB and leverage its capabilities for browser database development, check out the following resources: RxDB GitHub Repository: Visit the official GitHub repository of RxDB to access the source code, documentation, and community support.RxDB Quickstart: Get started quickly with RxDB by following the provided quickstart guide, which provides step-by-step instructions for setting up and using RxDB in your projects. RxDB empowers developers to unlock the power of browser databases, enabling efficient data management, real-time applications, and enhanced user experiences. By leveraging RxDB's features and benefits, you can take your browser-based applications to the next level of performance, scalability, and responsiveness. ","version":"Next","tagName":"h2"},{"title":"RxDB as a Database in an Angular Application","type":0,"sectionRef":"#","url":"/articles/angular-database.html","content":"","keywords":"","version":"Next"},{"title":"Angular Web Applications","type":1,"pageTitle":"RxDB as a Database in an Angular Application","url":"/articles/angular-database.html#angular-web-applications","content":" Angular is a powerful JavaScript framework developed and maintained by Google. It enables developers to build single-page applications (SPAs) with a modular and component-based approach. Angular provides a comprehensive set of tools and features for creating dynamic and responsive web applications. ","version":"Next","tagName":"h2"},{"title":"Importance of Databases in Angular Applications","type":1,"pageTitle":"RxDB as a Database in an Angular Application","url":"/articles/angular-database.html#importance-of-databases-in-angular-applications","content":" Databases play a vital role in Angular applications by providing a structured and efficient way to store, retrieve, and manage data. Whether it's handling user authentication, caching data, or persisting application state, a robust database solution is essential for ensuring optimal performance and user experience. ","version":"Next","tagName":"h2"},{"title":"Introducing RxDB as a Database Solution","type":1,"pageTitle":"RxDB as a Database in an Angular Application","url":"/articles/angular-database.html#introducing-rxdb-as-a-database-solution","content":" RxDB stands for Reactive Database and is built on the principles of reactive programming. It combines the best features of NoSQL databases with the power of reactive programming to provide a scalable and efficient database solution. RxDB offers seamless integration with Angular applications and brings several unique features that make it an attractive choice for developers. 3:45 This solved a problem I've had in Angular for years ","version":"Next","tagName":"h2"},{"title":"Getting Started with RxDB","type":1,"pageTitle":"RxDB as a Database in an Angular Application","url":"/articles/angular-database.html#getting-started-with-rxdb","content":" To begin our journey with RxDB, let's understand its key concepts and features. ","version":"Next","tagName":"h2"},{"title":"What is RxDB?","type":1,"pageTitle":"RxDB as a Database in an Angular Application","url":"/articles/angular-database.html#what-is-rxdb","content":" RxDB is a client-side database that follows the principles of reactive programming. It is built on top of IndexedDB, the native browser database, and leverages the RxJS library for reactive data handling. RxDB provides a simple and intuitive API for managing data and offers features like data replication, multi-tab support, and efficient query handling. ","version":"Next","tagName":"h3"},{"title":"Reactive Data Handling","type":1,"pageTitle":"RxDB as a Database in an Angular Application","url":"/articles/angular-database.html#reactive-data-handling","content":" At the core of RxDB is the concept of reactive data handling. RxDB leverages observables and reactive streams to enable real-time updates and data synchronization. With RxDB, you can easily subscribe to data changes and react to them in a reactive and efficient manner. ","version":"Next","tagName":"h3"},{"title":"Offline-First Approach","type":1,"pageTitle":"RxDB as a Database in an Angular Application","url":"/articles/angular-database.html#offline-first-approach","content":" One of the standout features of RxDB is its offline-first approach. It allows you to build applications that can work seamlessly in offline scenarios. RxDB stores data locally and automatically synchronizes changes with the server when the network becomes available. This capability is particularly useful for applications that need to function in low-connectivity or unreliable network environments. ","version":"Next","tagName":"h3"},{"title":"Data Replication","type":1,"pageTitle":"RxDB as a Database in an Angular Application","url":"/articles/angular-database.html#data-replication","content":" RxDB provides built-in support for data replication between clients and servers. This means you can synchronize data across multiple devices or instances of your application effortlessly. RxDB handles conflict resolution and ensures that data remains consistent across all connected clients. ","version":"Next","tagName":"h3"},{"title":"Observable Queries","type":1,"pageTitle":"RxDB as a Database in an Angular Application","url":"/articles/angular-database.html#observable-queries","content":" RxDB offers a powerful querying mechanism with support for observable queries. This allows you to create dynamic queries that automatically update when the underlying data changes. By leveraging RxDB's observable queries, you can build reactive UI components that respond to data changes in real-time. ","version":"Next","tagName":"h3"},{"title":"Multi-Tab Support","type":1,"pageTitle":"RxDB as a Database in an Angular Application","url":"/articles/angular-database.html#multi-tab-support","content":" RxDB provides out-of-the-box support for multi-tab scenarios. This means that if your Angular application is running in multiple browser tabs, RxDB automatically keeps the data in sync across all tabs. It ensures that changes made in one tab are immediately reflected in others, providing a seamless user experience. ","version":"Next","tagName":"h3"},{"title":"RxDB vs. Other Angular Database Options","type":1,"pageTitle":"RxDB as a Database in an Angular Application","url":"/articles/angular-database.html#rxdb-vs-other-angular-database-options","content":" While there are other database options available for Angular applications, RxDB stands out with its reactive programming model, offline-first approach, and built-in synchronization capabilities. Unlike traditional SQL databases, RxDB's NoSQL-like structure and observables-based API make it well-suited for real-time applications and complex data scenarios. ","version":"Next","tagName":"h3"},{"title":"Using RxDB in an Angular Application","type":1,"pageTitle":"RxDB as a Database in an Angular Application","url":"/articles/angular-database.html#using-rxdb-in-an-angular-application","content":" Now that we have a good understanding of RxDB and its features, let's explore how to integrate it into an Angular application. ","version":"Next","tagName":"h2"},{"title":"Installing RxDB in an Angular App","type":1,"pageTitle":"RxDB as a Database in an Angular Application","url":"/articles/angular-database.html#installing-rxdb-in-an-angular-app","content":" To use RxDB in an Angular application, we first need to install the necessary dependencies. You can install RxDB using npm or yarn by running the following command: npm install rxdb --save Once installed, you can import RxDB into your Angular application and start using its API to create and manage databases. ","version":"Next","tagName":"h3"},{"title":"Patch Change Detection with zone.js","type":1,"pageTitle":"RxDB as a Database in an Angular Application","url":"/articles/angular-database.html#patch-change-detection-with-zonejs","content":" Angular uses change detection to detect and update UI elements when data changes. However, RxDB's data handling is based on observables, which can sometimes bypass Angular's change detection mechanism. To ensure that changes made in RxDB are detected by Angular, we need to patch the change detection mechanism using zone.js. Zone.js is a library that intercepts and tracks asynchronous operations, including observables. By patching zone.js, we can make sure that Angular is aware of changes happening in RxDB. warning RxDB creates rxjs observables outside of angulars zone So you have to import the rxjs patch to ensure the angular change detection works correctly.link //> app.component.ts import 'zone.js/plugins/zone-patch-rxjs'; ","version":"Next","tagName":"h3"},{"title":"Use the Angular async pipe to observe an RxDB Query","type":1,"pageTitle":"RxDB as a Database in an Angular Application","url":"/articles/angular-database.html#use-the-angular-async-pipe-to-observe-an-rxdb-query","content":" Angular provides the async pipe, which is a convenient way to subscribe to observables and handle the subscription lifecycle automatically. When working with RxDB, you can use the async pipe to observe an RxDB query and bind the results directly to your Angular template. This ensures that the UI stays in sync with the data changes emitted by the RxDB query. constructor( private dbService: DatabaseService, private dialog: MatDialog ) { this.heroes$ = this.dbService .db.hero // collection .find({ // query selector: {}, sort: [{ name: 'asc' }] }) .$; } <ul *ngFor="let hero of heroes$ | async as heroes;"> <li>{{hero.name}}</li> </ul> ","version":"Next","tagName":"h3"},{"title":"Different RxStorage layers for RxDB","type":1,"pageTitle":"RxDB as a Database in an Angular Application","url":"/articles/angular-database.html#different-rxstorage-layers-for-rxdb","content":" RxDB supports multiple storage layers for persisting data. Some of the available storage options include: LocalStorage RxStorage: Uses the LocalStorage API without any third party plugins.IndexedDB RxStorage: RxDB directly supports IndexedDB as a storage layer. IndexedDB is a low-level browser database that offers good performance and reliability.OPFS RxStorage: The OPFS RxStorage for RxDB is built on top of the File System Access API which is available in all modern browsers. It provides an API to access a sandboxed private file system to persistently store and retrieve data. Compared to other persistent storage options in the browser (like IndexedDB), the OPFS API has a way better performance.Memory RxStorage: In addition to persistent storage options, RxDB also provides a memory-based storage layer. This is useful for testing or scenarios where you don't need long-term data persistence. You can choose the storage layer that best suits your application's requirements and configure RxDB accordingly. ","version":"Next","tagName":"h3"},{"title":"Synchronizing Data with RxDB between Clients and Servers","type":1,"pageTitle":"RxDB as a Database in an Angular Application","url":"/articles/angular-database.html#synchronizing-data-with-rxdb-between-clients-and-servers","content":" Data replication between an Angular application and a server is a common requirement. RxDB simplifies this process and provides built-in support for data synchronization. Let's explore how to replicate data between an Angular application and a server using RxDB. ","version":"Next","tagName":"h2"},{"title":"Offline-First Approach","type":1,"pageTitle":"RxDB as a Database in an Angular Application","url":"/articles/angular-database.html#offline-first-approach-1","content":" One of the key strengths of RxDB is its offline-first approach. It allows Angular applications to function seamlessly even in offline scenarios. RxDB stores data locally and automatically synchronizes changes with the server when the network becomes available. This capability is particularly useful for applications that need to operate in low-connectivity or unreliable network environments. ","version":"Next","tagName":"h3"},{"title":"Conflict Resolution","type":1,"pageTitle":"RxDB as a Database in an Angular Application","url":"/articles/angular-database.html#conflict-resolution","content":" In a distributed system, conflicts can arise when multiple clients modify the same data simultaneously. RxDB offers conflict resolution mechanisms to handle such scenarios. You can define conflict resolution strategies based on your application's requirements. RxDB provides hooks and events to detect conflicts and resolve them in a consistent manner. ","version":"Next","tagName":"h3"},{"title":"Bidirectional Synchronization","type":1,"pageTitle":"RxDB as a Database in an Angular Application","url":"/articles/angular-database.html#bidirectional-synchronization","content":" RxDB supports bidirectional data synchronization, allowing updates from both the client and server to be replicated seamlessly. This ensures that data remains consistent across all connected clients and the server. RxDB handles conflicts and resolves them based on the defined conflict resolution strategies. ","version":"Next","tagName":"h3"},{"title":"Real-Time Updates","type":1,"pageTitle":"RxDB as a Database in an Angular Application","url":"/articles/angular-database.html#real-time-updates","content":" RxDB provides real-time updates by leveraging reactive programming principles. Changes made to the data are automatically propagated to all connected clients in real-time. Angular applications can subscribe to these updates and update the user interface accordingly. This real-time capability enables collaborative features and enhances the overall user experience. ","version":"Next","tagName":"h3"},{"title":"Advanced RxDB Features and Techniques","type":1,"pageTitle":"RxDB as a Database in an Angular Application","url":"/articles/angular-database.html#advanced-rxdb-features-and-techniques","content":" RxDB offers several advanced features and techniques that can further enhance your Angular application. ","version":"Next","tagName":"h2"},{"title":"Indexing and Performance Optimization","type":1,"pageTitle":"RxDB as a Database in an Angular Application","url":"/articles/angular-database.html#indexing-and-performance-optimization","content":" To improve query performance, RxDB allows you to define indexes on specific fields of your documents. Indexing enables faster data retrieval and query execution, especially when working with large datasets. By strategically creating indexes, you can optimize the performance of your Angular application. ","version":"Next","tagName":"h3"},{"title":"Encryption of Local Data","type":1,"pageTitle":"RxDB as a Database in an Angular Application","url":"/articles/angular-database.html#encryption-of-local-data","content":" RxDB provides built-in support for encrypting local data using the Web Crypto API. With encryption, you can protect sensitive data stored in the client-side database. RxDB transparently encrypts the data, ensuring that it remains secure even if the underlying storage is compromised. ","version":"Next","tagName":"h3"},{"title":"Change Streams and Event Handling","type":1,"pageTitle":"RxDB as a Database in an Angular Application","url":"/articles/angular-database.html#change-streams-and-event-handling","content":" RxDB exposes change streams, which allow you to listen for data changes at a database or collection level. By subscribing to change streams, you can react to data modifications and perform specific actions, such as updating the UI or triggering notifications. Change streams enable real-time event handling in your Angular application. ","version":"Next","tagName":"h3"},{"title":"JSON Key Compression","type":1,"pageTitle":"RxDB as a Database in an Angular Application","url":"/articles/angular-database.html#json-key-compression","content":" To reduce the storage footprint and improve performance, RxDB supports JSON key compression. With key compression, RxDB replaces long keys with shorter aliases, reducing the overall storage size. This optimization is particularly useful when working with large datasets or frequently updating data. ","version":"Next","tagName":"h3"},{"title":"Best Practices for Using RxDB in Angular Applications","type":1,"pageTitle":"RxDB as a Database in an Angular Application","url":"/articles/angular-database.html#best-practices-for-using-rxdb-in-angular-applications","content":" To make the most of RxDB in your Angular application, consider the following best practices: ","version":"Next","tagName":"h2"},{"title":"Use Async Pipe for Subscriptions so you do not have to unsubscribe","type":1,"pageTitle":"RxDB as a Database in an Angular Application","url":"/articles/angular-database.html#use-async-pipe-for-subscriptions-so-you-do-not-have-to-unsubscribe","content":" Angular's async pipe is a powerful tool for handling observables in templates. By using the async pipe, you can avoid the need to manually subscribe and unsubscribe from RxDB observables. Angular takes care of the subscription lifecycle, ensuring that resources are released when they are no longer needed. Instead of manually subscribing to Observables, you should always prefer the async pipe. // WRONG: let amount; this.dbService .db.hero .find({ selector: {}, sort: [{ name: 'asc' }] }) .$.subscribe(docs => { amount = 0; docs.forEach(d => amount = d.points); }); // RIGHT: this.amount$ = this.dbService .db.hero .find({ selector: {}, sort: [{ name: 'asc' }] }) .$.pipe( map(docs => { let amount = 0; docs.forEach(d => amount = d.points); return amount; }) ); ","version":"Next","tagName":"h3"},{"title":"Use custom reactivity to have signals instead of rxjs observables","type":1,"pageTitle":"RxDB as a Database in an Angular Application","url":"/articles/angular-database.html#use-custom-reactivity-to-have-signals-instead-of-rxjs-observables","content":" RxDB supports adding custom reactivity factories that allow you to get angular signals out of the database instead of rxjs observables. read more. ","version":"Next","tagName":"h3"},{"title":"Use Angular Services for Database creation","type":1,"pageTitle":"RxDB as a Database in an Angular Application","url":"/articles/angular-database.html#use-angular-services-for-database-creation","content":" To ensure proper separation of concerns and maintain a clean codebase, it is recommended to create an Angular service responsible for managing the RxDB database instance. This service can handle database creation, initialization, and provide methods for interacting with the database throughout your application. ","version":"Next","tagName":"h3"},{"title":"Efficient Data Handling","type":1,"pageTitle":"RxDB as a Database in an Angular Application","url":"/articles/angular-database.html#efficient-data-handling","content":" RxDB provides various mechanisms for efficient data handling, such as batching updates, debouncing, and throttling. Leveraging these techniques can help optimize performance and reduce unnecessary UI updates. Consider the specific data handling requirements of your application and choose the appropriate strategies provided by RxDB. ","version":"Next","tagName":"h3"},{"title":"Data Synchronization Strategies","type":1,"pageTitle":"RxDB as a Database in an Angular Application","url":"/articles/angular-database.html#data-synchronization-strategies","content":" When working with data synchronization between clients and servers, it's important to consider strategies for conflict resolution and handling network failures. RxDB provides plugins and hooks that allow you to customize the replication behavior and implement specific synchronization strategies tailored to your application's needs. ","version":"Next","tagName":"h3"},{"title":"Conclusion","type":1,"pageTitle":"RxDB as a Database in an Angular Application","url":"/articles/angular-database.html#conclusion","content":" RxDB is a powerful database solution for Angular applications, offering reactive data handling, offline-first capabilities, and seamless data synchronization. By integrating RxDB into your Angular application, you can build responsive and scalable web applications that provide a rich user experience. Whether you're building real-time collaborative apps, progressive web applications, or offline-capable applications, RxDB's features and techniques make it a valuable addition to your Angular development toolkit. ","version":"Next","tagName":"h2"},{"title":"Follow Up","type":1,"pageTitle":"RxDB as a Database in an Angular Application","url":"/articles/angular-database.html#follow-up","content":" To explore more about RxDB and leverage its capabilities for browser database development, check out the following resources: RxDB GitHub Repository: Visit the official GitHub repository of RxDB to access the source code, documentation, and community support.RxDB Quickstart: Get started quickly with RxDB by following the provided quickstart guide, which provides step-by-step instructions for setting up and using RxDB in your projects.RxDB Angular Example at GitHub ","version":"Next","tagName":"h2"},{"title":"RxDB as a data base: Empowering Web Applications with Reactive Data Handling","type":0,"sectionRef":"#","url":"/articles/data-base.html","content":"","keywords":"","version":"Next"},{"title":"Overview of Web Applications that can benefit from RxDB","type":1,"pageTitle":"RxDB as a data base: Empowering Web Applications with Reactive Data Handling","url":"/articles/data-base.html#overview-of-web-applications-that-can-benefit-from-rxdb","content":" Before diving into the specifics of RxDB, let's take a moment to understand the scope of web applications that can leverage its capabilities. Any web application that requires real-time data updates, offline functionality, and synchronization between clients and servers can greatly benefit from RxDB. Whether it's a collaborative document editing tool, a task management app, or a chat application, RxDB offers a robust foundation for building these types of applications. ","version":"Next","tagName":"h2"},{"title":"Importance of data bases in Mobile Applications","type":1,"pageTitle":"RxDB as a data base: Empowering Web Applications with Reactive Data Handling","url":"/articles/data-base.html#importance-of-data-bases-in-mobile-applications","content":" Mobile applications have become an integral part of our lives, providing us with instant access to information and services. Behind the scenes, data bases play a pivotal role in storing and managing the data that powers these applications. data bases enable efficient data retrieval, updates, and synchronization, ensuring a smooth user experience even in challenging network conditions. ","version":"Next","tagName":"h2"},{"title":"Introducing RxDB as a data base Solution","type":1,"pageTitle":"RxDB as a data base: Empowering Web Applications with Reactive Data Handling","url":"/articles/data-base.html#introducing-rxdb-as-a-data-base-solution","content":" RxDB, short for Reactive data base, is a client-side data base solution designed specifically for web and mobile applications. Built on the principles of reactive programming, RxDB brings the power of observables and event-driven architecture to data management. With RxDB, developers can create applications that are responsive, offline-ready, and capable of seamless data synchronization between clients and servers. ","version":"Next","tagName":"h2"},{"title":"Getting Started with RxDB","type":1,"pageTitle":"RxDB as a data base: Empowering Web Applications with Reactive Data Handling","url":"/articles/data-base.html#getting-started-with-rxdb","content":" ","version":"Next","tagName":"h2"},{"title":"What is RxDB?","type":1,"pageTitle":"RxDB as a data base: Empowering Web Applications with Reactive Data Handling","url":"/articles/data-base.html#what-is-rxdb","content":" RxDB is an open-source JavaScript data base that leverages reactive programming and provides a seamless API for handling data. It is built on top of existing popular data base technologies, such as IndexedDB, and adds a layer of reactive features to enable real-time data updates and synchronization. ","version":"Next","tagName":"h3"},{"title":"Reactive Data Handling","type":1,"pageTitle":"RxDB as a data base: Empowering Web Applications with Reactive Data Handling","url":"/articles/data-base.html#reactive-data-handling","content":" One of the standout features of RxDB is its reactive data handling. It utilizes observables to provide a stream of data that automatically updates whenever a change occurs. This reactive approach allows developers to build applications that respond instantly to data changes, ensuring a highly interactive and real-time user experience. ","version":"Next","tagName":"h3"},{"title":"Offline-First Approach","type":1,"pageTitle":"RxDB as a data base: Empowering Web Applications with Reactive Data Handling","url":"/articles/data-base.html#offline-first-approach","content":" RxDB embraces an offline-first approach, enabling applications to work seamlessly even when there is no internet connectivity. It achieves this by caching data locally on the client-side and synchronizing it with the server when the connection is available. This ensures that users can continue working with the application and have their data automatically synchronized when they come back online. ","version":"Next","tagName":"h3"},{"title":"Data Replication","type":1,"pageTitle":"RxDB as a data base: Empowering Web Applications with Reactive Data Handling","url":"/articles/data-base.html#data-replication","content":" RxDB simplifies the process of data replication between clients and servers. It provides replication plugins that handle the synchronization of data in real-time. These plugins allow applications to keep data consistent across multiple clients, enabling collaborative features and ensuring that each client has the most up-to-date information. ","version":"Next","tagName":"h3"},{"title":"Observable Queries","type":1,"pageTitle":"RxDB as a data base: Empowering Web Applications with Reactive Data Handling","url":"/articles/data-base.html#observable-queries","content":" RxDB introduces the concept of observable queries, which are powerful tools for efficiently querying data. With observable queries, developers can subscribe to specific data queries and receive automatic updates whenever the underlying data changes. This eliminates the need for manual polling and ensures that applications always have access to the latest data. ","version":"Next","tagName":"h3"},{"title":"Multi-Tab support","type":1,"pageTitle":"RxDB as a data base: Empowering Web Applications with Reactive Data Handling","url":"/articles/data-base.html#multi-tab-support","content":" RxDB offers multi-tab support, allowing applications to function seamlessly across multiple browser tabs. This feature ensures that data changes in one tab are immediately reflected in all other open tabs, enabling a consistent user experience across different browser windows. ","version":"Next","tagName":"h3"},{"title":"RxDB vs. Other data base Options","type":1,"pageTitle":"RxDB as a data base: Empowering Web Applications with Reactive Data Handling","url":"/articles/data-base.html#rxdb-vs-other-data-base-options","content":" When considering data base options for web applications, developers often encounter choices like IndexedDB, OPFS, and Memory-based solutions. RxDB, while built on top of IndexedDB, stands out due to its reactive data handling capabilities and advanced synchronization features. Compared to other options, RxDB offers a more streamlined and powerful approach to managing data in web applications. ","version":"Next","tagName":"h3"},{"title":"Different RxStorage layers for RxDB","type":1,"pageTitle":"RxDB as a data base: Empowering Web Applications with Reactive Data Handling","url":"/articles/data-base.html#different-rxstorage-layers-for-rxdb","content":" RxDB provides various storage layers, known as RxStorage, that serve as interfaces to different underlying storage technologies. These layers include: LocalStorage RxStorage: Built on top of the browsers localStorage API.IndexedDB RxStorage: This layer directly utilizes IndexedDB as its backend, providing a robust and widely supported storage option.OPFS RxStorage: OPFS (Operational Transformation File System) is a file system-like storage layer that allows for efficient conflict resolution and real-time collaboration.Memory RxStorage: Primarily used for testing and development, this storage layer keeps data in memory without persisting it to disk. Each RxStorage layer has its strengths and is suited for different scenarios, enabling developers to choose the most appropriate option for their specific use case. ","version":"Next","tagName":"h3"},{"title":"Synchronizing Data with RxDB between Clients and Servers","type":1,"pageTitle":"RxDB as a data base: Empowering Web Applications with Reactive Data Handling","url":"/articles/data-base.html#synchronizing-data-with-rxdb-between-clients-and-servers","content":" ","version":"Next","tagName":"h2"},{"title":"Offline-First Approach","type":1,"pageTitle":"RxDB as a data base: Empowering Web Applications with Reactive Data Handling","url":"/articles/data-base.html#offline-first-approach-1","content":" As mentioned earlier, RxDB adopts an offline-first approach, allowing applications to function seamlessly in disconnected environments. By caching data locally, applications can continue to operate and make updates even without an internet connection. Once the connection is restored, RxDB's replication plugins take care of synchronizing the data with the server, ensuring consistency across all clients. ","version":"Next","tagName":"h3"},{"title":"RxDB Replication Plugins","type":1,"pageTitle":"RxDB as a data base: Empowering Web Applications with Reactive Data Handling","url":"/articles/data-base.html#rxdb-replication-plugins","content":" RxDB provides a range of replication plugins that simplify the process of synchronizing data between clients and servers. These plugins enable real-time replication using various protocols, such as WebSocket or HTTP, and handle conflict resolution strategies to ensure data integrity. By leveraging these replication plugins, developers can easily implement robust and scalable synchronization capabilities in their applications. ","version":"Next","tagName":"h3"},{"title":"Advanced RxDB Features and Techniques","type":1,"pageTitle":"RxDB as a data base: Empowering Web Applications with Reactive Data Handling","url":"/articles/data-base.html#advanced-rxdb-features-and-techniques","content":" Indexing and Performance Optimization To achieve optimal performance, RxDB offers indexing capabilities. Indexing allows for efficient data retrieval and faster query execution. By strategically defining indexes on frequently accessed fields, developers can significantly enhance the overall performance of their RxDB-powered applications. ","version":"Next","tagName":"h3"},{"title":"Encryption of Local Data","type":1,"pageTitle":"RxDB as a data base: Empowering Web Applications with Reactive Data Handling","url":"/articles/data-base.html#encryption-of-local-data","content":" In scenarios where data security is paramount, RxDB provides options for encrypting local data. By encrypting the data base contents, developers can ensure that sensitive information remains secure even if the underlying storage is compromised. RxDB integrates seamlessly with encryption libraries, making it easy to implement end-to-end encryption in applications. ","version":"Next","tagName":"h3"},{"title":"Change Streams and Event Handling","type":1,"pageTitle":"RxDB as a data base: Empowering Web Applications with Reactive Data Handling","url":"/articles/data-base.html#change-streams-and-event-handling","content":" RxDB offers change streams and event handling mechanisms, enabling developers to react to data changes in real-time. With change streams, applications can listen to specific collections or documents and trigger custom logic whenever a change occurs. This capability opens up possibilities for building real-time collaboration features, notifications, or other reactive behaviors. ","version":"Next","tagName":"h3"},{"title":"JSON Key Compression","type":1,"pageTitle":"RxDB as a data base: Empowering Web Applications with Reactive Data Handling","url":"/articles/data-base.html#json-key-compression","content":" In scenarios where storage size is a concern, RxDB provides JSON key compression. By applying compression techniques to JSON keys, developers can significantly reduce the storage footprint of their data bases. This feature is particularly beneficial for applications dealing with large datasets or limited storage capacities. ","version":"Next","tagName":"h3"},{"title":"Conclusion","type":1,"pageTitle":"RxDB as a data base: Empowering Web Applications with Reactive Data Handling","url":"/articles/data-base.html#conclusion","content":" RxDB provides an exceptional data base solution for web and mobile applications, empowering developers to create reactive, offline-ready, and synchronized applications. With its reactive data handling, offline-first approach, and replication plugins, RxDB simplifies the challenges of building real-time applications with data synchronization requirements. By embracing advanced features like indexing, encryption, change streams, and JSON key compression, developers can optimize performance, enhance security, and reduce storage requirements. As web and mobile applications continue to evolve, RxDB proves to be a reliable and powerful ","version":"Next","tagName":"h2"},{"title":"Using RxDB as an Embedded Database","type":0,"sectionRef":"#","url":"/articles/embedded-database.html","content":"","keywords":"","version":"Next"},{"title":"What is an Embedded Database?","type":1,"pageTitle":"Using RxDB as an Embedded Database","url":"/articles/embedded-database.html#what-is-an-embedded-database","content":" An embedded database refers to a client-side database system that is integrated directly within an application. It is designed to operate within the client environment, such as a web browser or a mobile app. This approach eliminates the need for a separate database server and allows the database to run locally on the client device. ","version":"Next","tagName":"h2"},{"title":"Embedded Database in UI Applications","type":1,"pageTitle":"Using RxDB as an Embedded Database","url":"/articles/embedded-database.html#embedded-database-in-ui-applications","content":" In the context of UI applications, an embedded database serves as a local data storage solution. It enables applications to efficiently manage data, facilitate real-time updates, and enhance performance. Let's explore some of the benefits of using an embedded database compared to a traditional server database: Replicating database state becomes easier: Implementing real-time data synchronization and replication is simpler with an embedded database compared to complex REST routes. The embedded nature allows for efficient replication of the database state across multiple instances of the application.Use the database for caching: An embedded database can be utilized for caching frequently accessed data. This caching mechanism enhances performance and reduces the need for repeated network requests, resulting in faster data retrieval.Building real-time applications is easier with local data: By leveraging local data storage, real-time applications can easily update the user interface in response to data changes. This approach simplifies the development of real-time features and enhances the responsiveness of the application.Store local data with encryption: Embedded databases, like RxDB, offer the ability to store local data with encryption. This ensures that sensitive information remains protected even when stored locally on the client device.Data is offline accessible: With an embedded database, data remains accessible even when the application is offline. Users can continue to interact with the application and access their data seamlessly, irrespective of their internet connectivity.Faster initial application start time: Since the data is already stored locally, there is no need for initial data fetching from a remote server. This significantly reduces the application's startup time and allows users to engage with the application more quickly.Improved scalability with local queries: Embedded databases, such as RxDB, perform queries locally on the client device instead of relying on server round-trips. This reduces latency and enhances scalability, particularly when dealing with large datasets or high query volumes.Seamless integration with JavaScript frameworks: Embedded databases, including RxDB, integrate seamlessly with popular JavaScript frameworks like Angular, React.js, Vue.js, and Svelte. This compatibility allows developers to leverage the capabilities of these frameworks while benefiting from embedded database functionality.Running queries locally has low latency: With an embedded database, queries are executed locally on the client device, resulting in minimal latency. This improves the overall performance and responsiveness of the application.Data is portable and always accessible by the user: Embedded databases enable data portability, allowing users to seamlessly transition between devices while maintaining their data and application state. This ensures that data is always accessible and available to the user.Using a local database for state management: Instead of relying on additional state management libraries like Redux or NgRx, an embedded database can be used for local state management. This simplifies state management and ensures data consistency within the application. ","version":"Next","tagName":"h2"},{"title":"Why RxDB as an Embedded Database for Real-time Applications","type":1,"pageTitle":"Using RxDB as an Embedded Database","url":"/articles/embedded-database.html#why-rxdb-as-an-embedded-database-for-real-time-applications","content":" RxDB is a JavaScript-based embedded database that offers numerous advantages for building real-time applications. Let's explore why RxDB is a compelling choice: Observable Queries (RxJS): RxDB leverages the power of Observables through RxJS, enabling developers to create queries that automatically update the user interface on data changes. This reactive approach simplifies UI updates and ensures real-time synchronization of data.NoSQL JSON Documents for UIs: RxDB utilizes NoSQL (JSON) documents as its data model, aligning seamlessly with the requirements of modern UI development. JavaScript's native support for JSON objects makes NoSQL documents a natural fit for UI-driven applications.Better TypeScript Support Compared to SQL: RxDB's NoSQL approach provides excellent TypeScript support. The flexibility of working with JSON objects enables robust typing and enhanced development experiences, ensuring type safety and reducing runtime errors.Observable Document Fields: RxDB allows developers to observe individual fields within documents. This granularity enables efficient tracking of specific data changes and facilitates targeted UI updates, enhancing performance and responsiveness.Made in JavaScript, Optimized for JavaScript Applications: Being built entirely in JavaScript, RxDB is optimized for JavaScript applications. It leverages JavaScript's capabilities and integrates seamlessly with JavaScript frameworks and libraries, making it a natural choice for JavaScript developers.Optimized Observed Queries with the EventReduce Algorithm: RxDB incorporates the EventReduce algorithm to optimize observed queries. This algorithm reduces the number of emitted events during query execution, resulting in enhanced query performance and reduced overhead.Built-in Multi-tab Support: RxDB provides built-in multi-tab support, allowing multiple instances of an application to share and synchronize data seamlessly. This feature enables collaborative and real-time scenarios across multiple browser tabs or windows.Handling of Schema Changes across Multiple Client Devices: With RxDB, handling schema changes across multiple client devices becomes straightforward. RxDB's schema migration capabilities ensure that applications can seamlessly adapt to evolving data structures, providing a consistent experience across different devices.Storing Documents Compressed: RxDB offers the ability to store documents in a compressed format. This reduces the storage footprint and improves performance, especially when dealing with large datasets.Flexible Storage Layer and Cross-platform Compatibility: RxDB provides a flexible storage layer that can be reused across various platforms, including Electron.js, React Native, hybrid apps (via Capacitor.js), and browsers. This cross-platform compatibility simplifies development and enables code reuse across different environments.Replication Algorithm for Backend Compatibility: RxDB's replication algorithm is open-source and can be made compatible with various backend solutions, such as self-hosted servers, Firebase, CouchDB, NATS, WebSockets, and more. This flexibility allows developers to choose their preferred backend infrastructure while benefiting from RxDB's embedded database capabilities. ","version":"Next","tagName":"h2"},{"title":"Follow Up","type":1,"pageTitle":"Using RxDB as an Embedded Database","url":"/articles/embedded-database.html#follow-up","content":" To further explore RxDB and leverage its capabilities as an embedded database, the following resources can be helpful: RxDB GitHub Repository: Visit the official GitHub repository of RxDB to access the source code, documentation, and community support.RxDB Quickstart: Get started quickly with RxDB by following the provided quickstart guide, which offers step-by-step instructions for setting up and using RxDB in your projects. By utilizing RxDB as an embedded database in UI applications, developers can harness the power of efficient data management, real-time updates, and enhanced user experiences. RxDB's features and benefits make it a compelling choice for building modern, responsive, and scalable applications. ","version":"Next","tagName":"h2"},{"title":"RxDB as a Database in a Flutter Application","type":0,"sectionRef":"#","url":"/articles/flutter-database.html","content":"","keywords":"","version":"Next"},{"title":"Overview of Flutter Mobile Applications","type":1,"pageTitle":"RxDB as a Database in a Flutter Application","url":"/articles/flutter-database.html#overview-of-flutter-mobile-applications","content":" Flutter is an open-source UI software development kit created by Google that allows developers to build high-performance mobile applications for iOS and Android platforms using a single codebase. Flutter's framework provides a wide range of widgets and tools that enable developers to create visually appealing and responsive applications. ","version":"Next","tagName":"h3"},{"title":"Importance of Databases in Flutter Applications","type":1,"pageTitle":"RxDB as a Database in a Flutter Application","url":"/articles/flutter-database.html#importance-of-databases-in-flutter-applications","content":" Databases play a vital role in Flutter applications by providing a persistent and reliable storage solution for storing and retrieving data. Whether it's user profiles, app settings, or complex data structures, a database helps in efficiently managing and organizing the application's data. Choosing the right database for a Flutter application can significantly impact the performance, scalability, and user experience of the app. ","version":"Next","tagName":"h3"},{"title":"Introducing RxDB as a Database Solution","type":1,"pageTitle":"RxDB as a Database in a Flutter Application","url":"/articles/flutter-database.html#introducing-rxdb-as-a-database-solution","content":" RxDB is a powerful NoSQL database solution that is designed to work seamlessly with JavaScript-based frameworks, such as Flutter. It stands for Reactive Database and offers a variety of features that make it an excellent choice for building Flutter applications. RxDB combines the simplicity of JavaScript's document-based database model with the reactive programming paradigm, enabling developers to build real-time and offline-first applications with ease. ","version":"Next","tagName":"h3"},{"title":"Getting Started with RxDB","type":1,"pageTitle":"RxDB as a Database in a Flutter Application","url":"/articles/flutter-database.html#getting-started-with-rxdb","content":" To understand how RxDB can be utilized in a Flutter application, let's explore its core features and advantages. ","version":"Next","tagName":"h2"},{"title":"What is RxDB?","type":1,"pageTitle":"RxDB as a Database in a Flutter Application","url":"/articles/flutter-database.html#what-is-rxdb","content":" RxDB is a client-side database built on top of IndexedDB, which is a low-level browser-based database API. It provides a simple and intuitive API for performing CRUD operations (Create, Read, Update, Delete) on documents. RxDB's underlying architecture allows for efficient handling of data synchronization between multiple clients and servers. ","version":"Next","tagName":"h3"},{"title":"Reactive Data Handling","type":1,"pageTitle":"RxDB as a Database in a Flutter Application","url":"/articles/flutter-database.html#reactive-data-handling","content":" One of the key strengths of RxDB is its reactive data handling. It leverages the power of Observables, a concept from reactive programming, to automatically update the UI in response to data changes. With RxDB, developers can define queries and subscribe to their results, ensuring that the UI is always in sync with the database. ","version":"Next","tagName":"h3"},{"title":"Offline-First Approach","type":1,"pageTitle":"RxDB as a Database in a Flutter Application","url":"/articles/flutter-database.html#offline-first-approach","content":" RxDB follows an offline-first approach, making it ideal for building Flutter applications that need to function even without an internet connection. It allows data to be stored locally and seamlessly synchronizes it with the server when a connection is available. This ensures that users can access and interact with their data regardless of network availability. ","version":"Next","tagName":"h3"},{"title":"Data Replication","type":1,"pageTitle":"RxDB as a Database in a Flutter Application","url":"/articles/flutter-database.html#data-replication","content":" Data replication is a critical aspect of building distributed applications. RxDB provides robust replication capabilities that enable synchronization of data between different clients and servers. With its replication plugins, RxDB simplifies the process of setting up real-time data synchronization, ensuring consistency across all connected devices. ","version":"Next","tagName":"h3"},{"title":"Observable Queries","type":1,"pageTitle":"RxDB as a Database in a Flutter Application","url":"/articles/flutter-database.html#observable-queries","content":" RxDB introduces the concept of observable queries, which are queries that automatically update when the underlying data changes. This feature is particularly useful for keeping the UI up to date with the latest data. By subscribing to an observable query, developers can receive real-time updates and reflect them in the user interface without manual intervention. ","version":"Next","tagName":"h3"},{"title":"RxDB vs. Other Flutter Database Options","type":1,"pageTitle":"RxDB as a Database in a Flutter Application","url":"/articles/flutter-database.html#rxdb-vs-other-flutter-database-options","content":" When considering database options for Flutter applications, developers often come across alternatives such as SQLite or LokiJS. While these databases have their merits, RxDB offers several advantages over them. RxDB's seamless integration with Flutter, its offline-first approach, reactive data handling, and built-in data replication make it a compelling choice for building feature-rich and scalable Flutter applications. ","version":"Next","tagName":"h3"},{"title":"Using RxDB in a Flutter Application","type":1,"pageTitle":"RxDB as a Database in a Flutter Application","url":"/articles/flutter-database.html#using-rxdb-in-a-flutter-application","content":" Now that we understand the core features of RxDB, let's explore how to integrate it into a Flutter application. ","version":"Next","tagName":"h2"},{"title":"How RxDB can run in Flutter","type":1,"pageTitle":"RxDB as a Database in a Flutter Application","url":"/articles/flutter-database.html#how-rxdb-can-run-in-flutter","content":" RxDB is written in TypeScript and compiled to JavaScript. To run it in a Flutter application, the flutter_qjs library is used to spawn a QuickJS JavaScript runtime. RxDB itself runs in that runtime and communicates with the flutter dart runtime. To store data persistent, the LokiJS RxStorage is used together with a custom storage adapter that persists the database inside of the shared_preferences data. To use RxDB, you have to create a compatible JavaScript file that creates your RxDatabase and starts some connectors which are used by Flutter to communicate with the JavaScript RxDB database via setFlutterRxDatabaseConnector(). import { createRxDatabase } from 'rxdb'; import { getRxStorageLoki } from 'rxdb/plugins/storage-lokijs'; import { setFlutterRxDatabaseConnector, getLokijsAdapterFlutter } from 'rxdb/plugins/flutter'; // do all database creation stuff in this method. async function createDB(databaseName) { // create the RxDatabase const db = await createRxDatabase({ // the database.name is variable so we can change it on the flutter side name: databaseName, storage: getRxStorageLoki({ adapter: getLokijsAdapterFlutter() }), multiInstance: false }); await db.addCollections({ heroes: { schema: { version: 0, primaryKey: 'id', type: 'object', properties: { id: { type: 'string', maxLength: 100 }, name: { type: 'string', maxLength: 100 }, color: { type: 'string', maxLength: 30 } }, indexes: ['name'], required: ['id', 'name', 'color'] } } }); return db; } // start the connector so that flutter can communicate with the JavaScript process setFlutterRxDatabaseConnector( createDB ); Before you can use the JavaScript code, you have to bundle it into a single .js file. In this example we do that with webpack in a npm script here which bundles everything into the javascript/dist/index.js file. To allow Flutter to access that file during runtime, add it to the assets inside of your pubspec.yaml: flutter: assets: - javascript/dist/index.js Also you need to install RxDB in your flutter part of the application. First you have to use the rxdb dart package as a flutter dependency. Currently the package is not published at the dart pub.dev. Instead you have to install it from the local filesystem inside of your RxDB npm installation. # inside of pubspec.yaml dependencies: rxdb: path: path/to/your/node_modules/rxdb/src/plugins/flutter/dart Afterwards you can import the rxdb library in your dart code and connect to the JavaScript process from there. For reference, check out the lib/main.dart file. import 'package:rxdb/rxdb.dart'; // start the javascript process and connect to the database RxDatabase database = await getRxDatabase("javascript/dist/index.js", databaseName); // get a collection RxCollection collection = database.getCollection('heroes'); // insert a document RxDocument document = await collection.insert({ "id": "zflutter-${DateTime.now()}", "name": nameController.text, "color": colorController.text }); // create a query RxQuery<RxHeroDocType> query = RxDatabaseState.collection.find(); // create list to store query results List<RxDocument<RxHeroDocType>> documents = []; // subscribe to a query query.$().listen((results) { setState(() { documents = results; }); }); ","version":"Next","tagName":"h2"},{"title":"Different RxStorage layers for RxDB","type":1,"pageTitle":"RxDB as a Database in a Flutter Application","url":"/articles/flutter-database.html#different-rxstorage-layers-for-rxdb","content":" RxDB offers multiple storage options, known as RxStorage layers, to store data locally. These options include: LokiJS RxStorage: LokiJS is an in-memory database that can be used as a storage layer for RxDB. It provides fast and efficient in-memory data management capabilities.SQLite RxStorage: SQLite is a popular and widely used embedded database that offers robust storage capabilities. RxDB utilizes SQLite as a storage layer to persist data on the device.Memory RxStorage: As the name suggests, Memory RxStorage stores data in memory. While this option does not provide persistence, it can be useful for temporary or cache-based data storage. By choosing the appropriate RxStorage layer based on the specific requirements of the application, developers can optimize performance and storage efficiency. ","version":"Next","tagName":"h3"},{"title":"Synchronizing Data with RxDB between Clients and Servers","type":1,"pageTitle":"RxDB as a Database in a Flutter Application","url":"/articles/flutter-database.html#synchronizing-data-with-rxdb-between-clients-and-servers","content":" One of the key strengths of RxDB is its ability to synchronize data between multiple clients and servers seamlessly. Let's explore how this synchronization can be achieved. ","version":"Next","tagName":"h2"},{"title":"Offline-First Approach","type":1,"pageTitle":"RxDB as a Database in a Flutter Application","url":"/articles/flutter-database.html#offline-first-approach-1","content":" RxDB's offline-first approach ensures that data can be accessed and modified even when there is no internet connection. Changes made offline are automatically synchronized with the server once a connection is reestablished. This ensures data consistency across all devices, providing a seamless user experience. ","version":"Next","tagName":"h3"},{"title":"RxDB Replication Plugins","type":1,"pageTitle":"RxDB as a Database in a Flutter Application","url":"/articles/flutter-database.html#rxdb-replication-plugins","content":" RxDB provides replication plugins that simplify the process of setting up data synchronization between clients and servers. These plugins offer various synchronization strategies, such as one-way replication, two-way replication, and conflict resolution mechanisms. By configuring the appropriate replication plugin, developers can easily establish real-time data synchronization in their Flutter applications. ","version":"Next","tagName":"h3"},{"title":"Advanced RxDB Features and Techniques","type":1,"pageTitle":"RxDB as a Database in a Flutter Application","url":"/articles/flutter-database.html#advanced-rxdb-features-and-techniques","content":" RxDB offers a range of advanced features and techniques that enhance its functionality and performance. Let's explore a few of these features: ","version":"Next","tagName":"h2"},{"title":"Indexing and Performance Optimization","type":1,"pageTitle":"RxDB as a Database in a Flutter Application","url":"/articles/flutter-database.html#indexing-and-performance-optimization","content":" Indexing is a technique used to optimize query performance by creating indexes on specific fields. RxDB allows developers to define indexes on document fields, improving the efficiency of queries and data retrieval. ","version":"Next","tagName":"h3"},{"title":"Encryption of Local Data","type":1,"pageTitle":"RxDB as a Database in a Flutter Application","url":"/articles/flutter-database.html#encryption-of-local-data","content":" To ensure data privacy and security, RxDB supports encryption of local data. By encrypting the data stored on the device, developers can protect sensitive information and prevent unauthorized access. ","version":"Next","tagName":"h3"},{"title":"Change Streams and Event Handling","type":1,"pageTitle":"RxDB as a Database in a Flutter Application","url":"/articles/flutter-database.html#change-streams-and-event-handling","content":" RxDB provides change streams, which emit events whenever data changes occur. By leveraging change streams, developers can implement custom event handling logic, such as updating the UI or triggering background processes, in response to specific data changes. ","version":"Next","tagName":"h3"},{"title":"JSON Key Compression","type":1,"pageTitle":"RxDB as a Database in a Flutter Application","url":"/articles/flutter-database.html#json-key-compression","content":" To minimize storage requirements and optimize performance, RxDB offers JSON key compression. This feature reduces the size of keys used in the database, resulting in more efficient storage and improved query performance. ","version":"Next","tagName":"h3"},{"title":"Conclusion","type":1,"pageTitle":"RxDB as a Database in a Flutter Application","url":"/articles/flutter-database.html#conclusion","content":" RxDB offers a powerful and flexible database solution for Flutter applications. With its offline-first approach, real-time data synchronization, and reactive data handling capabilities, RxDB simplifies the development of feature-rich and scalable Flutter applications. By integrating RxDB into your Flutter projects, you can leverage its advanced features and techniques to build responsive and data-driven applications that provide an exceptional user experience. note You can find the source code for an example RxDB Flutter Application at the github repo ","version":"Next","tagName":"h2"},{"title":"RxDB - The Firebase Realtime Database Alternative That Can Sync With Your Own Backend","type":0,"sectionRef":"#","url":"/articles/firebase-realtime-database-alternative.html","content":"","keywords":"","version":"Next"},{"title":"Why RxDB Is an Excellent Firebase Realtime Database Alternative","type":1,"pageTitle":"RxDB - The Firebase Realtime Database Alternative That Can Sync With Your Own Backend","url":"/articles/firebase-realtime-database-alternative.html#why-rxdb-is-an-excellent-firebase-realtime-database-alternative","content":" ","version":"Next","tagName":"h2"},{"title":"1. Complete Offline-First Experience","type":1,"pageTitle":"RxDB - The Firebase Realtime Database Alternative That Can Sync With Your Own Backend","url":"/articles/firebase-realtime-database-alternative.html#1-complete-offline-first-experience","content":" Unlike Firebase Realtime Database, which relies on central infrastructure to process data, RxDB is fully embedded within your client application (including browsers, Node.js, Electron, and React Native). This design means your app stays completely functional offline, since all data reads and writes happen locally. When connectivity is restored, RxDB's syncing framework automatically reconciles local changes with your remote backend. ","version":"Next","tagName":"h3"},{"title":"2. Freedom to Use Any Server or Cloud","type":1,"pageTitle":"RxDB - The Firebase Realtime Database Alternative That Can Sync With Your Own Backend","url":"/articles/firebase-realtime-database-alternative.html#2-freedom-to-use-any-server-or-cloud","content":" While Firebase Realtime Database ties you into Google's ecosystem, RxDB allows you to choose any hosting environment. You can: Host your data on your own servers or private cloud.Integrate with relational databases like PostgreSQL or other NoSQL options such as CouchDB.Build custom endpoints using REST, GraphQL, or any other protocol. This flexibility ensures you're not locked into a single vendor and can adapt your backend strategy as your project evolves. ","version":"Next","tagName":"h3"},{"title":"3. Advanced Conflict Handling","type":1,"pageTitle":"RxDB - The Firebase Realtime Database Alternative That Can Sync With Your Own Backend","url":"/articles/firebase-realtime-database-alternative.html#3-advanced-conflict-handling","content":" Firebase Realtime Database typically updates data with a simple last-in-wins approach. RxDB, on the other hand, lets you implement more sophisticated conflict resolution logic. Using revisions and conflict handlers, RxDB can merge concurrent edits or preserve multiple versions—ensuring your application remains consistent even when multiple clients modify the same data at the same time. ","version":"Next","tagName":"h3"},{"title":"4. Lower Cloud Costs for Read-Heavy Apps","type":1,"pageTitle":"RxDB - The Firebase Realtime Database Alternative That Can Sync With Your Own Backend","url":"/articles/firebase-realtime-database-alternative.html#4-lower-cloud-costs-for-read-heavy-apps","content":" When you rely on Firebase Realtime Database, each query or listener can translate into ongoing reads, potentially running up your monthly bill. With RxDB, all queries are performed locally. Your app only communicates with the backend to sync document changes, significantly reducing bandwidth and hosting expenses for applications that frequently read data. ","version":"Next","tagName":"h3"},{"title":"5. Powerful Local Queries","type":1,"pageTitle":"RxDB - The Firebase Realtime Database Alternative That Can Sync With Your Own Backend","url":"/articles/firebase-realtime-database-alternative.html#5-powerful-local-queries","content":" If you've hit Firebase Realtime Database's querying limits, RxDB offers a far more robust approach to data retrieval. You can: Define custom indexes for faster local lookups.Perform sophisticated filters, joins, or full-text searches right on the client.Subscribe to real-time data updates through RxDB's reactive query engine. Because these operations happen locally, your UI updates instantly, providing a snappy user experience. ","version":"Next","tagName":"h3"},{"title":"6. True Offline Initialization","type":1,"pageTitle":"RxDB - The Firebase Realtime Database Alternative That Can Sync With Your Own Backend","url":"/articles/firebase-realtime-database-alternative.html#6-true-offline-initialization","content":" While Firebase offers some offline caching, it often requires an initial connection for authentication or to seed local data. RxDB, however, is built to handle an offline-start scenario. Users can begin working with the application immediately, regardless of connectivity, and any modifications they make will sync once the network is available again. ","version":"Next","tagName":"h3"},{"title":"7. Works Everywhere JavaScript Runs","type":1,"pageTitle":"RxDB - The Firebase Realtime Database Alternative That Can Sync With Your Own Backend","url":"/articles/firebase-realtime-database-alternative.html#7-works-everywhere-javascript-runs","content":" One of RxDB's core strengths is its ability to run in any JavaScript environment. Whether you're building a web app that uses IndexedDB in the browser, an Electron desktop program, or a React Native mobile application, RxDB's swappable storage adapts to your runtime of choice. This consistency makes code-sharing and cross-platform development far simpler than being tied to a single backend system. ","version":"Next","tagName":"h3"},{"title":"How RxDB's Syncing Mechanism Operates","type":1,"pageTitle":"RxDB - The Firebase Realtime Database Alternative That Can Sync With Your Own Backend","url":"/articles/firebase-realtime-database-alternative.html#how-rxdbs-syncing-mechanism-operates","content":" RxDB employs its own Sync Engine to manage data flow between your client and remote servers. Replication revolves around: Pull: Retrieving updated or newly created documents from the server.Push: Sending local changes to the backend for persistence.Live Updates: Continuously streaming changes to and from the backend for real-time synchronization. ","version":"Next","tagName":"h2"},{"title":"Sample Code: Sync RxDB With a Custom Endpoint","type":1,"pageTitle":"RxDB - The Firebase Realtime Database Alternative That Can Sync With Your Own Backend","url":"/articles/firebase-realtime-database-alternative.html#sample-code-sync-rxdb-with-a-custom-endpoint","content":" import { createRxDatabase } from 'rxdb/plugins/core'; import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage'; import { replicateRxCollection } from 'rxdb/plugins/replication'; async function initDB() { const db = await createRxDatabase({ name: 'localdb', storage: getRxStorageLocalstorage(), multiInstance: true, eventReduce: true }); await db.addCollections({ tasks: { schema: { title: 'task schema', version: 0, type: 'object', primaryKey: 'id', properties: { id: { type: 'string', maxLength: 100 }, title: { type: 'string' }, complete: { type: 'boolean' } } } } }); // Start a custom replication replicateRxCollection({ collection: db.tasks, replicationIdentifier: 'custom-tasks-api', push: { handler: async (docs) => { // post local changes to your server const resp = await fetch('https://yourapi.com/tasks/push', { method: 'POST', body: JSON.stringify({ changes: docs }) }); return await resp.json(); // return conflicting documents if any } }, pull: { handler: async (lastCheckpoint, batchSize) => { // fetch new/updated items from your server const response = await fetch( `https://yourapi.com/tasks/pull?checkpoint=${JSON.stringify( lastCheckpoint )}&limit=${batchSize}` ); return await response.json(); } }, live: true }); return db; } ","version":"Next","tagName":"h2"},{"title":"Setting Up P2P Replication Over WebRTC","type":1,"pageTitle":"RxDB - The Firebase Realtime Database Alternative That Can Sync With Your Own Backend","url":"/articles/firebase-realtime-database-alternative.html#setting-up-p2p-replication-over-webrtc","content":" In addition to using a centralized backend, RxDB supports peer-to-peer synchronization through WebRTC, enabling devices to share data directly. import { replicateWebRTC, getConnectionHandlerSimplePeer } from 'rxdb/plugins/replication-webrtc'; const webrtcPool = await replicateWebRTC({ collection: db.tasks, topic: 'p2p-topic-123', connectionHandlerCreator: getConnectionHandlerSimplePeer({ signalingServerUrl: 'wss://signaling.rxdb.info/', wrtc: require('node-datachannel/polyfill'), webSocketConstructor: require('ws').WebSocket }) }); webrtcPool.error$.subscribe((error) => { console.error('P2P error:', error); }); Here, any client that joins the same topic communicates changes to other peers, all without requiring a traditional client-server model. ","version":"Next","tagName":"h3"},{"title":"Quick Steps to Get Started","type":1,"pageTitle":"RxDB - The Firebase Realtime Database Alternative That Can Sync With Your Own Backend","url":"/articles/firebase-realtime-database-alternative.html#quick-steps-to-get-started","content":" Install RxDB npm install rxdb rxjs Create a Local Database import { createRxDatabase } from 'rxdb/plugins/core'; import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage'; const db = await createRxDatabase({ name: 'myLocalDB', storage: getRxStorageLocalstorage() }); Add a Collection ts Kopieren await db.addCollections({ notes: { schema: { title: 'notes schema', version: 0, primaryKey: 'id', type: 'object', properties: { id: { type: 'string', maxLenght: 100 }, content: { type: 'string' } } } } }); Synchronize Use one of the Replication Plugins to connect with your preferred backend. ","version":"Next","tagName":"h2"},{"title":"Is RxDB the Right Solution for You?","type":1,"pageTitle":"RxDB - The Firebase Realtime Database Alternative That Can Sync With Your Own Backend","url":"/articles/firebase-realtime-database-alternative.html#is-rxdb-the-right-solution-for-you","content":" Long Offline Use: If your users need to work without an internet connection, RxDB's built-in offline-first design stands out compared to Firebase Realtime Database's partial offline approach.Custom or Complex Queries: RxDB lets you perform your queries locally, define indexing, and handle even complex transformations locally - no extra call to an external API.Avoid Vendor Lock-In: If you anticipate needing to move or adapt your backend later, you can do so without rewriting how your client manages its data.Peer-to-Peer Collaboration: Whether you need quick demos or real production use, WebRTC replication can link your users directly without central coordination of data storage. ","version":"Next","tagName":"h3"},{"title":"RxDB JavaScript Frontend Database: Efficient Data Storage in Frontend Applications","type":0,"sectionRef":"#","url":"/articles/frontend-database.html","content":"","keywords":"","version":"Next"},{"title":"Why you might want to store data in the frontend","type":1,"pageTitle":"RxDB JavaScript Frontend Database: Efficient Data Storage in Frontend Applications","url":"/articles/frontend-database.html#why-you-might-want-to-store-data-in-the-frontend","content":" ","version":"Next","tagName":"h2"},{"title":"Offline accessibility","type":1,"pageTitle":"RxDB JavaScript Frontend Database: Efficient Data Storage in Frontend Applications","url":"/articles/frontend-database.html#offline-accessibility","content":" One compelling reason to store data in the frontend is to enable offline accessibility. By leveraging a frontend database, applications can cache essential data locally, allowing users to continue using the application even when an internet connection is unavailable. This feature is particularly useful for mobile applications or web apps with limited or intermittent connectivity. ","version":"Next","tagName":"h3"},{"title":"Caching","type":1,"pageTitle":"RxDB JavaScript Frontend Database: Efficient Data Storage in Frontend Applications","url":"/articles/frontend-database.html#caching","content":" Frontend databases also serve as efficient caching mechanisms. By storing frequently accessed data locally, applications can minimize network requests and reduce latency, resulting in faster and more responsive user experiences. Caching is particularly beneficial for applications that heavily rely on remote data or perform computationally intensive operations. ","version":"Next","tagName":"h3"},{"title":"Decreased initial application start time","type":1,"pageTitle":"RxDB JavaScript Frontend Database: Efficient Data Storage in Frontend Applications","url":"/articles/frontend-database.html#decreased-initial-application-start-time","content":" Storing data in the frontend decreases the initial application start time because the data is already present locally. By eliminating the need to fetch data from a server during startup, applications can quickly render the UI and provide users with an immediate interactive experience. This is especially advantageous for applications with large datasets or complex data retrieval processes. ","version":"Next","tagName":"h3"},{"title":"Password encryption for local data","type":1,"pageTitle":"RxDB JavaScript Frontend Database: Efficient Data Storage in Frontend Applications","url":"/articles/frontend-database.html#password-encryption-for-local-data","content":" Security is a crucial aspect of data storage. With a front end database, developers can encrypt sensitive local data, such as user credentials or personal information, using encryption algorithms. This ensures that even if the device is compromised, the data remains securely stored and protected. ","version":"Next","tagName":"h3"},{"title":"Local database for state management","type":1,"pageTitle":"RxDB JavaScript Frontend Database: Efficient Data Storage in Frontend Applications","url":"/articles/frontend-database.html#local-database-for-state-management","content":" Frontend databases provide an alternative to traditional state management libraries like Redux or NgRx. By utilizing a local database, developers can store and manage application state directly in the frontend, eliminating the need for additional libraries. This approach simplifies the codebase, reduces complexity, and provides a more straightforward data flow within the application. ","version":"Next","tagName":"h3"},{"title":"Low-latency local queries","type":1,"pageTitle":"RxDB JavaScript Frontend Database: Efficient Data Storage in Frontend Applications","url":"/articles/frontend-database.html#low-latency-local-queries","content":" Frontend databases enable low-latency queries that run entirely on the client's device. Instead of relying on server round-trips for each query, the database executes queries locally, resulting in faster response times. This is particularly beneficial for applications that require real-time updates or frequent data retrieval. ","version":"Next","tagName":"h3"},{"title":"Building realtime applications with local data","type":1,"pageTitle":"RxDB JavaScript Frontend Database: Efficient Data Storage in Frontend Applications","url":"/articles/frontend-database.html#building-realtime-applications-with-local-data","content":" Realtime applications often require immediate updates based on data changes. By storing data locally and utilizing a frontend database, developers can build realtime applications more easily. The database can observe data changes and automatically update the UI, providing a seamless and responsive user experience. ","version":"Next","tagName":"h3"},{"title":"Easier integration with JavaScript frameworks","type":1,"pageTitle":"RxDB JavaScript Frontend Database: Efficient Data Storage in Frontend Applications","url":"/articles/frontend-database.html#easier-integration-with-javascript-frameworks","content":" Frontend databases, including RxDB, are designed to integrate seamlessly with popular JavaScript frameworks such as Angular, React.js, Vue.js, and Svelte. These databases offer well-defined APIs and support that align with the specific requirements of these frameworks, enabling developers to leverage the full potential of the frontend database within their preferred development environment. ","version":"Next","tagName":"h3"},{"title":"Simplified replication of database state","type":1,"pageTitle":"RxDB JavaScript Frontend Database: Efficient Data Storage in Frontend Applications","url":"/articles/frontend-database.html#simplified-replication-of-database-state","content":" Replicating database state between the frontend and backend can be challenging, especially when dealing with complex REST routes. Frontend databases, however, provide simple mechanisms for replicating database state. They offer intuitive replication algorithms that facilitate data synchronization between the frontend and backend, reducing the complexity and potential pitfalls associated with complex REST-based replication. ","version":"Next","tagName":"h3"},{"title":"Improved scalability","type":1,"pageTitle":"RxDB JavaScript Frontend Database: Efficient Data Storage in Frontend Applications","url":"/articles/frontend-database.html#improved-scalability","content":" Frontend databases offer improved scalability compared to traditional SQL databases. By leveraging the computational capabilities of client devices, the burden on server resources is reduced. Queries and operations are performed locally, minimizing the need for server round-trips and enabling applications to scale more efficiently. ","version":"Next","tagName":"h3"},{"title":"Why SQL databases are not a good fit for the front end of an application","type":1,"pageTitle":"RxDB JavaScript Frontend Database: Efficient Data Storage in Frontend Applications","url":"/articles/frontend-database.html#why-sql-databases-are-not-a-good-fit-for-the-front-end-of-an-application","content":" While SQL databases excel in server-side scenarios, they pose limitations when used on the frontend. Here are some reasons why SQL databases are not well-suited for frontend applications: ","version":"Next","tagName":"h2"},{"title":"Push/Pull based vs. reactive","type":1,"pageTitle":"RxDB JavaScript Frontend Database: Efficient Data Storage in Frontend Applications","url":"/articles/frontend-database.html#pushpull-based-vs-reactive","content":" SQL databases typically rely on a push/pull model, where the server pushes data to the client upon request. This approach is not inherently reactive, as it requires explicit requests for data updates. In contrast, frontend applications often require reactive data flows, where changes in data trigger automatic updates in the UI. Frontend databases, like RxDB, provide reactive capabilities that seamlessly integrate with the dynamic nature of frontend development. ","version":"Next","tagName":"h3"},{"title":"Initialization time and performance","type":1,"pageTitle":"RxDB JavaScript Frontend Database: Efficient Data Storage in Frontend Applications","url":"/articles/frontend-database.html#initialization-time-and-performance","content":" SQL databases designed for server-side usage tend to have larger build sizes and initialization times, making them less efficient for browser-based applications. Frontend databases, on the other hand, directly leverage browser APIs like IndexedDB, OPFS, and WebWorker, resulting in leaner builds and faster initialization times. Often the queries are such fast, that it is not even necessary to implement a loading spinner. ","version":"Next","tagName":"h3"},{"title":"Build size considerations","type":1,"pageTitle":"RxDB JavaScript Frontend Database: Efficient Data Storage in Frontend Applications","url":"/articles/frontend-database.html#build-size-considerations","content":" Server-side SQL databases typically come with a significant build size, which can be impractical for browser applications where code size optimization is crucial. Frontend databases, on the other hand, are specifically designed to operate within the constraints of browser environments, ensuring efficient resource utilization and smaller build sizes. For example the SQLite Webassembly file alone has a size of over 0.8 Megabyte with an additional 0.2 Megabyte in JavaScript code for connection. ","version":"Next","tagName":"h3"},{"title":"Why RxDB is a good fit for the frontend","type":1,"pageTitle":"RxDB JavaScript Frontend Database: Efficient Data Storage in Frontend Applications","url":"/articles/frontend-database.html#why-rxdb-is-a-good-fit-for-the-frontend","content":" RxDB is a powerful frontend JavaScript database that addresses the limitations of SQL databases and provides an optimal solution for frontend data storage. Let's explore why RxDB is an excellent fit for frontend applications: ","version":"Next","tagName":"h2"},{"title":"Made in JavaScript, optimized for JavaScript applications","type":1,"pageTitle":"RxDB JavaScript Frontend Database: Efficient Data Storage in Frontend Applications","url":"/articles/frontend-database.html#made-in-javascript-optimized-for-javascript-applications","content":" RxDB is designed and optimized for JavaScript applications. Built using JavaScript itself, RxDB offers seamless integration with JavaScript frameworks and libraries, allowing developers to leverage their existing JavaScript knowledge and skills. ","version":"Next","tagName":"h3"},{"title":"NoSQL (JSON) documents for UIs","type":1,"pageTitle":"RxDB JavaScript Frontend Database: Efficient Data Storage in Frontend Applications","url":"/articles/frontend-database.html#nosql-json-documents-for-uis","content":" RxDB adopts a NoSQL approach, using JSON documents as its primary data structure. This aligns well with the JavaScript ecosystem, as JavaScript natively works with JSON objects. By using NoSQL documents, RxDB provides a more natural and intuitive data model for UI-centric applications. ","version":"Next","tagName":"h3"},{"title":"Better TypeScript support compared to SQL","type":1,"pageTitle":"RxDB JavaScript Frontend Database: Efficient Data Storage in Frontend Applications","url":"/articles/frontend-database.html#better-typescript-support-compared-to-sql","content":" TypeScript has become increasingly popular for building frontend applications. RxDB provides excellent TypeScript support, allowing developers to leverage static typing and benefit from enhanced code quality and tooling. This is particularly advantageous when compared to SQL databases, which often have limited TypeScript support. ","version":"Next","tagName":"h3"},{"title":"Observable Queries for automatic UI updates","type":1,"pageTitle":"RxDB JavaScript Frontend Database: Efficient Data Storage in Frontend Applications","url":"/articles/frontend-database.html#observable-queries-for-automatic-ui-updates","content":" RxDB introduces the concept of observable queries, powered by RxJS. Observable queries automatically update the UI whenever there are changes in the underlying data. This reactive approach eliminates the need for manual UI updates and ensures that the frontend remains synchronized with the database state. ","version":"Next","tagName":"h3"},{"title":"Optimized observed queries with the EventReduce Algorithm","type":1,"pageTitle":"RxDB JavaScript Frontend Database: Efficient Data Storage in Frontend Applications","url":"/articles/frontend-database.html#optimized-observed-queries-with-the-eventreduce-algorithm","content":" RxDB optimizes observed queries with its EventReduce Algorithm. This algorithm intelligently reduces redundant events and ensures that UI updates are performed efficiently. By minimizing unnecessary re-renders, RxDB significantly improves performance and responsiveness in frontend applications. const query = myCollection.find({ selector: { age: { $gt: 21 } } }); const querySub = query.$.subscribe(results => { console.log('got results: ' + results.length); }); ","version":"Next","tagName":"h3"},{"title":"Observable document fields","type":1,"pageTitle":"RxDB JavaScript Frontend Database: Efficient Data Storage in Frontend Applications","url":"/articles/frontend-database.html#observable-document-fields","content":" RxDB supports observable document fields, enabling developers to track changes at a granular level within documents. By observing specific fields, developers can reactively update the UI when those fields change, ensuring a responsive and synchronized frontend interface. myDocument.firstName$.subscribe(newName => console.log('name is: ' + newName)); ","version":"Next","tagName":"h3"},{"title":"Storing Documents Compressed","type":1,"pageTitle":"RxDB JavaScript Frontend Database: Efficient Data Storage in Frontend Applications","url":"/articles/frontend-database.html#storing-documents-compressed","content":" RxDB provides the option to store documents in a compressed format, reducing storage requirements and improving overall database performance. Compressed storage offers benefits such as reduced disk space usage, faster data read/write operations, and improved network transfer speeds, making it an essential feature for efficient frontend data storage. ","version":"Next","tagName":"h3"},{"title":"Built-in Multi-tab support","type":1,"pageTitle":"RxDB JavaScript Frontend Database: Efficient Data Storage in Frontend Applications","url":"/articles/frontend-database.html#built-in-multi-tab-support","content":" RxDB offers built-in multi-tab support, allowing data synchronization and state management across multiple browser tabs. This feature ensures consistent data access and synchronization, enabling users to work seamlessly across different tabs without conflicts or data inconsistencies. ","version":"Next","tagName":"h3"},{"title":"Replication Algorithm can be made compatible with any backend","type":1,"pageTitle":"RxDB JavaScript Frontend Database: Efficient Data Storage in Frontend Applications","url":"/articles/frontend-database.html#replication-algorithm-can-be-made-compatible-with-any-backend","content":" RxDB's realtime replication algorithm is designed to be flexible and compatible with various backend systems. Whether you're using your own servers, Firebase, CouchDB, NATS, WebSocket, or any other backend, RxDB can be seamlessly integrated and synchronized with the backend system of your choice. ","version":"Next","tagName":"h3"},{"title":"Flexible storage layer for code reuse","type":1,"pageTitle":"RxDB JavaScript Frontend Database: Efficient Data Storage in Frontend Applications","url":"/articles/frontend-database.html#flexible-storage-layer-for-code-reuse","content":" RxDB provides a flexible storage layer that enables code reuse across different platforms. Whether you're building applications with Electron.js, React Native, hybrid apps using Capacitor.js, or traditional web browsers, RxDB allows you to reuse the same codebase and leverage the power of a frontend database across different environments. ","version":"Next","tagName":"h3"},{"title":"Handling schema changes in distributed environments","type":1,"pageTitle":"RxDB JavaScript Frontend Database: Efficient Data Storage in Frontend Applications","url":"/articles/frontend-database.html#handling-schema-changes-in-distributed-environments","content":" In distributed environments where data is stored on multiple client devices, handling schema changes can be challenging. RxDB tackles this challenge by providing robust mechanisms for handling schema changes. It ensures that schema updates propagate smoothly across devices, maintaining data integrity and enabling seamless schema evolution. ","version":"Next","tagName":"h3"},{"title":"Follow Up","type":1,"pageTitle":"RxDB JavaScript Frontend Database: Efficient Data Storage in Frontend Applications","url":"/articles/frontend-database.html#follow-up","content":" To further explore RxDB and get started with using it in your frontend applications, consider the following resources: RxDB Quickstart: A step-by-step guide to quickly set up RxDB in your project and start leveraging its features.RxDB GitHub Repository: The official repository for RxDB, where you can find the code, examples, and community support. By adopting RxDB as your frontend database, you can unlock the full potential of frontend data storage and empower your applications with offline accessibility, caching, improved performance, and seamless data synchronization. RxDB's JavaScript-centric approach and powerful features make it an ideal choice for frontend developers seeking efficient and scalable data storage solutions. ","version":"Next","tagName":"h2"},{"title":"ideas for articles","type":0,"sectionRef":"#","url":"/articles/ideas","content":"","keywords":"","version":"Next"},{"title":"Seo keywords:","type":1,"pageTitle":"ideas for articles","url":"/articles/ideas#seo-keywords","content":" X- "optimistic ui" X- "local database" (rddt done) X- "react-native encryption" X- "vue database" (rddt done) X- "jquery database" X- "vue indexeddb" X- "firebase realtime database alternative" (rddt done) X- "firestore alternative" (rddt done) X- "ionic storage" (rddt done) X- "local database" X- "offline database" X- "zero local first" X- "webrtc p2p" - 390 http://localhost:3000/replication-webrtc.html X- "indexeddb storage limit" - 590 https://rxdb.info/articles/indexeddb-max-storage-limit.htmlX- "indexeddb size limit" - 260 https://rxdb.info/articles/indexeddb-max-storage-limit.htmlX- "indexeddb max size" - 590 https://rxdb.info/articles/indexeddb-max-storage-limit.htmlX- "indexeddb limits" - 170 https://rxdb.info/articles/indexeddb-max-storage-limit.html X- "json based database" X- "json vs database" X- "reactjs storage" ","version":"Next","tagName":"h2"},{"title":"Seo","type":1,"pageTitle":"ideas for articles","url":"/articles/ideas#seo","content":" "supabase alternative" "store local storage" "react localstorage" "react-native storage" "supabase offline" - 260 "store array in localstorage", "localStorage array of objects" "real time web apps" - 170 "reactive database" - 210 "electron sqlite" "in browser database" - 90 "offline first app" - 260 "react native sql" - 110 "sqlite electron" "localstorage vs indexeddb" "react native nosql database" - 30 "indexeddb library" - 260 "indexeddb encryption" - 90 "client side database" - 140 "webtransport vs websocket" "local first development" - 210 "local storage examples" "local vector database" - 590 "mobile app database" - 590 "web based database" "livequery" - 210 "expo database" - 390 "database sync" - 8100 "p2p database" - 170 "reactive app" - 260 "offline web app" - 320 "offline sync" - 320 "react native encrypted storage" - 1000 "firestore vs firebase" - 1300 "ionic alternatives" - 480 "react native backend" - 720 "react native alternative" - 1000 "react native sqlite" - 1900 "flutter vs react native" - 5400 "react native redux" - 3600 "redux alternative" - 1300 "Awesome local first" - 10 "tauri database" - 170 "sqlite javascript" - 2900 "sqlite typescript" - 260 "sync engine" - 390 "indexeddb alternative" - 70 ","version":"Next","tagName":"h2"},{"title":"Non Seo","type":1,"pageTitle":"ideas for articles","url":"/articles/ideas#non-seo","content":" "Local-First Partial Sync with RxDB""why the indexeddb API is almost perfekt""how to do auth with RxDB""Where to store that JWT token?" ","version":"Next","tagName":"h2"},{"title":"RxDB - The Firestore Alternative That Can Sync with Your Own Backend","type":0,"sectionRef":"#","url":"/articles/firestore-alternative.html","content":"","keywords":"","version":"Next"},{"title":"What Makes RxDB a Great Firestore Alternative?","type":1,"pageTitle":"RxDB - The Firestore Alternative That Can Sync with Your Own Backend","url":"/articles/firestore-alternative.html#what-makes-rxdb-a-great-firestore-alternative","content":" Firestore is convenient for many projects, but it does lock you into Google's ecosystem. Below are some of the key advantages you gain by choosing RxDB: ","version":"Next","tagName":"h2"},{"title":"1. Fully Offline-First","type":1,"pageTitle":"RxDB - The Firestore Alternative That Can Sync with Your Own Backend","url":"/articles/firestore-alternative.html#1-fully-offline-first","content":" RxDB runs directly in your client application (browser, Node.js, Electron, React Native, etc.). Data is stored locally, so your application remains fully functional even when offline. When the device returns online, RxDB's flexible replication protocol synchronizes your local changes with any remote endpoint. ","version":"Next","tagName":"h3"},{"title":"2. Freedom to Use Any Backend","type":1,"pageTitle":"RxDB - The Firestore Alternative That Can Sync with Your Own Backend","url":"/articles/firestore-alternative.html#2-freedom-to-use-any-backend","content":" Unlike Firestore, RxDB doesn't require a proprietary hosting service. You can: Host your data on your own server (Node.js, Go, Python, etc.).Use existing databases like PostgreSQL, CouchDB, or MongoDB with custom endpoints.Implement a custom GraphQL or REST-based API for syncing. This backend-agnostic approach protects you from vendor lock-in. Your application's client-side data storage remains consistent; only your replication logic (or plugin) changes if you switch servers. ","version":"Next","tagName":"h3"},{"title":"3. Advanced Conflict Resolution","type":1,"pageTitle":"RxDB - The Firestore Alternative That Can Sync with Your Own Backend","url":"/articles/firestore-alternative.html#3-advanced-conflict-resolution","content":" Firestore enforces a last-write-wins conflict resolution strategy. This might cause issues if multiple users or devices update the same data in complex ways. RxDB lets you: Implement custom conflict resolution via revisions.Store partial merges, track versions, or preserve multiple user edits.Fine-tune how your data merges to ensure consistency across distributed systems. ","version":"Next","tagName":"h3"},{"title":"4. Reduced Cloud Costs","type":1,"pageTitle":"RxDB - The Firestore Alternative That Can Sync with Your Own Backend","url":"/articles/firestore-alternative.html#4-reduced-cloud-costs","content":" Firestore queries often count as billable reads. With RxDB, queries run locally against your local state - no repeated network calls or extra charges. You pay only for the data actually synced, not every read. For read-heavy apps, using RxDB as a Firestore alternative can significantly reduce costs. ","version":"Next","tagName":"h3"},{"title":"5. No Limits on Query Features","type":1,"pageTitle":"RxDB - The Firestore Alternative That Can Sync with Your Own Backend","url":"/articles/firestore-alternative.html#5-no-limits-on-query-features","content":" Firestore's query engine is limited by certain constraints (e.g., no advanced joins, limited indexing). With RxDB: NoSQL data is stored locally, and you can define any indexes you need.Perform complex queries, run full-text search, or do aggregated transformations or even vector search.Use RxDB's reactivity to subscribe to query results in real time. ","version":"Next","tagName":"h3"},{"title":"6. True Offline-Start Support","type":1,"pageTitle":"RxDB - The Firestore Alternative That Can Sync with Your Own Backend","url":"/articles/firestore-alternative.html#6-true-offline-start-support","content":" While Firestore does have offline caching, it often requires an online check at app initialization for authentication. RxDB is truly offline-first; you can launch the app and write data even if the device never goes online initially. It's ready whenever the user is. ","version":"Next","tagName":"h3"},{"title":"7. Cross-Platform: Any JavaScript Runtime","type":1,"pageTitle":"RxDB - The Firestore Alternative That Can Sync with Your Own Backend","url":"/articles/firestore-alternative.html#7-cross-platform-any-javascript-runtime","content":" RxDB is designed to run in any environment that can execute JavaScript. Whether you’re building a web app in the browser, an Electron desktop application, a React Native mobile app, or a command-line tool with Node.js, RxDB’s storage layer is swappable to fit your runtime’s capabilities. In the browser, store data in IndexedDB or OPFS.In Node.js, use LevelDB or other supported storages.In React Native, pick from a range of adapters suited for mobile devices.In Electron, rely on fast local storage with zero changes to your application code. ","version":"Next","tagName":"h3"},{"title":"How Does RxDB's Sync Work?","type":1,"pageTitle":"RxDB - The Firestore Alternative That Can Sync with Your Own Backend","url":"/articles/firestore-alternative.html#how-does-rxdbs-sync-work","content":" RxDB replication is powered by its own Sync Engine. This simple yet robust protocol enables: Pull: Fetch new or updated documents from the server.Push: Send local changes back to the server.Live Real-Time: Once you're caught up, you can opt for event-based streaming instead of continuous polling. Code Example: Sync RxDB with a Custom Backend import { createRxDatabase } from 'rxdb/plugins/core'; import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage'; import { replicateRxCollection } from 'rxdb/plugins/replication'; async function initDB() { const db = await createRxDatabase({ name: 'mydb', storage: getRxStorageLocalstorage(), multiInstance: true, eventReduce: true }); await db.addCollections({ tasks: { schema: { title: 'task schema', version: 0, type: 'object', primaryKey: 'id', properties: { id: { type: 'string', maxLength: 100 }, title: { type: 'string' }, done: { type: 'boolean' } } } } }); // Start a custom REST-based replication replicateRxCollection({ collection: db.tasks, replicationIdentifier: 'my-tasks-rest-api', push: { handler: async (documents) => { // Send docs to your REST endpoint const res = await fetch('https://myapi.com/push', { method: 'POST', body: JSON.stringify({ docs: documents }) }); // Return conflicts if any return await res.json(); } }, pull: { handler: async (lastCheckpoint, batchSize) => { // Fetch from your REST endpoint const res = await fetch(`https://myapi.com/pull?checkpoint=${JSON.stringify(lastCheckpoint)}&limit=${batchSize}`); return await res.json(); } }, live: true // keep watching for changes }); return db; } By swapping out the handler implementations or using an official plugin (e.g., GraphQL, CouchDB, Firestore replication, etc.), you can adapt to any backend or data source. RxDB thus becomes a flexible alternative to Firestore while maintaining real-time capabilities. ","version":"Next","tagName":"h2"},{"title":"Getting Started with RxDB as a Firestore Alternative","type":1,"pageTitle":"RxDB - The Firestore Alternative That Can Sync with Your Own Backend","url":"/articles/firestore-alternative.html#getting-started-with-rxdb-as-a-firestore-alternative","content":" ","version":"Next","tagName":"h2"},{"title":"Install RxDB:","type":1,"pageTitle":"RxDB - The Firestore Alternative That Can Sync with Your Own Backend","url":"/articles/firestore-alternative.html#install-rxdb","content":" npm install rxdb rxjs ","version":"Next","tagName":"h3"},{"title":"Create a Database:","type":1,"pageTitle":"RxDB - The Firestore Alternative That Can Sync with Your Own Backend","url":"/articles/firestore-alternative.html#create-a-database","content":" import { createRxDatabase } from 'rxdb/plugins/core'; import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage'; const db = await createRxDatabase({ name: 'mydb', storage: getRxStorageLocalstorage() }); ","version":"Next","tagName":"h3"},{"title":"Define Collections:","type":1,"pageTitle":"RxDB - The Firestore Alternative That Can Sync with Your Own Backend","url":"/articles/firestore-alternative.html#define-collections","content":" await db.addCollections({ items: { schema: { title: 'items schema', version: 0, primaryKey: 'id', type: 'object', properties: { id: { type: 'string', maxLength: 100 }, text: { type: 'string' } } } } }); ","version":"Next","tagName":"h3"},{"title":"Sync","type":1,"pageTitle":"RxDB - The Firestore Alternative That Can Sync with Your Own Backend","url":"/articles/firestore-alternative.html#sync","content":" Use a Replication Plugin to connect with a custom backend or existing database. For a Firestore-specific approach, RxDB Firestore Replication also exists if you want to combine local indexing and advanced queries with a Cloud Firestore backend. But if you really want to replace Firestore entirely - just point RxDB to your new backend. ","version":"Next","tagName":"h3"},{"title":"Example: Start a WebRTC P2P Replication","type":1,"pageTitle":"RxDB - The Firestore Alternative That Can Sync with Your Own Backend","url":"/articles/firestore-alternative.html#example-start-a-webrtc-p2p-replication","content":" In addition to syncing with a central server, RxDB also supports pure peer-to-peer replication using WebRTC. This can be invaluable for scenarios where clients need to sync data directly without a master server. import { replicateWebRTC, getConnectionHandlerSimplePeer } from 'rxdb/plugins/replication-webrtc'; const replicationPool = await replicateWebRTC({ collection: db.tasks, topic: 'my-p2p-room', // Clients with the same topic will sync with each other. connectionHandlerCreator: getConnectionHandlerSimplePeer({ // Use your own or the official RxDB signaling server signalingServerUrl: 'wss://signaling.rxdb.info/', // Node.js requires a polyfill for WebRTC & WebSocket wrtc: require('node-datachannel/polyfill'), webSocketConstructor: require('ws').WebSocket }), pull: {}, // optional pull config push: {} // optional push config }); // The replicationPool manages all connected peers replicationPool.error$.subscribe(err => { console.error('P2P Sync Error:', err); }); This example sets up a live P2P replication where any new peers joining the same topic automatically sync local data with each other, eliminating the need for a dedicated central server for the actual data exchange. ","version":"Next","tagName":"h3"},{"title":"Is RxDB Right for Your Project?","type":1,"pageTitle":"RxDB - The Firestore Alternative That Can Sync with Your Own Backend","url":"/articles/firestore-alternative.html#is-rxdb-right-for-your-project","content":" You want offline-first: If you need an offline-first app that starts offline, RxDB's local database approach and sync protocol excel at this.Your project is read-heavy: Reading from Firestore for every query can get expensive. With RxDB, reads are free and local; you only pay for writes or sync overhead.You need advanced queries: Firestore's query constraints may not suit complex data. With RxDB, you can define your own indexing logic or run arbitrary queries locally.You want no vendor lock-in: Easily transition from Firestore to your own server or another vendor - just change the replication layer. ","version":"Next","tagName":"h2"},{"title":"Follow Up","type":1,"pageTitle":"RxDB - The Firestore Alternative That Can Sync with Your Own Backend","url":"/articles/firestore-alternative.html#follow-up","content":" If you've been searching for a Firestore alternative that gives you the freedom to sync your data with any backend, offers robust offline-first capabilities, and supports truly customizable conflict resolution and queries, RxDB is worth exploring. You can adopt it seamlessly, ensure local reads, reduce costs, and stay in complete control of your data layer. Ready to dive in? Check out the RxDB Quickstart Guide, join our Discord community, and experience how RxDB can be the perfect local-first, real-time database solution for your next project. More resources: RxDB Sync EngineFirestore Replication PluginCustom Conflict ResolutionRxDB GitHub Repository ","version":"Next","tagName":"h2"},{"title":"RxDB as In-memory NoSQL Database: Empowering Real-Time Applications","type":0,"sectionRef":"#","url":"/articles/in-memory-nosql-database.html","content":"","keywords":"","version":"Next"},{"title":"Speed and Performance Benefits","type":1,"pageTitle":"RxDB as In-memory NoSQL Database: Empowering Real-Time Applications","url":"/articles/in-memory-nosql-database.html#speed-and-performance-benefits","content":" One of the key advantages of using RxDB as an in-memory NoSQL database is its ability to leverage in-memory storage for faster database operations. By storing data directly in memory, database operations can be performed significantly faster compared to traditional disk-based databases. This is especially important for real-time applications where every millisecond counts. With RxDB, developers can achieve near-instantaneous data access and manipulation, enabling highly responsive user experiences. Additionally, RxDB eliminates disk I/O bottlenecks that are typically associated with traditional databases. In traditional databases, disk reads and writes can become a bottleneck as the amount of data grows. In contrast, an in-memory database like RxDB keeps the entire dataset in RAM, eliminating disk access overhead. This makes it an excellent choice for applications dealing with real-time analytics, high-throughput data processing, and caching. ","version":"Next","tagName":"h2"},{"title":"Persistence Options","type":1,"pageTitle":"RxDB as In-memory NoSQL Database: Empowering Real-Time Applications","url":"/articles/in-memory-nosql-database.html#persistence-options","content":" While RxDB offers an in-memory storage adapter, it also offers persistence storages. Adapters such as IndexedDB, SQLite, and OPFS enable developers to persist data locally in the browser, making applications accessible even when offline. This hybrid approach combines the benefits of in-memory performance with data durability, providing the best of both worlds. Developers can choose the adapter that best suits their needs, balancing the speed of in-memory storage with the long-term data persistence required for certain applications. import { createRxDatabase } from 'rxdb'; import { getRxStorageMemory } from 'rxdb/plugins/storage-memory'; const db = await createRxDatabase({ name: 'exampledb', storage: getRxStorageMemory() }); Also the memory mapped RxStorage exists as a wrapper around any other RxStorage. The wrapper creates an in-memory storage that is used for query and write operations. This memory instance is replicated with the underlying storage for persistence. The main reason to use this is to improve initial page load and query/write times. This is mostly useful in browser based applications. ","version":"Next","tagName":"h2"},{"title":"Use Cases for RxDB","type":1,"pageTitle":"RxDB as In-memory NoSQL Database: Empowering Real-Time Applications","url":"/articles/in-memory-nosql-database.html#use-cases-for-rxdb","content":" RxDB's capabilities make it well-suited for various real-time applications. Some notable use cases include: Chat Applications and Real-Time Messaging: RxDB's in-memory performance and real-time synchronization capabilities make it an excellent choice for building chat applications and real-time messaging systems. Developers can ensure that messages are delivered and synchronized across multiple clients in real-time, providing a seamless and responsive chat experience. Collaborative Document Editors: RxDB's ability to handle data streams and propagate changes in real-time makes it ideal for collaborative document editing. Multiple users can simultaneously edit a document, and their changes are instantly synchronized, allowing for real-time collaboration and ensuring that everyone has the most up-to-date version of the document. Real-Time Analytics Dashboards: RxDB's speed and scalability make it a valuable tool for real-time analytics dashboards. It can handle high volumes of data and perform complex analytics operations in real-time, providing instant insights and visualizations to users. In conclusion, RxDB serves as a powerful in-memory NoSQL database that empowers developers to build real-time applications with exceptional speed, flexibility, and scalability. Its ability to leverage in-memory storage, eliminate disk I/O bottlenecks, and provide persistence options make it an attractive choice for a wide range of real-time use cases. Whether it's chat applications, collaborative document editors, or real-time analytics dashboards, RxDB provides the foundation for building responsive and interactive software that meets the demands of today's users. ","version":"Next","tagName":"h2"},{"title":"Ionic Storage - RxDB as database for hybrid apps","type":0,"sectionRef":"#","url":"/articles/ionic-database.html","content":"","keywords":"","version":"Next"},{"title":"What are Ionic Hybrid Apps?","type":1,"pageTitle":"Ionic Storage - RxDB as database for hybrid apps","url":"/articles/ionic-database.html#what-are-ionic-hybrid-apps","content":" Ionic (aka Ionic 2 ) hybrid apps combine the strengths of web technologies (HTML, CSS, JavaScript) with native app development to deliver cross-platform applications. They are built using web technologies and then wrapped in a native container to be deployed on various platforms like iOS, Android, and the web. These apps provide a consistent user experience across devices while benefiting from the efficiency and familiarity of web development. ","version":"Next","tagName":"h2"},{"title":"Storing and Querying Data in an Ionic App","type":1,"pageTitle":"Ionic Storage - RxDB as database for hybrid apps","url":"/articles/ionic-database.html#storing-and-querying-data-in-an-ionic-app","content":" Storing and querying data is a fundamental aspect of any application, including hybrid apps. These apps often need to operate offline, store user-generated content, and provide responsive user interfaces. Therefore, having a reliable and efficient way to manage data on the client's device is crucial. ","version":"Next","tagName":"h2"},{"title":"Introducing RxDB as a Client-Side Database for Ionic Apps","type":1,"pageTitle":"Ionic Storage - RxDB as database for hybrid apps","url":"/articles/ionic-database.html#introducing-rxdb-as-a-client-side-database-for-ionic-apps","content":" RxDB steps in as a powerful solution to address the data management needs of ionic hybrid apps. It's a NoSQL client-side database that offers exceptional performance and features tailored to the unique requirements of client-side applications. Let's delve into the key features of RxDB that make it a great fit for these apps. ","version":"Next","tagName":"h2"},{"title":"Getting Started with RxDB","type":1,"pageTitle":"Ionic Storage - RxDB as database for hybrid apps","url":"/articles/ionic-database.html#getting-started-with-rxdb","content":" ","version":"Next","tagName":"h3"},{"title":"What is RxDB?","type":1,"pageTitle":"Ionic Storage - RxDB as database for hybrid apps","url":"/articles/ionic-database.html#what-is-rxdb","content":" At its core, RxDB is a NoSQL database that operates with a local-first approach. This means that your app's data is stored and processed primarily on the client's device, reducing the dependency on constant network connectivity. By doing so, RxDB ensures your app remains responsive and functional, even when offline. ","version":"Next","tagName":"h3"},{"title":"Local-First Approach","type":1,"pageTitle":"Ionic Storage - RxDB as database for hybrid apps","url":"/articles/ionic-database.html#local-first-approach","content":" The local-first approach adopted by RxDB is a game-changer for hybrid applications. Storing data locally allows your app to function seamlessly without an internet connection, providing users with uninterrupted access to their data. When connectivity is restored, RxDB handles the synchronization of data, ensuring that any changes made offline are appropriately propagated. ","version":"Next","tagName":"h3"},{"title":"Observable Queries","type":1,"pageTitle":"Ionic Storage - RxDB as database for hybrid apps","url":"/articles/ionic-database.html#observable-queries","content":" One of RxDB's standout features is its implementation of observable queries. This concept allows your app's user interface to be dynamically updated in real time as data changes within the database. RxDB's observables create a bridge between your database and user interface, keeping them in sync effortlessly. ","version":"Next","tagName":"h3"},{"title":"NoSQL Query Engine","type":1,"pageTitle":"Ionic Storage - RxDB as database for hybrid apps","url":"/articles/ionic-database.html#nosql-query-engine","content":" RxDB's NoSQL query engine empowers you to perform powerful queries on your app's data, without the constraints imposed by traditional relational databases. This flexibility is particularly valuable when dealing with unstructured or semi-structured data. With the NoSQL query engine, you can retrieve, filter, and manipulate data according to your app's unique requirements. const foundDocuments = await myDatabase.todos.find({ selector: { done: { $eq: false } } }).exec(); ","version":"Next","tagName":"h3"},{"title":"Great Observe Performance with EventReduce","type":1,"pageTitle":"Ionic Storage - RxDB as database for hybrid apps","url":"/articles/ionic-database.html#great-observe-performance-with-eventreduce","content":" RxDB introduces a concept called EventReduce, which optimizes the observation process. Instead of overwhelming your app's UI with every data change, EventReduce filters and batches these changes to provide a smooth and efficient experience. This leads to enhanced app performance, lower resource usage, and ultimately, happier users. ","version":"Next","tagName":"h3"},{"title":"Why NoSQL is a Better Fit for Client-Side Applications Compared to relational databases like SQLite","type":1,"pageTitle":"Ionic Storage - RxDB as database for hybrid apps","url":"/articles/ionic-database.html#why-nosql-is-a-better-fit-for-client-side-applications-compared-to-relational-databases-like-sqlite","content":" When it comes to choosing the right database solution for your client-side applications, NoSQL RxDB presents compelling advantages over traditional options like SQLite. Let's delve into the key reasons why NoSQL RxDB is a superior fit for your ionic hybrid app development. ","version":"Next","tagName":"h2"},{"title":"Easier Document-Based Replication","type":1,"pageTitle":"Ionic Storage - RxDB as database for hybrid apps","url":"/articles/ionic-database.html#easier-document-based-replication","content":" NoSQL databases, like RxDB, inherently embrace a document-based approach to data storage. This design choice simplifies data replication between clients and servers. With documents representing discrete units of data, you can easily synchronize individual pieces of information without the complexity that can arise when dealing with rows and tables in a relational database like SQLite. This document-centric replication model streamlines the synchronization process and ensures that your app's data remains consistent across devices. ","version":"Next","tagName":"h3"},{"title":"Offline Capable","type":1,"pageTitle":"Ionic Storage - RxDB as database for hybrid apps","url":"/articles/ionic-database.html#offline-capable","content":" One of the defining features of client-side applications is the ability to function even when offline. NoSQL RxDB excels in this area by supporting a local-first approach. Data is cached on the client's device, enabling the app to remain fully functional even without an internet connection. As connectivity is restored, RxDB handles data synchronization with the server seamlessly. This offline capability ensures a smooth user experience, critical for ionic hybrid apps catering to users in various network conditions. ","version":"Next","tagName":"h3"},{"title":"NoSQL Has Better TypeScript Support","type":1,"pageTitle":"Ionic Storage - RxDB as database for hybrid apps","url":"/articles/ionic-database.html#nosql-has-better-typescript-support","content":" TypeScript, a popular superset of JavaScript, is renowned for its static typing and enhanced developer experience. NoSQL databases like RxDB are inherently flexible, making them well-suited for TypeScript integration. With well-defined data structures and clear typings, NoSQL RxDB offers improved type safety and easier development when compared to traditional SQL databases like SQLite. This results in reduced debugging time and increased code reliability. ","version":"Next","tagName":"h3"},{"title":"Easier Schema Migration with NoSQL Documents","type":1,"pageTitle":"Ionic Storage - RxDB as database for hybrid apps","url":"/articles/ionic-database.html#easier-schema-migration-with-nosql-documents","content":" Schema changes are a common occurrence in application development, and dealing with them can be challenging. NoSQL databases, including RxDB, are more forgiving in this aspect. Since documents in NoSQL databases don't enforce a rigid structure like tables in relational databases, schema changes are often simpler to manage. This flexibility makes it easier to evolve your app's data structure over time without the need for complex migration scripts, a notable advantage when compared to SQLite. ","version":"Next","tagName":"h3"},{"title":"Great Performance","type":1,"pageTitle":"Ionic Storage - RxDB as database for hybrid apps","url":"/articles/ionic-database.html#great-performance","content":" RxDB's excellent performance stems from its advanced indexing capabilities, which streamline data retrieval and ensure swift query execution. Additionally, the JSON key compression employed by RxDB minimizes storage overhead, enabling efficient data transfer and quicker loading times. The incorporation of real-time updates through change streams and the EventReduce mechanism further enhances RxDB's performance, delivering a responsive user experience even as data changes are propagated seamlessly. ","version":"Next","tagName":"h2"},{"title":"Using RxDB in an Ionic Hybrid App","type":1,"pageTitle":"Ionic Storage - RxDB as database for hybrid apps","url":"/articles/ionic-database.html#using-rxdb-in-an-ionic-hybrid-app","content":" RxDB's integration into your ionic hybrid app opens up a world of possibilities for efficient data management. Let's explore how to set up RxDB, use it with popular JavaScript frameworks, and take advantage of its diverse storage options. ","version":"Next","tagName":"h2"},{"title":"Setup RxDB","type":1,"pageTitle":"Ionic Storage - RxDB as database for hybrid apps","url":"/articles/ionic-database.html#setup-rxdb","content":" Getting started with RxDB is a straightforward process. By including the RxDB library in your project, you can quickly start harnessing its capabilities. Begin by installing the RxDB package from the npm registry. Then, configure your database instance to suit your app's needs. This setup process paves the way for seamless data management in your ionic hybrid app. For a full instruction, follow the RxDB Quickstart. ","version":"Next","tagName":"h3"},{"title":"Using RxDB in Frameworks (React, Angular, Vue.js)","type":1,"pageTitle":"Ionic Storage - RxDB as database for hybrid apps","url":"/articles/ionic-database.html#using-rxdb-in-frameworks-react-angular-vuejs","content":" RxDB seamlessly integrates with various JavaScript frameworks, ensuring compatibility with your preferred development environment. Whether you're building your ionic hybrid app with React, Angular, or Vue.js, RxDB offers bindings and tools that enable you to leverage its features effortlessly. This compatibility allows you to stay within the comfort zone of your chosen framework while benefiting from RxDB's powerful data management capabilities. ","version":"Next","tagName":"h3"},{"title":"Different RxStorage Layers for RxDB","type":1,"pageTitle":"Ionic Storage - RxDB as database for hybrid apps","url":"/articles/ionic-database.html#different-rxstorage-layers-for-rxdb","content":" RxDB doesn't limit you to a single storage solution. Instead, it provides a range of RxStorage layers to accommodate diverse use cases. These storage layers offer flexibility and customization, enabling you to tailor your data management strategy to match your app's requirements. Let's explore some of the available RxStorage options: LocalStorage RxStorage: Based on the browsers localStorage. Easy to set up and fast for small datasets.IndexedDB RxStorage: Leveraging the native browser storage, IndexedDB RxStorage offers reliable data persistence. This storage option is suitable for a wide range of scenarios and is supported by most modern browsers.OPFS RxStorage: Operating within the browser's file system, OPFS RxStorage is a unique choice that can handle larger data volumes efficiently. It's particularly useful for applications that require substantial data storage.Memory RxStorage: Memory RxStorage is perfect for temporary or cache-like data storage. It keeps data in memory, which can result in rapid data access but doesn't provide long-term persistence.SQLite RxStorage: SQLite is the goto database for mobile applications. It is build in on android and iOS devices. The SQLite RxDB storage layer is build upon SQLite and offers the best performance on hybrid apps, like ionic. ","version":"Next","tagName":"h3"},{"title":"Replication of Data with RxDB between Clients and Servers","type":1,"pageTitle":"Ionic Storage - RxDB as database for hybrid apps","url":"/articles/ionic-database.html#replication-of-data-with-rxdb-between-clients-and-servers","content":" Efficient data replication between clients and servers is the backbone of modern application development, ensuring that data remains consistent and up-to-date across various devices and platforms. RxDB provides a suite of replication methods that facilitate seamless communication between clients and servers, ensuring that your data is always in sync. ","version":"Next","tagName":"h2"},{"title":"RxDB Replication Algorithm","type":1,"pageTitle":"Ionic Storage - RxDB as database for hybrid apps","url":"/articles/ionic-database.html#rxdb-replication-algorithm","content":" At the heart of RxDB's replication capabilities lies a sophisticated algorithm designed to manage data synchronization between clients and servers. This algorithm intelligently handles data changes, conflict resolution, and network connectivity fluctuations, resulting in reliable and efficient data replication. With the RxDB replication algorithm, your application can maintain data consistency across devices without unnecessary complexities. CouchDB Replication: RxDB's integration with CouchDB replication presents a powerful way to synchronize data between clients and servers. CouchDB, a well-established NoSQL database, excels at distributed and decentralized data scenarios. By utilizing RxDB's CouchDB replication, you can establish bidirectional synchronization between your RxDB-powered client and a CouchDB server. This synchronization ensures that data updates made on either end are seamlessly propagated to the other, facilitating collaboration and data sharing. Firestore Replication: Firestore, Google's cloud-hosted NoSQL database, offers another avenue for data replication in RxDB. With Firestore replication, you can establish a connection between your RxDB-powered app and Firestore's cloud infrastructure. This integration provides real-time updates to data across multiple instances of your application, ensuring that users always have access to the latest information. RxDB's support for Firestore replication empowers you to build dynamic and responsive applications that thrive in today's fast-paced digital landscape. WebRTC Replication: Peer-to-peer (P2P) replication via WebRTC introduces a cutting-edge approach to data synchronization in RxDB. P2P replication allows devices to communicate directly with each other, bypassing the need for a central server. This method proves invaluable in scenarios where network connectivity is limited or unreliable. With WebRTC replication, devices can exchange data directly, enabling collaboration and information sharing even in challenging network conditions. ","version":"Next","tagName":"h3"},{"title":"RxDB as an Alternative for Ionic Secure Storage","type":1,"pageTitle":"Ionic Storage - RxDB as database for hybrid apps","url":"/articles/ionic-database.html#rxdb-as-an-alternative-for-ionic-secure-storage","content":" When it comes to securing sensitive data in your Ionic applications, RxDB emerges as a powerful alternative to traditional secure storage solutions. Let's delve into why RxDB is an exceptional choice for safeguarding your data while providing additional benefits. ","version":"Next","tagName":"h2"},{"title":"RxDB On-Device Encryption Plugin","type":1,"pageTitle":"Ionic Storage - RxDB as database for hybrid apps","url":"/articles/ionic-database.html#rxdb-on-device-encryption-plugin","content":" RxDB offers an on-device encryption plugin, adding an extra layer of security to your app's data. This means that data stored within the RxDB database can be encrypted, ensuring that even if the device falls into the wrong hands, the sensitive information remains inaccessible without the proper decryption key. This level of data protection is crucial for applications that deal with personal or confidential information. Encryption runs either with AES on crypto-js or with the Web Crypto API which is faster and more secure. ","version":"Next","tagName":"h3"},{"title":"Works Offline","type":1,"pageTitle":"Ionic Storage - RxDB as database for hybrid apps","url":"/articles/ionic-database.html#works-offline","content":" Security should never compromise functionality. RxDB excels in this area by allowing your application to operate seamlessly even when offline. The locally stored encrypted data remains accessible and functional, enabling users to interact with the app's features even without an active internet connection. This offline capability ensures that user data is secure, while the app continues to deliver a responsive and uninterrupted experience. ","version":"Next","tagName":"h3"},{"title":"Easy-to-Setup Replication with Your Backend","type":1,"pageTitle":"Ionic Storage - RxDB as database for hybrid apps","url":"/articles/ionic-database.html#easy-to-setup-replication-with-your-backend","content":" Ensuring data consistency between your client-side application and backend is a key concern for developers. RxDB simplifies this process with its straightforward replication setup. You can effortlessly configure data synchronization between your local RxDB instance and your backend server. This replication capability ensures that encrypted data remains up-to-date and aligned with the central database, enhancing data integrity and security. ","version":"Next","tagName":"h3"},{"title":"Compression of Client-Side Stored Data","type":1,"pageTitle":"Ionic Storage - RxDB as database for hybrid apps","url":"/articles/ionic-database.html#compression-of-client-side-stored-data","content":" In addition to security and offline capabilities, RxDB also offers data compression. This means that the data stored on the client's device is efficiently compressed, reducing storage requirements and improving overall app performance. This compression ensures that your app remains responsive and efficient, even as data volumes grow. ","version":"Next","tagName":"h3"},{"title":"Cost-Effective Solution","type":1,"pageTitle":"Ionic Storage - RxDB as database for hybrid apps","url":"/articles/ionic-database.html#cost-effective-solution","content":" In addition to its security features, RxDB offers cost-effective benefits. RxDB is priced more affordably compared to some other secure storage solutions, making it an attractive option for developers seeking robust security without breaking the bank. For many users, the free version of RxDB provides ample features to meet their application's security and data management needs. ","version":"Next","tagName":"h3"},{"title":"Follow Up","type":1,"pageTitle":"Ionic Storage - RxDB as database for hybrid apps","url":"/articles/ionic-database.html#follow-up","content":" Try out the RxDB ionic example projectTry out the RxDB QuickstartJoin the RxDB Chat ","version":"Next","tagName":"h2"},{"title":"IndexedDB Max Storage Size Limit","type":0,"sectionRef":"#","url":"/articles/indexeddb-max-storage-limit.html","content":"","keywords":"","version":"Next"},{"title":"Why IndexedDB Has a Storage Limit","type":1,"pageTitle":"IndexedDB Max Storage Size Limit","url":"/articles/indexeddb-max-storage-limit.html#why-indexeddb-has-a-storage-limit","content":" Browsers need a way to curb runaway disk usage and safeguard user resources. This is accomplished through quota management policies, which can vary among Chrome, Firefox, Safari, Edge, and others. Some browsers use a percentage of your total disk space, while others rely on a fixed maximum or dynamic approach per origin. These policies are designed to prevent malicious or poorly optimized web pages from consuming an unreasonable amount of user storage. Chrome (and Chromium-based browsers) typically allow you to use a percentage of the user’s free disk space, whereas Firefox historically prompts users to allow more than 5 MB in mobile or 50 MB in desktop. Safari often sets tighter maximum caps, especially on iOS devices. Edge aligns closely with Chrome’s rules but can also include enterprise or corporate policy overrides. Understanding these default or dynamic limits prepares you to plan your app’s storage needs appropriately. ","version":"Next","tagName":"h2"},{"title":"Browser-Specific IndexedDB Limits","type":1,"pageTitle":"IndexedDB Max Storage Size Limit","url":"/articles/indexeddb-max-storage-limit.html#browser-specific-indexeddb-limits","content":" IndexedDB size quotas differ significantly across browsers and platforms. While there isn’t a universal rule, the following table summarizes approximate limits and any notes or caveats you should be aware of: Browser\tApprox. Limit\tNotesChrome/Chromium\tUp to ~80% of free disk, per origin cap\tOften cited as 60 GB on a 100 GB drive. Shared pool approach. Quota usage can prompt partial or extended user approvals. Firefox\t~2 GB (desktop) or ~5 MB initial for mobile\tOlder versions asked permission at 50 MB for desktop. Ephemeral/incognito sessions may require repeated user prompts. Safari (iOS)\t~1 GB per origin (variable)\tHistorically stricter. iOS devices limit quotas further. Behavior can differ between iOS Safari versions or iPadOS. Edge\tSimilar to Chrome’s 80% of free space\tCan be influenced by Windows enterprise policies. Generally aligned with Chromium approach. iOS Safari\tTypically 1 GB, can be less on older iOS\tEarly iOS versions were known for more aggressive quotas and data eviction on low space. Android Chrome\tSimilar to desktop Chrome\tMay exhibit warnings in especially low-storage devices. The same 80% free space logic generally applies. Historically, these limits have evolved. For instance, older Firefox versions included dom.indexedDB.warningQuota, showing a 50 MB prompt on desktop or a 5 MB prompt on mobile—many developers wrote about these notifications on Stack Overflow. Since around 2015, Firefox has changed its quota approach significantly. Likewise, Safari used to limit data more aggressively on older iOS versions. Some older tutorials suggest comparing IndexedDB to localStorage, but modern browsers allow far larger and more flexible storage with IndexedDB than the old localStorage or cookie-based setups. ","version":"Next","tagName":"h2"},{"title":"Checking Your Current IndexedDB Usage","type":1,"pageTitle":"IndexedDB Max Storage Size Limit","url":"/articles/indexeddb-max-storage-limit.html#checking-your-current-indexeddb-usage","content":" To assess where your app stands relative to these storage limits, you can use the Storage Estimation API. The snippet below shows how to estimate both your used storage and the total space allocated to your origin: const quota = await navigator.storage.estimate(); const totalSpace = quota.quota; const usedSpace = quota.usage; console.log('Approx total allocated space:', totalSpace); console.log('Approx used space:', usedSpace); Some browsers (all modern ones) also provide a navigator.storage.persist() method to request persistent storage, preventing the browser from automatically clearing your data if the user’s device runs low on space. Note that users might deny such requests, or the request might fail silently on stricter environments. Always handle these outcomes gracefully and design your app to degrade if persistent storage is unavailable. ","version":"Next","tagName":"h2"},{"title":"Testing Your App’s IndexedDB Quotas","type":1,"pageTitle":"IndexedDB Max Storage Size Limit","url":"/articles/indexeddb-max-storage-limit.html#testing-your-apps-indexeddb-quotas","content":" The best way to handle real-world usage is to test for low storage conditions and large data sets in different environments. You can fill up the space manually by writing repetitive test data or running scripts that bulk-insert documents until an error occurs. Real-time usage monitors or dashboards can keep track of your navigator.storage.estimate() results, letting you see how close you are to the max limit in production. Developer tools in Chrome or Firefox can simulate limited storage situations, which is crucial for QA: 0:42 Simulate low storage quota with DevTools This short tutorial shows how you can artificially reduce available storage in Google Chrome’s dev tools to see how your app behaves when nearing or exceeding the quota. ","version":"Next","tagName":"h2"},{"title":"Handling Errors When Limits Are Reached","type":1,"pageTitle":"IndexedDB Max Storage Size Limit","url":"/articles/indexeddb-max-storage-limit.html#handling-errors-when-limits-are-reached","content":" When the user’s device is too full or your app exceeds the allotted quota, most browsers will throw a QuotaExceededError (or similarly named exception) when trying to store additional data. Often, the request to IndexedDB simply fails with an error event. Handling this gracefully is essential to avoid crashes or data corruption. A typical approach is to wrap your write operations in try/catch blocks or in onsuccess / onerror event callbacks. If you detect a quota error, you can prompt the user to clear out old items or reduce the scope of offline data. Some apps implement a fallback system that removes less critical documents to free space and then retries the write. try { const tx = db.transaction('largeStore', 'readwrite'); const store = tx.objectStore('largeStore'); await store.add(hugeData, someKey); await tx.done; } catch (error) { if (error.name === 'QuotaExceededError') { console.warn('IndexedDB quota exceeded. Cleanup or prompt user to free space.'); // Optionally remove older data or show a UI hint: // removeOldDocuments(); // displayStorageFullDialog(); } else { // handle other errors console.error('IndexedDB write error:', error); } } ","version":"Next","tagName":"h2"},{"title":"Tricks to Exceed the Storage Size Limitation","type":1,"pageTitle":"IndexedDB Max Storage Size Limit","url":"/articles/indexeddb-max-storage-limit.html#tricks-to-exceed-the-storage-size-limitation","content":" Even if you plan well, your app might need more storage than a single origin typically allows. There are a few advanced tactics you can use: If you store binary data such as images or videos, consider compressing them via the Compression Streams API. For textual or JSON data, a library like RxDB supports built-in key-compression to shorten field names or entire documents. This can be extremely helpful when storing large sets of objects: // Example: How key-compression can transform your documents internally const uncompressed = { "firstName": "Corrine", "lastName": "Ziemann", "shoppingCartItems": [ { "productNumber": 29857, "amount": 1 }, { "productNumber": 53409, "amount": 6 } ] }; const compressed = { "|e": "Corrine", "|g": "Ziemann", "|i": [ { "|h": 29857, "|b": 1 }, { "|h": 53409, "|b": 6 } ] }; Sharding data across multiple subdomains or iframes is another trick, though it complicates communication. When you need truly massive offline data, you might store part of the data under sub1.yoursite.com and another chunk under sub2.yoursite.com, using postMessage() to coordinate. This can circumvent single-origin limitations, but it introduces extra complexity. Another effective method is to let data expire automatically—perhaps older records are removed if they haven’t been accessed for a certain period. ","version":"Next","tagName":"h2"},{"title":"IndexedDB Max Size of a Single Object","type":1,"pageTitle":"IndexedDB Max Storage Size Limit","url":"/articles/indexeddb-max-storage-limit.html#indexeddb-max-size-of-a-single-object","content":" There is no explicit cap on how large an individual object or record in IndexedDB can be, other than the overall disk quota. If you attempt to store one extremely large object, you will eventually hit browser memory constraints or the global storage quota. In practice, you’ll encounter out-of-memory issues in JavaScript before IndexedDB itself refuses a single large write. A helpful test can be seen in this JSFiddle experiment where you see browsers can crash when creating massive in-memory objects. ","version":"Next","tagName":"h2"},{"title":"Is There a Time Limit for Data Stored in IndexedDB?","type":1,"pageTitle":"IndexedDB Max Storage Size Limit","url":"/articles/indexeddb-max-storage-limit.html#is-there-a-time-limit-for-data-stored-in-indexeddb","content":" IndexedDB data can remain indefinitely as long as the user does not clear the browser’s data or the origin does not run afoul of automated eviction policies (e.g., Safari or Android might remove large caches for sites unused over a long period when space is needed). Typically, there is no “time limit,” but ephemeral modes or incognito sessions have their own rules. If you rely on permanent offline data, request persistent storage and handle the possibility that the user or the OS could still remove your data under extreme conditions. Especially Safari is known to be very fast in deleting local data. ","version":"Next","tagName":"h2"},{"title":"Follow Up","type":1,"pageTitle":"IndexedDB Max Storage Size Limit","url":"/articles/indexeddb-max-storage-limit.html#follow-up","content":" Learn more by checking the IndexedDB official docs, which detail store design, error handling, and quota usage. If you need a straightforward way to manage large offline data with compression and conflict resolution, explore the RxDB Quickstart. You can also join the community on GitHub to share tips on overcoming the IndexedDB max storage size limit in production environments. ","version":"Next","tagName":"h2"},{"title":"RxDB - Local Ionic Storage with Encryption, Compression & Sync","type":0,"sectionRef":"#","url":"/articles/ionic-storage.html","content":"","keywords":"","version":"Next"},{"title":"Why RxDB for Ionic Storage?","type":1,"pageTitle":"RxDB - Local Ionic Storage with Encryption, Compression & Sync","url":"/articles/ionic-storage.html#why-rxdb-for-ionic-storage","content":" ","version":"Next","tagName":"h2"},{"title":"1. Offline-Ready NoSQL Storage","type":1,"pageTitle":"RxDB - Local Ionic Storage with Encryption, Compression & Sync","url":"/articles/ionic-storage.html#1-offline-ready-nosql-storage","content":" Offline functionality is crucial for modern mobile applications, particularly when devices encounter unreliable or slow networks. RxDB stores all data locally so your Ionic app can run seamlessly without needing a continuous internet connection. When a network is available again, RxDB automatically synchronizes changes with your backend - no extra code required. ","version":"Next","tagName":"h3"},{"title":"2. Powerful Encryption","type":1,"pageTitle":"RxDB - Local Ionic Storage with Encryption, Compression & Sync","url":"/articles/ionic-storage.html#2-powerful-encryption","content":" Securing on-device data is paramount when handling sensitive information. RxDB includes encryption plugins that let you: Encrypt data fields at rest with AESInvalidate data access by simply withholding the passwordKeep your users' data confidential, even if the device is stolen This built-in encryption sets RxDB apart from many other Ionic storage options that lack integrated security. ","version":"Next","tagName":"h3"},{"title":"3. Built-In Data Compression","type":1,"pageTitle":"RxDB - Local Ionic Storage with Encryption, Compression & Sync","url":"/articles/ionic-storage.html#3-built-in-data-compression","content":" Large or repetitive data can significantly slow down devices with minimal memory. RxDB's key-compression feature decreases document size stored on the device, improving overall performance by: Reducing disk usageAccelerating queriesMinimizing network overhead when syncing ","version":"Next","tagName":"h3"},{"title":"4. Real-Time Sync & Conflict Handling","type":1,"pageTitle":"RxDB - Local Ionic Storage with Encryption, Compression & Sync","url":"/articles/ionic-storage.html#4-real-time-sync--conflict-handling","content":" In addition to functioning fully offline, RxDB supports advanced replication options. Your Ionic app can instantly sync updates with any backend (CouchDB, Firestore, GraphQL, or custom REST), maintaining a real-time user experience. Plus, RxDB handles conflicts gracefully - meaning less worry about clashing user edits. ","version":"Next","tagName":"h3"},{"title":"5. Easy to Adopt and Extend","type":1,"pageTitle":"RxDB - Local Ionic Storage with Encryption, Compression & Sync","url":"/articles/ionic-storage.html#5-easy-to-adopt-and-extend","content":" RxDB runs with a NoSQL approach and integrates seamlessly into Ionic Angular or other frameworks you might use with Ionic. You can extend or replace storage backends, add encryption, or build advanced offline-first features with minimal overhead. ","version":"Next","tagName":"h3"},{"title":"Quick Start: Implementing RxDB with LocalSTorage Storage","type":1,"pageTitle":"RxDB - Local Ionic Storage with Encryption, Compression & Sync","url":"/articles/ionic-storage.html#quick-start-implementing-rxdb-with-localstorage-storage","content":" For a simple proof-of-concept or testing environment in Ionic, you can use localstorage as your underlying storage. Later, if you need better native performance, you can switch to the SQLite storage offered by the RxDB Premium plugins. Install RxDB npm install rxdb rxjs Initialize the Database import { createRxDatabase } from 'rxdb/plugins/core'; import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage'; async function initDB() { const db = await createRxDatabase({ name: 'myionicdb', storage: getRxStorageLocalstorage(), multiInstance: false // or true if you plan multi-tab usage // Note: If you need encryption, set `password` here }); await db.addCollections({ notes: { schema: { title: 'notes schema', version: 0, type: 'object', primaryKey: 'id', properties: { id: { type: 'string' }, content: { type: 'string' }, timestamp: { type: 'number' } }, required: ['id'] } } }); return db; } Ready to Upgrade Later? When you need the best performance on mobile devices, purchase the RxDB PremiumSQLite Storage and replace getRxStorageLocalstorage() with getRxStorageSQLite() - your app logic remains largely the same. You only have to change the configuration. ","version":"Next","tagName":"h2"},{"title":"Encryption Example","type":1,"pageTitle":"RxDB - Local Ionic Storage with Encryption, Compression & Sync","url":"/articles/ionic-storage.html#encryption-example","content":" To secure local data, add the crypto-js encryption plugin (free version) or the premium web-crypto plugin. Below is an example using the free crypto-js plugin: import { wrappedKeyEncryptionCryptoJsStorage } from 'rxdb/plugins/encryption-crypto-js'; import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage'; import { createRxDatabase } from 'rxdb/plugins/core'; async function initEncryptedDB() { const encryptedStorage = wrappedKeyEncryptionCryptoJsStorage({ storage: getRxStorageLocalstorage() }); const db = await createRxDatabase({ name: 'secureIonicDB', storage: encryptedStorage, password: 'myS3cretP4ssw0rd' }); await db.addCollections({ secrets: { schema: { title: 'secret schema', version: 0, type: 'object', primaryKey: 'id', properties: { id: { type: 'string' }, text: { type: 'string' } }, required: ['id'], // all fields in this array will be stored encrypted: encrypted: ['text'] } } }); return db; } With encryption enabled: text is automatically encrypted at rest.Queries on encrypted fields are not directly possible (since data is encrypted), but once a document is loaded, RxDB decrypts it for normal usage. ","version":"Next","tagName":"h2"},{"title":"Compression Example","type":1,"pageTitle":"RxDB - Local Ionic Storage with Encryption, Compression & Sync","url":"/articles/ionic-storage.html#compression-example","content":" To minimize the storage footprint, RxDB offers a key-compression feature. You can enable it in your schema: await db.addCollections({ logs: { schema: { title: 'logs schema', version: 0, keyCompression: true, // enable compression type: 'object', primaryKey: 'id', properties: { id: { type: 'string' }, message: { type: 'string' }, createdAt: { type: 'string', format: 'date-time' } } } } }); With keyCompression: true, RxDB shortens field names internally, significantly reducing document size. This helps both stored data and network transport during replication. ","version":"Next","tagName":"h2"},{"title":"RxDB vs. Other Ionic Storage Options","type":1,"pageTitle":"RxDB - Local Ionic Storage with Encryption, Compression & Sync","url":"/articles/ionic-storage.html#rxdb-vs-other-ionic-storage-options","content":" Ionic Native Storage or Capacitor-based key-value stores may handle small amounts of data but lack advanced features like: Complex queriesFull NoSQL document modelOffline-firstsyncEncryption & key compression out of the boxRxDB stands out by delivering all these capabilities in a unified library. ","version":"Next","tagName":"h2"},{"title":"Follow Up","type":1,"pageTitle":"RxDB - Local Ionic Storage with Encryption, Compression & Sync","url":"/articles/ionic-storage.html#follow-up","content":" For Ionic storage that supports offline-first operations, built-in encryption, optional data compression, and live syncing with any backend, RxDB provides a powerful solution. Start quickly with localstorage for local development and testing - then scale up to the premium SQLite storage for optimal performance on production mobile devices. Ready to learn more? Explore the RxDB Quickstart GuideCheck out RxDB Encryption to protect user dataLearn about SQLite Storage in RxDB Premium for top performance on mobile.Join our community on the RxDB Chat RxDB - The ultimate toolkit for Ionic developers seeking offline-first, secure, and compressed local data, with real-time sync to any server. ","version":"Next","tagName":"h2"},{"title":"RxDB as a Database in a jQuery Application","type":0,"sectionRef":"#","url":"/articles/jquery-database.html","content":"","keywords":"","version":"Next"},{"title":"jQuery Web Applications","type":1,"pageTitle":"RxDB as a Database in a jQuery Application","url":"/articles/jquery-database.html#jquery-web-applications","content":" jQuery provides a simple API for DOM manipulation, event handling, and AJAX calls. It has been widely adopted due to its ease of use and strong community support. Many projects continue to rely on jQuery for handling client-side functionality, UI interactions, and animations. As these applications evolve, the need for a robust database solution that can manage data locally (and offline) becomes increasingly important. ","version":"Next","tagName":"h2"},{"title":"Importance of Databases in jQuery Applications","type":1,"pageTitle":"RxDB as a Database in a jQuery Application","url":"/articles/jquery-database.html#importance-of-databases-in-jquery-applications","content":" Modern, data-driven jQuery applications often need to: Store and retrieve data locally for quick and responsive user experiences.Synchronize data between clients or with a central server.Handle offline scenarios seamlessly.Handle large or complex data structures without repeatedly hitting the server. Relying solely on server endpoints or basic browser storage (like localStorage) can quickly become unwieldy for larger or more complex use cases. Enter RxDB, a dedicated solution that manages data on the client side while offering real-time synchronization and offline-first capabilities. ","version":"Next","tagName":"h2"},{"title":"Introducing RxDB as a Database Solution","type":1,"pageTitle":"RxDB as a Database in a jQuery Application","url":"/articles/jquery-database.html#introducing-rxdb-as-a-database-solution","content":" RxDB (short for Reactive Database) is built on top of IndexedDB and leverages RxJS to provide a modern, reactive approach to handling data in the browser. With RxDB, you can store documents locally, query them in real-time, and synchronize changes with a remote server whenever an internet connection is available. ","version":"Next","tagName":"h2"},{"title":"Key Features","type":1,"pageTitle":"RxDB as a Database in a jQuery Application","url":"/articles/jquery-database.html#key-features","content":" Reactive Data Handling: RxDB emits real-time updates whenever your data changes, allowing you to instantly reflect these changes in the DOM with jQuery.Offline-First Approach: Keep your application usable even when the user's network is unavailable. Data is automatically synchronized once connectivity is restored.Data Replication: Enable multi-device or multi-tab synchronization with minimal effort.Observable Queries: Reduce code complexity by subscribing to queries instead of constantly polling for changes.Multi-Tab Support: If a user opens your jQuery application in multiple tabs, RxDB keeps data in sync across all sessions. 3:45 This solved a problem I've had in Angular for years ","version":"Next","tagName":"h3"},{"title":"Getting Started with RxDB","type":1,"pageTitle":"RxDB as a Database in a jQuery Application","url":"/articles/jquery-database.html#getting-started-with-rxdb","content":" ","version":"Next","tagName":"h2"},{"title":"What is RxDB?","type":1,"pageTitle":"RxDB as a Database in a jQuery Application","url":"/articles/jquery-database.html#what-is-rxdb","content":" RxDB is a client-side NoSQL database that stores data in the browser (or node.js) and synchronizes changes with other instances or servers. Its design embraces reactive programming principles, making it well-suited for real-time applications, offline scenarios, and multi-tab use cases. ","version":"Next","tagName":"h3"},{"title":"Reactive Data Handling","type":1,"pageTitle":"RxDB as a Database in a jQuery Application","url":"/articles/jquery-database.html#reactive-data-handling","content":" RxDB's use of observables enables an event-driven architecture where data mutations automatically trigger UI updates. In a jQuery application, you can subscribe to these changes and update DOM elements as soon as data changes occur - no need for manual refresh or complicated change detection logic. ","version":"Next","tagName":"h3"},{"title":"Offline-First Approach","type":1,"pageTitle":"RxDB as a Database in a jQuery Application","url":"/articles/jquery-database.html#offline-first-approach","content":" One of RxDB's distinguishing traits is its emphasis on offline-first design. This means your jQuery application continues to function, display, and update data even when there's no network connection. When connectivity is restored, RxDB synchronizes updates with the server or other peers, ensuring consistency across all instances. ","version":"Next","tagName":"h3"},{"title":"Data Replication","type":1,"pageTitle":"RxDB as a Database in a jQuery Application","url":"/articles/jquery-database.html#data-replication","content":" RxDB supports real-time data replication with different backends. By enabling replication, you ensure that multiple clients - be they multiple browser tabs or separate devices - stay in sync. RxDB's conflict resolution strategies help keep the data consistent even when multiple users make changes simultaneously. ","version":"Next","tagName":"h3"},{"title":"Observable Queries","type":1,"pageTitle":"RxDB as a Database in a jQuery Application","url":"/articles/jquery-database.html#observable-queries","content":" Instead of static queries, RxDB provides observable queries. Whenever data relevant to a query changes, RxDB re-emits the new result set. You can subscribe to these updates within your jQuery code and instantly reflect them in the UI. ","version":"Next","tagName":"h3"},{"title":"Multi-Tab Support","type":1,"pageTitle":"RxDB as a Database in a jQuery Application","url":"/articles/jquery-database.html#multi-tab-support","content":" Running your jQuery app in multiple tabs? RxDB automatically synchronizes changes between those tabs. Users can freely switch windows without missing real-time updates. ","version":"Next","tagName":"h3"},{"title":"RxDB vs. Other jQuery Database Options","type":1,"pageTitle":"RxDB as a Database in a jQuery Application","url":"/articles/jquery-database.html#rxdb-vs-other-jquery-database-options","content":" Historically, jQuery developers might use localStorage or raw IndexedDB for storing data. However, these solutions can require significant boilerplate, lack reactivity, and offer no built-in sync or conflict resolution. RxDB fills these gaps with an out-of-the-box solution, abstracting away low-level database complexities and providing an event-driven, offline-capable approach. ","version":"Next","tagName":"h3"},{"title":"Using RxDB in a jQuery Application","type":1,"pageTitle":"RxDB as a Database in a jQuery Application","url":"/articles/jquery-database.html#using-rxdb-in-a-jquery-application","content":" ","version":"Next","tagName":"h2"},{"title":"Installing RxDB","type":1,"pageTitle":"RxDB as a Database in a jQuery Application","url":"/articles/jquery-database.html#installing-rxdb","content":" Install RxDB (and rxjs) via npm or yarn: npm install rxdb rxjs If your project isn't set up with a build process, you can still use bundlers like Webpack or Rollup, or serve RxDB as a UMD bundle. Once included, you'll have access to RxDB globally or via import statements. ","version":"Next","tagName":"h3"},{"title":"Creating and Configuring a Database","type":1,"pageTitle":"RxDB as a Database in a jQuery Application","url":"/articles/jquery-database.html#creating-and-configuring-a-database","content":" Below is a minimal example of how to create an RxDB instance and collection. You can call this when your page initializes, then store the db object for later use: import { createRxDatabase } from 'rxdb'; import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage'; async function initDatabase() { const db = await createRxDatabase({ name: 'heroesdb', storage: getRxStorageLocalstorage(), password: 'myPassword', // optional encryption password multiInstance: true, // multi-tab support eventReduce: true // optimizes event handling }); await db.addCollections({ hero: { schema: { title: 'hero schema', version: 0, primaryKey: 'id', type: 'object', properties: { id: { type: 'string' }, name: { type: 'string' }, points: { type: 'number' } } } } }); return db; } ","version":"Next","tagName":"h2"},{"title":"Updating the DOM with jQuery","type":1,"pageTitle":"RxDB as a Database in a jQuery Application","url":"/articles/jquery-database.html#updating-the-dom-with-jquery","content":" Once you have your RxDB instance, you can query data reactively and use jQuery to manipulate the DOM: // Example: Displaying heroes using jQuery $(document).ready(async function () { const db = await initDatabase(); // Subscribing to all hero documents db.hero .find() .$ // the observable .subscribe((heroes) => { // Clear the list $('#heroList').empty(); // Append each hero to the DOM heroes.forEach((hero) => { $('#heroList').append(` <li> <strong>${hero.name}</strong> - Points: ${hero.points} </li> `); }); }); // Example of adding a new hero $('#addHeroBtn').on('click', async () => { const heroName = $('#heroName').val(); const heroPoints = parseInt($('#heroPoints').val(), 10); await db.hero.insert({ id: Date.now().toString(), name: heroName, points: heroPoints }); }); }); With this approach, any time data in the hero collection changes - like when a new hero is added - your jQuery code re-renders the list of heroes automatically. ","version":"Next","tagName":"h2"},{"title":"Different RxStorage layers for RxDB","type":1,"pageTitle":"RxDB as a Database in a jQuery Application","url":"/articles/jquery-database.html#different-rxstorage-layers-for-rxdb","content":" RxDB supports multiple storage backends (RxStorage layers). Some popular ones: LocalStorage.js RxStorage: Uses the browsers localstorage. Fast and easy to set up.IndexedDB RxStorage: Direct IndexedDB usage, suitable for modern browsers.OPFS RxStorage: Uses the File System Access API for better performance in supported browsers.Memory RxStorage: Stores data in memory, handy for tests or ephemeral data.SQLite RxStorage: Uses SQLite (potentially via WebAssembly). In typical browser-based scenarios, localstorage or IndexedDB storage is usually more straightforward. ","version":"Next","tagName":"h2"},{"title":"Synchronizing Data with RxDB between Clients and Servers","type":1,"pageTitle":"RxDB as a Database in a jQuery Application","url":"/articles/jquery-database.html#synchronizing-data-with-rxdb-between-clients-and-servers","content":" ","version":"Next","tagName":"h2"},{"title":"Offline-First Approach","type":1,"pageTitle":"RxDB as a Database in a jQuery Application","url":"/articles/jquery-database.html#offline-first-approach-1","content":" RxDB's offline-first approach allows your jQuery application to store and query data locally. Users can continue interacting, even offline. When connectivity returns, RxDB syncs to the server. ","version":"Next","tagName":"h3"},{"title":"Conflict Resolution","type":1,"pageTitle":"RxDB as a Database in a jQuery Application","url":"/articles/jquery-database.html#conflict-resolution","content":" Should multiple clients update the same document, RxDB offers conflict handling strategies. You decide how to resolve conflicts - like keeping the latest edit or merging changes - ensuring data integrity across distributed systems. ","version":"Next","tagName":"h3"},{"title":"Bidirectional Synchronization","type":1,"pageTitle":"RxDB as a Database in a jQuery Application","url":"/articles/jquery-database.html#bidirectional-synchronization","content":" With RxDB, data changes flow both ways: from client to server and from server to client. This real-time synchronization ensures that all users or tabs see consistent, up-to-date data. ","version":"Next","tagName":"h3"},{"title":"Advanced RxDB Features and Techniques","type":1,"pageTitle":"RxDB as a Database in a jQuery Application","url":"/articles/jquery-database.html#advanced-rxdb-features-and-techniques","content":" ","version":"Next","tagName":"h2"},{"title":"Indexing and Performance Optimization","type":1,"pageTitle":"RxDB as a Database in a jQuery Application","url":"/articles/jquery-database.html#indexing-and-performance-optimization","content":" Create indexes on frequently queried fields to speed up performance. For large data sets, indexing can drastically improve query times, keeping your jQuery UI snappy. ","version":"Next","tagName":"h3"},{"title":"Encryption of Local Data","type":1,"pageTitle":"RxDB as a Database in a jQuery Application","url":"/articles/jquery-database.html#encryption-of-local-data","content":" RxDB supports encryption to secure data stored in the browser. This is crucial if your application handles sensitive user information. ","version":"Next","tagName":"h3"},{"title":"Change Streams and Event Handling","type":1,"pageTitle":"RxDB as a Database in a jQuery Application","url":"/articles/jquery-database.html#change-streams-and-event-handling","content":" Use change streams to listen for data modifications at the database or collection level. This can trigger real-timeUI updates, notifications, or custom logic whenever the data changes. ","version":"Next","tagName":"h3"},{"title":"JSON Key Compression","type":1,"pageTitle":"RxDB as a Database in a jQuery Application","url":"/articles/jquery-database.html#json-key-compression","content":" If your data model has large or repetitive field names, JSON key compression can minimize stored document size and potentially boost performance. ","version":"Next","tagName":"h3"},{"title":"Best Practices for Using RxDB in jQuery Applications","type":1,"pageTitle":"RxDB as a Database in a jQuery Application","url":"/articles/jquery-database.html#best-practices-for-using-rxdb-in-jquery-applications","content":" Centralize Your Database: Initialize and configure RxDB in one place. Expose the instance where needed or store it globally to avoid re-creating it on every script.Leverage Observables: Instead of polling or manually refreshing data, rely on RxDB's reactivity. Subscribe to queries and let RxDB inform you when data changes.Handle Subscriptions: If you create subscriptions in a single-page context, ensure you don't re-subscribe endlessly or create memory leaks. Clean them up if you're navigating away or removing DOM elements.Offline Testing: Thoroughly test how your jQuery app behaves without a network connection. Simulate offline states in your browser's dev tools or with flight mode to ensure the user experience remains smooth.Performance Profiling: For large data sets or frequent data updates, add indexes and carefully measure query performance. Optimize only where needed. ","version":"Next","tagName":"h2"},{"title":"Follow Up","type":1,"pageTitle":"RxDB as a Database in a jQuery Application","url":"/articles/jquery-database.html#follow-up","content":" To explore more about RxDB and leverage its capabilities for browser database development, check out the following resources: RxDB GitHub Repository: Visit the official GitHub repository of RxDB to access the source code, documentation, and community support.RxDB Quickstart: Get started quickly with RxDB by following the provided quickstart guide, which offers step-by-step instructions for setting up and using RxDB in your projects.RxDB Examples: Browse official examples to see RxDB in action and learn best practices you can apply to your own project - even if jQuery isn't explicitly featured, the patterns are similar. ","version":"Next","tagName":"h2"},{"title":"JSON-Based Databases: Why NoSQL and RxDB Simplify App Development","type":0,"sectionRef":"#","url":"/articles/json-based-database.html","content":"","keywords":"","version":"Next"},{"title":"Why JSON-Based Databases Are Typically NoSQL","type":1,"pageTitle":"JSON-Based Databases: Why NoSQL and RxDB Simplify App Development","url":"/articles/json-based-database.html#why-json-based-databases-are-typically-nosql","content":" ","version":"Next","tagName":"h2"},{"title":"Document-Oriented by Nature","type":1,"pageTitle":"JSON-Based Databases: Why NoSQL and RxDB Simplify App Development","url":"/articles/json-based-database.html#document-oriented-by-nature","content":" When your data is stored as JSON, each record or document can hold nested arrays and sub-objects with no forced table schema. NoSQL solutions such as MongoDB, CouchDB, Firebase, and RxDB store and retrieve these documents in their “raw” JSON form. This model integrates smoothly with how front-end applications already handle data, minimizing transformations and improving developer productivity. ","version":"Next","tagName":"h3"},{"title":"Flexible, Schema-Agnostic","type":1,"pageTitle":"JSON-Based Databases: Why NoSQL and RxDB Simplify App Development","url":"/articles/json-based-database.html#flexible-schema-agnostic","content":" Traditional SQL tables enforce rigid column definitions and demand explicit schema migrations when you add or rename a field. By contrast, NoSQL solutions accept more dynamic data structures, allowing changes on the fly. This means a front-end developer can add a new field to a JSON object—perhaps for a new feature—without the friction of redefining or migrating a database schema. While this is possible, it is often not recommended. ","version":"Next","tagName":"h3"},{"title":"Aligned With Evolving User Interfaces","type":1,"pageTitle":"JSON-Based Databases: Why NoSQL and RxDB Simplify App Development","url":"/articles/json-based-database.html#aligned-with-evolving-user-interfaces","content":" As modern UIs frequently manipulate deeply nested or changing data, developers find it easier to store whole objects directly, saving time that might otherwise be spent performing complex joins or normalizing data. For instance, frameworks like React, Vue, or Angular are inherently comfortable with nested JSON structures, which map more directly to NoSQL’s “document” approach than to relational tables. ","version":"Next","tagName":"h3"},{"title":"Is NoSQL “Better” Than SQL?","type":1,"pageTitle":"JSON-Based Databases: Why NoSQL and RxDB Simplify App Development","url":"/articles/json-based-database.html#is-nosql-better-than-sql","content":" It depends on your application. SQL remains exceptional for complex aggregations, enforced relationships, and sophisticated transaction handling. But NoSQL is often more intuitive and easier to maintain for “document-first” applications that: Thrive on flexible or rapidly evolving data models.Rely on hierarchical or nested JSON objects.Avoid multi-table joins.Require easy horizontal scaling for large sets of documents. Relational databases are still a top choice for many enterprise back-ends, especially when advanced analytics or strongly enforced referential integrity is needed. But if your application is predominantly storing and manipulating JSON documents (e.g., user profiles, real-time chat logs, embedded items), a JSON-based or document-oriented approach can greatly reduce friction during development. ","version":"Next","tagName":"h2"},{"title":"When to Prefer SQL Instead of JSON/NoSQL","type":1,"pageTitle":"JSON-Based Databases: Why NoSQL and RxDB Simplify App Development","url":"/articles/json-based-database.html#when-to-prefer-sql-instead-of-jsonnosql","content":" NoSQL solutions—particularly JSON-based document stores—provide a natural fit for flexible, nested data in UI-heavy applications. However, certain scenarios may benefit more from a SQL solution: Complex Relationships: If your data demands intricate joins across multiple entities (e.g., many-to-many relationships that can’t easily be embedded in a single document), a well-structured relational schema can simplify queries.Strong Integrity and Constraints: SQL excels at enforcing constraints such as foreign keys, unique constraints, and advanced triggers. If your system needs strict data validation and complex business logic within the database, SQL might prove more robust.High-End Analytical Queries: Relational databases can handle sophisticated aggregations, groupings, and joins more efficiently. If your app frequently runs advanced SQL queries, a NoSQL approach may complicate or slow down analytics.Legacy Integration: Many enterprise systems are built around existing relational schemas. A purely NoSQL approach might mean rewriting or bridging systems that are heavily reliant on SQL constraints and transformations.Transaction Handling: While many NoSQL solutions have improved transaction support, it can still lag behind well-established SQL transaction models. If ACID properties and multi-operation atomicity are paramount, you might prefer a tried-and-true relational engine. In short, if you prioritize advanced relational queries, robust constraints, or complex business rules at the database level, SQL remains a powerful, and possibly superior, choice. For user-centric, fast-evolving JSON data, though, NoSQL or JSON-based solutions often reduce the friction of frequent schema changes. ","version":"Next","tagName":"h2"},{"title":"Storing JSON in Traditional SQL Databases","type":1,"pageTitle":"JSON-Based Databases: Why NoSQL and RxDB Simplify App Development","url":"/articles/json-based-database.html#storing-json-in-traditional-sql-databases","content":" ","version":"Next","tagName":"h2"},{"title":"JSON Columns in PostgreSQL or MySQL","type":1,"pageTitle":"JSON-Based Databases: Why NoSQL and RxDB Simplify App Development","url":"/articles/json-based-database.html#json-columns-in-postgresql-or-mysql","content":" To accommodate the demand for flexible data, several SQL engines (notably PostgreSQL and MySQL) introduced support for JSON columns. PostgreSQL offers the JSON and JSONB types, enabling developers to store raw JSON in a column. You can also index specific paths within the JSON to speed lookups on nested fields: CREATE TABLE products ( id SERIAL PRIMARY KEY, name TEXT, details JSONB ); -- Insert a record with JSON data INSERT INTO products (name, details) VALUES ('Laptop', '{"brand": "BrandX", "features": ["Touchscreen", "SSD"]}'); Although this approach merges the best of both worlds (SQL queries + flexible JSON fields), it can also create a “split personality” in your schema. You might store stable data in normal columns, while unpredictable or nested details live inside a JSONB field. Some projects flourish with this hybrid design, others find it a bit unwieldy. ","version":"Next","tagName":"h3"},{"title":"Storing JSON in SQLite","type":1,"pageTitle":"JSON-Based Databases: Why NoSQL and RxDB Simplify App Development","url":"/articles/json-based-database.html#storing-json-in-sqlite","content":" SQLite also allows storing JSON data, typically as text columns, but with some additional features since SQLite 3.9 (2015) including the JSON1 extension. This extension can parse JSON text, perform queries on JSON fields, and do partial updates. However, storing JSON in SQLite does require you to ensure you’ve compiled SQLite with JSON1 support or to rely on a library that bundles it. While possible, you still won't get quite the same schema-agnostic ease as a full document store, but it’s a pragmatic solution for smaller or embedded needs on the server side—or occasionally in the browser if you run SQLite via WebAssembly. RxDB uses this in its SQLite storage. ","version":"Next","tagName":"h2"},{"title":"JSON vs. Database - Why a Plain JSON Text File is a Problem","type":1,"pageTitle":"JSON-Based Databases: Why NoSQL and RxDB Simplify App Development","url":"/articles/json-based-database.html#json-vs-database---why-a-plain-json-text-file-is-a-problem","content":" Some developers consider storing everything in a single JSON file, typically read and written directly from disk or local storage. This approach, while seemingly simple, usually does not scale. Key issues include: No Concurrency: If multiple parts of the application try to write to the same JSON file, you risk overwriting changes.No Indexes: Finding or filtering items in large JSON text requires scanning everything. This is slow and quickly becomes unmanageable.No Partial Updates: You often reload the entire file, modify it in memory, then write it back, which is highly inefficient for large data sets.Corruption Risk: A single corrupted write or partial save might break the entire JSON file, losing all data.High Memory Usage: The entire file may need to be parsed into memory, even if you only need a fraction of the data. Databases—relational or NoSQL—solve these issues by handling concurrency, enabling partial reads/writes, establishing indexes, and ensuring transactional integrity so you don’t lose everything if the process is interrupted mid-write. ","version":"Next","tagName":"h2"},{"title":"RxDB: A JSON-Focused Database for JavaScript Apps","type":1,"pageTitle":"JSON-Based Databases: Why NoSQL and RxDB Simplify App Development","url":"/articles/json-based-database.html#rxdb-a-json-focused-database-for-javascript-apps","content":" Many NoSQL databases operate on the server, whereas RxDB is built for client-side usage—browsers, mobile apps, or Node.js. It specializes in JSON documents and embraces an offline-first philosophy. ","version":"Next","tagName":"h2"},{"title":"Key Characteristics","type":1,"pageTitle":"JSON-Based Databases: Why NoSQL and RxDB Simplify App Development","url":"/articles/json-based-database.html#key-characteristics","content":" Local JSON Storage RxDB stores each record as a JSON document, closely matching how front-end frameworks handle state. This eliminates complex transformations or manual JSON parsing before writing to a table. Reactive Queries Instead of complex SQL, RxDB uses JSON-based query definitions. You can subscribe to query results, letting your UI automatically refresh when data changes locally or from remote sync updates: Offline-First Sync Built-in replication plugins push/pull changes to or from a remote server. If your app is offline, updates get stored locally, then sync up seamlessly once a connection is available. Optional JSON-Schema Though it’s a document database, RxDB encourages you to define a JSON-based schema for clarity, indexing, and type validation. This helps maintain data consistency while still allowing a measure of flexibility for new fields. ","version":"Next","tagName":"h3"},{"title":"Advanced JSON Features in RxDB","type":1,"pageTitle":"JSON-Based Databases: Why NoSQL and RxDB Simplify App Development","url":"/articles/json-based-database.html#advanced-json-features-in-rxdb","content":" JSON-Schema: By specifying a JSON-Schema, you can define which fields exist, whether they are required, and their data types. This is invaluable for catching malformed documents early and imposing mild structure in a NoSQL setting. JSON Key-Compression: Large, verbose field names can bloat storage usage. RxDB’s optional key-compression plugin automatically shortens field names in your JSON documents internally, reducing disk space and bandwidth: // Example: how key-compression can transform your documents const uncompressed = { "firstName": "Corrine", "lastName": "Ziemann", "shoppingCartItems": [ { "productNumber": 29857, "amount": 1 }, { "productNumber": 53409, "amount": 6 } ] }; const compressed = { "|e": "Corrine", "|g": "Ziemann", "|i": [ { "|h": 29857, "|b": 1 }, { "|h": 53409, "|b": 6 } ] }; The user sees no difference in their code—RxDB automatically decompresses data on read—but the overhead is drastically reduced behind the scenes. ","version":"Next","tagName":"h3"},{"title":"Follow Up","type":1,"pageTitle":"JSON-Based Databases: Why NoSQL and RxDB Simplify App Development","url":"/articles/json-based-database.html#follow-up","content":" JSON-based databases naturally align with NoSQL because they accommodate evolving, nested data without rigid schemas. This makes them appealing for many UI-centric or offline-first applications where flexible documents and agile development cycles matter more than heavy relational queries or constraints. SQL can still store JSON—whether in PostgreSQL’s JSONB columns, MySQL’s JSON fields, or SQLite’s JSON1 extension. For some teams, a hybrid approach pairing SQL for relational data with JSON columns for more flexible fields works well. However, storing everything in a single monolithic JSON text file is rarely advisable for anything beyond trivial tasks—databases excel at concurrency, indexing, and partial writes. Tools like RxDB provide an even simpler, local-first take on JSON documents—particularly for JavaScript projects. With offline replication, reactive queries, optional JSON-Schema, and advanced optimizations such as key-compression, RxDB streamlines building dynamic, user-facing features while preserving the core benefits of a robust document database. To explore more about RxDB and its capabilities for browser database development, check out the following resources: RxDB GitHub Repository: Visit the official GitHub repository of RxDB to access the source code, documentation, and community support.RxDB Quickstart: Get started quickly with RxDB by following the provided quickstart guide, which offers step-by-step instructions for setting up and using RxDB in your projects.RxDB Examples: Browse official examples to see RxDB in action and learn best practices you can apply to your own project - even if jQuery isn't explicitly featured, the patterns are similar. ","version":"Next","tagName":"h2"},{"title":"RxDB - JSON Database for JavaScript","type":0,"sectionRef":"#","url":"/articles/json-database.html","content":"","keywords":"","version":"Next"},{"title":"Why Choose a JSON Database?","type":1,"pageTitle":"RxDB - JSON Database for JavaScript","url":"/articles/json-database.html#why-choose-a-json-database","content":" JavaScript Friendliness: JavaScript, a prevalent language for web development, naturally uses JSON for data representation. Using a JSON database aligns seamlessly with JavaScript's native data format. Compatibility: JSON is widely supported across different programming languages and platforms. Storing data in JSON format ensures compatibility with a broad range of tools and systems. All modern programming ecosystems have packages to parse, validate and process JSON data. Flexibility: JSON documents can accommodate complex and nested data structures, allowing developers to store data in a more intuitive and hierarchical manner compared to SQL table rows. Nested data can be just stored in-document instead of having related tables. Human-Readable: JSON is easy to read and understand, simplifying debugging and data inspection tasks. ","version":"Next","tagName":"h2"},{"title":"Storage and Access Options for JSON Documents","type":1,"pageTitle":"RxDB - JSON Database for JavaScript","url":"/articles/json-database.html#storage-and-access-options-for-json-documents","content":" When incorporating JSON documents into your application, you have several storage and access options to consider: Local In-App Database with In-Memory Storage: Ideal for lightweight applications or temporary data storage, this option keeps data in memory, ensuring fast read and write operations. However, data is not persistet beyond the current application session, making it suitable for temporary data storage. With RxDB, the memory RxStorage can be utilized to create an in-memory database. Local In-App Database with Persistent Storage: Suitable for applications requiring data retention across sessions. Data is stored on the user's device or inside of the Node.js application, offering persistence between application sessions. It balances speed and data retention, making it versatile for various applications. With RxDB, a whole range of persistent storages is available. As example, for browser there is the IndexedDB storage. For server side applications, the Node.js Filesystem storage can be used. There are many more storages for React-Native, Flutter, Capacitors.js and others. Server Database Connected to the Application: For applications requiring data synchronization and accessibility from multiple processes, a server-based database is the preferred choice. Data is stored on a remote server, facilitating data sharing, synchronization, and accessibility across multiple processes. It's suitable for scenarios requiring centralized data management and enhanced security and backup capabilities on the server. RxDB supports the FoundationDB and MongoDB as a remote database server. ","version":"Next","tagName":"h2"},{"title":"Compression Storage for JSON Documents","type":1,"pageTitle":"RxDB - JSON Database for JavaScript","url":"/articles/json-database.html#compression-storage-for-json-documents","content":" Compression storage for JSON documents is made effortless with RxDB's key-compression plugin. This feature enables the efficient storage of compressed document data, reducing storage requirements while maintaining data integrity. Queries on compressed documents remain seamless, ensuring that your application benefits from both space-saving advantages and optimal query performance, making RxDB a compelling choice for managing JSON data efficiently. The compression happens inside of the RxDatabase and does not affect the API usage. The only limitation is that encrypted fields themself cannot be used inside a query. ","version":"Next","tagName":"h2"},{"title":"Schema Validation and Data Migration on Schema Changes","type":1,"pageTitle":"RxDB - JSON Database for JavaScript","url":"/articles/json-database.html#schema-validation-and-data-migration-on-schema-changes","content":" Storing JSON documents inside of a database in an application, can cause a problem when the format of the data changes. Instead of having a single server where the data must be migrated, many client devices are out there that have to run a migration. When your application's schema evolves, RxDB provides migration strategies to facilitate the transition, ensuring data consistency throughout schema updates. JSONSchema Validation Plugins: RxDB supports multiple JSONSchema validation plugins, guaranteeing that only valid data is stored in the database. RxDB uses the JsonSchema standardization that you might know from other technologies like OpenAPI (aka Swagger). // RxDB Schema example const mySchema = { version: 0, primaryKey: 'id', // <- define the primary key for your documents type: 'object', properties: { id: { type: 'string', maxLength: 100 // <- the primary key must have set maxLength }, name: { type: 'string', maxLength: 100 }, done: { type: 'boolean' }, timestamp: { type: 'string', format: 'date-time' } }, required: ['id', 'name', 'done', 'timestamp'] } ","version":"Next","tagName":"h2"},{"title":"Store JSON with RxDB in Browser Applications","type":1,"pageTitle":"RxDB - JSON Database for JavaScript","url":"/articles/json-database.html#store-json-with-rxdb-in-browser-applications","content":" RxDB offers versatile storage solutions for browser-based applications: Multiple Storage Plugins: RxDB supports various storage backends, including IndexedDB, localstorage and In-Memory, catering to a range of browser environments. Observable Queries: With RxDB, you can create observable queries that work seamlessly across multiple browser tabs, providing real-time updates and synchronization. ","version":"Next","tagName":"h2"},{"title":"RxDB JSON Database Performance","type":1,"pageTitle":"RxDB - JSON Database for JavaScript","url":"/articles/json-database.html#rxdb-json-database-performance","content":" Certainly! Let's delve deeper into the performance aspects of RxDB when it comes to working with JSON data. Efficient Querying: RxDB is engineered for rapid and efficient querying of JSON data. It employs a well-optimized indexing system that allows for lightning-fast retrieval of specific data points within your JSON documents. Whether you're fetching individual values or complex nested structures, RxDB's query performance is designed to keep your application responsive, even when dealing with large datasets. Scalability: As your application grows and your JSON dataset expands, RxDB scales gracefully. Its performance remains consistent, enabling you to handle increasingly larger volumes of data without compromising on speed or responsiveness. This scalability is essential for applications that need to accommodate growing user bases and evolving data needs. Reduced Latency: RxDB's streamlined data access mechanisms significantly reduce latency when working with JSON data. Whether you're reading from the database, making updates, or synchronizing data between clients and servers, RxDB's optimized operations help minimize the delays often associated with data access. Observed queries are optimized with the EventReduce algorithm to provide nearly-instand UI updates on data changes. RxStorage Layer: Because RxDB allows you to swap out the storage layer. A storage with the most optimal performance can be chosen for each runtime while not touching other database code. Depending on the access patterns, you can pick exactly the storage that is best: ","version":"Next","tagName":"h2"},{"title":"RxDB in Node.js","type":1,"pageTitle":"RxDB - JSON Database for JavaScript","url":"/articles/json-database.html#rxdb-in-nodejs","content":" Node.js developers can also benefit from RxDB's capabilities. By integrating RxDB into your Node.js applications, you can harness the power of a NoSQL JSON db to efficiently manage your data on the server-side. RxDB's flexibility, performance, and essential features are equally valuable in server-side development. Read more about RxDB+Node.js. ","version":"Next","tagName":"h2"},{"title":"RxDB to store JSON documents in React Native","type":1,"pageTitle":"RxDB - JSON Database for JavaScript","url":"/articles/json-database.html#rxdb-to-store-json-documents-in-react-native","content":" For mobile app developers working with React Native, RxDB offers a convenient solution for handling JSON data. Whether you're building Android or iOS applications, RxDB's compatibility with JavaScript and its ability to work with JSON documents make it a natural choice for data management within your React Native apps. Read more about RxDB+React-Native. ","version":"Next","tagName":"h2"},{"title":"Using SQLite as a JSON Database","type":1,"pageTitle":"RxDB - JSON Database for JavaScript","url":"/articles/json-database.html#using-sqlite-as-a-json-database","content":" In some cases, you might want to use SQLite as a backend storage solution for your JSON data. RxDB can be configured to work with SQLite, providing the benefits of both a relational database system and JSON document storage. This hybrid approach can be advantageous when dealing with complex data relationships while retaining the flexibility of JSON data representation. ","version":"Next","tagName":"h2"},{"title":"Follow Up","type":1,"pageTitle":"RxDB - JSON Database for JavaScript","url":"/articles/json-database.html#follow-up","content":" To further explore RxDB and get started with using it in your frontend applications, consider the following resources: RxDB Quickstart: A step-by-step guide to quickly set up RxDB in your project and start leveraging its features.RxDB GitHub Repository: The official repository for RxDB, where you can find the code, examples, and community support. By embracing RxDB as your JSON database solution, you can tap into the extensive capabilities of JSON data storage. This empowers your applications with offline accessibility, caching, enhanced performance, and effortless data synchronization. RxDB's focus on JavaScript and its robust feature set render it the perfect selection for frontend developers in pursuit of efficient and scalable data storage solutions. ","version":"Next","tagName":"h2"},{"title":"What is a Local Database and Why RxDB is the Best Local Database for JavaScript Applications","type":0,"sectionRef":"#","url":"/articles/local-database.html","content":"","keywords":"","version":"Next"},{"title":"Use Cases of Local Databases","type":1,"pageTitle":"What is a Local Database and Why RxDB is the Best Local Database for JavaScript Applications","url":"/articles/local-database.html#use-cases-of-local-databases","content":" Local databases are particularly beneficial for: Offline Functionality: Essential for apps that must remain usable without a consistent internet connection, such as note-taking apps or offline-first CRMs. Users can continue adding and editing data, then sync changes once they reconnect.Low Latency: By reducing round-trips to remote servers, local databases enable real-time responsiveness. This feature is critical for interactive applications such as gaming platforms, data dashboards, or analytics tools that need near-instant feedback.Data Synchronization: Many modern applications - like chat systems or collaborative editing tools - require continuous data exchange between multiple users or devices. Local databases can handle intermittent connectivity gracefully, queuing updates locally and syncing them when possible. In addition, local databases are increasingly integral to Progressive Web Apps (PWAs), offering a native app-like user experience that is fast and available, even when offline. ","version":"Next","tagName":"h3"},{"title":"Performance Optimization","type":1,"pageTitle":"What is a Local Database and Why RxDB is the Best Local Database for JavaScript Applications","url":"/articles/local-database.html#performance-optimization","content":" The primary performance benefit of a local database is its proximity to the application: queries and updates happen directly on the user's device, eliminating the overhead of multiple network hops. Common optimizations include: Caching: Storing frequently accessed data in memory or on disk to minimize expensive operations.Batching Writes: Grouping database operations into a single write transaction to reduce overhead and lock contention.Efficient Indexing: Using appropriate indexes to speed up queries, especially important for applications that handle large data sets or frequent lookups. These techniques ensure that local databases run smoothly, even on lower-powered or mobile devices. ","version":"Next","tagName":"h3"},{"title":"Security and Encryption","type":1,"pageTitle":"What is a Local Database and Why RxDB is the Best Local Database for JavaScript Applications","url":"/articles/local-database.html#security-and-encryption","content":" Storing data on user devices introduces unique security considerations, such as the risk of physical theft or unauthorized access. Consequently, many local databases support encryption options to safeguard sensitive information. Developers can implement additional security measures like device-level encryption, secure storage plugins, and user authentication to further protect data from prying eyes. ","version":"Next","tagName":"h3"},{"title":"Why RxDB is Optimized for JavaScript Applications","type":1,"pageTitle":"What is a Local Database and Why RxDB is the Best Local Database for JavaScript Applications","url":"/articles/local-database.html#why-rxdb-is-optimized-for-javascript-applications","content":" RxDB (Reactive Database) is an offline-first, NoSQL database designed to meet the needs of modern JavaScript applications. Built with a focus on reactivity and real-time data handling, RxDB excels in scenarios where low-latency, offline availability, and scalability are essential. ","version":"Next","tagName":"h2"},{"title":"Real-Time Reactivity","type":1,"pageTitle":"What is a Local Database and Why RxDB is the Best Local Database for JavaScript Applications","url":"/articles/local-database.html#real-time-reactivity","content":" At the core of RxDB is reactive programming, allowing you to subscribe to changes in your data collections and receive immediate UI updates when records change - no manual polling or refetching required. For instance, a chat application can display incoming messages as soon as they arrive, maintaining a smooth and responsive experience. ","version":"Next","tagName":"h3"},{"title":"Offline-First Support","type":1,"pageTitle":"What is a Local Database and Why RxDB is the Best Local Database for JavaScript Applications","url":"/articles/local-database.html#offline-first-support","content":" RxDB's primary design goal is to work seamlessly in offline environments. Even if your device loses internet connectivity, RxDB enables you to continue reading and writing data. Once the connection is restored, all pending changes are automatically synchronized with your backend. This offline-first approach is ideal for productivity apps, field service tools, and other scenarios where reliability and user autonomy are paramount. ","version":"Next","tagName":"h3"},{"title":"Flexible Data Replication","type":1,"pageTitle":"What is a Local Database and Why RxDB is the Best Local Database for JavaScript Applications","url":"/articles/local-database.html#flexible-data-replication","content":" A standout feature of RxDB is its bi-directional replication. It supports synchronization with a variety of backends, such as: CouchDB: Via the CouchDB replication, facilitating easy integration with any Couch-compatible server.GraphQL Endpoints: Through community plugins, developers can replicate JSON documents to and from GraphQL servers.Custom Backends: RxDB provides hooks to build custom replication strategies for proprietary or specialized server APIs. This flexibility ensures that RxDB fits into diverse architectures without locking you into a single vendor or technology stack. ","version":"Next","tagName":"h3"},{"title":"Schema Validation and Versioning","type":1,"pageTitle":"What is a Local Database and Why RxDB is the Best Local Database for JavaScript Applications","url":"/articles/local-database.html#schema-validation-and-versioning","content":" Rather than relying on implicit data models, RxDB leverages JSON schema to define document structures. This approach promotes data consistency by enforcing constraints such as required fields and acceptable data formats. As your application grows and changes, RxDB's built-in schema versioning and migration tools help you evolve your database schema safely, minimizing risks of data corruption or loss. ","version":"Next","tagName":"h3"},{"title":"Rich Plugin Ecosystem","type":1,"pageTitle":"What is a Local Database and Why RxDB is the Best Local Database for JavaScript Applications","url":"/articles/local-database.html#rich-plugin-ecosystem","content":" One of RxDB's greatest strengths is its pluggable architecture, allowing you to add functionality as needed: Encryption: Secure your data at rest using advanced encryption plugins.Full-Text Search: Integrate powerful text search capabilities for applications that require quick and flexible query options.Storage Adapters: Swap out the underlying storage layer (e.g., IndexedDB in the browser, SQLite in React Native, or a custom engine) without rewriting your application logic. You can fine-tune RxDB to your exact needs, avoiding the performance overhead of unnecessary features. ","version":"Next","tagName":"h3"},{"title":"Multi-Platform Compatibility","type":1,"pageTitle":"What is a Local Database and Why RxDB is the Best Local Database for JavaScript Applications","url":"/articles/local-database.html#multi-platform-compatibility","content":" RxDB is a perfect fit for cross-platform development, as it supports numerous environments: Browsers (IndexedDB): For web and PWA projects.Node.js: Ideal for server-side rendering or background services.React Native: Leverage SQLite or other adapters for mobile app development.Electron: Create offline-capable desktop apps with a unified codebase. This versatility empowers teams to reuse application logic across multiple platforms while maintaining a consistent data model. ","version":"Next","tagName":"h3"},{"title":"Performance Optimization","type":1,"pageTitle":"What is a Local Database and Why RxDB is the Best Local Database for JavaScript Applications","url":"/articles/local-database.html#performance-optimization-1","content":" With lazy loading of data and the ability to utilize efficient storage engines, RxDB delivers high-speed operations and quick response times. By minimizing disk I/O and leveraging indexes effectively, RxDB ensures that even large-scale applications remain performant. Its reactive nature also helps avoid unnecessary re-renders, improving the end-user experience. ","version":"Next","tagName":"h3"},{"title":"Proven Reliability","type":1,"pageTitle":"What is a Local Database and Why RxDB is the Best Local Database for JavaScript Applications","url":"/articles/local-database.html#proven-reliability","content":" RxDB is battle-tested in production environments, handling use cases from small single-user applications to large-scale enterprise solutions. Its robust replication mechanism resolves conflicts, manages concurrent writes, and ensures data integrity. The active open-source community provides ongoing support, documentation updates, and feature improvements. ","version":"Next","tagName":"h3"},{"title":"Developer-Friendly Features","type":1,"pageTitle":"What is a Local Database and Why RxDB is the Best Local Database for JavaScript Applications","url":"/articles/local-database.html#developer-friendly-features","content":" For developers, RxDB offers: Straightforward APIs: Built on top of familiar JavaScript paradigms like promises and observables.Excellent Documentation: Detailed guides, tutorials, and references for every major feature.Rich Community Support: Benefit from an active ecosystem of contributors creating plugins, answering questions, and maintaining core libraries. These qualities streamline development, making RxDB an appealing choice for teams of all sizes. ","version":"Next","tagName":"h3"},{"title":"Follow Up","type":1,"pageTitle":"What is a Local Database and Why RxDB is the Best Local Database for JavaScript Applications","url":"/articles/local-database.html#follow-up","content":" Ready to get started? Here are some next steps: Try the Quickstart Tutorial and build a basic project to see RxDB in action.Compare RxDB with other local database solutions to determine the best fit for your unique requirements. Ultimately, RxDB is more than just a database - it's a robust, reactive toolkit that empowers you to build fast, resilient, and user-centric applications. Whether you're creating an offline-first note-taking app or a real-time collaborative platform, RxDB can handle your local storage needs with ease and flexibility. ","version":"Next","tagName":"h2"},{"title":"Local Vector Database with RxDB and transformers.js in JavaScript","type":0,"sectionRef":"#","url":"/articles/javascript-vector-database.html","content":"","keywords":"","version":"Next"},{"title":"What is a Vector Database?","type":1,"pageTitle":"Local Vector Database with RxDB and transformers.js in JavaScript","url":"/articles/javascript-vector-database.html#what-is-a-vector-database","content":" A vector database is a specialized database optimized for storing and querying data in the form of high-dimensional vectors, often referred to as embeddings. These embeddings are numerical representations of data, such as text, images, or audio, created by machine learning models like MiniLM. Unlike traditional databases that work with exact matches on predefined fields, vector databases focus on semantic similarity, allowing you to query data based on meaning rather than exact values. A vector, or embedding, is essentially an array of numbers, like [0.56, 0.12, -0.34, -0.90]. For example, instead of asking "Which document has the word 'database'?", you can query "Which documents discuss similar topics to this one?" The vector database compares embeddings and returns results based on how similar the vectors are to each other. Vector databases handle multiple types of data beyond text, including images, videos, and audio files, all transformed into embeddings for efficient querying. Mostly you would not train a model by yourself and instead use one of the public available transformer models. Vector databases are highly effective in various types of applications: Similarity Search: Finds the closest matches to a query, even when the query doesn't contain the exact terms.Clustering: Groups similar items based on the proximity of their vector representations.Recommendations: Suggests items based on shared characteristics.Anomaly Detection: Identifies outliers that differ from the norm.Classification: Assigns categories to data based on its vector's nearest neighbors. In this tutorial, we will build a vector database designed as a Similarity Search for text. For other use cases, the setup can be adapted accordingly. This flexibility is why RxDB doesn't provide a dedicated vector-database plugin, but rather offers utility functions to help you build your own vector search system. ","version":"Next","tagName":"h2"},{"title":"Generating Embeddings Locally in a Browser","type":1,"pageTitle":"Local Vector Database with RxDB and transformers.js in JavaScript","url":"/articles/javascript-vector-database.html#generating-embeddings-locally-in-a-browser","content":" For the first step to build a local-first vector database we need to compute embeddings directly on the user's device. This is where transformers.js from huggingface comes in, allowing us to run machine learning models in the browser with WebAssembly. Below is an implementation of a getEmbeddingFromText() function, which takes a piece of text and transforms it into an embedding using the Xenova/all-MiniLM-L6-v2 model: import { pipeline } from "@xenova/transformers"; const pipePromise = pipeline('feature-extraction', 'Xenova/all-MiniLM-L6-v2'); async function getEmbeddingFromText(text) { const pipe = await pipePromise; const output = await pipe(text, { pooling: "mean", normalize: true, }); return Array.from(output.data); } This function creates an embedding by running the text through a pre-trained model and returning it in the form of an array of numbers, which can then be stored and further processed locally. note Vector embeddings from different machine learning models or versions are not compatible with each other. When you change your model, you have to recreate all embeddings for your data. ","version":"Next","tagName":"h2"},{"title":"Storing the Embeddings in RxDB","type":1,"pageTitle":"Local Vector Database with RxDB and transformers.js in JavaScript","url":"/articles/javascript-vector-database.html#storing-the-embeddings-in-rxdb","content":" To store the embeddings, first we have to create our RxDB Database with the localstorage storage that stores data in the browsers localstorage. For more advanced projects, you can use any other RxStorage. import { createRxDatabase } from 'rxdb'; import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage'; const db = await createRxDatabase({ name: 'mydatabase', storage: getRxStorageLocalstorage() }); Then we add a items collection that stores our documents with the text field that stores the content. await db.addCollections({ items: { schema: { version: 0, primaryKey: 'id', type: 'object', properties: { id: { type: 'string', maxLength: 20 }, text: { type: 'string' } }, required: ['id', 'text'] } } }); const itemsCollection = db.items; In our example repo, we use the Wiki Embeddings dataset from supabase which was transformed and used to fill up the items collection with test data. const imported = await itemsCollection.count().exec(); const response = await fetch('./files/items.json'); const items = await response.json(); const insertResult = await itemsCollection.bulkInsert( items ); Also we need a vector collection that stores our embeddings. RxDB, as a NoSQL database, allows for the storage of flexible data structures, such as embeddings, within documents. To achieve this, we need to define a schema that specifies how the embeddings will be stored alongside each document. The schema includes fields for an id and the embedding array itself. await db.addCollections({ vector: { schema: { version: 0, primaryKey: 'id', type: 'object', properties: { id: { type: 'string', maxLength: 20 }, embedding: { type: 'array', items: { type: 'string' } } }, required: ['id', 'embedding'] } } }); const vectorCollection = db.vector; When storing documents in the database, we need to ensure that the embeddings for these documents are generated and stored automatically. This requires a handler that runs during every document write, calling the machine learning model to generate the embeddings and storing them in a separate vector collection. Since our app runs in a browser, it's essential to avoid duplicate work when multiple browser tabs are open and ensure efficient use of resources. Furthermore, we want the app to resume processing documents from where it left off if it's closed or interrupted. To achieve this, RxDB provides a pipeline plugin, which allows us to set up a workflow that processes items and stores their embeddings. In our example, a pipeline takes batches of 10 documents, generates embeddings, and stores them in a separate vector collection. const pipeline = await itemsCollection.addPipeline({ identifier: 'my-embeddings-pipeline', destination: vectorCollection, batchSize: 10, handler: async (docs) => { await Promise.all(docs.map(async(doc) => { const embedding = await getVectorFromText(doc.text); await vectorCollection.upsert({ id: doc.primary, embedding }); })); } }); However, processing data locally presents performance challenges. Running the handler with a batch size of 10 takes around 2-4 seconds per batch, meaning processing 10k documents would take up to an hour. To improve performance, we can do parallel processing using WebWorkers. A WebWorker runs on a different JavaScript process and we can start and run many of them in parallel. Our worker listens for messages and performance the embedding generation on each request. It then sends the result embedding back to the main thread. // worker.js import { getVectorFromText } from './vector.js'; onmessage = async (e) => { const embedding = await getVectorFromText(e.data.text); postMessage({ id: e.data.id, embedding }); }; On the main thread we spawn one worker per core and send the tasks to the worker instead of processing them on the main thread. // create one WebWorker per core const workers = new Array(navigator.hardwareConcurrency) .fill(0) .map(() => new Worker(new URL("worker.js", import.meta.url))); let lastWorkerId = 0; let lastId = 0; export async function getVectorFromTextWithWorker(text: string): Promise<number[]> { let worker = workers[lastWorkerId++]; if(!worker) { lastWorkerId = 0; worker = workers[lastWorkerId++]; } const id = (lastId++) + ''; return new Promise<number[]>(res => { const listener = (ev: any) => { if (ev.data.id === id) { res(ev.data.embedding); worker.removeEventListener('message', listener); } }; worker.addEventListener('message', listener); worker.postMessage({ id, text }); }); } const pipeline = await itemsCollection.addPipeline({ identifier: 'my-embeddings-pipeline', destination: vectorCollection, batchSize: navigator.hardwareConcurrency, // one per CPU core handler: async (docs) => { await Promise.all(docs.map(async (doc, i) => { const embedding = await getVectorFromTextWithWorker(doc.body); /* ... */ }); } }); This setup allows us to utilize the full hardware capacity of the client's machine. By setting the batch size to match the number of logical processors available (using the navigator.hardwareConcurrency API) and running one worker per processor, we can reduce the processing time for 10k embeddings to about 5 minutes on my developer laptop with 32 CPU cores. ","version":"Next","tagName":"h2"},{"title":"Comparing Vectors by calculating the distance","type":1,"pageTitle":"Local Vector Database with RxDB and transformers.js in JavaScript","url":"/articles/javascript-vector-database.html#comparing-vectors-by-calculating-the-distance","content":" Now that we have stored our embeddings in the database, the next step is to compare these vectors to each other. Various methods are available to measure the similarity or difference between two vectors, such as Euclidean distance, Manhattan distance, Cosine similarity, and Jaccard similarity (and more). RxDB provides utility functions for each of these methods, making it easy to choose the most suitable method for your application. In this tutorial, we will use Euclidean distance to compare vectors. However, the ideal algorithm may vary depending on your data's distribution and the specific type of query you are performing. To find the optimal method for your app, it is up to you to try out all of these and compare the results. Each method gets two vectors as input and returns a single number. Here's how to calculate the Euclidean distance between two embeddings with the vector utilities from RxDB: import { euclideanDistance } from 'rxdb/plugins/vector'; const distance = euclideanDistance(embedding1, embedding2); console.log(distance); // 25.20443 With this we can sort multiple embeddings by how good they match our search query vector. ","version":"Next","tagName":"h2"},{"title":"Searching the Vector database with a full table scan","type":1,"pageTitle":"Local Vector Database with RxDB and transformers.js in JavaScript","url":"/articles/javascript-vector-database.html#searching-the-vector-database-with-a-full-table-scan","content":" To find out if our embeddings have been stored correctly and that our vector comparison works as should, let's run a basic query to ensure everything functions as expected. In this query, we aim to find documents similar to a given user input text. The process involves calculating the embedding from the input text, fetching all documents, calculating the distance between their embeddings and the query embedding, and then sorting them based on their similarity. import { euclideanDistance } from 'rxdb/plugins/vector'; import { sortByObjectNumberProperty } from 'rxdb/plugins/core'; const userInput = 'new york people'; const queryVector = await getEmbeddingFromText(userInput); const candidates = await vectorCollection.find().exec(); const withDistance = candidates.map(doc => ({ doc, distance: euclideanDistance(queryVector, doc.embedding) })); const queryResult = withDistance.sort(sortByObjectNumberProperty('distance')).reverse(); console.dir(queryResult); note For distance-based comparisons, sorting should be in ascending order (smallest first), while for similarity-based algorithms, the sorting should be in descending order (largest first). If we inspect the results, we can see that the documents returned are ordered by relevance, with the most similar document at the top: note This demo page can be run online here. However our full-scan method presents a significant challenge: it does not scale well. As the number of stored documents increases, the time taken to fetch and compare embeddings grows proportionally. For example, retrieving embeddings from our test dataset of 10k documents takes around 700 milliseconds. If we scale up to 100k documents, this delay would rise to approximately 7 seconds, making the search process inefficient for larger datasets. ","version":"Next","tagName":"h2"},{"title":"Indexing the Embeddings for Better Performance","type":1,"pageTitle":"Local Vector Database with RxDB and transformers.js in JavaScript","url":"/articles/javascript-vector-database.html#indexing-the-embeddings-for-better-performance","content":" To address the scalability issue, we need to store embeddings in a way that allows us to avoid fetching all of them from storage during a query. In traditional databases, you can sort documents by an index field, allowing efficient queries that retrieve only the necessary documents. An index organizes data in a structured, sortable manner, much like a phone book. However, with vector embeddings we are not dealing with simple, single values. Instead, we have large lists of numbers, which makes indexing more complex because we have more than one dimension. ","version":"Next","tagName":"h2"},{"title":"Vector Indexing Methods","type":1,"pageTitle":"Local Vector Database with RxDB and transformers.js in JavaScript","url":"/articles/javascript-vector-database.html#vector-indexing-methods","content":" Various methods exist for indexing these vectors to improve query efficiency and performance: Locality Sensitive Hashing (LSH): LSH hashes data so that similar items are likely to fall into the same bucket, optimizing approximate nearest neighbor searches in high-dimensional spaces by reducing the number of comparisons.Hierarchical Small World: HSW is a graph structure designed for efficient navigation, allowing quick jumps across the graph while maintaining short paths between nodes, forming the basis for HNSW's optimization.Hierarchical Navigable Small Worlds (HNSW): HNSW builds a hierarchical graph for fast approximate nearest neighbor search. It uses multiple layers where higher layers represent fewer, more connected nodes, improving search efficiency in large datasets.Distance to samples: While testing different indexing strategies, I found out that using the distance to a sample set of items is a good way to index embeddings. You pick like 5 random items of your data and get the embeddings for them out of the model. These are your 5 index vectors. For each embedding stored in the vector database, we calculate the distance to our 5 index vectors and store that number as an index value. This seems to work good because similar things have similar distances to other things. For example the words "shoe" and "socks" have a similar distance to "boat" and therefore should have roughly the same index value. When building local-first applications, performance is often a challenge, especially in JavaScript. With IndexedDB, certain operations, like many sequential get by id calls, are slow, while bulk operations, such as get by index range, are fast. Therefore, it's essential to use an indexing method that allows embeddings to be stored in a sortable way, like Locality Sensitive Hashing or Distance to Samples. In this article, we'll use Distance to Samples, because for me it provides the best default behavior for the sample dataset. ","version":"Next","tagName":"h3"},{"title":"Storing indexed embeddings in RxDB","type":1,"pageTitle":"Local Vector Database with RxDB and transformers.js in JavaScript","url":"/articles/javascript-vector-database.html#storing-indexed-embeddings-in-rxdb","content":" The optimal way to store index values alongside embeddings in RxDB is to place them within the same RxCollection. To ensure that the index values are both sortable and precise, we convert them into strings with a fixed length of 10 characters. This standardization helps in managing values with many decimals and ensures proper sorting in the database. Here's is our schema example schema where each document contains an embedding and corresponding index fields: const indexSchema = { type: 'string', maxLength: 10 }; const schema = { "version": 0, "primaryKey": "id", "type": "object", "properties": { "id": { "type": "string", "maxLength": 100 }, "embedding": { "type": "array", "items": { "type": "number" } }, // index fields "idx0": indexSchema, "idx1": indexSchema, "idx2": indexSchema, "idx3": indexSchema, "idx4": indexSchema }, "required": [ "id", "embedding", "idx0", "idx1", "idx2", "idx3", "idx4" ], "indexes": [ "idx0", "idx1", "idx2", "idx3", "idx4" ] } To populate these index fields, we modify the RxPipeline handler accordingly to the Distance to samples method. We calculate the distance between the document's embedding and our set of 5 index vectors. The calculated distances are converted to string and stored in the appropriate index fields: import { euclideanDistance } from 'rxdb/plugins/vector'; const sampleVectors: number[][] = [/* the index vectors */]; const pipeline = await itemsCollection.addPipeline({ handler: async (docs) => { await Promise.all(docs.map(async(doc) => { const embedding = await getEmbedding(doc.text); const docData = { id: doc.primary, embedding }; // calculate the distance to all samples and store them in the index fields new Array(5).fill(0).map((_, idx) => { const indexValue = euclideanDistance(sampleVectors[idx], embedding); docData['idx' + idx] = indexNrToString(indexValue); }); await vectorCollection.upsert(docData); })); } }); ","version":"Next","tagName":"h3"},{"title":"Searching the Vector database with utilization of the indexes","type":1,"pageTitle":"Local Vector Database with RxDB and transformers.js in JavaScript","url":"/articles/javascript-vector-database.html#searching-the-vector-database-with-utilization-of-the-indexes","content":" Once our embeddings are stored in an indexed format, we can perform searches much more efficiently than through a full table scan. While this indexing method boosts performance, it comes with a tradeoff: a slight loss in precision, meaning that the result set may not always be the optimal one. However, this is generally acceptable for similarity search use cases. There are multiple ways to leverage indexes for faster queries. Here are two effective methods: Query for Index Similarity in Both Directions: For each index vector, calculate the distance to the search embedding and fetch all relevant embeddings in both directions (sorted before and after) from that value. async function vectorSearchIndexSimilarity(searchEmbedding: number[]) { const docsPerIndexSide = 100; const candidates = new Set<RxDocument>(); await Promise.all( new Array(5).fill(0).map(async (_, i) => { const distanceToIndex = euclideanDistance(sampleVectors[i], searchEmbedding); const [docsBefore, docsAfter] = await Promise.all([ vectorCollection.find({ selector: { ['idx' + i]: { $lt: indexNrToString(distanceToIndex) } }, sort: [{ ['idx' + i]: 'desc' }], limit: docsPerIndexSide }).exec(), vectorCollection.find({ selector: { ['idx' + i]: { $gt: indexNrToString(distanceToIndex) } }, sort: [{ ['idx' + i]: 'asc' }], limit: docsPerIndexSide }).exec() ]); docsBefore.map(d => candidates.add(d)); docsAfter.map(d => candidates.add(d)); }) ); const docsWithDistance = Array.from(candidates).map(doc => { const distance = euclideanDistance((doc as any).embedding, searchEmbedding); return { distance, doc }; }); const sorted = docsWithDistance.sort(sortByObjectNumberProperty('distance')).reverse(); return { result: sorted.slice(0, 10), docReads }; } Query for an Index Range with a Defined Distance: Set an indexDistance and retrieve all embeddings within a specified range from the index vector to the search embedding. async function vectorSearchIndexRange(searchEmbedding: number[]) { await pipeline.awaitIdle(); const indexDistance = 0.003; const candidates = new Set<RxDocument>(); let docReads = 0; await Promise.all( new Array(5).fill(0).map(async (_, i) => { const distanceToIndex = euclideanDistance(sampleVectors[i], searchEmbedding); const range = distanceToIndex * indexDistance; const docs = await vectorCollection.find({ selector: { ['idx' + i]: { $gt: indexNrToString(distanceToIndex - range), $lt: indexNrToString(distanceToIndex + range) } }, sort: [{ ['idx' + i]: 'asc' }], }).exec(); docs.map(d => candidates.add(d)); docReads = docReads + docs.length; }) ); const docsWithDistance = Array.from(candidates).map(doc => { const distance = euclideanDistance((doc as any).embedding, searchEmbedding); return { distance, doc }; }); const sorted = docsWithDistance.sort(sortByObjectNumberProperty('distance')).reverse(); return { result: sorted.slice(0, 10), docReads }; }; Both methods allow you to limit the number of embeddings fetched from storage while still ensuring a reasonably precise search result. However, they differ in how many embeddings are read and how precise the results are, with trade-offs between performance and accuracy. The first method has a known embedding read amount of docsPerIndexSide * 2 * [amount of indexes]. The second method reads out an unknown amount of embeddings, depending on the sparsity of the dataset and the value of indexDistance. And that's it for the implementation. We now have a local first vector database that is able to store and query vector data. ","version":"Next","tagName":"h2"},{"title":"Performance benchmarks","type":1,"pageTitle":"Local Vector Database with RxDB and transformers.js in JavaScript","url":"/articles/javascript-vector-database.html#performance-benchmarks","content":" In server-side databases, performance can be improved by scaling hardware or adding more servers. However, local-first apps face the unique challenge that the hardware is determined by the end user, making performance unpredictable. Some users may have high-end gaming PCs, while others might be using outdated smartphones in power-saving mode. Therefore, when building a local-first app that processes more than a few documents, performance becomes a critical factor and should be thoroughly tested upfront. Let's run performance benchmarks on my high-end gaming PC to give you a sense of how long different operations take and what's achievable. ","version":"Next","tagName":"h2"},{"title":"Performance of the Query Methods","type":1,"pageTitle":"Local Vector Database with RxDB and transformers.js in JavaScript","url":"/articles/javascript-vector-database.html#performance-of-the-query-methods","content":" Query Method\tTime in milliseconds\tDocs read from storageFull Scan\t765\t10000 Index Similarity\t1647\t934 Index Range\t88\t2187 As shown, the index similarity query method takes significantly longer compared to others. This is due to the need for descending sort orders in some queries sort: [{ ['idx' + i]: 'desc' }]. While RxDB supports descending sorts, performance suffers because IndexedDB does not efficiently handle reverse indexed bulk operations. As a result, the index range method performs much better for this use case and should be used instead. With its query time of only 88 milliseconds it is fast enough for all most things and likely such fast that you do not even need to show a loading spinner. Also it is faster compared to fetching the query result from a server-side vector database over the internet. ","version":"Next","tagName":"h3"},{"title":"Performance of the Models","type":1,"pageTitle":"Local Vector Database with RxDB and transformers.js in JavaScript","url":"/articles/javascript-vector-database.html#performance-of-the-models","content":" Let's also look at the time taken to calculate a single embedding across various models from the huggingface transformers list: Model Name\tTime per Embedding in (ms)\tVector Size\tModel Size (MB)Xenova/all-MiniLM-L6-v2\t173\t384\t23 Supabase/gte-small\t341\t384\t34 Xenova/paraphrase-multilingual-mpnet-base-v2\t1000\t768\t279 jinaai/jina-embeddings-v2-base-de\t1291\t768\t162 jinaai/jina-embeddings-v2-base-zh\t1437\t768\t162 jinaai/jina-embeddings-v2-base-code\t1769\t768\t162 mixedbread-ai/mxbai-embed-large-v1\t3359\t1024\t337 WhereIsAI/UAE-Large-V1\t3499\t1024\t337 Xenova/multilingual-e5-large\t4215\t1024\t562 From these benchmarks, it's evident that models with larger vector outputs take longer to process. Additionally, the model size significantly affects performance, with larger models requiring more time to compute embeddings. This trade-off between model complexity and performance must be considered when choosing the right model for your use case. ","version":"Next","tagName":"h3"},{"title":"Potential Performance Optimizations","type":1,"pageTitle":"Local Vector Database with RxDB and transformers.js in JavaScript","url":"/articles/javascript-vector-database.html#potential-performance-optimizations","content":" There are multiple other techniques to improve the performance of your local vector database: Shorten embeddings: The storing and retrieval of embeddings can be improved by "shortening" the embedding. To do that, you just strip away numbers from your vector. For example [0.56, 0.12, -0.34, 0.78, -0.90] becomes [0.56, 0.12]. That's it, you now have a smaller embedding that is faster to read out of the storage and calculating distances is faster because it has to process less numbers. The downside is that you loose precision in your search results. Sometimes shortening the embeddings makes more sense as a pre-query step where you first compare the shortened vectors and later fetch the "real" vectors for the 10 most matching documents to improve their sort order. Optimize the variables in our Setup: In this examples we picked our variables in a non-optimal way. You can get huge performance improvements by setting different values: We picked 5 indexes for the embeddings. Using less indexes improves your query performance with the cost of less good results.For queries that search by fetching a specific embedding distance we used the indexDistance value of 0.003. Using a lower value means we read less document from the storage. This is faster but reduces the precision of the results which means we will get a less optimal result compared to a full table scan.For queries that search by fetching a given amount of documents per index side, we set the value docsPerIndexSide to 100. Increasing this value means you fetch more data from the storage but also get a better precision in the search results. Decreasing it can improve query performance with worse precision. Use faster models: There are many ways to improve performance of machine learning models. If your embedding calculation is too slow, try other models. Smaller mostly means faster. The model Xenova/all-MiniLM-L6-v2 which is used in this tutorial is about 1 year old. There exist better, more modern models to use. Huggingface makes these convenient to use. You only have to switch out the model name with any other model from that site. Narrow down the search space: By utilizing other "normal" filter operators to your query, you can narrow down the search space and optimize performance. For example in an email search you could additionally use a operator that limits the results to all emails that are not older than one year. Dimensionality Reduction with an autoencoder: An autoencoder encodes vector data with minimal loss which can improve the performance by having to store and compare less numbers in an embedding. Different RxDB Plugins: RxDB has different storages and plugins that can improve the performance like the IndexedDB RxStorage, the OPFS RxStorage, the sharding plugin and the Worker and SharedWorker storages. ","version":"Next","tagName":"h2"},{"title":"Migrating Data on Model/Index Changes","type":1,"pageTitle":"Local Vector Database with RxDB and transformers.js in JavaScript","url":"/articles/javascript-vector-database.html#migrating-data-on-modelindex-changes","content":" When you change the index parameter or even update the whole model which was used to create the embeddings, you have to migrate the data that is already stored on your users devices. RxDB offers the Schema Migration Plugin for that. When the app is reloaded and the updated source code is started, RxDB detects changes in your schema version and runs the migration strategy accordingly. So to update the stored data, increase the schema version and define a handler: const schemaV1 = { "version": 1, // <- increase schema version by 1 "primaryKey": "id", "properties": { /* ... */ }, /* ... */ }; In the migration handler we recreate the new embeddings and index values. await myDatabase.addCollections({ vectors: { schema: schemaV1, migrationStrategies: { 1: function(docData){ const embedding = await getEmbedding(docData.body); new Array(5).fill(0).map((_, idx) => { docData['idx' + idx] = euclideanDistance(mySampleVectors[idx], embedding); }); return docData; }, } } }); ","version":"Next","tagName":"h2"},{"title":"Possible Future Improvements to Local-First Vector Databases","type":1,"pageTitle":"Local Vector Database with RxDB and transformers.js in JavaScript","url":"/articles/javascript-vector-database.html#possible-future-improvements-to-local-first-vector-databases","content":" For now our vector database works and we are good to go. However there are some things to consider for the future: WebGPU is not fully supported yet. When this changes, creating embeddings in the browser have the potential to become faster. You can check if your current chrome supports WebGPU by opening chrome://gpu/. Notice that WebGPU has been reported to sometimes be even slower compared to WASM but likely it will be faster in the long term.Cross-Modal AI Models: While progress is being made, AI models that can understand and integrate multiple modalities are still in development. For example you could query for an image together with a text prompt to get a more detailed output.Multi-Step queries: In this article we only talked about having a single query as input and an ordered list of outputs. But there is big potential in chaining models or queries together where you take the results of one query and input them into a different model with different embeddings or outputs. ","version":"Next","tagName":"h2"},{"title":"Follow Up","type":1,"pageTitle":"Local Vector Database with RxDB and transformers.js in JavaScript","url":"/articles/javascript-vector-database.html#follow-up","content":" Shared/Like my announcement tweetRead the source code that belongs to this article at githubLearn how to use RxDB with the RxDB QuickstartCheck out the RxDB github repo and leave a star ⭐ ","version":"Next","tagName":"h2"},{"title":"Why Local-First Software Is the Future and what are its Limitations","type":0,"sectionRef":"#","url":"/articles/local-first-future.html","content":"","keywords":"","version":"Next"},{"title":"What is the Local-First Paradigm","type":1,"pageTitle":"Why Local-First Software Is the Future and what are its Limitations","url":"/articles/local-first-future.html#what-is-the-local-first-paradigm","content":" In local-first software, the primary copy of your data lives on the client rather than a remote server. Rather than sending each read or write over the network, you store and manipulate data in a local database on the user’s device. Sync then happens in the background, ensuring all devices eventually converge to a consistent state. This approach is increasingly popular because it leads to instant app responses (no network delay for most operations), genuine offline capability, and more direct data ownership for users. Local-first apps also sidestep outages and if the server or internet goes down, users can keep working with their local data. When connectivity returns, everything syncs. This makes the user experience more resilient and gives them control of their data, which is especially appealing when privacy concerns or limited connectivity are key factors. Local-First software: A set of principles for software that enables both collaboration and ownership for users. Local-first ideals include the ability to work offline and collaborate across multiple devices, while also improving the security, privacy, long-term preservation, and user control of data. –Ink&Switch, 2019 ","version":"Next","tagName":"h2"},{"title":"Why Local-First is Gaining Traction","type":1,"pageTitle":"Why Local-First Software Is the Future and what are its Limitations","url":"/articles/local-first-future.html#why-local-first-is-gaining-traction","content":" The push for local-first is driven by a few key new technological capabilities that previously restricted client devices from running heavy local-first computing: Relaxed Browser Storage Limits: In the past, true local-first web apps were not very feasible due to storage limitations in browsers. Early web storage options like cookies or localStorage had tiny limits (~5-10MB) and were unsuitable for complex data. Even IndexedDB, the structured client storage introduced over a decade ago, had restrictive quotas on many browsers: For example, older Firefox versions would prompt the user if more than 50MB was being stored. Mobile browsers often capped IndexedDB to 5MB without user permission. Such limits made it impractical to cache large application datasets on the client. However, modern browsers have dramatically increased these limits. Today, IndexedDB can typically store hundreds of megabytes to multiple gigabytes of data, depending on device capacity. Chrome allows up to ~80% of free disk space per origin (tens of GB on a desktop), Firefox now supports on the order of gigabytes per site (10% of disk size), and even Safari (historically strict) permits around 1GB per origin on iOS. In short, the storage quotas of 5-50MB are a thing of the past and modern web apps can cache very large datasets locally without hitting a ceiling. This shift in storage capabilities has unlocked new possibilities for local-first web apps that simply weren't viable a few years ago. New Storage APIs (OPFS): The new Browser API Origin Private File System (OPFS), part of the File System Access API, enables near-native file I/O from within a browser. It allows web apps to manage file handles securely and perform fast, synchronous reads/writes in Web Workers. This is a huge deal for local-first computing because it makes it feasible to embed robust database engines directly in the browser, persisting data to real files on a virtual filesystem. With OPFS, you can avoid some of the performance overhead that comes with IndexedDB-based workarounds, providing a near-native speed experience for file-structured data. Bandwidth Has Grown, But Latency Is Capped: Internet infrastructure has rapidly expanded to provide higher throughput making it possible to transfer large amounts of data more quickly. However, latency (i.e., round-trip delay) is constrained by the speed of light and other physical limitations in fiber, satellite links, and routing. We can always build out bigger "pipes" to stream or send bulk data, but we can't significantly reduce the base round-trip time for each request. This is a physical limit, not a technological one. Local-first strategies mitigate this fundamental latency limit by avoiding excessive client-server calls in interactive workflows, once data is on the client, it's instantly available for reads and writes without waiting on a network round-trip. Imagine, transferring around 100,000 "average" JSON documents might only consume about the same bandwidth as two frames of a 4K YouTube video which can be transferred in milliseconds. This shows just how far raw data throughput has come. Yet each request still has a 100-200ms latency or more, which becomes noticeable in user interactions. Local-first mitigates this by minimizing round-trip calls during active use and using the available bandwidth to directly transfer most of the data on the first app start. WebAssembly: Another advancement is WebAssembly (WASM), which allows developers to compile low-level languages (C, C++, Rust) for execution in the browser at near-native speed. This means database engines, search algorithms, vector databases, and other performance-heavy tasks can run right on the client. However, a key limitation is that WASM cannot directly access persistent storage APIs in the browser. Instead, all data must be send from WASM to JavaScript (or the main thread) and then go through something like IndexedDB or OPFS. This extra indirection is slower compared to plain JavaScript->storage calls. Looking ahead, there might come up future APIs that allow WASM to interface with persistent storage directly, and if those land, local-first systems could see another major boost in performance. Improvements in Local-First Tooling: A major factor fueling the rise of local-first architectures is the dramatic leap in client-side tooling and performance. For instance, consider a local-first email client that stores one million messages. In 2014, searching through that many documents, especially with something like early PouchDB, could take minutes in a browser. Today, with advanced offline databases like RxDB, you can use the OPFS storage with sharding across multiple web workers (one per CPU) and use memory-mapped techniques. The result is a regex search of one million of these email documents in around 120 milliseconds - all in JavaScript, running inside a standard web browser, on a mobile phone. Better yet, this performance ceiling is likely to keep rising. Newer browser features and WebAssembly optimizations could enable even faster indexing and query operations, closing the gap with native desktop clients. I even experimented with GPU-accelarated queries (using WebGPU) which, while still in experimental stage, might deliver client-side performance that outperforms servers which do not have a graphics card. These transformations highlight why local-first has become truly practical: not only can you sync and work offline, but you can handle serious data loads with performance that would have been unthinkable just a few years ago. ","version":"Next","tagName":"h2"},{"title":"What you can expect from a Local First App","type":1,"pageTitle":"Why Local-First Software Is the Future and what are its Limitations","url":"/articles/local-first-future.html#what-you-can-expect-from-a-local-first-app","content":" Jevons' Paradox says that making a resource cheaper or more efficient to use often leads to greater overall consumption. Originally about coal, it applies to the local-first paradigm in a way where we require apps to have more features, simply because it is technically possible, the app users and developers start to expect them: ","version":"Next","tagName":"h2"},{"title":"User Experience Benefits","type":1,"pageTitle":"Why Local-First Software Is the Future and what are its Limitations","url":"/articles/local-first-future.html#user-experience-benefits","content":" Performance & UX: Running from local storage means low latency and instantaneous interactions. There's no round-trip delay for most operations. Local-first apps aim to provide near-zero latency responses by querying a local database instead of waiting for a server response. This results in a snappy UX (often no need for loading spinners) because data reads/writes happen immediately on-device. Modern users expect real-time feedback, and local-first delivers that by default. User Control & Privacy: Storing data locally can limit how much sensitive information is sent off to remote servers. End users have greater control over their data, and the app can implement client-side encryption, thereby reducing the risk of mass data breaches. Its even possible to only replicated encrypted data with a server so that the backend does not know about the data at all and just acts as a backup/replication endpoint. Offline Resilience: Obviously, being able to work offline is a major benefit. Users can continue using the app with no internet (or flaky connectivity), and their changes sync up once online. This is increasingly important not just for remote areas, but for any app that needs to be available 24/7. Even though mobile networks have improved, connectivity can still drop; local-first ensures the app doesn't grind to a halt. The app "stores data locally at the client so that it can still access it when the internet goes away." Realtime Apps: Today's users expect data to stay in sync across browser tabs and devices without constant page reloads. In a typical cloud app, if you want real-time updates (say to show that a friend edited a document), you'd need to implement a websocket or polling system for the server to push changes to clients, which is complex. Local-first architectures naturally lend themselves to realtime-by-default updates because the application state lives in a local database that can be observed for changes. Any edits (local or incoming from the server) immediately trigger UI updates. Similarly, background sync mechanisms ensure that new server-side data flows into the local store and into the user interface right away, no need to hit F5 to fetch the latest changes like on a traditional webpage. ","version":"Next","tagName":"h3"},{"title":"Developer Experience Benefits","type":1,"pageTitle":"Why Local-First Software Is the Future and what are its Limitations","url":"/articles/local-first-future.html#developer-experience-benefits","content":" Reduced Server Load: Because local-first architectures typically transfer large chunks of data once (e.g., during an initial sync) and then sync only small diffs (delta changes) afterward, the server does not have to handle repeated requests for the same dataset. This bulk-first, diff-later approach drastically decreases the total number of round-trip requests to the backend. In scenarios where hundreds of simultaneous users each require continuous data access, an offline-ready client that only periodically sends or receives changes can scale more efficiently, freeing your servers to handle more users or other tasks. Instead of being bombarded with frequent small queries and updates, the server focuses on periodic sync operations, which can be more easily optimized or batched. It Scales with Data, Not Load. In fact for most type of apps, most of the data itself rarely changes. Imagine a CRM system, how often does the data of a customer really change compared to how of a user open the customer-overview page which would load data from a server in traditional systems? Less Need for Custom API Endpoints: A local-first architecture often simplifies backend design. Instead of writing extensive REST routes for each client operation (create, read, update, delete, etc.), you can build a single replication endpoint or a small set of endpoints to handle data synchronization for each entity. The client manages local data, merges edits, and pushes/pulls changes with the server automatically. This not only reduces boilerplate code on the backend but also frees developers to focus on business logic and domain-specific concerns rather than spending time creating and maintaining dozens of narrowly scoped endpoints. As a result, the overall system can be easier to scale and maintain, delivering a smoother developer experience. Simplified State Management in Frontend: Because the local database holds the authoritative state, you might rely less on complex state management libraries (Redux, MobX, etc.). The DB becomes a single source of truth for your UI. In an offline-first app, your global state is already there in a single place stored inside of the local database, so you don't need as many in-memory state layers to synchronize. The UI can directly bind to the database (using queries or reactive subscriptions). All sources of changes (user input, remote updates, other tabs) funnel through the database. This can significantly reduce the "glue code" to keep UI state in sync with server state because the local DB does that for you. With Local-First tools, "you might not need Redux" because the reactive DB fulfills that role of state management already. Observable Queries: One of the big advantages of storing data locally is the ability to subscribe to data changes in real time, often called observable queries. When the data changes - either from the user's actions or from a remote sync - the local database automatically updates the subscribed query results, and the UI can redraw without a manual refresh. This reactive pattern can make apps feel much more live and responsive. In the beginnings this was mostly done by watching a changes feed (like in PouchDB) and re-running queries whenever data changed. However, this early approach was slow and didn't scale well, because the entire query had to be recalculated each time. Later, RxDB introduced the EventReduce Algorithm, which merges incoming document changes into an existing query result by using a big binary decision tree. With this, updated query results can be "calculated" on the CPU instead of re-running them over the database. This makes query updates almost instantaneous and scales better as your data grows. Nowadays, many local databases have added similar features: for example, dexie.js introduced liveQuery, letting developers build real-time UIs without repeatedly scanning the entire dataset. Better Multi-Tab and Multi-Device Consistency: Because the source of truth is on the client, if the user has the app open in multiple tabs or even multiple devices, each has a full copy of the data. In browsers, many offline databases use a storage like IndexedDB that is shared across tabs of the same origin. This means all tabs see the same up-to-date local state. For example, if a user logs in or adds data in one tab, the other tab can automatically reflect that change via the shared local DB and events. This solves a common issue in web apps where one tab doesn't know that something changed in another tab. With local-first, multi-tab just works by default because there's "exactly one state of the data across all tabs". Similarly, on multiple devices, once sync runs, each device eventually converges to the same state. If your users have to press F5 all the time, your app is broken! Potential for P2P and Decentralization: While most current local-first apps still use a central backend for syncing, the paradigm opens the door to peer-to-peer data syncing. Because each device has the full data, devices could sync directly via LAN or other P2P channels for collaboration, reducing reliance on central servers. There are experimental frameworks that allow truly decentralized sync. This is a more advanced benefit, but it aligns with the ethos of giving users more control and reducing dependence on any one cloud provider. These advantages show why developers are excited about local-first. You get happier users thanks to a fast, offline-capable app, and you can differentiate your product by working in scenarios where others fail (e.g. poor connectivity). Companies like Google, Amazon, etc., invest heavily in reducing latency and adding offline modes for a reason: it improves retention and usability. Local-first design takes that to the extreme by default. ","version":"Next","tagName":"h3"},{"title":"Challenges and Limitations of Local-First","type":1,"pageTitle":"Why Local-First Software Is the Future and what are its Limitations","url":"/articles/local-first-future.html#challenges-and-limitations-of-local-first","content":" However, this approach is not without significant challenges. It's important to understand the drawbacks and trade-offs before deciding to go all-in on local-first. Let's examine the flip side. You fully understood a technology when you know when not to use it –Daniel, 2024 Critics of local-first approaches often point out these challenges. Here's a comprehensive list of cons, criticisms, and obstacles associated with local-first development and proposed solutions on how to solve these obstacles: Data Synchronization: Data synchronization is arguably the hardest part of local-first development, because when every user's device can be offline for extended periods, data inevitably diverges. Ensuring those changes propagate and reconcile with minimal user headaches is a major challenge in distributed systems. Two main approaches have emerged: Use a bundled frontend+backend solution where the backend is tightly coupled to the client SDK and knows exactly how to handle sync. A common example is Firestore (part of the Firebase ecosystem) where Google's servers and client libraries collectively manage storage, change detection, conflict resolution, and syncing. The upside is you have a turnkey solution, developers can focus on features rather than writing sync logic. The downside is lock-in, because the sync protocol is proprietary and tailored to that vendor. In many organizations, this is a non-starter: existing company infrastructure can't be uprooted or replaced just for a single offline-capable app. This lock-in issue can arise even if the backend is not strictly a third-party vendor but simply another technology like PostgreSQL, because it still forces you to consolidate all your data into a single system that you might not use otherwise. Custom Replication with Your Own Endpoints: Alternatively, tools like RxDB allow you to implement your own replication endpoints on top of your existing infrastructure. This is the approach relies on a lightweight, git-like Sync Engine. The server remains relatively "dumb," focusing on storing revisions, tracking changes, and marking conflicts, while the client library does the actual conflict resolution. During sync, if the server detects a conflict (e.g., two offline edits to the same document), it notifies the client, which then decides how to merge them, whether via last-write-wins, a custom merge function, or a CRDT. Setting up custom endpoints does require more development effort, but you avoid vendor lock-in and can integrate seamlessly with your existing database(s). Your system simply needs to support incrementally fetching changes (pull) and accepting local modifications (push), which can be layered on top of nearly any data store or architecture. Tools which support "any backend" are of course harder to monetize because they cannot sell SaaS services or a Cloud Subscription which is why most tools use a fixed backend instead of an open Sync Engine. Conflict Resolution: When multiple offline edits happen on the same data, you inevitably get merge conflicts. For example, if two users (or the same user on two devices) both edit the same document offline, when both sync, whose changes win? Local-first systems need a conflict resolution strategy. Some systems use last-write-wins (firestore) or deterministic revision hashing to pick a "winner" (as in CouchDB/PouchDB). This is simple but may drop one user's changes. Other approaches keep both versions and merge them either via an implement "merge-function" or require a manual merge step (e.g., like git conflicts or showing the user a diff UI). More advanced solutions involve CRDTs (Conflict-free Replicated Data Types) which mathematically merge changes (used for rich text collaboration, for instance). Libraries like Automerge or Yjs implement CRDTs to "magically solve conflicts". But in practice, using CRDTs is also complex and has its own trade-offs and sometimes not even possible like when you need additional data from another instance for a "correct" merge. No matter which route, handling conflicts adds complexity to your app logic or infrastructure. In cloud-based (online-first) apps, you avoid this because everyone is always editing the single up-to-date copy on the server. Local-first shifts that burden to the client side. Here is an example on how a client-side merge functions works in RxDB: import { deepEqual } from 'rxdb/plugins/utils'; export const myConflictHandler = { /** * isEqual() is used to detect if two documents are * equal. This is used internally to detect conflicts. */ isEqual(a, b) { /** * isEqual() is used to detect conflicts or to detect if a * document has to be pushed to the remote. * If the documents are deep equal, * we have no conflict. * Because deepEqual is CPU expensive, * on your custom conflict handler you might only * check some properties, like the updatedAt time or revision-strings * for better performance. */ return deepEqual(a, b); }, /** * resolve() a conflict. This can be async so * you could even show an UI element to let your user * resolve the conflict manually. */ async resolve(i) { /** * In this example we drop the local state and use the server-state. * This basically implements a "first-on-server-wins" strategy. * * In your custom conflict handler you could want to merge properties * of the i.realMasterState, i.assumedMasterState and i.newDocumentState * or return i.newDocumentState to have a "last-write-wins" strategy. */ return i.realMasterState; } }; Eventual Consistency (No Single Source of Truth): A local-first system is eventually consistent by nature. There is no single authoritative copy of the data at all times. Instead you have one per device (and maybe one on the server), and they sync to become consistent eventually. This means at any given moment, two users might not see the same data if one hasn't synced recently. Users could even make decisions based on stale data. In many applications this is acceptable (the data will catch up), but for some scenarios it's problematic. For instance, an offline-first banking app that lets you initiate a money transfer offline could be dangerous if the account balance was out-of-date or if the transfer needs immediate consistency. Essentially, not all apps can tolerate eventual consistency. If your use case demands strong consistency (e.g., inventory systems where overselling is a big issue, or real-time collaborative editing where every keystroke must be seen by others instantly), a purely local-first approach might need augmentation or may not fit. Initial Data Load and Data Size Limits: Local-first requires pulling data down to the client. If your dataset is huge (gigabytes), it's simply not feasible to download everything to every client. For example, syncing every tweet on Twitter to every user's phone is impossible. Local-first works best when the data set per user is reasonably sized (up to 2 Gigabytes). In practice, you often limit the data to just that user's own data or a subset relevant to them. Even then, on first use the app might need to download a significant chunk of data to initialize the local database. There is a upper bound on dataset size beyond which the initial sync or storage needs become impractical. You cannot assume unlimited local storage. If your data is too large, local-first will either fail or you'll need to only sync partial data (and then handle what happens if the needed data isn't present locally). In short, local-first is unsuitable for massive datasets or data that cannot be partitioned per user. Storage Persistence (Browser Limitations): Storing data in the browser (via IndexedDB or similar) is not as durable as on a server disk. Browsers may evict data to save space (especially on mobile devices). For instance, Safari notoriously wipes out IndexedDB data if the user hasn't used the site in ~7 days. Other browsers have their own eviction policies for offline data. Also, users can at any time clear their browser storage (intentionally or via something like "Clear site data"). This means the local data cannot be 100% trusted to stay forever. A well-behaved local-first app needs to be able to recover if local data is lost, usually by pulling from the server again. Essentially, the server still often serves as a backup. But if your app had any purely local data (not intended to sync), that's at risk. Mobile apps (with SQLite or filesystem storage) are a bit more stable than web browsers, but even there, uninstalls or certain OS actions can remove local data. This is a challenge: How to cache data offline for speed while ensuring if it's wiped, the user doesn't lose everything important. Cloud-only apps by contrast keep data in the cloud so it's typically safe unless the server fails (and servers are easier to backup reliably). Complex Client-Side Logic & Increased App Size: A local-first app tends to be more complex on the client side. You're essentially putting what used to be server responsibilities (storage, query engine, sync logic) into the frontend. This can increase the size of your frontend bundle (including a database library, possibly CRDT or sync code, etc.). It also increases memory and CPU usage on the client, as the browser/phone is doing more work. Low-end devices or older phones might struggle if the app is not optimized. Developers need to consider performance tuning for the local database (indexing, query efficiency) just like they would on a server. So while the user gains benefits, the app developer has to manage this complexity. Performance Constraints in JavaScript: Even though devices are fast, a local JS database is generally slower than a server DB on robust hardware. There are many layers (JS -> IndexedDB -> possibly SQLite under the hood) that add overhead. For example, inserting a record might go through the DB library, the storage engine, the browser's implementation, down to disk. For most UI uses this is fine (you don't need 10k writes/sec in a to-do app, you need maybe a few writes per second at most). But if your app does heavy data processing, the browser might become a bottleneck. The key question is "Is it fast enough?". Often the answer is yes for typical usage, but developers must be mindful of not doing something on the client that truly requires big iron servers. For instance, full-text indexing of a million documents might be too slow in a client-side DB. Unpredictable performance is also a factor: Different users have different devices. A query that takes 50ms on a high-end desktop might take 500ms on a low-end phone in battery saving mode. So performance tuning and testing across devices is needed, and some heavy tasks might still belong on the server side. For example if you build a local vector database you might want to create the embeddings on the server and sync them instead of creating them on the client. Client Database Migrations: As your app evolves, you'll change data models or add new fields. In a cloud-first app, you'd typically run a migration on the server database. In a local-first app, you have not only the server DB (if any) but also every client's local database to consider. Upgrading the schema means you need to write migration logic that runs on each client, perhaps the next time they launch the app after an update. Clients may be offline or not upgrade the app immediately, so you could have different versions of the schema in the wild. This complicates data handling (the sync protocol might need to handle multiple schema versions until everyone is updated). Providing a smooth migration path for local data is doable (many libraries provide migration facilities), but it requires careful testing. In a worst case, a failed migration on a client could brick the app for that user or force a full resync. This is a much bigger headache than just migrating a centralized DB at midnight while your service is in maintenance mode. 🌃 Security and Access Control: In cloud-based apps, enforcing data security (who can see what) is done on the server. The client only gets the data it's authorized to get. In a local-first scenario, you often need to partition data per user on the backend as well, to ensure users only sync down their own data (or data they have permission for). One simple strategy is to give each user their own database or dataset on the server and only replicate that. For example, CouchDB allows creating one database per user and replication can be scoped to that DB which makes permission handling easy. But if you ever need to query across users (say an admin view or aggregate analytics), having data split into many small DBs becomes a pain. The alternative is a single backend database with a fine-grained access control, and the client asks to sync only certain documents/fields. That usually means writing a custom sync server or using something like GraphQL with resolvers that respect permissions. In short, implementing auth and permissions in sync adds complexity. Also, any data stored on the client is theoretically vulnerable to extraction (if someone compromises the device or uses dev tools). You can encrypt local databases to prevent extraction after the server "revokes" the decryption password to mitigate the data extraction risk. Relational Data and Complex Queries: Most client-side/offline databases are NoSQL/document oriented for flexibility in syncing and easy conflict handling. They may not support complex join queries or ACID transactions across multiple tables like a full SQL database would. This is partly because replicating a full relational model is much harder (maintaining referential integrity, etc., when data is partial on a client) or not even logically possible. For example if you have two offline clients running a complex UPDATE X WHERE Y FROM Z INNER JOIN Alice INNER JOIN Bob query and then they go online, you have no easy way of handling these conflicts. If your app has heavy relational data requirements or relies on complex server-side queries (aggregations, multi-join reports), you might find the local database either cannot do it or is too slow to do it client-side. The lack of robust relational querying is something to plan for and you might need to adjust your data model to be more document-oriented or use client-side libraries to run joins in memory. Most tools use NoSQL because it makes replication easy and implementing true relational sync would require extremely sophisticated solutions and even needing an atomic clock for full consistency across nodes (like google spanner). So, if your app truly needs SQL power on the client, local-first might complicate things. In Local-First, most tools use NoSQL because it makes replication and conflict handling easy. That's a long list of challenges! In summary, local-first approaches introduce distributed data issues on the client side that web developers usually didn't have to deal with. Despite these challenges, the local-first movement is steadily growing because the benefits to user experience and data control are very compelling and modern tools are emerging to mitigate a lot of these difficulties. All of these are solved or solvable for your specific use-case, just keep them in mind before you start architecting your local-first app. ","version":"Next","tagName":"h2"},{"title":"Local-First vs. Traditional Online-First Approaches","type":1,"pageTitle":"Why Local-First Software Is the Future and what are its Limitations","url":"/articles/local-first-future.html#local-first-vs-traditional-online-first-approaches","content":" So now that you know the pros and cons about Local-First. Lets directly compare it to your previous "online-first" stack: ","version":"Next","tagName":"h2"},{"title":"Connectivity and Offline Usage","type":1,"pageTitle":"Why Local-First Software Is the Future and what are its Limitations","url":"/articles/local-first-future.html#connectivity-and-offline-usage","content":" Local-first: Apps like WhatsApp store messages locally on your device, letting you read past messages and even compose new ones without a stable network connection. Once online, the messages sync with the server and other participants.Online-first: Purely cloud-based apps typically stop functioning (beyond simple caching) when the network or server goes down. They rely on a constant connection to fetch or store user data. ","version":"Next","tagName":"h3"},{"title":"Latency and Performance","type":1,"pageTitle":"Why Local-First Software Is the Future and what are its Limitations","url":"/articles/local-first-future.html#latency-and-performance","content":" Local-first: Because data operations happen on the device, you see near-instant interactions (e.g., typing and reading chats feels very responsive, as the messages are on your phone). Syncing occurs in the background without delaying the user.Online-first: Most interactions involve a round-trip to the server, adding network latency and potentially requiring loading states or fallback UIs. If the network is slow or unreliable, users can experience delays when sending or receiving updates. ","version":"Next","tagName":"h3"},{"title":"Complexity and Conflict Resolution","type":1,"pageTitle":"Why Local-First Software Is the Future and what are its Limitations","url":"/articles/local-first-future.html#complexity-and-conflict-resolution","content":" Local-first: Much of the complexity like storing data or handling conflicts, shifts to the client. WhatsApp, for instance, caches all messages locally and queues unsent messages offline. Once reconnected, it must reconcile with the server and other devices, especially if the same account is used on multiple platforms.Online-first: A single central server manages data and concurrency, so clients remain thinner. However, the app becomes unusable if connectivity is lost, and any server downtime directly impacts all users. ","version":"Next","tagName":"h3"},{"title":"Data Ownership and Storage Limits","type":1,"pageTitle":"Why Local-First Software Is the Future and what are its Limitations","url":"/articles/local-first-future.html#data-ownership-and-storage-limits","content":" Local-first: Users hold a complete copy of data on their own device, retaining control and quick access. This can raise challenges when data sets are very large; phone storage might be insufficient, or backups may be harder to guarantee.Online-first: Storing all data in the cloud scales more easily, and providers often manage backups automatically. On the downside, users depend on the service and must trust it to protect their data. ","version":"Next","tagName":"h3"},{"title":"When to Choose Which","type":1,"pageTitle":"Why Local-First Software Is the Future and what are its Limitations","url":"/articles/local-first-future.html#when-to-choose-which","content":" Local-first: Particularly helpful for scenarios where offline operation and immediate responsiveness matter, such as chat apps (like WhatsApp), field tools in low-connectivity environments, or any use case where users can't rely on being online 24/7.Online-first: Well-suited for systems that demand real-time central control or massive data aggregation with minimal offline needs, such as large-scale analytics platforms or services where guaranteed immediate global consistency is essential.Hybrid: In reality, most modern apps often blend these approaches, giving users partial offline capabilities (caching, queued updates) alongside a robust central service. This hybrid method offers the benefits of local speed and resilience, while still leveraging cloud infrastructure for collaboration and global reach. But a truth local-first app is way more than just a cache. ","version":"Next","tagName":"h3"},{"title":"Offline-First vs. Local-First","type":1,"pageTitle":"Why Local-First Software Is the Future and what are its Limitations","url":"/articles/local-first-future.html#offline-first-vs-local-first","content":" In the early days of offline-capable web apps (around 2014), the common phrase was "Offline-First". Tools like PouchDB popularized the notion that developers should assume devices are often offline or have flaky connections, so apps must continue to work seamlessly without a network. The guiding principle was "apps should treat being online as optional." If a user has no internet access, the application's core features still function, saving or queuing data locally, and automatically synchronizing once connectivity is restored. 4:18 What is Offline First? Over time, this focus on offline support evolved into the broader concept of "Local-First Software," (see Ink&Switch) emphasizing not just offline operation but also the technical underpinnings of storing data locally in the client application. While offline-first is primarily about resilience to network loss, local-first highlights ownership, privacy, and performance benefits of keeping the primary data on the user's device. Most tools these days extended the original offline-first concepts, adding real-time reactivity, custom sync, and more nuances like conflict resolution or encryption. However, the term "local-first" can be confusing to non-technical audiences because many people (especially in the US) associate "local first" with community-oriented movements that encourage buying from nearby businesses or supporting local initiatives. To reduce ambiguity, it may be clearer to use "local first software" or "local first development" in your documentation and marketing materials. When creating branding or logos around local-first software, avoid using the "Google Maps Pin" as a symbol. This icon typically implies geolocation or physical locality further mixing up the notion of "location-based services" with "on-device data storage." ","version":"Next","tagName":"h2"},{"title":"Do People Actually Use Local-First or Is It Just a Trend?","type":1,"pageTitle":"Why Local-First Software Is the Future and what are its Limitations","url":"/articles/local-first-future.html#do-people-actually-use-local-first-or-is-it-just-a-trend","content":" If we look at npm download statistics, we see that PouchDB - one of the oldest libraries for local-first apps - has about 53k downloads each week, and RxDB - a newer library - has about 22k weekly downloads. Other local-first tools often have even fewer downloads. In comparison, a popular library like react-query, which does not focus on local storage, is downloaded about 1.6 million times a week. These numbers show that local-first libraries, while used, are not as common as some of the more traditional tools. One reason is that local-first is still a new idea. Many developers are used to traditional "online-first" approaches, so switching to a local database and then syncing changes later can feel unfamiliar. Developers must learn different patterns, deal with offline synchronization, and handle possible conflicts. That extra work can be a barrier to adoption which might change in the future as tooling improves. While most of RxDB is open source, there are also premium plugins that help sustain RxDB as a long-term project. Because people purchase these plugins, we gains insights into how developers are using local-first features: About half of these users mainly want offline functionality for cases such as farming equipment, mining, construction, or even a shrimp farm app.The other half focus on faster, real-time UIs for to-do or reading apps, a space launch planning tool, and various dashboard apps. This range of use cases highlights both the resilience offline mode can offer and the performance boost that local databases can provide when synced in the background. ","version":"Next","tagName":"h2"},{"title":"Why Local-First Is the Future","type":1,"pageTitle":"Why Local-First Software Is the Future and what are its Limitations","url":"/articles/local-first-future.html#why-local-first-is-the-future","content":" Early in the history of the web, users expected static pages. If you wanted to see new content, you reloaded the page. That was normal at the time, and nobody found it strange because everything worked that way. Then, as more sites added real-time features - auto-updating feeds, live notifications, single-page apps - suddenly those older "reload-only" sites began to feel slow or outdated. Why wait for a manual refresh when real-time data was possible and readily available? The same pattern is happening with local-first apps. Right now, most sites are still built around network availability. We see loading spinners whenever data is fetched, and we simply wait for the server response. As local-first experiences become commonplace - removing spinners, letting users keep working when offline, and syncing in the background - everything else will start to feel frustratingly behind. Users won't tolerate slow or blocked interactions if they've seen apps that respond instantly and remain usable offline. They'll expect that as the default and we'll likely see growing pressure on developers to eliminate those extra loading steps. For many users, the experience of immediate local writes will become not just a perk, but an expectation! ","version":"Next","tagName":"h2"},{"title":"See also","type":1,"pageTitle":"Why Local-First Software Is the Future and what are its Limitations","url":"/articles/local-first-future.html#see-also","content":" Discuss this topic on HackerNewsLocal-First Technologies: A list of databases and technologies (besides RxDB) that support offline-first or local-first use cases.Discord: Join our Discord server to talk with people and share ideas about this topic.Inc&Switch: The "original" paper about Local-First from 2019 where the naming of local-first Software was first used and described.Learn how to build a local-first Application with RxDB. ","version":"Next","tagName":"h2"},{"title":"Using localStorage in Modern Applications: A Comprehensive Guide","type":0,"sectionRef":"#","url":"/articles/localstorage.html","content":"","keywords":"","version":"Next"},{"title":"What is the localStorage API?","type":1,"pageTitle":"Using localStorage in Modern Applications: A Comprehensive Guide","url":"/articles/localstorage.html#what-is-the-localstorage-api","content":" The localStorage API is a built-in feature of web browsers that enables web developers to store small amounts of data persistently on a user's device. It operates on a simple key-value basis, allowing developers to save strings, numbers, and other simple data types. This data remains available even after the user closes the browser or navigates away from the page. The API provides a convenient way to maintain state and store user preferences without relying on server-side storage. ","version":"Next","tagName":"h2"},{"title":"Exploring local storage Methods: A Practical Example","type":1,"pageTitle":"Using localStorage in Modern Applications: A Comprehensive Guide","url":"/articles/localstorage.html#exploring-local-storage-methods-a-practical-example","content":" Let's dive into some hands-on code examples to better understand how to leverage the power of localStorage. The API offers several methods for interaction, including setItem, getItem, removeItem, and clear. Consider the following code snippet: // Storing data using setItem localStorage.setItem('username', 'john_doe'); // Retrieving data using getItem const storedUsername = localStorage.getItem('username'); // Removing data using removeItem localStorage.removeItem('username'); // Clearing all data localStorage.clear(); ","version":"Next","tagName":"h2"},{"title":"Storing Complex Data in JavaScript with JSON Serialization","type":1,"pageTitle":"Using localStorage in Modern Applications: A Comprehensive Guide","url":"/articles/localstorage.html#storing-complex-data-in-javascript-with-json-serialization","content":" While js localStorage excels at handling simple key-value pairs, it also supports more intricate data storage through JSON serialization. By utilizing JSON.stringify and JSON.parse, you can store and retrieve structured data like objects and arrays. Here's an example of storing a document: const user = { name: 'Alice', age: 30, email: 'alice@example.com' }; // Storing a user object localStorage.setItem('user', JSON.stringify(user)); // Retrieving and parsing the user object const storedUser = JSON.parse(localStorage.getItem('user')); ","version":"Next","tagName":"h2"},{"title":"Understanding the Limitations of local storage","type":1,"pageTitle":"Using localStorage in Modern Applications: A Comprehensive Guide","url":"/articles/localstorage.html#understanding-the-limitations-of-local-storage","content":" Despite its convenience, localStorage does come with a set of limitations that developers should be aware of: Non-Async Blocking API: One significant drawback is that js localStorage operates as a non-async blocking API. This means that any operations performed on localStorage can potentially block the main thread, leading to slower application performance and a less responsive user experience.Limited Data Structure: Unlike more advanced databases, localStorage is limited to a simple key-value store. This restriction makes it unsuitable for storing complex data structures or managing relationships between data elements.Stringification Overhead: Storing JSON data in localStorage requires stringifying the data before storage and parsing it when retrieved. This process introduces performance overhead, potentially slowing down operations by up to 10 times.Lack of Indexing: localStorage lacks indexing capabilities, making it challenging to perform efficient searches or iterate over data based on specific criteria. This limitation can hinder applications that rely on complex data retrieval.Tab Blocking: In a multi-tab environment, one tab's localStorage operations can impact the performance of other tabs by monopolizing CPU resources. You can reproduce this behavior by opening this test file in two browser windows and trigger localstorage inserts in one of them. You will observe that the indication spinner will stuck in both windows.Storage Limit: Browsers typically impose a storage limit of around 5 MiB for each origin's localStorage. ","version":"Next","tagName":"h2"},{"title":"Reasons to Still Use localStorage","type":1,"pageTitle":"Using localStorage in Modern Applications: A Comprehensive Guide","url":"/articles/localstorage.html#reasons-to-still-use-localstorage","content":" ","version":"Next","tagName":"h2"},{"title":"Is localStorage Slow?","type":1,"pageTitle":"Using localStorage in Modern Applications: A Comprehensive Guide","url":"/articles/localstorage.html#is-localstorage-slow","content":" Contrary to concerns about performance, the localStorage API in JavaScript is surprisingly fast when compared to alternative storage solutions like IndexedDB or OPFS. It excels in handling small key-value assignments efficiently. Due to its simplicity and direct integration with browsers, accessing and modifying localStorage data incur minimal overhead. For scenarios where quick and straightforward data storage is required, localStorage remains a viable option. For example RxDB uses localStorage in the localStorage meta optimizer to manage simple key values pairs while storing the "normal" documents inside of another storage like IndexedDB. ","version":"Next","tagName":"h3"},{"title":"When Not to Use localStorage","type":1,"pageTitle":"Using localStorage in Modern Applications: A Comprehensive Guide","url":"/articles/localstorage.html#when-not-to-use-localstorage","content":" While localStorage offers convenience, it may not be suitable for every use case. Consider the following situations where alternatives might be more appropriate: Data Must Be Queryable: If your application relies heavily on querying data based on specific criteria, localStorage might not provide the necessary querying capabilities. Complex data retrieval might lead to inefficient code and slow performance.Big JSON Documents: Storing large JSON documents in localStorage can consume a significant amount of memory and degrade performance. It's essential to assess the size of the data you intend to store and consider more robust solutions for handling substantial datasets.Many Read/Write Operations: Excessive read and write operations on localStorage can lead to performance bottlenecks. Other storage solutions might offer better performance and scalability for applications that require frequent data manipulation.Lack of Persistence: If your application can function without persistent data across sessions, consider using in-memory data structures like new Map() or new Set(). These options offer speed and efficiency for transient data. ","version":"Next","tagName":"h2"},{"title":"What to use instead of the localStorage API in JavaScript","type":1,"pageTitle":"Using localStorage in Modern Applications: A Comprehensive Guide","url":"/articles/localstorage.html#what-to-use-instead-of-the-localstorage-api-in-javascript","content":" ","version":"Next","tagName":"h2"},{"title":"localStorage vs IndexedDB","type":1,"pageTitle":"Using localStorage in Modern Applications: A Comprehensive Guide","url":"/articles/localstorage.html#localstorage-vs-indexeddb","content":" While localStorage serves as a reliable storage solution for simpler data needs, it's essential to explore alternatives like IndexedDB when dealing with more complex requirements. IndexedDB is designed to store not only key-value pairs but also JSON documents. Unlike localStorage, which usually has a storage limit of around 5-10MB per domain, IndexedDB can handle significantly larger datasets. IndexDB with its support for indexing facilitates efficient querying, making range queries possible. However, it's worth noting that IndexedDB lacks observability, which is a feature unique to localStorage through the storage event. Also, complex queries can pose a challenge with IndexedDB, and while its performance is acceptable, IndexedDB can be too slow for some use cases. // localStorage can observe changes with the storage event. // This feature is missing in IndexedDB addEventListener("storage", (event) => {}); For those looking to harness the full power of IndexedDB with added capabilities, using wrapper libraries like RxDB is recommended. These libraries augment IndexedDB with features such as complex queries and observability, enhancing its usability for modern applications by providing a real database instead of only a key-value store. In summary when you compare IndexedDB vs localStorage, IndexedDB will win at any case where much data is handled while localStorage has better performance on small key-value datasets. ","version":"Next","tagName":"h3"},{"title":"File System API (OPFS)","type":1,"pageTitle":"Using localStorage in Modern Applications: A Comprehensive Guide","url":"/articles/localstorage.html#file-system-api-opfs","content":" Another intriguing option is the OPFS (File System API). This API provides direct access to an origin-based, sandboxed filesystem which is highly optimized for performance and offers in-place write access to its content. OPFS offers impressive performance benefits. However, working with the OPFS API can be complex, and it's only accessible within a WebWorker. To simplify its usage and extend its capabilities, consider using a wrapper library like RxDB's OPFS RxStorage, which builds a comprehensive database on top of the OPFS API. This abstraction allows you to harness the power of the OPFS API without the intricacies of direct usage. ","version":"Next","tagName":"h3"},{"title":"localStorage vs Cookies","type":1,"pageTitle":"Using localStorage in Modern Applications: A Comprehensive Guide","url":"/articles/localstorage.html#localstorage-vs-cookies","content":" Cookies, once a primary method of client-side data storage, have fallen out of favor in modern web development due to their limitations. While they can store data, they are about 100 times slower when compared to the localStorage API. Additionally, cookies are included in the HTTP header, which can impact network performance. As a result, cookies are not recommended for data storage purposes in contemporary web applications. ","version":"Next","tagName":"h3"},{"title":"localStorage vs WebSQL","type":1,"pageTitle":"Using localStorage in Modern Applications: A Comprehensive Guide","url":"/articles/localstorage.html#localstorage-vs-websql","content":" WebSQL, despite offering a SQL-based interface for client-side data storage, is a deprecated technology and should be avoided. Its API has been phased out of modern browsers, and it lacks the robustness of alternatives like IndexedDB. Moreover, WebSQL tends to be around 10 times slower than IndexedDB, making it a suboptimal choice for applications that demand efficient data manipulation and retrieval. ","version":"Next","tagName":"h3"},{"title":"localStorage vs sessionStorage","type":1,"pageTitle":"Using localStorage in Modern Applications: A Comprehensive Guide","url":"/articles/localstorage.html#localstorage-vs-sessionstorage","content":" In scenarios where data persistence beyond a session is unnecessary, developers often turn to sessionStorage. This storage mechanism retains data only for the duration of a tab or browser session. It survives page reloads and restores, providing a handy solution for temporary data needs. However, it's important to note that sessionStorage is limited in scope and may not suit all use cases. ","version":"Next","tagName":"h3"},{"title":"AsyncStorage for React Native","type":1,"pageTitle":"Using localStorage in Modern Applications: A Comprehensive Guide","url":"/articles/localstorage.html#asyncstorage-for-react-native","content":" For React Native developers, the AsyncStorage API is the go-to solution, mirroring the behavior of localStorage but with asynchronous support. Since not all JavaScript runtimes support localStorage, AsyncStorage offers a seamless alternative for data persistence in React Native applications. ","version":"Next","tagName":"h3"},{"title":"node-localstorage for Node.js","type":1,"pageTitle":"Using localStorage in Modern Applications: A Comprehensive Guide","url":"/articles/localstorage.html#node-localstorage-for-nodejs","content":" Because native localStorage is absent in the Node.js JavaScript runtime, you will get the error ReferenceError: localStorage is not defined in Node.js or node based runtimes like Next.js. The node-localstorage npm package bridges the gap. This package replicates the browser's localStorage API within the Node.js environment, ensuring consistent and compatible data storage capabilities. ","version":"Next","tagName":"h3"},{"title":"localStorage in browser extensions","type":1,"pageTitle":"Using localStorage in Modern Applications: A Comprehensive Guide","url":"/articles/localstorage.html#localstorage-in-browser-extensions","content":" While browser extensions for chrome and firefox support the localStorage API, it is not recommended to use it in that context to store extension-related data. The browser will clear the data in many scenarios like when the users clear their browsing history. Instead the Extension Storage API should be used for browser extensions. In contrast to localStorage, the storage API works async and all operations return a Promise. Also it provides automatic sync to replicate data between all instances of that browser that the user is logged into. The storage API is even able to storage JSON-ifiable objects instead of plain strings. // Using the storage API in chrome await chrome.storage.local.set({ foobar: {nr: 1} }); const result = await chrome.storage.local.get('foobar'); console.log(result.foobar); // {nr: 1} ","version":"Next","tagName":"h2"},{"title":"localStorage in Deno and Bun","type":1,"pageTitle":"Using localStorage in Modern Applications: A Comprehensive Guide","url":"/articles/localstorage.html#localstorage-in-deno-and-bun","content":" The Deno JavaScript runtime has a working localStorage API so running localStorage.setItem() and the other methods, will just work and the locally stored data is persisted across multiple runs. Bun does not support the localStorage JavaScript API. Trying to use localStorage will error with ReferenceError: Can't find variable: localStorage. To store data locally in Bun, you could use the bun:sqlite module instead or directly use a in-JavaScript database with Bun support like RxDB. ","version":"Next","tagName":"h2"},{"title":"Conclusion: Choosing the Right Storage Solution","type":1,"pageTitle":"Using localStorage in Modern Applications: A Comprehensive Guide","url":"/articles/localstorage.html#conclusion-choosing-the-right-storage-solution","content":" In the world of modern web development, localStorage serves as a valuable tool for lightweight data storage. Its simplicity and speed make it an excellent choice for small key-value assignments. However, as application complexity grows, developers must assess their storage needs carefully. For scenarios that demand advanced querying, complex data structures, or high-volume operations, alternatives like IndexedDB, wrapper libraries with additional features like RxDB, or platform-specific APIs offer more robust solutions. By understanding the strengths and limitations of various storage options, developers can make informed decisions that pave the way for efficient and scalable applications. ","version":"Next","tagName":"h2"},{"title":"Follow up","type":1,"pageTitle":"Using localStorage in Modern Applications: A Comprehensive Guide","url":"/articles/localstorage.html#follow-up","content":" Learn how to store and query data with RxDB in the RxDB QuickstartWhy IndexedDB is slow and how to fix itRxStorage performance comparison ","version":"Next","tagName":"h2"},{"title":"Mobile Database - RxDB as Database for Mobile Applications","type":0,"sectionRef":"#","url":"/articles/mobile-database.html","content":"","keywords":"","version":"Next"},{"title":"Understanding Mobile Databases","type":1,"pageTitle":"Mobile Database - RxDB as Database for Mobile Applications","url":"/articles/mobile-database.html#understanding-mobile-databases","content":" Mobile databases are specialized software systems designed to handle data storage and management for mobile applications. These databases are optimized for the unique requirements of mobile environments, which often include limited device resources, fluctuations in network connectivity, and the need for offline functionality. There are various types of mobile databases available, each with its own strengths and use cases. Local databases, such as SQLite and Realm, reside directly on the user's device, providing offline capabilities and faster data access. Cloud-based databases, like Firebase Realtime Database and Amazon DynamoDB, rely on remote servers to store and retrieve data, enabling synchronization across multiple devices. Hybrid databases, as the name suggests, combine the benefits of both local and cloud-based approaches, offering a balance between offline functionality and data synchronization. ","version":"Next","tagName":"h2"},{"title":"Introducing RxDB: A Paradigm Shift in Mobile Database Solutions","type":1,"pageTitle":"Mobile Database - RxDB as Database for Mobile Applications","url":"/articles/mobile-database.html#introducing-rxdb-a-paradigm-shift-in-mobile-database-solutions","content":" RxDB, also known as Reactive Database, has emerged as a game-changer in the realm of mobile databases. Built on top of popular web technologies like JavaScript, TypeScript, and RxJS (Reactive Extensions for JavaScript), RxDB provides an elegant solution for seamless offline-first capabilities and real-time data synchronization in mobile applications. Benefits of RxDB for Hybrid App Development Offline-First Approach: One of the major advantages of RxDB is its ability to work in an offline mode. It allows mobile applications to store and access data locally, ensuring uninterrupted functionality even when the network connection is weak or unavailable. The database automatically syncs the data with the server once the connection is reestablished, guaranteeing data consistency. Real-Time Data Synchronization: RxDB leverages the power of real-time data synchronization, making it an excellent choice for applications that require collaborative features or live updates. It uses the concept of change streams to detect modifications made to the database and instantly propagates those changes across connected devices. This real-time synchronization enables seamless collaboration and enhances user experience. Reactive Programming Paradigm: RxDB embraces the principles of reactive programming, which simplifies the development process by handling asynchronous events and data streams. By leveraging RxJS observables, developers can write concise, declarative code that reacts to changes in data, ensuring a highly responsive user experience. The reactive programming paradigm enhances code maintainability, scalability, and testability. Easy Integration with Hybrid App Frameworks: RxDB seamlessly integrates with popular hybrid app development frameworks like React Native and Capacitor. This compatibility allows developers to leverage the existing ecosystem and tools of these frameworks, making the transition to RxDB smoother and more efficient. By utilizing RxDB within these frameworks, developers can harness the power of a robust database solution without sacrificing the advantages of hybrid app development. Cross-Platform Support: RxDB enables developers to build cross-platform mobile applications that run seamlessly on both iOS and Android devices. This versatility eliminates the need for separate database implementations for different platforms, saving development time and effort. With RxDB, developers can focus on building a unified codebase and delivering a consistent user experience across platforms. ","version":"Next","tagName":"h2"},{"title":"Use Cases for RxDB in Hybrid App Development","type":1,"pageTitle":"Mobile Database - RxDB as Database for Mobile Applications","url":"/articles/mobile-database.html#use-cases-for-rxdb-in-hybrid-app-development","content":" Offline-First Applications: RxDB is an ideal choice for applications that heavily rely on offline functionality. Whether it's a note-taking app, a task manager, or a survey application, RxDB ensures that users can continue working even when connectivity is compromised. The seamless synchronization capabilities of RxDB ensure that changes made offline are automatically propagated once the device reconnects to the internet. Real-Time Collaboration: Applications that require real-time collaboration, such as messaging platforms or collaborative editing tools, can greatly benefit from RxDB. The real-time synchronization capabilities enable multiple users to work on the same data simultaneously, ensuring that everyone sees the latest updates in real-time. Data-Intensive Applications: RxDB's performance and scalability make it suitable for data-intensive applications that handle large datasets or complex data structures. Whether it's a media-rich app, a data visualization tool, or an analytics platform, RxDB can handle the heavy lifting and provide a smooth user experience. Cross-Platform Applications: Hybrid app frameworks like React Native and Capacitor have gained popularity due to their ability to build cross-platform applications. By utilizing RxDB within these frameworks, developers can create a unified codebase that runs seamlessly on both iOS and Android, significantly reducing development time and effort. ","version":"Next","tagName":"h2"},{"title":"Conclusion","type":1,"pageTitle":"Mobile Database - RxDB as Database for Mobile Applications","url":"/articles/mobile-database.html#conclusion","content":" Mobile databases play a vital role in the performance and functionality of mobile applications. RxDB, with its offline-first approach, real-time data synchronization, and seamless integration with hybrid app development frameworks like React Native and Capacitor, offers a robust solution for managing data in mobile apps. By leveraging the power of reactive programming, RxDB empowers developers to build highly responsive, scalable, and cross-platform applications that deliver an exceptional user experience. With its versatility and ease of use, RxDB is undoubtedly a database solution worth considering for hybrid app development. Embrace the power of RxDB and unlock the full potential of your mobile applications. ","version":"Next","tagName":"h2"},{"title":"LocalStorage vs. IndexedDB vs. Cookies vs. OPFS vs. WASM-SQLite","type":0,"sectionRef":"#","url":"/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm.html","content":"","keywords":"","version":"Next"},{"title":"The available Storage APIs in a modern Browser","type":1,"pageTitle":"LocalStorage vs. IndexedDB vs. Cookies vs. OPFS vs. WASM-SQLite","url":"/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm.html#the-available-storage-apis-in-a-modern-browser","content":" First lets have a brief overview of the different APIs, their intentional use case and history: ","version":"Next","tagName":"h2"},{"title":"What are Cookies","type":1,"pageTitle":"LocalStorage vs. IndexedDB vs. Cookies vs. OPFS vs. WASM-SQLite","url":"/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm.html#what-are-cookies","content":" Cookies were first introduced by netscape in 1994. Cookies store small pieces of key-value data that are mainly used for session management, personalization, and tracking. Cookies can have several security settings like a time-to-live or the domain attribute to share the cookies between several subdomains. Cookies values are not only stored at the client but also sent with every http request to the server. This means we cannot store much data in a cookie but it is still interesting how good cookie access performance compared to the other methods. Especially because cookies are such an important base feature of the web, many performance optimizations have been done and even these days there is still progress being made like the Shared Memory Versioning by chromium or the asynchronous CookieStore API. ","version":"Next","tagName":"h3"},{"title":"What is LocalStorage","type":1,"pageTitle":"LocalStorage vs. IndexedDB vs. Cookies vs. OPFS vs. WASM-SQLite","url":"/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm.html#what-is-localstorage","content":" The localStorage API was first proposed as part of the WebStorage specification in 2009. LocalStorage provides a simple API to store key-value pairs inside of a web browser. It has the methods setItem, getItem, removeItem and clear which is all you need from a key-value store. LocalStorage is only suitable for storing small amounts of data that need to persist across sessions and it is limited by a 5MB storage cap. Storing complex data is only possible by transforming it into a string for example with JSON.stringify(). The API is not asynchronous which means if fully blocks your JavaScript process while doing stuff. Therefore running heavy operations on it might block your UI from rendering. There is also the SessionStorage API. The key difference is that localStorage data persists indefinitely until explicitly cleared, while sessionStorage data is cleared when the browser tab or window is closed. ","version":"Next","tagName":"h3"},{"title":"What is IndexedDB","type":1,"pageTitle":"LocalStorage vs. IndexedDB vs. Cookies vs. OPFS vs. WASM-SQLite","url":"/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm.html#what-is-indexeddb","content":" IndexedDB was first introduced as "Indexed Database API" in 2015. IndexedDB is a low-level API for storing large amounts of structured JSON data. While the API is a bit hard to use, IndexedDB can utilize indexes and asynchronous operations. It lacks support for complex queries and only allows to iterate over the indexes which makes it more like a base layer for other libraries then a fully fledged database. In 2018, IndexedDB version 2.0 was introduced. This added some major improvements. Most noticeable the getAll() method which improves performance dramatically when fetching bulks of JSON documents. IndexedDB version 3.0 is in the workings which contains many improvements. Most important the addition of Promise based calls that makes modern JS features like async/await more useful. ","version":"Next","tagName":"h3"},{"title":"What is OPFS","type":1,"pageTitle":"LocalStorage vs. IndexedDB vs. Cookies vs. OPFS vs. WASM-SQLite","url":"/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm.html#what-is-opfs","content":" The Origin Private File System (OPFS) is a relatively new API that allows web applications to store large files directly in the browser. It is designed for data-intensive applications that want to write and read binary data in a simulated file system. OPFS can be used in two modes: Either asynchronous on the main threadOr in a WebWorker with the faster, asynchronous access with the createSyncAccessHandle() method. Because only binary data can be processed, OPFS is made to be a base filesystem for library developers. You will unlikely directly want to use the OPFS in your code when you build a "normal" application because it is too complex. That would only make sense for storing plain files like images, not to store and query JSON data efficiently. I have build a OPFS based storage for RxDB with proper indexing and querying and it took me several months. ","version":"Next","tagName":"h3"},{"title":"What is WASM SQLite","type":1,"pageTitle":"LocalStorage vs. IndexedDB vs. Cookies vs. OPFS vs. WASM-SQLite","url":"/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm.html#what-is-wasm-sqlite","content":" WebAssembly (Wasm) is a binary format that allows high-performance code execution on the web. Wasm was added to major browsers over the course of 2017 which opened a wide range of opportunities on what to run inside of a browser. You can compile native libraries to WebAssembly and just run them on the client with just a few adjustments. WASM code can be shipped to browser apps and generally runs much faster compared to JavaScript, but still about 10% slower then native. Many people started to use compiled SQLite as a database inside of the browser which is why it makes sense to also compare this setup to the native APIs. The compiled byte code of SQLite has a size of about 938.9 kB which must be downloaded and parsed by the users on the first page load. WASM cannot directly access any persistent storage API in the browser. Instead it requires data to flow from WASM to the main-thread and then can be put into one of the browser APIs. This is done with so called VFS (virtual file system) adapters that handle data access from SQLite to anything else. ","version":"Next","tagName":"h3"},{"title":"What was WebSQL","type":1,"pageTitle":"LocalStorage vs. IndexedDB vs. Cookies vs. OPFS vs. WASM-SQLite","url":"/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm.html#what-was-websql","content":" WebSQL was a web API introduced in 2009 that allowed browsers to use SQL databases for client-side storage, based on SQLite. The idea was to give developers a way to store and query data using SQL on the client side, similar to server-side databases. WebSQL has been removed from browsers in the current years for multiple good reasons: WebSQL was not standardized and having an API based on a single specific implementation in form of the SQLite source code is hard to ever make it to a standard.WebSQL required browsers to use a specific version of SQLite (version 3.6.19) which means whenever there would be any update or bugfix to SQLite, it would not be possible to add that to WebSQL without possible breaking the web.Major browsers like firefox never supported WebSQL. Therefore in the following we will just ignore WebSQL even if it would be possible to run tests on in by setting specific browser flags or using old versions of chromium. ","version":"Next","tagName":"h3"},{"title":"Feature Comparison","type":1,"pageTitle":"LocalStorage vs. IndexedDB vs. Cookies vs. OPFS vs. WASM-SQLite","url":"/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm.html#feature-comparison","content":" Now that you know the basic concepts of the APIs, lets compare some specific features that have shown to be important for people using RxDB and browser based storages in general. ","version":"Next","tagName":"h2"},{"title":"Storing complex JSON Documents","type":1,"pageTitle":"LocalStorage vs. IndexedDB vs. Cookies vs. OPFS vs. WASM-SQLite","url":"/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm.html#storing-complex-json-documents","content":" When you store data in a web application, most often you want to store complex JSON documents and not only "normal" values like the integers and strings you store in a server side database. Only IndexedDB works with JSON objects natively.With SQLite WASM you can store JSON in a text column since version 3.38.0 (2022-02-22) and even run deep queries on it and use single attributes as indexes. Every of the other APIs can only store strings or binary data. Of course you can transform any JSON object to a string with JSON.stringify() but not having the JSON support in the API can make things complex when running queries and running JSON.stringify() many times can cause performance problems. ","version":"Next","tagName":"h3"},{"title":"Multi-Tab Support","type":1,"pageTitle":"LocalStorage vs. IndexedDB vs. Cookies vs. OPFS vs. WASM-SQLite","url":"/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm.html#multi-tab-support","content":" A big difference when building a Web App compared to Electron or React-Native, is that the user will open and close the app in multiple browser tabs at the same time. Therefore you have not only one JavaScript process running, but many of them can exist and might have to share state changes between each other to not show outdated data to the user. If your users' muscle memory puts the left hand on the F5 key while using your website, you did something wrong! Not all storage APIs support a way to automatically share write events between tabs. Only localstorage has a way to automatically share write events between tabs by the API itself with the storage-event which can be used to observe changes. // localStorage can observe changes with the storage event. // This feature is missing in IndexedDB and others addEventListener("storage", (event) => {}); There was the experimental IndexedDB observers API for chrome, but the proposal repository has been archived. To workaround this problem, there are two solutions: The first option is to use the BroadcastChannel API which can send messages across browser tabs. So whenever you do a write to the storage, you also send a notification to other tabs to inform them about these changes. This is the most common workaround which is also used by RxDB. Notice that there is also the WebLocks API which can be used to have mutexes across browser tabs.The other solution is to use the SharedWorker and do all writes inside of the worker. All browser tabs can then subscribe to messages from that single SharedWorker and know about changes. ","version":"Next","tagName":"h3"},{"title":"Indexing Support","type":1,"pageTitle":"LocalStorage vs. IndexedDB vs. Cookies vs. OPFS vs. WASM-SQLite","url":"/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm.html#indexing-support","content":" The big difference between a database and storing data in a plain file, is that a database is writing data in a format that allows running operations over indexes to facilitate fast performant queries. From our list of technologies only IndexedDB and WASM SQLite support for indexing out of the box. In theory you can build indexes on top of any storage like localstorage or OPFS but you likely should not want to do that by yourself. In IndexedDB for example, we can fetch a bulk of documents by a given index range: // find all products with a price between 10 and 50 const keyRange = IDBKeyRange.bound(10, 50); const transaction = db.transaction('products', 'readonly'); const objectStore = transaction.objectStore('products'); const index = objectStore.index('priceIndex'); const request = index.getAll(keyRange); const result = await new Promise((res, rej) => { request.onsuccess = (event) => res(event.target.result); request.onerror = (event) => rej(event); }); Notice that IndexedDB has the limitation of not having indexes on boolean values. You can only index strings and numbers. To workaround that you have to transform boolean to numbers and backwards when storing the data. ","version":"Next","tagName":"h3"},{"title":"WebWorker Support","type":1,"pageTitle":"LocalStorage vs. IndexedDB vs. Cookies vs. OPFS vs. WASM-SQLite","url":"/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm.html#webworker-support","content":" When running heavy data operations, you might want to move the processing away from the JavaScript main thread. This ensures that our app keeps being responsive and fast while the processing can run in parallel in the background. In a browser you can either use the WebWorker, SharedWorker or the ServiceWorker API to do that. In RxDB you can use the WebWorker or SharedWorker plugins to move your storage inside of a worker. The most common API for that use case is spawning a WebWorker and doing most work on that second JavaScript process. The worker is spawned from a separate JavaScript file (or base64 string) and communicates with the main thread by sending data with postMessage(). Unfortunately LocalStorage and Cookiescannot be used in WebWorker or SharedWorker because of the design and security constraints. WebWorkers run in a separate global context from the main browser thread and therefore cannot do stuff that might impact the main thread. They have no direct access to certain web APIs, like the DOM, localStorage, or cookies. Everything else can be used from inside a WebWorker. The fast version of OPFS with the createSyncAccessHandle method can onlybe used in a WebWorker, and not on the main thread. This is because all the operations of the returned AccessHandle are not async and therefore block the JavaScript process, so you do want to do that on the main thread and block everything. ","version":"Next","tagName":"h3"},{"title":"Storage Size Limits","type":1,"pageTitle":"LocalStorage vs. IndexedDB vs. Cookies vs. OPFS vs. WASM-SQLite","url":"/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm.html#storage-size-limits","content":" Cookies are limited to about 4 KB of data in RFC-6265. Because the stored cookies are send to the server with every HTTP request, this limitation is reasonable. You can test your browsers cookie limits here. Notice that you should never fill up the full 4 KB of your cookies because your web server will not accept too long headers and reject the requests with HTTP ERROR 431 - Request header fields too large. Once you have reached that point you can not even serve updated JavaScript to your user to clean up the cookies and you will have locked out that user until the cookies get cleaned up manually. LocalStorage has a storage size limitation that varies depending on the browser, but generally ranges from 4 MB to 10 MB per origin. You can test your localStorage size limit here. Chrome/Chromium/Edge: 5 MB per domainFirefox: 10 MB per domainSafari: 4-5 MB per domain (varies slightly between versions) IndexedDB does not have a specific fixed size limitation like localStorage. The maximum storage size for IndexedDB depends on the browser implementation. The upper limit is typically based on the available disc space on the user's device. In chromium browsers it can use up to 80% of total disk space. You can get an estimation about the storage size limit by calling await navigator.storage.estimate(). Typically you can store gigabytes of data which can be tried out here. Notice that we have a full article about storage max size limits of IndexedDB that covers this topic. OPFS has the same storage size limitation as IndexedDB. Its limit depends on the available disc space. This can also be tested here. ","version":"Next","tagName":"h2"},{"title":"Performance Comparison","type":1,"pageTitle":"LocalStorage vs. IndexedDB vs. Cookies vs. OPFS vs. WASM-SQLite","url":"/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm.html#performance-comparison","content":" Now that we've reviewed the features of each storage method, let's dive into performance comparisons, focusing on initialization times, read/write latencies, and bulk operations. Notice that we only run simple tests and for your specific use case in your application the results might differ. Also we only compare performance in google chrome (version 128.0.6613.137). Firefox and Safari have similar but not equal performance patterns. You can run the test by yourself on your own machine from this github repository. For all tests we throttle the network to behave like the average german internet speed. (download: 135,900 kbit/s, upload: 28,400 kbit/s, latency: 125ms). Also all tests store an "average" JSON object that might be required to be stringified depending on the storage. We also only test the performance of storing documents by id because some of the technologies (cookies, OPFS and localstorage) do not support indexed range operations so it makes no sense to compare the performance of these. ","version":"Next","tagName":"h2"},{"title":"Initialization Time","type":1,"pageTitle":"LocalStorage vs. IndexedDB vs. Cookies vs. OPFS vs. WASM-SQLite","url":"/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm.html#initialization-time","content":" Before you can store any data, many APIs require a setup process like creating databases, spawning WebAssembly processes or downloading additional stuff. To ensure your app starts fast, the initialization time is important. The APIs of localStorage and Cookies do not have any setup process and can be directly used. IndexedDB requires to open a database and a store inside of it. WASM SQLite needs to download a WASM file and process it. OPFS needs to download and start a worker file and initialize the virtual file system directory. Here are the time measurements from how long it takes until the first bit of data can be stored: Technology\tTime in MillisecondsIndexedDB\t46 OPFS Main Thread\t23 OPFS WebWorker\t26.8 WASM SQLite (memory)\t504 WASM SQLite (IndexedDB)\t535 Here we can notice a few things: Opening a new IndexedDB database with a single store takes surprisingly longThe latency overhead of sending data from the main thread to a WebWorker OPFS is about 4 milliseconds. Here we only send minimal data to init the OPFS file handler. It will be interesting if that latency increases when more data is processed.Downloading and parsing WASM SQLite and creating a single table takes about half a second. Using also the IndexedDB VFS to store data persistently adds additional 31 milliseconds. Reloading the page with enabled caching and already prepared tables is a bit faster with 420 milliseconds (memory). ","version":"Next","tagName":"h3"},{"title":"Latency of small Writes","type":1,"pageTitle":"LocalStorage vs. IndexedDB vs. Cookies vs. OPFS vs. WASM-SQLite","url":"/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm.html#latency-of-small-writes","content":" Next lets test the latency of small writes. This is important when you do many small data changes that happen independent from each other. Like when you stream data from a websocket or persist pseudo randomly happening events like mouse movements. Technology\tTime in MillisecondsCookies\t0.058 LocalStorage\t0.017 IndexedDB\t0.17 OPFS Main Thread\t1.46 OPFS WebWorker\t1.54 WASM SQLite (memory)\t0.17 WASM SQLite (IndexedDB)\t3.17 Here we can notice a few things: LocalStorage has the lowest write latency with only 0.017 milliseconds per write.IndexedDB writes are about 10 times slower compared to localStorage.Sending the data to the WASM SQLite process and letting it persist via IndexedDB is slow with over 3 milliseconds per write. The OPFS operations take about 1.5 milliseconds to write the JSON data into one document per file. We can see the sending the data to a webworker first is a bit slower which comes from the overhead of serializing and deserializing the data on both sides. If we would not create on OPFS file per document but instead append everything to a single file, the performance pattern changes significantly. Then the faster file handle from the createSyncAccessHandle() only takes about 1 millisecond per write. But this would require to somehow remember at which position the each document is stored. Therefore in our tests we will continue using one file per document. ","version":"Next","tagName":"h3"},{"title":"Latency of small Reads","type":1,"pageTitle":"LocalStorage vs. IndexedDB vs. Cookies vs. OPFS vs. WASM-SQLite","url":"/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm.html#latency-of-small-reads","content":" Now that we have stored some documents, lets measure how long it takes to read single documents by their id. Technology\tTime in MillisecondsCookies\t0.132 LocalStorage\t0.0052 IndexedDB\t0.1 OPFS Main Thread\t1.28 OPFS WebWorker\t1.41 WASM SQLite (memory)\t0.45 WASM SQLite (IndexedDB)\t2.93 Here we can notice a few things: LocalStorage reads are really really fast with only 0.0052 milliseconds per read.The other technologies perform reads in a similar speed to their write latency. ","version":"Next","tagName":"h3"},{"title":"Big Bulk Writes","type":1,"pageTitle":"LocalStorage vs. IndexedDB vs. Cookies vs. OPFS vs. WASM-SQLite","url":"/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm.html#big-bulk-writes","content":" As next step, lets do some big bulk operations with 200 documents at once. Technology\tTime in MillisecondsCookies\t20.6 LocalStorage\t5.79 IndexedDB\t13.41 OPFS Main Thread\t280 OPFS WebWorker\t104 WASM SQLite (memory)\t19.1 WASM SQLite (IndexedDB)\t37.12 Here we can notice a few things: Sending the data to a WebWorker and running it via the faster OPFS API is about twice as fast.WASM SQLite performs better on bulk operations compared to its single write latency. This is because sending the data to WASM and backwards is faster if it is done all at once instead of once per document. ","version":"Next","tagName":"h3"},{"title":"Big Bulk Reads","type":1,"pageTitle":"LocalStorage vs. IndexedDB vs. Cookies vs. OPFS vs. WASM-SQLite","url":"/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm.html#big-bulk-reads","content":" Now lets read 100 documents in a bulk request. Technology\tTime in MillisecondsCookies\t6.34 LocalStorage\t0.39 IndexedDB\t4.99 OPFS Main Thread\t54.79 OPFS WebWorker\t25.61 WASM SQLite (memory)\t3.59 WASM SQLite (IndexedDB)\t5.84 (35ms without cache) Here we can notice a few things: Reading many files in the OPFS webworker is about twice as fast compared to the slower main thread mode.WASM SQLite is surprisingly fast. Further inspection has shown that the WASM SQLite process keeps the documents in memory cached which improves the latency when we do reads directly after writes on the same data. When the browser tab is reloaded between the writes and the reads, finding the 100 documents takes about 35 milliseconds instead. ","version":"Next","tagName":"h3"},{"title":"Performance Conclusions","type":1,"pageTitle":"LocalStorage vs. IndexedDB vs. Cookies vs. OPFS vs. WASM-SQLite","url":"/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm.html#performance-conclusions","content":" LocalStorage is really fast but remember that is has some downsides: It blocks the main JavaScript process and therefore should not be used for big bulk operations.Only Key-Value assignments are possible, you cannot use it efficiently when you need to do index based range queries on your data. OPFS is way faster when used in the WebWorker with the createSyncAccessHandle() method compare to using it directly in the main thread.SQLite WASM can be fast but you have to initially download the full binary and start it up which takes about half a second. This might not be relevant at all if your app is started up once and the used for a very long time. But for web-apps that are opened and closed in many browser tabs many times, this might be a problem. ","version":"Next","tagName":"h2"},{"title":"Possible Improvements","type":1,"pageTitle":"LocalStorage vs. IndexedDB vs. Cookies vs. OPFS vs. WASM-SQLite","url":"/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm.html#possible-improvements","content":" There is a wide range of possible improvements and performance hacks to speed up the operations. For IndexedDB I have made a list of performance hacks here. For example you can do sharding between multiple database and webworkers or use a custom index strategy.OPFS is slow in writing one file per document. But you do not have to do that and instead you can store everything at a single file like a normal database would do. This improves performance dramatically like it was done with the RxDB OPFS RxStorage.You can mix up the technologies to optimize for multiple scenarios at once. For example in RxDB there is the localstorage meta optimizer which stores initial metadata in localstorage and "normal" documents inside of IndexedDB. This improves the initial startup time while still having the documents stored in a way to query them efficiently.There is the memory-mapped storage plugin in RxDB which maps data directly to memory. Using this in combination with a shared worker can improve pageloads and query time significantly.Compressing data before storing it might improve the performance for some of the storages.Splitting work up between multiple WebWorkers via sharding can improve performance by utilizing the whole capacity of your users device. Here you can see the performance comparison of various RxDB storage implementations which gives a better view of real world performance: ","version":"Next","tagName":"h2"},{"title":"Future Improvements","type":1,"pageTitle":"LocalStorage vs. IndexedDB vs. Cookies vs. OPFS vs. WASM-SQLite","url":"/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm.html#future-improvements","content":" You are reading this in 2024, but the web does not stand still. There is a good chance that browser get enhanced to allow faster and better data operations. Currently there is no way to directly access a persistent storage from inside a WebAssembly process. If this changes in the future, running SQLite (or a similar database) in a browser might be the best option.Sending data between the main thread and a WebWorker is slow but might be improved in the future. There is a good article about why postMessage() is slow.IndexedDB lately got support for storage buckets (chrome only) which might improve performance. ","version":"Next","tagName":"h2"},{"title":"Follow Up","type":1,"pageTitle":"LocalStorage vs. IndexedDB vs. Cookies vs. OPFS vs. WASM-SQLite","url":"/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm.html#follow-up","content":" Share my announcement tweet -->Reproduce the benchmarks at the github repoLearn how to use RxDB with the RxDB QuickstartCheck out the RxDB github repo and leave a star ⭐ ","version":"Next","tagName":"h2"},{"title":"RxDB – The Ultimate Offline Database with Sync and Encryption","type":0,"sectionRef":"#","url":"/articles/offline-database.html","content":"","keywords":"","version":"Next"},{"title":"Why Choose an Offline Database?","type":1,"pageTitle":"RxDB – The Ultimate Offline Database with Sync and Encryption","url":"/articles/offline-database.html#why-choose-an-offline-database","content":" Offline-first or local-first software stores data directly on the client device. This strategy isn’t just about surviving network outages; it also makes your application faster, more user-friendly, and better at handling multiple usage scenarios. ","version":"Next","tagName":"h2"},{"title":"1. Zero Loading Spinners","type":1,"pageTitle":"RxDB – The Ultimate Offline Database with Sync and Encryption","url":"/articles/offline-database.html#1-zero-loading-spinners","content":" Applications that call remote servers for every request inevitably show loading spinners. With an offline database, read and write operations happen locally—providing near-instant feedback. Users no longer stare at progress indicators or wait for server responses, resulting in a smoother and more fluid experience. ","version":"Next","tagName":"h3"},{"title":"2. Multi-Tab Consistency","type":1,"pageTitle":"RxDB – The Ultimate Offline Database with Sync and Encryption","url":"/articles/offline-database.html#2-multi-tab-consistency","content":" Many websites mishandle data across multiple browser tabs. In an offline database, all tabs share the same local datastore. If the user updates data in one tab (like completing a to-do item), changes instantly reflect in every other tab. This removes complex multi-window synchronization problems. ","version":"Next","tagName":"h3"},{"title":"3. Real-Time Data Feeds","type":1,"pageTitle":"RxDB – The Ultimate Offline Database with Sync and Encryption","url":"/articles/offline-database.html#3-real-time-data-feeds","content":" Apps that rely on a purely server-driven approach often show stale data unless they add a separate real-time push system (like websockets). Local-first solutions with built-in replication essentially get real-time updates “for free.” Once the server sends any changes, your local offline database updates—keeping your UI live and accurate. ","version":"Next","tagName":"h3"},{"title":"4. Reduced Server Load","type":1,"pageTitle":"RxDB – The Ultimate Offline Database with Sync and Encryption","url":"/articles/offline-database.html#4-reduced-server-load","content":" In a traditional app, every interaction triggers a request to the server, scaling up resource usage quickly as traffic grows. Offline-first setups replicate data to the client once, and subsequent local reads or writes do not stress the backend. Your server usage grows with the amount of data—rather than every user action—leading to more efficient scaling. ","version":"Next","tagName":"h3"},{"title":"5. Simpler Development: Fewer Endpoints, No Extra State Library","type":1,"pageTitle":"RxDB – The Ultimate Offline Database with Sync and Encryption","url":"/articles/offline-database.html#5-simpler-development-fewer-endpoints-no-extra-state-library","content":" Typical apps require numerous REST endpoints and possibly a client-side state manager (like Redux) to handle data flow. If you adopt an offline database, you can replicate nearly everything to the client. The local DB becomes your single source of truth, and you may skip advanced state libraries altogether. ","version":"Next","tagName":"h3"},{"title":"Introducing RxDB – A Powerful Offline Database Solution","type":1,"pageTitle":"RxDB – The Ultimate Offline Database with Sync and Encryption","url":"/articles/offline-database.html#introducing-rxdb--a-powerful-offline-database-solution","content":" RxDB (Reactive Database) is a NoSQL JavaScript database that lives entirely in your client environment. It’s optimized for: Offline-first usageReactive queries (your UI updates in real time)Flexible replication with various backendsField-level encryption to protect sensitive data You can run RxDB in: Browsers (IndexedDB, OPFS)Mobile hybrid apps (Ionic, Capacitor)Native modules (React Native)Desktop environments (Electron)Node.jsServers or Scripts Wherever your JavaScript executes, RxDB can serve as a robust offline database. ","version":"Next","tagName":"h2"},{"title":"Quick Setup Example","type":1,"pageTitle":"RxDB – The Ultimate Offline Database with Sync and Encryption","url":"/articles/offline-database.html#quick-setup-example","content":" Below is a short demo of how to create an RxDB database, add a collection, and observe a query. You can expand upon this to enable encryption or full sync. import { createRxDatabase } from 'rxdb/plugins/core'; import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage'; async function initDB() { // Create a local offline database const db = await createRxDatabase({ name: 'myOfflineDB', storage: getRxStorageLocalstorage() }); // Add collections await db.addCollections({ tasks: { schema: { title: 'tasks schema', version: 0, type: 'object', primaryKey: 'id', properties: { id: { type: 'string' }, title: { type: 'string' }, done: { type: 'boolean' } } } } }); // Observe changes in real time db.tasks .find({ selector: { done: false } }) .$ // returns an observable that emits whenever the result set changes .subscribe(undoneTasks => { console.log('Currently undone tasks:', undoneTasks); }); return db; } Now the tasks collection is ready to store data offline. You could also replicate it to a backend, encrypt certain fields, or utilize more advanced features like conflict resolution. ","version":"Next","tagName":"h2"},{"title":"How Offline Sync Works in RxDB","type":1,"pageTitle":"RxDB – The Ultimate Offline Database with Sync and Encryption","url":"/articles/offline-database.html#how-offline-sync-works-in-rxdb","content":" RxDB uses a Sync Engine that pushes local changes to the server and pulls remote updates back down. This ensures local data is always fresh and that the server has the latest offline edits once the device reconnects. Multiple Plugins exist to handle various backends or replication methods: CouchDB or PouchDBGoogle FirestoreGraphQL endpointsREST / HTTPWebSocket or WebRTC (for peer-to-peer sync) You pick the plugin that fits your stack, and RxDB handles everything from conflict detection to event emission, allowing you to focus on building your user-facing features. import { replicateRxCollection } from 'rxdb/plugins/replication'; replicateRxCollection({ collection: db.tasks, replicationIdentifier: 'tasks-sync', pull: { /* fetch updates from server */ }, push: { /* send local writes to server */ }, live: true // keep them in sync constantly }); ","version":"Next","tagName":"h2"},{"title":"Securing Your Offline Database with Encryption","type":1,"pageTitle":"RxDB – The Ultimate Offline Database with Sync and Encryption","url":"/articles/offline-database.html#securing-your-offline-database-with-encryption","content":" Local data can be a risk if it’s sensitive or personal. RxDB offers encryption plugins to keep specific document fields secure at rest. Encryption Example import { createRxDatabase } from 'rxdb/plugins/core'; import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage'; import { wrappedKeyEncryptionCryptoJsStorage } from 'rxdb/plugins/encryption-crypto-js'; async function initSecureDB() { // Wrap the storage with crypto-js encryption const encryptedStorage = wrappedKeyEncryptionCryptoJsStorage({ storage: getRxStorageLocalstorage() }); // Create database with a password const db = await createRxDatabase({ name: 'secureOfflineDB', storage: encryptedStorage, password: 'myTopSecretPassword' }); // Define an encrypted collection await db.addCollections({ userSecrets: { schema: { title: 'encrypted user data', version: 0, type: 'object', primaryKey: 'id', properties: { id: { type: 'string' }, secretData: { type: 'string' } }, required: ['id'], encrypted: ['secretData'] // field is encrypted at rest } } }); return db; } When the device is off or the database file is extracted, secretData remains unreadable without the specified password. This ensures only authorized parties can access sensitive fields, even in offline scenarios. ","version":"Next","tagName":"h2"},{"title":"Follow Up","type":1,"pageTitle":"RxDB – The Ultimate Offline Database with Sync and Encryption","url":"/articles/offline-database.html#follow-up","content":" Integrating an offline database approach into your app delivers near-instant interactions, true multi-tab data consistency, automatic real-time updates, and reduced server dependencies. By choosing RxDB, you gain: Offline-first local storageFlexible replication to various backendsEncryption of sensitive fieldsReactive queries for real-time UI updates RxDB transforms how you build and scale apps—no more loading spinners, no more stale data, no more complicated offline handling. Everything is local, synced, and secured. Continue your learning path: Explore the RxDB EcosystemDive into additional features like Compression or advanced Conflict Handling to optimize your offline database. Learn More About Offline-FirstRead our Offline First documentation for a deeper understanding of why local-first architectures improve user experience and reduce server load. Join the CommunityHave questions or feedback? Connect with us on the RxDB Chat or open an issue on GitHub. Upgrade to PremiumIf you need high-performance features—like SQLite storage for mobile or the Web Crypto-based encryption plugin—consider our premium offerings. By adopting an offline database approach with RxDB, you unlock speed, reliability, and security for your applications—leading to a truly seamless user experience. ","version":"Next","tagName":"h2"},{"title":"Building an Optimistic UI with RxDB","type":0,"sectionRef":"#","url":"/articles/optimistic-ui.html","content":"","keywords":"","version":"Next"},{"title":"Benefits of an Optimistic UI","type":1,"pageTitle":"Building an Optimistic UI with RxDB","url":"/articles/optimistic-ui.html#benefits-of-an-optimistic-ui","content":" Optimistic UIs offer a host of advantages, from improving the user experience to streamlining the underlying infrastructure. Below are some key reasons why an optimistic approach can revolutionize your application's performance and scalability. ","version":"Next","tagName":"h2"},{"title":"Better User Experience with Optimistic UI","type":1,"pageTitle":"Building an Optimistic UI with RxDB","url":"/articles/optimistic-ui.html#better-user-experience-with-optimistic-ui","content":" No loading spinners, near-zero latency: Users perceive their actions as instant. Any actual network delays or slow server operations can be handled behind the scenes.Offline capability: Optimistic UI pairs perfectly with offline-first apps. Users can continue to interact with the application even when offline, and changes will be synced automatically once the network is available again. ","version":"Next","tagName":"h3"},{"title":"Better Scaling and Easier to Implement","type":1,"pageTitle":"Building an Optimistic UI with RxDB","url":"/articles/optimistic-ui.html#better-scaling-and-easier-to-implement","content":" Fewer server endpoints: Instead of sending a separate HTTP request for every single user interaction, you can batch updates and sync them in bulk.Less server load: By handling changes locally and syncing in batches, you reduce the volume of server round-trips.Automated error handling: If a request fails or a document is in conflict, RxDB's replication mechanism can seamlessly retry and resolve conflicts in the background, without requiring a separate endpoint or manual user intervention. ","version":"Next","tagName":"h3"},{"title":"Building Optimistic UI Apps with RxDB","type":1,"pageTitle":"Building an Optimistic UI with RxDB","url":"/articles/optimistic-ui.html#building-optimistic-ui-apps-with-rxdb","content":" Now that we know what an optimistic UI is, lets build one with RxDB. ","version":"Next","tagName":"h2"},{"title":"Local Database: The Backbone of an Optimistic UI","type":1,"pageTitle":"Building an Optimistic UI with RxDB","url":"/articles/optimistic-ui.html#local-database-the-backbone-of-an-optimistic-ui","content":" A local database is the heart of an Optimistic UI. With RxDB, all application state is stored locally, ensuring seamless and instant updates. You can choose from multiple storage backends based on your runtime - check out RxDB Storage Options to see which engines (IndexedDB, SQLite, or custom) suit your environment best. Instant Writes: When users perform an action (like clicking a button or submitting a form), the changes are written directly to the local RxDB database. This immediate local write makes the UI feel snappy and removes the dependency on instantaneous server responses. Offline-First: Because data is managed locally, your app continues to operate smoothly even without an internet connection. Users can view, create, and update data at any time, assured that changes will sync automatically once they're back online. ","version":"Next","tagName":"h3"},{"title":"Real-Time UI Changes on Updates","type":1,"pageTitle":"Building an Optimistic UI with RxDB","url":"/articles/optimistic-ui.html#real-time-ui-changes-on-updates","content":" RxDB's core is built around observables that react to any state changes - whether from local writes or incoming replication from the server. Automatic UI refresh: Any query or document subscription in RxDB automatically notifies your UI layer when data changes. There's no need to manually poll or refetch.Cross-tab updates: If you have the same RxDB database open in multiple browser tabs, changes in one tab instantly propagate to the others. Event-Reduce Algorithm: Under the hood, RxDB uses the event-reduce algorithm to minimize overhead. Instead of re-running expensive queries, RxDB calculates the smallest possible updates needed to keep query results accurate - further boosting real-time performance. ","version":"Next","tagName":"h3"},{"title":"Replication with a Server","type":1,"pageTitle":"Building an Optimistic UI with RxDB","url":"/articles/optimistic-ui.html#replication-with-a-server","content":" While local storage is key to an Optimistic UI, most applications ultimately need to sync with a remote back end. RxDB offers a powerful replication system that can sync your local data with virtually any server/database in the background: Incremental and real-time: RxDB continuously pushes local changes to the server when a network is available and fetches server updates as they happen.Conflict resolution: If changes happen offline or multiple clients update the same data, RxDB detects conflicts and makes it straightforward to resolve them.Flexible transport: Beyond simple HTTP polling, you can incorporate WebSockets, Server-Sent Events (SSE), or other protocols for instant, server-confirmed changes broadcast to all connected clients. See this guide to learn more. By combining local-first data handling with real-time synchronization, RxDB delivers most of what an Optimistic UI needs - right out of the box. The result is a seamless user experience where interactions never feel blocked by slow networks, and any conflicts or final validations are quietly handled in the background. Handling Offline Changes and Conflicts Offline-first approach: All writes are initially stored in the local database. When connectivity returns, RxDB's replication automatically pushes changes to the server.Conflict resolution: If multiple clients edit the same documents while offline, conflicts are automatically detected and can be resolved gracefully (more on conflicts below). WebSockets, SSE, or Beyond For truly real-time communication - where server-confirmed changes instantly reach all clients - you can go beyond simple HTTP polling. Use WebSockets, Server-Sent Events (SSE), or other streaming protocols to broadcast updates the moment they occur. This pattern excels in scenarios like chats, collaborative editors, or dynamic dashboards. To learn more about these protocols and their integration with RxDB, check out this guide. ","version":"Next","tagName":"h3"},{"title":"Optimistic UI in Various Frameworks","type":1,"pageTitle":"Building an Optimistic UI with RxDB","url":"/articles/optimistic-ui.html#optimistic-ui-in-various-frameworks","content":" ","version":"Next","tagName":"h2"},{"title":"Angular Example","type":1,"pageTitle":"Building an Optimistic UI with RxDB","url":"/articles/optimistic-ui.html#angular-example","content":" Angular's async pipe works smoothly with RxDB's observables. Suppose you have a myCollection of documents, you can directly subscribe in the template: <ul *ngIf="(myCollection.find().$ | async) as docs"> <li *ngFor="let doc of docs"> {{ doc.name }} </li> </ul> This snippet: Subscribes to myCollection.find().$, which emits live updates whenever documents in the collection change.Passes the emitted array of documents into docs.Renders each document in a list item, instantly reflecting any changes. ","version":"Next","tagName":"h3"},{"title":"React Example","type":1,"pageTitle":"Building an Optimistic UI with RxDB","url":"/articles/optimistic-ui.html#react-example","content":" In React, you can utilize signals or other state management tools. For instance, if we have an RxDB extension that exposes a signal: import React from 'react'; function MyComponent({ myCollection }) { // .find().$$ provides a signal that updates whenever data changes const docsSignal = myCollection.find().$$; return ( <ul> {docs.map((doc) => ( <li key={doc.id}>{doc.name}</li> ))} </ul> ); } export default MyComponent; When you call docsSignal.value or use a hook like useSignal, it pulls the latest value from the RxDB query. Whenever the collection updates, the signal emits the new data, and React re-renders the component instantly. ","version":"Next","tagName":"h3"},{"title":"Downsides of Optimistic UI Apps","type":1,"pageTitle":"Building an Optimistic UI with RxDB","url":"/articles/optimistic-ui.html#downsides-of-optimistic-ui-apps","content":" While Optimistic UIs feel snappy, there are some caveats: Conflict Resolution: With an optimistic approach, multiple offline devices might edit the same data. When syncing back, conflicts occur that must be merged. RxDB uses revisions to detect and handle these conflicts. User Confusion: Users may see changes that haven't yet been confirmed by the server. If a subsequent server validation fails, the UI must revert to a previous state. Clear visual feedback or user notifications help reduce confusion. Server Compatibility: The server must be capable of storing and returning revision metadata (for instance, a timestamp or versioning system). Check out RxDB's replication docs for details on how to structure your back end. Storage Limits: Storing data in the client has practical size limits. IndexedDB or other client-side storages have constraints (though usually quite large). See storage comparisons. ","version":"Next","tagName":"h2"},{"title":"Conflict Resolution Strategies","type":1,"pageTitle":"Building an Optimistic UI with RxDB","url":"/articles/optimistic-ui.html#conflict-resolution-strategies","content":" Last Write to Server Wins: A simplest-possible method: whatever update reaches the server last overrides previous data. Good for non-critical data like “like" counts or ephemeral states.Revision-Based Merges: Use revision numbers or timestamps to track concurrent edits. Merge them intelligently by combining fields or choosing the latest sub-document changes. This is ideal for collaborative apps where you don't want to overwrite entire records.User Prompts: In certain workflows (e.g., shipping forms, e-commerce checkout), you may need to notify the user about conflicts and let them choose which version to keep.First Write to Server Wins (RxDB Default): RxDB's default approach is to let the first successful push define the latest version. Any incoming push with an outdated revision triggers a conflict that must be resolved on the client side. Learn more at here. ","version":"Next","tagName":"h2"},{"title":"When (and When Not) to Use Optimistic UI","type":1,"pageTitle":"Building an Optimistic UI with RxDB","url":"/articles/optimistic-ui.html#when-and-when-not-to-use-optimistic-ui","content":" When to Use Real-time interactions like chat apps, social feeds, or “Likes." Situations where high success rates of operations are expected (most writes don't fail).Apps that need an offline-first approach or handle intermittent connectivity gracefully. When Not to Use Large, complex transactions with high failure rates.Scenarios requiring heavy server validations or approvals (for example, financial transactions with complex rules).Workflows where immediate feedback could mislead users about an operation's success probability. Assessing Risk Consider the likelihood that a user's action might fail. If it's very low, optimistic UI is often best.If frequent failures or complex validations occur, consider a hybrid approach: partial optimistic updates for some actions, while more critical operations rely on immediate server confirmation. ","version":"Next","tagName":"h2"},{"title":"Follow Up","type":1,"pageTitle":"Building an Optimistic UI with RxDB","url":"/articles/optimistic-ui.html#follow-up","content":" Ready to start building your own Optimistic UI with RxDB? Here are some next steps: Do the RxDB QuickstartIf you're brand new to RxDB, the quickstart guide will walk you through installation and setting up your first project. Check Out the Demo AppA live RxDB Quickstart Demo showcases optimistic updates and real-time syncing. Explore the code to see how it works. Star the GitHub RepoShow your support for RxDB by starring the RxDB GitHub Repository. By combining RxDB's powerful offline-first capabilities with the principles of an Optimistic UI, you can deliver snappy, near-instant user interactions that keep your users engaged - no matter the network conditions. Get started today and give your users the experience they deserve! ","version":"Next","tagName":"h2"},{"title":"RxDB as a Database for Progressive Web Apps (PWA)","type":0,"sectionRef":"#","url":"/articles/progressive-web-app-database.html","content":"","keywords":"","version":"Next"},{"title":"What is a Progressive Web App","type":1,"pageTitle":"RxDB as a Database for Progressive Web Apps (PWA)","url":"/articles/progressive-web-app-database.html#what-is-a-progressive-web-app","content":" Progressive Web Apps are the future of web development, seamlessly combining the best of both web and mobile app worlds. They can be easily installed on the user's home screen, function offline, and load at lightning speed. Unlike hybrid apps, PWAs offer a consistent user experience across platforms, making them a versatile choice for modern applications. PWAs bring a plethora of advantages to the table. They eliminate the hassle of app store installations and updates, reduce dependency on network connectivity, and prioritize fast loading times. By harnessing the power of service workers and intelligent caching mechanisms, PWAs ensure users can access content even in offline mode. Furthermore, PWAs are device-agnostic, seamlessly adapting to various devices, from desktops to smartphones. ","version":"Next","tagName":"h2"},{"title":"Introducing RxDB as a Client-Side Database for PWAs","type":1,"pageTitle":"RxDB as a Database for Progressive Web Apps (PWA)","url":"/articles/progressive-web-app-database.html#introducing-rxdb-as-a-client-side-database-for-pwas","content":" At the heart of PWAs lies efficient data management, and RxDB steps in as a reliable ally. As a client-side NoSQL database, RxDB seamlessly integrates into web applications, offering real-time data synchronization and manipulation capabilities. This article sheds light on the transformative potential of RxDB as it collaborates harmoniously with PWAs, enabling local-first strategies and elevating user interactions to a whole new level. ","version":"Next","tagName":"h2"},{"title":"Getting Started with RxDB","type":1,"pageTitle":"RxDB as a Database for Progressive Web Apps (PWA)","url":"/articles/progressive-web-app-database.html#getting-started-with-rxdb","content":" RxDB emerges as a reactive, schema-based NoSQL database crafted explicitly for client-side applications. Its real-time data synchronization and responsiveness align seamlessly with the dynamic demands of modern PWAs. Local-First Approach The cornerstone of RxDB's philosophy is the local-first approach, empowering PWAs to prioritize data storage and manipulation on the client side. This paradigm ensures that PWAs remain functional even when offline, allowing users to access and interact with data seamlessly. RxDB bridges any gaps in data synchronization once network connectivity is restored. Observable Queries Observable queries (aka Live-Queries) serve as the engine of RxDB's dynamic capabilities. By leveraging these queries, PWAs can monitor and respond to data changes in real time. The result is an engaging user interface with instantaneous updates that captivate users and keep them engaged. await db.heroes.find({ selector: { healthpoints: { $gt: 0 } } }) .$ // the $ returns an observable that emits each time the result set of the query changes .subscribe(aliveHeroes => console.dir(aliveHeroes)); Multi-Tab Support RxDB extends its prowess to multi-tab scenarios, guaranteeing data consistency across different tabs or windows of the same PWA. This feature promotes a seamless transition between various sections of the application, while minimizing data conflicts. ","version":"Next","tagName":"h3"},{"title":"Using RxDB in a Progressive Web App","type":1,"pageTitle":"RxDB as a Database for Progressive Web Apps (PWA)","url":"/articles/progressive-web-app-database.html#using-rxdb-in-a-progressive-web-app","content":" Integrating RxDB into a Progressive Web App, driven by technologies like React, is a straightforward process. By configuring RxDB and installing the necessary packages, developers establish a solid foundation for robust data management within their PWA. ","version":"Next","tagName":"h3"},{"title":"Exploring Different RxStorage Layers","type":1,"pageTitle":"RxDB as a Database for Progressive Web Apps (PWA)","url":"/articles/progressive-web-app-database.html#exploring-different-rxstorage-layers","content":" RxDB caters to diverse needs through its various RxStorage layers: localstorage RxStorage: Leveraging the capabilities of the browsers localstorage API for storage.IndexedDB RxStorage: Tapping into the browser's IndexedDB for efficient data storage.OPFS RxStorage: Interfacing with the Offline-First Persistence System for seamless persistence.Memory RxStorage: Storing data in memory, ideal for temporary data requirements. This flexibility empowers developers to optimize data storage based on the unique needs of their PWA. Synchronizing Data with RxDB between PWA Clients and Servers To facilitate seamless data synchronization between PWA clients and servers, RxDB offers a range of replication options: RxDB Replication Algorithm: RxDB introduces its own replication algorithm, enabling efficient and reliable data synchronization between clients and servers. CouchDB Replication: Leveraging its roots in CouchDB, RxDB facilitates smooth data replication between clients and CouchDB servers, ensuring data consistency and synchronization across devices. Firestore Replication: RxDB synchronizes data with Google Firestore, a real-time cloud-hosted NoSQL database. This integration guarantees up-to-date data across different instances of the PWA. Peer-to-Peer (P2P) via WebRTC Replication: RxDB supports P2P replication, facilitating direct data synchronization between clients without intermediaries. This decentralized approach is invaluable in scenarios where server infrastructure is limited. ","version":"Next","tagName":"h2"},{"title":"Advanced RxDB Features and Techniques","type":1,"pageTitle":"RxDB as a Database for Progressive Web Apps (PWA)","url":"/articles/progressive-web-app-database.html#advanced-rxdb-features-and-techniques","content":" ","version":"Next","tagName":"h2"},{"title":"Encryption of Local Data","type":1,"pageTitle":"RxDB as a Database for Progressive Web Apps (PWA)","url":"/articles/progressive-web-app-database.html#encryption-of-local-data","content":" RxDB empowers PWAs with the ability to encrypt local data, enhancing data security and safeguarding sensitive information. This feature is indispensable for applications handling user credentials, financial transactions, and other confidential data. ","version":"Next","tagName":"h3"},{"title":"Indexing and Performance Optimization","type":1,"pageTitle":"RxDB as a Database for Progressive Web Apps (PWA)","url":"/articles/progressive-web-app-database.html#indexing-and-performance-optimization","content":" Performance optimization is a top priority for PWAs. RxDB addresses this concern by offering indexing options that expedite data retrieval, resulting in a snappier user interface and heightened responsiveness. ","version":"Next","tagName":"h3"},{"title":"JSON Key Compression","type":1,"pageTitle":"RxDB as a Database for Progressive Web Apps (PWA)","url":"/articles/progressive-web-app-database.html#json-key-compression","content":" RxDB introduces JSON key compression, a feature that reduces storage requirements. This optimization is particularly beneficial for PWAs dealing with substantial data volumes, enhancing overall efficiency and resource utilization. ","version":"Next","tagName":"h3"},{"title":"Change Streams and Event Handling","type":1,"pageTitle":"RxDB as a Database for Progressive Web Apps (PWA)","url":"/articles/progressive-web-app-database.html#change-streams-and-event-handling","content":" RxDB introduces change streams, enabling PWAs to react to data changes in real time. This capability empowers dynamic updates to the user interface, promoting interactivity and engagement. ","version":"Next","tagName":"h3"},{"title":"Conclusion","type":1,"pageTitle":"RxDB as a Database for Progressive Web Apps (PWA)","url":"/articles/progressive-web-app-database.html#conclusion","content":" In the ever-evolving landscape of web application development, Progressive Web Apps continue to redefine user experiences. RxDB emerges as a pivotal player, seamlessly integrating with PWAs and enhancing their capabilities. With features like the local-first approach, observable queries, replication mechanisms, and advanced encryption, RxDB empowers developers to create responsive, offline-capable, and data-driven PWAs. As the demand for sophisticated PWAs continues to surge, RxDB remains an indispensable tool for developers aiming to push the boundaries of innovation and redefine the standards of user engagement. By embracing RxDB, developers ensure their PWAs remain at the forefront of the digital revolution, offering seamless and immersive experiences to users around the world. ","version":"Next","tagName":"h2"},{"title":"Follow Up","type":1,"pageTitle":"RxDB as a Database for Progressive Web Apps (PWA)","url":"/articles/progressive-web-app-database.html#follow-up","content":" To explore more about RxDB and leverage its capabilities for browser database development, check out the following resources: RxDB GitHub Repository: Visit the official GitHub repository of RxDB to access the source code, documentation, and community support.RxDB Quickstart: Get started quickly with RxDB by following the provided quickstart guide, which provides step-by-step instructions for setting up and using RxDB in your projects.RxDB Progressive Web App in Angular Example ","version":"Next","tagName":"h2"},{"title":"RxDB as a Database for React Applications","type":0,"sectionRef":"#","url":"/articles/react-database.html","content":"","keywords":"","version":"Next"},{"title":"Introducing RxDB as a JavaScript Database","type":1,"pageTitle":"RxDB as a Database for React Applications","url":"/articles/react-database.html#introducing-rxdb-as-a-javascript-database","content":" RxDB, a powerful JavaScript database, has garnered attention as an optimal solution for managing data in React applications. Built on top of the IndexedDB standard, RxDB combines the principles of reactive programming with database management. Its core features include reactive data handling, offline-first capabilities, and robust data replication. ","version":"Next","tagName":"h2"},{"title":"What is RxDB?","type":1,"pageTitle":"RxDB as a Database for React Applications","url":"/articles/react-database.html#what-is-rxdb","content":" RxDB, short for Reactive Database, is an open-source JavaScript database that seamlessly integrates reactive programming with database operations. It offers a comprehensive API for performing database actions and synchronizing data across clients and servers. RxDB's underlying philosophy revolves around observables, allowing developers to reactively manage data changes and create dynamic user interfaces. ","version":"Next","tagName":"h2"},{"title":"Reactive Data Handling","type":1,"pageTitle":"RxDB as a Database for React Applications","url":"/articles/react-database.html#reactive-data-handling","content":" One of RxDB's standout features is its support for reactive data handling. Traditional databases often require manual intervention for data fetching and updating, leading to complex and error-prone code. RxDB, however, automatically notifies subscribers whenever data changes occur, eliminating the need for explicit data manipulation. This reactive approach simplifies code and enhances the responsiveness of React components. ","version":"Next","tagName":"h3"},{"title":"Local-First Approach","type":1,"pageTitle":"RxDB as a Database for React Applications","url":"/articles/react-database.html#local-first-approach","content":" RxDB embraces a local-first methodology, enabling applications to function seamlessly even in offline scenarios. By storing data locally, RxDB ensures that users can interact with the application and make updates regardless of internet connectivity. Once the connection is reestablished, RxDB synchronizes the local changes with the remote database, maintaining data consistency across devices. ","version":"Next","tagName":"h3"},{"title":"Data Replication","type":1,"pageTitle":"RxDB as a Database for React Applications","url":"/articles/react-database.html#data-replication","content":" Data replication is a cornerstone of modern applications that require synchronization between multiple clients and servers. RxDB provides robust data replication mechanisms that facilitate real-time synchronization between different instances of the database. This ensures that changes made on one client are promptly propagated to others, contributing to a cohesive and unified user experience. ","version":"Next","tagName":"h3"},{"title":"Observable Queries","type":1,"pageTitle":"RxDB as a Database for React Applications","url":"/articles/react-database.html#observable-queries","content":" RxDB extends the concept of observables beyond data changes. It introduces observable queries, allowing developers to observe the results of database queries. This feature enables automatic updates to query results whenever relevant data changes occur. Observable queries simplify state management by eliminating the need to manually trigger updates in response to changing data. await db.heroes.find({ selector: { healthpoints: { $gt: 0 } } }) .$ // the $ returns an observable that emits each time the result set of the query changes .subscribe(aliveHeroes => console.dir(aliveHeroes)); ","version":"Next","tagName":"h3"},{"title":"Multi-Tab Support","type":1,"pageTitle":"RxDB as a Database for React Applications","url":"/articles/react-database.html#multi-tab-support","content":" Web applications often operate in multiple browser tabs or windows. RxDB accommodates this scenario by offering built-in multi-tab support. It ensures that data changes made in one tab are efficiently propagated to other tabs, maintaining data consistency and providing a seamless experience for users interacting with the application across different tabs. ","version":"Next","tagName":"h3"},{"title":"RxDB vs. Other React Database Options","type":1,"pageTitle":"RxDB as a Database for React Applications","url":"/articles/react-database.html#rxdb-vs-other-react-database-options","content":" While considering database options for React applications, RxDB stands out due to its unique combination of reactive programming and database capabilities. Unlike traditional solutions such as IndexedDB or Web Storage, which provide basic data storage, RxDB offers a dedicated database solution with advanced features. Additionally, while state management libraries like Redux and MobX can be adapted for database use, RxDB provides an integrated solution specifically designed for handling data. ","version":"Next","tagName":"h3"},{"title":"IndexedDB in React and the Advantage of RxDB","type":1,"pageTitle":"RxDB as a Database for React Applications","url":"/articles/react-database.html#indexeddb-in-react-and-the-advantage-of-rxdb","content":" Using IndexedDB directly in React can be challenging due to its low-level, callback-based API which doesn't align neatly with modern React's Promise and async/await patterns. This intricacy often leads to bulky and complex implementations for developers. Also, when used wrong, IndexedDB can have a worse performance profile then it could have. In contrast, RxDB, with the IndexedDB RxStorage and the LocalStorage RxStorage, abstracts these complexities, integrating reactive programming and providing a more streamlined experience for data management in React applications. Thus, RxDB offers a more intuitive approach, eliminating much of the manual overhead required with IndexedDB. ","version":"Next","tagName":"h3"},{"title":"Using RxDB in a React Application","type":1,"pageTitle":"RxDB as a Database for React Applications","url":"/articles/react-database.html#using-rxdb-in-a-react-application","content":" The process of integrating RxDB into a React application is straightforward. Begin by installing RxDB as a dependency:npm install rxdb rxjsOnce installed, RxDB can be imported and initialized within your React components. The following code snippet illustrates a basic setup: import { createRxDatabase } from 'rxdb'; import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage'; const db = await createRxDatabase({ name: 'heroesdb', // <- name storage: getRxStorageLocalstorage(), // <- RxStorage password: 'myPassword', // <- password (optional) multiInstance: true, // <- multiInstance (optional, default: true) eventReduce: true, // <- eventReduce (optional, default: false) cleanupPolicy: {} // <- custom cleanup policy (optional) }); ","version":"Next","tagName":"h3"},{"title":"Using RxDB React Hooks","type":1,"pageTitle":"RxDB as a Database for React Applications","url":"/articles/react-database.html#using-rxdb-react-hooks","content":" The rxdb-hooks package provides a set of React hooks that simplify data management within components. These hooks leverage RxDB's reactivity to automatically update components when data changes occur. The following example demonstrates the usage of the useRxCollection and useRxQuery hooks to query and observe a collection: const collection = useRxCollection('characters'); const query = collection.find().where('affiliation').equals('Jedi'); const { result: characters, isFetching, fetchMore, isExhausted, } = useRxQuery(query, { pageSize: 5, pagination: 'Infinite', }); if (isFetching) { return 'Loading...'; } return ( <CharacterList> {characters.map((character, index) => ( <Character character={character} key={index} /> ))} {!isExhausted && <button onClick={fetchMore}>load more</button>} </CharacterList> ); ","version":"Next","tagName":"h3"},{"title":"Different RxStorage Layers for RxDB","type":1,"pageTitle":"RxDB as a Database for React Applications","url":"/articles/react-database.html#different-rxstorage-layers-for-rxdb","content":" RxDB offers multiple storage layers, each backed by a different underlying technology. Developers can choose the storage layer that best suits their application's requirements. Some available options include: LocalStorage RxStorage: Built on top of the browsers localstorage API.IndexedDB RxStorage: The default RxDB storage layer, providing efficient data storage in modern browsers.OPFS RxStorage: Uses the Operational File System (OPFS) for storage, suitable for Electron applications.Memory RxStorage: Stores data in memory, primarily intended for testing and development purposes.SQLite RxStorage: Stores data in an SQLite database. Can be used in a browser with react by using a SQLite database that was compiled to WebAssembly. Using SQLite in react might not be the best idea, because a compiled SQLite wasm file is about one megabyte of code that has to be loaded and rendered by your users. Using native browser APIs like IndexedDB and OPFS have shown to be a more optimal database solution for browser based react apps compared to SQLite. ","version":"Next","tagName":"h3"},{"title":"Synchronizing Data with RxDB between Clients and Servers","type":1,"pageTitle":"RxDB as a Database for React Applications","url":"/articles/react-database.html#synchronizing-data-with-rxdb-between-clients-and-servers","content":" The offline-first approach is a fundamental principle of RxDB's design. When dealing with client-server synchronization, RxDB ensures that changes made offline are captured and propagated to the server once connectivity is reestablished. This mechanism guarantees that data remains consistent across different client instances, even when operating in an occasionally connected environment. RxDB offers a range of replication plugins that facilitate data synchronization between clients and servers. These plugins support various synchronization strategies, such as one-way replication, two-way replication, and custom conflict resolution. Developers can select the appropriate plugin based on their application's synchronization requirements. ","version":"Next","tagName":"h3"},{"title":"Advanced RxDB Features and Techniques","type":1,"pageTitle":"RxDB as a Database for React Applications","url":"/articles/react-database.html#advanced-rxdb-features-and-techniques","content":" Encryption of Local Data Security is paramount when handling sensitive user data. RxDB supports data encryption, ensuring that locally stored information remains protected from unauthorized access. This feature is particularly valuable when dealing with sensitive data in offline scenarios. ","version":"Next","tagName":"h3"},{"title":"Indexing and Performance Optimization","type":1,"pageTitle":"RxDB as a Database for React Applications","url":"/articles/react-database.html#indexing-and-performance-optimization","content":" Efficient indexing is critical for achieving optimal database performance. RxDB provides mechanisms to define indexes on specific fields, enhancing query speed and reducing the computational overhead of data retrieval. ","version":"Next","tagName":"h3"},{"title":"JSON Key Compression","type":1,"pageTitle":"RxDB as a Database for React Applications","url":"/articles/react-database.html#json-key-compression","content":" RxDB employs JSON key compression to reduce storage space and improve performance. This technique minimizes the memory footprint of the database, making it suitable for applications with limited resources. ","version":"Next","tagName":"h3"},{"title":"Change Streams and Event Handling","type":1,"pageTitle":"RxDB as a Database for React Applications","url":"/articles/react-database.html#change-streams-and-event-handling","content":" RxDB enables developers to subscribe to change streams, which emit events whenever data changes occur. This functionality facilitates real-time event handling and provides opportunities for implementing features such as notifications and live updates. ","version":"Next","tagName":"h3"},{"title":"Conclusion","type":1,"pageTitle":"RxDB as a Database for React Applications","url":"/articles/react-database.html#conclusion","content":" In the realm of React application development, efficient data management is pivotal to delivering a seamless and engaging user experience. RxDB emerges as a compelling solution, seamlessly integrating reactive programming principles with sophisticated database capabilities. By adopting RxDB, React developers can harness its powerful features, including reactive data handling, offline-first support, and real-time synchronization. With RxDB as a foundational pillar, React applications can excel in responsiveness, scalability, and data integrity. As the landscape of web development continues to evolve, RxDB remains a steadfast companion for creating robust and dynamic React applications. ","version":"Next","tagName":"h2"},{"title":"Follow Up","type":1,"pageTitle":"RxDB as a Database for React Applications","url":"/articles/react-database.html#follow-up","content":" To explore more about RxDB and leverage its capabilities for browser database development, check out the following resources: RxDB GitHub Repository: Visit the official GitHub repository of RxDB to access the source code, documentation, and community support.RxDB Quickstart: Get started quickly with RxDB by following the provided quickstart guide, which provides step-by-step instructions for setting up and using RxDB in your projects.RxDB React Example at GitHub ","version":"Next","tagName":"h2"},{"title":"IndexedDB Database in React Apps - The Power of RxDB","type":0,"sectionRef":"#","url":"/articles/react-indexeddb.html","content":"","keywords":"","version":"Next"},{"title":"What is IndexedDB?","type":1,"pageTitle":"IndexedDB Database in React Apps - The Power of RxDB","url":"/articles/react-indexeddb.html#what-is-indexeddb","content":" IndexedDB is a low-level API for storing significant amounts of structured data in the browser. It provides a transactional database system that can store key-value pairs, complex objects, and more. This storage engine is asynchronous and supports advanced data types, making it suitable for offline storage and complex web applications. ","version":"Next","tagName":"h2"},{"title":"Why Use IndexedDB in React","type":1,"pageTitle":"IndexedDB Database in React Apps - The Power of RxDB","url":"/articles/react-indexeddb.html#why-use-indexeddb-in-react","content":" When building React applications, IndexedDB can play a crucial role in enhancing both performance and user experience. Here are some reasons to consider using IndexedDB: Offline-First / Local-First: By storing data locally, your application remains functional even without an internet connection.Performance: Using local data means zero latency and no loading spinners, as data doesn't need to be fetched over a network.Easier Implementation: Replicating all data to the client once is often simpler than implementing multiple endpoints for each user interaction.Scalability: Local data reduces server load because queries run on the client side, decreasing server bandwidth and processing requirements. ","version":"Next","tagName":"h2"},{"title":"Why To Not Use Plain IndexedDB","type":1,"pageTitle":"IndexedDB Database in React Apps - The Power of RxDB","url":"/articles/react-indexeddb.html#why-to-not-use-plain-indexeddb","content":" While IndexedDB itself is powerful, its native API comes with several drawbacks for everyday application developers: Callback-Based API: IndexedDB was designed with callbacks rather than modern Promises, making asynchronous code more cumbersome.Complexity: IndexedDB is low-level, intended for library developers rather than for app developers who simply want to store data.Basic Query API: Its rudimentary query capabilities limit how you can efficiently perform complex queries, whereas libraries like RxDB offer more advanced query features.TypeScript Support: Ensuring good TypeScript support with IndexedDB is challenging, especially when trying to enforce document type consistency.Lack of Observable API: IndexedDB doesn't provide an observable API out of the box. RxDB solves this by enabling you to observe query results or specific document fields.Cross-Tab Communication: Managing cross-tab updates in plain IndexedDB is difficult. RxDB handles this seamlessly-changes in one tab automatically affect observed data in others.Missing Advanced Features: Features like encryption or compression aren't built into IndexedDB, but they are available via RxDB.Limited Platform Support: IndexedDB exists only in the browser. In contrast, RxDB offers swappable storages to use the same code in React Native, Capacitor, or Electron. ","version":"Next","tagName":"h2"},{"title":"Set up RxDB in React","type":1,"pageTitle":"IndexedDB Database in React Apps - The Power of RxDB","url":"/articles/react-indexeddb.html#set-up-rxdb-in-react","content":" Setting up RxDB with React is straightforward. It abstracts IndexedDB complexities and adds a layer of powerful features over it. ","version":"Next","tagName":"h2"},{"title":"Installing RxDB","type":1,"pageTitle":"IndexedDB Database in React Apps - The Power of RxDB","url":"/articles/react-indexeddb.html#installing-rxdb","content":" First, install RxDB and RxJS from npm: npm install rxdb rxjs --save``` ","version":"Next","tagName":"h3"},{"title":"Create a Database and Collections","type":1,"pageTitle":"IndexedDB Database in React Apps - The Power of RxDB","url":"/articles/react-indexeddb.html#create-a-database-and-collections","content":" RxDB provides two main storage options: The free localstorage-based storageThe premium plain IndexedDB-based storage, offering faster performance Below is an example of setting up a simple RxDB database using the localstorage-based storage in a React app: import { createRxDatabase } from 'rxdb/plugins/core'; import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage'; // create a database const db = await createRxDatabase({ name: 'heroesdb', // the name of the database storage: getRxStorageLocalstorage() }); // Define your schema const heroSchema = { title: 'hero schema', version: 0, description: 'Describes a hero in your app', primaryKey: 'id', type: 'object', properties: { id: { type: 'string', maxLength: 100 }, name: { type: 'string' }, power: { type: 'string' } }, required: ['id', 'name'] }; // add collections await db.addCollections({ heroes: { schema: heroSchema } }); ","version":"Next","tagName":"h3"},{"title":"CRUD Operations","type":1,"pageTitle":"IndexedDB Database in React Apps - The Power of RxDB","url":"/articles/react-indexeddb.html#crud-operations","content":" Once your database is initialized, you can perform all CRUD operations: // insert await db.heroes.insert({ name: 'Iron Man', power: 'Genius-level intellect' }); // bulk insert await db.heroes.bulkInsert([ { name: 'Thor', power: 'God of Thunder' }, { name: 'Hulk', power: 'Superhuman Strength' } ]); // find and findOne const heroes = await db.heroes.find().exec(); const ironMan = await db.heroes.findOne({ selector: { name: 'Iron Man' } }).exec(); // update const doc = await db.heroes.findOne({ selector: { name: 'Hulk' } }).exec(); await doc.update({ $set: { power: 'Unlimited Strength' } }); // delete const doc = await db.heroes.findOne({ selector: { name: 'Thor' } }).exec(); await doc.remove(); ","version":"Next","tagName":"h3"},{"title":"Reactive Queries and Live Updates","type":1,"pageTitle":"IndexedDB Database in React Apps - The Power of RxDB","url":"/articles/react-indexeddb.html#reactive-queries-and-live-updates","content":" RxDB excels in providing reactive data capabilities, ideal for real-time applications. There are two main approaches to achieving live queries with RxDB: using RxJS Observables with React Hooks or utilizing Preact Signals. ","version":"Next","tagName":"h2"},{"title":"With RxJS Observables and React Hooks","type":1,"pageTitle":"IndexedDB Database in React Apps - The Power of RxDB","url":"/articles/react-indexeddb.html#with-rxjs-observables-and-react-hooks","content":" RxDB integrates seamlessly with RxJS Observables, allowing you to build reactive components. Here's an example of a React component that subscribes to live data updates: import { useState, useEffect } from 'react'; function HeroList({ collection }) { const [heroes, setHeroes] = useState([]); useEffect(() => { // create an observable query const query = collection.find(); const subscription = query.$.subscribe(newHeroes => { setHeroes(newHeroes); }); return () => subscription.unsubscribe(); }, [collection]); return ( <div> <h2>Hero List</h2> <ul> {heroes.map(hero => ( <li key={hero.id}> <strong>{hero.name}</strong> - {hero.power} </li> ))} </ul> </div> ); } This component subscribes to the collection's changes, updating the UI automatically whenever the underlying data changes, even across browser tabs. ","version":"Next","tagName":"h3"},{"title":"With Preact Signals","type":1,"pageTitle":"IndexedDB Database in React Apps - The Power of RxDB","url":"/articles/react-indexeddb.html#with-preact-signals","content":" RxDB also supports Preact Signals for reactivity, which can be integrated into React applications. Preact Signals offer a modern, fine-grained reactivity model. First, install the necessary package: npm install @preact/signals-core --save Set up RxDB with Preact Signals reactivity: import { PreactSignalsRxReactivityFactory } from 'rxdb/plugins/reactivity-preact-signals'; import { createRxDatabase } from 'rxdb/plugins/core'; import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage'; const database = await createRxDatabase({ name: 'mydb', storage: getRxStorageLocalstorage(), reactivity: PreactSignalsRxReactivityFactory }); Now, you can obtain signals directly from RxDB queries using the double-dollar sign ($$): function HeroList({ collection }) { const heroes = collection.find().$$; return ( <ul> {heroes.map(hero => ( <li key={hero.id}>{hero.name}</li> ))} </ul> ); } This approach provides automatic updates whenever the data changes, without needing to manage subscriptions manually. ","version":"Next","tagName":"h3"},{"title":"React IndexedDB Example with RxDB","type":1,"pageTitle":"IndexedDB Database in React Apps - The Power of RxDB","url":"/articles/react-indexeddb.html#react-indexeddb-example-with-rxdb","content":" A comprehensive example of using RxDB within a React application can be found in the RxDB GitHub repository. This repository contains sample applications, showcasing best practices and demonstrating how to integrate RxDB for various use cases. ","version":"Next","tagName":"h2"},{"title":"Advanced RxDB Features","type":1,"pageTitle":"IndexedDB Database in React Apps - The Power of RxDB","url":"/articles/react-indexeddb.html#advanced-rxdb-features","content":" RxDB offers many advanced features that extend beyond basic data storage: RxDB Replication: Synchronize local data with remote databases seamlessly. Learn more: RxDB ReplicationData Migration: Handle schema changes gracefully with automatic data migrations. See: Data migrationEncryption: Secure your data with built-in encryption capabilities. Explore: EncryptionCompression: Optimize storage using key compression. Details: Compression ","version":"Next","tagName":"h2"},{"title":"Limitations of IndexedDB","type":1,"pageTitle":"IndexedDB Database in React Apps - The Power of RxDB","url":"/articles/react-indexeddb.html#limitations-of-indexeddb","content":" While IndexedDB is powerful, it has some inherent limitations: Performance: IndexedDB can be slow under certain conditions. Read more: Slow IndexedDBStorage Limits: Browsers impose limits on how much data can be stored. See: Browser storage limits ","version":"Next","tagName":"h2"},{"title":"Alternatives to IndexedDB","type":1,"pageTitle":"IndexedDB Database in React Apps - The Power of RxDB","url":"/articles/react-indexeddb.html#alternatives-to-indexeddb","content":" Depending on your application's requirements, there are alternative storage solutions to consider: Origin Private File System (OPFS): A newer API that can offer better performance. RxDB supports OPFS as well. More info: RxDB OPFS StorageSQLite: Ideal for React applications on Capacitor or Ionic, offering native performance. Explore: RxDB SQLite Storage ","version":"Next","tagName":"h2"},{"title":"Performance comparison with other browser storages","type":1,"pageTitle":"IndexedDB Database in React Apps - The Power of RxDB","url":"/articles/react-indexeddb.html#performance-comparison-with-other-browser-storages","content":" Here is a performance overview of the various browser based storage implementation of RxDB: ","version":"Next","tagName":"h2"},{"title":"Follow Up","type":1,"pageTitle":"IndexedDB Database in React Apps - The Power of RxDB","url":"/articles/react-indexeddb.html#follow-up","content":" Learn how to use RxDB with the RxDB Quickstart for a guided introduction.Check out the RxDB GitHub repository and leave a star ⭐ if you find it useful. By leveraging RxDB on top of IndexedDB, you can create highly responsive, offline-capable React applications without dealing with the low-level complexities of IndexedDB directly. With reactive queries, seamless cross-tab communication, and powerful advanced features, RxDB becomes an invaluable tool in modern web development. ","version":"Next","tagName":"h2"},{"title":"React Native Encryption and Encrypted Database/Storage","type":0,"sectionRef":"#","url":"/articles/react-native-encryption.html","content":"","keywords":"","version":"Next"},{"title":"🔒 Why Encryption Matters","type":1,"pageTitle":"React Native Encryption and Encrypted Database/Storage","url":"/articles/react-native-encryption.html#-why-encryption-matters","content":" Encryption ensures that, even if an unauthorized party obtains physical access to your device or intercepts data, they cannot read the information without the encryption key. Sensitive user data such as credentials, personal information, or financial details should always be encrypted. Proper encryption practices reduce the risk of data breaches and help your application remain compliant with regulations like GDPR or HIPAA. ","version":"Next","tagName":"h2"},{"title":"React Native Encryption Overview","type":1,"pageTitle":"React Native Encryption and Encrypted Database/Storage","url":"/articles/react-native-encryption.html#react-native-encryption-overview","content":" React Native supports multiple ways to secure local data: Encrypted DatabasesUse databases with built-in encryption capabilities, such as SQLite with encryption layers or RxDB with its encryption plugin. Secure Storage LibrariesFor key-value data (like tokens or secrets), you can use libraries like react-native-keychain or react-native-encrypted-storage. Custom EncryptionIf you need more fine-grained control, you can integrate libraries like crypto-js or the Web Crypto API to encrypt data before storing it in a database or file. ","version":"Next","tagName":"h2"},{"title":"Setting Up Encryption in RxDB for React Native","type":1,"pageTitle":"React Native Encryption and Encrypted Database/Storage","url":"/articles/react-native-encryption.html#setting-up-encryption-in-rxdb-for-react-native","content":" ","version":"Next","tagName":"h2"},{"title":"1. Install RxDB and Required Plugins","type":1,"pageTitle":"React Native Encryption and Encrypted Database/Storage","url":"/articles/react-native-encryption.html#1-install-rxdb-and-required-plugins","content":" Install RxDB and the encryption plugin(s) you need. For the CryptoJS plugin: npm install rxdb npm install crypto-js ","version":"Next","tagName":"h3"},{"title":"2. Set Up Your RxDB Database with Encryption","type":1,"pageTitle":"React Native Encryption and Encrypted Database/Storage","url":"/articles/react-native-encryption.html#2-set-up-your-rxdb-database-with-encryption","content":" RxDB offers two encryption plugins: CryptoJS Plugin: A free and straightforward solution for most basic use cases.Web Crypto Plugin: A premium plugin that utilizes the native Web Crypto API for better performance and security. Below is an example showing how to set up RxDB using the CryptoJS plugin. This example uses the in-memory storage for testing purposes. In a real production scenario, you would use a persistent storage adapter, mostly the SQLite-based storage. import { createRxDatabase } from 'rxdb'; import { wrappedKeyEncryptionCryptoJsStorage } from 'rxdb/plugins/encryption-crypto-js'; /* * For testing, we use the in-memory storage of RxDB. * In production you would use the persistent SQLite based storage instead. */ import { getRxStorageMemory } from 'rxdb/plugins/storage-memory'; async function initEncryptedDatabase() { // Wrap the normal storage with the encryption plugin const encryptedMemoryStorage = wrappedKeyEncryptionCryptoJsStorage({ storage: getRxStorageMemory() }); // Create an encrypted database const db = await createRxDatabase({ name: 'myEncryptedDatabase', storage: encryptedMemoryStorage, password: 'sudoLetMeIn' // Make sure not to hardcode in production }); // Define a schema and create a collection await db.addCollections({ secureData: { schema: { title: 'secure data schema', version: 0, type: 'object', primaryKey: 'id', properties: { id: { type: 'string', maxLength: 100 }, normalField: { type: 'string' }, secretField: { type: 'string' } }, required: ['id', 'normalField', 'secretField'] } } }); return db; } ","version":"Next","tagName":"h3"},{"title":"3. Inserting and Querying Encrypted Data","type":1,"pageTitle":"React Native Encryption and Encrypted Database/Storage","url":"/articles/react-native-encryption.html#3-inserting-and-querying-encrypted-data","content":" Once you've set up the database with encryption, data in fields specified by your schema will be encrypted automatically before it is stored, and decrypted when queried. (async () => { const db = await initEncryptedDatabase(); // Insert encrypted data const doc = await db.secureData.insert({ id: 'mySecretId', normalField: 'foobar', secretField: 'This is top secret data' }); // Query encrypted data by its primary key or non-encrypted fields const fetchedDoc = await db.secureData.findOne({ selector: { normalField: 'foobar' } }).exec(true); console.log(fetchedDoc.secretField); // 'This is top secret data' // Update data await fetchedDoc.patch({ secretField: 'Updated secret data' }); })(); Note: You can only query directly by non-encrypted fields or primary keys. Encrypted fields cannot be used in queries because they are stored as ciphertext in the database. A common approach is to have a small subset of fields that need to be queried unencrypted while storing any sensitive data in encrypted fields. ","version":"Next","tagName":"h3"},{"title":"Best Practices for React Native Encryption","type":1,"pageTitle":"React Native Encryption and Encrypted Database/Storage","url":"/articles/react-native-encryption.html#best-practices-for-react-native-encryption","content":" Secure Password Handling Avoid hardcoding passwords or encryption keys.Use secure storage solutions like React Native Keychain or react-native-encrypted-storage to fetch the database password at runtime: // Example: using react-native-keychain to securely retrieve a stored password import * as Keychain from 'react-native-keychain'; async function getDatabasePassword() { const credentials = await Keychain.getGenericPassword(); if (credentials) { return credentials.password; } throw new Error('No password stored in Keychain'); } Encrypt Attachments: If you need to store files (images, text files, etc.), consider encrypting attachments. RxDB supports attachments that can be encrypted automatically, ensuring your files are protected: import { createBlob } from 'rxdb/plugins/core'; const doc = await await db.secureData.findOne({ selector: { normalField: 'foobar' } }).exec(true); const attachment = await doc.putAttachment({ id: 'encryptedFile.txt', data: createBlob('Sensitive content', 'text/plain'), type: 'text/plain', }); Optimize Performance If performance is critical, consider using the premium Web Crypto plugin, which leverages native APIs for faster encryption and decryption.If big chunks of data are encrypted, store them in attachments instead of document fields. Attachments will only be decrypted on explicit fetches, not during queries. Use DevMode in Development: RxDB's DevMode Plugin can help validate your schema and encryption setup during development. Disable it in production for performance reasons. Secure Communication: Use HTTPS to secure network communication between the app and any backend services.If you're synchronizing data to a server, ensure the data is also encrypted in transit. RxDB's replication plugins can work with secure endpoints to keep data consistent. SSL Pinning: Consider SSL Pinning if you want to prevent man-in-the-middle attacks. SSL Pinning ensures the device trusts only the pinned certificate, preventing attackers from swapping out valid certificates with their own. ","version":"Next","tagName":"h2"},{"title":"Follow Up","type":1,"pageTitle":"React Native Encryption and Encrypted Database/Storage","url":"/articles/react-native-encryption.html#follow-up","content":" Learn how to use RxDB with the RxDB Quickstart for a guided introduction.A good way to learn using RxDB database with React Native is to check out the RxDB React Native example and use that as a tutorial.Check out the RxDB GitHub repository and leave a star ⭐ if you find it useful.Learn more about the RxDB encryption plugins. By following these best practices and leveraging RxDB's powerful encryption plugins, you can build secure, performant, and robust React Native applications that keep your users' data safe. ","version":"Next","tagName":"h2"},{"title":"ReactJS Storage – From Basic LocalStorage to Advanced Offline Apps with RxDB","type":0,"sectionRef":"#","url":"/articles/reactjs-storage.html","content":"","keywords":"","version":"Next"},{"title":"Part 1: Storing Data in ReactJS with LocalStorage","type":1,"pageTitle":"ReactJS Storage – From Basic LocalStorage to Advanced Offline Apps with RxDB","url":"/articles/reactjs-storage.html#part-1-storing-data-in-reactjs-with-localstorage","content":" localStorage is a built-in browser API for storing key-value pairs in the user’s browser. It’s straightforward to set and get items—ideal for trivial preferences or small usage data. import React, { useState, useEffect } from 'react'; function LocalStorageExample() { const [username, setUsername] = useState(() => { const saved = localStorage.getItem('username'); return saved ? JSON.parse(saved) : ''; }); useEffect(() => { localStorage.setItem('username', JSON.stringify(username)); }, [username]); return ( <div> <h2>ReactJS LocalStorage Demo</h2> <input type="text" value={username} onChange={e => setUsername(e.target.value)} placeholder="Enter your username" /> <p>Stored: {username}</p> </div> ); } export default LocalStorageExample; Pros of localStorage in ReactJS: Easy to implement quickly for minimal dataBuilt-in to the browser—no extra libsPersistent across sessions Downsides of localStorageWhile localStorage is convenient for small amounts of data, it has certain limitations: Synchronous: Reading or writing localStorage can block the main thread if data is large.No advanced queries: You only store stringified objects by a single key. Searching or filtering requires manually scanning everything.No concurrency or offline logic: If multiple tabs or users need to manipulate the same data, localStorage doesn’t handle concurrency or sync with a server.No indexing: You can’t perform partial lookups or advanced matching. For “remember user preference” use cases, localStorage is excellent. But if your app grows complex—needing structured data, large data sets, or offline-first features—you might quickly surpass localStorage’s utility. ","version":"Next","tagName":"h2"},{"title":"Part 2: LocalStorage vs. IndexedDB","type":1,"pageTitle":"ReactJS Storage – From Basic LocalStorage to Advanced Offline Apps with RxDB","url":"/articles/reactjs-storage.html#part-2-localstorage-vs-indexeddb","content":" While localStorage is simple, it’s limited to string-based key-value lookups and can be synchronous for all reads/writes. For more robust ReactJS storage needs, browsers also provide IndexedDB—a low-level, asynchronous API that can store larger amounts of JSON data with indexing. LocalStorage: Good for small amounts of data (like user settings or flags)String-only storageSingle key-value access, no searching by subfields IndexedDB: Stores large JSON objects, able to index by multiple fieldsAsynchronous and usually more scalableMore complicated to use directly (i.e., not as simple as .getItem())RxDB, as you’ll see, simplifies IndexedDB usage in ReactJS by adding a more intuitive layer for queries, reactivity, and advanced capabilities like encryption. ","version":"Next","tagName":"h2"},{"title":"Part 3: Moving Beyond Basic Storage: RxDB for ReactJS","type":1,"pageTitle":"ReactJS Storage – From Basic LocalStorage to Advanced Offline Apps with RxDB","url":"/articles/reactjs-storage.html#part-3-moving-beyond-basic-storage-rxdb-for-reactjs","content":" When data shapes get complex—large sets of nested documents, or you want offline sync to a server—RxDB can transform your approach to ReactJS storage. It stores documents in (usually) IndexedDB or alternative backends but offers a reactive, NoSQL-based interface. ","version":"Next","tagName":"h2"},{"title":"RxDB Quick Example (Observables)","type":1,"pageTitle":"ReactJS Storage – From Basic LocalStorage to Advanced Offline Apps with RxDB","url":"/articles/reactjs-storage.html#rxdb-quick-example-observables","content":" import { createRxDatabase } from 'rxdb'; import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage'; (async function setUpRxDB() { const db = await createRxDatabase({ name: 'heroDB', storage: getRxStorageLocalstorage(), multiInstance: false }); const heroSchema = { title: 'hero schema', version: 0, type: 'object', primaryKey: 'id', properties: { id: { type: 'string' }, name: { type: 'string' }, power: { type: 'string' } }, required: ['id', 'name'] }; await db.addCollections({ heroes: { schema: heroSchema } }); // Insert a doc await db.heroes.insert({ id: '1', name: 'AlphaHero', power: 'Lightning' }); // Query docs once const allHeroes = await db.heroes.find().exec(); console.log('Heroes: ', allHeroes); })(); Reactive Queries: In a React component, you can subscribe to a query via RxDB’s $ property, letting your UI automatically update when data changes. React components can subscribe to updates from .find() queries, letting the UI automatically reflect changes—perfect for dynamic offline-first apps. import React, { useEffect, useState } from 'react'; function HeroList({ collection }) { const [heroes, setHeroes] = useState([]); useEffect(() => { const query = collection.find(); // query.$ is an RxJS Observable that emits whenever data changes const sub = query.$.subscribe(newHeroes => { setHeroes(newHeroes); }); return () => sub.unsubscribe(); // clean up subscription }, [collection]); return ( <ul> {heroes.map(hero => ( <li key={hero.id}> {hero.name} - Power: {hero.power} </li> ))} </ul> ); } export default HeroList; By using these reactive queries, your React app knows exactly when data changes locally (or from another browser tab) or from remote sync, keeping your UI in sync effortlessly. ","version":"Next","tagName":"h3"},{"title":"Part 4: Using Preact Signals Instead of Observables","type":1,"pageTitle":"ReactJS Storage – From Basic LocalStorage to Advanced Offline Apps with RxDB","url":"/articles/reactjs-storage.html#part-4-using-preact-signals-instead-of-observables","content":" RxDB typically exposes reactivity via RxJS observables. However, some developers prefer newer reactivity approaches like Preact Signals. RxDB supports them via a special plugin or advanced usage: import { createRxDatabase } from 'rxdb/plugins/core'; import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage'; import { PreactSignalsRxReactivityFactory } from 'rxdb/plugins/reactivity-preact-signals'; (async function setUpRxDBWithSignals() { const db = await createRxDatabase({ name: 'heroDB_signals', storage: getRxStorageLocalstorage(), reactivity: PreactSignalsRxReactivityFactory }); // Create a signal-based query instead of using Observables: const collection = db.heroes; const heroesSignal = collection.find().$$; // signals version // Now you can reference heroesSignal() in Preact or React with adapter usage })(); Preact Signals rely on signals instead of Observables. Some developers find them more straightforward to adopt, especially for fine-grained reactivity. In ReactJS, you might still prefer RxJS-based subscriptions unless you add bridging code for signals. ","version":"Next","tagName":"h2"},{"title":"Part 5: Encrypting the Storage with RxDB","type":1,"pageTitle":"ReactJS Storage – From Basic LocalStorage to Advanced Offline Apps with RxDB","url":"/articles/reactjs-storage.html#part-5-encrypting-the-storage-with-rxdb","content":" For more advanced ReactJS storage needs—especially when sensitive user data is involved - you might want to encrypt stored documents at rest. RxDB provides a robust encryption plugin: import { createRxDatabase } from 'rxdb'; import { wrappedKeyEncryptionCryptoJsStorage } from 'rxdb/plugins/encryption-crypto-js'; import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage'; (async function secureSetup() { const encryptedStorage = wrappedKeyEncryptionCryptoJsStorage({ storage: getRxStorageLocalstorage() }); // Provide a password for encryption const db = await createRxDatabase({ name: 'secureReactStorage', storage: encryptedStorage, password: 'MyStrongPassword123' }); await db.addCollections({ secrets: { schema: { title: 'secret schema', version: 0, type: 'object', primaryKey: 'id', properties: { id: { type: 'string' }, secretInfo: { type: 'string' } }, required: ['id'], encrypted: ['secretInfo'] // field to encrypt } } }); })(); All data in the marked encrypted fields is automatically encrypted at rest. This is crucial if you store user credentials, private messages, or other personal data in your ReactJS application storage. ","version":"Next","tagName":"h2"},{"title":"Offline Sync","type":1,"pageTitle":"ReactJS Storage – From Basic LocalStorage to Advanced Offline Apps with RxDB","url":"/articles/reactjs-storage.html#offline-sync","content":" If you need multi-device or multi-user data synchronization, RxDB provides replication plugins for various endpoints (HTTP, GraphQL, CouchDB, Firestore, etc.). Your local offline changes can then merge automatically with a remote database whenever internet connectivity is restored. ","version":"Next","tagName":"h2"},{"title":"Overview: localStorage vs IndexedDB vs RxDB","type":1,"pageTitle":"ReactJS Storage – From Basic LocalStorage to Advanced Offline Apps with RxDB","url":"/articles/reactjs-storage.html#overview-localstorage-vs-indexeddb-vs-rxdb","content":" Characteristic\tlocalStorage\tIndexedDB\tRxDBData Model\tKey-value store (only strings)\tLow-level, JSON-like storage engine with object stores and indexes\tNoSQL JSON documents with optional JSON-Schema Query Capabilities\tBasic get/set by key; manual parse for more complex searches\tIndex-based queries, but API is fairly verbose; lacks a high-level query language\tJSON-based queries, optional indexes, real-time reactivity Observability\tNone. Must re-fetch data yourself.\tNone natively. Must implement eventing or manual re-check.\tBuilt-in reactivity. UI auto-updates via Observables or Preact signals Large Data Usage\tNot recommended for large data (blocking, synchronous calls)\tBetter for large amounts of data, asynchronous reads/writes\tScales for medium to large data. Uses IndexedDB or other storages under the hood Concurrency\tMinimal. Overwrites if multiple tabs write simultaneously\tMultiple tabs can open the same DB, but must handle concurrency logic carefully\tMulti-instance concurrency with built-in conflict resolution plugins if needed Offline Sync\tNone. Purely local.\tNone out of the box. Must be implemented manually\tBuilt-in replication to remote endpoints (HTTP, GraphQL, CouchDB, etc.) for offline-first usage Encryption\tNot supported natively\tNot supported natively; must encrypt data manually before storing\tEncryption plugins available. Supports field-level encryption at rest Usage\tGreat for small flags or settings ","version":"Next","tagName":"h2"},{"title":"Follow Up","type":1,"pageTitle":"ReactJS Storage – From Basic LocalStorage to Advanced Offline Apps with RxDB","url":"/articles/reactjs-storage.html#follow-up","content":" If you’re looking to dive deeper into ReactJS storage topics and take full advantage of RxDB’s offline-first, real-time capabilities, here are some recommended resources: RxDB Official Documentation Explore detailed guides on setting up storage adapters, defining JSON schemas, handling conflicts, and enabling offline synchronization. RxDB Quickstart Get a step-by-step tutorial to create your first RxDB-based application in minutes. RxDB GitHub Repository See the source code, open issues, and browse community-driven examples that integrate ReactJS, Preact Signals, and advanced features like encryption. RxDB Encryption Plugins Learn how to encrypt fields in your collections, protecting user data and meeting compliance requirements. Preact Signals React Integration (Example) If you want to combine React with signals-based reactivity, check out example code and bridging approaches. MDN: Using the Web Storage API Refresh on localStorage basics, including best practices for small key-value data in traditional React apps. With these follow-up steps, you can refine your reactjs storage strategy to meet your app’s unique needs, whether it’s simple user preferences or robust offline data syncing. ","version":"Next","tagName":"h2"},{"title":"What is a realtime database?","type":0,"sectionRef":"#","url":"/articles/realtime-database.html","content":"","keywords":"","version":"Next"},{"title":"Realtime as in realtime computing","type":1,"pageTitle":"What is a realtime database?","url":"/articles/realtime-database.html#realtime-as-in-realtime-computing","content":" When "normal" developers hear the word "realtime", they think of Real-time computing (RTC). Real-time computing is a type of computer processing that guarantees specific response times for tasks or events, crucial in applications like industrial control, automotive systems, and aerospace. It relies on specialized operating systems (RTOS) to ensure predictability and low latency. Hard real-time systems must never miss deadlines, while soft real-time systems can tolerate occasional delays. Real-time responses are often understood to be in the order of milliseconds, and sometimes microseconds. Consider the role of real-time computing in car airbags: sensors detect collision force, swiftly process the data, and immediately decide to deploy the airbags within milliseconds. Such rapid action is imperative for safeguarding passengers. Hence, the controlling chip must guarantee a certain response time - it must operate in "realtime". But when people talk about realtime databases, especially in the web-development world, they almost never mean realtime, as in realtime computing, they mean something else. In fact, with any programming language that run on end users devices, it is not even possible to built a "real" realtime database. A program, like a JavaScript (browser or Node.js) process, can be halted by the operating systems task manager at any time and therefore it will never be able to guarantee specific response times. To build a realtime computing database, you would need a realtime capable operating system. ","version":"Next","tagName":"h2"},{"title":"Real time Database as in realtime replication","type":1,"pageTitle":"What is a realtime database?","url":"/articles/realtime-database.html#real-time-database-as-in-realtime-replication","content":" When talking about realtime databases, most people refer to realtime, as in realtime replication. Often they mean a very specific product which is the Firebase Realtime Database (not the Firestore). In the context of the Firebase Realtime Database, "realtime" means that data changes are synchronized and delivered to all connected clients or devices as soon as they occur, typically within milliseconds. This means that when any client updates, adds, or removes data in the database, all other clients that are connected to the same database instance receive those updates instantly, without the need for manual polling or frequent HTTP requests. In short, when replicating data between databases, instead of polling, we use a websocket connection to live-stream all changes between the server and the clients, this is labeled as "realtime database". A similar thing can be done with RxDB and the RxDB Replication Plugins. ","version":"Next","tagName":"h2"},{"title":"Realtime as in realtime applications","type":1,"pageTitle":"What is a realtime database?","url":"/articles/realtime-database.html#realtime-as-in-realtime-applications","content":" In the context of realtime client-side applications, "realtime" refers to the immediate or near-instantaneous processing and response to events or data inputs. When data changes, the application must directly update to reflect the new data state, without any user interaction or delay. Notice that the change to the data could have come from any source, like a user action, an operation in another browser tab, or even an operation from another device that has been replicated to the client. In contrast to push-pull based databases (e.g., MySQL or MongoDB servers), a realtime database contains features which make it easy to build realtime applications. For example with RxDB you can not only fetch query results once, but instead you can subscribe to a query and directly update the HTML dom tree whenever the query has a new result set: await db.heroes.find({ selector: { healthpoints: { $gt: 0 } } }) .$ // The $ returns an observable that emits whenever the query's result set changes. .subscribe(aliveHeroes => { // Refresh the HTML list each time there are new query results. const newContent = aliveHeroes.map(doc => '<li>' + doc.name + '</li>'); document.getElementById('#myList').innerHTML = newContent; }); // You can even subscribe to any RxDB document's fields. myDocument.firstName$.subscribe(newName => console.log('name is: ' + newName)); A competent realtime application is engineered to offer feedback or results swiftly, ideally within milliseconds to microseconds. Ideally, a data modification should be processed in under 16 milliseconds (since 1 second divided by 60 frames equals 16.66ms) to ensure users don't perceive any lag from input to visualization. RxDB utilizes the EventReduce algorithm to manage changes more swiftly than 16ms. However, it can never assure fixed response times as a "realtime computing database" would. ","version":"Next","tagName":"h2"},{"title":"Follow Up","type":1,"pageTitle":"What is a realtime database?","url":"/articles/realtime-database.html#follow-up","content":" Dive into the RxDB QuickstartDiscover more about the RxDB realtime Sync EngineJoin the conversation at RxDB Chat ","version":"Next","tagName":"h2"},{"title":"RxDB as a Database in a Vue Application","type":0,"sectionRef":"#","url":"/articles/vue-database.html","content":"","keywords":"","version":"Next"},{"title":"Why Vue Applications Need a Database","type":1,"pageTitle":"RxDB as a Database in a Vue Application","url":"/articles/vue-database.html#why-vue-applications-need-a-database","content":" Vue is renowned for its lightweight core and flexible architecture centered around reactive state management and reusable components. However, modern Vue applications often require: Offline Capabilities: Allowing users to continue working even without internet access.Real-Time Updates: Keeping UI data in sync with changes as they occur, whether locally or from other connected clients.Improved Performance: Reducing server round trips and leveraging local storage for faster data operations.Scalable Data Handling: Managing increasingly large datasets or complex queries right in the browser. While you can store data in Vuex/Pinia stores or via direct AJAX calls, these solutions may not suffice when your application demands a full-featured offline-first database or complex synchronization with a server. RxDB addresses these needs with a dedicated, reactive, browser-based database that pairs seamlessly with Vue's reactivity system. ","version":"Next","tagName":"h2"},{"title":"Introducing RxDB as a Database Solution","type":1,"pageTitle":"RxDB as a Database in a Vue Application","url":"/articles/vue-database.html#introducing-rxdb-as-a-database-solution","content":" RxDB - short for Reactive Database - is built on the principle of combining NoSQL database capabilities with reactive programming. It runs inside your client-side environment (browser, Node.js, or mobile devices) and provides: Real-Time Reactivity: Automatically updates subscribed components whenever data changes.Offline-First Approach: Stores data locally and syncs with the server when online connectivity is restored.Data Replication: Effortlessly keeps data synchronized across multiple tabs, devices, or server instances.Multi-Tab Support: Seamlessly propagates changes to all open tabs in the user's browser.Observable Queries: Automatically refresh the result set when documents in your queried collection change. ","version":"Next","tagName":"h2"},{"title":"RxDB vs. Other Vue Database Options","type":1,"pageTitle":"RxDB as a Database in a Vue Application","url":"/articles/vue-database.html#rxdb-vs-other-vue-database-options","content":" Compared to traditional approaches - like raw IndexedDB or local storage - RxDB adds a powerful, reactive layer that simplifies your data flow. While tools like Vuex or Pinia are great for state management, they are not fully fledged databases with features like replication, conflict resolution, and offline persistence. RxDB bridges the gap by providing an integrated data handling solution tailor-made for modern, data-intensive Vue applications. ","version":"Next","tagName":"h3"},{"title":"Getting Started with RxDB","type":1,"pageTitle":"RxDB as a Database in a Vue Application","url":"/articles/vue-database.html#getting-started-with-rxdb","content":" Let's break down the essentials for using RxDB within a Vue application. ","version":"Next","tagName":"h2"},{"title":"Installation","type":1,"pageTitle":"RxDB as a Database in a Vue Application","url":"/articles/vue-database.html#installation","content":" You can install RxDB (and RxJS, which it depends on) via npm or yarn: npm install rxdb rxjs ","version":"Next","tagName":"h3"},{"title":"Creating and Configuring Your Database","type":1,"pageTitle":"RxDB as a Database in a Vue Application","url":"/articles/vue-database.html#creating-and-configuring-your-database","content":" Within your Vue project, you can set up an RxDB instance in a dedicated file or a Vue plugin. Below is an example using Localstorage as the storage engine: // db.js import { createRxDatabase } from 'rxdb'; import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage'; export async function initDatabase() { const db = await createRxDatabase({ name: 'heroesdb', storage: getRxStorageLocalstorage(), password: 'myPassword', // optional encryption password multiInstance: true, // multi-tab support eventReduce: true // optimize event handling }); await db.addCollections({ hero: { schema: { title: 'hero schema', version: 0, primaryKey: 'id', type: 'object', properties: { id: { type: 'string' }, name: { type: 'string' }, healthpoints: { type: 'number' } } } } }); return db; } After creating the RxDB instance, you can share it across your application (for example, by providing it in a plugin or a global property in Vue). ","version":"Next","tagName":"h2"},{"title":"Vue Reactivity and RxDB Observables","type":1,"pageTitle":"RxDB as a Database in a Vue Application","url":"/articles/vue-database.html#vue-reactivity-and-rxdb-observables","content":" RxDB queries return RxJS observables (.$). Vue can automatically update components when data changes if you manually subscribe and store results in Vue refs/reactive objects, or if you use RxDB's custom reactivity for Vue. Example with Vue 3 Composition API: // HeroList.vue <script setup> import { ref, onMounted } from 'vue'; import { initDatabase } from '@/db'; const heroes = ref([]); let db; onMounted(async () => { db = await initDatabase(); // Subscribe to an RxDB query db.hero .find({ selector: { healthpoints: { $gt: 0 } }, sort: [{ name: 'asc' }] }) .$ // the dot-$ is an observable that emits whenever the query results change .subscribe((newHeroes) => { heroes.value = newHeroes; }); }); </script> <template> <ul> <li v-for="hero in heroes" :key="hero.id"> {{ hero.name }} - HP: {{ hero.healthpoints }} </li> </ul> </template> ","version":"Next","tagName":"h2"},{"title":"Different RxStorage Layers for RxDB","type":1,"pageTitle":"RxDB as a Database in a Vue Application","url":"/articles/vue-database.html#different-rxstorage-layers-for-rxdb","content":" RxDB supports multiple storage backends - called "RxStorage layers" - giving you flexibility in how data is persisted: LocalStorage RxStorage: Uses the browsers localstorage API.IndexedDB RxStorage: Direct usage of native IndexedDB.OPFS RxStorage: Uses the File System Access API for even faster storage in modern browsers.Memory RxStorage: Stores data in memory, ideal for tests or ephemeral data.SQLite RxStorage: Runs SQLite, which can be compiled to WebAssembly for the browser. While possible, it typically carries a larger bundle size compared to native browser APIs like IndexedDB or OPFS. Choose the storage option that best aligns with your Vue application's requirements for performance, persistence, and platform compatibility. ","version":"Next","tagName":"h2"},{"title":"Synchronizing Data with RxDB between Clients and Servers","type":1,"pageTitle":"RxDB as a Database in a Vue Application","url":"/articles/vue-database.html#synchronizing-data-with-rxdb-between-clients-and-servers","content":" RxDB champions an offline-first approach: data is kept locally so that your Vue app remains usable, even without internet. When connectivity is restored, RxDB ensures your local changes synchronize to the server, resolving conflicts as necessary. Real-Time Synchronization: With RxDB's replication plugins, any local change can be instantly pushed to a remote endpoint while pulling down remote changes to ensure consistency.Conflict Resolution: In multi-user scenarios, conflicts may arise if two clients update the same document simultaneously. RxDB provides hooks to handle and resolve these gracefully.Scalable Architecture: By reducing reliance on continuous server requests, you can lighten server load and deliver a more responsive user experience. ","version":"Next","tagName":"h2"},{"title":"Advanced RxDB Features and Techniques","type":1,"pageTitle":"RxDB as a Database in a Vue Application","url":"/articles/vue-database.html#advanced-rxdb-features-and-techniques","content":" ","version":"Next","tagName":"h2"},{"title":"Offline-First Approach","type":1,"pageTitle":"RxDB as a Database in a Vue Application","url":"/articles/vue-database.html#offline-first-approach","content":" Vue applications can seamlessly function offline by leveraging RxDB's local database storage. The moment the network is restored, all unsynced data is pushed to the server. This capability is particularly beneficial for Progressive Web Apps (PWAs) and scenarios with spotty connectivity. ","version":"Next","tagName":"h3"},{"title":"Observable Queries and Change Streams","type":1,"pageTitle":"RxDB as a Database in a Vue Application","url":"/articles/vue-database.html#observable-queries-and-change-streams","content":" Beyond simply returning data, RxDB queries emit observables that respond to any change in the underlying documents. This real-time approach can drastically simplify state management, since updates flow directly into your Vue components without additional manual wiring. ","version":"Next","tagName":"h3"},{"title":"Encryption of Local Data","type":1,"pageTitle":"RxDB as a Database in a Vue Application","url":"/articles/vue-database.html#encryption-of-local-data","content":" For applications handling sensitive information, RxDB supports encryption of local data. Your data is stored securely in the browser, protecting it from unauthorized access. ","version":"Next","tagName":"h3"},{"title":"Indexing and Performance Optimization","type":1,"pageTitle":"RxDB as a Database in a Vue Application","url":"/articles/vue-database.html#indexing-and-performance-optimization","content":" By defining indexes on frequently searched fields, you can speed up queries and reduce overall resource usage. This is crucial for larger datasets where performance might otherwise degrade. ","version":"Next","tagName":"h3"},{"title":"JSON Key Compression","type":1,"pageTitle":"RxDB as a Database in a Vue Application","url":"/articles/vue-database.html#json-key-compression","content":" This optimization shortens field names in stored JSON documents, thereby reducing storage space and potentially improving performance for read/write operations. ","version":"Next","tagName":"h3"},{"title":"Multi-Tab Support","type":1,"pageTitle":"RxDB as a Database in a Vue Application","url":"/articles/vue-database.html#multi-tab-support","content":" If your users open multiple tabs of your Vue application, RxDB ensures data is synchronized across all instances in real time. Changes made in one tab are immediately reflected in others, creating a unified user experience. ","version":"Next","tagName":"h3"},{"title":"Best Practices for Using RxDB in Vue","type":1,"pageTitle":"RxDB as a Database in a Vue Application","url":"/articles/vue-database.html#best-practices-for-using-rxdb-in-vue","content":" Here are some recommendations to get the most out of RxDB in your Vue projects: Centralize Database Creation: Initialize and configure RxDB in a dedicated file or plugin, ensuring only one database instance is created.Leverage Vue's Composition API or a Global Store: Use watchers, refs, or a store like Pinia to neatly manage data subscriptions and updates, preventing scattered subscription logic.Async Subscriptions: Prefer using Vue's lifecycle hooks and the Composition API to manage subscriptions. Clean up subscriptions when components unmount or no longer need the data.Optimize Queries and Indexes: Only query the data you need, and define indexes to speed up lookups.Test Offline Scenarios: Make sure your offline logic works as expected by simulating network disconnections and reconnections.Plan Conflict Resolution: For multi-user apps, decide how to merge concurrent changes to prevent data inconsistencies. ","version":"Next","tagName":"h2"},{"title":"Follow Up","type":1,"pageTitle":"RxDB as a Database in a Vue Application","url":"/articles/vue-database.html#follow-up","content":" To explore more about RxDB and leverage its capabilities for browser database development, check out the following resources: RxDB GitHub Repository: Visit the official GitHub repository of RxDB to access the source code, documentation, and community support.RxDB Quickstart: Get started quickly with RxDB by following the provided quickstart guide, which offers step-by-step instructions for setting up and using RxDB in your projects.RxDB Reactivity for Vue: Discover how RxDB observables can directly produce Vue refs, simplifying integration with your Vue components.RxDB Vue Example at GitHub: Explore an official Vue example to see RxDB in action within a Vue application.RxDB Examples: Browse even more official examples to learn best practices you can apply to your own projects. ","version":"Next","tagName":"h2"},{"title":"IndexedDB Database in Vue Apps - The Power of RxDB","type":0,"sectionRef":"#","url":"/articles/vue-indexeddb.html","content":"","keywords":"","version":"Next"},{"title":"What is IndexedDB?","type":1,"pageTitle":"IndexedDB Database in Vue Apps - The Power of RxDB","url":"/articles/vue-indexeddb.html#what-is-indexeddb","content":" IndexedDB is a low-level API for storing significant amounts of structured data in the browser. It provides a transactional database system that can store key-value pairs, complex objects, and more. This storage engine is asynchronous and supports advanced data types, making it suitable for offline storage and complex web applications. ","version":"Next","tagName":"h2"},{"title":"Why Use IndexedDB in Vue","type":1,"pageTitle":"IndexedDB Database in Vue Apps - The Power of RxDB","url":"/articles/vue-indexeddb.html#why-use-indexeddb-in-vue","content":" When building Vue applications, IndexedDB can play a crucial role in enhancing both performance and user experience. Here are some reasons to consider using IndexedDB: Offline-First / Local-First: By storing data locally, your application remains functional even without an internet connection.Performance: Using local data means zero latency and no loading spinners, as data doesn't need to be fetched over a network.Easier Implementation: Replicating all data to the client once is often simpler than implementing multiple endpoints for each user interaction.Scalability: Local data reduces server load because queries run on the client side, decreasing server bandwidth and processing requirements. ","version":"Next","tagName":"h2"},{"title":"Why To Not Use Plain IndexedDB","type":1,"pageTitle":"IndexedDB Database in Vue Apps - The Power of RxDB","url":"/articles/vue-indexeddb.html#why-to-not-use-plain-indexeddb","content":" While IndexedDB itself is powerful, its native API comes with several drawbacks for everyday application developers: Callback-Based API: IndexedDB was originally designed around callbacks rather than modern Promises, making asynchronous code more cumbersome.Complexity: IndexedDB is low-level, intended for library developers rather than for app developers who just want to store and query data easily.Basic Query API: Its rudimentary query capabilities limit how you can efficiently perform complex queries. Libraries like RxDB offer more advanced querying and indexing.TypeScript Support: Ensuring good TypeScript support with IndexedDB is challenging, especially when trying to maintain schema consistency.Lack of Observable API: IndexedDB doesn't provide an observable API out of the box, making it hard to automatically update your Vue app in real time. RxDB solves this by enabling you to observe queries or specific documents.Cross-Tab Communication: Managing cross-tab updates in plain IndexedDB is difficult. RxDB handles this seamlessly - changes in one tab automatically affect observed data in others.Missing Advanced Features: Features like encryption or compression aren't built into IndexedDB, but they are available via RxDB.Limited Platform Support: IndexedDB is browser-only. RxDB offers swappable storages so you can reuse the same data layer code in mobile or desktop environments. ","version":"Next","tagName":"h2"},{"title":"Set up RxDB in Vue","type":1,"pageTitle":"IndexedDB Database in Vue Apps - The Power of RxDB","url":"/articles/vue-indexeddb.html#set-up-rxdb-in-vue","content":" Setting up RxDB with Vue is straightforward. It abstracts IndexedDB complexities and adds a layer of powerful features over it. ","version":"Next","tagName":"h2"},{"title":"Installing RxDB","type":1,"pageTitle":"IndexedDB Database in Vue Apps - The Power of RxDB","url":"/articles/vue-indexeddb.html#installing-rxdb","content":" First, install RxDB (and RxJS) from npm: npm install rxdb rxjs --save ","version":"Next","tagName":"h3"},{"title":"Create a Database and Collections","type":1,"pageTitle":"IndexedDB Database in Vue Apps - The Power of RxDB","url":"/articles/vue-indexeddb.html#create-a-database-and-collections","content":" RxDB provides two main storage options: The free LocalStorage-based storageThe premium plain IndexedDB-based storage, offering faster performance Below is an example of setting up a simple RxDB database using the localstorage-based storage in a Vue app: // db.ts import { createRxDatabase } from 'rxdb'; import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage'; export async function initDB() { const db = await createRxDatabase({ name: 'heroesdb', // the name of the database storage: getRxStorageLocalstorage() }); // Define your schema const heroSchema = { title: 'hero schema', version: 0, description: 'Describes a hero in your app', primaryKey: 'id', type: 'object', properties: { id: { type: 'string', maxLength: 100 }, name: { type: 'string' }, power: { type: 'string' } }, required: ['id', 'name'] }; // add collections await db.addCollections({ heroes: { schema: heroSchema } }); return db; } ","version":"Next","tagName":"h3"},{"title":"CRUD Operations","type":1,"pageTitle":"IndexedDB Database in Vue Apps - The Power of RxDB","url":"/articles/vue-indexeddb.html#crud-operations","content":" Once your database is initialized, you can perform all CRUD operations: // insert await db.heroes.insert({ id: '1', name: 'Iron Man', power: 'Genius-level intellect' }); // bulk insert await db.heroes.bulkInsert([ { id: '2', name: 'Thor', power: 'God of Thunder' }, { id: '3', name: 'Hulk', power: 'Superhuman Strength' } ]); // find and findOne const heroes = await db.heroes.find().exec(); const ironMan = await db.heroes.findOne({ selector: { name: 'Iron Man' } }).exec(); // update const doc = await db.heroes.findOne({ selector: { name: 'Hulk' } }).exec(); await doc.update({ $set: { power: 'Unlimited Strength' } }); // delete const thorDoc = await db.heroes.findOne({ selector: { name: 'Thor' } }).exec(); await thorDoc.remove(); ","version":"Next","tagName":"h3"},{"title":"Reactive Queries and Live Updates","type":1,"pageTitle":"IndexedDB Database in Vue Apps - The Power of RxDB","url":"/articles/vue-indexeddb.html#reactive-queries-and-live-updates","content":" RxDB excels in providing reactive data capabilities, ideal for real-time applications. Subscribing to queries automatically updates your Vue components when underlying data changes - even across browser tabs. ","version":"Next","tagName":"h2"},{"title":"Using RxJS Observables with Vue 3 Composition API","type":1,"pageTitle":"IndexedDB Database in Vue Apps - The Power of RxDB","url":"/articles/vue-indexeddb.html#using-rxjs-observables-with-vue-3-composition-api","content":" Here's an example of a Vue component that subscribes to live data updates: <template> <div> <h2>Hero List</h2> <ul> <li v-for="hero in heroes" :key="hero.id"> <strong>{{ hero.name }}</strong> - {{ hero.power }} </li> </ul> </div> </template> <script setup lang="ts"> import { ref, onMounted } from 'vue'; import { initDB } from '@/db'; const heroes = ref<any[]>([]); onMounted(async () => { const db = await initDB(); // create an observable query const query = db.heroes.find(); // subscribe to the query query.$.subscribe((newHeroes: any[]) => { heroes.value = newHeroes; }); }); </script> This component subscribes to the collection's changes, updating the UI automatically whenever the underlying data changes in any browser tab. ","version":"Next","tagName":"h3"},{"title":"Using Vue Signals","type":1,"pageTitle":"IndexedDB Database in Vue Apps - The Power of RxDB","url":"/articles/vue-indexeddb.html#using-vue-signals","content":" If you're exploring Vue's reactivity transforms or signals, RxDB also offers custom reactivity factories (premium plugins are required). This allows queries to emit data as signals instead of traditional Observables. const heroesSignal = db.heroes.find().$$; // $$ indicates a reactive result With this, in your Vue template or script, you can directly read from heroesSignal() <template> <div> <h2>Hero List</h2> <ul> <!-- we read heroesSignal.value which is always up to date --> <li v-for="hero in heroesSignal.value" :key="hero.id"> <strong>{{ hero.name }}</strong> - {{ hero.power }} </li> </ul> </div> </template> ","version":"Next","tagName":"h3"},{"title":"Vue IndexedDB Example with RxDB","type":1,"pageTitle":"IndexedDB Database in Vue Apps - The Power of RxDB","url":"/articles/vue-indexeddb.html#vue-indexeddb-example-with-rxdb","content":" A comprehensive example of using RxDB within a Vue application can be found in the RxDB GitHub repository. This repository contains sample applications, showcasing best practices and demonstrating how to integrate RxDB for various use cases. ","version":"Next","tagName":"h2"},{"title":"Advanced RxDB Features","type":1,"pageTitle":"IndexedDB Database in Vue Apps - The Power of RxDB","url":"/articles/vue-indexeddb.html#advanced-rxdb-features","content":" RxDB offers many advanced features that extend beyond basic data storage: RxDB Replication: Synchronize local data with remote databases seamlessly. Data Migration: Handle schema changes gracefully with automatic data migrations. Encryption: Secure your data with built-in encryption capabilities. Compression: Optimize storage using key compression. ","version":"Next","tagName":"h2"},{"title":"Limitations of IndexedDB","type":1,"pageTitle":"IndexedDB Database in Vue Apps - The Power of RxDB","url":"/articles/vue-indexeddb.html#limitations-of-indexeddb","content":" While IndexedDB is powerful, it has some inherent limitations: Performance: IndexedDB can be slow under certain conditions. Read more: Slow IndexedDBStorage Limits: Browsers impose limits on how much data can be stored. See: Browser storage limits. ","version":"Next","tagName":"h2"},{"title":"Alternatives to IndexedDB","type":1,"pageTitle":"IndexedDB Database in Vue Apps - The Power of RxDB","url":"/articles/vue-indexeddb.html#alternatives-to-indexeddb","content":" Depending on your application's requirements, there are alternative storage solutions to consider: Origin Private File System (OPFS): A newer API that can offer better performance. RxDB supports OPFS as well. More info: RxDB OPFS StorageSQLite: Ideal for hybrid frameworks or Capacitor, offering native performance. Explore: RxDB SQLite Storage ","version":"Next","tagName":"h2"},{"title":"Performance Comparison with Other Browser Storages","type":1,"pageTitle":"IndexedDB Database in Vue Apps - The Power of RxDB","url":"/articles/vue-indexeddb.html#performance-comparison-with-other-browser-storages","content":" Here is a performance overview of the various browser-based storage implementations of RxDB: ","version":"Next","tagName":"h2"},{"title":"Follow Up","type":1,"pageTitle":"IndexedDB Database in Vue Apps - The Power of RxDB","url":"/articles/vue-indexeddb.html#follow-up","content":" Learn how to use RxDB with the RxDB Quickstart for a guided introduction.Check out the RxDB GitHub repository and leave a star ⭐ if you find it useful. By leveraging RxDB on top of IndexedDB, you can create highly responsive, offline-capable Vue applications without dealing with the low-level complexities of IndexedDB directly. With reactive queries, seamless cross-tab communication, and powerful advanced features, RxDB becomes an invaluable tool in modern web development. ","version":"Next","tagName":"h2"},{"title":"WebSockets vs Server-Sent-Events vs Long-Polling vs WebRTC vs WebTransport","type":0,"sectionRef":"#","url":"/articles/websockets-sse-polling-webrtc-webtransport.html","content":"","keywords":"","version":"Next"},{"title":"What is Long Polling?","type":1,"pageTitle":"WebSockets vs Server-Sent-Events vs Long-Polling vs WebRTC vs WebTransport","url":"/articles/websockets-sse-polling-webrtc-webtransport.html#what-is-long-polling","content":" Long polling was the first "hack" to enable a server-client messaging method that can be used in browsers over HTTP. The technique emulates server push communications with normal XHR requests. Unlike traditional polling, where the client repeatedly requests data from the server at regular intervals, long polling establishes a connection to the server that remains open until new data is available. Once the server has new information, it sends the response to the client, and the connection is closed. Immediately after receiving the server's response, the client initiates a new request, and the process repeats. This method allows for more immediate data updates and reduces unnecessary network traffic and server load. However, it can still introduce delays in communication and is less efficient than other real-time technologies like WebSockets. // long-polling in a JavaScript client function longPoll() { fetch('http://example.com/poll') .then(response => response.json()) .then(data => { console.log("Received data:", data); longPoll(); // Immediately establish a new long polling request }) .catch(error => { /** * Errors can appear in normal conditions when a * connection timeout is reached or when the client goes offline. * On errors we just restart the polling after some delay. */ setTimeout(longPoll, 10000); }); } longPoll(); // Initiate the long polling Implementing long-polling on the client side is pretty simple, as shown in the code above. However on the backend there can be multiple difficulties to ensure the client receives all events and does not miss out updates when the client is currently reconnecting. ","version":"Next","tagName":"h3"},{"title":"What are WebSockets?","type":1,"pageTitle":"WebSockets vs Server-Sent-Events vs Long-Polling vs WebRTC vs WebTransport","url":"/articles/websockets-sse-polling-webrtc-webtransport.html#what-are-websockets","content":" WebSockets provide a full-duplex communication channel over a single, long-lived connection between the client and server. This technology enables browsers and servers to exchange data without the overhead of HTTP request-response cycles, facilitating real-time data transfer for applications like live chat, gaming, or financial trading platforms. WebSockets represent a significant advancement over traditional HTTP by allowing both parties to send data independently once the connection is established, making it ideal for scenarios that require low latency and high-frequency updates. // WebSocket in a JavaScript client const socket = new WebSocket('ws://example.com'); socket.onopen = function(event) { console.log('Connection established'); // Sending a message to the server socket.send('Hello Server!'); }; socket.onmessage = function(event) { console.log('Message from server:', event.data); }; While the basics of the WebSocket API are easy to use it has shown to be rather complex in production. A socket can loose connection and must be re-created accordingly. Especially detecting if a connection is still usable or not, can be very tricky. Mostly you would add a ping-and-pong heartbeat to ensure that the open connection is not closed. This complexity is why most people use a library on top of WebSockets like Socket.IO which handles all these cases and even provides fallbacks to long-polling if required. ","version":"Next","tagName":"h3"},{"title":"What are Server-Sent-Events?","type":1,"pageTitle":"WebSockets vs Server-Sent-Events vs Long-Polling vs WebRTC vs WebTransport","url":"/articles/websockets-sse-polling-webrtc-webtransport.html#what-are-server-sent-events","content":" Server-Sent Events (SSE) provide a standard way to push server updates to the client over HTTP. Unlike WebSockets, SSEs are designed exclusively for one-way communication from server to client, making them ideal for scenarios like live news feeds, sports scores, or any situation where the client needs to be updated in real time without sending data to the server. You can think of Server-Sent-Events as a single HTTP request where the backend does not send the whole body at once, but instead keeps the connection open and trickles the answer by sending a single line each time an event has to be send to the client. Creating a connection for receiving events with SSE is straightforward. On the client side in a browser, you initialize an EventSource instance with the URL of the server-side script that generates the events. Listening for messages involves attaching event handlers directly to the EventSource instance. The API distinguishes between generic message events and named events, allowing for more structured communication. Here's how you can set it up in JavaScript: // Connecting to the server-side event stream const evtSource = new EventSource("https://example.com/events"); // Handling generic message events evtSource.onmessage = event => { console.log('got message: ' + event.data); }; In difference to WebSockets, an EventSource will automatically reconnect on connection loss. On the server side, your script must set the Content-Type header to text/event-stream and format each message according to the SSE specification. This includes specifying event types, data payloads, and optional fields like event ID and retry timing. Here's how you can set up a simple SSE endpoint in a Node.js Express app: import express from 'express'; const app = express(); const PORT = process.env.PORT || 3000; app.get('/events', (req, res) => { res.writeHead(200, { 'Content-Type': 'text/event-stream', 'Cache-Control': 'no-cache', 'Connection': 'keep-alive', }); const sendEvent = (data) => { // all message lines must be prefixed with 'data: ' const formattedData = `data: ${JSON.stringify(data)}\\n\\n`; res.write(formattedData); }; // Send an event every 2 seconds const intervalId = setInterval(() => { const message = { time: new Date().toTimeString(), message: 'Hello from the server!', }; sendEvent(message); }, 2000); // Clean up when the connection is closed req.on('close', () => { clearInterval(intervalId); res.end(); }); }); app.listen(PORT, () => console.log(`Server running on http://localhost:${PORT}`)); ","version":"Next","tagName":"h3"},{"title":"What is the WebTransport API?","type":1,"pageTitle":"WebSockets vs Server-Sent-Events vs Long-Polling vs WebRTC vs WebTransport","url":"/articles/websockets-sse-polling-webrtc-webtransport.html#what-is-the-webtransport-api","content":" WebTransport is a cutting-edge API designed for efficient, low-latency communication between web clients and servers. It leverages the HTTP/3 QUIC protocol to enable a variety of data transfer capabilities, such as sending data over multiple streams, in both reliable and unreliable manners, and even allowing data to be sent out of order. This makes WebTransport a powerful tool for applications requiring high-performance networking, such as real-time gaming, live streaming, and collaborative platforms. However, it's important to note that WebTransport is currently a working draft and has not yet achieved widespread adoption. As of now (March 2024), WebTransport is in a Working Draft and not widely supported. You cannot yet use WebTransport in the Safari browser and there is also no native support in Node.js. This limits its usability across different platforms and environments. Even when WebTransport will become widely supported, its API is very complex to use and likely it would be something where people build libraries on top of WebTransport, not using it directly in an application's sourcecode. ","version":"Next","tagName":"h3"},{"title":"What is WebRTC?","type":1,"pageTitle":"WebSockets vs Server-Sent-Events vs Long-Polling vs WebRTC vs WebTransport","url":"/articles/websockets-sse-polling-webrtc-webtransport.html#what-is-webrtc","content":" WebRTC (Web Real-Time Communication) is an open-source project and API standard that enables real-time communication (RTC) capabilities directly within web browsers and mobile applications without the need for complex server infrastructure or the installation of additional plugins. It supports peer-to-peer connections for streaming audio, video, and data exchange between browsers. WebRTC is designed to work through NATs and firewalls, utilizing protocols like ICE, STUN, and TURN to establish a connection between peers. While WebRTC is made to be used for client-client interactions, it could also be leveraged for server-client communication where the server just simulated being also a client. This approach only makes sense for niche use cases which is why in the following WebRTC will be ignored as an option. The problem is that for WebRTC to work, you need a signaling-server anyway which would then again run over websockets, SSE or WebTransport. This defeats the purpose of using WebRTC as a replacement for these technologies. ","version":"Next","tagName":"h3"},{"title":"Limitations of the technologies","type":1,"pageTitle":"WebSockets vs Server-Sent-Events vs Long-Polling vs WebRTC vs WebTransport","url":"/articles/websockets-sse-polling-webrtc-webtransport.html#limitations-of-the-technologies","content":" ","version":"Next","tagName":"h2"},{"title":"Sending Data in both directions","type":1,"pageTitle":"WebSockets vs Server-Sent-Events vs Long-Polling vs WebRTC vs WebTransport","url":"/articles/websockets-sse-polling-webrtc-webtransport.html#sending-data-in-both-directions","content":" Only WebSockets and WebTransport allow to send data in both directions so that you can receive server-data and send client-data over the same connection. While it would also be possible with Long-Polling in theory, it is not recommended because sending "new" data to an existing long-polling connection would require to do an additional http-request anyway. So instead of doing that you can send data directly from the client to the server with an additional http-request without interrupting the long-polling connection. Server-Sent-Events do not support sending any additional data to the server. You can only do the initial request, and even there you cannot send POST-like data in the http-body by default with the native EventSource API. Instead you have to put all data inside of the url parameters which is considered a bad practice for security because credentials might leak into server logs, proxies and caches. To fix this problem, RxDB for example uses the eventsource polyfill instead of the native EventSource API. This library adds additional functionality like sending custom http headers. Also there is this library from microsoft which allows to send body data and use POST requests instead of GET. ","version":"Next","tagName":"h3"},{"title":"6-Requests per Domain Limit","type":1,"pageTitle":"WebSockets vs Server-Sent-Events vs Long-Polling vs WebRTC vs WebTransport","url":"/articles/websockets-sse-polling-webrtc-webtransport.html#6-requests-per-domain-limit","content":" Most modern browsers allow six connections per domain () which limits the usability of all steady server-to-client messaging methods. The limitation of six connections is even shared across browser tabs so when you open the same page in multiple tabs, they would have to shared the six-connection-pool with each other. This limitation is part of the HTTP/1.1-RFC (which even defines a lower number of only two connections). Quote From RFC 2616 - Section 8.1.4: "Clients that use persistent connections SHOULD limit the number of simultaneous connections that they maintain to a given server. A single-user client SHOULD NOT maintain more than 2 connections with any server or proxy. A proxy SHOULD use up to 2*N connections to another server or proxy, where N is the number of simultaneously active users. These guidelines are intended to improve HTTP response times and avoid congestion." While that policy makes sense to prevent website owners from using their visitors to D-DOS other websites, it can be a big problem when multiple connections are required to handle server-client communication for legitimate use cases. To workaround the limitation you have to use HTTP/2 or HTTP/3 with which the browser will only open a single connection per domain and then use multiplexing to run all data through a single connection. While this gives you a virtually infinity amount of parallel connections, there is a SETTINGS_MAX_CONCURRENT_STREAMS setting which limits the actually connections amount. The default is 100 concurrent streams for most configurations. In theory the connection limit could also be increased by the browser, at least for specific APIs like EventSource, but the issues have been marked as "won't fix" by chromium and firefox. Lower the amount of connections in Browser Apps When you build a browser application, you have to assume that your users will use the app not only once, but in multiple browser tabs in parallel. By default you likely will open one server-stream-connection per tab which is often not necessary at all. Instead you open only a single connection and shared it between tabs, no matter how many tabs are open. RxDB does that with the LeaderElection from the broadcast-channel npm package to only have one stream of replication between server and clients. You can use that package standalone (without RxDB) for any type of application. ","version":"Next","tagName":"h3"},{"title":"Connections are not kept open on mobile apps","type":1,"pageTitle":"WebSockets vs Server-Sent-Events vs Long-Polling vs WebRTC vs WebTransport","url":"/articles/websockets-sse-polling-webrtc-webtransport.html#connections-are-not-kept-open-on-mobile-apps","content":" In the context of mobile applications running on operating systems like Android and iOS, maintaining open connections, such as those used for WebSockets and the others, poses a significant challenge. Mobile operating systems are designed to automatically move applications into the background after a certain period of inactivity, effectively closing any open connections. This behavior is a part of the operating system's resource management strategy to conserve battery and optimize performance. As a result, developers often rely on mobile push notifications as an efficient and reliable method to send data from servers to clients. Push notifications allow servers to alert the application of new data, prompting an action or update, without the need for a persistent open connection. ","version":"Next","tagName":"h3"},{"title":"Proxies and Firewalls","type":1,"pageTitle":"WebSockets vs Server-Sent-Events vs Long-Polling vs WebRTC vs WebTransport","url":"/articles/websockets-sse-polling-webrtc-webtransport.html#proxies-and-firewalls","content":" From consulting many RxDB users, it was shown that in enterprise environments (aka "at work") it is often hard to implement a WebSocket server into the infrastructure because many proxies and firewalls block non-HTTP connections. Therefore using the Server-Sent-Events provides and easier way of enterprise integration. Also long-polling uses only plain HTTP-requests and might be an option. ","version":"Next","tagName":"h3"},{"title":"Performance Comparison","type":1,"pageTitle":"WebSockets vs Server-Sent-Events vs Long-Polling vs WebRTC vs WebTransport","url":"/articles/websockets-sse-polling-webrtc-webtransport.html#performance-comparison","content":" Comparing the performance of WebSockets, Server-Sent Events (SSE), Long-Polling and WebTransport directly involves evaluating key aspects such as latency, throughput, server load, and scalability under various conditions. First lets look at the raw numbers. A good performance comparison can be found in this repo which tests the messages times in a Go Lang server implementation. Here we can see that the performance of WebSockets, WebRTC and WebTransport are comparable: note Remember that WebTransport is a pretty new technology based on the also new HTTP/3 protocol. In the future (after March 2024) there might be more performance optimizations. Also WebTransport is optimized to use less power which metric is not tested. Lets also compare the Latency, the throughput and the scalability: ","version":"Next","tagName":"h2"},{"title":"Latency","type":1,"pageTitle":"WebSockets vs Server-Sent-Events vs Long-Polling vs WebRTC vs WebTransport","url":"/articles/websockets-sse-polling-webrtc-webtransport.html#latency","content":" WebSockets: Offers the lowest latency due to its full-duplex communication over a single, persistent connection. Ideal for real-time applications where immediate data exchange is critical.Server-Sent Events: Also provides low latency for server-to-client communication but cannot natively send messages back to the server without additional HTTP requests.Long-Polling: Incurs higher latency as it relies on establishing new HTTP connections for each data transmission, making it less efficient for real-time updates. Also it can occur that the server wants to send an event when the client is still in the process of opening a new connection. In these cases the latency would be significantly larger.WebTransport: Promises to offer low latency similar to WebSockets, with the added benefits of leveraging the HTTP/3 protocol for more efficient multiplexing and congestion control. ","version":"Next","tagName":"h3"},{"title":"Throughput","type":1,"pageTitle":"WebSockets vs Server-Sent-Events vs Long-Polling vs WebRTC vs WebTransport","url":"/articles/websockets-sse-polling-webrtc-webtransport.html#throughput","content":" WebSockets: Capable of high throughput due to its persistent connection, but throughput can suffer from backpressure where the client cannot process data as fast as the server is capable of sending it.Server-Sent Events: Efficient for broadcasting messages to many clients with less overhead than WebSockets, leading to potentially higher throughput for unidirectional server-to-client communication.Long-Polling: Generally offers lower throughput due to the overhead of frequently opening and closing connections, which consumes more server resources.WebTransport: Expected to support high throughput for both unidirectional and bidirectional streams within a single connection, outperforming WebSockets in scenarios requiring multiple streams. ","version":"Next","tagName":"h3"},{"title":"Scalability and Server Load","type":1,"pageTitle":"WebSockets vs Server-Sent-Events vs Long-Polling vs WebRTC vs WebTransport","url":"/articles/websockets-sse-polling-webrtc-webtransport.html#scalability-and-server-load","content":" WebSockets: Maintaining a large number of WebSocket connections can significantly increase server load, potentially affecting scalability for applications with many users.Server-Sent Events: More scalable for scenarios that primarily require updates from server to client, as it uses less connection overhead than WebSockets because it uses "normal" HTTP request without things like protocol updates that have to be run with WebSockets.Long-Polling: The least scalable due to the high server load generated by frequent connection establishment, making it suitable only as a fallback mechanism.WebTransport: Designed to be highly scalable, benefiting from HTTP/3's efficiency in handling connections and streams, potentially reducing server load compared to WebSockets and SSE. ","version":"Next","tagName":"h3"},{"title":"Recommendations and Use-Case Suitability","type":1,"pageTitle":"WebSockets vs Server-Sent-Events vs Long-Polling vs WebRTC vs WebTransport","url":"/articles/websockets-sse-polling-webrtc-webtransport.html#recommendations-and-use-case-suitability","content":" In the landscape of server-client communication technologies, each has its distinct advantages and use case suitability. Server-Sent Events (SSE) emerge as the most straightforward option to implement, leveraging the same HTTP/S protocols as traditional web requests, thereby circumventing corporate firewall restrictions and other technical problems that can appear with other protocols. They are easily integrated into Node.js and other server frameworks, making them an ideal choice for applications requiring frequent server-to-client updates, such as news feeds, stock tickers, and live event streaming. On the other hand, WebSockets excel in scenarios demanding ongoing, two-way communication. Their ability to support continuous interaction makes them the prime choice for browser games, chat applications, and live sports updates. However, WebTransport, despite its potential, faces adoption challenges. It is not widely supported by server frameworks including Node.js and lacks compatibility with safari. Moreover, its reliance on HTTP/3 further limits its immediate applicability because many WebServers like nginx only have experimental HTTP/3 support. While promising for future applications with its support for both reliable and unreliable data transmission, WebTransport is not yet a viable option for most use cases. Long-Polling, once a common technique, is now largely outdated due to its inefficiency and the high overhead of repeatedly establishing new HTTP connections. Although it may serve as a fallback in environments lacking support for WebSockets or SSE, its use is generally discouraged due to significant performance limitations. ","version":"Next","tagName":"h2"},{"title":"Known Problems","type":1,"pageTitle":"WebSockets vs Server-Sent-Events vs Long-Polling vs WebRTC vs WebTransport","url":"/articles/websockets-sse-polling-webrtc-webtransport.html#known-problems","content":" For all of the realtime streaming technologies, there are known problems. When you build anything on top of them, keep these in mind. ","version":"Next","tagName":"h2"},{"title":"A client can miss out events when reconnecting","type":1,"pageTitle":"WebSockets vs Server-Sent-Events vs Long-Polling vs WebRTC vs WebTransport","url":"/articles/websockets-sse-polling-webrtc-webtransport.html#a-client-can-miss-out-events-when-reconnecting","content":" When a client is connecting, reconnecting or offline, it can miss out events that happened on the server but could not be streamed to the client. This missed out events are not relevant when the server is streaming the full content each time anyway, like on a live updating stock ticker. But when the backend is made to stream partial results, you have to account for missed out events. Fixing that on the backend scales pretty bad because the backend would have to remember for each client which events have been successfully send already. Instead this should be implemented with client side logic. The RxDB Sync Engine for example uses two modes of operation for that. One is the checkpoint iteration mode where normal http requests are used to iterate over backend data, until the client is in sync again. Then it can switch to event observation mode where updates from the realtime-stream are used to keep the client in sync. Whenever a client disconnects or has any error, the replication shortly switches to checkpoint iteration mode until the client is in sync again. This method accounts for missed out events and ensures that clients can always sync to the exact equal state of the server. ","version":"Next","tagName":"h3"},{"title":"Company firewalls can cause problems","type":1,"pageTitle":"WebSockets vs Server-Sent-Events vs Long-Polling vs WebRTC vs WebTransport","url":"/articles/websockets-sse-polling-webrtc-webtransport.html#company-firewalls-can-cause-problems","content":" There are many known problems with company infrastructure when using any of the streaming technologies. Proxies and firewall can block traffic or unintentionally break requests and responses. Whenever you implement a realtime app in such an infrastructure, make sure you first test out if the technology itself works for you. ","version":"Next","tagName":"h3"},{"title":"Follow Up","type":1,"pageTitle":"WebSockets vs Server-Sent-Events vs Long-Polling vs WebRTC vs WebTransport","url":"/articles/websockets-sse-polling-webrtc-webtransport.html#follow-up","content":" Check out the hackernews discussion of this articleShared/Like my announcement tweetLearn how to use Server-Sent-Events to replicate a client side RxDB database with your backend.Learn how to use RxDB with the RxDB QuickstartCheck out the RxDB github repo and leave a star ⭐ ","version":"Next","tagName":"h2"},{"title":"Zero Latency Local First Apps with RxDB – Sync, Encryption and Compression","type":0,"sectionRef":"#","url":"/articles/zero-latency-local-first.html","content":"","keywords":"","version":"Next"},{"title":"Why Zero Latency with a Local First Approach?","type":1,"pageTitle":"Zero Latency Local First Apps with RxDB – Sync, Encryption and Compression","url":"/articles/zero-latency-local-first.html#why-zero-latency-with-a-local-first-approach","content":" In a traditional architecture, each user action triggers requests to a server for reads or writes. Despite network optimizations, unavoidable latencies can delay responses and disrupt the user flow. By contrast, a local first model maintains data in the client's environment (browser, mobile, desktop), drastically reducing user-perceived delays. Once the user re-connects or resumes activity online, changes propagate automatically to the server, eliminating manual synchronization overhead. Instant Responsiveness: Because user actions (queries, updates, etc.) happen against a local datastore, UI updates do not wait on round-trip times.Offline Operation: Apps can continue to read and write data, even when there is zero connectivity.Reduced Backend Load: Instead of flooding the server with small requests, replication can combine and push or pull changes in batches.Simplified Caching: Instead of implementing multi-layer caching, local first transforms your data layer into a reliable, quickly accessible store for all user actions. ","version":"Next","tagName":"h2"},{"title":"RxDB: Your Key to Zero-Latency Local First Apps","type":1,"pageTitle":"Zero Latency Local First Apps with RxDB – Sync, Encryption and Compression","url":"/articles/zero-latency-local-first.html#rxdb-your-key-to-zero-latency-local-first-apps","content":" RxDB is a JavaScript-based NoSQL database designed for offline-first and real-time replication scenarios. It supports a range of environments - browsers (IndexedDB or OPFS), mobile (Ionic, React Native), Electron, Node.js - and is built around: Reactive Queries that trigger UI updates upon data changesSchema-based NoSQL Documents for flexible but robust data modelsAdvanced Sync Engine: to synchronize with diverse backendsEncryption for secure data at restCompression to reduce local and network overhead ","version":"Next","tagName":"h2"},{"title":"Real-Time Sync and Offline-First","type":1,"pageTitle":"Zero Latency Local First Apps with RxDB – Sync, Encryption and Compression","url":"/articles/zero-latency-local-first.html#real-time-sync-and-offline-first","content":" RxDB's replication logic revolves around pulling down remote changes and pushing up local modifications. It maintains a checkpoint-based mechanism, so only new or updated documents flow between the client and server, reducing bandwidth usage and latency. This ensures: Live Data: Queries automatically reflect server-side changes once they arrive locally.Background Updates: No manual polling needed; replication streams or intervals handle synchronization.Conflict Handling (see below) ensures data merges gracefully when multiple clients edit the same document offline. Multiple Replication Plugins and Approaches RxDB's flexible replication system lets you connect to different backends or even peer-to-peer networks. There are official plugins for CouchDB, Firestore, GraphQL, WebRTC, and more. Many developers create a custom HTTP replication to work with their existing REST-based backend, ensuring a painless integration that doesn't require adopting an entirely new server infrastructure. Example Setup of a local database import { createRxDatabase } from 'rxdb/plugins/core'; import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage'; async function initZeroLocalDB() { // Create a local RxDB instance using localstorage-based storage const db = await createRxDatabase({ name: 'myZeroLocalDB', storage: getRxStorageLocalstorage(), // optional: password for encryption if needed }); // Define one or more collections await db.addCollections({ tasks: { schema: { title: 'task schema', version: 0, type: 'object', primaryKey: 'id', properties: { id: { type: 'string', maxLength: 100 }, title: { type: 'string' }, done: { type: 'boolean' } } } } }); // Reactive query - automatically updates on local or remote changes db.tasks .find() .$ // returns an RxJS Observable .subscribe(allTasks => { console.log('All tasks updated:', allTasks); }); return db; } When offline, reads and writes to db.tasks happen locally with near-zero delay. Once connectivity resumes, changes sync to the server automatically (if replication is configured). Example Setup of the replication import { replicateRxCollection } from 'rxdb/plugins/replication'; async function syncLocalTasks(db) { replicateRxCollection({ collection: db.tasks, replicationIdentifier: 'sync-tasks', // Define how to pull server documents and push local documents pull: { handler: async (lastCheckpoint, batchSize) => { // logic to retrieve updated tasks from the server since lastCheckpoint }, }, push: { handler: async (docs) => { // logic to post local changes to the server }, }, live: true, // continuously replicate retryTime: 5000, // retry on errors or disconnections }); } This replication seamlessly merges server-side and client-side changes. Your app remains responsive throughout, regardless of the network status. ","version":"Next","tagName":"h3"},{"title":"Things you should also know about","type":1,"pageTitle":"Zero Latency Local First Apps with RxDB – Sync, Encryption and Compression","url":"/articles/zero-latency-local-first.html#things-you-should-also-know-about","content":" ","version":"Next","tagName":"h2"},{"title":"Optimistic UI on Local Data Changes","type":1,"pageTitle":"Zero Latency Local First Apps with RxDB – Sync, Encryption and Compression","url":"/articles/zero-latency-local-first.html#optimistic-ui-on-local-data-changes","content":" A local first approach, especially with RxDB, naturally supports an optimistic UI pattern. Because writes occur on the client, you can instantly reflect changes in the interface as soon as the user performs an action - no need to wait for server confirmation. For example, when a user updates a task document to done: true, the UI can re-render immediately with that new state. This even works across multiple browser tabs. If a server conflict arises later during replication, RxDB's conflict handling logic determines which changes to keep, and the UI can be updated accordingly. This is far more efficient than blocking the user or displaying a spinner while the backend processes the request. ","version":"Next","tagName":"h3"},{"title":"Conflict Handling","type":1,"pageTitle":"Zero Latency Local First Apps with RxDB – Sync, Encryption and Compression","url":"/articles/zero-latency-local-first.html#conflict-handling","content":" In local first models, conflicts emerge if multiple devices or clients edit the same document while offline. RxDB tracks document revisions so you can detect collisions and merge them effectively. By default, RxDB uses a last-write-wins approach, but developers can override it with a custom conflict handler. This provides fine-grained control - like merging partial fields, storing revision histories, or prompting users for resolution. Proper conflict handling keeps distributed data consistent across your entire system. ","version":"Next","tagName":"h3"},{"title":"Schema Migrations","type":1,"pageTitle":"Zero Latency Local First Apps with RxDB – Sync, Encryption and Compression","url":"/articles/zero-latency-local-first.html#schema-migrations","content":" Over time, apps evolve - new fields, changed field types, or altered indexes. RxDB allows incremental schema migrations so you can upgrade a user's local data from one schema version to another. You might, for instance, rename a property or transform data formats. Once you define your migration strategy, RxDB automatically applies it upon app initialization, ensuring the local database's structure aligns with your latest codebase. ","version":"Next","tagName":"h3"},{"title":"Advanced Features","type":1,"pageTitle":"Zero Latency Local First Apps with RxDB – Sync, Encryption and Compression","url":"/articles/zero-latency-local-first.html#advanced-features","content":" ","version":"Next","tagName":"h2"},{"title":"Setup Encryption","type":1,"pageTitle":"Zero Latency Local First Apps with RxDB – Sync, Encryption and Compression","url":"/articles/zero-latency-local-first.html#setup-encryption","content":" When storing data locally, you may handle user-sensitive information like PII (Personal Identifiable Information) or financial details. RxDB supports on-device encryption to protect fields. For example, you can define: import { wrappedKeyEncryptionCryptoJsStorage } from 'rxdb/plugins/encryption-crypto-js'; const encryptedStorage = wrappedKeyEncryptionCryptoJsStorage({ storage: getRxStorageLocalstorage() }); const db = await createRxDatabase({ name: 'secureDB', storage: encryptedStorage, password: 'myEncryptionPassword' }); await db.addCollections({ secrets: { schema: { title: 'secrets schema', version: 0, type: 'object', primaryKey: 'id', properties: { id: { type: 'string', maxLength: 100 }, secretField: { type: 'string' } }, required: ['id'], encrypted: ['secretField'] // define which fields to encrypt } } }); Then mark fields as encrypted in the schema. This ensures data is unreadable on disk without the correct password. ","version":"Next","tagName":"h3"},{"title":"Setup Compression","type":1,"pageTitle":"Zero Latency Local First Apps with RxDB – Sync, Encryption and Compression","url":"/articles/zero-latency-local-first.html#setup-compression","content":" Local data can expand quickly, especially for large documents or repeated key names. RxDB's key compression feature replaces verbose field names with shorter tokens, decreasing storage usage and speeding up replication. You enable it by adding keyCompression: true to your collection schema: await db.addCollections({ logs: { schema: { title: 'log schema', version: 0, keyCompression: true, type: 'object', primaryKey: 'id', properties: { id: { type: 'string'. maxLength: 100 }, message: { type: 'string' }, timestamp: { type: 'number' } } } } }); ","version":"Next","tagName":"h3"},{"title":"Different RxDB Storages Depending on the Runtime","type":1,"pageTitle":"Zero Latency Local First Apps with RxDB – Sync, Encryption and Compression","url":"/articles/zero-latency-local-first.html#different-rxdb-storages-depending-on-the-runtime","content":" RxDB's storage layer is swappable, so you can pick the optimal adapter for each environment. Some common choices include: IndexedDB in modern browsers (default).OPFS (Origin Private File System) in browsers that support it for potentially better performance.SQLite for mobile or desktop environments via the premium plugin, offering native-like speed on Android, iOS, or Electron.In-Memory for tests or ephemeral data. By choosing a suitable storage layer, you can adapt your zero-latency local first design to any runtime - web, mobile, or server-like contexts in Node.js. ","version":"Next","tagName":"h2"},{"title":"Performance Considerations","type":1,"pageTitle":"Zero Latency Local First Apps with RxDB – Sync, Encryption and Compression","url":"/articles/zero-latency-local-first.html#performance-considerations","content":" Performant local data operations are crucial for a zero-latency experience. According to the RxDB storage performance overview, differences in underlying storages can significantly impact throughput and latency. For instance, IndexedDB typically performs well across modern browsers, OPFS offers improved throughput in supporting browsers, and SQLite storage (a premium plugin) often delivers near-native speed for mobile or desktop. ","version":"Next","tagName":"h2"},{"title":"Offloading Work from the Main Thread","type":1,"pageTitle":"Zero Latency Local First Apps with RxDB – Sync, Encryption and Compression","url":"/articles/zero-latency-local-first.html#offloading-work-from-the-main-thread","content":" In a browser environment, you can move database operations into a Web Worker using the Worker RxStorage plugin. This approach lets you keep heavy data processing off the main thread, ensuring the UI remains smooth and responsive. Complex queries or large write operations no longer cause stuttering in the user interface. ","version":"Next","tagName":"h3"},{"title":"Sharding or Memory-Mapped Storages","type":1,"pageTitle":"Zero Latency Local First Apps with RxDB – Sync, Encryption and Compression","url":"/articles/zero-latency-local-first.html#sharding-or-memory-mapped-storages","content":" For large datasets or high concurrency, advanced techniques like sharding collections across multiple storages or leveraging a memory-mapped variant can further boost performance. By splitting data into smaller subsets or streaming it only as needed, you can scale to handle complex usage scenarios without compromising on the zero-latency user experience. ","version":"Next","tagName":"h3"},{"title":"Follow Up","type":1,"pageTitle":"Zero Latency Local First Apps with RxDB – Sync, Encryption and Compression","url":"/articles/zero-latency-local-first.html#follow-up","content":" Dive into the RxDB Quickstart to set up your own local first database.Explore Replication Plugins for syncing with platforms like CouchDB, Firestore, or GraphQL.Check out Advanced Conflict Handling and Performance Tuning for big data sets or complex multi-user interactions.Join the RxDB Community on GitHub and Discord to share insights, file issues, and learn from other developers building zero-latency solutions. By integrating RxDB into your stack, you achieve millisecond interactions, full offline capabilities, secure data at rest, and minimal overhead for large or distributed teams. This zero-latency local first architecture is the future of modern software - delivering a fluid, always-available user experience without overcomplicating the developer workflow. ","version":"Next","tagName":"h2"},{"title":"📥 Backup Plugin","type":0,"sectionRef":"#","url":"/backup.html","content":"","keywords":"","version":"Next"},{"title":"Installation","type":1,"pageTitle":"📥 Backup Plugin","url":"/backup.html#installation","content":" import { addRxPlugin } from 'rxdb'; import { RxDBBackupPlugin } from 'rxdb/plugins/backup'; addRxPlugin(RxDBBackupPlugin); ","version":"Next","tagName":"h2"},{"title":"one-time backup","type":1,"pageTitle":"📥 Backup Plugin","url":"/backup.html#one-time-backup","content":" Write the whole database to the filesystem once. When called multiple times, it will continue from the last checkpoint and not start all over again. const backupOptions = { // if false, a one-time backup will be written live: false, // the folder where the backup will be stored directory: '/my-backup-folder/', // if true, attachments will also be saved attachments: true } const backupState = myDatabase.backup(backupOptions); await backupState.awaitInitialBackup(); // call again to run from the last checkpoint const backupState2 = myDatabase.backup(backupOptions); await backupState2.awaitInitialBackup(); ","version":"Next","tagName":"h2"},{"title":"live backup","type":1,"pageTitle":"📥 Backup Plugin","url":"/backup.html#live-backup","content":" When live: true is set, the backup will write all ongoing changes to the backup directory. const backupOptions = { // set live: true to have an ongoing backup live: true, directory: '/my-backup-folder/', attachments: true } const backupState = myDatabase.backup(backupOptions); // you can still await the initial backup write, but further changes will still be processed. await backupState.awaitInitialBackup(); ","version":"Next","tagName":"h2"},{"title":"writeEvents$","type":1,"pageTitle":"📥 Backup Plugin","url":"/backup.html#writeevents","content":" You can listen to the writeEvents$ Observable to get notified about written backup files. const backupOptions = { live: false, directory: '/my-backup-folder/', attachments: true } const backupState = myDatabase.backup(backupOptions); const subscription = backupState.writeEvents$.subscribe(writeEvent => console.dir(writeEvent)); /* > { collectionName: 'humans', documentId: 'foobar', files: [ '/my-backup-folder/foobar/document.json' ], deleted: false } */ ","version":"Next","tagName":"h2"},{"title":"Limitations","type":1,"pageTitle":"📥 Backup Plugin","url":"/backup.html#limitations","content":" It is currently not possible to import from a written backup. If you need this functionality, please make a pull request. ","version":"Next","tagName":"h2"},{"title":"🧹 Cleanup","type":0,"sectionRef":"#","url":"/cleanup.html","content":"","keywords":"","version":"Next"},{"title":"Installation","type":1,"pageTitle":"🧹 Cleanup","url":"/cleanup.html#installation","content":" import { addRxPlugin } from 'rxdb'; import { RxDBCleanupPlugin } from 'rxdb/plugins/cleanup'; addRxPlugin(RxDBCleanupPlugin); ","version":"Next","tagName":"h2"},{"title":"Create a database with cleanup options","type":1,"pageTitle":"🧹 Cleanup","url":"/cleanup.html#create-a-database-with-cleanup-options","content":" You can set a specific cleanup policy when a RxDatabase is created. For most use cases, the defaults should be ok. import { createRxDatabase } from 'rxdb'; import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage'; const db = await createRxDatabase({ name: 'heroesdb', storage: getRxStorageLocalstorage(), cleanupPolicy: { /** * The minimum time in milliseconds for how long * a document has to be deleted before it is * purged by the cleanup. * [default=one month] */ minimumDeletedTime: 1000 * 60 * 60 * 24 * 31, // one month, /** * The minimum amount of that that the RxCollection must have existed. * This ensures that at the initial page load, more important * tasks are not slowed down because a cleanup process is running. * [default=60 seconds] */ minimumCollectionAge: 1000 * 60, // 60 seconds /** * After the initial cleanup is done, * a new cleanup is started after [runEach] milliseconds * [default=5 minutes] */ runEach: 1000 * 60 * 5, // 5 minutes /** * If set to true, * RxDB will await all running replications * to not have a replication cycle running. * This ensures we do not remove deleted documents * when they might not have already been replicated. * [default=true] */ awaitReplicationsInSync: true, /** * If true, it will only start the cleanup * when the current instance is also the leader. * This ensures that when RxDB is used in multiInstance mode, * only one instance will start the cleanup. * [default=true] */ waitForLeadership: true } }); ","version":"Next","tagName":"h2"},{"title":"Calling cleanup manually","type":1,"pageTitle":"🧹 Cleanup","url":"/cleanup.html#calling-cleanup-manually","content":" You can manually run a cleanup per collection by calling RxCollection.cleanup(). /** * Manually run the cleanup with the * minimumDeletedTime from the cleanupPolicy. */ await myRxCollection.cleanup(); /** * Overwrite the minimumDeletedTime * be setting it explicitly (time in milliseconds) */ await myRxCollection.cleanup(1000); /** * Purge all deleted documents no * matter when they where deleted * by setting minimumDeletedTime to zero. */ await myRxCollection.cleanup(0); ","version":"Next","tagName":"h2"},{"title":"Using the cleanup plugin to empty a collection","type":1,"pageTitle":"🧹 Cleanup","url":"/cleanup.html#using-the-cleanup-plugin-to-empty-a-collection","content":" When you have a collection with documents and you want to empty it by purging all documents, the recommended way is to call myRxCollection.remove(). However, this will destroy the JavaScript class of the collection and stop all listeners and observables. Sometimes the better option might be to manually delete all documents and then use the cleanup plugin to purge the deleted documents: // delete all documents await myRxCollection.find().remove(); // purge all deleted documents await myRxCollection.cleanup(0); ","version":"Next","tagName":"h2"},{"title":"FAQ","type":1,"pageTitle":"🧹 Cleanup","url":"/cleanup.html#faq","content":" When does the cleanup run The cleanup cycles are optimized to run only when the database is idle and it is unlikely that another database interaction performance will be decreased in the meantime. For example, by default, the cleanup does not run in the first 60 seconds of the creation of a collection to ensure the initial page load of your website does not slow down. Also, we use mechanisms like the requestIdleCallback() API to improve the correct timing of the cleanup cycle. ","version":"Next","tagName":"h2"},{"title":"Capacitor Database - SQLite, RxDB and others","type":0,"sectionRef":"#","url":"/capacitor-database.html","content":"","keywords":"","version":"Next"},{"title":"Database Solutions for Capacitor","type":1,"pageTitle":"Capacitor Database - SQLite, RxDB and others","url":"/capacitor-database.html#database-solutions-for-capacitor","content":" ","version":"Next","tagName":"h2"},{"title":"Preferences API","type":1,"pageTitle":"Capacitor Database - SQLite, RxDB and others","url":"/capacitor-database.html#preferences-api","content":" Capacitor comes with a native Preferences API which is a simple, persistent key->value store for lightweight data, similar to the browsers localstorage or React Native AsyncStorage. To use it, you first have to install it from npm npm install @capacitor/preferences and then you can import it and write/read data. Notice that all calls to the preferences API are asynchronous so they return a Promise that must be await-ed. import { Preferences } from '@capacitor/preferences'; // write await Preferences.set({ key: 'foo', value: 'baar', }); // read const { value } = await Preferences.get({ key: 'foo' }); // > 'bar' // delete await Preferences.remove({ key: 'foo' }); The preferences API is good when only a small amount of data needs to be stored and when no query capabilities besides the key access are required. Complex queries or other features like indexes or replication are not supported which makes the preferences API not suitable for anything more than storing simple data like user settings. ","version":"Next","tagName":"h3"},{"title":"Localstorage/IndexedDB/WebSQL","type":1,"pageTitle":"Capacitor Database - SQLite, RxDB and others","url":"/capacitor-database.html#localstorageindexeddbwebsql","content":" Since Capacitor apps run in a web view, Web APIs like IndexedDB, Localstorage and WebSQL are available. But the default browser behavior is to clean up these storages regularly when they are not in use for a long time or the device is low on space. Therefore you cannot 100% rely on the persistence of the stored data and your application needs to expect that the data will be lost eventually. Storing data in these storages can be done in browsers, because there is no other option. But in Capacitor iOS and Android, you should not rely on these. ","version":"Next","tagName":"h3"},{"title":"SQLite","type":1,"pageTitle":"Capacitor Database - SQLite, RxDB and others","url":"/capacitor-database.html#sqlite","content":" SQLite is a SQL based relational database written in C that was crafted to be embed inside of applications. Operations are written in the SQL query language and SQLite generally follows the PostgreSQL syntax. To use SQLite in Capacitor, there are three options: The @capacitor-community/sqlite packageThe cordova-sqlite-storage packageThe non-free IonicSecure Storage which comes at 999$ per month. It is recommended to use the @capacitor-community/sqlite because it has the best maintenance and is open source. Install it first npm install --save @capacitor-community/sqlite and then set the storage location for iOS apps: { "plugins": { "CapacitorSQLite": { "iosDatabaseLocation": "Library/CapacitorDatabase" } } } Now you can create a database connection and use the SQLite database. import { Capacitor } from '@capacitor/core'; import { CapacitorSQLite, SQLiteDBConnection, SQLiteConnection, capSQLiteSet, capSQLiteChanges, capSQLiteValues, capEchoResult, capSQLiteResult, capNCDatabasePathResult } from '@capacitor-community/sqlite'; const sqlite = new SQLiteConnection(CapacitorSQLite); const database: SQLiteDBConnection = await this.sqlite.createConnection( databaseName, encrypted, mode, version, readOnly ); let { rows } = database.query('SELECT somevalue FROM sometable'); The downside of SQLite is that it is lacking many features that are handful when using a database together with an UI based application like your Capacitor app. For example it is not possible to observe queries or document fields. Also there is no realtime replication feature, you can only import json files. This makes SQLite a good solution when you just want to store data on the client, but when you want to sync data with a server or other clients or create big complex realtime applications, you have to use something else. ","version":"Next","tagName":"h3"},{"title":"RxDB","type":1,"pageTitle":"Capacitor Database - SQLite, RxDB and others","url":"/capacitor-database.html#rxdb","content":" RxDB is an local first, NoSQL database for JavaScript Applications like hybrid apps. Because it is reactive, you can subscribe to all state changes like the result of a query or even a single field of a document. This is great for UI-based realtime applications in a way that makes it easy to develop realtime applications like what you need in Capacitor. Because RxDB is made for Web applications, most of the available RxStorage plugins can be used to store and query data in a Capacitor app. However it is recommended to use the SQLite RxStorage because it stores the data on the filesystem of the device, not in the JavaScript runtime (like IndexedDB). Storing data on the filesystem ensures it is persistent and will not be cleaned up by any process. Also the performance of SQLite is much faster compared to IndexedDB, because SQLite does not have to go through a browsers permission layers. For the SQLite binding you should use the @capacitor-community/sqlite package. Because the SQLite RxStorage is part of the 👑 Premium Plugins which must be purchased, it is recommended to use the LocalStorage RxStorage while testing and prototyping your Capacitor app. To use the SQLite RxStorage in Capacitor you have to install all dependencies via npm install rxdb rxjs rxdb-premium @capacitor-community/sqlite. For iOS apps you should add a database location in your Capacitor settings: { "plugins": { "CapacitorSQLite": { "iosDatabaseLocation": "Library/CapacitorDatabase" } } } Then you can assemble the RxStorage and create a database with it: 1 Import RxDB and SQLite import { createRxDatabase } from 'rxdb/plugins/core'; import { CapacitorSQLite, SQLiteConnection } from '@capacitor-community/sqlite'; import { Capacitor } from '@capacitor/core'; const sqlite = new SQLiteConnection(CapacitorSQLite); 2 Import the RxDB SQLite Storage RxDB Core RxDB Premium 👑 import { getRxStorageSQLiteTrial, getSQLiteBasicsCapacitor } from 'rxdb/plugins/storage-sqlite'; 3 Create a Database with the Storage RxDB Core RxDB Premium 👑 // create database const myRxDatabase = await createRxDatabase({ name: 'exampledb', storage: getRxStorageSQLiteTrial({ sqliteBasics: getSQLiteBasicsCapacitor(sqlite, Capacitor) }) }); 4 Add a Collection // create collections const collections = await myRxDatabase.addCollections({ humans: { schema: { version: 0, type: 'object', primaryKey: 'id', properties: { id: { type: 'string', maxLength: 100 }, name: { type: 'string' }, age: { type: 'number' } }, required: ['id', 'name'] } } }); 5 Insert a Document await collections.humans.insert({id: 'foo', name: 'bar'}); 6 Run a Query const result = await collections.humans.find({ selector: { name: 'bar' } }).exec(); 7 Observe a Query await collections.humans.find({ selector: { name: 'bar' } }).$.subscribe(result => {/* ... */}); ","version":"Next","tagName":"h3"},{"title":"Follow up","type":1,"pageTitle":"Capacitor Database - SQLite, RxDB and others","url":"/capacitor-database.html#follow-up","content":" If you haven't done yet, you should start learning about RxDB with the Quickstart Tutorial.There is a followup list of other client side database alternatives. ","version":"Next","tagName":"h2"},{"title":"Data Migration","type":0,"sectionRef":"#","url":"/data-migration.html","content":"Data Migration This documentation page has been moved to here","keywords":"","version":"Next"},{"title":"Contribution","type":0,"sectionRef":"#","url":"/contribution.html","content":"","keywords":"","version":"Next"},{"title":"Requirements","type":1,"pageTitle":"Contribution","url":"/contribution.html#requirements","content":" Before you can start developing, do the following: Make sure you have installed nodejs with the version stated in the .nvmrcClone the repository git clone https://github.com/pubkey/rxdb.gitInstall the dependencies cd rxdb && npm installMake sure that the tests work for you. At first, try it out with npm run test:node:memory which tests the memory storage in node. In the package.json you can find more scripts to run the tests with different storages. ","version":"Next","tagName":"h2"},{"title":"Adding tests","type":1,"pageTitle":"Contribution","url":"/contribution.html#adding-tests","content":" Before you start creating a bugfix or a feature, you should create a test to reproduce it. Tests are in the test/unit-folder. If you want to reproduce a bug, you can modify the test in this file. ","version":"Next","tagName":"h2"},{"title":"Making a PR","type":1,"pageTitle":"Contribution","url":"/contribution.html#making-a-pr","content":" If you make a pull-request, ensure the following: Every feature or bugfix must be committed together with a unit-test which ensures everything works as expected.Do not commit build-files (anything in the dist-folder)Before you add non-trivial changes, create an issue to discuss if this will be merged and you don't waste your time.To run the unit and integration-tests, do npm run test and ensure everything works as expected ","version":"Next","tagName":"h2"},{"title":"Getting help","type":1,"pageTitle":"Contribution","url":"/contribution.html#getting-help","content":" If you need help with your contribution, ask at discord. ","version":"Next","tagName":"h2"},{"title":"No-Go","type":1,"pageTitle":"Contribution","url":"/contribution.html#no-go","content":" When reporting a bug, you need to make a PR with a test case that runs in the CI and reproduces your problem. Sending a link with a repo does not help the maintainer because installing random peoples projects is time consuming and dangerous. Also the maintainer will never go on a bug hunt based on your plain description. Either you report the bug with a test case, or the maintainer will likely not help you. Docs The source of the documentation is at the docs-src-folder. To read the docs locally, run npm run docs:install && npm run docs:serve and open http://localhost:4000/ Thank you for contributing! ","version":"Next","tagName":"h2"},{"title":"Dev Mode","type":0,"sectionRef":"#","url":"/dev-mode.html","content":"","keywords":"","version":"Next"},{"title":"Usage with Node.js","type":1,"pageTitle":"Dev Mode","url":"/dev-mode.html#usage-with-nodejs","content":" async function createDb() { if (process.env.NODE_ENV !== "production") { await import('rxdb/plugins/dev-mode').then( module => addRxPlugin(module.RxDBDevModePlugin) ); } const db = createRxDatabase( /* ... */ ); } ","version":"Next","tagName":"h2"},{"title":"Usage with Angular","type":1,"pageTitle":"Dev Mode","url":"/dev-mode.html#usage-with-angular","content":" import { isDevMode } from '@angular/core'; async function createDb() { if (isDevMode()){ await import('rxdb/plugins/dev-mode').then( module => addRxPlugin(module.RxDBDevModePlugin) ); } const db = createRxDatabase( /* ... */ ); // ... } ","version":"Next","tagName":"h2"},{"title":"Usage with webpack","type":1,"pageTitle":"Dev Mode","url":"/dev-mode.html#usage-with-webpack","content":" In the webpack.config.js: module.exports = { entry: './src/index.ts', /* ... */ plugins: [ // set a global variable that can be accessed during runtime new webpack.DefinePlugin({ MODE: JSON.stringify("production") }) ] /* ... */ }; In your source code: declare var MODE: 'production' | 'development'; async function createDb() { if (MODE === 'development') { await import('rxdb/plugins/dev-mode').then( module => addRxPlugin(module.RxDBDevModePlugin) ); } const db = createRxDatabase( /* ... */ ); // ... } ","version":"Next","tagName":"h2"},{"title":"Disable the dev-mode warning","type":1,"pageTitle":"Dev Mode","url":"/dev-mode.html#disable-the-dev-mode-warning","content":" When the dev-mode is enabled, it will print a console.warn() message to the console so that you do not accidentally use the dev-mode in production. To disable this warning you can call the disableWarnings() function. import { disableWarnings } from 'rxdb/plugins/dev-mode'; disableWarnings(); ","version":"Next","tagName":"h2"},{"title":"Disable the tracking iframe","type":1,"pageTitle":"Dev Mode","url":"/dev-mode.html#disable-the-tracking-iframe","content":" When used in localhost and in the browser, the dev-mode plugin can add a tracking iframe to the DOM. This is used to track the effectiveness of marketing efforts of RxDB. If you have premium access and want to disable this iframe, you can call setPremiumFlag() before creating the database. import { setPremiumFlag } from 'rxdb-premium/plugins/shared'; setPremiumFlag(); ","version":"Next","tagName":"h2"},{"title":"RxDB CRDT Plugin","type":0,"sectionRef":"#","url":"/crdt.html","content":"","keywords":"","version":"Next"},{"title":"RxDB CRDT operations","type":1,"pageTitle":"RxDB CRDT Plugin","url":"/crdt.html#rxdb-crdt-operations","content":" In RxDB, a CRDT operation is defined with NoSQL update operators, like you might know them from MongoDB update operations or the RxDB update plugin. To run the operators, RxDB uses the mingo library. A CRDT operator example: const myCRDTOperation = { // increment the points field by +1 $inc: { points: 1 }, // set the modified field to true $set: { modified: true } }; ","version":"Next","tagName":"h2"},{"title":"Operators","type":1,"pageTitle":"RxDB CRDT Plugin","url":"/crdt.html#operators","content":" At the moment, not all possible operators are implemented in mingo, if you need additional ones, you should make a pull request there. The following operators can be used at this point in time: $min$max$inc$set$unset$push$addToSet$pop$pullAll$rename For the exact definition on how each operator behaves, check out the MongoDB documentation on update operators. ","version":"Next","tagName":"h3"},{"title":"Installation","type":1,"pageTitle":"RxDB CRDT Plugin","url":"/crdt.html#installation","content":" To use CRDTs with RxDB, you need the following: Add the CRDT plugin via addRxPlugin.Add a field to your schema that defines where to store the CRDT operations via getCRDTSchemaPart()Set the crdt options in your schema.Do NOT set a custom conflict handler, the plugin will use its own one. // import the relevant parts from the CRDT plugin import { getCRDTSchemaPart, RxDBcrdtPlugin } from 'rxdb/plugins/crdt'; // add the CRDT plugin to RxDB import { addRxPlugin } from 'rxdb'; addRxPlugin(RxDBcrdtPlugin); // create a database import { createRxDatabase } from 'rxdb'; import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage'; const myDatabase = await createRxDatabase({ name: 'heroesdb', storage: getRxStorageLocalstorage() }); // create a schema with the CRDT options const mySchema = { version: 0, primaryKey: 'id', type: 'object', properties: { id: { type: 'string', maxLength: 100 }, points: { type: 'number', maximum: 100, minimum: 0 }, crdts: getCRDTSchemaPart() // use this field to store the CRDT operations }, required: ['id', 'points'], crdt: { // CRDT options field: 'crdts' } } // add a collection await db.addCollections({ users: { schema: mySchema } }); // insert a document const myDocument = await db.users.insert({id: 'alice', points: 0}); // run a CRDT operation that increments the 'points' by one await myDocument.updateCRDT({ ifMatch: { $inc: { points: 1 } } }); ","version":"Next","tagName":"h2"},{"title":"Conditional CRDT operations","type":1,"pageTitle":"RxDB CRDT Plugin","url":"/crdt.html#conditional-crdt-operations","content":" By default, all CRDTs operations will be run to build the current document state. But in many cases, more granular operations are required to better reflect the desired business logic. For these cases, conditional CRDTs can be used. For example if you have a field points with a maximum of 100, you might want to only run the $inc operation, if the points value is less than 100. In an conditional CRDT, you can specify a selector and the operation sets ifMatch and ifNotMatch. At each time the CRDT is applied to the document state, first the selector will run and evaluate which operations path must be used. await myDocument.updateCRDT({ // only if the selector matches, the ifMatch operation will run selector: { age: { $lt: 100 } }, // an operation that runs if the selector matches ifMatch: { $inc: { points: 1 } }, // if the selector does NOT match, you could run a different operation instead ifNotMatch: { // ... } }); ","version":"Next","tagName":"h2"},{"title":"Running multiples operations at once","type":1,"pageTitle":"RxDB CRDT Plugin","url":"/crdt.html#running-multiples-operations-at-once","content":" By default, one CRDT operation is applied to the document in a single database write. To represent more complex logic chains, it might make sense to use multiple CRDTs and write them at once inside of a single atomic document write. For these cases, the updateCRDT() method allows to pass an array of operations. await myDocument.updateCRDT([ { selector: { /** ... **/ }, ifMatch: { /** ... **/ } }, { selector: { /** ... **/ }, ifMatch: { /** ... **/ } }, { selector: { /** ... **/ }, ifMatch: { /** ... **/ } }, { selector: { /** ... **/ }, ifMatch: { /** ... **/ } } ]); ","version":"Next","tagName":"h2"},{"title":"CRDTs on inserts","type":1,"pageTitle":"RxDB CRDT Plugin","url":"/crdt.html#crdts-on-inserts","content":" When CRDTs are enabled with the plugin, all insert operations are automatically mapped as CRDT operation with the $set operator. // Calling RxCollection.insert() await myRxCollection.insert({ id: 'foo' points: 1 }); // is exactly equal to calling insertCRDT() await myRxCollection.insertCRDT({ ifMatch: { $set: { id: 'foo' points: 1 } } }); When the same document is inserted in multiple client instances and then replicated, a conflict will emerge and the insert-CRDTs will overwrite each other in a deterministic order. You can use insertCRDT() to make conditional insert operations with any logic. To check for the previous existence of a document, use the $exists query operation on the primary key of the document. await myRxCollection.insertCRDT({ selector: { // only run if the document did not exist before. id: { $exists: false } }, ifMatch: { // if the document did not exist, insert it $set: { id: 'foo' points: 1 } }, ifNotMatch: { // if document existed already, increment the points by +1 $inc: { points: 1 } } }); ","version":"Next","tagName":"h2"},{"title":"Deleting documents","type":1,"pageTitle":"RxDB CRDT Plugin","url":"/crdt.html#deleting-documents","content":" You can delete a document with a CRDT operation by setting _deleted to true. Calling RxDocument.remove() will do exactly the same when CRDTs are activated. await doc.updateCRDT({ ifMatch: { $set: { _deleted: true } } }); // OR await doc.remove(); ","version":"Next","tagName":"h2"},{"title":"CRDTs with replication","type":1,"pageTitle":"RxDB CRDT Plugin","url":"/crdt.html#crdts-with-replication","content":" CRDT operations are stored inside of a special field besides your 'normal' document fields. When replicating document data with the RxDB replication or the CouchDB replication or even any custom replication, the CRDT operations must be replicated together with the document data as if they would be 'normal' a document property. When any instances makes a write to the document, it is required to update the CRDT operations accordingly. For example if your custom backend updates a document, it must also do that by adding a CRDT operation. In dev-mode RxDB will refuse to store any document data where the document properties do not match the result of the CRDT operations. ","version":"Next","tagName":"h2"},{"title":"Why not automerge.js or yjs?","type":1,"pageTitle":"RxDB CRDT Plugin","url":"/crdt.html#why-not-automergejs-or-yjs","content":" There are already CRDT libraries out there that have been considered to be used with RxDB. The biggest ones are automerge and yjs. The decision was made to not use these but instead go for a more NoSQL way of designing the CRDT format because: Users do not have to learn a new syntax but instead can use the NoSQL query operations which they already know to manipulate the JSON data of a document.RxDB is often used to replicate data with any custom backend on an already existing infrastructure. Using NoSQL operators instead of binary data in CRDTs, makes it easy to implement the exact same logic on these backends so that the backend can also do document writes and still be compliant to the RxDB CRDT plugin. So instead of using YJS or Automerge with a database, you can use RxDB with the CRDT plugin to have a more database specific CRDT approach. This gives you additional features for free such as schema validation or data migration. ","version":"Next","tagName":"h2"},{"title":"When to not use CRDTs","type":1,"pageTitle":"RxDB CRDT Plugin","url":"/crdt.html#when-to-not-use-crdts","content":" CRDT can only be use when your business logic allows to represent document changes via static json operators. If you can have cases where user interaction is required to correctly merge conflicting document states, you cannot use CRDTs for that. Also when CRDTs are used, it is no longer allowed to do non-CRDT writes to the document properties. ","version":"Next","tagName":"h2"},{"title":"CRDT Alternative","type":1,"pageTitle":"RxDB CRDT Plugin","url":"/crdt.html#crdt-alternative","content":" While the CRDT plugin can automatically merge concurrent document updates, it is not the only way to resolve conflicts in RxDB. An alternative approach to CRDT is to use RxDB's built-in conflict handling system. Why use conflict handlers instead of CRDT? Conflict handlers offer a simpler and more flexible way to manage data conflicts. Instead of encoding changes as CRDT operations, you define how RxDB should decide which document version "wins" with plain JavaScript code. This approach is easier to reason about because it works directly with your domain logic. For example, you can compare timestamps, prioritize certain fields, or even involve user interaction to resolve conflicts. Conflict handlers are: Easier to understand: you work with plain document states instead of CRDT operations.Fully customizable: you can define any merge strategy, from simple last-write-wins to complex rule-based logic.Compatible with all data types: unlike CRDTs, which are best suited for numeric or set-based updates.Transparent: you always know which state is being written and why. ","version":"Next","tagName":"h2"},{"title":"Downsides of CRDTs","type":1,"pageTitle":"RxDB CRDT Plugin","url":"/crdt.html#downsides-of-crdts","content":" CRDTs are powerful for automatic conflict-free merging, but they also come with trade-offs: Higher conceptual complexity: CRDTs require understanding of operation semantics, version vectors, and merge determinism.Limited flexibility: you can only express changes that fit the supported JSON-style update operators.Difficult debugging: when merges don't behave as expected, it can be hard to trace the sequence of CRDT operations that led to a state.Overhead for simple cases: if your data rarely conflicts or needs human oversight, using CRDTs can add unnecessary complexity. ","version":"Next","tagName":"h3"},{"title":"When to choose conflict handlers","type":1,"pageTitle":"RxDB CRDT Plugin","url":"/crdt.html#when-to-choose-conflict-handlers","content":" Use conflict handlers as CRDT alternative if: You want full control over merge logic.Your data model includes contextual or user-specific decisions.You prefer a straightforward, rule-based resolution system over automatic merges. Use CRDTs if: Your app performs frequent offline writes that can be merged deterministically.Your data can be represented as additive, numeric, or array-based updates.You want minimal manual intervention during replication. Both methods are first-class citizens in RxDB. CRDTs focus on automatic, deterministic merging, while conflict handlers emphasize clarity, flexibility, and control. ","version":"Next","tagName":"h3"},{"title":"Example: merging different fields with conflict handlers instead of CRDT","type":1,"pageTitle":"RxDB CRDT Plugin","url":"/crdt.html#example-merging-different-fields-with-conflict-handlers-instead-of-crdt","content":" For example, imagine two users edit different fields of the same document at the same time. One updates a name, the other updates a score. A custom conflict handler can merge both changes so no data is lost: const mergeFieldsHandler = { isEqual: (a, b) => JSON.stringify(a) === JSON.stringify(b), resolve: (input) => { return { ...input.realMasterState, name: input.newDocumentState.name ?? input.realMasterState.name, score: Math.max(input.newDocumentState.score, input.realMasterState.score) }; } }; In this example, if the two versions change different properties, the final merged document includes both updates. This kind of logic is often easier to reason about than designing equivalent CRDT operations. ","version":"Next","tagName":"h3"},{"title":"Electron Plugin","type":0,"sectionRef":"#","url":"/electron.html","content":"","keywords":"","version":"Next"},{"title":"RxStorage Electron IpcRenderer & IpcMain","type":1,"pageTitle":"Electron Plugin","url":"/electron.html#rxstorage-electron-ipcrenderer--ipcmain","content":" To use RxDB in electron, it is recommended to run the RxStorage in the main process and the RxDatabase in the renderer processes. With the rxdb electron plugin you can create a remote RxStorage and consume it from the renderer process. To do this in a convenient way, the RxDB electron plugin provides the helper functions exposeIpcMainRxStorage and getRxStorageIpcRenderer. Similar to the Worker RxStorage, these wrap any other RxStorage once in the main process and once in each renderer process. In the renderer you can then use the storage to create a RxDatabase which communicates with the storage of the main process to store and query data. note nodeIntegration must be enabled in Electron. // main.js const { exposeIpcMainRxStorage } = require('rxdb/plugins/electron'); const { getRxStorageMemory } = require('rxdb/plugins/storage-memory'); app.on('ready', async function () { exposeIpcMainRxStorage({ key: 'main-storage', storage: getRxStorageMemory(), ipcMain: electron.ipcMain }); }); // renderer.js const { getRxStorageIpcRenderer } = require('rxdb/plugins/electron'); const { getRxStorageMemory } = require('rxdb/plugins/storage-memory'); const db = await createRxDatabase({ name, storage: getRxStorageIpcRenderer({ key: 'main-storage', ipcRenderer: electron.ipcRenderer }) }); /* ... */ ","version":"Next","tagName":"h2"},{"title":"Related","type":1,"pageTitle":"Electron Plugin","url":"/electron.html#related","content":" Comparison of Electron Databases ","version":"Next","tagName":"h2"},{"title":"Downsides of Local First / Offline First","type":0,"sectionRef":"#","url":"/downsides-of-offline-first.html","content":"","keywords":"","version":"Next"},{"title":"It only works with small datasets","type":1,"pageTitle":"Downsides of Local First / Offline First","url":"/downsides-of-offline-first.html#it-only-works-with-small-datasets","content":" Making data available offline means it must be loaded from the server and then stored at the clients device. You need to load the full dataset on the first pageload and on every ongoing load you need to download the new changes to that set. While in theory you could download in infinite amount of data, in practice you have a limit how long the user can wait before having an up-to-date state. You want to display chat messages like Whatsapp? No problem. Syncing all the messages a user could write, can be done with a few HTTP requests. Want to make a tool that displays server logs? Good luck downloading terabytes of data to the client just to search for a single string. This will not work. Besides the network usage, there is another limit for the size of your data. In browsers you have some options for storage: Cookies, Localstorage, WebSQL and IndexedDB. Because Cookies and Localstorage is slow and WebSQL is deprecated, you will use IndexedDB. The limit of how much data you can store in IndexedDB depends on two factors: Which browser is used and how much disc space is left on the device. You can assume that at least a couple of hundred megabytes are available at least. The maximum is potentially hundreds of gigabytes or more, but the browser implementations vary. Chrome allows the browser to use up to 60% of the total disc space per origin. Firefox allows up to 50%. But on safari you can only store up to 1GB and the browser will prompt the user on each additional 200MB increment. The problem is, that you have no chance to really predict how much data can be stored. So you have to make assumptions that are hopefully true for all of your users. Also, you have no way to increase that space like you would add another hard drive to your backend server. Once your clients reach the limit, you likely have to rewrite big parts of your applications. UPDATE (2023): Newer versions of browsers can store way more data, for example firefox stores up to 10% of the total disk size. For an overview about how much can be stored, read this guide ","version":"Next","tagName":"h2"},{"title":"Browser storage is not really persistent","type":1,"pageTitle":"Downsides of Local First / Offline First","url":"/downsides-of-offline-first.html#browser-storage-is-not-really-persistent","content":" When data is stored inside IndexedDB or one of the other storage APIs, it cannot be trusted to stay there forever. Apple for example deletes the data when the website was not used in the last 7 days. The other browsers also have logic to clean up the stored data, and in the end the user itself could be the one that deletes the browsers local data. The most common way to handle this, is to replicate everything from the backend to the client again. Of course, this does not work for state that is not stored at the backend. So if you assume you can store the users private data inside the browser in a secure way, you are wrong. ","version":"Next","tagName":"h2"},{"title":"There can be conflicts","type":1,"pageTitle":"Downsides of Local First / Offline First","url":"/downsides-of-offline-first.html#there-can-be-conflicts","content":" Imagine two of your users modify the same JSON document, while both are offline. After they go online again, their clients replicate the modified document to the server. Now you have two conflicting versions of the same document, and you need a way to determine how the correct new version of that document should look like. This process is called conflict resolution. The default in many offline first databases is a deterministic conflict resolution strategy. Both conflicting versions of the document are kept in the storage and when you query for the document, a winner is determined by comparing the hashes of the document and only the winning document is returned. Because the comparison is deterministic, all clients and servers will always pick the same winner. This kind of resolution only works when it is not that important that one of the document changes gets dropped. Because conflicts are rare, this might be a viable solution for some use cases. A better resolution can be applied by listening to the changestream of the database. The changestream emits an event each time a write happens to the database. The event contains information about the written document and also a flag if there is a conflicting version. For each event with a conflict, you fetch all versions for that document and create a new document that contains the winning state. With that you can implement pretty complex conflict resolution strategies, but you have to manually code it for each collection of documents. Instead of the solving conflict once at every client, it can be made a bit easier by solely relying on the backend. This can be done when all of your clients replicate with the same single backend server. With RxDB's Graphql Replication each client side change is sent to the server where conflicts can be resolved and the winning document can be sent back to the clients. Sometimes there is no way to solve a conflict with code. If your users edit text based documents or images, often only the users themselves can decide how the winning revision has to look. For these cases, you have to implement complex UI parts where the users can inspect the conflict and manage its resolution. You do not have to handle conflicts if they cannot happen in the first place. You can achieve that by designing a write only database where existing documents cannot be touched. Instead of storing the current state in a single document, you store all the events that lead to the current state. Sometimes called the "everything is a delta" strategy, others would call it Event Sourcing. Like an accountant that does not need an eraser, you append all changes and afterwards aggregate the current state at the client. // create one new document for each change to the users balance {id: new Date().toJSON(), change: 100} // balance increased by $100 {id: new Date().toJSON(), change: -50} // balance decreased by $50 {id: new Date().toJSON(), change: 200} // balance increased by $200 There is this thing called conflict-free replicated data type, short CRDT. Using a CRDT library like automerge will magically solve all of your conflict problems. Until you use it in production where you observe that implementing CRDTs has basically the same complexity as implementing conflict resolution strategies. ","version":"Next","tagName":"h2"},{"title":"Realtime is a lie","type":1,"pageTitle":"Downsides of Local First / Offline First","url":"/downsides-of-offline-first.html#realtime-is-a-lie","content":" So you replicate stuff between the clients and your backend. Each change on one side directly changes the state of the other sides in realtime. But this "realtime" is not the same as in realtime computing. In the offline first world, the word realtime was introduced by firebase and is more meant as a marketing slogan than a technical description. There is an internet between your backend and your clients and everything you do on one machine takes at least once the latency until it can affect anything on the other machines. You have to keep this in mind when you develop anything where the timing is important, like a multiplayer game or a stock trading app. Even when you run a query against the local database, there is no "real" realtime. Client side databases run on JavaScript and JavaScript runs on a single CPU that might be partially blocked because the user is running some background processes. So you can never guarantee a response deadline which violates the time constraint of realtime computing. ","version":"Next","tagName":"h2"},{"title":"Eventual consistency","type":1,"pageTitle":"Downsides of Local First / Offline First","url":"/downsides-of-offline-first.html#eventual-consistency","content":" An offline first app does not have a single source of truth. There is a source on the backend, one on the own client, and also each other client has its own definition of truth. At the moment your user starts the app, the local state is hopefully already replicated with the backend and all other clients. But this does not have to be true, the states can have converged and you have to plan for that. The user could update a document based on wrong assumptions because it was not fully replicated at that point in time because the user is offline. A good way to handle this problem is to show the replication state in the UI and tell the user when the replication is running, stopped, paused or finished. And some data is just too important to be "eventual consistent". Create a wire transfer in your online banking app while you are offline. You keep the smartphone laying at your night desk and when you use again in the next morning, it goes online and replicates the transaction. No thank you, do not use offline first for these kinds of things, or at least you have to display the replication state of each document in the UI. ","version":"Next","tagName":"h2"},{"title":"Permissions and authentication","type":1,"pageTitle":"Downsides of Local First / Offline First","url":"/downsides-of-offline-first.html#permissions-and-authentication","content":" Every offline first app that goes beyond a prototype, does likely not have the same global state for all of its users. Each user has a different set of documents that are allowed to be replicated or seen by the user. So you need some kind of authentication and permission handling to divide the documents. The easy way is to just create one database for each user on the backend and only allow to replicate that one. Creating that many databases is not really a problem with for example CouchDB, and it makes permission handling easy. But as soon as you want to query all of your data in the backend, it will bite back. Your data is not at a single place, it is distributed between all of the user specific databases. This becomes even more complex as soon as you store information together with the documents that is not allowed to be seen by outsiders. You not only have to decide which documents to replicate, but also which fields of them. So what you really want is a single datastore in the backend and then replicate only the allowed document parts to each of the users. This always requires you to implement your custom replication endpoint like what you do with RxDBs GraphQL Replication. ","version":"Next","tagName":"h2"},{"title":"You have to migrate the client database","type":1,"pageTitle":"Downsides of Local First / Offline First","url":"/downsides-of-offline-first.html#you-have-to-migrate-the-client-database","content":" While developing your app, sooner or later you want to change the data layout. You want to add some new fields to documents or change the format of them. So you have to update the database schema and also migrate the stored documents. With 'normal' applications, this is already hard enough and often dangerous. You wait until midnight, stop the webserver, make a database backup, deploy the new schema and then you hope that nothing goes wrong while it updates that many documents. With offline first applications, it is even more fun. You do not only have to migrate your local backend database, you also have to provide a migration strategy for all of these client databases out there. And you also cannot migrate everything at the same time. The clients can only migrate when the new code was updated from the appstore or the user visited your website again. This could be today or in a few weeks. ","version":"Next","tagName":"h2"},{"title":"Performance is not native","type":1,"pageTitle":"Downsides of Local First / Offline First","url":"/downsides-of-offline-first.html#performance-is-not-native","content":" When you create a web based offline first app, you cannot store data directly on the users filesystem. In fact there are many layers between your JavaScript code and the filesystem of the operation system. Let's say you insert a document in RxDB: You call the RxDB API to validate and store the dataRxDB calls the underlying RxStorage, for example PouchDB.Pouchdb calls its underlying storage adapterThe storage adapter calls IndexedDBThe browser runs its internal handling of the IndexedDB APIIn most browsers IndexedDB is implemented on top of SQLiteSQLite calls the OS to store the data in the filesystem All these layers are abstractions. They are not build for exactly that one use case, so you lose some performance to tunnel the data through the layer itself, and you also lose some performance because the abstraction does not exactly provide the functions that are needed by the layer above and it will overfetch data. You will not find a benchmark comparison between how many transactions per second you can run on the browser compared to a server based database. Because it makes no sense to compare them. Browsers are slower, JavaScript is slower. Is it fast enough? What you really care about is "Is it fast enough?". For most use cases, the answer is yes. Offline first apps are UI based and you do not need to process a million transactions per second, because your user will not click the save button that often. "Fast enough" means that the data is processed in under 16 milliseconds so that you can render the updated UI in the next frame. This is of course not true for all use cases, so you better think about the performance limit before starting with the implementation. ","version":"Next","tagName":"h2"},{"title":"Nothing is predictable","type":1,"pageTitle":"Downsides of Local First / Offline First","url":"/downsides-of-offline-first.html#nothing-is-predictable","content":" You have a PostgreSQL database and run a query over 1000ths of rows, which takes 200 milliseconds. Works great, so you now want to do something similar at the client device in your offline first app. How long does it take? You cannot know because people have different devices, and even equal devices have different things running in the background that slow the CPUs. So you cannot predict performance and as described above, you cannot even predict the storage limit. So if your app does heavy data analytics, you might better run everything on the backend and just send the results to the client. ","version":"Next","tagName":"h2"},{"title":"There is no relational data","type":1,"pageTitle":"Downsides of Local First / Offline First","url":"/downsides-of-offline-first.html#there-is-no-relational-data","content":" I started creating RxDB many years ago and while still maintaining it, I often worked with all these other offline first databases out there. RxDB and all of these other ones, are based on some kind of document databases similar to NoSQL. Often people want to have a relational database like the SQL one they use at the backend. So why are there no real relations in offline first databases? I could answer with these arguments like how JavaScript works better with document based data, how performance is better when having no joins or even how NoSQL queries are more composable. But the truth is, everything is NoSQL because it makes replication easy. An SQL query that mutates data in different tables based on some selects and joins, cannot be partially replicated without breaking the client. You have foreign keys that point to other rows and if these rows are not replicated yet, you have a problem. To implement a robust Sync Engine for relational data, you need some stuff like a reliable atomic clock and you have to block queries over multiple tables while a transaction replicated. Watch this guy implementing offline first replication on top of SQLite or read this discussion about implementing offline first in supabase. So creating replication for an SQL offline first database is way more work than just adding some network protocols on top of PostgreSQL. It might not even be possible for clients that have no reliable clock. ","version":"Next","tagName":"h2"},{"title":"Electron Database - RxDB with different storage for SQLite, Filesystem and In-Memory","type":0,"sectionRef":"#","url":"/electron-database.html","content":"","keywords":"","version":"Next"},{"title":"Databases for Electron","type":1,"pageTitle":"Electron Database - RxDB with different storage for SQLite, Filesystem and In-Memory","url":"/electron-database.html#databases-for-electron","content":" An Electron runtime can be divided into two parts: The "main" process which is a Node.js JavaScript process that runs without a UI in the background.One or multiple "renderer" processes that consist of a Chrome browser engine and runs the user interface. Each renderer process represents one "browser tab". This is important to understand because choosing the right database depends on your use case and on which of these JavaScript runtimes you want to keep the data. ","version":"Next","tagName":"h2"},{"title":"Server Side Databases in Electron.js","type":1,"pageTitle":"Electron Database - RxDB with different storage for SQLite, Filesystem and In-Memory","url":"/electron-database.html#server-side-databases-in-electronjs","content":" Because Electron runs on a desktop computer, you might think that it should be possible to use a common "server" database like MySQL, PostgreSQL or MongoDB. In theory, you could ship the correct database server binaries with your electron application and start a process on the client's device that exposes a port to the database that can be consumed by Electron. In practice, this is not a viable way to go because shipping the correct binaries and opening ports is way to complicated and troublesome. Instead you should use a database that can be bundled and run inside of Electron, either in the main or in the renderer process. ","version":"Next","tagName":"h3"},{"title":"Localstorage / IndexedDB / WebSQL as alternatives to SQLite in Electron","type":1,"pageTitle":"Electron Database - RxDB with different storage for SQLite, Filesystem and In-Memory","url":"/electron-database.html#localstorage--indexeddb--websql-as-alternatives-to-sqlite-in-electron","content":" Because Electron uses a common Chrome web browser in the renderer process, you can access the common Web Storage APIs like Localstorage, IndexedDB and WebSQL. This is easy to set up and storing small sets of data can be achieved in a short span of time. But as soon as your application goes beyond a simple todo-app, there are multiple obstacles that come in your way. One thing is the bad multi-tab support. If you have more than one renderer process, it becomes hard to manage database writes between them. Each browser tab could modify the database state while the others do not know of the changes and keep an outdated UI. Another thing is performance. IndexedDB is slow, mostly because it has to go through layers of browser security and abstractions. Storing and querying a lot of data might become your performance bottleneck. Localstorage and WebSQL are even slower, by the way. Using these Web Storage APIs is generally only recommended when you know for sure that there will be always only one rendering process and performance is not that relevant. The main reason for that is the security- and abstraction layers that write- and read operations have to go through when using the browsers IndexedDB API. So instead of using IndexedDB in Electron in the renderer process, you should use something that runs in the "main" process in Node.js like the Filesystem RxStorage or the In Memory RxStorage. ","version":"Next","tagName":"h3"},{"title":"RxDB","type":1,"pageTitle":"Electron Database - RxDB with different storage for SQLite, Filesystem and In-Memory","url":"/electron-database.html#rxdb","content":" RxDB is a NoSQL database for JavaScript applications. It has many features that come in handy when RxDB is used with UI based applications like your Electron app. For example, it is able to subscribe to query results of single fields of documents. It has encryption and compression features and most important it has a battle tested Sync Engine that can be used to do a realtime sync with your backend. Because of the flexible storage layer of RxDB, there are many options on how to use it with Electron: The memory RxStorage that stores the data inside of the JavaScript memory without persistenceThe SQLite RxStorageThe IndexedDB RxStorageThe LocalStorage RxStorageThe Dexie.js RxStorageThe Node.js Filesystem It is recommended to use the SQLite RxStorage because it has the best performance and is the easiest to set up. However it is part of the 👑 Premium Plugins which must be purchased, so to try out RxDB with Electron, you might want to use one of the other options. To start with RxDB, I would recommend using the LocalStorage RxStorage in the renderer processes. Because RxDB is able to broadcast the database state between browser tabs, having multiple renderer processes is not a problem like it would be when you use plain IndexedDB without RxDB. In production, you would always run the RxStorage in the main process with the RxStorage Electron IpcRenderer & IpcMain plugins. First, you have to install all dependencies via npm install rxdb rxjs. Then you can assemble the RxStorage and create a database with it: import { createRxDatabase } from 'rxdb'; import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage'; // create database const db = await createRxDatabase({ name: 'exampledb', storage: getRxStorageLocalstorage() }); // create collections const collections = await myRxDatabase.addCollections({ humans: { /* ... */ } }); // insert document await collections.humans.insert({id: 'foo', name: 'bar'}); // run a query const result = await collections.humans.find({ selector: { name: 'bar' } }).exec(); // observe a query await collections.humans.find({ selector: { name: 'bar' } }).$.subscribe(result => {/* ... */}); For better performance in the renderer tab, you can later switch to the IndexedDB RxStorage. But in production, it is recommended to use the SQLite RxStorage or the Filesystem RxStorage in the main process so that database operations do not block the rendering of the UI. To learn more about using RxDB with Electron, you might want to check out this example project. ","version":"Next","tagName":"h3"},{"title":"SQLite in Electron.js without RxDB","type":1,"pageTitle":"Electron Database - RxDB with different storage for SQLite, Filesystem and In-Memory","url":"/electron-database.html#sqlite-in-electronjs-without-rxdb","content":" SQLite is a SQL based relational database written in the C programming language that was crafted to be embedded inside of applications and stores data locally. Operations are written in the SQL query language similar to the PostgreSQL syntax. Using SQLite in Electron is not possible in the renderer process, only in the main process. To communicate data operations between your main and your renderer processes, you have to use either @electron/remote (not recommended) or the ipcRenderer (recommended). So you start up SQLite in your main process and whenever you want to read or write data, you send the SQL queries to the main process and retrieve the result back as JSON data. To install SQLite, use the SQLite3 package which is a native Node.js module. You also need the @electron/rebuild package to rebuild the SQLite module against the currently installed Electron version. Install them with npm install sqlite3 @electron/rebuild. Then you can rebuild SQLite with ./node_modules/.bin/electron-rebuild -f -w sqlite3In the JavaScript code of your main process you can now create a database: const sqlite3 = require('sqlite3'); const db = new sqlite3.Database('/path/to/database/file.db'); // create a table and insert a row db.serialize(() => { db.run("CREATE TABLE Users (name, lastName)"); db.run("INSERT INTO Users VALUES (?, ?)", ['foo', 'bar']); }); Also you have to set up the ipcRenderer so that message from the renderer process are handled: ipcMain.handle('db-query', async (event, sqlQuery) => { return new Promise(res => { db.all(sqlQuery, (err, rows) => { res(rows); }); }); }); In your renderer process, you can now call the ipcHandler and fetch data from SQLite: const rows = await ipcRenderer.invoke('db-query', "SELECT * FROM Users"); The downside of SQLite (or SQL in general) is that it is lacking many features that are handful when using a database together with UI based applications. It is not possible to observe queries or document fields and there is no replication method to sync data with a server. This makes SQLite a good solution when you just want to store data on the client or process expensive SQL queries on the server, but it is not suitable for more complex operations like two-way replication, encryption, compression and so on. Also developer helpers like TypeScript type safety are totally out of reach. ","version":"Next","tagName":"h3"},{"title":"Follow up","type":1,"pageTitle":"Electron Database - RxDB with different storage for SQLite, Filesystem and In-Memory","url":"/electron-database.html#follow-up","content":" Learn how to use RxDB as database in electron with the Quickstart Tutorial.Check out the RxDB Electron exampleThere is a followup list of other client side database alternatives that you can try to use with Electron. ","version":"Next","tagName":"h2"},{"title":"🔒 Encrypted Local Storage with RxDB","type":0,"sectionRef":"#","url":"/encryption.html","content":"","keywords":"","version":"Next"},{"title":"Querying encrypted data","type":1,"pageTitle":"🔒 Encrypted Local Storage with RxDB","url":"/encryption.html#querying-encrypted-data","content":" RxDB handles the encryption and decryption of data internally. This means that when you work with a RxDocument, you can access the properties of the document just like you would with normal, unencrypted data. RxDB automatically decrypts the data for you when you retrieve it, making it transparent to your application code. This means the encryption works with all RxStorage like SQLite, IndexedDB, OPFS and so on. However, there's a limitation when it comes to querying encrypted fields. Encrypted fields cannot be used as operators in queries. This means you cannot perform queries like "find all documents where the encrypted field equals a certain value." RxDB does not expose the encrypted data in a way that allows direct querying based on the encrypted content. To filter or search for documents based on the contents of encrypted fields, you would need to first decrypt the data and then perform the query, which might not be efficient or practical in some cases. You could however use the memory mapped RxStorage to replicate the encrypted documents into a non-encrypted in-memory storage and then query them like normal. ","version":"Next","tagName":"h2"},{"title":"Password handling","type":1,"pageTitle":"🔒 Encrypted Local Storage with RxDB","url":"/encryption.html#password-handling","content":" RxDB does not define how you should store or retrieve the encryption password. It only requires you to provide the password on database creation which grants you flexibility in how you manage encryption passwords. You could ask the user on app-start to insert the password, or you can retrieve the password from your backend on app start (or revoke access by no longer providing the password). ","version":"Next","tagName":"h2"},{"title":"Asymmetric encryption","type":1,"pageTitle":"🔒 Encrypted Local Storage with RxDB","url":"/encryption.html#asymmetric-encryption","content":" The encryption plugin itself uses symmetric encryption with a password to guarantee best performance when reading and storing data. It is not able to do Asymmetric encryption by itself. If you need Asymmetric encryption with a private/publicKey, it is recommended to encrypted the password itself with the asymmetric keys and store the encrypted password beside the other data. On app-start you can decrypt the password with the private key and use the decrypted password in the RxDB encryption plugin ","version":"Next","tagName":"h2"},{"title":"Using the RxDB Encryption Plugins","type":1,"pageTitle":"🔒 Encrypted Local Storage with RxDB","url":"/encryption.html#using-the-rxdb-encryption-plugins","content":" RxDB currently has two plugins for encryption: The free encryption-crypto-js plugin that is based on the AES algorithm of the crypto-js libraryThe 👑 premiumencryption-web-crypto plugin that is based on the native Web Crypto API which makes it faster and more secure to use. Document inserts are about 10x faster compared to crypto-js and it has a smaller build size because it uses the browsers API instead of bundling an npm module. An RxDB encryption plugin is a wrapper around any other RxStorage. 1 Wrap your RxStorage with the encryption import { wrappedKeyEncryptionCryptoJsStorage } from 'rxdb/plugins/encryption-crypto-js'; import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage'; // wrap the normal storage with the encryption plugin const encryptedStorage = wrappedKeyEncryptionCryptoJsStorage({ storage: getRxStorageLocalstorage() }); 2 Create a RxDatabase with the wrapped storage Also you have to set a password when creating the database. The format of the password depends on which encryption plugin is used. import { createRxDatabase } from 'rxdb/plugins/core'; // create an encrypted database const db = await createRxDatabase({ name: 'mydatabase', storage: encryptedStorage, password: 'sudoLetMeIn' }); 3 Create an RxCollection with an encrypted property To define a field as being encrypted, you have to add it to the encrypted fields list in the schema. const schema = { version: 0, primaryKey: 'id', type: 'object', properties: { id: { type: 'string', maxLength: 100 }, secret: { type: 'string' }, }, required: ['id'] encrypted: ['secret'] }; await db.addCollections({ myDocuments: { schema } }) ","version":"Next","tagName":"h2"},{"title":"Using Web-Crypto API","type":1,"pageTitle":"🔒 Encrypted Local Storage with RxDB","url":"/encryption.html#using-web-crypto-api","content":" For professionals, we have the web-crypto👑 premium plugin which is faster and more secure: import { wrappedKeyEncryptionWebCryptoStorage, createPassword } from 'rxdb-premium/plugins/encryption-web-crypto'; import { getRxStorageIndexedDB } from 'rxdb-premium/plugins/storage-indexeddb'; // wrap the normal storage with the encryption plugin const encryptedIndexedDbStorage = wrappedKeyEncryptionWebCryptoStorage({ storage: getRxStorageIndexedDB() }); const myPasswordObject = { // Algorithm can be oneOf: 'AES-CTR' | 'AES-CBC' | 'AES-GCM' algorithm: 'AES-CTR', password: 'myRandomPasswordWithMin8Length' }; // create an encrypted database const db = await createRxDatabase({ name: 'mydatabase', storage: encryptedIndexedDbStorage, password: myPasswordObject }); /* ... */ ","version":"Next","tagName":"h2"},{"title":"Changing the password","type":1,"pageTitle":"🔒 Encrypted Local Storage with RxDB","url":"/encryption.html#changing-the-password","content":" The password is set database specific and it is not possible to change the password of a database. Opening an existing database with a different password will throw an error. To change the password you can either: Use the storage migration plugin to migrate the database state into a new database.Store a randomly created meta-password in a different RxDatabase as a value of a local document. Encrypt the meta password with the actual user password and read it out before creating the actual database. ","version":"Next","tagName":"h2"},{"title":"Encrypted attachments","type":1,"pageTitle":"🔒 Encrypted Local Storage with RxDB","url":"/encryption.html#encrypted-attachments","content":" To store the attachments data encrypted, you have to set encrypted: true in the attachments property of the schema. const mySchema = { version: 0, type: 'object', properties: { /* ... */ }, attachments: { encrypted: true // if true, the attachment-data will be encrypted with the db-password } }; ","version":"Next","tagName":"h2"},{"title":"Encryption and workers","type":1,"pageTitle":"🔒 Encrypted Local Storage with RxDB","url":"/encryption.html#encryption-and-workers","content":" If you are using Worker RxStorage or SharedWorker RxStorage with encryption, it's recommended to run encryption inside of the worker. Encryption can be very cpu intensive and would take away CPU-power from the main thread which is the main reason to use workers. You do not need to worry about setting the password inside of the worker. The password will be set when calling createRxDatabase from the main thread, and will be passed internally to the storage in the worker automatically. ","version":"Next","tagName":"h2"},{"title":"Fulltext Search","type":0,"sectionRef":"#","url":"/fulltext-search.html","content":"","keywords":"","version":"Next"},{"title":"Benefits of using a local fulltext search","type":1,"pageTitle":"Fulltext Search","url":"/fulltext-search.html#benefits-of-using-a-local-fulltext-search","content":" Efficient Search and Indexing The plugin utilizes the FlexSearch library, known for its speed and memory efficiency. This ensures that search operations are performed quickly, even with large datasets. The search engine can handle multi-field queries, partial matching, and complex search operations, providing users with highly relevant results. Local Data Indexing With the plugin, all search operations are performed on the local data stored within the RxDB collections. This means that users can execute fulltext search queries without the need for an external server or database, which is especially beneficial for offline-first applications. The local indexing ensures that search queries are executed quickly, reducing the latency typically associated with remote database queries. Also when used in multiple browser tabs, it is ensured that through Leader Election, only exactly one tabs is doing the work of indexing without having an overhead in the other browser tabs. Real-time Indexing The plugin integrates seamlessly with RxDB's reactive nature. Every time a document is written to an RxCollection, an indexer updates the fulltext search index in real-time. This ensures that search results are always up-to-date, reflecting the most current state of the data without requiring manual reindexing. Persistent indexing The fulltext search index is efficiently persisted within the RxCollection, ensuring that the index remains intact across app restarts. When documents are added or updated in the collection, the index is incrementally updated in real-time, meaning only the changes are processed rather than reindexing the entire dataset. This incremental approach not only optimizes performance but also ensures that subsequent app launches are quick, as there's no need to reindex all the data from scratch, making the search feature both reliable and fast from the moment the app starts. When using an encrypted storage the index itself and incremental updates to it are stored fully encrypted and are only decrypted in-memory. Complex Query Support The FlexSearch-based plugin allows for sophisticated search queries, including multi-term and contextual searches. Users can perform complex searches that go beyond simple keyword matching, enabling more advanced use cases like searching for documents with specific phrases, relevance-based sorting, or even phonetic matching. Offline-First Support and Privacy As RxDB is designed with offline-first applications in mind, the fulltext search plugin supports this paradigm by ensuring that all search operations can be performed offline. This is crucial for applications that need to function in environments with intermittent or no internet connectivity, offering users a consistent and reliable search experience with zero latency. ","version":"Next","tagName":"h2"},{"title":"Using the RxDB Fulltext Search","type":1,"pageTitle":"Fulltext Search","url":"/fulltext-search.html#using-the-rxdb-fulltext-search","content":" The flexsearch search is a RxDB Premium Package 👑 which must be purchased and imported from the rxdb-premium npm package. Step 1: Add the RxDBFlexSearchPlugin to RxDB. import { RxDBFlexSearchPlugin } from 'rxdb-premium/plugins/flexsearch'; import { addRxPlugin } from 'rxdb/plugins/core'; addRxPlugin(RxDBFlexSearchPlugin); Step 2: Create a RxFulltextSearch instance on top of a collection with the addFulltextSearch() function. import { addFulltextSearch } from 'rxdb-premium/plugins/flexsearch'; const flexSearch = await addFulltextSearch({ // unique identifier. Used to store metadata and continue indexing on restarts/reloads. identifier: 'my-search', // The source collection on whose documents the search is based on collection: myRxCollection, /** * Transforms the document data to a given searchable string. * This can be done by returning a single string property of the document * or even by concatenating and transforming multiple fields like: * doc => doc.firstName + ' ' + doc.lastName */ docToString: doc => doc.firstName, /** * (Optional) * Amount of documents to index at once. * See https://rxdb.info/rx-pipeline.html */ batchSize: number; /** * (Optional) * lazy: Initialize the in memory fulltext index at the first search query. * instant: Directly initialize so that the index is already there on the first query. * Default: 'instant' */ initialization: 'instant', /** * (Optional) * @link https://github.com/nextapps-de/flexsearch#index-options */ indexOptions: {}, }); Step 3: Run a search operation: // find all documents whose searchstring contains "foobar" const foundDocuments = await flexSearch.find('foobar'); /** * You can also use search options as second parameter * @link https://github.com/nextapps-de/flexsearch#search-options */ const foundDocuments = await flexSearch.find('foobar', { limit: 10 }); ","version":"Next","tagName":"h2"},{"title":"Install RxDB","type":0,"sectionRef":"#","url":"/install.html","content":"","keywords":"","version":"Next"},{"title":"npm","type":1,"pageTitle":"Install RxDB","url":"/install.html#npm","content":" To install the latest release of rxdb and its dependencies and save it to your package.json, run: npm i rxdb --save ","version":"Next","tagName":"h2"},{"title":"peer-dependency","type":1,"pageTitle":"Install RxDB","url":"/install.html#peer-dependency","content":" You also need to install the peer-dependency rxjs if you have not installed it before. npm i rxjs --save ","version":"Next","tagName":"h2"},{"title":"polyfills","type":1,"pageTitle":"Install RxDB","url":"/install.html#polyfills","content":" RxDB is coded with es8 and transpiled to es5. This means you have to install polyfills to support older browsers. For example you can use the babel-polyfills with: npm i @babel/polyfill --save If you need polyfills, you have to import them in your code. import '@babel/polyfill'; ","version":"Next","tagName":"h2"},{"title":"Polyfill the global variable","type":1,"pageTitle":"Install RxDB","url":"/install.html#polyfill-the-global-variable","content":" When you use RxDB with angular or other webpack based frameworks, you might get the error Uncaught ReferenceError: global is not defined. This is because some dependencies of RxDB assume a Node.js-specific global variable that is not added to browser runtimes by some bundlers. You have to add them by your own, like we do here. (window as any).global = window; (window as any).process = { env: { DEBUG: undefined }, }; ","version":"Next","tagName":"h2"},{"title":"Project Setup and Configuration","type":1,"pageTitle":"Install RxDB","url":"/install.html#project-setup-and-configuration","content":" In the examples folder you can find CI tested projects for different frameworks and use cases, while in the /config folder base configuration files for Webpack, Rollup, Mocha, Karma, Typescript are exposed. Consult package.json for the versions of the packages supported. ","version":"Next","tagName":"h2"},{"title":"Installing the latest RxDB build","type":1,"pageTitle":"Install RxDB","url":"/install.html#installing-the-latest-rxdb-build","content":" If you need the latest development state of RxDB, add it as git-dependency into your package.json. "dependencies": { "rxdb": "git+https://git@github.com/pubkey/rxdb.git#commitHash" } Replace commitHash with the hash of the latest build-commit. ","version":"Next","tagName":"h2"},{"title":"Import","type":1,"pageTitle":"Install RxDB","url":"/install.html#import","content":" To import rxdb, add this to your JavaScript file to import the default bundle that contains the RxDB core: import { createRxDatabase, /* ... */ } from 'rxdb'; ","version":"Next","tagName":"h2"},{"title":"Key Compression","type":0,"sectionRef":"#","url":"/key-compression.html","content":"","keywords":"","version":"Next"},{"title":"Enable key compression","type":1,"pageTitle":"Key Compression","url":"/key-compression.html#enable-key-compression","content":" The key compression plugin is a wrapper around any other RxStorage. 1 Wrap your RxStorage with the key compression plugin import { wrappedKeyCompressionStorage } from 'rxdb/plugins/key-compression'; import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage'; const storageWithKeyCompression = wrappedKeyCompressionStorage({ storage: getRxStorageLocalstorage() }); 2 Create an RxDatabase import { createRxDatabase } from 'rxdb/plugins/core'; const db = await createRxDatabase({ name: 'mydatabase', storage: storageWithKeyCompression }); 3 Create a compressed RxCollection const mySchema = { keyCompression: true, // set this to true, to enable the keyCompression version: 0, primaryKey: 'id', type: 'object', properties: { id: { type: 'string', maxLength: 100 // <- the primary key must have set maxLength } /* ... */ } }; await db.addCollections({ docs: { schema: mySchema } }); ","version":"Next","tagName":"h2"},{"title":"Leader-Election","type":0,"sectionRef":"#","url":"/leader-election.html","content":"","keywords":"","version":"Next"},{"title":"Use-case-example","type":1,"pageTitle":"Leader-Election","url":"/leader-election.html#use-case-example","content":" Imagine we have a website which displays the current temperature of the visitors location in various charts, numbers or heatmaps. To always display the live-data, the website opens a websocket to our API-Server which sends the current temperature every 10 seconds. Using the way most sites are currently build, we can now open it in 5 browser-tabs and it will open 5 websockets which send data 6*5=30 times per minute. This will not only waste the power of your clients device, but also wastes your api-servers resources by opening redundant connections. ","version":"Next","tagName":"h2"},{"title":"Solution","type":1,"pageTitle":"Leader-Election","url":"/leader-election.html#solution","content":" The solution to this redundancy is the usage of a leader-election-algorithm which makes sure that always exactly one tab is managing the remote-data-access. The managing tab is the elected leader and stays leader until it is closed. No matter how many tabs are opened or closed, there must be always exactly one leader. You could now start implementing a messaging-system between your browser-tabs, hand out which one is leader, solve conflicts and reassign a new leader when the old one 'dies'. Or just use RxDB which does all these things for you. ","version":"Next","tagName":"h2"},{"title":"Add the leader election plugin","type":1,"pageTitle":"Leader-Election","url":"/leader-election.html#add-the-leader-election-plugin","content":" To enable the leader election, you have to add the leader-election plugin. import { addRxPlugin } from 'rxdb'; import { RxDBLeaderElectionPlugin } from 'rxdb/plugins/leader-election'; addRxPlugin(RxDBLeaderElectionPlugin); ","version":"Next","tagName":"h2"},{"title":"Code-example","type":1,"pageTitle":"Leader-Election","url":"/leader-election.html#code-example","content":" To make it easy, here is an example where the temperature is pulled every ten seconds and saved to a collection. The pulling starts at the moment where the opened tab becomes the leader. import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage'; const db = await createRxDatabase({ name: 'weatherDB', storage: getRxStorageLocalstorage(), password: 'myPassword', multiInstance: true }); await db.addCollections({ temperature: { schema: mySchema } }); db.waitForLeadership() .then(() => { console.log('Long lives the king!'); // <- runs when db becomes leader setInterval(async () => { const temp = await fetch('https://example.com/api/temp/'); db.temperature.insert({ degrees: temp, time: new Date().getTime() }); }, 1000 * 10); }); ","version":"Next","tagName":"h2"},{"title":"Handle Duplicate Leaders","type":1,"pageTitle":"Leader-Election","url":"/leader-election.html#handle-duplicate-leaders","content":" On rare occasions, it can happen that more than one leader is elected. This can happen when the CPU is on 100% or for any other reason the JavaScript process is fully blocked for a long time. For most cases this is not really problem because on duplicate leaders, both browser tabs replicate with the same backend anyways. To handle the duplicate leader event, you can access the leader elector and set a handler: import { getLeaderElectorByBroadcastChannel } from 'rxdb/plugins/leader-election'; const leaderElector = getLeaderElectorByBroadcastChannel(broadcastChannel); leaderElector.onduplicate = async () => { // Duplicate leader detected -> reload the page. location.reload(); } ","version":"Next","tagName":"h2"},{"title":"Live-Example","type":1,"pageTitle":"Leader-Election","url":"/leader-election.html#live-example","content":" In this example the leader is marked with the crown ♛ ","version":"Next","tagName":"h2"},{"title":"Try it out","type":1,"pageTitle":"Leader-Election","url":"/leader-election.html#try-it-out","content":" Run the angular-example where the leading tab is marked with a crown on the top-right-corner. ","version":"Next","tagName":"h2"},{"title":"Notice","type":1,"pageTitle":"Leader-Election","url":"/leader-election.html#notice","content":" The leader election is implemented via the broadcast-channel module. The leader is elected between different processes on the same javascript-runtime. Like multiple tabs in the same browser or multiple NodeJs-processes on the same machine. It will not run between different replicated instances. ","version":"Next","tagName":"h2"},{"title":"RxDB Logger Plugin","type":0,"sectionRef":"#","url":"/logger.html","content":"","keywords":"","version":"Next"},{"title":"Using the logger plugin","type":1,"pageTitle":"RxDB Logger Plugin","url":"/logger.html#using-the-logger-plugin","content":" The logger is a wrapper that can be wrapped around any RxStorage. Once your storage is wrapped, you can create your database with the wrapped storage and the logging will automatically happen. import { wrappedLoggerStorage } from 'rxdb-premium/plugins/logger'; import { getRxStorageIndexedDB } from 'rxdb-premium/plugins/storage-indexeddb'; // wrap a storage with the logger const loggingStorage = wrappedLoggerStorage({ storage: getRxStorageIndexedDB({}) }); // create your database with the wrapped storage const db = await createRxDatabase({ name: 'mydatabase', storage: loggingStorage }); // create collections etc... ","version":"Next","tagName":"h2"},{"title":"Specify what to be logged","type":1,"pageTitle":"RxDB Logger Plugin","url":"/logger.html#specify-what-to-be-logged","content":" By default, the plugin will log all operations and it will also run a console.time()/console.timeEnd() around each operation. You can specify what to log so that your logs are less noisy. For this you provide a settings object when calling wrappedLoggerStorage(). const loggingStorage = wrappedLoggerStorage({ storage: getRxStorageIndexedDB({}), settings: { // can used to prefix all log strings, default='' prefix: 'my-prefix', /** * Be default, all settings are true. */ // if true, it will log timings with console.time() and console.timeEnd() times: true, // if false, it will not log meta storage instances like used in replication metaStorageInstances: true, // operations bulkWrite: true, findDocumentsById: true, query: true, count: true, info: true, getAttachmentData: true, getChangedDocumentsSince: true, cleanup: true, close: true, remove: true } }); ","version":"Next","tagName":"h2"},{"title":"Using custom logging functions","type":1,"pageTitle":"RxDB Logger Plugin","url":"/logger.html#using-custom-logging-functions","content":" With the logger plugin you can also run custom log functions for all operations. const loggingStorage = wrappedLoggerStorage({ storage: getRxStorageIndexedDB({}), onOperationStart: (operationsName, logId, args) => void, onOperationEnd: (operationsName, logId, args) => void, onOperationError: (operationsName, logId, args, error) => void }); ","version":"Next","tagName":"h2"},{"title":"RxDB Error Messages","type":0,"sectionRef":"#","url":"/errors.html","content":"","keywords":"","version":"Next"},{"title":"All RxDB error messages","type":1,"pageTitle":"RxDB Error Messages","url":"/errors.html#all-rxdb-error-messages","content":" Code: UT1 Given name is no string or empty Search In CodeSearch In IssuesSearch In Chat Code: UT2 Collection- and database-names must match the regex to be compatible with couchdb databases. See https://neighbourhood.ie/blog/2020/10/13/everything-you-need-to-know-about-couchdb-database-names/ info: if your database-name specifies a folder, the name must contain the slash-char '/' or '\\' Search In CodeSearch In IssuesSearch In Chat Code: UT3 Replication-direction must either be push or pull or both. But not none Search In CodeSearch In IssuesSearch In Chat Code: UT4 Given leveldown is no valid adapter Search In CodeSearch In IssuesSearch In Chat Code: UT5 KeyCompression is set to true in the schema but no key-compression handler is used in the storage Search In CodeSearch In IssuesSearch In Chat Code: UT6 Schema contains encrypted fields but no encryption handler is used in the storage Search In CodeSearch In IssuesSearch In Chat Code: UT7 Attachments.compression is enabled but no attachment-compression plugin is used Search In CodeSearch In IssuesSearch In Chat Code: UT8 Crypto.subtle.digest is not available in your runtime. For expo/react-native see https://discord.com/channels/969553741705539624/1341392686267109458/1343639513850843217 Search In CodeSearch In IssuesSearch In Chat Code: PL1 Given plugin is not RxDB plugin. Search In CodeSearch In IssuesSearch In Chat Code: PL3 A plugin with the same name was already added but it was not the exact same JavaScript object Search In CodeSearch In IssuesSearch In Chat Code: P2 BulkWrite() cannot be called with an empty array Search In CodeSearch In IssuesSearch In Chat Code: QU1 RxQuery._execOverDatabase(): op not known Search In CodeSearch In IssuesSearch In Chat Code: QU4 RxQuery.regex(): You cannot use .regex() on the primary field Search In CodeSearch In IssuesSearch In Chat Code: QU5 RxQuery.sort(): does not work because key is not defined in the schema Search In CodeSearch In IssuesSearch In Chat Code: QU6 RxQuery.limit(): cannot be called on .findOne() Search In CodeSearch In IssuesSearch In Chat Code: QU9 ThrowIfMissing can only be used in findOne queries Search In CodeSearch In IssuesSearch In Chat Code: QU10 Result empty and throwIfMissing: true Search In CodeSearch In IssuesSearch In Chat Code: QU11 RxQuery: no valid query params given Search In CodeSearch In IssuesSearch In Chat Code: QU12 Given index is not in schema Search In CodeSearch In IssuesSearch In Chat Code: QU13 A top level field of the query is not included in the schema Search In CodeSearch In IssuesSearch In Chat Code: QU14 Running a count() query in slow mode is now allowed. Either run a count() query with a selector that fully matches an index or set allowSlowCount=true when calling the createRxDatabase Search In CodeSearch In IssuesSearch In Chat Code: QU15 For count queries it is not allowed to use skip or limit Search In CodeSearch In IssuesSearch In Chat Code: QU16 $regex queries must be defined by a string, not an RegExp instance. This is because RegExp objects cannot be JSON stringified and also they are mutable which would be dangerous Search In CodeSearch In IssuesSearch In Chat Code: QU17 Chained queries cannot be used on findByIds() RxQuery instances Search In CodeSearch In IssuesSearch In Chat Code: QU18 Malformed query result data. This likely happens because you create a OPFS-storage RxDatabase inside of a worker but did not set the usesRxDatabaseInWorker setting. https://rxdb.info/rx-storage-opfs.html?console=opfs#setting-usesrxdatabaseinworker-when-a-rxdatabase-is-also-used-inside-of-the-worker Search In CodeSearch In IssuesSearch In Chat Code: QU19 Queries must not contain fields or properties with the value `undefined`: https://github.com/pubkey/rxdb/issues/6792#issuecomment-2624555824 Search In CodeSearch In IssuesSearch In Chat Code: MQ1 Path must be a string or object Search In CodeSearch In IssuesSearch In Chat Code: MQ2 Invalid argument Search In CodeSearch In IssuesSearch In Chat Code: MQ3 Invalid sort() argument. Must be a string, object, or array Search In CodeSearch In IssuesSearch In Chat Code: MQ4 Invalid argument. Expected instanceof mquery or plain object Search In CodeSearch In IssuesSearch In Chat Code: MQ5 Method must be used after where() when called with these arguments Search In CodeSearch In IssuesSearch In Chat Code: MQ6 Can't mix sort syntaxes. Use either array or object | .sort([['field', 1], ['test', -1]]) | .sort({ field: 1, test: -1 }) Search In CodeSearch In IssuesSearch In Chat Code: MQ7 Invalid sort value Search In CodeSearch In IssuesSearch In Chat Code: MQ8 Can't mix sort syntaxes. Use either array or object Search In CodeSearch In IssuesSearch In Chat Code: DB1 RxDocument.prepare(): another instance on this adapter has a different password Search In CodeSearch In IssuesSearch In Chat Code: DB2 RxDatabase.addCollections(): collection-names cannot start with underscore _ Search In CodeSearch In IssuesSearch In Chat Code: DB3 RxDatabase.addCollections(): collection already exists. use myDatabase[collectionName] to get it Search In CodeSearch In IssuesSearch In Chat Code: DB4 RxDatabase.addCollections(): schema is missing Search In CodeSearch In IssuesSearch In Chat Code: DB5 RxDatabase.addCollections(): collection-name not allowed Search In CodeSearch In IssuesSearch In Chat Code: DB6 RxDatabase.addCollections(): another instance created this collection with a different schema. Read thishttps://rxdb.info/rx-schema.html?console=qa#faq Search In CodeSearch In IssuesSearch In Chat Code: DB8 CreateRxDatabase(): A RxDatabase with the same name and adapter already exists. Make sure to use this combination of storage+databaseName only once If you have the duplicate database on purpose to simulate multi-tab behavior in unit tests, set "ignoreDuplicate: true". As alternative you can set "closeDuplicates: true" like if this happens in your react projects with hot reload that reloads the code without reloading the process. Search In CodeSearch In IssuesSearch In Chat Code: DB9 IgnoreDuplicate is only allowed in dev-mode and must never be used in production Search In CodeSearch In IssuesSearch In Chat Code: DB11 CreateRxDatabase(): Invalid db-name, folder-paths must not have an ending slash Search In CodeSearch In IssuesSearch In Chat Code: DB12 RxDatabase.addCollections(): could not write to internal store Search In CodeSearch In IssuesSearch In Chat Code: DB13 CreateRxDatabase(): Invalid db-name or collection name, name contains the dollar sign Search In CodeSearch In IssuesSearch In Chat Code: DB14 No custom reactivity factory added on database creation Search In CodeSearch In IssuesSearch In Chat Code: COL1 RxDocument.insert() You cannot insert an existing document Search In CodeSearch In IssuesSearch In Chat Code: COL2 RxCollection.insert() fieldName ._id can only be used as primaryKey Search In CodeSearch In IssuesSearch In Chat Code: COL3 RxCollection.upsert() does not work without primary Search In CodeSearch In IssuesSearch In Chat Code: COL4 RxCollection.incrementalUpsert() does not work without primary Search In CodeSearch In IssuesSearch In Chat Code: COL5 RxCollection.find() if you want to search by _id, use .findOne(_id) Search In CodeSearch In IssuesSearch In Chat Code: COL6 RxCollection.findOne() needs a queryObject or string. Notice that in RxDB, primary keys must be strings and cannot be numbers. Search In CodeSearch In IssuesSearch In Chat Code: COL7 Hook must be a function Search In CodeSearch In IssuesSearch In Chat Code: COL8 Hooks-when not known Search In CodeSearch In IssuesSearch In Chat Code: COL9 RxCollection.addHook() hook-name not known Search In CodeSearch In IssuesSearch In Chat Code: COL10 RxCollection .postCreate-hooks cannot be async Search In CodeSearch In IssuesSearch In Chat Code: COL11 MigrationStrategies must be an object Search In CodeSearch In IssuesSearch In Chat Code: COL12 A migrationStrategy is missing or too much Search In CodeSearch In IssuesSearch In Chat Code: COL13 MigrationStrategy must be a function Search In CodeSearch In IssuesSearch In Chat Code: COL14 Given static method-name is not a string Search In CodeSearch In IssuesSearch In Chat Code: COL15 Static method-names cannot start with underscore _ Search In CodeSearch In IssuesSearch In Chat Code: COL16 Given static method is not a function Search In CodeSearch In IssuesSearch In Chat Code: COL17 RxCollection.ORM: statics-name not allowed Search In CodeSearch In IssuesSearch In Chat Code: COL18 Collection-method not allowed because fieldname is in the schema Search In CodeSearch In IssuesSearch In Chat Code: COL20 Storage write error Search In CodeSearch In IssuesSearch In Chat Code: COL21 The RxCollection is closed or removed already, either from this JavaScript realm or from another, like a browser tab Search In CodeSearch In IssuesSearch In Chat Code: CONFLICT Document update conflict. When changing a document you must work on the previous revision Search In CodeSearch In IssuesSearch In Chat Code: COL22 .bulkInsert() and .bulkUpsert() cannot be run with multiple documents that have the same primary key Search In CodeSearch In IssuesSearch In Chat Code: COL23 In the open-source version of RxDB, the amount of collections that can exist in parallel is limited to 16. If you already purchased the premium access, you can remove this limit: https://rxdb.info/rx-collection.html?console=limit#faq Search In CodeSearch In IssuesSearch In Chat Code: DOC1 RxDocument.get$ cannot get observable of in-array fields because order cannot be guessed Search In CodeSearch In IssuesSearch In Chat Code: DOC2 Cannot observe primary path Search In CodeSearch In IssuesSearch In Chat Code: DOC3 Final fields cannot be observed Search In CodeSearch In IssuesSearch In Chat Code: DOC4 RxDocument.get$ cannot observe a non-existed field Search In CodeSearch In IssuesSearch In Chat Code: DOC5 RxDocument.populate() cannot populate a non-existed field Search In CodeSearch In IssuesSearch In Chat Code: DOC6 RxDocument.populate() cannot populate because path has no ref Search In CodeSearch In IssuesSearch In Chat Code: DOC7 RxDocument.populate() ref-collection not in database Search In CodeSearch In IssuesSearch In Chat Code: DOC8 RxDocument.set(): primary-key cannot be modified Search In CodeSearch In IssuesSearch In Chat Code: DOC9 Final fields cannot be modified Search In CodeSearch In IssuesSearch In Chat Code: DOC10 RxDocument.set(): cannot set childpath when rootPath not selected Search In CodeSearch In IssuesSearch In Chat Code: DOC11 RxDocument.save(): can't save deleted document Search In CodeSearch In IssuesSearch In Chat Code: DOC13 RxDocument.remove(): Document is already deleted Search In CodeSearch In IssuesSearch In Chat Code: DOC14 RxDocument.close() does not exist Search In CodeSearch In IssuesSearch In Chat Code: DOC15 Query cannot be an array Search In CodeSearch In IssuesSearch In Chat Code: DOC16 Since version 8.0.0 RxDocument.set() can only be called on temporary RxDocuments Search In CodeSearch In IssuesSearch In Chat Code: DOC17 Since version 8.0.0 RxDocument.save() can only be called on non-temporary documents Search In CodeSearch In IssuesSearch In Chat Code: DOC18 Document property for composed primary key is missing Search In CodeSearch In IssuesSearch In Chat Code: DOC19 Value of primary key(s) cannot be changed Search In CodeSearch In IssuesSearch In Chat Code: DOC20 PrimaryKey missing Search In CodeSearch In IssuesSearch In Chat Code: DOC21 PrimaryKey must be equal to PrimaryKey.trim(). It cannot start or end with a whitespace Search In CodeSearch In IssuesSearch In Chat Code: DOC22 PrimaryKey must not contain a linebreak Search In CodeSearch In IssuesSearch In Chat Code: DOC23 PrimaryKey must not contain a double-quote ["] Search In CodeSearch In IssuesSearch In Chat Code: DOC24 Given document data could not be structured cloned. This happens if you pass non-plain-json data into it, like a Date() object or a Function. In vue.js this happens if you use ref() on the document data which transforms it into a Proxy object. Search In CodeSearch In IssuesSearch In Chat Code: DM1 Migrate() Migration has already run Search In CodeSearch In IssuesSearch In Chat Code: DM2 Migration of document failed final document does not match final schema Search In CodeSearch In IssuesSearch In Chat Code: DM3 Migration already running Search In CodeSearch In IssuesSearch In Chat Code: DM4 Migration errored Search In CodeSearch In IssuesSearch In Chat Code: DM5 Cannot open database state with newer RxDB version. You have to migrate your database state first. See https://rxdb.info/migration-storage.html?console=storage Search In CodeSearch In IssuesSearch In Chat Code: AT1 To use attachments, please define this in your schema Search In CodeSearch In IssuesSearch In Chat Code: EN1 Password is not valid Search In CodeSearch In IssuesSearch In Chat Code: EN2 ValidatePassword: min-length of password not complied Search In CodeSearch In IssuesSearch In Chat Code: EN3 Schema contains encrypted properties but no password is given Search In CodeSearch In IssuesSearch In Chat Code: EN4 Password not valid Search In CodeSearch In IssuesSearch In Chat Code: JD1 You must create the collections before you can import their data Search In CodeSearch In IssuesSearch In Chat Code: JD2 RxCollection.importJSON(): the imported json relies on a different schema Search In CodeSearch In IssuesSearch In Chat Code: JD3 RxCollection.importJSON(): json.passwordHash does not match the own Search In CodeSearch In IssuesSearch In Chat Code: LD1 RxDocument.allAttachments$ can't use attachments on local documents Search In CodeSearch In IssuesSearch In Chat Code: LD2 RxDocument.get(): objPath must be a string Search In CodeSearch In IssuesSearch In Chat Code: LD3 RxDocument.get$ cannot get observable of in-array fields because order cannot be guessed Search In CodeSearch In IssuesSearch In Chat Code: LD4 Cannot observe primary path Search In CodeSearch In IssuesSearch In Chat Code: LD5 RxDocument.set() id cannot be modified Search In CodeSearch In IssuesSearch In Chat Code: LD6 LocalDocument: Function is not usable on local documents Search In CodeSearch In IssuesSearch In Chat Code: LD7 Local document already exists Search In CodeSearch In IssuesSearch In Chat Code: LD8 LocalDocuments not activated. Set localDocuments=true on creation, when you want to store local documents on the RxDatabase or RxCollection. Search In CodeSearch In IssuesSearch In Chat Code: RC1 Replication: already added Search In CodeSearch In IssuesSearch In Chat Code: RC2 ReplicateCouchDB() query must be from the same RxCollection Search In CodeSearch In IssuesSearch In Chat Code: RC4 RxCouchDBReplicationState.awaitInitialReplication() cannot await initial replication when live: true Search In CodeSearch In IssuesSearch In Chat Code: RC5 RxCouchDBReplicationState.awaitInitialReplication() cannot await initial replication if multiInstance because the replication might run on another instance Search In CodeSearch In IssuesSearch In Chat Code: RC6 SyncFirestore() serverTimestampField MUST NOT be part of the collections schema and MUST NOT be nested. Search In CodeSearch In IssuesSearch In Chat Code: RC7 SimplePeer requires to have process.nextTick() polyfilled, see https://rxdb.info/replication-webrtc.html?console=webrtc Search In CodeSearch In IssuesSearch In Chat Code: RC_PULL RxReplication pull handler threw an error - see .errors for more details Search In CodeSearch In IssuesSearch In Chat Code: RC_STREAM RxReplication pull stream$ threw an error - see .errors for more details Search In CodeSearch In IssuesSearch In Chat Code: RC_PUSH RxReplication push handler threw an error - see .errors for more details Search In CodeSearch In IssuesSearch In Chat Code: RC_PUSH_NO_AR RxReplication push handler did not return an array with the conflicts Search In CodeSearch In IssuesSearch In Chat Code: RC_WEBRTC_PEER RxReplication WebRTC Peer has error Search In CodeSearch In IssuesSearch In Chat Code: RC_COUCHDB_1 ReplicateCouchDB() url must end with a slash like 'https://example.com/mydatabase/' Search In CodeSearch In IssuesSearch In Chat Code: RC_COUCHDB_2 ReplicateCouchDB() did not get valid result with rows. Search In CodeSearch In IssuesSearch In Chat Code: RC_OUTDATED Outdated client, update required. Replication was canceled Search In CodeSearch In IssuesSearch In Chat Code: RC_UNAUTHORIZED Unauthorized client, update the replicationState.headers to set correct auth data Search In CodeSearch In IssuesSearch In Chat Code: RC_FORBIDDEN Client behaves wrong so the replication was canceled. Mostly happens if the client tries to write data that it is not allowed to Search In CodeSearch In IssuesSearch In Chat Code: SC1 Fieldnames do not match the regex Search In CodeSearch In IssuesSearch In Chat Code: SC2 SchemaCheck: name 'item' reserved for array-fields Search In CodeSearch In IssuesSearch In Chat Code: SC3 SchemaCheck: fieldname has a ref-array but items-type is not string Search In CodeSearch In IssuesSearch In Chat Code: SC4 SchemaCheck: fieldname has a ref but is not type string, [string,null] or array<string> Search In CodeSearch In IssuesSearch In Chat Code: SC6 SchemaCheck: primary can only be defined at top-level Search In CodeSearch In IssuesSearch In Chat Code: SC7 SchemaCheck: default-values can only be defined at top-level Search In CodeSearch In IssuesSearch In Chat Code: SC8 SchemaCheck: first level-fields cannot start with underscore _ Search In CodeSearch In IssuesSearch In Chat Code: SC10 SchemaCheck: schema defines ._rev, this will be done automatically Search In CodeSearch In IssuesSearch In Chat Code: SC11 SchemaCheck: schema needs a number >=0 as version Search In CodeSearch In IssuesSearch In Chat Code: SC13 SchemaCheck: primary is always index, do not declare it as index Search In CodeSearch In IssuesSearch In Chat Code: SC14 SchemaCheck: primary is always unique, do not declare it as index Search In CodeSearch In IssuesSearch In Chat Code: SC15 SchemaCheck: primary cannot be encrypted Search In CodeSearch In IssuesSearch In Chat Code: SC16 SchemaCheck: primary must have type: string Search In CodeSearch In IssuesSearch In Chat Code: SC17 SchemaCheck: top-level fieldname is not allowed. See https://rxdb.info/rx-schema.html?console=toplevel#non-allowed-properties Search In CodeSearch In IssuesSearch In Chat Code: SC18 SchemaCheck: indexes must be an array Search In CodeSearch In IssuesSearch In Chat Code: SC19 SchemaCheck: indexes must contain strings or arrays of strings Search In CodeSearch In IssuesSearch In Chat Code: SC20 SchemaCheck: indexes.array must contain strings Search In CodeSearch In IssuesSearch In Chat Code: SC21 SchemaCheck: given index is not defined in schema Search In CodeSearch In IssuesSearch In Chat Code: SC22 SchemaCheck: given indexKey is not type:string Search In CodeSearch In IssuesSearch In Chat Code: SC23 SchemaCheck: fieldname is not allowed Search In CodeSearch In IssuesSearch In Chat Code: SC24 SchemaCheck: required fields must be set via array. See https://spacetelescope.github.io/understanding-json-schema/reference/object.html#required Search In CodeSearch In IssuesSearch In Chat Code: SC25 SchemaCheck: compoundIndexes needs to be specified in the indexes field Search In CodeSearch In IssuesSearch In Chat Code: SC26 SchemaCheck: indexes needs to be specified at collection schema level Search In CodeSearch In IssuesSearch In Chat Code: SC28 SchemaCheck: encrypted fields is not defined in the schema Search In CodeSearch In IssuesSearch In Chat Code: SC29 SchemaCheck: missing object key 'properties' Search In CodeSearch In IssuesSearch In Chat Code: SC30 SchemaCheck: primaryKey is required Search In CodeSearch In IssuesSearch In Chat Code: SC32 SchemaCheck: primary field must have the type string/number/integer Search In CodeSearch In IssuesSearch In Chat Code: SC33 SchemaCheck: used primary key is not a property in the schema Search In CodeSearch In IssuesSearch In Chat Code: SC34 Fields of type string that are used in an index, must have set the maxLength attribute in the schema Search In CodeSearch In IssuesSearch In Chat Code: SC35 Fields of type number/integer that are used in an index, must have set the multipleOf attribute in the schema Search In CodeSearch In IssuesSearch In Chat Code: SC36 A field of this type cannot be used as index Search In CodeSearch In IssuesSearch In Chat Code: SC37 Fields of type number that are used in an index, must have set the minimum and maximum attribute in the schema Search In CodeSearch In IssuesSearch In Chat Code: SC38 Fields of type boolean that are used in an index, must be required in the schema Search In CodeSearch In IssuesSearch In Chat Code: SC39 The primary key must have the maxLength attribute set. Ensure you use the dev-mode plugin when developing with RxDB. Search In CodeSearch In IssuesSearch In Chat Code: SC40 $ref fields in the schema are not allowed. RxDB cannot resolve related schemas because it would have a negative performance impact.It would have to run http requests on runtime. $ref fields should be resolved during build time. Search In CodeSearch In IssuesSearch In Chat Code: SC41 Minimum, maximum and maxLength values for indexes must be real numbers, not Infinity or -Infinity Search In CodeSearch In IssuesSearch In Chat Code: SC42 Primary key and also indexed fields which are strings, must have a maxLength that is <= 2048. Notice that having a big maxLength can negatively affect the performance. Only set it as big as it has to be. Search In CodeSearch In IssuesSearch In Chat Code: DVM1 When dev-mode is enabled, your storage must use one of the schema validators at the top level. This is because most problems people have with RxDB is because they store data that is not valid to the schema which causes strange bugs and problems. Search In CodeSearch In IssuesSearch In Chat Code: VD1 Sub-schema not found, does the schemaPath exists in your schema? Search In CodeSearch In IssuesSearch In Chat Code: VD2 Object does not match schema Search In CodeSearch In IssuesSearch In Chat Code: S1 You cannot create collections after calling RxDatabase.server() Search In CodeSearch In IssuesSearch In Chat Code: GQL1 GraphQL replication: cannot find sub schema by key Search In CodeSearch In IssuesSearch In Chat Code: GQL3 GraphQL replication: pull returns more documents then batchSize Search In CodeSearch In IssuesSearch In Chat Code: CRDT1 CRDT operations cannot be used because the crdt options are not set in the schema. Search In CodeSearch In IssuesSearch In Chat Code: CRDT2 RxDocument.incrementalModify() cannot be used when CRDTs are activated. Search In CodeSearch In IssuesSearch In Chat Code: CRDT3 To use CRDTs you MUST NOT set a conflictHandler because the default CRDT conflict handler must be used Search In CodeSearch In IssuesSearch In Chat Code: DXE1 Non-required index fields are not possible with the dexie.js RxStorage: https://github.com/pubkey/rxdb/pull/6643#issuecomment-2505310082 Search In CodeSearch In IssuesSearch In Chat Code: SQL1 The trial version of the SQLite storage does not support attachments. Search In CodeSearch In IssuesSearch In Chat Code: SQL2 The trial version of the SQLite storage is limited to contain 300 documents Search In CodeSearch In IssuesSearch In Chat Code: SQL3 The trial version of the SQLite storage is limited to running 500 operations Search In CodeSearch In IssuesSearch In Chat Code: RM1 Cannot communicate with a remote that was build on a different RxDB version. Did you forget to rebuild your workers when updating RxDB? Search In CodeSearch In IssuesSearch In Chat Code: MG1 If _id is used as primaryKey, all documents in the MongoDB instance must have a string-value as _id, not an ObjectId or number Search In CodeSearch In IssuesSearch In Chat Code: R1 You must provide a valid RxDatabase to the the RxDatabaseProvider Search In CodeSearch In IssuesSearch In Chat Code: R2 Could not find database in context, please ensure the component is wrapped in a <RxDatabaseProvider> Search In CodeSearch In IssuesSearch In Chat Code: R3 The provided value for the collection parameter is not a valid RxCollection Search In CodeSearch In IssuesSearch In Chat Code: SNH This should never happen Search In CodeSearch In IssuesSearch In Chat ","version":"Next","tagName":"h2"},{"title":"Migrate Database Data on schema changes","type":0,"sectionRef":"#","url":"/migration-schema.html","content":"","keywords":"","version":"Next"},{"title":"Providing strategies","type":1,"pageTitle":"Migrate Database Data on schema changes","url":"/migration-schema.html#providing-strategies","content":" Upon creation of a collection, you have to provide migrationStrategies when your schema's version-number is greater than 0. To do this, you have to add an object to the migrationStrategies property where a function for every schema-version is assigned. A migrationStrategy is a function which gets the old document-data as a parameter and returns the new, transformed document-data. If the strategy returns null, the document will be removed instead of migrated. myDatabase.addCollections({ messages: { schema: messageSchemaV1, migrationStrategies: { // 1 means, this transforms data from version 0 to version 1 1: function(oldDoc){ oldDoc.time = new Date(oldDoc.time).getTime(); // string to unix return oldDoc; } } } }); Asynchronous strategies can also be used: myDatabase.addCollections({ messages: { schema: messageSchemaV1, migrationStrategies: { 1: function(oldDoc){ oldDoc.time = new Date(oldDoc.time).getTime(); // string to unix return oldDoc; }, /** * 2 means, this transforms data from version 1 to version 2 * this returns a promise which resolves with the new document-data */ 2: function(oldDoc){ // in the new schema (version: 2) we defined 'senderCountry' as required field (string) // so we must get the country of the message-sender from the server const coordinates = oldDoc.coordinates; return fetch('http://myserver.com/api/countryByCoordinates/'+coordinates+'/') .then(response => { const response = response.json(); oldDoc.senderCountry = response; return oldDoc; }); } } } }); you can also filter which documents should be migrated: myDatabase.addCollections({ messages: { schema: messageSchemaV1, migrationStrategies: { // 1 means, this transforms data from version 0 to version 1 1: function(oldDoc){ oldDoc.time = new Date(oldDoc.time).getTime(); // string to unix return oldDoc; }, /** * this removes all documents older then 2017-02-12 * they will not appear in the new collection */ 2: function(oldDoc){ if(oldDoc.time < 1486940585) return null; else return oldDoc; } } } }); ","version":"Next","tagName":"h2"},{"title":"autoMigrate","type":1,"pageTitle":"Migrate Database Data on schema changes","url":"/migration-schema.html#automigrate","content":" By default, the migration automatically happens when the collection is created. Calling RxDatabase.addCollections() returns only when the migration has finished. If you have lots of data or the migrationStrategies take a long time, it might be better to start the migration 'by hand' and show the migration-state to the user as a loading-bar. const messageCol = await myDatabase.addCollections({ messages: { schema: messageSchemaV1, autoMigrate: false, // <- migration will not run at creation migrationStrategies: { 1: async function(oldDoc){ ... anything that takes very long ... return oldDoc; } } } }); // check if migration is needed const needed = await messageCol.migrationNeeded(); if(needed === false) { return; } // start the migration messageCol.startMigration(10); // 10 is the batch-size, how many docs will run at parallel const migrationState = messageCol.getMigrationState(); // 'start' the observable migrationState.$.subscribe({ next: state => console.dir(state), error: error => console.error(error), complete: () => console.log('done') }); // the emitted states look like this: { status: 'RUNNING' // oneOf 'RUNNING' | 'DONE' | 'ERROR' count: { total: 50, // amount of documents which must be migrated handled: 0, // amount of handled docs percent: 0 // percentage [0-100] } } If you don't want to show the state to the user, you can also use .migratePromise(): const migrationPromise = messageCol.migratePromise(10); await migratePromise; ","version":"Next","tagName":"h2"},{"title":"migrationStates()","type":1,"pageTitle":"Migrate Database Data on schema changes","url":"/migration-schema.html#migrationstates","content":" RxDatabase.migrationStates() returns an Observable that emits all migration states of any collection of the database. Use this when you add collections dynamically and want to show a loading-state of the migrations to the user. const allStatesObservable = myDatabase.migrationStates(); allStatesObservable.subscribe(allStates => { allStates.forEach(migrationState => { console.log( 'migration state of ' + migrationState.collection.name ); }); }); ","version":"Next","tagName":"h2"},{"title":"Migrating attachments","type":1,"pageTitle":"Migrate Database Data on schema changes","url":"/migration-schema.html#migrating-attachments","content":" When you store RxAttachments together with your document, they can also be changed, added or removed while running the migration. You can do this by mutating the oldDoc._attachments property. import { createBlob } from 'rxdb'; const migrationStrategies = { 1: async function(oldDoc){ // do nothing with _attachments to keep all attachments and have them in the new collection version. return oldDoc; }, 2: async function(oldDoc){ // set _attachments to an empty object to delete all existing ones during the migration. oldDoc._attachments = {}; return oldDoc; } 3: async function(oldDoc){ // update the data field of a single attachment to change its data. oldDoc._attachments.myFile.data = await createBlob( 'my new text', oldDoc._attachments.myFile.content_type ); return oldDoc; } } ","version":"Next","tagName":"h2"},{"title":"Migration on multi-tab in browsers","type":1,"pageTitle":"Migrate Database Data on schema changes","url":"/migration-schema.html#migration-on-multi-tab-in-browsers","content":" If you use RxDB in a multiInstance environment, like a browser, it will ensure that exactly one tab is running a migration of a collection. Also the migrationState.$ events are emitted between browser tabs. ","version":"Next","tagName":"h2"},{"title":"Migration and Replication","type":1,"pageTitle":"Migrate Database Data on schema changes","url":"/migration-schema.html#migration-and-replication","content":" If you use any of the RxReplication plugins, the migration will also run on the internal replication-state storage. It will migrate all assumedMasterState documents so that after the migration is done, you do not have to re-run the replication from scratch. RxDB assumes that you run the exact same migration on the servers and the clients. Notice that the replication pull-checkpoint will not be migrated. Your backend must be compatible with pull-checkpoints of older versions. ","version":"Next","tagName":"h2"},{"title":"Migration should be run on all database instances","type":1,"pageTitle":"Migrate Database Data on schema changes","url":"/migration-schema.html#migration-should-be-run-on-all-database-instances","content":" If you have multiple database instances (for example, if you are running replication inside of a Worker or SharedWorker and have created a database instance inside of the worker), schema migration should be started on all database instances. All instances must know about all migration strategies and any updated schema versions. ","version":"Next","tagName":"h2"},{"title":"Storage Migration","type":0,"sectionRef":"#","url":"/migration-storage.html","content":"","keywords":"","version":"Next"},{"title":"Usage","type":1,"pageTitle":"Storage Migration","url":"/migration-storage.html#usage","content":" Lets say you want to migrate from LocalStorage RxStorage to the IndexedDB RxStorage. import { migrateStorage } from 'rxdb/plugins/migration-storage'; import { getRxStorageIndexedDB } from 'rxdb-premium/plugins/storage-indexeddb'; import { getRxStorageLocalstorage } from 'rxdb-old/plugins/storage-localstorage'; // create the new RxDatabase const db = await createRxDatabase({ name: dbLocation, storage: getRxStorageIndexedDB(), multiInstance: false }); await migrateStorage({ database: db as any, /** * Name of the old database, * using the storage migration requires that the * new database has a different name. */ oldDatabaseName: 'myOldDatabaseName', oldStorage: getRxStorageLocalstorage(), // RxStorage of the old database batchSize: 500, // batch size parallel: false, // <- true if it should migrate all collections in parallel. False (default) if should migrate in serial afterMigrateBatch: (input: AfterMigrateBatchHandlerInput) => { console.log('storage migration: batch processed'); } }); note Only collections that exist in the new database at the time you call migrateStorage() will have their data migrated. If your old database had collections ['users', 'posts', 'comments'] but your new database only defines ['users', 'posts'], then only users and posts data will be migrated.Any collections missing from the new database will simply be skipped - no data for them will be read or written. This allows you to selectively migrate only certain collections if desired, by choosing which collections to define before invoking migrateStorage(). ","version":"Next","tagName":"h2"},{"title":"Migrate from a previous RxDB major version","type":1,"pageTitle":"Storage Migration","url":"/migration-storage.html#migrate-from-a-previous-rxdb-major-version","content":" To migrate from a previous RxDB major version, you have to install the 'old' RxDB in the package.json { "dependencies": { "rxdb-old": "npm:rxdb@14.17.1", } } Then you can run the migration by providing the old storage: /* ... */ import { migrateStorage } from 'rxdb/plugins/migration-storage'; import { getRxStorageLocalstorage } from 'rxdb-old/plugins/storage-localstorage'; // <- import from the old RxDB version await migrateStorage({ database: db as any, /** * Name of the old database, * using the storage migration requires that the * new database has a different name. */ oldDatabaseName: 'myOldDatabaseName', oldStorage: getRxStorageLocalstorage(), // RxStorage of the old database batchSize: 500, // batch size parallel: false, afterMigrateBatch: (input: AfterMigrateBatchHandlerInput) => { console.log('storage migration: batch processed'); } }); /* ... */ ","version":"Next","tagName":"h2"},{"title":"Disable Version Check on RxDB Premium 👑","type":1,"pageTitle":"Storage Migration","url":"/migration-storage.html#disable-version-check-on-rxdb-premium-","content":" RxDB Premium has a check in place that ensures that you do not accidentally use the wrong RxDB core and 👑 Premium version together which could break your database state. This can be a problem during migrations where you have multiple versions of RxDB in use and it will throw the error Version mismatch detected. You can disable that check by importing and running the disableVersionCheck() function from RxDB Premium. // RxDB Premium v15 or newer: import { disableVersionCheck } from 'rxdb-premium-old/plugins/shared'; disableVersionCheck(); // RxDB Premium v14: // for esm import { disableVersionCheck } from 'rxdb-premium-old/dist/es/shared/version-check.js'; disableVersionCheck(); // for cjs import { disableVersionCheck } from 'rxdb-premium-old/dist/lib/shared/version-check.js'; disableVersionCheck(); ","version":"Next","tagName":"h2"},{"title":"Middleware","type":0,"sectionRef":"#","url":"/middleware.html","content":"","keywords":"","version":"Next"},{"title":"List","type":1,"pageTitle":"Middleware","url":"/middleware.html#list","content":" RxDB supports the following hooks: preInsertpostInsertpreSavepostSavepreRemovepostRemovepostCreate ","version":"Next","tagName":"h2"},{"title":"Why is there no validate-hook?","type":1,"pageTitle":"Middleware","url":"/middleware.html#why-is-there-no-validate-hook","content":" Different to mongoose, the validation on document-data is running on the field-level for every change to a document. This means if you set the value lastName of a RxDocument, then the validation will only run on the changed field, not the whole document. Therefore it is not useful to have validate-hooks when a document is written to the database. ","version":"Next","tagName":"h3"},{"title":"Use Cases","type":1,"pageTitle":"Middleware","url":"/middleware.html#use-cases","content":" Middleware are useful for atomizing model logic and avoiding nested blocks of async code. Here are some other ideas: complex validationremoving dependent documentsasynchronous defaultsasynchronous tasks that a certain action triggerstriggering custom eventsnotifications ","version":"Next","tagName":"h2"},{"title":"Usage","type":1,"pageTitle":"Middleware","url":"/middleware.html#usage","content":" All hooks have the plain data as first parameter, and all but preInsert also have the RxDocument-instance as second parameter. If you want to modify the data in the hook, change attributes of the first parameter. All hook functions are also this-bind to the RxCollection-instance. ","version":"Next","tagName":"h2"},{"title":"Insert","type":1,"pageTitle":"Middleware","url":"/middleware.html#insert","content":" An insert-hook receives the data-object of the new document. lifecycle RxCollection.insert is calledpreInsert series-hookspreInsert parallel-hooksschema validation runsnew document is written to databasepostInsert series-hookspostInsert parallel-hooksevent is emitted to RxDatabase and RxCollection preInsert // series myCollection.preInsert(function(plainData){ // set age to 50 before saving plainData.age = 50; }, false); // parallel myCollection.preInsert(function(plainData){ }, true); // async myCollection.preInsert(function(plainData){ return new Promise(res => setTimeout(res, 100)); }, false); // stop the insert-operation myCollection.preInsert(function(plainData){ throw new Error('stop'); }, false); postInsert // series myCollection.postInsert(function(plainData, rxDocument){ }, false); // parallel myCollection.postInsert(function(plainData, rxDocument){ }, true); // async myCollection.postInsert(function(plainData, rxDocument){ return new Promise(res => setTimeout(res, 100)); }, false); ","version":"Next","tagName":"h3"},{"title":"Save","type":1,"pageTitle":"Middleware","url":"/middleware.html#save","content":" A save-hook receives the document which is saved. lifecycle RxDocument.save is calledpreSave series-hookspreSave parallel-hooksupdated document is written to databasepostSave series-hookspostSave parallel-hooksevent is emitted to RxDatabase and RxCollection preSave // series myCollection.preSave(function(plainData, rxDocument){ // modify anyField before saving plainData.anyField = 'anyValue'; }, false); // parallel myCollection.preSave(function(plainData, rxDocument){ }, true); // async myCollection.preSave(function(plainData, rxDocument){ return new Promise(res => setTimeout(res, 100)); }, false); // stop the save-operation myCollection.preSave(function(plainData, rxDocument){ throw new Error('stop'); }, false); postSave // series myCollection.postSave(function(plainData, rxDocument){ }, false); // parallel myCollection.postSave(function(plainData, rxDocument){ }, true); // async myCollection.postSave(function(plainData, rxDocument){ return new Promise(res => setTimeout(res, 100)); }, false); ","version":"Next","tagName":"h3"},{"title":"Remove","type":1,"pageTitle":"Middleware","url":"/middleware.html#remove","content":" An remove-hook receives the document which is removed. lifecycle RxDocument.remove is calledpreRemove series-hookspreRemove parallel-hooksdeleted document is written to databasepostRemove series-hookspostRemove parallel-hooksevent is emitted to RxDatabase and RxCollection preRemove // series myCollection.preRemove(function(plainData, rxDocument){ }, false); // parallel myCollection.preRemove(function(plainData, rxDocument){ }, true); // async myCollection.preRemove(function(plainData, rxDocument){ return new Promise(res => setTimeout(res, 100)); }, false); // stop the remove-operation myCollection.preRemove(function(plainData, rxDocument){ throw new Error('stop'); }, false); postRemove // series myCollection.postRemove(function(plainData, rxDocument){ }, false); // parallel myCollection.postRemove(function(plainData, rxDocument){ }, true); // async myCollection.postRemove(function(plainData, rxDocument){ return new Promise(res => setTimeout(res, 100)); }, false); ","version":"Next","tagName":"h3"},{"title":"postCreate","type":1,"pageTitle":"Middleware","url":"/middleware.html#postcreate","content":" This hook is called whenever a RxDocument is constructed. You can use postCreate to modify every RxDocument-instance of the collection. This adds a flexible way to add specify behavior to every document. You can also use it to add custom getter/setter to documents. PostCreate-hooks cannot be asynchronous. myCollection.postCreate(function(plainData, rxDocument){ Object.defineProperty(rxDocument, 'myField', { get: () => 'foobar', }); }); const doc = await myCollection.findOne().exec(); console.log(doc.myField); // 'foobar' note This hook does not run on already created or cached documents. Make sure to add postCreate-hooks before interacting with the collection. ","version":"Next","tagName":"h3"},{"title":"Node.js Database","type":0,"sectionRef":"#","url":"/nodejs-database.html","content":"","keywords":"","version":"Next"},{"title":"Persistent Database","type":1,"pageTitle":"Node.js Database","url":"/nodejs-database.html#persistent-database","content":" To get a "normal" database connection where the data is persisted to a file system, the RxDB real time database provides multiple storage implementations that work in Node.js. The FoundationDB storage connects to a FoundationDB cluster which itself is just a distributed key-value engine. RxDB adds the NoSQL query-engine, indexes and other features on top of it. It scales horizontally because you can always add more servers to the FoundationDB cluster to increase the capacity. Setting up a RxDB database is pretty simple. You import the FoundationDB RxStorage and tell RxDB to use that when calling createRxDatabase: import { createRxDatabase } from 'rxdb'; import { getRxStorageFoundationDB } from 'rxdb/plugins/storage-foundationdb'; const db = await createRxDatabase({ name: 'exampledb', storage: getRxStorageFoundationDB({ apiVersion: 620, clusterFile: '/path/to/fdb.cluster' }) }); // add a collection await db.addCollections({ users: { schema: mySchema } }); // run a query const result = await db.users.find({ selector: { name: 'foobar' } }).exec(); Another alternative storage is the SQLite RxStorage that stores the data inside of a SQLite filebased database. The SQLite storage is faster than FoundationDB and does not require to set up a cluster or anything because SQLite directly stores and reads the data inside of the filesystem. The downside of that is that it only scales vertically. import { createRxDatabase } from 'rxdb'; import { getRxStorageSQLite, getSQLiteBasicsNode } from 'rxdb-premium/plugins/storage-sqlite'; import sqlite3 from 'sqlite3'; const myRxDatabase = await createRxDatabase({ name: 'path/to/database/file/foobar.db', storage: getRxStorageSQLite({ sqliteBasics: getSQLiteBasicsNode(sqlite3) }) }); Because the SQLite RxStorage is not free and you might not want to set up a FoundationDB cluster, there is also the option to use the LokiJS RxStorage together with the filesystem adapter. This will store the data as plain json in a file and load everything into memory on startup. This works great for small prototypes but it is not recommended to be used in production. import { createRxDatabase } from 'rxdb'; const LokiFsStructuredAdapter = require('lokijs/src/loki-fs-structured-adapter.js'); import { getRxStorageLoki } from 'rxdb/plugins/storage-lokijs'; import sqlite3 from 'sqlite3'; const myRxDatabase = await createRxDatabase({ name: 'path/to/database/file/foobar.db', storage: getRxStorageLoki({ adapter: new LokiFsStructuredAdapter() }) }); Here is a performance comparison chart of the different storages (lower is better): ","version":"Next","tagName":"h2"},{"title":"RxDB as Node.js In-Memory Database","type":1,"pageTitle":"Node.js Database","url":"/nodejs-database.html#rxdb-as-nodejs-in-memory-database","content":" One of the easiest way to use RxDB in Node.js is to use the Memory RxStorage. As the name implies, it stores the data directly in-memory of the Node.js JavaScript process. This makes it really fast to read and write data but of course the data is not persisted and will be lost when the nodejs process exits. Often the in-memory option is used when RxDB is used in unit tests because it automatically cleans up everything afterwards. import { createRxDatabase } from 'rxdb'; import { getRxStorageMemory } from 'rxdb/plugins/storage-memory'; const db = await createRxDatabase({ name: 'exampledb', storage: getRxStorageMemory() }); Also notice that the default memory limit of Node.js is 4gb (might change of newer versions) so for bigger datasets you might want to increase the limit with the max-old-space-size flag: # increase the Node.js memory limit to 8GB node --max-old-space-size=8192 index.js ","version":"Next","tagName":"h2"},{"title":"Hybrid In-memory-persistence-synced storage","type":1,"pageTitle":"Node.js Database","url":"/nodejs-database.html#hybrid-in-memory-persistence-synced-storage","content":" If you want to have the performance of an in-memory database but require persistency of the data, you can use the memory-mapped storage. On database creation it will load all data into the memory and on writes it will first write the data into memory and later also write it to the persistent storage in the background. In the following example the FoundationDB storage is used, but any other RxStorage can be used as persistence layer. import { createRxDatabase } from 'rxdb'; import { getRxStorageFoundationDB } from 'rxdb/plugins/storage-foundationdb'; import { getMemoryMappedRxStorage } from 'rxdb-premium/plugins/storage-memory-mapped'; const db = await createRxDatabase({ name: 'exampledb', storage: getMemoryMappedRxStorage({ storage: getRxStorageFoundationDB({ apiVersion: 620, clusterFile: '/path/to/fdb.cluster' }) }) }); While this approach gives you a database with great performance and persistent, it has two major downsides: The database size is limited to the memory sizeWrites can be lost when the Node.js process exists between a write to the memory state and the background persisting. ","version":"Next","tagName":"h2"},{"title":"Share database between microservices with RxDB","type":1,"pageTitle":"Node.js Database","url":"/nodejs-database.html#share-database-between-microservices-with-rxdb","content":" Using a local, embedded database in Node.js works great until you have to share the data with another Node.js process or another server at all. To share the database state with other instances, RxDB provides two different methods. One is replication and the other is the remote RxStorage. The replication copies over the whole database set to other instances live-replicates all ongoing writes. This has the benefit of scaling better because each of your microservice will run queries on its own copy of the dataset. Sometimes however you might not want to store the full dataset on each microservice. Then it is better to use the remote RxStorage and connect it to the "main" database. The remote storage will run all operations the main database and return the result to the calling database. ","version":"Next","tagName":"h2"},{"title":"Follow up on RxDB+Node.js","type":1,"pageTitle":"Node.js Database","url":"/nodejs-database.html#follow-up-on-rxdbnodejs","content":" Check out the RxDB Nodejs example.If you haven't done yet, you should start learning about RxDB with the Quickstart Tutorial.I created a list of embedded JavaSCript databases that you will help you to pick a database if you do not want to use RxDB.Check out the MongoDB RxStorage that uses MongoDB for the database connection from your Node.js application and runs the RxDB real time database on top of it. ","version":"Next","tagName":"h2"},{"title":"Local First / Offline First","type":0,"sectionRef":"#","url":"/offline-first.html","content":"","keywords":"","version":"Next"},{"title":"UX is better without loading spinners","type":1,"pageTitle":"Local First / Offline First","url":"/offline-first.html#ux-is-better-without-loading-spinners","content":" In 'normal' web applications, most user interactions like fetching, saving or deleting data, correspond to a request to the backend server. This means that each of these interactions require the user to await the unknown latency to and from a remote server while looking at a loading spinner. In offline-first apps, the operations go directly against the local storage which happens almost instantly. There is no perceptible loading time and so it is not even necessary to implement a loading spinner at all. As soon as the user clicks, the UI represents the new state as if it was already changed in the backend. ","version":"Next","tagName":"h2"},{"title":"Multi-tab usage just works","type":1,"pageTitle":"Local First / Offline First","url":"/offline-first.html#multi-tab-usage-just-works","content":" Many, even big websites like amazon, reddit and stack overflow do not handle multi tab usage correctly. When a user has multiple tabs of the website open and does a login on one of these tabs, the state does not change on the other tabs. On offline first applications, there is always exactly one state of the data across all tabs. Offline first databases (like RxDB) store the data inside of IndexedDb and share the state between all tabs of the same origin. ","version":"Next","tagName":"h2"},{"title":"Latency is more important than bandwidth","type":1,"pageTitle":"Local First / Offline First","url":"/offline-first.html#latency-is-more-important-than-bandwidth","content":" In the past, often the bandwidth was the limiting factor on determining the loading time of an application. But while bandwidth has improved over the years, latency became the limiting factor. You can always increase the bandwidth by setting up more cables or sending more Starlink satellites to space. But reducing the latency is not so easy. It is defined by the physical properties of the transfer medium, the speed of light and the distance to the server. All of these three are hard to optimize. Offline first application benefit from that because sending the initial state to the client can be done much faster with more bandwidth. And once the data is there, we do no longer have to care about the latency to the backend server because you can run near zero latency queries locally. ","version":"Next","tagName":"h2"},{"title":"Realtime comes for free","type":1,"pageTitle":"Local First / Offline First","url":"/offline-first.html#realtime-comes-for-free","content":" Most websites lie to their users. They do not lie because they display wrong data, but because they display old data that was loaded from the backend at the time the user opened the site. To overcome this, you could build a realtime website where you create a websocket that streams updates from the backend to the client. This means work. Your client needs to tell the server which page is currently opened and which updates the client is interested to. Then the server can push updates over the websocket and you can update the UI accordingly. With offline first applications, you already have a realtime replication with the backend. Most offline first databases provide some concept of changestream or data subscriptions and with RxDB you can even directly subscribe to query results or single fields of documents. This makes it easy to have an always updated UI whenever data on the backend changes. ","version":"Next","tagName":"h2"},{"title":"Scales with data size, not with the amount of user interaction","type":1,"pageTitle":"Local First / Offline First","url":"/offline-first.html#scales-with-data-size-not-with-the-amount-of-user-interaction","content":" On normal applications, each user interaction can result in multiple requests to the backend server which increase its load. The more users interact with your application, the more backend resources you have to provide. Offline first applications do not scale up with the amount of user actions but instead they scale up with the amount of data. Once that data is transferred to the client, the user can do as many interactions with it as required without connecting to the server. ","version":"Next","tagName":"h2"},{"title":"Modern apps have longer runtimes","type":1,"pageTitle":"Local First / Offline First","url":"/offline-first.html#modern-apps-have-longer-runtimes","content":" In the past you used websites only for a short time. You open it, perform some action and then close it again. This made the first load time the important metric when evaluating page speed. Today web applications have changed and with it the way we use them. Single page applications are opened once and then used over the whole day. Chat apps, email clients, PWAs and hybrid apps. All of these were made to have long runtimes. This makes the time for user interactions more important than the initial loading time. Offline first applications benefit from that because there is often no loading time on user actions while loading the initial state to the client is not that relevant. ","version":"Next","tagName":"h2"},{"title":"You might not need REST","type":1,"pageTitle":"Local First / Offline First","url":"/offline-first.html#you-might-not-need-rest","content":" On normal web applications, you make different requests for each kind of data interaction. For that you have to define a swagger route, implement a route handler on the backend and create some client code to send or fetch data from that route. The more complex your application becomes, the more REST routes you have to maintain and implement. With offline first apps, you have a way to hack around all this cumbersome work. You just replicate the whole state from the server to the client. The replication does not only run once, you have a realtime replication and all changes at one side are automatically there on the other side. On the client, you can access every piece of state with a simple database query. While this of course only works for amounts of data that the client can load and store, it makes implementing prototypes and simple apps much faster. ","version":"Next","tagName":"h2"},{"title":"You might not need Redux","type":1,"pageTitle":"Local First / Offline First","url":"/offline-first.html#you-might-not-need-redux","content":" Data is hard, especially for UI applications where many things can happen at the same time. The user is clicking around. Stuff is loaded from the server. All of these things interact with the global state of the app. To manage this complexity it is common to use state management libraries like Redux or MobX. With them, you write all this lasagna code to wrap the mutation of data and to make the UI react to all these changes. On offline first apps, your global state is already there in a single place stored inside of the local database. You do not have to care whether this data came from the UI, another tab, the backend or another device of the same user. You can just make writes to the database and fetch data out of it. ","version":"Next","tagName":"h2"},{"title":"Follow up","type":1,"pageTitle":"Local First / Offline First","url":"/offline-first.html#follow-up","content":" Learn how to store and query data with RxDB in the RxDB QuickstartDownsides of Offline FirstI wrote a follow-up version of offline/first local first about Why Local-First Is the Future and what are Its Limitations ","version":"Next","tagName":"h2"},{"title":"Object-Data-Relational-Mapping","type":0,"sectionRef":"#","url":"/orm.html","content":"","keywords":"","version":"Next"},{"title":"statics","type":1,"pageTitle":"Object-Data-Relational-Mapping","url":"/orm.html#statics","content":" Statics are defined collection-wide and can be called on the collection. ","version":"Next","tagName":"h2"},{"title":"Add statics to a collection","type":1,"pageTitle":"Object-Data-Relational-Mapping","url":"/orm.html#add-statics-to-a-collection","content":" To add static functions, pass a statics-object when you create your collection. The object contains functions, mapped to their function-names. const heroes = await myDatabase.addCollections({ heroes: { schema: mySchema, statics: { scream: function(){ return 'AAAH!!'; } } } }); console.log(heroes.scream()); // 'AAAH!!' You can also use the this-keyword which resolves to the collection: const heroes = await myDatabase.addCollections({ heroes: { schema: mySchema, statics: { whoAmI: function(){ return this.name; } } } }); console.log(heroes.whoAmI()); // 'heroes' ","version":"Next","tagName":"h3"},{"title":"instance-methods","type":1,"pageTitle":"Object-Data-Relational-Mapping","url":"/orm.html#instance-methods","content":" Instance-methods are defined collection-wide. They can be called on the RxDocuments of the collection. ","version":"Next","tagName":"h2"},{"title":"Add instance-methods to a collection","type":1,"pageTitle":"Object-Data-Relational-Mapping","url":"/orm.html#add-instance-methods-to-a-collection","content":" const heroes = await myDatabase.addCollections({ heroes: { schema: mySchema, methods: { scream: function(){ return 'AAAH!!'; } } } }); const doc = await heroes.findOne().exec(); console.log(doc.scream()); // 'AAAH!!' Here you can also use the this-keyword: const heroes = await myDatabase.addCollections({ heroes: { schema: mySchema, methods: { whoAmI: function(){ return 'I am ' + this.name + '!!'; } } } }); await heroes.insert({ name: 'Skeletor' }); const doc = await heroes.findOne().exec(); console.log(doc.whoAmI()); // 'I am Skeletor!!' ","version":"Next","tagName":"h3"},{"title":"attachment-methods","type":1,"pageTitle":"Object-Data-Relational-Mapping","url":"/orm.html#attachment-methods","content":" Attachment-methods are defined collection-wide. They can be called on the RxAttachments of the RxDocuments of the collection. const heroes = await myDatabase.addCollections({ heroes: { schema: mySchema, attachments: { scream: function(){ return 'AAAH!!'; } } } }); const doc = await heroes.findOne().exec(); const attachment = await doc.putAttachment({ id: 'cat.txt', data: 'meow I am a kitty', type: 'text/plain' }); console.log(attachment.scream()); // 'AAAH!!' ","version":"Next","tagName":"h2"},{"title":"RxDB Documentation","type":0,"sectionRef":"#","url":"/overview.html","content":"RxDB Documentation Getting Started Overview Quickstart Install Dev-mode Typescript Core Entities RxDatabase RxSchema RxCollection RxDocument RxQuery 💾 Storages RxStorage Overview LocalStorage (Browser) IndexedDB 👑 (Browser, Capacitor) OPFS 👑 (Browser) Memory Filesystem Node 👑 (Node.js) SQLite (Capacitor, React-Native, Expo, Tauri, Electron, Node.js) Dexie.js MongoDB DenoKV FoundationDB Storage Wrappers Schema Validation Encryption Key Compression Logger 👑 Remote RxStorage Worker RxStorage 👑 SharedWorker RxStorage 👑 Memory Mapped RxStorage 👑 Sharding 👑 Localstorage Meta Optimizer 👑 Electron 🔄 Replication ⚙️ Sync Engine HTTP Replication RxServer Replication GraphQL Replication WebSocket Replication CouchDB Replication WebRTC P2P Replication Firestore Replication MongoDB Replication Supabase Replication NATS Replication Appwrite Replication Server RxServer RxServer Scaling How RxDB works Transactions Conflicts Revisions Query Cache Creating Plugins Errors Advanced Features Schema Migration Storage Migration Attachments RxPipelines Custom Reactivity RxState Local Documents Cleanup Backup Leader Election Middleware CRDT Population ORM Fulltext Search 👑 Vector Database Query Optimizer 👑 Third Party Plugins Integrations React TanStack DB Performance RxStorage Performance NoSQL Performance Tips Slow IndexedDB LocalStorage vs. IndexedDB vs. Cookies vs. OPFS vs. WASM-SQLite Releases 17.0.0 16.0.0 15.0.0 14.0.0 13.0.0 12.0.0 11.0.0 10.0.0 9.0.0 8.0.0 Contact Consulting Discord LinkedIn","keywords":"","version":"Next"},{"title":"Performance tips for RxDB and other NoSQL databases","type":0,"sectionRef":"#","url":"/nosql-performance-tips.html","content":"","keywords":"","version":"Next"},{"title":"Use bulk operations","type":1,"pageTitle":"Performance tips for RxDB and other NoSQL databases","url":"/nosql-performance-tips.html#use-bulk-operations","content":" When you run write operations on multiple documents, make sure you use bulk operations instead of single document operations. // wrong ❌ for(const docData of dataAr){ await myCollection.insert(docData); } // right ✔️ await myCollection.bulkInsert(dataAr); ","version":"Next","tagName":"h2"},{"title":"Help the query planner by adding operators that better restrict the index range","type":1,"pageTitle":"Performance tips for RxDB and other NoSQL databases","url":"/nosql-performance-tips.html#help-the-query-planner-by-adding-operators-that-better-restrict-the-index-range","content":" Often on complex queries, RxDB (and other databases) do not pick the optimal index range when querying a result set. You can add additional restrictive operators to ensure the query runs over a smaller index space and has a better performance. Lets see some examples for different query types. /** * Adding a restrictive operator for an $or query * so that it better limits the index space for the time-field. */ const orQuery = { selector: { $or: [ { time: { $gt: 1234 }, }, { time: { $eg: 1234 }, user: { $gt: 'foobar' } }, ] time: { $gte: 1234 } // <- add restrictive operator } } /** * Adding a restrictive operator for an $regex query * so that it better limits the index space for the user-field. * We know that all matching fields start with 'foo' so we can * tell the query to use that as lower constraint for the index. */ const regexQuery = { selector: { user: { $regex: '^foo(.*)0-9$', // a complex regex with a ^ in the beginning $gte: 'foo' // <- add restrictive operator } } } /** * Adding a restrictive operator for a query on an enum field. * so that it better limits the index space for the time-field. */ const enumQuery = { selector: { /** * Here lets assume our status field has the enum type ['idle', 'in-progress', 'done'] * so our restrictive operator can exclude all documents with 'done' as status. */ status: { $in: { 'idle', 'in-progress', }, $gt: 'done' // <- add restrictive operator on status } } } ","version":"Next","tagName":"h2"},{"title":"Set a specific index","type":1,"pageTitle":"Performance tips for RxDB and other NoSQL databases","url":"/nosql-performance-tips.html#set-a-specific-index","content":" Sometime the query planner of the database itself has no chance in picking the best index of the possible given indexes. For queries where performance is very important, you might want to explicitly specify which index must be used. const myQuery = myCollection.find({ selector: { /* ... */ }, // explicitly specify index index: [ 'fieldA', 'fieldB' ] }); ","version":"Next","tagName":"h2"},{"title":"Try different ordering of index fields","type":1,"pageTitle":"Performance tips for RxDB and other NoSQL databases","url":"/nosql-performance-tips.html#try-different-ordering-of-index-fields","content":" The order of the fields in a compound index is very important for performance. When optimizing index usage, you should try out different orders on the index fields and measure which runs faster. For that it is very important to run tests on real-world data where the distribution of the data is the same as in production. For example when there is a query on a user collection with an age and a gender field, it depends if the index ['gender', 'age'] performance better as ['age', 'gender'] based on the distribution of data: const query = myCollection .findOne({ selector: { age: { $gt: 18 }, gender: { $eq: 'm' } }, /** * Because the developer knows that 50% of the documents are 'male', * but only 20% are below age 18, * it makes sense to enforce using the ['gender', 'age'] index to improve performance. * This could not be known by the query planer which might have chosen ['age', 'gender'] instead. */ index: ['gender', 'age'] }); Notice that RxDB has the Query Optimizer Plugin that can be used to automatically find the best indexes. ","version":"Next","tagName":"h2"},{"title":"Make a Query \"hot\" to reduce load","type":1,"pageTitle":"Performance tips for RxDB and other NoSQL databases","url":"/nosql-performance-tips.html#make-a-query-hot-to-reduce-load","content":" Having a query where the up-to-date result set is needed more than once, you might want to make the query "hot" by permanently subscribing to it. This ensures that the query result is kept up to date by RxDB ant the EventReduce algorithm at any time so that at the moment you need the current results, it has them already. For example when you use RxDB at Node.js for a webserver, you should use an outer "hot" query instead of running the same query again on every request to a route. // wrong ❌ app.get('/list', (req, res) => { const result = await myCollection.find({/* ... */}).exec(); res.send(JSON.stringify(result)); }); // right ✔️ const query = myCollection.find({/* ... */}); query.subscribe(); // <- make it hot app.get('/list', (req, res) => { const result = await query.exec(); res.send(JSON.stringify(result)); }); ","version":"Next","tagName":"h2"},{"title":"Store parts of your document data as attachment","type":1,"pageTitle":"Performance tips for RxDB and other NoSQL databases","url":"/nosql-performance-tips.html#store-parts-of-your-document-data-as-attachment","content":" For in-app databases like RxDB, it does not make sense to partially parse the JSON of a document. Instead, always the whole document json is parsed and handled. This has a better performance because JSON.parse() in JavaScript directly calls a C++ binding which can parse really fast compared to a partial parsing in JavaScript itself. Also by always having the full document, RxDB can de-duplicate memory caches of document across multiple queries. The downside is that very very big documents with a complex structure can increase query time significantly. Documents fields with complex that are mostly not in use, can be move into an attachment. This would lead RxDB to not fetch the attachment data each time the document is loaded from disc. Instead only when explicitly asked for. const myDocument = await myCollection.insert({/* ... */}); const attachment = await myDocument.putAttachment( { id: 'otherStuff.json', data: createBlob(JSON.stringify({/* ... */}), 'application/json'), type: 'application/json' } ); ","version":"Next","tagName":"h2"},{"title":"Process queries in a worker process","type":1,"pageTitle":"Performance tips for RxDB and other NoSQL databases","url":"/nosql-performance-tips.html#process-queries-in-a-worker-process","content":" Moving database storage into a WebWorker can significantly improve performance in web applications that use RxDB or similar NoSQL databases. When database operations are executed in the main JavaScript thread, they can block or slow down the User Interface, especially during heavy or complex data operations. By offloading these operations to a WebWorker, you effectively separate the data processing workload from the UI thread. This means the main thread remains free to handle user interactions and render updates without delay, leading to a smoother and more responsive user experience. Additionally, WebWorkers allow for parallel data processing, which can expedite tasks like querying and indexing. This approach not only enhances UI responsiveness but also optimizes overall application performance by leveraging the multi-threading capabilities of modern browsers. With RxDB you can use the Worker and SharedWorker plugin to move the query processing away from the main thread. ","version":"Next","tagName":"h2"},{"title":"Use less plugins and hooks","type":1,"pageTitle":"Performance tips for RxDB and other NoSQL databases","url":"/nosql-performance-tips.html#use-less-plugins-and-hooks","content":" Utilizing fewer hooks and plugins in RxDB or similar NoSQL database systems can lead to markedly better performance. Each additional hook or plugin introduces extra layers of processing and potential overhead, which can cumulatively slow down database operations. These extensions often execute additional code or enforce extra checks with each operation, such as insertions, updates, or deletions. While they can provide valuable functionalities or custom behaviors, their overuse can inadvertently increase the complexity and execution time of basic database operations. By minimizing their use and only employing essential hooks and plugins, the system can operate more efficiently. This streamlined approach reduces the computational burden on each transaction, leading to faster response times and a more efficient overall data handling process, especially critical in high-load or real-time applications where performance is paramount. ","version":"Next","tagName":"h2"},{"title":"Creating Plugins","type":0,"sectionRef":"#","url":"/plugins.html","content":"","keywords":"","version":"Next"},{"title":"rxdb","type":1,"pageTitle":"Creating Plugins","url":"/plugins.html#rxdb","content":" The rxdb-property signals that this plugin is an rxdb-plugin. The value should always be true. ","version":"Next","tagName":"h2"},{"title":"prototypes","type":1,"pageTitle":"Creating Plugins","url":"/plugins.html#prototypes","content":" The prototypes-property contains a function for each of RxDB's internal prototype that you want to manipulate. Each function gets the prototype-object of the corresponding class as parameter and then can modify it. You can see a list of all available prototypes here ","version":"Next","tagName":"h2"},{"title":"overwritable","type":1,"pageTitle":"Creating Plugins","url":"/plugins.html#overwritable","content":" Some of RxDB's functions are not inside of a class-prototype but are static. You can set and overwrite them with the overwritable-object. You can see a list of all overwritables here. hooks Sometimes you don't want to overwrite an existing RxDB-method, but extend it. You can do this by adding hooks which will be called each time the code jumps into the hooks corresponding call. You can find a list of all hooks here. options RxDatabase and RxCollection have an additional options-parameter, which can be filled with any data required be the plugin. const collection = myDatabase.addCollections({ foo: { schema: mySchema, options: { // anything can be passed into the options foo: ()=>'bar' } } }) // Afterwards you can use these options in your plugin. collection.options.foo(); // 'bar' ","version":"Next","tagName":"h2"},{"title":"Population","type":0,"sectionRef":"#","url":"/population.html","content":"","keywords":"","version":"Next"},{"title":"Schema with ref","type":1,"pageTitle":"Population","url":"/population.html#schema-with-ref","content":" The ref-keyword in properties describes to which collection the field-value belongs to (has a relationship). export const refHuman = { title: 'human related to other human', version: 0, primaryKey: 'name', properties: { name: { type: 'string' }, bestFriend: { ref: 'human', // refers to collection human type: 'string' // ref-values must always be string or ['string','null'] (primary of foreign RxDocument) } } }; You can also have a one-to-many reference by using a string-array. export const schemaWithOneToManyReference = { version: 0, primaryKey: 'name', type: 'object', properties: { name: { type: 'string' }, friends: { type: 'array', ref: 'human', items: { type: 'string' } } } }; ","version":"Next","tagName":"h2"},{"title":"populate()","type":1,"pageTitle":"Population","url":"/population.html#populate","content":" ","version":"Next","tagName":"h2"},{"title":"via method","type":1,"pageTitle":"Population","url":"/population.html#via-method","content":" To get the referred RxDocument, you can use the populate()-method. It takes the field-path as attribute and returns a Promise which resolves to the foreign document or null if not found. await humansCollection.insert({ name: 'Alice', bestFriend: 'Carol' }); await humansCollection.insert({ name: 'Bob', bestFriend: 'Alice' }); const doc = await humansCollection.findOne('Bob').exec(); const bestFriend = await doc.populate('bestFriend'); console.dir(bestFriend); //> RxDocument[Alice] ","version":"Next","tagName":"h3"},{"title":"via getter","type":1,"pageTitle":"Population","url":"/population.html#via-getter","content":" You can also get the populated RxDocument with the direct getter. Therefore you have to add an underscore suffix _ to the fieldname. This works also on nested values. await humansCollection.insert({ name: 'Alice', bestFriend: 'Carol' }); await humansCollection.insert({ name: 'Bob', bestFriend: 'Alice' }); const doc = await humansCollection.findOne('Bob').exec(); const bestFriend = await doc.bestFriend_; // notice the underscore_ console.dir(bestFriend); //> RxDocument[Alice] ","version":"Next","tagName":"h3"},{"title":"Example with nested reference","type":1,"pageTitle":"Population","url":"/population.html#example-with-nested-reference","content":" const myCollection = await myDatabase.addCollections({ human: { schema: { version: 0, type: 'object', properties: { name: { type: 'string' }, family: { type: 'object', properties: { mother: { type: 'string', ref: 'human' } } } } } } }); const mother = await myDocument.family.mother_; console.dir(mother); //> RxDocument ","version":"Next","tagName":"h2"},{"title":"Example with array","type":1,"pageTitle":"Population","url":"/population.html#example-with-array","content":" const myCollection = await myDatabase.addCollections({ human: { schema: { version: 0, type: 'object', properties: { name: { type: 'string' }, friends: { type: 'array', ref: 'human', items: { type: 'string' } } } } } }); //[insert other humans here] await myCollection.insert({ name: 'Alice', friends: [ 'Bob', 'Carol', 'Dave' ] }); const doc = await humansCollection.findOne('Alice').exec(); const friends = await myDocument.friends_; console.dir(friends); //> Array.<RxDocument> ","version":"Next","tagName":"h2"},{"title":"QueryCache","type":0,"sectionRef":"#","url":"/query-cache.html","content":"","keywords":"","version":"Next"},{"title":"Cache Replacement Policy","type":1,"pageTitle":"QueryCache","url":"/query-cache.html#cache-replacement-policy","content":" To not let RxDB fill up all the memory, a cache replacement policy is defined that clears up the cached queries. This is implemented as a function which runs regularly, depending on when queries are created and the database is idle. The default policy should be good enough for most use cases but defining custom ones can also make sense. ","version":"Next","tagName":"h2"},{"title":"The default policy","type":1,"pageTitle":"QueryCache","url":"/query-cache.html#the-default-policy","content":" The default policy starts cleaning up queries depending on how much queries are in the cache and how much document data they contain. It will never uncache queries that have subscribers to their resultsIt tries to always have less than 100 queries without subscriptions in the cache.It prefers to uncache queries that have never executed and are older than 30 secondsIt prefers to uncache queries that have not been used for longer time ","version":"Next","tagName":"h2"},{"title":"Other references to queries","type":1,"pageTitle":"QueryCache","url":"/query-cache.html#other-references-to-queries","content":" With JavaScript, it is not possible to count references to variables. Therefore it might happen that an uncached RxQuery is still referenced by the users code and used to get results. This should never be a problem, uncached queries must still work. Creating the same query again however, will result in having two RxQuery instances instead of one. ","version":"Next","tagName":"h2"},{"title":"Using a custom policy","type":1,"pageTitle":"QueryCache","url":"/query-cache.html#using-a-custom-policy","content":" A cache replacement policy is a normal JavaScript function according to the type RxCacheReplacementPolicy. It gets the RxCollection as first parameter and the QueryCache as second. Then it iterates over the cached RxQuery instances and uncaches the desired ones with uncacheRxQuery(rxQuery). When you create your custom policy, you should have a look at the default. To apply a custom policy to a RxCollection, add the function as attribute cacheReplacementPolicy. const collection = await myDatabase.addCollections({ humans: { schema: mySchema, cacheReplacementPolicy: function(){ /* ... */ } } }); ","version":"Next","tagName":"h2"},{"title":"Query Optimizer","type":0,"sectionRef":"#","url":"/query-optimizer.html","content":"","keywords":"","version":"Next"},{"title":"Usage","type":1,"pageTitle":"Query Optimizer","url":"/query-optimizer.html#usage","content":" import { findBestIndex } from 'rxdb-premium/plugins/query-optimizer'; import { getRxStorageIndexedDB } from 'rxdb-premium/plugins/indexeddb'; const bestIndexes = await findBestIndex({ schema: myRxJsonSchema, /** * In this example we use the IndexedDB RxStorage, * but any other storage can be used for testing. */ storage: getRxStorageIndexedDB(), /** * Multiple queries can be optimized at the same time * which decreases the overall runtime. */ queries: { /** * Queries can be mapped by a query id, * here we use myFirstQuery as query id. */ myFirstQuery: { selector: { age: { $gt: 10 } }, }, mySecondQuery: { selector: { age: { $gt: 10 }, lastName: { $eq: 'Nakamoto' } }, } }, testData: [/** data for the documents. **/] }); ","version":"Next","tagName":"h2"},{"title":"Important details","type":1,"pageTitle":"Query Optimizer","url":"/query-optimizer.html#important-details","content":" This is a build time tool. You should use it to find the best indexes for your queries during build time. Then you store these results and you application can use the best indexes during run time. It makes no sense to run time optimization with a different RxStorage (+settings) that what you use in production. The result of the query optimizer is heavily dependent on the RxStorage and JavaScript runtime. For example it makes no sense to run the optimization in Node.js and then use the optimized indexes in the browser. It is very important that you use production liketestData. Finding the best index heavily depends on data distribution and amount of stored/queried documents. For example if you store and query users with an age field, it makes no sense to just use a random number for the age because in production the age of your users is not equally distributed. The higher you set runs, the more test cycles will be performed and the more significant will be the time measurements which leads to a better index selection. ","version":"Next","tagName":"h2"},{"title":"Signals & Co. - Custom reactivity adapters instead of RxJS Observables","type":0,"sectionRef":"#","url":"/reactivity.html","content":"","keywords":"","version":"Next"},{"title":"RxDB Quickstart","type":0,"sectionRef":"#","url":"/quickstart.html","content":"","keywords":"","version":"Next"},{"title":"Next steps","type":1,"pageTitle":"RxDB Quickstart","url":"/quickstart.html#next-steps","content":" You are now ready to dive deeper into RxDB. Start reading the full documentation here.There is a full implementation of the quickstart guide so you can clone that repository and play with the code.For frameworks and runtimes like Angular, React Native and others, check out the list of example implementations.Also please continue reading the documentation, join the community on our Discord chat, and star the GitHub repo.If you are using RxDB in a production environment and are able to support its continued development, please take a look at the 👑 Premium package which includes additional plugins and utilities. ","version":"Next","tagName":"h2"},{"title":"Adding a reactivity factory","type":1,"pageTitle":"Signals & Co. - Custom reactivity adapters instead of RxJS Observables","url":"/reactivity.html#adding-a-reactivity-factory","content":" Angular React Vue In angular we use Angular Signals as custom reactivity objects. 1 Import import { createReactivityFactory } from 'rxdb/plugins/reactivity-angular'; import { Injectable, inject } from '@angular/core'; 2 Set the reactivity factory Set the factory as reactivity option when calling createRxDatabase. const database = await createRxDatabase({ name: 'mydb', storage: getRxStorageLocalstorage(), reactivity: createReactivityFactory(inject(Injector)) }); // add collections/sync etc... 3 Use the Signal in an Angular component import { Component, inject } from '@angular/core'; import { CommonModule } from '@angular/common'; import { DbService } from '../db.service'; @Component({ selector: 'app-todos-list', standalone: true, imports: [CommonModule], template: ` <ul> <li *ngFor="let t of todosSignal();" >{{ t.title }}</li> </ul> `, }) export class TodosListComponent { private dbService = inject(DbService); // RxDB query - Angular Signal readonly todosSignal = this.dbService.db.todos.find().$$; } An example of how signals are used in angular with RxDB, can be found at the RxDB Angular Example ","version":"Next","tagName":"h2"},{"title":"Accessing custom reactivity objects","type":1,"pageTitle":"Signals & Co. - Custom reactivity adapters instead of RxJS Observables","url":"/reactivity.html#accessing-custom-reactivity-objects","content":" All observable data in RxDB is marked by the single dollar sign $ like RxCollection.$ for events or RxDocument.myField$ to get the observable for a document field. To make custom reactivity objects distinguable, they are marked with double-dollar signs $$ instead. Here are some example on how to get custom reactivity objects from RxDB specific instances: // RxDocument // get signal that represents the document field 'foobar' const signal = myRxDocument.get$$('foobar'); // same as above const signal = myRxDocument.foobar$$; // get signal that represents whole document over time const signal = myRxDocument.$$; // get signal that represents the deleted state of the document const signal = myRxDocument.deleted$$; // RxQuery // get signal that represents the query result set over time const signal = collection.find().$$; // get signal that represents the query result set over time const signal = collection.findOne().$$; // RxLocalDocument // get signal that represents the whole local document state const signal = myRxLocalDocument.$$; // get signal that represents the foobar field const signal = myRxLocalDocument.get$$('foobar'); ","version":"Next","tagName":"h2"},{"title":"React","type":0,"sectionRef":"#","url":"/react.html","content":"","keywords":"","version":"Next"},{"title":"General concept","type":1,"pageTitle":"React","url":"/react.html#general-concept","content":" RxDB is internally reactive and emits changes via RxJS observables. React and React Native, however, are render-driven frameworks that rely on component state and hooks. The RxDB React integration bridges these two models by exposing a small set of hooks that translate RxDB state into React renders. Instead of hiding reactivity behind configuration flags, the integration uses explicit hooks. This makes component behavior predictable, avoids accidental subscriptions, and keeps performance characteristics easy to reason about. ","version":"Next","tagName":"h2"},{"title":"Usage","type":1,"pageTitle":"React","url":"/react.html#usage","content":" 1 Installation Install RxDB and React as usual: npm install rxdb react react-dom 2 Database creation Database creation is not part of the React integration itself. RxDB is created in the same way as in non-React applications, including storage selection, plugins, replication, hooks, and schema definitions. This separation is intentional. React components should never be responsible for creating or configuring the database. They should only consume it. import { createRxDatabase, addRxPlugin } from 'rxdb'; import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage'; async function getDatabase() { const db = await createRxDatabase({ name: 'heroesreactdb', storage: getRxStorageLocalstorage() }); await db.addCollections({ heroes: { schema: myRxSchema } }); /** * Do other stuff here * like setting up middleware * or starting replication. */ return db; } 3 Providing the database To use RxDB in a React or React Native application, the database instance must be provided via a context. This is done using RxDatabaseProvider. The database itself is created outside of React, usually in a separate module. The provider is only responsible for making the database available to components once it has been initialized. import React, { useEffect, useState } from 'react'; import { RxDatabaseProvider } from 'rxdb/plugins/react'; import { getDatabase } from './Database'; const App = () => { const [database, setDatabase] = useState(); useEffect(() => { const initDb = async () => { const db = await getDatabase(); setDatabase(db); }; initDb(); }, []); if (database == null) { return <span> Loading <a href="https://rxdb.info/react.html">RxDB</a> database... </span>; } return ( <RxDatabaseProvider database={database}> {/* your application */} </RxDatabaseProvider> ); }; export default App; 4 Accessing collections import { useRxCollection } from 'rxdb/plugins/react'; const collection = useRxCollection('heroes'); The hook returns the collection once it becomes available. During the initial render, the value may be undefined, so components must handle this case. This hook does not subscribe to any data. It only provides access to the collection instance. 5 Queries To render query results in your component, use the useRxQuery hook. import { useRxQuery } from 'rxdb/plugins/react'; const query = { collection: 'heroes', query: { selector: {}, sort: [{ name: 'asc' }] } }; const HeroCount = () => { const { results, loading } = useRxQuery(query); if (loading) { return <span>Loading...</span>; } return <span>Total heroes: {results.length}</span>; }; The query is executed when the component renders. If the component re-renders, the query may be re-executed, but changes in the underlying data will not automatically trigger updates. This hook is well suited for static views, server-side rendering, and cases where live updates are not required. 6 Live queries Most React applications require views that automatically update when the database changes. For this purpose, RxDB provides the useLiveRxQuery hook. The hook accepts a query description object and returns the current results together with a loading state. import { useLiveRxQuery } from 'rxdb/plugins/react'; const query = { collection: 'heroes', query: { selector: {}, sort: [{ name: 'asc' }] } }; const HeroList = () => { const { results, loading } = useLiveRxQuery(query); if (loading) { return <span>Loading...</span>; } return ( <ul> {results.map(hero => ( <li key={hero.name}>{hero.name}</li> ))} </ul> ); }; The component automatically re-renders whenever the query result changes. Subscriptions are created when the component mounts and are cleaned up automatically when the component unmounts. The returned documents are fully reactive RxDB documents and can be modified or removed directly. ","version":"Next","tagName":"h2"},{"title":"React Native compatibility","type":1,"pageTitle":"React","url":"/react.html#react-native-compatibility","content":" All hooks and providers described on this page work the same way in React Native. The React integration does not rely on any browser-specific APIs. The only platform-specific part of a React Native setup is database creation, where a different storage plugin is typically used. Once the database is created, the React integration behaves identically. ","version":"Next","tagName":"h2"},{"title":"Signals","type":1,"pageTitle":"React","url":"/react.html#signals","content":" In addition to the React hooks shown on this page, RxDB also supports alternative reactivity models such as signals. RxDB's core reactivity system can be configured to expose reactive values using different primitives instead of RxJS observables, which makes it possible to integrate RxDB with signal-based approaches in React or other frameworks. This is an advanced capability and is independent of the React integration described here. For more details about how RxDB's reactivity system works and how custom reactivity can be configured, see the Reactivity documentation. ","version":"Next","tagName":"h2"},{"title":"Follow Up","type":1,"pageTitle":"React","url":"/react.html#follow-up","content":" RxDB includes a full React example application that demonstrates the patterns described on this page, including database creation outside of React, usage of RxDatabaseProvider, and data access via useRxQuery, useLiveRxQuery, and `useRxCollection. A corresponding React Native example is also available and shows the same integration concepts applied in a mobile environment, with only the platform-specific storage and setup differing. ","version":"Next","tagName":"h2"},{"title":"React Native Database","type":0,"sectionRef":"#","url":"/react-native-database.html","content":"","keywords":"","version":"Next"},{"title":"Database Solutions for React-Native","type":1,"pageTitle":"React Native Database","url":"/react-native-database.html#database-solutions-for-react-native","content":" There are multiple database solutions that can be used with React Native. While I would recommend to use RxDB for most use cases, it is still helpful to learn about other alternatives. ","version":"Next","tagName":"h2"},{"title":"AsyncStorage","type":1,"pageTitle":"React Native Database","url":"/react-native-database.html#asyncstorage","content":" AsyncStorage is a key->value storage solution that works similar to the browsers localstorage API. The big difference is that access to the AsyncStorage is not a blocking operation but instead everything is Promise based. This is a big benefit because long running writes and reads will not block your JavaScript process which would cause a laggy user interface. /** * Because it is Promise-based, * you have to 'await' the call to getItem() */ await setItem('myKey', 'myValue'); const value = await AsyncStorage.getItem('myKey'); AsyncStorage was originally included in React Native itself. But it was deprecated by the React Native Team which recommends to use a community based package instead. There is a community fork of AsyncStorage that is actively maintained and open source. AsyncStorage is fine when only a small amount of data needs to be stored and when no query capabilities besides the key-access are required. Complex queries or features are not supported which makes AsyncStorage not suitable for anything more than storing simple user settings data. ","version":"Next","tagName":"h3"},{"title":"SQLite","type":1,"pageTitle":"React Native Database","url":"/react-native-database.html#sqlite","content":" SQLite is a SQL based relational database written in C that was crafted to be embed inside of applications. Operations are written in the SQL query language and SQLite generally follows the PostgreSQL syntax. To use SQLite in React Native, you first have to include the SQLite library itself as a plugin. There a different project out there that can be used, but I would recommend to use the react-native-quick-sqlite project. First you have to install the library into your React Native project via npm install react-native-quick-sqlite. In your code you can then import the library and create a database connection: import {open} from 'react-native-quick-sqlite'; const db = open('myDb.sqlite'); Notice that SQLite is a file based database where all data is stored directly in the filesystem of the OS. Therefore to create a connection, you have to provide a filename. With the open connection you can then run SQL queries: let { rows } = db.execute('SELECT somevalue FROM sometable'); If that does not work for you, you might want to try the react-native-sqlite-storage project instead which is also very popular. Downsides of Using SQLite in UI-Based Apps While SQLite is reliable and well-tested, it has several shortcomings when it comes to using it directly in UI-based React Native applications: Lack of Observability: Out of the box, SQLite does not offer a straightforward way to observe queries or document fields. This means that implementing real-time data updates in your UI requires additional layers or libraries.Bridging Overhead: Each query or data operation must go through the React Native bridge to access the native SQLite module. This can introduce performance bottlenecks or responsiveness issues, especially for large or complex data operations.No Built-In Replication: SQLite on its own is not designed for syncing data across multiple devices or with a backend. If your app requires multi-device data syncing or offline-first features, additional tools or a custom solution are necessary.Version Management: Handling schema changes often requires a custom migration process. If your data structure evolves frequently, managing these migrations can be cumbersome. Overall, SQLite can be a good solution for straightforward, local-only data storage where complex real-time features or synchronization are not needed. For more advanced requirements, like reactive UI updates or multi-client data replication, you'll likely want a more feature-rich solution. ","version":"Next","tagName":"h3"},{"title":"PouchDB","type":1,"pageTitle":"React Native Database","url":"/react-native-database.html#pouchdb","content":" PouchDB is a JavaScript NoSQL database that follows the API of the Apache CouchDB server database. The core feature of PouchDB is the ability to do a two-way replication with any CouchDB compliant endpoint. While PouchDB is pretty mature, it has some drawbacks that blocks it from being used in a client-side React Native application. For example it has to store all documents states over time which is required to replicate with CouchDB. Also it is not easily possible to fully purge documents and so it will fill up disc space over time. A big problem is also that PouchDB is not really maintained and major bugs like wrong query results are not fixed anymore. The performance of PouchDB is a general bottleneck which is caused by how it has to store and fetch documents while being compliant to CouchDB. The only real reason to use PouchDB in React Native, is when you want to replicate with a CouchDB or Couchbase server. Because PouchDB is based on an adapter system for storage, there are two options to use it with React Native: Either use the pouchdb-adapter-react-native-sqlite adapteror the pouchdb-adapter-asyncstorage adapter. Because the asyncstorage adapter is no longer maintained, it is recommended to use the native-sqlite adapter: First you have to install the adapter and other dependencies via npm install pouchdb-adapter-react-native-sqlite react-native-quick-sqlite react-native-quick-websql. Then you have to craft a custom PouchDB class that combines these plugins: import 'react-native-get-random-values'; import PouchDB from 'pouchdb-core'; import HttpPouch from 'pouchdb-adapter-http'; import replication from 'pouchdb-replication'; import mapreduce from 'pouchdb-mapreduce'; import SQLiteAdapterFactory from 'pouchdb-adapter-react-native-sqlite'; import WebSQLite from 'react-native-quick-websql'; const SQLiteAdapter = SQLiteAdapterFactory(WebSQLite); export default PouchDB.plugin(HttpPouch) .plugin(replication) .plugin(mapreduce) .plugin(SQLiteAdapter); This can then be used to create a PouchDB database instance which can store and query documents: const db = new PouchDB('mydb.db', { adapter: 'react-native-sqlite' }); ","version":"Next","tagName":"h3"},{"title":"RxDB","type":1,"pageTitle":"React Native Database","url":"/react-native-database.html#rxdb","content":" RxDB is an local-first, NoSQL-database for JavaScript applications. It is reactive which means that you can not only query the current state, but subscribe to all state changes like the result of a query or even a single field of a document. This is great for UI-based realtime applications in a way that makes it easy to develop realtime applications like what you need in React Native. Key benefits of RxDB include: Observability and Real-Time Queries: Automatic UI updates when underlying data changes, making it much simpler to build responsive, reactive apps.Offline-First and Sync: Built-in support for syncing with CouchDB, or via GraphQL replication, allowing your app to work offline and seamlessly sync when online. It is easy to make the RxDB replication compatible with anything that supports HTTP.Encryption and Data Security: RxDB supports field-level encryption and a robust plugin ecosystem for compression and attachments.Data Modeling and Ease of Use: Offers a schema-based approach that helps catch invalid data early and ensures consistency.Performance: Optimized for storing and querying large amounts of data on mobile devices. There are multiple ways to use RxDB in React Native: Use the memory RxStorage that stores the data inside of the JavaScript memory without persistenceUse the SQLite RxStorage with the react-native-quick-sqlite plugin. It is recommended to use the SQLite RxStorage because it has the best performance and is the easiest to set up. However it is part of the 👑 Premium Plugins which must be purchased, so to try out RxDB with React Native, you might want to use the memory storage first. Later you can replace it with the SQLite storage by just changing two lines of configuration. First you have to install all dependencies via npm install rxdb rxjs rxdb-premium react-native-quick-sqlite. Then you can assemble the RxStorage and create a database with it: 1 Import RxDB and SQLite import { createRxDatabase } from 'rxdb'; import { open } from 'react-native-quick-sqlite'; RxDB Core RxDB Premium 👑 import { getRxStorageSQLiteTrial, getSQLiteBasicsCapacitor } from 'rxdb/plugins/storage-sqlite'; 2 Create a database const myRxDatabase = await createRxDatabase({ // Instead of a simple name, // you can use a folder path to determine the database location name: 'exampledb', multiInstance: false, // <- Set this to false when using RxDB in React Native storage: getRxStorageSQLite({ sqliteBasics: getSQLiteBasicsQuickSQLite(open) }) }); 3 Add a Collection const collections = await myRxDatabase.addCollections({ humans: { schema: { version: 0, type: 'object', primaryKey: 'id', properties: { id: { type: 'string', maxLength: 100 }, name: { type: 'string' }, age: { type: 'number' } }, required: ['id', 'name'] } } }); 4 Insert a Document await collections.humans.insert({id: 'foo', name: 'bar'}); 5 Run a Query const result = await collections.humans.find({ selector: { name: 'bar' } }).exec(); 6 Observe a Query await collections.humans.find({ selector: { name: 'bar' } }).$.subscribe(result => {/* ... */}); Using the SQLite RxStorage is pretty fast, which is shown in the performance comparison. To learn more about using RxDB with React Native, you might want to check out this example project. Also RxDB provides many other features like encryption or compression. You can even store binary data as attachments or use RxDB as an ORM in React Native. ","version":"Next","tagName":"h3"},{"title":"Realm","type":1,"pageTitle":"React Native Database","url":"/react-native-database.html#realm","content":" Realm is another database solution that is particularly popular in the mobile world. Originally an independent project, Realm is now owned by MongoDB, and has seen deeper integration with MongoDB services over time. Pros: Fast, object-based database approach with an easy data model.Historically known for good performance and a simple, user-friendly API. Downsides: Forced MongoDB Cloud Usage: Realm Sync is now tightly coupled with MongoDB Realm Cloud. If you want to use their full sync or advanced features, you are essentially locked into MongoDB's ecosystem, which can be a downside if you need on-premise or custom hosting.Missing or Limited Features: While Realm covers many basic needs, some developers find that advanced queries or certain offline-first features are not as robust or flexible as other solutions.Vendor Lock-In: If you rely heavily on Realm Sync, migrating away from MongoDB's cloud can be difficult because the sync logic and data format are tightly integrated.Community Concerns: Since the MongoDB acquisition, some worry about Realm's open-source future and whether large changes or new features will remain community-friendly. Although Realm can be a good solution when used purely as a local database, if you plan on syncing data across clients or want to avoid cloud vendor lock-in, you should consider carefully how MongoDB's ownership might affect your long-term plans. ","version":"Next","tagName":"h3"},{"title":"Firebase / Firestore","type":1,"pageTitle":"React Native Database","url":"/react-native-database.html#firebase--firestore","content":" Firestore is a cloud based database technology that stores data on clients devices and replicates it with the Firebase cloud service that is run by google. It has many features like observability and authentication. The main feature lacking is the non-complete offline first support because clients cannot start the application while being offline because then the authentication does not work. After they are authenticated, being offline is no longer a problem. Also using firestore creates a vendor lock-in because it is not possible to replicate with a custom self hosted backend. To get started with Firestore in React Native, it is recommended to use the React Native Firebase open-source project. ","version":"Next","tagName":"h3"},{"title":"Summary","type":1,"pageTitle":"React Native Database","url":"/react-native-database.html#summary","content":" Characteristic\tAsyncStorage\tSQLite\tPouchDB\tRxDB\tRealm\tFirestoreDatabase Type\tKey-value store, no advanced queries\tEmbedded SQL engine in a local file\tNoSQL doc store, revision-based\tNoSQL doc-based (JSON)\tObject-based (MongoDB-owned)\tNoSQL doc-based, cloud by Google Query Model\tgetItem/setItem only\tStandard SQL statements\tMap/reduce or basic Mango queries\tJSON-based query language, optional indexes\tObject-level queries, sync with MongoDB Realm\tDocument queries, limited advanced ops Observability\tNone built-in\tNo direct reactivity\tChanges feed from Couch-style backend\tBuilt-in reactive queries, UI auto-updates\tLocal reactivity, or realm sync (cloud)\tReal-time snapshots, partial offline Offline Replication\tNone\tNone by default\tCouchDB-compatible sync\tBuilt-in sync (HTTP, GraphQL, CouchDB, etc.)\tRealm Cloud sync only\tBasic offline caching, re-auth needed Performance\tFine for small keys/values\tGenerally good; bridging overhead\tOK for mid data sets; can bloat over time\tVaries by storage; Dexie/SQLite w/ compression can be fast\tTypically fast on mobile\tGood read-heavy perf; can be rate-limited, costly Schema Handling\tNone\tSQL schema, migrations needed\tNo formal schema, doc-based\tOptional JSON-Schema, typed checks, compression\tDeclarative schema, migration needed\tNo strict schema; rules in console mostly Usage Cases\tStore small user settings\tLocal structured data, moderate queries\tBasic doc store, synergy with CouchDB\tReactive offline-first for large or dynamic data\tLocal object DB, locked to MongoDB realm sync\tReal-time Google backend, partial offline, vendor lock-in ","version":"Next","tagName":"h3"},{"title":"Follow up","type":1,"pageTitle":"React Native Database","url":"/react-native-database.html#follow-up","content":" A good way to learn using RxDB database with React Native is to check out the RxDB React Native example and use that as a tutorial.If you haven't done so yet, you should start learning about RxDB with the Quickstart Tutorial.There is a followup list of other client side database alternatives that might work with React Native. ","version":"Next","tagName":"h2"},{"title":"Replication with CouchDB","type":0,"sectionRef":"#","url":"/replication-couchdb.html","content":"","keywords":"","version":"Next"},{"title":"Pros","type":1,"pageTitle":"Replication with CouchDB","url":"/replication-couchdb.html#pros","content":" Faster initial replication.Works with any RxStorage, not just PouchDB.Easier conflict handling because conflicts are handled during replication and not afterwards.Does not have to store all document revisions on the client, only stores the newest version. ","version":"Next","tagName":"h2"},{"title":"Cons","type":1,"pageTitle":"Replication with CouchDB","url":"/replication-couchdb.html#cons","content":" Does not support the replication of attachments.Like all CouchDB replication plugins, this one is also limited to replicating 6 collections in parallel. Read this for workarounds ","version":"Next","tagName":"h2"},{"title":"Usage","type":1,"pageTitle":"Replication with CouchDB","url":"/replication-couchdb.html#usage","content":" Start the replication via replicateCouchDB(). import { replicateCouchDB } from 'rxdb/plugins/replication-couchdb'; const replicationState = replicateCouchDB( { replicationIdentifier: 'my-couchdb-replication', collection: myRxCollection, // url to the CouchDB endpoint (required) url: 'http://example.com/db/humans', /** * true for live replication, * false for a one-time replication. * [default=true] */ live: true, /** * A custom fetch() method can be provided * to add authentication or credentials. * Can be swapped out dynamically * by running 'replicationState.fetch = newFetchMethod;'. * (optional) */ fetch: myCustomFetchMethod, pull: { /** * Amount of documents to be fetched in one HTTP request * (optional) */ batchSize: 60, /** * Custom modifier to mutate pulled documents * before storing them in RxDB. * (optional) */ modifier: docData => {/* ... */}, /** * Heartbeat time in milliseconds * for the long polling of the changestream. * @link https://docs.couchdb.org/en/3.2.2-docs/api/database/changes.html * (optional, default=60000) */ heartbeat: 60000 }, push: { /** * How many local changes to process at once. * (optional) */ batchSize: 60, /** * Custom modifier to mutate documents * before sending them to the CouchDB endpoint. * (optional) */ modifier: docData => {/* ... */} } } ); When you call replicateCouchDB() it returns a RxCouchDBReplicationState which can be used to subscribe to events, for debugging or other functions. It extends the RxReplicationState so any other method that can be used there can also be used on the CouchDB replication state. ","version":"Next","tagName":"h2"},{"title":"Conflict handling","type":1,"pageTitle":"Replication with CouchDB","url":"/replication-couchdb.html#conflict-handling","content":" When conflicts appear during replication, the conflictHandler of the RxCollection is used, equal to the other replication plugins. Read more about conflict handling here. ","version":"Next","tagName":"h2"},{"title":"Auth example","type":1,"pageTitle":"Replication with CouchDB","url":"/replication-couchdb.html#auth-example","content":" Lets say for authentication you need to add a bearer token as HTTP header to each request. You can achieve that by crafting a custom fetch() method that add the header field. const myCustomFetch = (url, options) => { // flat clone the given options to not mutate the input const optionsWithAuth = Object.assign({}, options); // ensure the headers property exists if(!optionsWithAuth.headers) { optionsWithAuth.headers = {}; } // add bearer token to headers optionsWithAuth.headers['Authorization'] ='Basic S0VLU0UhIExFQ0...'; // call the original fetch function with our custom options. return fetch( url, optionsWithAuth ); }; const replicationState = replicateCouchDB( { replicationIdentifier: 'my-couchdb-replication', collection: myRxCollection, url: 'http://example.com/db/humans', /** * Add the custom fetch function here. */ fetch: myCustomFetch, pull: {}, push: {} } ); Also when your bearer token changes over time, you can set a new custom fetch method while the replication is running: replicationState.fetch = newCustomFetchMethod; Also there is a helper method getFetchWithCouchDBAuthorization() to create a fetch handler with authorization: import { replicateCouchDB, getFetchWithCouchDBAuthorization } from 'rxdb/plugins/replication-couchdb'; const replicationState = replicateCouchDB( { replicationIdentifier: 'my-couchdb-replication', collection: myRxCollection, url: 'http://example.com/db/humans', /** * Add the custom fetch function here. */ fetch: getFetchWithCouchDBAuthorization('myUsername', 'myPassword'), pull: {}, push: {} } ); ","version":"Next","tagName":"h2"},{"title":"Limitations","type":1,"pageTitle":"Replication with CouchDB","url":"/replication-couchdb.html#limitations","content":" Since CouchDB only allows synchronization through HTTP1.1 long polling requests there is a limitation of 6 active synchronization connections before the browser prevents sending any further request. This limitation is at the level of browser per tab per domain (some browser, especially older ones, might have a different limit, see here). Since this limitation is at the browser level there are several solutions: Use only a single database for all entities and set a "type" field for each of the documentsCreate multiple subdomains for CouchDB and use a max of 6 active synchronizations (or less) for eachUse a proxy (ex: HAProxy) between the browser and CouchDB and configure it to use HTTP2.0, since HTTP2.0 If you use nginx in front of your CouchDB, you can use these settings to enable http2-proxying to prevent the connection limit problem: server { http2 on; location /db { rewrite /db/(.*) /$1 break; proxy_pass http://172.0.0.1:5984; proxy_redirect off; proxy_buffering off; proxy_set_header Host $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded proxy_set_header Connection "keep_alive" } } ","version":"Next","tagName":"h2"},{"title":"Known problems","type":1,"pageTitle":"Replication with CouchDB","url":"/replication-couchdb.html#known-problems","content":" ","version":"Next","tagName":"h2"},{"title":"Database missing","type":1,"pageTitle":"Replication with CouchDB","url":"/replication-couchdb.html#database-missing","content":" In contrast to PouchDB, this plugin does NOT automatically create missing CouchDB databases. If your CouchDB server does not have a database yet, you have to create it by yourself by running a PUT request to the database name url: // create a 'humans' CouchDB database on the server const remoteDatabaseName = 'humans'; await fetch( 'http://example.com/db/' + remoteDatabaseName, { method: 'PUT' } ); ","version":"Next","tagName":"h3"},{"title":"React Native","type":1,"pageTitle":"Replication with CouchDB","url":"/replication-couchdb.html#react-native","content":" React Native does not have a global fetch method. You have to import fetch method with the cross-fetch package: import crossFetch from 'cross-fetch'; const replicationState = replicateCouchDB( { replicationIdentifier: 'my-couchdb-replication', collection: myRxCollection, url: 'http://example.com/db/humans', fetch: crossFetch, pull: {}, push: {} } ); ","version":"Next","tagName":"h2"},{"title":"Replication with Firestore from Firebase","type":0,"sectionRef":"#","url":"/replication-firestore.html","content":"","keywords":"","version":"Next"},{"title":"Usage","type":1,"pageTitle":"Replication with Firestore from Firebase","url":"/replication-firestore.html#usage","content":" 1 Install the firebase package npm install firebase 2 Initialize your Firestore Database import * as firebase from 'firebase/app'; import { getFirestore, collection } from 'firebase/firestore'; const projectId = 'my-project-id'; const app = firebase.initializeApp({ projectId, databaseURL: 'http://localhost:8080?ns=' + projectId, /* ... */ }); const firestoreDatabase = getFirestore(app); const firestoreCollection = collection(firestoreDatabase, 'my-collection-name'); 3 Start the Replication Start the replication by calling replicateFirestore() on your RxCollection. const replicationState = replicateFirestore({ replicationIdentifier: `https://firestore.googleapis.com/${projectId}`, collection: myRxCollection, firestore: { projectId, database: firestoreDatabase, collection: firestoreCollection }, /** * (required) Enable push and pull replication with firestore by * providing an object with optional filter * for each type of replication desired. * [default=disabled] */ pull: {}, push: {}, /** * Either do a live or a one-time replication * [default=true] */ live: true, /** * (optional) likely you should just use the default. * * In firestore it is not possible to read out * the internally used write timestamp of a document. * Even if we could read it out, it is not indexed which * is required for fetch 'changes-since-x'. * So instead we have to rely on a custom user defined field * that contains the server time * which is set by firestore via serverTimestamp() * Notice that the serverTimestampField MUST NOT be * part of the collections RxJsonSchema! * [default='serverTimestamp'] */ serverTimestampField: 'serverTimestamp' }); To observe and cancel the replication, you can use any other methods from the ReplicationState like error$, cancel() and awaitInitialReplication(). ","version":"Next","tagName":"h2"},{"title":"Handling deletes","type":1,"pageTitle":"Replication with Firestore from Firebase","url":"/replication-firestore.html#handling-deletes","content":" RxDB requires you to never fully delete documents. This is needed to be able to replicate the deletion state of a document to other instances. The firestore replication will set a boolean _deleted field to all documents to indicate the deletion state. You can change this by setting a different deletedField in the sync options. ","version":"Next","tagName":"h2"},{"title":"Do not set enableIndexedDbPersistence()","type":1,"pageTitle":"Replication with Firestore from Firebase","url":"/replication-firestore.html#do-not-set-enableindexeddbpersistence","content":" Firestore has the enableIndexedDbPersistence() feature which caches document states locally to IndexedDB. This is not needed when you replicate your Firestore with RxDB because RxDB itself will store the data locally already. ","version":"Next","tagName":"h2"},{"title":"Using the replication with an already existing Firestore Database State","type":1,"pageTitle":"Replication with Firestore from Firebase","url":"/replication-firestore.html#using-the-replication-with-an-already-existing-firestore-database-state","content":" If you have not used RxDB before and you already have documents inside of your Firestore database, you have to manually set the _deleted field to false and the serverTimestamp to all existing documents. import { getDocs, query, serverTimestamp } from 'firebase/firestore'; const allDocsResult = await getDocs(query(firestoreCollection)); allDocsResult.forEach(doc => { doc.update({ _deleted: false, serverTimestamp: serverTimestamp() }) }); Also notice that if you do writes from non-RxDB applications, you have to keep these fields in sync. It is recommended to use the Firestore triggers to ensure that. ","version":"Next","tagName":"h2"},{"title":"Filtered Replication","type":1,"pageTitle":"Replication with Firestore from Firebase","url":"/replication-firestore.html#filtered-replication","content":" You might need to replicate only a subset of your collection, either to or from Firestore. You can achieve this using push.filter and pull.filter options. const replicationState = replicateFirestore( { collection: myRxCollection, firestore: { projectId, database: firestoreDatabase, collection: firestoreCollection }, pull: { filter: [ where('ownerId', '==', userId) ] }, push: { filter: (item) => item.syncEnabled === true } } ); Keep in mind that you can not use inequality operators (<, <=, !=, not-in, >, or >=) in pull.filter since that would cause a conflict with ordering by serverTimestamp. ","version":"Next","tagName":"h2"},{"title":"RxDB Appwrite Replication","type":0,"sectionRef":"#","url":"/replication-appwrite.html","content":"","keywords":"","version":"Next"},{"title":"Why you should use RxDB with Appwrite?","type":1,"pageTitle":"RxDB Appwrite Replication","url":"/replication-appwrite.html#why-you-should-use-rxdb-with-appwrite","content":" Appwrite is a secure, open-source backend server that simplifies backend tasks like user authentication, storage, database management, and real-time APIs. RxDB is a reactive database for the frontend that offers offline-first capabilities and rich client-side data handling. Combining the two provides several benefits: Offline-First: RxDB keeps all data locally, so your application remains fully functional even when the network is unavailable. When connectivity returns, the RxDB ↔ Appwrite replication automatically resolves and synchronizes changes. Real-Time Sync: With Appwrite’s real-time subscriptions and RxDB’s live replication, you can build collaborative features that update across all clients instantaneously. Conflict Handling: RxDB offers flexible conflict resolution strategies, making it simpler to handle concurrent edits across multiple users or devices. Scalable & Secure: Appwrite is built to handle production loads with granular access controls, while RxDB easily scales across various storage backends on the client side. Simplicity & Modularity: RxDB’s plugin-based architecture, combined with Appwrite’s Cloud offering makes it one of the easiest way to build local-first realtime apps that scale. Client A Client B Client C ","version":"Next","tagName":"h2"},{"title":"Preparing the Appwrite Server","type":1,"pageTitle":"RxDB Appwrite Replication","url":"/replication-appwrite.html#preparing-the-appwrite-server","content":" You can either use the appwrite cloud or self-host the Appwrite server. In this tutorial we use the Cloud which is recommended for beginners because it is way easier to set up. You can later decide to self-host if needed. 1 Set up an Appwrite Endpoint and Project Self-Hosted Appwrite Cloud 1 Docker Ensure docker and docker-compose is installed and your version are up to date: docker-compose -v 2 Run the installation script The installation script runs inside of a docker container. It will create a docker-compose file and an .env file. docker run -it --rm \\ --volume /var/run/docker.sock:/var/run/docker.sock \\ --volume "$(pwd)"/appwrite:/usr/src/code/appwrite:rw \\ --entrypoint="install" \\ appwrite/appwrite:1.6.1 3 Start/Stop After the installation is done, you can manually stop and start the appwrite instance with docker compose: # stop docker-compose down # start docker-compose up 2 Create an Appwrite Database and Collection After creating an Appwrite project you have to create an Appwrite Database and a collection, you can either do this in code with the node-appwrite SDK or in the Appwrite Console as shown in this video: 9:47 Appwrite Database Tutorial 3 Add your documents attributes In the appwrite collection, create all attributes of your documents. You have to define all the fields that your document in your RxDB schema knows about. Notice that Appwrite does not allow for nested attributes. So when you use RxDB with Appwrite, you should also not have nested attributes in your RxDB schema. 4 Add a deleted attribute Appwrite (natively) hard-deletes documents. But for offline-handling RxDB needs soft-deleted documents on the server so that the deletion state can be replicated with other clients. In RxDB, _deleted indicates that a document is removed locally and you need a similar field in your Appwrite collection on the Server: You must define a deletedField with any name to mark documents as "deleted" in the remote collection. Mostly you would use a boolean field named deleted (set it to required). The plugin will treat any document with { [deletedField]: true } as deleted and replicate that state to local RxDB. 5 Set the Permission on the Appwrite Collection Appwrite uses permissions to control data access on the collection level. Make sure that in the Console at Collection -> Settings -> Permissions you have set the permission according to what you want to allow your clients to do. For testing, just enable all of them (Create, Read, Update and Delete). ","version":"Next","tagName":"h2"},{"title":"Setting up the RxDB - Appwrite Replication","type":1,"pageTitle":"RxDB Appwrite Replication","url":"/replication-appwrite.html#setting-up-the-rxdb---appwrite-replication","content":" Now that we have set up the Appwrite server, we can go to the client side code and set up RxDB and the replication: 1 Install the Appwrite SDK and RxDB: npm install appwrite rxdb 2 Import the Appwrite SDK and RxDB import { replicateAppwrite } from 'rxdb/plugins/replication-appwrite'; import { createRxDatabase, addRxPlugin, RxCollection } from 'rxdb/plugins/core'; import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage'; import { Client } from 'appwrite'; 3 Create a Database with a Collection const db = await createRxDatabase({ name: 'mydb', storage: getRxStorageLocalstorage() }); const mySchema = { title: 'my schema', version: 0, primaryKey: 'id', type: 'object', properties: { id: { type: 'string', maxLength: 100 }, name: { type: 'string' } }, required: ['id', 'name'] }; await db.addCollections({ humans: { schema: mySchema } }); const collection = db.humans; 4 Configure the Appwrite Client Appwrite Cloud Self-Hosted const client = new Client(); client.setEndpoint('https://cloud.appwrite.io/v1'); client.setProject('YOUR_APPWRITE_PROJECT_ID'); 5 Start the Replication const replicationState = replicateAppwrite({ replicationIdentifier: 'my-appwrite-replication', client, databaseId: 'YOUR_APPWRITE_DATABASE_ID', collectionId: 'YOUR_APPWRITE_COLLECTION_ID', deletedField: 'deleted', // Field that represents deletion in Appwrite collection, pull: { batchSize: 10, }, push: { batchSize: 10 }, /* * ... * You can set all other options for RxDB replication states * like 'live' or 'retryTime' * ... */ }); 6 Do other things with the replication state The RxAppwriteReplicationState which is returned from replicateAppwrite() allows you to run all functionality of the normal RxReplicationState. ","version":"Next","tagName":"h2"},{"title":"Limitations of the Appwrite Replication Plugin","type":1,"pageTitle":"RxDB Appwrite Replication","url":"/replication-appwrite.html#limitations-of-the-appwrite-replication-plugin","content":" Appwrite primary keys only allow for the characters a-z, A-Z, 0-9, and underscore _ (They cannot start with a leading underscore). Also the primary key has a max length of 36 characters.The Appwrite replication only works on browsers. This is because the Appwrite SDK does not support subscriptions in Node.js.Appwrite does not allow for bulk write operations so on push one HTTP request will be made per document. Reads run in bulk so this is mostly not a problem.Appwrite does not allow for transactions or "update-if" calls which can lead to overwriting documents instead of properly handling conflicts when multiple clients edit the same document in parallel. This is not a problem for inserts because "insert-if-not" calls are made.Nested attributes in Appwrite collections are only possible via experimental relationship attributes, and compatibility with RxDB is not tested. Users opting to use these experimental relationship attributes with RxDB do so at their own risk. ","version":"Next","tagName":"h2"},{"title":"Replication with NATS","type":0,"sectionRef":"#","url":"/replication-nats.html","content":"","keywords":"","version":"Next"},{"title":"Precondition","type":1,"pageTitle":"Replication with NATS","url":"/replication-nats.html#precondition","content":" For the replication endpoint the NATS cluster must have enabled JetStream and store all message data as structured JSON. The easiest way to start a compatible NATS server is to use the official docker image: docker run --rm --name rxdb-nats -p 4222:4222 nats:2.9.17 -js ","version":"Next","tagName":"h2"},{"title":"Usage","type":1,"pageTitle":"Replication with NATS","url":"/replication-nats.html#usage","content":" 1 Install the nats package npm install nats --save 2 Start the Replication To start the replication, import the replicateNats() method from the RxDB plugin and call it with the collection that must be replicated. The replication runs per RxCollection, you can replicate multiple RxCollections by starting a new replication for each of them. import { replicateNats } from 'rxdb/plugins/replication-nats'; const replicationState = replicateNats({ collection: myRxCollection, replicationIdentifier: 'my-nats-replication-collection-A', // in NATS, each stream need a name streamName: 'stream-for-replication-A', /** * The subject prefix determines how the documents are stored in NATS. * For example the document with id 'alice' * will have the subject 'foobar.alice' */ subjectPrefix: 'foobar', connection: { servers: 'localhost:4222' }, live: true, pull: { batchSize: 30 }, push: { batchSize: 30 } }); ","version":"Next","tagName":"h2"},{"title":"Handling deletes","type":1,"pageTitle":"Replication with NATS","url":"/replication-nats.html#handling-deletes","content":" RxDB requires you to never fully delete documents. This is needed to be able to replicate the deletion state of a document to other instances. The NATS replication will set a boolean _deleted field to all documents to indicate the deletion state. You can change this by setting a different deletedField in the sync options. ","version":"Next","tagName":"h2"},{"title":"The RxDB Plugin replication-p2p has been renamed to replication-webrtc","type":0,"sectionRef":"#","url":"/replication-p2p.html","content":"The RxDB Plugin replication-p2p has been renamed to replication-webrtc The new documentation page has been moved to here","keywords":"","version":"Next"},{"title":"MongoDB Replication Plugin for RxDB - Real-Time, Offline-First Sync","type":0,"sectionRef":"#","url":"/replication-mongodb.html","content":"","keywords":"","version":"Next"},{"title":"Key Features","type":1,"pageTitle":"MongoDB Replication Plugin for RxDB - Real-Time, Offline-First Sync","url":"/replication-mongodb.html#key-features","content":" Two-way replication between MongoDB and RxDB collectionsOffline-first support with automatic incremental re-syncIncremental updates via MongoDB Change StreamsConflict resolution handled by the RxDB Sync EngineAtlas and self-hosted support for replica sets and sharded clusters ","version":"Next","tagName":"h2"},{"title":"Architecture Overview","type":1,"pageTitle":"MongoDB Replication Plugin for RxDB - Real-Time, Offline-First Sync","url":"/replication-mongodb.html#architecture-overview","content":" The plugin operates in a three-tier architecture: Clients connect to RxServer, which in turn connects to MongoDB. RxServer streams changes from MongoDB to connected clients and pushes client-side updates back to MongoDB. For the client side, RxServer exposes a replication endpoint over WebSocket or HTTP, which your RxDB-powered applications can consume. The following diagram illustrates the flow of updates between clients, RxServer, and MongoDB in a live synchronization setup: Client A RxServer MongoDB Client B Client C note The MongoDB Replication Plugin is optimized for Node.js environments (e.g., when RxDB runs within RxServer or other backend services). Direct connections from browsers or mobile apps to MongoDB are not supported because MongoDB does not use HTTP as its wire protocol and requires a driver-level connection to a replica set or sharded cluster. ","version":"Next","tagName":"h2"},{"title":"Setting up the Client-RxServer-MongoDB Sync","type":1,"pageTitle":"MongoDB Replication Plugin for RxDB - Real-Time, Offline-First Sync","url":"/replication-mongodb.html#setting-up-the-client-rxserver-mongodb-sync","content":" 1 Install the Client Dependencies In your JavaScript project, install the RxDB libraries and the MongoDB node.js driver: npm install rxdb rxdb-server mongodb --save 2 Set up a MongoDB Server As first step, you need access to a running MongoDB Server. This can be done by either running a server locally or using the Atlas Cloud. Notice that we need to have a replica set because only on these, the MongoDB changestream can be used. Shell Docker MongoDB Atlas If you have installed MongoDB locally, you can start the server with this command: mongod --replSet rs0 --bind_ip_all After this step you should have a valid connection string that points to a running MongoDB Server like mongodb://localhost:27017/. 3 Create a MongoDB Database and Collection On your MongoDB server, make sure to create a database and a collection. //> server.ts import { MongoClient } from 'mongodb'; const mongoClient = new MongoClient('mongodb://localhost:27017/?directConnection=true'); const mongoDatabase = mongoClient.db('my-database'); await mongoDatabase.createCollection('my-collection', { changeStreamPreAndPostImages: { enabled: true } }); note To observe document deletions on the changestream, changeStreamPreAndPostImages must be enabled. This is not required if you have an insert/update-only collection where no documents are deleted ever. 4 Create a RxDB Database and Collection Now we create an RxDB database and a collection. In this example the memory storage, in production you would use a persistent storage instead. //> server.ts import { createRxDatabase, addRxPlugin } from 'rxdb'; import { getRxStorageMemory } from 'rxdb/plugins/storage-memory'; // Create server-side RxDB instance const db = await createRxDatabase({ name: 'serverdb', storage: getRxStorageMemory() }); // Add your collection schema await db.addCollections({ humans: { schema: { version: 0, primaryKey: 'passportId', type: 'object', properties: { passportId: { type: 'string', maxLength: 100 }, firstName: { type: 'string' }, lastName: { type: 'string' } }, required: ['passportId', 'firstName', 'lastName'] } } }); 5 Sync the Collection with the MongoDB Server Now we can start a replication that does a two-way replication between the RxDB Collection and the MongoDB Collection. //> server.ts import { replicateMongoDB } from 'rxdb/plugins/replication-mongodb'; const replicationState = replicateMongoDB({ mongodb: { collectionName: 'my-collection', connection: 'mongodb://localhost:27017', databaseName: 'my-database' }, collection: db.humans, replicationIdentifier: 'humans-mongodb-sync', pull: { batchSize: 50 }, push: { batchSize: 50 }, live: true }); You can do many things with the replication state The RxMongoDBReplicationState which is returned from replicateMongoDB() allows you to run all functionality of the normal RxReplicationState like observing errors or doing start/stop operations. 6 Start a RxServer Now that we have a RxDatabase and Collection that is replicated with MongoDB, we can spawn a RxServer on top of it. This server can then be used by client devices to connect. //> server.ts import { createRxServer } from 'rxdb-server/plugins/server'; import { RxServerAdapterExpress } from 'rxdb-server/plugins/adapter-express'; const server = await createRxServer({ database: db, adapter: RxServerAdapterExpress, port: 8080, cors: '*' }); const endpoint = server.addReplicationEndpoint({ name: 'humans', collection: db.humans }); console.log('Replication endpoint:', `http://localhost:8080/${endpoint.urlPath}`); // do not forget to start the server! await server.start(); 7 Sync a Client with the RxServer On the client-side we create the exact same RxDatabase and collection and then replicate it with the replication endpoint of the RxServer. //> client.ts import { createRxDatabase } from 'rxdb'; import { getRxStorageDexie } from 'rxdb/plugins/storage-dexie'; import { replicateServer } from 'rxdb-server/plugins/replication-server'; const db = await createRxDatabase({ name: 'mydb-client', storage: getRxStorageDexie() }); await db.addCollections({ humans: { schema: { version: 0, primaryKey: 'passportId', type: 'object', properties: { passportId: { type: 'string', maxLength: 100 }, firstName: { type: 'string' }, lastName: { type: 'string' } }, required: ['passportId', 'firstName', 'lastName'] } } }); // Start replication to the RxServer endpoint printed by the server: // e.g. http://localhost:8080/humans/0 const replicationState = replicateServer({ replicationIdentifier: 'humans-rxserver', collection: db.humans, url: 'http://localhost:8080/humans/0', live: true, pull: { batchSize: 50 }, push: { batchSize: 50 } }); ","version":"Next","tagName":"h2"},{"title":"Follow Up","type":1,"pageTitle":"MongoDB Replication Plugin for RxDB - Real-Time, Offline-First Sync","url":"/replication-mongodb.html#follow-up","content":" Try it out with the RxDB-MongoDB example repositoryRead From Local to Global: Scalable Edge Apps with RxDB + MongoDBReplication API ReferenceRxServer DocumentationJoin our Discord Forum for questions and feedback ","version":"Next","tagName":"h2"},{"title":"HTTP Replication from a custom server to RxDB clients","type":0,"sectionRef":"#","url":"/replication-http.html","content":"","keywords":"","version":"Next"},{"title":"Setup","type":1,"pageTitle":"HTTP Replication from a custom server to RxDB clients","url":"/replication-http.html#setup","content":" 1 Start the Replication on the RxDB Client RxDB does not have a specific HTTP-replication plugin because the replication primitives plugin is simple enough to start a HTTP replication on top of it. We import the replicateRxCollection function and start the replication from there for a single RxCollection. // > client.ts import { replicateRxCollection } from 'rxdb/plugins/replication'; const replicationState = await replicateRxCollection({ collection: myRxCollection, replicationIdentifier: 'my-http-replication', push: { /* add settings from below */ }, pull: { /* add settings from below */ } }); 2 Start a Node.js process with Express and MongoDB On the server side, we start an express server that has a MongoDB connection and serves the HTTP requests of the client. // > server.ts import { MongoClient } from 'mongodb'; import express from 'express'; const mongoClient = new MongoClient('mongodb://localhost:27017/'); const mongoConnection = await mongoClient.connect(); const mongoDatabase = mongoConnection.db('myDatabase'); const mongoCollection = await mongoDatabase.collection('myDocs'); const app = express(); app.use(express.json()); /* ... add routes from below */ app.listen(80, () => { console.log(`Example app listening on port 80`) }); 3 Implement the Pull Endpoint As first HTTP Endpoint, we need to implement the pull handler. This is used by the RxDB replication to fetch all documents writes that happened after a given checkpoint. The checkpoint format is not determined by RxDB, instead the server can use any type of changepoint that can be used to iterate across document writes. Here we will just use a unix timestamp updatedAt and a string id which is the most common used format. When the pull endpoint is called, the server responds with an array of document data based on the given checkpoint and a new checkpoint. Also the server has to respect the batchSize so that RxDB knows when there are no more new documents and the server returns a non-full array. // > server.ts import { lastOfArray } from 'rxdb/plugins/core'; app.get('/pull', (req, res) => { const id = req.query.id; const updatedAt = parseFloat(req.query.updatedAt); const documents = await mongoCollection.find({ $or: [ /** * Notice that we have to compare the updatedAt AND the id field * because the updateAt field is not unique and when two documents * have the same updateAt, we can still "sort" them by their id. */ { updateAt: { $gt: updatedAt } }, { updateAt: { $eq: updatedAt } id: { $gt: id } } ] }) .sort({updateAt: 1, id: 1}) .limit(parseInt(req.query.batchSize, 10)).toArray(); const newCheckpoint = documents.length === 0 ? { id, updatedAt } : { id: lastOfArray(documents).id, updatedAt: lastOfArray(documents).updatedAt }; res.setHeader('Content-Type', 'application/json'); res.end(JSON.stringify({ documents, checkpoint: newCheckpoint })); }); 4 Implement the Pull Handler On the client we add the pull.handler to the replication setting. The handler request the correct server url and fetches the documents. // > client.ts const replicationState = await replicateRxCollection({ /* ... */ pull: { async handler(checkpointOrNull, batchSize){ const updatedAt = checkpointOrNull ? checkpointOrNull.updatedAt : 0; const id = checkpointOrNull ? checkpointOrNull.id : ''; const response = await fetch( `https://localhost/pull?updatedAt=${updatedAt}&id=${id}&limit=${batchSize}` ); const data = await response.json(); return { documents: data.documents, checkpoint: data.checkpoint }; } } /* ... */ }); 5 Implement the Push Endpoint To send client side writes to the server, we have to implement the push.handler. It gets an array of change rows as input and has to return only the conflicting documents that did not have been written to the server. Each change row contains a newDocumentState and an optional assumedMasterState. For conflict detection, on the server we first have to detect if the assumedMasterState is correct for each row. If yes, we have to write the new document state to the database, otherwise we have to return the "real" master state in the conflict array. The server also creates an event that is emitted to the pullStream$ which is later used in the pull.stream$. // > server.ts import { lastOfArray } from 'rxdb/plugins/core'; import { Subject } from 'rxjs'; // used in the pull.stream$ below let lastEventId = 0; const pullStream$ = new Subject(); app.get('/push', (req, res) => { const changeRows = req.body; const conflicts = []; const event = { id: lastEventId++, documents: [], checkpoint: null }; for(const changeRow of changeRows){ const realMasterState = mongoCollection.findOne({id: changeRow.newDocumentState.id}); if( realMasterState && !changeRow.assumedMasterState || ( realMasterState && changeRow.assumedMasterState && /* * For simplicity we detect conflicts on the server by only compare the updateAt value. * In reality you might want to do a more complex check or do a deep-equal comparison. */ realMasterState.updatedAt !== changeRow.assumedMasterState.updatedAt ) ) { // we have a conflict conflicts.push(realMasterState); } else { // no conflict -> write the document mongoCollection.updateOne( {id: changeRow.newDocumentState.id}, changeRow.newDocumentState ); event.documents.push(changeRow.newDocumentState); event.checkpoint = { id: changeRow.newDocumentState.id, updatedAt: changeRow.newDocumentState.updatedAt }; } } if(event.documents.length > 0){ myPullStream$.next(event); } res.setHeader('Content-Type', 'application/json'); res.end(JSON.stringify(conflicts)); }); note For simplicity in this tutorial, we do not use transactions. In reality you should run the full push function inside of a MongoDB transaction to ensure that no other process can mix up the document state while the writes are processed. Also you should call batch operations on MongoDB instead of running the operations for each change row. 6 Implement the Push Handler With the push endpoint in place, we can add a push.handler to the replication settings on the client. // > client.ts const replicationState = await replicateRxCollection({ /* ... */ push: { async handler(changeRows){ const rawResponse = await fetch('https://localhost/push', { method: 'POST', headers: { 'Accept': 'application/json', 'Content-Type': 'application/json' }, body: JSON.stringify(changeRows) }); const conflictsArray = await rawResponse.json(); return conflictsArray; } } /* ... */ }); 7 Implement the pullStream$ Endpoint While the normal pull handler is used when the replication is in iteration mode, we also need a stream of ongoing changes when the replication is in event observation mode. This brings the realtime replication to RxDB where changes on the server or on a client will directly get propagated to the other instances. On the server we have to implement the pullStream route and emit the events. We use the pullStream$ observable from above to fetch all ongoing events and respond them to the client. Here we use Server-Sent-Events (SSE) which is the most common used way to stream data from the server to the client. Other method also exist like WebSockets or Long-Polling. // > server.ts app.get('/pullStream', (req, res) => { res.writeHead(200, { 'Content-Type': 'text/event-stream', 'Connection': 'keep-alive', 'Cache-Control': 'no-cache' }); const subscription = pullStream$.subscribe(event => { res.write('data: ' + JSON.stringify(event) + '\\n\\n'); }); req.on('close', () => subscription.unsubscribe()); }); note How the build the pullStream$ Observable is not part of this tutorial. This heavily depends on your backend and infrastructure. Likely you have to observe the MongoDB event stream. 8 Implement the pullStream$ Handler From the client we can observe this endpoint and create a pull.stream$ observable that emits all events that are send from the server to the client. The client connects to an url and receives server-sent-events that contain all ongoing writes. // > client.ts import { Subject } from 'rxjs'; const myPullStream$ = new Subject(); const eventSource = new EventSource( 'http://localhost/pullStream', { withCredentials: true } ); eventSource.onmessage = event => { const eventData = JSON.parse(event.data); myPullStream$.next({ documents: eventData.documents, checkpoint: eventData.checkpoint }); }; const replicationState = await replicateRxCollection({ /* ... */ pull: { /* ... */ stream$: myPullStream$.asObservable() } /* ... */ }); 9 pullStream$ RESYNC flag In case the client looses the connection, the EventSource will automatically reconnect but there might have been some changes that have been missed out in the meantime. The replication has to be informed that it might have missed events by emitting a RESYNC flag from the pull.stream$. The replication will then catch up by switching to the iteration mode until it is in sync with the server again. // > client.ts eventSource.onerror = () => myPullStream$.next('RESYNC'); The purpose of the RESYNC flag is to tell the client that "something might have changed" and then the client can react on that information without having to run operations in an interval. If your backend is not capable of emitting the actual documents and checkpoint in the pull stream, you could just map all events to the RESYNC flag. This would make the replication work with a slight performance drawback: // > client.ts import { Subject } from 'rxjs'; const myPullStream$ = new Subject(); const eventSource = new EventSource( 'http://localhost/pullStream', { withCredentials: true } ); eventSource.onmessage = () => myPullStream$.next('RESYNC'); const replicationState = await replicateRxCollection({ pull: { stream$: myPullStream$.asObservable() } }); ","version":"Next","tagName":"h2"},{"title":"Missing implementation details","type":1,"pageTitle":"HTTP Replication from a custom server to RxDB clients","url":"/replication-http.html#missing-implementation-details","content":" In this tutorial we only covered the basics of doing a HTTP replication between RxDB clients and a server. We did not cover the following aspects of the implementation: Authentication: To authenticate the client on the server, you might want to send authentication headers with the HTTP requestsSkip events on the pull.stream$ for the client that caused the changes to improve performance.Version upgrades: You should add a version-flag to the endpoint urls. If you then update the version of your endpoints in any way, your old endpoints should emit a Code 426 to outdated clients so that they can updated their client version. ","version":"Next","tagName":"h2"},{"title":"RxDB Server Replication","type":0,"sectionRef":"#","url":"/replication-server.html","content":"","keywords":"","version":"Next"},{"title":"Usage","type":1,"pageTitle":"RxDB Server Replication","url":"/replication-server.html#usage","content":" The replication server plugin is imported from the rxdb-server npm package. Then you start the replication with a given collection and endpoint url by calling replicateServer(). import { replicateServer } from 'rxdb-server/plugins/replication-server'; const replicationState = await replicateServer({ collection: usersCollection, replicationIdentifier: 'my-server-replication', url: 'http://localhost:80/users/0', // endpoint url with the servers collection schema version at the end headers: { Authorization: 'Bearer S0VLU0UhI...' }, push: {}, pull: {}, live: true }); ","version":"Next","tagName":"h2"},{"title":"outdatedClient$","type":1,"pageTitle":"RxDB Server Replication","url":"/replication-server.html#outdatedclient","content":" When you update your schema at the server and run a migration, you end up with a different replication url that has a new schema version number at the end. Your clients might still be running an old version of your application that will no longer be compatible with the endpoint. Therefore when the client tries to call a server endpoint with an outdated schema version, the outdatedClient$ observable emits to tell your client that the application must be updated. With that event you can tell the client to update the application. On browser application you might want to just reload the page on that event: replicationState.outdatedClient$.subscribe(() => { location.reload(); }); ","version":"Next","tagName":"h2"},{"title":"unauthorized$","type":1,"pageTitle":"RxDB Server Replication","url":"/replication-server.html#unauthorized","content":" When you clients auth data is not valid (or no longer valid), the server will no longer accept any requests from you client and inform the client that the auth headers must be updated. The unauthorized$ observable will emit and expects you to update the headers accordingly so that following requests will be accepted again. replicationState.unauthorized$.subscribe(() => { replicationState.setHeaders({ Authorization: 'Bearer S0VLU0UhI...' }); }); ","version":"Next","tagName":"h2"},{"title":"forbidden$","type":1,"pageTitle":"RxDB Server Replication","url":"/replication-server.html#forbidden","content":" When you client behaves wrong in any case, like update non-allowed values or changing documents that it is not allowed to, the server will drop the connection and the replication state will emit on the forbidden$ observable. It will also automatically stop the replication so that your client does not accidentally DOS attack the server. replicationState.forbidden$.subscribe(() => { console.log('Client is behaving wrong'); }); ","version":"Next","tagName":"h2"},{"title":"Custom EventSource implementation","type":1,"pageTitle":"RxDB Server Replication","url":"/replication-server.html#custom-eventsource-implementation","content":" For the server send events, the eventsource npm package is used instead of the native EventSource API. We need this because the native browser API does not support sending headers with the request which is required by the server to parse the auth data. If the eventsource package does not work for you, you can set an own implementation when creating the replication. const replicationState = await replicateServer({ /* ... */ eventSource: MyEventSourceConstructor /* ... */ }); ","version":"Next","tagName":"h2"},{"title":"Replication with GraphQL","type":0,"sectionRef":"#","url":"/replication-graphql.html","content":"","keywords":"","version":"Next"},{"title":"Usage","type":1,"pageTitle":"Replication with GraphQL","url":"/replication-graphql.html#usage","content":" Before you use the GraphQL replication, make sure you've learned how the RxDB replication works. ","version":"Next","tagName":"h2"},{"title":"Creating a compatible GraphQL Server","type":1,"pageTitle":"Replication with GraphQL","url":"/replication-graphql.html#creating-a-compatible-graphql-server","content":" At the server-side, there must exist an endpoint which returns newer rows when the last checkpoint is used as input. For example lets say you create a QuerypullHuman which returns a list of document writes that happened after the given checkpoint. For the push-replication, you also need a MutationpushHuman which lets RxDB update data of documents by sending the previous document state and the new client document state. Also for being able to stream all ongoing events, we need a Subscription called streamHuman. input HumanInput { id: ID!, name: String!, lastName: String!, updatedAt: Float!, deleted: Boolean! } type Human { id: ID!, name: String!, lastName: String!, updatedAt: Float!, deleted: Boolean! } input Checkpoint { id: String!, updatedAt: Float! } type HumanPullBulk { documents: [Human]! checkpoint: Checkpoint } type Query { pullHuman(checkpoint: Checkpoint, limit: Int!): HumanPullBulk! } input HumanInputPushRow { assumedMasterState: HeroInputPushRowT0AssumedMasterStateT0 newDocumentState: HeroInputPushRowT0NewDocumentStateT0! } type Mutation { # Returns a list of all conflicts # If no document write caused a conflict, return an empty list. pushHuman(rows: [HumanInputPushRow!]): [Human] } # headers are used to authenticate the subscriptions # over websockets. input Headers { AUTH_TOKEN: String!; } type Subscription { streamHuman(headers: Headers): HumanPullBulk! } The GraphQL resolver for the pullHuman would then look like: const rootValue = { pullHuman: args => { const minId = args.checkpoint ? args.checkpoint.id : ''; const minUpdatedAt = args.checkpoint ? args.checkpoint.updatedAt : 0; // sorted by updatedAt first and the id as second const sortedDocuments = documents.sort((a, b) => { if (a.updatedAt > b.updatedAt) return 1; if (a.updatedAt < b.updatedAt) return -1; if (a.updatedAt === b.updatedAt) { if (a.id > b.id) return 1; if (a.id < b.id) return -1; else return 0; } }); // only return documents newer than the input document const filterForMinUpdatedAtAndId = sortedDocuments.filter(doc => { if (doc.updatedAt < minUpdatedAt) return false; if (doc.updatedAt > minUpdatedAt) return true; if (doc.updatedAt === minUpdatedAt) { // if updatedAt is equal, compare by id if (doc.id > minId) return true; else return false; } }); // only return some documents in one batch const limitedDocs = filterForMinUpdatedAtAndId.slice(0, args.limit); // use the last document for the checkpoint const lastDoc = limitedDocs[limitedDocs.length - 1]; const retCheckpoint = { id: lastDoc.id, updatedAt: lastDoc.updatedAt } return { documents: limitedDocs, checkpoint: retCheckpoint } return limited; } } For examples for the other resolvers, consult the GraphQL Example Project. ","version":"Next","tagName":"h3"},{"title":"RxDB Client","type":1,"pageTitle":"Replication with GraphQL","url":"/replication-graphql.html#rxdb-client","content":" Pull replication For the pull-replication, you first need a pullQueryBuilder. This is a function that gets the last replication checkpoint and a limit as input and returns an object with a GraphQL-query and its variables (or a promise that resolves to the same object). RxDB will use the query builder to construct what is later sent to the GraphQL endpoint. const pullQueryBuilder = (checkpoint, limit) => { /** * The first pull does not have a checkpoint * so we fill it up with defaults */ if (!checkpoint) { checkpoint = { id: '', updatedAt: 0 }; } const query = `query PullHuman($checkpoint: CheckpointInput, $limit: Int!) { pullHuman(checkpoint: $checkpoint, limit: $limit) { documents { id name age updatedAt deleted } checkpoint { id updatedAt } } }`; return { query, operationName: 'PullHuman', variables: { checkpoint, limit } }; }; With the queryBuilder, you can then setup the pull-replication. import { replicateGraphQL } from 'rxdb/plugins/replication-graphql'; const replicationState = replicateGraphQL( { collection: myRxCollection, // urls to the GraphQL endpoints url: { http: 'http://example.com/graphql' }, pull: { queryBuilder: pullQueryBuilder, // the queryBuilder from above modifier: doc => doc, // (optional) modifies all pulled documents before they are handled by RxDB dataPath: undefined, // (optional) specifies the object path to access the document(s). Otherwise, the first result of the response data is used. /** * Amount of documents that the remote will send in one request. * If the response contains less than [batchSize] documents, * RxDB will assume there are no more changes on the backend * that are not replicated. * This value is the same as the limit in the pullHuman() schema. * [default=100] */ batchSize: 50 }, // headers which will be used in http requests against the server. headers: { Authorization: 'Bearer abcde...' }, /** * Options that have been inherited from the RxReplication */ deletedField: 'deleted', live: true, retryTime = 1000 * 5, waitForLeadership = true, autoStart = true, } ); Push replication For the push-replication, you also need a queryBuilder. Here, the builder receives a changed document as input which has to be send to the server. It also returns a GraphQL-Query and its data. const pushQueryBuilder = rows => { const query = ` mutation PushHuman($writeRows: [HumanInputPushRow!]) { pushHuman(writeRows: $writeRows) { id name age updatedAt deleted } } `; const variables = { writeRows: rows }; return { query, operationName: 'PushHuman', variables }; }; With the queryBuilder, you can then setup the push-replication. const replicationState = replicateGraphQL( { collection: myRxCollection, // urls to the GraphQL endpoints url: { http: 'http://example.com/graphql' }, push: { queryBuilder: pushQueryBuilder, // the queryBuilder from above /** * batchSize (optional) * Amount of document that will be pushed to the server in a single request. */ batchSize: 5, /** * modifier (optional) * Modifies all pushed documents before they are send to the GraphQL endpoint. * Returning null will skip the document. */ modifier: doc => doc }, headers: { Authorization: 'Bearer abcde...' }, pull: { /* ... */ }, /* ... */ } ); Pull Stream To create a realtime replication, you need to create a pull stream that pulls ongoing writes from the server. The pull stream gets the headers of the RxReplicationState as input, so that it can be authenticated on the backend. const pullStreamQueryBuilder = (headers) => { const query = `subscription onStream($headers: Headers) { streamHero(headers: $headers) { documents { id, name, age, updatedAt, deleted }, checkpoint { id updatedAt } } }`; return { query, variables: { headers } }; }; With the pullStreamQueryBuilder you can then start a realtime replication. const replicationState = replicateGraphQL( { collection: myRxCollection, // urls to the GraphQL endpoints url: { http: 'http://example.com/graphql', ws: 'ws://example.com/subscriptions' // <- The websocket has to use a different url. }, push: { batchSize: 100, queryBuilder: pushQueryBuilder }, headers: { Authorization: 'Bearer abcde...' }, pull: { batchSize: 100, queryBuilder: pullQueryBuilder, streamQueryBuilder: pullStreamQueryBuilder, includeWsHeaders: false, // Includes headers as connection parameter to Websocket. // Websocket options that can be passed as a parameter to initialize the subscription // Can be applied anything from the graphql-ws ClientOptions - https://the-guild.dev/graphql/ws/docs/interfaces/client.ClientOptions // Except these parameters: 'url', 'shouldRetry', 'webSocketImpl' - locked for internal usage // Note: if you provide connectionParams as a wsOption, make sure it returns any necessary headers (e.g. authorization) // because providing your own connectionParams prevents headers from being included automatically wsOptions: { retryAttempts: 10, } }, deletedField: 'deleted' } ); note If it is not possible to create a websocket server on your backend, you can use any other method of pull out the ongoing events from the backend and then you can send them into RxReplicationState.emitEvent(). ","version":"Next","tagName":"h3"},{"title":"Transforming null to undefined in optional fields","type":1,"pageTitle":"Replication with GraphQL","url":"/replication-graphql.html#transforming-null-to-undefined-in-optional-fields","content":" GraphQL fills up non-existent optional values with null while RxDB required them to be undefined. Therefore, if your schema contains optional properties, you have to transform the pulled data to switch out null to undefined const replicationState: RxGraphQLReplicationState<RxDocType> = replicateGraphQL( { collection: myRxCollection, url: {/* ... */}, headers: {/* ... */}, push: {/* ... */}, pull: { queryBuilder: pullQueryBuilder, modifier: (doc => { // We have to remove optional non-existent field values // they are set as null by GraphQL but should be undefined Object.entries(doc).forEach(([k, v]) => { if (v === null) { delete doc[k]; } }); return doc; }) }, /* ... */ } ); ","version":"Next","tagName":"h3"},{"title":"pull.responseModifier","type":1,"pageTitle":"Replication with GraphQL","url":"/replication-graphql.html#pullresponsemodifier","content":" With the pull.responseModifier you can modify the whole response from the GraphQL endpoint before it is processed by RxDB. For example if your endpoint is not capable of returning a valid checkpoint, but instead only returns the plain document array, you can use the responseModifier to aggregate the checkpoint from the returned documents. import { } from 'rxdb'; const replicationState: RxGraphQLReplicationState<RxDocType> = replicateGraphQL( { collection: myRxCollection, url: {/* ... */}, headers: {/* ... */}, push: {/* ... */}, pull: { responseModifier: async function( plainResponse, // the exact response that was returned from the server origin, // either 'handler' if plainResponse came from the pull.handler, or 'stream' if it came from the pull.stream requestCheckpoint // if origin==='handler', the requestCheckpoint contains the checkpoint that was send to the backend ) { /** * In this example we aggregate the checkpoint from the documents array * that was returned from the graphql endpoint. */ const docs = plainResponse; return { documents: docs, checkpoint: docs.length === 0 ? requestCheckpoint : { name: lastOfArray(docs).name, updatedAt: lastOfArray(docs).updatedAt } }; } }, /* ... */ } ); ","version":"Next","tagName":"h3"},{"title":"push.responseModifier","type":1,"pageTitle":"Replication with GraphQL","url":"/replication-graphql.html#pushresponsemodifier","content":" It's also possible to modify the response of a push mutation. For example if your server returns more than the just conflicting docs: type PushResponse { conflicts: [Human] conflictMessages: [ReplicationConflictMessage] } type Mutation { # Returns a PushResponse type that contains the conflicts along with other information pushHuman(rows: [HumanInputPushRow!]): PushResponse! } import {} from "rxdb"; const replicationState: RxGraphQLReplicationState<RxDocType> = replicateGraphQL( { collection: myRxCollection, url: {/* ... */}, headers: {/* ... */}, push: { responseModifier: async function (plainResponse) { /** * In this example we aggregate the conflicting documents from a response object */ return plainResponse.conflicts; }, }, pull: {/* ... */}, /* ... */ } ); Helper Functions RxDB provides the helper functions graphQLSchemaFromRxSchema(), pullQueryBuilderFromRxSchema(), pullStreamBuilderFromRxSchema() and pushQueryBuilderFromRxSchema() that can be used to generate handlers and schemas from the RxJsonSchema. To learn how to use them, please inspect the GraphQL Example. ","version":"Next","tagName":"h3"},{"title":"RxGraphQLReplicationState","type":1,"pageTitle":"Replication with GraphQL","url":"/replication-graphql.html#rxgraphqlreplicationstate","content":" When you call myCollection.syncGraphQL() it returns a RxGraphQLReplicationState which can be used to subscribe to events, for debugging or other functions. It extends the RxReplicationState with some GraphQL specific methods. .setHeaders() Changes the headers for the replication after it has been set up. replicationState.setHeaders({ Authorization: `...` }); Sending Cookies The underlying fetch framework uses a same-origin policy for credentials per default. That means, cookies and session data is only shared if you backend and frontend run on the same domain and port. Pass the credential parameter to include cookies in requests to servers from different origins via: replicationState.setCredentials('include'); or directly pass it in the replicateGraphQL function: replicateGraphQL( { collection: myRxCollection, /* ... */ credentials: 'include', /* ... */ } ); See the fetch spec for more information about available options. note To play around, check out the full example of the RxDB GraphQL replication with server and client ","version":"Next","tagName":"h3"},{"title":"Websocket Replication","type":0,"sectionRef":"#","url":"/replication-websocket.html","content":"","keywords":"","version":"Next"},{"title":"Starting the Websocket Server","type":1,"pageTitle":"Websocket Replication","url":"/replication-websocket.html#starting-the-websocket-server","content":" import { createRxDatabase } from 'rxdb'; import { startWebsocketServer } from 'rxdb/plugins/replication-websocket'; // create a RxDatabase like normal const myDatabase = await createRxDatabase({/* ... */}); // start a websocket server const serverState = await startWebsocketServer({ database: myDatabase, port: 1337, path: '/socket' }); // stop the server await serverState.close(); ","version":"Next","tagName":"h2"},{"title":"Connect to the Websocket Server","type":1,"pageTitle":"Websocket Replication","url":"/replication-websocket.html#connect-to-the-websocket-server","content":" The replication has to be started once for each collection that you want to replicate. import { replicateWithWebsocketServer } from 'rxdb/plugins/replication-websocket'; // start the replication const replicationState = await replicateWithWebsocketServer({ /** * To make the replication work, * the client collection name must be equal * to the server collection name. */ collection: myRxCollection, url: 'ws://localhost:1337/socket' }); // stop the replication await replicationState.cancel(); ","version":"Next","tagName":"h2"},{"title":"Customize","type":1,"pageTitle":"Websocket Replication","url":"/replication-websocket.html#customize","content":" We use the ws npm library, so you can use all optional configuration provided by it. This is especially important to improve performance by opting in of some optional settings. ","version":"Next","tagName":"h2"},{"title":"Supabase Replication Plugin for RxDB - Real-Time, Offline-First Sync","type":0,"sectionRef":"#","url":"/replication-supabase.html","content":"","keywords":"","version":"Next"},{"title":"Key Features of the RxDB-Supabase Plugin","type":1,"pageTitle":"Supabase Replication Plugin for RxDB - Real-Time, Offline-First Sync","url":"/replication-supabase.html#key-features-of-the-rxdb-supabase-plugin","content":" Cloud Only Backend: No self-hosted server required. Client devices directly sync with the Supabase Servers.Two-way replication between Supabase tables and RxDB collectionsOffline-first with resumable, incremental syncLive updates via Supabase Realtime channelsConflict resolution handled by the RxDB Sync EngineWorks in browsers and Node.js with @supabase/supabase-js ","version":"Next","tagName":"h2"},{"title":"Architecture Overview","type":1,"pageTitle":"Supabase Replication Plugin for RxDB - Real-Time, Offline-First Sync","url":"/replication-supabase.html#architecture-overview","content":" Client A Supabase Client B Client C Clients connect directly to Supabase using the official JS client. The plugin: Pulls documents over PostgREST using a checkpoint (modified, id) and deterministic ordering.Pushes inserts/updates using optimistic concurrency guards.Streams new changes using Supabase Realtime so live replication stays up to date. note Because Supabase exposes Postgres over HTTP/WebSocket, you can safely replicate from browsers and mobile apps. Protect your data with Row Level Security (RLS) policies; use the anon key on clients and the service role key only on trusted servers. ","version":"Next","tagName":"h2"},{"title":"Setting up RxDB ↔ Supabase Sync","type":1,"pageTitle":"Supabase Replication Plugin for RxDB - Real-Time, Offline-First Sync","url":"/replication-supabase.html#setting-up-rxdb--supabase-sync","content":" 1 Install Dependencies npm install rxdb @supabase/supabase-js 2 Create a Supabase Project & Table In your supabase project, create a new table. Ensure that: The primary key must have the type text (Primary keys must always be strings in RxDB)You have an modified field which stores the last modification timestamp of a row (default is _modified)You have a boolean field which stores if a row should is "deleted". You should not hard-delete rows in Supabase, because clients would miss the deletion if they haven't been online at the deletion time. Instead, use a deleted boolean to mark rows as deleted. This way all clients can still pull the deletion, and RxDB will hide the complexity on the client side.Enable the realtime observation of writes to the table. Here is an example for a "human" table: create extension if not exists moddatetime schema extensions; create table "public"."humans" ( "passportId" text primary key, "firstName" text not null, "lastName" text not null, "age" integer, "_deleted" boolean DEFAULT false NOT NULL, "_modified" timestamp with time zone DEFAULT now() NOT NULL ); -- auto-update the _modified timestamp CREATE TRIGGER update_modified_datetime BEFORE UPDATE ON public.humans FOR EACH ROW EXECUTE FUNCTION extensions.moddatetime('_modified'); -- add a table to the publication so we can subscribe to changes alter publication supabase_realtime add table "public"."humans"; 3 Create an RxDB Database & Collection Create a normal RxDB database, then add a collection whose schema mirrors your Supabase table. The primary key must match (same column name and type), and fields should be top-level simple types (string/number/boolean). You don’t need to model server internals: the plugin maps the server’s _deleted flag to doc._deleted automatically, and _modified is optional in your schema (the plugin strips it on push and will include it on pull only if you define it). For browsers use a persistent storage like Localstorage or IndexedDB. For tests you can use the in-memory storage. // client import { createRxDatabase } from 'rxdb/plugins/core'; import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage'; export const db = await createRxDatabase({ name: 'mydb', storage: getRxStorageLocalstorage() }); await db.addCollections({ humans: { schema: { version: 0, primaryKey: 'passportId', type: 'object', properties: { passportId: { type: 'string', maxLength: 100 }, firstName: { type: 'string' }, lastName: { type: 'string' }, age: { type: 'number' } }, required: ['passportId', 'firstName', 'lastName'] } } }); 4 Create the Supabase Client Make a single Supabase client and reuse it across your app. In the browser, use the anon key (RLS-protected). On trusted servers you may use the service role key—but never ship that to clients. Production Vite Local Development //> client import { createClient } from '@supabase/supabase-js'; export const supabase = createClient( 'https://xyzcompany.supabase.co', 'eyJhbGciOi...' ); 5 Start Replication Connect your RxDB collection to the Supabase table to start the replication. //> client import { replicateSupabase } from 'rxdb/plugins/replication-supabase'; const replication = replicateSupabase({ tableName: 'humans', client: supabase, collection: db.humans, replicationIdentifier: 'humans-supabase', live: true, pull: { batchSize: 50, // optional: shape incoming docs modifier: (doc) => { // map nullable age-field if (!doc.age) delete doc.age; return doc; } // optional: customize the pull query before fetching queryBuilder: ({ query }) => { // Add filters, joins, or other PostgREST query modifiers // This runs before checkpoint filtering and ordering return query.eq("status", "active"); }, }, push: { batchSize: 50 }, // optional overrides if your column names differ: // modifiedField: '_modified', // deletedField: '_deleted' }); // (optional) observe errors and wait for the first sync barrier replication.error$.subscribe(err => console.error('[replication]', err)); await replication.awaitInitialReplication(); Nullable values must be mapped Supabase returns null for nullable columns, but in RxDB you often model those fields as optional (i.e., they can be undefined/missing). To avoid schema errors, map null → undefined in the pull.modifier (usually by deleting the key). 6 Do other things with the replication state The RxSupabaseReplicationState which is returned from replicateSupabase() allows you to run all functionality of the normal RxReplicationState. ","version":"Next","tagName":"h2"},{"title":"Follow Up","type":1,"pageTitle":"Supabase Replication Plugin for RxDB - Real-Time, Offline-First Sync","url":"/replication-supabase.html#follow-up","content":" Replication API Reference: Learn the core concepts and lifecycle hooks — ReplicationOffline-First Guide: Caching, retries, and conflict strategies — Local-FirstSupabase Essentials: Row Level Security (RLS) — https://supabase.com/docs/guides/auth/row-level-securityRealtime — https://supabase.com/docs/guides/realtimeLocal dev with the Supabase CLI — https://supabase.com/docs/guides/cli Community: Questions or feedback? Join our Discord — Chat ","version":"Next","tagName":"h2"},{"title":"P2P WebRTC Replication with RxDB - Sync Data between Browsers and Devices in JavaScript","type":0,"sectionRef":"#","url":"/replication-webrtc.html","content":"","keywords":"","version":"Next"},{"title":"What is WebRTC?","type":1,"pageTitle":"P2P WebRTC Replication with RxDB - Sync Data between Browsers and Devices in JavaScript","url":"/replication-webrtc.html#what-is-webrtc","content":" WebRTC stands for Web Real-Time Communication. It is an open standard that enables browsers and native apps to exchange audio, video, or arbitrary data directly between peers, bypassing a central server after the initial connection is established. WebRTC uses NAT traversal techniques like ICE (Interactive Connectivity Establishment) to punch through firewalls and establish direct links. This peer-to-peer nature drastically reduces latency while maintaining high security and end-to-end encryption capabilities. For a deeper look at comparing WebRTC with WebSockets and WebTransport, you can read our comprehensive overview. While WebSockets or WebTransport often work in client-server contexts, WebRTC offers direct peer-to-peer connections ideal for fully decentralized data flows. ","version":"Next","tagName":"h2"},{"title":"Benefits of P2P Sync with WebRTC Compared to Client-Server Architecture","type":1,"pageTitle":"P2P WebRTC Replication with RxDB - Sync Data between Browsers and Devices in JavaScript","url":"/replication-webrtc.html#benefits-of-p2p-sync-with-webrtc-compared-to-client-server-architecture","content":" Reduced Latency - By skipping a central server hop, data travels directly from one client to another, minimizing round-trip times and improving responsiveness.Scalability - New peers can join without overloading a central infrastructure. The sync overhead increases linearly with the number of connections rather than requiring a massive server cluster.Privacy & Ownership - Data stays within the user’s devices, avoiding risks tied to storing data on third-party servers. This design aligns well with local-first or "zero-latency" apps.Resilience - In some scenarios, if the central server is unreachable, P2P connections remain operational (assuming a functioning signaling path). Apps can still replicate data among local networks like when they are in the same Wifi or LAN.Cost Savings - Reducing the reliance on a high-bandwidth server can cut hosting and bandwidth expenses, particularly in high-traffic or IoT-style use cases. ","version":"Next","tagName":"h2"},{"title":"Peer-to-Peer (P2P) WebRTC Replication with the RxDB JavaScript Database","type":1,"pageTitle":"P2P WebRTC Replication with RxDB - Sync Data between Browsers and Devices in JavaScript","url":"/replication-webrtc.html#peer-to-peer-p2p-webrtc-replication-with-the-rxdb-javascript-database","content":" Traditionally, real-time data synchronization depends on centralized servers to manage and distribute updates. In contrast, RxDB’s WebRTC P2P replication allows data to flow directly among clients, removing the server as a data store. This approach is live and fully decentralized, requiring only a signaling server for initial discovery: No master-slave concept - each peer hosts its own local RxDB.Clients (browsers, devices) connect to each other via WebRTC data channels.The RxDB replication protocol then handles pushing/pulling document changes across peers. Because RxDB is a NoSQL database and the replication protocol is straightforward, setting up robust P2P sync is far easier than orchestrating a complex client-server database architecture. ","version":"Next","tagName":"h2"},{"title":"Using RxDB with the WebRTC Replication Plugin","type":1,"pageTitle":"P2P WebRTC Replication with RxDB - Sync Data between Browsers and Devices in JavaScript","url":"/replication-webrtc.html#using-rxdb-with-the-webrtc-replication-plugin","content":" Before you use this plugin, make sure that you understand how WebRTC works. Here we build a todo-app that replicates todo-entries between clients: You can find a fully build example of this at the RxDB Quickstart Repository which you can also try out online. Four you create the database and then you can configure the replication: 1 Create the Database and Collection Here we create a database with the localstorage based storage that stores data inside of the LocalStorage API in a browser. RxDB has a wide range of storages for other JavaScript runtimes. import { createRxDatabase } from 'rxdb/plugins/core'; import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage'; const db = await createRxDatabase({ name: 'myTodoDB', storage: getRxStorageLocalstorage() }); await db.addCollections({ todos: { schema: { title: 'todo schema', version: 0, type: 'object', primaryKey: 'id', properties: { id: { type: 'string', maxLength: 100 }, title: { type: 'string' }, done: { type: 'boolean', default: false }, created: { type: 'string', format: 'date-time' } }, required: ['id', 'title', 'done'] } } }); // insert an example document await db.todos.insert({ id: 'todo-1', title: 'P2P demo task', done: false, created: new Date().toISOString() }); 2 Import the WebRTC replication plugin import { replicateWebRTC, getConnectionHandlerSimplePeer } from 'rxdb/plugins/replication-webrtc'; 3 Start the P2P replication To start the replication you have to call replicateWebRTC on the collection. As options you have to provide a topic and a connection handler function that implements the P2PConnectionHandlerCreator interface. As default you should start with the getConnectionHandlerSimplePeer method which uses the simple-peer library and comes shipped with RxDB. const replicationPool = await replicateWebRTC( { // Start the replication for a single collection collection: db.todos, // The topic is like a 'room-name'. All clients with the same topic // will replicate with each other. In most cases you want to use // a different topic string per user. Also you should prefix the topic with // a unique identifier for your app, to ensure you do not let your users connect // with other apps that also use the RxDB P2P Replication. topic: 'my-users-pool', /** * You need a collection handler to be able to create WebRTC connections. * Here we use the simple peer handler which uses the 'simple-peer' npm library. * To learn how to create a custom connection handler, read the source code, * it is pretty simple. */ connectionHandlerCreator: getConnectionHandlerSimplePeer({ // Set the signaling server url. // You can use the server provided by RxDB for tryouts, // but in production you should use your own server instead. signalingServerUrl: 'wss://signaling.rxdb.info/', // only in Node.js, we need the wrtc library // because Node.js does not contain the WebRTC API. wrtc: require('node-datachannel/polyfill'), // only in Node.js, we need the WebSocket library // because Node.js does not contain the WebSocket API. webSocketConstructor: require('ws').WebSocket }), pull: {}, push: {} } ); Notice that in difference to the other replication plugins, the WebRTC replication returns a replicationPool instead of a single RxReplicationState. The replicationPool contains all replication states of the connected peers in the P2P network. 4 Observe Errors To ensure we log out potential errors, observe the error$ observable of the pool. replicationPool.error$.subscribe(err => console.error('WebRTC Error:', err)); 5 Stop the Replication You can also dynamically stop the replication. replicationPool.cancel(); ","version":"Next","tagName":"h2"},{"title":"Live replications","type":1,"pageTitle":"P2P WebRTC Replication with RxDB - Sync Data between Browsers and Devices in JavaScript","url":"/replication-webrtc.html#live-replications","content":" The WebRTC replication is always live because there can not be a one-time sync when it is always possible to have new Peers that join the connection pool. Therefore you cannot set the live: false option like in the other replication plugins. ","version":"Next","tagName":"h2"},{"title":"Signaling Server","type":1,"pageTitle":"P2P WebRTC Replication with RxDB - Sync Data between Browsers and Devices in JavaScript","url":"/replication-webrtc.html#signaling-server","content":" For P2P replication to work with the RxDB WebRTC Replication Plugin, a signaling server is required. The signaling server helps peers discover each other and establish connections. RxDB ships with a default signaling server that can be used with the simple-peer connection handler. This server is made for demonstration purposes and tryouts. It is not reliable and might be offline at any time. In production you must always use your own signaling server instead! Creating a basic signaling server is straightforward. The provided example uses 'socket.io' for WebSocket communication. However, in production, you'd want to create a more robust signaling server with authentication and additional logic to suit your application's needs. Here is a quick example implementation of a signaling server that can be used with the connection handler from getConnectionHandlerSimplePeer(): import { startSignalingServerSimplePeer } from 'rxdb/plugins/replication-webrtc'; const serverState = await startSignalingServerSimplePeer({ port: 8080 // <- port }); For custom signaling servers with more complex logic, you can check the source code of the default one. ","version":"Next","tagName":"h2"},{"title":"Peer Validation","type":1,"pageTitle":"P2P WebRTC Replication with RxDB - Sync Data between Browsers and Devices in JavaScript","url":"/replication-webrtc.html#peer-validation","content":" By default the replication will replicate with every peer the signaling server tells them about. You can prevent invalid peers from replication by passing a custom isPeerValid() function that either returns true on valid peers and false on invalid peers. const replicationPool = await replicateWebRTC( { /* ... */ isPeerValid: async (peer) => { return true; } pull: {}, push: {} /* ... */ } ); ","version":"Next","tagName":"h2"},{"title":"Conflict detection in WebRTC replication","type":1,"pageTitle":"P2P WebRTC Replication with RxDB - Sync Data between Browsers and Devices in JavaScript","url":"/replication-webrtc.html#conflict-detection-in-webrtc-replication","content":" RxDB's conflict handling works by detecting and resolving conflicts that may arise when multiple clients in a decentralized database system attempt to modify the same data concurrently. A custom conflict handler can be set up, which is a plain JavaScript function. The conflict handler is run on each replicated document write and resolves the conflict if required. Find out more about RxDB conflict handling here ","version":"Next","tagName":"h2"},{"title":"Known problems","type":1,"pageTitle":"P2P WebRTC Replication with RxDB - Sync Data between Browsers and Devices in JavaScript","url":"/replication-webrtc.html#known-problems","content":" ","version":"Next","tagName":"h2"},{"title":"SimplePeer requires to have process.nextTick()","type":1,"pageTitle":"P2P WebRTC Replication with RxDB - Sync Data between Browsers and Devices in JavaScript","url":"/replication-webrtc.html#simplepeer-requires-to-have-processnexttick","content":" In the browser you might not have a process variable or process.nextTick() method. But the simple peer uses that so you have to polyfill it. In webpack you can use the process/browser package to polyfill it: const plugins = [ /* ... */ new webpack.ProvidePlugin({ process: 'process/browser', }) /* ... */ ]; In angular or other libraries you can add the polyfill manually: window.process = { nextTick: (fn, ...args) => setTimeout(() => fn(...args)), }; ","version":"Next","tagName":"h3"},{"title":"Polyfill the WebSocket and WebRTC API in Node.js","type":1,"pageTitle":"P2P WebRTC Replication with RxDB - Sync Data between Browsers and Devices in JavaScript","url":"/replication-webrtc.html#polyfill-the-websocket-and-webrtc-api-in-nodejs","content":" While all modern browsers support the WebRTC and WebSocket APIs, they is missing in Node.js which will throw the error No WebRTC support: Specify opts.wrtc option in this environment. Therefore you have to polyfill it with a compatible WebRTC and WebSocket polyfill. It is recommended to use the node-datachannel package for WebRTC which does not come with RxDB but has to be installed before via npm install node-datachannel --save. For the Websocket API use the ws package that is included into RxDB. import nodeDatachannelPolyfill from 'node-datachannel/polyfill'; import { WebSocket } from 'ws'; const replicationPool = await replicateWebRTC( { /* ... */ connectionHandlerCreator: getConnectionHandlerSimplePeer({ signalingServerUrl: 'wss://example.com:8080', wrtc: nodeDatachannelPolyfill, webSocketConstructor: WebSocket }), pull: {}, push: {} /* ... */ } ); ","version":"Next","tagName":"h3"},{"title":"Storing replicated data encrypted on client device","type":1,"pageTitle":"P2P WebRTC Replication with RxDB - Sync Data between Browsers and Devices in JavaScript","url":"/replication-webrtc.html#storing-replicated-data-encrypted-on-client-device","content":" Storing replicated data encrypted on client devices using the RxDB Encryption Plugin is a pivotal step towards bolstering data security and user privacy. The WebRTC replication plugin seamlessly integrates with the RxDB encryption plugins, providing a robust solution for encrypting sensitive information before it's stored locally. By doing so, it ensures that even if unauthorized access to the device occurs, the data remains protected and unintelligible without the encryption key (or password). This approach is particularly vital in scenarios where user-generated content or confidential data is replicated across devices, as it empowers users with control over their own data while adhering to stringent security standards. Read more about the encryption plugins here. ","version":"Next","tagName":"h2"},{"title":"Follow Up","type":1,"pageTitle":"P2P WebRTC Replication with RxDB - Sync Data between Browsers and Devices in JavaScript","url":"/replication-webrtc.html#follow-up","content":" Check out the RxDB Quickstart to see how to set up your first RxDB database.Explore advanced features like Custom Conflict Handling or Offline-First Performance.Try an example at RxDB Quickstart GitHub to see a working P2P Sync setup.Join the RxDB Community on GitHub or Discord if you have questions or want to share your P2P WebRTC experiences. ","version":"Next","tagName":"h2"},{"title":"Attachments","type":0,"sectionRef":"#","url":"/rx-attachment.html","content":"","keywords":"","version":"Next"},{"title":"Add the attachments plugin","type":1,"pageTitle":"Attachments","url":"/rx-attachment.html#add-the-attachments-plugin","content":" To enable the attachments, you have to add the attachments plugin. import { addRxPlugin } from 'rxdb'; import { RxDBAttachmentsPlugin } from 'rxdb/plugins/attachments'; addRxPlugin(RxDBAttachmentsPlugin); ","version":"Next","tagName":"h2"},{"title":"Enable attachments in the schema","type":1,"pageTitle":"Attachments","url":"/rx-attachment.html#enable-attachments-in-the-schema","content":" Before you can use attachments, you have to ensure that the attachments-object is set in the schema of your RxCollection. const mySchema = { version: 0, type: 'object', properties: { // . // . // . }, attachments: { encrypted: true // if true, the attachment-data will be encrypted with the db-password } }; const myCollection = await myDatabase.addCollections({ humans: { schema: mySchema } }); ","version":"Next","tagName":"h2"},{"title":"putAttachment()","type":1,"pageTitle":"Attachments","url":"/rx-attachment.html#putattachment","content":" Adds an attachment to a RxDocument. Returns a Promise with the new attachment. import { createBlob } from 'rxdb'; const attachment = await myDocument.putAttachment( { id: 'cat.txt', // (string) name of the attachment data: createBlob('meowmeow', 'text/plain'), // (string|Blob) data of the attachment type: 'text/plain' // (string) type of the attachment-data like 'image/jpeg' } ); warning Expo/React-Native does not support the Blob API natively. Make sure you use your own polyfill that properly supports blob.arrayBuffer() when using RxAttachments or use the putAttachmentBase64() and getDataBase64() so that you do not have to create blobs. ","version":"Next","tagName":"h2"},{"title":"putAttachmentBase64()","type":1,"pageTitle":"Attachments","url":"/rx-attachment.html#putattachmentbase64","content":" Same as putAttachment() but accepts a plain base64 string instead of a Blob. const attachment = await doc.putAttachmentBase64({ id: 'cat.txt', length: 4, data: 'bWVvdw==', type: 'text/plain' }); ","version":"Next","tagName":"h2"},{"title":"getAttachment()","type":1,"pageTitle":"Attachments","url":"/rx-attachment.html#getattachment","content":" Returns an RxAttachment by its id. Returns null when the attachment does not exist. const attachment = myDocument.getAttachment('cat.jpg'); ","version":"Next","tagName":"h2"},{"title":"allAttachments()","type":1,"pageTitle":"Attachments","url":"/rx-attachment.html#allattachments","content":" Returns an array of all attachments of the RxDocument. const attachments = myDocument.allAttachments(); ","version":"Next","tagName":"h2"},{"title":"allAttachments$","type":1,"pageTitle":"Attachments","url":"/rx-attachment.html#allattachments-1","content":" Gets an Observable which emits a stream of all attachments from the document. Re-emits each time an attachment gets added or removed from the RxDocument. const all = []; myDocument.allAttachments$.subscribe( attachments => all = attachments ); ","version":"Next","tagName":"h2"},{"title":"RxAttachment","type":1,"pageTitle":"Attachments","url":"/rx-attachment.html#rxattachment","content":" The attachments of RxDB are represented by the type RxAttachment which has the following attributes/methods. ","version":"Next","tagName":"h2"},{"title":"doc","type":1,"pageTitle":"Attachments","url":"/rx-attachment.html#doc","content":" The RxDocument which the attachment is assigned to. ","version":"Next","tagName":"h3"},{"title":"id","type":1,"pageTitle":"Attachments","url":"/rx-attachment.html#id","content":" The id as string of the attachment. ","version":"Next","tagName":"h3"},{"title":"type","type":1,"pageTitle":"Attachments","url":"/rx-attachment.html#type","content":" The type as string of the attachment. ","version":"Next","tagName":"h3"},{"title":"length","type":1,"pageTitle":"Attachments","url":"/rx-attachment.html#length","content":" The length of the data of the attachment as number. ","version":"Next","tagName":"h3"},{"title":"digest","type":1,"pageTitle":"Attachments","url":"/rx-attachment.html#digest","content":" The hash of the attachments data as string. note The digest is NOT calculated by RxDB, instead it is calculated by the RxStorage. The only guarantee is that the digest will change when the attachments data changes. ","version":"Next","tagName":"h3"},{"title":"rev","type":1,"pageTitle":"Attachments","url":"/rx-attachment.html#rev","content":" The revision-number of the attachment as number. ","version":"Next","tagName":"h3"},{"title":"remove()","type":1,"pageTitle":"Attachments","url":"/rx-attachment.html#remove","content":" Removes the attachment. Returns a Promise that resolves when done. const attachment = myDocument.getAttachment('cat.jpg'); await attachment.remove(); ","version":"Next","tagName":"h3"},{"title":"getData()","type":1,"pageTitle":"Attachments","url":"/rx-attachment.html#getdata","content":" Returns a Promise which resolves the attachment's data as Blob. (async) const attachment = myDocument.getAttachment('cat.jpg'); const blob = await attachment.getData(); // Blob ","version":"Next","tagName":"h2"},{"title":"getDataBase64()","type":1,"pageTitle":"Attachments","url":"/rx-attachment.html#getdatabase64","content":" Returns a Promise which resolves the attachment's data as base64string. const attachment = myDocument.getAttachment('cat.jpg'); const base64Database = await attachment.getDataBase64(); // 'bWVvdw==' ","version":"Next","tagName":"h2"},{"title":"getStringData()","type":1,"pageTitle":"Attachments","url":"/rx-attachment.html#getstringdata","content":" Returns a Promise which resolves the attachment's data as string. const attachment = await myDocument.getAttachment('cat.jpg'); const data = await attachment.getStringData(); // 'meow' Attachment compression Storing many attachments can be a problem when the disc space of the device is exceeded. Therefore it can make sense to compress the attachments before storing them in the RxStorage. With the attachments-compression plugin you can compress the attachments data on write and decompress it on reads. This happens internally and will now change on how you use the api. The compression is run with the Compression Streams API which is only supported on newer browsers. import { wrappedAttachmentsCompressionStorage } from 'rxdb/plugins/attachments-compression'; import { getRxStorageIndexedDB } from 'rxdb-premium/plugins/storage-indexeddb'; // create a wrapped storage with attachment-compression. const storageWithAttachmentsCompression = wrappedAttachmentsCompressionStorage({ storage: getRxStorageIndexedDB() }); const db = await createRxDatabase({ name: 'mydatabase', storage: storageWithAttachmentsCompression }); // set the compression mode at the schema level const mySchema = { version: 0, type: 'object', properties: { // . // . // . }, attachments: { compression: 'deflate' // <- Specify the compression mode here. OneOf ['deflate', 'gzip'] } }; /* ... create your collections as usual and store attachments in them. */ ","version":"Next","tagName":"h2"},{"title":"RxCollection","type":0,"sectionRef":"#","url":"/rx-collection.html","content":"","keywords":"","version":"Next"},{"title":"Creating a Collection","type":1,"pageTitle":"RxCollection","url":"/rx-collection.html#creating-a-collection","content":" To create one or more collections you need a RxDatabase object which has the .addCollections()-method. Every collection needs a collection name and a valid RxJsonSchema. Other attributes are optional. const myCollections = await myDatabase.addCollections({ // key = collectionName humans: { schema: mySchema, statics: {}, // (optional) ORM-functions for this collection methods: {}, // (optional) ORM-functions for documents attachments: {}, // (optional) ORM-functions for attachments options: {}, // (optional) Custom parameters that might be used in plugins migrationStrategies: {}, // (optional) autoMigrate: true, // (optional) [default=true] cacheReplacementPolicy: function(){}, // (optional) custom cache replacement policy conflictHandler: function(){} // (optional) a custom conflict handler can be used }, // you can create multiple collections at once animals: { // ... } }); ","version":"Next","tagName":"h2"},{"title":"name","type":1,"pageTitle":"RxCollection","url":"/rx-collection.html#name","content":" The name uniquely identifies the collection and should be used to refine the collection in the database. Two different collections in the same database can never have the same name. Collection names must match the following regex: ^[a-z][a-z0-9]*$. ","version":"Next","tagName":"h3"},{"title":"schema","type":1,"pageTitle":"RxCollection","url":"/rx-collection.html#schema","content":" The schema defines how the documents of the collection are structured. RxDB uses a schema format, similar to JSON schema. Read more about the RxDB schema format here. ","version":"Next","tagName":"h3"},{"title":"ORM-functions","type":1,"pageTitle":"RxCollection","url":"/rx-collection.html#orm-functions","content":" With the parameters statics, methods and attachments, you can define ORM-functions that are applied to each of these objects that belong to this collection. See ORM/DRM. ","version":"Next","tagName":"h3"},{"title":"Migration","type":1,"pageTitle":"RxCollection","url":"/rx-collection.html#migration","content":" With the parameters migrationStrategies and autoMigrate you can specify how migration between different schema-versions should be done. See Migration. ","version":"Next","tagName":"h3"},{"title":"Get a collection from the database","type":1,"pageTitle":"RxCollection","url":"/rx-collection.html#get-a-collection-from-the-database","content":" To get an existing collection from the database, call the collection name directly on the database: // newly created collection const collections = await db.addCollections({ heroes: { schema: mySchema } }); const collection2 = db.heroes; console.log(collections.heroes === collection2); //> true ","version":"Next","tagName":"h2"},{"title":"Functions","type":1,"pageTitle":"RxCollection","url":"/rx-collection.html#functions","content":" ","version":"Next","tagName":"h2"},{"title":"Observe $","type":1,"pageTitle":"RxCollection","url":"/rx-collection.html#observe-","content":" Calling this will return an rxjs-Observable which streams every change to data of this collection. myCollection.$.subscribe(changeEvent => console.dir(changeEvent)); // you can also observe single event-types with insert$ update$ remove$ myCollection.insert$.subscribe(changeEvent => console.dir(changeEvent)); myCollection.update$.subscribe(changeEvent => console.dir(changeEvent)); myCollection.remove$.subscribe(changeEvent => console.dir(changeEvent)); ","version":"Next","tagName":"h3"},{"title":"insert()","type":1,"pageTitle":"RxCollection","url":"/rx-collection.html#insert","content":" Use this to insert new documents into the database. The collection will validate the schema and automatically encrypt any encrypted fields. Returns the new RxDocument. const doc = await myCollection.insert({ name: 'foo', lastname: 'bar' }); ","version":"Next","tagName":"h3"},{"title":"insertIfNotExists()","type":1,"pageTitle":"RxCollection","url":"/rx-collection.html#insertifnotexists","content":" The insertIfNotExists() method attempts to insert a new document into the collection only if a document with the same primary key does not already exist. This is useful for ensuring uniqueness without having to manually check for existing records before inserting or handling conflicts. Returns either the newly added RxDocument or the previous existing document. const doc = await myCollection.insertIfNotExists({ name: 'foo', lastname: 'bar' }); ","version":"Next","tagName":"h3"},{"title":"bulkInsert()","type":1,"pageTitle":"RxCollection","url":"/rx-collection.html#bulkinsert","content":" When you have to insert many documents at once, use bulk insert. This is much faster than calling .insert() multiple times. Returns an object with a success- and error-array. const result = await myCollection.bulkInsert([{ name: 'foo1', lastname: 'bar1' }, { name: 'foo2', lastname: 'bar2' }]); // > { // success: [RxDocument, RxDocument], // error: [] // } note bulkInsert will not fail on update conflicts and you cannot expect that on failure the other documents are not inserted. Also the call to bulkInsert() it will not throw if a single document errors because of validation errors. Instead it will return the error in the .error property of the returned object. ","version":"Next","tagName":"h3"},{"title":"bulkRemove()","type":1,"pageTitle":"RxCollection","url":"/rx-collection.html#bulkremove","content":" When you want to remove many documents at once, use bulk remove. Returns an object with a success- and error-array. const result = await myCollection.bulkRemove([ 'primary1', 'primary2' ]); // > { // success: [RxDocument, RxDocument], // error: [] // } Instead of providing the document ids, you can also use the RxDocument instances. This can have better performance if your code knows them already at the moment of removing them: const result = await myCollection.bulkRemove([ myRxDocument1, myRxDocument2, /* ... */ ]); ","version":"Next","tagName":"h3"},{"title":"upsert()","type":1,"pageTitle":"RxCollection","url":"/rx-collection.html#upsert","content":" Inserts the document if it does not exist within the collection, otherwise it will overwrite it. Returns the new or overwritten RxDocument. const doc = await myCollection.upsert({ name: 'foo', lastname: 'bar2' }); ","version":"Next","tagName":"h3"},{"title":"bulkUpsert()","type":1,"pageTitle":"RxCollection","url":"/rx-collection.html#bulkupsert","content":" Same as upsert() but runs over multiple documents. Improves performance compared to running many upsert() calls. Returns an error and a success array. const docs = await myCollection.bulkUpsert([ { name: 'foo', lastname: 'bar2' }, { name: 'bar', lastname: 'foo2' } ]); /** * { * success: [RxDocument, RxDocument] * error: [], * } */ ","version":"Next","tagName":"h3"},{"title":"incrementalUpsert()","type":1,"pageTitle":"RxCollection","url":"/rx-collection.html#incrementalupsert","content":" When you run many upsert operations on the same RxDocument in a very short timespan, you might get a 409 Conflict error. This means that you tried to run a .upsert() on the document, while the previous upsert operation was still running. To prevent these types of errors, you can run incremental upsert operations. The behavior is similar to RxDocument.incrementalModify. const docData = { name: 'Bob', // primary lastName: 'Kelso' }; myCollection.upsert(docData); myCollection.upsert(docData); // -> throws because of parallel update to the same document myCollection.incrementalUpsert(docData); myCollection.incrementalUpsert(docData); myCollection.incrementalUpsert(docData); // wait until last upsert finished await myCollection.incrementalUpsert(docData); // -> works ","version":"Next","tagName":"h3"},{"title":"find()","type":1,"pageTitle":"RxCollection","url":"/rx-collection.html#find","content":" To find documents in your collection, use this method. See RxQuery.find(). // find all that are older than 18 const olderDocuments = await myCollection .find() .where('age') .gt(18) .exec(); // execute ","version":"Next","tagName":"h3"},{"title":"findOne()","type":1,"pageTitle":"RxCollection","url":"/rx-collection.html#findone","content":" This does basically what find() does, but it returns only a single document. You can pass a primary value to find a single document more easily. To find documents in your collection, use this method. See RxQuery.find(). // get document with name:foobar myCollection.findOne({ selector: { name: 'foo' } }).exec().then(doc => console.dir(doc)); // get document by primary, functionally identical to above query myCollection.findOne('foo') .exec().then(doc => console.dir(doc)); ","version":"Next","tagName":"h3"},{"title":"findByIds()","type":1,"pageTitle":"RxCollection","url":"/rx-collection.html#findbyids","content":" Find many documents by their id (primary value). This has a way better performance than running multiple findOne() or a find() with a big $or selector. Returns a Map where the primary key of the document is mapped to the document. Documents that do not exist or are deleted, will not be inside of the returned Map. const ids = [ 'alice', 'bob', /* ... */ ]; const docsMap = await myCollection.findByIds(ids); console.dir(docsMap); // Map(2) note The Map returned by findByIds is not guaranteed to return elements in the same order as the list of ids passed to it. ","version":"Next","tagName":"h3"},{"title":"exportJSON()","type":1,"pageTitle":"RxCollection","url":"/rx-collection.html#exportjson","content":" Use this function to create a json export from every document in the collection. Before exportJSON() and importJSON() can be used, you have to add the json-dump plugin. import { addRxPlugin } from 'rxdb'; import { RxDBJsonDumpPlugin } from 'rxdb/plugins/json-dump'; addRxPlugin(RxDBJsonDumpPlugin); myCollection.exportJSON() .then(json => console.dir(json)); ","version":"Next","tagName":"h3"},{"title":"importJSON()","type":1,"pageTitle":"RxCollection","url":"/rx-collection.html#importjson","content":" To import the json dump into your collection, use this function. // import the dump to the database myCollection.importJSON(json) .then(() => console.log('done')); Note that importing will fire events for each inserted document. ","version":"Next","tagName":"h3"},{"title":"remove()","type":1,"pageTitle":"RxCollection","url":"/rx-collection.html#remove","content":" Removes all known data of the collection and its previous versions. This removes the documents, the schemas, and older schemaVersions. await myCollection.remove(); // collection is now removed and can be re-created ","version":"Next","tagName":"h3"},{"title":"close()","type":1,"pageTitle":"RxCollection","url":"/rx-collection.html#close","content":" Removes the collection's object instance from the RxDatabase. This is to free up memory and stop all observers and replications. It will not delete the collections data. When you create the collection again with database.addCollections(), the newly added collection will still have all data. await myCollection.close(); ","version":"Next","tagName":"h3"},{"title":"onClose / onRemove()","type":1,"pageTitle":"RxCollection","url":"/rx-collection.html#onclose--onremove","content":" With these you can add a function that is run when the collection was closed or removed. This works even across multiple browser tabs so you can detect when another tab removes the collection and you application can behave accordingly. await myCollection.onClose(() => console.log('I am closed')); await myCollection.onRemove(() => console.log('I am removed')); ","version":"Next","tagName":"h3"},{"title":"isRxCollection","type":1,"pageTitle":"RxCollection","url":"/rx-collection.html#isrxcollection","content":" Returns true if the given object is an instance of RxCollection. Returns false if not. const is = isRxCollection(myObj); ","version":"Next","tagName":"h3"},{"title":"FAQ","type":1,"pageTitle":"RxCollection","url":"/rx-collection.html#faq","content":" When I reload the browser window, will my collections still be in the database? No, the javascript instance of the collections will not automatically load into the database on page reloads. You have to call the addCollections() method each time you create your database. This will create the JavaScript object instance of the RxCollection so that you can use it in the RxDatabase. The persisted data will be automatically in your RxCollection each time you create it. How to remove the limit of 16 collections? In the open-source version of RxDB, the amount of RxCollections that can exist in parallel is limited to 16. To remove this limit, you can purchase the Premium Plugins and call the setPremiumFlag() function before creating a database: import { setPremiumFlag } from 'rxdb-premium/plugins/shared'; setPremiumFlag(); ","version":"Next","tagName":"h2"},{"title":"RxDatabase","type":0,"sectionRef":"#","url":"/rx-database.html","content":"","keywords":"","version":"Next"},{"title":"Creation","type":1,"pageTitle":"RxDatabase","url":"/rx-database.html#creation","content":" The database is created by the asynchronous .createRxDatabase() function of the core RxDB module. It has the following parameters: import { createRxDatabase } from 'rxdb/plugins/core'; import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage'; const db = await createRxDatabase({ name: 'heroesdb', // <- name storage: getRxStorageLocalstorage(), // <- RxStorage /* Optional parameters: */ password: 'myPassword', // <- password (optional) multiInstance: true, // <- multiInstance (optional, default: true) eventReduce: true, // <- eventReduce (optional, default: false) cleanupPolicy: {} // <- custom cleanup policy (optional) }); ","version":"Next","tagName":"h2"},{"title":"name","type":1,"pageTitle":"RxDatabase","url":"/rx-database.html#name","content":" The database-name is a string which uniquely identifies the database. When two RxDatabases have the same name and use the same RxStorage, their data can be assumed as equal and they will share events between each other. Depending on the storage or adapter this can also be used to define the filesystem folder of your data. ","version":"Next","tagName":"h3"},{"title":"storage","type":1,"pageTitle":"RxDatabase","url":"/rx-database.html#storage","content":" RxDB works on top of an implementation of the RxStorage interface. This interface is an abstraction that allows you to use different underlying databases that actually handle the documents. Depending on your use case you might use a different storage with different tradeoffs in performance, bundle size or supported runtimes. There are many RxStorage implementations that can be used depending on the JavaScript environment and performance requirements. For example you can use the LocalStorage RxStorage in the browser or use the MongoDB RxStorage in Node.js. List of RxStorage implementations // use the LocalStroage that stores data in the browser. import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage'; const db = await createRxDatabase({ name: 'mydatabase', storage: getRxStorageLocalstorage() }); // ...or use the MongoDB RxStorage in Node.js. import { getRxStorageMongoDB } from 'rxdb/plugins/storage-mongodb'; const dbMongo = await createRxDatabase({ name: 'mydatabase', storage: getRxStorageMongoDB({ connection: 'mongodb://localhost:27017,localhost:27018,localhost:27019' }) }); ","version":"Next","tagName":"h3"},{"title":"password","type":1,"pageTitle":"RxDatabase","url":"/rx-database.html#password","content":" (optional)If you want to use encrypted fields in the collections of a database, you have to set a password for it. The password must be a string with at least 12 characters. Read more about encryption here. ","version":"Next","tagName":"h3"},{"title":"multiInstance","type":1,"pageTitle":"RxDatabase","url":"/rx-database.html#multiinstance","content":" (optional=true)When you create more than one instance of the same database in a single javascript-runtime, you should set multiInstance to true. This will enable the event sharing between the two instances. For example when the user has opened multiple browser windows, events will be shared between them so that both windows react to the same changes.multiInstance should be set to false when you have single-instances like a single Node.js-process, a react-native-app, a cordova-app or a single-window electron app which can decrease the startup time because no instance coordination has to be done. ","version":"Next","tagName":"h3"},{"title":"eventReduce","type":1,"pageTitle":"RxDatabase","url":"/rx-database.html#eventreduce","content":" (optional=false) One big benefit of having a realtime database is that big performance optimizations can be done when the database knows a query is observed and the updated results are needed continuously. RxDB uses the EventReduce Algorithm to optimize observer or recurring queries. For better performance, you should always set eventReduce: true. This will also be the default in the next major RxDB version. ","version":"Next","tagName":"h3"},{"title":"ignoreDuplicate","type":1,"pageTitle":"RxDatabase","url":"/rx-database.html#ignoreduplicate","content":" (optional=false)If you create multiple RxDatabase-instances with the same name and same adapter, it's very likely that you have done something wrong. To prevent this common mistake, RxDB will throw an error when you do this. In some rare cases like unit-tests, you want to do this intentional by setting ignoreDuplicate to true. Because setting ignoreDuplicate: true in production will decrease the performance by having multiple instances of the same database, ignoreDuplicate is only allowed to be set in dev-mode. const db1 = await createRxDatabase({ name: 'heroesdb', storage: getRxStorageLocalstorage(), ignoreDuplicate: true }); const db2 = await createRxDatabase({ name: 'heroesdb', storage: getRxStorageLocalstorage(), ignoreDuplicate: true // this create-call will not throw because you explicitly allow it }); ","version":"Next","tagName":"h3"},{"title":"closeDuplicates","type":1,"pageTitle":"RxDatabase","url":"/rx-database.html#closeduplicates","content":" (optional=false) Closes all other RxDatabases instances that have the same storage+name combination. const db1 = await createRxDatabase({ name: 'heroesdb', storage: getRxStorageLocalstorage(), closeDuplicates: true }); const db2 = await createRxDatabase({ name: 'heroesdb', storage: getRxStorageLocalstorage(), closeDuplicates: true // this create-call will close db1 }); // db1 is now closed. ","version":"Next","tagName":"h3"},{"title":"hashFunction","type":1,"pageTitle":"RxDatabase","url":"/rx-database.html#hashfunction","content":" By default, RxDB will use crypto.subtle.digest('SHA-256', data) for hashing. If you need a different hash function or the crypto.subtle API is not supported in your JavaScript runtime, you can provide an own hash function instead. A hash function gets a string as input and returns a Promise that resolves a string. // example hash function that runs in plain JavaScript import { sha256 } from 'ohash'; function myOwnHashFunction(input: string) { return Promise.resolve(sha256(input)); } const db = await createRxDatabase({ hashFunction: myOwnHashFunction /* ... */ }); If you get the error message TypeError: Cannot read properties of undefined (reading 'digest') this likely means that you are neither running on localhost nor on https which is why your browser might not allow access to crypto.subtle.digest. ","version":"Next","tagName":"h3"},{"title":"Methods","type":1,"pageTitle":"RxDatabase","url":"/rx-database.html#methods","content":" ","version":"Next","tagName":"h2"},{"title":"Observe with $","type":1,"pageTitle":"RxDatabase","url":"/rx-database.html#observe-with-","content":" Calling this will return an rxjs-Observable which streams all write events of the RxDatabase. myDb.$.subscribe(changeEvent => console.dir(changeEvent)); ","version":"Next","tagName":"h3"},{"title":"exportJSON()","type":1,"pageTitle":"RxDatabase","url":"/rx-database.html#exportjson","content":" Use this function to create a json-export from every piece of data in every collection of this database. You can pass true as a parameter to decrypt the encrypted data-fields of your document. Before exportJSON() and importJSON() can be used, you have to add the json-dump plugin. import { addRxPlugin } from 'rxdb'; import { RxDBJsonDumpPlugin } from 'rxdb/plugins/json-dump'; addRxPlugin(RxDBJsonDumpPlugin); myDatabase.exportJSON() .then(json => console.dir(json)); ","version":"Next","tagName":"h3"},{"title":"importJSON()","type":1,"pageTitle":"RxDatabase","url":"/rx-database.html#importjson","content":" To import the json-dumps into your database, use this function. // import the dump to the database emptyDatabase.importJSON(json) .then(() => console.log('done')); ","version":"Next","tagName":"h3"},{"title":"backup()","type":1,"pageTitle":"RxDatabase","url":"/rx-database.html#backup","content":" Writes the current (or ongoing) database state to the filesystem. Read more ","version":"Next","tagName":"h3"},{"title":"waitForLeadership()","type":1,"pageTitle":"RxDatabase","url":"/rx-database.html#waitforleadership","content":" Returns a Promise which resolves when the RxDatabase becomes elected leader. ","version":"Next","tagName":"h3"},{"title":"requestIdlePromise()","type":1,"pageTitle":"RxDatabase","url":"/rx-database.html#requestidlepromise","content":" Returns a promise which resolves when the database is in idle. This works similar to requestIdleCallback but tracks the idle-ness of the database instead of the CPU. Use this for semi-important tasks like cleanups which should not affect the speed of important tasks. myDatabase.requestIdlePromise().then(() => { // this will run at the moment the database has nothing else to do myCollection.customCleanupFunction(); }); // with timeout myDatabase.requestIdlePromise(1000 /* time in ms */).then(() => { // this will run at the moment the database has nothing else to do // or the timeout has passed myCollection.customCleanupFunction(); }); ","version":"Next","tagName":"h3"},{"title":"close()","type":1,"pageTitle":"RxDatabase","url":"/rx-database.html#close","content":" Closes the databases object-instance. This is to free up memory and stop all observers and replications. Returns a Promise that resolves when the database is closed. Closing a database will not remove the databases data. When you create the database again with createRxDatabase(), all data will still be there. await myDatabase.close(); ","version":"Next","tagName":"h3"},{"title":"remove()","type":1,"pageTitle":"RxDatabase","url":"/rx-database.html#remove","content":" Wipes all documents from the storage. Use this to free up disc space. await myDatabase.remove(); // database instance is now gone You can also clear a database without removing its instance by using removeRxDatabase(). This is useful if you want to migrate data or reset the users state by renaming the database. Then you can remove the previous data with removeRxDatabase() without creating a RxDatabase first. Notice that this will only remove the stored data on the storage. It will not clear the cache of any RxDatabase instances. import { removeRxDatabase } from 'rxdb'; removeRxDatabase('mydatabasename', 'localstorage'); ","version":"Next","tagName":"h3"},{"title":"isRxDatabase","type":1,"pageTitle":"RxDatabase","url":"/rx-database.html#isrxdatabase","content":" Returns true if the given object is an instance of RxDatabase. Returns false if not. import { isRxDatabase } from 'rxdb'; const is = isRxDatabase(myObj); ","version":"Next","tagName":"h3"},{"title":"collections$","type":1,"pageTitle":"RxDatabase","url":"/rx-database.html#collections","content":" Emits events whenever a RxCollection is added or removed to the instance of the RxDatabase. Notice that this only emits the JavaScript instance of the RxCollection class, it does not emit events across browser tabs. const sub = myDatabase.collections$.subscribe(event => { console.dir(event); }); await myDatabase.addCollections({ heroes: { schema: mySchema } }); // -> emits the event sub.unsubscribe(); ","version":"Next","tagName":"h3"},{"title":"RxDB's realtime Sync Engine for Local-First Apps","type":0,"sectionRef":"#","url":"/replication.html","content":"","keywords":"","version":"Next"},{"title":"Design Decisions of the Sync Engine","type":1,"pageTitle":"RxDB's realtime Sync Engine for Local-First Apps","url":"/replication.html#design-decisions-of-the-sync-engine","content":" In contrast to other (server-side) database replication protocols, the RxDB Sync Engine was designed with these goals in mind: Easy to Understand: The sync engine works in a simple "git-like" way that is easy to understand for an average developer. You only have to understand how three simple endpoints work.Complex Parts are in RxDB, not in the Backend: The complex parts of the Sync Engine, like conflict handling or offline-online switches, are implemented inside of RxDB itself. This makes creating a compatible backend very easy.Compatible with any Backend: Because the complex parts are in RxDB, the backend can be "dump" which makes the protocol compatible to almost every backend. No matter if you use PostgreSQL, MongoDB or anything else.Performance is optimized for Client Devices and Browsers: By grouping updates and fetches into batches, it is faster to transfer and easier to compress. Client devices and browsers can also process this data faster, for example running JSON.parse() on a chunk of data is faster than calling it once per row. Same goes for how client side storage like IndexedDB or OPFS works where writing data in bulks is faster.Offline-First Support: By incorporating conflict handling at the client side, the protocol fully supports offline-first apps. Users can continue making changes while offline, and those updates will sync seamlessly once a connection is reestablished - all without risking data loss or having undefined behavior.Multi-Tab Support: When RxDB is used in a browser and multiple tabs of the same application are opened, only exactly one runs the replication at any given time. This reduces client- and backend resources. ","version":"Next","tagName":"h2"},{"title":"The Sync Engine on the document level","type":1,"pageTitle":"RxDB's realtime Sync Engine for Local-First Apps","url":"/replication.html#the-sync-engine-on-the-document-level","content":" On the RxDocument level, the replication works like git, where the fork/client contains all new writes and must be merged with the master/server before it can push its new state to the master/server. A---B-----------D master/server state \\ / B---C---D fork/client state The client pulls the latest state B from the master.The client does some changes C+D.The client pushes these changes to the master by sending the latest known master state B and the new client state D of the document.If the master state is equal to the latest master B state of the client, the new client state D is set as the latest master state.If the master also had changes and so the latest master change is different then the one that the client assumes, we have a conflict that has to be resolved on the client. ","version":"Next","tagName":"h2"},{"title":"The Sync Engine on the transfer level","type":1,"pageTitle":"RxDB's realtime Sync Engine for Local-First Apps","url":"/replication.html#the-sync-engine-on-the-transfer-level","content":" When document states are transferred, all handlers use batches of documents for better performance. The server must implement the following methods to be compatible with the replication: pullHandler Get the last checkpoint (or null) as input. Returns all documents that have been written after the given checkpoint. Also returns the checkpoint of the latest written returned document.pushHandler a method that can be called by the client to send client side writes to the master. It gets an array with the assumedMasterState and the newForkState of each document write as input. It must return an array that contains the master document states of all conflicts. If there are no conflicts, it must return an empty array.pullStream an observable that emits batches of all master writes and the latest checkpoint of the write batches. +--------+ +--------+ | | pullHandler() | | | |---------------------> | | | | | | | | | | | Client | pushHandler() | Server | | |---------------------> | | | | | | | | pullStream$ | | | | <-------------------------| | +--------+ +--------+ The replication runs in two different modes: ","version":"Next","tagName":"h2"},{"title":"Checkpoint iteration","type":1,"pageTitle":"RxDB's realtime Sync Engine for Local-First Apps","url":"/replication.html#checkpoint-iteration","content":" On first initial replication, or when the client comes online again, a checkpoint based iteration is used to catch up with the server state. A checkpoint is a subset of the fields of the last pulled document. When the checkpoint is send to the backend via pullHandler(), the backend must be able to respond with all documents that have been written after the given checkpoint. For example if your documents contain an id and an updatedAt field, these two can be used as checkpoint. When the checkpoint iteration reaches the last checkpoint, where the backend returns an empty array because there are no newer documents, the replication will automatically switch to the event observation mode. ","version":"Next","tagName":"h3"},{"title":"Event observation","type":1,"pageTitle":"RxDB's realtime Sync Engine for Local-First Apps","url":"/replication.html#event-observation","content":" While the client is connected to the backend, the events from the backend are observed via pullStream$ and persisted to the client. If your backend for any reason is not able to provide a full pullStream$ that contains all events and the checkpoint, you can instead only emit RESYNC events that tell RxDB that anything unknown has changed on the server and it should run the pull replication via checkpoint iteration. When the client goes offline and online again, it might happen that the pullStream$ has missed out some events. Therefore the pullStream$ should also emit a RESYNC event each time the client reconnects, so that the client can become in sync with the backend via the checkpoint iteration mode. ","version":"Next","tagName":"h3"},{"title":"Data layout on the server","type":1,"pageTitle":"RxDB's realtime Sync Engine for Local-First Apps","url":"/replication.html#data-layout-on-the-server","content":" To use the replication you first have to ensure that: documents are deterministic sortable by their last write time deterministic means that even if two documents have the same last write time, they have a predictable sort order. This is most often ensured by using the primaryKey as second sort parameter as part of the checkpoint. documents are never deleted, instead the _deleted field is set to true. This is needed so that the deletion state of a document exists in the database and can be replicated with other instances. If your backend uses a different field to mark deleted documents, you have to transform the data in the push/pull handlers or with the modifiers. For example if your documents look like this: const docData = { "id": "foobar", "name": "Alice", "lastName": "Wilson", /** * Contains the last write timestamp * so all documents writes can be sorted by that value * when they are fetched from the remote instance. */ "updatedAt": 1564483474, /** * Instead of physically deleting documents, * a deleted document gets replicated. */ "_deleted": false } Then your data is always sortable by updatedAt. This ensures that when RxDB fetches 'new' changes via pullHandler(), it can send the latest updatedAt+id checkpoint to the remote endpoint and then receive all newer documents. By default, the field is _deleted. If your remote endpoint uses a different field to mark deleted documents, you can set the deletedField in the replication options which will automatically map the field on all pull and push requests. ","version":"Next","tagName":"h2"},{"title":"Conflict handling","type":1,"pageTitle":"RxDB's realtime Sync Engine for Local-First Apps","url":"/replication.html#conflict-handling","content":" When multiple clients (or the server) modify the same document at the same time (or when they are offline), it can happen that a conflict arises during the replication. A---B1---C1---X master/server state \\ / B1---C2 fork/client state In the case above, the client would tell the master to move the document state from B1 to C2 by calling pushHandler(). But because the actual master state is C1 and not B1, the master would reject the write by sending back the actual master state C1.RxDB resolves all conflicts on the client so it would call the conflict handler of the RxCollection and create a new document state D that can then be written to the master. A---B1---C1---X---D master/server state \\ / \\ / B1---C2---D fork/client state The default conflict handler will always drop the fork state and use the master state. This ensures that clients that are offline for a very long time, do not accidentally overwrite other peoples changes when they go online again. You can specify a custom conflict handler by setting the property conflictHandler when calling addCollection(). Learn how to create a custom conflict handler. ","version":"Next","tagName":"h2"},{"title":"replicateRxCollection()","type":1,"pageTitle":"RxDB's realtime Sync Engine for Local-First Apps","url":"/replication.html#replicaterxcollection","content":" You can start the replication of a single RxCollection by calling replicateRxCollection() like in the following: import { replicateRxCollection } from 'rxdb/plugins/replication'; import { lastOfArray } from 'rxdb'; const replicationState = await replicateRxCollection({ collection: myRxCollection, /** * An id for the replication to identify it * and so that RxDB is able to resume the replication on app reload. * If you replicate with a remote server, it is recommended to put the * server url into the replicationIdentifier. */ replicationIdentifier: 'my-rest-replication-to-https://example.com/api/sync', /** * By default it will do an ongoing realtime replication. * By settings live: false the replication will run once until the local state * is in sync with the remote state, then it will cancel itself. * (optional), default is true. */ live: true, /** * Time in milliseconds after when a failed backend request * has to be retried. * This time will be skipped if a offline->online switch is detected * via navigator.onLine * (optional), default is 5 seconds. */ retryTime: 5 * 1000, /** * When multiInstance is true, like when you use RxDB in multiple browser tabs, * the replication should always run in only one of the open browser tabs. * If waitForLeadership is true, it will wait until the current instance is leader. * If waitForLeadership is false, it will start replicating, even if it is not leader. * [default=true] */ waitForLeadership: true, /** * If this is set to false, * the replication will not start automatically * but will wait for replicationState.start() being called. * (optional), default is true */ autoStart: true, /** * Custom deleted field, the boolean property of the document data that * marks a document as being deleted. * If your backend uses a different fieldname then '_deleted', set the fieldname here. * RxDB will still store the documents internally with '_deleted', setting this field * only maps the data on the data layer. * * If a custom deleted field contains a non-boolean value, the deleted state * of the documents depends on if the value is truthy or not. So instead of providing a boolean * * deleted value, you could also work with using a 'deletedAt' timestamp instead. * * [default='_deleted'] */ deletedField: 'deleted', /** * Optional, * only needed when you want to replicate local changes to the remote instance. */ push: { /** * Push handler */ async handler(docs) { /** * Push the local documents to a remote REST server. */ const rawResponse = await fetch('https://example.com/api/sync/push', { method: 'POST', headers: { 'Accept': 'application/json', 'Content-Type': 'application/json' }, body: JSON.stringify({ docs }) }); /** * Contains an array with all conflicts that appeared during this push. * If there were no conflicts, return an empty array. */ const response = await rawResponse.json(); return response; }, /** * Batch size, optional * Defines how many documents will be given to the push handler at once. */ batchSize: 5, /** * Modifies all documents before they are given to the push handler. * Can be used to swap out a custom deleted flag instead of the '_deleted' field. * If the push modifier return null, the document will be skipped and not send to the remote. * Notice that the modifier can be called multiple times and should not contain any side effects. * (optional) */ modifier: d => d }, /** * Optional, * only needed when you want to replicate remote changes to the local state. */ pull: { /** * Pull handler */ async handler(lastCheckpoint, batchSize) { const minTimestamp = lastCheckpoint ? lastCheckpoint.updatedAt : 0; /** * In this example we replicate with a remote REST server */ const response = await fetch( `https://example.com/api/sync/?minUpdatedAt=${minTimestamp}&limit=${batchSize}` ); const documentsFromRemote = await response.json(); return { /** * Contains the pulled documents from the remote. * Not that if documentsFromRemote.length < batchSize, * then RxDB assumes that there are no more un-replicated documents * on the backend, so the replication will switch to 'Event observation' mode. */ documents: documentsFromRemote, /** * The last checkpoint of the returned documents. * On the next call to the pull handler, * this checkpoint will be passed as 'lastCheckpoint' */ checkpoint: documentsFromRemote.length === 0 ? lastCheckpoint : { id: lastOfArray(documentsFromRemote).id, updatedAt: lastOfArray(documentsFromRemote).updatedAt } }; }, batchSize: 10, /** * Modifies all documents after they have been pulled * but before they are used by RxDB. * Notice that the modifier can be called multiple times and should not contain any side effects. * (optional) */ modifier: d => d, /** * Stream of the backend document writes. * See below. * You only need a stream$ when you have set live=true */ stream$: pullStream$.asObservable() }, }); /** * Creating the pull stream for realtime replication. * Here we use a websocket but any other way of sending data to the client can be used, * like long polling or server-sent events. */ const pullStream$ = new Subject<RxReplicationPullStreamItem<any, any>>(); let firstOpen = true; function connectSocket() { const socket = new WebSocket('wss://example.com/api/sync/stream'); /** * When the backend sends a new batch of documents+checkpoint, * emit it into the stream$. * * event.data must look like this * { * documents: [ * { * id: 'foobar', * _deleted: false, * updatedAt: 1234 * } * ], * checkpoint: { * id: 'foobar', * updatedAt: 1234 * } * } */ socket.onmessage = event => pullStream$.next(event.data); /** * Automatically reconnect the socket on close and error. */ socket.onclose = () => connectSocket(); socket.onerror = () => socket.close(); socket.onopen = () => { if(firstOpen) { firstOpen = false; } else { /** * When the client is offline and goes online again, * it might have missed out events that happened on the server. * So we have to emit a RESYNC so that the replication goes * into 'Checkpoint iteration' mode until the client is in sync * and then it will go back into 'Event observation' mode again. */ pullStream$.next('RESYNC'); } } } ","version":"Next","tagName":"h2"},{"title":"Multi Tab support","type":1,"pageTitle":"RxDB's realtime Sync Engine for Local-First Apps","url":"/replication.html#multi-tab-support","content":" For better performance, the replication runs only in one instance when RxDB is used in multiple browser tabs or Node.js processes. By setting waitForLeadership: false you can enforce that each tab runs its own replication cycles. If used in a multi instance setting, so when at database creation multiInstance: false was not set, you need to import the leader election plugin so that RxDB can know how many instances exist and which browser tab should run the replication. ","version":"Next","tagName":"h2"},{"title":"Error handling","type":1,"pageTitle":"RxDB's realtime Sync Engine for Local-First Apps","url":"/replication.html#error-handling","content":" When sending a document to the remote fails for any reason, RxDB will send it again in a later point in time. This happens for all errors. The document write could have already reached the remote instance and be processed, while only the answering fails. The remote instance must be designed to handle this properly and to not crash on duplicate data transmissions. Depending on your use case, it might be ok to just write the duplicate document data again. But for a more resilient error handling you could compare the last write timestamps or add a unique write id field to the document. This field can then be used to detect duplicates and ignore re-send data. Also the replication has an .error$ stream that emits all RxError objects that arise during replication. Notice that these errors contain an inner .parameters.errors field that contains the original error. Also they contain a .parameters.direction field that indicates if the error was thrown during pull or push. You can use these to properly handle errors. For example when the client is outdated, the server might respond with a 426 Upgrade Required error code that can then be used to force a page reload. replicationState.error$.subscribe((error) => { if( error.parameters.errors && error.parameters.errors[0] && error.parameters.errors[0].code === 426 ) { // client is outdated -> enforce a page reload location.reload(); } }); ","version":"Next","tagName":"h2"},{"title":"Security","type":1,"pageTitle":"RxDB's realtime Sync Engine for Local-First Apps","url":"/replication.html#security","content":" Be aware that client side clocks can never be trusted. When you have a client-backend replication, the backend should overwrite the updatedAt timestamp or use another field, when it receives the change from the client. ","version":"Next","tagName":"h2"},{"title":"RxReplicationState","type":1,"pageTitle":"RxDB's realtime Sync Engine for Local-First Apps","url":"/replication.html#rxreplicationstate","content":" The function replicateRxCollection() returns a RxReplicationState that can be used to manage and observe the replication. ","version":"Next","tagName":"h2"},{"title":"Observable","type":1,"pageTitle":"RxDB's realtime Sync Engine for Local-First Apps","url":"/replication.html#observable","content":" To observe the replication, the RxReplicationState has some Observable properties: // emits each document that was received from the remote myRxReplicationState.received$.subscribe(doc => console.dir(doc)); // emits each document that was send to the remote myRxReplicationState.sent$.subscribe(doc => console.dir(doc)); // emits all errors that happen when running the push- & pull-handlers. myRxReplicationState.error$.subscribe(error => console.dir(error)); // emits true when the replication was canceled, false when not. myRxReplicationState.canceled$.subscribe(bool => console.dir(bool)); // emits true when a replication cycle is running, false when not. myRxReplicationState.active$.subscribe(bool => console.dir(bool)); ","version":"Next","tagName":"h3"},{"title":"awaitInitialReplication()","type":1,"pageTitle":"RxDB's realtime Sync Engine for Local-First Apps","url":"/replication.html#awaitinitialreplication","content":" With awaitInitialReplication() you can await the initial replication that is done when a full replication cycle was successful finished for the first time. The returned promise will never resolve if you cancel the replication before the initial replication can be done. await myRxReplicationState.awaitInitialReplication(); ","version":"Next","tagName":"h3"},{"title":"awaitInSync()","type":1,"pageTitle":"RxDB's realtime Sync Engine for Local-First Apps","url":"/replication.html#awaitinsync","content":" Returns a Promise that resolves when: awaitInitialReplication() has emitted.All local data is replicated with the remote.No replication cycle is running or in retry-state. warning When multiInstance: true and waitForLeadership: true and another tab is already running the replication, awaitInSync() will not resolve until the other tab is closed and the replication starts in this tab. await myRxReplicationState.awaitInSync(); warning awaitInitialReplication() and awaitInSync() should not be used to block the application A common mistake in RxDB usage is when developers want to block the app usage until the application is in sync. Often they just await the promise of awaitInitialReplication() or awaitInSync() and show a loading spinner until they resolve. This is dangerous and should not be done because: When multiInstance: true and waitForLeadership: true (default) and another tab is already running the replication, awaitInitialReplication() will not resolve until the other tab is closed and the replication starts in this tab.Your app can no longer be started when the device is offline because there the awaitInitialReplication() will never resolve and the app cannot be used. Instead you should store the last in-sync time in a local document and observe its value on all instances. For example if you want to block clients from using the app if they have not been in sync for the last 24 hours, you could use this code: // update last-in-sync-flag each time replication is in sync await myCollection.insertLocal('last-in-sync', { time: 0 }).catch(); // ensure flag exists myReplicationState.active$.pipe( mergeMap(async() => { await myReplicationState.awaitInSync(); await myCollection.upsertLocal('last-in-sync', { time: Date.now() }) }) ); // observe the flag and toggle loading spinner await showLoadingSpinner(); const oneDay = 1000 * 60 * 60 * 24; await firstValueFrom( myCollection.getLocal$('last-in-sync').pipe( filter(d => d.get('time') > (Date.now() - oneDay)) ) ); await hideLoadingSpinner(); ","version":"Next","tagName":"h3"},{"title":"reSync()","type":1,"pageTitle":"RxDB's realtime Sync Engine for Local-First Apps","url":"/replication.html#resync","content":" Triggers a RESYNC cycle where the replication goes into checkpoint iteration until the client is in sync with the backend. Used in unit tests or when no proper pull.stream$ can be implemented so that the client only knows that something has been changed but not what. myRxReplicationState.reSync(); If your backend is not capable of sending events to the client at all, you could run reSync() in an interval so that the client will automatically fetch server changes after some time at least. // trigger RESYNC each 10 seconds. setInterval(() => myRxReplicationState.reSync(), 10 * 1000); ","version":"Next","tagName":"h3"},{"title":"cancel()","type":1,"pageTitle":"RxDB's realtime Sync Engine for Local-First Apps","url":"/replication.html#cancel","content":" Cancels the replication. Returns a promise that resolved when everything has been cleaned up. await myRxReplicationState.cancel(); ","version":"Next","tagName":"h3"},{"title":"pause()","type":1,"pageTitle":"RxDB's realtime Sync Engine for Local-First Apps","url":"/replication.html#pause","content":" Pauses a running replication. The replication can later be resumed with RxReplicationState.start(). await myRxReplicationState.pause(); await myRxReplicationState.start(); // restart ","version":"Next","tagName":"h3"},{"title":"remove()","type":1,"pageTitle":"RxDB's realtime Sync Engine for Local-First Apps","url":"/replication.html#remove","content":" Cancels the replication and deletes the metadata of the replication state. This can be used to restart the replication "from scratch". Calling .remove() will only delete the replication metadata, it will NOT delete the documents from the collection of the replication. await myRxReplicationState.remove(); ","version":"Next","tagName":"h3"},{"title":"isStopped()","type":1,"pageTitle":"RxDB's realtime Sync Engine for Local-First Apps","url":"/replication.html#isstopped","content":" Returns true if the replication is stopped. This can be if a non-live replication is finished or a replication got canceled. replicationState.isStopped(); // true/false ","version":"Next","tagName":"h3"},{"title":"isPaused()","type":1,"pageTitle":"RxDB's realtime Sync Engine for Local-First Apps","url":"/replication.html#ispaused","content":" Returns true if the replication is paused. replicationState.isPaused(); // true/false ","version":"Next","tagName":"h3"},{"title":"Setting a custom initialCheckpoint","type":1,"pageTitle":"RxDB's realtime Sync Engine for Local-First Apps","url":"/replication.html#setting-a-custom-initialcheckpoint","content":" By default, the push replication will start from the beginning of time and push all documents from there to the remote. By setting a custom push.initialCheckpoint, you can tell the replication to only push writes that are newer than the given checkpoint. // store the latest checkpoint of a collection let lastLocalCheckpoint: any; myCollection.checkpoint$.subscribe(checkpoint => lastLocalCheckpoint = checkpoint); // start the replication but only push documents that are newer than the lastLocalCheckpoint const replicationState = replicateRxCollection({ collection: myCollection, replicationIdentifier: 'my-custom-replication-with-init-checkpoint', /* ... */ push: { handler: /* ... */, initialCheckpoint: lastLocalCheckpoint } }); The same can be done for the other direction by setting a pull.initialCheckpoint. Notice that here we need the remote checkpoint from the backend instead of the one from the RxDB storage. // get the last pull checkpoint from the server const lastRemoteCheckpoint = await (await fetch('http://example.com/pull-checkpoint')).json(); // start the replication but only pull documents that are newer than the lastRemoteCheckpoint const replicationState = replicateRxCollection({ collection: myCollection, replicationIdentifier: 'my-custom-replication-with-init-checkpoint', /* ... */ pull: { handler: /* ... */, initialCheckpoint: lastRemoteCheckpoint } }); ","version":"Next","tagName":"h3"},{"title":"toggleOnDocumentVisible","type":1,"pageTitle":"RxDB's realtime Sync Engine for Local-First Apps","url":"/replication.html#toggleondocumentvisible","content":" Ensures replication continues running when the document is visible. This helps avoid situations where the leader-elected tab becomes stale or is hibernated by the browser to save battery. When the tab becomes hidden, replication is automatically paused; when the tab becomes visible again (or the instance becomes leader), replication resumes. Default:true const replicationState = replicateRxCollection({ toggleOnDocumentVisible: true, /* ... */ }); ","version":"Next","tagName":"h3"},{"title":"Attachment replication","type":1,"pageTitle":"RxDB's realtime Sync Engine for Local-First Apps","url":"/replication.html#attachment-replication","content":" Attachment replication is supported in the RxDB Sync Engine itself. However not all replication plugins support it. If you start the replication with a collection which has enabled RxAttachments attachments data will be added to all push- and write data. The pushed documents will contain an _attachments object which contains: The attachment meta data (id, length, digest) of all non-attachmentsThe full attachment data of all attachments that have been updated/added from the client.Deleted attachments are spared out in the pushed document. With this data, the backend can decide onto which attachments must be deleted, added or overwritten. Accordingly, the pulled document must contain the same data, if the backend has a new document state with updated attachments. ","version":"Next","tagName":"h2"},{"title":"Pull-Only Replication","type":1,"pageTitle":"RxDB's realtime Sync Engine for Local-First Apps","url":"/replication.html#pull-only-replication","content":" With the replication protocol it is possible to do pull only replications where data is pulled from a backend but not pushed from the client. RxDB implements some performance optimizations for these like not storing server metadata on pull only streams. ","version":"Next","tagName":"h2"},{"title":"Partial Sync with RxDB","type":1,"pageTitle":"RxDB's realtime Sync Engine for Local-First Apps","url":"/replication.html#partial-sync-with-rxdb","content":" Suppose you're building a Minecraft-like voxel game where the world can expand in every direction. Storing the entire map locally for offline use is impossible because the dataset could be massive. Yet you still want a local-first design so players can edit the game world offline and sync back to the server later. ","version":"Next","tagName":"h2"},{"title":"Idea: One Collection, Multiple Replications","type":1,"pageTitle":"RxDB's realtime Sync Engine for Local-First Apps","url":"/replication.html#idea-one-collection-multiple-replications","content":" You might define a single RxDB collection called db.voxels, where each document represents a block or "voxel" (with fields like id, chunkId, coordinates, and type). With RxDB you can, instead of setting up one replication that tries to fetch all voxels, you create separate replication states for each chunk of the world the player is currently near. When the player enters a particular chunk (say chunk-123), you start a replication dedicated to that chunk. On the server side, you have endpoints to pull only that chunk's voxels (e.g., GET /api/voxels/pull?chunkId=123) and push local changes back (e.g., POST /api/voxels/push?chunkId=123). RxDB handles them similarly to any other offline-first setup, but each replication is filtered to only that chunk's data. When the player leaves chunk-123 and no longer needs it, you stop that replication. If the player moves to chunk-124, you start a new replication for chunk 124. This ensures the game only downloads and syncs data relevant to the player's immediate location. Meanwhile, all edits made offline remain safely stored in the local database until a network connection is available. const activeReplications = {}; // chunkId -> replicationState function startChunkReplication(chunkId) { if (activeReplications[chunkId]) return; const replicationId = 'voxels-chunk-' + chunkId; const replicationState = replicateRxCollection({ collection: db.voxels, replicationIdentifier: replicationId, pull: { async handler(checkpoint, limit) { const res = await fetch( `/api/voxels/pull?chunkId=${chunkId}&cp=${checkpoint}&limit=${limit}` ); /* ... */ } }, push: { async handler(changedDocs) { const res = await fetch(`/api/voxels/push?chunkId=${chunkId}`); /* ... */ } } }); activeReplications[chunkId] = replicationState; } function stopChunkReplication(chunkId) { const rep = await activeReplications[chunkId]; if (rep) { rep.cancel(); delete activeReplications[chunkId]; } } // Called whenever the player's location changes; // dynamically start/stop replication for nearby chunks. function onPlayerMove(neighboringChunkIds) { neighboringChunkIds.forEach(startChunkReplication); Object.keys(activeReplications).forEach(cid => { if (!neighboringChunkIds.includes(cid)) { stopChunkReplication(cid); } }); } ","version":"Next","tagName":"h3"},{"title":"Diffy-Sync when Revisiting a Chunk","type":1,"pageTitle":"RxDB's realtime Sync Engine for Local-First Apps","url":"/replication.html#diffy-sync-when-revisiting-a-chunk","content":" An added benefit of this multi-replication-state design is checkpointing. Each replication state has a unique "replication identifier," so the next time the player returns to chunk-123, the local database knows what it already has and only fetches the differences without the need to re-download the entire chunk. ","version":"Next","tagName":"h3"},{"title":"Partial Sync in a Local-First Business Application","type":1,"pageTitle":"RxDB's realtime Sync Engine for Local-First Apps","url":"/replication.html#partial-sync-in-a-local-first-business-application","content":" Though a voxel world is an intuitive example, the same technique applies in enterprise scenarios where data sets are large but each user only needs a specific subset. You could spin up a new replication for each "permission group" or "region," so users only sync the records they're allowed to see. Or in a CRM, the replication might be filtered by the specific accounts or projects a user is currently handling. As soon as they switch to a different project, you stop the old replication and start one for the new scope. This chunk-based or scope-based replication pattern keeps your local storage lean, reduces network overhead, and still gives users the offline, instant-feedback experience that local-first apps are known for. By dynamically creating (and canceling) replication states, you retain tight control over bandwidth usage and make the infinite (or very large) feasible. In a production app you would also "flag" the entities (with a pull.modifier) by which replication state they came from, so that you can clean up the parts that you no longer need. --> ","version":"Next","tagName":"h3"},{"title":"FAQ","type":1,"pageTitle":"RxDB's realtime Sync Engine for Local-First Apps","url":"/replication.html#faq","content":" I have infinite loops in my replication, how to debug? When you have infinite loops in your replication or random re-runs of http requests after some time, the reason is likely that your pull-handler is crashing. The debug this, add a log to the error$ handler to debug it. myRxReplicationState.error$.subscribe(err => console.log('error$', err)). ","version":"Next","tagName":"h2"},{"title":"Local Documents","type":0,"sectionRef":"#","url":"/rx-local-document.html","content":"","keywords":"","version":"Next"},{"title":"Add the local documents plugin","type":1,"pageTitle":"Local Documents","url":"/rx-local-document.html#add-the-local-documents-plugin","content":" To enable the local documents, you have to add the local-documents plugin. import { addRxPlugin } from 'rxdb'; import { RxDBLocalDocumentsPlugin } from 'rxdb/plugins/local-documents'; addRxPlugin(RxDBLocalDocumentsPlugin); ","version":"Next","tagName":"h2"},{"title":"Activate the plugin for a RxDatabase or RxCollection","type":1,"pageTitle":"Local Documents","url":"/rx-local-document.html#activate-the-plugin-for-a-rxdatabase-or-rxcollection","content":" For better performance, the local document plugin does not create a storage for every database or collection that is created. Instead you have to set localDocuments: true when you want to store local documents in the instance. // activate local documents on a RxDatabase const myDatabase = await createRxDatabase({ name: 'mydatabase', storage: getRxStorageLocalstorage(), localDocuments: true // <- activate this to store local documents in the database }); myDatabase.addCollections({ messages: { schema: messageSchema, localDocuments: true // <- activate this to store local documents in the collection } }); note If you want to store local documents in a RxCollection but NOT in the RxDatabase, you MUST NOT set localDocuments: true in the RxDatabase because it will only slow down the initial database creation. ","version":"Next","tagName":"h2"},{"title":"insertLocal()","type":1,"pageTitle":"Local Documents","url":"/rx-local-document.html#insertlocal","content":" Creates a local document for the database or collection. Throws if a local document with the same id already exists. Returns a Promise which resolves the new RxLocalDocument. const localDoc = await myCollection.insertLocal( 'foobar', // id { // data foo: 'bar' } ); // you can also use local-documents on a database const localDoc = await myDatabase.insertLocal( 'foobar', // id { // data foo: 'bar' } ); ","version":"Next","tagName":"h2"},{"title":"upsertLocal()","type":1,"pageTitle":"Local Documents","url":"/rx-local-document.html#upsertlocal","content":" Creates a local document for the database or collection if not exists. Overwrites the if exists. Returns a Promise which resolves the RxLocalDocument. const localDoc = await myCollection.upsertLocal( 'foobar', // id { // data foo: 'bar' } ); ","version":"Next","tagName":"h2"},{"title":"getLocal()","type":1,"pageTitle":"Local Documents","url":"/rx-local-document.html#getlocal","content":" Find a RxLocalDocument by its id. Returns a Promise which resolves the RxLocalDocument or null if not exists. const localDoc = await myCollection.getLocal('foobar'); ","version":"Next","tagName":"h2"},{"title":"getLocal$()","type":1,"pageTitle":"Local Documents","url":"/rx-local-document.html#getlocal-1","content":" Like getLocal() but returns an Observable that emits the document or null if not exists. const subscription = myCollection.getLocal$('foobar').subscribe(documentOrNull => { console.dir(documentOrNull); // > RxLocalDocument or null }); ","version":"Next","tagName":"h2"},{"title":"RxLocalDocument","type":1,"pageTitle":"Local Documents","url":"/rx-local-document.html#rxlocaldocument","content":" A RxLocalDocument behaves like a normal RxDocument. const localDoc = await myCollection.getLocal('foobar'); // access data const foo = localDoc.get('foo'); // change data localDoc.set('foo', 'bar2'); await localDoc.save(); // observe data localDoc.get$('foo').subscribe(value => { /* .. */ }); // remove it await localDoc.remove(); note Because the local document does not have a schema, accessing the documents data-fields via pseudo-proxy will not work. const foo = localDoc.foo; // undefined const foo = localDoc.get('foo'); // works! localDoc.foo = 'bar'; // does not work! localDoc.set('foo', 'bar'); // works For the usage with typescript, you can have access to the typed data of the document over toJSON() declare type MyLocalDocumentType = { foo: string } const localDoc = await myCollection.upsertLocal<MyLocalDocumentType>( 'foobar', // id { // data foo: 'bar' } ); // typescript will know that foo is a string const foo: string = localDoc.toJSON().foo; ","version":"Next","tagName":"h2"},{"title":"RxPipeline","type":0,"sectionRef":"#","url":"/rx-pipeline.html","content":"","keywords":"","version":"Next"},{"title":"Creating a RxPipeline","type":1,"pageTitle":"RxPipeline","url":"/rx-pipeline.html#creating-a-rxpipeline","content":" Pipelines are created on top of a source RxCollection and have another RxCollection as destination. An identifier is used to identify the state of the pipeline so that different pipelines have a different processing checkpoint state. A plain JavaScript function handler is used to process the data of the source collection writes. const pipeline = await mySourceCollection.addPipeline({ identifier: 'my-pipeline', destination: myDestinationCollection, handler: async (docs) => { /** * Here you can process the documents and write to * the destination collection. */ for (const doc of docs) { await myDestinationCollection.insert({ id: doc.primary, category: doc.category }); } } }); ","version":"Next","tagName":"h2"},{"title":"Use Cases for RxPipeline","type":1,"pageTitle":"RxPipeline","url":"/rx-pipeline.html#use-cases-for-rxpipeline","content":" The RxPipeline is a handy building block for different features and plugins. You can use it to aggregate data or restructure local data. ","version":"Next","tagName":"h2"},{"title":"UseCase: Re-Index data that comes from replication","type":1,"pageTitle":"RxPipeline","url":"/rx-pipeline.html#usecase-re-index-data-that-comes-from-replication","content":" Sometimes you want to replicate atomic documents over the wire but locally you want to split these documents for better indexing. For example you replicate email documents that have multiple receivers in a string-array. While string-arrays cannot be indexed, locally you need a way to query for all emails of a given receiver. To handle this case you can set up a RxPipeline that writes the mapping into a separate collection: const pipeline = await emailCollection.addPipeline({ identifier: 'map-email-receivers', destination: emailByReceiverCollection, handler: async (docs) => { for (const doc of docs) { // remove previous mapping await emailByReceiverCollection.find({emailId: doc.primary}).remove(); // add new mapping if(!doc.deleted) { await emailByReceiverCollection.bulkInsert( doc.receivers.map(receiver => ({ emailId: doc.primary, receiver: receiver })) ); } } } }); With this you can efficiently query for "all emails that a person received" by running: const mailIds = await emailByReceiverCollection.find({ receiver: 'foobar@example.com' }).exec(); ","version":"Next","tagName":"h3"},{"title":"UseCase: Fulltext Search","type":1,"pageTitle":"RxPipeline","url":"/rx-pipeline.html#usecase-fulltext-search","content":" You can utilize the pipeline plugin to index text data for efficient fulltext search. const pipeline = await emailCollection.addPipeline({ identifier: 'email-fulltext-search', destination: mailByWordCollection, handler: async (docs) => { for (const doc of docs) { // remove previous mapping await mailByWordCollection.find({emailId: doc.primary}).remove(); // add new mapping if(!doc.deleted) { const words = doc.text.split(' '); await mailByWordCollection.bulkInsert( words.map(word => ({ emailId: doc.primary, word: word })) ); } } } }); With this you can efficiently query for "all emails that contain a given word" by running: const mailIds = await emailByReceiverCollection.find({word: 'foobar'}).exec(); ","version":"Next","tagName":"h3"},{"title":"UseCase: Download data based on source documents","type":1,"pageTitle":"RxPipeline","url":"/rx-pipeline.html#usecase-download-data-based-on-source-documents","content":" When you have to fetch data for each document of a collection from a server, you can use the pipeline to ensure all documents have their data downloaded and no document is missed. const pipeline = await emailCollection.addPipeline({ identifier: 'download-data', destination: serverDataCollection, handler: async (docs) => { for (const doc of docs) { const response = await fetch('https://example.com/doc/' + doc.primary); const serverData = await response.json(); await serverDataCollection.upsert({ id: doc.primary, data: serverData }); } } }); ","version":"Next","tagName":"h3"},{"title":"RxPipeline methods","type":1,"pageTitle":"RxPipeline","url":"/rx-pipeline.html#rxpipeline-methods","content":" ","version":"Next","tagName":"h2"},{"title":"awaitIdle()","type":1,"pageTitle":"RxPipeline","url":"/rx-pipeline.html#awaitidle","content":" You can await the idleness of a pipeline with await myRxPipeline.awaitIdle(). This will await a promise that resolves when the pipeline has processed all documents and is not running anymore. ","version":"Next","tagName":"h3"},{"title":"close()","type":1,"pageTitle":"RxPipeline","url":"/rx-pipeline.html#close","content":" await myRxPipeline.close() stops the pipeline so that it is no longer doing stuff. This is automatically called when the RxCollection or RxDatabase of the pipeline is closed. ","version":"Next","tagName":"h3"},{"title":"remove()","type":1,"pageTitle":"RxPipeline","url":"/rx-pipeline.html#remove","content":" await myRxPipeline.remove() removes the pipeline and all metadata which it has stored. Recreating the pipeline afterwards will start processing all source documents from scratch. ","version":"Next","tagName":"h3"},{"title":"Using RxPipeline correctly","type":1,"pageTitle":"RxPipeline","url":"/rx-pipeline.html#using-rxpipeline-correctly","content":" ","version":"Next","tagName":"h2"},{"title":"Pipeline handlers must be idempotent","type":1,"pageTitle":"RxPipeline","url":"/rx-pipeline.html#pipeline-handlers-must-be-idempotent","content":" Because a JavaScript process can exit at any time, like when the user closes a browser tab, the pipeline handler function must be idempotent. This means when it only runs partially and is started again with the same input, it should still end up in the correct result. ","version":"Next","tagName":"h3"},{"title":"Pipeline handlers must not throw","type":1,"pageTitle":"RxPipeline","url":"/rx-pipeline.html#pipeline-handlers-must-not-throw","content":" Pipeline handlers must never throw. If you run operations inside of the handler that might cause errors, you must wrap the handler's code with a try-catch by yourself and also handle retries. If your handler throws, your pipeline will be stuck and no longer be usable, which should never happen. ","version":"Next","tagName":"h3"},{"title":"Be careful when doing http requests in the handler","type":1,"pageTitle":"RxPipeline","url":"/rx-pipeline.html#be-careful-when-doing-http-requests-in-the-handler","content":" When you run http requests inside of your handler, you no longer have an offline first application because reads to the destination collection will be blocked until all handlers have finished. When your client is offline, therefore the collection will be blocked for reads and writes. ","version":"Next","tagName":"h3"},{"title":"Pipelines temporarily block external reads and writes","type":1,"pageTitle":"RxPipeline","url":"/rx-pipeline.html#pipelines-temporarily-block-external-reads-and-writes","content":" While a pipeline is running, all reads and writes to its destination collection are blocked. This guarantees that queries never observe partially processed data, but it also means that pipelines can block each other if they interact incorrectly. Problems occur when multiple pipelines: read or write across the same collections, orwait for each other using awaitIdle() from inside a pipeline handler. // Example of a deadlock // Pipeline A: files → files (reads folders) const pipelineA = await db.files.addPipeline({ identifier: 'file-path-sync', destination: db.files, handler: async (docs) => { const folders = await folders.find().exec(); // can block /* ... */ } }); // Pipeline B: files → folders (waits for A) await db.folders.addPipeline({ identifier: 'file-count', destination: db.folders, handler: async () => { await pipelineA.awaitIdle(); // ❌ may deadlock /* ... */ } }); To prevent deadlocks, consider: Never call awaitIdle() inside a pipeline handler.Avoid circular dependencies between pipelines.Prefer one-directional data flow. ","version":"Next","tagName":"h3"},{"title":"RxDocument","type":0,"sectionRef":"#","url":"/rx-document.html","content":"","keywords":"","version":"Next"},{"title":"insert","type":1,"pageTitle":"RxDocument","url":"/rx-document.html#insert","content":" To insert a document into a collection, you have to call the collection's .insert()-function. await myCollection.insert({ name: 'foo', lastname: 'bar' }); ","version":"Next","tagName":"h2"},{"title":"find","type":1,"pageTitle":"RxDocument","url":"/rx-document.html#find","content":" To find documents in a collection, you have to call the collection's .find()-function. See RxQuery. const docs = await myCollection.find().exec(); // <- find all documents ","version":"Next","tagName":"h2"},{"title":"Functions","type":1,"pageTitle":"RxDocument","url":"/rx-document.html#functions","content":" ","version":"Next","tagName":"h2"},{"title":"get()","type":1,"pageTitle":"RxDocument","url":"/rx-document.html#get","content":" This will get a single field of the document. If the field is encrypted, it will be automatically decrypted before returning. const name = myDocument.get('name'); // returns the name // OR const name = myDocument.name; ","version":"Next","tagName":"h3"},{"title":"get$()","type":1,"pageTitle":"RxDocument","url":"/rx-document.html#get-1","content":" This function returns an observable of the given paths-value. The current value of this path will be emitted each time the document changes. // get the live-updating value of 'name' var isName; myDocument.get$('name') .subscribe(newName => { isName = newName; }); await myDocument.incrementalPatch({name: 'foobar2'}); console.dir(isName); // isName is now 'foobar2' // OR myDocument.name$ .subscribe(newName => { isName = newName; }); ","version":"Next","tagName":"h3"},{"title":"proxy-get","type":1,"pageTitle":"RxDocument","url":"/rx-document.html#proxy-get","content":" All properties of a RxDocument are assigned as getters so you can also directly access values instead of using the get()-function. // Identical to myDocument.get('name'); var name = myDocument.name; // Can also get nested values. var nestedValue = myDocument.whatever.nestedfield; // Also usable with observables: myDocument.firstName$.subscribe(newName => console.log('name is: ' + newName)); // > 'name is: Stefe' await myDocument.incrementalPatch({firstName: 'Steve'}); // > 'name is: Steve' ","version":"Next","tagName":"h3"},{"title":"update()","type":1,"pageTitle":"RxDocument","url":"/rx-document.html#update","content":" Updates the document based on the mongo-update-syntax, based on the mingo library. /** * If not done before, you have to add the update plugin. */ import { addRxPlugin } from 'rxdb'; import { RxDBUpdatePlugin } from 'rxdb/plugins/update'; addRxPlugin(RxDBUpdatePlugin); await myDocument.update({ $inc: { age: 1 // increases age by 1 }, $set: { firstName: 'foobar' // sets firstName to foobar } }); ","version":"Next","tagName":"h3"},{"title":"modify()","type":1,"pageTitle":"RxDocument","url":"/rx-document.html#modify","content":" Updates a documents data based on a function that mutates the current data and returns the new value. const changeFunction = (oldData) => { oldData.age = oldData.age + 1; oldData.name = 'foooobarNew'; return oldData; } await myDocument.modify(changeFunction); console.log(myDocument.name); // 'foooobarNew' ","version":"Next","tagName":"h3"},{"title":"patch()","type":1,"pageTitle":"RxDocument","url":"/rx-document.html#patch","content":" Overwrites the given attributes over the documents data. await myDocument.patch({ name: 'Steve', age: undefined // setting an attribute to undefined will remove it }); console.log(myDocument.name); // 'Steve' ","version":"Next","tagName":"h3"},{"title":"Prevent conflicts with the incremental methods","type":1,"pageTitle":"RxDocument","url":"/rx-document.html#prevent-conflicts-with-the-incremental-methods","content":" Making a normal change to the non-latest version of a RxDocument will lead to a 409 CONFLICT error because RxDB uses revision checks instead of transactions. To make a change to a document, no matter what the current state is, you can use the incremental methods: // update await myDocument.incrementalUpdate({ $inc: { age: 1 // increases age by 1 } }); // modify await myDocument.incrementalModify(docData => { docData.age = docData.age + 1; return docData; }); // patch await myDocument.incrementalPatch({ age: 100 }); // remove await myDocument.incrementalRemove({ age: 100 }); ","version":"Next","tagName":"h3"},{"title":"getLatest()","type":1,"pageTitle":"RxDocument","url":"/rx-document.html#getlatest","content":" Returns the latest known state of the RxDocument. const myDocument = await myCollection.findOne('foobar').exec(); const docAfterEdit = await myDocument.incrementalPatch({ age: 10 }); const latestDoc = myDocument.getLatest(); console.log(docAfterEdit === latestDoc); // > true ","version":"Next","tagName":"h3"},{"title":"Observe $","type":1,"pageTitle":"RxDocument","url":"/rx-document.html#observe-","content":" Calling this will return an RxJS-Observable which the current newest state of the RxDocument. // get all changeEvents myDocument.$ .subscribe(currentRxDocument => console.dir(currentRxDocument)); ","version":"Next","tagName":"h3"},{"title":"remove()","type":1,"pageTitle":"RxDocument","url":"/rx-document.html#remove","content":" This removes the document from the collection. Notice that this will not purge the document from the store but set _deleted:true so that it will be no longer returned on queries. To fully purge a document, use the cleanup plugin. myDocument.remove(); ","version":"Next","tagName":"h3"},{"title":"Remove and update in a single atomic operation","type":1,"pageTitle":"RxDocument","url":"/rx-document.html#remove-and-update-in-a-single-atomic-operation","content":" Sometimes you want to change a documents value and also remove it in the same operation. For example this can be useful when you use replication and want to set a deletedAt timestamp. Then you might have to ensure that setting this timestamp and deleting the document happens in the same atomic operation. To do this the modifying operations of a document accept setting the _deleted field. For example: // update() and remove() await doc.update({ $set: { deletedAt: new Date().getTime(), _deleted: true } }); // modify() and remove() await doc.modify(data => { data.age = 1; data._deleted = true; return data; }); ","version":"Next","tagName":"h3"},{"title":"deleted$","type":1,"pageTitle":"RxDocument","url":"/rx-document.html#deleted","content":" Emits a boolean value, depending on whether the RxDocument is deleted or not. let lastState = null; myDocument.deleted$.subscribe(state => lastState = state); console.log(lastState); // false await myDocument.remove(); console.log(lastState); // true ","version":"Next","tagName":"h3"},{"title":"get deleted","type":1,"pageTitle":"RxDocument","url":"/rx-document.html#get-deleted","content":" A getter to get the current value of deleted$. console.log(myDocument.deleted); // false await myDocument.remove(); console.log(myDocument.deleted); // true ","version":"Next","tagName":"h3"},{"title":"toJSON()","type":1,"pageTitle":"RxDocument","url":"/rx-document.html#tojson","content":" Returns the document's data as plain json object. This will return an immutable object. To get something that can be modified, use toMutableJSON() instead. const json = myDocument.toJSON(); console.dir(json); /* { passportId: 'h1rg9ugdd30o', firstName: 'Carolina', lastName: 'Gibson', age: 33 ... */ You can also set withMetaFields: true to get additional meta fields like the revision, attachments or the deleted flag. const json = myDocument.toJSON(true); console.dir(json); /* { passportId: 'h1rg9ugdd30o', firstName: 'Carolina', lastName: 'Gibson', _deleted: false, _attachments: { ... }, _rev: '1-aklsdjfhaklsdjhf...' */ ","version":"Next","tagName":"h3"},{"title":"toMutableJSON()","type":1,"pageTitle":"RxDocument","url":"/rx-document.html#tomutablejson","content":" Same as toJSON() but returns a deep cloned object that can be mutated afterwards. Remember that deep cloning is performance expensive and should only be done when necessary. const json = myDocument.toMutableJSON(); json.firstName = 'Alice'; // The returned document can be mutated All methods of RxDocument are bound to the instance When you get a method from a RxDocument, the method is automatically bound to the documents instance. This means you do not have to use things like myMethod.bind(myDocument) like you would do in jsx. ","version":"Next","tagName":"h3"},{"title":"isRxDocument","type":1,"pageTitle":"RxDocument","url":"/rx-document.html#isrxdocument","content":" Returns true if the given object is an instance of RxDocument. Returns false if not. const is = isRxDocument(myObj); ","version":"Next","tagName":"h3"},{"title":"RxQuery","type":0,"sectionRef":"#","url":"/rx-query.html","content":"","keywords":"","version":"Next"},{"title":"find()","type":1,"pageTitle":"RxQuery","url":"/rx-query.html#find","content":" To create a basic RxQuery, call .find() on a collection and insert selectors. The result-set of normal queries is an array with documents. // find all that are older then 18 const query = myCollection .find({ selector: { age: { $gt: 18 } } }); ","version":"Next","tagName":"h2"},{"title":"findOne()","type":1,"pageTitle":"RxQuery","url":"/rx-query.html#findone","content":" A findOne-query has only a single RxDocument or null as result-set. // find alice const query = myCollection .findOne({ selector: { name: 'alice' } }); // find the youngest one const query = myCollection .findOne({ selector: {}, sort: [ {age: 'asc'} ] }); // find one document by the primary key const query = myCollection.findOne('foobar'); ","version":"Next","tagName":"h2"},{"title":"exec()","type":1,"pageTitle":"RxQuery","url":"/rx-query.html#exec","content":" Returns a Promise that resolves with the result-set of the query. const query = myCollection.find(); const results = await query.exec(); console.dir(results); // > [RxDocument,RxDocument,RxDocument..] On .findOne() queries, you can call .exec(true) to ensure your document exists and to make TypeScript handling easier: // docOrUndefined can be the type RxDocument or null which then has to be handled to be typesafe. const docOrUndefined = await myCollection.findOne().exec(); // with .exec(true), it will throw if the document cannot be found and always have the type RxDocument const doc = await myCollection.findOne().exec(true); ","version":"Next","tagName":"h2"},{"title":"Observe $","type":1,"pageTitle":"RxQuery","url":"/rx-query.html#observe-","content":" An BehaviorSubjectsee that always has the current result-set as value. This is extremely helpful when used together with UIs that should always show the same state as what is written in the database. const query = myCollection.find(); const querySub = query.$.subscribe(results => { console.log('got results: ' + results.length); }); // > 'got results: 5' // BehaviorSubjects emit on subscription await myCollection.insert({/* ... */}); // insert one // > 'got results: 6' // $.subscribe() was called again with the new results // stop watching this query querySub.unsubscribe() ","version":"Next","tagName":"h2"},{"title":"update()","type":1,"pageTitle":"RxQuery","url":"/rx-query.html#update","content":" Runs an update on every RxDocument of the query-result. // to use the update() method, you need to add the update plugin. import { RxDBUpdatePlugin } from 'rxdb/plugins/update'; addRxPlugin(RxDBUpdatePlugin); const query = myCollection.find({ selector: { age: { $gt: 18 } } }); await query.update({ $inc: { age: 1 // increases age of every found document by 1 } }); ","version":"Next","tagName":"h2"},{"title":"patch() / incrementalPatch()","type":1,"pageTitle":"RxQuery","url":"/rx-query.html#patch--incrementalpatch","content":" Runs the RxDocument.patch() function on every RxDocument of the query result. const query = myCollection.find({ selector: { age: { $gt: 18 } } }); await query.patch({ age: 12 // set the age of every found to 12 }); ","version":"Next","tagName":"h2"},{"title":"modify() / incrementalModify()","type":1,"pageTitle":"RxQuery","url":"/rx-query.html#modify--incrementalmodify","content":" Runs the RxDocument.modify() function on every RxDocument of the query result. const query = myCollection.find({ selector: { age: { $gt: 18 } } }); await query.modify((docData) => { docData.age = docData.age + 1; // increases age of every found document by 1 return docData; }); ","version":"Next","tagName":"h2"},{"title":"remove() / incrementalRemove()","type":1,"pageTitle":"RxQuery","url":"/rx-query.html#remove--incrementalremove","content":" Deletes all found documents. Returns a promise which resolves to the deleted documents. // All documents where the age is less than 18 const query = myCollection.find({ selector: { age: { $lt: 18 } } }); // Remove the documents from the collection const removedDocs = await query.remove(); ","version":"Next","tagName":"h2"},{"title":"doesDocumentDataMatch()","type":1,"pageTitle":"RxQuery","url":"/rx-query.html#doesdocumentdatamatch","content":" Returns true if the given document data matches the query. const documentData = { id: 'foobar', age: 19 }; myCollection.find({ selector: { age: { $gt: 18 } } }).doesDocumentDataMatch(documentData); // > true myCollection.find({ selector: { age: { $gt: 20 } } }).doesDocumentDataMatch(documentData); // > false ","version":"Next","tagName":"h2"},{"title":"Query Builder Plugin","type":1,"pageTitle":"RxQuery","url":"/rx-query.html#query-builder-plugin","content":" To use chained query methods, you can also use the query-builder plugin. // add the query builder plugin import { addRxPlugin } from 'rxdb'; import { RxDBQueryBuilderPlugin } from 'rxdb/plugins/query-builder'; addRxPlugin(RxDBQueryBuilderPlugin); // now you can use chained query methods const query = myCollection.find().where('age').gt(18); const result = await query.exec(); ","version":"Next","tagName":"h2"},{"title":"Query Examples","type":1,"pageTitle":"RxQuery","url":"/rx-query.html#query-examples","content":" Here some examples to fast learn how to write queries without reading the docs. Pouch-find-docs - learn how to use mango-queriesmquery-docs - learn how to use chained-queries // directly pass search-object myCollection.find({ selector: { name: { $eq: 'foo' } } }) .exec().then(documents => console.dir(documents)); /* * find by using sql equivalent '%like%' syntax * This example will fe: match 'foo' but also 'fifoo' or 'foofa' or 'fifoofa' * Notice that in RxDB queries, a regex is represented as a $regex string with the $options parameter for flags. * Using a RegExp instance is not allowed because they are not JSON.stringify()-able and also * RegExp instances are mutable which could cause undefined behavior when the RegExp is mutated * after the query was parsed. */ myCollection.find({ selector: { name: { $regex: '.*foo.*' } } }) .exec().then(documents => console.dir(documents)); // find using a composite statement eg: $or // This example checks where name is either foo or if name is not existent on the document myCollection.find({ selector: { $or: [ { name: { $eq: 'foo' } }, { name: { $exists: false } }] } }) .exec().then(documents => console.dir(documents)); // do a case insensitive search // This example will match 'foo' or 'FOO' or 'FoO' etc... myCollection.find({ selector: { name: { $regex: '^foo$', $options: 'i' } } }) .exec().then(documents => console.dir(documents)); // chained queries myCollection.find().where('name').eq('foo') .exec().then(documents => console.dir(documents)); RxDB will always append the primary key to the sort parameters For several performance optimizations, like the EventReduce algorithm, RxDB expects all queries to return a deterministic sort order that does not depend on the insert order of the documents. To ensure a deterministic ordering, RxDB will always append the primary key as last sort parameter to all queries and to all indexes. This works in contrast to most other databases where a query without sorting would return the documents in the order in which they had been inserted to the database. ","version":"Next","tagName":"h2"},{"title":"Setting a specific index","type":1,"pageTitle":"RxQuery","url":"/rx-query.html#setting-a-specific-index","content":" By default, the query will be sent to the RxStorage, where a query planner will determine which one of the available indexes must be used. But the query planner cannot know everything and sometimes will not pick the most optimal index. To improve query performance, you can specify which index must be used, when running the query. const query = myCollection .findOne({ selector: { age: { $gt: 18 }, gender: { $eq: 'm' } }, /** * Because the developer knows that 50% of the documents are 'male', * but only 20% are below age 18, * it makes sense to enforce using the ['gender', 'age'] index to improve performance. * This could not be known by the query planer which might have chosen ['age', 'gender'] instead. */ index: ['gender', 'age'] }); ","version":"Next","tagName":"h2"},{"title":"Count","type":1,"pageTitle":"RxQuery","url":"/rx-query.html#count","content":" When you only need the amount of documents that match a query, but you do not need the document data itself, you can use a count query for better performance. The performance difference compared to a normal query differs depending on which RxStorage implementation is used. const query = myCollection.count({ selector: { age: { $gt: 18 } } // 'limit' and 'skip' MUST NOT be set for count queries. }); // get the count result once const matchingAmount = await query.exec(); // > number // observe the result query.$.subscribe(amount => { console.log('Currently has ' + amount + ' documents'); }); note Count queries have a better performance than normal queries because they do not have to fetch the full document data out of the storage. Therefore it is not possible to run a count() query with a selector that requires to fetch and compare the document data. So if your query selector does not fully match an index of the schema, it is not allowed to run it. These queries would have no performance benefit compared to normal queries but have the tradeoff of not using the fetched document data for caching. /** * The following will throw an error because * the count operation cannot run on any specific index range * because the $regex operator is used. */ const query = myCollection.count({ selector: { age: { $regex: 'foobar' } } }); /** * The following will throw an error because * the count operation cannot run on any specific index range * because there is no ['age' ,'otherNumber'] index * defined in the schema. */ const query = myCollection.count({ selector: { age: { $gt: 20 }, otherNumber: { $gt: 10 } } }); If you want to count these kinds of queries, you should do a normal query instead and use the length of the result set as counter. This has the same performance as running a non-fully-indexed count which has to fetch all document data from the database and run a query matcher. // get count manually once const resultSet = await myCollection.find({ selector: { age: { $regex: 'foobar' } } }).exec(); const count = resultSet.length; // observe count manually const count$ = myCollection.find({ selector: { age: { $regex: 'foobar' } } }).$.pipe( map(result => result.length) ); /** * To allow non-fully-indexed count queries, * you can also specify that by setting allowSlowCount=true * when creating the database. */ const database = await createRxDatabase({ name: 'mydatabase', allowSlowCount: true, // set this to true [default=false] /* ... */ }); ","version":"Next","tagName":"h2"},{"title":"allowSlowCount","type":1,"pageTitle":"RxQuery","url":"/rx-query.html#allowslowcount","content":" To allow non-fully-indexed count queries, you can also specify that by setting allowSlowCount: true when creating the database. Doing this is mostly not wanted, because it would run the counting on the storage without having the document stored in the RxDB document cache. This is only recommended if the RxStorage is running remotely like in a WebWorker and you not always want to send the document-data between the worker and the main thread. In this case you might only need the count-result instead to save performance. ","version":"Next","tagName":"h3"},{"title":"RxQuery's are immutable","type":1,"pageTitle":"RxQuery","url":"/rx-query.html#rxquerys-are-immutable","content":" Because RxDB is a reactive database, we can do heavy performance-optimisation on query-results which change over time. To be able to do this, RxQuery's have to be immutable. This means, when you have a RxQuery and run a .where() on it, the original RxQuery-Object is not changed. Instead the where-function returns a new RxQuery-Object with the changed where-field. Keep this in mind if you create RxQuery's and change them afterwards. Example: const queryObject = myCollection.find().where('age').gt(18); // Creates a new RxQuery object, does not modify previous one queryObject.sort('name'); const results = await queryObject.exec(); console.dir(results); // result-documents are not sorted by name const queryObjectSort = queryObject.sort('name'); const results = await queryObjectSort.exec(); console.dir(results); // result-documents are now sorted ","version":"Next","tagName":"h2"},{"title":"isRxQuery","type":1,"pageTitle":"RxQuery","url":"/rx-query.html#isrxquery","content":" Returns true if the given object is an instance of RxQuery. Returns false if not. const is = isRxQuery(myObj); ","version":"Next","tagName":"h3"},{"title":"Design Decisions","type":1,"pageTitle":"RxQuery","url":"/rx-query.html#design-decisions","content":" Like most other noSQL-Databases, RxDB uses the mango-query-syntax similar to MongoDB and others. We use the JSON based Mango Query Syntax because: Mango Queries work better with TypeScript compared to SQL strings.Mango Queries are composable and easy to transform by code without joining SQL strings.Queries can be run very fast and efficient with only a minimal query planer to plan the best indexes and operations.NoSQL queries can be optimized with the EventReduce algorithm to improve performance of observed and cached queries. ","version":"Next","tagName":"h2"},{"title":"FAQ","type":1,"pageTitle":"RxQuery","url":"/rx-query.html#faq","content":" Can I specify which document fields are returned by an RxDB query? No, RxDB does not support partial document retrieval. Because RxDB is a client-side database with limited memory, it caches and de-duplicates entire documents across multiple queries. Even if you only need a few fields, most storages must still fetch the entire JSON data, so subselecting fields would not significantly improve performance. Therefore, RxDB always returns full documents. If you only need certain fields, you can filter them out in your application code or consider storing just the necessary data in a separate collection. Why doesn't RxDB support aggregations on queries? RxDB runs entirely on the client side. Any "aggregation" or data processing you might do within RxDB would still happen in the same JavaScript environment as your application code. Therefore, there's no real performance advantage or difference between doing the aggregation in RxDB vs. doing it in your own code after fetching the data. As a result, RxDB doesn't provide built-in aggregation methods. Instead, just query the documents you need and perform any calculations directly in your app's code. Why does RxDB not support cross-collection queries? RxDB is a client-side database and does not provide built-in cross-collection queries or transactions. Instead, you can execute multiple queries in your JavaScript code and combine their results as needed. Because everything runs in the same environment, this approach offers the same performance you would get if cross-collection queries were built in - without the added complexity. Why Doesn't RxDB Support Case-Insensitive Search? RxDB relies on various storage engines as its backend, and these storage engines generally do not support case-insensitive search natively, like IndexedDB or FoundationDB. This limitation arises from the design of these engines, which prioritize efficiency and flexibility for specific types of queries rather than universal features like case-insensitivity. Although RxDB does not offer built-in support for case-insensitive search, there are two common workarounds: Store Data in a Meta-Field for Lowercase Search: To enable case-insensitive search, you can store an additional field in your documents where the relevant text data is preprocessed and saved in lowercase. const document = { name: 'John Doe', nameLowercase: 'john doe' // Meta-field }; await myCollection.insert(document); const query = myCollection.find({ selector: { nameLowercase: { $eq: 'john doe' } } }); Use a Regex Query: Regular expressions can perform case-insensitive searches. For example: const query = myCollection.find({ selector: { name: { $regex: '^john doe$', $options: 'i' } // Case-insensitive regex } }); However, this method has a significant downside: regex queries often cannot leverage indexes efficiently. As a result, they may be slower, especially for large datasets. ","version":"Next","tagName":"h2"},{"title":"RxSchema","type":0,"sectionRef":"#","url":"/rx-schema.html","content":"","keywords":"","version":"Next"},{"title":"Example","type":1,"pageTitle":"RxSchema","url":"/rx-schema.html#example","content":" In this example-schema we define a hero-collection with the following settings: the version-number of the schema is 0the name-property is the primaryKey. This means its a unique, indexed, required string which can be used to definitely find a single document.the color-field is required for every documentthe healthpoints-field must be a number between 0 and 100the secret-field stores an encrypted valuethe birthyear-field is final which means it is required and cannot be changedthe skills-attribute must be an array with objects which contain the name and the damage-attribute. There is a maximum of 5 skills per hero.Allows adding attachments and store them encrypted { "title": "hero schema", "version": 0, "description": "describes a simple hero", "primaryKey": "name", "type": "object", "properties": { "name": { "type": "string", "maxLength": 100 // <- the primary key must have set maxLength }, "color": { "type": "string" }, "healthpoints": { "type": "number", "minimum": 0, "maximum": 100 }, "secret": { "type": "string" }, "birthyear": { "type": "number", "final": true, "minimum": 1900, "maximum": 2050 }, "skills": { "type": "array", "maxItems": 5, "uniqueItems": true, "items": { "type": "object", "properties": { "name": { "type": "string" }, "damage": { "type": "number" } } } } }, "required": [ "name", "color" ], "encrypted": ["secret"], "attachments": { "encrypted": true } } ","version":"Next","tagName":"h2"},{"title":"Create a collection with the schema","type":1,"pageTitle":"RxSchema","url":"/rx-schema.html#create-a-collection-with-the-schema","content":" await myDatabase.addCollections({ heroes: { schema: myHeroSchema } }); console.dir(myDatabase.heroes.name); // heroes ","version":"Next","tagName":"h2"},{"title":"version","type":1,"pageTitle":"RxSchema","url":"/rx-schema.html#version","content":" The version field is a number, starting with 0. When the version is greater than 0, you have to provide the migrationStrategies to create a collection with this schema. ","version":"Next","tagName":"h2"},{"title":"primaryKey","type":1,"pageTitle":"RxSchema","url":"/rx-schema.html#primarykey","content":" The primaryKey field contains the fieldname of the property that will be used as primary key for the whole collection. The value of the primary key of the document must be a string, unique, final and is required. ","version":"Next","tagName":"h2"},{"title":"composite primary key","type":1,"pageTitle":"RxSchema","url":"/rx-schema.html#composite-primary-key","content":" You can define a composite primary key which gets composed from multiple properties of the document data. const mySchema = { keyCompression: true, // set this to true, to enable the keyCompression version: 0, title: 'human schema with composite primary', primaryKey: { // where should the composed string be stored key: 'id', // fields that will be used to create the composed key fields: [ 'firstName', 'lastName' ], // separator which is used to concat the fields values. separator: '|' }, type: 'object', properties: { id: { type: 'string', maxLength: 100 // <- the primary key must have set maxLength }, firstName: { type: 'string' }, lastName: { type: 'string' } }, required: [ 'id', 'firstName', 'lastName' ] }; You can then find a document by using the relevant parts to create the composite primaryKey: // inserting with composite primary await myRxCollection.insert({ // id, <- do not set the id, it will be filled by RxDB firstName: 'foo', lastName: 'bar' }); // find by composite primary const id = myRxCollection.schema.getPrimaryOfDocumentData({ firstName: 'foo', lastName: 'bar' }); const myRxDocument = myRxCollection.findOne(id).exec(); ","version":"Next","tagName":"h3"},{"title":"Indexes","type":1,"pageTitle":"RxSchema","url":"/rx-schema.html#indexes","content":" RxDB supports secondary indexes which are defined at the schema-level of the collection. Index is only allowed on field types string, integer and number. Some RxStorages allow to use boolean fields as index. Depending on the field type, you must have set some meta attributes like maxLength or minimum. This is required so that RxDB is able to know the maximum string representation length of a field, which is needed to craft custom indexes on several RxStorage implementations. note RxDB will always append the primaryKey to all indexes to ensure a deterministic sort order of query results. You do not have to add the primaryKey to any index. ","version":"Next","tagName":"h2"},{"title":"Index-example","type":1,"pageTitle":"RxSchema","url":"/rx-schema.html#index-example","content":" const schemaWithIndexes = { version: 0, title: 'human schema with indexes', keyCompression: true, primaryKey: 'id', type: 'object', properties: { id: { type: 'string', maxLength: 100 // <- the primary key must have set maxLength }, firstName: { type: 'string', maxLength: 100 // <- string-fields that are used as an index, must have set maxLength. }, lastName: { type: 'string' }, active: { type: 'boolean' }, familyName: { type: 'string' }, balance: { type: 'number', // number fields that are used in an index, must have set minimum, maximum and multipleOf minimum: 0, maximum: 100000, multipleOf: 0.01 }, creditCards: { type: 'array', items: { type: 'object', properties: { cvc: { type: 'number' } } } } }, required: [ 'id', 'active' // <- boolean fields that are used in an index, must be required. ], indexes: [ 'firstName', // <- this will create a simple index for the `firstName` field ['active', 'firstName'], // <- this will create a compound-index for these two fields 'active' ] }; internalIndexes When you use RxDB on the server-side, you might want to use internalIndexes to speed up internal queries. Read more ","version":"Next","tagName":"h3"},{"title":"attachments","type":1,"pageTitle":"RxSchema","url":"/rx-schema.html#attachments","content":" To use attachments in the collection, you have to add the attachments-attribute to the schema. See RxAttachment. ","version":"Next","tagName":"h2"},{"title":"default","type":1,"pageTitle":"RxSchema","url":"/rx-schema.html#default","content":" Default values can only be defined for first-level fields. Whenever you insert a document unset fields will be filled with default-values. const schemaWithDefaultAge = { version: 0, primaryKey: 'id', type: 'object', properties: { id: { type: 'string', maxLength: 100 // <- the primary key must have set maxLength }, firstName: { type: 'string' }, lastName: { type: 'string' }, age: { type: 'integer', default: 20 // <- default will be used } }, required: ['id'] }; ","version":"Next","tagName":"h2"},{"title":"final","type":1,"pageTitle":"RxSchema","url":"/rx-schema.html#final","content":" By setting a field to final, you make sure it cannot be modified later. Final fields are always required. Final fields cannot be observed because they will not change. Advantages: With final fields you can ensure that no-one accidentally modifies the data.When you enable the eventReduce algorithm, some performance-improvements are done. const schemaWithFinalAge = { version: 0, primaryKey: 'id', type: 'object', properties: { id: { type: 'string', maxLength: 100 // <- the primary key must have set maxLength }, firstName: { type: 'string' }, lastName: { type: 'string' }, age: { type: 'integer', final: true } }, required: ['id'] }; ","version":"Next","tagName":"h2"},{"title":"Non allowed properties","type":1,"pageTitle":"RxSchema","url":"/rx-schema.html#non-allowed-properties","content":" The schema is not only used to validate objects before they are written into the database, but also used to map getters to observe and populate single fieldnames, keycompression and other things. Therefore you can not use every schema which would be valid for the spec of json-schema.org. For example, fieldnames must match the regex ^[a-zA-Z][[a-zA-Z0-9_]*]?[a-zA-Z0-9]$ and additionalProperties is always set to false. But don't worry, RxDB will instantly throw an error when you pass an invalid schema into it. Also the following class properties of RxDocument cannot be used as top level fields because they would clash when the RxDocument property is accessed: [ "collection", "_data", "_propertyCache", "isInstanceOfRxDocument", "primaryPath", "primary", "revision", "deleted$", "deleted$$", "deleted", "getLatest", "$", "$$", "get$", "get$$", "populate", "get", "toJSON", "toMutableJSON", "update", "incrementalUpdate", "updateCRDT", "putAttachment", "putAttachmentBase64", "getAttachment", "allAttachments", "allAttachments$", "modify", "incrementalModify", "patch", "incrementalPatch", "_saveData", "remove", "incrementalRemove", "close", "deleted", "synced" ] ","version":"Next","tagName":"h2"},{"title":"FAQ","type":1,"pageTitle":"RxSchema","url":"/rx-schema.html#faq","content":" How can I store a Date? With RxDB you can only store plain JSON data inside of a document. You cannot store a JavaScript new Date() instance directly. This is for performance reasons and because Date() is a mutable thing where changing it at any time might cause strange problem that are hard to debug. To store a date in RxDB, you have to define a string field with a format attribute: { "type": "string", "format": "date-time" } When storing the data you have to first transform your Date object into a string Date.toISOString(). Because the date-time is sortable, you can do whatever query operations on that field and even use it as an index. How to store schemaless data? By design, RxDB requires that every collection has a schema. This means you cannot create a truly "schema-less" collection where top-level fields are unknown at schema creation time. RxDB must know about all fields of a document at the top level to perform validation, index creation, and other internal optimizations. However, there is a way to store data of arbitrary structure at sub-fields. To do this, define a property with type: "object" in your schema. For example: { "version": 0, "primaryKey": "id", "type": "object", "properties": { "id": { "type": "string", "maxLength": 100 }, "myDynamicData": { "type": "object" // Here you can store any JSON data // because it's an open object. } }, "required": ["id"] } Why does RxDB automatically set additionalProperties: false at the top level RxDB automatically sets additionalProperties: false at the top level of a schema to ensure that all top-level fields are known in advance. This design choice offers several benefits: Prevents collisions with RxDocument class properties: RxDB documents have built-in class methods (e.g., .toJSON, .save) at the top level. By forbidding unknown top-level properties, we avoid accidental naming collisions with these built-in methods. Avoids conflicts with user-defined ORM functions: Developers can add custom ORM methods to RxDocuments. If top-level properties were unbounded, a property name could accidentally conflict with a method name, leading to unexpected behavior. Improves TypeScript typings: If RxDB didn't know about all top-level fields, the document type would effectively become any. That means a simple typo like myDocument.toJOSN() would only be caught at runtime, not at build time. By disallowing unknown properties, TypeScript can provide strict typing and catch errors sooner. Can't change the schema of a collection When you make changes to the schema of a collection, you sometimes can get an error likeError: addCollections(): another instance created this collection with a different schema. This means you have created a collection before and added document-data to it. When you now just change the schema, it is likely that the new schema does not match the saved documents inside of the collection. This would cause strange bugs and would be hard to debug, so RxDB check's if your schema has changed and throws an error. To change the schema in production-mode, do the following steps: Increase the version by 1Add the appropriate migrationStrategies so the saved data will be modified to match the new schema In development-mode, the schema-change can be simplified by one of these strategies: Use the memory-storage so your db resets on restart and your schema is not saved permanentlyCall removeRxDatabase('mydatabasename', RxStorage); before creating a new RxDatabase-instanceAdd a timestamp as suffix to the database-name to create a new one each run like name: 'heroesDB' + new Date().getTime() ","version":"Next","tagName":"h2"},{"title":"Scaling the RxServer","type":0,"sectionRef":"#","url":"/rx-server-scaling.html","content":"","keywords":"","version":"Next"},{"title":"Vertical Scaling","type":1,"pageTitle":"Scaling the RxServer","url":"/rx-server-scaling.html#vertical-scaling","content":" Vertical Scaling aka "scaling up" has the goal to get more power out of a single server by utilizing more of the servers compute. Vertical scaling should be the first step when you decide it is time to scale. ","version":"Next","tagName":"h2"},{"title":"Run multiple JavaScript processes","type":1,"pageTitle":"Scaling the RxServer","url":"/rx-server-scaling.html#run-multiple-javascript-processes","content":" To utilize more compute power of your server, the first step is to scale vertically by running the RxDB server on multiple processes in parallel. RxDB itself is already build to support multiInstance-usage on the client, like when the user has opened multiple browser tabs at once. The same method works also on the server side in Node.js. You can spawn multiple JavaScript processes that use the same RxDatabase and the instances will automatically communicate with each other and distribute their data and events with the BroadcastChannel. By default the multiInstance param is set to true when calling createRxDatabase(), so you do not have to change anything. To make all processes accessible through the same endpoint, you can put a load-balancer like nginx in front of them. ","version":"Next","tagName":"h3"},{"title":"Using workers to split up the load","type":1,"pageTitle":"Scaling the RxServer","url":"/rx-server-scaling.html#using-workers-to-split-up-the-load","content":" Another way to increases the server capacity is to put the storage into a Worker thread so that the "main" thread with the webserver can handle more requests. This might be easier to set up compared to using multiple JavaScript processes and a load balancer. ","version":"Next","tagName":"h3"},{"title":"Use an in-memory storage at the user facing level","type":1,"pageTitle":"Scaling the RxServer","url":"/rx-server-scaling.html#use-an-in-memory-storage-at-the-user-facing-level","content":" Another way to serve more requests to your end users, is to use an in-memory storage that has the best read- and write performance. It outperforms persistent storages by a factor of 10x. So instead of directly serving requests from the persistence layer, you add an in-memory layer on top of that. You could either do a replication from your memory database to the persistent one, or you use the memory mapped storage which has this build in. import { getRxStorageMemory } from 'rxdb/plugins/storage-memory'; import { replicateRxCollection } from 'rxdb/plugins/replication'; import { getRxStorageFilesystemNode } from 'rxdb-premium/plugins/storage-filesystem-node'; import { getMemoryMappedRxStorage } from 'rxdb-premium/plugins/storage-memory-mapped'; const myRxDatabase = await createRxDatabase({ name: 'mydb', storage: getMemoryMappedRxStorage({ storage: getRxStorageFilesystemNode({ basePath: path.join(__dirname, 'my-database-folder') }) }) }); await myDatabase.addCollections({/* ... */}); const myServer = await startRxServer({ database: myRxDatabase, port: 443 }); But notice that you have to check your persistence requirements. When a write happens to the memory layer and the server crashes while it has not persisted, in rare cases the write operation might get lost. You can remove that risk by setting awaitWritePersistence: true on the memory mapped storage settings. ","version":"Next","tagName":"h3"},{"title":"Horizontal Scaling","type":1,"pageTitle":"Scaling the RxServer","url":"/rx-server-scaling.html#horizontal-scaling","content":" To scale the RxDB Server above a single physical hardware unit, there are different solutions where the decision depends on the exact use case. ","version":"Next","tagName":"h2"},{"title":"Single Datastore with multiple branches","type":1,"pageTitle":"Scaling the RxServer","url":"/rx-server-scaling.html#single-datastore-with-multiple-branches","content":" The most common way to use multiple servers with RxDB is to split up the server into a tree with a root "datastore" and multiple "branches". The datastore contains the persisted data and only servers as a replication endpoint for the branches. The branches themself will replicate data to and from the datastore and server requests to the end users. This is mostly useful on read-heavy applications because reads will directly run on the branches without ever reaching the main datastore and you can always add more branches to scale up. Even adding additional layers of "datastores" is possible so the tree can grow (or shrink) with the demand. ","version":"Next","tagName":"h3"},{"title":"Moving the branches to \"the edge\"","type":1,"pageTitle":"Scaling the RxServer","url":"/rx-server-scaling.html#moving-the-branches-to-the-edge","content":" Instead of running the "branches" of the tree on the same physical location as the datastore, it often makes sense to move the branches into a datacenter near the end users. Because the RxDB replication algorithm is made to work with slow and even partially offline users, using it for physically separated servers will work the same way. Latency is not that important because writes and reads will not decrease performance by blocking each other and the replication can run in the background without blocking other servers during transaction. ","version":"Next","tagName":"h3"},{"title":"Replicate Databases for Microservices","type":1,"pageTitle":"Scaling the RxServer","url":"/rx-server-scaling.html#replicate-databases-for-microservices","content":" If your application is build with a microservice architecture and your microservices are also build in Node.js, you can scale the database horizontally by moving the database into the microservices and use the RxDB replication to do a realtime sync between the microservices and a main "datastore" server. The "datastore" server would then only handle the replication requests or do some additional things like logging or backups. The compute for reads and writes will then mainly be done on the microservices themself. This simplifies setting up more and more microservices without decreasing the performance of the whole system. ","version":"Next","tagName":"h3"},{"title":"Use a self-scaling RxStorage","type":1,"pageTitle":"Scaling the RxServer","url":"/rx-server-scaling.html#use-a-self-scaling-rxstorage","content":" An alternative to scaling up the RxDB servers themself, you can also switch to a RxStorage which scales up internally. For example the FoundationDB storage or MongoDB can work on top of a cluster that can increase load by adding more servers to itself. With that you can always add more Node.js RxDB processes that connect to the same cluster and server requests from it. ","version":"Next","tagName":"h3"},{"title":"RxDB Server","type":0,"sectionRef":"#","url":"/rx-server.html","content":"","keywords":"","version":"Next"},{"title":"Starting a RxServer","type":1,"pageTitle":"RxDB Server","url":"/rx-server.html#starting-a-rxserver","content":" To create an RxServer, you have to install the rxdb-server package with npm install rxdb-server --save and then you can import the createRxServer() function and create a server on a given RxDatabase and adapter. After adding the endpoints to the server, do not forget to call myServer.start() to start the actually http-server. import { createRxServer } from 'rxdb-server/plugins/server'; /** * We use the express adapter which is the one that comes with RxDB core * Make sure you have express installed in the correct version! * @see https://github.com/pubkey/rxdb-server/blob/master/package.json */ import { RxServerAdapterExpress } from 'rxdb-server/plugins/adapter-express'; const myServer = await createRxServer({ database: myRxDatabase, adapter: RxServerAdapterExpress, port: 443 }); // add endpoints here (see below) // after adding the endpoints, start the server await myServer.start(); ","version":"Next","tagName":"h2"},{"title":"Using RxServer with Fastify","type":1,"pageTitle":"RxDB Server","url":"/rx-server.html#using-rxserver-with-fastify","content":" There is also a RxDB Premium 👑 adapter to use the RxServer with Fastify instead of express. Fastify has shown to have better performance and in general is more modern. import { createRxServer } from 'rxdb-server/plugins/server'; import { RxServerAdapterFastify } from 'rxdb-premium/plugins/server-adapter-fastify'; const myServer = await createRxServer({ database: myRxDatabase, adapter: RxServerAdapterFastify, port: 443 }); await myServer.start(); ","version":"Next","tagName":"h3"},{"title":"Using RxServer with Koa","type":1,"pageTitle":"RxDB Server","url":"/rx-server.html#using-rxserver-with-koa","content":" There is also a RxDB Premium 👑 adapter to use the RxServer with Koa instead of express. Koa has shown to have better performance compared to express. import { createRxServer } from 'rxdb-server/plugins/server'; import { RxServerAdapterKoa } from 'rxdb-premium/plugins/server-adapter-koa'; const myServer = await createRxServer({ database: myRxDatabase, adapter: RxServerAdapterKoa, port: 443 }); await myServer.start(); ","version":"Next","tagName":"h3"},{"title":"RxServer Endpoints","type":1,"pageTitle":"RxDB Server","url":"/rx-server.html#rxserver-endpoints","content":" On top of the RxServer you can add different types of endpoints. An endpoint is always connected to exactly one RxCollection and it only serves data from that single collection. For now there are only two endpoints implemented, the replication endpoint and the REST endpoint. Others will be added in the future. An endpoint is added to the server by calling the add endpoint method like myRxServer.addReplicationEndpoint(). Each needs a different name string as input which will define the resulting endpoint url. The endpoint urls is a combination of the given name and schema version of the collection, like /my-endpoint/0. const myEndpoint = server.addReplicationEndpoint({ name: 'my-endpoint', collection: myServerCollection }); console.log(myEndpoint.urlPath) // > 'my-endpoint/0' Notice that it is not required that the server side schema version is equal to the client side schema version. You might want to change server schemas more often and then only do a migration on the server, not on the clients. ","version":"Next","tagName":"h2"},{"title":"Replication Endpoint","type":1,"pageTitle":"RxDB Server","url":"/rx-server.html#replication-endpoint","content":" The replication endpoint allows clients that connect to it to replicate data with the server via the RxDB Sync Engine. There is also the Replication Server plugin that is used on the client side to connect to the endpoint. The endpoint is added to the server with the addReplicationEndpoint() method. It requires a specific collection and the endpoint will only provided replication for documents inside of that collection. // > server.ts const endpoint = server.addReplicationEndpoint({ name: 'my-endpoint', collection: myServerCollection }); Then you can start the Server Replication on the client: // > client.ts const replicationState = await replicateServer({ collection: usersCollection, replicationIdentifier: 'my-server-replication', url: 'http://localhost:80/my-endpoint/0', push: {}, pull: {} }); ","version":"Next","tagName":"h2"},{"title":"REST endpoint","type":1,"pageTitle":"RxDB Server","url":"/rx-server.html#rest-endpoint","content":" The REST endpoint exposes various methods to access the data from the RxServer with non-RxDB tools via plain HTTP operations. You can use it to connect apps that are programmed in different programming languages than JavaScript or to access data from other third party tools. Creating a REST endpoint on a RxServer: const endpoint = await server.addRestEndpoint({ name: 'my-endpoint', collection: myServerCollection }); // plain http request with fetch const request = await fetch('http://localhost:80/' + endpoint.urlPath + '/query', { method: 'POST', headers: { 'Accept': 'application/json', 'Content-Type': 'application/json' }, body: JSON.stringify({ selector: {} }) }); const response = await request.json(); There is also the client-rest plugin that provides type-save interactions with the REST endpoint: // using the client (optional) import { createRestClient } from 'rxdb-server/plugins/client-rest'; const client = createRestClient('http://localhost:80/' + endpoint.urlPath, {/* headers */}); const response = await client.query({ selector: {} }); The REST endpoint exposes the following paths: query [POST]: Fetch the results of a NoSQL query.query/observe [GET]: Observe a query's results via Server Send Events.get [POST]: Fetch multiple documents by their primary key.set [POST]: Write multiple documents at once.delete [POST]: Delete multiple documents by their primary key. ","version":"Next","tagName":"h2"},{"title":"CORS","type":1,"pageTitle":"RxDB Server","url":"/rx-server.html#cors","content":" When creating a server or adding endpoints, you can specify a CORS string. Endpoint cors always overwrite server cors. The default is the wildcard * which allows all requests. const myServer = await startRxServer({ database: myRxDatabase, cors: 'http://example.com' port: 443 }); const endpoint = await server.addReplicationEndpoint({ name: 'my-endpoint', collection: myServerCollection, cors: 'http://example.com' }); ","version":"Next","tagName":"h2"},{"title":"Auth handler","type":1,"pageTitle":"RxDB Server","url":"/rx-server.html#auth-handler","content":" To authenticate users and to make user-specific data available on server requests, an authHandler must be provided that parses the headers and returns the actual auth data that is used to authenticate the client and in the queryModifier and changeValidator. An auth handler gets the given headers object as input and returns the auth data in the format { data: {}, validUntil: 1706579817126}. The data field can contain any data that can be used afterwards in the queryModifier and changeValidator. The validUntil field contains the unix timestamp in milliseconds at which the authentication is no longer valid and the client will get disconnected. For example your authHandler could get the Authorization header and parse the JSON web token to identify the user and store the user id in the data field for later use. ","version":"Next","tagName":"h2"},{"title":"Query modifier","type":1,"pageTitle":"RxDB Server","url":"/rx-server.html#query-modifier","content":" The query modifier is a JavaScript function that is used to restrict which documents a client can fetch or replicate from the server. It gets the auth data and the actual NoSQL query as input parameter and returns a modified NoSQL query that is then used internally by the server. You can pass a different query modifier to each endpoint so that you can have different endpoints for different use cases on the same server. For example you could use a query modifier that get the userId from the auth data and then restricts the query to only return documents that have the same userId set. function myQueryModifier(authData, query) { query.selector.userId = { $eq: authData.data.userid }; return query; } const endpoint = await server.addReplicationEndpoint({ name: 'my-endpoint', collection: myServerCollection, queryModifier: myQueryModifier }); The RxServer will use the queryModifier at many places internally to determine which queries to run or if a document is allowed to be seen/edited by a client. note For performance reasons the queryModifier and changeValidatorMUST NOT be async and return a promise. If you need async data to run them, you should gather that data in the RxServerAuthHandler and store it in the auth data to access it later. ","version":"Next","tagName":"h2"},{"title":"Change validator","type":1,"pageTitle":"RxDB Server","url":"/rx-server.html#change-validator","content":" The change validator is a JavaScript function that is used to restrict which document writes are allowed to be done by a client. For example you could restrict clients to only change specific document fields or to not do any document writes at all. It can also be used to validate change document data before storing it at the server. In this example we restrict clients from doing inserts and only allow updates. For that we check if the change contains an assumedMasterState property and return false to block the write. function myChangeValidator(authData, change) { if(change.assumedMasterState) { return false; } else { return true; } } const endpoint = await server.addReplicationEndpoint({ name: 'my-endpoint', collection: myServerCollection, changeValidator: myChangeValidator }); ","version":"Next","tagName":"h2"},{"title":"Server-only indexes","type":1,"pageTitle":"RxDB Server","url":"/rx-server.html#server-only-indexes","content":" Normal RxDB schema indexes get the _deleted field prepended because all RxQueries automatically only search for documents with _deleted=false. When you use RxDB on a server, this might not be optimal because there can be the need to query for documents where the value of _deleted does not matter. Mostly this is required in the pull.stream$ of a replication when a queryModifier is used to add an additional field to the query. To set indexes without _deleted, you can use the internalIndexes field of the schema like the following: { "version": 0, "primaryKey": "id", "type": "object", "properties": { "id": { "type": "string", "maxLength": 100 }, "name": { "type": "string", "maxLength": 100 } }, "internalIndexes": [ ["name", "id"] ] } note Indexes come with a performance burden. You should only use the indexes you need and make sure you do not accidentally set the internalIndexes in your client side RxCollections. ","version":"Next","tagName":"h2"},{"title":"Server-only fields","type":1,"pageTitle":"RxDB Server","url":"/rx-server.html#server-only-fields","content":" All endpoints can be created with the serverOnlyFields set which defines some fields to only exist on the server, not on the clients. Clients will not see that fields and cannot do writes where one of the serverOnlyFields is set. Notice that when you use serverOnlyFields you likely need to have a different schema on the server than the schema that is used on the clients. const endpoint = await server.addReplicationEndpoint({ name: 'my-endpoint', collection: col, // here the field 'my-secretss' is defined to be server-only serverOnlyFields: ['my-secrets'] }); note For performance reasons, only top-level fields can be used as serverOnlyFields. Otherwise the server would have to deep-clone all document data which is too expensive. ","version":"Next","tagName":"h2"},{"title":"Readonly fields","type":1,"pageTitle":"RxDB Server","url":"/rx-server.html#readonly-fields","content":" When you have fields that should only be modified by the server, but not by the client, you can ensure that by comparing the fields value in the changeValidator. const myChangeValidator = function(authData, change){ if(change.newDocumentState.myReadonlyField !== change.assumedMasterState.myReadonlyField){ throw new Error('myReadonlyField is readonly'); } } ","version":"Next","tagName":"h2"},{"title":"$regex queries not allowed","type":1,"pageTitle":"RxDB Server","url":"/rx-server.html#regex-queries-not-allowed","content":" $regex queries are not allowed to run at the server to prevent ReDos Attacks. ","version":"Next","tagName":"h2"},{"title":"Conflict handling","type":1,"pageTitle":"RxDB Server","url":"/rx-server.html#conflict-handling","content":" To detect and handle conflicts, the conflict handler from the endpoints RxCollection is used. ","version":"Next","tagName":"h2"},{"title":"FAQ","type":1,"pageTitle":"RxDB Server","url":"/rx-server.html#faq","content":" Why are the server plugins in a different github repo and npm package? The RxServer and its other plugins are in a different github repository because: It has too many dependencies that you do not want to install if you only use RxDB at the client side It has a different license (SSPL) to prevent large cloud vendors from "stealing" the revenue, similar to MongoDB's license. Why can't endpoints be added dynamically? After RxServer.start() is called, you can no longer add endpoints. This is because many of the supported server libraries do not allow dynamic routing for performance and security reasons. ","version":"Next","tagName":"h2"},{"title":"RxState - Reactive Persistent State with RxDB","type":0,"sectionRef":"#","url":"/rx-state.html","content":"","keywords":"","version":"Next"},{"title":"Creating a RxState","type":1,"pageTitle":"RxState - Reactive Persistent State with RxDB","url":"/rx-state.html#creating-a-rxstate","content":" A RxState instance is created on top of a RxDatabase. The state will automatically be persisted with the storage that was used when setting up the RxDatabase. To use it you first have to import the RxDBStatePlugin and add it to RxDB with addRxPlugin(). To create a state call the addState() method on the database instance. Calling addState multiple times will automatically de-duplicated and only create a single RxState object. import { createRxDatabase, addRxPlugin } from 'rxdb'; import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage'; // first add the RxState plugin to RxDB import { RxDBStatePlugin } from 'rxdb/plugins/state'; addRxPlugin(RxDBStatePlugin); const database = await createRxDatabase({ name: 'heroesdb', storage: getRxStorageLocalstorage(), }); // create a state instance const myState = await database.addState(); // you can also create states with a given namespace const myChildState = await database.addState('myNamepsace'); ","version":"Next","tagName":"h2"},{"title":"Writing data and Persistence","type":1,"pageTitle":"RxState - Reactive Persistent State with RxDB","url":"/rx-state.html#writing-data-and-persistence","content":" Writing data to the state happen by a so called modifier. It is a simple JavaScript function that gets the current value as input and returns the new, modified value. For example to increase the value of myField by one, you would use a modifier that increases the current value: // initially set value to zero await myState.set('myField', v => 0); // increase value by one await myState.set('myField', v => v + 1); // update value to be 42 await myState.set('myField', v => 42); The modifier is used instead of a direct assignment to ensure correct behavior when other JavaScript realms write to the state at the same time, like other browser tabs or webworkers. On conflicts, the modifier will just be run again to ensure deterministic and correct behavior. Therefore mutation is async, you have to await the call to the set function when you care about the moment when the change actually happened. ","version":"Next","tagName":"h2"},{"title":"Get State Data","type":1,"pageTitle":"RxState - Reactive Persistent State with RxDB","url":"/rx-state.html#get-state-data","content":" The state stored inside of a RxState instance can be seen as a big single JSON object that contains all data. You can fetch the whole object or partially get a single properties or nested ones. Fetching data can either happen with the .get() method or by accessing the field directly like myRxState.myField. // get root state data const val = myState.get(); // get single property const val = myState.get('myField'); const val = myState.myField; // get nested property const val = myState.get('myField.childfield'); const val = myState.myField.childfield; // get nested array property const val = myState.get('myArrayField[0].foobar'); const val = myState.myArrayField[0].foobar; ","version":"Next","tagName":"h2"},{"title":"Observability","type":1,"pageTitle":"RxState - Reactive Persistent State with RxDB","url":"/rx-state.html#observability","content":" Instead of fetching the state once, you can also observe the state with either rxjs observables or custom reactivity handlers like signals or hooks. Rxjs observables can be created by either using the .get$() method or by accessing the top level property suffixed with a dollar sign like myState.myField$. const observable = myState.get$('myField'); const observable = myState.myField$; // then you can subscribe to that observable observable.subscribe(newValue => { // update the UI }); Subscription works across multiple JavaScript realms like browser tabs or Webworkers. ","version":"Next","tagName":"h2"},{"title":"RxState with signals and hooks","type":1,"pageTitle":"RxState - Reactive Persistent State with RxDB","url":"/rx-state.html#rxstate-with-signals-and-hooks","content":" With the double-dollar sign you can also access custom reactivity instances like signals or hooks. These are easier to use compared to rxjs, depending on which JavaScript framework you are using. For example in angular to use signals, you would first add a reactivity factory to your database and then access the signals of the RxState: import { RxReactivityFactory, createRxDatabase } from 'rxdb/plugins/core'; import { toSignal } from '@angular/core/rxjs-interop'; const reactivityFactory: RxReactivityFactory<ReactivityType> = { fromObservable(obs, initialValue) { return toSignal(obs, { initialValue }); } }; const database = await createRxDatabase({ name: 'mydb', storage: getRxStorageLocalstorage(), reactivity: reactivityFactory }); const myState = await database.addState(); const mySignal = myState.get$$('myField'); const mySignal = myState.myField$$; ","version":"Next","tagName":"h2"},{"title":"Cleanup RxState operations","type":1,"pageTitle":"RxState - Reactive Persistent State with RxDB","url":"/rx-state.html#cleanup-rxstate-operations","content":" For faster writes, changes to the state are only written as list of operations to disc. After some time you might have too many operations written which would delay the initial state creation. To automatically merge the state operations into a single operation and clear the old operations, you should add the Cleanup Plugin before creating the RxDatabase: import { addRxPlugin } from 'rxdb'; import { RxDBCleanupPlugin } from 'rxdb/plugins/cleanup'; addRxPlugin(RxDBCleanupPlugin); ","version":"Next","tagName":"h2"},{"title":"Correctness over Performance","type":1,"pageTitle":"RxState - Reactive Persistent State with RxDB","url":"/rx-state.html#correctness-over-performance","content":" RxState is optimized for correctness, not for performance. Compared to other state libraries, RxState directly persists data to storage and ensures write conflicts are handled properly. Other state libraries are handles mainly in-memory and lazily persist to disc without caring about conflicts or multiple browser tabs which can cause problems and hard to reproduce bugs. RxState still uses RxDB which has a range of great performing storages so the write speed is more than sufficient. Also to further improve write performance you can use more RxState instances (with an different namespace) to split writes across multiple storage instances. Reads happen directly in-memory which makes RxState read performance comparable to other state libraries. ","version":"Next","tagName":"h2"},{"title":"RxState Replication","type":1,"pageTitle":"RxState - Reactive Persistent State with RxDB","url":"/rx-state.html#rxstate-replication","content":" Because the state data is stored inside of an internal RxCollection you can easily use the RxDB Replication to sync data between users or devices of the same user. For example with the P2P WebRTC replication you can start the replication on the collection and automatically sync the RxState operations between users directly: import { replicateWebRTC, getConnectionHandlerSimplePeer } from 'rxdb/plugins/replication-webrtc'; const database = await createRxDatabase({ name: 'heroesdb', storage: getRxStorageLocalstorage(), }); const myState = await database.addState(); const replicationPool = await replicateWebRTC( { collection: myState.collection, topic: 'my-state-replication-pool', connectionHandlerCreator: getConnectionHandlerSimplePeer({}), pull: {}, push: {} } ); ","version":"Next","tagName":"h2"},{"title":"RxDB Database on top of Deno Key Value Store","type":0,"sectionRef":"#","url":"/rx-storage-denokv.html","content":"","keywords":"","version":"Next"},{"title":"What is DenoKV","type":1,"pageTitle":"RxDB Database on top of Deno Key Value Store","url":"/rx-storage-denokv.html#what-is-denokv","content":" DenoKV is a strongly consistent key-value storage, globally replicated for low-latency reads across 35 worldwide regions via Deno Deploy. When you release your Deno application on Deno Deploy, it will start a instance on each of the 35 worldwide regions. This edge deployment guarantees minimal latency when serving requests to end users devices around the world. DenoKV is a shared storage which shares its state across all instances. But, because DenoKV is "only" a Key-Value storage, it only supports basic CRUD operations on datasets and indexes. Complex features like queries, encryption, compression or client-server replication, are missing. Using RxDB on top of DenoKV fills this gap and makes it easy to build realtime offline-first application on top of Deno backend. ","version":"Next","tagName":"h2"},{"title":"Use cases","type":1,"pageTitle":"RxDB Database on top of Deno Key Value Store","url":"/rx-storage-denokv.html#use-cases","content":" Using RxDB-DenoKV instead of plain DenoKV, can have a wide range of benefits depending on your use case. Reduce vendor lock-in: RxDB has a swappable storage layer which allows you to swap out the underlying storage of your database. If you ever decide to move away from DenoDeploy or Deno at all, you do not have to refactor your whole application and instead just swap the storage plugin. For example if you decide migrate to Node.js, you can use the FoundationDB RxStorage and store your data there. DenoKV is also implemented on top of FoundationDB so you can get similar performance. Alternatively RxDB supports a wide range of storage plugins you can decide from. Add reactiveness: DenoKV is a plain request-response datastore. While it supports observation of single rows by id, it does not allow to observe row-ranges or events. This makes it hard to impossible to build realtime applications with it because polling would be the only way to watch ranges of key-value pairs. With RxDB on top of DenoKV, changes to the database are shared between DenoDeploy instances so when you observe a query you can be sure that it is always up to date, no matter which instance has changed the document. Internally RxDB uses the Deno BroadcastChannel API to share events between instances. Reuse Client and Server Code: When you use RxDB on the server and on the client side, many parts of your code can be reused on both sides which decreases development time significantly. Replicate from DenoKV to a local RxDB state: Instead of running all operations against the global DenoKV, you can run a realtime-replication between a DenoKV-RxDatabase and a locally stored dataset or maybe even an in-memory stored one. This improves query performance and can reduce your Deno Deploy cloud costs because less operations run against the DenoKV, they only locally instead. Replicate with other backends: The RxDB Sync Engine is pretty simple and allows you to easily build a replication with any backend architecture. For example if you already have your data stored in a self-hosted MySQL server, you can use RxDB to do a realtime replication of that data into a DenoKV RxDatabase instance. RxDB also has many plugins for replication with backend/protocols like GraphQL, Websocket, CouchDB, WebRTC, Firestore and NATS. ","version":"Next","tagName":"h2"},{"title":"Using the DenoKV RxStorage","type":1,"pageTitle":"RxDB Database on top of Deno Key Value Store","url":"/rx-storage-denokv.html#using-the-denokv-rxstorage","content":" To use the DenoKV RxStorage with RxDB, you import the getRxStorageDenoKV function from the plugin and set it as storage when calling createRxDatabase import { createRxDatabase } from 'rxdb'; import { getRxStorageDenoKV } from 'rxdb/plugins/storage-denokv'; const myRxDatabase = await createRxDatabase({ name: 'exampledb', storage: getRxStorageDenoKV({ /** * Consistency level, either 'strong' or 'eventual' * (Optional) default='strong' */ consistencyLevel: 'strong', /** * Path which is used in the first argument of Deno.openKv(settings.openKvPath) * (Optional) default='' */ openKvPath: './foobar', /** * Some operations have to run in batches, * you can test different batch sizes to improve performance. * (Optional) default=100 */ batchSize: number }) }); On top of that RxDatabase you can then create your collections and run operations. Follow the quickstart to learn more about how to use RxDB. ","version":"Next","tagName":"h2"},{"title":"Using non-DenoKV storages in Deno","type":1,"pageTitle":"RxDB Database on top of Deno Key Value Store","url":"/rx-storage-denokv.html#using-non-denokv-storages-in-deno","content":" When you use other storages than the DenoKV storage inside of a Deno app, make sure you set multiInstance: false when creating the database. Also you should only run one process per Deno-Deploy instance. This ensures your events are not mixed up by the BroadcastChannel across instances which would lead to wrong behavior. // DenoKV based database const db = await createRxDatabase({ name: 'denokvdatabase', storage: getRxStorageDenoKV(), /** * Use multiInstance: true so that the Deno Broadcast Channel * emits event across DenoDeploy instances * (true is also the default, so you can skip this setting) */ multiInstance: true }); // Non-DenoKV based database const db = await createRxDatabase({ name: 'denokvdatabase', storage: getRxStorageFilesystemNode(), /** * Use multiInstance: false so that it does not share events * across instances because the stored data is anyway not shared * between them. */ multiInstance: false }); ","version":"Next","tagName":"h2"},{"title":"Filesystem Node RxStorage","type":0,"sectionRef":"#","url":"/rx-storage-filesystem-node.html","content":"","keywords":"","version":"Next"},{"title":"Pros","type":1,"pageTitle":"Filesystem Node RxStorage","url":"/rx-storage-filesystem-node.html#pros","content":" Easier setup compared to SQLiteFast ","version":"Next","tagName":"h3"},{"title":"Cons","type":1,"pageTitle":"Filesystem Node RxStorage","url":"/rx-storage-filesystem-node.html#cons","content":" It is part of the RxDB Premium 👑 plugin that must be purchased. ","version":"Next","tagName":"h3"},{"title":"Usage","type":1,"pageTitle":"Filesystem Node RxStorage","url":"/rx-storage-filesystem-node.html#usage","content":" import { createRxDatabase } from 'rxdb'; import { getRxStorageFilesystemNode } from 'rxdb-premium/plugins/storage-filesystem-node'; const myRxDatabase = await createRxDatabase({ name: 'exampledb', storage: getRxStorageFilesystemNode({ basePath: path.join(__dirname, 'my-database-folder'), /** * Set inWorker=true if you use this RxStorage * together with the WebWorker plugin. */ inWorker: false }) }); /* ... */ ","version":"Next","tagName":"h2"},{"title":"RxDB Database on top of FoundationDB","type":0,"sectionRef":"#","url":"/rx-storage-foundationdb.html","content":"","keywords":"","version":"Next"},{"title":"Features of RxDB+FoundationDB","type":1,"pageTitle":"RxDB Database on top of FoundationDB","url":"/rx-storage-foundationdb.html#features-of-rxdbfoundationdb","content":" Using RxDB on top of FoundationDB, gives you many benefits compare to using the plain FoundationDB API: Indexes: In RxDB with a FoundationDB storage layer, indexes are used to optimize query performance, allowing for fast and efficient data retrieval even in large datasets. You can define single and compound indexes with the RxDB schema.Schema Based Data Model: Utilizing a jsonschema based data model, the system offers a highly structured and versatile approach to organizing and validating data, ensuring consistency and clarity in database interactions.Complex Queries: The system supports complex NoSQL queries, allowing for advanced data manipulation and retrieval, tailored to specific needs and intricate data relationships. For example you can do $regex or $or queries which is hardy possible with the plain key-value access of FoundationDB.Observable Queries & Documents: RxDB's observable queries and documents feature ensures real-time updates and synchronization, providing dynamic and responsive data interactions in applications.Compression: RxDB employs data compression techniques to reduce storage requirements and enhance transmission efficiency, making it more cost-effective and faster, especially for large volumes of data. You can compress the NoSQL document data, but also the binary attachments data.Attachments: RxDB supports the storage and management of attachments which allowing for the seamless inclusion of binary data like images or documents alongside structured data within the database. ","version":"Next","tagName":"h2"},{"title":"Installation","type":1,"pageTitle":"RxDB Database on top of FoundationDB","url":"/rx-storage-foundationdb.html#installation","content":" Install the FoundationDB client cli which is used to communicate with the FoundationDB cluster.Install the FoundationDB node bindings npm module via npm install foundationdb. This will install v2.x.x, which is only compatible with FoundationDB server and client v7.3.x (which is the only version currently maintained by the FoundationDB team). If you need to use an older version (e.g. 7.1.x or 6.3.x), you should run npm install foundationdb@1.1.4 (though this might only work with v6.3.x).Due to an outstanding bug in node foundationdb, you will need to specify an apiVersion of 720 even though you are using 730. When this PR is merged, you will be able to use 730. ","version":"Next","tagName":"h2"},{"title":"Usage","type":1,"pageTitle":"RxDB Database on top of FoundationDB","url":"/rx-storage-foundationdb.html#usage","content":" import { createRxDatabase } from 'rxdb'; import { getRxStorageFoundationDB } from 'rxdb/plugins/storage-foundationdb'; const db = await createRxDatabase({ name: 'exampledb', storage: getRxStorageFoundationDB({ /** * Version of the API of the FoundationDB cluster.. * FoundationDB is backwards compatible across a wide range of versions, * so you have to specify the api version. * If in doubt, set it to 720. */ apiVersion: 720, /** * Path to the FoundationDB cluster file. * (optional) * If in doubt, leave this empty to use the default location. */ clusterFile: '/path/to/fdb.cluster', /** * Amount of documents to be fetched in batch requests. * You can change this to improve performance depending on * your database access patterns. * (optional) * [default=50] */ batchSize: 50 }) }); ","version":"Next","tagName":"h2"},{"title":"Multi Instance","type":1,"pageTitle":"RxDB Database on top of FoundationDB","url":"/rx-storage-foundationdb.html#multi-instance","content":" Because FoundationDB does not offer a changestream, it is not possible to use the same cluster from more than one Node.js process at the same time. For example you cannot spin up multiple servers with RxDB databases that all use the same cluster. There might be workarounds to create something like a FoundationDB changestream and you can make a Pull Request if you need that feature. ","version":"Next","tagName":"h2"},{"title":"IndexedDB RxStorage","type":0,"sectionRef":"#","url":"/rx-storage-indexeddb.html","content":"","keywords":"","version":"Next"},{"title":"IndexedDB performance comparison","type":1,"pageTitle":"IndexedDB RxStorage","url":"/rx-storage-indexeddb.html#indexeddb-performance-comparison","content":" Here is some performance comparison with other storages. Compared to the non-memory storages like OPFS and WASM SQLite. IndexedDB has the smallest build size and fastest write speed. Only OPFS is faster on queries over big datasets. See performance comparison page for a comparison with all storages. ","version":"Next","tagName":"h2"},{"title":"Using the IndexedDB RxStorage","type":1,"pageTitle":"IndexedDB RxStorage","url":"/rx-storage-indexeddb.html#using-the-indexeddb-rxstorage","content":" To use the indexedDB storage you import it from the RxDB Premium 👑 npm module and use getRxStorageIndexedDB() when creating the RxDatabase. import { createRxDatabase } from 'rxdb'; import { getRxStorageIndexedDB } from 'rxdb-premium/plugins/storage-indexeddb'; const db = await createRxDatabase({ name: 'exampledb', storage: getRxStorageIndexedDB({ /** * For better performance, queries run with a batched cursor. * You can change the batchSize to optimize the query time * for specific queries. * You should only change this value when you are also doing performance measurements. * [default=300] */ batchSize: 300 }) }); ","version":"Next","tagName":"h2"},{"title":"Overwrite/Polyfill the native IndexedDB","type":1,"pageTitle":"IndexedDB RxStorage","url":"/rx-storage-indexeddb.html#overwritepolyfill-the-native-indexeddb","content":" Node.js has no IndexedDB API. To still run the IndexedDB RxStorage in Node.js, for example to run unit tests, you have to polyfill it. You can do that by using the fake-indexeddb module and pass it to the getRxStorageIndexedDB() function. import { createRxDatabase } from 'rxdb'; import { getRxStorageIndexedDB } from 'rxdb-premium/plugins/storage-indexeddb'; //> npm install fake-indexeddb --save const fakeIndexedDB = require('fake-indexeddb'); const fakeIDBKeyRange = require('fake-indexeddb/lib/FDBKeyRange'); const db = await createRxDatabase({ name: 'exampledb', storage: getRxStorageIndexedDB({ indexedDB: fakeIndexedDB, IDBKeyRange: fakeIDBKeyRange }) }); ","version":"Next","tagName":"h2"},{"title":"Storage Buckets","type":1,"pageTitle":"IndexedDB RxStorage","url":"/rx-storage-indexeddb.html#storage-buckets","content":" The Storage Buckets API provides a way for sites to organize locally stored data into groupings called "storage buckets". This allows the user agent or sites to manage and delete buckets independently rather than applying the same treatment to all the data from a single origin. Read More To use different storage buckets with the RxDB IndexedDB Storage, you can use a function instead of a plain object when providing the indexedDB attribute: import { createRxDatabase } from 'rxdb'; import { getRxStorageIndexedDB } from 'rxdb-premium/plugins/storage-indexeddb'; const db = await createRxDatabase({ name: 'exampledb', storage: getRxStorageIndexedDB({ indexedDB: async(params) => { const myStorageBucket = await navigator.storageBuckets.open('myApp-' + params.databaseName); return myStorageBucket.indexedDB; }, IDBKeyRange }) }); ","version":"Next","tagName":"h2"},{"title":"Limitations of the IndexedDB RxStorage","type":1,"pageTitle":"IndexedDB RxStorage","url":"/rx-storage-indexeddb.html#limitations-of-the-indexeddb-rxstorage","content":" It is part of the RxDB Premium 👑 plugin that must be purchased. If you just need a storage that works in the browser and you do not have to care about performance, you can use the LocalStorage storage instead.The IndexedDB storage requires support for IndexedDB v2, it does not work on Internet Explorer. ","version":"Next","tagName":"h2"},{"title":"RxStorage Dexie.js","type":0,"sectionRef":"#","url":"/rx-storage-dexie.html","content":"","keywords":"","version":"Next"},{"title":"Dexie.js vs IndexedDB Storage","type":1,"pageTitle":"RxStorage Dexie.js","url":"/rx-storage-dexie.html#dexiejs-vs-indexeddb-storage","content":" While Dexie.js RxStorage can be used for free, most professional projects should switch to our premium IndexedDB RxStorage 👑 in production: It is faster and reduces build size by up to 36%.It has a way better performance on reads and writes.It stores attachments data as binary instead of base64 which reduces used space by 33%.It does not use a Batched Cursor or custom indexes which makes queries slower compared to the IndexedDB RxStorage.It supports non-required indexes which is not possible with Dexie.js.It runs in a WAL-like mode (similar to SQLite) for faster writes and improved responsiveness.It support the Storage Buckets API ","version":"Next","tagName":"h2"},{"title":"How to use Dexie.js as a Storage for RxDB","type":1,"pageTitle":"RxStorage Dexie.js","url":"/rx-storage-dexie.html#how-to-use-dexiejs-as-a-storage-for-rxdb","content":" 1 Import the Dexie Storage import { createRxDatabase } from 'rxdb/plugins/core'; import { getRxStorageDexie } from 'rxdb/plugins/storage-dexie'; 2 Create a Database const db = await createRxDatabase({ name: 'exampledb', storage: getRxStorageDexie() }); ","version":"Next","tagName":"h2"},{"title":"Overwrite/Polyfill the native IndexedDB API with an in-memory version","type":1,"pageTitle":"RxStorage Dexie.js","url":"/rx-storage-dexie.html#overwritepolyfill-the-native-indexeddb-api-with-an-in-memory-version","content":" Node.js has no IndexedDB API. To still run the Dexie RxStorage in Node.js, for example to run unit tests, you have to polyfill it. You can do that by using the fake-indexeddb module and pass it to the getRxStorageDexie() function. import { createRxDatabase } from 'rxdb/plugins/core'; import { getRxStorageDexie } from 'rxdb/plugins/storage-dexie'; //> npm install fake-indexeddb --save const fakeIndexedDB = require('fake-indexeddb'); const fakeIDBKeyRange = require('fake-indexeddb/lib/FDBKeyRange'); const db = await createRxDatabase({ name: 'exampledb', storage: getRxStorageDexie({ indexedDB: fakeIndexedDB, IDBKeyRange: fakeIDBKeyRange }) }); ","version":"Next","tagName":"h2"},{"title":"Using Dexie Addons","type":1,"pageTitle":"RxStorage Dexie.js","url":"/rx-storage-dexie.html#using-dexie-addons","content":" Dexie.js has its own plugin system with many plugins for encryption, replication or other use cases. With the Dexie.js RxStorage you can use the same plugins by passing them to the getRxStorageDexie() function. const db = await createRxDatabase({ name: 'exampledb', storage: getRxStorageDexie({ addons: [ /* Your Dexie.js plugins */ ] }) }); ","version":"Next","tagName":"h2"},{"title":"Sync Dexie.js with your Backend in RxDB","type":1,"pageTitle":"RxStorage Dexie.js","url":"/rx-storage-dexie.html#sync-dexiejs-with-your-backend-in-rxdb","content":" Having your local data in sync with a remote backend is a key feature of RxDB. Here are two approaches to achieve this when using the Dexie.js RxStorage: Dexie Cloud provides a managed solution: For quick setups, letting you rely on its Cloud backend and conflict resolution.RxDB's replication: Offers full control over your backend, data flow, and conflict handling. Choose the approach that best suits your needs - whether you want to get started quickly with Dexie Cloud or require the adaptability and autonomy of RxDB's native replication. ","version":"Next","tagName":"h2"},{"title":"A. Use Dexie Cloud Sync","type":1,"pageTitle":"RxStorage Dexie.js","url":"/rx-storage-dexie.html#a-use-dexie-cloud-sync","content":" Dexie Cloud is an official SaaS solution provided by the Dexie team. It offers automatic synchronization, user management, and conflict resolution out of the box. The primary benefits are: Automatic Sync: Dexie Cloud keeps your local IndexedDB in sync with its cloud-based backend.User Authentication: Built-in user management (auth, roles, permissions).Conflict Resolution: Automated resolution logic on the server side. 1 Install the Dexie Cloud Addon npm install dexie-cloud-addon 2 Import RxDB and dexie-cloud import { createRxDatabase } from 'rxdb/plugins/core'; import { getRxStorageDexie } from 'rxdb/plugins/storage-dexie'; import dexieCloud from 'dexie-cloud-addon'; 3 Create a Dexie based RxStorage with the Cloud Plugin const storage = getRxStorageDexie({ addons: [dexieCloud], /* * Whenever a new dexie database instance is created, * this method will be called. */ async onCreate(dexieDatabase, dexieDatabaseName) { await dexieDatabase.cloud.configure({ databaseUrl: "https://<yourdatabase>.dexie.cloud", requireAuth: true // optional }); } }); 4 Create an RxDB Database const db = await createRxDatabase({ name: 'mydb', storage }); ","version":"Next","tagName":"h3"},{"title":"B. Use the RxDB Replication","type":1,"pageTitle":"RxStorage Dexie.js","url":"/rx-storage-dexie.html#b-use-the-rxdb-replication","content":" For full flexibility over your backend or conflict resolution strategy, you can use one of RxDB's many replication plugins like CouchDB Replication Plugin: Replicate with a CouchDB ServerGraphQL Replication Plugin: Sync data with any GraphQL endpoint. Useful when you have a custom schema or you want to utilize GraphQL's powerful query features.Custom Replication with REST APIs: Implement your own replication by building a pull/push handler that communicates with any RESTful backend. Below is an example of replicating an RxDB collection with a CouchDB backend using RxDB's CouchDB replication plugin: 1 Import the RxDB with dexie and the CouchDB plugin import { replicateCouchDB } from 'rxdb/plugins/replication-couchdb'; import { getRxStorageDexie } from 'rxdb/plugins/storage-dexie'; import { createRxDatabase } from 'rxdb/plugins/core'; 2 Create an RxDB Database with the Dexie Storage const db = await createRxDatabase({ name: 'mydb', storage: getRxStorageDexie() }); 3 Add a Collection await db.addCollections({ humans: { schema: { version: 0, type: 'object', primaryKey: 'id', properties: { id: { type: 'string', maxLength: 100 }, name: { type: 'string' }, age: { type: 'number' } }, required: ['id', 'name'] } } }); 4 Sync the Collection with a CouchDB Server const replicationState = replicateCouchDB({ replicationIdentifier: 'my-couchdb-replication', collection: db.humans, // The URL to your CouchDB endpoint url: 'http://example.com/db/humans' }); ","version":"Next","tagName":"h3"},{"title":"liveQuery - Realtime Queries","type":1,"pageTitle":"RxStorage Dexie.js","url":"/rx-storage-dexie.html#livequery---realtime-queries","content":" Dexie.js offers a feature called liveQuery which automatically updates query results as data changes, allowing you to react to these changes in real-time. However, because RxDB intrinsically provides reactive queries, you typically do not need to enable live queries through Dexie. Once you have created your database and collections with RxDB, any query you perform can be observed by subscribing to it, for example via collection.find().$.subscribe(results => { /*... */ }). This means RxDB takes care of listening for changes and automatically emitting new results - ensuring your UI stays in sync with the underlying data without requiring extra plugins or manual polling. ","version":"Next","tagName":"h2"},{"title":"Disabling the non-premium console log","type":1,"pageTitle":"RxStorage Dexie.js","url":"/rx-storage-dexie.html#disabling-the-non-premium-console-log","content":" We want to be transparent with our community, and you'll notice a console message when using the free Dexie.js based RxStorage implementation. This message serves to inform you about the availability of faster storage solutions within our 👑 Premium Plugins. We understand that this might be a minor inconvenience, and we sincerely apologize for that. However, maintaining and improving RxDB requires substantial resources, and our premium users help us ensure its sustainability. If you find value in RxDB and wish to remove this message, we encourage you to explore our premium storage options, which are optimized for professional use and production environments. Thank you for your understanding and support. If you already have premium access and want to use the Dexie.js RxStorage without the log, you can call the setPremiumFlag() function to disable the log. import { setPremiumFlag } from 'rxdb-premium/plugins/shared'; setPremiumFlag(); ","version":"Next","tagName":"h2"},{"title":"Performance comparison with other RxStorage plugins","type":1,"pageTitle":"RxStorage Dexie.js","url":"/rx-storage-dexie.html#performance-comparison-with-other-rxstorage-plugins","content":" The performance of the Dexie.js RxStorage is good enough for most use cases but other storages can have way better performance metrics: ","version":"Next","tagName":"h2"},{"title":"RxStorage Localstorage Meta Optimizer","type":0,"sectionRef":"#","url":"/rx-storage-localstorage-meta-optimizer.html","content":"","keywords":"","version":"Next"},{"title":"Usage","type":1,"pageTitle":"RxStorage Localstorage Meta Optimizer","url":"/rx-storage-localstorage-meta-optimizer.html#usage","content":" The meta optimizer gets wrapped around any other RxStorage. It will than automatically detect if an RxDB internal storage instance is created, and replace that with a localstorage based instance. import { getLocalstorageMetaOptimizerRxStorage } from 'rxdb-premium/plugins/storage-localstorage-meta-optimizer'; import { getRxStorageIndexedDB } from 'rxdb-premium/plugins/storage-indexeddb'; /** * First wrap the original RxStorage with the optimizer. */ const optimizedRxStorage = getLocalstorageMetaOptimizerRxStorage({ /** * Here we use the IndexedDB RxStorage, * it is also possible to use any other RxStorage instead. */ storage: getRxStorageIndexedDB() }); /** * Create the RxDatabase with the wrapped RxStorage. */ const database = await createRxDatabase({ name: 'mydatabase', storage: optimizedRxStorage }); ","version":"Next","tagName":"h2"},{"title":"RxStorage LocalStorage","type":0,"sectionRef":"#","url":"/rx-storage-localstorage.html","content":"","keywords":"","version":"Next"},{"title":"Key Benefits","type":1,"pageTitle":"RxStorage LocalStorage","url":"/rx-storage-localstorage.html#key-benefits","content":" Simplicity: No complicated configurations or external dependencies - LocalStorage is already built into the browser.Fast for small Datasets: Writing and Reading small sets of data from localStorage is really fast as shown in these benchmarks.Ease of Setup: Just import the plugin, import it, and pass getRxStorageLocalstorage() into createRxDatabase(). That’s it! ","version":"Next","tagName":"h2"},{"title":"Limitations","type":1,"pageTitle":"RxStorage LocalStorage","url":"/rx-storage-localstorage.html#limitations","content":" While LocalStorage is the easiest way to get started, it does come with some constraints: Limited Storage Capacity: Browsers often limit LocalStorage to around 5 MB per domain, though exact limits vary.Synchronous Access: LocalStorage operations block the main thread. This is usually fine for small amounts of data but can cause performance bottlenecks with heavier use. Despite these limitations, LocalStorage remains a great default option for smaller projects, prototypes, or cases where you need the absolute simplest way to persist data in the browser. ","version":"Next","tagName":"h2"},{"title":"How to use the LocalStorage RxStorage with RxDB","type":1,"pageTitle":"RxStorage LocalStorage","url":"/rx-storage-localstorage.html#how-to-use-the-localstorage-rxstorage-with-rxdb","content":" 1 Import the Storage import { createRxDatabase } from 'rxdb/plugins/core'; import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage'; 2 Create a Database const db = await createRxDatabase({ name: 'exampledb', storage: getRxStorageLocalstorage() }); 3 Add a Collection await db.addCollections({ tasks: { schema: { title: 'tasks schema', version: 0, primaryKey: 'id', type: 'object', properties: { id: { type: 'string' }, title: { type: 'string' }, done: { type: 'boolean' } }, required: ['id', 'title', 'done'] } } }); 4 Insert a document await db.tasks.insert({ id: 'task-01', title: 'Get started with RxDB' }); 5 Query documents const nonDoneTasks = await db.tasks.find({ selector: { done: { $eq: false } } }).exec(); ","version":"Next","tagName":"h2"},{"title":"Mocking the LocalStorage API for testing in Node.js","type":1,"pageTitle":"RxStorage LocalStorage","url":"/rx-storage-localstorage.html#mocking-the-localstorage-api-for-testing-in-nodejs","content":" While the localStorage API only exists in browsers, your can the LocalStorage based storage in Node.js by using the mock that comes with RxDB. This is intended to be used in unit tests or other test suites: import { createRxDatabase } from 'rxdb/plugins/core'; import { getRxStorageLocalstorage, getLocalStorageMock } from 'rxdb/plugins/storage-localstorage'; const db = await createRxDatabase({ name: 'exampledb', storage: getRxStorageLocalstorage({ localStorage: getLocalStorageMock() }) }); ","version":"Next","tagName":"h2"},{"title":"Memory Synced RxStorage","type":0,"sectionRef":"#","url":"/rx-storage-memory-synced.html","content":"","keywords":"","version":"Next"},{"title":"Pros","type":1,"pageTitle":"Memory Synced RxStorage","url":"/rx-storage-memory-synced.html#pros","content":" Improves read/write performance because these operations run against the in-memory storage.Decreases initial page load because it load all data in a single bulk request. It even detects if the database is used for the first time and then it does not have to await the creation of the persistent storage. ","version":"Next","tagName":"h2"},{"title":"Cons","type":1,"pageTitle":"Memory Synced RxStorage","url":"/rx-storage-memory-synced.html#cons","content":" It does not support attachments.When the JavaScript process is killed ungracefully like when the browser crashes or the power of the PC is terminated, it might happen that some memory writes are not persisted to the parent storage. This can be prevented with the awaitWritePersistence flag.This can only be used if all data fits into the memory of the JavaScript process. This is normally not a problem because a browser has much memory these days and plain json document data is not that big.Because it has to await an initial replication from the parent storage into the memory, initial page load time can increase when much data is already stored. This is likely not a problem when you store less than 10k documents.The memory-synced storage itself does not support replication and migration. Instead you have to replicate the underlying parent storage.The memory-synced plugin is part of RxDB Premium 👑. It is not part of the default RxDB module. The memory-synced RxStorage was removed in RxDB version 16 The memory-synced was removed in RxDB version 16. Instead consider using the newer and better memory-mapped RxStorage which has better trade-offs and is easier to configure. ","version":"Next","tagName":"h2"},{"title":"Usage","type":1,"pageTitle":"Memory Synced RxStorage","url":"/rx-storage-memory-synced.html#usage","content":" import { getRxStorageIndexedDB } from 'rxdb-premium/plugins/storage-indexeddb'; import { getMemorySyncedRxStorage } from 'rxdb-premium/plugins/storage-memory-synced'; /** * Here we use the IndexedDB RxStorage as persistence storage. * Any other RxStorage can also be used. */ const parentStorage = getRxStorageIndexedDB(); // wrap the persistent storage with the memory synced one. const storage = getMemorySyncedRxStorage({ storage: parentStorage }); // create the RxDatabase like you would do with any other RxStorage const db = await createRxDatabase({ name: 'myDatabase, storage, }); /** ... **/ ","version":"Next","tagName":"h2"},{"title":"Options","type":1,"pageTitle":"Memory Synced RxStorage","url":"/rx-storage-memory-synced.html#options","content":" Some options can be provided to fine tune the performance and behavior. import { requestIdlePromise } from 'rxdb'; const storage = getMemorySyncedRxStorage({ storage: parentStorage, /** * Defines how many document * get replicated in a single batch. * [default=50] * * (optional) */ batchSize: 50, /** * By default, the parent storage will be created without indexes for a faster page load. * Indexes are not needed because the queries will anyway run on the memory storage. * You can disable this behavior by setting keepIndexesOnParent to true. * If you use the same parent storage for multiple RxDatabase instances where one is not * a asynced-memory storage, you will get the error: 'schema not equal to existing storage' * if you do not set keepIndexesOnParent to true. * * (optional) */ keepIndexesOnParent: true, /** * If set to true, all write operations will resolve AFTER the writes * have been persisted from the memory to the parentStorage. * This ensures writes are not lost even if the JavaScript process exits * between memory writes and the persistence interval. * default=false */ awaitWritePersistence: true, /** * After a write, await until the return value of this method resolves * before replicating with the master storage. * * By returning requestIdlePromise() we can ensure that the CPU is idle * and no other, more important operation is running. By doing so we can be sure * that the replication does not slow down any rendering of the browser process. * * (optional) */ waitBeforePersist: () => requestIdlePromise(); }); ","version":"Next","tagName":"h2"},{"title":"Replication and Migration with the memory-synced storage","type":1,"pageTitle":"Memory Synced RxStorage","url":"/rx-storage-memory-synced.html#replication-and-migration-with-the-memory-synced-storage","content":" The memory-synced storage itself does not support replication and migration. Instead you have to replicate the underlying parent storage. For example when you use it on top of an IndexedDB storage, you have to run replication on that storage instead by creating a different RxDatabase. const parentStorage = getRxStorageIndexedDB(); const memorySyncedStorage = getMemorySyncedRxStorage({ storage: parentStorage, keepIndexesOnParent: true }); const databaseName = 'mydata'; /** * Create a parent database with the same name+collections * and use it for replication and migration. * The parent database must be created BEFORE the memory-synced database * to ensure migration has already been run. */ const parentDatabase = await createRxDatabase({ name: databaseName, storage: parentStorage }); await parentDatabase.addCollections(/* ... */); replicateRxCollection({ collection: parentDatabase.myCollection, /* ... */ }); /** * Create an equal memory-synced database with the same name+collections * and use it for writes and queries. */ const memoryDatabase = await createRxDatabase({ name: databaseName, storage: memorySyncedStorage }); await memoryDatabase.addCollections(/* ... */); ","version":"Next","tagName":"h2"},{"title":"Memory RxStorage","type":0,"sectionRef":"#","url":"/rx-storage-memory.html","content":"","keywords":"","version":"Next"},{"title":"Pros","type":1,"pageTitle":"Memory RxStorage","url":"/rx-storage-memory.html#pros","content":" Really fast. Uses binary search on all operations.Small build size ","version":"Next","tagName":"h3"},{"title":"Cons","type":1,"pageTitle":"Memory RxStorage","url":"/rx-storage-memory.html#cons","content":" No persistence import { createRxDatabase } from 'rxdb'; import { getRxStorageMemory } from 'rxdb/plugins/storage-memory'; const db = await createRxDatabase({ name: 'exampledb', storage: getRxStorageMemory() }); ","version":"Next","tagName":"h3"},{"title":"RxStorage LokiJS","type":0,"sectionRef":"#","url":"/rx-storage-lokijs.html","content":"","keywords":"","version":"Next"},{"title":"Pros","type":1,"pageTitle":"RxStorage LokiJS","url":"/rx-storage-lokijs.html#pros","content":" Queries can run faster because all data is processed in memory.It has a much faster initial load time because it loads all data from IndexedDB in a single request. But this is only true for small datasets. If much data must is stored, the initial load time can be higher than on other RxStorage implementations. ","version":"Next","tagName":"h3"},{"title":"Cons","type":1,"pageTitle":"RxStorage LokiJS","url":"/rx-storage-lokijs.html#cons","content":" It does not support attachments.Data can be lost when the JavaScript process is killed ungracefully like when the browser crashes or the power of the PC is terminated.All data must fit into the memory.Slow initialisation time when used with multiInstance: true because it has to await the leader election process.Slow initialisation time when really much data is stored inside of the database because it has to parse a big JSON string. ","version":"Next","tagName":"h3"},{"title":"Usage","type":1,"pageTitle":"RxStorage LokiJS","url":"/rx-storage-lokijs.html#usage","content":" import { createRxDatabase } from 'rxdb'; import { getRxStorageLoki } from 'rxdb/plugins/storage-lokijs'; // in the browser, we want to persist data in IndexedDB, so we use the indexeddb adapter. const LokiIncrementalIndexedDBAdapter = require('lokijs/src/incremental-indexeddb-adapter'); const db = await createRxDatabase({ name: 'exampledb', storage: getRxStorageLoki({ adapter: new LokiIncrementalIndexedDBAdapter(), /* * Do not set lokiJS persistence options like autoload and autosave, * RxDB will pick proper defaults based on the given adapter */ }) }); ","version":"Next","tagName":"h2"},{"title":"Adapters","type":1,"pageTitle":"RxStorage LokiJS","url":"/rx-storage-lokijs.html#adapters","content":" LokiJS is based on adapters that determine where to store persistent data. For LokiJS there are adapters for IndexedDB, AWS S3, the NodeJS filesystem or NativeScript. Find more about the possible adapters at the LokiJS docs. For react native there is also the loki-async-reference-adapter. ","version":"Next","tagName":"h2"},{"title":"Multi-Tab support","type":1,"pageTitle":"RxStorage LokiJS","url":"/rx-storage-lokijs.html#multi-tab-support","content":" When you use plain LokiJS, you cannot build an app that can be used in multiple browser tabs. The reason is that LokiJS loads data in bulk and then only regularly persists the in-memory state to disc. When opened in multiple tabs, it would happen that the LokiJS instances overwrite each other and data is lost. With the RxDB LokiJS-plugin, this problem is fixed with the LeaderElection module. Between all open tabs, a leading tab is elected and only in this tab a database is created. All other tabs do not run queries against their own database, but instead call the leading tab to send and retrieve data. When the leading tab is closed, a new leader is elected that reopens the database and processes queries. You can disable this by setting multiInstance: false when creating the RxDatabase. ","version":"Next","tagName":"h2"},{"title":"Autosave and autoload","type":1,"pageTitle":"RxStorage LokiJS","url":"/rx-storage-lokijs.html#autosave-and-autoload","content":" When using plain LokiJS, you could set the autosave option to true to make sure that LokiJS persists the database state after each write into the persistence adapter. Same goes to autoload which loads the persisted state on database creation. But RxDB knows better when to persist the database state and when to load it, so it has its own autosave logic. This will ensure that running the persistence handler does not affect the performance of more important tasks. Instead RxDB will always wait until the database is idle and then runs the persistence handler. A load of the persisted state is done on database or collection creation and it is ensured that multiple load calls do not run in parallel and interfere with each other or with saveDatabase() calls. ","version":"Next","tagName":"h2"},{"title":"Known problems","type":1,"pageTitle":"RxStorage LokiJS","url":"/rx-storage-lokijs.html#known-problems","content":" When you bundle the LokiJS Plugin with webpack, you might get the error Cannot find module "fs". This is because LokiJS uses a require('fs') statement that cannot work in the browser. You can fix that by telling webpack to not resolve the fs module with the following block in your webpack config: // in your webpack.config.js { /* ... */ resolve: { fallback: { fs: false } } /* ... */ } // Or if you do not have a webpack.config.js like you do with angular, // you might fix it by setting the browser field in the package.json { /* ... */ "browser": { "fs": false } /* ... */ } ","version":"Next","tagName":"h2"},{"title":"Using the internal LokiJS database","type":1,"pageTitle":"RxStorage LokiJS","url":"/rx-storage-lokijs.html#using-the-internal-lokijs-database","content":" For custom operations, you can access the internal LokiJS database. This is dangerous because you might do changes that are not compatible with RxDB. Only use this when there is no way to achieve your goals via the RxDB API. const storageInstance = myRxCollection.storageInstance; const localState = await storageInstance.internals.localState; localState.collection.insert({ key: 'foo', value: 'bar', _deleted: false, _attachments: {}, _rev: '1-62080c42d471e3d2625e49dcca3b8e3e', _meta: { lwt: new Date().getTime() } }); // manually trigger the save queue because we did a write to the internal loki db. await localState.databaseState.saveQueue.addWrite(); ","version":"Next","tagName":"h2"},{"title":"Disabling the non-premium console log","type":1,"pageTitle":"RxStorage LokiJS","url":"/rx-storage-lokijs.html#disabling-the-non-premium-console-log","content":" We want to be transparent with our community, and you'll notice a console message when using the free Loki.js based RxStorage implementation. This message serves to inform you about the availability of faster storage solutions within our 👑 Premium Plugins. We understand that this might be a minor inconvenience, and we sincerely apologize for that. However, maintaining and improving RxDB requires substantial resources, and our premium users help us ensure its sustainability. If you find value in RxDB and wish to remove this message, we encourage you to explore our premium storage options, which are optimized for professional use and production environments. Thank you for your understanding and support. If you already have premium access and want to use the LokiJS RxStorage without the log, you can call the setPremiumFlag() function to disable the log. import { setPremiumFlag } from 'rxdb-premium/plugins/shared'; setPremiumFlag(); ","version":"Next","tagName":"h2"},{"title":"Memory Mapped RxStorage","type":0,"sectionRef":"#","url":"/rx-storage-memory-mapped.html","content":"","keywords":"","version":"Next"},{"title":"Pros","type":1,"pageTitle":"Memory Mapped RxStorage","url":"/rx-storage-memory-mapped.html#pros","content":" Improves read/write performance because these operations run against the in-memory storage.Decreases initial page load because it load all data in a single bulk request. It even detects if the database is used for the first time and then it does not have to await the creation of the persistent storage.Can store encrypted data on disc while still being able to run queries on the non-encrypted in-memory state. ","version":"Next","tagName":"h2"},{"title":"Cons","type":1,"pageTitle":"Memory Mapped RxStorage","url":"/rx-storage-memory-mapped.html#cons","content":" It does not support attachments because storing big attachments data in-memory should not be done.When the JavaScript process is killed ungracefully like when the browser crashes or the power of the PC is terminated, it might happen that some memory writes are not persisted to the parent storage. This can be prevented with the awaitWritePersistence flag.The memory-mapped storage can only be used if all data fits into the memory of the JavaScript process. This is normally not a problem because a browser has much memory these days and plain JSON document data is not that big.Because it has to await an initial data loading from the parent storage into the memory, initial page load time can increase when much data is already stored. This is likely not a problem when you store less than 10k documents.The memory-mapped storage is part of RxDB Premium 👑. It is not part of the default RxDB core module. ","version":"Next","tagName":"h2"},{"title":"Using the Memory-Mapped RxStorage","type":1,"pageTitle":"Memory Mapped RxStorage","url":"/rx-storage-memory-mapped.html#using-the-memory-mapped-rxstorage","content":" import { getRxStorageIndexedDB } from 'rxdb-premium/plugins/storage-indexeddb'; import { getMemoryMappedRxStorage } from 'rxdb-premium/plugins/storage-memory-mapped'; /** * Here we use the IndexedDB RxStorage as persistence storage. * Any other RxStorage can also be used. */ const parentStorage = getRxStorageIndexedDB(); // wrap the persistent storage with the memory-mapped storage. const storage = getMemoryMappedRxStorage({ storage: parentStorage }); // create the RxDatabase like you would do with any other RxStorage const db = await createRxDatabase({ name: 'myDatabase, storage, }); /** ... **/ ","version":"Next","tagName":"h2"},{"title":"Multi-Tab Support","type":1,"pageTitle":"Memory Mapped RxStorage","url":"/rx-storage-memory-mapped.html#multi-tab-support","content":" By how the memory-mapped storage works, it is not possible to have the same storage open in multiple JavaScript processes. So when you use this in a browser application, you can not open multiple databases when the app is used in multiple browser tabs. To solve this, use the SharedWorker Plugin so that the memory-mapped storage runs inside of a SharedWorker exactly once and is then reused for all browser tabs. If you have a single JavaScript process, like in a React Native app, you do not have to care about this and can just use the memory-mapped storage in the main process. ","version":"Next","tagName":"h2"},{"title":"Encryption of the persistent data","type":1,"pageTitle":"Memory Mapped RxStorage","url":"/rx-storage-memory-mapped.html#encryption-of-the-persistent-data","content":" Normally RxDB is not capable of running queries on encrypted fields. But when you use the memory-mapped RxStorage, you can store the document data encrypted on disc, while being able to run queries on the not encrypted in-memory state. Make sure you use the encryption storage wrapper around the persistent storage, NOT around the memory-mapped storage as a whole. import { getRxStorageIndexedDB } from 'rxdb-premium/plugins/storage-indexeddb'; import { getMemoryMappedRxStorage } from 'rxdb-premium/plugins/storage-memory-mapped'; import { wrappedKeyEncryptionWebCryptoStorage } from 'rxdb-premium/plugins/encryption-web-crypto'; const storage = getMemoryMappedRxStorage({ storage: wrappedKeyEncryptionWebCryptoStorage({ storage: getRxStorageIndexedDB() }) }); const db = await createRxDatabase({ name: 'myDatabase, storage, }); /** ... **/ ","version":"Next","tagName":"h2"},{"title":"Await Write Persistence","type":1,"pageTitle":"Memory Mapped RxStorage","url":"/rx-storage-memory-mapped.html#await-write-persistence","content":" Running operations on the memory-mapped storage by default returns directly when the operation has run on the in-memory state and then persist changes in the background. Sometimes you might want to ensure write operations is persisted, you can do this by setting awaitWritePersistence: true. const storage = getMemoryMappedRxStorage({ awaitWritePersistence: true, storage: getRxStorageIndexedDB() }); ","version":"Next","tagName":"h2"},{"title":"Block Size Limit","type":1,"pageTitle":"Memory Mapped RxStorage","url":"/rx-storage-memory-mapped.html#block-size-limit","content":" During cleanup, the memory-mapped storage will merge many small write-blocks into single big blocks for better initial load performance. The blockSizeLimit defines the maximum of how many documents get stored in a single block. The default is 10000. const storage = getMemoryMappedRxStorage({ blockSizeLimit: 1000, storage: getRxStorageIndexedDB() }); ","version":"Next","tagName":"h2"},{"title":"MongoDB RxStorage","type":0,"sectionRef":"#","url":"/rx-storage-mongodb.html","content":"","keywords":"","version":"Next"},{"title":"Limitations of the MongoDB RxStorage","type":1,"pageTitle":"MongoDB RxStorage","url":"/rx-storage-mongodb.html#limitations-of-the-mongodb-rxstorage","content":" Multiple Node.js servers using the same MongoDB database is currently not supportedRxAttachments are currently not supportedDoing non-RxDB writes on the MongoDB database is not supported. RxDB expects all writes to come from RxDB which update the required metadata. Doing non-RxDB writes can confuse the RxDatabase and lead to undefined behavior. But you can perform read-queries on the MongoDB storage from the outside at any time. ","version":"Next","tagName":"h2"},{"title":"Using the MongoDB RxStorage","type":1,"pageTitle":"MongoDB RxStorage","url":"/rx-storage-mongodb.html#using-the-mongodb-rxstorage","content":" 1 Install the mongodb package npm install mongodb --save 2 Setups the MongoDB RxStorage To use the storage, you simply import the getRxStorageMongoDB method and use that when creating the RxDatabase. The connection parameter contains the MongoDB connection string. import { createRxDatabase } from 'rxdb'; import { getRxStorageMongoDB } from 'rxdb/plugins/storage-mongodb'; const myRxDatabase = await createRxDatabase({ name: 'exampledb', storage: getRxStorageMongoDB({ /** * MongoDB connection string * @link https://www.mongodb.com/docs/manual/reference/connection-string/ */ connection: 'mongodb://localhost:27017,localhost:27018,localhost:27019' }) }); ","version":"Next","tagName":"h2"},{"title":"📈 Discover RxDB Storage Benchmarks","type":0,"sectionRef":"#","url":"/rx-storage-performance.html","content":"","keywords":"","version":"Next"},{"title":"RxStorage Performance comparison","type":1,"pageTitle":"📈 Discover RxDB Storage Benchmarks","url":"/rx-storage-performance.html#rxstorage-performance-comparison","content":" A big difference in the RxStorage implementations is the performance. In difference to a server side database, RxDB is bound to the limits of the JavaScript runtime and depending on the runtime, there are different possibilities to store and fetch data. For example in the browser it is only possible to store data in a slow IndexedDB or OPFS instead of a filesystem while on React-Native you can use the SQLite storage. Therefore the performance can be completely different depending on where you use RxDB and what you do with it. Here you can see some performance measurements and descriptions on how the different storages work and how their performance is different. ","version":"Next","tagName":"h2"},{"title":"Persistent vs Semi-Persistent storages","type":1,"pageTitle":"📈 Discover RxDB Storage Benchmarks","url":"/rx-storage-performance.html#persistent-vs-semi-persistent-storages","content":" The "normal" storages are always persistent. This means each RxDB write is directly written to disc and all queries run on the disc state. This means a good startup performance because nothing has to be done on startup. In contrast, semi-persistent storages like memory mapped store all data in memory on startup and only save to disc occasionally (or on exit). Therefore it has a very fast read/write performance, but loading all data into memory on the first page load can take longer for big amounts of documents. Also these storages can only be used when all data fits into the memory at least once. In general it is recommended to stay on the persistent storages and only use semi-persistent ones, when you know for sure that the dataset will stay small (less than 2k documents). ","version":"Next","tagName":"h2"},{"title":"Performance comparison","type":1,"pageTitle":"📈 Discover RxDB Storage Benchmarks","url":"/rx-storage-performance.html#performance-comparison","content":" In the following you can find some performance measurements and comparisons. Notice that these are only a small set of possible RxDB operations. If performance is really relevant for your use case, you should do your own measurements with usage-patterns that are equal to how you use RxDB in production. ","version":"Next","tagName":"h2"},{"title":"Measurements","type":1,"pageTitle":"📈 Discover RxDB Storage Benchmarks","url":"/rx-storage-performance.html#measurements","content":" Here the following metrics are measured: time-to-first-insert: Many storages run lazy, so it makes no sense to compare the time which is required to create a database with collections. Instead we measure the time-to-first-insert which is the whole timespan from database creation until the first single document write is done.insert documents (bulk): Insert 500 documents with a single bulk-insert operation.find documents by id (bulk): Here we fetch 100% of the stored documents with a single findByIds() call.insert documents (serial): Insert 50 documents, one after each other.find documents by id (serial): Here we find 50 documents in serial with one findByIds() call per document.find documents by query: Here we fetch 100% of the stored documents with a single find() call.find documents by query: Here we fetch all of the stored documents with a 4 find() calls that run in parallel. Each fetching 25% of the documents.count documents: Counts 100% of the stored documents with a single count() call. Here we measure 4 runs at once to have a higher number that is easier to compare. ","version":"Next","tagName":"h3"},{"title":"Browser based Storages Performance Comparison","type":1,"pageTitle":"📈 Discover RxDB Storage Benchmarks","url":"/rx-storage-performance.html#browser-based-storages-performance-comparison","content":" The performance patterns of the browser based storages are very diverse. The IndexedDB storage is recommended for mostly all use cases so you should start with that one. Later you can do performance testings and switch to another storage like OPFS or memory-mapped. ","version":"Next","tagName":"h2"},{"title":"Node/Native based Storages Performance Comparison","type":1,"pageTitle":"📈 Discover RxDB Storage Benchmarks","url":"/rx-storage-performance.html#nodenative-based-storages-performance-comparison","content":" For most client-side native applications (react-native, electron, capacitor), using the SQLite RxStorage is recommended. For non-client side applications like a server, use the MongoDB storage instead. ","version":"Next","tagName":"h2"},{"title":"RxStorage PouchDB","type":0,"sectionRef":"#","url":"/rx-storage-pouchdb.html","content":"","keywords":"","version":"Next"},{"title":"Why is the PouchDB RxStorage deprecated?","type":1,"pageTitle":"RxStorage PouchDB","url":"/rx-storage-pouchdb.html#why-is-the-pouchdb-rxstorage-deprecated","content":" When I started developing RxDB in 2016, I had a specific use case to solve. Because there was no client-side database out there that fitted, I created RxDB as a wrapper around PouchDB. This worked great and all the PouchDB features like the query engine, the adapter system, CouchDB-replication and so on, came for free. But over the years, it became clear that PouchDB is not suitable for many applications, mostly because of its performance: To be compliant to CouchDB, PouchDB has to store all revision trees of documents which slows down queries. Also purging these document revisions is not possibleso the database storage size will only increase over time. Another problem was that many issues in PouchDB have never been fixed, but only closed by the issue-bot like this one. The whole PouchDB RxStorage code was full of workarounds and monkey patches to resolve these issues for RxDB users. Many these patches decreased performance even further. Sometimes it was not possible to fix things from the outside, for example queries with $gt operators return the wrong documents which is a no-go for a production database and hard to debug. In version 10.0.0 RxDB introduced the RxStorage layer which allows users to swap out the underlying storage engine where RxDB stores and queries documents from. This allowed to use alternatives from PouchDB, for example the IndexedDB RxStorage in browsers or even the FoundationDB RxStorage on the server side. There where not many use cases left where it was a good choice to use the PouchDB RxStorage. Only replicating with a CouchDB server, was only possible with PouchDB. But this has also changed. RxDB has a plugin that allows to replicate clients with any CouchDB server by using the RxDB Sync Engine. This plugins work with any RxStorage so that it is not necessary to use the PouchDB storage. Removing PouchDB allows RxDB to add many awaited features like filtered change streams for easier replication and permission handling. It will also free up development time. If you are currently using the PouchDB RxStorage, you have these options: Migrate to another RxStorage (recommended)Never update RxDB to the next major version (stay on older 14.0.0)Fork the PouchDB RxStorage and maintain the plugin by yourself.Fix all the PouchDB problems so that we can add PouchDB to the RxDB Core again. ","version":"Next","tagName":"h2"},{"title":"Pros","type":1,"pageTitle":"RxStorage PouchDB","url":"/rx-storage-pouchdb.html#pros","content":" Most battle proven RxStorageSupports replication with a CouchDB endpointSupport storing attachmentsBig ecosystem of adapters ","version":"Next","tagName":"h2"},{"title":"Cons","type":1,"pageTitle":"RxStorage PouchDB","url":"/rx-storage-pouchdb.html#cons","content":" Big bundle sizeSlow performance because of revision handling overhead ","version":"Next","tagName":"h2"},{"title":"Usage","type":1,"pageTitle":"RxStorage PouchDB","url":"/rx-storage-pouchdb.html#usage","content":" import { createRxDatabase } from 'rxdb'; import { getRxStoragePouch, addPouchPlugin } from 'rxdb/plugins/pouchdb'; addPouchPlugin(require('pouchdb-adapter-idb')); const db = await createRxDatabase({ name: 'exampledb', storage: getRxStoragePouch( 'idb', { /** * other pouchdb specific options * @link https://pouchdb.com/api.html#create_database */ } ) }); ","version":"Next","tagName":"h2"},{"title":"Polyfill the global variable","type":1,"pageTitle":"RxStorage PouchDB","url":"/rx-storage-pouchdb.html#polyfill-the-global-variable","content":" When you use RxDB with angular or other webpack based frameworks, you might get the error: <span style="color: red;">Uncaught ReferenceError: global is not defined</span> This is because pouchdb assumes a nodejs-specific global variable that is not added to browser runtimes by some bundlers. You have to add them by your own, like we do here. (window as any).global = window; (window as any).process = { env: { DEBUG: undefined }, }; ","version":"Next","tagName":"h2"},{"title":"Adapters","type":1,"pageTitle":"RxStorage PouchDB","url":"/rx-storage-pouchdb.html#adapters","content":" PouchDB has many adapters for all JavaScript runtimes. ","version":"Next","tagName":"h2"},{"title":"Using the internal PouchDB Database","type":1,"pageTitle":"RxStorage PouchDB","url":"/rx-storage-pouchdb.html#using-the-internal-pouchdb-database","content":" For custom operations, you can access the internal PouchDB database. This is dangerous because you might do changes that are not compatible with RxDB. Only use this when there is no way to achieve your goals via the RxDB API. import { getPouchDBOfRxCollection } from 'rxdb/plugins/pouchdb'; const pouch = getPouchDBOfRxCollection(myRxCollection); ","version":"Next","tagName":"h2"},{"title":"Origin Private File System (OPFS) Database with the RxDB OPFS-RxStorage","type":0,"sectionRef":"#","url":"/rx-storage-opfs.html","content":"","keywords":"","version":"Next"},{"title":"What is OPFS","type":1,"pageTitle":"Origin Private File System (OPFS) Database with the RxDB OPFS-RxStorage","url":"/rx-storage-opfs.html#what-is-opfs","content":" The Origin Private File System (OPFS) is a native browser storage API that allows web applications to manage files in a private, sandboxed, origin-specific virtual filesystem. Unlike IndexedDB and LocalStorage, which are optimized as object/key-value storage, OPFS provides more granular control for file operations, enabling byte-by-byte access, file streaming, and even low-level manipulations. OPFS is ideal for applications requiring high-performance file operations (3x-4x faster compared to IndexedDB) inside of a client-side application, offering advantages like improved speed, more efficient use of resources, and enhanced security and privacy features. ","version":"Next","tagName":"h2"},{"title":"OPFS limitations","type":1,"pageTitle":"Origin Private File System (OPFS) Database with the RxDB OPFS-RxStorage","url":"/rx-storage-opfs.html#opfs-limitations","content":" From the beginning of 2023, the Origin Private File System API is supported by all modern browsers like Safari, Chrome, Edge and Firefox. Only Internet Explorer is not supported and likely will never get support. It is important to know that the most performant synchronous methods like read() and write() of the OPFS API are only available inside of a WebWorker. They cannot be used in the main thread, an iFrame or even a SharedWorker. The OPFS createSyncAccessHandle() method that gives you access to the synchronous methods is not exposed in the main thread, only in a Worker. While there is no concrete data size limit defined by the API, browsers will refuse to store more data at some point. If no more data can be written, a QuotaExceededError is thrown which should be handled by the application, like showing an error message to the user. ","version":"Next","tagName":"h3"},{"title":"How the OPFS API works","type":1,"pageTitle":"Origin Private File System (OPFS) Database with the RxDB OPFS-RxStorage","url":"/rx-storage-opfs.html#how-the-opfs-api-works","content":" The OPFS API is pretty straightforward to use. First you get the root filesystem. Then you can create files and directories on that. Notice that whenever you synchronously write to, or read from a file, an ArrayBuffer must be used that contains the data. It is not possible to synchronously write plain strings or objects into the file. Therefore the TextEncoder and TextDecoder API must be used. Also notice that some of the methods of FileSystemSyncAccessHandlehave been asynchronous in the past, but are synchronous since Chromium 108. To make it less confusing, we just use await in front of them, so it will work in both cases. // Access the root directory of the origin's private file system. const root = await navigator.storage.getDirectory(); // Create a subdirectory. const diaryDirectory = await root.getDirectoryHandle('subfolder', { create: true, }); // Create a new file named 'example.txt'. const fileHandle = await diaryDirectory.getFileHandle('example.txt', { create: true, }); // Create a FileSystemSyncAccessHandle on the file. const accessHandle = await fileHandle.createSyncAccessHandle(); // Write a sentence to the file. let writeBuffer = new TextEncoder().encode('Hello from RxDB'); const writeSize = accessHandle.write(writeBuffer); // Read file and transform data to string. const readBuffer = new Uint8Array(writeSize); const readSize = accessHandle.read(readBuffer, { at: 0 }); const contentAsString = new TextDecoder().decode(readBuffer); // Write an exclamation mark to the end of the file. writeBuffer = new TextEncoder().encode('!'); accessHandle.write(writeBuffer, { at: readSize }); // Truncate file to 10 bytes. await accessHandle.truncate(10); // Get the new size of the file. const fileSize = await accessHandle.getSize(); // Persist changes to disk. await accessHandle.flush(); // Always close FileSystemSyncAccessHandle if done, so others can open the file again. await accessHandle.close(); A more detailed description of the OPFS API can be found on MDN. ","version":"Next","tagName":"h2"},{"title":"OPFS performance","type":1,"pageTitle":"Origin Private File System (OPFS) Database with the RxDB OPFS-RxStorage","url":"/rx-storage-opfs.html#opfs-performance","content":" Because the Origin Private File System API provides low-level access to binary files, it is much faster compared to IndexedDB or localStorage. According to the storage performance test, OPFS is up to 2x times faster on plain inserts when a new file is created on each write. Reads are even faster. A good comparison about real world scenarios, are the performance results of the various RxDB storages. Here it shows that reads are up to 4x faster compared to IndexedDB, even with complex queries: ","version":"Next","tagName":"h2"},{"title":"Using OPFS as RxStorage in RxDB","type":1,"pageTitle":"Origin Private File System (OPFS) Database with the RxDB OPFS-RxStorage","url":"/rx-storage-opfs.html#using-opfs-as-rxstorage-in-rxdb","content":" The OPFS RxStorage itself must run inside a WebWorker. Therefore we use the Worker RxStorage and let it point to the prebuild opfs.worker.js file that comes shipped with RxDB Premium 👑. Notice that the OPFS RxStorage is part of the RxDB Premium 👑 plugin that must be purchased. import { createRxDatabase } from 'rxdb'; import { getRxStorageWorker } from 'rxdb-premium/plugins/storage-worker'; const database = await createRxDatabase({ name: 'mydatabase', storage: getRxStorageWorker( { /** * This file must be statically served from a webserver. * You might want to first copy it somewhere outside of * your node_modules folder. */ workerInput: 'node_modules/rxdb-premium/dist/workers/opfs.worker.js' } ) }); ","version":"Next","tagName":"h2"},{"title":"Using OPFS in the main thread instead of a worker","type":1,"pageTitle":"Origin Private File System (OPFS) Database with the RxDB OPFS-RxStorage","url":"/rx-storage-opfs.html#using-opfs-in-the-main-thread-instead-of-a-worker","content":" The createSyncAccessHandle method from the Filesystem API is only available inside of a Webworker. Therefore you cannot use getRxStorageOPFS() in the main thread. But there is a slightly slower way to access the virtual filesystem from the main thread. RxDB support the getRxStorageOPFSMainThread() for that. Notice that this uses the createWritable function which is not supported in safari. Using OPFS from the main thread can have benefits because not having to cross the worker bridge can reduce latence in reads and writes. import { createRxDatabase } from 'rxdb'; import { getRxStorageOPFSMainThread } from 'rxdb-premium/plugins/storage-opfs'; const database = await createRxDatabase({ name: 'mydatabase', storage: getRxStorageOPFSMainThread() }); ","version":"Next","tagName":"h2"},{"title":"Building a custom worker.js","type":1,"pageTitle":"Origin Private File System (OPFS) Database with the RxDB OPFS-RxStorage","url":"/rx-storage-opfs.html#building-a-custom-workerjs","content":" When you want to run additional plugins like storage wrappers or replication inside of the worker, you have to build your own worker.js file. You can do that similar to other workers by calling exposeWorkerRxStorage like described in the worker storage plugin. // inside of the worker.js file import { getRxStorageOPFS } from 'rxdb-premium/plugins/storage-opfs'; import { exposeWorkerRxStorage } from 'rxdb-premium/plugins/storage-worker'; const storage = getRxStorageOPFS(); exposeWorkerRxStorage({ storage }); ","version":"Next","tagName":"h2"},{"title":"Setting usesRxDatabaseInWorker when a RxDatabase is also used inside of the worker","type":1,"pageTitle":"Origin Private File System (OPFS) Database with the RxDB OPFS-RxStorage","url":"/rx-storage-opfs.html#setting-usesrxdatabaseinworker-when-a-rxdatabase-is-also-used-inside-of-the-worker","content":" When you use the OPFS inside of a worker, it will internally use strings to represent operation results. This has the benefit that transferring strings from the worker to the main thread, is way faster compared to complex json objects. The getRxStorageWorker() will automatically decode these strings on the main thread so that the data can be used by the RxDatabase. But using a RxDatabase inside of your worker can make sense for example when you want to move the replication with a server. To enable this, you have to set usesRxDatabaseInWorker to true: // inside of the worker.js file import { getRxStorageOPFS } from 'rxdb-premium/plugins/storage-opfs'; const storage = getRxStorageOPFS({ usesRxDatabaseInWorker: true }); If you forget to set this and still create and use a RxDatabase inside of the worker, you might get the error messageorUncaught (in promise) TypeError: Cannot read properties of undefined (reading 'length')`. ","version":"Next","tagName":"h2"},{"title":"OPFS in Electron, React-Native or Capacitor.js","type":1,"pageTitle":"Origin Private File System (OPFS) Database with the RxDB OPFS-RxStorage","url":"/rx-storage-opfs.html#opfs-in-electron-react-native-or-capacitorjs","content":" Origin Private File System is a browser API that is only accessible in browsers. Other JavaScript like React-Native or Node.js, do not support it. Electron has two JavaScript contexts: the browser (chromium) context and the Node.js context. While you could use the OPFS API in the browser context, it is not recommended. Instead you should use the Filesystem API of Node.js and then only transfer the relevant data with the ipcRenderer. With RxDB that is pretty easy to configure: In the main.js, expose the Node Filesystem storage with the exposeIpcMainRxStorage() that comes with the electron pluginIn the browser context, access the main storage with the getRxStorageIpcRenderer() method. React Native (and Expo) does not have an OPFS API. You could use the ReactNative Filesystem to directly write data. But to get a fully featured database like RxDB it is easier to use the SQLite RxStorage which starts an SQLite database inside of the ReactNative app and uses that to do the database operations. Capacitor.js is able to access the OPFS API. ","version":"Next","tagName":"h2"},{"title":"Difference between File System Access API and Origin Private File System (OPFS)","type":1,"pageTitle":"Origin Private File System (OPFS) Database with the RxDB OPFS-RxStorage","url":"/rx-storage-opfs.html#difference-between-file-system-access-api-and-origin-private-file-system-opfs","content":" Often developers are confused with the differences between the File System Access API and the Origin Private File System (OPFS). The File System Access API provides access to the files on the device file system, like the ones shown in the file explorer of the operating system. To use the File System API, the user has to actively select the files from a filepicker.Origin Private File System (OPFS) is a sub-part of the File System Standard and it only describes the things you can do with the filesystem root from navigator.storage.getDirectory(). OPFS writes to a sandboxed filesystem, not visible to the user. Therefore the user does not have to actively select or allow the data access. ","version":"Next","tagName":"h2"},{"title":"Learn more about OPFS:","type":1,"pageTitle":"Origin Private File System (OPFS) Database with the RxDB OPFS-RxStorage","url":"/rx-storage-opfs.html#learn-more-about-opfs","content":" WebKit: The File System API with Origin Private File SystemBrowser SupportPerformance Test Tool ","version":"Next","tagName":"h2"},{"title":"Remote RxStorage","type":0,"sectionRef":"#","url":"/rx-storage-remote.html","content":"","keywords":"","version":"Next"},{"title":"Usage","type":1,"pageTitle":"Remote RxStorage","url":"/rx-storage-remote.html#usage","content":" The remote storage communicates over a message channel which has to implement the messageChannelCreator function which returns an object that has a messages$ observable and a send() function on both sides and a close() function that closes the RemoteMessageChannel. // on the client import { getRxStorageRemote } from 'rxdb/plugins/storage-remote'; const storage = getRxStorageRemote({ identifier: 'my-id', mode: 'storage', messageChannelCreator: () => Promise.resolve({ messages$: new Subject(), send(msg) { // send to remote storage } }) }); const myDb = await createRxDatabase({ storage }); // on the remote import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage'; import { exposeRxStorageRemote } from 'rxdb/plugins/storage-remote'; exposeRxStorageRemote({ storage: getRxStorageLocalstorage(), messages$: new Subject(), send(msg){ // send to other side } }); ","version":"Next","tagName":"h2"},{"title":"Usage with a Websocket server","type":1,"pageTitle":"Remote RxStorage","url":"/rx-storage-remote.html#usage-with-a-websocket-server","content":" The remote storage plugin contains helper functions to create a remote storage over a WebSocket server. This is often used in Node.js to give one microservice access to another services database without having to replicate the full database state. // server.js import { getRxStorageMemory } from 'rxdb/plugins/storage-memory'; import { startRxStorageRemoteWebsocketServer } from 'rxdb/plugins/storage-remote-websocket'; // either you can create the server based on a RxDatabase const serverBasedOnDatabase = await startRxStorageRemoteWebsocketServer({ port: 8080, database: myRxDatabase }); // or you can create the server based on a pure RxStorage const serverBasedOn = await startRxStorageRemoteWebsocketServer({ port: 8080, storage: getRxStorageMemory() }); // client.js import { getRxStorageRemoteWebsocket } from 'rxdb/plugins/storage-remote-websocket'; const myDb = await createRxDatabase({ storage: getRxStorageRemoteWebsocket({ url: 'ws://example.com:8080' }) }); ","version":"Next","tagName":"h2"},{"title":"Sending custom messages","type":1,"pageTitle":"Remote RxStorage","url":"/rx-storage-remote.html#sending-custom-messages","content":" The remote storage can also be used to send custom messages to and from the remote instance. One the remote you have to define a customRequestHandler like: const serverBasedOnDatabase = await startRxStorageRemoteWebsocketServer({ port: 8080, database: myRxDatabase, async customRequestHandler(msg){ // here you can return any JSON object as an 'answer' return { foo: 'bar' }; } }); On the client instance you can then call the customRequest() method: const storage = getRxStorageRemoteWebsocket({ url: 'ws://example.com:8080' }); const answer = await storage.customRequest({ bar: 'foo' }); console.dir(answer); // > { foo: 'bar' } ","version":"Next","tagName":"h2"},{"title":"Sharding RxStorage","type":0,"sectionRef":"#","url":"/rx-storage-sharding.html","content":"","keywords":"","version":"Next"},{"title":"Using the sharding plugin","type":1,"pageTitle":"Sharding RxStorage","url":"/rx-storage-sharding.html#using-the-sharding-plugin","content":" import { getRxStorageSharding } from 'rxdb-premium/plugins/storage-sharding'; import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage'; /** * First wrap the original RxStorage with the sharding RxStorage. */ const shardedRxStorage = getRxStorageSharding({ /** * Here we use the localStorage RxStorage, * it is also possible to use any other RxStorage instead. */ storage: getRxStorageLocalstorage() }); /** * Add the sharding options to your schema. * Changing these options will require a data migration. */ const mySchema = { /* ... */ sharding: { /** * Amount of shards per RxStorage instance. * Depending on your data size and query patterns, the optimal shard amount may differ. * Do a performance test to optimize that value. * 10 Shards is a good value to start with. * * IMPORTANT: Changing the value of shards is not possible on a already existing database state, * you will loose access to your data. */ shards: 10, /** * Sharding mode, * you can either shard by collection or by database. * For most cases you should use 'collection' which will shard on the collection level. * For example with the IndexedDB RxStorage, it will then create multiple stores per IndexedDB database * and not multiple IndexedDB databases, which would be slower. */ mode: 'collection' } /* ... */ } /** * Create the RxDatabase with the wrapped RxStorage. */ const database = await createRxDatabase({ name: 'mydatabase', storage: shardedRxStorage }); ","version":"Next","tagName":"h2"},{"title":"SharedWorker RxStorage","type":0,"sectionRef":"#","url":"/rx-storage-shared-worker.html","content":"","keywords":"","version":"Next"},{"title":"Usage","type":1,"pageTitle":"SharedWorker RxStorage","url":"/rx-storage-shared-worker.html#usage","content":" ","version":"Next","tagName":"h2"},{"title":"On the SharedWorker process","type":1,"pageTitle":"SharedWorker RxStorage","url":"/rx-storage-shared-worker.html#on-the-sharedworker-process","content":" In the worker process JavaScript file, you have wrap the original RxStorage with getRxStorageIndexedDB(). // shared-worker.ts import { exposeWorkerRxStorage } from 'rxdb-premium/plugins/storage-worker'; import { getRxStorageIndexedDB } from 'rxdb-premium/plugins/indexeddb'; exposeWorkerRxStorage({ /** * You can wrap any implementation of the RxStorage interface * into a worker. * Here we use the IndexedDB RxStorage. */ storage: getRxStorageIndexedDB() }); ","version":"Next","tagName":"h3"},{"title":"On the main process","type":1,"pageTitle":"SharedWorker RxStorage","url":"/rx-storage-shared-worker.html#on-the-main-process","content":" import { createRxDatabase } from 'rxdb'; import { getRxStorageSharedWorker } from 'rxdb-premium/plugins/storage-worker'; import { getRxStorageIndexedDB } from 'rxdb/plugins/storage-indexeddb'; const database = await createRxDatabase({ name: 'mydatabase', storage: getRxStorageSharedWorker( { /** * Contains any value that can be used as parameter * to the SharedWorker constructor of thread.js * Most likely you want to put the path to the shared-worker.js file in here. * * @link https://developer.mozilla.org/en-US/docs/Web/API/SharedWorker?retiredLocale=de */ workerInput: 'path/to/shared-worker.js', /** * (Optional) options * for the worker. */ workerOptions: { type: 'module', credentials: 'omit' } } ) }); ","version":"Next","tagName":"h3"},{"title":"Pre-build workers","type":1,"pageTitle":"SharedWorker RxStorage","url":"/rx-storage-shared-worker.html#pre-build-workers","content":" The shared-worker.js must be a self containing JavaScript file that contains all dependencies in a bundle. To make it easier for you, RxDB ships with pre-bundles worker files that are ready to use. You can find them in the folder node_modules/rxdb-premium/dist/workers after you have installed the RxDB Premium 👑 Plugin. From there you can copy them to a location where it can be served from the webserver and then use their path to create the RxDatabase Any valid worker.js JavaScript file can be used both, for normal Workers and SharedWorkers. import { createRxDatabase } from 'rxdb'; import { getRxStorageSharedWorker } from 'rxdb-premium/plugins/storage-worker'; const database = await createRxDatabase({ name: 'mydatabase', storage: getRxStorageSharedWorker( { /** * Path to where the copied file from node_modules/rxdb-premium/dist/workers * is reachable from the webserver. */ workerInput: '/indexeddb.shared-worker.js' } ) }); ","version":"Next","tagName":"h2"},{"title":"Building a custom worker","type":1,"pageTitle":"SharedWorker RxStorage","url":"/rx-storage-shared-worker.html#building-a-custom-worker","content":" To build a custom worker.js file, check out the webpack config at the worker documentation. Any worker file form the worker storage can also be used in a shared worker because exposeWorkerRxStorage detects where it runs and exposes the correct messaging endpoints. ","version":"Next","tagName":"h2"},{"title":"Passing in a SharedWorker instance","type":1,"pageTitle":"SharedWorker RxStorage","url":"/rx-storage-shared-worker.html#passing-in-a-sharedworker-instance","content":" Instead of setting an url as workerInput, you can also specify a function that returns a new SharedWorker instance when called. This is mostly used when you have a custom worker file and dynamically import it. This works equal to the workerInput of the Worker Storage ","version":"Next","tagName":"h2"},{"title":"Set multiInstance: false","type":1,"pageTitle":"SharedWorker RxStorage","url":"/rx-storage-shared-worker.html#set-multiinstance-false","content":" When you know that you only ever create your RxDatabase inside of the shared worker, you might want to set multiInstance: false to prevent sending change events across JavaScript realms and to improve performance. Do not set this when you also create the same storage on another realm, like when you have the same RxDatabase once inside the shared worker and once on the main thread. ","version":"Next","tagName":"h2"},{"title":"Replication with SharedWorker","type":1,"pageTitle":"SharedWorker RxStorage","url":"/rx-storage-shared-worker.html#replication-with-sharedworker","content":" When a SharedWorker RxStorage is used, it is recommended to run the replication inside of the worker. This is the best option for performance. You can do that by opening another RxDatabase inside of it and starting the replication there. If you are not concerned about performance, you can still start replication on the main thread instead. But you should never run replication on both the main thread and the worker. // shared-worker.ts import { exposeWorkerRxStorage } from 'rxdb-premium/plugins/storage-worker'; import { getRxStorageIndexedDB } from 'rxdb-premium/plugins/storage-indexeddb'; import { createRxDatabase, addRxPlugin } from 'rxdb'; import { RxDBReplicationGraphQLPlugin } from 'rxdb/plugins/replication-graphql'; addRxPlugin(RxDBReplicationGraphQLPlugin); const baseStorage = getRxStorageIndexedDB(); // first expose the RxStorage to the outside exposeWorkerRxStorage({ storage: baseStorage }); /** * Then create a normal RxDatabase and RxCollections * and start the replication. */ const database = await createRxDatabase({ name: 'mydatabase', storage: baseStorage }); await db.addCollections({ humans: {/* ... */} }); const replicationState = db.humans.syncGraphQL({/* ... */}); ","version":"Next","tagName":"h2"},{"title":"Limitations","type":1,"pageTitle":"SharedWorker RxStorage","url":"/rx-storage-shared-worker.html#limitations","content":" The SharedWorker API is not available in some mobile browser ","version":"Next","tagName":"h3"},{"title":"FAQ","type":1,"pageTitle":"SharedWorker RxStorage","url":"/rx-storage-shared-worker.html#faq","content":" Can I use this plugin with a Service Worker? No. A Service Worker is not the same as a Shared Worker. While you can use RxDB inside of a ServiceWorker, you cannot use the ServiceWorker as a RxStorage that gets accessed by an outside RxDatabase instance. ","version":"Next","tagName":"h3"},{"title":"RxStorage","type":0,"sectionRef":"#","url":"/rx-storage.html","content":"","keywords":"","version":"Next"},{"title":"Quick Recommendations","type":1,"pageTitle":"RxStorage","url":"/rx-storage.html#quick-recommendations","content":" In the Browser: Use the LocalStorage storage for simple setup and small build size. For bigger datasets, use either the dexie.js storage (free) or the IndexedDB RxStorage if you have 👑 premium access which is a bit faster and has a smaller build size.In Electron and ReactNative: Use the SQLite RxStorage if you have 👑 premium access or the trial-SQLite RxStorage for tryouts.In Capacitor: Use the SQLite RxStorage if you have 👑 premium access, otherwise use the localStorage storage. ","version":"Next","tagName":"h2"},{"title":"Configuration Examples","type":1,"pageTitle":"RxStorage","url":"/rx-storage.html#configuration-examples","content":" The RxStorage layer of RxDB is very flexible. Here are some examples on how to configure more complex settings: ","version":"Next","tagName":"h2"},{"title":"Storing much data in a browser securely","type":1,"pageTitle":"RxStorage","url":"/rx-storage.html#storing-much-data-in-a-browser-securely","content":" Lets say you build a browser app that needs to store a big amount of data as secure as possible. Here we can use a combination of the storages (encryption, IndexedDB, compression, schema-checks) that increase security and reduce the stored data size. We use the schema-validation on the top level to ensure schema-errors are clearly readable and do not contain encrypted/compressed data. The encryption is used inside of the compression because encryption of compressed data is more efficient. import { wrappedValidateAjvStorage } from 'rxdb/plugins/validate-ajv'; import { wrappedKeyCompressionStorage } from 'rxdb/plugins/key-compression'; import { wrappedKeyEncryptionCryptoJsStorage } from 'rxdb/plugins/encryption-crypto-js'; import { getRxStorageIndexedDB } from 'rxdb-premium/plugins/storage-indexeddb'; const myDatabase = await createRxDatabase({ storage: wrappedValidateAjvStorage({ storage: wrappedKeyCompressionStorage({ storage: wrappedKeyEncryptionCryptoJsStorage({ storage: getRxStorageIndexedDB() }) }) }) }); ","version":"Next","tagName":"h3"},{"title":"High query Load","type":1,"pageTitle":"RxStorage","url":"/rx-storage.html#high-query-load","content":" Also we can utilize a combination of storages to create a database that is optimized to run complex queries on the data really fast. Here we use the sharding storage together with the worker storage. This allows to run queries in parallel multithreading instead of a single JavaScript process. Because the worker initialization can slow down the initial page load, we also use the localstorage-meta-optimizer to improve initialization time. import { getRxStorageSharding } from 'rxdb-premium/plugins/storage-sharding'; import { getRxStorageWorker } from 'rxdb-premium/plugins/storage-worker'; import { getRxStorageIndexedDB } from 'rxdb-premium/plugins/storage-indexeddb'; import { getLocalstorageMetaOptimizerRxStorage } from 'rxdb-premium/plugins/storage-localstorage-meta-optimizer'; const myDatabase = await createRxDatabase({ storage: getLocalstorageMetaOptimizerRxStorage({ storage: getRxStorageSharding({ storage: getRxStorageWorker({ workerInput: 'path/to/worker.js', storage: getRxStorageIndexedDB() }) }) }) }); ","version":"Next","tagName":"h3"},{"title":"Low Latency on Writes and Simple Reads","type":1,"pageTitle":"RxStorage","url":"/rx-storage.html#low-latency-on-writes-and-simple-reads","content":" Here we create a storage configuration that is optimized to have a low latency on simple reads and writes. It uses the memory-mapped storage to fetch and store data in memory. For persistence the OPFS storage is used in the main thread which has lower latency for fetching big chunks of data when at initialization the data is loaded from disc into memory. We do not use workers because sending data from the main thread to workers and backwards would increase the latency. import { getLocalstorageMetaOptimizerRxStorage } from 'rxdb-premium/plugins/storage-localstorage-meta-optimizer'; import { getMemoryMappedRxStorage } from 'rxdb-premium/plugins/storage-memory-mapped'; import { getRxStorageOPFSMainThread } from 'rxdb-premium/plugins/storage-worker'; const myDatabase = await createRxDatabase({ storage: getLocalstorageMetaOptimizerRxStorage({ storage: getMemoryMappedRxStorage({ storage: getRxStorageOPFSMainThread() }) }) }); ","version":"Next","tagName":"h3"},{"title":"All RxStorage Implementations List","type":1,"pageTitle":"RxStorage","url":"/rx-storage.html#all-rxstorage-implementations-list","content":" ","version":"Next","tagName":"h2"},{"title":"Memory","type":1,"pageTitle":"RxStorage","url":"/rx-storage.html#memory","content":" A storage that stores the data in as plain data in the memory of the JavaScript process. Really fast and can be used in all environments. Read more ","version":"Next","tagName":"h3"},{"title":"LocalStorage","type":1,"pageTitle":"RxStorage","url":"/rx-storage.html#localstorage","content":" The localstroage based storage stores the data inside of a browsers localStorage API. It is the easiest to set up and has a small bundle size. If you are new to RxDB, you should start with the LocalStorage RxStorage. Read more ","version":"Next","tagName":"h3"},{"title":"👑 IndexedDB","type":1,"pageTitle":"RxStorage","url":"/rx-storage.html#-indexeddb","content":" The IndexedDB RxStorage is based on plain IndexedDB. For most use cases, this has the best performance together with the OPFS storage. Read more ","version":"Next","tagName":"h3"},{"title":"👑 OPFS","type":1,"pageTitle":"RxStorage","url":"/rx-storage.html#-opfs","content":" The OPFS RxStorage is based on the File System Access API. This has the best performance of all other non-in-memory storage, when RxDB is used inside of a browser. Read more ","version":"Next","tagName":"h3"},{"title":"👑 Filesystem Node","type":1,"pageTitle":"RxStorage","url":"/rx-storage.html#-filesystem-node","content":" The Filesystem Node storage is best suited when you use RxDB in a Node.js process or with electron.js. Read more ","version":"Next","tagName":"h3"},{"title":"Storage Wrapper Plugins","type":1,"pageTitle":"RxStorage","url":"/rx-storage.html#storage-wrapper-plugins","content":" 👑 Worker The worker RxStorage is a wrapper around any other RxStorage which allows to run the storage in a WebWorker (in browsers) or a Worker Thread (in Node.js). By doing so, you can take CPU load from the main process and move it into the worker's process which can improve the perceived performance of your application. Read more 👑 SharedWorker The worker RxStorage is a wrapper around any other RxStorage which allows to run the storage in a SharedWorker (only in browsers). By doing so, you can take CPU load from the main process and move it into the worker's process which can improve the perceived performance of your application. Read more Remote The Remote RxStorage is made to use a remote storage and communicate with it over an asynchronous message channel. The remote part could be on another JavaScript process or even on a different host machine. Mostly used internally in other storages like Worker or Electron-ipc. Read more 👑 Sharding On some RxStorage implementations (like IndexedDB), a huge performance improvement can be done by sharding the documents into multiple database instances. With the sharding plugin you can wrap any other RxStorage into a sharded storage. Read more 👑 Memory Mapped The memory-mapped RxStorage is a wrapper around any other RxStorage. The wrapper creates an in-memory storage that is used for query and write operations. This memory instance stores its data in an underlying storage for persistence. The main reason to use this is to improve query/write performance while still having the data stored on disc. Read more 👑 Localstorage Meta Optimizer The RxStorage Localstorage Meta Optimizer is a wrapper around any other RxStorage. The wrapper uses the original RxStorage for normal collection documents. But to optimize the initial page load time, it uses localstorage to store the plain key-value metadata that RxDB needs to create databases and collections. This plugin can only be used in browsers. Read more Electron IpcRenderer & IpcMain To use RxDB in electron, it is recommended to run the RxStorage in the main process and the RxDatabase in the renderer processes. With the rxdb electron plugin you can create a remote RxStorage and consume it from the renderer process. Read more ","version":"Next","tagName":"h3"},{"title":"Third Party based Storages","type":1,"pageTitle":"RxStorage","url":"/rx-storage.html#third-party-based-storages","content":" 👑 SQLite The SQLite storage has great performance when RxDB is used on Node.js, Electron, React Native, Cordova or Capacitor. Read more Dexie.js The Dexie.js based storage is based on the Dexie.js IndexedDB wrapper library. Read more MongoDB To use RxDB on the server side, the MongoDB RxStorage provides a way of having a secure, scalable and performant storage based on the popular MongoDB NoSQL database Read more DenoKV To use RxDB in Deno. The DenoKV RxStorage provides a way of having a secure, scalable and performant storage based on the Deno Key Value Store. Read more FoundationDB To use RxDB on the server side, the FoundationDB RxStorage provides a way of having a secure, fault-tolerant and performant storage. Read more ","version":"Next","tagName":"h3"},{"title":"RxDB Tradeoffs","type":0,"sectionRef":"#","url":"/rxdb-tradeoffs.html","content":"","keywords":"","version":"Next"},{"title":"Why not SQL syntax","type":1,"pageTitle":"RxDB Tradeoffs","url":"/rxdb-tradeoffs.html#why-not-sql-syntax","content":" When you ask people which database they would want for browsers, the most answer I hear is something SQL based like SQLite. This makes sense, SQL is a query language that most developers had learned in school/university and it is reusable across various database solutions. But for RxDB (and other client side databases), using SQL is not a good option and instead it operates on document writes and the JSON based Mango-query syntax for querying. // A Mango Query const query = { selector: { age: { $gt: 10 }, lastName: 'foo' }, sort: [{ age: 'asc' }] }; ","version":"Next","tagName":"h2"},{"title":"SQL is made for database servers","type":1,"pageTitle":"RxDB Tradeoffs","url":"/rxdb-tradeoffs.html#sql-is-made-for-database-servers","content":" SQL is made to be used to run operations against a database server. You send a SQL string like SELECT SUM(column_name)... to the database server and the server then runs all operations required to calculate the result and only send back that result. This saves performance on the application side and ensures that the application itself is not blocked. But RxDB is a client-side database that runs inside of the application. There is no performance difference if the SUM() query is run inside of the database or at the application level where a Array.reduce() call calculates the result. ","version":"Next","tagName":"h3"},{"title":"Typescript support","type":1,"pageTitle":"RxDB Tradeoffs","url":"/rxdb-tradeoffs.html#typescript-support","content":" SQL is string based and therefore you need additional IDE tooling to ensure that your written database code is valid. Using the Mango Query syntax instead, TypeScript can be used validate the queries and to autocomplete code and knows which fields do exist and which do not. By doing so, the correctness of queries can be ensured at compile-time instead of run-time. ","version":"Next","tagName":"h3"},{"title":"Composeable queries","type":1,"pageTitle":"RxDB Tradeoffs","url":"/rxdb-tradeoffs.html#composeable-queries","content":" By using JSON based Mango Queries, it is easy to compose queries in plain JavaScript. For example if you have any given query and want to add the condition user MUST BE 'foobar', you can just add the condition to the selector without having to parse and understand a complex SQL string. query.selector.user = 'foobar'; Even merging the selectors of multiple queries is not a problem: queryA.selector = { $and: [ queryA.selector, queryB.selector ] }; ","version":"Next","tagName":"h3"},{"title":"Why Document based (NoSQL)","type":1,"pageTitle":"RxDB Tradeoffs","url":"/rxdb-tradeoffs.html#why-document-based-nosql","content":" Like other NoSQL databases, RxDB operates data on document level. It has no concept of tables, rows and columns. Instead we have collections, documents and fields. ","version":"Next","tagName":"h2"},{"title":"Javascript is made to work with objects","type":1,"pageTitle":"RxDB Tradeoffs","url":"/rxdb-tradeoffs.html#javascript-is-made-to-work-with-objects","content":" ","version":"Next","tagName":"h3"},{"title":"Caching","type":1,"pageTitle":"RxDB Tradeoffs","url":"/rxdb-tradeoffs.html#caching","content":" ","version":"Next","tagName":"h3"},{"title":"EventReduce","type":1,"pageTitle":"RxDB Tradeoffs","url":"/rxdb-tradeoffs.html#eventreduce","content":" ","version":"Next","tagName":"h3"},{"title":"Easier to use with typescript","type":1,"pageTitle":"RxDB Tradeoffs","url":"/rxdb-tradeoffs.html#easier-to-use-with-typescript","content":" Because of the document based approach, TypeScript can know the exact type of the query response while a SQL query could return anything from a number over a set of rows or a complex construct. ","version":"Next","tagName":"h3"},{"title":"Why no transactions","type":1,"pageTitle":"RxDB Tradeoffs","url":"/rxdb-tradeoffs.html#why-no-transactions","content":" Does not work with offline-firstDoes not work with multi-tabEasier conflict handling on document level -- Instead of transactions, rxdb works with revisions ","version":"Next","tagName":"h2"},{"title":"Why no relations","type":1,"pageTitle":"RxDB Tradeoffs","url":"/rxdb-tradeoffs.html#why-no-relations","content":" Does not work with easy replication ","version":"Next","tagName":"h2"},{"title":"Why is a schema required","type":1,"pageTitle":"RxDB Tradeoffs","url":"/rxdb-tradeoffs.html#why-is-a-schema-required","content":" migration of data on clients is hardWhy jsonschema ","version":"Next","tagName":"h2"},{"title":"","type":1,"pageTitle":"RxDB Tradeoffs","url":"/rxdb-tradeoffs.html##","content":"","version":"Next","tagName":"h2"},{"title":"Worker RxStorage","type":0,"sectionRef":"#","url":"/rx-storage-worker.html","content":"","keywords":"","version":"Next"},{"title":"On the worker process","type":1,"pageTitle":"Worker RxStorage","url":"/rx-storage-worker.html#on-the-worker-process","content":" // worker.ts import { exposeWorkerRxStorage } from 'rxdb-premium/plugins/storage-worker'; import { getRxStorageIndexedDB } from 'rxdb-premium/plugins/storage-indexeddb'; exposeWorkerRxStorage({ /** * You can wrap any implementation of the RxStorage interface * into a worker. * Here we use the IndexedDB RxStorage. */ storage: getRxStorageIndexedDB() }); ","version":"Next","tagName":"h2"},{"title":"On the main process","type":1,"pageTitle":"Worker RxStorage","url":"/rx-storage-worker.html#on-the-main-process","content":" import { createRxDatabase } from 'rxdb'; import { getRxStorageWorker } from 'rxdb-premium/plugins/storage-worker'; const database = await createRxDatabase({ name: 'mydatabase', storage: getRxStorageWorker( { /** * Contains any value that can be used as parameter * to the Worker constructor of thread.js * Most likely you want to put the path to the worker.js file in here. * * @link https://developer.mozilla.org/en-US/docs/Web/API/Worker/Worker */ workerInput: 'path/to/worker.js', /** * (Optional) options * for the worker. */ workerOptions: { type: 'module', credentials: 'omit' } } ) }); ","version":"Next","tagName":"h2"},{"title":"Pre-build workers","type":1,"pageTitle":"Worker RxStorage","url":"/rx-storage-worker.html#pre-build-workers","content":" The worker.js must be a self containing JavaScript file that contains all dependencies in a bundle. To make it easier for you, RxDB ships with pre-bundles worker files that are ready to use. You can find them in the folder node_modules/rxdb-premium/dist/workers after you have installed the RxDB Premium 👑 Plugin. From there you can copy them to a location where it can be served from the webserver and then use their path to create the RxDatabase. Any valid worker.js JavaScript file can be used both, for normal Workers and SharedWorkers. import { createRxDatabase } from 'rxdb'; import { getRxStorageWorker } from 'rxdb-premium/plugins/storage-worker'; const database = await createRxDatabase({ name: 'mydatabase', storage: getRxStorageWorker( { /** * Path to where the copied file from node_modules/rxdb/dist/workers * is reachable from the webserver. */ workerInput: '/indexeddb.worker.js' } ) }); ","version":"Next","tagName":"h2"},{"title":"Building a custom worker","type":1,"pageTitle":"Worker RxStorage","url":"/rx-storage-worker.html#building-a-custom-worker","content":" The easiest way to bundle a custom worker.js file is by using webpack. Here is the webpack-config that is also used for the prebuild workers: // webpack.config.js const path = require('path'); const TerserPlugin = require('terser-webpack-plugin'); const projectRootPath = path.resolve( __dirname, '../../' // path from webpack-config to the root folder of the repo ); const babelConfig = require(path.join(projectRootPath, 'babel.config')); const baseDir = './dist/workers/'; // output path module.exports = { target: 'webworker', entry: { 'my-custom-worker': baseDir + 'my-custom-worker.js', }, output: { filename: '[name].js', clean: true, path: path.resolve( projectRootPath, 'dist/workers' ), }, mode: 'production', module: { rules: [ { test: /\\.tsx?$/, exclude: /(node_modules)/, use: { loader: 'babel-loader', options: babelConfig } } ], }, resolve: { extensions: ['.tsx', '.ts', '.js', '.mjs', '.mts'] }, optimization: { moduleIds: 'deterministic', minimize: true, minimizer: [new TerserPlugin({ terserOptions: { format: { comments: false, }, }, extractComments: false, })], } }; ","version":"Next","tagName":"h2"},{"title":"One worker per database","type":1,"pageTitle":"Worker RxStorage","url":"/rx-storage-worker.html#one-worker-per-database","content":" Each call to getRxStorageWorker() will create a different worker instance so that when you have more than one RxDatabase, each database will have its own JavaScript worker process. To reuse the worker instance in more than one RxDatabase, you can store the output of getRxStorageWorker() into a variable an use that one. Reusing the worker can decrease the initial page load, but you might get slower database operations. // Call getRxStorageWorker() exactly once const workerStorage = getRxStorageWorker({ workerInput: 'path/to/worker.js' }); // use the same storage for both databases. const databaseOne = await createRxDatabase({ name: 'database-one', storage: workerStorage }); const databaseTwo = await createRxDatabase({ name: 'database-two', storage: workerStorage }); ","version":"Next","tagName":"h2"},{"title":"Passing in a Worker instance","type":1,"pageTitle":"Worker RxStorage","url":"/rx-storage-worker.html#passing-in-a-worker-instance","content":" Instead of setting an url as workerInput, you can also specify a function that returns a new Worker instance when called. getRxStorageWorker({ workerInput: () => new Worker('path/to/worker.js') }) This can be helpful for environments where the worker is build dynamically by the bundler. For example in angular you would create a my-custom.worker.ts file that contains a custom build worker and then import it. const storage = getRxStorageWorker({ workerInput: () => new Worker(new URL('./my-custom.worker', import.meta.url)), }); //> my-custom.worker.ts import { exposeWorkerRxStorage } from 'rxdb-premium/plugins/storage-worker'; import { getRxStorageIndexedDB } from 'rxdb-premium/plugins/storage-indexeddb'; exposeWorkerRxStorage({ storage: getRxStorageIndexedDB() }); ","version":"Next","tagName":"h2"},{"title":"SQLite RxStorage","type":0,"sectionRef":"#","url":"/rx-storage-sqlite.html","content":"","keywords":"","version":"Next"},{"title":"Performance comparison with other storages","type":1,"pageTitle":"SQLite RxStorage","url":"/rx-storage-sqlite.html#performance-comparison-with-other-storages","content":" The SQLite storage is a bit slower compared to other Node.js based storages like the Filesystem Storage because wrapping SQLite has a bit of overhead and sending data from the JavaScript process to SQLite and backwards increases the latency. However for most hybrid apps the SQLite storage is the best option because it can leverage the SQLite version that comes already installed on the smartphones OS (iOS and android). Also for desktop electron apps it can be a viable solution because it is easy to ship SQLite together inside of the electron bundle. ","version":"Next","tagName":"h2"},{"title":"Using the SQLite RxStorage","type":1,"pageTitle":"SQLite RxStorage","url":"/rx-storage-sqlite.html#using-the-sqlite-rxstorage","content":" There are two versions of the SQLite storage available for RxDB: The trial version which comes directly shipped with RxDB Core. It contains an SQLite storage that allows you to try out RxDB on devices that support SQLite, like React Native or Electron. While the trial version does pass the full RxDB storage test-suite, it is not made for production. It is not using indexes, has no attachment support, is limited to store 300 documents and fetches the whole storage state to run queries in memory. Use it for evaluation and prototypes only! The RxDB Premium 👑 version which contains the full production-ready SQLite storage. It contains a full load of performance optimizations and full query support. To use the SQLite storage you have to import getRxStorageSQLite from the RxDB Premium 👑 package and then add the correct sqliteBasics adapter depending on which sqlite module you want to use. This can then be used as storage when creating the RxDatabase. In the following you can see some examples for some of the most common SQLite packages. Trial Version RxDB Premium 👑 // Import the Trial SQLite Storage import { getRxStorageSQLiteTrial, getSQLiteBasicsNodeNative } from 'rxdb/plugins/storage-sqlite'; // Create a Storage for it, here we use the nodejs-native SQLite module // other SQLite modules can be used with a different sqliteBasics adapter import { DatabaseSync } from 'node:sqlite'; const storage = getRxStorageSQLiteTrial({ sqliteBasics: getSQLiteBasicsNodeNative(DatabaseSync) }); // Create a Database with the Storage const myRxDatabase = await createRxDatabase({ name: 'exampledb', storage: storage }); In the following, all examples are shown with the premium SQLite storage. Still they work the same with the trial version. ","version":"Next","tagName":"h2"},{"title":"SQLiteBasics","type":1,"pageTitle":"SQLite RxStorage","url":"/rx-storage-sqlite.html#sqlitebasics","content":" Different SQLite libraries have different APIs to create and access the SQLite database. Therefore the library must be massaged to work with the RxDB SQlite storage. This is done in a so called SQLiteBasics interface. RxDB directly ships with a wide range of these for various SQLite libraries that are commonly used. Also creating your own one is pretty simple, check the source code of the existing ones for that. For example for the sqlite3 npm library we have the getSQLiteBasicsNode() implementation. For node:sqlite we have the getSQLiteBasicsNodeNative() implementation and so on.. ","version":"Next","tagName":"h2"},{"title":"Using the SQLite RxStorage with different SQLite libraries","type":1,"pageTitle":"SQLite RxStorage","url":"/rx-storage-sqlite.html#using-the-sqlite-rxstorage-with-different-sqlite-libraries","content":" ","version":"Next","tagName":"h2"},{"title":"Usage with the sqlite3 npm package","type":1,"pageTitle":"SQLite RxStorage","url":"/rx-storage-sqlite.html#usage-with-the-sqlite3-npm-package","content":" import { createRxDatabase } from 'rxdb'; import { getRxStorageSQLite, getSQLiteBasicsNode } from 'rxdb-premium/plugins/storage-sqlite'; /** * In Node.js, we use the SQLite database * from the 'sqlite' npm module. * @link https://www.npmjs.com/package/sqlite3 */ import sqlite3 from 'sqlite3'; const myRxDatabase = await createRxDatabase({ name: 'exampledb', storage: getRxStorageSQLite({ /** * Different runtimes have different interfaces to SQLite. * For example in node.js we have a callback API, * while in capacitor sqlite we have Promises. * So we need a helper object that is capable of doing the basic * sqlite operations. */ sqliteBasics: getSQLiteBasicsNode(sqlite3) }) }); ","version":"Next","tagName":"h3"},{"title":"Usage with the node:sqlite package","type":1,"pageTitle":"SQLite RxStorage","url":"/rx-storage-sqlite.html#usage-with-the-node-package","content":" With Node.js version 22 and newer, you can use the "native" sqlite module that comes shipped with Node.js. import { createRxDatabase } from 'rxdb'; import { getRxStorageSQLite, getSQLiteBasicsNodeNative } from 'rxdb-premium/plugins/storage-sqlite'; import { DatabaseSync } from 'node:sqlite'; const myRxDatabase = await createRxDatabase({ name: 'exampledb', storage: getRxStorageSQLite({ sqliteBasics: getSQLiteBasicsNodeNative(DatabaseSync) }) }); ","version":"Next","tagName":"h3"},{"title":"Usage with Webassembly in the Browser","type":1,"pageTitle":"SQLite RxStorage","url":"/rx-storage-sqlite.html#usage-with-webassembly-in-the-browser","content":" In the browser you can use the wa-sqlite package to run sQLite in Webassembly. The wa-sqlite module also allows to use persistence with IndexedDB or OPFS. Notice that in general SQLite via Webassembly is slower compared to other storages like IndexedDB or OPFS because sending data from the main thread to wasm and backwards is slow in the browser. Have a look the performance comparison. import { createRxDatabase } from 'rxdb'; import { getRxStorageSQLite, getSQLiteBasicsWasm } from 'rxdb-premium/plugins/storage-sqlite'; /** * In the Browser, we use the SQLite database * from the 'wa-sqlite' npm module. This contains the SQLite library * compiled to Webassembly * @link https://www.npmjs.com/package/wa-sqlite */ import SQLiteESMFactory from 'wa-sqlite/dist/wa-sqlite-async.mjs'; import SQLite from 'wa-sqlite'; const sqliteModule = await SQLiteESMFactory(); const sqlite3 = SQLite.Factory(module); const myRxDatabase = await createRxDatabase({ name: 'exampledb', storage: getRxStorageSQLite({ sqliteBasics: getSQLiteBasicsWasm(sqlite3) }) }); ","version":"Next","tagName":"h3"},{"title":"Usage with React Native","type":1,"pageTitle":"SQLite RxStorage","url":"/rx-storage-sqlite.html#usage-with-react-native","content":" Install the react-native-quick-sqlite npm moduleImport getSQLiteBasicsQuickSQLite from the SQLite plugin and use it to create a RxDatabase: import { createRxDatabase } from 'rxdb'; import { getRxStorageSQLite, getSQLiteBasicsQuickSQLite } from 'rxdb-premium/plugins/storage-sqlite'; import { open } from 'react-native-quick-sqlite'; // create database const myRxDatabase = await createRxDatabase({ name: 'exampledb', multiInstance: false, // <- Set multiInstance to false when using RxDB in React Native storage: getRxStorageSQLite({ sqliteBasics: getSQLiteBasicsQuickSQLite(open) }) }); If react-native-quick-sqlite does not work for you, as alternative you can use the react-native-sqlite-2 library instead: import { getRxStorageSQLite, getSQLiteBasicsWebSQL } from 'rxdb-premium/plugins/storage-sqlite'; import SQLite from 'react-native-sqlite-2'; const storage = getRxStorageSQLite({ sqliteBasics: getSQLiteBasicsWebSQL(SQLite.openDatabase) }); ","version":"Next","tagName":"h3"},{"title":"Usage with Expo SQLite","type":1,"pageTitle":"SQLite RxStorage","url":"/rx-storage-sqlite.html#usage-with-expo-sqlite","content":" Notice that expo-sqlite cannot be used on android (but it works on iOS) if you use Expo SDK version 50 or older. Please update to Version 50 or newer to use it. In the latest expo SDK version, use the getSQLiteBasicsExpoSQLiteAsync() method: import { createRxDatabase } from 'rxdb'; import { getRxStorageSQLite, getSQLiteBasicsExpoSQLiteAsync } from 'rxdb-premium/plugins/storage-sqlite'; import * as SQLite from 'expo-sqlite'; const myRxDatabase = await createRxDatabase({ name: 'exampledb', multiInstance: false, storage: getRxStorageSQLite({ sqliteBasics: getSQLiteBasicsExpoSQLiteAsync(SQLite.openDatabaseAsync) }) }); In older Expo SDK versions, you might have to use the non-async API: import { createRxDatabase } from 'rxdb'; import { getRxStorageSQLite, getSQLiteBasicsExpoSQLite } from 'rxdb-premium/plugins/storage-sqlite'; import { openDatabase } from 'expo-sqlite'; const myRxDatabase = await createRxDatabase({ name: 'exampledb', multiInstance: false, storage: getRxStorageSQLite({ sqliteBasics: getSQLiteBasicsExpoSQLite(openDatabase) }) }); ","version":"Next","tagName":"h3"},{"title":"Usage with SQLite Capacitor","type":1,"pageTitle":"SQLite RxStorage","url":"/rx-storage-sqlite.html#usage-with-sqlite-capacitor","content":" Install the sqlite capacitor npm moduleAdd the iOS database location to your capacitor config { "plugins": { "CapacitorSQLite": { "iosDatabaseLocation": "Library/CapacitorDatabase" } } } Use the function getSQLiteBasicsCapacitor to get the capacitor sqlite wrapper. import { createRxDatabase } from 'rxdb'; import { getRxStorageSQLite, getSQLiteBasicsCapacitor } from 'rxdb-premium/plugins/storage-sqlite'; /** * Import SQLite from the capacitor plugin. */ import { CapacitorSQLite, SQLiteConnection } from '@capacitor-community/sqlite'; import { Capacitor } from '@capacitor/core'; const sqlite = new SQLiteConnection(CapacitorSQLite); const myRxDatabase = await createRxDatabase({ name: 'exampledb', storage: getRxStorageSQLite({ /** * Different runtimes have different interfaces to SQLite. * For example in node.js we have a callback API, * while in capacitor sqlite we have Promises. * So we need a helper object that is capable of doing the basic * sqlite operations. */ sqliteBasics: getSQLiteBasicsCapacitor(sqlite, Capacitor) }) }); ","version":"Next","tagName":"h3"},{"title":"Usage with Tauri SQLite","type":1,"pageTitle":"SQLite RxStorage","url":"/rx-storage-sqlite.html#usage-with-tauri-sqlite","content":" Add the Tauri SQL plugin to your Tauri project.Make sure to add sqlite as your database engine by running cargo add tauri-plugin-sql --features sqlite inside src-tauri.Use the getSQLiteBasicsTauri function to get the Tauri SQLite wrapper. import { createRxDatabase } from 'rxdb'; import { getRxStorageSQLite, getSQLiteBasicsTauri } from 'rxdb/plugins/storage-sqlite'; import sqlite3 from '@tauri-apps/plugin-sql'; const myRxDatabase = await createRxDatabase({ name: 'exampledb', storage: getRxStorageSQLite({ sqliteBasics: getSQLiteBasicsTauri(sqlite3) }) }); ","version":"Next","tagName":"h3"},{"title":"Database Connection","type":1,"pageTitle":"SQLite RxStorage","url":"/rx-storage-sqlite.html#database-connection","content":" If you need to access the database connection for any reason you can use getDatabaseConnection to do so: import { getDatabaseConnection } from 'rxdb-premium/plugins/storage-sqlite' It has the following signature: getDatabaseConnection( sqliteBasics: SQLiteBasics<any>, databaseName: string ): Promise<SQLiteDatabaseClass>; ","version":"Next","tagName":"h2"},{"title":"Known Problems of SQLite in JavaScript apps","type":1,"pageTitle":"SQLite RxStorage","url":"/rx-storage-sqlite.html#known-problems-of-sqlite-in-javascript-apps","content":" Some JavaScript runtimes do not contain a Buffer API which is used by SQLite to store binary attachments data as BLOB. You can set storeAttachmentsAsBase64String: true if you want to store the attachments data as base64 string instead. This increases the database size but makes it work even without having a Buffer. The SQlite RxStorage works on SQLite libraries that use SQLite in version 3.38.0 (2022-02-22) or newer, because it uses the SQLite JSON methods like JSON_EXTRACT. If you get an error like [Error: no such function: JSON_EXTRACT (code 1 SQLITE_ERROR[1]), you might have a too old version of SQLite. To debug all SQL operations, you can pass a log function to getRxStorageSQLite() like this. This does not work with the trial version: const storage = getRxStorageSQLite({ sqliteBasics: getSQLiteBasicsCapacitor(sqlite, Capacitor), // pass log function log: console.log.bind(console) }); By default, all tables will be created with the WITHOUT ROWID flag. Some tools like drizzle do not support tables with that option. You can disable it by setting withoutRowId: false when calling getRxStorageSQLite(): const storage = getRxStorageSQLite({ sqliteBasics: getSQLiteBasicsCapacitor(sqlite, Capacitor), withoutRowId: false }); ","version":"Next","tagName":"h2"},{"title":"Related","type":1,"pageTitle":"SQLite RxStorage","url":"/rx-storage-sqlite.html#related","content":" React Native Databases ","version":"Next","tagName":"h2"},{"title":"Third Party Plugins","type":0,"sectionRef":"#","url":"/third-party-plugins.html","content":"Third Party Plugins rxdb-hooks A set of hooks to integrate RxDB into react applications.rxdb-flexsearch The full text search for RxDB using FlexSearch.rxdb-orion Enables replication with Laravel Orion.rxdb-supabase Enables replication with Supabase.rxdb-utils Additional features for RxDB like models, timestamps, default values, view and more.loki-async-reference-adapter Simple async adapter for LokiJS, suitable to use RxDB's Lokijs RxStorage with React Native.","keywords":"","version":"Next"},{"title":"Schema validation","type":0,"sectionRef":"#","url":"/schema-validation.html","content":"","keywords":"","version":"Next"},{"title":"validate-ajv","type":1,"pageTitle":"Schema validation","url":"/schema-validation.html#validate-ajv","content":" A validation-module that does the schema-validation. This one is using ajv as validator which is a bit faster. Better compliant to the jsonschema-standard but also has a bigger build-size. import { wrappedValidateAjvStorage } from 'rxdb/plugins/validate-ajv'; import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage'; // wrap the validation around the main RxStorage const storage = wrappedValidateAjvStorage({ storage: getRxStorageLocalstorage() }); const db = await createRxDatabase({ name: randomCouchString(10), storage }); ","version":"Next","tagName":"h3"},{"title":"validate-z-schema","type":1,"pageTitle":"Schema validation","url":"/schema-validation.html#validate-z-schema","content":" Both is-my-json-valid and validate-ajv use eval() to perform validation which might not be wanted when 'unsafe-eval' is not allowed in Content Security Policies. This one is using z-schema as validator which doesn't use eval. import { wrappedValidateZSchemaStorage } from 'rxdb/plugins/validate-z-schema'; import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage'; // wrap the validation around the main RxStorage const storage = wrappedValidateZSchemaStorage({ storage: getRxStorageLocalstorage() }); const db = await createRxDatabase({ name: randomCouchString(10), storage }); ","version":"Next","tagName":"h3"},{"title":"validate-is-my-json-valid","type":1,"pageTitle":"Schema validation","url":"/schema-validation.html#validate-is-my-json-valid","content":" WARNING: The is-my-json-valid validation is no longer supported until this bug is fixed. The validate-is-my-json-valid plugin uses is-my-json-valid for schema validation. import { wrappedValidateIsMyJsonValidStorage } from 'rxdb/plugins/validate-is-my-json-valid'; import { getRxStorageLocalstorage } from 'rxdb/plugins/storage-localstorage'; // wrap the validation around the main RxStorage const storage = wrappedValidateIsMyJsonValidStorage({ storage: getRxStorageLocalstorage() }); const db = await createRxDatabase({ name: randomCouchString(10), storage }); ","version":"Next","tagName":"h3"},{"title":"Custom Formats","type":1,"pageTitle":"Schema validation","url":"/schema-validation.html#custom-formats","content":" The schema validators provide methods to add custom formats like a email format. You have to add these formats before you create your database. ","version":"Next","tagName":"h2"},{"title":"Ajv Custom Format","type":1,"pageTitle":"Schema validation","url":"/schema-validation.html#ajv-custom-format","content":" import { getAjv } from 'rxdb/plugins/validate-ajv'; const ajv = getAjv(); ajv.addFormat('email', { type: 'string', validate: v => v.includes('@') // ensure email fields contain the @ symbol }); ","version":"Next","tagName":"h3"},{"title":"Z-Schema Custom Format","type":1,"pageTitle":"Schema validation","url":"/schema-validation.html#z-schema-custom-format","content":" import { ZSchemaClass } from 'rxdb/plugins/validate-z-schema'; ZSchemaClass.registerFormat('email', function (v: string) { return v.includes('@'); // ensure email fields contain the @ symbol }); ","version":"Next","tagName":"h3"},{"title":"Performance comparison of the validators","type":1,"pageTitle":"Schema validation","url":"/schema-validation.html#performance-comparison-of-the-validators","content":" The RxDB team ran performance benchmarks using two storage options on an Ubuntu 24.04 machine with Chrome version 131.0.6778.85. The testing machine has 32 core 13th Gen Intel(R) Core(TM) i9-13900HX CPU. IndexedDB Storage (based on the IndexedDB API in the browser): IndexedDB Storage\tTime to First insert\tInsert 3000 documentsno validator\t68 ms\t213 ms ajv\t67 ms\t216 ms z-schema\t71 ms\t230 ms Memory Storage: stores everything in memory for extremely fast reads and writes, with no persistence by default. Often used with the RxDB memory-mapped plugin that processes data in memory an later persists to disc in background: Memory Storage\tTime to First insert\tInsert 3000 documentsno validator\t1.15 ms\t0.8 ms ajv\t3.05 ms\t2.7 ms z-schema\t0.9 ms\t18 ms Including a validator library also increases your JavaScript bundle size. Here's how it breaks down (minified + gzip): Build Size (minified+gzip)\tBuild Size (IndexedDB)\tBuild Size (memory)no validator\t73103 B\t39976 B ajv\t106135 B\t72773 B z-schema\t125186 B\t91882 B ","version":"Next","tagName":"h2"},{"title":"Why IndexedDB is slow and what to use instead","type":0,"sectionRef":"#","url":"/slow-indexeddb.html","content":"","keywords":"","version":"Next"},{"title":"Batched Cursor","type":1,"pageTitle":"Why IndexedDB is slow and what to use instead","url":"/slow-indexeddb.html#batched-cursor","content":" With IndexedDB 2.0, new methods were introduced which can be utilized to improve performance. With the getAll() method, a faster alternative to the old openCursor() can be created which improves performance when reading data from the IndexedDB store. Lets say we want to query all user documents that have an age greater than 25 out of the store. To implement a fast batched cursor that only needs calls to getAll() and not to getAllKeys(), we first need to create an age index that contains the primary id as last field. myIndexedDBObjectStore.createIndex( 'age-index', [ 'age', 'id' ] ); This is required because the age field is not unique, and we need a way to checkpoint the last returned batch so we can continue from there in the next call to getAll(). const maxAge = 25; let result = []; const tx: IDBTransaction = db.transaction([storeName], 'readonly', TRANSACTION_SETTINGS); const store = tx.objectStore(storeName); const index = store.index('age-index'); let lastDoc; let done = false; /** * Run the batched cursor until all results are retrieved * or the end of the index is reached. */ while (done === false) { await new Promise((res, rej) => { const range = IDBKeyRange.bound( /** * If we have a previous document as checkpoint, * we have to continue from it's age and id values. */ [ lastDoc ? lastDoc.age : -Infinity, lastDoc ? lastDoc.id : -Infinity, ], [ maxAge + 0.00000001, String.fromCharCode(65535) ], true, false ); const openCursorRequest = index.getAll(range, batchSize); openCursorRequest.onerror = err => rej(err); openCursorRequest.onsuccess = e => { const subResult: TestDocument[] = e.target.result; lastDoc = lastOfArray(subResult); if (subResult.length === 0) { done = true; } else { result = result.concat(subResult); } res(); }; }); } console.dir(result); As the performance test results show, using a batched cursor can give a huge improvement. Interestingly choosing a high batch size is important. When you known that all results of a given IDBKeyRange are needed, you should not set a batch size at all and just directly query all documents via getAll(). RxDB uses batched cursors in the IndexedDB RxStorage. ","version":"Next","tagName":"h2"},{"title":"IndexedDB Sharding","type":1,"pageTitle":"Why IndexedDB is slow and what to use instead","url":"/slow-indexeddb.html#indexeddb-sharding","content":" Sharding is a technique, normally used in server side databases, where the database is partitioned horizontally. Instead of storing all documents at one table/collection, the documents are split into so called shards and each shard is stored on one table/collection. This is done in server side architectures to spread the load between multiple physical servers which increases scalability. When you use IndexedDB in a browser, there is of course no way to split the load between the client and other servers. But you can still benefit from sharding. Partitioning the documents horizontally into multiple IndexedDB stores, has shown to have a big performance improvement in write- and read operations while only increasing initial pageload slightly. As shown in the performance test results, sharding should always be done by IDBObjectStore and not by database. Running a batched cursor over the whole dataset with 10 store shards in parallel is about 28% faster then running it over a single store. Initialization time increases minimal from 9 to 17 milliseconds. Getting a quarter of the dataset by batched iterating over an index, is even 43% faster with sharding then when a single store is queried. As downside, getting 10k documents by their id is slower when it has to run over the shards. Also it can be much effort to recombined the results from the different shards into the required query result. When a query without a limit is done, the sharding method might cause a data load huge overhead. Sharding can be used with RxDB with the Sharding Plugin. ","version":"Next","tagName":"h2"},{"title":"Custom Indexes","type":1,"pageTitle":"Why IndexedDB is slow and what to use instead","url":"/slow-indexeddb.html#custom-indexes","content":" Indexes improve the query performance of IndexedDB significant. Instead of fetching all data from the storage when you search for a subset of it, you can iterate over the index and stop iterating when all relevant data has been found. For example to query for all user documents that have an age greater than 25, you would create an age+id index. To be able to run a batched cursor over the index, we always need our primary key (id) as the last index field. Instead of doing this, you can use a custom index which can improve the performance. The custom index runs over a helper field ageIdCustomIndex which is added to each document on write. Our index now only contains a single string field instead of two (age-number and id-string). // On document insert add the ageIdCustomIndex field. const idMaxLength = 20; // must be known to craft a custom index docData.ageIdCustomIndex = docData.age + docData.id.padStart(idMaxLength, ' '); store.put(docData); // ... // normal index myIndexedDBObjectStore.createIndex( 'age-index', [ 'age', 'id' ] ); // custom index myIndexedDBObjectStore.createIndex( 'age-index-custom', [ 'ageIdCustomIndex' ] ); To iterate over the index, you also use a custom crafted keyrange, depending on the last batched cursor checkpoint. Therefore the maxLength of id must be known. // keyrange for normal index const range = IDBKeyRange.bound( [25, ''], [Infinity, Infinity], true, false ); // keyrange for custom index const range = IDBKeyRange.bound( // combine both values to a single string 25 + ''.padStart(idMaxLength, ' '), Infinity, true, false ); As shown, using a custom index can further improve the performance of running a batched cursor by about 10%. Another big benefit of using custom indexes, is that you can also encode boolean values in them, which cannot be done with normal IndexedDB indexes. RxDB uses custom indexes in the IndexedDB RxStorage. ","version":"Next","tagName":"h2"},{"title":"Relaxed durability","type":1,"pageTitle":"Why IndexedDB is slow and what to use instead","url":"/slow-indexeddb.html#relaxed-durability","content":" Chromium based browsers allow to set durability to relaxed when creating an IndexedDB transaction. Which runs the transaction in a less secure durability mode, which can improve the performance. The user agent may consider that the transaction has successfully committed as soon as all outstanding changes have been written to the operating system, without subsequent verification. As shown here, using the relaxed durability mode can improve performance slightly. The best performance improvement could be measured when many small transactions have to be run. Less, bigger transaction do not benefit that much. ","version":"Next","tagName":"h2"},{"title":"Explicit transaction commits","type":1,"pageTitle":"Why IndexedDB is slow and what to use instead","url":"/slow-indexeddb.html#explicit-transaction-commits","content":" By explicitly committing a transaction, another slight performance improvement can be achieved. Instead of waiting for the browser to commit an open transaction, we call the commit() method to explicitly close it. // .commit() is not available on all browsers, so first check if it exists. if (transaction.commit) { transaction.commit() } The improvement of this technique is minimal, but observable as these tests show. ","version":"Next","tagName":"h2"},{"title":"In-Memory on top of IndexedDB","type":1,"pageTitle":"Why IndexedDB is slow and what to use instead","url":"/slow-indexeddb.html#in-memory-on-top-of-indexeddb","content":" To prevent transaction handling and to fix the performance problems, we need to stop using IndexedDB as a database. Instead all data is loaded into the memory on the initial page load. Here all reads and writes happen in memory which is about 100x faster. Only some time after a write occurred, the memory state is persisted into IndexedDB with a single write transaction. In this scenario IndexedDB is used as a filesystem, not as a database. There are some libraries that already do that: LokiJS with the IndexedDB AdapterAbsurd-SQLSQL.js with the empscripten Filesystem APIDuckDB Wasm ","version":"Next","tagName":"h2"},{"title":"In-Memory: Persistence","type":1,"pageTitle":"Why IndexedDB is slow and what to use instead","url":"/slow-indexeddb.html#in-memory-persistence","content":" One downside of not directly using IndexedDB, is that your data is not persistent all the time. And when the JavaScript process exists without having persisted to IndexedDB, data can be lost. To prevent this from happening, we have to ensure that the in-memory state is written down to the disc. One point is make persisting as fast as possible. LokiJS for example has the incremental-indexeddb-adapter which only saves new writes to the disc instead of persisting the whole state. Another point is to run the persisting at the correct point in time. For example the RxDB LokiJS storage persists in the following situations: When the database is idle and no write or query is running. In that time we can persist the state if any new writes appeared before.When the window fires the beforeunload event we can assume that the JavaScript process is exited any moment and we have to persist the state. After beforeunload there are several seconds time which are sufficient to store all new changes. This has shown to work quite reliable. The only missing event that can happen is when the browser exists unexpectedly like when it crashes or when the power of the computer is shut of. ","version":"Next","tagName":"h3"},{"title":"In-Memory: Multi Tab Support","type":1,"pageTitle":"Why IndexedDB is slow and what to use instead","url":"/slow-indexeddb.html#in-memory-multi-tab-support","content":" One big difference between a web application and a 'normal' app, is that your users can use the app in multiple browser tabs at the same time. But when you have all database state in memory and only periodically write it to disc, multiple browser tabs could overwrite each other and you would loose data. This might not be a problem when you rely on a client-server replication, because the lost data might already be replicated with the backend and therefore with the other tabs. But this would not work when the client is offline. The ideal way to solve that problem, is to use a SharedWorker. A SharedWorker is like a WebWorker that runs its own JavaScript process only that the SharedWorker is shared between multiple contexts. You could create the database in the SharedWorker and then all browser tabs could request the Worker for data instead of having their own database. But unfortunately the SharedWorker API does not work in all browsers. Safari dropped its support and InternetExplorer or Android Chrome, never adopted it. Also it cannot be polyfilled. UPDATE:Apple added SharedWorkers back in Safari 142 Instead, we could use the BroadcastChannel API to communicate between tabs and then apply a leader election between them. The leader election ensures that, no matter how many tabs are open, always one tab is the Leader. The disadvantage is that the leader election process takes some time on the initial page load (about 150 milliseconds). Also the leader election can break when a JavaScript process is fully blocked for a longer time. When this happens, a good way is to just reload the browser tab to restart the election process. ","version":"Next","tagName":"h3"},{"title":"Further read","type":1,"pageTitle":"Why IndexedDB is slow and what to use instead","url":"/slow-indexeddb.html#further-read","content":" Offline First Database ComparisonSpeeding up IndexedDB reads and writesSQLITE ON THE WEB: ABSURD-SQLSQLite in a PWA with FileSystemAccessAPIResponse to this article by Oren Eini ","version":"Next","tagName":"h2"},{"title":"Transactions, Conflicts and Revisions","type":0,"sectionRef":"#","url":"/transactions-conflicts-revisions.html","content":"","keywords":"","version":"Next"},{"title":"Why RxDB does not have transactions","type":1,"pageTitle":"Transactions, Conflicts and Revisions","url":"/transactions-conflicts-revisions.html#why-rxdb-does-not-have-transactions","content":" When talking about transactions, we mean ACID transactions that guarantee the properties of atomicity, consistency, isolation and durability. With an ACID transaction you can mutate data dependent on the current state of the database. It is ensured that no other database operations happen in between your transaction and after the transaction has finished, it is guaranteed that the new data is actually written to the disc. To implement ACID transactions on a single server, the database has to keep track on who is running transactions and then schedule these transactions so that they can run in isolation. As soon as you have to split your database on multiple servers, transaction handling becomes way more difficult. The servers have to communicate with each other to find a consensus about which transaction can run and which has to wait. Network connections might break, or one server might complete its part of the transaction and then be required to roll back its changes because of an error on another server. But with RxDB you have multiple clients that can go randomly online or offline. The users can have different devices and the clock of these devices can go off by any time. To support ACID transactions here, RxDB would have to make the whole world stand still for all clients, while one client is doing a write operation. And even that can only work when all clients are online. Implementing that might be possible, but at the cost of an unpredictable amount of performance loss and not being able to support offline-first. A single write operation to a document is the only atomic thing you can do in RxDB. The benefits of not having to support transactions: Clients can read and write data without blocking each other.Clients can write data while being offline and then replicate with a server when they are online again, called offline-first.Creating a compatible backend for the replication is easy so that RxDB can replicate with any existing infrastructure.Optimizations like Sharding can be used. ","version":"Next","tagName":"h2"},{"title":"Revisions","type":1,"pageTitle":"Transactions, Conflicts and Revisions","url":"/transactions-conflicts-revisions.html#revisions","content":" Working without transactions leads to having undefined state when doing multiple database operations at the same time. Most client side databases rely on a last-write-wins strategy on write operations. This might be a viable solution for some cases, but often this leads to strange problems that are hard to debug. Instead, to ensure that the behavior of RxDB is always predictable, RxDB relies on revisions for version control. Revisions work similar to Lamport Clocks. Each document is stored together with its revision string, that looks like 1-9dcca3b8e1a and consists of: The revision height, a number that starts with 1 and is increased with each write to that document.The database instance token. An operation to the RxDB data layer does not only contain the new document data, but also the previous document data with its revision string. If the previous revision matches the revision that is currently stored in the database, the write operation can succeed. If the previous revision is different than the revision that is currently stored in the database, the operation will throw a 409 CONFLICT error. ","version":"Next","tagName":"h2"},{"title":"Conflicts","type":1,"pageTitle":"Transactions, Conflicts and Revisions","url":"/transactions-conflicts-revisions.html#conflicts","content":" There are two types of conflicts in RxDB, the local conflict and the replication conflict. ","version":"Next","tagName":"h2"},{"title":"Local conflicts","type":1,"pageTitle":"Transactions, Conflicts and Revisions","url":"/transactions-conflicts-revisions.html#local-conflicts","content":" A local conflict can happen when a write operation assumes a different previous document state, than what is currently stored in the database. This can happen when multiple parts of your application do simultaneous writes to the same document. This can happen on a single browser tab, or when multiple tabs write at once or when a write appears while the document gets replicated from a remote server replication. When a local conflict appears, RxDB will throw a 409 CONFLICT error. The calling code must then handle the error properly, depending on the application logic. Instead of handling local conflicts, in most cases it is easier to ensure that they cannot happen, by using incremental database operations like incrementalModify(), incrementalPatch() or incrementalUpsert(). These write operations have a built-in way to handle conflicts by re-applying the mutation functions to the conflicting document state. ","version":"Next","tagName":"h3"},{"title":"Replication conflicts","type":1,"pageTitle":"Transactions, Conflicts and Revisions","url":"/transactions-conflicts-revisions.html#replication-conflicts","content":" A replication conflict appears when multiple clients write to the same documents at once and these documents are then replicated to the backend server. When you replicate with the Graphql replication and the replication primitives, RxDB assumes that conflicts are detected and resolved at the client side. When a document is send to the backend and the backend detected a conflict (by comparing revisions or other properties), the backend will respond with the actual document state so that the client can compare this with the local document state and create a new, resolved document state that is then pushed to the server again. You can read more about the replication conflicts here. ","version":"Next","tagName":"h2"},{"title":"Custom conflict handler","type":1,"pageTitle":"Transactions, Conflicts and Revisions","url":"/transactions-conflicts-revisions.html#custom-conflict-handler","content":" A conflict handler is an object with two JavaScript functions: Detect if two document states are equalSolve existing conflicts Because the conflict handler also is used for conflict detection, it will run many times on pull-, push- and write operations of RxDB. Most of the time it will detect that there is no conflict and then return. Lets have a look at the default conflict handler of RxDB to learn how to create a custom one: import { deepEqual } from 'rxdb/plugins/utils'; export const defaultConflictHandler: RxConflictHandler<any> = { isEqual(a, b) { /** * isEqual() is used to detect conflicts or to detect if a * document has to be pushed to the remote. * If the documents are deep equal, * we have no conflict. * Because deepEqual is CPU expensive, on your custom conflict handler you might only * check some properties, like the updatedAt time or revisions * for better performance. */ return deepEqual(a, b); }, resolve(i) { /** * The default conflict handler will always * drop the fork state and use the master state instead. * * In your custom conflict handler you likely want to merge properties * of the realMasterState and the newDocumentState instead. */ return i.realMasterState; } }; To overwrite the default conflict handler, you have to specify a custom conflictHandler property when creating a collection with addCollections(). const myCollections = await myDatabase.addCollections({ // key = collectionName humans: { schema: mySchema, conflictHandler: myCustomConflictHandler } }); ","version":"Next","tagName":"h2"},{"title":"Using RxDB with TypeScript","type":0,"sectionRef":"#","url":"/tutorials/typescript.html","content":"","keywords":"","version":"Next"},{"title":"Using the types","type":1,"pageTitle":"Using RxDB with TypeScript","url":"/tutorials/typescript.html#using-the-types","content":" Now that we have declare all our types, we can use them. /** * create database and collections */ const myDatabase: MyDatabase = await createRxDatabase<MyDatabaseCollections>({ name: 'mydb', storage: getRxStorageLocalstorage() }); const heroSchema: RxJsonSchema<HeroDocType> = { title: 'human schema', description: 'describes a human being', version: 0, keyCompression: true, primaryKey: 'passportId', type: 'object', properties: { passportId: { type: 'string' }, firstName: { type: 'string' }, lastName: { type: 'string' }, age: { type: 'integer' } }, required: ['passportId', 'firstName', 'lastName'] }; const heroDocMethods: HeroDocMethods = { scream: function(this: HeroDocument, what: string) { return this.firstName + ' screams: ' + what.toUpperCase(); } }; const heroCollectionMethods: HeroCollectionMethods = { countAllDocuments: async function(this: HeroCollection) { const allDocs = await this.find().exec(); return allDocs.length; } }; await myDatabase.addCollections({ heroes: { schema: heroSchema, methods: heroDocMethods, statics: heroCollectionMethods } }); // add a postInsert-hook myDatabase.heroes.postInsert( function myPostInsertHook( this: HeroCollection, // own collection is bound to the scope docData: HeroDocType, // documents data doc: HeroDocument // RxDocument ) { console.log('insert to ' + this.name + '-collection: ' + doc.firstName); }, false // not async ); /** * use the database */ // insert a document const hero: HeroDocument = await myDatabase.heroes.insert({ passportId: 'myId', firstName: 'piotr', lastName: 'potter', age: 5 }); // access a property console.log(hero.firstName); // use a orm method hero.scream('AAH!'); // use a static orm method from the collection const amount: number = await myDatabase.heroes.countAllDocuments(); console.log(amount); /** * clean up */ myDatabase.close(); ","version":"Next","tagName":"h2"},{"title":"Why UI applications need NoSQL","type":0,"sectionRef":"#","url":"/why-nosql.html","content":"","keywords":"","version":"Next"},{"title":"Transactions do not work with humans involved","type":1,"pageTitle":"Why UI applications need NoSQL","url":"/why-nosql.html#transactions-do-not-work-with-humans-involved","content":" On the server side, transactions are used to run steps of logic inside of a self contained unit of work. The database system ensures that multiple transactions do not run in parallel or interfere with each other. This works well because on the server side you can predict how longer everything takes. It can be ensured that one transaction does not block everything else for too long which would make the system not responding anymore to other requests. When you build a UI based application that is used by a real human, you can no longer predict how long anything takes. The user clicks the edit button and expects to not have anyone else change the document while the user is in edit mode. Using a transaction to ensure nothing is changed in between, is not an option because the transaction could be open for a long time and other background tasks, like replication, would no longer work. So whenever a human is involved, this kind of logic has to be implemented using other strategies. Most NoSQL databases like RxDB or CouchDB use a system based on revision and conflicts to handle these. ","version":"Next","tagName":"h2"},{"title":"Transactions do not work with offline-first","type":1,"pageTitle":"Why UI applications need NoSQL","url":"/why-nosql.html#transactions-do-not-work-with-offline-first","content":" When you want to build an offline-first application, it is assumed that the user can also read and write data, even when the device has lost the connection to the backend. You could use database transactions on writes to the client's database state, but enforcing a transaction boundary across other instances like clients or servers, is not possible when there is no connection. On the client you could run an update query where all color: red rows are changed to color: blue, but this would not guarantee that there will still be other red documents when the client goes online again and restarts the replication with the server. UPDATE docs SET docs.color = 'red' WHERE docs.color = 'blue'; ","version":"Next","tagName":"h2"},{"title":"Relational queries in NoSQL","type":1,"pageTitle":"Why UI applications need NoSQL","url":"/why-nosql.html#relational-queries-in-nosql","content":" What most people want from a relational database, is to run queries over multiple tables. Some people think that they cannot do that with NoSQL, so let me explain. Let's say you have two tables with customers and cities where each city has an id and each customer has a city_id. You want to get every customer that resides in Tokyo. With SQL, you would use a query like this: SELECT * FROM city WHERE city.name = 'Tokyo' LEFT JOIN customer ON customer.city_id = city.id; With NoSQL you can just do the same, but you have to write it manually: const cityDocument = await db.cities.findOne().where('name').equals('Tokyo').exec(); const customerDocuments = await db.customers.find().where('city_id').equals(cityDocument.id).exec(); So what are the differences? The SQL version would run faster on a remote database server because it would aggregate all data there and return only the customers as result set. But when you have a local database, it is not really a difference. Querying the two tables by hand would have about the same performance as a JavaScript implementation of SQL that is running locally. The main benefit from using SQL is, that the SQL query runs inside of a single transaction. When a change to one of our two tables happens, while our query runs, the SQL database will ensure that the write does not affect the result of the query. This could happen with NoSQL, while you retrieve the city document, the customer table gets changed and your result is not correct for the dataset that was there when you started the querying. As a workaround, you could observe the database for changes and if a change happened in between, you have to re-run everything. ","version":"Next","tagName":"h2"},{"title":"Reliable replication","type":1,"pageTitle":"Why UI applications need NoSQL","url":"/why-nosql.html#reliable-replication","content":" In an offline first app, your data is replicated from your backend servers to your users and you want it to be reliable. The replication is reliable when, no matter what happens, every online client is able to run a replication and end up with the exact same database state as any other client. Implementing a reliable replication protocol is hard because of the circumstances of your app: Your users have unknown devices.They have an unknown internet speed.They can go offline or online at any time.Clients can be offline for a several days with un-synced changes.You can have many users at the same time.The users can do many database writes at the same time to the same entities. Now lets say you have a SQL database and one of your users, called Alice, runs a query that mutates some rows, based on a condition. # mark all items out of stock as inStock=FALSE UPDATE Table_A SET Table_A.inStock = FALSE FROM Table_A WHERE Table_A.amountInStock = 0 At first, the query runs on the local database of Alice and everything is fine. But at the same time Bob, the other client, updates a row and sets amountInStock from 0 to 1. Now Bob's client replicates the changes from Alice and runs them. Bob will end up with a different database state than Alice because on one of the rows, the WHERE condition was not met. This is not what we want, so our replication protocol should be able to fix it. For that it has to reduce all mutations into a deterministic state. Let me loosely describe how "many" SQL replications work: Instead of just running all replicated queries, we remember a list of all past queries. When a new query comes in that happened before our last query, we roll back the previous queries, run the new query, and then re-execute our own queries on top of that. For that to work, all queries need a timestamp so we can order them correctly. But you cannot rely on the clock that is running at the client. Client side clocks drift, they can run in a different speed or even a malicious client modifies the clock on purpose. So instead of a normal timestamp, we have to use a Hybrid Logical Clock that takes a client generated id and the number of the clients query into account. Our timestamp will then look like 2021-10-04T15:29.40.273Z-0000-eede1195b7d94dd5. These timestamps can be brought into a deterministic order and each client can run the replicated queries in the same order. While this sounds easy and realizable, we have some problems: This kind of replication works great when you replicate between multiple SQL servers. It does not work great when you replicate between a single server and many clients. As mentioned above, clients can be offline for a long time which could require us to do many and heavy rollbacks on each client when someone comes back after a long time and replicates the change.We have many clients where many changes can appear and our database would have to roll back many times.During the rollback, the database cannot be used for read queries.It is required that each client downloads and keeps the whole query history. With NoSQL, replication works different. A new client downloads all current documents and each time a document changes, that document is downloaded again. Instead of replicating the query that leads to a data change, we just replicate the changed data itself. Of course, we could do the same with SQL and just replicate the affected rows of a query, like WatermelonDB does it. This was a clever way to go for WatermelonDB, because it was initially made for React Native and did want to use the fast SQLite instead of the slow AsyncStorage. But in a more general view, it defeats the whole purpose of having a replicating relational database because you have transactions locally, but these transactions become meaningless as soon as the data goes through the replication layer. ","version":"Next","tagName":"h2"},{"title":"Server side validation","type":1,"pageTitle":"Why UI applications need NoSQL","url":"/why-nosql.html#server-side-validation","content":" Whenever there is client-side input, it must be validated on the server. On a NoSQL database, validating a changed document is trivial. The client sends the changed document to the server, and the server can then check if the user was allowed to modify that one document and if the applied changes are ok. Safely validating a SQL query is up to impossible. You first need a way to parse the query with all this complex SQL syntax and keywords.You have to ensure that the query does not DOS your system.Then you check which rows would be affected when running the query and if the user was allowed to change themThen you check if the mutation to that rows are valid. For simple queries like an insert/update/delete to a single row, this might be doable. But a query with 4 LEFT JOIN will be hard. ","version":"Next","tagName":"h2"},{"title":"Event optimization","type":1,"pageTitle":"Why UI applications need NoSQL","url":"/why-nosql.html#event-optimization","content":" With NoSQL databases, each write event always affects exactly one document. This makes it easy to optimize the processing of events at the client. For example instead of handling multiple updates to the same document, when the user comes online again, you could skip everything but the last event. Similar to that you can optimize observable query results. When you query the customers table you get a query result of 10 customers. Now a new customer is added to the table and you want to know how the new query results look like. You could analyze the event and now you know that you only have to add the new customer to the previous results set, instead of running the whole query again. These types of optimizations can be run with all NoSQL queries and even work with limit and skip operators. In RxDB this all happens in the background with the EventReduce algorithm that calculates new query results on incoming changes. These optimizations do not really work with relational data. A change to one table could affect a query to any other tables. and you could not just calculate the new results based on the event. You would always have to re-run the full query to get the updated results. ","version":"Next","tagName":"h2"},{"title":"Migration without relations","type":1,"pageTitle":"Why UI applications need NoSQL","url":"/why-nosql.html#migration-without-relations","content":" Sooner or later you change the layout of your data. You update the schema and you also have to migrate the stored rows/documents. In NoSQL this is often not a big deal because all of your documents are modeled as self containing piece of data. There is an old version of the document and you have a function that transforms it into the new version. With relational data, nothing is self-contained. The relevant data for the migration of a single row could be inside any other table. So when changing the schema, it will be important which table to migrate first and how to orchestrate the migration or relations. On client side applications, this is even harder because the client can close the application at any time and the migration must be able to continue. ","version":"Next","tagName":"h2"},{"title":"Everything can be downgraded to NoSQL","type":1,"pageTitle":"Why UI applications need NoSQL","url":"/why-nosql.html#everything-can-be-downgraded-to-nosql","content":" To use an offline first database in the frontend, you have to make it compatible with your backend APIs. Making software things compatible often means you have to find the lowest common denominator. When you have SQLite in the frontend and want to replicate it with the backend, the backend also has to use SQLite. You cannot even use PostgreSQL because it has a different SQL dialect and some queries might fail. But you do not want to let the frontend dictate which technologies to use in the backend just to make replication work. With NoSQL, you just have documents and writes to these documents. You can build a document based layer on top of everything by removing functionality. It can be built on top of SQL, but also on top of a graph database or even on top of a key-value store like levelDB or FoundationDB. With that document layer you can build a Sync Engine that serves documents sorted by the last update time and there you have a realtime replication. ","version":"Next","tagName":"h2"},{"title":"Caching query results","type":1,"pageTitle":"Why UI applications need NoSQL","url":"/why-nosql.html#caching-query-results","content":" Memory is limited and this is especially true for client side applications where you never know how much free RAM the device really has. You want to have a fast realtime UI, so your database must be able to cache query results. When you run a SQL query like SELECT .. the result of it can be anything. An array, a number, a string, a single row, it depends on how the query goes on. So the caching strategy can only be to keep the result in memory, once for each query. This scales very bad because the more queries you run, the more results you have to store in memory. When you make a query to a NoSQL collection, you always know how the result will look like. It is a list of documents, based on the collection's schema (if you have one). The result set is stored in memory, but because you get similar documents for different queries to the same collection, we can de-duplicated the documents. So when multiple queries return the same document, we only have it in the cache once and each query caches point to the same memory object. So no matter how many queries you make, your cache maximum is the collection size. ","version":"Next","tagName":"h2"},{"title":"TypeScript support","type":1,"pageTitle":"Why UI applications need NoSQL","url":"/why-nosql.html#typescript-support","content":" Modern web apps are build with TypeScript and you want the transpiler to know the types of your query result so it can give you build time errors when something does not match. This is quite easy on document based systems. The typings of for each document of a collection can be generated from the schema, and all queries to that collection will always return the given document type. With SQL you have to manually write the typings for each query by hand because it can contain all these aggregate functions that affect the type of the query's result. ","version":"Next","tagName":"h2"},{"title":"What you lose with NoSQL","type":1,"pageTitle":"Why UI applications need NoSQL","url":"/why-nosql.html#what-you-lose-with-nosql","content":" You can not run relational queries across tables inside a single transaction.You can not mutate documents based on a WHERE clause, in a single transaction.You need to resolve replication conflicts on a per-document basis. ","version":"Next","tagName":"h2"},{"title":"But there is database XY","type":1,"pageTitle":"Why UI applications need NoSQL","url":"/why-nosql.html#but-there-is-database-xy","content":" Yes, there are SQL databases out there that run on the client side or have replication, but not both. WebSQL / sql.js: In the past there was WebSQL in the browser. It was a direct mapping to SQLite because all browsers used the SQLite implementation. You could store relational data in it, but there was no concept of replication at any point in time. sql.js is an SQLite complied to JavaScript. It has not replication and it has (for now) no persistent storage, everything is stored in memory.WatermelonDB is a SQL databases that runs in the client. WatermelonDB uses a document-based replication that is not able to replicate relational queries.Cockroach / Spanner/ PostgreSQL etc. are SQL databases with replication. But they run on servers, not on clients, so they can make different trade offs. Further read Cockroach Labs: Living Without Atomic Clocks Transactions, Conflicts and Revisions in RxDB Why MongoDB, Cassandra, HBase, DynamoDB, and Riak will only let you perform transactions on a single data item Make a PR to this file if you have more interesting links to that topic ","version":"Next","tagName":"h2"}],"options":{"excludeRoutes":["blog","releases"],"id":"default"}}
\ No newline at end of file
diff --git a/docs/sem/angular-database/index.html b/docs/sem/angular-database/index.html
deleted file mode 100644
index 5cfb471affc..00000000000
--- a/docs/sem/angular-database/index.html
+++ /dev/null
@@ -1,287 +0,0 @@
-
-
-
-
-
-The local Database for Angular Apps | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
RxDB is a NoSQL database for JavaScript that runs directly in your app. With a local-first design, it delivers zero-latency queries even offline, and syncs seamlessly with many backends. With observable queries, your UI updates instantly as data changes.
RxDB's easy-to-use Sync Engine powers realtime synchronization between Angular clients and servers. Either use one of our prebuild replication plugins...
RxDB adopts the local-first approach by storing data locally on the Angular client and managing continuous synchronization. You can even run your app entirely without a backend.
We use RxDB because it works across multiple platforms and we need to store of a great deal of data, some users have tens of thousands of documents! RxDB was the only cross-platform, offline-first solution with good enough performance to meet our needs.
Readwise (USA)
We use RxDB for our offline-first inspection software. It ensures accurate data even under poor connectivity, while its single interface for multiple databases streamlines development. RxDB's flexibility also supports easy expansion to more platforms and environments.
SafeEx (Denmark)
We use RxDB in our global offline-first app for technicians. Its robust features and total control ensure reliable performance, even with poor connectivity, resulting in a seamless maintenance solution.
WebWare (Italy)
We rely on RxDB to manage all our data in one place. Our custom store became unwieldy, so we switched to RxDB for schema migrations, real-time replication, conflict resolution, and reactive programming. Its push and pull handlers also integrate smoothly with our existing APIs.
myAgro (Africa)
We provide a mobile app that is used by people in the
- field to fill in valuable information like inspections,
- surveys and audits. Our users don't always have access to the internet, building from an Offline-first approach with RxDB allows us to have the data integrity we need without being online.
MoreApp (Germany)
We use RxDB to create applications capable of being
- used in the most remote areas where Internet access is
- really a challenge.
ALTGRAS (Guinea)
We use RxDB to provide an offline first, cross platform
- point of sale system. With RxDB we could create a web-, desktop- and mobile app using the same code base.
WooCommerce POS (Australia)
RxDB is a main component in building offline-ready
- multichannel apps. It has become our default stack for
- this kind of apps.
atroo GmbH (Germany)
With RxDB we have built an offline capable Progressive Web Application that is used by our borer operators to report on conditions at the mineface.
Nutrien (Canada)
We use RxDB because it works across multiple platforms and we need to store of a great deal of data, some users have tens of thousands of documents! RxDB was the only cross-platform, offline-first solution with good enough performance to meet our needs.
Readwise (USA)
We use RxDB for our offline-first inspection software. It ensures accurate data even under poor connectivity, while its single interface for multiple databases streamlines development. RxDB's flexibility also supports easy expansion to more platforms and environments.
SafeEx (Denmark)
We use RxDB in our global offline-first app for technicians. Its robust features and total control ensure reliable performance, even with poor connectivity, resulting in a seamless maintenance solution.
WebWare (Italy)
We rely on RxDB to manage all our data in one place. Our custom store became unwieldy, so we switched to RxDB for schema migrations, real-time replication, conflict resolution, and reactive programming. Its push and pull handlers also integrate smoothly with our existing APIs.
myAgro (Africa)
We provide a mobile app that is used by people in the
- field to fill in valuable information like inspections,
- surveys and audits. Our users don't always have access to the internet, building from an Offline-first approach with RxDB allows us to have the data integrity we need without being online.
MoreApp (Germany)
We use RxDB to create applications capable of being
- used in the most remote areas where Internet access is
- really a challenge.
ALTGRAS (Guinea)
We use RxDB to provide an offline first, cross platform
- point of sale system. With RxDB we could create a web-, desktop- and mobile app using the same code base.
WooCommerce POS (Australia)
RxDB is a main component in building offline-ready
- multichannel apps. It has become our default stack for
- this kind of apps.
atroo GmbH (Germany)
With RxDB we have built an offline capable Progressive Web Application that is used by our borer operators to report on conditions at the mineface.
Nutrien (Canada)
We use RxDB because it works across multiple platforms and we need to store of a great deal of data, some users have tens of thousands of documents! RxDB was the only cross-platform, offline-first solution with good enough performance to meet our needs.
Readwise (USA)
We use RxDB for our offline-first inspection software. It ensures accurate data even under poor connectivity, while its single interface for multiple databases streamlines development. RxDB's flexibility also supports easy expansion to more platforms and environments.
SafeEx (Denmark)
We use RxDB in our global offline-first app for technicians. Its robust features and total control ensure reliable performance, even with poor connectivity, resulting in a seamless maintenance solution.
WebWare (Italy)
We rely on RxDB to manage all our data in one place. Our custom store became unwieldy, so we switched to RxDB for schema migrations, real-time replication, conflict resolution, and reactive programming. Its push and pull handlers also integrate smoothly with our existing APIs.
myAgro (Africa)
We provide a mobile app that is used by people in the
- field to fill in valuable information like inspections,
- surveys and audits. Our users don't always have access to the internet, building from an Offline-first approach with RxDB allows us to have the data integrity we need without being online.
MoreApp (Germany)
We use RxDB to create applications capable of being
- used in the most remote areas where Internet access is
- really a challenge.
ALTGRAS (Guinea)
We use RxDB to provide an offline first, cross platform
- point of sale system. With RxDB we could create a web-, desktop- and mobile app using the same code base.
WooCommerce POS (Australia)
RxDB is a main component in building offline-ready
- multichannel apps. It has become our default stack for
- this kind of apps.
atroo GmbH (Germany)
With RxDB we have built an offline capable Progressive Web Application that is used by our borer operators to report on conditions at the mineface.
RxDB uses JSON Schema, a format widely recognized by developers through tools like OpenAPI or Swagger. Because JSON Schema is so well-established, it integrates seamlessly with existing validators, editors, and development tooling, making schema design both simple and highly flexible.
A minimal RxDB schema might define fields, data types, and indexes in a fully declarative way. For example:
The easiest way to store and sync Data in a Browser
RxDB is a NoSQL database for JavaScript that runs directly in your app. With a local-first design, it delivers zero-latency queries even offline, and syncs seamlessly with many backends. With observable queries, your UI updates instantly as data changes.
RxDB's easy-to-use Sync Engine powers realtime synchronization between Browser clients and servers. Either use one of our prebuild replication plugins...
RxDB adopts the local-first approach by storing data locally on the Browser client and managing continuous synchronization. You can even run your app entirely without a backend.
We use RxDB because it works across multiple platforms and we need to store of a great deal of data, some users have tens of thousands of documents! RxDB was the only cross-platform, offline-first solution with good enough performance to meet our needs.
Readwise (USA)
We use RxDB for our offline-first inspection software. It ensures accurate data even under poor connectivity, while its single interface for multiple databases streamlines development. RxDB's flexibility also supports easy expansion to more platforms and environments.
SafeEx (Denmark)
We use RxDB in our global offline-first app for technicians. Its robust features and total control ensure reliable performance, even with poor connectivity, resulting in a seamless maintenance solution.
WebWare (Italy)
We rely on RxDB to manage all our data in one place. Our custom store became unwieldy, so we switched to RxDB for schema migrations, real-time replication, conflict resolution, and reactive programming. Its push and pull handlers also integrate smoothly with our existing APIs.
myAgro (Africa)
We provide a mobile app that is used by people in the
- field to fill in valuable information like inspections,
- surveys and audits. Our users don't always have access to the internet, building from an Offline-first approach with RxDB allows us to have the data integrity we need without being online.
MoreApp (Germany)
We use RxDB to create applications capable of being
- used in the most remote areas where Internet access is
- really a challenge.
ALTGRAS (Guinea)
We use RxDB to provide an offline first, cross platform
- point of sale system. With RxDB we could create a web-, desktop- and mobile app using the same code base.
WooCommerce POS (Australia)
RxDB is a main component in building offline-ready
- multichannel apps. It has become our default stack for
- this kind of apps.
atroo GmbH (Germany)
With RxDB we have built an offline capable Progressive Web Application that is used by our borer operators to report on conditions at the mineface.
Nutrien (Canada)
We use RxDB because it works across multiple platforms and we need to store of a great deal of data, some users have tens of thousands of documents! RxDB was the only cross-platform, offline-first solution with good enough performance to meet our needs.
Readwise (USA)
We use RxDB for our offline-first inspection software. It ensures accurate data even under poor connectivity, while its single interface for multiple databases streamlines development. RxDB's flexibility also supports easy expansion to more platforms and environments.
SafeEx (Denmark)
We use RxDB in our global offline-first app for technicians. Its robust features and total control ensure reliable performance, even with poor connectivity, resulting in a seamless maintenance solution.
WebWare (Italy)
We rely on RxDB to manage all our data in one place. Our custom store became unwieldy, so we switched to RxDB for schema migrations, real-time replication, conflict resolution, and reactive programming. Its push and pull handlers also integrate smoothly with our existing APIs.
myAgro (Africa)
We provide a mobile app that is used by people in the
- field to fill in valuable information like inspections,
- surveys and audits. Our users don't always have access to the internet, building from an Offline-first approach with RxDB allows us to have the data integrity we need without being online.
MoreApp (Germany)
We use RxDB to create applications capable of being
- used in the most remote areas where Internet access is
- really a challenge.
ALTGRAS (Guinea)
We use RxDB to provide an offline first, cross platform
- point of sale system. With RxDB we could create a web-, desktop- and mobile app using the same code base.
WooCommerce POS (Australia)
RxDB is a main component in building offline-ready
- multichannel apps. It has become our default stack for
- this kind of apps.
atroo GmbH (Germany)
With RxDB we have built an offline capable Progressive Web Application that is used by our borer operators to report on conditions at the mineface.
Nutrien (Canada)
We use RxDB because it works across multiple platforms and we need to store of a great deal of data, some users have tens of thousands of documents! RxDB was the only cross-platform, offline-first solution with good enough performance to meet our needs.
Readwise (USA)
We use RxDB for our offline-first inspection software. It ensures accurate data even under poor connectivity, while its single interface for multiple databases streamlines development. RxDB's flexibility also supports easy expansion to more platforms and environments.
SafeEx (Denmark)
We use RxDB in our global offline-first app for technicians. Its robust features and total control ensure reliable performance, even with poor connectivity, resulting in a seamless maintenance solution.
WebWare (Italy)
We rely on RxDB to manage all our data in one place. Our custom store became unwieldy, so we switched to RxDB for schema migrations, real-time replication, conflict resolution, and reactive programming. Its push and pull handlers also integrate smoothly with our existing APIs.
myAgro (Africa)
We provide a mobile app that is used by people in the
- field to fill in valuable information like inspections,
- surveys and audits. Our users don't always have access to the internet, building from an Offline-first approach with RxDB allows us to have the data integrity we need without being online.
MoreApp (Germany)
We use RxDB to create applications capable of being
- used in the most remote areas where Internet access is
- really a challenge.
ALTGRAS (Guinea)
We use RxDB to provide an offline first, cross platform
- point of sale system. With RxDB we could create a web-, desktop- and mobile app using the same code base.
WooCommerce POS (Australia)
RxDB is a main component in building offline-ready
- multichannel apps. It has become our default stack for
- this kind of apps.
atroo GmbH (Germany)
With RxDB we have built an offline capable Progressive Web Application that is used by our borer operators to report on conditions at the mineface.
RxDB uses JSON Schema, a format widely recognized by developers through tools like OpenAPI or Swagger. Because JSON Schema is so well-established, it integrates seamlessly with existing validators, editors, and development tooling, making schema design both simple and highly flexible.
A minimal RxDB schema might define fields, data types, and indexes in a fully declarative way. For example:
The easiest way to store and sync Data in Capacitor
RxDB is a NoSQL database for JavaScript that runs directly in your app. With a local-first design, it delivers zero-latency queries even offline, and syncs seamlessly with many backends. With observable queries, your UI updates instantly as data changes.
RxDB's easy-to-use Sync Engine powers realtime synchronization between Capacitor clients and servers. Either use one of our prebuild replication plugins...
RxDB adopts the local-first approach by storing data locally on the Capacitor client and managing continuous synchronization. You can even run your app entirely without a backend.
We use RxDB because it works across multiple platforms and we need to store of a great deal of data, some users have tens of thousands of documents! RxDB was the only cross-platform, offline-first solution with good enough performance to meet our needs.
Readwise (USA)
We use RxDB for our offline-first inspection software. It ensures accurate data even under poor connectivity, while its single interface for multiple databases streamlines development. RxDB's flexibility also supports easy expansion to more platforms and environments.
SafeEx (Denmark)
We use RxDB in our global offline-first app for technicians. Its robust features and total control ensure reliable performance, even with poor connectivity, resulting in a seamless maintenance solution.
WebWare (Italy)
We rely on RxDB to manage all our data in one place. Our custom store became unwieldy, so we switched to RxDB for schema migrations, real-time replication, conflict resolution, and reactive programming. Its push and pull handlers also integrate smoothly with our existing APIs.
myAgro (Africa)
We provide a mobile app that is used by people in the
- field to fill in valuable information like inspections,
- surveys and audits. Our users don't always have access to the internet, building from an Offline-first approach with RxDB allows us to have the data integrity we need without being online.
MoreApp (Germany)
We use RxDB to create applications capable of being
- used in the most remote areas where Internet access is
- really a challenge.
ALTGRAS (Guinea)
We use RxDB to provide an offline first, cross platform
- point of sale system. With RxDB we could create a web-, desktop- and mobile app using the same code base.
WooCommerce POS (Australia)
RxDB is a main component in building offline-ready
- multichannel apps. It has become our default stack for
- this kind of apps.
atroo GmbH (Germany)
With RxDB we have built an offline capable Progressive Web Application that is used by our borer operators to report on conditions at the mineface.
Nutrien (Canada)
We use RxDB because it works across multiple platforms and we need to store of a great deal of data, some users have tens of thousands of documents! RxDB was the only cross-platform, offline-first solution with good enough performance to meet our needs.
Readwise (USA)
We use RxDB for our offline-first inspection software. It ensures accurate data even under poor connectivity, while its single interface for multiple databases streamlines development. RxDB's flexibility also supports easy expansion to more platforms and environments.
SafeEx (Denmark)
We use RxDB in our global offline-first app for technicians. Its robust features and total control ensure reliable performance, even with poor connectivity, resulting in a seamless maintenance solution.
WebWare (Italy)
We rely on RxDB to manage all our data in one place. Our custom store became unwieldy, so we switched to RxDB for schema migrations, real-time replication, conflict resolution, and reactive programming. Its push and pull handlers also integrate smoothly with our existing APIs.
myAgro (Africa)
We provide a mobile app that is used by people in the
- field to fill in valuable information like inspections,
- surveys and audits. Our users don't always have access to the internet, building from an Offline-first approach with RxDB allows us to have the data integrity we need without being online.
MoreApp (Germany)
We use RxDB to create applications capable of being
- used in the most remote areas where Internet access is
- really a challenge.
ALTGRAS (Guinea)
We use RxDB to provide an offline first, cross platform
- point of sale system. With RxDB we could create a web-, desktop- and mobile app using the same code base.
WooCommerce POS (Australia)
RxDB is a main component in building offline-ready
- multichannel apps. It has become our default stack for
- this kind of apps.
atroo GmbH (Germany)
With RxDB we have built an offline capable Progressive Web Application that is used by our borer operators to report on conditions at the mineface.
Nutrien (Canada)
We use RxDB because it works across multiple platforms and we need to store of a great deal of data, some users have tens of thousands of documents! RxDB was the only cross-platform, offline-first solution with good enough performance to meet our needs.
Readwise (USA)
We use RxDB for our offline-first inspection software. It ensures accurate data even under poor connectivity, while its single interface for multiple databases streamlines development. RxDB's flexibility also supports easy expansion to more platforms and environments.
SafeEx (Denmark)
We use RxDB in our global offline-first app for technicians. Its robust features and total control ensure reliable performance, even with poor connectivity, resulting in a seamless maintenance solution.
WebWare (Italy)
We rely on RxDB to manage all our data in one place. Our custom store became unwieldy, so we switched to RxDB for schema migrations, real-time replication, conflict resolution, and reactive programming. Its push and pull handlers also integrate smoothly with our existing APIs.
myAgro (Africa)
We provide a mobile app that is used by people in the
- field to fill in valuable information like inspections,
- surveys and audits. Our users don't always have access to the internet, building from an Offline-first approach with RxDB allows us to have the data integrity we need without being online.
MoreApp (Germany)
We use RxDB to create applications capable of being
- used in the most remote areas where Internet access is
- really a challenge.
ALTGRAS (Guinea)
We use RxDB to provide an offline first, cross platform
- point of sale system. With RxDB we could create a web-, desktop- and mobile app using the same code base.
WooCommerce POS (Australia)
RxDB is a main component in building offline-ready
- multichannel apps. It has become our default stack for
- this kind of apps.
atroo GmbH (Germany)
With RxDB we have built an offline capable Progressive Web Application that is used by our borer operators to report on conditions at the mineface.
RxDB uses JSON Schema, a format widely recognized by developers through tools like OpenAPI or Swagger. Because JSON Schema is so well-established, it integrates seamlessly with existing validators, editors, and development tooling, making schema design both simple and highly flexible.
A minimal RxDB schema might define fields, data types, and indexes in a fully declarative way. For example:
The easiest way to store and sync Data in Electron
RxDB is a NoSQL database for JavaScript that runs directly in your app. With a local-first design, it delivers zero-latency queries even offline, and syncs seamlessly with many backends. With observable queries, your UI updates instantly as data changes.
RxDB's easy-to-use Sync Engine powers realtime synchronization between Electron clients and servers. Either use one of our prebuild replication plugins...
RxDB adopts the local-first approach by storing data locally on the Electron client and managing continuous synchronization. You can even run your app entirely without a backend.
We use RxDB because it works across multiple platforms and we need to store of a great deal of data, some users have tens of thousands of documents! RxDB was the only cross-platform, offline-first solution with good enough performance to meet our needs.
Readwise (USA)
We use RxDB for our offline-first inspection software. It ensures accurate data even under poor connectivity, while its single interface for multiple databases streamlines development. RxDB's flexibility also supports easy expansion to more platforms and environments.
SafeEx (Denmark)
We use RxDB in our global offline-first app for technicians. Its robust features and total control ensure reliable performance, even with poor connectivity, resulting in a seamless maintenance solution.
WebWare (Italy)
We rely on RxDB to manage all our data in one place. Our custom store became unwieldy, so we switched to RxDB for schema migrations, real-time replication, conflict resolution, and reactive programming. Its push and pull handlers also integrate smoothly with our existing APIs.
myAgro (Africa)
We provide a mobile app that is used by people in the
- field to fill in valuable information like inspections,
- surveys and audits. Our users don't always have access to the internet, building from an Offline-first approach with RxDB allows us to have the data integrity we need without being online.
MoreApp (Germany)
We use RxDB to create applications capable of being
- used in the most remote areas where Internet access is
- really a challenge.
ALTGRAS (Guinea)
We use RxDB to provide an offline first, cross platform
- point of sale system. With RxDB we could create a web-, desktop- and mobile app using the same code base.
WooCommerce POS (Australia)
RxDB is a main component in building offline-ready
- multichannel apps. It has become our default stack for
- this kind of apps.
atroo GmbH (Germany)
With RxDB we have built an offline capable Progressive Web Application that is used by our borer operators to report on conditions at the mineface.
Nutrien (Canada)
We use RxDB because it works across multiple platforms and we need to store of a great deal of data, some users have tens of thousands of documents! RxDB was the only cross-platform, offline-first solution with good enough performance to meet our needs.
Readwise (USA)
We use RxDB for our offline-first inspection software. It ensures accurate data even under poor connectivity, while its single interface for multiple databases streamlines development. RxDB's flexibility also supports easy expansion to more platforms and environments.
SafeEx (Denmark)
We use RxDB in our global offline-first app for technicians. Its robust features and total control ensure reliable performance, even with poor connectivity, resulting in a seamless maintenance solution.
WebWare (Italy)
We rely on RxDB to manage all our data in one place. Our custom store became unwieldy, so we switched to RxDB for schema migrations, real-time replication, conflict resolution, and reactive programming. Its push and pull handlers also integrate smoothly with our existing APIs.
myAgro (Africa)
We provide a mobile app that is used by people in the
- field to fill in valuable information like inspections,
- surveys and audits. Our users don't always have access to the internet, building from an Offline-first approach with RxDB allows us to have the data integrity we need without being online.
MoreApp (Germany)
We use RxDB to create applications capable of being
- used in the most remote areas where Internet access is
- really a challenge.
ALTGRAS (Guinea)
We use RxDB to provide an offline first, cross platform
- point of sale system. With RxDB we could create a web-, desktop- and mobile app using the same code base.
WooCommerce POS (Australia)
RxDB is a main component in building offline-ready
- multichannel apps. It has become our default stack for
- this kind of apps.
atroo GmbH (Germany)
With RxDB we have built an offline capable Progressive Web Application that is used by our borer operators to report on conditions at the mineface.
Nutrien (Canada)
We use RxDB because it works across multiple platforms and we need to store of a great deal of data, some users have tens of thousands of documents! RxDB was the only cross-platform, offline-first solution with good enough performance to meet our needs.
Readwise (USA)
We use RxDB for our offline-first inspection software. It ensures accurate data even under poor connectivity, while its single interface for multiple databases streamlines development. RxDB's flexibility also supports easy expansion to more platforms and environments.
SafeEx (Denmark)
We use RxDB in our global offline-first app for technicians. Its robust features and total control ensure reliable performance, even with poor connectivity, resulting in a seamless maintenance solution.
WebWare (Italy)
We rely on RxDB to manage all our data in one place. Our custom store became unwieldy, so we switched to RxDB for schema migrations, real-time replication, conflict resolution, and reactive programming. Its push and pull handlers also integrate smoothly with our existing APIs.
myAgro (Africa)
We provide a mobile app that is used by people in the
- field to fill in valuable information like inspections,
- surveys and audits. Our users don't always have access to the internet, building from an Offline-first approach with RxDB allows us to have the data integrity we need without being online.
MoreApp (Germany)
We use RxDB to create applications capable of being
- used in the most remote areas where Internet access is
- really a challenge.
ALTGRAS (Guinea)
We use RxDB to provide an offline first, cross platform
- point of sale system. With RxDB we could create a web-, desktop- and mobile app using the same code base.
WooCommerce POS (Australia)
RxDB is a main component in building offline-ready
- multichannel apps. It has become our default stack for
- this kind of apps.
atroo GmbH (Germany)
With RxDB we have built an offline capable Progressive Web Application that is used by our borer operators to report on conditions at the mineface.
RxDB uses JSON Schema, a format widely recognized by developers through tools like OpenAPI or Swagger. Because JSON Schema is so well-established, it integrates seamlessly with existing validators, editors, and development tooling, making schema design both simple and highly flexible.
A minimal RxDB schema might define fields, data types, and indexes in a fully declarative way. For example:
RxDB is a NoSQL database for JavaScript that runs directly in your app. With a local-first design, it delivers zero-latency queries even offline, and syncs seamlessly with many backends. With observable queries, your UI updates instantly as data changes.
RxDB adopts the local-first approach by storing data locally on the Expo client and managing continuous synchronization. You can even run your app entirely without a backend.
We use RxDB because it works across multiple platforms and we need to store of a great deal of data, some users have tens of thousands of documents! RxDB was the only cross-platform, offline-first solution with good enough performance to meet our needs.
Readwise (USA)
We use RxDB for our offline-first inspection software. It ensures accurate data even under poor connectivity, while its single interface for multiple databases streamlines development. RxDB's flexibility also supports easy expansion to more platforms and environments.
SafeEx (Denmark)
We use RxDB in our global offline-first app for technicians. Its robust features and total control ensure reliable performance, even with poor connectivity, resulting in a seamless maintenance solution.
WebWare (Italy)
We rely on RxDB to manage all our data in one place. Our custom store became unwieldy, so we switched to RxDB for schema migrations, real-time replication, conflict resolution, and reactive programming. Its push and pull handlers also integrate smoothly with our existing APIs.
myAgro (Africa)
We provide a mobile app that is used by people in the
- field to fill in valuable information like inspections,
- surveys and audits. Our users don't always have access to the internet, building from an Offline-first approach with RxDB allows us to have the data integrity we need without being online.
MoreApp (Germany)
We use RxDB to create applications capable of being
- used in the most remote areas where Internet access is
- really a challenge.
ALTGRAS (Guinea)
We use RxDB to provide an offline first, cross platform
- point of sale system. With RxDB we could create a web-, desktop- and mobile app using the same code base.
WooCommerce POS (Australia)
RxDB is a main component in building offline-ready
- multichannel apps. It has become our default stack for
- this kind of apps.
atroo GmbH (Germany)
With RxDB we have built an offline capable Progressive Web Application that is used by our borer operators to report on conditions at the mineface.
Nutrien (Canada)
We use RxDB because it works across multiple platforms and we need to store of a great deal of data, some users have tens of thousands of documents! RxDB was the only cross-platform, offline-first solution with good enough performance to meet our needs.
Readwise (USA)
We use RxDB for our offline-first inspection software. It ensures accurate data even under poor connectivity, while its single interface for multiple databases streamlines development. RxDB's flexibility also supports easy expansion to more platforms and environments.
SafeEx (Denmark)
We use RxDB in our global offline-first app for technicians. Its robust features and total control ensure reliable performance, even with poor connectivity, resulting in a seamless maintenance solution.
WebWare (Italy)
We rely on RxDB to manage all our data in one place. Our custom store became unwieldy, so we switched to RxDB for schema migrations, real-time replication, conflict resolution, and reactive programming. Its push and pull handlers also integrate smoothly with our existing APIs.
myAgro (Africa)
We provide a mobile app that is used by people in the
- field to fill in valuable information like inspections,
- surveys and audits. Our users don't always have access to the internet, building from an Offline-first approach with RxDB allows us to have the data integrity we need without being online.
MoreApp (Germany)
We use RxDB to create applications capable of being
- used in the most remote areas where Internet access is
- really a challenge.
ALTGRAS (Guinea)
We use RxDB to provide an offline first, cross platform
- point of sale system. With RxDB we could create a web-, desktop- and mobile app using the same code base.
WooCommerce POS (Australia)
RxDB is a main component in building offline-ready
- multichannel apps. It has become our default stack for
- this kind of apps.
atroo GmbH (Germany)
With RxDB we have built an offline capable Progressive Web Application that is used by our borer operators to report on conditions at the mineface.
Nutrien (Canada)
We use RxDB because it works across multiple platforms and we need to store of a great deal of data, some users have tens of thousands of documents! RxDB was the only cross-platform, offline-first solution with good enough performance to meet our needs.
Readwise (USA)
We use RxDB for our offline-first inspection software. It ensures accurate data even under poor connectivity, while its single interface for multiple databases streamlines development. RxDB's flexibility also supports easy expansion to more platforms and environments.
SafeEx (Denmark)
We use RxDB in our global offline-first app for technicians. Its robust features and total control ensure reliable performance, even with poor connectivity, resulting in a seamless maintenance solution.
WebWare (Italy)
We rely on RxDB to manage all our data in one place. Our custom store became unwieldy, so we switched to RxDB for schema migrations, real-time replication, conflict resolution, and reactive programming. Its push and pull handlers also integrate smoothly with our existing APIs.
myAgro (Africa)
We provide a mobile app that is used by people in the
- field to fill in valuable information like inspections,
- surveys and audits. Our users don't always have access to the internet, building from an Offline-first approach with RxDB allows us to have the data integrity we need without being online.
MoreApp (Germany)
We use RxDB to create applications capable of being
- used in the most remote areas where Internet access is
- really a challenge.
ALTGRAS (Guinea)
We use RxDB to provide an offline first, cross platform
- point of sale system. With RxDB we could create a web-, desktop- and mobile app using the same code base.
WooCommerce POS (Australia)
RxDB is a main component in building offline-ready
- multichannel apps. It has become our default stack for
- this kind of apps.
atroo GmbH (Germany)
With RxDB we have built an offline capable Progressive Web Application that is used by our borer operators to report on conditions at the mineface.
RxDB uses JSON Schema, a format widely recognized by developers through tools like OpenAPI or Swagger. Because JSON Schema is so well-established, it integrates seamlessly with existing validators, editors, and development tooling, making schema design both simple and highly flexible.
A minimal RxDB schema might define fields, data types, and indexes in a fully declarative way. For example:
RxDB is a NoSQL database for JavaScript that runs directly in your app. With a local-first design, it delivers zero-latency queries even offline, and syncs seamlessly with many backends. With observable queries, your UI updates instantly as data changes.
RxDB adopts the local-first approach by storing data locally on the client and managing continuous synchronization. You can even run your app entirely without a backend.
We use RxDB because it works across multiple platforms and we need to store of a great deal of data, some users have tens of thousands of documents! RxDB was the only cross-platform, offline-first solution with good enough performance to meet our needs.
Readwise (USA)
We use RxDB for our offline-first inspection software. It ensures accurate data even under poor connectivity, while its single interface for multiple databases streamlines development. RxDB's flexibility also supports easy expansion to more platforms and environments.
SafeEx (Denmark)
We use RxDB in our global offline-first app for technicians. Its robust features and total control ensure reliable performance, even with poor connectivity, resulting in a seamless maintenance solution.
WebWare (Italy)
We rely on RxDB to manage all our data in one place. Our custom store became unwieldy, so we switched to RxDB for schema migrations, real-time replication, conflict resolution, and reactive programming. Its push and pull handlers also integrate smoothly with our existing APIs.
myAgro (Africa)
We provide a mobile app that is used by people in the
- field to fill in valuable information like inspections,
- surveys and audits. Our users don't always have access to the internet, building from an Offline-first approach with RxDB allows us to have the data integrity we need without being online.
MoreApp (Germany)
We use RxDB to create applications capable of being
- used in the most remote areas where Internet access is
- really a challenge.
ALTGRAS (Guinea)
We use RxDB to provide an offline first, cross platform
- point of sale system. With RxDB we could create a web-, desktop- and mobile app using the same code base.
WooCommerce POS (Australia)
RxDB is a main component in building offline-ready
- multichannel apps. It has become our default stack for
- this kind of apps.
atroo GmbH (Germany)
With RxDB we have built an offline capable Progressive Web Application that is used by our borer operators to report on conditions at the mineface.
Nutrien (Canada)
We use RxDB because it works across multiple platforms and we need to store of a great deal of data, some users have tens of thousands of documents! RxDB was the only cross-platform, offline-first solution with good enough performance to meet our needs.
Readwise (USA)
We use RxDB for our offline-first inspection software. It ensures accurate data even under poor connectivity, while its single interface for multiple databases streamlines development. RxDB's flexibility also supports easy expansion to more platforms and environments.
SafeEx (Denmark)
We use RxDB in our global offline-first app for technicians. Its robust features and total control ensure reliable performance, even with poor connectivity, resulting in a seamless maintenance solution.
WebWare (Italy)
We rely on RxDB to manage all our data in one place. Our custom store became unwieldy, so we switched to RxDB for schema migrations, real-time replication, conflict resolution, and reactive programming. Its push and pull handlers also integrate smoothly with our existing APIs.
myAgro (Africa)
We provide a mobile app that is used by people in the
- field to fill in valuable information like inspections,
- surveys and audits. Our users don't always have access to the internet, building from an Offline-first approach with RxDB allows us to have the data integrity we need without being online.
MoreApp (Germany)
We use RxDB to create applications capable of being
- used in the most remote areas where Internet access is
- really a challenge.
ALTGRAS (Guinea)
We use RxDB to provide an offline first, cross platform
- point of sale system. With RxDB we could create a web-, desktop- and mobile app using the same code base.
WooCommerce POS (Australia)
RxDB is a main component in building offline-ready
- multichannel apps. It has become our default stack for
- this kind of apps.
atroo GmbH (Germany)
With RxDB we have built an offline capable Progressive Web Application that is used by our borer operators to report on conditions at the mineface.
Nutrien (Canada)
We use RxDB because it works across multiple platforms and we need to store of a great deal of data, some users have tens of thousands of documents! RxDB was the only cross-platform, offline-first solution with good enough performance to meet our needs.
Readwise (USA)
We use RxDB for our offline-first inspection software. It ensures accurate data even under poor connectivity, while its single interface for multiple databases streamlines development. RxDB's flexibility also supports easy expansion to more platforms and environments.
SafeEx (Denmark)
We use RxDB in our global offline-first app for technicians. Its robust features and total control ensure reliable performance, even with poor connectivity, resulting in a seamless maintenance solution.
WebWare (Italy)
We rely on RxDB to manage all our data in one place. Our custom store became unwieldy, so we switched to RxDB for schema migrations, real-time replication, conflict resolution, and reactive programming. Its push and pull handlers also integrate smoothly with our existing APIs.
myAgro (Africa)
We provide a mobile app that is used by people in the
- field to fill in valuable information like inspections,
- surveys and audits. Our users don't always have access to the internet, building from an Offline-first approach with RxDB allows us to have the data integrity we need without being online.
MoreApp (Germany)
We use RxDB to create applications capable of being
- used in the most remote areas where Internet access is
- really a challenge.
ALTGRAS (Guinea)
We use RxDB to provide an offline first, cross platform
- point of sale system. With RxDB we could create a web-, desktop- and mobile app using the same code base.
WooCommerce POS (Australia)
RxDB is a main component in building offline-ready
- multichannel apps. It has become our default stack for
- this kind of apps.
atroo GmbH (Germany)
With RxDB we have built an offline capable Progressive Web Application that is used by our borer operators to report on conditions at the mineface.
RxDB uses JSON Schema, a format widely recognized by developers through tools like OpenAPI or Swagger. Because JSON Schema is so well-established, it integrates seamlessly with existing validators, editors, and development tooling, making schema design both simple and highly flexible.
A minimal RxDB schema might define fields, data types, and indexes in a fully declarative way. For example:
The easiest way to store and sync Data inside of your App
RxDB is a NoSQL database for JavaScript that runs directly in your app. With a local-first design, it delivers zero-latency queries even offline, and syncs seamlessly with many backends. With observable queries, your UI updates instantly as data changes.
RxDB adopts the local-first approach by storing data locally on the client and managing continuous synchronization. You can even run your app entirely without a backend.
We use RxDB because it works across multiple platforms and we need to store of a great deal of data, some users have tens of thousands of documents! RxDB was the only cross-platform, offline-first solution with good enough performance to meet our needs.
Readwise (USA)
We use RxDB for our offline-first inspection software. It ensures accurate data even under poor connectivity, while its single interface for multiple databases streamlines development. RxDB's flexibility also supports easy expansion to more platforms and environments.
SafeEx (Denmark)
We use RxDB in our global offline-first app for technicians. Its robust features and total control ensure reliable performance, even with poor connectivity, resulting in a seamless maintenance solution.
WebWare (Italy)
We rely on RxDB to manage all our data in one place. Our custom store became unwieldy, so we switched to RxDB for schema migrations, real-time replication, conflict resolution, and reactive programming. Its push and pull handlers also integrate smoothly with our existing APIs.
myAgro (Africa)
We provide a mobile app that is used by people in the
- field to fill in valuable information like inspections,
- surveys and audits. Our users don't always have access to the internet, building from an Offline-first approach with RxDB allows us to have the data integrity we need without being online.
MoreApp (Germany)
We use RxDB to create applications capable of being
- used in the most remote areas where Internet access is
- really a challenge.
ALTGRAS (Guinea)
We use RxDB to provide an offline first, cross platform
- point of sale system. With RxDB we could create a web-, desktop- and mobile app using the same code base.
WooCommerce POS (Australia)
RxDB is a main component in building offline-ready
- multichannel apps. It has become our default stack for
- this kind of apps.
atroo GmbH (Germany)
With RxDB we have built an offline capable Progressive Web Application that is used by our borer operators to report on conditions at the mineface.
Nutrien (Canada)
We use RxDB because it works across multiple platforms and we need to store of a great deal of data, some users have tens of thousands of documents! RxDB was the only cross-platform, offline-first solution with good enough performance to meet our needs.
Readwise (USA)
We use RxDB for our offline-first inspection software. It ensures accurate data even under poor connectivity, while its single interface for multiple databases streamlines development. RxDB's flexibility also supports easy expansion to more platforms and environments.
SafeEx (Denmark)
We use RxDB in our global offline-first app for technicians. Its robust features and total control ensure reliable performance, even with poor connectivity, resulting in a seamless maintenance solution.
WebWare (Italy)
We rely on RxDB to manage all our data in one place. Our custom store became unwieldy, so we switched to RxDB for schema migrations, real-time replication, conflict resolution, and reactive programming. Its push and pull handlers also integrate smoothly with our existing APIs.
myAgro (Africa)
We provide a mobile app that is used by people in the
- field to fill in valuable information like inspections,
- surveys and audits. Our users don't always have access to the internet, building from an Offline-first approach with RxDB allows us to have the data integrity we need without being online.
MoreApp (Germany)
We use RxDB to create applications capable of being
- used in the most remote areas where Internet access is
- really a challenge.
ALTGRAS (Guinea)
We use RxDB to provide an offline first, cross platform
- point of sale system. With RxDB we could create a web-, desktop- and mobile app using the same code base.
WooCommerce POS (Australia)
RxDB is a main component in building offline-ready
- multichannel apps. It has become our default stack for
- this kind of apps.
atroo GmbH (Germany)
With RxDB we have built an offline capable Progressive Web Application that is used by our borer operators to report on conditions at the mineface.
Nutrien (Canada)
We use RxDB because it works across multiple platforms and we need to store of a great deal of data, some users have tens of thousands of documents! RxDB was the only cross-platform, offline-first solution with good enough performance to meet our needs.
Readwise (USA)
We use RxDB for our offline-first inspection software. It ensures accurate data even under poor connectivity, while its single interface for multiple databases streamlines development. RxDB's flexibility also supports easy expansion to more platforms and environments.
SafeEx (Denmark)
We use RxDB in our global offline-first app for technicians. Its robust features and total control ensure reliable performance, even with poor connectivity, resulting in a seamless maintenance solution.
WebWare (Italy)
We rely on RxDB to manage all our data in one place. Our custom store became unwieldy, so we switched to RxDB for schema migrations, real-time replication, conflict resolution, and reactive programming. Its push and pull handlers also integrate smoothly with our existing APIs.
myAgro (Africa)
We provide a mobile app that is used by people in the
- field to fill in valuable information like inspections,
- surveys and audits. Our users don't always have access to the internet, building from an Offline-first approach with RxDB allows us to have the data integrity we need without being online.
MoreApp (Germany)
We use RxDB to create applications capable of being
- used in the most remote areas where Internet access is
- really a challenge.
ALTGRAS (Guinea)
We use RxDB to provide an offline first, cross platform
- point of sale system. With RxDB we could create a web-, desktop- and mobile app using the same code base.
WooCommerce POS (Australia)
RxDB is a main component in building offline-ready
- multichannel apps. It has become our default stack for
- this kind of apps.
atroo GmbH (Germany)
With RxDB we have built an offline capable Progressive Web Application that is used by our borer operators to report on conditions at the mineface.
RxDB uses JSON Schema, a format widely recognized by developers through tools like OpenAPI or Swagger. Because JSON Schema is so well-established, it integrates seamlessly with existing validators, editors, and development tooling, making schema design both simple and highly flexible.
A minimal RxDB schema might define fields, data types, and indexes in a fully declarative way. For example:
The easiest way to store and sync Data in IndexedDB
RxDB is a NoSQL database for JavaScript that runs directly in your app. With a local-first design, it delivers zero-latency queries even offline, and syncs seamlessly with many backends. With observable queries, your UI updates instantly as data changes.
RxDB's easy-to-use Sync Engine powers realtime synchronization between Browser clients and servers. Either use one of our prebuild replication plugins...
RxDB adopts the local-first approach by storing data locally on the Browser client and managing continuous synchronization. You can even run your app entirely without a backend.
We use RxDB because it works across multiple platforms and we need to store of a great deal of data, some users have tens of thousands of documents! RxDB was the only cross-platform, offline-first solution with good enough performance to meet our needs.
Readwise (USA)
We use RxDB for our offline-first inspection software. It ensures accurate data even under poor connectivity, while its single interface for multiple databases streamlines development. RxDB's flexibility also supports easy expansion to more platforms and environments.
SafeEx (Denmark)
We use RxDB in our global offline-first app for technicians. Its robust features and total control ensure reliable performance, even with poor connectivity, resulting in a seamless maintenance solution.
WebWare (Italy)
We rely on RxDB to manage all our data in one place. Our custom store became unwieldy, so we switched to RxDB for schema migrations, real-time replication, conflict resolution, and reactive programming. Its push and pull handlers also integrate smoothly with our existing APIs.
myAgro (Africa)
We provide a mobile app that is used by people in the
- field to fill in valuable information like inspections,
- surveys and audits. Our users don't always have access to the internet, building from an Offline-first approach with RxDB allows us to have the data integrity we need without being online.
MoreApp (Germany)
We use RxDB to create applications capable of being
- used in the most remote areas where Internet access is
- really a challenge.
ALTGRAS (Guinea)
We use RxDB to provide an offline first, cross platform
- point of sale system. With RxDB we could create a web-, desktop- and mobile app using the same code base.
WooCommerce POS (Australia)
RxDB is a main component in building offline-ready
- multichannel apps. It has become our default stack for
- this kind of apps.
atroo GmbH (Germany)
With RxDB we have built an offline capable Progressive Web Application that is used by our borer operators to report on conditions at the mineface.
Nutrien (Canada)
We use RxDB because it works across multiple platforms and we need to store of a great deal of data, some users have tens of thousands of documents! RxDB was the only cross-platform, offline-first solution with good enough performance to meet our needs.
Readwise (USA)
We use RxDB for our offline-first inspection software. It ensures accurate data even under poor connectivity, while its single interface for multiple databases streamlines development. RxDB's flexibility also supports easy expansion to more platforms and environments.
SafeEx (Denmark)
We use RxDB in our global offline-first app for technicians. Its robust features and total control ensure reliable performance, even with poor connectivity, resulting in a seamless maintenance solution.
WebWare (Italy)
We rely on RxDB to manage all our data in one place. Our custom store became unwieldy, so we switched to RxDB for schema migrations, real-time replication, conflict resolution, and reactive programming. Its push and pull handlers also integrate smoothly with our existing APIs.
myAgro (Africa)
We provide a mobile app that is used by people in the
- field to fill in valuable information like inspections,
- surveys and audits. Our users don't always have access to the internet, building from an Offline-first approach with RxDB allows us to have the data integrity we need without being online.
MoreApp (Germany)
We use RxDB to create applications capable of being
- used in the most remote areas where Internet access is
- really a challenge.
ALTGRAS (Guinea)
We use RxDB to provide an offline first, cross platform
- point of sale system. With RxDB we could create a web-, desktop- and mobile app using the same code base.
WooCommerce POS (Australia)
RxDB is a main component in building offline-ready
- multichannel apps. It has become our default stack for
- this kind of apps.
atroo GmbH (Germany)
With RxDB we have built an offline capable Progressive Web Application that is used by our borer operators to report on conditions at the mineface.
Nutrien (Canada)
We use RxDB because it works across multiple platforms and we need to store of a great deal of data, some users have tens of thousands of documents! RxDB was the only cross-platform, offline-first solution with good enough performance to meet our needs.
Readwise (USA)
We use RxDB for our offline-first inspection software. It ensures accurate data even under poor connectivity, while its single interface for multiple databases streamlines development. RxDB's flexibility also supports easy expansion to more platforms and environments.
SafeEx (Denmark)
We use RxDB in our global offline-first app for technicians. Its robust features and total control ensure reliable performance, even with poor connectivity, resulting in a seamless maintenance solution.
WebWare (Italy)
We rely on RxDB to manage all our data in one place. Our custom store became unwieldy, so we switched to RxDB for schema migrations, real-time replication, conflict resolution, and reactive programming. Its push and pull handlers also integrate smoothly with our existing APIs.
myAgro (Africa)
We provide a mobile app that is used by people in the
- field to fill in valuable information like inspections,
- surveys and audits. Our users don't always have access to the internet, building from an Offline-first approach with RxDB allows us to have the data integrity we need without being online.
MoreApp (Germany)
We use RxDB to create applications capable of being
- used in the most remote areas where Internet access is
- really a challenge.
ALTGRAS (Guinea)
We use RxDB to provide an offline first, cross platform
- point of sale system. With RxDB we could create a web-, desktop- and mobile app using the same code base.
WooCommerce POS (Australia)
RxDB is a main component in building offline-ready
- multichannel apps. It has become our default stack for
- this kind of apps.
atroo GmbH (Germany)
With RxDB we have built an offline capable Progressive Web Application that is used by our borer operators to report on conditions at the mineface.
RxDB uses JSON Schema, a format widely recognized by developers through tools like OpenAPI or Swagger. Because JSON Schema is so well-established, it integrates seamlessly with existing validators, editors, and development tooling, making schema design both simple and highly flexible.
A minimal RxDB schema might define fields, data types, and indexes in a fully declarative way. For example:
The easiest way to store and sync Data in IndexedDB
RxDB is a NoSQL database for JavaScript that runs directly in your app. With a local-first design, it delivers zero-latency queries even offline, and syncs seamlessly with many backends. With observable queries, your UI updates instantly as data changes.
RxDB's easy-to-use Sync Engine powers realtime synchronization between Browser clients and servers. Either use one of our prebuild replication plugins...
RxDB adopts the local-first approach by storing data locally on the Browser client and managing continuous synchronization. You can even run your app entirely without a backend.
We use RxDB because it works across multiple platforms and we need to store of a great deal of data, some users have tens of thousands of documents! RxDB was the only cross-platform, offline-first solution with good enough performance to meet our needs.
Readwise (USA)
We use RxDB for our offline-first inspection software. It ensures accurate data even under poor connectivity, while its single interface for multiple databases streamlines development. RxDB's flexibility also supports easy expansion to more platforms and environments.
SafeEx (Denmark)
We use RxDB in our global offline-first app for technicians. Its robust features and total control ensure reliable performance, even with poor connectivity, resulting in a seamless maintenance solution.
WebWare (Italy)
We rely on RxDB to manage all our data in one place. Our custom store became unwieldy, so we switched to RxDB for schema migrations, real-time replication, conflict resolution, and reactive programming. Its push and pull handlers also integrate smoothly with our existing APIs.
myAgro (Africa)
We provide a mobile app that is used by people in the
- field to fill in valuable information like inspections,
- surveys and audits. Our users don't always have access to the internet, building from an Offline-first approach with RxDB allows us to have the data integrity we need without being online.
MoreApp (Germany)
We use RxDB to create applications capable of being
- used in the most remote areas where Internet access is
- really a challenge.
ALTGRAS (Guinea)
We use RxDB to provide an offline first, cross platform
- point of sale system. With RxDB we could create a web-, desktop- and mobile app using the same code base.
WooCommerce POS (Australia)
RxDB is a main component in building offline-ready
- multichannel apps. It has become our default stack for
- this kind of apps.
atroo GmbH (Germany)
With RxDB we have built an offline capable Progressive Web Application that is used by our borer operators to report on conditions at the mineface.
Nutrien (Canada)
We use RxDB because it works across multiple platforms and we need to store of a great deal of data, some users have tens of thousands of documents! RxDB was the only cross-platform, offline-first solution with good enough performance to meet our needs.
Readwise (USA)
We use RxDB for our offline-first inspection software. It ensures accurate data even under poor connectivity, while its single interface for multiple databases streamlines development. RxDB's flexibility also supports easy expansion to more platforms and environments.
SafeEx (Denmark)
We use RxDB in our global offline-first app for technicians. Its robust features and total control ensure reliable performance, even with poor connectivity, resulting in a seamless maintenance solution.
WebWare (Italy)
We rely on RxDB to manage all our data in one place. Our custom store became unwieldy, so we switched to RxDB for schema migrations, real-time replication, conflict resolution, and reactive programming. Its push and pull handlers also integrate smoothly with our existing APIs.
myAgro (Africa)
We provide a mobile app that is used by people in the
- field to fill in valuable information like inspections,
- surveys and audits. Our users don't always have access to the internet, building from an Offline-first approach with RxDB allows us to have the data integrity we need without being online.
MoreApp (Germany)
We use RxDB to create applications capable of being
- used in the most remote areas where Internet access is
- really a challenge.
ALTGRAS (Guinea)
We use RxDB to provide an offline first, cross platform
- point of sale system. With RxDB we could create a web-, desktop- and mobile app using the same code base.
WooCommerce POS (Australia)
RxDB is a main component in building offline-ready
- multichannel apps. It has become our default stack for
- this kind of apps.
atroo GmbH (Germany)
With RxDB we have built an offline capable Progressive Web Application that is used by our borer operators to report on conditions at the mineface.
Nutrien (Canada)
We use RxDB because it works across multiple platforms and we need to store of a great deal of data, some users have tens of thousands of documents! RxDB was the only cross-platform, offline-first solution with good enough performance to meet our needs.
Readwise (USA)
We use RxDB for our offline-first inspection software. It ensures accurate data even under poor connectivity, while its single interface for multiple databases streamlines development. RxDB's flexibility also supports easy expansion to more platforms and environments.
SafeEx (Denmark)
We use RxDB in our global offline-first app for technicians. Its robust features and total control ensure reliable performance, even with poor connectivity, resulting in a seamless maintenance solution.
WebWare (Italy)
We rely on RxDB to manage all our data in one place. Our custom store became unwieldy, so we switched to RxDB for schema migrations, real-time replication, conflict resolution, and reactive programming. Its push and pull handlers also integrate smoothly with our existing APIs.
myAgro (Africa)
We provide a mobile app that is used by people in the
- field to fill in valuable information like inspections,
- surveys and audits. Our users don't always have access to the internet, building from an Offline-first approach with RxDB allows us to have the data integrity we need without being online.
MoreApp (Germany)
We use RxDB to create applications capable of being
- used in the most remote areas where Internet access is
- really a challenge.
ALTGRAS (Guinea)
We use RxDB to provide an offline first, cross platform
- point of sale system. With RxDB we could create a web-, desktop- and mobile app using the same code base.
WooCommerce POS (Australia)
RxDB is a main component in building offline-ready
- multichannel apps. It has become our default stack for
- this kind of apps.
atroo GmbH (Germany)
With RxDB we have built an offline capable Progressive Web Application that is used by our borer operators to report on conditions at the mineface.
RxDB uses JSON Schema, a format widely recognized by developers through tools like OpenAPI or Swagger. Because JSON Schema is so well-established, it integrates seamlessly with existing validators, editors, and development tooling, making schema design both simple and highly flexible.
A minimal RxDB schema might define fields, data types, and indexes in a fully declarative way. For example:
RxDB is a NoSQL database for JavaScript that runs directly in your app. With a local-first design, it delivers zero-latency queries even offline, and syncs seamlessly with many backends. With observable queries, your UI updates instantly as data changes.
RxDB's easy-to-use Sync Engine powers realtime synchronization between Ionic clients and servers. Either use one of our prebuild replication plugins...
RxDB adopts the local-first approach by storing data locally on the Ionic client and managing continuous synchronization. You can even run your app entirely without a backend.
We use RxDB because it works across multiple platforms and we need to store of a great deal of data, some users have tens of thousands of documents! RxDB was the only cross-platform, offline-first solution with good enough performance to meet our needs.
Readwise (USA)
We use RxDB for our offline-first inspection software. It ensures accurate data even under poor connectivity, while its single interface for multiple databases streamlines development. RxDB's flexibility also supports easy expansion to more platforms and environments.
SafeEx (Denmark)
We use RxDB in our global offline-first app for technicians. Its robust features and total control ensure reliable performance, even with poor connectivity, resulting in a seamless maintenance solution.
WebWare (Italy)
We rely on RxDB to manage all our data in one place. Our custom store became unwieldy, so we switched to RxDB for schema migrations, real-time replication, conflict resolution, and reactive programming. Its push and pull handlers also integrate smoothly with our existing APIs.
myAgro (Africa)
We provide a mobile app that is used by people in the
- field to fill in valuable information like inspections,
- surveys and audits. Our users don't always have access to the internet, building from an Offline-first approach with RxDB allows us to have the data integrity we need without being online.
MoreApp (Germany)
We use RxDB to create applications capable of being
- used in the most remote areas where Internet access is
- really a challenge.
ALTGRAS (Guinea)
We use RxDB to provide an offline first, cross platform
- point of sale system. With RxDB we could create a web-, desktop- and mobile app using the same code base.
WooCommerce POS (Australia)
RxDB is a main component in building offline-ready
- multichannel apps. It has become our default stack for
- this kind of apps.
atroo GmbH (Germany)
With RxDB we have built an offline capable Progressive Web Application that is used by our borer operators to report on conditions at the mineface.
Nutrien (Canada)
We use RxDB because it works across multiple platforms and we need to store of a great deal of data, some users have tens of thousands of documents! RxDB was the only cross-platform, offline-first solution with good enough performance to meet our needs.
Readwise (USA)
We use RxDB for our offline-first inspection software. It ensures accurate data even under poor connectivity, while its single interface for multiple databases streamlines development. RxDB's flexibility also supports easy expansion to more platforms and environments.
SafeEx (Denmark)
We use RxDB in our global offline-first app for technicians. Its robust features and total control ensure reliable performance, even with poor connectivity, resulting in a seamless maintenance solution.
WebWare (Italy)
We rely on RxDB to manage all our data in one place. Our custom store became unwieldy, so we switched to RxDB for schema migrations, real-time replication, conflict resolution, and reactive programming. Its push and pull handlers also integrate smoothly with our existing APIs.
myAgro (Africa)
We provide a mobile app that is used by people in the
- field to fill in valuable information like inspections,
- surveys and audits. Our users don't always have access to the internet, building from an Offline-first approach with RxDB allows us to have the data integrity we need without being online.
MoreApp (Germany)
We use RxDB to create applications capable of being
- used in the most remote areas where Internet access is
- really a challenge.
ALTGRAS (Guinea)
We use RxDB to provide an offline first, cross platform
- point of sale system. With RxDB we could create a web-, desktop- and mobile app using the same code base.
WooCommerce POS (Australia)
RxDB is a main component in building offline-ready
- multichannel apps. It has become our default stack for
- this kind of apps.
atroo GmbH (Germany)
With RxDB we have built an offline capable Progressive Web Application that is used by our borer operators to report on conditions at the mineface.
Nutrien (Canada)
We use RxDB because it works across multiple platforms and we need to store of a great deal of data, some users have tens of thousands of documents! RxDB was the only cross-platform, offline-first solution with good enough performance to meet our needs.
Readwise (USA)
We use RxDB for our offline-first inspection software. It ensures accurate data even under poor connectivity, while its single interface for multiple databases streamlines development. RxDB's flexibility also supports easy expansion to more platforms and environments.
SafeEx (Denmark)
We use RxDB in our global offline-first app for technicians. Its robust features and total control ensure reliable performance, even with poor connectivity, resulting in a seamless maintenance solution.
WebWare (Italy)
We rely on RxDB to manage all our data in one place. Our custom store became unwieldy, so we switched to RxDB for schema migrations, real-time replication, conflict resolution, and reactive programming. Its push and pull handlers also integrate smoothly with our existing APIs.
myAgro (Africa)
We provide a mobile app that is used by people in the
- field to fill in valuable information like inspections,
- surveys and audits. Our users don't always have access to the internet, building from an Offline-first approach with RxDB allows us to have the data integrity we need without being online.
MoreApp (Germany)
We use RxDB to create applications capable of being
- used in the most remote areas where Internet access is
- really a challenge.
ALTGRAS (Guinea)
We use RxDB to provide an offline first, cross platform
- point of sale system. With RxDB we could create a web-, desktop- and mobile app using the same code base.
WooCommerce POS (Australia)
RxDB is a main component in building offline-ready
- multichannel apps. It has become our default stack for
- this kind of apps.
atroo GmbH (Germany)
With RxDB we have built an offline capable Progressive Web Application that is used by our borer operators to report on conditions at the mineface.
RxDB uses JSON Schema, a format widely recognized by developers through tools like OpenAPI or Swagger. Because JSON Schema is so well-established, it integrates seamlessly with existing validators, editors, and development tooling, making schema design both simple and highly flexible.
A minimal RxDB schema might define fields, data types, and indexes in a fully declarative way. For example:
The easiest way to store and sync Data in LocalStorage
RxDB is a NoSQL database for JavaScript that runs directly in your app. With a local-first design, it delivers zero-latency queries even offline, and syncs seamlessly with many backends. With observable queries, your UI updates instantly as data changes.
RxDB's easy-to-use Sync Engine powers realtime synchronization between Browser clients and servers. Either use one of our prebuild replication plugins...
RxDB adopts the local-first approach by storing data locally on the Browser client and managing continuous synchronization. You can even run your app entirely without a backend.
We use RxDB because it works across multiple platforms and we need to store of a great deal of data, some users have tens of thousands of documents! RxDB was the only cross-platform, offline-first solution with good enough performance to meet our needs.
Readwise (USA)
We use RxDB for our offline-first inspection software. It ensures accurate data even under poor connectivity, while its single interface for multiple databases streamlines development. RxDB's flexibility also supports easy expansion to more platforms and environments.
SafeEx (Denmark)
We use RxDB in our global offline-first app for technicians. Its robust features and total control ensure reliable performance, even with poor connectivity, resulting in a seamless maintenance solution.
WebWare (Italy)
We rely on RxDB to manage all our data in one place. Our custom store became unwieldy, so we switched to RxDB for schema migrations, real-time replication, conflict resolution, and reactive programming. Its push and pull handlers also integrate smoothly with our existing APIs.
myAgro (Africa)
We provide a mobile app that is used by people in the
- field to fill in valuable information like inspections,
- surveys and audits. Our users don't always have access to the internet, building from an Offline-first approach with RxDB allows us to have the data integrity we need without being online.
MoreApp (Germany)
We use RxDB to create applications capable of being
- used in the most remote areas where Internet access is
- really a challenge.
ALTGRAS (Guinea)
We use RxDB to provide an offline first, cross platform
- point of sale system. With RxDB we could create a web-, desktop- and mobile app using the same code base.
WooCommerce POS (Australia)
RxDB is a main component in building offline-ready
- multichannel apps. It has become our default stack for
- this kind of apps.
atroo GmbH (Germany)
With RxDB we have built an offline capable Progressive Web Application that is used by our borer operators to report on conditions at the mineface.
Nutrien (Canada)
We use RxDB because it works across multiple platforms and we need to store of a great deal of data, some users have tens of thousands of documents! RxDB was the only cross-platform, offline-first solution with good enough performance to meet our needs.
Readwise (USA)
We use RxDB for our offline-first inspection software. It ensures accurate data even under poor connectivity, while its single interface for multiple databases streamlines development. RxDB's flexibility also supports easy expansion to more platforms and environments.
SafeEx (Denmark)
We use RxDB in our global offline-first app for technicians. Its robust features and total control ensure reliable performance, even with poor connectivity, resulting in a seamless maintenance solution.
WebWare (Italy)
We rely on RxDB to manage all our data in one place. Our custom store became unwieldy, so we switched to RxDB for schema migrations, real-time replication, conflict resolution, and reactive programming. Its push and pull handlers also integrate smoothly with our existing APIs.
myAgro (Africa)
We provide a mobile app that is used by people in the
- field to fill in valuable information like inspections,
- surveys and audits. Our users don't always have access to the internet, building from an Offline-first approach with RxDB allows us to have the data integrity we need without being online.
MoreApp (Germany)
We use RxDB to create applications capable of being
- used in the most remote areas where Internet access is
- really a challenge.
ALTGRAS (Guinea)
We use RxDB to provide an offline first, cross platform
- point of sale system. With RxDB we could create a web-, desktop- and mobile app using the same code base.
WooCommerce POS (Australia)
RxDB is a main component in building offline-ready
- multichannel apps. It has become our default stack for
- this kind of apps.
atroo GmbH (Germany)
With RxDB we have built an offline capable Progressive Web Application that is used by our borer operators to report on conditions at the mineface.
Nutrien (Canada)
We use RxDB because it works across multiple platforms and we need to store of a great deal of data, some users have tens of thousands of documents! RxDB was the only cross-platform, offline-first solution with good enough performance to meet our needs.
Readwise (USA)
We use RxDB for our offline-first inspection software. It ensures accurate data even under poor connectivity, while its single interface for multiple databases streamlines development. RxDB's flexibility also supports easy expansion to more platforms and environments.
SafeEx (Denmark)
We use RxDB in our global offline-first app for technicians. Its robust features and total control ensure reliable performance, even with poor connectivity, resulting in a seamless maintenance solution.
WebWare (Italy)
We rely on RxDB to manage all our data in one place. Our custom store became unwieldy, so we switched to RxDB for schema migrations, real-time replication, conflict resolution, and reactive programming. Its push and pull handlers also integrate smoothly with our existing APIs.
myAgro (Africa)
We provide a mobile app that is used by people in the
- field to fill in valuable information like inspections,
- surveys and audits. Our users don't always have access to the internet, building from an Offline-first approach with RxDB allows us to have the data integrity we need without being online.
MoreApp (Germany)
We use RxDB to create applications capable of being
- used in the most remote areas where Internet access is
- really a challenge.
ALTGRAS (Guinea)
We use RxDB to provide an offline first, cross platform
- point of sale system. With RxDB we could create a web-, desktop- and mobile app using the same code base.
WooCommerce POS (Australia)
RxDB is a main component in building offline-ready
- multichannel apps. It has become our default stack for
- this kind of apps.
atroo GmbH (Germany)
With RxDB we have built an offline capable Progressive Web Application that is used by our borer operators to report on conditions at the mineface.
RxDB uses JSON Schema, a format widely recognized by developers through tools like OpenAPI or Swagger. Because JSON Schema is so well-established, it integrates seamlessly with existing validators, editors, and development tooling, making schema design both simple and highly flexible.
A minimal RxDB schema might define fields, data types, and indexes in a fully declarative way. For example:
RxDB is a NoSQL database for JavaScript that runs directly in your app. With a local-first design, it delivers zero-latency queries even offline, and syncs seamlessly with many backends. With observable queries, your UI updates instantly as data changes.
RxDB's easy-to-use Sync Engine powers realtime synchronization between Browser clients and servers. Either use one of our prebuild replication plugins...
RxDB adopts the local-first approach by storing data locally on the Browser client and managing continuous synchronization. You can even run your app entirely without a backend.
We use RxDB because it works across multiple platforms and we need to store of a great deal of data, some users have tens of thousands of documents! RxDB was the only cross-platform, offline-first solution with good enough performance to meet our needs.
Readwise (USA)
We use RxDB for our offline-first inspection software. It ensures accurate data even under poor connectivity, while its single interface for multiple databases streamlines development. RxDB's flexibility also supports easy expansion to more platforms and environments.
SafeEx (Denmark)
We use RxDB in our global offline-first app for technicians. Its robust features and total control ensure reliable performance, even with poor connectivity, resulting in a seamless maintenance solution.
WebWare (Italy)
We rely on RxDB to manage all our data in one place. Our custom store became unwieldy, so we switched to RxDB for schema migrations, real-time replication, conflict resolution, and reactive programming. Its push and pull handlers also integrate smoothly with our existing APIs.
myAgro (Africa)
We provide a mobile app that is used by people in the
- field to fill in valuable information like inspections,
- surveys and audits. Our users don't always have access to the internet, building from an Offline-first approach with RxDB allows us to have the data integrity we need without being online.
MoreApp (Germany)
We use RxDB to create applications capable of being
- used in the most remote areas where Internet access is
- really a challenge.
ALTGRAS (Guinea)
We use RxDB to provide an offline first, cross platform
- point of sale system. With RxDB we could create a web-, desktop- and mobile app using the same code base.
WooCommerce POS (Australia)
RxDB is a main component in building offline-ready
- multichannel apps. It has become our default stack for
- this kind of apps.
atroo GmbH (Germany)
With RxDB we have built an offline capable Progressive Web Application that is used by our borer operators to report on conditions at the mineface.
Nutrien (Canada)
We use RxDB because it works across multiple platforms and we need to store of a great deal of data, some users have tens of thousands of documents! RxDB was the only cross-platform, offline-first solution with good enough performance to meet our needs.
Readwise (USA)
We use RxDB for our offline-first inspection software. It ensures accurate data even under poor connectivity, while its single interface for multiple databases streamlines development. RxDB's flexibility also supports easy expansion to more platforms and environments.
SafeEx (Denmark)
We use RxDB in our global offline-first app for technicians. Its robust features and total control ensure reliable performance, even with poor connectivity, resulting in a seamless maintenance solution.
WebWare (Italy)
We rely on RxDB to manage all our data in one place. Our custom store became unwieldy, so we switched to RxDB for schema migrations, real-time replication, conflict resolution, and reactive programming. Its push and pull handlers also integrate smoothly with our existing APIs.
myAgro (Africa)
We provide a mobile app that is used by people in the
- field to fill in valuable information like inspections,
- surveys and audits. Our users don't always have access to the internet, building from an Offline-first approach with RxDB allows us to have the data integrity we need without being online.
MoreApp (Germany)
We use RxDB to create applications capable of being
- used in the most remote areas where Internet access is
- really a challenge.
ALTGRAS (Guinea)
We use RxDB to provide an offline first, cross platform
- point of sale system. With RxDB we could create a web-, desktop- and mobile app using the same code base.
WooCommerce POS (Australia)
RxDB is a main component in building offline-ready
- multichannel apps. It has become our default stack for
- this kind of apps.
atroo GmbH (Germany)
With RxDB we have built an offline capable Progressive Web Application that is used by our borer operators to report on conditions at the mineface.
Nutrien (Canada)
We use RxDB because it works across multiple platforms and we need to store of a great deal of data, some users have tens of thousands of documents! RxDB was the only cross-platform, offline-first solution with good enough performance to meet our needs.
Readwise (USA)
We use RxDB for our offline-first inspection software. It ensures accurate data even under poor connectivity, while its single interface for multiple databases streamlines development. RxDB's flexibility also supports easy expansion to more platforms and environments.
SafeEx (Denmark)
We use RxDB in our global offline-first app for technicians. Its robust features and total control ensure reliable performance, even with poor connectivity, resulting in a seamless maintenance solution.
WebWare (Italy)
We rely on RxDB to manage all our data in one place. Our custom store became unwieldy, so we switched to RxDB for schema migrations, real-time replication, conflict resolution, and reactive programming. Its push and pull handlers also integrate smoothly with our existing APIs.
myAgro (Africa)
We provide a mobile app that is used by people in the
- field to fill in valuable information like inspections,
- surveys and audits. Our users don't always have access to the internet, building from an Offline-first approach with RxDB allows us to have the data integrity we need without being online.
MoreApp (Germany)
We use RxDB to create applications capable of being
- used in the most remote areas where Internet access is
- really a challenge.
ALTGRAS (Guinea)
We use RxDB to provide an offline first, cross platform
- point of sale system. With RxDB we could create a web-, desktop- and mobile app using the same code base.
WooCommerce POS (Australia)
RxDB is a main component in building offline-ready
- multichannel apps. It has become our default stack for
- this kind of apps.
atroo GmbH (Germany)
With RxDB we have built an offline capable Progressive Web Application that is used by our borer operators to report on conditions at the mineface.
RxDB uses JSON Schema, a format widely recognized by developers through tools like OpenAPI or Swagger. Because JSON Schema is so well-established, it integrates seamlessly with existing validators, editors, and development tooling, making schema design both simple and highly flexible.
A minimal RxDB schema might define fields, data types, and indexes in a fully declarative way. For example:
RxDB is a NoSQL database for JavaScript that runs directly in your app. With a local-first design, it delivers zero-latency queries even offline, and syncs seamlessly with many backends. With observable queries, your UI updates instantly as data changes.
RxDB's easy-to-use Sync Engine powers realtime synchronization between Node.js clients and servers. Either use one of our prebuild replication plugins...
RxDB adopts the local-first approach by storing data locally on the Node.js client and managing continuous synchronization. You can even run your app entirely without a backend.
We use RxDB because it works across multiple platforms and we need to store of a great deal of data, some users have tens of thousands of documents! RxDB was the only cross-platform, offline-first solution with good enough performance to meet our needs.
Readwise (USA)
We use RxDB for our offline-first inspection software. It ensures accurate data even under poor connectivity, while its single interface for multiple databases streamlines development. RxDB's flexibility also supports easy expansion to more platforms and environments.
SafeEx (Denmark)
We use RxDB in our global offline-first app for technicians. Its robust features and total control ensure reliable performance, even with poor connectivity, resulting in a seamless maintenance solution.
WebWare (Italy)
We rely on RxDB to manage all our data in one place. Our custom store became unwieldy, so we switched to RxDB for schema migrations, real-time replication, conflict resolution, and reactive programming. Its push and pull handlers also integrate smoothly with our existing APIs.
myAgro (Africa)
We provide a mobile app that is used by people in the
- field to fill in valuable information like inspections,
- surveys and audits. Our users don't always have access to the internet, building from an Offline-first approach with RxDB allows us to have the data integrity we need without being online.
MoreApp (Germany)
We use RxDB to create applications capable of being
- used in the most remote areas where Internet access is
- really a challenge.
ALTGRAS (Guinea)
We use RxDB to provide an offline first, cross platform
- point of sale system. With RxDB we could create a web-, desktop- and mobile app using the same code base.
WooCommerce POS (Australia)
RxDB is a main component in building offline-ready
- multichannel apps. It has become our default stack for
- this kind of apps.
atroo GmbH (Germany)
With RxDB we have built an offline capable Progressive Web Application that is used by our borer operators to report on conditions at the mineface.
Nutrien (Canada)
We use RxDB because it works across multiple platforms and we need to store of a great deal of data, some users have tens of thousands of documents! RxDB was the only cross-platform, offline-first solution with good enough performance to meet our needs.
Readwise (USA)
We use RxDB for our offline-first inspection software. It ensures accurate data even under poor connectivity, while its single interface for multiple databases streamlines development. RxDB's flexibility also supports easy expansion to more platforms and environments.
SafeEx (Denmark)
We use RxDB in our global offline-first app for technicians. Its robust features and total control ensure reliable performance, even with poor connectivity, resulting in a seamless maintenance solution.
WebWare (Italy)
We rely on RxDB to manage all our data in one place. Our custom store became unwieldy, so we switched to RxDB for schema migrations, real-time replication, conflict resolution, and reactive programming. Its push and pull handlers also integrate smoothly with our existing APIs.
myAgro (Africa)
We provide a mobile app that is used by people in the
- field to fill in valuable information like inspections,
- surveys and audits. Our users don't always have access to the internet, building from an Offline-first approach with RxDB allows us to have the data integrity we need without being online.
MoreApp (Germany)
We use RxDB to create applications capable of being
- used in the most remote areas where Internet access is
- really a challenge.
ALTGRAS (Guinea)
We use RxDB to provide an offline first, cross platform
- point of sale system. With RxDB we could create a web-, desktop- and mobile app using the same code base.
WooCommerce POS (Australia)
RxDB is a main component in building offline-ready
- multichannel apps. It has become our default stack for
- this kind of apps.
atroo GmbH (Germany)
With RxDB we have built an offline capable Progressive Web Application that is used by our borer operators to report on conditions at the mineface.
Nutrien (Canada)
We use RxDB because it works across multiple platforms and we need to store of a great deal of data, some users have tens of thousands of documents! RxDB was the only cross-platform, offline-first solution with good enough performance to meet our needs.
Readwise (USA)
We use RxDB for our offline-first inspection software. It ensures accurate data even under poor connectivity, while its single interface for multiple databases streamlines development. RxDB's flexibility also supports easy expansion to more platforms and environments.
SafeEx (Denmark)
We use RxDB in our global offline-first app for technicians. Its robust features and total control ensure reliable performance, even with poor connectivity, resulting in a seamless maintenance solution.
WebWare (Italy)
We rely on RxDB to manage all our data in one place. Our custom store became unwieldy, so we switched to RxDB for schema migrations, real-time replication, conflict resolution, and reactive programming. Its push and pull handlers also integrate smoothly with our existing APIs.
myAgro (Africa)
We provide a mobile app that is used by people in the
- field to fill in valuable information like inspections,
- surveys and audits. Our users don't always have access to the internet, building from an Offline-first approach with RxDB allows us to have the data integrity we need without being online.
MoreApp (Germany)
We use RxDB to create applications capable of being
- used in the most remote areas where Internet access is
- really a challenge.
ALTGRAS (Guinea)
We use RxDB to provide an offline first, cross platform
- point of sale system. With RxDB we could create a web-, desktop- and mobile app using the same code base.
WooCommerce POS (Australia)
RxDB is a main component in building offline-ready
- multichannel apps. It has become our default stack for
- this kind of apps.
atroo GmbH (Germany)
With RxDB we have built an offline capable Progressive Web Application that is used by our borer operators to report on conditions at the mineface.
RxDB uses JSON Schema, a format widely recognized by developers through tools like OpenAPI or Swagger. Because JSON Schema is so well-established, it integrates seamlessly with existing validators, editors, and development tooling, making schema design both simple and highly flexible.
A minimal RxDB schema might define fields, data types, and indexes in a fully declarative way. For example:
RxDB is a NoSQL database for JavaScript that runs directly in your app. With a local-first design, it delivers zero-latency queries even offline, and syncs seamlessly with many backends. With observable queries, your UI updates instantly as data changes.
RxDB adopts the local-first approach by storing data locally on the client and managing continuous synchronization. You can even run your app entirely without a backend.
We use RxDB because it works across multiple platforms and we need to store of a great deal of data, some users have tens of thousands of documents! RxDB was the only cross-platform, offline-first solution with good enough performance to meet our needs.
Readwise (USA)
We use RxDB for our offline-first inspection software. It ensures accurate data even under poor connectivity, while its single interface for multiple databases streamlines development. RxDB's flexibility also supports easy expansion to more platforms and environments.
SafeEx (Denmark)
We use RxDB in our global offline-first app for technicians. Its robust features and total control ensure reliable performance, even with poor connectivity, resulting in a seamless maintenance solution.
WebWare (Italy)
We rely on RxDB to manage all our data in one place. Our custom store became unwieldy, so we switched to RxDB for schema migrations, real-time replication, conflict resolution, and reactive programming. Its push and pull handlers also integrate smoothly with our existing APIs.
myAgro (Africa)
We provide a mobile app that is used by people in the
- field to fill in valuable information like inspections,
- surveys and audits. Our users don't always have access to the internet, building from an Offline-first approach with RxDB allows us to have the data integrity we need without being online.
MoreApp (Germany)
We use RxDB to create applications capable of being
- used in the most remote areas where Internet access is
- really a challenge.
ALTGRAS (Guinea)
We use RxDB to provide an offline first, cross platform
- point of sale system. With RxDB we could create a web-, desktop- and mobile app using the same code base.
WooCommerce POS (Australia)
RxDB is a main component in building offline-ready
- multichannel apps. It has become our default stack for
- this kind of apps.
atroo GmbH (Germany)
With RxDB we have built an offline capable Progressive Web Application that is used by our borer operators to report on conditions at the mineface.
Nutrien (Canada)
We use RxDB because it works across multiple platforms and we need to store of a great deal of data, some users have tens of thousands of documents! RxDB was the only cross-platform, offline-first solution with good enough performance to meet our needs.
Readwise (USA)
We use RxDB for our offline-first inspection software. It ensures accurate data even under poor connectivity, while its single interface for multiple databases streamlines development. RxDB's flexibility also supports easy expansion to more platforms and environments.
SafeEx (Denmark)
We use RxDB in our global offline-first app for technicians. Its robust features and total control ensure reliable performance, even with poor connectivity, resulting in a seamless maintenance solution.
WebWare (Italy)
We rely on RxDB to manage all our data in one place. Our custom store became unwieldy, so we switched to RxDB for schema migrations, real-time replication, conflict resolution, and reactive programming. Its push and pull handlers also integrate smoothly with our existing APIs.
myAgro (Africa)
We provide a mobile app that is used by people in the
- field to fill in valuable information like inspections,
- surveys and audits. Our users don't always have access to the internet, building from an Offline-first approach with RxDB allows us to have the data integrity we need without being online.
MoreApp (Germany)
We use RxDB to create applications capable of being
- used in the most remote areas where Internet access is
- really a challenge.
ALTGRAS (Guinea)
We use RxDB to provide an offline first, cross platform
- point of sale system. With RxDB we could create a web-, desktop- and mobile app using the same code base.
WooCommerce POS (Australia)
RxDB is a main component in building offline-ready
- multichannel apps. It has become our default stack for
- this kind of apps.
atroo GmbH (Germany)
With RxDB we have built an offline capable Progressive Web Application that is used by our borer operators to report on conditions at the mineface.
Nutrien (Canada)
We use RxDB because it works across multiple platforms and we need to store of a great deal of data, some users have tens of thousands of documents! RxDB was the only cross-platform, offline-first solution with good enough performance to meet our needs.
Readwise (USA)
We use RxDB for our offline-first inspection software. It ensures accurate data even under poor connectivity, while its single interface for multiple databases streamlines development. RxDB's flexibility also supports easy expansion to more platforms and environments.
SafeEx (Denmark)
We use RxDB in our global offline-first app for technicians. Its robust features and total control ensure reliable performance, even with poor connectivity, resulting in a seamless maintenance solution.
WebWare (Italy)
We rely on RxDB to manage all our data in one place. Our custom store became unwieldy, so we switched to RxDB for schema migrations, real-time replication, conflict resolution, and reactive programming. Its push and pull handlers also integrate smoothly with our existing APIs.
myAgro (Africa)
We provide a mobile app that is used by people in the
- field to fill in valuable information like inspections,
- surveys and audits. Our users don't always have access to the internet, building from an Offline-first approach with RxDB allows us to have the data integrity we need without being online.
MoreApp (Germany)
We use RxDB to create applications capable of being
- used in the most remote areas where Internet access is
- really a challenge.
ALTGRAS (Guinea)
We use RxDB to provide an offline first, cross platform
- point of sale system. With RxDB we could create a web-, desktop- and mobile app using the same code base.
WooCommerce POS (Australia)
RxDB is a main component in building offline-ready
- multichannel apps. It has become our default stack for
- this kind of apps.
atroo GmbH (Germany)
With RxDB we have built an offline capable Progressive Web Application that is used by our borer operators to report on conditions at the mineface.
RxDB uses JSON Schema, a format widely recognized by developers through tools like OpenAPI or Swagger. Because JSON Schema is so well-established, it integrates seamlessly with existing validators, editors, and development tooling, making schema design both simple and highly flexible.
A minimal RxDB schema might define fields, data types, and indexes in a fully declarative way. For example:
RxDB is a NoSQL database for JavaScript that runs directly in your app. With a local-first design, it delivers zero-latency queries even offline, and syncs seamlessly with many backends. With observable queries, your UI updates instantly as data changes.
RxDB adopts the local-first approach by storing data locally on the client and managing continuous synchronization. You can even run your app entirely without a backend.
We use RxDB because it works across multiple platforms and we need to store of a great deal of data, some users have tens of thousands of documents! RxDB was the only cross-platform, offline-first solution with good enough performance to meet our needs.
Readwise (USA)
We use RxDB for our offline-first inspection software. It ensures accurate data even under poor connectivity, while its single interface for multiple databases streamlines development. RxDB's flexibility also supports easy expansion to more platforms and environments.
SafeEx (Denmark)
We use RxDB in our global offline-first app for technicians. Its robust features and total control ensure reliable performance, even with poor connectivity, resulting in a seamless maintenance solution.
WebWare (Italy)
We rely on RxDB to manage all our data in one place. Our custom store became unwieldy, so we switched to RxDB for schema migrations, real-time replication, conflict resolution, and reactive programming. Its push and pull handlers also integrate smoothly with our existing APIs.
myAgro (Africa)
We provide a mobile app that is used by people in the
- field to fill in valuable information like inspections,
- surveys and audits. Our users don't always have access to the internet, building from an Offline-first approach with RxDB allows us to have the data integrity we need without being online.
MoreApp (Germany)
We use RxDB to create applications capable of being
- used in the most remote areas where Internet access is
- really a challenge.
ALTGRAS (Guinea)
We use RxDB to provide an offline first, cross platform
- point of sale system. With RxDB we could create a web-, desktop- and mobile app using the same code base.
WooCommerce POS (Australia)
RxDB is a main component in building offline-ready
- multichannel apps. It has become our default stack for
- this kind of apps.
atroo GmbH (Germany)
With RxDB we have built an offline capable Progressive Web Application that is used by our borer operators to report on conditions at the mineface.
Nutrien (Canada)
We use RxDB because it works across multiple platforms and we need to store of a great deal of data, some users have tens of thousands of documents! RxDB was the only cross-platform, offline-first solution with good enough performance to meet our needs.
Readwise (USA)
We use RxDB for our offline-first inspection software. It ensures accurate data even under poor connectivity, while its single interface for multiple databases streamlines development. RxDB's flexibility also supports easy expansion to more platforms and environments.
SafeEx (Denmark)
We use RxDB in our global offline-first app for technicians. Its robust features and total control ensure reliable performance, even with poor connectivity, resulting in a seamless maintenance solution.
WebWare (Italy)
We rely on RxDB to manage all our data in one place. Our custom store became unwieldy, so we switched to RxDB for schema migrations, real-time replication, conflict resolution, and reactive programming. Its push and pull handlers also integrate smoothly with our existing APIs.
myAgro (Africa)
We provide a mobile app that is used by people in the
- field to fill in valuable information like inspections,
- surveys and audits. Our users don't always have access to the internet, building from an Offline-first approach with RxDB allows us to have the data integrity we need without being online.
MoreApp (Germany)
We use RxDB to create applications capable of being
- used in the most remote areas where Internet access is
- really a challenge.
ALTGRAS (Guinea)
We use RxDB to provide an offline first, cross platform
- point of sale system. With RxDB we could create a web-, desktop- and mobile app using the same code base.
WooCommerce POS (Australia)
RxDB is a main component in building offline-ready
- multichannel apps. It has become our default stack for
- this kind of apps.
atroo GmbH (Germany)
With RxDB we have built an offline capable Progressive Web Application that is used by our borer operators to report on conditions at the mineface.
Nutrien (Canada)
We use RxDB because it works across multiple platforms and we need to store of a great deal of data, some users have tens of thousands of documents! RxDB was the only cross-platform, offline-first solution with good enough performance to meet our needs.
Readwise (USA)
We use RxDB for our offline-first inspection software. It ensures accurate data even under poor connectivity, while its single interface for multiple databases streamlines development. RxDB's flexibility also supports easy expansion to more platforms and environments.
SafeEx (Denmark)
We use RxDB in our global offline-first app for technicians. Its robust features and total control ensure reliable performance, even with poor connectivity, resulting in a seamless maintenance solution.
WebWare (Italy)
We rely on RxDB to manage all our data in one place. Our custom store became unwieldy, so we switched to RxDB for schema migrations, real-time replication, conflict resolution, and reactive programming. Its push and pull handlers also integrate smoothly with our existing APIs.
myAgro (Africa)
We provide a mobile app that is used by people in the
- field to fill in valuable information like inspections,
- surveys and audits. Our users don't always have access to the internet, building from an Offline-first approach with RxDB allows us to have the data integrity we need without being online.
MoreApp (Germany)
We use RxDB to create applications capable of being
- used in the most remote areas where Internet access is
- really a challenge.
ALTGRAS (Guinea)
We use RxDB to provide an offline first, cross platform
- point of sale system. With RxDB we could create a web-, desktop- and mobile app using the same code base.
WooCommerce POS (Australia)
RxDB is a main component in building offline-ready
- multichannel apps. It has become our default stack for
- this kind of apps.
atroo GmbH (Germany)
With RxDB we have built an offline capable Progressive Web Application that is used by our borer operators to report on conditions at the mineface.
RxDB uses JSON Schema, a format widely recognized by developers through tools like OpenAPI or Swagger. Because JSON Schema is so well-established, it integrates seamlessly with existing validators, editors, and development tooling, making schema design both simple and highly flexible.
A minimal RxDB schema might define fields, data types, and indexes in a fully declarative way. For example:
RxDB is a NoSQL database for JavaScript that runs directly in your app. With a local-first design, it delivers zero-latency queries even offline, and syncs seamlessly with many backends. With observable queries, your UI updates instantly as data changes.
RxDB's easy-to-use Sync Engine powers realtime synchronization between React clients and servers. Either use one of our prebuild replication plugins...
RxDB adopts the local-first approach by storing data locally on the React client and managing continuous synchronization. You can even run your app entirely without a backend.
We use RxDB because it works across multiple platforms and we need to store of a great deal of data, some users have tens of thousands of documents! RxDB was the only cross-platform, offline-first solution with good enough performance to meet our needs.
Readwise (USA)
We use RxDB for our offline-first inspection software. It ensures accurate data even under poor connectivity, while its single interface for multiple databases streamlines development. RxDB's flexibility also supports easy expansion to more platforms and environments.
SafeEx (Denmark)
We use RxDB in our global offline-first app for technicians. Its robust features and total control ensure reliable performance, even with poor connectivity, resulting in a seamless maintenance solution.
WebWare (Italy)
We rely on RxDB to manage all our data in one place. Our custom store became unwieldy, so we switched to RxDB for schema migrations, real-time replication, conflict resolution, and reactive programming. Its push and pull handlers also integrate smoothly with our existing APIs.
myAgro (Africa)
We provide a mobile app that is used by people in the
- field to fill in valuable information like inspections,
- surveys and audits. Our users don't always have access to the internet, building from an Offline-first approach with RxDB allows us to have the data integrity we need without being online.
MoreApp (Germany)
We use RxDB to create applications capable of being
- used in the most remote areas where Internet access is
- really a challenge.
ALTGRAS (Guinea)
We use RxDB to provide an offline first, cross platform
- point of sale system. With RxDB we could create a web-, desktop- and mobile app using the same code base.
WooCommerce POS (Australia)
RxDB is a main component in building offline-ready
- multichannel apps. It has become our default stack for
- this kind of apps.
atroo GmbH (Germany)
With RxDB we have built an offline capable Progressive Web Application that is used by our borer operators to report on conditions at the mineface.
Nutrien (Canada)
We use RxDB because it works across multiple platforms and we need to store of a great deal of data, some users have tens of thousands of documents! RxDB was the only cross-platform, offline-first solution with good enough performance to meet our needs.
Readwise (USA)
We use RxDB for our offline-first inspection software. It ensures accurate data even under poor connectivity, while its single interface for multiple databases streamlines development. RxDB's flexibility also supports easy expansion to more platforms and environments.
SafeEx (Denmark)
We use RxDB in our global offline-first app for technicians. Its robust features and total control ensure reliable performance, even with poor connectivity, resulting in a seamless maintenance solution.
WebWare (Italy)
We rely on RxDB to manage all our data in one place. Our custom store became unwieldy, so we switched to RxDB for schema migrations, real-time replication, conflict resolution, and reactive programming. Its push and pull handlers also integrate smoothly with our existing APIs.
myAgro (Africa)
We provide a mobile app that is used by people in the
- field to fill in valuable information like inspections,
- surveys and audits. Our users don't always have access to the internet, building from an Offline-first approach with RxDB allows us to have the data integrity we need without being online.
MoreApp (Germany)
We use RxDB to create applications capable of being
- used in the most remote areas where Internet access is
- really a challenge.
ALTGRAS (Guinea)
We use RxDB to provide an offline first, cross platform
- point of sale system. With RxDB we could create a web-, desktop- and mobile app using the same code base.
WooCommerce POS (Australia)
RxDB is a main component in building offline-ready
- multichannel apps. It has become our default stack for
- this kind of apps.
atroo GmbH (Germany)
With RxDB we have built an offline capable Progressive Web Application that is used by our borer operators to report on conditions at the mineface.
Nutrien (Canada)
We use RxDB because it works across multiple platforms and we need to store of a great deal of data, some users have tens of thousands of documents! RxDB was the only cross-platform, offline-first solution with good enough performance to meet our needs.
Readwise (USA)
We use RxDB for our offline-first inspection software. It ensures accurate data even under poor connectivity, while its single interface for multiple databases streamlines development. RxDB's flexibility also supports easy expansion to more platforms and environments.
SafeEx (Denmark)
We use RxDB in our global offline-first app for technicians. Its robust features and total control ensure reliable performance, even with poor connectivity, resulting in a seamless maintenance solution.
WebWare (Italy)
We rely on RxDB to manage all our data in one place. Our custom store became unwieldy, so we switched to RxDB for schema migrations, real-time replication, conflict resolution, and reactive programming. Its push and pull handlers also integrate smoothly with our existing APIs.
myAgro (Africa)
We provide a mobile app that is used by people in the
- field to fill in valuable information like inspections,
- surveys and audits. Our users don't always have access to the internet, building from an Offline-first approach with RxDB allows us to have the data integrity we need without being online.
MoreApp (Germany)
We use RxDB to create applications capable of being
- used in the most remote areas where Internet access is
- really a challenge.
ALTGRAS (Guinea)
We use RxDB to provide an offline first, cross platform
- point of sale system. With RxDB we could create a web-, desktop- and mobile app using the same code base.
WooCommerce POS (Australia)
RxDB is a main component in building offline-ready
- multichannel apps. It has become our default stack for
- this kind of apps.
atroo GmbH (Germany)
With RxDB we have built an offline capable Progressive Web Application that is used by our borer operators to report on conditions at the mineface.
RxDB uses JSON Schema, a format widely recognized by developers through tools like OpenAPI or Swagger. Because JSON Schema is so well-established, it integrates seamlessly with existing validators, editors, and development tooling, making schema design both simple and highly flexible.
A minimal RxDB schema might define fields, data types, and indexes in a fully declarative way. For example:
The easiest way to store and sync Data in React Native
RxDB is a NoSQL database for JavaScript that runs directly in your app. With a local-first design, it delivers zero-latency queries even offline, and syncs seamlessly with many backends. With observable queries, your UI updates instantly as data changes.
RxDB's easy-to-use Sync Engine powers realtime synchronization between React Native clients and servers. Either use one of our prebuild replication plugins...
RxDB adopts the local-first approach by storing data locally on the React Native client and managing continuous synchronization. You can even run your app entirely without a backend.
We use RxDB because it works across multiple platforms and we need to store of a great deal of data, some users have tens of thousands of documents! RxDB was the only cross-platform, offline-first solution with good enough performance to meet our needs.
Readwise (USA)
We use RxDB for our offline-first inspection software. It ensures accurate data even under poor connectivity, while its single interface for multiple databases streamlines development. RxDB's flexibility also supports easy expansion to more platforms and environments.
SafeEx (Denmark)
We use RxDB in our global offline-first app for technicians. Its robust features and total control ensure reliable performance, even with poor connectivity, resulting in a seamless maintenance solution.
WebWare (Italy)
We rely on RxDB to manage all our data in one place. Our custom store became unwieldy, so we switched to RxDB for schema migrations, real-time replication, conflict resolution, and reactive programming. Its push and pull handlers also integrate smoothly with our existing APIs.
myAgro (Africa)
We provide a mobile app that is used by people in the
- field to fill in valuable information like inspections,
- surveys and audits. Our users don't always have access to the internet, building from an Offline-first approach with RxDB allows us to have the data integrity we need without being online.
MoreApp (Germany)
We use RxDB to create applications capable of being
- used in the most remote areas where Internet access is
- really a challenge.
ALTGRAS (Guinea)
We use RxDB to provide an offline first, cross platform
- point of sale system. With RxDB we could create a web-, desktop- and mobile app using the same code base.
WooCommerce POS (Australia)
RxDB is a main component in building offline-ready
- multichannel apps. It has become our default stack for
- this kind of apps.
atroo GmbH (Germany)
With RxDB we have built an offline capable Progressive Web Application that is used by our borer operators to report on conditions at the mineface.
Nutrien (Canada)
We use RxDB because it works across multiple platforms and we need to store of a great deal of data, some users have tens of thousands of documents! RxDB was the only cross-platform, offline-first solution with good enough performance to meet our needs.
Readwise (USA)
We use RxDB for our offline-first inspection software. It ensures accurate data even under poor connectivity, while its single interface for multiple databases streamlines development. RxDB's flexibility also supports easy expansion to more platforms and environments.
SafeEx (Denmark)
We use RxDB in our global offline-first app for technicians. Its robust features and total control ensure reliable performance, even with poor connectivity, resulting in a seamless maintenance solution.
WebWare (Italy)
We rely on RxDB to manage all our data in one place. Our custom store became unwieldy, so we switched to RxDB for schema migrations, real-time replication, conflict resolution, and reactive programming. Its push and pull handlers also integrate smoothly with our existing APIs.
myAgro (Africa)
We provide a mobile app that is used by people in the
- field to fill in valuable information like inspections,
- surveys and audits. Our users don't always have access to the internet, building from an Offline-first approach with RxDB allows us to have the data integrity we need without being online.
MoreApp (Germany)
We use RxDB to create applications capable of being
- used in the most remote areas where Internet access is
- really a challenge.
ALTGRAS (Guinea)
We use RxDB to provide an offline first, cross platform
- point of sale system. With RxDB we could create a web-, desktop- and mobile app using the same code base.
WooCommerce POS (Australia)
RxDB is a main component in building offline-ready
- multichannel apps. It has become our default stack for
- this kind of apps.
atroo GmbH (Germany)
With RxDB we have built an offline capable Progressive Web Application that is used by our borer operators to report on conditions at the mineface.
Nutrien (Canada)
We use RxDB because it works across multiple platforms and we need to store of a great deal of data, some users have tens of thousands of documents! RxDB was the only cross-platform, offline-first solution with good enough performance to meet our needs.
Readwise (USA)
We use RxDB for our offline-first inspection software. It ensures accurate data even under poor connectivity, while its single interface for multiple databases streamlines development. RxDB's flexibility also supports easy expansion to more platforms and environments.
SafeEx (Denmark)
We use RxDB in our global offline-first app for technicians. Its robust features and total control ensure reliable performance, even with poor connectivity, resulting in a seamless maintenance solution.
WebWare (Italy)
We rely on RxDB to manage all our data in one place. Our custom store became unwieldy, so we switched to RxDB for schema migrations, real-time replication, conflict resolution, and reactive programming. Its push and pull handlers also integrate smoothly with our existing APIs.
myAgro (Africa)
We provide a mobile app that is used by people in the
- field to fill in valuable information like inspections,
- surveys and audits. Our users don't always have access to the internet, building from an Offline-first approach with RxDB allows us to have the data integrity we need without being online.
MoreApp (Germany)
We use RxDB to create applications capable of being
- used in the most remote areas where Internet access is
- really a challenge.
ALTGRAS (Guinea)
We use RxDB to provide an offline first, cross platform
- point of sale system. With RxDB we could create a web-, desktop- and mobile app using the same code base.
WooCommerce POS (Australia)
RxDB is a main component in building offline-ready
- multichannel apps. It has become our default stack for
- this kind of apps.
atroo GmbH (Germany)
With RxDB we have built an offline capable Progressive Web Application that is used by our borer operators to report on conditions at the mineface.
RxDB uses JSON Schema, a format widely recognized by developers through tools like OpenAPI or Swagger. Because JSON Schema is so well-established, it integrates seamlessly with existing validators, editors, and development tooling, making schema design both simple and highly flexible.
A minimal RxDB schema might define fields, data types, and indexes in a fully declarative way. For example:
RxDB is a NoSQL database for JavaScript that runs directly in your app. With a local-first design, it delivers zero-latency queries even offline, and syncs seamlessly with many backends. With observable queries, your UI updates instantly as data changes.
RxDB's easy-to-use Sync Engine powers realtime synchronization between Angular clients and servers. Either use one of our prebuild replication plugins...
RxDB adopts the local-first approach by storing data locally on the Angular client and managing continuous synchronization. You can even run your app entirely without a backend.
We use RxDB because it works across multiple platforms and we need to store of a great deal of data, some users have tens of thousands of documents! RxDB was the only cross-platform, offline-first solution with good enough performance to meet our needs.
Readwise (USA)
We use RxDB for our offline-first inspection software. It ensures accurate data even under poor connectivity, while its single interface for multiple databases streamlines development. RxDB's flexibility also supports easy expansion to more platforms and environments.
SafeEx (Denmark)
We use RxDB in our global offline-first app for technicians. Its robust features and total control ensure reliable performance, even with poor connectivity, resulting in a seamless maintenance solution.
WebWare (Italy)
We rely on RxDB to manage all our data in one place. Our custom store became unwieldy, so we switched to RxDB for schema migrations, real-time replication, conflict resolution, and reactive programming. Its push and pull handlers also integrate smoothly with our existing APIs.
myAgro (Africa)
We provide a mobile app that is used by people in the
- field to fill in valuable information like inspections,
- surveys and audits. Our users don't always have access to the internet, building from an Offline-first approach with RxDB allows us to have the data integrity we need without being online.
MoreApp (Germany)
We use RxDB to create applications capable of being
- used in the most remote areas where Internet access is
- really a challenge.
ALTGRAS (Guinea)
We use RxDB to provide an offline first, cross platform
- point of sale system. With RxDB we could create a web-, desktop- and mobile app using the same code base.
WooCommerce POS (Australia)
RxDB is a main component in building offline-ready
- multichannel apps. It has become our default stack for
- this kind of apps.
atroo GmbH (Germany)
With RxDB we have built an offline capable Progressive Web Application that is used by our borer operators to report on conditions at the mineface.
Nutrien (Canada)
We use RxDB because it works across multiple platforms and we need to store of a great deal of data, some users have tens of thousands of documents! RxDB was the only cross-platform, offline-first solution with good enough performance to meet our needs.
Readwise (USA)
We use RxDB for our offline-first inspection software. It ensures accurate data even under poor connectivity, while its single interface for multiple databases streamlines development. RxDB's flexibility also supports easy expansion to more platforms and environments.
SafeEx (Denmark)
We use RxDB in our global offline-first app for technicians. Its robust features and total control ensure reliable performance, even with poor connectivity, resulting in a seamless maintenance solution.
WebWare (Italy)
We rely on RxDB to manage all our data in one place. Our custom store became unwieldy, so we switched to RxDB for schema migrations, real-time replication, conflict resolution, and reactive programming. Its push and pull handlers also integrate smoothly with our existing APIs.
myAgro (Africa)
We provide a mobile app that is used by people in the
- field to fill in valuable information like inspections,
- surveys and audits. Our users don't always have access to the internet, building from an Offline-first approach with RxDB allows us to have the data integrity we need without being online.
MoreApp (Germany)
We use RxDB to create applications capable of being
- used in the most remote areas where Internet access is
- really a challenge.
ALTGRAS (Guinea)
We use RxDB to provide an offline first, cross platform
- point of sale system. With RxDB we could create a web-, desktop- and mobile app using the same code base.
WooCommerce POS (Australia)
RxDB is a main component in building offline-ready
- multichannel apps. It has become our default stack for
- this kind of apps.
atroo GmbH (Germany)
With RxDB we have built an offline capable Progressive Web Application that is used by our borer operators to report on conditions at the mineface.
Nutrien (Canada)
We use RxDB because it works across multiple platforms and we need to store of a great deal of data, some users have tens of thousands of documents! RxDB was the only cross-platform, offline-first solution with good enough performance to meet our needs.
Readwise (USA)
We use RxDB for our offline-first inspection software. It ensures accurate data even under poor connectivity, while its single interface for multiple databases streamlines development. RxDB's flexibility also supports easy expansion to more platforms and environments.
SafeEx (Denmark)
We use RxDB in our global offline-first app for technicians. Its robust features and total control ensure reliable performance, even with poor connectivity, resulting in a seamless maintenance solution.
WebWare (Italy)
We rely on RxDB to manage all our data in one place. Our custom store became unwieldy, so we switched to RxDB for schema migrations, real-time replication, conflict resolution, and reactive programming. Its push and pull handlers also integrate smoothly with our existing APIs.
myAgro (Africa)
We provide a mobile app that is used by people in the
- field to fill in valuable information like inspections,
- surveys and audits. Our users don't always have access to the internet, building from an Offline-first approach with RxDB allows us to have the data integrity we need without being online.
MoreApp (Germany)
We use RxDB to create applications capable of being
- used in the most remote areas where Internet access is
- really a challenge.
ALTGRAS (Guinea)
We use RxDB to provide an offline first, cross platform
- point of sale system. With RxDB we could create a web-, desktop- and mobile app using the same code base.
WooCommerce POS (Australia)
RxDB is a main component in building offline-ready
- multichannel apps. It has become our default stack for
- this kind of apps.
atroo GmbH (Germany)
With RxDB we have built an offline capable Progressive Web Application that is used by our borer operators to report on conditions at the mineface.
RxDB uses JSON Schema, a format widely recognized by developers through tools like OpenAPI or Swagger. Because JSON Schema is so well-established, it integrates seamlessly with existing validators, editors, and development tooling, making schema design both simple and highly flexible.
A minimal RxDB schema might define fields, data types, and indexes in a fully declarative way. For example:
RxDB is a NoSQL database for JavaScript that runs directly in your app. With a local-first design, it delivers zero-latency queries even offline, and syncs seamlessly with many backends. With observable queries, your UI updates instantly as data changes.
RxDB's easy-to-use Sync Engine powers realtime synchronization between Svelte clients and servers. Either use one of our prebuild replication plugins...
RxDB adopts the local-first approach by storing data locally on the Svelte client and managing continuous synchronization. You can even run your app entirely without a backend.
We use RxDB because it works across multiple platforms and we need to store of a great deal of data, some users have tens of thousands of documents! RxDB was the only cross-platform, offline-first solution with good enough performance to meet our needs.
Readwise (USA)
We use RxDB for our offline-first inspection software. It ensures accurate data even under poor connectivity, while its single interface for multiple databases streamlines development. RxDB's flexibility also supports easy expansion to more platforms and environments.
SafeEx (Denmark)
We use RxDB in our global offline-first app for technicians. Its robust features and total control ensure reliable performance, even with poor connectivity, resulting in a seamless maintenance solution.
WebWare (Italy)
We rely on RxDB to manage all our data in one place. Our custom store became unwieldy, so we switched to RxDB for schema migrations, real-time replication, conflict resolution, and reactive programming. Its push and pull handlers also integrate smoothly with our existing APIs.
myAgro (Africa)
We provide a mobile app that is used by people in the
- field to fill in valuable information like inspections,
- surveys and audits. Our users don't always have access to the internet, building from an Offline-first approach with RxDB allows us to have the data integrity we need without being online.
MoreApp (Germany)
We use RxDB to create applications capable of being
- used in the most remote areas where Internet access is
- really a challenge.
ALTGRAS (Guinea)
We use RxDB to provide an offline first, cross platform
- point of sale system. With RxDB we could create a web-, desktop- and mobile app using the same code base.
WooCommerce POS (Australia)
RxDB is a main component in building offline-ready
- multichannel apps. It has become our default stack for
- this kind of apps.
atroo GmbH (Germany)
With RxDB we have built an offline capable Progressive Web Application that is used by our borer operators to report on conditions at the mineface.
Nutrien (Canada)
We use RxDB because it works across multiple platforms and we need to store of a great deal of data, some users have tens of thousands of documents! RxDB was the only cross-platform, offline-first solution with good enough performance to meet our needs.
Readwise (USA)
We use RxDB for our offline-first inspection software. It ensures accurate data even under poor connectivity, while its single interface for multiple databases streamlines development. RxDB's flexibility also supports easy expansion to more platforms and environments.
SafeEx (Denmark)
We use RxDB in our global offline-first app for technicians. Its robust features and total control ensure reliable performance, even with poor connectivity, resulting in a seamless maintenance solution.
WebWare (Italy)
We rely on RxDB to manage all our data in one place. Our custom store became unwieldy, so we switched to RxDB for schema migrations, real-time replication, conflict resolution, and reactive programming. Its push and pull handlers also integrate smoothly with our existing APIs.
myAgro (Africa)
We provide a mobile app that is used by people in the
- field to fill in valuable information like inspections,
- surveys and audits. Our users don't always have access to the internet, building from an Offline-first approach with RxDB allows us to have the data integrity we need without being online.
MoreApp (Germany)
We use RxDB to create applications capable of being
- used in the most remote areas where Internet access is
- really a challenge.
ALTGRAS (Guinea)
We use RxDB to provide an offline first, cross platform
- point of sale system. With RxDB we could create a web-, desktop- and mobile app using the same code base.
WooCommerce POS (Australia)
RxDB is a main component in building offline-ready
- multichannel apps. It has become our default stack for
- this kind of apps.
atroo GmbH (Germany)
With RxDB we have built an offline capable Progressive Web Application that is used by our borer operators to report on conditions at the mineface.
Nutrien (Canada)
We use RxDB because it works across multiple platforms and we need to store of a great deal of data, some users have tens of thousands of documents! RxDB was the only cross-platform, offline-first solution with good enough performance to meet our needs.
Readwise (USA)
We use RxDB for our offline-first inspection software. It ensures accurate data even under poor connectivity, while its single interface for multiple databases streamlines development. RxDB's flexibility also supports easy expansion to more platforms and environments.
SafeEx (Denmark)
We use RxDB in our global offline-first app for technicians. Its robust features and total control ensure reliable performance, even with poor connectivity, resulting in a seamless maintenance solution.
WebWare (Italy)
We rely on RxDB to manage all our data in one place. Our custom store became unwieldy, so we switched to RxDB for schema migrations, real-time replication, conflict resolution, and reactive programming. Its push and pull handlers also integrate smoothly with our existing APIs.
myAgro (Africa)
We provide a mobile app that is used by people in the
- field to fill in valuable information like inspections,
- surveys and audits. Our users don't always have access to the internet, building from an Offline-first approach with RxDB allows us to have the data integrity we need without being online.
MoreApp (Germany)
We use RxDB to create applications capable of being
- used in the most remote areas where Internet access is
- really a challenge.
ALTGRAS (Guinea)
We use RxDB to provide an offline first, cross platform
- point of sale system. With RxDB we could create a web-, desktop- and mobile app using the same code base.
WooCommerce POS (Australia)
RxDB is a main component in building offline-ready
- multichannel apps. It has become our default stack for
- this kind of apps.
atroo GmbH (Germany)
With RxDB we have built an offline capable Progressive Web Application that is used by our borer operators to report on conditions at the mineface.
RxDB uses JSON Schema, a format widely recognized by developers through tools like OpenAPI or Swagger. Because JSON Schema is so well-established, it integrates seamlessly with existing validators, editors, and development tooling, making schema design both simple and highly flexible.
A minimal RxDB schema might define fields, data types, and indexes in a fully declarative way. For example:
RxDB is a NoSQL database for JavaScript that runs directly in your app. With a local-first design, it delivers zero-latency queries even offline, and syncs seamlessly with many backends. With observable queries, your UI updates instantly as data changes.
RxDB's easy-to-use Sync Engine powers realtime synchronization between Vue.js clients and servers. Either use one of our prebuild replication plugins...
RxDB adopts the local-first approach by storing data locally on the Vue.js client and managing continuous synchronization. You can even run your app entirely without a backend.
We use RxDB because it works across multiple platforms and we need to store of a great deal of data, some users have tens of thousands of documents! RxDB was the only cross-platform, offline-first solution with good enough performance to meet our needs.
Readwise (USA)
We use RxDB for our offline-first inspection software. It ensures accurate data even under poor connectivity, while its single interface for multiple databases streamlines development. RxDB's flexibility also supports easy expansion to more platforms and environments.
SafeEx (Denmark)
We use RxDB in our global offline-first app for technicians. Its robust features and total control ensure reliable performance, even with poor connectivity, resulting in a seamless maintenance solution.
WebWare (Italy)
We rely on RxDB to manage all our data in one place. Our custom store became unwieldy, so we switched to RxDB for schema migrations, real-time replication, conflict resolution, and reactive programming. Its push and pull handlers also integrate smoothly with our existing APIs.
myAgro (Africa)
We provide a mobile app that is used by people in the
- field to fill in valuable information like inspections,
- surveys and audits. Our users don't always have access to the internet, building from an Offline-first approach with RxDB allows us to have the data integrity we need without being online.
MoreApp (Germany)
We use RxDB to create applications capable of being
- used in the most remote areas where Internet access is
- really a challenge.
ALTGRAS (Guinea)
We use RxDB to provide an offline first, cross platform
- point of sale system. With RxDB we could create a web-, desktop- and mobile app using the same code base.
WooCommerce POS (Australia)
RxDB is a main component in building offline-ready
- multichannel apps. It has become our default stack for
- this kind of apps.
atroo GmbH (Germany)
With RxDB we have built an offline capable Progressive Web Application that is used by our borer operators to report on conditions at the mineface.
Nutrien (Canada)
We use RxDB because it works across multiple platforms and we need to store of a great deal of data, some users have tens of thousands of documents! RxDB was the only cross-platform, offline-first solution with good enough performance to meet our needs.
Readwise (USA)
We use RxDB for our offline-first inspection software. It ensures accurate data even under poor connectivity, while its single interface for multiple databases streamlines development. RxDB's flexibility also supports easy expansion to more platforms and environments.
SafeEx (Denmark)
We use RxDB in our global offline-first app for technicians. Its robust features and total control ensure reliable performance, even with poor connectivity, resulting in a seamless maintenance solution.
WebWare (Italy)
We rely on RxDB to manage all our data in one place. Our custom store became unwieldy, so we switched to RxDB for schema migrations, real-time replication, conflict resolution, and reactive programming. Its push and pull handlers also integrate smoothly with our existing APIs.
myAgro (Africa)
We provide a mobile app that is used by people in the
- field to fill in valuable information like inspections,
- surveys and audits. Our users don't always have access to the internet, building from an Offline-first approach with RxDB allows us to have the data integrity we need without being online.
MoreApp (Germany)
We use RxDB to create applications capable of being
- used in the most remote areas where Internet access is
- really a challenge.
ALTGRAS (Guinea)
We use RxDB to provide an offline first, cross platform
- point of sale system. With RxDB we could create a web-, desktop- and mobile app using the same code base.
WooCommerce POS (Australia)
RxDB is a main component in building offline-ready
- multichannel apps. It has become our default stack for
- this kind of apps.
atroo GmbH (Germany)
With RxDB we have built an offline capable Progressive Web Application that is used by our borer operators to report on conditions at the mineface.
Nutrien (Canada)
We use RxDB because it works across multiple platforms and we need to store of a great deal of data, some users have tens of thousands of documents! RxDB was the only cross-platform, offline-first solution with good enough performance to meet our needs.
Readwise (USA)
We use RxDB for our offline-first inspection software. It ensures accurate data even under poor connectivity, while its single interface for multiple databases streamlines development. RxDB's flexibility also supports easy expansion to more platforms and environments.
SafeEx (Denmark)
We use RxDB in our global offline-first app for technicians. Its robust features and total control ensure reliable performance, even with poor connectivity, resulting in a seamless maintenance solution.
WebWare (Italy)
We rely on RxDB to manage all our data in one place. Our custom store became unwieldy, so we switched to RxDB for schema migrations, real-time replication, conflict resolution, and reactive programming. Its push and pull handlers also integrate smoothly with our existing APIs.
myAgro (Africa)
We provide a mobile app that is used by people in the
- field to fill in valuable information like inspections,
- surveys and audits. Our users don't always have access to the internet, building from an Offline-first approach with RxDB allows us to have the data integrity we need without being online.
MoreApp (Germany)
We use RxDB to create applications capable of being
- used in the most remote areas where Internet access is
- really a challenge.
ALTGRAS (Guinea)
We use RxDB to provide an offline first, cross platform
- point of sale system. With RxDB we could create a web-, desktop- and mobile app using the same code base.
WooCommerce POS (Australia)
RxDB is a main component in building offline-ready
- multichannel apps. It has become our default stack for
- this kind of apps.
atroo GmbH (Germany)
With RxDB we have built an offline capable Progressive Web Application that is used by our borer operators to report on conditions at the mineface.
RxDB uses JSON Schema, a format widely recognized by developers through tools like OpenAPI or Swagger. Because JSON Schema is so well-established, it integrates seamlessly with existing validators, editors, and development tooling, making schema design both simple and highly flexible.
A minimal RxDB schema might define fields, data types, and indexes in a fully declarative way. For example:
RxDB is a NoSQL database for JavaScript that runs directly in your app. With a local-first design, it delivers zero-latency queries even offline, and syncs seamlessly with many backends. With observable queries, your UI updates instantly as data changes.
RxDB adopts the local-first approach by storing data locally on the client and managing continuous synchronization. You can even run your app entirely without a backend.
We use RxDB because it works across multiple platforms and we need to store of a great deal of data, some users have tens of thousands of documents! RxDB was the only cross-platform, offline-first solution with good enough performance to meet our needs.
Readwise (USA)
We use RxDB for our offline-first inspection software. It ensures accurate data even under poor connectivity, while its single interface for multiple databases streamlines development. RxDB's flexibility also supports easy expansion to more platforms and environments.
SafeEx (Denmark)
We use RxDB in our global offline-first app for technicians. Its robust features and total control ensure reliable performance, even with poor connectivity, resulting in a seamless maintenance solution.
WebWare (Italy)
We rely on RxDB to manage all our data in one place. Our custom store became unwieldy, so we switched to RxDB for schema migrations, real-time replication, conflict resolution, and reactive programming. Its push and pull handlers also integrate smoothly with our existing APIs.
myAgro (Africa)
We provide a mobile app that is used by people in the
- field to fill in valuable information like inspections,
- surveys and audits. Our users don't always have access to the internet, building from an Offline-first approach with RxDB allows us to have the data integrity we need without being online.
MoreApp (Germany)
We use RxDB to create applications capable of being
- used in the most remote areas where Internet access is
- really a challenge.
ALTGRAS (Guinea)
We use RxDB to provide an offline first, cross platform
- point of sale system. With RxDB we could create a web-, desktop- and mobile app using the same code base.
WooCommerce POS (Australia)
RxDB is a main component in building offline-ready
- multichannel apps. It has become our default stack for
- this kind of apps.
atroo GmbH (Germany)
With RxDB we have built an offline capable Progressive Web Application that is used by our borer operators to report on conditions at the mineface.
Nutrien (Canada)
We use RxDB because it works across multiple platforms and we need to store of a great deal of data, some users have tens of thousands of documents! RxDB was the only cross-platform, offline-first solution with good enough performance to meet our needs.
Readwise (USA)
We use RxDB for our offline-first inspection software. It ensures accurate data even under poor connectivity, while its single interface for multiple databases streamlines development. RxDB's flexibility also supports easy expansion to more platforms and environments.
SafeEx (Denmark)
We use RxDB in our global offline-first app for technicians. Its robust features and total control ensure reliable performance, even with poor connectivity, resulting in a seamless maintenance solution.
WebWare (Italy)
We rely on RxDB to manage all our data in one place. Our custom store became unwieldy, so we switched to RxDB for schema migrations, real-time replication, conflict resolution, and reactive programming. Its push and pull handlers also integrate smoothly with our existing APIs.
myAgro (Africa)
We provide a mobile app that is used by people in the
- field to fill in valuable information like inspections,
- surveys and audits. Our users don't always have access to the internet, building from an Offline-first approach with RxDB allows us to have the data integrity we need without being online.
MoreApp (Germany)
We use RxDB to create applications capable of being
- used in the most remote areas where Internet access is
- really a challenge.
ALTGRAS (Guinea)
We use RxDB to provide an offline first, cross platform
- point of sale system. With RxDB we could create a web-, desktop- and mobile app using the same code base.
WooCommerce POS (Australia)
RxDB is a main component in building offline-ready
- multichannel apps. It has become our default stack for
- this kind of apps.
atroo GmbH (Germany)
With RxDB we have built an offline capable Progressive Web Application that is used by our borer operators to report on conditions at the mineface.
Nutrien (Canada)
We use RxDB because it works across multiple platforms and we need to store of a great deal of data, some users have tens of thousands of documents! RxDB was the only cross-platform, offline-first solution with good enough performance to meet our needs.
Readwise (USA)
We use RxDB for our offline-first inspection software. It ensures accurate data even under poor connectivity, while its single interface for multiple databases streamlines development. RxDB's flexibility also supports easy expansion to more platforms and environments.
SafeEx (Denmark)
We use RxDB in our global offline-first app for technicians. Its robust features and total control ensure reliable performance, even with poor connectivity, resulting in a seamless maintenance solution.
WebWare (Italy)
We rely on RxDB to manage all our data in one place. Our custom store became unwieldy, so we switched to RxDB for schema migrations, real-time replication, conflict resolution, and reactive programming. Its push and pull handlers also integrate smoothly with our existing APIs.
myAgro (Africa)
We provide a mobile app that is used by people in the
- field to fill in valuable information like inspections,
- surveys and audits. Our users don't always have access to the internet, building from an Offline-first approach with RxDB allows us to have the data integrity we need without being online.
MoreApp (Germany)
We use RxDB to create applications capable of being
- used in the most remote areas where Internet access is
- really a challenge.
ALTGRAS (Guinea)
We use RxDB to provide an offline first, cross platform
- point of sale system. With RxDB we could create a web-, desktop- and mobile app using the same code base.
WooCommerce POS (Australia)
RxDB is a main component in building offline-ready
- multichannel apps. It has become our default stack for
- this kind of apps.
atroo GmbH (Germany)
With RxDB we have built an offline capable Progressive Web Application that is used by our borer operators to report on conditions at the mineface.
RxDB uses JSON Schema, a format widely recognized by developers through tools like OpenAPI or Swagger. Because JSON Schema is so well-established, it integrates seamlessly with existing validators, editors, and development tooling, making schema design both simple and highly flexible.
A minimal RxDB schema might define fields, data types, and indexes in a fully declarative way. For example:
Thank you for submitting the form. You will directly get a confirmation email. Please check your spam folder!. In the next 24 hours you will get a full answer via email.
-
-
\ No newline at end of file
diff --git a/docs/sitemap.xml b/docs/sitemap.xml
deleted file mode 100644
index d5e32fe2d34..00000000000
--- a/docs/sitemap.xml
+++ /dev/null
@@ -1 +0,0 @@
-https://rxdb.info/chatweekly0.5https://rxdb.info/codeweekly0.5https://rxdb.info/consultingweekly0.5https://rxdb.info/demo-submittedweekly0.5https://rxdb.info/licenseweekly0.5https://rxdb.info/markdown-pageweekly0.5https://rxdb.info/meetingweekly0.5https://rxdb.info/meeting-paidweekly0.5https://rxdb.info/meeting-paid-starterweekly0.5https://rxdb.info/newsletterweekly0.5https://rxdb.info/premiumweekly0.5https://rxdb.info/premium-submittedweekly0.5https://rxdb.info/sem/angular-databaseweekly0.5https://rxdb.info/sem/browser-databaseweekly0.5https://rxdb.info/sem/capacitor-databaseweekly0.5https://rxdb.info/sem/electron-databaseweekly0.5https://rxdb.info/sem/expo-databaseweekly0.5https://rxdb.info/sem/firestore-alternativeweekly0.5https://rxdb.info/sem/gadsweekly0.5https://rxdb.info/sem/indexeddb-databaseweekly0.5https://rxdb.info/sem/indexeddb-database-2weekly0.5https://rxdb.info/sem/ionic-databaseweekly0.5https://rxdb.info/sem/localstorage-databaseweekly0.5https://rxdb.info/sem/nedb-alternativeweekly0.5https://rxdb.info/sem/nodejs-databaseweekly0.5https://rxdb.info/sem/nosql-databaseweekly0.5https://rxdb.info/sem/pouchdb-alternativeweekly0.5https://rxdb.info/sem/react-databaseweekly0.5https://rxdb.info/sem/react-native-databaseweekly0.5https://rxdb.info/sem/redditweekly0.5https://rxdb.info/sem/svelte-databaseweekly0.5https://rxdb.info/sem/vue-databaseweekly0.5https://rxdb.info/sem/watermelondb-alternativeweekly0.5https://rxdb.info/service-submittedweekly0.5https://rxdb.info/surveyweekly0.5https://rxdb.info/weekly0.5https://rxdb.info/adapters.htmlweekly0.5https://rxdb.info/alternatives.htmlweekly0.5https://rxdb.info/articles/angular-database.htmlweekly0.5https://rxdb.info/articles/angular-indexeddb.htmlweekly0.5https://rxdb.info/articles/browser-database.htmlweekly0.5https://rxdb.info/articles/browser-storage.htmlweekly0.5https://rxdb.info/articles/data-base.htmlweekly0.5https://rxdb.info/articles/embedded-database.htmlweekly0.5https://rxdb.info/articles/firebase-realtime-database-alternative.htmlweekly0.5https://rxdb.info/articles/firestore-alternative.htmlweekly0.5https://rxdb.info/articles/flutter-database.htmlweekly0.5https://rxdb.info/articles/frontend-database.htmlweekly0.5https://rxdb.info/articles/ideasweekly0.5https://rxdb.info/articles/in-memory-nosql-database.htmlweekly0.5https://rxdb.info/articles/indexeddb-max-storage-limit.htmlweekly0.5https://rxdb.info/articles/ionic-database.htmlweekly0.5https://rxdb.info/articles/ionic-storage.htmlweekly0.5https://rxdb.info/articles/javascript-vector-database.htmlweekly0.5https://rxdb.info/articles/jquery-database.htmlweekly0.5https://rxdb.info/articles/json-based-database.htmlweekly0.5https://rxdb.info/articles/json-database.htmlweekly0.5https://rxdb.info/articles/local-database.htmlweekly0.5https://rxdb.info/articles/local-first-future.htmlweekly0.5https://rxdb.info/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm.htmlweekly0.5https://rxdb.info/articles/localstorage.htmlweekly0.5https://rxdb.info/articles/mobile-database.htmlweekly0.5https://rxdb.info/articles/offline-database.htmlweekly0.5https://rxdb.info/articles/optimistic-ui.htmlweekly0.5https://rxdb.info/articles/progressive-web-app-database.htmlweekly0.5https://rxdb.info/articles/react-database.htmlweekly0.5https://rxdb.info/articles/react-indexeddb.htmlweekly0.5https://rxdb.info/articles/react-native-encryption.htmlweekly0.5https://rxdb.info/articles/reactjs-storage.htmlweekly0.5https://rxdb.info/articles/realtime-database.htmlweekly0.5https://rxdb.info/articles/vue-database.htmlweekly0.5https://rxdb.info/articles/vue-indexeddb.htmlweekly0.5https://rxdb.info/articles/websockets-sse-polling-webrtc-webtransport.htmlweekly0.5https://rxdb.info/articles/zero-latency-local-first.htmlweekly0.5https://rxdb.info/backup.htmlweekly0.5https://rxdb.info/capacitor-database.htmlweekly0.5https://rxdb.info/cleanup.htmlweekly0.5https://rxdb.info/contribution.htmlweekly0.5https://rxdb.info/crdt.htmlweekly0.5https://rxdb.info/data-migration.htmlweekly0.5https://rxdb.info/dev-mode.htmlweekly0.5https://rxdb.info/downsides-of-offline-first.htmlweekly0.5https://rxdb.info/electron-database.htmlweekly0.5https://rxdb.info/electron.htmlweekly0.5https://rxdb.info/encryption.htmlweekly0.5https://rxdb.info/errors.htmlweekly0.5https://rxdb.info/fulltext-search.htmlweekly0.5https://rxdb.info/install.htmlweekly0.5https://rxdb.info/key-compression.htmlweekly0.5https://rxdb.info/leader-election.htmlweekly0.5https://rxdb.info/logger.htmlweekly0.5https://rxdb.info/middleware.htmlweekly0.5https://rxdb.info/migration-schema.htmlweekly0.5https://rxdb.info/migration-storage.htmlweekly0.5https://rxdb.info/nodejs-database.htmlweekly0.5https://rxdb.info/nosql-performance-tips.htmlweekly0.5https://rxdb.info/offline-first.htmlweekly0.5https://rxdb.info/orm.htmlweekly0.5https://rxdb.info/overview.htmlweekly0.5https://rxdb.info/plugins.htmlweekly0.5https://rxdb.info/population.htmlweekly0.5https://rxdb.info/query-cache.htmlweekly0.5https://rxdb.info/query-optimizer.htmlweekly0.5https://rxdb.info/quickstart.htmlweekly0.5https://rxdb.info/react-native-database.htmlweekly0.5https://rxdb.info/react.htmlweekly0.5https://rxdb.info/reactivity.htmlweekly0.5https://rxdb.info/releases/10.0.0.htmlweekly0.5https://rxdb.info/releases/11.0.0.htmlweekly0.5https://rxdb.info/releases/12.0.0.htmlweekly0.5https://rxdb.info/releases/13.0.0.htmlweekly0.5https://rxdb.info/releases/14.0.0.htmlweekly0.5https://rxdb.info/releases/15.0.0.htmlweekly0.5https://rxdb.info/releases/16.0.0.htmlweekly0.5https://rxdb.info/releases/17.0.0.htmlweekly0.5https://rxdb.info/releases/8.0.0.htmlweekly0.5https://rxdb.info/releases/9.0.0.htmlweekly0.5https://rxdb.info/replication-appwrite.htmlweekly0.5https://rxdb.info/replication-couchdb.htmlweekly0.5https://rxdb.info/replication-firestore.htmlweekly0.5https://rxdb.info/replication-graphql.htmlweekly0.5https://rxdb.info/replication-http.htmlweekly0.5https://rxdb.info/replication-mongodb.htmlweekly0.5https://rxdb.info/replication-nats.htmlweekly0.5https://rxdb.info/replication-p2p.htmlweekly0.5https://rxdb.info/replication-server.htmlweekly0.5https://rxdb.info/replication-supabase.htmlweekly0.5https://rxdb.info/replication-webrtc.htmlweekly0.5https://rxdb.info/replication-websocket.htmlweekly0.5https://rxdb.info/replication.htmlweekly0.5https://rxdb.info/rx-attachment.htmlweekly0.5https://rxdb.info/rx-collection.htmlweekly0.5https://rxdb.info/rx-database.htmlweekly0.5https://rxdb.info/rx-document.htmlweekly0.5https://rxdb.info/rx-local-document.htmlweekly0.5https://rxdb.info/rx-pipeline.htmlweekly0.5https://rxdb.info/rx-query.htmlweekly0.5https://rxdb.info/rx-schema.htmlweekly0.5https://rxdb.info/rx-server-scaling.htmlweekly0.5https://rxdb.info/rx-server.htmlweekly0.5https://rxdb.info/rx-state.htmlweekly0.5https://rxdb.info/rx-storage-denokv.htmlweekly0.5https://rxdb.info/rx-storage-dexie.htmlweekly0.5https://rxdb.info/rx-storage-filesystem-node.htmlweekly0.5https://rxdb.info/rx-storage-foundationdb.htmlweekly0.5https://rxdb.info/rx-storage-indexeddb.htmlweekly0.5https://rxdb.info/rx-storage-localstorage-meta-optimizer.htmlweekly0.5https://rxdb.info/rx-storage-localstorage.htmlweekly0.5https://rxdb.info/rx-storage-lokijs.htmlweekly0.5https://rxdb.info/rx-storage-memory-mapped.htmlweekly0.5https://rxdb.info/rx-storage-memory-synced.htmlweekly0.5https://rxdb.info/rx-storage-memory.htmlweekly0.5https://rxdb.info/rx-storage-mongodb.htmlweekly0.5https://rxdb.info/rx-storage-opfs.htmlweekly0.5https://rxdb.info/rx-storage-performance.htmlweekly0.5https://rxdb.info/rx-storage-pouchdb.htmlweekly0.5https://rxdb.info/rx-storage-remote.htmlweekly0.5https://rxdb.info/rx-storage-sharding.htmlweekly0.5https://rxdb.info/rx-storage-shared-worker.htmlweekly0.5https://rxdb.info/rx-storage-sqlite.htmlweekly0.5https://rxdb.info/rx-storage-worker.htmlweekly0.5https://rxdb.info/rx-storage.htmlweekly0.5https://rxdb.info/rxdb-tradeoffs.htmlweekly0.5https://rxdb.info/schema-validation.htmlweekly0.5https://rxdb.info/slow-indexeddb.htmlweekly0.5https://rxdb.info/third-party-plugins.htmlweekly0.5https://rxdb.info/transactions-conflicts-revisions.htmlweekly0.5https://rxdb.info/tutorials/typescript.htmlweekly0.5https://rxdb.info/why-nosql.htmlweekly0.5
\ No newline at end of file
diff --git a/docs/slow-indexeddb.html b/docs/slow-indexeddb.html
deleted file mode 100644
index 8cbcf74721e..00000000000
--- a/docs/slow-indexeddb.html
+++ /dev/null
@@ -1,223 +0,0 @@
-
-
-
-
-
-Solving IndexedDB Slowness for Seamless Apps | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
So you have a JavaScript web application that needs to store data at the client side, either to make it offline usable, just for caching purposes or for other reasons.
Cookies are sent with each HTTP request, so you cannot store more than a few strings in them.
-
WebSQLis deprecated because it never was a real standard and turning it into a standard would have been too difficult.
-
LocalStorage is a synchronous API over asynchronous IO-access. Storing and reading data can fully block the JavaScript process so you cannot use LocalStorage for more than few simple key-value pairs.
-
The FileSystem API could be used to store plain binary files, but it is only supported in chrome for now.
-
IndexedDB is an indexed key-object database. It can store json data and iterate over its indexes. It is widely supported and stable.
-
-
UPDATE April 2023
Since beginning of 2023, all modern browsers ship the File System Access API which allows to persistently store data in the browser with a way better performance. For RxDB you can use the OPFS RxStorage to get about 4x performance improvement compared to IndexedDB.
-
It becomes clear that the only way to go is IndexedDB. You start developing your app and everything goes fine.
-But as soon as your app gets bigger, more complex or just handles more data, you might notice something. IndexedDB is slow. Not slow like a database on a cheap server, even slower! Inserting a few hundred documents can take up several seconds. Time which can be critical for a fast page load. Even sending data over the internet to the backend can be faster than storing it inside of an IndexedDB database.
-
-
Transactions vs Throughput
-
-
So before we start complaining, lets analyze what exactly is slow. When you run tests on Nolans Browser Database Comparison you can see that inserting 1k documents into IndexedDB takes about 80 milliseconds, 0.08ms per document. This is not really slow. It is quite fast and it is very unlikely that you want to store that many document at the same time at the client side. But the key point here is that all these documents get written in a single transaction.
-
I forked the comparison tool here and changed it to use one transaction per document write. And there we have it. Inserting 1k documents with one transaction per write, takes about 2 seconds. Interestingly if we increase the document size to be 100x bigger, it still takes about the same time to store them. This makes clear that the limiting factor to IndexedDB performance is the transaction handling, not the data throughput.
-
-
To fix your IndexedDB performance problems you have to make sure to use as less data transfers/transactions as possible.
-Sometimes this is easy, as instead of iterating over a documents list and calling single inserts, with RxDB you could use the bulk methods to store many document at once.
-But most of the time is not so easy. Your user clicks around, data gets replicated from the backend, another browser tab writes data. All these things can happen at random time and you cannot crunch all that data in a single transaction.
-
Another solution is to just not care about performance at all. In a few releases the browser vendors will have optimized IndexedDB and everything is fast again. Well, IndexedDB was slow in 2013 and it is still slow today. If this trend continues, it will still be slow in a few years from now. Waiting is not an option. The chromium devs made a statement to focus on optimizing read performance, not write performance.
-
Switching to WebSQL (even if it is deprecated) is also not an option because, like the comparison tool shows, it has even slower transactions.
-
So you need a way to make IndexedDB faster. In the following I lay out some performance optimizations than can be made to have faster reads and writes in IndexedDB.
-
HINT: You can reproduce all performance tests in this repo. In all tests we work on a dataset of 40000 human documents with a random age between 1 and 100.
With IndexedDB 2.0, new methods were introduced which can be utilized to improve performance. With the getAll() method, a faster alternative to the old openCursor() can be created which improves performance when reading data from the IndexedDB store.
-
Lets say we want to query all user documents that have an age greater than 25 out of the store.
-To implement a fast batched cursor that only needs calls to getAll() and not to getAllKeys(), we first need to create an age index that contains the primary id as last field.
This is required because the age field is not unique, and we need a way to checkpoint the last returned batch so we can continue from there in the next call to getAll().
-
const maxAge = 25;
-let result = [];
-const tx: IDBTransaction = db.transaction([storeName], 'readonly', TRANSACTION_SETTINGS);
-const store = tx.objectStore(storeName);
-const index = store.index('age-index');
-let lastDoc;
-let done = false;
-/**
- * Run the batched cursor until all results are retrieved
- * or the end of the index is reached.
- */
-while (done === false) {
- await new Promise((res, rej) => {
- const range = IDBKeyRange.bound(
- /**
- * If we have a previous document as checkpoint,
- * we have to continue from it's age and id values.
- */
- [
- lastDoc ? lastDoc.age : -Infinity,
- lastDoc ? lastDoc.id : -Infinity,
- ],
- [
- maxAge + 0.00000001,
- String.fromCharCode(65535)
- ],
- true,
- false
- );
- const openCursorRequest = index.getAll(range, batchSize);
- openCursorRequest.onerror = err => rej(err);
- openCursorRequest.onsuccess = e => {
- const subResult: TestDocument[] = e.target.result;
- lastDoc = lastOfArray(subResult);
- if (subResult.length === 0) {
- done = true;
- } else {
- result = result.concat(subResult);
- }
- res();
- };
- });
-}
-console.dir(result);
-
-
As the performance test results show, using a batched cursor can give a huge improvement. Interestingly choosing a high batch size is important. When you known that all results of a given IDBKeyRange are needed, you should not set a batch size at all and just directly query all documents via getAll().
Sharding is a technique, normally used in server side databases, where the database is partitioned horizontally. Instead of storing all documents at one table/collection, the documents are split into so called shards and each shard is stored on one table/collection. This is done in server side architectures to spread the load between multiple physical servers which increases scalability.
-
When you use IndexedDB in a browser, there is of course no way to split the load between the client and other servers. But you can still benefit from sharding. Partitioning the documents horizontally into multiple IndexedDB stores, has shown to have a big performance improvement in write- and read operations while only increasing initial pageload slightly.
-
-
As shown in the performance test results, sharding should always be done by IDBObjectStore and not by database. Running a batched cursor over the whole dataset with 10 store shards in parallel is about 28% faster then running it over a single store. Initialization time increases minimal from 9 to 17 milliseconds.
-Getting a quarter of the dataset by batched iterating over an index, is even 43% faster with sharding then when a single store is queried.
-
As downside, getting 10k documents by their id is slower when it has to run over the shards.
-Also it can be much effort to recombined the results from the different shards into the required query result. When a query without a limit is done, the sharding method might cause a data load huge overhead.
Indexes improve the query performance of IndexedDB significant. Instead of fetching all data from the storage when you search for a subset of it, you can iterate over the index and stop iterating when all relevant data has been found.
-
For example to query for all user documents that have an age greater than 25, you would create an age+id index.
-To be able to run a batched cursor over the index, we always need our primary key (id) as the last index field.
-
Instead of doing this, you can use a custom index which can improve the performance. The custom index runs over a helper field ageIdCustomIndex which is added to each document on write. Our index now only contains a single string field instead of two (age-number and id-string).
-
// On document insert add the ageIdCustomIndex field.
-const idMaxLength = 20; // must be known to craft a custom index
-docData.ageIdCustomIndex = docData.age + docData.id.padStart(idMaxLength, ' ');
-store.put(docData);
-// ...
-
// normal index
-myIndexedDBObjectStore.createIndex(
- 'age-index',
- [
- 'age',
- 'id'
- ]
-);
-
-// custom index
-myIndexedDBObjectStore.createIndex(
- 'age-index-custom',
- [
- 'ageIdCustomIndex'
- ]
-);
-
-
To iterate over the index, you also use a custom crafted keyrange, depending on the last batched cursor checkpoint. Therefore the maxLength of id must be known.
-
// keyrange for normal index
-const range = IDBKeyRange.bound(
- [25, ''],
- [Infinity, Infinity],
- true,
- false
-);
-
-// keyrange for custom index
-const range = IDBKeyRange.bound(
- // combine both values to a single string
- 25 + ''.padStart(idMaxLength, ' '),
- Infinity,
- true,
- false
-);
-
-
As shown, using a custom index can further improve the performance of running a batched cursor by about 10%.
-
Another big benefit of using custom indexes, is that you can also encode boolean values in them, which cannot be done with normal IndexedDB indexes.
Chromium based browsers allow to set durability to relaxed when creating an IndexedDB transaction. Which runs the transaction in a less secure durability mode, which can improve the performance.
-
-
The user agent may consider that the transaction has successfully committed as soon as all outstanding changes have been written to the operating system, without subsequent verification.
-
-
As shown here, using the relaxed durability mode can improve performance slightly. The best performance improvement could be measured when many small transactions have to be run. Less, bigger transaction do not benefit that much.
By explicitly committing a transaction, another slight performance improvement can be achieved. Instead of waiting for the browser to commit an open transaction, we call the commit() method to explicitly close it.
-
// .commit() is not available on all browsers, so first check if it exists.
-if (transaction.commit) {
- transaction.commit()
-}
-
The improvement of this technique is minimal, but observable as these tests show.
To prevent transaction handling and to fix the performance problems, we need to stop using IndexedDB as a database. Instead all data is loaded into the memory on the initial page load. Here all reads and writes happen in memory which is about 100x faster. Only some time after a write occurred, the memory state is persisted into IndexedDB with a single write transaction. In this scenario IndexedDB is used as a filesystem, not as a database.
One downside of not directly using IndexedDB, is that your data is not persistent all the time. And when the JavaScript process exists without having persisted to IndexedDB, data can be lost. To prevent this from happening, we have to ensure that the in-memory state is written down to the disc. One point is make persisting as fast as possible. LokiJS for example has the incremental-indexeddb-adapter which only saves new writes to the disc instead of persisting the whole state. Another point is to run the persisting at the correct point in time. For example the RxDB LokiJS storage persists in the following situations:
-
-
When the database is idle and no write or query is running. In that time we can persist the state if any new writes appeared before.
-
When the window fires the beforeunload event we can assume that the JavaScript process is exited any moment and we have to persist the state. After beforeunload there are several seconds time which are sufficient to store all new changes. This has shown to work quite reliable.
-
-
The only missing event that can happen is when the browser exists unexpectedly like when it crashes or when the power of the computer is shut of.
One big difference between a web application and a 'normal' app, is that your users can use the app in multiple browser tabs at the same time. But when you have all database state in memory and only periodically write it to disc, multiple browser tabs could overwrite each other and you would loose data. This might not be a problem when you rely on a client-server replication, because the lost data might already be replicated with the backend and therefore with the other tabs. But this would not work when the client is offline.
-
The ideal way to solve that problem, is to use a SharedWorker. A SharedWorker is like a WebWorker that runs its own JavaScript process only that the SharedWorker is shared between multiple contexts. You could create the database in the SharedWorker and then all browser tabs could request the Worker for data instead of having their own database. But unfortunately the SharedWorker API does not work in all browsers. Safari dropped its support and InternetExplorer or Android Chrome, never adopted it. Also it cannot be polyfilled. UPDATE:Apple added SharedWorkers back in Safari 142
-
Instead, we could use the BroadcastChannel API to communicate between tabs and then apply a leader election between them. The leader election ensures that, no matter how many tabs are open, always one tab is the Leader.
-
-
The disadvantage is that the leader election process takes some time on the initial page load (about 150 milliseconds). Also the leader election can break when a JavaScript process is fully blocked for a longer time. When this happens, a good way is to just reload the browser tab to restart the election process.
-
-
\ No newline at end of file
diff --git a/docs/slow-indexeddb.md b/docs/slow-indexeddb.md
deleted file mode 100644
index 2cb0bbe7edf..00000000000
--- a/docs/slow-indexeddb.md
+++ /dev/null
@@ -1,263 +0,0 @@
-# Solving IndexedDB Slowness for Seamless Apps
-
-> Struggling with IndexedDB performance? Discover hidden bottlenecks, advanced tuning techniques, and next-gen storage like the File System Access API.
-
-# Why IndexedDB is slow and what to use instead
-
-So you have a JavaScript web application that needs to store data at the client side, either to make it [offline usable](./offline-first.md), just for caching purposes or for other reasons.
-
-For [in-browser data storage](./articles/browser-database.md), you have some options:
-
-- **Cookies** are sent with each HTTP request, so you cannot store more than a few strings in them.
-- **WebSQL** [is deprecated](https://hacks.mozilla.org/2010/06/beyond-html5-database-apis-and-the-road-to-indexeddb/) because it never was a real standard and turning it into a standard would have been too difficult.
-- [LocalStorage](./articles/localstorage.md) is a synchronous API over asynchronous IO-access. Storing and reading data can fully block the JavaScript process so you cannot use LocalStorage for more than few simple key-value pairs.
-- The **FileSystem API** could be used to store plain binary files, but it is [only supported in chrome](https://caniuse.com/filesystem) for now.
-- **IndexedDB** is an indexed key-object database. It can store json data and iterate over its indexes. It is [widely supported](https://caniuse.com/indexeddb) and stable.
-
-:::note UPDATE April 2023
-Since beginning of 2023, all modern browsers ship the **File System Access API** which allows to persistently store data in the browser with a way better performance. For [RxDB](https://rxdb.info/) you can use the [OPFS RxStorage](./rx-storage-opfs.md) to get about 4x performance improvement compared to IndexedDB.
-
-
-
-
-
-
-:::
-
-It becomes clear that the only way to go is IndexedDB. You start developing your app and everything goes fine.
-But as soon as your app gets bigger, more complex or just handles more data, you might notice something. **IndexedDB is slow**. Not slow like a database on a cheap server, **even slower**! Inserting a few hundred documents can take up several seconds. Time which can be critical for a fast page load. Even sending data over the internet to the backend can be faster than storing it inside of an IndexedDB database.
-
-> Transactions vs Throughput
-
-So before we start complaining, lets analyze what exactly is slow. When you run tests on Nolans [Browser Database Comparison](http://nolanlawson.github.io/database-comparison/) you can see that inserting 1k documents into IndexedDB takes about 80 milliseconds, 0.08ms per document. This is not really slow. It is quite fast and it is very unlikely that you want to store that many document at the same time at the client side. But the key point here is that all these documents get written in a `single transaction`.
-
-I forked the comparison tool [here](https://pubkey.github.io/client-side-databases/database-comparison/index.html) and changed it to use one transaction per document write. And there we have it. Inserting 1k documents with one transaction per write, takes about 2 seconds. Interestingly if we increase the document size to be 100x bigger, it still takes about the same time to store them. This makes clear that the limiting factor to IndexedDB performance is the transaction handling, not the data throughput.
-
-
-
-To fix your IndexedDB performance problems you have to make sure to use as less data transfers/transactions as possible.
-Sometimes this is easy, as instead of iterating over a documents list and calling single inserts, with RxDB you could use the [bulk methods](https://rxdb.info/rx-collection.html#bulkinsert) to store many document at once.
-But most of the time is not so easy. Your user clicks around, data gets replicated from the backend, another browser tab writes data. All these things can happen at random time and you cannot crunch all that data in a single transaction.
-
-Another solution is to just not care about performance at all. In a few releases the browser vendors will have optimized IndexedDB and everything is fast again. Well, IndexedDB was slow [in 2013](https://www.researchgate.net/publication/281065948_Performance_Testing_and_Comparison_of_Client_Side_Databases_Versus_Server_Side) and it is still slow today. If this trend continues, it will still be slow in a few years from now. Waiting is not an option. The chromium devs made [a statement](https://bugs.chromium.org/p/chromium/issues/detail?id=1025456#c15) to focus on optimizing read performance, not write performance.
-
-Switching to WebSQL (even if it is deprecated) is also not an option because, like [the comparison tool shows](https://pubkey.github.io/client-side-databases/database-comparison/index.html), it has even slower transactions.
-
-So you need a way to **make IndexedDB faster**. In the following I lay out some performance optimizations than can be made to have faster reads and writes in IndexedDB.
-
-**HINT:** You can reproduce all performance tests [in this repo](https://github.com/pubkey/indexeddb-performance-tests). In all tests we work on a dataset of 40000 `human` documents with a random `age` between `1` and `100`.
-
-## Batched Cursor
-
-With [IndexedDB 2.0](https://caniuse.com/indexeddb2), new methods were introduced which can be utilized to improve performance. With the `getAll()` method, a faster alternative to the old `openCursor()` can be created which improves performance when reading data from the IndexedDB store.
-
-Lets say we want to query all user documents that have an `age` greater than `25` out of the store.
-To implement a fast batched cursor that only needs calls to `getAll()` and not to `getAllKeys()`, we first need to create an `age` index that contains the primary `id` as last field.
-
-```ts
-myIndexedDBObjectStore.createIndex(
- 'age-index',
- [
- 'age',
- 'id'
- ]
-);
-```
-
-This is required because the `age` field is not unique, and we need a way to checkpoint the last returned batch so we can continue from there in the next call to `getAll()`.
-
-```ts
-const maxAge = 25;
-let result = [];
-const tx: IDBTransaction = db.transaction([storeName], 'readonly', TRANSACTION_SETTINGS);
-const store = tx.objectStore(storeName);
-const index = store.index('age-index');
-let lastDoc;
-let done = false;
-/**
- * Run the batched cursor until all results are retrieved
- * or the end of the index is reached.
- */
-while (done === false) {
- await new Promise((res, rej) => {
- const range = IDBKeyRange.bound(
- /**
- * If we have a previous document as checkpoint,
- * we have to continue from it's age and id values.
- */
- [
- lastDoc ? lastDoc.age : -Infinity,
- lastDoc ? lastDoc.id : -Infinity,
- ],
- [
- maxAge + 0.00000001,
- String.fromCharCode(65535)
- ],
- true,
- false
- );
- const openCursorRequest = index.getAll(range, batchSize);
- openCursorRequest.onerror = err => rej(err);
- openCursorRequest.onsuccess = e => {
- const subResult: TestDocument[] = e.target.result;
- lastDoc = lastOfArray(subResult);
- if (subResult.length === 0) {
- done = true;
- } else {
- result = result.concat(subResult);
- }
- res();
- };
- });
-}
-console.dir(result);
-```
-
-
-
-As the performance test results show, using a batched cursor can give a huge improvement. Interestingly choosing a high batch size is important. When you known that all results of a given `IDBKeyRange` are needed, you should not set a batch size at all and just directly query all documents via `getAll()`.
-
-RxDB uses batched cursors in the [IndexedDB RxStorage](./rx-storage-indexeddb.md).
-
-## IndexedDB Sharding
-
-Sharding is a technique, normally used in server side databases, where the database is partitioned horizontally. Instead of storing all documents at one table/collection, the documents are split into so called **shards** and each shard is stored on one table/collection. This is done in server side architectures to spread the load between multiple physical servers which **increases scalability**.
-
-When you use IndexedDB in a browser, there is of course no way to split the load between the client and other servers. But you can still benefit from sharding. Partitioning the documents horizontally into **multiple IndexedDB stores**, has shown to have a big performance improvement in write- and read operations while only increasing initial pageload slightly.
-
-
-
-As shown in the performance test results, sharding should always be done by `IDBObjectStore` and not by database. Running a batched cursor over the whole dataset with 10 store shards in parallel is about **28% faster** then running it over a single store. Initialization time increases minimal from `9` to `17` milliseconds.
-Getting a quarter of the dataset by batched iterating over an index, is even **43%** faster with sharding then when a single store is queried.
-
-As downside, getting 10k documents by their id is slower when it has to run over the shards.
-Also it can be much effort to recombined the results from the different shards into the required query result. When a query without a limit is done, the sharding method might cause a data load huge overhead.
-
-Sharding can be used with RxDB with the [Sharding Plugin](./rx-storage-sharding.md).
-
-## Custom Indexes
-
-Indexes improve the query performance of IndexedDB significant. Instead of fetching all data from the storage when you search for a subset of it, you can iterate over the index and stop iterating when all relevant data has been found.
-
-For example to query for all user documents that have an `age` greater than `25`, you would create an `age+id` index.
-To be able to run a batched cursor over the index, we always need our primary key (`id`) as the last index field.
-
-Instead of doing this, you can use a `custom index` which can improve the performance. The custom index runs over a helper field `ageIdCustomIndex` which is added to each document on write. Our index now only contains a single `string` field instead of two (age-`number` and id-`string`).
-
-```ts
-// On document insert add the ageIdCustomIndex field.
-const idMaxLength = 20; // must be known to craft a custom index
-docData.ageIdCustomIndex = docData.age + docData.id.padStart(idMaxLength, ' ');
-store.put(docData);
-// ...
-```
-
-```ts
-// normal index
-myIndexedDBObjectStore.createIndex(
- 'age-index',
- [
- 'age',
- 'id'
- ]
-);
-
-// custom index
-myIndexedDBObjectStore.createIndex(
- 'age-index-custom',
- [
- 'ageIdCustomIndex'
- ]
-);
-
-```
-
-To iterate over the index, you also use a custom crafted keyrange, depending on the last batched cursor checkpoint. Therefore the `maxLength` of `id` must be known.
-
-```ts
-// keyrange for normal index
-const range = IDBKeyRange.bound(
- [25, ''],
- [Infinity, Infinity],
- true,
- false
-);
-
-// keyrange for custom index
-const range = IDBKeyRange.bound(
- // combine both values to a single string
- 25 + ''.padStart(idMaxLength, ' '),
- Infinity,
- true,
- false
-);
-```
-
-
-
-As shown, using a custom index can further improve the performance of running a batched cursor by about `10%`.
-
-Another big benefit of using custom indexes, is that you can also encode `boolean` values in them, which [cannot be done](https://github.com/w3c/IndexedDB/issues/76) with normal IndexedDB indexes.
-
-RxDB uses custom indexes in the [IndexedDB RxStorage](./rx-storage-indexeddb.md).
-
-## Relaxed durability
-
-Chromium based browsers allow to set [durability](https://developer.mozilla.org/en-US/docs/Web/API/IDBTransaction/durability) to `relaxed` when creating an IndexedDB transaction. Which runs the transaction in a less secure durability mode, which can improve the performance.
-
-> The user agent may consider that the transaction has successfully committed as soon as all outstanding changes have been written to the operating system, without subsequent verification.
-
-As shown [here](https://nolanlawson.com/2021/08/22/speeding-up-indexeddb-reads-and-writes/), using the relaxed durability mode can improve performance slightly. The best performance improvement could be measured when many small transactions have to be run. Less, bigger transaction do not benefit that much.
-
-## Explicit transaction commits
-
-By explicitly committing a transaction, another slight performance improvement can be achieved. Instead of waiting for the browser to commit an open transaction, we call the `commit()` method to explicitly close it.
-
-```ts
-// .commit() is not available on all browsers, so first check if it exists.
-if (transaction.commit) {
- transaction.commit()
-}
-```
-
-The improvement of this technique is minimal, but observable as [these tests](https://nolanlawson.com/2021/08/22/speeding-up-indexeddb-reads-and-writes/) show.
-
-## In-Memory on top of IndexedDB
-
-To prevent transaction handling and to fix the performance problems, we need to stop using IndexedDB as a database. Instead all data is loaded into the memory on the initial page load. Here all reads and writes happen in memory which is about 100x faster. Only some time after a write occurred, the memory state is persisted into IndexedDB with a **single write transaction**. In this scenario IndexedDB is used as a filesystem, not as a database.
-
-There are some libraries that already do that:
-
-- LokiJS with the [IndexedDB Adapter](https://techfort.github.io/LokiJS/LokiIndexedAdapter.html)
-- [Absurd-SQL](https://github.com/jlongster/absurd-sql)
-- SQL.js with the [empscripten Filesystem API](https://emscripten.org/docs/api_reference/Filesystem-API.html#filesystem-api-idbfs)
-- [DuckDB Wasm](https://duckdb.org/2021/10/29/duckdb-wasm.html)
-
-### In-Memory: Persistence
-
-One downside of not directly using IndexedDB, is that your data is not persistent all the time. And when the JavaScript process exists without having persisted to IndexedDB, data can be lost. To prevent this from happening, we have to ensure that the in-memory state is written down to the disc. One point is make persisting as fast as possible. LokiJS for example has the `incremental-indexeddb-adapter` which only saves new writes to the disc instead of persisting the whole state. Another point is to run the persisting at the correct point in time. For example the RxDB [LokiJS storage](https://rxdb.info/rx-storage-lokijs.html) persists in the following situations:
-
-- When the database is idle and no write or query is running. In that time we can persist the state if any new writes appeared before.
-- When the `window` fires the [beforeunload event](https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onbeforeunload) we can assume that the JavaScript process is exited any moment and we have to persist the state. After `beforeunload` there are several seconds time which are sufficient to store all new changes. This has shown to work quite reliable.
-
-The only missing event that can happen is when the browser exists unexpectedly like when it crashes or when the power of the computer is shut of.
-
-### In-Memory: Multi Tab Support
-
-One big difference between a web application and a 'normal' app, is that your users can use the app in multiple browser tabs at the same time. But when you have all database state in memory and only periodically write it to disc, multiple browser tabs could overwrite each other and you would loose data. This might not be a problem when you rely on a client-server replication, because the lost data might already be replicated with the backend and therefore with the other tabs. But this would not work when the client is offline.
-
-The ideal way to solve that problem, is to use a [SharedWorker](https://developer.mozilla.org/en/docs/Web/API/SharedWorker). A [SharedWorker](./rx-storage-shared-worker.md) is like a [WebWorker](https://developer.mozilla.org/en/docs/Web/API/Web_Workers_API) that runs its own JavaScript process only that the SharedWorker is shared between multiple contexts. You could create the database in the SharedWorker and then all browser tabs could request the Worker for data instead of having their own database. But unfortunately the SharedWorker API does [not work](https://caniuse.com/sharedworkers) in all browsers. Safari [dropped](https://bugs.webkit.org/show_bug.cgi?id=140344) its support and InternetExplorer or Android Chrome, never adopted it. Also it cannot be polyfilled. **UPDATE:** [Apple added SharedWorkers back in Safari 142](https://developer.apple.com/safari/technology-preview/release-notes/)
-
-Instead, we could use the [BroadcastChannel API](https://developer.mozilla.org/en-US/docs/Web/API/Broadcast_Channel_API) to communicate between tabs and then apply a [leader election](https://github.com/pubkey/broadcast-channel#using-the-leaderelection) between them. The [leader election](./leader-election.md) ensures that, no matter how many tabs are open, always one tab is the `Leader`.
-
-
-
-The disadvantage is that the leader election process takes some time on the initial page load (about 150 milliseconds). Also the leader election can break when a JavaScript process is fully blocked for a longer time. When this happens, a good way is to just reload the browser tab to restart the election process.
-
-## Further read
-
-- [Offline First Database Comparison](https://github.com/pubkey/client-side-databases)
-- [Speeding up IndexedDB reads and writes](https://nolanlawson.com/2021/08/22/speeding-up-indexeddb-reads-and-writes/)
-- [SQLITE ON THE WEB: ABSURD-SQL](https://hackaday.com/2021/08/24/sqlite-on-the-web-absurd-sql/)
-- [SQLite in a PWA with FileSystemAccessAPI](https://anita-app.com/blog/articles/sqlite-in-a-pwa-with-file-system-access-api.html)
-- [Response to this article by Oren Eini](https://ravendb.net/articles/re-why-indexeddb-is-slow-and-what-to-use-instead)
diff --git a/docs/survey/index.html b/docs/survey/index.html
deleted file mode 100644
index b26c65c1552..00000000000
--- a/docs/survey/index.html
+++ /dev/null
@@ -1,39 +0,0 @@
-
-
-
-
-
-RxDB User Survey - RxDB - JavaScript Database | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
In contrast to most SQL databases, RxDB does not have the concept of relational, ACID transactions. Instead, RxDB has to apply different techniques that better suit the offline-first, client side world where it is not possible to create a transaction between multiple maybe-offline client devices.
When talking about transactions, we mean ACID transactions that guarantee the properties of atomicity, consistency, isolation and durability.
-With an ACID transaction you can mutate data dependent on the current state of the database. It is ensured that no other database operations happen in between your transaction and after the transaction has finished, it is guaranteed that the new data is actually written to the disc.
-
To implement ACID transactions on a single server, the database has to keep track on who is running transactions and then schedule these transactions so that they can run in isolation.
-
As soon as you have to split your database on multiple servers, transaction handling becomes way more difficult. The servers have to communicate with each other to find a consensus about which transaction can run and which has to wait. Network connections might break, or one server might complete its part of the transaction and then be required to roll back its changes because of an error on another server.
-
But with RxDB you have multiple clients that can go randomly online or offline. The users can have different devices and the clock of these devices can go off by any time. To support ACID transactions here, RxDB would have to make the whole world stand still for all clients, while one client is doing a write operation. And even that can only work when all clients are online. Implementing that might be possible, but at the cost of an unpredictable amount of performance loss and not being able to support offline-first.
-
-
A single write operation to a document is the only atomic thing you can do in RxDB.
-
-
The benefits of not having to support transactions:
-
-
Clients can read and write data without blocking each other.
-
Clients can write data while being offline and then replicate with a server when they are online again, called offline-first.
-
Creating a compatible backend for the replication is easy so that RxDB can replicate with any existing infrastructure.
Working without transactions leads to having undefined state when doing multiple database operations at the same time. Most client side databases rely on a last-write-wins strategy on write operations. This might be a viable solution for some cases, but often this leads to strange problems that are hard to debug.
-
Instead, to ensure that the behavior of RxDB is always predictable, RxDB relies on revisions for version control. Revisions work similar to Lamport Clocks.
-
Each document is stored together with its revision string, that looks like 1-9dcca3b8e1a and consists of:
-
-
The revision height, a number that starts with 1 and is increased with each write to that document.
-
The database instance token.
-
-
An operation to the RxDB data layer does not only contain the new document data, but also the previous document data with its revision string. If the previous revision matches the revision that is currently stored in the database, the write operation can succeed. If the previous revision is different than the revision that is currently stored in the database, the operation will throw a 409 CONFLICT error.
A local conflict can happen when a write operation assumes a different previous document state, than what is currently stored in the database. This can happen when multiple parts of your application do simultaneous writes to the same document. This can happen on a single browser tab, or when multiple tabs write at once or when a write appears while the document gets replicated from a remote server replication.
-
When a local conflict appears, RxDB will throw a 409 CONFLICT error. The calling code must then handle the error properly, depending on the application logic.
-
Instead of handling local conflicts, in most cases it is easier to ensure that they cannot happen, by using incremental database operations like incrementalModify(), incrementalPatch() or incrementalUpsert(). These write operations have a built-in way to handle conflicts by re-applying the mutation functions to the conflicting document state.
A replication conflict appears when multiple clients write to the same documents at once and these documents are then replicated to the backend server.
When a document is send to the backend and the backend detected a conflict (by comparing revisions or other properties), the backend will respond with the actual document state so that the client can compare this with the local document state and create a new, resolved document state that is then pushed to the server again. You can read more about the replication conflicts here.
A conflict handler is an object with two JavaScript functions:
-
-
Detect if two document states are equal
-
Solve existing conflicts
-
-
Because the conflict handler also is used for conflict detection, it will run many times on pull-, push- and write operations of RxDB. Most of the time it will detect that there is no conflict and then return.
import { deepEqual } from 'rxdb/plugins/utils';
-export const defaultConflictHandler: RxConflictHandler<any> = {
- isEqual(a, b) {
- /**
- * isEqual() is used to detect conflicts or to detect if a
- * document has to be pushed to the remote.
- * If the documents are deep equal,
- * we have no conflict.
- * Because deepEqual is CPU expensive, on your custom conflict handler you might only
- * check some properties, like the updatedAt time or revisions
- * for better performance.
- */
- return deepEqual(a, b);
- },
- resolve(i) {
- /**
- * The default conflict handler will always
- * drop the fork state and use the master state instead.
- *
- * In your custom conflict handler you likely want to merge properties
- * of the realMasterState and the newDocumentState instead.
- */
- return i.realMasterState;
- }
-};
-
To overwrite the default conflict handler, you have to specify a custom conflictHandler property when creating a collection with addCollections().
-
-
\ No newline at end of file
diff --git a/docs/transactions-conflicts-revisions.md b/docs/transactions-conflicts-revisions.md
deleted file mode 100644
index ba9c782f9a6..00000000000
--- a/docs/transactions-conflicts-revisions.md
+++ /dev/null
@@ -1,109 +0,0 @@
-# Transactions, Conflicts and Revisions
-
-> Learn RxDB's approach to local and replication conflicts. Discover how incremental writes and custom handlers keep your app stable and efficient.
-
-# Transactions, Conflicts and Revisions
-
-In contrast to most SQL databases, RxDB does not have the concept of relational, ACID transactions. Instead, RxDB has to apply different techniques that better suit the offline-first, client side world where it is not possible to create a transaction between multiple maybe-offline client devices.
-
-## Why RxDB does not have transactions
-
-When talking about transactions, we mean [ACID transactions](https://en.wikipedia.org/wiki/ACID) that guarantee the properties of atomicity, consistency, isolation and durability.
-With an ACID transaction you can mutate data dependent on the current state of the database. It is ensured that no other database operations happen in between your transaction and after the transaction has finished, it is guaranteed that the new data is actually written to the disc.
-
-To implement ACID transactions on a **single server**, the database has to keep track on who is running transactions and then schedule these transactions so that they can run in isolation.
-
-As soon as you have to split your database on **multiple servers**, transaction handling becomes way more difficult. The servers have to communicate with each other to find a consensus about which transaction can run and which has to wait. Network connections might break, or one server might complete its part of the transaction and then be required to roll back its changes because of an error on another server.
-
-But with RxDB you have **multiple clients** that can go randomly online or offline. The users can have different devices and the clock of these devices can go off by any time. To support ACID transactions here, RxDB would have to make the whole world stand still for all clients, while one client is doing a write operation. And even that can only work when all clients are online. Implementing that might be possible, but at the cost of an unpredictable amount of performance loss and not being able to support [offline-first](./offline-first.md).
-
-> A single write operation to a document is the only atomic thing you can do in RxDB.
-
-The benefits of not having to support transactions:
-
-- Clients can read and write data without blocking each other.
-- Clients can write data while being **offline** and then replicate with a server when they are **online** again, called [offline-first](./offline-first.md).
-- Creating a compatible backend for the replication is easy so that RxDB can replicate with any existing infrastructure.
-- Optimizations like [Sharding](./rx-storage-sharding.md) can be used.
-
-## Revisions
-
-Working without transactions leads to having undefined state when doing multiple database operations at the same time. Most client side databases rely on a last-write-wins strategy on write operations. This might be a viable solution for some cases, but often this leads to strange problems that are hard to debug.
-
-Instead, to ensure that the behavior of RxDB is **always predictable**, RxDB relies on **revisions** for version control. Revisions work similar to [Lamport Clocks](https://martinfowler.com/articles/patterns-of-distributed-systems/lamport-clock.html).
-
-Each document is stored together with its revision string, that looks like `1-9dcca3b8e1a` and consists of:
-- The revision height, a number that starts with `1` and is increased with each write to that document.
-- The database instance token.
-
-An operation to the RxDB data layer does not only contain the new document data, but also the previous document data with its revision string. If the previous revision matches the revision that is currently stored in the database, the write operation can succeed. If the previous revision is **different** than the revision that is currently stored in the database, the operation will throw a `409 CONFLICT` error.
-
-## Conflicts
-
-There are two types of conflicts in RxDB, the **local conflict** and the **replication conflict**.
-
-### Local conflicts
-
-A local conflict can happen when a write operation assumes a different previous document state, than what is currently stored in the database. This can happen when multiple parts of your application do simultaneous writes to the same document. This can happen on a single browser tab, or when multiple tabs write at once or when a write appears while the document gets replicated from a remote server replication.
-
-When a local conflict appears, RxDB will throw a `409 CONFLICT` error. The calling code must then handle the error properly, depending on the application logic.
-
-Instead of handling local conflicts, in most cases it is easier to ensure that they cannot happen, by using `incremental` database operations like [incrementalModify()](./rx-document.md), [incrementalPatch()](./rx-document.md) or [incrementalUpsert()](./rx-collection.md). These write operations have a built-in way to handle conflicts by re-applying the mutation functions to the conflicting document state.
-
-## Replication conflicts
-
-A replication conflict appears when multiple clients write to the same documents at once and these documents are then replicated to the backend server.
-
-When you replicate with the [Graphql replication](./replication-graphql.md) and the [replication primitives](./replication.md), RxDB assumes that conflicts are **detected** and **resolved** at the client side.
-
-When a document is send to the backend and the backend detected a conflict (by comparing revisions or other properties), the backend will respond with the actual document state so that the client can compare this with the local document state and create a new, resolved document state that is then pushed to the server again. You can read more about the replication conflicts [here](./replication.md#conflict-handling).
-
-## Custom conflict handler
-
-A conflict handler is an object with two JavaScript functions:
-- Detect if two document states are equal
-- Solve existing conflicts
-
-Because the conflict handler also is used for conflict detection, it will run many times on pull-, push- and write operations of RxDB. Most of the time it will detect that there is no conflict and then return.
-
-Lets have a look at the [default conflict handler](https://github.com/pubkey/rxdb/blob/master/src/replication-protocol/default-conflict-handler.ts) of RxDB to learn how to create a custom one:
-
-```ts
-import { deepEqual } from 'rxdb/plugins/utils';
-export const defaultConflictHandler: RxConflictHandler = {
- isEqual(a, b) {
- /**
- * isEqual() is used to detect conflicts or to detect if a
- * document has to be pushed to the remote.
- * If the documents are deep equal,
- * we have no conflict.
- * Because deepEqual is CPU expensive, on your custom conflict handler you might only
- * check some properties, like the updatedAt time or revisions
- * for better performance.
- */
- return deepEqual(a, b);
- },
- resolve(i) {
- /**
- * The default conflict handler will always
- * drop the fork state and use the master state instead.
- *
- * In your custom conflict handler you likely want to merge properties
- * of the realMasterState and the newDocumentState instead.
- */
- return i.realMasterState;
- }
-};
-```
-
-To overwrite the default conflict handler, you have to specify a custom `conflictHandler` property when creating a collection with `addCollections()`.
-
-```js
-const myCollections = await myDatabase.addCollections({
- // key = collectionName
- humans: {
- schema: mySchema,
- conflictHandler: myCustomConflictHandler
- }
-});
-```
diff --git a/docs/tutorials/typescript.html b/docs/tutorials/typescript.html
deleted file mode 100644
index bef6692d308..00000000000
--- a/docs/tutorials/typescript.html
+++ /dev/null
@@ -1,206 +0,0 @@
-
-
-
-
-
-TypeScript Setup | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
In this tutorial you will learn how to use RxDB with TypeScript.
-We will create a basic database with one collection and several ORM-methods, fully typed!
-
RxDB directly comes with its typings and you do not have to install anything else, however the latest version of RxDB requires that you are using Typescript v3.8 or newer.
-Our way to go is
Now we can define type for the collection which contains the documents.
-// we declare one static ORM-method for the collection
-export type HeroCollectionMethods = {
- countAllDocuments: () => Promise<number>;
-}
-
-// and then merge all our types
-export type HeroCollection = RxCollection<
- HeroDocType,
- HeroDocMethods,
- HeroCollectionMethods
->;
-
-
\ No newline at end of file
diff --git a/docs/tutorials/typescript.md b/docs/tutorials/typescript.md
deleted file mode 100644
index d29f37c5ec0..00000000000
--- a/docs/tutorials/typescript.md
+++ /dev/null
@@ -1,250 +0,0 @@
-# TypeScript Setup
-
-> Use RxDB with TypeScript to define typed schemas, create typed collections, and build fully typed ORM methods. A quick step-by-step guide.
-
-import {Steps} from '@site/src/components/steps';
-
-# Using RxDB with TypeScript
-
-
-
-In this tutorial you will learn how to use RxDB with TypeScript.
-We will create a basic database with one collection and several ORM-methods, fully typed!
-
-RxDB directly comes with its typings and you do not have to install anything else, however the latest version of RxDB requires that you are using Typescript v3.8 or newer.
-Our way to go is
-
-- First define what the documents look like
-- Then define what the collections look like
-- Then define what the database looks like
-
-
-
-## Declare the types
-
-First you import the types from RxDB.
-
-```typescript
-import {
- createRxDatabase,
- RxDatabase,
- RxCollection,
- RxJsonSchema,
- RxDocument,
-} from 'rxdb/plugins/core';
-```
-
-## Create the base document type
-
-First we have to define the TypeScript type of the documents of a collection:
-
-**Option A**: Create the document type from the schema
-
-```typescript
-import {
- toTypedRxJsonSchema,
- ExtractDocumentTypeFromTypedRxJsonSchema,
- RxJsonSchema
-} from 'rxdb';
-export const heroSchemaLiteral = {
- title: 'hero schema',
- description: 'describes a human being',
- version: 0,
- keyCompression: true,
- primaryKey: 'passportId',
- type: 'object',
- properties: {
- passportId: {
- type: 'string',
- maxLength: 100 // <- the primary key must have set maxLength
- },
- firstName: {
- type: 'string'
- },
- lastName: {
- type: 'string'
- },
- age: {
- type: 'integer'
- }
- },
- required: ['firstName', 'lastName', 'passportId'],
- indexes: ['firstName']
-} as const; // <- It is important to set 'as const' to preserve the literal type
-const schemaTyped = toTypedRxJsonSchema(heroSchemaLiteral);
-
-// aggregate the document type from the schema
-export type HeroDocType = ExtractDocumentTypeFromTypedRxJsonSchema;
-
-// create the typed RxJsonSchema from the literal typed object.
-export const heroSchema: RxJsonSchema = heroSchemaLiteral;
-```
-
-**Option B**: Manually type the document type
-
-```typescript
-export type HeroDocType = {
- passportId: string;
- firstName: string;
- lastName: string;
- age?: number; // optional
-};
-```
-
-**Option C**: Generate the document type from schema during build time
-
-If your schema is in a `.json` file or generated from somewhere else, you might generate the typings with the [json-schema-to-typescript](https://www.npmjs.com/package/json-schema-to-typescript) module.
-
-## Types for the ORM methods
-
-We also add some ORM-methods for the document.
-
-```typescript
-export type HeroDocMethods = {
- scream: (v: string) => string;
-};
-```
-
-## Create RxDocument Type
-
-We can merge these into our HeroDocument.
-
-```typescript
-export type HeroDocument = RxDocument;
-```
-
-## Create RxCollection Type
-
-Now we can define type for the collection which contains the documents.
-
-```typescript
-
-// we declare one static ORM-method for the collection
-export type HeroCollectionMethods = {
- countAllDocuments: () => Promise;
-}
-
-// and then merge all our types
-export type HeroCollection = RxCollection<
- HeroDocType,
- HeroDocMethods,
- HeroCollectionMethods
->;
-```
-
-## Create RxDatabase Type
-
-Before we can define the database, we make a helper-type which contains all collections of it.
-
-```typescript
-export type MyDatabaseCollections = {
- heroes: HeroCollection
-}
-```
-
-Now the database.
-
-```typescript
-export type MyDatabase = RxDatabase;
-```
-
-
-
-## Using the types
-
-Now that we have declare all our types, we can use them.
-
-```typescript
-
-/**
- * create database and collections
- */
-const myDatabase: MyDatabase = await createRxDatabase({
- name: 'mydb',
- storage: getRxStorageLocalstorage()
-});
-
-const heroSchema: RxJsonSchema = {
- title: 'human schema',
- description: 'describes a human being',
- version: 0,
- keyCompression: true,
- primaryKey: 'passportId',
- type: 'object',
- properties: {
- passportId: {
- type: 'string'
- },
- firstName: {
- type: 'string'
- },
- lastName: {
- type: 'string'
- },
- age: {
- type: 'integer'
- }
- },
- required: ['passportId', 'firstName', 'lastName']
-};
-
-const heroDocMethods: HeroDocMethods = {
- scream: function(this: HeroDocument, what: string) {
- return this.firstName + ' screams: ' + what.toUpperCase();
- }
-};
-
-const heroCollectionMethods: HeroCollectionMethods = {
- countAllDocuments: async function(this: HeroCollection) {
- const allDocs = await this.find().exec();
- return allDocs.length;
- }
-};
-
-await myDatabase.addCollections({
- heroes: {
- schema: heroSchema,
- methods: heroDocMethods,
- statics: heroCollectionMethods
- }
-});
-
-// add a postInsert-hook
-myDatabase.heroes.postInsert(
- function myPostInsertHook(
- this: HeroCollection, // own collection is bound to the scope
- docData: HeroDocType, // documents data
- doc: HeroDocument // RxDocument
- ) {
- console.log('insert to ' + this.name + '-collection: ' + doc.firstName);
- },
- false // not async
-);
-
-/**
- * use the database
- */
-
-// insert a document
-const hero: HeroDocument = await myDatabase.heroes.insert({
- passportId: 'myId',
- firstName: 'piotr',
- lastName: 'potter',
- age: 5
-});
-
-// access a property
-console.log(hero.firstName);
-
-// use a orm method
-hero.scream('AAH!');
-
-// use a static orm method from the collection
-const amount: number = await myDatabase.heroes.countAllDocuments();
-console.log(amount);
-
-/**
- * clean up
- */
-myDatabase.close();
-```
diff --git a/docs/why-nosql.html b/docs/why-nosql.html
deleted file mode 100644
index cd05418a98c..00000000000
--- a/docs/why-nosql.html
+++ /dev/null
@@ -1,181 +0,0 @@
-
-
-
-
-
-Why NoSQL Powers Modern UI Apps | RxDB - JavaScript Database
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
RxDB, a client side, offline first, JavaScript database, is now several years old.
-Often new users appear in the chat and ask for that one simple feature:
-They want to store and query relational data.
-
-
So why not just implement SQL?
-
-
All these client databases out there have on some kind of document based, NoSQL like, storage engine. PouchDB, Firebase, AWS Datastore, RethinkDB's Horizon, Meteor's Minimongo, Parse, Realm. They all do not have real relational data.
-
They might have some kind of weak relational foreign keys like the RxDB Population
-or the relational models of AWS Datastore.
-But these relations are weak. The foreign keys are not enforced to be valid like in PostgreSQL, and you cannot query
-the rows with complex subqueries over different tables or collections and then make mutations based on the result.
-
There must be a reason for that. In fact, there are multiple of them and in the following I want to show you why you can neither have, nor want real relational data when you have a client-side database with replication.
On the server side, transactions are used to run steps of logic inside of a self contained unit of work. The database system ensures that multiple transactions do not run in parallel or interfere with each other.
-This works well because on the server side you can predict how longer everything takes. It can be ensured that one transaction does not block everything else for too long which would make the system not responding anymore to other requests.
-
When you build a UI based application that is used by a real human, you can no longer predict how long anything takes.
-The user clicks the edit button and expects to not have anyone else change the document while the user is in edit mode.
-Using a transaction to ensure nothing is changed in between, is not an option because the transaction could be open for a long
-time and other background tasks, like replication, would no longer work.
-
So whenever a human is involved, this kind of logic has to be implemented using other strategies. Most NoSQL databases like RxDB or CouchDB use a system based on revision and conflicts to handle these.
When you want to build an offline-first application, it is assumed that the user can also read and write data, even when the device has lost the connection to the backend.
-You could use database transactions on writes to the client's database state, but enforcing a transaction boundary across other instances like clients or servers, is not possible when there is no connection.
-
-
On the client you could run an update query where all color: red rows are changed to color: blue, but this would not guarantee that there will still be other red documents when the client goes online again and restarts the replication with the server.
What most people want from a relational database, is to run queries over multiple tables.
-Some people think that they cannot do that with NoSQL, so let me explain.
-
Let's say you have two tables with customers and cities where each city has an id and each customer has a city_id. You want to get every customer that resides in Tokyo. With SQL, you would use a query like this:
-
SELECT *
-FROM city
-WHERE city.name = 'Tokyo'
-LEFT JOIN customer ON customer.city_id = city.id;
-
With NoSQL you can just do the same, but you have to write it manually:
So what are the differences? The SQL version would run faster on a remote database server because it would aggregate all data there and return only the customers as result set. But when you have a local database, it is not really a difference. Querying the two tables by hand would have about the same performance as a JavaScript implementation of SQL that is running locally.
-
The main benefit from using SQL is, that the SQL query runs inside of a single transaction. When a change to one of our two tables happens, while our query runs, the SQL database will ensure that the write does not affect the result of the query. This could happen with NoSQL, while you retrieve the city document, the customer table gets changed and your result is not correct for the dataset that was there when you started the querying. As a workaround, you could observe the database for changes and if a change happened in between, you have to re-run everything.
In an offline first app, your data is replicated from your backend servers to your users and you want it to be reliable.
-The replication is reliable when, no matter what happens, every online client is able to run a replication
-and end up with the exact same database state as any other client.
-
Implementing a reliable replication protocol is hard because of the circumstances of your app:
-
-
Your users have unknown devices.
-
They have an unknown internet speed.
-
They can go offline or online at any time.
-
Clients can be offline for a several days with un-synced changes.
-
You can have many users at the same time.
-
The users can do many database writes at the same time to the same entities.
-
-
Now lets say you have a SQL database and one of your users, called Alice, runs a query that mutates some rows, based on a condition.
-
# mark all items out of stock as inStock=FALSE
-UPDATE
- Table_A
-SET
- Table_A.inStock = FALSE
-FROM
- Table_A
-WHERE
- Table_A.amountInStock = 0
-
At first, the query runs on the local database of Alice and everything is fine.
-
But at the same time Bob, the other client, updates a row and sets amountInStock from 0 to 1.
-Now Bob's client replicates the changes from Alice and runs them. Bob will end up with a different database state than Alice because on one of the rows, the WHERE condition was not met. This is not what we want, so our replication protocol should be able to fix it. For that it has to reduce all mutations into a deterministic state.
-
Let me loosely describe how "many" SQL replications work:
-
Instead of just running all replicated queries, we remember a list of all past queries. When a new query comes in that happened before our last query, we roll back the previous queries, run the new query, and then re-execute our own queries on top of that. For that to work, all queries need a timestamp so we can order them correctly. But you cannot rely on the clock that is running at the client. Client side clocks drift, they can run in a different speed or even a malicious client modifies the clock on purpose. So instead of a normal timestamp, we have to use a Hybrid Logical Clock that takes a client generated id and the number of the clients query into account. Our timestamp will then look like 2021-10-04T15:29.40.273Z-0000-eede1195b7d94dd5. These timestamps can be brought into a deterministic order and each client can run the replicated queries in the same order.
-
While this sounds easy and realizable, we have some problems:
-This kind of replication works great when you replicate between multiple SQL servers. It does not work great when you replicate between a single server and many clients.
-
-
As mentioned above, clients can be offline for a long time which could require us to do many and heavy rollbacks on each client when someone comes back after a long time and replicates the change.
-
We have many clients where many changes can appear and our database would have to roll back many times.
-
During the rollback, the database cannot be used for read queries.
-
It is required that each client downloads and keeps the whole query history.
-
-
With NoSQL, replication works different. A new client downloads all current documents and each time a document changes, that document is downloaded again. Instead of replicating the query that leads to a data change, we just replicate the changed data itself. Of course, we could do the same with SQL and just replicate the affected rows of a query, like WatermelonDB does it. This was a clever way to go for WatermelonDB, because it was initially made for React Native and did want to use the fast SQLite instead of the slow AsyncStorage. But in a more general view, it defeats the whole purpose of having a replicating relational database because you have transactions locally, but these transactions become meaningless as soon as the data goes through the replication layer.
Whenever there is client-side input, it must be validated on the server.
-On a NoSQL database, validating a changed document is trivial. The client sends the changed document to the server, and the server can then check if the user was allowed to modify that one document and if the applied changes are ok.
-
Safely validating a SQL query is up to impossible.
-
-
You first need a way to parse the query with all this complex SQL syntax and keywords.
-
You have to ensure that the query does not DOS your system.
-
Then you check which rows would be affected when running the query and if the user was allowed to change them
-
Then you check if the mutation to that rows are valid.
-
-
For simple queries like an insert/update/delete to a single row, this might be doable. But a query with 4 LEFT JOIN will be hard.
With NoSQL databases, each write event always affects exactly one document. This makes it easy to optimize the processing of events at the client. For example instead of handling multiple updates to the same document, when the user comes online again, you could skip everything but the last event.
-
Similar to that you can optimize observable query results. When you query the customers table you get a query result of 10 customers. Now a new customer is added to the table and you want to know how the new query results look like. You could analyze the event and now you know that you only have to add the new customer to the previous results set, instead of running the whole query again. These types of optimizations can be run with all NoSQL queries and even work with limit and skip operators. In RxDB this all happens in the background with the EventReduce algorithm that calculates new query results on incoming changes.
-
These optimizations do not really work with relational data. A change to one table could affect a query to any other tables. and you could not just calculate the new results based on the event. You would always have to re-run the full query to get the updated results.
Sooner or later you change the layout of your data. You update the schema and you also have to migrate the stored rows/documents. In NoSQL this is often not a big deal because all of your documents are modeled as self containing piece of data. There is an old version of the document and you have a function that transforms it into the new version.
-
With relational data, nothing is self-contained. The relevant data for the migration of a single row could be inside any other table. So when changing the schema, it will be important which table to migrate first and how to orchestrate the migration or relations.
-
On client side applications, this is even harder because the client can close the application at any time and the migration must be able to continue.
To use an offline first database in the frontend, you have to make it compatible with your backend APIs.
-Making software things compatible often means you have to find the lowest common denominator.
-When you have SQLite in the frontend and want to replicate it with the backend, the backend also has to use SQLite. You cannot even use PostgreSQL because it has a different SQL dialect and some queries might fail. But you do not want to let the frontend dictate which technologies to use in the backend just to make replication work.
-
With NoSQL, you just have documents and writes to these documents. You can build a document based layer on top of everything by removing functionality. It can be built on top of SQL, but also on top of a graph database or even on top of a key-value store like levelDB or FoundationDB.
-
With that document layer you can build a Sync Engine that serves documents sorted by the last update time and there you have a realtime replication.
Memory is limited and this is especially true for client side applications where you never know how much free RAM the device really has. You want to have a fast realtime UI, so your database must be able to cache query results.
-
When you run a SQL query like SELECT .. the result of it can be anything. An array, a number, a string, a single row, it depends on how the query goes on. So the caching strategy can only be to keep the result in memory, once for each query.
-This scales very bad because the more queries you run, the more results you have to store in memory.
-
When you make a query to a NoSQL collection, you always know how the result will look like. It is a list of documents, based on the collection's schema (if you have one). The result set is stored in memory, but because you get similar documents for different queries to the same collection, we can de-duplicated the documents. So when multiple queries return the same document, we only have it in the cache once and each query caches point to the same memory object. So no matter how many queries you make, your cache maximum is the collection size.
Modern web apps are build with TypeScript and you want the transpiler to know the types of your query result so it can give you build time errors when something does not match. This is quite easy on document based systems. The typings of for each document of a collection can be generated from the schema, and all queries to that collection will always return the given document type. With SQL you have to manually write the typings for each query by hand because it can contain all these aggregate functions that affect the type of the query's result.
Yes, there are SQL databases out there that run on the client side or have replication, but not both.
-
-
WebSQL / sql.js: In the past there was WebSQL in the browser. It was a direct mapping to SQLite because all browsers used the SQLite implementation. You could store relational data in it, but there was no concept of replication at any point in time. sql.js is an SQLite complied to JavaScript. It has not replication and it has (for now) no persistent storage, everything is stored in memory.
-
WatermelonDB is a SQL databases that runs in the client. WatermelonDB uses a document-based replication that is not able to replicate relational queries.
-
Cockroach / Spanner/ PostgreSQL etc. are SQL databases with replication. But they run on servers, not on clients, so they can make different trade offs.
-
-
\ No newline at end of file
diff --git a/docs/why-nosql.md b/docs/why-nosql.md
deleted file mode 100644
index 116f20deddf..00000000000
--- a/docs/why-nosql.md
+++ /dev/null
@@ -1,208 +0,0 @@
-# Why NoSQL Powers Modern UI Apps
-
-> Discover how NoSQL enables offline-first UI apps. Learn about easy replication, conflict resolution, and why relational data isn't always necessary.
-
-import {VideoBox} from '@site/src/components/video-box';
-
-# Why UI applications need NoSQL
-
-[RxDB](https://rxdb.info), a client side, offline first, JavaScript database, is now several years old.
-Often new users appear in the chat and ask for that one simple feature:
-They want to store and query **relational data**.
-
-> So why not just implement SQL?
-
-All these client databases out there have on some kind of document based, NoSQL like, storage engine. PouchDB, Firebase, AWS Datastore, RethinkDB's [Horizon](https://github.com/rethinkdb/horizon), Meteor's [Minimongo](https://github.com/mWater/minimongo), [Parse](https://parseplatform.org/), [Realm](https://realm.io/). They all do not have real relational data.
-
-They might have some kind of weak relational foreign keys like the [RxDB Population](./population.md)
-or the [relational models](https://docs.amplify.aws/lib/datastore/relational/q/platform/js/) of AWS Datastore.
-But these relations are weak. The foreign keys are not enforced to be valid like in PostgreSQL, and you cannot query
-the rows with complex subqueries over different tables or collections and then make mutations based on the result.
-
-There must be a reason for that. In fact, there are multiple of them and in the following I want to show you why you can neither have, nor want real relational data when you have a client-side database with replication.
-
-
-
-## Transactions do not work with humans involved
-
-On the server side, transactions are used to run steps of logic inside of a self contained `unit of work`. The database system ensures that multiple transactions do not run in parallel or interfere with each other.
-This works well because on the server side you can predict how longer everything takes. It can be ensured that one transaction does not block everything else for too long which would make the system not responding anymore to other requests.
-
-When you build a UI based application that is used by a real human, you can no longer predict how long anything takes.
-The user clicks the edit button and expects to not have anyone else change the document while the user is in edit mode.
-Using a transaction to ensure nothing is changed in between, is not an option because the transaction could be open for a long
-time and other background tasks, like replication, would no longer work.
-
-So whenever a human is involved, this kind of logic has to be implemented using other strategies. Most NoSQL databases like [RxDB](./) or [CouchDB](./replication-couchdb.md) use a system based on [revision and conflicts](./transactions-conflicts-revisions.md) to handle these.
-
-## Transactions do not work with offline-first
-
-When you want to build an [offline-first](./offline-first.md) application, it is assumed that the user can also read and write data, even when the device has lost the connection to the backend.
-You could use database transactions on writes to the client's database state, but enforcing a transaction boundary across other instances like clients or servers, is not possible when there is no connection.
-
-
-
-On the client you could run an update query where all `color: red` rows are changed to `color: blue`, but this would not guarantee that there will still be other `red` documents when the client goes online again and restarts the replication with the server.
-
-```sql
-UPDATE docs
-SET docs.color = 'red'
-WHERE docs.color = 'blue';
-```
-
-## Relational queries in NoSQL
-
-What most people want from a relational database, is to run queries over multiple tables.
-Some people think that they cannot do that with NoSQL, so let me explain.
-
-Let's say you have two tables with `customers` and `cities` where each city has an `id` and each customer has a `city_id`. You want to get every customer that resides in `Tokyo`. With SQL, you would use a query like this:
-
-```sql
-SELECT *
-FROM city
-WHERE city.name = 'Tokyo'
-LEFT JOIN customer ON customer.city_id = city.id;
-```
-
-With **NoSQL** you can just do the same, but you have to write it manually:
-
-```typescript
-const cityDocument = await db.cities.findOne().where('name').equals('Tokyo').exec();
-const customerDocuments = await db.customers.find().where('city_id').equals(cityDocument.id).exec();
-```
-
-So what are the differences? The SQL version would run faster on a remote database server because it would aggregate all data there and return only the customers as result set. But when you have a local database, it is not really a difference. Querying the two tables by hand would have about the same performance as a JavaScript implementation of SQL that is running locally.
-
-The main benefit from using SQL is, that the SQL query runs inside of a **single transaction**. When a change to one of our two tables happens, while our query runs, the SQL database will ensure that the write does not affect the result of the query. This could happen with NoSQL, while you retrieve the city document, the customer table gets changed and your result is not correct for the dataset that was there when you started the querying. As a workaround, you could observe the database for changes and if a change happened in between, you have to re-run everything.
-
-
-
-## Reliable replication
-
-In an offline first app, your data is replicated from your backend servers to your users and you want it to be reliable.
-The replication is **reliable** when, no matter what happens, every online client is able to run a replication
-and end up with the **exact same** database state as any other client.
-
-Implementing a reliable replication protocol is hard because of the circumstances of your app:
-
-- Your users have unknown devices.
-- They have an unknown internet speed.
-- They can go offline or online at any time.
-- Clients can be offline for a several days with un-synced changes.
-- You can have many users at the same time.
-- The users can do many database writes at the same time to the same entities.
-
-Now lets say you have a SQL database and one of your users, called Alice, runs a query that mutates some rows, based on a condition.
-
-```sql
-# mark all items out of stock as inStock=FALSE
-UPDATE
- Table_A
-SET
- Table_A.inStock = FALSE
-FROM
- Table_A
-WHERE
- Table_A.amountInStock = 0
-```
-
-At first, the query runs on the local database of Alice and everything is fine.
-
-But at the same time Bob, the other client, updates a row and sets `amountInStock` from `0` to `1`.
-Now Bob's client replicates the changes from Alice and runs them. Bob will end up with a different database state than Alice because on one of the rows, the `WHERE` condition was not met. This is not what we want, so our replication protocol should be able to fix it. For that it has to reduce all mutations into a deterministic state.
-
-Let me loosely describe how "many" SQL replications work:
-
-Instead of just running all replicated queries, we remember a list of all past queries. When a new query comes in that happened `before` our last query, we roll back the previous queries, run the new query, and then re-execute our own queries on top of that. For that to work, all queries need a timestamp so we can order them correctly. But you cannot rely on the clock that is running at the client. Client side clocks drift, they can run in a different speed or even a malicious client modifies the clock on purpose. So instead of a normal timestamp, we have to use a [Hybrid Logical Clock](https://jaredforsyth.com/posts/hybrid-logical-clocks/) that takes a client generated id and the number of the clients query into account. Our timestamp will then look like `2021-10-04T15:29.40.273Z-0000-eede1195b7d94dd5`. These timestamps can be brought into a deterministic order and each client can run the replicated queries in the same order.
-
-While this sounds easy and realizable, we have some problems:
-This kind of replication works great when you replicate between multiple SQL servers. It does not work great when you replicate between a single server and many clients.
-
-1. As mentioned above, clients can be offline for a long time which could require us to do many and heavy rollbacks on each client when someone comes back after a long time and replicates the change.
-2. We have many clients where many changes can appear and our database would have to roll back many times.
-3. During the rollback, the database cannot be used for read queries.
-4. It is required that each client downloads and keeps the whole query history.
-
-With **NoSQL**, replication works different. A new client downloads all current documents and each time a document changes, that document is downloaded again. Instead of replicating the query that leads to a data change, we just replicate the changed data itself. Of course, we could do the same with SQL and just replicate the affected rows of a query, like WatermelonDB [does it](https://youtu.be/uFvHURTRLxQ?t=1133). This was a clever way to go for WatermelonDB, because it was initially made for React Native and did want to use the fast SQLite instead of the slow [AsyncStorage](https://medium.com/@Sendbird/extreme-optimization-of-asyncstorage-in-react-native-b2a1e0107b34). But in a more general view, it defeats the whole purpose of having a replicating relational database because you have transactions locally, but these transactions become **meaningless** as soon as the data goes through the replication layer.
-
-
-
-## Server side validation
-
-Whenever there is client-side input, it must be validated on the server.
-On a NoSQL database, validating a changed document is trivial. The client sends the changed document to the server, and the server can then check if the user was allowed to modify that one document and if the applied changes are ok.
-
-Safely validating a SQL query is up to impossible.
- - You first need a way to parse the query with all this complex SQL syntax and keywords.
- - You have to ensure that the query does not DOS your system.
- - Then you check which rows would be affected when running the query and if the user was allowed to change them
- - Then you check if the mutation to that rows are valid.
-
-For simple queries like an insert/update/delete to a single row, this might be doable. But a query with 4 `LEFT JOIN` will be hard.
-
-## Event optimization
-
-With NoSQL databases, each write event always affects exactly one document. This makes it easy to optimize the processing of events at the client. For example instead of handling multiple updates to the same document, when the user comes online again, you could skip everything but the last event.
-
-Similar to that you can optimize observable query results. When you query the `customers` table you get a query result of 10 customers. Now a new customer is added to the table and you want to know how the new query results look like. You could analyze the event and now you know that you only have to add the new customer to the previous results set, instead of running the whole query again. These types of optimizations can be run with all NoSQL queries and even work with `limit` and `skip` operators. In RxDB this all happens in the background with the [EventReduce algorithm](https://github.com/pubkey/event-reduce) that calculates new query results on incoming changes.
-
-These optimizations do not really work with relational data. A change to one table could affect a query to any other tables. and you could not just calculate the new results based on the event. You would always have to re-run the full query to get the updated results.
-
-## Migration without relations
-
-Sooner or later you change the layout of your data. You update the schema and you also have to migrate the stored rows/documents. In NoSQL this is often not a big deal because all of your documents are modeled as self containing piece of data. There is an old version of the document and you have a function that transforms it into the new version.
-
-With relational data, nothing is self-contained. The relevant data for the migration of a single row could be inside any other table. So when changing the schema, it will be important which table to migrate first and how to orchestrate the migration or relations.
-
-On client side applications, this is even harder because the client can close the application at any time and the migration must be able to continue.
-
-## Everything can be downgraded to NoSQL
-
-To use an offline first database in the frontend, you have to make it compatible with your backend APIs.
-Making software things compatible often means you have to find the **lowest common denominator**.
-When you have SQLite in the frontend and want to replicate it with the backend, the backend also has to use SQLite. You cannot even use PostgreSQL because it has a different SQL dialect and some queries might fail. But you do not want to let the frontend dictate which technologies to use in the backend just to make replication work.
-
-With NoSQL, you just have documents and writes to these documents. You can build a document based layer on top of everything by **removing** functionality. It can be built on top of SQL, but also on top of a graph database or even on top of a key-value store like [levelDB](./adapters.md#leveldown) or [FoundationDB](./rx-storage-foundationdb.md).
-
-With that document layer you can build a [Sync Engine](./replication.md) that serves documents sorted by the last update time and there you have a realtime replication.
-
-## Caching query results
-
-Memory is limited and this is especially true for client side applications where you never know how much free RAM the device really has. You want to have a fast realtime UI, so your database must be able to cache query results.
-
-When you run a SQL query like `SELECT ..` the result of it can be anything. An `array`, a `number`, a `string`, a single row, it depends on how the query goes on. So the caching strategy can only be to keep the result in memory, once for each query.
-This scales very bad because the more queries you run, the more results you have to store in memory.
-
-When you make a query to a NoSQL collection, you always know how the result will look like. It is a list of documents, based on the collection's schema (if you have one). The result set is stored in memory, but because you get similar documents for different queries to the same collection, we can de-duplicated the documents. So when multiple queries return the same document, we only have it in the cache **once** and each query caches point to the same memory object. So no matter how many queries you make, your cache maximum is the collection size.
-
-## TypeScript support
-
-Modern web apps are build with TypeScript and you want the transpiler to know the types of your query result so it can give you build time errors when something does not match. This is quite easy on document based systems. The typings of for each document of a collection can be generated from the schema, and all queries to that collection will always return the given document type. With SQL you have to manually write the typings for each query by hand because it can contain all these aggregate functions that affect the type of the query's result.
-
-
-
-
-
-## What you lose with NoSQL
-
-- You can not run relational queries across tables inside a single transaction.
-- You can not mutate documents based on a `WHERE` clause, in a single transaction.
-- You need to resolve replication conflicts on a per-document basis.
-
-## But there is database XY
-
-Yes, there are SQL databases out there that run on the client side or have replication, but not both.
-
-- WebSQL / [sql.js](https://github.com/sql-js/sql.js/): In the past there was **WebSQL** in the browser. It was a direct mapping to SQLite because all browsers used the SQLite implementation. You could store relational data in it, but there was no concept of replication at any point in time. **sql.js** is an SQLite complied to JavaScript. It has not replication and it has (for now) no persistent storage, everything is stored in memory.
-- WatermelonDB is a SQL databases that runs in the client. WatermelonDB uses a document-based replication that is not able to replicate relational queries.
-- Cockroach / Spanner/ PostgreSQL etc. are SQL databases with replication. But they run on servers, not on clients, so they can make different trade offs.
-
-# Further read
-
-- Cockroach Labs: [Living Without Atomic Clocks](https://www.cockroachlabs.com/blog/living-without-atomic-clocks/)
-- [Transactions, Conflicts and Revisions in RxDB](./transactions-conflicts-revisions.md)
-- [Why MongoDB, Cassandra, HBase, DynamoDB, and Riak will only let you perform transactions on a single data item](https://dbmsmusings.blogspot.com/2015/10/why-mongodb-cassandra-hbase-dynamodb_28.html)
-
-- `Make a PR to this file if you have more interesting links to that topic`
diff --git a/examples/angular/package.json b/examples/angular/package.json
index 30c2e23bdf4..8f90f8759cc 100644
--- a/examples/angular/package.json
+++ b/examples/angular/package.json
@@ -26,7 +26,7 @@
"lint": "tslint app/src/**/*.ts",
"analyze": "webpack-bundle-analyzer dist/angular/stats-es2015.json",
"start:android": "npx cap open android",
- "build:capacitor": "node --max_old_space_size=4096 ./node_modules/@angular/cli/bin/ng build --configuration capacitor --aot && npx cap sync",
+ "build:capacitor": "node --max_old_space_size=4096 ./node_modules/@angular/cli/bin/ng build --configuration capacitor --aot && npx cap sync android",
"serve:ssr:angular": "node dist/angular/browser/server/server.mjs"
},
"private": true,
diff --git a/examples/graphql/package.json b/examples/graphql/package.json
index f89ad3f14ac..4e30aa25c12 100644
--- a/examples/graphql/package.json
+++ b/examples/graphql/package.json
@@ -23,12 +23,12 @@
"type": "module",
"//": "NOTICE: For the Github CI we use the local RxDB build (rxdb-local.tgz). In your app should just install 'rxdb' from npm instead",
"dependencies": {
- "@apollo/server": "4.13.0",
+ "@apollo/server": "5.4.0",
"concurrently": "9.2.1",
"cors": "2.8.6",
"express-graphql": "0.12.0",
"graphql-client": "2.0.1",
- "graphql-subscriptions": "2.0.0",
+ "graphql-subscriptions": "3.0.0",
"graphql-ws": "5.16.2",
"local-web-server": "5.4.0",
"normalize.css": "8.0.1",
diff --git a/examples/graphql/server/index.js b/examples/graphql/server/index.js
index 078d9650ab5..a24c031055d 100644
--- a/examples/graphql/server/index.js
+++ b/examples/graphql/server/index.js
@@ -203,7 +203,7 @@ export async function run() {
validateBearerToken(bearerToken);
- return pubsub.asyncIterator('streamHero');
+ return pubsub.asyncIterableIterator('streamHero');
},
};
diff --git a/package.json b/package.json
index 151afb10b6b..f562bfb0f5e 100644
--- a/package.json
+++ b/package.json
@@ -640,7 +640,7 @@
"get-port": "5.1.1",
"globals": "17.3.0",
"graphql-http": "1.22.4",
- "graphql-subscriptions": "2.0.0",
+ "graphql-subscriptions": "3.0.0",
"gzip-size-cli": "5.1.0",
"html-webpack-plugin": "5.6.6",
"karma": "6.4.4",
diff --git a/src/plugins/replication-graphql/index.ts b/src/plugins/replication-graphql/index.ts
index 193c093df98..c1e6a8f5dea 100644
--- a/src/plugins/replication-graphql/index.ts
+++ b/src/plugins/replication-graphql/index.ts
@@ -212,8 +212,28 @@ export function replicateGraphQL(
query,
{
next: async (streamResponse: any) => {
- const firstField = Object.keys(streamResponse.data)[0];
- let data = streamResponse.data[firstField];
+ // In graphql-ws, the streamResponse is the execution result payload
+ // which should have a 'data' field according to GraphQL spec
+ let responseData = streamResponse?.data;
+
+ // If there's no data field, the response itself might be the data
+ if (responseData === undefined) {
+ responseData = streamResponse;
+ }
+
+ // Validate response data exists and is an object (but not null)
+ if (responseData === null || typeof responseData !== 'object') {
+ return;
+ }
+
+ const firstFieldKeys = Object.keys(responseData);
+ if (firstFieldKeys.length === 0) {
+ return;
+ }
+
+ const firstField = firstFieldKeys[0];
+ let data = responseData[firstField];
+
if (pull.responseModifier) {
data = await pull.responseModifier(
data,
diff --git a/test/helper/graphql-server.ts b/test/helper/graphql-server.ts
index 297bdc52f15..f9c850cb522 100644
--- a/test/helper/graphql-server.ts
+++ b/test/helper/graphql-server.ts
@@ -257,7 +257,7 @@ export async function spawn(
writeHumansFail: (_args: any) => {
throw new Error('writeHumansFail called');
},
- humanChanged: () => pubsub.asyncIterator('humanChanged')
+ humanChanged: () => pubsub.asyncIterableIterator('humanChanged')
};
// header simulation middleware